From 6b88d44649ceee5accc35159a97ea7da288b278c Mon Sep 17 00:00:00 2001 From: Zendesk Garden Date: Tue, 24 Sep 2024 17:39:16 +0000 Subject: [PATCH] Updates [skip ci] --- 1120.381ca7fd.iframe.bundle.js | 2 - 1120.ada17066.iframe.bundle.js | 2 + ...1120.ada17066.iframe.bundle.js.LICENSE.txt | 0 2521.4ab0b763.iframe.bundle.js | 2 + ...2521.4ab0b763.iframe.bundle.js.LICENSE.txt | 0 2521.ddd96f82.iframe.bundle.js | 2 - 3660.f6f635e8.iframe.bundle.js | 1 + 5438.d17ebace.iframe.bundle.js | 1 - 5942.54b8d23b.iframe.bundle.js | 95 + ...5942.54b8d23b.iframe.bundle.js.LICENSE.txt | 10 + 5942.54b8d23b.iframe.bundle.js.map | 1 + 5942.bca38b10.iframe.bundle.js | 95 - 5942.bca38b10.iframe.bundle.js.map | 1 - 6736.5b140e96.iframe.bundle.js | 2 - 6736.8d46564f.iframe.bundle.js | 2 + ...6736.8d46564f.iframe.bundle.js.LICENSE.txt | 0 ...undle.js => 7122.4d1df3a8.iframe.bundle.js | 2 +- 8237.7bffd519.iframe.bundle.js | 2 - 8237.ebfd60a9.iframe.bundle.js | 2 + ...8237.ebfd60a9.iframe.bundle.js.LICENSE.txt | 10 + 8735.b9d451ce.iframe.bundle.js | 1 + ...mo-accordion-mdx.b2a2342d.iframe.bundle.js | 4 +- ...-mdx.b2a2342d.iframe.bundle.js.LICENSE.txt | 0 ...ccordion-stories.18c5b9f2.iframe.bundle.js | 4 +- ...ries.18c5b9f2.iframe.bundle.js.LICENSE.txt | 0 ...-mdx.0b5f27a9.iframe.bundle.js.LICENSE.txt | 9 - ...o-breadcrumb-mdx.4619e6fe.iframe.bundle.js | 3 +- ...eadcrumb-stories.7745e1b8.iframe.bundle.js | 2 +- ...emo-combobox-mdx.979f6cbc.iframe.bundle.js | 3 +- ...-mdx.9d2ef425.iframe.bundle.js.LICENSE.txt | 9 - ...-mdx.781ecce9.iframe.bundle.js.LICENSE.txt | 9 - ...rns-patterns-mdx.db3c1cb8.iframe.bundle.js | 3 +- ...d-demo-field-mdx.45a77adb.iframe.bundle.js | 4 +- ...-mdx.45a77adb.iframe.bundle.js.LICENSE.txt | 0 ...mo-field-stories.d21a42a9.iframe.bundle.js | 4 +- ...ries.d21a42a9.iframe.bundle.js.LICENSE.txt | 10 - ...mo-focusjail-mdx.70e73e01.iframe.bundle.js | 3 +- ...-mdx.8cfc614c.iframe.bundle.js.LICENSE.txt | 9 - ...-mdx.bdfdd28b.iframe.bundle.js.LICENSE.txt | 9 - ...focusvisible-mdx.e741549e.iframe.bundle.js | 3 +- ...svisible-stories.db37f62e.iframe.bundle.js | 2 +- ...rns-patterns-mdx.425cc950.iframe.bundle.js | 2 + ...-mdx.425cc950.iframe.bundle.js.LICENSE.txt | 0 ...rns-patterns-mdx.66f90239.iframe.bundle.js | 2 - ...-mdx.66f90239.iframe.bundle.js.LICENSE.txt | 15 - ...patterns-stories.8c5eed6a.iframe.bundle.js | 2 - ...patterns-stories.dad79833.iframe.bundle.js | 2 + ...ries.dad79833.iframe.bundle.js.LICENSE.txt | 0 ...id-demo-grid-mdx.1d71737d.iframe.bundle.js | 4 +- ...-mdx.1d71737d.iframe.bundle.js.LICENSE.txt | 10 - ...emo-grid-stories.0ceb75c0.iframe.bundle.js | 4 +- ...ries.0ceb75c0.iframe.bundle.js.LICENSE.txt | 10 - iframe.html | 6 +- index.html | 2 +- ...undle.js => main.a1757cfb.iframe.bundle.js | 2 +- ...nu-demo-menu-mdx.12252684.iframe.bundle.js | 3 +- ...-mdx.88db11c7.iframe.bundle.js.LICENSE.txt | 9 - ...-mdx.4f0f1679.iframe.bundle.js.LICENSE.txt | 9 - ...rns-patterns-mdx.d1116a03.iframe.bundle.js | 3 +- ...l-demo-modal-mdx.fae05ec7.iframe.bundle.js | 4 +- ...-mdx.fae05ec7.iframe.bundle.js.LICENSE.txt | 10 - project.json | 2 +- runtime~main.ea65687a.iframe.bundle.js | 1 + runtime~main.ff61c289.iframe.bundle.js | 1 - sb-addons/a11y-5/manager-bundle.js | 2 +- .../essentials-actions-2/manager-bundle.js | 2 +- .../essentials-controls-1/manager-bundle.js | 170 +- .../essentials-toolbars-3/manager-bundle.js | 2 +- sb-addons/storybook-6/manager-bundle.js | 2 +- sb-manager/globals-module-info.js | 11 + sb-manager/globals-runtime.js | 54285 ++++++++-------- sb-manager/runtime.js | 20476 +++--- sb-preview/runtime.js | 6791 +- ...-mdx.00db43dc.iframe.bundle.js.LICENSE.txt | 9 - ...emo-schedule-mdx.dfa9b0ea.iframe.bundle.js | 3 +- ...schedule-stories.3c28f9a4.iframe.bundle.js | 2 +- ...scrollregion-mdx.43b21b1f.iframe.bundle.js | 4 +- ...-mdx.43b21b1f.iframe.bundle.js.LICENSE.txt | 0 ...-mdx.48308e38.iframe.bundle.js.LICENSE.txt | 15 - ...llregion-stories.90abb04b.iframe.bundle.js | 4 +- ...ries.90abb04b.iframe.bundle.js.LICENSE.txt | 0 ...-mdx.cf4b1627.iframe.bundle.js.LICENSE.txt | 15 - ...mo-selection-mdx.e6b2d9a9.iframe.bundle.js | 4 +- ...-mdx.e6b2d9a9.iframe.bundle.js.LICENSE.txt | 0 ...election-stories.f3f10bf6.iframe.bundle.js | 4 +- ...ries.f3f10bf6.iframe.bundle.js.LICENSE.txt | 0 ...-mdx.44355267.iframe.bundle.js.LICENSE.txt | 15 - ...-demo-slider-mdx.7972097d.iframe.bundle.js | 4 +- ...-mdx.7972097d.iframe.bundle.js.LICENSE.txt | 5 + ...o-slider-stories.b364a71c.iframe.bundle.js | 4 +- ...ries.b364a71c.iframe.bundle.js.LICENSE.txt | 5 + ...emo-splitter-mdx.c89d4a4b.iframe.bundle.js | 4 +- ...-mdx.c89d4a4b.iframe.bundle.js.LICENSE.txt | 0 ...splitter-stories.82213320.iframe.bundle.js | 4 +- ...ries.82213320.iframe.bundle.js.LICENSE.txt | 0 ...bs-demo-tabs-mdx.8ec06aa2.iframe.bundle.js | 4 +- ...-mdx.8ec06aa2.iframe.bundle.js.LICENSE.txt | 10 - ...emo-tabs-stories.eec47268.iframe.bundle.js | 4 +- ...ries.eec47268.iframe.bundle.js.LICENSE.txt | 10 - ...rns-patterns-mdx.1e47cea5.iframe.bundle.js | 2 + ...-mdx.1e47cea5.iframe.bundle.js.LICENSE.txt | 5 + ...rns-patterns-mdx.a7e4eb2b.iframe.bundle.js | 2 - ...-mdx.a7e4eb2b.iframe.bundle.js.LICENSE.txt | 15 - ...patterns-stories.6ebfb8c5.iframe.bundle.js | 2 - ...patterns-stories.ff7d23ac.iframe.bundle.js | 2 + ...ries.ff7d23ac.iframe.bundle.js.LICENSE.txt | 5 + ...-mdx.520931d1.iframe.bundle.js.LICENSE.txt | 15 - ...demo-tooltip-mdx.74128701.iframe.bundle.js | 4 +- ...-mdx.74128701.iframe.bundle.js.LICENSE.txt | 5 + ...-tooltip-stories.0a929b09.iframe.bundle.js | 2 + ...ries.0a929b09.iframe.bundle.js.LICENSE.txt | 5 + ...-tooltip-stories.206fe3e8.iframe.bundle.js | 2 - 112 files changed, 41634 insertions(+), 40728 deletions(-) delete mode 100644 1120.381ca7fd.iframe.bundle.js create mode 100644 1120.ada17066.iframe.bundle.js rename 1120.381ca7fd.iframe.bundle.js.LICENSE.txt => 1120.ada17066.iframe.bundle.js.LICENSE.txt (100%) create mode 100644 2521.4ab0b763.iframe.bundle.js rename 2521.ddd96f82.iframe.bundle.js.LICENSE.txt => 2521.4ab0b763.iframe.bundle.js.LICENSE.txt (100%) delete mode 100644 2521.ddd96f82.iframe.bundle.js create mode 100644 3660.f6f635e8.iframe.bundle.js delete mode 100644 5438.d17ebace.iframe.bundle.js create mode 100644 5942.54b8d23b.iframe.bundle.js rename 5942.bca38b10.iframe.bundle.js.LICENSE.txt => 5942.54b8d23b.iframe.bundle.js.LICENSE.txt (68%) create mode 100644 5942.54b8d23b.iframe.bundle.js.map delete mode 100644 5942.bca38b10.iframe.bundle.js delete mode 100644 5942.bca38b10.iframe.bundle.js.map delete mode 100644 6736.5b140e96.iframe.bundle.js create mode 100644 6736.8d46564f.iframe.bundle.js rename 6736.5b140e96.iframe.bundle.js.LICENSE.txt => 6736.8d46564f.iframe.bundle.js.LICENSE.txt (100%) rename 2461.bf344ebd.iframe.bundle.js => 7122.4d1df3a8.iframe.bundle.js (72%) delete mode 100644 8237.7bffd519.iframe.bundle.js create mode 100644 8237.ebfd60a9.iframe.bundle.js rename 8237.7bffd519.iframe.bundle.js.LICENSE.txt => 8237.ebfd60a9.iframe.bundle.js.LICENSE.txt (81%) create mode 100644 8735.b9d451ce.iframe.bundle.js rename accordion-demo-accordion-mdx.e03c3e4b.iframe.bundle.js => accordion-demo-accordion-mdx.b2a2342d.iframe.bundle.js (85%) rename accordion-demo-accordion-stories.9c88aa1f.iframe.bundle.js.LICENSE.txt => accordion-demo-accordion-mdx.b2a2342d.iframe.bundle.js.LICENSE.txt (100%) rename accordion-demo-accordion-stories.9c88aa1f.iframe.bundle.js => accordion-demo-accordion-stories.18c5b9f2.iframe.bundle.js (86%) rename field-demo-field-stories.35fa3460.iframe.bundle.js.LICENSE.txt => accordion-demo-accordion-stories.18c5b9f2.iframe.bundle.js.LICENSE.txt (100%) delete mode 100644 breadcrumb-demo-breadcrumb-mdx.0b5f27a9.iframe.bundle.js.LICENSE.txt rename breadcrumb-demo-breadcrumb-mdx.0b5f27a9.iframe.bundle.js => breadcrumb-demo-breadcrumb-mdx.4619e6fe.iframe.bundle.js (82%) rename breadcrumb-demo-breadcrumb-stories.ee494be1.iframe.bundle.js => breadcrumb-demo-breadcrumb-stories.7745e1b8.iframe.bundle.js (88%) rename combobox-demo-combobox-mdx.9d2ef425.iframe.bundle.js => combobox-demo-combobox-mdx.979f6cbc.iframe.bundle.js (96%) delete mode 100644 combobox-demo-combobox-mdx.9d2ef425.iframe.bundle.js.LICENSE.txt delete mode 100644 combobox-demo-patterns-patterns-mdx.781ecce9.iframe.bundle.js.LICENSE.txt rename combobox-demo-patterns-patterns-mdx.781ecce9.iframe.bundle.js => combobox-demo-patterns-patterns-mdx.db3c1cb8.iframe.bundle.js (87%) rename field-demo-field-mdx.0f34f94a.iframe.bundle.js => field-demo-field-mdx.45a77adb.iframe.bundle.js (70%) rename grid-demo-grid-stories.993d1cfe.iframe.bundle.js.LICENSE.txt => field-demo-field-mdx.45a77adb.iframe.bundle.js.LICENSE.txt (100%) rename field-demo-field-stories.35fa3460.iframe.bundle.js => field-demo-field-stories.d21a42a9.iframe.bundle.js (65%) rename grid-demo-grid-mdx.f5eab5dc.iframe.bundle.js.LICENSE.txt => field-demo-field-stories.d21a42a9.iframe.bundle.js.LICENSE.txt (66%) rename focusjail-demo-focusjail-mdx.8cfc614c.iframe.bundle.js => focusjail-demo-focusjail-mdx.70e73e01.iframe.bundle.js (93%) delete mode 100644 focusjail-demo-focusjail-mdx.8cfc614c.iframe.bundle.js.LICENSE.txt delete mode 100644 focusvisible-demo-focusvisible-mdx.bdfdd28b.iframe.bundle.js.LICENSE.txt rename focusvisible-demo-focusvisible-mdx.bdfdd28b.iframe.bundle.js => focusvisible-demo-focusvisible-mdx.e741549e.iframe.bundle.js (62%) rename focusvisible-demo-focusvisible-stories.e0b37f6e.iframe.bundle.js => focusvisible-demo-focusvisible-stories.db37f62e.iframe.bundle.js (53%) create mode 100644 focusvisible-demo-patterns-patterns-mdx.425cc950.iframe.bundle.js rename focusvisible-demo-patterns-patterns-stories.8c5eed6a.iframe.bundle.js.LICENSE.txt => focusvisible-demo-patterns-patterns-mdx.425cc950.iframe.bundle.js.LICENSE.txt (100%) delete mode 100644 focusvisible-demo-patterns-patterns-mdx.66f90239.iframe.bundle.js delete mode 100644 focusvisible-demo-patterns-patterns-mdx.66f90239.iframe.bundle.js.LICENSE.txt delete mode 100644 focusvisible-demo-patterns-patterns-stories.8c5eed6a.iframe.bundle.js create mode 100644 focusvisible-demo-patterns-patterns-stories.dad79833.iframe.bundle.js rename scrollregion-demo-scrollregion-stories.4b0ac1f8.iframe.bundle.js.LICENSE.txt => focusvisible-demo-patterns-patterns-stories.dad79833.iframe.bundle.js.LICENSE.txt (100%) rename grid-demo-grid-mdx.f5eab5dc.iframe.bundle.js => grid-demo-grid-mdx.1d71737d.iframe.bundle.js (61%) rename accordion-demo-accordion-mdx.e03c3e4b.iframe.bundle.js.LICENSE.txt => grid-demo-grid-mdx.1d71737d.iframe.bundle.js.LICENSE.txt (66%) rename grid-demo-grid-stories.993d1cfe.iframe.bundle.js => grid-demo-grid-stories.0ceb75c0.iframe.bundle.js (55%) rename field-demo-field-mdx.0f34f94a.iframe.bundle.js.LICENSE.txt => grid-demo-grid-stories.0ceb75c0.iframe.bundle.js.LICENSE.txt (66%) rename main.c30d570f.iframe.bundle.js => main.a1757cfb.iframe.bundle.js (61%) rename menu-demo-menu-mdx.88db11c7.iframe.bundle.js => menu-demo-menu-mdx.12252684.iframe.bundle.js (95%) delete mode 100644 menu-demo-menu-mdx.88db11c7.iframe.bundle.js.LICENSE.txt delete mode 100644 menu-demo-patterns-patterns-mdx.4f0f1679.iframe.bundle.js.LICENSE.txt rename menu-demo-patterns-patterns-mdx.4f0f1679.iframe.bundle.js => menu-demo-patterns-patterns-mdx.d1116a03.iframe.bundle.js (91%) rename modal-demo-modal-mdx.4b7215f4.iframe.bundle.js => modal-demo-modal-mdx.fae05ec7.iframe.bundle.js (95%) rename modal-demo-modal-mdx.4b7215f4.iframe.bundle.js.LICENSE.txt => modal-demo-modal-mdx.fae05ec7.iframe.bundle.js.LICENSE.txt (66%) create mode 100644 runtime~main.ea65687a.iframe.bundle.js delete mode 100644 runtime~main.ff61c289.iframe.bundle.js delete mode 100644 schedule-demo-schedule-mdx.00db43dc.iframe.bundle.js.LICENSE.txt rename schedule-demo-schedule-mdx.00db43dc.iframe.bundle.js => schedule-demo-schedule-mdx.dfa9b0ea.iframe.bundle.js (82%) rename schedule-demo-schedule-stories.7071f361.iframe.bundle.js => schedule-demo-schedule-stories.3c28f9a4.iframe.bundle.js (87%) rename scrollregion-demo-scrollregion-mdx.48308e38.iframe.bundle.js => scrollregion-demo-scrollregion-mdx.43b21b1f.iframe.bundle.js (65%) rename selection-demo-selection-stories.4aeed1f8.iframe.bundle.js.LICENSE.txt => scrollregion-demo-scrollregion-mdx.43b21b1f.iframe.bundle.js.LICENSE.txt (100%) delete mode 100644 scrollregion-demo-scrollregion-mdx.48308e38.iframe.bundle.js.LICENSE.txt rename scrollregion-demo-scrollregion-stories.4b0ac1f8.iframe.bundle.js => scrollregion-demo-scrollregion-stories.90abb04b.iframe.bundle.js (57%) rename slider-demo-slider-stories.5c5eb4fd.iframe.bundle.js.LICENSE.txt => scrollregion-demo-scrollregion-stories.90abb04b.iframe.bundle.js.LICENSE.txt (100%) delete mode 100644 selection-demo-selection-mdx.cf4b1627.iframe.bundle.js.LICENSE.txt rename selection-demo-selection-mdx.cf4b1627.iframe.bundle.js => selection-demo-selection-mdx.e6b2d9a9.iframe.bundle.js (66%) rename tooltip-demo-patterns-patterns-stories.6ebfb8c5.iframe.bundle.js.LICENSE.txt => selection-demo-selection-mdx.e6b2d9a9.iframe.bundle.js.LICENSE.txt (100%) rename selection-demo-selection-stories.4aeed1f8.iframe.bundle.js => selection-demo-selection-stories.f3f10bf6.iframe.bundle.js (62%) rename tooltip-demo-tooltip-stories.206fe3e8.iframe.bundle.js.LICENSE.txt => selection-demo-selection-stories.f3f10bf6.iframe.bundle.js.LICENSE.txt (100%) delete mode 100644 slider-demo-slider-mdx.44355267.iframe.bundle.js.LICENSE.txt rename slider-demo-slider-mdx.44355267.iframe.bundle.js => slider-demo-slider-mdx.7972097d.iframe.bundle.js (75%) create mode 100644 slider-demo-slider-mdx.7972097d.iframe.bundle.js.LICENSE.txt rename slider-demo-slider-stories.5c5eb4fd.iframe.bundle.js => slider-demo-slider-stories.b364a71c.iframe.bundle.js (74%) create mode 100644 slider-demo-slider-stories.b364a71c.iframe.bundle.js.LICENSE.txt rename splitter-demo-splitter-mdx.539a1470.iframe.bundle.js => splitter-demo-splitter-mdx.c89d4a4b.iframe.bundle.js (84%) rename splitter-demo-splitter-stories.6f394d36.iframe.bundle.js.LICENSE.txt => splitter-demo-splitter-mdx.c89d4a4b.iframe.bundle.js.LICENSE.txt (100%) rename splitter-demo-splitter-stories.6f394d36.iframe.bundle.js => splitter-demo-splitter-stories.82213320.iframe.bundle.js (84%) rename tabs-demo-tabs-stories.75e8a885.iframe.bundle.js.LICENSE.txt => splitter-demo-splitter-stories.82213320.iframe.bundle.js.LICENSE.txt (100%) rename tabs-demo-tabs-mdx.2d77fc76.iframe.bundle.js => tabs-demo-tabs-mdx.8ec06aa2.iframe.bundle.js (67%) rename splitter-demo-splitter-mdx.539a1470.iframe.bundle.js.LICENSE.txt => tabs-demo-tabs-mdx.8ec06aa2.iframe.bundle.js.LICENSE.txt (70%) rename tabs-demo-tabs-stories.75e8a885.iframe.bundle.js => tabs-demo-tabs-stories.eec47268.iframe.bundle.js (62%) rename tabs-demo-tabs-mdx.2d77fc76.iframe.bundle.js.LICENSE.txt => tabs-demo-tabs-stories.eec47268.iframe.bundle.js.LICENSE.txt (70%) create mode 100644 tooltip-demo-patterns-patterns-mdx.1e47cea5.iframe.bundle.js create mode 100644 tooltip-demo-patterns-patterns-mdx.1e47cea5.iframe.bundle.js.LICENSE.txt delete mode 100644 tooltip-demo-patterns-patterns-mdx.a7e4eb2b.iframe.bundle.js delete mode 100644 tooltip-demo-patterns-patterns-mdx.a7e4eb2b.iframe.bundle.js.LICENSE.txt delete mode 100644 tooltip-demo-patterns-patterns-stories.6ebfb8c5.iframe.bundle.js create mode 100644 tooltip-demo-patterns-patterns-stories.ff7d23ac.iframe.bundle.js create mode 100644 tooltip-demo-patterns-patterns-stories.ff7d23ac.iframe.bundle.js.LICENSE.txt delete mode 100644 tooltip-demo-tooltip-mdx.520931d1.iframe.bundle.js.LICENSE.txt rename tooltip-demo-tooltip-mdx.520931d1.iframe.bundle.js => tooltip-demo-tooltip-mdx.74128701.iframe.bundle.js (56%) create mode 100644 tooltip-demo-tooltip-mdx.74128701.iframe.bundle.js.LICENSE.txt create mode 100644 tooltip-demo-tooltip-stories.0a929b09.iframe.bundle.js create mode 100644 tooltip-demo-tooltip-stories.0a929b09.iframe.bundle.js.LICENSE.txt delete mode 100644 tooltip-demo-tooltip-stories.206fe3e8.iframe.bundle.js diff --git a/1120.381ca7fd.iframe.bundle.js b/1120.381ca7fd.iframe.bundle.js deleted file mode 100644 index 6c2cc53ed..000000000 --- a/1120.381ca7fd.iframe.bundle.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see 1120.381ca7fd.iframe.bundle.js.LICENSE.txt */ -"use strict";(self.webpackChunk_zendeskgarden_react_containers=self.webpackChunk_zendeskgarden_react_containers||[]).push([[1120],{"./node_modules/@storybook/react/dist/index.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{var _chunk_SXKPGB5T_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@storybook/react/dist/chunk-SXKPGB5T.mjs"),_storybook_global__WEBPACK_IMPORTED_MODULE_2__=(__webpack_require__("./node_modules/@storybook/react/dist/chunk-CEH6MNVV.mjs"),__webpack_require__("@storybook/global")),storybook_internal_preview_errors__WEBPACK_IMPORTED_MODULE_4__=(__webpack_require__("storybook/internal/preview-api"),__webpack_require__("storybook/internal/preview-errors")),react__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/react/index.js"),{window:globalWindow}=_storybook_global__WEBPACK_IMPORTED_MODULE_2__.global;globalWindow&&(globalWindow.STORYBOOK_ENV="react");_chunk_SXKPGB5T_mjs__WEBPACK_IMPORTED_MODULE_0__.IX},"./node_modules/dom-helpers/esm/activeElement.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{function activeElement(doc){void 0===doc&&(doc=function ownerDocument(node){return node&&node.ownerDocument||document}());try{var active=doc.activeElement;return active&&active.nodeName?active:null}catch(e){return doc.body}}__webpack_require__.d(__webpack_exports__,{A:()=>activeElement})},"./node_modules/tabbable/dist/index.esm.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Kr:()=>tabbable});var candidateSelectors=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],candidateSelector=candidateSelectors.join(","),NoElement="undefined"==typeof Element,matches=NoElement?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,getRootNode=!NoElement&&Element.prototype.getRootNode?function(element){var _element$getRootNode;return null==element||null===(_element$getRootNode=element.getRootNode)||void 0===_element$getRootNode?void 0:_element$getRootNode.call(element)}:function(element){return null==element?void 0:element.ownerDocument},isInert=function isInert(node,lookUp){var _node$getAttribute;void 0===lookUp&&(lookUp=!0);var inertAtt=null==node||null===(_node$getAttribute=node.getAttribute)||void 0===_node$getAttribute?void 0:_node$getAttribute.call(node,"inert");return""===inertAtt||"true"===inertAtt||lookUp&&node&&isInert(node.parentNode)},getCandidates=function getCandidates(el,includeContainer,filter){if(isInert(el))return[];var candidates=Array.prototype.slice.apply(el.querySelectorAll(candidateSelector));return includeContainer&&matches.call(el,candidateSelector)&&candidates.unshift(el),candidates=candidates.filter(filter)},getCandidatesIteratively=function getCandidatesIteratively(elements,includeContainer,options){for(var candidates=[],elementsToCheck=Array.from(elements);elementsToCheck.length;){var element=elementsToCheck.shift();if(!isInert(element,!1))if("SLOT"===element.tagName){var assigned=element.assignedElements(),nestedCandidates=getCandidatesIteratively(assigned.length?assigned:element.children,!0,options);options.flatten?candidates.push.apply(candidates,nestedCandidates):candidates.push({scopeParent:element,candidates:nestedCandidates})}else{matches.call(element,candidateSelector)&&options.filter(element)&&(includeContainer||!elements.includes(element))&&candidates.push(element);var shadowRoot=element.shadowRoot||"function"==typeof options.getShadowRoot&&options.getShadowRoot(element),validShadowRoot=!isInert(shadowRoot,!1)&&(!options.shadowRootFilter||options.shadowRootFilter(element));if(shadowRoot&&validShadowRoot){var _nestedCandidates=getCandidatesIteratively(!0===shadowRoot?element.children:shadowRoot.children,!0,options);options.flatten?candidates.push.apply(candidates,_nestedCandidates):candidates.push({scopeParent:element,candidates:_nestedCandidates})}else elementsToCheck.unshift.apply(elementsToCheck,element.children)}}return candidates},hasTabIndex=function hasTabIndex(node){return!isNaN(parseInt(node.getAttribute("tabindex"),10))},getTabIndex=function getTabIndex(node){if(!node)throw new Error("No node provided");return node.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(node.tagName)||function isContentEditable(node){var _node$getAttribute2,attValue=null==node||null===(_node$getAttribute2=node.getAttribute)||void 0===_node$getAttribute2?void 0:_node$getAttribute2.call(node,"contenteditable");return""===attValue||"true"===attValue}(node))&&!hasTabIndex(node)?0:node.tabIndex},sortOrderedTabbables=function sortOrderedTabbables(a,b){return a.tabIndex===b.tabIndex?a.documentOrder-b.documentOrder:a.tabIndex-b.tabIndex},isInput=function isInput(node){return"INPUT"===node.tagName},isNonTabbableRadio=function isNonTabbableRadio(node){return function isRadio(node){return isInput(node)&&"radio"===node.type}(node)&&!function isTabbableRadio(node){if(!node.name)return!0;var radioSet,radioScope=node.form||getRootNode(node),queryRadios=function queryRadios(name){return radioScope.querySelectorAll('input[type="radio"][name="'+name+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)radioSet=queryRadios(window.CSS.escape(node.name));else try{radioSet=queryRadios(node.name)}catch(err){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",err.message),!1}var checked=function getCheckedRadio(nodes,form){for(var i=0;isummary:first-of-type")?node.parentElement:node;if(matches.call(nodeUnderDetails,"details:not([open]) *"))return!0;if(displayCheck&&"full"!==displayCheck&&"legacy-full"!==displayCheck){if("non-zero-area"===displayCheck)return isZeroArea(node)}else{if("function"==typeof getShadowRoot){for(var originalNode=node;node;){var parentElement=node.parentElement,rootNode=getRootNode(node);if(parentElement&&!parentElement.shadowRoot&&!0===getShadowRoot(parentElement))return isZeroArea(node);node=node.assignedSlot?node.assignedSlot:parentElement||rootNode===node.ownerDocument?parentElement:rootNode.host}node=originalNode}if(function isNodeAttached(node){var _nodeRoot,_nodeRootHost,_nodeRootHost$ownerDo,_node$ownerDocument,nodeRoot=node&&getRootNode(node),nodeRootHost=null===(_nodeRoot=nodeRoot)||void 0===_nodeRoot?void 0:_nodeRoot.host,attached=!1;if(nodeRoot&&nodeRoot!==node)for(attached=!!(null!==(_nodeRootHost=nodeRootHost)&&void 0!==_nodeRootHost&&null!==(_nodeRootHost$ownerDo=_nodeRootHost.ownerDocument)&&void 0!==_nodeRootHost$ownerDo&&_nodeRootHost$ownerDo.contains(nodeRootHost)||null!=node&&null!==(_node$ownerDocument=node.ownerDocument)&&void 0!==_node$ownerDocument&&_node$ownerDocument.contains(node));!attached&&nodeRootHost;){var _nodeRoot2,_nodeRootHost2,_nodeRootHost2$ownerD;attached=!(null===(_nodeRootHost2=nodeRootHost=null===(_nodeRoot2=nodeRoot=getRootNode(nodeRootHost))||void 0===_nodeRoot2?void 0:_nodeRoot2.host)||void 0===_nodeRootHost2||null===(_nodeRootHost2$ownerD=_nodeRootHost2.ownerDocument)||void 0===_nodeRootHost2$ownerD||!_nodeRootHost2$ownerD.contains(nodeRootHost))}return attached}(node))return!node.getClientRects().length;if("legacy-full"!==displayCheck)return!0}return!1},isNodeMatchingSelectorFocusable=function isNodeMatchingSelectorFocusable(options,node){return!(node.disabled||isInert(node)||function isHiddenInput(node){return isInput(node)&&"hidden"===node.type}(node)||isHidden(node,options)||function isDetailsWithSummary(node){return"DETAILS"===node.tagName&&Array.prototype.slice.apply(node.children).some((function(child){return"SUMMARY"===child.tagName}))}(node)||function isDisabledFromFieldset(node){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(node.tagName))for(var parentNode=node.parentElement;parentNode;){if("FIELDSET"===parentNode.tagName&&parentNode.disabled){for(var i=0;i=0)},sortByOrder=function sortByOrder(candidates){var regularTabbables=[],orderedTabbables=[];return candidates.forEach((function(item,i){var isScope=!!item.scopeParent,element=isScope?item.scopeParent:item,candidateTabindex=function getSortOrderTabIndex(node,isScope){var tabIndex=getTabIndex(node);return tabIndex<0&&isScope&&!hasTabIndex(node)?0:tabIndex}(element,isScope),elements=isScope?sortByOrder(item.candidates):element;0===candidateTabindex?isScope?regularTabbables.push.apply(regularTabbables,elements):regularTabbables.push(element):orderedTabbables.push({documentOrder:i,tabIndex:candidateTabindex,item,isScope,content:elements})})),orderedTabbables.sort(sortOrderedTabbables).reduce((function(acc,sortable){return sortable.isScope?acc.push.apply(acc,sortable.content):acc.push(sortable.content),acc}),[]).concat(regularTabbables)},tabbable=function tabbable(container,options){var candidates;return candidates=(options=options||{}).getShadowRoot?getCandidatesIteratively([container],options.includeContainer,{filter:isNodeMatchingSelectorTabbable.bind(null,options),flatten:!1,getShadowRoot:options.getShadowRoot,shadowRootFilter:isValidShadowRootTabbable}):getCandidates(container,options.includeContainer,isNodeMatchingSelectorTabbable.bind(null,options)),sortByOrder(candidates)}}}]); \ No newline at end of file diff --git a/1120.ada17066.iframe.bundle.js b/1120.ada17066.iframe.bundle.js new file mode 100644 index 000000000..a094fad8d --- /dev/null +++ b/1120.ada17066.iframe.bundle.js @@ -0,0 +1,2 @@ +/*! For license information please see 1120.ada17066.iframe.bundle.js.LICENSE.txt */ +"use strict";(self.webpackChunk_zendeskgarden_react_containers=self.webpackChunk_zendeskgarden_react_containers||[]).push([[1120],{"./node_modules/@storybook/react/dist/index.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{var _chunk_OOL6AVF7_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@storybook/react/dist/chunk-OOL6AVF7.mjs"),_storybook_global__WEBPACK_IMPORTED_MODULE_2__=(__webpack_require__("./node_modules/@storybook/react/dist/chunk-H6MOWX77.mjs"),__webpack_require__("@storybook/global")),react__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/react/index.js"),{window:globalWindow}=(__webpack_require__("storybook/internal/preview-api"),_storybook_global__WEBPACK_IMPORTED_MODULE_2__.global);globalWindow&&(globalWindow.STORYBOOK_ENV="react");_chunk_OOL6AVF7_mjs__WEBPACK_IMPORTED_MODULE_0__.IX},"./node_modules/dom-helpers/esm/activeElement.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{function activeElement(doc){void 0===doc&&(doc=function ownerDocument(node){return node&&node.ownerDocument||document}());try{var active=doc.activeElement;return active&&active.nodeName?active:null}catch(e){return doc.body}}__webpack_require__.d(__webpack_exports__,{A:()=>activeElement})},"./node_modules/tabbable/dist/index.esm.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Kr:()=>tabbable});var candidateSelectors=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],candidateSelector=candidateSelectors.join(","),NoElement="undefined"==typeof Element,matches=NoElement?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,getRootNode=!NoElement&&Element.prototype.getRootNode?function(element){var _element$getRootNode;return null==element||null===(_element$getRootNode=element.getRootNode)||void 0===_element$getRootNode?void 0:_element$getRootNode.call(element)}:function(element){return null==element?void 0:element.ownerDocument},isInert=function isInert(node,lookUp){var _node$getAttribute;void 0===lookUp&&(lookUp=!0);var inertAtt=null==node||null===(_node$getAttribute=node.getAttribute)||void 0===_node$getAttribute?void 0:_node$getAttribute.call(node,"inert");return""===inertAtt||"true"===inertAtt||lookUp&&node&&isInert(node.parentNode)},getCandidates=function getCandidates(el,includeContainer,filter){if(isInert(el))return[];var candidates=Array.prototype.slice.apply(el.querySelectorAll(candidateSelector));return includeContainer&&matches.call(el,candidateSelector)&&candidates.unshift(el),candidates=candidates.filter(filter)},getCandidatesIteratively=function getCandidatesIteratively(elements,includeContainer,options){for(var candidates=[],elementsToCheck=Array.from(elements);elementsToCheck.length;){var element=elementsToCheck.shift();if(!isInert(element,!1))if("SLOT"===element.tagName){var assigned=element.assignedElements(),nestedCandidates=getCandidatesIteratively(assigned.length?assigned:element.children,!0,options);options.flatten?candidates.push.apply(candidates,nestedCandidates):candidates.push({scopeParent:element,candidates:nestedCandidates})}else{matches.call(element,candidateSelector)&&options.filter(element)&&(includeContainer||!elements.includes(element))&&candidates.push(element);var shadowRoot=element.shadowRoot||"function"==typeof options.getShadowRoot&&options.getShadowRoot(element),validShadowRoot=!isInert(shadowRoot,!1)&&(!options.shadowRootFilter||options.shadowRootFilter(element));if(shadowRoot&&validShadowRoot){var _nestedCandidates=getCandidatesIteratively(!0===shadowRoot?element.children:shadowRoot.children,!0,options);options.flatten?candidates.push.apply(candidates,_nestedCandidates):candidates.push({scopeParent:element,candidates:_nestedCandidates})}else elementsToCheck.unshift.apply(elementsToCheck,element.children)}}return candidates},hasTabIndex=function hasTabIndex(node){return!isNaN(parseInt(node.getAttribute("tabindex"),10))},getTabIndex=function getTabIndex(node){if(!node)throw new Error("No node provided");return node.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(node.tagName)||function isContentEditable(node){var _node$getAttribute2,attValue=null==node||null===(_node$getAttribute2=node.getAttribute)||void 0===_node$getAttribute2?void 0:_node$getAttribute2.call(node,"contenteditable");return""===attValue||"true"===attValue}(node))&&!hasTabIndex(node)?0:node.tabIndex},sortOrderedTabbables=function sortOrderedTabbables(a,b){return a.tabIndex===b.tabIndex?a.documentOrder-b.documentOrder:a.tabIndex-b.tabIndex},isInput=function isInput(node){return"INPUT"===node.tagName},isNonTabbableRadio=function isNonTabbableRadio(node){return function isRadio(node){return isInput(node)&&"radio"===node.type}(node)&&!function isTabbableRadio(node){if(!node.name)return!0;var radioSet,radioScope=node.form||getRootNode(node),queryRadios=function queryRadios(name){return radioScope.querySelectorAll('input[type="radio"][name="'+name+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)radioSet=queryRadios(window.CSS.escape(node.name));else try{radioSet=queryRadios(node.name)}catch(err){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",err.message),!1}var checked=function getCheckedRadio(nodes,form){for(var i=0;isummary:first-of-type")?node.parentElement:node;if(matches.call(nodeUnderDetails,"details:not([open]) *"))return!0;if(displayCheck&&"full"!==displayCheck&&"legacy-full"!==displayCheck){if("non-zero-area"===displayCheck)return isZeroArea(node)}else{if("function"==typeof getShadowRoot){for(var originalNode=node;node;){var parentElement=node.parentElement,rootNode=getRootNode(node);if(parentElement&&!parentElement.shadowRoot&&!0===getShadowRoot(parentElement))return isZeroArea(node);node=node.assignedSlot?node.assignedSlot:parentElement||rootNode===node.ownerDocument?parentElement:rootNode.host}node=originalNode}if(function isNodeAttached(node){var _nodeRoot,_nodeRootHost,_nodeRootHost$ownerDo,_node$ownerDocument,nodeRoot=node&&getRootNode(node),nodeRootHost=null===(_nodeRoot=nodeRoot)||void 0===_nodeRoot?void 0:_nodeRoot.host,attached=!1;if(nodeRoot&&nodeRoot!==node)for(attached=!!(null!==(_nodeRootHost=nodeRootHost)&&void 0!==_nodeRootHost&&null!==(_nodeRootHost$ownerDo=_nodeRootHost.ownerDocument)&&void 0!==_nodeRootHost$ownerDo&&_nodeRootHost$ownerDo.contains(nodeRootHost)||null!=node&&null!==(_node$ownerDocument=node.ownerDocument)&&void 0!==_node$ownerDocument&&_node$ownerDocument.contains(node));!attached&&nodeRootHost;){var _nodeRoot2,_nodeRootHost2,_nodeRootHost2$ownerD;attached=!(null===(_nodeRootHost2=nodeRootHost=null===(_nodeRoot2=nodeRoot=getRootNode(nodeRootHost))||void 0===_nodeRoot2?void 0:_nodeRoot2.host)||void 0===_nodeRootHost2||null===(_nodeRootHost2$ownerD=_nodeRootHost2.ownerDocument)||void 0===_nodeRootHost2$ownerD||!_nodeRootHost2$ownerD.contains(nodeRootHost))}return attached}(node))return!node.getClientRects().length;if("legacy-full"!==displayCheck)return!0}return!1},isNodeMatchingSelectorFocusable=function isNodeMatchingSelectorFocusable(options,node){return!(node.disabled||isInert(node)||function isHiddenInput(node){return isInput(node)&&"hidden"===node.type}(node)||isHidden(node,options)||function isDetailsWithSummary(node){return"DETAILS"===node.tagName&&Array.prototype.slice.apply(node.children).some((function(child){return"SUMMARY"===child.tagName}))}(node)||function isDisabledFromFieldset(node){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(node.tagName))for(var parentNode=node.parentElement;parentNode;){if("FIELDSET"===parentNode.tagName&&parentNode.disabled){for(var i=0;i=0)},sortByOrder=function sortByOrder(candidates){var regularTabbables=[],orderedTabbables=[];return candidates.forEach((function(item,i){var isScope=!!item.scopeParent,element=isScope?item.scopeParent:item,candidateTabindex=function getSortOrderTabIndex(node,isScope){var tabIndex=getTabIndex(node);return tabIndex<0&&isScope&&!hasTabIndex(node)?0:tabIndex}(element,isScope),elements=isScope?sortByOrder(item.candidates):element;0===candidateTabindex?isScope?regularTabbables.push.apply(regularTabbables,elements):regularTabbables.push(element):orderedTabbables.push({documentOrder:i,tabIndex:candidateTabindex,item,isScope,content:elements})})),orderedTabbables.sort(sortOrderedTabbables).reduce((function(acc,sortable){return sortable.isScope?acc.push.apply(acc,sortable.content):acc.push(sortable.content),acc}),[]).concat(regularTabbables)},tabbable=function tabbable(container,options){var candidates;return candidates=(options=options||{}).getShadowRoot?getCandidatesIteratively([container],options.includeContainer,{filter:isNodeMatchingSelectorTabbable.bind(null,options),flatten:!1,getShadowRoot:options.getShadowRoot,shadowRootFilter:isValidShadowRootTabbable}):getCandidates(container,options.includeContainer,isNodeMatchingSelectorTabbable.bind(null,options)),sortByOrder(candidates)}}}]); \ No newline at end of file diff --git a/1120.381ca7fd.iframe.bundle.js.LICENSE.txt b/1120.ada17066.iframe.bundle.js.LICENSE.txt similarity index 100% rename from 1120.381ca7fd.iframe.bundle.js.LICENSE.txt rename to 1120.ada17066.iframe.bundle.js.LICENSE.txt diff --git a/2521.4ab0b763.iframe.bundle.js b/2521.4ab0b763.iframe.bundle.js new file mode 100644 index 000000000..20cae2259 --- /dev/null +++ b/2521.4ab0b763.iframe.bundle.js @@ -0,0 +1,2 @@ +/*! For license information please see 2521.4ab0b763.iframe.bundle.js.LICENSE.txt */ +(self.webpackChunk_zendeskgarden_react_containers=self.webpackChunk_zendeskgarden_react_containers||[]).push([[2521],{"./node_modules/@reach/auto-id/dist/reach-auto-id.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{B:()=>useId});var react=__webpack_require__("./node_modules/react/index.js"),react_namespaceObject=__webpack_require__.t(react,2);function canUseDOM(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}var useIsomorphicLayoutEffect=canUseDOM()?react.useLayoutEffect:react.useEffect;var serverHandoffComplete=!1,id=0;function genId(){return++id}var maybeReactUseId=react_namespaceObject["useId".toString()];function useId(providedId){if(void 0!==maybeReactUseId){let generatedId=maybeReactUseId();return providedId??generatedId}let initialId=providedId??(serverHandoffComplete?genId():null),[id2,setId]=react.useState(initialId);return useIsomorphicLayoutEffect((()=>{null===id2&&setId(genId())}),[]),react.useEffect((()=>{!1===serverHandoffComplete&&(serverHandoffComplete=!0)}),[]),providedId??id2??void 0}},"./node_modules/@storybook/react/dist/index.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";var _chunk_OOL6AVF7_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@storybook/react/dist/chunk-OOL6AVF7.mjs"),_storybook_global__WEBPACK_IMPORTED_MODULE_2__=(__webpack_require__("./node_modules/@storybook/react/dist/chunk-H6MOWX77.mjs"),__webpack_require__("@storybook/global")),react__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/react/index.js"),{window:globalWindow}=(__webpack_require__("storybook/internal/preview-api"),_storybook_global__WEBPACK_IMPORTED_MODULE_2__.global);globalWindow&&(globalWindow.STORYBOOK_ENV="react");_chunk_OOL6AVF7_mjs__WEBPACK_IMPORTED_MODULE_0__.IX},"./node_modules/classnames/index.js":(module,exports)=>{var __WEBPACK_AMD_DEFINE_RESULT__;!function(){"use strict";var hasOwn={}.hasOwnProperty;function classNames(){for(var classes="",i=0;i{"use strict";function objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(r,e){if(null==r)return{};var t={};for(var n in r)if({}.hasOwnProperty.call(r,n)){if(e.includes(n))continue;t[n]=r[n]}return t}__webpack_require__.d(__webpack_exports__,{Bp:()=>useCombobox});var esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),prop_types=__webpack_require__("./node_modules/prop-types/index.js"),prop_types_default=__webpack_require__.n(prop_types),react=__webpack_require__("./node_modules/react/index.js");__webpack_require__("./node_modules/downshift/node_modules/react-is/index.js");const t=t=>"object"==typeof t&&null!=t&&1===t.nodeType,e=(t,e)=>(!e||"hidden"!==t)&&"visible"!==t&&"clip"!==t,n=(t,n)=>{if(t.clientHeight{const e=(t=>{if(!t.ownerDocument||!t.ownerDocument.defaultView)return null;try{return t.ownerDocument.defaultView.frameElement}catch(t){return null}})(t);return!!e&&(e.clientHeightre||r>t&&i=e&&s>=n?r-t-o:i>e&&sn?i-e+l:0,l=t=>{const e=t.parentElement;return null==e?t.getRootNode().host||null:e};var tslib_es6=__webpack_require__("./node_modules/tslib/tslib.es6.mjs");function noop(){}function scrollIntoView(node,menuNode){if(node){var actions=((e,r)=>{var i,s,d,h;if("undefined"==typeof document)return[];const{scrollMode:c,block:f,inline:u,boundary:a,skipOverflowHiddenElements:g}=r,p="function"==typeof a?a:t=>t!==a;if(!t(e))throw new TypeError("Invalid target");const m=document.scrollingElement||document.documentElement,w=[];let W=e;for(;t(W)&&p(W);){if(W=l(W),W===m){w.push(W);break}null!=W&&W===document.body&&n(W)&&!n(document.documentElement)||null!=W&&n(W,g)&&w.push(W)}const b=null!=(s=null==(i=window.visualViewport)?void 0:i.width)?s:innerWidth,H=null!=(h=null==(d=window.visualViewport)?void 0:d.height)?h:innerHeight,{scrollX:y,scrollY:M}=window,{height:v,width:E,top:x,right:C,bottom:I,left:R}=e.getBoundingClientRect(),{top:T,right:B,bottom:F,left:V}=(t=>{const e=window.getComputedStyle(t);return{top:parseFloat(e.scrollMarginTop)||0,right:parseFloat(e.scrollMarginRight)||0,bottom:parseFloat(e.scrollMarginBottom)||0,left:parseFloat(e.scrollMarginLeft)||0}})(e);let k="start"===f||"nearest"===f?x-T:"end"===f?I+F:x+v/2-T+F,D="center"===u?R+E/2-V+B:"end"===u?C+B:R-V;const L=[];for(let t=0;t=0&&R>=0&&I<=H&&C<=b&&x>=r&&I<=s&&R>=d&&C<=i)return L;const h=getComputedStyle(e),a=parseInt(h.borderLeftWidth,10),g=parseInt(h.borderTopWidth,10),p=parseInt(h.borderRightWidth,10),W=parseInt(h.borderBottomWidth,10);let T=0,B=0;const F="offsetWidth"in e?e.offsetWidth-e.clientWidth-a-p:0,V="offsetHeight"in e?e.offsetHeight-e.clientHeight-g-W:0,S="offsetWidth"in e?0===e.offsetWidth?0:l/e.offsetWidth:0,X="offsetHeight"in e?0===e.offsetHeight?0:n/e.offsetHeight:0;if(m===e)T="start"===f?k:"end"===f?k-H:"nearest"===f?o(M,M+H,H,g,W,M+k,M+k+v,v):k-H/2,B="start"===u?D:"center"===u?D-b/2:"end"===u?D-b:o(y,y+b,b,a,p,y+D,y+D+E,E),T=Math.max(0,T+M),B=Math.max(0,B+y);else{T="start"===f?k-r-g:"end"===f?k-s+W+V:"nearest"===f?o(r,s,n,g,W+V,k,k+v,v):k-(r+n/2)+V/2,B="start"===u?D-d-a:"center"===u?D-(d+l/2)+F/2:"end"===u?D-i+p+F:o(d,i,l,a,p+F,D,D+E,E);const{scrollLeft:t,scrollTop:h}=e;T=0===X?0:Math.max(0,Math.min(h+T/X,e.scrollHeight-n/X+V)),B=0===S?0:Math.max(0,Math.min(t+B/S,e.scrollWidth-l/S+F)),k+=h-T,D+=t-B}L.push({el:e,top:T,left:B})}return L})(node,{boundary:menuNode,block:"nearest",scrollMode:"if-needed"});actions.forEach((function(_ref){var el=_ref.el,top=_ref.top,left=_ref.left;el.scrollTop=top,el.scrollLeft=left}))}}function isOrContainsNode(parent,child,environment){return parent===child||child instanceof environment.Node&&parent.contains&&parent.contains(child)}function debounce(fn,time){var timeoutId;function cancel(){timeoutId&&clearTimeout(timeoutId)}function wrapper(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];cancel(),timeoutId=setTimeout((function(){timeoutId=null,fn.apply(void 0,args)}),time)}return wrapper.cancel=cancel,wrapper}function callAllEventHandlers(){for(var _len2=arguments.length,fns=new Array(_len2),_key2=0;_key2<_len2;_key2++)fns[_key2]=arguments[_key2];return function(event){for(var _len3=arguments.length,args=new Array(_len3>1?_len3-1:0),_key3=1;_key3<_len3;_key3++)args[_key3-1]=arguments[_key3];return fns.some((function(fn){return fn&&fn.apply(void 0,[event].concat(args)),event.preventDownshiftDefault||event.hasOwnProperty("nativeEvent")&&event.nativeEvent.preventDownshiftDefault}))}}function handleRefs(){for(var _len4=arguments.length,refs=new Array(_len4),_key4=0;_key4<_len4;_key4++)refs[_key4]=arguments[_key4];return function(node){refs.forEach((function(ref){"function"==typeof ref?ref(node):ref&&(ref.current=node)}))}}function getState(state,props){return state&&props?Object.keys(state).reduce((function(prevState,key){return prevState[key]=isControlledProp(props,key)?props[key]:state[key],prevState}),{}):state}function isControlledProp(props,key){return void 0!==props[key]}function normalizeArrowKey(event){var key=event.key,keyCode=event.keyCode;return keyCode>=37&&keyCode<=40&&0!==key.indexOf("Arrow")?"Arrow"+key:key}function getHighlightedIndex(start,offset,items,isItemDisabled,circular){void 0===circular&&(circular=!1);var count=items.length;if(0===count)return-1;var itemsLastIndex=count-1;("number"!=typeof start||start<0||start>itemsLastIndex)&&(start=offset>0?-1:itemsLastIndex+1);var current=start+offset;current<0?current=circular?itemsLastIndex:0:current>itemsLastIndex&&(current=circular?0:itemsLastIndex);var highlightedIndex=getNonDisabledIndex(current,offset<0,items,isItemDisabled,circular);return-1===highlightedIndex?start>=count?-1:start:highlightedIndex}function getNonDisabledIndex(start,backwards,items,isItemDisabled,circular){void 0===circular&&(circular=!1);var count=items.length;if(backwards){for(var index=start;index>=0;index--)if(!isItemDisabled(items[index],index))return index}else for(var _index=start;_index-1&&props.isItemDisabled(props.items[highlightedIndex],highlightedIndex))return-1;return highlightedIndex}(props),inputValue=getInitialValue$1(props,"inputValue");return{highlightedIndex:highlightedIndex<0&&selectedItem&&isOpen?props.items.findIndex((function(item){return props.itemToKey(item)===props.itemToKey(selectedItem)})):highlightedIndex,isOpen,selectedItem,inputValue}}function getHighlightedIndexOnOpen(props,state,offset){var items=props.items,initialHighlightedIndex=props.initialHighlightedIndex,defaultHighlightedIndex=props.defaultHighlightedIndex,isItemDisabled=props.isItemDisabled,itemToKey=props.itemToKey,selectedItem=state.selectedItem,highlightedIndex=state.highlightedIndex;return 0===items.length?-1:void 0===initialHighlightedIndex||highlightedIndex!==initialHighlightedIndex||isItemDisabled(items[initialHighlightedIndex],initialHighlightedIndex)?void 0===defaultHighlightedIndex||isItemDisabled(items[defaultHighlightedIndex],defaultHighlightedIndex)?selectedItem?items.findIndex((function(item){return itemToKey(selectedItem)===itemToKey(item)})):offset<0&&!isItemDisabled(items[items.length-1],items.length-1)?items.length-1:offset>0&&!isItemDisabled(items[0],0)?0:-1:defaultHighlightedIndex:initialHighlightedIndex}function useMouseAndTouchTracker(environment,downshiftElementRefs,handleBlur){var mouseAndTouchTrackersRef=(0,react.useRef)({isMouseDown:!1,isTouchMove:!1,isTouchEnd:!1});return(0,react.useEffect)((function(){if(!environment)return noop;var downshiftElements=downshiftElementRefs.map((function(ref){return ref.current}));function onMouseDown(){mouseAndTouchTrackersRef.current.isTouchEnd=!1,mouseAndTouchTrackersRef.current.isMouseDown=!0}function onMouseUp(event){mouseAndTouchTrackersRef.current.isMouseDown=!1,targetWithinDownshift(event.target,downshiftElements,environment)||handleBlur()}function onTouchStart(){mouseAndTouchTrackersRef.current.isTouchEnd=!1,mouseAndTouchTrackersRef.current.isTouchMove=!1}function onTouchMove(){mouseAndTouchTrackersRef.current.isTouchMove=!0}function onTouchEnd(event){mouseAndTouchTrackersRef.current.isTouchEnd=!0,mouseAndTouchTrackersRef.current.isTouchMove||targetWithinDownshift(event.target,downshiftElements,environment,!1)||handleBlur()}return environment.addEventListener("mousedown",onMouseDown),environment.addEventListener("mouseup",onMouseUp),environment.addEventListener("touchstart",onTouchStart),environment.addEventListener("touchmove",onTouchMove),environment.addEventListener("touchend",onTouchEnd),function cleanup(){environment.removeEventListener("mousedown",onMouseDown),environment.removeEventListener("mouseup",onMouseUp),environment.removeEventListener("touchstart",onTouchStart),environment.removeEventListener("touchmove",onTouchMove),environment.removeEventListener("touchend",onTouchEnd)}}),[environment,handleBlur]),mouseAndTouchTrackersRef.current}var useGetterPropsCalledChecker=function useGetterPropsCalledChecker(){return noop};function useA11yMessageStatus(getA11yStatusMessage,options,dependencyArray,environment){void 0===environment&&(environment={});var document=environment.document,isInitialMount=useIsInitialMount();(0,react.useEffect)((function(){if(getA11yStatusMessage&&!isInitialMount&&document){var status=getA11yStatusMessage(options);updateA11yStatus(status,document)}}),dependencyArray),(0,react.useEffect)((function(){return function(){updateA11yStatus.cancel(),function cleanupStatusDiv(documentProp){var statusDiv=null==documentProp?void 0:documentProp.getElementById("a11y-status-message");statusDiv&&statusDiv.remove()}(document)}}),[document])}function useScrollIntoView(_ref3){var highlightedIndex=_ref3.highlightedIndex,isOpen=_ref3.isOpen,itemRefs=_ref3.itemRefs,getItemNodeFromIndex=_ref3.getItemNodeFromIndex,menuElement=_ref3.menuElement,scrollIntoViewProp=_ref3.scrollIntoView,shouldScrollRef=(0,react.useRef)(!0);return useIsomorphicLayoutEffect((function(){highlightedIndex<0||!isOpen||!Object.keys(itemRefs.current).length||(!1===shouldScrollRef.current?shouldScrollRef.current=!0:scrollIntoViewProp(getItemNodeFromIndex(highlightedIndex),menuElement))}),[highlightedIndex]),shouldScrollRef}var useControlPropsValidator=noop;function getChangesOnSelection(props,highlightedIndex,inputValue){var _props$items;void 0===inputValue&&(inputValue=!0);var shouldSelect=(null==(_props$items=props.items)?void 0:_props$items.length)&&highlightedIndex>=0;return(0,esm_extends.A)({isOpen:!1,highlightedIndex:-1},shouldSelect&&(0,esm_extends.A)({selectedItem:props.items[highlightedIndex],isOpen:getDefaultValue$1(props,"isOpen"),highlightedIndex:getDefaultValue$1(props,"highlightedIndex")},inputValue&&{inputValue:props.itemToString(props.items[highlightedIndex])}))}function isDropdownsStateEqual(prevState,newState){return prevState.isOpen===newState.isOpen&&prevState.inputValue===newState.inputValue&&prevState.highlightedIndex===newState.highlightedIndex&&prevState.selectedItem===newState.selectedItem}function useIsInitialMount(){var isInitialMountRef=react.useRef(!0);return react.useEffect((function(){return isInitialMountRef.current=!1,function(){isInitialMountRef.current=!0}}),[]),isInitialMountRef.current}function getDefaultHighlightedIndex(props){var highlightedIndex=getDefaultValue$1(props,"highlightedIndex");return highlightedIndex>-1&&props.isItemDisabled(props.items[highlightedIndex],highlightedIndex)?-1:highlightedIndex}var commonPropTypes={environment:prop_types_default().shape({addEventListener:prop_types_default().func.isRequired,removeEventListener:prop_types_default().func.isRequired,document:prop_types_default().shape({createElement:prop_types_default().func.isRequired,getElementById:prop_types_default().func.isRequired,activeElement:prop_types_default().any.isRequired,body:prop_types_default().any.isRequired}).isRequired,Node:prop_types_default().func.isRequired}),itemToString:prop_types_default().func,itemToKey:prop_types_default().func,stateReducer:prop_types_default().func},commonDropdownPropTypes=(0,esm_extends.A)({},commonPropTypes,{getA11yStatusMessage:prop_types_default().func,highlightedIndex:prop_types_default().number,defaultHighlightedIndex:prop_types_default().number,initialHighlightedIndex:prop_types_default().number,isOpen:prop_types_default().bool,defaultIsOpen:prop_types_default().bool,initialIsOpen:prop_types_default().bool,selectedItem:prop_types_default().any,initialSelectedItem:prop_types_default().any,defaultSelectedItem:prop_types_default().any,id:prop_types_default().string,labelId:prop_types_default().string,menuId:prop_types_default().string,getItemId:prop_types_default().func,toggleButtonId:prop_types_default().string,onSelectedItemChange:prop_types_default().func,onHighlightedIndexChange:prop_types_default().func,onStateChange:prop_types_default().func,onIsOpenChange:prop_types_default().func,scrollIntoView:prop_types_default().func});function downshiftCommonReducer(state,action,stateChangeTypes){var changes,type=action.type,props=action.props;switch(type){case stateChangeTypes.ItemMouseMove:changes={highlightedIndex:action.disabled?-1:action.index};break;case stateChangeTypes.MenuMouseLeave:changes={highlightedIndex:-1};break;case stateChangeTypes.ToggleButtonClick:case stateChangeTypes.FunctionToggleMenu:changes={isOpen:!state.isOpen,highlightedIndex:state.isOpen?-1:getHighlightedIndexOnOpen(props,state,0)};break;case stateChangeTypes.FunctionOpenMenu:changes={isOpen:!0,highlightedIndex:getHighlightedIndexOnOpen(props,state,0)};break;case stateChangeTypes.FunctionCloseMenu:changes={isOpen:!1};break;case stateChangeTypes.FunctionSetHighlightedIndex:changes={highlightedIndex:props.isItemDisabled(props.items[action.highlightedIndex],action.highlightedIndex)?-1:action.highlightedIndex};break;case stateChangeTypes.FunctionSetInputValue:changes={inputValue:action.inputValue};break;case stateChangeTypes.FunctionReset:changes={highlightedIndex:getDefaultHighlightedIndex(props),isOpen:getDefaultValue$1(props,"isOpen"),selectedItem:getDefaultValue$1(props,"selectedItem"),inputValue:getDefaultValue$1(props,"inputValue")};break;default:throw new Error("Reducer called without proper action type.")}return(0,esm_extends.A)({},state,changes)}(0,tslib_es6.Cl)((0,tslib_es6.Cl)({},commonDropdownPropTypes),{items:prop_types_default().array.isRequired,isItemDisabled:prop_types_default().func}),(0,tslib_es6.Cl)((0,tslib_es6.Cl)({},defaultProps$3),{isItemDisabled:function(){return!1}});var InputKeyDownArrowDown=0,InputKeyDownArrowUp=1,InputKeyDownEscape=2,InputKeyDownHome=3,InputKeyDownEnd=4,InputKeyDownPageUp=5,InputKeyDownPageDown=6,InputKeyDownEnter=7,InputChange=8,InputBlur=9,InputClick=10,MenuMouseLeave=11,ItemMouseMove=12,ItemClick=13,ToggleButtonClick=14,FunctionToggleMenu=15,FunctionOpenMenu=16,FunctionCloseMenu=17,FunctionSetHighlightedIndex=18,FunctionSelectItem=19,FunctionSetInputValue=20,FunctionReset$1=21,ControlledPropUpdatedSelectedItem=22,stateChangeTypes$1=Object.freeze({__proto__:null,ControlledPropUpdatedSelectedItem,FunctionCloseMenu,FunctionOpenMenu,FunctionReset:FunctionReset$1,FunctionSelectItem,FunctionSetHighlightedIndex,FunctionSetInputValue,FunctionToggleMenu,InputBlur,InputChange,InputClick,InputKeyDownArrowDown,InputKeyDownArrowUp,InputKeyDownEnd,InputKeyDownEnter,InputKeyDownEscape,InputKeyDownHome,InputKeyDownPageDown,InputKeyDownPageUp,ItemClick,ItemMouseMove,MenuMouseLeave,ToggleButtonClick});function getInitialState$1(props){var initialState=getInitialState$2(props),selectedItem=initialState.selectedItem,inputValue=initialState.inputValue;return""===inputValue&&selectedItem&&void 0===props.defaultInputValue&&void 0===props.initialInputValue&&void 0===props.inputValue&&(inputValue=props.itemToString(selectedItem)),(0,esm_extends.A)({},initialState,{inputValue})}(0,esm_extends.A)({},commonDropdownPropTypes,{items:prop_types_default().array.isRequired,isItemDisabled:prop_types_default().func,inputValue:prop_types_default().string,defaultInputValue:prop_types_default().string,initialInputValue:prop_types_default().string,inputId:prop_types_default().string,onInputValueChange:prop_types_default().func});var validatePropTypes$1=noop;var defaultProps$1=(0,esm_extends.A)({},defaultProps$3,{isItemDisabled:function isItemDisabled(){return!1}});function downshiftUseComboboxReducer(state,action){var _props$items,changes,type=action.type,props=action.props,altKey=action.altKey;switch(type){case ItemClick:changes={isOpen:getDefaultValue$1(props,"isOpen"),highlightedIndex:getDefaultHighlightedIndex(props),selectedItem:props.items[action.index],inputValue:props.itemToString(props.items[action.index])};break;case InputKeyDownArrowDown:changes=state.isOpen?{highlightedIndex:getHighlightedIndex(state.highlightedIndex,1,props.items,props.isItemDisabled,!0)}:{highlightedIndex:altKey&&null==state.selectedItem?-1:getHighlightedIndexOnOpen(props,state,1),isOpen:props.items.length>=0};break;case InputKeyDownArrowUp:changes=state.isOpen?altKey?getChangesOnSelection(props,state.highlightedIndex):{highlightedIndex:getHighlightedIndex(state.highlightedIndex,-1,props.items,props.isItemDisabled,!0)}:{highlightedIndex:getHighlightedIndexOnOpen(props,state,-1),isOpen:props.items.length>=0};break;case InputKeyDownEnter:changes=getChangesOnSelection(props,state.highlightedIndex);break;case InputKeyDownEscape:changes=(0,esm_extends.A)({isOpen:!1,highlightedIndex:-1},!state.isOpen&&{selectedItem:null,inputValue:""});break;case InputKeyDownPageUp:changes={highlightedIndex:getHighlightedIndex(state.highlightedIndex,-10,props.items,props.isItemDisabled,!0)};break;case InputKeyDownPageDown:changes={highlightedIndex:getHighlightedIndex(state.highlightedIndex,10,props.items,props.isItemDisabled,!0)};break;case InputKeyDownHome:changes={highlightedIndex:getNonDisabledIndex(0,!1,props.items,props.isItemDisabled)};break;case InputKeyDownEnd:changes={highlightedIndex:getNonDisabledIndex(props.items.length-1,!0,props.items,props.isItemDisabled)};break;case InputBlur:changes=(0,esm_extends.A)({isOpen:!1,highlightedIndex:-1},state.highlightedIndex>=0&&(null==(_props$items=props.items)?void 0:_props$items.length)&&action.selectItem&&{selectedItem:props.items[state.highlightedIndex],inputValue:props.itemToString(props.items[state.highlightedIndex])});break;case InputChange:changes={isOpen:!0,highlightedIndex:getDefaultHighlightedIndex(props),inputValue:action.inputValue};break;case InputClick:changes={isOpen:!state.isOpen,highlightedIndex:state.isOpen?-1:getHighlightedIndexOnOpen(props,state,0)};break;case FunctionSelectItem:changes={selectedItem:action.selectedItem,inputValue:props.itemToString(action.selectedItem)};break;case ControlledPropUpdatedSelectedItem:changes={inputValue:action.inputValue};break;default:return downshiftCommonReducer(state,action,stateChangeTypes$1)}return(0,esm_extends.A)({},state,changes)}var _excluded$1=["onMouseLeave","refKey","ref"],_excluded2$1=["item","index","refKey","ref","onMouseMove","onMouseDown","onClick","onPress","disabled"],_excluded3=["onClick","onPress","refKey","ref"],_excluded4=["onKeyDown","onChange","onInput","onBlur","onChangeText","onClick","refKey","ref"];function useCombobox(userProps){void 0===userProps&&(userProps={}),validatePropTypes$1(userProps,useCombobox);var props=(0,esm_extends.A)({},defaultProps$1,userProps),items=props.items,scrollIntoView=props.scrollIntoView,environment=props.environment,getA11yStatusMessage=props.getA11yStatusMessage,_useControlledReducer=function useControlledReducer(reducer,props,createInitialState,isStateEqual){var previousSelectedItemRef=(0,react.useRef)(),_useEnhancedReducer=useEnhancedReducer(reducer,props,createInitialState,isStateEqual),state=_useEnhancedReducer[0],dispatch=_useEnhancedReducer[1],isInitialMount=useIsInitialMount();return(0,react.useEffect)((function(){isControlledProp(props,"selectedItem")&&(isInitialMount||props.itemToKey(props.selectedItem)!==props.itemToKey(previousSelectedItemRef.current)&&dispatch({type:ControlledPropUpdatedSelectedItem,inputValue:props.itemToString(props.selectedItem)}),previousSelectedItemRef.current=state.selectedItem===previousSelectedItemRef.current?props.selectedItem:state.selectedItem)}),[state.selectedItem,props.selectedItem]),[getState(state,props),dispatch]}(downshiftUseComboboxReducer,props,getInitialState$1,isDropdownsStateEqual),state=_useControlledReducer[0],dispatch=_useControlledReducer[1],isOpen=state.isOpen,highlightedIndex=state.highlightedIndex,selectedItem=state.selectedItem,inputValue=state.inputValue,menuRef=(0,react.useRef)(null),itemRefs=(0,react.useRef)({}),inputRef=(0,react.useRef)(null),toggleButtonRef=(0,react.useRef)(null),isInitialMount=useIsInitialMount(),elementIds=useElementIds(props),previousResultCountRef=(0,react.useRef)(),latest=useLatestRef({state,props}),getItemNodeFromIndex=(0,react.useCallback)((function(index){return itemRefs.current[elementIds.getItemId(index)]}),[elementIds]);useA11yMessageStatus(getA11yStatusMessage,state,[isOpen,highlightedIndex,selectedItem,inputValue],environment);var shouldScrollRef=useScrollIntoView({menuElement:menuRef.current,highlightedIndex,isOpen,itemRefs,scrollIntoView,getItemNodeFromIndex});useControlPropsValidator({props,state}),(0,react.useEffect)((function(){getInitialValue$1(props,"isOpen")&&inputRef.current&&inputRef.current.focus()}),[]),(0,react.useEffect)((function(){isInitialMount||(previousResultCountRef.current=items.length)}));var mouseAndTouchTrackers=useMouseAndTouchTracker(environment,[toggleButtonRef,menuRef,inputRef],(0,react.useCallback)((function handleBlur(){latest.current.state.isOpen&&dispatch({type:InputBlur,selectItem:!1})}),[dispatch,latest])),setGetterPropCallInfo=useGetterPropsCalledChecker("getInputProps","getMenuProps");(0,react.useEffect)((function(){isOpen||(itemRefs.current={})}),[isOpen]),(0,react.useEffect)((function(){var _inputRef$current;isOpen&&null!=environment&&environment.document&&null!=inputRef&&null!=(_inputRef$current=inputRef.current)&&_inputRef$current.focus&&environment.document.activeElement!==inputRef.current&&inputRef.current.focus()}),[isOpen,environment]);var inputKeyDownHandlers=(0,react.useMemo)((function(){return{ArrowDown:function ArrowDown(event){event.preventDefault(),dispatch({type:InputKeyDownArrowDown,altKey:event.altKey})},ArrowUp:function ArrowUp(event){event.preventDefault(),dispatch({type:InputKeyDownArrowUp,altKey:event.altKey})},Home:function Home(event){latest.current.state.isOpen&&(event.preventDefault(),dispatch({type:InputKeyDownHome}))},End:function End(event){latest.current.state.isOpen&&(event.preventDefault(),dispatch({type:InputKeyDownEnd}))},Escape:function Escape(event){var latestState=latest.current.state;(latestState.isOpen||latestState.inputValue||latestState.selectedItem||latestState.highlightedIndex>-1)&&(event.preventDefault(),dispatch({type:InputKeyDownEscape}))},Enter:function Enter(event){latest.current.state.isOpen&&229!==event.which&&(event.preventDefault(),dispatch({type:InputKeyDownEnter}))},PageUp:function PageUp(event){latest.current.state.isOpen&&(event.preventDefault(),dispatch({type:InputKeyDownPageUp}))},PageDown:function PageDown(event){latest.current.state.isOpen&&(event.preventDefault(),dispatch({type:InputKeyDownPageDown}))}}}),[dispatch,latest]),getLabelProps=(0,react.useCallback)((function(labelProps){return(0,esm_extends.A)({id:elementIds.labelId,htmlFor:elementIds.inputId},labelProps)}),[elementIds]),getMenuProps=(0,react.useCallback)((function(_temp,_temp2){var _extends2,_ref=void 0===_temp?{}:_temp,onMouseLeave=_ref.onMouseLeave,_ref$refKey=_ref.refKey,refKey=void 0===_ref$refKey?"ref":_ref$refKey,ref=_ref.ref,rest=objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(_ref,_excluded$1),_ref2$suppressRefErro=(void 0===_temp2?{}:_temp2).suppressRefError;return setGetterPropCallInfo("getMenuProps",void 0!==_ref2$suppressRefErro&&_ref2$suppressRefErro,refKey,menuRef),(0,esm_extends.A)(((_extends2={})[refKey]=handleRefs(ref,(function(menuNode){menuRef.current=menuNode})),_extends2.id=elementIds.menuId,_extends2.role="listbox",_extends2["aria-labelledby"]=rest&&rest["aria-label"]?void 0:""+elementIds.labelId,_extends2.onMouseLeave=callAllEventHandlers(onMouseLeave,(function(){dispatch({type:MenuMouseLeave})})),_extends2),rest)}),[dispatch,setGetterPropCallInfo,elementIds]),getItemProps=(0,react.useCallback)((function(_temp3){var _extends3,_ref4,_ref3=void 0===_temp3?{}:_temp3,itemProp=_ref3.item,indexProp=_ref3.index,_ref3$refKey=_ref3.refKey,refKey=void 0===_ref3$refKey?"ref":_ref3$refKey,ref=_ref3.ref,onMouseMove=_ref3.onMouseMove,onMouseDown=_ref3.onMouseDown,onClick=_ref3.onClick;_ref3.onPress;var disabledProp=_ref3.disabled,rest=objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(_ref3,_excluded2$1);void 0!==disabledProp&&console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useCombobox.');var _latest$current=latest.current,latestProps=_latest$current.props,latestState=_latest$current.state,_getItemAndIndex=getItemAndIndex(itemProp,indexProp,latestProps.items,"Pass either item or index to getItemProps!"),item=_getItemAndIndex[0],index=_getItemAndIndex[1],disabled=latestProps.isItemDisabled(item,index),customClickHandler=onClick;return(0,esm_extends.A)(((_extends3={})[refKey]=handleRefs(ref,(function(itemNode){itemNode&&(itemRefs.current[elementIds.getItemId(index)]=itemNode)})),_extends3["aria-disabled"]=disabled,_extends3["aria-selected"]=index===latestState.highlightedIndex,_extends3.id=elementIds.getItemId(index),_extends3.role="option",_extends3),!disabled&&((_ref4={}).onClick=callAllEventHandlers(customClickHandler,(function itemHandleClick(){dispatch({type:ItemClick,index})})),_ref4),{onMouseMove:callAllEventHandlers(onMouseMove,(function itemHandleMouseMove(){mouseAndTouchTrackers.isTouchEnd||index===latestState.highlightedIndex||(shouldScrollRef.current=!1,dispatch({type:ItemMouseMove,index,disabled}))})),onMouseDown:callAllEventHandlers(onMouseDown,(function itemHandleMouseDown(e){return e.preventDefault()}))},rest)}),[dispatch,elementIds,latest,mouseAndTouchTrackers,shouldScrollRef]),getToggleButtonProps=(0,react.useCallback)((function(_temp4){var _extends4,_ref5=void 0===_temp4?{}:_temp4,onClick=_ref5.onClick;_ref5.onPress;var _ref5$refKey=_ref5.refKey,refKey=void 0===_ref5$refKey?"ref":_ref5$refKey,ref=_ref5.ref,rest=objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(_ref5,_excluded3),latestState=latest.current.state;return(0,esm_extends.A)(((_extends4={})[refKey]=handleRefs(ref,(function(toggleButtonNode){toggleButtonRef.current=toggleButtonNode})),_extends4["aria-controls"]=elementIds.menuId,_extends4["aria-expanded"]=latestState.isOpen,_extends4.id=elementIds.toggleButtonId,_extends4.tabIndex=-1,_extends4),!rest.disabled&&(0,esm_extends.A)({},{onClick:callAllEventHandlers(onClick,(function toggleButtonHandleClick(){dispatch({type:ToggleButtonClick})}))}),rest)}),[dispatch,latest,elementIds]),getInputProps=(0,react.useCallback)((function(_temp5,_temp6){var _extends5,_ref6=void 0===_temp5?{}:_temp5,onKeyDown=_ref6.onKeyDown,onChange=_ref6.onChange,onInput=_ref6.onInput,onBlur=_ref6.onBlur;_ref6.onChangeText;var onClick=_ref6.onClick,_ref6$refKey=_ref6.refKey,refKey=void 0===_ref6$refKey?"ref":_ref6$refKey,ref=_ref6.ref,rest=objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(_ref6,_excluded4),_ref7$suppressRefErro=(void 0===_temp6?{}:_temp6).suppressRefError;setGetterPropCallInfo("getInputProps",void 0!==_ref7$suppressRefErro&&_ref7$suppressRefErro,refKey,inputRef);var _eventHandlers,latestState=latest.current.state,eventHandlers={};rest.disabled||((_eventHandlers={}).onChange=callAllEventHandlers(onChange,onInput,(function inputHandleChange(event){dispatch({type:InputChange,inputValue:event.target.value})})),_eventHandlers.onKeyDown=callAllEventHandlers(onKeyDown,(function inputHandleKeyDown(event){var key=normalizeArrowKey(event);key&&inputKeyDownHandlers[key]&&inputKeyDownHandlers[key](event)})),_eventHandlers.onBlur=callAllEventHandlers(onBlur,(function inputHandleBlur(event){if(null!=environment&&environment.document&&latestState.isOpen&&!mouseAndTouchTrackers.isMouseDown){var isBlurByTabChange=null===event.relatedTarget&&environment.document.activeElement!==environment.document.body;dispatch({type:InputBlur,selectItem:!isBlurByTabChange})}})),_eventHandlers.onClick=callAllEventHandlers(onClick,(function inputHandleClick(){dispatch({type:InputClick})})),eventHandlers=_eventHandlers);return(0,esm_extends.A)(((_extends5={})[refKey]=handleRefs(ref,(function(inputNode){inputRef.current=inputNode})),_extends5["aria-activedescendant"]=latestState.isOpen&&latestState.highlightedIndex>-1?elementIds.getItemId(latestState.highlightedIndex):"",_extends5["aria-autocomplete"]="list",_extends5["aria-controls"]=elementIds.menuId,_extends5["aria-expanded"]=latestState.isOpen,_extends5["aria-labelledby"]=rest&&rest["aria-label"]?void 0:elementIds.labelId,_extends5.autoComplete="off",_extends5.id=elementIds.inputId,_extends5.role="combobox",_extends5.value=latestState.inputValue,_extends5),eventHandlers,rest)}),[dispatch,elementIds,environment,inputKeyDownHandlers,latest,mouseAndTouchTrackers,setGetterPropCallInfo]),toggleMenu=(0,react.useCallback)((function(){dispatch({type:FunctionToggleMenu})}),[dispatch]),closeMenu=(0,react.useCallback)((function(){dispatch({type:FunctionCloseMenu})}),[dispatch]),openMenu=(0,react.useCallback)((function(){dispatch({type:FunctionOpenMenu})}),[dispatch]),setHighlightedIndex=(0,react.useCallback)((function(newHighlightedIndex){dispatch({type:FunctionSetHighlightedIndex,highlightedIndex:newHighlightedIndex})}),[dispatch]),selectItem=(0,react.useCallback)((function(newSelectedItem){dispatch({type:FunctionSelectItem,selectedItem:newSelectedItem})}),[dispatch]);return{getItemProps,getLabelProps,getMenuProps,getInputProps,getToggleButtonProps,toggleMenu,openMenu,closeMenu,setHighlightedIndex,setInputValue:(0,react.useCallback)((function(newInputValue){dispatch({type:FunctionSetInputValue,inputValue:newInputValue})}),[dispatch]),selectItem,reset:(0,react.useCallback)((function(){dispatch({type:FunctionReset$1})}),[dispatch]),highlightedIndex,isOpen,selectedItem,inputValue}}useCombobox.stateChangeTypes=stateChangeTypes$1;prop_types_default().array,prop_types_default().array,prop_types_default().array,prop_types_default().func,prop_types_default().number,prop_types_default().number,prop_types_default().number,prop_types_default().func,prop_types_default().func,prop_types_default().string,prop_types_default().string},"./node_modules/downshift/node_modules/react-is/cjs/react-is.production.min.js":(__unused_webpack_module,exports)=>{"use strict";var u,b=Symbol.for("react.element"),c=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),e=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),g=Symbol.for("react.provider"),h=Symbol.for("react.context"),k=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),n=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),q=Symbol.for("react.lazy"),t=Symbol.for("react.offscreen");function v(a){if("object"==typeof a&&null!==a){var r=a.$$typeof;switch(r){case b:switch(a=a.type){case d:case f:case e:case m:case n:return a;default:switch(a=a&&a.$$typeof){case k:case h:case l:case q:case p:case g:return a;default:return r}}case c:return r}}}u=Symbol.for("react.module.reference")},"./node_modules/downshift/node_modules/react-is/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";__webpack_require__("./node_modules/downshift/node_modules/react-is/cjs/react-is.production.min.js")}}]); \ No newline at end of file diff --git a/2521.ddd96f82.iframe.bundle.js.LICENSE.txt b/2521.4ab0b763.iframe.bundle.js.LICENSE.txt similarity index 100% rename from 2521.ddd96f82.iframe.bundle.js.LICENSE.txt rename to 2521.4ab0b763.iframe.bundle.js.LICENSE.txt diff --git a/2521.ddd96f82.iframe.bundle.js b/2521.ddd96f82.iframe.bundle.js deleted file mode 100644 index a5c448537..000000000 --- a/2521.ddd96f82.iframe.bundle.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see 2521.ddd96f82.iframe.bundle.js.LICENSE.txt */ -(self.webpackChunk_zendeskgarden_react_containers=self.webpackChunk_zendeskgarden_react_containers||[]).push([[2521],{"./node_modules/@reach/auto-id/dist/reach-auto-id.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{B:()=>useId});var react=__webpack_require__("./node_modules/react/index.js"),react_namespaceObject=__webpack_require__.t(react,2);function canUseDOM(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}var useIsomorphicLayoutEffect=canUseDOM()?react.useLayoutEffect:react.useEffect;var serverHandoffComplete=!1,id=0;function genId(){return++id}var maybeReactUseId=react_namespaceObject["useId".toString()];function useId(providedId){if(void 0!==maybeReactUseId){let generatedId=maybeReactUseId();return providedId??generatedId}let initialId=providedId??(serverHandoffComplete?genId():null),[id2,setId]=react.useState(initialId);return useIsomorphicLayoutEffect((()=>{null===id2&&setId(genId())}),[]),react.useEffect((()=>{!1===serverHandoffComplete&&(serverHandoffComplete=!0)}),[]),providedId??id2??void 0}},"./node_modules/@storybook/react/dist/index.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";var _chunk_SXKPGB5T_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@storybook/react/dist/chunk-SXKPGB5T.mjs"),_storybook_global__WEBPACK_IMPORTED_MODULE_2__=(__webpack_require__("./node_modules/@storybook/react/dist/chunk-CEH6MNVV.mjs"),__webpack_require__("@storybook/global")),storybook_internal_preview_errors__WEBPACK_IMPORTED_MODULE_4__=(__webpack_require__("storybook/internal/preview-api"),__webpack_require__("storybook/internal/preview-errors")),react__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/react/index.js"),{window:globalWindow}=_storybook_global__WEBPACK_IMPORTED_MODULE_2__.global;globalWindow&&(globalWindow.STORYBOOK_ENV="react");_chunk_SXKPGB5T_mjs__WEBPACK_IMPORTED_MODULE_0__.IX},"./node_modules/classnames/index.js":(module,exports)=>{var __WEBPACK_AMD_DEFINE_RESULT__;!function(){"use strict";var hasOwn={}.hasOwnProperty;function classNames(){for(var classes="",i=0;i{"use strict";function objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(r,e){if(null==r)return{};var t={};for(var n in r)if({}.hasOwnProperty.call(r,n)){if(e.includes(n))continue;t[n]=r[n]}return t}__webpack_require__.d(__webpack_exports__,{Bp:()=>useCombobox});var esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),prop_types=__webpack_require__("./node_modules/prop-types/index.js"),prop_types_default=__webpack_require__.n(prop_types),react=__webpack_require__("./node_modules/react/index.js");__webpack_require__("./node_modules/downshift/node_modules/react-is/index.js");const t=t=>"object"==typeof t&&null!=t&&1===t.nodeType,e=(t,e)=>(!e||"hidden"!==t)&&"visible"!==t&&"clip"!==t,n=(t,n)=>{if(t.clientHeight{const e=(t=>{if(!t.ownerDocument||!t.ownerDocument.defaultView)return null;try{return t.ownerDocument.defaultView.frameElement}catch(t){return null}})(t);return!!e&&(e.clientHeightre||r>t&&i=e&&s>=n?r-t-o:i>e&&sn?i-e+l:0,l=t=>{const e=t.parentElement;return null==e?t.getRootNode().host||null:e};var tslib_es6=__webpack_require__("./node_modules/tslib/tslib.es6.mjs");function noop(){}function scrollIntoView(node,menuNode){if(node){var actions=((e,r)=>{var i,s,d,h;if("undefined"==typeof document)return[];const{scrollMode:c,block:f,inline:u,boundary:a,skipOverflowHiddenElements:g}=r,p="function"==typeof a?a:t=>t!==a;if(!t(e))throw new TypeError("Invalid target");const m=document.scrollingElement||document.documentElement,w=[];let W=e;for(;t(W)&&p(W);){if(W=l(W),W===m){w.push(W);break}null!=W&&W===document.body&&n(W)&&!n(document.documentElement)||null!=W&&n(W,g)&&w.push(W)}const b=null!=(s=null==(i=window.visualViewport)?void 0:i.width)?s:innerWidth,H=null!=(h=null==(d=window.visualViewport)?void 0:d.height)?h:innerHeight,{scrollX:y,scrollY:M}=window,{height:v,width:E,top:x,right:C,bottom:I,left:R}=e.getBoundingClientRect(),{top:T,right:B,bottom:F,left:V}=(t=>{const e=window.getComputedStyle(t);return{top:parseFloat(e.scrollMarginTop)||0,right:parseFloat(e.scrollMarginRight)||0,bottom:parseFloat(e.scrollMarginBottom)||0,left:parseFloat(e.scrollMarginLeft)||0}})(e);let k="start"===f||"nearest"===f?x-T:"end"===f?I+F:x+v/2-T+F,D="center"===u?R+E/2-V+B:"end"===u?C+B:R-V;const L=[];for(let t=0;t=0&&R>=0&&I<=H&&C<=b&&x>=r&&I<=s&&R>=d&&C<=i)return L;const h=getComputedStyle(e),a=parseInt(h.borderLeftWidth,10),g=parseInt(h.borderTopWidth,10),p=parseInt(h.borderRightWidth,10),W=parseInt(h.borderBottomWidth,10);let T=0,B=0;const F="offsetWidth"in e?e.offsetWidth-e.clientWidth-a-p:0,V="offsetHeight"in e?e.offsetHeight-e.clientHeight-g-W:0,S="offsetWidth"in e?0===e.offsetWidth?0:l/e.offsetWidth:0,X="offsetHeight"in e?0===e.offsetHeight?0:n/e.offsetHeight:0;if(m===e)T="start"===f?k:"end"===f?k-H:"nearest"===f?o(M,M+H,H,g,W,M+k,M+k+v,v):k-H/2,B="start"===u?D:"center"===u?D-b/2:"end"===u?D-b:o(y,y+b,b,a,p,y+D,y+D+E,E),T=Math.max(0,T+M),B=Math.max(0,B+y);else{T="start"===f?k-r-g:"end"===f?k-s+W+V:"nearest"===f?o(r,s,n,g,W+V,k,k+v,v):k-(r+n/2)+V/2,B="start"===u?D-d-a:"center"===u?D-(d+l/2)+F/2:"end"===u?D-i+p+F:o(d,i,l,a,p+F,D,D+E,E);const{scrollLeft:t,scrollTop:h}=e;T=0===X?0:Math.max(0,Math.min(h+T/X,e.scrollHeight-n/X+V)),B=0===S?0:Math.max(0,Math.min(t+B/S,e.scrollWidth-l/S+F)),k+=h-T,D+=t-B}L.push({el:e,top:T,left:B})}return L})(node,{boundary:menuNode,block:"nearest",scrollMode:"if-needed"});actions.forEach((function(_ref){var el=_ref.el,top=_ref.top,left=_ref.left;el.scrollTop=top,el.scrollLeft=left}))}}function isOrContainsNode(parent,child,environment){return parent===child||child instanceof environment.Node&&parent.contains&&parent.contains(child)}function debounce(fn,time){var timeoutId;function cancel(){timeoutId&&clearTimeout(timeoutId)}function wrapper(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];cancel(),timeoutId=setTimeout((function(){timeoutId=null,fn.apply(void 0,args)}),time)}return wrapper.cancel=cancel,wrapper}function callAllEventHandlers(){for(var _len2=arguments.length,fns=new Array(_len2),_key2=0;_key2<_len2;_key2++)fns[_key2]=arguments[_key2];return function(event){for(var _len3=arguments.length,args=new Array(_len3>1?_len3-1:0),_key3=1;_key3<_len3;_key3++)args[_key3-1]=arguments[_key3];return fns.some((function(fn){return fn&&fn.apply(void 0,[event].concat(args)),event.preventDownshiftDefault||event.hasOwnProperty("nativeEvent")&&event.nativeEvent.preventDownshiftDefault}))}}function handleRefs(){for(var _len4=arguments.length,refs=new Array(_len4),_key4=0;_key4<_len4;_key4++)refs[_key4]=arguments[_key4];return function(node){refs.forEach((function(ref){"function"==typeof ref?ref(node):ref&&(ref.current=node)}))}}function getState(state,props){return state&&props?Object.keys(state).reduce((function(prevState,key){return prevState[key]=isControlledProp(props,key)?props[key]:state[key],prevState}),{}):state}function isControlledProp(props,key){return void 0!==props[key]}function normalizeArrowKey(event){var key=event.key,keyCode=event.keyCode;return keyCode>=37&&keyCode<=40&&0!==key.indexOf("Arrow")?"Arrow"+key:key}function getHighlightedIndex(start,offset,items,isItemDisabled,circular){void 0===circular&&(circular=!1);var count=items.length;if(0===count)return-1;var itemsLastIndex=count-1;("number"!=typeof start||start<0||start>itemsLastIndex)&&(start=offset>0?-1:itemsLastIndex+1);var current=start+offset;current<0?current=circular?itemsLastIndex:0:current>itemsLastIndex&&(current=circular?0:itemsLastIndex);var highlightedIndex=getNonDisabledIndex(current,offset<0,items,isItemDisabled,circular);return-1===highlightedIndex?start>=count?-1:start:highlightedIndex}function getNonDisabledIndex(start,backwards,items,isItemDisabled,circular){void 0===circular&&(circular=!1);var count=items.length;if(backwards){for(var index=start;index>=0;index--)if(!isItemDisabled(items[index],index))return index}else for(var _index=start;_index-1&&props.isItemDisabled(props.items[highlightedIndex],highlightedIndex))return-1;return highlightedIndex}(props),inputValue=getInitialValue$1(props,"inputValue");return{highlightedIndex:highlightedIndex<0&&selectedItem&&isOpen?props.items.findIndex((function(item){return props.itemToKey(item)===props.itemToKey(selectedItem)})):highlightedIndex,isOpen,selectedItem,inputValue}}function getHighlightedIndexOnOpen(props,state,offset){var items=props.items,initialHighlightedIndex=props.initialHighlightedIndex,defaultHighlightedIndex=props.defaultHighlightedIndex,isItemDisabled=props.isItemDisabled,itemToKey=props.itemToKey,selectedItem=state.selectedItem,highlightedIndex=state.highlightedIndex;return 0===items.length?-1:void 0===initialHighlightedIndex||highlightedIndex!==initialHighlightedIndex||isItemDisabled(items[initialHighlightedIndex],initialHighlightedIndex)?void 0===defaultHighlightedIndex||isItemDisabled(items[defaultHighlightedIndex],defaultHighlightedIndex)?selectedItem?items.findIndex((function(item){return itemToKey(selectedItem)===itemToKey(item)})):offset<0&&!isItemDisabled(items[items.length-1],items.length-1)?items.length-1:offset>0&&!isItemDisabled(items[0],0)?0:-1:defaultHighlightedIndex:initialHighlightedIndex}function useMouseAndTouchTracker(environment,downshiftElementRefs,handleBlur){var mouseAndTouchTrackersRef=(0,react.useRef)({isMouseDown:!1,isTouchMove:!1,isTouchEnd:!1});return(0,react.useEffect)((function(){if(!environment)return noop;var downshiftElements=downshiftElementRefs.map((function(ref){return ref.current}));function onMouseDown(){mouseAndTouchTrackersRef.current.isTouchEnd=!1,mouseAndTouchTrackersRef.current.isMouseDown=!0}function onMouseUp(event){mouseAndTouchTrackersRef.current.isMouseDown=!1,targetWithinDownshift(event.target,downshiftElements,environment)||handleBlur()}function onTouchStart(){mouseAndTouchTrackersRef.current.isTouchEnd=!1,mouseAndTouchTrackersRef.current.isTouchMove=!1}function onTouchMove(){mouseAndTouchTrackersRef.current.isTouchMove=!0}function onTouchEnd(event){mouseAndTouchTrackersRef.current.isTouchEnd=!0,mouseAndTouchTrackersRef.current.isTouchMove||targetWithinDownshift(event.target,downshiftElements,environment,!1)||handleBlur()}return environment.addEventListener("mousedown",onMouseDown),environment.addEventListener("mouseup",onMouseUp),environment.addEventListener("touchstart",onTouchStart),environment.addEventListener("touchmove",onTouchMove),environment.addEventListener("touchend",onTouchEnd),function cleanup(){environment.removeEventListener("mousedown",onMouseDown),environment.removeEventListener("mouseup",onMouseUp),environment.removeEventListener("touchstart",onTouchStart),environment.removeEventListener("touchmove",onTouchMove),environment.removeEventListener("touchend",onTouchEnd)}}),[environment,handleBlur]),mouseAndTouchTrackersRef.current}var useGetterPropsCalledChecker=function useGetterPropsCalledChecker(){return noop};function useA11yMessageStatus(getA11yStatusMessage,options,dependencyArray,environment){void 0===environment&&(environment={});var document=environment.document,isInitialMount=useIsInitialMount();(0,react.useEffect)((function(){if(getA11yStatusMessage&&!isInitialMount&&document){var status=getA11yStatusMessage(options);updateA11yStatus(status,document)}}),dependencyArray),(0,react.useEffect)((function(){return function(){updateA11yStatus.cancel(),function cleanupStatusDiv(documentProp){var statusDiv=null==documentProp?void 0:documentProp.getElementById("a11y-status-message");statusDiv&&statusDiv.remove()}(document)}}),[document])}function useScrollIntoView(_ref3){var highlightedIndex=_ref3.highlightedIndex,isOpen=_ref3.isOpen,itemRefs=_ref3.itemRefs,getItemNodeFromIndex=_ref3.getItemNodeFromIndex,menuElement=_ref3.menuElement,scrollIntoViewProp=_ref3.scrollIntoView,shouldScrollRef=(0,react.useRef)(!0);return useIsomorphicLayoutEffect((function(){highlightedIndex<0||!isOpen||!Object.keys(itemRefs.current).length||(!1===shouldScrollRef.current?shouldScrollRef.current=!0:scrollIntoViewProp(getItemNodeFromIndex(highlightedIndex),menuElement))}),[highlightedIndex]),shouldScrollRef}var useControlPropsValidator=noop;function getChangesOnSelection(props,highlightedIndex,inputValue){var _props$items;void 0===inputValue&&(inputValue=!0);var shouldSelect=(null==(_props$items=props.items)?void 0:_props$items.length)&&highlightedIndex>=0;return(0,esm_extends.A)({isOpen:!1,highlightedIndex:-1},shouldSelect&&(0,esm_extends.A)({selectedItem:props.items[highlightedIndex],isOpen:getDefaultValue$1(props,"isOpen"),highlightedIndex:getDefaultValue$1(props,"highlightedIndex")},inputValue&&{inputValue:props.itemToString(props.items[highlightedIndex])}))}function isDropdownsStateEqual(prevState,newState){return prevState.isOpen===newState.isOpen&&prevState.inputValue===newState.inputValue&&prevState.highlightedIndex===newState.highlightedIndex&&prevState.selectedItem===newState.selectedItem}function useIsInitialMount(){var isInitialMountRef=react.useRef(!0);return react.useEffect((function(){return isInitialMountRef.current=!1,function(){isInitialMountRef.current=!0}}),[]),isInitialMountRef.current}function getDefaultHighlightedIndex(props){var highlightedIndex=getDefaultValue$1(props,"highlightedIndex");return highlightedIndex>-1&&props.isItemDisabled(props.items[highlightedIndex],highlightedIndex)?-1:highlightedIndex}var commonPropTypes={environment:prop_types_default().shape({addEventListener:prop_types_default().func.isRequired,removeEventListener:prop_types_default().func.isRequired,document:prop_types_default().shape({createElement:prop_types_default().func.isRequired,getElementById:prop_types_default().func.isRequired,activeElement:prop_types_default().any.isRequired,body:prop_types_default().any.isRequired}).isRequired,Node:prop_types_default().func.isRequired}),itemToString:prop_types_default().func,itemToKey:prop_types_default().func,stateReducer:prop_types_default().func},commonDropdownPropTypes=(0,esm_extends.A)({},commonPropTypes,{getA11yStatusMessage:prop_types_default().func,highlightedIndex:prop_types_default().number,defaultHighlightedIndex:prop_types_default().number,initialHighlightedIndex:prop_types_default().number,isOpen:prop_types_default().bool,defaultIsOpen:prop_types_default().bool,initialIsOpen:prop_types_default().bool,selectedItem:prop_types_default().any,initialSelectedItem:prop_types_default().any,defaultSelectedItem:prop_types_default().any,id:prop_types_default().string,labelId:prop_types_default().string,menuId:prop_types_default().string,getItemId:prop_types_default().func,toggleButtonId:prop_types_default().string,onSelectedItemChange:prop_types_default().func,onHighlightedIndexChange:prop_types_default().func,onStateChange:prop_types_default().func,onIsOpenChange:prop_types_default().func,scrollIntoView:prop_types_default().func});function downshiftCommonReducer(state,action,stateChangeTypes){var changes,type=action.type,props=action.props;switch(type){case stateChangeTypes.ItemMouseMove:changes={highlightedIndex:action.disabled?-1:action.index};break;case stateChangeTypes.MenuMouseLeave:changes={highlightedIndex:-1};break;case stateChangeTypes.ToggleButtonClick:case stateChangeTypes.FunctionToggleMenu:changes={isOpen:!state.isOpen,highlightedIndex:state.isOpen?-1:getHighlightedIndexOnOpen(props,state,0)};break;case stateChangeTypes.FunctionOpenMenu:changes={isOpen:!0,highlightedIndex:getHighlightedIndexOnOpen(props,state,0)};break;case stateChangeTypes.FunctionCloseMenu:changes={isOpen:!1};break;case stateChangeTypes.FunctionSetHighlightedIndex:changes={highlightedIndex:props.isItemDisabled(props.items[action.highlightedIndex],action.highlightedIndex)?-1:action.highlightedIndex};break;case stateChangeTypes.FunctionSetInputValue:changes={inputValue:action.inputValue};break;case stateChangeTypes.FunctionReset:changes={highlightedIndex:getDefaultHighlightedIndex(props),isOpen:getDefaultValue$1(props,"isOpen"),selectedItem:getDefaultValue$1(props,"selectedItem"),inputValue:getDefaultValue$1(props,"inputValue")};break;default:throw new Error("Reducer called without proper action type.")}return(0,esm_extends.A)({},state,changes)}(0,tslib_es6.Cl)((0,tslib_es6.Cl)({},commonDropdownPropTypes),{items:prop_types_default().array.isRequired,isItemDisabled:prop_types_default().func}),(0,tslib_es6.Cl)((0,tslib_es6.Cl)({},defaultProps$3),{isItemDisabled:function(){return!1}});var InputKeyDownArrowDown=0,InputKeyDownArrowUp=1,InputKeyDownEscape=2,InputKeyDownHome=3,InputKeyDownEnd=4,InputKeyDownPageUp=5,InputKeyDownPageDown=6,InputKeyDownEnter=7,InputChange=8,InputBlur=9,InputClick=10,MenuMouseLeave=11,ItemMouseMove=12,ItemClick=13,ToggleButtonClick=14,FunctionToggleMenu=15,FunctionOpenMenu=16,FunctionCloseMenu=17,FunctionSetHighlightedIndex=18,FunctionSelectItem=19,FunctionSetInputValue=20,FunctionReset$1=21,ControlledPropUpdatedSelectedItem=22,stateChangeTypes$1=Object.freeze({__proto__:null,ControlledPropUpdatedSelectedItem,FunctionCloseMenu,FunctionOpenMenu,FunctionReset:FunctionReset$1,FunctionSelectItem,FunctionSetHighlightedIndex,FunctionSetInputValue,FunctionToggleMenu,InputBlur,InputChange,InputClick,InputKeyDownArrowDown,InputKeyDownArrowUp,InputKeyDownEnd,InputKeyDownEnter,InputKeyDownEscape,InputKeyDownHome,InputKeyDownPageDown,InputKeyDownPageUp,ItemClick,ItemMouseMove,MenuMouseLeave,ToggleButtonClick});function getInitialState$1(props){var initialState=getInitialState$2(props),selectedItem=initialState.selectedItem,inputValue=initialState.inputValue;return""===inputValue&&selectedItem&&void 0===props.defaultInputValue&&void 0===props.initialInputValue&&void 0===props.inputValue&&(inputValue=props.itemToString(selectedItem)),(0,esm_extends.A)({},initialState,{inputValue})}(0,esm_extends.A)({},commonDropdownPropTypes,{items:prop_types_default().array.isRequired,isItemDisabled:prop_types_default().func,inputValue:prop_types_default().string,defaultInputValue:prop_types_default().string,initialInputValue:prop_types_default().string,inputId:prop_types_default().string,onInputValueChange:prop_types_default().func});var validatePropTypes$1=noop;var defaultProps$1=(0,esm_extends.A)({},defaultProps$3,{isItemDisabled:function isItemDisabled(){return!1}});function downshiftUseComboboxReducer(state,action){var _props$items,changes,type=action.type,props=action.props,altKey=action.altKey;switch(type){case ItemClick:changes={isOpen:getDefaultValue$1(props,"isOpen"),highlightedIndex:getDefaultHighlightedIndex(props),selectedItem:props.items[action.index],inputValue:props.itemToString(props.items[action.index])};break;case InputKeyDownArrowDown:changes=state.isOpen?{highlightedIndex:getHighlightedIndex(state.highlightedIndex,1,props.items,props.isItemDisabled,!0)}:{highlightedIndex:altKey&&null==state.selectedItem?-1:getHighlightedIndexOnOpen(props,state,1),isOpen:props.items.length>=0};break;case InputKeyDownArrowUp:changes=state.isOpen?altKey?getChangesOnSelection(props,state.highlightedIndex):{highlightedIndex:getHighlightedIndex(state.highlightedIndex,-1,props.items,props.isItemDisabled,!0)}:{highlightedIndex:getHighlightedIndexOnOpen(props,state,-1),isOpen:props.items.length>=0};break;case InputKeyDownEnter:changes=getChangesOnSelection(props,state.highlightedIndex);break;case InputKeyDownEscape:changes=(0,esm_extends.A)({isOpen:!1,highlightedIndex:-1},!state.isOpen&&{selectedItem:null,inputValue:""});break;case InputKeyDownPageUp:changes={highlightedIndex:getHighlightedIndex(state.highlightedIndex,-10,props.items,props.isItemDisabled,!0)};break;case InputKeyDownPageDown:changes={highlightedIndex:getHighlightedIndex(state.highlightedIndex,10,props.items,props.isItemDisabled,!0)};break;case InputKeyDownHome:changes={highlightedIndex:getNonDisabledIndex(0,!1,props.items,props.isItemDisabled)};break;case InputKeyDownEnd:changes={highlightedIndex:getNonDisabledIndex(props.items.length-1,!0,props.items,props.isItemDisabled)};break;case InputBlur:changes=(0,esm_extends.A)({isOpen:!1,highlightedIndex:-1},state.highlightedIndex>=0&&(null==(_props$items=props.items)?void 0:_props$items.length)&&action.selectItem&&{selectedItem:props.items[state.highlightedIndex],inputValue:props.itemToString(props.items[state.highlightedIndex])});break;case InputChange:changes={isOpen:!0,highlightedIndex:getDefaultHighlightedIndex(props),inputValue:action.inputValue};break;case InputClick:changes={isOpen:!state.isOpen,highlightedIndex:state.isOpen?-1:getHighlightedIndexOnOpen(props,state,0)};break;case FunctionSelectItem:changes={selectedItem:action.selectedItem,inputValue:props.itemToString(action.selectedItem)};break;case ControlledPropUpdatedSelectedItem:changes={inputValue:action.inputValue};break;default:return downshiftCommonReducer(state,action,stateChangeTypes$1)}return(0,esm_extends.A)({},state,changes)}var _excluded$1=["onMouseLeave","refKey","ref"],_excluded2$1=["item","index","refKey","ref","onMouseMove","onMouseDown","onClick","onPress","disabled"],_excluded3=["onClick","onPress","refKey","ref"],_excluded4=["onKeyDown","onChange","onInput","onBlur","onChangeText","onClick","refKey","ref"];function useCombobox(userProps){void 0===userProps&&(userProps={}),validatePropTypes$1(userProps,useCombobox);var props=(0,esm_extends.A)({},defaultProps$1,userProps),items=props.items,scrollIntoView=props.scrollIntoView,environment=props.environment,getA11yStatusMessage=props.getA11yStatusMessage,_useControlledReducer=function useControlledReducer(reducer,props,createInitialState,isStateEqual){var previousSelectedItemRef=(0,react.useRef)(),_useEnhancedReducer=useEnhancedReducer(reducer,props,createInitialState,isStateEqual),state=_useEnhancedReducer[0],dispatch=_useEnhancedReducer[1],isInitialMount=useIsInitialMount();return(0,react.useEffect)((function(){isControlledProp(props,"selectedItem")&&(isInitialMount||props.itemToKey(props.selectedItem)!==props.itemToKey(previousSelectedItemRef.current)&&dispatch({type:ControlledPropUpdatedSelectedItem,inputValue:props.itemToString(props.selectedItem)}),previousSelectedItemRef.current=state.selectedItem===previousSelectedItemRef.current?props.selectedItem:state.selectedItem)}),[state.selectedItem,props.selectedItem]),[getState(state,props),dispatch]}(downshiftUseComboboxReducer,props,getInitialState$1,isDropdownsStateEqual),state=_useControlledReducer[0],dispatch=_useControlledReducer[1],isOpen=state.isOpen,highlightedIndex=state.highlightedIndex,selectedItem=state.selectedItem,inputValue=state.inputValue,menuRef=(0,react.useRef)(null),itemRefs=(0,react.useRef)({}),inputRef=(0,react.useRef)(null),toggleButtonRef=(0,react.useRef)(null),isInitialMount=useIsInitialMount(),elementIds=useElementIds(props),previousResultCountRef=(0,react.useRef)(),latest=useLatestRef({state,props}),getItemNodeFromIndex=(0,react.useCallback)((function(index){return itemRefs.current[elementIds.getItemId(index)]}),[elementIds]);useA11yMessageStatus(getA11yStatusMessage,state,[isOpen,highlightedIndex,selectedItem,inputValue],environment);var shouldScrollRef=useScrollIntoView({menuElement:menuRef.current,highlightedIndex,isOpen,itemRefs,scrollIntoView,getItemNodeFromIndex});useControlPropsValidator({props,state}),(0,react.useEffect)((function(){getInitialValue$1(props,"isOpen")&&inputRef.current&&inputRef.current.focus()}),[]),(0,react.useEffect)((function(){isInitialMount||(previousResultCountRef.current=items.length)}));var mouseAndTouchTrackers=useMouseAndTouchTracker(environment,[toggleButtonRef,menuRef,inputRef],(0,react.useCallback)((function handleBlur(){latest.current.state.isOpen&&dispatch({type:InputBlur,selectItem:!1})}),[dispatch,latest])),setGetterPropCallInfo=useGetterPropsCalledChecker("getInputProps","getMenuProps");(0,react.useEffect)((function(){isOpen||(itemRefs.current={})}),[isOpen]),(0,react.useEffect)((function(){var _inputRef$current;isOpen&&null!=environment&&environment.document&&null!=inputRef&&null!=(_inputRef$current=inputRef.current)&&_inputRef$current.focus&&environment.document.activeElement!==inputRef.current&&inputRef.current.focus()}),[isOpen,environment]);var inputKeyDownHandlers=(0,react.useMemo)((function(){return{ArrowDown:function ArrowDown(event){event.preventDefault(),dispatch({type:InputKeyDownArrowDown,altKey:event.altKey})},ArrowUp:function ArrowUp(event){event.preventDefault(),dispatch({type:InputKeyDownArrowUp,altKey:event.altKey})},Home:function Home(event){latest.current.state.isOpen&&(event.preventDefault(),dispatch({type:InputKeyDownHome}))},End:function End(event){latest.current.state.isOpen&&(event.preventDefault(),dispatch({type:InputKeyDownEnd}))},Escape:function Escape(event){var latestState=latest.current.state;(latestState.isOpen||latestState.inputValue||latestState.selectedItem||latestState.highlightedIndex>-1)&&(event.preventDefault(),dispatch({type:InputKeyDownEscape}))},Enter:function Enter(event){latest.current.state.isOpen&&229!==event.which&&(event.preventDefault(),dispatch({type:InputKeyDownEnter}))},PageUp:function PageUp(event){latest.current.state.isOpen&&(event.preventDefault(),dispatch({type:InputKeyDownPageUp}))},PageDown:function PageDown(event){latest.current.state.isOpen&&(event.preventDefault(),dispatch({type:InputKeyDownPageDown}))}}}),[dispatch,latest]),getLabelProps=(0,react.useCallback)((function(labelProps){return(0,esm_extends.A)({id:elementIds.labelId,htmlFor:elementIds.inputId},labelProps)}),[elementIds]),getMenuProps=(0,react.useCallback)((function(_temp,_temp2){var _extends2,_ref=void 0===_temp?{}:_temp,onMouseLeave=_ref.onMouseLeave,_ref$refKey=_ref.refKey,refKey=void 0===_ref$refKey?"ref":_ref$refKey,ref=_ref.ref,rest=objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(_ref,_excluded$1),_ref2$suppressRefErro=(void 0===_temp2?{}:_temp2).suppressRefError;return setGetterPropCallInfo("getMenuProps",void 0!==_ref2$suppressRefErro&&_ref2$suppressRefErro,refKey,menuRef),(0,esm_extends.A)(((_extends2={})[refKey]=handleRefs(ref,(function(menuNode){menuRef.current=menuNode})),_extends2.id=elementIds.menuId,_extends2.role="listbox",_extends2["aria-labelledby"]=rest&&rest["aria-label"]?void 0:""+elementIds.labelId,_extends2.onMouseLeave=callAllEventHandlers(onMouseLeave,(function(){dispatch({type:MenuMouseLeave})})),_extends2),rest)}),[dispatch,setGetterPropCallInfo,elementIds]),getItemProps=(0,react.useCallback)((function(_temp3){var _extends3,_ref4,_ref3=void 0===_temp3?{}:_temp3,itemProp=_ref3.item,indexProp=_ref3.index,_ref3$refKey=_ref3.refKey,refKey=void 0===_ref3$refKey?"ref":_ref3$refKey,ref=_ref3.ref,onMouseMove=_ref3.onMouseMove,onMouseDown=_ref3.onMouseDown,onClick=_ref3.onClick;_ref3.onPress;var disabledProp=_ref3.disabled,rest=objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(_ref3,_excluded2$1);void 0!==disabledProp&&console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useCombobox.');var _latest$current=latest.current,latestProps=_latest$current.props,latestState=_latest$current.state,_getItemAndIndex=getItemAndIndex(itemProp,indexProp,latestProps.items,"Pass either item or index to getItemProps!"),item=_getItemAndIndex[0],index=_getItemAndIndex[1],disabled=latestProps.isItemDisabled(item,index),customClickHandler=onClick;return(0,esm_extends.A)(((_extends3={})[refKey]=handleRefs(ref,(function(itemNode){itemNode&&(itemRefs.current[elementIds.getItemId(index)]=itemNode)})),_extends3["aria-disabled"]=disabled,_extends3["aria-selected"]=index===latestState.highlightedIndex,_extends3.id=elementIds.getItemId(index),_extends3.role="option",_extends3),!disabled&&((_ref4={}).onClick=callAllEventHandlers(customClickHandler,(function itemHandleClick(){dispatch({type:ItemClick,index})})),_ref4),{onMouseMove:callAllEventHandlers(onMouseMove,(function itemHandleMouseMove(){mouseAndTouchTrackers.isTouchEnd||index===latestState.highlightedIndex||(shouldScrollRef.current=!1,dispatch({type:ItemMouseMove,index,disabled}))})),onMouseDown:callAllEventHandlers(onMouseDown,(function itemHandleMouseDown(e){return e.preventDefault()}))},rest)}),[dispatch,elementIds,latest,mouseAndTouchTrackers,shouldScrollRef]),getToggleButtonProps=(0,react.useCallback)((function(_temp4){var _extends4,_ref5=void 0===_temp4?{}:_temp4,onClick=_ref5.onClick;_ref5.onPress;var _ref5$refKey=_ref5.refKey,refKey=void 0===_ref5$refKey?"ref":_ref5$refKey,ref=_ref5.ref,rest=objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(_ref5,_excluded3),latestState=latest.current.state;return(0,esm_extends.A)(((_extends4={})[refKey]=handleRefs(ref,(function(toggleButtonNode){toggleButtonRef.current=toggleButtonNode})),_extends4["aria-controls"]=elementIds.menuId,_extends4["aria-expanded"]=latestState.isOpen,_extends4.id=elementIds.toggleButtonId,_extends4.tabIndex=-1,_extends4),!rest.disabled&&(0,esm_extends.A)({},{onClick:callAllEventHandlers(onClick,(function toggleButtonHandleClick(){dispatch({type:ToggleButtonClick})}))}),rest)}),[dispatch,latest,elementIds]),getInputProps=(0,react.useCallback)((function(_temp5,_temp6){var _extends5,_ref6=void 0===_temp5?{}:_temp5,onKeyDown=_ref6.onKeyDown,onChange=_ref6.onChange,onInput=_ref6.onInput,onBlur=_ref6.onBlur;_ref6.onChangeText;var onClick=_ref6.onClick,_ref6$refKey=_ref6.refKey,refKey=void 0===_ref6$refKey?"ref":_ref6$refKey,ref=_ref6.ref,rest=objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(_ref6,_excluded4),_ref7$suppressRefErro=(void 0===_temp6?{}:_temp6).suppressRefError;setGetterPropCallInfo("getInputProps",void 0!==_ref7$suppressRefErro&&_ref7$suppressRefErro,refKey,inputRef);var _eventHandlers,latestState=latest.current.state,eventHandlers={};rest.disabled||((_eventHandlers={}).onChange=callAllEventHandlers(onChange,onInput,(function inputHandleChange(event){dispatch({type:InputChange,inputValue:event.target.value})})),_eventHandlers.onKeyDown=callAllEventHandlers(onKeyDown,(function inputHandleKeyDown(event){var key=normalizeArrowKey(event);key&&inputKeyDownHandlers[key]&&inputKeyDownHandlers[key](event)})),_eventHandlers.onBlur=callAllEventHandlers(onBlur,(function inputHandleBlur(event){if(null!=environment&&environment.document&&latestState.isOpen&&!mouseAndTouchTrackers.isMouseDown){var isBlurByTabChange=null===event.relatedTarget&&environment.document.activeElement!==environment.document.body;dispatch({type:InputBlur,selectItem:!isBlurByTabChange})}})),_eventHandlers.onClick=callAllEventHandlers(onClick,(function inputHandleClick(){dispatch({type:InputClick})})),eventHandlers=_eventHandlers);return(0,esm_extends.A)(((_extends5={})[refKey]=handleRefs(ref,(function(inputNode){inputRef.current=inputNode})),_extends5["aria-activedescendant"]=latestState.isOpen&&latestState.highlightedIndex>-1?elementIds.getItemId(latestState.highlightedIndex):"",_extends5["aria-autocomplete"]="list",_extends5["aria-controls"]=elementIds.menuId,_extends5["aria-expanded"]=latestState.isOpen,_extends5["aria-labelledby"]=rest&&rest["aria-label"]?void 0:elementIds.labelId,_extends5.autoComplete="off",_extends5.id=elementIds.inputId,_extends5.role="combobox",_extends5.value=latestState.inputValue,_extends5),eventHandlers,rest)}),[dispatch,elementIds,environment,inputKeyDownHandlers,latest,mouseAndTouchTrackers,setGetterPropCallInfo]),toggleMenu=(0,react.useCallback)((function(){dispatch({type:FunctionToggleMenu})}),[dispatch]),closeMenu=(0,react.useCallback)((function(){dispatch({type:FunctionCloseMenu})}),[dispatch]),openMenu=(0,react.useCallback)((function(){dispatch({type:FunctionOpenMenu})}),[dispatch]),setHighlightedIndex=(0,react.useCallback)((function(newHighlightedIndex){dispatch({type:FunctionSetHighlightedIndex,highlightedIndex:newHighlightedIndex})}),[dispatch]),selectItem=(0,react.useCallback)((function(newSelectedItem){dispatch({type:FunctionSelectItem,selectedItem:newSelectedItem})}),[dispatch]);return{getItemProps,getLabelProps,getMenuProps,getInputProps,getToggleButtonProps,toggleMenu,openMenu,closeMenu,setHighlightedIndex,setInputValue:(0,react.useCallback)((function(newInputValue){dispatch({type:FunctionSetInputValue,inputValue:newInputValue})}),[dispatch]),selectItem,reset:(0,react.useCallback)((function(){dispatch({type:FunctionReset$1})}),[dispatch]),highlightedIndex,isOpen,selectedItem,inputValue}}useCombobox.stateChangeTypes=stateChangeTypes$1;prop_types_default().array,prop_types_default().array,prop_types_default().array,prop_types_default().func,prop_types_default().number,prop_types_default().number,prop_types_default().number,prop_types_default().func,prop_types_default().func,prop_types_default().string,prop_types_default().string},"./node_modules/downshift/node_modules/react-is/cjs/react-is.production.min.js":(__unused_webpack_module,exports)=>{"use strict";var u,b=Symbol.for("react.element"),c=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),e=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),g=Symbol.for("react.provider"),h=Symbol.for("react.context"),k=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),n=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),q=Symbol.for("react.lazy"),t=Symbol.for("react.offscreen");function v(a){if("object"==typeof a&&null!==a){var r=a.$$typeof;switch(r){case b:switch(a=a.type){case d:case f:case e:case m:case n:return a;default:switch(a=a&&a.$$typeof){case k:case h:case l:case q:case p:case g:return a;default:return r}}case c:return r}}}u=Symbol.for("react.module.reference")},"./node_modules/downshift/node_modules/react-is/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";__webpack_require__("./node_modules/downshift/node_modules/react-is/cjs/react-is.production.min.js")}}]); \ No newline at end of file diff --git a/3660.f6f635e8.iframe.bundle.js b/3660.f6f635e8.iframe.bundle.js new file mode 100644 index 000000000..00836d1ca --- /dev/null +++ b/3660.f6f635e8.iframe.bundle.js @@ -0,0 +1 @@ +(self.webpackChunk_zendeskgarden_react_containers=self.webpackChunk_zendeskgarden_react_containers||[]).push([[3660,8735],{"./node_modules/@storybook/addon-docs/dist/DocsRenderer-CFRXHY34.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{DocsRenderer:()=>DocsRenderer});var react=__webpack_require__("./node_modules/react/index.js"),dist=__webpack_require__("./node_modules/@storybook/blocks/dist/index.mjs"),react_18=__webpack_require__("./node_modules/@storybook/react-dom-shim/dist/react-18.mjs"),defaultComponents={code:dist.XA,a:dist.zE,...dist.Sw},ErrorBoundary=class extends react.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(err){let{showException}=this.props;showException(err)}render(){let{hasError}=this.state,{children}=this.props;return hasError?null:react.createElement(react.Fragment,null,children)}},DocsRenderer=class{constructor(){this.render=async(context,docsParameter,element)=>{let components={...defaultComponents,...docsParameter?.components},TDocs=dist.kQ;return new Promise(((resolve,reject)=>{__webpack_require__.e(1294).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@mdx-js/react/index.js")).then((({MDXProvider})=>(0,react_18.renderElement)(react.createElement(ErrorBoundary,{showException:reject,key:Math.random()},react.createElement(MDXProvider,{components},react.createElement(TDocs,{context,docsParameter}))),element))).then((()=>resolve()))}))},this.unmount=element=>{(0,react_18.unmountElement)(element)}}};__webpack_require__("./node_modules/@storybook/addon-docs/dist/chunk-H6MOWX77.mjs")},"./node_modules/@storybook/core/dist/components sync recursive":module=>{function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="./node_modules/@storybook/core/dist/components sync recursive",module.exports=webpackEmptyContext},"./node_modules/@storybook/core/dist/theming sync recursive":module=>{function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="./node_modules/@storybook/core/dist/theming sync recursive",module.exports=webpackEmptyContext},"./node_modules/@storybook/react-dom-shim/dist/react-18.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{renderElement:()=>renderElement,unmountElement:()=>unmountElement});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),react_dom_client__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react-dom/client.js"),nodes=new Map;var WithCallback=({callback,children})=>{let once=react__WEBPACK_IMPORTED_MODULE_0__.useRef();return react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect((()=>{once.current!==callback&&(once.current=callback,callback())}),[callback]),children};typeof Promise.withResolvers>"u"&&(Promise.withResolvers=()=>{let resolve=null,reject=null;return{promise:new Promise(((res,rej)=>{resolve=res,reject=rej})),resolve,reject}});var renderElement=async(node,el,rootOptions)=>{let root=await getReactRoot(el,rootOptions);if(function getIsReactActEnvironment(){return globalThis.IS_REACT_ACT_ENVIRONMENT}())return void root.render(node);let{promise,resolve}=Promise.withResolvers();return root.render(react__WEBPACK_IMPORTED_MODULE_0__.createElement(WithCallback,{callback:resolve},node)),promise},unmountElement=(el,shouldUseNewRootApi)=>{let root=nodes.get(el);root&&(root.unmount(),nodes.delete(el))},getReactRoot=async(el,rootOptions)=>{let root=nodes.get(el);return root||(root=react_dom_client__WEBPACK_IMPORTED_MODULE_1__.H(el,rootOptions),nodes.set(el,root)),root}},"./node_modules/memoizerific sync recursive":module=>{function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="./node_modules/memoizerific sync recursive",module.exports=webpackEmptyContext},"./node_modules/react-dom/client.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var m=__webpack_require__("./node_modules/react-dom/index.js");exports.H=m.createRoot,m.hydrateRoot}}]); \ No newline at end of file diff --git a/5438.d17ebace.iframe.bundle.js b/5438.d17ebace.iframe.bundle.js deleted file mode 100644 index 054f339d9..000000000 --- a/5438.d17ebace.iframe.bundle.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_zendeskgarden_react_containers=self.webpackChunk_zendeskgarden_react_containers||[]).push([[5438],{"./node_modules/@storybook/addon-docs/dist/DocsRenderer-PKQXORMH.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{DocsRenderer:()=>DocsRenderer});var react=__webpack_require__("./node_modules/react/index.js"),react_18=__webpack_require__("./node_modules/@storybook/react-dom-shim/dist/react-18.mjs"),dist=__webpack_require__("./node_modules/@storybook/blocks/dist/index.mjs"),defaultComponents={code:dist.XA,a:dist.zE,...dist.Sw},ErrorBoundary=class extends react.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(err){let{showException}=this.props;showException(err)}render(){let{hasError}=this.state,{children}=this.props;return hasError?null:react.createElement(react.Fragment,null,children)}},DocsRenderer=class{constructor(){this.render=async(context,docsParameter,element)=>{let components={...defaultComponents,...docsParameter?.components},TDocs=dist.kQ;return new Promise(((resolve,reject)=>{__webpack_require__.e(1294).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@mdx-js/react/index.js")).then((({MDXProvider})=>(0,react_18.d)(react.createElement(ErrorBoundary,{showException:reject,key:Math.random()},react.createElement(MDXProvider,{components},react.createElement(TDocs,{context,docsParameter}))),element))).then((()=>resolve()))}))},this.unmount=element=>{(0,react_18.H)(element)}}};__webpack_require__("./node_modules/@storybook/addon-docs/dist/chunk-H6MOWX77.mjs")},"./node_modules/@storybook/core/dist/components sync recursive":module=>{function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="./node_modules/@storybook/core/dist/components sync recursive",module.exports=webpackEmptyContext},"./node_modules/@storybook/core/dist/theming sync recursive":module=>{function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="./node_modules/@storybook/core/dist/theming sync recursive",module.exports=webpackEmptyContext},"./node_modules/memoizerific sync recursive":module=>{function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="./node_modules/memoizerific sync recursive",module.exports=webpackEmptyContext}}]); \ No newline at end of file diff --git a/5942.54b8d23b.iframe.bundle.js b/5942.54b8d23b.iframe.bundle.js new file mode 100644 index 000000000..60615d8b8 --- /dev/null +++ b/5942.54b8d23b.iframe.bundle.js @@ -0,0 +1,95 @@ +/*! For license information please see 5942.54b8d23b.iframe.bundle.js.LICENSE.txt */ +(self.webpackChunk_zendeskgarden_react_containers=self.webpackChunk_zendeskgarden_react_containers||[]).push([[5942],{"./node_modules/@storybook/blocks/dist/chunk-MKV36LKP.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{P$:()=>__commonJS,Yq:()=>getControlSetterButtonId,ZA:()=>getControlId,f1:()=>__toESM});var __create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty,__commonJS=(cb,mod)=>function(){return mod||(0,cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports},__toESM=(mod,isNodeMode,target)=>(target=null!=mod?__create(__getProtoOf(mod)):{},((to,from,except,desc)=>{if(from&&"object"==typeof from||"function"==typeof from)for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to})(!isNodeMode&&mod&&mod.__esModule?target:__defProp(target,"default",{value:mod,enumerable:!0}),mod)),getControlId=value=>`control-${value.replace(/\s+/g,"-")}`,getControlSetterButtonId=value=>`set-${value.replace(/\s+/g,"-")}`},"./node_modules/@storybook/blocks/dist/index.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{zE:()=>AnchorMdx,Hl:()=>Canvas,XA:()=>CodeOrSourceMdx,H2:()=>Controls3,kQ:()=>Docs,Sw:()=>HeadersMdx,oz:()=>Markdown2,W8:()=>Meta,gG:()=>Story2});var chunk_MKV36LKP=__webpack_require__("./node_modules/@storybook/blocks/dist/chunk-MKV36LKP.mjs"),react=__webpack_require__("./node_modules/react/index.js"),components=__webpack_require__("./node_modules/@storybook/core/dist/components/index.js"),theming=__webpack_require__("./node_modules/@storybook/core/dist/theming/index.js"),polished_esm=__webpack_require__("./node_modules/polished/dist/polished.esm.js"),external_STORYBOOK_MODULE_GLOBAL_=__webpack_require__("@storybook/global"),dist=__webpack_require__("./node_modules/@storybook/icons/dist/index.mjs"),external_STORYBOOK_MODULE_CLIENT_LOGGER_=__webpack_require__("storybook/internal/client-logger"),csf_dist=__webpack_require__("./node_modules/@storybook/csf/dist/index.mjs"),pickBy=__webpack_require__("./node_modules/lodash/pickBy.js"),pickBy_default=__webpack_require__.n(pickBy);function n(){return n=Object.assign?Object.assign.bind():function(e){for(var n=1;n(e[n.toLowerCase()]=n,e)),{for:"htmlFor"}),o={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},c=["style","script"],a=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,s=/mailto:/i,d=/\n{2,}$/,u=/^(\s*>[\s\S]*?)(?=\n{2,})/,p=/^ *> ?/gm,f=/^ {2,}\n/,h=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,m=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,g=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,y=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,k=/^(?:\n *)*\n/,x=/\r\n?/g,v=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,b=/^\[\^([^\]]+)]/,$=/\f/g,E=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,w=/^\s*?\[(x|\s)\]/,S=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,C=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,A=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,O=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,T=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,L=/^)/,R=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,z=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,M=/^\{.*\}$/,I=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,U=/^<([^ >]+@[^ >]+)>/,j=/^<([^ >]+:\/[^ >]+)>/,B=/-([a-z])?/gi,N=/^(.*\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/,H=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,D=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,P=/^\[([^\]]*)\] ?\[([^\]]*)\]/,_=/(\[|\])/g,F=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,W=/\t/g,G=/(^ *\||\| *$)/g,Z=/^ *:-+: *$/,q=/^ *:-+ *$/,V=/^ *-+: *$/,X="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",Q=new RegExp(`^([*_])\\1${X}\\1\\1(?!\\1)`),J=new RegExp(`^([*_])${X}\\1(?!\\1|\\w)`),K=new RegExp(`^==${X}==`),Y=new RegExp(`^~~${X}~~`),ee=/^\\([^0-9A-Za-z\s])/,ne=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,te=/^\n+/,re=/^([ \t]*)/,ie=/\\([^\\])/g,le=/ *\n+$/,oe=/(?:^|\n)( *)$/,ce="(?:\\d+\\.)",ae="(?:[*+-])";function se(e){return"( *)("+(1===e?ce:ae)+") +"}const de=se(1),ue=se(2);function pe(e){return new RegExp("^"+(1===e?de:ue))}const fe=pe(1),he=pe(2);function me(e){return new RegExp("^"+(1===e?de:ue)+"[^\\n]*(?:\\n(?!\\1"+(1===e?ce:ae)+" )[^\\n]*)*(\\n|$)","gm")}const ge=me(1),ye=me(2);function ke(e){const n=1===e?ce:ae;return new RegExp("^( *)("+n+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+n+" (?!"+n+" ))\\n*|\\s*\\n*$)")}const xe=ke(1),ve=ke(2);function be(e,n){const t=1===n,r=t?xe:ve,i=t?ge:ye,l=t?fe:he;return{match(e,n,t){const i=oe.exec(t);return i&&(n.list||!n.inline&&!n.simple)?r.exec(e=i[1]+e):null},order:1,parse(e,n,r){const o=t?+e[2]:void 0,c=e[0].replace(d,"\n").match(i);let a=!1;return{items:c.map((function(e,t){const i=l.exec(e)[0].length,o=new RegExp("^ {1,"+i+"}","gm"),s=e.replace(o,"").replace(l,""),d=t===c.length-1,u=-1!==s.indexOf("\n\n")||d&&a;a=u;const p=r.inline,f=r.list;let h;r.list=!0,u?(r.inline=!1,h=s.replace(le,"\n\n")):(r.inline=!0,h=s.replace(le,""));const m=n(h,r);return r.inline=p,r.list=f,m})),ordered:t,start:o}},render:(n,t,r)=>e(n.ordered?"ol":"ul",{key:r.key,start:"20"===n.type?n.start:void 0},n.items.map((function(n,i){return e("li",{key:i},t(n,r))})))}}const $e=new RegExp("^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*?(?:\\s+['\"]([\\s\\S]*?)['\"])?\\s*\\)"),Ee=/^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,we=[u,m,g,S,A,C,L,N,ge,xe,ye,ve],Se=[...we,/^[^\n]+(?: \n|\n{2,})/,O,z];function Ce(e){return e.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function Ae(e){return V.test(e)?"right":Z.test(e)?"center":q.test(e)?"left":null}function Oe(e,n,t,r){const i=t.inTable;t.inTable=!0;let l=e.trim().split(/( *(?:`[^`]*`|<.*?>.*?<\/.*?>(?!<\/.*?>)|\\\||\|) *)/).reduce(((e,i)=>("|"===i.trim()?e.push(r?{type:"26"}:{type:"27",text:i}):""!==i&&e.push.apply(e,n(i,t)),e)),[]);t.inTable=i;let o=[[]];return l.forEach((function(e,n){"26"===e.type?0!==n&&n!==l.length-1&&o.push([]):("27"!==e.type||null!=l[n+1]&&"26"!==l[n+1].type||(e.text=e.text.trimEnd()),o[o.length-1].push(e))})),o}function Te(e,n,t){t.inline=!0;const r=e[2]?e[2].replace(G,"").split("|").map(Ae):[],i=e[3]?function(e,n,t){return e.trim().split("\n").map((function(e){return Oe(e,n,t,!0)}))}(e[3],n,t):[],l=Oe(e[1],n,t,!!i.length);return t.inline=!1,i.length?{align:r,cells:i,header:l,type:"25"}:{children:l,type:"21"}}function Le(e,n){return null==e.align[n]?{}:{textAlign:e.align[n]}}function Re(e){return function(n,t){return t.inline?e.exec(n):null}}function ze(e){return function(n,t){return t.inline||t.simple?e.exec(n):null}}function Me(e){return function(n,t){return t.inline||t.simple?null:e.exec(n)}}function Ie(e){return function(n){return e.exec(n)}}function Ue(e,n,t){if(n.inline||n.simple)return null;if(t&&!t.endsWith("\n"))return null;let r="";e.split("\n").every((e=>!we.some((n=>n.test(e)))&&(r+=e+"\n",e.trim())));const i=r.trimEnd();return""==i?null:[r,i]}function je(e){try{if(decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return}catch(e){return null}return e}function Be(e){return e.replace(ie,"$1")}function Ne(e,n,t){const r=t.inline||!1,i=t.simple||!1;t.inline=!0,t.simple=!0;const l=e(n,t);return t.inline=r,t.simple=i,l}function He(e,n,t){const r=t.inline||!1,i=t.simple||!1;t.inline=!1,t.simple=!0;const l=e(n,t);return t.inline=r,t.simple=i,l}function De(e,n,t){const r=t.inline||!1;t.inline=!1;const i=e(n,t);return t.inline=r,i}const Pe=(e,n,t)=>({children:Ne(n,e[1],t)});function _e(){return{}}function Fe(){return null}function We(...e){return e.filter(Boolean).join(" ")}function Ge(e,n,t){let r=e;const i=n.split(".");for(;i.length&&(r=r[i[0]],void 0!==r);)i.shift();return r||t}function Ze(t="",r={}){r.overrides=r.overrides||{},r.slugify=r.slugify||Ce,r.namedCodesToUnicode=r.namedCodesToUnicode?n({},o,r.namedCodesToUnicode):o;const i=r.createElement||react.createElement;function d(e,t,...l){const o=Ge(r.overrides,`${e}.props`,{});return i(function(e,n){const t=Ge(n,e);return t?"function"==typeof t||"object"==typeof t&&"render"in t?t:Ge(n,`${e}.component`,e):e}(e,r.overrides),n({},t,o,{className:We(null==t?void 0:t.className,o.className)||void 0}),...l)}function G(n){n=n.replace(E,"");let t=!1;r.forceInline?t=!0:r.forceBlock||(t=!1===F.test(n));const i=le(ie(t?n:`${n.trimEnd().replace(te,"")}\n\n`,{inline:t}));for(;"string"==typeof i[i.length-1]&&!i[i.length-1].trim();)i.pop();if(null===r.wrapper)return i;const l=r.wrapper||(t?"span":"div");let o;if(i.length>1||r.forceWrapper)o=i;else{if(1===i.length)return o=i[0],"string"==typeof o?d("span",{key:"outer"},o):o;o=null}return react.createElement(l,{key:"outer"},o)}function Z(n){const t=n.match(a);return t?t.reduce((function(n,t,r){const i=t.indexOf("=");if(-1!==i){const o=function(e){return-1!==e.indexOf("-")&&null===e.match(R)&&(e=e.replace(B,(function(e,n){return n.toUpperCase()}))),e}(t.slice(0,i)).trim(),c=function(e){const n=e[0];return('"'===n||"'"===n)&&e.length>=2&&e[e.length-1]===n?e.slice(1,-1):e}(t.slice(i+1).trim()),a=l[o]||o,s=n[a]=function(e,n){return"style"===e?n.split(/;\s?/).reduce((function(e,n){const t=n.slice(0,n.indexOf(":"));return e[t.trim().replace(/(-[a-z])/g,(e=>e[1].toUpperCase()))]=n.slice(t.length+1).trim(),e}),{}):"href"===e||"src"===e?je(n):(n.match(M)&&(n=n.slice(1,n.length-1)),"true"===n||"false"!==n&&n)}(o,c);"string"==typeof s&&(O.test(s)||z.test(s))&&(n[a]=react.cloneElement(G(s.trim()),{key:r}))}else"style"!==t&&(n[l[t]||t]=!0);return n}),{}):null}const q=[],V={},X={0:{match:Me(u),order:1,parse:(e,n,t)=>({children:n(e[0].replace(p,""),t)}),render:(e,n,t)=>d("blockquote",{key:t.key},n(e.children,t))},1:{match:Ie(f),order:1,parse:_e,render:(e,n,t)=>d("br",{key:t.key})},2:{match:Me(h),order:1,parse:_e,render:(e,n,t)=>d("hr",{key:t.key})},3:{match:Me(g),order:0,parse:e=>({lang:void 0,text:e[0].replace(/^ {4}/gm,"").replace(/\n+$/,"")}),render:(e,t,r)=>d("pre",{key:r.key},d("code",n({},e.attrs,{className:e.lang?`lang-${e.lang}`:""}),e.text))},4:{match:Me(m),order:0,parse:e=>({attrs:Z(e[3]||""),lang:e[2]||void 0,text:e[4],type:"3"})},5:{match:ze(y),order:3,parse:e=>({text:e[2]}),render:(e,n,t)=>d("code",{key:t.key},e.text)},6:{match:Me(v),order:0,parse:e=>(q.push({footnote:e[2],identifier:e[1]}),{}),render:Fe},7:{match:Re(b),order:1,parse:e=>({target:`#${r.slugify(e[1])}`,text:e[1]}),render:(e,n,t)=>d("a",{key:t.key,href:je(e.target)},d("sup",{key:t.key},e.text))},8:{match:Re(w),order:1,parse:e=>({completed:"x"===e[1].toLowerCase()}),render:(e,n,t)=>d("input",{checked:e.completed,key:t.key,readOnly:!0,type:"checkbox"})},9:{match:Me(r.enforceAtxHeadings?C:S),order:1,parse:(e,n,t)=>({children:Ne(n,e[2],t),id:r.slugify(e[2]),level:e[1].length}),render:(e,n,t)=>d(`h${e.level}`,{id:e.id,key:t.key},n(e.children,t))},10:{match:Me(A),order:0,parse:(e,n,t)=>({children:Ne(n,e[1],t),level:"="===e[2]?1:2,type:"9"})},11:{match:Ie(O),order:1,parse(e,n,t){const[,r]=e[3].match(re),i=new RegExp(`^${r}`,"gm"),l=e[3].replace(i,""),o=(a=l,Se.some((e=>e.test(a)))?De:Ne);var a;const s=e[1].toLowerCase(),d=-1!==c.indexOf(s),u={attrs:Z(e[2]),noInnerParse:d,tag:(d?s:e[1]).trim()};return t.inAnchor=t.inAnchor||"a"===s,d?u.text=e[3]:u.children=o(n,l,t),t.inAnchor=!1,u},render:(e,t,r)=>d(e.tag,n({key:r.key},e.attrs),e.text||t(e.children,r))},13:{match:Ie(z),order:1,parse:e=>({attrs:Z(e[2]||""),tag:e[1].trim()}),render:(e,t,r)=>d(e.tag,n({},e.attrs,{key:r.key}))},12:{match:Ie(L),order:1,parse:()=>({}),render:Fe},14:{match:ze(Ee),order:1,parse:e=>({alt:e[1],target:Be(e[2]),title:e[3]}),render:(e,n,t)=>d("img",{key:t.key,alt:e.alt||void 0,title:e.title||void 0,src:je(e.target)})},15:{match:Re($e),order:3,parse:(e,n,t)=>({children:He(n,e[1],t),target:Be(e[2]),title:e[3]}),render:(e,n,t)=>d("a",{key:t.key,href:je(e.target),title:e.title},n(e.children,t))},16:{match:Re(j),order:0,parse:e=>({children:[{text:e[1],type:"27"}],target:e[1],type:"15"})},17:{match:(e,n)=>n.inAnchor?null:Re(I)(e,n),order:0,parse:e=>({children:[{text:e[1],type:"27"}],target:e[1],title:void 0,type:"15"})},18:{match:Re(U),order:0,parse(e){let n=e[1],t=e[1];return s.test(t)||(t="mailto:"+t),{children:[{text:n.replace("mailto:",""),type:"27"}],target:t,type:"15"}}},20:be(d,1),33:be(d,2),19:{match:Me(k),order:3,parse:_e,render:()=>"\n"},21:{match:Ue,order:3,parse:Pe,render:(e,n,t)=>d("p",{key:t.key},n(e.children,t))},22:{match:Re(H),order:0,parse:e=>(V[e[1]]={target:e[2],title:e[4]},{}),render:Fe},23:{match:ze(D),order:0,parse:e=>({alt:e[1]||void 0,ref:e[2]}),render:(e,n,t)=>V[e.ref]?d("img",{key:t.key,alt:e.alt,src:je(V[e.ref].target),title:V[e.ref].title}):null},24:{match:Re(P),order:0,parse:(e,n,t)=>({children:n(e[1],t),fallbackChildren:n(e[0].replace(_,"\\$1"),t),ref:e[2]}),render:(e,n,t)=>V[e.ref]?d("a",{key:t.key,href:je(V[e.ref].target),title:V[e.ref].title},n(e.children,t)):d("span",{key:t.key},n(e.fallbackChildren,t))},25:{match:Me(N),order:1,parse:Te,render(e,n,t){const r=e;return d("table",{key:t.key},d("thead",null,d("tr",null,r.header.map((function(e,i){return d("th",{key:i,style:Le(r,i)},n(e,t))})))),d("tbody",null,r.cells.map((function(e,i){return d("tr",{key:i},e.map((function(e,i){return d("td",{key:i,style:Le(r,i)},n(e,t))})))}))))}},27:{match:Ie(ne),order:4,parse:e=>({text:e[0].replace(T,((e,n)=>r.namedCodesToUnicode[n]?r.namedCodesToUnicode[n]:e))}),render:e=>e.text},28:{match:ze(Q),order:2,parse:(e,n,t)=>({children:n(e[2],t)}),render:(e,n,t)=>d("strong",{key:t.key},n(e.children,t))},29:{match:ze(J),order:3,parse:(e,n,t)=>({children:n(e[2],t)}),render:(e,n,t)=>d("em",{key:t.key},n(e.children,t))},30:{match:ze(ee),order:1,parse:e=>({text:e[1],type:"27"})},31:{match:ze(K),order:3,parse:Pe,render:(e,n,t)=>d("mark",{key:t.key},n(e.children,t))},32:{match:ze(Y),order:3,parse:Pe,render:(e,n,t)=>d("del",{key:t.key},n(e.children,t))}};!0===r.disableParsingRawHTML&&(delete X[11],delete X[13]);const ie=function(e){let n=Object.keys(e);function t(r,i){let l=[],o="";for(;r;){let c=0;for(;cl(t,r,i)),t,r,i):l(t,r,i)}}(X,r.renderRule),function e(n,t={}){if(Array.isArray(n)){const r=t.key,i=[];let l=!1;for(let r=0;r{let{children:r="",options:i}=n,l=function(e,n){if(null==e)return{};var t,r,i={},l=Object.keys(e);for(r=0;r=0||(i[t]=e[t]);return i}(n,t);return react.cloneElement(Ze(r,i),l)};var cloneDeep=__webpack_require__("./node_modules/lodash/cloneDeep.js"),cloneDeep_default=__webpack_require__.n(cloneDeep),uniq=__webpack_require__("./node_modules/lodash/uniq.js"),uniq_default=__webpack_require__.n(uniq),memoizerific=__webpack_require__("./node_modules/memoizerific/memoizerific.js"),memoizerific_default=__webpack_require__.n(memoizerific),external_STORYBOOK_MODULE_PREVIEW_API_=__webpack_require__("storybook/internal/preview-api"),docs_tools=__webpack_require__("./node_modules/@storybook/core/dist/docs-tools/index.js"),telejson_dist=__webpack_require__("./node_modules/telejson/dist/index.mjs"),external_STORYBOOK_MODULE_CORE_EVENTS_=__webpack_require__("storybook/internal/core-events"),esm=__webpack_require__("./node_modules/ts-dedent/esm/index.js"),external_STORYBOOK_MODULE_CHANNELS_=__webpack_require__("storybook/internal/channels"),require_default_options=(0,chunk_MKV36LKP.P$)({"../../node_modules/tocbot/src/js/default-options.js"(exports,module){module.exports={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(e){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(e){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollOffset:0}}}),require_build_html=(0,chunk_MKV36LKP.P$)({"../../node_modules/tocbot/src/js/build-html.js"(exports,module){module.exports=function(options){var tocElement,forEach=[].forEach,some=[].some,body=document.body,currentlyHighlighting=!0,SPACE_CHAR=" ";function createEl(d,container){var link=container.appendChild(function createLink(data){var item=document.createElement("li"),a=document.createElement("a");return options.listItemClass&&item.setAttribute("class",options.listItemClass),options.onClick&&(a.onclick=options.onClick),options.includeTitleTags&&a.setAttribute("title",data.textContent),options.includeHtml&&data.childNodes.length?forEach.call(data.childNodes,(function(node){a.appendChild(node.cloneNode(!0))})):a.textContent=data.textContent,a.setAttribute("href",options.basePath+"#"+data.id),a.setAttribute("class",options.linkClass+SPACE_CHAR+"node-name--"+data.nodeName+SPACE_CHAR+options.extraLinkClasses),item.appendChild(a),item}(d));if(d.children.length){var list=createList(d.isCollapsed);d.children.forEach((function(child){createEl(child,list)})),link.appendChild(list)}}function createList(isCollapsed){var listElement=options.orderedList?"ol":"ul",list=document.createElement(listElement),classes=options.listClass+SPACE_CHAR+options.extraListClasses;return isCollapsed&&(classes=(classes=classes+SPACE_CHAR+options.collapsibleClass)+SPACE_CHAR+options.isCollapsedClass),list.setAttribute("class",classes),list}function getHeadingTopPos(obj){var position=0;return null!==obj&&(position=obj.offsetTop,options.hasInnerContainers&&(position+=getHeadingTopPos(obj.offsetParent))),position}function updateClassname(obj,className){return obj&&obj.className!==className&&(obj.className=className),obj}function removeCollapsedFromParents(element){return element&&-1!==element.className.indexOf(options.collapsibleClass)&&-1!==element.className.indexOf(options.isCollapsedClass)?(updateClassname(element,element.className.replace(SPACE_CHAR+options.isCollapsedClass,"")),removeCollapsedFromParents(element.parentNode.parentNode)):element}return{enableTocAnimation:function enableTocAnimation(){currentlyHighlighting=!0},disableTocAnimation:function disableTocAnimation(event){var target=event.target||event.srcElement;"string"!=typeof target.className||-1===target.className.indexOf(options.linkClass)||(currentlyHighlighting=!1)},render:function render(parent,data){var container=createList(!1);if(data.forEach((function(d){createEl(d,container)})),null!==(tocElement=parent||tocElement))return tocElement.firstChild&&tocElement.removeChild(tocElement.firstChild),0===data.length?tocElement:tocElement.appendChild(container)},updateToc:function updateToc(headingsArray){var top;top=options.scrollContainer&&document.querySelector(options.scrollContainer)?document.querySelector(options.scrollContainer).scrollTop:document.documentElement.scrollTop||body.scrollTop,options.positionFixedSelector&&function updateFixedSidebarClass(){var top;top=options.scrollContainer&&document.querySelector(options.scrollContainer)?document.querySelector(options.scrollContainer).scrollTop:document.documentElement.scrollTop||body.scrollTop;var posFixedEl=document.querySelector(options.positionFixedSelector);"auto"===options.fixedSidebarOffset&&(options.fixedSidebarOffset=tocElement.offsetTop),top>options.fixedSidebarOffset?-1===posFixedEl.className.indexOf(options.positionFixedClass)&&(posFixedEl.className+=SPACE_CHAR+options.positionFixedClass):posFixedEl.className=posFixedEl.className.replace(SPACE_CHAR+options.positionFixedClass,"")}();var topHeader,headings=headingsArray;if(currentlyHighlighting&&null!==tocElement&&headings.length>0){some.call(headings,(function(heading,i){return getHeadingTopPos(heading)>top+options.headingsOffset+10?(topHeader=headings[0===i?i:i-1],!0):i===headings.length-1?(topHeader=headings[headings.length-1],!0):void 0}));var oldActiveTocLink=tocElement.querySelector("."+options.activeLinkClass),activeTocLink=tocElement.querySelector("."+options.linkClass+".node-name--"+topHeader.nodeName+'[href="'+options.basePath+"#"+topHeader.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(oldActiveTocLink===activeTocLink)return;var tocLinks=tocElement.querySelectorAll("."+options.linkClass);forEach.call(tocLinks,(function(tocLink){updateClassname(tocLink,tocLink.className.replace(SPACE_CHAR+options.activeLinkClass,""))}));var tocLis=tocElement.querySelectorAll("."+options.listItemClass);forEach.call(tocLis,(function(tocLi){updateClassname(tocLi,tocLi.className.replace(SPACE_CHAR+options.activeListItemClass,""))})),activeTocLink&&-1===activeTocLink.className.indexOf(options.activeLinkClass)&&(activeTocLink.className+=SPACE_CHAR+options.activeLinkClass);var li=activeTocLink&&activeTocLink.parentNode;li&&-1===li.className.indexOf(options.activeListItemClass)&&(li.className+=SPACE_CHAR+options.activeListItemClass);var tocLists=tocElement.querySelectorAll("."+options.listClass+"."+options.collapsibleClass);forEach.call(tocLists,(function(list){-1===list.className.indexOf(options.isCollapsedClass)&&(list.className+=SPACE_CHAR+options.isCollapsedClass)})),activeTocLink&&activeTocLink.nextSibling&&-1!==activeTocLink.nextSibling.className.indexOf(options.isCollapsedClass)&&updateClassname(activeTocLink.nextSibling,activeTocLink.nextSibling.className.replace(SPACE_CHAR+options.isCollapsedClass,"")),removeCollapsedFromParents(activeTocLink&&activeTocLink.parentNode.parentNode)}}}}}}),require_parse_content=(0,chunk_MKV36LKP.P$)({"../../node_modules/tocbot/src/js/parse-content.js"(exports,module){module.exports=function(options){var reduce=[].reduce;function getLastItem(array2){return array2[array2.length-1]}function getHeadingLevel(heading){return+heading.nodeName.toUpperCase().replace("H","")}function getHeadingObject(heading){if(!function isHTMLElement(maybeElement){try{return maybeElement instanceof window.HTMLElement||maybeElement instanceof window.parent.HTMLElement}catch{return maybeElement instanceof window.HTMLElement}}(heading))return heading;if(options.ignoreHiddenElements&&(!heading.offsetHeight||!heading.offsetParent))return null;let headingLabel=heading.getAttribute("data-heading-label")||(options.headingLabelCallback?String(options.headingLabelCallback(heading.innerText)):(heading.innerText||heading.textContent).trim());var obj={id:heading.id,children:[],nodeName:heading.nodeName,headingLevel:getHeadingLevel(heading),textContent:headingLabel};return options.includeHtml&&(obj.childNodes=heading.childNodes),options.headingObjectCallback?options.headingObjectCallback(obj,heading):obj}return{nestHeadingsArray:function nestHeadingsArray(headingsArray){return reduce.call(headingsArray,(function(prev,curr){var currentHeading=getHeadingObject(curr);return currentHeading&&function addNode(node,nest){for(var obj=getHeadingObject(node),level=obj.headingLevel,array2=nest,lastItem=getLastItem(array2),counter=level-(lastItem?lastItem.headingLevel:0);counter>0&&(!(lastItem=getLastItem(array2))||level!==lastItem.headingLevel);)lastItem&&void 0!==lastItem.children&&(array2=lastItem.children),counter--;return level>=options.collapseDepth&&(obj.isCollapsed=!0),array2.push(obj),array2}(currentHeading,prev.nest),prev}),{nest:[]})},selectHeadings:function selectHeadings(contentElement,headingSelector){var selectors=headingSelector;options.ignoreSelector&&(selectors=headingSelector.split(",").map((function(selector){return selector.trim()+":not("+options.ignoreSelector+")"})));try{return contentElement.querySelectorAll(selectors)}catch{return console.warn("Headers not found with selector: "+selectors),null}}}}}}),require_update_toc_scroll=(0,chunk_MKV36LKP.P$)({"../../node_modules/tocbot/src/js/update-toc-scroll.js"(exports,module){module.exports=function(options){var toc=options.tocElement||document.querySelector(options.tocSelector);if(toc&&toc.scrollHeight>toc.clientHeight){var activeItem=toc.querySelector("."+options.activeListItemClass);activeItem&&(toc.scrollTop=activeItem.offsetTop-options.tocScrollOffset)}}}}),require_scroll_smooth=(0,chunk_MKV36LKP.P$)({"../../node_modules/tocbot/src/js/scroll-smooth/index.js"(exports){exports.initSmoothScrolling=function initSmoothScrolling(options){var duration=options.duration,offset=options.offset,pageUrl=location.hash?stripHash(location.href):location.href;function stripHash(url){return url.slice(0,url.lastIndexOf("#"))}!function delegatedLinkHijacking(){document.body.addEventListener("click",(function onClick(e){!function isInPageLink(n){return"a"===n.tagName.toLowerCase()&&(n.hash.length>0||"#"===n.href.charAt(n.href.length-1))&&(stripHash(n.href)===pageUrl||stripHash(n.href)+"#"===pageUrl)}(e.target)||e.target.className.indexOf("no-smooth-scroll")>-1||"#"===e.target.href.charAt(e.target.href.length-2)&&"!"===e.target.href.charAt(e.target.href.length-1)||-1===e.target.className.indexOf(options.linkClass)||function jump(target,options){var timeStart,timeElapsed,start=window.pageYOffset,opt={duration:options.duration,offset:options.offset||0,callback:options.callback,easing:options.easing||easeInOutQuad},tgt=document.querySelector('[id="'+decodeURI(target).split("#").join("")+'"]')||document.querySelector('[id="'+target.split("#").join("")+'"]'),distance="string"==typeof target?opt.offset+(target?tgt&&tgt.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):target,duration="function"==typeof opt.duration?opt.duration(distance):opt.duration;function loop(time){timeElapsed=time-timeStart,window.scrollTo(0,opt.easing(timeElapsed,start,distance,duration)),timeElapsed"u")||supports){var headingsArray,hasOwnProperty=Object.prototype.hasOwnProperty;return tocbot2.destroy=function(){var tocElement=getTocElement(options);null!==tocElement&&(options.skipRendering||tocElement&&(tocElement.innerHTML=""),options.scrollContainer&&document.querySelector(options.scrollContainer)?(document.querySelector(options.scrollContainer).removeEventListener("scroll",this._scrollListener,!1),document.querySelector(options.scrollContainer).removeEventListener("resize",this._scrollListener,!1),buildHtml&&document.querySelector(options.scrollContainer).removeEventListener("click",this._clickListener,!1)):(document.removeEventListener("scroll",this._scrollListener,!1),document.removeEventListener("resize",this._scrollListener,!1),buildHtml&&document.removeEventListener("click",this._clickListener,!1)))},tocbot2.init=function(customOptions){if(supports){options=function extend(){for(var target={},i=0;i({backgroundColor:"light"===theme.base?"rgba(0,0,0,.01)":"rgba(255,255,255,.01)",borderRadius:theme.appBorderRadius,border:`1px dashed ${theme.appBorderColor}`,display:"flex",alignItems:"center",justifyContent:"center",padding:20,margin:"25px 0 40px",color:(0,polished_esm.No)(.3,theme.color.defaultText),fontSize:theme.typography.size.s2}))),EmptyBlock=props=>react.createElement(Wrapper,{...props,className:"docblock-emptyblock sb-unstyled"}),StyledSyntaxHighlighter=(0,theming.I4)(components.bF)((({theme})=>({fontSize:theme.typography.size.s2-1+"px",lineHeight:"19px",margin:"25px 0 40px",borderRadius:theme.appBorderRadius,boxShadow:"light"===theme.base?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}}))),SourceSkeletonWrapper=theming.I4.div((({theme})=>({background:theme.background.content,borderRadius:theme.appBorderRadius,border:`1px solid ${theme.appBorderColor}`,boxShadow:"light"===theme.base?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",margin:"25px 0 40px",padding:"20px 20px 20px 22px"}))),SourceSkeletonPlaceholder=theming.I4.div((({theme})=>({animation:`${theme.animation.glow} 1.5s ease-in-out infinite`,background:theme.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${theming.v_}`]:{margin:0}}))),SourceSkeleton=()=>react.createElement(SourceSkeletonWrapper,null,react.createElement(SourceSkeletonPlaceholder,null),react.createElement(SourceSkeletonPlaceholder,{style:{width:"80%"}}),react.createElement(SourceSkeletonPlaceholder,{style:{width:"30%"}}),react.createElement(SourceSkeletonPlaceholder,{style:{width:"80%"}})),Source=({isLoading,error,language,code,dark,format:format2=!1,...rest})=>{let{typography}=(0,theming.DP)();if(isLoading)return react.createElement(SourceSkeleton,null);if(error)return react.createElement(EmptyBlock,null,error);let syntaxHighlighter=react.createElement(StyledSyntaxHighlighter,{bordered:!0,copyable:!0,format:format2,language,className:"docblock-source sb-unstyled",...rest},code);if(typeof dark>"u")return syntaxHighlighter;let overrideTheme=dark?theming.Zj.dark:theming.Zj.light;return react.createElement(theming.NP,{theme:(0,theming.C6)({...overrideTheme,fontCode:typography.fonts.mono,fontBase:typography.fonts.base})},syntaxHighlighter)},toGlobalSelector=element=>`& :where(${element}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${element}))`,Title=theming.I4.h1(components.YV,(({theme})=>({color:theme.color.defaultText,fontSize:theme.typography.size.m3,fontWeight:theme.typography.weight.bold,lineHeight:"32px","@media (min-width: 600px)":{fontSize:theme.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}}))),Subtitle=theming.I4.h2(components.YV,(({theme})=>({fontWeight:theme.typography.weight.regular,fontSize:theme.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,"@media (min-width: 600px)":{fontSize:theme.typography.size.m1,lineHeight:"28px",marginBottom:24},color:(0,polished_esm.No)(.25,theme.color.defaultText)}))),DocsContent=theming.I4.div((({theme})=>{let reset={fontFamily:theme.typography.fonts.base,fontSize:theme.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},headers={margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:theme.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& code":{fontSize:"inherit"}},code={lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:theme.typography.size.s2-1,border:"light"===theme.base?`1px solid ${theme.color.mediumlight}`:`1px solid ${theme.color.darker}`,color:"light"===theme.base?(0,polished_esm.No)(.1,theme.color.defaultText):(0,polished_esm.No)(.3,theme.color.defaultText),backgroundColor:"light"===theme.base?theme.color.lighter:theme.color.border};return{maxWidth:1e3,width:"100%",[toGlobalSelector("a")]:{...reset,fontSize:"inherit",lineHeight:"24px",color:theme.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}},[toGlobalSelector("blockquote")]:{...reset,margin:"16px 0",borderLeft:`4px solid ${theme.color.medium}`,padding:"0 15px",color:theme.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},[toGlobalSelector("div")]:reset,[toGlobalSelector("dl")]:{...reset,margin:"16px 0",padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}},[toGlobalSelector("h1")]:{...reset,...headers,fontSize:`${theme.typography.size.l1}px`,fontWeight:theme.typography.weight.bold},[toGlobalSelector("h2")]:{...reset,...headers,fontSize:`${theme.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${theme.appBorderColor}`},[toGlobalSelector("h3")]:{...reset,...headers,fontSize:`${theme.typography.size.m1}px`,fontWeight:theme.typography.weight.bold},[toGlobalSelector("h4")]:{...reset,...headers,fontSize:`${theme.typography.size.s3}px`},[toGlobalSelector("h5")]:{...reset,...headers,fontSize:`${theme.typography.size.s2}px`},[toGlobalSelector("h6")]:{...reset,...headers,fontSize:`${theme.typography.size.s2}px`,color:theme.color.dark},[toGlobalSelector("hr")]:{border:"0 none",borderTop:`1px solid ${theme.appBorderColor}`,height:4,padding:0},[toGlobalSelector("img")]:{maxWidth:"100%"},[toGlobalSelector("li")]:{...reset,fontSize:theme.typography.size.s2,color:theme.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":code},[toGlobalSelector("ol")]:{...reset,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[toGlobalSelector("p")]:{...reset,margin:"16px 0",fontSize:theme.typography.size.s2,lineHeight:"24px",color:theme.color.defaultText,"& code":code},[toGlobalSelector("pre")]:{...reset,fontFamily:theme.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}},[toGlobalSelector("span")]:{...reset,"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${theme.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:theme.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}},[toGlobalSelector("table")]:{...reset,margin:"16px 0",fontSize:theme.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${theme.appBorderColor}`,backgroundColor:theme.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:"dark"===theme.base?theme.color.darker:theme.color.lighter},"& tr th":{fontWeight:"bold",color:theme.color.defaultText,border:`1px solid ${theme.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${theme.appBorderColor}`,color:theme.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}},[toGlobalSelector("ul")]:{...reset,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}})),DocsWrapper=theming.I4.div((({theme})=>({background:theme.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem","@media (min-width: 600px)":{}}))),DocsPageWrapper=({children,toc})=>react.createElement(DocsWrapper,{className:"sbdocs sbdocs-wrapper"},react.createElement(DocsContent,{className:"sbdocs sbdocs-content"},children),toc),getBlockBackgroundStyle=theme=>({borderRadius:theme.appBorderRadius,background:theme.background.content,boxShadow:"light"===theme.base?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",border:`1px solid ${theme.appBorderColor}`}),{window:globalWindow}=external_STORYBOOK_MODULE_GLOBAL_.global,IFrame=class extends react.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{id}=this.props;this.iframe=globalWindow.document.getElementById(id)}shouldComponentUpdate(nextProps){let{scale}=nextProps;return scale!==this.props.scale&&this.setIframeBodyStyle({width:100*scale+"%",height:100*scale+"%",transform:`scale(${1/scale})`,transformOrigin:"top left"}),!1}setIframeBodyStyle(style){return Object.assign(this.iframe.contentDocument.body.style,style)}render(){let{id,title,src,allowFullScreen,scale,...rest}=this.props;return react.createElement("iframe",{id,title,src,...allowFullScreen?{allow:"fullscreen"}:{},loading:"lazy",...rest})}},ZoomContext=(0,react.createContext)({scale:1}),{PREVIEW_URL}=external_STORYBOOK_MODULE_GLOBAL_.global,BASE_URL=PREVIEW_URL||"iframe.html",storyBlockIdFromId=({story,primary})=>`story--${story.id}${primary?"--primary":""}`,InlineStory=props=>{let storyRef=(0,react.useRef)(),[showLoader,setShowLoader]=(0,react.useState)(!0),[error,setError]=(0,react.useState)(),{story,height,autoplay,forceInitialArgs,renderStoryToElement}=props;return(0,react.useEffect)((()=>{if(!story||!storyRef.current)return()=>{};let element=storyRef.current,cleanup=renderStoryToElement(story,element,{showMain:()=>{},showError:({title,description})=>setError(new Error(`${title} - ${description}`)),showException:err=>setError(err)},{autoplay,forceInitialArgs});return setShowLoader(!1),()=>{Promise.resolve().then((()=>cleanup()))}}),[autoplay,renderStoryToElement,story]),error?react.createElement("pre",null,react.createElement(components.Df,{error})):react.createElement(react.Fragment,null,height?react.createElement("style",null,`#${storyBlockIdFromId(props)} { min-height: ${height}; transform: translateZ(0); overflow: auto }`):null,showLoader&&react.createElement(StorySkeleton,null),react.createElement("div",{ref:storyRef,id:`${storyBlockIdFromId(props)}-inner`,"data-name":story.name}))},IFrameStory=({story,height="500px"})=>react.createElement("div",{style:{width:"100%",height}},react.createElement(ZoomContext.Consumer,null,(({scale})=>react.createElement(IFrame,{key:"iframe",id:`iframe--${story.id}`,title:story.name,src:(0,components.jZ)(BASE_URL,story.id,{viewMode:"story"}),allowFullScreen:!0,scale,style:{width:"100%",height:"100%",border:"0 none"}})))),ErrorMessage=theming.I4.strong((({theme})=>({color:theme.color.orange}))),Story=props=>{let{inline,story}=props;return inline&&!props.autoplay&&story.usesMount?react.createElement(ErrorMessage,null,"This story mounts inside of play. Set"," ",react.createElement("a",{href:"https://storybook.js.org/docs/api/doc-blocks/doc-block-story#autoplay"},"autoplay")," ","to true to view this story."):react.createElement("div",{id:storyBlockIdFromId(props),className:"sb-story sb-unstyled","data-story-block":"true"},inline?react.createElement(InlineStory,{...props}):react.createElement(IFrameStory,{...props}))},StorySkeleton=()=>react.createElement(components.aH,null),Bar=(0,theming.I4)(components.px)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),Wrapper2=theming.I4.div({display:"flex",alignItems:"center",gap:4}),IconPlaceholder=theming.I4.div((({theme})=>({width:14,height:14,borderRadius:2,margin:"0 7px",backgroundColor:theme.appBorderColor,animation:`${theme.animation.glow} 1.5s ease-in-out infinite`}))),ChildrenContainer=theming.I4.div((({isColumn,columns,layout})=>({display:isColumn||!columns?"block":"flex",position:"relative",flexWrap:"wrap",overflow:"auto",flexDirection:isColumn?"column":"row","& .innerZoomElementWrapper > *":isColumn?{width:"fullscreen"!==layout?"calc(100% - 20px)":"100%",display:"block"}:{maxWidth:"fullscreen"!==layout?"calc(100% - 20px)":"100%",display:"inline-block"}})),(({layout="padded"})=>"centered"===layout||"padded"===layout?{padding:"30px 20px","& .innerZoomElementWrapper > *":{width:"auto",border:"10px solid transparent!important"}}:{}),(({layout="padded"})=>"centered"===layout?{display:"flex",justifyContent:"center",justifyItems:"center",alignContent:"center",alignItems:"center"}:{}),(({columns})=>columns&&columns>1?{".innerZoomElementWrapper > *":{minWidth:`calc(100% / ${columns} - 20px)`}}:{})),StyledSource=(0,theming.I4)(Source)((({theme})=>({margin:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:theme.appBorderRadius,borderBottomRightRadius:theme.appBorderRadius,border:"none",background:"light"===theme.base?"rgba(0, 0, 0, 0.85)":(0,polished_esm.e$)(.05,theme.background.content),color:theme.color.lightest,button:{background:"light"===theme.base?"rgba(0, 0, 0, 0.85)":(0,polished_esm.e$)(.05,theme.background.content)}}))),PreviewContainer=theming.I4.div((({theme,withSource,isExpanded})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...getBlockBackgroundStyle(theme),borderBottomLeftRadius:withSource&&isExpanded&&0,borderBottomRightRadius:withSource&&isExpanded&&0,borderBottomWidth:isExpanded&&0,"h3 + &":{marginTop:"16px"}})),(({withToolbar})=>withToolbar&&{paddingTop:40}));function getStoryId(children){if(1===react.Children.count(children)){let elt=children;if(elt.props)return elt.props.id}return null}var PositionedToolbar=(0,theming.I4)((({isLoading,storyId,baseUrl,zoom,resetZoom,...rest})=>react.createElement(Bar,{...rest},react.createElement(Wrapper2,{key:"left"},isLoading?[1,2,3].map((key=>react.createElement(IconPlaceholder,{key}))):react.createElement(react.Fragment,null,react.createElement(components.K0,{key:"zoomin",onClick:e=>{e.preventDefault(),zoom(.8)},title:"Zoom in"},react.createElement(dist.PU,null)),react.createElement(components.K0,{key:"zoomout",onClick:e=>{e.preventDefault(),zoom(1.25)},title:"Zoom out"},react.createElement(dist.LoD,null)),react.createElement(components.K0,{key:"zoomreset",onClick:e=>{e.preventDefault(),resetZoom()},title:"Reset zoom"},react.createElement(dist.wV5,null)))))))({position:"absolute",top:0,left:0,right:0,height:40}),Relative=theming.I4.div({overflow:"hidden",position:"relative"}),Preview=({isLoading,isColumn,columns,children,withSource,withToolbar=!1,isExpanded=!1,additionalActions,className,layout="padded",...props})=>{let[expanded,setExpanded]=(0,react.useState)(isExpanded),{source,actionItem}=((withSource,expanded,setExpanded)=>{switch(!0){case!(!withSource||!withSource.error):return{source:null,actionItem:{title:"No code available",className:"docblock-code-toggle docblock-code-toggle--disabled",disabled:!0,onClick:()=>setExpanded(!1)}};case expanded:return{source:react.createElement(StyledSource,{...withSource,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>setExpanded(!1)}};default:return{source:react.createElement(StyledSource,{...withSource,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>setExpanded(!0)}}}})(withSource,expanded,setExpanded),[scale,setScale]=(0,react.useState)(1),previewClasses=[className].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),defaultActionItems=withSource?[actionItem]:[],[additionalActionItems,setAdditionalActionItems]=(0,react.useState)(additionalActions?[...additionalActions]:[]),actionItems=[...defaultActionItems,...additionalActionItems],{window:globalWindow4}=external_STORYBOOK_MODULE_GLOBAL_.global,copyToClipboard=(0,react.useCallback)((async text=>{let{createCopyToClipboardFunction}=await __webpack_require__.e(7364).then(__webpack_require__.bind(__webpack_require__,"./node_modules/storybook/core/components/index.js"));createCopyToClipboardFunction()}),[]);return react.createElement(PreviewContainer,{withSource,withToolbar,...props,className:previewClasses.join(" ")},withToolbar&&react.createElement(PositionedToolbar,{isLoading,border:!0,zoom:z=>setScale(scale*z),resetZoom:()=>setScale(1),storyId:getStoryId(children),baseUrl:"./iframe.html"}),react.createElement(ZoomContext.Provider,{value:{scale}},react.createElement(Relative,{className:"docs-story",onCopyCapture:withSource&&(e=>{let selection=globalWindow4.getSelection();selection&&"Range"===selection.type||(e.preventDefault(),0===additionalActionItems.filter((item=>"Copied"===item.title)).length&©ToClipboard(source.props.code).then((()=>{setAdditionalActionItems([...additionalActionItems,{title:"Copied",onClick:()=>{}}]),globalWindow4.setTimeout((()=>setAdditionalActionItems(additionalActionItems.filter((item=>"Copied"!==item.title)))),1500)})))})},react.createElement(ChildrenContainer,{isColumn:isColumn||!Array.isArray(children),columns,layout},react.createElement(components.GP.Element,{scale},Array.isArray(children)?children.map(((child,i)=>react.createElement("div",{key:i},child))):react.createElement("div",null,children))),react.createElement(components.E7,{actionItems}))),withSource&&expanded&&source)};(0,theming.I4)(Preview)((()=>({".docs-story":{paddingTop:32,paddingBottom:40}})));var Label=theming.I4.label((({theme})=>({lineHeight:"18px",alignItems:"center",marginBottom:8,display:"inline-block",position:"relative",whiteSpace:"nowrap",background:theme.boolean.background,borderRadius:"3em",padding:1,'&[aria-disabled="true"]':{opacity:.5,input:{cursor:"not-allowed"}},input:{appearance:"none",width:"100%",height:"100%",position:"absolute",left:0,top:0,margin:0,padding:0,border:"none",background:"transparent",cursor:"pointer",borderRadius:"3em","&:focus":{outline:"none",boxShadow:`${theme.color.secondary} 0 0 0 1px inset !important`}},span:{textAlign:"center",fontSize:theme.typography.size.s1,fontWeight:theme.typography.weight.bold,lineHeight:"1",cursor:"pointer",display:"inline-block",padding:"7px 15px",transition:"all 100ms ease-out",userSelect:"none",borderRadius:"3em",color:(0,polished_esm.No)(.5,theme.color.defaultText),background:"transparent","&:hover":{boxShadow:`${(0,polished_esm.mI)(.3,theme.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${(0,polished_esm.mI)(.05,theme.appBorderColor)} 0 0 0 2px inset`,color:(0,polished_esm.mI)(1,theme.appBorderColor)},"&:first-of-type":{paddingRight:8},"&:last-of-type":{paddingLeft:8}},"input:checked ~ span:last-of-type, input:not(:checked) ~ span:first-of-type":{background:theme.boolean.selectedBackground,boxShadow:"light"===theme.base?`${(0,polished_esm.mI)(.1,theme.appBorderColor)} 0 0 2px`:`${theme.appBorderColor} 0 0 0 1px`,color:theme.color.defaultText,padding:"7px 15px"}}))),FormInput=(0,theming.I4)(components.lV.Input)((({readOnly})=>({opacity:readOnly?.5:1}))),FlexSpaced=theming.I4.div((({theme})=>({flex:1,display:"flex",input:{marginLeft:10,flex:1,height:32,"&::-webkit-calendar-picker-indicator":{opacity:.5,height:12,filter:"light"===theme.base?void 0:"invert(1)"}},"input:first-of-type":{marginLeft:0,flexGrow:4},"input:last-of-type":{flexGrow:3}}))),Wrapper3=theming.I4.label({display:"flex"}),FormInput2=(0,theming.I4)(components.lV.Input)((({readOnly})=>({opacity:readOnly?.5:1}))),selectedKey=(value2,options)=>{let entry=options&&Object.entries(options).find((([_key,val])=>val===value2));return entry?entry[0]:void 0},selectedKeys=(value2,options)=>value2&&options?Object.entries(options).filter((entry=>value2.includes(entry[1]))).map((entry=>entry[0])):[],selectedValues=(keys,options)=>keys&&options&&keys.map((key=>options[key])),Wrapper4=theming.I4.div((({isInline})=>isInline?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}}),(props=>{if("true"===props["aria-readonly"])return{input:{cursor:"not-allowed"}}})),Text=theming.I4.span({"[aria-readonly=true] &":{opacity:.5}}),Label2=theming.I4.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),CheckboxControl=({name,options,value:value2,onChange,isInline,argType})=>{if(!options)return external_STORYBOOK_MODULE_CLIENT_LOGGER_.logger.warn(`Checkbox with no options: ${name}`),react.createElement(react.Fragment,null,"-");let initial=selectedKeys(value2,options),[selected,setSelected]=(0,react.useState)(initial),readonly=!!argType?.table?.readonly,handleChange=e=>{let option=e.target.value,updated=[...selected];updated.includes(option)?updated.splice(updated.indexOf(option),1):updated.push(option),onChange(selectedValues(updated,options)),setSelected(updated)};(0,react.useEffect)((()=>{setSelected(selectedKeys(value2,options))}),[value2]);let controlId=(0,chunk_MKV36LKP.ZA)(name);return react.createElement(Wrapper4,{"aria-readonly":readonly,isInline},Object.keys(options).map(((key,index)=>{let id=`${controlId}-${index}`;return react.createElement(Label2,{key:id,htmlFor:id},react.createElement("input",{type:"checkbox",disabled:readonly,id,name:id,value:key,onChange:handleChange,checked:selected?.includes(key)}),react.createElement(Text,null,key))})))},Wrapper5=theming.I4.div((({isInline})=>isInline?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}}),(props=>{if("true"===props["aria-readonly"])return{input:{cursor:"not-allowed"}}})),Text2=theming.I4.span({"[aria-readonly=true] &":{opacity:.5}}),Label3=theming.I4.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),RadioControl=({name,options,value:value2,onChange,isInline,argType})=>{if(!options)return external_STORYBOOK_MODULE_CLIENT_LOGGER_.logger.warn(`Radio with no options: ${name}`),react.createElement(react.Fragment,null,"-");let selection=selectedKey(value2,options),controlId=(0,chunk_MKV36LKP.ZA)(name),readonly=!!argType?.table?.readonly;return react.createElement(Wrapper5,{"aria-readonly":readonly,isInline},Object.keys(options).map(((key,index)=>{let id=`${controlId}-${index}`;return react.createElement(Label3,{key:id,htmlFor:id},react.createElement("input",{type:"radio",id,name:controlId,disabled:readonly,value:key,onChange:e=>onChange(options[e.currentTarget.value]),checked:key===selection}),react.createElement(Text2,null,key))})))},OptionsSelect=theming.I4.select({appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},(({theme})=>({boxSizing:"border-box",position:"relative",padding:"6px 10px",width:"100%",color:theme.input.color||"inherit",background:theme.input.background,borderRadius:theme.input.borderRadius,boxShadow:`${theme.input.border} 0 0 0 1px inset`,fontSize:theme.typography.size.s2-1,lineHeight:"20px","&:focus":{boxShadow:`${theme.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"::placeholder":{color:theme.textMutedColor},"&[multiple]":{overflow:"auto",padding:0,option:{display:"block",padding:"6px 10px",marginLeft:1,marginRight:1}}}))),SelectWrapper=theming.I4.span((({theme})=>({display:"inline-block",lineHeight:"normal",overflow:"hidden",position:"relative",verticalAlign:"top",width:"100%",svg:{position:"absolute",zIndex:1,pointerEvents:"none",height:"12px",marginTop:"-6px",right:"12px",top:"50%",fill:theme.textMutedColor,path:{fill:theme.textMutedColor}}}))),SingleSelect=({name,value:value2,options,onChange,argType})=>{let selection=selectedKey(value2,options)||"Choose option...",controlId=(0,chunk_MKV36LKP.ZA)(name),readonly=!!argType?.table?.readonly;return react.createElement(SelectWrapper,null,react.createElement(dist.abt,null),react.createElement(OptionsSelect,{disabled:readonly,id:controlId,value:selection,onChange:e=>{onChange(options[e.currentTarget.value])}},react.createElement("option",{key:"no-selection",disabled:!0},"Choose option..."),Object.keys(options).map((key=>react.createElement("option",{key,value:key},key)))))},MultiSelect=({name,value:value2,options,onChange,argType})=>{let selection=selectedKeys(value2,options),controlId=(0,chunk_MKV36LKP.ZA)(name),readonly=!!argType?.table?.readonly;return react.createElement(SelectWrapper,null,react.createElement(OptionsSelect,{disabled:readonly,id:controlId,multiple:!0,value:selection,onChange:e=>{let selection2=Array.from(e.currentTarget.options).filter((option=>option.selected)).map((option=>option.value));onChange(selectedValues(selection2,options))}},Object.keys(options).map((key=>react.createElement("option",{key,value:key},key)))))},SelectControl=props=>{let{name,options}=props;return options?props.isMulti?react.createElement(MultiSelect,{...props}):react.createElement(SingleSelect,{...props}):(external_STORYBOOK_MODULE_CLIENT_LOGGER_.logger.warn(`Select with no options: ${name}`),react.createElement(react.Fragment,null,"-"))},normalizeOptions=(options,labels)=>Array.isArray(options)?options.reduce(((acc,item)=>(acc[labels?.[item]||String(item)]=item,acc)),{}):options,Controls={check:CheckboxControl,"inline-check":CheckboxControl,radio:RadioControl,"inline-radio":RadioControl,select:SelectControl,"multi-select":SelectControl},OptionsControl=props=>{let{type="select",labels,argType}=props,normalized={...props,argType,options:argType?normalizeOptions(argType.options,labels):{},isInline:type.includes("inline"),isMulti:type.includes("multi")},Control=Controls[type];if(Control)return react.createElement(Control,{...normalized});throw new Error(`Unknown options type: ${type}`)};function getObjectType(obj){return null===obj||"object"!=typeof obj||Array.isArray(obj)||"function"!=typeof obj[Symbol.iterator]?Object.prototype.toString.call(obj).slice(8,-1):"Iterable"}function isComponentWillChange(oldValue,newValue){let oldType=getObjectType(oldValue),newType=getObjectType(newValue);return("Function"===oldType||"Function"===newType)&&newType!==oldType}var JsonAddValue=class extends react.Component{constructor(props){super(props),this.state={inputRefKey:null,inputRefValue:null},this.refInputValue=this.refInputValue.bind(this),this.refInputKey=this.refInputKey.bind(this),this.onKeydown=this.onKeydown.bind(this),this.onSubmit=this.onSubmit.bind(this)}componentDidMount(){let{inputRefKey,inputRefValue}=this.state,{onlyValue}=this.props;inputRefKey&&"function"==typeof inputRefKey.focus&&inputRefKey.focus(),onlyValue&&inputRefValue&&"function"==typeof inputRefValue.focus&&inputRefValue.focus(),document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(event){event.altKey||event.ctrlKey||event.metaKey||event.shiftKey||event.repeat||(("Enter"===event.code||"Enter"===event.key)&&(event.preventDefault(),this.onSubmit()),("Escape"===event.code||"Escape"===event.key)&&(event.preventDefault(),this.props.handleCancel()))}onSubmit(){let{handleAdd,onlyValue,onSubmitValueParser,keyPath,deep}=this.props,{inputRefKey,inputRefValue}=this.state,result={};if(!onlyValue){if(!inputRefKey.value)return;result.key=inputRefKey.value}result.newValue=onSubmitValueParser(!1,keyPath,deep,result.key,inputRefValue.value),handleAdd(result)}refInputKey(node){this.state.inputRefKey=node}refInputValue(node){this.state.inputRefValue=node}render(){let{handleCancel,onlyValue,addButtonElement,cancelButtonElement,inputElementGenerator,keyPath,deep}=this.props,addButtonElementLayout=(0,react.cloneElement)(addButtonElement,{onClick:this.onSubmit}),cancelButtonElementLayout=(0,react.cloneElement)(cancelButtonElement,{onClick:handleCancel}),inputElementValue=inputElementGenerator("value",keyPath,deep),inputElementValueLayout=(0,react.cloneElement)(inputElementValue,{placeholder:"Value",ref:this.refInputValue}),inputElementKeyLayout=null;if(!onlyValue){let inputElementKey=inputElementGenerator("key",keyPath,deep);inputElementKeyLayout=(0,react.cloneElement)(inputElementKey,{placeholder:"Key",ref:this.refInputKey})}return react.createElement("span",{className:"rejt-add-value-node"},inputElementKeyLayout,inputElementValueLayout,cancelButtonElementLayout,addButtonElementLayout)}};JsonAddValue.defaultProps={onlyValue:!1,addButtonElement:react.createElement("button",null,"+"),cancelButtonElement:react.createElement("button",null,"c")};var JsonArray=class extends react.Component{constructor(props){super(props);let keyPath=[...props.keyPath,props.name];this.state={data:props.data,name:props.name,keyPath,deep:props.deep,nextDeep:props.deep+1,collapsed:props.isCollapsed(keyPath,props.deep,props.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveItem=this.handleRemoveItem.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(props,state){return props.data!==state.data?{data:props.data}:null}onChildUpdate(childKey,childData){let{data,keyPath}=this.state;data[childKey]=childData,this.setState({data});let{onUpdate}=this.props;onUpdate(keyPath[keyPath.length-1],data)}handleAddMode(){this.setState({addFormVisible:!0})}handleCollapseMode(){this.setState((state=>({collapsed:!state.collapsed})))}handleRemoveItem(index){return()=>{let{beforeRemoveAction,logger:logger4}=this.props,{data,keyPath,nextDeep:deep}=this.state,oldValue=data[index];beforeRemoveAction(index,keyPath,deep,oldValue).then((()=>{let deltaUpdateResult={keyPath,deep,key:index,oldValue,type:"REMOVE_DELTA_TYPE"};data.splice(index,1),this.setState({data});let{onUpdate,onDeltaUpdate}=this.props;onUpdate(keyPath[keyPath.length-1],data),onDeltaUpdate(deltaUpdateResult)})).catch(logger4.error)}}handleAddValueAdd({newValue}){let{data,keyPath,nextDeep:deep}=this.state,{beforeAddAction,logger:logger4}=this.props;beforeAddAction(data.length,keyPath,deep,newValue).then((()=>{let newData=[...data,newValue];this.setState({data:newData}),this.handleAddValueCancel();let{onUpdate,onDeltaUpdate}=this.props;onUpdate(keyPath[keyPath.length-1],newData),onDeltaUpdate({type:"ADD_DELTA_TYPE",keyPath,deep,key:newData.length-1,newValue})})).catch(logger4.error)}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleEditValue({key,value:value2}){return new Promise(((resolve,reject)=>{let{beforeUpdateAction}=this.props,{data,keyPath,nextDeep:deep}=this.state,oldValue=data[key];beforeUpdateAction(key,keyPath,deep,oldValue,value2).then((()=>{data[key]=value2,this.setState({data});let{onUpdate,onDeltaUpdate}=this.props;onUpdate(keyPath[keyPath.length-1],data),onDeltaUpdate({type:"UPDATE_DELTA_TYPE",keyPath,deep,key,newValue:value2,oldValue}),resolve(void 0)})).catch(reject)}))}renderCollapsed(){let{name,data,keyPath,deep}=this.state,{handleRemove,readOnly,getStyle,dataType,minusMenuElement}=this.props,{minus,collapsed}=getStyle(name,data,keyPath,deep,dataType),isReadOnly=readOnly(name,data,keyPath,deep,dataType),removeItemButton=(0,react.cloneElement)(minusMenuElement,{onClick:handleRemove,className:"rejt-minus-menu",style:minus});return react.createElement("span",{className:"rejt-collapsed"},react.createElement("span",{className:"rejt-collapsed-text",style:collapsed,onClick:this.handleCollapseMode},"[...] ",data.length," ",1===data.length?"item":"items"),!isReadOnly&&removeItemButton)}renderNotCollapsed(){let{name,data,keyPath,deep,addFormVisible,nextDeep}=this.state,{isCollapsed,handleRemove,onDeltaUpdate,readOnly,getStyle,dataType,addButtonElement,cancelButtonElement,editButtonElement,inputElementGenerator,textareaElementGenerator,minusMenuElement,plusMenuElement,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger:logger4,onSubmitValueParser}=this.props,{minus,plus,delimiter,ul,addForm}=getStyle(name,data,keyPath,deep,dataType),isReadOnly=readOnly(name,data,keyPath,deep,dataType),addItemButton=(0,react.cloneElement)(plusMenuElement,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:plus}),removeItemButton=(0,react.cloneElement)(minusMenuElement,{onClick:handleRemove,className:"rejt-minus-menu",style:minus});return react.createElement("span",{className:"rejt-not-collapsed"},react.createElement("span",{className:"rejt-not-collapsed-delimiter",style:delimiter},"["),!addFormVisible&&addItemButton,react.createElement("ul",{className:"rejt-not-collapsed-list",style:ul},data.map(((item,index)=>react.createElement(JsonNode,{key:index,name:index.toString(),data:item,keyPath,deep:nextDeep,isCollapsed,handleRemove:this.handleRemoveItem(index),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate,readOnly,getStyle,addButtonElement,cancelButtonElement,editButtonElement,inputElementGenerator,textareaElementGenerator,minusMenuElement,plusMenuElement,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger:logger4,onSubmitValueParser})))),!isReadOnly&&addFormVisible&&react.createElement("div",{className:"rejt-add-form",style:addForm},react.createElement(JsonAddValue,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:!0,addButtonElement,cancelButtonElement,inputElementGenerator,keyPath,deep,onSubmitValueParser})),react.createElement("span",{className:"rejt-not-collapsed-delimiter",style:delimiter},"]"),!isReadOnly&&removeItemButton)}render(){let{name,collapsed,data,keyPath,deep}=this.state,{dataType,getStyle}=this.props,value2=collapsed?this.renderCollapsed():this.renderNotCollapsed(),style=getStyle(name,data,keyPath,deep,dataType);return react.createElement("div",{className:"rejt-array-node"},react.createElement("span",{onClick:this.handleCollapseMode},react.createElement("span",{className:"rejt-name",style:style.name},name," :"," ")),value2)}};JsonArray.defaultProps={keyPath:[],deep:0,minusMenuElement:react.createElement("span",null," - "),plusMenuElement:react.createElement("span",null," + ")};var JsonFunctionValue=class extends react.Component{constructor(props){super(props);let keyPath=[...props.keyPath,props.name];this.state={value:props.value,name:props.name,keyPath,deep:props.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(props,state){return props.value!==state.value?{value:props.value}:null}componentDidUpdate(){let{editEnabled,inputRef,name,value:value2,keyPath,deep}=this.state,{readOnly,dataType}=this.props,readOnlyResult=readOnly(name,value2,keyPath,deep,dataType);editEnabled&&!readOnlyResult&&"function"==typeof inputRef.focus&&inputRef.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(event){event.altKey||event.ctrlKey||event.metaKey||event.shiftKey||event.repeat||(("Enter"===event.code||"Enter"===event.key)&&(event.preventDefault(),this.handleEdit()),("Escape"===event.code||"Escape"===event.key)&&(event.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue,originalValue,logger:logger4,onSubmitValueParser,keyPath}=this.props,{inputRef,name,deep}=this.state;if(!inputRef)return;let newValue=onSubmitValueParser(!0,keyPath,deep,name,inputRef.value);handleUpdateValue({value:newValue,key:name}).then((()=>{isComponentWillChange(originalValue,newValue)||this.handleCancelEdit()})).catch(logger4.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(node){this.state.inputRef=node}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name,value:value2,editEnabled,keyPath,deep}=this.state,{handleRemove,originalValue,readOnly,dataType,getStyle,editButtonElement,cancelButtonElement,textareaElementGenerator,minusMenuElement,keyPath:comeFromKeyPath}=this.props,style=getStyle(name,originalValue,keyPath,deep,dataType),result=null,minusElement=null,resultOnlyResult=readOnly(name,originalValue,keyPath,deep,dataType);if(editEnabled&&!resultOnlyResult){let textareaElement=textareaElementGenerator("value",comeFromKeyPath,deep,name,originalValue,dataType),editButtonElementLayout=(0,react.cloneElement)(editButtonElement,{onClick:this.handleEdit}),cancelButtonElementLayout=(0,react.cloneElement)(cancelButtonElement,{onClick:this.handleCancelEdit}),textareaElementLayout=(0,react.cloneElement)(textareaElement,{ref:this.refInput,defaultValue:originalValue});result=react.createElement("span",{className:"rejt-edit-form",style:style.editForm},textareaElementLayout," ",cancelButtonElementLayout,editButtonElementLayout),minusElement=null}else{result=react.createElement("span",{className:"rejt-value",style:style.value,onClick:resultOnlyResult?null:this.handleEditMode},value2);let minusMenuLayout=(0,react.cloneElement)(minusMenuElement,{onClick:handleRemove,className:"rejt-minus-menu",style:style.minus});minusElement=resultOnlyResult?null:minusMenuLayout}return react.createElement("li",{className:"rejt-function-value-node",style:style.li},react.createElement("span",{className:"rejt-name",style:style.name},name," :"," "),result,minusElement)}};JsonFunctionValue.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:react.createElement("button",null,"e"),cancelButtonElement:react.createElement("button",null,"c"),minusMenuElement:react.createElement("span",null," - ")};var JsonNode=class extends react.Component{constructor(props){super(props),this.state={data:props.data,name:props.name,keyPath:props.keyPath,deep:props.deep}}static getDerivedStateFromProps(props,state){return props.data!==state.data?{data:props.data}:null}render(){let{data,name,keyPath,deep}=this.state,{isCollapsed,handleRemove,handleUpdateValue,onUpdate,onDeltaUpdate,readOnly,getStyle,addButtonElement,cancelButtonElement,editButtonElement,inputElementGenerator,textareaElementGenerator,minusMenuElement,plusMenuElement,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger:logger4,onSubmitValueParser}=this.props,readOnlyTrue=()=>!0,dataType=getObjectType(data);switch(dataType){case"Error":return react.createElement(JsonObject,{data,name,isCollapsed,keyPath,deep,handleRemove,onUpdate,onDeltaUpdate,readOnly:readOnlyTrue,dataType,getStyle,addButtonElement,cancelButtonElement,editButtonElement,inputElementGenerator,textareaElementGenerator,minusMenuElement,plusMenuElement,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger:logger4,onSubmitValueParser});case"Object":return react.createElement(JsonObject,{data,name,isCollapsed,keyPath,deep,handleRemove,onUpdate,onDeltaUpdate,readOnly,dataType,getStyle,addButtonElement,cancelButtonElement,editButtonElement,inputElementGenerator,textareaElementGenerator,minusMenuElement,plusMenuElement,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger:logger4,onSubmitValueParser});case"Array":return react.createElement(JsonArray,{data,name,isCollapsed,keyPath,deep,handleRemove,onUpdate,onDeltaUpdate,readOnly,dataType,getStyle,addButtonElement,cancelButtonElement,editButtonElement,inputElementGenerator,textareaElementGenerator,minusMenuElement,plusMenuElement,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger:logger4,onSubmitValueParser});case"String":return react.createElement(JsonValue,{name,value:`"${data}"`,originalValue:data,keyPath,deep,handleRemove,handleUpdateValue,readOnly,dataType,getStyle,cancelButtonElement,editButtonElement,inputElementGenerator,minusMenuElement,logger:logger4,onSubmitValueParser});case"Number":return react.createElement(JsonValue,{name,value:data,originalValue:data,keyPath,deep,handleRemove,handleUpdateValue,readOnly,dataType,getStyle,cancelButtonElement,editButtonElement,inputElementGenerator,minusMenuElement,logger:logger4,onSubmitValueParser});case"Boolean":return react.createElement(JsonValue,{name,value:data?"true":"false",originalValue:data,keyPath,deep,handleRemove,handleUpdateValue,readOnly,dataType,getStyle,cancelButtonElement,editButtonElement,inputElementGenerator,minusMenuElement,logger:logger4,onSubmitValueParser});case"Date":return react.createElement(JsonValue,{name,value:data.toISOString(),originalValue:data,keyPath,deep,handleRemove,handleUpdateValue,readOnly:readOnlyTrue,dataType,getStyle,cancelButtonElement,editButtonElement,inputElementGenerator,minusMenuElement,logger:logger4,onSubmitValueParser});case"Null":return react.createElement(JsonValue,{name,value:"null",originalValue:"null",keyPath,deep,handleRemove,handleUpdateValue,readOnly,dataType,getStyle,cancelButtonElement,editButtonElement,inputElementGenerator,minusMenuElement,logger:logger4,onSubmitValueParser});case"Undefined":return react.createElement(JsonValue,{name,value:"undefined",originalValue:"undefined",keyPath,deep,handleRemove,handleUpdateValue,readOnly,dataType,getStyle,cancelButtonElement,editButtonElement,inputElementGenerator,minusMenuElement,logger:logger4,onSubmitValueParser});case"Function":return react.createElement(JsonFunctionValue,{name,value:data.toString(),originalValue:data,keyPath,deep,handleRemove,handleUpdateValue,readOnly,dataType,getStyle,cancelButtonElement,editButtonElement,textareaElementGenerator,minusMenuElement,logger:logger4,onSubmitValueParser});case"Symbol":return react.createElement(JsonValue,{name,value:data.toString(),originalValue:data,keyPath,deep,handleRemove,handleUpdateValue,readOnly:readOnlyTrue,dataType,getStyle,cancelButtonElement,editButtonElement,inputElementGenerator,minusMenuElement,logger:logger4,onSubmitValueParser});default:return null}}};JsonNode.defaultProps={keyPath:[],deep:0};var JsonObject=class extends react.Component{constructor(props){super(props);let keyPath=-1===props.deep?[]:[...props.keyPath,props.name];this.state={name:props.name,data:props.data,keyPath,deep:props.deep,nextDeep:props.deep+1,collapsed:props.isCollapsed(keyPath,props.deep,props.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveValue=this.handleRemoveValue.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(props,state){return props.data!==state.data?{data:props.data}:null}onChildUpdate(childKey,childData){let{data,keyPath}=this.state;data[childKey]=childData,this.setState({data});let{onUpdate}=this.props;onUpdate(keyPath[keyPath.length-1],data)}handleAddMode(){this.setState({addFormVisible:!0})}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleAddValueAdd({key,newValue}){let{data,keyPath,nextDeep:deep}=this.state,{beforeAddAction,logger:logger4}=this.props;beforeAddAction(key,keyPath,deep,newValue).then((()=>{data[key]=newValue,this.setState({data}),this.handleAddValueCancel();let{onUpdate,onDeltaUpdate}=this.props;onUpdate(keyPath[keyPath.length-1],data),onDeltaUpdate({type:"ADD_DELTA_TYPE",keyPath,deep,key,newValue})})).catch(logger4.error)}handleRemoveValue(key){return()=>{let{beforeRemoveAction,logger:logger4}=this.props,{data,keyPath,nextDeep:deep}=this.state,oldValue=data[key];beforeRemoveAction(key,keyPath,deep,oldValue).then((()=>{let deltaUpdateResult={keyPath,deep,key,oldValue,type:"REMOVE_DELTA_TYPE"};delete data[key],this.setState({data});let{onUpdate,onDeltaUpdate}=this.props;onUpdate(keyPath[keyPath.length-1],data),onDeltaUpdate(deltaUpdateResult)})).catch(logger4.error)}}handleCollapseMode(){this.setState((state=>({collapsed:!state.collapsed})))}handleEditValue({key,value:value2}){return new Promise(((resolve,reject)=>{let{beforeUpdateAction}=this.props,{data,keyPath,nextDeep:deep}=this.state,oldValue=data[key];beforeUpdateAction(key,keyPath,deep,oldValue,value2).then((()=>{data[key]=value2,this.setState({data});let{onUpdate,onDeltaUpdate}=this.props;onUpdate(keyPath[keyPath.length-1],data),onDeltaUpdate({type:"UPDATE_DELTA_TYPE",keyPath,deep,key,newValue:value2,oldValue}),resolve()})).catch(reject)}))}renderCollapsed(){let{name,keyPath,deep,data}=this.state,{handleRemove,readOnly,dataType,getStyle,minusMenuElement}=this.props,{minus,collapsed}=getStyle(name,data,keyPath,deep,dataType),keyList=Object.getOwnPropertyNames(data),isReadOnly=readOnly(name,data,keyPath,deep,dataType),removeItemButton=(0,react.cloneElement)(minusMenuElement,{onClick:handleRemove,className:"rejt-minus-menu",style:minus});return react.createElement("span",{className:"rejt-collapsed"},react.createElement("span",{className:"rejt-collapsed-text",style:collapsed,onClick:this.handleCollapseMode},"{...}"," ",keyList.length," ",1===keyList.length?"key":"keys"),!isReadOnly&&removeItemButton)}renderNotCollapsed(){let{name,data,keyPath,deep,nextDeep,addFormVisible}=this.state,{isCollapsed,handleRemove,onDeltaUpdate,readOnly,getStyle,dataType,addButtonElement,cancelButtonElement,editButtonElement,inputElementGenerator,textareaElementGenerator,minusMenuElement,plusMenuElement,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger:logger4,onSubmitValueParser}=this.props,{minus,plus,addForm,ul,delimiter}=getStyle(name,data,keyPath,deep,dataType),keyList=Object.getOwnPropertyNames(data),isReadOnly=readOnly(name,data,keyPath,deep,dataType),addItemButton=(0,react.cloneElement)(plusMenuElement,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:plus}),removeItemButton=(0,react.cloneElement)(minusMenuElement,{onClick:handleRemove,className:"rejt-minus-menu",style:minus}),list=keyList.map((key=>react.createElement(JsonNode,{key,name:key,data:data[key],keyPath,deep:nextDeep,isCollapsed,handleRemove:this.handleRemoveValue(key),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate,readOnly,getStyle,addButtonElement,cancelButtonElement,editButtonElement,inputElementGenerator,textareaElementGenerator,minusMenuElement,plusMenuElement,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger:logger4,onSubmitValueParser})));return react.createElement("span",{className:"rejt-not-collapsed"},react.createElement("span",{className:"rejt-not-collapsed-delimiter",style:delimiter},"{"),!isReadOnly&&addItemButton,react.createElement("ul",{className:"rejt-not-collapsed-list",style:ul},list),!isReadOnly&&addFormVisible&&react.createElement("div",{className:"rejt-add-form",style:addForm},react.createElement(JsonAddValue,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement,cancelButtonElement,inputElementGenerator,keyPath,deep,onSubmitValueParser})),react.createElement("span",{className:"rejt-not-collapsed-delimiter",style:delimiter},"}"),!isReadOnly&&removeItemButton)}render(){let{name,collapsed,data,keyPath,deep}=this.state,{getStyle,dataType}=this.props,value2=collapsed?this.renderCollapsed():this.renderNotCollapsed(),style=getStyle(name,data,keyPath,deep,dataType);return react.createElement("div",{className:"rejt-object-node"},react.createElement("span",{onClick:this.handleCollapseMode},react.createElement("span",{className:"rejt-name",style:style.name},name," :"," ")),value2)}};JsonObject.defaultProps={keyPath:[],deep:0,minusMenuElement:react.createElement("span",null," - "),plusMenuElement:react.createElement("span",null," + ")};var JsonValue=class extends react.Component{constructor(props){super(props);let keyPath=[...props.keyPath,props.name];this.state={value:props.value,name:props.name,keyPath,deep:props.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(props,state){return props.value!==state.value?{value:props.value}:null}componentDidUpdate(){let{editEnabled,inputRef,name,value:value2,keyPath,deep}=this.state,{readOnly,dataType}=this.props,isReadOnly=readOnly(name,value2,keyPath,deep,dataType);editEnabled&&!isReadOnly&&"function"==typeof inputRef.focus&&inputRef.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(event){event.altKey||event.ctrlKey||event.metaKey||event.shiftKey||event.repeat||(("Enter"===event.code||"Enter"===event.key)&&(event.preventDefault(),this.handleEdit()),("Escape"===event.code||"Escape"===event.key)&&(event.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue,originalValue,logger:logger4,onSubmitValueParser,keyPath}=this.props,{inputRef,name,deep}=this.state;if(!inputRef)return;let newValue=onSubmitValueParser(!0,keyPath,deep,name,inputRef.value);handleUpdateValue({value:newValue,key:name}).then((()=>{isComponentWillChange(originalValue,newValue)||this.handleCancelEdit()})).catch(logger4.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(node){this.state.inputRef=node}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name,value:value2,editEnabled,keyPath,deep}=this.state,{handleRemove,originalValue,readOnly,dataType,getStyle,editButtonElement,cancelButtonElement,inputElementGenerator,minusMenuElement,keyPath:comeFromKeyPath}=this.props,style=getStyle(name,originalValue,keyPath,deep,dataType),isReadOnly=readOnly(name,originalValue,keyPath,deep,dataType),isEditing=editEnabled&&!isReadOnly,inputElement=inputElementGenerator("value",comeFromKeyPath,deep,name,originalValue,dataType),editButtonElementLayout=(0,react.cloneElement)(editButtonElement,{onClick:this.handleEdit}),cancelButtonElementLayout=(0,react.cloneElement)(cancelButtonElement,{onClick:this.handleCancelEdit}),inputElementLayout=(0,react.cloneElement)(inputElement,{ref:this.refInput,defaultValue:JSON.stringify(originalValue)}),minusMenuLayout=(0,react.cloneElement)(minusMenuElement,{onClick:handleRemove,className:"rejt-minus-menu",style:style.minus});return react.createElement("li",{className:"rejt-value-node",style:style.li},react.createElement("span",{className:"rejt-name",style:style.name},name," : "),isEditing?react.createElement("span",{className:"rejt-edit-form",style:style.editForm},inputElementLayout," ",cancelButtonElementLayout,editButtonElementLayout):react.createElement("span",{className:"rejt-value",style:style.value,onClick:isReadOnly?null:this.handleEditMode},String(value2)),!isReadOnly&&!isEditing&&minusMenuLayout)}};JsonValue.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:react.createElement("button",null,"e"),cancelButtonElement:react.createElement("button",null,"c"),minusMenuElement:react.createElement("span",null," - ")};var object={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},array={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},value={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}},JsonTree=class extends react.Component{constructor(props){super(props),this.state={data:props.data,rootName:props.rootName},this.onUpdate=this.onUpdate.bind(this),this.removeRoot=this.removeRoot.bind(this)}static getDerivedStateFromProps(props,state){return props.data!==state.data||props.rootName!==state.rootName?{data:props.data,rootName:props.rootName}:null}onUpdate(key,data){this.setState({data}),this.props.onFullyUpdate(data)}removeRoot(){this.onUpdate(null,null)}render(){let{data,rootName}=this.state,{isCollapsed,onDeltaUpdate,readOnly,getStyle,addButtonElement,cancelButtonElement,editButtonElement,inputElement,textareaElement,minusMenuElement,plusMenuElement,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger:logger4,onSubmitValueParser,fallback=null}=this.props,dataType=getObjectType(data),readOnlyFunction=readOnly;"Boolean"===getObjectType(readOnly)&&(readOnlyFunction=()=>readOnly);let inputElementFunction=inputElement;inputElement&&"Function"!==getObjectType(inputElement)&&(inputElementFunction=()=>inputElement);let textareaElementFunction=textareaElement;return textareaElement&&"Function"!==getObjectType(textareaElement)&&(textareaElementFunction=()=>textareaElement),"Object"===dataType||"Array"===dataType?react.createElement("div",{className:"rejt-tree"},react.createElement(JsonNode,{data,name:rootName,deep:-1,isCollapsed,onUpdate:this.onUpdate,onDeltaUpdate,readOnly:readOnlyFunction,getStyle,addButtonElement,cancelButtonElement,editButtonElement,inputElementGenerator:inputElementFunction,textareaElementGenerator:textareaElementFunction,minusMenuElement,plusMenuElement,handleRemove:this.removeRoot,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger:logger4,onSubmitValueParser})):fallback}};JsonTree.defaultProps={rootName:"root",isCollapsed:(keyPath,deep)=>-1!==deep,getStyle:(keyName,data,keyPath,deep,dataType)=>{switch(dataType){case"Object":case"Error":return object;case"Array":return array;default:return value}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(isEditMode,keyPath,deep,name,rawValue)=>function parse3(string){let result=string;if(0===result.indexOf("function"))return(0,eval)(`(${result})`);try{result=JSON.parse(string)}catch{}return result}(rawValue),inputElement:()=>react.createElement("input",null),textareaElement:()=>react.createElement("textarea",null),fallback:null};var{window:globalWindow2}=external_STORYBOOK_MODULE_GLOBAL_.global,Wrapper6=theming.I4.div((({theme})=>({position:"relative",display:"flex",'&[aria-readonly="true"]':{opacity:.5},".rejt-tree":{marginLeft:"1rem",fontSize:"13px"},".rejt-value-node, .rejt-object-node > .rejt-collapsed, .rejt-array-node > .rejt-collapsed, .rejt-object-node > .rejt-not-collapsed, .rejt-array-node > .rejt-not-collapsed":{"& > svg":{opacity:0,transition:"opacity 0.2s"}},".rejt-value-node:hover, .rejt-object-node:hover > .rejt-collapsed, .rejt-array-node:hover > .rejt-collapsed, .rejt-object-node:hover > .rejt-not-collapsed, .rejt-array-node:hover > .rejt-not-collapsed":{"& > svg":{opacity:1}},".rejt-edit-form button":{display:"none"},".rejt-add-form":{marginLeft:10},".rejt-add-value-node":{display:"inline-flex",alignItems:"center"},".rejt-name":{lineHeight:"22px"},".rejt-not-collapsed-delimiter":{lineHeight:"22px"},".rejt-plus-menu":{marginLeft:5},".rejt-object-node > span > *, .rejt-array-node > span > *":{position:"relative",zIndex:2},".rejt-object-node, .rejt-array-node":{position:"relative"},".rejt-object-node > span:first-of-type::after, .rejt-array-node > span:first-of-type::after, .rejt-collapsed::before, .rejt-not-collapsed::before":{content:'""',position:"absolute",top:0,display:"block",width:"100%",marginLeft:"-1rem",padding:"0 4px 0 1rem",height:22},".rejt-collapsed::before, .rejt-not-collapsed::before":{zIndex:1,background:"transparent",borderRadius:4,transition:"background 0.2s",pointerEvents:"none",opacity:.1},".rejt-object-node:hover, .rejt-array-node:hover":{"& > .rejt-collapsed::before, & > .rejt-not-collapsed::before":{background:theme.color.secondary}},".rejt-collapsed::after, .rejt-not-collapsed::after":{content:'""',position:"absolute",display:"inline-block",pointerEvents:"none",width:0,height:0},".rejt-collapsed::after":{left:-8,top:8,borderTop:"3px solid transparent",borderBottom:"3px solid transparent",borderLeft:"3px solid rgba(153,153,153,0.6)"},".rejt-not-collapsed::after":{left:-10,top:10,borderTop:"3px solid rgba(153,153,153,0.6)",borderLeft:"3px solid transparent",borderRight:"3px solid transparent"},".rejt-value":{display:"inline-block",border:"1px solid transparent",borderRadius:4,margin:"1px 0",padding:"0 4px",cursor:"text",color:theme.color.defaultText},".rejt-value-node:hover > .rejt-value":{background:theme.color.lighter,borderColor:theme.appBorderColor}}))),ButtonInline=theming.I4.button((({theme,primary})=>({border:0,height:20,margin:1,borderRadius:4,background:primary?theme.color.secondary:"transparent",color:primary?theme.color.lightest:theme.color.dark,fontWeight:primary?"bold":"normal",cursor:"pointer",order:primary?"initial":9}))),ActionAddIcon=(0,theming.I4)(dist.REV)((({theme,disabled})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:disabled?"not-allowed":"pointer",color:theme.textMutedColor,"&:hover":disabled?{}:{color:theme.color.ancillary},"svg + &":{marginLeft:0}}))),ActionSubstractIcon=(0,theming.I4)(dist.Qpb)((({theme,disabled})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:disabled?"not-allowed":"pointer",color:theme.textMutedColor,"&:hover":disabled?{}:{color:theme.color.negative},"svg + &":{marginLeft:0}}))),Input=theming.I4.input((({theme,placeholder})=>({outline:0,margin:placeholder?1:"1px 0",padding:"3px 4px",color:theme.color.defaultText,background:theme.background.app,border:`1px solid ${theme.appBorderColor}`,borderRadius:4,lineHeight:"14px",width:"Key"===placeholder?80:120,"&:focus":{border:`1px solid ${theme.color.secondary}`}}))),RawButton=(0,theming.I4)(components.K0)((({theme})=>({position:"absolute",zIndex:2,top:2,right:2,height:21,padding:"0 3px",background:theme.background.bar,border:`1px solid ${theme.appBorderColor}`,borderRadius:3,color:theme.textMutedColor,fontSize:"9px",fontWeight:"bold",textDecoration:"none",span:{marginLeft:3,marginTop:1}}))),RawInput=(0,theming.I4)(components.lV.Textarea)((({theme})=>({flex:1,padding:"7px 6px",fontFamily:theme.typography.fonts.mono,fontSize:"12px",lineHeight:"18px","&::placeholder":{fontFamily:theme.typography.fonts.base,fontSize:"13px"},"&:placeholder-shown":{padding:"7px 10px"}}))),ENTER_EVENT={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},dispatchEnterKey=event=>{event.currentTarget.dispatchEvent(new globalWindow2.KeyboardEvent("keydown",ENTER_EVENT))},selectValue=event=>{event.currentTarget.select()},getCustomStyleFunction=theme=>()=>({name:{color:theme.color.secondary},collapsed:{color:theme.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}),ObjectControl=({name,value:value2,onChange,argType})=>{let theme=(0,theming.DP)(),data=(0,react.useMemo)((()=>value2&&cloneDeep_default()(value2)),[value2]),hasData=null!=data,[showRaw,setShowRaw]=(0,react.useState)(!hasData),[parseError,setParseError]=(0,react.useState)(null),readonly=!!argType?.table?.readonly,updateRaw=(0,react.useCallback)((raw=>{try{raw&&onChange(JSON.parse(raw)),setParseError(void 0)}catch(e){setParseError(e)}}),[onChange]),[forceVisible,setForceVisible]=(0,react.useState)(!1),onForceVisible=(0,react.useCallback)((()=>{onChange({}),setForceVisible(!0)}),[setForceVisible]),htmlElRef=(0,react.useRef)(null);if((0,react.useEffect)((()=>{forceVisible&&htmlElRef.current&&htmlElRef.current.select()}),[forceVisible]),!hasData)return react.createElement(components.$n,{disabled:readonly,id:(0,chunk_MKV36LKP.Yq)(name),onClick:onForceVisible},"Set object");let rawJSONForm=react.createElement(RawInput,{ref:htmlElRef,id:(0,chunk_MKV36LKP.ZA)(name),name,defaultValue:null===value2?"":JSON.stringify(value2,null,2),onBlur:event=>updateRaw(event.target.value),placeholder:"Edit JSON string...",autoFocus:forceVisible,valid:parseError?"error":null,readOnly:readonly}),isObjectOrArray=Array.isArray(value2)||"object"==typeof value2&&value2?.constructor===Object;return react.createElement(Wrapper6,{"aria-readonly":readonly},isObjectOrArray&&react.createElement(RawButton,{onClick:e=>{e.preventDefault(),setShowRaw((v=>!v))}},showRaw?react.createElement(dist.dbI,null):react.createElement(dist.bMW,null),react.createElement("span",null,"RAW")),showRaw?rawJSONForm:react.createElement(JsonTree,{readOnly:readonly||!isObjectOrArray,isCollapsed:isObjectOrArray?void 0:()=>!0,data,rootName:name,onFullyUpdate:onChange,getStyle:getCustomStyleFunction(theme),cancelButtonElement:react.createElement(ButtonInline,{type:"button"},"Cancel"),editButtonElement:react.createElement(ButtonInline,{type:"submit"},"Save"),addButtonElement:react.createElement(ButtonInline,{type:"submit",primary:!0},"Save"),plusMenuElement:react.createElement(ActionAddIcon,null),minusMenuElement:react.createElement(ActionSubstractIcon,null),inputElement:(_,__,___,key)=>key?react.createElement(Input,{onFocus:selectValue,onBlur:dispatchEnterKey}):react.createElement(Input,null),fallback:rawJSONForm}))},RangeInput=theming.I4.input((({theme,min,max,value:value2,disabled})=>({"&":{width:"100%",backgroundColor:"transparent",appearance:"none"},"&::-webkit-slider-runnable-track":{background:"light"===theme.base?`linear-gradient(to right, \n ${theme.color.green} 0%, ${theme.color.green} ${(value2-min)/(max-min)*100}%, \n ${(0,polished_esm.e$)(.02,theme.input.background)} ${(value2-min)/(max-min)*100}%, \n ${(0,polished_esm.e$)(.02,theme.input.background)} 100%)`:`linear-gradient(to right, \n ${theme.color.green} 0%, ${theme.color.green} ${(value2-min)/(max-min)*100}%, \n ${(0,polished_esm.a)(.02,theme.input.background)} ${(value2-min)/(max-min)*100}%, \n ${(0,polished_esm.a)(.02,theme.input.background)} 100%)`,boxShadow:`${theme.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:disabled?"not-allowed":"pointer"},"&::-webkit-slider-thumb":{marginTop:"-6px",width:16,height:16,border:`1px solid ${(0,polished_esm.B3)(theme.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${(0,polished_esm.B3)(theme.appBorderColor,.2)}`,cursor:disabled?"not-allowed":"grab",appearance:"none",background:`${theme.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${(0,polished_esm.e$)(.05,theme.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${theme.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:disabled?"not-allowed":"grab"}},"&:focus":{outline:"none","&::-webkit-slider-runnable-track":{borderColor:(0,polished_esm.B3)(theme.color.secondary,.4)},"&::-webkit-slider-thumb":{borderColor:theme.color.secondary,boxShadow:`0 0px 5px 0px ${theme.color.secondary}`}},"&::-moz-range-track":{background:"light"===theme.base?`linear-gradient(to right, \n ${theme.color.green} 0%, ${theme.color.green} ${(value2-min)/(max-min)*100}%, \n ${(0,polished_esm.e$)(.02,theme.input.background)} ${(value2-min)/(max-min)*100}%, \n ${(0,polished_esm.e$)(.02,theme.input.background)} 100%)`:`linear-gradient(to right, \n ${theme.color.green} 0%, ${theme.color.green} ${(value2-min)/(max-min)*100}%, \n ${(0,polished_esm.a)(.02,theme.input.background)} ${(value2-min)/(max-min)*100}%, \n ${(0,polished_esm.a)(.02,theme.input.background)} 100%)`,boxShadow:`${theme.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:disabled?"not-allowed":"pointer",outline:"none"},"&::-moz-range-thumb":{width:16,height:16,border:`1px solid ${(0,polished_esm.B3)(theme.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${(0,polished_esm.B3)(theme.appBorderColor,.2)}`,cursor:disabled?"not-allowed":"grap",background:`${theme.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${(0,polished_esm.e$)(.05,theme.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${theme.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:"grabbing"}},"&::-ms-track":{background:"light"===theme.base?`linear-gradient(to right, \n ${theme.color.green} 0%, ${theme.color.green} ${(value2-min)/(max-min)*100}%, \n ${(0,polished_esm.e$)(.02,theme.input.background)} ${(value2-min)/(max-min)*100}%, \n ${(0,polished_esm.e$)(.02,theme.input.background)} 100%)`:`linear-gradient(to right, \n ${theme.color.green} 0%, ${theme.color.green} ${(value2-min)/(max-min)*100}%, \n ${(0,polished_esm.a)(.02,theme.input.background)} ${(value2-min)/(max-min)*100}%, \n ${(0,polished_esm.a)(.02,theme.input.background)} 100%)`,boxShadow:`${theme.appBorderColor} 0 0 0 1px inset`,color:"transparent",width:"100%",height:"6px",cursor:"pointer"},"&::-ms-fill-lower":{borderRadius:6},"&::-ms-fill-upper":{borderRadius:6},"&::-ms-thumb":{width:16,height:16,background:`${theme.input.background}`,border:`1px solid ${(0,polished_esm.B3)(theme.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}}))),RangeLabel=theming.I4.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),RangeCurrentAndMaxLabel=(0,theming.I4)(RangeLabel)((({numberOFDecimalsPlaces,max})=>({width:`${numberOFDecimalsPlaces+2*max.toString().length+3}ch`,textAlign:"right",flexShrink:0}))),RangeWrapper=theming.I4.div({display:"flex",alignItems:"center",width:"100%"});var Wrapper7=theming.I4.label({display:"flex"}),MaxLength=theming.I4.div((({isMaxed})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:isMaxed?"red":void 0}))),FileInput=(0,theming.I4)(components.lV.Input)({padding:10});var LazyColorControl=(0,react.lazy)((()=>__webpack_require__.e(7122).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@storybook/blocks/dist/Color-ERTF36HU.mjs")))),Controls2={array:ObjectControl,object:ObjectControl,boolean:({name,value:value2,onChange,onBlur,onFocus,argType})=>{let onSetFalse=(0,react.useCallback)((()=>onChange(!1)),[onChange]),readonly=!!argType?.table?.readonly;if(void 0===value2)return react.createElement(components.$n,{variant:"outline",size:"medium",id:(0,chunk_MKV36LKP.Yq)(name),onClick:onSetFalse,disabled:readonly},"Set boolean");let controlId=(0,chunk_MKV36LKP.ZA)(name),parsedValue="string"==typeof value2?(value2=>"true"===value2)(value2):value2;return react.createElement(Label,{"aria-disabled":readonly,htmlFor:controlId,"aria-label":name},react.createElement("input",{id:controlId,type:"checkbox",onChange:e=>onChange(e.target.checked),checked:parsedValue,role:"switch",disabled:readonly,name,onBlur,onFocus}),react.createElement("span",{"aria-hidden":"true"},"False"),react.createElement("span",{"aria-hidden":"true"},"True"))},color:props=>react.createElement(react.Suspense,{fallback:react.createElement("div",null)},react.createElement(LazyColorControl,{...props})),date:({name,value:value2,onChange,onFocus,onBlur,argType})=>{let[valid,setValid]=(0,react.useState)(!0),dateRef=(0,react.useRef)(),timeRef=(0,react.useRef)(),readonly=!!argType?.table?.readonly;(0,react.useEffect)((()=>{!1!==valid&&(dateRef&&dateRef.current&&(dateRef.current.value=value2?(value2=>{let date=new Date(value2);return`${`000${date.getFullYear()}`.slice(-4)}-${`0${date.getMonth()+1}`.slice(-2)}-${`0${date.getDate()}`.slice(-2)}`})(value2):""),timeRef&&timeRef.current&&(timeRef.current.value=value2?(value2=>{let date=new Date(value2);return`${`0${date.getHours()}`.slice(-2)}:${`0${date.getMinutes()}`.slice(-2)}`})(value2):""))}),[value2]);let controlId=(0,chunk_MKV36LKP.ZA)(name);return react.createElement(FlexSpaced,null,react.createElement(FormInput,{type:"date",max:"9999-12-31",ref:dateRef,id:`${controlId}-date`,name:`${controlId}-date`,readOnly:readonly,onChange:e=>{if(!e.target.value)return onChange();let parsed=(value2=>{let[year,month,day]=value2.split("-"),result=new Date;return result.setFullYear(parseInt(year,10),parseInt(month,10)-1,parseInt(day,10)),result})(e.target.value),result=new Date(value2);result.setFullYear(parsed.getFullYear(),parsed.getMonth(),parsed.getDate());let time=result.getTime();time&&onChange(time),setValid(!!time)},onFocus,onBlur}),react.createElement(FormInput,{type:"time",id:`${controlId}-time`,name:`${controlId}-time`,ref:timeRef,onChange:e=>{if(!e.target.value)return onChange();let parsed=(value2=>{let[hours,minutes]=value2.split(":"),result=new Date;return result.setHours(parseInt(hours,10)),result.setMinutes(parseInt(minutes,10)),result})(e.target.value),result=new Date(value2);result.setHours(parsed.getHours()),result.setMinutes(parsed.getMinutes());let time=result.getTime();time&&onChange(time),setValid(!!time)},readOnly:readonly,onFocus,onBlur}),valid?null:react.createElement("div",null,"invalid"))},number:({name,value:value2,onChange,min,max,step,onBlur,onFocus,argType})=>{let[inputValue,setInputValue]=(0,react.useState)("number"==typeof value2?value2:""),[forceVisible,setForceVisible]=(0,react.useState)(!1),[parseError,setParseError]=(0,react.useState)(null),readonly=!!argType?.table?.readonly,handleChange=(0,react.useCallback)((event=>{setInputValue(event.target.value);let result=parseFloat(event.target.value);Number.isNaN(result)?setParseError(new Error(`'${event.target.value}' is not a number`)):(onChange(result),setParseError(null))}),[onChange,setParseError]),onForceVisible=(0,react.useCallback)((()=>{setInputValue("0"),onChange(0),setForceVisible(!0)}),[setForceVisible]),htmlElRef=(0,react.useRef)(null);return(0,react.useEffect)((()=>{forceVisible&&htmlElRef.current&&htmlElRef.current.select()}),[forceVisible]),(0,react.useEffect)((()=>{inputValue!==("number"==typeof value2?value2:"")&&setInputValue(value2)}),[value2]),void 0===value2?react.createElement(components.$n,{variant:"outline",size:"medium",id:(0,chunk_MKV36LKP.Yq)(name),onClick:onForceVisible,disabled:readonly},"Set number"):react.createElement(Wrapper3,null,react.createElement(FormInput2,{ref:htmlElRef,id:(0,chunk_MKV36LKP.ZA)(name),type:"number",onChange:handleChange,size:"flex",placeholder:"Edit number...",value:inputValue,valid:parseError?"error":null,autoFocus:forceVisible,readOnly:readonly,name,min,max,step,onFocus,onBlur}))},check:OptionsControl,"inline-check":OptionsControl,radio:OptionsControl,"inline-radio":OptionsControl,select:OptionsControl,"multi-select":OptionsControl,range:({name,value:value2,onChange,min=0,max=100,step=1,onBlur,onFocus,argType})=>{let hasValue=void 0!==value2,numberOFDecimalsPlaces=(0,react.useMemo)((()=>function getNumberOfDecimalPlaces(number){let match=number.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return match?Math.max(0,(match[1]?match[1].length:0)-(match[2]?+match[2]:0)):0}(step)),[step]),readonly=!!argType?.table?.readonly;return react.createElement(RangeWrapper,{"aria-readonly":readonly},react.createElement(RangeLabel,null,min),react.createElement(RangeInput,{id:(0,chunk_MKV36LKP.ZA)(name),type:"range",disabled:readonly,onChange:event=>{onChange((value2=>{let result=parseFloat(value2);return Number.isNaN(result)?void 0:result})(event.target.value))},name,value:value2,min,max,step,onFocus,onBlur}),react.createElement(RangeCurrentAndMaxLabel,{numberOFDecimalsPlaces,max},hasValue?value2.toFixed(numberOFDecimalsPlaces):"--"," / ",max))},text:({name,value:value2,onChange,onFocus,onBlur,maxLength,argType})=>{let readonly=!!argType?.table?.readonly,[forceVisible,setForceVisible]=(0,react.useState)(!1),onForceVisible=(0,react.useCallback)((()=>{onChange(""),setForceVisible(!0)}),[setForceVisible]);if(void 0===value2)return react.createElement(components.$n,{variant:"outline",size:"medium",disabled:readonly,id:(0,chunk_MKV36LKP.Yq)(name),onClick:onForceVisible},"Set string");let isValid="string"==typeof value2;return react.createElement(Wrapper7,null,react.createElement(components.lV.Textarea,{id:(0,chunk_MKV36LKP.ZA)(name),maxLength,onChange:event=>{onChange(event.target.value)},disabled:readonly,size:"flex",placeholder:"Edit string...",autoFocus:forceVisible,valid:isValid?null:"error",name,value:isValid?value2:"",onFocus,onBlur}),maxLength&&react.createElement(MaxLength,{isMaxed:value2?.length===maxLength},value2?.length??0," / ",maxLength))},file:({onChange,name,accept="image/*",value:value2,argType})=>{let inputElement=(0,react.useRef)(null),readonly=argType?.control?.readOnly;return(0,react.useEffect)((()=>{null==value2&&inputElement.current&&(inputElement.current.value=null)}),[value2,name]),react.createElement(FileInput,{ref:inputElement,id:(0,chunk_MKV36LKP.ZA)(name),type:"file",name,multiple:!0,disabled:readonly,onChange:function handleFileChange(e){if(!e.target.files)return;let fileUrls=Array.from(e.target.files).map((file=>URL.createObjectURL(file)));onChange(fileUrls),function revokeOldUrls(urls){urls.forEach((url=>{url.startsWith("blob:")&&URL.revokeObjectURL(url)}))}(value2)},accept,size:"flex"})}},NoControl=()=>react.createElement(react.Fragment,null,"-"),ArgControl=({row,arg,updateArgs,isHovered})=>{let{key,control}=row,[isFocused,setFocused]=(0,react.useState)(!1),[boxedValue,setBoxedValue]=(0,react.useState)({value:arg});(0,react.useEffect)((()=>{isFocused||setBoxedValue({value:arg})}),[isFocused,arg]);let onChange=(0,react.useCallback)((argVal=>(setBoxedValue({value:argVal}),updateArgs({[key]:argVal}),argVal)),[updateArgs,key]),onBlur=(0,react.useCallback)((()=>setFocused(!1)),[]),onFocus=(0,react.useCallback)((()=>setFocused(!0)),[]);if(!control||control.disable){return isHovered&&(!0!==control?.disable&&"function"!==row?.type?.name)?react.createElement(components.N_,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):react.createElement(NoControl,null)}let props={name:key,argType:row,value:boxedValue.value,onChange,onBlur,onFocus},Control=Controls2[control.type]||NoControl;return react.createElement(Control,{...props,...control,controlType:control.type})},Table=theming.I4.table((({theme})=>({"&&":{borderCollapse:"collapse",borderSpacing:0,border:"none",tr:{border:"none !important",background:"none"},"td, th":{padding:0,border:"none",width:"auto!important"},marginTop:0,marginBottom:0,"th:first-of-type, td:first-of-type":{paddingLeft:0},"th:last-of-type, td:last-of-type":{paddingRight:0},td:{paddingTop:0,paddingBottom:4,"&:not(:first-of-type)":{paddingLeft:10,paddingRight:0}},tbody:{boxShadow:"none",border:"none"},code:(0,components.zb)({theme}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:theme.typography.size.s1}}}))),ArgJsDoc=({tags})=>{let params=(tags.params||[]).filter((x=>x.description)),hasDisplayableParams=0!==params.length,hasDisplayableDeprecated=null!=tags.deprecated,hasDisplayableReturns=null!=tags.returns&&null!=tags.returns.description;return hasDisplayableParams||hasDisplayableReturns||hasDisplayableDeprecated?react.createElement(react.Fragment,null,react.createElement(Table,null,react.createElement("tbody",null,hasDisplayableDeprecated&&react.createElement("tr",{key:"deprecated"},react.createElement("td",{colSpan:2},react.createElement("strong",null,"Deprecated"),": ",tags.deprecated.toString())),hasDisplayableParams&¶ms.map((x=>react.createElement("tr",{key:x.name},react.createElement("td",null,react.createElement("code",null,x.name)),react.createElement("td",null,x.description)))),hasDisplayableReturns&&react.createElement("tr",{key:"returns"},react.createElement("td",null,react.createElement("code",null,"Returns")),react.createElement("td",null,tags.returns.description))))):null},Summary=theming.I4.div((({isExpanded})=>({display:"flex",flexDirection:isExpanded?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100}))),Text3=theming.I4.span(components.zb,(({theme,simple=!1})=>({flex:"0 0 auto",fontFamily:theme.typography.fonts.mono,fontSize:theme.typography.size.s1,wordBreak:"break-word",whiteSpace:"normal",maxWidth:"100%",margin:0,marginRight:"4px",marginBottom:"4px",paddingTop:"2px",paddingBottom:"2px",lineHeight:"13px",...simple&&{background:"transparent",border:"0 none",paddingLeft:0}}))),ExpandButton=theming.I4.button((({theme})=>({fontFamily:theme.typography.fonts.mono,color:theme.color.secondary,marginBottom:"4px",background:"none",border:"none"}))),Expandable=theming.I4.div(components.zb,(({theme})=>({fontFamily:theme.typography.fonts.mono,color:theme.color.secondary,fontSize:theme.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"}))),Detail=theming.I4.div((({theme,width})=>({width,minWidth:200,maxWidth:800,padding:15,fontFamily:theme.typography.fonts.mono,fontSize:theme.typography.size.s1,boxSizing:"content-box","& code":{padding:"0 !important"}}))),ChevronUpIcon=(0,theming.I4)(dist.tN5)({marginLeft:4}),ChevronDownIcon=(0,theming.I4)(dist.abt)({marginLeft:4}),EmptyArg=()=>react.createElement("span",null,"-"),ArgText=({text,simple})=>react.createElement(Text3,{simple},text),calculateDetailWidth=memoizerific_default()(1e3)((detail=>{let lines=detail.split(/\r?\n/);return`${Math.max(...lines.map((x=>x.length)))}ch`})),renderSummaryItems=(summaryItems,isExpanded=!0)=>{let items=summaryItems;return isExpanded||(items=summaryItems.slice(0,8)),items.map((item=>react.createElement(ArgText,{key:item,text:""===item?'""':item})))},ArgSummary=({value:value2,initialExpandedArgs})=>{let{summary,detail}=value2,[isOpen,setIsOpen]=(0,react.useState)(!1),[isExpanded,setIsExpanded]=(0,react.useState)(initialExpandedArgs||!1);if(null==summary)return null;let summaryAsString="function"==typeof summary.toString?summary.toString():summary;if(null==detail){if(/[(){}[\]<>]/.test(summaryAsString))return react.createElement(ArgText,{text:summaryAsString});let summaryItems=(summary=>{if(!summary)return[summary];let summaryItems=summary.split("|").map((value2=>value2.trim()));return uniq_default()(summaryItems)})(summaryAsString),itemsCount=summaryItems.length;return itemsCount>8?react.createElement(Summary,{isExpanded},renderSummaryItems(summaryItems,isExpanded),react.createElement(ExpandButton,{onClick:()=>setIsExpanded(!isExpanded)},isExpanded?"Show less...":`Show ${itemsCount-8} more...`)):react.createElement(Summary,null,renderSummaryItems(summaryItems))}return react.createElement(components.o4,{closeOnOutsideClick:!0,placement:"bottom",visible:isOpen,onVisibleChange:isVisible=>{setIsOpen(isVisible)},tooltip:react.createElement(Detail,{width:calculateDetailWidth(detail)},react.createElement(components.bF,{language:"jsx",format:!1},detail))},react.createElement(Expandable,{className:"sbdocs-expandable"},react.createElement("span",null,summaryAsString),isOpen?react.createElement(ChevronUpIcon,null):react.createElement(ChevronDownIcon,null)))},ArgValue=({value:value2,initialExpandedArgs})=>null==value2?react.createElement(EmptyArg,null):react.createElement(ArgSummary,{value:value2,initialExpandedArgs}),Name=theming.I4.span({fontWeight:"bold"}),Required=theming.I4.span((({theme})=>({color:theme.color.negative,fontFamily:theme.typography.fonts.mono,cursor:"help"}))),Description=theming.I4.div((({theme})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:theme.color.secondary}},code:{...(0,components.zb)({theme}),fontSize:12,fontFamily:theme.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}}))),Type=theming.I4.div((({theme,hasDescription})=>({color:"light"===theme.base?(0,polished_esm.No)(.1,theme.color.defaultText):(0,polished_esm.No)(.2,theme.color.defaultText),marginTop:hasDescription?4:0}))),TypeWithJsDoc=theming.I4.div((({theme,hasDescription})=>({color:"light"===theme.base?(0,polished_esm.No)(.1,theme.color.defaultText):(0,polished_esm.No)(.2,theme.color.defaultText),marginTop:hasDescription?12:0,marginBottom:12}))),StyledTd=theming.I4.td((({theme,expandable})=>({paddingLeft:expandable?"40px !important":"20px !important"}))),ArgRow=props=>{let[isHovered,setIsHovered]=(0,react.useState)(!1),{row,updateArgs,compact,expandable,initialExpandedArgs}=props,{name,description}=row,table=row.table||{},type=table.type||(value2=row.type)&&{summary:"string"==typeof value2?value2:value2.name},defaultValue=table.defaultValue||row.defaultValue,required=row.type?.required,hasDescription=null!=description&&""!==description;var value2;return react.createElement("tr",{onMouseEnter:()=>setIsHovered(!0),onMouseLeave:()=>setIsHovered(!1)},react.createElement(StyledTd,{expandable},react.createElement(Name,null,name),required?react.createElement(Required,{title:"Required"},"*"):null),compact?null:react.createElement("td",null,hasDescription&&react.createElement(Description,null,react.createElement(index_modern,null,description)),null!=table.jsDocTags?react.createElement(react.Fragment,null,react.createElement(TypeWithJsDoc,{hasDescription},react.createElement(ArgValue,{value:type,initialExpandedArgs})),react.createElement(ArgJsDoc,{tags:table.jsDocTags})):react.createElement(Type,{hasDescription},react.createElement(ArgValue,{value:type,initialExpandedArgs}))),compact?null:react.createElement("td",null,react.createElement(ArgValue,{value:defaultValue,initialExpandedArgs})),updateArgs?react.createElement("td",null,react.createElement(ArgControl,{...props,isHovered})):null)},Wrapper8=theming.I4.div((({inAddonPanel,theme})=>({height:inAddonPanel?"100%":"auto",display:"flex",border:inAddonPanel?"none":`1px solid ${theme.appBorderColor}`,borderRadius:inAddonPanel?0:theme.appBorderRadius,padding:inAddonPanel?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:theme.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"}))),Links=theming.I4.div((({theme})=>({display:"flex",fontSize:theme.typography.size.s2-1,gap:25}))),Divider=theming.I4.div((({theme})=>({width:1,height:16,backgroundColor:theme.appBorderColor}))),Empty=({inAddonPanel})=>{let[isLoading,setIsLoading]=(0,react.useState)(!0);return(0,react.useEffect)((()=>{let load=setTimeout((()=>{setIsLoading(!1)}),100);return()=>clearTimeout(load)}),[]),isLoading?null:react.createElement(Wrapper8,{inAddonPanel},react.createElement(components.Q2,{title:inAddonPanel?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:react.createElement(react.Fragment,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically."),footer:react.createElement(Links,null,inAddonPanel&&react.createElement(react.Fragment,null,react.createElement(components.N_,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},react.createElement(dist.npA,null)," Watch 5m video"),react.createElement(Divider,null),react.createElement(components.N_,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},react.createElement(dist.pyG,null)," Read docs")),!inAddonPanel&&react.createElement(components.N_,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},react.createElement(dist.pyG,null)," Learn how to set that up"))}))},ExpanderIconDown=(0,theming.I4)(dist.D3D)((({theme})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:"light"===theme.base?(0,polished_esm.No)(.25,theme.color.defaultText):(0,polished_esm.No)(.3,theme.color.defaultText),border:"none",display:"inline-block"}))),ExpanderIconRight=(0,theming.I4)(dist.vKP)((({theme})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:"light"===theme.base?(0,polished_esm.No)(.25,theme.color.defaultText):(0,polished_esm.No)(.3,theme.color.defaultText),border:"none",display:"inline-block"}))),FlexWrapper=theming.I4.span((({theme})=>({display:"flex",lineHeight:"20px",alignItems:"center"}))),Section=theming.I4.td((({theme})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:theme.typography.weight.bold,fontSize:theme.typography.size.s1-1,color:"light"===theme.base?(0,polished_esm.No)(.4,theme.color.defaultText):(0,polished_esm.No)(.6,theme.color.defaultText),background:`${theme.background.app} !important`,"& ~ td":{background:`${theme.background.app} !important`}}))),Subsection=theming.I4.td((({theme})=>({position:"relative",fontWeight:theme.typography.weight.bold,fontSize:theme.typography.size.s2-1,background:theme.background.app}))),StyledTd2=theming.I4.td((()=>({position:"relative"}))),StyledTr=theming.I4.tr((({theme})=>({"&:hover > td":{backgroundColor:`${(0,polished_esm.a)(.005,theme.background.app)} !important`,boxShadow:`${theme.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}}))),ClickIntercept=theming.I4.button((()=>({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"}))),SectionRow=({level="section",label,children,initialExpanded=!0,colSpan=3})=>{let[expanded,setExpanded]=(0,react.useState)(initialExpanded),Level="subsection"===level?Subsection:Section,itemCount=children?.length||0,caption="subsection"===level?`${itemCount} item${1!==itemCount?"s":""}`:"",helperText=`${expanded?"Hide":"Show"} ${"subsection"===level?itemCount:label} item${1!==itemCount?"s":""}`;return react.createElement(react.Fragment,null,react.createElement(StyledTr,{title:helperText},react.createElement(Level,{colSpan:1},react.createElement(ClickIntercept,{onClick:e=>setExpanded(!expanded),tabIndex:0},helperText),react.createElement(FlexWrapper,null,expanded?react.createElement(ExpanderIconDown,null):react.createElement(ExpanderIconRight,null),label)),react.createElement(StyledTd2,{colSpan:colSpan-1},react.createElement(ClickIntercept,{onClick:e=>setExpanded(!expanded),tabIndex:-1,style:{outline:"none"}},helperText),expanded?null:caption)),expanded?children:null)},Row=theming.I4.div((({theme})=>({display:"flex",gap:16,borderBottom:`1px solid ${theme.appBorderColor}`,"&:last-child":{borderBottom:0}}))),Column=theming.I4.div((({numColumn})=>({display:"flex",flexDirection:"column",flex:numColumn||1,gap:5,padding:"12px 20px"}))),SkeletonText=theming.I4.div((({theme,width,height})=>({animation:`${theme.animation.glow} 1.5s ease-in-out infinite`,background:theme.appBorderColor,width:width||"100%",height:height||16,borderRadius:3}))),columnWidth=[2,4,2,2],Skeleton=()=>react.createElement(react.Fragment,null,react.createElement(Row,null,react.createElement(Column,{numColumn:columnWidth[0]},react.createElement(SkeletonText,{width:"60%"})),react.createElement(Column,{numColumn:columnWidth[1]},react.createElement(SkeletonText,{width:"30%"})),react.createElement(Column,{numColumn:columnWidth[2]},react.createElement(SkeletonText,{width:"60%"})),react.createElement(Column,{numColumn:columnWidth[3]},react.createElement(SkeletonText,{width:"60%"}))),react.createElement(Row,null,react.createElement(Column,{numColumn:columnWidth[0]},react.createElement(SkeletonText,{width:"60%"})),react.createElement(Column,{numColumn:columnWidth[1]},react.createElement(SkeletonText,{width:"80%"}),react.createElement(SkeletonText,{width:"30%"})),react.createElement(Column,{numColumn:columnWidth[2]},react.createElement(SkeletonText,{width:"60%"})),react.createElement(Column,{numColumn:columnWidth[3]},react.createElement(SkeletonText,{width:"60%"}))),react.createElement(Row,null,react.createElement(Column,{numColumn:columnWidth[0]},react.createElement(SkeletonText,{width:"60%"})),react.createElement(Column,{numColumn:columnWidth[1]},react.createElement(SkeletonText,{width:"80%"}),react.createElement(SkeletonText,{width:"30%"})),react.createElement(Column,{numColumn:columnWidth[2]},react.createElement(SkeletonText,{width:"60%"})),react.createElement(Column,{numColumn:columnWidth[3]},react.createElement(SkeletonText,{width:"60%"}))),react.createElement(Row,null,react.createElement(Column,{numColumn:columnWidth[0]},react.createElement(SkeletonText,{width:"60%"})),react.createElement(Column,{numColumn:columnWidth[1]},react.createElement(SkeletonText,{width:"80%"}),react.createElement(SkeletonText,{width:"30%"})),react.createElement(Column,{numColumn:columnWidth[2]},react.createElement(SkeletonText,{width:"60%"})),react.createElement(Column,{numColumn:columnWidth[3]},react.createElement(SkeletonText,{width:"60%"})))),TableWrapper=theming.I4.table((({theme,compact,inAddonPanel})=>({"&&":{borderSpacing:0,color:theme.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:theme.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:inAddonPanel?0:25,marginBottom:inAddonPanel?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...compact?null:{width:"35%"}},"td:nth-of-type(3)":{...compact?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...compact?null:{width:"25%"}},th:{color:"light"===theme.base?(0,polished_esm.No)(.25,theme.color.defaultText):(0,polished_esm.No)(.45,theme.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:inAddonPanel?0:1,marginRight:inAddonPanel?0:1,tbody:{...inAddonPanel?null:{filter:"light"===theme.base?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"},"> tr > *":{background:theme.background.content,borderTop:`1px solid ${theme.appBorderColor}`},...inAddonPanel?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${theme.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${theme.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${theme.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${theme.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:theme.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:theme.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:theme.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:theme.appBorderRadius}}}}}))),StyledIconButton=(0,theming.I4)(components.K0)((({theme})=>({margin:"-4px -12px -4px 0"}))),ControlHeadingWrapper=theming.I4.span({display:"flex",justifyContent:"space-between"}),sortFns={alpha:(a,b)=>a.name.localeCompare(b.name),requiredFirst:(a,b)=>+!!b.type?.required-+!!a.type?.required||a.name.localeCompare(b.name),none:void 0},ArgsTable=props=>{let{updateArgs,resetArgs,compact,inAddonPanel,initialExpandedArgs,sort="none",isLoading}=props;if("error"in props){let{error}=props;return react.createElement(EmptyBlock,null,error," ",react.createElement(components.N_,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},react.createElement(dist.pyG,null)," Read the docs"))}if(isLoading)return react.createElement(Skeleton,null);let{rows,args,globals}="rows"in props&&props,groups=((rows,sort)=>{let sections={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!rows)return sections;Object.entries(rows).forEach((([key,row])=>{let{category,subcategory}=row?.table||{};if(category){let section=sections.sections[category]||{ungrouped:[],subsections:{}};if(subcategory){let subsection=section.subsections[subcategory]||[];subsection.push({key,...row}),section.subsections[subcategory]=subsection}else section.ungrouped.push({key,...row});sections.sections[category]=section}else if(subcategory){let subsection=sections.ungroupedSubsections[subcategory]||[];subsection.push({key,...row}),sections.ungroupedSubsections[subcategory]=subsection}else sections.ungrouped.push({key,...row})}));let sortFn=sortFns[sort],sortSubsection=record=>sortFn?Object.keys(record).reduce(((acc,cur)=>({...acc,[cur]:record[cur].sort(sortFn)})),{}):record;return{ungrouped:sections.ungrouped.sort(sortFn),ungroupedSubsections:sortSubsection(sections.ungroupedSubsections),sections:Object.keys(sections.sections).reduce(((acc,cur)=>({...acc,[cur]:{ungrouped:sections.sections[cur].ungrouped.sort(sortFn),subsections:sortSubsection(sections.sections[cur].subsections)}})),{})}})(pickBy_default()(rows,(row=>!row?.table?.disable&&((row,args,globals)=>{try{return(0,csf_dist.hX)(row,args,globals)}catch(err){return external_STORYBOOK_MODULE_CLIENT_LOGGER_.once.warn(err.message),!1}})(row,args||{},globals||{}))),sort),hasNoUngrouped=0===groups.ungrouped.length,hasNoSections=0===Object.entries(groups.sections).length,hasNoUngroupedSubsections=0===Object.entries(groups.ungroupedSubsections).length;if(hasNoUngrouped&&hasNoSections&&hasNoUngroupedSubsections)return react.createElement(Empty,{inAddonPanel});let colSpan=1;updateArgs&&(colSpan+=1),compact||(colSpan+=2);let expandable=Object.keys(groups.sections).length>0,common={updateArgs,compact,inAddonPanel,initialExpandedArgs};return react.createElement(components.dL,null,react.createElement(TableWrapper,{compact,inAddonPanel,className:"docblock-argstable sb-unstyled"},react.createElement("thead",{className:"docblock-argstable-head"},react.createElement("tr",null,react.createElement("th",null,react.createElement("span",null,"Name")),compact?null:react.createElement("th",null,react.createElement("span",null,"Description")),compact?null:react.createElement("th",null,react.createElement("span",null,"Default")),updateArgs?react.createElement("th",null,react.createElement(ControlHeadingWrapper,null,"Control"," ",!isLoading&&resetArgs&&react.createElement(StyledIconButton,{onClick:()=>resetArgs(),title:"Reset controls"},react.createElement(dist.ejX,{"aria-hidden":!0})))):null)),react.createElement("tbody",{className:"docblock-argstable-body"},groups.ungrouped.map((row=>react.createElement(ArgRow,{key:row.key,row,arg:args&&args[row.key],...common}))),Object.entries(groups.ungroupedSubsections).map((([subcategory,subsection])=>react.createElement(SectionRow,{key:subcategory,label:subcategory,level:"subsection",colSpan},subsection.map((row=>react.createElement(ArgRow,{key:row.key,row,arg:args&&args[row.key],expandable,...common})))))),Object.entries(groups.sections).map((([category,section])=>react.createElement(SectionRow,{key:category,label:category,level:"section",colSpan},section.ungrouped.map((row=>react.createElement(ArgRow,{key:row.key,row,arg:args&&args[row.key],...common}))),Object.entries(section.subsections).map((([subcategory,subsection])=>react.createElement(SectionRow,{key:subcategory,label:subcategory,level:"subsection",colSpan},subsection.map((row=>react.createElement(ArgRow,{key:row.key,row,arg:args&&args[row.key],expandable,...common}))))))))))))},TabbedArgsTable=({tabs,...props})=>{let entries=Object.entries(tabs);return 1===entries.length?react.createElement(ArgsTable,{...entries[0][1],...props}):react.createElement(components._j,null,entries.map(((entry,index)=>{let[label,table]=entry,id=`prop_table_div_${label}`,argsTableProps=0===index?props:{sort:props.sort};return react.createElement("div",{key:id,id,title:label},(({active})=>active?react.createElement(ArgsTable,{key:`prop_table_${label}`,...table,...argsTableProps}):null))})))};theming.I4.div((({theme})=>({marginRight:30,fontSize:`${theme.typography.size.s1}px`,color:"light"===theme.base?(0,polished_esm.No)(.4,theme.color.defaultText):(0,polished_esm.No)(.6,theme.color.defaultText)}))),theming.I4.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}),theming.I4.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}}),theming.I4.div(components.YV,(({theme})=>({...getBlockBackgroundStyle(theme),margin:"25px 0 40px",padding:"30px 20px"}))),theming.I4.div((({theme})=>({fontWeight:theme.typography.weight.bold,color:theme.color.defaultText}))),theming.I4.div((({theme})=>({color:"light"===theme.base?(0,polished_esm.No)(.2,theme.color.defaultText):(0,polished_esm.No)(.6,theme.color.defaultText)}))),theming.I4.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5}),theming.I4.div((({theme})=>({flex:1,textAlign:"center",fontFamily:theme.typography.fonts.mono,fontSize:theme.typography.size.s1,lineHeight:1,overflow:"hidden",color:"light"===theme.base?(0,polished_esm.No)(.4,theme.color.defaultText):(0,polished_esm.No)(.6,theme.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}}))),theming.I4.div({display:"flex",flexDirection:"row"}),theming.I4.div((({background})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background,content:'""'}}))),theming.I4.div((({theme})=>({...getBlockBackgroundStyle(theme),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"}))),theming.I4.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30}),theming.I4.div({flex:1,display:"flex",flexDirection:"row"}),theming.I4.div({display:"flex",alignItems:"flex-start"}),theming.I4.div({flex:"0 0 30%"}),theming.I4.div({flex:1}),theming.I4.div((({theme})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:theme.typography.weight.bold,color:"light"===theme.base?(0,polished_esm.No)(.4,theme.color.defaultText):(0,polished_esm.No)(.6,theme.color.defaultText)}))),theming.I4.div((({theme})=>({fontSize:theme.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"})));theming.I4.div((({theme})=>({fontFamily:theme.typography.fonts.base,fontSize:theme.typography.size.s2,color:theme.color.defaultText,marginLeft:10,lineHeight:1.2}))),theming.I4.div((({theme})=>({...getBlockBackgroundStyle(theme),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}}))),theming.I4.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"}),theming.I4.div({display:"flex",flexFlow:"row wrap"});var anchorBlockIdFromId=storyId=>`anchor--${storyId}`,Anchor=({storyId,children})=>react.createElement("div",{id:anchorBlockIdFromId(storyId),className:"sb-anchor"},children);external_STORYBOOK_MODULE_GLOBAL_.global&&void 0===external_STORYBOOK_MODULE_GLOBAL_.global.__DOCS_CONTEXT__&&(external_STORYBOOK_MODULE_GLOBAL_.global.__DOCS_CONTEXT__=(0,react.createContext)(null),external_STORYBOOK_MODULE_GLOBAL_.global.__DOCS_CONTEXT__.displayName="DocsContext");var DocsContext=external_STORYBOOK_MODULE_GLOBAL_.global?external_STORYBOOK_MODULE_GLOBAL_.global.__DOCS_CONTEXT__:(0,react.createContext)(null),useOf=(moduleExportOrType,validTypes)=>(0,react.useContext)(DocsContext).resolveOf(moduleExportOrType,validTypes),getComponentName=component=>{if(component)return"string"==typeof component?component.includes("-")?component.split("-").map((part=>part.charAt(0).toUpperCase()+part.slice(1))).join(""):component:component.__docgenInfo&&component.__docgenInfo.displayName?component.__docgenInfo.displayName:component.name};function argsHash(args){return(0,telejson_dist.As)(args,{allowFunction:!1})}var SourceContext=(0,react.createContext)({sources:{}}),SourceContainer=({children,channel})=>{let[sources,setSources]=(0,react.useState)({});return(0,react.useEffect)((()=>{let handleSnippetRendered=(idOrEvent,inputSource=null,inputFormat=!1)=>{let{id,args,source,format:format2}="string"==typeof idOrEvent?{id:idOrEvent,source:inputSource,format:inputFormat}:idOrEvent,hash=args?argsHash(args):"--unknown--";setSources((current=>({...current,[id]:{...current[id],[hash]:{code:source,format:format2}}})))};return channel.on(docs_tools.Op,handleSnippetRendered),()=>channel.off(docs_tools.Op,handleSnippetRendered)}),[]),react.createElement(SourceContext.Provider,{value:{sources}},children)},getSnippet=({snippet,storyContext,typeFromProps,transformFromProps})=>{let{__isArgsStory:isArgsStory}=storyContext.parameters,sourceParameters=storyContext.parameters.docs?.source||{},type=typeFromProps||sourceParameters.type||docs_tools.Y1.AUTO;if(void 0!==sourceParameters.code)return sourceParameters.code;let code=type===docs_tools.Y1.DYNAMIC||type===docs_tools.Y1.AUTO&&snippet&&isArgsStory?snippet:sourceParameters.originalSource||"";return(transformFromProps??sourceParameters.transform)?.(code,storyContext)||code},useSourceProps=(props,docsContext,sourceContext)=>{let story,{of}=props;if("of"in props&&void 0===of)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");if(of)story=docsContext.resolveOf(of,["story"]).story;else try{story=docsContext.storyById()}catch{}let sourceParameters=story?.parameters?.docs?.source||{},{code}=props,format2=props.format??sourceParameters.format,language=props.language??sourceParameters.language??"jsx",dark=props.dark??sourceParameters.dark??!1;if(!code&&!story)return{error:"Oh no! The source is not available."};if(code)return{code,format:format2,language,dark};let storyContext=docsContext.getStoryContext(story),argsForSource=props.__forceInitialArgs?storyContext.initialArgs:storyContext.unmappedArgs,source=((storyId,args,sourceContext)=>{let{sources}=sourceContext,sourceMap=sources?.[storyId];return sourceMap?.[argsHash(args)]||sourceMap?.["--unknown--"]||{code:""}})(story.id,argsForSource,sourceContext);return format2=source.format??story.parameters.docs?.source?.format??!1,{code:getSnippet({snippet:source.code,storyContext:{...storyContext,args:argsForSource},typeFromProps:props.type,transformFromProps:props.transform}),format:format2,language,dark}};function useStory(storyId,context){let stories=function useStories(storyIds,context){let[storiesById,setStories]=(0,react.useState)({});return(0,react.useEffect)((()=>{Promise.all(storyIds.map((async storyId=>{let story=await context.loadStory(storyId);setStories((current=>current[storyId]===story?current:{...current,[storyId]:story}))})))})),storyIds.map((storyId=>{if(storiesById[storyId])return storiesById[storyId];try{return context.storyById(storyId)}catch{return null}}))}([storyId],context);return stories&&stories[0]}var Story2=(props={__forceInitialArgs:!1,__primary:!1})=>{let context=(0,react.useContext)(DocsContext),storyId=((props,context)=>{let{of,meta}=props;if("of"in props&&void 0===of)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");return meta&&context.referenceMeta(meta,!1),context.resolveOf(of||"story",["story"]).story.id})(props,context),story=useStory(storyId,context);if(!story)return react.createElement(StorySkeleton,null);let storyProps=((props,story,context)=>{let{parameters={}}=story||{},{docs={}}=parameters,storyParameters=docs.story||{};if(docs.disable)return null;if(props.inline??storyParameters.inline)return{story,inline:!0,height:props.height??storyParameters.height,autoplay:props.autoplay??storyParameters.autoplay??!1,forceInitialArgs:!!props.__forceInitialArgs,primary:!!props.__primary,renderStoryToElement:context.renderStoryToElement};return{story,inline:!1,height:props.height??storyParameters.height??storyParameters.iframeHeight??"100px",primary:!!props.__primary}})(props,story,context);return storyProps?react.createElement(Story,{...storyProps}):null},Canvas=props=>{let docsContext=(0,react.useContext)(DocsContext),sourceContext=(0,react.useContext)(SourceContext),{of,source}=props;if("of"in props&&void 0===of)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{story}=useOf(of||"story",["story"]),sourceProps=useSourceProps({...source,...of&&{of}},docsContext,sourceContext),layout=props.layout??story.parameters.layout??story.parameters.docs?.canvas?.layout??"padded",withToolbar=props.withToolbar??story.parameters.docs?.canvas?.withToolbar??!1,additionalActions=props.additionalActions??story.parameters.docs?.canvas?.additionalActions,sourceState=props.sourceState??story.parameters.docs?.canvas?.sourceState??"hidden",className=props.className??story.parameters.docs?.canvas?.className;return react.createElement(Preview,{withSource:"none"===sourceState?void 0:sourceProps,isExpanded:"shown"===sourceState,withToolbar,additionalActions,className,layout},react.createElement(Story2,{of:of||story.moduleExport,meta:props.meta,...props.story}))},useArgsIfDefined=(story,context)=>{let storyContext=story?context.getStoryContext(story):{args:{}},{id:storyId}=story||{id:"none"},[args,setArgs]=(0,react.useState)(storyContext.args);(0,react.useEffect)((()=>{let onArgsUpdated=changed=>{changed.storyId===storyId&&setArgs(changed.args)};return context.channel.on(external_STORYBOOK_MODULE_CORE_EVENTS_.STORY_ARGS_UPDATED,onArgsUpdated),()=>context.channel.off(external_STORYBOOK_MODULE_CORE_EVENTS_.STORY_ARGS_UPDATED,onArgsUpdated)}),[storyId,context.channel]);let updateArgs=(0,react.useCallback)((updatedArgs=>context.channel.emit(external_STORYBOOK_MODULE_CORE_EVENTS_.UPDATE_STORY_ARGS,{storyId,updatedArgs})),[storyId,context.channel]),resetArgs=(0,react.useCallback)((argNames=>context.channel.emit(external_STORYBOOK_MODULE_CORE_EVENTS_.RESET_STORY_ARGS,{storyId,argNames})),[storyId,context.channel]);return story&&[args,updateArgs,resetArgs]};function extractComponentArgTypes2(component,parameters){let{extractArgTypes}=parameters.docs||{};if(!extractArgTypes)throw new Error("Args unsupported. See Args documentation for your framework.");return extractArgTypes(component)}var Controls3=props=>{let{of}=props;if("of"in props&&void 0===of)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let context=(0,react.useContext)(DocsContext),{story}=context.resolveOf(of||"story",["story"]),{parameters,argTypes,component,subcomponents}=story,controlsParameters=parameters.docs?.controls||{},include=props.include??controlsParameters.include,exclude=props.exclude??controlsParameters.exclude,sort=props.sort??controlsParameters.sort,[args,updateArgs,resetArgs]=((story,context)=>{let result=useArgsIfDefined(story,context);if(!result)throw new Error("No result when story was defined");return result})(story,context),[globals]=((story,context)=>{let storyContext=context.getStoryContext(story),[globals,setGlobals]=(0,react.useState)(storyContext.globals);return(0,react.useEffect)((()=>{let onGlobalsUpdated=changed=>{setGlobals(changed.globals)};return context.channel.on(external_STORYBOOK_MODULE_CORE_EVENTS_.GLOBALS_UPDATED,onGlobalsUpdated),()=>context.channel.off(external_STORYBOOK_MODULE_CORE_EVENTS_.GLOBALS_UPDATED,onGlobalsUpdated)}),[context.channel]),[globals]})(story,context),filteredArgTypes=(0,external_STORYBOOK_MODULE_PREVIEW_API_.filterArgTypes)(argTypes,include,exclude);if(!(subcomponents&&Object.keys(subcomponents).length>0))return Object.keys(filteredArgTypes).length>0||Object.keys(args).length>0?react.createElement(ArgsTable,{rows:filteredArgTypes,sort,args,globals,updateArgs,resetArgs}):null;let mainComponentName=getComponentName(component),subcomponentTabs=Object.fromEntries(Object.entries(subcomponents).map((([key,comp])=>[key,{rows:(0,external_STORYBOOK_MODULE_PREVIEW_API_.filterArgTypes)(extractComponentArgTypes2(comp,parameters),include,exclude),sort}]))),tabs={[mainComponentName]:{rows:filteredArgTypes,sort},...subcomponentTabs};return react.createElement(TabbedArgsTable,{tabs,sort,args,globals,updateArgs,resetArgs})},{document:document2}=external_STORYBOOK_MODULE_GLOBAL_.global,CodeOrSourceMdx=({className,children,...rest})=>{if("string"!=typeof className&&("string"!=typeof children||!children.match(/[\n\r]/g)))return react.createElement(components.Cy,null,children);let language=className&&className.split("-");return react.createElement(Source,{language:language&&language[1]||"text",format:!1,code:children,...rest})};function dist_navigate(context,url){context.channel.emit(external_STORYBOOK_MODULE_CORE_EVENTS_.NAVIGATE_URL,url)}var DescriptionType2,dist_A=components.dK.a,AnchorInPage=({hash,children})=>{let context=(0,react.useContext)(DocsContext);return react.createElement(dist_A,{href:hash,target:"_self",onClick:event=>{let id=hash.substring(1);document2.getElementById(id)&&dist_navigate(context,hash)}},children)},AnchorMdx=props=>{let{href,target,children,...rest}=props,context=(0,react.useContext)(DocsContext);return!href||"_blank"===target||/^https?:\/\//.test(href)?react.createElement(dist_A,{...props}):href.startsWith("#")?react.createElement(AnchorInPage,{hash:href},children):react.createElement(dist_A,{href,onClick:event=>{0===event.button&&!event.altKey&&!event.ctrlKey&&!event.metaKey&&!event.shiftKey&&(event.preventDefault(),dist_navigate(context,event.currentTarget.getAttribute("href")))},target,...rest},children)},SUPPORTED_MDX_HEADERS=["h1","h2","h3","h4","h5","h6"],OcticonHeaders=SUPPORTED_MDX_HEADERS.reduce(((acc,headerType)=>({...acc,[headerType]:(0,theming.I4)(headerType)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})})),{}),OcticonAnchor=theming.I4.a((()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"}))),HeaderWithOcticonAnchor=({as,id,children,...rest})=>{let context=(0,react.useContext)(DocsContext),OcticonHeader=OcticonHeaders[as],hash=`#${id}`;return react.createElement(OcticonHeader,{id,...rest},react.createElement(OcticonAnchor,{"aria-hidden":"true",href:hash,tabIndex:-1,target:"_self",onClick:event=>{document2.getElementById(id)&&dist_navigate(context,hash)}},react.createElement(dist.qYV,null)),children)},HeaderMdx=props=>{let{as,id,children,...rest}=props;if(id)return react.createElement(HeaderWithOcticonAnchor,{as,id,...rest},children);let Component4=as,{as:omittedAs,...withoutAs}=props;return react.createElement(Component4,{...(0,components.mc)(withoutAs,as)})},HeadersMdx=SUPPORTED_MDX_HEADERS.reduce(((acc,headerType)=>({...acc,[headerType]:props=>react.createElement(HeaderMdx,{as:headerType,...props})})),{}),Markdown2=props=>{if(!props.children)return null;if("string"!=typeof props.children)throw new Error(esm.T`The Markdown block only accepts children as a single string, but children were of type: '${typeof props.children}' + This is often caused by not wrapping the child in a template string. + + This is invalid: + + # Some heading + A paragraph + + + Instead do: + + {\` + # Some heading + A paragraph + \`} + + `);return react.createElement(index_modern,{...props,options:{forceBlock:!0,overrides:{code:CodeOrSourceMdx,a:AnchorMdx,...HeadersMdx,...props?.options?.overrides},...props?.options}})},DescriptionType=((DescriptionType2=DescriptionType||{}).INFO="info",DescriptionType2.NOTES="notes",DescriptionType2.DOCGEN="docgen",DescriptionType2.AUTO="auto",DescriptionType2),DescriptionContainer=props=>{let{of}=props;if("of"in props&&void 0===of)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let markdown=(resolvedOf=>{switch(resolvedOf.type){case"story":return resolvedOf.story.parameters.docs?.description?.story||null;case"meta":{let{parameters,component}=resolvedOf.preparedMeta,metaDescription=parameters.docs?.description?.component;return metaDescription||parameters.docs?.extractComponentDescription?.(component,{component,parameters})||null}case"component":{let{component,projectAnnotations:{parameters}}=resolvedOf;return parameters.docs?.extractComponentDescription?.(component,{component,parameters})||null}default:throw new Error(`Unrecognized module type resolved from 'useOf', got: ${resolvedOf.type}`)}})(useOf(of||"meta"));return markdown?react.createElement(Markdown2,null,markdown):null},tocbot=(0,chunk_MKV36LKP.f1)(require_js()),Wrapper10=theming.I4.div((({theme})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}}))),Content=theming.I4.div((({theme})=>({position:"fixed",bottom:0,top:0,width:"10rem",paddingTop:"4rem",paddingBottom:"2rem",overflowY:"auto",fontFamily:theme.typography.fonts.base,fontSize:theme.typography.size.s2,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch","& *":{boxSizing:"border-box"},"& > .toc-wrapper > .toc-list":{paddingLeft:0,borderLeft:`solid 2px ${theme.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${theme.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${theme.color.mediumlight}`}}},"& .toc-list-item":{position:"relative",listStyleType:"none",marginLeft:20,paddingTop:3,paddingBottom:3},"& .toc-list-item::before":{content:'""',position:"absolute",height:"100%",top:0,left:0,transform:"translateX(calc(-2px - 20px))",borderLeft:`solid 2px ${theme.color.mediumdark}`,opacity:0,transition:"opacity 0.2s"},"& .toc-list-item.is-active-li::before":{opacity:1},"& .toc-list-item > a":{color:theme.color.defaultText,textDecoration:"none"},"& .toc-list-item.is-active-li > a":{fontWeight:600,color:theme.color.secondary,textDecoration:"none"}}))),Heading=theming.I4.p((({theme})=>({fontWeight:600,fontSize:"0.875em",color:theme.textColor,textTransform:"uppercase",marginBottom:10}))),OptionalTitle=({title})=>null===title?null:"string"==typeof title?react.createElement(Heading,null,title):title,TableOfContents=({title,disable,headingSelector,contentsSelector,ignoreSelector,unsafeTocbotOptions})=>((0,react.useEffect)((()=>{let configuration={tocSelector:".toc-wrapper",contentSelector:contentsSelector??".sbdocs-content",headingSelector:headingSelector??"h3",ignoreSelector:ignoreSelector??".docs-story *, .skip-toc",headingsOffset:40,scrollSmoothOffset:-40,orderedList:!1,onClick:()=>!1,...unsafeTocbotOptions},timeout=setTimeout((()=>tocbot.init(configuration)),100);return()=>{clearTimeout(timeout),tocbot.destroy()}}),[disable]),react.createElement(react.Fragment,null,react.createElement(Wrapper10,null,disable?null:react.createElement(Content,null,react.createElement(OptionalTitle,{title:title||null}),react.createElement("div",{className:"toc-wrapper"}))))),{document:document3,window:globalWindow3}=external_STORYBOOK_MODULE_GLOBAL_.global,DocsContainer=({context,theme,children})=>{let toc;try{toc=context.resolveOf("meta",["meta"]).preparedMeta.parameters?.docs?.toc}catch{toc=context?.projectAnnotations?.parameters?.docs?.toc}return(0,react.useEffect)((()=>{let url;try{if(url=new URL(globalWindow3.parent.location.toString()),url.hash){let element=document3.getElementById(decodeURIComponent(url.hash.substring(1)));element&&setTimeout((()=>{!function scrollToElement(element,block="start"){element.scrollIntoView({behavior:"smooth",block,inline:"nearest"})}(element)}),200)}}catch{}})),react.createElement(DocsContext.Provider,{value:context},react.createElement(SourceContainer,{channel:context.channel},react.createElement(theming.NP,{theme:(0,theming.D8)(theme)},react.createElement(DocsPageWrapper,{toc:toc?react.createElement(TableOfContents,{className:"sbdocs sbdocs-toc--custom",...toc}):null},children))))},Subheading=({children,disableAnchor})=>{if(disableAnchor||"string"!=typeof children)return react.createElement(components.H3,null,children);let tagID=globalThis.encodeURIComponent(children.toLowerCase());return react.createElement(HeaderMdx,{as:"h3",id:tagID},children)},DocsStory=({of,expanded=!0,withToolbar:withToolbarProp=!1,__forceInitialArgs=!1,__primary=!1})=>{let{story}=useOf(of||"story",["story"]),withToolbar=story.parameters.docs?.canvas?.withToolbar??withToolbarProp;return react.createElement(Anchor,{storyId:story.id},expanded&&react.createElement(react.Fragment,null,react.createElement(Subheading,null,story.name),react.createElement(DescriptionContainer,{of})),react.createElement(Canvas,{of,withToolbar,story:{__forceInitialArgs,__primary},source:{__forceInitialArgs}}))},Primary=props=>{let{of}=props;if("of"in props&&void 0===of)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{csfFile}=useOf(of||"meta",["meta"]),primaryStory=(0,react.useContext)(DocsContext).componentStoriesFromCSFFile(csfFile)[0];return primaryStory?react.createElement(DocsStory,{of:primaryStory.moduleExport,expanded:!1,__primary:!0,withToolbar:!0}):null},StyledHeading=(0,theming.I4)((({children,disableAnchor,...props})=>{if(disableAnchor||"string"!=typeof children)return react.createElement(components.H2,null,children);let tagID=children.toLowerCase().replace(/[^a-z0-9]/gi,"-");return react.createElement(HeaderMdx,{as:"h2",id:tagID,...props},children)}))((({theme})=>({fontSize:theme.typography.size.s2-1+"px",fontWeight:theme.typography.weight.bold,lineHeight:"16px",letterSpacing:"0.35em",textTransform:"uppercase",color:theme.textMutedColor,border:0,marginBottom:"12px","&:first-of-type":{marginTop:"56px"}}))),Stories=({title="Stories",includePrimary=!0})=>{let{componentStories,projectAnnotations,getStoryContext}=(0,react.useContext)(DocsContext),stories=componentStories(),{stories:{filter}={filter:void 0}}=projectAnnotations.parameters?.docs||{};return filter&&(stories=stories.filter((story=>filter(story,getStoryContext(story))))),stories.some((story=>story.tags?.includes("autodocs")))&&(stories=stories.filter((story=>story.tags?.includes("autodocs")&&!story.usesMount))),includePrimary||(stories=stories.slice(1)),stories&&0!==stories.length?react.createElement(react.Fragment,null,react.createElement(StyledHeading,null,title),stories.map((story=>story&&react.createElement(DocsStory,{key:story.id,of:story.moduleExport,expanded:!0,__forceInitialArgs:!0})))):null},Subtitle2=props=>{let preparedMeta,{of,children}=props;if("of"in props&&void 0===of)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");try{preparedMeta=useOf(of||"meta",["meta"]).preparedMeta}catch(error){if(children&&!error.message.includes("did you forget to use ?"))throw error}let{componentSubtitle,docs}=preparedMeta?.parameters||{};componentSubtitle&&(0,external_STORYBOOK_MODULE_CLIENT_LOGGER_.deprecate)("Using 'parameters.componentSubtitle' property to subtitle stories is deprecated. See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#subtitle-block-and-parameterscomponentsubtitle");let content=children||docs?.subtitle||componentSubtitle;return content?react.createElement(Subtitle,{className:"sbdocs-subtitle sb-unstyled"},content):null},STORY_KIND_PATH_SEPARATOR=/\s*\/\s*/,Title2=props=>{let preparedMeta,{children,of}=props;if("of"in props&&void 0===of)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");try{preparedMeta=useOf(of||"meta",["meta"]).preparedMeta}catch(error){if(children&&!error.message.includes("did you forget to use ?"))throw error}let content=children||(title=>{let groups=title.trim().split(STORY_KIND_PATH_SEPARATOR);return groups?.[groups?.length-1]||title})(preparedMeta?.title);return content?react.createElement(Title,{className:"sbdocs-title sb-unstyled"},content):null},DocsPage=()=>{let resolvedOf=useOf("meta",["meta"]),{stories}=resolvedOf.csfFile,isSingleStory=1===Object.keys(stories).length;return react.createElement(react.Fragment,null,react.createElement(Title2,null),react.createElement(Subtitle2,null),react.createElement(DescriptionContainer,{of:"meta"}),isSingleStory?react.createElement(DescriptionContainer,{of:"story"}):null,react.createElement(Primary,null),react.createElement(Controls3,null),isSingleStory?null:react.createElement(Stories,null))};function Docs({context,docsParameter}){let Container=docsParameter.container||DocsContainer,Page=docsParameter.page||DocsPage;return react.createElement(Container,{context,theme:docsParameter.theme},react.createElement(Page,null))}var ExternalDocsContext=class extends external_STORYBOOK_MODULE_PREVIEW_API_.DocsContext{constructor(channel,store,renderStoryToElement,processMetaExports){super(channel,store,renderStoryToElement,[]),this.channel=channel,this.store=store,this.renderStoryToElement=renderStoryToElement,this.processMetaExports=processMetaExports,this.referenceMeta=(metaExports,attach)=>{let csfFile=this.processMetaExports(metaExports);this.referenceCSFFile(csfFile),super.referenceMeta(metaExports,attach)}}},ConstantMap=class{constructor(prefix){this.prefix=prefix,this.entries=new Map}get(key){return this.entries.has(key)||this.entries.set(key,`${this.prefix}${this.entries.size}`),this.entries.get(key)}};external_STORYBOOK_MODULE_PREVIEW_API_.Preview;var Meta=({of})=>{let context=(0,react.useContext)(DocsContext);of&&context.referenceMeta(of,!0);try{let primary=context.storyById();return react.createElement(Anchor,{storyId:primary.id})}catch{return null}}},"./node_modules/@storybook/core/dist/components/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{$n:()=>Bo,Cy:()=>mu,Df:()=>tB,E7:()=>nu,GP:()=>GL,H2:()=>bu,H3:()=>yu,K0:()=>Tl,N_:()=>Ou,Q2:()=>I1,YV:()=>q,_:()=>LI,_j:()=>P1,aH:()=>GM,bF:()=>dg,dK:()=>MQ,dL:()=>lp,jZ:()=>YM,kR:()=>bI,lV:()=>xB,mc:()=>te,o4:()=>DI,px:()=>Xl,zH:()=>fu,zb:()=>kt});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@storybook/core/dist/theming/index.js"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/jsx-runtime.js"),react_dom__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/react-dom/index.js"),_storybook_core_client_logger__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("storybook/internal/client-logger"),_storybook_csf__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/@storybook/csf/dist/index.mjs"),C4=Object.create,Za=Object.defineProperty,E4=Object.getOwnPropertyDescriptor,S4=Object.getOwnPropertyNames,R4=Object.getPrototypeOf,A4=Object.prototype.hasOwnProperty,a=(e,t)=>Za(e,"name",{value:t,configurable:!0}),Zo=(()=>__webpack_require__("./node_modules/@storybook/core/dist/components sync recursive"))(),F=(e,t)=>()=>(e&&(t=e(e=0)),t),_=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ln=(e,t)=>{for(var r in t)Za(e,r,{get:t[r],enumerable:!0})},we=(e,t,r)=>(r=null!=e?C4(R4(e)):{},((e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of S4(t))!A4.call(e,o)&&o!==r&&Za(e,o,{get:()=>t[o],enumerable:!(n=E4(t,o))||n.enumerable});return e})(!t&&e&&e.__esModule?r:Za(r,"default",{value:e,enumerable:!0}),e));function $(){return $=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a($,"_extends")}));function Z1(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var J1=F((()=>{a(Z1,"_assertThisInitialized")}));function Xt(e,t){return(Xt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r})(e,t)}var Ja=F((()=>{a(Xt,"_setPrototypeOf")}));function Qa(e){return(Qa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(e)}var sn,ep=F((()=>{a(Qa,"_getPrototypeOf")})),ri=F((()=>{sn=(()=>{let e;return e=typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof __webpack_require__.g<"u"?__webpack_require__.g:typeof self<"u"?self:{},e})()})),ea=_(((up,ms)=>{!function(e){if("object"==typeof up&&typeof ms<"u")ms.exports=e();else if("function"==typeof define&&__webpack_require__.amdO)define([],e);else{(typeof window<"u"?window:typeof __webpack_require__.g<"u"?__webpack_require__.g:typeof self<"u"?self:this).memoizerific=e()}}((function(){return a((function n(o,i,l){function u(d,h){if(!i[d]){if(!o[d]){var f="function"==typeof Zo&&Zo;if(!h&&f)return f(d,!0);if(c)return c(d,!0);var v=new Error("Cannot find module '"+d+"'");throw v.code="MODULE_NOT_FOUND",v}var b=i[d]={exports:{}};o[d][0].call(b.exports,(function(m){return u(o[d][1][m]||m)}),b,b.exports,n,o,i,l)}return i[d].exports}a(u,"s");for(var c="function"==typeof Zo&&Zo,p=0;p=0?(this.lastItem=this.list[c],this.list[c].val):void 0},l.prototype.set=function(u,c){var p;return this.lastItem&&this.isEqual(this.lastItem.key,u)?(this.lastItem.val=c,this):(p=this.indexOf(u))>=0?(this.lastItem=this.list[p],this.list[p].val=c,this):(this.lastItem={key:u,val:c},this.list.push(this.lastItem),this.size++,this)},l.prototype.delete=function(u){var c;if(this.lastItem&&this.isEqual(this.lastItem.key,u)&&(this.lastItem=void 0),(c=this.indexOf(u))>=0)return this.size--,this.list.splice(c,1)[0]},l.prototype.has=function(u){var c;return!(!this.lastItem||!this.isEqual(this.lastItem.key,u))||(c=this.indexOf(u))>=0&&(this.lastItem=this.list[c],!0)},l.prototype.forEach=function(u,c){var p;for(p=0;p=0&&(!(v=(f=d[b]).cacheItem.get(f.arg))||!v.size);b--)f.cacheItem.delete(f.arg)}function p(d,h){return d===h||d!=d&&h!=h}o.exports=function(d){var h=new l(!1),f=[];return function(v){var b=a((function(){var g,y,C,m=h,w=arguments.length-1,D=Array(w+1),x=!0;if((b.numArgs||0===b.numArgs)&&b.numArgs!==w+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(C=0;C0&&(D[w]={cacheItem:m,arg:arguments[w]},x?u(f,D):f.push(D),f.length>d&&c(f.shift())),b.wasMemoized=x,b.numArgs=w+1,y}),"memoizerific");return b.limit=d,b.wasMemoized=!1,b.cache=h,b.lru=f,b}},a(u,"moveToMostRecentLru"),a(c,"removeCachedResult"),a(p,"isEqual")},{"map-or-similar":1}]},{},[3])(3)}))}));function un(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}var ni=F((()=>{a(un,"_objectWithoutPropertiesLoose")}));function cp(e,t){if(null==e)return{};var r,n,o=un(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var pp=F((()=>{ni(),a(cp,"_objectWithoutProperties")}));function ta(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{a(ta,"_arrayLikeToArray")}));function dp(e){if(Array.isArray(e))return ta(e)}var fp=F((()=>{gs(),a(dp,"_arrayWithoutHoles")}));function hp(e){if(typeof Symbol<"u"&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}var mp=F((()=>{a(hp,"_iterableToArray")}));function gp(e,t){if(e){if("string"==typeof e)return ta(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ta(e,t):void 0}}var vp=F((()=>{gs(),a(gp,"_unsupportedIterableToArray")}));function wp(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var bp=F((()=>{a(wp,"_nonIterableSpread")}));function yp(e){return dp(e)||hp(e)||gp(e)||wp()}var Dp=F((()=>{fp(),mp(),vp(),bp(),a(yp,"_toConsumableArray")}));function br(e){return(br="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}var vs=F((()=>{a(br,"_typeof")}));function xp(e,t){if("object"!=br(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=br(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var Cp=F((()=>{vs(),a(xp,"toPrimitive")}));function Ep(e){var t=xp(e,"string");return"symbol"==br(t)?t:t+""}var Sp=F((()=>{vs(),Cp(),a(Ep,"toPropertyKey")}));function oi(e,t,r){return(t=Ep(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ws=F((()=>{Sp(),a(oi,"_defineProperty")}));function Rp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),r.push.apply(r,n)}return r}function cn(e){for(var t=1;t=4?[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]:void 0}function l7(e){if(0===e.length||1===e.length)return e;var t=e.join(".");return bs[t]||(bs[t]=i7(e)),bs[t]}function s7(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;return l7(e.filter((function(i){return"token"!==i}))).reduce((function(i,l){return cn(cn({},i),r[l])}),t)}function Ap(e){return e.join(" ")}function u7(e,t){var r=0;return function(n){return r+=1,n.map((function(o,i){return yr({node:o,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(r,"-").concat(i)})}))}}function yr(e){var t=e.node,r=e.stylesheet,n=e.style,o=void 0===n?{}:n,i=e.useInlineStyles,l=e.key,u=t.properties,c=t.type,p=t.tagName,d=t.value;if("text"===c)return d;if(p){var f,h=u7(r,i);if(i){var v=Object.keys(r).reduce((function(y,w){return w.split(".").forEach((function(D){y.includes(D)||y.push(D)})),y}),[]),b=u.className&&u.className.includes("token")?["token"]:[],m=u.className&&b.concat(u.className.filter((function(y){return!v.includes(y)})));f=cn(cn({},u),{},{className:Ap(m)||void 0,style:s7(u.className,Object.assign({},u.style,o),r)})}else f=cn(cn({},u),{},{className:Ap(u.className)});var g=h(t.children);return react__WEBPACK_IMPORTED_MODULE_0__.createElement(p,$({key:l},f),g)}}var bs,Fp,ys=F((()=>{tt(),ws(),a(Rp,"ownKeys"),a(cn,"_objectSpread"),a(i7,"powerSetPermutations"),bs={},a(l7,"getClassNameCombinations"),a(s7,"createStyleObject"),a(Ap,"createClassNameString"),a(u7,"createChildren"),a(yr,"createElement")})),kp=F((()=>{Fp=a((function(e,t){return-1!==e.listLanguages().indexOf(t)}),"default")}));function Tp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),r.push.apply(r,n)}return r}function mt(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=0;n2&&void 0!==arguments[2]?arguments[2]:[],showLineNumbers:n,wrapLongLines:c})}function m(C,E){if(n&&E&&o){var S=Bp(u,E,l);C.unshift(Lp(E,S))}return C}function g(C,E){var S=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t||S.length>0?b(C,E,S):m(C,E)}a(b,"createWrappedLine"),a(m,"createUnwrappedLine"),a(g,"createLine");for(var y=a((function(){var E=d[v],S=E.children[0].value;if(d7(S)){var A=S.split("\n");A.forEach((function(k,I){var H=n&&h.length+i,M={type:"text",value:"".concat(k,"\n")};if(0===I){var T=g(d.slice(f+1,v).concat(ai({children:[M],className:E.properties.className})),H);h.push(T)}else if(I===A.length-1){var L=d[v+1]&&d[v+1].children&&d[v+1].children[0],P={type:"text",value:"".concat(k)};if(L){var U=ai({children:[P],className:E.properties.className});d.splice(v+1,0,U)}else{var G=g([P],H,E.properties.className);h.push(G)}}else{var K=g([M],H,E.properties.className);h.push(K)}})),f=v}v++}),"_loop");v{pp(),Dp(),ws(),ys(),kp(),c7=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"],a(Tp,"ownKeys"),a(mt,"_objectSpread"),p7=/\n/g,a(d7,"getNewLines"),a(f7,"getAllLineNumbers"),a(h7,"AllLineNumbers"),a(m7,"getEmWidthOfNumber"),a(Lp,"getInlineLineNumber"),a(Bp,"assembleLineNumberStyles"),a(ai,"createLineElement"),a(Ip,"flattenCodeTree"),a(g7,"processLines"),a(v7,"defaultRenderer"),a(Mp,"isHighlightJs"),a(w7,"getCodeTree"),a(Ds,"default")})),Hp=_(((rH,Pp)=>{Pp.exports=y7;var b7=Object.prototype.hasOwnProperty;function y7(){for(var e={},t=0;t{$p.exports=zp;var xs=zp.prototype;function zp(e,t,r){this.property=e,this.normal=t,r&&(this.space=r)}xs.space=null,xs.normal={},xs.property={},a(zp,"Schema")})),jp=_(((iH,Np)=>{var Op=Hp(),D7=Cs();function x7(e){for(var i,l,t=e.length,r=[],n=[],o=-1;++o{function C7(e){return e.toLowerCase()}Vp.exports=C7,a(C7,"normalize")})),Es=_(((cH,Wp)=>{Wp.exports=qp;var We=qp.prototype;function qp(e,t){this.property=e,this.attribute=t}We.space=null,We.attribute=null,We.property=null,We.boolean=!1,We.booleanish=!1,We.overloadedBoolean=!1,We.number=!1,We.commaSeparated=!1,We.spaceSeparated=!1,We.commaOrSpaceSeparated=!1,We.mustUseProperty=!1,We.defined=!1,a(qp,"Info")})),li=_((Kt=>{var E7=0;function xr(){return Math.pow(2,++E7)}Kt.boolean=xr(),Kt.booleanish=xr(),Kt.overloadedBoolean=xr(),Kt.number=xr(),Kt.spaceSeparated=xr(),Kt.commaSeparated=xr(),Kt.commaOrSpaceSeparated=xr(),a(xr,"increment")})),Rs=_(((hH,Kp)=>{var Xp=Es(),Up=li();Kp.exports=Ss,Ss.prototype=new Xp,Ss.prototype.defined=!0;var Yp=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],S7=Yp.length;function Ss(e,t,r,n){var i,o=-1;for(Gp(this,"space",n),Xp.call(this,e,t);++o{var Zp=ii(),R7=Cs(),A7=Rs();function F7(e){var c,p,t=e.space,r=e.mustUseProperty||[],n=e.attributes||{},o=e.properties,i=e.transform,l={},u={};for(c in o)p=new A7(c,i(n,c),o[c],t),-1!==r.indexOf(c)&&(p.mustUseProperty=!0),l[c]=p,u[Zp(c)]=c,u[Zp(p.attribute)]=c;return new R7(l,u,t)}Jp.exports=F7,a(F7,"create")})),ed=_(((wH,Qp)=>{var k7=pn();function T7(e,t){return"xlink:"+t.slice(5).toLowerCase()}Qp.exports=k7({space:"xlink",transform:T7,properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),a(T7,"xlinkTransform")})),rd=_(((yH,td)=>{var L7=pn();function B7(e,t){return"xml:"+t.slice(3).toLowerCase()}td.exports=L7({space:"xml",transform:B7,properties:{xmlLang:null,xmlBase:null,xmlSpace:null}}),a(B7,"xmlTransform")})),od=_(((xH,nd)=>{function I7(e,t){return t in e?e[t]:t}nd.exports=I7,a(I7,"caseSensitiveTransform")})),As=_(((EH,ad)=>{var M7=od();function _7(e,t){return M7(e,t.toLowerCase())}ad.exports=_7,a(_7,"caseInsensitiveTransform")})),ld=_(((RH,id)=>{var P7=pn(),H7=As();id.exports=P7({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:H7,properties:{xmlns:null,xmlnsXLink:null}})})),ud=_(((AH,sd)=>{var Fs=li(),z7=pn(),Me=Fs.booleanish,Ue=Fs.number,Cr=Fs.spaceSeparated;function $7(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()}sd.exports=z7({transform:$7,properties:{ariaActiveDescendant:null,ariaAtomic:Me,ariaAutoComplete:null,ariaBusy:Me,ariaChecked:Me,ariaColCount:Ue,ariaColIndex:Ue,ariaColSpan:Ue,ariaControls:Cr,ariaCurrent:null,ariaDescribedBy:Cr,ariaDetails:null,ariaDisabled:Me,ariaDropEffect:Cr,ariaErrorMessage:null,ariaExpanded:Me,ariaFlowTo:Cr,ariaGrabbed:Me,ariaHasPopup:null,ariaHidden:Me,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Cr,ariaLevel:Ue,ariaLive:null,ariaModal:Me,ariaMultiLine:Me,ariaMultiSelectable:Me,ariaOrientation:null,ariaOwns:Cr,ariaPlaceholder:null,ariaPosInSet:Ue,ariaPressed:Me,ariaReadOnly:Me,ariaRelevant:null,ariaRequired:Me,ariaRoleDescription:Cr,ariaRowCount:Ue,ariaRowIndex:Ue,ariaRowSpan:Ue,ariaSelected:Me,ariaSetSize:Ue,ariaSort:null,ariaValueMax:Ue,ariaValueMin:Ue,ariaValueNow:Ue,ariaValueText:null,role:null}}),a($7,"ariaTransform")})),pd=_(((kH,cd)=>{var dn=li(),O7=pn(),N7=As(),V=dn.boolean,j7=dn.overloadedBoolean,ra=dn.booleanish,Z=dn.number,Re=dn.spaceSeparated,si=dn.commaSeparated;cd.exports=O7({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:N7,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:si,acceptCharset:Re,accessKey:Re,action:null,allow:null,allowFullScreen:V,allowPaymentRequest:V,allowUserMedia:V,alt:null,as:null,async:V,autoCapitalize:null,autoComplete:Re,autoFocus:V,autoPlay:V,capture:V,charSet:null,checked:V,cite:null,className:Re,cols:Z,colSpan:null,content:null,contentEditable:ra,controls:V,controlsList:Re,coords:Z|si,crossOrigin:null,data:null,dateTime:null,decoding:null,default:V,defer:V,dir:null,dirName:null,disabled:V,download:j7,draggable:ra,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:V,formTarget:null,headers:Re,height:Z,hidden:V,high:Z,href:null,hrefLang:null,htmlFor:Re,httpEquiv:Re,id:null,imageSizes:null,imageSrcSet:si,inputMode:null,integrity:null,is:null,isMap:V,itemId:null,itemProp:Re,itemRef:Re,itemScope:V,itemType:Re,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:V,low:Z,manifest:null,max:null,maxLength:Z,media:null,method:null,min:null,minLength:Z,multiple:V,muted:V,name:null,nonce:null,noModule:V,noValidate:V,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:V,optimum:Z,pattern:null,ping:Re,placeholder:null,playsInline:V,poster:null,preload:null,readOnly:V,referrerPolicy:null,rel:Re,required:V,reversed:V,rows:Z,rowSpan:Z,sandbox:Re,scope:null,scoped:V,seamless:V,selected:V,shape:null,size:Z,sizes:null,slot:null,span:Z,spellCheck:ra,src:null,srcDoc:null,srcLang:null,srcSet:si,start:Z,step:null,style:null,tabIndex:Z,target:null,title:null,translate:null,type:null,typeMustMatch:V,useMap:null,value:ra,width:Z,wrap:null,align:null,aLink:null,archive:Re,axis:null,background:null,bgColor:null,border:Z,borderColor:null,bottomMargin:Z,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:V,declare:V,event:null,face:null,frame:null,frameBorder:null,hSpace:Z,leftMargin:Z,link:null,longDesc:null,lowSrc:null,marginHeight:Z,marginWidth:Z,noResize:V,noHref:V,noShade:V,noWrap:V,object:null,profile:null,prompt:null,rev:null,rightMargin:Z,rules:null,scheme:null,scrolling:ra,standby:null,summary:null,text:null,topMargin:Z,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Z,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:V,disableRemotePlayback:V,prefix:null,property:null,results:Z,security:null,unselectable:null}})})),fd=_(((TH,dd)=>{var V7=jp(),q7=ed(),W7=rd(),U7=ld(),G7=ud(),X7=pd();dd.exports=V7([W7,q7,U7,G7,X7])})),gd=_(((LH,md)=>{var Y7=ii(),K7=Rs(),Z7=Es(),ks="data";md.exports=ew;var J7=/^data[-\w.:]+$/i,hd=/-[a-z]/g,Q7=/[A-Z]/g;function ew(e,t){var r=Y7(t),n=t,o=Z7;return r in e.normal?e.property[e.normal[r]]:(r.length>4&&r.slice(0,4)===ks&&J7.test(t)&&("-"===t.charAt(4)?n=tw(t):t=rw(t),o=K7),new o(n,t))}function tw(e){var t=e.slice(5).replace(hd,ow);return ks+t.charAt(0).toUpperCase()+t.slice(1)}function rw(e){var t=e.slice(4);return hd.test(t)?e:("-"!==(t=t.replace(Q7,nw)).charAt(0)&&(t="-"+t),ks+t)}function nw(e){return"-"+e.toLowerCase()}function ow(e){return e.charAt(1).toUpperCase()}a(ew,"find"),a(tw,"datasetToProperty"),a(rw,"datasetToAttribute"),a(nw,"kebab"),a(ow,"camelcase")})),bd=_(((IH,wd)=>{wd.exports=aw;var vd=/[#.]/g;function aw(e,t){for(var l,u,c,r=e||"",n=t||"div",o={},i=0;i{Ts.parse=sw,Ts.stringify=uw;var yd="",iw=" ",lw=/[ \t\n\r\f]+/g;function sw(e){var t=String(e||yd).trim();return t===yd?[]:t.split(lw)}function uw(e){return e.join(iw).trim()}a(sw,"parse"),a(uw,"stringify")})),Cd=_((Bs=>{Bs.parse=cw,Bs.stringify=pw;var Ls=",",xd=" ",na="";function cw(e){for(var l,t=[],r=String(e||na),n=r.indexOf(Ls),o=0,i=!1;!i;)-1===n&&(n=r.length,i=!0),((l=r.slice(o,n).trim())||!i)&&t.push(l),o=n+1,n=r.indexOf(Ls,o);return t}function pw(e,t){var r=t||{},n=!1===r.padLeft?na:xd,o=r.padRight?xd:na;return e[e.length-1]===na&&(e=e.concat(na)),e.join(o+Ls+n).trim()}a(cw,"parse"),a(pw,"stringify")})),Td=_((($H,kd)=>{var dw=gd(),Ed=ii(),fw=bd(),Sd=Dd().parse,Rd=Cd().parse;kd.exports=mw;var hw={}.hasOwnProperty;function mw(e,t,r){var n=r?yw(r):null;return function o(l,u){var h,c=fw(l,t),p=Array.prototype.slice.call(arguments,2),d=c.tagName.toLowerCase();if(c.tagName=n&&hw.call(n,d)?n[d]:d,u&&gw(u,c)&&(p.unshift(u),u=null),u)for(h in u)i(c.properties,h,u[h]);return Fd(c.children,p),"template"===c.tagName&&(c.content={type:"root",children:c.children},c.children=[]),c};function i(l,u,c){var p,d,h;null==c||c!=c||(d=(p=dw(e,u)).property,"string"==typeof(h=c)&&(p.spaceSeparated?h=Sd(h):p.commaSeparated?h=Rd(h):p.commaOrSpaceSeparated&&(h=Sd(Rd(h).join(" ")))),"style"===d&&"string"!=typeof c&&(h=bw(h)),"className"===d&&l.className&&(h=l.className.concat(h)),l[d]=ww(p,d,h))}}function gw(e,t){return"string"==typeof e||"length"in e||vw(t.tagName,e)}function vw(e,t){var r=t.type;return!("input"===e||!r||"string"!=typeof r)&&("object"==typeof t.children&&"length"in t.children||(r=r.toLowerCase(),"button"===e?"menu"!==r&&"submit"!==r&&"reset"!==r&&"button"!==r:"value"in t))}function Fd(e,t){var r,n;if("string"!=typeof t&&"number"!=typeof t)if("object"==typeof t&&"length"in t)for(r=-1,n=t.length;++r{var Dw=fd(),Ld=Td()(Dw,"div");Ld.displayName="html",Bd.exports=Ld})),_d=_(((jH,Md)=>{Md.exports=Id()})),Pd=_(((VH,Cw)=>{Cw.exports={AElig:"Æ",AMP:"&",Aacute:"Á",Acirc:"Â",Agrave:"À",Aring:"Å",Atilde:"Ã",Auml:"Ä",COPY:"©",Ccedil:"Ç",ETH:"Ð",Eacute:"É",Ecirc:"Ê",Egrave:"È",Euml:"Ë",GT:">",Iacute:"Í",Icirc:"Î",Igrave:"Ì",Iuml:"Ï",LT:"<",Ntilde:"Ñ",Oacute:"Ó",Ocirc:"Ô",Ograve:"Ò",Oslash:"Ø",Otilde:"Õ",Ouml:"Ö",QUOT:'"',REG:"®",THORN:"Þ",Uacute:"Ú",Ucirc:"Û",Ugrave:"Ù",Uuml:"Ü",Yacute:"Ý",aacute:"á",acirc:"â",acute:"´",aelig:"æ",agrave:"à",amp:"&",aring:"å",atilde:"ã",auml:"ä",brvbar:"¦",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",ecirc:"ê",egrave:"è",eth:"ð",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",iacute:"í",icirc:"î",iexcl:"¡",igrave:"ì",iquest:"¿",iuml:"ï",laquo:"«",lt:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",oacute:"ó",ocirc:"ô",ograve:"ò",ordf:"ª",ordm:"º",oslash:"ø",otilde:"õ",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',raquo:"»",reg:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",times:"×",uacute:"ú",ucirc:"û",ugrave:"ù",uml:"¨",uuml:"ü",yacute:"ý",yen:"¥",yuml:"ÿ"}})),Hd=_(((qH,Ew)=>{Ew.exports={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"}})),Is=_(((WH,zd)=>{function Sw(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}zd.exports=Sw,a(Sw,"decimal")})),Od=_(((GH,$d)=>{function Rw(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}$d.exports=Rw,a(Rw,"hexadecimal")})),jd=_(((YH,Nd)=>{function Aw(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}Nd.exports=Aw,a(Aw,"alphabetical")})),qd=_(((ZH,Vd)=>{var Fw=jd(),kw=Is();function Tw(e){return Fw(e)||kw(e)}Vd.exports=Tw,a(Tw,"alphanumerical")})),Ud=_(((QH,Wd)=>{var ui;function Bw(e){var r,t="&"+e+";";return(ui=ui||document.createElement("i")).innerHTML=t,(59!==(r=ui.textContent).charCodeAt(r.length-1)||"semi"===e)&&r!==t&&r}Wd.exports=Bw,a(Bw,"decodeEntity")})),lf=_(((tz,af)=>{var Gd=Pd(),Xd=Hd(),Iw=Is(),Mw=Od(),Jd=qd(),_w=Ud();af.exports=Xw;var Pw={}.hasOwnProperty,fn=String.fromCharCode,Hw=Function.prototype,Yd={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},zw=9,Kd=10,$w=12,Ow=32,Zd=38,Nw=59,jw=60,Vw=61,qw=35,Ww=88,Uw=120,Gw=65533,hn="named",_s="hexadecimal",Ps="decimal",Hs={};Hs[_s]=16,Hs[Ps]=10;var ci={};ci[hn]=Jd,ci[Ps]=Iw,ci[_s]=Mw;var Qd=1,ef=2,tf=3,rf=4,nf=5,Ms=6,of=7,Zt={};function Xw(e,t){var n,o,r={};for(o in t||(t={}),Yd)n=t[o],r[o]=n??Yd[o];return(r.position.indent||r.position.start)&&(r.indent=r.position.indent||[],r.position=r.position.start),Yw(e,r)}function Yw(e,t){var D,x,C,E,S,R,A,k,I,H,M,W,T,L,P,U,N,G,z,r=t.additional,n=t.nonTerminated,o=t.text,i=t.reference,l=t.warning,u=t.textContext,c=t.referenceContext,p=t.warningContext,d=t.position,h=t.indent||[],f=e.length,v=0,b=-1,m=d.column||1,g=d.line||1,y="",w=[];for("string"==typeof r&&(r=r.charCodeAt(0)),U=K(),k=l?function Te(de,Ce){var Le=K();Le.column+=Ce,Le.offset+=Ce,l.call(p,Zt[de],Le,de)}:Hw,v--,f++;++v65535&&(H+=fn((R-=65536)>>>10|55296),R=56320|1023&R),R=H+fn(R))):L!==hn&&k(rf,G)),R?(ve(),U=K(),v=z-1,m+=z-T+1,w.push(R),(N=K()).offset++,i&&i.call(c,R,{start:U,end:N},e.slice(T-1,z)),U=N):(E=e.slice(T-1,z),y+=E,m+=E.length,v=z-1)}else 10===S&&(g++,b++,m=0),S==S?(y+=fn(S),m++):ve();return w.join("");function K(){return{line:g,column:m,offset:v+(d.offset||0)}}function ve(){y&&(w.push(y),o&&o.call(u,y,{start:U,end:K()}),y="")}}function Kw(e){return e>=55296&&e<=57343||e>1114111}function Zw(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||!(65535&~e)||65534==(65535&e)}Zt[Qd]="Named character references must be terminated by a semicolon",Zt[ef]="Numeric character references must be terminated by a semicolon",Zt[tf]="Named character references cannot be empty",Zt[rf]="Numeric character references cannot be empty",Zt[nf]="Named character references must be known",Zt[Ms]="Numeric character references cannot be disallowed",Zt[of]="Numeric character references cannot be outside the permissible Unicode range",a(Xw,"parseEntities"),a(Yw,"parse"),a(Kw,"prohibited"),a(Zw,"disallowed")})),uf=_(((nz,pi)=>{var sf=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,r=0,n={},o={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:a((function m(g){return g instanceof i?new i(g.type,m(g.content),g.alias):Array.isArray(g)?g.map(m):g.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(w){var m=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(w.stack)||[])[1];if(m){var g=document.getElementsByTagName("script");for(var y in g)if(g[y].src==m)return g[y]}return null}}),"currentScript"),isActive:a((function(m,g,y){for(var w="no-"+g;m;){var D=m.classList;if(D.contains(g))return!0;if(D.contains(w))return!1;m=m.parentElement}return!!y}),"isActive")},languages:{plain:n,plaintext:n,text:n,txt:n,extend:a((function(m,g){var y=o.util.clone(o.languages[m]);for(var w in g)y[w]=g[w];return y}),"extend"),insertBefore:a((function(m,g,y,w){var D=(w=w||o.languages)[m],x={};for(var C in D)if(D.hasOwnProperty(C)){if(C==g)for(var E in y)y.hasOwnProperty(E)&&(x[E]=y[E]);y.hasOwnProperty(C)||(x[C]=D[C])}var S=w[m];return w[m]=x,o.languages.DFS(o.languages,(function(R,A){A===S&&R!=m&&(this[R]=x)})),x}),"insertBefore"),DFS:a((function m(g,y,w,D){D=D||{};var x=o.util.objId;for(var C in g)if(g.hasOwnProperty(C)){y.call(g,C,g[C],w||C);var E=g[C],S=o.util.type(E);"Object"!==S||D[x(E)]?"Array"===S&&!D[x(E)]&&(D[x(E)]=!0,m(E,y,C,D)):(D[x(E)]=!0,m(E,y,null,D))}}),"DFS")},plugins:{},highlightAll:a((function(m,g){o.highlightAllUnder(document,m,g)}),"highlightAll"),highlightAllUnder:a((function(m,g,y){var w={callback:y,container:m,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};o.hooks.run("before-highlightall",w),w.elements=Array.prototype.slice.apply(w.container.querySelectorAll(w.selector)),o.hooks.run("before-all-elements-highlight",w);for(var x,D=0;x=w.elements[D++];)o.highlightElement(x,!0===g,w.callback)}),"highlightAllUnder"),highlightElement:a((function(m,g,y){var w=o.util.getLanguage(m),D=o.languages[w];o.util.setLanguage(m,w);var x=m.parentElement;x&&"pre"===x.nodeName.toLowerCase()&&o.util.setLanguage(x,w);var E={element:m,language:w,grammar:D,code:m.textContent};function S(A){E.highlightedCode=A,o.hooks.run("before-insert",E),E.element.innerHTML=E.highlightedCode,o.hooks.run("after-highlight",E),o.hooks.run("complete",E),y&&y.call(E.element)}if(a(S,"insertHighlightedCode"),o.hooks.run("before-sanity-check",E),(x=E.element.parentElement)&&"pre"===x.nodeName.toLowerCase()&&!x.hasAttribute("tabindex")&&x.setAttribute("tabindex","0"),!E.code)return o.hooks.run("complete",E),void(y&&y.call(E.element));if(o.hooks.run("before-highlight",E),E.grammar)if(g&&e.Worker){var R=new Worker(o.filename);R.onmessage=function(A){S(A.data)},R.postMessage(JSON.stringify({language:E.language,code:E.code,immediateClose:!0}))}else S(o.highlight(E.code,E.grammar,E.language));else S(o.util.encode(E.code))}),"highlightElement"),highlight:a((function(m,g,y){var w={code:m,grammar:g,language:y};if(o.hooks.run("before-tokenize",w),!w.grammar)throw new Error('The language "'+w.language+'" has no grammar.');return w.tokens=o.tokenize(w.code,w.grammar),o.hooks.run("after-tokenize",w),i.stringify(o.util.encode(w.tokens),w.language)}),"highlight"),tokenize:a((function(m,g){var y=g.rest;if(y){for(var w in y)g[w]=y[w];delete g.rest}var D=new c;return p(D,D.head,m),u(m,D,g,D.head,0),h(D)}),"tokenize"),hooks:{all:{},add:a((function(m,g){var y=o.hooks.all;y[m]=y[m]||[],y[m].push(g)}),"add"),run:a((function(m,g){var y=o.hooks.all[m];if(y&&y.length)for(var D,w=0;D=y[w++];)D(g)}),"run")},Token:i};function i(m,g,y,w){this.type=m,this.content=g,this.alias=y,this.length=0|(w||"").length}function l(m,g,y,w){m.lastIndex=g;var D=m.exec(y);if(D&&w&&D[1]){var x=D[1].length;D.index+=x,D[0]=D[0].slice(x)}return D}function u(m,g,y,w,D,x){for(var C in y)if(y.hasOwnProperty(C)&&y[C]){var E=y[C];E=Array.isArray(E)?E:[E];for(var S=0;S=x.reach);L+=T.value.length,T=T.next){var P=T.value;if(g.length>m.length)return;if(!(P instanceof i)){var N,U=1;if(I){if(!(N=l(W,L,m,k))||N.index>=m.length)break;var Te=N.index,G=N.index+N[0].length,z=L;for(z+=T.value.length;Te>=z;)z+=(T=T.next).value.length;if(L=z-=T.value.length,T.value instanceof i)continue;for(var K=T;K!==g.tail&&(zx.reach&&(x.reach=Le);var Be=T.prev;if(de&&(Be=p(g,Be,de),L+=de.length),d(g,Be,U),T=p(g,Be,new i(C,A?o.tokenize(ve,A):ve,H,ve)),Ce&&p(g,T,Ce),U>1){var Ko={cause:C+","+S,reach:Le};u(m,g,y,T.prev,L,Ko),x&&Ko.reach>x.reach&&(x.reach=Ko.reach)}}}}}}function c(){var m={value:null,prev:null,next:null},g={value:null,prev:m,next:null};m.next=g,this.head=m,this.tail=g,this.length=0}function p(m,g,y){var w=g.next,D={value:y,prev:g,next:w};return g.next=D,w.prev=D,m.length++,D}function d(m,g,y){for(var w=g.next,D=0;D"+D.content+""}),"stringify"),a(l,"matchPattern"),a(u,"matchGrammar"),a(c,"LinkedList"),a(p,"addAfter"),a(d,"removeRange"),a(h,"toArray"),!e.document)return e.addEventListener&&(o.disableWorkerMessageHandler||e.addEventListener("message",(function(m){var g=JSON.parse(m.data),y=g.language,w=g.code,D=g.immediateClose;e.postMessage(o.highlight(w,o.languages[y],y)),D&&e.close()}),!1)),o;var f=o.util.currentScript();function v(){o.manual||o.highlightAll()}if(f&&(o.filename=f.src,f.hasAttribute("data-manual")&&(o.manual=!0)),a(v,"highlightAutomaticallyCallback"),!o.manual){var b=document.readyState;"loading"===b||"interactive"===b&&f&&f.defer?document.addEventListener("DOMContentLoaded",v):window.requestAnimationFrame?window.requestAnimationFrame(v):window.setTimeout(v,16)}return o}(typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{});typeof pi<"u"&&pi.exports&&(pi.exports=sf),typeof __webpack_require__.g<"u"&&(__webpack_require__.g.Prism=sf)})),$s=_(((az,cf)=>{function zs(e){e.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",(function(t){"entity"===t.type&&(t.attributes.title=t.content.value.replace(/&/,"&"))})),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:a((function(r,n){var o={};o["language-"+n]={pattern:/(^$)/i,lookbehind:!0,inside:e.languages[n]},o.cdata=/^$/i;var i={"included-cdata":{pattern://i,inside:o}};i["language-"+n]={pattern:/[\s\S]+/,inside:e.languages[n]};var l={};l[r]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,(function(){return r})),"i"),lookbehind:!0,greedy:!0,inside:i},e.languages.insertBefore("markup","cdata",l)}),"addInlined")}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:a((function(t,r){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[r,"language-"+r],inside:e.languages[r]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}),"value")}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}cf.exports=zs,zs.displayName="markup",zs.aliases=["html","mathml","svg","xml","ssml","atom","rss"],a(zs,"markup")})),Ns=_(((lz,pf)=>{function Os(e){!function(t){var r=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;t.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+r.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+r.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+r.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:r,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},t.languages.css.atrule.inside.rest=t.languages.css;var n=t.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(e)}pf.exports=Os,Os.displayName="css",Os.aliases=[],a(Os,"css")})),ff=_(((uz,df)=>{function js(e){e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}df.exports=js,js.displayName="clike",js.aliases=[],a(js,"clike")})),mf=_(((pz,hf)=>{function Vs(e){e.languages.javascript=e.languages.extend("clike",{"class-name":[e.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:e.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),e.languages.js=e.languages.javascript}hf.exports=Vs,Vs.displayName="javascript",Vs.aliases=["js"],a(Vs,"javascript")})),bf=_(((fz,wf)=>{var oa="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof __webpack_require__.g?__webpack_require__.g:{},Qw=h6();oa.Prism={manual:!0,disableWorkerMessageHandler:!0};var e6=_d(),t6=lf(),gf=uf(),r6=$s(),n6=Ns(),o6=ff(),a6=mf();Qw();var qs={}.hasOwnProperty;function vf(){}a(vf,"Refractor"),vf.prototype=gf;var ae=new vf;function aa(e){if("function"!=typeof e||!e.displayName)throw new Error("Expected `function` for `grammar`, got `"+e+"`");void 0===ae.languages[e.displayName]&&e(ae)}function i6(e,t){var o,i,l,u,r=ae.languages,n=e;for(o in t&&((n={})[e]=t),n)for(l=(i="string"==typeof(i=n[o])?[i]:i).length,u=-1;++u{_p(),di=we(bf()),(Ws=Ds(di.default,{})).registerLanguage=function(e,t){return di.default.register(t)},Ws.alias=function(e,t){return di.default.alias(e,t)},fi=Ws})),Df=F((()=>{ys()})),Cf=_(((bz,xf)=>{function Us(e){!function(t){var r="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},o={bash:n,environment:{pattern:RegExp("\\$"+r),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+r),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};t.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+r),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:o},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:o},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:o.entity}}],environment:{pattern:RegExp("\\$?"+r),alias:"constant"},variable:o.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=t.languages.bash;for(var i=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],l=o.variable[1].inside,u=0;u{Ef=we(Cf()),Sf=Ef.default})),kf=F((()=>{Af=we(Ns()),Ff=Af.default})),Lf=_(((Cz,Tf)=>{function Gs(e){e.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:e.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},e.hooks.add("after-tokenize",a((function(r){if("graphql"===r.language){var n=r.tokens.filter((function(g){return"string"!=typeof g&&"comment"!==g.type&&"scalar"!==g.type})),o=0;for(a(i,"getToken"),a(l,"isTokenType"),a(u,"findClosingBracket"),a(c,"addAlias");o0)){var v=u(/^\{$/,/^\}$/);if(-1===v)continue;for(var b=o;b=0&&c(m,"variable-input")}}}}}function i(g){return n[o+g]}function l(g,y){y=y||0;for(var w=0;w{Bf=we(Lf()),If=Bf.default})),Pf=_(((Rz,_f)=>{function Xs(e){!function(t){function r(c,p){return RegExp(c.replace(//g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),p)}t.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+t.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),t.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+t.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),t.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),a(r,"withId"),t.languages.insertBefore("javascript","keyword",{imports:{pattern:r(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:t.languages.javascript},exports:{pattern:r(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:t.languages.javascript}}),t.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),t.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),t.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:r(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],o=0;o{Hf=we(Pf()),zf=Hf.default})),Nf=_(((kz,Of)=>{function Ys(e){e.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},e.languages.webmanifest=e.languages.json}Of.exports=Ys,Ys.displayName="json",Ys.aliases=["webmanifest"],a(Ys,"json")})),qf=F((()=>{jf=we(Nf()),Vf=jf.default})),Zs=_(((Bz,Wf)=>{function Ks(e){!function(t){var r=t.util.clone(t.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,o=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,i=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function l(p,d){return p=p.replace(//g,(function(){return n})).replace(//g,(function(){return o})).replace(//g,(function(){return i})),RegExp(p,d)}a(l,"re"),i=l(i).source,t.languages.jsx=t.languages.extend("markup",r),t.languages.jsx.tag.pattern=l(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),t.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,t.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,t.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,t.languages.jsx.tag.inside.comment=r.comment,t.languages.insertBefore("inside","attr-name",{spread:{pattern:l(//.source),inside:t.languages.jsx}},t.languages.jsx.tag),t.languages.insertBefore("inside","special-attr",{script:{pattern:l(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:t.languages.jsx}}},t.languages.jsx.tag);var u=a((function(p){return p?"string"==typeof p?p:"string"==typeof p.content?p.content:p.content.map(u).join(""):""}),"stringifyToken"),c=a((function(p){for(var d=[],h=0;h0&&d[d.length-1].tagName===u(f.content[0].content[1])&&d.pop():"/>"===f.content[f.content.length-1].content||d.push({tagName:u(f.content[0].content[1]),openedBraces:0}):d.length>0&&"punctuation"===f.type&&"{"===f.content?d[d.length-1].openedBraces++:d.length>0&&d[d.length-1].openedBraces>0&&"punctuation"===f.type&&"}"===f.content?d[d.length-1].openedBraces--:v=!0),(v||"string"==typeof f)&&d.length>0&&0===d[d.length-1].openedBraces){var b=u(f);h0&&("string"==typeof p[h-1]||"plain-text"===p[h-1].type)&&(b=u(p[h-1])+b,p.splice(h-1,1),h--),p[h]=new t.Token("plain-text",b,null,b)}f.content&&"string"!=typeof f.content&&c(f.content)}}),"walkTokens");t.hooks.add("after-tokenize",(function(p){"jsx"!==p.language&&"tsx"!==p.language||c(p.tokens)}))}(e)}Wf.exports=Ks,Ks.displayName="jsx",Ks.aliases=[],a(Ks,"jsx")})),Xf=F((()=>{Uf=we(Zs()),Gf=Uf.default})),Kf=_(((_z,Yf)=>{function Js(e){!function(t){var r=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(h){return h=h.replace(//g,(function(){return r})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+h+")")}a(n,"createInline");var o=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,i=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return o})),l=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;t.languages.markdown=t.languages.extend("markup",{}),t.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:t.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+i+l+"(?:"+i+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+i+l+")(?:"+i+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(o),inside:t.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+i+")"+l+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+i+"$"),inside:{"table-header":{pattern:RegExp(o),alias:"important",inside:t.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(h){["url","bold","italic","strike","code-snippet"].forEach((function(f){h!==f&&(t.languages.markdown[h].inside.content.inside[f]=t.languages.markdown[f])}))})),t.hooks.add("after-tokenize",(function(h){function f(v){if(v&&"string"!=typeof v)for(var b=0,m=v.length;b",quot:'"'},p=String.fromCodePoint||String.fromCharCode;function d(h){var f=h.replace(u,"");return f=f.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,(function(v,b){var m;return"#"===(b=b.toLowerCase())[0]?(m="x"===b[1]?parseInt(b.slice(2),16):Number(b.slice(1)),p(m)):c[b]||v}))}a(d,"textContent"),t.languages.md=t.languages.markdown}(e)}Yf.exports=Js,Js.displayName="markdown",Js.aliases=["md"],a(Js,"markdown")})),Qf=F((()=>{Zf=we(Kf()),Jf=Zf.default})),rh=F((()=>{eh=we($s()),th=eh.default})),eu=_((($z,nh)=>{function Qs(e){!function(t){t.languages.typescript=t.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),t.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete t.languages.typescript.parameter,delete t.languages.typescript["literal-property"];var r=t.languages.extend("typescript",{});delete r["class-name"],t.languages.typescript["class-name"].inside=r,t.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:r}}}}),t.languages.ts=t.languages.typescript}(e)}nh.exports=Qs,Qs.displayName="typescript",Qs.aliases=["ts"],a(Qs,"typescript")})),ah=_(((Nz,oh)=>{var m6=Zs(),g6=eu();function tu(e){e.register(m6),e.register(g6),function(t){var r=t.util.clone(t.languages.typescript);t.languages.tsx=t.languages.extend("jsx",r),delete t.languages.tsx.parameter,delete t.languages.tsx["literal-property"];var n=t.languages.tsx.tag;n.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}(e)}oh.exports=tu,tu.displayName="tsx",tu.aliases=[],a(tu,"tsx")})),sh=F((()=>{ih=we(ah()),lh=ih.default})),ph=F((()=>{uh=we(eu()),ch=uh.default})),fh=_(((Wz,dh)=>{function ru(e){!function(t){var r=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,o="(?:"+n.source+"(?:[ \t]+"+r.source+")?|"+r.source+"(?:[ \t]+"+n.source+")?)",i=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),l=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function u(c,p){p=(p||"").replace(/m/g,"")+"m";var d=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,(function(){return o})).replace(/<>/g,(function(){return c}));return RegExp(d,p)}a(u,"createValuePattern"),t.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,(function(){return o}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,(function(){return o})).replace(/<>/g,(function(){return"(?:"+i+"|"+l+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:u(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:u(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:u(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:u(l),lookbehind:!0,greedy:!0},number:{pattern:u(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:r,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},t.languages.yml=t.languages.yaml}(e)}dh.exports=ru,ru.displayName="yaml",ru.aliases=["yml"],a(ru,"yaml")})),gh=F((()=>{hh=we(fh()),mh=hh.default})),ou=F((()=>{v6=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div((({theme:e})=>({position:"absolute",bottom:0,right:0,maxWidth:"100%",display:"flex",background:e.background.content,zIndex:1}))),(bh=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.button((({theme:e})=>({margin:0,border:"0 none",padding:"4px 10px",cursor:"pointer",display:"flex",alignItems:"center",color:e.color.defaultText,background:e.background.content,fontSize:12,lineHeight:"16px",fontFamily:e.typography.fonts.base,fontWeight:e.typography.weight.bold,borderTop:`1px solid ${e.appBorderColor}`,borderLeft:`1px solid ${e.appBorderColor}`,marginLeft:-1,borderRadius:"4px 0 0 0","&:not(:last-child)":{borderRight:`1px solid ${e.appBorderColor}`},"& + *":{borderLeft:`1px solid ${e.appBorderColor}`,borderRadius:0},"&:focus":{boxShadow:`${e.color.secondary} 0 -3px 0 0 inset`,outline:"0 none"}})),(({disabled:e})=>e&&{cursor:"not-allowed",opacity:.5}))).displayName="ActionButton",nu=a((({actionItems:e,...t})=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(v6,{...t},e.map((({title:r,className:n,onClick:o,disabled:i},l)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(bh,{key:l,className:n,onClick:o,disabled:!!i},r))))),"ActionBar")}));function w6(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}function au(...e){return t=>e.forEach((r=>w6(r,t)))}function Tt(...e){return react__WEBPACK_IMPORTED_MODULE_0__.useCallback(au(...e),e)}var hi=F((()=>{a(w6,"setRef"),a(au,"composeRefs"),a(Tt,"useComposedRefs")}));function D6(e){return react__WEBPACK_IMPORTED_MODULE_0__.isValidElement(e)&&e.type===y6}function x6(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...u)=>{i(...u),o(...u)}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}function C6(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var su,lu,y6,mn,ia,Dh=F((()=>{hi(),(su=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(((e,t)=>{let{children:r,...n}=e,o=react__WEBPACK_IMPORTED_MODULE_0__.Children.toArray(r),i=o.find(D6);if(i){let l=i.props.children,u=o.map((c=>c===i?react__WEBPACK_IMPORTED_MODULE_0__.Children.count(l)>1?react__WEBPACK_IMPORTED_MODULE_0__.Children.only(null):react__WEBPACK_IMPORTED_MODULE_0__.isValidElement(l)?l.props.children:null:c));return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(lu,{...n,ref:t,children:react__WEBPACK_IMPORTED_MODULE_0__.isValidElement(l)?react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(l,void 0,u):null})}return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(lu,{...n,ref:t,children:r})}))).displayName="Slot",(lu=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(((e,t)=>{let{children:r,...n}=e;if(react__WEBPACK_IMPORTED_MODULE_0__.isValidElement(r)){let o=C6(r);return react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(r,{...x6(n,r.props),ref:t?au(t,o):o})}return react__WEBPACK_IMPORTED_MODULE_0__.Children.count(r)>1?react__WEBPACK_IMPORTED_MODULE_0__.Children.only(null):null}))).displayName="SlotClone",y6=a((({children:e})=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.Fragment,{children:e})),"Slottable"),a(D6,"isSlottable"),a(x6,"mergeProps"),a(C6,"getElementRef")})),Ch=F((()=>{Dh(),mn=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce(((e,t)=>{let r=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(((n,o)=>{let{asChild:i,...l}=n,u=i?su:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(u,{...l,ref:o})}));return r.displayName=`Primitive.${t}`,{...e,[t]:r}}),{})})),uu=F((()=>{ia=globalThis?.document?react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect:()=>{}}));function A6(e,t){return react__WEBPACK_IMPORTED_MODULE_0__.useReducer(((r,n)=>t[r][n]??r),e)}function F6(e){let[t,r]=react__WEBPACK_IMPORTED_MODULE_0__.useState(),n=react__WEBPACK_IMPORTED_MODULE_0__.useRef({}),o=react__WEBPACK_IMPORTED_MODULE_0__.useRef(e),i=react__WEBPACK_IMPORTED_MODULE_0__.useRef("none"),l=e?"mounted":"unmounted",[u,c]=A6(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return react__WEBPACK_IMPORTED_MODULE_0__.useEffect((()=>{let p=mi(n.current);i.current="mounted"===u?p:"none"}),[u]),ia((()=>{let p=n.current,d=o.current;if(d!==e){let f=i.current,v=mi(p);c(e?"MOUNT":"none"===v||"none"===p?.display?"UNMOUNT":d&&f!==v?"ANIMATION_OUT":"UNMOUNT"),o.current=e}}),[e,c]),ia((()=>{if(t){let p=a((h=>{let v=mi(n.current).includes(h.animationName);h.target===t&&v&&react_dom__WEBPACK_IMPORTED_MODULE_3__.flushSync((()=>c("ANIMATION_END")))}),"handleAnimationEnd"),d=a((h=>{h.target===t&&(i.current=mi(n.current))}),"handleAnimationStart");return t.addEventListener("animationstart",d),t.addEventListener("animationcancel",p),t.addEventListener("animationend",p),()=>{t.removeEventListener("animationstart",d),t.removeEventListener("animationcancel",p),t.removeEventListener("animationend",p)}}c("ANIMATION_END")}),[t,c]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:react__WEBPACK_IMPORTED_MODULE_0__.useCallback((p=>{p&&(n.current=getComputedStyle(p)),r(p)}),[])}}function mi(e){return e?.animationName||"none"}function k6(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var gn,Ah=F((()=>{hi(),uu(),a(A6,"useStateMachine"),(gn=a((e=>{let{present:t,children:r}=e,n=F6(t),o="function"==typeof r?r({present:n.isPresent}):react__WEBPACK_IMPORTED_MODULE_0__.Children.only(r),i=Tt(n.ref,k6(o));return"function"==typeof r||n.isPresent?react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(o,{ref:i}):null}),"Presence")).displayName="Presence",a(F6,"usePresence"),a(mi,"getAnimationName"),a(k6,"getElementRef")}));function Fh(e,t=[]){let r=[];function n(i,l){let u=react__WEBPACK_IMPORTED_MODULE_0__.createContext(l),c=r.length;function p(h){let{scope:f,children:v,...b}=h,m=f?.[e][c]||u,g=react__WEBPACK_IMPORTED_MODULE_0__.useMemo((()=>b),Object.values(b));return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(m.Provider,{value:g,children:v})}function d(h,f){let v=f?.[e][c]||u,b=react__WEBPACK_IMPORTED_MODULE_0__.useContext(v);if(b)return b;if(void 0!==l)return l;throw new Error(`\`${h}\` must be used within \`${i}\``)}return r=[...r,l],a(p,"Provider"),a(d,"useContext2"),p.displayName=i+"Provider",[p,d]}a(n,"createContext3");let o=a((()=>{let i=r.map((l=>react__WEBPACK_IMPORTED_MODULE_0__.createContext(l)));return a((function(u){let c=u?.[e]||i;return react__WEBPACK_IMPORTED_MODULE_0__.useMemo((()=>({[`__scope${e}`]:{...u,[e]:c}})),[u,c])}),"useScope")}),"createScope");return o.scopeName=e,[n,L6(o,...t)]}function L6(...e){let t=e[0];if(1===e.length)return t;let r=a((()=>{let n=e.map((o=>({useScope:o(),scopeName:o.scopeName})));return a((function(i){let l=n.reduce(((u,{useScope:c,scopeName:p})=>({...u,...c(i)[`__scope${p}`]})),{});return react__WEBPACK_IMPORTED_MODULE_0__.useMemo((()=>({[`__scope${t.scopeName}`]:l})),[l])}),"useComposedScopes")}),"createScope");return r.scopeName=t.scopeName,r}var kh=F((()=>{a(Fh,"createContextScope"),a(L6,"composeContextScopes")}));function Jt(e){let t=react__WEBPACK_IMPORTED_MODULE_0__.useRef(e);return react__WEBPACK_IMPORTED_MODULE_0__.useEffect((()=>{t.current=e})),react__WEBPACK_IMPORTED_MODULE_0__.useMemo((()=>(...r)=>t.current?.(...r)),[])}var Th=F((()=>{a(Jt,"useCallbackRef")}));function Lh(e){let t=react__WEBPACK_IMPORTED_MODULE_0__.useContext(B6);return e||t||"ltr"}var B6,Bh=F((()=>{B6=react__WEBPACK_IMPORTED_MODULE_0__.createContext(void 0),a(Lh,"useDirection")}));function Ih(e,[t,r]){return Math.min(r,Math.max(t,e))}var Mh=F((()=>{a(Ih,"clamp")}));function Qt(e,t,{checkForDefaultPrevented:r=!0}={}){return a((function(o){if(e?.(o),!1===r||!o.defaultPrevented)return t?.(o)}),"handleEvent")}var _h=F((()=>{a(Qt,"composeEventHandlers")}));function I6(e,t){return react__WEBPACK_IMPORTED_MODULE_0__.useReducer(((r,n)=>t[r][n]??r),e)}function wi(e){return e?parseInt(e,10):0}function Xh(e,t){let r=e/t;return isNaN(r)?0:r}function bi(e){let t=Xh(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function q6(e,t,r,n="ltr"){let o=bi(r),l=t||o/2,u=o-l,c=r.scrollbar.paddingStart+l,p=r.scrollbar.size-r.scrollbar.paddingEnd-u,d=r.content-r.viewport;return Yh([c,p],"ltr"===n?[0,d]:[-1*d,0])(e)}function Ph(e,t,r="ltr"){let n=bi(t),o=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,i=t.scrollbar.size-o,l=t.content-t.viewport,u=i-n,p=Ih(e,"ltr"===r?[0,l]:[-1*l,0]);return Yh([0,l],[0,u])(p)}function Yh(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}function Kh(e,t){return e>0&&e()=>window.clearTimeout(n.current)),[]),react__WEBPACK_IMPORTED_MODULE_0__.useCallback((()=>{window.clearTimeout(n.current),n.current=window.setTimeout(r,t)}),[r,t])}function wn(e,t){let r=Jt(t);ia((()=>{let n=0;if(e){let o=new ResizeObserver((()=>{cancelAnimationFrame(n),n=window.requestAnimationFrame(r)}));return o.observe(e),()=>{window.cancelAnimationFrame(n),o.unobserve(e)}}}),[e,r])}function U6(e,t){let{asChild:r,children:n}=e;if(!r)return"function"==typeof t?t(n):t;let o=react__WEBPACK_IMPORTED_MODULE_0__.Children.only(n);return react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(o,{children:"function"==typeof t?t(o.props.children):t})}var cu,zh,P$,P6,Ge,$h,Oh,Nh,gt,jh,H6,z6,Vh,pu,$6,O6,N6,qh,Wh,vi,Uh,j6,du,Gh,V6,W6,Zh,Jh,Qh,e5,t5,Y6,K6,n5,o5,bn,r5=F((()=>{Ch(),Ah(),kh(),hi(),Th(),Bh(),uu(),Mh(),_h(),a(I6,"useStateMachine"),cu="ScrollArea",[zh,P$]=Fh(cu),[P6,Ge]=zh(cu),($h=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(((e,t)=>{let{__scopeScrollArea:r,type:n="hover",dir:o,scrollHideDelay:i=600,...l}=e,[u,c]=react__WEBPACK_IMPORTED_MODULE_0__.useState(null),[p,d]=react__WEBPACK_IMPORTED_MODULE_0__.useState(null),[h,f]=react__WEBPACK_IMPORTED_MODULE_0__.useState(null),[v,b]=react__WEBPACK_IMPORTED_MODULE_0__.useState(null),[m,g]=react__WEBPACK_IMPORTED_MODULE_0__.useState(null),[y,w]=react__WEBPACK_IMPORTED_MODULE_0__.useState(0),[D,x]=react__WEBPACK_IMPORTED_MODULE_0__.useState(0),[C,E]=react__WEBPACK_IMPORTED_MODULE_0__.useState(!1),[S,R]=react__WEBPACK_IMPORTED_MODULE_0__.useState(!1),A=Tt(t,(I=>c(I))),k=Lh(o);return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(P6,{scope:r,type:n,dir:k,scrollHideDelay:i,scrollArea:u,viewport:p,onViewportChange:d,content:h,onContentChange:f,scrollbarX:v,onScrollbarXChange:b,scrollbarXEnabled:C,onScrollbarXEnabledChange:E,scrollbarY:m,onScrollbarYChange:g,scrollbarYEnabled:S,onScrollbarYEnabledChange:R,onCornerWidthChange:w,onCornerHeightChange:x,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(mn.div,{dir:k,...l,ref:A,style:{position:"relative","--radix-scroll-area-corner-width":y+"px","--radix-scroll-area-corner-height":D+"px",...e.style}})})}))).displayName=cu,Oh="ScrollAreaViewport",(Nh=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(((e,t)=>{let{__scopeScrollArea:r,children:n,asChild:o,nonce:i,...l}=e,u=Ge(Oh,r),p=Tt(t,react__WEBPACK_IMPORTED_MODULE_0__.useRef(null),u.onViewportChange);return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("style",{dangerouslySetInnerHTML:{__html:"\n[data-radix-scroll-area-viewport] {\n scrollbar-width: none;\n -ms-overflow-style: none;\n -webkit-overflow-scrolling: touch;\n}\n[data-radix-scroll-area-viewport]::-webkit-scrollbar {\n display: none;\n}\n:where([data-radix-scroll-area-viewport]) {\n display: flex;\n flex-direction: column;\n align-items: stretch;\n}\n:where([data-radix-scroll-area-content]) {\n flex-grow: 1;\n}\n"},nonce:i}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(mn.div,{"data-radix-scroll-area-viewport":"",...l,asChild:o,ref:p,style:{overflowX:u.scrollbarXEnabled?"scroll":"hidden",overflowY:u.scrollbarYEnabled?"scroll":"hidden",...e.style},children:U6({asChild:o,children:n},(d=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{"data-radix-scroll-area-content":"",ref:u.onContentChange,style:{minWidth:u.scrollbarXEnabled?"fit-content":void 0},children:d})))})]})}))).displayName=Oh,gt="ScrollAreaScrollbar",(jh=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(((e,t)=>{let{forceMount:r,...n}=e,o=Ge(gt,e.__scopeScrollArea),{onScrollbarXEnabledChange:i,onScrollbarYEnabledChange:l}=o,u="horizontal"===e.orientation;return react__WEBPACK_IMPORTED_MODULE_0__.useEffect((()=>(u?i(!0):l(!0),()=>{u?i(!1):l(!1)})),[u,i,l]),"hover"===o.type?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(H6,{...n,ref:t,forceMount:r}):"scroll"===o.type?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(z6,{...n,ref:t,forceMount:r}):"auto"===o.type?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(Vh,{...n,ref:t,forceMount:r}):"always"===o.type?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(pu,{...n,ref:t}):null}))).displayName=gt,H6=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(((e,t)=>{let{forceMount:r,...n}=e,o=Ge(gt,e.__scopeScrollArea),[i,l]=react__WEBPACK_IMPORTED_MODULE_0__.useState(!1);return react__WEBPACK_IMPORTED_MODULE_0__.useEffect((()=>{let u=o.scrollArea,c=0;if(u){let p=a((()=>{window.clearTimeout(c),l(!0)}),"handlePointerEnter"),d=a((()=>{c=window.setTimeout((()=>l(!1)),o.scrollHideDelay)}),"handlePointerLeave");return u.addEventListener("pointerenter",p),u.addEventListener("pointerleave",d),()=>{window.clearTimeout(c),u.removeEventListener("pointerenter",p),u.removeEventListener("pointerleave",d)}}}),[o.scrollArea,o.scrollHideDelay]),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(gn,{present:r||i,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(Vh,{"data-state":i?"visible":"hidden",...n,ref:t})})})),z6=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(((e,t)=>{let{forceMount:r,...n}=e,o=Ge(gt,e.__scopeScrollArea),i="horizontal"===e.orientation,l=yi((()=>c("SCROLL_END")),100),[u,c]=I6("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return react__WEBPACK_IMPORTED_MODULE_0__.useEffect((()=>{if("idle"===u){let p=window.setTimeout((()=>c("HIDE")),o.scrollHideDelay);return()=>window.clearTimeout(p)}}),[u,o.scrollHideDelay,c]),react__WEBPACK_IMPORTED_MODULE_0__.useEffect((()=>{let p=o.viewport,d=i?"scrollLeft":"scrollTop";if(p){let h=p[d],f=a((()=>{let v=p[d];h!==v&&(c("SCROLL"),l()),h=v}),"handleScroll");return p.addEventListener("scroll",f),()=>p.removeEventListener("scroll",f)}}),[o.viewport,i,c,l]),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(gn,{present:r||"hidden"!==u,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(pu,{"data-state":"hidden"===u?"hidden":"visible",...n,ref:t,onPointerEnter:Qt(e.onPointerEnter,(()=>c("POINTER_ENTER"))),onPointerLeave:Qt(e.onPointerLeave,(()=>c("POINTER_LEAVE")))})})})),Vh=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(((e,t)=>{let r=Ge(gt,e.__scopeScrollArea),{forceMount:n,...o}=e,[i,l]=react__WEBPACK_IMPORTED_MODULE_0__.useState(!1),u="horizontal"===e.orientation,c=yi((()=>{if(r.viewport){let p=r.viewport.offsetWidth{let{orientation:r="vertical",...n}=e,o=Ge(gt,e.__scopeScrollArea),i=react__WEBPACK_IMPORTED_MODULE_0__.useRef(null),l=react__WEBPACK_IMPORTED_MODULE_0__.useRef(0),[u,c]=react__WEBPACK_IMPORTED_MODULE_0__.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),p=Xh(u.viewport,u.content),d={...n,sizes:u,onSizesChange:c,hasThumb:p>0&&p<1,onThumbChange:a((f=>i.current=f),"onThumbChange"),onThumbPointerUp:a((()=>l.current=0),"onThumbPointerUp"),onThumbPointerDown:a((f=>l.current=f),"onThumbPointerDown")};function h(f,v){return q6(f,l.current,u,v)}return a(h,"getScrollPosition"),"horizontal"===r?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)($6,{...d,ref:t,onThumbPositionChange:a((()=>{if(o.viewport&&i.current){let v=Ph(o.viewport.scrollLeft,u,o.dir);i.current.style.transform=`translate3d(${v}px, 0, 0)`}}),"onThumbPositionChange"),onWheelScroll:a((f=>{o.viewport&&(o.viewport.scrollLeft=f)}),"onWheelScroll"),onDragScroll:a((f=>{o.viewport&&(o.viewport.scrollLeft=h(f,o.dir))}),"onDragScroll")}):"vertical"===r?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(O6,{...d,ref:t,onThumbPositionChange:a((()=>{if(o.viewport&&i.current){let v=Ph(o.viewport.scrollTop,u);i.current.style.transform=`translate3d(0, ${v}px, 0)`}}),"onThumbPositionChange"),onWheelScroll:a((f=>{o.viewport&&(o.viewport.scrollTop=f)}),"onWheelScroll"),onDragScroll:a((f=>{o.viewport&&(o.viewport.scrollTop=h(f))}),"onDragScroll")}):null})),$6=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(((e,t)=>{let{sizes:r,onSizesChange:n,...o}=e,i=Ge(gt,e.__scopeScrollArea),[l,u]=react__WEBPACK_IMPORTED_MODULE_0__.useState(),c=react__WEBPACK_IMPORTED_MODULE_0__.useRef(null),p=Tt(t,c,i.onScrollbarXChange);return react__WEBPACK_IMPORTED_MODULE_0__.useEffect((()=>{c.current&&u(getComputedStyle(c.current))}),[c]),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(Wh,{"data-orientation":"horizontal",...o,ref:p,sizes:r,style:{bottom:0,left:"rtl"===i.dir?"var(--radix-scroll-area-corner-width)":0,right:"ltr"===i.dir?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":bi(r)+"px",...e.style},onThumbPointerDown:a((d=>e.onThumbPointerDown(d.x)),"onThumbPointerDown"),onDragScroll:a((d=>e.onDragScroll(d.x)),"onDragScroll"),onWheelScroll:a(((d,h)=>{if(i.viewport){let f=i.viewport.scrollLeft+d.deltaX;e.onWheelScroll(f),Kh(f,h)&&d.preventDefault()}}),"onWheelScroll"),onResize:a((()=>{c.current&&i.viewport&&l&&n({content:i.viewport.scrollWidth,viewport:i.viewport.offsetWidth,scrollbar:{size:c.current.clientWidth,paddingStart:wi(l.paddingLeft),paddingEnd:wi(l.paddingRight)}})}),"onResize")})})),O6=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(((e,t)=>{let{sizes:r,onSizesChange:n,...o}=e,i=Ge(gt,e.__scopeScrollArea),[l,u]=react__WEBPACK_IMPORTED_MODULE_0__.useState(),c=react__WEBPACK_IMPORTED_MODULE_0__.useRef(null),p=Tt(t,c,i.onScrollbarYChange);return react__WEBPACK_IMPORTED_MODULE_0__.useEffect((()=>{c.current&&u(getComputedStyle(c.current))}),[c]),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(Wh,{"data-orientation":"vertical",...o,ref:p,sizes:r,style:{top:0,right:"ltr"===i.dir?0:void 0,left:"rtl"===i.dir?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":bi(r)+"px",...e.style},onThumbPointerDown:a((d=>e.onThumbPointerDown(d.y)),"onThumbPointerDown"),onDragScroll:a((d=>e.onDragScroll(d.y)),"onDragScroll"),onWheelScroll:a(((d,h)=>{if(i.viewport){let f=i.viewport.scrollTop+d.deltaY;e.onWheelScroll(f),Kh(f,h)&&d.preventDefault()}}),"onWheelScroll"),onResize:a((()=>{c.current&&i.viewport&&l&&n({content:i.viewport.scrollHeight,viewport:i.viewport.offsetHeight,scrollbar:{size:c.current.clientHeight,paddingStart:wi(l.paddingTop),paddingEnd:wi(l.paddingBottom)}})}),"onResize")})})),[N6,qh]=zh(gt),Wh=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(((e,t)=>{let{__scopeScrollArea:r,sizes:n,hasThumb:o,onThumbChange:i,onThumbPointerUp:l,onThumbPointerDown:u,onThumbPositionChange:c,onDragScroll:p,onWheelScroll:d,onResize:h,...f}=e,v=Ge(gt,r),[b,m]=react__WEBPACK_IMPORTED_MODULE_0__.useState(null),g=Tt(t,(A=>m(A))),y=react__WEBPACK_IMPORTED_MODULE_0__.useRef(null),w=react__WEBPACK_IMPORTED_MODULE_0__.useRef(""),D=v.viewport,x=n.content-n.viewport,C=Jt(d),E=Jt(c),S=yi(h,10);function R(A){if(y.current){let k=A.clientX-y.current.left,I=A.clientY-y.current.top;p({x:k,y:I})}}return a(R,"handleDragScroll"),react__WEBPACK_IMPORTED_MODULE_0__.useEffect((()=>{let A=a((k=>{let I=k.target;b?.contains(I)&&C(k,x)}),"handleWheel");return document.addEventListener("wheel",A,{passive:!1}),()=>document.removeEventListener("wheel",A,{passive:!1})}),[D,b,x,C]),react__WEBPACK_IMPORTED_MODULE_0__.useEffect(E,[n,E]),wn(b,S),wn(v.content,S),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(N6,{scope:r,scrollbar:b,hasThumb:o,onThumbChange:Jt(i),onThumbPointerUp:Jt(l),onThumbPositionChange:E,onThumbPointerDown:Jt(u),children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(mn.div,{...f,ref:g,style:{position:"absolute",...f.style},onPointerDown:Qt(e.onPointerDown,(A=>{0===A.button&&(A.target.setPointerCapture(A.pointerId),y.current=b.getBoundingClientRect(),w.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",v.viewport&&(v.viewport.style.scrollBehavior="auto"),R(A))})),onPointerMove:Qt(e.onPointerMove,R),onPointerUp:Qt(e.onPointerUp,(A=>{let k=A.target;k.hasPointerCapture(A.pointerId)&&k.releasePointerCapture(A.pointerId),document.body.style.webkitUserSelect=w.current,v.viewport&&(v.viewport.style.scrollBehavior=""),y.current=null}))})})})),vi="ScrollAreaThumb",Uh=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(((e,t)=>{let{forceMount:r,...n}=e,o=qh(vi,e.__scopeScrollArea);return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(gn,{present:r||o.hasThumb,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(j6,{ref:t,...n})})})),j6=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(((e,t)=>{let{__scopeScrollArea:r,style:n,...o}=e,i=Ge(vi,r),l=qh(vi,r),{onThumbPositionChange:u}=l,c=Tt(t,(h=>l.onThumbChange(h))),p=react__WEBPACK_IMPORTED_MODULE_0__.useRef(),d=yi((()=>{p.current&&(p.current(),p.current=void 0)}),100);return react__WEBPACK_IMPORTED_MODULE_0__.useEffect((()=>{let h=i.viewport;if(h){let f=a((()=>{if(d(),!p.current){let v=W6(h,u);p.current=v,u()}}),"handleScroll");return u(),h.addEventListener("scroll",f),()=>h.removeEventListener("scroll",f)}}),[i.viewport,d,u]),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(mn.div,{"data-state":l.hasThumb?"visible":"hidden",...o,ref:c,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...n},onPointerDownCapture:Qt(e.onPointerDownCapture,(h=>{let v=h.target.getBoundingClientRect(),b=h.clientX-v.left,m=h.clientY-v.top;l.onThumbPointerDown({x:b,y:m})})),onPointerUp:Qt(e.onPointerUp,l.onThumbPointerUp)})})),Uh.displayName=vi,du="ScrollAreaCorner",(Gh=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(((e,t)=>{let r=Ge(du,e.__scopeScrollArea),n=!(!r.scrollbarX||!r.scrollbarY);return"scroll"!==r.type&&n?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(V6,{...e,ref:t}):null}))).displayName=du,V6=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(((e,t)=>{let{__scopeScrollArea:r,...n}=e,o=Ge(du,r),[i,l]=react__WEBPACK_IMPORTED_MODULE_0__.useState(0),[u,c]=react__WEBPACK_IMPORTED_MODULE_0__.useState(0),p=!(!i||!u);return wn(o.scrollbarX,(()=>{let d=o.scrollbarX?.offsetHeight||0;o.onCornerHeightChange(d),c(d)})),wn(o.scrollbarY,(()=>{let d=o.scrollbarY?.offsetWidth||0;o.onCornerWidthChange(d),l(d)})),p?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(mn.div,{...n,ref:t,style:{width:i,height:u,position:"absolute",right:"ltr"===o.dir?0:void 0,left:"rtl"===o.dir?0:void 0,bottom:0,...e.style}}):null})),a(wi,"toInt"),a(Xh,"getThumbRatio"),a(bi,"getThumbSize"),a(q6,"getScrollPositionFromPointer"),a(Ph,"getThumbOffsetFromScroll"),a(Yh,"linearScale"),a(Kh,"isScrollingWithinScrollbarBounds"),W6=a(((e,t=()=>{})=>{let r={left:e.scrollLeft,top:e.scrollTop},n=0;return a((function o(){let i={left:e.scrollLeft,top:e.scrollTop},l=r.left!==i.left,u=r.top!==i.top;(l||u)&&t(),r=i,n=window.requestAnimationFrame(o)}),"loop")(),()=>window.cancelAnimationFrame(n)}),"addUnlinkedScrollListener"),a(yi,"useDebounceCallback"),a(wn,"useResizeObserver"),a(U6,"getSubtree"),Zh=$h,Jh=Nh,Qh=jh,e5=Uh,t5=Gh})),xi=F((()=>{r5(),Y6=(0,_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4)(Zh)((({scrollbarsize:e,offset:t})=>({width:"100%",height:"100%",overflow:"hidden","--scrollbar-size":`${e+t}px`,"--radix-scroll-area-thumb-width":`${e}px`}))),K6=(0,_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4)(Jh)({width:"100%",height:"100%"}),n5=(0,_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4)(Qh)((({offset:e,horizontal:t,vertical:r})=>({display:"flex",userSelect:"none",touchAction:"none",background:"transparent",transition:"all 0.2s ease-out",borderRadius:"var(--scrollbar-size)",'&[data-orientation="vertical"]':{width:"var(--scrollbar-size)",paddingRight:e,marginTop:e,marginBottom:"true"===t&&"true"===r?0:e},'&[data-orientation="horizontal"]':{flexDirection:"column",height:"var(--scrollbar-size)",paddingBottom:e,marginLeft:e,marginRight:"true"===t&&"true"===r?0:e}}))),o5=(0,_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4)(e5)((({theme:e})=>({flex:1,background:e.textMutedColor,opacity:.5,borderRadius:"var(--scrollbar-size)",position:"relative",transition:"opacity 0.2s ease-out","&:hover":{opacity:.8},"::before":{content:'""',position:"absolute",top:"50%",left:"50%",transform:"translate(-50%,-50%)",width:"100%",height:"100%"}}))),(bn=(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)((({children:e,horizontal:t=!1,vertical:r=!1,offset:n=2,scrollbarSize:o=6,className:i},l)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(Y6,{scrollbarsize:o,offset:n,className:i},react__WEBPACK_IMPORTED_MODULE_0__.createElement(K6,{ref:l},e),t&&react__WEBPACK_IMPORTED_MODULE_0__.createElement(n5,{orientation:"horizontal",offset:n,horizontal:t.toString(),vertical:r.toString()},react__WEBPACK_IMPORTED_MODULE_0__.createElement(o5,null)),r&&react__WEBPACK_IMPORTED_MODULE_0__.createElement(n5,{orientation:"vertical",offset:n,horizontal:t.toString(),vertical:r.toString()},react__WEBPACK_IMPORTED_MODULE_0__.createElement(o5,null)),t&&r&&react__WEBPACK_IMPORTED_MODULE_0__.createElement(t5,null))))).displayName="ScrollArea"})),hu={};function fu(){return i5?.clipboard?e=>i5.clipboard.writeText(e):async e=>{let t=la.createElement("TEXTAREA"),r=la.activeElement;t.value=e,la.body.appendChild(t),t.select(),la.execCommand("copy"),la.body.removeChild(t),r.focus()}}ln(hu,{SyntaxHighlighter:()=>ua,createCopyToClipboardFunction:()=>fu,default:()=>cb,supportedLanguages:()=>s5});var l5,i5,la,eb,s5,tb,rb,nb,ob,ab,ib,lb,u5,sb,ub,ua,cb,ca=F((()=>{ri(),l5=we(ea(),1),Df(),Rf(),kf(),Mf(),$f(),qf(),Xf(),Qf(),rh(),sh(),ph(),gh(),yf(),ou(),xi(),({navigator:i5,document:la,window:eb}=sn),s5={jsextra:zf,jsx:Gf,json:Vf,yml:mh,md:Jf,bash:Sf,css:Ff,html:th,tsx:lh,typescript:ch,graphql:If},Object.entries(s5).forEach((([e,t])=>{fi.registerLanguage(e,t)})),tb=(0,l5.default)(2)((e=>Object.entries(e.code||{}).reduce(((t,[r,n])=>({...t,[`* .${r}`]:n})),{}))),rb=fu(),a(fu,"createCopyToClipboardFunction"),nb=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div((({theme:e})=>({position:"relative",overflow:"hidden",color:e.color.defaultText})),(({theme:e,bordered:t})=>t?{border:`1px solid ${e.appBorderColor}`,borderRadius:e.borderRadius,background:e.background.content}:{}),(({showLineNumbers:e})=>e?{".react-syntax-highlighter-line-number::before":{content:"attr(data-line-number)"}}:{})),ob=a((({children:e,className:t})=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(bn,{horizontal:!0,vertical:!0,className:t},e)),"UnstyledScroller"),ab=(0,_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4)(ob)({position:"relative"},(({theme:e})=>tb(e))),ib=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.pre((({theme:e,padded:t})=>({display:"flex",justifyContent:"flex-start",margin:0,padding:t?e.layoutMargin:0}))),lb=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div((({theme:e})=>({flex:1,paddingLeft:2,paddingRight:e.layoutMargin,opacity:1,fontFamily:e.typography.fonts.mono}))),u5=a((e=>{let t=[...e.children],r=t[0],n=r.children[0].value,o={...r,children:[],properties:{...r.properties,"data-line-number":n,style:{...r.properties.style,userSelect:"auto"}}};return t[0]=o,{...e,children:t}}),"processLineNumber"),sb=a((({rows:e,stylesheet:t,useInlineStyles:r})=>e.map(((n,o)=>yr({node:u5(n),stylesheet:t,useInlineStyles:r,key:`code-segement${o}`})))),"defaultRenderer"),ub=a(((e,t)=>t?e?({rows:r,...n})=>e({rows:r.map((o=>u5(o))),...n}):sb:e),"wrapRenderer"),(ua=a((({children:e,language:t="jsx",copyable:r=!1,bordered:n=!1,padded:o=!1,format:i=!0,formatter:l,className:u,showLineNumbers:c=!1,...p})=>{if("string"!=typeof e||!e.trim())return null;let[d,h]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)("");(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{l?l(i,e).then(h):h(e.trim())}),[e,i,l]);let[f,v]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),b=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((g=>{g.preventDefault(),rb(d).then((()=>{v(!0),eb.setTimeout((()=>v(!1)),1500)})).catch(_storybook_core_client_logger__WEBPACK_IMPORTED_MODULE_4__.logger.error)}),[d]),m=ub(p.renderer,c);return react__WEBPACK_IMPORTED_MODULE_0__.createElement(nb,{bordered:n,padded:o,showLineNumbers:c,className:u},react__WEBPACK_IMPORTED_MODULE_0__.createElement(ab,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement(fi,{padded:o||n,language:t,showLineNumbers:c,showInlineLineNumbers:c,useInlineStyles:!1,PreTag:ib,CodeTag:lb,lineNumberContainerStyle:{},...p,renderer:m},d)),r?react__WEBPACK_IMPORTED_MODULE_0__.createElement(nu,{actionItems:[{title:f?"Copied":"Copy",onClick:b}]}):null)}),"SyntaxHighlighter")).registerLanguage=(...e)=>fi.registerLanguage(...e),cb=ua}));function hx(e){if("string"==typeof e)return Ju;if(Array.isArray(e))return Qu;if(!e)return;let{type:t}=e;return X5.has(t)?t:void 0}function gx(e){let t=null===e?"null":typeof e;if("string"!==t&&"object"!==t)return`Unexpected doc '${t}', \nExpected it to be 'string' or 'object'.`;if(ac(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if("[object Object]"!==r)return`Unexpected doc '${r}'.`;let n=mx([...X5].map((o=>`'${o}'`)));return`Unexpected doc.type '${e.type}'.\nExpected it to be ${n}.`}function bt(e){return Tr(e),{type:zi,contents:e}}function Z5(e,t){return Tr(t),{type:$i,contents:t,n:e}}function ue(e,t={}){return Tr(e),ic(t.expandedStates,!0),{type:wa,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function wx(e){return Z5(Number.NEGATIVE_INFINITY,e)}function bx(e){return Z5({type:"root"},e)}function J5(e){return ic(e),{type:Oi,parts:e}}function Li(e,t="",r={}){return Tr(e),""!==t&&Tr(t),{type:Ni,breakContents:e,flatContents:t,groupId:r.groupId}}function yx(e,t){return Tr(e),{type:ji,contents:e,groupId:t.groupId,negate:t.negate}}function Qn(e,t){Tr(e),ic(t);let r=[];for(let n=0;n""===t)))return"";break;case wa:if(!(e.contents||e.id||e.break||e.expandedStates))return"";if(e.contents.type===wa&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case $i:case zi:case ji:case rc:if(!e.contents)return"";break;case Ni:if(!e.flatContents&&!e.breakContents)return"";break;case Qu:{let t=[];for(let r of e){if(!r)continue;let[n,...o]=Array.isArray(r)?r:[r];"string"==typeof n&&"string"==typeof xa(!1,t,-1)?t[t.length-1]+=n:t.push(n),t.push(...o)}return 0===t.length?"":1===t.length?t[0]:t}case Ju:case ec:case tc:case nc:case Mr:case oc:case Vi:break;default:throw new Y5(e)}return e}function Rx(e){return lc(e,(t=>Sx(t)))}function ot(e,t=Cx){return lc(e,(r=>"string"==typeof r?Qn(t,r.split("\n")):r))}function Ax(e,t){let r=!0===t||t===Ei?Ei:h5,n=r===Ei?h5:Ei,o=0,i=0;for(let l of e)l===r?o++:l===n&&i++;return o>i?n:r}function kx(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Px(e){return"front-matter"===e?.type}function Q5(e,t){var r;if("text"===e.type||"comment"===e.type||qi(e)||"yaml"===e.type||"toml"===e.type)return null;if("attribute"===e.type&&delete t.value,"docType"===e.type&&delete t.value,"angularControlFlowBlock"===e.type&&null!=(r=e.parameters)&&r.children)for(let n of t.parameters.children)zx.has(e.name)?delete n.expression:n.expression=n.expression.trim();"angularIcuExpression"===e.type&&(t.switchValue=e.switchValue.trim()),"angularLetDeclarationInitializer"===e.type&&delete t.value}async function Ox(e,t){if("yaml"===e.language){let r=e.value.trim(),n=r?await t(r,{parser:"yaml"}):"";return bx([e.startDelimiter,e.explicitLanguage,Q,n,n?Q:"",e.endDelimiter])}}function Wi(e,t=!0){return[bt([Ee,e]),t?Ee:""]}function eo(e,t){let r="NGRoot"===e.type?"NGMicrosyntax"===e.node.type&&1===e.node.body.length&&"NGMicrosyntaxExpression"===e.node.body[0].type?e.node.body[0].expression:e.node:"JsExpressionRoot"===e.type?e.node:e;return r&&("ObjectExpression"===r.type||"ArrayExpression"===r.type||("__vue_expression"===t.parser||"__vue_ts_expression"===t.parser)&&("TemplateLiteral"===r.type||"StringLiteral"===r.type))}async function at(e,t,r,n){r={__isInHtmlAttribute:!0,__embeddedInHtml:!0,...r};let o=!0;n&&(r.__onHtmlBindingRoot=(l,u)=>{o=n(l,u)});let i=await t(e,r,t);return o?ue(i):Wi(i)}function jx(e,t,r,n){let{node:o}=r,i=n.originalText.slice(o.sourceSpan.start.offset,o.sourceSpan.end.offset);return/^\s*$/u.test(i)?"":at(i,e,{parser:"__ng_directive",__isInHtmlAttribute:!1},eo)}function m5(e,t){if(!t)return;let r=qx(t).toLowerCase();return e.find((({filenames:n})=>n?.some((o=>o.toLowerCase()===r))))??e.find((({extensions:n})=>n?.some((o=>r.endsWith(o)))))}function Wx(e,t){if(t)return e.find((({name:r})=>r.toLowerCase()===t))??e.find((({aliases:r})=>r?.includes(t)))??e.find((({extensions:r})=>r?.includes(`.${t}`)))}function Ux(e,t){let r=e.plugins.flatMap((o=>o.languages??[])),n=Wx(r,t.language)??m5(r,t.physicalFile)??m5(r,t.file)??void t.physicalFile;return n?.parsers[0]}function Zx(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}function t2(e,t){return!!("ieConditionalComment"===e.type&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||"ieConditionalComment"===e.type&&!e.complete||Jn(e)&&e.children.some((r=>"text"!==r.type&&"interpolation"!==r.type))||uc(e,t)&&!Bt(e)&&"interpolation"!==e.type)}function Gi(e){return!("attribute"===e.type||!e.parent||!e.prev)&&eC(e.prev)}function eC(e){return"comment"===e.type&&"prettier-ignore"===e.value.trim()}function Xe(e){return"text"===e.type||"comment"===e.type}function Bt(e){return"element"===e.type&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName||"svg:script"===e.fullName||ba(e)&&("script"===e.name||"style"===e.name))}function tC(e){return e.children&&!Bt(e)}function rC(e){return Bt(e)||"interpolation"===e.type||r2(e)}function r2(e){return u2(e).startsWith("pre")}function nC(e,t){var r,n;let o=function i(){return!qi(e)&&"angularControlFlowBlock"!==e.type&&(!("text"!==e.type&&"interpolation"!==e.type||!e.prev||"text"!==e.prev.type&&"interpolation"!==e.prev.type)||!(!e.parent||"none"===e.parent.cssDisplay)&&(!!Jn(e.parent)||!(!e.prev&&("root"===e.parent.type||Jn(e)&&e.parent||Bt(e.parent)||Xi(e.parent,t)||!dC(e.parent.cssDisplay))||e.prev&&!mC(e.prev.cssDisplay))))}();return o&&!e.prev&&null!=(n=null==(r=e.parent)?void 0:r.tagDefinition)&&n.ignoreFirstLf?"interpolation"===e.type:o}function oC(e,t){return!qi(e)&&"angularControlFlowBlock"!==e.type&&(!("text"!==e.type&&"interpolation"!==e.type||!e.next||"text"!==e.next.type&&"interpolation"!==e.next.type)||!(!e.parent||"none"===e.parent.cssDisplay)&&(!!Jn(e.parent)||!(!e.next&&("root"===e.parent.type||Jn(e)&&e.parent||Bt(e.parent)||Xi(e.parent,t)||!fC(e.parent.cssDisplay))||e.next&&!hC(e.next.cssDisplay))))}function aC(e){return gC(e.cssDisplay)&&!Bt(e)}function Si(e){return qi(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+10&&(["body","script","style"].includes(e.name)||e.children.some((t=>sC(t))))||e.firstChild&&e.firstChild===e.lastChild&&"text"!==e.firstChild.type&&a2(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||i2(e.lastChild))}function n2(e){return"element"===e.type&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&"table-cell"!==e.cssDisplay)}function Nu(e){return l2(e)||e.prev&&lC(e.prev)||o2(e)}function lC(e){return l2(e)||"element"===e.type&&"br"===e.fullName||o2(e)}function o2(e){return a2(e)&&i2(e)}function a2(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.linee.sourceSpan.end.line:"root"===e.parent.type||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function l2(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function sc(e){return e.lastChild?sc(e.lastChild):e}function sC(e){var t;return null==(t=e.children)?void 0:t.some((r=>"text"!==r.type))}function s2(e){if(e)switch(e){case"module":case"text/javascript":case"text/babel":case"application/javascript":return"babel";case"application/x-typescript":return"typescript";case"text/markdown":return"markdown";case"text/html":return"html";case"text/x-handlebars-template":return"glimmer";default:if(e.endsWith("json")||e.endsWith("importmap")||"speculationrules"===e)return"json"}}function uC(e,t){let{name:r,attrMap:n}=e;if("script"!==r||Object.prototype.hasOwnProperty.call(n,"src"))return;let{type:o,lang:i}=e.attrMap;return i||o?Ui(t,{language:i})??s2(o):"babel"}function cC(e,t){if(!uc(e,t))return;let{attrMap:r}=e;if(Object.prototype.hasOwnProperty.call(r,"src"))return;let{type:n,lang:o}=r;return Ui(t,{language:o})??s2(n)}function pC(e,t){if("style"!==e.name)return;let{lang:r}=e.attrMap;return r?Ui(t,{language:r}):"css"}function g5(e,t){return uC(e,t)??pC(e,t)??cC(e,t)}function Ca(e){return"block"===e||"list-item"===e||e.startsWith("table")}function dC(e){return!Ca(e)&&"inline-block"!==e}function fC(e){return!Ca(e)&&"inline-block"!==e}function hC(e){return!Ca(e)}function mC(e){return!Ca(e)}function gC(e){return!Ca(e)&&"inline-block"!==e}function Jn(e){return u2(e).startsWith("pre")}function vC(e,t){let r=e;for(;r;){if(t(r))return!0;r=r.parent}return!1}function wC(e,t){var r;if(to(e,t))return"block";if("comment"===(null==(r=e.prev)?void 0:r.type)){let o=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/u);if(o)return o[1]}let n=!1;if("element"===e.type&&"svg"===e.namespace){if(!vC(e,(o=>"svg:foreignObject"===o.fullName)))return"svg"===e.name?"inline-block":"block";n=!0}switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return"element"===e.type&&(!e.namespace||n||ba(e))&&Xx[e.name]||Gx}}function u2(e){return"element"===e.type&&(!e.namespace||ba(e))&&Kx[e.name]||Yx}function bC(e){let t=Number.POSITIVE_INFINITY;for(let r of e.split("\n")){if(0===r.length)continue;let n=wt.getLeadingWhitespaceCount(r);if(0===n)return 0;r.length!==n&&nr.slice(t))).join("\n")}function p2(e){return Oe(!1,Oe(!1,e,"'","'"),""",'"')}function or(e){return p2(e.value)}function Xi(e,t){return to(e,t)&&!yC.has(e.fullName)}function to(e,t){return"vue"===t.parser&&"element"===e.type&&"root"===e.parent.type&&"html"!==e.fullName.toLowerCase()}function uc(e,t){return to(e,t)&&(Xi(e,t)||e.attrMap.lang&&"html"!==e.attrMap.lang)}function DC(e){let t=e.fullName;return"#"===t.charAt(0)||"slot-scope"===t||"v-slot"===t||t.startsWith("v-slot:")}function xC(e,t){let r=e.parent;if(!to(r,t))return!1;let n=r.fullName,o=e.fullName;return"script"===n&&"setup"===o||"style"===n&&"vars"===o}function d2(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?ot(t):ot(c2(e2(t)),Q):Qn(fe,wt.split(t))}function f2(e,t){return to(e,t)&&"script"===e.name}async function CC(e,t){let r=[];for(let[n,o]of e.split(h2).entries())if(n%2==0)r.push(ot(o));else try{r.push(ue(["{{",bt([fe,await at(o,t,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),fe,"}}"]))}catch{r.push("{{",ot(o),"}}")}return r}function cc({parser:e}){return(t,r,n)=>at(or(n.node),t,{parser:e},eo)}function AC(e,t){if("angular"!==t.parser)return;let{node:r}=e,n=r.fullName;if(n.startsWith("(")&&n.endsWith(")")||n.startsWith("on-"))return EC;if(n.startsWith("[")&&n.endsWith("]")||/^bind(?:on)?-/u.test(n)||/^ng-(?:if|show|hide|class|style)$/u.test(n))return SC;if(n.startsWith("*"))return RC;let o=or(r);return/^i18n(?:-.+)?$/u.test(n)?()=>Wi(J5(d2(r,o.trim())),!o.includes("@@")):h2.test(o)?i=>CC(o,i):void 0}function kC(e,t){let{node:r}=e,n=or(r);if("class"===r.fullName&&!t.parentParser&&!n.includes("{{"))return()=>n.trim().split(/\s+/u).join(" ")}function v5(e){return"\t"===e||"\n"===e||"\f"===e||"\r"===e||" "===e}function PC(e){let r,n,o,i,l,c,t=e.length,u=0;function p(v){let b,m=v.exec(e.substring(u));if(m)return[b]=m,u+=b.length,b}a(p,"p");let d=[];for(;;){if(p(BC),u>=t){if(0===d.length)throw new Error("Must contain one or more image candidate strings.");return d}c=u,r=p(IC),n=[],","===r.slice(-1)?(r=r.replace(MC,""),f()):h()}function h(){for(p(LC),o="",i="in descriptor";;){if(l=e.charAt(u),"in descriptor"===i)if(v5(l))o&&(n.push(o),o="",i="after descriptor");else{if(","===l)return u+=1,o&&n.push(o),void f();if("("===l)o+=l,i="in parens";else{if(""===l)return o&&n.push(o),void f();o+=l}}else if("in parens"===i)if(")"===l)o+=l,i="in descriptor";else{if(""===l)return n.push(o),void f();o+=l}else if("after descriptor"===i&&!v5(l)){if(""===l)return void f();i="in descriptor",u-=1}u+=1}}function f(){let b,m,g,y,D,x,C,E,S,v=!1,w={};for(y=0;yOC(or(e.node))}function OC(e){let t=HC(e),r=$C.filter((d=>t.some((h=>Object.prototype.hasOwnProperty.call(h,d)))));if(r.length>1)throw new Error("Mixed descriptor in srcset is not supported");let[n]=r,o=m2[n],i=t.map((d=>d.source.value)),l=Math.max(...i.map((d=>d.length))),u=t.map((d=>d[n]?String(d[n].value):"")),c=u.map((d=>{let h=d.indexOf(".");return-1===h?d.length:h})),p=Math.max(...c);return Wi(Qn([",",fe],i.map(((d,h)=>{let f=[d],v=u[h];if(v){let b=l-d.length+1,m=p-c[h],g=" ".repeat(b+m);f.push(Li(g," "),v+o)}return f}))))}function jC(e,t){let{node:r}=e,n=or(e.node).trim();if("style"===r.fullName&&!t.parentParser&&!n.includes("{{"))return async o=>Wi(await o(n,{parser:"css",__isHTMLStyleAttribute:!0}))}function VC(e,t){let{root:r}=e;return ju.has(r)||ju.set(r,r.children.some((n=>f2(n,t)&&["ts","typescript"].includes(n.attrMap.lang)))),ju.get(r)}function qC(e,t,r){let{node:n}=r;return at(`type T<${or(n)}> = any`,e,{parser:"babel-ts",__isEmbeddedTypescriptGenericParameters:!0},eo)}function WC(e,t,{parseWithTs:r}){return at(`function _(${e}) {}`,t,{parser:r?"babel-ts":"babel",__isVueBindings:!0})}function UC(e){let n=e.trim();return/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/u.test(n)||/^[$_a-z][\w$]*(?:\.[$_a-z][\w$]*|\['[^']*'\]|\["[^"]*"\]|\[\d+\]|\[[$_a-z][\w$]*\])*$/iu.test(n)}async function GC(e,t,r,n){let o=or(r.node),{left:i,operator:l,right:u}=XC(o),c=pc(r,n);return[ue(await at(`function _(${i}) {}`,e,{parser:c?"babel-ts":"babel",__isVueForBindingLeft:!0}))," ",l," ",await at(u,e,{parser:c?"__ts_expression":"__js_expression"})]}function XC(e){let r=/,([^,\]}]*)(?:,([^,\]}]*))?$/u,o=e.match(/(.*?)\s+(in|of)\s+(.*)/su);if(!o)return;let i={};if(i.for=o[3].trim(),!i.for)return;let l=Oe(!1,o[1].trim(),/^\(|\)$/gu,""),u=l.match(r);u?(i.alias=l.replace(r,""),i.iterator1=u[1].trim(),u[2]&&(i.iterator2=u[2].trim())):i.alias=l;let c=[i.alias,i.iterator1,i.iterator2];return c.some(((p,d)=>!p&&(0===d||c.slice(d+1).some(Boolean))))?void 0:{left:c.filter(Boolean).join(","),operator:o[2],right:i.for}}function YC(e,t){if("vue"!==t.parser)return;let{node:r}=e,n=r.fullName;if("v-for"===n)return GC;if("generic"===n&&f2(r.parent,t))return qC;let o=or(r),i=pc(e,t);return DC(r)||xC(r,t)?l=>WC(o,l,{parseWithTs:i}):n.startsWith("@")||n.startsWith("v-on:")?l=>KC(o,l,{parseWithTs:i}):n.startsWith(":")||n.startsWith("v-bind:")?l=>ZC(o,l,{parseWithTs:i}):n.startsWith("v-")?l=>g2(o,l,{parseWithTs:i}):void 0}function KC(e,t,{parseWithTs:r}){return UC(e)?g2(e,t,{parseWithTs:r}):at(e,t,{parser:r?"__vue_ts_event_binding":"__vue_event_binding"},eo)}function ZC(e,t,{parseWithTs:r}){return at(e,t,{parser:r?"__vue_ts_expression":"__vue_expression"},eo)}function g2(e,t,{parseWithTs:r}){return at(e,t,{parser:r?"__ts_expression":"__js_expression"},eo)}function QC(e,t){let{node:r}=e;if(r.value){if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.test(t.originalText.slice(r.valueSpan.start.offset,r.valueSpan.end.offset))||"lwc"===t.parser&&r.value.startsWith("{")&&r.value.endsWith("}"))return[r.rawName,"=",r.value];for(let n of[NC,jC,TC,JC,FC]){let o=n(e,t);if(o)return eE(o)}}}function eE(e){return async(t,r,n,o)=>{let i=await e(t,r,n,o);if(i)return i=lc(i,(l=>"string"==typeof l?Oe(!1,l,'"',"""):l)),[n.node.rawName,'="',ue(i),'"']}}function rE(e){return Array.isArray(e)&&e.length>0}function Yi(e){return e.sourceSpan.start.offset}function Ki(e){return e.sourceSpan.end.offset}function Xu(e,t){return[e.isSelfClosing?"":nE(e,t),ma(e,t)]}function nE(e,t){return e.lastChild&&ya(e.lastChild)?"":[oE(e,t),fc(e,t)]}function ma(e,t){return(e.next?Br(e.next):Sa(e.parent))?"":[Ea(e,t),Lr(e,t)]}function oE(e,t){return Sa(e)?Ea(e.lastChild,t):""}function Lr(e,t){return ya(e)?fc(e.parent,t):Zi(e)?hc(e.next):""}function fc(e,t){if(w2(!e.isSelfClosing),b2(e,t))return"";switch(e.type){case"ieConditionalComment":return"\x3c!--\x3e";case"interpolation":return"}}";case"angularIcuExpression":return"}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function b2(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(Gi(e)||t2(e.parent,t))}function Br(e){return e.prev&&"docType"!==e.prev.type&&"angularControlFlowBlock"!==e.type&&!Xe(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function Sa(e){var t;return(null==(t=e.lastChild)?void 0:t.isTrailingSpaceSensitive)&&!e.lastChild.hasTrailingSpaces&&!Xe(sc(e.lastChild))&&!Jn(e)}function ya(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&Xe(sc(e))}function Zi(e){return e.next&&!Xe(e.next)&&Xe(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function aE(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/su);return!!t&&(!t[1]||t[1].split(/\s+/u))}function Ji(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function iE(e,t,r){var n;let{node:o}=e;if(!dc(o.attrs))return o.isSelfClosing?" ":"";let i="comment"===(null==(n=o.prev)?void 0:n.type)&&aE(o.prev.value),l="boolean"==typeof i?()=>i:Array.isArray(i)?h=>i.includes(h.rawName):()=>!1,u=e.map((({node:h})=>l(h)?ot(t.originalText.slice(Yi(h),Ki(h))):r()),"attrs"),c="element"===o.type&&"script"===o.fullName&&1===o.attrs.length&&"src"===o.attrs[0].fullName&&0===o.children.length,p=t.singleAttributePerLine&&o.attrs.length>1&&!to(o,t)?Q:fe,d=[bt([c?" ":fe,Qn(p,u)])];return o.firstChild&&Ji(o.firstChild)||o.isSelfClosing&&Sa(o.parent)||c?d.push(o.isSelfClosing?" ":""):d.push(t.bracketSameLine?o.isSelfClosing?" ":"":o.isSelfClosing?fe:Ee),d}function lE(e){return e.firstChild&&Ji(e.firstChild)?"":mc(e)}function Yu(e,t,r){let{node:n}=e;return[ga(n,t),iE(e,t,r),n.isSelfClosing?"":lE(n)]}function ga(e,t){return e.prev&&Zi(e.prev)?"":[Ir(e,t),hc(e)]}function Ir(e,t){return Ji(e)?mc(e.parent):Br(e)?Ea(e.prev,t):""}function hc(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return`\x3c!--[if ${e.condition}`;case"ieConditionalEndComment":return"\x3c!--\x3c!--\x3e<${e.rawName}`;default:return`<${e.rawName}`}}function mc(e){switch(w2(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">\x3c!--"}}function sE(e,t){if(!e.endSourceSpan)return"";let r=e.startSourceSpan.end.offset;e.firstChild&&Ji(e.firstChild)&&(r-=mc(e).length);let n=e.endSourceSpan.start.offset;return e.lastChild&&ya(e.lastChild)?n+=fc(e,t).length:Sa(e)&&(n-=Ea(e.lastChild,t).length),t.originalText.slice(r,n)}function cE(e,t){let{node:r}=e;switch(r.type){case"element":if(Bt(r)||"interpolation"===r.type)return;if(!r.isSelfClosing&&uc(r,t)){let n=g5(r,t);return n?async(o,i)=>{let l=y2(r,t),u=/^\s*$/u.test(l),c="";return u||(c=await o(e2(l),{parser:n,__embeddedInHtml:!0}),u=""===c),[Ir(r,t),ue(Yu(e,t,i)),u?"":Q,c,u?"":Q,Xu(r,t),Lr(r,t)]}:void 0}break;case"text":if(Bt(r.parent)){let n=g5(r.parent,t);if(n)return async o=>{let i="markdown"===n?c2(r.value.replace(/^[^\S\n]*\n/u,"")):r.value,l={parser:n,__embeddedInHtml:!0};if("html"===t.parser&&"babel"===n){let u="script",{attrMap:c}=r.parent;c&&("module"===c.type||"text/babel"===c.type&&"module"===c["data-type"])&&(u="module"),l.__babelSourceType=u}return[Da,Ir(r,t),await o(i,l),Lr(r,t)]}}else if("interpolation"===r.parent.type)return async n=>{let o={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return"angular"===t.parser?o.parser="__ng_interpolation":"vue"===t.parser?o.parser=pc(e,t)?"__vue_ts_expression":"__vue_expression":o.parser="__js_expression",[bt([fe,await n(r.value,o)]),r.parent.next&&Br(r.parent.next)?" ":fe]};break;case"attribute":return tE(e,t);case"front-matter":return n=>Nx(r,n);case"angularControlFlowBlockParameters":return uE.has(e.parent.name)?Vx:void 0;case"angularLetDeclarationInitializer":return n=>at(r.value,n,{parser:"__ng_binding",__isInHtmlAttribute:!1})}}function va(e){if(null!==pa&&(pa.property,1)){let t=pa;return pa=va.prototype=null,t}return pa=va.prototype=e??Object.create(null),new va}function fE(e){return va(e)}function hE(e,t="type"){function r(n){let o=n[t],i=e[o];if(!Array.isArray(i))throw Object.assign(new Error(`Missing visitor keys for '${o}'.`),{node:n});return i}return fE(e),a(r,"r"),r}function yE(e){return/^\s*/u.test(e)}function DE(e){return"\x3c!-- @format --\x3e\n\n"+e}function D2(e){let t=Ki(e);return"element"===e.type&&!e.endSourceSpan&&dc(e.children)?Math.max(t,D2(xa(!1,e.children,-1))):t}function da(e,t,r){let n=e.node;if(Gi(n)){let o=D2(n);return[Ir(n,t),ot(wt.trimEnd(t.originalText.slice(Yi(n)+(n.prev&&Zi(n.prev)?hc(n).length:0),o-(n.next&&Br(n.next)?Ea(n,t).length:0)))),Lr(n,t)]}return r()}function Ri(e,t){return Xe(e)&&Xe(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?Nu(t)?Q:fe:"":Nu(t)?Q:Ee:Zi(e)&&(Gi(t)||t.firstChild||t.isSelfClosing||"element"===t.type&&t.attrs.length>0)||"element"===e.type&&e.isSelfClosing&&Br(t)?"":!t.isLeadingSpaceSensitive||Nu(t)||Br(t)&&e.lastChild&&ya(e.lastChild)&&e.lastChild.lastChild&&ya(e.lastChild.lastChild)?Q:t.hasLeadingSpaces?fe:Ee}function gc(e,t,r){let{node:n}=e;if(n2(n))return[Da,...e.map((i=>{let l=i.node,u=l.prev?Ri(l.prev,l):"";return[u?[u,Si(l.prev)?Q:""]:"",da(i,t,r)]}),"children")];let o=n.children.map((()=>Symbol("")));return e.map(((i,l)=>{let u=i.node;if(Xe(u)){if(u.prev&&Xe(u.prev)){let b=Ri(u.prev,u);if(b)return Si(u.prev)?[Q,Q,da(i,t,r)]:[b,da(i,t,r)]}return da(i,t,r)}let c=[],p=[],d=[],h=[],f=u.prev?Ri(u.prev,u):"",v=u.next?Ri(u,u.next):"";return f&&(Si(u.prev)?c.push(Q,Q):f===Q?c.push(Q):Xe(u.prev)?p.push(f):p.push(Li("",Ee,{groupId:o[l-1]}))),v&&(Si(u)?Xe(u.next)&&h.push(Q,Q):v===Q?Xe(u.next)&&h.push(Q):d.push(v)),[...c,ue([...p,ue([da(i,t,r),...d],{id:o[l]})]),...h]}),"children")}function CE(e,t,r){let{node:n}=e,o=[];EE(e)&&o.push("} "),o.push("@",n.name),n.parameters&&o.push(" (",ue(r("parameters")),")"),o.push(" {");let i=x2(n);return n.children.length>0?(n.firstChild.hasLeadingSpaces=!0,n.lastChild.hasTrailingSpaces=!0,o.push(bt([Q,gc(e,t,r)])),i&&o.push(Q,"}")):i&&o.push("}"),ue(o,{shouldBreak:!0})}function x2(e){var t,r;return!("angularControlFlowBlock"===(null==(t=e.next)?void 0:t.type)&&null!=(r=xE.get(e.name))&&r.has(e.next.name))}function EE(e){let{previous:t}=e;return"angularControlFlowBlock"===t?.type&&!Gi(t)&&!x2(t)}function SE(e,t,r){return[bt([Ee,Qn([";",fe],e.map(r,"children"))]),Ee]}function RE(e,t,r){let{node:n}=e;return[ga(n,t),ue([n.switchValue.trim(),", ",n.clause,n.cases.length>0?[",",bt([fe,Qn(fe,e.map(r,"cases"))])]:"",Ee]),ma(n,t)]}function AE(e,t,r){let{node:n}=e;return[n.value," {",ue([bt([Ee,e.map((({node:o})=>"text"!==o.type||wt.trim(o.value)?r():""),"expression")]),Ee]),"}"]}function FE(e,t,r){let{node:n}=e;if(t2(n,t))return[Ir(n,t),ue(Yu(e,t,r)),ot(y2(n,t)),...Xu(n,t),Lr(n,t)];let o=1===n.children.length&&("interpolation"===n.firstChild.type||"angularIcuExpression"===n.firstChild.type)&&n.firstChild.isLeadingSpaceSensitive&&!n.firstChild.hasLeadingSpaces&&n.lastChild.isTrailingSpaceSensitive&&!n.lastChild.hasTrailingSpaces,i=Symbol("element-attr-group-id"),l=a((d=>ue([ue(Yu(e,t,r),{id:i}),d,Xu(n,t)])),"a"),u=a((d=>o?yx(d,{groupId:i}):!Bt(n)&&!Xi(n,t)||"root"!==n.parent.type||"vue"!==t.parser||t.vueIndentScriptAndStyle?bt(d):d),"o"),c=a((()=>o?Li(Ee,"",{groupId:i}):n.firstChild.hasLeadingSpaces&&n.firstChild.isLeadingSpaceSensitive?fe:"text"===n.firstChild.type&&n.isWhitespaceSensitive&&n.isIndentationSensitive?wx(Ee):Ee),"u"),p=a((()=>(n.next?Br(n.next):Sa(n.parent))?n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?" ":"":o?Li(Ee,"",{groupId:i}):n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?fe:("comment"===n.lastChild.type||"text"===n.lastChild.type&&n.isWhitespaceSensitive&&n.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${t.tabWidth*(e.ancestors.length-1)}}$`,"u").test(n.lastChild.value)?"":Ee),"p");return 0===n.children.length?l(n.hasDanglingSpaces&&n.isDanglingSpaceSensitive?fe:""):l([iC(n)?Da:"",u([c(),gc(e,t,r)]),p()])}function Bi(e){return e>=9&&e<=32||160==e}function vc(e){return 48<=e&&e<=57}function Ii(e){return e>=97&&e<=122||e>=65&&e<=90}function kE(e){return e>=97&&e<=102||e>=65&&e<=70||vc(e)}function wc(e){return 10===e||13===e}function b5(e){return 48<=e&&e<=55}function Vu(e){return 39===e||34===e||96===e}function LE(e){return e.replace(TE,((...t)=>t[1].toUpperCase()))}function IE(e,t){for(let r of BE)r(e,t);return e}function ME(e){e.walk((t=>{if("element"===t.type&&t.tagDefinition.ignoreFirstLf&&t.children.length>0&&"text"===t.children[0].type&&"\n"===t.children[0].value[0]){let r=t.children[0];1===r.value.length?t.removeChild(r):r.value=r.value.slice(1)}}))}function _E(e){let t=a((r=>{var n,o;return"element"===r.type&&"ieConditionalStartComment"===(null==(n=r.prev)?void 0:n.type)&&r.prev.sourceSpan.end.offset===r.startSourceSpan.start.offset&&"ieConditionalEndComment"===(null==(o=r.firstChild)?void 0:o.type)&&r.firstChild.sourceSpan.start.offset===r.startSourceSpan.end.offset}),"e");e.walk((r=>{if(r.children)for(let n=0;n{if(n.children)for(let o=0;o"cdata"===t.type),(t=>``))}function zE(e){let t=a((r=>{var n,o;return"element"===r.type&&0===r.attrs.length&&1===r.children.length&&"text"===r.firstChild.type&&!wt.hasWhitespaceCharacter(r.children[0].value)&&!r.firstChild.hasLeadingSpaces&&!r.firstChild.hasTrailingSpaces&&r.isLeadingSpaceSensitive&&!r.hasLeadingSpaces&&r.isTrailingSpaceSensitive&&!r.hasTrailingSpaces&&"text"===(null==(n=r.prev)?void 0:n.type)&&"text"===(null==(o=r.next)?void 0:o.type)}),"e");e.walk((r=>{if(r.children)for(let n=0;n`+o.firstChild.value+``+l.value,i.sourceSpan=new j(i.sourceSpan.start,l.sourceSpan.end),i.isTrailingSpaceSensitive=l.isTrailingSpaceSensitive,i.hasTrailingSpaces=l.hasTrailingSpaces,r.removeChild(o),n--,r.removeChild(l)}}))}function $E(e,t){if("html"===t.parser)return;let r=/\{\{(.+?)\}\}/su;e.walk((n=>{if(tC(n))for(let o of n.children){if("text"!==o.type)continue;let i=o.sourceSpan.start,l=null,u=o.value.split(r);for(let c=0;c0&&n.insertChildBefore(o,{type:"text",value:p,sourceSpan:new j(i,l)}))}n.removeChild(o)}}))}function OE(e){e.walk((t=>{if(!t.children)return;if(0===t.children.length||1===t.children.length&&"text"===t.children[0].type&&0===wt.trim(t.children[0].value).length)return t.hasDanglingSpaces=t.children.length>0,void(t.children=[]);let r=rC(t),n=r2(t);if(!r)for(let o=0;o{t.isSelfClosing=!t.children||"element"===t.type&&(t.tagDefinition.isVoid||t.endSourceSpan&&t.startSourceSpan.start===t.endSourceSpan.start&&t.startSourceSpan.end===t.endSourceSpan.end)}))}function jE(e,t){e.walk((r=>{"element"===r.type&&(r.hasHtmComponentClosingTag=r.endSourceSpan&&/^<\s*\/\s*\/\s*>$/u.test(t.originalText.slice(r.endSourceSpan.start.offset,r.endSourceSpan.end.offset)))}))}function VE(e,t){e.walk((r=>{r.cssDisplay=wC(r,t)}))}function qE(e,t){e.walk((r=>{let{children:n}=r;if(n){if(0===n.length)return void(r.isDanglingSpaceSensitive=aC(r));for(let o of n)o.isLeadingSpaceSensitive=nC(o,t),o.isTrailingSpaceSensitive=oC(o,t);for(let o=0;o{!fa[t]&&null===ki(t)&&(fa[t]=new O({canSelfClose:!1}))}))),fa[e]??L5}function A2(e,t,r=null){let n=[],o=e.visit?i=>e.visit(i,r)||i.visit(e,r):i=>i.visit(e,r);return t.forEach((i=>{let l=o(i);l&&n.push(l)})),n}function vS(e,t){if(null!=t&&(!Array.isArray(t)||2!=t.length))throw new Error(`Expected '${e}' to be an array, [start, end].`);if(null!=t){let r=t[0],n=t[1];gS.forEach((o=>{if(o.test(r)||o.test(n))throw new Error(`['${r}', '${n}'] contains unusable interpolation symbol.`)}))}}function yS(e,t,r,n={}){let o=new CS(new C2(e,t),r,n);return o.tokenize(),new bS(kS(o.tokens),o.errors,o.nonNormalizedIcuExpressions)}function Dn(e){return`Unexpected character "${0===e?"EOF":String.fromCharCode(e)}"`}function M5(e){return`Unknown entity "${e}" - use the "&#;" or "&#x;" syntax`}function xS(e,t){return`Unable to parse entity "${t}" - ${e} character reference entities must end with ";"`}function ie(e){return!Bi(e)||0===e}function _5(e){return Bi(e)||62===e||60===e||47===e||39===e||34===e||61===e||0===e}function ES(e){return(e<97||12257)}function SS(e){return 59===e||0===e||!kE(e)}function RS(e){return 59===e||0===e||!Ii(e)}function AS(e){return 125!==e}function FS(e,t){return P5(e)===P5(t)}function P5(e){return e>=97&&e<=122?e-97+65:e}function H5(e){return Ii(e)||vc(e)||95===e}function z5(e){return 59!==e&&ie(e)}function kS(e){let r,t=[];for(let n=0;n0&&e[e.length-1]===t}function O5(e,t){return void 0!==Pi[t]?Pi[t]||e:/^#x[a-f0-9]+$/i.test(t)?String.fromCodePoint(parseInt(t.slice(2),16)):/^#\d+$/.test(t)?String.fromCodePoint(parseInt(t.slice(1),10)):e}function N5(e,t={}){let{canSelfClose:r=!1,allowHtmComponentClosingTags:n=!1,isTagNameCaseSensitive:o=!1,getTagContentType:i,tokenizeAngularBlocks:l=!1,tokenizeAngularLetDeclaration:u=!1}=t;return _S().parse(e,"angular-html-parser",{tokenizeExpansionForms:l,interpolationConfig:void 0,canSelfClose:r,allowHtmComponentClosingTags:n,tokenizeBlocks:l,tokenizeLet:u},o,i)}function PS(e,t){let r=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(r,t)}function zS(e){let t=e.slice(0,ha);if("---"!==t&&"+++"!==t)return;let r=e.indexOf("\n",ha);if(-1===r)return;let n=e.slice(ha,r).trim(),o=e.indexOf(`\n${t}`,r),i=n;if(i||(i="+++"===t?"toml":"yaml"),-1===o&&"---"===t&&"yaml"===i&&(o=e.indexOf("\n...",r)),-1===o)return;let l=o+1+ha,u=e.charAt(l+1);if(!/\s?/u.test(u))return;let c=e.slice(0,l);return{type:"front-matter",language:i,explicitLanguage:n,value:e.slice(r+1,o),startDelimiter:t,endDelimiter:c.slice(-ha),raw:c}}function $S(e){let t=zS(e);if(!t)return{content:e};let{raw:r}=t;return{frontMatter:t,content:Oe(!1,r,/[^\n]/gu," ")+e.slice(r.length)}}function jS(e,t){let r=e.map(t);return r.some(((n,o)=>n!==e[o]))?r:e}function qS(e,t){if(e.value)for(let{regex:r,parse:n}of VS){let o=e.value.match(r);if(o)return n(e,t,o)}return null}function WS(e,t,r){let[,n,o,i]=r,l=4+n.length,u=e.sourceSpan.start.moveBy(l),c=u.moveBy(i.length),[p,d]=(()=>{try{return[!0,t(i,u).children]}catch{return[!1,[{type:"text",value:i,sourceSpan:new j(u,c)}]]}})();return{type:"ieConditionalComment",complete:p,children:d,condition:Oe(!1,o.trim(),/\s+/gu," "),sourceSpan:e.sourceSpan,startSourceSpan:new j(e.sourceSpan.start,u),endSourceSpan:new j(c,e.sourceSpan.end)}}function US(e,t,r){let[,n]=r;return{type:"ieConditionalStartComment",condition:Oe(!1,n.trim(),/\s+/gu," "),sourceSpan:e.sourceSpan}}function GS(e){return{type:"ieConditionalEndComment",sourceSpan:e.sourceSpan}}function YS(e){if("block"===e.type){if(e.name=Oe(!1,e.name.toLowerCase(),/\s+/gu," ").trim(),e.type="angularControlFlowBlock",!dc(e.parameters))return void delete e.parameters;for(let t of e.parameters)t.type="angularControlFlowBlockParameter";e.parameters={type:"angularControlFlowBlockParameters",children:e.parameters,sourceSpan:new j(e.parameters[0].sourceSpan.start,xa(!1,e.parameters,-1).sourceSpan.end)}}}function KS(e){"letDeclaration"===e.type&&(e.type="angularLetDeclaration",e.id=e.name,e.init={type:"angularLetDeclarationInitializer",sourceSpan:new j(e.valueSpan.start,e.valueSpan.end),value:e.value},delete e.name,delete e.value)}function ZS(e){("plural"===e.type||"select"===e.type)&&(e.clause=e.type,e.type="angularIcuExpression"),"expansionCase"===e.type&&(e.type="angularIcuCase")}function T2(e,t,r){let{name:n,canSelfClose:o=!0,normalizeTagName:i=!1,normalizeAttributeName:l=!1,allowHtmComponentClosingTags:u=!1,isTagNameCaseSensitive:c=!1,shouldParseAsRawText:p}=t,{rootNodes:d,errors:h}=N5(e,{canSelfClose:o,allowHtmComponentClosingTags:u,isTagNameCaseSensitive:c,getTagContentType:p?(...w)=>p(...w)?nt.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:"angular"===n||void 0,tokenizeAngularLetDeclaration:"angular"===n||void 0});if("vue"===n){if(d.some((C=>"docType"===C.type&&"html"===C.value||"element"===C.type&&"html"===C.name.toLowerCase())))return T2(e,B2,r);let w,D=a((()=>w??(w=N5(e,{canSelfClose:o,allowHtmComponentClosingTags:u,isTagNameCaseSensitive:c}))),"y"),x=a((C=>D().rootNodes.find((({startSourceSpan:E})=>E&&E.start.offset===C.startSourceSpan.start.offset))??C),"M");for(let[C,E]of d.entries()){let{endSourceSpan:S,startSourceSpan:R}=E;if(null===S)h=D().errors,d[C]=x(E);else if(JS(E,r)){let A=D().errors.find((k=>k.span.start.offset>R.start.offset&&k.span.start.offset0&&V5(h[0]);let f=a((w=>{let D=w.name.startsWith(":")?w.name.slice(1).split(":")[0]:null,x=w.nameSpan.toString(),C=null!==D&&x.startsWith(`${D}:`),E=C?x.slice(D.length+1):x;w.name=E,w.namespace=D,w.hasExplicitNamespace=C}),"d"),v=a((w=>{switch(w.type){case"element":f(w);for(let D of w.attrs)f(D),D.valueSpan?(D.value=D.valueSpan.toString(),/["']/u.test(D.value[0])&&(D.value=D.value.slice(1,-1))):D.value=null;break;case"comment":w.value=w.sourceSpan.toString().slice(4,-3);break;case"text":w.value=w.sourceSpan.toString()}}),"C"),b=a(((w,D)=>{let x=w.toLowerCase();return D(x)?x:w}),"A"),m=a((w=>{if("element"===w.type&&(i&&(!w.namespace||w.namespace===w.tagDefinition.implicitNamespacePrefix||ba(w))&&(w.name=b(w.name,(D=>XS.has(D)))),l))for(let D of w.attrs)D.namespace||(D.name=b(D.name,(x=>Gu.has(w.name)&&(Gu.get("*").has(x)||Gu.get(w.name).has(x)))))}),"D"),g=a((w=>{w.sourceSpan&&w.endSourceSpan&&(w.sourceSpan=new j(w.sourceSpan.start,w.endSourceSpan.end))}),"R"),y=a((w=>{if("element"===w.type){let D=Zu(c?w.name:w.name.toLowerCase());!w.namespace||w.namespace===D.implicitNamespacePrefix||ba(w)?w.tagDefinition=D:w.tagDefinition=Zu("")}}),"F");return A2(new class extends hS{visitExpansionCase(w,D){"angular"===n&&this.visitChildren(D,(x=>{x(w.expression)}))}visit(w){v(w),y(w),m(w),g(w)}},d),d}function JS(e,t){var r;if("element"!==e.type||"template"!==e.name)return!1;let n=null==(r=e.attrs.find((o=>"lang"===o.name)))?void 0:r.value;return!n||"html"===Ui(t,{language:n})}function V5(e){let{msg:t,span:{start:r,end:n}}=e;throw HS(t,{loc:{start:{line:r.line+1,column:r.col+1},end:{line:n.line+1,column:n.col+1}},cause:e})}function L2(e,t,r={},n=!0){let{frontMatter:o,content:i}=n?OS(e):{frontMatter:null,content:e},l=new C2(e,r.filepath),u=new Ku(l,0,0,0),c=u.moveBy(e.length),p={type:"root",sourceSpan:new j(u,c),children:T2(i,t,r)};if(o){let f=new Ku(l,0,0,0),v=f.moveBy(o.raw.length);o.sourceSpan=new j(f,v),p.children.unshift(o)}let d=new NS(p),h=a(((f,v)=>{let{offset:b}=v,g=L2(Oe(!1,e.slice(0,b),/[^\n\r]/gu," ")+f,t,r,!1);g.sourceSpan=new j(v,xa(!1,g.children,-1).sourceSpan.end);let y=g.children[0];return y.length===b?g.children.shift():(y.sourceSpan=new j(y.sourceSpan.start.moveBy(b),y.sourceSpan.end),y.value=y.value.slice(b)),g}),"f");return d.walk((f=>{if("comment"===f.type){let v=qS(f,h);v&&f.parent.replaceChild(f,v)}YS(f),KS(f),ZS(f)})),d}function el(e){return{parse:a(((t,r)=>L2(t,e,r)),"parse"),hasPragma:yE,astFormat:"html",locStart:Yi,locEnd:Ki}}var cx,q5,W5,U5,er,px,dx,G5,fx,Oe,Ju,Qu,ec,zi,$i,tc,wa,Oi,Ni,ji,rc,nc,Mr,oc,Vi,X5,ac,mx,xn,Y5,K5,Tr,ic,Da,fe,Ee,Q,Cx,Ex,xa,Ei,h5,Fx,rt,Cn,Tx,Ix,wt,En,_x,qi,Hx,zx,$x,Nx,Vx,qx,Ui,Gx,Xx,Yx,Kx,ba,Jx,e2,Qx,yC,h2,EC,SC,RC,FC,TC,LC,BC,IC,MC,w5,_C,HC,m2,$C,NC,ju,pc,JC,tE,v2,w2,dc,y2,uE,pE,pa,wE,bE,xE,TE,Rr,Ku,Sn,C2,Rn,j,Mi,An,E2,BE,WE,XE,YE,y5,ZE,S2,x5,C5,E5,S5,R5,Sr,A5,nt,Ti,Fn,JE,nS,R2,oS,kn,aS,Tn,O,L5,fa,Ln,ro,Bn,lS,In,sS,Mn,uS,_n,cS,Pn,pS,Hn,tr,zn,dS,$n,fS,On,yn,Nn,B5,jn,I5,Vn,hS,Pi,gS,Ar,F2,qn,qu,Wn,bS,DS,Hi,Un,Wu,Gn,CS,rr,k2,nr,TS,Xn,bc,Fr,Ae,Yn,LS,Kn,BS,kr,IS,Zn,MS,Uu,_S,HS,ha,OS,Fi,j5,vt,NS,VS,Gu,XS,B2,QS,eR,tR,rR,nR,I2,M2=F((()=>{cx=Object.defineProperty,q5=a((e=>{throw TypeError(e)}),"Xr"),W5=a(((e,t)=>{for(var r in t)cx(e,r,{get:t[r],enumerable:!0})}),"Jr"),U5=a(((e,t,r)=>t.has(e)||q5("Cannot "+r)),"Zr"),er=a(((e,t,r)=>(U5(e,t,"read from private field"),r?r.call(e):t.get(e))),"Q"),px=a(((e,t,r)=>t.has(e)?q5("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r)),"en"),dx=a(((e,t,r,n)=>(U5(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r)),"tn"),W5(G5={},{languages:a((()=>YE),"languages"),options:a((()=>ZE),"options"),parsers:a((()=>S2),"parsers"),printers:a((()=>nR),"printers")}),fx=a(((e,t,r,n)=>{if(!e||null!=t)return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)}),"si"),Oe=fx,Ju="string",Qu="array",ec="cursor",zi="indent",$i="align",tc="trim",wa="group",Oi="fill",Ni="if-break",ji="indent-if-break",rc="line-suffix",nc="line-suffix-boundary",Mr="line",oc="label",Vi="break-parent",X5=new Set([ec,zi,$i,tc,wa,Oi,Ni,ji,rc,nc,Mr,oc,Vi]),a(hx,"ii"),ac=hx,mx=a((e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e)),"ai"),a(gx,"oi"),xn=class extends Error{name="InvalidDocError";constructor(t){super(gx(t)),this.doc=t}},a(xn,"lr"),Y5=xn,Tr=K5=a((()=>{}),"rn"),ic=K5,a(bt,"k"),a(Z5,"nn"),a(ue,"_"),a(wx,"sn"),a(bx,"an"),a(J5,"At"),a(Li,"ge"),a(yx,"on"),fe={type:Mr},Ee={type:Mr,soft:!0},Q=[{type:Mr,hard:!0},Da={type:Vi}],Cx=[{type:Mr,hard:!0,literal:!0},Da],a(Qn,"q"),Ex=a(((e,t,r)=>{if(!e||null!=t)return Array.isArray(t)||"string"==typeof t?t[r<0?t.length+r:r]:t.at(r)}),"ci"),xa=Ex,a(lc,"Dt"),a(Sx,"pi"),a(Rx,"ln"),a(ot,"B"),Ei="'",h5='"',a(Ax,"hi"),Fx=Ax,a(kx,"cr"),a(Cn=class{constructor(t){px(this,rt),dx(this,rt,new Set(t))}getLeadingWhitespaceCount(t){let r=er(this,rt),n=0;for(let o=0;o=0&&r.has(t.charAt(o));o--)n++;return n}getLeadingWhitespace(t){let r=this.getLeadingWhitespaceCount(t);return t.slice(0,r)}getTrailingWhitespace(t){let r=this.getTrailingWhitespaceCount(t);return t.slice(t.length-r)}hasLeadingWhitespace(t){return er(this,rt).has(t.charAt(0))}hasTrailingWhitespace(t){return er(this,rt).has(xa(!1,t,-1))}trimStart(t){let r=this.getLeadingWhitespaceCount(t);return t.slice(r)}trimEnd(t){let r=this.getTrailingWhitespaceCount(t);return t.slice(0,t.length-r)}trim(t){return this.trimEnd(this.trimStart(t))}split(t,r=!1){let n=`[${kx([...er(this,rt)].join(""))}]+`,o=new RegExp(r?`(${n})`:n,"u");return t.split(o)}hasWhitespaceCharacter(t){let r=er(this,rt);return Array.prototype.some.call(t,(n=>r.has(n)))}hasNonWhitespaceCharacter(t){let r=er(this,rt);return Array.prototype.some.call(t,(n=>!r.has(n)))}isWhitespaceOnly(t){let r=er(this,rt);return Array.prototype.every.call(t,(n=>r.has(n)))}},"pr"),Tx=Cn,rt=new WeakMap,Ix=new Tx(["\t","\n","\f","\r"," "]),wt=Ix,En=class extends Error{name="UnexpectedNodeError";constructor(t,r,n="type"){super(`Unexpected ${r} node ${n}: ${JSON.stringify(t[n])}.`),this.node=t}},a(En,"hr"),_x=En,a(Px,"di"),qi=Px,Hx=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens","switchValueSourceSpan","expSourceSpan","valueSourceSpan"]),zx=new Set(["if","else if","for","switch","case"]),a(Q5,"fn"),Q5.ignoredProperties=Hx,$x=Q5,a(Ox,"Si"),Nx=Ox,a(Wi,"Ce"),a(eo,"j"),a(at,"T"),a(jx,"_i"),Vx=jx,qx=a((e=>String(e).split(/[/\\]/u).pop()),"Ei"),a(m5,"Sn"),a(Wx,"Ai"),a(Ux,"Di"),Ui=Ux,Gx="inline",Xx={area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",style:"none",template:"inline",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",dialog:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",search:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",menu:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",input:"inline-block",button:"inline-block",fieldset:"block",marquee:"inline-block",source:"block",track:"block",details:"block",summary:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},Yx="normal",Kx={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},a(Zx,"vi"),ba=Zx,Jx=a((e=>Oe(!1,e,/^[\t\f\r ]*\n/gu,"")),"yi"),e2=a((e=>Jx(wt.trimEnd(e))),"mr"),Qx=a((e=>{let t=e,r=wt.getLeadingWhitespace(t);r&&(t=t.slice(r.length));let n=wt.getTrailingWhitespace(t);return n&&(t=t.slice(0,-n.length)),{leadingWhitespace:r,trailingWhitespace:n,text:t}}),"vn"),a(t2,"yt"),a(Gi,"Ee"),a(eC,"wi"),a(Xe,"$"),a(Bt,"U"),a(tC,"yn"),a(rC,"wn"),a(r2,"fr"),a(nC,"bn"),a(oC,"Tn"),a(aC,"xn"),a(Si,"Qe"),a(iC,"kn"),a(n2,"dr"),a(Nu,"wt"),a(lC,"bi"),a(o2,"Bn"),a(a2,"Ln"),a(i2,"Fn"),a(l2,"Nn"),a(sc,"bt"),a(sC,"Ti"),a(s2,"Pn"),a(uC,"xi"),a(cC,"ki"),a(pC,"Bi"),a(g5,"gr"),a(Ca,"Xe"),a(dC,"Li"),a(fC,"Fi"),a(hC,"Ni"),a(mC,"Pi"),a(gC,"Ii"),a(Jn,"_e"),a(vC,"Ri"),a(wC,"In"),a(u2,"Rn"),a(bC,"$i"),a(c2,"Cr"),a(p2,"Sr"),a(or,"P"),yC=new Set(["template","style","script"]),a(Xi,"Je"),a(to,"Ae"),a(uc,"Tt"),a(DC,"$n"),a(xC,"On"),a(d2,"xt"),a(f2,"kt"),h2=/\{\{(.+?)\}\}/su,a(CC,"Mn"),a(cc,"Er"),EC=cc({parser:"__ng_action"}),SC=cc({parser:"__ng_binding"}),RC=cc({parser:"__ng_directive"}),a(AC,"Vi"),FC=AC,a(kC,"Ui"),TC=kC,a(v5,"Vn"),LC=/^[ \t\n\r\u000c]+/,BC=/^[, \t\n\r\u000c]+/,IC=/^[^ \t\n\r\u000c]+/,MC=/[,]+$/,w5=/^\d+$/,_C=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,a(PC,"Ki"),HC=PC,a(zC,"Qi"),m2={width:"w",height:"h",density:"x"},$C=Object.keys(m2),a(OC,"Ji"),NC=zC,a(jC,"Yn"),ju=new WeakMap,a(VC,"Zi"),pc=VC,a(qC,"jn"),a(WC,"Kn"),a(UC,"Qn"),a(GC,"Xn"),a(XC,"ea"),a(YC,"ta"),a(KC,"ra"),a(ZC,"na"),a(g2,"Jn"),JC=YC,a(QC,"sa"),a(eE,"ia"),tE=QC,v2=new Proxy((()=>{}),{get:a((()=>v2),"get")}),w2=v2,a(rE,"aa"),dc=rE,a(Yi,"se"),a(Ki,"ie"),a(Xu,"Ze"),a(nE,"oa"),a(ma,"De"),a(oE,"ua"),a(Lr,"W"),a(fc,"Bt"),a(Ea,"ve"),a(b2,"rs"),a(Br,"K"),a(Sa,"ye"),a(ya,"we"),a(Zi,"et"),a(aE,"la"),a(Ji,"tt"),a(iE,"ca"),a(lE,"pa"),a(Yu,"rt"),a(ga,"be"),a(Ir,"z"),a(hc,"Lt"),a(mc,"Ft"),a(sE,"ha"),y2=sE,uE=new Set(["if","else if","for","switch","case"]),a(cE,"fa"),pE=cE,pa=null,a(va,"st"),10;for(let e=0;e<=10;e++)va();var e;a(fE,"vr"),a(hE,"ga"),wE=hE({"front-matter":[],root:["children"],element:["attrs","children"],ieConditionalComment:["children"],ieConditionalStartComment:[],ieConditionalEndComment:[],interpolation:["children"],text:["children"],docType:[],comment:[],attribute:[],cdata:[],angularControlFlowBlock:["children","parameters"],angularControlFlowBlockParameters:["children"],angularControlFlowBlockParameter:[],angularLetDeclaration:["init"],angularLetDeclarationInitializer:[],angularIcuExpression:["cases"],angularIcuCase:["expression"]}),bE=wE,a(yE,"os"),a(DE,"us"),xE=new Map([["if",new Set(["else if","else"])],["else if",new Set(["else if","else"])],["for",new Set(["empty"])],["defer",new Set(["placeholder","error","loading"])],["placeholder",new Set(["placeholder","error","loading"])],["error",new Set(["placeholder","error","loading"])],["loading",new Set(["placeholder","error","loading"])]]),a(D2,"cs"),a(da,"it"),a(Ri,"Pt"),a(gc,"He"),a(CE,"ps"),a(x2,"hs"),a(EE,"_a"),a(SE,"ms"),a(RE,"fs"),a(AE,"ds"),a(FE,"gs"),a(Bi,"at"),a(vc,"It"),a(Ii,"ot"),a(kE,"Cs"),a(wc,"Rt"),a(b5,"yr"),a(Vu,"$t"),TE=/-+([a-z0-9])/g,a(LE,"_s"),a(Rr=class{constructor(t,r,n,o){this.file=t,this.offset=r,this.line=n,this.col=o}toString(){return null!=this.offset?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(t){let r=this.file.content,n=r.length,o=this.offset,i=this.line,l=this.col;for(;o>0&&t<0;)if(o--,t++,10==r.charCodeAt(o)){i--;let u=r.substring(0,o-1).lastIndexOf("\n");l=u>0?o-u:o}else l--;for(;o0;){let u=r.charCodeAt(o);o++,t--,10==u?(i++,l=0):l++}return new Rr(this.file,o,i,l)}getContext(t,r){let n=this.file.content,o=this.offset;if(null!=o){o>n.length-1&&(o=n.length-1);let i=o,l=0,u=0;for(;l0&&(o--,l++,"\n"!=n[o]||++u!=r););for(l=0,u=0;l]${t.after}")`:this.msg}toString(){let t=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${t}`}},"Ue"),E2=An,BE=[ME,_E,HE,$E,OE,VE,NE,jE,qE,zE],a(IE,"Da"),a(ME,"va"),a(_E,"ya"),a(PE,"wa"),a(HE,"ba"),a(zE,"Ta"),a($E,"xa"),a(OE,"ka"),a(NE,"Ba"),a(jE,"La"),a(VE,"Fa"),a(qE,"Na"),WE=IE,a(UE,"Pa"),XE={preprocess:WE,print:UE,insertPragma:DE,massageAstNode:$x,embed:pE,getVisitorKeys:bE},YE=[{linguistLanguageId:146,name:"Angular",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".component.html"],parsers:["angular"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:146,name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml",".mjml"],parsers:["html"],vscodeLanguageIds:["html"]},{linguistLanguageId:146,name:"Lightning Web Components",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[],parsers:["lwc"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:391,name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",parsers:["vue"],vscodeLanguageIds:["vue"]}],ZE={bracketSameLine:(y5={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}}).bracketSameLine,htmlWhitespaceSensitivity:{category:"HTML",type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},singleAttributePerLine:y5.singleAttributePerLine,vueIndentScriptAndStyle:{category:"HTML",type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},W5(S2={},{angular:a((()=>eR),"angular"),html:a((()=>QS),"html"),lwc:a((()=>rR),"lwc"),vue:a((()=>tR),"vue")}),new RegExp("(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=([\"']?)([^\\]\"']*)\\5)?\\])|(\\))|(\\s*,\\s*)","g"),function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(x5||(x5={})),function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"}(C5||(C5={})),function(e){e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform"}(E5||(E5={})),S5={name:"custom-elements"},R5={name:"no-errors-schema"},function(e){e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL"}(Sr||(Sr={})),function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"}(A5||(A5={})),function(e){e[e.RAW_TEXT=0]="RAW_TEXT",e[e.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",e[e.PARSABLE_DATA=2]="PARSABLE_DATA"}(nt||(nt={})),a(Qi,"ut"),a(F5,"xr"),a(k5,"kr"),a(ki,"We"),a(_i,"ze"),a(T5,"Br"),a(Ai,"Mt"),a(Fn=class{},"Ht"),JE=Fn,nS=["[Element]|textContent,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColSpan,%ariaCurrent,%ariaDescription,%ariaDisabled,%ariaExpanded,%ariaHasPopup,%ariaHidden,%ariaKeyShortcuts,%ariaLabel,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume",":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","data^[HTMLElement]|value","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,media,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type","select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","slot^[HTMLElement]|name","source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","time^[HTMLElement]|dateTime","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|decoding",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|",":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":math:math^:math:|",":math:maction^:math:|",":math:menclose^:math:|",":math:merror^:math:|",":math:mfenced^:math:|",":math:mfrac^:math:|",":math:mi^:math:|",":math:mmultiscripts^:math:|",":math:mn^:math:|",":math:mo^:math:|",":math:mover^:math:|",":math:mpadded^:math:|",":math:mphantom^:math:|",":math:mroot^:math:|",":math:mrow^:math:|",":math:ms^:math:|",":math:mspace^:math:|",":math:msqrt^:math:|",":math:mstyle^:math:|",":math:msub^:math:|",":math:msubsup^:math:|",":math:msup^:math:|",":math:mtable^:math:|",":math:mtd^:math:|",":math:mtext^:math:|",":math:mtr^:math:|",":math:munder^:math:|",":math:munderover^:math:|",":math:semantics^:math:|"],R2=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"})),oS=Array.from(R2).reduce(((e,[t,r])=>(e.set(t,r),e)),new Map),a(kn=class extends JE{constructor(){super(),this._schema=new Map,this._eventSchema=new Map,nS.forEach((t=>{let r=new Map,n=new Set,[o,i]=t.split("|"),l=i.split(","),[u,c]=o.split("^");u.split(",").forEach((d=>{this._schema.set(d.toLowerCase(),r),this._eventSchema.set(d.toLowerCase(),n)}));let p=c&&this._schema.get(c.toLowerCase());if(p){for(let[d,h]of p)r.set(d,h);for(let d of this._eventSchema.get(c.toLowerCase()))n.add(d)}l.forEach((d=>{if(d.length>0)switch(d[0]){case"*":n.add(d.substring(1));break;case"!":r.set(d.substring(1),"boolean");break;case"#":r.set(d.substring(1),"number");break;case"%":r.set(d.substring(1),"object");break;default:r.set(d,"string")}}))}))}hasProperty(t,r,n){if(n.some((o=>o.name===R5.name)))return!0;if(t.indexOf("-")>-1){if(F5(t)||k5(t))return!1;if(n.some((o=>o.name===S5.name)))return!0}return(this._schema.get(t.toLowerCase())||this._schema.get("unknown")).has(r)}hasElement(t,r){return!!(r.some((n=>n.name===R5.name))||t.indexOf("-")>-1&&(F5(t)||k5(t)||r.some((n=>n.name===S5.name))))||this._schema.has(t.toLowerCase())}securityContext(t,r,n){n&&(r=this.getMappedPropName(r)),t=t.toLowerCase(),r=r.toLowerCase();let o=T5()[t+"|"+r];return o||(o=T5()["*|"+r],o||Sr.NONE)}getMappedPropName(t){return R2.get(t)??t}getDefaultComponentElementName(){return"ng-component"}validateProperty(t){return t.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event property '${t}' is disallowed for security reasons, please use (${t.slice(2)})=...\nIf '${t}' is a directive input, make sure the directive is imported by the current module.`}:{error:!1}}validateAttribute(t){return t.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event attribute '${t}' is disallowed for security reasons, please use (${t.slice(2)})=...`}:{error:!1}}allKnownElementNames(){return Array.from(this._schema.keys())}allKnownAttributesOfElement(t){let r=this._schema.get(t.toLowerCase())||this._schema.get("unknown");return Array.from(r.keys()).map((n=>oS.get(n)??n))}allKnownEventsOfElement(t){return Array.from(this._eventSchema.get(t.toLowerCase())??[])}normalizeAnimationStyleProperty(t){return LE(t)}normalizeAnimationStyleValue(t,r,n){let o="",i=n.toString().trim(),l=null;if(iS(t)&&0!==n&&"0"!==n)if("number"==typeof n)o="px";else{let u=n.match(/^[+-]?[\d\.]+([a-z]*)$/);u&&0==u[1].length&&(l=`Please provide a CSS unit value for ${r}:${n}`)}return{error:l,value:i+o}}},"Vt"),aS=kn,a(iS,"Ua"),a(Tn=class{constructor({closedByChildren:t,implicitNamespacePrefix:r,contentType:n=nt.PARSABLE_DATA,closedByParent:o=!1,isVoid:i=!1,ignoreFirstLf:l=!1,preventNamespaceInheritance:u=!1,canSelfClose:c=!1}={}){this.closedByChildren={},this.closedByParent=!1,t&&t.length>0&&t.forEach((p=>this.closedByChildren[p]=!0)),this.isVoid=i,this.closedByParent=o||i,this.implicitNamespacePrefix=r||null,this.contentType=n,this.ignoreFirstLf=l,this.preventNamespaceInheritance=u,this.canSelfClose=c??i}isClosedByChild(t){return this.isVoid||t.toLowerCase()in this.closedByChildren}getContentType(t){return"object"==typeof this.contentType?(void 0===t?void 0:this.contentType[t])??this.contentType.default:this.contentType}},"m"),O=Tn,a(Zu,"Ge"),a(Ln=class{constructor(t,r){this.sourceSpan=t,this.i18n=r}},"oe"),ro=Ln,a(Bn=class extends ro{constructor(t,r,n,o){super(r,o),this.value=t,this.tokens=n,this.type="text"}visit(t,r){return t.visitText(this,r)}},"Ut"),lS=Bn,a(In=class extends ro{constructor(t,r,n,o){super(r,o),this.value=t,this.tokens=n,this.type="cdata"}visit(t,r){return t.visitCdata(this,r)}},"Wt"),sS=In,a(Mn=class extends ro{constructor(t,r,n,o,i,l){super(o,l),this.switchValue=t,this.type=r,this.cases=n,this.switchValueSourceSpan=i}visit(t,r){return t.visitExpansion(this,r)}},"zt"),uS=Mn,a(_n=class{constructor(t,r,n,o,i){this.value=t,this.expression=r,this.sourceSpan=n,this.valueSourceSpan=o,this.expSourceSpan=i,this.type="expansionCase"}visit(t,r){return t.visitExpansionCase(this,r)}},"Gt"),cS=_n,a(Pn=class extends ro{constructor(t,r,n,o,i,l,u){super(n,u),this.name=t,this.value=r,this.keySpan=o,this.valueSpan=i,this.valueTokens=l,this.type="attribute"}visit(t,r){return t.visitAttribute(this,r)}get nameSpan(){return this.keySpan}},"Yt"),pS=Pn,a(Hn=class extends ro{constructor(t,r,n,o,i,l=null,u=null,c){super(o,c),this.name=t,this.attrs=r,this.children=n,this.startSourceSpan=i,this.endSourceSpan=l,this.nameSpan=u,this.type="element"}visit(t,r){return t.visitElement(this,r)}},"G"),tr=Hn,a(zn=class{constructor(t,r){this.value=t,this.sourceSpan=r,this.type="comment"}visit(t,r){return t.visitComment(this,r)}},"jt"),dS=zn,a($n=class{constructor(t,r){this.value=t,this.sourceSpan=r,this.type="docType"}visit(t,r){return t.visitDocType(this,r)}},"Kt"),fS=$n,a(On=class extends ro{constructor(t,r,n,o,i,l,u=null,c){super(o,c),this.name=t,this.parameters=r,this.children=n,this.nameSpan=i,this.startSourceSpan=l,this.endSourceSpan=u,this.type="block"}visit(t,r){return t.visitBlock(this,r)}},"Z"),yn=On,a(Nn=class{constructor(t,r){this.expression=t,this.sourceSpan=r,this.type="blockParameter",this.startSourceSpan=null,this.endSourceSpan=null}visit(t,r){return t.visitBlockParameter(this,r)}},"ct"),B5=Nn,a(jn=class{constructor(t,r,n,o,i){this.name=t,this.value=r,this.sourceSpan=n,this.nameSpan=o,this.valueSpan=i,this.type="letDeclaration",this.startSourceSpan=null,this.endSourceSpan=null}visit(t,r){return t.visitLetDeclaration(this,r)}},"pt"),I5=jn,a(A2,"Qt"),Vn=class{constructor(){}visitElement(t,r){this.visitChildren(r,(n=>{n(t.attrs),n(t.children)}))}visitAttribute(t,r){}visitText(t,r){}visitCdata(t,r){}visitComment(t,r){}visitDocType(t,r){}visitExpansion(t,r){return this.visitChildren(r,(n=>{n(t.cases)}))}visitExpansionCase(t,r){}visitBlock(t,r){this.visitChildren(r,(n=>{n(t.parameters),n(t.children)}))}visitBlockParameter(t,r){}visitLetDeclaration(t,r){}visitChildren(t,r){let n=[],o=this;function i(l){l&&n.push(A2(o,l,t))}return a(i,"i"),r(i),Array.prototype.concat.apply([],n)}},a(Vn,"ht"),hS=Vn,(Pi={AElig:"Æ",AMP:"&",amp:"&",Aacute:"Á",Abreve:"Ă",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"⁡",af:"⁡",Aring:"Å",angst:"Å",Ascr:"𝒜",Assign:"≔",colone:"≔",coloneq:"≔",Atilde:"Ã",Auml:"Ä",Backslash:"∖",setminus:"∖",setmn:"∖",smallsetminus:"∖",ssetmn:"∖",Barv:"⫧",Barwed:"⌆",doublebarwedge:"⌆",Bcy:"Б",Because:"∵",becaus:"∵",because:"∵",Bernoullis:"ℬ",Bscr:"ℬ",bernou:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",breve:"˘",Bumpeq:"≎",HumpDownHump:"≎",bump:"≎",CHcy:"Ч",COPY:"©",copy:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",DD:"ⅅ",Cayleys:"ℭ",Cfr:"ℭ",Ccaron:"Č",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",cedil:"¸",CenterDot:"·",centerdot:"·",middot:"·",Chi:"Χ",CircleDot:"⊙",odot:"⊙",CircleMinus:"⊖",ominus:"⊖",CirclePlus:"⊕",oplus:"⊕",CircleTimes:"⊗",otimes:"⊗",ClockwiseContourIntegral:"∲",cwconint:"∲",CloseCurlyDoubleQuote:"”",rdquo:"”",rdquor:"”",CloseCurlyQuote:"’",rsquo:"’",rsquor:"’",Colon:"∷",Proportion:"∷",Colone:"⩴",Congruent:"≡",equiv:"≡",Conint:"∯",DoubleContourIntegral:"∯",ContourIntegral:"∮",conint:"∮",oint:"∮",Copf:"ℂ",complexes:"ℂ",Coproduct:"∐",coprod:"∐",CounterClockwiseContourIntegral:"∳",awconint:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",asympeq:"≍",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",ddagger:"‡",Darr:"↡",Dashv:"⫤",DoubleLeftTee:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",nabla:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",acute:"´",DiacriticalDot:"˙",dot:"˙",DiacriticalDoubleAcute:"˝",dblac:"˝",DiacriticalGrave:"`",grave:"`",DiacriticalTilde:"˜",tilde:"˜",Diamond:"⋄",diam:"⋄",diamond:"⋄",DifferentialD:"ⅆ",dd:"ⅆ",Dopf:"𝔻",Dot:"¨",DoubleDot:"¨",die:"¨",uml:"¨",DotDot:"⃜",DotEqual:"≐",doteq:"≐",esdot:"≐",DoubleDownArrow:"⇓",Downarrow:"⇓",dArr:"⇓",DoubleLeftArrow:"⇐",Leftarrow:"⇐",lArr:"⇐",DoubleLeftRightArrow:"⇔",Leftrightarrow:"⇔",hArr:"⇔",iff:"⇔",DoubleLongLeftArrow:"⟸",Longleftarrow:"⟸",xlArr:"⟸",DoubleLongLeftRightArrow:"⟺",Longleftrightarrow:"⟺",xhArr:"⟺",DoubleLongRightArrow:"⟹",Longrightarrow:"⟹",xrArr:"⟹",DoubleRightArrow:"⇒",Implies:"⇒",Rightarrow:"⇒",rArr:"⇒",DoubleRightTee:"⊨",vDash:"⊨",DoubleUpArrow:"⇑",Uparrow:"⇑",uArr:"⇑",DoubleUpDownArrow:"⇕",Updownarrow:"⇕",vArr:"⇕",DoubleVerticalBar:"∥",par:"∥",parallel:"∥",shortparallel:"∥",spar:"∥",DownArrow:"↓",ShortDownArrow:"↓",darr:"↓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",duarr:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",leftharpoondown:"↽",lhard:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",rhard:"⇁",rightharpoondown:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",top:"⊤",DownTeeArrow:"↧",mapstodown:"↧",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ETH:"Ð",Eacute:"É",Ecaron:"Ě",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrave:"È",Element:"∈",in:"∈",isin:"∈",isinv:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",eqsim:"≂",esim:"≂",Equilibrium:"⇌",rightleftharpoons:"⇌",rlhar:"⇌",Escr:"ℰ",expectation:"ℰ",Esim:"⩳",Eta:"Η",Euml:"Ë",Exists:"∃",exist:"∃",ExponentialE:"ⅇ",ee:"ⅇ",exponentiale:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",blacksquare:"▪",squarf:"▪",squf:"▪",Fopf:"𝔽",ForAll:"∀",forall:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",gt:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",ggg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",ge:"≥",geq:"≥",GreaterEqualLess:"⋛",gel:"⋛",gtreqless:"⋛",GreaterFullEqual:"≧",gE:"≧",geqq:"≧",GreaterGreater:"⪢",GreaterLess:"≷",gl:"≷",gtrless:"≷",GreaterSlantEqual:"⩾",geqslant:"⩾",ges:"⩾",GreaterTilde:"≳",gsim:"≳",gtrsim:"≳",Gscr:"𝒢",Gt:"≫",NestedGreaterGreater:"≫",gg:"≫",HARDcy:"Ъ",Hacek:"ˇ",caron:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",Poincareplane:"ℌ",HilbertSpace:"ℋ",Hscr:"ℋ",hamilt:"ℋ",Hopf:"ℍ",quaternions:"ℍ",HorizontalLine:"─",boxh:"─",Hstrok:"Ħ",HumpEqual:"≏",bumpe:"≏",bumpeq:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Im:"ℑ",image:"ℑ",imagpart:"ℑ",Igrave:"Ì",Imacr:"Ī",ImaginaryI:"ⅈ",ii:"ⅈ",Int:"∬",Integral:"∫",int:"∫",Intersection:"⋂",bigcap:"⋂",xcap:"⋂",InvisibleComma:"⁣",ic:"⁣",InvisibleTimes:"⁢",it:"⁢",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",imagline:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",lt:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Lscr:"ℒ",lagran:"ℒ",Larr:"↞",twoheadleftarrow:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",lang:"⟨",langle:"⟨",LeftArrow:"←",ShortLeftArrow:"←",larr:"←",leftarrow:"←",slarr:"←",LeftArrowBar:"⇤",larrb:"⇤",LeftArrowRightArrow:"⇆",leftrightarrows:"⇆",lrarr:"⇆",LeftCeiling:"⌈",lceil:"⌈",LeftDoubleBracket:"⟦",lobrk:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",dharl:"⇃",downharpoonleft:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",lfloor:"⌊",LeftRightArrow:"↔",harr:"↔",leftrightarrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",dashv:"⊣",LeftTeeArrow:"↤",mapstoleft:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",vartriangleleft:"⊲",vltri:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",ltrie:"⊴",trianglelefteq:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",uharl:"↿",upharpoonleft:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",leftharpoonup:"↼",lharu:"↼",LeftVectorBar:"⥒",LessEqualGreater:"⋚",leg:"⋚",lesseqgtr:"⋚",LessFullEqual:"≦",lE:"≦",leqq:"≦",LessGreater:"≶",lessgtr:"≶",lg:"≶",LessLess:"⪡",LessSlantEqual:"⩽",leqslant:"⩽",les:"⩽",LessTilde:"≲",lesssim:"≲",lsim:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",lAarr:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",longleftarrow:"⟵",xlarr:"⟵",LongLeftRightArrow:"⟷",longleftrightarrow:"⟷",xharr:"⟷",LongRightArrow:"⟶",longrightarrow:"⟶",xrarr:"⟶",Lopf:"𝕃",LowerLeftArrow:"↙",swarr:"↙",swarrow:"↙",LowerRightArrow:"↘",searr:"↘",searrow:"↘",Lsh:"↰",lsh:"↰",Lstrok:"Ł",Lt:"≪",NestedLessLess:"≪",ll:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mscr:"ℳ",phmmat:"ℳ",Mfr:"𝔐",MinusPlus:"∓",mnplus:"∓",mp:"∓",Mopf:"𝕄",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",ZeroWidthSpace:"​",NewLine:"\n",Nfr:"𝔑",NoBreak:"⁠",NonBreakingSpace:" ",nbsp:" ",Nopf:"ℕ",naturals:"ℕ",Not:"⫬",NotCongruent:"≢",nequiv:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",npar:"∦",nparallel:"∦",nshortparallel:"∦",nspar:"∦",NotElement:"∉",notin:"∉",notinva:"∉",NotEqual:"≠",ne:"≠",NotEqualTilde:"≂̸",nesim:"≂̸",NotExists:"∄",nexist:"∄",nexists:"∄",NotGreater:"≯",ngt:"≯",ngtr:"≯",NotGreaterEqual:"≱",nge:"≱",ngeq:"≱",NotGreaterFullEqual:"≧̸",ngE:"≧̸",ngeqq:"≧̸",NotGreaterGreater:"≫̸",nGtv:"≫̸",NotGreaterLess:"≹",ntgl:"≹",NotGreaterSlantEqual:"⩾̸",ngeqslant:"⩾̸",nges:"⩾̸",NotGreaterTilde:"≵",ngsim:"≵",NotHumpDownHump:"≎̸",nbump:"≎̸",NotHumpEqual:"≏̸",nbumpe:"≏̸",NotLeftTriangle:"⋪",nltri:"⋪",ntriangleleft:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",nltrie:"⋬",ntrianglelefteq:"⋬",NotLess:"≮",nless:"≮",nlt:"≮",NotLessEqual:"≰",nle:"≰",nleq:"≰",NotLessGreater:"≸",ntlg:"≸",NotLessLess:"≪̸",nLtv:"≪̸",NotLessSlantEqual:"⩽̸",nleqslant:"⩽̸",nles:"⩽̸",NotLessTilde:"≴",nlsim:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",npr:"⊀",nprec:"⊀",NotPrecedesEqual:"⪯̸",npre:"⪯̸",npreceq:"⪯̸",NotPrecedesSlantEqual:"⋠",nprcue:"⋠",NotReverseElement:"∌",notni:"∌",notniva:"∌",NotRightTriangle:"⋫",nrtri:"⋫",ntriangleright:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",nrtrie:"⋭",ntrianglerighteq:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",nsqsube:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",nsqsupe:"⋣",NotSubset:"⊂⃒",nsubset:"⊂⃒",vnsub:"⊂⃒",NotSubsetEqual:"⊈",nsube:"⊈",nsubseteq:"⊈",NotSucceeds:"⊁",nsc:"⊁",nsucc:"⊁",NotSucceedsEqual:"⪰̸",nsce:"⪰̸",nsucceq:"⪰̸",NotSucceedsSlantEqual:"⋡",nsccue:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",nsupset:"⊃⃒",vnsup:"⊃⃒",NotSupersetEqual:"⊉",nsupe:"⊉",nsupseteq:"⊉",NotTilde:"≁",nsim:"≁",NotTildeEqual:"≄",nsime:"≄",nsimeq:"≄",NotTildeFullEqual:"≇",ncong:"≇",NotTildeTilde:"≉",nap:"≉",napprox:"≉",NotVerticalBar:"∤",nmid:"∤",nshortmid:"∤",nsmid:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",ohm:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",ldquo:"“",OpenCurlyQuote:"‘",lsquo:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",oline:"‾",OverBrace:"⏞",OverBracket:"⎴",tbrk:"⎴",OverParenthesis:"⏜",PartialD:"∂",part:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",plusmn:"±",pm:"±",Popf:"ℙ",primes:"ℙ",Pr:"⪻",Precedes:"≺",pr:"≺",prec:"≺",PrecedesEqual:"⪯",pre:"⪯",preceq:"⪯",PrecedesSlantEqual:"≼",prcue:"≼",preccurlyeq:"≼",PrecedesTilde:"≾",precsim:"≾",prsim:"≾",Prime:"″",Product:"∏",prod:"∏",Proportional:"∝",prop:"∝",propto:"∝",varpropto:"∝",vprop:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',quot:'"',Qfr:"𝔔",Qopf:"ℚ",rationals:"ℚ",Qscr:"𝒬",RBarr:"⤐",drbkarow:"⤐",REG:"®",circledR:"®",reg:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",twoheadrightarrow:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",Rfr:"ℜ",real:"ℜ",realpart:"ℜ",ReverseElement:"∋",SuchThat:"∋",ni:"∋",niv:"∋",ReverseEquilibrium:"⇋",leftrightharpoons:"⇋",lrhar:"⇋",ReverseUpEquilibrium:"⥯",duhar:"⥯",Rho:"Ρ",RightAngleBracket:"⟩",rang:"⟩",rangle:"⟩",RightArrow:"→",ShortRightArrow:"→",rarr:"→",rightarrow:"→",srarr:"→",RightArrowBar:"⇥",rarrb:"⇥",RightArrowLeftArrow:"⇄",rightleftarrows:"⇄",rlarr:"⇄",RightCeiling:"⌉",rceil:"⌉",RightDoubleBracket:"⟧",robrk:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",dharr:"⇂",downharpoonright:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rfloor:"⌋",RightTee:"⊢",vdash:"⊢",RightTeeArrow:"↦",map:"↦",mapsto:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",vartriangleright:"⊳",vrtri:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",rtrie:"⊵",trianglerighteq:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",uharr:"↾",upharpoonright:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",rharu:"⇀",rightharpoonup:"⇀",RightVectorBar:"⥓",Ropf:"ℝ",reals:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",rAarr:"⇛",Rscr:"ℛ",realine:"ℛ",Rsh:"↱",rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortUpArrow:"↑",UpArrow:"↑",uarr:"↑",uparrow:"↑",Sigma:"Σ",SmallCircle:"∘",compfn:"∘",Sopf:"𝕊",Sqrt:"√",radic:"√",Square:"□",squ:"□",square:"□",SquareIntersection:"⊓",sqcap:"⊓",SquareSubset:"⊏",sqsub:"⊏",sqsubset:"⊏",SquareSubsetEqual:"⊑",sqsube:"⊑",sqsubseteq:"⊑",SquareSuperset:"⊐",sqsup:"⊐",sqsupset:"⊐",SquareSupersetEqual:"⊒",sqsupe:"⊒",sqsupseteq:"⊒",SquareUnion:"⊔",sqcup:"⊔",Sscr:"𝒮",Star:"⋆",sstarf:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",sube:"⊆",subseteq:"⊆",Succeeds:"≻",sc:"≻",succ:"≻",SucceedsEqual:"⪰",sce:"⪰",succeq:"⪰",SucceedsSlantEqual:"≽",sccue:"≽",succcurlyeq:"≽",SucceedsTilde:"≿",scsim:"≿",succsim:"≿",Sum:"∑",sum:"∑",Sup:"⋑",Supset:"⋑",Superset:"⊃",sup:"⊃",supset:"⊃",SupersetEqual:"⊇",supe:"⊇",supseteq:"⊇",THORN:"Þ",TRADE:"™",trade:"™",TSHcy:"Ћ",TScy:"Ц",Tab:"\t",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",there4:"∴",therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",Tilde:"∼",sim:"∼",thicksim:"∼",thksim:"∼",TildeEqual:"≃",sime:"≃",simeq:"≃",TildeFullEqual:"≅",cong:"≅",TildeTilde:"≈",ap:"≈",approx:"≈",asymp:"≈",thickapprox:"≈",thkap:"≈",Topf:"𝕋",TripleDot:"⃛",tdot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",lowbar:"_",UnderBrace:"⏟",UnderBracket:"⎵",bbrk:"⎵",UnderParenthesis:"⏝",Union:"⋃",bigcup:"⋃",xcup:"⋃",UnionPlus:"⊎",uplus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",udarr:"⇅",UpDownArrow:"↕",updownarrow:"↕",varr:"↕",UpEquilibrium:"⥮",udhar:"⥮",UpTee:"⊥",bot:"⊥",bottom:"⊥",perp:"⊥",UpTeeArrow:"↥",mapstoup:"↥",UpperLeftArrow:"↖",nwarr:"↖",nwarrow:"↖",UpperRightArrow:"↗",nearr:"↗",nearrow:"↗",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",bigvee:"⋁",xvee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",mid:"∣",shortmid:"∣",smid:"∣",VerticalLine:"|",verbar:"|",vert:"|",VerticalSeparator:"❘",VerticalTilde:"≀",wr:"≀",wreath:"≀",VeryThinSpace:" ",hairsp:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",bigwedge:"⋀",xwedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",Zeta:"Ζ",Zfr:"ℨ",zeetrf:"ℨ",Zopf:"ℤ",integers:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",mstpos:"∾",acE:"∾̳",acd:"∿",acirc:"â",acy:"а",aelig:"æ",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",and:"∧",wedge:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",angle:"∠",ange:"⦤",angmsd:"∡",measuredangle:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angzarr:"⍼",aogon:"ą",aopf:"𝕒",apE:"⩰",apacir:"⩯",ape:"≊",approxeq:"≊",apid:"≋",apos:"'",aring:"å",ascr:"𝒶",ast:"*",midast:"*",atilde:"ã",auml:"ä",awint:"⨑",bNot:"⫭",backcong:"≌",bcong:"≌",backepsilon:"϶",bepsi:"϶",backprime:"‵",bprime:"‵",backsim:"∽",bsim:"∽",backsimeq:"⋍",bsime:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrktbrk:"⎶",bcy:"б",bdquo:"„",ldquor:"„",bemptyv:"⦰",beta:"β",beth:"ℶ",between:"≬",twixt:"≬",bfr:"𝔟",bigcirc:"◯",xcirc:"◯",bigodot:"⨀",xodot:"⨀",bigoplus:"⨁",xoplus:"⨁",bigotimes:"⨂",xotime:"⨂",bigsqcup:"⨆",xsqcup:"⨆",bigstar:"★",starf:"★",bigtriangledown:"▽",xdtri:"▽",bigtriangleup:"△",xutri:"△",biguplus:"⨄",xuplus:"⨄",bkarow:"⤍",rbarr:"⤍",blacklozenge:"⧫",lozf:"⧫",blacktriangle:"▴",utrif:"▴",blacktriangledown:"▾",dtrif:"▾",blacktriangleleft:"◂",ltrif:"◂",blacktriangleright:"▸",rtrif:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",minusb:"⊟",boxplus:"⊞",plusb:"⊞",boxtimes:"⊠",timesb:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bumpE:"⪮",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cemptyv:"⦲",cent:"¢",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",cire:"≗",circlearrowleft:"↺",olarr:"↺",circlearrowright:"↻",orarr:"↻",circledS:"Ⓢ",oS:"Ⓢ",circledast:"⊛",oast:"⊛",circledcirc:"⊚",ocir:"⊚",circleddash:"⊝",odash:"⊝",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",comma:",",commat:"@",comp:"∁",complement:"∁",congdot:"⩭",copf:"𝕔",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",curlyeqprec:"⋞",cuesc:"⋟",curlyeqsucc:"⋟",cularr:"↶",curvearrowleft:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curvearrowright:"↷",curarrm:"⤼",curlyvee:"⋎",cuvee:"⋎",curlywedge:"⋏",cuwed:"⋏",curren:"¤",cwint:"∱",cylcty:"⌭",dHar:"⥥",dagger:"†",daleth:"ℸ",dash:"‐",hyphen:"‐",dbkarow:"⤏",rBarr:"⤏",dcaron:"ď",dcy:"д",ddarr:"⇊",downdownarrows:"⇊",ddotseq:"⩷",eDDot:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",diamondsuit:"♦",diams:"♦",digamma:"ϝ",gammad:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",llcorner:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",doteqdot:"≑",eDot:"≑",dotminus:"∸",minusd:"∸",dotplus:"∔",plusdo:"∔",dotsquare:"⊡",sdotb:"⊡",drcorn:"⌟",lrcorner:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",triangledown:"▿",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",eqcirc:"≖",ecirc:"ê",ecolon:"≕",eqcolon:"≕",ecy:"э",edot:"ė",efDot:"≒",fallingdotseq:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",eqslantgtr:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",eqslantless:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",varnothing:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",straightepsilon:"ϵ",varepsilon:"ϵ",equals:"=",equest:"≟",questeq:"≟",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",risingdotseq:"≓",erarr:"⥱",escr:"ℯ",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",fork:"⋔",pitchfork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",half:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",sfrown:"⌢",fscr:"𝒻",gEl:"⪌",gtreqqless:"⪌",gacute:"ǵ",gamma:"γ",gap:"⪆",gtrapprox:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gimel:"ℷ",gjcy:"ѓ",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gneqq:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gnsim:"⋧",gopf:"𝕘",gscr:"ℊ",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtrdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrarr:"⥸",gvertneqq:"≩︀",gvnE:"≩︀",hardcy:"ъ",harrcir:"⥈",harrw:"↭",leftrightsquigarrow:"↭",hbar:"ℏ",hslash:"ℏ",planck:"ℏ",plankv:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",mldr:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",searhk:"⤥",hkswarow:"⤦",swarhk:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",larrhk:"↩",hookrightarrow:"↪",rarrhk:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hstrok:"ħ",hybull:"⁃",iacute:"í",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",ifr:"𝔦",igrave:"ì",iiiint:"⨌",qint:"⨌",iiint:"∭",tint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",imath:"ı",inodot:"ı",imof:"⊷",imped:"Ƶ",incare:"℅",infin:"∞",infintie:"⧝",intcal:"⊺",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iquest:"¿",iscr:"𝒾",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",varkappa:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAtail:"⤛",lBarr:"⤎",lEg:"⪋",lesseqqgtr:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lambda:"λ",langd:"⦑",lap:"⪅",lessapprox:"⪅",laquo:"«",larrbfs:"⤟",larrfs:"⤝",larrlp:"↫",looparrowleft:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",leftarrowtail:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lcub:"{",lbrack:"[",lsqb:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lcy:"л",ldca:"⤶",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leq:"≤",leftleftarrows:"⇇",llarr:"⇇",leftthreetimes:"⋋",lthree:"⋋",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessdot:"⋖",ltdot:"⋖",lfisht:"⥼",lfr:"𝔩",lgE:"⪑",lharul:"⥪",lhblk:"▄",ljcy:"љ",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lneqq:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lnsim:"⋦",loang:"⟬",loarr:"⇽",longmapsto:"⟼",xmap:"⟼",looparrowright:"↬",rarrlp:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",loz:"◊",lozenge:"◊",lpar:"(",lparlt:"⦓",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsime:"⪍",lsimg:"⪏",lsquor:"‚",sbquo:"‚",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",triangleleft:"◃",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",strns:"¯",male:"♂",malt:"✠",maltese:"✠",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",mfr:"𝔪",mho:"℧",micro:"µ",midcir:"⫰",minus:"−",minusdu:"⨪",mlcp:"⫛",models:"⊧",mopf:"𝕞",mscr:"𝓂",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nLeftarrow:"⇍",nlArr:"⇍",nLeftrightarrow:"⇎",nhArr:"⇎",nLl:"⋘̸",nLt:"≪⃒",nRightarrow:"⇏",nrArr:"⇏",nVDash:"⊯",nVdash:"⊮",nacute:"ń",nang:"∠⃒",napE:"⩰̸",napid:"≋̸",napos:"ʼn",natur:"♮",natural:"♮",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",neArr:"⇗",nearhk:"⤤",nedot:"≐̸",nesear:"⤨",toea:"⤨",nfr:"𝔫",nharr:"↮",nleftrightarrow:"↮",nhpar:"⫲",nis:"⋼",nisd:"⋺",njcy:"њ",nlE:"≦̸",nleqq:"≦̸",nlarr:"↚",nleftarrow:"↚",nldr:"‥",nopf:"𝕟",not:"¬",notinE:"⋹̸",notindot:"⋵̸",notinvb:"⋷",notinvc:"⋶",notnivb:"⋾",notnivc:"⋽",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",nrarr:"↛",nrightarrow:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nscr:"𝓃",nsub:"⊄",nsubE:"⫅̸",nsubseteqq:"⫅̸",nsup:"⊅",nsupE:"⫆̸",nsupseteqq:"⫆̸",ntilde:"ñ",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwnear:"⤧",oacute:"ó",ocirc:"ô",ocy:"о",odblac:"ő",odiv:"⨸",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",olcir:"⦾",olcross:"⦻",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",oopf:"𝕠",opar:"⦷",operp:"⦹",or:"∨",vee:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",oscr:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oslash:"ø",osol:"⊘",otilde:"õ",otimesas:"⨶",ouml:"ö",ovbar:"⌽",para:"¶",parsim:"⫳",parsl:"⫽",pcy:"п",percnt:"%",period:".",permil:"‰",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",straightphi:"ϕ",varphi:"ϕ",phone:"☎",pi:"π",piv:"ϖ",varpi:"ϖ",planckh:"ℎ",plus:"+",plusacir:"⨣",pluscir:"⨢",plusdu:"⨥",pluse:"⩲",plussim:"⨦",plustwo:"⨧",pointint:"⨕",popf:"𝕡",pound:"£",prE:"⪳",prap:"⪷",precapprox:"⪷",precnapprox:"⪹",prnap:"⪹",precneqq:"⪵",prnE:"⪵",precnsim:"⋨",prnsim:"⋨",prime:"′",profalar:"⌮",profline:"⌒",profsurf:"⌓",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quatint:"⨖",quest:"?",rAtail:"⤜",rHar:"⥤",race:"∽̱",racute:"ŕ",raemptyv:"⦳",rangd:"⦒",range:"⦥",raquo:"»",rarrap:"⥵",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rightarrowtail:"↣",rarrw:"↝",rightsquigarrow:"↝",ratail:"⤚",ratio:"∶",rbbrk:"❳",rbrace:"}",rcub:"}",rbrack:"]",rsqb:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdsh:"↳",rect:"▭",rfisht:"⥽",rfr:"𝔯",rharul:"⥬",rho:"ρ",rhov:"ϱ",varrho:"ϱ",rightrightarrows:"⇉",rrarr:"⇉",rightthreetimes:"⋌",rthree:"⋌",ring:"˚",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rsaquo:"›",rscr:"𝓇",rtimes:"⋊",rtri:"▹",triangleright:"▹",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",scE:"⪴",scap:"⪸",succapprox:"⪸",scaron:"š",scedil:"ş",scirc:"ŝ",scnE:"⪶",succneqq:"⪶",scnap:"⪺",succnapprox:"⪺",scnsim:"⋩",succnsim:"⋩",scpolint:"⨓",scy:"с",sdot:"⋅",sdote:"⩦",seArr:"⇘",sect:"§",semi:";",seswar:"⤩",tosa:"⤩",sext:"✶",sfr:"𝔰",sharp:"♯",shchcy:"щ",shcy:"ш",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",varsigma:"ς",simdot:"⩪",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",smashp:"⨳",smeparsl:"⧤",smile:"⌣",ssmile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",sqcaps:"⊓︀",sqcups:"⊔︀",sscr:"𝓈",star:"☆",sub:"⊂",subset:"⊂",subE:"⫅",subseteqq:"⫅",subdot:"⪽",subedot:"⫃",submult:"⫁",subnE:"⫋",subsetneqq:"⫋",subne:"⊊",subsetneq:"⊊",subplus:"⪿",subrarr:"⥹",subsim:"⫇",subsub:"⫕",subsup:"⫓",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",supE:"⫆",supseteqq:"⫆",supdot:"⪾",supdsub:"⫘",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supsetneqq:"⫌",supne:"⊋",supsetneq:"⊋",supplus:"⫀",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tcaron:"ť",tcedil:"ţ",tcy:"т",telrec:"⌕",tfr:"𝔱",theta:"θ",thetasym:"ϑ",thetav:"ϑ",vartheta:"ϑ",thorn:"þ",times:"×",timesbar:"⨱",timesd:"⨰",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tprime:"‴",triangle:"▵",utri:"▵",triangleq:"≜",trie:"≜",tridot:"◬",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",uHar:"⥣",uacute:"ú",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udblac:"ű",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uogon:"ų",uopf:"𝕦",upsi:"υ",upsilon:"υ",upuparrows:"⇈",uuarr:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",uuml:"ü",uwangle:"⦧",vBar:"⫨",vBarv:"⫩",vangrt:"⦜",varsubsetneq:"⊊︀",vsubne:"⊊︀",varsubsetneqq:"⫋︀",vsubnE:"⫋︀",varsupsetneq:"⊋︀",vsupne:"⊋︀",varsupsetneqq:"⫌︀",vsupnE:"⫌︀",vcy:"в",veebar:"⊻",veeeq:"≚",vellip:"⋮",vfr:"𝔳",vopf:"𝕧",vscr:"𝓋",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedgeq:"≙",weierp:"℘",wp:"℘",wfr:"𝔴",wopf:"𝕨",wscr:"𝓌",xfr:"𝔵",xi:"ξ",xnis:"⋻",xopf:"𝕩",xscr:"𝓍",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"‍",zwnj:"‌"}).ngsp="",gS=[/@/,/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//],a(vS,"Ls"),a(Ar=class{static fromArray(t){return t?(vS("interpolation",t),new Ar(t[0],t[1])):F2}constructor(t,r){this.start=t,this.end=r}},"t"),F2=new Ar("{{","}}"),a(qn=class extends E2{constructor(t,r,n){super(n,t),this.tokenType=r}},"ft"),qu=qn,a(Wn=class{constructor(t,r,n){this.tokens=t,this.errors=r,this.nonNormalizedIcuExpressions=n}},"$r"),bS=Wn,a(yS,"Ws"),DS=/\r\n?/g,a(Dn,"je"),a(M5,"Rs"),a(xS,"ho"),function(e){e.HEX="hexadecimal",e.DEC="decimal"}(Hi||(Hi={})),a(Un=class{constructor(t){this.error=t}},"dt"),Wu=Un,a(Gn=class{constructor(t,r,n){this._getTagContentType=r,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this.nonNormalizedIcuExpressions=[],this._tokenizeIcu=n.tokenizeExpansionForms||!1,this._interpolationConfig=n.interpolationConfig||F2,this._leadingTriviaCodePoints=n.leadingTriviaChars&&n.leadingTriviaChars.map((i=>i.codePointAt(0)||0)),this._canSelfClose=n.canSelfClose||!1,this._allowHtmComponentClosingTags=n.allowHtmComponentClosingTags||!1;let o=n.range||{endPos:t.content.length,startPos:0,startLine:0,startCol:0};this._cursor=n.escapedString?new TS(t,o):new k2(t,o),this._preserveLineEndings=n.preserveLineEndings||!1,this._i18nNormalizeLineEndingsInICUs=n.i18nNormalizeLineEndingsInICUs||!1,this._tokenizeBlocks=n.tokenizeBlocks??!0,this._tokenizeLet=n.tokenizeLet??!0;try{this._cursor.init()}catch(i){this.handleError(i)}}_processCarriageReturns(t){return this._preserveLineEndings?t:t.replace(DS,"\n")}tokenize(){for(;0!==this._cursor.peek();){let t=this._cursor.clone();try{if(this._attemptCharCode(60))if(this._attemptCharCode(33))this._attemptStr("[CDATA[")?this._consumeCdata(t):this._attemptStr("--")?this._consumeComment(t):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(t):this._consumeBogusComment(t);else if(this._attemptCharCode(47))this._consumeTagClose(t);else{let r=this._cursor.clone();this._attemptCharCode(63)?(this._cursor=r,this._consumeBogusComment(t)):this._consumeTagOpen(t)}else this._tokenizeLet&&64===this._cursor.peek()&&!this._inInterpolation&&this._attemptStr("@let")?this._consumeLetDeclaration(t):this._tokenizeBlocks&&this._attemptCharCode(64)?this._consumeBlockStart(t):!this._tokenizeBlocks||this._inInterpolation||this._isInExpansionCase()||this._isInExpansionForm()||!this._attemptCharCode(125)?this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(5,8,(()=>this._isTextEnd()),(()=>this._isTagStart())):this._consumeBlockEnd(t)}catch(r){this.handleError(r)}}this._beginToken(34),this._endToken([])}_getBlockName(){let t=!1,r=this._cursor.clone();return this._attemptCharCodeUntilFn((n=>Bi(n)?!t:!H5(n)||(t=!0,!1))),this._cursor.getChars(r).trim()}_consumeBlockStart(t){this._beginToken(25,t);let r=this._endToken([this._getBlockName()]);if(40===this._cursor.peek()){if(this._cursor.advance(),this._consumeBlockParameters(),this._attemptCharCodeUntilFn(ie),!this._attemptCharCode(41))return void(r.type=29);this._attemptCharCodeUntilFn(ie)}this._attemptCharCode(123)?(this._beginToken(26),this._endToken([])):r.type=29}_consumeBlockEnd(t){this._beginToken(27,t),this._endToken([])}_consumeBlockParameters(){for(this._attemptCharCodeUntilFn(z5);41!==this._cursor.peek()&&0!==this._cursor.peek();){this._beginToken(28);let t=this._cursor.clone(),r=null,n=0;for(;59!==this._cursor.peek()&&0!==this._cursor.peek()||null!==r;){let o=this._cursor.peek();if(92===o)this._cursor.advance();else if(o===r)r=null;else if(null===r&&Vu(o))r=o;else if(40===o&&null===r)n++;else if(41===o&&null===r){if(0===n)break;n>0&&n--}this._cursor.advance()}this._endToken([this._cursor.getChars(t)]),this._attemptCharCodeUntilFn(z5)}}_consumeLetDeclaration(t){if(this._beginToken(30,t),!Bi(this._cursor.peek())){return void(this._endToken([this._cursor.getChars(t)]).type=33)}this._attemptCharCodeUntilFn(ie);let r=this._endToken([this._getLetDeclarationName()]);this._attemptCharCodeUntilFn(ie),this._attemptCharCode(61)?(this._attemptCharCodeUntilFn((n=>ie(n)&&!wc(n))),this._consumeLetDeclarationValue(),59===this._cursor.peek()?(this._beginToken(32),this._endToken([]),this._cursor.advance()):(r.type=33,r.sourceSpan=this._cursor.getSpan(t))):r.type=33}_getLetDeclarationName(){let t=this._cursor.clone(),r=!1;return this._attemptCharCodeUntilFn((n=>!(Ii(n)||36==n||95===n||r&&vc(n))||(r=!0,!1))),this._cursor.getChars(t).trim()}_consumeLetDeclarationValue(){let t=this._cursor.clone();for(this._beginToken(31,t);0!==this._cursor.peek();){let r=this._cursor.peek();if(59===r)break;Vu(r)&&(this._cursor.advance(),this._attemptCharCodeUntilFn((n=>92===n?(this._cursor.advance(),!1):n===r))),this._cursor.advance()}this._endToken([this._cursor.getChars(t)])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(AS(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(125===this._cursor.peek()){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(t,r=this._cursor.clone()){this._currentTokenStart=r,this._currentTokenType=t}_endToken(t,r){if(null===this._currentTokenStart)throw new qu("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(r));if(null===this._currentTokenType)throw new qu("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let n={type:this._currentTokenType,parts:t,sourceSpan:(r??this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(n),this._currentTokenStart=null,this._currentTokenType=null,n}_createError(t,r){this._isInExpansionForm()&&(t+=' (Do you have an unescaped "{" in your template? Use "{{ \'{\' }}") to escape it.)');let n=new qu(t,this._currentTokenType,r);return this._currentTokenStart=null,this._currentTokenType=null,new Wu(n)}handleError(t){if(t instanceof bc&&(t=this._createError(t.msg,this._cursor.getSpan(t.cursor))),!(t instanceof Wu))throw t;this.errors.push(t.error)}_attemptCharCode(t){return this._cursor.peek()===t&&(this._cursor.advance(),!0)}_attemptCharCodeCaseInsensitive(t){return!!FS(this._cursor.peek(),t)&&(this._cursor.advance(),!0)}_requireCharCode(t){let r=this._cursor.clone();if(!this._attemptCharCode(t))throw this._createError(Dn(this._cursor.peek()),this._cursor.getSpan(r))}_attemptStr(t){let r=t.length;if(this._cursor.charsLeft()this._attemptStr("--\x3e"))),this._beginToken(11),this._requireStr("--\x3e"),this._endToken([])}_consumeBogusComment(t){this._beginToken(10,t),this._endToken([]),this._consumeRawText(!1,(()=>62===this._cursor.peek())),this._beginToken(11),this._cursor.advance(),this._endToken([])}_consumeCdata(t){this._beginToken(12,t),this._endToken([]),this._consumeRawText(!1,(()=>this._attemptStr("]]>"))),this._beginToken(13),this._requireStr("]]>"),this._endToken([])}_consumeDocType(t){this._beginToken(18,t),this._endToken([]),this._consumeRawText(!1,(()=>62===this._cursor.peek())),this._beginToken(19),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let n,t=this._cursor.clone(),r="";for(;58!==this._cursor.peek()&&!ES(this._cursor.peek());)this._cursor.advance();return 58===this._cursor.peek()?(r=this._cursor.getChars(t),this._cursor.advance(),n=this._cursor.clone()):n=t,this._requireCharCodeUntilFn(_5,""===r?0:1),[r,this._cursor.getChars(n)]}_consumeTagOpen(t){let r,n,o,i=[];try{if(!Ii(this._cursor.peek()))throw this._createError(Dn(this._cursor.peek()),this._cursor.getSpan(t));for(o=this._consumeTagOpenStart(t),n=o.parts[0],r=o.parts[1],this._attemptCharCodeUntilFn(ie);47!==this._cursor.peek()&&62!==this._cursor.peek()&&60!==this._cursor.peek()&&0!==this._cursor.peek();){let[u,c]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(ie),this._attemptCharCode(61)){this._attemptCharCodeUntilFn(ie);let p=this._consumeAttributeValue();i.push({prefix:u,name:c,value:p})}else i.push({prefix:u,name:c});this._attemptCharCodeUntilFn(ie)}this._consumeTagOpenEnd()}catch(u){if(u instanceof Wu)return void(o?o.type=4:(this._beginToken(5,t),this._endToken(["<"])));throw u}if(this._canSelfClose&&2===this.tokens[this.tokens.length-1].type)return;let l=this._getTagContentType(r,n,this._fullNameStack.length>0,i);this._handleFullNameStackForTagOpen(n,r),l===nt.RAW_TEXT?this._consumeRawTextWithTagClose(n,r,!1):l===nt.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(n,r,!0)}_consumeRawTextWithTagClose(t,r,n){this._consumeRawText(n,(()=>!!(this._attemptCharCode(60)&&this._attemptCharCode(47)&&(this._attemptCharCodeUntilFn(ie),this._attemptStrCaseInsensitive(t?`${t}:${r}`:r)))&&(this._attemptCharCodeUntilFn(ie),this._attemptCharCode(62)))),this._beginToken(3),this._requireCharCodeUntilFn((o=>62===o),3),this._cursor.advance(),this._endToken([t,r]),this._handleFullNameStackForTagClose(t,r)}_consumeTagOpenStart(t){this._beginToken(0,t);let r=this._consumePrefixAndName();return this._endToken(r)}_consumeAttributeName(){let t=this._cursor.peek();if(39===t||34===t)throw this._createError(Dn(t),this._cursor.getSpan());this._beginToken(14);let r=this._consumePrefixAndName();return this._endToken(r),r}_consumeAttributeValue(){let t;if(39===this._cursor.peek()||34===this._cursor.peek()){let r=this._cursor.peek();this._consumeQuote(r);let n=a((()=>this._cursor.peek()===r),"n");t=this._consumeWithInterpolation(16,17,n,n),this._consumeQuote(r)}else{let r=a((()=>_5(this._cursor.peek())),"r");t=this._consumeWithInterpolation(16,17,r,r)}return t}_consumeQuote(t){this._beginToken(15),this._requireCharCode(t),this._endToken([String.fromCodePoint(t)])}_consumeTagOpenEnd(){let t=this._attemptCharCode(47)?2:1;this._beginToken(t),this._requireCharCode(62),this._endToken([])}_consumeTagClose(t){if(this._beginToken(3,t),this._attemptCharCodeUntilFn(ie),this._allowHtmComponentClosingTags&&this._attemptCharCode(47))this._attemptCharCodeUntilFn(ie),this._requireCharCode(62),this._endToken([]);else{let[r,n]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(ie),this._requireCharCode(62),this._endToken([r,n]),this._handleFullNameStackForTagClose(r,n)}}_consumeExpansionFormStart(){this._beginToken(20),this._requireCharCode(123),this._endToken([]),this._expansionCaseStack.push(20),this._beginToken(7);let t=this._readUntil(44),r=this._processCarriageReturns(t);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([r]);else{let o=this._endToken([t]);r!==t&&this.nonNormalizedIcuExpressions.push(o)}this._requireCharCode(44),this._attemptCharCodeUntilFn(ie),this._beginToken(7);let n=this._readUntil(44);this._endToken([n]),this._requireCharCode(44),this._attemptCharCodeUntilFn(ie)}_consumeExpansionCaseStart(){this._beginToken(21);let t=this._readUntil(123).trim();this._endToken([t]),this._attemptCharCodeUntilFn(ie),this._beginToken(22),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(ie),this._expansionCaseStack.push(22)}_consumeExpansionCaseEnd(){this._beginToken(23),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(ie),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(24),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(t,r,n,o){this._beginToken(t);let i=[];for(;!n();){let u=this._cursor.clone();this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(this._endToken([this._processCarriageReturns(i.join(""))],u),i.length=0,this._consumeInterpolation(r,u,o),this._beginToken(t)):38===this._cursor.peek()?(this._endToken([this._processCarriageReturns(i.join(""))]),i.length=0,this._consumeEntity(t),this._beginToken(t)):i.push(this._readChar())}this._inInterpolation=!1;let l=this._processCarriageReturns(i.join(""));return this._endToken([l]),l}_consumeInterpolation(t,r,n){let o=[];this._beginToken(t,r),o.push(this._interpolationConfig.start);let i=this._cursor.clone(),l=null,u=!1;for(;0!==this._cursor.peek()&&(null===n||!n());){let c=this._cursor.clone();if(this._isTagStart())return this._cursor=c,o.push(this._getProcessedChars(i,c)),void this._endToken(o);if(null===l){if(this._attemptStr(this._interpolationConfig.end))return o.push(this._getProcessedChars(i,c)),o.push(this._interpolationConfig.end),void this._endToken(o);this._attemptStr("//")&&(u=!0)}let p=this._cursor.peek();this._cursor.advance(),92===p?this._cursor.advance():p===l?l=null:!u&&null===l&&Vu(p)&&(l=p)}o.push(this._getProcessedChars(i,this._cursor)),this._endToken(o)}_getProcessedChars(t,r){return this._processCarriageReturns(r.getChars(t))}_isTextEnd(){return!!(this._isTagStart()||0===this._cursor.peek()||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||125===this._cursor.peek()&&this._isInExpansionCase())||this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansion()&&(this._isBlockStart()||64===this._cursor.peek()||125===this._cursor.peek()))}_isTagStart(){if(60===this._cursor.peek()){let t=this._cursor.clone();t.advance();let r=t.peek();if(97<=r&&r<=122||65<=r&&r<=90||47===r||33===r)return!0}return!1}_isBlockStart(){if(this._tokenizeBlocks&&64===this._cursor.peek()){let t=this._cursor.clone();if(t.advance(),H5(t.peek()))return!0}return!1}_readUntil(t){let r=this._cursor.clone();return this._attemptUntilChar(t),this._cursor.getChars(r)}_isInExpansion(){return this._isInExpansionCase()||this._isInExpansionForm()}_isInExpansionCase(){return this._expansionCaseStack.length>0&&22===this._expansionCaseStack[this._expansionCaseStack.length-1]}_isInExpansionForm(){return this._expansionCaseStack.length>0&&20===this._expansionCaseStack[this._expansionCaseStack.length-1]}isExpansionFormStart(){if(123!==this._cursor.peek())return!1;if(this._interpolationConfig){let t=this._cursor.clone(),r=this._attemptStr(this._interpolationConfig.start);return this._cursor=t,!r}return!0}_handleFullNameStackForTagOpen(t,r){let n=_i(t,r);(0===this._fullNameStack.length||this._fullNameStack[this._fullNameStack.length-1]===n)&&this._fullNameStack.push(n)}_handleFullNameStackForTagClose(t,r){let n=_i(t,r);0!==this._fullNameStack.length&&this._fullNameStack[this._fullNameStack.length-1]===n&&this._fullNameStack.pop()}},"Or"),CS=Gn,a(ie,"b"),a(_5,"$s"),a(ES,"mo"),a(SS,"fo"),a(RS,"go"),a(AS,"Co"),a(FS,"So"),a(P5,"Os"),a(H5,"Ms"),a(z5,"qs"),a(kS,"_o"),a(rr=class{constructor(t,r){if(t instanceof rr){this.file=t.file,this.input=t.input,this.end=t.end;let n=t.state;this.state={peek:n.peek,offset:n.offset,line:n.line,column:n.column}}else{if(!r)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=t,this.input=t.content,this.end=r.endPos,this.state={peek:-1,offset:r.startPos,line:r.startLine,column:r.startCol}}}clone(){return new rr(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(t){return this.state.offset-t.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(t,r){let n=t=t||this;if(r)for(;this.diff(t)>0&&-1!==r.indexOf(t.peek());)n===t&&(t=t.clone()),t.advance();let o=this.locationFromCursor(t),i=this.locationFromCursor(this),l=n!==t?this.locationFromCursor(n):o;return new j(o,i,l)}getChars(t){return this.input.substring(t.state.offset,this.state.offset)}charAt(t){return this.input.charCodeAt(t)}advanceState(t){if(t.offset>=this.end)throw this.state=t,new bc('Unexpected character "EOF"',this);let r=this.charAt(t.offset);10===r?(t.line++,t.column=0):wc(r)||t.column++,t.offset++,this.updatePeek(t)}updatePeek(t){t.peek=t.offset>=this.end?0:this.charAt(t.offset)}locationFromCursor(t){return new Ku(t.file,t.state.offset,t.state.line,t.state.column)}},"t"),k2=rr,a(nr=class extends k2{constructor(t,r){t instanceof nr?(super(t),this.internalState={...t.internalState}):(super(t,r),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new nr(this)}getChars(t){let r=t.clone(),n="";for(;r.internalState.offsetthis.internalState.peek),"e");if(92===t())if(this.internalState={...this.state},this.advanceState(this.internalState),110===t())this.state.peek=10;else if(114===t())this.state.peek=13;else if(118===t())this.state.peek=11;else if(116===t())this.state.peek=9;else if(98===t())this.state.peek=8;else if(102===t())this.state.peek=12;else if(117===t())if(this.advanceState(this.internalState),123===t()){this.advanceState(this.internalState);let r=this.clone(),n=0;for(;125!==t();)this.advanceState(this.internalState),n++;this.state.peek=this.decodeHexDigits(r,n)}else{let r=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(r,4)}else if(120===t()){this.advanceState(this.internalState);let r=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(r,2)}else if(b5(t())){let r="",n=0,o=this.clone();for(;b5(t())&&n<3;)o=this.clone(),r+=String.fromCodePoint(t()),this.advanceState(this.internalState),n++;this.state.peek=parseInt(r,8),this.internalState=o.internalState}else wc(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(t,r){let n=this.input.slice(t.internalState.offset,t.internalState.offset+r),o=parseInt(n,16);if(isNaN(o))throw t.state=t.internalState,new bc("Invalid hexadecimal escape sequence",t);return o}},"t"),TS=nr,a(Xn=class{constructor(t,r){this.msg=t,this.cursor=r}},"gt"),bc=Xn,a(Fr=class extends E2{static create(t,r,n){return new Fr(t,r,n)}constructor(t,r,n){super(r,n),this.elementName=t}},"t"),Ae=Fr,a(Yn=class{constructor(t,r){this.rootNodes=t,this.errors=r}},"Vr"),LS=Yn,a(Kn=class{constructor(t){this.getTagDefinition=t}parse(t,r,n,o=!1,i){let l=a((b=>(m,...g)=>b(m.toLowerCase(),...g)),"a"),u=o?this.getTagDefinition:l(this.getTagDefinition),c=a((b=>u(b).getContentType()),"u"),p=o?i:l(i),d=yS(t,r,i?(b,m,g,y)=>{let w=p(b,m,g,y);return void 0!==w?w:c(b)}:c,n),h=n&&n.canSelfClose||!1,f=n&&n.allowHtmComponentClosingTags||!1,v=new IS(d.tokens,u,h,f,o);return v.build(),new LS(v.rootNodes,d.errors.concat(v.errors))}},"nr"),BS=Kn,a(kr=class{constructor(t,r,n,o,i){this.tokens=t,this.getTagDefinition=r,this.canSelfClose=n,this.allowHtmComponentClosingTags=o,this.isTagNameCaseSensitive=i,this._index=-1,this._containerStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;34!==this._peek.type;)0===this._peek.type||4===this._peek.type?this._consumeStartTag(this._advance()):3===this._peek.type?(this._closeVoidElement(),this._consumeEndTag(this._advance())):12===this._peek.type?(this._closeVoidElement(),this._consumeCdata(this._advance())):10===this._peek.type?(this._closeVoidElement(),this._consumeComment(this._advance())):5===this._peek.type||7===this._peek.type||6===this._peek.type?(this._closeVoidElement(),this._consumeText(this._advance())):20===this._peek.type?this._consumeExpansion(this._advance()):25===this._peek.type?(this._closeVoidElement(),this._consumeBlockOpen(this._advance())):27===this._peek.type?(this._closeVoidElement(),this._consumeBlockClose(this._advance())):29===this._peek.type?(this._closeVoidElement(),this._consumeIncompleteBlock(this._advance())):30===this._peek.type?(this._closeVoidElement(),this._consumeLet(this._advance())):18===this._peek.type?this._consumeDocType(this._advance()):33===this._peek.type?(this._closeVoidElement(),this._consumeIncompleteLet(this._advance())):this._advance();for(let t of this._containerStack)t instanceof yn&&this.errors.push(Ae.create(t.name,t.sourceSpan,`Unclosed block "${t.name}"`))}_advance(){let t=this._peek;return this._index0)return this.errors=this.errors.concat(i.errors),null;let l=new j(t.sourceSpan.start,o.sourceSpan.end,t.sourceSpan.fullStart),u=new j(r.sourceSpan.start,o.sourceSpan.end,r.sourceSpan.fullStart);return new cS(t.parts[0],i.rootNodes,l,t.sourceSpan,u)}_collectExpansionExpTokens(t){let r=[],n=[22];for(;;){if((20===this._peek.type||22===this._peek.type)&&n.push(this._peek.type),23===this._peek.type){if(!$5(n,22))return this.errors.push(Ae.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(n.pop(),0===n.length)return r}if(24===this._peek.type){if(!$5(n,20))return this.errors.push(Ae.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;n.pop()}if(34===this._peek.type)return this.errors.push(Ae.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;r.push(this._advance())}}_getText(t){let r=t.parts[0];if(r.length>0&&"\n"==r[0]){let n=this._getClosestParentElement();null!=n&&0==n.children.length&&this.getTagDefinition(n.name).ignoreFirstLf&&(r=r.substring(1))}return r}_consumeText(t){let r=[t],n=t.sourceSpan,o=t.parts[0];if(o.length>0&&"\n"===o[0]){let i=this._getContainer();null!=i&&0===i.children.length&&this.getTagDefinition(i.name).ignoreFirstLf&&(o=o.substring(1),r[0]={type:t.type,sourceSpan:t.sourceSpan,parts:[o]})}for(;8===this._peek.type||5===this._peek.type||9===this._peek.type;)t=this._advance(),r.push(t),8===t.type?o+=t.parts.join("").replace(/&([^;]+);/g,O5):9===t.type?o+=t.parts[0]:o+=t.parts.join("");if(o.length>0){let i=t.sourceSpan;this._addToParent(new lS(o,new j(n.start,i.end,n.fullStart,n.details),r))}}_closeVoidElement(){let t=this._getContainer();t instanceof tr&&this.getTagDefinition(t.name).isVoid&&this._containerStack.pop()}_consumeStartTag(t){let[r,n]=t.parts,o=[];for(;14===this._peek.type;)o.push(this._consumeAttr(this._advance()));let i=this._getElementFullName(r,n,this._getClosestParentElement()),l=!1;if(2===this._peek.type){this._advance(),l=!0;let v=this.getTagDefinition(i);this.canSelfClose||v.canSelfClose||null!==ki(i)||v.isVoid||this.errors.push(Ae.create(i,t.sourceSpan,`Only void, custom and foreign elements can be self closed "${t.parts[1]}"`))}else 1===this._peek.type&&(this._advance(),l=!1);let u=this._peek.sourceSpan.fullStart,c=new j(t.sourceSpan.start,u,t.sourceSpan.fullStart),p=new j(t.sourceSpan.start,u,t.sourceSpan.fullStart),d=new j(t.sourceSpan.start.moveBy(1),t.sourceSpan.end),h=new tr(i,o,[],c,p,void 0,d),f=this._getContainer();this._pushContainer(h,f instanceof tr&&this.getTagDefinition(f.name).isClosedByChild(h.name)),l?this._popContainer(i,tr,c):4===t.type&&(this._popContainer(i,tr,null),this.errors.push(Ae.create(i,c,`Opening tag "${i}" not terminated.`)))}_pushContainer(t,r){r&&this._containerStack.pop(),this._addToParent(t),this._containerStack.push(t)}_consumeEndTag(t){let r=this.allowHtmComponentClosingTags&&0===t.parts.length?null:this._getElementFullName(t.parts[0],t.parts[1],this._getClosestParentElement());if(r&&this.getTagDefinition(r).isVoid)this.errors.push(Ae.create(r,t.sourceSpan,`Void elements do not have end tags "${t.parts[1]}"`));else if(!this._popContainer(r,tr,t.sourceSpan)){let n=`Unexpected closing tag "${r}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this.errors.push(Ae.create(r,t.sourceSpan,n))}}_popContainer(t,r,n){let o=!1;for(let i=this._containerStack.length-1;i>=0;i--){let l=this._containerStack[i];if(ki(l.name)?l.name===t:(null==t||l.name.toLowerCase()===t.toLowerCase())&&l instanceof r)return l.endSourceSpan=n,l.sourceSpan.end=null!==n?n.end:l.sourceSpan.end,this._containerStack.splice(i,this._containerStack.length-i),!o;(l instanceof yn||l instanceof tr&&!this.getTagDefinition(l.name).closedByParent)&&(o=!0)}return!1}_consumeAttr(t){let o,r=_i(t.parts[0],t.parts[1]),n=t.sourceSpan.end;15===this._peek.type&&(o=this._advance());let u,c,i="",l=[];if(16===this._peek.type)for(u=this._peek.sourceSpan,c=this._peek.sourceSpan.end;16===this._peek.type||17===this._peek.type||9===this._peek.type;){let d=this._advance();l.push(d),17===d.type?i+=d.parts.join("").replace(/&([^;]+);/g,O5):9===d.type?i+=d.parts[0]:i+=d.parts.join(""),c=n=d.sourceSpan.end}15===this._peek.type&&(c=n=this._advance().sourceSpan.end);let p=u&&c&&new j(o?.sourceSpan.start??u.start,c,o?.sourceSpan.fullStart??u.fullStart);return new pS(r,i,new j(t.sourceSpan.start,n,t.sourceSpan.fullStart),t.sourceSpan,p,l.length>0?l:void 0,void 0)}_consumeBlockOpen(t){let r=[];for(;28===this._peek.type;){let u=this._advance();r.push(new B5(u.parts[0],u.sourceSpan))}26===this._peek.type&&this._advance();let n=this._peek.sourceSpan.fullStart,o=new j(t.sourceSpan.start,n,t.sourceSpan.fullStart),i=new j(t.sourceSpan.start,n,t.sourceSpan.fullStart),l=new yn(t.parts[0],r,[],o,t.sourceSpan,i);this._pushContainer(l,!1)}_consumeBlockClose(t){this._popContainer(null,yn,t.sourceSpan)||this.errors.push(Ae.create(null,t.sourceSpan,'Unexpected closing block. The block may have been closed earlier. If you meant to write the } character, you should use the "}" HTML entity instead.'))}_consumeIncompleteBlock(t){let r=[];for(;28===this._peek.type;){let u=this._advance();r.push(new B5(u.parts[0],u.sourceSpan))}let n=this._peek.sourceSpan.fullStart,o=new j(t.sourceSpan.start,n,t.sourceSpan.fullStart),i=new j(t.sourceSpan.start,n,t.sourceSpan.fullStart),l=new yn(t.parts[0],r,[],o,t.sourceSpan,i);this._pushContainer(l,!1),this._popContainer(null,yn,null),this.errors.push(Ae.create(t.parts[0],o,`Incomplete block "${t.parts[0]}". If you meant to write the @ character, you should use the "@" HTML entity instead.`))}_consumeLet(t){let n,o,r=t.parts[0];if(31!==this._peek.type)return void this.errors.push(Ae.create(t.parts[0],t.sourceSpan,`Invalid @let declaration "${r}". Declaration must have a value.`));if(n=this._advance(),32!==this._peek.type)return void this.errors.push(Ae.create(t.parts[0],t.sourceSpan,`Unterminated @let declaration "${r}". Declaration must be terminated with a semicolon.`));o=this._advance();let i=o.sourceSpan.fullStart,l=new j(t.sourceSpan.start,i,t.sourceSpan.fullStart),u=t.sourceSpan.toString().lastIndexOf(r),c=t.sourceSpan.start.moveBy(u),p=new j(c,t.sourceSpan.end),d=new I5(r,n.parts[0],l,p,n.sourceSpan);this._addToParent(d)}_consumeIncompleteLet(t){let r=t.parts[0]??"",n=r?` "${r}"`:"";if(r.length>0){let o=t.sourceSpan.toString().lastIndexOf(r),i=t.sourceSpan.start.moveBy(o),l=new j(i,t.sourceSpan.end),u=new j(t.sourceSpan.start,t.sourceSpan.start.moveBy(0)),c=new I5(r,"",t.sourceSpan,l,u);this._addToParent(c)}this.errors.push(Ae.create(t.parts[0],t.sourceSpan,`Incomplete @let declaration${n}. @let declarations must be written as \`@let = ;\``))}_getContainer(){return this._containerStack.length>0?this._containerStack[this._containerStack.length-1]:null}_getClosestParentElement(){for(let t=this._containerStack.length-1;t>-1;t--)if(this._containerStack[t]instanceof tr)return this._containerStack[t];return null}_addToParent(t){let r=this._getContainer();null===r?this.rootNodes.push(t):r.children.push(t)}_getElementFullName(t,r,n){if(""===t&&(""===(t=this.getTagDefinition(r).implicitNamespacePrefix||"")&&null!=n)){let o=Qi(n.name)[1];this.getTagDefinition(o).preventNamespaceInheritance||(t=ki(n.name))}return _i(t,r)}},"t"),IS=kr,a($5,"zs"),a(O5,"Gs"),a(Zn=class extends BS{constructor(){super(Zu)}parse(t,r,n,o=!1,i){return super.parse(t,r,n,o,i)}},"sr"),MS=Zn,Uu=null,_S=a((()=>(Uu||(Uu=new MS),Uu)),"Eo"),a(N5,"zr"),a(PS,"Ao"),HS=PS,ha=3,a(zS,"Do"),a($S,"vo"),OS=$S,Fi={attrs:!0,children:!0,cases:!0,expression:!0},j5=new Set(["parent"]),a(vt=class{constructor(t={}){for(let r of new Set([...j5,...Object.keys(t)]))this.setProperty(r,t[r])}setProperty(t,r){if(this[t]!==r){if(t in Fi&&(r=r.map((n=>this.createChild(n)))),!j5.has(t))return void(this[t]=r);Object.defineProperty(this,t,{value:r,enumerable:!1,configurable:!0})}}map(t){let r;for(let n in Fi){let o=this[n];if(o){let i=jS(o,(l=>l.map(t)));r!==o&&(r||(r=new vt({parent:this.parent})),r.setProperty(n,i))}}if(r)for(let n in this)n in Fi||(r[n]=this[n]);return t(r||this)}walk(t){for(let r in Fi){let n=this[r];if(n)for(let o=0;o[t.fullName,t.value])))}},"t"),NS=vt,a(jS,"yo"),VS=[{regex:/^(\[if([^\]]*)\]>)(.*?)"html"!==e.toLowerCase()&&!r&&("template"!==e||n.some((({name:o,value:i})=>"lang"===o&&"html"!==i&&""!==i&&void 0!==i)))}),rR=el({name:"lwc",canSelfClose:!1}),nR={html:XE},I2=G5}));function _t(){}function vR(e,t,r,n,o){for(var l,i=[];t;)i.push(t),l=t.previousComponent,delete t.previousComponent,t=l;i.reverse();for(var u=0,c=i.length,p=0,d=0;um.length?y:m})),h.value=e.join(v)}else h.value=e.join(r.slice(p,p+h.count));p+=h.count,h.added||(d+=h.count)}}var b=i[c-1];return c>1&&"string"==typeof b.value&&(b.added||b.removed)&&e.equals("",b.value)&&(i[c-2].value+=b.value,i.pop()),i}function rl(e){return(rl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?a((function(t){return typeof t}),"$e"):a((function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t}),"$e"))(e)}function Rc(e,t,r,n,o){var i,l;for(t=t||[],r=r||[],n&&(e=n(o,e)),i=0;i=0?"\n"===e.charAt(t+1)?"crlf":"cr":"lf"}function Hc(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}}function gm(e,t){let r;switch(t){case"\n":r=/\n/gu;break;case"\r":r=/\r/gu;break;case"\r\n":r=/\r\n/gu;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(t)}.`)}let n=e.match(r);return n?n.length:0}function CR(e){return cl(!1,e,/\r\n?/gu,"\n")}function ER(e){if("string"==typeof e)return Or;if(Array.isArray(e))return Mt;if(!e)return;let{type:t}=e;return vm.has(t)?t:void 0}function RR(e){let t=null===e?"null":typeof e;if("string"!==t&&"object"!==t)return`Unexpected doc '${t}', \nExpected it to be 'string' or 'object'.`;if(jr(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if("[object Object]"!==r)return`Unexpected doc '${r}'.`;let n=SR([...vm].map((o=>`'${o}'`)));return`Unexpected doc.type '${e.type}'.\nExpected it to be ${n}.`}function FR(e,t,r,n){let o=[e];for(;o.length>0;){let i=o.pop();if(i===H2){r(o.pop());continue}r&&o.push(i,H2);let l=jr(i);if(!l)throw new xo(i);if(!1!==t?.(i))switch(l){case Mt:case xt:{let u=l===Mt?i:i.parts;for(let p=u.length-1;p>=0;--p)o.push(u[p]);break}case Ne:o.push(i.flatContents,i.breakContents);break;case He:if(n&&i.expandedStates)for(let c=i.expandedStates.length-1;c>=0;--c)o.push(i.expandedStates[c]);else o.push(i.contents);break;case Ht:case Pt:case $t:case Ct:case Ot:o.push(i.contents);break;case Or:case Nr:case zt:case Nt:case De:case Ye:break;default:throw new xo(i)}}}function il(e){return Dt(e),{type:Pt,contents:e}}function Co(e,t){return Dt(t),{type:Ht,contents:t,n:e}}function bm(e,t={}){return Dt(e),$c(t.expandedStates,!0),{type:He,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function kR(e){return Co(Number.NEGATIVE_INFINITY,e)}function TR(e){return Co({type:"root"},e)}function LR(e){return Co(-1,e)}function BR(e,t){return bm(e[0],{...t,expandedStates:e})}function ym(e){return $c(e),{type:xt,parts:e}}function IR(e,t="",r={}){return Dt(e),""!==t&&Dt(t),{type:Ne,breakContents:e,flatContents:t,groupId:r.groupId}}function MR(e,t){return Dt(e),{type:$t,contents:e,groupId:t.groupId,negate:t.negate}}function Ac(e){return Dt(e),{type:Ot,contents:e}}function Em(e,t){Dt(e),$c(t);let r=[];for(let n=0;n0){for(let o=0;o0?`, { ${d.join(", ")} }`:"";return`indentIfBreak(${n(i.contents)}${h})`}if(i.type===He){let d=[];i.break&&"propagated"!==i.break&&d.push("shouldBreak: true"),i.id&&d.push(`id: ${o(i.id)}`);let h=d.length>0?`, { ${d.join(", ")} }`:"";return i.expandedStates?`conditionalGroup([${i.expandedStates.map((f=>n(f))).join(",")}]${h})`:`group(${n(i.contents)}${h})`}if(i.type===xt)return`fill([${i.parts.map((d=>n(d))).join(", ")}])`;if(i.type===Ot)return"lineSuffix("+n(i.contents)+")";if(i.type===Nt)return"lineSuffixBoundary";if(i.type===Ct)return`label(${JSON.stringify(i.label)}, ${n(i.contents)})`;throw new Error("Unknown doc type "+i.type)}(It(e));function o(i){if("symbol"!=typeof i)return JSON.stringify(String(i));if(i in t)return t[i];let l=i.description||"symbol";for(let u=0;;u++){let c=l+(u>0?` #${u}`:"");if(!r.has(c))return r.add(c),t[i]=`Symbol.for(${JSON.stringify(c)})`}}}function jR(e){return 12288===e||e>=65281&&e<=65376||e>=65504&&e<=65510}function VR(e){return e>=4352&&e<=4447||8986===e||8987===e||9001===e||9002===e||e>=9193&&e<=9196||9200===e||9203===e||9725===e||9726===e||9748===e||9749===e||e>=9800&&e<=9811||9855===e||9875===e||9889===e||9898===e||9899===e||9917===e||9918===e||9924===e||9925===e||9934===e||9940===e||9962===e||9970===e||9971===e||9973===e||9978===e||9981===e||9989===e||9994===e||9995===e||10024===e||10060===e||10062===e||e>=10067&&e<=10069||10071===e||e>=10133&&e<=10135||10160===e||10175===e||11035===e||11036===e||11088===e||11093===e||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12771||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||94192===e||94193===e||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101632&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||110589===e||110590===e||e>=110592&&e<=110882||110898===e||e>=110928&&e<=110930||110933===e||e>=110948&&e<=110951||e>=110960&&e<=111355||126980===e||127183===e||127374===e||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||127568===e||127569===e||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||127988===e||e>=127992&&e<=128062||128064===e||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||128378===e||128405===e||128406===e||128420===e||e>=128507&&e<=128591||e>=128640&&e<=128709||128716===e||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||128747===e||128748===e||e>=128756&&e<=128764||e>=128992&&e<=129003||129008===e||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129672||e>=129680&&e<=129725||e>=129727&&e<=129733||e>=129742&&e<=129755||e>=129760&&e<=129768||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}function UR(e){if(!e)return 0;if(!WR.test(e))return e.length;e=e.replace(NR()," ");let t=0;for(let r of e){let n=r.codePointAt(0);n<=31||n>=127&&n<=159||n>=768&&n<=879||(t+=qR(n)?1:2)}return t}function dl(e,t){if("string"==typeof e)return t(e);let r=new Map;return n(e);function n(i){if(r.has(i))return r.get(i);let l=function o(i){switch(jr(i)){case Mt:return t(i.map(n));case xt:return t({...i,parts:i.parts.map(n)});case Ne:return t({...i,breakContents:n(i.breakContents),flatContents:n(i.flatContents)});case He:{let{expandedStates:l,contents:u}=i;return l?(l=l.map(n),u=l[0]):u=n(u),t({...i,contents:u,expandedStates:l})}case Ht:case Pt:case $t:case Ct:case Ot:return t({...i,contents:n(i.contents)});case Or:case Nr:case zt:case Nt:case De:case Ye:return t(i);default:throw new xo(i)}}(i);return r.set(i,l),l}}function jc(e,t,r){let n=r,o=!1;function i(l){if(o)return!1;let u=t(l);void 0!==u&&(o=!0,n=u)}return a(i,"u"),zc(e,i),n}function GR(e){if(e.type===He&&e.break||e.type===De&&e.hard||e.type===Ye)return!0}function XR(e){return jc(e,GR,!1)}function z2(e){if(e.length>0){let t=he(!1,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function YR(e){let t=new Set,r=[];function n(i){if(i.type===Ye&&z2(r),i.type===He){if(r.push(i),t.has(i))return!1;t.add(i)}}function o(i){i.type===He&&r.pop().break&&z2(r)}a(n,"n"),a(o,"o"),zc(e,n,o,!0)}function KR(e){return e.type!==De||e.hard?e.type===Ne?e.flatContents:e:e.soft?"":" "}function ZR(e){return dl(e,KR)}function $2(e){for(e=[...e];e.length>=2&&he(!1,e,-2).type===De&&he(!1,e,-1).type===Ye;)e.length-=2;if(e.length>0){let t=Aa(he(!1,e,-1));e[e.length-1]=t}return e}function Aa(e){switch(jr(e)){case Pt:case $t:case He:case Ot:case Ct:{let t=Aa(e.contents);return{...e,contents:t}}case Ne:return{...e,breakContents:Aa(e.breakContents),flatContents:Aa(e.flatContents)};case xt:return{...e,parts:$2(e.parts)};case Mt:return $2(e);case Or:return e.replace(/[\n\r]*$/u,"");case Ht:case Nr:case zt:case Nt:case De:case Ye:break;default:throw new xo(e)}return e}function Rm(e){return Aa(QR(e))}function JR(e){switch(jr(e)){case xt:if(e.parts.every((t=>""===t)))return"";break;case He:if(!(e.contents||e.id||e.break||e.expandedStates))return"";if(e.contents.type===He&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case Ht:case Pt:case $t:case Ot:if(!e.contents)return"";break;case Ne:if(!e.flatContents&&!e.breakContents)return"";break;case Mt:{let t=[];for(let r of e){if(!r)continue;let[n,...o]=Array.isArray(r)?r:[r];"string"==typeof n&&"string"==typeof he(!1,t,-1)?t[t.length-1]+=n:t.push(n),t.push(...o)}return 0===t.length?"":1===t.length?t[0]:t}case Or:case Nr:case zt:case Nt:case De:case Ct:case Ye:break;default:throw new xo(e)}return e}function QR(e){return dl(e,(t=>JR(t)))}function eA(e,t=Cm){return dl(e,(r=>"string"==typeof r?Em(t,r.split("\n")):r))}function tA(e){if(e.type===De)return!0}function rA(e){return jc(e,tA,!1)}function Am(e,t){return e.type===Ct?{...e,contents:t(e.contents)}:t(e)}function Fm(){return{value:"",length:0,queue:[]}}function nA(e,t){return kc(e,{type:"indent"},t)}function oA(e,t,r){return t===Number.NEGATIVE_INFINITY?e.root||{value:"",length:0,queue:[]}:t<0?kc(e,{type:"dedent"},r):t?"root"===t.type?{...e,root:e}:kc(e,{type:"string"==typeof t?"stringAlign":"numberAlign",n:t},r):e}function kc(e,t,r){let n="dedent"===t.type?e.queue.slice(0,-1):[...e.queue,t],o="",i=0,l=0,u=0;for(let b of n)switch(b.type){case"indent":d(),r.useTabs?c(1):p(r.tabWidth);break;case"stringAlign":d(),o+=b.n,i+=b.n.length;break;case"numberAlign":l+=1,u+=b.n;break;default:throw new Error(`Unexpected type '${b.type}'`)}return f(),{...e,value:o,length:i,queue:n};function c(b){o+="\t".repeat(b),i+=r.tabWidth*b}function p(b){o+=" ".repeat(b),i+=b}function d(){r.useTabs?function h(){l>0&&c(l),v()}():f()}function f(){u>0&&p(u),v()}function v(){l=0,u=0}}function Tc(e){let t=0,r=0,n=e.length;e:for(;n--;){let o=e[n];if(o!==Fa)for(let i=o.length-1;i>=0;i--){let l=o[i];if(" "!==l&&"\t"!==l){e[n]=o.slice(0,i+1);break e}t++}else r++}if(t>0||r>0)for(e.length=n+1;r-- >0;)e.push(Fa);return t}function tl(e,t,r,n,o,i){if(r===Number.POSITIVE_INFINITY)return!0;let l=t.length,u=[e],c=[];for(;r>=0;){if(0===u.length){if(0===l)return!0;u.push(t[--l]);continue}let{mode:p,doc:d}=u.pop(),h=jr(d);switch(h){case Or:c.push(d),r-=Nc(d);break;case Mt:case xt:{let f=h===Mt?d:d.parts;for(let v=f.length-1;v>=0;v--)u.push({mode:p,doc:f[v]});break}case Pt:case Ht:case $t:case Ct:u.push({mode:p,doc:d.contents});break;case zt:r+=Tc(c);break;case He:{if(i&&d.break)return!1;let f=d.break?Pe:p,v=d.expandedStates&&f===Pe?he(!1,d.expandedStates,-1):d.contents;u.push({mode:f,doc:v});break}case Ne:{let f=(d.groupId?o[d.groupId]||yt:p)===Pe?d.breakContents:d.flatContents;f&&u.push({mode:p,doc:f});break}case De:if(p===Pe||d.hard)return!0;d.soft||(c.push(" "),r--);break;case Ot:n=!0;break;case Nt:if(n)return!1}}return!1}function fl(e,t){let r={},n=t.printWidth,o=Hc(t.endOfLine),i=0,l=[{ind:{value:"",length:0,queue:[]},mode:Pe,doc:e}],u=[],c=!1,p=[],d=0;for(YR(e);l.length>0;){let{ind:f,mode:v,doc:b}=l.pop();switch(jr(b)){case Or:{let m="\n"!==o?cl(!1,b,"\n",o):b;u.push(m),l.length>0&&(i+=Nc(m));break}case Mt:for(let m=b.length-1;m>=0;m--)l.push({ind:f,mode:v,doc:b[m]});break;case Nr:if(d>=2)throw new Error("There are too many 'cursor' in doc.");u.push(Fa),d++;break;case Pt:l.push({ind:nA(f,t),mode:v,doc:b.contents});break;case Ht:l.push({ind:oA(f,b.n,t),mode:v,doc:b.contents});break;case zt:i-=Tc(u);break;case He:switch(v){case yt:if(!c){l.push({ind:f,mode:b.break?Pe:yt,doc:b.contents});break}case Pe:{c=!1;let m={ind:f,mode:yt,doc:b.contents},g=n-i,y=p.length>0;if(!b.break&&tl(m,l,g,y,r))l.push(m);else if(b.expandedStates){let w=he(!1,b.expandedStates,-1);if(b.break){l.push({ind:f,mode:Pe,doc:w});break}for(let D=1;D=b.expandedStates.length){l.push({ind:f,mode:Pe,doc:w});break}{let x=b.expandedStates[D],C={ind:f,mode:yt,doc:x};if(tl(C,l,g,y,r)){l.push(C);break}}}}else l.push({ind:f,mode:Pe,doc:b.contents});break}}b.id&&(r[b.id]=he(!1,l,-1).mode);break;case xt:{let m=n-i,{parts:g}=b;if(0===g.length)break;let[y,w]=g,D={ind:f,mode:yt,doc:y},x={ind:f,mode:Pe,doc:y},C=tl(D,[],m,p.length>0,r,!0);if(1===g.length){C?l.push(D):l.push(x);break}let E={ind:f,mode:yt,doc:w},S={ind:f,mode:Pe,doc:w};if(2===g.length){C?l.push(E,D):l.push(S,x);break}g.splice(0,2);let R={ind:f,mode:v,doc:ym(g)},A=g[0];tl({ind:f,mode:yt,doc:[y,w,A]},[],m,p.length>0,r,!0)?l.push(R,E,D):C?l.push(R,S,D):l.push(R,S,x);break}case Ne:case $t:{let m=b.groupId?r[b.groupId]:v;if(m===Pe){let g=b.type===Ne?b.breakContents:b.negate?b.contents:il(b.contents);g&&l.push({ind:f,mode:v,doc:g})}if(m===yt){let g=b.type===Ne?b.flatContents:b.negate?il(b.contents):b.contents;g&&l.push({ind:f,mode:v,doc:g})}break}case Ot:p.push({ind:f,mode:v,doc:b.contents});break;case Nt:p.length>0&&l.push({ind:f,mode:v,doc:Oc});break;case De:switch(v){case yt:if(!b.hard){b.soft||(u.push(" "),i+=1);break}c=!0;case Pe:if(p.length>0){l.push({ind:f,mode:v,doc:b},...p.reverse()),p.length=0;break}b.literal?f.root?(u.push(o,f.root.value),i=f.root.length):(u.push(o),i=0):(i-=Tc(u),u.push(o+f.value),i=f.length)}break;case Ct:l.push({ind:f,mode:v,doc:b.contents});break;case Ye:break;default:throw new xo(b)}0===l.length&&p.length>0&&(l.push(...p.reverse()),p.length=0)}let h=u.indexOf(Fa);if(-1!==h){let f=u.indexOf(Fa,h+1),v=u.slice(0,h).join(""),b=u.slice(h+1,f).join("");return{formatted:v+b+u.slice(f+1).join(""),cursorNodeStart:v.length,cursorNodeText:b}}return{formatted:u.join("")}}function aA(e,t,r=0){let n=0;for(let o=r;o!0),"n")}=t,o=a((i=>uA(i)&&n(i)),"o");for(let i of r(e)){let l=e[i];if(Array.isArray(l))for(let u of l)o(u)&&(yield u);else o(l)&&(yield l)}}function*cA(e,t){let r=[e];for(let n=0;n{let o=!(null==n||!n.backwards);if(!1===r)return!1;let{length:i}=t,l=r;for(;l>=0&&l0}function vA(e){return e?t=>e(t,Im):gA}function wA(e){let t=e.type||e.kind||"(unknown type)",r=String(e.name||e.id&&("object"==typeof e.id?e.id.name:e.id)||e.key&&("object"==typeof e.key?e.key.name:e.key)||e.value&&("object"==typeof e.value?"":String(e.value))||e.operator||"");return r.length>20&&(r=r.slice(0,19)+"…"),t+(r?" "+r:"")}function qc(e,t){(e.comments??(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=wA(e)}function no(e,t){t.leading=!0,t.trailing=!1,qc(e,t)}function Pr(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),qc(e,t)}function oo(e,t){t.leading=!1,t.trailing=!0,qc(e,t)}function Wc(e,t){if(yc.has(e))return yc.get(e);let{printer:{getCommentChildNodes:r,canAttachComment:n,getVisitorKeys:o},locStart:i,locEnd:l}=t;if(!n)return[];let u=(r?.(e,t)??[...Tm(e,{getVisitorKeys:hl(o)})]).flatMap((c=>n(c)?[c]:Wc(c,t)));return u.sort(((c,p)=>i(c)-i(p)||l(c)-l(p))),yc.set(e,u),u}function Mm(e,t,r,n){let p,d,{locStart:o,locEnd:i}=r,l=o(t),u=i(t),c=Wc(e,r),h=0,f=c.length;for(;h>1,b=c[v],m=o(b),g=i(b);if(m<=l&&u<=g)return Mm(b,t,r,b);if(g<=l)p=b,h=v+1;else{if(!(u<=m))throw new Error("Comment location overlaps with node location");d=b,f=v}}if("TemplateLiteral"===n?.type){let{quasis:v}=n,b=xc(v,t,r);p&&xc(v,p,r)!==b&&(p=null),d&&xc(v,d,r)!==b&&(d=null)}return{enclosingNode:n,precedingNode:p,followingNode:d}}function bA(e,t){let{comments:r}=e;if(delete e.comments,!mA(r)||!t.printer.canAttachComment)return;let n=[],{locStart:o,locEnd:i,printer:{experimentalFeatures:{avoidAstMutation:l=!1}={},handleComments:u={}},originalText:c}=t,{ownLine:p=Dc,endOfLine:d=Dc,remaining:h=Dc}=u,f=r.map(((v,b)=>({...Mm(e,v,t),comment:v,text:c,options:t,ast:e,isLastComment:r.length-1===b})));for(let[v,b]of f.entries()){let S,{comment:m,precedingNode:g,enclosingNode:y,followingNode:w,text:D,options:x,ast:C,isLastComment:E}=b;if("json"===x.parser||"json5"===x.parser||"jsonc"===x.parser||"__js_expression"===x.parser||"__ts_expression"===x.parser||"__vue_expression"===x.parser||"__vue_ts_expression"===x.parser){if(o(m)-o(C)<=0){no(C,m);continue}if(i(m)-i(C)>=0){oo(C,m);continue}}if(l?S=[b]:(m.enclosingNode=y,m.precedingNode=g,m.followingNode=w,S=[m,D,x,C,E]),yA(D,x,f,v))m.placement="ownLine",p(...S)||(w?no(w,m):g?oo(g,m):Pr(y||C,m));else if(DA(D,x,f,v))m.placement="endOfLine",d(...S)||(g?oo(g,m):w?no(w,m):Pr(y||C,m));else if(m.placement="remaining",!h(...S))if(g&&w){let R=n.length;R>0&&n[R-1].followingNode!==w&&O2(n,x),n.push(b)}else g?oo(g,m):w?no(w,m):Pr(y||C,m)}if(O2(n,t),!l)for(let v of r)delete v.precedingNode,delete v.enclosingNode,delete v.followingNode}function yA(e,t,r,n){let{comment:o,precedingNode:i}=r[n],{locStart:l,locEnd:u}=t,c=l(o);if(i)for(let p=n-1;p>=0;p--){let{comment:d,precedingNode:h}=r[p];if(h!==i||!_m(e.slice(u(d),c)))break;c=l(d)}return ar(e,c,{backwards:!0})}function DA(e,t,r,n){let{comment:o,followingNode:i}=r[n],{locStart:l,locEnd:u}=t,c=u(o);if(i)for(let p=n+1;p0;--c){let{comment:p,precedingNode:d,followingNode:h}=e[c-1];Bc.strictEqual(d,i),Bc.strictEqual(h,l);let f=t.originalText.slice(t.locEnd(p),u);if(!((null==(n=(r=t.printer).isGap)?void 0:n.call(r,f,t))??/^[\s(]*$/u.test(f)))break;u=t.locStart(p)}for(let[p,{comment:d}]of e.entries())p1&&p.comments.sort(((d,h)=>t.locStart(d)-t.locStart(h)));e.length=0}function xc(e,t,r){let n=r.locStart(t)-1;for(let o=1;o!n.has(u))).length)return{leading:"",trailing:""};let l,o=[],i=[];return e.each((()=>{let u=e.node;if(null!=n&&n.has(u))return;let{leading:c,trailing:p}=u;c?o.push(CA(e,t)):p&&(l=EA(e,t,l),i.push(l.doc))}),"comments"),{leading:o,trailing:i}}function RA(e,t,r){let{leading:n,trailing:o}=SA(e,r);return n||o?Am(t,(i=>[n,i,o])):t}function AA(e){let{[Symbol.for("comments")]:t,[Symbol.for("printedComments")]:r}=e;for(let n of t){if(!n.printed&&!r.has(n))throw new Error('Comment "'+n.value.trim()+'" was not printed. Please report this error!');delete n.printed}}function FA(e){return()=>{}}function zm({plugins:e=[],showDeprecated:t=!1}={}){let r=e.flatMap((o=>o.languages??[])),n=[];for(let o of BA(Object.assign({},...e.map((({options:i})=>i)),TA)))!t&&o.deprecated||(Array.isArray(o.choices)&&(t||(o.choices=o.choices.filter((i=>!i.deprecated))),"parser"===o.name&&(o.choices=[...o.choices,...LA(o.choices,r,e)])),o.pluginDefaults=Object.fromEntries(e.filter((i=>{var l;return void 0!==(null==(l=i.defaultOptions)?void 0:l[o.name])})).map((i=>[i.name,i.defaultOptions[o.name]]))),n.push(o));return{languages:r,options:n}}function*LA(e,t,r){let n=new Set(e.map((o=>o.value)));for(let o of t)if(o.parsers)for(let i of o.parsers)if(!n.has(i)){n.add(i);let l=r.find((c=>c.parsers&&Object.prototype.hasOwnProperty.call(c.parsers,i))),u=o.name;null!=l&&l.name&&(u+=` (plugin: ${l.name})`),yield{value:i,description:u}}}function BA(e){let t=[];for(let[r,n]of Object.entries(e)){let o={name:r,...n};Array.isArray(o.default)&&(o.default=he(!1,o.default,-1).value),t.push(o)}return t}function j2(e,t){if(!t)return;let r=IA(t).toLowerCase();return e.find((({filenames:n})=>n?.some((o=>o.toLowerCase()===r))))??e.find((({extensions:n})=>n?.some((o=>r.endsWith(o)))))}function MA(e,t){if(t)return e.find((({name:r})=>r.toLowerCase()===t))??e.find((({aliases:r})=>r?.includes(t)))??e.find((({extensions:r})=>r?.includes(`.${t}`)))}function _A(e,t){let r=e.plugins.flatMap((o=>o.languages??[])),n=MA(r,t.language)??j2(r,t.physicalFile)??j2(r,t.file)??void t.physicalFile;return n?.parsers[0]}function W2(e,t,r,n){return[`Invalid ${io.default.red(n.key(e))} value.`,`Expected ${io.default.blue(r)},`,`but received ${t===$m?io.default.gray("nothing"):io.default.red(n.value(t))}.`].join(" ")}function Om({text:e,list:t},r){let n=[];return e&&n.push(`- ${io.default.blue(e)}`),t&&n.push([`- ${io.default.blue(t.title)}:`].concat(t.values.map((o=>Om(o,r-q2.length).replace(/^|\n/g,`$&${q2}`)))).join("\n")),Nm(n,r)}function Nm(e,t){if(1===e.length)return e[0];let[r,n]=e,[o,i]=e.map((l=>l.split("\n",1)[0].length));return o>t&&o>i?n:r}function $A(e,t){if(e===t)return 0;let r=e;e.length>t.length&&(e=t,t=r);let n=e.length,o=t.length;for(;n>0&&e.charCodeAt(~-n)===t.charCodeAt(~-o);)n--,o--;let i=0;for(;iu?p>u?u+1:p:p>c?c+1:p;return u}function NA(e,t){let r=new e(t),n=Object.create(r);for(let o of OA)o in t&&(n[o]=jA(t[o],r,lr.prototype[o].length));return n}function jA(e,t,r){return"function"==typeof e?(...n)=>e(...n.slice(0,r-1),t,...n.slice(r-1)):()=>e}function X2({from:e,to:t}){return{from:[e],to:t}}function GA(e,t){let r=Object.create(null);for(let n of e){let o=n[t];if(r[o])throw new Error(`Duplicate ${t} ${JSON.stringify(o)}`);r[o]=n}return r}function XA(e,t){let r=new Map;for(let n of e){let o=n[t];if(r.has(o))throw new Error(`Duplicate ${t} ${JSON.stringify(o)}`);r.set(o,n)}return r}function YA(){let e=Object.create(null);return t=>{let r=JSON.stringify(t);return!!e[r]||(e[r]=!0,!1)}}function KA(e,t){let r=[],n=[];for(let o of e)t(o)?r.push(o):n.push(o);return[r,n]}function ZA(e){return e===Math.floor(e)}function JA(e,t){if(e===t)return 0;let r=typeof e,n=typeof t,o=["undefined","object","boolean","number","string"];return r!==n?o.indexOf(r)-o.indexOf(n):"string"!==r?Number(e)-Number(t):e.localeCompare(t)}function QA(e){return(...t)=>{let r=e(...t);return"string"==typeof r?new Error(r):r}}function Y2(e){return void 0===e?{}:e}function Vm(e){if("string"==typeof e)return{text:e};let{text:t,list:r}=e;return eF(void 0!==(t||r),"Unexpected `expected` result, there should be at least one field."),r?{text:t,list:{title:r.title,values:r.values.map(Vm)}}:{text:t}}function K2(e,t){return!0===e||(!1===e?{value:t}:e)}function Z2(e,t,r=!1){return!1!==e&&(!0===e?!!r||[{value:t}]:"value"in e?[e]:0!==e.length&&e)}function J2(e,t){return"string"==typeof e||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function Ic(e,t){return void 0===e?[]:Array.isArray(e)?e.map((r=>J2(r,t))):[J2(e,t)]}function Q2(e,t){let r=Ic("object"==typeof e&&"redirect"in e?e.redirect:e,t);return 0===r.length?{remain:t,redirect:r}:"object"==typeof e&&"remain"in e?{remain:e.remain,redirect:r}:{redirect:r}}function eF(e,t){if(!e)throw new Error(t)}function uF(e,t,{logger:r=!1,isCLI:n=!1,passThrough:o=!1,FlagSchema:i,descriptor:l}={}){if(n){if(!i)throw new Error("'FlagSchema' option is required.");if(!l)throw new Error("'descriptor' option is required.")}else l=ao;let u=o?Array.isArray(o)?(f,v)=>o.includes(f)?{[f]:v}:void 0:(f,v)=>({[f]:v}):(f,v,b)=>{let{_:m,...g}=b.schemas;return jm(f,v,{...b,schemas:g})},c=cF(t,{isCLI:n,FlagSchema:i}),p=new sF(c,{logger:r,unknown:u,descriptor:l}),d=!1!==r;d&&Ec&&(p._hasDeprecationWarned=Ec);let h=p.normalize(e);return d&&(Ec=p._hasDeprecationWarned),h}function cF(e,{isCLI:t,FlagSchema:r}){let n=[];t&&n.push(qA.create({name:"_"}));for(let o of e)n.push(pF(o,{isCLI:t,optionInfos:e,FlagSchema:r})),o.alias&&t&&n.push(VA.create({name:o.alias,sourceName:o.name}));return n}function pF(e,{isCLI:t,optionInfos:r,FlagSchema:n}){let l,{name:o}=e,i={name:o},u={};switch(e.type){case"int":l=nF,t&&(i.preprocess=Number);break;case"string":case"path":l=em;break;case"choice":l=tF,i.choices=e.choices.map((c=>null!=c&&c.redirect?{...c,redirect:{to:{key:e.name,value:c.redirect}}}:c));break;case"boolean":l=UA;break;case"flag":l=n,i.flags=r.flatMap((c=>[c.alias,c.description&&c.name,c.oppositeDescription&&`no-${c.name}`].filter(Boolean)));break;default:throw new Error(`Unexpected type ${e.type}`)}if(e.exception?i.validate=(c,p,d)=>e.exception(c)||p.validate(c,d):i.validate=(c,p,d)=>void 0===c||p.validate(c,d),e.redirect&&(u.redirect=c=>c?{to:"string"==typeof e.redirect?e.redirect:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(u.deprecated=!0),t&&!e.array){let c=i.preprocess||(p=>p);i.preprocess=(p,d,h)=>d.preprocess(c(Array.isArray(p)?he(!1,p,-1):p),h)}return e.array?WA.create({...t?{preprocess:a((c=>Array.isArray(c)?c:[c]),"preprocess")}:{},...u,valueSchema:l.create(i)}):l.create({...i,...u})}function Wm(e,t){if(!t)throw new Error("parserName is required.");let r=qm(!1,e,(o=>o.parsers&&Object.prototype.hasOwnProperty.call(o.parsers,t)));if(r)return r;let n=`Couldn't resolve parser "${t}".`;throw n+=" Plugins must be explicitly added to the standalone bundle.",new Hm(n)}function hF(e,t){if(!t)throw new Error("astFormat is required.");let r=qm(!1,e,(o=>o.printers&&Object.prototype.hasOwnProperty.call(o.printers,t)));if(r)return r;let n=`Couldn't find plugin for AST format "${t}".`;throw n+=" Plugins must be explicitly added to the standalone bundle.",new Hm(n)}function Um({plugins:e,parser:t}){return Gm(Wm(e,t),t)}function Gm(e,t){let r=e.parsers[t];return"function"==typeof r?r():r}function mF(e,t){let r=e.printers[t];return"function"==typeof r?r():r}async function gF(e,t={}){var r;let n={...e};if(!n.parser){if(!n.filepath)throw new N2("No parser and no file path given, couldn't infer a parser.");if(n.parser=PA(n,{physicalFile:n.filepath}),!n.parser)throw new N2(`No parser could be inferred for file "${n.filepath}".`)}let o=zm({plugins:e.plugins,showDeprecated:!0}).options,i={...tm,...Object.fromEntries(o.filter((f=>void 0!==f.default)).map((f=>[f.name,f.default])))},l=Wm(n.plugins,n.parser),u=await Gm(l,n.parser);n.astFormat=u.astFormat,n.locEnd=u.locEnd,n.locStart=u.locStart;let c=null!=(r=l.printers)&&r[u.astFormat]?l:hF(n.plugins,u.astFormat),p=await mF(c,u.astFormat);n.printer=p;let h={...i,...c.defaultOptions?Object.fromEntries(Object.entries(c.defaultOptions).filter((([,f])=>void 0!==f))):{}};for(let[f,v]of Object.entries(h))(null===n[f]||void 0===n[f])&&(n[f]=v);return"json"===n.parser&&(n.trailingComma="none"),dF(n,o,{passThrough:Object.keys(tm),...t})}async function wF(e,t){let o,r=await Um(t),n=r.preprocess?r.preprocess(e,t):e;t.originalText=n;try{o=await r.parse(n,t,t)}catch(i){bF(i,e)}return{text:n,ast:o}}function bF(e,t){let{loc:r}=e;if(r){let n=(0,vF.codeFrameColumns)(t,r,{highlightCode:!0});throw e.message+="\n"+n,e.codeFrame=n,e}throw e}async function yF(e,t,r,n,o){let{embeddedLanguageFormatting:i,printer:{embed:l,hasPrettierIgnore:u=a((()=>!1),"s"),getVisitorKeys:c}}=r;if(!l||"auto"!==i)return;if(l.length>2)throw new Error("printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/en/plugins.html#optional-embed");let p=hl(l.getVisitorKeys??c),d=[];v();let h=e.stack;for(let{print:b,node:m,pathStack:g}of d)try{e.stack=g;let y=await b(f,t,e,r);y&&o.set(m,y)}catch(y){if(globalThis.PRETTIER_DEBUG)throw y}function f(b,m){return DF(b,m,r,n)}function v(){let{node:b}=e;if(null===b||"object"!=typeof b||u(e))return;for(let g of p(b))Array.isArray(b[g])?e.each(v,g):e.call(v,g);let m=l(e,r);if(m){if("function"==typeof m)return void d.push({print:m,node:b,pathStack:[...e.stack]});o.set(b,m)}}e.stack=h,a(f,"f"),a(v,"p")}async function DF(e,t,r,n){let o=await Eo({...r,...t,parentParser:r.parser,originalText:e},{passThrough:!0}),{ast:i}=await La(e,o);return Rm(await n(i,o))}function xF(e,t){let{originalText:r,[Symbol.for("comments")]:n,locStart:o,locEnd:i,[Symbol.for("printedComments")]:l}=t,{node:u}=e,c=o(u),p=i(u);for(let d of n)o(d)>=c&&i(d)<=p&&l.add(d);return r.slice(c,p)}async function ml(e,t){({ast:e}=await Xm(e,t));let r=new Map,n=new lA(e),o=kA(t),i=new Map;await yF(n,u,t,ml,i);let l=await rm(n,t,u,void 0,i);return AA(t),l;function u(p,d){return void 0===p||p===n?c(d):Array.isArray(p)?n.call((()=>c(d)),...p):n.call((()=>c(d)),p)}function c(p){o(n);let d=n.node;if(null==d)return"";let h=d&&"object"==typeof d&&void 0===p;if(h&&r.has(d))return r.get(d);let f=rm(n,t,u,p,i);return h&&r.set(d,f),f}}function rm(e,t,r,n,o){var i;let c,{node:l}=e,{printer:u}=t;return c=null!=(i=u.hasPrettierIgnore)&&i.call(u,e)?CF(e,t):o.has(l)?o.get(l):u.print(e,t,r,n),l===t.cursorNode&&(c=Am(c,(p=>[Fc,p,Fc]))),u.printComment&&(!u.willPrintOwnComments||!u.willPrintOwnComments(e,t))&&(c=RA(e,c,t)),c}async function Xm(e,t){let r=e.comments??[];t[Symbol.for("comments")]=r,t[Symbol.for("tokens")]=e.tokens??[],t[Symbol.for("printedComments")]=new Set,bA(e,t);let{printer:{preprocess:n}}=t;return{ast:e=n?await n(e,t):e,comments:r}}function EF(e,t){let{cursorOffset:r,locStart:n,locEnd:o}=t,i=hl(t.printer.getVisitorKeys),l=a((c=>n(c)<=r&&o(c)>=r),"i"),u=e;for(let c of cA(e,{getVisitorKeys:i,filter:l}))u=c;return u}function RF(e,t){let{printer:{massageAstNode:r,getVisitorKeys:n}}=t;if(!r)return e;let o=hl(n),i=r.ignoredProperties??new Set;return function l(u,c){if(null===u||"object"!=typeof u)return u;if(Array.isArray(u))return u.map((f=>l(f,c))).filter(Boolean);let p={},d=new Set(o(u));for(let f in u)!Object.prototype.hasOwnProperty.call(u,f)||i.has(f)||(d.has(f)?p[f]=l(u[f],u):p[f]=u[f]);let h=r(u,p,c);if(null!==h)return h??p}(e)}function LF(e,t){let r=[e.node,...e.parentNodes],n=new Set([t.node,...t.parentNodes]);return r.find((o=>Ym.has(o.type)&&n.has(o)))}function nm(e){let t=kF(!1,e,(r=>"Program"!==r.type&&"File"!==r.type));return-1===t?e:e.slice(0,t+1)}function BF(e,t,{locStart:r,locEnd:n}){let o=e.node,i=t.node;if(o===i)return{startNode:o,endNode:i};let l=r(e.node);for(let c of nm(t.parentNodes)){if(!(r(c)>=l))break;i=c}let u=n(t.node);for(let c of nm(e.parentNodes)){if(!(n(c)<=u))break;if(o=c,o===i)break}return{startNode:o,endNode:i}}function Mc(e,t,r,n,o=[],i){let{locStart:l,locEnd:u}=r,c=l(e),p=u(e);if(!(t>p||tn);let u=e.slice(n,o).search(/\S/u),c=-1===u;if(!c)for(n+=u;o>n&&!/\S/u.test(e[o-1]);--o);let h,f,p=Mc(r,n,t,((v,b)=>om(t,v,b)),[],"rangeStart"),d=c?p:Mc(r,o,t,(v=>om(t,v)),[],"rangeEnd");if(!p||!d)return{rangeStart:0,rangeEnd:0};if(TF(t)){let v=LF(p,d);h=v,f=v}else({startNode:h,endNode:f}=BF(p,d,t));return{rangeStart:Math.min(i(h),i(f)),rangeEnd:Math.max(l(h),l(f))}}async function Zm(e,t,r=0){if(!e||0===e.trim().length)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:n,text:o}=await La(e,t);t.cursorOffset>=0&&(t.cursorNode=SF(n,t));let i=await ml(n,t);r>0&&(i=Sm([zr,i],r,t.tabWidth));let l=fl(i,t);if(r>0){let c=l.formatted.trim();void 0!==l.cursorNodeStart&&(l.cursorNodeStart-=l.formatted.indexOf(c)),l.formatted=c+Hc(t.endOfLine)}let u=t[Symbol.for("comments")];if(t.cursorOffset>=0){let c,p,d,h,f;if(t.cursorNode&&l.cursorNodeText?(c=t.locStart(t.cursorNode),p=o.slice(c,t.locEnd(t.cursorNode)),d=t.cursorOffset-c,h=l.cursorNodeStart,f=l.cursorNodeText):(c=0,p=o,d=t.cursorOffset,h=0,f=l.formatted),p===f)return{formatted:l.formatted,cursorOffset:h+d,comments:u};let v=p.split("");v.splice(d,0,am);let m=DR(v,f.split("")),g=h;for(let y of m)if(y.removed){if(y.value.includes(am))break}else g+=y.count;return{formatted:l.formatted,cursorOffset:g,comments:u}}return{formatted:l.formatted,cursorOffset:-1,comments:u}}async function PF(e,t){let{ast:r,text:n}=await La(e,t),{rangeStart:o,rangeEnd:i}=_F(n,t,r),l=n.slice(o,i),u=Math.min(o,n.lastIndexOf("\n",o)+1),c=n.slice(u,o).match(/^\s*/u)[0],p=Vc(c,t.tabWidth),d=await Zm(l,{...t,rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>o&&t.cursorOffset<=i?t.cursorOffset-o:-1,endOfLine:"lf"},p),h=d.formatted.trimEnd(),{cursorOffset:f}=t;f>i?f+=h.length-l.length:d.cursorOffset>=0&&(f=d.cursorOffset+o);let v=n.slice(0,o)+h+n.slice(i);if("lf"!==t.endOfLine){let b=Hc(t.endOfLine);f>=0&&"\r\n"===b&&(f+=gm(v.slice(0,f),"\n")),v=cl(!1,v,"\n",b)}return{formatted:v,cursorOffset:f,comments:d.comments}}function Sc(e,t,r){return"number"!=typeof t||Number.isNaN(t)||t<0||t>e.length?r:t}function im(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:o}=t;return r=Sc(e,r,-1),n=Sc(e,n,0),o=Sc(e,o,e.length),{...t,cursorOffset:r,rangeStart:n,rangeEnd:o}}function Jm(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:o,endOfLine:i}=im(e,t),l=e.charAt(0)===Km;if(l&&(e=e.slice(1),r--,n--,o--),"auto"===i&&(i=xR(e)),e.includes("\r")){let u=a((c=>gm(e.slice(0,Math.max(c,0)),"\r\n")),"s");r-=u(r),n-=u(n),o-=u(o),e=CR(e)}return{hasBOM:l,text:e,options:im(e,{...t,cursorOffset:r,rangeStart:n,rangeEnd:o,endOfLine:i})}}async function lm(e,t){let r=await Um(t);return!r.hasPragma||r.hasPragma(e)}async function Qm(e,t){let i,{hasBOM:r,text:n,options:o}=Jm(e,await Eo(t));return o.rangeStart>=o.rangeEnd&&""!==n||o.requirePragma&&!await lm(n,o)?{formatted:e,cursorOffset:t.cursorOffset,comments:[]}:(o.rangeStart>0||o.rangeEnd=0&&i.cursorOffset++),i)}async function HF(e,t,r){let{text:n,options:o}=Jm(e,await Eo(t)),i=await La(n,o);return r&&(r.preprocessForPrint&&(i.ast=await Xm(i.ast,o)),r.massage&&(i.ast=AF(i.ast,o))),i}async function zF(e,t){return t=await Eo(t),fl(await ml(e,t),t)}async function $F(e,t){let r=$R(e),{formatted:n}=await Qm(r,{...t,parser:"__js_expression"});return n}async function OF(e,t){t=await Eo(t);let{ast:r}=await La(e,t);return ml(r,t)}async function NF(e,t){return fl(e,await Eo(t))}function UF(e,t){if(!1===t)return!1;if("/"===e.charAt(t)&&"*"===e.charAt(t+1))for(let r=t+2;rMath.max(n,o.length/t.length)),0)}function tk(e,t){let r=Yc(e,t);return!1===r?"":e.charAt(r)}function nk(e,t,r){for(let n=t;nl===n?l:u===t?"\\"+u:u||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(l)?l:"\\"+l)));return t+o+t}function uk(e,t,r){return Yc(e,r(t))}function ck(e,t){return 2===arguments.length||"number"==typeof t?Yc(e,t):uk(...arguments)}function pk(e,t,r){return Uc(e,r(t))}function dk(e,t){return 2===arguments.length||"number"==typeof t?Uc(e,t):pk(...arguments)}function fk(e,t,r){return Kc(e,r(t))}function hk(e,t){return 2===arguments.length||"number"==typeof t?Kc(e,t):fk(...arguments)}function Hr(e,t=1){return async(...r)=>{let n=r[t]??{},o=n.plugins??[];return r[t]={...n,plugins:Array.isArray(o)?o:Object.values(o)},e(...r)}}async function ng(e,t){let{formatted:r}=await rg(e,{...t,cursorOffset:-1});return r}async function mk(e,t){return await ng(e,t)===e}var oR,ll,aR,iR,lR,sR,sm,uR,_c,sl,um,ul,cR,pR,dR,Ra,Pc,cm,pm,dm,fR,hR,mR,fm,cl,_2,P2,hm,mm,yR,ka,al,Or,Mt,Nr,Pt,Ht,zt,He,xt,Ne,$t,Ot,Nt,De,Ct,Ye,vm,jr,SR,lo,xo,H2,zc,wm,Dt,$c,_R,pl,PR,Oc,Dm,xm,HR,zr,Cm,Fc,he,NR,qR,WR,Nc,Pe,yt,Fa,Vc,_r,Lc,nl,so,iA,lA,km,Bc,uA,pA,ir,Lm,Bm,$r,ar,mA,Im,gA,hl,yc,Dc,_m,Uc,kA,uo,Hm,co,N2,TA,IA,PA,ao,V2,HA,io,$m,ol,q2,zA,U2,Cc,G2,jm,OA,po,lr,fo,VA,ho,qA,mo,WA,go,UA,vo,tF,wo,rF,bo,nF,yo,em,oF,aF,iF,lF,Do,sF,Ec,dF,qm,tm,Eo,vF,La,CF,SF,AF,kF,TF,Ym,MF,Km,am,eg,jF,VF,qF,WF,tg,Gc,Xc,Yc,Kc,ZF,ek,rk,ok,ik,sk,rg,gk,vk,og,ag=F((()=>{oR=Object.create,ll=Object.defineProperty,aR=Object.getOwnPropertyDescriptor,iR=Object.getOwnPropertyNames,lR=Object.getPrototypeOf,sR=Object.prototype.hasOwnProperty,sm=a((e=>{throw TypeError(e)}),"sr"),uR=a(((e,t)=>()=>(e&&(t=e(e=0)),t)),"_u"),_c=a(((e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports)),"At"),sl=a(((e,t)=>{for(var r in t)ll(e,r,{get:t[r],enumerable:!0})}),"We"),um=a(((e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of iR(t))!sR.call(e,o)&&o!==r&&ll(e,o,{get:a((()=>t[o]),"get"),enumerable:!(n=aR(t,o))||n.enumerable});return e}),"ar"),ul=a(((e,t,r)=>(r=null!=e?oR(lR(e)):{},um(!t&&e&&e.__esModule?r:ll(r,"default",{value:e,enumerable:!0}),e))),"Me"),cR=a((e=>um(ll({},"__esModule",{value:!0}),e)),"vu"),pR=a(((e,t,r)=>t.has(e)||sm("Cannot "+r)),"bu"),dR=a(((e,t,r)=>t.has(e)?sm("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r)),"Dr"),Ra=a(((e,t,r)=>(pR(e,t,"access private method"),r)),"pe"),Pc=_c(((e,t)=>{var r=new Proxy(String,{get:a((()=>r),"get")});t.exports=r})),sl(cm={},{default:a((()=>dm),"default"),shouldHighlight:a((()=>pm),"shouldHighlight")}),fR=uR((()=>{pm=a((()=>!1),"xo"),dm=String})),hR=_c(((e,t)=>{var r=String,n=a((function(){return{isColorSupported:!1,reset:r,bold:r,dim:r,italic:r,underline:r,inverse:r,hidden:r,strikethrough:r,black:r,red:r,green:r,yellow:r,blue:r,magenta:r,cyan:r,white:r,gray:r,bgBlack:r,bgRed:r,bgGreen:r,bgYellow:r,bgBlue:r,bgMagenta:r,bgCyan:r,bgWhite:r}}),"Ln");t.exports=n(),t.exports.createColors=n})),mR=_c((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=v,e.default=b;var t=(fR(),cR(cm)),r=o(hR(),!0);function n(m){if("function"!=typeof WeakMap)return null;var g=new WeakMap,y=new WeakMap;return(n=a((function(w){return w?y:g}),"Wn"))(m)}function o(m,g){if(!g&&m&&m.__esModule)return m;if(null===m||"object"!=typeof m&&"function"!=typeof m)return{default:m};var y=n(g);if(y&&y.has(m))return y.get(m);var w={__proto__:null},D=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var x in m)if("default"!==x&&{}.hasOwnProperty.call(m,x)){var C=D?Object.getOwnPropertyDescriptor(m,x):null;C&&(C.get||C.set)?Object.defineProperty(w,x,C):w[x]=m[x]}return w.default=m,y&&y.set(m,w),w}a(n,"Wn"),a(o,"vo");var u,i=r.default,l=a(((m,g)=>y=>m(g(y))),"Rn");function c(m){return m?(null!=u||(u=(0,r.createColors)(!0)),u):i}a(c,"Oo");var p=!1;function d(m){return{gutter:m.gray,marker:l(m.red,m.bold),message:l(m.red,m.bold)}}a(d,"So");var h=/\r\n|[\n\r\u2028\u2029]/;function f(m,g,y){let w=Object.assign({column:0,line:-1},m.start),D=Object.assign({},w,m.end),{linesAbove:x=2,linesBelow:C=3}=y||{},E=w.line,S=w.column,R=D.line,A=D.column,k=Math.max(E-(x+1),0),I=Math.min(g.length,R+C);-1===E&&(k=0),-1===R&&(I=g.length);let H=R-E,M={};if(H)for(let W=0;W<=H;W++){let T=W+E;if(S)if(0===W){let L=g[T-1].length;M[T]=[S,L-S+1]}else if(W===H)M[T]=[0,A];else{let L=g[T-W].length;M[T]=[0,L]}else M[T]=!0}else M[E]=S===A?!S||[S,0]:[S,A-S];return{start:k,end:I,markerLines:M}}function v(m,g,y={}){let w=(y.highlightCode||y.forceColor)&&(0,t.shouldHighlight)(y),D=c(y.forceColor),x=d(D),C=a(((M,W)=>w?M(W):W),"i"),E=m.split(h),{start:S,end:R,markerLines:A}=f(g,E,y),k=g.start&&"number"==typeof g.start.column,I=String(R).length,H=(w?(0,t.default)(m,y):m).split(h,R).slice(S,R).map(((M,W)=>{let T=S+1+W,L=` ${` ${T}`.slice(-I)} |`,P=A[T],U=!A[T+1];if(P){let N="";if(Array.isArray(P)){let G=M.slice(0,Math.max(P[0]-1,0)).replace(/[^\t]/g," "),z=P[1]||1;N=["\n ",C(x.gutter,L.replace(/\d/g," "))," ",G,C(x.marker,"^").repeat(z)].join(""),U&&y.message&&(N+=" "+C(x.message,y.message))}return[C(x.marker,">"),C(x.gutter,L),M.length>0?` ${M}`:"",N].join("")}return` ${C(x.gutter,L)}${M.length>0?` ${M}`:""}`})).join("\n");return y.message&&!k&&(H=`${" ".repeat(I+1)}${y.message}\n${H}`),w?D.reset(H):H}function b(m,g,y,w={}){if(!p){p=!0;let D="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";new Error(D).name="DeprecationWarning",console.warn(new Error(D))}return v(m,{start:{column:y=Math.max(y,0),line:g}},w)}a(f,"No"),a(v,"Mn"),a(b,"To")})),sl(fm={},{__debug:a((()=>vk),"__debug"),check:a((()=>mk),"check"),doc:a((()=>eg),"doc"),format:a((()=>ng),"format"),formatWithCursor:a((()=>rg),"formatWithCursor"),getSupportInfo:a((()=>gk),"getSupportInfo"),util:a((()=>tg),"util"),version:a((()=>WF),"version")}),cl=a(((e,t,r,n)=>{if(!e||null!=t)return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)}),"Ou"),a(_t,"Z"),_t.prototype={diff:a((function(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.callback;"function"==typeof n&&(o=n,n={}),this.options=n;var i=this;function l(D){return o?(setTimeout((function(){o(void 0,D)}),0),!0):D}a(l,"s"),e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var u=(t=this.removeEmpty(this.tokenize(t))).length,c=e.length,p=1,d=u+c;n.maxEditLength&&(d=Math.min(d,n.maxEditLength));var h=null!==(r=n.timeout)&&void 0!==r?r:1/0,f=Date.now()+h,v=[{oldPos:-1,lastComponent:void 0}],b=this.extractCommon(v[0],t,e,0);if(v[0].oldPos+1>=c&&b+1>=u)return l([{value:this.join(t),count:t.length}]);var m=-1/0,g=1/0;function y(){for(var D=Math.max(m,-p);D<=Math.min(g,p);D+=2){var x=void 0,C=v[D-1],E=v[D+1];C&&(v[D-1]=void 0);var S=!1;if(E){var R=E.oldPos-D;S=E&&0<=R&&R=c&&b+1>=u)return l(vR(i,x.lastComponent,t,e,i.useLongestToken));v[D]=x,x.oldPos+1>=c&&(g=Math.min(g,D-1)),b+1>=u&&(m=Math.max(m,D+1))}else v[D]=void 0}p++}if(a(y,"A"),o)a((function D(){setTimeout((function(){if(p>d||Date.now()>f)return o();y()||D()}),0)}),"h")();else for(;p<=d&&Date.now()<=f;){var w=y();if(w)return w}}),"diff"),addToPath:a((function(e,t,r,n){var o=e.lastComponent;return o&&o.added===t&&o.removed===r?{oldPos:e.oldPos+n,lastComponent:{count:o.count+1,added:t,removed:r,previousComponent:o.previousComponent}}:{oldPos:e.oldPos+n,lastComponent:{count:1,added:t,removed:r,previousComponent:o}}}),"addToPath"),extractCommon:a((function(e,t,r,n){for(var o=t.length,i=r.length,l=e.oldPos,u=l-n,c=0;u+1"u"?r:l}:n;return"string"==typeof e?e:JSON.stringify(Rc(e,null,null,o),o," ")},ka.equals=function(e,t){return _t.prototype.equals.call(ka,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"))},a(Rc,"Bt"),(al=new _t).tokenize=function(e){return e.slice()},al.join=al.removeEmpty=function(e){return e},a(DR,"dr"),a(xR,"Fr"),a(Hc,"Be"),a(gm,"wt"),a(CR,"mr"),Or="string",Mt="array",Nr="cursor",Pt="indent",Ht="align",zt="trim",He="group",xt="fill",Ne="if-break",$t="indent-if-break",Ot="line-suffix",Nt="line-suffix-boundary",De="line",Ct="label",Ye="break-parent",vm=new Set([Nr,Pt,Ht,zt,He,xt,Ne,$t,Ot,Nt,De,Ct,Ye]),a(ER,"Lu"),jr=ER,SR=a((e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e)),"Pu"),a(RR,"Iu"),lo=class extends Error{name="InvalidDocError";constructor(t){super(RR(t)),this.doc=t}},a(lo,"xt"),xo=lo,H2={},a(FR,"Ru"),zc=FR,Dt=wm=a((()=>{}),"hr"),$c=wm,a(il,"De"),a(Co,"ae"),a(bm,"_t"),a(kR,"Cr"),a(TR,"gr"),a(LR,"yr"),a(BR,"Ar"),a(ym,"Ge"),a(IR,"Br"),a(MR,"wr"),a(Ac,"xe"),_R={type:Nt},PR={type:zt},xm={type:De},HR={type:De,soft:!0},zr=[Oc={type:De,hard:!0},pl={type:Ye}],Cm=[Dm={type:De,hard:!0,literal:!0},pl],Fc={type:Nr},a(Em,"be"),a(Sm,"Je"),a(zR,"br"),a(It,"ee"),a($R,"Or"),he=a(((e,t,r)=>{if(!e||null!=t)return Array.isArray(t)||"string"==typeof t?t[r<0?t.length+r:r]:t.at(r)}),"Yu"),NR=a((()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g),"Sr"),a(jR,"Nr"),a(VR,"Tr"),qR=a((e=>!(jR(e)||VR(e))),"kr"),WR=/[^\x20-\x7F]/u,a(UR,"Hu"),Nc=UR,a(dl,"Ne"),a(jc,"Xe"),a(GR,"Wu"),a(XR,"Ir"),a(z2,"Lr"),a(YR,"Rr"),a(KR,"Mu"),a(ZR,"Yr"),a($2,"Pr"),a(Aa,"Se"),a(Rm,"Ze"),a(JR,"$u"),a(QR,"Vu"),a(eA,"jr"),a(tA,"Uu"),a(rA,"Hr"),a(Am,"Qe"),Pe=Symbol("MODE_BREAK"),yt=Symbol("MODE_FLAT"),Fa=Symbol("cursor"),a(Fm,"Wr"),a(nA,"zu"),a(oA,"Gu"),a(kc,"bt"),a(Tc,"Ot"),a(tl,"et"),a(fl,"Fe"),a(aA,"Ku"),Vc=aA,a(so=class{constructor(t){dR(this,_r),this.stack=[t]}get key(){let{stack:t,siblings:r}=this;return he(!1,t,null===r?-2:-4)??null}get index(){return null===this.siblings?null:he(!1,this.stack,-2)}get node(){return he(!1,this.stack,-1)}get parent(){return this.getNode(1)}get grandparent(){return this.getNode(2)}get isInArray(){return null!==this.siblings}get siblings(){let{stack:t}=this,r=he(!1,t,-3);return Array.isArray(r)?r:null}get next(){let{siblings:t}=this;return null===t?null:t[this.index+1]}get previous(){let{siblings:t}=this;return null===t?null:t[this.index-1]}get isFirst(){return 0===this.index}get isLast(){let{siblings:t,index:r}=this;return null!==t&&r===t.length-1}get isRoot(){return 1===this.stack.length}get root(){return this.stack[0]}get ancestors(){return[...Ra(this,_r,nl).call(this)]}getName(){let{stack:t}=this,{length:r}=t;return r>1?he(!1,t,-2):null}getValue(){return he(!1,this.stack,-1)}getNode(t=0){let r=Ra(this,_r,Lc).call(this,t);return-1===r?null:this.stack[r]}getParentNode(t=0){return this.getNode(t+1)}call(t,...r){let{stack:n}=this,{length:o}=n,i=he(!1,n,-1);for(let l of r)i=i[l],n.push(l,i);try{return t(this)}finally{n.length=o}}callParent(t,r=0){let n=Ra(this,_r,Lc).call(this,r+1),o=this.stack.splice(n+1);try{return t(this)}finally{this.stack.push(...o)}}each(t,...r){let{stack:n}=this,{length:o}=n,i=he(!1,n,-1);for(let l of r)i=i[l],n.push(l,i);try{for(let l=0;l{n[i]=t(o,i,l)}),...r),n}match(...t){let r=this.stack.length-1,n=null,o=this.stack[r--];for(let i of t){if(void 0===o)return!1;let l=null;if("number"==typeof n&&(l=n,n=this.stack[r--],o=this.stack[r--]),i&&!i(o,n,l))return!1;n=this.stack[r--],o=this.stack[r--]}return!0}findAncestor(t){for(let r of Ra(this,_r,nl).call(this))if(t(r))return r}hasAncestor(t){for(let r of Ra(this,_r,nl).call(this))if(t(r))return!0;return!1}},"St"),iA=so,_r=new WeakSet,Lc=a((function(e){let{stack:t}=this;for(let r=t.length-1;r>=0;r-=2)if(!Array.isArray(t[r])&&--e<0)return r;return-1}),"Nt"),nl=a((function*(){let{stack:e}=this;for(let t=e.length-3;t>=0;t-=2){let r=e[t];Array.isArray(r)||(yield r)}}),"tt"),lA=iA,km=new Proxy((()=>{}),{get:a((()=>km),"get")}),Bc=km,a(sA,"qu"),uA=sA,a(Tm,"Tt"),a(cA,"Ur"),a(Ta,"Ee"),pA=Ta(/\s/u),ir=Ta(" \t"),Lm=Ta(",; \t"),Bm=Ta(/[^\n\r]/u),a(dA,"Ju"),$r=dA,a(fA,"Xu"),ar=fA,a(hA,"Zu"),mA=hA,Im=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),gA=a((e=>Object.keys(e).filter((t=>!Im.has(t)))),"Qu"),a(vA,"eo"),hl=vA,a(wA,"to"),a(qc,"Lt"),a(no,"ue"),a(Pr,"re"),a(oo,"oe"),yc=new WeakMap,a(Wc,"ut"),a(Mm,"qr"),Dc=a((()=>!1),"It"),a(bA,"Jr"),_m=a((e=>!/[\S\n\u2028\u2029]/u.test(e)),"Xr"),a(yA,"ro"),a(DA,"no"),a(O2,"Kr"),a(xc,"Rt"),a(xA,"uo"),Uc=xA,a(Pm,"Zr"),a(CA,"oo"),a(EA,"io"),a(SA,"so"),a(RA,"Qr"),a(AA,"en"),a(FA,"ao"),kA=FA,uo=class extends Error{name="ConfigError"},a(uo,"Pe"),Hm=uo,co=class extends Error{name="UndefinedParserError"},a(co,"Ie"),N2=co,TA={cursorOffset:{category:"Special",type:"int",default:-1,range:{start:-1,end:1/0,step:1},description:"Print (to stderr) where a cursor at the given position would move to after formatting.",cliCategory:"Editor"},endOfLine:{category:"Global",type:"choice",default:"lf",description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:"Maintain existing\n(mixed values within one file are normalised by looking at what's used after the first line)"}]},filepath:{category:"Special",type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:"Other",cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{category:"Special",type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:"Other"},parser:{category:"Global",type:"choice",default:void 0,description:"Which parser to use.",exception:a((e=>"string"==typeof e||"function"==typeof e),"exception"),choices:[{value:"flow",description:"Flow"},{value:"babel",description:"JavaScript"},{value:"babel-flow",description:"Flow"},{value:"babel-ts",description:"TypeScript"},{value:"typescript",description:"TypeScript"},{value:"acorn",description:"JavaScript"},{value:"espree",description:"JavaScript"},{value:"meriyah",description:"JavaScript"},{value:"css",description:"CSS"},{value:"less",description:"Less"},{value:"scss",description:"SCSS"},{value:"json",description:"JSON"},{value:"json5",description:"JSON5"},{value:"jsonc",description:"JSON with Comments"},{value:"json-stringify",description:"JSON.stringify"},{value:"graphql",description:"GraphQL"},{value:"markdown",description:"Markdown"},{value:"mdx",description:"MDX"},{value:"vue",description:"Vue"},{value:"yaml",description:"YAML"},{value:"glimmer",description:"Ember / Handlebars"},{value:"html",description:"HTML"},{value:"angular",description:"Angular"},{value:"lwc",description:"Lightning Web Components"}]},plugins:{type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:a((e=>"string"==typeof e||"object"==typeof e),"exception"),cliName:"plugin",cliCategory:"Config"},printWidth:{category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:"Format code ending at a given character offset (exclusive).\nThe range will extend forwards to the end of the selected statement.",cliCategory:"Editor"},rangeStart:{category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description:"Format code starting at a given character offset.\nThe range will extend backwards to the start of the first line containing the selected statement.",cliCategory:"Editor"},requirePragma:{category:"Special",type:"boolean",default:!1,description:"Require either '@prettier' or '@format' to be present in the file's first docblock comment\nin order for it to be formatted.",cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{category:"Global",type:"choice",default:"auto",description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}},a(zm,"ot"),a(LA,"Do"),a(BA,"lo"),IA=a((e=>String(e).split(/[/\\]/u).pop()),"co"),a(j2,"nn"),a(MA,"fo"),a(_A,"po"),PA=_A,ao={key:a((e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e)),"key"),value(e){if(null===e||"object"!=typeof e)return JSON.stringify(e);if(Array.isArray(e))return`[${e.map((r=>ao.value(r))).join(", ")}]`;let t=Object.keys(e);return 0===t.length?"{}":`{ ${t.map((r=>`${ao.key(r)}: ${ao.value(e[r])}`)).join(", ")} }`},pair:a((({key:e,value:t})=>ao.value({[e]:t})),"pair")},V2=ul(Pc(),1),HA=a(((e,t,{descriptor:r})=>{let n=[`${V2.default.yellow("string"==typeof e?r.key(e):r.pair(e))} is deprecated`];return t&&n.push(`we now treat it as ${V2.default.blue("string"==typeof t?r.key(t):r.pair(t))}`),n.join("; ")+"."}),"an"),io=ul(Pc(),1),$m=Symbol.for("vnopts.VALUE_NOT_EXIST"),ol=Symbol.for("vnopts.VALUE_UNCHANGED"),q2=" ".repeat(2),zA=a(((e,t,r)=>{let{text:n,list:o}=r.normalizeExpectedResult(r.schemas[e].expected(r)),i=[];return n&&i.push(W2(e,t,n,r.descriptor)),o&&i.push([W2(e,t,o.title,r.descriptor)].concat(o.values.map((l=>Om(l,r.loggerPrintWidth)))).join("\n")),Nm(i,r.loggerPrintWidth)}),"cn"),a(W2,"ln"),a(Om,"fn"),a(Nm,"pn"),U2=ul(Pc(),1),Cc=[],G2=[],a($A,"Ht"),jm=a(((e,t,{descriptor:r,logger:n,schemas:o})=>{let i=[`Ignored unknown option ${U2.default.yellow(r.pair({key:e,value:t}))}.`],l=Object.keys(o).sort().find((u=>$A(e,u)<3));l&&i.push(`Did you mean ${U2.default.blue(r.key(l))}?`),n.warn(i.join(" "))}),"at"),OA=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"],a(NA,"mo"),a(po=class{static create(t){return NA(this,t)}constructor(t){this.name=t.name}default(t){}expected(t){return"nothing"}validate(t,r){return!1}deprecated(t,r){return!1}forward(t,r){}redirect(t,r){}overlap(t,r,n){return t}preprocess(t,r){return t}postprocess(t,r){return ol}},"O"),lr=po,a(jA,"Eo"),a(fo=class extends lr{constructor(t){super(t),this._sourceName=t.sourceName}expected(t){return t.schemas[this._sourceName].expected(t)}validate(t,r){return r.schemas[this._sourceName].validate(t,r)}redirect(t,r){return this._sourceName}},"Dt"),VA=fo,a(ho=class extends lr{expected(){return"anything"}validate(){return!0}},"lt"),qA=ho,a(mo=class extends lr{constructor({valueSchema:t,name:r=t.name,...n}){super({...n,name:r}),this._valueSchema=t}expected(t){let{text:r,list:n}=t.normalizeExpectedResult(this._valueSchema.expected(t));return{text:r&&`an array of ${r}`,list:n&&{title:"an array of the following values",values:[{list:n}]}}}validate(t,r){if(!Array.isArray(t))return!1;let n=[];for(let o of t){let i=r.normalizeValidateResult(this._valueSchema.validate(o,r),o);!0!==i&&n.push(i.value)}return 0===n.length||{value:n}}deprecated(t,r){let n=[];for(let o of t){let i=r.normalizeDeprecatedResult(this._valueSchema.deprecated(o,r),o);!1!==i&&n.push(...i.map((({value:l})=>({value:[l]}))))}return n}forward(t,r){let n=[];for(let o of t){let i=r.normalizeForwardResult(this._valueSchema.forward(o,r),o);n.push(...i.map(X2))}return n}redirect(t,r){let n=[],o=[];for(let i of t){let l=r.normalizeRedirectResult(this._valueSchema.redirect(i,r),i);"remain"in l&&n.push(l.remain),o.push(...l.redirect.map(X2))}return 0===n.length?{redirect:o}:{redirect:o,remain:n}}overlap(t,r){return t.concat(r)}},"ct"),WA=mo,a(X2,"Fn"),a(go=class extends lr{expected(){return"true or false"}validate(t){return"boolean"==typeof t}},"ft"),UA=go,a(GA,"En"),a(XA,"hn"),a(YA,"Cn"),a(KA,"gn"),a(ZA,"yn"),a(JA,"An"),a(QA,"Bn"),a(Y2,"Mt"),a(Vm,"$t"),a(K2,"Vt"),a(Z2,"Ut"),a(J2,"mn"),a(Ic,"pt"),a(Q2,"zt"),a(eF,"ho"),a(vo=class extends lr{constructor(t){super(t),this._choices=XA(t.choices.map((r=>r&&"object"==typeof r?r:{value:r})),"value")}expected({descriptor:t}){let r=Array.from(this._choices.keys()).map((i=>this._choices.get(i))).filter((({hidden:i})=>!i)).map((i=>i.value)).sort(JA).map(t.value),n=r.slice(0,-2),o=r.slice(-2);return{text:n.concat(o.join(" or ")).join(", "),list:{title:"one of the following values",values:r}}}validate(t){return this._choices.has(t)}deprecated(t){let r=this._choices.get(t);return!(!r||!r.deprecated)&&{value:t}}forward(t){let r=this._choices.get(t);return r?r.forward:void 0}redirect(t){let r=this._choices.get(t);return r?r.redirect:void 0}},"dt"),tF=vo,a(wo=class extends lr{expected(){return"a number"}validate(t,r){return"number"==typeof t}},"Ft"),rF=wo,a(bo=class extends rF{expected(){return"an integer"}validate(t,r){return!0===r.normalizeValidateResult(super.validate(t,r),t)&&ZA(t)}},"mt"),nF=bo,a(yo=class extends lr{expected(){return"a string"}validate(t){return"string"==typeof t}},"Re"),em=yo,oF=ao,aF=jm,iF=zA,lF=HA,a(Do=class{constructor(t,r){let{logger:n=console,loggerPrintWidth:o=80,descriptor:i=oF,unknown:l=aF,invalid:u=iF,deprecated:c=lF,missing:p=a((()=>!1),"D"),required:d=a((()=>!1),"l"),preprocess:h=a((v=>v),"d"),postprocess:f=a((()=>ol),"f")}=r||{};this._utils={descriptor:i,logger:n||{warn:a((()=>{}),"warn")},loggerPrintWidth:o,schemas:GA(t,"name"),normalizeDefaultResult:Y2,normalizeExpectedResult:Vm,normalizeDeprecatedResult:Z2,normalizeForwardResult:Ic,normalizeRedirectResult:Q2,normalizeValidateResult:K2},this._unknownHandler=l,this._invalidHandler=QA(u),this._deprecatedHandler=c,this._identifyMissing=(v,b)=>!(v in b)||p(v,b),this._identifyRequired=d,this._preprocess=h,this._postprocess=f,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=YA()}normalize(t){let r={},n=[this._preprocess(t,this._utils)],o=a((()=>{for(;0!==n.length;){let i=n.shift(),l=this._applyNormalization(i,r);n.push(...l)}}),"u");o();for(let i of Object.keys(this._utils.schemas)){let l=this._utils.schemas[i];if(!(i in r)){let u=Y2(l.default(this._utils));"value"in u&&n.push({[i]:u.value})}}o();for(let i of Object.keys(this._utils.schemas)){if(!(i in r))continue;let l=this._utils.schemas[i],u=r[i],c=l.postprocess(u,this._utils);c!==ol&&(this._applyValidation(c,i,l),r[i]=c)}return this._applyPostprocess(r),this._applyRequiredCheck(r),r}_applyNormalization(t,r){let n=[],{knownKeys:o,unknownKeys:i}=this._partitionOptionKeys(t);for(let l of o){let u=this._utils.schemas[l],c=u.preprocess(t[l],this._utils);this._applyValidation(c,l,u);let p=a((({from:f,to:v})=>{n.push("string"==typeof v?{[v]:f}:{[v.key]:v.value})}),"D"),d=a((({value:f,redirectTo:v})=>{let b=Z2(u.deprecated(f,this._utils),c,!0);if(!1!==b)if(!0===b)this._hasDeprecationWarned(l)||this._utils.logger.warn(this._deprecatedHandler(l,v,this._utils));else for(let{value:m}of b){let g={key:l,value:m};if(!this._hasDeprecationWarned(g)){let y="string"==typeof v?{key:v,value:m}:v;this._utils.logger.warn(this._deprecatedHandler(g,y,this._utils))}}}),"l");Ic(u.forward(c,this._utils),c).forEach(p);let h=Q2(u.redirect(c,this._utils),c);if(h.redirect.forEach(p),"remain"in h){let f=h.remain;r[l]=l in r?u.overlap(r[l],f,this._utils):f,d({value:f})}for(let{from:f,to:v}of h.redirect)d({value:f,redirectTo:v})}for(let l of i){let u=t[l];this._applyUnknownHandler(l,u,r,((c,p)=>{n.push({[c]:p})}))}return n}_applyRequiredCheck(t){for(let r of Object.keys(this._utils.schemas))if(this._identifyMissing(r,t)&&this._identifyRequired(r))throw this._invalidHandler(r,$m,this._utils)}_partitionOptionKeys(t){let[r,n]=KA(Object.keys(t).filter((o=>!this._identifyMissing(o,t))),(o=>o in this._utils.schemas));return{knownKeys:r,unknownKeys:n}}_applyValidation(t,r,n){let o=K2(n.validate(t,this._utils),t);if(!0!==o)throw this._invalidHandler(r,o.value,this._utils)}_applyUnknownHandler(t,r,n,o){let i=this._unknownHandler(t,r,this._utils);if(i)for(let l of Object.keys(i)){if(this._identifyMissing(l,i))continue;let u=i[l];l in this._utils.schemas?o(l,u):n[l]=u}}_applyPostprocess(t){let r=this._postprocess(t,this._utils);if(r!==ol){if(r.delete)for(let n of r.delete)delete t[n];if(r.override){let{knownKeys:n,unknownKeys:o}=this._partitionOptionKeys(r.override);for(let i of n){let l=r.override[i];this._applyValidation(l,i,this._utils.schemas[i]),t[i]=l}for(let i of o){let l=r.override[i];this._applyUnknownHandler(i,l,t,((u,c)=>{let p=this._utils.schemas[u];this._applyValidation(c,u,p),t[u]=c}))}}}}},"Et"),sF=Do,a(uF,"go"),a(cF,"yo"),a(pF,"Ao"),dF=uF,qm=a(((e,t,r)=>{if(!e||null!=t){if(t.findLast)return t.findLast(r);for(let n=t.length-1;n>=0;n--){let o=t[n];if(r(o,n,t))return o}}}),"Bo"),a(Wm,"qt"),a(hF,"On"),a(Um,"ht"),a(Gm,"Jt"),a(mF,"Sn"),tm={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null},a(gF,"wo"),Eo=gF,vF=ul(mR(),1),a(wF,"ko"),a(bF,"Lo"),La=wF,a(yF,"Un"),a(DF,"Po"),a(xF,"Io"),CF=xF,a(ml,"Ye"),a(rm,"Gn"),a(Xm,"Qt"),a(EF,"Ro"),SF=EF,a(RF,"Yo"),AF=RF,kF=a(((e,t,r)=>{if(!e||null!=t){if(t.findLastIndex)return t.findLastIndex(r);for(let n=t.length-1;n>=0;n--){if(r(t[n],n,t))return n}return-1}}),"jo"),TF=a((({parser:e})=>"json"===e||"json5"===e||"jsonc"===e||"json-stringify"===e),"Ho"),a(LF,"Wo"),a(nm,"Xn"),a(BF,"Mo"),a(Mc,"er"),a(IF,"$o"),Ym=new Set(["JsonRoot","ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),MF=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]),a(om,"Zn"),a(_F,"eu"),Km="\ufeff",am=Symbol("cursor"),a(Zm,"ou"),a(PF,"Uo"),a(Sc,"tr"),a(im,"ru"),a(Jm,"iu"),a(lm,"nu"),a(Qm,"rr"),a(HF,"su"),a(zF,"au"),a($F,"Du"),a(OF,"lu"),a(NF,"cu"),sl(eg={},{builders:a((()=>jF),"builders"),printer:a((()=>VF),"printer"),utils:a((()=>qF),"utils")}),jF={join:Em,line:xm,softline:HR,hardline:zr,literalline:Cm,group:bm,conditionalGroup:BR,fill:ym,lineSuffix:Ac,lineSuffixBoundary:_R,cursor:Fc,breakParent:pl,ifBreak:IR,trim:PR,indent:il,indentIfBreak:MR,align:Co,addAlignmentToDoc:Sm,markAsRoot:TR,dedentToRoot:kR,dedent:LR,hardlineWithoutBreakParent:Oc,literallineWithoutBreakParent:Dm,label:zR,concat:a((e=>e),"concat")},VF={printDocToString:fl},qF={willBreak:XR,traverseDoc:zc,findInDoc:jc,mapDoc:dl,removeLines:ZR,stripTrailingHardline:Rm,replaceEndOfLine:eA,canBreak:rA},WF="3.3.3",sl(tg={},{addDanglingComment:a((()=>Pr),"addDanglingComment"),addLeadingComment:a((()=>no),"addLeadingComment"),addTrailingComment:a((()=>oo),"addTrailingComment"),getAlignmentSize:a((()=>Vc),"getAlignmentSize"),getIndentSize:a((()=>ZF),"getIndentSize"),getMaxContinuousCount:a((()=>ek),"getMaxContinuousCount"),getNextNonSpaceNonCommentCharacter:a((()=>rk),"getNextNonSpaceNonCommentCharacter"),getNextNonSpaceNonCommentCharacterIndex:a((()=>ck),"getNextNonSpaceNonCommentCharacterIndex"),getStringWidth:a((()=>Nc),"getStringWidth"),hasNewline:a((()=>ar),"hasNewline"),hasNewlineInRange:a((()=>ok),"hasNewlineInRange"),hasSpaces:a((()=>ik),"hasSpaces"),isNextLineEmpty:a((()=>hk),"isNextLineEmpty"),isNextLineEmptyAfterIndex:a((()=>Kc),"isNextLineEmptyAfterIndex"),isPreviousLineEmpty:a((()=>dk),"isPreviousLineEmpty"),makeString:a((()=>sk),"makeString"),skip:a((()=>Ta),"skip"),skipEverythingButNewLine:a((()=>Bm),"skipEverythingButNewLine"),skipInlineComment:a((()=>Gc),"skipInlineComment"),skipNewline:a((()=>$r),"skipNewline"),skipSpaces:a((()=>ir),"skipSpaces"),skipToLineEnd:a((()=>Lm),"skipToLineEnd"),skipTrailingComment:a((()=>Xc),"skipTrailingComment"),skipWhitespace:a((()=>pA),"skipWhitespace")}),a(UF,"Jo"),Gc=UF,a(GF,"Xo"),Xc=GF,a(XF,"Zo"),Yc=XF,a(YF,"Qo"),Kc=YF,a(KF,"ei"),ZF=KF,a(JF,"ur"),a(QF,"ti"),ek=QF,a(tk,"ri"),rk=tk,a(nk,"ni"),ok=nk,a(ak,"ui"),ik=ak,a(lk,"oi"),sk=lk,a(uk,"ii"),a(ck,"si"),a(pk,"ai"),a(dk,"Di"),a(fk,"li"),a(hk,"ci"),a(Hr,"fe"),rg=Hr(Qm),a(ng,"gu"),a(mk,"fi"),gk=Hr(zm,0),vk={parse:Hr(HF),formatAST:Hr(zF),formatDoc:Hr($F),printToDoc:Hr(OF),printDocToString:Hr(NF)},og=fm}));function ig(e){for(var t=[],r=1;r{a(ig,"dedent")})),ug={};ln(ug,{formatter:()=>wk});var sg,wk,X0,Y0,ne,ce,se,oe,Ml,cr,Vt,Yr,X3,_l,_o,Y3,K0,Pl,K3,cg=F((()=>{sg=we(ea(),1),M2(),ag(),lg(),wk=(0,sg.default)(2)((async(e,t)=>!1===e?t:"dedent"===e||!0===e?ig(t):(await og.format(t,{parser:e,plugins:[I2],htmlWhitespaceSensitivity:"ignore"})).trim()))})),G3=F((()=>{X0=a((function(t){return t.reduce((function(r,n){var o=n[0],i=n[1];return r[o]=i,r}),{})}),"fromEntries"),Y0=typeof window<"u"&&window.document&&window.document.createElement?react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect:react__WEBPACK_IMPORTED_MODULE_0__.useEffect})),je=F((()=>{Ml="auto",Vt="start",Yr="end",X3="clippingParents",_l="viewport",_o="popper",Y3="reference",K0=(cr=[ne="top",ce="bottom",se="right",oe="left"]).reduce((function(e,t){return e.concat([t+"-"+Vt,t+"-"+Yr])}),[]),Pl=[].concat(cr,[Ml]).reduce((function(e,t){return e.concat([t,t+"-"+Vt,t+"-"+Yr])}),[]),K3=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"]}));function me(e){return e?(e.nodeName||"").toLowerCase():null}var pr=F((()=>{a(me,"getNodeName")}));function ee(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}var ut=F((()=>{a(ee,"getWindow")}));function Ze(e){return e instanceof ee(e).Element||e instanceof Element}function pe(e){return e instanceof ee(e).HTMLElement||e instanceof HTMLElement}function Po(e){return!(typeof ShadowRoot>"u")&&(e instanceof ee(e).ShadowRoot||e instanceof ShadowRoot)}var Ve=F((()=>{ut(),a(Ze,"isElement"),a(pe,"isHTMLElement"),a(Po,"isShadowRoot")}));function BB(e){var t=e.state;Object.keys(t.elements).forEach((function(r){var n=t.styles[r]||{},o=t.attributes[r]||{},i=t.elements[r];!pe(i)||!me(i)||(Object.assign(i.style,n),Object.keys(o).forEach((function(l){var u=o[l];!1===u?i.removeAttribute(l):i.setAttribute(l,!0===u?"":u)})))}))}function IB(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach((function(n){var o=t.elements[n],i=t.attributes[n]||{},u=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]).reduce((function(c,p){return c[p]="",c}),{});!pe(o)||!me(o)||(Object.assign(o.style,u),Object.keys(i).forEach((function(c){o.removeAttribute(c)})))}))}}var Z3,J3=F((()=>{pr(),Ve(),a(BB,"applyStyles"),a(IB,"effect"),Z3={name:"applyStyles",enabled:!0,phase:"write",fn:BB,effect:IB,requires:["computeStyles"]}}));function ge(e){return e.split("-")[0]}var ct,Kr,qt,dr=F((()=>{a(ge,"getBasePlacement")})),fr=F((()=>{ct=Math.max,Kr=Math.min,qt=Math.round}));function Ho(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}var Z0=F((()=>{a(Ho,"getUAString")}));function $a(){return!/^((?!chrome|android).)*safari/i.test(Ho())}var J0=F((()=>{Z0(),a($a,"isLayoutViewport")}));function Je(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!1);var n=e.getBoundingClientRect(),o=1,i=1;t&&pe(e)&&(o=e.offsetWidth>0&&qt(n.width)/e.offsetWidth||1,i=e.offsetHeight>0&&qt(n.height)/e.offsetHeight||1);var u=(Ze(e)?ee(e):window).visualViewport,c=!$a()&&r,p=(n.left+(c&&u?u.offsetLeft:0))/o,d=(n.top+(c&&u?u.offsetTop:0))/i,h=n.width/o,f=n.height/i;return{width:h,height:f,top:d,right:p+h,bottom:d+f,left:p,x:p,y:d}}var zo=F((()=>{Ve(),fr(),ut(),J0(),a(Je,"getBoundingClientRect")}));function Zr(e){var t=Je(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}var Hl=F((()=>{zo(),a(Zr,"getLayoutRect")}));function Oa(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Po(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}var Q0=F((()=>{Ve(),a(Oa,"contains")}));function ke(e){return ee(e).getComputedStyle(e)}var $o=F((()=>{ut(),a(ke,"getComputedStyle")}));function e1(e){return["table","td","th"].indexOf(me(e))>=0}var Q3=F((()=>{pr(),a(e1,"isTableElement")}));function xe(e){return((Ze(e)?e.ownerDocument:e.document)||window.document).documentElement}var Wt=F((()=>{Ve(),a(xe,"getDocumentElement")}));function Ut(e){return"html"===me(e)?e:e.assignedSlot||e.parentNode||(Po(e)?e.host:null)||xe(e)}var Na=F((()=>{pr(),Wt(),Ve(),a(Ut,"getParentNode")}));function ev(e){return pe(e)&&"fixed"!==ke(e).position?e.offsetParent:null}function MB(e){var t=/firefox/i.test(Ho());if(/Trident/i.test(Ho())&&pe(e)&&"fixed"===ke(e).position)return null;var o=Ut(e);for(Po(o)&&(o=o.host);pe(o)&&["html","body"].indexOf(me(o))<0;){var i=ke(o);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return o;o=o.parentNode}return null}function pt(e){for(var t=ee(e),r=ev(e);r&&e1(r)&&"static"===ke(r).position;)r=ev(r);return r&&("html"===me(r)||"body"===me(r)&&"static"===ke(r).position)?t:r||MB(e)||t}var Oo=F((()=>{ut(),pr(),$o(),Ve(),Q3(),Na(),Z0(),a(ev,"getTrueOffsetParent"),a(MB,"getContainingBlock"),a(pt,"getOffsetParent")}));function Jr(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var zl=F((()=>{a(Jr,"getMainAxisFromPlacement")}));function Qr(e,t,r){return ct(e,Kr(t,r))}function tv(e,t,r){var n=Qr(e,t,r);return n>r?r:n}var t1=F((()=>{fr(),a(Qr,"within"),a(tv,"withinMaxClamp")}));function ja(){return{top:0,right:0,bottom:0,left:0}}var r1=F((()=>{a(ja,"getFreshSideObject")}));function Va(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}var n1=F((()=>{r1(),a(Va,"mergePaddingObject")}));function qa(e,t){return t.reduce((function(r,n){return r[n]=e,r}),{})}var o1=F((()=>{a(qa,"expandToHashMap")}));function PB(e){var t,r=e.state,n=e.name,o=e.options,i=r.elements.arrow,l=r.modifiersData.popperOffsets,u=ge(r.placement),c=Jr(u),d=[oe,se].indexOf(u)>=0?"height":"width";if(i&&l){var h=_B(o.padding,r),f=Zr(i),v="y"===c?ne:oe,b="y"===c?ce:se,m=r.rects.reference[d]+r.rects.reference[c]-l[c]-r.rects.popper[d],g=l[c]-r.rects.reference[c],y=pt(i),w=y?"y"===c?y.clientHeight||0:y.clientWidth||0:0,D=m/2-g/2,x=h[v],C=w-f[d]-h[b],E=w/2-f[d]/2+D,S=Qr(x,E,C),R=c;r.modifiersData[n]=((t={})[R]=S,t.centerOffset=S-E,t)}}function HB(e){var t=e.state,n=e.options.element,o=void 0===n?"[data-popper-arrow]":n;null!=o&&("string"==typeof o&&!(o=t.elements.popper.querySelector(o))||Oa(t.elements.popper,o)&&(t.elements.arrow=o))}var _B,rv,nv=F((()=>{dr(),Hl(),Q0(),Oo(),zl(),t1(),n1(),o1(),je(),_B=a((function(t,r){return Va("number"!=typeof(t="function"==typeof t?t(Object.assign({},r.rects,{placement:r.placement})):t)?t:qa(t,cr))}),"toPaddingObject"),a(PB,"arrow"),a(HB,"effect"),rv={name:"arrow",enabled:!0,phase:"main",fn:PB,effect:HB,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}}));function Qe(e){return e.split("-")[1]}var No=F((()=>{a(Qe,"getVariation")}));function $B(e,t){var r=e.x,n=e.y,o=t.devicePixelRatio||1;return{x:qt(r*o)/o||0,y:qt(n*o)/o||0}}function ov(e){var t,r=e.popper,n=e.popperRect,o=e.placement,i=e.variation,l=e.offsets,u=e.position,c=e.gpuAcceleration,p=e.adaptive,d=e.roundOffsets,h=e.isFixed,f=l.x,v=void 0===f?0:f,b=l.y,m=void 0===b?0:b,g="function"==typeof d?d({x:v,y:m}):{x:v,y:m};v=g.x,m=g.y;var y=l.hasOwnProperty("x"),w=l.hasOwnProperty("y"),D=oe,x=ne,C=window;if(p){var E=pt(r),S="clientHeight",R="clientWidth";if(E===ee(r)&&("static"!==ke(E=xe(r)).position&&"absolute"===u&&(S="scrollHeight",R="scrollWidth")),o===ne||(o===oe||o===se)&&i===Yr)x=ce,m-=(h&&E===C&&C.visualViewport?C.visualViewport.height:E[S])-n.height,m*=c?1:-1;if(o===oe||(o===ne||o===ce)&&i===Yr)D=se,v-=(h&&E===C&&C.visualViewport?C.visualViewport.width:E[R])-n.width,v*=c?1:-1}var M,I=Object.assign({position:u},p&&zB),H=!0===d?$B({x:v,y:m},ee(r)):{x:v,y:m};return v=H.x,m=H.y,c?Object.assign({},I,((M={})[x]=w?"0":"",M[D]=y?"0":"",M.transform=(C.devicePixelRatio||1)<=1?"translate("+v+"px, "+m+"px)":"translate3d("+v+"px, "+m+"px, 0)",M)):Object.assign({},I,((t={})[x]=w?m+"px":"",t[D]=y?v+"px":"",t.transform="",t))}function OB(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=void 0===n||n,i=r.adaptive,l=void 0===i||i,u=r.roundOffsets,c=void 0===u||u,p={placement:ge(t.placement),variation:Qe(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ov(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ov(Object.assign({},p,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var zB,av,iv=F((()=>{je(),Oo(),ut(),Wt(),$o(),dr(),No(),fr(),zB={top:"auto",right:"auto",bottom:"auto",left:"auto"},a($B,"roundOffsetsByDPR"),a(ov,"mapToStyles"),a(OB,"computeStyles"),av={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:OB,data:{}}}));function NB(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,i=void 0===o||o,l=n.resize,u=void 0===l||l,c=ee(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&p.forEach((function(d){d.addEventListener("scroll",r.update,$l)})),u&&c.addEventListener("resize",r.update,$l),function(){i&&p.forEach((function(d){d.removeEventListener("scroll",r.update,$l)})),u&&c.removeEventListener("resize",r.update,$l)}}var $l,lv,sv=F((()=>{ut(),$l={passive:!0},a(NB,"effect"),lv={name:"eventListeners",enabled:!0,phase:"write",fn:a((function(){}),"fn"),effect:NB,data:{}}}));function jo(e){return e.replace(/left|right|bottom|top/g,(function(t){return jB[t]}))}var jB,uv=F((()=>{jB={left:"right",right:"left",bottom:"top",top:"bottom"},a(jo,"getOppositePlacement")}));function Ol(e){return e.replace(/start|end/g,(function(t){return VB[t]}))}var VB,cv=F((()=>{VB={start:"end",end:"start"},a(Ol,"getOppositeVariationPlacement")}));function en(e){var t=ee(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}var Nl=F((()=>{ut(),a(en,"getWindowScroll")}));function tn(e){return Je(xe(e)).left+en(e).scrollLeft}var jl=F((()=>{zo(),Wt(),Nl(),a(tn,"getWindowScrollBarX")}));function a1(e,t){var r=ee(e),n=xe(e),o=r.visualViewport,i=n.clientWidth,l=n.clientHeight,u=0,c=0;if(o){i=o.width,l=o.height;var p=$a();(p||!p&&"fixed"===t)&&(u=o.offsetLeft,c=o.offsetTop)}return{width:i,height:l,x:u+tn(e),y:c}}var pv=F((()=>{ut(),Wt(),jl(),J0(),a(a1,"getViewportRect")}));function i1(e){var t,r=xe(e),n=en(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=ct(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),l=ct(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),u=-n.scrollLeft+tn(e),c=-n.scrollTop;return"rtl"===ke(o||r).direction&&(u+=ct(r.clientWidth,o?o.clientWidth:0)-i),{width:i,height:l,x:u,y:c}}var dv=F((()=>{Wt(),$o(),jl(),Nl(),fr(),a(i1,"getDocumentRect")}));function rn(e){var t=ke(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}var Vl=F((()=>{$o(),a(rn,"isScrollParent")}));function ql(e){return["html","body","#document"].indexOf(me(e))>=0?e.ownerDocument.body:pe(e)&&rn(e)?e:ql(Ut(e))}var fv=F((()=>{Na(),Vl(),pr(),Ve(),a(ql,"getScrollParent")}));function hr(e,t){var r;void 0===t&&(t=[]);var n=ql(e),o=n===(null==(r=e.ownerDocument)?void 0:r.body),i=ee(n),l=o?[i].concat(i.visualViewport||[],rn(n)?n:[]):n,u=t.concat(l);return o?u:u.concat(hr(Ut(l)))}var l1=F((()=>{fv(),Na(),ut(),Vl(),a(hr,"listScrollParents")}));function Vo(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}var s1=F((()=>{a(Vo,"rectToClientRect")}));function qB(e,t){var r=Je(e,!1,"fixed"===t);return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function hv(e,t,r){return t===_l?Vo(a1(e,r)):Ze(t)?qB(t,r):Vo(i1(xe(e)))}function WB(e){var t=hr(Ut(e)),n=["absolute","fixed"].indexOf(ke(e).position)>=0&&pe(e)?pt(e):e;return Ze(n)?t.filter((function(o){return Ze(o)&&Oa(o,n)&&"body"!==me(o)})):[]}function u1(e,t,r,n){var o="clippingParents"===t?WB(e):[].concat(t),i=[].concat(o,[r]),l=i[0],u=i.reduce((function(c,p){var d=hv(e,p,n);return c.top=ct(d.top,c.top),c.right=Kr(d.right,c.right),c.bottom=Kr(d.bottom,c.bottom),c.left=ct(d.left,c.left),c}),hv(e,l,n));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}var mv=F((()=>{je(),pv(),dv(),l1(),Oo(),Wt(),$o(),Ve(),zo(),Na(),Q0(),pr(),s1(),fr(),a(qB,"getInnerBoundingClientRect"),a(hv,"getClientRectFromMixedType"),a(WB,"getClippingParents"),a(u1,"getClippingRect")}));function Wa(e){var c,t=e.reference,r=e.element,n=e.placement,o=n?ge(n):null,i=n?Qe(n):null,l=t.x+t.width/2-r.width/2,u=t.y+t.height/2-r.height/2;switch(o){case ne:c={x:l,y:t.y-r.height};break;case ce:c={x:l,y:t.y+t.height};break;case se:c={x:t.x+t.width,y:u};break;case oe:c={x:t.x-r.width,y:u};break;default:c={x:t.x,y:t.y}}var p=o?Jr(o):null;if(null!=p){var d="y"===p?"height":"width";switch(i){case Vt:c[p]=c[p]-(t[d]/2-r[d]/2);break;case Yr:c[p]=c[p]+(t[d]/2-r[d]/2)}}return c}var c1=F((()=>{dr(),No(),zl(),je(),a(Wa,"computeOffsets")}));function dt(e,t){void 0===t&&(t={});var r=t,n=r.placement,o=void 0===n?e.placement:n,i=r.strategy,l=void 0===i?e.strategy:i,u=r.boundary,c=void 0===u?X3:u,p=r.rootBoundary,d=void 0===p?_l:p,h=r.elementContext,f=void 0===h?_o:h,v=r.altBoundary,b=void 0!==v&&v,m=r.padding,g=void 0===m?0:m,y=Va("number"!=typeof g?g:qa(g,cr)),w=f===_o?Y3:_o,D=e.rects.popper,x=e.elements[b?w:f],C=u1(Ze(x)?x:x.contextElement||xe(e.elements.popper),c,d,l),E=Je(e.elements.reference),S=Wa({reference:E,element:D,strategy:"absolute",placement:o}),R=Vo(Object.assign({},D,S)),A=f===_o?R:E,k={top:C.top-A.top+y.top,bottom:A.bottom-C.bottom+y.bottom,left:C.left-A.left+y.left,right:A.right-C.right+y.right},I=e.modifiersData.offset;if(f===_o&&I){var H=I[o];Object.keys(k).forEach((function(M){var W=[se,ce].indexOf(M)>=0?1:-1,T=[ne,ce].indexOf(M)>=0?"y":"x";k[M]+=H[T]*W}))}return k}var Ua=F((()=>{mv(),Wt(),zo(),c1(),s1(),je(),Ve(),n1(),o1(),a(dt,"detectOverflow")}));function p1(e,t){void 0===t&&(t={});var r=t,n=r.placement,o=r.boundary,i=r.rootBoundary,l=r.padding,u=r.flipVariations,c=r.allowedAutoPlacements,p=void 0===c?Pl:c,d=Qe(n),h=d?u?K0:K0.filter((function(b){return Qe(b)===d})):cr,f=h.filter((function(b){return p.indexOf(b)>=0}));0===f.length&&(f=h);var v=f.reduce((function(b,m){return b[m]=dt(e,{placement:m,boundary:o,rootBoundary:i,padding:l})[ge(m)],b}),{});return Object.keys(v).sort((function(b,m){return v[b]-v[m]}))}var gv=F((()=>{No(),je(),Ua(),dr(),a(p1,"computeAutoPlacement")}));function UB(e){if(ge(e)===Ml)return[];var t=jo(e);return[Ol(e),t,Ol(t)]}function GB(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,i=void 0===o||o,l=r.altAxis,u=void 0===l||l,c=r.fallbackPlacements,p=r.padding,d=r.boundary,h=r.rootBoundary,f=r.altBoundary,v=r.flipVariations,b=void 0===v||v,m=r.allowedAutoPlacements,g=t.options.placement,y=ge(g),D=c||(y===g||!b?[jo(g)]:UB(g)),x=[g].concat(D).reduce((function(ve,de){return ve.concat(ge(de)===Ml?p1(t,{placement:de,boundary:d,rootBoundary:h,padding:p,flipVariations:b,allowedAutoPlacements:m}):de)}),[]),C=t.rects.reference,E=t.rects.popper,S=new Map,R=!0,A=x[0],k=0;k=0,T=W?"width":"height",L=dt(t,{placement:I,boundary:d,rootBoundary:h,altBoundary:f,padding:p}),P=W?M?se:oe:M?ce:ne;C[T]>E[T]&&(P=jo(P));var U=jo(P),N=[];if(i&&N.push(L[H]<=0),u&&N.push(L[P]<=0,L[U]<=0),N.every((function(ve){return ve}))){A=I,R=!1;break}S.set(I,N)}if(R)for(var G=b?3:1,z=a((function(de){var Ce=x.find((function(Le){var Be=S.get(Le);if(Be)return Be.slice(0,de).every((function(Yo){return Yo}))}));if(Ce)return A=Ce,"break"}),"_loop"),K=G;K>0;K--){if("break"===z(K))break}t.placement!==A&&(t.modifiersData[n]._skip=!0,t.placement=A,t.reset=!0)}}var vv,wv=F((()=>{uv(),dr(),cv(),Ua(),gv(),je(),No(),a(UB,"getExpandedFallbackPlacements"),a(GB,"flip"),vv={name:"flip",enabled:!0,phase:"main",fn:GB,requiresIfExists:["offset"],data:{_skip:!1}}}));function bv(e,t,r){return void 0===r&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function yv(e){return[ne,se,ce,oe].some((function(t){return e[t]>=0}))}function XB(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,l=dt(t,{elementContext:"reference"}),u=dt(t,{altBoundary:!0}),c=bv(l,n),p=bv(u,o,i),d=yv(c),h=yv(p);t.modifiersData[r]={referenceClippingOffsets:c,popperEscapeOffsets:p,isReferenceHidden:d,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":h})}var Dv,xv=F((()=>{je(),Ua(),a(bv,"getSideOffsets"),a(yv,"isAnySideFullyClipped"),a(XB,"hide"),Dv={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:XB}}));function YB(e,t,r){var n=ge(e),o=[oe,ne].indexOf(n)>=0?-1:1,i="function"==typeof r?r(Object.assign({},t,{placement:e})):r,l=i[0],u=i[1];return l=l||0,u=(u||0)*o,[oe,se].indexOf(n)>=0?{x:u,y:l}:{x:l,y:u}}function KB(e){var t=e.state,r=e.options,n=e.name,o=r.offset,i=void 0===o?[0,0]:o,l=Pl.reduce((function(d,h){return d[h]=YB(h,t.rects,i),d}),{}),u=l[t.placement],c=u.x,p=u.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=p),t.modifiersData[n]=l}var Cv,Ev=F((()=>{dr(),je(),a(YB,"distanceAndSkiddingToXY"),a(KB,"offset"),Cv={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:KB}}));function ZB(e){var t=e.state,r=e.name;t.modifiersData[r]=Wa({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var Sv,Rv=F((()=>{c1(),a(ZB,"popperOffsets"),Sv={name:"popperOffsets",enabled:!0,phase:"read",fn:ZB,data:{}}}));function d1(e){return"x"===e?"y":"x"}var Av=F((()=>{a(d1,"getAltAxis")}));function JB(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,i=void 0===o||o,l=r.altAxis,u=void 0!==l&&l,c=r.boundary,p=r.rootBoundary,d=r.altBoundary,h=r.padding,f=r.tether,v=void 0===f||f,b=r.tetherOffset,m=void 0===b?0:b,g=dt(t,{boundary:c,rootBoundary:p,padding:h,altBoundary:d}),y=ge(t.placement),w=Qe(t.placement),D=!w,x=Jr(y),C=d1(x),E=t.modifiersData.popperOffsets,S=t.rects.reference,R=t.rects.popper,A="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,k="number"==typeof A?{mainAxis:A,altAxis:A}:Object.assign({mainAxis:0,altAxis:0},A),I=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,H={x:0,y:0};if(E){if(i){var M,W="y"===x?ne:oe,T="y"===x?ce:se,L="y"===x?"height":"width",P=E[x],U=P+g[W],N=P-g[T],G=v?-R[L]/2:0,z=w===Vt?S[L]:R[L],K=w===Vt?-R[L]:-S[L],Te=t.elements.arrow,ve=v&&Te?Zr(Te):{width:0,height:0},de=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Ce=de[W],Le=de[T],Be=Qr(0,S[L],ve[L]),Yo=D?S[L]/2-G-Be-Ce-k.mainAxis:z-Be-Ce-k.mainAxis,Ko=D?-S[L]/2+G+Be+Le+k.mainAxis:K+Be+Le+k.mainAxis,ts=t.elements.arrow&&pt(t.elements.arrow),w4=ts?"y"===x?ts.clientTop||0:ts.clientLeft||0:0,j1=null!=(M=I?.[x])?M:0,y4=P+Ko-j1,V1=Qr(v?Kr(U,P+Yo-j1-w4):U,P,v?ct(N,y4):N);E[x]=V1,H[x]=V1-P}if(u){var q1,D4="x"===x?ne:oe,x4="x"===x?ce:se,vr=E[C],Ka="y"===C?"height":"width",W1=vr+g[D4],U1=vr-g[x4],rs=-1!==[ne,oe].indexOf(y),G1=null!=(q1=I?.[C])?q1:0,X1=rs?W1:vr-S[Ka]-R[Ka]-G1+k.altAxis,Y1=rs?vr+S[Ka]+R[Ka]-G1-k.altAxis:U1,K1=v&&rs?tv(X1,vr,Y1):Qr(v?X1:W1,vr,v?Y1:U1);E[C]=K1,H[C]=K1-vr}t.modifiersData[n]=H}}var Fv,kv=F((()=>{je(),dr(),zl(),Av(),t1(),Hl(),Oo(),Ua(),No(),r1(),fr(),a(JB,"preventOverflow"),Fv={name:"preventOverflow",enabled:!0,phase:"main",fn:JB,requiresIfExists:["offset"]}})),f1=F((()=>{}));function h1(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}var Tv=F((()=>{a(h1,"getHTMLElementScroll")}));function m1(e){return e!==ee(e)&&pe(e)?h1(e):en(e)}var Lv=F((()=>{Nl(),ut(),Ve(),Tv(),a(m1,"getNodeScroll")}));function QB(e){var t=e.getBoundingClientRect(),r=qt(t.width)/e.offsetWidth||1,n=qt(t.height)/e.offsetHeight||1;return 1!==r||1!==n}function g1(e,t,r){void 0===r&&(r=!1);var n=pe(t),o=pe(t)&&QB(t),i=xe(t),l=Je(e,o,r),u={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(n||!n&&!r)&&(("body"!==me(t)||rn(i))&&(u=m1(t)),pe(t)?((c=Je(t,!0)).x+=t.clientLeft,c.y+=t.clientTop):i&&(c.x=tn(i))),{x:l.left+u.scrollLeft-c.x,y:l.top+u.scrollTop-c.y,width:l.width,height:l.height}}var Bv=F((()=>{zo(),Lv(),pr(),Ve(),jl(),Wt(),Vl(),fr(),a(QB,"isElementScaled"),a(g1,"getCompositeRect")}));function eI(e){var t=new Map,r=new Set,n=[];function o(i){r.add(i.name),[].concat(i.requires||[],i.requiresIfExists||[]).forEach((function(u){if(!r.has(u)){var c=t.get(u);c&&o(c)}})),n.push(i)}return e.forEach((function(i){t.set(i.name,i)})),a(o,"sort"),e.forEach((function(i){r.has(i.name)||o(i)})),n}function v1(e){var t=eI(e);return K3.reduce((function(r,n){return r.concat(t.filter((function(o){return o.phase===n})))}),[])}var Iv=F((()=>{je(),a(eI,"order"),a(v1,"orderModifiers")}));function w1(e){var t;return function(){return t||(t=new Promise((function(r){Promise.resolve().then((function(){t=void 0,r(e())}))}))),t}}var Mv=F((()=>{a(w1,"debounce")}));function b1(e){var t=e.reduce((function(r,n){var o=r[n.name];return r[n.name]=o?Object.assign({},o,n,{options:Object.assign({},o.options,n.options),data:Object.assign({},o.data,n.data)}):n,r}),{});return Object.keys(t).map((function(r){return t[r]}))}var _v=F((()=>{a(b1,"mergeByName")}));function Hv(){for(var e=arguments.length,t=new Array(e),r=0;r{Bv(),Hl(),l1(),Oo(),Iv(),Mv(),_v(),Ve(),Pv={placement:"bottom",modifiers:[],strategy:"absolute"},a(Hv,"areValidElements"),a(zv,"popperGenerator")})),Ov=F((()=>{$v(),sv(),Rv(),iv(),J3(),Ev(),wv(),kv(),nv(),xv(),f1(),y1=zv({defaultModifiers:[lv,Sv,av,Z3,Cv,vv,Fv,rv,Dv]})})),Nv=F((()=>{je(),f1(),Ov()})),Vv=_(((AZ,jv)=>{var rI=typeof Element<"u",nI="function"==typeof Map,oI="function"==typeof Set,aI="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function Wl(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;var r,n,o,i;if(Array.isArray(e)){if((r=e.length)!=t.length)return!1;for(n=r;0!=n--;)if(!Wl(e[n],t[n]))return!1;return!0}if(nI&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(i=e.entries();!(n=i.next()).done;)if(!t.has(n.value[0]))return!1;for(i=e.entries();!(n=i.next()).done;)if(!Wl(n.value[1],t.get(n.value[0])))return!1;return!0}if(oI&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(i=e.entries();!(n=i.next()).done;)if(!t.has(n.value[0]))return!1;return!0}if(aI&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if((r=e.length)!=t.length)return!1;for(n=r;0!=n--;)if(e[n]!==t[n])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof t.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof t.toString)return e.toString()===t.toString();if((r=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!Object.prototype.hasOwnProperty.call(t,o[n]))return!1;if(rI&&e instanceof Element)return!1;for(n=r;0!=n--;)if(("_owner"!==o[n]&&"__v"!==o[n]&&"__o"!==o[n]||!e.$$typeof)&&!Wl(e[o[n]],t[o[n]]))return!1;return!0}return e!=e&&t!=t}a(Wl,"equal"),jv.exports=a((function(t,r){try{return Wl(t,r)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}),"isEqual")})),Uv=F((()=>{Nv(),Wv=we(Vv()),G3(),iI=[],D1=a((function(t,r,n){void 0===n&&(n={});var o=react__WEBPACK_IMPORTED_MODULE_0__.useRef(null),i={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||iI},l=react__WEBPACK_IMPORTED_MODULE_0__.useState({styles:{popper:{position:i.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),u=l[0],c=l[1],p=react__WEBPACK_IMPORTED_MODULE_0__.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:a((function(v){var b=v.state,m=Object.keys(b.elements);react_dom__WEBPACK_IMPORTED_MODULE_3__.flushSync((function(){c({styles:X0(m.map((function(g){return[g,b.styles[g]||{}]}))),attributes:X0(m.map((function(g){return[g,b.attributes[g]]})))})}))}),"fn"),requires:["computeStyles"]}}),[]),d=react__WEBPACK_IMPORTED_MODULE_0__.useMemo((function(){var f={onFirstUpdate:i.onFirstUpdate,placement:i.placement,strategy:i.strategy,modifiers:[].concat(i.modifiers,[p,{name:"applyStyles",enabled:!1}])};return(0,Wv.default)(o.current,f)?o.current||f:(o.current=f,f)}),[i.onFirstUpdate,i.placement,i.strategy,i.modifiers,p]),h=react__WEBPACK_IMPORTED_MODULE_0__.useRef();return Y0((function(){h.current&&h.current.setOptions(d)}),[d]),Y0((function(){if(null!=t&&null!=r){var v=(n.createPopper||y1)(t,r,d);return h.current=v,function(){v.destroy(),h.current=null}}}),[t,r,n.createPopper]),{state:h.current?h.current.state:null,styles:u.styles,attributes:u.attributes,update:h.current?h.current.update:null,forceUpdate:h.current?h.current.forceUpdate:null}}),"usePopper")})),Gv=F((()=>{Uv()}));function Kv(e){var t=react__WEBPACK_IMPORTED_MODULE_0__.useRef(e);return t.current=e,react__WEBPACK_IMPORTED_MODULE_0__.useCallback((function(){return t.current}),[])}function sI(e){var t=e.initial,r=e.value,n=e.onChange,o=void 0===n?lI:n;if(void 0===t&&void 0===r)throw new TypeError('Either "value" or "initial" variable must be set. Now both are undefined');var i=react__WEBPACK_IMPORTED_MODULE_0__.useState(t),l=i[0],u=i[1],c=Kv(l),p=react__WEBPACK_IMPORTED_MODULE_0__.useCallback((function(h){var f=c(),v="function"==typeof h?h(f):h;"function"==typeof v.persist&&v.persist(),u(v),"function"==typeof o&&o(v)}),[c,o]),d=void 0!==r;return[d?r:l,d?o:p]}function Zv(e,t){return void 0===e&&(e=0),void 0===t&&(t=0),function(){return{width:0,height:0,top:t,right:e,bottom:t,left:e,x:0,y:0,toJSON:a((function(){return null}),"toJSON")}}}function Jv(e,t){var r,n,o;void 0===e&&(e={}),void 0===t&&(t={});var i=Object.keys(Yv).reduce((function(T,L){var P;return $({},T,((P={})[L]=void 0!==T[L]?T[L]:Yv[L],P))}),e),l=react__WEBPACK_IMPORTED_MODULE_0__.useMemo((function(){return[{name:"offset",options:{offset:i.offset}}]}),Array.isArray(i.offset)?i.offset:[]),u=$({},t,{placement:t.placement||i.placement,modifiers:t.modifiers||l}),c=react__WEBPACK_IMPORTED_MODULE_0__.useState(null),p=c[0],d=c[1],h=react__WEBPACK_IMPORTED_MODULE_0__.useState(null),f=h[0],v=h[1],b=sI({initial:i.defaultVisible,value:i.visible,onChange:i.onVisibleChange}),m=b[0],g=b[1],y=react__WEBPACK_IMPORTED_MODULE_0__.useRef();react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){return function(){return clearTimeout(y.current)}}),[]);var w=D1(i.followCursor?Xv:p,f,u),D=w.styles,x=w.attributes,C=un(w,uI),E=C.update,S=Kv({visible:m,triggerRef:p,tooltipRef:f,finalConfig:i}),R=react__WEBPACK_IMPORTED_MODULE_0__.useCallback((function(T){return Array.isArray(i.trigger)?i.trigger.includes(T):i.trigger===T}),Array.isArray(i.trigger)?i.trigger:[i.trigger]),A=react__WEBPACK_IMPORTED_MODULE_0__.useCallback((function(){clearTimeout(y.current),y.current=window.setTimeout((function(){return g(!1)}),i.delayHide)}),[i.delayHide,g]),k=react__WEBPACK_IMPORTED_MODULE_0__.useCallback((function(){clearTimeout(y.current),y.current=window.setTimeout((function(){return g(!0)}),i.delayShow)}),[i.delayShow,g]),I=react__WEBPACK_IMPORTED_MODULE_0__.useCallback((function(){S().visible?A():k()}),[S,A,k]);react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){if(S().finalConfig.closeOnOutsideClick){var T=a((function(P){var U,N=S(),G=N.tooltipRef,z=N.triggerRef,K=(null==P.composedPath||null==(U=P.composedPath())?void 0:U[0])||P.target;K instanceof Node&&null!=G&&null!=z&&!G.contains(K)&&!z.contains(K)&&A()}),"handleClickOutside");return document.addEventListener("mousedown",T),function(){return document.removeEventListener("mousedown",T)}}}),[S,A]),react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){if(null!=p&&R("click"))return p.addEventListener("click",I),function(){return p.removeEventListener("click",I)}}),[p,R,I]),react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){if(null!=p&&R("double-click"))return p.addEventListener("dblclick",I),function(){return p.removeEventListener("dblclick",I)}}),[p,R,I]),react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){if(null!=p&&R("right-click")){var T=a((function(P){P.preventDefault(),I()}),"preventDefaultAndToggle");return p.addEventListener("contextmenu",T),function(){return p.removeEventListener("contextmenu",T)}}}),[p,R,I]),react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){if(null!=p&&R("focus"))return p.addEventListener("focus",k),p.addEventListener("blur",A),function(){p.removeEventListener("focus",k),p.removeEventListener("blur",A)}}),[p,R,k,A]),react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){if(null!=p&&R("hover"))return p.addEventListener("mouseenter",k),p.addEventListener("mouseleave",A),function(){p.removeEventListener("mouseenter",k),p.removeEventListener("mouseleave",A)}}),[p,R,k,A]),react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){if(null!=f&&R("hover")&&S().finalConfig.interactive)return f.addEventListener("mouseenter",k),f.addEventListener("mouseleave",A),function(){f.removeEventListener("mouseenter",k),f.removeEventListener("mouseleave",A)}}),[f,R,k,A,S]);var H=null==C||null==(r=C.state)||null==(n=r.modifiersData)||null==(o=n.hide)?void 0:o.isReferenceHidden;react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){i.closeOnTriggerHidden&&H&&A()}),[i.closeOnTriggerHidden,A,H]),react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){if(i.followCursor&&null!=p)return a(T,"setMousePosition"),p.addEventListener("mousemove",T),function(){return p.removeEventListener("mousemove",T)};function T(L){var P=L.clientX,U=L.clientY;Xv.getBoundingClientRect=Zv(P,U),E?.()}}),[i.followCursor,p,E]),react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){if(null!=f&&null!=E&&null!=i.mutationObserverOptions){var T=new MutationObserver(E);return T.observe(f,i.mutationObserverOptions),function(){return T.disconnect()}}}),[i.mutationObserverOptions,f,E]);var M=a((function(L){return void 0===L&&(L={}),$({},L,{style:$({},L.style,D.popper)},x.popper,{"data-popper-interactive":i.interactive})}),"getTooltipProps"),W=a((function(L){return void 0===L&&(L={}),$({},L,x.arrow,{style:$({},L.style,D.arrow),"data-popper-arrow":!0})}),"getArrowProps");return $({getArrowProps:W,getTooltipProps:M,setTooltipRef:v,setTriggerRef:d,tooltipRef:f,triggerRef:p,visible:m},C)}var lI,uI,Xv,Yv,t4,et,cI,pI,C1,Qv=F((()=>{ni(),tt(),Gv(),a(Kv,"useGetLatest"),lI=a((function(){}),"noop"),a(sI,"useControlledState"),a(Zv,"generateBoundingClientRect"),uI=["styles","attributes"],Xv={getBoundingClientRect:Zv()},Yv={closeOnOutsideClick:!0,closeOnTriggerHidden:!1,defaultVisible:!1,delayHide:0,delayShow:0,followCursor:!1,interactive:!1,mutationObserverOptions:{attributes:!0,childList:!0,subtree:!0},offset:[0,6],trigger:"hover"},a(Jv,"usePopperTooltip")})),r4=F((()=>{t4=we(ea(),1),et=(0,t4.default)(1e3)(((e,t,r,n=0)=>t.split("-")[0]===e?r:n)),cI=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div({position:"absolute",borderStyle:"solid"},(({placement:e})=>{let t=0,r=0;switch(!0){case e.startsWith("left")||e.startsWith("right"):r=8;break;case e.startsWith("top")||e.startsWith("bottom"):t=8}return{transform:`translate3d(${t}px, ${r}px, 0px)`}}),(({theme:e,color:t,placement:r})=>({bottom:`${et("top",r,"-8px","auto")}`,top:`${et("bottom",r,"-8px","auto")}`,right:`${et("left",r,"-8px","auto")}`,left:`${et("right",r,"-8px","auto")}`,borderBottomWidth:`${et("top",r,"0",8)}px`,borderTopWidth:`${et("bottom",r,"0",8)}px`,borderRightWidth:`${et("left",r,"0",8)}px`,borderLeftWidth:`${et("right",r,"0",8)}px`,borderTopColor:et("top",r,e.color[t]||t||"light"===e.base?(0,_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.a)(e.background.app):e.background.app,"transparent"),borderBottomColor:et("bottom",r,e.color[t]||t||"light"===e.base?(0,_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.a)(e.background.app):e.background.app,"transparent"),borderLeftColor:et("left",r,e.color[t]||t||"light"===e.base?(0,_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.a)(e.background.app):e.background.app,"transparent"),borderRightColor:et("right",r,e.color[t]||t||"light"===e.base?(0,_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.a)(e.background.app):e.background.app,"transparent")}))),pI=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div((({hidden:e})=>({display:e?"none":"inline-block",zIndex:2147483647})),(({theme:e,color:t,hasChrome:r})=>r?{background:t&&e.color[t]||t||"light"===e.base?(0,_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.a)(e.background.app):e.background.app,filter:"\n drop-shadow(0px 5px 5px rgba(0,0,0,0.05))\n drop-shadow(0 1px 3px rgba(0,0,0,0.1))\n ",borderRadius:e.appBorderRadius,fontSize:e.typography.size.s1}:{})),(C1=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({placement:e="top",hasChrome:t=!0,children:r,arrowProps:n={},tooltipRef:o,color:i,withArrows:l,...u},c)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(pI,{"data-testid":"tooltip",hasChrome:t,ref:c,...u,color:i},t&&l&&react__WEBPACK_IMPORTED_MODULE_0__.createElement(cI,{placement:e,...n,color:i}),r)))).displayName="Tooltip"})),S1={};ln(S1,{WithToolTipState:()=>E1,WithTooltip:()=>E1,WithTooltipPure:()=>o4});var Ul,gI,vI,o4,E1,Gl=F((()=>{ri(),Qv(),r4(),({document:Ul}=sn),gI=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div` + display: inline-block; + cursor: ${e=>"hover"===e.trigger||e.trigger.includes("hover")?"default":"pointer"}; +`,vI=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.g` + cursor: ${e=>"hover"===e.trigger||e.trigger.includes("hover")?"default":"pointer"}; +`,o4=a((({svg:e=!1,trigger:t="click",closeOnOutsideClick:r=!1,placement:n="top",modifiers:o=[{name:"preventOverflow",options:{padding:8}},{name:"offset",options:{offset:[8,8]}},{name:"arrow",options:{padding:8}}],hasChrome:i=!0,defaultVisible:l=!1,withArrows:u,offset:c,tooltip:p,children:d,closeOnTriggerHidden:h,mutationObserverOptions:f,delayHide:v,visible:b,interactive:m,delayShow:g,strategy:y,followCursor:w,onVisibleChange:D,...x})=>{let C=e?vI:gI,{getArrowProps:E,getTooltipProps:S,setTooltipRef:R,setTriggerRef:A,visible:k,state:I}=Jv({trigger:t,placement:n,defaultVisible:l,delayHide:v,interactive:m,closeOnOutsideClick:r,closeOnTriggerHidden:h,onVisibleChange:D,delayShow:g,followCursor:w,mutationObserverOptions:f,visible:b,offset:c},{modifiers:o,strategy:y}),H=react__WEBPACK_IMPORTED_MODULE_0__.createElement(C1,{placement:I?.placement,ref:R,hasChrome:i,arrowProps:E(),withArrows:u,...S()},"function"==typeof p?p({onHide:a((()=>D(!1)),"onHide")}):p);return react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement(C,{trigger:t,ref:A,...x},d),k&&react_dom__WEBPACK_IMPORTED_MODULE_3__.createPortal(H,Ul.body))}),"WithTooltipPure"),E1=a((({startOpen:e=!1,onVisibleChange:t,...r})=>{let[n,o]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(e),i=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((l=>{t&&!1===t(l)||o(l)}),[t]);return(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{let l=a((()=>i(!1)),"hide");Ul.addEventListener("keydown",l,!1);let u=Array.from(Ul.getElementsByTagName("iframe")),c=[];return u.forEach((p=>{let d=a((()=>{try{p.contentWindow.document&&(p.contentWindow.document.addEventListener("click",l),c.push((()=>{try{p.contentWindow.document.removeEventListener("click",l)}catch{}})))}catch{}}),"bind");d(),p.addEventListener("load",d),c.push((()=>{p.removeEventListener("load",d)}))})),()=>{Ul.removeEventListener("keydown",l),c.forEach((p=>{p()}))}})),react__WEBPACK_IMPORTED_MODULE_0__.createElement(o4,{...r,visible:n,onVisibleChange:i})}),"WithToolTipState")})),te=a((({...e},t)=>{let r=[e.class,e.className];return delete e.class,e.className=["sbdocs",`sbdocs-${t}`,...r].filter(Boolean).join(" "),e}),"nameSpaceClassNames");function Q1(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Xt(e,t)}function tp(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch{return"function"==typeof e}}function ns(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch{}return(ns=a((function(){return!!e}),"_isNativeReflectConstruct"))()}function rp(e,t,r){if(ns())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var o=new(e.bind.apply(e,n));return r&&Xt(o,r.prototype),o}function ei(e){var t="function"==typeof Map?new Map:void 0;return ei=a((function(n){if(null===n||!tp(n))return n;if("function"!=typeof n)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return rp(n,arguments,Qa(this).constructor)}return a(o,"Wrapper"),o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Xt(o,n)}),"_wrapNativeSuper"),ei(e)}tt(),J1(),Ja(),a(Q1,"_inheritsLoose"),ep(),Ja(),a(tp,"_isNativeFunction"),a(ns,"_isNativeReflectConstruct"),Ja(),a(rp,"_construct"),a(ei,"_wrapNativeSuper");var k4={1:"Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }).\n\n",2:"Passed invalid arguments to hsla, please pass multiple numbers e.g. hsla(360, 0.75, 0.4, 0.7) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75, alpha: 0.7 }).\n\n",3:"Passed an incorrect argument to a color function, please pass a string representation of a color.\n\n",4:"Couldn't generate valid rgb string from %s, it returned %s.\n\n",5:"Couldn't parse the color string. Please provide the color as a string in hex, rgb, rgba, hsl or hsla notation.\n\n",6:"Passed invalid arguments to rgb, please pass multiple numbers e.g. rgb(255, 205, 100) or an object e.g. rgb({ red: 255, green: 205, blue: 100 }).\n\n",7:"Passed invalid arguments to rgba, please pass multiple numbers e.g. rgb(255, 205, 100, 0.75) or an object e.g. rgb({ red: 255, green: 205, blue: 100, alpha: 0.75 }).\n\n",8:"Passed invalid argument to toColorString, please pass a RgbColor, RgbaColor, HslColor or HslaColor object.\n\n",9:"Please provide a number of steps to the modularScale helper.\n\n",10:"Please pass a number or one of the predefined scales to the modularScale helper as the ratio.\n\n",11:'Invalid value passed as base to modularScale, expected number or em string but got "%s"\n\n',12:'Expected a string ending in "px" or a number passed as the first argument to %s(), got "%s" instead.\n\n',13:'Expected a string ending in "px" or a number passed as the second argument to %s(), got "%s" instead.\n\n',14:'Passed invalid pixel value ("%s") to %s(), please pass a value like "12px" or 12.\n\n',15:'Passed invalid base value ("%s") to %s(), please pass a value like "12px" or 12.\n\n',16:"You must provide a template to this method.\n\n",17:"You passed an unsupported selector state to this method.\n\n",18:"minScreen and maxScreen must be provided as stringified numbers with the same units.\n\n",19:"fromSize and toSize must be provided as stringified numbers with the same units.\n\n",20:"expects either an array of objects or a single object with the properties prop, fromSize, and toSize.\n\n",21:"expects the objects in the first argument array to have the properties `prop`, `fromSize`, and `toSize`.\n\n",22:"expects the first argument object to have the properties `prop`, `fromSize`, and `toSize`.\n\n",23:"fontFace expects a name of a font-family.\n\n",24:"fontFace expects either the path to the font file(s) or a name of a local copy.\n\n",25:"fontFace expects localFonts to be an array.\n\n",26:"fontFace expects fileFormats to be an array.\n\n",27:"radialGradient requries at least 2 color-stops to properly render.\n\n",28:"Please supply a filename to retinaImage() as the first argument.\n\n",29:"Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'.\n\n",30:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",31:"The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation\n\n",32:"To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s')\n\n",33:"The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation\n\n",34:"borderRadius expects a radius value as a string or number as the second argument.\n\n",35:'borderRadius expects one of "top", "bottom", "left" or "right" as the first argument.\n\n',36:"Property must be a string value.\n\n",37:"Syntax Error at %s.\n\n",38:"Formula contains a function that needs parentheses at %s.\n\n",39:"Formula is missing closing parenthesis at %s.\n\n",40:"Formula has too many closing parentheses at %s.\n\n",41:"All values in a formula must have the same unit or be unitless.\n\n",42:"Please provide a number of steps to the modularScale helper.\n\n",43:"Please pass a number or one of the predefined scales to the modularScale helper as the ratio.\n\n",44:"Invalid value passed as base to modularScale, expected number or em/rem string but got %s.\n\n",45:"Passed invalid argument to hslToColorString, please pass a HslColor or HslaColor object.\n\n",46:"Passed invalid argument to rgbToColorString, please pass a RgbColor or RgbaColor object.\n\n",47:"minScreen and maxScreen must be provided as stringified numbers with the same units.\n\n",48:"fromSize and toSize must be provided as stringified numbers with the same units.\n\n",49:"Expects either an array of objects or a single object with the properties prop, fromSize, and toSize.\n\n",50:"Expects the objects in the first argument array to have the properties prop, fromSize, and toSize.\n\n",51:"Expects the first argument object to have the properties prop, fromSize, and toSize.\n\n",52:"fontFace expects either the path to the font file(s) or a name of a local copy.\n\n",53:"fontFace expects localFonts to be an array.\n\n",54:"fontFace expects fileFormats to be an array.\n\n",55:"fontFace expects a name of a font-family.\n\n",56:"linearGradient requries at least 2 color-stops to properly render.\n\n",57:"radialGradient requries at least 2 color-stops to properly render.\n\n",58:"Please supply a filename to retinaImage() as the first argument.\n\n",59:"Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'.\n\n",60:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",61:"Property must be a string value.\n\n",62:"borderRadius expects a radius value as a string or number as the second argument.\n\n",63:'borderRadius expects one of "top", "bottom", "left" or "right" as the first argument.\n\n',64:"The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation.\n\n",65:"To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s').\n\n",66:"The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation.\n\n",67:"You must provide a template to this method.\n\n",68:"You passed an unsupported selector state to this method.\n\n",69:'Expected a string ending in "px" or a number passed as the first argument to %s(), got %s instead.\n\n',70:'Expected a string ending in "px" or a number passed as the second argument to %s(), got %s instead.\n\n',71:'Passed invalid pixel value %s to %s(), please pass a value like "12px" or 12.\n\n',72:'Passed invalid base value %s to %s(), please pass a value like "12px" or 12.\n\n',73:"Please provide a valid CSS variable.\n\n",74:"CSS variable not found and no default was provided.\n\n",75:"important requires a valid style object, got a %s instead.\n\n",76:"fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen.\n\n",77:'remToPx expects a value in "rem" but you provided it in "%s".\n\n',78:'base must be set in "px" or "%" but you set it in "%s".\n'};function T4(){for(var e=arguments.length,t=new Array(e),r=0;r1?o-1:0),l=1;l=0&&o<1?(u=i,c=l):o>=1&&o<2?(u=l,c=i):o>=2&&o<3?(c=i,p=l):o>=3&&o<4?(c=l,p=i):o>=4&&o<5?(u=l,p=i):o>=5&&o<6&&(u=i,p=l);var d=r-i/2;return n(u+d,c+d,p+d)}a(os,"colorToInt"),a(L4,"convertToInt"),a(Jo,"hslToRgb");var np={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function B4(e){if("string"!=typeof e)return e;var t=e.toLowerCase();return np[t]?"#"+np[t]:e}a(B4,"nameToHex");var I4=/^#[a-fA-F0-9]{6}$/,M4=/^#[a-fA-F0-9]{8}$/,_4=/^#[a-fA-F0-9]{3}$/,P4=/^#[a-fA-F0-9]{4}$/,as=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,H4=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,z4=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,$4=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function us(e){if("string"!=typeof e)throw new ht(3);var t=B4(e);if(t.match(I4))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(M4)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(_4))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(P4)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var o=as.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var i=H4.exec(t.substring(0,50));if(i)return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10),alpha:parseFloat(""+i[4])>1?parseFloat(""+i[4])/100:parseFloat(""+i[4])};var l=z4.exec(t);if(l){var d="rgb("+Jo(parseInt(""+l[1],10),parseInt(""+l[2],10)/100,parseInt(""+l[3],10)/100)+")",h=as.exec(d);if(!h)throw new ht(4,t,d);return{red:parseInt(""+h[1],10),green:parseInt(""+h[2],10),blue:parseInt(""+h[3],10)}}var f=$4.exec(t.substring(0,50));if(f){var g="rgb("+Jo(parseInt(""+f[1],10),parseInt(""+f[2],10)/100,parseInt(""+f[3],10)/100)+")",y=as.exec(g);if(!y)throw new ht(4,t,g);return{red:parseInt(""+y[1],10),green:parseInt(""+y[2],10),blue:parseInt(""+y[3],10),alpha:parseFloat(""+f[4])>1?parseFloat(""+f[4])/100:parseFloat(""+f[4])}}throw new ht(5)}function O4(e){var t=e.red/255,r=e.green/255,n=e.blue/255,o=Math.max(t,r,n),i=Math.min(t,r,n),l=(o+i)/2;if(o===i)return void 0!==e.alpha?{hue:0,saturation:0,lightness:l,alpha:e.alpha}:{hue:0,saturation:0,lightness:l};var u,c=o-i,p=l>.5?c/(2-o-i):c/(o+i);switch(o){case t:u=(r-n)/c+(r=1?ti(e,t,r):"rgba("+Jo(e,t,r)+","+n+")";if("object"==typeof e&&void 0===t&&void 0===r&&void 0===n)return e.alpha>=1?ti(e.hue,e.saturation,e.lightness):"rgba("+Jo(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new ht(2)}function ss(e,t,r){if("number"==typeof e&&"number"==typeof t&&"number"==typeof r)return ls("#"+wr(e)+wr(t)+wr(r));if("object"==typeof e&&void 0===t&&void 0===r)return ls("#"+wr(e.red)+wr(e.green)+wr(e.blue));throw new ht(6)}function Qo(e,t,r,n){if("string"==typeof e&&"number"==typeof t){var o=us(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}if("number"==typeof e&&"number"==typeof t&&"number"==typeof r&&"number"==typeof n)return n>=1?ss(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if("object"==typeof e&&void 0===t&&void 0===r&&void 0===n)return e.alpha>=1?ss(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new ht(7)}a(wr,"numberToHex"),a(is,"colorToHex"),a(j4,"convertToHex"),a(ti,"hslToHex"),a(V4,"hsl"),a(q4,"hsla"),a(ss,"rgb"),a(Qo,"rgba");var W4=a((function(t){return"number"==typeof t.red&&"number"==typeof t.green&&"number"==typeof t.blue&&("number"!=typeof t.alpha||typeof t.alpha>"u")}),"isRgb"),U4=a((function(t){return"number"==typeof t.red&&"number"==typeof t.green&&"number"==typeof t.blue&&"number"==typeof t.alpha}),"isRgba"),G4=a((function(t){return"number"==typeof t.hue&&"number"==typeof t.saturation&&"number"==typeof t.lightness&&("number"!=typeof t.alpha||typeof t.alpha>"u")}),"isHsl"),X4=a((function(t){return"number"==typeof t.hue&&"number"==typeof t.saturation&&"number"==typeof t.lightness&&"number"==typeof t.alpha}),"isHsla");function ap(e){if("object"!=typeof e)throw new ht(8);if(U4(e))return Qo(e);if(W4(e))return ss(e);if(X4(e))return q4(e);if(G4(e))return V4(e);throw new ht(8)}function ip(e,t,r){return a((function(){var o=r.concat(Array.prototype.slice.call(arguments));return o.length>=t?e.apply(this,o):ip(e,t,o)}),"fn")}function cs(e){return ip(e,e.length,[])}function ps(e,t,r){return Math.max(e,Math.min(t,r))}function Y4(e,t){if("transparent"===t)return t;var r=op(t);return ap($({},r,{lightness:ps(0,1,r.lightness-parseFloat(e))}))}a(ap,"toColorString"),a(ip,"curried"),a(cs,"curry"),a(ps,"guard"),a(Y4,"darken");var Yt=cs(Y4);function Z4(e,t){if("transparent"===t)return t;var r=op(t);return ap($({},r,{lightness:ps(0,1,r.lightness+parseFloat(e))}))}a(Z4,"lighten");var ds=cs(Z4);function Q4(e,t){if("transparent"===t)return t;var r=us(t);return Qo($({},r,{alpha:ps(0,1,+(100*("number"==typeof r.alpha?r.alpha:1)-100*parseFloat(e)).toFixed(2)/100)}))}a(Q4,"transparentize");var be=cs(Q4),qe=a((({theme:e})=>({margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}})),"headerCommon"),kt=a((({theme:e})=>({lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:"light"===e.base?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:"light"===e.base?be(.1,e.color.defaultText):be(.3,e.color.defaultText),backgroundColor:"light"===e.base?e.color.lighter:e.color.border})),"codeCommon"),q=a((({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"})),"withReset"),Ie={margin:"16px 0"},lp=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div(q),sp=a((({href:e="",...t})=>{let n=/^\//.test(e)?`./?path=${e}`:e,i=/^#.*/.test(e)?"_self":"_top";return react__WEBPACK_IMPORTED_MODULE_0__.createElement("a",{href:n,target:i,...t})}),"Link"),fs=(0,_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4)(sp)(q,(({theme:e})=>({fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}}))),hs=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.blockquote(q,Ie,(({theme:e})=>({borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}})));ca();var c5=a((e=>"string"==typeof e),"isReactChildString"),db=/[\n\r]/g,fb=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.code((({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"})),kt),hb=(0,_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4)(ua)((({theme:e})=>({fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s2-1+"px",lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:"light"===e.base?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}}))),mu=a((({className:e,children:t,...r})=>{let n=(e||"").match(/lang-(\S+)/),o=react__WEBPACK_IMPORTED_MODULE_0__.Children.toArray(t);return o.filter(c5).some((l=>l.match(db)))?react__WEBPACK_IMPORTED_MODULE_0__.createElement(hb,{bordered:!0,copyable:!0,language:n?.[1]??"text",format:!1,...r},t):react__WEBPACK_IMPORTED_MODULE_0__.createElement(fb,{...r,className:e},o)}),"Code"),gu=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.dl(q,Ie,{padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}}),vu=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div(q),wu=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.h1(q,qe,(({theme:e})=>({fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold}))),bu=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.h2(q,qe,(({theme:e})=>({fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`}))),yu=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.h3(q,qe,(({theme:e})=>({fontSize:`${e.typography.size.m1}px`}))),Du=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.h4(q,qe,(({theme:e})=>({fontSize:`${e.typography.size.s3}px`}))),xu=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.h5(q,qe,(({theme:e})=>({fontSize:`${e.typography.size.s2}px`}))),Cu=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.h6(q,qe,(({theme:e})=>({fontSize:`${e.typography.size.s2}px`,color:e.color.dark}))),Eu=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.hr((({theme:e})=>({border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0}))),Su=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.img({maxWidth:"100%"}),Ru=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.li(q,(({theme:e})=>({fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":kt({theme:e})}))),Au=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.ol(q,Ie,{paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},{listStyle:"decimal"}),Fu=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.p(q,Ie,(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":kt({theme:e})}))),ku=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.pre(q,Ie,(({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}}))),Tu=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.span(q,(({theme:e})=>({"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}}))),Lu=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.title(kt),Bu=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.table(q,Ie,(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:"dark"===e.base?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}}))),Iu=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.ul(q,Ie,{paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},{listStyle:"disc"}),Mu={h1:a((e=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(wu,{...te(e,"h1")})),"h1"),h2:a((e=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(bu,{...te(e,"h2")})),"h2"),h3:a((e=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(yu,{...te(e,"h3")})),"h3"),h4:a((e=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(Du,{...te(e,"h4")})),"h4"),h5:a((e=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(xu,{...te(e,"h5")})),"h5"),h6:a((e=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(Cu,{...te(e,"h6")})),"h6"),pre:a((e=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(ku,{...te(e,"pre")})),"pre"),a:a((e=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(fs,{...te(e,"a")})),"a"),hr:a((e=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(Eu,{...te(e,"hr")})),"hr"),dl:a((e=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(gu,{...te(e,"dl")})),"dl"),blockquote:a((e=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(hs,{...te(e,"blockquote")})),"blockquote"),table:a((e=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(Bu,{...te(e,"table")})),"table"),img:a((e=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(Su,{...te(e,"img")})),"img"),div:a((e=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(vu,{...te(e,"div")})),"div"),span:a((e=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(Tu,{...te(e,"span")})),"span"),li:a((e=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(Ru,{...te(e,"li")})),"li"),ul:a((e=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(Iu,{...te(e,"ul")})),"ul"),ol:a((e=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(Au,{...te(e,"ol")})),"ol"),p:a((e=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(Fu,{...te(e,"p")})),"p"),code:a((e=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(mu,{...te(e,"code")})),"code"),tt:a((e=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(Lu,{...te(e,"tt")})),"tt"),resetwrapper:a((e=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(lp,{...te(e,"resetwrapper")})),"resetwrapper")},zu=(_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div((({theme:e})=>({display:"inline-block",fontSize:11,lineHeight:"12px",alignSelf:"center",padding:"4px 12px",borderRadius:"3em",fontWeight:e.typography.weight.bold})),{svg:{height:12,width:12,marginRight:4,marginTop:-2,path:{fill:"currentColor"}}},(({theme:e,status:t})=>{switch(t){case"critical":return{color:e.color.critical,background:e.background.critical};case"negative":return{color:e.color.negativeText,background:e.background.negative,boxShadow:"light"===e.base?`inset 0 0 0 1px ${be(.9,e.color.negativeText)}`:"none"};case"warning":return{color:e.color.warningText,background:e.background.warning,boxShadow:"light"===e.base?`inset 0 0 0 1px ${be(.9,e.color.warningText)}`:"none"};case"neutral":return{color:e.color.dark,background:e.color.mediumlight,boxShadow:"light"===e.base?`inset 0 0 0 1px ${be(.9,e.color.dark)}`:"none"};case"positive":return{color:e.color.positiveText,background:e.background.positive,boxShadow:"light"===e.base?`inset 0 0 0 1px ${be(.9,e.color.positiveText)}`:"none"};default:return{}}})),{});ln(zu,{AccessibilityAltIcon:()=>rx,AccessibilityIcon:()=>tx,AddIcon:()=>Jy,AdminIcon:()=>WD,AlertAltIcon:()=>S9,AlertIcon:()=>E9,AlignLeftIcon:()=>k8,AlignRightIcon:()=>T8,AppleIcon:()=>Y8,ArrowBottomLeftIcon:()=>vD,ArrowBottomRightIcon:()=>wD,ArrowDownIcon:()=>dD,ArrowLeftIcon:()=>fD,ArrowRightIcon:()=>hD,ArrowSolidDownIcon:()=>yD,ArrowSolidLeftIcon:()=>DD,ArrowSolidRightIcon:()=>xD,ArrowSolidUpIcon:()=>bD,ArrowTopLeftIcon:()=>mD,ArrowTopRightIcon:()=>gD,ArrowUpIcon:()=>pD,AzureDevOpsIcon:()=>ty,BackIcon:()=>MD,BasketIcon:()=>X9,BatchAcceptIcon:()=>Wy,BatchDenyIcon:()=>qy,BeakerIcon:()=>Y9,BellIcon:()=>T9,BitbucketIcon:()=>ry,BoldIcon:()=>H8,BookIcon:()=>y8,BookmarkHollowIcon:()=>H9,BookmarkIcon:()=>z9,BottomBarIcon:()=>Fy,BottomBarToggleIcon:()=>ky,BoxIcon:()=>My,BranchIcon:()=>U8,BrowserIcon:()=>yy,ButtonIcon:()=>g9,CPUIcon:()=>Ty,CalendarIcon:()=>A8,CameraIcon:()=>l8,CategoryIcon:()=>C8,CertificateIcon:()=>q9,ChangedIcon:()=>n9,ChatIcon:()=>c9,CheckIcon:()=>jy,ChevronDownIcon:()=>aD,ChevronLeftIcon:()=>iD,ChevronRightIcon:()=>Hu,ChevronSmallDownIcon:()=>sD,ChevronSmallLeftIcon:()=>uD,ChevronSmallRightIcon:()=>cD,ChevronSmallUpIcon:()=>lD,ChevronUpIcon:()=>oD,ChromaticIcon:()=>ny,ChromeIcon:()=>Q8,CircleHollowIcon:()=>_9,CircleIcon:()=>P9,ClearIcon:()=>a9,CloseAltIcon:()=>Xy,CloseIcon:()=>e9,CloudHollowIcon:()=>J9,CloudIcon:()=>Q9,CogIcon:()=>Hy,CollapseIcon:()=>ED,CommandIcon:()=>y9,CommentAddIcon:()=>l9,CommentIcon:()=>i9,CommentsIcon:()=>u9,CommitIcon:()=>W8,CompassIcon:()=>zD,ComponentDrivenIcon:()=>oy,ComponentIcon:()=>jb,ContrastIcon:()=>e8,ControlsIcon:()=>Uy,CopyIcon:()=>x8,CreditIcon:()=>m9,CrossIcon:()=>Pu,DashboardIcon:()=>jD,DatabaseIcon:()=>Ly,DeleteIcon:()=>t9,DiamondIcon:()=>$9,DirectionIcon:()=>UD,DiscordIcon:()=>ay,DocChartIcon:()=>B8,DocListIcon:()=>I8,DocumentIcon:()=>D8,DownloadIcon:()=>ID,DragIcon:()=>M8,EditIcon:()=>Py,EllipsisIcon:()=>Oy,EmailIcon:()=>R9,ExpandAltIcon:()=>CD,ExpandIcon:()=>SD,EyeCloseIcon:()=>Jb,EyeIcon:()=>Zb,FaceHappyIcon:()=>JD,FaceNeutralIcon:()=>QD,FaceSadIcon:()=>ex,FacebookIcon:()=>iy,FailedIcon:()=>o9,FastForwardIcon:()=>h8,FigmaIcon:()=>ly,FilterIcon:()=>L8,FlagIcon:()=>Z9,FolderIcon:()=>E8,FormIcon:()=>Vy,GDriveIcon:()=>sy,GithubIcon:()=>uy,GitlabIcon:()=>cy,GlobeIcon:()=>HD,GoogleIcon:()=>py,GraphBarIcon:()=>F8,GraphLineIcon:()=>R8,GraphqlIcon:()=>dy,GridAltIcon:()=>Ub,GridIcon:()=>Vb,GrowIcon:()=>n8,HeartHollowIcon:()=>O9,HeartIcon:()=>N9,HomeIcon:()=>qD,HourglassIcon:()=>K9,InfoIcon:()=>D9,ItalicIcon:()=>z8,JumpToIcon:()=>M9,KeyIcon:()=>f9,LightningIcon:()=>Qb,LightningOffIcon:()=>_u,LinkBrokenIcon:()=>k9,LinkIcon:()=>F9,LinkedinIcon:()=>wy,LinuxIcon:()=>K8,ListOrderedIcon:()=>O8,ListUnorderedIcon:()=>N8,LocationIcon:()=>$D,LockIcon:()=>p9,MarkdownIcon:()=>V8,MarkupIcon:()=>P8,MediumIcon:()=>fy,MemoryIcon:()=>By,MenuIcon:()=>_8,MergeIcon:()=>X8,MirrorIcon:()=>r8,MobileIcon:()=>xy,MoonIcon:()=>b8,NutIcon:()=>zy,OutboxIcon:()=>h9,OutlineIcon:()=>qb,PaintBrushIcon:()=>o8,PaperClipIcon:()=>$8,ParagraphIcon:()=>j8,PassedIcon:()=>r9,PhoneIcon:()=>A9,PhotoDragIcon:()=>Wb,PhotoIcon:()=>Nb,PinAltIcon:()=>Ky,PinIcon:()=>OD,PlayBackIcon:()=>p8,PlayIcon:()=>c8,PlayNextIcon:()=>d8,PlusIcon:()=>Gy,PointerDefaultIcon:()=>w9,PointerHandIcon:()=>b9,PowerIcon:()=>_y,PrintIcon:()=>S8,ProceedIcon:()=>_D,ProfileIcon:()=>ZD,PullRequestIcon:()=>G8,QuestionIcon:()=>x9,RSSIcon:()=>L9,RedirectIcon:()=>FD,ReduxIcon:()=>hy,RefreshIcon:()=>PD,ReplyIcon:()=>TD,RepoIcon:()=>q8,RequestChangeIcon:()=>s9,RewindIcon:()=>f8,RulerIcon:()=>a8,SearchIcon:()=>Gb,ShareAltIcon:()=>B9,ShareIcon:()=>I9,ShieldIcon:()=>G9,SideBySideIcon:()=>g8,SidebarAltIcon:()=>Sy,SidebarAltToggleIcon:()=>Ry,SidebarIcon:()=>Ey,SidebarToggleIcon:()=>Ay,SpeakerIcon:()=>u8,StackedIcon:()=>v8,StarHollowIcon:()=>j9,StarIcon:()=>V9,StatusFailIcon:()=>tD,StatusPassIcon:()=>nD,StatusWarnIcon:()=>rD,StickerIcon:()=>eD,StopAltIcon:()=>m8,StopIcon:()=>i8,StorybookIcon:()=>ey,StructureIcon:()=>Iy,SubtractIcon:()=>Qy,SunIcon:()=>w8,SupportIcon:()=>C9,SwitchAltIcon:()=>t8,SyncIcon:()=>LD,TabletIcon:()=>Dy,ThumbsUpIcon:()=>U9,TimeIcon:()=>ND,TimerIcon:()=>VD,TransferIcon:()=>AD,TrashIcon:()=>Yy,TwitterIcon:()=>my,TypeIcon:()=>v9,UbuntuIcon:()=>Z8,UndoIcon:()=>kD,UnfoldIcon:()=>RD,UnlockIcon:()=>d9,UnpinIcon:()=>Zy,UploadIcon:()=>BD,UserAddIcon:()=>YD,UserAltIcon:()=>XD,UserIcon:()=>GD,UsersIcon:()=>KD,VSCodeIcon:()=>vy,VerifiedIcon:()=>W9,VideoIcon:()=>s8,WandIcon:()=>Ny,WatchIcon:()=>Cy,WindowsIcon:()=>J8,WrenchIcon:()=>$y,XIcon:()=>by,YoutubeIcon:()=>gy,ZoomIcon:()=>Xb,ZoomOutIcon:()=>Yb,ZoomResetIcon:()=>Kb,iconList:()=>Ob});var Ob=[{name:"Images",icons:["PhotoIcon","ComponentIcon","GridIcon","OutlineIcon","PhotoDragIcon","GridAltIcon","SearchIcon","ZoomIcon","ZoomOutIcon","ZoomResetIcon","EyeIcon","EyeCloseIcon","LightningIcon","LightningOffIcon","ContrastIcon","SwitchAltIcon","MirrorIcon","GrowIcon","PaintBrushIcon","RulerIcon","StopIcon","CameraIcon","VideoIcon","SpeakerIcon","PlayIcon","PlayBackIcon","PlayNextIcon","RewindIcon","FastForwardIcon","StopAltIcon","SideBySideIcon","StackedIcon","SunIcon","MoonIcon"]},{name:"Documents",icons:["BookIcon","DocumentIcon","CopyIcon","CategoryIcon","FolderIcon","PrintIcon","GraphLineIcon","CalendarIcon","GraphBarIcon","AlignLeftIcon","AlignRightIcon","FilterIcon","DocChartIcon","DocListIcon","DragIcon","MenuIcon"]},{name:"Editing",icons:["MarkupIcon","BoldIcon","ItalicIcon","PaperClipIcon","ListOrderedIcon","ListUnorderedIcon","ParagraphIcon","MarkdownIcon"]},{name:"Git",icons:["RepoIcon","CommitIcon","BranchIcon","PullRequestIcon","MergeIcon"]},{name:"OS",icons:["AppleIcon","LinuxIcon","UbuntuIcon","WindowsIcon","ChromeIcon"]},{name:"Logos",icons:["StorybookIcon","AzureDevOpsIcon","BitbucketIcon","ChromaticIcon","ComponentDrivenIcon","DiscordIcon","FacebookIcon","FigmaIcon","GDriveIcon","GithubIcon","GitlabIcon","GoogleIcon","GraphqlIcon","MediumIcon","ReduxIcon","TwitterIcon","YoutubeIcon","VSCodeIcon","LinkedinIcon","XIcon"]},{name:"Devices",icons:["BrowserIcon","TabletIcon","MobileIcon","WatchIcon","SidebarIcon","SidebarAltIcon","SidebarAltToggleIcon","SidebarToggleIcon","BottomBarIcon","BottomBarToggleIcon","CPUIcon","DatabaseIcon","MemoryIcon","StructureIcon","BoxIcon","PowerIcon"]},{name:"CRUD",icons:["EditIcon","CogIcon","NutIcon","WrenchIcon","EllipsisIcon","WandIcon","CheckIcon","FormIcon","BatchDenyIcon","BatchAcceptIcon","ControlsIcon","PlusIcon","CloseAltIcon","CrossIcon","TrashIcon","PinAltIcon","UnpinIcon","AddIcon","SubtractIcon","CloseIcon","DeleteIcon","PassedIcon","ChangedIcon","FailedIcon","ClearIcon","CommentIcon","CommentAddIcon","RequestChangeIcon","CommentsIcon","ChatIcon","LockIcon","UnlockIcon","KeyIcon","OutboxIcon","CreditIcon","ButtonIcon","TypeIcon","PointerDefaultIcon","PointerHandIcon","CommandIcon"]},{name:"Communicate",icons:["InfoIcon","QuestionIcon","SupportIcon","AlertIcon","AlertAltIcon","EmailIcon","PhoneIcon","LinkIcon","LinkBrokenIcon","BellIcon","RSSIcon","ShareAltIcon","ShareIcon","JumpToIcon","CircleHollowIcon","CircleIcon","BookmarkHollowIcon","BookmarkIcon","DiamondIcon","HeartHollowIcon","HeartIcon","StarHollowIcon","StarIcon","CertificateIcon","VerifiedIcon","ThumbsUpIcon","ShieldIcon","BasketIcon","BeakerIcon","HourglassIcon","FlagIcon","CloudHollowIcon","CloudIcon","StickerIcon","StatusFailIcon","StatusWarnIcon","StatusPassIcon"]},{name:"Wayfinding",icons:["ChevronUpIcon","ChevronDownIcon","ChevronLeftIcon","ChevronRightIcon","ChevronSmallUpIcon","ChevronSmallDownIcon","ChevronSmallLeftIcon","ChevronSmallRightIcon","ArrowUpIcon","ArrowDownIcon","ArrowLeftIcon","ArrowRightIcon","ArrowTopLeftIcon","ArrowTopRightIcon","ArrowBottomLeftIcon","ArrowBottomRightIcon","ArrowSolidUpIcon","ArrowSolidDownIcon","ArrowSolidLeftIcon","ArrowSolidRightIcon","ExpandAltIcon","CollapseIcon","ExpandIcon","UnfoldIcon","TransferIcon","RedirectIcon","UndoIcon","ReplyIcon","SyncIcon","UploadIcon","DownloadIcon","BackIcon","ProceedIcon","RefreshIcon","GlobeIcon","CompassIcon","LocationIcon","PinIcon","TimeIcon","DashboardIcon","TimerIcon","HomeIcon","AdminIcon","DirectionIcon"]},{name:"People",icons:["UserIcon","UserAltIcon","UserAddIcon","UsersIcon","ProfileIcon","FaceHappyIcon","FaceNeutralIcon","FaceSadIcon","AccessibilityIcon","AccessibilityAltIcon"]}],Nb=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.25 4.254a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 1.504v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5zM2 9.297V2.004h10v5.293L9.854 5.15a.5.5 0 00-.708 0L6.5 7.797 5.354 6.65a.5.5 0 00-.708 0L2 9.297zM9.5 6.21l2.5 2.5v3.293H2V10.71l3-3 3.146 3.146a.5.5 0 00.708-.707L7.207 8.504 9.5 6.21z",fill:e})))),jb=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 1.004a2.5 2.5 0 00-2.5 2.5v7a2.5 2.5 0 002.5 2.5h7a2.5 2.5 0 002.5-2.5v-7a2.5 2.5 0 00-2.5-2.5h-7zm8.5 5.5H7.5v-4.5h3a1.5 1.5 0 011.5 1.5v3zm0 1v3a1.5 1.5 0 01-1.5 1.5h-3v-4.5H12zm-5.5 4.5v-4.5H2v3a1.5 1.5 0 001.5 1.5h3zM2 6.504h4.5v-4.5h-3a1.5 1.5 0 00-1.5 1.5v3z",fill:e})))),Vb=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5H6a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H1.5a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5h3.5v3.5H2zM7.5 1.504a.5.5 0 01.5-.5h4.5a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H8a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5H12v3.5H8.5zM1.5 7.504a.5.5 0 00-.5.5v4.5a.5.5 0 00.5.5H6a.5.5 0 00.5-.5v-4.5a.5.5 0 00-.5-.5H1.5zm.5 1v3.5h3.5v-3.5H2zM7.5 8.004a.5.5 0 01.5-.5h4.5a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H8a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5H12v3.5H8.5z",fill:e})))),qb=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M2 2.004v2H1v-2.5a.5.5 0 01.5-.5H4v1H2zM1 9.004v-4h1v4H1zM1 10.004v2.5a.5.5 0 00.5.5H4v-1H2v-2H1zM10 13.004h2.5a.5.5 0 00.5-.5v-2.5h-1v2h-2v1zM12 4.004h1v-2.5a.5.5 0 00-.5-.5H10v1h2v2zM9 12.004v1H5v-1h4zM9 1.004v1H5v-1h4zM13 9.004h-1v-4h1v4zM7 8.004a1 1 0 100-2 1 1 0 000 2z",fill:e})))),Wb=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.25 3.254a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7.003v-6.5a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5H.5a.5.5 0 00-.5.5v2.5h1v-2h2v6.5a.5.5 0 00.5.5H10v2H8v1h2.5a.5.5 0 00.5-.5v-2.5h2.5a.5.5 0 00.5-.5v-3.5zm-10-6v5.794L5.646 5.15a.5.5 0 01.708 0L7.5 6.297l2.646-2.647a.5.5 0 01.708 0L13 5.797V1.004H4zm9 6.208l-2.5-2.5-2.293 2.293L9.354 8.15a.5.5 0 11-.708.707L6 6.211l-2 2v1.793h9V7.21z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M0 10.004v-3h1v3H0zM0 13.504v-2.5h1v2h2v1H.5a.5.5 0 01-.5-.5zM7 14.004H4v-1h3v1z",fill:e})))),Ub=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M4 3V1h1v2H4zM4 6v2h1V6H4zM4 11v2h1v-2H4zM9 11v2h1v-2H9zM9 8V6h1v2H9zM9 1v2h1V1H9zM13 5h-2V4h2v1zM11 10h2V9h-2v1zM3 10H1V9h2v1zM1 5h2V4H1v1zM8 5H6V4h2v1zM6 10h2V9H6v1zM4 4h1v1H4V4zM10 4H9v1h1V4zM9 9h1v1H9V9zM5 9H4v1h1V9z",fill:e})))),Gb=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e})))),Xb=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M6 3.5a.5.5 0 01.5.5v1.5H8a.5.5 0 010 1H6.5V8a.5.5 0 01-1 0V6.5H4a.5.5 0 010-1h1.5V4a.5.5 0 01.5-.5z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e})))),Yb=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 11.5c1.35 0 2.587-.487 3.544-1.294a.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 106 11.5zm0-1a4.5 4.5 0 100-9 4.5 4.5 0 000 9z",fill:e})))),Kb=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M1.5 2.837V1.5a.5.5 0 00-1 0V4a.5.5 0 00.5.5h2.5a.5.5 0 000-1H2.258a4.5 4.5 0 11-.496 4.016.5.5 0 10-.942.337 5.502 5.502 0 008.724 2.353.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 101.5 2.837z",fill:e})))),Zb=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M7 9.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7l-.21.293C13.669 7.465 10.739 11.5 7 11.5S.332 7.465.21 7.293L0 7l.21-.293C.331 6.536 3.261 2.5 7 2.5s6.668 4.036 6.79 4.207L14 7zM2.896 5.302A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5c1.518 0 2.958-.83 4.104-1.802A12.72 12.72 0 0012.755 7c-.297-.37-.875-1.04-1.65-1.698C9.957 4.33 8.517 3.5 7 3.5c-1.519 0-2.958.83-4.104 1.802z",fill:e})))),Jb=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11zM11.104 8.698c-.177.15-.362.298-.553.439l.714.714a13.25 13.25 0 002.526-2.558L14 7l-.21-.293C13.669 6.536 10.739 2.5 7 2.5c-.89 0-1.735.229-2.506.58l.764.763A4.859 4.859 0 017 3.5c1.518 0 2.958.83 4.104 1.802A12.724 12.724 0 0112.755 7a12.72 12.72 0 01-1.65 1.698zM.21 6.707c.069-.096 1.03-1.42 2.525-2.558l.714.714c-.191.141-.376.288-.553.439A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5a4.86 4.86 0 001.742-.344l.764.764c-.772.351-1.616.58-2.506.58C3.262 11.5.332 7.465.21 7.293L0 7l.21-.293z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M4.5 7c0-.322.061-.63.172-.914l3.242 3.242A2.5 2.5 0 014.5 7zM9.328 7.914L6.086 4.672a2.5 2.5 0 013.241 3.241z",fill:e})))),Qb=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.522 6.6a.566.566 0 00-.176.544.534.534 0 00.382.41l2.781.721-1.493 5.013a.563.563 0 00.216.627.496.496 0 00.63-.06l6.637-6.453a.568.568 0 00.151-.54.534.534 0 00-.377-.396l-2.705-.708 2.22-4.976a.568.568 0 00-.15-.666.497.497 0 00-.648.008L2.522 6.6zm7.72.63l-3.067-.804L9.02 2.29 3.814 6.803l2.95.764-1.277 4.285 4.754-4.622zM4.51 13.435l.037.011-.037-.011z",fill:e})))),_u=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M10.139 8.725l1.36-1.323a.568.568 0 00.151-.54.534.534 0 00-.377-.396l-2.705-.708 2.22-4.976a.568.568 0 00-.15-.666.497.497 0 00-.648.008L5.464 4.05l.708.71 2.848-2.47-1.64 3.677.697.697 2.164.567-.81.787.708.708zM2.523 6.6a.566.566 0 00-.177.544.534.534 0 00.382.41l2.782.721-1.494 5.013a.563.563 0 00.217.627.496.496 0 00.629-.06l3.843-3.736-.708-.707-2.51 2.44 1.137-3.814-.685-.685-2.125-.55.844-.731-.71-.71L2.524 6.6zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11z",fill:e})))),e8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 3.004H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h10a.5.5 0 00.5-.5v-2.5h2.5a.5.5 0 00.5-.5v-10a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5zm1 1v2.293l2.293-2.293H4zm-1 0v6.5a.499.499 0 00.497.5H10v2H1v-9h2zm1-1h6.5a.499.499 0 01.5.5v6.5h2v-9H4v2zm6 7V7.71l-2.293 2.293H10zm0-3.707V4.71l-5.293 5.293h1.586L10 6.297zm-.707-2.293H7.707L4 7.71v1.586l5.293-5.293z",fill:e})))),t8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 3.004v-2.5a.5.5 0 01.5-.5h10a.5.5 0 01.5.5v10a.5.5 0 01-.5.5H11v2.5a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-10a.5.5 0 01.5-.5H3zm1 0v-2h9v9h-2v-6.5a.5.5 0 00-.5-.5H4zm6 8v2H1v-9h2v6.5a.5.5 0 00.5.5H10zm0-1H4v-6h6v6z",fill:e})))),r8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 10.5h10v-10l-10 10z",fill:e})))),n8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M1.5 1.004a.5.5 0 100 1H12v10.5a.5.5 0 001 0v-10.5a1 1 0 00-1-1H1.5z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M1 3.504a.5.5 0 01.5-.5H10a1 1 0 011 1v8.5a.5.5 0 01-1 0v-8.5H1.5a.5.5 0 01-.5-.5z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 5.004a.5.5 0 00-.5.5v7a.5.5 0 00.5.5h7a.5.5 0 00.5-.5v-7a.5.5 0 00-.5-.5h-7zm.5 1v6h6v-6H2z",fill:e})))),o8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.854.146a.5.5 0 00-.708 0L2.983 8.31a2.24 2.24 0 00-1.074.6C.677 10.14.24 11.902.085 12.997 0 13.6 0 14 0 14s.4 0 1.002-.085c1.095-.155 2.857-.592 4.089-1.824a2.24 2.24 0 00.6-1.074l8.163-8.163a.5.5 0 000-.708l-2-2zM5.6 9.692l.942-.942L5.25 7.457l-.942.943A2.242 2.242 0 015.6 9.692zm1.649-1.65L12.793 2.5 11.5 1.207 5.957 6.75 7.25 8.043zM4.384 9.617a1.25 1.25 0 010 1.768c-.767.766-1.832 1.185-2.78 1.403-.17.04-.335.072-.49.098.027-.154.06-.318.099-.49.219-.947.637-2.012 1.403-2.779a1.25 1.25 0 011.768 0z",fill:e})))),a8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M1.5 1.004a.5.5 0 01.5.5v.5h10v-.5a.5.5 0 011 0v2a.5.5 0 01-1 0v-.5H2v.5a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 6a.5.5 0 00-.5.5v6a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-6a.5.5 0 00-.5-.5h-11zM2 7v5h10V7h-1v2.5a.5.5 0 01-1 0V7h-.75v1a.5.5 0 01-1 0V7H7.5v2.5a.5.5 0 01-1 0V7h-.75v1a.5.5 0 01-1 0V7H4v2.5a.5.5 0 01-1 0V7H2z",fill:e})))),i8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M4.5 4a.5.5 0 00-.5.5v5a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5h-5z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e})))),l8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7a3 3 0 11-6 0 3 3 0 016 0zM9 7a2 2 0 11-4 0 2 2 0 014 0z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 1a.5.5 0 00-.5.5v.504H.5a.5.5 0 00-.5.5v9a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H6V1.5a.5.5 0 00-.5-.5h-3zM1 3.004v8h12v-8H1z",fill:e})))),s8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M2.5 10a.5.5 0 100-1 .5.5 0 000 1z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4a2 2 0 012-2h6a2 2 0 012 2v.5l3.189-2.391A.5.5 0 0114 2.5v9a.5.5 0 01-.804.397L10 9.5v.5a2 2 0 01-2 2H2a2 2 0 01-2-2V4zm9 0v1.5a.5.5 0 00.8.4L13 3.5v7L9.8 8.1a.5.5 0 00-.8.4V10a1 1 0 01-1 1H2a1 1 0 01-1-1V4a1 1 0 011-1h6a1 1 0 011 1z",fill:e})))),u8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 4.5v5a.5.5 0 00.5.5H4l3.17 2.775a.5.5 0 00.83-.377V1.602a.5.5 0 00-.83-.376L4 4H1.5a.5.5 0 00-.5.5zM4 9V5H2v4h2zm.998.545A.504.504 0 005 9.5v-5c0-.015 0-.03-.002-.044L7 2.704v8.592L4.998 9.545z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M10.15 1.752a.5.5 0 00-.3.954 4.502 4.502 0 010 8.588.5.5 0 00.3.954 5.502 5.502 0 000-10.496z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M10.25 3.969a.5.5 0 00-.5.865 2.499 2.499 0 010 4.332.5.5 0 10.5.866 3.499 3.499 0 000-6.063z",fill:e})))),c8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M12.813 7.425l-9.05 5.603A.5.5 0 013 12.603V1.398a.5.5 0 01.763-.425l9.05 5.602a.5.5 0 010 .85z",fill:e})))),p8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M11.24 12.035L3.697 7.427A.494.494 0 013.5 7.2v4.05a.75.75 0 01-1.5 0v-8.5a.75.75 0 011.5 0V6.8a.494.494 0 01.198-.227l7.541-4.608A.5.5 0 0112 2.39v9.217a.5.5 0 01-.76.427z",fill:e})))),d8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M2.76 12.035l7.542-4.608A.495.495 0 0010.5 7.2v4.05a.75.75 0 001.5 0v-8.5a.75.75 0 00-1.5 0V6.8a.495.495 0 00-.198-.227L2.76 1.965A.5.5 0 002 2.39v9.217a.5.5 0 00.76.427z",fill:e})))),f8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M9 2.42v2.315l4.228-2.736a.5.5 0 01.772.42v9.162a.5.5 0 01-.772.42L9 9.263v2.317a.5.5 0 01-.772.42L1.5 7.647v3.603a.75.75 0 01-1.5 0v-8.5a.75.75 0 011.5 0v3.603L8.228 2A.5.5 0 019 2.42z",fill:e})))),h8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M5 2.42v2.315L.772 1.999a.5.5 0 00-.772.42v9.162a.5.5 0 00.772.42L5 9.263v2.317a.5.5 0 00.772.42L12.5 7.647v3.603a.75.75 0 001.5 0v-8.5a.75.75 0 00-1.5 0v3.603L5.772 2A.5.5 0 005 2.42z",fill:e})))),m8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11z",fill:e})))),g8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 10.5v-10h5v10H2z",fill:e})))),v8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 1.004a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11zm-10.5 1h10v5H2v-5z",fill:e})))),w8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("g",{clipPath:"url(#prefix__clip0_1107_3492)",fill:e},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0V2a.5.5 0 001 0V.5z"}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 10a3 3 0 100-6 3 3 0 000 6zm0-1a2 2 0 100-4 2 2 0 000 4z"}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M7 11.5a.5.5 0 01.5.5v1.5a.5.5 0 01-1 0V12a.5.5 0 01.5-.5zM11.5 7a.5.5 0 01.5-.5h1.5a.5.5 0 010 1H12a.5.5 0 01-.5-.5zM.5 6.5a.5.5 0 000 1H2a.5.5 0 000-1H.5zM3.818 10.182a.5.5 0 010 .707l-1.06 1.06a.5.5 0 11-.708-.706l1.06-1.06a.5.5 0 01.708 0zM11.95 2.757a.5.5 0 10-.707-.707l-1.061 1.061a.5.5 0 10.707.707l1.06-1.06zM10.182 10.182a.5.5 0 01.707 0l1.06 1.06a.5.5 0 11-.706.708l-1.061-1.06a.5.5 0 010-.708zM2.757 2.05a.5.5 0 10-.707.707l1.06 1.061a.5.5 0 00.708-.707l-1.06-1.06z"})),react__WEBPACK_IMPORTED_MODULE_0__.createElement("defs",null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("clipPath",{id:"prefix__clip0_1107_3492"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"})))))),b8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("g",{clipPath:"url(#prefix__clip0_1107_3493)"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.335.047l-.15-.015a7.499 7.499 0 106.14 10.577c.103-.229-.156-.447-.386-.346a5.393 5.393 0 01-.771.27A5.356 5.356 0 019.153.691C9.37.568 9.352.23 9.106.175a7.545 7.545 0 00-.77-.128zM6.977 1.092a6.427 6.427 0 005.336 10.671A6.427 6.427 0 116.977 1.092z",fill:e})),react__WEBPACK_IMPORTED_MODULE_0__.createElement("defs",null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("clipPath",{id:"prefix__clip0_1107_3493"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fill:"#fff",transform:"scale(1.07124)",d:"M0 0h14.001v14.002H0z"})))))),y8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 2a2 2 0 00-2-2H1.5a.5.5 0 00-.5.5v13a.5.5 0 00.5.5H11a2 2 0 002-2V2zM3 13h8a1 1 0 001-1V2a1 1 0 00-1-1H7v6.004a.5.5 0 01-.856.352l-.002-.002L5.5 6.71l-.645.647A.5.5 0 014 7.009V1H3v12zM5 1v4.793l.146-.146a.5.5 0 01.743.039l.111.11V1H5z",fill:e})))),D8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M4 5.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7.5a.5.5 0 000 1h5a.5.5 0 000-1h-5zM4 10.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 0a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V3.207a.5.5 0 00-.146-.353L10.146.146A.5.5 0 009.793 0H1.5zM2 1h7.5v2a.5.5 0 00.5.5h2V13H2V1z",fill:e})))),x8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.746.07A.5.5 0 0011.5.003h-6a.5.5 0 00-.5.5v2.5H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h8a.5.5 0 00.5-.5v-2.5h4.5a.5.5 0 00.5-.5v-8a.498.498 0 00-.15-.357L11.857.154a.506.506 0 00-.11-.085zM9 10.003h4v-7h-1.5a.5.5 0 01-.5-.5v-1.5H6v2h.5a.5.5 0 01.357.15L8.85 5.147c.093.09.15.217.15.357v4.5zm-8-6v9h7v-7H6.5a.5.5 0 01-.5-.5v-1.5H1z",fill:e})))),C8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M3 1.5a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5zM2 3.504a.5.5 0 01.5-.5h9a.5.5 0 010 1h-9a.5.5 0 01-.5-.5z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 5.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v7a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-7zM2 12V6h10v6H2z",fill:e})))),E8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.586 3.504l-1.5-1.5H1v9h12v-7.5H6.586zm.414-1L5.793 1.297a1 1 0 00-.707-.293H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-8.5a.5.5 0 00-.5-.5H7z",fill:e})))),S8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M4.5 8.004a.5.5 0 100 1h5a.5.5 0 000-1h-5zM4.5 10.004a.5.5 0 000 1h5a.5.5 0 000-1h-5z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 1.504a.5.5 0 01.5-.5h8a.498.498 0 01.357.15l.993.993c.093.09.15.217.15.357v1.5h1.5a.5.5 0 01.5.5v5a.5.5 0 01-.5.5H12v2.5a.5.5 0 01-.5.5h-9a.5.5 0 01-.5-.5v-2.5H.5a.5.5 0 01-.5-.5v-5a.5.5 0 01.5-.5H2v-2.5zm11 7.5h-1v-2.5a.5.5 0 00-.5-.5h-9a.5.5 0 00-.5.5v2.5H1v-4h12v4zm-2-6v1H3v-2h7v.5a.5.5 0 00.5.5h.5zm-8 9h8v-5H3v5z",fill:e})))),R8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M5.146 6.15a.5.5 0 01.708 0L7 7.297 9.146 5.15a.5.5 0 01.708 0l1 1a.5.5 0 01-.708.707L9.5 6.211 7.354 8.357a.5.5 0 01-.708 0L5.5 7.211 3.854 8.857a.5.5 0 11-.708-.707l2-2z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 1.004a.5.5 0 00-.5.5v11a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-11a.5.5 0 00-.5-.5h-11zm.5 1v10h10v-10H2z",fill:e})))),A8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0a.5.5 0 01.5.5V1h6V.5a.5.5 0 011 0V1h1.5a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5H3V.5a.5.5 0 01.5-.5zM2 4v2.3h3V4H2zm0 5.2V6.8h3v2.4H2zm0 .5V12h3V9.7H2zm3.5 0V12h3V9.7h-3zm3.5 0V12h3V9.7H9zm3-.5H9V6.8h3v2.4zm-3.5 0h-3V6.8h3v2.4zM9 4v2.3h3V4H9zM5.5 6.3h3V4h-3v2.3z",fill:e})))),F8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M12 2.5a.5.5 0 00-1 0v10a.5.5 0 001 0v-10zM9 4.5a.5.5 0 00-1 0v8a.5.5 0 001 0v-8zM5.5 7a.5.5 0 01.5.5v5a.5.5 0 01-1 0v-5a.5.5 0 01.5-.5zM3 10.5a.5.5 0 00-1 0v2a.5.5 0 001 0v-2z",fill:e})))),k8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M13 2a.5.5 0 010 1H1a.5.5 0 010-1h12zM10 5a.5.5 0 010 1H1a.5.5 0 010-1h9zM11.5 8.5A.5.5 0 0011 8H1a.5.5 0 000 1h10a.5.5 0 00.5-.5zM7.5 11a.5.5 0 010 1H1a.5.5 0 010-1h6.5z",fill:e})))),T8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M1 2a.5.5 0 000 1h12a.5.5 0 000-1H1zM4 5a.5.5 0 000 1h9a.5.5 0 000-1H4zM2.5 8.5A.5.5 0 013 8h10a.5.5 0 010 1H3a.5.5 0 01-.5-.5zM6.5 11a.5.5 0 000 1H13a.5.5 0 000-1H6.5z",fill:e})))),L8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M1 2a.5.5 0 000 1h12a.5.5 0 000-1H1zM3 5a.5.5 0 000 1h8a.5.5 0 000-1H3zM4.5 8.5A.5.5 0 015 8h4a.5.5 0 010 1H5a.5.5 0 01-.5-.5zM6.5 11a.5.5 0 000 1h1a.5.5 0 000-1h-1z",fill:e})))),B8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zM2 4v2.3h3V4H2zm0 5.2V6.8h3v2.4H2zm0 .5V12h3V9.7H2zm3.5 0V12h3V9.7h-3zm3.5 0V12h3V9.7H9zm3-.5H9V6.8h3v2.4zm-3.5 0h-3V6.8h3v2.4zM9 6.3h3V4H9v2.3zm-3.5 0h3V4h-3v2.3z",fill:e})))),I8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M3.5 6.5A.5.5 0 014 6h6a.5.5 0 010 1H4a.5.5 0 01-.5-.5zM4 9a.5.5 0 000 1h6a.5.5 0 000-1H4z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zM2 4v8h10V4H2z",fill:e})))),M8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M13 4a.5.5 0 010 1H1a.5.5 0 010-1h12zM13.5 9.5A.5.5 0 0013 9H1a.5.5 0 000 1h12a.5.5 0 00.5-.5z",fill:e})))),_8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M13 3.5a.5.5 0 010 1H1a.5.5 0 010-1h12zM13.5 10a.5.5 0 00-.5-.5H1a.5.5 0 000 1h12a.5.5 0 00.5-.5zM13 6.5a.5.5 0 010 1H1a.5.5 0 010-1h12z",fill:e})))),P8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M8.982 1.632a.5.5 0 00-.964-.263l-3 11a.5.5 0 10.964.263l3-11zM3.32 3.616a.5.5 0 01.064.704L1.151 7l2.233 2.68a.5.5 0 11-.768.64l-2.5-3a.5.5 0 010-.64l2.5-3a.5.5 0 01.704-.064zM10.68 3.616a.5.5 0 00-.064.704L12.849 7l-2.233 2.68a.5.5 0 00.768.64l2.5-3a.5.5 0 000-.64l-2.5-3a.5.5 0 00-.704-.064z",fill:e})))),H8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 2v1.5h1v7H3V12h5a3 3 0 001.791-5.407A2.75 2.75 0 008 2.011V2H3zm5 5.5H5.5v3H8a1.5 1.5 0 100-3zm-.25-4H5.5V6h2.25a1.25 1.25 0 100-2.5z",fill:e})))),z8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M5 2h6v1H8.5l-2 8H9v1H3v-1h2.5l2-8H5V2z",fill:e})))),$8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M10.553 2.268a1.5 1.5 0 00-2.12 0L2.774 7.925a2.5 2.5 0 003.536 3.535l3.535-3.535a.5.5 0 11.707.707l-3.535 3.536-.002.002a3.5 3.5 0 01-4.959-4.941l.011-.011L7.725 1.56l.007-.008a2.5 2.5 0 013.53 3.541l-.002.002-5.656 5.657-.003.003a1.5 1.5 0 01-2.119-2.124l3.536-3.536a.5.5 0 11.707.707L4.189 9.34a.5.5 0 00.707.707l5.657-5.657a1.5 1.5 0 000-2.121z",fill:e})))),O8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M5 2.5a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5zM5 7a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 015 7zM5.5 11a.5.5 0 000 1h7a.5.5 0 000-1h-7zM2.5 2H1v1h1v3h1V2.5a.5.5 0 00-.5-.5zM3 8.5v1a.5.5 0 01-1 0V9h-.5a.5.5 0 010-1h1a.5.5 0 01.5.5zM2 10.5a.5.5 0 00-1 0V12h2v-1H2v-.5z",fill:e})))),N8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M2.75 2.5a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM5.5 2a.5.5 0 000 1h7a.5.5 0 000-1h-7zM5.5 11a.5.5 0 000 1h7a.5.5 0 000-1h-7zM2 12.25a.75.75 0 100-1.5.75.75 0 000 1.5zM5 7a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 015 7zM2 7.75a.75.75 0 100-1.5.75.75 0 000 1.5z",fill:e})))),j8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M6 7a3 3 0 110-6h5.5a.5.5 0 010 1H10v10.5a.5.5 0 01-1 0V2H7v10.5a.5.5 0 01-1 0V7z",fill:e})))),V8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M2 4.5h1.5L5 6.375 6.5 4.5H8v5H6.5V7L5 8.875 3.5 7v2.5H2v-5zM9.75 4.5h1.5V7h1.25l-2 2.5-2-2.5h1.25V4.5z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 2a.5.5 0 00-.5.5v9a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H.5zM1 3v8h12V3H1z",fill:e})))),q8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M5 2.5a.5.5 0 11-1 0 .5.5 0 011 0zM4.5 5a.5.5 0 100-1 .5.5 0 000 1zM5 6.5a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 0a2 2 0 012 2v10a2 2 0 01-2 2H1.5a.5.5 0 01-.5-.5V.5a.5.5 0 01.5-.5H11zm0 1H3v12h8a1 1 0 001-1V2a1 1 0 00-1-1z",fill:e})))),W8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.031 7.5a4 4 0 007.938 0H13.5a.5.5 0 000-1h-2.53a4 4 0 00-7.94 0H.501a.5.5 0 000 1h2.531zM7 10a3 3 0 100-6 3 3 0 000 6z",fill:e})))),U8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 2.5a1.5 1.5 0 01-1 1.415v4.053C5.554 7.4 6.367 7 7.5 7c.89 0 1.453-.252 1.812-.557.218-.184.374-.4.482-.62a1.5 1.5 0 111.026.143c-.155.423-.425.87-.86 1.24C9.394 7.685 8.59 8 7.5 8c-1.037 0-1.637.42-1.994.917a2.81 2.81 0 00-.472 1.18A1.5 1.5 0 114 10.086v-6.17A1.5 1.5 0 116 2.5zm-2 9a.5.5 0 111 0 .5.5 0 01-1 0zm1-9a.5.5 0 11-1 0 .5.5 0 011 0zm6 2a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e})))),G8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.354 1.354L7.707 2H8.5A2.5 2.5 0 0111 4.5v5.585a1.5 1.5 0 11-1 0V4.5A1.5 1.5 0 008.5 3h-.793l.647.646a.5.5 0 11-.708.708l-1.5-1.5a.5.5 0 010-.708l1.5-1.5a.5.5 0 11.708.708zM11 11.5a.5.5 0 11-1 0 .5.5 0 011 0zM4 3.915a1.5 1.5 0 10-1 0v6.17a1.5 1.5 0 101 0v-6.17zM3.5 11a.5.5 0 100 1 .5.5 0 000-1zm0-8a.5.5 0 100-1 .5.5 0 000 1z",fill:e})))),X8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.108 3.872A1.5 1.5 0 103 3.915v6.17a1.5 1.5 0 101 0V6.41c.263.41.573.77.926 1.083 1.108.98 2.579 1.433 4.156 1.5A1.5 1.5 0 109.09 7.99c-1.405-.065-2.62-.468-3.5-1.248-.723-.64-1.262-1.569-1.481-2.871zM3.5 11a.5.5 0 100 1 .5.5 0 000-1zM4 2.5a.5.5 0 11-1 0 .5.5 0 011 0zm7 6a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e})))),Y8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M11.03 8.103a3.044 3.044 0 01-.202-1.744 2.697 2.697 0 011.4-1.935c-.749-1.18-1.967-1.363-2.35-1.403-.835-.086-2.01.56-2.648.57h-.016c-.639-.01-1.814-.656-2.649-.57-.415.044-1.741.319-2.541 1.593-.281.447-.498 1.018-.586 1.744a6.361 6.361 0 00-.044.85c.005.305.028.604.07.895.09.62.259 1.207.477 1.744.242.595.543 1.13.865 1.585.712 1.008 1.517 1.59 1.971 1.6.934.021 1.746-.61 2.416-.594.006.002.014.003.02.002h.017c.007 0 .014 0 .021-.002.67-.017 1.481.615 2.416.595.453-.011 1.26-.593 1.971-1.6a7.95 7.95 0 00.97-1.856c-.697-.217-1.27-.762-1.578-1.474zm-2.168-5.97c.717-.848.69-2.07.624-2.125-.065-.055-1.25.163-1.985.984-.735.82-.69 2.071-.624 2.125.064.055 1.268-.135 1.985-.984z",fill:e})))),K8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0a3 3 0 013 3v1.24c.129.132.25.27.362.415.113.111.283.247.515.433l.194.155c.325.261.711.582 1.095.966.765.765 1.545 1.806 1.823 3.186a.501.501 0 01-.338.581 3.395 3.395 0 01-1.338.134 2.886 2.886 0 01-1.049-.304 5.535 5.535 0 01-.17.519 2 2 0 11-2.892 2.55A5.507 5.507 0 017 13c-.439 0-.838-.044-1.201-.125a2 2 0 11-2.892-2.55 5.553 5.553 0 01-.171-.519c-.349.182-.714.27-1.05.304A3.395 3.395 0 01.35 9.977a.497.497 0 01-.338-.582c.278-1.38 1.058-2.42 1.823-3.186.384-.384.77-.705 1.095-.966l.194-.155c.232-.186.402-.322.515-.433.112-.145.233-.283.362-.414V3a3 3 0 013-3zm1.003 11.895a2 2 0 012.141-1.89c.246-.618.356-1.322.356-2.005 0-.514-.101-1.07-.301-1.599l-.027-.017a6.387 6.387 0 00-.857-.42 6.715 6.715 0 00-1.013-.315l-.852.638a.75.75 0 01-.9 0l-.852-.638a6.716 6.716 0 00-1.693.634 4.342 4.342 0 00-.177.101l-.027.017A4.6 4.6 0 003.501 8c0 .683.109 1.387.355 2.005a2 2 0 012.142 1.89c.295.067.627.105 1.002.105s.707-.038 1.003-.105zM5 12a1 1 0 11-2 0 1 1 0 012 0zm6 0a1 1 0 11-2 0 1 1 0 012 0zM6.1 4.3a1.5 1.5 0 011.8 0l.267.2L7 5.375 5.833 4.5l.267-.2zM8.5 2a.5.5 0 01.5.5V3a.5.5 0 01-1 0v-.5a.5.5 0 01.5-.5zM6 2.5a.5.5 0 00-1 0V3a.5.5 0 001 0v-.5z",fill:e})))),Z8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("g",{clipPath:"url(#prefix__clip0_1107_3497)",fill:e},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M12.261 2.067c0 1.142-.89 2.068-1.988 2.068-1.099 0-1.99-.926-1.99-2.068C8.283.926 9.174 0 10.273 0c1.098 0 1.989.926 1.989 2.067zM3.978 6.6c0 1.142-.89 2.068-1.989 2.068C.891 8.668 0 7.742 0 6.601c0-1.142.89-2.068 1.989-2.068 1.099 0 1.989.926 1.989 2.068zM6.475 11.921A4.761 4.761 0 014.539 11a4.993 4.993 0 01-1.367-1.696 2.765 2.765 0 01-1.701.217 6.725 6.725 0 001.844 2.635 6.379 6.379 0 004.23 1.577 3.033 3.033 0 01-.582-1.728 4.767 4.767 0 01-.488-.083zM11.813 11.933c0 1.141-.89 2.067-1.989 2.067-1.098 0-1.989-.926-1.989-2.067 0-1.142.891-2.068 1.99-2.068 1.098 0 1.989.926 1.989 2.068zM12.592 11.173a6.926 6.926 0 001.402-3.913 6.964 6.964 0 00-1.076-4.023A2.952 2.952 0 0111.8 4.6c.398.78.592 1.656.564 2.539a5.213 5.213 0 01-.724 2.495c.466.396.8.935.952 1.54zM1.987 3.631c-.05 0-.101.002-.151.004C3.073 1.365 5.504.024 8.005.23a3.07 3.07 0 00-.603 1.676 4.707 4.707 0 00-2.206.596 4.919 4.919 0 00-1.7 1.576 2.79 2.79 0 00-1.509-.447z"})),react__WEBPACK_IMPORTED_MODULE_0__.createElement("defs",null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("clipPath",{id:"prefix__clip0_1107_3497"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"})))))),J8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M6.5 1H1v5.5h5.5V1zM13 1H7.5v5.5H13V1zM7.5 7.5H13V13H7.5V7.5zM6.5 7.5H1V13h5.5V7.5z",fill:e})))),Q8=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("g",{clipPath:"url(#prefix__clip0_1107_3496)"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.023 3.431a.115.115 0 01-.099.174H7.296A3.408 3.408 0 003.7 6.148a.115.115 0 01-.21.028l-1.97-3.413a.115.115 0 01.01-.129A6.97 6.97 0 017 0a6.995 6.995 0 016.023 3.431zM7 9.615A2.619 2.619 0 014.384 7 2.62 2.62 0 017 4.383 2.619 2.619 0 019.616 7 2.619 2.619 0 017 9.615zm1.034.71a.115.115 0 00-.121-.041 3.4 3.4 0 01-.913.124 3.426 3.426 0 01-3.091-1.973L1.098 3.567a.115.115 0 00-.2.001 7.004 7.004 0 005.058 10.354l.017.001c.04 0 .078-.021.099-.057l1.971-3.414a.115.115 0 00-.009-.128zm1.43-5.954h3.947c.047 0 .09.028.107.072.32.815.481 1.675.481 2.557a6.957 6.957 0 01-2.024 4.923A6.957 6.957 0 017.08 14h-.001a.115.115 0 01-.1-.172L9.794 8.95A3.384 3.384 0 0010.408 7c0-.921-.364-1.785-1.024-2.433a.115.115 0 01.08-.196z",fill:e})),react__WEBPACK_IMPORTED_MODULE_0__.createElement("defs",null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("clipPath",{id:"prefix__clip0_1107_3496"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"})))))),ey=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.042.616a.704.704 0 00-.66.729L1.816 12.9c.014.367.306.66.672.677l9.395.422h.032a.704.704 0 00.704-.703V.704c0-.015 0-.03-.002-.044a.704.704 0 00-.746-.659l-.773.049.057 1.615a.105.105 0 01-.17.086l-.52-.41-.617.468a.105.105 0 01-.168-.088L9.746.134 2.042.616zm8.003 4.747c-.247.192-2.092.324-2.092.05.04-1.045-.429-1.091-.689-1.091-.247 0-.662.075-.662.634 0 .57.607.893 1.32 1.27 1.014.538 2.24 1.188 2.24 2.823 0 1.568-1.273 2.433-2.898 2.433-1.676 0-3.141-.678-2.976-3.03.065-.275 2.197-.21 2.197 0-.026.971.195 1.256.753 1.256.43 0 .624-.236.624-.634 0-.602-.633-.958-1.361-1.367-.987-.554-2.148-1.205-2.148-2.7 0-1.494 1.027-2.489 2.86-2.489 1.832 0 2.832.98 2.832 2.845z",fill:e})))),ty=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("g",{clipPath:"url(#prefix__clip0_1107_3503)"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M0 5.176l1.31-1.73 4.902-1.994V.014l4.299 3.144-8.78 1.706v4.8L0 9.162V5.176zm14-2.595v8.548l-3.355 2.857-5.425-1.783v1.783L1.73 9.661l8.784 1.047v-7.55L14 2.581z",fill:e})),react__WEBPACK_IMPORTED_MODULE_0__.createElement("defs",null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("clipPath",{id:"prefix__clip0_1107_3503"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"})))))),ry=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.522a.411.411 0 00-.412.476l1.746 10.597a.56.56 0 00.547.466h8.373a.411.411 0 00.412-.345l1.017-6.248h-3.87L8.35 9.18H5.677l-.724-3.781h7.904L13.412 2A.411.411 0 0013 1.524L1 1.522z",fill:e})))),ny=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1014 0A7 7 0 000 7zm5.215-3.869a1.967 1.967 0 013.747.834v1.283l-3.346-1.93a2.486 2.486 0 00-.401-.187zm3.484 2.58l-3.346-1.93a1.968 1.968 0 00-2.685.72 1.954 1.954 0 00.09 2.106 2.45 2.45 0 01.362-.254l1.514-.873a.27.27 0 01.268 0l2.1 1.21 1.697-.978zm-.323 4.972L6.86 9.81a.268.268 0 01-.134-.231V7.155l-1.698-.98v3.86a1.968 1.968 0 003.747.835 2.488 2.488 0 01-.4-.187zm.268-.464a1.967 1.967 0 002.685-.719 1.952 1.952 0 00-.09-2.106c-.112.094-.233.18-.361.253L7.53 9.577l1.113.642zm-4.106.257a1.974 1.974 0 01-1.87-.975A1.95 1.95 0 012.47 8.01c.136-.507.461-.93.916-1.193L4.5 6.175v3.86c0 .148.013.295.039.44zM11.329 4.5a1.973 1.973 0 00-1.87-.976c.025.145.039.292.039.44v1.747a.268.268 0 01-.135.232l-2.1 1.211v1.96l3.346-1.931a1.966 1.966 0 00.72-2.683z",fill:e})))),oy=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M10.847 2.181L8.867.201a.685.685 0 00-.97 0l-4.81 4.81a.685.685 0 000 .969l2.466 2.465-2.405 2.404a.685.685 0 000 .97l1.98 1.98a.685.685 0 00.97 0l4.81-4.81a.685.685 0 000-.969L8.441 5.555l2.405-2.404a.685.685 0 000-.97z",fill:e})))),ay=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M11.852 2.885c-.893-.41-1.85-.712-2.85-.884a.043.043 0 00-.046.021c-.123.22-.26.505-.355.73a10.658 10.658 0 00-3.2 0 7.377 7.377 0 00-.36-.73.045.045 0 00-.046-.021c-1 .172-1.957.474-2.85.884a.04.04 0 00-.019.016C.311 5.612-.186 8.257.058 10.869a.048.048 0 00.018.033 11.608 11.608 0 003.496 1.767.045.045 0 00.049-.016c.27-.368.51-.755.715-1.163a.044.044 0 00-.024-.062 7.661 7.661 0 01-1.092-.52.045.045 0 01-.005-.075c.074-.055.147-.112.217-.17a.043.043 0 01.046-.006c2.29 1.046 4.771 1.046 7.035 0a.043.043 0 01.046.006c.07.057.144.115.218.17a.045.045 0 01-.004.075 7.186 7.186 0 01-1.093.52.045.045 0 00-.024.062c.21.407.45.795.715 1.162.011.016.03.023.05.017a11.57 11.57 0 003.5-1.767.045.045 0 00.019-.032c.292-3.02-.49-5.643-2.07-7.969a.036.036 0 00-.018-.016zM4.678 9.279c-.69 0-1.258-.634-1.258-1.411 0-.778.558-1.411 1.258-1.411.707 0 1.27.639 1.259 1.41 0 .778-.558 1.412-1.259 1.412zm4.652 0c-.69 0-1.258-.634-1.258-1.411 0-.778.557-1.411 1.258-1.411.707 0 1.27.639 1.258 1.41 0 .778-.551 1.412-1.258 1.412z",fill:e})))),iy=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.399 14H5.06V7H3.5V4.588l1.56-.001-.002-1.421C5.058 1.197 5.533 0 7.6 0h1.721v2.413H8.246c-.805 0-.844.337-.844.966l-.003 1.208h1.934l-.228 2.412L7.401 7l-.002 7z",fill:e})))),ly=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.2 0H4.803A2.603 2.603 0 003.41 4.802a2.603 2.603 0 000 4.396 2.602 2.602 0 103.998 2.199v-2.51a2.603 2.603 0 103.187-4.085A2.604 2.604 0 009.2 0zM7.407 7a1.793 1.793 0 103.586 0 1.793 1.793 0 00-3.586 0zm-.81 2.603H4.803a1.793 1.793 0 101.794 1.794V9.603zM4.803 4.397h1.794V.81H4.803a1.793 1.793 0 000 3.587zm0 .81a1.793 1.793 0 000 3.586h1.794V5.207H4.803zm4.397-.81H7.407V.81H9.2a1.794 1.794 0 010 3.587z",fill:e})))),sy=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M6.37 8.768l-2.042 3.537h6.755l2.042-3.537H6.37zm6.177-1.003l-3.505-6.07H4.96l3.504 6.07h4.084zM4.378 2.7L.875 8.77l2.042 3.536L6.42 6.236 4.378 2.7z",fill:e})))),uy=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0C3.132 0 0 3.132 0 7a6.996 6.996 0 004.786 6.641c.35.062.482-.149.482-.332 0-.166-.01-.718-.01-1.304-1.758.324-2.213-.429-2.353-.823-.079-.2-.42-.822-.717-.988-.246-.132-.596-.455-.01-.464.552-.009.946.508 1.077.717.63 1.06 1.636.762 2.039.578.061-.455.245-.761.446-.936-1.558-.175-3.185-.779-3.185-3.457 0-.76.271-1.39.717-1.88-.07-.176-.314-.893.07-1.856 0 0 .587-.183 1.925.718a6.495 6.495 0 011.75-.236c.595 0 1.19.078 1.75.236 1.34-.91 1.926-.718 1.926-.718.385.963.14 1.68.07 1.855.446.49.717 1.111.717 1.881 0 2.687-1.636 3.282-3.194 3.457.254.218.473.638.473 1.295 0 .936-.009 1.688-.009 1.925 0 .184.131.402.481.332A7.012 7.012 0 0014 7c0-3.868-3.133-7-7-7z",fill:e})))),cy=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.068 5.583l1.487-4.557a.256.256 0 01.487 0L4.53 5.583H1.068L7 13.15 4.53 5.583h4.941l-2.47 7.565 5.931-7.565H9.471l1.488-4.557a.256.256 0 01.486 0l1.488 4.557.75 2.3a.508.508 0 01-.185.568L7 13.148v.001H7L.503 8.452a.508.508 0 01-.186-.57l.75-2.299z",fill:e})))),py=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M10.925 1.094H7.262c-1.643 0-3.189 1.244-3.189 2.685 0 1.473 1.12 2.661 2.791 2.661.116 0 .23-.002.34-.01a1.49 1.49 0 00-.186.684c0 .41.22.741.498 1.012-.21 0-.413.006-.635.006-2.034 0-3.6 1.296-3.6 2.64 0 1.323 1.717 2.15 3.75 2.15 2.32 0 3.6-1.315 3.6-2.639 0-1.06-.313-1.696-1.28-2.38-.331-.235-.965-.805-.965-1.14 0-.392.112-.586.703-1.047.606-.474 1.035-1.14 1.035-1.914 0-.92-.41-1.819-1.18-2.115h1.161l.82-.593zm-1.335 8.96c.03.124.045.25.045.378 0 1.07-.688 1.905-2.665 1.905-1.406 0-2.421-.89-2.421-1.96 0-1.047 1.259-1.92 2.665-1.904.328.004.634.057.911.146.764.531 1.311.832 1.465 1.436zM7.34 6.068c-.944-.028-1.841-1.055-2.005-2.295-.162-1.24.47-2.188 1.415-2.16.943.029 1.84 1.023 2.003 2.262.163 1.24-.47 2.222-1.414 2.193z",fill:e})))),dy=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.873 11.608a1.167 1.167 0 00-1.707-.027L3.46 10.018l.01-.04h7.072l.022.076-2.69 1.554zM6.166 2.42l.031.03-3.535 6.124a1.265 1.265 0 00-.043-.012V5.438a1.166 1.166 0 00.84-1.456L6.167 2.42zm4.387 1.562a1.165 1.165 0 00.84 1.456v3.124l-.043.012-3.536-6.123a1.2 1.2 0 00.033-.032l2.706 1.563zM3.473 9.42a1.168 1.168 0 00-.327-.568L6.68 2.73a1.17 1.17 0 00.652 0l3.536 6.123a1.169 1.169 0 00-.327.567H3.473zm8.79-.736a1.169 1.169 0 00-.311-.124V5.44a1.17 1.17 0 10-1.122-1.942L8.13 1.938a1.168 1.168 0 00-1.122-1.5 1.17 1.17 0 00-1.121 1.5l-2.702 1.56a1.168 1.168 0 00-1.86.22 1.17 1.17 0 00.739 1.722v3.12a1.168 1.168 0 00-.74 1.721 1.17 1.17 0 001.861.221l2.701 1.56a1.169 1.169 0 102.233-.035l2.687-1.552a1.168 1.168 0 101.457-1.791z",fill:e})))),fy=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M0 0v14h14V0H0zm11.63 3.317l-.75.72a.22.22 0 00-.083.212v-.001 5.289a.22.22 0 00.083.21l.733.72v.159H7.925v-.158l.76-.738c.074-.074.074-.096.074-.21V5.244l-2.112 5.364h-.285l-2.46-5.364V8.84a.494.494 0 00.136.413h.001l.988 1.198v.158H2.226v-.158l.988-1.198a.477.477 0 00.126-.416v.003-4.157a.363.363 0 00-.118-.307l-.878-1.058v-.158h2.727l2.107 4.622L9.031 3.16h2.6v.158z",fill:e})))),hy=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.06 9.689c.016.49.423.88.912.88h.032a.911.911 0 00.88-.945.916.916 0 00-.912-.88h-.033c-.033 0-.08 0-.113.016-.669-1.108-.946-2.314-.848-3.618.065-.978.391-1.825.961-2.526.473-.603 1.386-.896 2.005-.913 1.728-.032 2.461 2.119 2.51 2.983.212.049.57.163.815.244C10.073 2.29 8.444.92 6.88.92c-1.467 0-2.82 1.06-3.357 2.625-.75 2.086-.261 4.09.651 5.671a.74.74 0 00-.114.473zm8.279-2.298c-1.239-1.45-3.064-2.249-5.15-2.249h-.261a.896.896 0 00-.798-.489h-.033A.912.912 0 006.13 6.48h.031a.919.919 0 00.8-.554h.293c1.239 0 2.412.358 3.472 1.059.814.538 1.401 1.238 1.727 2.086.277.684.261 1.353-.033 1.923-.456.864-1.222 1.337-2.232 1.337a4.16 4.16 0 01-1.597-.343 9.58 9.58 0 01-.734.587c.7.326 1.418.505 2.102.505 1.565 0 2.722-.863 3.162-1.727.473-.946.44-2.575-.782-3.961zm-7.433 5.51a4.005 4.005 0 01-.977.113c-1.206 0-2.298-.505-2.836-1.32C.376 10.603.13 8.289 2.494 6.577c.05.261.147.62.212.832-.31.228-.798.685-1.108 1.303-.44.864-.391 1.729.13 2.527.359.537.93.864 1.663.962.896.114 1.793-.05 2.657-.505 1.271-.669 2.119-1.467 2.672-2.56a.944.944 0 01-.26-.603.913.913 0 01.88-.945h.033a.915.915 0 01.098 1.825c-.897 1.842-2.478 3.08-4.565 3.488z",fill:e})))),my=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 2.547a5.632 5.632 0 01-1.65.464 2.946 2.946 0 001.263-1.63 5.67 5.67 0 01-1.823.715 2.837 2.837 0 00-2.097-.93c-1.586 0-2.872 1.319-2.872 2.946 0 .23.025.456.074.67C4.508 4.66 2.392 3.488.975 1.706c-.247.435-.389.941-.389 1.481 0 1.022.507 1.923 1.278 2.452a2.806 2.806 0 01-1.3-.368l-.001.037c0 1.427.99 2.617 2.303 2.888a2.82 2.82 0 01-1.297.05c.366 1.17 1.427 2.022 2.683 2.045A5.671 5.671 0 010 11.51a7.985 7.985 0 004.403 1.323c5.283 0 8.172-4.488 8.172-8.38 0-.128-.003-.255-.009-.38A5.926 5.926 0 0014 2.546z",fill:e})))),gy=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.99 8.172c.005-.281.007-.672.007-1.172 0-.5-.002-.89-.007-1.172a14.952 14.952 0 00-.066-1.066 9.638 9.638 0 00-.169-1.153c-.083-.38-.264-.7-.542-.96a1.667 1.667 0 00-.972-.454C11.084 2.065 9.337 2 6.999 2s-4.085.065-5.241.195a1.65 1.65 0 00-.969.453c-.276.26-.455.58-.539.961a8.648 8.648 0 00-.176 1.153c-.039.43-.061.785-.066 1.066C.002 6.11 0 6.5 0 7c0 .5.002.89.008 1.172.005.281.027.637.066 1.067.04.43.095.813.168 1.152.084.38.265.7.543.96.279.261.603.412.973.453 1.156.13 2.902.196 5.24.196 2.34 0 4.087-.065 5.243-.196a1.65 1.65 0 00.967-.453c.276-.26.456-.58.54-.96.077-.339.136-.722.175-1.152.04-.43.062-.786.067-1.067zM9.762 6.578A.45.45 0 019.997 7a.45.45 0 01-.235.422l-3.998 2.5a.442.442 0 01-.266.078.538.538 0 01-.242-.063.465.465 0 01-.258-.437v-5c0-.197.086-.343.258-.437a.471.471 0 01.508.016l3.998 2.5z",fill:e})))),vy=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.243.04a.87.87 0 01.38.087l2.881 1.386a.874.874 0 01.496.79V11.713a.875.875 0 01-.496.775l-2.882 1.386a.872.872 0 01-.994-.17L4.11 8.674l-2.404 1.823a.583.583 0 01-.744-.034l-.771-.7a.583.583 0 010-.862L2.274 7 .19 5.1a.583.583 0 010-.862l.772-.701a.583.583 0 01.744-.033L4.11 5.327 9.628.296a.871.871 0 01.615-.255zm.259 3.784L6.315 7l4.187 3.176V3.824z",fill:e})))),wy=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.667 13H2.333A1.333 1.333 0 011 11.667V2.333C1 1.597 1.597 1 2.333 1h9.334C12.403 1 13 1.597 13 2.333v9.334c0 .736-.597 1.333-1.333 1.333zm-2.114-1.667h1.78V7.675c0-1.548-.877-2.296-2.102-2.296-1.226 0-1.742.955-1.742.955v-.778H5.773v5.777h1.716V8.3c0-.812.374-1.296 1.09-1.296.658 0 .974.465.974 1.296v3.033zm-6.886-7.6c0 .589.474 1.066 1.058 1.066.585 0 1.058-.477 1.058-1.066 0-.589-.473-1.066-1.058-1.066-.584 0-1.058.477-1.058 1.066zm1.962 7.6h-1.79V5.556h1.79v5.777z",fill:e})))),by=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M11.02.446h2.137L8.49 5.816l5.51 7.28H9.67L6.298 8.683l-3.88 4.413H.282l5.004-5.735L0 .446h4.442l3.064 4.048L11.02.446zm-.759 11.357h1.18L3.796 1.655H2.502l7.759 10.148z",fill:e})))),yy=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h13a.5.5 0 01.5.5v11a.5.5 0 01-.5.5H.5zm.5-1v-8h12v8H1zm1-9.5a.5.5 0 11-1 0 .5.5 0 011 0zm2 0a.5.5 0 11-1 0 .5.5 0 011 0zm2 0a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e})))),Dy=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5.004a1.5 1.5 0 00-1.5 1.5v11a1.5 1.5 0 001.5 1.5h7a1.5 1.5 0 001.5-1.5v-11a1.5 1.5 0 00-1.5-1.5h-7zm0 1h7a.5.5 0 01.5.5v9.5H3v-9.5a.5.5 0 01.5-.5zm2.5 11a.5.5 0 000 1h2a.5.5 0 000-1H6z",fill:e})))),xy=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 1.504a1.5 1.5 0 011.5-1.5h5a1.5 1.5 0 011.5 1.5v11a1.5 1.5 0 01-1.5 1.5h-5a1.5 1.5 0 01-1.5-1.5v-11zm1 10.5v-10h6v10H4z",fill:e})))),Cy=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 .504a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zm5.5 2.5h-5a.5.5 0 00-.5.5v7a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-7a.5.5 0 00-.5-.5zm-5-1a1.5 1.5 0 00-1.5 1.5v7a1.5 1.5 0 001.5 1.5h5a1.5 1.5 0 001.5-1.5v-7a1.5 1.5 0 00-1.5-1.5h-5zm2.5 2a.5.5 0 01.5.5v2h1a.5.5 0 110 1H7a.5.5 0 01-.5-.5v-2.5a.5.5 0 01.5-.5zm-2.5 9a.5.5 0 000 1h5a.5.5 0 000-1h-5z",fill:e})))),Ey=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M2.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H3a.5.5 0 01-.5-.5zM3 6.004a.5.5 0 100 1h1a.5.5 0 000-1H3zM2.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H3a.5.5 0 01-.5-.5z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm.5-1v-10h3v10H2zm4-10h6v10H6v-10z",fill:e})))),Sy=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M9.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM10 6.004a.5.5 0 100 1h1a.5.5 0 000-1h-1zM9.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm.5-1v-10h6v10H2zm7-10h3v10H9v-10z",fill:e})))),Ry=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M11.5 4.504a.5.5 0 00-.5-.5h-1a.5.5 0 100 1h1a.5.5 0 00.5-.5zM11 6.004a.5.5 0 010 1h-1a.5.5 0 010-1h1zM11.5 8.504a.5.5 0 00-.5-.5h-1a.5.5 0 100 1h1a.5.5 0 00.5-.5z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm7.5-1h3v-10H9v10zm-1 0H2v-10h6v4.5H5.207l.65-.65a.5.5 0 10-.707-.708L3.646 6.65a.5.5 0 000 .707l1.497 1.497a.5.5 0 10.707-.708l-.643-.642H8v4.5z",fill:e})))),Ay=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M1.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H2a.5.5 0 01-.5-.5zM2 6.004a.5.5 0 100 1h1a.5.5 0 000-1H2zM1.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H2a.5.5 0 01-.5-.5z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5H.5zm.5-1v-10h3v10H1zm4 0v-4.5h2.793l-.643.642a.5.5 0 10.707.708l1.497-1.497a.5.5 0 000-.707L7.85 5.146a.5.5 0 10-.707.708l.65.65H5v-4.5h6v10H5z",fill:e})))),Fy=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M3 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM6.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1zM9 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 6.5v-6h10v6H2zm10 1v3H2v-3h10z",fill:e})))),ky=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M3.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1zM6 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM9.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 12.504v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5zm1-.5v-3h10v3H2zm4.5-4H2v-6h10v6H7.5V5.21l.646.646a.5.5 0 10.708-.707l-1.5-1.5a.5.5 0 00-.708 0l-1.5 1.5a.5.5 0 10.708.707l.646-.646v2.793z",fill:e})))),Ty=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 5.504a.5.5 0 01.5-.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5v-3zm1 2.5v-2h2v2H6z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5.004a.5.5 0 01.5.5v1.5h2v-1.5a.5.5 0 011 0v1.5h2.5a.5.5 0 01.5.5v2.5h1.5a.5.5 0 010 1H12v2h1.5a.5.5 0 010 1H12v2.5a.5.5 0 01-.5.5H9v1.5a.5.5 0 01-1 0v-1.5H6v1.5a.5.5 0 01-1 0v-1.5H2.5a.5.5 0 01-.5-.5v-2.5H.5a.5.5 0 010-1H2v-2H.5a.5.5 0 010-1H2v-2.5a.5.5 0 01.5-.5H5v-1.5a.5.5 0 01.5-.5zm5.5 3H3v8h8v-8z",fill:e})))),Ly=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3c0-1.105-2.239-2-5-2s-5 .895-5 2v8c0 .426.26.752.544.977.29.228.68.413 1.116.558.878.293 2.059.465 3.34.465 1.281 0 2.462-.172 3.34-.465.436-.145.825-.33 1.116-.558.285-.225.544-.551.544-.977V3zm-1.03 0a.787.787 0 00-.05-.052c-.13-.123-.373-.28-.756-.434C9.404 2.21 8.286 2 7 2c-1.286 0-2.404.21-3.164.514-.383.153-.625.31-.756.434A.756.756 0 003.03 3a.756.756 0 00.05.052c.13.123.373.28.756.434C4.596 3.79 5.714 4 7 4c1.286 0 2.404-.21 3.164-.514.383-.153.625-.31.756-.434A.787.787 0 0010.97 3zM11 5.75V4.2c-.912.486-2.364.8-4 .8-1.636 0-3.088-.314-4-.8v1.55l.002.008a.147.147 0 00.016.033.618.618 0 00.145.15c.165.13.435.27.813.395.751.25 1.82.414 3.024.414s2.273-.163 3.024-.414c.378-.126.648-.265.813-.395a.62.62 0 00.146-.15.149.149 0 00.015-.033A.03.03 0 0011 5.75zM3 7.013c.2.103.423.193.66.272.878.293 2.059.465 3.34.465 1.281 0 2.462-.172 3.34-.465.237-.079.46-.17.66-.272V8.5l-.002.008a.149.149 0 01-.015.033.62.62 0 01-.146.15c-.165.13-.435.27-.813.395-.751.25-1.82.414-3.024.414s-2.273-.163-3.024-.414c-.378-.126-.648-.265-.813-.395a.618.618 0 01-.145-.15.147.147 0 01-.016-.033A.027.027 0 013 8.5V7.013zm0 2.75V11l.002.008a.147.147 0 00.016.033.617.617 0 00.145.15c.165.13.435.27.813.395.751.25 1.82.414 3.024.414s2.273-.163 3.024-.414c.378-.126.648-.265.813-.395a.619.619 0 00.146-.15.148.148 0 00.015-.033L11 11V9.763c-.2.103-.423.193-.66.272-.878.293-2.059.465-3.34.465-1.281 0-2.462-.172-3.34-.465A4.767 4.767 0 013 9.763z",fill:e})))),By=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M5 3a.5.5 0 00-1 0v3a.5.5 0 001 0V3zM7 2.5a.5.5 0 01.5.5v3a.5.5 0 01-1 0V3a.5.5 0 01.5-.5zM10 4.504a.5.5 0 10-1 0V6a.5.5 0 001 0V4.504z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3.54l-.001-.002a.499.499 0 00-.145-.388l-3-3a.499.499 0 00-.388-.145L8.464.004H2.5a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h9a.5.5 0 00.5-.5V3.54zM3 1.004h5.293L11 3.71v5.293H3v-8zm0 9v3h8v-3H3z",fill:e})))),Iy=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.164 3.446a1.5 1.5 0 10-2.328 0L1.81 10.032A1.503 1.503 0 000 11.5a1.5 1.5 0 002.915.5h8.17a1.5 1.5 0 101.104-1.968L8.164 3.446zm-1.475.522a1.506 1.506 0 00.622 0l4.025 6.586a1.495 1.495 0 00-.25.446H2.914a1.497 1.497 0 00-.25-.446l4.024-6.586z",fill:e})))),My=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.21.046l6.485 2.994A.5.5 0 0114 3.51v6.977a.495.495 0 01-.23.432.481.481 0 01-.071.038L7.23 13.944a.499.499 0 01-.46 0L.3 10.958a.498.498 0 01-.3-.47V3.511a.497.497 0 01.308-.473L6.78.051a.499.499 0 01.43-.005zM1 4.282v5.898l5.5 2.538V6.82L1 4.282zm6.5 8.436L13 10.18V4.282L7.5 6.82v5.898zM12.307 3.5L7 5.95 1.693 3.5 7 1.05l5.307 2.45z",fill:e})))),_y=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v6a.5.5 0 001 0v-6z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M4.273 2.808a.5.5 0 00-.546-.837 6 6 0 106.546 0 .5.5 0 00-.546.837 5 5 0 11-5.454 0z",fill:e})))),Py=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.854 2.146l-2-2a.5.5 0 00-.708 0l-1.5 1.5-8.995 8.995a.499.499 0 00-.143.268L.012 13.39a.495.495 0 00.135.463.5.5 0 00.462.134l2.482-.496a.495.495 0 00.267-.143l8.995-8.995 1.5-1.5a.5.5 0 000-.708zM12 3.293l.793-.793L11.5 1.207 10.707 2 12 3.293zm-2-.586L1.707 11 3 12.293 11.293 4 10 2.707zM1.137 12.863l.17-.849.679.679-.849.17z",fill:e})))),Hy=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M5.586 5.586A2 2 0 018.862 7.73a.5.5 0 10.931.365 3 3 0 10-1.697 1.697.5.5 0 10-.365-.93 2 2 0 01-2.145-3.277z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.939 6.527c.127.128.19.297.185.464a.635.635 0 01-.185.465L0 8.395a7.099 7.099 0 001.067 2.572h1.32c.182 0 .345.076.46.197a.635.635 0 01.198.46v1.317A7.097 7.097 0 005.602 14l.94-.94a.634.634 0 01.45-.186H7.021c.163 0 .326.061.45.186l.939.938a7.098 7.098 0 002.547-1.057V11.61c0-.181.075-.344.197-.46a.634.634 0 01.46-.197h1.33c.507-.76.871-1.622 1.056-2.55l-.946-.946a.635.635 0 01-.186-.465.635.635 0 01.186-.464l.943-.944a7.099 7.099 0 00-1.044-2.522h-1.34a.635.635 0 01-.46-.197.635.635 0 01-.196-.46V1.057A7.096 7.096 0 008.413.002l-.942.942a.634.634 0 01-.45.186H6.992a.634.634 0 01-.45-.186L5.598 0a7.097 7.097 0 00-2.553 1.058v1.33c0 .182-.076.345-.197.46a.635.635 0 01-.46.198h-1.33A7.098 7.098 0 00.003 5.591l.936.936zm.707 1.636c.324-.324.482-.752.479-1.172a1.634 1.634 0 00-.48-1.171l-.538-.539c.126-.433.299-.847.513-1.235h.768c.459 0 .873-.19 1.167-.49.3-.295.49-.708.49-1.167v-.77c.39-.215.807-.388 1.243-.515l.547.547c.32.32.742.48 1.157.48l.015-.001h.014c.415 0 .836-.158 1.157-.479l.545-.544c.433.126.846.299 1.234.512v.784c0 .46.19.874.49 1.168.294.3.708.49 1.167.49h.776c.209.382.378.788.502 1.213l-.545.546a1.635 1.635 0 00-.48 1.17c-.003.421.155.849.48 1.173l.549.55c-.126.434-.3.85-.513 1.239h-.77c-.458 0-.872.19-1.166.49-.3.294-.49.708-.49 1.167v.77a6.09 6.09 0 01-1.238.514l-.54-.54a1.636 1.636 0 00-1.158-.48H6.992c-.415 0-.837.159-1.157.48l-.543.543a6.091 6.091 0 01-1.247-.516v-.756c0-.459-.19-.873-.49-1.167-.294-.3-.708-.49-1.167-.49h-.761a6.094 6.094 0 01-.523-1.262l.542-.542z",fill:e})))),zy=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M5.585 8.414a2 2 0 113.277-.683.5.5 0 10.931.365 3 3 0 10-1.697 1.697.5.5 0 00-.365-.93 2 2 0 01-2.146-.449z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.5.289a1 1 0 011 0l5.062 2.922a1 1 0 01.5.866v5.846a1 1 0 01-.5.866L7.5 13.71a1 1 0 01-1 0L1.437 10.79a1 1 0 01-.5-.866V4.077a1 1 0 01.5-.866L6.5.29zm.5.866l5.062 2.922v5.846L7 12.845 1.937 9.923V4.077L7 1.155z",fill:e})))),$y=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5 1c.441 0 .564.521.252.833l-.806.807a.51.51 0 000 .72l.694.694a.51.51 0 00.72 0l.807-.806c.312-.312.833-.19.833.252a2.5 2.5 0 01-3.414 2.328l-6.879 6.88a1 1 0 01-1.414-1.415l6.88-6.88A2.5 2.5 0 0110.5 1zM2 12.5a.5.5 0 100-1 .5.5 0 000 1z",fill:e})))),Oy=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M4 7a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM13 7a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM7 8.5a1.5 1.5 0 100-3 1.5 1.5 0 000 3z",fill:e})))),Ny=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M5.903.112a.107.107 0 01.194 0l.233.505.552.066c.091.01.128.123.06.185l-.408.377.109.546a.107.107 0 01-.158.114L6 1.634l-.485.271a.107.107 0 01-.158-.114l.108-.546-.408-.377a.107.107 0 01.06-.185L5.67.617l.233-.505zM2.194.224a.214.214 0 00-.389 0l-.466 1.01-1.104.131a.214.214 0 00-.12.37l.816.755-.217 1.091a.214.214 0 00.315.23L2 3.266l.971.543c.16.09.35-.05.315-.229l-.216-1.09.816-.756a.214.214 0 00-.12-.37L2.66 1.234 2.194.224zM12.194 8.224a.214.214 0 00-.389 0l-.466 1.01-1.104.13a.214.214 0 00-.12.371l.816.755-.217 1.091a.214.214 0 00.315.23l.97-.544.971.543c.16.09.35-.05.315-.229l-.216-1.09.816-.756a.214.214 0 00-.12-.37l-1.105-.131-.466-1.01z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 12.797l-1.293-1.293 6.758-6.758L9.258 6.04 2.5 12.797zm7.465-7.465l2.828-2.828L11.5 1.211 8.672 4.04l1.293 1.293zM.147 11.857a.5.5 0 010-.707l11-11a.5.5 0 01.706 0l2 2a.5.5 0 010 .708l-11 11a.5.5 0 01-.706 0l-2-2z",fill:e})))),jy=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M13.854 3.354a.5.5 0 00-.708-.708L5 10.793.854 6.646a.5.5 0 10-.708.708l4.5 4.5a.5.5 0 00.708 0l8.5-8.5z",fill:e})))),Vy=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1V6.393a.5.5 0 00-1 0v5.61H2v-10h7.5a.5.5 0 000-1H2z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M6.354 9.857l7.5-7.5a.5.5 0 00-.708-.707L6 8.797 3.854 6.65a.5.5 0 10-.708.707l2.5 2.5a.5.5 0 00.708 0z",fill:e})))),qy=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M11.5 2a.5.5 0 000 1h2a.5.5 0 000-1h-2zM8.854 2.646a.5.5 0 010 .708L5.207 7l3.647 3.646a.5.5 0 01-.708.708L4.5 7.707.854 11.354a.5.5 0 01-.708-.708L3.793 7 .146 3.354a.5.5 0 11.708-.708L4.5 6.293l3.646-3.647a.5.5 0 01.708 0zM11 7a.5.5 0 01.5-.5h2a.5.5 0 010 1h-2A.5.5 0 0111 7zM11.5 11a.5.5 0 000 1h2a.5.5 0 000-1h-2z",fill:e})))),Wy=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M11.5 2a.5.5 0 000 1h2a.5.5 0 000-1h-2zM9.3 2.6a.5.5 0 01.1.7l-5.995 7.993a.505.505 0 01-.37.206.5.5 0 01-.395-.152L.146 8.854a.5.5 0 11.708-.708l2.092 2.093L8.6 2.7a.5.5 0 01.7-.1zM11 7a.5.5 0 01.5-.5h2a.5.5 0 010 1h-2A.5.5 0 0111 7zM11.5 11a.5.5 0 000 1h2a.5.5 0 000-1h-2z",fill:e})))),Uy=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M10.5 1a.5.5 0 01.5.5V2h1.5a.5.5 0 010 1H11v.5a.5.5 0 01-1 0V3H1.5a.5.5 0 010-1H10v-.5a.5.5 0 01.5-.5zM1.5 11a.5.5 0 000 1H10v.5a.5.5 0 001 0V12h1.5a.5.5 0 000-1H11v-.5a.5.5 0 00-1 0v.5H1.5zM1 7a.5.5 0 01.5-.5H3V6a.5.5 0 011 0v.5h8.5a.5.5 0 010 1H4V8a.5.5 0 01-1 0v-.5H1.5A.5.5 0 011 7z",fill:e})))),Gy=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v6h-6a.5.5 0 000 1h6v6a.5.5 0 001 0v-6h6a.5.5 0 000-1h-6v-6z",fill:e})))),Xy=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M2.03.97A.75.75 0 00.97 2.03L5.94 7 .97 11.97a.75.75 0 101.06 1.06L7 8.06l4.97 4.97a.75.75 0 101.06-1.06L8.06 7l4.97-4.97A.75.75 0 0011.97.97L7 5.94 2.03.97z",fill:e})))),Pu=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708L6.293 7l-5.147 5.146a.5.5 0 00.708.708L7 7.707l5.146 5.147a.5.5 0 00.708-.708L7.707 7l5.147-5.146a.5.5 0 00-.708-.708L7 6.293 1.854 1.146z",fill:e})))),Yy=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M5.5 4.5A.5.5 0 016 5v5a.5.5 0 01-1 0V5a.5.5 0 01.5-.5zM9 5a.5.5 0 00-1 0v5a.5.5 0 001 0V5z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5.5A.5.5 0 015 0h4a.5.5 0 01.5.5V2h3a.5.5 0 010 1H12v8a2 2 0 01-2 2H4a2 2 0 01-2-2V3h-.5a.5.5 0 010-1h3V.5zM3 3v8a1 1 0 001 1h6a1 1 0 001-1V3H3zm2.5-2h3v1h-3V1z",fill:e})))),Ky=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("g",{clipPath:"url(#prefix__clip0_1107_3502)"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.44 4.44L9.56.56a1.5 1.5 0 00-2.12 0L7 1a1.415 1.415 0 000 2L5 5H3.657A4 4 0 00.828 6.17l-.474.475a.5.5 0 000 .707l2.793 2.793-3 3a.5.5 0 00.707.708l3-3 2.792 2.792a.5.5 0 00.708 0l.474-.475A4 4 0 009 10.343V9l2-2a1.414 1.414 0 002 0l.44-.44a1.5 1.5 0 000-2.12zM11 5.585l-3 3v1.757a3 3 0 01-.879 2.121L7 12.586 1.414 7l.122-.122A3 3 0 013.656 6h1.758l3-3-.707-.707a.414.414 0 010-.586l.44-.44a.5.5 0 01.707 0l3.878 3.88a.5.5 0 010 .706l-.44.44a.414.414 0 01-.585 0L11 5.586z",fill:e})),react__WEBPACK_IMPORTED_MODULE_0__.createElement("defs",null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("clipPath",{id:"prefix__clip0_1107_3502"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"})))))),Zy=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("g",{clipPath:"url(#prefix__clip0_1107_3501)",fill:e},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M13.44 4.44L9.56.56a1.5 1.5 0 00-2.12 0L7 1a1.415 1.415 0 000 2L5.707 4.293 6.414 5l2-2-.707-.707a.414.414 0 010-.586l.44-.44a.5.5 0 01.707 0l3.878 3.88a.5.5 0 010 .706l-.44.44a.414.414 0 01-.585 0L11 5.586l-2 2 .707.707L11 7a1.414 1.414 0 002 0l.44-.44a1.5 1.5 0 000-2.12zM.828 6.171a4 4 0 012.758-1.17l1 .999h-.93a3 3 0 00-2.12.878L1.414 7 7 12.586l.121-.122A3 3 0 008 10.343v-.929l1 1a4 4 0 01-1.172 2.757l-.474.475a.5.5 0 01-.708 0l-2.792-2.792-3 3a.5.5 0 01-.708-.708l3-3L.355 7.353a.5.5 0 010-.707l.474-.475zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11z"})),react__WEBPACK_IMPORTED_MODULE_0__.createElement("defs",null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("clipPath",{id:"prefix__clip0_1107_3501"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"})))))),Jy=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e})))),Qy=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e})))),e9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M9.854 4.146a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e})))),t9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0a6 6 0 01-9.874 4.582l8.456-8.456A5.976 5.976 0 0113 7zM2.418 10.874l8.456-8.456a6 6 0 00-8.456 8.456z",fill:e})))),r9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm3.854-9.354a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708 0l-2.5-2.5a.5.5 0 11.708-.708L6 8.793l4.146-4.147a.5.5 0 01.708 0z",fill:e})))),n9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zM3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e})))),o9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm2.854-9.854a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z",fill:e})))),a9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 2h7a2 2 0 012 2v6a2 2 0 01-2 2H5a1.994 1.994 0 01-1.414-.586l-3-3a2 2 0 010-2.828l3-3A1.994 1.994 0 015 2zm1.146 3.146a.5.5 0 01.708 0L8 6.293l1.146-1.147a.5.5 0 11.708.708L8.707 7l1.147 1.146a.5.5 0 01-.708.708L8 7.707 6.854 8.854a.5.5 0 11-.708-.708L7.293 7 6.146 5.854a.5.5 0 010-.708z",fill:e})))),i9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M3.5 5.004a.5.5 0 100 1h7a.5.5 0 000-1h-7zM3 8.504a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 12.004H5.707l-1.853 1.854a.5.5 0 01-.351.146h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5zm-10.5-1v-8h10v8H2z",fill:e})))),l9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M7.5 5.004a.5.5 0 10-1 0v1.5H5a.5.5 0 100 1h1.5v1.5a.5.5 0 001 0v-1.5H9a.5.5 0 000-1H7.5v-1.5z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.691 13.966a.498.498 0 01-.188.038h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H5.707l-1.853 1.854a.5.5 0 01-.163.108zM2 3.004v8h10v-8H2z",fill:e})))),s9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M9.854 6.65a.5.5 0 010 .707l-2 2a.5.5 0 11-.708-.707l1.15-1.15-3.796.004a.5.5 0 010-1L8.29 6.5 7.145 5.357a.5.5 0 11.708-.707l2 2z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.691 13.966a.498.498 0 01-.188.038h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H5.707l-1.853 1.854a.5.5 0 01-.163.108zM2 3.004v8h10v-8H2z",fill:e})))),u9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M8.5 7.004a.5.5 0 000-1h-5a.5.5 0 100 1h5zM9 8.504a.5.5 0 01-.5.5h-5a.5.5 0 010-1h5a.5.5 0 01.5.5z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 11.504v-1.5h1.5a.5.5 0 00.5-.5v-8a.5.5 0 00-.5-.5h-11a.5.5 0 00-.5.5v1.5H.5a.5.5 0 00-.5.5v8a.5.5 0 00.5.5H2v1.5a.499.499 0 00.497.5h.006a.498.498 0 00.35-.146l1.854-1.854H11.5a.5.5 0 00.5-.5zm-9-8.5v-1h10v7h-1v-5.5a.5.5 0 00-.5-.5H3zm-2 8v-7h10v7H1z",fill:e})))),c9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 2a2 2 0 012-2h8a2 2 0 012 2v8a2 2 0 01-2 2H6.986a.444.444 0 01-.124.103l-3.219 1.84A.43.43 0 013 13.569V12a2 2 0 01-2-2V2zm3.42 4.78a.921.921 0 110-1.843.921.921 0 010 1.842zm1.658-.922a.921.921 0 101.843 0 .921.921 0 00-1.843 0zm2.58 0a.921.921 0 101.842 0 .921.921 0 00-1.843 0z",fill:e})))),p9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M8 8.004a1 1 0 01-.5.866v1.634a.5.5 0 01-1 0V8.87A1 1 0 118 8.004z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 4.004a4 4 0 118 0v1h1.5a.5.5 0 01.5.5v8a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-8a.5.5 0 01.5-.5H3v-1zm7 1v-1a3 3 0 10-6 0v1h6zm2 1H2v7h10v-7z",fill:e})))),d9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("g",{clipPath:"url(#prefix__clip0_1107_3614)",fill:e},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M6.5 8.87a1 1 0 111 0v1.634a.5.5 0 01-1 0V8.87z"}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 1a3 3 0 00-3 3v1.004h8.5a.5.5 0 01.5.5v8a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-8a.5.5 0 01.5-.5H3V4a4 4 0 017.755-1.381.5.5 0 01-.939.345A3.001 3.001 0 007 1zM2 6.004h10v7H2v-7z"})),react__WEBPACK_IMPORTED_MODULE_0__.createElement("defs",null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("clipPath",{id:"prefix__clip0_1107_3614"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"})))))),f9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M11 4a1 1 0 11-2 0 1 1 0 012 0z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.5 8.532V9.5a.5.5 0 01-.5.5H5.5v1.5a.5.5 0 01-.5.5H3.5v1.5a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-2a.5.5 0 01.155-.362l5.11-5.11A4.5 4.5 0 117.5 8.532zM6 4.5a3.5 3.5 0 111.5 2.873c-.29-.203-1-.373-1 .481V9H5a.5.5 0 00-.5.5V11H3a.5.5 0 00-.5.5V13H1v-1.293l5.193-5.193a.552.552 0 00.099-.613A3.473 3.473 0 016 4.5z",fill:e})))),h9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M7.354.15a.5.5 0 00-.708 0l-2 2a.5.5 0 10.708.707L6.5 1.711v6.793a.5.5 0 001 0V1.71l1.146 1.146a.5.5 0 10.708-.707l-2-2z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M2 7.504a.5.5 0 10-1 0v5a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-5a.5.5 0 00-1 0v4.5H2v-4.5z",fill:e})))),m9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M2.5 8.004a.5.5 0 100 1h3a.5.5 0 000-1h-3z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 11.504a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H.5a.5.5 0 00-.5.5v9zm1-8.5v1h12v-1H1zm0 8h12v-5H1v5z",fill:e})))),g9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M1 3.004a1 1 0 00-1 1v5a1 1 0 001 1h3.5a.5.5 0 100-1H1v-5h12v5h-1a.5.5 0 000 1h1a1 1 0 001-1v-5a1 1 0 00-1-1H1z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M6.45 7.006a.498.498 0 01.31.07L10.225 9.1a.5.5 0 01-.002.873l-1.074.621.75 1.3a.75.75 0 01-1.3.75l-.75-1.3-1.074.62a.497.497 0 01-.663-.135.498.498 0 01-.095-.3L6 7.515a.497.497 0 01.45-.509z",fill:e})))),v9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M4 1.504a.5.5 0 01.5-.5h5a.5.5 0 110 1h-2v10h2a.5.5 0 010 1h-5a.5.5 0 010-1h2v-10h-2a.5.5 0 01-.5-.5z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M0 4.504a.5.5 0 01.5-.5h4a.5.5 0 110 1H1v4h3.5a.5.5 0 110 1h-4a.5.5 0 01-.5-.5v-5zM9.5 4.004a.5.5 0 100 1H13v4H9.5a.5.5 0 100 1h4a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5h-4z",fill:e})))),w9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.943 12.457a.27.27 0 00.248-.149L7.77 9.151l2.54 2.54a.257.257 0 00.188.073c.082 0 .158-.03.21-.077l.788-.79a.27.27 0 000-.392L8.891 7.9l3.416-1.708a.29.29 0 00.117-.106.222.222 0 00.033-.134.332.332 0 00-.053-.161.174.174 0 00-.092-.072l-.02-.007-10.377-4.15a.274.274 0 00-.355.354l4.15 10.372a.275.275 0 00.233.169zm-.036 1l-.02-.002c-.462-.03-.912-.31-1.106-.796L.632 2.287A1.274 1.274 0 012.286.633l10.358 4.143c.516.182.782.657.81 1.114a1.25 1.25 0 01-.7 1.197L10.58 8.174l1.624 1.624a1.27 1.27 0 010 1.807l-.8.801-.008.007c-.491.46-1.298.48-1.792-.014l-1.56-1.56-.957 1.916a1.27 1.27 0 01-1.142.702h-.037z",fill:e})))),b9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.87 6.008a.505.505 0 00-.003-.028v-.002c-.026-.27-.225-.48-.467-.498a.5.5 0 00-.53.5v1.41c0 .25-.22.47-.47.47a.48.48 0 01-.47-.47V5.17a.6.6 0 00-.002-.05c-.023-.268-.223-.49-.468-.5a.5.5 0 00-.52.5v1.65a.486.486 0 01-.47.47.48.48 0 01-.47-.47V4.62a.602.602 0 00-.002-.05v-.002c-.023-.266-.224-.48-.468-.498a.5.5 0 00-.53.5v2.2c0 .25-.22.47-.47.47a.49.49 0 01-.47-.47V1.8c0-.017 0-.034-.002-.05-.022-.268-.214-.49-.468-.5a.5.5 0 00-.52.5v6.78c0 .25-.22.47-.47.47a.48.48 0 01-.47-.47l.001-.1c.001-.053.002-.104 0-.155a.775.775 0 00-.06-.315.65.65 0 00-.16-.22 29.67 29.67 0 01-.21-.189c-.2-.182-.4-.365-.617-.532l-.003-.003A6.366 6.366 0 003.06 7l-.01-.007c-.433-.331-.621-.243-.69-.193-.26.14-.29.5-.13.74l1.73 2.6v.01h-.016l-.035.023.05-.023s1.21 2.6 3.57 2.6c3.54 0 4.2-1.9 4.31-4.42.039-.591.036-1.189.032-1.783l-.002-.507v-.032zm.969 2.376c-.057 1.285-.254 2.667-1.082 3.72-.88 1.118-2.283 1.646-4.227 1.646-1.574 0-2.714-.87-3.406-1.623a6.958 6.958 0 01-1.046-1.504l-.006-.012-1.674-2.516a1.593 1.593 0 01-.25-1.107 1.44 1.44 0 01.69-1.041c.195-.124.485-.232.856-.186.357.044.681.219.976.446.137.106.272.22.4.331V1.75A1.5 1.5 0 015.63.25c.93.036 1.431.856 1.431 1.55v1.335a1.5 1.5 0 01.53-.063h.017c.512.04.915.326 1.153.71a1.5 1.5 0 01.74-.161c.659.025 1.115.458 1.316.964a1.493 1.493 0 01.644-.103h.017c.856.067 1.393.814 1.393 1.558l.002.48c.004.596.007 1.237-.033 1.864z",fill:e})))),y9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 6A2.5 2.5 0 116 3.5V5h2V3.5A2.5 2.5 0 1110.5 6H9v2h1.5A2.5 2.5 0 118 10.5V9H6v1.5A2.5 2.5 0 113.5 8H5V6H3.5zM2 3.5a1.5 1.5 0 113 0V5H3.5A1.5 1.5 0 012 3.5zM6 6v2h2V6H6zm3-1h1.5A1.5 1.5 0 109 3.5V5zM3.5 9H5v1.5A1.5 1.5 0 113.5 9zM9 9v1.5A1.5 1.5 0 1010.5 9H9z",fill:e})))),D9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M7 5.5a.5.5 0 01.5.5v4a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM7 4.5A.75.75 0 107 3a.75.75 0 000 1.5z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e})))),x9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M5.25 5.25A1.75 1.75 0 117 7a.5.5 0 00-.5.5V9a.5.5 0 001 0V7.955A2.75 2.75 0 104.25 5.25a.5.5 0 001 0zM7 11.5A.75.75 0 107 10a.75.75 0 000 1.5z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e})))),C9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-3.524 4.89A5.972 5.972 0 017 13a5.972 5.972 0 01-3.477-1.11l1.445-1.444C5.564 10.798 6.258 11 7 11s1.436-.202 2.032-.554l1.444 1.445zm-.03-2.858l1.445 1.444A5.972 5.972 0 0013 7c0-1.296-.41-2.496-1.11-3.477l-1.444 1.445C10.798 5.564 11 6.258 11 7s-.202 1.436-.554 2.032zM9.032 3.554l1.444-1.445A5.972 5.972 0 007 1c-1.296 0-2.496.41-3.477 1.11l1.445 1.444A3.981 3.981 0 017 3c.742 0 1.436.202 2.032.554zM3.554 4.968L2.109 3.523A5.973 5.973 0 001 7c0 1.296.41 2.496 1.11 3.476l1.444-1.444A3.981 3.981 0 013 7c0-.742.202-1.436.554-2.032zM10 7a3 3 0 11-6 0 3 3 0 016 0z",fill:e})))),E9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M7 4.5a.5.5 0 01.5.5v3.5a.5.5 0 11-1 0V5a.5.5 0 01.5-.5zM7.75 10.5a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.206 1.045a.498.498 0 01.23.209l6.494 10.992a.5.5 0 01-.438.754H.508a.497.497 0 01-.506-.452.498.498 0 01.072-.31l6.49-10.984a.497.497 0 01.642-.21zM7 2.483L1.376 12h11.248L7 2.483z",fill:e})))),S9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zM6.5 8a.5.5 0 001 0V4a.5.5 0 00-1 0v4zm-.25 2.25a.75.75 0 111.5 0 .75.75 0 01-1.5 0z",fill:e})))),R9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 2.504a.5.5 0 01.5-.5h13a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-9zm1 1.012v7.488h12V3.519L7.313 7.894a.496.496 0 01-.526.062.497.497 0 01-.1-.062L1 3.516zm11.03-.512H1.974L7 6.874l5.03-3.87z",fill:e})))),A9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.76 8.134l-.05.05a.2.2 0 01-.28.03 6.76 6.76 0 01-1.63-1.65.21.21 0 01.04-.27l.05-.05c.23-.2.54-.47.71-.96.17-.47-.02-1.04-.66-1.94-.26-.38-.72-.96-1.22-1.46-.68-.69-1.2-1-1.65-1a.98.98 0 00-.51.13A3.23 3.23 0 00.9 3.424c-.13 1.1.26 2.37 1.17 3.78a16.679 16.679 0 004.55 4.6 6.57 6.57 0 003.53 1.32 3.2 3.2 0 002.85-1.66c.14-.24.24-.64-.07-1.18a7.803 7.803 0 00-1.73-1.81c-.64-.5-1.52-1.11-2.13-1.11a.97.97 0 00-.34.06c-.472.164-.74.458-.947.685l-.023.025zm4.32 2.678a6.801 6.801 0 00-1.482-1.54l-.007-.005-.006-.005a8.418 8.418 0 00-.957-.662 2.7 2.7 0 00-.4-.193.683.683 0 00-.157-.043l-.004.002-.009.003c-.224.078-.343.202-.56.44l-.014.016-.046.045a1.2 1.2 0 01-1.602.149A7.76 7.76 0 014.98 7.134l-.013-.019-.013-.02a1.21 1.21 0 01.195-1.522l.06-.06.026-.024c.219-.19.345-.312.422-.533l.003-.01v-.008a.518.518 0 00-.032-.142c-.06-.178-.203-.453-.502-.872l-.005-.008-.005-.007A10.18 10.18 0 004.013 2.59l-.005-.005c-.31-.314-.543-.5-.716-.605-.147-.088-.214-.096-.222-.097h-.016l-.006.003-.01.006a2.23 2.23 0 00-1.145 1.656c-.09.776.175 1.806 1.014 3.108a15.68 15.68 0 004.274 4.32l.022.014.022.016a5.57 5.57 0 002.964 1.117 2.2 2.2 0 001.935-1.141l.006-.012.004-.007a.182.182 0 00-.007-.038.574.574 0 00-.047-.114z",fill:e})))),F9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M11.841 2.159a2.25 2.25 0 00-3.182 0l-2.5 2.5a2.25 2.25 0 000 3.182.5.5 0 01-.707.707 3.25 3.25 0 010-4.596l2.5-2.5a3.25 3.25 0 014.596 4.596l-2.063 2.063a4.27 4.27 0 00-.094-1.32l1.45-1.45a2.25 2.25 0 000-3.182z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M3.61 7.21c-.1-.434-.132-.88-.095-1.321L1.452 7.952a3.25 3.25 0 104.596 4.596l2.5-2.5a3.25 3.25 0 000-4.596.5.5 0 00-.707.707 2.25 2.25 0 010 3.182l-2.5 2.5A2.25 2.25 0 112.159 8.66l1.45-1.45z",fill:e})))),k9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M1.452 7.952l1.305-1.305.708.707-1.306 1.305a2.25 2.25 0 103.182 3.182l1.306-1.305.707.707-1.306 1.305a3.25 3.25 0 01-4.596-4.596zM12.548 6.048l-1.305 1.306-.707-.708 1.305-1.305a2.25 2.25 0 10-3.182-3.182L7.354 3.464l-.708-.707 1.306-1.305a3.25 3.25 0 014.596 4.596zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.707-.707l-11-11z",fill:e})))),T9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.994 1.11a1 1 0 10-1.988 0A4.502 4.502 0 002.5 5.5v3.882l-.943 1.885a.497.497 0 00-.053.295.5.5 0 00.506.438h3.575a1.5 1.5 0 102.83 0h3.575a.5.5 0 00.453-.733L11.5 9.382V5.5a4.502 4.502 0 00-3.506-4.39zM2.81 11h8.382l-.5-1H3.31l-.5 1zM10.5 9V5.5a3.5 3.5 0 10-7 0V9h7zm-4 3.5a.5.5 0 111 0 .5.5 0 01-1 0z",fill:e})))),L9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M1.5.5A.5.5 0 012 0c6.627 0 12 5.373 12 12a.5.5 0 01-1 0C13 5.925 8.075 1 2 1a.5.5 0 01-.5-.5z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M1.5 4.5A.5.5 0 012 4a8 8 0 018 8 .5.5 0 01-1 0 7 7 0 00-7-7 .5.5 0 01-.5-.5z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 11a2 2 0 11-4 0 2 2 0 014 0zm-1 0a1 1 0 11-2 0 1 1 0 012 0z",fill:e})))),B9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1v-4.5a.5.5 0 00-1 0v4.5H2v-10h4.5a.5.5 0 000-1H2z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M7.354 7.357L12 2.711v1.793a.5.5 0 001 0v-3a.5.5 0 00-.5-.5h-3a.5.5 0 100 1h1.793L6.646 6.65a.5.5 0 10.708.707z",fill:e})))),I9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M6.646.15a.5.5 0 01.708 0l2 2a.5.5 0 11-.708.707L7.5 1.711v6.793a.5.5 0 01-1 0V1.71L5.354 2.857a.5.5 0 11-.708-.707l2-2z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M2 4.004a1 1 0 00-1 1v7a1 1 0 001 1h10a1 1 0 001-1v-7a1 1 0 00-1-1H9.5a.5.5 0 100 1H12v7H2v-7h2.5a.5.5 0 000-1H2z",fill:e})))),M9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M13.854 6.646a.5.5 0 010 .708l-2 2a.5.5 0 01-.708-.708L12.293 7.5H5.5a.5.5 0 010-1h6.793l-1.147-1.146a.5.5 0 01.708-.708l2 2z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M10 2a1 1 0 00-1-1H2a1 1 0 00-1 1v10a1 1 0 001 1h7a1 1 0 001-1V9.5a.5.5 0 00-1 0V12H2V2h7v2.5a.5.5 0 001 0V2z",fill:e})))),_9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 13A6 6 0 107 1a6 6 0 000 12zm0 1A7 7 0 107 0a7 7 0 000 14z",fill:e})))),P9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M14 7A7 7 0 110 7a7 7 0 0114 0z",fill:e})))),H9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0h7a.5.5 0 01.5.5v13a.5.5 0 01-.454.498.462.462 0 01-.371-.118L7 11.159l-3.175 2.72a.46.46 0 01-.379.118A.5.5 0 013 13.5V.5a.5.5 0 01.5-.5zM4 12.413l2.664-2.284a.454.454 0 01.377-.128.498.498 0 01.284.12L10 12.412V1H4v11.413z",fill:e})))),z9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0h7a.5.5 0 01.5.5v13a.5.5 0 01-.454.498.462.462 0 01-.371-.118L7 11.159l-3.175 2.72a.46.46 0 01-.379.118A.5.5 0 013 13.5V.5a.5.5 0 01.5-.5z",fill:e})))),$9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("g",{clipPath:"url(#prefix__clip0_1449_588)"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.414 1.586a2 2 0 00-2.828 0l-4 4a2 2 0 000 2.828l4 4a2 2 0 002.828 0l4-4a2 2 0 000-2.828l-4-4zm.707-.707a3 3 0 00-4.242 0l-4 4a3 3 0 000 4.242l4 4a3 3 0 004.242 0l4-4a3 3 0 000-4.242l-4-4z",fill:e})),react__WEBPACK_IMPORTED_MODULE_0__.createElement("defs",null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("clipPath",{id:"prefix__clip0_1449_588"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"})))))),O9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.814 1.846c.06.05.116.101.171.154l.001.002a3.254 3.254 0 01.755 1.168c.171.461.259.974.259 1.538 0 .332-.046.656-.143.976a4.546 4.546 0 01-.397.937c-.169.302-.36.589-.58.864a7.627 7.627 0 01-.674.746l-4.78 4.596a.585.585 0 01-.427.173.669.669 0 01-.44-.173L1.78 8.217a7.838 7.838 0 01-.677-.748 6.124 6.124 0 01-.572-.855 4.975 4.975 0 01-.388-.931A3.432 3.432 0 010 4.708C0 4.144.09 3.63.265 3.17c.176-.459.429-.85.757-1.168a3.432 3.432 0 011.193-.74c.467-.176.99-.262 1.57-.262.304 0 .608.044.907.137.301.092.586.215.855.367.27.148.526.321.771.512.244.193.471.386.682.584.202-.198.427-.391.678-.584.248-.19.507-.364.78-.512a4.65 4.65 0 01.845-.367c.294-.093.594-.137.9-.137.585 0 1.115.086 1.585.262.392.146.734.34 1.026.584zM1.2 3.526c.128-.333.304-.598.52-.806.218-.212.497-.389.849-.522m-1.37 1.328A3.324 3.324 0 001 4.708c0 .225.032.452.101.686.082.265.183.513.307.737.135.246.294.484.479.716.188.237.386.454.59.652l.001.002 4.514 4.355 4.519-4.344c.2-.193.398-.41.585-.648l.003-.003c.184-.23.345-.472.486-.726l.004-.007c.131-.23.232-.474.31-.732v-.002c.068-.224.101-.45.101-.686 0-.457-.07-.849-.195-1.185a2.177 2.177 0 00-.515-.802l.007-.012-.008.009a2.383 2.383 0 00-.85-.518l-.003-.001C11.1 2.072 10.692 2 10.203 2c-.21 0-.406.03-.597.09h-.001c-.22.07-.443.167-.663.289l-.007.003c-.22.12-.434.262-.647.426-.226.174-.42.341-.588.505l-.684.672-.7-.656a9.967 9.967 0 00-.615-.527 4.82 4.82 0 00-.635-.422l-.01-.005a3.289 3.289 0 00-.656-.281l-.008-.003A2.014 2.014 0 003.785 2c-.481 0-.881.071-1.217.198",fill:e})))),N9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M12.814 1.846c.06.05.116.101.171.154l.001.002a3.254 3.254 0 01.755 1.168c.171.461.259.974.259 1.538 0 .332-.046.656-.143.976a4.546 4.546 0 01-.397.937c-.169.302-.36.589-.58.864a7.627 7.627 0 01-.674.746l-4.78 4.596a.585.585 0 01-.427.173.669.669 0 01-.44-.173L1.78 8.217a7.838 7.838 0 01-.677-.748 6.124 6.124 0 01-.572-.855 4.975 4.975 0 01-.388-.931A3.432 3.432 0 010 4.708C0 4.144.09 3.63.265 3.17c.176-.459.429-.85.757-1.168a3.432 3.432 0 011.193-.74c.467-.176.99-.262 1.57-.262.304 0 .608.044.907.137.301.092.586.215.855.367.27.148.526.321.771.512.244.193.471.386.682.584.202-.198.427-.391.678-.584.248-.19.507-.364.78-.512a4.65 4.65 0 01.845-.367c.294-.093.594-.137.9-.137.585 0 1.115.086 1.585.262.392.146.734.34 1.026.584z",fill:e})))),j9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.319.783a.75.75 0 011.362 0l1.63 3.535 3.867.458a.75.75 0 01.42 1.296L10.74 8.715l.76 3.819a.75.75 0 01-1.103.8L7 11.434l-3.398 1.902a.75.75 0 01-1.101-.801l.758-3.819L.401 6.072a.75.75 0 01.42-1.296l3.867-.458L6.318.783zm.68.91l-1.461 3.17a.75.75 0 01-.593.431l-3.467.412 2.563 2.37a.75.75 0 01.226.697l-.68 3.424 3.046-1.705a.75.75 0 01.733 0l3.047 1.705-.68-3.424a.75.75 0 01.226-.697l2.563-2.37-3.467-.412a.75.75 0 01-.593-.43L7 1.694z",fill:e})))),V9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M7.68.783a.75.75 0 00-1.361 0l-1.63 3.535-3.867.458A.75.75 0 00.4 6.072l2.858 2.643-.758 3.819a.75.75 0 001.101.8L7 11.434l3.397 1.902a.75.75 0 001.102-.801l-.759-3.819L13.6 6.072a.75.75 0 00-.421-1.296l-3.866-.458L7.68.783z",fill:e})))),q9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7.854a4.5 4.5 0 10-6 0V13a.5.5 0 00.497.5h.006c.127 0 .254-.05.35-.146L7 11.207l2.146 2.147A.5.5 0 0010 13V7.854zM7 8a3.5 3.5 0 100-7 3.5 3.5 0 000 7zm-.354 2.146a.5.5 0 01.708 0L9 11.793v-3.26C8.398 8.831 7.718 9 7 9a4.481 4.481 0 01-2-.468v3.26l1.646-1.646z",fill:e})))),W9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.565 13.123a.991.991 0 01.87 0l.987.482a.991.991 0 001.31-.426l.515-.97a.991.991 0 01.704-.511l1.082-.19a.99.99 0 00.81-1.115l-.154-1.087a.991.991 0 01.269-.828l.763-.789a.991.991 0 000-1.378l-.763-.79a.991.991 0 01-.27-.827l.155-1.087a.99.99 0 00-.81-1.115l-1.082-.19a.991.991 0 01-.704-.511L9.732.82a.99.99 0 00-1.31-.426l-.987.482a.991.991 0 01-.87 0L5.578.395a.99.99 0 00-1.31.426l-.515.97a.99.99 0 01-.704.511l-1.082.19a.99.99 0 00-.81 1.115l.154 1.087a.99.99 0 01-.269.828L.28 6.31a.99.99 0 000 1.378l.763.79a.99.99 0 01.27.827l-.155 1.087a.99.99 0 00.81 1.115l1.082.19a.99.99 0 01.704.511l.515.97c.25.473.83.661 1.31.426l.987-.482zm4.289-8.477a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708 0l-2.5-2.5a.5.5 0 11.708-.708L6 8.793l4.146-4.147a.5.5 0 01.708 0z",fill:e})))),U9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 12.02c-.4.37-.91.56-1.56.56h-.88a5.493 5.493 0 01-1.3-.16c-.42-.1-.91-.25-1.47-.45a5.056 5.056 0 00-.95-.27H2.88a.84.84 0 01-.62-.26.84.84 0 01-.26-.61V6.45c0-.24.09-.45.26-.62a.84.84 0 01.62-.25h1.87c.16-.11.47-.47.93-1.06.27-.35.51-.64.74-.88.1-.11.19-.3.24-.58.05-.28.12-.57.2-.87.1-.3.24-.55.43-.74a.87.87 0 01.62-.25c.38 0 .72.07 1.03.22.3.15.54.38.7.7.15.31.23.73.23 1.27a3 3 0 01-.32 1.31h1.2c.47 0 .88.17 1.23.52s.52.8.52 1.22c0 .29-.04.66-.34 1.12.05.15.07.3.07.47 0 .35-.09.68-.26.98a2.05 2.05 0 01-.4 1.51 1.9 1.9 0 01-.57 1.5zm.473-5.33a.965.965 0 00.027-.25.742.742 0 00-.227-.513.683.683 0 00-.523-.227H7.927l.73-1.45a2 2 0 00.213-.867c0-.444-.068-.695-.127-.822a.53.53 0 00-.245-.244 1.296 1.296 0 00-.539-.116.989.989 0 00-.141.28 9.544 9.544 0 00-.174.755c-.069.387-.213.779-.484 1.077l-.009.01-.009.01c-.195.202-.41.46-.67.798l-.003.004c-.235.3-.44.555-.613.753-.151.173-.343.381-.54.516l-.255.176H5v4.133l.018.003c.384.07.76.176 1.122.318.532.189.98.325 1.352.413l.007.002a4.5 4.5 0 001.063.131h.878c.429 0 .683-.115.871-.285a.9.9 0 00.262-.702l-.028-.377.229-.3a1.05 1.05 0 00.205-.774l-.044-.333.165-.292a.969.969 0 00.13-.487.457.457 0 00-.019-.154l-.152-.458.263-.404a1.08 1.08 0 00.152-.325zM3.5 10.8a.5.5 0 100-1 .5.5 0 000 1z",fill:e})))),G9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.765 2.076A.5.5 0 0112 2.5v6.009a.497.497 0 01-.17.366L7.337 12.87a.497.497 0 01-.674 0L2.17 8.875l-.009-.007a.498.498 0 01-.16-.358L2 8.5v-6a.5.5 0 01.235-.424l.018-.011c.016-.01.037-.024.065-.04.056-.032.136-.077.24-.128a6.97 6.97 0 01.909-.371C4.265 1.26 5.443 1 7 1s2.735.26 3.533.526c.399.133.702.267.91.37a4.263 4.263 0 01.304.169l.018.01zM3 2.793v5.482l1.068.95 6.588-6.588a6.752 6.752 0 00-.44-.163C9.517 2.24 8.444 2 7 2c-1.443 0-2.515.24-3.217.474-.351.117-.61.233-.778.317L3 2.793zm4 9.038l-2.183-1.94L11 3.706v4.568l-4 3.556z",fill:e})))),X9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M10.354 2.854a.5.5 0 10-.708-.708l-3 3a.5.5 0 10.708.708l3-3z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M2.09 6H4.5a.5.5 0 000-1H1.795a.75.75 0 00-.74.873l.813 4.874A1.5 1.5 0 003.348 12h7.305a1.5 1.5 0 001.48-1.253l.812-4.874a.75.75 0 00-.74-.873H10a.5.5 0 000 1h1.91l-.764 4.582a.5.5 0 01-.493.418H3.347a.5.5 0 01-.493-.418L2.09 6z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M4.5 7a.5.5 0 01.5.5v2a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5zM10 7.5a.5.5 0 00-1 0v2a.5.5 0 001 0v-2zM6.5 9.5v-2a.5.5 0 011 0v2a.5.5 0 01-1 0z",fill:e})))),Y9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 2h.75v3.866l-3.034 5.26A1.25 1.25 0 003.299 13H10.7a1.25 1.25 0 001.083-1.875L8.75 5.866V2h.75a.5.5 0 100-1h-5a.5.5 0 000 1zm1.75 4V2h1.5v4.134l.067.116L8.827 8H5.173l1.01-1.75.067-.116V6zM4.597 9l-1.515 2.625A.25.25 0 003.3 12H10.7a.25.25 0 00.217-.375L9.404 9H4.597z",fill:e})))),K9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M7.5 10.5a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 1a.5.5 0 00-.5.5c0 1.063.137 1.892.678 2.974.346.692.858 1.489 1.598 2.526-.89 1.247-1.455 2.152-1.798 2.956-.377.886-.477 1.631-.478 2.537v.007a.5.5 0 00.5.5h7c.017 0 .034 0 .051-.003A.5.5 0 0011 12.5v-.007c0-.906-.1-1.65-.478-2.537-.343-.804-.909-1.709-1.798-2.956.74-1.037 1.252-1.834 1.598-2.526C10.863 3.392 11 2.563 11 1.5a.5.5 0 00-.5-.5h-7zm6.487 11a4.675 4.675 0 00-.385-1.652c-.277-.648-.735-1.407-1.499-2.494-.216.294-.448.606-.696.937a.497.497 0 01-.195.162.5.5 0 01-.619-.162c-.248-.331-.48-.643-.696-.937-.764 1.087-1.222 1.846-1.499 2.494A4.675 4.675 0 004.013 12h5.974zM6.304 6.716c.212.293.443.609.696.948a90.058 90.058 0 00.709-.965c.48-.664.86-1.218 1.163-1.699H5.128a32.672 32.672 0 001.176 1.716zM4.559 4h4.882c.364-.735.505-1.312.546-2H4.013c.04.688.182 1.265.546 2z",fill:e})))),Z9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5 1h-9a.5.5 0 00-.5.5v11a.5.5 0 001 0V8h8.5a.5.5 0 00.354-.854L9.207 4.5l2.647-2.646A.499.499 0 0011.5 1zM8.146 4.146L10.293 2H3v5h7.293L8.146 4.854a.5.5 0 010-.708z",fill:e})))),J9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7V6a3 3 0 00-5.91-.736l-.17.676-.692.075A2.5 2.5 0 003.5 11h3c.063 0 .125-.002.187-.007l.076-.005.076.006c.053.004.106.006.161.006h4a2 2 0 100-4h-1zM3.12 5.02A3.5 3.5 0 003.5 12h3c.087 0 .174-.003.26-.01.079.007.16.01.24.01h4a3 3 0 100-6 4 4 0 00-7.88-.98z",fill:e})))),Q9=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M7 2a4 4 0 014 4 3 3 0 110 6H7c-.08 0-.161-.003-.24-.01-.086.007-.173.01-.26.01h-3a3.5 3.5 0 01-.38-6.98A4.002 4.002 0 017 2z",fill:e})))),eD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 7a4 4 0 11-8 0 4 4 0 018 0zm-1 0a3 3 0 11-6 0 3 3 0 016 0z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.268 13.18c.25.472.83.66 1.31.425l.987-.482a.991.991 0 01.87 0l.987.482a.991.991 0 001.31-.426l.515-.97a.991.991 0 01.704-.511l1.082-.19a.99.99 0 00.81-1.115l-.154-1.087a.991.991 0 01.269-.828l.763-.789a.991.991 0 000-1.378l-.763-.79a.991.991 0 01-.27-.827l.155-1.087a.99.99 0 00-.81-1.115l-1.082-.19a.991.991 0 01-.704-.511L9.732.82a.99.99 0 00-1.31-.426l-.987.482a.991.991 0 01-.87 0L5.578.395a.99.99 0 00-1.31.426l-.515.97a.99.99 0 01-.704.511l-1.082.19a.99.99 0 00-.81 1.115l.154 1.087a.99.99 0 01-.269.828L.28 6.31a.99.99 0 000 1.378l.763.79a.99.99 0 01.27.827l-.155 1.087a.99.99 0 00.81 1.115l1.082.19a.99.99 0 01.704.511l.515.97zm5.096-1.44l-.511.963-.979-.478a1.99 1.99 0 00-1.748 0l-.979.478-.51-.962a1.991 1.991 0 00-1.415-1.028l-1.073-.188.152-1.079a1.991 1.991 0 00-.54-1.663L1.004 7l.757-.783a1.991 1.991 0 00.54-1.663L2.15 3.475l1.073-.188A1.991 1.991 0 004.636 2.26l.511-.962.979.478a1.99 1.99 0 001.748 0l.979-.478.51.962c.288.543.81.922 1.415 1.028l1.073.188-.152 1.079a1.99 1.99 0 00.54 1.663l.757.783-.757.783a1.99 1.99 0 00-.54 1.663l.152 1.079-1.073.188a1.991 1.991 0 00-1.414 1.028z",fill:e})))),tD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 4a3 3 0 100 6 3 3 0 000-6zM3 7a4 4 0 118 0 4 4 0 01-8 0z",fill:e})))),rD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.206 3.044a.498.498 0 01.23.212l3.492 5.985a.494.494 0 01.006.507.497.497 0 01-.443.252H3.51a.499.499 0 01-.437-.76l3.492-5.984a.497.497 0 01.642-.212zM7 4.492L4.37 9h5.26L7 4.492z",fill:e})))),nD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.854 4.146a.5.5 0 010 .708l-5 5a.5.5 0 01-.708 0l-2-2a.5.5 0 11.708-.708L5.5 8.793l4.646-4.647a.5.5 0 01.708 0z",fill:e})))),oD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M7.354 3.896l5.5 5.5a.5.5 0 01-.708.708L7 4.957l-5.146 5.147a.5.5 0 01-.708-.708l5.5-5.5a.5.5 0 01.708 0z",fill:e})))),aD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M1.146 4.604l5.5 5.5a.5.5 0 00.708 0l5.5-5.5a.5.5 0 00-.708-.708L7 9.043 1.854 3.896a.5.5 0 10-.708.708z",fill:e})))),iD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M2.76 7.096a.498.498 0 00.136.258l5.5 5.5a.5.5 0 00.707-.708L3.958 7l5.147-5.146a.5.5 0 10-.708-.708l-5.5 5.5a.5.5 0 00-.137.45z",fill:e})))),Hu=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M11.104 7.354l-5.5 5.5a.5.5 0 01-.708-.708L10.043 7 4.896 1.854a.5.5 0 11.708-.708l5.5 5.5a.5.5 0 010 .708z",fill:e})))),lD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M3.854 9.104a.5.5 0 11-.708-.708l3.5-3.5a.5.5 0 01.708 0l3.5 3.5a.5.5 0 01-.708.708L7 5.957 3.854 9.104z",fill:e})))),sD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M3.854 4.896a.5.5 0 10-.708.708l3.5 3.5a.5.5 0 00.708 0l3.5-3.5a.5.5 0 00-.708-.708L7 8.043 3.854 4.896z",fill:e})))),uD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.104 10.146a.5.5 0 01-.708.708l-3.5-3.5a.5.5 0 010-.708l3.5-3.5a.5.5 0 11.708.708L5.957 7l3.147 3.146z",fill:e})))),cD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.896 10.146a.5.5 0 00.708.708l3.5-3.5a.5.5 0 000-.708l-3.5-3.5a.5.5 0 10-.708.708L8.043 7l-3.147 3.146z",fill:e})))),pD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M11.854 4.646l-4.5-4.5a.5.5 0 00-.708 0l-4.5 4.5a.5.5 0 10.708.708L6.5 1.707V13.5a.5.5 0 001 0V1.707l3.646 3.647a.5.5 0 00.708-.708z",fill:e})))),dD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v11.793L2.854 8.646a.5.5 0 10-.708.708l4.5 4.5a.5.5 0 00.351.146h.006c.127 0 .254-.05.35-.146l4.5-4.5a.5.5 0 00-.707-.708L7.5 12.293V.5z",fill:e})))),fD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M5.354 2.146a.5.5 0 010 .708L1.707 6.5H13.5a.5.5 0 010 1H1.707l3.647 3.646a.5.5 0 01-.708.708l-4.5-4.5a.5.5 0 010-.708l4.5-4.5a.5.5 0 01.708 0z",fill:e})))),hD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M8.646 2.146a.5.5 0 01.708 0l4.5 4.5a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708-.708L12.293 7.5H.5a.5.5 0 010-1h11.793L8.646 2.854a.5.5 0 010-.708z",fill:e})))),mD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M1.904 8.768V2.404a.5.5 0 01.5-.5h6.364a.5.5 0 110 1H3.61l8.339 8.339a.5.5 0 01-.707.707l-8.34-8.34v5.158a.5.5 0 01-1 0z",fill:e})))),gD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M12.096 8.768V2.404a.5.5 0 00-.5-.5H5.232a.5.5 0 100 1h5.157L2.05 11.243a.5.5 0 10.707.707l8.34-8.34v5.158a.5.5 0 101 0z",fill:e})))),vD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M1.904 5.232v6.364a.5.5 0 00.5.5h6.364a.5.5 0 000-1H3.61l8.339-8.339a.5.5 0 00-.707-.707l-8.34 8.34V5.231a.5.5 0 00-1 0z",fill:e})))),wD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M12.096 5.232v6.364a.5.5 0 01-.5.5H5.232a.5.5 0 010-1h5.157L2.05 2.757a.5.5 0 01.707-.707l8.34 8.34V5.231a.5.5 0 111 0z",fill:e})))),bD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.772 3.59c.126-.12.33-.12.456 0l5.677 5.387c.203.193.06.523-.228.523H1.323c-.287 0-.431-.33-.228-.523L6.772 3.59z",fill:e})))),yD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.228 10.41a.335.335 0 01-.456 0L1.095 5.023c-.203-.193-.06-.523.228-.523h11.354c.287 0 .431.33.228.523L7.228 10.41z",fill:e})))),DD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.712 7.212a.3.3 0 010-.424l5.276-5.276a.3.3 0 01.512.212v10.552a.3.3 0 01-.512.212L3.712 7.212z",fill:e})))),xD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.288 7.212a.3.3 0 000-.424L5.012 1.512a.3.3 0 00-.512.212v10.552a.3.3 0 00.512.212l5.276-5.276z",fill:e})))),CD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M7.354.146l4 4a.5.5 0 01-.708.708L7 1.207 3.354 4.854a.5.5 0 11-.708-.708l4-4a.5.5 0 01.708 0zM11.354 9.146a.5.5 0 010 .708l-4 4a.5.5 0 01-.708 0l-4-4a.5.5 0 11.708-.708L7 12.793l3.646-3.647a.5.5 0 01.708 0z",fill:e})))),ED=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M3.354.146a.5.5 0 10-.708.708l4 4a.5.5 0 00.708 0l4-4a.5.5 0 00-.708-.708L7 3.793 3.354.146zM6.646 9.146a.5.5 0 01.708 0l4 4a.5.5 0 01-.708.708L7 10.207l-3.646 3.647a.5.5 0 01-.708-.708l4-4z",fill:e})))),SD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M1.5 1h2a.5.5 0 010 1h-.793l3.147 3.146a.5.5 0 11-.708.708L2 2.707V3.5a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5zM10 1.5a.5.5 0 01.5-.5h2a.5.5 0 01.5.5v2a.5.5 0 01-1 0v-.793L8.854 5.854a.5.5 0 11-.708-.708L11.293 2H10.5a.5.5 0 01-.5-.5zM12.5 10a.5.5 0 01.5.5v2a.5.5 0 01-.5.5h-2a.5.5 0 010-1h.793L8.146 8.854a.5.5 0 11.708-.708L12 11.293V10.5a.5.5 0 01.5-.5zM2 11.293V10.5a.5.5 0 00-1 0v2a.5.5 0 00.5.5h2a.5.5 0 000-1h-.793l3.147-3.146a.5.5 0 10-.708-.708L2 11.293z",fill:e})))),RD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M6.646.147l-1.5 1.5a.5.5 0 10.708.707l.646-.647V5a.5.5 0 001 0V1.707l.646.647a.5.5 0 10.708-.707l-1.5-1.5a.5.5 0 00-.708 0z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M1.309 4.038a.498.498 0 00-.16.106l-.005.005a.498.498 0 00.002.705L3.293 7 1.146 9.146A.498.498 0 001.5 10h3a.5.5 0 000-1H2.707l1.5-1.5h5.586l2.353 2.354a.5.5 0 00.708-.708L10.707 7l2.146-2.146.11-.545-.107.542A.499.499 0 0013 4.503v-.006a.5.5 0 00-.144-.348l-.005-.005A.498.498 0 0012.5 4h-3a.5.5 0 000 1h1.793l-1.5 1.5H4.207L2.707 5H4.5a.5.5 0 000-1h-3a.498.498 0 00-.191.038z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M7 8.5a.5.5 0 01.5.5v3.293l.646-.647a.5.5 0 01.708.708l-1.5 1.5a.5.5 0 01-.708 0l-1.5-1.5a.5.5 0 01.708-.708l.646.647V9a.5.5 0 01.5-.5zM9 9.5a.5.5 0 01.5-.5h3a.5.5 0 010 1h-3a.5.5 0 01-.5-.5z",fill:e})))),AD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M10.646 2.646a.5.5 0 01.708 0l1.5 1.5a.5.5 0 010 .708l-1.5 1.5a.5.5 0 01-.708-.708L11.293 5H1.5a.5.5 0 010-1h9.793l-.647-.646a.5.5 0 010-.708zM3.354 8.354L2.707 9H12.5a.5.5 0 010 1H2.707l.647.646a.5.5 0 01-.708.708l-1.5-1.5a.5.5 0 010-.708l1.5-1.5a.5.5 0 11.708.708z",fill:e})))),FD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M1.5 1a.5.5 0 01.5.5V10a2 2 0 004 0V4a3 3 0 016 0v7.793l1.146-1.147a.5.5 0 01.708.708l-2 2a.5.5 0 01-.708 0l-2-2a.5.5 0 01.708-.708L11 11.793V4a2 2 0 10-4 0v6.002a3 3 0 01-6 0V1.5a.5.5 0 01.5-.5z",fill:e})))),kD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M1.146 3.854a.5.5 0 010-.708l2-2a.5.5 0 11.708.708L2.707 3h6.295A4 4 0 019 11H3a.5.5 0 010-1h6a3 3 0 100-6H2.707l1.147 1.146a.5.5 0 11-.708.708l-2-2z",fill:e})))),TD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M4.354 2.146a.5.5 0 010 .708L1.707 5.5H9.5A4.5 4.5 0 0114 10v1.5a.5.5 0 01-1 0V10a3.5 3.5 0 00-3.5-3.5H1.707l2.647 2.646a.5.5 0 11-.708.708l-3.5-3.5a.5.5 0 010-.708l3.5-3.5a.5.5 0 01.708 0z",fill:e})))),LD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M5.5 1A.5.5 0 005 .5H2a.5.5 0 000 1h1.535a6.502 6.502 0 002.383 11.91.5.5 0 10.165-.986A5.502 5.502 0 014.5 2.1V4a.5.5 0 001 0V1.353a.5.5 0 000-.023V1zM7.507 1a.5.5 0 01.576-.41 6.502 6.502 0 012.383 11.91H12a.5.5 0 010 1H9a.5.5 0 01-.5-.5v-3a.5.5 0 011 0v1.9A5.5 5.5 0 007.917 1.576.5.5 0 017.507 1z",fill:e})))),BD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M8.646 5.854L7.5 4.707V10.5a.5.5 0 01-1 0V4.707L5.354 5.854a.5.5 0 11-.708-.708l2-2a.5.5 0 01.708 0l2 2a.5.5 0 11-.708.708z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e})))),ID=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M5.354 8.146L6.5 9.293V3.5a.5.5 0 011 0v5.793l1.146-1.147a.5.5 0 11.708.708l-2 2a.5.5 0 01-.708 0l-2-2a.5.5 0 11.708-.708z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1114 0A7 7 0 010 7zm1 0a6 6 0 1112 0A6 6 0 011 7z",fill:e})))),MD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M5.854 5.354L4.707 6.5H10.5a.5.5 0 010 1H4.707l1.147 1.146a.5.5 0 11-.708.708l-2-2a.5.5 0 010-.708l2-2a.5.5 0 11.708.708z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0a7 7 0 110 14A7 7 0 017 0zm0 1a6 6 0 110 12A6 6 0 017 1z",fill:e})))),_D=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M3.5 6.5h5.793L8.146 5.354a.5.5 0 11.708-.708l2 2a.5.5 0 010 .708l-2 2a.5.5 0 11-.708-.708L9.293 7.5H3.5a.5.5 0 010-1z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 117 0a7 7 0 010 14zm0-1A6 6 0 117 1a6 6 0 010 12z",fill:e})))),PD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M7.092.5H7a6.5 6.5 0 106.41 7.583.5.5 0 10-.986-.166A5.495 5.495 0 017 12.5a5.5 5.5 0 010-11h.006a5.5 5.5 0 014.894 3H10a.5.5 0 000 1h3a.5.5 0 00.5-.5V2a.5.5 0 00-1 0v1.535A6.495 6.495 0 007.092.5z",fill:e})))),HD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 100 7a7 7 0 0014 0zm-6.535 5.738c-.233.23-.389.262-.465.262-.076 0-.232-.032-.465-.262-.238-.234-.497-.623-.737-1.182-.434-1.012-.738-2.433-.79-4.056h3.984c-.052 1.623-.356 3.043-.79 4.056-.24.56-.5.948-.737 1.182zM8.992 6.5H5.008c.052-1.623.356-3.044.79-4.056.24-.56.5-.948.737-1.182C6.768 1.032 6.924 1 7 1c.076 0 .232.032.465.262.238.234.497.623.737 1.182.434 1.012.738 2.433.79 4.056zm1 1c-.065 2.176-.558 4.078-1.282 5.253A6.005 6.005 0 0012.98 7.5H9.992zm2.987-1H9.992c-.065-2.176-.558-4.078-1.282-5.253A6.005 6.005 0 0112.98 6.5zm-8.971 0c.065-2.176.558-4.078 1.282-5.253A6.005 6.005 0 001.02 6.5h2.988zm-2.987 1a6.005 6.005 0 004.27 5.253C4.565 11.578 4.072 9.676 4.007 7.5H1.02z",fill:e})))),zD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.087 3.397L5.95 5.793a.374.374 0 00-.109.095.377.377 0 00-.036.052l-2.407 4.147a.374.374 0 00-.004.384c.104.179.334.24.513.136l4.142-2.404a.373.373 0 00.148-.143l2.406-4.146a.373.373 0 00-.037-.443.373.373 0 00-.478-.074zM4.75 9.25l2.847-1.652-1.195-1.195L4.75 9.25z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e})))),$D=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1114 0A7 7 0 010 7zm6.5 3.5v2.48A6.001 6.001 0 011.02 7.5H3.5a.5.5 0 000-1H1.02A6.001 6.001 0 016.5 1.02V3.5a.5.5 0 001 0V1.02a6.001 6.001 0 015.48 5.48H10.5a.5.5 0 000 1h2.48a6.002 6.002 0 01-5.48 5.48V10.5a.5.5 0 00-1 0z",fill:e})))),OD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 5a2 2 0 11-4 0 2 2 0 014 0zM8 5a1 1 0 11-2 0 1 1 0 012 0z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5A5 5 0 002 5c0 2.633 2.273 6.154 4.65 8.643.192.2.508.2.7 0C9.726 11.153 12 7.633 12 5zM7 1a4 4 0 014 4c0 1.062-.471 2.42-1.303 3.88-.729 1.282-1.69 2.562-2.697 3.67-1.008-1.108-1.968-2.388-2.697-3.67C3.47 7.42 3 6.063 3 5a4 4 0 014-4z",fill:e})))),ND=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M7 2a.5.5 0 01.5.5v4H10a.5.5 0 010 1H7a.5.5 0 01-.5-.5V2.5A.5.5 0 017 2z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e})))),jD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M9.79 4.093a.5.5 0 01.117.698L7.91 7.586a1 1 0 11-.814-.581l1.997-2.796a.5.5 0 01.698-.116z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.069 12.968a7 7 0 119.863 0A12.962 12.962 0 007 12c-1.746 0-3.41.344-4.931.968zm9.582-1.177a6 6 0 10-9.301 0A13.98 13.98 0 017 11c1.629 0 3.194.279 4.65.791z",fill:e})))),VD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M7.5 4.5a.5.5 0 00-1 0v2.634a1 1 0 101 0V4.5z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5.5A.5.5 0 016 0h2a.5.5 0 010 1h-.5v1.02a5.973 5.973 0 013.374 1.398l.772-.772a.5.5 0 01.708.708l-.772.772A6 6 0 116.5 2.02V1H6a.5.5 0 01-.5-.5zM7 3a5 5 0 100 10A5 5 0 007 3z",fill:e})))),qD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.354 1.146l5.5 5.5a.5.5 0 01-.708.708L12 7.207V12.5a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V9H6v3.5a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V7.207l-.146.147a.5.5 0 11-.708-.708l1-1 4.5-4.5a.5.5 0 01.708 0zM3 6.207V12h2V8.5a.5.5 0 01.5-.5h3a.5.5 0 01.5.5V12h2V6.207l-4-4-4 4z",fill:e})))),WD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.213 4.094a.5.5 0 01.056-.034l5.484-2.995a.498.498 0 01.494 0L12.73 4.06a.507.507 0 01.266.389.498.498 0 01-.507.555H1.51a.5.5 0 01-.297-.91zm2.246-.09h7.082L7 2.07 3.459 4.004z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M4 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM11 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM5.75 5.5a.5.5 0 01.5.5v5a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM8.75 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM1.5 12.504a.5.5 0 01.5-.5h10a.5.5 0 010 1H2a.5.5 0 01-.5-.5z",fill:e})))),UD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("g",{clipPath:"url(#prefix__clip0_1107_3594)"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M11.451.537l.01 12.922h0L7.61 8.946a1.077 1.077 0 00-.73-.374L.964 8.087 11.45.537h0z",stroke:e,strokeWidth:1.077})),react__WEBPACK_IMPORTED_MODULE_0__.createElement("defs",null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("clipPath",{id:"prefix__clip0_1107_3594"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"})))))),GD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zM2.671 11.155c.696-1.006 2.602-1.816 3.194-1.91.226-.036.232-.658.232-.658s-.665-.658-.81-1.544c-.39 0-.63-.94-.241-1.272a2.578 2.578 0 00-.012-.13c-.066-.607-.28-2.606 1.965-2.606 2.246 0 2.031 2 1.966 2.606l-.012.13c.39.331.149 1.272-.24 1.272-.146.886-.81 1.544-.81 1.544s.004.622.23.658c.593.094 2.5.904 3.195 1.91a6 6 0 10-8.657 0z",fill:e})))),XD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M7.275 13.16a11.388 11.388 0 005.175-1.232v-.25c0-1.566-3.237-2.994-4.104-3.132-.27-.043-.276-.783-.276-.783s.791-.783.964-1.836c.463 0 .75-1.119.286-1.513C9.34 4 9.916 1.16 6.997 1.16c-2.92 0-2.343 2.84-2.324 3.254-.463.394-.177 1.513.287 1.513.172 1.053.963 1.836.963 1.836s-.006.74-.275.783c-.858.136-4.036 1.536-4.103 3.082a11.388 11.388 0 005.73 1.532z",fill:e})))),YD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M1.183 11.906a10.645 10.645 0 01-1.181-.589c.062-1.439 3.02-2.74 3.818-2.868.25-.04.256-.728.256-.728s-.736-.729-.896-1.709c-.432 0-.698-1.041-.267-1.408A2.853 2.853 0 002.9 4.46c-.072-.672-.31-2.884 2.175-2.884 2.486 0 2.248 2.212 2.176 2.884-.007.062-.012.112-.014.144.432.367.165 1.408-.266 1.408-.16.98-.896 1.709-.896 1.709s.005.688.256.728c.807.129 3.82 1.457 3.82 2.915v.233a10.598 10.598 0 01-4.816 1.146c-1.441 0-2.838-.282-4.152-.837zM11.5 2.16a.5.5 0 01.5.5v1.5h1.5a.5.5 0 010 1H12v1.5a.5.5 0 01-1 0v-1.5H9.5a.5.5 0 110-1H11v-1.5a.5.5 0 01.5-.5z",fill:e})))),KD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M9.21 11.623a10.586 10.586 0 01-4.031.787A10.585 10.585 0 010 11.07c.06-1.354 2.933-2.578 3.708-2.697.243-.038.249-.685.249-.685s-.715-.685-.87-1.607c-.42 0-.679-.979-.26-1.323a2.589 2.589 0 00-.013-.136c-.07-.632-.3-2.712 2.113-2.712 2.414 0 2.183 2.08 2.113 2.712-.007.059-.012.105-.013.136.419.344.16 1.323-.259 1.323-.156.922-.87 1.607-.87 1.607s.005.647.248.685c.784.12 3.71 1.37 3.71 2.74v.22c-.212.103-.427.2-.646.29z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M8.81 8.417a9.643 9.643 0 00-.736-.398c.61-.42 1.396-.71 1.7-.757.167-.026.171-.471.171-.471s-.491-.471-.598-1.104c-.288 0-.466-.674-.178-.91-.001-.022-.005-.053-.01-.094-.048-.434-.206-1.864 1.453-1.864 1.66 0 1.5 1.43 1.453 1.864l-.01.094c.289.236.11.91-.178.91-.107.633-.598 1.104-.598 1.104s.004.445.171.47c.539.084 2.55.942 2.55 1.884v.628a10.604 10.604 0 01-3.302.553 2.974 2.974 0 00-.576-.879c-.375-.408-.853-.754-1.312-1.03z",fill:e})))),ZD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M9.106 7.354c-.627.265-1.295.4-1.983.4a5.062 5.062 0 01-2.547-.681c.03-.688 1.443-1.31 1.824-1.37.12-.02.122-.348.122-.348s-.351-.348-.428-.816c-.206 0-.333-.498-.127-.673 0-.016-.003-.04-.007-.07C5.926 3.477 5.812 2.42 7 2.42c1.187 0 1.073 1.057 1.039 1.378l-.007.069c.207.175.08.673-.127.673-.076.468-.428.816-.428.816s.003.329.122.348c.386.06 1.825.696 1.825 1.392v.111c-.104.053-.21.102-.318.148zM3.75 11.25A.25.25 0 014 11h6a.25.25 0 110 .5H4a.25.25 0 01-.25-.25zM4 9a.25.25 0 000 .5h6a.25.25 0 100-.5H4z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 .5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v13a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5V.5zM2 13V1h10v12H2z",fill:e})))),JD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M3.968 8.75a.5.5 0 00-.866.5A4.498 4.498 0 007 11.5c1.666 0 3.12-.906 3.898-2.25a.5.5 0 10-.866-.5A3.498 3.498 0 017 10.5a3.498 3.498 0 01-3.032-1.75zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e})))),QD=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M4.5 9a.5.5 0 000 1h5a.5.5 0 000-1h-5zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e})))),ex=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M3.968 10.25a.5.5 0 01-.866-.5A4.498 4.498 0 017 7.5c1.666 0 3.12.906 3.898 2.25a.5.5 0 11-.866.5A3.498 3.498 0 007 8.5a3.498 3.498 0 00-3.032 1.75zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e})))),tx=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M3.526 4.842a.5.5 0 01.632-.316l2.051.684a2.5 2.5 0 001.582 0l2.05-.684a.5.5 0 01.317.948l-2.453.818a.3.3 0 00-.205.285v.243a4.5 4.5 0 00.475 2.012l.972 1.944a.5.5 0 11-.894.448L7 9.118l-1.053 2.106a.5.5 0 11-.894-.447l.972-1.945A4.5 4.5 0 006.5 6.82v-.243a.3.3 0 00-.205-.285l-2.453-.818a.5.5 0 01-.316-.632z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M7 4.5a1 1 0 100-2 1 1 0 000 2z",fill:e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e})))),rx=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color:e="currentColor",size:t=14,...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:t,height:t,viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zM8 3.5a1 1 0 11-2 0 1 1 0 012 0zM3.526 4.842a.5.5 0 01.632-.316l2.051.684a2.5 2.5 0 001.582 0l2.05-.684a.5.5 0 01.317.948l-2.453.818a.3.3 0 00-.205.285v.243a4.5 4.5 0 00.475 2.012l.972 1.944a.5.5 0 11-.894.448L7 9.118l-1.053 2.106a.5.5 0 11-.894-.447l.972-1.945A4.5 4.5 0 006.5 6.82v-.243a.3.3 0 00-.205-.285l-2.453-.818a.5.5 0 01-.316-.632z",fill:e})))),ox=a((e=>!(0!==e.button||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey)),"isPlainLeftClick"),ax=a(((e,t)=>{ox(e)&&(e.preventDefault(),t(e))}),"cancelled"),ix=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.span((({withArrow:e})=>e?{"> svg:last-of-type":{height:"0.7em",width:"0.7em",marginRight:0,marginLeft:"0.25em",bottom:"auto",verticalAlign:"inherit"}}:{}),(({containsIcon:e})=>e?{svg:{height:"1em",width:"1em",verticalAlign:"middle",position:"relative",bottom:0,marginRight:0}}:{})),lx=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.a((({theme:e})=>({display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:e.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:Yt(.07,e.color.secondary),"svg path:not([fill])":{fill:Yt(.07,e.color.secondary)}},"&:active":{color:Yt(.1,e.color.secondary),"svg path:not([fill])":{fill:Yt(.1,e.color.secondary)}},svg:{display:"inline-block",height:"1em",width:"1em",verticalAlign:"text-top",position:"relative",bottom:"-0.125em",marginRight:"0.4em","& path":{fill:e.color.secondary}}})),(({theme:e,secondary:t,tertiary:r})=>{let n;return t&&(n=[e.textMutedColor,e.color.dark,e.color.darker]),r&&(n=[e.color.dark,e.color.darkest,e.textMutedColor]),n?{color:n[0],"svg path:not([fill])":{fill:n[0]},"&:hover":{color:n[1],"svg path:not([fill])":{fill:n[1]}},"&:active":{color:n[2],"svg path:not([fill])":{fill:n[2]}}}:{}}),(({nochrome:e})=>e?{color:"inherit","&:hover, &:active":{color:"inherit",textDecoration:"underline"}}:{}),(({theme:e,inverse:t})=>t?{color:e.color.lightest,":not([fill])":{fill:e.color.lightest},"&:hover":{color:e.color.lighter,"svg path:not([fill])":{fill:e.color.lighter}},"&:active":{color:e.color.light,"svg path:not([fill])":{fill:e.color.light}}}:{}),(({isButton:e})=>e?{border:0,borderRadius:0,background:"none",padding:0,fontSize:"inherit"}:{})),Ou=a((({cancel:e=!0,children:t,onClick:r,withArrow:n=!1,containsIcon:o=!1,className:i,style:l,...u})=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(lx,{...u,onClick:r&&e?c=>ax(c,r):r,className:i},react__WEBPACK_IMPORTED_MODULE_0__.createElement(ix,{withArrow:n,containsIcon:o},t,n&&react__WEBPACK_IMPORTED_MODULE_0__.createElement(Hu,null)))),"Link"),Vr=(_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div((({theme:e})=>({fontSize:`${e.typography.size.s2}px`,lineHeight:"1.6",h1:{fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},h2:{fontSize:`${e.typography.size.m2}px`,borderBottom:`1px solid ${e.appBorderColor}`},h3:{fontSize:`${e.typography.size.m1}px`},h4:{fontSize:`${e.typography.size.s3}px`},h5:{fontSize:`${e.typography.size.s2}px`},h6:{fontSize:`${e.typography.size.s2}px`,color:e.color.dark},"pre:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"pre pre, pre.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px"},"pre pre code, pre.prismjs code":{color:"inherit",fontSize:"inherit"},"pre code":{margin:0,padding:0,whiteSpace:"pre",border:"none",background:"transparent"},"pre code, pre tt":{backgroundColor:"transparent",border:"none"},"body > *:first-of-type":{marginTop:"0 !important"},"body > *:last-child":{marginBottom:"0 !important"},a:{color:e.color.secondary,textDecoration:"none"},"a.absent":{color:"#cc0000"},"a.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0},"h1, h2, h3, h4, h5, h6":{margin:"20px 0 10px",padding:0,cursor:"text",position:"relative","&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}},"h1:first-of-type + h2":{marginTop:0,paddingTop:0},"p, blockquote, ul, ol, dl, li, table, pre":{margin:"15px 0"},hr:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},"body > h1:first-of-type, body > h2:first-of-type, body > h3:first-of-type, body > h4:first-of-type, body > h5:first-of-type, body > h6:first-of-type":{marginTop:0,paddingTop:0},"body > h1:first-of-type + h2":{marginTop:0,paddingTop:0},"a:first-of-type h1, a:first-of-type h2, a:first-of-type h3, a:first-of-type h4, a:first-of-type h5, a:first-of-type h6":{marginTop:0,paddingTop:0},"h1 p, h2 p, h3 p, h4 p, h5 p, h6 p":{marginTop:0},"li p.first":{display:"inline-block"},"ul, ol":{paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},dl:{padding:0},"dl dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",margin:"0 0 15px",padding:"0 15px","&:first-of-type":{padding:0},"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},blockquote:{borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},table:{padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:"white",margin:0,padding:0,"& th":{fontWeight:"bold",border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"& td":{border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"&:nth-of-type(2n)":{backgroundColor:e.color.lighter},"& th :first-of-type, & td :first-of-type":{marginTop:0},"& th :last-child, & td :last-child":{marginBottom:0}}},img:{maxWidth:"100%"},"span.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"span.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"span.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"span.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"span.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}},"code, tt":{margin:"0 2px",padding:"0 5px",whiteSpace:"nowrap",border:`1px solid ${e.color.mediumlight}`,backgroundColor:e.color.lighter,borderRadius:3,color:"dark"===e.base?e.color.darkest:e.color.dark}}))),[]),Ro=null,yk=(0,react__WEBPACK_IMPORTED_MODULE_0__.lazy)((async()=>{let{SyntaxHighlighter:e}=await Promise.resolve().then((()=>(ca(),hu)));return Vr.length>0&&(Vr.forEach((t=>{e.registerLanguage(...t)})),Vr=[]),null===Ro&&(Ro=e),{default:a((t=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(e,{...t})),"default")}})),Dk=(0,react__WEBPACK_IMPORTED_MODULE_0__.lazy)((async()=>{let[{SyntaxHighlighter:e},{formatter:t}]=await Promise.all([Promise.resolve().then((()=>(ca(),hu))),Promise.resolve().then((()=>(cg(),ug)))]);return Vr.length>0&&(Vr.forEach((r=>{e.registerLanguage(...r)})),Vr=[]),null===Ro&&(Ro=e),{default:a((r=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(e,{...r,formatter:t})),"default")}})),dg=a((e=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Suspense,{fallback:react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",null)},!1!==e.format?react__WEBPACK_IMPORTED_MODULE_0__.createElement(Dk,{...e}):react__WEBPACK_IMPORTED_MODULE_0__.createElement(yk,{...e}))),"SyntaxHighlighter");dg.registerLanguage=(...e)=>{null===Ro?Vr.push(e):Ro.registerLanguage(...e)},ca(),ou();var kl={};function Et(e,t,{checkForDefaultPrevented:r=!0}={}){return a((function(o){if(e?.(o),!1===r||!o.defaultPrevented)return t?.(o)}),"handleEvent")}function Ck(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}function Zc(...e){return t=>e.forEach((r=>Ck(r,t)))}function St(...e){return(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(Zc(...e),e)}function mg(e,t){let r=(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)(t);function n(i){let{children:l,...u}=i,c=(0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)((()=>u),Object.values(u));return(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(r.Provider,{value:c},l)}function o(i){let l=(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(r);if(l)return l;if(void 0!==t)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return a(n,"Provider"),a(o,"useContext"),n.displayName=e+"Provider",[n,o]}function gg(e,t=[]){let r=[];function n(i,l){let u=(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)(l),c=r.length;function p(h){let{scope:f,children:v,...b}=h,m=f?.[e][c]||u,g=(0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)((()=>b),Object.values(b));return(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(m.Provider,{value:g},v)}function d(h,f){let v=f?.[e][c]||u,b=(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(v);if(b)return b;if(void 0!==l)return l;throw new Error(`\`${h}\` must be used within \`${i}\``)}return r=[...r,l],a(p,"Provider"),a(d,"useContext"),p.displayName=i+"Provider",[p,d]}a(n,"$c512c27ab02ef895$export$fd42f52fd3ae1109");let o=a((()=>{let i=r.map((l=>(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)(l)));return a((function(u){let c=u?.[e]||i;return(0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)((()=>({[`__scope${e}`]:{...u,[e]:c}})),[u,c])}),"useScope")}),"createScope");return o.scopeName=e,[n,Ek(o,...t)]}function Ek(...e){let t=e[0];if(1===e.length)return t;let r=a((()=>{let n=e.map((o=>({useScope:o(),scopeName:o.scopeName})));return a((function(i){let l=n.reduce(((u,{useScope:c,scopeName:p})=>({...u,...c(i)[`__scope${p}`]})),{});return(0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)((()=>({[`__scope${t.scopeName}`]:l})),[l])}),"useComposedScopes")}),"createScope1");return r.scopeName=t.scopeName,r}ln(kl,{Close:()=>T0,Content:()=>A0,Description:()=>k0,Dialog:()=>i3,DialogClose:()=>v3,DialogContent:()=>d3,DialogDescription:()=>g3,DialogOverlay:()=>p3,DialogPortal:()=>c3,DialogTitle:()=>m3,DialogTrigger:()=>l3,Overlay:()=>R0,Portal:()=>S0,Root:()=>E0,Title:()=>F0,Trigger:()=>lL,WarningProvider:()=>iL,createDialogScope:()=>KT}),tt(),a(Et,"$e42e1063c40fb3ef$export$b9ecd428b558ff10"),a(Ck,"$6ed0406888f73fc4$var$setRef"),a(Zc,"$6ed0406888f73fc4$export$43e446d32b3d21af"),a(St,"$6ed0406888f73fc4$export$c7b2cbe3552a0d05"),a(mg,"$c512c27ab02ef895$export$fd42f52fd3ae1109"),a(gg,"$c512c27ab02ef895$export$50c7b4e9d9f19c1"),a(Ek,"$c512c27ab02ef895$var$composeContextScopes");var Ba=globalThis?.document?react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect:()=>{},Rk=react__WEBPACK_IMPORTED_MODULE_0__.useId||(()=>{}),Ak=0;function wl(e){let[t,r]=react__WEBPACK_IMPORTED_MODULE_0__.useState(Rk());return Ba((()=>{e||r((n=>n??String(Ak++)))}),[e]),e||(t?`radix-${t}`:"")}function it(e){let t=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(e);return(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{t.current=e})),(0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)((()=>(...r)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...r)}),[])}function vg({prop:e,defaultProp:t,onChange:r=a((()=>{}),"onChange")}){let[n,o]=_k({defaultProp:t,onChange:r}),i=void 0!==e,l=i?e:n,u=it(r);return[l,(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((p=>{if(i){let h="function"==typeof p?p(e):p;h!==e&&u(h)}else o(p)}),[i,e,o,u])]}function _k({defaultProp:e,onChange:t}){let r=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(e),[n]=r,o=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(n),i=it(t);return(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{o.current!==n&&(i(n),o.current=n)}),[n,o,i]),r}a(wl,"$1746a345f3d73bb7$export$f680877a34711e37"),a(it,"$b1b2314f5f9a1d84$export$25bec8c6f54ee79a"),a(vg,"$71cd76cc60e0454e$export$6f32135080cb4c3"),a(_k,"$71cd76cc60e0454e$var$useUncontrolledState"),tt(),tt(),tt();var qr=(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(((e,t)=>{let{children:r,...n}=e,o=react__WEBPACK_IMPORTED_MODULE_0__.Children.toArray(r),i=o.find(zk);if(i){let l=i.props.children,u=o.map((c=>c===i?react__WEBPACK_IMPORTED_MODULE_0__.Children.count(l)>1?react__WEBPACK_IMPORTED_MODULE_0__.Children.only(null):(0,react__WEBPACK_IMPORTED_MODULE_0__.isValidElement)(l)?l.props.children:null:c));return(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(e0,$({},n,{ref:t}),(0,react__WEBPACK_IMPORTED_MODULE_0__.isValidElement)(l)?(0,react__WEBPACK_IMPORTED_MODULE_0__.cloneElement)(l,void 0,u):null)}return(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(e0,$({},n,{ref:t}),r)}));qr.displayName="Slot";var e0=(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(((e,t)=>{let{children:r,...n}=e;return(0,react__WEBPACK_IMPORTED_MODULE_0__.isValidElement)(r)?(0,react__WEBPACK_IMPORTED_MODULE_0__.cloneElement)(r,{...$k(n,r.props),ref:t?Zc(t,r.ref):r.ref}):react__WEBPACK_IMPORTED_MODULE_0__.Children.count(r)>1?react__WEBPACK_IMPORTED_MODULE_0__.Children.only(null):null}));e0.displayName="SlotClone";var Hk=a((({children:e})=>(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(react__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,e)),"$5e63c961fc1ce211$export$d9f1ccf0bdb05d45");function zk(e){return(0,react__WEBPACK_IMPORTED_MODULE_0__.isValidElement)(e)&&e.type===Hk}function $k(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...u)=>{i(...u),o(...u)}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}a(zk,"$5e63c961fc1ce211$var$isSlottable"),a($k,"$5e63c961fc1ce211$var$mergeProps");var Ke=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce(((e,t)=>{let r=(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(((n,o)=>{let{asChild:i,...l}=n,u=i?qr:t;return(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{window[Symbol.for("radix-ui")]=!0}),[]),(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(u,$({},l,{ref:o}))}));return r.displayName=`Primitive.${t}`,{...e,[t]:r}}),{});function yg(e,t){e&&(0,react_dom__WEBPACK_IMPORTED_MODULE_3__.flushSync)((()=>e.dispatchEvent(t)))}function Dg(e,t=globalThis?.document){let r=it(e);(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{let n=a((o=>{"Escape"===o.key&&r(o)}),"handleKeyDown");return t.addEventListener("keydown",n),()=>t.removeEventListener("keydown",n)}),[r,t])}a(yg,"$8927f6f2acc4f386$export$6d1a0317bde7de7f"),a(Dg,"$addc16e1bbe58fd0$export$3a72a57244d6e765");var Cg,r0="dismissableLayer.update",Jk=(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Sg=(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(((e,t)=>{var r;let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:l,onInteractOutside:u,onDismiss:c,...p}=e,d=(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(Jk),[h,f]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(null),v=null!==(r=h?.ownerDocument)&&void 0!==r?r:globalThis?.document,[,b]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)({}),m=St(t,(R=>f(R))),g=Array.from(d.layers),[y]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),w=g.indexOf(y),D=h?g.indexOf(h):-1,x=d.layersWithOutsidePointerEventsDisabled.size>0,C=D>=w,E=Qk((R=>{let A=R.target,k=[...d.branches].some((I=>I.contains(A)));!C||k||(i?.(R),u?.(R),R.defaultPrevented||c?.())}),v),S=eT((R=>{let A=R.target;[...d.branches].some((I=>I.contains(A)))||(l?.(R),u?.(R),R.defaultPrevented||c?.())}),v);return Dg((R=>{D===d.layers.size-1&&(o?.(R),!R.defaultPrevented&&c&&(R.preventDefault(),c()))}),v),(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{if(h)return n&&(0===d.layersWithOutsidePointerEventsDisabled.size&&(Cg=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(h)),d.layers.add(h),Eg(),()=>{n&&1===d.layersWithOutsidePointerEventsDisabled.size&&(v.body.style.pointerEvents=Cg)}}),[h,v,n,d]),(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>()=>{h&&(d.layers.delete(h),d.layersWithOutsidePointerEventsDisabled.delete(h),Eg())}),[h,d]),(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{let R=a((()=>b({})),"handleUpdate");return document.addEventListener(r0,R),()=>document.removeEventListener(r0,R)}),[]),(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(Ke.div,$({},p,{ref:m,style:{pointerEvents:x?C?"auto":"none":void 0,...e.style},onFocusCapture:Et(e.onFocusCapture,S.onFocusCapture),onBlurCapture:Et(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:Et(e.onPointerDownCapture,E.onPointerDownCapture)}))}));function Qk(e,t=globalThis?.document){let r=it(e),n=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(!1),o=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)((()=>{}));return(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{let i=a((u=>{if(u.target&&!n.current){let p=function(){Rg("dismissableLayer.pointerDownOutside",r,c,{discrete:!0})};a(p,"handleAndDispatchPointerDownOutsideEvent");let c={originalEvent:u};"touch"===u.pointerType?(t.removeEventListener("click",o.current),o.current=p,t.addEventListener("click",o.current,{once:!0})):p()}else t.removeEventListener("click",o.current);n.current=!1}),"handlePointerDown"),l=window.setTimeout((()=>{t.addEventListener("pointerdown",i)}),0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}}),[t,r]),{onPointerDownCapture:a((()=>n.current=!0),"onPointerDownCapture")}}function eT(e,t=globalThis?.document){let r=it(e),n=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(!1);return(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{let o=a((i=>{i.target&&!n.current&&Rg("dismissableLayer.focusOutside",r,{originalEvent:i},{discrete:!1})}),"handleFocus");return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)}),[t,r]),{onFocusCapture:a((()=>n.current=!0),"onFocusCapture"),onBlurCapture:a((()=>n.current=!1),"onBlurCapture")}}function Eg(){let e=new CustomEvent(r0);document.dispatchEvent(e)}function Rg(e,t,r,{discrete:n}){let o=r.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?yg(o,i):o.dispatchEvent(i)}a(Qk,"$5cb92bef7577960e$var$usePointerDownOutside"),a(eT,"$5cb92bef7577960e$var$useFocusOutside"),a(Eg,"$5cb92bef7577960e$var$dispatchUpdate"),a(Rg,"$5cb92bef7577960e$var$handleAndDispatchCustomEvent"),tt();var n0="focusScope.autoFocusOnMount",o0="focusScope.autoFocusOnUnmount",kg={bubbles:!1,cancelable:!0},Ig=(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...l}=e,[u,c]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(null),p=it(o),d=it(i),h=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null),f=St(t,(m=>c(m))),v=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{if(n){let m=function(D){if(v.paused||!u)return;let x=D.target;u.contains(x)?h.current=x:sr(h.current,{select:!0})},g=function(D){if(v.paused||!u)return;let x=D.relatedTarget;null!==x&&(u.contains(x)||sr(h.current,{select:!0}))},y=function(D){if(document.activeElement===document.body)for(let C of D)C.removedNodes.length>0&&sr(u)};a(m,"handleFocusIn"),a(g,"handleFocusOut"),a(y,"handleMutations"),document.addEventListener("focusin",m),document.addEventListener("focusout",g);let w=new MutationObserver(y);return u&&w.observe(u,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",g),w.disconnect()}}}),[n,u,v.paused]),(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{if(u){Lg.add(v);let m=document.activeElement;if(!u.contains(m)){let y=new CustomEvent(n0,kg);u.addEventListener(n0,p),u.dispatchEvent(y),y.defaultPrevented||(aT(cT(Mg(u)),{select:!0}),document.activeElement===m&&sr(u))}return()=>{u.removeEventListener(n0,p),setTimeout((()=>{let y=new CustomEvent(o0,kg);u.addEventListener(o0,d),u.dispatchEvent(y),y.defaultPrevented||sr(m??document.body,{select:!0}),u.removeEventListener(o0,d),Lg.remove(v)}),0)}}}),[u,p,d,v]);let b=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((m=>{if(!r&&!n||v.paused)return;let g="Tab"===m.key&&!m.altKey&&!m.ctrlKey&&!m.metaKey,y=document.activeElement;if(g&&y){let w=m.currentTarget,[D,x]=iT(w);D&&x?m.shiftKey||y!==x?m.shiftKey&&y===D&&(m.preventDefault(),r&&sr(x,{select:!0})):(m.preventDefault(),r&&sr(D,{select:!0})):y===w&&m.preventDefault()}}),[r,n,v.paused]);return(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(Ke.div,$({tabIndex:-1},l,{ref:f,onKeyDown:b}))}));function aT(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(sr(n,{select:t}),document.activeElement!==r)return}function iT(e){let t=Mg(e);return[Tg(t,e),Tg(t.reverse(),e)]}function Mg(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:a((n=>{let o="INPUT"===n.tagName&&"hidden"===n.type;return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}),"acceptNode")});for(;r.nextNode();)t.push(r.currentNode);return t}function Tg(e,t){for(let r of e)if(!lT(r,{upTo:t}))return r}function lT(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function sT(e){return e instanceof HTMLInputElement&&"select"in e}function sr(e,{select:t=!1}={}){if(e&&e.focus){let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&sT(e)&&t&&e.select()}}a(aT,"$d3863c46a17e8a28$var$focusFirst"),a(iT,"$d3863c46a17e8a28$var$getTabbableEdges"),a(Mg,"$d3863c46a17e8a28$var$getTabbableCandidates"),a(Tg,"$d3863c46a17e8a28$var$findVisible"),a(lT,"$d3863c46a17e8a28$var$isHidden"),a(sT,"$d3863c46a17e8a28$var$isSelectableInput"),a(sr,"$d3863c46a17e8a28$var$focus");var Lg=uT();function uT(){let e=[];return{add(t){let r=e[0];t!==r&&r?.pause(),e=Bg(e,t),e.unshift(t)},remove(t){var r;e=Bg(e,t),null===(r=e[0])||void 0===r||r.resume()}}}function Bg(e,t){let r=[...e],n=r.indexOf(t);return-1!==n&&r.splice(n,1),r}function cT(e){return e.filter((t=>"A"!==t.tagName))}a(uT,"$d3863c46a17e8a28$var$createFocusScopesStack"),a(Bg,"$d3863c46a17e8a28$var$arrayRemove"),a(cT,"$d3863c46a17e8a28$var$removeLinks"),tt();var _g=(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(((e,t)=>{var r;let{container:n=(null==globalThis||null===(r=globalThis.document)||void 0===r?void 0:r.body),...o}=e;return n?react_dom__WEBPACK_IMPORTED_MODULE_3__.createPortal((0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(Ke.div,$({},o,{ref:t})),n):null}));function DT(e,t){return(0,react__WEBPACK_IMPORTED_MODULE_0__.useReducer)(((r,n)=>t[r][n]??r),e)}a(DT,"$fe963b355347cc68$export$3e6543de14f8614f");var _a=a((e=>{let{present:t,children:r}=e,n=xT(t),o="function"==typeof r?r({present:n.isPresent}):react__WEBPACK_IMPORTED_MODULE_0__.Children.only(r),i=St(n.ref,o.ref);return"function"==typeof r||n.isPresent?(0,react__WEBPACK_IMPORTED_MODULE_0__.cloneElement)(o,{ref:i}):null}),"$921a889cee6df7e8$export$99c2b779aa4e8b8b");function xT(e){let[t,r]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),n=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)({}),o=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(e),i=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)("none"),l=e?"mounted":"unmounted",[u,c]=DT(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{let p=yl(n.current);i.current="mounted"===u?p:"none"}),[u]),Ba((()=>{let p=n.current,d=o.current;if(d!==e){let f=i.current,v=yl(p);c(e?"MOUNT":"none"===v||"none"===p?.display?"UNMOUNT":d&&f!==v?"ANIMATION_OUT":"UNMOUNT"),o.current=e}}),[e,c]),Ba((()=>{if(t){let p=a((h=>{let v=yl(n.current).includes(h.animationName);h.target===t&&v&&(0,react_dom__WEBPACK_IMPORTED_MODULE_3__.flushSync)((()=>c("ANIMATION_END")))}),"handleAnimationEnd"),d=a((h=>{h.target===t&&(i.current=yl(n.current))}),"handleAnimationStart");return t.addEventListener("animationstart",d),t.addEventListener("animationcancel",p),t.addEventListener("animationend",p),()=>{t.removeEventListener("animationstart",d),t.removeEventListener("animationcancel",p),t.removeEventListener("animationend",p)}}c("ANIMATION_END")}),[t,c]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((p=>{p&&(n.current=getComputedStyle(p)),r(p)}),[])}}function yl(e){return e?.animationName||"none"}_a.displayName="Presence",a(xT,"$921a889cee6df7e8$var$usePresence"),a(yl,"$921a889cee6df7e8$var$getAnimationName");var i0=0;function Hg(){(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{var e,t;let r=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=r[0])&&void 0!==e?e:Pg()),document.body.insertAdjacentElement("beforeend",null!==(t=r[1])&&void 0!==t?t:Pg()),i0++,()=>{1===i0&&document.querySelectorAll("[data-radix-focus-guard]").forEach((n=>n.remove())),i0--}}),[])}function Pg(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}a(Hg,"$3db38b7d1fb3fe6a$export$b7ece24a22aeda8c"),a(Pg,"$3db38b7d1fb3fe6a$var$createFocusGuard");var ze=a((function(){return ze=Object.assign||a((function(t){for(var r,n=1,o=arguments.length;n"u")return TT;var t=LT(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}}),"getGapWidth"),BT=Ha(),El="data-scroll-locked",IT=a((function(e,t,r,n){var o=e.left,i=e.top,l=e.right,u=e.gap;return void 0===r&&(r="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(n,";\n padding-right: ").concat(u,"px ").concat(n,";\n }\n body[").concat(El,"] {\n overflow: hidden ").concat(n,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(l,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(u,"px ").concat(n,";\n "),"padding"===r&&"padding-right: ".concat(u,"px ").concat(n,";")].filter(Boolean).join(""),"\n }\n \n .").concat(Wr," {\n right: ").concat(u,"px ").concat(n,";\n }\n \n .").concat(Ur," {\n margin-right: ").concat(u,"px ").concat(n,";\n }\n \n .").concat(Wr," .").concat(Wr," {\n right: 0 ").concat(n,";\n }\n \n .").concat(Ur," .").concat(Ur," {\n margin-right: 0 ").concat(n,";\n }\n \n body[").concat(El,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(u,"px;\n }\n")}),"getStyles"),v0=a((function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=void 0===n?"margin":n,i=react__WEBPACK_IMPORTED_MODULE_0__.useMemo((function(){return g0(o)}),[o]);return react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){return document.body.setAttribute(El,""),function(){document.body.removeAttribute(El)}}),[]),react__WEBPACK_IMPORTED_MODULE_0__.createElement(BT,{styles:IT(i,!t,o,r?"":"!important")})}),"RemoveScrollBar"),w0=!1;if(typeof window<"u")try{za=Object.defineProperty({},"passive",{get:a((function(){return w0=!0,!0}),"get")}),window.addEventListener("test",za,za),window.removeEventListener("test",za,za)}catch{w0=!1}var za,Gr=!!w0&&{passive:!1},MT=a((function(e){return"TEXTAREA"===e.tagName}),"alwaysContainsScroll"),Gg=a((function(e,t){var r=window.getComputedStyle(e);return"hidden"!==r[t]&&!(r.overflowY===r.overflowX&&!MT(e)&&"visible"===r[t])}),"elementCanBeScrolled"),_T=a((function(e){return Gg(e,"overflowY")}),"elementCouldBeVScrolled"),PT=a((function(e){return Gg(e,"overflowX")}),"elementCouldBeHScrolled"),b0=a((function(e,t){var r=t;do{if(typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host),Xg(e,r)){var o=Yg(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==document.body);return!1}),"locationCouldBeScrolled"),HT=a((function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]}),"getVScrollVariables"),zT=a((function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}),"getHScrollVariables"),Xg=a((function(e,t){return"v"===e?_T(t):PT(t)}),"elementCouldBeScrolled"),Yg=a((function(e,t){return"v"===e?HT(t):zT(t)}),"getScrollVariables"),$T=a((function(e,t){return"h"===e&&"rtl"===t?-1:1}),"getDirectionFactor"),Kg=a((function(e,t,r,n,o){var i=$T(e,window.getComputedStyle(t).direction),l=i*n,u=r.target,c=t.contains(u),p=!1,d=l>0,h=0,f=0;do{var v=Yg(e,u),b=v[0],y=v[1]-v[2]-i*b;(b||y)&&Xg(e,u)&&(h+=y,f+=b),u=u.parentNode}while(!c&&u!==document.body||c&&(t.contains(u)||t===u));return(d&&(o&&0===h||!o&&l>h)||!d&&(o&&0===f||!o&&-l>f))&&(p=!0),p}),"handleScroll"),Sl=a((function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]}),"getTouchXY"),Zg=a((function(e){return[e.deltaX,e.deltaY]}),"getDeltaXY"),Jg=a((function(e){return e&&"current"in e?e.current:e}),"extractRef"),OT=a((function(e,t){return e[0]===t[0]&&e[1]===t[1]}),"deltaCompare"),NT=a((function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")}),"generateStyle"),jT=0,Fo=[];function Qg(e){var t=react__WEBPACK_IMPORTED_MODULE_0__.useRef([]),r=react__WEBPACK_IMPORTED_MODULE_0__.useRef([0,0]),n=react__WEBPACK_IMPORTED_MODULE_0__.useRef(),o=react__WEBPACK_IMPORTED_MODULE_0__.useState(jT++)[0],i=react__WEBPACK_IMPORTED_MODULE_0__.useState((function(){return Ha()}))[0],l=react__WEBPACK_IMPORTED_MODULE_0__.useRef(e);react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){l.current=e}),[e]),react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var m=zg([e.lockRef.current],(e.shards||[]).map(Jg),!0).filter(Boolean);return m.forEach((function(g){return g.classList.add("allow-interactivity-".concat(o))})),function(){document.body.classList.remove("block-interactivity-".concat(o)),m.forEach((function(g){return g.classList.remove("allow-interactivity-".concat(o))}))}}}),[e.inert,e.lockRef.current,e.shards]);var u=react__WEBPACK_IMPORTED_MODULE_0__.useCallback((function(m,g){if("touches"in m&&2===m.touches.length)return!l.current.allowPinchZoom;var C,y=Sl(m),w=r.current,D="deltaX"in m?m.deltaX:w[0]-y[0],x="deltaY"in m?m.deltaY:w[1]-y[1],E=m.target,S=Math.abs(D)>Math.abs(x)?"h":"v";if("touches"in m&&"h"===S&&"range"===E.type)return!1;var R=b0(S,E);if(!R)return!0;if(R?C=S:(C="v"===S?"h":"v",R=b0(S,E)),!R)return!1;if(!n.current&&"changedTouches"in m&&(D||x)&&(n.current=C),!C)return!0;var A=n.current||C;return Kg(A,g,m,"h"===A?D:x,!0)}),[]),c=react__WEBPACK_IMPORTED_MODULE_0__.useCallback((function(m){var g=m;if(Fo.length&&Fo[Fo.length-1]===i){var y="deltaY"in g?Zg(g):Sl(g),w=t.current.filter((function(C){return C.name===g.type&&C.target===g.target&&OT(C.delta,y)}))[0];if(w&&w.should)return void(g.cancelable&&g.preventDefault());if(!w){var D=(l.current.shards||[]).map(Jg).filter(Boolean).filter((function(C){return C.contains(g.target)}));(D.length>0?u(g,D[0]):!l.current.noIsolation)&&g.cancelable&&g.preventDefault()}}}),[]),p=react__WEBPACK_IMPORTED_MODULE_0__.useCallback((function(m,g,y,w){var D={name:m,delta:g,target:y,should:w};t.current.push(D),setTimeout((function(){t.current=t.current.filter((function(x){return x!==D}))}),1)}),[]),d=react__WEBPACK_IMPORTED_MODULE_0__.useCallback((function(m){r.current=Sl(m),n.current=void 0}),[]),h=react__WEBPACK_IMPORTED_MODULE_0__.useCallback((function(m){p(m.type,Zg(m),m.target,u(m,e.lockRef.current))}),[]),f=react__WEBPACK_IMPORTED_MODULE_0__.useCallback((function(m){p(m.type,Sl(m),m.target,u(m,e.lockRef.current))}),[]);react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){return Fo.push(i),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:f}),document.addEventListener("wheel",c,Gr),document.addEventListener("touchmove",c,Gr),document.addEventListener("touchstart",d,Gr),function(){Fo=Fo.filter((function(m){return m!==i})),document.removeEventListener("wheel",c,Gr),document.removeEventListener("touchmove",c,Gr),document.removeEventListener("touchstart",d,Gr)}}),[]);var v=e.removeScrollBar,b=e.inert;return react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,b?react__WEBPACK_IMPORTED_MODULE_0__.createElement(i,{styles:NT(o)}):null,v?react__WEBPACK_IMPORTED_MODULE_0__.createElement(v0,{gapMode:"margin"}):null)}a(Qg,"RemoveScrollSideCar");var e3=p0(Cl,Qg),t3=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((function(e,t){return react__WEBPACK_IMPORTED_MODULE_0__.createElement(Pa,ze({},e,{ref:t,sideCar:e3}))}));t3.classNames=Pa.classNames;var y0=t3,VT=a((function(e){return typeof document>"u"?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}),"getDefaultParent"),ko=new WeakMap,Al=new WeakMap,Fl={},D0=0,r3=a((function(e){return e&&(e.host||r3(e.parentNode))}),"unwrapHost"),qT=a((function(e,t){return t.map((function(r){if(e.contains(r))return r;var n=r3(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)})).filter((function(r){return!!r}))}),"correctTargets"),WT=a((function(e,t,r,n){var o=qT(t,Array.isArray(e)?e:[e]);Fl[r]||(Fl[r]=new WeakMap);var i=Fl[r],l=[],u=new Set,c=new Set(o),p=a((function(h){!h||u.has(h)||(u.add(h),p(h.parentNode))}),"keep");o.forEach(p);var d=a((function(h){!h||c.has(h)||Array.prototype.forEach.call(h.children,(function(f){if(u.has(f))d(f);else{var v=f.getAttribute(n),b=null!==v&&"false"!==v,m=(ko.get(f)||0)+1,g=(i.get(f)||0)+1;ko.set(f,m),i.set(f,g),l.push(f),1===m&&b&&Al.set(f,!0),1===g&&f.setAttribute(r,"true"),b||f.setAttribute(n,"true")}}))}),"deep");return d(t),u.clear(),D0++,function(){l.forEach((function(h){var f=ko.get(h)-1,v=i.get(h)-1;ko.set(h,f),i.set(h,v),f||(Al.has(h)||h.removeAttribute(n),Al.delete(h)),v||h.removeAttribute(r)})),--D0||(ko=new WeakMap,ko=new WeakMap,Al=new WeakMap,Fl={})}}),"applyAttributeToOthers"),n3=a((function(e,t,r){void 0===r&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||VT(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),WT(n,o,r,"aria-hidden")):function(){return null}}),"hideOthers"),[a3,KT]=gg("Dialog"),[ZT,lt]=a3("Dialog"),i3=a((e=>{let{__scopeDialog:t,children:r,open:n,defaultOpen:o,onOpenChange:i,modal:l=!0}=e,u=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null),c=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null),[p=!1,d]=vg({prop:n,defaultProp:o,onChange:i});return(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(ZT,{scope:t,triggerRef:u,contentRef:c,contentId:wl(),titleId:wl(),descriptionId:wl(),open:p,onOpenChange:d,onOpenToggle:(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((()=>d((h=>!h))),[d]),modal:l},r)}),"$5d3850c4d0b4e6c7$export$3ddf2d174ce01153"),l3=(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(((e,t)=>{let{__scopeDialog:r,...n}=e,o=lt("DialogTrigger",r),i=St(t,o.triggerRef);return(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(Ke.button,$({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":C0(o.open)},n,{ref:i,onClick:Et(e.onClick,o.onOpenToggle)}))})),s3="DialogPortal",[QT,u3]=a3(s3,{forceMount:void 0}),c3=a((e=>{let{__scopeDialog:t,forceMount:r,children:n,container:o}=e,i=lt(s3,t);return(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(QT,{scope:t,forceMount:r},react__WEBPACK_IMPORTED_MODULE_0__.Children.map(n,(l=>(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_a,{present:r||i.open},(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_g,{asChild:!0,container:o},l)))))}),"$5d3850c4d0b4e6c7$export$dad7c95542bacce0"),x0="DialogOverlay",p3=(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(((e,t)=>{let r=u3(x0,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,i=lt(x0,e.__scopeDialog);return i.modal?(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_a,{present:n||i.open},(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(eL,$({},o,{ref:t}))):null})),eL=(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(((e,t)=>{let{__scopeDialog:r,...n}=e,o=lt(x0,r);return(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(y0,{as:qr,allowPinchZoom:!0,shards:[o.contentRef]},(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(Ke.div,$({"data-state":C0(o.open)},n,{ref:t,style:{pointerEvents:"auto",...n.style}})))})),Lo="DialogContent",d3=(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(((e,t)=>{let r=u3(Lo,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,i=lt(Lo,e.__scopeDialog);return(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_a,{present:n||i.open},i.modal?(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(tL,$({},o,{ref:t})):(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(rL,$({},o,{ref:t})))})),tL=(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(((e,t)=>{let r=lt(Lo,e.__scopeDialog),n=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null),o=St(t,r.contentRef,n);return(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{let i=n.current;if(i)return n3(i)}),[]),(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(f3,$({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Et(e.onCloseAutoFocus,(i=>{var l;i.preventDefault(),null===(l=r.triggerRef.current)||void 0===l||l.focus()})),onPointerDownOutside:Et(e.onPointerDownOutside,(i=>{let l=i.detail.originalEvent,u=0===l.button&&!0===l.ctrlKey;(2===l.button||u)&&i.preventDefault()})),onFocusOutside:Et(e.onFocusOutside,(i=>i.preventDefault()))}))})),rL=(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(((e,t)=>{let r=lt(Lo,e.__scopeDialog),n=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(!1),o=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(!1);return(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(f3,$({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a((i=>{var l,u;(null===(l=e.onCloseAutoFocus)||void 0===l||l.call(e,i),i.defaultPrevented)||(n.current||null===(u=r.triggerRef.current)||void 0===u||u.focus(),i.preventDefault());n.current=!1,o.current=!1}),"onCloseAutoFocus"),onInteractOutside:a((i=>{var l,u;null===(l=e.onInteractOutside)||void 0===l||l.call(e,i),i.defaultPrevented||(n.current=!0,"pointerdown"===i.detail.originalEvent.type&&(o.current=!0));let c=i.target;(null===(u=r.triggerRef.current)||void 0===u?void 0:u.contains(c))&&i.preventDefault(),"focusin"===i.detail.originalEvent.type&&o.current&&i.preventDefault()}),"onInteractOutside")}))})),f3=(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(((e,t)=>{let{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:i,...l}=e,u=lt(Lo,r),p=St(t,(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null));return Hg(),(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(react__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(Ig,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:i},(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(Sg,$({role:"dialog",id:u.contentId,"aria-describedby":u.descriptionId,"aria-labelledby":u.titleId,"data-state":C0(u.open)},l,{ref:p,onDismiss:a((()=>u.onOpenChange(!1)),"onDismiss")}))),!1)})),h3="DialogTitle",m3=(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(((e,t)=>{let{__scopeDialog:r,...n}=e,o=lt(h3,r);return(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(Ke.h2,$({id:o.titleId},n,{ref:t}))})),g3=(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(((e,t)=>{let{__scopeDialog:r,...n}=e,o=lt("DialogDescription",r);return(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(Ke.p,$({id:o.descriptionId},n,{ref:t}))})),v3=(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(((e,t)=>{let{__scopeDialog:r,...n}=e,o=lt("DialogClose",r);return(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(Ke.button,$({type:"button"},n,{ref:t,onClick:Et(e.onClick,(()=>o.onOpenChange(!1)))}))}));function C0(e){return e?"open":"closed"}a(C0,"$5d3850c4d0b4e6c7$var$getState");var[iL,fW]=mg("DialogTitleWarning",{contentName:Lo,titleName:h3,docsSlug:"dialog"}),E0=i3,lL=l3,S0=c3,R0=p3,A0=d3,F0=m3,k0=g3,T0=v3,M0={};ln(M0,{Actions:()=>CL,CloseButton:()=>y3,Col:()=>x3,Container:()=>I0,Content:()=>bL,Description:()=>xL,Error:()=>EL,ErrorWrapper:()=>C3,Header:()=>yL,Overlay:()=>B0,Row:()=>D3,Title:()=>DL});var Bo=(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)((({asChild:e=!1,animation:t="none",size:r="small",variant:n="outline",padding:o="medium",disabled:i=!1,active:l=!1,onClick:u,...c},p)=>{let d="button";c.isLink&&(d="a"),e&&(d=qr);let h=n,f=r,[v,b]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),m=a((g=>{u&&u(g),"none"!==t&&b(!0)}),"handleClick");if((0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{let g=setTimeout((()=>{v&&b(!1)}),1e3);return()=>clearTimeout(g)}),[v]),c.primary&&(h="solid",f="medium"),(c.secondary||c.tertiary||c.gray||c.outline||c.inForm)&&(h="outline",f="medium"),c.small||c.isLink||c.primary||c.secondary||c.tertiary||c.gray||c.outline||c.inForm||c.containsIcon){let g=react__WEBPACK_IMPORTED_MODULE_0__.Children.toArray(c.children).filter((y=>"string"==typeof y&&""!==y));(0,_storybook_core_client_logger__WEBPACK_IMPORTED_MODULE_4__.deprecate)(`Use of deprecated props in the button ${g.length>0?`"${g.join(" ")}"`:"component"} detected, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#new-ui-and-props-for-button-and-iconbutton-components`)}return react__WEBPACK_IMPORTED_MODULE_0__.createElement(hL,{as:d,ref:p,variant:h,size:f,padding:o,disabled:i,active:l,animating:v,animation:t,onClick:m,...c})}));Bo.displayName="Button";var hL=(0,_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4)("button",{shouldForwardProp:a((e=>(0,_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.EG)(e)),"shouldForwardProp")})((({theme:e,variant:t,size:r,disabled:n,active:o,animating:i,animation:l="none",padding:u})=>({border:0,cursor:n?"not-allowed":"pointer",display:"inline-flex",gap:"6px",alignItems:"center",justifyContent:"center",overflow:"hidden",padding:"small"===u&&"small"===r?"0 7px":"small"===u&&"medium"===r?"0 9px":"small"===r?"0 10px":"medium"===r?"0 12px":0,height:"small"===r?"28px":"32px",position:"relative",textAlign:"center",textDecoration:"none",transitionProperty:"background, box-shadow",transitionDuration:"150ms",transitionTimingFunction:"ease-out",verticalAlign:"top",whiteSpace:"nowrap",userSelect:"none",opacity:n?.5:1,margin:0,fontSize:`${e.typography.size.s1}px`,fontWeight:e.typography.weight.bold,lineHeight:"1",background:"solid"===t?e.color.secondary:"outline"===t?e.button.background:"ghost"===t&&o?e.background.hoverable:"transparent",..."ghost"===t?{".sb-bar &":{background:o?be(.9,e.barTextColor):"transparent",color:o?e.barSelectedColor:e.barTextColor,"&:hover":{color:e.barHoverColor,background:be(.86,e.barHoverColor)},"&:active":{color:e.barSelectedColor,background:be(.9,e.barSelectedColor)},"&:focus":{boxShadow:`${Qo(e.barHoverColor,1)} 0 0 0 1px inset`,outline:"none"}}}:{},color:"solid"===t?e.color.lightest:"outline"===t?e.input.color:"ghost"===t&&o?e.color.secondary:"ghost"===t?e.color.mediumdark:e.input.color,boxShadow:"outline"===t?`${e.button.border} 0 0 0 1px inset`:"none",borderRadius:e.input.borderRadius,flexShrink:0,"&:hover":{color:"ghost"===t?e.color.secondary:void 0,background:(()=>{let c=e.color.secondary;return"solid"===t&&(c=e.color.secondary),"outline"===t&&(c=e.button.background),"ghost"===t?be(.86,e.color.secondary):"light"===e.base?Yt(.02,c):ds(.03,c)})()},"&:active":{color:"ghost"===t?e.color.secondary:void 0,background:(()=>{let c=e.color.secondary;return"solid"===t&&(c=e.color.secondary),"outline"===t&&(c=e.button.background),"ghost"===t?e.background.hoverable:"light"===e.base?Yt(.02,c):ds(.03,c)})()},"&:focus":{boxShadow:`${Qo(e.color.secondary,1)} 0 0 0 1px inset`,outline:"none"},"> svg":{animation:i&&"none"!==l?`${e.animation[l]} 1000ms ease-out`:""}}))),Tl=(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)((({padding:e="small",variant:t="ghost",...r},n)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(Bo,{padding:e,variant:t,ref:n,...r})));Tl.displayName="IconButton";var b3=(0,_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.i7)({from:{opacity:0},to:{opacity:1}}),vL=(0,_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.i7)({from:{maxHeight:0},to:{}}),wL=(0,_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.i7)({from:{opacity:0,transform:"translate(-50%, -50%) scale(0.9)"},to:{opacity:1,transform:"translate(-50%, -50%) scale(1)"}}),B0=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div({backgroundColor:"rgba(27, 28, 29, 0.2)",position:"fixed",inset:0,width:"100%",height:"100%",zIndex:10,animation:`${b3} 200ms`}),I0=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div((({theme:e,width:t,height:r})=>({backgroundColor:e.background.bar,borderRadius:6,boxShadow:"rgba(255, 255, 255, 0.05) 0 0 0 1px inset, rgba(14, 18, 22, 0.35) 0px 10px 38px -10px",position:"fixed",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:t??740,height:r??"auto",maxWidth:"calc(100% - 40px)",maxHeight:"85vh",overflow:"hidden",zIndex:11,animation:`${wL} 200ms`,"&:focus-visible":{outline:"none"}}))),y3=a((e=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(T0,{asChild:!0},react__WEBPACK_IMPORTED_MODULE_0__.createElement(Tl,{...e},react__WEBPACK_IMPORTED_MODULE_0__.createElement(Pu,null)))),"CloseButton"),bL=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div({display:"flex",flexDirection:"column",margin:16,gap:16}),D3=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div({display:"flex",justifyContent:"space-between",gap:16}),x3=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div({display:"flex",flexDirection:"column",gap:4}),yL=a((e=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(D3,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement(x3,{...e}),react__WEBPACK_IMPORTED_MODULE_0__.createElement(y3,null))),"Header"),DL=(0,_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4)(F0)((({theme:e})=>({margin:0,fontSize:e.typography.size.s3,fontWeight:e.typography.weight.bold}))),xL=(0,_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4)(k0)((({theme:e})=>({position:"relative",zIndex:1,margin:0,fontSize:e.typography.size.s2}))),CL=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div({display:"flex",flexDirection:"row-reverse",gap:8}),C3=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div((({theme:e})=>({maxHeight:100,overflow:"auto",animation:`${vL} 300ms, ${b3} 300ms`,backgroundColor:e.background.critical,color:e.color.lightest,fontSize:e.typography.size.s2,"& > div":{position:"relative",padding:"8px 16px"}}))),EL=a((({children:e,...t})=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(C3,{...t},react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",null,e))),"Error");function SL({children:e,width:t,height:r,onEscapeKeyDown:n,onInteractOutside:o=a((c=>c.preventDefault()),"onInteractOutside"),className:i,container:l,...u}){return react__WEBPACK_IMPORTED_MODULE_0__.createElement(E0,{...u},react__WEBPACK_IMPORTED_MODULE_0__.createElement(S0,{container:l},react__WEBPACK_IMPORTED_MODULE_0__.createElement(R0,{asChild:!0},react__WEBPACK_IMPORTED_MODULE_0__.createElement(B0,null)),react__WEBPACK_IMPORTED_MODULE_0__.createElement(A0,{asChild:!0,onInteractOutside:o,onEscapeKeyDown:n},react__WEBPACK_IMPORTED_MODULE_0__.createElement(I0,{className:i,width:t,height:r},e))))}a(SL,"BaseModal");Object.assign(SL,M0,{Dialog:kl}),_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div((({theme:e,col:t,row:r=1})=>t?{display:"inline-block",verticalAlign:"inherit","& > *":{marginLeft:t*e.layoutMargin,verticalAlign:"inherit"},[`& > *:first-child${_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.v_}`]:{marginLeft:0}}:{"& > *":{marginTop:r*e.layoutMargin},[`& > *:first-child${_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.v_}`]:{marginTop:0}}),(({theme:e,outer:t,col:r,row:n})=>{switch(!0){case!(!t||!r):return{marginLeft:t*e.layoutMargin,marginRight:t*e.layoutMargin};case!(!t||!n):return{marginTop:t*e.layoutMargin,marginBottom:t*e.layoutMargin};default:return{}}})),_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div((({theme:e})=>({fontWeight:e.typography.weight.bold}))),_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div(),_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div((({theme:e})=>({padding:30,textAlign:"center",color:e.color.defaultText,fontSize:e.typography.size.s2-1})));function $L(e,t){var r=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null),n=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);n.current=t;var o=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((function(){i()}));var i=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((function(){var l=o.current,u=n.current,c=l||(u?u instanceof Element?u:u.current:null);r.current&&r.current.element===c&&r.current.subscriber===e||(r.current&&r.current.cleanup&&r.current.cleanup(),r.current={element:c,subscriber:e,cleanup:c?e(c):void 0})}),[e]);return(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((function(){return function(){r.current&&r.current.cleanup&&(r.current.cleanup(),r.current=null)}}),[]),(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((function(l){o.current=l,i()}),[i])}function S3(e,t,r){return e[t]?e[t][0]?e[t][0][r]:e[t][r]:"contentBoxSize"===t?e.contentRect["inlineSize"===r?"width":"height"]:void 0}function Ll(e){void 0===e&&(e={});var t=e.onResize,r=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(void 0);r.current=t;var n=e.round||Math.round,o=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(),i=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)({width:void 0,height:void 0}),l=i[0],u=i[1],c=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(!1);(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((function(){return c.current=!1,function(){c.current=!0}}),[]);var p=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)({width:void 0,height:void 0}),d=$L((0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((function(h){return(!o.current||o.current.box!==e.box||o.current.round!==n)&&(o.current={box:e.box,round:n,instance:new ResizeObserver((function(f){var v=f[0],b="border-box"===e.box?"borderBoxSize":"device-pixel-content-box"===e.box?"devicePixelContentBoxSize":"contentBoxSize",m=S3(v,b,"inlineSize"),g=S3(v,b,"blockSize"),y=m?n(m):void 0,w=g?n(g):void 0;if(p.current.width!==y||p.current.height!==w){var D={width:y,height:w};p.current.width=y,p.current.height=w,r.current?r.current(D):c.current||u(D)}}))}),o.current.instance.observe(h,{box:e.box}),function(){o.current&&o.current.instance.unobserve(h)}}),[e.box,n]),e.ref);return(0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)((function(){return{ref:d,width:l.width,height:l.height}}),[d,l.width,l.height])}xi(),a($L,"useResolvedElement"),a(S3,"extractSize"),a(Ll,"useResizeObserver");var WL=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div((({scale:e=1,elementHeight:t})=>({height:t||"auto",transformOrigin:"top left",transform:`scale(${1/e})`})));function A3({scale:e,children:t}){let r=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null),[n,o]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(0),i=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((({height:l})=>{l&&o(l/e)}),[e]);return(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{r.current&&o(r.current.getBoundingClientRect().height)}),[e]),Ll({ref:r,onResize:i}),react__WEBPACK_IMPORTED_MODULE_0__.createElement(WL,{scale:e,elementHeight:n},react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{ref:r,className:"innerZoomElementWrapper"},t))}a(A3,"ZoomElement");var $0=class $0 extends react__WEBPACK_IMPORTED_MODULE_0__.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{iFrameRef:r}=this.props;this.iframe=r.current}shouldComponentUpdate(r){let{scale:n,active:o}=this.props;return n!==r.scale&&this.setIframeInnerZoom(r.scale),o!==r.active&&this.iframe.setAttribute("data-is-storybook",r.active?"true":"false"),r.children.props.src!==this.props.children.props.src}setIframeInnerZoom(r){try{Object.assign(this.iframe.contentDocument.body.style,{width:100*r+"%",height:100*r+"%",transform:`scale(${1/r})`,transformOrigin:"top left"})}catch{this.setIframeZoom(r)}}setIframeZoom(r){Object.assign(this.iframe.style,{width:100*r+"%",height:100*r+"%",transform:`scale(${1/r})`,transformOrigin:"top left"})}render(){let{children:r}=this.props;return react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,r)}};a($0,"ZoomIFrame");var GL={Element:A3,IFrame:$0};ri();var{document:XL}=sn,YL=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.strong((({theme:e})=>({color:e.color.orange}))),KL=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.strong((({theme:e})=>({color:e.color.ancillary,textDecoration:"underline"}))),k3=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.em((({theme:e})=>({color:e.textMutedColor}))),ZL=/(Error): (.*)\n/,JL=/at (?:(.*) )?\(?(.+)\)?/,QL=/([^@]+)?(?:\/<)?@(.+)?/,eB=/([^@]+)?@(.+)?/,tB=a((({error:e})=>{if(!e)return react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,"This error has no stack or message");if(!e.stack)return react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,e.message||"This error has no stack or message");let t=e.stack.toString();t&&e.message&&!t.includes(e.message)&&(t=`Error: ${e.message}\n\n${t}`);let r=t.match(ZL);if(!r)return react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,t);let[,n,o]=r,i=t.split(/\n/).slice(1),[,...l]=i.map((u=>{let c=u.match(JL)||u.match(QL)||u.match(eB);return c?{name:(c[1]||"").replace("/<",""),location:c[2].replace(XL.location.origin,"")}:null})).filter(Boolean);return react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",null,n),": ",react__WEBPACK_IMPORTED_MODULE_0__.createElement(YL,null,o),react__WEBPACK_IMPORTED_MODULE_0__.createElement("br",null),l.map(((u,c)=>u?.name?react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment,{key:c}," ","at ",react__WEBPACK_IMPORTED_MODULE_0__.createElement(KL,null,u.name)," (",react__WEBPACK_IMPORTED_MODULE_0__.createElement(k3,null,u.location),")",react__WEBPACK_IMPORTED_MODULE_0__.createElement("br",null)):react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment,{key:c}," ","at ",react__WEBPACK_IMPORTED_MODULE_0__.createElement(k3,null,u?.location),react__WEBPACK_IMPORTED_MODULE_0__.createElement("br",null)))))}),"ErrorFormatter"),rB=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.label((({theme:e})=>({display:"flex",borderBottom:`1px solid ${e.appBorderColor}`,margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}}))),nB=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.span((({theme:e})=>({minWidth:100,fontWeight:e.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"}))),L3=a((({label:e,children:t,...r})=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(rB,{...r},e?react__WEBPACK_IMPORTED_MODULE_0__.createElement(nB,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",null,e)):null,t)),"Field");tt(),ni();var B3=react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect,M3=a((function(t){var r=react__WEBPACK_IMPORTED_MODULE_0__.useRef(t);return B3((function(){r.current=t})),r}),"useLatest"),_3=a((function(t,r){"function"!=typeof t?t.current=r:t(r)}),"updateRef"),P3=a((function(t,r){var n=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)();return(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((function(o){t.current=o,n.current&&_3(n.current,null),n.current=r,r&&_3(r,o)}),[r])}),"useComposedRef"),H3={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},z3=a((function(t){Object.keys(H3).forEach((function(r){t.style.setProperty(r,H3[r],"important")}))}),"forceHiddenStyles"),Fe=null,$3=a((function(t,r){var n=t.scrollHeight;return"border-box"===r.sizingStyle.boxSizing?n+r.borderSize:n-r.paddingSize}),"getHeight");function cB(e,t,r,n){void 0===r&&(r=1),void 0===n&&(n=1/0),Fe||((Fe=document.createElement("textarea")).setAttribute("tabindex","-1"),Fe.setAttribute("aria-hidden","true"),z3(Fe)),null===Fe.parentNode&&document.body.appendChild(Fe);var o=e.paddingSize,i=e.borderSize,l=e.sizingStyle,u=l.boxSizing;Object.keys(l).forEach((function(f){var v=f;Fe.style[v]=l[v]})),z3(Fe),Fe.value=t;var c=$3(Fe,e);Fe.value=t,c=$3(Fe,e),Fe.value="x";var p=Fe.scrollHeight-o,d=p*r;"border-box"===u&&(d=d+o+i),c=Math.max(d,c);var h=p*n;return"border-box"===u&&(h=h+o+i),[c=Math.min(h,c),p]}a(cB,"calculateNodeHeight");var O3=a((function(){}),"noop"),pB=a((function(t,r){return t.reduce((function(n,o){return n[o]=r[o],n}),{})}),"pick"),dB=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],fB=!!document.documentElement.currentStyle,mB=a((function(t){var r=window.getComputedStyle(t);if(null===r)return null;var n=pB(dB,r),o=n.boxSizing;return""===o?null:(fB&&"border-box"===o&&(n.width=parseFloat(n.width)+parseFloat(n.borderRightWidth)+parseFloat(n.borderLeftWidth)+parseFloat(n.paddingRight)+parseFloat(n.paddingLeft)+"px"),{sizingStyle:n,paddingSize:parseFloat(n.paddingBottom)+parseFloat(n.paddingTop),borderSize:parseFloat(n.borderBottomWidth)+parseFloat(n.borderTopWidth)})}),"getSizingData");function N3(e,t,r){var n=M3(r);react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect((function(){var o=a((function(l){return n.current(l)}),"handler");if(e)return e.addEventListener(t,o),function(){return e.removeEventListener(t,o)}}),[])}a(N3,"useListener");var gB=a((function(t){N3(window,"resize",t)}),"useWindowResizeListener"),vB=a((function(t){N3(document.fonts,"loadingdone",t)}),"useFontsLoadedListener"),wB=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],bB=a((function(t,r){var n=t.cacheMeasurements,o=t.maxRows,i=t.minRows,l=t.onChange,u=void 0===l?O3:l,c=t.onHeightChange,p=void 0===c?O3:c,d=un(t,wB),h=void 0!==d.value,f=react__WEBPACK_IMPORTED_MODULE_0__.useRef(null),v=P3(f,r),b=react__WEBPACK_IMPORTED_MODULE_0__.useRef(0),m=react__WEBPACK_IMPORTED_MODULE_0__.useRef(),g=a((function(){var D=f.current,x=n&&m.current?m.current:mB(D);if(x){m.current=x;var C=cB(x,D.value||D.placeholder||"x",i,o),E=C[0],S=C[1];b.current!==E&&(b.current=E,D.style.setProperty("height",E+"px","important"),p(E,{rowHeight:S}))}}),"resizeTextarea"),y=a((function(D){h||g(),u(D)}),"handleChange");return react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect(g),gB(g),vB(g),react__WEBPACK_IMPORTED_MODULE_0__.createElement("textarea",$({},d,{onChange:y,ref:v}))}),"TextareaAutosize"),j3=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(bB),yB={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},W0=a((({theme:e})=>({...yB,transition:"box-shadow 200ms ease-out, opacity 200ms ease-out",color:e.input.color||"inherit",background:e.input.background,boxShadow:`${e.input.border} 0 0 0 1px inset`,borderRadius:e.input.borderRadius,fontSize:e.typography.size.s2-1,lineHeight:"20px",padding:"6px 10px",boxSizing:"border-box",height:32,'&[type="file"]':{height:"auto"},"&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"&:-webkit-autofill":{WebkitBoxShadow:`0 0 0 3em ${e.color.lightest} inset`},"&::placeholder":{color:e.textMutedColor,opacity:1}})),"styles"),U0=a((({size:e})=>{switch(e){case"100%":return{width:"100%"};case"flex":return{flex:1};default:return{display:"inline"}}}),"sizes"),V3=a((({align:e})=>{switch(e){case"end":return{textAlign:"right"};case"center":return{textAlign:"center"};default:return{textAlign:"left"}}}),"alignment"),G0=a((({valid:e,theme:t})=>{switch(e){case"valid":return{boxShadow:`${t.color.positive} 0 0 0 1px inset !important`};case"error":return{boxShadow:`${t.color.negative} 0 0 0 1px inset !important`};case"warn":return{boxShadow:`${t.color.warning} 0 0 0 1px inset`};default:return{}}}),"validation"),q3=Object.assign((0,_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4)((0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(a((function({size:t,valid:r,align:n,...o},i){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("input",{...o,ref:i})}),"Input")))(W0,U0,V3,G0,{minHeight:32}),{displayName:"Input"}),W3=Object.assign((0,_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4)((0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(a((function({size:t,valid:r,align:n,...o},i){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("select",{...o,ref:i})}),"Select")))(W0,U0,G0,{height:32,userSelect:"none",paddingRight:20,appearance:"menulist"}),{displayName:"Select"}),U3=Object.assign((0,_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4)((0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(a((function({size:t,valid:r,align:n,...o},i){return react__WEBPACK_IMPORTED_MODULE_0__.createElement(j3,{...o,ref:i})}),"Textarea")))(W0,U0,V3,G0,(({height:e=400})=>({overflow:"visible",maxHeight:e}))),{displayName:"Textarea"}),xB=Object.assign(_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.form({boxSizing:"border-box",width:"100%"}),{Field:L3,Input:q3,Select:W3,Textarea:U3,Button:Bo}),wI=(0,react__WEBPACK_IMPORTED_MODULE_0__.lazy)((()=>Promise.resolve().then((()=>(Gl(),S1))).then((e=>({default:e.WithTooltip}))))),bI=a((e=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Suspense,{fallback:react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",null)},react__WEBPACK_IMPORTED_MODULE_0__.createElement(wI,{...e}))),"WithTooltip"),yI=(0,react__WEBPACK_IMPORTED_MODULE_0__.lazy)((()=>Promise.resolve().then((()=>(Gl(),S1))).then((e=>({default:e.WithTooltipPure}))))),DI=a((e=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Suspense,{fallback:react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",null)},react__WEBPACK_IMPORTED_MODULE_0__.createElement(yI,{...e}))),"WithTooltipPure"),TI=(_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div((({theme:e})=>({fontWeight:e.typography.weight.bold}))),_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.span(),_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div((({theme:e})=>({marginTop:8,textAlign:"center","> *":{margin:"0 8px",fontWeight:e.typography.weight.bold}}))),_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div((({theme:e})=>({color:e.color.defaultText,lineHeight:"18px"}))),_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div({padding:15,width:280,boxSizing:"border-box"}),_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div((({theme:e})=>({padding:"2px 6px",lineHeight:"16px",fontSize:10,fontWeight:e.typography.weight.bold,color:e.color.lightest,boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.3)",borderRadius:4,whiteSpace:"nowrap",pointerEvents:"none",zIndex:-1,background:"light"===e.base?"rgba(60, 60, 60, 0.9)":"rgba(0, 0, 0, 0.95)",margin:6})))),LI=a((({note:e,...t})=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(TI,{...t},e)),"TooltipNote"),l4=we(ea(),1),BI=(0,_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4)((({active:e,loading:t,disabled:r,...n})=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{...n})))((({theme:e})=>({color:e.color.defaultText,fontWeight:e.typography.weight.regular})),(({active:e,theme:t})=>e?{color:t.color.secondary,fontWeight:t.typography.weight.bold}:{}),(({loading:e,theme:t})=>e?{display:"inline-block",flex:"none",...t.animation.inlineGlow}:{}),(({disabled:e,theme:t})=>e?{color:be(.7,t.color.defaultText)}:{})),II=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.span({display:"flex","& svg":{height:12,width:12,margin:"3px 0",verticalAlign:"top"},"& path":{fill:"inherit"}}),MI=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.span({flex:1,textAlign:"left",display:"flex",flexDirection:"column"},(({isIndented:e})=>e?{marginLeft:24}:{})),_I=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.span((({theme:e})=>({fontSize:"11px",lineHeight:"14px"})),(({active:e,theme:t})=>e?{color:t.color.secondary}:{}),(({theme:e,disabled:t})=>t?{color:e.textMutedColor}:{})),PI=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.span((({active:e,theme:t})=>e?{color:t.color.secondary}:{}),(()=>({display:"flex",maxWidth:14}))),HI=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div((({theme:e})=>({width:"100%",border:"none",background:"none",fontSize:e.typography.size.s1,transition:"all 150ms ease-out",color:e.color.dark,textDecoration:"none",justifyContent:"space-between",lineHeight:"18px",padding:"7px 10px",display:"flex",alignItems:"center","& > * + *":{paddingLeft:10}})),(({theme:e,href:t,onClick:r})=>(t||r)&&{cursor:"pointer","&:hover":{background:e.background.hoverable},"&:hover svg":{opacity:1}}),(({disabled:e})=>e&&{cursor:"not-allowed"})),zI=(0,l4.default)(100)(((e,t,r)=>({...e&&{as:"button",onClick:e},...t&&{as:"a",href:t,...r&&{as:r,to:t}}}))),R1=a((({loading:e=!1,title:t=react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",null,"Loading state"),center:r=null,right:n=null,active:o=!1,disabled:i=!1,isIndented:l,href:u,onClick:c,icon:p,LinkWrapper:d,...h})=>{let f={active:o,disabled:i},v=zI(c,u,d);return react__WEBPACK_IMPORTED_MODULE_0__.createElement(HI,{...h,...f,...v},react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,p&&react__WEBPACK_IMPORTED_MODULE_0__.createElement(PI,{...f},p),t||r?react__WEBPACK_IMPORTED_MODULE_0__.createElement(MI,{isIndented:!(p||!l)},t&&react__WEBPACK_IMPORTED_MODULE_0__.createElement(BI,{...f,loading:e},t),r&&react__WEBPACK_IMPORTED_MODULE_0__.createElement(_I,{...f},r)):null,n&&react__WEBPACK_IMPORTED_MODULE_0__.createElement(II,{...f},n)))}),"ListItem"),jI=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div({minWidth:180,overflow:"hidden",overflowY:"auto",maxHeight:496},(({theme:e})=>({borderRadius:e.appBorderRadius}))),VI=a((({id:e,onClick:t,...r})=>{let{active:n,disabled:o,title:i,href:l}=r,u=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((c=>t?.(c,{id:e,active:n,disabled:o,title:i,href:l})),[t,e,n,o,i,l]);return react__WEBPACK_IMPORTED_MODULE_0__.createElement(R1,{id:`list-item-${e}`,...r,...t&&{onClick:u}})}),"Item"),F1=a((({links:e,LinkWrapper:t,...r})=>{let n=e.some((o=>o.icon));return react__WEBPACK_IMPORTED_MODULE_0__.createElement(jI,{...r},e.map((o=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(VI,{key:o.id,isIndented:n,LinkWrapper:t,...o}))))}),"TooltipLinkList");xi();var k1=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div({display:"flex",whiteSpace:"nowrap",flexBasis:"auto",marginLeft:3,marginRight:3},(({scrollable:e})=>e?{flexShrink:0}:{}),(({left:e})=>e?{"& > *":{marginLeft:4}}:{}),(({right:e})=>e?{marginLeft:30,"& > *":{marginRight:4}}:{}));k1.displayName="Side";var WI=a((({children:e,className:t,scrollable:r})=>r?react__WEBPACK_IMPORTED_MODULE_0__.createElement(bn,{vertical:!1,className:t},e):react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:t},e)),"UnstyledBar"),L1=(0,_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4)(WI)((({theme:e,scrollable:t=!0})=>({color:e.barTextColor,width:"100%",height:40,flexShrink:0,overflow:t?"auto":"hidden",overflowY:"hidden"})),(({theme:e,border:t=!1})=>t?{boxShadow:`${e.appBorderColor} 0 -1px 0 0 inset`,background:e.barBg}:{}));L1.displayName="Bar";var UI=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div((({bgColor:e})=>({display:"flex",justifyContent:"space-between",position:"relative",flexWrap:"nowrap",flexShrink:0,height:40,backgroundColor:e||""}))),Xl=a((({children:e,backgroundColor:t,className:r,...n})=>{let[o,i]=react__WEBPACK_IMPORTED_MODULE_0__.Children.toArray(e);return react__WEBPACK_IMPORTED_MODULE_0__.createElement(L1,{className:`sb-bar ${r}`,...n},react__WEBPACK_IMPORTED_MODULE_0__.createElement(UI,{bgColor:t},react__WEBPACK_IMPORTED_MODULE_0__.createElement(k1,{scrollable:n.scrollable,left:!0},o),i?react__WEBPACK_IMPORTED_MODULE_0__.createElement(k1,{right:!0},i):null))}),"FlexBar");Xl.displayName="FlexBar";var YI=a((e=>"string"==typeof e.props.href),"isLink"),KI=a((e=>"string"!=typeof e.props.href),"isButton");function ZI({children:e,...t},r){let n={props:t,ref:r};if(YI(n))return react__WEBPACK_IMPORTED_MODULE_0__.createElement("a",{ref:n.ref,...n.props},e);if(KI(n))return react__WEBPACK_IMPORTED_MODULE_0__.createElement("button",{ref:n.ref,type:"button",...n.props},e);throw new Error("invalid props")}a(ZI,"ForwardRefFunction");var s4=(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(ZI);s4.displayName="ButtonOrLink";var nn=(0,_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4)(s4,{shouldForwardProp:_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.EG})({whiteSpace:"normal",display:"inline-flex",overflow:"hidden",verticalAlign:"top",justifyContent:"center",alignItems:"center",textAlign:"center",textDecoration:"none","&:empty":{display:"none"},"&[hidden]":{display:"none"}},(({theme:e})=>({padding:"0 15px",transition:"color 0.2s linear, border-bottom-color 0.2s linear",height:40,lineHeight:"12px",cursor:"pointer",background:"transparent",border:"0 solid transparent",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",fontWeight:"bold",fontSize:13,"&:focus":{outline:"0 none",borderBottomColor:e.barSelectedColor}})),(({active:e,textColor:t,theme:r})=>e?{color:t||r.barSelectedColor,borderBottomColor:r.barSelectedColor}:{color:t||r.barTextColor,borderBottomColor:"transparent","&:hover":{color:r.barHoverColor}}));nn.displayName="TabButton";_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div((({theme:e})=>({width:14,height:14,backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`}))),_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div((()=>({marginTop:6,padding:7,height:28})));var tM=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div((({theme:e})=>({height:"100%",display:"flex",padding:30,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:e.background.content}))),rM=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div({display:"flex",flexDirection:"column",gap:4,maxWidth:415}),nM=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div((({theme:e})=>({fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textColor}))),oM=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div((({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textMutedColor}))),I1=a((({title:e,description:t,footer:r})=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(tM,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement(rM,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement(nM,null,e),t&&react__WEBPACK_IMPORTED_MODULE_0__.createElement(oM,null,t)),r)),"EmptyTabContent"),M1=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div((({active:e})=>e?{display:"block"}:{display:"none"})),u4=a((e=>react__WEBPACK_IMPORTED_MODULE_0__.Children.toArray(e).map((({props:{title:t,id:r,color:n,children:o}})=>{let i=Array.isArray(o)?o[0]:o;return{title:t,id:r,...n?{color:n}:{},render:"function"==typeof i?i:({active:u})=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(M1,{active:u,role:"tabpanel"},i)}}))),"childrenToList");Gl();var cM=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.span((({theme:e,isActive:t})=>({display:"inline-block",width:0,height:0,marginLeft:8,color:t?e.color.secondary:e.color.mediumdark,borderRight:"3px solid transparent",borderLeft:"3px solid transparent",borderTop:"3px solid",transition:"transform .1s ease-out"}))),pM=(0,_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4)(nn)((({active:e,theme:t,preActive:r})=>`\n color: ${r||e?t.barSelectedColor:t.barTextColor};\n .addon-collapsible-icon {\n color: ${r||e?t.barSelectedColor:t.barTextColor};\n }\n &:hover {\n color: ${t.barHoverColor};\n .addon-collapsible-icon {\n color: ${t.barHoverColor};\n }\n }\n `));function d4(e){let t=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(),r=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(),n=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(new Map),{width:o=1}=Ll({ref:t}),[i,l]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(e),[u,c]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)([]),p=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(e),d=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((({menuName:f,actions:v})=>{let b=u.some((({active:y})=>y)),[m,g]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1);return react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement(E1,{interactive:!0,visible:m,onVisibleChange:g,placement:"bottom",delayHide:100,tooltip:react__WEBPACK_IMPORTED_MODULE_0__.createElement(F1,{links:u.map((({title:y,id:w,color:D,active:x})=>({id:w,title:y,color:D,active:x,onClick:a((C=>{C.preventDefault(),v.onSelect(w)}),"onClick")})))})},react__WEBPACK_IMPORTED_MODULE_0__.createElement(pM,{ref:r,active:b,preActive:m,style:{visibility:u.length?"visible":"hidden"},"aria-hidden":!u.length,className:"tabbutton",type:"button",role:"tab"},f,react__WEBPACK_IMPORTED_MODULE_0__.createElement(cM,{className:"addon-collapsible-icon",isActive:b||m}))),u.map((({title:y,id:w,color:D},x)=>{let C=`index-${x}`;return react__WEBPACK_IMPORTED_MODULE_0__.createElement(nn,{id:`tabbutton-${(0,_storybook_csf__WEBPACK_IMPORTED_MODULE_5__.aj)(w)??C}`,style:{visibility:"hidden"},"aria-hidden":!0,tabIndex:-1,ref:E=>{n.current.set(w,E)},className:"tabbutton",type:"button",key:w,textColor:D,role:"tab"},y)})))}),[u]),h=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((()=>{if(!t.current||!r.current)return;let{x:f,width:v}=t.current.getBoundingClientRect(),{width:b}=r.current.getBoundingClientRect(),m=u.length?f+v-b:f+v,g=[],y=0,w=e.filter((D=>{let{id:x}=D,C=n.current.get(x),{width:E=0}=C?.getBoundingClientRect()||{},S=f+y+E>m;return(!S||!C)&&g.push(D),y+=E,S}));(g.length!==i.length||p.current!==e)&&(l(g),c(w),p.current=e)}),[u.length,e,i]);return(0,react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect)(h,[h,o]),{tabRefs:n,addonsRef:r,tabBarRef:t,visibleList:i,invisibleList:u,AddonTab:d}}a(d4,"useList");var vM=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div((({theme:e,bordered:t})=>t?{backgroundClip:"padding-box",border:`1px solid ${e.appBorderColor}`,borderRadius:e.appBorderRadius,overflow:"hidden",boxSizing:"border-box"}:{}),(({absolute:e})=>e?{width:"100%",height:"100%",boxSizing:"border-box",display:"flex",flexDirection:"column"}:{display:"block"})),z1=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div({overflow:"hidden","&:first-of-type":{marginLeft:-3},whiteSpace:"nowrap",flexGrow:1});z1.displayName="TabBar";var wM=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div({display:"block",position:"relative"},(({theme:e})=>({fontSize:e.typography.size.s2-1,background:e.background.content})),(({bordered:e,theme:t})=>e?{borderRadius:`0 0 ${t.appBorderRadius-1}px ${t.appBorderRadius-1}px`}:{}),(({absolute:e,bordered:t})=>e?{height:`calc(100% - ${t?42:40}px)`,position:"absolute",left:0+(t?1:0),right:0+(t?1:0),bottom:0+(t?1:0),top:40+(t?1:0),overflow:"auto","& > *:first-child/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */":{position:"absolute",left:0+(t?1:0),right:0+(t?1:0),bottom:0+(t?1:0),top:0+(t?1:0),height:`calc(100% - ${t?2:0}px)`,overflow:"auto"}}:{})),$1=(0,react__WEBPACK_IMPORTED_MODULE_0__.memo)((({children:e,selected:t=null,actions:r,absolute:n=!1,bordered:o=!1,tools:i=null,backgroundColor:l,id:u=null,menuName:c="Tabs",emptyState:p,showToolsWhenEmpty:d})=>{let h=(0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)((()=>u4(e).map(((y,w)=>({...y,active:t?y.id===t:0===w})))),[e,t]),{visibleList:f,tabBarRef:v,tabRefs:b,AddonTab:m}=d4(h),g=p??react__WEBPACK_IMPORTED_MODULE_0__.createElement(I1,{title:"Nothing found"});return d||0!==h.length?react__WEBPACK_IMPORTED_MODULE_0__.createElement(vM,{absolute:n,bordered:o,id:u},react__WEBPACK_IMPORTED_MODULE_0__.createElement(Xl,{scrollable:!1,border:!0,backgroundColor:l},react__WEBPACK_IMPORTED_MODULE_0__.createElement(z1,{style:{whiteSpace:"normal"},ref:v,role:"tablist"},f.map((({title:y,id:w,active:D,color:x},C)=>{let E=`index-${C}`;return react__WEBPACK_IMPORTED_MODULE_0__.createElement(nn,{id:`tabbutton-${(0,_storybook_csf__WEBPACK_IMPORTED_MODULE_5__.aj)(w)??E}`,ref:S=>{b.current.set(w,S)},className:"tabbutton "+(D?"tabbutton-active":""),type:"button",key:w,active:D,textColor:x,onClick:S=>{S.preventDefault(),r.onSelect(w)},role:"tab"},"function"==typeof y?react__WEBPACK_IMPORTED_MODULE_0__.createElement("title",null):y)})),react__WEBPACK_IMPORTED_MODULE_0__.createElement(m,{menuName:c,actions:r})),i),react__WEBPACK_IMPORTED_MODULE_0__.createElement(wM,{id:"panel-tab-content",bordered:o,absolute:n},h.length?h.map((({id:y,active:w,render:D})=>react__WEBPACK_IMPORTED_MODULE_0__.createElement(D,{key:y,active:w},null))):g)):g}));$1.displayName="Tabs";var Ql=class Ql extends react__WEBPACK_IMPORTED_MODULE_0__.Component{constructor(r){super(r),this.handlers={onSelect:a((r=>this.setState({selected:r})),"onSelect")},this.state={selected:r.initial}}render(){let{bordered:r=!1,absolute:n=!1,children:o,backgroundColor:i,menuName:l}=this.props,{selected:u}=this.state;return react__WEBPACK_IMPORTED_MODULE_0__.createElement($1,{bordered:r,absolute:n,selected:u,backgroundColor:i,menuName:l,actions:this.handlers},o)}};a(Ql,"TabsState"),Ql.defaultProps={children:[],initial:null,absolute:!1,bordered:!1,backgroundColor:"",menuName:void 0};var P1=Ql,O1=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.span((({theme:e})=>({width:1,height:20,background:e.appBorderColor,marginLeft:2,marginRight:2})),(({force:e})=>e?{}:{"& + &":{display:"none"}}));O1.displayName="Separator";var MM=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.svg` + display: inline-block; + shape-rendering: inherit; + vertical-align: middle; + fill: currentColor; + path { + fill: currentColor; + } +`,es=((0,react__WEBPACK_IMPORTED_MODULE_0__.memo)(a((function({icons:t=Object.keys(es)}){return react__WEBPACK_IMPORTED_MODULE_0__.createElement(MM,{viewBox:"0 0 14 14",style:{position:"absolute",width:0,height:0},"data-chromatic":"ignore"},t.map((r=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("symbol",{id:`icon--${r}`,key:r},es[r]))))}),"Symbols")),{user:"UserIcon",useralt:"UserAltIcon",useradd:"UserAddIcon",users:"UsersIcon",profile:"ProfileIcon",facehappy:"FaceHappyIcon",faceneutral:"FaceNeutralIcon",facesad:"FaceSadIcon",accessibility:"AccessibilityIcon",accessibilityalt:"AccessibilityAltIcon",arrowup:"ChevronUpIcon",arrowdown:"ChevronDownIcon",arrowleft:"ChevronLeftIcon",arrowright:"ChevronRightIcon",arrowupalt:"ArrowUpIcon",arrowdownalt:"ArrowDownIcon",arrowleftalt:"ArrowLeftIcon",arrowrightalt:"ArrowRightIcon",expandalt:"ExpandAltIcon",collapse:"CollapseIcon",expand:"ExpandIcon",unfold:"UnfoldIcon",transfer:"TransferIcon",redirect:"RedirectIcon",undo:"UndoIcon",reply:"ReplyIcon",sync:"SyncIcon",upload:"UploadIcon",download:"DownloadIcon",back:"BackIcon",proceed:"ProceedIcon",refresh:"RefreshIcon",globe:"GlobeIcon",compass:"CompassIcon",location:"LocationIcon",pin:"PinIcon",time:"TimeIcon",dashboard:"DashboardIcon",timer:"TimerIcon",home:"HomeIcon",admin:"AdminIcon",info:"InfoIcon",question:"QuestionIcon",support:"SupportIcon",alert:"AlertIcon",email:"EmailIcon",phone:"PhoneIcon",link:"LinkIcon",unlink:"LinkBrokenIcon",bell:"BellIcon",rss:"RSSIcon",sharealt:"ShareAltIcon",share:"ShareIcon",circle:"CircleIcon",circlehollow:"CircleHollowIcon",bookmarkhollow:"BookmarkHollowIcon",bookmark:"BookmarkIcon",hearthollow:"HeartHollowIcon",heart:"HeartIcon",starhollow:"StarHollowIcon",star:"StarIcon",certificate:"CertificateIcon",verified:"VerifiedIcon",thumbsup:"ThumbsUpIcon",shield:"ShieldIcon",basket:"BasketIcon",beaker:"BeakerIcon",hourglass:"HourglassIcon",flag:"FlagIcon",cloudhollow:"CloudHollowIcon",edit:"EditIcon",cog:"CogIcon",nut:"NutIcon",wrench:"WrenchIcon",ellipsis:"EllipsisIcon",check:"CheckIcon",form:"FormIcon",batchdeny:"BatchDenyIcon",batchaccept:"BatchAcceptIcon",controls:"ControlsIcon",plus:"PlusIcon",closeAlt:"CloseAltIcon",cross:"CrossIcon",trash:"TrashIcon",pinalt:"PinAltIcon",unpin:"UnpinIcon",add:"AddIcon",subtract:"SubtractIcon",close:"CloseIcon",delete:"DeleteIcon",passed:"PassedIcon",changed:"ChangedIcon",failed:"FailedIcon",clear:"ClearIcon",comment:"CommentIcon",commentadd:"CommentAddIcon",requestchange:"RequestChangeIcon",comments:"CommentsIcon",lock:"LockIcon",unlock:"UnlockIcon",key:"KeyIcon",outbox:"OutboxIcon",credit:"CreditIcon",button:"ButtonIcon",type:"TypeIcon",pointerdefault:"PointerDefaultIcon",pointerhand:"PointerHandIcon",browser:"BrowserIcon",tablet:"TabletIcon",mobile:"MobileIcon",watch:"WatchIcon",sidebar:"SidebarIcon",sidebaralt:"SidebarAltIcon",sidebaralttoggle:"SidebarAltToggleIcon",sidebartoggle:"SidebarToggleIcon",bottombar:"BottomBarIcon",bottombartoggle:"BottomBarToggleIcon",cpu:"CPUIcon",database:"DatabaseIcon",memory:"MemoryIcon",structure:"StructureIcon",box:"BoxIcon",power:"PowerIcon",photo:"PhotoIcon",component:"ComponentIcon",grid:"GridIcon",outline:"OutlineIcon",photodrag:"PhotoDragIcon",search:"SearchIcon",zoom:"ZoomIcon",zoomout:"ZoomOutIcon",zoomreset:"ZoomResetIcon",eye:"EyeIcon",eyeclose:"EyeCloseIcon",lightning:"LightningIcon",lightningoff:"LightningOffIcon",contrast:"ContrastIcon",switchalt:"SwitchAltIcon",mirror:"MirrorIcon",grow:"GrowIcon",paintbrush:"PaintBrushIcon",ruler:"RulerIcon",stop:"StopIcon",camera:"CameraIcon",video:"VideoIcon",speaker:"SpeakerIcon",play:"PlayIcon",playback:"PlayBackIcon",playnext:"PlayNextIcon",rewind:"RewindIcon",fastforward:"FastForwardIcon",stopalt:"StopAltIcon",sidebyside:"SideBySideIcon",stacked:"StackedIcon",sun:"SunIcon",moon:"MoonIcon",book:"BookIcon",document:"DocumentIcon",copy:"CopyIcon",category:"CategoryIcon",folder:"FolderIcon",print:"PrintIcon",graphline:"GraphLineIcon",calendar:"CalendarIcon",graphbar:"GraphBarIcon",menu:"MenuIcon",menualt:"MenuIcon",filter:"FilterIcon",docchart:"DocChartIcon",doclist:"DocListIcon",markup:"MarkupIcon",bold:"BoldIcon",paperclip:"PaperClipIcon",listordered:"ListOrderedIcon",listunordered:"ListUnorderedIcon",paragraph:"ParagraphIcon",markdown:"MarkdownIcon",repository:"RepoIcon",commit:"CommitIcon",branch:"BranchIcon",pullrequest:"PullRequestIcon",merge:"MergeIcon",apple:"AppleIcon",linux:"LinuxIcon",ubuntu:"UbuntuIcon",windows:"WindowsIcon",storybook:"StorybookIcon",azuredevops:"AzureDevOpsIcon",bitbucket:"BitbucketIcon",chrome:"ChromeIcon",chromatic:"ChromaticIcon",componentdriven:"ComponentDrivenIcon",discord:"DiscordIcon",facebook:"FacebookIcon",figma:"FigmaIcon",gdrive:"GDriveIcon",github:"GithubIcon",gitlab:"GitlabIcon",google:"GoogleIcon",graphql:"GraphqlIcon",medium:"MediumIcon",redux:"ReduxIcon",twitter:"TwitterIcon",youtube:"YoutubeIcon",vscode:"VSCodeIcon"}),h4=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.i7` + from { + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } +`,NM=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div((({size:e=32})=>({borderRadius:"50%",cursor:"progress",display:"inline-block",overflow:"hidden",position:"absolute",transition:"all 200ms ease-out",verticalAlign:"top",top:"50%",left:"50%",marginTop:-e/2,marginLeft:-e/2,height:e,width:e,zIndex:4,borderWidth:2,borderStyle:"solid",borderColor:"rgba(97, 97, 97, 0.29)",borderTopColor:"rgb(100,100,100)",animation:`${h4} 0.7s linear infinite`,mixBlendMode:"difference"}))),m4=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div({position:"absolute",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"}),jM=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div((({theme:e})=>({position:"relative",width:"80%",marginBottom:"0.75rem",maxWidth:300,height:5,borderRadius:5,background:be(.8,e.color.secondary),overflow:"hidden",cursor:"progress"}))),VM=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div((({theme:e})=>({position:"absolute",top:0,left:0,height:"100%",background:e.color.secondary}))),g4=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.div((({theme:e})=>({minHeight:"2em",fontSize:`${e.typography.size.s1}px`,color:e.barTextColor}))),qM=(0,_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4)(_u)((({theme:e})=>({width:20,height:20,marginBottom:"0.5rem",color:e.textMutedColor}))),WM=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.i7` + from { content: "..." } + 33% { content: "." } + 66% { content: ".." } + to { content: "..." } +`,UM=_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.span({"&::after":{content:"'...'",animation:`${WM} 1s linear infinite`,animationDelay:"1s",display:"inline-block",width:"1em",height:"auto"}}),GM=a((({progress:e,error:t,size:r,...n})=>{if(t)return react__WEBPACK_IMPORTED_MODULE_0__.createElement(m4,{"aria-label":t.toString(),"aria-live":"polite",role:"status",...n},react__WEBPACK_IMPORTED_MODULE_0__.createElement(qM,null),react__WEBPACK_IMPORTED_MODULE_0__.createElement(g4,null,t.message));if(e){let{value:o,modules:i}=e,{message:l}=e;return i&&(l+=` ${i.complete} / ${i.total} modules`),react__WEBPACK_IMPORTED_MODULE_0__.createElement(m4,{"aria-label":"Content is loading...","aria-live":"polite","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":100*o,"aria-valuetext":l,role:"progressbar",...n},react__WEBPACK_IMPORTED_MODULE_0__.createElement(jM,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement(VM,{style:{width:100*o+"%"}})),react__WEBPACK_IMPORTED_MODULE_0__.createElement(g4,null,l,o<1&&react__WEBPACK_IMPORTED_MODULE_0__.createElement(UM,{key:l})))}return react__WEBPACK_IMPORTED_MODULE_0__.createElement(NM,{"aria-label":"Content is loading...","aria-live":"polite",role:"status",size:r,...n})}),"Loader");function XM(e){let t={},r=e.split("&");for(let n=0;n{let[n,o]=e.split("?"),i=o?{...XM(o),...r,id:t}:{...r,id:t};return`${n}?${Object.entries(i).map((l=>`${l[0]}=${l[1]}`)).join("&")}`}),"getStoryHref"),MQ=(_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.I4.pre` + line-height: 18px; + padding: 11px 1rem; + white-space: pre-wrap; + background: rgba(0, 0, 0, 0.05); + color: ${_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.yW.darkest}; + border-radius: 3px; + margin: 1rem 0; + width: 100%; + display: block; + overflow: hidden; + font-family: ${_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.Il.fonts.mono}; + font-size: ${_storybook_core_theming__WEBPACK_IMPORTED_MODULE_1__.Il.size.s2-1}px; +`,Mu),n_={};Object.keys(Mu).forEach((e=>{n_[e]=(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(((t,r)=>(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(e,{...t,ref:r})))}))},"./node_modules/@storybook/core/dist/theming/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{C6:()=>zr,D8:()=>pc,DP:()=>Mt,EG:()=>sr,I4:()=>Tr,Il:()=>H,NP:()=>jt,Zj:()=>Ne,a:()=>yo,i7:()=>be,v_:()=>gc,yW:()=>g});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_storybook_core_client_logger__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("storybook/internal/client-logger"),Bn=Object.create,or=Object.defineProperty,$n=Object.getOwnPropertyDescriptor,Hn=Object.getOwnPropertyNames,Vn=Object.getPrototypeOf,Un=Object.prototype.hasOwnProperty,a=(e,r)=>or(e,"name",{value:r,configurable:!0}),Ee=(()=>__webpack_require__("./node_modules/@storybook/core/dist/theming sync recursive"))(),Le=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),ir=(e,r,t)=>(t=null!=e?Bn(Vn(e)):{},((e,r,t,n)=>{if(r&&"object"==typeof r||"function"==typeof r)for(let o of Hn(r))!Un.call(e,o)&&o!==t&&or(e,o,{get:()=>r[o],enumerable:!(n=$n(r,o))||n.enumerable});return e})(!r&&e&&e.__esModule?t:or(t,"default",{value:e,enumerable:!0}),e)),ct=Le((R=>{!function(){var e="function"==typeof Symbol&&Symbol.for,r=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,l=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,E=e?Symbol.for("react.scope"):60119;function A(b){return"string"==typeof b||"function"==typeof b||b===n||b===d||b===i||b===o||b===l||b===p||"object"==typeof b&&null!==b&&(b.$$typeof===h||b.$$typeof===v||b.$$typeof===s||b.$$typeof===u||b.$$typeof===f||b.$$typeof===y||b.$$typeof===x||b.$$typeof===E||b.$$typeof===m)}function T(b){if("object"==typeof b&&null!==b){var ar=b.$$typeof;switch(ar){case r:var Pe=b.type;switch(Pe){case c:case d:case n:case i:case o:case l:return Pe;default:var Br=Pe&&Pe.$$typeof;switch(Br){case u:case f:case h:case v:case s:return Br;default:return ar}}case t:return ar}}}a(A,"isValidElementType"),a(T,"typeOf");var C=c,N=d,S=u,xe=s,W=r,G=f,er=n,rr=h,tr=v,nr=t,Tn=i,Cn=o,Rn=l,jr=!1;function An(b){return jr||(jr=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),Dr(b)||T(b)===c}function Dr(b){return T(b)===d}function _n(b){return T(b)===u}function Fn(b){return T(b)===s}function Nn(b){return"object"==typeof b&&null!==b&&b.$$typeof===r}function In(b){return T(b)===f}function kn(b){return T(b)===n}function Pn(b){return T(b)===h}function Ln(b){return T(b)===v}function zn(b){return T(b)===t}function Mn(b){return T(b)===i}function jn(b){return T(b)===o}function Dn(b){return T(b)===l}a(An,"isAsyncMode"),a(Dr,"isConcurrentMode"),a(_n,"isContextConsumer"),a(Fn,"isContextProvider"),a(Nn,"isElement"),a(In,"isForwardRef"),a(kn,"isFragment"),a(Pn,"isLazy"),a(Ln,"isMemo"),a(zn,"isPortal"),a(Mn,"isProfiler"),a(jn,"isStrictMode"),a(Dn,"isSuspense"),R.AsyncMode=C,R.ConcurrentMode=N,R.ContextConsumer=S,R.ContextProvider=xe,R.Element=W,R.ForwardRef=G,R.Fragment=er,R.Lazy=rr,R.Memo=tr,R.Portal=nr,R.Profiler=Tn,R.StrictMode=Cn,R.Suspense=Rn,R.isAsyncMode=An,R.isConcurrentMode=Dr,R.isContextConsumer=_n,R.isContextProvider=Fn,R.isElement=Nn,R.isForwardRef=In,R.isFragment=kn,R.isLazy=Pn,R.isMemo=Ln,R.isPortal=zn,R.isProfiler=Mn,R.isStrictMode=jn,R.isSuspense=Dn,R.isValidElementType=A,R.typeOf=T}()})),lt=Le(((xi,ft)=>{ft.exports=ct()})),mr=Le(((Ei,bt)=>{var dr=lt(),ua={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},ca={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},ht={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},pr={};function dt(e){return dr.isMemo(e)?ht:pr[e.$$typeof]||ua}pr[dr.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},pr[dr.Memo]=ht,a(dt,"getStatics");var la=Object.defineProperty,da=Object.getOwnPropertyNames,pt=Object.getOwnPropertySymbols,pa=Object.getOwnPropertyDescriptor,ma=Object.getPrototypeOf,mt=Object.prototype;function gt(e,r,t){if("string"!=typeof r){if(mt){var n=ma(r);n&&n!==mt&>(e,n,t)}var o=da(r);pt&&(o=o.concat(pt(r)));for(var i=dt(e),s=dt(r),u=0;u{!function(e){if("object"==typeof fn&&typeof Ir<"u")Ir.exports=e();else if("function"==typeof define&&__webpack_require__.amdO)define([],e);else{(typeof window<"u"?window:typeof __webpack_require__.g<"u"?__webpack_require__.g:typeof self<"u"?self:this).memoizerific=e()}}((function(){return a((function n(o,i,s){function u(f,l){if(!i[f]){if(!o[f]){var p="function"==typeof Ee&&Ee;if(!l&&p)return p(f,!0);if(c)return c(f,!0);var v=new Error("Cannot find module '"+f+"'");throw v.code="MODULE_NOT_FOUND",v}var h=i[f]={exports:{}};o[f][0].call(h.exports,(function(m){return u(o[f][1][m]||m)}),h,h.exports,n,o,i,s)}return i[f].exports}a(u,"s");for(var c="function"==typeof Ee&&Ee,d=0;d=0?(this.lastItem=this.list[c],this.list[c].val):void 0},s.prototype.set=function(u,c){var d;return this.lastItem&&this.isEqual(this.lastItem.key,u)?(this.lastItem.val=c,this):(d=this.indexOf(u))>=0?(this.lastItem=this.list[d],this.list[d].val=c,this):(this.lastItem={key:u,val:c},this.list.push(this.lastItem),this.size++,this)},s.prototype.delete=function(u){var c;if(this.lastItem&&this.isEqual(this.lastItem.key,u)&&(this.lastItem=void 0),(c=this.indexOf(u))>=0)return this.size--,this.list.splice(c,1)[0]},s.prototype.has=function(u){var c;return!(!this.lastItem||!this.isEqual(this.lastItem.key,u))||(c=this.indexOf(u))>=0&&(this.lastItem=this.list[c],!0)},s.prototype.forEach=function(u,c){var d;for(d=0;d=0&&(!(v=(p=f[h]).cacheItem.get(p.arg))||!v.size);h--)p.cacheItem.delete(p.arg)}function d(f,l){return f===l||f!=f&&l!=l}o.exports=function(f){var l=new s(!1),p=[];return function(v){var h=a((function(){var y,x,C,m=l,E=arguments.length-1,A=Array(E+1),T=!0;if((h.numArgs||0===h.numArgs)&&h.numArgs!==E+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(C=0;C0&&(A[E]={cacheItem:m,arg:arguments[E]},T?u(p,A):p.push(A),p.length>f&&c(p.shift())),h.wasMemoized=T,h.numArgs=E+1,x}),"memoizerific");return h.limit=f,h.wasMemoized=!1,h.cache=l,h.lru=p,h}},a(u,"moveToMostRecentLru"),a(c,"removeCachedResult"),a(d,"isEqual")},{"map-or-similar":1}]},{},[3])(3)}))}));function j(){return j=Object.assign?Object.assign.bind():function(e){for(var r=1;r0?_(le,--L):0,ce--,10===F&&(ce=1,De--),F}function z(){return F=L2||fe(F)>3?"":" "}function Kr(e,r){for(;--r&&z()&&!(F<48||F>102||F>57&&F<65||F>70&&F<97););return pe(e,Te()+(r<6&&32==D()&&32==z()))}function fr(e){for(;z();)switch(F){case e:return L;case 34:case 39:34!==e&&39!==e&&fr(F);break;case 40:41===e&&fr(e);break;case 92:z()}return L}function Xr(e,r){for(;z()&&e+F!==57&&(e+F!==84||47!==D()););return"/*"+pe(r,L-1)+"*"+X(47===e?e:z())}function Qr(e){for(;!fe(D());)z();return pe(e,L)}function tt(e){return $e(He("",null,null,null,[""],e=Be(e),0,[0],e))}function He(e,r,t,n,o,i,s,u,c){for(var d=0,f=0,l=s,p=0,v=0,h=0,m=1,y=1,x=1,E=0,A="",T=o,C=i,N=n,S=A;y;)switch(h=E,E=z()){case 40:if(108!=h&&58==_(S,l-1)){-1!=Se(S+=w(me(E),"&","&\f"),"&\f")&&(x=-1);break}case 34:case 39:case 91:S+=me(E);break;case 9:case 10:case 13:case 32:S+=Zr(h);break;case 92:S+=Kr(Te()-1,7);continue;case 47:switch(D()){case 42:case 47:ue(Jn(Xr(z(),Te()),r,t),c);break;default:S+="/"}break;case 123*m:u[d++]=P(S)*x;case 125*m:case 59:case 0:switch(E){case 0:case 125:y=0;case 59+f:-1==x&&(S=w(S,/\f/g,"")),v>0&&P(S)-l&&ue(v>32?rt(S+";",n,t,l-1):rt(w(S," ","")+";",n,t,l-2),c);break;case 59:S+=";";default:if(ue(N=et(S,r,t,d,f,o,u,A,T=[],C=[],l),i),123===E)if(0===f)He(S,r,N,N,T,i,l,u,C);else switch(99===p&&110===_(S,3)?100:p){case 100:case 108:case 109:case 115:He(e,N,N,n&&ue(et(e,N,N,0,0,o,u,A,o,T=[],l),C),o,C,l,u,n?T:C);break;default:He(S,N,N,N,[""],C,0,u,C)}}d=f=v=0,m=x=1,A=S="",l=s;break;case 58:l=1+P(S),v=h;default:if(m<1)if(123==E)--m;else if(125==E&&0==m++&&125==Jr())continue;switch(S+=X(E),E*m){case 38:x=f>0?1:(S+="\f",-1);break;case 44:u[d++]=(P(S)-1)*x,x=1;break;case 64:45===D()&&(S+=me(z())),p=D(),f=l=P(A=S+=Qr(Te())),E++;break;case 45:45===h&&2==P(S)&&(m=0)}}return i}function et(e,r,t,n,o,i,s,u,c,d,f){for(var l=o-1,p=0===o?i:[""],v=se(p),h=0,m=0,y=0;h0?p[x]+" "+E:w(E,/&\f/g,p[x])))&&(c[y++]=A);return Oe(e,r,t,0===o?oe:u,c,d,f)}function Jn(e,r,t){return Oe(e,r,t,ae,X(qr()),q(e,2,-2),0)}function rt(e,r,t,n){return Oe(e,r,t,ie,q(e,0,n),q(e,n+1,-1),n)}function Q(e,r){for(var t="",n=se(e),o=0;o-1}),"isIgnoringComment"),na=a((function(r){return function(t,n,o){if("rule"===t.type&&!r.compat){var i=t.value.match(/(:first|:nth|:nth-last)-child/g);if(i){for(var u=!!t.parent?t.parent.children:o,c=u.length-1;c>=0;c--){var d=u[c];if(d.line=0;n--)if(!st(t[n]))return!0;return!1}),"isPrependedWithRegularRules"),it=a((function(r){r.type="",r.value="",r.return="",r.children="",r.props=""}),"nullifyElement"),oa=a((function(r,t,n){st(r)&&(r.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),it(r)):aa(t,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),it(r)))}),"incorrectImportAlarm");function ut(e,r){switch(Yr(e,r)){case 5103:return O+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return O+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return O+e+we+e+k+e+e;case 6828:case 4268:return O+e+k+e+e;case 6165:return O+e+k+"flex-"+e+e;case 5187:return O+e+w(e,/(\w+).+(:[^]+)/,O+"box-$1$2"+k+"flex-$1$2")+e;case 5443:return O+e+k+"flex-item-"+w(e,/flex-|-self/,"")+e;case 4675:return O+e+k+"flex-line-pack"+w(e,/align-content|flex-|-self/,"")+e;case 5548:return O+e+k+w(e,"shrink","negative")+e;case 5292:return O+e+k+w(e,"basis","preferred-size")+e;case 6060:return O+"box-"+w(e,"-grow","")+O+e+k+w(e,"grow","positive")+e;case 4554:return O+w(e,/([^-])(transform)/g,"$1"+O+"$2")+e;case 6187:return w(w(w(e,/(zoom-|grab)/,O+"$1"),/(image-set)/,O+"$1"),e,"")+e;case 5495:case 3959:return w(e,/(image-set\([^]*)/,O+"$1$`$1");case 4968:return w(w(e,/(.+:)(flex-)?(.*)/,O+"box-pack:$3"+k+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+O+e+e;case 4095:case 3583:case 4068:case 2532:return w(e,/(.+)-inline(.+)/,O+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(P(e)-1-r>6)switch(_(e,r+1)){case 109:if(45!==_(e,r+4))break;case 102:return w(e,/(.+:)(.+)-([^]+)/,"$1"+O+"$2-$3$1"+we+(108==_(e,r+3)?"$3":"$2-$3"))+e;case 115:return~Se(e,"stretch")?ut(w(e,"stretch","fill-available"),r)+e:e}break;case 4949:if(115!==_(e,r+1))break;case 6444:switch(_(e,P(e)-3-(~Se(e,"!important")&&10))){case 107:return w(e,":",":"+O)+e;case 101:return w(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+O+(45===_(e,14)?"inline-":"")+"box$3$1"+O+"$2$3$1"+k+"$2box$3")+e}break;case 5936:switch(_(e,r+11)){case 114:return O+e+k+w(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return O+e+k+w(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return O+e+k+w(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return O+e+k+e+e}return e}a(ut,"prefix");var sa=[a((function(r,t,n,o){if(r.length>-1&&!r.return)switch(r.type){case ie:r.return=ut(r.value,r.length);break;case Me:return Q([de(r,{value:w(r.value,"@","@"+O)})],o);case oe:if(r.length)return cr(r.props,(function(i){switch(ur(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Q([de(r,{props:[w(i,/:(read-\w+)/,":-moz-$1")]})],o);case"::placeholder":return Q([de(r,{props:[w(i,/:(plac\w+)/,":"+O+"input-$1")]}),de(r,{props:[w(i,/:(plac\w+)/,":-moz-$1")]}),de(r,{props:[w(i,/:(plac\w+)/,k+"input-$1")]})],o)}return""}))}}),"prefixer")],Ve=a((function(r){var t=r.key;if(!t)throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\nIf multiple caches share the same key they might \"fight\" for each other's style elements.");if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(m){-1!==m.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(m),m.setAttribute("data-s",""))}))}var o=r.stylisPlugins||sa;if(/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var s,i={},u=[];s=r.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(m){for(var y=m.getAttribute("data-emotion").split(" "),x=1;x=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}a(xt,"murmur2");var Et={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},wt="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",ga="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",ba=/[A-Z]|^ms/g,Ft=/_EMO_([^_]+?)_([^]*?)_EMO_/g,br=a((function(r){return 45===r.charCodeAt(1)}),"isCustomProperty"),St=a((function(r){return null!=r&&"boolean"!=typeof r}),"isProcessableValue"),hr=ze((function(e){return br(e)?e:e.replace(ba,"-$&").toLowerCase()})),Ue=a((function(r,t){switch(r){case"animation":case"animationName":if("string"==typeof t)return t.replace(Ft,(function(n,o,i){return $={name:o,styles:i,next:$},o}))}return 1===Et[r]||br(r)||"number"!=typeof t||0===t?t:t+"px"}),"processStyleValue");Ot=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,Tt=["normal","none","initial","inherit","unset"],Ct=Ue,Rt=/^-ms-/,At=/-(.)/g,gr={},Ue=a((function(r,t){if("content"===r&&("string"!=typeof t||-1===Tt.indexOf(t)&&!Ot.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||'"'!==t.charAt(0)&&"'"!==t.charAt(0))))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+t+"\"'`");var n=Ct(r,t);return""!==n&&!br(r)&&-1!==r.indexOf("-")&&void 0===gr[r]&&(gr[r]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+r.replace(Rt,"ms-").replace(At,(function(o,i){return i.toUpperCase()}))+"?")),n}),"processStyleValue");var Ot,Tt,Ct,Rt,At,gr,Nt="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Ce(e,r,t){if(null==t)return"";if(void 0!==t.__emotion_styles){if("NO_COMPONENT_SELECTOR"===t.toString())throw new Error(Nt);return t}switch(typeof t){case"boolean":return"";case"object":if(1===t.anim)return $={name:t.name,styles:t.styles,next:$},t.name;if(void 0!==t.styles){var n=t.next;if(void 0!==n)for(;void 0!==n;)$={name:n.name,styles:n.styles,next:$},n=n.next;var o=t.styles+";";return void 0!==t.map&&(o+=t.map),o}return va(e,r,t);case"function":if(void 0!==e){var i=$,s=t(e);return $=i,Ce(e,r,s)}console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break;case"string":var u=[],c=t.replace(Ft,(function(f,l,p){var v="animation"+u.length;return u.push("const "+v+" = keyframes`"+p.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+v+"}"}));u.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(u,["`"+c+"`"]).join("\n")+"\n\nYou should wrap it with `css` like this:\n\ncss`"+c+"`")}if(null==r)return t;var d=r[t];return void 0!==d?d:t}function va(e,r,t){var n="";if(Array.isArray(t))for(var o=0;o ({})}!");return n}if(null==t||"object"!=typeof t||Array.isArray(t))throw new Error("[ThemeProvider] Please make your theme prop a plain object");return j({},r,t)}),"getTheme"),wa=lr((function(e){return lr((function(r){return Ea(e,r)}))})),jt=a((function(r){var t=react__WEBPACK_IMPORTED_MODULE_0__.useContext(B);return r.theme!==t&&(t=wa(t)(r.theme)),react__WEBPACK_IMPORTED_MODULE_0__.createElement(B.Provider,{value:t},r.children)}),"ThemeProvider");a((function Dt(e){var r=e.displayName||e.name||"Component",t=a((function(i,s){var u=react__WEBPACK_IMPORTED_MODULE_0__.useContext(B);return react__WEBPACK_IMPORTED_MODULE_0__.createElement(e,j({theme:u,ref:s},i))}),"render"),n=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(t);return n.displayName="WithTheme("+r+")",yt(n,e)}),"withTheme");var yr="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",xr="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",Ra=a((function(r){var t=r.cache,n=r.serialized,o=r.isStringTag;return ee(t,n,o),ge((function(){return re(t,n,o)})),null}),"Insertion"),$t=J((function(e,r,t){var n=e.css;"string"==typeof n&&void 0!==r.registered[n]&&(n=r.registered[n]);var o=e[yr],i=[n],s="";"string"==typeof e.className?s=he(r.registered,i,e.className):null!=e.className&&(s=e.className+" ");var u=Y(i,void 0,react__WEBPACK_IMPORTED_MODULE_0__.useContext(B));if(-1===u.name.indexOf("-")){var c=e[xr];c&&(u=Y([u,"label:"+c+";"]))}s+=r.key+"-"+u.name;var d={};for(var f in e)We.call(e,f)&&"css"!==f&&f!==yr&&f!==xr&&(d[f]=e[f]);return d.ref=t,d.className=s,react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement(Ra,{cache:r,serialized:u,isStringTag:"string"==typeof o}),react__WEBPACK_IMPORTED_MODULE_0__.createElement(o,d))}));$t.displayName="EmotionCssPropInternal";ir(mr());var Vt=!1;function _e(){for(var e=arguments.length,r=new Array(e),t=0;t component."),s="",i)i[u]&&u&&(s&&(s+=" "),s+=u);break;default:s=i}s&&(o&&(o+=" "),o+=s)}}return o}),"classnames");function Na(e,r,t){var n=[],o=he(e,n,t);return n.length<2?t:o+r(n)}a(Na,"merge");var Sr,Or,Ia=a((function(r){var t=r.cache,n=r.serializedArr;return ge((function(){for(var o=0;o96?ka:Pa}),"getDefaultShouldForwardProp"),qt=a((function(r,t,n){var o;if(t){var i=t.shouldForwardProp;o=r.__emotion_forwardProp&&i?function(s){return r.__emotion_forwardProp(s)&&i(s)}:i}return"function"!=typeof o&&n&&(o=r.__emotion_forwardProp),o}),"composeShouldForwardProps"),Jt="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",La=a((function(r){var t=r.cache,n=r.serialized,o=r.isStringTag;return ee(t,n,o),ge((function(){return re(t,n,o)})),null}),"Insertion"),Tr=a((function e(r,t){if(void 0===r)throw new Error("You are trying to create a styled element with an undefined component.\nYou may have forgotten to import it.");var i,s,n=r.__emotion_real===r,o=n&&r.__emotion_base||r;void 0!==t&&(i=t.label,s=t.target);var u=qt(r,t,n),c=u||Gt(o),d=!c("as");return function(){var f=arguments,l=n&&void 0!==r.__emotion_styles?r.__emotion_styles.slice(0):[];if(void 0!==i&&l.push("label:"+i+";"),null==f[0]||void 0===f[0].raw)l.push.apply(l,f);else{void 0===f[0][0]&&console.error(Jt),l.push(f[0][0]);for(var p=f.length,v=1;v1?o-1:0),s=1;s=0&&o<1?(u=i,c=s):o>=1&&o<2?(u=s,c=i):o>=2&&o<3?(c=i,d=s):o>=3&&o<4?(c=s,d=i):o>=4&&o<5?(u=s,d=i):o>=5&&o<6&&(u=i,d=s);var f=t-i/2;return n(u+f,c+f,d+f)}a(Rr,"colorToInt"),a(Da,"convertToInt"),a(Fe,"hslToRgb");var rn={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function Ba(e){if("string"!=typeof e)return e;var r=e.toLowerCase();return rn[r]?"#"+rn[r]:e}a(Ba,"nameToHex");var $a=/^#[a-fA-F0-9]{6}$/,Ha=/^#[a-fA-F0-9]{8}$/,Va=/^#[a-fA-F0-9]{3}$/,Ua=/^#[a-fA-F0-9]{4}$/,Ar=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,Wa=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,Ya=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,Ga=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function Je(e){if("string"!=typeof e)throw new V(3);var r=Ba(e);if(r.match($a))return{red:parseInt(""+r[1]+r[2],16),green:parseInt(""+r[3]+r[4],16),blue:parseInt(""+r[5]+r[6],16)};if(r.match(Ha)){var t=parseFloat((parseInt(""+r[7]+r[8],16)/255).toFixed(2));return{red:parseInt(""+r[1]+r[2],16),green:parseInt(""+r[3]+r[4],16),blue:parseInt(""+r[5]+r[6],16),alpha:t}}if(r.match(Va))return{red:parseInt(""+r[1]+r[1],16),green:parseInt(""+r[2]+r[2],16),blue:parseInt(""+r[3]+r[3],16)};if(r.match(Ua)){var n=parseFloat((parseInt(""+r[4]+r[4],16)/255).toFixed(2));return{red:parseInt(""+r[1]+r[1],16),green:parseInt(""+r[2]+r[2],16),blue:parseInt(""+r[3]+r[3],16),alpha:n}}var o=Ar.exec(r);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var i=Wa.exec(r.substring(0,50));if(i)return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10),alpha:parseFloat(""+i[4])>1?parseFloat(""+i[4])/100:parseFloat(""+i[4])};var s=Ya.exec(r);if(s){var f="rgb("+Fe(parseInt(""+s[1],10),parseInt(""+s[2],10)/100,parseInt(""+s[3],10)/100)+")",l=Ar.exec(f);if(!l)throw new V(4,r,f);return{red:parseInt(""+l[1],10),green:parseInt(""+l[2],10),blue:parseInt(""+l[3],10)}}var p=Ga.exec(r.substring(0,50));if(p){var y="rgb("+Fe(parseInt(""+p[1],10),parseInt(""+p[2],10)/100,parseInt(""+p[3],10)/100)+")",x=Ar.exec(y);if(!x)throw new V(4,r,y);return{red:parseInt(""+x[1],10),green:parseInt(""+x[2],10),blue:parseInt(""+x[3],10),alpha:parseFloat(""+p[4])>1?parseFloat(""+p[4])/100:parseFloat(""+p[4])}}throw new V(5)}function qa(e){var r=e.red/255,t=e.green/255,n=e.blue/255,o=Math.max(r,t,n),i=Math.min(r,t,n),s=(o+i)/2;if(o===i)return void 0!==e.alpha?{hue:0,saturation:0,lightness:s,alpha:e.alpha}:{hue:0,saturation:0,lightness:s};var u,c=o-i,d=s>.5?c/(2-o-i):c/(o+i);switch(o){case r:u=(t-n)/c+(t=1?qe(e,r,t):"rgba("+Fe(e,r,t)+","+n+")";if("object"==typeof e&&void 0===r&&void 0===t&&void 0===n)return e.alpha>=1?qe(e.hue,e.saturation,e.lightness):"rgba("+Fe(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new V(2)}function Nr(e,r,t){if("number"==typeof e&&"number"==typeof r&&"number"==typeof t)return Fr("#"+te(e)+te(r)+te(t));if("object"==typeof e&&void 0===r&&void 0===t)return Fr("#"+te(e.red)+te(e.green)+te(e.blue));throw new V(6)}function ve(e,r,t,n){if("string"==typeof e&&"number"==typeof r){var o=Je(e);return"rgba("+o.red+","+o.green+","+o.blue+","+r+")"}if("number"==typeof e&&"number"==typeof r&&"number"==typeof t&&"number"==typeof n)return n>=1?Nr(e,r,t):"rgba("+e+","+r+","+t+","+n+")";if("object"==typeof e&&void 0===r&&void 0===t&&void 0===n)return e.alpha>=1?Nr(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new V(7)}a(te,"numberToHex"),a(_r,"colorToHex"),a(Za,"convertToHex"),a(qe,"hslToHex"),a(Ka,"hsl"),a(Xa,"hsla"),a(Nr,"rgb"),a(ve,"rgba");var Qa=a((function(r){return"number"==typeof r.red&&"number"==typeof r.green&&"number"==typeof r.blue&&("number"!=typeof r.alpha||typeof r.alpha>"u")}),"isRgb"),eo=a((function(r){return"number"==typeof r.red&&"number"==typeof r.green&&"number"==typeof r.blue&&"number"==typeof r.alpha}),"isRgba"),ro=a((function(r){return"number"==typeof r.hue&&"number"==typeof r.saturation&&"number"==typeof r.lightness&&("number"!=typeof r.alpha||typeof r.alpha>"u")}),"isHsl"),to=a((function(r){return"number"==typeof r.hue&&"number"==typeof r.saturation&&"number"==typeof r.lightness&&"number"==typeof r.alpha}),"isHsla");function nn(e){if("object"!=typeof e)throw new V(8);if(eo(e))return ve(e);if(Qa(e))return Nr(e);if(to(e))return Xa(e);if(ro(e))return Ka(e);throw new V(8)}function an(e,r,t){return a((function(){var o=t.concat(Array.prototype.slice.call(arguments));return o.length>=r?e.apply(this,o):an(e,r,o)}),"fn")}function Ze(e){return an(e,e.length,[])}function Ke(e,r,t){return Math.max(e,Math.min(r,t))}function no(e,r){if("transparent"===r)return r;var t=tn(r);return nn(j({},t,{lightness:Ke(0,1,t.lightness-parseFloat(e))}))}a(nn,"toColorString"),a(an,"curried"),a(Ze,"curry"),a(Ke,"guard"),a(no,"darken");var on=Ze(no);function oo(e,r){if("transparent"===r)return r;var t=tn(r);return nn(j({},t,{lightness:Ke(0,1,t.lightness+parseFloat(e))}))}a(oo,"lighten");var sn=Ze(oo);function so(e,r){if("transparent"===r)return r;var t=Je(r);return ve(j({},t,{alpha:Ke(0,1,(100*("number"==typeof t.alpha?t.alpha:1)+100*parseFloat(e))/100)}))}a(so,"opacify");var un=Ze(so);function co(e,r){if("transparent"===r)return r;var t=Je(r);return ve(j({},t,{alpha:Ke(0,1,+(100*("number"==typeof t.alpha?t.alpha:1)-100*parseFloat(e)).toFixed(2)/100)}))}a(co,"transparentize");var cn=Ze(co),g={primary:"#FF4785",secondary:"#029CFD",tertiary:"#FAFBFC",ancillary:"#22a699",orange:"#FC521F",gold:"#FFAE00",green:"#66BF3C",seafoam:"#37D5D3",purple:"#6F2CAC",ultraviolet:"#2A0481",lightest:"#FFFFFF",lighter:"#F7FAFC",light:"#EEF3F6",mediumlight:"#ECF4F9",medium:"#D9E8F2",mediumdark:"#73828C",dark:"#5C6870",darker:"#454E54",darkest:"#2E3438",border:"hsla(203, 50%, 30%, 0.15)",positive:"#66BF3C",negative:"#FF4400",warning:"#E69D00",critical:"#FFFFFF",defaultText:"#2E3438",inverseText:"#FFFFFF",positiveText:"#448028",negativeText:"#D43900",warningText:"#A15C20"},U={app:"#F6F9FC",bar:g.lightest,content:g.lightest,preview:g.lightest,gridCellSize:10,hoverable:cn(.9,g.secondary),positive:"#E1FFD4",negative:"#FEDED2",warning:"#FFF5CF",critical:"#FF4400"},H={fonts:{base:['"Nunito Sans"',"-apple-system",'".SFNSText-Regular"','"San Francisco"',"BlinkMacSystemFont",'"Segoe UI"','"Helvetica Neue"',"Helvetica","Arial","sans-serif"].join(", "),mono:["ui-monospace","Menlo","Monaco",'"Roboto Mono"','"Oxygen Mono"','"Ubuntu Monospace"','"Source Code Pro"','"Droid Sans Mono"','"Courier New"',"monospace"].join(", ")},weight:{regular:400,bold:700},size:{s1:12,s2:14,s3:16,m1:20,m2:24,m3:28,l1:32,l2:40,l3:48,code:90}},kr=ir(ln(),1),dn=(0,kr.default)(1)((({typography:e})=>({body:{fontFamily:e.fonts.base,fontSize:e.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},"*":{boxSizing:"border-box"},"h1, h2, h3, h4, h5, h6":{fontWeight:e.weight.regular,margin:0,padding:0},"button, input, textarea, select":{fontFamily:"inherit",fontSize:"inherit",boxSizing:"border-box"},sub:{fontSize:"0.8em",bottom:"-0.2em"},sup:{fontSize:"0.8em",top:"-0.2em"},"b, strong":{fontWeight:e.weight.bold},hr:{border:"none",borderTop:"1px solid silver",clear:"both",marginBottom:"1.25rem"},code:{fontFamily:e.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"},pre:{fontFamily:e.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0"}}))),pn=((0,kr.default)(1)((({color:e,background:r,typography:t})=>{let n=dn({typography:t});return{...n,body:{...n.body,color:e.defaultText,background:r.app,overflow:"hidden"},hr:{...n.hr,borderTop:`1px solid ${e.border}`}}})),{base:"dark",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:"#222425",appContentBg:"#1B1C1D",appPreviewBg:g.lightest,appBorderColor:"rgba(255,255,255,.1)",appBorderRadius:4,fontBase:H.fonts.base,fontCode:H.fonts.mono,textColor:"#C9CDCF",textInverseColor:"#222425",textMutedColor:"#798186",barTextColor:g.mediumdark,barHoverColor:g.secondary,barSelectedColor:g.secondary,barBg:"#292C2E",buttonBg:"#222425",buttonBorder:"rgba(255,255,255,.1)",booleanBg:"#222425",booleanSelectedBg:"#2E3438",inputBg:"#1B1C1D",inputBorder:"rgba(255,255,255,.1)",inputTextColor:g.lightest,inputBorderRadius:4}),ye={base:"light",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:U.app,appContentBg:g.lightest,appPreviewBg:g.lightest,appBorderColor:g.border,appBorderRadius:4,fontBase:H.fonts.base,fontCode:H.fonts.mono,textColor:g.darkest,textInverseColor:g.lightest,textMutedColor:g.dark,barTextColor:g.mediumdark,barHoverColor:g.secondary,barSelectedColor:g.secondary,barBg:g.lightest,buttonBg:U.app,buttonBorder:g.medium,booleanBg:g.mediumlight,booleanSelectedBg:g.lightest,inputBg:g.lightest,inputBorder:g.border,inputTextColor:g.darkest,inputBorderRadius:4},mn=(()=>{let e;return e=typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof __webpack_require__.g<"u"?__webpack_require__.g:typeof self<"u"?self:{},e})(),{window:Pr}=mn,hn=a((e=>({color:e})),"mkColor"),go=a((e=>"string"==typeof e||(_storybook_core_client_logger__WEBPACK_IMPORTED_MODULE_1__.logger.warn(`Color passed to theme object should be a string. Instead ${e}(${typeof e}) was passed.`),!1)),"isColorString"),bo=a((e=>!/(gradient|var|calc)/.test(e)),"isValidColorForPolished"),vo=a(((e,r)=>"darken"===e?ve(`${on(1,r)}`,.95):"lighten"===e?ve(`${sn(1,r)}`,.95):r),"applyPolished"),gn=a((e=>r=>{if(!go(r)||!bo(r))return r;try{return vo(e,r)}catch{return r}}),"colorFactory"),yo=gn("lighten"),Xe=(gn("darken"),a((()=>Pr&&Pr.matchMedia&&Pr.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),"getPreferredColorScheme")),Ne={light:ye,dark:pn,normal:ye},bn=(Xe(),{rubber:"cubic-bezier(0.175, 0.885, 0.335, 1.05)"}),Eo=be` + from { + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } +`,vn=be` + 0%, 100% { opacity: 1; } + 50% { opacity: .4; } +`,yn={rotate360:Eo,glow:vn,float:be` + 0% { transform: translateY(1px); } + 25% { transform: translateY(0px); } + 50% { transform: translateY(-3px); } + 100% { transform: translateY(1px); } +`,jiggle:be` + 0%, 100% { transform:translate3d(0,0,0); } + 12.5%, 62.5% { transform:translate3d(-4px,0,0); } + 37.5%, 87.5% { transform: translate3d(4px,0,0); } +`,inlineGlow:_e` + animation: ${vn} 1.5s ease-in-out infinite; + color: transparent; + cursor: progress; +`,hoverable:_e` + transition: all 150ms ease-out; + transform: translate3d(0, 0, 0); + + &:hover { + transform: translate3d(0, -2px, 0); + } + + &:active { + transform: translate3d(0, 0, 0); + } +`},xn={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"rgb(36, 36, 36)",BASE_COLOR:"rgb(213, 213, 213)",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(227, 110, 236)",OBJECT_VALUE_NULL_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_REGEXP_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_STRING_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_NUMBER_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_BOOLEAN_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(85, 106, 242)",HTML_TAG_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(155, 187, 220)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(242, 151, 102)",HTML_COMMENT_COLOR:"rgb(137, 137, 137)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"rgb(145, 145, 145)",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"rgb(85, 85, 85)",TABLE_TH_BACKGROUND_COLOR:"rgb(44, 44, 44)",TABLE_TH_HOVER_COLOR:"rgb(48, 48, 48)",TABLE_SORT_ICON_COLOR:"black",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(51, 139, 255, 0.0980392) 50%, rgba(51, 139, 255, 0.0980392))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},En={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"white",BASE_COLOR:"black",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(136, 19, 145)",OBJECT_VALUE_NULL_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_REGEXP_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_STRING_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_NUMBER_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_BOOLEAN_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(13, 34, 170)",HTML_TAG_COLOR:"rgb(168, 148, 166)",HTML_TAGNAME_COLOR:"rgb(136, 18, 128)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(153, 69, 0)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(26, 26, 166)",HTML_COMMENT_COLOR:"rgb(35, 110, 37)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"#6e6e6e",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"#aaa",TABLE_TH_BACKGROUND_COLOR:"#eee",TABLE_TH_HOVER_COLOR:"hsla(0, 0%, 90%, 1)",TABLE_SORT_ICON_COLOR:"#6e6e6e",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(to bottom, white, white 50%, rgb(234, 243, 255) 50%, rgb(234, 243, 255))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},Co=a((e=>Object.entries(e).reduce(((r,[t,n])=>({...r,[t]:hn(n)})),{})),"convertColors"),wn=a((({colors:e,mono:r})=>{let t=Co(e);return{token:{fontFamily:r,WebkitFontSmoothing:"antialiased","&.tag":t.red3,"&.comment":{...t.green1,fontStyle:"italic"},"&.prolog":{...t.green1,fontStyle:"italic"},"&.doctype":{...t.green1,fontStyle:"italic"},"&.cdata":{...t.green1,fontStyle:"italic"},"&.string":t.red1,"&.url":t.cyan1,"&.symbol":t.cyan1,"&.number":t.cyan1,"&.boolean":t.cyan1,"&.variable":t.cyan1,"&.constant":t.cyan1,"&.inserted":t.cyan1,"&.atrule":t.blue1,"&.keyword":t.blue1,"&.attr-value":t.blue1,"&.punctuation":t.gray1,"&.operator":t.gray1,"&.function":t.gray1,"&.deleted":t.red2,"&.important":{fontWeight:"bold"},"&.bold":{fontWeight:"bold"},"&.italic":{fontStyle:"italic"},"&.class-name":t.cyan2,"&.selector":t.red3,"&.attr-name":t.red4,"&.property":t.red4,"&.regex":t.red4,"&.entity":t.red4,"&.directive.tag .tag":{background:"#ffff00",...t.gray1}},"language-json .token.boolean":t.blue1,"language-json .token.number":t.blue1,"language-json .token.property":t.cyan2,namespace:{opacity:.7}}}),"create"),Ro={green1:"#008000",red1:"#A31515",red2:"#9a050f",red3:"#800000",red4:"#ff0000",gray1:"#393A34",cyan1:"#36acaa",cyan2:"#2B91AF",blue1:"#0000ff",blue2:"#00009f"},Ao={green1:"#7C7C7C",red1:"#92C379",red2:"#9a050f",red3:"#A8FF60",red4:"#96CBFE",gray1:"#EDEDED",cyan1:"#C6C5FE",cyan2:"#FFFFB6",blue1:"#B474DD",blue2:"#00009f"},_o=a((e=>({primary:e.colorPrimary,secondary:e.colorSecondary,tertiary:g.tertiary,ancillary:g.ancillary,orange:g.orange,gold:g.gold,green:g.green,seafoam:g.seafoam,purple:g.purple,ultraviolet:g.ultraviolet,lightest:g.lightest,lighter:g.lighter,light:g.light,mediumlight:g.mediumlight,medium:g.medium,mediumdark:g.mediumdark,dark:g.dark,darker:g.darker,darkest:g.darkest,border:g.border,positive:g.positive,negative:g.negative,warning:g.warning,critical:g.critical,defaultText:e.textColor||g.darkest,inverseText:e.textInverseColor||g.lightest,positiveText:g.positiveText,negativeText:g.negativeText,warningText:g.warningText})),"createColors"),zr=a(((e=Ne[Xe()])=>{let{base:r,colorPrimary:t,colorSecondary:n,appBg:o,appContentBg:i,appPreviewBg:s,appBorderColor:u,appBorderRadius:c,fontBase:d,fontCode:f,textColor:l,textInverseColor:p,barTextColor:v,barHoverColor:h,barSelectedColor:m,barBg:y,buttonBg:x,buttonBorder:E,booleanBg:A,booleanSelectedBg:T,inputBg:C,inputBorder:N,inputTextColor:S,inputBorderRadius:xe,brandTitle:W,brandUrl:G,brandImage:er,brandTarget:rr,gridCellSize:tr,...nr}=e;return{...nr,base:r,color:_o(e),background:{app:o,bar:y,content:i,preview:s,gridCellSize:tr||U.gridCellSize,hoverable:U.hoverable,positive:U.positive,negative:U.negative,warning:U.warning,critical:U.critical},typography:{fonts:{base:d,mono:f},weight:H.weight,size:H.size},animation:yn,easing:bn,input:{background:C,border:N,borderRadius:xe,color:S},button:{background:x||C,border:E||N},boolean:{background:A||N,selectedBackground:T||C},layoutMargin:10,appBorderColor:u,appBorderRadius:c,barTextColor:v,barHoverColor:h||n,barSelectedColor:m||n,barBg:y,brand:{title:W,url:G,image:er||(W?null:void 0),target:rr},code:wn({colors:"light"===r?Ro:Ao,mono:f}),addonActionsTheme:{..."light"===r?En:xn,BASE_FONT_FAMILY:f,BASE_FONT_SIZE:H.size.s2-1,BASE_LINE_HEIGHT:"18px",BASE_BACKGROUND_COLOR:"transparent",BASE_COLOR:l,ARROW_COLOR:un(.2,u),ARROW_MARGIN_RIGHT:4,ARROW_FONT_SIZE:8,TREENODE_FONT_FAMILY:f,TREENODE_FONT_SIZE:H.size.s2-1,TREENODE_LINE_HEIGHT:"18px",TREENODE_PADDING_LEFT:12}}}),"convert"),Mr=a((e=>0===Object.keys(e).length),"isEmpty"),ne=a((e=>null!=e&&"object"==typeof e),"isObject"),Ie=a(((e,...r)=>Object.prototype.hasOwnProperty.call(e,...r)),"hasOwnProperty"),ke=a((()=>Object.create(null)),"makeObjectWithoutPrototype"),Sn=a(((e,r)=>e!==r&&ne(e)&&ne(r)?Object.keys(e).reduce(((t,n)=>{if(Ie(r,n)){let o=Sn(e[n],r[n]);return ne(o)&&Mr(o)||(t[n]=o),t}return t[n]=void 0,t}),ke()):{}),"deletedDiff"),Qe=Sn;function On(e){for(var r=[],t=1;t{if(!e)return zr(ye);let r=Qe(ye,e);return Object.keys(r).length&&_storybook_core_client_logger__WEBPACK_IMPORTED_MODULE_1__.logger.warn(On` + Your theme is missing properties, you should update your theme! + + theme-data missing: + `,r),zr(e)}),"ensure"),gc="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */"},"./node_modules/@storybook/csf/dist/index.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{aj:()=>O,hX:()=>P});var r,e,C=Object.create,u=Object.defineProperty,B=Object.getOwnPropertyDescriptor,F=Object.getOwnPropertyNames,h=Object.getPrototypeOf,w=Object.prototype.hasOwnProperty,x=(r=T=>{var r,e,n;Object.defineProperty(T,"__esModule",{value:!0}),T.isEqual=(r=Object.prototype.toString,e=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(t){return Object.keys(t).concat(Object.getOwnPropertySymbols(t))}:Object.keys,function(t,a){return function i(o,s,p){var y,g,d,c=r.call(o),b=r.call(s);if(o===s)return!0;if(null==o||null==s)return!1;if(p.indexOf(o)>-1&&p.indexOf(s)>-1)return!0;if(p.push(o,s),c!=b||(y=n(o),g=n(s),y.length!=g.length||y.some((function(A){return!i(o[A],s[A],p)}))))return!1;switch(c.slice(8,-1)){case"Symbol":return o.valueOf()==s.valueOf();case"Date":case"Number":return+o==+s||+o!=+o&&+s!=+s;case"RegExp":case"Function":case"String":case"Boolean":return""+o==""+s;case"Set":case"Map":y=o.entries(),g=s.entries();do{if(!i((d=y.next()).value,g.next().value,p))return!1}while(!d.done);return!0;case"ArrayBuffer":o=new Uint8Array(o),s=new Uint8Array(s);case"DataView":o=new Uint8Array(o.buffer),s=new Uint8Array(s.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(o.length!=s.length)return!1;for(d=0;d(e||r((e={exports:{}}).exports,e),e.exports));var l=((r,e,n)=>(n=null!=r?C(h(r)):{},((r,e,n,t)=>{if(e&&"object"==typeof e||"function"==typeof e)for(let a of F(e))!w.call(r,a)&&a!==n&&u(r,a,{get:()=>e[a],enumerable:!(t=B(e,a))||t.enumerable});return r})(!e&&r&&r.__esModule?n:u(n,"default",{value:r,enumerable:!0}),r)))(x()),S=r=>r.map((e=>typeof e<"u")).filter(Boolean).length,P=(r,e,n)=>{if(!r.if)return!0;let{arg:t,global:a}=r.if;if(1!==S([t,a]))throw new Error(`Invalid conditional value ${JSON.stringify({arg:t,global:a})}`);let i=t?e[t]:n[a];return((r,e)=>{let{exists:n,eq:t,neq:a,truthy:i}=r;if(S([n,t,a,i])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:n,eq:t,neq:a})}`);if(typeof t<"u")return(0,l.isEqual)(e,t);if(typeof a<"u")return!(0,l.isEqual)(e,a);if(typeof n<"u"){let s=typeof e<"u";return n?s:!s}return typeof i>"u"||i?!!e:!e})(r.if,i)},O=r=>r.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},"./node_modules/@storybook/icons/dist/index.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{D3D:()=>ChevronDownIcon,LoD:()=>ZoomOutIcon,PU:()=>ZoomIcon,QDE:()=>MarkupIcon,Qpb:()=>SubtractIcon,REV:()=>AddIcon,abt:()=>ChevronSmallDownIcon,bMW:()=>EyeIcon,dbI:()=>EyeCloseIcon,ejX:()=>UndoIcon,npA:()=>VideoIcon,pyG:()=>DocumentIcon,qYV:()=>LinkIcon,tN5:()=>ChevronSmallUpIcon,vKP:()=>ChevronRightIcon,wV5:()=>ZoomResetIcon});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),ZoomIcon=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color="currentColor",size=14,...props},forwardedRef)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:size,height:size,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:forwardedRef,...props},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M6 3.5a.5.5 0 01.5.5v1.5H8a.5.5 0 010 1H6.5V8a.5.5 0 01-1 0V6.5H4a.5.5 0 010-1h1.5V4a.5.5 0 01.5-.5z",fill:color}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:color})))),ZoomOutIcon=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color="currentColor",size=14,...props},forwardedRef)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:size,height:size,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:forwardedRef,...props},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z",fill:color}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 11.5c1.35 0 2.587-.487 3.544-1.294a.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 106 11.5zm0-1a4.5 4.5 0 100-9 4.5 4.5 0 000 9z",fill:color})))),ZoomResetIcon=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color="currentColor",size=14,...props},forwardedRef)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:size,height:size,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:forwardedRef,...props},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M1.5 2.837V1.5a.5.5 0 00-1 0V4a.5.5 0 00.5.5h2.5a.5.5 0 000-1H2.258a4.5 4.5 0 11-.496 4.016.5.5 0 10-.942.337 5.502 5.502 0 008.724 2.353.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 101.5 2.837z",fill:color})))),EyeIcon=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color="currentColor",size=14,...props},forwardedRef)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:size,height:size,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:forwardedRef,...props},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M7 9.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z",fill:color}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7l-.21.293C13.669 7.465 10.739 11.5 7 11.5S.332 7.465.21 7.293L0 7l.21-.293C.331 6.536 3.261 2.5 7 2.5s6.668 4.036 6.79 4.207L14 7zM2.896 5.302A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5c1.518 0 2.958-.83 4.104-1.802A12.72 12.72 0 0012.755 7c-.297-.37-.875-1.04-1.65-1.698C9.957 4.33 8.517 3.5 7 3.5c-1.519 0-2.958.83-4.104 1.802z",fill:color})))),EyeCloseIcon=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color="currentColor",size=14,...props},forwardedRef)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:size,height:size,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:forwardedRef,...props},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11zM11.104 8.698c-.177.15-.362.298-.553.439l.714.714a13.25 13.25 0 002.526-2.558L14 7l-.21-.293C13.669 6.536 10.739 2.5 7 2.5c-.89 0-1.735.229-2.506.58l.764.763A4.859 4.859 0 017 3.5c1.518 0 2.958.83 4.104 1.802A12.724 12.724 0 0112.755 7a12.72 12.72 0 01-1.65 1.698zM.21 6.707c.069-.096 1.03-1.42 2.525-2.558l.714.714c-.191.141-.376.288-.553.439A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5a4.86 4.86 0 001.742-.344l.764.764c-.772.351-1.616.58-2.506.58C3.262 11.5.332 7.465.21 7.293L0 7l.21-.293z",fill:color}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M4.5 7c0-.322.061-.63.172-.914l3.242 3.242A2.5 2.5 0 014.5 7zM9.328 7.914L6.086 4.672a2.5 2.5 0 013.241 3.241z",fill:color})))),VideoIcon=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color="currentColor",size=14,...props},forwardedRef)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:size,height:size,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:forwardedRef,...props},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M2.5 10a.5.5 0 100-1 .5.5 0 000 1z",fill:color}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4a2 2 0 012-2h6a2 2 0 012 2v.5l3.189-2.391A.5.5 0 0114 2.5v9a.5.5 0 01-.804.397L10 9.5v.5a2 2 0 01-2 2H2a2 2 0 01-2-2V4zm9 0v1.5a.5.5 0 00.8.4L13 3.5v7L9.8 8.1a.5.5 0 00-.8.4V10a1 1 0 01-1 1H2a1 1 0 01-1-1V4a1 1 0 011-1h6a1 1 0 011 1z",fill:color})))),DocumentIcon=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color="currentColor",size=14,...props},forwardedRef)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:size,height:size,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:forwardedRef,...props},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M4 5.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7.5a.5.5 0 000 1h5a.5.5 0 000-1h-5zM4 10.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5z",fill:color}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 0a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V3.207a.5.5 0 00-.146-.353L10.146.146A.5.5 0 009.793 0H1.5zM2 1h7.5v2a.5.5 0 00.5.5h2V13H2V1z",fill:color})))),MarkupIcon=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color="currentColor",size=14,...props},forwardedRef)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:size,height:size,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:forwardedRef,...props},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M8.982 1.632a.5.5 0 00-.964-.263l-3 11a.5.5 0 10.964.263l3-11zM3.32 3.616a.5.5 0 01.064.704L1.151 7l2.233 2.68a.5.5 0 11-.768.64l-2.5-3a.5.5 0 010-.64l2.5-3a.5.5 0 01.704-.064zM10.68 3.616a.5.5 0 00-.064.704L12.849 7l-2.233 2.68a.5.5 0 00.768.64l2.5-3a.5.5 0 000-.64l-2.5-3a.5.5 0 00-.704-.064z",fill:color})))),AddIcon=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color="currentColor",size=14,...props},forwardedRef)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:size,height:size,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:forwardedRef,...props},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z",fill:color}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:color})))),SubtractIcon=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color="currentColor",size=14,...props},forwardedRef)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:size,height:size,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:forwardedRef,...props},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:color}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:color})))),LinkIcon=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color="currentColor",size=14,...props},forwardedRef)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:size,height:size,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:forwardedRef,...props},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M11.841 2.159a2.25 2.25 0 00-3.182 0l-2.5 2.5a2.25 2.25 0 000 3.182.5.5 0 01-.707.707 3.25 3.25 0 010-4.596l2.5-2.5a3.25 3.25 0 014.596 4.596l-2.063 2.063a4.27 4.27 0 00-.094-1.32l1.45-1.45a2.25 2.25 0 000-3.182z",fill:color}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M3.61 7.21c-.1-.434-.132-.88-.095-1.321L1.452 7.952a3.25 3.25 0 104.596 4.596l2.5-2.5a3.25 3.25 0 000-4.596.5.5 0 00-.707.707 2.25 2.25 0 010 3.182l-2.5 2.5A2.25 2.25 0 112.159 8.66l1.45-1.45z",fill:color})))),ChevronDownIcon=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color="currentColor",size=14,...props},forwardedRef)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:size,height:size,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:forwardedRef,...props},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M1.146 4.604l5.5 5.5a.5.5 0 00.708 0l5.5-5.5a.5.5 0 00-.708-.708L7 9.043 1.854 3.896a.5.5 0 10-.708.708z",fill:color})))),ChevronRightIcon=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color="currentColor",size=14,...props},forwardedRef)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:size,height:size,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:forwardedRef,...props},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M11.104 7.354l-5.5 5.5a.5.5 0 01-.708-.708L10.043 7 4.896 1.854a.5.5 0 11.708-.708l5.5 5.5a.5.5 0 010 .708z",fill:color})))),ChevronSmallUpIcon=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color="currentColor",size=14,...props},forwardedRef)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:size,height:size,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:forwardedRef,...props},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M3.854 9.104a.5.5 0 11-.708-.708l3.5-3.5a.5.5 0 01.708 0l3.5 3.5a.5.5 0 01-.708.708L7 5.957 3.854 9.104z",fill:color})))),ChevronSmallDownIcon=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color="currentColor",size=14,...props},forwardedRef)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:size,height:size,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:forwardedRef,...props},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M3.854 4.896a.5.5 0 10-.708.708l3.5 3.5a.5.5 0 00.708 0l3.5-3.5a.5.5 0 00-.708-.708L7 8.043 3.854 4.896z",fill:color})))),UndoIcon=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((({color="currentColor",size=14,...props},forwardedRef)=>react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:size,height:size,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:forwardedRef,...props},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M1.146 3.854a.5.5 0 010-.708l2-2a.5.5 0 11.708.708L2.707 3h6.295A4 4 0 019 11H3a.5.5 0 010-1h6a3 3 0 100-6H2.707l1.147 1.146a.5.5 0 11-.708.708l-2-2z",fill:color}))))},"./node_modules/lodash/_DataView.js":(module,__unused_webpack_exports,__webpack_require__)=>{var DataView=__webpack_require__("./node_modules/lodash/_getNative.js")(__webpack_require__("./node_modules/lodash/_root.js"),"DataView");module.exports=DataView},"./node_modules/lodash/_Hash.js":(module,__unused_webpack_exports,__webpack_require__)=>{var hashClear=__webpack_require__("./node_modules/lodash/_hashClear.js"),hashDelete=__webpack_require__("./node_modules/lodash/_hashDelete.js"),hashGet=__webpack_require__("./node_modules/lodash/_hashGet.js"),hashHas=__webpack_require__("./node_modules/lodash/_hashHas.js"),hashSet=__webpack_require__("./node_modules/lodash/_hashSet.js");function Hash(entries){var index=-1,length=null==entries?0:entries.length;for(this.clear();++index{var listCacheClear=__webpack_require__("./node_modules/lodash/_listCacheClear.js"),listCacheDelete=__webpack_require__("./node_modules/lodash/_listCacheDelete.js"),listCacheGet=__webpack_require__("./node_modules/lodash/_listCacheGet.js"),listCacheHas=__webpack_require__("./node_modules/lodash/_listCacheHas.js"),listCacheSet=__webpack_require__("./node_modules/lodash/_listCacheSet.js");function ListCache(entries){var index=-1,length=null==entries?0:entries.length;for(this.clear();++index{var Map=__webpack_require__("./node_modules/lodash/_getNative.js")(__webpack_require__("./node_modules/lodash/_root.js"),"Map");module.exports=Map},"./node_modules/lodash/_MapCache.js":(module,__unused_webpack_exports,__webpack_require__)=>{var mapCacheClear=__webpack_require__("./node_modules/lodash/_mapCacheClear.js"),mapCacheDelete=__webpack_require__("./node_modules/lodash/_mapCacheDelete.js"),mapCacheGet=__webpack_require__("./node_modules/lodash/_mapCacheGet.js"),mapCacheHas=__webpack_require__("./node_modules/lodash/_mapCacheHas.js"),mapCacheSet=__webpack_require__("./node_modules/lodash/_mapCacheSet.js");function MapCache(entries){var index=-1,length=null==entries?0:entries.length;for(this.clear();++index{var Promise=__webpack_require__("./node_modules/lodash/_getNative.js")(__webpack_require__("./node_modules/lodash/_root.js"),"Promise");module.exports=Promise},"./node_modules/lodash/_Set.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Set=__webpack_require__("./node_modules/lodash/_getNative.js")(__webpack_require__("./node_modules/lodash/_root.js"),"Set");module.exports=Set},"./node_modules/lodash/_SetCache.js":(module,__unused_webpack_exports,__webpack_require__)=>{var MapCache=__webpack_require__("./node_modules/lodash/_MapCache.js"),setCacheAdd=__webpack_require__("./node_modules/lodash/_setCacheAdd.js"),setCacheHas=__webpack_require__("./node_modules/lodash/_setCacheHas.js");function SetCache(values){var index=-1,length=null==values?0:values.length;for(this.__data__=new MapCache;++index{var ListCache=__webpack_require__("./node_modules/lodash/_ListCache.js"),stackClear=__webpack_require__("./node_modules/lodash/_stackClear.js"),stackDelete=__webpack_require__("./node_modules/lodash/_stackDelete.js"),stackGet=__webpack_require__("./node_modules/lodash/_stackGet.js"),stackHas=__webpack_require__("./node_modules/lodash/_stackHas.js"),stackSet=__webpack_require__("./node_modules/lodash/_stackSet.js");function Stack(entries){var data=this.__data__=new ListCache(entries);this.size=data.size}Stack.prototype.clear=stackClear,Stack.prototype.delete=stackDelete,Stack.prototype.get=stackGet,Stack.prototype.has=stackHas,Stack.prototype.set=stackSet,module.exports=Stack},"./node_modules/lodash/_Symbol.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Symbol=__webpack_require__("./node_modules/lodash/_root.js").Symbol;module.exports=Symbol},"./node_modules/lodash/_Uint8Array.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Uint8Array=__webpack_require__("./node_modules/lodash/_root.js").Uint8Array;module.exports=Uint8Array},"./node_modules/lodash/_WeakMap.js":(module,__unused_webpack_exports,__webpack_require__)=>{var WeakMap=__webpack_require__("./node_modules/lodash/_getNative.js")(__webpack_require__("./node_modules/lodash/_root.js"),"WeakMap");module.exports=WeakMap},"./node_modules/lodash/_arrayEach.js":module=>{module.exports=function arrayEach(array,iteratee){for(var index=-1,length=null==array?0:array.length;++index{module.exports=function arrayFilter(array,predicate){for(var index=-1,length=null==array?0:array.length,resIndex=0,result=[];++index{var baseIndexOf=__webpack_require__("./node_modules/lodash/_baseIndexOf.js");module.exports=function arrayIncludes(array,value){return!!(null==array?0:array.length)&&baseIndexOf(array,value,0)>-1}},"./node_modules/lodash/_arrayIncludesWith.js":module=>{module.exports=function arrayIncludesWith(array,value,comparator){for(var index=-1,length=null==array?0:array.length;++index{var baseTimes=__webpack_require__("./node_modules/lodash/_baseTimes.js"),isArguments=__webpack_require__("./node_modules/lodash/isArguments.js"),isArray=__webpack_require__("./node_modules/lodash/isArray.js"),isBuffer=__webpack_require__("./node_modules/lodash/isBuffer.js"),isIndex=__webpack_require__("./node_modules/lodash/_isIndex.js"),isTypedArray=__webpack_require__("./node_modules/lodash/isTypedArray.js"),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function arrayLikeKeys(value,inherited){var isArr=isArray(value),isArg=!isArr&&isArguments(value),isBuff=!isArr&&!isArg&&isBuffer(value),isType=!isArr&&!isArg&&!isBuff&&isTypedArray(value),skipIndexes=isArr||isArg||isBuff||isType,result=skipIndexes?baseTimes(value.length,String):[],length=result.length;for(var key in value)!inherited&&!hasOwnProperty.call(value,key)||skipIndexes&&("length"==key||isBuff&&("offset"==key||"parent"==key)||isType&&("buffer"==key||"byteLength"==key||"byteOffset"==key)||isIndex(key,length))||result.push(key);return result}},"./node_modules/lodash/_arrayMap.js":module=>{module.exports=function arrayMap(array,iteratee){for(var index=-1,length=null==array?0:array.length,result=Array(length);++index{module.exports=function arrayPush(array,values){for(var index=-1,length=values.length,offset=array.length;++index{module.exports=function arraySome(array,predicate){for(var index=-1,length=null==array?0:array.length;++index{var baseAssignValue=__webpack_require__("./node_modules/lodash/_baseAssignValue.js"),eq=__webpack_require__("./node_modules/lodash/eq.js"),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function assignValue(object,key,value){var objValue=object[key];hasOwnProperty.call(object,key)&&eq(objValue,value)&&(void 0!==value||key in object)||baseAssignValue(object,key,value)}},"./node_modules/lodash/_assocIndexOf.js":(module,__unused_webpack_exports,__webpack_require__)=>{var eq=__webpack_require__("./node_modules/lodash/eq.js");module.exports=function assocIndexOf(array,key){for(var length=array.length;length--;)if(eq(array[length][0],key))return length;return-1}},"./node_modules/lodash/_baseAssign.js":(module,__unused_webpack_exports,__webpack_require__)=>{var copyObject=__webpack_require__("./node_modules/lodash/_copyObject.js"),keys=__webpack_require__("./node_modules/lodash/keys.js");module.exports=function baseAssign(object,source){return object&©Object(source,keys(source),object)}},"./node_modules/lodash/_baseAssignIn.js":(module,__unused_webpack_exports,__webpack_require__)=>{var copyObject=__webpack_require__("./node_modules/lodash/_copyObject.js"),keysIn=__webpack_require__("./node_modules/lodash/keysIn.js");module.exports=function baseAssignIn(object,source){return object&©Object(source,keysIn(source),object)}},"./node_modules/lodash/_baseAssignValue.js":(module,__unused_webpack_exports,__webpack_require__)=>{var defineProperty=__webpack_require__("./node_modules/lodash/_defineProperty.js");module.exports=function baseAssignValue(object,key,value){"__proto__"==key&&defineProperty?defineProperty(object,key,{configurable:!0,enumerable:!0,value,writable:!0}):object[key]=value}},"./node_modules/lodash/_baseClone.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Stack=__webpack_require__("./node_modules/lodash/_Stack.js"),arrayEach=__webpack_require__("./node_modules/lodash/_arrayEach.js"),assignValue=__webpack_require__("./node_modules/lodash/_assignValue.js"),baseAssign=__webpack_require__("./node_modules/lodash/_baseAssign.js"),baseAssignIn=__webpack_require__("./node_modules/lodash/_baseAssignIn.js"),cloneBuffer=__webpack_require__("./node_modules/lodash/_cloneBuffer.js"),copyArray=__webpack_require__("./node_modules/lodash/_copyArray.js"),copySymbols=__webpack_require__("./node_modules/lodash/_copySymbols.js"),copySymbolsIn=__webpack_require__("./node_modules/lodash/_copySymbolsIn.js"),getAllKeys=__webpack_require__("./node_modules/lodash/_getAllKeys.js"),getAllKeysIn=__webpack_require__("./node_modules/lodash/_getAllKeysIn.js"),getTag=__webpack_require__("./node_modules/lodash/_getTag.js"),initCloneArray=__webpack_require__("./node_modules/lodash/_initCloneArray.js"),initCloneByTag=__webpack_require__("./node_modules/lodash/_initCloneByTag.js"),initCloneObject=__webpack_require__("./node_modules/lodash/_initCloneObject.js"),isArray=__webpack_require__("./node_modules/lodash/isArray.js"),isBuffer=__webpack_require__("./node_modules/lodash/isBuffer.js"),isMap=__webpack_require__("./node_modules/lodash/isMap.js"),isObject=__webpack_require__("./node_modules/lodash/isObject.js"),isSet=__webpack_require__("./node_modules/lodash/isSet.js"),keys=__webpack_require__("./node_modules/lodash/keys.js"),keysIn=__webpack_require__("./node_modules/lodash/keysIn.js"),cloneableTags={};cloneableTags["[object Arguments]"]=cloneableTags["[object Array]"]=cloneableTags["[object ArrayBuffer]"]=cloneableTags["[object DataView]"]=cloneableTags["[object Boolean]"]=cloneableTags["[object Date]"]=cloneableTags["[object Float32Array]"]=cloneableTags["[object Float64Array]"]=cloneableTags["[object Int8Array]"]=cloneableTags["[object Int16Array]"]=cloneableTags["[object Int32Array]"]=cloneableTags["[object Map]"]=cloneableTags["[object Number]"]=cloneableTags["[object Object]"]=cloneableTags["[object RegExp]"]=cloneableTags["[object Set]"]=cloneableTags["[object String]"]=cloneableTags["[object Symbol]"]=cloneableTags["[object Uint8Array]"]=cloneableTags["[object Uint8ClampedArray]"]=cloneableTags["[object Uint16Array]"]=cloneableTags["[object Uint32Array]"]=!0,cloneableTags["[object Error]"]=cloneableTags["[object Function]"]=cloneableTags["[object WeakMap]"]=!1,module.exports=function baseClone(value,bitmask,customizer,key,object,stack){var result,isDeep=1&bitmask,isFlat=2&bitmask,isFull=4&bitmask;if(customizer&&(result=object?customizer(value,key,object,stack):customizer(value)),void 0!==result)return result;if(!isObject(value))return value;var isArr=isArray(value);if(isArr){if(result=initCloneArray(value),!isDeep)return copyArray(value,result)}else{var tag=getTag(value),isFunc="[object Function]"==tag||"[object GeneratorFunction]"==tag;if(isBuffer(value))return cloneBuffer(value,isDeep);if("[object Object]"==tag||"[object Arguments]"==tag||isFunc&&!object){if(result=isFlat||isFunc?{}:initCloneObject(value),!isDeep)return isFlat?copySymbolsIn(value,baseAssignIn(result,value)):copySymbols(value,baseAssign(result,value))}else{if(!cloneableTags[tag])return object?value:{};result=initCloneByTag(value,tag,isDeep)}}stack||(stack=new Stack);var stacked=stack.get(value);if(stacked)return stacked;stack.set(value,result),isSet(value)?value.forEach((function(subValue){result.add(baseClone(subValue,bitmask,customizer,subValue,value,stack))})):isMap(value)&&value.forEach((function(subValue,key){result.set(key,baseClone(subValue,bitmask,customizer,key,value,stack))}));var props=isArr?void 0:(isFull?isFlat?getAllKeysIn:getAllKeys:isFlat?keysIn:keys)(value);return arrayEach(props||value,(function(subValue,key){props&&(subValue=value[key=subValue]),assignValue(result,key,baseClone(subValue,bitmask,customizer,key,value,stack))})),result}},"./node_modules/lodash/_baseCreate.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isObject=__webpack_require__("./node_modules/lodash/isObject.js"),objectCreate=Object.create,baseCreate=function(){function object(){}return function(proto){if(!isObject(proto))return{};if(objectCreate)return objectCreate(proto);object.prototype=proto;var result=new object;return object.prototype=void 0,result}}();module.exports=baseCreate},"./node_modules/lodash/_baseFindIndex.js":module=>{module.exports=function baseFindIndex(array,predicate,fromIndex,fromRight){for(var length=array.length,index=fromIndex+(fromRight?1:-1);fromRight?index--:++index{var castPath=__webpack_require__("./node_modules/lodash/_castPath.js"),toKey=__webpack_require__("./node_modules/lodash/_toKey.js");module.exports=function baseGet(object,path){for(var index=0,length=(path=castPath(path,object)).length;null!=object&&index{var arrayPush=__webpack_require__("./node_modules/lodash/_arrayPush.js"),isArray=__webpack_require__("./node_modules/lodash/isArray.js");module.exports=function baseGetAllKeys(object,keysFunc,symbolsFunc){var result=keysFunc(object);return isArray(object)?result:arrayPush(result,symbolsFunc(object))}},"./node_modules/lodash/_baseGetTag.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Symbol=__webpack_require__("./node_modules/lodash/_Symbol.js"),getRawTag=__webpack_require__("./node_modules/lodash/_getRawTag.js"),objectToString=__webpack_require__("./node_modules/lodash/_objectToString.js"),symToStringTag=Symbol?Symbol.toStringTag:void 0;module.exports=function baseGetTag(value){return null==value?void 0===value?"[object Undefined]":"[object Null]":symToStringTag&&symToStringTag in Object(value)?getRawTag(value):objectToString(value)}},"./node_modules/lodash/_baseHasIn.js":module=>{module.exports=function baseHasIn(object,key){return null!=object&&key in Object(object)}},"./node_modules/lodash/_baseIndexOf.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseFindIndex=__webpack_require__("./node_modules/lodash/_baseFindIndex.js"),baseIsNaN=__webpack_require__("./node_modules/lodash/_baseIsNaN.js"),strictIndexOf=__webpack_require__("./node_modules/lodash/_strictIndexOf.js");module.exports=function baseIndexOf(array,value,fromIndex){return value==value?strictIndexOf(array,value,fromIndex):baseFindIndex(array,baseIsNaN,fromIndex)}},"./node_modules/lodash/_baseIsArguments.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGetTag=__webpack_require__("./node_modules/lodash/_baseGetTag.js"),isObjectLike=__webpack_require__("./node_modules/lodash/isObjectLike.js");module.exports=function baseIsArguments(value){return isObjectLike(value)&&"[object Arguments]"==baseGetTag(value)}},"./node_modules/lodash/_baseIsEqual.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsEqualDeep=__webpack_require__("./node_modules/lodash/_baseIsEqualDeep.js"),isObjectLike=__webpack_require__("./node_modules/lodash/isObjectLike.js");module.exports=function baseIsEqual(value,other,bitmask,customizer,stack){return value===other||(null==value||null==other||!isObjectLike(value)&&!isObjectLike(other)?value!=value&&other!=other:baseIsEqualDeep(value,other,bitmask,customizer,baseIsEqual,stack))}},"./node_modules/lodash/_baseIsEqualDeep.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Stack=__webpack_require__("./node_modules/lodash/_Stack.js"),equalArrays=__webpack_require__("./node_modules/lodash/_equalArrays.js"),equalByTag=__webpack_require__("./node_modules/lodash/_equalByTag.js"),equalObjects=__webpack_require__("./node_modules/lodash/_equalObjects.js"),getTag=__webpack_require__("./node_modules/lodash/_getTag.js"),isArray=__webpack_require__("./node_modules/lodash/isArray.js"),isBuffer=__webpack_require__("./node_modules/lodash/isBuffer.js"),isTypedArray=__webpack_require__("./node_modules/lodash/isTypedArray.js"),objectTag="[object Object]",hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function baseIsEqualDeep(object,other,bitmask,customizer,equalFunc,stack){var objIsArr=isArray(object),othIsArr=isArray(other),objTag=objIsArr?"[object Array]":getTag(object),othTag=othIsArr?"[object Array]":getTag(other),objIsObj=(objTag="[object Arguments]"==objTag?objectTag:objTag)==objectTag,othIsObj=(othTag="[object Arguments]"==othTag?objectTag:othTag)==objectTag,isSameTag=objTag==othTag;if(isSameTag&&isBuffer(object)){if(!isBuffer(other))return!1;objIsArr=!0,objIsObj=!1}if(isSameTag&&!objIsObj)return stack||(stack=new Stack),objIsArr||isTypedArray(object)?equalArrays(object,other,bitmask,customizer,equalFunc,stack):equalByTag(object,other,objTag,bitmask,customizer,equalFunc,stack);if(!(1&bitmask)){var objIsWrapped=objIsObj&&hasOwnProperty.call(object,"__wrapped__"),othIsWrapped=othIsObj&&hasOwnProperty.call(other,"__wrapped__");if(objIsWrapped||othIsWrapped){var objUnwrapped=objIsWrapped?object.value():object,othUnwrapped=othIsWrapped?other.value():other;return stack||(stack=new Stack),equalFunc(objUnwrapped,othUnwrapped,bitmask,customizer,stack)}}return!!isSameTag&&(stack||(stack=new Stack),equalObjects(object,other,bitmask,customizer,equalFunc,stack))}},"./node_modules/lodash/_baseIsMap.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getTag=__webpack_require__("./node_modules/lodash/_getTag.js"),isObjectLike=__webpack_require__("./node_modules/lodash/isObjectLike.js");module.exports=function baseIsMap(value){return isObjectLike(value)&&"[object Map]"==getTag(value)}},"./node_modules/lodash/_baseIsMatch.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Stack=__webpack_require__("./node_modules/lodash/_Stack.js"),baseIsEqual=__webpack_require__("./node_modules/lodash/_baseIsEqual.js");module.exports=function baseIsMatch(object,source,matchData,customizer){var index=matchData.length,length=index,noCustomizer=!customizer;if(null==object)return!length;for(object=Object(object);index--;){var data=matchData[index];if(noCustomizer&&data[2]?data[1]!==object[data[0]]:!(data[0]in object))return!1}for(;++index{module.exports=function baseIsNaN(value){return value!=value}},"./node_modules/lodash/_baseIsNative.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isFunction=__webpack_require__("./node_modules/lodash/isFunction.js"),isMasked=__webpack_require__("./node_modules/lodash/_isMasked.js"),isObject=__webpack_require__("./node_modules/lodash/isObject.js"),toSource=__webpack_require__("./node_modules/lodash/_toSource.js"),reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto=Function.prototype,objectProto=Object.prototype,funcToString=funcProto.toString,hasOwnProperty=objectProto.hasOwnProperty,reIsNative=RegExp("^"+funcToString.call(hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");module.exports=function baseIsNative(value){return!(!isObject(value)||isMasked(value))&&(isFunction(value)?reIsNative:reIsHostCtor).test(toSource(value))}},"./node_modules/lodash/_baseIsSet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getTag=__webpack_require__("./node_modules/lodash/_getTag.js"),isObjectLike=__webpack_require__("./node_modules/lodash/isObjectLike.js");module.exports=function baseIsSet(value){return isObjectLike(value)&&"[object Set]"==getTag(value)}},"./node_modules/lodash/_baseIsTypedArray.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGetTag=__webpack_require__("./node_modules/lodash/_baseGetTag.js"),isLength=__webpack_require__("./node_modules/lodash/isLength.js"),isObjectLike=__webpack_require__("./node_modules/lodash/isObjectLike.js"),typedArrayTags={};typedArrayTags["[object Float32Array]"]=typedArrayTags["[object Float64Array]"]=typedArrayTags["[object Int8Array]"]=typedArrayTags["[object Int16Array]"]=typedArrayTags["[object Int32Array]"]=typedArrayTags["[object Uint8Array]"]=typedArrayTags["[object Uint8ClampedArray]"]=typedArrayTags["[object Uint16Array]"]=typedArrayTags["[object Uint32Array]"]=!0,typedArrayTags["[object Arguments]"]=typedArrayTags["[object Array]"]=typedArrayTags["[object ArrayBuffer]"]=typedArrayTags["[object Boolean]"]=typedArrayTags["[object DataView]"]=typedArrayTags["[object Date]"]=typedArrayTags["[object Error]"]=typedArrayTags["[object Function]"]=typedArrayTags["[object Map]"]=typedArrayTags["[object Number]"]=typedArrayTags["[object Object]"]=typedArrayTags["[object RegExp]"]=typedArrayTags["[object Set]"]=typedArrayTags["[object String]"]=typedArrayTags["[object WeakMap]"]=!1,module.exports=function baseIsTypedArray(value){return isObjectLike(value)&&isLength(value.length)&&!!typedArrayTags[baseGetTag(value)]}},"./node_modules/lodash/_baseIteratee.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseMatches=__webpack_require__("./node_modules/lodash/_baseMatches.js"),baseMatchesProperty=__webpack_require__("./node_modules/lodash/_baseMatchesProperty.js"),identity=__webpack_require__("./node_modules/lodash/identity.js"),isArray=__webpack_require__("./node_modules/lodash/isArray.js"),property=__webpack_require__("./node_modules/lodash/property.js");module.exports=function baseIteratee(value){return"function"==typeof value?value:null==value?identity:"object"==typeof value?isArray(value)?baseMatchesProperty(value[0],value[1]):baseMatches(value):property(value)}},"./node_modules/lodash/_baseKeys.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isPrototype=__webpack_require__("./node_modules/lodash/_isPrototype.js"),nativeKeys=__webpack_require__("./node_modules/lodash/_nativeKeys.js"),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function baseKeys(object){if(!isPrototype(object))return nativeKeys(object);var result=[];for(var key in Object(object))hasOwnProperty.call(object,key)&&"constructor"!=key&&result.push(key);return result}},"./node_modules/lodash/_baseKeysIn.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isObject=__webpack_require__("./node_modules/lodash/isObject.js"),isPrototype=__webpack_require__("./node_modules/lodash/_isPrototype.js"),nativeKeysIn=__webpack_require__("./node_modules/lodash/_nativeKeysIn.js"),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function baseKeysIn(object){if(!isObject(object))return nativeKeysIn(object);var isProto=isPrototype(object),result=[];for(var key in object)("constructor"!=key||!isProto&&hasOwnProperty.call(object,key))&&result.push(key);return result}},"./node_modules/lodash/_baseMatches.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsMatch=__webpack_require__("./node_modules/lodash/_baseIsMatch.js"),getMatchData=__webpack_require__("./node_modules/lodash/_getMatchData.js"),matchesStrictComparable=__webpack_require__("./node_modules/lodash/_matchesStrictComparable.js");module.exports=function baseMatches(source){var matchData=getMatchData(source);return 1==matchData.length&&matchData[0][2]?matchesStrictComparable(matchData[0][0],matchData[0][1]):function(object){return object===source||baseIsMatch(object,source,matchData)}}},"./node_modules/lodash/_baseMatchesProperty.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsEqual=__webpack_require__("./node_modules/lodash/_baseIsEqual.js"),get=__webpack_require__("./node_modules/lodash/get.js"),hasIn=__webpack_require__("./node_modules/lodash/hasIn.js"),isKey=__webpack_require__("./node_modules/lodash/_isKey.js"),isStrictComparable=__webpack_require__("./node_modules/lodash/_isStrictComparable.js"),matchesStrictComparable=__webpack_require__("./node_modules/lodash/_matchesStrictComparable.js"),toKey=__webpack_require__("./node_modules/lodash/_toKey.js");module.exports=function baseMatchesProperty(path,srcValue){return isKey(path)&&isStrictComparable(srcValue)?matchesStrictComparable(toKey(path),srcValue):function(object){var objValue=get(object,path);return void 0===objValue&&objValue===srcValue?hasIn(object,path):baseIsEqual(srcValue,objValue,3)}}},"./node_modules/lodash/_basePickBy.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGet=__webpack_require__("./node_modules/lodash/_baseGet.js"),baseSet=__webpack_require__("./node_modules/lodash/_baseSet.js"),castPath=__webpack_require__("./node_modules/lodash/_castPath.js");module.exports=function basePickBy(object,paths,predicate){for(var index=-1,length=paths.length,result={};++index{module.exports=function baseProperty(key){return function(object){return null==object?void 0:object[key]}}},"./node_modules/lodash/_basePropertyDeep.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGet=__webpack_require__("./node_modules/lodash/_baseGet.js");module.exports=function basePropertyDeep(path){return function(object){return baseGet(object,path)}}},"./node_modules/lodash/_baseSet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var assignValue=__webpack_require__("./node_modules/lodash/_assignValue.js"),castPath=__webpack_require__("./node_modules/lodash/_castPath.js"),isIndex=__webpack_require__("./node_modules/lodash/_isIndex.js"),isObject=__webpack_require__("./node_modules/lodash/isObject.js"),toKey=__webpack_require__("./node_modules/lodash/_toKey.js");module.exports=function baseSet(object,path,value,customizer){if(!isObject(object))return object;for(var index=-1,length=(path=castPath(path,object)).length,lastIndex=length-1,nested=object;null!=nested&&++index{module.exports=function baseTimes(n,iteratee){for(var index=-1,result=Array(n);++index{var Symbol=__webpack_require__("./node_modules/lodash/_Symbol.js"),arrayMap=__webpack_require__("./node_modules/lodash/_arrayMap.js"),isArray=__webpack_require__("./node_modules/lodash/isArray.js"),isSymbol=__webpack_require__("./node_modules/lodash/isSymbol.js"),symbolProto=Symbol?Symbol.prototype:void 0,symbolToString=symbolProto?symbolProto.toString:void 0;module.exports=function baseToString(value){if("string"==typeof value)return value;if(isArray(value))return arrayMap(value,baseToString)+"";if(isSymbol(value))return symbolToString?symbolToString.call(value):"";var result=value+"";return"0"==result&&1/value==-Infinity?"-0":result}},"./node_modules/lodash/_baseUnary.js":module=>{module.exports=function baseUnary(func){return function(value){return func(value)}}},"./node_modules/lodash/_baseUniq.js":(module,__unused_webpack_exports,__webpack_require__)=>{var SetCache=__webpack_require__("./node_modules/lodash/_SetCache.js"),arrayIncludes=__webpack_require__("./node_modules/lodash/_arrayIncludes.js"),arrayIncludesWith=__webpack_require__("./node_modules/lodash/_arrayIncludesWith.js"),cacheHas=__webpack_require__("./node_modules/lodash/_cacheHas.js"),createSet=__webpack_require__("./node_modules/lodash/_createSet.js"),setToArray=__webpack_require__("./node_modules/lodash/_setToArray.js");module.exports=function baseUniq(array,iteratee,comparator){var index=-1,includes=arrayIncludes,length=array.length,isCommon=!0,result=[],seen=result;if(comparator)isCommon=!1,includes=arrayIncludesWith;else if(length>=200){var set=iteratee?null:createSet(array);if(set)return setToArray(set);isCommon=!1,includes=cacheHas,seen=new SetCache}else seen=iteratee?[]:result;outer:for(;++index{module.exports=function cacheHas(cache,key){return cache.has(key)}},"./node_modules/lodash/_castPath.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isArray=__webpack_require__("./node_modules/lodash/isArray.js"),isKey=__webpack_require__("./node_modules/lodash/_isKey.js"),stringToPath=__webpack_require__("./node_modules/lodash/_stringToPath.js"),toString=__webpack_require__("./node_modules/lodash/toString.js");module.exports=function castPath(value,object){return isArray(value)?value:isKey(value,object)?[value]:stringToPath(toString(value))}},"./node_modules/lodash/_cloneArrayBuffer.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Uint8Array=__webpack_require__("./node_modules/lodash/_Uint8Array.js");module.exports=function cloneArrayBuffer(arrayBuffer){var result=new arrayBuffer.constructor(arrayBuffer.byteLength);return new Uint8Array(result).set(new Uint8Array(arrayBuffer)),result}},"./node_modules/lodash/_cloneBuffer.js":(module,exports,__webpack_require__)=>{module=__webpack_require__.nmd(module);var root=__webpack_require__("./node_modules/lodash/_root.js"),freeExports=exports&&!exports.nodeType&&exports,freeModule=freeExports&&module&&!module.nodeType&&module,Buffer=freeModule&&freeModule.exports===freeExports?root.Buffer:void 0,allocUnsafe=Buffer?Buffer.allocUnsafe:void 0;module.exports=function cloneBuffer(buffer,isDeep){if(isDeep)return buffer.slice();var length=buffer.length,result=allocUnsafe?allocUnsafe(length):new buffer.constructor(length);return buffer.copy(result),result}},"./node_modules/lodash/_cloneDataView.js":(module,__unused_webpack_exports,__webpack_require__)=>{var cloneArrayBuffer=__webpack_require__("./node_modules/lodash/_cloneArrayBuffer.js");module.exports=function cloneDataView(dataView,isDeep){var buffer=isDeep?cloneArrayBuffer(dataView.buffer):dataView.buffer;return new dataView.constructor(buffer,dataView.byteOffset,dataView.byteLength)}},"./node_modules/lodash/_cloneRegExp.js":module=>{var reFlags=/\w*$/;module.exports=function cloneRegExp(regexp){var result=new regexp.constructor(regexp.source,reFlags.exec(regexp));return result.lastIndex=regexp.lastIndex,result}},"./node_modules/lodash/_cloneSymbol.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Symbol=__webpack_require__("./node_modules/lodash/_Symbol.js"),symbolProto=Symbol?Symbol.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;module.exports=function cloneSymbol(symbol){return symbolValueOf?Object(symbolValueOf.call(symbol)):{}}},"./node_modules/lodash/_cloneTypedArray.js":(module,__unused_webpack_exports,__webpack_require__)=>{var cloneArrayBuffer=__webpack_require__("./node_modules/lodash/_cloneArrayBuffer.js");module.exports=function cloneTypedArray(typedArray,isDeep){var buffer=isDeep?cloneArrayBuffer(typedArray.buffer):typedArray.buffer;return new typedArray.constructor(buffer,typedArray.byteOffset,typedArray.length)}},"./node_modules/lodash/_copyArray.js":module=>{module.exports=function copyArray(source,array){var index=-1,length=source.length;for(array||(array=Array(length));++index{var assignValue=__webpack_require__("./node_modules/lodash/_assignValue.js"),baseAssignValue=__webpack_require__("./node_modules/lodash/_baseAssignValue.js");module.exports=function copyObject(source,props,object,customizer){var isNew=!object;object||(object={});for(var index=-1,length=props.length;++index{var copyObject=__webpack_require__("./node_modules/lodash/_copyObject.js"),getSymbols=__webpack_require__("./node_modules/lodash/_getSymbols.js");module.exports=function copySymbols(source,object){return copyObject(source,getSymbols(source),object)}},"./node_modules/lodash/_copySymbolsIn.js":(module,__unused_webpack_exports,__webpack_require__)=>{var copyObject=__webpack_require__("./node_modules/lodash/_copyObject.js"),getSymbolsIn=__webpack_require__("./node_modules/lodash/_getSymbolsIn.js");module.exports=function copySymbolsIn(source,object){return copyObject(source,getSymbolsIn(source),object)}},"./node_modules/lodash/_coreJsData.js":(module,__unused_webpack_exports,__webpack_require__)=>{var coreJsData=__webpack_require__("./node_modules/lodash/_root.js")["__core-js_shared__"];module.exports=coreJsData},"./node_modules/lodash/_createSet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Set=__webpack_require__("./node_modules/lodash/_Set.js"),noop=__webpack_require__("./node_modules/lodash/noop.js"),setToArray=__webpack_require__("./node_modules/lodash/_setToArray.js"),createSet=Set&&1/setToArray(new Set([,-0]))[1]==1/0?function(values){return new Set(values)}:noop;module.exports=createSet},"./node_modules/lodash/_defineProperty.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getNative=__webpack_require__("./node_modules/lodash/_getNative.js"),defineProperty=function(){try{var func=getNative(Object,"defineProperty");return func({},"",{}),func}catch(e){}}();module.exports=defineProperty},"./node_modules/lodash/_equalArrays.js":(module,__unused_webpack_exports,__webpack_require__)=>{var SetCache=__webpack_require__("./node_modules/lodash/_SetCache.js"),arraySome=__webpack_require__("./node_modules/lodash/_arraySome.js"),cacheHas=__webpack_require__("./node_modules/lodash/_cacheHas.js");module.exports=function equalArrays(array,other,bitmask,customizer,equalFunc,stack){var isPartial=1&bitmask,arrLength=array.length,othLength=other.length;if(arrLength!=othLength&&!(isPartial&&othLength>arrLength))return!1;var arrStacked=stack.get(array),othStacked=stack.get(other);if(arrStacked&&othStacked)return arrStacked==other&&othStacked==array;var index=-1,result=!0,seen=2&bitmask?new SetCache:void 0;for(stack.set(array,other),stack.set(other,array);++index{var Symbol=__webpack_require__("./node_modules/lodash/_Symbol.js"),Uint8Array=__webpack_require__("./node_modules/lodash/_Uint8Array.js"),eq=__webpack_require__("./node_modules/lodash/eq.js"),equalArrays=__webpack_require__("./node_modules/lodash/_equalArrays.js"),mapToArray=__webpack_require__("./node_modules/lodash/_mapToArray.js"),setToArray=__webpack_require__("./node_modules/lodash/_setToArray.js"),symbolProto=Symbol?Symbol.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;module.exports=function equalByTag(object,other,tag,bitmask,customizer,equalFunc,stack){switch(tag){case"[object DataView]":if(object.byteLength!=other.byteLength||object.byteOffset!=other.byteOffset)return!1;object=object.buffer,other=other.buffer;case"[object ArrayBuffer]":return!(object.byteLength!=other.byteLength||!equalFunc(new Uint8Array(object),new Uint8Array(other)));case"[object Boolean]":case"[object Date]":case"[object Number]":return eq(+object,+other);case"[object Error]":return object.name==other.name&&object.message==other.message;case"[object RegExp]":case"[object String]":return object==other+"";case"[object Map]":var convert=mapToArray;case"[object Set]":var isPartial=1&bitmask;if(convert||(convert=setToArray),object.size!=other.size&&!isPartial)return!1;var stacked=stack.get(object);if(stacked)return stacked==other;bitmask|=2,stack.set(object,other);var result=equalArrays(convert(object),convert(other),bitmask,customizer,equalFunc,stack);return stack.delete(object),result;case"[object Symbol]":if(symbolValueOf)return symbolValueOf.call(object)==symbolValueOf.call(other)}return!1}},"./node_modules/lodash/_equalObjects.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getAllKeys=__webpack_require__("./node_modules/lodash/_getAllKeys.js"),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function equalObjects(object,other,bitmask,customizer,equalFunc,stack){var isPartial=1&bitmask,objProps=getAllKeys(object),objLength=objProps.length;if(objLength!=getAllKeys(other).length&&!isPartial)return!1;for(var index=objLength;index--;){var key=objProps[index];if(!(isPartial?key in other:hasOwnProperty.call(other,key)))return!1}var objStacked=stack.get(object),othStacked=stack.get(other);if(objStacked&&othStacked)return objStacked==other&&othStacked==object;var result=!0;stack.set(object,other),stack.set(other,object);for(var skipCtor=isPartial;++index{var freeGlobal="object"==typeof __webpack_require__.g&&__webpack_require__.g&&__webpack_require__.g.Object===Object&&__webpack_require__.g;module.exports=freeGlobal},"./node_modules/lodash/_getAllKeys.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGetAllKeys=__webpack_require__("./node_modules/lodash/_baseGetAllKeys.js"),getSymbols=__webpack_require__("./node_modules/lodash/_getSymbols.js"),keys=__webpack_require__("./node_modules/lodash/keys.js");module.exports=function getAllKeys(object){return baseGetAllKeys(object,keys,getSymbols)}},"./node_modules/lodash/_getAllKeysIn.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGetAllKeys=__webpack_require__("./node_modules/lodash/_baseGetAllKeys.js"),getSymbolsIn=__webpack_require__("./node_modules/lodash/_getSymbolsIn.js"),keysIn=__webpack_require__("./node_modules/lodash/keysIn.js");module.exports=function getAllKeysIn(object){return baseGetAllKeys(object,keysIn,getSymbolsIn)}},"./node_modules/lodash/_getMapData.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isKeyable=__webpack_require__("./node_modules/lodash/_isKeyable.js");module.exports=function getMapData(map,key){var data=map.__data__;return isKeyable(key)?data["string"==typeof key?"string":"hash"]:data.map}},"./node_modules/lodash/_getMatchData.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isStrictComparable=__webpack_require__("./node_modules/lodash/_isStrictComparable.js"),keys=__webpack_require__("./node_modules/lodash/keys.js");module.exports=function getMatchData(object){for(var result=keys(object),length=result.length;length--;){var key=result[length],value=object[key];result[length]=[key,value,isStrictComparable(value)]}return result}},"./node_modules/lodash/_getNative.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsNative=__webpack_require__("./node_modules/lodash/_baseIsNative.js"),getValue=__webpack_require__("./node_modules/lodash/_getValue.js");module.exports=function getNative(object,key){var value=getValue(object,key);return baseIsNative(value)?value:void 0}},"./node_modules/lodash/_getPrototype.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getPrototype=__webpack_require__("./node_modules/lodash/_overArg.js")(Object.getPrototypeOf,Object);module.exports=getPrototype},"./node_modules/lodash/_getRawTag.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Symbol=__webpack_require__("./node_modules/lodash/_Symbol.js"),objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,nativeObjectToString=objectProto.toString,symToStringTag=Symbol?Symbol.toStringTag:void 0;module.exports=function getRawTag(value){var isOwn=hasOwnProperty.call(value,symToStringTag),tag=value[symToStringTag];try{value[symToStringTag]=void 0;var unmasked=!0}catch(e){}var result=nativeObjectToString.call(value);return unmasked&&(isOwn?value[symToStringTag]=tag:delete value[symToStringTag]),result}},"./node_modules/lodash/_getSymbols.js":(module,__unused_webpack_exports,__webpack_require__)=>{var arrayFilter=__webpack_require__("./node_modules/lodash/_arrayFilter.js"),stubArray=__webpack_require__("./node_modules/lodash/stubArray.js"),propertyIsEnumerable=Object.prototype.propertyIsEnumerable,nativeGetSymbols=Object.getOwnPropertySymbols,getSymbols=nativeGetSymbols?function(object){return null==object?[]:(object=Object(object),arrayFilter(nativeGetSymbols(object),(function(symbol){return propertyIsEnumerable.call(object,symbol)})))}:stubArray;module.exports=getSymbols},"./node_modules/lodash/_getSymbolsIn.js":(module,__unused_webpack_exports,__webpack_require__)=>{var arrayPush=__webpack_require__("./node_modules/lodash/_arrayPush.js"),getPrototype=__webpack_require__("./node_modules/lodash/_getPrototype.js"),getSymbols=__webpack_require__("./node_modules/lodash/_getSymbols.js"),stubArray=__webpack_require__("./node_modules/lodash/stubArray.js"),getSymbolsIn=Object.getOwnPropertySymbols?function(object){for(var result=[];object;)arrayPush(result,getSymbols(object)),object=getPrototype(object);return result}:stubArray;module.exports=getSymbolsIn},"./node_modules/lodash/_getTag.js":(module,__unused_webpack_exports,__webpack_require__)=>{var DataView=__webpack_require__("./node_modules/lodash/_DataView.js"),Map=__webpack_require__("./node_modules/lodash/_Map.js"),Promise=__webpack_require__("./node_modules/lodash/_Promise.js"),Set=__webpack_require__("./node_modules/lodash/_Set.js"),WeakMap=__webpack_require__("./node_modules/lodash/_WeakMap.js"),baseGetTag=__webpack_require__("./node_modules/lodash/_baseGetTag.js"),toSource=__webpack_require__("./node_modules/lodash/_toSource.js"),dataViewCtorString=toSource(DataView),mapCtorString=toSource(Map),promiseCtorString=toSource(Promise),setCtorString=toSource(Set),weakMapCtorString=toSource(WeakMap),getTag=baseGetTag;(DataView&&"[object DataView]"!=getTag(new DataView(new ArrayBuffer(1)))||Map&&"[object Map]"!=getTag(new Map)||Promise&&"[object Promise]"!=getTag(Promise.resolve())||Set&&"[object Set]"!=getTag(new Set)||WeakMap&&"[object WeakMap]"!=getTag(new WeakMap))&&(getTag=function(value){var result=baseGetTag(value),Ctor="[object Object]"==result?value.constructor:void 0,ctorString=Ctor?toSource(Ctor):"";if(ctorString)switch(ctorString){case dataViewCtorString:return"[object DataView]";case mapCtorString:return"[object Map]";case promiseCtorString:return"[object Promise]";case setCtorString:return"[object Set]";case weakMapCtorString:return"[object WeakMap]"}return result}),module.exports=getTag},"./node_modules/lodash/_getValue.js":module=>{module.exports=function getValue(object,key){return null==object?void 0:object[key]}},"./node_modules/lodash/_hasPath.js":(module,__unused_webpack_exports,__webpack_require__)=>{var castPath=__webpack_require__("./node_modules/lodash/_castPath.js"),isArguments=__webpack_require__("./node_modules/lodash/isArguments.js"),isArray=__webpack_require__("./node_modules/lodash/isArray.js"),isIndex=__webpack_require__("./node_modules/lodash/_isIndex.js"),isLength=__webpack_require__("./node_modules/lodash/isLength.js"),toKey=__webpack_require__("./node_modules/lodash/_toKey.js");module.exports=function hasPath(object,path,hasFunc){for(var index=-1,length=(path=castPath(path,object)).length,result=!1;++index{var nativeCreate=__webpack_require__("./node_modules/lodash/_nativeCreate.js");module.exports=function hashClear(){this.__data__=nativeCreate?nativeCreate(null):{},this.size=0}},"./node_modules/lodash/_hashDelete.js":module=>{module.exports=function hashDelete(key){var result=this.has(key)&&delete this.__data__[key];return this.size-=result?1:0,result}},"./node_modules/lodash/_hashGet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var nativeCreate=__webpack_require__("./node_modules/lodash/_nativeCreate.js"),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function hashGet(key){var data=this.__data__;if(nativeCreate){var result=data[key];return"__lodash_hash_undefined__"===result?void 0:result}return hasOwnProperty.call(data,key)?data[key]:void 0}},"./node_modules/lodash/_hashHas.js":(module,__unused_webpack_exports,__webpack_require__)=>{var nativeCreate=__webpack_require__("./node_modules/lodash/_nativeCreate.js"),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function hashHas(key){var data=this.__data__;return nativeCreate?void 0!==data[key]:hasOwnProperty.call(data,key)}},"./node_modules/lodash/_hashSet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var nativeCreate=__webpack_require__("./node_modules/lodash/_nativeCreate.js");module.exports=function hashSet(key,value){var data=this.__data__;return this.size+=this.has(key)?0:1,data[key]=nativeCreate&&void 0===value?"__lodash_hash_undefined__":value,this}},"./node_modules/lodash/_initCloneArray.js":module=>{var hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function initCloneArray(array){var length=array.length,result=new array.constructor(length);return length&&"string"==typeof array[0]&&hasOwnProperty.call(array,"index")&&(result.index=array.index,result.input=array.input),result}},"./node_modules/lodash/_initCloneByTag.js":(module,__unused_webpack_exports,__webpack_require__)=>{var cloneArrayBuffer=__webpack_require__("./node_modules/lodash/_cloneArrayBuffer.js"),cloneDataView=__webpack_require__("./node_modules/lodash/_cloneDataView.js"),cloneRegExp=__webpack_require__("./node_modules/lodash/_cloneRegExp.js"),cloneSymbol=__webpack_require__("./node_modules/lodash/_cloneSymbol.js"),cloneTypedArray=__webpack_require__("./node_modules/lodash/_cloneTypedArray.js");module.exports=function initCloneByTag(object,tag,isDeep){var Ctor=object.constructor;switch(tag){case"[object ArrayBuffer]":return cloneArrayBuffer(object);case"[object Boolean]":case"[object Date]":return new Ctor(+object);case"[object DataView]":return cloneDataView(object,isDeep);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return cloneTypedArray(object,isDeep);case"[object Map]":case"[object Set]":return new Ctor;case"[object Number]":case"[object String]":return new Ctor(object);case"[object RegExp]":return cloneRegExp(object);case"[object Symbol]":return cloneSymbol(object)}}},"./node_modules/lodash/_initCloneObject.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseCreate=__webpack_require__("./node_modules/lodash/_baseCreate.js"),getPrototype=__webpack_require__("./node_modules/lodash/_getPrototype.js"),isPrototype=__webpack_require__("./node_modules/lodash/_isPrototype.js");module.exports=function initCloneObject(object){return"function"!=typeof object.constructor||isPrototype(object)?{}:baseCreate(getPrototype(object))}},"./node_modules/lodash/_isIndex.js":module=>{var reIsUint=/^(?:0|[1-9]\d*)$/;module.exports=function isIndex(value,length){var type=typeof value;return!!(length=null==length?9007199254740991:length)&&("number"==type||"symbol"!=type&&reIsUint.test(value))&&value>-1&&value%1==0&&value{var isArray=__webpack_require__("./node_modules/lodash/isArray.js"),isSymbol=__webpack_require__("./node_modules/lodash/isSymbol.js"),reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/;module.exports=function isKey(value,object){if(isArray(value))return!1;var type=typeof value;return!("number"!=type&&"symbol"!=type&&"boolean"!=type&&null!=value&&!isSymbol(value))||(reIsPlainProp.test(value)||!reIsDeepProp.test(value)||null!=object&&value in Object(object))}},"./node_modules/lodash/_isKeyable.js":module=>{module.exports=function isKeyable(value){var type=typeof value;return"string"==type||"number"==type||"symbol"==type||"boolean"==type?"__proto__"!==value:null===value}},"./node_modules/lodash/_isMasked.js":(module,__unused_webpack_exports,__webpack_require__)=>{var uid,coreJsData=__webpack_require__("./node_modules/lodash/_coreJsData.js"),maskSrcKey=(uid=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||""))?"Symbol(src)_1."+uid:"";module.exports=function isMasked(func){return!!maskSrcKey&&maskSrcKey in func}},"./node_modules/lodash/_isPrototype.js":module=>{var objectProto=Object.prototype;module.exports=function isPrototype(value){var Ctor=value&&value.constructor;return value===("function"==typeof Ctor&&Ctor.prototype||objectProto)}},"./node_modules/lodash/_isStrictComparable.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isObject=__webpack_require__("./node_modules/lodash/isObject.js");module.exports=function isStrictComparable(value){return value==value&&!isObject(value)}},"./node_modules/lodash/_listCacheClear.js":module=>{module.exports=function listCacheClear(){this.__data__=[],this.size=0}},"./node_modules/lodash/_listCacheDelete.js":(module,__unused_webpack_exports,__webpack_require__)=>{var assocIndexOf=__webpack_require__("./node_modules/lodash/_assocIndexOf.js"),splice=Array.prototype.splice;module.exports=function listCacheDelete(key){var data=this.__data__,index=assocIndexOf(data,key);return!(index<0)&&(index==data.length-1?data.pop():splice.call(data,index,1),--this.size,!0)}},"./node_modules/lodash/_listCacheGet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var assocIndexOf=__webpack_require__("./node_modules/lodash/_assocIndexOf.js");module.exports=function listCacheGet(key){var data=this.__data__,index=assocIndexOf(data,key);return index<0?void 0:data[index][1]}},"./node_modules/lodash/_listCacheHas.js":(module,__unused_webpack_exports,__webpack_require__)=>{var assocIndexOf=__webpack_require__("./node_modules/lodash/_assocIndexOf.js");module.exports=function listCacheHas(key){return assocIndexOf(this.__data__,key)>-1}},"./node_modules/lodash/_listCacheSet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var assocIndexOf=__webpack_require__("./node_modules/lodash/_assocIndexOf.js");module.exports=function listCacheSet(key,value){var data=this.__data__,index=assocIndexOf(data,key);return index<0?(++this.size,data.push([key,value])):data[index][1]=value,this}},"./node_modules/lodash/_mapCacheClear.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Hash=__webpack_require__("./node_modules/lodash/_Hash.js"),ListCache=__webpack_require__("./node_modules/lodash/_ListCache.js"),Map=__webpack_require__("./node_modules/lodash/_Map.js");module.exports=function mapCacheClear(){this.size=0,this.__data__={hash:new Hash,map:new(Map||ListCache),string:new Hash}}},"./node_modules/lodash/_mapCacheDelete.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getMapData=__webpack_require__("./node_modules/lodash/_getMapData.js");module.exports=function mapCacheDelete(key){var result=getMapData(this,key).delete(key);return this.size-=result?1:0,result}},"./node_modules/lodash/_mapCacheGet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getMapData=__webpack_require__("./node_modules/lodash/_getMapData.js");module.exports=function mapCacheGet(key){return getMapData(this,key).get(key)}},"./node_modules/lodash/_mapCacheHas.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getMapData=__webpack_require__("./node_modules/lodash/_getMapData.js");module.exports=function mapCacheHas(key){return getMapData(this,key).has(key)}},"./node_modules/lodash/_mapCacheSet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getMapData=__webpack_require__("./node_modules/lodash/_getMapData.js");module.exports=function mapCacheSet(key,value){var data=getMapData(this,key),size=data.size;return data.set(key,value),this.size+=data.size==size?0:1,this}},"./node_modules/lodash/_mapToArray.js":module=>{module.exports=function mapToArray(map){var index=-1,result=Array(map.size);return map.forEach((function(value,key){result[++index]=[key,value]})),result}},"./node_modules/lodash/_matchesStrictComparable.js":module=>{module.exports=function matchesStrictComparable(key,srcValue){return function(object){return null!=object&&(object[key]===srcValue&&(void 0!==srcValue||key in Object(object)))}}},"./node_modules/lodash/_memoizeCapped.js":(module,__unused_webpack_exports,__webpack_require__)=>{var memoize=__webpack_require__("./node_modules/lodash/memoize.js");module.exports=function memoizeCapped(func){var result=memoize(func,(function(key){return 500===cache.size&&cache.clear(),key})),cache=result.cache;return result}},"./node_modules/lodash/_nativeCreate.js":(module,__unused_webpack_exports,__webpack_require__)=>{var nativeCreate=__webpack_require__("./node_modules/lodash/_getNative.js")(Object,"create");module.exports=nativeCreate},"./node_modules/lodash/_nativeKeys.js":(module,__unused_webpack_exports,__webpack_require__)=>{var nativeKeys=__webpack_require__("./node_modules/lodash/_overArg.js")(Object.keys,Object);module.exports=nativeKeys},"./node_modules/lodash/_nativeKeysIn.js":module=>{module.exports=function nativeKeysIn(object){var result=[];if(null!=object)for(var key in Object(object))result.push(key);return result}},"./node_modules/lodash/_nodeUtil.js":(module,exports,__webpack_require__)=>{module=__webpack_require__.nmd(module);var freeGlobal=__webpack_require__("./node_modules/lodash/_freeGlobal.js"),freeExports=exports&&!exports.nodeType&&exports,freeModule=freeExports&&module&&!module.nodeType&&module,freeProcess=freeModule&&freeModule.exports===freeExports&&freeGlobal.process,nodeUtil=function(){try{var types=freeModule&&freeModule.require&&freeModule.require("util").types;return types||freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch(e){}}();module.exports=nodeUtil},"./node_modules/lodash/_objectToString.js":module=>{var nativeObjectToString=Object.prototype.toString;module.exports=function objectToString(value){return nativeObjectToString.call(value)}},"./node_modules/lodash/_overArg.js":module=>{module.exports=function overArg(func,transform){return function(arg){return func(transform(arg))}}},"./node_modules/lodash/_root.js":(module,__unused_webpack_exports,__webpack_require__)=>{var freeGlobal=__webpack_require__("./node_modules/lodash/_freeGlobal.js"),freeSelf="object"==typeof self&&self&&self.Object===Object&&self,root=freeGlobal||freeSelf||Function("return this")();module.exports=root},"./node_modules/lodash/_setCacheAdd.js":module=>{module.exports=function setCacheAdd(value){return this.__data__.set(value,"__lodash_hash_undefined__"),this}},"./node_modules/lodash/_setCacheHas.js":module=>{module.exports=function setCacheHas(value){return this.__data__.has(value)}},"./node_modules/lodash/_setToArray.js":module=>{module.exports=function setToArray(set){var index=-1,result=Array(set.size);return set.forEach((function(value){result[++index]=value})),result}},"./node_modules/lodash/_stackClear.js":(module,__unused_webpack_exports,__webpack_require__)=>{var ListCache=__webpack_require__("./node_modules/lodash/_ListCache.js");module.exports=function stackClear(){this.__data__=new ListCache,this.size=0}},"./node_modules/lodash/_stackDelete.js":module=>{module.exports=function stackDelete(key){var data=this.__data__,result=data.delete(key);return this.size=data.size,result}},"./node_modules/lodash/_stackGet.js":module=>{module.exports=function stackGet(key){return this.__data__.get(key)}},"./node_modules/lodash/_stackHas.js":module=>{module.exports=function stackHas(key){return this.__data__.has(key)}},"./node_modules/lodash/_stackSet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var ListCache=__webpack_require__("./node_modules/lodash/_ListCache.js"),Map=__webpack_require__("./node_modules/lodash/_Map.js"),MapCache=__webpack_require__("./node_modules/lodash/_MapCache.js");module.exports=function stackSet(key,value){var data=this.__data__;if(data instanceof ListCache){var pairs=data.__data__;if(!Map||pairs.length<199)return pairs.push([key,value]),this.size=++data.size,this;data=this.__data__=new MapCache(pairs)}return data.set(key,value),this.size=data.size,this}},"./node_modules/lodash/_strictIndexOf.js":module=>{module.exports=function strictIndexOf(array,value,fromIndex){for(var index=fromIndex-1,length=array.length;++index{var memoizeCapped=__webpack_require__("./node_modules/lodash/_memoizeCapped.js"),rePropName=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=memoizeCapped((function(string){var result=[];return 46===string.charCodeAt(0)&&result.push(""),string.replace(rePropName,(function(match,number,quote,subString){result.push(quote?subString.replace(reEscapeChar,"$1"):number||match)})),result}));module.exports=stringToPath},"./node_modules/lodash/_toKey.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isSymbol=__webpack_require__("./node_modules/lodash/isSymbol.js");module.exports=function toKey(value){if("string"==typeof value||isSymbol(value))return value;var result=value+"";return"0"==result&&1/value==-Infinity?"-0":result}},"./node_modules/lodash/_toSource.js":module=>{var funcToString=Function.prototype.toString;module.exports=function toSource(func){if(null!=func){try{return funcToString.call(func)}catch(e){}try{return func+""}catch(e){}}return""}},"./node_modules/lodash/cloneDeep.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseClone=__webpack_require__("./node_modules/lodash/_baseClone.js");module.exports=function cloneDeep(value){return baseClone(value,5)}},"./node_modules/lodash/eq.js":module=>{module.exports=function eq(value,other){return value===other||value!=value&&other!=other}},"./node_modules/lodash/get.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGet=__webpack_require__("./node_modules/lodash/_baseGet.js");module.exports=function get(object,path,defaultValue){var result=null==object?void 0:baseGet(object,path);return void 0===result?defaultValue:result}},"./node_modules/lodash/hasIn.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseHasIn=__webpack_require__("./node_modules/lodash/_baseHasIn.js"),hasPath=__webpack_require__("./node_modules/lodash/_hasPath.js");module.exports=function hasIn(object,path){return null!=object&&hasPath(object,path,baseHasIn)}},"./node_modules/lodash/identity.js":module=>{module.exports=function identity(value){return value}},"./node_modules/lodash/isArguments.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsArguments=__webpack_require__("./node_modules/lodash/_baseIsArguments.js"),isObjectLike=__webpack_require__("./node_modules/lodash/isObjectLike.js"),objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,propertyIsEnumerable=objectProto.propertyIsEnumerable,isArguments=baseIsArguments(function(){return arguments}())?baseIsArguments:function(value){return isObjectLike(value)&&hasOwnProperty.call(value,"callee")&&!propertyIsEnumerable.call(value,"callee")};module.exports=isArguments},"./node_modules/lodash/isArray.js":module=>{var isArray=Array.isArray;module.exports=isArray},"./node_modules/lodash/isArrayLike.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isFunction=__webpack_require__("./node_modules/lodash/isFunction.js"),isLength=__webpack_require__("./node_modules/lodash/isLength.js");module.exports=function isArrayLike(value){return null!=value&&isLength(value.length)&&!isFunction(value)}},"./node_modules/lodash/isBuffer.js":(module,exports,__webpack_require__)=>{module=__webpack_require__.nmd(module);var root=__webpack_require__("./node_modules/lodash/_root.js"),stubFalse=__webpack_require__("./node_modules/lodash/stubFalse.js"),freeExports=exports&&!exports.nodeType&&exports,freeModule=freeExports&&module&&!module.nodeType&&module,Buffer=freeModule&&freeModule.exports===freeExports?root.Buffer:void 0,isBuffer=(Buffer?Buffer.isBuffer:void 0)||stubFalse;module.exports=isBuffer},"./node_modules/lodash/isFunction.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGetTag=__webpack_require__("./node_modules/lodash/_baseGetTag.js"),isObject=__webpack_require__("./node_modules/lodash/isObject.js");module.exports=function isFunction(value){if(!isObject(value))return!1;var tag=baseGetTag(value);return"[object Function]"==tag||"[object GeneratorFunction]"==tag||"[object AsyncFunction]"==tag||"[object Proxy]"==tag}},"./node_modules/lodash/isLength.js":module=>{module.exports=function isLength(value){return"number"==typeof value&&value>-1&&value%1==0&&value<=9007199254740991}},"./node_modules/lodash/isMap.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsMap=__webpack_require__("./node_modules/lodash/_baseIsMap.js"),baseUnary=__webpack_require__("./node_modules/lodash/_baseUnary.js"),nodeUtil=__webpack_require__("./node_modules/lodash/_nodeUtil.js"),nodeIsMap=nodeUtil&&nodeUtil.isMap,isMap=nodeIsMap?baseUnary(nodeIsMap):baseIsMap;module.exports=isMap},"./node_modules/lodash/isObject.js":module=>{module.exports=function isObject(value){var type=typeof value;return null!=value&&("object"==type||"function"==type)}},"./node_modules/lodash/isObjectLike.js":module=>{module.exports=function isObjectLike(value){return null!=value&&"object"==typeof value}},"./node_modules/lodash/isSet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsSet=__webpack_require__("./node_modules/lodash/_baseIsSet.js"),baseUnary=__webpack_require__("./node_modules/lodash/_baseUnary.js"),nodeUtil=__webpack_require__("./node_modules/lodash/_nodeUtil.js"),nodeIsSet=nodeUtil&&nodeUtil.isSet,isSet=nodeIsSet?baseUnary(nodeIsSet):baseIsSet;module.exports=isSet},"./node_modules/lodash/isSymbol.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGetTag=__webpack_require__("./node_modules/lodash/_baseGetTag.js"),isObjectLike=__webpack_require__("./node_modules/lodash/isObjectLike.js");module.exports=function isSymbol(value){return"symbol"==typeof value||isObjectLike(value)&&"[object Symbol]"==baseGetTag(value)}},"./node_modules/lodash/isTypedArray.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsTypedArray=__webpack_require__("./node_modules/lodash/_baseIsTypedArray.js"),baseUnary=__webpack_require__("./node_modules/lodash/_baseUnary.js"),nodeUtil=__webpack_require__("./node_modules/lodash/_nodeUtil.js"),nodeIsTypedArray=nodeUtil&&nodeUtil.isTypedArray,isTypedArray=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray;module.exports=isTypedArray},"./node_modules/lodash/keys.js":(module,__unused_webpack_exports,__webpack_require__)=>{var arrayLikeKeys=__webpack_require__("./node_modules/lodash/_arrayLikeKeys.js"),baseKeys=__webpack_require__("./node_modules/lodash/_baseKeys.js"),isArrayLike=__webpack_require__("./node_modules/lodash/isArrayLike.js");module.exports=function keys(object){return isArrayLike(object)?arrayLikeKeys(object):baseKeys(object)}},"./node_modules/lodash/keysIn.js":(module,__unused_webpack_exports,__webpack_require__)=>{var arrayLikeKeys=__webpack_require__("./node_modules/lodash/_arrayLikeKeys.js"),baseKeysIn=__webpack_require__("./node_modules/lodash/_baseKeysIn.js"),isArrayLike=__webpack_require__("./node_modules/lodash/isArrayLike.js");module.exports=function keysIn(object){return isArrayLike(object)?arrayLikeKeys(object,!0):baseKeysIn(object)}},"./node_modules/lodash/memoize.js":(module,__unused_webpack_exports,__webpack_require__)=>{var MapCache=__webpack_require__("./node_modules/lodash/_MapCache.js");function memoize(func,resolver){if("function"!=typeof func||null!=resolver&&"function"!=typeof resolver)throw new TypeError("Expected a function");var memoized=function(){var args=arguments,key=resolver?resolver.apply(this,args):args[0],cache=memoized.cache;if(cache.has(key))return cache.get(key);var result=func.apply(this,args);return memoized.cache=cache.set(key,result)||cache,result};return memoized.cache=new(memoize.Cache||MapCache),memoized}memoize.Cache=MapCache,module.exports=memoize},"./node_modules/lodash/noop.js":module=>{module.exports=function noop(){}},"./node_modules/lodash/pickBy.js":(module,__unused_webpack_exports,__webpack_require__)=>{var arrayMap=__webpack_require__("./node_modules/lodash/_arrayMap.js"),baseIteratee=__webpack_require__("./node_modules/lodash/_baseIteratee.js"),basePickBy=__webpack_require__("./node_modules/lodash/_basePickBy.js"),getAllKeysIn=__webpack_require__("./node_modules/lodash/_getAllKeysIn.js");module.exports=function pickBy(object,predicate){if(null==object)return{};var props=arrayMap(getAllKeysIn(object),(function(prop){return[prop]}));return predicate=baseIteratee(predicate),basePickBy(object,props,(function(value,path){return predicate(value,path[0])}))}},"./node_modules/lodash/property.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseProperty=__webpack_require__("./node_modules/lodash/_baseProperty.js"),basePropertyDeep=__webpack_require__("./node_modules/lodash/_basePropertyDeep.js"),isKey=__webpack_require__("./node_modules/lodash/_isKey.js"),toKey=__webpack_require__("./node_modules/lodash/_toKey.js");module.exports=function property(path){return isKey(path)?baseProperty(toKey(path)):basePropertyDeep(path)}},"./node_modules/lodash/stubArray.js":module=>{module.exports=function stubArray(){return[]}},"./node_modules/lodash/stubFalse.js":module=>{module.exports=function stubFalse(){return!1}},"./node_modules/lodash/toString.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseToString=__webpack_require__("./node_modules/lodash/_baseToString.js");module.exports=function toString(value){return null==value?"":baseToString(value)}},"./node_modules/lodash/uniq.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseUniq=__webpack_require__("./node_modules/lodash/_baseUniq.js");module.exports=function uniq(array){return array&&array.length?baseUniq(array):[]}},"./node_modules/memoizerific/memoizerific.js":(module,__unused_webpack_exports,__webpack_require__)=>{module.exports=function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){if(!u&&__webpack_require__("./node_modules/memoizerific sync recursive"))return require(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,(function(e){var n=t[o][1][e];return s(n||e)}),l,l.exports,e,t,n,r)}return n[o].exports}for(var i=void 0,o=0;o=0?(this.lastItem=this.list[index],this.list[index].val):void 0},Similar.prototype.set=function(key,val){var index;return this.lastItem&&this.isEqual(this.lastItem.key,key)?(this.lastItem.val=val,this):(index=this.indexOf(key))>=0?(this.lastItem=this.list[index],this.list[index].val=val,this):(this.lastItem={key,val},this.list.push(this.lastItem),this.size++,this)},Similar.prototype.delete=function(key){var index;if(this.lastItem&&this.isEqual(this.lastItem.key,key)&&(this.lastItem=void 0),(index=this.indexOf(key))>=0)return this.size--,this.list.splice(index,1)[0]},Similar.prototype.has=function(key){var index;return!(!this.lastItem||!this.isEqual(this.lastItem.key,key))||(index=this.indexOf(key))>=0&&(this.lastItem=this.list[index],!0)},Similar.prototype.forEach=function(callback,thisArg){var i;for(i=0;i=0&&(!(tmp=(currentLru=removedLru[i]).cacheItem.get(currentLru.arg))||!tmp.size);i--)currentLru.cacheItem.delete(currentLru.arg)}function isEqual(val1,val2){return val1===val2||val1!=val1&&val2!=val2}module.exports=function(limit){var cache=new MapOrSimilar(!1),lru=[];return function(fn){var memoizerific=function(){var newMap,fnResult,i,currentCache=cache,argsLengthMinusOne=arguments.length-1,lruPath=Array(argsLengthMinusOne+1),isMemoized=!0;if((memoizerific.numArgs||0===memoizerific.numArgs)&&memoizerific.numArgs!==argsLengthMinusOne+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(i=0;i0&&(lruPath[argsLengthMinusOne]={cacheItem:currentCache,arg:arguments[argsLengthMinusOne]},isMemoized?moveToMostRecentLru(lru,lruPath):lru.push(lruPath),lru.length>limit&&removeCachedResult(lru.shift())),memoizerific.wasMemoized=isMemoized,memoizerific.numArgs=argsLengthMinusOne+1,fnResult};return memoizerific.limit=limit,memoizerific.wasMemoized=!1,memoizerific.cache=cache,memoizerific.lru=lru,memoizerific}}},{"map-or-similar":1}]},{},[3])(3)},"./node_modules/react/cjs/react-jsx-runtime.production.min.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var f=__webpack_require__("./node_modules/react/index.js"),k=Symbol.for("react.element"),l=Symbol.for("react.fragment"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};function q(c,a,g){var b,d={},e=null,h=null;for(b in void 0!==g&&(e=""+g),void 0!==a.key&&(e=""+a.key),void 0!==a.ref&&(h=a.ref),a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l,exports.jsx=q,exports.jsxs=q},"./node_modules/react/jsx-runtime.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=__webpack_require__("./node_modules/react/cjs/react-jsx-runtime.production.min.js")},"./node_modules/telejson/dist/chunk-465TF3XA.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{P$:()=>__commonJS,bc:()=>extractEventHiddenProperties,f1:()=>__toESM});var __create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty,__commonJS=(cb,mod)=>function __require(){return mod||(0,cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports},__toESM=(mod,isNodeMode,target)=>(target=null!=mod?__create(__getProtoOf(mod)):{},((to,from,except,desc)=>{if(from&&"object"==typeof from||"function"==typeof from)for(let key of __getOwnPropNames(from))__hasOwnProp.call(to,key)||key===except||__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to})(!isNodeMode&&mod&&mod.__esModule?target:__defProp(target,"default",{value:mod,enumerable:!0}),mod)),eventProperties=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],customEventSpecificProperties=["detail"];function extractEventHiddenProperties(event){const rebuildEvent=eventProperties.filter((value=>void 0!==event[value])).reduce(((acc,value)=>({...acc,[value]:event[value]})),{});return event instanceof CustomEvent&&customEventSpecificProperties.filter((value=>void 0!==event[value])).forEach((value=>{rebuildEvent[value]=event[value]})),rebuildEvent}},"./node_modules/telejson/dist/index.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{As:()=>stringify});var _chunk_465TF3XA_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/telejson/dist/chunk-465TF3XA.mjs"),memoizerific__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/memoizerific/memoizerific.js"),memoizerific__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(memoizerific__WEBPACK_IMPORTED_MODULE_1__),require_shams=(0,_chunk_465TF3XA_mjs__WEBPACK_IMPORTED_MODULE_0__.P$)({"node_modules/has-symbols/shams.js"(exports,module){module.exports=function hasSymbols(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var obj={},sym=Symbol("test"),symObj=Object(sym);if("string"==typeof sym)return!1;if("[object Symbol]"!==Object.prototype.toString.call(sym))return!1;if("[object Symbol]"!==Object.prototype.toString.call(symObj))return!1;for(sym in obj[sym]=42,obj)return!1;if("function"==typeof Object.keys&&0!==Object.keys(obj).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(obj).length)return!1;var syms=Object.getOwnPropertySymbols(obj);if(1!==syms.length||syms[0]!==sym)return!1;if(!Object.prototype.propertyIsEnumerable.call(obj,sym))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var descriptor=Object.getOwnPropertyDescriptor(obj,sym);if(42!==descriptor.value||!0!==descriptor.enumerable)return!1}return!0}}}),require_has_symbols=(0,_chunk_465TF3XA_mjs__WEBPACK_IMPORTED_MODULE_0__.P$)({"node_modules/has-symbols/index.js"(exports,module){var origSymbol="undefined"!=typeof Symbol&&Symbol,hasSymbolSham=require_shams();module.exports=function hasNativeSymbols(){return"function"==typeof origSymbol&&("function"==typeof Symbol&&("symbol"==typeof origSymbol("foo")&&("symbol"==typeof Symbol("bar")&&hasSymbolSham())))}}}),require_implementation=(0,_chunk_465TF3XA_mjs__WEBPACK_IMPORTED_MODULE_0__.P$)({"node_modules/function-bind/implementation.js"(exports,module){var slice=Array.prototype.slice,toStr=Object.prototype.toString;module.exports=function bind(that){var target=this;if("function"!=typeof target||"[object Function]"!==toStr.call(target))throw new TypeError("Function.prototype.bind called on incompatible "+target);for(var bound,args2=slice.call(arguments,1),boundLength=Math.max(0,target.length-args2.length),boundArgs=[],i=0;i1&&"boolean"!=typeof allowMissing)throw new $TypeError('"allowMissing" argument must be a boolean');if(null===$exec(/^%?[^%]*%?$/,name2))throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var parts=function stringToPath3(string){var first=$strSlice(string,0,1),last=$strSlice(string,-1);if("%"===first&&"%"!==last)throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");if("%"===last&&"%"!==first)throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");var result2=[];return $replace(string,rePropName2,(function(match,number,quote,subString){result2[result2.length]=quote?$replace(subString,reEscapeChar2,"$1"):number||match})),result2}(name2),intrinsicBaseName=parts.length>0?parts[0]:"",intrinsic=getBaseIntrinsic("%"+intrinsicBaseName+"%",allowMissing),intrinsicRealName=intrinsic.name,value2=intrinsic.value,skipFurtherCaching=!1,alias=intrinsic.alias;alias&&(intrinsicBaseName=alias[0],$spliceApply(parts,$concat([0,1],alias)));for(var i=1,isOwn=!0;i=parts.length){var desc=$gOPD(value2,part);value2=(isOwn=!!desc)&&"get"in desc&&!("originalValue"in desc.get)?desc.get:value2[part]}else isOwn=hasOwn(value2,part),value2=value2[part];isOwn&&!skipFurtherCaching&&(INTRINSICS[intrinsicRealName]=value2)}}return value2}}}),require_call_bind=(0,_chunk_465TF3XA_mjs__WEBPACK_IMPORTED_MODULE_0__.P$)({"node_modules/call-bind/index.js"(exports,module){var bind=require_function_bind(),GetIntrinsic=require_get_intrinsic(),$apply=GetIntrinsic("%Function.prototype.apply%"),$call=GetIntrinsic("%Function.prototype.call%"),$reflectApply=GetIntrinsic("%Reflect.apply%",!0)||bind.call($call,$apply),$gOPD=GetIntrinsic("%Object.getOwnPropertyDescriptor%",!0),$defineProperty=GetIntrinsic("%Object.defineProperty%",!0),$max=GetIntrinsic("%Math.max%");if($defineProperty)try{$defineProperty({},"a",{value:1})}catch(e){$defineProperty=null}module.exports=function callBind(originalFunction){var func=$reflectApply(bind,$call,arguments);$gOPD&&$defineProperty&&($gOPD(func,"length").configurable&&$defineProperty(func,"length",{value:1+$max(0,originalFunction.length-(arguments.length-1))}));return func};var applyBind=function applyBind2(){return $reflectApply(bind,$apply,arguments)};$defineProperty?$defineProperty(module.exports,"apply",{value:applyBind}):module.exports.apply=applyBind}}),require_callBound=(0,_chunk_465TF3XA_mjs__WEBPACK_IMPORTED_MODULE_0__.P$)({"node_modules/call-bind/callBound.js"(exports,module){var GetIntrinsic=require_get_intrinsic(),callBind=require_call_bind(),$indexOf=callBind(GetIntrinsic("String.prototype.indexOf"));module.exports=function callBoundIntrinsic(name2,allowMissing){var intrinsic=GetIntrinsic(name2,!!allowMissing);return"function"==typeof intrinsic&&$indexOf(name2,".prototype.")>-1?callBind(intrinsic):intrinsic}}}),require_shams2=(0,_chunk_465TF3XA_mjs__WEBPACK_IMPORTED_MODULE_0__.P$)({"node_modules/has-tostringtag/shams.js"(exports,module){var hasSymbols=require_shams();module.exports=function hasToStringTagShams(){return hasSymbols()&&!!Symbol.toStringTag}}}),require_is_regex=(0,_chunk_465TF3XA_mjs__WEBPACK_IMPORTED_MODULE_0__.P$)({"node_modules/is-regex/index.js"(exports,module){var has,$exec,isRegexMarker,badStringifier,throwRegexMarker,callBound=require_callBound(),hasToStringTag=require_shams2()();hasToStringTag&&(has=callBound("Object.prototype.hasOwnProperty"),$exec=callBound("RegExp.prototype.exec"),isRegexMarker={},badStringifier={toString:throwRegexMarker=function(){throw isRegexMarker},valueOf:throwRegexMarker},"symbol"==typeof Symbol.toPrimitive&&(badStringifier[Symbol.toPrimitive]=throwRegexMarker));var $toString=callBound("Object.prototype.toString"),gOPD=Object.getOwnPropertyDescriptor;module.exports=hasToStringTag?function isRegex(value2){if(!value2||"object"!=typeof value2)return!1;var descriptor=gOPD(value2,"lastIndex");if(!(descriptor&&has(descriptor,"value")))return!1;try{$exec(value2,badStringifier)}catch(e){return e===isRegexMarker}}:function isRegex(value2){return!(!value2||"object"!=typeof value2&&"function"!=typeof value2)&&"[object RegExp]"===$toString(value2)}}}),require_is_function=(0,_chunk_465TF3XA_mjs__WEBPACK_IMPORTED_MODULE_0__.P$)({"node_modules/is-function/index.js"(exports,module){module.exports=function isFunction3(fn){if(!fn)return!1;var string=toString2.call(fn);return"[object Function]"===string||"function"==typeof fn&&"[object RegExp]"!==string||"undefined"!=typeof window&&(fn===window.setTimeout||fn===window.alert||fn===window.confirm||fn===window.prompt)};var toString2=Object.prototype.toString}}),require_is_symbol=(0,_chunk_465TF3XA_mjs__WEBPACK_IMPORTED_MODULE_0__.P$)({"node_modules/is-symbol/index.js"(exports,module){var symToStr,symStringRegex,isSymbolObject,toStr=Object.prototype.toString;require_has_symbols()()?(symToStr=Symbol.prototype.toString,symStringRegex=/^Symbol\(.*\)$/,isSymbolObject=function isRealSymbolObject(value2){return"symbol"==typeof value2.valueOf()&&symStringRegex.test(symToStr.call(value2))},module.exports=function isSymbol3(value2){if("symbol"==typeof value2)return!0;if("[object Symbol]"!==toStr.call(value2))return!1;try{return isSymbolObject(value2)}catch(e){return!1}}):module.exports=function isSymbol3(value2){return!1}}}),import_is_regex=(0,_chunk_465TF3XA_mjs__WEBPACK_IMPORTED_MODULE_0__.f1)(require_is_regex()),import_is_function=(0,_chunk_465TF3XA_mjs__WEBPACK_IMPORTED_MODULE_0__.f1)(require_is_function()),import_is_symbol=(0,_chunk_465TF3XA_mjs__WEBPACK_IMPORTED_MODULE_0__.f1)(require_is_symbol());function isObject(val){return null!=val&&"object"==typeof val&&!1===Array.isArray(val)}var freeGlobal="object"==typeof __webpack_require__.g&&__webpack_require__.g&&__webpack_require__.g.Object===Object&&__webpack_require__.g,freeGlobal_default=freeGlobal,freeSelf="object"==typeof self&&self&&self.Object===Object&&self,root2=freeGlobal_default||freeSelf||Function("return this")(),root_default=root2,Symbol2=root_default.Symbol,Symbol_default=Symbol2,objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,nativeObjectToString=objectProto.toString,symToStringTag=Symbol_default?Symbol_default.toStringTag:void 0;function getRawTag(value2){var isOwn=hasOwnProperty.call(value2,symToStringTag),tag=value2[symToStringTag];try{value2[symToStringTag]=void 0;var unmasked=!0}catch(e){}var result2=nativeObjectToString.call(value2);return unmasked&&(isOwn?value2[symToStringTag]=tag:delete value2[symToStringTag]),result2}var getRawTag_default=getRawTag,objectProto2=Object.prototype,nativeObjectToString2=objectProto2.toString;function objectToString(value2){return nativeObjectToString2.call(value2)}var objectToString_default=objectToString,nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag2=Symbol_default?Symbol_default.toStringTag:void 0;function baseGetTag(value2){return null==value2?void 0===value2?undefinedTag:nullTag:symToStringTag2&&symToStringTag2 in Object(value2)?getRawTag_default(value2):objectToString_default(value2)}var baseGetTag_default=baseGetTag;function isObjectLike(value2){return null!=value2&&"object"==typeof value2}var isObjectLike_default=null,symbolTag="[object Symbol]";function isSymbol(value2){return"symbol"==typeof value2||isObjectLike_default(value2)&&baseGetTag_default(value2)==symbolTag}var isSymbol_default=null;function arrayMap(array,iteratee){for(var index=-1,length=null==array?0:array.length,result2=Array(length);++index-1}var listCacheHas_default=listCacheHas;function listCacheSet(key2,value2){var data=this.__data__,index=assocIndexOf_default(data,key2);return index<0?(++this.size,data.push([key2,value2])):data[index][1]=value2,this}var listCacheSet_default=listCacheSet;function ListCache(entries){var index=-1,length=null==entries?0:entries.length;for(this.clear();++index{let inQuoteChar=null,inBlockComment=!1,inLineComment=!1,inRegexLiteral=!1,newCode="";if(code.indexOf("//")>=0||code.indexOf("/*")>=0)for(let i=0;iremoveCodeComments(code).replace(/\n\s*/g,"").trim())),convertShorthandMethods=function convertShorthandMethods2(key2,stringified){const fnHead=stringified.slice(0,stringified.indexOf("{")),fnBody=stringified.slice(stringified.indexOf("{"));if(fnHead.includes("=>"))return stringified;if(fnHead.includes("function"))return stringified;let modifiedHead=fnHead;return modifiedHead=modifiedHead.replace(key2,"function"),modifiedHead+fnBody},dateFormat=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,isJSON=input=>input.match(/^[\[\{\"\}].*[\]\}\"]$/);function convertUnconventionalData(data){if(!isObject3(data))return data;let result2=data,wasMutated=!1;return"undefined"!=typeof Event&&data instanceof Event&&(result2=(0,_chunk_465TF3XA_mjs__WEBPACK_IMPORTED_MODULE_0__.bc)(result2),wasMutated=!0),result2=Object.keys(result2).reduce(((acc,key2)=>{try{result2[key2]&&result2[key2].toJSON,acc[key2]=result2[key2]}catch(err){wasMutated=!0}return acc}),{}),wasMutated?result2:data}var replacer=function replacer2(options2){let objects,map,stack,keys;return function replace(key2,value2){try{if(""===key2)return keys=[],objects=new Map([[value2,"[]"]]),map=new Map,stack=[],value2;const origin=map.get(this)||this;for(;stack.length&&origin!==stack[0];)stack.shift(),keys.pop();if("boolean"==typeof value2)return value2;if(void 0===value2){if(!options2.allowUndefined)return;return"_undefined_"}if(null===value2)return null;if("number"==typeof value2)return value2===-1/0?"_-Infinity_":value2===1/0?"_Infinity_":Number.isNaN(value2)?"_NaN_":value2;if("bigint"==typeof value2)return`_bigint_${value2.toString()}`;if("string"==typeof value2){if(dateFormat.test(value2)){if(!options2.allowDate)return;return`_date_${value2}`}return value2}if((0,import_is_regex.default)(value2)){if(!options2.allowRegExp)return;return`_regexp_${value2.flags}|${value2.source}`}if((0,import_is_function.default)(value2)){if(!options2.allowFunction)return;const{name:name2}=value2,stringified=value2.toString();return stringified.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${name2}|${(()=>{}).toString()}`:`_function_${name2}|${cleanCode(convertShorthandMethods(key2,stringified))}`}if((0,import_is_symbol.default)(value2)){if(!options2.allowSymbol)return;const globalRegistryKey=Symbol.keyFor(value2);return void 0!==globalRegistryKey?`_gsymbol_${globalRegistryKey}`:`_symbol_${value2.toString().slice(7,-1)}`}if(stack.length>=options2.maxDepth)return Array.isArray(value2)?`[Array(${value2.length})]`:"[Object]";if(value2===this)return`_duplicate_${JSON.stringify(keys)}`;if(value2 instanceof Error&&options2.allowError)return{__isConvertedError__:!0,errorProperties:{...value2.cause?{cause:value2.cause}:{},...value2,name:value2.name,message:value2.message,stack:value2.stack,"_constructor-name_":value2.constructor.name}};if(value2.constructor&&value2.constructor.name&&"Object"!==value2.constructor.name&&!Array.isArray(value2)&&!options2.allowClass)return;const found=objects.get(value2);if(!found){const converted=Array.isArray(value2)?value2:convertUnconventionalData(value2);if(value2.constructor&&value2.constructor.name&&"Object"!==value2.constructor.name&&!Array.isArray(value2)&&options2.allowClass)try{Object.assign(converted,{"_constructor-name_":value2.constructor.name})}catch(e){}return keys.push(key2),stack.unshift(converted),objects.set(value2,JSON.stringify(keys)),value2!==converted&&map.set(value2,converted),converted}return`_duplicate_${found}`}catch(e){return}}},reviver2=function reviver(options){const refs=[];let root;return function revive(key,value){if(""===key&&(root=value,refs.forEach((({target,container,replacement})=>{const replacementArr=isJSON(replacement)?JSON.parse(replacement):replacement.split(".");0===replacementArr.length?container[target]=root:container[target]=get_default(root,replacementArr)}))),"_constructor-name_"===key)return value;if(isObject3(value)&&value.__isConvertedError__){const{message,...properties}=value.errorProperties,error=new Error(message);return Object.assign(error,properties),error}if(isObject3(value)&&value["_constructor-name_"]&&options.allowFunction){const name2=value["_constructor-name_"];if("Object"!==name2){const Fn=new Function(`return function ${name2.replace(/[^a-zA-Z0-9$_]+/g,"")}(){}`)();Object.setPrototypeOf(value,new Fn)}return delete value["_constructor-name_"],value}if("string"==typeof value&&value.startsWith("_function_")&&options.allowFunction){const[,name,source]=value.match(/_function_([^|]*)\|(.*)/)||[],sourceSanitized=source.replace(/[(\(\))|\\| |\]|`]*$/,"");if(!options.lazyEval)return eval(`(${sourceSanitized})`);const result=(...args)=>{const f=eval(`(${sourceSanitized})`);return f(...args)};return Object.defineProperty(result,"toString",{value:()=>sourceSanitized}),Object.defineProperty(result,"name",{value:name}),result}if("string"==typeof value&&value.startsWith("_regexp_")&&options.allowRegExp){const[,flags,source2]=value.match(/_regexp_([^|]*)\|(.*)/)||[];return new RegExp(source2,flags)}return"string"==typeof value&&value.startsWith("_date_")&&options.allowDate?new Date(value.replace("_date_","")):"string"==typeof value&&value.startsWith("_duplicate_")?(refs.push({target:key,container:this,replacement:value.replace(/^_duplicate_/,"")}),null):"string"==typeof value&&value.startsWith("_symbol_")&&options.allowSymbol?Symbol(value.replace("_symbol_","")):"string"==typeof value&&value.startsWith("_gsymbol_")&&options.allowSymbol?Symbol.for(value.replace("_gsymbol_","")):"string"==typeof value&&"_-Infinity_"===value?-1/0:"string"==typeof value&&"_Infinity_"===value?1/0:"string"==typeof value&&"_NaN_"===value?NaN:"string"==typeof value&&value.startsWith("_bigint_")&&"function"==typeof BigInt?BigInt(value.replace("_bigint_","")):value}},defaultOptions={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},stringify=(data,options2={})=>{const mergedOptions={...defaultOptions,...options2};return JSON.stringify(convertUnconventionalData(data),replacer(mergedOptions),options2.space)},mutator=()=>{const mutated=new Map;return function mutateUndefined(value2){isObject3(value2)&&Object.entries(value2).forEach((([k,v])=>{"_undefined_"===v?value2[k]=void 0:mutated.get(v)||(mutated.set(v,!0),mutateUndefined(v))})),Array.isArray(value2)&&value2.forEach(((v,index)=>{"_undefined_"===v?(mutated.set(v,!0),value2[index]=void 0):mutated.get(v)||(mutated.set(v,!0),mutateUndefined(v))}))}},parse=(data,options2={})=>{const mergedOptions={...defaultOptions,...options2},result2=JSON.parse(data,reviver2(mergedOptions));return mutator()(result2),result2}}}]); +//# sourceMappingURL=5942.54b8d23b.iframe.bundle.js.map \ No newline at end of file diff --git a/5942.bca38b10.iframe.bundle.js.LICENSE.txt b/5942.54b8d23b.iframe.bundle.js.LICENSE.txt similarity index 68% rename from 5942.bca38b10.iframe.bundle.js.LICENSE.txt rename to 5942.54b8d23b.iframe.bundle.js.LICENSE.txt index efc58865e..577886981 100644 --- a/5942.bca38b10.iframe.bundle.js.LICENSE.txt +++ b/5942.54b8d23b.iframe.bundle.js.LICENSE.txt @@ -14,3 +14,13 @@ * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors */ + +/** + * @license React + * react-jsx-runtime.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ diff --git a/5942.54b8d23b.iframe.bundle.js.map b/5942.54b8d23b.iframe.bundle.js.map new file mode 100644 index 000000000..c566d6ffc --- /dev/null +++ b/5942.54b8d23b.iframe.bundle.js.map @@ -0,0 +1 @@ +{"version":3,"file":"5942.54b8d23b.iframe.bundle.js","mappings":";;;;;;;;;;;;;;;;;AAuDA;;ACgpaA;AAIA;AACA;AAIA;;;;;;;;AAsxVA;;;;;;;AAmTA;;;;;AA2DA;;;;;AAyEA;;;;;;AAMA;AACA;AAIA;;;;;;;AC97qBA;;;AA2BA;;;;;AAIA;;;;AACA;AAnBA;;;AAoBA;;;;;;;;;;;AAIA;;;;AAgXA","sources":["webpack://@zendeskgarden/react-containers/./node_modules/@storybook/blocks/dist/index.mjs","webpack://@zendeskgarden/react-containers/./node_modules/@storybook/core/dist/components/index.js","webpack://@zendeskgarden/react-containers/./node_modules/@storybook/core/dist/theming/index.js"],"sourcesContent":["import { __commonJS, __toESM, getControlSetterButtonId, getControlId } from './chunk-MKV36LKP.mjs';\nimport React15, { createContext, lazy, useState, useCallback, useRef, useEffect, Component, cloneElement, useMemo, Suspense, useContext, Children } from 'react';\nimport { withReset, SyntaxHighlighter, FlexBar, Form, IconButton, codeCommon, components, Zoom, ActionBar, Button, Link, ResetWrapper, Code, nameSpaceClassNames, H3, H2, Loader, EmptyTabContent, TabsState, ErrorFormatter, getStoryHref, WithTooltipPure } from 'storybook/internal/components';\nimport { styled, ignoreSsrWarning, useTheme, themes, ThemeProvider, convert, ensure } from 'storybook/internal/theming';\nimport { transparentize, darken, opacify, lighten, rgba } from 'polished';\nimport { global as global$1 } from '@storybook/global';\nimport { AddIcon, SubtractIcon, ChevronSmallUpIcon, ChevronSmallDownIcon, ChevronDownIcon as ChevronDownIcon$1, ChevronRightIcon, ZoomIcon, ZoomOutIcon, ZoomResetIcon, EyeCloseIcon, EyeIcon, DocumentIcon, UndoIcon, VideoIcon, LinkIcon } from '@storybook/icons';\nimport { deprecate, once, logger } from 'storybook/internal/client-logger';\nimport { includeConditionalArg } from '@storybook/csf';\nimport pickBy from 'lodash/pickBy.js';\nimport Markdown from 'markdown-to-jsx';\nimport cloneDeep from 'lodash/cloneDeep.js';\nimport uniq from 'lodash/uniq.js';\nimport memoize from 'memoizerific';\nimport { filterArgTypes, composeConfigs, Preview as Preview$1, DocsContext as DocsContext$1 } from 'storybook/internal/preview-api';\nimport { SNIPPET_RENDERED, SourceType } from 'storybook/internal/docs-tools';\nimport { stringify } from 'telejson';\nimport { STORY_ARGS_UPDATED, UPDATE_STORY_ARGS, RESET_STORY_ARGS, GLOBALS_UPDATED, NAVIGATE_URL } from 'storybook/internal/core-events';\nimport { dedent } from 'ts-dedent';\nimport { Channel } from 'storybook/internal/channels';\n\nvar require_default_options=__commonJS({\"../../node_modules/tocbot/src/js/default-options.js\"(exports,module){module.exports={tocSelector:\".js-toc\",contentSelector:\".js-toc-content\",headingSelector:\"h1, h2, h3\",ignoreSelector:\".js-toc-ignore\",hasInnerContainers:!1,linkClass:\"toc-link\",extraLinkClasses:\"\",activeLinkClass:\"is-active-link\",listClass:\"toc-list\",extraListClasses:\"\",isCollapsedClass:\"is-collapsed\",collapsibleClass:\"is-collapsible\",listItemClass:\"toc-list-item\",activeListItemClass:\"is-active-li\",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(e){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:\"is-position-fixed\",fixedSidebarOffset:\"auto\",includeHtml:!1,includeTitleTags:!1,onClick:function(e){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:\"\",disableTocScrollSync:!1,tocScrollOffset:0};}});var require_build_html=__commonJS({\"../../node_modules/tocbot/src/js/build-html.js\"(exports,module){module.exports=function(options){var forEach=[].forEach,some=[].some,body=document.body,tocElement,currentlyHighlighting=!0,SPACE_CHAR=\" \";function createEl(d,container){var link=container.appendChild(createLink(d));if(d.children.length){var list=createList(d.isCollapsed);d.children.forEach(function(child){createEl(child,list);}),link.appendChild(list);}}function render(parent,data){var collapsed=!1,container=createList(collapsed);if(data.forEach(function(d){createEl(d,container);}),tocElement=parent||tocElement,tocElement!==null)return tocElement.firstChild&&tocElement.removeChild(tocElement.firstChild),data.length===0?tocElement:tocElement.appendChild(container)}function createLink(data){var item=document.createElement(\"li\"),a=document.createElement(\"a\");return options.listItemClass&&item.setAttribute(\"class\",options.listItemClass),options.onClick&&(a.onclick=options.onClick),options.includeTitleTags&&a.setAttribute(\"title\",data.textContent),options.includeHtml&&data.childNodes.length?forEach.call(data.childNodes,function(node){a.appendChild(node.cloneNode(!0));}):a.textContent=data.textContent,a.setAttribute(\"href\",options.basePath+\"#\"+data.id),a.setAttribute(\"class\",options.linkClass+SPACE_CHAR+\"node-name--\"+data.nodeName+SPACE_CHAR+options.extraLinkClasses),item.appendChild(a),item}function createList(isCollapsed){var listElement=options.orderedList?\"ol\":\"ul\",list=document.createElement(listElement),classes=options.listClass+SPACE_CHAR+options.extraListClasses;return isCollapsed&&(classes=classes+SPACE_CHAR+options.collapsibleClass,classes=classes+SPACE_CHAR+options.isCollapsedClass),list.setAttribute(\"class\",classes),list}function updateFixedSidebarClass(){if(options.scrollContainer&&document.querySelector(options.scrollContainer)){var top;top=document.querySelector(options.scrollContainer).scrollTop;}else top=document.documentElement.scrollTop||body.scrollTop;var posFixedEl=document.querySelector(options.positionFixedSelector);options.fixedSidebarOffset===\"auto\"&&(options.fixedSidebarOffset=tocElement.offsetTop),top>options.fixedSidebarOffset?posFixedEl.className.indexOf(options.positionFixedClass)===-1&&(posFixedEl.className+=SPACE_CHAR+options.positionFixedClass):posFixedEl.className=posFixedEl.className.replace(SPACE_CHAR+options.positionFixedClass,\"\");}function getHeadingTopPos(obj){var position=0;return obj!==null&&(position=obj.offsetTop,options.hasInnerContainers&&(position+=getHeadingTopPos(obj.offsetParent))),position}function updateClassname(obj,className){return obj&&obj.className!==className&&(obj.className=className),obj}function updateToc(headingsArray){if(options.scrollContainer&&document.querySelector(options.scrollContainer)){var top;top=document.querySelector(options.scrollContainer).scrollTop;}else top=document.documentElement.scrollTop||body.scrollTop;options.positionFixedSelector&&updateFixedSidebarClass();var headings=headingsArray,topHeader;if(currentlyHighlighting&&tocElement!==null&&headings.length>0){some.call(headings,function(heading,i){if(getHeadingTopPos(heading)>top+options.headingsOffset+10){var index=i===0?i:i-1;return topHeader=headings[index],!0}else if(i===headings.length-1)return topHeader=headings[headings.length-1],!0});var oldActiveTocLink=tocElement.querySelector(\".\"+options.activeLinkClass),activeTocLink=tocElement.querySelector(\".\"+options.linkClass+\".node-name--\"+topHeader.nodeName+'[href=\"'+options.basePath+\"#\"+topHeader.id.replace(/([ #;&,.+*~':\"!^$[\\]()=>|/\\\\@])/g,\"\\\\$1\")+'\"]');if(oldActiveTocLink===activeTocLink)return;var tocLinks=tocElement.querySelectorAll(\".\"+options.linkClass);forEach.call(tocLinks,function(tocLink){updateClassname(tocLink,tocLink.className.replace(SPACE_CHAR+options.activeLinkClass,\"\"));});var tocLis=tocElement.querySelectorAll(\".\"+options.listItemClass);forEach.call(tocLis,function(tocLi){updateClassname(tocLi,tocLi.className.replace(SPACE_CHAR+options.activeListItemClass,\"\"));}),activeTocLink&&activeTocLink.className.indexOf(options.activeLinkClass)===-1&&(activeTocLink.className+=SPACE_CHAR+options.activeLinkClass);var li=activeTocLink&&activeTocLink.parentNode;li&&li.className.indexOf(options.activeListItemClass)===-1&&(li.className+=SPACE_CHAR+options.activeListItemClass);var tocLists=tocElement.querySelectorAll(\".\"+options.listClass+\".\"+options.collapsibleClass);forEach.call(tocLists,function(list){list.className.indexOf(options.isCollapsedClass)===-1&&(list.className+=SPACE_CHAR+options.isCollapsedClass);}),activeTocLink&&activeTocLink.nextSibling&&activeTocLink.nextSibling.className.indexOf(options.isCollapsedClass)!==-1&&updateClassname(activeTocLink.nextSibling,activeTocLink.nextSibling.className.replace(SPACE_CHAR+options.isCollapsedClass,\"\")),removeCollapsedFromParents(activeTocLink&&activeTocLink.parentNode.parentNode);}}function removeCollapsedFromParents(element){return element&&element.className.indexOf(options.collapsibleClass)!==-1&&element.className.indexOf(options.isCollapsedClass)!==-1?(updateClassname(element,element.className.replace(SPACE_CHAR+options.isCollapsedClass,\"\")),removeCollapsedFromParents(element.parentNode.parentNode)):element}function disableTocAnimation(event){var target=event.target||event.srcElement;typeof target.className!=\"string\"||target.className.indexOf(options.linkClass)===-1||(currentlyHighlighting=!1);}function enableTocAnimation(){currentlyHighlighting=!0;}return {enableTocAnimation,disableTocAnimation,render,updateToc}};}});var require_parse_content=__commonJS({\"../../node_modules/tocbot/src/js/parse-content.js\"(exports,module){module.exports=function(options){var reduce=[].reduce;function getLastItem(array2){return array2[array2.length-1]}function getHeadingLevel(heading){return +heading.nodeName.toUpperCase().replace(\"H\",\"\")}function isHTMLElement(maybeElement){try{return maybeElement instanceof window.HTMLElement||maybeElement instanceof window.parent.HTMLElement}catch{return maybeElement instanceof window.HTMLElement}}function getHeadingObject(heading){if(!isHTMLElement(heading))return heading;if(options.ignoreHiddenElements&&(!heading.offsetHeight||!heading.offsetParent))return null;let headingLabel=heading.getAttribute(\"data-heading-label\")||(options.headingLabelCallback?String(options.headingLabelCallback(heading.innerText)):(heading.innerText||heading.textContent).trim());var obj={id:heading.id,children:[],nodeName:heading.nodeName,headingLevel:getHeadingLevel(heading),textContent:headingLabel};return options.includeHtml&&(obj.childNodes=heading.childNodes),options.headingObjectCallback?options.headingObjectCallback(obj,heading):obj}function addNode(node,nest){for(var obj=getHeadingObject(node),level=obj.headingLevel,array2=nest,lastItem=getLastItem(array2),lastItemLevel=lastItem?lastItem.headingLevel:0,counter=level-lastItemLevel;counter>0&&(lastItem=getLastItem(array2),!(lastItem&&level===lastItem.headingLevel));)lastItem&&lastItem.children!==void 0&&(array2=lastItem.children),counter--;return level>=options.collapseDepth&&(obj.isCollapsed=!0),array2.push(obj),array2}function selectHeadings(contentElement,headingSelector){var selectors=headingSelector;options.ignoreSelector&&(selectors=headingSelector.split(\",\").map(function(selector){return selector.trim()+\":not(\"+options.ignoreSelector+\")\"}));try{return contentElement.querySelectorAll(selectors)}catch{return console.warn(\"Headers not found with selector: \"+selectors),null}}function nestHeadingsArray(headingsArray){return reduce.call(headingsArray,function(prev,curr){var currentHeading=getHeadingObject(curr);return currentHeading&&addNode(currentHeading,prev.nest),prev},{nest:[]})}return {nestHeadingsArray,selectHeadings}};}});var require_update_toc_scroll=__commonJS({\"../../node_modules/tocbot/src/js/update-toc-scroll.js\"(exports,module){module.exports=function(options){var toc=options.tocElement||document.querySelector(options.tocSelector);if(toc&&toc.scrollHeight>toc.clientHeight){var activeItem=toc.querySelector(\".\"+options.activeListItemClass);activeItem&&(toc.scrollTop=activeItem.offsetTop-options.tocScrollOffset);}};}});var require_scroll_smooth=__commonJS({\"../../node_modules/tocbot/src/js/scroll-smooth/index.js\"(exports){exports.initSmoothScrolling=initSmoothScrolling;function initSmoothScrolling(options){var duration=options.duration,offset=options.offset,pageUrl=location.hash?stripHash(location.href):location.href;delegatedLinkHijacking();function delegatedLinkHijacking(){document.body.addEventListener(\"click\",onClick,!1);function onClick(e){!isInPageLink(e.target)||e.target.className.indexOf(\"no-smooth-scroll\")>-1||e.target.href.charAt(e.target.href.length-2)===\"#\"&&e.target.href.charAt(e.target.href.length-1)===\"!\"||e.target.className.indexOf(options.linkClass)===-1||jump(e.target.hash,{duration,offset,callback:function(){setFocus(e.target.hash);}});}}function isInPageLink(n){return n.tagName.toLowerCase()===\"a\"&&(n.hash.length>0||n.href.charAt(n.href.length-1)===\"#\")&&(stripHash(n.href)===pageUrl||stripHash(n.href)+\"#\"===pageUrl)}function stripHash(url){return url.slice(0,url.lastIndexOf(\"#\"))}function setFocus(hash){var element=document.getElementById(hash.substring(1));element&&(/^(?:a|select|input|button|textarea)$/i.test(element.tagName)||(element.tabIndex=-1),element.focus());}}function jump(target,options){var start=window.pageYOffset,opt={duration:options.duration,offset:options.offset||0,callback:options.callback,easing:options.easing||easeInOutQuad},tgt=document.querySelector('[id=\"'+decodeURI(target).split(\"#\").join(\"\")+'\"]')||document.querySelector('[id=\"'+target.split(\"#\").join(\"\")+'\"]'),distance=typeof target==\"string\"?opt.offset+(target?tgt&&tgt.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):target,duration=typeof opt.duration==\"function\"?opt.duration(distance):opt.duration,timeStart,timeElapsed;requestAnimationFrame(function(time){timeStart=time,loop(time);});function loop(time){timeElapsed=time-timeStart,window.scrollTo(0,opt.easing(timeElapsed,start,distance,duration)),timeElapsed\"u\"&&!supports)return;var headingsArray,hasOwnProperty=Object.prototype.hasOwnProperty;function extend(){for(var target={},i=0;i({backgroundColor:theme.base===\"light\"?\"rgba(0,0,0,.01)\":\"rgba(255,255,255,.01)\",borderRadius:theme.appBorderRadius,border:`1px dashed ${theme.appBorderColor}`,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",padding:20,margin:\"25px 0 40px\",color:transparentize(.3,theme.color.defaultText),fontSize:theme.typography.size.s2})),EmptyBlock=props=>React15.createElement(Wrapper,{...props,className:\"docblock-emptyblock sb-unstyled\"});var StyledSyntaxHighlighter=styled(SyntaxHighlighter)(({theme})=>({fontSize:`${theme.typography.size.s2-1}px`,lineHeight:\"19px\",margin:\"25px 0 40px\",borderRadius:theme.appBorderRadius,boxShadow:theme.base===\"light\"?\"rgba(0, 0, 0, 0.10) 0 1px 3px 0\":\"rgba(0, 0, 0, 0.20) 0 2px 5px 0\",\"pre.prismjs\":{padding:20,background:\"inherit\"}}));var SourceSkeletonWrapper=styled.div(({theme})=>({background:theme.background.content,borderRadius:theme.appBorderRadius,border:`1px solid ${theme.appBorderColor}`,boxShadow:theme.base===\"light\"?\"rgba(0, 0, 0, 0.10) 0 1px 3px 0\":\"rgba(0, 0, 0, 0.20) 0 2px 5px 0\",margin:\"25px 0 40px\",padding:\"20px 20px 20px 22px\"})),SourceSkeletonPlaceholder=styled.div(({theme})=>({animation:`${theme.animation.glow} 1.5s ease-in-out infinite`,background:theme.appBorderColor,height:17,marginTop:1,width:\"60%\",[`&:first-child${ignoreSsrWarning}`]:{margin:0}})),SourceSkeleton=()=>React15.createElement(SourceSkeletonWrapper,null,React15.createElement(SourceSkeletonPlaceholder,null),React15.createElement(SourceSkeletonPlaceholder,{style:{width:\"80%\"}}),React15.createElement(SourceSkeletonPlaceholder,{style:{width:\"30%\"}}),React15.createElement(SourceSkeletonPlaceholder,{style:{width:\"80%\"}})),Source=({isLoading,error,language,code,dark,format:format2=!1,...rest})=>{let{typography}=useTheme();if(isLoading)return React15.createElement(SourceSkeleton,null);if(error)return React15.createElement(EmptyBlock,null,error);let syntaxHighlighter=React15.createElement(StyledSyntaxHighlighter,{bordered:!0,copyable:!0,format:format2,language,className:\"docblock-source sb-unstyled\",...rest},code);if(typeof dark>\"u\")return syntaxHighlighter;let overrideTheme=dark?themes.dark:themes.light;return React15.createElement(ThemeProvider,{theme:convert({...overrideTheme,fontCode:typography.fonts.mono,fontBase:typography.fonts.base})},syntaxHighlighter)};var toGlobalSelector=element=>`& :where(${element}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${element}))`,breakpoint=600,Title=styled.h1(withReset,({theme})=>({color:theme.color.defaultText,fontSize:theme.typography.size.m3,fontWeight:theme.typography.weight.bold,lineHeight:\"32px\",[`@media (min-width: ${breakpoint}px)`]:{fontSize:theme.typography.size.l1,lineHeight:\"36px\",marginBottom:\"16px\"}})),Subtitle=styled.h2(withReset,({theme})=>({fontWeight:theme.typography.weight.regular,fontSize:theme.typography.size.s3,lineHeight:\"20px\",borderBottom:\"none\",marginBottom:15,[`@media (min-width: ${breakpoint}px)`]:{fontSize:theme.typography.size.m1,lineHeight:\"28px\",marginBottom:24},color:transparentize(.25,theme.color.defaultText)})),DocsContent=styled.div(({theme})=>{let reset={fontFamily:theme.typography.fonts.base,fontSize:theme.typography.size.s3,margin:0,WebkitFontSmoothing:\"antialiased\",MozOsxFontSmoothing:\"grayscale\",WebkitTapHighlightColor:\"rgba(0, 0, 0, 0)\",WebkitOverflowScrolling:\"touch\"},headers={margin:\"20px 0 8px\",padding:0,cursor:\"text\",position:\"relative\",color:theme.color.defaultText,\"&:first-of-type\":{marginTop:0,paddingTop:0},\"&:hover a.anchor\":{textDecoration:\"none\"},\"& code\":{fontSize:\"inherit\"}},code={lineHeight:1,margin:\"0 2px\",padding:\"3px 5px\",whiteSpace:\"nowrap\",borderRadius:3,fontSize:theme.typography.size.s2-1,border:theme.base===\"light\"?`1px solid ${theme.color.mediumlight}`:`1px solid ${theme.color.darker}`,color:theme.base===\"light\"?transparentize(.1,theme.color.defaultText):transparentize(.3,theme.color.defaultText),backgroundColor:theme.base===\"light\"?theme.color.lighter:theme.color.border};return {maxWidth:1e3,width:\"100%\",[toGlobalSelector(\"a\")]:{...reset,fontSize:\"inherit\",lineHeight:\"24px\",color:theme.color.secondary,textDecoration:\"none\",\"&.absent\":{color:\"#cc0000\"},\"&.anchor\":{display:\"block\",paddingLeft:30,marginLeft:-30,cursor:\"pointer\",position:\"absolute\",top:0,left:0,bottom:0}},[toGlobalSelector(\"blockquote\")]:{...reset,margin:\"16px 0\",borderLeft:`4px solid ${theme.color.medium}`,padding:\"0 15px\",color:theme.color.dark,\"& > :first-of-type\":{marginTop:0},\"& > :last-child\":{marginBottom:0}},[toGlobalSelector(\"div\")]:reset,[toGlobalSelector(\"dl\")]:{...reset,margin:\"16px 0\",padding:0,\"& dt\":{fontSize:\"14px\",fontWeight:\"bold\",fontStyle:\"italic\",padding:0,margin:\"16px 0 4px\"},\"& dt:first-of-type\":{padding:0},\"& dt > :first-of-type\":{marginTop:0},\"& dt > :last-child\":{marginBottom:0},\"& dd\":{margin:\"0 0 16px\",padding:\"0 15px\"},\"& dd > :first-of-type\":{marginTop:0},\"& dd > :last-child\":{marginBottom:0}},[toGlobalSelector(\"h1\")]:{...reset,...headers,fontSize:`${theme.typography.size.l1}px`,fontWeight:theme.typography.weight.bold},[toGlobalSelector(\"h2\")]:{...reset,...headers,fontSize:`${theme.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${theme.appBorderColor}`},[toGlobalSelector(\"h3\")]:{...reset,...headers,fontSize:`${theme.typography.size.m1}px`,fontWeight:theme.typography.weight.bold},[toGlobalSelector(\"h4\")]:{...reset,...headers,fontSize:`${theme.typography.size.s3}px`},[toGlobalSelector(\"h5\")]:{...reset,...headers,fontSize:`${theme.typography.size.s2}px`},[toGlobalSelector(\"h6\")]:{...reset,...headers,fontSize:`${theme.typography.size.s2}px`,color:theme.color.dark},[toGlobalSelector(\"hr\")]:{border:\"0 none\",borderTop:`1px solid ${theme.appBorderColor}`,height:4,padding:0},[toGlobalSelector(\"img\")]:{maxWidth:\"100%\"},[toGlobalSelector(\"li\")]:{...reset,fontSize:theme.typography.size.s2,color:theme.color.defaultText,lineHeight:\"24px\",\"& + li\":{marginTop:\".25em\"},\"& ul, & ol\":{marginTop:\".25em\",marginBottom:0},\"& code\":code},[toGlobalSelector(\"ol\")]:{...reset,margin:\"16px 0\",paddingLeft:30,\"& :first-of-type\":{marginTop:0},\"& :last-child\":{marginBottom:0}},[toGlobalSelector(\"p\")]:{...reset,margin:\"16px 0\",fontSize:theme.typography.size.s2,lineHeight:\"24px\",color:theme.color.defaultText,\"& code\":code},[toGlobalSelector(\"pre\")]:{...reset,fontFamily:theme.typography.fonts.mono,WebkitFontSmoothing:\"antialiased\",MozOsxFontSmoothing:\"grayscale\",lineHeight:\"18px\",padding:\"11px 1rem\",whiteSpace:\"pre-wrap\",color:\"inherit\",borderRadius:3,margin:\"1rem 0\",\"&:not(.prismjs)\":{background:\"transparent\",border:\"none\",borderRadius:0,padding:0,margin:0},\"& pre, &.prismjs\":{padding:15,margin:0,whiteSpace:\"pre-wrap\",color:\"inherit\",fontSize:\"13px\",lineHeight:\"19px\",code:{color:\"inherit\",fontSize:\"inherit\"}},\"& code\":{whiteSpace:\"pre\"},\"& code, & tt\":{border:\"none\"}},[toGlobalSelector(\"span\")]:{...reset,\"&.frame\":{display:\"block\",overflow:\"hidden\",\"& > span\":{border:`1px solid ${theme.color.medium}`,display:\"block\",float:\"left\",overflow:\"hidden\",margin:\"13px 0 0\",padding:7,width:\"auto\"},\"& span img\":{display:\"block\",float:\"left\"},\"& span span\":{clear:\"both\",color:theme.color.darkest,display:\"block\",padding:\"5px 0 0\"}},\"&.align-center\":{display:\"block\",overflow:\"hidden\",clear:\"both\",\"& > span\":{display:\"block\",overflow:\"hidden\",margin:\"13px auto 0\",textAlign:\"center\"},\"& span img\":{margin:\"0 auto\",textAlign:\"center\"}},\"&.align-right\":{display:\"block\",overflow:\"hidden\",clear:\"both\",\"& > span\":{display:\"block\",overflow:\"hidden\",margin:\"13px 0 0\",textAlign:\"right\"},\"& span img\":{margin:0,textAlign:\"right\"}},\"&.float-left\":{display:\"block\",marginRight:13,overflow:\"hidden\",float:\"left\",\"& span\":{margin:\"13px 0 0\"}},\"&.float-right\":{display:\"block\",marginLeft:13,overflow:\"hidden\",float:\"right\",\"& > span\":{display:\"block\",overflow:\"hidden\",margin:\"13px auto 0\",textAlign:\"right\"}}},[toGlobalSelector(\"table\")]:{...reset,margin:\"16px 0\",fontSize:theme.typography.size.s2,lineHeight:\"24px\",padding:0,borderCollapse:\"collapse\",\"& tr\":{borderTop:`1px solid ${theme.appBorderColor}`,backgroundColor:theme.appContentBg,margin:0,padding:0},\"& tr:nth-of-type(2n)\":{backgroundColor:theme.base===\"dark\"?theme.color.darker:theme.color.lighter},\"& tr th\":{fontWeight:\"bold\",color:theme.color.defaultText,border:`1px solid ${theme.appBorderColor}`,margin:0,padding:\"6px 13px\"},\"& tr td\":{border:`1px solid ${theme.appBorderColor}`,color:theme.color.defaultText,margin:0,padding:\"6px 13px\"},\"& tr th :first-of-type, & tr td :first-of-type\":{marginTop:0},\"& tr th :last-child, & tr td :last-child\":{marginBottom:0}},[toGlobalSelector(\"ul\")]:{...reset,margin:\"16px 0\",paddingLeft:30,\"& :first-of-type\":{marginTop:0},\"& :last-child\":{marginBottom:0},listStyle:\"disc\"}}}),DocsWrapper=styled.div(({theme})=>({background:theme.background.content,display:\"flex\",justifyContent:\"center\",padding:\"4rem 20px\",minHeight:\"100vh\",boxSizing:\"border-box\",gap:\"3rem\",[`@media (min-width: ${breakpoint}px)`]:{}})),DocsPageWrapper=({children,toc})=>React15.createElement(DocsWrapper,{className:\"sbdocs sbdocs-wrapper\"},React15.createElement(DocsContent,{className:\"sbdocs sbdocs-content\"},children),toc);var getBlockBackgroundStyle=theme=>({borderRadius:theme.appBorderRadius,background:theme.background.content,boxShadow:theme.base===\"light\"?\"rgba(0, 0, 0, 0.10) 0 1px 3px 0\":\"rgba(0, 0, 0, 0.20) 0 2px 5px 0\",border:`1px solid ${theme.appBorderColor}`});var{window:globalWindow}=global$1,IFrame=class extends Component{constructor(){super(...arguments);this.iframe=null;}componentDidMount(){let{id}=this.props;this.iframe=globalWindow.document.getElementById(id);}shouldComponentUpdate(nextProps){let{scale}=nextProps;return scale!==this.props.scale&&this.setIframeBodyStyle({width:`${scale*100}%`,height:`${scale*100}%`,transform:`scale(${1/scale})`,transformOrigin:\"top left\"}),!1}setIframeBodyStyle(style){return Object.assign(this.iframe.contentDocument.body.style,style)}render(){let{id,title,src,allowFullScreen,scale,...rest}=this.props;return React15.createElement(\"iframe\",{id,title,src,...allowFullScreen?{allow:\"fullscreen\"}:{},loading:\"lazy\",...rest})}};var ZoomContext=createContext({scale:1});var{PREVIEW_URL}=global$1,BASE_URL=PREVIEW_URL||\"iframe.html\",storyBlockIdFromId=({story,primary})=>`story--${story.id}${primary?\"--primary\":\"\"}`,InlineStory=props=>{let storyRef=useRef(),[showLoader,setShowLoader]=useState(!0),[error,setError]=useState(),{story,height,autoplay,forceInitialArgs,renderStoryToElement}=props;return useEffect(()=>{if(!(story&&storyRef.current))return ()=>{};let element=storyRef.current,cleanup=renderStoryToElement(story,element,{showMain:()=>{},showError:({title,description})=>setError(new Error(`${title} - ${description}`)),showException:err=>setError(err)},{autoplay,forceInitialArgs});return setShowLoader(!1),()=>{Promise.resolve().then(()=>cleanup());}},[autoplay,renderStoryToElement,story]),error?React15.createElement(\"pre\",null,React15.createElement(ErrorFormatter,{error})):React15.createElement(React15.Fragment,null,height?React15.createElement(\"style\",null,`#${storyBlockIdFromId(props)} { min-height: ${height}; transform: translateZ(0); overflow: auto }`):null,showLoader&&React15.createElement(StorySkeleton,null),React15.createElement(\"div\",{ref:storyRef,id:`${storyBlockIdFromId(props)}-inner`,\"data-name\":story.name}))},IFrameStory=({story,height=\"500px\"})=>React15.createElement(\"div\",{style:{width:\"100%\",height}},React15.createElement(ZoomContext.Consumer,null,({scale})=>React15.createElement(IFrame,{key:\"iframe\",id:`iframe--${story.id}`,title:story.name,src:getStoryHref(BASE_URL,story.id,{viewMode:\"story\"}),allowFullScreen:!0,scale,style:{width:\"100%\",height:\"100%\",border:\"0 none\"}}))),ErrorMessage=styled.strong(({theme})=>({color:theme.color.orange})),Story=props=>{let{inline,story}=props;return inline&&!props.autoplay&&story.usesMount?React15.createElement(ErrorMessage,null,\"This story mounts inside of play. Set\",\" \",React15.createElement(\"a\",{href:\"https://storybook.js.org/docs/api/doc-blocks/doc-block-story#autoplay\"},\"autoplay\"),\" \",\"to true to view this story.\"):React15.createElement(\"div\",{id:storyBlockIdFromId(props),className:\"sb-story sb-unstyled\",\"data-story-block\":\"true\"},inline?React15.createElement(InlineStory,{...props}):React15.createElement(IFrameStory,{...props}))},StorySkeleton=()=>React15.createElement(Loader,null);var Bar=styled(FlexBar)({position:\"absolute\",left:0,right:0,top:0,transition:\"transform .2s linear\"}),Wrapper2=styled.div({display:\"flex\",alignItems:\"center\",gap:4}),IconPlaceholder=styled.div(({theme})=>({width:14,height:14,borderRadius:2,margin:\"0 7px\",backgroundColor:theme.appBorderColor,animation:`${theme.animation.glow} 1.5s ease-in-out infinite`})),Toolbar=({isLoading,storyId,baseUrl,zoom,resetZoom,...rest})=>React15.createElement(Bar,{...rest},React15.createElement(Wrapper2,{key:\"left\"},isLoading?[1,2,3].map(key=>React15.createElement(IconPlaceholder,{key})):React15.createElement(React15.Fragment,null,React15.createElement(IconButton,{key:\"zoomin\",onClick:e=>{e.preventDefault(),zoom(.8);},title:\"Zoom in\"},React15.createElement(ZoomIcon,null)),React15.createElement(IconButton,{key:\"zoomout\",onClick:e=>{e.preventDefault(),zoom(1.25);},title:\"Zoom out\"},React15.createElement(ZoomOutIcon,null)),React15.createElement(IconButton,{key:\"zoomreset\",onClick:e=>{e.preventDefault(),resetZoom();},title:\"Reset zoom\"},React15.createElement(ZoomResetIcon,null)))));var ChildrenContainer=styled.div(({isColumn,columns,layout})=>({display:isColumn||!columns?\"block\":\"flex\",position:\"relative\",flexWrap:\"wrap\",overflow:\"auto\",flexDirection:isColumn?\"column\":\"row\",\"& .innerZoomElementWrapper > *\":isColumn?{width:layout!==\"fullscreen\"?\"calc(100% - 20px)\":\"100%\",display:\"block\"}:{maxWidth:layout!==\"fullscreen\"?\"calc(100% - 20px)\":\"100%\",display:\"inline-block\"}}),({layout=\"padded\"})=>layout===\"centered\"||layout===\"padded\"?{padding:\"30px 20px\",\"& .innerZoomElementWrapper > *\":{width:\"auto\",border:\"10px solid transparent!important\"}}:{},({layout=\"padded\"})=>layout===\"centered\"?{display:\"flex\",justifyContent:\"center\",justifyItems:\"center\",alignContent:\"center\",alignItems:\"center\"}:{},({columns})=>columns&&columns>1?{\".innerZoomElementWrapper > *\":{minWidth:`calc(100% / ${columns} - 20px)`}}:{}),StyledSource=styled(Source)(({theme})=>({margin:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:theme.appBorderRadius,borderBottomRightRadius:theme.appBorderRadius,border:\"none\",background:theme.base===\"light\"?\"rgba(0, 0, 0, 0.85)\":darken(.05,theme.background.content),color:theme.color.lightest,button:{background:theme.base===\"light\"?\"rgba(0, 0, 0, 0.85)\":darken(.05,theme.background.content)}})),PreviewContainer=styled.div(({theme,withSource,isExpanded})=>({position:\"relative\",overflow:\"hidden\",margin:\"25px 0 40px\",...getBlockBackgroundStyle(theme),borderBottomLeftRadius:withSource&&isExpanded&&0,borderBottomRightRadius:withSource&&isExpanded&&0,borderBottomWidth:isExpanded&&0,\"h3 + &\":{marginTop:\"16px\"}}),({withToolbar})=>withToolbar&&{paddingTop:40}),getSource=(withSource,expanded,setExpanded)=>{switch(!0){case!!(withSource&&withSource.error):return {source:null,actionItem:{title:\"No code available\",className:\"docblock-code-toggle docblock-code-toggle--disabled\",disabled:!0,onClick:()=>setExpanded(!1)}};case expanded:return {source:React15.createElement(StyledSource,{...withSource,dark:!0}),actionItem:{title:\"Hide code\",className:\"docblock-code-toggle docblock-code-toggle--expanded\",onClick:()=>setExpanded(!1)}};default:return {source:React15.createElement(StyledSource,{...withSource,dark:!0}),actionItem:{title:\"Show code\",className:\"docblock-code-toggle\",onClick:()=>setExpanded(!0)}}}};function getStoryId(children){if(Children.count(children)===1){let elt=children;if(elt.props)return elt.props.id}return null}var PositionedToolbar=styled(Toolbar)({position:\"absolute\",top:0,left:0,right:0,height:40}),Relative=styled.div({overflow:\"hidden\",position:\"relative\"}),Preview=({isLoading,isColumn,columns,children,withSource,withToolbar=!1,isExpanded=!1,additionalActions,className,layout=\"padded\",...props})=>{let[expanded,setExpanded]=useState(isExpanded),{source,actionItem}=getSource(withSource,expanded,setExpanded),[scale,setScale]=useState(1),previewClasses=[className].concat([\"sbdocs\",\"sbdocs-preview\",\"sb-unstyled\"]),defaultActionItems=withSource?[actionItem]:[],[additionalActionItems,setAdditionalActionItems]=useState(additionalActions?[...additionalActions]:[]),actionItems=[...defaultActionItems,...additionalActionItems],{window:globalWindow4}=global$1,copyToClipboard=useCallback(async text=>{let{createCopyToClipboardFunction}=await import('storybook/internal/components');createCopyToClipboardFunction();},[]),onCopyCapture=e=>{let selection=globalWindow4.getSelection();selection&&selection.type===\"Range\"||(e.preventDefault(),additionalActionItems.filter(item=>item.title===\"Copied\").length===0&©ToClipboard(source.props.code).then(()=>{setAdditionalActionItems([...additionalActionItems,{title:\"Copied\",onClick:()=>{}}]),globalWindow4.setTimeout(()=>setAdditionalActionItems(additionalActionItems.filter(item=>item.title!==\"Copied\")),1500);}));};return React15.createElement(PreviewContainer,{withSource,withToolbar,...props,className:previewClasses.join(\" \")},withToolbar&&React15.createElement(PositionedToolbar,{isLoading,border:!0,zoom:z=>setScale(scale*z),resetZoom:()=>setScale(1),storyId:getStoryId(children),baseUrl:\"./iframe.html\"}),React15.createElement(ZoomContext.Provider,{value:{scale}},React15.createElement(Relative,{className:\"docs-story\",onCopyCapture:withSource&&onCopyCapture},React15.createElement(ChildrenContainer,{isColumn:isColumn||!Array.isArray(children),columns,layout},React15.createElement(Zoom.Element,{scale},Array.isArray(children)?children.map((child,i)=>React15.createElement(\"div\",{key:i},child)):React15.createElement(\"div\",null,children))),React15.createElement(ActionBar,{actionItems}))),withSource&&expanded&&source)};styled(Preview)(()=>({\".docs-story\":{paddingTop:32,paddingBottom:40}}));var Label=styled.label(({theme})=>({lineHeight:\"18px\",alignItems:\"center\",marginBottom:8,display:\"inline-block\",position:\"relative\",whiteSpace:\"nowrap\",background:theme.boolean.background,borderRadius:\"3em\",padding:1,'&[aria-disabled=\"true\"]':{opacity:.5,input:{cursor:\"not-allowed\"}},input:{appearance:\"none\",width:\"100%\",height:\"100%\",position:\"absolute\",left:0,top:0,margin:0,padding:0,border:\"none\",background:\"transparent\",cursor:\"pointer\",borderRadius:\"3em\",\"&:focus\":{outline:\"none\",boxShadow:`${theme.color.secondary} 0 0 0 1px inset !important`}},span:{textAlign:\"center\",fontSize:theme.typography.size.s1,fontWeight:theme.typography.weight.bold,lineHeight:\"1\",cursor:\"pointer\",display:\"inline-block\",padding:\"7px 15px\",transition:\"all 100ms ease-out\",userSelect:\"none\",borderRadius:\"3em\",color:transparentize(.5,theme.color.defaultText),background:\"transparent\",\"&:hover\":{boxShadow:`${opacify(.3,theme.appBorderColor)} 0 0 0 1px inset`},\"&:active\":{boxShadow:`${opacify(.05,theme.appBorderColor)} 0 0 0 2px inset`,color:opacify(1,theme.appBorderColor)},\"&:first-of-type\":{paddingRight:8},\"&:last-of-type\":{paddingLeft:8}},\"input:checked ~ span:last-of-type, input:not(:checked) ~ span:first-of-type\":{background:theme.boolean.selectedBackground,boxShadow:theme.base===\"light\"?`${opacify(.1,theme.appBorderColor)} 0 0 2px`:`${theme.appBorderColor} 0 0 0 1px`,color:theme.color.defaultText,padding:\"7px 15px\"}})),parse=value2=>value2===\"true\",BooleanControl=({name,value:value2,onChange,onBlur,onFocus,argType})=>{let onSetFalse=useCallback(()=>onChange(!1),[onChange]),readonly=!!argType?.table?.readonly;if(value2===void 0)return React15.createElement(Button,{variant:\"outline\",size:\"medium\",id:getControlSetterButtonId(name),onClick:onSetFalse,disabled:readonly},\"Set boolean\");let controlId=getControlId(name),parsedValue=typeof value2==\"string\"?parse(value2):value2;return React15.createElement(Label,{\"aria-disabled\":readonly,htmlFor:controlId,\"aria-label\":name},React15.createElement(\"input\",{id:controlId,type:\"checkbox\",onChange:e=>onChange(e.target.checked),checked:parsedValue,role:\"switch\",disabled:readonly,name,onBlur,onFocus}),React15.createElement(\"span\",{\"aria-hidden\":\"true\"},\"False\"),React15.createElement(\"span\",{\"aria-hidden\":\"true\"},\"True\"))};var parseDate=value2=>{let[year,month,day]=value2.split(\"-\"),result=new Date;return result.setFullYear(parseInt(year,10),parseInt(month,10)-1,parseInt(day,10)),result},parseTime=value2=>{let[hours,minutes]=value2.split(\":\"),result=new Date;return result.setHours(parseInt(hours,10)),result.setMinutes(parseInt(minutes,10)),result},formatDate=value2=>{let date=new Date(value2),year=`000${date.getFullYear()}`.slice(-4),month=`0${date.getMonth()+1}`.slice(-2),day=`0${date.getDate()}`.slice(-2);return `${year}-${month}-${day}`},formatTime=value2=>{let date=new Date(value2),hours=`0${date.getHours()}`.slice(-2),minutes=`0${date.getMinutes()}`.slice(-2);return `${hours}:${minutes}`},FormInput=styled(Form.Input)(({readOnly})=>({opacity:readOnly?.5:1})),FlexSpaced=styled.div(({theme})=>({flex:1,display:\"flex\",input:{marginLeft:10,flex:1,height:32,\"&::-webkit-calendar-picker-indicator\":{opacity:.5,height:12,filter:theme.base===\"light\"?void 0:\"invert(1)\"}},\"input:first-of-type\":{marginLeft:0,flexGrow:4},\"input:last-of-type\":{flexGrow:3}})),DateControl=({name,value:value2,onChange,onFocus,onBlur,argType})=>{let[valid,setValid]=useState(!0),dateRef=useRef(),timeRef=useRef(),readonly=!!argType?.table?.readonly;useEffect(()=>{valid!==!1&&(dateRef&&dateRef.current&&(dateRef.current.value=value2?formatDate(value2):\"\"),timeRef&&timeRef.current&&(timeRef.current.value=value2?formatTime(value2):\"\"));},[value2]);let onDateChange=e=>{if(!e.target.value)return onChange();let parsed=parseDate(e.target.value),result=new Date(value2);result.setFullYear(parsed.getFullYear(),parsed.getMonth(),parsed.getDate());let time=result.getTime();time&&onChange(time),setValid(!!time);},onTimeChange=e=>{if(!e.target.value)return onChange();let parsed=parseTime(e.target.value),result=new Date(value2);result.setHours(parsed.getHours()),result.setMinutes(parsed.getMinutes());let time=result.getTime();time&&onChange(time),setValid(!!time);},controlId=getControlId(name);return React15.createElement(FlexSpaced,null,React15.createElement(FormInput,{type:\"date\",max:\"9999-12-31\",ref:dateRef,id:`${controlId}-date`,name:`${controlId}-date`,readOnly:readonly,onChange:onDateChange,onFocus,onBlur}),React15.createElement(FormInput,{type:\"time\",id:`${controlId}-time`,name:`${controlId}-time`,ref:timeRef,onChange:onTimeChange,readOnly:readonly,onFocus,onBlur}),valid?null:React15.createElement(\"div\",null,\"invalid\"))};var Wrapper3=styled.label({display:\"flex\"}),parse2=value2=>{let result=parseFloat(value2);return Number.isNaN(result)?void 0:result},format=value2=>value2!=null?String(value2):\"\",FormInput2=styled(Form.Input)(({readOnly})=>({opacity:readOnly?.5:1})),NumberControl=({name,value:value2,onChange,min,max,step,onBlur,onFocus,argType})=>{let[inputValue,setInputValue]=useState(typeof value2==\"number\"?value2:\"\"),[forceVisible,setForceVisible]=useState(!1),[parseError,setParseError]=useState(null),readonly=!!argType?.table?.readonly,handleChange=useCallback(event=>{setInputValue(event.target.value);let result=parseFloat(event.target.value);Number.isNaN(result)?setParseError(new Error(`'${event.target.value}' is not a number`)):(onChange(result),setParseError(null));},[onChange,setParseError]),onForceVisible=useCallback(()=>{setInputValue(\"0\"),onChange(0),setForceVisible(!0);},[setForceVisible]),htmlElRef=useRef(null);return useEffect(()=>{forceVisible&&htmlElRef.current&&htmlElRef.current.select();},[forceVisible]),useEffect(()=>{inputValue!==(typeof value2==\"number\"?value2:\"\")&&setInputValue(value2);},[value2]),value2===void 0?React15.createElement(Button,{variant:\"outline\",size:\"medium\",id:getControlSetterButtonId(name),onClick:onForceVisible,disabled:readonly},\"Set number\"):React15.createElement(Wrapper3,null,React15.createElement(FormInput2,{ref:htmlElRef,id:getControlId(name),type:\"number\",onChange:handleChange,size:\"flex\",placeholder:\"Edit number...\",value:inputValue,valid:parseError?\"error\":null,autoFocus:forceVisible,readOnly:readonly,name,min,max,step,onFocus,onBlur}))};var selectedKey=(value2,options)=>{let entry=options&&Object.entries(options).find(([_key,val])=>val===value2);return entry?entry[0]:void 0},selectedKeys=(value2,options)=>value2&&options?Object.entries(options).filter(entry=>value2.includes(entry[1])).map(entry=>entry[0]):[],selectedValues=(keys,options)=>keys&&options&&keys.map(key=>options[key]);var Wrapper4=styled.div(({isInline})=>isInline?{display:\"flex\",flexWrap:\"wrap\",alignItems:\"flex-start\",label:{display:\"inline-flex\",marginRight:15}}:{label:{display:\"flex\"}},props=>{if(props[\"aria-readonly\"]===\"true\")return {input:{cursor:\"not-allowed\"}}}),Text=styled.span({\"[aria-readonly=true] &\":{opacity:.5}}),Label2=styled.label({lineHeight:\"20px\",alignItems:\"center\",marginBottom:8,\"&:last-child\":{marginBottom:0},input:{margin:0,marginRight:6}}),CheckboxControl=({name,options,value:value2,onChange,isInline,argType})=>{if(!options)return logger.warn(`Checkbox with no options: ${name}`),React15.createElement(React15.Fragment,null,\"-\");let initial=selectedKeys(value2,options),[selected,setSelected]=useState(initial),readonly=!!argType?.table?.readonly,handleChange=e=>{let option=e.target.value,updated=[...selected];updated.includes(option)?updated.splice(updated.indexOf(option),1):updated.push(option),onChange(selectedValues(updated,options)),setSelected(updated);};useEffect(()=>{setSelected(selectedKeys(value2,options));},[value2]);let controlId=getControlId(name);return React15.createElement(Wrapper4,{\"aria-readonly\":readonly,isInline},Object.keys(options).map((key,index)=>{let id=`${controlId}-${index}`;return React15.createElement(Label2,{key:id,htmlFor:id},React15.createElement(\"input\",{type:\"checkbox\",disabled:readonly,id,name:id,value:key,onChange:handleChange,checked:selected?.includes(key)}),React15.createElement(Text,null,key))}))};var Wrapper5=styled.div(({isInline})=>isInline?{display:\"flex\",flexWrap:\"wrap\",alignItems:\"flex-start\",label:{display:\"inline-flex\",marginRight:15}}:{label:{display:\"flex\"}},props=>{if(props[\"aria-readonly\"]===\"true\")return {input:{cursor:\"not-allowed\"}}}),Text2=styled.span({\"[aria-readonly=true] &\":{opacity:.5}}),Label3=styled.label({lineHeight:\"20px\",alignItems:\"center\",marginBottom:8,\"&:last-child\":{marginBottom:0},input:{margin:0,marginRight:6}}),RadioControl=({name,options,value:value2,onChange,isInline,argType})=>{if(!options)return logger.warn(`Radio with no options: ${name}`),React15.createElement(React15.Fragment,null,\"-\");let selection=selectedKey(value2,options),controlId=getControlId(name),readonly=!!argType?.table?.readonly;return React15.createElement(Wrapper5,{\"aria-readonly\":readonly,isInline},Object.keys(options).map((key,index)=>{let id=`${controlId}-${index}`;return React15.createElement(Label3,{key:id,htmlFor:id},React15.createElement(\"input\",{type:\"radio\",id,name:controlId,disabled:readonly,value:key,onChange:e=>onChange(options[e.currentTarget.value]),checked:key===selection}),React15.createElement(Text2,null,key))}))};var styleResets={appearance:\"none\",border:\"0 none\",boxSizing:\"inherit\",display:\" block\",margin:\" 0\",background:\"transparent\",padding:0,fontSize:\"inherit\",position:\"relative\"},OptionsSelect=styled.select(styleResets,({theme})=>({boxSizing:\"border-box\",position:\"relative\",padding:\"6px 10px\",width:\"100%\",color:theme.input.color||\"inherit\",background:theme.input.background,borderRadius:theme.input.borderRadius,boxShadow:`${theme.input.border} 0 0 0 1px inset`,fontSize:theme.typography.size.s2-1,lineHeight:\"20px\",\"&:focus\":{boxShadow:`${theme.color.secondary} 0 0 0 1px inset`,outline:\"none\"},\"&[disabled]\":{cursor:\"not-allowed\",opacity:.5},\"::placeholder\":{color:theme.textMutedColor},\"&[multiple]\":{overflow:\"auto\",padding:0,option:{display:\"block\",padding:\"6px 10px\",marginLeft:1,marginRight:1}}})),SelectWrapper=styled.span(({theme})=>({display:\"inline-block\",lineHeight:\"normal\",overflow:\"hidden\",position:\"relative\",verticalAlign:\"top\",width:\"100%\",svg:{position:\"absolute\",zIndex:1,pointerEvents:\"none\",height:\"12px\",marginTop:\"-6px\",right:\"12px\",top:\"50%\",fill:theme.textMutedColor,path:{fill:theme.textMutedColor}}})),NO_SELECTION=\"Choose option...\",SingleSelect=({name,value:value2,options,onChange,argType})=>{let handleChange=e=>{onChange(options[e.currentTarget.value]);},selection=selectedKey(value2,options)||NO_SELECTION,controlId=getControlId(name),readonly=!!argType?.table?.readonly;return React15.createElement(SelectWrapper,null,React15.createElement(ChevronSmallDownIcon,null),React15.createElement(OptionsSelect,{disabled:readonly,id:controlId,value:selection,onChange:handleChange},React15.createElement(\"option\",{key:\"no-selection\",disabled:!0},NO_SELECTION),Object.keys(options).map(key=>React15.createElement(\"option\",{key,value:key},key))))},MultiSelect=({name,value:value2,options,onChange,argType})=>{let handleChange=e=>{let selection2=Array.from(e.currentTarget.options).filter(option=>option.selected).map(option=>option.value);onChange(selectedValues(selection2,options));},selection=selectedKeys(value2,options),controlId=getControlId(name),readonly=!!argType?.table?.readonly;return React15.createElement(SelectWrapper,null,React15.createElement(OptionsSelect,{disabled:readonly,id:controlId,multiple:!0,value:selection,onChange:handleChange},Object.keys(options).map(key=>React15.createElement(\"option\",{key,value:key},key))))},SelectControl=props=>{let{name,options}=props;return options?props.isMulti?React15.createElement(MultiSelect,{...props}):React15.createElement(SingleSelect,{...props}):(logger.warn(`Select with no options: ${name}`),React15.createElement(React15.Fragment,null,\"-\"))};var normalizeOptions=(options,labels)=>Array.isArray(options)?options.reduce((acc,item)=>(acc[labels?.[item]||String(item)]=item,acc),{}):options,Controls={check:CheckboxControl,\"inline-check\":CheckboxControl,radio:RadioControl,\"inline-radio\":RadioControl,select:SelectControl,\"multi-select\":SelectControl},OptionsControl=props=>{let{type=\"select\",labels,argType}=props,normalized={...props,argType,options:argType?normalizeOptions(argType.options,labels):{},isInline:type.includes(\"inline\"),isMulti:type.includes(\"multi\")},Control=Controls[type];if(Control)return React15.createElement(Control,{...normalized});throw new Error(`Unknown options type: ${type}`)};var ERROR=\"Error\",OBJECT=\"Object\",ARRAY=\"Array\",STRING=\"String\",NUMBER=\"Number\",BOOLEAN=\"Boolean\",DATE=\"Date\",NULL=\"Null\",UNDEFINED=\"Undefined\",FUNCTION=\"Function\",SYMBOL=\"Symbol\";var ADD_DELTA_TYPE=\"ADD_DELTA_TYPE\",REMOVE_DELTA_TYPE=\"REMOVE_DELTA_TYPE\",UPDATE_DELTA_TYPE=\"UPDATE_DELTA_TYPE\";var VALUE=\"value\",KEY=\"key\";function getObjectType(obj){return obj!==null&&typeof obj==\"object\"&&!Array.isArray(obj)&&typeof obj[Symbol.iterator]==\"function\"?\"Iterable\":Object.prototype.toString.call(obj).slice(8,-1)}function isComponentWillChange(oldValue,newValue){let oldType=getObjectType(oldValue),newType=getObjectType(newValue);return (oldType===\"Function\"||newType===\"Function\")&&newType!==oldType}var JsonAddValue=class extends Component{constructor(props){super(props),this.state={inputRefKey:null,inputRefValue:null},this.refInputValue=this.refInputValue.bind(this),this.refInputKey=this.refInputKey.bind(this),this.onKeydown=this.onKeydown.bind(this),this.onSubmit=this.onSubmit.bind(this);}componentDidMount(){let{inputRefKey,inputRefValue}=this.state,{onlyValue}=this.props;inputRefKey&&typeof inputRefKey.focus==\"function\"&&inputRefKey.focus(),onlyValue&&inputRefValue&&typeof inputRefValue.focus==\"function\"&&inputRefValue.focus(),document.addEventListener(\"keydown\",this.onKeydown);}componentWillUnmount(){document.removeEventListener(\"keydown\",this.onKeydown);}onKeydown(event){event.altKey||event.ctrlKey||event.metaKey||event.shiftKey||event.repeat||((event.code===\"Enter\"||event.key===\"Enter\")&&(event.preventDefault(),this.onSubmit()),(event.code===\"Escape\"||event.key===\"Escape\")&&(event.preventDefault(),this.props.handleCancel()));}onSubmit(){let{handleAdd,onlyValue,onSubmitValueParser,keyPath,deep}=this.props,{inputRefKey,inputRefValue}=this.state,result={};if(!onlyValue){if(!inputRefKey.value)return;result.key=inputRefKey.value;}result.newValue=onSubmitValueParser(!1,keyPath,deep,result.key,inputRefValue.value),handleAdd(result);}refInputKey(node){this.state.inputRefKey=node;}refInputValue(node){this.state.inputRefValue=node;}render(){let{handleCancel,onlyValue,addButtonElement,cancelButtonElement,inputElementGenerator,keyPath,deep}=this.props,addButtonElementLayout=cloneElement(addButtonElement,{onClick:this.onSubmit}),cancelButtonElementLayout=cloneElement(cancelButtonElement,{onClick:handleCancel}),inputElementValue=inputElementGenerator(VALUE,keyPath,deep),inputElementValueLayout=cloneElement(inputElementValue,{placeholder:\"Value\",ref:this.refInputValue}),inputElementKeyLayout=null;if(!onlyValue){let inputElementKey=inputElementGenerator(KEY,keyPath,deep);inputElementKeyLayout=cloneElement(inputElementKey,{placeholder:\"Key\",ref:this.refInputKey});}return React15.createElement(\"span\",{className:\"rejt-add-value-node\"},inputElementKeyLayout,inputElementValueLayout,cancelButtonElementLayout,addButtonElementLayout)}};JsonAddValue.defaultProps={onlyValue:!1,addButtonElement:React15.createElement(\"button\",null,\"+\"),cancelButtonElement:React15.createElement(\"button\",null,\"c\")};var JsonArray=class extends Component{constructor(props){super(props);let keyPath=[...props.keyPath,props.name];this.state={data:props.data,name:props.name,keyPath,deep:props.deep,nextDeep:props.deep+1,collapsed:props.isCollapsed(keyPath,props.deep,props.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveItem=this.handleRemoveItem.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this);}static getDerivedStateFromProps(props,state){return props.data!==state.data?{data:props.data}:null}onChildUpdate(childKey,childData){let{data,keyPath}=this.state;data[childKey]=childData,this.setState({data});let{onUpdate}=this.props,size=keyPath.length;onUpdate(keyPath[size-1],data);}handleAddMode(){this.setState({addFormVisible:!0});}handleCollapseMode(){this.setState(state=>({collapsed:!state.collapsed}));}handleRemoveItem(index){return ()=>{let{beforeRemoveAction,logger:logger4}=this.props,{data,keyPath,nextDeep:deep}=this.state,oldValue=data[index];beforeRemoveAction(index,keyPath,deep,oldValue).then(()=>{let deltaUpdateResult={keyPath,deep,key:index,oldValue,type:REMOVE_DELTA_TYPE};data.splice(index,1),this.setState({data});let{onUpdate,onDeltaUpdate}=this.props;onUpdate(keyPath[keyPath.length-1],data),onDeltaUpdate(deltaUpdateResult);}).catch(logger4.error);}}handleAddValueAdd({newValue}){let{data,keyPath,nextDeep:deep}=this.state,{beforeAddAction,logger:logger4}=this.props;beforeAddAction(data.length,keyPath,deep,newValue).then(()=>{let newData=[...data,newValue];this.setState({data:newData}),this.handleAddValueCancel();let{onUpdate,onDeltaUpdate}=this.props;onUpdate(keyPath[keyPath.length-1],newData),onDeltaUpdate({type:ADD_DELTA_TYPE,keyPath,deep,key:newData.length-1,newValue});}).catch(logger4.error);}handleAddValueCancel(){this.setState({addFormVisible:!1});}handleEditValue({key,value:value2}){return new Promise((resolve,reject)=>{let{beforeUpdateAction}=this.props,{data,keyPath,nextDeep:deep}=this.state,oldValue=data[key];beforeUpdateAction(key,keyPath,deep,oldValue,value2).then(()=>{data[key]=value2,this.setState({data});let{onUpdate,onDeltaUpdate}=this.props;onUpdate(keyPath[keyPath.length-1],data),onDeltaUpdate({type:UPDATE_DELTA_TYPE,keyPath,deep,key,newValue:value2,oldValue}),resolve(void 0);}).catch(reject);})}renderCollapsed(){let{name,data,keyPath,deep}=this.state,{handleRemove,readOnly,getStyle,dataType,minusMenuElement}=this.props,{minus,collapsed}=getStyle(name,data,keyPath,deep,dataType),isReadOnly=readOnly(name,data,keyPath,deep,dataType),removeItemButton=cloneElement(minusMenuElement,{onClick:handleRemove,className:\"rejt-minus-menu\",style:minus});return React15.createElement(\"span\",{className:\"rejt-collapsed\"},React15.createElement(\"span\",{className:\"rejt-collapsed-text\",style:collapsed,onClick:this.handleCollapseMode},\"[...] \",data.length,\" \",data.length===1?\"item\":\"items\"),!isReadOnly&&removeItemButton)}renderNotCollapsed(){let{name,data,keyPath,deep,addFormVisible,nextDeep}=this.state,{isCollapsed,handleRemove,onDeltaUpdate,readOnly,getStyle,dataType,addButtonElement,cancelButtonElement,editButtonElement,inputElementGenerator,textareaElementGenerator,minusMenuElement,plusMenuElement,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger:logger4,onSubmitValueParser}=this.props,{minus,plus,delimiter,ul,addForm}=getStyle(name,data,keyPath,deep,dataType),isReadOnly=readOnly(name,data,keyPath,deep,dataType),addItemButton=cloneElement(plusMenuElement,{onClick:this.handleAddMode,className:\"rejt-plus-menu\",style:plus}),removeItemButton=cloneElement(minusMenuElement,{onClick:handleRemove,className:\"rejt-minus-menu\",style:minus});return React15.createElement(\"span\",{className:\"rejt-not-collapsed\"},React15.createElement(\"span\",{className:\"rejt-not-collapsed-delimiter\",style:delimiter},\"[\"),!addFormVisible&&addItemButton,React15.createElement(\"ul\",{className:\"rejt-not-collapsed-list\",style:ul},data.map((item,index)=>React15.createElement(JsonNode,{key:index,name:index.toString(),data:item,keyPath,deep:nextDeep,isCollapsed,handleRemove:this.handleRemoveItem(index),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate,readOnly,getStyle,addButtonElement,cancelButtonElement,editButtonElement,inputElementGenerator,textareaElementGenerator,minusMenuElement,plusMenuElement,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger:logger4,onSubmitValueParser}))),!isReadOnly&&addFormVisible&&React15.createElement(\"div\",{className:\"rejt-add-form\",style:addForm},React15.createElement(JsonAddValue,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:!0,addButtonElement,cancelButtonElement,inputElementGenerator,keyPath,deep,onSubmitValueParser})),React15.createElement(\"span\",{className:\"rejt-not-collapsed-delimiter\",style:delimiter},\"]\"),!isReadOnly&&removeItemButton)}render(){let{name,collapsed,data,keyPath,deep}=this.state,{dataType,getStyle}=this.props,value2=collapsed?this.renderCollapsed():this.renderNotCollapsed(),style=getStyle(name,data,keyPath,deep,dataType);return React15.createElement(\"div\",{className:\"rejt-array-node\"},React15.createElement(\"span\",{onClick:this.handleCollapseMode},React15.createElement(\"span\",{className:\"rejt-name\",style:style.name},name,\" :\",\" \")),value2)}};JsonArray.defaultProps={keyPath:[],deep:0,minusMenuElement:React15.createElement(\"span\",null,\" - \"),plusMenuElement:React15.createElement(\"span\",null,\" + \")};var JsonFunctionValue=class extends Component{constructor(props){super(props);let keyPath=[...props.keyPath,props.name];this.state={value:props.value,name:props.name,keyPath,deep:props.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this);}static getDerivedStateFromProps(props,state){return props.value!==state.value?{value:props.value}:null}componentDidUpdate(){let{editEnabled,inputRef,name,value:value2,keyPath,deep}=this.state,{readOnly,dataType}=this.props,readOnlyResult=readOnly(name,value2,keyPath,deep,dataType);editEnabled&&!readOnlyResult&&typeof inputRef.focus==\"function\"&&inputRef.focus();}componentDidMount(){document.addEventListener(\"keydown\",this.onKeydown);}componentWillUnmount(){document.removeEventListener(\"keydown\",this.onKeydown);}onKeydown(event){event.altKey||event.ctrlKey||event.metaKey||event.shiftKey||event.repeat||((event.code===\"Enter\"||event.key===\"Enter\")&&(event.preventDefault(),this.handleEdit()),(event.code===\"Escape\"||event.key===\"Escape\")&&(event.preventDefault(),this.handleCancelEdit()));}handleEdit(){let{handleUpdateValue,originalValue,logger:logger4,onSubmitValueParser,keyPath}=this.props,{inputRef,name,deep}=this.state;if(!inputRef)return;let newValue=onSubmitValueParser(!0,keyPath,deep,name,inputRef.value);handleUpdateValue({value:newValue,key:name}).then(()=>{isComponentWillChange(originalValue,newValue)||this.handleCancelEdit();}).catch(logger4.error);}handleEditMode(){this.setState({editEnabled:!0});}refInput(node){this.state.inputRef=node;}handleCancelEdit(){this.setState({editEnabled:!1});}render(){let{name,value:value2,editEnabled,keyPath,deep}=this.state,{handleRemove,originalValue,readOnly,dataType,getStyle,editButtonElement,cancelButtonElement,textareaElementGenerator,minusMenuElement,keyPath:comeFromKeyPath}=this.props,style=getStyle(name,originalValue,keyPath,deep,dataType),result=null,minusElement=null,resultOnlyResult=readOnly(name,originalValue,keyPath,deep,dataType);if(editEnabled&&!resultOnlyResult){let textareaElement=textareaElementGenerator(VALUE,comeFromKeyPath,deep,name,originalValue,dataType),editButtonElementLayout=cloneElement(editButtonElement,{onClick:this.handleEdit}),cancelButtonElementLayout=cloneElement(cancelButtonElement,{onClick:this.handleCancelEdit}),textareaElementLayout=cloneElement(textareaElement,{ref:this.refInput,defaultValue:originalValue});result=React15.createElement(\"span\",{className:\"rejt-edit-form\",style:style.editForm},textareaElementLayout,\" \",cancelButtonElementLayout,editButtonElementLayout),minusElement=null;}else {result=React15.createElement(\"span\",{className:\"rejt-value\",style:style.value,onClick:resultOnlyResult?null:this.handleEditMode},value2);let minusMenuLayout=cloneElement(minusMenuElement,{onClick:handleRemove,className:\"rejt-minus-menu\",style:style.minus});minusElement=resultOnlyResult?null:minusMenuLayout;}return React15.createElement(\"li\",{className:\"rejt-function-value-node\",style:style.li},React15.createElement(\"span\",{className:\"rejt-name\",style:style.name},name,\" :\",\" \"),result,minusElement)}};JsonFunctionValue.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:React15.createElement(\"button\",null,\"e\"),cancelButtonElement:React15.createElement(\"button\",null,\"c\"),minusMenuElement:React15.createElement(\"span\",null,\" - \")};var JsonNode=class extends Component{constructor(props){super(props),this.state={data:props.data,name:props.name,keyPath:props.keyPath,deep:props.deep};}static getDerivedStateFromProps(props,state){return props.data!==state.data?{data:props.data}:null}render(){let{data,name,keyPath,deep}=this.state,{isCollapsed,handleRemove,handleUpdateValue,onUpdate,onDeltaUpdate,readOnly,getStyle,addButtonElement,cancelButtonElement,editButtonElement,inputElementGenerator,textareaElementGenerator,minusMenuElement,plusMenuElement,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger:logger4,onSubmitValueParser}=this.props,readOnlyTrue=()=>!0,dataType=getObjectType(data);switch(dataType){case ERROR:return React15.createElement(JsonObject,{data,name,isCollapsed,keyPath,deep,handleRemove,onUpdate,onDeltaUpdate,readOnly:readOnlyTrue,dataType,getStyle,addButtonElement,cancelButtonElement,editButtonElement,inputElementGenerator,textareaElementGenerator,minusMenuElement,plusMenuElement,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger:logger4,onSubmitValueParser});case OBJECT:return React15.createElement(JsonObject,{data,name,isCollapsed,keyPath,deep,handleRemove,onUpdate,onDeltaUpdate,readOnly,dataType,getStyle,addButtonElement,cancelButtonElement,editButtonElement,inputElementGenerator,textareaElementGenerator,minusMenuElement,plusMenuElement,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger:logger4,onSubmitValueParser});case ARRAY:return React15.createElement(JsonArray,{data,name,isCollapsed,keyPath,deep,handleRemove,onUpdate,onDeltaUpdate,readOnly,dataType,getStyle,addButtonElement,cancelButtonElement,editButtonElement,inputElementGenerator,textareaElementGenerator,minusMenuElement,plusMenuElement,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger:logger4,onSubmitValueParser});case STRING:return React15.createElement(JsonValue,{name,value:`\"${data}\"`,originalValue:data,keyPath,deep,handleRemove,handleUpdateValue,readOnly,dataType,getStyle,cancelButtonElement,editButtonElement,inputElementGenerator,minusMenuElement,logger:logger4,onSubmitValueParser});case NUMBER:return React15.createElement(JsonValue,{name,value:data,originalValue:data,keyPath,deep,handleRemove,handleUpdateValue,readOnly,dataType,getStyle,cancelButtonElement,editButtonElement,inputElementGenerator,minusMenuElement,logger:logger4,onSubmitValueParser});case BOOLEAN:return React15.createElement(JsonValue,{name,value:data?\"true\":\"false\",originalValue:data,keyPath,deep,handleRemove,handleUpdateValue,readOnly,dataType,getStyle,cancelButtonElement,editButtonElement,inputElementGenerator,minusMenuElement,logger:logger4,onSubmitValueParser});case DATE:return React15.createElement(JsonValue,{name,value:data.toISOString(),originalValue:data,keyPath,deep,handleRemove,handleUpdateValue,readOnly:readOnlyTrue,dataType,getStyle,cancelButtonElement,editButtonElement,inputElementGenerator,minusMenuElement,logger:logger4,onSubmitValueParser});case NULL:return React15.createElement(JsonValue,{name,value:\"null\",originalValue:\"null\",keyPath,deep,handleRemove,handleUpdateValue,readOnly,dataType,getStyle,cancelButtonElement,editButtonElement,inputElementGenerator,minusMenuElement,logger:logger4,onSubmitValueParser});case UNDEFINED:return React15.createElement(JsonValue,{name,value:\"undefined\",originalValue:\"undefined\",keyPath,deep,handleRemove,handleUpdateValue,readOnly,dataType,getStyle,cancelButtonElement,editButtonElement,inputElementGenerator,minusMenuElement,logger:logger4,onSubmitValueParser});case FUNCTION:return React15.createElement(JsonFunctionValue,{name,value:data.toString(),originalValue:data,keyPath,deep,handleRemove,handleUpdateValue,readOnly,dataType,getStyle,cancelButtonElement,editButtonElement,textareaElementGenerator,minusMenuElement,logger:logger4,onSubmitValueParser});case SYMBOL:return React15.createElement(JsonValue,{name,value:data.toString(),originalValue:data,keyPath,deep,handleRemove,handleUpdateValue,readOnly:readOnlyTrue,dataType,getStyle,cancelButtonElement,editButtonElement,inputElementGenerator,minusMenuElement,logger:logger4,onSubmitValueParser});default:return null}}};JsonNode.defaultProps={keyPath:[],deep:0};var JsonObject=class extends Component{constructor(props){super(props);let keyPath=props.deep===-1?[]:[...props.keyPath,props.name];this.state={name:props.name,data:props.data,keyPath,deep:props.deep,nextDeep:props.deep+1,collapsed:props.isCollapsed(keyPath,props.deep,props.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveValue=this.handleRemoveValue.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this);}static getDerivedStateFromProps(props,state){return props.data!==state.data?{data:props.data}:null}onChildUpdate(childKey,childData){let{data,keyPath}=this.state;data[childKey]=childData,this.setState({data});let{onUpdate}=this.props,size=keyPath.length;onUpdate(keyPath[size-1],data);}handleAddMode(){this.setState({addFormVisible:!0});}handleAddValueCancel(){this.setState({addFormVisible:!1});}handleAddValueAdd({key,newValue}){let{data,keyPath,nextDeep:deep}=this.state,{beforeAddAction,logger:logger4}=this.props;beforeAddAction(key,keyPath,deep,newValue).then(()=>{data[key]=newValue,this.setState({data}),this.handleAddValueCancel();let{onUpdate,onDeltaUpdate}=this.props;onUpdate(keyPath[keyPath.length-1],data),onDeltaUpdate({type:ADD_DELTA_TYPE,keyPath,deep,key,newValue});}).catch(logger4.error);}handleRemoveValue(key){return ()=>{let{beforeRemoveAction,logger:logger4}=this.props,{data,keyPath,nextDeep:deep}=this.state,oldValue=data[key];beforeRemoveAction(key,keyPath,deep,oldValue).then(()=>{let deltaUpdateResult={keyPath,deep,key,oldValue,type:REMOVE_DELTA_TYPE};delete data[key],this.setState({data});let{onUpdate,onDeltaUpdate}=this.props;onUpdate(keyPath[keyPath.length-1],data),onDeltaUpdate(deltaUpdateResult);}).catch(logger4.error);}}handleCollapseMode(){this.setState(state=>({collapsed:!state.collapsed}));}handleEditValue({key,value:value2}){return new Promise((resolve,reject)=>{let{beforeUpdateAction}=this.props,{data,keyPath,nextDeep:deep}=this.state,oldValue=data[key];beforeUpdateAction(key,keyPath,deep,oldValue,value2).then(()=>{data[key]=value2,this.setState({data});let{onUpdate,onDeltaUpdate}=this.props;onUpdate(keyPath[keyPath.length-1],data),onDeltaUpdate({type:UPDATE_DELTA_TYPE,keyPath,deep,key,newValue:value2,oldValue}),resolve();}).catch(reject);})}renderCollapsed(){let{name,keyPath,deep,data}=this.state,{handleRemove,readOnly,dataType,getStyle,minusMenuElement}=this.props,{minus,collapsed}=getStyle(name,data,keyPath,deep,dataType),keyList=Object.getOwnPropertyNames(data),isReadOnly=readOnly(name,data,keyPath,deep,dataType),removeItemButton=cloneElement(minusMenuElement,{onClick:handleRemove,className:\"rejt-minus-menu\",style:minus});return React15.createElement(\"span\",{className:\"rejt-collapsed\"},React15.createElement(\"span\",{className:\"rejt-collapsed-text\",style:collapsed,onClick:this.handleCollapseMode},\"{...}\",\" \",keyList.length,\" \",keyList.length===1?\"key\":\"keys\"),!isReadOnly&&removeItemButton)}renderNotCollapsed(){let{name,data,keyPath,deep,nextDeep,addFormVisible}=this.state,{isCollapsed,handleRemove,onDeltaUpdate,readOnly,getStyle,dataType,addButtonElement,cancelButtonElement,editButtonElement,inputElementGenerator,textareaElementGenerator,minusMenuElement,plusMenuElement,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger:logger4,onSubmitValueParser}=this.props,{minus,plus,addForm,ul,delimiter}=getStyle(name,data,keyPath,deep,dataType),keyList=Object.getOwnPropertyNames(data),isReadOnly=readOnly(name,data,keyPath,deep,dataType),addItemButton=cloneElement(plusMenuElement,{onClick:this.handleAddMode,className:\"rejt-plus-menu\",style:plus}),removeItemButton=cloneElement(minusMenuElement,{onClick:handleRemove,className:\"rejt-minus-menu\",style:minus}),list=keyList.map(key=>React15.createElement(JsonNode,{key,name:key,data:data[key],keyPath,deep:nextDeep,isCollapsed,handleRemove:this.handleRemoveValue(key),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate,readOnly,getStyle,addButtonElement,cancelButtonElement,editButtonElement,inputElementGenerator,textareaElementGenerator,minusMenuElement,plusMenuElement,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger:logger4,onSubmitValueParser}));return React15.createElement(\"span\",{className:\"rejt-not-collapsed\"},React15.createElement(\"span\",{className:\"rejt-not-collapsed-delimiter\",style:delimiter},\"{\"),!isReadOnly&&addItemButton,React15.createElement(\"ul\",{className:\"rejt-not-collapsed-list\",style:ul},list),!isReadOnly&&addFormVisible&&React15.createElement(\"div\",{className:\"rejt-add-form\",style:addForm},React15.createElement(JsonAddValue,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement,cancelButtonElement,inputElementGenerator,keyPath,deep,onSubmitValueParser})),React15.createElement(\"span\",{className:\"rejt-not-collapsed-delimiter\",style:delimiter},\"}\"),!isReadOnly&&removeItemButton)}render(){let{name,collapsed,data,keyPath,deep}=this.state,{getStyle,dataType}=this.props,value2=collapsed?this.renderCollapsed():this.renderNotCollapsed(),style=getStyle(name,data,keyPath,deep,dataType);return React15.createElement(\"div\",{className:\"rejt-object-node\"},React15.createElement(\"span\",{onClick:this.handleCollapseMode},React15.createElement(\"span\",{className:\"rejt-name\",style:style.name},name,\" :\",\" \")),value2)}};JsonObject.defaultProps={keyPath:[],deep:0,minusMenuElement:React15.createElement(\"span\",null,\" - \"),plusMenuElement:React15.createElement(\"span\",null,\" + \")};var JsonValue=class extends Component{constructor(props){super(props);let keyPath=[...props.keyPath,props.name];this.state={value:props.value,name:props.name,keyPath,deep:props.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this);}static getDerivedStateFromProps(props,state){return props.value!==state.value?{value:props.value}:null}componentDidUpdate(){let{editEnabled,inputRef,name,value:value2,keyPath,deep}=this.state,{readOnly,dataType}=this.props,isReadOnly=readOnly(name,value2,keyPath,deep,dataType);editEnabled&&!isReadOnly&&typeof inputRef.focus==\"function\"&&inputRef.focus();}componentDidMount(){document.addEventListener(\"keydown\",this.onKeydown);}componentWillUnmount(){document.removeEventListener(\"keydown\",this.onKeydown);}onKeydown(event){event.altKey||event.ctrlKey||event.metaKey||event.shiftKey||event.repeat||((event.code===\"Enter\"||event.key===\"Enter\")&&(event.preventDefault(),this.handleEdit()),(event.code===\"Escape\"||event.key===\"Escape\")&&(event.preventDefault(),this.handleCancelEdit()));}handleEdit(){let{handleUpdateValue,originalValue,logger:logger4,onSubmitValueParser,keyPath}=this.props,{inputRef,name,deep}=this.state;if(!inputRef)return;let newValue=onSubmitValueParser(!0,keyPath,deep,name,inputRef.value);handleUpdateValue({value:newValue,key:name}).then(()=>{isComponentWillChange(originalValue,newValue)||this.handleCancelEdit();}).catch(logger4.error);}handleEditMode(){this.setState({editEnabled:!0});}refInput(node){this.state.inputRef=node;}handleCancelEdit(){this.setState({editEnabled:!1});}render(){let{name,value:value2,editEnabled,keyPath,deep}=this.state,{handleRemove,originalValue,readOnly,dataType,getStyle,editButtonElement,cancelButtonElement,inputElementGenerator,minusMenuElement,keyPath:comeFromKeyPath}=this.props,style=getStyle(name,originalValue,keyPath,deep,dataType),isReadOnly=readOnly(name,originalValue,keyPath,deep,dataType),isEditing=editEnabled&&!isReadOnly,inputElement=inputElementGenerator(VALUE,comeFromKeyPath,deep,name,originalValue,dataType),editButtonElementLayout=cloneElement(editButtonElement,{onClick:this.handleEdit}),cancelButtonElementLayout=cloneElement(cancelButtonElement,{onClick:this.handleCancelEdit}),inputElementLayout=cloneElement(inputElement,{ref:this.refInput,defaultValue:JSON.stringify(originalValue)}),minusMenuLayout=cloneElement(minusMenuElement,{onClick:handleRemove,className:\"rejt-minus-menu\",style:style.minus});return React15.createElement(\"li\",{className:\"rejt-value-node\",style:style.li},React15.createElement(\"span\",{className:\"rejt-name\",style:style.name},name,\" : \"),isEditing?React15.createElement(\"span\",{className:\"rejt-edit-form\",style:style.editForm},inputElementLayout,\" \",cancelButtonElementLayout,editButtonElementLayout):React15.createElement(\"span\",{className:\"rejt-value\",style:style.value,onClick:isReadOnly?null:this.handleEditMode},String(value2)),!isReadOnly&&!isEditing&&minusMenuLayout)}};JsonValue.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:React15.createElement(\"button\",null,\"e\"),cancelButtonElement:React15.createElement(\"button\",null,\"c\"),minusMenuElement:React15.createElement(\"span\",null,\" - \")};function parse3(string){let result=string;if(result.indexOf(\"function\")===0)return (0, eval)(`(${result})`);try{result=JSON.parse(string);}catch{}return result}var object={minus:{color:\"red\"},plus:{color:\"green\"},collapsed:{color:\"grey\"},delimiter:{},ul:{padding:\"0px\",margin:\"0 0 0 25px\",listStyle:\"none\"},name:{color:\"#2287CD\"},addForm:{}},array={minus:{color:\"red\"},plus:{color:\"green\"},collapsed:{color:\"grey\"},delimiter:{},ul:{padding:\"0px\",margin:\"0 0 0 25px\",listStyle:\"none\"},name:{color:\"#2287CD\"},addForm:{}},value={minus:{color:\"red\"},editForm:{},value:{color:\"#7bba3d\"},li:{minHeight:\"22px\",lineHeight:\"22px\",outline:\"0px\"},name:{color:\"#2287CD\"}};var JsonTree=class extends Component{constructor(props){super(props),this.state={data:props.data,rootName:props.rootName},this.onUpdate=this.onUpdate.bind(this),this.removeRoot=this.removeRoot.bind(this);}static getDerivedStateFromProps(props,state){return props.data!==state.data||props.rootName!==state.rootName?{data:props.data,rootName:props.rootName}:null}onUpdate(key,data){this.setState({data}),this.props.onFullyUpdate(data);}removeRoot(){this.onUpdate(null,null);}render(){let{data,rootName}=this.state,{isCollapsed,onDeltaUpdate,readOnly,getStyle,addButtonElement,cancelButtonElement,editButtonElement,inputElement,textareaElement,minusMenuElement,plusMenuElement,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger:logger4,onSubmitValueParser,fallback=null}=this.props,dataType=getObjectType(data),readOnlyFunction=readOnly;getObjectType(readOnly)===\"Boolean\"&&(readOnlyFunction=()=>readOnly);let inputElementFunction=inputElement;inputElement&&getObjectType(inputElement)!==\"Function\"&&(inputElementFunction=()=>inputElement);let textareaElementFunction=textareaElement;return textareaElement&&getObjectType(textareaElement)!==\"Function\"&&(textareaElementFunction=()=>textareaElement),dataType===\"Object\"||dataType===\"Array\"?React15.createElement(\"div\",{className:\"rejt-tree\"},React15.createElement(JsonNode,{data,name:rootName,deep:-1,isCollapsed,onUpdate:this.onUpdate,onDeltaUpdate,readOnly:readOnlyFunction,getStyle,addButtonElement,cancelButtonElement,editButtonElement,inputElementGenerator:inputElementFunction,textareaElementGenerator:textareaElementFunction,minusMenuElement,plusMenuElement,handleRemove:this.removeRoot,beforeRemoveAction,beforeAddAction,beforeUpdateAction,logger:logger4,onSubmitValueParser})):fallback}};JsonTree.defaultProps={rootName:\"root\",isCollapsed:(keyPath,deep)=>deep!==-1,getStyle:(keyName,data,keyPath,deep,dataType)=>{switch(dataType){case\"Object\":case\"Error\":return object;case\"Array\":return array;default:return value}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(isEditMode,keyPath,deep,name,rawValue)=>parse3(rawValue),inputElement:()=>React15.createElement(\"input\",null),textareaElement:()=>React15.createElement(\"textarea\",null),fallback:null};var {window:globalWindow2}=global$1,Wrapper6=styled.div(({theme})=>({position:\"relative\",display:\"flex\",'&[aria-readonly=\"true\"]':{opacity:.5},\".rejt-tree\":{marginLeft:\"1rem\",fontSize:\"13px\"},\".rejt-value-node, .rejt-object-node > .rejt-collapsed, .rejt-array-node > .rejt-collapsed, .rejt-object-node > .rejt-not-collapsed, .rejt-array-node > .rejt-not-collapsed\":{\"& > svg\":{opacity:0,transition:\"opacity 0.2s\"}},\".rejt-value-node:hover, .rejt-object-node:hover > .rejt-collapsed, .rejt-array-node:hover > .rejt-collapsed, .rejt-object-node:hover > .rejt-not-collapsed, .rejt-array-node:hover > .rejt-not-collapsed\":{\"& > svg\":{opacity:1}},\".rejt-edit-form button\":{display:\"none\"},\".rejt-add-form\":{marginLeft:10},\".rejt-add-value-node\":{display:\"inline-flex\",alignItems:\"center\"},\".rejt-name\":{lineHeight:\"22px\"},\".rejt-not-collapsed-delimiter\":{lineHeight:\"22px\"},\".rejt-plus-menu\":{marginLeft:5},\".rejt-object-node > span > *, .rejt-array-node > span > *\":{position:\"relative\",zIndex:2},\".rejt-object-node, .rejt-array-node\":{position:\"relative\"},\".rejt-object-node > span:first-of-type::after, .rejt-array-node > span:first-of-type::after, .rejt-collapsed::before, .rejt-not-collapsed::before\":{content:'\"\"',position:\"absolute\",top:0,display:\"block\",width:\"100%\",marginLeft:\"-1rem\",padding:\"0 4px 0 1rem\",height:22},\".rejt-collapsed::before, .rejt-not-collapsed::before\":{zIndex:1,background:\"transparent\",borderRadius:4,transition:\"background 0.2s\",pointerEvents:\"none\",opacity:.1},\".rejt-object-node:hover, .rejt-array-node:hover\":{\"& > .rejt-collapsed::before, & > .rejt-not-collapsed::before\":{background:theme.color.secondary}},\".rejt-collapsed::after, .rejt-not-collapsed::after\":{content:'\"\"',position:\"absolute\",display:\"inline-block\",pointerEvents:\"none\",width:0,height:0},\".rejt-collapsed::after\":{left:-8,top:8,borderTop:\"3px solid transparent\",borderBottom:\"3px solid transparent\",borderLeft:\"3px solid rgba(153,153,153,0.6)\"},\".rejt-not-collapsed::after\":{left:-10,top:10,borderTop:\"3px solid rgba(153,153,153,0.6)\",borderLeft:\"3px solid transparent\",borderRight:\"3px solid transparent\"},\".rejt-value\":{display:\"inline-block\",border:\"1px solid transparent\",borderRadius:4,margin:\"1px 0\",padding:\"0 4px\",cursor:\"text\",color:theme.color.defaultText},\".rejt-value-node:hover > .rejt-value\":{background:theme.color.lighter,borderColor:theme.appBorderColor}})),ButtonInline=styled.button(({theme,primary})=>({border:0,height:20,margin:1,borderRadius:4,background:primary?theme.color.secondary:\"transparent\",color:primary?theme.color.lightest:theme.color.dark,fontWeight:primary?\"bold\":\"normal\",cursor:\"pointer\",order:primary?\"initial\":9})),ActionAddIcon=styled(AddIcon)(({theme,disabled})=>({display:\"inline-block\",verticalAlign:\"middle\",width:15,height:15,padding:3,marginLeft:5,cursor:disabled?\"not-allowed\":\"pointer\",color:theme.textMutedColor,\"&:hover\":disabled?{}:{color:theme.color.ancillary},\"svg + &\":{marginLeft:0}})),ActionSubstractIcon=styled(SubtractIcon)(({theme,disabled})=>({display:\"inline-block\",verticalAlign:\"middle\",width:15,height:15,padding:3,marginLeft:5,cursor:disabled?\"not-allowed\":\"pointer\",color:theme.textMutedColor,\"&:hover\":disabled?{}:{color:theme.color.negative},\"svg + &\":{marginLeft:0}})),Input=styled.input(({theme,placeholder})=>({outline:0,margin:placeholder?1:\"1px 0\",padding:\"3px 4px\",color:theme.color.defaultText,background:theme.background.app,border:`1px solid ${theme.appBorderColor}`,borderRadius:4,lineHeight:\"14px\",width:placeholder===\"Key\"?80:120,\"&:focus\":{border:`1px solid ${theme.color.secondary}`}})),RawButton=styled(IconButton)(({theme})=>({position:\"absolute\",zIndex:2,top:2,right:2,height:21,padding:\"0 3px\",background:theme.background.bar,border:`1px solid ${theme.appBorderColor}`,borderRadius:3,color:theme.textMutedColor,fontSize:\"9px\",fontWeight:\"bold\",textDecoration:\"none\",span:{marginLeft:3,marginTop:1}})),RawInput=styled(Form.Textarea)(({theme})=>({flex:1,padding:\"7px 6px\",fontFamily:theme.typography.fonts.mono,fontSize:\"12px\",lineHeight:\"18px\",\"&::placeholder\":{fontFamily:theme.typography.fonts.base,fontSize:\"13px\"},\"&:placeholder-shown\":{padding:\"7px 10px\"}})),ENTER_EVENT={bubbles:!0,cancelable:!0,key:\"Enter\",code:\"Enter\",keyCode:13},dispatchEnterKey=event=>{event.currentTarget.dispatchEvent(new globalWindow2.KeyboardEvent(\"keydown\",ENTER_EVENT));},selectValue=event=>{event.currentTarget.select();},getCustomStyleFunction=theme=>()=>({name:{color:theme.color.secondary},collapsed:{color:theme.color.dark},ul:{listStyle:\"none\",margin:\"0 0 0 1rem\",padding:0},li:{outline:0}}),ObjectControl=({name,value:value2,onChange,argType})=>{let theme=useTheme(),data=useMemo(()=>value2&&cloneDeep(value2),[value2]),hasData=data!=null,[showRaw,setShowRaw]=useState(!hasData),[parseError,setParseError]=useState(null),readonly=!!argType?.table?.readonly,updateRaw=useCallback(raw=>{try{raw&&onChange(JSON.parse(raw)),setParseError(void 0);}catch(e){setParseError(e);}},[onChange]),[forceVisible,setForceVisible]=useState(!1),onForceVisible=useCallback(()=>{onChange({}),setForceVisible(!0);},[setForceVisible]),htmlElRef=useRef(null);if(useEffect(()=>{forceVisible&&htmlElRef.current&&htmlElRef.current.select();},[forceVisible]),!hasData)return React15.createElement(Button,{disabled:readonly,id:getControlSetterButtonId(name),onClick:onForceVisible},\"Set object\");let rawJSONForm=React15.createElement(RawInput,{ref:htmlElRef,id:getControlId(name),name,defaultValue:value2===null?\"\":JSON.stringify(value2,null,2),onBlur:event=>updateRaw(event.target.value),placeholder:\"Edit JSON string...\",autoFocus:forceVisible,valid:parseError?\"error\":null,readOnly:readonly}),isObjectOrArray=Array.isArray(value2)||typeof value2==\"object\"&&value2?.constructor===Object;return React15.createElement(Wrapper6,{\"aria-readonly\":readonly},isObjectOrArray&&React15.createElement(RawButton,{onClick:e=>{e.preventDefault(),setShowRaw(v=>!v);}},showRaw?React15.createElement(EyeCloseIcon,null):React15.createElement(EyeIcon,null),React15.createElement(\"span\",null,\"RAW\")),showRaw?rawJSONForm:React15.createElement(JsonTree,{readOnly:readonly||!isObjectOrArray,isCollapsed:isObjectOrArray?void 0:()=>!0,data,rootName:name,onFullyUpdate:onChange,getStyle:getCustomStyleFunction(theme),cancelButtonElement:React15.createElement(ButtonInline,{type:\"button\"},\"Cancel\"),editButtonElement:React15.createElement(ButtonInline,{type:\"submit\"},\"Save\"),addButtonElement:React15.createElement(ButtonInline,{type:\"submit\",primary:!0},\"Save\"),plusMenuElement:React15.createElement(ActionAddIcon,null),minusMenuElement:React15.createElement(ActionSubstractIcon,null),inputElement:(_,__,___,key)=>key?React15.createElement(Input,{onFocus:selectValue,onBlur:dispatchEnterKey}):React15.createElement(Input,null),fallback:rawJSONForm}))};var RangeInput=styled.input(({theme,min,max,value:value2,disabled})=>({\"&\":{width:\"100%\",backgroundColor:\"transparent\",appearance:\"none\"},\"&::-webkit-slider-runnable-track\":{background:theme.base===\"light\"?`linear-gradient(to right, \n ${theme.color.green} 0%, ${theme.color.green} ${(value2-min)/(max-min)*100}%, \n ${darken(.02,theme.input.background)} ${(value2-min)/(max-min)*100}%, \n ${darken(.02,theme.input.background)} 100%)`:`linear-gradient(to right, \n ${theme.color.green} 0%, ${theme.color.green} ${(value2-min)/(max-min)*100}%, \n ${lighten(.02,theme.input.background)} ${(value2-min)/(max-min)*100}%, \n ${lighten(.02,theme.input.background)} 100%)`,boxShadow:`${theme.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:\"100%\",height:6,cursor:disabled?\"not-allowed\":\"pointer\"},\"&::-webkit-slider-thumb\":{marginTop:\"-6px\",width:16,height:16,border:`1px solid ${rgba(theme.appBorderColor,.2)}`,borderRadius:\"50px\",boxShadow:`0 1px 3px 0px ${rgba(theme.appBorderColor,.2)}`,cursor:disabled?\"not-allowed\":\"grab\",appearance:\"none\",background:`${theme.input.background}`,transition:\"all 150ms ease-out\",\"&:hover\":{background:`${darken(.05,theme.input.background)}`,transform:\"scale3d(1.1, 1.1, 1.1) translateY(-1px)\",transition:\"all 50ms ease-out\"},\"&:active\":{background:`${theme.input.background}`,transform:\"scale3d(1, 1, 1) translateY(0px)\",cursor:disabled?\"not-allowed\":\"grab\"}},\"&:focus\":{outline:\"none\",\"&::-webkit-slider-runnable-track\":{borderColor:rgba(theme.color.secondary,.4)},\"&::-webkit-slider-thumb\":{borderColor:theme.color.secondary,boxShadow:`0 0px 5px 0px ${theme.color.secondary}`}},\"&::-moz-range-track\":{background:theme.base===\"light\"?`linear-gradient(to right, \n ${theme.color.green} 0%, ${theme.color.green} ${(value2-min)/(max-min)*100}%, \n ${darken(.02,theme.input.background)} ${(value2-min)/(max-min)*100}%, \n ${darken(.02,theme.input.background)} 100%)`:`linear-gradient(to right, \n ${theme.color.green} 0%, ${theme.color.green} ${(value2-min)/(max-min)*100}%, \n ${lighten(.02,theme.input.background)} ${(value2-min)/(max-min)*100}%, \n ${lighten(.02,theme.input.background)} 100%)`,boxShadow:`${theme.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:\"100%\",height:6,cursor:disabled?\"not-allowed\":\"pointer\",outline:\"none\"},\"&::-moz-range-thumb\":{width:16,height:16,border:`1px solid ${rgba(theme.appBorderColor,.2)}`,borderRadius:\"50px\",boxShadow:`0 1px 3px 0px ${rgba(theme.appBorderColor,.2)}`,cursor:disabled?\"not-allowed\":\"grap\",background:`${theme.input.background}`,transition:\"all 150ms ease-out\",\"&:hover\":{background:`${darken(.05,theme.input.background)}`,transform:\"scale3d(1.1, 1.1, 1.1) translateY(-1px)\",transition:\"all 50ms ease-out\"},\"&:active\":{background:`${theme.input.background}`,transform:\"scale3d(1, 1, 1) translateY(0px)\",cursor:\"grabbing\"}},\"&::-ms-track\":{background:theme.base===\"light\"?`linear-gradient(to right, \n ${theme.color.green} 0%, ${theme.color.green} ${(value2-min)/(max-min)*100}%, \n ${darken(.02,theme.input.background)} ${(value2-min)/(max-min)*100}%, \n ${darken(.02,theme.input.background)} 100%)`:`linear-gradient(to right, \n ${theme.color.green} 0%, ${theme.color.green} ${(value2-min)/(max-min)*100}%, \n ${lighten(.02,theme.input.background)} ${(value2-min)/(max-min)*100}%, \n ${lighten(.02,theme.input.background)} 100%)`,boxShadow:`${theme.appBorderColor} 0 0 0 1px inset`,color:\"transparent\",width:\"100%\",height:\"6px\",cursor:\"pointer\"},\"&::-ms-fill-lower\":{borderRadius:6},\"&::-ms-fill-upper\":{borderRadius:6},\"&::-ms-thumb\":{width:16,height:16,background:`${theme.input.background}`,border:`1px solid ${rgba(theme.appBorderColor,.2)}`,borderRadius:50,cursor:\"grab\",marginTop:0},\"@supports (-ms-ime-align:auto)\":{\"input[type=range]\":{margin:\"0\"}}})),RangeLabel=styled.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:\"nowrap\",fontFeatureSettings:\"tnum\",fontVariantNumeric:\"tabular-nums\",\"[aria-readonly=true] &\":{opacity:.5}}),RangeCurrentAndMaxLabel=styled(RangeLabel)(({numberOFDecimalsPlaces,max})=>({width:`${numberOFDecimalsPlaces+max.toString().length*2+3}ch`,textAlign:\"right\",flexShrink:0})),RangeWrapper=styled.div({display:\"flex\",alignItems:\"center\",width:\"100%\"});function getNumberOfDecimalPlaces(number){let match=number.toString().match(/(?:\\.(\\d+))?(?:[eE]([+-]?\\d+))?$/);return match?Math.max(0,(match[1]?match[1].length:0)-(match[2]?+match[2]:0)):0}var RangeControl=({name,value:value2,onChange,min=0,max=100,step=1,onBlur,onFocus,argType})=>{let handleChange=event=>{onChange(parse2(event.target.value));},hasValue=value2!==void 0,numberOFDecimalsPlaces=useMemo(()=>getNumberOfDecimalPlaces(step),[step]),readonly=!!argType?.table?.readonly;return React15.createElement(RangeWrapper,{\"aria-readonly\":readonly},React15.createElement(RangeLabel,null,min),React15.createElement(RangeInput,{id:getControlId(name),type:\"range\",disabled:readonly,onChange:handleChange,name,value:value2,min,max,step,onFocus,onBlur}),React15.createElement(RangeCurrentAndMaxLabel,{numberOFDecimalsPlaces,max},hasValue?value2.toFixed(numberOFDecimalsPlaces):\"--\",\" / \",max))};var Wrapper7=styled.label({display:\"flex\"}),MaxLength=styled.div(({isMaxed})=>({marginLeft:\"0.75rem\",paddingTop:\"0.35rem\",color:isMaxed?\"red\":void 0})),TextControl=({name,value:value2,onChange,onFocus,onBlur,maxLength,argType})=>{let handleChange=event=>{onChange(event.target.value);},readonly=!!argType?.table?.readonly,[forceVisible,setForceVisible]=useState(!1),onForceVisible=useCallback(()=>{onChange(\"\"),setForceVisible(!0);},[setForceVisible]);if(value2===void 0)return React15.createElement(Button,{variant:\"outline\",size:\"medium\",disabled:readonly,id:getControlSetterButtonId(name),onClick:onForceVisible},\"Set string\");let isValid=typeof value2==\"string\";return React15.createElement(Wrapper7,null,React15.createElement(Form.Textarea,{id:getControlId(name),maxLength,onChange:handleChange,disabled:readonly,size:\"flex\",placeholder:\"Edit string...\",autoFocus:forceVisible,valid:isValid?null:\"error\",name,value:isValid?value2:\"\",onFocus,onBlur}),maxLength&&React15.createElement(MaxLength,{isMaxed:value2?.length===maxLength},value2?.length??0,\" / \",maxLength))};var FileInput=styled(Form.Input)({padding:10});function revokeOldUrls(urls){urls.forEach(url=>{url.startsWith(\"blob:\")&&URL.revokeObjectURL(url);});}var FilesControl=({onChange,name,accept=\"image/*\",value:value2,argType})=>{let inputElement=useRef(null),readonly=argType?.control?.readOnly;function handleFileChange(e){if(!e.target.files)return;let fileUrls=Array.from(e.target.files).map(file=>URL.createObjectURL(file));onChange(fileUrls),revokeOldUrls(value2);}return useEffect(()=>{value2==null&&inputElement.current&&(inputElement.current.value=null);},[value2,name]),React15.createElement(FileInput,{ref:inputElement,id:getControlId(name),type:\"file\",name,multiple:!0,disabled:readonly,onChange:handleFileChange,accept,size:\"flex\"})};var LazyColorControl=lazy(()=>import('./Color-ERTF36HU.mjs')),ColorControl=props=>React15.createElement(Suspense,{fallback:React15.createElement(\"div\",null)},React15.createElement(LazyColorControl,{...props}));var Controls2={array:ObjectControl,object:ObjectControl,boolean:BooleanControl,color:ColorControl,date:DateControl,number:NumberControl,check:OptionsControl,\"inline-check\":OptionsControl,radio:OptionsControl,\"inline-radio\":OptionsControl,select:OptionsControl,\"multi-select\":OptionsControl,range:RangeControl,text:TextControl,file:FilesControl},NoControl=()=>React15.createElement(React15.Fragment,null,\"-\"),ArgControl=({row,arg,updateArgs,isHovered})=>{let{key,control}=row,[isFocused,setFocused]=useState(!1),[boxedValue,setBoxedValue]=useState({value:arg});useEffect(()=>{isFocused||setBoxedValue({value:arg});},[isFocused,arg]);let onChange=useCallback(argVal=>(setBoxedValue({value:argVal}),updateArgs({[key]:argVal}),argVal),[updateArgs,key]),onBlur=useCallback(()=>setFocused(!1),[]),onFocus=useCallback(()=>setFocused(!0),[]);if(!control||control.disable){let canBeSetup=control?.disable!==!0&&row?.type?.name!==\"function\";return isHovered&&canBeSetup?React15.createElement(Link,{href:\"https://storybook.js.org/docs/react/essentials/controls\",target:\"_blank\",withArrow:!0},\"Setup controls\"):React15.createElement(NoControl,null)}let props={name:key,argType:row,value:boxedValue.value,onChange,onBlur,onFocus},Control=Controls2[control.type]||NoControl;return React15.createElement(Control,{...props,...control,controlType:control.type})};var Table=styled.table(({theme})=>({\"&&\":{borderCollapse:\"collapse\",borderSpacing:0,border:\"none\",tr:{border:\"none !important\",background:\"none\"},\"td, th\":{padding:0,border:\"none\",width:\"auto!important\"},marginTop:0,marginBottom:0,\"th:first-of-type, td:first-of-type\":{paddingLeft:0},\"th:last-of-type, td:last-of-type\":{paddingRight:0},td:{paddingTop:0,paddingBottom:4,\"&:not(:first-of-type)\":{paddingLeft:10,paddingRight:0}},tbody:{boxShadow:\"none\",border:\"none\"},code:codeCommon({theme}),div:{span:{fontWeight:\"bold\"}},\"& code\":{margin:0,display:\"inline-block\",fontSize:theme.typography.size.s1}}})),ArgJsDoc=({tags})=>{let params=(tags.params||[]).filter(x=>x.description),hasDisplayableParams=params.length!==0,hasDisplayableDeprecated=tags.deprecated!=null,hasDisplayableReturns=tags.returns!=null&&tags.returns.description!=null;return !hasDisplayableParams&&!hasDisplayableReturns&&!hasDisplayableDeprecated?null:React15.createElement(React15.Fragment,null,React15.createElement(Table,null,React15.createElement(\"tbody\",null,hasDisplayableDeprecated&&React15.createElement(\"tr\",{key:\"deprecated\"},React15.createElement(\"td\",{colSpan:2},React15.createElement(\"strong\",null,\"Deprecated\"),\": \",tags.deprecated.toString())),hasDisplayableParams&¶ms.map(x=>React15.createElement(\"tr\",{key:x.name},React15.createElement(\"td\",null,React15.createElement(\"code\",null,x.name)),React15.createElement(\"td\",null,x.description))),hasDisplayableReturns&&React15.createElement(\"tr\",{key:\"returns\"},React15.createElement(\"td\",null,React15.createElement(\"code\",null,\"Returns\")),React15.createElement(\"td\",null,tags.returns.description)))))};var ITEMS_BEFORE_EXPANSION=8,Summary=styled.div(({isExpanded})=>({display:\"flex\",flexDirection:isExpanded?\"column\":\"row\",flexWrap:\"wrap\",alignItems:\"flex-start\",marginBottom:\"-4px\",minWidth:100})),Text3=styled.span(codeCommon,({theme,simple=!1})=>({flex:\"0 0 auto\",fontFamily:theme.typography.fonts.mono,fontSize:theme.typography.size.s1,wordBreak:\"break-word\",whiteSpace:\"normal\",maxWidth:\"100%\",margin:0,marginRight:\"4px\",marginBottom:\"4px\",paddingTop:\"2px\",paddingBottom:\"2px\",lineHeight:\"13px\",...simple&&{background:\"transparent\",border:\"0 none\",paddingLeft:0}})),ExpandButton=styled.button(({theme})=>({fontFamily:theme.typography.fonts.mono,color:theme.color.secondary,marginBottom:\"4px\",background:\"none\",border:\"none\"})),Expandable=styled.div(codeCommon,({theme})=>({fontFamily:theme.typography.fonts.mono,color:theme.color.secondary,fontSize:theme.typography.size.s1,margin:0,whiteSpace:\"nowrap\",display:\"flex\",alignItems:\"center\"})),Detail=styled.div(({theme,width})=>({width,minWidth:200,maxWidth:800,padding:15,fontFamily:theme.typography.fonts.mono,fontSize:theme.typography.size.s1,boxSizing:\"content-box\",\"& code\":{padding:\"0 !important\"}})),ChevronUpIcon=styled(ChevronSmallUpIcon)({marginLeft:4}),ChevronDownIcon=styled(ChevronSmallDownIcon)({marginLeft:4}),EmptyArg=()=>React15.createElement(\"span\",null,\"-\"),ArgText=({text,simple})=>React15.createElement(Text3,{simple},text),calculateDetailWidth=memoize(1e3)(detail=>{let lines=detail.split(/\\r?\\n/);return `${Math.max(...lines.map(x=>x.length))}ch`}),getSummaryItems=summary=>{if(!summary)return [summary];let summaryItems=summary.split(\"|\").map(value2=>value2.trim());return uniq(summaryItems)},renderSummaryItems=(summaryItems,isExpanded=!0)=>{let items=summaryItems;return isExpanded||(items=summaryItems.slice(0,ITEMS_BEFORE_EXPANSION)),items.map(item=>React15.createElement(ArgText,{key:item,text:item===\"\"?'\"\"':item}))},ArgSummary=({value:value2,initialExpandedArgs})=>{let{summary,detail}=value2,[isOpen,setIsOpen]=useState(!1),[isExpanded,setIsExpanded]=useState(initialExpandedArgs||!1);if(summary==null)return null;let summaryAsString=typeof summary.toString==\"function\"?summary.toString():summary;if(detail==null){if(/[(){}[\\]<>]/.test(summaryAsString))return React15.createElement(ArgText,{text:summaryAsString});let summaryItems=getSummaryItems(summaryAsString),itemsCount=summaryItems.length;return itemsCount>ITEMS_BEFORE_EXPANSION?React15.createElement(Summary,{isExpanded},renderSummaryItems(summaryItems,isExpanded),React15.createElement(ExpandButton,{onClick:()=>setIsExpanded(!isExpanded)},isExpanded?\"Show less...\":`Show ${itemsCount-ITEMS_BEFORE_EXPANSION} more...`)):React15.createElement(Summary,null,renderSummaryItems(summaryItems))}return React15.createElement(WithTooltipPure,{closeOnOutsideClick:!0,placement:\"bottom\",visible:isOpen,onVisibleChange:isVisible=>{setIsOpen(isVisible);},tooltip:React15.createElement(Detail,{width:calculateDetailWidth(detail)},React15.createElement(SyntaxHighlighter,{language:\"jsx\",format:!1},detail))},React15.createElement(Expandable,{className:\"sbdocs-expandable\"},React15.createElement(\"span\",null,summaryAsString),isOpen?React15.createElement(ChevronUpIcon,null):React15.createElement(ChevronDownIcon,null)))},ArgValue=({value:value2,initialExpandedArgs})=>value2==null?React15.createElement(EmptyArg,null):React15.createElement(ArgSummary,{value:value2,initialExpandedArgs});var Name=styled.span({fontWeight:\"bold\"}),Required=styled.span(({theme})=>({color:theme.color.negative,fontFamily:theme.typography.fonts.mono,cursor:\"help\"})),Description=styled.div(({theme})=>({\"&&\":{p:{margin:\"0 0 10px 0\"},a:{color:theme.color.secondary}},code:{...codeCommon({theme}),fontSize:12,fontFamily:theme.typography.fonts.mono},\"& code\":{margin:0,display:\"inline-block\"},\"& pre > code\":{whiteSpace:\"pre-wrap\"}})),Type=styled.div(({theme,hasDescription})=>({color:theme.base===\"light\"?transparentize(.1,theme.color.defaultText):transparentize(.2,theme.color.defaultText),marginTop:hasDescription?4:0})),TypeWithJsDoc=styled.div(({theme,hasDescription})=>({color:theme.base===\"light\"?transparentize(.1,theme.color.defaultText):transparentize(.2,theme.color.defaultText),marginTop:hasDescription?12:0,marginBottom:12})),StyledTd=styled.td(({theme,expandable})=>({paddingLeft:expandable?\"40px !important\":\"20px !important\"})),toSummary=value2=>value2&&{summary:typeof value2==\"string\"?value2:value2.name},ArgRow=props=>{let[isHovered,setIsHovered]=useState(!1),{row,updateArgs,compact,expandable,initialExpandedArgs}=props,{name,description}=row,table=row.table||{},type=table.type||toSummary(row.type),defaultValue=table.defaultValue||row.defaultValue,required=row.type?.required,hasDescription=description!=null&&description!==\"\";return React15.createElement(\"tr\",{onMouseEnter:()=>setIsHovered(!0),onMouseLeave:()=>setIsHovered(!1)},React15.createElement(StyledTd,{expandable},React15.createElement(Name,null,name),required?React15.createElement(Required,{title:\"Required\"},\"*\"):null),compact?null:React15.createElement(\"td\",null,hasDescription&&React15.createElement(Description,null,React15.createElement(Markdown,null,description)),table.jsDocTags!=null?React15.createElement(React15.Fragment,null,React15.createElement(TypeWithJsDoc,{hasDescription},React15.createElement(ArgValue,{value:type,initialExpandedArgs})),React15.createElement(ArgJsDoc,{tags:table.jsDocTags})):React15.createElement(Type,{hasDescription},React15.createElement(ArgValue,{value:type,initialExpandedArgs}))),compact?null:React15.createElement(\"td\",null,React15.createElement(ArgValue,{value:defaultValue,initialExpandedArgs})),updateArgs?React15.createElement(\"td\",null,React15.createElement(ArgControl,{...props,isHovered})):null)};var Wrapper8=styled.div(({inAddonPanel,theme})=>({height:inAddonPanel?\"100%\":\"auto\",display:\"flex\",border:inAddonPanel?\"none\":`1px solid ${theme.appBorderColor}`,borderRadius:inAddonPanel?0:theme.appBorderRadius,padding:inAddonPanel?0:40,alignItems:\"center\",justifyContent:\"center\",flexDirection:\"column\",gap:15,background:theme.background.content,boxShadow:\"rgba(0, 0, 0, 0.10) 0 1px 3px 0\"})),Links=styled.div(({theme})=>({display:\"flex\",fontSize:theme.typography.size.s2-1,gap:25})),Divider=styled.div(({theme})=>({width:1,height:16,backgroundColor:theme.appBorderColor})),Empty=({inAddonPanel})=>{let[isLoading,setIsLoading]=useState(!0);return useEffect(()=>{let load=setTimeout(()=>{setIsLoading(!1);},100);return ()=>clearTimeout(load)},[]),isLoading?null:React15.createElement(Wrapper8,{inAddonPanel},React15.createElement(EmptyTabContent,{title:inAddonPanel?\"Interactive story playground\":\"Args table with interactive controls couldn't be auto-generated\",description:React15.createElement(React15.Fragment,null,\"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically.\"),footer:React15.createElement(Links,null,inAddonPanel&&React15.createElement(React15.Fragment,null,React15.createElement(Link,{href:\"https://youtu.be/0gOfS6K0x0E\",target:\"_blank\",withArrow:!0},React15.createElement(VideoIcon,null),\" Watch 5m video\"),React15.createElement(Divider,null),React15.createElement(Link,{href:\"https://storybook.js.org/docs/essentials/controls\",target:\"_blank\",withArrow:!0},React15.createElement(DocumentIcon,null),\" Read docs\")),!inAddonPanel&&React15.createElement(Link,{href:\"https://storybook.js.org/docs/essentials/controls\",target:\"_blank\",withArrow:!0},React15.createElement(DocumentIcon,null),\" Learn how to set that up\"))}))};var ExpanderIconDown=styled(ChevronDownIcon$1)(({theme})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:theme.base===\"light\"?transparentize(.25,theme.color.defaultText):transparentize(.3,theme.color.defaultText),border:\"none\",display:\"inline-block\"})),ExpanderIconRight=styled(ChevronRightIcon)(({theme})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:theme.base===\"light\"?transparentize(.25,theme.color.defaultText):transparentize(.3,theme.color.defaultText),border:\"none\",display:\"inline-block\"})),FlexWrapper=styled.span(({theme})=>({display:\"flex\",lineHeight:\"20px\",alignItems:\"center\"})),Section=styled.td(({theme})=>({position:\"relative\",letterSpacing:\"0.35em\",textTransform:\"uppercase\",fontWeight:theme.typography.weight.bold,fontSize:theme.typography.size.s1-1,color:theme.base===\"light\"?transparentize(.4,theme.color.defaultText):transparentize(.6,theme.color.defaultText),background:`${theme.background.app} !important`,\"& ~ td\":{background:`${theme.background.app} !important`}})),Subsection=styled.td(({theme})=>({position:\"relative\",fontWeight:theme.typography.weight.bold,fontSize:theme.typography.size.s2-1,background:theme.background.app})),StyledTd2=styled.td(()=>({position:\"relative\"})),StyledTr=styled.tr(({theme})=>({\"&:hover > td\":{backgroundColor:`${lighten(.005,theme.background.app)} !important`,boxShadow:`${theme.color.mediumlight} 0 - 1px 0 0 inset`,cursor:\"row-resize\"}})),ClickIntercept=styled.button(()=>({background:\"none\",border:\"none\",padding:\"0\",font:\"inherit\",position:\"absolute\",top:0,bottom:0,left:0,right:0,height:\"100%\",width:\"100%\",color:\"transparent\",cursor:\"row-resize !important\"})),SectionRow=({level=\"section\",label,children,initialExpanded=!0,colSpan=3})=>{let[expanded,setExpanded]=useState(initialExpanded),Level=level===\"subsection\"?Subsection:Section,itemCount=children?.length||0,caption=level===\"subsection\"?`${itemCount} item${itemCount!==1?\"s\":\"\"}`:\"\",helperText=`${expanded?\"Hide\":\"Show\"} ${level===\"subsection\"?itemCount:label} item${itemCount!==1?\"s\":\"\"}`;return React15.createElement(React15.Fragment,null,React15.createElement(StyledTr,{title:helperText},React15.createElement(Level,{colSpan:1},React15.createElement(ClickIntercept,{onClick:e=>setExpanded(!expanded),tabIndex:0},helperText),React15.createElement(FlexWrapper,null,expanded?React15.createElement(ExpanderIconDown,null):React15.createElement(ExpanderIconRight,null),label)),React15.createElement(StyledTd2,{colSpan:colSpan-1},React15.createElement(ClickIntercept,{onClick:e=>setExpanded(!expanded),tabIndex:-1,style:{outline:\"none\"}},helperText),expanded?null:caption)),expanded?children:null)};var Row=styled.div(({theme})=>({display:\"flex\",gap:16,borderBottom:`1px solid ${theme.appBorderColor}`,\"&:last-child\":{borderBottom:0}})),Column=styled.div(({numColumn})=>({display:\"flex\",flexDirection:\"column\",flex:numColumn||1,gap:5,padding:\"12px 20px\"})),SkeletonText=styled.div(({theme,width,height})=>({animation:`${theme.animation.glow} 1.5s ease-in-out infinite`,background:theme.appBorderColor,width:width||\"100%\",height:height||16,borderRadius:3})),columnWidth=[2,4,2,2],Skeleton=()=>React15.createElement(React15.Fragment,null,React15.createElement(Row,null,React15.createElement(Column,{numColumn:columnWidth[0]},React15.createElement(SkeletonText,{width:\"60%\"})),React15.createElement(Column,{numColumn:columnWidth[1]},React15.createElement(SkeletonText,{width:\"30%\"})),React15.createElement(Column,{numColumn:columnWidth[2]},React15.createElement(SkeletonText,{width:\"60%\"})),React15.createElement(Column,{numColumn:columnWidth[3]},React15.createElement(SkeletonText,{width:\"60%\"}))),React15.createElement(Row,null,React15.createElement(Column,{numColumn:columnWidth[0]},React15.createElement(SkeletonText,{width:\"60%\"})),React15.createElement(Column,{numColumn:columnWidth[1]},React15.createElement(SkeletonText,{width:\"80%\"}),React15.createElement(SkeletonText,{width:\"30%\"})),React15.createElement(Column,{numColumn:columnWidth[2]},React15.createElement(SkeletonText,{width:\"60%\"})),React15.createElement(Column,{numColumn:columnWidth[3]},React15.createElement(SkeletonText,{width:\"60%\"}))),React15.createElement(Row,null,React15.createElement(Column,{numColumn:columnWidth[0]},React15.createElement(SkeletonText,{width:\"60%\"})),React15.createElement(Column,{numColumn:columnWidth[1]},React15.createElement(SkeletonText,{width:\"80%\"}),React15.createElement(SkeletonText,{width:\"30%\"})),React15.createElement(Column,{numColumn:columnWidth[2]},React15.createElement(SkeletonText,{width:\"60%\"})),React15.createElement(Column,{numColumn:columnWidth[3]},React15.createElement(SkeletonText,{width:\"60%\"}))),React15.createElement(Row,null,React15.createElement(Column,{numColumn:columnWidth[0]},React15.createElement(SkeletonText,{width:\"60%\"})),React15.createElement(Column,{numColumn:columnWidth[1]},React15.createElement(SkeletonText,{width:\"80%\"}),React15.createElement(SkeletonText,{width:\"30%\"})),React15.createElement(Column,{numColumn:columnWidth[2]},React15.createElement(SkeletonText,{width:\"60%\"})),React15.createElement(Column,{numColumn:columnWidth[3]},React15.createElement(SkeletonText,{width:\"60%\"}))));var TableWrapper=styled.table(({theme,compact,inAddonPanel})=>({\"&&\":{borderSpacing:0,color:theme.color.defaultText,\"td, th\":{padding:0,border:\"none\",verticalAlign:\"top\",textOverflow:\"ellipsis\"},fontSize:theme.typography.size.s2-1,lineHeight:\"20px\",textAlign:\"left\",width:\"100%\",marginTop:inAddonPanel?0:25,marginBottom:inAddonPanel?0:40,\"thead th:first-of-type, td:first-of-type\":{width:\"25%\"},\"th:first-of-type, td:first-of-type\":{paddingLeft:20},\"th:nth-of-type(2), td:nth-of-type(2)\":{...compact?null:{width:\"35%\"}},\"td:nth-of-type(3)\":{...compact?null:{width:\"15%\"}},\"th:last-of-type, td:last-of-type\":{paddingRight:20,...compact?null:{width:\"25%\"}},th:{color:theme.base===\"light\"?transparentize(.25,theme.color.defaultText):transparentize(.45,theme.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:\"10px\",paddingBottom:\"10px\",\"&:not(:first-of-type)\":{paddingLeft:15,paddingRight:15},\"&:last-of-type\":{paddingRight:20}},marginLeft:inAddonPanel?0:1,marginRight:inAddonPanel?0:1,tbody:{...inAddonPanel?null:{filter:theme.base===\"light\"?\"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))\":\"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))\"},\"> tr > *\":{background:theme.background.content,borderTop:`1px solid ${theme.appBorderColor}`},...inAddonPanel?null:{\"> tr:first-of-type > *\":{borderBlockStart:`1px solid ${theme.appBorderColor}`},\"> tr:last-of-type > *\":{borderBlockEnd:`1px solid ${theme.appBorderColor}`},\"> tr > *:first-of-type\":{borderInlineStart:`1px solid ${theme.appBorderColor}`},\"> tr > *:last-of-type\":{borderInlineEnd:`1px solid ${theme.appBorderColor}`},\"> tr:first-of-type > td:first-of-type\":{borderTopLeftRadius:theme.appBorderRadius},\"> tr:first-of-type > td:last-of-type\":{borderTopRightRadius:theme.appBorderRadius},\"> tr:last-of-type > td:first-of-type\":{borderBottomLeftRadius:theme.appBorderRadius},\"> tr:last-of-type > td:last-of-type\":{borderBottomRightRadius:theme.appBorderRadius}}}}})),StyledIconButton=styled(IconButton)(({theme})=>({margin:\"-4px -12px -4px 0\"})),ControlHeadingWrapper=styled.span({display:\"flex\",justifyContent:\"space-between\"});var sortFns={alpha:(a,b)=>a.name.localeCompare(b.name),requiredFirst:(a,b)=>+!!b.type?.required-+!!a.type?.required||a.name.localeCompare(b.name),none:void 0},groupRows=(rows,sort)=>{let sections={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!rows)return sections;Object.entries(rows).forEach(([key,row])=>{let{category,subcategory}=row?.table||{};if(category){let section=sections.sections[category]||{ungrouped:[],subsections:{}};if(!subcategory)section.ungrouped.push({key,...row});else {let subsection=section.subsections[subcategory]||[];subsection.push({key,...row}),section.subsections[subcategory]=subsection;}sections.sections[category]=section;}else if(subcategory){let subsection=sections.ungroupedSubsections[subcategory]||[];subsection.push({key,...row}),sections.ungroupedSubsections[subcategory]=subsection;}else sections.ungrouped.push({key,...row});});let sortFn=sortFns[sort],sortSubsection=record=>sortFn?Object.keys(record).reduce((acc,cur)=>({...acc,[cur]:record[cur].sort(sortFn)}),{}):record;return {ungrouped:sections.ungrouped.sort(sortFn),ungroupedSubsections:sortSubsection(sections.ungroupedSubsections),sections:Object.keys(sections.sections).reduce((acc,cur)=>({...acc,[cur]:{ungrouped:sections.sections[cur].ungrouped.sort(sortFn),subsections:sortSubsection(sections.sections[cur].subsections)}}),{})}},safeIncludeConditionalArg=(row,args,globals)=>{try{return includeConditionalArg(row,args,globals)}catch(err){return once.warn(err.message),!1}},ArgsTable=props=>{let{updateArgs,resetArgs,compact,inAddonPanel,initialExpandedArgs,sort=\"none\",isLoading}=props;if(\"error\"in props){let{error}=props;return React15.createElement(EmptyBlock,null,error,\"\\xA0\",React15.createElement(Link,{href:\"http://storybook.js.org/docs/\",target:\"_blank\",withArrow:!0},React15.createElement(DocumentIcon,null),\" Read the docs\"))}if(isLoading)return React15.createElement(Skeleton,null);let{rows,args,globals}=\"rows\"in props&&props,groups=groupRows(pickBy(rows,row=>!row?.table?.disable&&safeIncludeConditionalArg(row,args||{},globals||{})),sort),hasNoUngrouped=groups.ungrouped.length===0,hasNoSections=Object.entries(groups.sections).length===0,hasNoUngroupedSubsections=Object.entries(groups.ungroupedSubsections).length===0;if(hasNoUngrouped&&hasNoSections&&hasNoUngroupedSubsections)return React15.createElement(Empty,{inAddonPanel});let colSpan=1;updateArgs&&(colSpan+=1),compact||(colSpan+=2);let expandable=Object.keys(groups.sections).length>0,common={updateArgs,compact,inAddonPanel,initialExpandedArgs};return React15.createElement(ResetWrapper,null,React15.createElement(TableWrapper,{compact,inAddonPanel,className:\"docblock-argstable sb-unstyled\"},React15.createElement(\"thead\",{className:\"docblock-argstable-head\"},React15.createElement(\"tr\",null,React15.createElement(\"th\",null,React15.createElement(\"span\",null,\"Name\")),compact?null:React15.createElement(\"th\",null,React15.createElement(\"span\",null,\"Description\")),compact?null:React15.createElement(\"th\",null,React15.createElement(\"span\",null,\"Default\")),updateArgs?React15.createElement(\"th\",null,React15.createElement(ControlHeadingWrapper,null,\"Control\",\" \",!isLoading&&resetArgs&&React15.createElement(StyledIconButton,{onClick:()=>resetArgs(),title:\"Reset controls\"},React15.createElement(UndoIcon,{\"aria-hidden\":!0})))):null)),React15.createElement(\"tbody\",{className:\"docblock-argstable-body\"},groups.ungrouped.map(row=>React15.createElement(ArgRow,{key:row.key,row,arg:args&&args[row.key],...common})),Object.entries(groups.ungroupedSubsections).map(([subcategory,subsection])=>React15.createElement(SectionRow,{key:subcategory,label:subcategory,level:\"subsection\",colSpan},subsection.map(row=>React15.createElement(ArgRow,{key:row.key,row,arg:args&&args[row.key],expandable,...common})))),Object.entries(groups.sections).map(([category,section])=>React15.createElement(SectionRow,{key:category,label:category,level:\"section\",colSpan},section.ungrouped.map(row=>React15.createElement(ArgRow,{key:row.key,row,arg:args&&args[row.key],...common})),Object.entries(section.subsections).map(([subcategory,subsection])=>React15.createElement(SectionRow,{key:subcategory,label:subcategory,level:\"subsection\",colSpan},subsection.map(row=>React15.createElement(ArgRow,{key:row.key,row,arg:args&&args[row.key],expandable,...common})))))))))};var TabbedArgsTable=({tabs,...props})=>{let entries=Object.entries(tabs);return entries.length===1?React15.createElement(ArgsTable,{...entries[0][1],...props}):React15.createElement(TabsState,null,entries.map((entry,index)=>{let[label,table]=entry,id=`prop_table_div_${label}`,Component4=\"div\",argsTableProps=index===0?props:{sort:props.sort};return React15.createElement(Component4,{key:id,id,title:label},({active})=>active?React15.createElement(ArgsTable,{key:`prop_table_${label}`,...table,...argsTableProps}):null)}))};var Label4=styled.div(({theme})=>({marginRight:30,fontSize:`${theme.typography.size.s1}px`,color:theme.base===\"light\"?transparentize(.4,theme.color.defaultText):transparentize(.6,theme.color.defaultText)})),Sample=styled.div({overflow:\"hidden\",whiteSpace:\"nowrap\",textOverflow:\"ellipsis\"}),TypeSpecimen=styled.div({display:\"flex\",flexDirection:\"row\",alignItems:\"baseline\",\"&:not(:last-child)\":{marginBottom:\"1rem\"}}),Wrapper9=styled.div(withReset,({theme})=>({...getBlockBackgroundStyle(theme),margin:\"25px 0 40px\",padding:\"30px 20px\"})),Typeset=({fontFamily,fontSizes,fontWeight,sampleText,...props})=>React15.createElement(Wrapper9,{...props,className:\"docblock-typeset sb-unstyled\"},fontSizes.map(size=>React15.createElement(TypeSpecimen,{key:size},React15.createElement(Label4,null,size),React15.createElement(Sample,{style:{fontFamily,fontSize:size,fontWeight,lineHeight:1.2}},sampleText||\"Was he a beast if music could move him so?\"))));var ItemTitle=styled.div(({theme})=>({fontWeight:theme.typography.weight.bold,color:theme.color.defaultText})),ItemSubtitle=styled.div(({theme})=>({color:theme.base===\"light\"?transparentize(.2,theme.color.defaultText):transparentize(.6,theme.color.defaultText)})),ItemDescription=styled.div({flex:\"0 0 30%\",lineHeight:\"20px\",marginTop:5}),SwatchLabel=styled.div(({theme})=>({flex:1,textAlign:\"center\",fontFamily:theme.typography.fonts.mono,fontSize:theme.typography.size.s1,lineHeight:1,overflow:\"hidden\",color:theme.base===\"light\"?transparentize(.4,theme.color.defaultText):transparentize(.6,theme.color.defaultText),\"> div\":{display:\"inline-block\",overflow:\"hidden\",maxWidth:\"100%\",textOverflow:\"ellipsis\"},span:{display:\"block\",marginTop:2}})),SwatchLabels=styled.div({display:\"flex\",flexDirection:\"row\"}),Swatch=styled.div(({background})=>({position:\"relative\",flex:1,\"&::before\":{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",background,content:'\"\"'}})),SwatchColors=styled.div(({theme})=>({...getBlockBackgroundStyle(theme),display:\"flex\",flexDirection:\"row\",height:50,marginBottom:5,overflow:\"hidden\",backgroundColor:\"white\",backgroundImage:\"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)\",backgroundClip:\"padding-box\"})),SwatchSpecimen=styled.div({display:\"flex\",flexDirection:\"column\",flex:1,position:\"relative\",marginBottom:30}),Swatches=styled.div({flex:1,display:\"flex\",flexDirection:\"row\"}),Item=styled.div({display:\"flex\",alignItems:\"flex-start\"}),ListName=styled.div({flex:\"0 0 30%\"}),ListSwatches=styled.div({flex:1}),ListHeading=styled.div(({theme})=>({display:\"flex\",flexDirection:\"row\",alignItems:\"center\",paddingBottom:20,fontWeight:theme.typography.weight.bold,color:theme.base===\"light\"?transparentize(.4,theme.color.defaultText):transparentize(.6,theme.color.defaultText)})),List=styled.div(({theme})=>({fontSize:theme.typography.size.s2,lineHeight:\"20px\",display:\"flex\",flexDirection:\"column\"}));function renderSwatch(color,index){return React15.createElement(Swatch,{key:`${color}-${index}`,title:color,background:color})}function renderSwatchLabel(color,index,colorDescription){return React15.createElement(SwatchLabel,{key:`${color}-${index}`,title:color},React15.createElement(\"div\",null,color,colorDescription&&React15.createElement(\"span\",null,colorDescription)))}function renderSwatchSpecimen(colors){if(Array.isArray(colors))return React15.createElement(SwatchSpecimen,null,React15.createElement(SwatchColors,null,colors.map((color,index)=>renderSwatch(color,index))),React15.createElement(SwatchLabels,null,colors.map((color,index)=>renderSwatchLabel(color,index))));let swatchElements=[],labelElements=[];for(let colorKey in colors){let colorValue=colors[colorKey];swatchElements.push(renderSwatch(colorValue,swatchElements.length)),labelElements.push(renderSwatchLabel(colorKey,labelElements.length,colorValue));}return React15.createElement(SwatchSpecimen,null,React15.createElement(SwatchColors,null,swatchElements),React15.createElement(SwatchLabels,null,labelElements))}var ColorItem=({title,subtitle,colors})=>React15.createElement(Item,null,React15.createElement(ItemDescription,null,React15.createElement(ItemTitle,null,title),React15.createElement(ItemSubtitle,null,subtitle)),React15.createElement(Swatches,null,renderSwatchSpecimen(colors))),ColorPalette=({children,...props})=>React15.createElement(ResetWrapper,null,React15.createElement(List,{...props,className:\"docblock-colorpalette sb-unstyled\"},React15.createElement(ListHeading,null,React15.createElement(ListName,null,\"Name\"),React15.createElement(ListSwatches,null,\"Swatches\")),children));var ItemLabel=styled.div(({theme})=>({fontFamily:theme.typography.fonts.base,fontSize:theme.typography.size.s2,color:theme.color.defaultText,marginLeft:10,lineHeight:1.2})),ItemSpecimen=styled.div(({theme})=>({...getBlockBackgroundStyle(theme),overflow:\"hidden\",height:40,width:40,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",flex:\"none\",\"> img, > svg\":{width:20,height:20}})),Item2=styled.div({display:\"inline-flex\",flexDirection:\"row\",alignItems:\"center\",flex:\"0 1 calc(20% - 10px)\",minWidth:120,margin:\"0px 10px 30px 0\"}),List2=styled.div({display:\"flex\",flexFlow:\"row wrap\"}),IconItem=({name,children})=>React15.createElement(Item2,null,React15.createElement(ItemSpecimen,null,children),React15.createElement(ItemLabel,null,name)),IconGallery=({children,...props})=>React15.createElement(ResetWrapper,null,React15.createElement(List2,{...props,className:\"docblock-icongallery sb-unstyled\"},children));var anchorBlockIdFromId=storyId=>`anchor--${storyId}`,Anchor=({storyId,children})=>React15.createElement(\"div\",{id:anchorBlockIdFromId(storyId),className:\"sb-anchor\"},children);global$1&&global$1.__DOCS_CONTEXT__===void 0&&(global$1.__DOCS_CONTEXT__=createContext(null),global$1.__DOCS_CONTEXT__.displayName=\"DocsContext\");var DocsContext=global$1?global$1.__DOCS_CONTEXT__:createContext(null);var useOf=(moduleExportOrType,validTypes)=>useContext(DocsContext).resolveOf(moduleExportOrType,validTypes);var titleCase=str=>str.split(\"-\").map(part=>part.charAt(0).toUpperCase()+part.slice(1)).join(\"\"),getComponentName=component=>{if(component)return typeof component==\"string\"?component.includes(\"-\")?titleCase(component):component:component.__docgenInfo&&component.__docgenInfo.displayName?component.__docgenInfo.displayName:component.name};function scrollToElement(element,block=\"start\"){element.scrollIntoView({behavior:\"smooth\",block,inline:\"nearest\"});}function extractComponentArgTypes(component,parameters){let{extractArgTypes}=parameters.docs||{};if(!extractArgTypes)throw new Error(\"Args unsupported. See Args documentation for your framework.\");return extractArgTypes(component)}function getArgTypesFromResolved(resolved){if(resolved.type===\"component\"){let{component:component2,projectAnnotations:{parameters:parameters2}}=resolved;return {argTypes:extractComponentArgTypes(component2,parameters2),parameters:parameters2,component:component2}}if(resolved.type===\"meta\"){let{preparedMeta:{argTypes:argTypes2,parameters:parameters2,component:component2,subcomponents:subcomponents2}}=resolved;return {argTypes:argTypes2,parameters:parameters2,component:component2,subcomponents:subcomponents2}}let{story:{argTypes,parameters,component,subcomponents}}=resolved;return {argTypes,parameters,component,subcomponents}}var ArgTypes=props=>{let{of}=props;if(\"of\"in props&&of===void 0)throw new Error(\"Unexpected `of={undefined}`, did you mistype a CSF file reference?\");let resolved=useOf(of||\"meta\"),{argTypes,parameters,component,subcomponents}=getArgTypesFromResolved(resolved),argTypesParameters=parameters.docs?.argTypes||{},include=props.include??argTypesParameters.include,exclude=props.exclude??argTypesParameters.exclude,sort=props.sort??argTypesParameters.sort,filteredArgTypes=filterArgTypes(argTypes,include,exclude);if(!(!!subcomponents&&Object.keys(subcomponents).length>0))return React15.createElement(ArgsTable,{rows:filteredArgTypes,sort});let mainComponentName=getComponentName(component),subcomponentTabs=Object.fromEntries(Object.entries(subcomponents).map(([key,comp])=>[key,{rows:filterArgTypes(extractComponentArgTypes(comp,parameters),include,exclude),sort}])),tabs={[mainComponentName]:{rows:filteredArgTypes,sort},...subcomponentTabs};return React15.createElement(TabbedArgsTable,{tabs,sort})};function argsHash(args){return stringify(args,{allowFunction:!1})}var SourceContext=createContext({sources:{}}),UNKNOWN_ARGS_HASH=\"--unknown--\",SourceContainer=({children,channel})=>{let[sources,setSources]=useState({});return useEffect(()=>{let handleSnippetRendered=(idOrEvent,inputSource=null,inputFormat=!1)=>{let{id,args=void 0,source,format:format2}=typeof idOrEvent==\"string\"?{id:idOrEvent,source:inputSource,format:inputFormat}:idOrEvent,hash=args?argsHash(args):UNKNOWN_ARGS_HASH;setSources(current=>({...current,[id]:{...current[id],[hash]:{code:source,format:format2}}}));};return channel.on(SNIPPET_RENDERED,handleSnippetRendered),()=>channel.off(SNIPPET_RENDERED,handleSnippetRendered)},[]),React15.createElement(SourceContext.Provider,{value:{sources}},children)};var getStorySource=(storyId,args,sourceContext)=>{let{sources}=sourceContext,sourceMap=sources?.[storyId];return sourceMap?.[argsHash(args)]||sourceMap?.[UNKNOWN_ARGS_HASH]||{code:\"\"}},getSnippet=({snippet,storyContext,typeFromProps,transformFromProps})=>{let{__isArgsStory:isArgsStory}=storyContext.parameters,sourceParameters=storyContext.parameters.docs?.source||{},type=typeFromProps||sourceParameters.type||SourceType.AUTO;if(sourceParameters.code!==void 0)return sourceParameters.code;let code=type===SourceType.DYNAMIC||type===SourceType.AUTO&&snippet&&isArgsStory?snippet:sourceParameters.originalSource||\"\";return (transformFromProps??sourceParameters.transform)?.(code,storyContext)||code},useSourceProps=(props,docsContext,sourceContext)=>{let story,{of}=props;if(\"of\"in props&&of===void 0)throw new Error(\"Unexpected `of={undefined}`, did you mistype a CSF file reference?\");if(of)story=docsContext.resolveOf(of,[\"story\"]).story;else try{story=docsContext.storyById();}catch{}let sourceParameters=story?.parameters?.docs?.source||{},{code}=props,format2=props.format??sourceParameters.format,language=props.language??sourceParameters.language??\"jsx\",dark=props.dark??sourceParameters.dark??!1;if(!code&&!story)return {error:\"Oh no! The source is not available.\"};if(code)return {code,format:format2,language,dark};let storyContext=docsContext.getStoryContext(story),argsForSource=props.__forceInitialArgs?storyContext.initialArgs:storyContext.unmappedArgs,source=getStorySource(story.id,argsForSource,sourceContext);return format2=source.format??story.parameters.docs?.source?.format??!1,{code:getSnippet({snippet:source.code,storyContext:{...storyContext,args:argsForSource},typeFromProps:props.type,transformFromProps:props.transform}),format:format2,language,dark}},Source2=props=>{let sourceContext=useContext(SourceContext),docsContext=useContext(DocsContext),sourceProps=useSourceProps(props,docsContext,sourceContext);return React15.createElement(Source,{...sourceProps})};function useStory(storyId,context){let stories=useStories([storyId],context);return stories&&stories[0]}function useStories(storyIds,context){let[storiesById,setStories]=useState({});return useEffect(()=>{Promise.all(storyIds.map(async storyId=>{let story=await context.loadStory(storyId);setStories(current=>current[storyId]===story?current:{...current,[storyId]:story});}));}),storyIds.map(storyId=>{if(storiesById[storyId])return storiesById[storyId];try{return context.storyById(storyId)}catch{return null}})}var getStoryId2=(props,context)=>{let{of,meta}=props;if(\"of\"in props&&of===void 0)throw new Error(\"Unexpected `of={undefined}`, did you mistype a CSF file reference?\");return meta&&context.referenceMeta(meta,!1),context.resolveOf(of||\"story\",[\"story\"]).story.id},getStoryProps=(props,story,context)=>{let{parameters={}}=story||{},{docs={}}=parameters,storyParameters=docs.story||{};if(docs.disable)return null;if(props.inline??storyParameters.inline??!1){let height2=props.height??storyParameters.height,autoplay=props.autoplay??storyParameters.autoplay??!1;return {story,inline:!0,height:height2,autoplay,forceInitialArgs:!!props.__forceInitialArgs,primary:!!props.__primary,renderStoryToElement:context.renderStoryToElement}}let height=props.height??storyParameters.height??storyParameters.iframeHeight??\"100px\";return {story,inline:!1,height,primary:!!props.__primary}},Story2=(props={__forceInitialArgs:!1,__primary:!1})=>{let context=useContext(DocsContext),storyId=getStoryId2(props,context),story=useStory(storyId,context);if(!story)return React15.createElement(StorySkeleton,null);let storyProps=getStoryProps(props,story,context);return storyProps?React15.createElement(Story,{...storyProps}):null};var Canvas=props=>{let docsContext=useContext(DocsContext),sourceContext=useContext(SourceContext),{of,source}=props;if(\"of\"in props&&of===void 0)throw new Error(\"Unexpected `of={undefined}`, did you mistype a CSF file reference?\");let{story}=useOf(of||\"story\",[\"story\"]),sourceProps=useSourceProps({...source,...of&&{of}},docsContext,sourceContext),layout=props.layout??story.parameters.layout??story.parameters.docs?.canvas?.layout??\"padded\",withToolbar=props.withToolbar??story.parameters.docs?.canvas?.withToolbar??!1,additionalActions=props.additionalActions??story.parameters.docs?.canvas?.additionalActions,sourceState=props.sourceState??story.parameters.docs?.canvas?.sourceState??\"hidden\",className=props.className??story.parameters.docs?.canvas?.className;return React15.createElement(Preview,{withSource:sourceState===\"none\"?void 0:sourceProps,isExpanded:sourceState===\"shown\",withToolbar,additionalActions,className,layout},React15.createElement(Story2,{of:of||story.moduleExport,meta:props.meta,...props.story}))};var useArgs=(story,context)=>{let result=useArgsIfDefined(story,context);if(!result)throw new Error(\"No result when story was defined\");return result},useArgsIfDefined=(story,context)=>{let storyContext=story?context.getStoryContext(story):{args:{}},{id:storyId}=story||{id:\"none\"},[args,setArgs]=useState(storyContext.args);useEffect(()=>{let onArgsUpdated=changed=>{changed.storyId===storyId&&setArgs(changed.args);};return context.channel.on(STORY_ARGS_UPDATED,onArgsUpdated),()=>context.channel.off(STORY_ARGS_UPDATED,onArgsUpdated)},[storyId,context.channel]);let updateArgs=useCallback(updatedArgs=>context.channel.emit(UPDATE_STORY_ARGS,{storyId,updatedArgs}),[storyId,context.channel]),resetArgs=useCallback(argNames=>context.channel.emit(RESET_STORY_ARGS,{storyId,argNames}),[storyId,context.channel]);return story&&[args,updateArgs,resetArgs]};var useGlobals=(story,context)=>{let storyContext=context.getStoryContext(story),[globals,setGlobals]=useState(storyContext.globals);return useEffect(()=>{let onGlobalsUpdated=changed=>{setGlobals(changed.globals);};return context.channel.on(GLOBALS_UPDATED,onGlobalsUpdated),()=>context.channel.off(GLOBALS_UPDATED,onGlobalsUpdated)},[context.channel]),[globals]};function extractComponentArgTypes2(component,parameters){let{extractArgTypes}=parameters.docs||{};if(!extractArgTypes)throw new Error(\"Args unsupported. See Args documentation for your framework.\");return extractArgTypes(component)}var Controls3=props=>{let{of}=props;if(\"of\"in props&&of===void 0)throw new Error(\"Unexpected `of={undefined}`, did you mistype a CSF file reference?\");let context=useContext(DocsContext),{story}=context.resolveOf(of||\"story\",[\"story\"]),{parameters,argTypes,component,subcomponents}=story,controlsParameters=parameters.docs?.controls||{},include=props.include??controlsParameters.include,exclude=props.exclude??controlsParameters.exclude,sort=props.sort??controlsParameters.sort,[args,updateArgs,resetArgs]=useArgs(story,context),[globals]=useGlobals(story,context),filteredArgTypes=filterArgTypes(argTypes,include,exclude);if(!(!!subcomponents&&Object.keys(subcomponents).length>0))return Object.keys(filteredArgTypes).length>0||Object.keys(args).length>0?React15.createElement(ArgsTable,{rows:filteredArgTypes,sort,args,globals,updateArgs,resetArgs}):null;let mainComponentName=getComponentName(component),subcomponentTabs=Object.fromEntries(Object.entries(subcomponents).map(([key,comp])=>[key,{rows:filterArgTypes(extractComponentArgTypes2(comp,parameters),include,exclude),sort}])),tabs={[mainComponentName]:{rows:filteredArgTypes,sort},...subcomponentTabs};return React15.createElement(TabbedArgsTable,{tabs,sort,args,globals,updateArgs,resetArgs})};var {document:document2}=global$1,assertIsFn=val=>{if(typeof val!=\"function\")throw new Error(`Expected story function, got: ${val}`);return val},AddContext=props=>{let{children,...rest}=props,parentContext=React15.useContext(DocsContext);return React15.createElement(DocsContext.Provider,{value:{...parentContext,...rest}},children)},CodeOrSourceMdx=({className,children,...rest})=>{if(typeof className!=\"string\"&&(typeof children!=\"string\"||!children.match(/[\\n\\r]/g)))return React15.createElement(Code,null,children);let language=className&&className.split(\"-\");return React15.createElement(Source,{language:language&&language[1]||\"text\",format:!1,code:children,...rest})};function navigate(context,url){context.channel.emit(NAVIGATE_URL,url);}var A=components.a,AnchorInPage=({hash,children})=>{let context=useContext(DocsContext);return React15.createElement(A,{href:hash,target:\"_self\",onClick:event=>{let id=hash.substring(1);document2.getElementById(id)&&navigate(context,hash);}},children)},AnchorMdx=props=>{let{href,target,children,...rest}=props,context=useContext(DocsContext);return !href||target===\"_blank\"||/^https?:\\/\\//.test(href)?React15.createElement(A,{...props}):href.startsWith(\"#\")?React15.createElement(AnchorInPage,{hash:href},children):React15.createElement(A,{href,onClick:event=>{event.button===0&&!event.altKey&&!event.ctrlKey&&!event.metaKey&&!event.shiftKey&&(event.preventDefault(),navigate(context,event.currentTarget.getAttribute(\"href\")));},target,...rest},children)},SUPPORTED_MDX_HEADERS=[\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\"],OcticonHeaders=SUPPORTED_MDX_HEADERS.reduce((acc,headerType)=>({...acc,[headerType]:styled(headerType)({\"& svg\":{position:\"relative\",top:\"-0.1em\",visibility:\"hidden\"},\"&:hover svg\":{visibility:\"visible\"}})}),{}),OcticonAnchor=styled.a(()=>({float:\"left\",lineHeight:\"inherit\",paddingRight:\"10px\",marginLeft:\"-24px\",color:\"inherit\"})),HeaderWithOcticonAnchor=({as,id,children,...rest})=>{let context=useContext(DocsContext),OcticonHeader=OcticonHeaders[as],hash=`#${id}`;return React15.createElement(OcticonHeader,{id,...rest},React15.createElement(OcticonAnchor,{\"aria-hidden\":\"true\",href:hash,tabIndex:-1,target:\"_self\",onClick:event=>{document2.getElementById(id)&&navigate(context,hash);}},React15.createElement(LinkIcon,null)),children)},HeaderMdx=props=>{let{as,id,children,...rest}=props;if(id)return React15.createElement(HeaderWithOcticonAnchor,{as,id,...rest},children);let Component4=as,{as:omittedAs,...withoutAs}=props;return React15.createElement(Component4,{...nameSpaceClassNames(withoutAs,as)})},HeadersMdx=SUPPORTED_MDX_HEADERS.reduce((acc,headerType)=>({...acc,[headerType]:props=>React15.createElement(HeaderMdx,{as:headerType,...props})}),{});var Markdown2=props=>{if(!props.children)return null;if(typeof props.children!=\"string\")throw new Error(dedent`The Markdown block only accepts children as a single string, but children were of type: '${typeof props.children}'\n This is often caused by not wrapping the child in a template string.\n \n This is invalid:\n \n # Some heading\n A paragraph\n \n\n Instead do:\n \n {\\`\n # Some heading\n A paragraph\n \\`}\n \n `);return React15.createElement(Markdown,{...props,options:{forceBlock:!0,overrides:{code:CodeOrSourceMdx,a:AnchorMdx,...HeadersMdx,...props?.options?.overrides},...props?.options}})};var DescriptionType=(DescriptionType2=>(DescriptionType2.INFO=\"info\",DescriptionType2.NOTES=\"notes\",DescriptionType2.DOCGEN=\"docgen\",DescriptionType2.AUTO=\"auto\",DescriptionType2))(DescriptionType||{}),getDescriptionFromResolvedOf=resolvedOf=>{switch(resolvedOf.type){case\"story\":return resolvedOf.story.parameters.docs?.description?.story||null;case\"meta\":{let{parameters,component}=resolvedOf.preparedMeta,metaDescription=parameters.docs?.description?.component;return metaDescription||parameters.docs?.extractComponentDescription?.(component,{component,parameters})||null}case\"component\":{let{component,projectAnnotations:{parameters}}=resolvedOf;return parameters.docs?.extractComponentDescription?.(component,{component,parameters})||null}default:throw new Error(`Unrecognized module type resolved from 'useOf', got: ${resolvedOf.type}`)}},DescriptionContainer=props=>{let{of}=props;if(\"of\"in props&&of===void 0)throw new Error(\"Unexpected `of={undefined}`, did you mistype a CSF file reference?\");let resolvedOf=useOf(of||\"meta\"),markdown=getDescriptionFromResolvedOf(resolvedOf);return markdown?React15.createElement(Markdown2,null,markdown):null};var tocbot=__toESM(require_js());var Wrapper10=styled.div(({theme})=>({width:\"10rem\",\"@media (max-width: 768px)\":{display:\"none\"}})),Content=styled.div(({theme})=>({position:\"fixed\",bottom:0,top:0,width:\"10rem\",paddingTop:\"4rem\",paddingBottom:\"2rem\",overflowY:\"auto\",fontFamily:theme.typography.fonts.base,fontSize:theme.typography.size.s2,WebkitFontSmoothing:\"antialiased\",MozOsxFontSmoothing:\"grayscale\",WebkitTapHighlightColor:\"rgba(0, 0, 0, 0)\",WebkitOverflowScrolling:\"touch\",\"& *\":{boxSizing:\"border-box\"},\"& > .toc-wrapper > .toc-list\":{paddingLeft:0,borderLeft:`solid 2px ${theme.color.mediumlight}`,\".toc-list\":{paddingLeft:0,borderLeft:`solid 2px ${theme.color.mediumlight}`,\".toc-list\":{paddingLeft:0,borderLeft:`solid 2px ${theme.color.mediumlight}`}}},\"& .toc-list-item\":{position:\"relative\",listStyleType:\"none\",marginLeft:20,paddingTop:3,paddingBottom:3},\"& .toc-list-item::before\":{content:'\"\"',position:\"absolute\",height:\"100%\",top:0,left:0,transform:\"translateX(calc(-2px - 20px))\",borderLeft:`solid 2px ${theme.color.mediumdark}`,opacity:0,transition:\"opacity 0.2s\"},\"& .toc-list-item.is-active-li::before\":{opacity:1},\"& .toc-list-item > a\":{color:theme.color.defaultText,textDecoration:\"none\"},\"& .toc-list-item.is-active-li > a\":{fontWeight:600,color:theme.color.secondary,textDecoration:\"none\"}})),Heading=styled.p(({theme})=>({fontWeight:600,fontSize:\"0.875em\",color:theme.textColor,textTransform:\"uppercase\",marginBottom:10})),OptionalTitle=({title})=>title===null?null:typeof title==\"string\"?React15.createElement(Heading,null,title):title,TableOfContents=({title,disable,headingSelector,contentsSelector,ignoreSelector,unsafeTocbotOptions})=>(useEffect(()=>{let configuration={tocSelector:\".toc-wrapper\",contentSelector:contentsSelector??\".sbdocs-content\",headingSelector:headingSelector??\"h3\",ignoreSelector:ignoreSelector??\".docs-story *, .skip-toc\",headingsOffset:40,scrollSmoothOffset:-40,orderedList:!1,onClick:()=>!1,...unsafeTocbotOptions},timeout=setTimeout(()=>tocbot.init(configuration),100);return ()=>{clearTimeout(timeout),tocbot.destroy();}},[disable]),React15.createElement(React15.Fragment,null,React15.createElement(Wrapper10,null,disable?null:React15.createElement(Content,null,React15.createElement(OptionalTitle,{title:title||null}),React15.createElement(\"div\",{className:\"toc-wrapper\"})))));var {document:document3,window:globalWindow3}=global$1,DocsContainer=({context,theme,children})=>{let toc;try{toc=context.resolveOf(\"meta\",[\"meta\"]).preparedMeta.parameters?.docs?.toc;}catch{toc=context?.projectAnnotations?.parameters?.docs?.toc;}return useEffect(()=>{let url;try{if(url=new URL(globalWindow3.parent.location.toString()),url.hash){let element=document3.getElementById(decodeURIComponent(url.hash.substring(1)));element&&setTimeout(()=>{scrollToElement(element);},200);}}catch{}}),React15.createElement(DocsContext.Provider,{value:context},React15.createElement(SourceContainer,{channel:context.channel},React15.createElement(ThemeProvider,{theme:ensure(theme)},React15.createElement(DocsPageWrapper,{toc:toc?React15.createElement(TableOfContents,{className:\"sbdocs sbdocs-toc--custom\",...toc}):null},children))))};var Subheading=({children,disableAnchor})=>{if(disableAnchor||typeof children!=\"string\")return React15.createElement(H3,null,children);let tagID=globalThis.encodeURIComponent(children.toLowerCase());return React15.createElement(HeaderMdx,{as:\"h3\",id:tagID},children)};var DocsStory=({of,expanded=!0,withToolbar:withToolbarProp=!1,__forceInitialArgs=!1,__primary=!1})=>{let{story}=useOf(of||\"story\",[\"story\"]),withToolbar=story.parameters.docs?.canvas?.withToolbar??withToolbarProp;return React15.createElement(Anchor,{storyId:story.id},expanded&&React15.createElement(React15.Fragment,null,React15.createElement(Subheading,null,story.name),React15.createElement(DescriptionContainer,{of})),React15.createElement(Canvas,{of,withToolbar,story:{__forceInitialArgs,__primary},source:{__forceInitialArgs}}))};var Primary=props=>{let{of}=props;if(\"of\"in props&&of===void 0)throw new Error(\"Unexpected `of={undefined}`, did you mistype a CSF file reference?\");let{csfFile}=useOf(of||\"meta\",[\"meta\"]),primaryStory=useContext(DocsContext).componentStoriesFromCSFFile(csfFile)[0];return primaryStory?React15.createElement(DocsStory,{of:primaryStory.moduleExport,expanded:!1,__primary:!0,withToolbar:!0}):null};var Heading2=({children,disableAnchor,...props})=>{if(disableAnchor||typeof children!=\"string\")return React15.createElement(H2,null,children);let tagID=children.toLowerCase().replace(/[^a-z0-9]/gi,\"-\");return React15.createElement(HeaderMdx,{as:\"h2\",id:tagID,...props},children)};var StyledHeading=styled(Heading2)(({theme})=>({fontSize:`${theme.typography.size.s2-1}px`,fontWeight:theme.typography.weight.bold,lineHeight:\"16px\",letterSpacing:\"0.35em\",textTransform:\"uppercase\",color:theme.textMutedColor,border:0,marginBottom:\"12px\",\"&:first-of-type\":{marginTop:\"56px\"}})),Stories=({title=\"Stories\",includePrimary=!0})=>{let{componentStories,projectAnnotations,getStoryContext}=useContext(DocsContext),stories=componentStories(),{stories:{filter}={filter:void 0}}=projectAnnotations.parameters?.docs||{};return filter&&(stories=stories.filter(story=>filter(story,getStoryContext(story)))),stories.some(story=>story.tags?.includes(\"autodocs\"))&&(stories=stories.filter(story=>story.tags?.includes(\"autodocs\")&&!story.usesMount)),includePrimary||(stories=stories.slice(1)),!stories||stories.length===0?null:React15.createElement(React15.Fragment,null,React15.createElement(StyledHeading,null,title),stories.map(story=>story&&React15.createElement(DocsStory,{key:story.id,of:story.moduleExport,expanded:!0,__forceInitialArgs:!0})))};var DEPRECATION_MIGRATION_LINK=\"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#subtitle-block-and-parameterscomponentsubtitle\",Subtitle2=props=>{let{of,children}=props;if(\"of\"in props&&of===void 0)throw new Error(\"Unexpected `of={undefined}`, did you mistype a CSF file reference?\");let preparedMeta;try{preparedMeta=useOf(of||\"meta\",[\"meta\"]).preparedMeta;}catch(error){if(children&&!error.message.includes(\"did you forget to use ?\"))throw error}let{componentSubtitle,docs}=preparedMeta?.parameters||{};componentSubtitle&&deprecate(`Using 'parameters.componentSubtitle' property to subtitle stories is deprecated. See ${DEPRECATION_MIGRATION_LINK}`);let content=children||docs?.subtitle||componentSubtitle;return content?React15.createElement(Subtitle,{className:\"sbdocs-subtitle sb-unstyled\"},content):null};var STORY_KIND_PATH_SEPARATOR=/\\s*\\/\\s*/,extractTitle=title=>{let groups=title.trim().split(STORY_KIND_PATH_SEPARATOR);return groups?.[groups?.length-1]||title},Title2=props=>{let{children,of}=props;if(\"of\"in props&&of===void 0)throw new Error(\"Unexpected `of={undefined}`, did you mistype a CSF file reference?\");let preparedMeta;try{preparedMeta=useOf(of||\"meta\",[\"meta\"]).preparedMeta;}catch(error){if(children&&!error.message.includes(\"did you forget to use ?\"))throw error}let content=children||extractTitle(preparedMeta?.title);return content?React15.createElement(Title,{className:\"sbdocs-title sb-unstyled\"},content):null};var DocsPage=()=>{let resolvedOf=useOf(\"meta\",[\"meta\"]),{stories}=resolvedOf.csfFile,isSingleStory=Object.keys(stories).length===1;return React15.createElement(React15.Fragment,null,React15.createElement(Title2,null),React15.createElement(Subtitle2,null),React15.createElement(DescriptionContainer,{of:\"meta\"}),isSingleStory?React15.createElement(DescriptionContainer,{of:\"story\"}):null,React15.createElement(Primary,null),React15.createElement(Controls3,null),isSingleStory?null:React15.createElement(Stories,null))};function Docs({context,docsParameter}){let Container=docsParameter.container||DocsContainer,Page=docsParameter.page||DocsPage;return React15.createElement(Container,{context,theme:docsParameter.theme},React15.createElement(Page,null))}var ExternalDocsContext=class extends DocsContext$1{constructor(channel,store,renderStoryToElement,processMetaExports){super(channel,store,renderStoryToElement,[]);this.channel=channel;this.store=store;this.renderStoryToElement=renderStoryToElement;this.processMetaExports=processMetaExports;this.referenceMeta=(metaExports,attach)=>{let csfFile=this.processMetaExports(metaExports);this.referenceCSFFile(csfFile),super.referenceMeta(metaExports,attach);};}};var ConstantMap=class{constructor(prefix){this.prefix=prefix;this.entries=new Map;}get(key){return this.entries.has(key)||this.entries.set(key,`${this.prefix}${this.entries.size}`),this.entries.get(key)}},ExternalPreview=class extends Preview$1{constructor(projectAnnotations){super(path=>Promise.resolve(this.moduleExportsByImportPath[path]),()=>composeConfigs([{parameters:{docs:{story:{inline:!0}}}},this.projectAnnotations]),new Channel({}));this.projectAnnotations=projectAnnotations;this.importPaths=new ConstantMap(\"./importPath/\");this.titles=new ConstantMap(\"title-\");this.storyIndex={v:5,entries:{}};this.moduleExportsByImportPath={};this.processMetaExports=metaExports=>{let importPath=this.importPaths.get(metaExports);this.moduleExportsByImportPath[importPath]=metaExports;let title=metaExports.default.title||this.titles.get(metaExports),csfFile=this.storyStoreValue.processCSFFileWithCache(metaExports,importPath,title);return Object.values(csfFile.stories).forEach(({id,name})=>{this.storyIndex.entries[id]={id,importPath,title,name,type:\"story\"};}),this.onStoriesChanged({storyIndex:this.storyIndex}),csfFile};this.docsContext=()=>new ExternalDocsContext(this.channel,this.storyStoreValue,this.renderStoryToElement.bind(this),this.processMetaExports.bind(this));}async getStoryIndexFromServer(){return this.storyIndex}};function usePreview(projectAnnotations){let previewRef=useRef();return previewRef.current||(previewRef.current=new ExternalPreview(projectAnnotations)),previewRef.current}function ExternalDocs({projectAnnotationsList,children}){let projectAnnotations=composeConfigs(projectAnnotationsList),preview2=usePreview(projectAnnotations),docsParameter={...projectAnnotations.parameters?.docs,page:()=>children};return React15.createElement(Docs,{docsParameter,context:preview2.docsContext()})}var preview,ExternalDocsContainer=({projectAnnotations,children})=>(preview||(preview=new ExternalPreview(projectAnnotations)),React15.createElement(DocsContext.Provider,{value:preview.docsContext()},React15.createElement(ThemeProvider,{theme:ensure(themes.light)},children)));var Meta=({of})=>{let context=useContext(DocsContext);of&&context.referenceMeta(of,!0);try{let primary=context.storyById();return React15.createElement(Anchor,{storyId:primary.id})}catch{return null}};var Unstyled=props=>React15.createElement(\"div\",{...props,className:\"sb-unstyled\"});var Wrapper11=({children})=>React15.createElement(\"div\",{style:{fontFamily:\"sans-serif\"}},children);var PRIMARY_STORY=\"^\";\n\nexport { AddContext, Anchor, AnchorMdx, ArgTypes, BooleanControl, Canvas, CodeOrSourceMdx, ColorControl, ColorItem, ColorPalette, Controls3 as Controls, DateControl, DescriptionContainer as Description, DescriptionType, Docs, DocsContainer, DocsContext, DocsPage, DocsStory, ExternalDocs, ExternalDocsContainer, FilesControl, HeaderMdx, HeadersMdx, Heading2 as Heading, IconGallery, IconItem, Markdown2 as Markdown, Meta, NumberControl, ObjectControl, OptionsControl, PRIMARY_STORY, Primary, ArgsTable as PureArgsTable, RangeControl, Source2 as Source, SourceContainer, SourceContext, Stories, Story2 as Story, Subheading, Subtitle2 as Subtitle, TextControl, Title2 as Title, Typeset, UNKNOWN_ARGS_HASH, Unstyled, Wrapper11 as Wrapper, anchorBlockIdFromId, argsHash, assertIsFn, extractTitle, format, formatDate, formatTime, getStoryId2 as getStoryId, getStoryProps, parse2 as parse, parseDate, parseTime, useOf, useSourceProps };\n","var C4 = Object.create;\nvar Za = Object.defineProperty;\nvar E4 = Object.getOwnPropertyDescriptor;\nvar S4 = Object.getOwnPropertyNames;\nvar R4 = Object.getPrototypeOf, A4 = Object.prototype.hasOwnProperty;\nvar a = (e, t) => Za(e, \"name\", { value: t, configurable: !0 }), Zo = /* @__PURE__ */ ((e) => typeof require < \"u\" ? require : typeof Proxy <\n\"u\" ? new Proxy(e, {\n get: (t, r) => (typeof require < \"u\" ? require : t)[r]\n}) : e)(function(e) {\n if (typeof require < \"u\") return require.apply(this, arguments);\n throw Error('Dynamic require of \"' + e + '\" is not supported');\n});\nvar F = (e, t) => () => (e && (t = e(e = 0)), t);\nvar _ = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), ln = (e, t) => {\n for (var r in t)\n Za(e, r, { get: t[r], enumerable: !0 });\n}, F4 = (e, t, r, n) => {\n if (t && typeof t == \"object\" || typeof t == \"function\")\n for (let o of S4(t))\n !A4.call(e, o) && o !== r && Za(e, o, { get: () => t[o], enumerable: !(n = E4(t, o)) || n.enumerable });\n return e;\n};\nvar we = (e, t, r) => (r = e != null ? C4(R4(e)) : {}, F4(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n t || !e || !e.__esModule ? Za(r, \"default\", { value: e, enumerable: !0 }) : r,\n e\n));\n\n// ../node_modules/@babel/runtime/helpers/esm/extends.js\nfunction $() {\n return $ = Object.assign ? Object.assign.bind() : function(e) {\n for (var t = 1; t < arguments.length; t++) {\n var r = arguments[t];\n for (var n in r) ({}).hasOwnProperty.call(r, n) && (e[n] = r[n]);\n }\n return e;\n }, $.apply(null, arguments);\n}\nvar tt = F(() => {\n a($, \"_extends\");\n});\n\n// ../node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js\nfunction Z1(e) {\n if (e === void 0) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return e;\n}\nvar J1 = F(() => {\n a(Z1, \"_assertThisInitialized\");\n});\n\n// ../node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js\nfunction Xt(e, t) {\n return Xt = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, n) {\n return r.__proto__ = n, r;\n }, Xt(e, t);\n}\nvar Ja = F(() => {\n a(Xt, \"_setPrototypeOf\");\n});\n\n// ../node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js\nfunction Qa(e) {\n return Qa = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {\n return t.__proto__ || Object.getPrototypeOf(t);\n }, Qa(e);\n}\nvar ep = F(() => {\n a(Qa, \"_getPrototypeOf\");\n});\n\n// ../node_modules/@storybook/global/dist/index.mjs\nvar sn, ri = F(() => {\n sn = (() => {\n let e;\n return typeof window < \"u\" ? e = window : typeof globalThis < \"u\" ? e = globalThis : typeof global < \"u\" ? e = global : typeof self < \"u\" ?\n e = self : e = {}, e;\n })();\n});\n\n// ../node_modules/memoizerific/memoizerific.js\nvar ea = _((up, ms) => {\n (function(e) {\n if (typeof up == \"object\" && typeof ms < \"u\")\n ms.exports = e();\n else if (typeof define == \"function\" && define.amd)\n define([], e);\n else {\n var t;\n typeof window < \"u\" ? t = window : typeof global < \"u\" ? t = global : typeof self < \"u\" ? t = self : t = this, t.memoizerific = e();\n }\n })(function() {\n var e, t, r;\n return (/* @__PURE__ */ a(function n(o, i, l) {\n function u(d, h) {\n if (!i[d]) {\n if (!o[d]) {\n var f = typeof Zo == \"function\" && Zo;\n if (!h && f) return f(d, !0);\n if (c) return c(d, !0);\n var v = new Error(\"Cannot find module '\" + d + \"'\");\n throw v.code = \"MODULE_NOT_FOUND\", v;\n }\n var b = i[d] = { exports: {} };\n o[d][0].call(b.exports, function(m) {\n var g = o[d][1][m];\n return u(g || m);\n }, b, b.exports, n, o, i, l);\n }\n return i[d].exports;\n }\n a(u, \"s\");\n for (var c = typeof Zo == \"function\" && Zo, p = 0; p < l.length; p++) u(l[p]);\n return u;\n }, \"e\"))({ 1: [function(n, o, i) {\n o.exports = function(l) {\n if (typeof Map != \"function\" || l) {\n var u = n(\"./similar\");\n return new u();\n } else\n return /* @__PURE__ */ new Map();\n };\n }, { \"./similar\": 2 }], 2: [function(n, o, i) {\n function l() {\n return this.list = [], this.lastItem = void 0, this.size = 0, this;\n }\n a(l, \"Similar\"), l.prototype.get = function(u) {\n var c;\n if (this.lastItem && this.isEqual(this.lastItem.key, u))\n return this.lastItem.val;\n if (c = this.indexOf(u), c >= 0)\n return this.lastItem = this.list[c], this.list[c].val;\n }, l.prototype.set = function(u, c) {\n var p;\n return this.lastItem && this.isEqual(this.lastItem.key, u) ? (this.lastItem.val = c, this) : (p = this.indexOf(u), p >= 0 ? (this.lastItem =\n this.list[p], this.list[p].val = c, this) : (this.lastItem = { key: u, val: c }, this.list.push(this.lastItem), this.size++, this));\n }, l.prototype.delete = function(u) {\n var c;\n if (this.lastItem && this.isEqual(this.lastItem.key, u) && (this.lastItem = void 0), c = this.indexOf(u), c >= 0)\n return this.size--, this.list.splice(c, 1)[0];\n }, l.prototype.has = function(u) {\n var c;\n return this.lastItem && this.isEqual(this.lastItem.key, u) ? !0 : (c = this.indexOf(u), c >= 0 ? (this.lastItem = this.list[c], !0) :\n !1);\n }, l.prototype.forEach = function(u, c) {\n var p;\n for (p = 0; p < this.size; p++)\n u.call(c || this, this.list[p].val, this.list[p].key, this);\n }, l.prototype.indexOf = function(u) {\n var c;\n for (c = 0; c < this.size; c++)\n if (this.isEqual(this.list[c].key, u))\n return c;\n return -1;\n }, l.prototype.isEqual = function(u, c) {\n return u === c || u !== u && c !== c;\n }, o.exports = l;\n }, {}], 3: [function(n, o, i) {\n var l = n(\"map-or-similar\");\n o.exports = function(d) {\n var h = new l(!1), f = [];\n return function(v) {\n var b = /* @__PURE__ */ a(function() {\n var m = h, g, y, w = arguments.length - 1, D = Array(w + 1), x = !0, C;\n if ((b.numArgs || b.numArgs === 0) && b.numArgs !== w + 1)\n throw new Error(\"Memoizerific functions should always be called with the same number of arguments\");\n for (C = 0; C < w; C++) {\n if (D[C] = {\n cacheItem: m,\n arg: arguments[C]\n }, m.has(arguments[C])) {\n m = m.get(arguments[C]);\n continue;\n }\n x = !1, g = new l(!1), m.set(arguments[C], g), m = g;\n }\n return x && (m.has(arguments[w]) ? y = m.get(arguments[w]) : x = !1), x || (y = v.apply(null, arguments), m.set(arguments[w], y)),\n d > 0 && (D[w] = {\n cacheItem: m,\n arg: arguments[w]\n }, x ? u(f, D) : f.push(D), f.length > d && c(f.shift())), b.wasMemoized = x, b.numArgs = w + 1, y;\n }, \"memoizerific\");\n return b.limit = d, b.wasMemoized = !1, b.cache = h, b.lru = f, b;\n };\n };\n function u(d, h) {\n var f = d.length, v = h.length, b, m, g;\n for (m = 0; m < f; m++) {\n for (b = !0, g = 0; g < v; g++)\n if (!p(d[m][g].arg, h[g].arg)) {\n b = !1;\n break;\n }\n if (b)\n break;\n }\n d.push(d.splice(m, 1)[0]);\n }\n a(u, \"moveToMostRecentLru\");\n function c(d) {\n var h = d.length, f = d[h - 1], v, b;\n for (f.cacheItem.delete(f.arg), b = h - 2; b >= 0 && (f = d[b], v = f.cacheItem.get(f.arg), !v || !v.size); b--)\n f.cacheItem.delete(f.arg);\n }\n a(c, \"removeCachedResult\");\n function p(d, h) {\n return d === h || d !== d && h !== h;\n }\n a(p, \"isEqual\");\n }, { \"map-or-similar\": 1 }] }, {}, [3])(3);\n });\n});\n\n// ../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js\nfunction un(e, t) {\n if (e == null) return {};\n var r = {};\n for (var n in e) if ({}.hasOwnProperty.call(e, n)) {\n if (t.indexOf(n) >= 0) continue;\n r[n] = e[n];\n }\n return r;\n}\nvar ni = F(() => {\n a(un, \"_objectWithoutPropertiesLoose\");\n});\n\n// ../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js\nfunction cp(e, t) {\n if (e == null) return {};\n var r, n, o = un(e, t);\n if (Object.getOwnPropertySymbols) {\n var i = Object.getOwnPropertySymbols(e);\n for (n = 0; n < i.length; n++) r = i[n], t.indexOf(r) >= 0 || {}.propertyIsEnumerable.call(e, r) && (o[r] = e[r]);\n }\n return o;\n}\nvar pp = F(() => {\n ni();\n a(cp, \"_objectWithoutProperties\");\n});\n\n// ../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js\nfunction ta(e, t) {\n (t == null || t > e.length) && (t = e.length);\n for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];\n return n;\n}\nvar gs = F(() => {\n a(ta, \"_arrayLikeToArray\");\n});\n\n// ../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js\nfunction dp(e) {\n if (Array.isArray(e)) return ta(e);\n}\nvar fp = F(() => {\n gs();\n a(dp, \"_arrayWithoutHoles\");\n});\n\n// ../node_modules/@babel/runtime/helpers/esm/iterableToArray.js\nfunction hp(e) {\n if (typeof Symbol < \"u\" && e[Symbol.iterator] != null || e[\"@@iterator\"] != null) return Array.from(e);\n}\nvar mp = F(() => {\n a(hp, \"_iterableToArray\");\n});\n\n// ../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js\nfunction gp(e, t) {\n if (e) {\n if (typeof e == \"string\") return ta(e, t);\n var r = {}.toString.call(e).slice(8, -1);\n return r === \"Object\" && e.constructor && (r = e.constructor.name), r === \"Map\" || r === \"Set\" ? Array.from(e) : r === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.\n test(r) ? ta(e, t) : void 0;\n }\n}\nvar vp = F(() => {\n gs();\n a(gp, \"_unsupportedIterableToArray\");\n});\n\n// ../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js\nfunction wp() {\n throw new TypeError(`Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);\n}\nvar bp = F(() => {\n a(wp, \"_nonIterableSpread\");\n});\n\n// ../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js\nfunction yp(e) {\n return dp(e) || hp(e) || gp(e) || wp();\n}\nvar Dp = F(() => {\n fp();\n mp();\n vp();\n bp();\n a(yp, \"_toConsumableArray\");\n});\n\n// ../node_modules/@babel/runtime/helpers/esm/typeof.js\nfunction br(e) {\n \"@babel/helpers - typeof\";\n return br = typeof Symbol == \"function\" && typeof Symbol.iterator == \"symbol\" ? function(t) {\n return typeof t;\n } : function(t) {\n return t && typeof Symbol == \"function\" && t.constructor === Symbol && t !== Symbol.prototype ? \"symbol\" : typeof t;\n }, br(e);\n}\nvar vs = F(() => {\n a(br, \"_typeof\");\n});\n\n// ../node_modules/@babel/runtime/helpers/esm/toPrimitive.js\nfunction xp(e, t) {\n if (br(e) != \"object\" || !e) return e;\n var r = e[Symbol.toPrimitive];\n if (r !== void 0) {\n var n = r.call(e, t || \"default\");\n if (br(n) != \"object\") return n;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (t === \"string\" ? String : Number)(e);\n}\nvar Cp = F(() => {\n vs();\n a(xp, \"toPrimitive\");\n});\n\n// ../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js\nfunction Ep(e) {\n var t = xp(e, \"string\");\n return br(t) == \"symbol\" ? t : t + \"\";\n}\nvar Sp = F(() => {\n vs();\n Cp();\n a(Ep, \"toPropertyKey\");\n});\n\n// ../node_modules/@babel/runtime/helpers/esm/defineProperty.js\nfunction oi(e, t, r) {\n return (t = Ep(t)) in e ? Object.defineProperty(e, t, {\n value: r,\n enumerable: !0,\n configurable: !0,\n writable: !0\n }) : e[t] = r, e;\n}\nvar ws = F(() => {\n Sp();\n a(oi, \"_defineProperty\");\n});\n\n// ../node_modules/react-syntax-highlighter/dist/esm/create-element.js\nimport a7 from \"react\";\nfunction Rp(e, t) {\n var r = Object.keys(e);\n if (Object.getOwnPropertySymbols) {\n var n = Object.getOwnPropertySymbols(e);\n t && (n = n.filter(function(o) {\n return Object.getOwnPropertyDescriptor(e, o).enumerable;\n })), r.push.apply(r, n);\n }\n return r;\n}\nfunction cn(e) {\n for (var t = 1; t < arguments.length; t++) {\n var r = arguments[t] != null ? arguments[t] : {};\n t % 2 ? Rp(Object(r), !0).forEach(function(n) {\n oi(e, n, r[n]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Rp(Object(r)).forEach(function(n) {\n Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));\n });\n }\n return e;\n}\nfunction i7(e) {\n var t = e.length;\n if (t === 0 || t === 1) return e;\n if (t === 2)\n return [e[0], e[1], \"\".concat(e[0], \".\").concat(e[1]), \"\".concat(e[1], \".\").concat(e[0])];\n if (t === 3)\n return [e[0], e[1], e[2], \"\".concat(e[0], \".\").concat(e[1]), \"\".concat(e[0], \".\").concat(e[2]), \"\".concat(e[1], \".\").concat(e[0]), \"\".concat(\n e[1], \".\").concat(e[2]), \"\".concat(e[2], \".\").concat(e[0]), \"\".concat(e[2], \".\").concat(e[1]), \"\".concat(e[0], \".\").concat(e[1], \".\").concat(\n e[2]), \"\".concat(e[0], \".\").concat(e[2], \".\").concat(e[1]), \"\".concat(e[1], \".\").concat(e[0], \".\").concat(e[2]), \"\".concat(e[1], \".\").concat(\n e[2], \".\").concat(e[0]), \"\".concat(e[2], \".\").concat(e[0], \".\").concat(e[1]), \"\".concat(e[2], \".\").concat(e[1], \".\").concat(e[0])];\n if (t >= 4)\n return [e[0], e[1], e[2], e[3], \"\".concat(e[0], \".\").concat(e[1]), \"\".concat(e[0], \".\").concat(e[2]), \"\".concat(e[0], \".\").concat(e[3]),\n \"\".concat(e[1], \".\").concat(e[0]), \"\".concat(e[1], \".\").concat(e[2]), \"\".concat(e[1], \".\").concat(e[3]), \"\".concat(e[2], \".\").concat(e[0]),\n \"\".concat(e[2], \".\").concat(e[1]), \"\".concat(e[2], \".\").concat(e[3]), \"\".concat(e[3], \".\").concat(e[0]), \"\".concat(e[3], \".\").concat(e[1]),\n \"\".concat(e[3], \".\").concat(e[2]), \"\".concat(e[0], \".\").concat(e[1], \".\").concat(e[2]), \"\".concat(e[0], \".\").concat(e[1], \".\").concat(e[3]),\n \"\".concat(e[0], \".\").concat(e[2], \".\").concat(e[1]), \"\".concat(e[0], \".\").concat(e[2], \".\").concat(e[3]), \"\".concat(e[0], \".\").concat(e[3],\n \".\").concat(e[1]), \"\".concat(e[0], \".\").concat(e[3], \".\").concat(e[2]), \"\".concat(e[1], \".\").concat(e[0], \".\").concat(e[2]), \"\".concat(e[1],\n \".\").concat(e[0], \".\").concat(e[3]), \"\".concat(e[1], \".\").concat(e[2], \".\").concat(e[0]), \"\".concat(e[1], \".\").concat(e[2], \".\").concat(\n e[3]), \"\".concat(e[1], \".\").concat(e[3], \".\").concat(e[0]), \"\".concat(e[1], \".\").concat(e[3], \".\").concat(e[2]), \"\".concat(e[2], \".\").concat(\n e[0], \".\").concat(e[1]), \"\".concat(e[2], \".\").concat(e[0], \".\").concat(e[3]), \"\".concat(e[2], \".\").concat(e[1], \".\").concat(e[0]), \"\".concat(\n e[2], \".\").concat(e[1], \".\").concat(e[3]), \"\".concat(e[2], \".\").concat(e[3], \".\").concat(e[0]), \"\".concat(e[2], \".\").concat(e[3], \".\").concat(\n e[1]), \"\".concat(e[3], \".\").concat(e[0], \".\").concat(e[1]), \"\".concat(e[3], \".\").concat(e[0], \".\").concat(e[2]), \"\".concat(e[3], \".\").concat(\n e[1], \".\").concat(e[0]), \"\".concat(e[3], \".\").concat(e[1], \".\").concat(e[2]), \"\".concat(e[3], \".\").concat(e[2], \".\").concat(e[0]), \"\".concat(\n e[3], \".\").concat(e[2], \".\").concat(e[1]), \"\".concat(e[0], \".\").concat(e[1], \".\").concat(e[2], \".\").concat(e[3]), \"\".concat(e[0], \".\").concat(\n e[1], \".\").concat(e[3], \".\").concat(e[2]), \"\".concat(e[0], \".\").concat(e[2], \".\").concat(e[1], \".\").concat(e[3]), \"\".concat(e[0], \".\").concat(\n e[2], \".\").concat(e[3], \".\").concat(e[1]), \"\".concat(e[0], \".\").concat(e[3], \".\").concat(e[1], \".\").concat(e[2]), \"\".concat(e[0], \".\").concat(\n e[3], \".\").concat(e[2], \".\").concat(e[1]), \"\".concat(e[1], \".\").concat(e[0], \".\").concat(e[2], \".\").concat(e[3]), \"\".concat(e[1], \".\").concat(\n e[0], \".\").concat(e[3], \".\").concat(e[2]), \"\".concat(e[1], \".\").concat(e[2], \".\").concat(e[0], \".\").concat(e[3]), \"\".concat(e[1], \".\").concat(\n e[2], \".\").concat(e[3], \".\").concat(e[0]), \"\".concat(e[1], \".\").concat(e[3], \".\").concat(e[0], \".\").concat(e[2]), \"\".concat(e[1], \".\").concat(\n e[3], \".\").concat(e[2], \".\").concat(e[0]), \"\".concat(e[2], \".\").concat(e[0], \".\").concat(e[1], \".\").concat(e[3]), \"\".concat(e[2], \".\").concat(\n e[0], \".\").concat(e[3], \".\").concat(e[1]), \"\".concat(e[2], \".\").concat(e[1], \".\").concat(e[0], \".\").concat(e[3]), \"\".concat(e[2], \".\").concat(\n e[1], \".\").concat(e[3], \".\").concat(e[0]), \"\".concat(e[2], \".\").concat(e[3], \".\").concat(e[0], \".\").concat(e[1]), \"\".concat(e[2], \".\").concat(\n e[3], \".\").concat(e[1], \".\").concat(e[0]), \"\".concat(e[3], \".\").concat(e[0], \".\").concat(e[1], \".\").concat(e[2]), \"\".concat(e[3], \".\").concat(\n e[0], \".\").concat(e[2], \".\").concat(e[1]), \"\".concat(e[3], \".\").concat(e[1], \".\").concat(e[0], \".\").concat(e[2]), \"\".concat(e[3], \".\").concat(\n e[1], \".\").concat(e[2], \".\").concat(e[0]), \"\".concat(e[3], \".\").concat(e[2], \".\").concat(e[0], \".\").concat(e[1]), \"\".concat(e[3], \".\").concat(\n e[2], \".\").concat(e[1], \".\").concat(e[0])];\n}\nfunction l7(e) {\n if (e.length === 0 || e.length === 1) return e;\n var t = e.join(\".\");\n return bs[t] || (bs[t] = i7(e)), bs[t];\n}\nfunction s7(e) {\n var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = arguments.length > 2 ? arguments[2] : void 0, n = e.filter(\n function(i) {\n return i !== \"token\";\n }), o = l7(n);\n return o.reduce(function(i, l) {\n return cn(cn({}, i), r[l]);\n }, t);\n}\nfunction Ap(e) {\n return e.join(\" \");\n}\nfunction u7(e, t) {\n var r = 0;\n return function(n) {\n return r += 1, n.map(function(o, i) {\n return yr({\n node: o,\n stylesheet: e,\n useInlineStyles: t,\n key: \"code-segment-\".concat(r, \"-\").concat(i)\n });\n });\n };\n}\nfunction yr(e) {\n var t = e.node, r = e.stylesheet, n = e.style, o = n === void 0 ? {} : n, i = e.useInlineStyles, l = e.key, u = t.properties, c = t.type, p = t.\n tagName, d = t.value;\n if (c === \"text\")\n return d;\n if (p) {\n var h = u7(r, i), f;\n if (!i)\n f = cn(cn({}, u), {}, {\n className: Ap(u.className)\n });\n else {\n var v = Object.keys(r).reduce(function(y, w) {\n return w.split(\".\").forEach(function(D) {\n y.includes(D) || y.push(D);\n }), y;\n }, []), b = u.className && u.className.includes(\"token\") ? [\"token\"] : [], m = u.className && b.concat(u.className.filter(function(y) {\n return !v.includes(y);\n }));\n f = cn(cn({}, u), {}, {\n className: Ap(m) || void 0,\n style: s7(u.className, Object.assign({}, u.style, o), r)\n });\n }\n var g = h(t.children);\n return /* @__PURE__ */ a7.createElement(p, $({\n key: l\n }, f), g);\n }\n}\nvar bs, ys = F(() => {\n tt();\n ws();\n a(Rp, \"ownKeys\");\n a(cn, \"_objectSpread\");\n a(i7, \"powerSetPermutations\");\n bs = {};\n a(l7, \"getClassNameCombinations\");\n a(s7, \"createStyleObject\");\n a(Ap, \"createClassNameString\");\n a(u7, \"createChildren\");\n a(yr, \"createElement\");\n});\n\n// ../node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.js\nvar Fp, kp = F(() => {\n Fp = /* @__PURE__ */ a(function(e, t) {\n var r = e.listLanguages();\n return r.indexOf(t) !== -1;\n }, \"default\");\n});\n\n// ../node_modules/react-syntax-highlighter/dist/esm/highlight.js\nimport Dr from \"react\";\nfunction Tp(e, t) {\n var r = Object.keys(e);\n if (Object.getOwnPropertySymbols) {\n var n = Object.getOwnPropertySymbols(e);\n t && (n = n.filter(function(o) {\n return Object.getOwnPropertyDescriptor(e, o).enumerable;\n })), r.push.apply(r, n);\n }\n return r;\n}\nfunction mt(e) {\n for (var t = 1; t < arguments.length; t++) {\n var r = arguments[t] != null ? arguments[t] : {};\n t % 2 ? Tp(Object(r), !0).forEach(function(n) {\n oi(e, n, r[n]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Tp(Object(r)).forEach(function(n) {\n Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));\n });\n }\n return e;\n}\nfunction d7(e) {\n return e.match(p7);\n}\nfunction f7(e) {\n var t = e.lines, r = e.startingLineNumber, n = e.style;\n return t.map(function(o, i) {\n var l = i + r;\n return /* @__PURE__ */ Dr.createElement(\"span\", {\n key: \"line-\".concat(i),\n className: \"react-syntax-highlighter-line-number\",\n style: typeof n == \"function\" ? n(l) : n\n }, \"\".concat(l, `\n`));\n });\n}\nfunction h7(e) {\n var t = e.codeString, r = e.codeStyle, n = e.containerStyle, o = n === void 0 ? {\n float: \"left\",\n paddingRight: \"10px\"\n } : n, i = e.numberStyle, l = i === void 0 ? {} : i, u = e.startingLineNumber;\n return /* @__PURE__ */ Dr.createElement(\"code\", {\n style: Object.assign({}, r, o)\n }, f7({\n lines: t.replace(/\\n$/, \"\").split(`\n`),\n style: l,\n startingLineNumber: u\n }));\n}\nfunction m7(e) {\n return \"\".concat(e.toString().length, \".25em\");\n}\nfunction Lp(e, t) {\n return {\n type: \"element\",\n tagName: \"span\",\n properties: {\n key: \"line-number--\".concat(e),\n className: [\"comment\", \"linenumber\", \"react-syntax-highlighter-line-number\"],\n style: t\n },\n children: [{\n type: \"text\",\n value: e\n }]\n };\n}\nfunction Bp(e, t, r) {\n var n = {\n display: \"inline-block\",\n minWidth: m7(r),\n paddingRight: \"1em\",\n textAlign: \"right\",\n userSelect: \"none\"\n }, o = typeof e == \"function\" ? e(t) : e, i = mt(mt({}, n), o);\n return i;\n}\nfunction ai(e) {\n var t = e.children, r = e.lineNumber, n = e.lineNumberStyle, o = e.largestLineNumber, i = e.showInlineLineNumbers, l = e.lineProps, u = l ===\n void 0 ? {} : l, c = e.className, p = c === void 0 ? [] : c, d = e.showLineNumbers, h = e.wrapLongLines, f = typeof u == \"function\" ? u(r) :\n u;\n if (f.className = p, r && i) {\n var v = Bp(n, r, o);\n t.unshift(Lp(r, v));\n }\n return h & d && (f.style = mt(mt({}, f.style), {}, {\n display: \"flex\"\n })), {\n type: \"element\",\n tagName: \"span\",\n properties: f,\n children: t\n };\n}\nfunction Ip(e) {\n for (var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] :\n [], n = 0; n < e.length; n++) {\n var o = e[n];\n if (o.type === \"text\")\n r.push(ai({\n children: [o],\n className: yp(new Set(t))\n }));\n else if (o.children) {\n var i = t.concat(o.properties.className);\n Ip(o.children, i).forEach(function(l) {\n return r.push(l);\n });\n }\n }\n return r;\n}\nfunction g7(e, t, r, n, o, i, l, u, c) {\n var p, d = Ip(e.value), h = [], f = -1, v = 0;\n function b(C, E) {\n var S = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];\n return ai({\n children: C,\n lineNumber: E,\n lineNumberStyle: u,\n largestLineNumber: l,\n showInlineLineNumbers: o,\n lineProps: r,\n className: S,\n showLineNumbers: n,\n wrapLongLines: c\n });\n }\n a(b, \"createWrappedLine\");\n function m(C, E) {\n if (n && E && o) {\n var S = Bp(u, E, l);\n C.unshift(Lp(E, S));\n }\n return C;\n }\n a(m, \"createUnwrappedLine\");\n function g(C, E) {\n var S = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];\n return t || S.length > 0 ? b(C, E, S) : m(C, E);\n }\n a(g, \"createLine\");\n for (var y = /* @__PURE__ */ a(function() {\n var E = d[v], S = E.children[0].value, R = d7(S);\n if (R) {\n var A = S.split(`\n`);\n A.forEach(function(k, I) {\n var H = n && h.length + i, M = {\n type: \"text\",\n value: \"\".concat(k, `\n`)\n };\n if (I === 0) {\n var W = d.slice(f + 1, v).concat(ai({\n children: [M],\n className: E.properties.className\n })), T = g(W, H);\n h.push(T);\n } else if (I === A.length - 1) {\n var L = d[v + 1] && d[v + 1].children && d[v + 1].children[0], P = {\n type: \"text\",\n value: \"\".concat(k)\n };\n if (L) {\n var U = ai({\n children: [P],\n className: E.properties.className\n });\n d.splice(v + 1, 0, U);\n } else {\n var N = [P], G = g(N, H, E.properties.className);\n h.push(G);\n }\n } else {\n var z = [M], K = g(z, H, E.properties.className);\n h.push(K);\n }\n }), f = v;\n }\n v++;\n }, \"_loop\"); v < d.length; )\n y();\n if (f !== d.length - 1) {\n var w = d.slice(f + 1, d.length);\n if (w && w.length) {\n var D = n && h.length + i, x = g(w, D);\n h.push(x);\n }\n }\n return t ? h : (p = []).concat.apply(p, h);\n}\nfunction v7(e) {\n var t = e.rows, r = e.stylesheet, n = e.useInlineStyles;\n return t.map(function(o, i) {\n return yr({\n node: o,\n stylesheet: r,\n useInlineStyles: n,\n key: \"code-segement\".concat(i)\n });\n });\n}\nfunction Mp(e) {\n return e && typeof e.highlightAuto < \"u\";\n}\nfunction w7(e) {\n var t = e.astGenerator, r = e.language, n = e.code, o = e.defaultCodeValue;\n if (Mp(t)) {\n var i = Fp(t, r);\n return r === \"text\" ? {\n value: o,\n language: \"text\"\n } : i ? t.highlight(r, n) : t.highlightAuto(n);\n }\n try {\n return r && r !== \"text\" ? {\n value: t.highlight(n, r)\n } : {\n value: o\n };\n } catch {\n return {\n value: o\n };\n }\n}\nfunction Ds(e, t) {\n return /* @__PURE__ */ a(function(n) {\n var o = n.language, i = n.children, l = n.style, u = l === void 0 ? t : l, c = n.customStyle, p = c === void 0 ? {} : c, d = n.codeTagProps,\n h = d === void 0 ? {\n className: o ? \"language-\".concat(o) : void 0,\n style: mt(mt({}, u['code[class*=\"language-\"]']), u['code[class*=\"language-'.concat(o, '\"]')])\n } : d, f = n.useInlineStyles, v = f === void 0 ? !0 : f, b = n.showLineNumbers, m = b === void 0 ? !1 : b, g = n.showInlineLineNumbers, y = g ===\n void 0 ? !0 : g, w = n.startingLineNumber, D = w === void 0 ? 1 : w, x = n.lineNumberContainerStyle, C = n.lineNumberStyle, E = C === void 0 ?\n {} : C, S = n.wrapLines, R = n.wrapLongLines, A = R === void 0 ? !1 : R, k = n.lineProps, I = k === void 0 ? {} : k, H = n.renderer, M = n.\n PreTag, W = M === void 0 ? \"pre\" : M, T = n.CodeTag, L = T === void 0 ? \"code\" : T, P = n.code, U = P === void 0 ? (Array.isArray(i) ? i[0] :\n i) || \"\" : P, N = n.astGenerator, G = cp(n, c7);\n N = N || e;\n var z = m ? /* @__PURE__ */ Dr.createElement(h7, {\n containerStyle: x,\n codeStyle: h.style || {},\n numberStyle: E,\n startingLineNumber: D,\n codeString: U\n }) : null, K = u.hljs || u['pre[class*=\"language-\"]'] || {\n backgroundColor: \"#fff\"\n }, Te = Mp(N) ? \"hljs\" : \"prismjs\", ve = v ? Object.assign({}, G, {\n style: Object.assign({}, K, p)\n }) : Object.assign({}, G, {\n className: G.className ? \"\".concat(Te, \" \").concat(G.className) : Te,\n style: Object.assign({}, p)\n });\n if (A ? h.style = mt(mt({}, h.style), {}, {\n whiteSpace: \"pre-wrap\"\n }) : h.style = mt(mt({}, h.style), {}, {\n whiteSpace: \"pre\"\n }), !N)\n return /* @__PURE__ */ Dr.createElement(W, ve, z, /* @__PURE__ */ Dr.createElement(L, h, U));\n (S === void 0 && H || A) && (S = !0), H = H || v7;\n var de = [{\n type: \"text\",\n value: U\n }], Ce = w7({\n astGenerator: N,\n language: o,\n code: U,\n defaultCodeValue: de\n });\n Ce.language === null && (Ce.value = de);\n var Le = Ce.value.length + D, Be = g7(Ce, S, I, m, y, D, Le, E, A);\n return /* @__PURE__ */ Dr.createElement(W, ve, /* @__PURE__ */ Dr.createElement(L, h, !y && z, H({\n rows: Be,\n stylesheet: u,\n useInlineStyles: v\n })));\n }, \"SyntaxHighlighter\");\n}\nvar c7, p7, _p = F(() => {\n pp();\n Dp();\n ws();\n ys();\n kp();\n c7 = [\"language\", \"children\", \"style\", \"customStyle\", \"codeTagProps\", \"useInlineStyles\", \"showLineNumbers\", \"showInlineLineNumbers\", \"star\\\ntingLineNumber\", \"lineNumberContainerStyle\", \"lineNumberStyle\", \"wrapLines\", \"wrapLongLines\", \"lineProps\", \"renderer\", \"PreTag\", \"CodeTag\", \"\\\ncode\", \"astGenerator\"];\n a(Tp, \"ownKeys\");\n a(mt, \"_objectSpread\");\n p7 = /\\n/g;\n a(d7, \"getNewLines\");\n a(f7, \"getAllLineNumbers\");\n a(h7, \"AllLineNumbers\");\n a(m7, \"getEmWidthOfNumber\");\n a(Lp, \"getInlineLineNumber\");\n a(Bp, \"assembleLineNumberStyles\");\n a(ai, \"createLineElement\");\n a(Ip, \"flattenCodeTree\");\n a(g7, \"processLines\");\n a(v7, \"defaultRenderer\");\n a(Mp, \"isHighlightJs\");\n a(w7, \"getCodeTree\");\n a(Ds, \"default\");\n});\n\n// ../node_modules/xtend/immutable.js\nvar Hp = _((rH, Pp) => {\n Pp.exports = y7;\n var b7 = Object.prototype.hasOwnProperty;\n function y7() {\n for (var e = {}, t = 0; t < arguments.length; t++) {\n var r = arguments[t];\n for (var n in r)\n b7.call(r, n) && (e[n] = r[n]);\n }\n return e;\n }\n a(y7, \"extend\");\n});\n\n// ../node_modules/hastscript/node_modules/property-information/lib/util/schema.js\nvar Cs = _((oH, $p) => {\n \"use strict\";\n $p.exports = zp;\n var xs = zp.prototype;\n xs.space = null;\n xs.normal = {};\n xs.property = {};\n function zp(e, t, r) {\n this.property = e, this.normal = t, r && (this.space = r);\n }\n a(zp, \"Schema\");\n});\n\n// ../node_modules/hastscript/node_modules/property-information/lib/util/merge.js\nvar jp = _((iH, Np) => {\n \"use strict\";\n var Op = Hp(), D7 = Cs();\n Np.exports = x7;\n function x7(e) {\n for (var t = e.length, r = [], n = [], o = -1, i, l; ++o < t; )\n i = e[o], r.push(i.property), n.push(i.normal), l = i.space;\n return new D7(\n Op.apply(null, r),\n Op.apply(null, n),\n l\n );\n }\n a(x7, \"merge\");\n});\n\n// ../node_modules/hastscript/node_modules/property-information/normalize.js\nvar ii = _((sH, Vp) => {\n \"use strict\";\n Vp.exports = C7;\n function C7(e) {\n return e.toLowerCase();\n }\n a(C7, \"normalize\");\n});\n\n// ../node_modules/hastscript/node_modules/property-information/lib/util/info.js\nvar Es = _((cH, Wp) => {\n \"use strict\";\n Wp.exports = qp;\n var We = qp.prototype;\n We.space = null;\n We.attribute = null;\n We.property = null;\n We.boolean = !1;\n We.booleanish = !1;\n We.overloadedBoolean = !1;\n We.number = !1;\n We.commaSeparated = !1;\n We.spaceSeparated = !1;\n We.commaOrSpaceSeparated = !1;\n We.mustUseProperty = !1;\n We.defined = !1;\n function qp(e, t) {\n this.property = e, this.attribute = t;\n }\n a(qp, \"Info\");\n});\n\n// ../node_modules/hastscript/node_modules/property-information/lib/util/types.js\nvar li = _((Kt) => {\n \"use strict\";\n var E7 = 0;\n Kt.boolean = xr();\n Kt.booleanish = xr();\n Kt.overloadedBoolean = xr();\n Kt.number = xr();\n Kt.spaceSeparated = xr();\n Kt.commaSeparated = xr();\n Kt.commaOrSpaceSeparated = xr();\n function xr() {\n return Math.pow(2, ++E7);\n }\n a(xr, \"increment\");\n});\n\n// ../node_modules/hastscript/node_modules/property-information/lib/util/defined-info.js\nvar Rs = _((hH, Kp) => {\n \"use strict\";\n var Xp = Es(), Up = li();\n Kp.exports = Ss;\n Ss.prototype = new Xp();\n Ss.prototype.defined = !0;\n var Yp = [\n \"boolean\",\n \"booleanish\",\n \"overloadedBoolean\",\n \"number\",\n \"commaSeparated\",\n \"spaceSeparated\",\n \"commaOrSpaceSeparated\"\n ], S7 = Yp.length;\n function Ss(e, t, r, n) {\n var o = -1, i;\n for (Gp(this, \"space\", n), Xp.call(this, e, t); ++o < S7; )\n i = Yp[o], Gp(this, i, (r & Up[i]) === Up[i]);\n }\n a(Ss, \"DefinedInfo\");\n function Gp(e, t, r) {\n r && (e[t] = r);\n }\n a(Gp, \"mark\");\n});\n\n// ../node_modules/hastscript/node_modules/property-information/lib/util/create.js\nvar pn = _((gH, Jp) => {\n \"use strict\";\n var Zp = ii(), R7 = Cs(), A7 = Rs();\n Jp.exports = F7;\n function F7(e) {\n var t = e.space, r = e.mustUseProperty || [], n = e.attributes || {}, o = e.properties, i = e.transform, l = {}, u = {}, c, p;\n for (c in o)\n p = new A7(\n c,\n i(n, c),\n o[c],\n t\n ), r.indexOf(c) !== -1 && (p.mustUseProperty = !0), l[c] = p, u[Zp(c)] = c, u[Zp(p.attribute)] = c;\n return new R7(l, u, t);\n }\n a(F7, \"create\");\n});\n\n// ../node_modules/hastscript/node_modules/property-information/lib/xlink.js\nvar ed = _((wH, Qp) => {\n \"use strict\";\n var k7 = pn();\n Qp.exports = k7({\n space: \"xlink\",\n transform: T7,\n properties: {\n xLinkActuate: null,\n xLinkArcRole: null,\n xLinkHref: null,\n xLinkRole: null,\n xLinkShow: null,\n xLinkTitle: null,\n xLinkType: null\n }\n });\n function T7(e, t) {\n return \"xlink:\" + t.slice(5).toLowerCase();\n }\n a(T7, \"xlinkTransform\");\n});\n\n// ../node_modules/hastscript/node_modules/property-information/lib/xml.js\nvar rd = _((yH, td) => {\n \"use strict\";\n var L7 = pn();\n td.exports = L7({\n space: \"xml\",\n transform: B7,\n properties: {\n xmlLang: null,\n xmlBase: null,\n xmlSpace: null\n }\n });\n function B7(e, t) {\n return \"xml:\" + t.slice(3).toLowerCase();\n }\n a(B7, \"xmlTransform\");\n});\n\n// ../node_modules/hastscript/node_modules/property-information/lib/util/case-sensitive-transform.js\nvar od = _((xH, nd) => {\n \"use strict\";\n nd.exports = I7;\n function I7(e, t) {\n return t in e ? e[t] : t;\n }\n a(I7, \"caseSensitiveTransform\");\n});\n\n// ../node_modules/hastscript/node_modules/property-information/lib/util/case-insensitive-transform.js\nvar As = _((EH, ad) => {\n \"use strict\";\n var M7 = od();\n ad.exports = _7;\n function _7(e, t) {\n return M7(e, t.toLowerCase());\n }\n a(_7, \"caseInsensitiveTransform\");\n});\n\n// ../node_modules/hastscript/node_modules/property-information/lib/xmlns.js\nvar ld = _((RH, id) => {\n \"use strict\";\n var P7 = pn(), H7 = As();\n id.exports = P7({\n space: \"xmlns\",\n attributes: {\n xmlnsxlink: \"xmlns:xlink\"\n },\n transform: H7,\n properties: {\n xmlns: null,\n xmlnsXLink: null\n }\n });\n});\n\n// ../node_modules/hastscript/node_modules/property-information/lib/aria.js\nvar ud = _((AH, sd) => {\n \"use strict\";\n var Fs = li(), z7 = pn(), Me = Fs.booleanish, Ue = Fs.number, Cr = Fs.spaceSeparated;\n sd.exports = z7({\n transform: $7,\n properties: {\n ariaActiveDescendant: null,\n ariaAtomic: Me,\n ariaAutoComplete: null,\n ariaBusy: Me,\n ariaChecked: Me,\n ariaColCount: Ue,\n ariaColIndex: Ue,\n ariaColSpan: Ue,\n ariaControls: Cr,\n ariaCurrent: null,\n ariaDescribedBy: Cr,\n ariaDetails: null,\n ariaDisabled: Me,\n ariaDropEffect: Cr,\n ariaErrorMessage: null,\n ariaExpanded: Me,\n ariaFlowTo: Cr,\n ariaGrabbed: Me,\n ariaHasPopup: null,\n ariaHidden: Me,\n ariaInvalid: null,\n ariaKeyShortcuts: null,\n ariaLabel: null,\n ariaLabelledBy: Cr,\n ariaLevel: Ue,\n ariaLive: null,\n ariaModal: Me,\n ariaMultiLine: Me,\n ariaMultiSelectable: Me,\n ariaOrientation: null,\n ariaOwns: Cr,\n ariaPlaceholder: null,\n ariaPosInSet: Ue,\n ariaPressed: Me,\n ariaReadOnly: Me,\n ariaRelevant: null,\n ariaRequired: Me,\n ariaRoleDescription: Cr,\n ariaRowCount: Ue,\n ariaRowIndex: Ue,\n ariaRowSpan: Ue,\n ariaSelected: Me,\n ariaSetSize: Ue,\n ariaSort: null,\n ariaValueMax: Ue,\n ariaValueMin: Ue,\n ariaValueNow: Ue,\n ariaValueText: null,\n role: null\n }\n });\n function $7(e, t) {\n return t === \"role\" ? t : \"aria-\" + t.slice(4).toLowerCase();\n }\n a($7, \"ariaTransform\");\n});\n\n// ../node_modules/hastscript/node_modules/property-information/lib/html.js\nvar pd = _((kH, cd) => {\n \"use strict\";\n var dn = li(), O7 = pn(), N7 = As(), V = dn.boolean, j7 = dn.overloadedBoolean, ra = dn.booleanish, Z = dn.number, Re = dn.spaceSeparated,\n si = dn.commaSeparated;\n cd.exports = O7({\n space: \"html\",\n attributes: {\n acceptcharset: \"accept-charset\",\n classname: \"class\",\n htmlfor: \"for\",\n httpequiv: \"http-equiv\"\n },\n transform: N7,\n mustUseProperty: [\"checked\", \"multiple\", \"muted\", \"selected\"],\n properties: {\n // Standard Properties.\n abbr: null,\n accept: si,\n acceptCharset: Re,\n accessKey: Re,\n action: null,\n allow: null,\n allowFullScreen: V,\n allowPaymentRequest: V,\n allowUserMedia: V,\n alt: null,\n as: null,\n async: V,\n autoCapitalize: null,\n autoComplete: Re,\n autoFocus: V,\n autoPlay: V,\n capture: V,\n charSet: null,\n checked: V,\n cite: null,\n className: Re,\n cols: Z,\n colSpan: null,\n content: null,\n contentEditable: ra,\n controls: V,\n controlsList: Re,\n coords: Z | si,\n crossOrigin: null,\n data: null,\n dateTime: null,\n decoding: null,\n default: V,\n defer: V,\n dir: null,\n dirName: null,\n disabled: V,\n download: j7,\n draggable: ra,\n encType: null,\n enterKeyHint: null,\n form: null,\n formAction: null,\n formEncType: null,\n formMethod: null,\n formNoValidate: V,\n formTarget: null,\n headers: Re,\n height: Z,\n hidden: V,\n high: Z,\n href: null,\n hrefLang: null,\n htmlFor: Re,\n httpEquiv: Re,\n id: null,\n imageSizes: null,\n imageSrcSet: si,\n inputMode: null,\n integrity: null,\n is: null,\n isMap: V,\n itemId: null,\n itemProp: Re,\n itemRef: Re,\n itemScope: V,\n itemType: Re,\n kind: null,\n label: null,\n lang: null,\n language: null,\n list: null,\n loading: null,\n loop: V,\n low: Z,\n manifest: null,\n max: null,\n maxLength: Z,\n media: null,\n method: null,\n min: null,\n minLength: Z,\n multiple: V,\n muted: V,\n name: null,\n nonce: null,\n noModule: V,\n noValidate: V,\n onAbort: null,\n onAfterPrint: null,\n onAuxClick: null,\n onBeforePrint: null,\n onBeforeUnload: null,\n onBlur: null,\n onCancel: null,\n onCanPlay: null,\n onCanPlayThrough: null,\n onChange: null,\n onClick: null,\n onClose: null,\n onContextMenu: null,\n onCopy: null,\n onCueChange: null,\n onCut: null,\n onDblClick: null,\n onDrag: null,\n onDragEnd: null,\n onDragEnter: null,\n onDragExit: null,\n onDragLeave: null,\n onDragOver: null,\n onDragStart: null,\n onDrop: null,\n onDurationChange: null,\n onEmptied: null,\n onEnded: null,\n onError: null,\n onFocus: null,\n onFormData: null,\n onHashChange: null,\n onInput: null,\n onInvalid: null,\n onKeyDown: null,\n onKeyPress: null,\n onKeyUp: null,\n onLanguageChange: null,\n onLoad: null,\n onLoadedData: null,\n onLoadedMetadata: null,\n onLoadEnd: null,\n onLoadStart: null,\n onMessage: null,\n onMessageError: null,\n onMouseDown: null,\n onMouseEnter: null,\n onMouseLeave: null,\n onMouseMove: null,\n onMouseOut: null,\n onMouseOver: null,\n onMouseUp: null,\n onOffline: null,\n onOnline: null,\n onPageHide: null,\n onPageShow: null,\n onPaste: null,\n onPause: null,\n onPlay: null,\n onPlaying: null,\n onPopState: null,\n onProgress: null,\n onRateChange: null,\n onRejectionHandled: null,\n onReset: null,\n onResize: null,\n onScroll: null,\n onSecurityPolicyViolation: null,\n onSeeked: null,\n onSeeking: null,\n onSelect: null,\n onSlotChange: null,\n onStalled: null,\n onStorage: null,\n onSubmit: null,\n onSuspend: null,\n onTimeUpdate: null,\n onToggle: null,\n onUnhandledRejection: null,\n onUnload: null,\n onVolumeChange: null,\n onWaiting: null,\n onWheel: null,\n open: V,\n optimum: Z,\n pattern: null,\n ping: Re,\n placeholder: null,\n playsInline: V,\n poster: null,\n preload: null,\n readOnly: V,\n referrerPolicy: null,\n rel: Re,\n required: V,\n reversed: V,\n rows: Z,\n rowSpan: Z,\n sandbox: Re,\n scope: null,\n scoped: V,\n seamless: V,\n selected: V,\n shape: null,\n size: Z,\n sizes: null,\n slot: null,\n span: Z,\n spellCheck: ra,\n src: null,\n srcDoc: null,\n srcLang: null,\n srcSet: si,\n start: Z,\n step: null,\n style: null,\n tabIndex: Z,\n target: null,\n title: null,\n translate: null,\n type: null,\n typeMustMatch: V,\n useMap: null,\n value: ra,\n width: Z,\n wrap: null,\n // Legacy.\n // See: https://html.spec.whatwg.org/#other-elements,-attributes-and-apis\n align: null,\n // Several. Use CSS `text-align` instead,\n aLink: null,\n // ``. Use CSS `a:active {color}` instead\n archive: Re,\n // ``. List of URIs to archives\n axis: null,\n // `` and ``. Use `scope` on ``\n background: null,\n // ``. Use CSS `background-image` instead\n bgColor: null,\n // `` and table elements. Use CSS `background-color` instead\n border: Z,\n // ``. Use CSS `border-width` instead,\n borderColor: null,\n // `
`. Use CSS `border-color` instead,\n bottomMargin: Z,\n // ``\n cellPadding: null,\n // `
`\n cellSpacing: null,\n // `
`\n char: null,\n // Several table elements. When `align=char`, sets the character to align on\n charOff: null,\n // Several table elements. When `char`, offsets the alignment\n classId: null,\n // ``\n clear: null,\n // `
`. Use CSS `clear` instead\n code: null,\n // ``\n codeBase: null,\n // ``\n codeType: null,\n // ``\n color: null,\n // `` and `
`. Use CSS instead\n compact: V,\n // Lists. Use CSS to reduce space between items instead\n declare: V,\n // ``\n event: null,\n // ` \ No newline at end of file + import './main.a1757cfb.iframe.bundle.js'; \ No newline at end of file diff --git a/index.html b/index.html index f48bf831b..edd1ebd56 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ - storybook - Storybook + @storybook/core - Storybook diff --git a/main.c30d570f.iframe.bundle.js b/main.a1757cfb.iframe.bundle.js similarity index 61% rename from main.c30d570f.iframe.bundle.js rename to main.a1757cfb.iframe.bundle.js index d3cadca84..130e35514 100644 --- a/main.c30d570f.iframe.bundle.js +++ b/main.a1757cfb.iframe.bundle.js @@ -1 +1 @@ -(self.webpackChunk_zendeskgarden_react_containers=self.webpackChunk_zendeskgarden_react_containers||[]).push([[8792],{"./storybook-config-entry.js":(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__)=>{"use strict";var external_STORYBOOK_MODULE_GLOBAL_=__webpack_require__("@storybook/global"),external_STORYBOOK_MODULE_PREVIEW_API_=__webpack_require__("storybook/internal/preview-api"),external_STORYBOOK_MODULE_CHANNELS_=__webpack_require__("storybook/internal/channels");const importers=[async path=>{if(!/^\.[\\/](?:packages\/(?!\.)(?=.)[^/]*?\/demo(?:\/(?!\.)(?:(?:(?!(?:^|\/)\.).)*?)\/|\/|$)(?!\.)(?=.)[^/]*?\.(mdx|stories\.(js|jsx|ts|tsx)))$/.exec(path))return;const pathRemainder=path.substring(11);return __webpack_require__("./packages lazy recursive ^\\.\\/.*$ include: (?%21.*node_modules)(?:\\/packages\\/(?%21\\.)(?=.)[^/]*?\\/demo(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.(mdx%7Cstories\\.(js%7Cjsx%7Cts%7Ctsx)))$")("./"+pathRemainder)}];const channel=(0,external_STORYBOOK_MODULE_CHANNELS_.createBrowserChannel)({page:"preview"});external_STORYBOOK_MODULE_PREVIEW_API_.addons.setChannel(channel),"DEVELOPMENT"===external_STORYBOOK_MODULE_GLOBAL_.global.CONFIG_TYPE&&(window.__STORYBOOK_SERVER_CHANNEL__=channel);const preview=new external_STORYBOOK_MODULE_PREVIEW_API_.PreviewWeb((async function importFn(path){for(let i=0;iimporters[i](path),x());if(moduleExports)return moduleExports}var x}),(()=>(0,external_STORYBOOK_MODULE_PREVIEW_API_.composeConfigs)([__webpack_require__("./node_modules/@storybook/react/dist/entry-preview.mjs"),__webpack_require__("./node_modules/@storybook/react/dist/entry-preview-docs.mjs"),__webpack_require__("./node_modules/@storybook/addon-essentials/dist/docs/preview.mjs"),__webpack_require__("./node_modules/@storybook/addon-essentials/dist/actions/preview.mjs"),__webpack_require__("./node_modules/@storybook/addon-essentials/dist/highlight/preview.mjs"),__webpack_require__("./node_modules/@storybook/addon-styling/dist/preview.mjs"),__webpack_require__("./node_modules/@storybook/addon-a11y/preview.js"),__webpack_require__("./.storybook/preview.js")])));window.__STORYBOOK_PREVIEW__=preview,window.__STORYBOOK_STORY_STORE__=preview.storyStore,window.__STORYBOOK_ADDONS_CHANNEL__=channel},"./.storybook/preview.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{decorators:()=>decorators,globalTypes:()=>globalTypes,parameters:()=>parameters});var react=__webpack_require__("./node_modules/react/index.js"),styled_components_browser_esm=__webpack_require__("./node_modules/styled-components/dist/styled-components.browser.esm.js"),create=__webpack_require__("./node_modules/@storybook/core/dist/theming/create.js"),theme=__webpack_require__("./node_modules/@zendeskgarden/react-theming/dist/esm/elements/theme/index.js"),getColorV8=__webpack_require__("./node_modules/@zendeskgarden/react-theming/dist/esm/utils/getColorV8.js"),injectStylesIntoStyleTag=__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),injectStylesIntoStyleTag_default=__webpack_require__.n(injectStylesIntoStyleTag),styleDomAPI=__webpack_require__("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),styleDomAPI_default=__webpack_require__.n(styleDomAPI),insertBySelector=__webpack_require__("./node_modules/style-loader/dist/runtime/insertBySelector.js"),insertBySelector_default=__webpack_require__.n(insertBySelector),setAttributesWithoutAttributes=__webpack_require__("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),setAttributesWithoutAttributes_default=__webpack_require__.n(setAttributesWithoutAttributes),insertStyleElement=__webpack_require__("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),insertStyleElement_default=__webpack_require__.n(insertStyleElement),styleTagTransform=__webpack_require__("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),styleTagTransform_default=__webpack_require__.n(styleTagTransform),cjs_ruleSet_1_rules_6_use_2_storybook=__webpack_require__("./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[6].use[2]!./.storybook/index.css"),options={};options.styleTagTransform=styleTagTransform_default(),options.setAttributes=setAttributesWithoutAttributes_default(),options.insert=insertBySelector_default().bind(null,"head"),options.domAPI=styleDomAPI_default(),options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(cjs_ruleSet_1_rules_6_use_2_storybook.A,options);cjs_ruleSet_1_rules_6_use_2_storybook.A&&cjs_ruleSet_1_rules_6_use_2_storybook.A.locals&&cjs_ruleSet_1_rules_6_use_2_storybook.A.locals;const parameters={actions:{argTypesRegex:"^on[A-Z].*"},backgrounds:{default:theme.A.colors.base,grid:{disable:!0}},controls:{hideNoControlsWarning:!0,sort:"alpha"},docs:{theme:(0,create.v)({base:theme.A.colors.base})},layout:"centered"},GlobalStyle=(0,styled_components_browser_esm.DU)([":focus-visible{outline-color:",";}"],(p=>(0,getColorV8.A)("primaryHue",600,p.theme))),decorators=[Story=>react.createElement(react.Fragment,null,react.createElement(GlobalStyle,null),react.createElement(Story,null)),(Story,context)=>"enabled"===context.globals.strictMode?react.createElement(react.StrictMode,null,react.createElement(Story,null)):react.createElement(Story,null)],globalTypes={}},"./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[6].use[2]!./.storybook/index.css":(module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__),_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js"),___CSS_LOADER_EXPORT___=__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__)()(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default());___CSS_LOADER_EXPORT___.push([module.id,'/*!\n * Copyright Zendesk, Inc.\n *\n * Use of this source code is governed under the Apache License, Version 2.0\n * found at http://www.apache.org/licenses/LICENSE-2.0.\n */\n\n*,:after,:before{\n\tbox-sizing:border-box;\n}\n\nhtml{\n\tfont-family:system-ui,Segoe UI,Roboto,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;\n\tline-height:1.15;\n\t-webkit-text-size-adjust:100%;\n\t-moz-tab-size:4;\n\t-o-tab-size:4;\n\t tab-size:4;\n}\n\nbody{\n\tmargin:0;\n}\n\nhr{\n\theight:0;\n\tcolor:inherit;\n}\n\nabbr[title]{\n\ttext-decoration:underline;\n\t-webkit-text-decoration:underline dotted;\n\t text-decoration:underline dotted;\n}\n\nb,strong{\n\tfont-weight:bolder;\n}\n\ncode,kbd,pre,samp{\n\tfont-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;\n\tfont-size:1em;\n}\n\nsmall{\n\tfont-size:80%;\n}\n\nsub,sup{\n\tfont-size:75%;\n\tline-height:0;\n\tposition:relative;\n\tvertical-align:baseline;\n}\n\nsub{\n\tbottom:-.25em;\n}\n\nsup{\n\ttop:-.5em;\n}\n\ntable{\n\ttext-indent:0;\n\tborder-color:inherit;\n}\n\nbutton,input,optgroup,select,textarea{\n\tfont-size:100%;\n\tline-height:1.15;\n\tmargin:0;\n}\n\nbutton,select{\n\ttext-transform:none;\n}\n\n[type=button],[type=reset],[type=submit],button{\n\t-webkit-appearance:button;\n}\n\n::-moz-focus-inner{\n\tborder-style:none;\n\tpadding:0;\n}\n\n:-moz-focusring{\n\toutline:1px dotted ButtonText;\n}\n\n:-moz-ui-invalid{\n\tbox-shadow:none;\n}\n\nlegend{\n\tpadding:0;\n}\n\nprogress{\n\tvertical-align:baseline;\n}\n\n::-webkit-inner-spin-button,::-webkit-outer-spin-button{\n\theight:auto;\n}\n\n[type=search]{\n\t-webkit-appearance:textfield;\n\toutline-offset:-2px;\n}\n\n::-webkit-search-decoration{\n\t-webkit-appearance:none;\n}\n\n::-webkit-file-upload-button{\n\t-webkit-appearance:button;\n\tfont:inherit;\n}\n\nsummary{\n\tdisplay:list-item;\n}\n\n:root{\n --zd-color-black:#000;\n --zd-color-green-100:#edf8f4;\n --zd-color-green-200:#d1e8df;\n --zd-color-green-300:#aecfc2;\n --zd-color-green-400:#5eae91;\n --zd-color-green-500:#228f67;\n --zd-color-green-600:#038153;\n --zd-color-green-700:#186146;\n --zd-color-green-800:#0b3b29;\n --zd-color-grey-100:#f8f9f9;\n --zd-color-grey-200:#e9ebed;\n --zd-color-grey-300:#d8dcde;\n --zd-color-grey-400:#c2c8cc;\n --zd-color-grey-500:#87929d;\n --zd-color-grey-600:#68737d;\n --zd-color-grey-700:#49545c;\n --zd-color-grey-800:#2f3941;\n --zd-color-blue-100:#edf7ff;\n --zd-color-blue-200:#cee2f2;\n --zd-color-blue-300:#adcce4;\n --zd-color-blue-400:#5293c7;\n --zd-color-blue-500:#337fbd;\n --zd-color-blue-600:#1f73b7;\n --zd-color-blue-700:#144a75;\n --zd-color-blue-800:#0f3554;\n --zd-color-kale-100:#f5fcfc;\n --zd-color-kale-200:#daeded;\n --zd-color-kale-300:#bdd9d7;\n --zd-color-kale-400:#90bbbb;\n --zd-color-kale-500:#467b7c;\n --zd-color-kale-600:#17494d;\n --zd-color-kale-700:#03363d;\n --zd-color-kale-800:#012b30;\n --zd-color-red-100:#fff0f1;\n --zd-color-red-200:#f5d5d8;\n --zd-color-red-300:#f5b5ba;\n --zd-color-red-400:#e35b66;\n --zd-color-red-500:#d93f4c;\n --zd-color-red-600:#cc3340;\n --zd-color-red-700:#8c232c;\n --zd-color-red-800:#681219;\n --zd-color-yellow-100:#fff7ed;\n --zd-color-yellow-200:#ffeedb;\n --zd-color-yellow-300:#fed6a8;\n --zd-color-yellow-400:#ffb057;\n --zd-color-yellow-500:#f79a3e;\n --zd-color-yellow-600:#ed8f1c;\n --zd-color-yellow-700:#ad5918;\n --zd-color-yellow-800:#703815;\n --zd-color-white:#fff;\n --zd-color-secondary-azure-400:#3091ec;\n --zd-color-secondary-azure-600:#1371d6;\n --zd-color-secondary-crimson-400:#e34f32;\n --zd-color-secondary-crimson-600:#c72a1c;\n --zd-color-secondary-fuschia-400:#d653c2;\n --zd-color-secondary-fuschia-600:#a81897;\n --zd-color-secondary-lemon-400:#ffd424;\n --zd-color-secondary-lemon-600:#ffbb10;\n --zd-color-secondary-lime-400:#43b324;\n --zd-color-secondary-lime-600:#2e8200;\n --zd-color-secondary-mint-400:#00a656;\n --zd-color-secondary-mint-600:#058541;\n --zd-color-secondary-orange-400:#de701d;\n --zd-color-secondary-orange-600:#bf5000;\n --zd-color-secondary-pink-400:#ec4d63;\n --zd-color-secondary-pink-600:#d42054;\n --zd-color-secondary-purple-400:#b552e2;\n --zd-color-secondary-purple-600:#6a27b8;\n --zd-color-secondary-royal-400:#5d7df5;\n --zd-color-secondary-royal-600:#3353e2;\n --zd-color-secondary-teal-400:#02a191;\n --zd-color-secondary-teal-600:#028079;\n --zd-color-secondary-azure-M400:#5f8dcf;\n --zd-color-secondary-azure-M600:#3a70b2;\n --zd-color-secondary-crimson-M400:#cc6c5b;\n --zd-color-secondary-crimson-M600:#b24a3c;\n --zd-color-secondary-fuschia-M400:#cf62a8;\n --zd-color-secondary-fuschia-M600:#a8458c;\n --zd-color-secondary-lemon-M400:#e7a500;\n --zd-color-secondary-lemon-M600:#c38f00;\n --zd-color-secondary-lime-M400:#519e2d;\n --zd-color-secondary-lime-M600:#47782c;\n --zd-color-secondary-mint-M400:#299c66;\n --zd-color-secondary-mint-M600:#2e8057;\n --zd-color-secondary-orange-M400:#d4772c;\n --zd-color-secondary-orange-M600:#b35827;\n --zd-color-secondary-pink-M400:#d57287;\n --zd-color-secondary-pink-M600:#b23a5d;\n --zd-color-secondary-purple-M400:#b072cc;\n --zd-color-secondary-purple-M600:#9358b0;\n --zd-color-secondary-royal-M400:#7986d8;\n --zd-color-secondary-royal-M600:#4b61c3;\n --zd-color-secondary-teal-M400:#2d9e8f;\n --zd-color-secondary-teal-M600:#3c7873;\n --zd-color-chat-orange:#f79a3e;\n --zd-color-connect-red:#ff6224;\n --zd-color-explore-blue:#30aabc;\n --zd-color-gather-pink:#f6c8be;\n --zd-color-guide-pink:#ff6224;\n --zd-color-message-green:#37b8af;\n --zd-color-sell-gold:#c38f00;\n --zd-color-support-green:#00a656;\n --zd-color-talk-yellow:#efc93d;\n --zd-font-family-monospace:SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace;\n --zd-font-family-system:system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;\n --zd-font-size-xs:10px;\n --zd-font-size-sm:12px;\n --zd-font-size-md:14px;\n --zd-font-size-lg:18px;\n --zd-font-size-xl:22px;\n --zd-font-size-xxl:26px;\n --zd-font-size-xxxl:36px;\n --zd-font-size-sm-monospace:11px;\n --zd-font-size-md-monospace:13px;\n --zd-font-size-lg-monospace:17px;\n --zd-font-weight-thin:100;\n --zd-font-weight-extralight:200;\n --zd-font-weight-light:300;\n --zd-font-weight-regular:400;\n --zd-font-weight-medium:500;\n --zd-font-weight-semibold:600;\n --zd-font-weight-bold:700;\n --zd-font-weight-extrabold:800;\n --zd-font-weight-black:900;\n --zd-font-weight-ultralight:200;\n --zd-font-weight-ultrabold:800;\n --zd-font-weight-heavy:900;\n --zd-line-height-sm:16px;\n --zd-line-height-md:20px;\n --zd-line-height-lg:24px;\n --zd-line-height-xl:28px;\n --zd-line-height-xxl:32px;\n --zd-line-height-xxxl:44px;\n --zd-spacing-xxs:4px;\n --zd-spacing-xs:8px;\n --zd-spacing-sm:12px;\n --zd-spacing:20px;\n --zd-spacing-lg:32px;\n --zd-spacing-xl:40px;\n --zd-spacing-xxl:48px;\n --zd-anchor-color:var(--zd-color-blue-600);\n --zd-html-background-color:var(--zd-color-white);\n --zd-html-box-sizing:border-box;\n --zd-html-font-family:var(--zd-font-family-system);\n --zd-html-font-feature-settings:"kern";\n --zd-html-font-kerning:normal;\n --zd-html-font-size:var(--zd-font-size-md);\n --zd-html-line-height:var(--zd-spacing);\n --zd-html-text-color:var(--zd-color-grey-800);\n}\n\nhtml{\n background-color:#fff;\n min-height:100%;\n box-sizing:border-box;\n overflow-y:scroll;\n line-height:20px;\n color:#2f3941;\n font-feature-settings:"kern", normal;\n font-kerning:normal;\n font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,Arial,sans-serif;\n font-size:14px;\n}\n\n*{ font-weight:inherit; }\n\n*,:after,:before{ box-sizing:inherit; }\n\na{\n transition:outline-color .1s ease-in-out,color .25s ease-in-out;\n outline:2px solid transparent;\n outline-offset:1px;\n border-radius:4px;\n color:#1f73b7;\n}\n\na,ins,u{ -webkit-text-decoration:none; text-decoration:none; }\n\na:hover{\n -webkit-text-decoration:underline;\n text-decoration:underline;\n color:#144a75;\n}\n\na:active{\n color:#0f3554;\n}\n\na:focus-visible{\n outline-color:#1f73b7;\n -webkit-text-decoration:none;\n text-decoration:none;\n}\n\na:focus-visible:hover{\n -webkit-text-decoration:underline;\n text-decoration:underline;\n}\n\nb{ font-weight:600; }\n\nbutton{\n cursor:pointer;\n padding:0;\n}\n\nbutton,input,optgroup,select,textarea{\n line-height:inherit;\n font-family:inherit;\n}\n\ncode{ font-size:.95em; }\n\ncode,kbd,pre,samp{ font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace; }\n\nem{ font-style:inherit; }\n\nfieldset,iframe{ border:0; }\n\nh1,h2,h3,h4,h5,h6{ font-size:inherit; }\n\nblockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,ol,p,pre,ul{\n margin:0;\n padding:0;\n}\n\nhr{\n border:none;\n border-top:1px solid;\n}\n\nol,ul{ list-style:none; }\n\nimg{ max-width:100%; }\n\nstrong{ font-weight:inherit; }\n\nsvg{ max-height:100%; }\n\n[tabindex="-1"]:focus{ outline:none !important; }\n\n\n*, ::before, ::after{\n--tw-border-spacing-x:0;\n--tw-border-spacing-y:0;\n--tw-translate-x:0;\n--tw-translate-y:0;\n--tw-rotate:0;\n--tw-skew-x:0;\n--tw-skew-y:0;\n--tw-scale-x:1;\n--tw-scale-y:1;\n--tw-pan-x: ;\n--tw-pan-y: ;\n--tw-pinch-zoom: ;\n--tw-scroll-snap-strictness:proximity;\n--tw-gradient-from-position: ;\n--tw-gradient-via-position: ;\n--tw-gradient-to-position: ;\n--tw-ordinal: ;\n--tw-slashed-zero: ;\n--tw-numeric-figure: ;\n--tw-numeric-spacing: ;\n--tw-numeric-fraction: ;\n--tw-ring-inset: ;\n--tw-ring-offset-width:0px;\n--tw-ring-offset-color:#fff;\n--tw-ring-color:rgb(51 127 189 / 0.5);\n--tw-ring-offset-shadow:0 0 #0000;\n--tw-ring-shadow:0 0 #0000;\n--tw-shadow:0 0 #0000;\n--tw-shadow-colored:0 0 #0000;\n--tw-blur: ;\n--tw-brightness: ;\n--tw-contrast: ;\n--tw-grayscale: ;\n--tw-hue-rotate: ;\n--tw-invert: ;\n--tw-saturate: ;\n--tw-sepia: ;\n--tw-drop-shadow: ;\n--tw-backdrop-blur: ;\n--tw-backdrop-brightness: ;\n--tw-backdrop-contrast: ;\n--tw-backdrop-grayscale: ;\n--tw-backdrop-hue-rotate: ;\n--tw-backdrop-invert: ;\n--tw-backdrop-opacity: ;\n--tw-backdrop-saturate: ;\n--tw-backdrop-sepia: ;\n--tw-contain-size: ;\n--tw-contain-layout: ;\n--tw-contain-paint: ;\n--tw-contain-style: ;\n}\n\n::backdrop{\n--tw-border-spacing-x:0;\n--tw-border-spacing-y:0;\n--tw-translate-x:0;\n--tw-translate-y:0;\n--tw-rotate:0;\n--tw-skew-x:0;\n--tw-skew-y:0;\n--tw-scale-x:1;\n--tw-scale-y:1;\n--tw-pan-x: ;\n--tw-pan-y: ;\n--tw-pinch-zoom: ;\n--tw-scroll-snap-strictness:proximity;\n--tw-gradient-from-position: ;\n--tw-gradient-via-position: ;\n--tw-gradient-to-position: ;\n--tw-ordinal: ;\n--tw-slashed-zero: ;\n--tw-numeric-figure: ;\n--tw-numeric-spacing: ;\n--tw-numeric-fraction: ;\n--tw-ring-inset: ;\n--tw-ring-offset-width:0px;\n--tw-ring-offset-color:#fff;\n--tw-ring-color:rgb(51 127 189 / 0.5);\n--tw-ring-offset-shadow:0 0 #0000;\n--tw-ring-shadow:0 0 #0000;\n--tw-shadow:0 0 #0000;\n--tw-shadow-colored:0 0 #0000;\n--tw-blur: ;\n--tw-brightness: ;\n--tw-contrast: ;\n--tw-grayscale: ;\n--tw-hue-rotate: ;\n--tw-invert: ;\n--tw-saturate: ;\n--tw-sepia: ;\n--tw-drop-shadow: ;\n--tw-backdrop-blur: ;\n--tw-backdrop-brightness: ;\n--tw-backdrop-contrast: ;\n--tw-backdrop-grayscale: ;\n--tw-backdrop-hue-rotate: ;\n--tw-backdrop-invert: ;\n--tw-backdrop-opacity: ;\n--tw-backdrop-saturate: ;\n--tw-backdrop-sepia: ;\n--tw-contain-size: ;\n--tw-contain-layout: ;\n--tw-contain-paint: ;\n--tw-contain-style: ;\n}\n.container{\nwidth:100%;\n}\n@media (min-width: 576px){\n\n.container{\nmax-width:576px;\n}\n}\n@media (min-width: 768px){\n\n.container{\nmax-width:768px;\n}\n}\n@media (min-width: 992px){\n\n.container{\nmax-width:992px;\n}\n}\n@media (min-width: 1200px){\n\n.container{\nmax-width:1200px;\n}\n}\n.sr-only{\nposition:absolute;\nwidth:1px;\nheight:1px;\npadding:0;\nmargin:-1px;\noverflow:hidden;\nclip:rect(0, 0, 0, 0);\nwhite-space:nowrap;\nborder-width:0;\n}\n.visible{\nvisibility:visible;\n}\n.invisible{\nvisibility:hidden;\n}\n.absolute{\nposition:absolute;\n}\n.relative{\nposition:relative;\n}\n.bottom-0{\nbottom:0;\n}\n.left-0{\nleft:0;\n}\n.right-0{\nright:0;\n}\n.right-4{\nright:16px;\n}\n.top-0{\ntop:0;\n}\n.top-4{\ntop:16px;\n}\n.m-1{\nmargin:4px;\n}\n.m-2{\nmargin:8px;\n}\n.m-auto{\nmargin:auto;\n}\n.mx-2{\nmargin-left:8px;\nmargin-right:8px;\n}\n.mx-3{\nmargin-left:12px;\nmargin-right:12px;\n}\n.my-1{\nmargin-top:4px;\nmargin-bottom:4px;\n}\n.my-5{\nmargin-top:20px;\nmargin-bottom:20px;\n}\n.-mt-0{\nmargin-top:0;\n}\n.-mt-12{\nmargin-top:-48px;\n}\n.-mt-16{\nmargin-top:-64px;\n}\n.-mt-4{\nmargin-top:-16px;\n}\n.-mt-40{\nmargin-top:-160px;\n}\n.-mt-48{\nmargin-top:-192px;\n}\n.-mt-8{\nmargin-top:-32px;\n}\n.mb-1{\nmargin-bottom:4px;\n}\n.mb-2{\nmargin-bottom:8px;\n}\n.mb-3{\nmargin-bottom:12px;\n}\n.ml-1{\nmargin-left:4px;\n}\n.mr-1{\nmargin-right:4px;\n}\n.ms-1{\nmargin-inline-start:4px;\n}\n.ms-auto{\nmargin-inline-start:auto;\n}\n.mt-0{\nmargin-top:0;\n}\n.mt-1{\nmargin-top:4px;\n}\n.mt-12{\nmargin-top:48px;\n}\n.mt-16{\nmargin-top:64px;\n}\n.mt-2{\nmargin-top:8px;\n}\n.mt-4{\nmargin-top:16px;\n}\n.mt-40{\nmargin-top:160px;\n}\n.mt-48{\nmargin-top:192px;\n}\n.mt-8{\nmargin-top:32px;\n}\n.block{\ndisplay:block;\n}\n.inline-block{\ndisplay:inline-block;\n}\n.inline{\ndisplay:inline;\n}\n.flex{\ndisplay:flex;\n}\n.inline-flex{\ndisplay:inline-flex;\n}\n.table{\ndisplay:table;\n}\n.grid{\ndisplay:grid;\n}\n.hidden{\ndisplay:none;\n}\n.h-1{\nheight:4px;\n}\n.h-4{\nheight:16px;\n}\n.h-5{\nheight:20px;\n}\n.h-6{\nheight:24px;\n}\n.h-7{\nheight:28px;\n}\n.h-8{\nheight:32px;\n}\n.h-9{\nheight:36px;\n}\n.h-full{\nheight:100%;\n}\n.w-1{\nwidth:4px;\n}\n.w-32{\nwidth:128px;\n}\n.w-4{\nwidth:16px;\n}\n.w-5{\nwidth:20px;\n}\n.w-6{\nwidth:24px;\n}\n.w-7{\nwidth:28px;\n}\n.w-8{\nwidth:32px;\n}\n.w-9{\nwidth:36px;\n}\n.w-full{\nwidth:100%;\n}\n.flex-auto{\nflex:1 1 auto;\n}\n.flex-none{\nflex:none;\n}\n.shrink-0{\nflex-shrink:0;\n}\n.cursor-col-resize{\ncursor:col-resize;\n}\n.cursor-default{\ncursor:default;\n}\n.cursor-pointer{\ncursor:pointer;\n}\n.cursor-row-resize{\ncursor:row-resize;\n}\n.cursor-text{\ncursor:text;\n}\n.select-none{\n-webkit-user-select:none;\n -moz-user-select:none;\n user-select:none;\n}\n.-scroll-mt-0{\nscroll-margin-top:0;\n}\n.-scroll-mt-12{\nscroll-margin-top:-48px;\n}\n.-scroll-mt-16{\nscroll-margin-top:-64px;\n}\n.-scroll-mt-4{\nscroll-margin-top:-16px;\n}\n.-scroll-mt-40{\nscroll-margin-top:-160px;\n}\n.-scroll-mt-48{\nscroll-margin-top:-192px;\n}\n.-scroll-mt-8{\nscroll-margin-top:-32px;\n}\n.scroll-mt-0{\nscroll-margin-top:0;\n}\n.scroll-mt-12{\nscroll-margin-top:48px;\n}\n.scroll-mt-16{\nscroll-margin-top:64px;\n}\n.scroll-mt-4{\nscroll-margin-top:16px;\n}\n.scroll-mt-40{\nscroll-margin-top:160px;\n}\n.scroll-mt-48{\nscroll-margin-top:192px;\n}\n.scroll-mt-8{\nscroll-margin-top:32px;\n}\n.flex-row-reverse{\nflex-direction:row-reverse;\n}\n.flex-col{\nflex-direction:column;\n}\n.items-center{\nalign-items:center;\n}\n.justify-center{\njustify-content:center;\n}\n.overflow-auto{\noverflow:auto;\n}\n.overflow-hidden{\noverflow:hidden;\n}\n.overflow-scroll{\noverflow:scroll;\n}\n.rounded{\nborder-radius:4px;\n}\n.rounded-full{\nborder-radius:9999px;\n}\n.rounded-sm{\nborder-radius:2px;\n}\n.border{\nborder-width:1px;\n}\n.border-0{\nborder-width:0;\n}\n.border-2{\nborder-width:2px;\n}\n.border-3{\nborder-width:3px;\n}\n.border-b{\nborder-bottom-width:1px;\n}\n.border-b-3{\nborder-bottom-width:3px;\n}\n.border-solid{\nborder-style:solid;\n}\n.border-dashed{\nborder-style:dashed;\n}\n.border-none{\nborder-style:none;\n}\n.border-blue-600{\n--tw-border-opacity:1;\nborder-color:rgb(31 115 183 / var(--tw-border-opacity));\n}\n.border-grey-200{\n--tw-border-opacity:1;\nborder-color:rgb(233 235 237 / var(--tw-border-opacity));\n}\n.border-grey-300{\n--tw-border-opacity:1;\nborder-color:rgb(216 220 222 / var(--tw-border-opacity));\n}\n.border-grey-400{\n--tw-border-opacity:1;\nborder-color:rgb(194 200 204 / var(--tw-border-opacity));\n}\n.border-grey-500{\n--tw-border-opacity:1;\nborder-color:rgb(135 146 157 / var(--tw-border-opacity));\n}\n.border-transparent{\nborder-color:transparent;\n}\n.border-b-blue-600{\n--tw-border-opacity:1;\nborder-bottom-color:rgb(31 115 183 / var(--tw-border-opacity));\n}\n.border-b-grey-600{\n--tw-border-opacity:1;\nborder-bottom-color:rgb(104 115 125 / var(--tw-border-opacity));\n}\n.border-l-blue-600{\n--tw-border-opacity:1;\nborder-left-color:rgb(31 115 183 / var(--tw-border-opacity));\n}\n.border-l-grey-600{\n--tw-border-opacity:1;\nborder-left-color:rgb(104 115 125 / var(--tw-border-opacity));\n}\n.border-r-blue-600{\n--tw-border-opacity:1;\nborder-right-color:rgb(31 115 183 / var(--tw-border-opacity));\n}\n.border-r-grey-600{\n--tw-border-opacity:1;\nborder-right-color:rgb(104 115 125 / var(--tw-border-opacity));\n}\n.bg-blue-100{\n--tw-bg-opacity:1;\nbackground-color:rgb(237 247 255 / var(--tw-bg-opacity));\n}\n.bg-blue-300{\n--tw-bg-opacity:1;\nbackground-color:rgb(173 204 228 / var(--tw-bg-opacity));\n}\n.bg-grey-100{\n--tw-bg-opacity:1;\nbackground-color:rgb(248 249 249 / var(--tw-bg-opacity));\n}\n.bg-grey-200{\n--tw-bg-opacity:1;\nbackground-color:rgb(233 235 237 / var(--tw-bg-opacity));\n}\n.bg-grey-600{\n--tw-bg-opacity:1;\nbackground-color:rgb(104 115 125 / var(--tw-bg-opacity));\n}\n.bg-grey-700{\n--tw-bg-opacity:1;\nbackground-color:rgb(73 84 92 / var(--tw-bg-opacity));\n}\n.bg-grey-800{\n--tw-bg-opacity:1;\nbackground-color:rgb(47 57 65 / var(--tw-bg-opacity));\n}\n.bg-transparent{\nbackground-color:transparent;\n}\n.bg-white{\n--tw-bg-opacity:1;\nbackground-color:rgb(255 255 255 / var(--tw-bg-opacity));\n}\n.p-1{\npadding:4px;\n}\n.p-2{\npadding:8px;\n}\n.p-4{\npadding:16px;\n}\n.p-6{\npadding:24px;\n}\n.px-1{\npadding-left:4px;\npadding-right:4px;\n}\n.px-2{\npadding-left:8px;\npadding-right:8px;\n}\n.px-3{\npadding-left:12px;\npadding-right:12px;\n}\n.py-1{\npadding-top:4px;\npadding-bottom:4px;\n}\n.py-2{\npadding-top:8px;\npadding-bottom:8px;\n}\n.pl-2{\npadding-left:8px;\n}\n.pt-1{\npadding-top:4px;\n}\n.text-left{\ntext-align:left;\n}\n.text-center{\ntext-align:center;\n}\n.align-top{\nvertical-align:top;\n}\n.text-lg{\nfont-size:18px;\n}\n.text-sm{\nfont-size:12px;\n}\n.text-grey-400{\n--tw-text-opacity:1;\ncolor:rgb(194 200 204 / var(--tw-text-opacity));\n}\n.text-white{\n--tw-text-opacity:1;\ncolor:rgb(255 255 255 / var(--tw-text-opacity));\n}\n.opacity-50{\nopacity:0.5;\n}\n.outline{\noutline-style:solid;\n}\n.outline-offset-0{\noutline-offset:0px;\n}\n.filter{\nfilter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n.transition-none{\ntransition-property:none;\n}\n',"",{version:3,sources:["webpack://./.storybook/index.css"],names:[],mappings:"AAAA;;;;;EAAc;;AAAd;CAAA,qBAAc;AAAA;;AAAd;CAAA,iGAAc;CAAd,gBAAc;CAAd,6BAAc;CAAd,eAAc;CAAd,aAAc;IAAd,UAAc;AAAA;;AAAd;CAAA,QAAc;AAAA;;AAAd;CAAA,QAAc;CAAd,aAAc;AAAA;;AAAd;CAAA,yBAAc;CAAd,wCAAc;SAAd,gCAAc;AAAA;;AAAd;CAAA,kBAAc;AAAA;;AAAd;CAAA,gFAAc;CAAd,aAAc;AAAA;;AAAd;CAAA,aAAc;AAAA;;AAAd;CAAA,aAAc;CAAd,aAAc;CAAd,iBAAc;CAAd,uBAAc;AAAA;;AAAd;CAAA,aAAc;AAAA;;AAAd;CAAA,SAAc;AAAA;;AAAd;CAAA,aAAc;CAAd,oBAAc;AAAA;;AAAd;CAAA,cAAc;CAAd,gBAAc;CAAd,QAAc;AAAA;;AAAd;CAAA,mBAAc;AAAA;;AAAd;CAAA,yBAAc;AAAA;;AAAd;CAAA,iBAAc;CAAd,SAAc;AAAA;;AAAd;CAAA,6BAAc;AAAA;;AAAd;CAAA,eAAc;AAAA;;AAAd;CAAA,SAAc;AAAA;;AAAd;CAAA,uBAAc;AAAA;;AAAd;CAAA,WAAc;AAAA;;AAAd;CAAA,4BAAc;CAAd,mBAAc;AAAA;;AAAd;CAAA,uBAAc;AAAA;;AAAd;CAAA,yBAAc;CAAd,YAAc;AAAA;;AAAd;CAAA,iBAAc;AAAA;;AAAd;EAAA,qBAAc;EAAd,4BAAc;EAAd,4BAAc;EAAd,4BAAc;EAAd,4BAAc;EAAd,4BAAc;EAAd,4BAAc;EAAd,4BAAc;EAAd,4BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,0BAAc;EAAd,0BAAc;EAAd,0BAAc;EAAd,0BAAc;EAAd,0BAAc;EAAd,0BAAc;EAAd,0BAAc;EAAd,0BAAc;EAAd,6BAAc;EAAd,6BAAc;EAAd,6BAAc;EAAd,6BAAc;EAAd,6BAAc;EAAd,6BAAc;EAAd,6BAAc;EAAd,6BAAc;EAAd,qBAAc;EAAd,sCAAc;EAAd,sCAAc;EAAd,wCAAc;EAAd,wCAAc;EAAd,wCAAc;EAAd,wCAAc;EAAd,sCAAc;EAAd,sCAAc;EAAd,qCAAc;EAAd,qCAAc;EAAd,qCAAc;EAAd,qCAAc;EAAd,uCAAc;EAAd,uCAAc;EAAd,qCAAc;EAAd,qCAAc;EAAd,uCAAc;EAAd,uCAAc;EAAd,sCAAc;EAAd,sCAAc;EAAd,qCAAc;EAAd,qCAAc;EAAd,uCAAc;EAAd,uCAAc;EAAd,yCAAc;EAAd,yCAAc;EAAd,yCAAc;EAAd,yCAAc;EAAd,uCAAc;EAAd,uCAAc;EAAd,sCAAc;EAAd,sCAAc;EAAd,sCAAc;EAAd,sCAAc;EAAd,wCAAc;EAAd,wCAAc;EAAd,sCAAc;EAAd,sCAAc;EAAd,wCAAc;EAAd,wCAAc;EAAd,uCAAc;EAAd,uCAAc;EAAd,sCAAc;EAAd,sCAAc;EAAd,8BAAc;EAAd,8BAAc;EAAd,+BAAc;EAAd,8BAAc;EAAd,6BAAc;EAAd,gCAAc;EAAd,4BAAc;EAAd,gCAAc;EAAd,8BAAc;EAAd,iGAAc;EAAd,6JAAc;EAAd,sBAAc;EAAd,sBAAc;EAAd,sBAAc;EAAd,sBAAc;EAAd,sBAAc;EAAd,uBAAc;EAAd,wBAAc;EAAd,gCAAc;EAAd,gCAAc;EAAd,gCAAc;EAAd,yBAAc;EAAd,+BAAc;EAAd,0BAAc;EAAd,4BAAc;EAAd,2BAAc;EAAd,6BAAc;EAAd,yBAAc;EAAd,8BAAc;EAAd,0BAAc;EAAd,+BAAc;EAAd,8BAAc;EAAd,0BAAc;EAAd,wBAAc;EAAd,wBAAc;EAAd,wBAAc;EAAd,wBAAc;EAAd,yBAAc;EAAd,0BAAc;EAAd,oBAAc;EAAd,mBAAc;EAAd,oBAAc;EAAd,iBAAc;EAAd,oBAAc;EAAd,oBAAc;EAAd,qBAAc;EAAd,0CAAc;EAAd,gDAAc;EAAd,+BAAc;EAAd,kDAAc;EAAd,sCAAc;EAAd,6BAAc;EAAd,0CAAc;EAAd,uCAAc;EAAd,6CAAc;AAAA;;AAAd;EAAA,qBAAc;EAAd,eAAc;EAAd,qBAAc;EAAd,iBAAc;EAAd,gBAAc;EAAd,aAAc;EAAd,oCAAc;EAAd,mBAAc;EAAd,mIAAc;EAAd,cAAc;AAAA;;AAAd,GAAA,mBAAc,EAAA;;AAAd,kBAAA,kBAAc,EAAA;;AAAd;EAAA,+DAAc;EAAd,6BAAc;EAAd,kBAAc;EAAd,iBAAc;EAAd,aAAc;AAAA;;AAAd,SAAA,4BAAc,EAAd,oBAAc,EAAA;;AAAd;EAAA,iCAAc;EAAd,yBAAc;EAAd,aAAc;AAAA;;AAAd;EAAA,aAAc;AAAA;;AAAd;EAAA,qBAAc;EAAd,4BAAc;EAAd,oBAAc;AAAA;;AAAd;EAAA,iCAAc;EAAd,yBAAc;AAAA;;AAAd,GAAA,eAAc,EAAA;;AAAd;EAAA,cAAc;EAAd,SAAc;AAAA;;AAAd;EAAA,mBAAc;EAAd,mBAAc;AAAA;;AAAd,MAAA,eAAc,EAAA;;AAAd,mBAAA,2EAAc,EAAA;;AAAd,IAAA,kBAAc,EAAA;;AAAd,iBAAA,QAAc,EAAA;;AAAd,mBAAA,iBAAc,EAAA;;AAAd;EAAA,QAAc;EAAd,SAAc;AAAA;;AAAd;EAAA,WAAc;EAAd,oBAAc;AAAA;;AAAd,OAAA,eAAc,EAAA;;AAAd,KAAA,cAAc,EAAA;;AAAd,QAAA,mBAAc,EAAA;;AAAd,KAAA,eAAc,EAAA;;AAAd,uBAAA,uBAAc,EAAA;;;AAAd;AAAA,uBAAc;AAAd,uBAAc;AAAd,kBAAc;AAAd,kBAAc;AAAd,aAAc;AAAd,aAAc;AAAd,aAAc;AAAd,cAAc;AAAd,cAAc;AAAd,YAAc;AAAd,YAAc;AAAd,iBAAc;AAAd,qCAAc;AAAd,6BAAc;AAAd,4BAAc;AAAd,2BAAc;AAAd,cAAc;AAAd,mBAAc;AAAd,qBAAc;AAAd,sBAAc;AAAd,uBAAc;AAAd,iBAAc;AAAd,0BAAc;AAAd,2BAAc;AAAd,qCAAc;AAAd,iCAAc;AAAd,0BAAc;AAAd,qBAAc;AAAd,6BAAc;AAAd,WAAc;AAAd,iBAAc;AAAd,eAAc;AAAd,gBAAc;AAAd,iBAAc;AAAd,aAAc;AAAd,eAAc;AAAd,YAAc;AAAd,kBAAc;AAAd,oBAAc;AAAd,0BAAc;AAAd,wBAAc;AAAd,yBAAc;AAAd,0BAAc;AAAd,sBAAc;AAAd,uBAAc;AAAd,wBAAc;AAAd,qBAAc;AAAd,mBAAc;AAAd,qBAAc;AAAd,oBAAc;AAAd;AAAc;;AAAd;AAAA,uBAAc;AAAd,uBAAc;AAAd,kBAAc;AAAd,kBAAc;AAAd,aAAc;AAAd,aAAc;AAAd,aAAc;AAAd,cAAc;AAAd,cAAc;AAAd,YAAc;AAAd,YAAc;AAAd,iBAAc;AAAd,qCAAc;AAAd,6BAAc;AAAd,4BAAc;AAAd,2BAAc;AAAd,cAAc;AAAd,mBAAc;AAAd,qBAAc;AAAd,sBAAc;AAAd,uBAAc;AAAd,iBAAc;AAAd,0BAAc;AAAd,2BAAc;AAAd,qCAAc;AAAd,iCAAc;AAAd,0BAAc;AAAd,qBAAc;AAAd,6BAAc;AAAd,WAAc;AAAd,iBAAc;AAAd,eAAc;AAAd,gBAAc;AAAd,iBAAc;AAAd,aAAc;AAAd,eAAc;AAAd,YAAc;AAAd,kBAAc;AAAd,oBAAc;AAAd,0BAAc;AAAd,wBAAc;AAAd,yBAAc;AAAd,0BAAc;AAAd,sBAAc;AAAd,uBAAc;AAAd,wBAAc;AAAd,qBAAc;AAAd,mBAAc;AAAd,qBAAc;AAAd,oBAAc;AAAd;AAAc;AACd;AAAA;AAAoB;AAApB;;AAAA;AAAA;AAAoB;AAAA;AAApB;;AAAA;AAAA;AAAoB;AAAA;AAApB;;AAAA;AAAA;AAAoB;AAAA;AAApB;;AAAA;AAAA;AAAoB;AAAA;AACpB;AAAA,iBAAmB;AAAnB,SAAmB;AAAnB,UAAmB;AAAnB,SAAmB;AAAnB,WAAmB;AAAnB,eAAmB;AAAnB,qBAAmB;AAAnB,kBAAmB;AAAnB;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA,eAAmB;AAAnB;AAAmB;AAAnB;AAAA,gBAAmB;AAAnB;AAAmB;AAAnB;AAAA,cAAmB;AAAnB;AAAmB;AAAnB;AAAA,eAAmB;AAAnB;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA,wBAAmB;GAAnB,qBAAmB;QAAnB;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA,qBAAmB;AAAnB;AAAmB;AAAnB;AAAA,qBAAmB;AAAnB;AAAmB;AAAnB;AAAA,qBAAmB;AAAnB;AAAmB;AAAnB;AAAA,qBAAmB;AAAnB;AAAmB;AAAnB;AAAA,qBAAmB;AAAnB;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA,qBAAmB;AAAnB;AAAmB;AAAnB;AAAA,qBAAmB;AAAnB;AAAmB;AAAnB;AAAA,qBAAmB;AAAnB;AAAmB;AAAnB;AAAA,qBAAmB;AAAnB;AAAmB;AAAnB;AAAA,qBAAmB;AAAnB;AAAmB;AAAnB;AAAA,qBAAmB;AAAnB;AAAmB;AAAnB;AAAA,iBAAmB;AAAnB;AAAmB;AAAnB;AAAA,iBAAmB;AAAnB;AAAmB;AAAnB;AAAA,iBAAmB;AAAnB;AAAmB;AAAnB;AAAA,iBAAmB;AAAnB;AAAmB;AAAnB;AAAA,iBAAmB;AAAnB;AAAmB;AAAnB;AAAA,iBAAmB;AAAnB;AAAmB;AAAnB;AAAA,iBAAmB;AAAnB;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA,iBAAmB;AAAnB;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA,gBAAmB;AAAnB;AAAmB;AAAnB;AAAA,gBAAmB;AAAnB;AAAmB;AAAnB;AAAA,iBAAmB;AAAnB;AAAmB;AAAnB;AAAA,eAAmB;AAAnB;AAAmB;AAAnB;AAAA,eAAmB;AAAnB;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA,mBAAmB;AAAnB;AAAmB;AAAnB;AAAA,mBAAmB;AAAnB;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB",sourcesContent:["@tailwind base;\n@tailwind components;\n@tailwind utilities;\n"],sourceRoot:""}]);const __WEBPACK_DEFAULT_EXPORT__=___CSS_LOADER_EXPORT___},"./packages lazy recursive ^\\.\\/.*$ include: (?%21.*node_modules)(?:\\/packages\\/(?%21\\.)(?=.)[^/]*?\\/demo(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.(mdx%7Cstories\\.(js%7Cjsx%7Cts%7Ctsx)))$":(module,__unused_webpack_exports,__webpack_require__)=>{var map={"./accordion/demo/accordion.mdx":["./packages/accordion/demo/accordion.mdx",5942,1886],"./accordion/demo/accordion.stories":["./packages/accordion/demo/accordion.stories.tsx",5976],"./accordion/demo/accordion.stories.tsx":["./packages/accordion/demo/accordion.stories.tsx",5976],"./breadcrumb/demo/breadcrumb.mdx":["./packages/breadcrumb/demo/breadcrumb.mdx",5942,6436],"./breadcrumb/demo/breadcrumb.stories":["./packages/breadcrumb/demo/breadcrumb.stories.tsx",3774],"./breadcrumb/demo/breadcrumb.stories.tsx":["./packages/breadcrumb/demo/breadcrumb.stories.tsx",3774],"./combobox/demo/combobox.mdx":["./packages/combobox/demo/combobox.mdx",5942,2521,5615,3856],"./combobox/demo/combobox.stories":["./packages/combobox/demo/combobox.stories.tsx",2521,5615,402],"./combobox/demo/combobox.stories.tsx":["./packages/combobox/demo/combobox.stories.tsx",2521,5615,402],"./combobox/demo/~patterns/patterns.mdx":["./packages/combobox/demo/~patterns/patterns.mdx",5942,2521,5615,3076],"./combobox/demo/~patterns/patterns.stories":["./packages/combobox/demo/~patterns/patterns.stories.tsx",2521,5615,3486],"./combobox/demo/~patterns/patterns.stories.tsx":["./packages/combobox/demo/~patterns/patterns.stories.tsx",2521,5615,3486],"./field/demo/field.mdx":["./packages/field/demo/field.mdx",5942,3966],"./field/demo/field.stories":["./packages/field/demo/field.stories.tsx",4040],"./field/demo/field.stories.tsx":["./packages/field/demo/field.stories.tsx",4040],"./focusjail/demo/focusjail.mdx":["./packages/focusjail/demo/focusjail.mdx",5942,1120,1654],"./focusjail/demo/focusjail.stories":["./packages/focusjail/demo/focusjail.stories.tsx",1120,3984],"./focusjail/demo/focusjail.stories.tsx":["./packages/focusjail/demo/focusjail.stories.tsx",1120,3984],"./focusvisible/demo/focusvisible.mdx":["./packages/focusvisible/demo/focusvisible.mdx",5942,5776],"./focusvisible/demo/focusvisible.stories":["./packages/focusvisible/demo/focusvisible.stories.tsx",4162],"./focusvisible/demo/focusvisible.stories.tsx":["./packages/focusvisible/demo/focusvisible.stories.tsx",4162],"./focusvisible/demo/~patterns/patterns.mdx":["./packages/focusvisible/demo/~patterns/patterns.mdx",5942,6705],"./focusvisible/demo/~patterns/patterns.stories":["./packages/focusvisible/demo/~patterns/patterns.stories.tsx",5043],"./focusvisible/demo/~patterns/patterns.stories.tsx":["./packages/focusvisible/demo/~patterns/patterns.stories.tsx",5043],"./grid/demo/grid.mdx":["./packages/grid/demo/grid.mdx",5942,6684],"./grid/demo/grid.stories":["./packages/grid/demo/grid.stories.tsx",2438],"./grid/demo/grid.stories.tsx":["./packages/grid/demo/grid.stories.tsx",2438],"./menu/demo/menu.mdx":["./packages/menu/demo/menu.mdx",5942,6736,7416],"./menu/demo/menu.stories":["./packages/menu/demo/menu.stories.tsx",6736,1370],"./menu/demo/menu.stories.tsx":["./packages/menu/demo/menu.stories.tsx",6736,1370],"./menu/demo/~patterns/patterns.mdx":["./packages/menu/demo/~patterns/patterns.mdx",5942,6736,7648],"./menu/demo/~patterns/patterns.stories":["./packages/menu/demo/~patterns/patterns.stories.tsx",6736,1410],"./menu/demo/~patterns/patterns.stories.tsx":["./packages/menu/demo/~patterns/patterns.stories.tsx",6736,1410],"./modal/demo/modal.mdx":["./packages/modal/demo/modal.mdx",5942,1120,6608],"./modal/demo/modal.stories":["./packages/modal/demo/modal.stories.tsx",1120,6946],"./modal/demo/modal.stories.tsx":["./packages/modal/demo/modal.stories.tsx",1120,6946],"./schedule/demo/schedule.mdx":["./packages/schedule/demo/schedule.mdx",5942,192],"./schedule/demo/schedule.stories":["./packages/schedule/demo/schedule.stories.tsx",2770],"./schedule/demo/schedule.stories.tsx":["./packages/schedule/demo/schedule.stories.tsx",2770],"./scrollregion/demo/scrollregion.mdx":["./packages/scrollregion/demo/scrollregion.mdx",5942,1240],"./scrollregion/demo/scrollregion.stories":["./packages/scrollregion/demo/scrollregion.stories.tsx",5914],"./scrollregion/demo/scrollregion.stories.tsx":["./packages/scrollregion/demo/scrollregion.stories.tsx",5914],"./selection/demo/selection.mdx":["./packages/selection/demo/selection.mdx",5942,8294],"./selection/demo/selection.stories":["./packages/selection/demo/selection.stories.tsx",7456],"./selection/demo/selection.stories.tsx":["./packages/selection/demo/selection.stories.tsx",7456],"./slider/demo/slider.mdx":["./packages/slider/demo/slider.mdx",5942,2824],"./slider/demo/slider.stories":["./packages/slider/demo/slider.stories.tsx",1674],"./slider/demo/slider.stories.tsx":["./packages/slider/demo/slider.stories.tsx",1674],"./splitter/demo/splitter.mdx":["./packages/splitter/demo/splitter.mdx",5942,6816],"./splitter/demo/splitter.stories":["./packages/splitter/demo/splitter.stories.tsx",8786],"./splitter/demo/splitter.stories.tsx":["./packages/splitter/demo/splitter.stories.tsx",8786],"./tabs/demo/tabs.mdx":["./packages/tabs/demo/tabs.mdx",5942,1612],"./tabs/demo/tabs.stories":["./packages/tabs/demo/tabs.stories.tsx",1094],"./tabs/demo/tabs.stories.tsx":["./packages/tabs/demo/tabs.stories.tsx",1094],"./tooltip/demo/tooltip.mdx":["./packages/tooltip/demo/tooltip.mdx",5942,7588],"./tooltip/demo/tooltip.stories":["./packages/tooltip/demo/tooltip.stories.tsx",6094],"./tooltip/demo/tooltip.stories.tsx":["./packages/tooltip/demo/tooltip.stories.tsx",6094],"./tooltip/demo/~patterns/patterns.mdx":["./packages/tooltip/demo/~patterns/patterns.mdx",5942,986],"./tooltip/demo/~patterns/patterns.stories":["./packages/tooltip/demo/~patterns/patterns.stories.tsx",8796],"./tooltip/demo/~patterns/patterns.stories.tsx":["./packages/tooltip/demo/~patterns/patterns.stories.tsx",8796]};function webpackAsyncContext(req){if(!__webpack_require__.o(map,req))return Promise.resolve().then((()=>{var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}));var ids=map[req],id=ids[0];return Promise.all(ids.slice(1).map(__webpack_require__.e)).then((()=>__webpack_require__(id)))}webpackAsyncContext.keys=()=>Object.keys(map),webpackAsyncContext.id="./packages lazy recursive ^\\.\\/.*$ include: (?%21.*node_modules)(?:\\/packages\\/(?%21\\.)(?=.)[^/]*?\\/demo(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.(mdx%7Cstories\\.(js%7Cjsx%7Cts%7Ctsx)))$",module.exports=webpackAsyncContext},"storybook/internal/channels":module=>{"use strict";module.exports=__STORYBOOK_MODULE_CHANNELS__},"storybook/internal/client-logger":module=>{"use strict";module.exports=__STORYBOOK_MODULE_CLIENT_LOGGER__},"storybook/internal/preview-errors":module=>{"use strict";module.exports=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__},"storybook/internal/core-events":module=>{"use strict";module.exports=__STORYBOOK_MODULE_CORE_EVENTS__},"@storybook/global":module=>{"use strict";module.exports=__STORYBOOK_MODULE_GLOBAL__},"storybook/internal/preview-api":module=>{"use strict";module.exports=__STORYBOOK_MODULE_PREVIEW_API__}},__webpack_require__=>{__webpack_require__.O(0,[8237],(()=>{return moduleId="./storybook-config-entry.js",__webpack_require__(__webpack_require__.s=moduleId);var moduleId}));__webpack_require__.O()}]); \ No newline at end of file +(self.webpackChunk_zendeskgarden_react_containers=self.webpackChunk_zendeskgarden_react_containers||[]).push([[8792],{"./storybook-config-entry.js":(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__)=>{"use strict";var external_STORYBOOK_MODULE_GLOBAL_=__webpack_require__("@storybook/global"),external_STORYBOOK_MODULE_PREVIEW_API_=__webpack_require__("storybook/internal/preview-api"),external_STORYBOOK_MODULE_CHANNELS_=__webpack_require__("storybook/internal/channels");const importers=[async path=>{if(!/^\.[\\/](?:packages\/(?!\.)(?=.)[^/]*?\/demo(?:\/(?!\.)(?:(?:(?!(?:^|\/)\.).)*?)\/|\/|$)(?!\.)(?=.)[^/]*?\.(mdx|stories\.(js|jsx|ts|tsx)))$/.exec(path))return;const pathRemainder=path.substring(11);return __webpack_require__("./packages lazy recursive ^\\.\\/.*$ include: (?%21.*node_modules)(?:\\/packages\\/(?%21\\.)(?=.)[^/]*?\\/demo(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.(mdx%7Cstories\\.(js%7Cjsx%7Cts%7Ctsx)))$")("./"+pathRemainder)}];const channel=(0,external_STORYBOOK_MODULE_CHANNELS_.createBrowserChannel)({page:"preview"});external_STORYBOOK_MODULE_PREVIEW_API_.addons.setChannel(channel),"DEVELOPMENT"===external_STORYBOOK_MODULE_GLOBAL_.global.CONFIG_TYPE&&(window.__STORYBOOK_SERVER_CHANNEL__=channel);const preview=new external_STORYBOOK_MODULE_PREVIEW_API_.PreviewWeb((async function importFn(path){for(let i=0;iimporters[i](path),x());if(moduleExports)return moduleExports}var x}),(()=>(0,external_STORYBOOK_MODULE_PREVIEW_API_.composeConfigs)([__webpack_require__("./node_modules/@storybook/react/dist/entry-preview.mjs"),__webpack_require__("./node_modules/@storybook/react/dist/entry-preview-docs.mjs"),__webpack_require__("./node_modules/@storybook/addon-essentials/dist/docs/preview.mjs"),__webpack_require__("./node_modules/@storybook/addon-essentials/dist/actions/preview.mjs"),__webpack_require__("./node_modules/@storybook/addon-essentials/dist/highlight/preview.mjs"),__webpack_require__("./node_modules/@storybook/addon-styling/dist/preview.mjs"),__webpack_require__("./node_modules/@storybook/addon-a11y/preview.js"),__webpack_require__("./.storybook/preview.js")])));window.__STORYBOOK_PREVIEW__=preview,window.__STORYBOOK_STORY_STORE__=preview.storyStore,window.__STORYBOOK_ADDONS_CHANNEL__=channel},"./.storybook/preview.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{decorators:()=>decorators,globalTypes:()=>globalTypes,parameters:()=>parameters});var react=__webpack_require__("./node_modules/react/index.js"),styled_components_browser_esm=__webpack_require__("./node_modules/styled-components/dist/styled-components.browser.esm.js"),create=__webpack_require__("./node_modules/@storybook/core/dist/theming/create.js"),theme=__webpack_require__("./node_modules/@zendeskgarden/react-theming/dist/esm/elements/theme/index.js"),getColorV8=__webpack_require__("./node_modules/@zendeskgarden/react-theming/dist/esm/utils/getColorV8.js"),injectStylesIntoStyleTag=__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),injectStylesIntoStyleTag_default=__webpack_require__.n(injectStylesIntoStyleTag),styleDomAPI=__webpack_require__("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),styleDomAPI_default=__webpack_require__.n(styleDomAPI),insertBySelector=__webpack_require__("./node_modules/style-loader/dist/runtime/insertBySelector.js"),insertBySelector_default=__webpack_require__.n(insertBySelector),setAttributesWithoutAttributes=__webpack_require__("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),setAttributesWithoutAttributes_default=__webpack_require__.n(setAttributesWithoutAttributes),insertStyleElement=__webpack_require__("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),insertStyleElement_default=__webpack_require__.n(insertStyleElement),styleTagTransform=__webpack_require__("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),styleTagTransform_default=__webpack_require__.n(styleTagTransform),cjs_ruleSet_1_rules_6_use_2_storybook=__webpack_require__("./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[6].use[2]!./.storybook/index.css"),options={};options.styleTagTransform=styleTagTransform_default(),options.setAttributes=setAttributesWithoutAttributes_default(),options.insert=insertBySelector_default().bind(null,"head"),options.domAPI=styleDomAPI_default(),options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(cjs_ruleSet_1_rules_6_use_2_storybook.A,options);cjs_ruleSet_1_rules_6_use_2_storybook.A&&cjs_ruleSet_1_rules_6_use_2_storybook.A.locals&&cjs_ruleSet_1_rules_6_use_2_storybook.A.locals;const parameters={actions:{argTypesRegex:"^on[A-Z].*"},backgrounds:{default:theme.A.colors.base,grid:{disable:!0}},controls:{hideNoControlsWarning:!0,sort:"alpha"},docs:{theme:(0,create.v)({base:theme.A.colors.base})},layout:"centered"},GlobalStyle=(0,styled_components_browser_esm.DU)([":focus-visible{outline-color:",";}"],(p=>(0,getColorV8.A)("primaryHue",600,p.theme))),decorators=[Story=>react.createElement(react.Fragment,null,react.createElement(GlobalStyle,null),react.createElement(Story,null)),(Story,context)=>"enabled"===context.globals.strictMode?react.createElement(react.StrictMode,null,react.createElement(Story,null)):react.createElement(Story,null)],globalTypes={}},"./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[6].use[2]!./.storybook/index.css":(module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__),_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js"),___CSS_LOADER_EXPORT___=__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__)()(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default());___CSS_LOADER_EXPORT___.push([module.id,'*, ::before, ::after{\n--tw-border-spacing-x:0;\n--tw-border-spacing-y:0;\n--tw-translate-x:0;\n--tw-translate-y:0;\n--tw-rotate:0;\n--tw-skew-x:0;\n--tw-skew-y:0;\n--tw-scale-x:1;\n--tw-scale-y:1;\n--tw-pan-x: ;\n--tw-pan-y: ;\n--tw-pinch-zoom: ;\n--tw-scroll-snap-strictness:proximity;\n--tw-gradient-from-position: ;\n--tw-gradient-via-position: ;\n--tw-gradient-to-position: ;\n--tw-ordinal: ;\n--tw-slashed-zero: ;\n--tw-numeric-figure: ;\n--tw-numeric-spacing: ;\n--tw-numeric-fraction: ;\n--tw-ring-inset: ;\n--tw-ring-offset-width:0px;\n--tw-ring-offset-color:#fff;\n--tw-ring-color:rgb(51 127 189 / 0.5);\n--tw-ring-offset-shadow:0 0 #0000;\n--tw-ring-shadow:0 0 #0000;\n--tw-shadow:0 0 #0000;\n--tw-shadow-colored:0 0 #0000;\n--tw-blur: ;\n--tw-brightness: ;\n--tw-contrast: ;\n--tw-grayscale: ;\n--tw-hue-rotate: ;\n--tw-invert: ;\n--tw-saturate: ;\n--tw-sepia: ;\n--tw-drop-shadow: ;\n--tw-backdrop-blur: ;\n--tw-backdrop-brightness: ;\n--tw-backdrop-contrast: ;\n--tw-backdrop-grayscale: ;\n--tw-backdrop-hue-rotate: ;\n--tw-backdrop-invert: ;\n--tw-backdrop-opacity: ;\n--tw-backdrop-saturate: ;\n--tw-backdrop-sepia: ;\n--tw-contain-size: ;\n--tw-contain-layout: ;\n--tw-contain-paint: ;\n--tw-contain-style: ;\n}\n\n::backdrop{\n--tw-border-spacing-x:0;\n--tw-border-spacing-y:0;\n--tw-translate-x:0;\n--tw-translate-y:0;\n--tw-rotate:0;\n--tw-skew-x:0;\n--tw-skew-y:0;\n--tw-scale-x:1;\n--tw-scale-y:1;\n--tw-pan-x: ;\n--tw-pan-y: ;\n--tw-pinch-zoom: ;\n--tw-scroll-snap-strictness:proximity;\n--tw-gradient-from-position: ;\n--tw-gradient-via-position: ;\n--tw-gradient-to-position: ;\n--tw-ordinal: ;\n--tw-slashed-zero: ;\n--tw-numeric-figure: ;\n--tw-numeric-spacing: ;\n--tw-numeric-fraction: ;\n--tw-ring-inset: ;\n--tw-ring-offset-width:0px;\n--tw-ring-offset-color:#fff;\n--tw-ring-color:rgb(51 127 189 / 0.5);\n--tw-ring-offset-shadow:0 0 #0000;\n--tw-ring-shadow:0 0 #0000;\n--tw-shadow:0 0 #0000;\n--tw-shadow-colored:0 0 #0000;\n--tw-blur: ;\n--tw-brightness: ;\n--tw-contrast: ;\n--tw-grayscale: ;\n--tw-hue-rotate: ;\n--tw-invert: ;\n--tw-saturate: ;\n--tw-sepia: ;\n--tw-drop-shadow: ;\n--tw-backdrop-blur: ;\n--tw-backdrop-brightness: ;\n--tw-backdrop-contrast: ;\n--tw-backdrop-grayscale: ;\n--tw-backdrop-hue-rotate: ;\n--tw-backdrop-invert: ;\n--tw-backdrop-opacity: ;\n--tw-backdrop-saturate: ;\n--tw-backdrop-sepia: ;\n--tw-contain-size: ;\n--tw-contain-layout: ;\n--tw-contain-paint: ;\n--tw-contain-style: ;\n}\n\n/*!\n * Copyright Zendesk, Inc.\n *\n * Use of this source code is governed under the Apache License, Version 2.0\n * found at http://www.apache.org/licenses/LICENSE-2.0.\n */\n\n*,:after,:before{\n\tbox-sizing:border-box;\n}\n\nhtml{\n\tfont-family:system-ui,Segoe UI,Roboto,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;\n\tline-height:1.15;\n\t-webkit-text-size-adjust:100%;\n\t-moz-tab-size:4;\n\t-o-tab-size:4;\n\t tab-size:4;\n}\n\nbody{\n\tmargin:0;\n}\n\nhr{\n\theight:0;\n\tcolor:inherit;\n}\n\nabbr[title]{\n\ttext-decoration:underline;\n\t-webkit-text-decoration:underline dotted;\n\t text-decoration:underline dotted;\n}\n\nb,strong{\n\tfont-weight:bolder;\n}\n\ncode,kbd,pre,samp{\n\tfont-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;\n\tfont-size:1em;\n}\n\nsmall{\n\tfont-size:80%;\n}\n\nsub,sup{\n\tfont-size:75%;\n\tline-height:0;\n\tposition:relative;\n\tvertical-align:baseline;\n}\n\nsub{\n\tbottom:-.25em;\n}\n\nsup{\n\ttop:-.5em;\n}\n\ntable{\n\ttext-indent:0;\n\tborder-color:inherit;\n}\n\nbutton,input,optgroup,select,textarea{\n\tfont-size:100%;\n\tline-height:1.15;\n\tmargin:0;\n}\n\nbutton,select{\n\ttext-transform:none;\n}\n\n[type=button],[type=reset],[type=submit],button{\n\t-webkit-appearance:button;\n}\n\n::-moz-focus-inner{\n\tborder-style:none;\n\tpadding:0;\n}\n\n:-moz-focusring{\n\toutline:1px dotted ButtonText;\n}\n\n:-moz-ui-invalid{\n\tbox-shadow:none;\n}\n\nlegend{\n\tpadding:0;\n}\n\nprogress{\n\tvertical-align:baseline;\n}\n\n::-webkit-inner-spin-button,::-webkit-outer-spin-button{\n\theight:auto;\n}\n\n[type=search]{\n\t-webkit-appearance:textfield;\n\toutline-offset:-2px;\n}\n\n::-webkit-search-decoration{\n\t-webkit-appearance:none;\n}\n\n::-webkit-file-upload-button{\n\t-webkit-appearance:button;\n\tfont:inherit;\n}\n\nsummary{\n\tdisplay:list-item;\n}\n\n:root{\n --zd-color-black:#000;\n --zd-color-green-100:#edf8f4;\n --zd-color-green-200:#d1e8df;\n --zd-color-green-300:#aecfc2;\n --zd-color-green-400:#5eae91;\n --zd-color-green-500:#228f67;\n --zd-color-green-600:#038153;\n --zd-color-green-700:#186146;\n --zd-color-green-800:#0b3b29;\n --zd-color-grey-100:#f8f9f9;\n --zd-color-grey-200:#e9ebed;\n --zd-color-grey-300:#d8dcde;\n --zd-color-grey-400:#c2c8cc;\n --zd-color-grey-500:#87929d;\n --zd-color-grey-600:#68737d;\n --zd-color-grey-700:#49545c;\n --zd-color-grey-800:#2f3941;\n --zd-color-blue-100:#edf7ff;\n --zd-color-blue-200:#cee2f2;\n --zd-color-blue-300:#adcce4;\n --zd-color-blue-400:#5293c7;\n --zd-color-blue-500:#337fbd;\n --zd-color-blue-600:#1f73b7;\n --zd-color-blue-700:#144a75;\n --zd-color-blue-800:#0f3554;\n --zd-color-kale-100:#f5fcfc;\n --zd-color-kale-200:#daeded;\n --zd-color-kale-300:#bdd9d7;\n --zd-color-kale-400:#90bbbb;\n --zd-color-kale-500:#467b7c;\n --zd-color-kale-600:#17494d;\n --zd-color-kale-700:#03363d;\n --zd-color-kale-800:#012b30;\n --zd-color-red-100:#fff0f1;\n --zd-color-red-200:#f5d5d8;\n --zd-color-red-300:#f5b5ba;\n --zd-color-red-400:#e35b66;\n --zd-color-red-500:#d93f4c;\n --zd-color-red-600:#cc3340;\n --zd-color-red-700:#8c232c;\n --zd-color-red-800:#681219;\n --zd-color-yellow-100:#fff7ed;\n --zd-color-yellow-200:#ffeedb;\n --zd-color-yellow-300:#fed6a8;\n --zd-color-yellow-400:#ffb057;\n --zd-color-yellow-500:#f79a3e;\n --zd-color-yellow-600:#ed8f1c;\n --zd-color-yellow-700:#ad5918;\n --zd-color-yellow-800:#703815;\n --zd-color-white:#fff;\n --zd-color-secondary-azure-400:#3091ec;\n --zd-color-secondary-azure-600:#1371d6;\n --zd-color-secondary-crimson-400:#e34f32;\n --zd-color-secondary-crimson-600:#c72a1c;\n --zd-color-secondary-fuschia-400:#d653c2;\n --zd-color-secondary-fuschia-600:#a81897;\n --zd-color-secondary-lemon-400:#ffd424;\n --zd-color-secondary-lemon-600:#ffbb10;\n --zd-color-secondary-lime-400:#43b324;\n --zd-color-secondary-lime-600:#2e8200;\n --zd-color-secondary-mint-400:#00a656;\n --zd-color-secondary-mint-600:#058541;\n --zd-color-secondary-orange-400:#de701d;\n --zd-color-secondary-orange-600:#bf5000;\n --zd-color-secondary-pink-400:#ec4d63;\n --zd-color-secondary-pink-600:#d42054;\n --zd-color-secondary-purple-400:#b552e2;\n --zd-color-secondary-purple-600:#6a27b8;\n --zd-color-secondary-royal-400:#5d7df5;\n --zd-color-secondary-royal-600:#3353e2;\n --zd-color-secondary-teal-400:#02a191;\n --zd-color-secondary-teal-600:#028079;\n --zd-color-secondary-azure-M400:#5f8dcf;\n --zd-color-secondary-azure-M600:#3a70b2;\n --zd-color-secondary-crimson-M400:#cc6c5b;\n --zd-color-secondary-crimson-M600:#b24a3c;\n --zd-color-secondary-fuschia-M400:#cf62a8;\n --zd-color-secondary-fuschia-M600:#a8458c;\n --zd-color-secondary-lemon-M400:#e7a500;\n --zd-color-secondary-lemon-M600:#c38f00;\n --zd-color-secondary-lime-M400:#519e2d;\n --zd-color-secondary-lime-M600:#47782c;\n --zd-color-secondary-mint-M400:#299c66;\n --zd-color-secondary-mint-M600:#2e8057;\n --zd-color-secondary-orange-M400:#d4772c;\n --zd-color-secondary-orange-M600:#b35827;\n --zd-color-secondary-pink-M400:#d57287;\n --zd-color-secondary-pink-M600:#b23a5d;\n --zd-color-secondary-purple-M400:#b072cc;\n --zd-color-secondary-purple-M600:#9358b0;\n --zd-color-secondary-royal-M400:#7986d8;\n --zd-color-secondary-royal-M600:#4b61c3;\n --zd-color-secondary-teal-M400:#2d9e8f;\n --zd-color-secondary-teal-M600:#3c7873;\n --zd-color-chat-orange:#f79a3e;\n --zd-color-connect-red:#ff6224;\n --zd-color-explore-blue:#30aabc;\n --zd-color-gather-pink:#f6c8be;\n --zd-color-guide-pink:#ff6224;\n --zd-color-message-green:#37b8af;\n --zd-color-sell-gold:#c38f00;\n --zd-color-support-green:#00a656;\n --zd-color-talk-yellow:#efc93d;\n --zd-font-family-monospace:SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace;\n --zd-font-family-system:system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;\n --zd-font-size-xs:10px;\n --zd-font-size-sm:12px;\n --zd-font-size-md:14px;\n --zd-font-size-lg:18px;\n --zd-font-size-xl:22px;\n --zd-font-size-xxl:26px;\n --zd-font-size-xxxl:36px;\n --zd-font-size-sm-monospace:11px;\n --zd-font-size-md-monospace:13px;\n --zd-font-size-lg-monospace:17px;\n --zd-font-weight-thin:100;\n --zd-font-weight-extralight:200;\n --zd-font-weight-light:300;\n --zd-font-weight-regular:400;\n --zd-font-weight-medium:500;\n --zd-font-weight-semibold:600;\n --zd-font-weight-bold:700;\n --zd-font-weight-extrabold:800;\n --zd-font-weight-black:900;\n --zd-font-weight-ultralight:200;\n --zd-font-weight-ultrabold:800;\n --zd-font-weight-heavy:900;\n --zd-line-height-sm:16px;\n --zd-line-height-md:20px;\n --zd-line-height-lg:24px;\n --zd-line-height-xl:28px;\n --zd-line-height-xxl:32px;\n --zd-line-height-xxxl:44px;\n --zd-spacing-xxs:4px;\n --zd-spacing-xs:8px;\n --zd-spacing-sm:12px;\n --zd-spacing:20px;\n --zd-spacing-lg:32px;\n --zd-spacing-xl:40px;\n --zd-spacing-xxl:48px;\n --zd-anchor-color:var(--zd-color-blue-600);\n --zd-html-background-color:var(--zd-color-white);\n --zd-html-box-sizing:border-box;\n --zd-html-font-family:var(--zd-font-family-system);\n --zd-html-font-feature-settings:"kern";\n --zd-html-font-kerning:normal;\n --zd-html-font-size:var(--zd-font-size-md);\n --zd-html-line-height:var(--zd-spacing);\n --zd-html-text-color:var(--zd-color-grey-800);\n}\n\nhtml{\n background-color:#fff;\n min-height:100%;\n box-sizing:border-box;\n overflow-y:scroll;\n line-height:20px;\n color:#2f3941;\n font-feature-settings:"kern", normal;\n font-kerning:normal;\n font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,Arial,sans-serif;\n font-size:14px;\n}\n\n*{ font-weight:inherit; }\n\n*,:after,:before{ box-sizing:inherit; }\n\na{\n transition:outline-color .1s ease-in-out,color .25s ease-in-out;\n outline:2px solid transparent;\n outline-offset:1px;\n border-radius:4px;\n color:#1f73b7;\n}\n\na,ins,u{ -webkit-text-decoration:none; text-decoration:none; }\n\na:hover{\n -webkit-text-decoration:underline;\n text-decoration:underline;\n color:#144a75;\n}\n\na:active{\n color:#0f3554;\n}\n\na:focus-visible{\n outline-color:#1f73b7;\n -webkit-text-decoration:none;\n text-decoration:none;\n}\n\na:focus-visible:hover{\n -webkit-text-decoration:underline;\n text-decoration:underline;\n}\n\nb{ font-weight:600; }\n\nbutton{\n cursor:pointer;\n padding:0;\n}\n\nbutton,input,optgroup,select,textarea{\n line-height:inherit;\n font-family:inherit;\n}\n\ncode{ font-size:.95em; }\n\ncode,kbd,pre,samp{ font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace; }\n\nem{ font-style:inherit; }\n\nfieldset,iframe{ border:0; }\n\nh1,h2,h3,h4,h5,h6{ font-size:inherit; }\n\nblockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,ol,p,pre,ul{\n margin:0;\n padding:0;\n}\n\nhr{\n border:none;\n border-top:1px solid;\n}\n\nol,ul{ list-style:none; }\n\nimg{ max-width:100%; }\n\nstrong{ font-weight:inherit; }\n\nsvg{ max-height:100%; }\n\n[tabindex="-1"]:focus{ outline:none !important; }\n\n.container{\nwidth:100%;\n}\n@media (min-width: 576px){\n\n.container{\nmax-width:576px;\n}\n}\n@media (min-width: 768px){\n\n.container{\nmax-width:768px;\n}\n}\n@media (min-width: 992px){\n\n.container{\nmax-width:992px;\n}\n}\n@media (min-width: 1200px){\n\n.container{\nmax-width:1200px;\n}\n}\n.sr-only{\nposition:absolute;\nwidth:1px;\nheight:1px;\npadding:0;\nmargin:-1px;\noverflow:hidden;\nclip:rect(0, 0, 0, 0);\nwhite-space:nowrap;\nborder-width:0;\n}\n.visible{\nvisibility:visible;\n}\n.invisible{\nvisibility:hidden;\n}\n.absolute{\nposition:absolute;\n}\n.relative{\nposition:relative;\n}\n.bottom-0{\nbottom:0;\n}\n.left-0{\nleft:0;\n}\n.right-0{\nright:0;\n}\n.right-4{\nright:16px;\n}\n.top-0{\ntop:0;\n}\n.top-4{\ntop:16px;\n}\n.m-1{\nmargin:4px;\n}\n.m-2{\nmargin:8px;\n}\n.m-auto{\nmargin:auto;\n}\n.mx-2{\nmargin-left:8px;\nmargin-right:8px;\n}\n.mx-3{\nmargin-left:12px;\nmargin-right:12px;\n}\n.my-1{\nmargin-top:4px;\nmargin-bottom:4px;\n}\n.my-5{\nmargin-top:20px;\nmargin-bottom:20px;\n}\n.-mt-0{\nmargin-top:0;\n}\n.-mt-12{\nmargin-top:-48px;\n}\n.-mt-16{\nmargin-top:-64px;\n}\n.-mt-4{\nmargin-top:-16px;\n}\n.-mt-40{\nmargin-top:-160px;\n}\n.-mt-48{\nmargin-top:-192px;\n}\n.-mt-8{\nmargin-top:-32px;\n}\n.mb-1{\nmargin-bottom:4px;\n}\n.mb-2{\nmargin-bottom:8px;\n}\n.mb-3{\nmargin-bottom:12px;\n}\n.ml-1{\nmargin-left:4px;\n}\n.mr-1{\nmargin-right:4px;\n}\n.ms-1{\nmargin-inline-start:4px;\n}\n.ms-auto{\nmargin-inline-start:auto;\n}\n.mt-0{\nmargin-top:0;\n}\n.mt-1{\nmargin-top:4px;\n}\n.mt-12{\nmargin-top:48px;\n}\n.mt-16{\nmargin-top:64px;\n}\n.mt-2{\nmargin-top:8px;\n}\n.mt-4{\nmargin-top:16px;\n}\n.mt-40{\nmargin-top:160px;\n}\n.mt-48{\nmargin-top:192px;\n}\n.mt-8{\nmargin-top:32px;\n}\n.block{\ndisplay:block;\n}\n.inline-block{\ndisplay:inline-block;\n}\n.inline{\ndisplay:inline;\n}\n.flex{\ndisplay:flex;\n}\n.inline-flex{\ndisplay:inline-flex;\n}\n.table{\ndisplay:table;\n}\n.grid{\ndisplay:grid;\n}\n.hidden{\ndisplay:none;\n}\n.h-1{\nheight:4px;\n}\n.h-4{\nheight:16px;\n}\n.h-5{\nheight:20px;\n}\n.h-6{\nheight:24px;\n}\n.h-7{\nheight:28px;\n}\n.h-8{\nheight:32px;\n}\n.h-9{\nheight:36px;\n}\n.h-full{\nheight:100%;\n}\n.w-1{\nwidth:4px;\n}\n.w-32{\nwidth:128px;\n}\n.w-4{\nwidth:16px;\n}\n.w-5{\nwidth:20px;\n}\n.w-6{\nwidth:24px;\n}\n.w-7{\nwidth:28px;\n}\n.w-8{\nwidth:32px;\n}\n.w-9{\nwidth:36px;\n}\n.w-full{\nwidth:100%;\n}\n.flex-auto{\nflex:1 1 auto;\n}\n.flex-none{\nflex:none;\n}\n.shrink-0{\nflex-shrink:0;\n}\n.cursor-col-resize{\ncursor:col-resize;\n}\n.cursor-default{\ncursor:default;\n}\n.cursor-pointer{\ncursor:pointer;\n}\n.cursor-row-resize{\ncursor:row-resize;\n}\n.cursor-text{\ncursor:text;\n}\n.select-none{\n-webkit-user-select:none;\n -moz-user-select:none;\n user-select:none;\n}\n.-scroll-mt-0{\nscroll-margin-top:0;\n}\n.-scroll-mt-12{\nscroll-margin-top:-48px;\n}\n.-scroll-mt-16{\nscroll-margin-top:-64px;\n}\n.-scroll-mt-4{\nscroll-margin-top:-16px;\n}\n.-scroll-mt-40{\nscroll-margin-top:-160px;\n}\n.-scroll-mt-48{\nscroll-margin-top:-192px;\n}\n.-scroll-mt-8{\nscroll-margin-top:-32px;\n}\n.scroll-mt-0{\nscroll-margin-top:0;\n}\n.scroll-mt-12{\nscroll-margin-top:48px;\n}\n.scroll-mt-16{\nscroll-margin-top:64px;\n}\n.scroll-mt-4{\nscroll-margin-top:16px;\n}\n.scroll-mt-40{\nscroll-margin-top:160px;\n}\n.scroll-mt-48{\nscroll-margin-top:192px;\n}\n.scroll-mt-8{\nscroll-margin-top:32px;\n}\n.flex-row-reverse{\nflex-direction:row-reverse;\n}\n.flex-col{\nflex-direction:column;\n}\n.items-center{\nalign-items:center;\n}\n.justify-center{\njustify-content:center;\n}\n.overflow-auto{\noverflow:auto;\n}\n.overflow-hidden{\noverflow:hidden;\n}\n.overflow-scroll{\noverflow:scroll;\n}\n.rounded{\nborder-radius:4px;\n}\n.rounded-full{\nborder-radius:9999px;\n}\n.rounded-sm{\nborder-radius:2px;\n}\n.border{\nborder-width:1px;\n}\n.border-0{\nborder-width:0;\n}\n.border-2{\nborder-width:2px;\n}\n.border-3{\nborder-width:3px;\n}\n.border-b{\nborder-bottom-width:1px;\n}\n.border-b-3{\nborder-bottom-width:3px;\n}\n.border-solid{\nborder-style:solid;\n}\n.border-dashed{\nborder-style:dashed;\n}\n.border-none{\nborder-style:none;\n}\n.border-blue-600{\n--tw-border-opacity:1;\nborder-color:rgb(31 115 183 / var(--tw-border-opacity));\n}\n.border-grey-200{\n--tw-border-opacity:1;\nborder-color:rgb(233 235 237 / var(--tw-border-opacity));\n}\n.border-grey-300{\n--tw-border-opacity:1;\nborder-color:rgb(216 220 222 / var(--tw-border-opacity));\n}\n.border-grey-400{\n--tw-border-opacity:1;\nborder-color:rgb(194 200 204 / var(--tw-border-opacity));\n}\n.border-grey-500{\n--tw-border-opacity:1;\nborder-color:rgb(135 146 157 / var(--tw-border-opacity));\n}\n.border-transparent{\nborder-color:transparent;\n}\n.border-b-blue-600{\n--tw-border-opacity:1;\nborder-bottom-color:rgb(31 115 183 / var(--tw-border-opacity));\n}\n.border-b-grey-600{\n--tw-border-opacity:1;\nborder-bottom-color:rgb(104 115 125 / var(--tw-border-opacity));\n}\n.border-l-blue-600{\n--tw-border-opacity:1;\nborder-left-color:rgb(31 115 183 / var(--tw-border-opacity));\n}\n.border-l-grey-600{\n--tw-border-opacity:1;\nborder-left-color:rgb(104 115 125 / var(--tw-border-opacity));\n}\n.border-r-blue-600{\n--tw-border-opacity:1;\nborder-right-color:rgb(31 115 183 / var(--tw-border-opacity));\n}\n.border-r-grey-600{\n--tw-border-opacity:1;\nborder-right-color:rgb(104 115 125 / var(--tw-border-opacity));\n}\n.bg-blue-100{\n--tw-bg-opacity:1;\nbackground-color:rgb(237 247 255 / var(--tw-bg-opacity));\n}\n.bg-blue-300{\n--tw-bg-opacity:1;\nbackground-color:rgb(173 204 228 / var(--tw-bg-opacity));\n}\n.bg-grey-100{\n--tw-bg-opacity:1;\nbackground-color:rgb(248 249 249 / var(--tw-bg-opacity));\n}\n.bg-grey-200{\n--tw-bg-opacity:1;\nbackground-color:rgb(233 235 237 / var(--tw-bg-opacity));\n}\n.bg-grey-600{\n--tw-bg-opacity:1;\nbackground-color:rgb(104 115 125 / var(--tw-bg-opacity));\n}\n.bg-grey-700{\n--tw-bg-opacity:1;\nbackground-color:rgb(73 84 92 / var(--tw-bg-opacity));\n}\n.bg-grey-800{\n--tw-bg-opacity:1;\nbackground-color:rgb(47 57 65 / var(--tw-bg-opacity));\n}\n.bg-transparent{\nbackground-color:transparent;\n}\n.bg-white{\n--tw-bg-opacity:1;\nbackground-color:rgb(255 255 255 / var(--tw-bg-opacity));\n}\n.p-1{\npadding:4px;\n}\n.p-2{\npadding:8px;\n}\n.p-4{\npadding:16px;\n}\n.p-6{\npadding:24px;\n}\n.px-1{\npadding-left:4px;\npadding-right:4px;\n}\n.px-2{\npadding-left:8px;\npadding-right:8px;\n}\n.px-3{\npadding-left:12px;\npadding-right:12px;\n}\n.py-1{\npadding-top:4px;\npadding-bottom:4px;\n}\n.py-2{\npadding-top:8px;\npadding-bottom:8px;\n}\n.pl-2{\npadding-left:8px;\n}\n.pt-1{\npadding-top:4px;\n}\n.text-left{\ntext-align:left;\n}\n.text-center{\ntext-align:center;\n}\n.align-top{\nvertical-align:top;\n}\n.text-lg{\nfont-size:18px;\n}\n.text-sm{\nfont-size:12px;\n}\n.text-grey-400{\n--tw-text-opacity:1;\ncolor:rgb(194 200 204 / var(--tw-text-opacity));\n}\n.text-white{\n--tw-text-opacity:1;\ncolor:rgb(255 255 255 / var(--tw-text-opacity));\n}\n.opacity-50{\nopacity:0.5;\n}\n.outline{\noutline-style:solid;\n}\n.outline-offset-0{\noutline-offset:0px;\n}\n.filter{\nfilter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n.transition-none{\ntransition-property:none;\n}\n',"",{version:3,sources:["webpack://./.storybook/index.css"],names:[],mappings:"AAAA;AAAA,uBAAc;AAAd,uBAAc;AAAd,kBAAc;AAAd,kBAAc;AAAd,aAAc;AAAd,aAAc;AAAd,aAAc;AAAd,cAAc;AAAd,cAAc;AAAd,YAAc;AAAd,YAAc;AAAd,iBAAc;AAAd,qCAAc;AAAd,6BAAc;AAAd,4BAAc;AAAd,2BAAc;AAAd,cAAc;AAAd,mBAAc;AAAd,qBAAc;AAAd,sBAAc;AAAd,uBAAc;AAAd,iBAAc;AAAd,0BAAc;AAAd,2BAAc;AAAd,qCAAc;AAAd,iCAAc;AAAd,0BAAc;AAAd,qBAAc;AAAd,6BAAc;AAAd,WAAc;AAAd,iBAAc;AAAd,eAAc;AAAd,gBAAc;AAAd,iBAAc;AAAd,aAAc;AAAd,eAAc;AAAd,YAAc;AAAd,kBAAc;AAAd,oBAAc;AAAd,0BAAc;AAAd,wBAAc;AAAd,yBAAc;AAAd,0BAAc;AAAd,sBAAc;AAAd,uBAAc;AAAd,wBAAc;AAAd,qBAAc;AAAd,mBAAc;AAAd,qBAAc;AAAd,oBAAc;AAAd;AAAc;;AAAd;AAAA,uBAAc;AAAd,uBAAc;AAAd,kBAAc;AAAd,kBAAc;AAAd,aAAc;AAAd,aAAc;AAAd,aAAc;AAAd,cAAc;AAAd,cAAc;AAAd,YAAc;AAAd,YAAc;AAAd,iBAAc;AAAd,qCAAc;AAAd,6BAAc;AAAd,4BAAc;AAAd,2BAAc;AAAd,cAAc;AAAd,mBAAc;AAAd,qBAAc;AAAd,sBAAc;AAAd,uBAAc;AAAd,iBAAc;AAAd,0BAAc;AAAd,2BAAc;AAAd,qCAAc;AAAd,iCAAc;AAAd,0BAAc;AAAd,qBAAc;AAAd,6BAAc;AAAd,WAAc;AAAd,iBAAc;AAAd,eAAc;AAAd,gBAAc;AAAd,iBAAc;AAAd,aAAc;AAAd,eAAc;AAAd,YAAc;AAAd,kBAAc;AAAd,oBAAc;AAAd,0BAAc;AAAd,wBAAc;AAAd,yBAAc;AAAd,0BAAc;AAAd,sBAAc;AAAd,uBAAc;AAAd,wBAAc;AAAd,qBAAc;AAAd,mBAAc;AAAd,qBAAc;AAAd,oBAAc;AAAd;AAAc;;AAAd;;;;;EAAc;;AAAd;CAAA,qBAAc;AAAA;;AAAd;CAAA,iGAAc;CAAd,gBAAc;CAAd,6BAAc;CAAd,eAAc;CAAd,aAAc;IAAd,UAAc;AAAA;;AAAd;CAAA,QAAc;AAAA;;AAAd;CAAA,QAAc;CAAd,aAAc;AAAA;;AAAd;CAAA,yBAAc;CAAd,wCAAc;SAAd,gCAAc;AAAA;;AAAd;CAAA,kBAAc;AAAA;;AAAd;CAAA,gFAAc;CAAd,aAAc;AAAA;;AAAd;CAAA,aAAc;AAAA;;AAAd;CAAA,aAAc;CAAd,aAAc;CAAd,iBAAc;CAAd,uBAAc;AAAA;;AAAd;CAAA,aAAc;AAAA;;AAAd;CAAA,SAAc;AAAA;;AAAd;CAAA,aAAc;CAAd,oBAAc;AAAA;;AAAd;CAAA,cAAc;CAAd,gBAAc;CAAd,QAAc;AAAA;;AAAd;CAAA,mBAAc;AAAA;;AAAd;CAAA,yBAAc;AAAA;;AAAd;CAAA,iBAAc;CAAd,SAAc;AAAA;;AAAd;CAAA,6BAAc;AAAA;;AAAd;CAAA,eAAc;AAAA;;AAAd;CAAA,SAAc;AAAA;;AAAd;CAAA,uBAAc;AAAA;;AAAd;CAAA,WAAc;AAAA;;AAAd;CAAA,4BAAc;CAAd,mBAAc;AAAA;;AAAd;CAAA,uBAAc;AAAA;;AAAd;CAAA,yBAAc;CAAd,YAAc;AAAA;;AAAd;CAAA,iBAAc;AAAA;;AAAd;EAAA,qBAAc;EAAd,4BAAc;EAAd,4BAAc;EAAd,4BAAc;EAAd,4BAAc;EAAd,4BAAc;EAAd,4BAAc;EAAd,4BAAc;EAAd,4BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,2BAAc;EAAd,0BAAc;EAAd,0BAAc;EAAd,0BAAc;EAAd,0BAAc;EAAd,0BAAc;EAAd,0BAAc;EAAd,0BAAc;EAAd,0BAAc;EAAd,6BAAc;EAAd,6BAAc;EAAd,6BAAc;EAAd,6BAAc;EAAd,6BAAc;EAAd,6BAAc;EAAd,6BAAc;EAAd,6BAAc;EAAd,qBAAc;EAAd,sCAAc;EAAd,sCAAc;EAAd,wCAAc;EAAd,wCAAc;EAAd,wCAAc;EAAd,wCAAc;EAAd,sCAAc;EAAd,sCAAc;EAAd,qCAAc;EAAd,qCAAc;EAAd,qCAAc;EAAd,qCAAc;EAAd,uCAAc;EAAd,uCAAc;EAAd,qCAAc;EAAd,qCAAc;EAAd,uCAAc;EAAd,uCAAc;EAAd,sCAAc;EAAd,sCAAc;EAAd,qCAAc;EAAd,qCAAc;EAAd,uCAAc;EAAd,uCAAc;EAAd,yCAAc;EAAd,yCAAc;EAAd,yCAAc;EAAd,yCAAc;EAAd,uCAAc;EAAd,uCAAc;EAAd,sCAAc;EAAd,sCAAc;EAAd,sCAAc;EAAd,sCAAc;EAAd,wCAAc;EAAd,wCAAc;EAAd,sCAAc;EAAd,sCAAc;EAAd,wCAAc;EAAd,wCAAc;EAAd,uCAAc;EAAd,uCAAc;EAAd,sCAAc;EAAd,sCAAc;EAAd,8BAAc;EAAd,8BAAc;EAAd,+BAAc;EAAd,8BAAc;EAAd,6BAAc;EAAd,gCAAc;EAAd,4BAAc;EAAd,gCAAc;EAAd,8BAAc;EAAd,iGAAc;EAAd,6JAAc;EAAd,sBAAc;EAAd,sBAAc;EAAd,sBAAc;EAAd,sBAAc;EAAd,sBAAc;EAAd,uBAAc;EAAd,wBAAc;EAAd,gCAAc;EAAd,gCAAc;EAAd,gCAAc;EAAd,yBAAc;EAAd,+BAAc;EAAd,0BAAc;EAAd,4BAAc;EAAd,2BAAc;EAAd,6BAAc;EAAd,yBAAc;EAAd,8BAAc;EAAd,0BAAc;EAAd,+BAAc;EAAd,8BAAc;EAAd,0BAAc;EAAd,wBAAc;EAAd,wBAAc;EAAd,wBAAc;EAAd,wBAAc;EAAd,yBAAc;EAAd,0BAAc;EAAd,oBAAc;EAAd,mBAAc;EAAd,oBAAc;EAAd,iBAAc;EAAd,oBAAc;EAAd,oBAAc;EAAd,qBAAc;EAAd,0CAAc;EAAd,gDAAc;EAAd,+BAAc;EAAd,kDAAc;EAAd,sCAAc;EAAd,6BAAc;EAAd,0CAAc;EAAd,uCAAc;EAAd,6CAAc;AAAA;;AAAd;EAAA,qBAAc;EAAd,eAAc;EAAd,qBAAc;EAAd,iBAAc;EAAd,gBAAc;EAAd,aAAc;EAAd,oCAAc;EAAd,mBAAc;EAAd,mIAAc;EAAd,cAAc;AAAA;;AAAd,GAAA,mBAAc,EAAA;;AAAd,kBAAA,kBAAc,EAAA;;AAAd;EAAA,+DAAc;EAAd,6BAAc;EAAd,kBAAc;EAAd,iBAAc;EAAd,aAAc;AAAA;;AAAd,SAAA,4BAAc,EAAd,oBAAc,EAAA;;AAAd;EAAA,iCAAc;EAAd,yBAAc;EAAd,aAAc;AAAA;;AAAd;EAAA,aAAc;AAAA;;AAAd;EAAA,qBAAc;EAAd,4BAAc;EAAd,oBAAc;AAAA;;AAAd;EAAA,iCAAc;EAAd,yBAAc;AAAA;;AAAd,GAAA,eAAc,EAAA;;AAAd;EAAA,cAAc;EAAd,SAAc;AAAA;;AAAd;EAAA,mBAAc;EAAd,mBAAc;AAAA;;AAAd,MAAA,eAAc,EAAA;;AAAd,mBAAA,2EAAc,EAAA;;AAAd,IAAA,kBAAc,EAAA;;AAAd,iBAAA,QAAc,EAAA;;AAAd,mBAAA,iBAAc,EAAA;;AAAd;EAAA,QAAc;EAAd,SAAc;AAAA;;AAAd;EAAA,WAAc;EAAd,oBAAc;AAAA;;AAAd,OAAA,eAAc,EAAA;;AAAd,KAAA,cAAc,EAAA;;AAAd,QAAA,mBAAc,EAAA;;AAAd,KAAA,eAAc,EAAA;;AAAd,uBAAA,uBAAc,EAAA;;AACd;AAAA;AAAoB;AAApB;;AAAA;AAAA;AAAoB;AAAA;AAApB;;AAAA;AAAA;AAAoB;AAAA;AAApB;;AAAA;AAAA;AAAoB;AAAA;AAApB;;AAAA;AAAA;AAAoB;AAAA;AACpB;AAAA,iBAAmB;AAAnB,SAAmB;AAAnB,UAAmB;AAAnB,SAAmB;AAAnB,WAAmB;AAAnB,eAAmB;AAAnB,qBAAmB;AAAnB,kBAAmB;AAAnB;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA,eAAmB;AAAnB;AAAmB;AAAnB;AAAA,gBAAmB;AAAnB;AAAmB;AAAnB;AAAA,cAAmB;AAAnB;AAAmB;AAAnB;AAAA,eAAmB;AAAnB;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA,wBAAmB;GAAnB,qBAAmB;QAAnB;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA,qBAAmB;AAAnB;AAAmB;AAAnB;AAAA,qBAAmB;AAAnB;AAAmB;AAAnB;AAAA,qBAAmB;AAAnB;AAAmB;AAAnB;AAAA,qBAAmB;AAAnB;AAAmB;AAAnB;AAAA,qBAAmB;AAAnB;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA,qBAAmB;AAAnB;AAAmB;AAAnB;AAAA,qBAAmB;AAAnB;AAAmB;AAAnB;AAAA,qBAAmB;AAAnB;AAAmB;AAAnB;AAAA,qBAAmB;AAAnB;AAAmB;AAAnB;AAAA,qBAAmB;AAAnB;AAAmB;AAAnB;AAAA,qBAAmB;AAAnB;AAAmB;AAAnB;AAAA,iBAAmB;AAAnB;AAAmB;AAAnB;AAAA,iBAAmB;AAAnB;AAAmB;AAAnB;AAAA,iBAAmB;AAAnB;AAAmB;AAAnB;AAAA,iBAAmB;AAAnB;AAAmB;AAAnB;AAAA,iBAAmB;AAAnB;AAAmB;AAAnB;AAAA,iBAAmB;AAAnB;AAAmB;AAAnB;AAAA,iBAAmB;AAAnB;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA,iBAAmB;AAAnB;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA,gBAAmB;AAAnB;AAAmB;AAAnB;AAAA,gBAAmB;AAAnB;AAAmB;AAAnB;AAAA,iBAAmB;AAAnB;AAAmB;AAAnB;AAAA,eAAmB;AAAnB;AAAmB;AAAnB;AAAA,eAAmB;AAAnB;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA,mBAAmB;AAAnB;AAAmB;AAAnB;AAAA,mBAAmB;AAAnB;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB;AAAnB;AAAA;AAAmB",sourcesContent:["@tailwind base;\n@tailwind components;\n@tailwind utilities;\n"],sourceRoot:""}]);const __WEBPACK_DEFAULT_EXPORT__=___CSS_LOADER_EXPORT___},"./packages lazy recursive ^\\.\\/.*$ include: (?%21.*node_modules)(?:\\/packages\\/(?%21\\.)(?=.)[^/]*?\\/demo(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.(mdx%7Cstories\\.(js%7Cjsx%7Cts%7Ctsx)))$":(module,__unused_webpack_exports,__webpack_require__)=>{var map={"./accordion/demo/accordion.mdx":["./packages/accordion/demo/accordion.mdx",5942,1886],"./accordion/demo/accordion.stories":["./packages/accordion/demo/accordion.stories.tsx",5976],"./accordion/demo/accordion.stories.tsx":["./packages/accordion/demo/accordion.stories.tsx",5976],"./breadcrumb/demo/breadcrumb.mdx":["./packages/breadcrumb/demo/breadcrumb.mdx",5942,6436],"./breadcrumb/demo/breadcrumb.stories":["./packages/breadcrumb/demo/breadcrumb.stories.tsx",3774],"./breadcrumb/demo/breadcrumb.stories.tsx":["./packages/breadcrumb/demo/breadcrumb.stories.tsx",3774],"./combobox/demo/combobox.mdx":["./packages/combobox/demo/combobox.mdx",5942,2521,5615,3856],"./combobox/demo/combobox.stories":["./packages/combobox/demo/combobox.stories.tsx",2521,5615,402],"./combobox/demo/combobox.stories.tsx":["./packages/combobox/demo/combobox.stories.tsx",2521,5615,402],"./combobox/demo/~patterns/patterns.mdx":["./packages/combobox/demo/~patterns/patterns.mdx",5942,2521,5615,3076],"./combobox/demo/~patterns/patterns.stories":["./packages/combobox/demo/~patterns/patterns.stories.tsx",2521,5615,3486],"./combobox/demo/~patterns/patterns.stories.tsx":["./packages/combobox/demo/~patterns/patterns.stories.tsx",2521,5615,3486],"./field/demo/field.mdx":["./packages/field/demo/field.mdx",5942,3966],"./field/demo/field.stories":["./packages/field/demo/field.stories.tsx",4040],"./field/demo/field.stories.tsx":["./packages/field/demo/field.stories.tsx",4040],"./focusjail/demo/focusjail.mdx":["./packages/focusjail/demo/focusjail.mdx",5942,1120,1654],"./focusjail/demo/focusjail.stories":["./packages/focusjail/demo/focusjail.stories.tsx",1120,3984],"./focusjail/demo/focusjail.stories.tsx":["./packages/focusjail/demo/focusjail.stories.tsx",1120,3984],"./focusvisible/demo/focusvisible.mdx":["./packages/focusvisible/demo/focusvisible.mdx",5942,5776],"./focusvisible/demo/focusvisible.stories":["./packages/focusvisible/demo/focusvisible.stories.tsx",4162],"./focusvisible/demo/focusvisible.stories.tsx":["./packages/focusvisible/demo/focusvisible.stories.tsx",4162],"./focusvisible/demo/~patterns/patterns.mdx":["./packages/focusvisible/demo/~patterns/patterns.mdx",5942,6705],"./focusvisible/demo/~patterns/patterns.stories":["./packages/focusvisible/demo/~patterns/patterns.stories.tsx",5043],"./focusvisible/demo/~patterns/patterns.stories.tsx":["./packages/focusvisible/demo/~patterns/patterns.stories.tsx",5043],"./grid/demo/grid.mdx":["./packages/grid/demo/grid.mdx",5942,6684],"./grid/demo/grid.stories":["./packages/grid/demo/grid.stories.tsx",2438],"./grid/demo/grid.stories.tsx":["./packages/grid/demo/grid.stories.tsx",2438],"./menu/demo/menu.mdx":["./packages/menu/demo/menu.mdx",5942,6736,7416],"./menu/demo/menu.stories":["./packages/menu/demo/menu.stories.tsx",6736,1370],"./menu/demo/menu.stories.tsx":["./packages/menu/demo/menu.stories.tsx",6736,1370],"./menu/demo/~patterns/patterns.mdx":["./packages/menu/demo/~patterns/patterns.mdx",5942,6736,7648],"./menu/demo/~patterns/patterns.stories":["./packages/menu/demo/~patterns/patterns.stories.tsx",6736,1410],"./menu/demo/~patterns/patterns.stories.tsx":["./packages/menu/demo/~patterns/patterns.stories.tsx",6736,1410],"./modal/demo/modal.mdx":["./packages/modal/demo/modal.mdx",5942,1120,6608],"./modal/demo/modal.stories":["./packages/modal/demo/modal.stories.tsx",1120,6946],"./modal/demo/modal.stories.tsx":["./packages/modal/demo/modal.stories.tsx",1120,6946],"./schedule/demo/schedule.mdx":["./packages/schedule/demo/schedule.mdx",5942,192],"./schedule/demo/schedule.stories":["./packages/schedule/demo/schedule.stories.tsx",2770],"./schedule/demo/schedule.stories.tsx":["./packages/schedule/demo/schedule.stories.tsx",2770],"./scrollregion/demo/scrollregion.mdx":["./packages/scrollregion/demo/scrollregion.mdx",5942,1240],"./scrollregion/demo/scrollregion.stories":["./packages/scrollregion/demo/scrollregion.stories.tsx",5914],"./scrollregion/demo/scrollregion.stories.tsx":["./packages/scrollregion/demo/scrollregion.stories.tsx",5914],"./selection/demo/selection.mdx":["./packages/selection/demo/selection.mdx",5942,8294],"./selection/demo/selection.stories":["./packages/selection/demo/selection.stories.tsx",7456],"./selection/demo/selection.stories.tsx":["./packages/selection/demo/selection.stories.tsx",7456],"./slider/demo/slider.mdx":["./packages/slider/demo/slider.mdx",5942,2824],"./slider/demo/slider.stories":["./packages/slider/demo/slider.stories.tsx",1674],"./slider/demo/slider.stories.tsx":["./packages/slider/demo/slider.stories.tsx",1674],"./splitter/demo/splitter.mdx":["./packages/splitter/demo/splitter.mdx",5942,6816],"./splitter/demo/splitter.stories":["./packages/splitter/demo/splitter.stories.tsx",8786],"./splitter/demo/splitter.stories.tsx":["./packages/splitter/demo/splitter.stories.tsx",8786],"./tabs/demo/tabs.mdx":["./packages/tabs/demo/tabs.mdx",5942,1612],"./tabs/demo/tabs.stories":["./packages/tabs/demo/tabs.stories.tsx",1094],"./tabs/demo/tabs.stories.tsx":["./packages/tabs/demo/tabs.stories.tsx",1094],"./tooltip/demo/tooltip.mdx":["./packages/tooltip/demo/tooltip.mdx",5942,7588],"./tooltip/demo/tooltip.stories":["./packages/tooltip/demo/tooltip.stories.tsx",6094],"./tooltip/demo/tooltip.stories.tsx":["./packages/tooltip/demo/tooltip.stories.tsx",6094],"./tooltip/demo/~patterns/patterns.mdx":["./packages/tooltip/demo/~patterns/patterns.mdx",5942,986],"./tooltip/demo/~patterns/patterns.stories":["./packages/tooltip/demo/~patterns/patterns.stories.tsx",8796],"./tooltip/demo/~patterns/patterns.stories.tsx":["./packages/tooltip/demo/~patterns/patterns.stories.tsx",8796]};function webpackAsyncContext(req){if(!__webpack_require__.o(map,req))return Promise.resolve().then((()=>{var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}));var ids=map[req],id=ids[0];return Promise.all(ids.slice(1).map(__webpack_require__.e)).then((()=>__webpack_require__(id)))}webpackAsyncContext.keys=()=>Object.keys(map),webpackAsyncContext.id="./packages lazy recursive ^\\.\\/.*$ include: (?%21.*node_modules)(?:\\/packages\\/(?%21\\.)(?=.)[^/]*?\\/demo(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.(mdx%7Cstories\\.(js%7Cjsx%7Cts%7Ctsx)))$",module.exports=webpackAsyncContext},"storybook/internal/channels":module=>{"use strict";module.exports=__STORYBOOK_MODULE_CHANNELS__},"storybook/internal/client-logger":module=>{"use strict";module.exports=__STORYBOOK_MODULE_CLIENT_LOGGER__},"storybook/internal/preview-errors":module=>{"use strict";module.exports=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__},"storybook/internal/core-events":module=>{"use strict";module.exports=__STORYBOOK_MODULE_CORE_EVENTS__},"@storybook/global":module=>{"use strict";module.exports=__STORYBOOK_MODULE_GLOBAL__},"storybook/internal/preview-api":module=>{"use strict";module.exports=__STORYBOOK_MODULE_PREVIEW_API__}},__webpack_require__=>{__webpack_require__.O(0,[8237],(()=>{return moduleId="./storybook-config-entry.js",__webpack_require__(__webpack_require__.s=moduleId);var moduleId}));__webpack_require__.O()}]); \ No newline at end of file diff --git a/menu-demo-menu-mdx.88db11c7.iframe.bundle.js b/menu-demo-menu-mdx.12252684.iframe.bundle.js similarity index 95% rename from menu-demo-menu-mdx.88db11c7.iframe.bundle.js rename to menu-demo-menu-mdx.12252684.iframe.bundle.js index e6d892023..fb9a56e38 100644 --- a/menu-demo-menu-mdx.88db11c7.iframe.bundle.js +++ b/menu-demo-menu-mdx.12252684.iframe.bundle.js @@ -1,2 +1 @@ -/*! For license information please see menu-demo-menu-mdx.88db11c7.iframe.bundle.js.LICENSE.txt */ -(self.webpackChunk_zendeskgarden_react_containers=self.webpackChunk_zendeskgarden_react_containers||[]).push([[7416,1370],{"./node_modules/@mdx-js/react/lib/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{R:()=>useMDXComponents,x:()=>MDXProvider});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");const emptyComponents={},MDXContext=react__WEBPACK_IMPORTED_MODULE_0__.createContext(emptyComponents);function useMDXComponents(components){const contextComponents=react__WEBPACK_IMPORTED_MODULE_0__.useContext(MDXContext);return react__WEBPACK_IMPORTED_MODULE_0__.useMemo((function(){return"function"==typeof components?components(contextComponents):{...contextComponents,...components}}),[contextComponents,components])}function MDXProvider(properties){let allComponents;return allComponents=properties.disableParentContext?"function"==typeof properties.components?properties.components(emptyComponents):properties.components||emptyComponents:useMDXComponents(properties.components),react__WEBPACK_IMPORTED_MODULE_0__.createElement(MDXContext.Provider,{value:allComponents},properties.children)}},"./packages/menu/demo/menu.mdx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>MDXContent});__webpack_require__("./node_modules/react/index.js");var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js"),lib=__webpack_require__("./node_modules/@mdx-js/react/lib/index.js"),dist=__webpack_require__("./node_modules/@storybook/blocks/dist/index.mjs");const README_namespaceObject="# @zendeskgarden/container-menu [![npm version][npm version badge]][npm version link]\n\n[npm version badge]: https://flat.badgen.net/npm/v/@zendeskgarden/container-menu\n[npm version link]: https://www.npmjs.com/package/@zendeskgarden/container-menu\n\nThis package includes containers relating to Menu in the\n[Garden Design System](https://zendeskgarden.github.io/).\n\n## Installation\n\n```sh\nnpm install @zendeskgarden/container-menu\n```\n\n## Usage\n\nCheck out [storybook](https://zendeskgarden.github.io/react-containers) for live examples.\n\n### useMenu\n\n```jsx\nimport { useMenu } from '@zendeskgarden/container-menu';\n\nconst Menu = () => {\n const triggerRef = useRef();\n const menuRef = useRef();\n const items = [\n { value: 'value-1', label: 'One' },\n { value: 'value-2', label: 'Two' },\n { value: 'value-3', label: 'Three' }\n ];\n const { isExpanded, getTriggerProps, getMenuProps, getItemProps, getSeparatorProps } = useMenu({\n triggerRef,\n menuRef,\n items\n });\n\n return (\n <>\n \n
    \n {items.map(item => (\n
  • \n {item.label}\n
  • \n ))}\n
\n \n );\n};\n```\n\n### MenuContainer\n\n```jsx\nimport { MenuContainer } from '@zendeskgarden/container-menu';\n\nconst Menu = () => {\n const triggerRef = useRef();\n const menuRef = useRef();\n const items = [\n { value: 'value-1', label: 'One' },\n { value: 'value-2', label: 'Two' },\n { value: 'value-3', label: 'Three', href: '#0' },\n { value: 'value-4', label: 'Four' }\n ];\n\n return (\n \n {({ isExpanded, getTriggerProps, getMenuProps, getItemProps, getSeparatorProps }) => (\n <>\n \n
    \n {items.map(item =>\n item.href ? (\n
  • \n {item.label}\n
  • \n ) : (\n
  • \n {item.label}\n
  • \n )\n )}\n
\n \n )}\n
\n );\n};\n```\n";var menu_stories=__webpack_require__("./packages/menu/demo/menu.stories.tsx");function _createMdxContent(props){const _components={h1:"h1",...(0,lib.R)(),...props.components};return(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsx)(dist.W8,{of:menu_stories}),"\n",(0,jsx_runtime.jsx)(_components.h1,{id:"api",children:"API"}),"\n",(0,jsx_runtime.jsx)(dist.H2,{}),"\n",(0,jsx_runtime.jsx)(_components.h1,{id:"uncontrolled",children:"Uncontrolled"}),"\n",(0,jsx_runtime.jsx)(dist.Hl,{children:(0,jsx_runtime.jsx)(dist.gG,{of:menu_stories.Uncontrolled})}),"\n",(0,jsx_runtime.jsx)(_components.h1,{id:"controlled",children:"Controlled"}),"\n",(0,jsx_runtime.jsx)(dist.Hl,{children:(0,jsx_runtime.jsx)(dist.gG,{of:menu_stories.Controlled})}),"\n",(0,jsx_runtime.jsx)(dist.oz,{children:README_namespaceObject})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={...(0,lib.R)(),...props.components};return MDXLayout?(0,jsx_runtime.jsx)(MDXLayout,{...props,children:(0,jsx_runtime.jsx)(_createMdxContent,{...props})}):_createMdxContent(props)}},"./node_modules/@storybook/core/dist/components sync recursive":module=>{function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="./node_modules/@storybook/core/dist/components sync recursive",module.exports=webpackEmptyContext},"./node_modules/@storybook/core/dist/theming sync recursive":module=>{function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="./node_modules/@storybook/core/dist/theming sync recursive",module.exports=webpackEmptyContext},"./packages/menu/demo/menu.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Controlled:()=>Controlled,Uncontrolled:()=>Uncontrolled,__namedExportsOrder:()=>__namedExportsOrder,default:()=>menu_stories});var esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),react=__webpack_require__("./node_modules/react/index.js"),external_STORYBOOK_MODULE_PREVIEW_API_=__webpack_require__("storybook/internal/preview-api"),prop_types=__webpack_require__("./node_modules/prop-types/index.js"),prop_types_default=__webpack_require__.n(prop_types),useMenu=__webpack_require__("./packages/menu/src/useMenu.ts");const MenuContainer=props=>{const{children,render=children,...options}=props;return react.createElement(react.Fragment,null,render((0,useMenu.b)(options)))};MenuContainer.propTypes={children:prop_types_default().func,render:prop_types_default().func,items:prop_types_default().arrayOf(prop_types_default().any).isRequired,triggerRef:prop_types_default().any.isRequired,menuRef:prop_types_default().any.isRequired,idPrefix:prop_types_default().string,environment:prop_types_default().any,onChange:prop_types_default().func,isExpanded:prop_types_default().bool,defaultExpanded:prop_types_default().bool,selectedItems:prop_types_default().arrayOf(prop_types_default().any),focusedValue:prop_types_default().oneOfType([prop_types_default().string]),defaultFocusedValue:prop_types_default().oneOfType([prop_types_default().string])},MenuContainer.__docgenInfo={description:"",methods:[],displayName:"MenuContainer",props:{items:{required:!0,tsType:{name:"Array",elements:[{name:"union",raw:"IMenuItemBase | IMenuItemSeparator | IMenuItemGroup",elements:[{name:"IMenuItemBase"},{name:"IMenuItemSeparator"},{name:"IMenuItemGroup"}]}],raw:"MenuItem[]"},description:"Provides an ordered list of menu items\n\n@param {string} item.value Unique item value\n@param {string} item.label Optional human-readable text value (defaults to `item.value`)\n@param {string} item.name A shared name corresponding to an item radio group\n@param {boolean} item.disabled Indicates the item is not interactive\n@param {boolean} item.selected Sets initial selection for the option\n@param {boolean} item.isNext - Indicates the item transitions to a nested menu\n@param {boolean} item.isPrevious - Indicates the item will transition back from a nested menu\n@param {boolean} item.separator Indicates the item is a placeholder for a separator\n@param {(IMenuItemBase | IMenuItemSeparator)[]} item.items Groups a list of items",type:{name:"arrayOf",value:{name:"any"}}},triggerRef:{required:!0,tsType:{name:"RefObject",elements:[{name:"T"}],raw:"RefObject"},description:"Provides ref access to the underlying trigger element",type:{name:"any"}},menuRef:{required:!0,tsType:{name:"RefObject",elements:[{name:"M"}],raw:"RefObject"},description:"Provides ref access to the underlying menu element",type:{name:"any"}},rtl:{required:!1,tsType:{name:"boolean"},description:"Determines right-to-left layout"},idPrefix:{required:!1,tsType:{name:"string"},description:"Prefixes IDs for the menu",type:{name:"string"}},isExpanded:{required:!1,tsType:{name:"boolean"},description:"Sets the expansion in a controlled menu",type:{name:"bool"}},defaultExpanded:{required:!1,tsType:{name:"boolean"},description:"Determines menu expansion on menu initialization",type:{name:"bool"}},focusedValue:{required:!1,tsType:{name:"union",raw:"string | null",elements:[{name:"string"},{name:"null"}]},description:"Sets the focused value in a controlled menu",type:{name:"union",value:[{name:"string"}]}},defaultFocusedValue:{required:!1,tsType:{name:"string"},description:"Determines focused value on menu initialization",type:{name:"union",value:[{name:"string"}]}},selectedItems:{required:!1,tsType:{name:"Array",elements:[{name:"ISelectedItem"}],raw:"ISelectedItem[]"},description:"Sets the selected values in a controlled menu",type:{name:"arrayOf",value:{name:"any"}}},onChange:{required:!1,tsType:{name:"signature",type:"function",raw:"(changes: {\n type: string;\n value?: string;\n isExpanded?: boolean;\n focusedValue?: string | null;\n selectedItems?: ISelectedItem[];\n}) => void",signature:{arguments:[{type:{name:"signature",type:"object",raw:"{\n type: string;\n value?: string;\n isExpanded?: boolean;\n focusedValue?: string | null;\n selectedItems?: ISelectedItem[];\n}",signature:{properties:[{key:"type",value:{name:"string",required:!0}},{key:"value",value:{name:"string",required:!1}},{key:"isExpanded",value:{name:"boolean",required:!1}},{key:"focusedValue",value:{name:"union",raw:"string | null",elements:[{name:"string"},{name:"null"}],required:!1}},{key:"selectedItems",value:{name:"Array",elements:[{name:"ISelectedItem"}],raw:"ISelectedItem[]",required:!1}}]}},name:"changes"}],return:{name:"void"}}},description:"Handles menu state changes\n\n@param {string} changes.type The event type that triggered the change\n@param {string} [changes.value] The item value\n@param {boolean} [changes.isExpanded] The updated menu expansion\n@param {string | null} [changes.focusedValue] The updated focused value\n@param {ISelectedItem[]} [changes.selectedItems] The updated selected items",type:{name:"func"}},environment:{required:!1,tsType:{name:"Window"},description:"Sets the environment where the menu is rendered",type:{name:"any"}},render:{required:!1,tsType:{name:"signature",type:"function",raw:"(options: {\n /* prop getters */\n getTriggerProps: IUseMenuReturnValue['getTriggerProps'];\n getMenuProps: IUseMenuReturnValue['getMenuProps'];\n getItemProps: IUseMenuReturnValue['getItemProps'];\n getSeparatorProps: IUseMenuReturnValue['getSeparatorProps'];\n /* state */\n isExpanded: IUseMenuReturnValue['isExpanded'];\n selection: IUseMenuReturnValue['selection'];\n focusedValue?: IUseMenuReturnValue['focusedValue'];\n}) => ReactNode",signature:{arguments:[{type:{name:"signature",type:"object",raw:"{\n /* prop getters */\n getTriggerProps: IUseMenuReturnValue['getTriggerProps'];\n getMenuProps: IUseMenuReturnValue['getMenuProps'];\n getItemProps: IUseMenuReturnValue['getItemProps'];\n getSeparatorProps: IUseMenuReturnValue['getSeparatorProps'];\n /* state */\n isExpanded: IUseMenuReturnValue['isExpanded'];\n selection: IUseMenuReturnValue['selection'];\n focusedValue?: IUseMenuReturnValue['focusedValue'];\n}",signature:{properties:[{key:"getTriggerProps",value:{name:"IUseMenuReturnValue['getTriggerProps']",raw:"IUseMenuReturnValue['getTriggerProps']",required:!0}},{key:"getMenuProps",value:{name:"IUseMenuReturnValue['getMenuProps']",raw:"IUseMenuReturnValue['getMenuProps']",required:!0}},{key:"getItemProps",value:{name:"IUseMenuReturnValue['getItemProps']",raw:"IUseMenuReturnValue['getItemProps']",required:!0}},{key:"getSeparatorProps",value:{name:"IUseMenuReturnValue['getSeparatorProps']",raw:"IUseMenuReturnValue['getSeparatorProps']",required:!0}},{key:"isExpanded",value:{name:"IUseMenuReturnValue['isExpanded']",raw:"IUseMenuReturnValue['isExpanded']",required:!0}},{key:"selection",value:{name:"IUseMenuReturnValue['selection']",raw:"IUseMenuReturnValue['selection']",required:!0}},{key:"focusedValue",value:{name:"IUseMenuReturnValue['focusedValue']",raw:"IUseMenuReturnValue['focusedValue']",required:!1}}]}},name:"options"}],return:{name:"ReactNode"}}},description:"Provides menu render prop functions\n\n@param {function} [options.getTriggerProps] Trigger props getter\n@param {function} [options.getMenuProps] Menu props getter\n@param {function} [options.getItemProps] Menu item props getter\n@param {function} [options.getSeparatorProps] Separator item props getter\n@param {boolean} [options.isExpanded] Current menu expansion\n@param {ISelectedItem[]} [options.selection] Current selection\n@param {string | null} [options.focusedValue] Current focused value",type:{name:"func"}},children:{required:!1,tsType:{name:"signature",type:"function",raw:"(options: IUseMenuReturnValue) => ReactNode",signature:{arguments:[{type:{name:"IUseMenuReturnValue"},name:"options"}],return:{name:"ReactNode"}}},description:"@ignore",type:{name:"func"}}}};__webpack_require__("./node_modules/@storybook/react/dist/index.mjs");var classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames);const Item=_ref=>{let{item,getItemProps,focusedValue,isSelected}=_ref;const itemProps=getItemProps({item}),itemChildren=react.createElement(react.Fragment,null,react.createElement("span",{className:"inline-flex justify-center items-center w-4"},"radio"===item?.type&&!!isSelected&&"•","checkbox"===item?.type&&!!isSelected&&"✓"),item.label||item.value);return react.createElement("li",(0,esm_extends.A)({className:classnames_default()("flex",{"bg-blue-100":!item.disabled&&focusedValue===item.value,"text-grey-400":item.disabled,"cursor-pointer":!item.disabled,"cursor-default":item.disabled}),role:itemProps.href?"none":void 0},!itemProps.href&&itemProps),itemProps.href?react.createElement("a",(0,esm_extends.A)({},itemProps,{className:"w-full rounded-sm outline-offset-0 transition-none border-width-none"}),itemChildren,!!item.isExternal&&react.createElement(react.Fragment,null,react.createElement("span",{"aria-hidden":"true"}," ↗"),react.createElement("span",{className:"sr-only"},"(opens in new window)"))):itemChildren)},Component=_ref2=>{let{items,selection,focusedValue,isExpanded,getTriggerProps,getMenuProps,getItemProps,getItemGroupProps,getSeparatorProps}=_ref2;const selectedValues=selection.map((item=>item.value));return react.createElement("div",{className:"relative"},react.createElement("button",(0,esm_extends.A)({className:"px-2 py-1",type:"button"},getTriggerProps()),"Produce"),react.createElement("ul",(0,esm_extends.A)({className:classnames_default()("border border-grey-400 border-solid w-32 absolute",{invisible:!isExpanded})},getMenuProps()),items.map((item=>"items"in item?react.createElement("li",{key:item.label,role:"none"},react.createElement("b",{"aria-hidden":"true",className:"block mt-1 ms-1"},item.label),react.createElement("hr",(0,esm_extends.A)({"aria-hidden":"true",className:"my-1 border-grey-200"},getSeparatorProps())),react.createElement("ul",getItemGroupProps({"aria-label":item.label}),item.items.map((groupItem=>react.createElement(Item,{key:groupItem.value,item:{...groupItem},getItemProps,focusedValue,isSelected:selectedValues.includes(groupItem.value)}))))):"separator"in item?react.createElement("li",(0,esm_extends.A)({key:item.value,className:"my-1 border-0 border-b border-solid border-grey-200"},getSeparatorProps())):react.createElement(Item,{key:item.value,item,focusedValue,getItemProps})))))};Component.displayName="Component";const Container=props=>react.createElement(MenuContainer,props,(containerProps=>react.createElement(Component,(0,esm_extends.A)({},props,containerProps)))),Hook=props=>{const hookProps=(0,useMenu.b)(props);return react.createElement(Component,(0,esm_extends.A)({},props,hookProps))},MenuStory=_ref3=>{let{as,...props}=_ref3;const triggerRef=(0,react.useRef)(null),menuRef=(0,react.useRef)(null);return"container"===as?react.createElement(Container,(0,esm_extends.A)({},props,{triggerRef,menuRef})):react.createElement(Hook,(0,esm_extends.A)({},props,{triggerRef,menuRef}))};MenuStory.__docgenInfo={description:"",methods:[],displayName:"MenuStory"};const menu_stories={title:"Packages/Menu",component:MenuContainer,args:{as:"hook",items:[{value:"plant-01",label:"Petunia"},{value:"plant-02",label:"Hydrangea"},{value:"separator-01",separator:!0},{value:"plant-03",label:"Violet"},{value:"plant-04",label:"Aloe Vera",href:"https://en.wikipedia.org/wiki/Aloe_vera",isExternal:!1},{value:"plant-05",label:"Succulent"},{label:"Choose favorites",items:[{value:"fruit-01",label:"Apple",type:"checkbox"},{value:"fruit-02",label:"Banana",disabled:!0,type:"checkbox"},{value:"Cherry",type:"checkbox"},{value:"fruit-04",label:"Kiwi",type:"checkbox"}]},{label:"Select one",items:[{value:"vegetable-01",label:"Asparagus",type:"radio",name:"veggies"},{value:"vegetable-02",label:"Broccoli",disabled:!0,type:"radio",name:"veggies"},{value:"vegetable-03",label:"Brussel sprouts",type:"radio",name:"veggies"},{value:"vegetable-04",label:"Kale",type:"radio",name:"veggies"}]}]},argTypes:{as:{options:["container","hook"],control:"radio",table:{category:"Story"}},menuRef:{control:!1},triggerRef:{control:!1}}},Uncontrolled={render:args=>react.createElement(MenuStory,args),name:"Uncontrolled",argTypes:{isExpanded:{control:!1},focusedValue:{control:!1},selectedItems:{control:!1}}},Controlled={render:function Render(args){const updateArgs=(0,external_STORYBOOK_MODULE_PREVIEW_API_.useArgs)()[1];return react.createElement(MenuStory,(0,esm_extends.A)({},args,{onChange:({type,...rest})=>{updateArgs(rest)}}))},name:"Controlled",argTypes:{defaultFocusedValue:{control:!1},defaultExpanded:{control:!1},focusedValue:{control:{type:"text"}}},args:{isExpanded:!1,focusedValue:"plant-01",selectedItems:[{value:"Cherry",type:"checkbox"}]}},__namedExportsOrder=["Uncontrolled","Controlled"];Uncontrolled.parameters={...Uncontrolled.parameters,docs:{...Uncontrolled.parameters?.docs,source:{originalSource:"{\n render: args => ,\n name: 'Uncontrolled',\n argTypes: {\n isExpanded: {\n control: false\n },\n focusedValue: {\n control: false\n },\n selectedItems: {\n control: false\n }\n }\n}",...Uncontrolled.parameters?.docs?.source}}},Controlled.parameters={...Controlled.parameters,docs:{...Controlled.parameters?.docs,source:{originalSource:"{\n render: function Render(args) {\n const updateArgs = useArgs()[1];\n return {\n updateArgs(rest);\n }} />;\n },\n name: 'Controlled',\n argTypes: {\n defaultFocusedValue: {\n control: false\n },\n defaultExpanded: {\n control: false\n },\n focusedValue: {\n control: {\n type: 'text'\n }\n }\n },\n args: {\n isExpanded: false,\n focusedValue: 'plant-01',\n selectedItems: [{\n value: 'Cherry',\n type: 'checkbox'\n }]\n }\n}",...Controlled.parameters?.docs?.source}}}},"./node_modules/memoizerific sync recursive":module=>{function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="./node_modules/memoizerific sync recursive",module.exports=webpackEmptyContext},"./node_modules/react/cjs/react-jsx-runtime.production.min.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var f=__webpack_require__("./node_modules/react/index.js"),k=Symbol.for("react.element"),l=Symbol.for("react.fragment"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};function q(c,a,g){var b,d={},e=null,h=null;for(b in void 0!==g&&(e=""+g),void 0!==a.key&&(e=""+a.key),void 0!==a.ref&&(h=a.ref),a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l,exports.jsx=q,exports.jsxs=q},"./node_modules/react/jsx-runtime.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=__webpack_require__("./node_modules/react/cjs/react-jsx-runtime.production.min.js")}}]); \ No newline at end of file +(self.webpackChunk_zendeskgarden_react_containers=self.webpackChunk_zendeskgarden_react_containers||[]).push([[7416,1370],{"./node_modules/@mdx-js/react/lib/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{R:()=>useMDXComponents,x:()=>MDXProvider});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");const emptyComponents={},MDXContext=react__WEBPACK_IMPORTED_MODULE_0__.createContext(emptyComponents);function useMDXComponents(components){const contextComponents=react__WEBPACK_IMPORTED_MODULE_0__.useContext(MDXContext);return react__WEBPACK_IMPORTED_MODULE_0__.useMemo((function(){return"function"==typeof components?components(contextComponents):{...contextComponents,...components}}),[contextComponents,components])}function MDXProvider(properties){let allComponents;return allComponents=properties.disableParentContext?"function"==typeof properties.components?properties.components(emptyComponents):properties.components||emptyComponents:useMDXComponents(properties.components),react__WEBPACK_IMPORTED_MODULE_0__.createElement(MDXContext.Provider,{value:allComponents},properties.children)}},"./packages/menu/demo/menu.mdx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>MDXContent});__webpack_require__("./node_modules/react/index.js");var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js"),lib=__webpack_require__("./node_modules/@mdx-js/react/lib/index.js"),dist=__webpack_require__("./node_modules/@storybook/blocks/dist/index.mjs");const README_namespaceObject="# @zendeskgarden/container-menu [![npm version][npm version badge]][npm version link]\n\n[npm version badge]: https://flat.badgen.net/npm/v/@zendeskgarden/container-menu\n[npm version link]: https://www.npmjs.com/package/@zendeskgarden/container-menu\n\nThis package includes containers relating to Menu in the\n[Garden Design System](https://zendeskgarden.github.io/).\n\n## Installation\n\n```sh\nnpm install @zendeskgarden/container-menu\n```\n\n## Usage\n\nCheck out [storybook](https://zendeskgarden.github.io/react-containers) for live examples.\n\n### useMenu\n\n```jsx\nimport { useMenu } from '@zendeskgarden/container-menu';\n\nconst Menu = () => {\n const triggerRef = useRef();\n const menuRef = useRef();\n const items = [\n { value: 'value-1', label: 'One' },\n { value: 'value-2', label: 'Two' },\n { value: 'value-3', label: 'Three' }\n ];\n const { isExpanded, getTriggerProps, getMenuProps, getItemProps, getSeparatorProps } = useMenu({\n triggerRef,\n menuRef,\n items\n });\n\n return (\n <>\n \n
    \n {items.map(item => (\n
  • \n {item.label}\n
  • \n ))}\n
\n \n );\n};\n```\n\n### MenuContainer\n\n```jsx\nimport { MenuContainer } from '@zendeskgarden/container-menu';\n\nconst Menu = () => {\n const triggerRef = useRef();\n const menuRef = useRef();\n const items = [\n { value: 'value-1', label: 'One' },\n { value: 'value-2', label: 'Two' },\n { value: 'value-3', label: 'Three', href: '#0' },\n { value: 'value-4', label: 'Four' }\n ];\n\n return (\n \n {({ isExpanded, getTriggerProps, getMenuProps, getItemProps, getSeparatorProps }) => (\n <>\n \n
    \n {items.map(item =>\n item.href ? (\n
  • \n {item.label}\n
  • \n ) : (\n
  • \n {item.label}\n
  • \n )\n )}\n
\n \n )}\n
\n );\n};\n```\n";var menu_stories=__webpack_require__("./packages/menu/demo/menu.stories.tsx");function _createMdxContent(props){const _components={h1:"h1",...(0,lib.R)(),...props.components};return(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsx)(dist.W8,{of:menu_stories}),"\n",(0,jsx_runtime.jsx)(_components.h1,{id:"api",children:"API"}),"\n",(0,jsx_runtime.jsx)(dist.H2,{}),"\n",(0,jsx_runtime.jsx)(_components.h1,{id:"uncontrolled",children:"Uncontrolled"}),"\n",(0,jsx_runtime.jsx)(dist.Hl,{children:(0,jsx_runtime.jsx)(dist.gG,{of:menu_stories.Uncontrolled})}),"\n",(0,jsx_runtime.jsx)(_components.h1,{id:"controlled",children:"Controlled"}),"\n",(0,jsx_runtime.jsx)(dist.Hl,{children:(0,jsx_runtime.jsx)(dist.gG,{of:menu_stories.Controlled})}),"\n",(0,jsx_runtime.jsx)(dist.oz,{children:README_namespaceObject})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={...(0,lib.R)(),...props.components};return MDXLayout?(0,jsx_runtime.jsx)(MDXLayout,{...props,children:(0,jsx_runtime.jsx)(_createMdxContent,{...props})}):_createMdxContent(props)}},"./node_modules/@storybook/core/dist/components sync recursive":module=>{function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="./node_modules/@storybook/core/dist/components sync recursive",module.exports=webpackEmptyContext},"./node_modules/@storybook/core/dist/theming sync recursive":module=>{function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="./node_modules/@storybook/core/dist/theming sync recursive",module.exports=webpackEmptyContext},"./packages/menu/demo/menu.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Controlled:()=>Controlled,Uncontrolled:()=>Uncontrolled,__namedExportsOrder:()=>__namedExportsOrder,default:()=>menu_stories});var esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),react=__webpack_require__("./node_modules/react/index.js"),external_STORYBOOK_MODULE_PREVIEW_API_=__webpack_require__("storybook/internal/preview-api"),prop_types=__webpack_require__("./node_modules/prop-types/index.js"),prop_types_default=__webpack_require__.n(prop_types),useMenu=__webpack_require__("./packages/menu/src/useMenu.ts");const MenuContainer=props=>{const{children,render=children,...options}=props;return react.createElement(react.Fragment,null,render((0,useMenu.b)(options)))};MenuContainer.propTypes={children:prop_types_default().func,render:prop_types_default().func,items:prop_types_default().arrayOf(prop_types_default().any).isRequired,triggerRef:prop_types_default().any.isRequired,menuRef:prop_types_default().any.isRequired,idPrefix:prop_types_default().string,environment:prop_types_default().any,onChange:prop_types_default().func,isExpanded:prop_types_default().bool,defaultExpanded:prop_types_default().bool,selectedItems:prop_types_default().arrayOf(prop_types_default().any),focusedValue:prop_types_default().oneOfType([prop_types_default().string]),defaultFocusedValue:prop_types_default().oneOfType([prop_types_default().string])},MenuContainer.__docgenInfo={description:"",methods:[],displayName:"MenuContainer",props:{items:{required:!0,tsType:{name:"Array",elements:[{name:"union",raw:"IMenuItemBase | IMenuItemSeparator | IMenuItemGroup",elements:[{name:"IMenuItemBase"},{name:"IMenuItemSeparator"},{name:"IMenuItemGroup"}]}],raw:"MenuItem[]"},description:"Provides an ordered list of menu items\n\n@param {string} item.value Unique item value\n@param {string} item.label Optional human-readable text value (defaults to `item.value`)\n@param {string} item.name A shared name corresponding to an item radio group\n@param {boolean} item.disabled Indicates the item is not interactive\n@param {boolean} item.selected Sets initial selection for the option\n@param {boolean} item.isNext - Indicates the item transitions to a nested menu\n@param {boolean} item.isPrevious - Indicates the item will transition back from a nested menu\n@param {boolean} item.separator Indicates the item is a placeholder for a separator\n@param {(IMenuItemBase | IMenuItemSeparator)[]} item.items Groups a list of items",type:{name:"arrayOf",value:{name:"any"}}},triggerRef:{required:!0,tsType:{name:"RefObject",elements:[{name:"T"}],raw:"RefObject"},description:"Provides ref access to the underlying trigger element",type:{name:"any"}},menuRef:{required:!0,tsType:{name:"RefObject",elements:[{name:"M"}],raw:"RefObject"},description:"Provides ref access to the underlying menu element",type:{name:"any"}},rtl:{required:!1,tsType:{name:"boolean"},description:"Determines right-to-left layout"},idPrefix:{required:!1,tsType:{name:"string"},description:"Prefixes IDs for the menu",type:{name:"string"}},isExpanded:{required:!1,tsType:{name:"boolean"},description:"Sets the expansion in a controlled menu",type:{name:"bool"}},defaultExpanded:{required:!1,tsType:{name:"boolean"},description:"Determines menu expansion on menu initialization",type:{name:"bool"}},focusedValue:{required:!1,tsType:{name:"union",raw:"string | null",elements:[{name:"string"},{name:"null"}]},description:"Sets the focused value in a controlled menu",type:{name:"union",value:[{name:"string"}]}},defaultFocusedValue:{required:!1,tsType:{name:"string"},description:"Determines focused value on menu initialization",type:{name:"union",value:[{name:"string"}]}},selectedItems:{required:!1,tsType:{name:"Array",elements:[{name:"ISelectedItem"}],raw:"ISelectedItem[]"},description:"Sets the selected values in a controlled menu",type:{name:"arrayOf",value:{name:"any"}}},onChange:{required:!1,tsType:{name:"signature",type:"function",raw:"(changes: {\n type: string;\n value?: string;\n isExpanded?: boolean;\n focusedValue?: string | null;\n selectedItems?: ISelectedItem[];\n}) => void",signature:{arguments:[{type:{name:"signature",type:"object",raw:"{\n type: string;\n value?: string;\n isExpanded?: boolean;\n focusedValue?: string | null;\n selectedItems?: ISelectedItem[];\n}",signature:{properties:[{key:"type",value:{name:"string",required:!0}},{key:"value",value:{name:"string",required:!1}},{key:"isExpanded",value:{name:"boolean",required:!1}},{key:"focusedValue",value:{name:"union",raw:"string | null",elements:[{name:"string"},{name:"null"}],required:!1}},{key:"selectedItems",value:{name:"Array",elements:[{name:"ISelectedItem"}],raw:"ISelectedItem[]",required:!1}}]}},name:"changes"}],return:{name:"void"}}},description:"Handles menu state changes\n\n@param {string} changes.type The event type that triggered the change\n@param {string} [changes.value] The item value\n@param {boolean} [changes.isExpanded] The updated menu expansion\n@param {string | null} [changes.focusedValue] The updated focused value\n@param {ISelectedItem[]} [changes.selectedItems] The updated selected items",type:{name:"func"}},environment:{required:!1,tsType:{name:"Window"},description:"Sets the environment where the menu is rendered",type:{name:"any"}},render:{required:!1,tsType:{name:"signature",type:"function",raw:"(options: {\n /* prop getters */\n getTriggerProps: IUseMenuReturnValue['getTriggerProps'];\n getMenuProps: IUseMenuReturnValue['getMenuProps'];\n getItemProps: IUseMenuReturnValue['getItemProps'];\n getSeparatorProps: IUseMenuReturnValue['getSeparatorProps'];\n /* state */\n isExpanded: IUseMenuReturnValue['isExpanded'];\n selection: IUseMenuReturnValue['selection'];\n focusedValue?: IUseMenuReturnValue['focusedValue'];\n}) => ReactNode",signature:{arguments:[{type:{name:"signature",type:"object",raw:"{\n /* prop getters */\n getTriggerProps: IUseMenuReturnValue['getTriggerProps'];\n getMenuProps: IUseMenuReturnValue['getMenuProps'];\n getItemProps: IUseMenuReturnValue['getItemProps'];\n getSeparatorProps: IUseMenuReturnValue['getSeparatorProps'];\n /* state */\n isExpanded: IUseMenuReturnValue['isExpanded'];\n selection: IUseMenuReturnValue['selection'];\n focusedValue?: IUseMenuReturnValue['focusedValue'];\n}",signature:{properties:[{key:"getTriggerProps",value:{name:"IUseMenuReturnValue['getTriggerProps']",raw:"IUseMenuReturnValue['getTriggerProps']",required:!0}},{key:"getMenuProps",value:{name:"IUseMenuReturnValue['getMenuProps']",raw:"IUseMenuReturnValue['getMenuProps']",required:!0}},{key:"getItemProps",value:{name:"IUseMenuReturnValue['getItemProps']",raw:"IUseMenuReturnValue['getItemProps']",required:!0}},{key:"getSeparatorProps",value:{name:"IUseMenuReturnValue['getSeparatorProps']",raw:"IUseMenuReturnValue['getSeparatorProps']",required:!0}},{key:"isExpanded",value:{name:"IUseMenuReturnValue['isExpanded']",raw:"IUseMenuReturnValue['isExpanded']",required:!0}},{key:"selection",value:{name:"IUseMenuReturnValue['selection']",raw:"IUseMenuReturnValue['selection']",required:!0}},{key:"focusedValue",value:{name:"IUseMenuReturnValue['focusedValue']",raw:"IUseMenuReturnValue['focusedValue']",required:!1}}]}},name:"options"}],return:{name:"ReactNode"}}},description:"Provides menu render prop functions\n\n@param {function} [options.getTriggerProps] Trigger props getter\n@param {function} [options.getMenuProps] Menu props getter\n@param {function} [options.getItemProps] Menu item props getter\n@param {function} [options.getSeparatorProps] Separator item props getter\n@param {boolean} [options.isExpanded] Current menu expansion\n@param {ISelectedItem[]} [options.selection] Current selection\n@param {string | null} [options.focusedValue] Current focused value",type:{name:"func"}},children:{required:!1,tsType:{name:"signature",type:"function",raw:"(options: IUseMenuReturnValue) => ReactNode",signature:{arguments:[{type:{name:"IUseMenuReturnValue"},name:"options"}],return:{name:"ReactNode"}}},description:"@ignore",type:{name:"func"}}}};__webpack_require__("./node_modules/@storybook/react/dist/index.mjs");var classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames);const Item=_ref=>{let{item,getItemProps,focusedValue,isSelected}=_ref;const itemProps=getItemProps({item}),itemChildren=react.createElement(react.Fragment,null,react.createElement("span",{className:"inline-flex justify-center items-center w-4"},"radio"===item?.type&&!!isSelected&&"•","checkbox"===item?.type&&!!isSelected&&"✓"),item.label||item.value);return react.createElement("li",(0,esm_extends.A)({className:classnames_default()("flex",{"bg-blue-100":!item.disabled&&focusedValue===item.value,"text-grey-400":item.disabled,"cursor-pointer":!item.disabled,"cursor-default":item.disabled}),role:itemProps.href?"none":void 0},!itemProps.href&&itemProps),itemProps.href?react.createElement("a",(0,esm_extends.A)({},itemProps,{className:"w-full rounded-sm outline-offset-0 transition-none border-width-none"}),itemChildren,!!item.isExternal&&react.createElement(react.Fragment,null,react.createElement("span",{"aria-hidden":"true"}," ↗"),react.createElement("span",{className:"sr-only"},"(opens in new window)"))):itemChildren)},Component=_ref2=>{let{items,selection,focusedValue,isExpanded,getTriggerProps,getMenuProps,getItemProps,getItemGroupProps,getSeparatorProps}=_ref2;const selectedValues=selection.map((item=>item.value));return react.createElement("div",{className:"relative"},react.createElement("button",(0,esm_extends.A)({className:"px-2 py-1",type:"button"},getTriggerProps()),"Produce"),react.createElement("ul",(0,esm_extends.A)({className:classnames_default()("border border-grey-400 border-solid w-32 absolute",{invisible:!isExpanded})},getMenuProps()),items.map((item=>"items"in item?react.createElement("li",{key:item.label,role:"none"},react.createElement("b",{"aria-hidden":"true",className:"block mt-1 ms-1"},item.label),react.createElement("hr",(0,esm_extends.A)({"aria-hidden":"true",className:"my-1 border-grey-200"},getSeparatorProps())),react.createElement("ul",getItemGroupProps({"aria-label":item.label}),item.items.map((groupItem=>react.createElement(Item,{key:groupItem.value,item:{...groupItem},getItemProps,focusedValue,isSelected:selectedValues.includes(groupItem.value)}))))):"separator"in item?react.createElement("li",(0,esm_extends.A)({key:item.value,className:"my-1 border-0 border-b border-solid border-grey-200"},getSeparatorProps())):react.createElement(Item,{key:item.value,item,focusedValue,getItemProps})))))};Component.displayName="Component";const Container=props=>react.createElement(MenuContainer,props,(containerProps=>react.createElement(Component,(0,esm_extends.A)({},props,containerProps)))),Hook=props=>{const hookProps=(0,useMenu.b)(props);return react.createElement(Component,(0,esm_extends.A)({},props,hookProps))},MenuStory=_ref3=>{let{as,...props}=_ref3;const triggerRef=(0,react.useRef)(null),menuRef=(0,react.useRef)(null);return"container"===as?react.createElement(Container,(0,esm_extends.A)({},props,{triggerRef,menuRef})):react.createElement(Hook,(0,esm_extends.A)({},props,{triggerRef,menuRef}))};MenuStory.__docgenInfo={description:"",methods:[],displayName:"MenuStory"};const menu_stories={title:"Packages/Menu",component:MenuContainer,args:{as:"hook",items:[{value:"plant-01",label:"Petunia"},{value:"plant-02",label:"Hydrangea"},{value:"separator-01",separator:!0},{value:"plant-03",label:"Violet"},{value:"plant-04",label:"Aloe Vera",href:"https://en.wikipedia.org/wiki/Aloe_vera",isExternal:!1},{value:"plant-05",label:"Succulent"},{label:"Choose favorites",items:[{value:"fruit-01",label:"Apple",type:"checkbox"},{value:"fruit-02",label:"Banana",disabled:!0,type:"checkbox"},{value:"Cherry",type:"checkbox"},{value:"fruit-04",label:"Kiwi",type:"checkbox"}]},{label:"Select one",items:[{value:"vegetable-01",label:"Asparagus",type:"radio",name:"veggies"},{value:"vegetable-02",label:"Broccoli",disabled:!0,type:"radio",name:"veggies"},{value:"vegetable-03",label:"Brussel sprouts",type:"radio",name:"veggies"},{value:"vegetable-04",label:"Kale",type:"radio",name:"veggies"}]}]},argTypes:{as:{options:["container","hook"],control:"radio",table:{category:"Story"}},menuRef:{control:!1},triggerRef:{control:!1}}},Uncontrolled={render:args=>react.createElement(MenuStory,args),name:"Uncontrolled",argTypes:{isExpanded:{control:!1},focusedValue:{control:!1},selectedItems:{control:!1}}},Controlled={render:function Render(args){const updateArgs=(0,external_STORYBOOK_MODULE_PREVIEW_API_.useArgs)()[1];return react.createElement(MenuStory,(0,esm_extends.A)({},args,{onChange:({type,...rest})=>{updateArgs(rest)}}))},name:"Controlled",argTypes:{defaultFocusedValue:{control:!1},defaultExpanded:{control:!1},focusedValue:{control:{type:"text"}}},args:{isExpanded:!1,focusedValue:"plant-01",selectedItems:[{value:"Cherry",type:"checkbox"}]}},__namedExportsOrder=["Uncontrolled","Controlled"];Uncontrolled.parameters={...Uncontrolled.parameters,docs:{...Uncontrolled.parameters?.docs,source:{originalSource:"{\n render: args => ,\n name: 'Uncontrolled',\n argTypes: {\n isExpanded: {\n control: false\n },\n focusedValue: {\n control: false\n },\n selectedItems: {\n control: false\n }\n }\n}",...Uncontrolled.parameters?.docs?.source}}},Controlled.parameters={...Controlled.parameters,docs:{...Controlled.parameters?.docs,source:{originalSource:"{\n render: function Render(args) {\n const updateArgs = useArgs()[1];\n return {\n updateArgs(rest);\n }} />;\n },\n name: 'Controlled',\n argTypes: {\n defaultFocusedValue: {\n control: false\n },\n defaultExpanded: {\n control: false\n },\n focusedValue: {\n control: {\n type: 'text'\n }\n }\n },\n args: {\n isExpanded: false,\n focusedValue: 'plant-01',\n selectedItems: [{\n value: 'Cherry',\n type: 'checkbox'\n }]\n }\n}",...Controlled.parameters?.docs?.source}}}},"./node_modules/memoizerific sync recursive":module=>{function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="./node_modules/memoizerific sync recursive",module.exports=webpackEmptyContext}}]); \ No newline at end of file diff --git a/menu-demo-menu-mdx.88db11c7.iframe.bundle.js.LICENSE.txt b/menu-demo-menu-mdx.88db11c7.iframe.bundle.js.LICENSE.txt deleted file mode 100644 index e68557b27..000000000 --- a/menu-demo-menu-mdx.88db11c7.iframe.bundle.js.LICENSE.txt +++ /dev/null @@ -1,9 +0,0 @@ -/** - * @license React - * react-jsx-runtime.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ diff --git a/menu-demo-patterns-patterns-mdx.4f0f1679.iframe.bundle.js.LICENSE.txt b/menu-demo-patterns-patterns-mdx.4f0f1679.iframe.bundle.js.LICENSE.txt deleted file mode 100644 index e68557b27..000000000 --- a/menu-demo-patterns-patterns-mdx.4f0f1679.iframe.bundle.js.LICENSE.txt +++ /dev/null @@ -1,9 +0,0 @@ -/** - * @license React - * react-jsx-runtime.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ diff --git a/menu-demo-patterns-patterns-mdx.4f0f1679.iframe.bundle.js b/menu-demo-patterns-patterns-mdx.d1116a03.iframe.bundle.js similarity index 91% rename from menu-demo-patterns-patterns-mdx.4f0f1679.iframe.bundle.js rename to menu-demo-patterns-patterns-mdx.d1116a03.iframe.bundle.js index c651e076a..7c5aeda10 100644 --- a/menu-demo-patterns-patterns-mdx.4f0f1679.iframe.bundle.js +++ b/menu-demo-patterns-patterns-mdx.d1116a03.iframe.bundle.js @@ -1,2 +1 @@ -/*! For license information please see menu-demo-patterns-patterns-mdx.4f0f1679.iframe.bundle.js.LICENSE.txt */ -(self.webpackChunk_zendeskgarden_react_containers=self.webpackChunk_zendeskgarden_react_containers||[]).push([[7648,1410],{"./node_modules/@mdx-js/react/lib/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{R:()=>useMDXComponents,x:()=>MDXProvider});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");const emptyComponents={},MDXContext=react__WEBPACK_IMPORTED_MODULE_0__.createContext(emptyComponents);function useMDXComponents(components){const contextComponents=react__WEBPACK_IMPORTED_MODULE_0__.useContext(MDXContext);return react__WEBPACK_IMPORTED_MODULE_0__.useMemo((function(){return"function"==typeof components?components(contextComponents):{...contextComponents,...components}}),[contextComponents,components])}function MDXProvider(properties){let allComponents;return allComponents=properties.disableParentContext?"function"==typeof properties.components?properties.components(emptyComponents):properties.components||emptyComponents:useMDXComponents(properties.components),react__WEBPACK_IMPORTED_MODULE_0__.createElement(MDXContext.Provider,{value:allComponents},properties.children)}},"./packages/menu/demo/~patterns/patterns.mdx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>MDXContent});__webpack_require__("./node_modules/react/index.js");var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/jsx-runtime.js"),_home_circleci_project_node_modules_storybook_addon_docs_dist_shims_mdx_react_shim_mjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@mdx-js/react/lib/index.js"),_storybook_blocks__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@storybook/blocks/dist/index.mjs"),_patterns_stories__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./packages/menu/demo/~patterns/patterns.stories.tsx");function _createMdxContent(props){const _components={h1:"h1",h2:"h2",p:"p",...(0,_home_circleci_project_node_modules_storybook_addon_docs_dist_shims_mdx_react_shim_mjs__WEBPACK_IMPORTED_MODULE_2__.R)(),...props.components};return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_blocks__WEBPACK_IMPORTED_MODULE_3__.W8,{of:_patterns_stories__WEBPACK_IMPORTED_MODULE_4__}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h1,{id:"patterns",children:"Patterns"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h2,{id:"nested-focus-uncontrolled",children:"Nested Focus Uncontrolled"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"Demonstrate nested menu with uncontrolled focus."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_blocks__WEBPACK_IMPORTED_MODULE_3__.Hl,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_blocks__WEBPACK_IMPORTED_MODULE_3__.gG,{of:_patterns_stories__WEBPACK_IMPORTED_MODULE_4__.NestedFocusUncontrolled})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h2,{id:"nested-focus-controlled",children:"Nested Focus Controlled"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"Demonstrate nested menu with controlled focus."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_blocks__WEBPACK_IMPORTED_MODULE_3__.Hl,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_blocks__WEBPACK_IMPORTED_MODULE_3__.gG,{of:_patterns_stories__WEBPACK_IMPORTED_MODULE_4__.NestedFocusControlled})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={...(0,_home_circleci_project_node_modules_storybook_addon_docs_dist_shims_mdx_react_shim_mjs__WEBPACK_IMPORTED_MODULE_2__.R)(),...props.components};return MDXLayout?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(MDXLayout,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_createMdxContent,{...props})}):_createMdxContent(props)}},"./node_modules/@storybook/core/dist/components sync recursive":module=>{function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="./node_modules/@storybook/core/dist/components sync recursive",module.exports=webpackEmptyContext},"./node_modules/@storybook/core/dist/theming sync recursive":module=>{function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="./node_modules/@storybook/core/dist/theming sync recursive",module.exports=webpackEmptyContext},"./packages/menu/demo/~patterns/patterns.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{NestedFocusControlled:()=>NestedFocusControlled,NestedFocusUncontrolled:()=>NestedFocusUncontrolled,__namedExportsOrder:()=>__namedExportsOrder,default:()=>patterns_stories});var esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),react=__webpack_require__("./node_modules/react/index.js"),external_STORYBOOK_MODULE_PREVIEW_API_=__webpack_require__("storybook/internal/preview-api"),classnames=(__webpack_require__("./node_modules/@storybook/react/dist/index.mjs"),__webpack_require__("./node_modules/classnames/index.js")),classnames_default=__webpack_require__.n(classnames),useMenu=__webpack_require__("./packages/menu/src/useMenu.ts");const NestedStory=_ref=>{let{rtl,onChange,items}=_ref;const triggerRef=(0,react.useRef)(null),menuRef=(0,react.useRef)(null),{focusedValue,isExpanded,getTriggerProps,getMenuProps,getItemProps,getSeparatorProps}=(0,useMenu.b)({items,triggerRef,menuRef,onChange,rtl});return react.createElement("div",{className:"relative",dir:rtl?"rtl":"ltr"},react.createElement("button",getTriggerProps(),"Fruits"),react.createElement("ul",(0,esm_extends.A)({className:classnames_default()("border border-grey-400 border-solid w-32 absolute",{invisible:!isExpanded})},getMenuProps()),items.map((item=>{if("separator"in item)return react.createElement("li",(0,esm_extends.A)({key:item.value,className:"my-1 border-0 border-b border-solid border-grey-200"},getSeparatorProps()));if("value"in item){const{value,isNext,isPrevious}=item;return react.createElement("li",(0,esm_extends.A)({},getItemProps({item}),{className:classnames_default()("flex cursor-default",{"bg-blue-100":focusedValue===value}),key:value}),react.createElement("span",{className:"inline-flex justify-center items-center w-4"},!!isPrevious&&react.createElement("span",{"aria-hidden":"true"},"<")),value,react.createElement("span",{className:"ms-auto inline-flex justify-center items-center w-4"},!!isNext&&react.createElement("span",{"aria-hidden":"true"},">")),!!isPrevious&&react.createElement("span",{className:"sr-only"},"Back to main menu"),!!isNext&&react.createElement("span",{className:"sr-only"},"Go to submenu"))}return null}))))};NestedStory.__docgenInfo={description:"",methods:[],displayName:"NestedStory"};const BASE_ITEMS=[{value:"Orange"},{value:"Berry",isNext:!0},{value:"Apple"}],NESTED_ITEMS=[{value:"Fruits",isPrevious:!0},{value:"separator",separator:!0},{value:"Strawberry"},{value:"Loganberry"},{value:"Boysenberry"}],patterns_stories={title:"Packages/Menu/[patterns]"},NestedFocusUncontrolled={render:function Render(args){const[_,updateArgs,resetArgs]=(0,external_STORYBOOK_MODULE_PREVIEW_API_.useArgs)();return react.createElement(NestedStory,(0,esm_extends.A)({},args,{onChange:({type,isExpanded})=>{const isNext=type.includes("next"),isPrev=type.includes("previous");isNext||isPrev?updateArgs({items:isNext?NESTED_ITEMS:BASE_ITEMS}):!1===isExpanded&&resetArgs(["items"])}}))},name:"Nested focus uncontrolled",args:{rtl:!1,items:BASE_ITEMS}},NestedFocusControlled={render:function Render(args){const updateArgs=(0,external_STORYBOOK_MODULE_PREVIEW_API_.useArgs)()[1];return react.createElement(NestedStory,(0,esm_extends.A)({},args,{onChange:({type,focusedValue,isExpanded})=>{const isNext=type.includes("next"),isPrev=type.includes("previous"),_focusedValue=focusedValue||args.focusedValue;updateArgs(isNext||isPrev?{items:isNext?NESTED_ITEMS:BASE_ITEMS,focusedValue:isNext?"Fruits":"Berry"}:!1===isExpanded?{items:BASE_ITEMS,focusedValue:_focusedValue}:{focusedValue:_focusedValue})}}))},name:"Nested focus controlled",argTypes:{focusedValue:{control:{type:"text"}}},args:{rtl:!1,items:BASE_ITEMS,focusedValue:"Orange"}},__namedExportsOrder=["NestedFocusUncontrolled","NestedFocusControlled"];NestedFocusUncontrolled.parameters={...NestedFocusUncontrolled.parameters,docs:{...NestedFocusUncontrolled.parameters?.docs,source:{originalSource:"{\n render: function Render(args) {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const [_, updateArgs, resetArgs] = useArgs();\n return {\n const isNext = type.includes('next');\n const isPrev = type.includes('previous');\n if (isNext || isPrev) {\n updateArgs({\n items: isNext ? NESTED_ITEMS : BASE_ITEMS\n });\n } else if (isExpanded === false) {\n resetArgs(['items']);\n }\n }} />;\n },\n name: 'Nested focus uncontrolled',\n args: {\n rtl: false,\n items: BASE_ITEMS\n }\n}",...NestedFocusUncontrolled.parameters?.docs?.source}}},NestedFocusControlled.parameters={...NestedFocusControlled.parameters,docs:{...NestedFocusControlled.parameters?.docs,source:{originalSource:"{\n render: function Render(args) {\n const updateArgs = useArgs()[1];\n return {\n const isNext = type.includes('next');\n const isPrev = type.includes('previous');\n const _focusedValue = focusedValue || args.focusedValue;\n if (isNext || isPrev) {\n updateArgs({\n items: isNext ? NESTED_ITEMS : BASE_ITEMS,\n focusedValue: isNext ? 'Fruits' : 'Berry'\n });\n } else if (isExpanded === false) {\n updateArgs({\n items: BASE_ITEMS,\n focusedValue: _focusedValue\n });\n } else {\n updateArgs({\n focusedValue: _focusedValue\n });\n }\n }} />;\n },\n name: 'Nested focus controlled',\n argTypes: {\n focusedValue: {\n control: {\n type: 'text'\n }\n }\n },\n args: {\n rtl: false,\n items: BASE_ITEMS,\n focusedValue: 'Orange'\n }\n}",...NestedFocusControlled.parameters?.docs?.source}}}},"./node_modules/memoizerific sync recursive":module=>{function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="./node_modules/memoizerific sync recursive",module.exports=webpackEmptyContext},"./node_modules/react/cjs/react-jsx-runtime.production.min.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var f=__webpack_require__("./node_modules/react/index.js"),k=Symbol.for("react.element"),l=Symbol.for("react.fragment"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};function q(c,a,g){var b,d={},e=null,h=null;for(b in void 0!==g&&(e=""+g),void 0!==a.key&&(e=""+a.key),void 0!==a.ref&&(h=a.ref),a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l,exports.jsx=q,exports.jsxs=q},"./node_modules/react/jsx-runtime.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=__webpack_require__("./node_modules/react/cjs/react-jsx-runtime.production.min.js")}}]); \ No newline at end of file +(self.webpackChunk_zendeskgarden_react_containers=self.webpackChunk_zendeskgarden_react_containers||[]).push([[7648,1410],{"./node_modules/@mdx-js/react/lib/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{R:()=>useMDXComponents,x:()=>MDXProvider});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");const emptyComponents={},MDXContext=react__WEBPACK_IMPORTED_MODULE_0__.createContext(emptyComponents);function useMDXComponents(components){const contextComponents=react__WEBPACK_IMPORTED_MODULE_0__.useContext(MDXContext);return react__WEBPACK_IMPORTED_MODULE_0__.useMemo((function(){return"function"==typeof components?components(contextComponents):{...contextComponents,...components}}),[contextComponents,components])}function MDXProvider(properties){let allComponents;return allComponents=properties.disableParentContext?"function"==typeof properties.components?properties.components(emptyComponents):properties.components||emptyComponents:useMDXComponents(properties.components),react__WEBPACK_IMPORTED_MODULE_0__.createElement(MDXContext.Provider,{value:allComponents},properties.children)}},"./packages/menu/demo/~patterns/patterns.mdx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>MDXContent});__webpack_require__("./node_modules/react/index.js");var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/jsx-runtime.js"),_home_circleci_project_node_modules_storybook_addon_docs_dist_shims_mdx_react_shim_mjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@mdx-js/react/lib/index.js"),_storybook_blocks__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@storybook/blocks/dist/index.mjs"),_patterns_stories__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./packages/menu/demo/~patterns/patterns.stories.tsx");function _createMdxContent(props){const _components={h1:"h1",h2:"h2",p:"p",...(0,_home_circleci_project_node_modules_storybook_addon_docs_dist_shims_mdx_react_shim_mjs__WEBPACK_IMPORTED_MODULE_2__.R)(),...props.components};return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_blocks__WEBPACK_IMPORTED_MODULE_3__.W8,{of:_patterns_stories__WEBPACK_IMPORTED_MODULE_4__}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h1,{id:"patterns",children:"Patterns"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h2,{id:"nested-focus-uncontrolled",children:"Nested Focus Uncontrolled"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"Demonstrate nested menu with uncontrolled focus."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_blocks__WEBPACK_IMPORTED_MODULE_3__.Hl,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_blocks__WEBPACK_IMPORTED_MODULE_3__.gG,{of:_patterns_stories__WEBPACK_IMPORTED_MODULE_4__.NestedFocusUncontrolled})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h2,{id:"nested-focus-controlled",children:"Nested Focus Controlled"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"Demonstrate nested menu with controlled focus."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_blocks__WEBPACK_IMPORTED_MODULE_3__.Hl,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_blocks__WEBPACK_IMPORTED_MODULE_3__.gG,{of:_patterns_stories__WEBPACK_IMPORTED_MODULE_4__.NestedFocusControlled})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={...(0,_home_circleci_project_node_modules_storybook_addon_docs_dist_shims_mdx_react_shim_mjs__WEBPACK_IMPORTED_MODULE_2__.R)(),...props.components};return MDXLayout?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(MDXLayout,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_createMdxContent,{...props})}):_createMdxContent(props)}},"./node_modules/@storybook/core/dist/components sync recursive":module=>{function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="./node_modules/@storybook/core/dist/components sync recursive",module.exports=webpackEmptyContext},"./node_modules/@storybook/core/dist/theming sync recursive":module=>{function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="./node_modules/@storybook/core/dist/theming sync recursive",module.exports=webpackEmptyContext},"./packages/menu/demo/~patterns/patterns.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{NestedFocusControlled:()=>NestedFocusControlled,NestedFocusUncontrolled:()=>NestedFocusUncontrolled,__namedExportsOrder:()=>__namedExportsOrder,default:()=>patterns_stories});var esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),react=__webpack_require__("./node_modules/react/index.js"),external_STORYBOOK_MODULE_PREVIEW_API_=__webpack_require__("storybook/internal/preview-api"),classnames=(__webpack_require__("./node_modules/@storybook/react/dist/index.mjs"),__webpack_require__("./node_modules/classnames/index.js")),classnames_default=__webpack_require__.n(classnames),useMenu=__webpack_require__("./packages/menu/src/useMenu.ts");const NestedStory=_ref=>{let{rtl,onChange,items}=_ref;const triggerRef=(0,react.useRef)(null),menuRef=(0,react.useRef)(null),{focusedValue,isExpanded,getTriggerProps,getMenuProps,getItemProps,getSeparatorProps}=(0,useMenu.b)({items,triggerRef,menuRef,onChange,rtl});return react.createElement("div",{className:"relative",dir:rtl?"rtl":"ltr"},react.createElement("button",getTriggerProps(),"Fruits"),react.createElement("ul",(0,esm_extends.A)({className:classnames_default()("border border-grey-400 border-solid w-32 absolute",{invisible:!isExpanded})},getMenuProps()),items.map((item=>{if("separator"in item)return react.createElement("li",(0,esm_extends.A)({key:item.value,className:"my-1 border-0 border-b border-solid border-grey-200"},getSeparatorProps()));if("value"in item){const{value,isNext,isPrevious}=item;return react.createElement("li",(0,esm_extends.A)({},getItemProps({item}),{className:classnames_default()("flex cursor-default",{"bg-blue-100":focusedValue===value}),key:value}),react.createElement("span",{className:"inline-flex justify-center items-center w-4"},!!isPrevious&&react.createElement("span",{"aria-hidden":"true"},"<")),value,react.createElement("span",{className:"ms-auto inline-flex justify-center items-center w-4"},!!isNext&&react.createElement("span",{"aria-hidden":"true"},">")),!!isPrevious&&react.createElement("span",{className:"sr-only"},"Back to main menu"),!!isNext&&react.createElement("span",{className:"sr-only"},"Go to submenu"))}return null}))))};NestedStory.__docgenInfo={description:"",methods:[],displayName:"NestedStory"};const BASE_ITEMS=[{value:"Orange"},{value:"Berry",isNext:!0},{value:"Apple"}],NESTED_ITEMS=[{value:"Fruits",isPrevious:!0},{value:"separator",separator:!0},{value:"Strawberry"},{value:"Loganberry"},{value:"Boysenberry"}],patterns_stories={title:"Packages/Menu/[patterns]"},NestedFocusUncontrolled={render:function Render(args){const[_,updateArgs,resetArgs]=(0,external_STORYBOOK_MODULE_PREVIEW_API_.useArgs)();return react.createElement(NestedStory,(0,esm_extends.A)({},args,{onChange:({type,isExpanded})=>{const isNext=type.includes("next"),isPrev=type.includes("previous");isNext||isPrev?updateArgs({items:isNext?NESTED_ITEMS:BASE_ITEMS}):!1===isExpanded&&resetArgs(["items"])}}))},name:"Nested focus uncontrolled",args:{rtl:!1,items:BASE_ITEMS}},NestedFocusControlled={render:function Render(args){const updateArgs=(0,external_STORYBOOK_MODULE_PREVIEW_API_.useArgs)()[1];return react.createElement(NestedStory,(0,esm_extends.A)({},args,{onChange:({type,focusedValue,isExpanded})=>{const isNext=type.includes("next"),isPrev=type.includes("previous"),_focusedValue=focusedValue||args.focusedValue;updateArgs(isNext||isPrev?{items:isNext?NESTED_ITEMS:BASE_ITEMS,focusedValue:isNext?"Fruits":"Berry"}:!1===isExpanded?{items:BASE_ITEMS,focusedValue:_focusedValue}:{focusedValue:_focusedValue})}}))},name:"Nested focus controlled",argTypes:{focusedValue:{control:{type:"text"}}},args:{rtl:!1,items:BASE_ITEMS,focusedValue:"Orange"}},__namedExportsOrder=["NestedFocusUncontrolled","NestedFocusControlled"];NestedFocusUncontrolled.parameters={...NestedFocusUncontrolled.parameters,docs:{...NestedFocusUncontrolled.parameters?.docs,source:{originalSource:"{\n render: function Render(args) {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const [_, updateArgs, resetArgs] = useArgs();\n return {\n const isNext = type.includes('next');\n const isPrev = type.includes('previous');\n if (isNext || isPrev) {\n updateArgs({\n items: isNext ? NESTED_ITEMS : BASE_ITEMS\n });\n } else if (isExpanded === false) {\n resetArgs(['items']);\n }\n }} />;\n },\n name: 'Nested focus uncontrolled',\n args: {\n rtl: false,\n items: BASE_ITEMS\n }\n}",...NestedFocusUncontrolled.parameters?.docs?.source}}},NestedFocusControlled.parameters={...NestedFocusControlled.parameters,docs:{...NestedFocusControlled.parameters?.docs,source:{originalSource:"{\n render: function Render(args) {\n const updateArgs = useArgs()[1];\n return {\n const isNext = type.includes('next');\n const isPrev = type.includes('previous');\n const _focusedValue = focusedValue || args.focusedValue;\n if (isNext || isPrev) {\n updateArgs({\n items: isNext ? NESTED_ITEMS : BASE_ITEMS,\n focusedValue: isNext ? 'Fruits' : 'Berry'\n });\n } else if (isExpanded === false) {\n updateArgs({\n items: BASE_ITEMS,\n focusedValue: _focusedValue\n });\n } else {\n updateArgs({\n focusedValue: _focusedValue\n });\n }\n }} />;\n },\n name: 'Nested focus controlled',\n argTypes: {\n focusedValue: {\n control: {\n type: 'text'\n }\n }\n },\n args: {\n rtl: false,\n items: BASE_ITEMS,\n focusedValue: 'Orange'\n }\n}",...NestedFocusControlled.parameters?.docs?.source}}}},"./node_modules/memoizerific sync recursive":module=>{function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="./node_modules/memoizerific sync recursive",module.exports=webpackEmptyContext}}]); \ No newline at end of file diff --git a/modal-demo-modal-mdx.4b7215f4.iframe.bundle.js b/modal-demo-modal-mdx.fae05ec7.iframe.bundle.js similarity index 95% rename from modal-demo-modal-mdx.4b7215f4.iframe.bundle.js rename to modal-demo-modal-mdx.fae05ec7.iframe.bundle.js index 17625e60d..05086dafe 100644 --- a/modal-demo-modal-mdx.4b7215f4.iframe.bundle.js +++ b/modal-demo-modal-mdx.fae05ec7.iframe.bundle.js @@ -1,2 +1,2 @@ -/*! For license information please see modal-demo-modal-mdx.4b7215f4.iframe.bundle.js.LICENSE.txt */ -(self.webpackChunk_zendeskgarden_react_containers=self.webpackChunk_zendeskgarden_react_containers||[]).push([[6608,6946],{"./node_modules/@mdx-js/react/lib/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{R:()=>useMDXComponents,x:()=>MDXProvider});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");const emptyComponents={},MDXContext=react__WEBPACK_IMPORTED_MODULE_0__.createContext(emptyComponents);function useMDXComponents(components){const contextComponents=react__WEBPACK_IMPORTED_MODULE_0__.useContext(MDXContext);return react__WEBPACK_IMPORTED_MODULE_0__.useMemo((function(){return"function"==typeof components?components(contextComponents):{...contextComponents,...components}}),[contextComponents,components])}function MDXProvider(properties){let allComponents;return allComponents=properties.disableParentContext?"function"==typeof properties.components?properties.components(emptyComponents):properties.components||emptyComponents:useMDXComponents(properties.components),react__WEBPACK_IMPORTED_MODULE_0__.createElement(MDXContext.Provider,{value:allComponents},properties.children)}},"./node_modules/@reach/auto-id/dist/reach-auto-id.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{B:()=>useId});var react=__webpack_require__("./node_modules/react/index.js"),react_namespaceObject=__webpack_require__.t(react,2);function canUseDOM(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}var useIsomorphicLayoutEffect=canUseDOM()?react.useLayoutEffect:react.useEffect;var serverHandoffComplete=!1,id=0;function genId(){return++id}var maybeReactUseId=react_namespaceObject["useId".toString()];function useId(providedId){if(void 0!==maybeReactUseId){let generatedId=maybeReactUseId();return providedId??generatedId}let initialId=providedId??(serverHandoffComplete?genId():null),[id2,setId]=react.useState(initialId);return useIsomorphicLayoutEffect((()=>{null===id2&&setId(genId())}),[]),react.useEffect((()=>{!1===serverHandoffComplete&&(serverHandoffComplete=!0)}),[]),providedId??id2??void 0}},"./packages/modal/demo/modal.mdx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>MDXContent});__webpack_require__("./node_modules/react/index.js");var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js"),lib=__webpack_require__("./node_modules/@mdx-js/react/lib/index.js"),dist=__webpack_require__("./node_modules/@storybook/blocks/dist/index.mjs");const README_namespaceObject="# @zendeskgarden/container-modal [![npm version][npm version badge]][npm version link]\n\n[npm version badge]: https://flat.badgen.net/npm/v/@zendeskgarden/container-modal\n[npm version link]: https://www.npmjs.com/package/@zendeskgarden/container-modal\n\nThis package includes containers relating to modals in the\n[Garden Design System](https://zendeskgarden.github.io/).\n\n## Installation\n\n```sh\nnpm install @zendeskgarden/container-modal\n```\n\n## Usage\n\nThis container implements the\n[dialog](https://www.w3.org/TR/wai-aria-practices/#dialog_modal) design pattern\nand can be used to build a modal component. Check out\n[storybook](https://zendeskgarden.github.io/react-containers) for live examples.\n\n### useModal\n\n```jsx\nimport { useRef } from 'react';\nimport { useModal } from '@zendeskgarden/container-modal';\n\nconst Modal = () => {\n const [isModalVisible, setModalVisibility] = useState(false);\n const modalRef = useRef(null);\n const { getBackdropProps, getModalProps, getTitleProps, getContentProps, getCloseProps } =\n useModal({ onClose: () => setModalVisibility(false), modalRef });\n\n return (\n <>\n \n {isModalVisible && (\n \n \n

Example header

\n
\n

Modal contents

\n \n \n
\n \n X\n \n \n \n )}\n \n );\n};\n```\n\n### ModalContainer\n\n```jsx\nimport { useRef } from 'react';\nimport { ModalContainer } from '@zendeskgarden/container-modal';\n\nconst Modal = () => {\n const [isModalVisible, setModalVisibility] = useState(false);\n const modalRef = useRef(null);\n\n return (\n <>\n \n setModalVisibility(false)}>\n {({ getBackdropProps, getModalProps, getTitleProps, getContentProps, getCloseProps }) => {\n return (\n isModalVisible && (\n \n \n

Example header

\n
\n

Modal contents

\n \n \n
\n \n X\n \n \n \n )\n );\n }}\n
\n \n );\n};\n```\n";var modal_stories=__webpack_require__("./packages/modal/demo/modal.stories.tsx");function _createMdxContent(props){const _components={h1:"h1",...(0,lib.R)(),...props.components};return(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsx)(dist.W8,{of:modal_stories}),"\n",(0,jsx_runtime.jsx)(_components.h1,{id:"api",children:"API"}),"\n",(0,jsx_runtime.jsx)(dist.H2,{}),"\n",(0,jsx_runtime.jsx)(_components.h1,{id:"demo",children:"Demo"}),"\n",(0,jsx_runtime.jsx)(dist.Hl,{children:(0,jsx_runtime.jsx)(dist.gG,{of:modal_stories.Modal})}),"\n",(0,jsx_runtime.jsx)(dist.oz,{children:README_namespaceObject})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={...(0,lib.R)(),...props.components};return MDXLayout?(0,jsx_runtime.jsx)(MDXLayout,{...props,children:(0,jsx_runtime.jsx)(_createMdxContent,{...props})}):_createMdxContent(props)}},"./node_modules/@storybook/core/dist/components sync recursive":module=>{function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="./node_modules/@storybook/core/dist/components sync recursive",module.exports=webpackEmptyContext},"./node_modules/@storybook/core/dist/theming sync recursive":module=>{function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="./node_modules/@storybook/core/dist/theming sync recursive",module.exports=webpackEmptyContext},"./packages/modal/demo/modal.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Modal:()=>Modal,__namedExportsOrder:()=>__namedExportsOrder,default:()=>modal_stories});var esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),react=__webpack_require__("./node_modules/react/index.js"),external_STORYBOOK_MODULE_PREVIEW_API_=__webpack_require__("storybook/internal/preview-api"),prop_types=__webpack_require__("./node_modules/prop-types/index.js"),prop_types_default=__webpack_require__.n(prop_types),useId=__webpack_require__("./packages/utilities/src/utils/useId.ts"),composeEventHandlers=__webpack_require__("./packages/utilities/src/utils/composeEventHandlers.ts"),KeyboardEventValues=__webpack_require__("./packages/utilities/src/utils/KeyboardEventValues.ts"),useFocusJail=__webpack_require__("./packages/focusjail/src/useFocusJail.ts");const useModal=_ref=>{let{onClose,modalRef,idPrefix,focusOnMount,restoreFocus,environment}=_ref;const prefix=(0,useId.B)(idPrefix),titleId=`${prefix}__title`,contentId=`${prefix}__content`,isModalMousedDownRef=(0,react.useRef)(!1),closeModal=event=>{onClose&&onClose(event)},{getContainerProps}=(0,useFocusJail.e)({containerRef:modalRef,focusOnMount,restoreFocus,environment});return{getBackdropProps:function(_temp){let{onMouseUp,...other}=void 0===_temp?{}:_temp;return{onMouseUp:(0,composeEventHandlers.m)(onMouseUp,(event=>{const isModalContainer="containers.modal"===event.target.getAttribute("data-garden-container-id");!isModalMousedDownRef.current&&isModalContainer&&closeModal(event),isModalMousedDownRef.current=!1})),"data-garden-container-id":"containers.modal","data-garden-container-version":"storybook",...other}},getModalProps:props=>getContainerProps(function(_temp2){let{role="dialog",onKeyDown,onMouseDown,...other}=void 0===_temp2?{}:_temp2;return{role:null===role?void 0:role,tabIndex:-1,"aria-modal":!0,"aria-labelledby":titleId,"aria-describedby":contentId,onMouseDown:(0,composeEventHandlers.m)(onMouseDown,(()=>{isModalMousedDownRef.current=!0})),onKeyDown:(0,composeEventHandlers.m)(onKeyDown,(event=>{event.key===KeyboardEventValues.R.ESCAPE&&closeModal(event)})),...other}}(props)),getTitleProps:function(_temp3){let{id=titleId,...other}=void 0===_temp3?{}:_temp3;return{id,...other}},getContentProps:function(_temp4){let{id=contentId,...other}=void 0===_temp4?{}:_temp4;return{id,...other}},getCloseProps:_ref2=>{let{onClick,...other}=_ref2;return{onClick:(0,composeEventHandlers.m)(onClick,(event=>{closeModal(event)})),...other}},closeModal}},ModalContainer=_ref=>{let{children,render=children,...options}=_ref;return react.createElement(react.Fragment,null,render(useModal(options)))};ModalContainer.propTypes={children:prop_types_default().func,render:prop_types_default().func,onClose:prop_types_default().func,modalRef:prop_types_default().any.isRequired,idPrefix:prop_types_default().string,focusOnMount:prop_types_default().bool,restoreFocus:prop_types_default().bool,environment:prop_types_default().any},ModalContainer.defaultProps={focusOnMount:!0,restoreFocus:!0},ModalContainer.__docgenInfo={description:"",methods:[],displayName:"ModalContainer",props:{onClose:{required:!1,tsType:{name:"signature",type:"function",raw:"(event: KeyboardEvent | MouseEvent) => void",signature:{arguments:[{type:{name:"union",raw:"KeyboardEvent | MouseEvent",elements:[{name:"KeyboardEvent"},{name:"MouseEvent"}]},name:"event"}],return:{name:"void"}}},description:"Handles close actions",type:{name:"func"}},modalRef:{required:!0,tsType:{name:"RefObject",elements:[{name:"T"}],raw:"RefObject"},description:"Provides ref access to the underlying dialog element",type:{name:"any"}},idPrefix:{required:!1,tsType:{name:"string"},description:"Prefixes IDs for modal elements",type:{name:"string"}},focusOnMount:{required:!1,tsType:{name:"boolean"},description:"Directs keyboard focus to the modal on mount",defaultValue:{value:"true",computed:!1},type:{name:"bool"}},restoreFocus:{required:!1,tsType:{name:"boolean"},description:"Returns keyboard focus to the element that triggered the modal",defaultValue:{value:"true",computed:!1},type:{name:"bool"}},environment:{required:!1,tsType:{name:"Document"},description:"Sets the environment where the modal is rendered",type:{name:"any"}},render:{required:!1,tsType:{name:"signature",type:"function",raw:"(options: {\n getBackdropProps: IUseModalReturnValue['getBackdropProps'];\n getModalProps: IUseModalReturnValue['getModalProps'];\n getCloseProps: IUseModalReturnValue['getCloseProps'];\n getTitleProps: IUseModalReturnValue['getTitleProps'];\n getContentProps: IUseModalReturnValue['getContentProps'];\n closeModal?: IUseModalReturnValue['closeModal'];\n}) => ReactNode",signature:{arguments:[{type:{name:"signature",type:"object",raw:"{\n getBackdropProps: IUseModalReturnValue['getBackdropProps'];\n getModalProps: IUseModalReturnValue['getModalProps'];\n getCloseProps: IUseModalReturnValue['getCloseProps'];\n getTitleProps: IUseModalReturnValue['getTitleProps'];\n getContentProps: IUseModalReturnValue['getContentProps'];\n closeModal?: IUseModalReturnValue['closeModal'];\n}",signature:{properties:[{key:"getBackdropProps",value:{name:"IUseModalReturnValue['getBackdropProps']",raw:"IUseModalReturnValue['getBackdropProps']",required:!0}},{key:"getModalProps",value:{name:"IUseModalReturnValue['getModalProps']",raw:"IUseModalReturnValue['getModalProps']",required:!0}},{key:"getCloseProps",value:{name:"IUseModalReturnValue['getCloseProps']",raw:"IUseModalReturnValue['getCloseProps']",required:!0}},{key:"getTitleProps",value:{name:"IUseModalReturnValue['getTitleProps']",raw:"IUseModalReturnValue['getTitleProps']",required:!0}},{key:"getContentProps",value:{name:"IUseModalReturnValue['getContentProps']",raw:"IUseModalReturnValue['getContentProps']",required:!0}},{key:"closeModal",value:{name:"IUseModalReturnValue['closeModal']",raw:"IUseModalReturnValue['closeModal']",required:!1}}]}},name:"options"}],return:{name:"ReactNode"}}},description:"Provides modal render prop functions\n\n@param {function} [options.getBackdropProps] Backdrop props getter\n@param {function} [options.getModalProps] Modal dialog props getter\n@param {function} [options.getCloseProps] Modal close button props getter\n@param {function} [options.getTitleProps] Modal title props getter\n@param {function} [options.getContentProps] Modal content props getter",defaultValue:{value:"children",computed:!1},type:{name:"func"}},children:{required:!1,tsType:{name:"signature",type:"function",raw:"(options: IUseModalReturnValue) => ReactNode",signature:{arguments:[{type:{name:"IUseModalReturnValue"},name:"options"}],return:{name:"ReactNode"}}},description:"@ignore",type:{name:"func"}}}};__webpack_require__("./node_modules/@storybook/react/dist/index.mjs");const Component=(0,react.forwardRef)(((_ref,ref)=>{let{isOpen,onOpen,getBackdropProps,getModalProps,getTitleProps,getContentProps,getCloseProps}=_ref;return react.createElement("div",{className:"flex items-center",style:{minHeight:240}},react.createElement("button",{className:"px-2 py-1",type:"button",onClick:onOpen},"Open"),!!isOpen&&react.createElement("div",(0,esm_extends.A)({className:"absolute bg-grey-700 flex top-0 right-0 bottom-0 left-0 items-center justify-center"},getBackdropProps()),react.createElement("div",(0,esm_extends.A)({className:"bg-white border border-solid p-6 relative rounded"},getModalProps(),{ref}),react.createElement("h1",(0,esm_extends.A)({className:"mb-3 text-lg"},getTitleProps()),"Modal"),react.createElement("div",getContentProps(),react.createElement("label",null,react.createElement("span",null,"Tabbable"),react.createElement("input",{className:"block mb-2"})),react.createElement("label",null,react.createElement("span",null,"Tabbable"),react.createElement("input",{className:"block mb-2"})),react.createElement("button",{className:"mt-2 px-2 py-1",type:"button"},"Tabbable")),react.createElement("button",(0,esm_extends.A)({className:"absolute bg-transparent border-none h-6 w-6 top-4 right-4"},getCloseProps({"aria-label":"Close modal"}),{type:"button"}),"❎"))))}));Component.displayName="Component";const Container=_ref2=>{let{isOpen,onOpen,modalRef,...props}=_ref2;return react.createElement(ModalContainer,(0,esm_extends.A)({modalRef},props),(containerProps=>react.createElement(Component,(0,esm_extends.A)({isOpen,onOpen},containerProps,{ref:modalRef}))))},Hook=_ref3=>{let{isOpen,onOpen,modalRef,...props}=_ref3;const hookProps=useModal({modalRef,...props});return react.createElement(Component,(0,esm_extends.A)({isOpen,onOpen},hookProps,{ref:modalRef}))},ModalStory=_ref4=>{let{as,...props}=_ref4;return"container"===as?react.createElement(Container,props):react.createElement(Hook,props)};ModalStory.__docgenInfo={description:"",methods:[],displayName:"ModalStory"};const modal_stories={title:"Packages/Modal",component:ModalContainer},Modal={render:function Render(args){const modalRef=(0,react.useRef)(null),updateArgs=(0,external_STORYBOOK_MODULE_PREVIEW_API_.useArgs)()[1];return react.createElement(ModalStory,(0,esm_extends.A)({},args,{modalRef,onClose:()=>updateArgs({isOpen:!1}),onOpen:()=>updateArgs({isOpen:!0})}))},name:"Modal",args:{as:"hook",isOpen:!0,focusOnMount:!0,restoreFocus:!0},argTypes:{as:{options:["container","hook"],control:"radio",table:{category:"Story"}},isOpen:{table:{category:"Story"}},modalRef:{control:!1}}},__namedExportsOrder=["Modal"];Modal.parameters={...Modal.parameters,docs:{...Modal.parameters?.docs,source:{originalSource:"{\n render: function Render(args) {\n const modalRef = useRef(null);\n const updateArgs = useArgs()[1];\n return updateArgs({\n isOpen: false\n })} onOpen={() => updateArgs({\n isOpen: true\n })} />;\n },\n name: 'Modal',\n args: {\n as: 'hook',\n isOpen: true,\n focusOnMount: true,\n restoreFocus: true\n },\n argTypes: {\n as: {\n options: ['container', 'hook'],\n control: 'radio',\n table: {\n category: 'Story'\n }\n },\n isOpen: {\n table: {\n category: 'Story'\n }\n },\n modalRef: {\n control: false\n }\n }\n}",...Modal.parameters?.docs?.source}}}},"./packages/focusjail/src/useFocusJail.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{e:()=>useFocusJail});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_zendeskgarden_container_utilities__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./packages/utilities/src/utils/composeEventHandlers.ts"),_zendeskgarden_container_utilities__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./packages/utilities/src/utils/KeyboardEventValues.ts"),tabbable__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/tabbable/dist/index.esm.js"),dom_helpers_activeElement__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/dom-helpers/esm/activeElement.js");const useFocusJail=function(_temp){let{focusOnMount=!0,restoreFocus=!0,environment,focusElem,containerRef}=void 0===_temp?{containerRef:(0,react__WEBPACK_IMPORTED_MODULE_0__.createRef)()}:_temp;const restoreFocusElement=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null),[currentRef,setCurrentRef]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(containerRef.current);(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{containerRef.current!==currentRef&&setCurrentRef(containerRef.current)}));const focusElement=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((element=>{const htmlElement=element;focusElem?focusElem(htmlElement):htmlElement&&htmlElement.focus()}),[focusElem]),getInitialFocusNode=()=>{const doc=environment||document,activeElem=(0,dom_helpers_activeElement__WEBPACK_IMPORTED_MODULE_1__.A)(doc),containerElem=currentRef;return containerElem.contains(activeElem)?activeElem:containerElem};return(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{const doc=environment||document;return restoreFocusElement.current=(0,dom_helpers_activeElement__WEBPACK_IMPORTED_MODULE_1__.A)(doc),focusOnMount&&focusElement(currentRef),()=>{const isBodyInactive=restoreFocusElement.current!==doc.body,hasActiveElement=null!==restoreFocusElement.current;isBodyInactive&&hasActiveElement&&restoreFocus&&focusElement(restoreFocusElement.current)}}),[focusOnMount,restoreFocus,environment,focusElement,currentRef]),{getContainerProps:function(_temp2){let{onKeyDown,...other}=void 0===_temp2?{}:_temp2;return{onKeyDown:(0,_zendeskgarden_container_utilities__WEBPACK_IMPORTED_MODULE_3__.m)(onKeyDown,(event=>{if(event.key!==_zendeskgarden_container_utilities__WEBPACK_IMPORTED_MODULE_4__.R.TAB)return;(()=>{if(!currentRef)throw new Error("Accessibility Error: You must apply the ref prop to your containing element.")})();const tabbableNodes=(()=>{const elements=(0,tabbable__WEBPACK_IMPORTED_MODULE_2__.Kr)(currentRef);return{firstItem:elements[0]||getInitialFocusNode(),lastItem:elements[elements.length-1]||getInitialFocusNode()}})();!event.shiftKey||event.target!==tabbableNodes.firstItem&&event.target!==currentRef||(focusElement(tabbableNodes.lastItem),event.preventDefault()),event.shiftKey||event.target!==tabbableNodes.lastItem||(focusElement(tabbableNodes.firstItem),event.preventDefault())})),"data-garden-container-id":"containers.focusjail","data-garden-container-version":"storybook",...other}},focusElement}}},"./packages/utilities/src/utils/KeyboardEventValues.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{R:()=>KEYS});const KEYS={ALT:"Alt",ASTERISK:"*",BACKSPACE:"Backspace",COMMA:",",DELETE:"Delete",DOWN:"ArrowDown",END:"End",ENTER:"Enter",ESCAPE:"Escape",HOME:"Home",LEFT:"ArrowLeft",NUMPAD_ADD:"Add",NUMPAD_DECIMAL:"Decimal",NUMPAD_DIVIDE:"Divide",NUMPAD_ENTER:"Enter",NUMPAD_MULTIPLY:"Multiply",NUMPAD_SUBTRACT:"Subtract",PAGE_DOWN:"PageDown",PAGE_UP:"PageUp",PERIOD:".",RIGHT:"ArrowRight",SHIFT:"Shift",SPACE:" ",TAB:"Tab",UNIDENTIFIED:"Unidentified",UP:"ArrowUp"}},"./packages/utilities/src/utils/composeEventHandlers.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";function composeEventHandlers(){for(var _len=arguments.length,fns=new Array(_len),_key=0;_key<_len;_key++)fns[_key]=arguments[_key];return function(event){for(var _len2=arguments.length,args=new Array(_len2>1?_len2-1:0),_key2=1;_key2<_len2;_key2++)args[_key2-1]=arguments[_key2];return fns.some((fn=>(fn&&fn(event,...args),event&&event.defaultPrevented)))}}__webpack_require__.d(__webpack_exports__,{m:()=>composeEventHandlers})},"./packages/utilities/src/utils/useId.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{B:()=>useId});var _reach_auto_id__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@reach/auto-id/dist/reach-auto-id.mjs");let idCounter=0;const useId=id=>(0,_reach_auto_id__WEBPACK_IMPORTED_MODULE_0__.B)(id)||"id:"+idCounter++},"./node_modules/memoizerific sync recursive":module=>{function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="./node_modules/memoizerific sync recursive",module.exports=webpackEmptyContext},"./node_modules/react/cjs/react-jsx-runtime.production.min.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var f=__webpack_require__("./node_modules/react/index.js"),k=Symbol.for("react.element"),l=Symbol.for("react.fragment"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};function q(c,a,g){var b,d={},e=null,h=null;for(b in void 0!==g&&(e=""+g),void 0!==a.key&&(e=""+a.key),void 0!==a.ref&&(h=a.ref),a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l,exports.jsx=q,exports.jsxs=q},"./node_modules/react/jsx-runtime.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=__webpack_require__("./node_modules/react/cjs/react-jsx-runtime.production.min.js")}}]); \ No newline at end of file +/*! For license information please see modal-demo-modal-mdx.fae05ec7.iframe.bundle.js.LICENSE.txt */ +(self.webpackChunk_zendeskgarden_react_containers=self.webpackChunk_zendeskgarden_react_containers||[]).push([[6608,6946],{"./node_modules/@mdx-js/react/lib/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{R:()=>useMDXComponents,x:()=>MDXProvider});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");const emptyComponents={},MDXContext=react__WEBPACK_IMPORTED_MODULE_0__.createContext(emptyComponents);function useMDXComponents(components){const contextComponents=react__WEBPACK_IMPORTED_MODULE_0__.useContext(MDXContext);return react__WEBPACK_IMPORTED_MODULE_0__.useMemo((function(){return"function"==typeof components?components(contextComponents):{...contextComponents,...components}}),[contextComponents,components])}function MDXProvider(properties){let allComponents;return allComponents=properties.disableParentContext?"function"==typeof properties.components?properties.components(emptyComponents):properties.components||emptyComponents:useMDXComponents(properties.components),react__WEBPACK_IMPORTED_MODULE_0__.createElement(MDXContext.Provider,{value:allComponents},properties.children)}},"./node_modules/@reach/auto-id/dist/reach-auto-id.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{B:()=>useId});var react=__webpack_require__("./node_modules/react/index.js"),react_namespaceObject=__webpack_require__.t(react,2);function canUseDOM(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}var useIsomorphicLayoutEffect=canUseDOM()?react.useLayoutEffect:react.useEffect;var serverHandoffComplete=!1,id=0;function genId(){return++id}var maybeReactUseId=react_namespaceObject["useId".toString()];function useId(providedId){if(void 0!==maybeReactUseId){let generatedId=maybeReactUseId();return providedId??generatedId}let initialId=providedId??(serverHandoffComplete?genId():null),[id2,setId]=react.useState(initialId);return useIsomorphicLayoutEffect((()=>{null===id2&&setId(genId())}),[]),react.useEffect((()=>{!1===serverHandoffComplete&&(serverHandoffComplete=!0)}),[]),providedId??id2??void 0}},"./packages/modal/demo/modal.mdx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>MDXContent});__webpack_require__("./node_modules/react/index.js");var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js"),lib=__webpack_require__("./node_modules/@mdx-js/react/lib/index.js"),dist=__webpack_require__("./node_modules/@storybook/blocks/dist/index.mjs");const README_namespaceObject="# @zendeskgarden/container-modal [![npm version][npm version badge]][npm version link]\n\n[npm version badge]: https://flat.badgen.net/npm/v/@zendeskgarden/container-modal\n[npm version link]: https://www.npmjs.com/package/@zendeskgarden/container-modal\n\nThis package includes containers relating to modals in the\n[Garden Design System](https://zendeskgarden.github.io/).\n\n## Installation\n\n```sh\nnpm install @zendeskgarden/container-modal\n```\n\n## Usage\n\nThis container implements the\n[dialog](https://www.w3.org/TR/wai-aria-practices/#dialog_modal) design pattern\nand can be used to build a modal component. Check out\n[storybook](https://zendeskgarden.github.io/react-containers) for live examples.\n\n### useModal\n\n```jsx\nimport { useRef } from 'react';\nimport { useModal } from '@zendeskgarden/container-modal';\n\nconst Modal = () => {\n const [isModalVisible, setModalVisibility] = useState(false);\n const modalRef = useRef(null);\n const { getBackdropProps, getModalProps, getTitleProps, getContentProps, getCloseProps } =\n useModal({ onClose: () => setModalVisibility(false), modalRef });\n\n return (\n <>\n \n {isModalVisible && (\n \n \n

Example header

\n
\n

Modal contents

\n \n \n
\n \n X\n \n \n \n )}\n \n );\n};\n```\n\n### ModalContainer\n\n```jsx\nimport { useRef } from 'react';\nimport { ModalContainer } from '@zendeskgarden/container-modal';\n\nconst Modal = () => {\n const [isModalVisible, setModalVisibility] = useState(false);\n const modalRef = useRef(null);\n\n return (\n <>\n \n setModalVisibility(false)}>\n {({ getBackdropProps, getModalProps, getTitleProps, getContentProps, getCloseProps }) => {\n return (\n isModalVisible && (\n \n \n

Example header

\n
\n

Modal contents

\n \n \n
\n \n X\n \n \n \n )\n );\n }}\n
\n \n );\n};\n```\n";var modal_stories=__webpack_require__("./packages/modal/demo/modal.stories.tsx");function _createMdxContent(props){const _components={h1:"h1",...(0,lib.R)(),...props.components};return(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsx)(dist.W8,{of:modal_stories}),"\n",(0,jsx_runtime.jsx)(_components.h1,{id:"api",children:"API"}),"\n",(0,jsx_runtime.jsx)(dist.H2,{}),"\n",(0,jsx_runtime.jsx)(_components.h1,{id:"demo",children:"Demo"}),"\n",(0,jsx_runtime.jsx)(dist.Hl,{children:(0,jsx_runtime.jsx)(dist.gG,{of:modal_stories.Modal})}),"\n",(0,jsx_runtime.jsx)(dist.oz,{children:README_namespaceObject})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={...(0,lib.R)(),...props.components};return MDXLayout?(0,jsx_runtime.jsx)(MDXLayout,{...props,children:(0,jsx_runtime.jsx)(_createMdxContent,{...props})}):_createMdxContent(props)}},"./node_modules/@storybook/core/dist/components sync recursive":module=>{function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="./node_modules/@storybook/core/dist/components sync recursive",module.exports=webpackEmptyContext},"./node_modules/@storybook/core/dist/theming sync recursive":module=>{function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="./node_modules/@storybook/core/dist/theming sync recursive",module.exports=webpackEmptyContext},"./packages/modal/demo/modal.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Modal:()=>Modal,__namedExportsOrder:()=>__namedExportsOrder,default:()=>modal_stories});var esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),react=__webpack_require__("./node_modules/react/index.js"),external_STORYBOOK_MODULE_PREVIEW_API_=__webpack_require__("storybook/internal/preview-api"),prop_types=__webpack_require__("./node_modules/prop-types/index.js"),prop_types_default=__webpack_require__.n(prop_types),useId=__webpack_require__("./packages/utilities/src/utils/useId.ts"),composeEventHandlers=__webpack_require__("./packages/utilities/src/utils/composeEventHandlers.ts"),KeyboardEventValues=__webpack_require__("./packages/utilities/src/utils/KeyboardEventValues.ts"),useFocusJail=__webpack_require__("./packages/focusjail/src/useFocusJail.ts");const useModal=_ref=>{let{onClose,modalRef,idPrefix,focusOnMount,restoreFocus,environment}=_ref;const prefix=(0,useId.B)(idPrefix),titleId=`${prefix}__title`,contentId=`${prefix}__content`,isModalMousedDownRef=(0,react.useRef)(!1),closeModal=event=>{onClose&&onClose(event)},{getContainerProps}=(0,useFocusJail.e)({containerRef:modalRef,focusOnMount,restoreFocus,environment});return{getBackdropProps:function(_temp){let{onMouseUp,...other}=void 0===_temp?{}:_temp;return{onMouseUp:(0,composeEventHandlers.m)(onMouseUp,(event=>{const isModalContainer="containers.modal"===event.target.getAttribute("data-garden-container-id");!isModalMousedDownRef.current&&isModalContainer&&closeModal(event),isModalMousedDownRef.current=!1})),"data-garden-container-id":"containers.modal","data-garden-container-version":"storybook",...other}},getModalProps:props=>getContainerProps(function(_temp2){let{role="dialog",onKeyDown,onMouseDown,...other}=void 0===_temp2?{}:_temp2;return{role:null===role?void 0:role,tabIndex:-1,"aria-modal":!0,"aria-labelledby":titleId,"aria-describedby":contentId,onMouseDown:(0,composeEventHandlers.m)(onMouseDown,(()=>{isModalMousedDownRef.current=!0})),onKeyDown:(0,composeEventHandlers.m)(onKeyDown,(event=>{event.key===KeyboardEventValues.R.ESCAPE&&closeModal(event)})),...other}}(props)),getTitleProps:function(_temp3){let{id=titleId,...other}=void 0===_temp3?{}:_temp3;return{id,...other}},getContentProps:function(_temp4){let{id=contentId,...other}=void 0===_temp4?{}:_temp4;return{id,...other}},getCloseProps:_ref2=>{let{onClick,...other}=_ref2;return{onClick:(0,composeEventHandlers.m)(onClick,(event=>{closeModal(event)})),...other}},closeModal}},ModalContainer=_ref=>{let{children,render=children,...options}=_ref;return react.createElement(react.Fragment,null,render(useModal(options)))};ModalContainer.propTypes={children:prop_types_default().func,render:prop_types_default().func,onClose:prop_types_default().func,modalRef:prop_types_default().any.isRequired,idPrefix:prop_types_default().string,focusOnMount:prop_types_default().bool,restoreFocus:prop_types_default().bool,environment:prop_types_default().any},ModalContainer.defaultProps={focusOnMount:!0,restoreFocus:!0},ModalContainer.__docgenInfo={description:"",methods:[],displayName:"ModalContainer",props:{onClose:{required:!1,tsType:{name:"signature",type:"function",raw:"(event: KeyboardEvent | MouseEvent) => void",signature:{arguments:[{type:{name:"union",raw:"KeyboardEvent | MouseEvent",elements:[{name:"KeyboardEvent"},{name:"MouseEvent"}]},name:"event"}],return:{name:"void"}}},description:"Handles close actions",type:{name:"func"}},modalRef:{required:!0,tsType:{name:"RefObject",elements:[{name:"T"}],raw:"RefObject"},description:"Provides ref access to the underlying dialog element",type:{name:"any"}},idPrefix:{required:!1,tsType:{name:"string"},description:"Prefixes IDs for modal elements",type:{name:"string"}},focusOnMount:{required:!1,tsType:{name:"boolean"},description:"Directs keyboard focus to the modal on mount",defaultValue:{value:"true",computed:!1},type:{name:"bool"}},restoreFocus:{required:!1,tsType:{name:"boolean"},description:"Returns keyboard focus to the element that triggered the modal",defaultValue:{value:"true",computed:!1},type:{name:"bool"}},environment:{required:!1,tsType:{name:"Document"},description:"Sets the environment where the modal is rendered",type:{name:"any"}},render:{required:!1,tsType:{name:"signature",type:"function",raw:"(options: {\n getBackdropProps: IUseModalReturnValue['getBackdropProps'];\n getModalProps: IUseModalReturnValue['getModalProps'];\n getCloseProps: IUseModalReturnValue['getCloseProps'];\n getTitleProps: IUseModalReturnValue['getTitleProps'];\n getContentProps: IUseModalReturnValue['getContentProps'];\n closeModal?: IUseModalReturnValue['closeModal'];\n}) => ReactNode",signature:{arguments:[{type:{name:"signature",type:"object",raw:"{\n getBackdropProps: IUseModalReturnValue['getBackdropProps'];\n getModalProps: IUseModalReturnValue['getModalProps'];\n getCloseProps: IUseModalReturnValue['getCloseProps'];\n getTitleProps: IUseModalReturnValue['getTitleProps'];\n getContentProps: IUseModalReturnValue['getContentProps'];\n closeModal?: IUseModalReturnValue['closeModal'];\n}",signature:{properties:[{key:"getBackdropProps",value:{name:"IUseModalReturnValue['getBackdropProps']",raw:"IUseModalReturnValue['getBackdropProps']",required:!0}},{key:"getModalProps",value:{name:"IUseModalReturnValue['getModalProps']",raw:"IUseModalReturnValue['getModalProps']",required:!0}},{key:"getCloseProps",value:{name:"IUseModalReturnValue['getCloseProps']",raw:"IUseModalReturnValue['getCloseProps']",required:!0}},{key:"getTitleProps",value:{name:"IUseModalReturnValue['getTitleProps']",raw:"IUseModalReturnValue['getTitleProps']",required:!0}},{key:"getContentProps",value:{name:"IUseModalReturnValue['getContentProps']",raw:"IUseModalReturnValue['getContentProps']",required:!0}},{key:"closeModal",value:{name:"IUseModalReturnValue['closeModal']",raw:"IUseModalReturnValue['closeModal']",required:!1}}]}},name:"options"}],return:{name:"ReactNode"}}},description:"Provides modal render prop functions\n\n@param {function} [options.getBackdropProps] Backdrop props getter\n@param {function} [options.getModalProps] Modal dialog props getter\n@param {function} [options.getCloseProps] Modal close button props getter\n@param {function} [options.getTitleProps] Modal title props getter\n@param {function} [options.getContentProps] Modal content props getter",defaultValue:{value:"children",computed:!1},type:{name:"func"}},children:{required:!1,tsType:{name:"signature",type:"function",raw:"(options: IUseModalReturnValue) => ReactNode",signature:{arguments:[{type:{name:"IUseModalReturnValue"},name:"options"}],return:{name:"ReactNode"}}},description:"@ignore",type:{name:"func"}}}};__webpack_require__("./node_modules/@storybook/react/dist/index.mjs");const Component=(0,react.forwardRef)(((_ref,ref)=>{let{isOpen,onOpen,getBackdropProps,getModalProps,getTitleProps,getContentProps,getCloseProps}=_ref;return react.createElement("div",{className:"flex items-center",style:{minHeight:240}},react.createElement("button",{className:"px-2 py-1",type:"button",onClick:onOpen},"Open"),!!isOpen&&react.createElement("div",(0,esm_extends.A)({className:"absolute bg-grey-700 flex top-0 right-0 bottom-0 left-0 items-center justify-center"},getBackdropProps()),react.createElement("div",(0,esm_extends.A)({className:"bg-white border border-solid p-6 relative rounded"},getModalProps(),{ref}),react.createElement("h1",(0,esm_extends.A)({className:"mb-3 text-lg"},getTitleProps()),"Modal"),react.createElement("div",getContentProps(),react.createElement("label",null,react.createElement("span",null,"Tabbable"),react.createElement("input",{className:"block mb-2"})),react.createElement("label",null,react.createElement("span",null,"Tabbable"),react.createElement("input",{className:"block mb-2"})),react.createElement("button",{className:"mt-2 px-2 py-1",type:"button"},"Tabbable")),react.createElement("button",(0,esm_extends.A)({className:"absolute bg-transparent border-none h-6 w-6 top-4 right-4"},getCloseProps({"aria-label":"Close modal"}),{type:"button"}),"❎"))))}));Component.displayName="Component";const Container=_ref2=>{let{isOpen,onOpen,modalRef,...props}=_ref2;return react.createElement(ModalContainer,(0,esm_extends.A)({modalRef},props),(containerProps=>react.createElement(Component,(0,esm_extends.A)({isOpen,onOpen},containerProps,{ref:modalRef}))))},Hook=_ref3=>{let{isOpen,onOpen,modalRef,...props}=_ref3;const hookProps=useModal({modalRef,...props});return react.createElement(Component,(0,esm_extends.A)({isOpen,onOpen},hookProps,{ref:modalRef}))},ModalStory=_ref4=>{let{as,...props}=_ref4;return"container"===as?react.createElement(Container,props):react.createElement(Hook,props)};ModalStory.__docgenInfo={description:"",methods:[],displayName:"ModalStory"};const modal_stories={title:"Packages/Modal",component:ModalContainer},Modal={render:function Render(args){const modalRef=(0,react.useRef)(null),updateArgs=(0,external_STORYBOOK_MODULE_PREVIEW_API_.useArgs)()[1];return react.createElement(ModalStory,(0,esm_extends.A)({},args,{modalRef,onClose:()=>updateArgs({isOpen:!1}),onOpen:()=>updateArgs({isOpen:!0})}))},name:"Modal",args:{as:"hook",isOpen:!0,focusOnMount:!0,restoreFocus:!0},argTypes:{as:{options:["container","hook"],control:"radio",table:{category:"Story"}},isOpen:{table:{category:"Story"}},modalRef:{control:!1}}},__namedExportsOrder=["Modal"];Modal.parameters={...Modal.parameters,docs:{...Modal.parameters?.docs,source:{originalSource:"{\n render: function Render(args) {\n const modalRef = useRef(null);\n const updateArgs = useArgs()[1];\n return updateArgs({\n isOpen: false\n })} onOpen={() => updateArgs({\n isOpen: true\n })} />;\n },\n name: 'Modal',\n args: {\n as: 'hook',\n isOpen: true,\n focusOnMount: true,\n restoreFocus: true\n },\n argTypes: {\n as: {\n options: ['container', 'hook'],\n control: 'radio',\n table: {\n category: 'Story'\n }\n },\n isOpen: {\n table: {\n category: 'Story'\n }\n },\n modalRef: {\n control: false\n }\n }\n}",...Modal.parameters?.docs?.source}}}},"./packages/focusjail/src/useFocusJail.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{e:()=>useFocusJail});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_zendeskgarden_container_utilities__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./packages/utilities/src/utils/composeEventHandlers.ts"),_zendeskgarden_container_utilities__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./packages/utilities/src/utils/KeyboardEventValues.ts"),tabbable__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/tabbable/dist/index.esm.js"),dom_helpers_activeElement__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/dom-helpers/esm/activeElement.js");const useFocusJail=function(_temp){let{focusOnMount=!0,restoreFocus=!0,environment,focusElem,containerRef}=void 0===_temp?{containerRef:(0,react__WEBPACK_IMPORTED_MODULE_0__.createRef)()}:_temp;const restoreFocusElement=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null),[currentRef,setCurrentRef]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(containerRef.current);(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{containerRef.current!==currentRef&&setCurrentRef(containerRef.current)}));const focusElement=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((element=>{const htmlElement=element;focusElem?focusElem(htmlElement):htmlElement&&htmlElement.focus()}),[focusElem]),getInitialFocusNode=()=>{const doc=environment||document,activeElem=(0,dom_helpers_activeElement__WEBPACK_IMPORTED_MODULE_1__.A)(doc),containerElem=currentRef;return containerElem.contains(activeElem)?activeElem:containerElem};return(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{const doc=environment||document;return restoreFocusElement.current=(0,dom_helpers_activeElement__WEBPACK_IMPORTED_MODULE_1__.A)(doc),focusOnMount&&focusElement(currentRef),()=>{const isBodyInactive=restoreFocusElement.current!==doc.body,hasActiveElement=null!==restoreFocusElement.current;isBodyInactive&&hasActiveElement&&restoreFocus&&focusElement(restoreFocusElement.current)}}),[focusOnMount,restoreFocus,environment,focusElement,currentRef]),{getContainerProps:function(_temp2){let{onKeyDown,...other}=void 0===_temp2?{}:_temp2;return{onKeyDown:(0,_zendeskgarden_container_utilities__WEBPACK_IMPORTED_MODULE_3__.m)(onKeyDown,(event=>{if(event.key!==_zendeskgarden_container_utilities__WEBPACK_IMPORTED_MODULE_4__.R.TAB)return;(()=>{if(!currentRef)throw new Error("Accessibility Error: You must apply the ref prop to your containing element.")})();const tabbableNodes=(()=>{const elements=(0,tabbable__WEBPACK_IMPORTED_MODULE_2__.Kr)(currentRef);return{firstItem:elements[0]||getInitialFocusNode(),lastItem:elements[elements.length-1]||getInitialFocusNode()}})();!event.shiftKey||event.target!==tabbableNodes.firstItem&&event.target!==currentRef||(focusElement(tabbableNodes.lastItem),event.preventDefault()),event.shiftKey||event.target!==tabbableNodes.lastItem||(focusElement(tabbableNodes.firstItem),event.preventDefault())})),"data-garden-container-id":"containers.focusjail","data-garden-container-version":"storybook",...other}},focusElement}}},"./packages/utilities/src/utils/KeyboardEventValues.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{R:()=>KEYS});const KEYS={ALT:"Alt",ASTERISK:"*",BACKSPACE:"Backspace",COMMA:",",DELETE:"Delete",DOWN:"ArrowDown",END:"End",ENTER:"Enter",ESCAPE:"Escape",HOME:"Home",LEFT:"ArrowLeft",NUMPAD_ADD:"Add",NUMPAD_DECIMAL:"Decimal",NUMPAD_DIVIDE:"Divide",NUMPAD_ENTER:"Enter",NUMPAD_MULTIPLY:"Multiply",NUMPAD_SUBTRACT:"Subtract",PAGE_DOWN:"PageDown",PAGE_UP:"PageUp",PERIOD:".",RIGHT:"ArrowRight",SHIFT:"Shift",SPACE:" ",TAB:"Tab",UNIDENTIFIED:"Unidentified",UP:"ArrowUp"}},"./packages/utilities/src/utils/composeEventHandlers.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";function composeEventHandlers(){for(var _len=arguments.length,fns=new Array(_len),_key=0;_key<_len;_key++)fns[_key]=arguments[_key];return function(event){for(var _len2=arguments.length,args=new Array(_len2>1?_len2-1:0),_key2=1;_key2<_len2;_key2++)args[_key2-1]=arguments[_key2];return fns.some((fn=>(fn&&fn(event,...args),event&&event.defaultPrevented)))}}__webpack_require__.d(__webpack_exports__,{m:()=>composeEventHandlers})},"./packages/utilities/src/utils/useId.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{B:()=>useId});var _reach_auto_id__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@reach/auto-id/dist/reach-auto-id.mjs");let idCounter=0;const useId=id=>(0,_reach_auto_id__WEBPACK_IMPORTED_MODULE_0__.B)(id)||"id:"+idCounter++},"./node_modules/memoizerific sync recursive":module=>{function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="./node_modules/memoizerific sync recursive",module.exports=webpackEmptyContext}}]); \ No newline at end of file diff --git a/modal-demo-modal-mdx.4b7215f4.iframe.bundle.js.LICENSE.txt b/modal-demo-modal-mdx.fae05ec7.iframe.bundle.js.LICENSE.txt similarity index 66% rename from modal-demo-modal-mdx.4b7215f4.iframe.bundle.js.LICENSE.txt rename to modal-demo-modal-mdx.fae05ec7.iframe.bundle.js.LICENSE.txt index e7ef4226d..fe7dd7b61 100644 --- a/modal-demo-modal-mdx.4b7215f4.iframe.bundle.js.LICENSE.txt +++ b/modal-demo-modal-mdx.fae05ec7.iframe.bundle.js.LICENSE.txt @@ -19,13 +19,3 @@ * * @license MIT */ - -/** - * @license React - * react-jsx-runtime.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ diff --git a/project.json b/project.json index 48ddd607a..ad1d870e3 100644 --- a/project.json +++ b/project.json @@ -1 +1 @@ -{"generatedAt":1727198791222,"hasCustomBabel":false,"hasCustomWebpack":true,"hasStaticDirs":false,"hasStorybookEslint":false,"refCount":0,"testPackages":{"@swc/jest":"0.2.36","@testing-library/dom":"10.4.0","@testing-library/jest-dom":"6.4.8","@testing-library/react":"16.0.0","@testing-library/react-hooks":"8.0.1","@testing-library/user-event":null,"@types/jest":"29.5.12","jest":"29.7.0","jest-environment-jsdom":"29.7.0"},"monorepo":"Lerna","packageManager":{"type":"npm","version":"10.8.2"},"preview":{"usesGlobals":true},"framework":{"name":"@storybook/react-webpack5","options":{}},"builder":"@storybook/builder-webpack5","renderer":"@storybook/react","storybookVersion":"8.2.5","storybookVersionSpecifier":"8.2.5","language":"typescript","storybookPackages":{"@storybook/addon-a11y":{"version":"8.2.5"},"@storybook/addon-mdx-gfm":{"version":"8.2.5"},"@storybook/blocks":{"version":"8.2.5"},"@storybook/react":{"version":"8.2.5"},"@storybook/react-webpack5":{"version":"8.2.5"},"storybook":{"version":"8.2.5"}},"addons":{"@storybook/addon-essentials":{"options":{"backgrounds":false,"measure":false,"outline":false,"viewport":false},"version":"8.2.5"},"@storybook/addon-styling":{"version":"1.3.7"},"$SNIP/node_modules/@storybook/addon-a11y":{"version":null},"$SNIP/node_modules/@storybook/addon-mdx-gfm":{"version":null},"@storybook/addon-webpack5-compiler-babel":{"version":"3.0.3"}}} +{"generatedAt":1727199532892,"hasCustomBabel":false,"hasCustomWebpack":true,"hasStaticDirs":false,"hasStorybookEslint":false,"refCount":0,"testPackages":{"@swc/jest":"0.2.36","@testing-library/dom":"10.4.0","@testing-library/jest-dom":"6.5.0","@testing-library/react":"16.0.1","@testing-library/react-hooks":"8.0.1","@testing-library/user-event":null,"@types/jest":"29.5.13","jest":"29.7.0","jest-environment-jsdom":"29.7.0"},"monorepo":"Lerna","packageManager":{"type":"npm","version":"10.8.2"},"preview":{"usesGlobals":true},"framework":{"name":"@storybook/react-webpack5","options":{}},"builder":"@storybook/builder-webpack5","renderer":"@storybook/react","portableStoriesFileCount":0,"storybookVersion":"8.3.3","storybookVersionSpecifier":"8.3.3","language":"typescript","storybookPackages":{"@storybook/addon-a11y":{"version":"8.3.3"},"@storybook/addon-mdx-gfm":{"version":"8.3.3"},"@storybook/blocks":{"version":"8.3.3"},"@storybook/react":{"version":"8.3.3"},"@storybook/react-webpack5":{"version":"8.3.3"},"storybook":{"version":"8.3.3"}},"addons":{"@storybook/addon-essentials":{"options":{"backgrounds":false,"measure":false,"outline":false,"viewport":false},"version":"8.3.3"},"@storybook/addon-styling":{"version":"1.3.7"},"$SNIP/node_modules/@storybook/addon-a11y":{"version":null},"$SNIP/node_modules/@storybook/addon-mdx-gfm":{"version":null},"@storybook/addon-webpack5-compiler-babel":{"version":"3.0.3"}}} diff --git a/runtime~main.ea65687a.iframe.bundle.js b/runtime~main.ea65687a.iframe.bundle.js new file mode 100644 index 000000000..447cf1214 --- /dev/null +++ b/runtime~main.ea65687a.iframe.bundle.js @@ -0,0 +1 @@ +(()=>{"use strict";var deferred,leafPrototypes,getProto,inProgress,__webpack_modules__={},__webpack_module_cache__={};function __webpack_require__(moduleId){var cachedModule=__webpack_module_cache__[moduleId];if(void 0!==cachedModule)return cachedModule.exports;var module=__webpack_module_cache__[moduleId]={id:moduleId,loaded:!1,exports:{}};return __webpack_modules__[moduleId].call(module.exports,module,module.exports,__webpack_require__),module.loaded=!0,module.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.amdO={},deferred=[],__webpack_require__.O=(result,chunkIds,fn,priority)=>{if(!chunkIds){var notFulfilled=1/0;for(i=0;i=priority)&&Object.keys(__webpack_require__.O).every((key=>__webpack_require__.O[key](chunkIds[j])))?chunkIds.splice(j--,1):(fulfilled=!1,priority0&&deferred[i-1][2]>priority;i--)deferred[i]=deferred[i-1];deferred[i]=[chunkIds,fn,priority]},__webpack_require__.n=module=>{var getter=module&&module.__esModule?()=>module.default:()=>module;return __webpack_require__.d(getter,{a:getter}),getter},getProto=Object.getPrototypeOf?obj=>Object.getPrototypeOf(obj):obj=>obj.__proto__,__webpack_require__.t=function(value,mode){if(1&mode&&(value=this(value)),8&mode)return value;if("object"==typeof value&&value){if(4&mode&&value.__esModule)return value;if(16&mode&&"function"==typeof value.then)return value}var ns=Object.create(null);__webpack_require__.r(ns);var def={};leafPrototypes=leafPrototypes||[null,getProto({}),getProto([]),getProto(getProto)];for(var current=2&mode&&value;"object"==typeof current&&!~leafPrototypes.indexOf(current);current=getProto(current))Object.getOwnPropertyNames(current).forEach((key=>def[key]=()=>value[key]));return def.default=()=>value,__webpack_require__.d(ns,def),ns},__webpack_require__.d=(exports,definition)=>{for(var key in definition)__webpack_require__.o(definition,key)&&!__webpack_require__.o(exports,key)&&Object.defineProperty(exports,key,{enumerable:!0,get:definition[key]})},__webpack_require__.f={},__webpack_require__.e=chunkId=>Promise.all(Object.keys(__webpack_require__.f).reduce(((promises,key)=>(__webpack_require__.f[key](chunkId,promises),promises)),[])),__webpack_require__.u=chunkId=>(({192:"schedule-demo-schedule-mdx",402:"combobox-demo-combobox-stories",986:"tooltip-demo-patterns-patterns-mdx",1094:"tabs-demo-tabs-stories",1240:"scrollregion-demo-scrollregion-mdx",1370:"menu-demo-menu-stories",1410:"menu-demo-patterns-patterns-stories",1612:"tabs-demo-tabs-mdx",1654:"focusjail-demo-focusjail-mdx",1674:"slider-demo-slider-stories",1886:"accordion-demo-accordion-mdx",2438:"grid-demo-grid-stories",2770:"schedule-demo-schedule-stories",2824:"slider-demo-slider-mdx",3076:"combobox-demo-patterns-patterns-mdx",3486:"combobox-demo-patterns-patterns-stories",3774:"breadcrumb-demo-breadcrumb-stories",3856:"combobox-demo-combobox-mdx",3966:"field-demo-field-mdx",3984:"focusjail-demo-focusjail-stories",4040:"field-demo-field-stories",4162:"focusvisible-demo-focusvisible-stories",5043:"focusvisible-demo-patterns-patterns-stories",5776:"focusvisible-demo-focusvisible-mdx",5914:"scrollregion-demo-scrollregion-stories",5976:"accordion-demo-accordion-stories",6094:"tooltip-demo-tooltip-stories",6436:"breadcrumb-demo-breadcrumb-mdx",6608:"modal-demo-modal-mdx",6684:"grid-demo-grid-mdx",6705:"focusvisible-demo-patterns-patterns-mdx",6816:"splitter-demo-splitter-mdx",6946:"modal-demo-modal-stories",7416:"menu-demo-menu-mdx",7456:"selection-demo-selection-stories",7588:"tooltip-demo-tooltip-mdx",7648:"menu-demo-patterns-patterns-mdx",8294:"selection-demo-selection-mdx",8786:"splitter-demo-splitter-stories",8796:"tooltip-demo-patterns-patterns-stories"}[chunkId]||chunkId)+"."+{192:"dfa9b0ea",402:"353989ef",986:"1e47cea5",1094:"eec47268",1120:"ada17066",1240:"43b21b1f",1294:"b248b5d0",1370:"61661f65",1410:"282d9b07",1612:"8ec06aa2",1654:"70e73e01",1674:"b364a71c",1886:"b2a2342d",2438:"0ceb75c0",2521:"4ab0b763",2770:"3c28f9a4",2824:"7972097d",3076:"db3c1cb8",3486:"2bcc8427",3660:"f6f635e8",3774:"7745e1b8",3856:"979f6cbc",3966:"45a77adb",3984:"369dcd2a",4040:"d21a42a9",4162:"db37f62e",5043:"dad79833",5615:"196377d3",5776:"e741549e",5914:"90abb04b",5942:"54b8d23b",5976:"18c5b9f2",6094:"0a929b09",6436:"4619e6fe",6608:"fae05ec7",6684:"1d71737d",6705:"425cc950",6736:"8d46564f",6816:"c89d4a4b",6946:"1784dcfb",7122:"4d1df3a8",7364:"378d004e",7416:"12252684",7456:"f3f10bf6",7588:"74128701",7648:"d1116a03",8294:"e6b2d9a9",8609:"f4e31c2f",8735:"b9d451ce",8786:"82213320",8796:"ff7d23ac"}[chunkId]+".iframe.bundle.js"),__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(obj,prop)=>Object.prototype.hasOwnProperty.call(obj,prop),inProgress={},__webpack_require__.l=(url,done,key,chunkId)=>{if(inProgress[url])inProgress[url].push(done);else{var script,needAttach;if(void 0!==key)for(var scripts=document.getElementsByTagName("script"),i=0;i{script.onerror=script.onload=null,clearTimeout(timeout);var doneFns=inProgress[url];if(delete inProgress[url],script.parentNode&&script.parentNode.removeChild(script),doneFns&&doneFns.forEach((fn=>fn(event))),prev)return prev(event)},timeout=setTimeout(onScriptComplete.bind(null,void 0,{type:"timeout",target:script}),12e4);script.onerror=onScriptComplete.bind(null,script.onerror),script.onload=onScriptComplete.bind(null,script.onload),needAttach&&document.head.appendChild(script)}},__webpack_require__.r=exports=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(exports,"__esModule",{value:!0})},__webpack_require__.nmd=module=>(module.paths=[],module.children||(module.children=[]),module),__webpack_require__.p="",(()=>{var installedChunks={5354:0};__webpack_require__.f.j=(chunkId,promises)=>{var installedChunkData=__webpack_require__.o(installedChunks,chunkId)?installedChunks[chunkId]:void 0;if(0!==installedChunkData)if(installedChunkData)promises.push(installedChunkData[2]);else if(5354!=chunkId){var promise=new Promise(((resolve,reject)=>installedChunkData=installedChunks[chunkId]=[resolve,reject]));promises.push(installedChunkData[2]=promise);var url=__webpack_require__.p+__webpack_require__.u(chunkId),error=new Error;__webpack_require__.l(url,(event=>{if(__webpack_require__.o(installedChunks,chunkId)&&(0!==(installedChunkData=installedChunks[chunkId])&&(installedChunks[chunkId]=void 0),installedChunkData)){var errorType=event&&("load"===event.type?"missing":event.type),realSrc=event&&event.target&&event.target.src;error.message="Loading chunk "+chunkId+" failed.\n("+errorType+": "+realSrc+")",error.name="ChunkLoadError",error.type=errorType,error.request=realSrc,installedChunkData[1](error)}}),"chunk-"+chunkId,chunkId)}else installedChunks[chunkId]=0},__webpack_require__.O.j=chunkId=>0===installedChunks[chunkId];var webpackJsonpCallback=(parentChunkLoadingFunction,data)=>{var moduleId,chunkId,[chunkIds,moreModules,runtime]=data,i=0;if(chunkIds.some((id=>0!==installedChunks[id]))){for(moduleId in moreModules)__webpack_require__.o(moreModules,moduleId)&&(__webpack_require__.m[moduleId]=moreModules[moduleId]);if(runtime)var result=runtime(__webpack_require__)}for(parentChunkLoadingFunction&&parentChunkLoadingFunction(data);i{"use strict";var deferred,leafPrototypes,getProto,inProgress,__webpack_modules__={},__webpack_module_cache__={};function __webpack_require__(moduleId){var cachedModule=__webpack_module_cache__[moduleId];if(void 0!==cachedModule)return cachedModule.exports;var module=__webpack_module_cache__[moduleId]={id:moduleId,loaded:!1,exports:{}};return __webpack_modules__[moduleId].call(module.exports,module,module.exports,__webpack_require__),module.loaded=!0,module.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.amdO={},deferred=[],__webpack_require__.O=(result,chunkIds,fn,priority)=>{if(!chunkIds){var notFulfilled=1/0;for(i=0;i=priority)&&Object.keys(__webpack_require__.O).every((key=>__webpack_require__.O[key](chunkIds[j])))?chunkIds.splice(j--,1):(fulfilled=!1,priority0&&deferred[i-1][2]>priority;i--)deferred[i]=deferred[i-1];deferred[i]=[chunkIds,fn,priority]},__webpack_require__.n=module=>{var getter=module&&module.__esModule?()=>module.default:()=>module;return __webpack_require__.d(getter,{a:getter}),getter},getProto=Object.getPrototypeOf?obj=>Object.getPrototypeOf(obj):obj=>obj.__proto__,__webpack_require__.t=function(value,mode){if(1&mode&&(value=this(value)),8&mode)return value;if("object"==typeof value&&value){if(4&mode&&value.__esModule)return value;if(16&mode&&"function"==typeof value.then)return value}var ns=Object.create(null);__webpack_require__.r(ns);var def={};leafPrototypes=leafPrototypes||[null,getProto({}),getProto([]),getProto(getProto)];for(var current=2&mode&&value;"object"==typeof current&&!~leafPrototypes.indexOf(current);current=getProto(current))Object.getOwnPropertyNames(current).forEach((key=>def[key]=()=>value[key]));return def.default=()=>value,__webpack_require__.d(ns,def),ns},__webpack_require__.d=(exports,definition)=>{for(var key in definition)__webpack_require__.o(definition,key)&&!__webpack_require__.o(exports,key)&&Object.defineProperty(exports,key,{enumerable:!0,get:definition[key]})},__webpack_require__.f={},__webpack_require__.e=chunkId=>Promise.all(Object.keys(__webpack_require__.f).reduce(((promises,key)=>(__webpack_require__.f[key](chunkId,promises),promises)),[])),__webpack_require__.u=chunkId=>(({192:"schedule-demo-schedule-mdx",402:"combobox-demo-combobox-stories",986:"tooltip-demo-patterns-patterns-mdx",1094:"tabs-demo-tabs-stories",1240:"scrollregion-demo-scrollregion-mdx",1370:"menu-demo-menu-stories",1410:"menu-demo-patterns-patterns-stories",1612:"tabs-demo-tabs-mdx",1654:"focusjail-demo-focusjail-mdx",1674:"slider-demo-slider-stories",1886:"accordion-demo-accordion-mdx",2438:"grid-demo-grid-stories",2770:"schedule-demo-schedule-stories",2824:"slider-demo-slider-mdx",3076:"combobox-demo-patterns-patterns-mdx",3486:"combobox-demo-patterns-patterns-stories",3774:"breadcrumb-demo-breadcrumb-stories",3856:"combobox-demo-combobox-mdx",3966:"field-demo-field-mdx",3984:"focusjail-demo-focusjail-stories",4040:"field-demo-field-stories",4162:"focusvisible-demo-focusvisible-stories",5043:"focusvisible-demo-patterns-patterns-stories",5776:"focusvisible-demo-focusvisible-mdx",5914:"scrollregion-demo-scrollregion-stories",5976:"accordion-demo-accordion-stories",6094:"tooltip-demo-tooltip-stories",6436:"breadcrumb-demo-breadcrumb-mdx",6608:"modal-demo-modal-mdx",6684:"grid-demo-grid-mdx",6705:"focusvisible-demo-patterns-patterns-mdx",6816:"splitter-demo-splitter-mdx",6946:"modal-demo-modal-stories",7416:"menu-demo-menu-mdx",7456:"selection-demo-selection-stories",7588:"tooltip-demo-tooltip-mdx",7648:"menu-demo-patterns-patterns-mdx",8294:"selection-demo-selection-mdx",8786:"splitter-demo-splitter-stories",8796:"tooltip-demo-patterns-patterns-stories"}[chunkId]||chunkId)+"."+{192:"00db43dc",402:"353989ef",986:"a7e4eb2b",1094:"75e8a885",1120:"381ca7fd",1240:"48308e38",1294:"b248b5d0",1370:"61661f65",1410:"282d9b07",1612:"2d77fc76",1654:"8cfc614c",1674:"5c5eb4fd",1886:"e03c3e4b",2438:"993d1cfe",2461:"bf344ebd",2521:"ddd96f82",2770:"7071f361",2824:"44355267",3076:"781ecce9",3486:"2bcc8427",3774:"ee494be1",3856:"9d2ef425",3966:"0f34f94a",3984:"369dcd2a",4040:"35fa3460",4162:"e0b37f6e",5043:"8c5eed6a",5438:"d17ebace",5615:"196377d3",5776:"bdfdd28b",5914:"4b0ac1f8",5942:"bca38b10",5976:"9c88aa1f",6094:"206fe3e8",6436:"0b5f27a9",6608:"4b7215f4",6684:"f5eab5dc",6705:"66f90239",6736:"5b140e96",6816:"539a1470",6946:"1784dcfb",7364:"378d004e",7416:"88db11c7",7456:"4aeed1f8",7588:"520931d1",7648:"4f0f1679",8294:"cf4b1627",8609:"f4e31c2f",8786:"6f394d36",8796:"6ebfb8c5"}[chunkId]+".iframe.bundle.js"),__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(obj,prop)=>Object.prototype.hasOwnProperty.call(obj,prop),inProgress={},__webpack_require__.l=(url,done,key,chunkId)=>{if(inProgress[url])inProgress[url].push(done);else{var script,needAttach;if(void 0!==key)for(var scripts=document.getElementsByTagName("script"),i=0;i{script.onerror=script.onload=null,clearTimeout(timeout);var doneFns=inProgress[url];if(delete inProgress[url],script.parentNode&&script.parentNode.removeChild(script),doneFns&&doneFns.forEach((fn=>fn(event))),prev)return prev(event)},timeout=setTimeout(onScriptComplete.bind(null,void 0,{type:"timeout",target:script}),12e4);script.onerror=onScriptComplete.bind(null,script.onerror),script.onload=onScriptComplete.bind(null,script.onload),needAttach&&document.head.appendChild(script)}},__webpack_require__.r=exports=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(exports,"__esModule",{value:!0})},__webpack_require__.nmd=module=>(module.paths=[],module.children||(module.children=[]),module),__webpack_require__.p="",(()=>{var installedChunks={5354:0};__webpack_require__.f.j=(chunkId,promises)=>{var installedChunkData=__webpack_require__.o(installedChunks,chunkId)?installedChunks[chunkId]:void 0;if(0!==installedChunkData)if(installedChunkData)promises.push(installedChunkData[2]);else if(5354!=chunkId){var promise=new Promise(((resolve,reject)=>installedChunkData=installedChunks[chunkId]=[resolve,reject]));promises.push(installedChunkData[2]=promise);var url=__webpack_require__.p+__webpack_require__.u(chunkId),error=new Error;__webpack_require__.l(url,(event=>{if(__webpack_require__.o(installedChunks,chunkId)&&(0!==(installedChunkData=installedChunks[chunkId])&&(installedChunks[chunkId]=void 0),installedChunkData)){var errorType=event&&("load"===event.type?"missing":event.type),realSrc=event&&event.target&&event.target.src;error.message="Loading chunk "+chunkId+" failed.\n("+errorType+": "+realSrc+")",error.name="ChunkLoadError",error.type=errorType,error.request=realSrc,installedChunkData[1](error)}}),"chunk-"+chunkId,chunkId)}else installedChunks[chunkId]=0},__webpack_require__.O.j=chunkId=>0===installedChunks[chunkId];var webpackJsonpCallback=(parentChunkLoadingFunction,data)=>{var moduleId,chunkId,[chunkIds,moreModules,runtime]=data,i=0;if(chunkIds.some((id=>0!==installedChunks[id]))){for(moduleId in moreModules)__webpack_require__.o(moreModules,moduleId)&&(__webpack_require__.m[moduleId]=moreModules[moduleId]);if(runtime)var result=runtime(__webpack_require__)}for(parentChunkLoadingFunction&&parentChunkLoadingFunction(data);i{var o=__REACT__,{Children:Sr,Component:_r,Fragment:G,Profiler:Tr,PureComponent:se,StrictMode:br,Suspense:yr,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Or,cloneElement:U,createContext:ue,createElement:h,createFactory:Cr,createRef:de,forwardRef:vr,isValidElement:me,lazy:Ar,memo:xr,startTransition:kr,unstable_act:Nr,useCallback:x,useContext:pe,useDebugValue:Dr,useDeferredValue:wr,useEffect:H,useId:Lr,useImperativeHandle:Pr,useInsertionEffect:Hr,useLayoutEffect:ge,useMemo:F,useReducer:Br,useRef:W,useState:N,useSyncExternalStore:Mr,useTransition:Gr,version:Ur}=__REACT__;var Yr=__STORYBOOK_API__,{ActiveTabs:jr,Consumer:zr,ManagerContext:Vr,Provider:Kr,RequestResponseError:qr,addons:$,combineParameters:Qr,controlOrMetaKey:Xr,controlOrMetaSymbol:Zr,eventMatchesShortcut:Jr,eventToShortcut:eo,experimental_requestResponse:to,isMacLike:no,isShortcutTaken:ro,keyToSymbol:oo,merge:ao,mockChannel:io,optionOrAltSymbol:co,shortcutMatchesShortcut:lo,shortcutToHumanString:so,types:K,useAddonState:q,useArgTypes:uo,useArgs:mo,useChannel:Q,useGlobalTypes:po,useGlobals:go,useParameter:he,useSharedState:ho,useStoryPrepared:Io,useStorybookApi:X,useStorybookState:Ie}=__STORYBOOK_API__;var _o=__STORYBOOK_COMPONENTS__,{A:To,ActionBar:Z,AddonPanel:bo,Badge:J,Bar:yo,Blockquote:Oo,Button:Co,ClipboardCode:vo,Code:Ao,DL:xo,Div:ko,DocumentWrapper:No,EmptyTabContent:Ee,ErrorFormatter:Do,FlexBar:wo,Form:Lo,H1:Po,H2:Ho,H3:Bo,H4:Mo,H5:Go,H6:Uo,HR:Fo,IconButton:fe,IconButtonSkeleton:Wo,Icons:$o,Img:Yo,LI:jo,Link:zo,ListItem:Vo,Loader:Ko,Modal:qo,OL:Qo,P:Xo,Placeholder:Zo,Pre:Jo,ResetWrapper:ea,ScrollArea:Re,Separator:ta,Spaced:Se,Span:na,StorybookIcon:ra,StorybookLogo:oa,Symbols:aa,SyntaxHighlighter:ia,TT:ca,TabBar:la,TabButton:sa,TabWrapper:ua,Table:da,Tabs:ma,TabsState:pa,TooltipLinkList:_e,TooltipMessage:ga,TooltipNote:ha,UL:Ia,WithTooltip:Te,WithTooltipPure:Ea,Zoom:fa,codeCommon:Ra,components:Sa,createCopyToClipboardFunction:_a,getStoryHref:Ta,icons:ba,interleaveSeparators:ya,nameSpaceClassNames:Oa,resetComponents:Ca,withReset:va}=__STORYBOOK_COMPONENTS__;var Da=__STORYBOOK_THEMING__,{CacheProvider:wa,ClassNames:La,Global:be,ThemeProvider:Pa,background:Ha,color:Ba,convert:Y,create:Ma,createCache:Ga,createGlobal:Ua,createReset:Fa,css:Wa,darken:$a,ensure:Ya,ignoreSsrWarning:ja,isPropValid:za,jsx:Va,keyframes:Ka,lighten:qa,styled:l,themes:j,typography:Qa,useTheme:Xa,withTheme:Za}=__STORYBOOK_THEMING__;var ri=__STORYBOOK_ICONS__,{AccessibilityAltIcon:oi,AccessibilityIcon:ye,AddIcon:ai,AdminIcon:ii,AlertAltIcon:ci,AlertIcon:li,AlignLeftIcon:si,AlignRightIcon:ui,AppleIcon:di,ArrowDownIcon:mi,ArrowLeftIcon:pi,ArrowRightIcon:gi,ArrowSolidDownIcon:hi,ArrowSolidLeftIcon:Ii,ArrowSolidRightIcon:Ei,ArrowSolidUpIcon:fi,ArrowUpIcon:Ri,AzureDevOpsIcon:Si,BackIcon:_i,BasketIcon:Ti,BatchAcceptIcon:bi,BatchDenyIcon:yi,BeakerIcon:Oi,BellIcon:Ci,BitbucketIcon:vi,BoldIcon:Ai,BookIcon:xi,BookmarkHollowIcon:ki,BookmarkIcon:Ni,BottomBarIcon:Di,BottomBarToggleIcon:wi,BoxIcon:Li,BranchIcon:Pi,BrowserIcon:Hi,ButtonIcon:Bi,CPUIcon:Mi,CalendarIcon:Gi,CameraIcon:Ui,CategoryIcon:Fi,CertificateIcon:Wi,ChangedIcon:$i,ChatIcon:Yi,CheckIcon:Oe,ChevronDownIcon:ji,ChevronLeftIcon:zi,ChevronRightIcon:Vi,ChevronSmallDownIcon:Ce,ChevronSmallLeftIcon:Ki,ChevronSmallRightIcon:qi,ChevronSmallUpIcon:Qi,ChevronUpIcon:Xi,ChromaticIcon:Zi,ChromeIcon:Ji,CircleHollowIcon:ec,CircleIcon:tc,ClearIcon:nc,CloseAltIcon:rc,CloseIcon:oc,CloudHollowIcon:ac,CloudIcon:ic,CogIcon:cc,CollapseIcon:lc,CommandIcon:sc,CommentAddIcon:uc,CommentIcon:dc,CommentsIcon:mc,CommitIcon:pc,CompassIcon:gc,ComponentDrivenIcon:hc,ComponentIcon:Ic,ContrastIcon:Ec,ControlsIcon:fc,CopyIcon:Rc,CreditIcon:Sc,CrossIcon:_c,DashboardIcon:Tc,DatabaseIcon:bc,DeleteIcon:yc,DiamondIcon:Oc,DirectionIcon:Cc,DiscordIcon:vc,DocChartIcon:Ac,DocListIcon:xc,DocumentIcon:kc,DownloadIcon:Nc,DragIcon:Dc,EditIcon:wc,EllipsisIcon:Lc,EmailIcon:Pc,ExpandAltIcon:Hc,ExpandIcon:Bc,EyeCloseIcon:Mc,EyeIcon:Gc,FaceHappyIcon:Uc,FaceNeutralIcon:Fc,FaceSadIcon:Wc,FacebookIcon:$c,FailedIcon:Yc,FastForwardIcon:jc,FigmaIcon:zc,FilterIcon:Vc,FlagIcon:Kc,FolderIcon:qc,FormIcon:Qc,GDriveIcon:Xc,GithubIcon:Zc,GitlabIcon:Jc,GlobeIcon:el,GoogleIcon:tl,GraphBarIcon:nl,GraphLineIcon:rl,GraphqlIcon:ol,GridAltIcon:al,GridIcon:il,GrowIcon:cl,HeartHollowIcon:ll,HeartIcon:sl,HomeIcon:ul,HourglassIcon:dl,InfoIcon:ml,ItalicIcon:pl,JumpToIcon:gl,KeyIcon:hl,LightningIcon:Il,LightningOffIcon:El,LinkBrokenIcon:fl,LinkIcon:Rl,LinkedinIcon:Sl,LinuxIcon:_l,ListOrderedIcon:Tl,ListUnorderedIcon:bl,LocationIcon:yl,LockIcon:Ol,MarkdownIcon:Cl,MarkupIcon:vl,MediumIcon:Al,MemoryIcon:xl,MenuIcon:kl,MergeIcon:Nl,MirrorIcon:Dl,MobileIcon:wl,MoonIcon:Ll,NutIcon:Pl,OutboxIcon:Hl,OutlineIcon:Bl,PaintBrushIcon:Ml,PaperClipIcon:Gl,ParagraphIcon:Ul,PassedIcon:Fl,PhoneIcon:Wl,PhotoDragIcon:$l,PhotoIcon:Yl,PinAltIcon:jl,PinIcon:zl,PlayBackIcon:Vl,PlayIcon:Kl,PlayNextIcon:ql,PlusIcon:Ql,PointerDefaultIcon:Xl,PointerHandIcon:Zl,PowerIcon:Jl,PrintIcon:es,ProceedIcon:ts,ProfileIcon:ns,PullRequestIcon:rs,QuestionIcon:os,RSSIcon:as,RedirectIcon:is,ReduxIcon:cs,RefreshIcon:ls,ReplyIcon:ss,RepoIcon:us,RequestChangeIcon:ds,RewindIcon:ms,RulerIcon:ps,SearchIcon:gs,ShareAltIcon:hs,ShareIcon:Is,ShieldIcon:Es,SideBySideIcon:fs,SidebarAltIcon:Rs,SidebarAltToggleIcon:Ss,SidebarIcon:_s,SidebarToggleIcon:Ts,SpeakerIcon:bs,StackedIcon:ys,StarHollowIcon:Os,StarIcon:Cs,StickerIcon:vs,StopAltIcon:As,StopIcon:xs,StorybookIcon:ks,StructureIcon:Ns,SubtractIcon:Ds,SunIcon:ws,SupportIcon:Ls,SwitchAltIcon:Ps,SyncIcon:ve,TabletIcon:Hs,ThumbsUpIcon:Bs,TimeIcon:Ms,TimerIcon:Gs,TransferIcon:Us,TrashIcon:Fs,TwitterIcon:Ws,TypeIcon:$s,UbuntuIcon:Ys,UndoIcon:js,UnfoldIcon:zs,UnlockIcon:Vs,UnpinIcon:Ks,UploadIcon:qs,UserAddIcon:Qs,UserAltIcon:Xs,UserIcon:Zs,UsersIcon:Js,VSCodeIcon:eu,VerifiedIcon:tu,VideoIcon:nu,WandIcon:ru,WatchIcon:ou,WindowsIcon:au,WrenchIcon:iu,YoutubeIcon:cu,ZoomIcon:lu,ZoomOutIcon:su,ZoomResetIcon:uu,iconList:du}=__STORYBOOK_ICONS__;var Iu=__REACT_DOM__,{__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Eu,createPortal:fu,createRoot:Ru,findDOMNode:Ae,flushSync:Su,hydrate:_u,hydrateRoot:Tu,render:bu,unmountComponentAtNode:yu,unstable_batchedUpdates:Ou,unstable_renderSubtreeIntoContainer:Cu,version:vu}=__REACT_DOM__;var Du=__STORYBOOK_CORE_EVENTS__,{ARGTYPES_INFO_REQUEST:wu,ARGTYPES_INFO_RESPONSE:Lu,CHANNEL_CREATED:Pu,CHANNEL_WS_DISCONNECT:Hu,CONFIG_ERROR:Bu,CREATE_NEW_STORYFILE_REQUEST:Mu,CREATE_NEW_STORYFILE_RESPONSE:Gu,CURRENT_STORY_WAS_SET:Uu,DOCS_PREPARED:Fu,DOCS_RENDERED:Wu,FILE_COMPONENT_SEARCH_REQUEST:$u,FILE_COMPONENT_SEARCH_RESPONSE:Yu,FORCE_REMOUNT:ju,FORCE_RE_RENDER:zu,GLOBALS_UPDATED:Vu,NAVIGATE_URL:Ku,PLAY_FUNCTION_THREW_EXCEPTION:qu,PRELOAD_ENTRIES:Qu,PREVIEW_BUILDER_PROGRESS:Xu,PREVIEW_KEYDOWN:Zu,REGISTER_SUBSCRIPTION:Ju,REQUEST_WHATS_NEW_DATA:ed,RESET_STORY_ARGS:td,RESULT_WHATS_NEW_DATA:nd,SAVE_STORY_REQUEST:rd,SAVE_STORY_RESPONSE:od,SELECT_STORY:ad,SET_CONFIG:id,SET_CURRENT_STORY:cd,SET_GLOBALS:ld,SET_INDEX:sd,SET_STORIES:ud,SET_WHATS_NEW_CACHE:dd,SHARED_STATE_CHANGED:md,SHARED_STATE_SET:pd,STORIES_COLLAPSE_ALL:gd,STORIES_EXPAND_ALL:hd,STORY_ARGS_UPDATED:Id,STORY_CHANGED:xe,STORY_ERRORED:Ed,STORY_INDEX_INVALIDATED:fd,STORY_MISSING:Rd,STORY_PREPARED:Sd,STORY_RENDERED:ke,STORY_RENDER_PHASE_CHANGED:_d,STORY_SPECIFIED:Td,STORY_THREW_EXCEPTION:bd,STORY_UNCHANGED:yd,TELEMETRY_ERROR:Od,TOGGLE_WHATS_NEW_NOTIFICATIONS:Cd,UNHANDLED_ERRORS_WHILE_PLAYING:vd,UPDATE_GLOBALS:Ad,UPDATE_QUERY_PARAMS:xd,UPDATE_STORY_ARGS:kd}=__STORYBOOK_CORE_EVENTS__;var Ne="storybook/highlight",De=`${Ne}/add`,Ud=`${Ne}/reset`;var k="storybook/a11y",we=`${k}/panel`,nt="a11y",rt=`${k}/result`,ot=`${k}/request`,at=`${k}/running`,it=`${k}/error`,ct=`${k}/manual`,M={RESULT:rt,REQUEST:ot,RUNNING:at,ERROR:it,MANUAL:ct},lt=e=>h("svg",{...e},h("defs",null,h("filter",{id:"protanopia"},h("feColorMatrix",{in:"SourceGraphic",type:"matrix",values:"0.567, 0.433, 0, 0, 0 0.558, 0.442, 0, 0, 0 0, 0.242, 0.758, 0, 0 0, 0, 0, 1, 0"})),h("filter",{id:"protanomaly"},h("feColorMatrix",{in:"SourceGraphic",type:"matrix",values:"0.817, 0.183, 0, 0, 0 0.333, 0.667, 0, 0, 0 0, 0.125, 0.875, 0, 0 0, 0, 0, 1, 0"})),h("filter",{id:"deuteranopia"},h("feColorMatrix",{in:"SourceGraphic",type:"matrix",values:"0.625, 0.375, 0, 0, 0 0.7, 0.3, 0, 0, 0 0, 0.3, 0.7, 0, 0 0, 0, 0, 1, 0"})),h("filter",{id:"deuteranomaly"},h("feColorMatrix",{in:"SourceGraphic",type:"matrix",values:"0.8, 0.2, 0, 0, 0 0.258, 0.742, 0, 0, 0 0, 0.142, 0.858, 0, 0 0, 0, 0, 1, 0"})),h("filter",{id:"tritanopia"},h("feColorMatrix",{in:"SourceGraphic",type:"matrix",values:"0.95, 0.05, 0, 0, 0 0, 0.433, 0.567, 0, 0 0, 0.475, 0.525, 0, 0 0, 0, 0, 1, 0"})),h("filter",{id:"tritanomaly"},h("feColorMatrix",{in:"SourceGraphic",type:"matrix",values:"0.967, 0.033, 0, 0, 0 0, 0.733, 0.267, 0, 0 0, 0.183, 0.817, 0, 0 0, 0, 0, 1, 0"})),h("filter",{id:"achromatopsia"},h("feColorMatrix",{in:"SourceGraphic",type:"matrix",values:"0.299, 0.587, 0.114, 0, 0 0.299, 0.587, 0.114, 0, 0 0.299, 0.587, 0.114, 0, 0 0, 0, 0, 1, 0"})))),st="storybook-preview-iframe",ut=[{name:"blurred vision",percentage:22.9},{name:"deuteranomaly",percentage:2.7},{name:"deuteranopia",percentage:.56},{name:"protanomaly",percentage:.66},{name:"protanopia",percentage:.59},{name:"tritanomaly",percentage:.01},{name:"tritanopia",percentage:.016},{name:"achromatopsia",percentage:1e-4},{name:"grayscale"}],$e=e=>e?e==="blurred vision"?"blur(2px)":e==="grayscale"?"grayscale(100%)":`url('#${e}')`:"none",dt=l.div(()=>({"&, & svg":{position:"absolute",width:0,height:0}})),mt=l.span({background:"linear-gradient(to right, #F44336, #FF9800, #FFEB3B, #8BC34A, #2196F3, #9C27B0)",borderRadius:"1rem",display:"block",height:"1rem",width:"1rem"},({filter:e})=>({filter:$e(e)}),({theme:e})=>({boxShadow:`${e.appBorderColor} 0 0 0 1px inset`})),pt=l.span({display:"flex",flexDirection:"column"}),gt=l.span({textTransform:"capitalize"}),ht=l.span(({theme:e})=>({fontSize:11,color:e.textMutedColor})),It=(e,n)=>[...e!==null?[{id:"reset",title:"Reset color filter",onClick:()=>{n(null)},right:void 0,active:!1}]:[],...ut.map(r=>{let t=r.percentage!==void 0?`${r.percentage}% of users`:void 0;return{id:r.name,title:o.createElement(pt,null,o.createElement(gt,null,r.name),t&&o.createElement(ht,null,t)),onClick:()=>{n(r)},right:o.createElement(mt,{filter:r.name}),active:e===r}})],Et=()=>{let[e,n]=N(null);return o.createElement(o.Fragment,null,e&&o.createElement(be,{styles:{[`#${st}`]:{filter:$e(e.name)}}}),o.createElement(Te,{placement:"top",tooltip:({onHide:r})=>{let t=It(e,a=>{n(a),r()});return o.createElement(_e,{links:t})},closeOnOutsideClick:!0,onDoubleClick:()=>n(null)},o.createElement(fe,{key:"filter",active:!!e,title:"Vision simulator"},o.createElement(ye,null))),o.createElement(dt,null,o.createElement(lt,null)))},ft=l.div({padding:12,marginBottom:10}),Rt=l.p({margin:"0 0 12px"}),St=l.a({marginTop:12,textDecoration:"underline",color:"inherit",display:"block"}),_t=({item:e})=>o.createElement(ft,null,o.createElement(Rt,null,e.description),o.createElement(St,{href:e.helpUrl,target:"_blank"},"More info...")),ne=function(e,n){return ne=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,t){r.__proto__=t}||function(r,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(r[a]=t[a])},ne(e,n)};function Tt(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");ne(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}var re=function(){return re=Object.assign||function(e){for(var n,r=1,t=arguments.length;r=n||y<0||g&&O>=u}function I(){var E=ee();if(R(E))return S(E);i=setTimeout(I,T(E))}function S(E){return i=void 0,c&&t?f(E):(t=a=void 0,s)}function b(){i!==void 0&&clearTimeout(i),p=0,t=m=a=i=void 0}function L(){return i===void 0?s:S(ee())}function w(){var E=ee(),y=R(E);if(t=arguments,a=this,m=E,y){if(i===void 0)return _(m);if(g)return clearTimeout(i),i=setTimeout(I,n),f(m)}return i===void 0&&(i=setTimeout(I,n)),s}return w.cancel=b,w.flush=L,w}var Ve=Tn,bn=Ve,yn=ae,On="Expected a function";function Cn(e,n,r){var t=!0,a=!0;if(typeof e!="function")throw new TypeError(On);return yn(r)&&(t="leading"in r?!!r.leading:t,a="trailing"in r?!!r.trailing:a),bn(e,n,{leading:t,maxWait:n,trailing:a})}var vn=Cn,Ke=function(e,n,r,t){switch(n){case"debounce":return Ve(e,r,t);case"throttle":return vn(e,r,t);default:return e}},oe=function(e){return typeof e=="function"},D=function(){return typeof window>"u"},Ue=function(e){return e instanceof Element||e instanceof HTMLDocument},qe=function(e,n,r,t){return function(a){var u=a.width,s=a.height;n(function(i){return i.width===u&&i.height===s||i.width===u&&!t||i.height===s&&!r?i:(e&&oe(e)&&e(u,s),{width:u,height:s})})}};(function(e){Tt(n,e);function n(r){var t=e.call(this,r)||this;t.cancelHandler=function(){t.resizeHandler&&t.resizeHandler.cancel&&(t.resizeHandler.cancel(),t.resizeHandler=null)},t.attachObserver=function(){var p=t.props,d=p.targetRef,g=p.observerOptions;if(!D()){d&&d.current&&(t.targetRef.current=d.current);var c=t.getElement();c&&(t.observableElement&&t.observableElement===c||(t.observableElement=c,t.resizeObserver.observe(c,g)))}},t.getElement=function(){var p=t.props,d=p.querySelector,g=p.targetDomEl;if(D())return null;if(d)return document.querySelector(d);if(g&&Ue(g))return g;if(t.targetRef&&Ue(t.targetRef.current))return t.targetRef.current;var c=Ae(t);if(!c)return null;var f=t.getRenderType();switch(f){case"renderProp":return c;case"childFunction":return c;case"child":return c;case"childArray":return c;default:return c.parentElement}},t.createResizeHandler=function(p){var d=t.props,g=d.handleWidth,c=g===void 0?!0:g,f=d.handleHeight,_=f===void 0?!0:f,T=d.onResize;if(!(!c&&!_)){var R=qe(T,t.setState.bind(t),c,_);p.forEach(function(I){var S=I&&I.contentRect||{},b=S.width,L=S.height,w=!t.skipOnMount&&!D();w&&R({width:b,height:L}),t.skipOnMount=!1})}},t.getRenderType=function(){var p=t.props,d=p.render,g=p.children;return oe(d)?"renderProp":oe(g)?"childFunction":me(g)?"child":Array.isArray(g)?"childArray":"parent"};var a=r.skipOnMount,u=r.refreshMode,s=r.refreshRate,i=s===void 0?1e3:s,m=r.refreshOptions;return t.state={width:void 0,height:void 0},t.skipOnMount=a,t.targetRef=de(),t.observableElement=null,D()||(t.resizeHandler=Ke(t.createResizeHandler,u,i,m),t.resizeObserver=new window.ResizeObserver(t.resizeHandler)),t}return n.prototype.componentDidMount=function(){this.attachObserver()},n.prototype.componentDidUpdate=function(){this.attachObserver()},n.prototype.componentWillUnmount=function(){D()||(this.observableElement=null,this.resizeObserver.disconnect(),this.cancelHandler())},n.prototype.render=function(){var r=this.props,t=r.render,a=r.children,u=r.nodeType,s=u===void 0?"div":u,i=this.state,m=i.width,p=i.height,d={width:m,height:p,targetRef:this.targetRef},g=this.getRenderType(),c;switch(g){case"renderProp":return t&&t(d);case"childFunction":return c=a,c(d);case"child":if(c=a,c.type&&typeof c.type=="string"){d.targetRef;var f=bt(d,["targetRef"]);return U(c,f)}return U(c,d);case"childArray":return c=a,c.map(function(_){return!!_&&U(_,d)});default:return h(s,null)}},n})(se);var An=D()?H:ge;function Qe(e){e===void 0&&(e={});var n=e.skipOnMount,r=n===void 0?!1:n,t=e.refreshMode,a=e.refreshRate,u=a===void 0?1e3:a,s=e.refreshOptions,i=e.handleWidth,m=i===void 0?!0:i,p=e.handleHeight,d=p===void 0?!0:p,g=e.targetRef,c=e.observerOptions,f=e.onResize,_=W(r),T=W(null),R=g??T,I=W(),S=N({width:void 0,height:void 0}),b=S[0],L=S[1];return An(function(){if(!D()){var w=qe(f,L,m,d),E=function(O){!m&&!d||O.forEach(function(P){var le=P&&P.contentRect||{},Ze=le.width,Je=le.height,et=!_.current&&!D();et&&w({width:Ze,height:Je}),_.current=!1})};I.current=Ke(E,t,u,s);var y=new window.ResizeObserver(I.current);return R.current&&y.observe(R.current,c),function(){y.disconnect();var O=I.current;O&&O.cancel&&O.cancel()}}},[t,u,s,m,d,f,c,R.current]),re({ref:R},b)}var xn=l.div({display:"flex",flexDirection:"column",paddingBottom:4,paddingRight:4,paddingTop:4,fontWeight:400}),kn=l.div(({elementWidth:e})=>({flexDirection:e>407?"row":"inherit",marginBottom:e>407?6:12,display:e>407?"flex":"block"})),Nn=l(J)({padding:"2px 8px",marginBottom:3,minWidth:65,maxWidth:"fit-content",width:"100%",textAlign:"center"}),Dn=l.div({paddingLeft:6,paddingRight:23}),wn=e=>e.charAt(0).toUpperCase().concat(e.slice(1)),Ln=({rule:e})=>{let{ref:n,width:r}=Qe({refreshMode:"debounce",handleHeight:!1,handleWidth:!0}),t=null;switch(e.impact){case"critical":t="critical";break;case"serious":t="negative";break;case"moderate":t="warning";break;case"minor":t="neutral";break}return o.createElement(kn,{ref:n,elementWidth:r||0},o.createElement(Nn,{status:t},wn(e.impact)),o.createElement(Dn,null,e.message))},Pn=({rules:e})=>o.createElement(xn,null,e.map((n,r)=>o.createElement(Ln,{rule:n,key:r}))),Hn=[Y(j.light).color.negative,Y(j.light).color.positive,Y(j.light).color.warning],Xe=ue({results:{passes:[],incomplete:[],violations:[]},setResults:()=>{},highlighted:[],toggleHighlight:()=>{},clearHighlights:()=>{},tab:0,setTab:()=>{}}),Fe={passes:[],incomplete:[],violations:[]},Bn=({active:e,...n})=>{let[r,t]=q(k,Fe),[a,u]=N(0),[s,i]=N([]),m=X(),p=m.getCurrentStoryData(),d=x((R,I)=>{i(S=>I?[...S,...R]:S.filter(b=>!R.includes(b)))},[]),g=R=>{T(M.REQUEST,R,m.getParameters(R,"a11y"))},c=x(()=>i([]),[]),f=x(R=>{c(),u(R)},[]),_=x(()=>{u(0),t(Fe)},[]),T=Q({[ke]:g,[xe]:_});return H(()=>{T(De,{elements:s,color:Hn[a]})},[s,a]),H(()=>{e&&p?.type==="story"?g(p.id):c()},[e,c,T,p]),e?h(Xe.Provider,{value:{results:r,setResults:t,highlighted:s,toggleHighlight:d,clearHighlights:c,tab:a,setTab:f},...n}):null},ie=()=>pe(Xe),Mn=l.input(({disabled:e})=>({cursor:e?"not-allowed":"pointer"}));function We(e,n){let r=e.filter(t=>n.includes(t.target[0])).length;return r===0?1:r===e.length?0:2}var Gn=({toggleId:e,elementsToHighlight:n=[]})=>{let{toggleHighlight:r,highlighted:t}=ie(),a=o.useRef(null),[u,s]=o.useState(We(n,t));o.useEffect(()=>{let m=We(n,t);a.current&&(a.current.indeterminate=m===2),s(m)},[n,t]);let i=o.useCallback(()=>{r(n.map(m=>m.target[0]),u!==0)},[n,u,r]);return o.createElement(Mn,{ref:a,id:e,type:"checkbox","aria-label":"Highlight result",disabled:!n.length,onChange:i,checked:u===0})},ce=Gn,Un=l.li({fontWeight:600}),Fn=l.span(({theme:e})=>({borderBottom:`1px solid ${e.appBorderColor}`,width:"100%",display:"flex",paddingBottom:6,marginBottom:6,justifyContent:"space-between"})),Wn=l.span({fontWeight:"normal",alignSelf:"center",paddingRight:15,input:{margin:0,display:"block"}}),$n=({element:e,type:n})=>{let{any:r,all:t,none:a}=e,u=[...r,...t,...a],s=`${n}-${e.target[0]}`;return o.createElement(Un,null,o.createElement(Fn,null,e.target[0],o.createElement(Wn,null,o.createElement(ce,{toggleId:s,elementsToHighlight:[e]}))),o.createElement(Pn,{rules:u}))},Yn=({elements:e,type:n})=>o.createElement("ol",null,e.map((r,t)=>o.createElement($n,{element:r,key:t,type:n}))),jn=l.div({display:"flex",flexWrap:"wrap",margin:"12px 0"}),zn=l.div(({theme:e})=>({margin:"0 6px",padding:5,border:`1px solid ${e.appBorderColor}`,borderRadius:e.appBorderRadius})),Vn=({tags:e})=>o.createElement(jn,null,e.map(n=>o.createElement(zn,{key:n},n))),Kn=l.div(({theme:e})=>({display:"flex",width:"100%",borderBottom:`1px solid ${e.appBorderColor}`,"&:hover":{background:e.background.hoverable}})),qn=l(Ce)({marginRight:10,transition:"transform 0.1s ease-in-out",verticalAlign:"inherit"}),Qn=l.div(({theme:e})=>({padding:e.layoutMargin,paddingLeft:e.layoutMargin-3,lineHeight:"20px",background:"none",color:"inherit",textAlign:"left",cursor:"pointer",borderLeft:"3px solid transparent",width:"100%","&:focus":{outline:"0 none",borderLeft:`3px solid ${e.color.secondary}`}})),Xn=l.span({fontWeight:"normal",float:"right",marginRight:15,alignSelf:"center",input:{margin:0,display:"block"}}),Zn=e=>{let[n,r]=N(!1),{item:t,type:a}=e,u=`${a}-${t.id}`;return o.createElement(G,null,o.createElement(Kn,null,o.createElement(Qn,{onClick:()=>r(!n),role:"button"},o.createElement(qn,{style:{transform:`rotate(${n?0:-90}deg)`}}),t.help),o.createElement(Xn,null,o.createElement(ce,{toggleId:u,elementsToHighlight:t.nodes}))),n?o.createElement(G,null,o.createElement(_t,{item:t,key:"info"}),o.createElement(Yn,{elements:t.nodes,type:a,key:"elements"}),o.createElement(Vn,{tags:t.tags,key:"tags"})):null)},te=({items:e,empty:n,type:r})=>o.createElement(G,null,e&&e.length?e.map(t=>o.createElement(Zn,{item:t,key:`${r}:${t.id}`,type:r})):o.createElement(Ee,{title:n})),Jn=l.div({width:"100%",position:"relative",minHeight:"100%"}),er=l.label(({theme:e})=>({cursor:"pointer",userSelect:"none",color:e.color.dark})),tr=l.div(({elementWidth:e,theme:n})=>({cursor:"pointer",fontSize:13,lineHeight:"20px",padding:e>450?"10px 15px 10px 0":"10px 0px 10px 15px",height:"40px",border:"none",marginTop:e>450?-40:0,float:e>450?"right":"left",display:"flex",alignItems:"center",width:e>450?"auto":"100%",borderBottom:e>450?"none":`1px solid ${n.appBorderColor}`,input:{marginLeft:10,marginRight:0,marginTop:-1,marginBottom:0}})),nr=l.button(({theme:e})=>({textDecoration:"none",padding:"10px 15px",cursor:"pointer",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,lineHeight:1,height:40,border:"none",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",background:"transparent","&:focus":{outline:"0 none",borderBottom:`3px solid ${e.color.secondary}`}}),({active:e,theme:n})=>e?{opacity:1,borderBottom:`3px solid ${n.color.secondary}`}:{}),rr=l.div({}),or=l.div(({theme:e})=>({boxShadow:`${e.appBorderColor} 0 -1px 0 0 inset`,background:e.background.app,display:"flex",justifyContent:"space-between",whiteSpace:"nowrap"}));function ar(e){return e.reduce((n,r)=>n.concat(r.nodes),[])}var ir=({tabs:e})=>{let{ref:n,width:r}=Qe({refreshMode:"debounce",handleHeight:!1,handleWidth:!0}),{tab:t,setTab:a}=ie(),u=x(i=>{a(parseInt(i.currentTarget.getAttribute("data-index")||"",10))},[a]),s=`${e[t].type}-global-checkbox`;return h(Jn,{ref:n},h(or,null,h(rr,null,e.map((i,m)=>h(nr,{key:m,"data-index":m,active:t===m,onClick:u},i.label)))),e[t].items.length>0?h(tr,{elementWidth:r||0},h(er,{htmlFor:s},"Highlight results"),h(ce,{toggleId:s,elementsToHighlight:ar(e[t].items)})):null,e[t].panel)},cr=l(ve)({marginRight:4}),lr=l(cr)(({theme:e})=>({animation:`${e.animation.rotate360} 1s linear infinite;`})),sr=l.span(({theme:e})=>({color:e.color.positiveText})),ur=l.span(({theme:e})=>({color:e.color.negativeText})),dr=l.span(({theme:e})=>({color:e.color.warningText})),V=l.span({display:"flex",alignItems:"center",justifyContent:"center",height:"100%"}),mr=()=>{let{manual:e}=he("a11y",{manual:!1}),[n,r]=N(e?"manual":"initial"),[t,a]=o.useState(void 0),{setResults:u,results:s}=ie(),{storyId:i}=Ie(),m=X();o.useEffect(()=>{r(e?"manual":"initial")},[e]);let p=I=>{r("ran"),u(I),setTimeout(()=>{n==="ran"&&r("ready")},900)},d=x(()=>{r("running")},[]),g=x(I=>{r("error"),a(I)},[]),c=Q({[M.RUNNING]:d,[M.RESULT]:p,[M.ERROR]:g}),f=x(()=>{r("running"),c(M.MANUAL,i,m.getParameters(i,"a11y"))},[i]),_=F(()=>[{title:"Run test",onClick:f}],[f]),T=F(()=>[{title:n==="ready"?"Rerun tests":o.createElement(o.Fragment,null,o.createElement(Oe,null)," Tests completed"),onClick:f}],[n,f]),R=F(()=>{let{passes:I,incomplete:S,violations:b}=s;return[{label:o.createElement(ur,null,b.length," Violations"),panel:o.createElement(te,{items:b,type:0,empty:"No accessibility violations found."}),items:b,type:0},{label:o.createElement(sr,null,I.length," Passes"),panel:o.createElement(te,{items:I,type:1,empty:"No accessibility checks passed."}),items:I,type:1},{label:o.createElement(dr,null,S.length," Incomplete"),panel:o.createElement(te,{items:S,type:2,empty:"No accessibility checks incomplete."}),items:S,type:2}]},[s]);return o.createElement(o.Fragment,null,n==="initial"&&o.createElement(V,null,"Initializing..."),n==="manual"&&o.createElement(o.Fragment,null,o.createElement(V,null,"Manually run the accessibility scan."),o.createElement(Z,{key:"actionbar",actionItems:_})),n==="running"&&o.createElement(V,null,o.createElement(lr,{size:12})," Please wait while the accessibility scan is running ..."),(n==="ready"||n==="ran")&&o.createElement(o.Fragment,null,o.createElement(Re,{vertical:!0,horizontal:!0},o.createElement(ir,{key:"tabs",tabs:R})),o.createElement(Z,{key:"actionbar",actionItems:T})),n==="error"&&o.createElement(V,null,"The accessibility scan encountered an error.",o.createElement("br",null),typeof t=="string"?t:JSON.stringify(t)))},pr=()=>{let[e]=q(k),n=e?.violations?.length||0,r=e?.incomplete?.length||0,t=n+r;return o.createElement("div",null,o.createElement(Se,{col:1},o.createElement("span",{style:{display:"inline-block",verticalAlign:"middle"}},"Accessibility"),t===0?"":o.createElement(J,{status:"neutral"},t)))};$.register(k,e=>{$.add(we,{title:"",type:K.TOOL,match:({viewMode:n,tabId:r})=>n==="story"&&!r,render:()=>o.createElement(Et,null)}),$.add(we,{title:pr,type:K.PANEL,render:({active:n=!0})=>o.createElement(Bn,{active:n},o.createElement(mr,null)),paramKey:nt})});})(); +(()=>{var r=__REACT__,{Children:_o,Component:To,Fragment:G,Profiler:bo,PureComponent:se,StrictMode:yo,Suspense:Oo,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Co,cloneElement:F,createContext:ue,createElement:h,createFactory:vo,createRef:de,forwardRef:Ao,isValidElement:me,lazy:xo,memo:ko,startTransition:No,unstable_act:wo,useCallback:x,useContext:pe,useDebugValue:Do,useDeferredValue:Lo,useEffect:H,useId:Po,useImperativeHandle:Ho,useInsertionEffect:Bo,useLayoutEffect:ge,useMemo:U,useReducer:Mo,useRef:W,useState:N,useSyncExternalStore:Go,useTransition:Fo,version:Uo}=__REACT__;var jo=__STORYBOOK_COMPONENTS__,{A:zo,ActionBar:K,AddonPanel:Vo,Badge:q,Bar:Ko,Blockquote:qo,Button:Qo,ClipboardCode:Xo,Code:Zo,DL:Jo,Div:er,DocumentWrapper:tr,EmptyTabContent:he,ErrorFormatter:nr,FlexBar:or,Form:rr,H1:ar,H2:ir,H3:cr,H4:lr,H5:sr,H6:ur,HR:dr,IconButton:Ie,IconButtonSkeleton:mr,Icons:pr,Img:gr,LI:hr,Link:Ir,ListItem:Er,Loader:fr,Modal:Rr,OL:Sr,P:_r,Placeholder:Tr,Pre:br,ResetWrapper:yr,ScrollArea:Ee,Separator:Or,Spaced:fe,Span:Cr,StorybookIcon:vr,StorybookLogo:Ar,Symbols:xr,SyntaxHighlighter:kr,TT:Nr,TabBar:wr,TabButton:Dr,TabWrapper:Lr,Table:Pr,Tabs:Hr,TabsState:Br,TooltipLinkList:Re,TooltipMessage:Mr,TooltipNote:Gr,UL:Fr,WithTooltip:Se,WithTooltipPure:Ur,Zoom:Wr,codeCommon:$r,components:Yr,createCopyToClipboardFunction:jr,getStoryHref:zr,icons:Vr,interleaveSeparators:Kr,nameSpaceClassNames:qr,resetComponents:Qr,withReset:Xr}=__STORYBOOK_COMPONENTS__;var na=__STORYBOOK_API__,{ActiveTabs:oa,Consumer:ra,ManagerContext:aa,Provider:ia,RequestResponseError:ca,addons:$,combineParameters:la,controlOrMetaKey:sa,controlOrMetaSymbol:ua,eventMatchesShortcut:da,eventToShortcut:ma,experimental_requestResponse:pa,isMacLike:ga,isShortcutTaken:ha,keyToSymbol:Ia,merge:Ea,mockChannel:fa,optionOrAltSymbol:Ra,shortcutMatchesShortcut:Sa,shortcutToHumanString:_a,types:Q,useAddonState:X,useArgTypes:Ta,useArgs:ba,useChannel:Z,useGlobalTypes:ya,useGlobals:Oa,useParameter:_e,useSharedState:Ca,useStoryPrepared:va,useStorybookApi:J,useStorybookState:Te}=__STORYBOOK_API__;var wa=__STORYBOOK_THEMING__,{CacheProvider:Da,ClassNames:La,Global:be,ThemeProvider:Pa,background:Ha,color:Ba,convert:Y,create:Ma,createCache:Ga,createGlobal:Fa,createReset:Ua,css:Wa,darken:$a,ensure:Ya,ignoreSsrWarning:ja,isPropValid:za,jsx:Va,keyframes:Ka,lighten:qa,styled:l,themes:j,typography:Qa,useTheme:Xa,withTheme:Za}=__STORYBOOK_THEMING__;var oi=__STORYBOOK_ICONS__,{AccessibilityAltIcon:ri,AccessibilityIcon:ye,AddIcon:ai,AdminIcon:ii,AlertAltIcon:ci,AlertIcon:li,AlignLeftIcon:si,AlignRightIcon:ui,AppleIcon:di,ArrowBottomLeftIcon:mi,ArrowBottomRightIcon:pi,ArrowDownIcon:gi,ArrowLeftIcon:hi,ArrowRightIcon:Ii,ArrowSolidDownIcon:Ei,ArrowSolidLeftIcon:fi,ArrowSolidRightIcon:Ri,ArrowSolidUpIcon:Si,ArrowTopLeftIcon:_i,ArrowTopRightIcon:Ti,ArrowUpIcon:bi,AzureDevOpsIcon:yi,BackIcon:Oi,BasketIcon:Ci,BatchAcceptIcon:vi,BatchDenyIcon:Ai,BeakerIcon:xi,BellIcon:ki,BitbucketIcon:Ni,BoldIcon:wi,BookIcon:Di,BookmarkHollowIcon:Li,BookmarkIcon:Pi,BottomBarIcon:Hi,BottomBarToggleIcon:Bi,BoxIcon:Mi,BranchIcon:Gi,BrowserIcon:Fi,ButtonIcon:Ui,CPUIcon:Wi,CalendarIcon:$i,CameraIcon:Yi,CategoryIcon:ji,CertificateIcon:zi,ChangedIcon:Vi,ChatIcon:Ki,CheckIcon:Oe,ChevronDownIcon:qi,ChevronLeftIcon:Qi,ChevronRightIcon:Xi,ChevronSmallDownIcon:Ce,ChevronSmallLeftIcon:Zi,ChevronSmallRightIcon:Ji,ChevronSmallUpIcon:ec,ChevronUpIcon:tc,ChromaticIcon:nc,ChromeIcon:oc,CircleHollowIcon:rc,CircleIcon:ac,ClearIcon:ic,CloseAltIcon:cc,CloseIcon:lc,CloudHollowIcon:sc,CloudIcon:uc,CogIcon:dc,CollapseIcon:mc,CommandIcon:pc,CommentAddIcon:gc,CommentIcon:hc,CommentsIcon:Ic,CommitIcon:Ec,CompassIcon:fc,ComponentDrivenIcon:Rc,ComponentIcon:Sc,ContrastIcon:_c,ControlsIcon:Tc,CopyIcon:bc,CreditIcon:yc,CrossIcon:Oc,DashboardIcon:Cc,DatabaseIcon:vc,DeleteIcon:Ac,DiamondIcon:xc,DirectionIcon:kc,DiscordIcon:Nc,DocChartIcon:wc,DocListIcon:Dc,DocumentIcon:Lc,DownloadIcon:Pc,DragIcon:Hc,EditIcon:Bc,EllipsisIcon:Mc,EmailIcon:Gc,ExpandAltIcon:Fc,ExpandIcon:Uc,EyeCloseIcon:Wc,EyeIcon:$c,FaceHappyIcon:Yc,FaceNeutralIcon:jc,FaceSadIcon:zc,FacebookIcon:Vc,FailedIcon:Kc,FastForwardIcon:qc,FigmaIcon:Qc,FilterIcon:Xc,FlagIcon:Zc,FolderIcon:Jc,FormIcon:el,GDriveIcon:tl,GithubIcon:nl,GitlabIcon:ol,GlobeIcon:rl,GoogleIcon:al,GraphBarIcon:il,GraphLineIcon:cl,GraphqlIcon:ll,GridAltIcon:sl,GridIcon:ul,GrowIcon:dl,HeartHollowIcon:ml,HeartIcon:pl,HomeIcon:gl,HourglassIcon:hl,InfoIcon:Il,ItalicIcon:El,JumpToIcon:fl,KeyIcon:Rl,LightningIcon:Sl,LightningOffIcon:_l,LinkBrokenIcon:Tl,LinkIcon:bl,LinkedinIcon:yl,LinuxIcon:Ol,ListOrderedIcon:Cl,ListUnorderedIcon:vl,LocationIcon:Al,LockIcon:xl,MarkdownIcon:kl,MarkupIcon:Nl,MediumIcon:wl,MemoryIcon:Dl,MenuIcon:Ll,MergeIcon:Pl,MirrorIcon:Hl,MobileIcon:Bl,MoonIcon:Ml,NutIcon:Gl,OutboxIcon:Fl,OutlineIcon:Ul,PaintBrushIcon:Wl,PaperClipIcon:$l,ParagraphIcon:Yl,PassedIcon:jl,PhoneIcon:zl,PhotoDragIcon:Vl,PhotoIcon:Kl,PinAltIcon:ql,PinIcon:Ql,PlayBackIcon:Xl,PlayIcon:Zl,PlayNextIcon:Jl,PlusIcon:es,PointerDefaultIcon:ts,PointerHandIcon:ns,PowerIcon:os,PrintIcon:rs,ProceedIcon:as,ProfileIcon:is,PullRequestIcon:cs,QuestionIcon:ls,RSSIcon:ss,RedirectIcon:us,ReduxIcon:ds,RefreshIcon:ms,ReplyIcon:ps,RepoIcon:gs,RequestChangeIcon:hs,RewindIcon:Is,RulerIcon:Es,SearchIcon:fs,ShareAltIcon:Rs,ShareIcon:Ss,ShieldIcon:_s,SideBySideIcon:Ts,SidebarAltIcon:bs,SidebarAltToggleIcon:ys,SidebarIcon:Os,SidebarToggleIcon:Cs,SpeakerIcon:vs,StackedIcon:As,StarHollowIcon:xs,StarIcon:ks,StatusFailIcon:Ns,StatusPassIcon:ws,StatusWarnIcon:Ds,StickerIcon:Ls,StopAltIcon:Ps,StopIcon:Hs,StorybookIcon:Bs,StructureIcon:Ms,SubtractIcon:Gs,SunIcon:Fs,SupportIcon:Us,SwitchAltIcon:Ws,SyncIcon:ve,TabletIcon:$s,ThumbsUpIcon:Ys,TimeIcon:js,TimerIcon:zs,TransferIcon:Vs,TrashIcon:Ks,TwitterIcon:qs,TypeIcon:Qs,UbuntuIcon:Xs,UndoIcon:Zs,UnfoldIcon:Js,UnlockIcon:eu,UnpinIcon:tu,UploadIcon:nu,UserAddIcon:ou,UserAltIcon:ru,UserIcon:au,UsersIcon:iu,VSCodeIcon:cu,VerifiedIcon:lu,VideoIcon:su,WandIcon:uu,WatchIcon:du,WindowsIcon:mu,WrenchIcon:pu,XIcon:gu,YoutubeIcon:hu,ZoomIcon:Iu,ZoomOutIcon:Eu,ZoomResetIcon:fu,iconList:Ru}=__STORYBOOK_ICONS__;var yu=__STORYBOOK_CORE_EVENTS__,{ARGTYPES_INFO_REQUEST:Ou,ARGTYPES_INFO_RESPONSE:Cu,CHANNEL_CREATED:vu,CHANNEL_WS_DISCONNECT:Au,CONFIG_ERROR:xu,CREATE_NEW_STORYFILE_REQUEST:ku,CREATE_NEW_STORYFILE_RESPONSE:Nu,CURRENT_STORY_WAS_SET:wu,DOCS_PREPARED:Du,DOCS_RENDERED:Lu,FILE_COMPONENT_SEARCH_REQUEST:Pu,FILE_COMPONENT_SEARCH_RESPONSE:Hu,FORCE_REMOUNT:Bu,FORCE_RE_RENDER:Mu,GLOBALS_UPDATED:Gu,NAVIGATE_URL:Fu,PLAY_FUNCTION_THREW_EXCEPTION:Uu,PRELOAD_ENTRIES:Wu,PREVIEW_BUILDER_PROGRESS:$u,PREVIEW_KEYDOWN:Yu,REGISTER_SUBSCRIPTION:ju,REQUEST_WHATS_NEW_DATA:zu,RESET_STORY_ARGS:Vu,RESULT_WHATS_NEW_DATA:Ku,SAVE_STORY_REQUEST:qu,SAVE_STORY_RESPONSE:Qu,SELECT_STORY:Xu,SET_CONFIG:Zu,SET_CURRENT_STORY:Ju,SET_FILTER:ed,SET_GLOBALS:td,SET_INDEX:nd,SET_STORIES:od,SET_WHATS_NEW_CACHE:rd,SHARED_STATE_CHANGED:ad,SHARED_STATE_SET:id,STORIES_COLLAPSE_ALL:cd,STORIES_EXPAND_ALL:ld,STORY_ARGS_UPDATED:sd,STORY_CHANGED:Ae,STORY_ERRORED:ud,STORY_INDEX_INVALIDATED:dd,STORY_MISSING:md,STORY_PREPARED:pd,STORY_RENDERED:xe,STORY_RENDER_PHASE_CHANGED:gd,STORY_SPECIFIED:hd,STORY_THREW_EXCEPTION:Id,STORY_UNCHANGED:Ed,TELEMETRY_ERROR:fd,TOGGLE_WHATS_NEW_NOTIFICATIONS:Rd,UNHANDLED_ERRORS_WHILE_PLAYING:Sd,UPDATE_GLOBALS:_d,UPDATE_QUERY_PARAMS:Td,UPDATE_STORY_ARGS:bd}=__STORYBOOK_CORE_EVENTS__;var ke="storybook/highlight",Ne=`${ke}/add`,Dd=`${ke}/reset`;var Md=__REACT_DOM__,{__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Gd,createPortal:Fd,createRoot:Ud,findDOMNode:we,flushSync:Wd,hydrate:$d,hydrateRoot:Yd,render:jd,unmountComponentAtNode:zd,unstable_batchedUpdates:Vd,unstable_renderSubtreeIntoContainer:Kd,version:qd}=__REACT_DOM__;var k="storybook/a11y",De=`${k}/panel`,nt="a11y",ot=`${k}/result`,rt=`${k}/request`,at=`${k}/running`,it=`${k}/error`,ct=`${k}/manual`,M={RESULT:ot,REQUEST:rt,RUNNING:at,ERROR:it,MANUAL:ct},lt=[Y(j.light).color.negative,Y(j.light).color.positive,Y(j.light).color.warning],$e=ue({results:{passes:[],incomplete:[],violations:[]},setResults:()=>{},highlighted:[],toggleHighlight:()=>{},clearHighlights:()=>{},tab:0,setTab:()=>{}}),Le={passes:[],incomplete:[],violations:[]},st=({active:e,...n})=>{let[o,t]=X(k,Le),[a,u]=N(0),[s,i]=N([]),m=J(),p=m.getCurrentStoryData(),d=x((R,I)=>{i(S=>I?[...S,...R]:S.filter(b=>!R.includes(b)))},[]),g=R=>{T(M.REQUEST,R,m.getParameters(R,"a11y"))},c=x(()=>i([]),[]),f=x(R=>{c(),u(R)},[]),_=x(()=>{u(0),t(Le)},[]),T=Z({[xe]:g,[Ae]:_});return H(()=>{T(Ne,{elements:s,color:lt[a]})},[s,a]),H(()=>{e&&p?.type==="story"?g(p.id):c()},[e,c,T,p]),e?h($e.Provider,{value:{results:o,setResults:t,highlighted:s,toggleHighlight:d,clearHighlights:c,tab:a,setTab:f},...n}):null},ae=()=>pe($e),ut=l.input(({disabled:e})=>({cursor:e?"not-allowed":"pointer"}));function Pe(e,n){let o=e.filter(t=>n.includes(t.target[0])).length;return o===0?1:o===e.length?0:2}var dt=({toggleId:e,elementsToHighlight:n=[]})=>{let{toggleHighlight:o,highlighted:t}=ae(),a=r.useRef(null),[u,s]=r.useState(Pe(n,t));r.useEffect(()=>{let m=Pe(n,t);a.current&&(a.current.indeterminate=m===2),s(m)},[n,t]);let i=r.useCallback(()=>{o(n.map(m=>m.target[0]),u!==0)},[n,u,o]);return r.createElement(ut,{ref:a,id:e,type:"checkbox","aria-label":"Highlight result",disabled:!n.length,onChange:i,checked:u===0})},ie=dt,ne=function(e,n){return ne=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,t){o.__proto__=t}||function(o,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(o[a]=t[a])},ne(e,n)};function mt(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");ne(e,n);function o(){this.constructor=e}e.prototype=n===null?Object.create(n):(o.prototype=n.prototype,new o)}var oe=function(){return oe=Object.assign||function(e){for(var n,o=1,t=arguments.length;o=n||y<0||g&&O>=u}function I(){var E=ee();if(R(E))return S(E);i=setTimeout(I,T(E))}function S(E){return i=void 0,c&&t?f(E):(t=a=void 0,s)}function b(){i!==void 0&&clearTimeout(i),p=0,t=m=a=i=void 0}function L(){return i===void 0?s:S(ee())}function D(){var E=ee(),y=R(E);if(t=arguments,a=this,m=E,y){if(i===void 0)return _(m);if(g)return clearTimeout(i),i=setTimeout(I,n),f(m)}return i===void 0&&(i=setTimeout(I,n)),s}return D.cancel=b,D.flush=L,D}var Ve=mn,pn=Ve,gn=ce,hn="Expected a function";function In(e,n,o){var t=!0,a=!0;if(typeof e!="function")throw new TypeError(hn);return gn(o)&&(t="leading"in o?!!o.leading:t,a="trailing"in o?!!o.trailing:a),pn(e,n,{leading:t,maxWait:n,trailing:a})}var En=In,Ke=function(e,n,o,t){switch(n){case"debounce":return Ve(e,o,t);case"throttle":return En(e,o,t);default:return e}},re=function(e){return typeof e=="function"},w=function(){return typeof window>"u"},We=function(e){return e instanceof Element||e instanceof HTMLDocument},qe=function(e,n,o,t){return function(a){var u=a.width,s=a.height;n(function(i){return i.width===u&&i.height===s||i.width===u&&!t||i.height===s&&!o?i:(e&&re(e)&&e(u,s),{width:u,height:s})})}};(function(e){mt(n,e);function n(o){var t=e.call(this,o)||this;t.cancelHandler=function(){t.resizeHandler&&t.resizeHandler.cancel&&(t.resizeHandler.cancel(),t.resizeHandler=null)},t.attachObserver=function(){var p=t.props,d=p.targetRef,g=p.observerOptions;if(!w()){d&&d.current&&(t.targetRef.current=d.current);var c=t.getElement();c&&(t.observableElement&&t.observableElement===c||(t.observableElement=c,t.resizeObserver.observe(c,g)))}},t.getElement=function(){var p=t.props,d=p.querySelector,g=p.targetDomEl;if(w())return null;if(d)return document.querySelector(d);if(g&&We(g))return g;if(t.targetRef&&We(t.targetRef.current))return t.targetRef.current;var c=we(t);if(!c)return null;var f=t.getRenderType();switch(f){case"renderProp":return c;case"childFunction":return c;case"child":return c;case"childArray":return c;default:return c.parentElement}},t.createResizeHandler=function(p){var d=t.props,g=d.handleWidth,c=g===void 0?!0:g,f=d.handleHeight,_=f===void 0?!0:f,T=d.onResize;if(!(!c&&!_)){var R=qe(T,t.setState.bind(t),c,_);p.forEach(function(I){var S=I&&I.contentRect||{},b=S.width,L=S.height,D=!t.skipOnMount&&!w();D&&R({width:b,height:L}),t.skipOnMount=!1})}},t.getRenderType=function(){var p=t.props,d=p.render,g=p.children;return re(d)?"renderProp":re(g)?"childFunction":me(g)?"child":Array.isArray(g)?"childArray":"parent"};var a=o.skipOnMount,u=o.refreshMode,s=o.refreshRate,i=s===void 0?1e3:s,m=o.refreshOptions;return t.state={width:void 0,height:void 0},t.skipOnMount=a,t.targetRef=de(),t.observableElement=null,w()||(t.resizeHandler=Ke(t.createResizeHandler,u,i,m),t.resizeObserver=new window.ResizeObserver(t.resizeHandler)),t}return n.prototype.componentDidMount=function(){this.attachObserver()},n.prototype.componentDidUpdate=function(){this.attachObserver()},n.prototype.componentWillUnmount=function(){w()||(this.observableElement=null,this.resizeObserver.disconnect(),this.cancelHandler())},n.prototype.render=function(){var o=this.props,t=o.render,a=o.children,u=o.nodeType,s=u===void 0?"div":u,i=this.state,m=i.width,p=i.height,d={width:m,height:p,targetRef:this.targetRef},g=this.getRenderType(),c;switch(g){case"renderProp":return t&&t(d);case"childFunction":return c=a,c(d);case"child":if(c=a,c.type&&typeof c.type=="string"){d.targetRef;var f=pt(d,["targetRef"]);return F(c,f)}return F(c,d);case"childArray":return c=a,c.map(function(_){return!!_&&F(_,d)});default:return h(s,null)}},n})(se);var fn=w()?H:ge;function Qe(e){e===void 0&&(e={});var n=e.skipOnMount,o=n===void 0?!1:n,t=e.refreshMode,a=e.refreshRate,u=a===void 0?1e3:a,s=e.refreshOptions,i=e.handleWidth,m=i===void 0?!0:i,p=e.handleHeight,d=p===void 0?!0:p,g=e.targetRef,c=e.observerOptions,f=e.onResize,_=W(o),T=W(null),R=g??T,I=W(),S=N({width:void 0,height:void 0}),b=S[0],L=S[1];return fn(function(){if(!w()){var D=qe(f,L,m,d),E=function(O){!m&&!d||O.forEach(function(P){var le=P&&P.contentRect||{},Ze=le.width,Je=le.height,et=!_.current&&!w();et&&D({width:Ze,height:Je}),_.current=!1})};I.current=Ke(E,t,u,s);var y=new window.ResizeObserver(I.current);return R.current&&y.observe(R.current,c),function(){y.disconnect();var O=I.current;O&&O.cancel&&O.cancel()}}},[t,u,s,m,d,f,c,R.current]),oe({ref:R},b)}var Rn=l.div({display:"flex",flexDirection:"column",paddingBottom:4,paddingRight:4,paddingTop:4,fontWeight:400}),Sn=l.div(({elementWidth:e})=>({flexDirection:e>407?"row":"inherit",marginBottom:e>407?6:12,display:e>407?"flex":"block"})),_n=l(q)({padding:"2px 8px",marginBottom:3,minWidth:65,maxWidth:"fit-content",width:"100%",textAlign:"center"}),Tn=l.div({paddingLeft:6,paddingRight:23}),bn=e=>e.charAt(0).toUpperCase().concat(e.slice(1)),yn=({rule:e})=>{let{ref:n,width:o}=Qe({refreshMode:"debounce",handleHeight:!1,handleWidth:!0}),t=null;switch(e.impact){case"critical":t="critical";break;case"serious":t="negative";break;case"moderate":t="warning";break;case"minor":t="neutral";break}return r.createElement(Sn,{ref:n,elementWidth:o||0},r.createElement(_n,{status:t},bn(e.impact)),r.createElement(Tn,null,e.message))},On=({rules:e})=>r.createElement(Rn,null,e.map((n,o)=>r.createElement(yn,{rule:n,key:o}))),Cn=l.li({fontWeight:600}),vn=l.span(({theme:e})=>({borderBottom:`1px solid ${e.appBorderColor}`,width:"100%",display:"flex",paddingBottom:6,marginBottom:6,justifyContent:"space-between"})),An=l.span({fontWeight:"normal",alignSelf:"center",paddingRight:15,input:{margin:0,display:"block"}}),xn=({element:e,type:n})=>{let{any:o,all:t,none:a}=e,u=[...o,...t,...a],s=`${n}-${e.target[0]}`;return r.createElement(Cn,null,r.createElement(vn,null,e.target[0],r.createElement(An,null,r.createElement(ie,{toggleId:s,elementsToHighlight:[e]}))),r.createElement(On,{rules:u}))},kn=({elements:e,type:n})=>r.createElement("ol",null,e.map((o,t)=>r.createElement(xn,{element:o,key:t,type:n}))),Nn=l.div({padding:12,marginBottom:10}),wn=l.p({margin:"0 0 12px"}),Dn=l.a({marginTop:12,textDecoration:"underline",color:"inherit",display:"block"}),Ln=({item:e})=>r.createElement(Nn,null,r.createElement(wn,null,e.description),r.createElement(Dn,{href:e.helpUrl,target:"_blank"},"More info...")),Pn=l.div({display:"flex",flexWrap:"wrap",margin:"12px 0"}),Hn=l.div(({theme:e})=>({margin:"0 6px",padding:5,border:`1px solid ${e.appBorderColor}`,borderRadius:e.appBorderRadius})),Bn=({tags:e})=>r.createElement(Pn,null,e.map(n=>r.createElement(Hn,{key:n},n))),Mn=l.div(({theme:e})=>({display:"flex",width:"100%",borderBottom:`1px solid ${e.appBorderColor}`,"&:hover":{background:e.background.hoverable}})),Gn=l(Ce)({marginRight:10,transition:"transform 0.1s ease-in-out",verticalAlign:"inherit"}),Fn=l.div(({theme:e})=>({padding:e.layoutMargin,paddingLeft:e.layoutMargin-3,lineHeight:"20px",background:"none",color:"inherit",textAlign:"left",cursor:"pointer",borderLeft:"3px solid transparent",width:"100%","&:focus":{outline:"0 none",borderLeft:`3px solid ${e.color.secondary}`}})),Un=l.span({fontWeight:"normal",float:"right",marginRight:15,alignSelf:"center",input:{margin:0,display:"block"}}),Wn=e=>{let[n,o]=N(!1),{item:t,type:a}=e,u=`${a}-${t.id}`;return r.createElement(G,null,r.createElement(Mn,null,r.createElement(Fn,{onClick:()=>o(!n),role:"button"},r.createElement(Gn,{style:{transform:`rotate(${n?0:-90}deg)`}}),t.help),r.createElement(Un,null,r.createElement(ie,{toggleId:u,elementsToHighlight:t.nodes}))),n?r.createElement(G,null,r.createElement(Ln,{item:t,key:"info"}),r.createElement(kn,{elements:t.nodes,type:a,key:"elements"}),r.createElement(Bn,{tags:t.tags,key:"tags"})):null)},te=({items:e,empty:n,type:o})=>r.createElement(G,null,e&&e.length?e.map(t=>r.createElement(Wn,{item:t,key:`${o}:${t.id}`,type:o})):r.createElement(he,{title:n})),$n=l.div({width:"100%",position:"relative",minHeight:"100%"}),Yn=l.label(({theme:e})=>({cursor:"pointer",userSelect:"none",color:e.color.dark})),jn=l.div(({elementWidth:e,theme:n})=>({cursor:"pointer",fontSize:13,lineHeight:"20px",padding:e>450?"10px 15px 10px 0":"10px 0px 10px 15px",height:"40px",border:"none",marginTop:e>450?-40:0,float:e>450?"right":"left",display:"flex",alignItems:"center",width:e>450?"auto":"100%",borderBottom:e>450?"none":`1px solid ${n.appBorderColor}`,input:{marginLeft:10,marginRight:0,marginTop:-1,marginBottom:0}})),zn=l.button(({theme:e})=>({textDecoration:"none",padding:"10px 15px",cursor:"pointer",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,lineHeight:1,height:40,border:"none",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",background:"transparent","&:focus":{outline:"0 none",borderBottom:`3px solid ${e.color.secondary}`}}),({active:e,theme:n})=>e?{opacity:1,borderBottom:`3px solid ${n.color.secondary}`}:{}),Vn=l.div({}),Kn=l.div(({theme:e})=>({boxShadow:`${e.appBorderColor} 0 -1px 0 0 inset`,background:e.background.app,display:"flex",justifyContent:"space-between",whiteSpace:"nowrap"}));function qn(e){return e.reduce((n,o)=>n.concat(o.nodes),[])}var Qn=({tabs:e})=>{let{ref:n,width:o}=Qe({refreshMode:"debounce",handleHeight:!1,handleWidth:!0}),{tab:t,setTab:a}=ae(),u=x(i=>{a(parseInt(i.currentTarget.getAttribute("data-index")||"",10))},[a]),s=`${e[t].type}-global-checkbox`;return h($n,{ref:n},h(Kn,null,h(Vn,null,e.map((i,m)=>h(zn,{key:m,"data-index":m,active:t===m,onClick:u},i.label)))),e[t].items.length>0?h(jn,{elementWidth:o||0},h(Yn,{htmlFor:s},"Highlight results"),h(ie,{toggleId:s,elementsToHighlight:qn(e[t].items)})):null,e[t].panel)},Xn=l(ve)({marginRight:4}),Zn=l(Xn)(({theme:e})=>({animation:`${e.animation.rotate360} 1s linear infinite;`})),Jn=l.span(({theme:e})=>({color:e.color.positiveText})),eo=l.span(({theme:e})=>({color:e.color.negativeText})),to=l.span(({theme:e})=>({color:e.color.warningText})),V=l.span({display:"flex",alignItems:"center",justifyContent:"center",height:"100%"}),no=()=>{let{manual:e}=_e("a11y",{manual:!1}),[n,o]=N(e?"manual":"initial"),[t,a]=r.useState(void 0),{setResults:u,results:s}=ae(),{storyId:i}=Te(),m=J();r.useEffect(()=>{o(e?"manual":"initial")},[e]);let p=I=>{o("ran"),u(I),setTimeout(()=>{n==="ran"&&o("ready")},900)},d=x(()=>{o("running")},[]),g=x(I=>{o("error"),a(I)},[]),c=Z({[M.RUNNING]:d,[M.RESULT]:p,[M.ERROR]:g}),f=x(()=>{o("running"),c(M.MANUAL,i,m.getParameters(i,"a11y"))},[i]),_=U(()=>[{title:"Run test",onClick:f}],[f]),T=U(()=>[{title:n==="ready"?"Rerun tests":r.createElement(r.Fragment,null,r.createElement(Oe,null)," Tests completed"),onClick:f}],[n,f]),R=U(()=>{let{passes:I,incomplete:S,violations:b}=s;return[{label:r.createElement(eo,null,b.length," Violations"),panel:r.createElement(te,{items:b,type:0,empty:"No accessibility violations found."}),items:b,type:0},{label:r.createElement(Jn,null,I.length," Passes"),panel:r.createElement(te,{items:I,type:1,empty:"No accessibility checks passed."}),items:I,type:1},{label:r.createElement(to,null,S.length," Incomplete"),panel:r.createElement(te,{items:S,type:2,empty:"No accessibility checks incomplete."}),items:S,type:2}]},[s]);return r.createElement(r.Fragment,null,n==="initial"&&r.createElement(V,null,"Initializing..."),n==="manual"&&r.createElement(r.Fragment,null,r.createElement(V,null,"Manually run the accessibility scan."),r.createElement(K,{key:"actionbar",actionItems:_})),n==="running"&&r.createElement(V,null,r.createElement(Zn,{size:12})," Please wait while the accessibility scan is running ..."),(n==="ready"||n==="ran")&&r.createElement(r.Fragment,null,r.createElement(Ee,{vertical:!0,horizontal:!0},r.createElement(Qn,{key:"tabs",tabs:R})),r.createElement(K,{key:"actionbar",actionItems:T})),n==="error"&&r.createElement(V,null,"The accessibility scan encountered an error.",r.createElement("br",null),typeof t=="string"?t:JSON.stringify(t)))},oo=e=>h("svg",{...e},h("defs",null,h("filter",{id:"protanopia"},h("feColorMatrix",{in:"SourceGraphic",type:"matrix",values:"0.567, 0.433, 0, 0, 0 0.558, 0.442, 0, 0, 0 0, 0.242, 0.758, 0, 0 0, 0, 0, 1, 0"})),h("filter",{id:"protanomaly"},h("feColorMatrix",{in:"SourceGraphic",type:"matrix",values:"0.817, 0.183, 0, 0, 0 0.333, 0.667, 0, 0, 0 0, 0.125, 0.875, 0, 0 0, 0, 0, 1, 0"})),h("filter",{id:"deuteranopia"},h("feColorMatrix",{in:"SourceGraphic",type:"matrix",values:"0.625, 0.375, 0, 0, 0 0.7, 0.3, 0, 0, 0 0, 0.3, 0.7, 0, 0 0, 0, 0, 1, 0"})),h("filter",{id:"deuteranomaly"},h("feColorMatrix",{in:"SourceGraphic",type:"matrix",values:"0.8, 0.2, 0, 0, 0 0.258, 0.742, 0, 0, 0 0, 0.142, 0.858, 0, 0 0, 0, 0, 1, 0"})),h("filter",{id:"tritanopia"},h("feColorMatrix",{in:"SourceGraphic",type:"matrix",values:"0.95, 0.05, 0, 0, 0 0, 0.433, 0.567, 0, 0 0, 0.475, 0.525, 0, 0 0, 0, 0, 1, 0"})),h("filter",{id:"tritanomaly"},h("feColorMatrix",{in:"SourceGraphic",type:"matrix",values:"0.967, 0.033, 0, 0, 0 0, 0.733, 0.267, 0, 0 0, 0.183, 0.817, 0, 0 0, 0, 0, 1, 0"})),h("filter",{id:"achromatopsia"},h("feColorMatrix",{in:"SourceGraphic",type:"matrix",values:"0.299, 0.587, 0.114, 0, 0 0.299, 0.587, 0.114, 0, 0 0.299, 0.587, 0.114, 0, 0 0, 0, 0, 1, 0"})))),ro="storybook-preview-iframe",ao=[{name:"blurred vision",percentage:22.9},{name:"deuteranomaly",percentage:2.7},{name:"deuteranopia",percentage:.56},{name:"protanomaly",percentage:.66},{name:"protanopia",percentage:.59},{name:"tritanomaly",percentage:.01},{name:"tritanopia",percentage:.016},{name:"achromatopsia",percentage:1e-4},{name:"grayscale"}],Xe=e=>e?e==="blurred vision"?"blur(2px)":e==="grayscale"?"grayscale(100%)":`url('#${e}')`:"none",io=l.div(()=>({"&, & svg":{position:"absolute",width:0,height:0}})),co=l.span({background:"linear-gradient(to right, #F44336, #FF9800, #FFEB3B, #8BC34A, #2196F3, #9C27B0)",borderRadius:"1rem",display:"block",height:"1rem",width:"1rem"},({filter:e})=>({filter:Xe(e)}),({theme:e})=>({boxShadow:`${e.appBorderColor} 0 0 0 1px inset`})),lo=l.span({display:"flex",flexDirection:"column"}),so=l.span({textTransform:"capitalize"}),uo=l.span(({theme:e})=>({fontSize:11,color:e.textMutedColor})),mo=(e,n)=>[...e!==null?[{id:"reset",title:"Reset color filter",onClick:()=>{n(null)},right:void 0,active:!1}]:[],...ao.map(o=>{let t=o.percentage!==void 0?`${o.percentage}% of users`:void 0;return{id:o.name,title:r.createElement(lo,null,r.createElement(so,null,o.name),t&&r.createElement(uo,null,t)),onClick:()=>{n(o)},right:r.createElement(co,{filter:o.name}),active:e===o}})],po=()=>{let[e,n]=N(null);return r.createElement(r.Fragment,null,e&&r.createElement(be,{styles:{[`#${ro}`]:{filter:Xe(e.name)}}}),r.createElement(Se,{placement:"top",tooltip:({onHide:o})=>{let t=mo(e,a=>{n(a),o()});return r.createElement(Re,{links:t})},closeOnOutsideClick:!0,onDoubleClick:()=>n(null)},r.createElement(Ie,{key:"filter",active:!!e,title:"Vision simulator"},r.createElement(ye,null))),r.createElement(io,null,r.createElement(oo,null)))},go=()=>{let[e]=X(k),n=e?.violations?.length||0,o=e?.incomplete?.length||0,t=n+o;return r.createElement("div",null,r.createElement(fe,{col:1},r.createElement("span",{style:{display:"inline-block",verticalAlign:"middle"}},"Accessibility"),t===0?"":r.createElement(q,{status:"neutral"},t)))};$.register(k,e=>{$.add(De,{title:"",type:Q.TOOL,match:({viewMode:n,tabId:o})=>n==="story"&&!o,render:()=>r.createElement(po,null)}),$.add(De,{title:go,type:Q.PANEL,render:({active:n=!0})=>r.createElement(st,{active:n},r.createElement(no,null)),paramKey:nt})});})(); }catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/sb-addons/essentials-actions-2/manager-bundle.js b/sb-addons/essentials-actions-2/manager-bundle.js index e5b16bc9e..856e30216 100644 --- a/sb-addons/essentials-actions-2/manager-bundle.js +++ b/sb-addons/essentials-actions-2/manager-bundle.js @@ -1,3 +1,3 @@ try{ -(()=>{var o=__REACT__,{Children:Te,Component:_e,Fragment:ve,Profiler:Jr,PureComponent:qr,StrictMode:Xr,Suspense:Zr,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Kr,cloneElement:Qr,createContext:Z,createElement:en,createFactory:tn,createRef:rn,forwardRef:Se,isValidElement:nn,lazy:an,memo:j,startTransition:on,unstable_act:sn,useCallback:x,useContext:K,useDebugValue:ln,useDeferredValue:un,useEffect:Re,useId:cn,useImperativeHandle:pn,useInsertionEffect:fn,useLayoutEffect:Ae,useMemo:Ce,useReducer:dn,useRef:we,useState:U,useSyncExternalStore:mn,useTransition:gn,version:bn}=__REACT__;var Tn=__STORYBOOK_API__,{ActiveTabs:_n,Consumer:vn,ManagerContext:Sn,Provider:Rn,RequestResponseError:An,addons:Q,combineParameters:Cn,controlOrMetaKey:wn,controlOrMetaSymbol:Nn,eventMatchesShortcut:xn,eventToShortcut:Ln,experimental_requestResponse:In,isMacLike:Dn,isShortcutTaken:Mn,keyToSymbol:Pn,merge:Bn,mockChannel:Fn,optionOrAltSymbol:zn,shortcutMatchesShortcut:Hn,shortcutToHumanString:jn,types:Ne,useAddonState:xe,useArgTypes:Un,useArgs:kn,useChannel:Le,useGlobalTypes:Gn,useGlobals:Wn,useParameter:Vn,useSharedState:$n,useStoryPrepared:Yn,useStorybookApi:Jn,useStorybookState:qn}=__STORYBOOK_API__;var ea=__STORYBOOK_CORE_EVENTS__,{ARGTYPES_INFO_REQUEST:ta,ARGTYPES_INFO_RESPONSE:ra,CHANNEL_CREATED:na,CHANNEL_WS_DISCONNECT:aa,CONFIG_ERROR:oa,CREATE_NEW_STORYFILE_REQUEST:ia,CREATE_NEW_STORYFILE_RESPONSE:sa,CURRENT_STORY_WAS_SET:la,DOCS_PREPARED:ua,DOCS_RENDERED:ca,FILE_COMPONENT_SEARCH_REQUEST:pa,FILE_COMPONENT_SEARCH_RESPONSE:fa,FORCE_REMOUNT:da,FORCE_RE_RENDER:ma,GLOBALS_UPDATED:ga,NAVIGATE_URL:ba,PLAY_FUNCTION_THREW_EXCEPTION:ha,PRELOAD_ENTRIES:Ea,PREVIEW_BUILDER_PROGRESS:ya,PREVIEW_KEYDOWN:Oa,REGISTER_SUBSCRIPTION:Ta,REQUEST_WHATS_NEW_DATA:_a,RESET_STORY_ARGS:va,RESULT_WHATS_NEW_DATA:Sa,SAVE_STORY_REQUEST:Ra,SAVE_STORY_RESPONSE:Aa,SELECT_STORY:Ca,SET_CONFIG:wa,SET_CURRENT_STORY:Na,SET_GLOBALS:xa,SET_INDEX:La,SET_STORIES:Ia,SET_WHATS_NEW_CACHE:Da,SHARED_STATE_CHANGED:Ma,SHARED_STATE_SET:Pa,STORIES_COLLAPSE_ALL:Ba,STORIES_EXPAND_ALL:Fa,STORY_ARGS_UPDATED:za,STORY_CHANGED:k,STORY_ERRORED:Ha,STORY_INDEX_INVALIDATED:ja,STORY_MISSING:Ua,STORY_PREPARED:ka,STORY_RENDERED:Ga,STORY_RENDER_PHASE_CHANGED:Wa,STORY_SPECIFIED:Va,STORY_THREW_EXCEPTION:$a,STORY_UNCHANGED:Ya,TELEMETRY_ERROR:Ja,TOGGLE_WHATS_NEW_NOTIFICATIONS:qa,UNHANDLED_ERRORS_WHILE_PLAYING:Xa,UPDATE_GLOBALS:Za,UPDATE_QUERY_PARAMS:Ka,UPDATE_STORY_ARGS:Qa}=__STORYBOOK_CORE_EVENTS__;var uo=__STORYBOOK_COMPONENTS__,{A:co,ActionBar:Ie,AddonPanel:po,Badge:De,Bar:fo,Blockquote:mo,Button:go,ClipboardCode:bo,Code:ho,DL:Eo,Div:yo,DocumentWrapper:Oo,EmptyTabContent:To,ErrorFormatter:_o,FlexBar:vo,Form:So,H1:Ro,H2:Ao,H3:Co,H4:wo,H5:No,H6:xo,HR:Lo,IconButton:Io,IconButtonSkeleton:Do,Icons:Mo,Img:Po,LI:Bo,Link:Fo,ListItem:zo,Loader:Ho,Modal:jo,OL:Uo,P:ko,Placeholder:Go,Pre:Wo,ResetWrapper:Vo,ScrollArea:Me,Separator:$o,Spaced:Pe,Span:Yo,StorybookIcon:Jo,StorybookLogo:qo,Symbols:Xo,SyntaxHighlighter:Zo,TT:Ko,TabBar:Qo,TabButton:ei,TabWrapper:ti,Table:ri,Tabs:ni,TabsState:ai,TooltipLinkList:oi,TooltipMessage:ii,TooltipNote:si,UL:li,WithTooltip:ui,WithTooltipPure:ci,Zoom:pi,codeCommon:fi,components:di,createCopyToClipboardFunction:mi,getStoryHref:gi,icons:bi,interleaveSeparators:hi,nameSpaceClassNames:Ei,resetComponents:yi,withReset:Oi}=__STORYBOOK_COMPONENTS__;var Be=Object.prototype.hasOwnProperty;function Fe(e,t,r){for(r of e.keys())if(L(r,t))return r}function L(e,t){var r,n,a;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((n=e.length)===t.length)for(;n--&&L(e[n],t[n]););return n===-1}if(r===Set){if(e.size!==t.size)return!1;for(n of e)if(a=n,a&&typeof a=="object"&&(a=Fe(t,a),!a)||!t.has(a))return!1;return!0}if(r===Map){if(e.size!==t.size)return!1;for(n of e)if(a=n[0],a&&typeof a=="object"&&(a=Fe(t,a),!a)||!L(n[1],t.get(a)))return!1;return!0}if(r===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(r===DataView){if((n=e.byteLength)===t.byteLength)for(;n--&&e.getInt8(n)===t.getInt8(n););return n===-1}if(ArrayBuffer.isView(e)){if((n=e.byteLength)===t.byteLength)for(;n--&&e[n]===t[n];);return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(Be.call(e,r)&&++n&&!Be.call(t,r)||!(r in t)||!L(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}var Ni=__STORYBOOK_THEMING__,{CacheProvider:xi,ClassNames:Li,Global:Ii,ThemeProvider:Di,background:Mi,color:Pi,convert:Bi,create:Fi,createCache:zi,createGlobal:Hi,createReset:ji,css:Ui,darken:ki,ensure:Gi,ignoreSsrWarning:Wi,isPropValid:Vi,jsx:$i,keyframes:Yi,lighten:Ji,styled:B,themes:qi,typography:Xi,useTheme:Zi,withTheme:ze}=__STORYBOOK_THEMING__;function T(){return T=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&a<1?(l=i,u=s):a>=1&&a<2?(l=s,u=i):a>=2&&a<3?(u=i,c=s):a>=3&&a<4?(u=s,c=i):a>=4&&a<5?(l=s,c=i):a>=5&&a<6&&(l=i,c=s);var p=r-i/2,d=l+p,f=u+p,E=c+p;return n(d,f,E)}var Ve={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function mt(e){if(typeof e!="string")return e;var t=e.toLowerCase();return Ve[t]?"#"+Ve[t]:e}var gt=/^#[a-fA-F0-9]{6}$/,bt=/^#[a-fA-F0-9]{8}$/,ht=/^#[a-fA-F0-9]{3}$/,Et=/^#[a-fA-F0-9]{4}$/,re=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,yt=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,Ot=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,Tt=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function I(e){if(typeof e!="string")throw new _(3);var t=mt(e);if(t.match(gt))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(bt)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(ht))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(Et)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var a=re.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var i=yt.exec(t.substring(0,50));if(i)return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10),alpha:parseFloat(""+i[4])>1?parseFloat(""+i[4])/100:parseFloat(""+i[4])};var s=Ot.exec(t);if(s){var l=parseInt(""+s[1],10),u=parseInt(""+s[2],10)/100,c=parseInt(""+s[3],10)/100,p="rgb("+F(l,u,c)+")",d=re.exec(p);if(!d)throw new _(4,t,p);return{red:parseInt(""+d[1],10),green:parseInt(""+d[2],10),blue:parseInt(""+d[3],10)}}var f=Tt.exec(t.substring(0,50));if(f){var E=parseInt(""+f[1],10),m=parseInt(""+f[2],10)/100,y=parseInt(""+f[3],10)/100,O="rgb("+F(E,m,y)+")",N=re.exec(O);if(!N)throw new _(4,t,O);return{red:parseInt(""+N[1],10),green:parseInt(""+N[2],10),blue:parseInt(""+N[3],10),alpha:parseFloat(""+f[4])>1?parseFloat(""+f[4])/100:parseFloat(""+f[4])}}throw new _(5)}function _t(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),i=Math.min(t,r,n),s=(a+i)/2;if(a===i)return e.alpha!==void 0?{hue:0,saturation:0,lightness:s,alpha:e.alpha}:{hue:0,saturation:0,lightness:s};var l,u=a-i,c=s>.5?u/(2-a-i):u/(a+i);switch(a){case t:l=(r-n)/u+(r=1?V(e,t,r):"rgba("+F(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?V(e.hue,e.saturation,e.lightness):"rgba("+F(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new _(2)}function oe(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return ae("#"+w(e)+w(t)+w(r));if(typeof e=="object"&&t===void 0&&r===void 0)return ae("#"+w(e.red)+w(e.green)+w(e.blue));throw new _(6)}function $(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=I(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?oe(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?oe(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new _(7)}var Ct=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},wt=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&typeof t.alpha=="number"},Nt=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},xt=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&typeof t.alpha=="number"};function C(e){if(typeof e!="object")throw new _(8);if(wt(e))return $(e);if(Ct(e))return oe(e);if(xt(e))return At(e);if(Nt(e))return Rt(e);throw new _(8)}function Ye(e,t,r){return function(){var a=r.concat(Array.prototype.slice.call(arguments));return a.length>=t?e.apply(this,a):Ye(e,t,a)}}function v(e){return Ye(e,e.length,[])}function Lt(e,t){if(t==="transparent")return t;var r=A(t);return C(T({},r,{hue:r.hue+parseFloat(e)}))}var nl=v(Lt);function D(e,t,r){return Math.max(e,Math.min(t,r))}function It(e,t){if(t==="transparent")return t;var r=A(t);return C(T({},r,{lightness:D(0,1,r.lightness-parseFloat(e))}))}var al=v(It);function Dt(e,t){if(t==="transparent")return t;var r=A(t);return C(T({},r,{saturation:D(0,1,r.saturation-parseFloat(e))}))}var ol=v(Dt);function Mt(e,t){if(t==="transparent")return t;var r=A(t);return C(T({},r,{lightness:D(0,1,r.lightness+parseFloat(e))}))}var il=v(Mt);function Pt(e,t,r){if(t==="transparent")return r;if(r==="transparent")return t;if(e===0)return r;var n=I(t),a=T({},n,{alpha:typeof n.alpha=="number"?n.alpha:1}),i=I(r),s=T({},i,{alpha:typeof i.alpha=="number"?i.alpha:1}),l=a.alpha-s.alpha,u=parseFloat(e)*2-1,c=u*l===-1?u:u+l,p=1+u*l,d=(c/p+1)/2,f=1-d,E={red:Math.floor(a.red*d+s.red*f),green:Math.floor(a.green*d+s.green*f),blue:Math.floor(a.blue*d+s.blue*f),alpha:a.alpha*parseFloat(e)+s.alpha*(1-parseFloat(e))};return $(E)}var Bt=v(Pt),Je=Bt;function Ft(e,t){if(t==="transparent")return t;var r=I(t),n=typeof r.alpha=="number"?r.alpha:1,a=T({},r,{alpha:D(0,1,(n*100+parseFloat(e)*100)/100)});return $(a)}var zt=v(Ft),qe=zt;function Ht(e,t){if(t==="transparent")return t;var r=A(t);return C(T({},r,{saturation:D(0,1,r.saturation+parseFloat(e))}))}var sl=v(Ht);function jt(e,t){return t==="transparent"?t:C(T({},A(t),{hue:parseFloat(e)}))}var ll=v(jt);function Ut(e,t){return t==="transparent"?t:C(T({},A(t),{lightness:parseFloat(e)}))}var ul=v(Ut);function kt(e,t){return t==="transparent"?t:C(T({},A(t),{saturation:parseFloat(e)}))}var cl=v(kt);function Gt(e,t){return t==="transparent"?t:Je(parseFloat(e),"rgb(0, 0, 0)",t)}var pl=v(Gt);function Wt(e,t){return t==="transparent"?t:Je(parseFloat(e),"rgb(255, 255, 255)",t)}var fl=v(Wt);function Vt(e,t){if(t==="transparent")return t;var r=I(t),n=typeof r.alpha=="number"?r.alpha:1,a=T({},r,{alpha:D(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return $(a)}var dl=v(Vt);var $t=Object.create,pe=Object.defineProperty,Yt=Object.getOwnPropertyDescriptor,et=Object.getOwnPropertyNames,Jt=Object.getPrototypeOf,qt=Object.prototype.hasOwnProperty,fe=(e,t)=>function(){return t||(0,e[et(e)[0]])((t={exports:{}}).exports,t),t.exports},Xt=(e,t)=>{for(var r in t)pe(e,r,{get:t[r],enumerable:!0})},Zt=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of et(t))!qt.call(e,a)&&a!==r&&pe(e,a,{get:()=>t[a],enumerable:!(n=Yt(t,a))||n.enumerable});return e},Kt=(e,t,r)=>(r=e!=null?$t(Jt(e)):{},Zt(t||!e||!e.__esModule?pe(r,"default",{value:e,enumerable:!0}):r,e)),Qt=fe({"node_modules/is-object/index.js"(e,t){t.exports=function(r){return typeof r=="object"&&r!==null}}}),er=fe({"node_modules/is-window/index.js"(e,t){t.exports=function(r){if(r==null)return!1;var n=Object(r);return n===n.window}}}),tr=fe({"node_modules/is-dom/index.js"(e,t){var r=Qt(),n=er();function a(i){return!r(i)||!n(window)||typeof window.Node!="function"?!1:typeof i.nodeType=="number"&&typeof i.nodeName=="string"}t.exports=a}}),q={};Xt(q,{chromeDark:()=>rr,chromeLight:()=>nr});var rr={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"rgb(36, 36, 36)",BASE_COLOR:"rgb(213, 213, 213)",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(227, 110, 236)",OBJECT_VALUE_NULL_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_REGEXP_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_STRING_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_NUMBER_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_BOOLEAN_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(85, 106, 242)",HTML_TAG_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(155, 187, 220)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(242, 151, 102)",HTML_COMMENT_COLOR:"rgb(137, 137, 137)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"rgb(145, 145, 145)",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"rgb(85, 85, 85)",TABLE_TH_BACKGROUND_COLOR:"rgb(44, 44, 44)",TABLE_TH_HOVER_COLOR:"rgb(48, 48, 48)",TABLE_SORT_ICON_COLOR:"black",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(51, 139, 255, 0.0980392) 50%, rgba(51, 139, 255, 0.0980392))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},nr={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"white",BASE_COLOR:"black",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(136, 19, 145)",OBJECT_VALUE_NULL_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_REGEXP_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_STRING_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_NUMBER_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_BOOLEAN_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(13, 34, 170)",HTML_TAG_COLOR:"rgb(168, 148, 166)",HTML_TAGNAME_COLOR:"rgb(136, 18, 128)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(153, 69, 0)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(26, 26, 166)",HTML_COMMENT_COLOR:"rgb(35, 110, 37)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"#6e6e6e",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"#aaa",TABLE_TH_BACKGROUND_COLOR:"#eee",TABLE_TH_HOVER_COLOR:"hsla(0, 0%, 90%, 1)",TABLE_SORT_ICON_COLOR:"#6e6e6e",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(to bottom, white, white 50%, rgb(234, 243, 255) 50%, rgb(234, 243, 255))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},tt=Z([{},()=>{}]),ie={WebkitTouchCallout:"none",WebkitUserSelect:"none",KhtmlUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",OUserSelect:"none",userSelect:"none"},Y=e=>({DOMNodePreview:{htmlOpenTag:{base:{color:e.HTML_TAG_COLOR},tagName:{color:e.HTML_TAGNAME_COLOR,textTransform:e.HTML_TAGNAME_TEXT_TRANSFORM},htmlAttributeName:{color:e.HTML_ATTRIBUTE_NAME_COLOR},htmlAttributeValue:{color:e.HTML_ATTRIBUTE_VALUE_COLOR}},htmlCloseTag:{base:{color:e.HTML_TAG_COLOR},offsetLeft:{marginLeft:-e.TREENODE_PADDING_LEFT},tagName:{color:e.HTML_TAGNAME_COLOR,textTransform:e.HTML_TAGNAME_TEXT_TRANSFORM}},htmlComment:{color:e.HTML_COMMENT_COLOR},htmlDoctype:{color:e.HTML_DOCTYPE_COLOR}},ObjectPreview:{objectDescription:{fontStyle:"italic"},preview:{fontStyle:"italic"},arrayMaxProperties:e.OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES,objectMaxProperties:e.OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES},ObjectName:{base:{color:e.OBJECT_NAME_COLOR},dimmed:{opacity:.6}},ObjectValue:{objectValueNull:{color:e.OBJECT_VALUE_NULL_COLOR},objectValueUndefined:{color:e.OBJECT_VALUE_UNDEFINED_COLOR},objectValueRegExp:{color:e.OBJECT_VALUE_REGEXP_COLOR},objectValueString:{color:e.OBJECT_VALUE_STRING_COLOR},objectValueSymbol:{color:e.OBJECT_VALUE_SYMBOL_COLOR},objectValueNumber:{color:e.OBJECT_VALUE_NUMBER_COLOR},objectValueBoolean:{color:e.OBJECT_VALUE_BOOLEAN_COLOR},objectValueFunctionPrefix:{color:e.OBJECT_VALUE_FUNCTION_PREFIX_COLOR,fontStyle:"italic"},objectValueFunctionName:{fontStyle:"italic"}},TreeView:{treeViewOutline:{padding:0,margin:0,listStyleType:"none"}},TreeNode:{treeNodeBase:{color:e.BASE_COLOR,backgroundColor:e.BASE_BACKGROUND_COLOR,lineHeight:e.TREENODE_LINE_HEIGHT,cursor:"default",boxSizing:"border-box",listStyle:"none",fontFamily:e.TREENODE_FONT_FAMILY,fontSize:e.TREENODE_FONT_SIZE},treeNodePreviewContainer:{},treeNodePlaceholder:{whiteSpace:"pre",fontSize:e.ARROW_FONT_SIZE,marginRight:e.ARROW_MARGIN_RIGHT,...ie},treeNodeArrow:{base:{color:e.ARROW_COLOR,display:"inline-block",fontSize:e.ARROW_FONT_SIZE,marginRight:e.ARROW_MARGIN_RIGHT,...parseFloat(e.ARROW_ANIMATION_DURATION)>0?{transition:`transform ${e.ARROW_ANIMATION_DURATION} ease 0s`}:{},...ie},expanded:{WebkitTransform:"rotateZ(90deg)",MozTransform:"rotateZ(90deg)",transform:"rotateZ(90deg)"},collapsed:{WebkitTransform:"rotateZ(0deg)",MozTransform:"rotateZ(0deg)",transform:"rotateZ(0deg)"}},treeNodeChildNodesContainer:{margin:0,paddingLeft:e.TREENODE_PADDING_LEFT}},TableInspector:{base:{color:e.BASE_COLOR,position:"relative",border:`1px solid ${e.TABLE_BORDER_COLOR}`,fontFamily:e.BASE_FONT_FAMILY,fontSize:e.BASE_FONT_SIZE,lineHeight:"120%",boxSizing:"border-box",cursor:"default"}},TableInspectorHeaderContainer:{base:{top:0,height:"17px",left:0,right:0,overflowX:"hidden"},table:{tableLayout:"fixed",borderSpacing:0,borderCollapse:"separate",height:"100%",width:"100%",margin:0}},TableInspectorDataContainer:{tr:{display:"table-row"},td:{boxSizing:"border-box",border:"none",height:"16px",verticalAlign:"top",padding:"1px 4px",WebkitUserSelect:"text",whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",lineHeight:"14px"},div:{position:"static",top:"17px",bottom:0,overflowY:"overlay",transform:"translateZ(0)",left:0,right:0,overflowX:"hidden"},table:{positon:"static",left:0,top:0,right:0,bottom:0,borderTop:"0 none transparent",margin:0,backgroundImage:e.TABLE_DATA_BACKGROUND_IMAGE,backgroundSize:e.TABLE_DATA_BACKGROUND_SIZE,tableLayout:"fixed",borderSpacing:0,borderCollapse:"separate",width:"100%",fontSize:e.BASE_FONT_SIZE,lineHeight:"120%"}},TableInspectorTH:{base:{position:"relative",height:"auto",textAlign:"left",backgroundColor:e.TABLE_TH_BACKGROUND_COLOR,borderBottom:`1px solid ${e.TABLE_BORDER_COLOR}`,fontWeight:"normal",verticalAlign:"middle",padding:"0 4px",whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",lineHeight:"14px",":hover":{backgroundColor:e.TABLE_TH_HOVER_COLOR}},div:{whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",fontSize:e.BASE_FONT_SIZE,lineHeight:"120%"}},TableInspectorLeftBorder:{none:{borderLeft:"none"},solid:{borderLeft:`1px solid ${e.TABLE_BORDER_COLOR}`}},TableInspectorSortIcon:{display:"block",marginRight:3,width:8,height:7,marginTop:-7,color:e.TABLE_SORT_ICON_COLOR,fontSize:12,...ie}}),se="chromeLight",rt=Z(Y(q[se])),S=e=>K(rt)[e],de=e=>({theme:t=se,...r})=>{let n=Ce(()=>{switch(Object.prototype.toString.call(t)){case"[object String]":return Y(q[t]);case"[object Object]":return Y(t);default:return Y(q[se])}},[t]);return o.createElement(rt.Provider,{value:n},o.createElement(e,{...r}))},ar=({expanded:e,styles:t})=>o.createElement("span",{style:{...t.base,...e?t.expanded:t.collapsed}},"\u25B6"),or=j(e=>{e={expanded:!0,nodeRenderer:({name:p})=>o.createElement("span",null,p),onClick:()=>{},shouldShowArrow:!1,shouldShowPlaceholder:!0,...e};let{expanded:t,onClick:r,children:n,nodeRenderer:a,title:i,shouldShowArrow:s,shouldShowPlaceholder:l}=e,u=S("TreeNode"),c=a;return o.createElement("li",{"aria-expanded":t,role:"treeitem",style:u.treeNodeBase,title:i},o.createElement("div",{style:u.treeNodePreviewContainer,onClick:r},s||Te.count(n)>0?o.createElement(ar,{expanded:t,styles:u.treeNodeArrow}):l&&o.createElement("span",{style:u.treeNodePlaceholder},"\xA0"),o.createElement(c,{...e})),o.createElement("ol",{role:"group",style:u.treeNodeChildNodesContainer},t?n:void 0))}),X="$",Xe="*";function J(e,t){return!t(e).next().done}var ir=e=>Array.from({length:e},(t,r)=>[X].concat(Array.from({length:r},()=>"*")).join(".")),sr=(e,t,r,n,a)=>{let i=[].concat(ir(n)).concat(r).filter(l=>typeof l=="string"),s=[];return i.forEach(l=>{let u=l.split("."),c=(p,d,f)=>{if(f===u.length){s.push(d);return}let E=u[f];if(f===0)J(p,t)&&(E===X||E===Xe)&&c(p,X,f+1);else if(E===Xe)for(let{name:m,data:y}of t(p))J(y,t)&&c(y,`${d}.${m}`,f+1);else{let m=p[E];J(m,t)&&c(m,`${d}.${E}`,f+1)}};c(e,"",0)}),s.reduce((l,u)=>(l[u]=!0,l),{...a})},nt=j(e=>{let{data:t,dataIterator:r,path:n,depth:a,nodeRenderer:i}=e,[s,l]=K(tt),u=J(t,r),c=!!s[n],p=x(()=>u&&l(d=>({...d,[n]:!c})),[u,l,n,c]);return o.createElement(or,{expanded:c,onClick:p,shouldShowArrow:u,shouldShowPlaceholder:a>0,nodeRenderer:i,...e},c?[...r(t)].map(({name:d,data:f,...E})=>o.createElement(nt,{name:d,data:f,depth:a+1,path:`${n}.${d}`,key:d,dataIterator:r,nodeRenderer:i,...E})):null)}),at=j(({name:e,data:t,dataIterator:r,nodeRenderer:n,expandPaths:a,expandLevel:i})=>{let s=S("TreeView"),l=U({}),[,u]=l;return Ae(()=>u(c=>sr(t,r,a,i,c)),[t,r,a,i]),o.createElement(tt.Provider,{value:l},o.createElement("ol",{role:"tree",style:s.treeViewOutline},o.createElement(nt,{name:e,data:t,dataIterator:r,depth:0,path:X,nodeRenderer:n})))}),me=({name:e,dimmed:t=!1,styles:r={}})=>{let n=S("ObjectName"),a={...n.base,...t?n.dimmed:{},...r};return o.createElement("span",{style:a},e)},z=({object:e,styles:t})=>{let r=S("ObjectValue"),n=a=>({...r[a],...t});switch(typeof e){case"bigint":return o.createElement("span",{style:n("objectValueNumber")},String(e),"n");case"number":return o.createElement("span",{style:n("objectValueNumber")},String(e));case"string":return o.createElement("span",{style:n("objectValueString")},'"',e,'"');case"boolean":return o.createElement("span",{style:n("objectValueBoolean")},String(e));case"undefined":return o.createElement("span",{style:n("objectValueUndefined")},"undefined");case"object":return e===null?o.createElement("span",{style:n("objectValueNull")},"null"):e instanceof Date?o.createElement("span",null,e.toString()):e instanceof RegExp?o.createElement("span",{style:n("objectValueRegExp")},e.toString()):Array.isArray(e)?o.createElement("span",null,`Array(${e.length})`):e.constructor?typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)?o.createElement("span",null,`Buffer[${e.length}]`):o.createElement("span",null,e.constructor.name):o.createElement("span",null,"Object");case"function":return o.createElement("span",null,o.createElement("span",{style:n("objectValueFunctionPrefix")},"\u0192\xA0"),o.createElement("span",{style:n("objectValueFunctionName")},e.name,"()"));case"symbol":return o.createElement("span",{style:n("objectValueSymbol")},e.toString());default:return o.createElement("span",null)}},ot=Object.prototype.hasOwnProperty,lr=Object.prototype.propertyIsEnumerable;function le(e,t){let r=Object.getOwnPropertyDescriptor(e,t);if(r.get)try{return r.get()}catch{return r.get}return e[t]}function Ze(e,t){return e.length===0?[]:e.slice(1).reduce((r,n)=>r.concat([t,n]),[e[0]])}var ue=({data:e})=>{let t=S("ObjectPreview"),r=e;if(typeof r!="object"||r===null||r instanceof Date||r instanceof RegExp)return o.createElement(z,{object:r});if(Array.isArray(r)){let n=t.arrayMaxProperties,a=r.slice(0,n).map((s,l)=>o.createElement(z,{key:l,object:s}));r.length>n&&a.push(o.createElement("span",{key:"ellipsis"},"\u2026"));let i=r.length;return o.createElement(o.Fragment,null,o.createElement("span",{style:t.objectDescription},i===0?"":`(${i})\xA0`),o.createElement("span",{style:t.preview},"[",Ze(a,", "),"]"))}else{let n=t.objectMaxProperties,a=[];for(let s in r)if(ot.call(r,s)){let l;a.length===n-1&&Object.keys(r).length>n&&(l=o.createElement("span",{key:"ellipsis"},"\u2026"));let u=le(r,s);if(a.push(o.createElement("span",{key:s},o.createElement(me,{name:s||'""'}),":\xA0",o.createElement(z,{object:u}),l)),l)break}let i=r.constructor?r.constructor.name:"Object";return o.createElement(o.Fragment,null,o.createElement("span",{style:t.objectDescription},i==="Object"?"":`${i} `),o.createElement("span",{style:t.preview},"{",Ze(a,", "),"}"))}},ur=({name:e,data:t})=>typeof e=="string"?o.createElement("span",null,o.createElement(me,{name:e}),o.createElement("span",null,": "),o.createElement(ue,{data:t})):o.createElement(ue,{data:t}),cr=({name:e,data:t,isNonenumerable:r=!1})=>{let n=t;return o.createElement("span",null,typeof e=="string"?o.createElement(me,{name:e,dimmed:r}):o.createElement(ue,{data:e}),o.createElement("span",null,": "),o.createElement(z,{object:n}))},pr=(e,t)=>function*(r){if(!(typeof r=="object"&&r!==null||typeof r=="function"))return;let n=Array.isArray(r);if(!n&&r[Symbol.iterator]){let a=0;for(let i of r){if(Array.isArray(i)&&i.length===2){let[s,l]=i;yield{name:s,data:l}}else yield{name:a.toString(),data:i};a++}}else{let a=Object.getOwnPropertyNames(r);t===!0&&!n?a.sort():typeof t=="function"&&a.sort(t);for(let i of a)if(lr.call(r,i)){let s=le(r,i);yield{name:i||'""',data:s}}else if(e){let s;try{s=le(r,i)}catch{}s!==void 0&&(yield{name:i,data:s,isNonenumerable:!0})}e&&r!==Object.prototype&&(yield{name:"__proto__",data:Object.getPrototypeOf(r),isNonenumerable:!0})}},fr=({depth:e,name:t,data:r,isNonenumerable:n})=>e===0?o.createElement(ur,{name:t,data:r}):o.createElement(cr,{name:t,data:r,isNonenumerable:n}),dr=({showNonenumerable:e=!1,sortObjectKeys:t,nodeRenderer:r,...n})=>{let a=pr(e,t),i=r||fr;return o.createElement(at,{nodeRenderer:i,dataIterator:a,...n})},mr=de(dr);function gr(e){if(typeof e=="object"){let t=[];if(Array.isArray(e)){let n=e.length;t=[...Array(n).keys()]}else e!==null&&(t=Object.keys(e));let r=t.reduce((n,a)=>{let i=e[a];return typeof i=="object"&&i!==null&&Object.keys(i).reduce((s,l)=>(s.includes(l)||s.push(l),s),n),n},[]);return{rowHeaders:t,colHeaders:r}}}var br=({rows:e,columns:t,rowsData:r})=>{let n=S("TableInspectorDataContainer"),a=S("TableInspectorLeftBorder");return o.createElement("div",{style:n.div},o.createElement("table",{style:n.table},o.createElement("colgroup",null),o.createElement("tbody",null,e.map((i,s)=>o.createElement("tr",{key:i,style:n.tr},o.createElement("td",{style:{...n.td,...a.none}},i),t.map(l=>{let u=r[s];return typeof u=="object"&&u!==null&&ot.call(u,l)?o.createElement("td",{key:l,style:{...n.td,...a.solid}},o.createElement(z,{object:u[l]})):o.createElement("td",{key:l,style:{...n.td,...a.solid}})}))))))},hr=e=>o.createElement("div",{style:{position:"absolute",top:1,right:0,bottom:1,display:"flex",alignItems:"center"}},e.children),Er=({sortAscending:e})=>{let t=S("TableInspectorSortIcon"),r=e?"\u25B2":"\u25BC";return o.createElement("div",{style:t},r)},Ke=({sortAscending:e=!1,sorted:t=!1,onClick:r=void 0,borderStyle:n={},children:a,...i})=>{let s=S("TableInspectorTH"),[l,u]=U(!1),c=x(()=>u(!0),[]),p=x(()=>u(!1),[]);return o.createElement("th",{...i,style:{...s.base,...n,...l?s.base[":hover"]:{}},onMouseEnter:c,onMouseLeave:p,onClick:r},o.createElement("div",{style:s.div},a),t&&o.createElement(hr,null,o.createElement(Er,{sortAscending:e})))},yr=({indexColumnText:e="(index)",columns:t=[],sorted:r,sortIndexColumn:n,sortColumn:a,sortAscending:i,onTHClick:s,onIndexTHClick:l})=>{let u=S("TableInspectorHeaderContainer"),c=S("TableInspectorLeftBorder");return o.createElement("div",{style:u.base},o.createElement("table",{style:u.table},o.createElement("tbody",null,o.createElement("tr",null,o.createElement(Ke,{borderStyle:c.none,sorted:r&&n,sortAscending:i,onClick:l},e),t.map(p=>o.createElement(Ke,{borderStyle:c.solid,key:p,sorted:r&&a===p,sortAscending:i,onClick:s.bind(null,p)},p))))))},Or=({data:e,columns:t})=>{let r=S("TableInspector"),[{sorted:n,sortIndexColumn:a,sortColumn:i,sortAscending:s},l]=U({sorted:!1,sortIndexColumn:!1,sortColumn:void 0,sortAscending:!1}),u=x(()=>{l(({sortIndexColumn:m,sortAscending:y})=>({sorted:!0,sortIndexColumn:!0,sortColumn:void 0,sortAscending:m?!y:!0}))},[]),c=x(m=>{l(({sortColumn:y,sortAscending:O})=>({sorted:!0,sortIndexColumn:!1,sortColumn:m,sortAscending:m===y?!O:!0}))},[]);if(typeof e!="object"||e===null)return o.createElement("div",null);let{rowHeaders:p,colHeaders:d}=gr(e);t!==void 0&&(d=t);let f=p.map(m=>e[m]),E;if(i!==void 0?E=f.map((m,y)=>typeof m=="object"&&m!==null?[m[i],y]:[void 0,y]):a&&(E=p.map((m,y)=>[p[y],y])),E!==void 0){let m=(O,N)=>(ut,ct)=>{let ge=O(ut),be=O(ct),he=typeof ge,Ee=typeof be,ye=(P,Oe)=>POe?1:0,M;if(he===Ee)M=ye(ge,be);else{let P={string:0,number:1,object:2,symbol:3,boolean:4,undefined:5,function:6};M=ye(P[he],P[Ee])}return N||(M=-M),M},y=E.sort(m(O=>O[0],s)).map(O=>O[1]);p=y.map(O=>p[O]),f=y.map(O=>f[O])}return o.createElement("div",{style:r.base},o.createElement(yr,{columns:d,sorted:n,sortIndexColumn:a,sortColumn:i,sortAscending:s,onTHClick:c,onIndexTHClick:u}),o.createElement(br,{rows:p,columns:d,rowsData:f}))},Tr=de(Or),_r=80,it=e=>e.childNodes.length===0||e.childNodes.length===1&&e.childNodes[0].nodeType===Node.TEXT_NODE&&e.textContent.length<_r,vr=({tagName:e,attributes:t,styles:r})=>o.createElement("span",{style:r.base},"<",o.createElement("span",{style:r.tagName},e),(()=>{if(t){let n=[];for(let a=0;a"),Qe=({tagName:e,isChildNode:t=!1,styles:r})=>o.createElement("span",{style:Object.assign({},r.base,t&&r.offsetLeft)},""),Sr={1:"ELEMENT_NODE",3:"TEXT_NODE",7:"PROCESSING_INSTRUCTION_NODE",8:"COMMENT_NODE",9:"DOCUMENT_NODE",10:"DOCUMENT_TYPE_NODE",11:"DOCUMENT_FRAGMENT_NODE"},Rr=({isCloseTag:e,data:t,expanded:r})=>{let n=S("DOMNodePreview");if(e)return o.createElement(Qe,{styles:n.htmlCloseTag,isChildNode:!0,tagName:t.tagName});switch(t.nodeType){case Node.ELEMENT_NODE:return o.createElement("span",null,o.createElement(vr,{tagName:t.tagName,attributes:t.attributes,styles:n.htmlOpenTag}),it(t)?t.textContent:!r&&"\u2026",!r&&o.createElement(Qe,{tagName:t.tagName,styles:n.htmlCloseTag}));case Node.TEXT_NODE:return o.createElement("span",null,t.textContent);case Node.CDATA_SECTION_NODE:return o.createElement("span",null,"");case Node.COMMENT_NODE:return o.createElement("span",{style:n.htmlComment},"");case Node.PROCESSING_INSTRUCTION_NODE:return o.createElement("span",null,t.nodeName);case Node.DOCUMENT_TYPE_NODE:return o.createElement("span",{style:n.htmlDoctype},"");case Node.DOCUMENT_NODE:return o.createElement("span",null,t.nodeName);case Node.DOCUMENT_FRAGMENT_NODE:return o.createElement("span",null,t.nodeName);default:return o.createElement("span",null,Sr[t.nodeType])}},Ar=function*(e){if(e&&e.childNodes){if(it(e))return;for(let t=0;to.createElement(at,{nodeRenderer:Rr,dataIterator:Ar,...e}),wr=de(Cr),Nr=Kt(tr()),xr=({table:e=!1,data:t,...r})=>e?o.createElement(Tr,{data:t,...r}):(0,Nr.default)(t)?o.createElement(wr,{data:t,...r}):o.createElement(mr,{data:t,...r}),Lr=B.div({display:"flex",padding:0,borderLeft:"5px solid transparent",borderBottom:"1px solid transparent",transition:"all 0.1s",alignItems:"flex-start",whiteSpace:"pre"}),Ir=B.div(({theme:e})=>({backgroundColor:qe(.5,e.appBorderColor),color:e.color.inverseText,fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:1,padding:"1px 5px",borderRadius:20,margin:"2px 0px"})),Dr=B.div({flex:1,padding:"0 0 0 5px"}),st=Se(({children:e,className:t},r)=>o.createElement(Me,{ref:r,horizontal:!0,vertical:!0,className:t},e));st.displayName="UnstyledWrapped";var Mr=B(st)({margin:0,padding:"10px 5px 20px"}),Pr=ze(({theme:e,...t})=>o.createElement(xr,{theme:e.addonActionsTheme||"chromeLight",table:!1,...t})),Br=({actions:e,onClear:t})=>{let r=we(null),n=r.current,a=n&&n.scrollHeight-n.scrollTop===n.clientHeight;return Re(()=>{a&&(r.current.scrollTop=r.current.scrollHeight)},[a,e.length]),o.createElement(ve,null,o.createElement(Mr,{ref:r},e.map(i=>o.createElement(Lr,{key:i.id},i.count>1&&o.createElement(Ir,null,i.count),o.createElement(Dr,null,o.createElement(Pr,{sortObjectKeys:!0,showNonenumerable:!1,name:i.data.name,data:i.data.args??i.data}))))),o.createElement(Ie,{actionItems:[{title:"Clear",onClick:t}]}))},Fr="actions",H="storybook/actions",zr=`${H}/panel`,ce=`${H}/action-event`,lt=`${H}/action-clear`,Hr=(e,t)=>{try{return L(e,t)}catch{return!1}},jr=class extends _e{constructor(e){super(e),this.handleStoryChange=()=>{let{actions:t}=this.state;t.length>0&&t[0].options.clearOnStoryChange&&this.clearActions()},this.addAction=t=>{this.setState(r=>{let n=[...r.actions],a=n.length&&n[n.length-1];return a&&Hr(a.data,t.data)?a.count++:(t.count=1,n.push(t)),{actions:n.slice(0,t.options.limit)}})},this.clearActions=()=>{let{api:t}=this.props;t.emit(lt),this.setState({actions:[]})},this.mounted=!1,this.state={actions:[]}}componentDidMount(){this.mounted=!0;let{api:e}=this.props;e.on(ce,this.addAction),e.on(k,this.handleStoryChange)}componentWillUnmount(){this.mounted=!1;let{api:e}=this.props;e.off(k,this.handleStoryChange),e.off(ce,this.addAction)}render(){let{actions:e=[]}=this.state,{active:t}=this.props,r={actions:e,onClear:this.clearActions};return t?o.createElement(Br,{...r}):null}};function Ur(){let[{count:e},t]=xe(H,{count:0});return Le({[ce]:()=>{t(r=>({...r,count:r.count+1}))},[k]:()=>{t(r=>({...r,count:0}))},[lt]:()=>{t(r=>({...r,count:0}))}}),o.createElement("div",null,o.createElement(Pe,{col:1},o.createElement("span",{style:{display:"inline-block",verticalAlign:"middle"}},"Actions"),e===0?"":o.createElement(De,{status:"neutral"},e)))}Q.register(H,e=>{Q.add(zr,{title:Ur,type:Ne.PANEL,render:({active:t})=>o.createElement(jr,{api:e,active:!!t}),paramKey:Fr})});})(); +(()=>{var o=__REACT__,{Children:Te,Component:_e,Fragment:ve,Profiler:Jr,PureComponent:qr,StrictMode:Xr,Suspense:Zr,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Kr,cloneElement:Qr,createContext:Z,createElement:en,createFactory:tn,createRef:rn,forwardRef:Se,isValidElement:nn,lazy:an,memo:j,startTransition:on,unstable_act:sn,useCallback:x,useContext:K,useDebugValue:ln,useDeferredValue:un,useEffect:Re,useId:cn,useImperativeHandle:pn,useInsertionEffect:fn,useLayoutEffect:Ae,useMemo:Ce,useReducer:dn,useRef:we,useState:U,useSyncExternalStore:mn,useTransition:gn,version:bn}=__REACT__;var Tn=__STORYBOOK_COMPONENTS__,{A:_n,ActionBar:Ne,AddonPanel:vn,Badge:xe,Bar:Sn,Blockquote:Rn,Button:An,ClipboardCode:Cn,Code:wn,DL:Nn,Div:xn,DocumentWrapper:Ln,EmptyTabContent:In,ErrorFormatter:Dn,FlexBar:Mn,Form:Pn,H1:Bn,H2:Fn,H3:zn,H4:Hn,H5:jn,H6:Un,HR:kn,IconButton:Gn,IconButtonSkeleton:Wn,Icons:Vn,Img:$n,LI:Yn,Link:Jn,ListItem:qn,Loader:Xn,Modal:Zn,OL:Kn,P:Qn,Placeholder:ea,Pre:ta,ResetWrapper:ra,ScrollArea:Le,Separator:na,Spaced:Ie,Span:aa,StorybookIcon:oa,StorybookLogo:ia,Symbols:sa,SyntaxHighlighter:la,TT:ua,TabBar:ca,TabButton:pa,TabWrapper:fa,Table:da,Tabs:ma,TabsState:ga,TooltipLinkList:ba,TooltipMessage:ha,TooltipNote:Ea,UL:ya,WithTooltip:Oa,WithTooltipPure:Ta,Zoom:_a,codeCommon:va,components:Sa,createCopyToClipboardFunction:Ra,getStoryHref:Aa,icons:Ca,interleaveSeparators:wa,nameSpaceClassNames:Na,resetComponents:xa,withReset:La}=__STORYBOOK_COMPONENTS__;var Ba=__STORYBOOK_CORE_EVENTS__,{ARGTYPES_INFO_REQUEST:Fa,ARGTYPES_INFO_RESPONSE:za,CHANNEL_CREATED:Ha,CHANNEL_WS_DISCONNECT:ja,CONFIG_ERROR:Ua,CREATE_NEW_STORYFILE_REQUEST:ka,CREATE_NEW_STORYFILE_RESPONSE:Ga,CURRENT_STORY_WAS_SET:Wa,DOCS_PREPARED:Va,DOCS_RENDERED:$a,FILE_COMPONENT_SEARCH_REQUEST:Ya,FILE_COMPONENT_SEARCH_RESPONSE:Ja,FORCE_REMOUNT:qa,FORCE_RE_RENDER:Xa,GLOBALS_UPDATED:Za,NAVIGATE_URL:Ka,PLAY_FUNCTION_THREW_EXCEPTION:Qa,PRELOAD_ENTRIES:eo,PREVIEW_BUILDER_PROGRESS:to,PREVIEW_KEYDOWN:ro,REGISTER_SUBSCRIPTION:no,REQUEST_WHATS_NEW_DATA:ao,RESET_STORY_ARGS:oo,RESULT_WHATS_NEW_DATA:io,SAVE_STORY_REQUEST:so,SAVE_STORY_RESPONSE:lo,SELECT_STORY:uo,SET_CONFIG:co,SET_CURRENT_STORY:po,SET_FILTER:fo,SET_GLOBALS:mo,SET_INDEX:go,SET_STORIES:bo,SET_WHATS_NEW_CACHE:ho,SHARED_STATE_CHANGED:Eo,SHARED_STATE_SET:yo,STORIES_COLLAPSE_ALL:Oo,STORIES_EXPAND_ALL:To,STORY_ARGS_UPDATED:_o,STORY_CHANGED:k,STORY_ERRORED:vo,STORY_INDEX_INVALIDATED:So,STORY_MISSING:Ro,STORY_PREPARED:Ao,STORY_RENDERED:Co,STORY_RENDER_PHASE_CHANGED:wo,STORY_SPECIFIED:No,STORY_THREW_EXCEPTION:xo,STORY_UNCHANGED:Lo,TELEMETRY_ERROR:Io,TOGGLE_WHATS_NEW_NOTIFICATIONS:Do,UNHANDLED_ERRORS_WHILE_PLAYING:Mo,UPDATE_GLOBALS:Po,UPDATE_QUERY_PARAMS:Bo,UPDATE_STORY_ARGS:Fo}=__STORYBOOK_CORE_EVENTS__;var Yo=__STORYBOOK_API__,{ActiveTabs:Jo,Consumer:qo,ManagerContext:Xo,Provider:Zo,RequestResponseError:Ko,addons:Q,combineParameters:Qo,controlOrMetaKey:ei,controlOrMetaSymbol:ti,eventMatchesShortcut:ri,eventToShortcut:ni,experimental_requestResponse:ai,isMacLike:oi,isShortcutTaken:ii,keyToSymbol:si,merge:li,mockChannel:ui,optionOrAltSymbol:ci,shortcutMatchesShortcut:pi,shortcutToHumanString:fi,types:De,useAddonState:Me,useArgTypes:di,useArgs:mi,useChannel:Pe,useGlobalTypes:gi,useGlobals:bi,useParameter:hi,useSharedState:Ei,useStoryPrepared:yi,useStorybookApi:Oi,useStorybookState:Ti}=__STORYBOOK_API__;var Be=Object.prototype.hasOwnProperty;function Fe(e,t,r){for(r of e.keys())if(L(r,t))return r}function L(e,t){var r,n,a;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((n=e.length)===t.length)for(;n--&&L(e[n],t[n]););return n===-1}if(r===Set){if(e.size!==t.size)return!1;for(n of e)if(a=n,a&&typeof a=="object"&&(a=Fe(t,a),!a)||!t.has(a))return!1;return!0}if(r===Map){if(e.size!==t.size)return!1;for(n of e)if(a=n[0],a&&typeof a=="object"&&(a=Fe(t,a),!a)||!L(n[1],t.get(a)))return!1;return!0}if(r===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(r===DataView){if((n=e.byteLength)===t.byteLength)for(;n--&&e.getInt8(n)===t.getInt8(n););return n===-1}if(ArrayBuffer.isView(e)){if((n=e.byteLength)===t.byteLength)for(;n--&&e[n]===t[n];);return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(Be.call(e,r)&&++n&&!Be.call(t,r)||!(r in t)||!L(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}var xi=__STORYBOOK_THEMING__,{CacheProvider:Li,ClassNames:Ii,Global:Di,ThemeProvider:Mi,background:Pi,color:Bi,convert:Fi,create:zi,createCache:Hi,createGlobal:ji,createReset:Ui,css:ki,darken:Gi,ensure:Wi,ignoreSsrWarning:Vi,isPropValid:$i,jsx:Yi,keyframes:Ji,lighten:qi,styled:B,themes:Xi,typography:Zi,useTheme:Ki,withTheme:ze}=__STORYBOOK_THEMING__;function T(){return T=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&a<1?(l=i,u=s):a>=1&&a<2?(l=s,u=i):a>=2&&a<3?(u=i,c=s):a>=3&&a<4?(u=s,c=i):a>=4&&a<5?(l=s,c=i):a>=5&&a<6&&(l=i,c=s);var p=r-i/2,d=l+p,f=u+p,E=c+p;return n(d,f,E)}var Ve={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function mt(e){if(typeof e!="string")return e;var t=e.toLowerCase();return Ve[t]?"#"+Ve[t]:e}var gt=/^#[a-fA-F0-9]{6}$/,bt=/^#[a-fA-F0-9]{8}$/,ht=/^#[a-fA-F0-9]{3}$/,Et=/^#[a-fA-F0-9]{4}$/,re=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,yt=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,Ot=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,Tt=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function I(e){if(typeof e!="string")throw new _(3);var t=mt(e);if(t.match(gt))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(bt)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(ht))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(Et)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var a=re.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var i=yt.exec(t.substring(0,50));if(i)return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10),alpha:parseFloat(""+i[4])>1?parseFloat(""+i[4])/100:parseFloat(""+i[4])};var s=Ot.exec(t);if(s){var l=parseInt(""+s[1],10),u=parseInt(""+s[2],10)/100,c=parseInt(""+s[3],10)/100,p="rgb("+F(l,u,c)+")",d=re.exec(p);if(!d)throw new _(4,t,p);return{red:parseInt(""+d[1],10),green:parseInt(""+d[2],10),blue:parseInt(""+d[3],10)}}var f=Tt.exec(t.substring(0,50));if(f){var E=parseInt(""+f[1],10),m=parseInt(""+f[2],10)/100,y=parseInt(""+f[3],10)/100,O="rgb("+F(E,m,y)+")",N=re.exec(O);if(!N)throw new _(4,t,O);return{red:parseInt(""+N[1],10),green:parseInt(""+N[2],10),blue:parseInt(""+N[3],10),alpha:parseFloat(""+f[4])>1?parseFloat(""+f[4])/100:parseFloat(""+f[4])}}throw new _(5)}function _t(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),i=Math.min(t,r,n),s=(a+i)/2;if(a===i)return e.alpha!==void 0?{hue:0,saturation:0,lightness:s,alpha:e.alpha}:{hue:0,saturation:0,lightness:s};var l,u=a-i,c=s>.5?u/(2-a-i):u/(a+i);switch(a){case t:l=(r-n)/u+(r=1?V(e,t,r):"rgba("+F(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?V(e.hue,e.saturation,e.lightness):"rgba("+F(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new _(2)}function oe(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return ae("#"+w(e)+w(t)+w(r));if(typeof e=="object"&&t===void 0&&r===void 0)return ae("#"+w(e.red)+w(e.green)+w(e.blue));throw new _(6)}function $(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=I(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?oe(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?oe(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new _(7)}var Ct=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},wt=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&typeof t.alpha=="number"},Nt=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},xt=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&typeof t.alpha=="number"};function C(e){if(typeof e!="object")throw new _(8);if(wt(e))return $(e);if(Ct(e))return oe(e);if(xt(e))return At(e);if(Nt(e))return Rt(e);throw new _(8)}function Ye(e,t,r){return function(){var a=r.concat(Array.prototype.slice.call(arguments));return a.length>=t?e.apply(this,a):Ye(e,t,a)}}function v(e){return Ye(e,e.length,[])}function Lt(e,t){if(t==="transparent")return t;var r=A(t);return C(T({},r,{hue:r.hue+parseFloat(e)}))}var al=v(Lt);function D(e,t,r){return Math.max(e,Math.min(t,r))}function It(e,t){if(t==="transparent")return t;var r=A(t);return C(T({},r,{lightness:D(0,1,r.lightness-parseFloat(e))}))}var ol=v(It);function Dt(e,t){if(t==="transparent")return t;var r=A(t);return C(T({},r,{saturation:D(0,1,r.saturation-parseFloat(e))}))}var il=v(Dt);function Mt(e,t){if(t==="transparent")return t;var r=A(t);return C(T({},r,{lightness:D(0,1,r.lightness+parseFloat(e))}))}var sl=v(Mt);function Pt(e,t,r){if(t==="transparent")return r;if(r==="transparent")return t;if(e===0)return r;var n=I(t),a=T({},n,{alpha:typeof n.alpha=="number"?n.alpha:1}),i=I(r),s=T({},i,{alpha:typeof i.alpha=="number"?i.alpha:1}),l=a.alpha-s.alpha,u=parseFloat(e)*2-1,c=u*l===-1?u:u+l,p=1+u*l,d=(c/p+1)/2,f=1-d,E={red:Math.floor(a.red*d+s.red*f),green:Math.floor(a.green*d+s.green*f),blue:Math.floor(a.blue*d+s.blue*f),alpha:a.alpha*parseFloat(e)+s.alpha*(1-parseFloat(e))};return $(E)}var Bt=v(Pt),Je=Bt;function Ft(e,t){if(t==="transparent")return t;var r=I(t),n=typeof r.alpha=="number"?r.alpha:1,a=T({},r,{alpha:D(0,1,(n*100+parseFloat(e)*100)/100)});return $(a)}var zt=v(Ft),qe=zt;function Ht(e,t){if(t==="transparent")return t;var r=A(t);return C(T({},r,{saturation:D(0,1,r.saturation+parseFloat(e))}))}var ll=v(Ht);function jt(e,t){return t==="transparent"?t:C(T({},A(t),{hue:parseFloat(e)}))}var ul=v(jt);function Ut(e,t){return t==="transparent"?t:C(T({},A(t),{lightness:parseFloat(e)}))}var cl=v(Ut);function kt(e,t){return t==="transparent"?t:C(T({},A(t),{saturation:parseFloat(e)}))}var pl=v(kt);function Gt(e,t){return t==="transparent"?t:Je(parseFloat(e),"rgb(0, 0, 0)",t)}var fl=v(Gt);function Wt(e,t){return t==="transparent"?t:Je(parseFloat(e),"rgb(255, 255, 255)",t)}var dl=v(Wt);function Vt(e,t){if(t==="transparent")return t;var r=I(t),n=typeof r.alpha=="number"?r.alpha:1,a=T({},r,{alpha:D(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return $(a)}var ml=v(Vt);var $t="actions",H="storybook/actions",Yt=`${H}/panel`,se=`${H}/action-event`,et=`${H}/action-clear`,Jt=Object.create,pe=Object.defineProperty,qt=Object.getOwnPropertyDescriptor,tt=Object.getOwnPropertyNames,Xt=Object.getPrototypeOf,Zt=Object.prototype.hasOwnProperty,fe=(e,t)=>function(){return t||(0,e[tt(e)[0]])((t={exports:{}}).exports,t),t.exports},Kt=(e,t)=>{for(var r in t)pe(e,r,{get:t[r],enumerable:!0})},Qt=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of tt(t))!Zt.call(e,a)&&a!==r&&pe(e,a,{get:()=>t[a],enumerable:!(n=qt(t,a))||n.enumerable});return e},er=(e,t,r)=>(r=e!=null?Jt(Xt(e)):{},Qt(t||!e||!e.__esModule?pe(r,"default",{value:e,enumerable:!0}):r,e)),tr=fe({"node_modules/is-object/index.js"(e,t){t.exports=function(r){return typeof r=="object"&&r!==null}}}),rr=fe({"node_modules/is-window/index.js"(e,t){t.exports=function(r){if(r==null)return!1;var n=Object(r);return n===n.window}}}),nr=fe({"node_modules/is-dom/index.js"(e,t){var r=tr(),n=rr();function a(i){return!r(i)||!n(window)||typeof window.Node!="function"?!1:typeof i.nodeType=="number"&&typeof i.nodeName=="string"}t.exports=a}}),q={};Kt(q,{chromeDark:()=>ar,chromeLight:()=>or});var ar={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"rgb(36, 36, 36)",BASE_COLOR:"rgb(213, 213, 213)",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(227, 110, 236)",OBJECT_VALUE_NULL_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_REGEXP_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_STRING_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_NUMBER_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_BOOLEAN_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(85, 106, 242)",HTML_TAG_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(155, 187, 220)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(242, 151, 102)",HTML_COMMENT_COLOR:"rgb(137, 137, 137)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"rgb(145, 145, 145)",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"rgb(85, 85, 85)",TABLE_TH_BACKGROUND_COLOR:"rgb(44, 44, 44)",TABLE_TH_HOVER_COLOR:"rgb(48, 48, 48)",TABLE_SORT_ICON_COLOR:"black",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(51, 139, 255, 0.0980392) 50%, rgba(51, 139, 255, 0.0980392))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},or={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"white",BASE_COLOR:"black",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(136, 19, 145)",OBJECT_VALUE_NULL_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_REGEXP_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_STRING_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_NUMBER_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_BOOLEAN_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(13, 34, 170)",HTML_TAG_COLOR:"rgb(168, 148, 166)",HTML_TAGNAME_COLOR:"rgb(136, 18, 128)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(153, 69, 0)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(26, 26, 166)",HTML_COMMENT_COLOR:"rgb(35, 110, 37)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"#6e6e6e",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"#aaa",TABLE_TH_BACKGROUND_COLOR:"#eee",TABLE_TH_HOVER_COLOR:"hsla(0, 0%, 90%, 1)",TABLE_SORT_ICON_COLOR:"#6e6e6e",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(to bottom, white, white 50%, rgb(234, 243, 255) 50%, rgb(234, 243, 255))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},rt=Z([{},()=>{}]),ie={WebkitTouchCallout:"none",WebkitUserSelect:"none",KhtmlUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",OUserSelect:"none",userSelect:"none"},Y=e=>({DOMNodePreview:{htmlOpenTag:{base:{color:e.HTML_TAG_COLOR},tagName:{color:e.HTML_TAGNAME_COLOR,textTransform:e.HTML_TAGNAME_TEXT_TRANSFORM},htmlAttributeName:{color:e.HTML_ATTRIBUTE_NAME_COLOR},htmlAttributeValue:{color:e.HTML_ATTRIBUTE_VALUE_COLOR}},htmlCloseTag:{base:{color:e.HTML_TAG_COLOR},offsetLeft:{marginLeft:-e.TREENODE_PADDING_LEFT},tagName:{color:e.HTML_TAGNAME_COLOR,textTransform:e.HTML_TAGNAME_TEXT_TRANSFORM}},htmlComment:{color:e.HTML_COMMENT_COLOR},htmlDoctype:{color:e.HTML_DOCTYPE_COLOR}},ObjectPreview:{objectDescription:{fontStyle:"italic"},preview:{fontStyle:"italic"},arrayMaxProperties:e.OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES,objectMaxProperties:e.OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES},ObjectName:{base:{color:e.OBJECT_NAME_COLOR},dimmed:{opacity:.6}},ObjectValue:{objectValueNull:{color:e.OBJECT_VALUE_NULL_COLOR},objectValueUndefined:{color:e.OBJECT_VALUE_UNDEFINED_COLOR},objectValueRegExp:{color:e.OBJECT_VALUE_REGEXP_COLOR},objectValueString:{color:e.OBJECT_VALUE_STRING_COLOR},objectValueSymbol:{color:e.OBJECT_VALUE_SYMBOL_COLOR},objectValueNumber:{color:e.OBJECT_VALUE_NUMBER_COLOR},objectValueBoolean:{color:e.OBJECT_VALUE_BOOLEAN_COLOR},objectValueFunctionPrefix:{color:e.OBJECT_VALUE_FUNCTION_PREFIX_COLOR,fontStyle:"italic"},objectValueFunctionName:{fontStyle:"italic"}},TreeView:{treeViewOutline:{padding:0,margin:0,listStyleType:"none"}},TreeNode:{treeNodeBase:{color:e.BASE_COLOR,backgroundColor:e.BASE_BACKGROUND_COLOR,lineHeight:e.TREENODE_LINE_HEIGHT,cursor:"default",boxSizing:"border-box",listStyle:"none",fontFamily:e.TREENODE_FONT_FAMILY,fontSize:e.TREENODE_FONT_SIZE},treeNodePreviewContainer:{},treeNodePlaceholder:{whiteSpace:"pre",fontSize:e.ARROW_FONT_SIZE,marginRight:e.ARROW_MARGIN_RIGHT,...ie},treeNodeArrow:{base:{color:e.ARROW_COLOR,display:"inline-block",fontSize:e.ARROW_FONT_SIZE,marginRight:e.ARROW_MARGIN_RIGHT,...parseFloat(e.ARROW_ANIMATION_DURATION)>0?{transition:`transform ${e.ARROW_ANIMATION_DURATION} ease 0s`}:{},...ie},expanded:{WebkitTransform:"rotateZ(90deg)",MozTransform:"rotateZ(90deg)",transform:"rotateZ(90deg)"},collapsed:{WebkitTransform:"rotateZ(0deg)",MozTransform:"rotateZ(0deg)",transform:"rotateZ(0deg)"}},treeNodeChildNodesContainer:{margin:0,paddingLeft:e.TREENODE_PADDING_LEFT}},TableInspector:{base:{color:e.BASE_COLOR,position:"relative",border:`1px solid ${e.TABLE_BORDER_COLOR}`,fontFamily:e.BASE_FONT_FAMILY,fontSize:e.BASE_FONT_SIZE,lineHeight:"120%",boxSizing:"border-box",cursor:"default"}},TableInspectorHeaderContainer:{base:{top:0,height:"17px",left:0,right:0,overflowX:"hidden"},table:{tableLayout:"fixed",borderSpacing:0,borderCollapse:"separate",height:"100%",width:"100%",margin:0}},TableInspectorDataContainer:{tr:{display:"table-row"},td:{boxSizing:"border-box",border:"none",height:"16px",verticalAlign:"top",padding:"1px 4px",WebkitUserSelect:"text",whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",lineHeight:"14px"},div:{position:"static",top:"17px",bottom:0,overflowY:"overlay",transform:"translateZ(0)",left:0,right:0,overflowX:"hidden"},table:{positon:"static",left:0,top:0,right:0,bottom:0,borderTop:"0 none transparent",margin:0,backgroundImage:e.TABLE_DATA_BACKGROUND_IMAGE,backgroundSize:e.TABLE_DATA_BACKGROUND_SIZE,tableLayout:"fixed",borderSpacing:0,borderCollapse:"separate",width:"100%",fontSize:e.BASE_FONT_SIZE,lineHeight:"120%"}},TableInspectorTH:{base:{position:"relative",height:"auto",textAlign:"left",backgroundColor:e.TABLE_TH_BACKGROUND_COLOR,borderBottom:`1px solid ${e.TABLE_BORDER_COLOR}`,fontWeight:"normal",verticalAlign:"middle",padding:"0 4px",whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",lineHeight:"14px",":hover":{backgroundColor:e.TABLE_TH_HOVER_COLOR}},div:{whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",fontSize:e.BASE_FONT_SIZE,lineHeight:"120%"}},TableInspectorLeftBorder:{none:{borderLeft:"none"},solid:{borderLeft:`1px solid ${e.TABLE_BORDER_COLOR}`}},TableInspectorSortIcon:{display:"block",marginRight:3,width:8,height:7,marginTop:-7,color:e.TABLE_SORT_ICON_COLOR,fontSize:12,...ie}}),le="chromeLight",nt=Z(Y(q[le])),S=e=>K(nt)[e],de=e=>({theme:t=le,...r})=>{let n=Ce(()=>{switch(Object.prototype.toString.call(t)){case"[object String]":return Y(q[t]);case"[object Object]":return Y(t);default:return Y(q[le])}},[t]);return o.createElement(nt.Provider,{value:n},o.createElement(e,{...r}))},ir=({expanded:e,styles:t})=>o.createElement("span",{style:{...t.base,...e?t.expanded:t.collapsed}},"\u25B6"),sr=j(e=>{e={expanded:!0,nodeRenderer:({name:p})=>o.createElement("span",null,p),onClick:()=>{},shouldShowArrow:!1,shouldShowPlaceholder:!0,...e};let{expanded:t,onClick:r,children:n,nodeRenderer:a,title:i,shouldShowArrow:s,shouldShowPlaceholder:l}=e,u=S("TreeNode"),c=a;return o.createElement("li",{"aria-expanded":t,role:"treeitem",style:u.treeNodeBase,title:i},o.createElement("div",{style:u.treeNodePreviewContainer,onClick:r},s||Te.count(n)>0?o.createElement(ir,{expanded:t,styles:u.treeNodeArrow}):l&&o.createElement("span",{style:u.treeNodePlaceholder},"\xA0"),o.createElement(c,{...e})),o.createElement("ol",{role:"group",style:u.treeNodeChildNodesContainer},t?n:void 0))}),X="$",Xe="*";function J(e,t){return!t(e).next().done}var lr=e=>Array.from({length:e},(t,r)=>[X].concat(Array.from({length:r},()=>"*")).join(".")),ur=(e,t,r,n,a)=>{let i=[].concat(lr(n)).concat(r).filter(l=>typeof l=="string"),s=[];return i.forEach(l=>{let u=l.split("."),c=(p,d,f)=>{if(f===u.length){s.push(d);return}let E=u[f];if(f===0)J(p,t)&&(E===X||E===Xe)&&c(p,X,f+1);else if(E===Xe)for(let{name:m,data:y}of t(p))J(y,t)&&c(y,`${d}.${m}`,f+1);else{let m=p[E];J(m,t)&&c(m,`${d}.${E}`,f+1)}};c(e,"",0)}),s.reduce((l,u)=>(l[u]=!0,l),{...a})},at=j(e=>{let{data:t,dataIterator:r,path:n,depth:a,nodeRenderer:i}=e,[s,l]=K(rt),u=J(t,r),c=!!s[n],p=x(()=>u&&l(d=>({...d,[n]:!c})),[u,l,n,c]);return o.createElement(sr,{expanded:c,onClick:p,shouldShowArrow:u,shouldShowPlaceholder:a>0,nodeRenderer:i,...e},c?[...r(t)].map(({name:d,data:f,...E})=>o.createElement(at,{name:d,data:f,depth:a+1,path:`${n}.${d}`,key:d,dataIterator:r,nodeRenderer:i,...E})):null)}),ot=j(({name:e,data:t,dataIterator:r,nodeRenderer:n,expandPaths:a,expandLevel:i})=>{let s=S("TreeView"),l=U({}),[,u]=l;return Ae(()=>u(c=>ur(t,r,a,i,c)),[t,r,a,i]),o.createElement(rt.Provider,{value:l},o.createElement("ol",{role:"tree",style:s.treeViewOutline},o.createElement(at,{name:e,data:t,dataIterator:r,depth:0,path:X,nodeRenderer:n})))}),me=({name:e,dimmed:t=!1,styles:r={}})=>{let n=S("ObjectName"),a={...n.base,...t?n.dimmed:{},...r};return o.createElement("span",{style:a},e)},z=({object:e,styles:t})=>{let r=S("ObjectValue"),n=a=>({...r[a],...t});switch(typeof e){case"bigint":return o.createElement("span",{style:n("objectValueNumber")},String(e),"n");case"number":return o.createElement("span",{style:n("objectValueNumber")},String(e));case"string":return o.createElement("span",{style:n("objectValueString")},'"',e,'"');case"boolean":return o.createElement("span",{style:n("objectValueBoolean")},String(e));case"undefined":return o.createElement("span",{style:n("objectValueUndefined")},"undefined");case"object":return e===null?o.createElement("span",{style:n("objectValueNull")},"null"):e instanceof Date?o.createElement("span",null,e.toString()):e instanceof RegExp?o.createElement("span",{style:n("objectValueRegExp")},e.toString()):Array.isArray(e)?o.createElement("span",null,`Array(${e.length})`):e.constructor?typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)?o.createElement("span",null,`Buffer[${e.length}]`):o.createElement("span",null,e.constructor.name):o.createElement("span",null,"Object");case"function":return o.createElement("span",null,o.createElement("span",{style:n("objectValueFunctionPrefix")},"\u0192\xA0"),o.createElement("span",{style:n("objectValueFunctionName")},e.name,"()"));case"symbol":return o.createElement("span",{style:n("objectValueSymbol")},e.toString());default:return o.createElement("span",null)}},it=Object.prototype.hasOwnProperty,cr=Object.prototype.propertyIsEnumerable;function ue(e,t){let r=Object.getOwnPropertyDescriptor(e,t);if(r.get)try{return r.get()}catch{return r.get}return e[t]}function Ze(e,t){return e.length===0?[]:e.slice(1).reduce((r,n)=>r.concat([t,n]),[e[0]])}var ce=({data:e})=>{let t=S("ObjectPreview"),r=e;if(typeof r!="object"||r===null||r instanceof Date||r instanceof RegExp)return o.createElement(z,{object:r});if(Array.isArray(r)){let n=t.arrayMaxProperties,a=r.slice(0,n).map((s,l)=>o.createElement(z,{key:l,object:s}));r.length>n&&a.push(o.createElement("span",{key:"ellipsis"},"\u2026"));let i=r.length;return o.createElement(o.Fragment,null,o.createElement("span",{style:t.objectDescription},i===0?"":`(${i})\xA0`),o.createElement("span",{style:t.preview},"[",Ze(a,", "),"]"))}else{let n=t.objectMaxProperties,a=[];for(let s in r)if(it.call(r,s)){let l;a.length===n-1&&Object.keys(r).length>n&&(l=o.createElement("span",{key:"ellipsis"},"\u2026"));let u=ue(r,s);if(a.push(o.createElement("span",{key:s},o.createElement(me,{name:s||'""'}),":\xA0",o.createElement(z,{object:u}),l)),l)break}let i=r.constructor?r.constructor.name:"Object";return o.createElement(o.Fragment,null,o.createElement("span",{style:t.objectDescription},i==="Object"?"":`${i} `),o.createElement("span",{style:t.preview},"{",Ze(a,", "),"}"))}},pr=({name:e,data:t})=>typeof e=="string"?o.createElement("span",null,o.createElement(me,{name:e}),o.createElement("span",null,": "),o.createElement(ce,{data:t})):o.createElement(ce,{data:t}),fr=({name:e,data:t,isNonenumerable:r=!1})=>{let n=t;return o.createElement("span",null,typeof e=="string"?o.createElement(me,{name:e,dimmed:r}):o.createElement(ce,{data:e}),o.createElement("span",null,": "),o.createElement(z,{object:n}))},dr=(e,t)=>function*(r){if(!(typeof r=="object"&&r!==null||typeof r=="function"))return;let n=Array.isArray(r);if(!n&&r[Symbol.iterator]){let a=0;for(let i of r){if(Array.isArray(i)&&i.length===2){let[s,l]=i;yield{name:s,data:l}}else yield{name:a.toString(),data:i};a++}}else{let a=Object.getOwnPropertyNames(r);t===!0&&!n?a.sort():typeof t=="function"&&a.sort(t);for(let i of a)if(cr.call(r,i)){let s=ue(r,i);yield{name:i||'""',data:s}}else if(e){let s;try{s=ue(r,i)}catch{}s!==void 0&&(yield{name:i,data:s,isNonenumerable:!0})}e&&r!==Object.prototype&&(yield{name:"__proto__",data:Object.getPrototypeOf(r),isNonenumerable:!0})}},mr=({depth:e,name:t,data:r,isNonenumerable:n})=>e===0?o.createElement(pr,{name:t,data:r}):o.createElement(fr,{name:t,data:r,isNonenumerable:n}),gr=({showNonenumerable:e=!1,sortObjectKeys:t,nodeRenderer:r,...n})=>{let a=dr(e,t),i=r||mr;return o.createElement(ot,{nodeRenderer:i,dataIterator:a,...n})},br=de(gr);function hr(e){if(typeof e=="object"){let t=[];if(Array.isArray(e)){let n=e.length;t=[...Array(n).keys()]}else e!==null&&(t=Object.keys(e));let r=t.reduce((n,a)=>{let i=e[a];return typeof i=="object"&&i!==null&&Object.keys(i).reduce((s,l)=>(s.includes(l)||s.push(l),s),n),n},[]);return{rowHeaders:t,colHeaders:r}}}var Er=({rows:e,columns:t,rowsData:r})=>{let n=S("TableInspectorDataContainer"),a=S("TableInspectorLeftBorder");return o.createElement("div",{style:n.div},o.createElement("table",{style:n.table},o.createElement("colgroup",null),o.createElement("tbody",null,e.map((i,s)=>o.createElement("tr",{key:i,style:n.tr},o.createElement("td",{style:{...n.td,...a.none}},i),t.map(l=>{let u=r[s];return typeof u=="object"&&u!==null&&it.call(u,l)?o.createElement("td",{key:l,style:{...n.td,...a.solid}},o.createElement(z,{object:u[l]})):o.createElement("td",{key:l,style:{...n.td,...a.solid}})}))))))},yr=e=>o.createElement("div",{style:{position:"absolute",top:1,right:0,bottom:1,display:"flex",alignItems:"center"}},e.children),Or=({sortAscending:e})=>{let t=S("TableInspectorSortIcon"),r=e?"\u25B2":"\u25BC";return o.createElement("div",{style:t},r)},Ke=({sortAscending:e=!1,sorted:t=!1,onClick:r=void 0,borderStyle:n={},children:a,...i})=>{let s=S("TableInspectorTH"),[l,u]=U(!1),c=x(()=>u(!0),[]),p=x(()=>u(!1),[]);return o.createElement("th",{...i,style:{...s.base,...n,...l?s.base[":hover"]:{}},onMouseEnter:c,onMouseLeave:p,onClick:r},o.createElement("div",{style:s.div},a),t&&o.createElement(yr,null,o.createElement(Or,{sortAscending:e})))},Tr=({indexColumnText:e="(index)",columns:t=[],sorted:r,sortIndexColumn:n,sortColumn:a,sortAscending:i,onTHClick:s,onIndexTHClick:l})=>{let u=S("TableInspectorHeaderContainer"),c=S("TableInspectorLeftBorder");return o.createElement("div",{style:u.base},o.createElement("table",{style:u.table},o.createElement("tbody",null,o.createElement("tr",null,o.createElement(Ke,{borderStyle:c.none,sorted:r&&n,sortAscending:i,onClick:l},e),t.map(p=>o.createElement(Ke,{borderStyle:c.solid,key:p,sorted:r&&a===p,sortAscending:i,onClick:s.bind(null,p)},p))))))},_r=({data:e,columns:t})=>{let r=S("TableInspector"),[{sorted:n,sortIndexColumn:a,sortColumn:i,sortAscending:s},l]=U({sorted:!1,sortIndexColumn:!1,sortColumn:void 0,sortAscending:!1}),u=x(()=>{l(({sortIndexColumn:m,sortAscending:y})=>({sorted:!0,sortIndexColumn:!0,sortColumn:void 0,sortAscending:m?!y:!0}))},[]),c=x(m=>{l(({sortColumn:y,sortAscending:O})=>({sorted:!0,sortIndexColumn:!1,sortColumn:m,sortAscending:m===y?!O:!0}))},[]);if(typeof e!="object"||e===null)return o.createElement("div",null);let{rowHeaders:p,colHeaders:d}=hr(e);t!==void 0&&(d=t);let f=p.map(m=>e[m]),E;if(i!==void 0?E=f.map((m,y)=>typeof m=="object"&&m!==null?[m[i],y]:[void 0,y]):a&&(E=p.map((m,y)=>[p[y],y])),E!==void 0){let m=(O,N)=>(ut,ct)=>{let ge=O(ut),be=O(ct),he=typeof ge,Ee=typeof be,ye=(P,Oe)=>POe?1:0,M;if(he===Ee)M=ye(ge,be);else{let P={string:0,number:1,object:2,symbol:3,boolean:4,undefined:5,function:6};M=ye(P[he],P[Ee])}return N||(M=-M),M},y=E.sort(m(O=>O[0],s)).map(O=>O[1]);p=y.map(O=>p[O]),f=y.map(O=>f[O])}return o.createElement("div",{style:r.base},o.createElement(Tr,{columns:d,sorted:n,sortIndexColumn:a,sortColumn:i,sortAscending:s,onTHClick:c,onIndexTHClick:u}),o.createElement(Er,{rows:p,columns:d,rowsData:f}))},vr=de(_r),Sr=80,st=e=>e.childNodes.length===0||e.childNodes.length===1&&e.childNodes[0].nodeType===Node.TEXT_NODE&&e.textContent.lengtho.createElement("span",{style:r.base},"<",o.createElement("span",{style:r.tagName},e),(()=>{if(t){let n=[];for(let a=0;a"),Qe=({tagName:e,isChildNode:t=!1,styles:r})=>o.createElement("span",{style:Object.assign({},r.base,t&&r.offsetLeft)},""),Ar={1:"ELEMENT_NODE",3:"TEXT_NODE",7:"PROCESSING_INSTRUCTION_NODE",8:"COMMENT_NODE",9:"DOCUMENT_NODE",10:"DOCUMENT_TYPE_NODE",11:"DOCUMENT_FRAGMENT_NODE"},Cr=({isCloseTag:e,data:t,expanded:r})=>{let n=S("DOMNodePreview");if(e)return o.createElement(Qe,{styles:n.htmlCloseTag,isChildNode:!0,tagName:t.tagName});switch(t.nodeType){case Node.ELEMENT_NODE:return o.createElement("span",null,o.createElement(Rr,{tagName:t.tagName,attributes:t.attributes,styles:n.htmlOpenTag}),st(t)?t.textContent:!r&&"\u2026",!r&&o.createElement(Qe,{tagName:t.tagName,styles:n.htmlCloseTag}));case Node.TEXT_NODE:return o.createElement("span",null,t.textContent);case Node.CDATA_SECTION_NODE:return o.createElement("span",null,"");case Node.COMMENT_NODE:return o.createElement("span",{style:n.htmlComment},"");case Node.PROCESSING_INSTRUCTION_NODE:return o.createElement("span",null,t.nodeName);case Node.DOCUMENT_TYPE_NODE:return o.createElement("span",{style:n.htmlDoctype},"");case Node.DOCUMENT_NODE:return o.createElement("span",null,t.nodeName);case Node.DOCUMENT_FRAGMENT_NODE:return o.createElement("span",null,t.nodeName);default:return o.createElement("span",null,Ar[t.nodeType])}},wr=function*(e){if(e&&e.childNodes){if(st(e))return;for(let t=0;to.createElement(ot,{nodeRenderer:Cr,dataIterator:wr,...e}),xr=de(Nr),Lr=er(nr()),Ir=({table:e=!1,data:t,...r})=>e?o.createElement(vr,{data:t,...r}):(0,Lr.default)(t)?o.createElement(xr,{data:t,...r}):o.createElement(br,{data:t,...r}),Dr=B.div({display:"flex",padding:0,borderLeft:"5px solid transparent",borderBottom:"1px solid transparent",transition:"all 0.1s",alignItems:"flex-start",whiteSpace:"pre"}),Mr=B.div(({theme:e})=>({backgroundColor:qe(.5,e.appBorderColor),color:e.color.inverseText,fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:1,padding:"1px 5px",borderRadius:20,margin:"2px 0px"})),Pr=B.div({flex:1,padding:"0 0 0 5px"}),lt=Se(({children:e,className:t},r)=>o.createElement(Le,{ref:r,horizontal:!0,vertical:!0,className:t},e));lt.displayName="UnstyledWrapped";var Br=B(lt)({margin:0,padding:"10px 5px 20px"}),Fr=ze(({theme:e,...t})=>o.createElement(Ir,{theme:e.addonActionsTheme||"chromeLight",table:!1,...t})),zr=({actions:e,onClear:t})=>{let r=we(null),n=r.current,a=n&&n.scrollHeight-n.scrollTop===n.clientHeight;return Re(()=>{a&&(r.current.scrollTop=r.current.scrollHeight)},[a,e.length]),o.createElement(ve,null,o.createElement(Br,{ref:r},e.map(i=>o.createElement(Dr,{key:i.id},i.count>1&&o.createElement(Mr,null,i.count),o.createElement(Pr,null,o.createElement(Fr,{sortObjectKeys:!0,showNonenumerable:!1,name:i.data.name,data:i.data.args??i.data}))))),o.createElement(Ne,{actionItems:[{title:"Clear",onClick:t}]}))},Hr=(e,t)=>{try{return L(e,t)}catch{return!1}},jr=class extends _e{constructor(e){super(e),this.handleStoryChange=()=>{let{actions:t}=this.state;t.length>0&&t[0].options.clearOnStoryChange&&this.clearActions()},this.addAction=t=>{this.setState(r=>{let n=[...r.actions],a=n.length&&n[n.length-1];return a&&Hr(a.data,t.data)?a.count++:(t.count=1,n.push(t)),{actions:n.slice(0,t.options.limit)}})},this.clearActions=()=>{let{api:t}=this.props;t.emit(et),this.setState({actions:[]})},this.mounted=!1,this.state={actions:[]}}componentDidMount(){this.mounted=!0;let{api:e}=this.props;e.on(se,this.addAction),e.on(k,this.handleStoryChange)}componentWillUnmount(){this.mounted=!1;let{api:e}=this.props;e.off(k,this.handleStoryChange),e.off(se,this.addAction)}render(){let{actions:e=[]}=this.state,{active:t}=this.props,r={actions:e,onClear:this.clearActions};return t?o.createElement(zr,{...r}):null}};function Ur(){let[{count:e},t]=Me(H,{count:0});return Pe({[se]:()=>{t(r=>({...r,count:r.count+1}))},[k]:()=>{t(r=>({...r,count:0}))},[et]:()=>{t(r=>({...r,count:0}))}}),o.createElement("div",null,o.createElement(Ie,{col:1},o.createElement("span",{style:{display:"inline-block",verticalAlign:"middle"}},"Actions"),e===0?"":o.createElement(xe,{status:"neutral"},e)))}Q.register(H,e=>{Q.add(Yt,{title:Ur,type:De.PANEL,render:({active:t})=>o.createElement(jr,{api:e,active:!!t}),paramKey:$t})});})(); }catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/sb-addons/essentials-controls-1/manager-bundle.js b/sb-addons/essentials-controls-1/manager-bundle.js index 4c560ffab..5bdf13123 100644 --- a/sb-addons/essentials-controls-1/manager-bundle.js +++ b/sb-addons/essentials-controls-1/manager-bundle.js @@ -1,21 +1,21 @@ try{ -(()=>{var B2=Object.create;var Da=Object.defineProperty;var L2=Object.getOwnPropertyDescriptor;var q2=Object.getOwnPropertyNames;var M2=Object.getPrototypeOf,U2=Object.prototype.hasOwnProperty;var et=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var Tt=(e,t)=>()=>(e&&(t=e(e=0)),t);var J=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Hl=(e,t)=>{for(var r in t)Da(e,r,{get:t[r],enumerable:!0})},J2=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of q2(t))!U2.call(e,o)&&o!==r&&Da(e,o,{get:()=>t[o],enumerable:!(n=L2(t,o))||n.enumerable});return e};var ao=(e,t,r)=>(r=e!=null?B2(M2(e)):{},J2(t||!e||!e.__esModule?Da(r,"default",{value:e,enumerable:!0}):r,e));var S=Tt(()=>{});var A=Tt(()=>{});var T=Tt(()=>{});var $2,Gl,z2,Wl,V2,H2,mn,rr,G2,gn,W2,Kl,K2,Yl,Y2,X2,nr,Q2,Xl,tt,bn,Fa=Tt(()=>{S();A();T();$2=Object.create,Gl=Object.defineProperty,z2=Object.getOwnPropertyDescriptor,Wl=Object.getOwnPropertyNames,V2=Object.getPrototypeOf,H2=Object.prototype.hasOwnProperty,mn=(e=>typeof et<"u"?et:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof et<"u"?et:t)[r]}):e)(function(e){if(typeof et<"u")return et.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),rr=(e,t)=>function(){return t||(0,e[Wl(e)[0]])((t={exports:{}}).exports,t),t.exports},G2=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Wl(t))!H2.call(e,o)&&o!==r&&Gl(e,o,{get:()=>t[o],enumerable:!(n=z2(t,o))||n.enumerable});return e},gn=(e,t,r)=>(r=e!=null?$2(V2(e)):{},G2(t||!e||!e.__esModule?Gl(r,"default",{value:e,enumerable:!0}):r,e)),W2=Object.create,Kl=Object.defineProperty,K2=Object.getOwnPropertyDescriptor,Yl=Object.getOwnPropertyNames,Y2=Object.getPrototypeOf,X2=Object.prototype.hasOwnProperty,nr=(e,t)=>function(){return t||(0,e[Yl(e)[0]])((t={exports:{}}).exports,t),t.exports},Q2=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Yl(t))!X2.call(e,o)&&o!==r&&Kl(e,o,{get:()=>t[o],enumerable:!(n=K2(t,o))||n.enumerable});return e},Xl=(e,t,r)=>(r=e!=null?W2(Y2(e)):{},Q2(t||!e||!e.__esModule?Kl(r,"default",{value:e,enumerable:!0}):r,e)),tt=e=>`control-${e.replace(/\s+/g,"-")}`,bn=e=>`set-${e.replace(/\s+/g,"-")}`});var E,Ql,jt,F6,j6,N6,B6,Zl,L6,Oe,vn,ja,q6,M6,U6,J6,eu,$6,z6,V6,$e,tu,H6,G6,ze,W6,K6,Y6,ru,Nt,X6,Xe,he,Q6,Z6,e8,io=Tt(()=>{S();A();T();E=__REACT__,{Children:Ql,Component:jt,Fragment:F6,Profiler:j6,PureComponent:N6,StrictMode:B6,Suspense:Zl,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:L6,cloneElement:Oe,createContext:vn,createElement:ja,createFactory:q6,createRef:M6,forwardRef:U6,isValidElement:J6,lazy:eu,memo:$6,startTransition:z6,unstable_act:V6,useCallback:$e,useContext:tu,useDebugValue:H6,useDeferredValue:G6,useEffect:ze,useId:W6,useImperativeHandle:K6,useInsertionEffect:Y6,useLayoutEffect:ru,useMemo:Nt,useReducer:X6,useRef:Xe,useState:he,useSyncExternalStore:Q6,useTransition:Z6,version:e8}=__REACT__});var au={};Hl(au,{A:()=>t1,ActionBar:()=>Na,AddonPanel:()=>Ba,Badge:()=>La,Bar:()=>qa,Blockquote:()=>r1,Button:()=>Bt,ClipboardCode:()=>n1,Code:()=>o1,DL:()=>a1,Div:()=>i1,DocumentWrapper:()=>s1,EmptyTabContent:()=>Ma,ErrorFormatter:()=>l1,FlexBar:()=>Ua,Form:()=>dt,H1:()=>u1,H2:()=>Ja,H3:()=>c1,H4:()=>p1,H5:()=>d1,H6:()=>f1,HR:()=>y1,IconButton:()=>ht,IconButtonSkeleton:()=>h1,Icons:()=>m1,Img:()=>g1,LI:()=>b1,Link:()=>ar,ListItem:()=>v1,Loader:()=>x1,Modal:()=>mt,OL:()=>E1,P:()=>w1,Placeholder:()=>S1,Pre:()=>A1,ResetWrapper:()=>$a,ScrollArea:()=>T1,Separator:()=>C1,Spaced:()=>za,Span:()=>_1,StorybookIcon:()=>O1,StorybookLogo:()=>I1,Symbols:()=>P1,SyntaxHighlighter:()=>so,TT:()=>k1,TabBar:()=>R1,TabButton:()=>D1,TabWrapper:()=>F1,Table:()=>j1,Tabs:()=>N1,TabsState:()=>B1,TooltipLinkList:()=>L1,TooltipMessage:()=>q1,TooltipNote:()=>ir,UL:()=>M1,WithTooltip:()=>Lt,WithTooltipPure:()=>Va,Zoom:()=>Ha,codeCommon:()=>Ir,components:()=>Ga,createCopyToClipboardFunction:()=>U1,default:()=>e1,getStoryHref:()=>J1,icons:()=>$1,interleaveSeparators:()=>z1,nameSpaceClassNames:()=>Wa,resetComponents:()=>V1,withReset:()=>Pr});var e1,t1,Na,Ba,La,qa,r1,Bt,n1,o1,a1,i1,s1,Ma,l1,Ua,dt,u1,Ja,c1,p1,d1,f1,y1,ht,h1,m1,g1,b1,ar,v1,x1,mt,E1,w1,S1,A1,$a,T1,C1,za,_1,O1,I1,P1,so,k1,R1,D1,F1,j1,N1,B1,L1,q1,ir,M1,Lt,Va,Ha,Ir,Ga,U1,J1,$1,z1,Wa,V1,Pr,lo=Tt(()=>{S();A();T();e1=__STORYBOOK_COMPONENTS__,{A:t1,ActionBar:Na,AddonPanel:Ba,Badge:La,Bar:qa,Blockquote:r1,Button:Bt,ClipboardCode:n1,Code:o1,DL:a1,Div:i1,DocumentWrapper:s1,EmptyTabContent:Ma,ErrorFormatter:l1,FlexBar:Ua,Form:dt,H1:u1,H2:Ja,H3:c1,H4:p1,H5:d1,H6:f1,HR:y1,IconButton:ht,IconButtonSkeleton:h1,Icons:m1,Img:g1,LI:b1,Link:ar,ListItem:v1,Loader:x1,Modal:mt,OL:E1,P:w1,Placeholder:S1,Pre:A1,ResetWrapper:$a,ScrollArea:T1,Separator:C1,Spaced:za,Span:_1,StorybookIcon:O1,StorybookLogo:I1,Symbols:P1,SyntaxHighlighter:so,TT:k1,TabBar:R1,TabButton:D1,TabWrapper:F1,Table:j1,Tabs:N1,TabsState:B1,TooltipLinkList:L1,TooltipMessage:q1,TooltipNote:ir,UL:M1,WithTooltip:Lt,WithTooltipPure:Va,Zoom:Ha,codeCommon:Ir,components:Ga,createCopyToClipboardFunction:U1,getStoryHref:J1,icons:$1,interleaveSeparators:z1,nameSpaceClassNames:Wa,resetComponents:V1,withReset:Pr}=__STORYBOOK_COMPONENTS__});var g9,b9,v9,x9,Ru,E9,go,Du,w9,S9,A9,T9,C9,_9,O9,Fu,I9,P9,ti,k9,W,ri,R9,ni,D9,oi=Tt(()=>{S();A();T();g9=__STORYBOOK_THEMING__,{CacheProvider:b9,ClassNames:v9,Global:x9,ThemeProvider:Ru,background:E9,color:go,convert:Du,create:w9,createCache:S9,createGlobal:A9,createReset:T9,css:C9,darken:_9,ensure:O9,ignoreSsrWarning:Fu,isPropValid:I9,jsx:P9,keyframes:ti,lighten:k9,styled:W,themes:ri,typography:R9,useTheme:ni,withTheme:D9}=__STORYBOOK_THEMING__});var L9,q9,M9,ai,U9,J9,$9,z9,V9,H9,G9,W9,K9,Y9,X9,Q9,Z9,eU,tU,rU,nU,oU,aU,iU,sU,lU,uU,cU,pU,dU,fU,yU,hU,mU,gU,bU,vU,xU,EU,wU,SU,AU,TU,ju,Nu,CU,Bu,ii,_U,OU,Lu,IU,PU,kU,RU,DU,FU,jU,NU,BU,LU,qU,MU,UU,JU,$U,zU,VU,HU,GU,WU,KU,YU,XU,QU,ZU,eJ,tJ,rJ,nJ,oJ,aJ,iJ,sJ,bo,lJ,uJ,cJ,pJ,dJ,fJ,yJ,qu,Mu,hJ,mJ,gJ,bJ,vJ,xJ,EJ,wJ,SJ,AJ,TJ,CJ,_J,OJ,IJ,PJ,kJ,RJ,DJ,FJ,jJ,NJ,BJ,LJ,qJ,MJ,UJ,JJ,$J,zJ,VJ,HJ,GJ,Uu,WJ,KJ,YJ,XJ,QJ,ZJ,e$,Ju,t$,r$,n$,o$,a$,i$,s$,l$,u$,c$,p$,d$,f$,y$,h$,m$,g$,b$,v$,x$,E$,w$,S$,A$,T$,C$,_$,O$,I$,P$,k$,R$,D$,F$,j$,N$,B$,L$,q$,M$,U$,J$,$$,z$,V$,H$,G$,W$,K$,Y$,X$,Q$,Z$,ez,tz,rz,nz,oz,$u,az,iz,sz,lz,uz,cz,pz,dz,fz,yz,hz,mz,gz,si,bz,vz,xz,Ez,wz,Sz,Az,Tz,Cz,_z,zu,Oz,Iz,Pz,kz,Rz,Vu,Hu,Gu,Dz,li=Tt(()=>{S();A();T();L9=__STORYBOOK_ICONS__,{AccessibilityAltIcon:q9,AccessibilityIcon:M9,AddIcon:ai,AdminIcon:U9,AlertAltIcon:J9,AlertIcon:$9,AlignLeftIcon:z9,AlignRightIcon:V9,AppleIcon:H9,ArrowDownIcon:G9,ArrowLeftIcon:W9,ArrowRightIcon:K9,ArrowSolidDownIcon:Y9,ArrowSolidLeftIcon:X9,ArrowSolidRightIcon:Q9,ArrowSolidUpIcon:Z9,ArrowUpIcon:eU,AzureDevOpsIcon:tU,BackIcon:rU,BasketIcon:nU,BatchAcceptIcon:oU,BatchDenyIcon:aU,BeakerIcon:iU,BellIcon:sU,BitbucketIcon:lU,BoldIcon:uU,BookIcon:cU,BookmarkHollowIcon:pU,BookmarkIcon:dU,BottomBarIcon:fU,BottomBarToggleIcon:yU,BoxIcon:hU,BranchIcon:mU,BrowserIcon:gU,ButtonIcon:bU,CPUIcon:vU,CalendarIcon:xU,CameraIcon:EU,CategoryIcon:wU,CertificateIcon:SU,ChangedIcon:AU,ChatIcon:TU,CheckIcon:ju,ChevronDownIcon:Nu,ChevronLeftIcon:CU,ChevronRightIcon:Bu,ChevronSmallDownIcon:ii,ChevronSmallLeftIcon:_U,ChevronSmallRightIcon:OU,ChevronSmallUpIcon:Lu,ChevronUpIcon:IU,ChromaticIcon:PU,ChromeIcon:kU,CircleHollowIcon:RU,CircleIcon:DU,ClearIcon:FU,CloseAltIcon:jU,CloseIcon:NU,CloudHollowIcon:BU,CloudIcon:LU,CogIcon:qU,CollapseIcon:MU,CommandIcon:UU,CommentAddIcon:JU,CommentIcon:$U,CommentsIcon:zU,CommitIcon:VU,CompassIcon:HU,ComponentDrivenIcon:GU,ComponentIcon:WU,ContrastIcon:KU,ControlsIcon:YU,CopyIcon:XU,CreditIcon:QU,CrossIcon:ZU,DashboardIcon:eJ,DatabaseIcon:tJ,DeleteIcon:rJ,DiamondIcon:nJ,DirectionIcon:oJ,DiscordIcon:aJ,DocChartIcon:iJ,DocListIcon:sJ,DocumentIcon:bo,DownloadIcon:lJ,DragIcon:uJ,EditIcon:cJ,EllipsisIcon:pJ,EmailIcon:dJ,ExpandAltIcon:fJ,ExpandIcon:yJ,EyeCloseIcon:qu,EyeIcon:Mu,FaceHappyIcon:hJ,FaceNeutralIcon:mJ,FaceSadIcon:gJ,FacebookIcon:bJ,FailedIcon:vJ,FastForwardIcon:xJ,FigmaIcon:EJ,FilterIcon:wJ,FlagIcon:SJ,FolderIcon:AJ,FormIcon:TJ,GDriveIcon:CJ,GithubIcon:_J,GitlabIcon:OJ,GlobeIcon:IJ,GoogleIcon:PJ,GraphBarIcon:kJ,GraphLineIcon:RJ,GraphqlIcon:DJ,GridAltIcon:FJ,GridIcon:jJ,GrowIcon:NJ,HeartHollowIcon:BJ,HeartIcon:LJ,HomeIcon:qJ,HourglassIcon:MJ,InfoIcon:UJ,ItalicIcon:JJ,JumpToIcon:$J,KeyIcon:zJ,LightningIcon:VJ,LightningOffIcon:HJ,LinkBrokenIcon:GJ,LinkIcon:Uu,LinkedinIcon:WJ,LinuxIcon:KJ,ListOrderedIcon:YJ,ListUnorderedIcon:XJ,LocationIcon:QJ,LockIcon:ZJ,MarkdownIcon:e$,MarkupIcon:Ju,MediumIcon:t$,MemoryIcon:r$,MenuIcon:n$,MergeIcon:o$,MirrorIcon:a$,MobileIcon:i$,MoonIcon:s$,NutIcon:l$,OutboxIcon:u$,OutlineIcon:c$,PaintBrushIcon:p$,PaperClipIcon:d$,ParagraphIcon:f$,PassedIcon:y$,PhoneIcon:h$,PhotoDragIcon:m$,PhotoIcon:g$,PinAltIcon:b$,PinIcon:v$,PlayBackIcon:x$,PlayIcon:E$,PlayNextIcon:w$,PlusIcon:S$,PointerDefaultIcon:A$,PointerHandIcon:T$,PowerIcon:C$,PrintIcon:_$,ProceedIcon:O$,ProfileIcon:I$,PullRequestIcon:P$,QuestionIcon:k$,RSSIcon:R$,RedirectIcon:D$,ReduxIcon:F$,RefreshIcon:j$,ReplyIcon:N$,RepoIcon:B$,RequestChangeIcon:L$,RewindIcon:q$,RulerIcon:M$,SearchIcon:U$,ShareAltIcon:J$,ShareIcon:$$,ShieldIcon:z$,SideBySideIcon:V$,SidebarAltIcon:H$,SidebarAltToggleIcon:G$,SidebarIcon:W$,SidebarToggleIcon:K$,SpeakerIcon:Y$,StackedIcon:X$,StarHollowIcon:Q$,StarIcon:Z$,StickerIcon:ez,StopAltIcon:tz,StopIcon:rz,StorybookIcon:nz,StructureIcon:oz,SubtractIcon:$u,SunIcon:az,SupportIcon:iz,SwitchAltIcon:sz,SyncIcon:lz,TabletIcon:uz,ThumbsUpIcon:cz,TimeIcon:pz,TimerIcon:dz,TransferIcon:fz,TrashIcon:yz,TwitterIcon:hz,TypeIcon:mz,UbuntuIcon:gz,UndoIcon:si,UnfoldIcon:bz,UnlockIcon:vz,UnpinIcon:xz,UploadIcon:Ez,UserAddIcon:wz,UserAltIcon:Sz,UserIcon:Az,UsersIcon:Tz,VSCodeIcon:Cz,VerifiedIcon:_z,VideoIcon:zu,WandIcon:Oz,WatchIcon:Iz,WindowsIcon:Pz,WrenchIcon:kz,YoutubeIcon:Rz,ZoomIcon:Vu,ZoomOutIcon:Hu,ZoomResetIcon:Gu,iconList:Dz}=__STORYBOOK_ICONS__});var ui=J((Lz,Wu)=>{S();A();T();function H1(e,t){for(var r=-1,n=e==null?0:e.length,o=Array(n);++r{S();A();T();function G1(){this.__data__=[],this.size=0}Ku.exports=G1});var vo=J((Hz,Xu)=>{S();A();T();function W1(e,t){return e===t||e!==e&&t!==t}Xu.exports=W1});var En=J((Yz,Qu)=>{S();A();T();var K1=vo();function Y1(e,t){for(var r=e.length;r--;)if(K1(e[r][0],t))return r;return-1}Qu.exports=Y1});var ec=J((e7,Zu)=>{S();A();T();var X1=En(),Q1=Array.prototype,Z1=Q1.splice;function ex(e){var t=this.__data__,r=X1(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():Z1.call(t,r,1),--this.size,!0}Zu.exports=ex});var rc=J((o7,tc)=>{S();A();T();var tx=En();function rx(e){var t=this.__data__,r=tx(t,e);return r<0?void 0:t[r][1]}tc.exports=rx});var oc=J((l7,nc)=>{S();A();T();var nx=En();function ox(e){return nx(this.__data__,e)>-1}nc.exports=ox});var ic=J((d7,ac)=>{S();A();T();var ax=En();function ix(e,t){var r=this.__data__,n=ax(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}ac.exports=ix});var wn=J((m7,sc)=>{S();A();T();var sx=Yu(),lx=ec(),ux=rc(),cx=oc(),px=ic();function Rr(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{S();A();T();var dx=wn();function fx(){this.__data__=new dx,this.size=0}lc.exports=fx});var pc=J((A7,cc)=>{S();A();T();function yx(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}cc.exports=yx});var fc=J((O7,dc)=>{S();A();T();function hx(e){return this.__data__.get(e)}dc.exports=hx});var hc=J((R7,yc)=>{S();A();T();function mx(e){return this.__data__.has(e)}yc.exports=mx});var ci=J((N7,mc)=>{S();A();T();var gx=typeof window=="object"&&window&&window.Object===Object&&window;mc.exports=gx});var st=J((M7,gc)=>{S();A();T();var bx=ci(),vx=typeof self=="object"&&self&&self.Object===Object&&self,xx=bx||vx||Function("return this")();gc.exports=xx});var Dr=J((z7,bc)=>{S();A();T();var Ex=st(),wx=Ex.Symbol;bc.exports=wx});var wc=J((W7,Ec)=>{S();A();T();var vc=Dr(),xc=Object.prototype,Sx=xc.hasOwnProperty,Ax=xc.toString,Sn=vc?vc.toStringTag:void 0;function Tx(e){var t=Sx.call(e,Sn),r=e[Sn];try{e[Sn]=void 0;var n=!0}catch{}var o=Ax.call(e);return n&&(t?e[Sn]=r:delete e[Sn]),o}Ec.exports=Tx});var Ac=J((Q7,Sc)=>{S();A();T();var Cx=Object.prototype,_x=Cx.toString;function Ox(e){return _x.call(e)}Sc.exports=Ox});var Fr=J((rV,_c)=>{S();A();T();var Tc=Dr(),Ix=wc(),Px=Ac(),kx="[object Null]",Rx="[object Undefined]",Cc=Tc?Tc.toStringTag:void 0;function Dx(e){return e==null?e===void 0?Rx:kx:Cc&&Cc in Object(e)?Ix(e):Px(e)}_c.exports=Dx});var gt=J((iV,Oc)=>{S();A();T();function Fx(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}Oc.exports=Fx});var pi=J((cV,Ic)=>{S();A();T();var jx=Fr(),Nx=gt(),Bx="[object AsyncFunction]",Lx="[object Function]",qx="[object GeneratorFunction]",Mx="[object Proxy]";function Ux(e){if(!Nx(e))return!1;var t=jx(e);return t==Lx||t==qx||t==Bx||t==Mx}Ic.exports=Ux});var kc=J((yV,Pc)=>{S();A();T();var Jx=st(),$x=Jx["__core-js_shared__"];Pc.exports=$x});var Fc=J((bV,Dc)=>{S();A();T();var di=kc(),Rc=function(){var e=/[^.]+$/.exec(di&&di.keys&&di.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function zx(e){return!!Rc&&Rc in e}Dc.exports=zx});var fi=J((wV,jc)=>{S();A();T();var Vx=Function.prototype,Hx=Vx.toString;function Gx(e){if(e!=null){try{return Hx.call(e)}catch{}try{return e+""}catch{}}return""}jc.exports=Gx});var Bc=J((CV,Nc)=>{S();A();T();var Wx=pi(),Kx=Fc(),Yx=gt(),Xx=fi(),Qx=/[\\^$.*+?()[\]{}|]/g,Zx=/^\[object .+?Constructor\]$/,eE=Function.prototype,tE=Object.prototype,rE=eE.toString,nE=tE.hasOwnProperty,oE=RegExp("^"+rE.call(nE).replace(Qx,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function aE(e){if(!Yx(e)||Kx(e))return!1;var t=Wx(e)?oE:Zx;return t.test(Xx(e))}Nc.exports=aE});var qc=J((PV,Lc)=>{S();A();T();function iE(e,t){return e?.[t]}Lc.exports=iE});var qt=J((FV,Mc)=>{S();A();T();var sE=Bc(),lE=qc();function uE(e,t){var r=lE(e,t);return sE(r)?r:void 0}Mc.exports=uE});var xo=J((LV,Uc)=>{S();A();T();var cE=qt(),pE=st(),dE=cE(pE,"Map");Uc.exports=dE});var An=J((JV,Jc)=>{S();A();T();var fE=qt(),yE=fE(Object,"create");Jc.exports=yE});var Vc=J((HV,zc)=>{S();A();T();var $c=An();function hE(){this.__data__=$c?$c(null):{},this.size=0}zc.exports=hE});var Gc=J((YV,Hc)=>{S();A();T();function mE(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}Hc.exports=mE});var Kc=J((eH,Wc)=>{S();A();T();var gE=An(),bE="__lodash_hash_undefined__",vE=Object.prototype,xE=vE.hasOwnProperty;function EE(e){var t=this.__data__;if(gE){var r=t[e];return r===bE?void 0:r}return xE.call(t,e)?t[e]:void 0}Wc.exports=EE});var Xc=J((oH,Yc)=>{S();A();T();var wE=An(),SE=Object.prototype,AE=SE.hasOwnProperty;function TE(e){var t=this.__data__;return wE?t[e]!==void 0:AE.call(t,e)}Yc.exports=TE});var Zc=J((lH,Qc)=>{S();A();T();var CE=An(),_E="__lodash_hash_undefined__";function OE(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=CE&&t===void 0?_E:t,this}Qc.exports=OE});var tp=J((dH,ep)=>{S();A();T();var IE=Vc(),PE=Gc(),kE=Kc(),RE=Xc(),DE=Zc();function jr(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{S();A();T();var rp=tp(),FE=wn(),jE=xo();function NE(){this.size=0,this.__data__={hash:new rp,map:new(jE||FE),string:new rp}}np.exports=NE});var ip=J((xH,ap)=>{S();A();T();function BE(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}ap.exports=BE});var Tn=J((AH,sp)=>{S();A();T();var LE=ip();function qE(e,t){var r=e.__data__;return LE(t)?r[typeof t=="string"?"string":"hash"]:r.map}sp.exports=qE});var up=J((OH,lp)=>{S();A();T();var ME=Tn();function UE(e){var t=ME(this,e).delete(e);return this.size-=t?1:0,t}lp.exports=UE});var pp=J((RH,cp)=>{S();A();T();var JE=Tn();function $E(e){return JE(this,e).get(e)}cp.exports=$E});var fp=J((NH,dp)=>{S();A();T();var zE=Tn();function VE(e){return zE(this,e).has(e)}dp.exports=VE});var hp=J((MH,yp)=>{S();A();T();var HE=Tn();function GE(e,t){var r=HE(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}yp.exports=GE});var Eo=J((zH,mp)=>{S();A();T();var WE=op(),KE=up(),YE=pp(),XE=fp(),QE=hp();function Nr(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{S();A();T();var ZE=wn(),ew=xo(),tw=Eo(),rw=200;function nw(e,t){var r=this.__data__;if(r instanceof ZE){var n=r.__data__;if(!ew||n.length{S();A();T();var ow=wn(),aw=uc(),iw=pc(),sw=fc(),lw=hc(),uw=bp();function Br(e){var t=this.__data__=new ow(e);this.size=t.size}Br.prototype.clear=aw;Br.prototype.delete=iw;Br.prototype.get=sw;Br.prototype.has=lw;Br.prototype.set=uw;vp.exports=Br});var Ep=J((rG,xp)=>{S();A();T();var cw="__lodash_hash_undefined__";function pw(e){return this.__data__.set(e,cw),this}xp.exports=pw});var Sp=J((iG,wp)=>{S();A();T();function dw(e){return this.__data__.has(e)}wp.exports=dw});var yi=J((cG,Ap)=>{S();A();T();var fw=Eo(),yw=Ep(),hw=Sp();function So(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new fw;++t{S();A();T();function mw(e,t){for(var r=-1,n=e==null?0:e.length;++r{S();A();T();function gw(e,t){return e.has(t)}_p.exports=gw});var mi=J((wG,Op)=>{S();A();T();var bw=yi(),vw=Cp(),xw=hi(),Ew=1,ww=2;function Sw(e,t,r,n,o,a){var i=r&Ew,s=e.length,l=t.length;if(s!=l&&!(i&&l>s))return!1;var u=a.get(e),c=a.get(t);if(u&&c)return u==t&&c==e;var d=-1,y=!0,f=r&ww?new bw:void 0;for(a.set(e,t),a.set(t,e);++d{S();A();T();var Aw=st(),Tw=Aw.Uint8Array;Ip.exports=Tw});var kp=J((PG,Pp)=>{S();A();T();function Cw(e){var t=-1,r=Array(e.size);return e.forEach(function(n,o){r[++t]=[o,n]}),r}Pp.exports=Cw});var Ao=J((FG,Rp)=>{S();A();T();function _w(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}Rp.exports=_w});var Bp=J((LG,Np)=>{S();A();T();var Dp=Dr(),Fp=gi(),Ow=vo(),Iw=mi(),Pw=kp(),kw=Ao(),Rw=1,Dw=2,Fw="[object Boolean]",jw="[object Date]",Nw="[object Error]",Bw="[object Map]",Lw="[object Number]",qw="[object RegExp]",Mw="[object Set]",Uw="[object String]",Jw="[object Symbol]",$w="[object ArrayBuffer]",zw="[object DataView]",jp=Dp?Dp.prototype:void 0,bi=jp?jp.valueOf:void 0;function Vw(e,t,r,n,o,a,i){switch(r){case zw:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case $w:return!(e.byteLength!=t.byteLength||!a(new Fp(e),new Fp(t)));case Fw:case jw:case Lw:return Ow(+e,+t);case Nw:return e.name==t.name&&e.message==t.message;case qw:case Uw:return e==t+"";case Bw:var s=Pw;case Mw:var l=n&Rw;if(s||(s=kw),e.size!=t.size&&!l)return!1;var u=i.get(e);if(u)return u==t;n|=Dw,i.set(e,t);var c=Iw(s(e),s(t),n,o,a,i);return i.delete(e),c;case Jw:if(bi)return bi.call(e)==bi.call(t)}return!1}Np.exports=Vw});var vi=J((JG,Lp)=>{S();A();T();function Hw(e,t){for(var r=-1,n=t.length,o=e.length;++r{S();A();T();var Gw=Array.isArray;qp.exports=Gw});var xi=J((YG,Mp)=>{S();A();T();var Ww=vi(),Kw=bt();function Yw(e,t,r){var n=t(e);return Kw(e)?n:Ww(n,r(e))}Mp.exports=Yw});var Jp=J((eW,Up)=>{S();A();T();function Xw(e,t){for(var r=-1,n=e==null?0:e.length,o=0,a=[];++r{S();A();T();function Qw(){return[]}$p.exports=Qw});var To=J((lW,Vp)=>{S();A();T();var Zw=Jp(),eS=Ei(),tS=Object.prototype,rS=tS.propertyIsEnumerable,zp=Object.getOwnPropertySymbols,nS=zp?function(e){return e==null?[]:(e=Object(e),Zw(zp(e),function(t){return rS.call(e,t)}))}:eS;Vp.exports=nS});var Gp=J((dW,Hp)=>{S();A();T();function oS(e,t){for(var r=-1,n=Array(e);++r{S();A();T();function aS(e){return e!=null&&typeof e=="object"}Wp.exports=aS});var Yp=J((xW,Kp)=>{S();A();T();var iS=Fr(),sS=Mt(),lS="[object Arguments]";function uS(e){return sS(e)&&iS(e)==lS}Kp.exports=uS});var wi=J((AW,Zp)=>{S();A();T();var Xp=Yp(),cS=Mt(),Qp=Object.prototype,pS=Qp.hasOwnProperty,dS=Qp.propertyIsEnumerable,fS=Xp(function(){return arguments}())?Xp:function(e){return cS(e)&&pS.call(e,"callee")&&!dS.call(e,"callee")};Zp.exports=fS});var td=J((OW,ed)=>{S();A();T();function yS(){return!1}ed.exports=yS});var Co=J((Cn,Lr)=>{S();A();T();var hS=st(),mS=td(),od=typeof Cn=="object"&&Cn&&!Cn.nodeType&&Cn,rd=od&&typeof Lr=="object"&&Lr&&!Lr.nodeType&&Lr,gS=rd&&rd.exports===od,nd=gS?hS.Buffer:void 0,bS=nd?nd.isBuffer:void 0,vS=bS||mS;Lr.exports=vS});var _o=J((jW,ad)=>{S();A();T();var xS=9007199254740991,ES=/^(?:0|[1-9]\d*)$/;function wS(e,t){var r=typeof e;return t=t??xS,!!t&&(r=="number"||r!="symbol"&&ES.test(e))&&e>-1&&e%1==0&&e{S();A();T();var SS=9007199254740991;function AS(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=SS}id.exports=AS});var ld=J(($W,sd)=>{S();A();T();var TS=Fr(),CS=Oo(),_S=Mt(),OS="[object Arguments]",IS="[object Array]",PS="[object Boolean]",kS="[object Date]",RS="[object Error]",DS="[object Function]",FS="[object Map]",jS="[object Number]",NS="[object Object]",BS="[object RegExp]",LS="[object Set]",qS="[object String]",MS="[object WeakMap]",US="[object ArrayBuffer]",JS="[object DataView]",$S="[object Float32Array]",zS="[object Float64Array]",VS="[object Int8Array]",HS="[object Int16Array]",GS="[object Int32Array]",WS="[object Uint8Array]",KS="[object Uint8ClampedArray]",YS="[object Uint16Array]",XS="[object Uint32Array]",be={};be[$S]=be[zS]=be[VS]=be[HS]=be[GS]=be[WS]=be[KS]=be[YS]=be[XS]=!0;be[OS]=be[IS]=be[US]=be[PS]=be[JS]=be[kS]=be[RS]=be[DS]=be[FS]=be[jS]=be[NS]=be[BS]=be[LS]=be[qS]=be[MS]=!1;function QS(e){return _S(e)&&CS(e.length)&&!!be[TS(e)]}sd.exports=QS});var Io=J((GW,ud)=>{S();A();T();function ZS(e){return function(t){return e(t)}}ud.exports=ZS});var Po=J((_n,qr)=>{S();A();T();var eA=ci(),cd=typeof _n=="object"&&_n&&!_n.nodeType&&_n,On=cd&&typeof qr=="object"&&qr&&!qr.nodeType&&qr,tA=On&&On.exports===cd,Si=tA&&eA.process,rA=function(){try{var e=On&&On.require&&On.require("util").types;return e||Si&&Si.binding&&Si.binding("util")}catch{}}();qr.exports=rA});var Ai=J((eK,fd)=>{S();A();T();var nA=ld(),oA=Io(),pd=Po(),dd=pd&&pd.isTypedArray,aA=dd?oA(dd):nA;fd.exports=aA});var Ti=J((oK,yd)=>{S();A();T();var iA=Gp(),sA=wi(),lA=bt(),uA=Co(),cA=_o(),pA=Ai(),dA=Object.prototype,fA=dA.hasOwnProperty;function yA(e,t){var r=lA(e),n=!r&&sA(e),o=!r&&!n&&uA(e),a=!r&&!n&&!o&&pA(e),i=r||n||o||a,s=i?iA(e.length,String):[],l=s.length;for(var u in e)(t||fA.call(e,u))&&!(i&&(u=="length"||o&&(u=="offset"||u=="parent")||a&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||cA(u,l)))&&s.push(u);return s}yd.exports=yA});var ko=J((lK,hd)=>{S();A();T();var hA=Object.prototype;function mA(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||hA;return e===r}hd.exports=mA});var Ci=J((dK,md)=>{S();A();T();function gA(e,t){return function(r){return e(t(r))}}md.exports=gA});var bd=J((mK,gd)=>{S();A();T();var bA=Ci(),vA=bA(Object.keys,Object);gd.exports=vA});var xd=J((xK,vd)=>{S();A();T();var xA=ko(),EA=bd(),wA=Object.prototype,SA=wA.hasOwnProperty;function AA(e){if(!xA(e))return EA(e);var t=[];for(var r in Object(e))SA.call(e,r)&&r!="constructor"&&t.push(r);return t}vd.exports=AA});var _i=J((AK,Ed)=>{S();A();T();var TA=pi(),CA=Oo();function _A(e){return e!=null&&CA(e.length)&&!TA(e)}Ed.exports=_A});var In=J((OK,wd)=>{S();A();T();var OA=Ti(),IA=xd(),PA=_i();function kA(e){return PA(e)?OA(e):IA(e)}wd.exports=kA});var Oi=J((RK,Sd)=>{S();A();T();var RA=xi(),DA=To(),FA=In();function jA(e){return RA(e,FA,DA)}Sd.exports=jA});var Cd=J((NK,Td)=>{S();A();T();var Ad=Oi(),NA=1,BA=Object.prototype,LA=BA.hasOwnProperty;function qA(e,t,r,n,o,a){var i=r&NA,s=Ad(e),l=s.length,u=Ad(t),c=u.length;if(l!=c&&!i)return!1;for(var d=l;d--;){var y=s[d];if(!(i?y in t:LA.call(t,y)))return!1}var f=a.get(e),h=a.get(t);if(f&&h)return f==t&&h==e;var g=!0;a.set(e,t),a.set(t,e);for(var _=i;++d{S();A();T();var MA=qt(),UA=st(),JA=MA(UA,"DataView");_d.exports=JA});var Pd=J((zK,Id)=>{S();A();T();var $A=qt(),zA=st(),VA=$A(zA,"Promise");Id.exports=VA});var Ii=J((WK,kd)=>{S();A();T();var HA=qt(),GA=st(),WA=HA(GA,"Set");kd.exports=WA});var Dd=J((QK,Rd)=>{S();A();T();var KA=qt(),YA=st(),XA=KA(YA,"WeakMap");Rd.exports=XA});var Pn=J((rY,Md)=>{S();A();T();var Pi=Od(),ki=xo(),Ri=Pd(),Di=Ii(),Fi=Dd(),qd=Fr(),Mr=fi(),Fd="[object Map]",QA="[object Object]",jd="[object Promise]",Nd="[object Set]",Bd="[object WeakMap]",Ld="[object DataView]",ZA=Mr(Pi),eT=Mr(ki),tT=Mr(Ri),rT=Mr(Di),nT=Mr(Fi),sr=qd;(Pi&&sr(new Pi(new ArrayBuffer(1)))!=Ld||ki&&sr(new ki)!=Fd||Ri&&sr(Ri.resolve())!=jd||Di&&sr(new Di)!=Nd||Fi&&sr(new Fi)!=Bd)&&(sr=function(e){var t=qd(e),r=t==QA?e.constructor:void 0,n=r?Mr(r):"";if(n)switch(n){case ZA:return Ld;case eT:return Fd;case tT:return jd;case rT:return Nd;case nT:return Bd}return t});Md.exports=sr});var Wd=J((iY,Gd)=>{S();A();T();var ji=wo(),oT=mi(),aT=Bp(),iT=Cd(),Ud=Pn(),Jd=bt(),$d=Co(),sT=Ai(),lT=1,zd="[object Arguments]",Vd="[object Array]",Ro="[object Object]",uT=Object.prototype,Hd=uT.hasOwnProperty;function cT(e,t,r,n,o,a){var i=Jd(e),s=Jd(t),l=i?Vd:Ud(e),u=s?Vd:Ud(t);l=l==zd?Ro:l,u=u==zd?Ro:u;var c=l==Ro,d=u==Ro,y=l==u;if(y&&$d(e)){if(!$d(t))return!1;i=!0,c=!1}if(y&&!c)return a||(a=new ji),i||sT(e)?oT(e,t,r,n,o,a):aT(e,t,l,r,n,o,a);if(!(r&lT)){var f=c&&Hd.call(e,"__wrapped__"),h=d&&Hd.call(t,"__wrapped__");if(f||h){var g=f?e.value():e,_=h?t.value():t;return a||(a=new ji),o(g,_,r,n,a)}}return y?(a||(a=new ji),iT(e,t,r,n,o,a)):!1}Gd.exports=cT});var Ni=J((cY,Xd)=>{S();A();T();var pT=Wd(),Kd=Mt();function Yd(e,t,r,n,o){return e===t?!0:e==null||t==null||!Kd(e)&&!Kd(t)?e!==e&&t!==t:pT(e,t,r,n,Yd,o)}Xd.exports=Yd});var Zd=J((yY,Qd)=>{S();A();T();var dT=wo(),fT=Ni(),yT=1,hT=2;function mT(e,t,r,n){var o=r.length,a=o,i=!n;if(e==null)return!a;for(e=Object(e);o--;){var s=r[o];if(i&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o{S();A();T();var gT=gt();function bT(e){return e===e&&!gT(e)}ef.exports=bT});var rf=J((wY,tf)=>{S();A();T();var vT=Bi(),xT=In();function ET(e){for(var t=xT(e),r=t.length;r--;){var n=t[r],o=e[n];t[r]=[n,o,vT(o)]}return t}tf.exports=ET});var Li=J((CY,nf)=>{S();A();T();function wT(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}nf.exports=wT});var af=J((PY,of)=>{S();A();T();var ST=Zd(),AT=rf(),TT=Li();function CT(e){var t=AT(e);return t.length==1&&t[0][2]?TT(t[0][0],t[0][1]):function(r){return r===e||ST(r,e,t)}}of.exports=CT});var kn=J((FY,sf)=>{S();A();T();var _T=Fr(),OT=Mt(),IT="[object Symbol]";function PT(e){return typeof e=="symbol"||OT(e)&&_T(e)==IT}sf.exports=PT});var Do=J((LY,lf)=>{S();A();T();var kT=bt(),RT=kn(),DT=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,FT=/^\w*$/;function jT(e,t){if(kT(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||RT(e)?!0:FT.test(e)||!DT.test(e)||t!=null&&e in Object(t)}lf.exports=jT});var pf=J((JY,cf)=>{S();A();T();var uf=Eo(),NT="Expected a function";function qi(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(NT);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var i=e.apply(this,n);return r.cache=a.set(o,i)||a,i};return r.cache=new(qi.Cache||uf),r}qi.Cache=uf;cf.exports=qi});var ff=J((HY,df)=>{S();A();T();var BT=pf(),LT=500;function qT(e){var t=BT(e,function(n){return r.size===LT&&r.clear(),n}),r=t.cache;return t}df.exports=qT});var hf=J((YY,yf)=>{S();A();T();var MT=ff(),UT=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,JT=/\\(\\)?/g,$T=MT(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(UT,function(r,n,o,a){t.push(o?a.replace(JT,"$1"):n||r)}),t});yf.exports=$T});var Ef=J((eX,xf)=>{S();A();T();var mf=Dr(),zT=ui(),VT=bt(),HT=kn(),GT=1/0,gf=mf?mf.prototype:void 0,bf=gf?gf.toString:void 0;function vf(e){if(typeof e=="string")return e;if(VT(e))return zT(e,vf)+"";if(HT(e))return bf?bf.call(e):"";var t=e+"";return t=="0"&&1/e==-GT?"-0":t}xf.exports=vf});var Sf=J((oX,wf)=>{S();A();T();var WT=Ef();function KT(e){return e==null?"":WT(e)}wf.exports=KT});var Rn=J((lX,Af)=>{S();A();T();var YT=bt(),XT=Do(),QT=hf(),ZT=Sf();function eC(e,t){return YT(e)?e:XT(e,t)?[e]:QT(ZT(e))}Af.exports=eC});var Ur=J((dX,Tf)=>{S();A();T();var tC=kn(),rC=1/0;function nC(e){if(typeof e=="string"||tC(e))return e;var t=e+"";return t=="0"&&1/e==-rC?"-0":t}Tf.exports=nC});var Fo=J((mX,Cf)=>{S();A();T();var oC=Rn(),aC=Ur();function iC(e,t){t=oC(t,e);for(var r=0,n=t.length;e!=null&&r{S();A();T();var sC=Fo();function lC(e,t,r){var n=e==null?void 0:sC(e,t);return n===void 0?r:n}_f.exports=lC});var Pf=J((AX,If)=>{S();A();T();function uC(e,t){return e!=null&&t in Object(e)}If.exports=uC});var Rf=J((OX,kf)=>{S();A();T();var cC=Rn(),pC=wi(),dC=bt(),fC=_o(),yC=Oo(),hC=Ur();function mC(e,t,r){t=cC(t,e);for(var n=-1,o=t.length,a=!1;++n{S();A();T();var gC=Pf(),bC=Rf();function vC(e,t){return e!=null&&bC(e,t,gC)}Df.exports=vC});var Nf=J((NX,jf)=>{S();A();T();var xC=Ni(),EC=Of(),wC=Ff(),SC=Do(),AC=Bi(),TC=Li(),CC=Ur(),_C=1,OC=2;function IC(e,t){return SC(e)&&AC(t)?TC(CC(e),t):function(r){var n=EC(r,e);return n===void 0&&n===t?wC(r,e):xC(t,n,_C|OC)}}jf.exports=IC});var Lf=J((MX,Bf)=>{S();A();T();function PC(e){return e}Bf.exports=PC});var Mf=J((zX,qf)=>{S();A();T();function kC(e){return function(t){return t?.[e]}}qf.exports=kC});var Jf=J((WX,Uf)=>{S();A();T();var RC=Fo();function DC(e){return function(t){return RC(t,e)}}Uf.exports=DC});var zf=J((QX,$f)=>{S();A();T();var FC=Mf(),jC=Jf(),NC=Do(),BC=Ur();function LC(e){return NC(e)?FC(BC(e)):jC(e)}$f.exports=LC});var Hf=J((rQ,Vf)=>{S();A();T();var qC=af(),MC=Nf(),UC=Lf(),JC=bt(),$C=zf();function zC(e){return typeof e=="function"?e:e==null?UC:typeof e=="object"?JC(e)?MC(e[0],e[1]):qC(e):$C(e)}Vf.exports=zC});var Wf=J((iQ,Gf)=>{S();A();T();var VC=qt(),HC=function(){try{var e=VC(Object,"defineProperty");return e({},"",{}),e}catch{}}();Gf.exports=HC});var Mi=J((cQ,Yf)=>{S();A();T();var Kf=Wf();function GC(e,t,r){t=="__proto__"&&Kf?Kf(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}Yf.exports=GC});var jo=J((yQ,Xf)=>{S();A();T();var WC=Mi(),KC=vo(),YC=Object.prototype,XC=YC.hasOwnProperty;function QC(e,t,r){var n=e[t];(!(XC.call(e,t)&&KC(n,r))||r===void 0&&!(t in e))&&WC(e,t,r)}Xf.exports=QC});var ey=J((bQ,Zf)=>{S();A();T();var ZC=jo(),e_=Rn(),t_=_o(),Qf=gt(),r_=Ur();function n_(e,t,r,n){if(!Qf(e))return e;t=e_(t,e);for(var o=-1,a=t.length,i=a-1,s=e;s!=null&&++o{S();A();T();var o_=Fo(),a_=ey(),i_=Rn();function s_(e,t,r){for(var n=-1,o=t.length,a={};++n{S();A();T();var l_=Ci(),u_=l_(Object.getPrototypeOf,Object);ny.exports=u_});var Ji=J((PQ,oy)=>{S();A();T();var c_=vi(),p_=Ui(),d_=To(),f_=Ei(),y_=Object.getOwnPropertySymbols,h_=y_?function(e){for(var t=[];e;)c_(t,d_(e)),e=p_(e);return t}:f_;oy.exports=h_});var iy=J((FQ,ay)=>{S();A();T();function m_(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}ay.exports=m_});var ly=J((LQ,sy)=>{S();A();T();var g_=gt(),b_=ko(),v_=iy(),x_=Object.prototype,E_=x_.hasOwnProperty;function w_(e){if(!g_(e))return v_(e);var t=b_(e),r=[];for(var n in e)n=="constructor"&&(t||!E_.call(e,n))||r.push(n);return r}sy.exports=w_});var No=J((JQ,uy)=>{S();A();T();var S_=Ti(),A_=ly(),T_=_i();function C_(e){return T_(e)?S_(e,!0):A_(e)}uy.exports=C_});var $i=J((HQ,cy)=>{S();A();T();var __=xi(),O_=Ji(),I_=No();function P_(e){return __(e,I_,O_)}cy.exports=P_});var dy=J((YQ,py)=>{S();A();T();var k_=ui(),R_=Hf(),D_=ry(),F_=$i();function j_(e,t){if(e==null)return{};var r=k_(F_(e),function(n){return[n]});return t=R_(t),D_(e,r,function(n,o){return t(n,o[0])})}py.exports=j_});var hy=J((sZ,yy)=>{S();A();T();function N_(e,t,r,n){for(var o=e.length,a=r+(n?1:-1);n?a--:++a{S();A();T();function B_(e){return e!==e}my.exports=B_});var vy=J((hZ,by)=>{S();A();T();function L_(e,t,r){for(var n=r-1,o=e.length;++n{S();A();T();var q_=hy(),M_=gy(),U_=vy();function J_(e,t,r){return t===t?U_(e,t,r):q_(e,M_,r)}xy.exports=J_});var Sy=J((SZ,wy)=>{S();A();T();var $_=Ey();function z_(e,t){var r=e==null?0:e.length;return!!r&&$_(e,t,0)>-1}wy.exports=z_});var Ty=J((_Z,Ay)=>{S();A();T();function V_(e,t,r){for(var n=-1,o=e==null?0:e.length;++n{S();A();T();function H_(){}Cy.exports=H_});var Iy=J((jZ,Oy)=>{S();A();T();var zi=Ii(),G_=_y(),W_=Ao(),K_=1/0,Y_=zi&&1/W_(new zi([,-0]))[1]==K_?function(e){return new zi(e)}:G_;Oy.exports=Y_});var ky=J((qZ,Py)=>{S();A();T();var X_=yi(),Q_=Sy(),Z_=Ty(),eO=hi(),tO=Iy(),rO=Ao(),nO=200;function oO(e,t,r){var n=-1,o=Q_,a=e.length,i=!0,s=[],l=s;if(r)i=!1,o=Z_;else if(a>=nO){var u=t?null:tO(e);if(u)return rO(u);i=!1,o=eO,l=new X_}else l=t?[]:s;e:for(;++n{S();A();T();var aO=ky();function iO(e){return e&&e.length?aO(e):[]}Ry.exports=iO});var jy=J((GZ,Fy)=>{S();A();T();function sO(e,t){for(var r=-1,n=e==null?0:e.length;++r{S();A();T();var lO=jo(),uO=Mi();function cO(e,t,r,n){var o=!r;r||(r={});for(var a=-1,i=t.length;++a{S();A();T();var pO=Dn(),dO=In();function fO(e,t){return e&&pO(t,dO(t),e)}By.exports=fO});var My=J((aee,qy)=>{S();A();T();var yO=Dn(),hO=No();function mO(e,t){return e&&yO(t,hO(t),e)}qy.exports=mO});var Vy=J((Fn,Jr)=>{S();A();T();var gO=st(),zy=typeof Fn=="object"&&Fn&&!Fn.nodeType&&Fn,Uy=zy&&typeof Jr=="object"&&Jr&&!Jr.nodeType&&Jr,bO=Uy&&Uy.exports===zy,Jy=bO?gO.Buffer:void 0,$y=Jy?Jy.allocUnsafe:void 0;function vO(e,t){if(t)return e.slice();var r=e.length,n=$y?$y(r):new e.constructor(r);return e.copy(n),n}Jr.exports=vO});var Gy=J((dee,Hy)=>{S();A();T();function xO(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r{S();A();T();var EO=Dn(),wO=To();function SO(e,t){return EO(e,wO(e),t)}Wy.exports=SO});var Xy=J((xee,Yy)=>{S();A();T();var AO=Dn(),TO=Ji();function CO(e,t){return AO(e,TO(e),t)}Yy.exports=CO});var Zy=J((Aee,Qy)=>{S();A();T();var _O=Object.prototype,OO=_O.hasOwnProperty;function IO(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&OO.call(e,"index")&&(r.index=e.index,r.input=e.input),r}Qy.exports=IO});var Lo=J((Oee,th)=>{S();A();T();var eh=gi();function PO(e){var t=new e.constructor(e.byteLength);return new eh(t).set(new eh(e)),t}th.exports=PO});var nh=J((Ree,rh)=>{S();A();T();var kO=Lo();function RO(e,t){var r=t?kO(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}rh.exports=RO});var ah=J((Nee,oh)=>{S();A();T();var DO=/\w*$/;function FO(e){var t=new e.constructor(e.source,DO.exec(e));return t.lastIndex=e.lastIndex,t}oh.exports=FO});var ch=J((Mee,uh)=>{S();A();T();var ih=Dr(),sh=ih?ih.prototype:void 0,lh=sh?sh.valueOf:void 0;function jO(e){return lh?Object(lh.call(e)):{}}uh.exports=jO});var dh=J((zee,ph)=>{S();A();T();var NO=Lo();function BO(e,t){var r=t?NO(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}ph.exports=BO});var yh=J((Wee,fh)=>{S();A();T();var LO=Lo(),qO=nh(),MO=ah(),UO=ch(),JO=dh(),$O="[object Boolean]",zO="[object Date]",VO="[object Map]",HO="[object Number]",GO="[object RegExp]",WO="[object Set]",KO="[object String]",YO="[object Symbol]",XO="[object ArrayBuffer]",QO="[object DataView]",ZO="[object Float32Array]",eI="[object Float64Array]",tI="[object Int8Array]",rI="[object Int16Array]",nI="[object Int32Array]",oI="[object Uint8Array]",aI="[object Uint8ClampedArray]",iI="[object Uint16Array]",sI="[object Uint32Array]";function lI(e,t,r){var n=e.constructor;switch(t){case XO:return LO(e);case $O:case zO:return new n(+e);case QO:return qO(e,r);case ZO:case eI:case tI:case rI:case nI:case oI:case aI:case iI:case sI:return JO(e,r);case VO:return new n;case HO:case KO:return new n(e);case GO:return MO(e);case WO:return new n;case YO:return UO(e)}}fh.exports=lI});var gh=J((Qee,mh)=>{S();A();T();var uI=gt(),hh=Object.create,cI=function(){function e(){}return function(t){if(!uI(t))return{};if(hh)return hh(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();mh.exports=cI});var vh=J((rte,bh)=>{S();A();T();var pI=gh(),dI=Ui(),fI=ko();function yI(e){return typeof e.constructor=="function"&&!fI(e)?pI(dI(e)):{}}bh.exports=yI});var Eh=J((ite,xh)=>{S();A();T();var hI=Pn(),mI=Mt(),gI="[object Map]";function bI(e){return mI(e)&&hI(e)==gI}xh.exports=bI});var Th=J((cte,Ah)=>{S();A();T();var vI=Eh(),xI=Io(),wh=Po(),Sh=wh&&wh.isMap,EI=Sh?xI(Sh):vI;Ah.exports=EI});var _h=J((yte,Ch)=>{S();A();T();var wI=Pn(),SI=Mt(),AI="[object Set]";function TI(e){return SI(e)&&wI(e)==AI}Ch.exports=TI});var kh=J((bte,Ph)=>{S();A();T();var CI=_h(),_I=Io(),Oh=Po(),Ih=Oh&&Oh.isSet,OI=Ih?_I(Ih):CI;Ph.exports=OI});var Nh=J((wte,jh)=>{S();A();T();var II=wo(),PI=jy(),kI=jo(),RI=Ly(),DI=My(),FI=Vy(),jI=Gy(),NI=Ky(),BI=Xy(),LI=Oi(),qI=$i(),MI=Pn(),UI=Zy(),JI=yh(),$I=vh(),zI=bt(),VI=Co(),HI=Th(),GI=gt(),WI=kh(),KI=In(),YI=No(),XI=1,QI=2,ZI=4,Rh="[object Arguments]",eP="[object Array]",tP="[object Boolean]",rP="[object Date]",nP="[object Error]",Dh="[object Function]",oP="[object GeneratorFunction]",aP="[object Map]",iP="[object Number]",Fh="[object Object]",sP="[object RegExp]",lP="[object Set]",uP="[object String]",cP="[object Symbol]",pP="[object WeakMap]",dP="[object ArrayBuffer]",fP="[object DataView]",yP="[object Float32Array]",hP="[object Float64Array]",mP="[object Int8Array]",gP="[object Int16Array]",bP="[object Int32Array]",vP="[object Uint8Array]",xP="[object Uint8ClampedArray]",EP="[object Uint16Array]",wP="[object Uint32Array]",ge={};ge[Rh]=ge[eP]=ge[dP]=ge[fP]=ge[tP]=ge[rP]=ge[yP]=ge[hP]=ge[mP]=ge[gP]=ge[bP]=ge[aP]=ge[iP]=ge[Fh]=ge[sP]=ge[lP]=ge[uP]=ge[cP]=ge[vP]=ge[xP]=ge[EP]=ge[wP]=!0;ge[nP]=ge[Dh]=ge[pP]=!1;function qo(e,t,r,n,o,a){var i,s=t&XI,l=t&QI,u=t&ZI;if(r&&(i=o?r(e,n,o,a):r(e)),i!==void 0)return i;if(!GI(e))return e;var c=zI(e);if(c){if(i=UI(e),!s)return jI(e,i)}else{var d=MI(e),y=d==Dh||d==oP;if(VI(e))return FI(e,s);if(d==Fh||d==Rh||y&&!o){if(i=l||y?{}:$I(e),!s)return l?BI(e,DI(i,e)):NI(e,RI(i,e))}else{if(!ge[d])return o?e:{};i=JI(e,d,s)}}a||(a=new II);var f=a.get(e);if(f)return f;a.set(e,i),WI(e)?e.forEach(function(_){i.add(qo(_,t,r,_,e,a))}):HI(e)&&e.forEach(function(_,x){i.set(x,qo(_,t,r,x,e,a))});var h=u?l?qI:LI:l?YI:KI,g=c?void 0:h(e);return PI(g||e,function(_,x){g&&(x=_,_=e[x]),kI(i,x,qo(_,t,r,x,e,a))}),i}jh.exports=qo});var Lh=J((Cte,Bh)=>{S();A();T();var SP=Nh(),AP=1,TP=4;function CP(e){return SP(e,AP|TP)}Bh.exports=CP});var _0=J((noe,C0)=>{S();A();T();var Fj=st(),jj=function(){return Fj.Date.now()};C0.exports=jj});var I0=J((soe,O0)=>{S();A();T();var Nj=/\s/;function Bj(e){for(var t=e.length;t--&&Nj.test(e.charAt(t)););return t}O0.exports=Bj});var k0=J((poe,P0)=>{S();A();T();var Lj=I0(),qj=/^\s+/;function Mj(e){return e&&e.slice(0,Lj(e)+1).replace(qj,"")}P0.exports=Mj});var j0=J((hoe,F0)=>{S();A();T();var Uj=k0(),R0=gt(),Jj=kn(),D0=0/0,$j=/^[-+]0x[0-9a-f]+$/i,zj=/^0b[01]+$/i,Vj=/^0o[0-7]+$/i,Hj=parseInt;function Gj(e){if(typeof e=="number")return e;if(Jj(e))return D0;if(R0(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=R0(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Uj(e);var r=zj.test(e);return r||Vj.test(e)?Hj(e.slice(2),r?2:8):$j.test(e)?D0:+e}F0.exports=Gj});var L0=J((voe,B0)=>{S();A();T();var Wj=gt(),il=_0(),N0=j0(),Kj="Expected a function",Yj=Math.max,Xj=Math.min;function Qj(e,t,r){var n,o,a,i,s,l,u=0,c=!1,d=!1,y=!0;if(typeof e!="function")throw new TypeError(Kj);t=N0(t)||0,Wj(r)&&(c=!!r.leading,d="maxWait"in r,a=d?Yj(N0(r.maxWait)||0,t):a,y="trailing"in r?!!r.trailing:y);function f(P){var F=n,D=o;return n=o=void 0,u=P,i=e.apply(D,F),i}function h(P){return u=P,s=setTimeout(x,t),c?f(P):i}function g(P){var F=P-l,D=P-u,U=t-F;return d?Xj(U,a-D):U}function _(P){var F=P-l,D=P-u;return l===void 0||F>=t||F<0||d&&D>=a}function x(){var P=il();if(_(P))return v(P);s=setTimeout(x,g(P))}function v(P){return s=void 0,y&&n?f(P):(n=o=void 0,i)}function O(){s!==void 0&&clearTimeout(s),u=0,n=l=o=s=void 0}function C(){return s===void 0?i:v(il())}function I(){var P=il(),F=_(P);if(n=arguments,o=this,l=P,F){if(s===void 0)return h(l);if(d)return clearTimeout(s),s=setTimeout(x,t),f(l)}return s===void 0&&(s=setTimeout(x,t)),i}return I.cancel=O,I.flush=C,I}B0.exports=Qj});var ov={};Hl(ov,{ColorControl:()=>nv,default:()=>LN});function hr(){return(hr=Object.assign||function(e){for(var t=1;t=0||(o[r]=e[r]);return o}function sl(e){var t=Xe(e),r=Xe(function(n){t.current&&t.current(n)});return t.current=e,r.current}function Z0(e,t,r){var n=sl(r),o=he(function(){return e.toHsva(t)}),a=o[0],i=o[1],s=Xe({color:t,hsva:a});ze(function(){if(!e.equal(t,s.current.color)){var u=e.toHsva(t);s.current={hsva:u,color:t},i(u)}},[t,e]),ze(function(){var u;X0(a,s.current.hsva)||e.equal(u=e.fromHsva(a),s.current.color)||(s.current={hsva:a,color:u},n(u))},[a,e,n]);var l=$e(function(u){i(function(c){return Object.assign({},c,u)})},[]);return[a,l]}var z0,Zj,V0,eN,tN,Xr,Kn,ll,q0,M0,fl,Yn,yl,Je,rN,nN,ul,oN,aN,iN,sN,H0,cl,ga,G0,lN,ya,uN,W0,K0,Y0,X0,Q0,cN,pN,dN,U0,ev,fN,yN,hN,mN,tv,gN,bN,vN,xN,ut,EN,wN,SN,AN,TN,CN,_N,J0,ON,IN,rv,ha,PN,kN,RN,pl,DN,FN,ma,$0,Yr,jN,NN,ba,BN,nv,LN,av=Tt(()=>{S();A();T();Fa();io();z0=ao(L0());oi();lo();li();Zj=rr({"../../node_modules/color-name/index.js"(e,t){t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}}),V0=rr({"../../node_modules/color-convert/conversions.js"(e,t){var r=Zj(),n={};for(let i of Object.keys(r))n[r[i]]=i;var o={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};t.exports=o;for(let i of Object.keys(o)){if(!("channels"in o[i]))throw new Error("missing channels property: "+i);if(!("labels"in o[i]))throw new Error("missing channel labels property: "+i);if(o[i].labels.length!==o[i].channels)throw new Error("channel and label counts mismatch: "+i);let{channels:s,labels:l}=o[i];delete o[i].channels,delete o[i].labels,Object.defineProperty(o[i],"channels",{value:s}),Object.defineProperty(o[i],"labels",{value:l})}o.rgb.hsl=function(i){let s=i[0]/255,l=i[1]/255,u=i[2]/255,c=Math.min(s,l,u),d=Math.max(s,l,u),y=d-c,f,h;d===c?f=0:s===d?f=(l-u)/y:l===d?f=2+(u-s)/y:u===d&&(f=4+(s-l)/y),f=Math.min(f*60,360),f<0&&(f+=360);let g=(c+d)/2;return d===c?h=0:g<=.5?h=y/(d+c):h=y/(2-d-c),[f,h*100,g*100]},o.rgb.hsv=function(i){let s,l,u,c,d,y=i[0]/255,f=i[1]/255,h=i[2]/255,g=Math.max(y,f,h),_=g-Math.min(y,f,h),x=function(v){return(g-v)/6/_+1/2};return _===0?(c=0,d=0):(d=_/g,s=x(y),l=x(f),u=x(h),y===g?c=u-l:f===g?c=1/3+s-u:h===g&&(c=2/3+l-s),c<0?c+=1:c>1&&(c-=1)),[c*360,d*100,g*100]},o.rgb.hwb=function(i){let s=i[0],l=i[1],u=i[2],c=o.rgb.hsl(i)[0],d=1/255*Math.min(s,Math.min(l,u));return u=1-1/255*Math.max(s,Math.max(l,u)),[c,d*100,u*100]},o.rgb.cmyk=function(i){let s=i[0]/255,l=i[1]/255,u=i[2]/255,c=Math.min(1-s,1-l,1-u),d=(1-s-c)/(1-c)||0,y=(1-l-c)/(1-c)||0,f=(1-u-c)/(1-c)||0;return[d*100,y*100,f*100,c*100]};function a(i,s){return(i[0]-s[0])**2+(i[1]-s[1])**2+(i[2]-s[2])**2}o.rgb.keyword=function(i){let s=n[i];if(s)return s;let l=1/0,u;for(let c of Object.keys(r)){let d=r[c],y=a(i,d);y.04045?((s+.055)/1.055)**2.4:s/12.92,l=l>.04045?((l+.055)/1.055)**2.4:l/12.92,u=u>.04045?((u+.055)/1.055)**2.4:u/12.92;let c=s*.4124+l*.3576+u*.1805,d=s*.2126+l*.7152+u*.0722,y=s*.0193+l*.1192+u*.9505;return[c*100,d*100,y*100]},o.rgb.lab=function(i){let s=o.rgb.xyz(i),l=s[0],u=s[1],c=s[2];l/=95.047,u/=100,c/=108.883,l=l>.008856?l**(1/3):7.787*l+16/116,u=u>.008856?u**(1/3):7.787*u+16/116,c=c>.008856?c**(1/3):7.787*c+16/116;let d=116*u-16,y=500*(l-u),f=200*(u-c);return[d,y,f]},o.hsl.rgb=function(i){let s=i[0]/360,l=i[1]/100,u=i[2]/100,c,d,y;if(l===0)return y=u*255,[y,y,y];u<.5?c=u*(1+l):c=u+l-u*l;let f=2*u-c,h=[0,0,0];for(let g=0;g<3;g++)d=s+1/3*-(g-1),d<0&&d++,d>1&&d--,6*d<1?y=f+(c-f)*6*d:2*d<1?y=c:3*d<2?y=f+(c-f)*(2/3-d)*6:y=f,h[g]=y*255;return h},o.hsl.hsv=function(i){let s=i[0],l=i[1]/100,u=i[2]/100,c=l,d=Math.max(u,.01);u*=2,l*=u<=1?u:2-u,c*=d<=1?d:2-d;let y=(u+l)/2,f=u===0?2*c/(d+c):2*l/(u+l);return[s,f*100,y*100]},o.hsv.rgb=function(i){let s=i[0]/60,l=i[1]/100,u=i[2]/100,c=Math.floor(s)%6,d=s-Math.floor(s),y=255*u*(1-l),f=255*u*(1-l*d),h=255*u*(1-l*(1-d));switch(u*=255,c){case 0:return[u,h,y];case 1:return[f,u,y];case 2:return[y,u,h];case 3:return[y,f,u];case 4:return[h,y,u];case 5:return[u,y,f]}},o.hsv.hsl=function(i){let s=i[0],l=i[1]/100,u=i[2]/100,c=Math.max(u,.01),d,y;y=(2-l)*u;let f=(2-l)*c;return d=l*c,d/=f<=1?f:2-f,d=d||0,y/=2,[s,d*100,y*100]},o.hwb.rgb=function(i){let s=i[0]/360,l=i[1]/100,u=i[2]/100,c=l+u,d;c>1&&(l/=c,u/=c);let y=Math.floor(6*s),f=1-u;d=6*s-y,y&1&&(d=1-d);let h=l+d*(f-l),g,_,x;switch(y){default:case 6:case 0:g=f,_=h,x=l;break;case 1:g=h,_=f,x=l;break;case 2:g=l,_=f,x=h;break;case 3:g=l,_=h,x=f;break;case 4:g=h,_=l,x=f;break;case 5:g=f,_=l,x=h;break}return[g*255,_*255,x*255]},o.cmyk.rgb=function(i){let s=i[0]/100,l=i[1]/100,u=i[2]/100,c=i[3]/100,d=1-Math.min(1,s*(1-c)+c),y=1-Math.min(1,l*(1-c)+c),f=1-Math.min(1,u*(1-c)+c);return[d*255,y*255,f*255]},o.xyz.rgb=function(i){let s=i[0]/100,l=i[1]/100,u=i[2]/100,c,d,y;return c=s*3.2406+l*-1.5372+u*-.4986,d=s*-.9689+l*1.8758+u*.0415,y=s*.0557+l*-.204+u*1.057,c=c>.0031308?1.055*c**(1/2.4)-.055:c*12.92,d=d>.0031308?1.055*d**(1/2.4)-.055:d*12.92,y=y>.0031308?1.055*y**(1/2.4)-.055:y*12.92,c=Math.min(Math.max(0,c),1),d=Math.min(Math.max(0,d),1),y=Math.min(Math.max(0,y),1),[c*255,d*255,y*255]},o.xyz.lab=function(i){let s=i[0],l=i[1],u=i[2];s/=95.047,l/=100,u/=108.883,s=s>.008856?s**(1/3):7.787*s+16/116,l=l>.008856?l**(1/3):7.787*l+16/116,u=u>.008856?u**(1/3):7.787*u+16/116;let c=116*l-16,d=500*(s-l),y=200*(l-u);return[c,d,y]},o.lab.xyz=function(i){let s=i[0],l=i[1],u=i[2],c,d,y;d=(s+16)/116,c=l/500+d,y=d-u/200;let f=d**3,h=c**3,g=y**3;return d=f>.008856?f:(d-16/116)/7.787,c=h>.008856?h:(c-16/116)/7.787,y=g>.008856?g:(y-16/116)/7.787,c*=95.047,d*=100,y*=108.883,[c,d,y]},o.lab.lch=function(i){let s=i[0],l=i[1],u=i[2],c;c=Math.atan2(u,l)*360/2/Math.PI,c<0&&(c+=360);let d=Math.sqrt(l*l+u*u);return[s,d,c]},o.lch.lab=function(i){let s=i[0],l=i[1],u=i[2]/360*2*Math.PI,c=l*Math.cos(u),d=l*Math.sin(u);return[s,c,d]},o.rgb.ansi16=function(i,s=null){let[l,u,c]=i,d=s===null?o.rgb.hsv(i)[2]:s;if(d=Math.round(d/50),d===0)return 30;let y=30+(Math.round(c/255)<<2|Math.round(u/255)<<1|Math.round(l/255));return d===2&&(y+=60),y},o.hsv.ansi16=function(i){return o.rgb.ansi16(o.hsv.rgb(i),i[2])},o.rgb.ansi256=function(i){let s=i[0],l=i[1],u=i[2];return s===l&&l===u?s<8?16:s>248?231:Math.round((s-8)/247*24)+232:16+36*Math.round(s/255*5)+6*Math.round(l/255*5)+Math.round(u/255*5)},o.ansi16.rgb=function(i){let s=i%10;if(s===0||s===7)return i>50&&(s+=3.5),s=s/10.5*255,[s,s,s];let l=(~~(i>50)+1)*.5,u=(s&1)*l*255,c=(s>>1&1)*l*255,d=(s>>2&1)*l*255;return[u,c,d]},o.ansi256.rgb=function(i){if(i>=232){let d=(i-232)*10+8;return[d,d,d]}i-=16;let s,l=Math.floor(i/36)/5*255,u=Math.floor((s=i%36)/6)/5*255,c=s%6/5*255;return[l,u,c]},o.rgb.hex=function(i){let s=(((Math.round(i[0])&255)<<16)+((Math.round(i[1])&255)<<8)+(Math.round(i[2])&255)).toString(16).toUpperCase();return"000000".substring(s.length)+s},o.hex.rgb=function(i){let s=i.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!s)return[0,0,0];let l=s[0];s[0].length===3&&(l=l.split("").map(f=>f+f).join(""));let u=parseInt(l,16),c=u>>16&255,d=u>>8&255,y=u&255;return[c,d,y]},o.rgb.hcg=function(i){let s=i[0]/255,l=i[1]/255,u=i[2]/255,c=Math.max(Math.max(s,l),u),d=Math.min(Math.min(s,l),u),y=c-d,f,h;return y<1?f=d/(1-y):f=0,y<=0?h=0:c===s?h=(l-u)/y%6:c===l?h=2+(u-s)/y:h=4+(s-l)/y,h/=6,h%=1,[h*360,y*100,f*100]},o.hsl.hcg=function(i){let s=i[1]/100,l=i[2]/100,u=l<.5?2*s*l:2*s*(1-l),c=0;return u<1&&(c=(l-.5*u)/(1-u)),[i[0],u*100,c*100]},o.hsv.hcg=function(i){let s=i[1]/100,l=i[2]/100,u=s*l,c=0;return u<1&&(c=(l-u)/(1-u)),[i[0],u*100,c*100]},o.hcg.rgb=function(i){let s=i[0]/360,l=i[1]/100,u=i[2]/100;if(l===0)return[u*255,u*255,u*255];let c=[0,0,0],d=s%1*6,y=d%1,f=1-y,h=0;switch(Math.floor(d)){case 0:c[0]=1,c[1]=y,c[2]=0;break;case 1:c[0]=f,c[1]=1,c[2]=0;break;case 2:c[0]=0,c[1]=1,c[2]=y;break;case 3:c[0]=0,c[1]=f,c[2]=1;break;case 4:c[0]=y,c[1]=0,c[2]=1;break;default:c[0]=1,c[1]=0,c[2]=f}return h=(1-l)*u,[(l*c[0]+h)*255,(l*c[1]+h)*255,(l*c[2]+h)*255]},o.hcg.hsv=function(i){let s=i[1]/100,l=i[2]/100,u=s+l*(1-s),c=0;return u>0&&(c=s/u),[i[0],c*100,u*100]},o.hcg.hsl=function(i){let s=i[1]/100,l=i[2]/100*(1-s)+.5*s,u=0;return l>0&&l<.5?u=s/(2*l):l>=.5&&l<1&&(u=s/(2*(1-l))),[i[0],u*100,l*100]},o.hcg.hwb=function(i){let s=i[1]/100,l=i[2]/100,u=s+l*(1-s);return[i[0],(u-s)*100,(1-u)*100]},o.hwb.hcg=function(i){let s=i[1]/100,l=1-i[2]/100,u=l-s,c=0;return u<1&&(c=(l-u)/(1-u)),[i[0],u*100,c*100]},o.apple.rgb=function(i){return[i[0]/65535*255,i[1]/65535*255,i[2]/65535*255]},o.rgb.apple=function(i){return[i[0]/255*65535,i[1]/255*65535,i[2]/255*65535]},o.gray.rgb=function(i){return[i[0]/100*255,i[0]/100*255,i[0]/100*255]},o.gray.hsl=function(i){return[0,0,i[0]]},o.gray.hsv=o.gray.hsl,o.gray.hwb=function(i){return[0,100,i[0]]},o.gray.cmyk=function(i){return[0,0,0,i[0]]},o.gray.lab=function(i){return[i[0],0,0]},o.gray.hex=function(i){let s=Math.round(i[0]/100*255)&255,l=((s<<16)+(s<<8)+s).toString(16).toUpperCase();return"000000".substring(l.length)+l},o.rgb.gray=function(i){return[(i[0]+i[1]+i[2])/3/255*100]}}}),eN=rr({"../../node_modules/color-convert/route.js"(e,t){var r=V0();function n(){let s={},l=Object.keys(r);for(let u=l.length,c=0;c1&&(c=d),l(c))};return"conversion"in l&&(u.conversion=l.conversion),u}function s(l){let u=function(...c){let d=c[0];if(d==null)return d;d.length>1&&(c=d);let y=l(c);if(typeof y=="object")for(let f=y.length,h=0;h{o[l]={},Object.defineProperty(o[l],"channels",{value:r[l].channels}),Object.defineProperty(o[l],"labels",{value:r[l].labels});let u=n(l);Object.keys(u).forEach(c=>{let d=u[c];o[l][c]=s(d),o[l][c].raw=i(d)})}),t.exports=o}});Xr=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e0:_.buttons>0)&&o.current?a(q0(o.current,_,s.current)):g(!1)},h=function(){return g(!1)};function g(_){var x=l.current,v=ll(o.current),O=_?v.addEventListener:v.removeEventListener;O(x?"touchmove":"mousemove",f),O(x?"touchend":"mouseup",h)}return[function(_){var x=_.nativeEvent,v=o.current;if(v&&(M0(x),!function(C,I){return I&&!Kn(C)}(x,l.current)&&v)){if(Kn(x)){l.current=!0;var O=x.changedTouches||[];O.length&&(s.current=O[0].identifier)}v.focus(),a(q0(v,x,s.current)),g(!0)}},function(_){var x=_.which||_.keyCode;x<37||x>40||(_.preventDefault(),i({left:x===39?.05:x===37?-.05:0,top:x===40?.05:x===38?-.05:0}))},g]},[i,a]),c=u[0],d=u[1],y=u[2];return ze(function(){return y},[y]),E.createElement("div",hr({},n,{onTouchStart:c,onMouseDown:c,className:"react-colorful__interactive",ref:o,onKeyDown:d,tabIndex:0,role:"slider"}))}),Yn=function(e){return e.filter(Boolean).join(" ")},yl=function(e){var t=e.color,r=e.left,n=e.top,o=n===void 0?.5:n,a=Yn(["react-colorful__pointer",e.className]);return E.createElement("div",{className:a,style:{top:100*o+"%",left:100*r+"%"}},E.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},Je=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r},rN={grad:.9,turn:360,rad:360/(2*Math.PI)},nN=function(e){return W0(ul(e))},ul=function(e){return e[0]==="#"&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?Je(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:e.length===8?Je(parseInt(e.substring(6,8),16)/255,2):1}},oN=function(e,t){return t===void 0&&(t="deg"),Number(e)*(rN[t]||1)},aN=function(e){var t=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?iN({h:oN(t[1],t[2]),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)}):{h:0,s:0,v:0,a:1}},iN=function(e){var t=e.s,r=e.l;return{h:e.h,s:(t*=(r<50?r:100-r)/100)>0?2*t/(r+t)*100:0,v:r+t,a:e.a}},sN=function(e){return uN(G0(e))},H0=function(e){var t=e.s,r=e.v,n=e.a,o=(200-t)*r/100;return{h:Je(e.h),s:Je(o>0&&o<200?t*r/100/(o<=100?o:200-o)*100:0),l:Je(o/2),a:Je(n,2)}},cl=function(e){var t=H0(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},ga=function(e){var t=H0(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},G0=function(e){var t=e.h,r=e.s,n=e.v,o=e.a;t=t/360*6,r/=100,n/=100;var a=Math.floor(t),i=n*(1-r),s=n*(1-(t-a)*r),l=n*(1-(1-t+a)*r),u=a%6;return{r:Je(255*[n,s,i,i,l,n][u]),g:Je(255*[l,n,n,s,i,i][u]),b:Je(255*[i,i,l,n,n,s][u]),a:Je(o,2)}},lN=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?W0({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):{h:0,s:0,v:0,a:1}},ya=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},uN=function(e){var t=e.r,r=e.g,n=e.b,o=e.a,a=o<1?ya(Je(255*o)):"";return"#"+ya(t)+ya(r)+ya(n)+a},W0=function(e){var t=e.r,r=e.g,n=e.b,o=e.a,a=Math.max(t,r,n),i=a-Math.min(t,r,n),s=i?a===t?(r-n)/i:a===r?2+(n-t)/i:4+(t-r)/i:0;return{h:Je(60*(s<0?s+6:s)),s:Je(a?i/a*100:0),v:Je(a/255*100),a:o}},K0=E.memo(function(e){var t=e.hue,r=e.onChange,n=Yn(["react-colorful__hue",e.className]);return E.createElement("div",{className:n},E.createElement(fl,{onMove:function(o){r({h:360*o.left})},onKey:function(o){r({h:Xr(t+360*o.left,0,360)})},"aria-label":"Hue","aria-valuenow":Je(t),"aria-valuemax":"360","aria-valuemin":"0"},E.createElement(yl,{className:"react-colorful__hue-pointer",left:t/360,color:cl({h:t,s:100,v:100,a:1})})))}),Y0=E.memo(function(e){var t=e.hsva,r=e.onChange,n={backgroundColor:cl({h:t.h,s:100,v:100,a:1})};return E.createElement("div",{className:"react-colorful__saturation",style:n},E.createElement(fl,{onMove:function(o){r({s:100*o.left,v:100-100*o.top})},onKey:function(o){r({s:Xr(t.s+100*o.left,0,100),v:Xr(t.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+Je(t.s)+"%, Brightness "+Je(t.v)+"%"},E.createElement(yl,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:cl(t)})))}),X0=function(e,t){if(e===t)return!0;for(var r in e)if(e[r]!==t[r])return!1;return!0},Q0=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},cN=function(e,t){return e.toLowerCase()===t.toLowerCase()||X0(ul(e),ul(t))};pN=typeof window<"u"?ru:ze,dN=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},U0=new Map,ev=function(e){pN(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!U0.has(t)){var r=t.createElement("style");r.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,U0.set(t,r);var n=dN();n&&r.setAttribute("nonce",n),t.head.appendChild(r)}},[])},fN=function(e){var t=e.className,r=e.colorModel,n=e.color,o=n===void 0?r.defaultColor:n,a=e.onChange,i=dl(e,["className","colorModel","color","onChange"]),s=Xe(null);ev(s);var l=Z0(r,o,a),u=l[0],c=l[1],d=Yn(["react-colorful",t]);return E.createElement("div",hr({},i,{ref:s,className:d}),E.createElement(Y0,{hsva:u,onChange:c}),E.createElement(K0,{hue:u.h,onChange:c,className:"react-colorful__last-control"}))},yN={defaultColor:"000",toHsva:nN,fromHsva:function(e){return sN({h:e.h,s:e.s,v:e.v,a:1})},equal:cN},hN=function(e){return E.createElement(fN,hr({},e,{colorModel:yN}))},mN=function(e){var t=e.className,r=e.hsva,n=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+ga(Object.assign({},r,{a:0}))+", "+ga(Object.assign({},r,{a:1}))+")"},a=Yn(["react-colorful__alpha",t]),i=Je(100*r.a);return E.createElement("div",{className:a},E.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),E.createElement(fl,{onMove:function(s){n({a:s.left})},onKey:function(s){n({a:Xr(r.a+s.left)})},"aria-label":"Alpha","aria-valuetext":i+"%","aria-valuenow":i,"aria-valuemin":"0","aria-valuemax":"100"},E.createElement(yl,{className:"react-colorful__alpha-pointer",left:r.a,color:ga(r)})))},tv=function(e){var t=e.className,r=e.colorModel,n=e.color,o=n===void 0?r.defaultColor:n,a=e.onChange,i=dl(e,["className","colorModel","color","onChange"]),s=Xe(null);ev(s);var l=Z0(r,o,a),u=l[0],c=l[1],d=Yn(["react-colorful",t]);return E.createElement("div",hr({},i,{ref:s,className:d}),E.createElement(Y0,{hsva:u,onChange:c}),E.createElement(K0,{hue:u.h,onChange:c}),E.createElement(mN,{hsva:u,onChange:c,className:"react-colorful__last-control"}))},gN={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:aN,fromHsva:ga,equal:Q0},bN=function(e){return E.createElement(tv,hr({},e,{colorModel:gN}))},vN={defaultColor:"rgba(0, 0, 0, 1)",toHsva:lN,fromHsva:function(e){var t=G0(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:Q0},xN=function(e){return E.createElement(tv,hr({},e,{colorModel:vN}))},ut=gn(tN(),1),EN=W.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),wN=W(Lt)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),SN=W.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),AN=W(ir)(({theme:e})=>({fontFamily:e.typography.fonts.base})),TN=W.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),CN=W.div(({theme:e,active:t})=>({width:16,height:16,boxShadow:t?`${e.appBorderColor} 0 0 0 1px inset, ${e.textMutedColor}50 0 0 0 4px`:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:e.appBorderRadius})),_N=`url('data:image/svg+xml;charset=utf-8,')`,J0=({value:e,style:t,...r})=>{let n=`linear-gradient(${e}, ${e}), ${_N}, linear-gradient(#fff, #fff)`;return E.createElement(CN,{...r,style:{...t,backgroundImage:n}})},ON=W(dt.Input)(({theme:e,readOnly:t})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),IN=W(Ju)(({theme:e})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:e.input.color})),rv=(e=>(e.RGB="rgb",e.HSL="hsl",e.HEX="hex",e))(rv||{}),ha=Object.values(rv),PN=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,kN=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,RN=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,pl=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,DN=/^\s*#?([0-9a-f]{3})\s*$/i,FN={hex:hN,rgb:xN,hsl:bN},ma={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},$0=e=>{let t=e?.match(PN);if(!t)return[0,0,0,1];let[,r,n,o,a=1]=t;return[r,n,o,a].map(Number)},Yr=e=>{if(!e)return;let t=!0;if(kN.test(e)){let[i,s,l,u]=$0(e),[c,d,y]=ut.default.rgb.hsl([i,s,l])||[0,0,0];return{valid:t,value:e,keyword:ut.default.rgb.keyword([i,s,l]),colorSpace:"rgb",rgb:e,hsl:`hsla(${c}, ${d}%, ${y}%, ${u})`,hex:`#${ut.default.rgb.hex([i,s,l]).toLowerCase()}`}}if(RN.test(e)){let[i,s,l,u]=$0(e),[c,d,y]=ut.default.hsl.rgb([i,s,l])||[0,0,0];return{valid:t,value:e,keyword:ut.default.hsl.keyword([i,s,l]),colorSpace:"hsl",rgb:`rgba(${c}, ${d}, ${y}, ${u})`,hsl:e,hex:`#${ut.default.hsl.hex([i,s,l]).toLowerCase()}`}}let r=e.replace("#",""),n=ut.default.keyword.rgb(r)||ut.default.hex.rgb(r),o=ut.default.rgb.hsl(n),a=e;if(/[^#a-f0-9]/i.test(e)?a=r:pl.test(e)&&(a=`#${r}`),a.startsWith("#"))t=pl.test(a);else try{ut.default.keyword.hex(a)}catch{t=!1}return{valid:t,value:a,keyword:ut.default.rgb.keyword(n),colorSpace:"hex",rgb:`rgba(${n[0]}, ${n[1]}, ${n[2]}, 1)`,hsl:`hsla(${o[0]}, ${o[1]}%, ${o[2]}%, 1)`,hex:a}},jN=(e,t,r)=>{if(!e||!t?.valid)return ma[r];if(r!=="hex")return t?.[r]||ma[r];if(!t.hex.startsWith("#"))try{return`#${ut.default.keyword.hex(t.hex)}`}catch{return ma.hex}let n=t.hex.match(DN);if(!n)return pl.test(t.hex)?t.hex:ma.hex;let[o,a,i]=n[1].split("");return`#${o}${o}${a}${a}${i}${i}`},NN=(e,t)=>{let[r,n]=he(e||""),[o,a]=he(()=>Yr(r)),[i,s]=he(o?.colorSpace||"hex");ze(()=>{let d=e||"",y=Yr(d);n(d),a(y),s(y?.colorSpace||"hex")},[e]);let l=Nt(()=>jN(r,o,i).toLowerCase(),[r,o,i]),u=$e(d=>{let y=Yr(d),f=y?.value||d||"";n(f),f===""&&(a(void 0),t(void 0)),y&&(a(y),s(y.colorSpace),t(y.value))},[t]),c=$e(()=>{let d=ha.indexOf(i)+1;d>=ha.length&&(d=0),s(ha[d]);let y=o?.[ha[d]]||"";n(y),t(y)},[o,i,t]);return{value:r,realValue:l,updateValue:u,color:o,colorSpace:i,cycleColorSpace:c}},ba=e=>e.replace(/\s*/,"").toLowerCase(),BN=(e,t,r)=>{let[n,o]=he(t?.valid?[t]:[]);ze(()=>{t===void 0&&o([])},[t]);let a=Nt(()=>(e||[]).map(s=>typeof s=="string"?Yr(s):s.title?{...Yr(s.color),keyword:s.title}:Yr(s.color)).concat(n).filter(Boolean).slice(-27),[e,n]),i=$e(s=>{s?.valid&&(a.some(l=>ba(l[r])===ba(s[r]))||o(l=>l.concat(s)))},[r,a]);return{presets:a,addPreset:i}},nv=({name:e,value:t,onChange:r,onFocus:n,onBlur:o,presetColors:a,startOpen:i=!1,argType:s})=>{let l=$e((0,z0.default)(r,200),[r]),{value:u,realValue:c,updateValue:d,color:y,colorSpace:f,cycleColorSpace:h}=NN(t,l),{presets:g,addPreset:_}=BN(a,y,f),x=FN[f],v=!!s?.table?.readonly;return E.createElement(EN,{"aria-readonly":v},E.createElement(wN,{startOpen:i,trigger:v?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>_(y),tooltip:E.createElement(SN,null,E.createElement(x,{color:c==="transparent"?"#000000":c,onChange:d,onFocus:n,onBlur:o}),g.length>0&&E.createElement(TN,null,g.map((O,C)=>E.createElement(Lt,{key:`${O.value}-${C}`,hasChrome:!1,tooltip:E.createElement(AN,{note:O.keyword||O.value})},E.createElement(J0,{value:O[f],active:y&&ba(O[f])===ba(y[f]),onClick:()=>d(O.value)})))))},E.createElement(J0,{value:c,style:{margin:4}})),E.createElement(ON,{id:tt(e),value:u,onChange:O=>d(O.target.value),onFocus:O=>O.target.select(),readOnly:v,placeholder:"Choose color..."}),u?E.createElement(IN,{onClick:h}):null)},LN=nv});S();A();T();S();A();T();S();A();T();Fa();io();io();S();A();T();var nu=Object.prototype.hasOwnProperty;function ou(e,t,r){for(r of e.keys())if(or(r,t))return r}function or(e,t){var r,n,o;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((n=e.length)===t.length)for(;n--&&or(e[n],t[n]););return n===-1}if(r===Set){if(e.size!==t.size)return!1;for(n of e)if(o=n,o&&typeof o=="object"&&(o=ou(t,o),!o)||!t.has(o))return!1;return!0}if(r===Map){if(e.size!==t.size)return!1;for(n of e)if(o=n[0],o&&typeof o=="object"&&(o=ou(t,o),!o)||!or(n[1],t.get(o)))return!1;return!0}if(r===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(r===DataView){if((n=e.byteLength)===t.byteLength)for(;n--&&e.getInt8(n)===t.getInt8(n););return n===-1}if(ArrayBuffer.isView(e)){if((n=e.byteLength)===t.byteLength)for(;n--&&e[n]===t[n];);return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(nu.call(e,r)&&++n&&!nu.call(t,r)||!(r in t)||!or(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}lo();S();A();T();S();A();T();var p8=__STORYBOOK_CORE_EVENTS__,{ARGTYPES_INFO_REQUEST:iu,ARGTYPES_INFO_RESPONSE:Ka,CHANNEL_CREATED:d8,CHANNEL_WS_DISCONNECT:f8,CONFIG_ERROR:su,CREATE_NEW_STORYFILE_REQUEST:y8,CREATE_NEW_STORYFILE_RESPONSE:h8,CURRENT_STORY_WAS_SET:Ya,DOCS_PREPARED:lu,DOCS_RENDERED:uo,FILE_COMPONENT_SEARCH_REQUEST:m8,FILE_COMPONENT_SEARCH_RESPONSE:g8,FORCE_REMOUNT:uu,FORCE_RE_RENDER:co,GLOBALS_UPDATED:cu,NAVIGATE_URL:pu,PLAY_FUNCTION_THREW_EXCEPTION:du,PRELOAD_ENTRIES:fu,PREVIEW_BUILDER_PROGRESS:b8,PREVIEW_KEYDOWN:yu,REGISTER_SUBSCRIPTION:v8,REQUEST_WHATS_NEW_DATA:x8,RESET_STORY_ARGS:po,RESULT_WHATS_NEW_DATA:E8,SAVE_STORY_REQUEST:Xa,SAVE_STORY_RESPONSE:fo,SELECT_STORY:w8,SET_CONFIG:S8,SET_CURRENT_STORY:hu,SET_GLOBALS:mu,SET_INDEX:A8,SET_STORIES:T8,SET_WHATS_NEW_CACHE:C8,SHARED_STATE_CHANGED:_8,SHARED_STATE_SET:O8,STORIES_COLLAPSE_ALL:I8,STORIES_EXPAND_ALL:P8,STORY_ARGS_UPDATED:gu,STORY_CHANGED:bu,STORY_ERRORED:vu,STORY_INDEX_INVALIDATED:xu,STORY_MISSING:Qa,STORY_PREPARED:Eu,STORY_RENDERED:xn,STORY_RENDER_PHASE_CHANGED:kr,STORY_SPECIFIED:wu,STORY_THREW_EXCEPTION:Su,STORY_UNCHANGED:Au,TELEMETRY_ERROR:k8,TOGGLE_WHATS_NEW_NOTIFICATIONS:R8,UNHANDLED_ERRORS_WHILE_PLAYING:Tu,UPDATE_GLOBALS:yo,UPDATE_QUERY_PARAMS:Cu,UPDATE_STORY_ARGS:ho}=__STORYBOOK_CORE_EVENTS__;S();A();T();var J8=__STORYBOOK_API__,{ActiveTabs:$8,Consumer:z8,ManagerContext:V8,Provider:H8,RequestResponseError:G8,addons:mo,combineParameters:W8,controlOrMetaKey:K8,controlOrMetaSymbol:Y8,eventMatchesShortcut:X8,eventToShortcut:Q8,experimental_requestResponse:Za,isMacLike:Z8,isShortcutTaken:e9,keyToSymbol:t9,merge:r9,mockChannel:n9,optionOrAltSymbol:o9,shortcutMatchesShortcut:a9,shortcutToHumanString:i9,types:_u,useAddonState:s9,useArgTypes:ei,useArgs:Ou,useChannel:l9,useGlobalTypes:u9,useGlobals:Iu,useParameter:Pu,useSharedState:c9,useStoryPrepared:p9,useStorybookApi:d9,useStorybookState:ku}=__STORYBOOK_API__;oi();li();var Nv=ao(dy());S();A();T();var eZ=__STORYBOOK_CLIENT_LOGGER__,{deprecate:tZ,logger:Bo,once:fy,pretty:rZ}=__STORYBOOK_CLIENT_LOGGER__;var Bv=ao(Dy()),Lv=ao(Lh());S();A();T();S();A();T();S();A();T();var Pte=__STORYBOOK_CHANNELS__,{Channel:qh,PostMessageTransport:kte,WebsocketTransport:Rte,createBrowserChannel:Dte}=__STORYBOOK_CHANNELS__;S();A();T();var Lte=__STORYBOOK_CLIENT_LOGGER__,{deprecate:Ct,logger:me,once:Ut,pretty:qte}=__STORYBOOK_CLIENT_LOGGER__;S();A();T();var _P=Object.defineProperty,Pe=(e,t)=>_P(e,"name",{value:t,configurable:!0});function De(e){for(var t=[],r=1;r{var P2=Object.create;var ka=Object.defineProperty;var R2=Object.getOwnPropertyDescriptor;var D2=Object.getOwnPropertyNames;var F2=Object.getPrototypeOf,j2=Object.prototype.hasOwnProperty;var et=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var St=(e,t)=>()=>(e&&(t=e(e=0)),t);var U=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),zl=(e,t)=>{for(var r in t)ka(e,r,{get:t[r],enumerable:!0})},N2=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of D2(t))!j2.call(e,o)&&o!==r&&ka(e,o,{get:()=>t[o],enumerable:!(n=R2(t,o))||n.enumerable});return e};var on=(e,t,r)=>(r=e!=null?P2(F2(e)):{},N2(t||!e||!e.__esModule?ka(r,"default",{value:e,enumerable:!0}):r,e));var w=St(()=>{});var S=St(()=>{});var A=St(()=>{});var B2,Vl,L2,Hl,q2,M2,an,Yt,U2,sn,$2,Jl,z2,Gl,V2,H2,Xt,J2,Wl,tt,ln,Pa=St(()=>{w();S();A();B2=Object.create,Vl=Object.defineProperty,L2=Object.getOwnPropertyDescriptor,Hl=Object.getOwnPropertyNames,q2=Object.getPrototypeOf,M2=Object.prototype.hasOwnProperty,an=(e=>typeof et<"u"?et:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof et<"u"?et:t)[r]}):e)(function(e){if(typeof et<"u")return et.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),Yt=(e,t)=>function(){return t||(0,e[Hl(e)[0]])((t={exports:{}}).exports,t),t.exports},U2=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Hl(t))!M2.call(e,o)&&o!==r&&Vl(e,o,{get:()=>t[o],enumerable:!(n=L2(t,o))||n.enumerable});return e},sn=(e,t,r)=>(r=e!=null?B2(q2(e)):{},U2(t||!e||!e.__esModule?Vl(r,"default",{value:e,enumerable:!0}):r,e)),$2=Object.create,Jl=Object.defineProperty,z2=Object.getOwnPropertyDescriptor,Gl=Object.getOwnPropertyNames,V2=Object.getPrototypeOf,H2=Object.prototype.hasOwnProperty,Xt=(e,t)=>function(){return t||(0,e[Gl(e)[0]])((t={exports:{}}).exports,t),t.exports},J2=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Gl(t))!H2.call(e,o)&&o!==r&&Jl(e,o,{get:()=>t[o],enumerable:!(n=z2(t,o))||n.enumerable});return e},Wl=(e,t,r)=>(r=e!=null?$2(V2(e)):{},J2(t||!e||!e.__esModule?Jl(r,"default",{value:e,enumerable:!0}):r,e)),tt=e=>`control-${e.replace(/\s+/g,"-")}`,ln=e=>`set-${e.replace(/\s+/g,"-")}`});var v,Kl,Ft,I6,k6,P6,R6,Yl,D6,Ae,un,Ra,F6,j6,N6,B6,Xl,L6,q6,M6,Ve,Ql,U6,$6,He,z6,V6,H6,Zl,jt,J6,Xe,me,G6,W6,K6,no=St(()=>{w();S();A();v=__REACT__,{Children:Kl,Component:Ft,Fragment:I6,Profiler:k6,PureComponent:P6,StrictMode:R6,Suspense:Yl,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:D6,cloneElement:Ae,createContext:un,createElement:Ra,createFactory:F6,createRef:j6,forwardRef:N6,isValidElement:B6,lazy:Xl,memo:L6,startTransition:q6,unstable_act:M6,useCallback:Ve,useContext:Ql,useDebugValue:U6,useDeferredValue:$6,useEffect:He,useId:z6,useImperativeHandle:V6,useInsertionEffect:H6,useLayoutEffect:Zl,useMemo:jt,useReducer:J6,useRef:Xe,useState:me,useSyncExternalStore:G6,useTransition:W6,version:K6}=__REACT__});var eu={};zl(eu,{A:()=>K2,ActionBar:()=>Da,AddonPanel:()=>Fa,Badge:()=>ja,Bar:()=>Na,Blockquote:()=>Y2,Button:()=>Nt,ClipboardCode:()=>X2,Code:()=>Q2,DL:()=>Z2,Div:()=>e1,DocumentWrapper:()=>t1,EmptyTabContent:()=>Ba,ErrorFormatter:()=>r1,FlexBar:()=>La,Form:()=>ut,H1:()=>n1,H2:()=>qa,H3:()=>o1,H4:()=>a1,H5:()=>i1,H6:()=>s1,HR:()=>l1,IconButton:()=>yt,IconButtonSkeleton:()=>u1,Icons:()=>c1,Img:()=>p1,LI:()=>d1,Link:()=>Qt,ListItem:()=>f1,Loader:()=>y1,Modal:()=>ht,OL:()=>h1,P:()=>m1,Placeholder:()=>g1,Pre:()=>b1,ResetWrapper:()=>Ma,ScrollArea:()=>v1,Separator:()=>E1,Spaced:()=>Ua,Span:()=>x1,StorybookIcon:()=>w1,StorybookLogo:()=>S1,Symbols:()=>A1,SyntaxHighlighter:()=>oo,TT:()=>T1,TabBar:()=>C1,TabButton:()=>_1,TabWrapper:()=>O1,Table:()=>I1,Tabs:()=>k1,TabsState:()=>P1,TooltipLinkList:()=>R1,TooltipMessage:()=>D1,TooltipNote:()=>Zt,UL:()=>F1,WithTooltip:()=>Bt,WithTooltipPure:()=>$a,Zoom:()=>za,codeCommon:()=>vr,components:()=>Va,createCopyToClipboardFunction:()=>j1,default:()=>W2,getStoryHref:()=>N1,icons:()=>B1,interleaveSeparators:()=>L1,nameSpaceClassNames:()=>Ha,resetComponents:()=>q1,withReset:()=>Er});var W2,K2,Da,Fa,ja,Na,Y2,Nt,X2,Q2,Z2,e1,t1,Ba,r1,La,ut,n1,qa,o1,a1,i1,s1,l1,yt,u1,c1,p1,d1,Qt,f1,y1,ht,h1,m1,g1,b1,Ma,v1,E1,Ua,x1,w1,S1,A1,oo,T1,C1,_1,O1,I1,k1,P1,R1,D1,Zt,F1,Bt,$a,za,vr,Va,j1,N1,B1,L1,Ha,q1,Er,ao=St(()=>{w();S();A();W2=__STORYBOOK_COMPONENTS__,{A:K2,ActionBar:Da,AddonPanel:Fa,Badge:ja,Bar:Na,Blockquote:Y2,Button:Nt,ClipboardCode:X2,Code:Q2,DL:Z2,Div:e1,DocumentWrapper:t1,EmptyTabContent:Ba,ErrorFormatter:r1,FlexBar:La,Form:ut,H1:n1,H2:qa,H3:o1,H4:a1,H5:i1,H6:s1,HR:l1,IconButton:yt,IconButtonSkeleton:u1,Icons:c1,Img:p1,LI:d1,Link:Qt,ListItem:f1,Loader:y1,Modal:ht,OL:h1,P:m1,Placeholder:g1,Pre:b1,ResetWrapper:Ma,ScrollArea:v1,Separator:E1,Spaced:Ua,Span:x1,StorybookIcon:w1,StorybookLogo:S1,Symbols:A1,SyntaxHighlighter:oo,TT:T1,TabBar:C1,TabButton:_1,TabWrapper:O1,Table:I1,Tabs:k1,TabsState:P1,TooltipLinkList:R1,TooltipMessage:D1,TooltipNote:Zt,UL:F1,WithTooltip:Bt,WithTooltipPure:$a,Zoom:za,codeCommon:vr,components:Va,createCopyToClipboardFunction:j1,getStoryHref:N1,icons:B1,interleaveSeparators:L1,nameSpaceClassNames:Ha,resetComponents:q1,withReset:Er}=__STORYBOOK_COMPONENTS__});var u9,c9,p9,d9,Cu,f9,yo,_u,y9,h9,m9,g9,b9,v9,E9,Ou,x9,w9,Qa,S9,W,Za,A9,ei,T9,ti=St(()=>{w();S();A();u9=__STORYBOOK_THEMING__,{CacheProvider:c9,ClassNames:p9,Global:d9,ThemeProvider:Cu,background:f9,color:yo,convert:_u,create:y9,createCache:h9,createGlobal:m9,createReset:g9,css:b9,darken:v9,ensure:E9,ignoreSsrWarning:Ou,isPropValid:x9,jsx:w9,keyframes:Qa,lighten:S9,styled:W,themes:Za,typography:A9,useTheme:ei,withTheme:T9}=__STORYBOOK_THEMING__});var L9,q9,M9,ri,U9,$9,z9,V9,H9,J9,G9,W9,K9,Y9,X9,Q9,Z9,eU,tU,rU,nU,oU,aU,iU,sU,lU,uU,cU,pU,dU,fU,yU,hU,mU,gU,bU,vU,EU,xU,wU,SU,AU,TU,CU,_U,OU,IU,Pu,Ru,kU,Du,ni,PU,RU,Fu,DU,FU,jU,NU,BU,LU,qU,MU,UU,$U,zU,VU,HU,JU,GU,WU,KU,YU,XU,QU,ZU,e$,t$,r$,n$,o$,a$,i$,s$,l$,u$,c$,p$,ho,d$,f$,y$,h$,m$,g$,b$,ju,Nu,v$,E$,x$,w$,S$,A$,T$,C$,_$,O$,I$,k$,P$,R$,D$,F$,j$,N$,B$,L$,q$,M$,U$,$$,z$,V$,H$,J$,G$,W$,K$,Y$,X$,Bu,Q$,Z$,ez,tz,rz,nz,oz,Lu,az,iz,sz,lz,uz,cz,pz,dz,fz,yz,hz,mz,gz,bz,vz,Ez,xz,wz,Sz,Az,Tz,Cz,_z,Oz,Iz,kz,Pz,Rz,Dz,Fz,jz,Nz,Bz,Lz,qz,Mz,Uz,$z,zz,Vz,Hz,Jz,Gz,Wz,Kz,Yz,Xz,Qz,Zz,e7,t7,r7,n7,o7,a7,i7,s7,l7,u7,c7,p7,qu,d7,f7,y7,h7,m7,g7,b7,v7,E7,x7,w7,S7,A7,oi,T7,C7,_7,O7,I7,k7,P7,R7,D7,F7,Mu,j7,N7,B7,L7,q7,M7,Uu,$u,zu,U7,ai=St(()=>{w();S();A();L9=__STORYBOOK_ICONS__,{AccessibilityAltIcon:q9,AccessibilityIcon:M9,AddIcon:ri,AdminIcon:U9,AlertAltIcon:$9,AlertIcon:z9,AlignLeftIcon:V9,AlignRightIcon:H9,AppleIcon:J9,ArrowBottomLeftIcon:G9,ArrowBottomRightIcon:W9,ArrowDownIcon:K9,ArrowLeftIcon:Y9,ArrowRightIcon:X9,ArrowSolidDownIcon:Q9,ArrowSolidLeftIcon:Z9,ArrowSolidRightIcon:eU,ArrowSolidUpIcon:tU,ArrowTopLeftIcon:rU,ArrowTopRightIcon:nU,ArrowUpIcon:oU,AzureDevOpsIcon:aU,BackIcon:iU,BasketIcon:sU,BatchAcceptIcon:lU,BatchDenyIcon:uU,BeakerIcon:cU,BellIcon:pU,BitbucketIcon:dU,BoldIcon:fU,BookIcon:yU,BookmarkHollowIcon:hU,BookmarkIcon:mU,BottomBarIcon:gU,BottomBarToggleIcon:bU,BoxIcon:vU,BranchIcon:EU,BrowserIcon:xU,ButtonIcon:wU,CPUIcon:SU,CalendarIcon:AU,CameraIcon:TU,CategoryIcon:CU,CertificateIcon:_U,ChangedIcon:OU,ChatIcon:IU,CheckIcon:Pu,ChevronDownIcon:Ru,ChevronLeftIcon:kU,ChevronRightIcon:Du,ChevronSmallDownIcon:ni,ChevronSmallLeftIcon:PU,ChevronSmallRightIcon:RU,ChevronSmallUpIcon:Fu,ChevronUpIcon:DU,ChromaticIcon:FU,ChromeIcon:jU,CircleHollowIcon:NU,CircleIcon:BU,ClearIcon:LU,CloseAltIcon:qU,CloseIcon:MU,CloudHollowIcon:UU,CloudIcon:$U,CogIcon:zU,CollapseIcon:VU,CommandIcon:HU,CommentAddIcon:JU,CommentIcon:GU,CommentsIcon:WU,CommitIcon:KU,CompassIcon:YU,ComponentDrivenIcon:XU,ComponentIcon:QU,ContrastIcon:ZU,ControlsIcon:e$,CopyIcon:t$,CreditIcon:r$,CrossIcon:n$,DashboardIcon:o$,DatabaseIcon:a$,DeleteIcon:i$,DiamondIcon:s$,DirectionIcon:l$,DiscordIcon:u$,DocChartIcon:c$,DocListIcon:p$,DocumentIcon:ho,DownloadIcon:d$,DragIcon:f$,EditIcon:y$,EllipsisIcon:h$,EmailIcon:m$,ExpandAltIcon:g$,ExpandIcon:b$,EyeCloseIcon:ju,EyeIcon:Nu,FaceHappyIcon:v$,FaceNeutralIcon:E$,FaceSadIcon:x$,FacebookIcon:w$,FailedIcon:S$,FastForwardIcon:A$,FigmaIcon:T$,FilterIcon:C$,FlagIcon:_$,FolderIcon:O$,FormIcon:I$,GDriveIcon:k$,GithubIcon:P$,GitlabIcon:R$,GlobeIcon:D$,GoogleIcon:F$,GraphBarIcon:j$,GraphLineIcon:N$,GraphqlIcon:B$,GridAltIcon:L$,GridIcon:q$,GrowIcon:M$,HeartHollowIcon:U$,HeartIcon:$$,HomeIcon:z$,HourglassIcon:V$,InfoIcon:H$,ItalicIcon:J$,JumpToIcon:G$,KeyIcon:W$,LightningIcon:K$,LightningOffIcon:Y$,LinkBrokenIcon:X$,LinkIcon:Bu,LinkedinIcon:Q$,LinuxIcon:Z$,ListOrderedIcon:ez,ListUnorderedIcon:tz,LocationIcon:rz,LockIcon:nz,MarkdownIcon:oz,MarkupIcon:Lu,MediumIcon:az,MemoryIcon:iz,MenuIcon:sz,MergeIcon:lz,MirrorIcon:uz,MobileIcon:cz,MoonIcon:pz,NutIcon:dz,OutboxIcon:fz,OutlineIcon:yz,PaintBrushIcon:hz,PaperClipIcon:mz,ParagraphIcon:gz,PassedIcon:bz,PhoneIcon:vz,PhotoDragIcon:Ez,PhotoIcon:xz,PinAltIcon:wz,PinIcon:Sz,PlayBackIcon:Az,PlayIcon:Tz,PlayNextIcon:Cz,PlusIcon:_z,PointerDefaultIcon:Oz,PointerHandIcon:Iz,PowerIcon:kz,PrintIcon:Pz,ProceedIcon:Rz,ProfileIcon:Dz,PullRequestIcon:Fz,QuestionIcon:jz,RSSIcon:Nz,RedirectIcon:Bz,ReduxIcon:Lz,RefreshIcon:qz,ReplyIcon:Mz,RepoIcon:Uz,RequestChangeIcon:$z,RewindIcon:zz,RulerIcon:Vz,SearchIcon:Hz,ShareAltIcon:Jz,ShareIcon:Gz,ShieldIcon:Wz,SideBySideIcon:Kz,SidebarAltIcon:Yz,SidebarAltToggleIcon:Xz,SidebarIcon:Qz,SidebarToggleIcon:Zz,SpeakerIcon:e7,StackedIcon:t7,StarHollowIcon:r7,StarIcon:n7,StatusFailIcon:o7,StatusPassIcon:a7,StatusWarnIcon:i7,StickerIcon:s7,StopAltIcon:l7,StopIcon:u7,StorybookIcon:c7,StructureIcon:p7,SubtractIcon:qu,SunIcon:d7,SupportIcon:f7,SwitchAltIcon:y7,SyncIcon:h7,TabletIcon:m7,ThumbsUpIcon:g7,TimeIcon:b7,TimerIcon:v7,TransferIcon:E7,TrashIcon:x7,TwitterIcon:w7,TypeIcon:S7,UbuntuIcon:A7,UndoIcon:oi,UnfoldIcon:T7,UnlockIcon:C7,UnpinIcon:_7,UploadIcon:O7,UserAddIcon:I7,UserAltIcon:k7,UserIcon:P7,UsersIcon:R7,VSCodeIcon:D7,VerifiedIcon:F7,VideoIcon:Mu,WandIcon:j7,WatchIcon:N7,WindowsIcon:B7,WrenchIcon:L7,XIcon:q7,YoutubeIcon:M7,ZoomIcon:Uu,ZoomOutIcon:$u,ZoomResetIcon:zu,iconList:U7}=__STORYBOOK_ICONS__});var ii=U((Z7,Hu)=>{w();S();A();function M1(e,t){for(var r=-1,n=e==null?0:e.length,o=Array(n);++r{w();S();A();function U1(){this.__data__=[],this.size=0}Ju.exports=U1});var go=U((sV,Wu)=>{w();S();A();function $1(e,t){return e===t||e!==e&&t!==t}Wu.exports=$1});var pn=U((pV,Ku)=>{w();S();A();var z1=go();function V1(e,t){for(var r=e.length;r--;)if(z1(e[r][0],t))return r;return-1}Ku.exports=V1});var Xu=U((hV,Yu)=>{w();S();A();var H1=pn(),J1=Array.prototype,G1=J1.splice;function W1(e){var t=this.__data__,r=H1(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():G1.call(t,r,1),--this.size,!0}Yu.exports=W1});var Zu=U((vV,Qu)=>{w();S();A();var K1=pn();function Y1(e){var t=this.__data__,r=K1(t,e);return r<0?void 0:t[r][1]}Qu.exports=Y1});var tc=U((SV,ec)=>{w();S();A();var X1=pn();function Q1(e){return X1(this.__data__,e)>-1}ec.exports=Q1});var nc=U((_V,rc)=>{w();S();A();var Z1=pn();function eE(e,t){var r=this.__data__,n=Z1(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}rc.exports=eE});var dn=U((PV,oc)=>{w();S();A();var tE=Gu(),rE=Xu(),nE=Zu(),oE=tc(),aE=nc();function Sr(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{w();S();A();var iE=dn();function sE(){this.__data__=new iE,this.size=0}ac.exports=sE});var lc=U((qV,sc)=>{w();S();A();function lE(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}sc.exports=lE});var cc=U((zV,uc)=>{w();S();A();function uE(e){return this.__data__.get(e)}uc.exports=uE});var dc=U((GV,pc)=>{w();S();A();function cE(e){return this.__data__.has(e)}pc.exports=cE});var si=U((XV,fc)=>{w();S();A();var pE=typeof window=="object"&&window&&window.Object===Object&&window;fc.exports=pE});var ot=U((tH,yc)=>{w();S();A();var dE=si(),fE=typeof self=="object"&&self&&self.Object===Object&&self,yE=dE||fE||Function("return this")();yc.exports=yE});var Ar=U((aH,hc)=>{w();S();A();var hE=ot(),mE=hE.Symbol;hc.exports=mE});var vc=U((uH,bc)=>{w();S();A();var mc=Ar(),gc=Object.prototype,gE=gc.hasOwnProperty,bE=gc.toString,fn=mc?mc.toStringTag:void 0;function vE(e){var t=gE.call(e,fn),r=e[fn];try{e[fn]=void 0;var n=!0}catch{}var o=bE.call(e);return n&&(t?e[fn]=r:delete e[fn]),o}bc.exports=vE});var xc=U((fH,Ec)=>{w();S();A();var EE=Object.prototype,xE=EE.toString;function wE(e){return xE.call(e)}Ec.exports=wE});var Tr=U((gH,Ac)=>{w();S();A();var wc=Ar(),SE=vc(),AE=xc(),TE="[object Null]",CE="[object Undefined]",Sc=wc?wc.toStringTag:void 0;function _E(e){return e==null?e===void 0?CE:TE:Sc&&Sc in Object(e)?SE(e):AE(e)}Ac.exports=_E});var mt=U((xH,Tc)=>{w();S();A();function OE(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}Tc.exports=OE});var li=U((TH,Cc)=>{w();S();A();var IE=Tr(),kE=mt(),PE="[object AsyncFunction]",RE="[object Function]",DE="[object GeneratorFunction]",FE="[object Proxy]";function jE(e){if(!kE(e))return!1;var t=IE(e);return t==RE||t==DE||t==PE||t==FE}Cc.exports=jE});var Oc=U((IH,_c)=>{w();S();A();var NE=ot(),BE=NE["__core-js_shared__"];_c.exports=BE});var Pc=U((DH,kc)=>{w();S();A();var ui=Oc(),Ic=function(){var e=/[^.]+$/.exec(ui&&ui.keys&&ui.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function LE(e){return!!Ic&&Ic in e}kc.exports=LE});var ci=U((BH,Rc)=>{w();S();A();var qE=Function.prototype,ME=qE.toString;function UE(e){if(e!=null){try{return ME.call(e)}catch{}try{return e+""}catch{}}return""}Rc.exports=UE});var Fc=U((UH,Dc)=>{w();S();A();var $E=li(),zE=Pc(),VE=mt(),HE=ci(),JE=/[\\^$.*+?()[\]{}|]/g,GE=/^\[object .+?Constructor\]$/,WE=Function.prototype,KE=Object.prototype,YE=WE.toString,XE=KE.hasOwnProperty,QE=RegExp("^"+YE.call(XE).replace(JE,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ZE(e){if(!VE(e)||zE(e))return!1;var t=$E(e)?QE:GE;return t.test(HE(e))}Dc.exports=ZE});var Nc=U((HH,jc)=>{w();S();A();function ex(e,t){return e?.[t]}jc.exports=ex});var Lt=U((KH,Bc)=>{w();S();A();var tx=Fc(),rx=Nc();function nx(e,t){var r=rx(e,t);return tx(r)?r:void 0}Bc.exports=nx});var bo=U((ZH,Lc)=>{w();S();A();var ox=Lt(),ax=ot(),ix=ox(ax,"Map");Lc.exports=ix});var yn=U((nJ,qc)=>{w();S();A();var sx=Lt(),lx=sx(Object,"create");qc.exports=lx});var $c=U((sJ,Uc)=>{w();S();A();var Mc=yn();function ux(){this.__data__=Mc?Mc(null):{},this.size=0}Uc.exports=ux});var Vc=U((pJ,zc)=>{w();S();A();function cx(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}zc.exports=cx});var Jc=U((hJ,Hc)=>{w();S();A();var px=yn(),dx="__lodash_hash_undefined__",fx=Object.prototype,yx=fx.hasOwnProperty;function hx(e){var t=this.__data__;if(px){var r=t[e];return r===dx?void 0:r}return yx.call(t,e)?t[e]:void 0}Hc.exports=hx});var Wc=U((vJ,Gc)=>{w();S();A();var mx=yn(),gx=Object.prototype,bx=gx.hasOwnProperty;function vx(e){var t=this.__data__;return mx?t[e]!==void 0:bx.call(t,e)}Gc.exports=vx});var Yc=U((SJ,Kc)=>{w();S();A();var Ex=yn(),xx="__lodash_hash_undefined__";function wx(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Ex&&t===void 0?xx:t,this}Kc.exports=wx});var Qc=U((_J,Xc)=>{w();S();A();var Sx=$c(),Ax=Vc(),Tx=Jc(),Cx=Wc(),_x=Yc();function Cr(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{w();S();A();var Zc=Qc(),Ox=dn(),Ix=bo();function kx(){this.size=0,this.__data__={hash:new Zc,map:new(Ix||Ox),string:new Zc}}ep.exports=kx});var np=U((jJ,rp)=>{w();S();A();function Px(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}rp.exports=Px});var hn=U((qJ,op)=>{w();S();A();var Rx=np();function Dx(e,t){var r=e.__data__;return Rx(t)?r[typeof t=="string"?"string":"hash"]:r.map}op.exports=Dx});var ip=U((zJ,ap)=>{w();S();A();var Fx=hn();function jx(e){var t=Fx(this,e).delete(e);return this.size-=t?1:0,t}ap.exports=jx});var lp=U((GJ,sp)=>{w();S();A();var Nx=hn();function Bx(e){return Nx(this,e).get(e)}sp.exports=Bx});var cp=U((XJ,up)=>{w();S();A();var Lx=hn();function qx(e){return Lx(this,e).has(e)}up.exports=qx});var dp=U((tG,pp)=>{w();S();A();var Mx=hn();function Ux(e,t){var r=Mx(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}pp.exports=Ux});var vo=U((aG,fp)=>{w();S();A();var $x=tp(),zx=ip(),Vx=lp(),Hx=cp(),Jx=dp();function _r(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{w();S();A();var Gx=dn(),Wx=bo(),Kx=vo(),Yx=200;function Xx(e,t){var r=this.__data__;if(r instanceof Gx){var n=r.__data__;if(!Wx||n.length{w();S();A();var Qx=dn(),Zx=ic(),ew=lc(),tw=cc(),rw=dc(),nw=hp();function Or(e){var t=this.__data__=new Qx(e);this.size=t.size}Or.prototype.clear=Zx;Or.prototype.delete=ew;Or.prototype.get=tw;Or.prototype.has=rw;Or.prototype.set=nw;mp.exports=Or});var bp=U((gG,gp)=>{w();S();A();var ow="__lodash_hash_undefined__";function aw(e){return this.__data__.set(e,ow),this}gp.exports=aw});var Ep=U((xG,vp)=>{w();S();A();function iw(e){return this.__data__.has(e)}vp.exports=iw});var pi=U((TG,xp)=>{w();S();A();var sw=vo(),lw=bp(),uw=Ep();function xo(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new sw;++t{w();S();A();function cw(e,t){for(var r=-1,n=e==null?0:e.length;++r{w();S();A();function pw(e,t){return e.has(t)}Ap.exports=pw});var fi=U((BG,Tp)=>{w();S();A();var dw=pi(),fw=Sp(),yw=di(),hw=1,mw=2;function gw(e,t,r,n,o,a){var i=r&hw,s=e.length,l=t.length;if(s!=l&&!(i&&l>s))return!1;var u=a.get(e),c=a.get(t);if(u&&c)return u==t&&c==e;var d=-1,y=!0,f=r&mw?new dw:void 0;for(a.set(e,t),a.set(t,e);++d{w();S();A();var bw=ot(),vw=bw.Uint8Array;Cp.exports=vw});var Op=U((HG,_p)=>{w();S();A();function Ew(e){var t=-1,r=Array(e.size);return e.forEach(function(n,o){r[++t]=[o,n]}),r}_p.exports=Ew});var wo=U((KG,Ip)=>{w();S();A();function xw(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}Ip.exports=xw});var Fp=U((ZG,Dp)=>{w();S();A();var kp=Ar(),Pp=yi(),ww=go(),Sw=fi(),Aw=Op(),Tw=wo(),Cw=1,_w=2,Ow="[object Boolean]",Iw="[object Date]",kw="[object Error]",Pw="[object Map]",Rw="[object Number]",Dw="[object RegExp]",Fw="[object Set]",jw="[object String]",Nw="[object Symbol]",Bw="[object ArrayBuffer]",Lw="[object DataView]",Rp=kp?kp.prototype:void 0,hi=Rp?Rp.valueOf:void 0;function qw(e,t,r,n,o,a,i){switch(r){case Lw:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Bw:return!(e.byteLength!=t.byteLength||!a(new Pp(e),new Pp(t)));case Ow:case Iw:case Rw:return ww(+e,+t);case kw:return e.name==t.name&&e.message==t.message;case Dw:case jw:return e==t+"";case Pw:var s=Aw;case Fw:var l=n&Cw;if(s||(s=Tw),e.size!=t.size&&!l)return!1;var u=i.get(e);if(u)return u==t;n|=_w,i.set(e,t);var c=Sw(s(e),s(t),n,o,a,i);return i.delete(e),c;case Nw:if(hi)return hi.call(e)==hi.call(t)}return!1}Dp.exports=qw});var mi=U((nW,jp)=>{w();S();A();function Mw(e,t){for(var r=-1,n=t.length,o=e.length;++r{w();S();A();var Uw=Array.isArray;Np.exports=Uw});var gi=U((pW,Bp)=>{w();S();A();var $w=mi(),zw=gt();function Vw(e,t,r){var n=t(e);return zw(e)?n:$w(n,r(e))}Bp.exports=Vw});var qp=U((hW,Lp)=>{w();S();A();function Hw(e,t){for(var r=-1,n=e==null?0:e.length,o=0,a=[];++r{w();S();A();function Jw(){return[]}Mp.exports=Jw});var So=U((SW,$p)=>{w();S();A();var Gw=qp(),Ww=bi(),Kw=Object.prototype,Yw=Kw.propertyIsEnumerable,Up=Object.getOwnPropertySymbols,Xw=Up?function(e){return e==null?[]:(e=Object(e),Gw(Up(e),function(t){return Yw.call(e,t)}))}:Ww;$p.exports=Xw});var Vp=U((_W,zp)=>{w();S();A();function Qw(e,t){for(var r=-1,n=Array(e);++r{w();S();A();function Zw(e){return e!=null&&typeof e=="object"}Hp.exports=Zw});var Gp=U((jW,Jp)=>{w();S();A();var eS=Tr(),tS=qt(),rS="[object Arguments]";function nS(e){return tS(e)&&eS(e)==rS}Jp.exports=nS});var vi=U((qW,Yp)=>{w();S();A();var Wp=Gp(),oS=qt(),Kp=Object.prototype,aS=Kp.hasOwnProperty,iS=Kp.propertyIsEnumerable,sS=Wp(function(){return arguments}())?Wp:function(e){return oS(e)&&aS.call(e,"callee")&&!iS.call(e,"callee")};Yp.exports=sS});var Qp=U((zW,Xp)=>{w();S();A();function lS(){return!1}Xp.exports=lS});var Ao=U((mn,Ir)=>{w();S();A();var uS=ot(),cS=Qp(),td=typeof mn=="object"&&mn&&!mn.nodeType&&mn,Zp=td&&typeof Ir=="object"&&Ir&&!Ir.nodeType&&Ir,pS=Zp&&Zp.exports===td,ed=pS?uS.Buffer:void 0,dS=ed?ed.isBuffer:void 0,fS=dS||cS;Ir.exports=fS});var To=U((YW,rd)=>{w();S();A();var yS=9007199254740991,hS=/^(?:0|[1-9]\d*)$/;function mS(e,t){var r=typeof e;return t=t??yS,!!t&&(r=="number"||r!="symbol"&&hS.test(e))&&e>-1&&e%1==0&&e{w();S();A();var gS=9007199254740991;function bS(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=gS}nd.exports=bS});var ad=U((oK,od)=>{w();S();A();var vS=Tr(),ES=Co(),xS=qt(),wS="[object Arguments]",SS="[object Array]",AS="[object Boolean]",TS="[object Date]",CS="[object Error]",_S="[object Function]",OS="[object Map]",IS="[object Number]",kS="[object Object]",PS="[object RegExp]",RS="[object Set]",DS="[object String]",FS="[object WeakMap]",jS="[object ArrayBuffer]",NS="[object DataView]",BS="[object Float32Array]",LS="[object Float64Array]",qS="[object Int8Array]",MS="[object Int16Array]",US="[object Int32Array]",$S="[object Uint8Array]",zS="[object Uint8ClampedArray]",VS="[object Uint16Array]",HS="[object Uint32Array]",Ee={};Ee[BS]=Ee[LS]=Ee[qS]=Ee[MS]=Ee[US]=Ee[$S]=Ee[zS]=Ee[VS]=Ee[HS]=!0;Ee[wS]=Ee[SS]=Ee[jS]=Ee[AS]=Ee[NS]=Ee[TS]=Ee[CS]=Ee[_S]=Ee[OS]=Ee[IS]=Ee[kS]=Ee[PS]=Ee[RS]=Ee[DS]=Ee[FS]=!1;function JS(e){return xS(e)&&ES(e.length)&&!!Ee[vS(e)]}od.exports=JS});var _o=U((lK,id)=>{w();S();A();function GS(e){return function(t){return e(t)}}id.exports=GS});var Oo=U((gn,kr)=>{w();S();A();var WS=si(),sd=typeof gn=="object"&&gn&&!gn.nodeType&&gn,bn=sd&&typeof kr=="object"&&kr&&!kr.nodeType&&kr,KS=bn&&bn.exports===sd,Ei=KS&&WS.process,YS=function(){try{var e=bn&&bn.require&&bn.require("util").types;return e||Ei&&Ei.binding&&Ei.binding("util")}catch{}}();kr.exports=YS});var xi=U((hK,cd)=>{w();S();A();var XS=ad(),QS=_o(),ld=Oo(),ud=ld&&ld.isTypedArray,ZS=ud?QS(ud):XS;cd.exports=ZS});var wi=U((vK,pd)=>{w();S();A();var eA=Vp(),tA=vi(),rA=gt(),nA=Ao(),oA=To(),aA=xi(),iA=Object.prototype,sA=iA.hasOwnProperty;function lA(e,t){var r=rA(e),n=!r&&tA(e),o=!r&&!n&&nA(e),a=!r&&!n&&!o&&aA(e),i=r||n||o||a,s=i?eA(e.length,String):[],l=s.length;for(var u in e)(t||sA.call(e,u))&&!(i&&(u=="length"||o&&(u=="offset"||u=="parent")||a&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||oA(u,l)))&&s.push(u);return s}pd.exports=lA});var Io=U((SK,dd)=>{w();S();A();var uA=Object.prototype;function cA(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||uA;return e===r}dd.exports=cA});var Si=U((_K,fd)=>{w();S();A();function pA(e,t){return function(r){return e(t(r))}}fd.exports=pA});var hd=U((PK,yd)=>{w();S();A();var dA=Si(),fA=dA(Object.keys,Object);yd.exports=fA});var gd=U((jK,md)=>{w();S();A();var yA=Io(),hA=hd(),mA=Object.prototype,gA=mA.hasOwnProperty;function bA(e){if(!yA(e))return hA(e);var t=[];for(var r in Object(e))gA.call(e,r)&&r!="constructor"&&t.push(r);return t}md.exports=bA});var Ai=U((qK,bd)=>{w();S();A();var vA=li(),EA=Co();function xA(e){return e!=null&&EA(e.length)&&!vA(e)}bd.exports=xA});var vn=U((zK,vd)=>{w();S();A();var wA=wi(),SA=gd(),AA=Ai();function TA(e){return AA(e)?wA(e):SA(e)}vd.exports=TA});var Ti=U((GK,Ed)=>{w();S();A();var CA=gi(),_A=So(),OA=vn();function IA(e){return CA(e,OA,_A)}Ed.exports=IA});var Sd=U((XK,wd)=>{w();S();A();var xd=Ti(),kA=1,PA=Object.prototype,RA=PA.hasOwnProperty;function DA(e,t,r,n,o,a){var i=r&kA,s=xd(e),l=s.length,u=xd(t),c=u.length;if(l!=c&&!i)return!1;for(var d=l;d--;){var y=s[d];if(!(i?y in t:RA.call(t,y)))return!1}var f=a.get(e),h=a.get(t);if(f&&h)return f==t&&h==e;var g=!0;a.set(e,t),a.set(t,e);for(var C=i;++d{w();S();A();var FA=Lt(),jA=ot(),NA=FA(jA,"DataView");Ad.exports=NA});var _d=U((aY,Cd)=>{w();S();A();var BA=Lt(),LA=ot(),qA=BA(LA,"Promise");Cd.exports=qA});var Ci=U((uY,Od)=>{w();S();A();var MA=Lt(),UA=ot(),$A=MA(UA,"Set");Od.exports=$A});var kd=U((fY,Id)=>{w();S();A();var zA=Lt(),VA=ot(),HA=zA(VA,"WeakMap");Id.exports=HA});var En=U((gY,Bd)=>{w();S();A();var _i=Td(),Oi=bo(),Ii=_d(),ki=Ci(),Pi=kd(),Nd=Tr(),Pr=ci(),Pd="[object Map]",JA="[object Object]",Rd="[object Promise]",Dd="[object Set]",Fd="[object WeakMap]",jd="[object DataView]",GA=Pr(_i),WA=Pr(Oi),KA=Pr(Ii),YA=Pr(ki),XA=Pr(Pi),tr=Nd;(_i&&tr(new _i(new ArrayBuffer(1)))!=jd||Oi&&tr(new Oi)!=Pd||Ii&&tr(Ii.resolve())!=Rd||ki&&tr(new ki)!=Dd||Pi&&tr(new Pi)!=Fd)&&(tr=function(e){var t=Nd(e),r=t==JA?e.constructor:void 0,n=r?Pr(r):"";if(n)switch(n){case GA:return jd;case WA:return Pd;case KA:return Rd;case YA:return Dd;case XA:return Fd}return t});Bd.exports=tr});var Hd=U((xY,Vd)=>{w();S();A();var Ri=Eo(),QA=fi(),ZA=Fp(),eT=Sd(),Ld=En(),qd=gt(),Md=Ao(),tT=xi(),rT=1,Ud="[object Arguments]",$d="[object Array]",ko="[object Object]",nT=Object.prototype,zd=nT.hasOwnProperty;function oT(e,t,r,n,o,a){var i=qd(e),s=qd(t),l=i?$d:Ld(e),u=s?$d:Ld(t);l=l==Ud?ko:l,u=u==Ud?ko:u;var c=l==ko,d=u==ko,y=l==u;if(y&&Md(e)){if(!Md(t))return!1;i=!0,c=!1}if(y&&!c)return a||(a=new Ri),i||tT(e)?QA(e,t,r,n,o,a):ZA(e,t,l,r,n,o,a);if(!(r&rT)){var f=c&&zd.call(e,"__wrapped__"),h=d&&zd.call(t,"__wrapped__");if(f||h){var g=f?e.value():e,C=h?t.value():t;return a||(a=new Ri),o(g,C,r,n,a)}}return y?(a||(a=new Ri),eT(e,t,r,n,o,a)):!1}Vd.exports=oT});var Di=U((TY,Wd)=>{w();S();A();var aT=Hd(),Jd=qt();function Gd(e,t,r,n,o){return e===t?!0:e==null||t==null||!Jd(e)&&!Jd(t)?e!==e&&t!==t:aT(e,t,r,n,Gd,o)}Wd.exports=Gd});var Yd=U((IY,Kd)=>{w();S();A();var iT=Eo(),sT=Di(),lT=1,uT=2;function cT(e,t,r,n){var o=r.length,a=o,i=!n;if(e==null)return!a;for(e=Object(e);o--;){var s=r[o];if(i&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o{w();S();A();var pT=mt();function dT(e){return e===e&&!pT(e)}Xd.exports=dT});var Zd=U((BY,Qd)=>{w();S();A();var fT=Fi(),yT=vn();function hT(e){for(var t=yT(e),r=t.length;r--;){var n=t[r],o=e[n];t[r]=[n,o,fT(o)]}return t}Qd.exports=hT});var ji=U((UY,ef)=>{w();S();A();function mT(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}ef.exports=mT});var rf=U((HY,tf)=>{w();S();A();var gT=Yd(),bT=Zd(),vT=ji();function ET(e){var t=bT(e);return t.length==1&&t[0][2]?vT(t[0][0],t[0][1]):function(r){return r===e||gT(r,e,t)}}tf.exports=ET});var xn=U((KY,nf)=>{w();S();A();var xT=Tr(),wT=qt(),ST="[object Symbol]";function AT(e){return typeof e=="symbol"||wT(e)&&xT(e)==ST}nf.exports=AT});var Po=U((ZY,of)=>{w();S();A();var TT=gt(),CT=xn(),_T=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,OT=/^\w*$/;function IT(e,t){if(TT(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||CT(e)?!0:OT.test(e)||!_T.test(e)||t!=null&&e in Object(t)}of.exports=IT});var lf=U((nX,sf)=>{w();S();A();var af=vo(),kT="Expected a function";function Ni(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(kT);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var i=e.apply(this,n);return r.cache=a.set(o,i)||a,i};return r.cache=new(Ni.Cache||af),r}Ni.Cache=af;sf.exports=Ni});var cf=U((sX,uf)=>{w();S();A();var PT=lf(),RT=500;function DT(e){var t=PT(e,function(n){return r.size===RT&&r.clear(),n}),r=t.cache;return t}uf.exports=DT});var df=U((pX,pf)=>{w();S();A();var FT=cf(),jT=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,NT=/\\(\\)?/g,BT=FT(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(jT,function(r,n,o,a){t.push(o?a.replace(NT,"$1"):n||r)}),t});pf.exports=BT});var bf=U((hX,gf)=>{w();S();A();var ff=Ar(),LT=ii(),qT=gt(),MT=xn(),UT=1/0,yf=ff?ff.prototype:void 0,hf=yf?yf.toString:void 0;function mf(e){if(typeof e=="string")return e;if(qT(e))return LT(e,mf)+"";if(MT(e))return hf?hf.call(e):"";var t=e+"";return t=="0"&&1/e==-UT?"-0":t}gf.exports=mf});var Ef=U((vX,vf)=>{w();S();A();var $T=bf();function zT(e){return e==null?"":$T(e)}vf.exports=zT});var wn=U((SX,xf)=>{w();S();A();var VT=gt(),HT=Po(),JT=df(),GT=Ef();function WT(e,t){return VT(e)?e:HT(e,t)?[e]:JT(GT(e))}xf.exports=WT});var Rr=U((_X,wf)=>{w();S();A();var KT=xn(),YT=1/0;function XT(e){if(typeof e=="string"||KT(e))return e;var t=e+"";return t=="0"&&1/e==-YT?"-0":t}wf.exports=XT});var Ro=U((PX,Sf)=>{w();S();A();var QT=wn(),ZT=Rr();function eC(e,t){t=QT(t,e);for(var r=0,n=t.length;e!=null&&r{w();S();A();var tC=Ro();function rC(e,t,r){var n=e==null?void 0:tC(e,t);return n===void 0?r:n}Af.exports=rC});var _f=U((qX,Cf)=>{w();S();A();function nC(e,t){return e!=null&&t in Object(e)}Cf.exports=nC});var If=U((zX,Of)=>{w();S();A();var oC=wn(),aC=vi(),iC=gt(),sC=To(),lC=Co(),uC=Rr();function cC(e,t,r){t=oC(t,e);for(var n=-1,o=t.length,a=!1;++n{w();S();A();var pC=_f(),dC=If();function fC(e,t){return e!=null&&dC(e,t,pC)}kf.exports=fC});var Df=U((XX,Rf)=>{w();S();A();var yC=Di(),hC=Tf(),mC=Pf(),gC=Po(),bC=Fi(),vC=ji(),EC=Rr(),xC=1,wC=2;function SC(e,t){return gC(e)&&bC(t)?vC(EC(e),t):function(r){var n=hC(r,e);return n===void 0&&n===t?mC(r,e):yC(t,n,xC|wC)}}Rf.exports=SC});var jf=U((tQ,Ff)=>{w();S();A();function AC(e){return e}Ff.exports=AC});var Bf=U((aQ,Nf)=>{w();S();A();function TC(e){return function(t){return t?.[e]}}Nf.exports=TC});var qf=U((uQ,Lf)=>{w();S();A();var CC=Ro();function _C(e){return function(t){return CC(t,e)}}Lf.exports=_C});var Uf=U((fQ,Mf)=>{w();S();A();var OC=Bf(),IC=qf(),kC=Po(),PC=Rr();function RC(e){return kC(e)?OC(PC(e)):IC(e)}Mf.exports=RC});var zf=U((gQ,$f)=>{w();S();A();var DC=rf(),FC=Df(),jC=jf(),NC=gt(),BC=Uf();function LC(e){return typeof e=="function"?e:e==null?jC:typeof e=="object"?NC(e)?FC(e[0],e[1]):DC(e):BC(e)}$f.exports=LC});var Hf=U((xQ,Vf)=>{w();S();A();var qC=Lt(),MC=function(){try{var e=qC(Object,"defineProperty");return e({},"",{}),e}catch{}}();Vf.exports=MC});var Bi=U((TQ,Gf)=>{w();S();A();var Jf=Hf();function UC(e,t,r){t=="__proto__"&&Jf?Jf(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}Gf.exports=UC});var Do=U((IQ,Wf)=>{w();S();A();var $C=Bi(),zC=go(),VC=Object.prototype,HC=VC.hasOwnProperty;function JC(e,t,r){var n=e[t];(!(HC.call(e,t)&&zC(n,r))||r===void 0&&!(t in e))&&$C(e,t,r)}Wf.exports=JC});var Xf=U((DQ,Yf)=>{w();S();A();var GC=Do(),WC=wn(),KC=To(),Kf=mt(),YC=Rr();function XC(e,t,r,n){if(!Kf(e))return e;t=WC(t,e);for(var o=-1,a=t.length,i=a-1,s=e;s!=null&&++o{w();S();A();var QC=Ro(),ZC=Xf(),e_=wn();function t_(e,t,r){for(var n=-1,o=t.length,a={};++n{w();S();A();var r_=Si(),n_=r_(Object.getPrototypeOf,Object);ey.exports=n_});var qi=U((HQ,ty)=>{w();S();A();var o_=mi(),a_=Li(),i_=So(),s_=bi(),l_=Object.getOwnPropertySymbols,u_=l_?function(e){for(var t=[];e;)o_(t,i_(e)),e=a_(e);return t}:s_;ty.exports=u_});var ny=U((KQ,ry)=>{w();S();A();function c_(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}ry.exports=c_});var ay=U((ZQ,oy)=>{w();S();A();var p_=mt(),d_=Io(),f_=ny(),y_=Object.prototype,h_=y_.hasOwnProperty;function m_(e){if(!p_(e))return f_(e);var t=d_(e),r=[];for(var n in e)n=="constructor"&&(t||!h_.call(e,n))||r.push(n);return r}oy.exports=m_});var Fo=U((nZ,iy)=>{w();S();A();var g_=wi(),b_=ay(),v_=Ai();function E_(e){return v_(e)?g_(e,!0):b_(e)}iy.exports=E_});var Mi=U((sZ,sy)=>{w();S();A();var x_=gi(),w_=qi(),S_=Fo();function A_(e){return x_(e,S_,w_)}sy.exports=A_});var uy=U((pZ,ly)=>{w();S();A();var T_=ii(),C_=zf(),__=Zf(),O_=Mi();function I_(e,t){if(e==null)return{};var r=T_(O_(e),function(n){return[n]});return t=C_(t),__(e,r,function(n,o){return t(n,o[0])})}ly.exports=I_});var py=U((hZ,cy)=>{w();S();A();function k_(e,t){for(var r=-1,n=e==null?0:e.length;++r{w();S();A();var P_=Do(),R_=Bi();function D_(e,t,r,n){var o=!r;r||(r={});for(var a=-1,i=t.length;++a{w();S();A();var F_=Sn(),j_=vn();function N_(e,t){return e&&F_(t,j_(t),e)}fy.exports=N_});var my=U((_Z,hy)=>{w();S();A();var B_=Sn(),L_=Fo();function q_(e,t){return e&&B_(t,L_(t),e)}hy.exports=q_});var xy=U((An,Dr)=>{w();S();A();var M_=ot(),Ey=typeof An=="object"&&An&&!An.nodeType&&An,gy=Ey&&typeof Dr=="object"&&Dr&&!Dr.nodeType&&Dr,U_=gy&&gy.exports===Ey,by=U_?M_.Buffer:void 0,vy=by?by.allocUnsafe:void 0;function $_(e,t){if(t)return e.slice();var r=e.length,n=vy?vy(r):new e.constructor(r);return e.copy(n),n}Dr.exports=$_});var Sy=U((FZ,wy)=>{w();S();A();function z_(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r{w();S();A();var V_=Sn(),H_=So();function J_(e,t){return V_(e,H_(e),t)}Ay.exports=J_});var _y=U(($Z,Cy)=>{w();S();A();var G_=Sn(),W_=qi();function K_(e,t){return G_(e,W_(e),t)}Cy.exports=K_});var Iy=U((JZ,Oy)=>{w();S();A();var Y_=Object.prototype,X_=Y_.hasOwnProperty;function Q_(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&X_.call(e,"index")&&(r.index=e.index,r.input=e.input),r}Oy.exports=Q_});var jo=U((YZ,Py)=>{w();S();A();var ky=yi();function Z_(e){var t=new e.constructor(e.byteLength);return new ky(t).set(new ky(e)),t}Py.exports=Z_});var Dy=U((eee,Ry)=>{w();S();A();var eO=jo();function tO(e,t){var r=t?eO(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}Ry.exports=tO});var jy=U((oee,Fy)=>{w();S();A();var rO=/\w*$/;function nO(e){var t=new e.constructor(e.source,rO.exec(e));return t.lastIndex=e.lastIndex,t}Fy.exports=nO});var My=U((lee,qy)=>{w();S();A();var Ny=Ar(),By=Ny?Ny.prototype:void 0,Ly=By?By.valueOf:void 0;function oO(e){return Ly?Object(Ly.call(e)):{}}qy.exports=oO});var $y=U((dee,Uy)=>{w();S();A();var aO=jo();function iO(e,t){var r=t?aO(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}Uy.exports=iO});var Vy=U((mee,zy)=>{w();S();A();var sO=jo(),lO=Dy(),uO=jy(),cO=My(),pO=$y(),dO="[object Boolean]",fO="[object Date]",yO="[object Map]",hO="[object Number]",mO="[object RegExp]",gO="[object Set]",bO="[object String]",vO="[object Symbol]",EO="[object ArrayBuffer]",xO="[object DataView]",wO="[object Float32Array]",SO="[object Float64Array]",AO="[object Int8Array]",TO="[object Int16Array]",CO="[object Int32Array]",_O="[object Uint8Array]",OO="[object Uint8ClampedArray]",IO="[object Uint16Array]",kO="[object Uint32Array]";function PO(e,t,r){var n=e.constructor;switch(t){case EO:return sO(e);case dO:case fO:return new n(+e);case xO:return lO(e,r);case wO:case SO:case AO:case TO:case CO:case _O:case OO:case IO:case kO:return pO(e,r);case yO:return new n;case hO:case bO:return new n(e);case mO:return uO(e);case gO:return new n;case vO:return cO(e)}}zy.exports=PO});var Gy=U((Eee,Jy)=>{w();S();A();var RO=mt(),Hy=Object.create,DO=function(){function e(){}return function(t){if(!RO(t))return{};if(Hy)return Hy(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();Jy.exports=DO});var Ky=U((Aee,Wy)=>{w();S();A();var FO=Gy(),jO=Li(),NO=Io();function BO(e){return typeof e.constructor=="function"&&!NO(e)?FO(jO(e)):{}}Wy.exports=BO});var Xy=U((Oee,Yy)=>{w();S();A();var LO=En(),qO=qt(),MO="[object Map]";function UO(e){return qO(e)&&LO(e)==MO}Yy.exports=UO});var th=U((Ree,eh)=>{w();S();A();var $O=Xy(),zO=_o(),Qy=Oo(),Zy=Qy&&Qy.isMap,VO=Zy?zO(Zy):$O;eh.exports=VO});var nh=U((Nee,rh)=>{w();S();A();var HO=En(),JO=qt(),GO="[object Set]";function WO(e){return JO(e)&&HO(e)==GO}rh.exports=WO});var sh=U((Mee,ih)=>{w();S();A();var KO=nh(),YO=_o(),oh=Oo(),ah=oh&&oh.isSet,XO=ah?YO(ah):KO;ih.exports=XO});var dh=U((Vee,ph)=>{w();S();A();var QO=Eo(),ZO=py(),eI=Do(),tI=yy(),rI=my(),nI=xy(),oI=Sy(),aI=Ty(),iI=_y(),sI=Ti(),lI=Mi(),uI=En(),cI=Iy(),pI=Vy(),dI=Ky(),fI=gt(),yI=Ao(),hI=th(),mI=mt(),gI=sh(),bI=vn(),vI=Fo(),EI=1,xI=2,wI=4,lh="[object Arguments]",SI="[object Array]",AI="[object Boolean]",TI="[object Date]",CI="[object Error]",uh="[object Function]",_I="[object GeneratorFunction]",OI="[object Map]",II="[object Number]",ch="[object Object]",kI="[object RegExp]",PI="[object Set]",RI="[object String]",DI="[object Symbol]",FI="[object WeakMap]",jI="[object ArrayBuffer]",NI="[object DataView]",BI="[object Float32Array]",LI="[object Float64Array]",qI="[object Int8Array]",MI="[object Int16Array]",UI="[object Int32Array]",$I="[object Uint8Array]",zI="[object Uint8ClampedArray]",VI="[object Uint16Array]",HI="[object Uint32Array]",ve={};ve[lh]=ve[SI]=ve[jI]=ve[NI]=ve[AI]=ve[TI]=ve[BI]=ve[LI]=ve[qI]=ve[MI]=ve[UI]=ve[OI]=ve[II]=ve[ch]=ve[kI]=ve[PI]=ve[RI]=ve[DI]=ve[$I]=ve[zI]=ve[VI]=ve[HI]=!0;ve[CI]=ve[uh]=ve[FI]=!1;function No(e,t,r,n,o,a){var i,s=t&EI,l=t&xI,u=t&wI;if(r&&(i=o?r(e,n,o,a):r(e)),i!==void 0)return i;if(!mI(e))return e;var c=fI(e);if(c){if(i=cI(e),!s)return oI(e,i)}else{var d=uI(e),y=d==uh||d==_I;if(yI(e))return nI(e,s);if(d==ch||d==lh||y&&!o){if(i=l||y?{}:dI(e),!s)return l?iI(e,rI(i,e)):aI(e,tI(i,e))}else{if(!ve[d])return o?e:{};i=pI(e,d,s)}}a||(a=new QO);var f=a.get(e);if(f)return f;a.set(e,i),gI(e)?e.forEach(function(C){i.add(No(C,t,r,C,e,a))}):hI(e)&&e.forEach(function(C,b){i.set(b,No(C,t,r,b,e,a))});var h=u?l?lI:sI:l?vI:bI,g=c?void 0:h(e);return ZO(g||e,function(C,b){g&&(b=C,C=e[b]),eI(i,b,No(C,t,r,b,e,a))}),i}ph.exports=No});var yh=U((Wee,fh)=>{w();S();A();var JI=dh(),GI=1,WI=4;function KI(e){return JI(e,GI|WI)}fh.exports=KI});var mh=U((Qee,hh)=>{w();S();A();function YI(e,t,r,n){for(var o=e.length,a=r+(n?1:-1);n?a--:++a{w();S();A();function XI(e){return e!==e}gh.exports=XI});var Eh=U((ite,vh)=>{w();S();A();function QI(e,t,r){for(var n=r-1,o=e.length;++n{w();S();A();var ZI=mh(),ek=bh(),tk=Eh();function rk(e,t,r){return t===t?tk(e,t,r):ZI(e,ek,r)}xh.exports=rk});var Ah=U((yte,Sh)=>{w();S();A();var nk=wh();function ok(e,t){var r=e==null?0:e.length;return!!r&&nk(e,t,0)>-1}Sh.exports=ok});var Ch=U((bte,Th)=>{w();S();A();function ak(e,t,r){for(var n=-1,o=e==null?0:e.length;++n{w();S();A();function ik(){}_h.exports=ik});var kh=U((Cte,Ih)=>{w();S();A();var Ui=Ci(),sk=Oh(),lk=wo(),uk=1/0,ck=Ui&&1/lk(new Ui([,-0]))[1]==uk?function(e){return new Ui(e)}:sk;Ih.exports=ck});var Rh=U((kte,Ph)=>{w();S();A();var pk=pi(),dk=Ah(),fk=Ch(),yk=di(),hk=kh(),mk=wo(),gk=200;function bk(e,t,r){var n=-1,o=dk,a=e.length,i=!0,s=[],l=s;if(r)i=!1,o=fk;else if(a>=gk){var u=t?null:hk(e);if(u)return mk(u);i=!1,o=yk,l=new pk}else l=t?[]:s;e:for(;++n{w();S();A();var vk=Rh();function Ek(e){return e&&e.length?vk(e):[]}Dh.exports=Ek});var ub=U((na,lb)=>{w();S();A();(function(e,t){typeof na=="object"&&typeof lb<"u"?t(na):typeof define=="function"&&define.amd?define(["exports"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.jtpp={}))})(na,function(e){"use strict";function t(p){return p.text!==void 0&&p.text!==""?`'${p.type}' with value '${p.text}'`:`'${p.type}'`}class r extends Error{constructor(x){super(`No parslet found for token: ${t(x)}`),this.token=x,Object.setPrototypeOf(this,r.prototype)}getToken(){return this.token}}class n extends Error{constructor(x){super(`The parsing ended early. The next token was: ${t(x)}`),this.token=x,Object.setPrototypeOf(this,n.prototype)}getToken(){return this.token}}class o extends Error{constructor(x,k){let H=`Unexpected type: '${x.type}'.`;k!==void 0&&(H+=` Message: ${k}`),super(H),Object.setPrototypeOf(this,o.prototype)}}function a(p){return x=>x.startsWith(p)?{type:p,text:p}:null}function i(p){let x=0,k,H=p[0],Q=!1;if(H!=="'"&&H!=='"')return null;for(;x{let x=u(p);return x==null?null:{type:"Identifier",text:x}};function f(p){return x=>{if(!x.startsWith(p))return null;let k=x[p.length];return k!==void 0&&l.test(k)?null:{type:p,text:p}}}let h=p=>{let x=i(p);return x==null?null:{type:"StringValue",text:x}},g=p=>p.length>0?null:{type:"EOF",text:""},C=p=>{let x=d(p);return x===null?null:{type:"Number",text:x}},b=[g,a("=>"),a("("),a(")"),a("{"),a("}"),a("["),a("]"),a("|"),a("&"),a("<"),a(">"),a(","),a(";"),a("*"),a("?"),a("!"),a("="),a(":"),a("..."),a("."),a("#"),a("~"),a("/"),a("@"),f("undefined"),f("null"),f("function"),f("this"),f("new"),f("module"),f("event"),f("external"),f("typeof"),f("keyof"),f("readonly"),f("import"),f("is"),f("in"),f("asserts"),C,y,h],E=/^\s*\n\s*/;class _{static create(x){let k=this.read(x);x=k.text;let H=this.read(x);return x=H.text,new _(x,void 0,k.token,H.token)}constructor(x,k,H,Q){this.text="",this.text=x,this.previous=k,this.current=H,this.next=Q}static read(x,k=!1){k=k||E.test(x),x=x.trim();for(let H of b){let Q=H(x);if(Q!==null){let ne=Object.assign(Object.assign({},Q),{startOfLine:k});return x=x.slice(ne.text.length),{text:x,token:ne}}}throw new Error("Unexpected Token "+x)}advance(){let x=_.read(this.text);return new _(x.text,this.current,this.next,x.token)}}function T(p){if(p===void 0)throw new Error("Unexpected undefined");if(p.type==="JsdocTypeKeyValue"||p.type==="JsdocTypeParameterList"||p.type==="JsdocTypeProperty"||p.type==="JsdocTypeReadonlyProperty"||p.type==="JsdocTypeObjectField"||p.type==="JsdocTypeJsdocObjectField"||p.type==="JsdocTypeIndexSignature"||p.type==="JsdocTypeMappedType")throw new o(p);return p}function O(p){return p.type==="JsdocTypeKeyValue"?D(p):T(p)}function I(p){return p.type==="JsdocTypeName"?p:D(p)}function D(p){if(p.type!=="JsdocTypeKeyValue")throw new o(p);return p}function R(p){var x;if(p.type==="JsdocTypeVariadic"){if(((x=p.element)===null||x===void 0?void 0:x.type)==="JsdocTypeName")return p;throw new o(p)}if(p.type!=="JsdocTypeNumber"&&p.type!=="JsdocTypeName")throw new o(p);return p}function M(p){return p.type==="JsdocTypeIndexSignature"||p.type==="JsdocTypeMappedType"}var z;(function(p){p[p.ALL=0]="ALL",p[p.PARAMETER_LIST=1]="PARAMETER_LIST",p[p.OBJECT=2]="OBJECT",p[p.KEY_VALUE=3]="KEY_VALUE",p[p.INDEX_BRACKETS=4]="INDEX_BRACKETS",p[p.UNION=5]="UNION",p[p.INTERSECTION=6]="INTERSECTION",p[p.PREFIX=7]="PREFIX",p[p.INFIX=8]="INFIX",p[p.TUPLE=9]="TUPLE",p[p.SYMBOL=10]="SYMBOL",p[p.OPTIONAL=11]="OPTIONAL",p[p.NULLABLE=12]="NULLABLE",p[p.KEY_OF_TYPE_OF=13]="KEY_OF_TYPE_OF",p[p.FUNCTION=14]="FUNCTION",p[p.ARROW=15]="ARROW",p[p.ARRAY_BRACKETS=16]="ARRAY_BRACKETS",p[p.GENERIC=17]="GENERIC",p[p.NAME_PATH=18]="NAME_PATH",p[p.PARENTHESIS=19]="PARENTHESIS",p[p.SPECIAL_TYPES=20]="SPECIAL_TYPES"})(z||(z={}));class Y{constructor(x,k,H){this.grammar=x,typeof k=="string"?this._lexer=_.create(k):this._lexer=k,this.baseParser=H}get lexer(){return this._lexer}parse(){let x=this.parseType(z.ALL);if(this.lexer.current.type!=="EOF")throw new n(this.lexer.current);return x}parseType(x){return T(this.parseIntermediateType(x))}parseIntermediateType(x){let k=this.tryParslets(null,x);if(k===null)throw new r(this.lexer.current);return this.parseInfixIntermediateType(k,x)}parseInfixIntermediateType(x,k){let H=this.tryParslets(x,k);for(;H!==null;)x=H,H=this.tryParslets(x,k);return x}tryParslets(x,k){for(let H of this.grammar){let Q=H(this,k,x);if(Q!==null)return Q}return null}consume(x){return Array.isArray(x)||(x=[x]),x.includes(this.lexer.current.type)?(this._lexer=this.lexer.advance(),!0):!1}acceptLexerState(x){this._lexer=x.lexer}}function Z(p){return p==="EOF"||p==="|"||p===","||p===")"||p===">"}let V=(p,x,k)=>{let H=p.lexer.current.type,Q=p.lexer.next.type;return k==null&&H==="?"&&!Z(Q)||k!=null&&H==="?"?(p.consume("?"),k==null?{type:"JsdocTypeNullable",element:p.parseType(z.NULLABLE),meta:{position:"prefix"}}:{type:"JsdocTypeNullable",element:T(k),meta:{position:"suffix"}}):null};function P(p){let x=(k,H,Q)=>{let ne=k.lexer.current.type,ae=k.lexer.next.type;if(Q===null){if("parsePrefix"in p&&p.accept(ne,ae))return p.parsePrefix(k)}else if("parseInfix"in p&&p.precedence>H&&p.accept(ne,ae))return p.parseInfix(k,Q);return null};return Object.defineProperty(x,"name",{value:p.name}),x}let q=P({name:"optionalParslet",accept:p=>p==="=",precedence:z.OPTIONAL,parsePrefix:p=>(p.consume("="),{type:"JsdocTypeOptional",element:p.parseType(z.OPTIONAL),meta:{position:"prefix"}}),parseInfix:(p,x)=>(p.consume("="),{type:"JsdocTypeOptional",element:T(x),meta:{position:"suffix"}})}),J=P({name:"numberParslet",accept:p=>p==="Number",parsePrefix:p=>{let x=parseFloat(p.lexer.current.text);return p.consume("Number"),{type:"JsdocTypeNumber",value:x}}}),X=P({name:"parenthesisParslet",accept:p=>p==="(",parsePrefix:p=>{if(p.consume("("),p.consume(")"))return{type:"JsdocTypeParameterList",elements:[]};let x=p.parseIntermediateType(z.ALL);if(!p.consume(")"))throw new Error("Unterminated parenthesis");return x.type==="JsdocTypeParameterList"?x:x.type==="JsdocTypeKeyValue"?{type:"JsdocTypeParameterList",elements:[x]}:{type:"JsdocTypeParenthesis",element:T(x)}}}),te=P({name:"specialTypesParslet",accept:(p,x)=>p==="?"&&Z(x)||p==="null"||p==="undefined"||p==="*",parsePrefix:p=>{if(p.consume("null"))return{type:"JsdocTypeNull"};if(p.consume("undefined"))return{type:"JsdocTypeUndefined"};if(p.consume("*"))return{type:"JsdocTypeAny"};if(p.consume("?"))return{type:"JsdocTypeUnknown"};throw new Error("Unacceptable token: "+p.lexer.current.text)}}),re=P({name:"notNullableParslet",accept:p=>p==="!",precedence:z.NULLABLE,parsePrefix:p=>(p.consume("!"),{type:"JsdocTypeNotNullable",element:p.parseType(z.NULLABLE),meta:{position:"prefix"}}),parseInfix:(p,x)=>(p.consume("!"),{type:"JsdocTypeNotNullable",element:T(x),meta:{position:"suffix"}})});function ee({allowTrailingComma:p}){return P({name:"parameterListParslet",accept:x=>x===",",precedence:z.PARAMETER_LIST,parseInfix:(x,k)=>{let H=[O(k)];x.consume(",");do try{let Q=x.parseIntermediateType(z.PARAMETER_LIST);H.push(O(Q))}catch(Q){if(p&&Q instanceof r)break;throw Q}while(x.consume(","));if(H.length>0&&H.slice(0,-1).some(Q=>Q.type==="JsdocTypeVariadic"))throw new Error("Only the last parameter may be a rest parameter");return{type:"JsdocTypeParameterList",elements:H}}})}let oe=P({name:"genericParslet",accept:(p,x)=>p==="<"||p==="."&&x==="<",precedence:z.GENERIC,parseInfix:(p,x)=>{let k=p.consume(".");p.consume("<");let H=[];do H.push(p.parseType(z.PARAMETER_LIST));while(p.consume(","));if(!p.consume(">"))throw new Error("Unterminated generic parameter list");return{type:"JsdocTypeGeneric",left:T(x),elements:H,meta:{brackets:"angle",dot:k}}}}),ie=P({name:"unionParslet",accept:p=>p==="|",precedence:z.UNION,parseInfix:(p,x)=>{p.consume("|");let k=[];do k.push(p.parseType(z.UNION));while(p.consume("|"));return{type:"JsdocTypeUnion",elements:[T(x),...k]}}}),ce=[V,q,J,X,te,re,ee({allowTrailingComma:!0}),oe,ie,q];function be({allowSquareBracketsOnAnyType:p,allowJsdocNamePaths:x,pathGrammar:k}){return function(Q,ne,ae){if(ae==null||ne>=z.NAME_PATH)return null;let de=Q.lexer.current.type,Ne=Q.lexer.next.type;if(!(de==="."&&Ne!=="<"||de==="["&&(p||ae.type==="JsdocTypeName")||x&&(de==="~"||de==="#")))return null;let nt,ro=!1;Q.consume(".")?nt="property":Q.consume("[")?(nt="property-brackets",ro=!0):Q.consume("~")?nt="inner":(Q.consume("#"),nt="instance");let Ul=k!==null?new Y(k,Q.lexer,Q):Q,wt=Ul.parseIntermediateType(z.NAME_PATH);Q.acceptLexerState(Ul);let nn;switch(wt.type){case"JsdocTypeName":nn={type:"JsdocTypeProperty",value:wt.value,meta:{quote:void 0}};break;case"JsdocTypeNumber":nn={type:"JsdocTypeProperty",value:wt.value.toString(10),meta:{quote:void 0}};break;case"JsdocTypeStringValue":nn={type:"JsdocTypeProperty",value:wt.value,meta:{quote:wt.meta.quote}};break;case"JsdocTypeSpecialNamePath":if(wt.specialType==="event")nn=wt;else throw new o(wt,"Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'");break;default:throw new o(wt,"Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'")}if(ro&&!Q.consume("]")){let $l=Q.lexer.current;throw new Error(`Unterminated square brackets. Next token is '${$l.type}' with text '${$l.text}'`)}return{type:"JsdocTypeNamePath",left:T(ae),right:nn,pathType:nt}}}function pe({allowedAdditionalTokens:p}){return P({name:"nameParslet",accept:x=>x==="Identifier"||x==="this"||x==="new"||p.includes(x),parsePrefix:x=>{let{type:k,text:H}=x.lexer.current;return x.consume(k),{type:"JsdocTypeName",value:H}}})}let ye=P({name:"stringValueParslet",accept:p=>p==="StringValue",parsePrefix:p=>{let x=p.lexer.current.text;return p.consume("StringValue"),{type:"JsdocTypeStringValue",value:x.slice(1,-1),meta:{quote:x[0]==="'"?"single":"double"}}}});function _e({pathGrammar:p,allowedTypes:x}){return P({name:"specialNamePathParslet",accept:k=>x.includes(k),parsePrefix:k=>{let H=k.lexer.current.type;if(k.consume(H),!k.consume(":"))return{type:"JsdocTypeName",value:H};let Q,ne=k.lexer.current;if(k.consume("StringValue"))Q={type:"JsdocTypeSpecialNamePath",value:ne.text.slice(1,-1),specialType:H,meta:{quote:ne.text[0]==="'"?"single":"double"}};else{let Ne="",Ie=["Identifier","@","/"];for(;Ie.some(nt=>k.consume(nt));)Ne+=ne.text,ne=k.lexer.current;Q={type:"JsdocTypeSpecialNamePath",value:Ne,specialType:H,meta:{quote:void 0}}}let ae=new Y(p,k.lexer,k),de=ae.parseInfixIntermediateType(Q,z.ALL);return k.acceptLexerState(ae),T(de)}})}let Me=[pe({allowedAdditionalTokens:["external","module"]}),ye,J,be({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],Oe=[...Me,_e({allowedTypes:["event"],pathGrammar:Me})];function he(p){let x;if(p.type==="JsdocTypeParameterList")x=p.elements;else if(p.type==="JsdocTypeParenthesis")x=[p.element];else throw new o(p);return x.map(k=>O(k))}function Ue(p){let x=he(p);if(x.some(k=>k.type==="JsdocTypeKeyValue"))throw new Error("No parameter should be named");return x}function Te({allowNamedParameters:p,allowNoReturnType:x,allowWithoutParenthesis:k,allowNewAsFunctionKeyword:H}){return P({name:"functionParslet",accept:(Q,ne)=>Q==="function"||H&&Q==="new"&&ne==="(",parsePrefix:Q=>{let ne=Q.consume("new");Q.consume("function");let ae=Q.lexer.current.type==="(";if(!ae){if(!k)throw new Error("function is missing parameter list");return{type:"JsdocTypeName",value:"function"}}let de={type:"JsdocTypeFunction",parameters:[],arrow:!1,constructor:ne,parenthesis:ae},Ne=Q.parseIntermediateType(z.FUNCTION);if(p===void 0)de.parameters=Ue(Ne);else{if(ne&&Ne.type==="JsdocTypeFunction"&&Ne.arrow)return de=Ne,de.constructor=!0,de;de.parameters=he(Ne);for(let Ie of de.parameters)if(Ie.type==="JsdocTypeKeyValue"&&!p.includes(Ie.key))throw new Error(`only allowed named parameters are ${p.join(", ")} but got ${Ie.type}`)}if(Q.consume(":"))de.returnType=Q.parseType(z.PREFIX);else if(!x)throw new Error("function is missing return type");return de}})}function $e({allowPostfix:p,allowEnclosingBrackets:x}){return P({name:"variadicParslet",accept:k=>k==="...",precedence:z.PREFIX,parsePrefix:k=>{k.consume("...");let H=x&&k.consume("[");try{let Q=k.parseType(z.PREFIX);if(H&&!k.consume("]"))throw new Error("Unterminated variadic type. Missing ']'");return{type:"JsdocTypeVariadic",element:T(Q),meta:{position:"prefix",squareBrackets:H}}}catch(Q){if(Q instanceof r){if(H)throw new Error("Empty square brackets for variadic are not allowed.");return{type:"JsdocTypeVariadic",meta:{position:void 0,squareBrackets:!1}}}else throw Q}},parseInfix:p?(k,H)=>(k.consume("..."),{type:"JsdocTypeVariadic",element:T(H),meta:{position:"suffix",squareBrackets:!1}}):void 0})}let lt=P({name:"symbolParslet",accept:p=>p==="(",precedence:z.SYMBOL,parseInfix:(p,x)=>{if(x.type!=="JsdocTypeName")throw new Error("Symbol expects a name on the left side. (Reacting on '(')");p.consume("(");let k={type:"JsdocTypeSymbol",value:x.value};if(!p.consume(")")){let H=p.parseIntermediateType(z.SYMBOL);if(k.element=R(H),!p.consume(")"))throw new Error("Symbol does not end after value")}return k}}),je=P({name:"arrayBracketsParslet",precedence:z.ARRAY_BRACKETS,accept:(p,x)=>p==="["&&x==="]",parseInfix:(p,x)=>(p.consume("["),p.consume("]"),{type:"JsdocTypeGeneric",left:{type:"JsdocTypeName",value:"Array"},elements:[T(x)],meta:{brackets:"square",dot:!1}})});function fe({objectFieldGrammar:p,allowKeyTypes:x}){return P({name:"objectParslet",accept:k=>k==="{",parsePrefix:k=>{k.consume("{");let H={type:"JsdocTypeObject",meta:{separator:"comma"},elements:[]};if(!k.consume("}")){let Q,ne=new Y(p,k.lexer,k);for(;;){ne.acceptLexerState(k);let ae=ne.parseIntermediateType(z.OBJECT);k.acceptLexerState(ne),ae===void 0&&x&&(ae=k.parseIntermediateType(z.OBJECT));let de=!1;if(ae.type==="JsdocTypeNullable"&&(de=!0,ae=ae.element),ae.type==="JsdocTypeNumber"||ae.type==="JsdocTypeName"||ae.type==="JsdocTypeStringValue"){let Ie;ae.type==="JsdocTypeStringValue"&&(Ie=ae.meta.quote),H.elements.push({type:"JsdocTypeObjectField",key:ae.value.toString(),right:void 0,optional:de,readonly:!1,meta:{quote:Ie}})}else if(ae.type==="JsdocTypeObjectField"||ae.type==="JsdocTypeJsdocObjectField")H.elements.push(ae);else throw new o(ae);if(k.lexer.current.startOfLine)Q="linebreak";else if(k.consume(","))Q="comma";else if(k.consume(";"))Q="semicolon";else break;if(k.lexer.current.type==="}")break}if(H.meta.separator=Q??"comma",!k.consume("}"))throw new Error("Unterminated record type. Missing '}'")}return H}})}function Se({allowSquaredProperties:p,allowKeyTypes:x,allowReadonly:k,allowOptional:H}){return P({name:"objectFieldParslet",precedence:z.KEY_VALUE,accept:Q=>Q===":",parseInfix:(Q,ne)=>{var ae;let de=!1,Ne=!1;H&&ne.type==="JsdocTypeNullable"&&(de=!0,ne=ne.element),k&&ne.type==="JsdocTypeReadonlyProperty"&&(Ne=!0,ne=ne.element);let Ie=(ae=Q.baseParser)!==null&&ae!==void 0?ae:Q;if(Ie.acceptLexerState(Q),ne.type==="JsdocTypeNumber"||ne.type==="JsdocTypeName"||ne.type==="JsdocTypeStringValue"||M(ne)){if(M(ne)&&!p)throw new o(ne);Ie.consume(":");let nt;ne.type==="JsdocTypeStringValue"&&(nt=ne.meta.quote);let ro=Ie.parseType(z.KEY_VALUE);return Q.acceptLexerState(Ie),{type:"JsdocTypeObjectField",key:M(ne)?ne:ne.value.toString(),right:ro,optional:de,readonly:Ne,meta:{quote:nt}}}else{if(!x)throw new o(ne);Ie.consume(":");let nt=Ie.parseType(z.KEY_VALUE);return Q.acceptLexerState(Ie),{type:"JsdocTypeJsdocObjectField",left:T(ne),right:nt}}}})}function Et({allowOptional:p,allowVariadic:x}){return P({name:"keyValueParslet",precedence:z.KEY_VALUE,accept:k=>k===":",parseInfix:(k,H)=>{let Q=!1,ne=!1;if(p&&H.type==="JsdocTypeNullable"&&(Q=!0,H=H.element),x&&H.type==="JsdocTypeVariadic"&&H.element!==void 0&&(ne=!0,H=H.element),H.type!=="JsdocTypeName")throw new o(H);k.consume(":");let ae=k.parseType(z.KEY_VALUE);return{type:"JsdocTypeKeyValue",key:H.value,right:ae,optional:Q,variadic:ne}}})}let Rt=[...ce,Te({allowWithoutParenthesis:!0,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),ye,_e({allowedTypes:["module","external","event"],pathGrammar:Oe}),$e({allowEnclosingBrackets:!0,allowPostfix:!0}),pe({allowedAdditionalTokens:["keyof"]}),lt,je,be({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:Oe})],fr=[...Rt,fe({objectFieldGrammar:[pe({allowedAdditionalTokens:["module","in"]}),Se({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...Rt],allowKeyTypes:!0}),Et({allowOptional:!0,allowVariadic:!0})],Xr=P({name:"typeOfParslet",accept:p=>p==="typeof",parsePrefix:p=>(p.consume("typeof"),{type:"JsdocTypeTypeof",element:T(p.parseType(z.KEY_OF_TYPE_OF))})}),Jn=[pe({allowedAdditionalTokens:["module","keyof","event","external","in"]}),V,q,ye,J,Se({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],Gn=[...ce,fe({allowKeyTypes:!1,objectFieldGrammar:Jn}),pe({allowedAdditionalTokens:["event","external","in"]}),Xr,Te({allowWithoutParenthesis:!1,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),$e({allowEnclosingBrackets:!1,allowPostfix:!1}),pe({allowedAdditionalTokens:["keyof"]}),_e({allowedTypes:["module"],pathGrammar:Oe}),be({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:Oe}),Et({allowOptional:!1,allowVariadic:!1}),lt],Wn=P({name:"assertsParslet",accept:p=>p==="asserts",parsePrefix:p=>{p.consume("asserts");let x=p.parseIntermediateType(z.SYMBOL);if(x.type!=="JsdocTypeName")throw new o(x,"A typescript asserts always has to have a name on the left side.");return p.consume("is"),{type:"JsdocTypeAsserts",left:x,right:T(p.parseIntermediateType(z.INFIX))}}});function Kn({allowQuestionMark:p}){return P({name:"tupleParslet",accept:x=>x==="[",parsePrefix:x=>{x.consume("[");let k={type:"JsdocTypeTuple",elements:[]};if(x.consume("]"))return k;let H=x.parseIntermediateType(z.ALL);if(H.type==="JsdocTypeParameterList"?H.elements[0].type==="JsdocTypeKeyValue"?k.elements=H.elements.map(D):k.elements=H.elements.map(T):H.type==="JsdocTypeKeyValue"?k.elements=[D(H)]:k.elements=[T(H)],!x.consume("]"))throw new Error("Unterminated '['");if(!p&&k.elements.some(Q=>Q.type==="JsdocTypeUnknown"))throw new Error("Question mark in tuple not allowed");return k}})}let Qr=P({name:"keyOfParslet",accept:p=>p==="keyof",parsePrefix:p=>(p.consume("keyof"),{type:"JsdocTypeKeyof",element:T(p.parseType(z.KEY_OF_TYPE_OF))})}),Yn=P({name:"importParslet",accept:p=>p==="import",parsePrefix:p=>{if(p.consume("import"),!p.consume("("))throw new Error("Missing parenthesis after import keyword");let x=p.parseType(z.PREFIX);if(x.type!=="JsdocTypeStringValue")throw new Error("Only string values are allowed as paths for imports");if(!p.consume(")"))throw new Error("Missing closing parenthesis after import keyword");return{type:"JsdocTypeImport",element:x}}}),Dt=P({name:"readonlyPropertyParslet",accept:p=>p==="readonly",parsePrefix:p=>(p.consume("readonly"),{type:"JsdocTypeReadonlyProperty",element:p.parseType(z.KEY_VALUE)})}),yr=P({name:"arrowFunctionParslet",precedence:z.ARROW,accept:p=>p==="=>",parseInfix:(p,x)=>(p.consume("=>"),{type:"JsdocTypeFunction",parameters:he(x).map(I),arrow:!0,constructor:!1,parenthesis:!0,returnType:p.parseType(z.OBJECT)})}),Zr=P({name:"intersectionParslet",accept:p=>p==="&",precedence:z.INTERSECTION,parseInfix:(p,x)=>{p.consume("&");let k=[];do k.push(p.parseType(z.INTERSECTION));while(p.consume("&"));return{type:"JsdocTypeIntersection",elements:[T(x),...k]}}}),Xn=P({name:"predicateParslet",precedence:z.INFIX,accept:p=>p==="is",parseInfix:(p,x)=>{if(x.type!=="JsdocTypeName")throw new o(x,"A typescript predicate always has to have a name on the left side.");return p.consume("is"),{type:"JsdocTypePredicate",left:x,right:T(p.parseIntermediateType(z.INFIX))}}}),Qn=P({name:"objectSquareBracketPropertyParslet",accept:p=>p==="[",parsePrefix:p=>{if(p.baseParser===void 0)throw new Error("Only allowed inside object grammar");p.consume("[");let x=p.lexer.current.text;p.consume("Identifier");let k;if(p.consume(":")){let H=p.baseParser;H.acceptLexerState(p),k={type:"JsdocTypeIndexSignature",key:x,right:H.parseType(z.INDEX_BRACKETS)},p.acceptLexerState(H)}else if(p.consume("in")){let H=p.baseParser;H.acceptLexerState(p),k={type:"JsdocTypeMappedType",key:x,right:H.parseType(z.ARRAY_BRACKETS)},p.acceptLexerState(H)}else throw new Error("Missing ':' or 'in' inside square bracketed property.");if(!p.consume("]"))throw new Error("Unterminated square brackets");return k}}),hr=[Dt,pe({allowedAdditionalTokens:["module","event","keyof","event","external","in"]}),V,q,ye,J,Se({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),Qn],Kt=[...ce,fe({allowKeyTypes:!1,objectFieldGrammar:hr}),Xr,Qr,Yn,ye,Te({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:["this","new","args"],allowNewAsFunctionKeyword:!0}),Kn({allowQuestionMark:!1}),$e({allowEnclosingBrackets:!1,allowPostfix:!1}),Wn,pe({allowedAdditionalTokens:["event","external","in"]}),_e({allowedTypes:["module"],pathGrammar:Oe}),je,yr,be({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:Oe}),Zr,Xn,Et({allowVariadic:!0,allowOptional:!0})];function $(p,x){switch(x){case"closure":return new Y(Gn,p).parse();case"jsdoc":return new Y(fr,p).parse();case"typescript":return new Y(Kt,p).parse()}}function G(p,x=["typescript","closure","jsdoc"]){let k;for(let H of x)try{return $(p,H)}catch(Q){k=Q}throw k}function ue(p,x){let k=p[x.type];if(k===void 0)throw new Error(`In this set of transform rules exists no rule for type ${x.type}.`);return k(x,H=>ue(p,H))}function se(p){throw new Error("This transform is not available. Are you trying the correct parsing mode?")}function we(p){let x={params:[]};for(let k of p.parameters)k.type==="JsdocTypeKeyValue"?k.key==="this"?x.this=k.right:k.key==="new"?x.new=k.right:x.params.push(k):x.params.push(k);return x}function le(p,x,k){return p==="prefix"?k+x:x+k}function ze(p,x){switch(x){case"double":return`"${p}"`;case"single":return`'${p}'`;case void 0:return p}}function pt(){return{JsdocTypeParenthesis:(p,x)=>`(${p.element!==void 0?x(p.element):""})`,JsdocTypeKeyof:(p,x)=>`keyof ${x(p.element)}`,JsdocTypeFunction:(p,x)=>{if(p.arrow){if(p.returnType===void 0)throw new Error("Arrow function needs a return type.");let k=`(${p.parameters.map(x).join(", ")}) => ${x(p.returnType)}`;return p.constructor&&(k="new "+k),k}else{let k=p.constructor?"new":"function";return p.parenthesis&&(k+=`(${p.parameters.map(x).join(", ")})`,p.returnType!==void 0&&(k+=`: ${x(p.returnType)}`)),k}},JsdocTypeName:p=>p.value,JsdocTypeTuple:(p,x)=>`[${p.elements.map(x).join(", ")}]`,JsdocTypeVariadic:(p,x)=>p.meta.position===void 0?"...":le(p.meta.position,x(p.element),"..."),JsdocTypeNamePath:(p,x)=>{let k=x(p.left),H=x(p.right);switch(p.pathType){case"inner":return`${k}~${H}`;case"instance":return`${k}#${H}`;case"property":return`${k}.${H}`;case"property-brackets":return`${k}[${H}]`}},JsdocTypeStringValue:p=>ze(p.value,p.meta.quote),JsdocTypeAny:()=>"*",JsdocTypeGeneric:(p,x)=>{if(p.meta.brackets==="square"){let k=p.elements[0],H=x(k);return k.type==="JsdocTypeUnion"||k.type==="JsdocTypeIntersection"?`(${H})[]`:`${H}[]`}else return`${x(p.left)}${p.meta.dot?".":""}<${p.elements.map(x).join(", ")}>`},JsdocTypeImport:(p,x)=>`import(${x(p.element)})`,JsdocTypeObjectField:(p,x)=>{let k="";return p.readonly&&(k+="readonly "),typeof p.key=="string"?k+=ze(p.key,p.meta.quote):k+=x(p.key),p.optional&&(k+="?"),p.right===void 0?k:k+`: ${x(p.right)}`},JsdocTypeJsdocObjectField:(p,x)=>`${x(p.left)}: ${x(p.right)}`,JsdocTypeKeyValue:(p,x)=>{let k=p.key;return p.optional&&(k+="?"),p.variadic&&(k="..."+k),p.right===void 0?k:k+`: ${x(p.right)}`},JsdocTypeSpecialNamePath:p=>`${p.specialType}:${ze(p.value,p.meta.quote)}`,JsdocTypeNotNullable:(p,x)=>le(p.meta.position,x(p.element),"!"),JsdocTypeNull:()=>"null",JsdocTypeNullable:(p,x)=>le(p.meta.position,x(p.element),"?"),JsdocTypeNumber:p=>p.value.toString(),JsdocTypeObject:(p,x)=>`{${p.elements.map(x).join((p.meta.separator==="comma"?",":";")+" ")}}`,JsdocTypeOptional:(p,x)=>le(p.meta.position,x(p.element),"="),JsdocTypeSymbol:(p,x)=>`${p.value}(${p.element!==void 0?x(p.element):""})`,JsdocTypeTypeof:(p,x)=>`typeof ${x(p.element)}`,JsdocTypeUndefined:()=>"undefined",JsdocTypeUnion:(p,x)=>p.elements.map(x).join(" | "),JsdocTypeUnknown:()=>"?",JsdocTypeIntersection:(p,x)=>p.elements.map(x).join(" & "),JsdocTypeProperty:p=>ze(p.value,p.meta.quote),JsdocTypePredicate:(p,x)=>`${x(p.left)} is ${x(p.right)}`,JsdocTypeIndexSignature:(p,x)=>`[${p.key}: ${x(p.right)}]`,JsdocTypeMappedType:(p,x)=>`[${p.key} in ${x(p.right)}]`,JsdocTypeAsserts:(p,x)=>`asserts ${x(p.left)} is ${x(p.right)}`}}let Ke=pt();function dt(p){return ue(Ke,p)}let en=["null","true","false","break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield"];function Ye(p){let x={type:"NameExpression",name:p};return en.includes(p)&&(x.reservedWord=!0),x}let Ze={JsdocTypeOptional:(p,x)=>{let k=x(p.element);return k.optional=!0,k},JsdocTypeNullable:(p,x)=>{let k=x(p.element);return k.nullable=!0,k},JsdocTypeNotNullable:(p,x)=>{let k=x(p.element);return k.nullable=!1,k},JsdocTypeVariadic:(p,x)=>{if(p.element===void 0)throw new Error("dots without value are not allowed in catharsis mode");let k=x(p.element);return k.repeatable=!0,k},JsdocTypeAny:()=>({type:"AllLiteral"}),JsdocTypeNull:()=>({type:"NullLiteral"}),JsdocTypeStringValue:p=>Ye(ze(p.value,p.meta.quote)),JsdocTypeUndefined:()=>({type:"UndefinedLiteral"}),JsdocTypeUnknown:()=>({type:"UnknownLiteral"}),JsdocTypeFunction:(p,x)=>{let k=we(p),H={type:"FunctionType",params:k.params.map(x)};return k.this!==void 0&&(H.this=x(k.this)),k.new!==void 0&&(H.new=x(k.new)),p.returnType!==void 0&&(H.result=x(p.returnType)),H},JsdocTypeGeneric:(p,x)=>({type:"TypeApplication",applications:p.elements.map(k=>x(k)),expression:x(p.left)}),JsdocTypeSpecialNamePath:p=>Ye(p.specialType+":"+ze(p.value,p.meta.quote)),JsdocTypeName:p=>p.value!=="function"?Ye(p.value):{type:"FunctionType",params:[]},JsdocTypeNumber:p=>Ye(p.value.toString()),JsdocTypeObject:(p,x)=>{let k={type:"RecordType",fields:[]};for(let H of p.elements)H.type!=="JsdocTypeObjectField"&&H.type!=="JsdocTypeJsdocObjectField"?k.fields.push({type:"FieldType",key:x(H),value:void 0}):k.fields.push(x(H));return k},JsdocTypeObjectField:(p,x)=>{if(typeof p.key!="string")throw new Error("Index signatures and mapped types are not supported");return{type:"FieldType",key:Ye(ze(p.key,p.meta.quote)),value:p.right===void 0?void 0:x(p.right)}},JsdocTypeJsdocObjectField:(p,x)=>({type:"FieldType",key:x(p.left),value:x(p.right)}),JsdocTypeUnion:(p,x)=>({type:"TypeUnion",elements:p.elements.map(k=>x(k))}),JsdocTypeKeyValue:(p,x)=>({type:"FieldType",key:Ye(p.key),value:p.right===void 0?void 0:x(p.right)}),JsdocTypeNamePath:(p,x)=>{let k=x(p.left),H;p.right.type==="JsdocTypeSpecialNamePath"?H=x(p.right).name:H=ze(p.right.value,p.right.meta.quote);let Q=p.pathType==="inner"?"~":p.pathType==="instance"?"#":".";return Ye(`${k.name}${Q}${H}`)},JsdocTypeSymbol:p=>{let x="",k=p.element,H=!1;return k?.type==="JsdocTypeVariadic"&&(k.meta.position==="prefix"?x="...":H=!0,k=k.element),k?.type==="JsdocTypeName"?x+=k.value:k?.type==="JsdocTypeNumber"&&(x+=k.value.toString()),H&&(x+="..."),Ye(`${p.value}(${x})`)},JsdocTypeParenthesis:(p,x)=>x(T(p.element)),JsdocTypeMappedType:se,JsdocTypeIndexSignature:se,JsdocTypeImport:se,JsdocTypeKeyof:se,JsdocTypeTuple:se,JsdocTypeTypeof:se,JsdocTypeIntersection:se,JsdocTypeProperty:se,JsdocTypePredicate:se,JsdocTypeAsserts:se};function Zn(p){return ue(Ze,p)}function ft(p){switch(p){case void 0:return"none";case"single":return"single";case"double":return"double"}}function eo(p){switch(p){case"inner":return"INNER_MEMBER";case"instance":return"INSTANCE_MEMBER";case"property":return"MEMBER";case"property-brackets":return"MEMBER"}}function xt(p,x){return x.length===2?{type:p,left:x[0],right:x[1]}:{type:p,left:x[0],right:xt(p,x.slice(1))}}let tn={JsdocTypeOptional:(p,x)=>({type:"OPTIONAL",value:x(p.element),meta:{syntax:p.meta.position==="prefix"?"PREFIX_EQUAL_SIGN":"SUFFIX_EQUALS_SIGN"}}),JsdocTypeNullable:(p,x)=>({type:"NULLABLE",value:x(p.element),meta:{syntax:p.meta.position==="prefix"?"PREFIX_QUESTION_MARK":"SUFFIX_QUESTION_MARK"}}),JsdocTypeNotNullable:(p,x)=>({type:"NOT_NULLABLE",value:x(p.element),meta:{syntax:p.meta.position==="prefix"?"PREFIX_BANG":"SUFFIX_BANG"}}),JsdocTypeVariadic:(p,x)=>{let k={type:"VARIADIC",meta:{syntax:p.meta.position==="prefix"?"PREFIX_DOTS":p.meta.position==="suffix"?"SUFFIX_DOTS":"ONLY_DOTS"}};return p.element!==void 0&&(k.value=x(p.element)),k},JsdocTypeName:p=>({type:"NAME",name:p.value}),JsdocTypeTypeof:(p,x)=>({type:"TYPE_QUERY",name:x(p.element)}),JsdocTypeTuple:(p,x)=>({type:"TUPLE",entries:p.elements.map(x)}),JsdocTypeKeyof:(p,x)=>({type:"KEY_QUERY",value:x(p.element)}),JsdocTypeImport:p=>({type:"IMPORT",path:{type:"STRING_VALUE",quoteStyle:ft(p.element.meta.quote),string:p.element.value}}),JsdocTypeUndefined:()=>({type:"NAME",name:"undefined"}),JsdocTypeAny:()=>({type:"ANY"}),JsdocTypeFunction:(p,x)=>{let k=we(p),H={type:p.arrow?"ARROW":"FUNCTION",params:k.params.map(Q=>{if(Q.type==="JsdocTypeKeyValue"){if(Q.right===void 0)throw new Error("Function parameter without ':' is not expected to be 'KEY_VALUE'");return{type:"NAMED_PARAMETER",name:Q.key,typeName:x(Q.right)}}else return x(Q)}),new:null,returns:null};return k.this!==void 0?H.this=x(k.this):p.arrow||(H.this=null),k.new!==void 0&&(H.new=x(k.new)),p.returnType!==void 0&&(H.returns=x(p.returnType)),H},JsdocTypeGeneric:(p,x)=>{let k={type:"GENERIC",subject:x(p.left),objects:p.elements.map(x),meta:{syntax:p.meta.brackets==="square"?"SQUARE_BRACKET":p.meta.dot?"ANGLE_BRACKET_WITH_DOT":"ANGLE_BRACKET"}};return p.meta.brackets==="square"&&p.elements[0].type==="JsdocTypeFunction"&&!p.elements[0].parenthesis&&(k.objects[0]={type:"NAME",name:"function"}),k},JsdocTypeObjectField:(p,x)=>{if(typeof p.key!="string")throw new Error("Index signatures and mapped types are not supported");if(p.right===void 0)return{type:"RECORD_ENTRY",key:p.key,quoteStyle:ft(p.meta.quote),value:null,readonly:!1};let k=x(p.right);return p.optional&&(k={type:"OPTIONAL",value:k,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:p.key.toString(),quoteStyle:ft(p.meta.quote),value:k,readonly:!1}},JsdocTypeJsdocObjectField:()=>{throw new Error("Keys may not be typed in jsdoctypeparser.")},JsdocTypeKeyValue:(p,x)=>{if(p.right===void 0)return{type:"RECORD_ENTRY",key:p.key,quoteStyle:"none",value:null,readonly:!1};let k=x(p.right);return p.optional&&(k={type:"OPTIONAL",value:k,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:p.key,quoteStyle:"none",value:k,readonly:!1}},JsdocTypeObject:(p,x)=>{let k=[];for(let H of p.elements)(H.type==="JsdocTypeObjectField"||H.type==="JsdocTypeJsdocObjectField")&&k.push(x(H));return{type:"RECORD",entries:k}},JsdocTypeSpecialNamePath:p=>{if(p.specialType!=="module")throw new Error(`jsdoctypeparser does not support type ${p.specialType} at this point.`);return{type:"MODULE",value:{type:"FILE_PATH",quoteStyle:ft(p.meta.quote),path:p.value}}},JsdocTypeNamePath:(p,x)=>{let k=!1,H,Q;p.right.type==="JsdocTypeSpecialNamePath"&&p.right.specialType==="event"?(k=!0,H=p.right.value,Q=ft(p.right.meta.quote)):(H=p.right.value,Q=ft(p.right.meta.quote));let ne={type:eo(p.pathType),owner:x(p.left),name:H,quoteStyle:Q,hasEventPrefix:k};if(ne.owner.type==="MODULE"){let ae=ne.owner;return ne.owner=ne.owner.value,ae.value=ne,ae}else return ne},JsdocTypeUnion:(p,x)=>xt("UNION",p.elements.map(x)),JsdocTypeParenthesis:(p,x)=>({type:"PARENTHESIS",value:x(T(p.element))}),JsdocTypeNull:()=>({type:"NAME",name:"null"}),JsdocTypeUnknown:()=>({type:"UNKNOWN"}),JsdocTypeStringValue:p=>({type:"STRING_VALUE",quoteStyle:ft(p.meta.quote),string:p.value}),JsdocTypeIntersection:(p,x)=>xt("INTERSECTION",p.elements.map(x)),JsdocTypeNumber:p=>({type:"NUMBER_VALUE",number:p.value.toString()}),JsdocTypeSymbol:se,JsdocTypeProperty:se,JsdocTypePredicate:se,JsdocTypeMappedType:se,JsdocTypeIndexSignature:se,JsdocTypeAsserts:se};function mr(p){return ue(tn,p)}function rn(){return{JsdocTypeIntersection:(p,x)=>({type:"JsdocTypeIntersection",elements:p.elements.map(x)}),JsdocTypeGeneric:(p,x)=>({type:"JsdocTypeGeneric",left:x(p.left),elements:p.elements.map(x),meta:{dot:p.meta.dot,brackets:p.meta.brackets}}),JsdocTypeNullable:p=>p,JsdocTypeUnion:(p,x)=>({type:"JsdocTypeUnion",elements:p.elements.map(x)}),JsdocTypeUnknown:p=>p,JsdocTypeUndefined:p=>p,JsdocTypeTypeof:(p,x)=>({type:"JsdocTypeTypeof",element:x(p.element)}),JsdocTypeSymbol:(p,x)=>{let k={type:"JsdocTypeSymbol",value:p.value};return p.element!==void 0&&(k.element=x(p.element)),k},JsdocTypeOptional:(p,x)=>({type:"JsdocTypeOptional",element:x(p.element),meta:{position:p.meta.position}}),JsdocTypeObject:(p,x)=>({type:"JsdocTypeObject",meta:{separator:"comma"},elements:p.elements.map(x)}),JsdocTypeNumber:p=>p,JsdocTypeNull:p=>p,JsdocTypeNotNullable:(p,x)=>({type:"JsdocTypeNotNullable",element:x(p.element),meta:{position:p.meta.position}}),JsdocTypeSpecialNamePath:p=>p,JsdocTypeObjectField:(p,x)=>({type:"JsdocTypeObjectField",key:p.key,right:p.right===void 0?void 0:x(p.right),optional:p.optional,readonly:p.readonly,meta:p.meta}),JsdocTypeJsdocObjectField:(p,x)=>({type:"JsdocTypeJsdocObjectField",left:x(p.left),right:x(p.right)}),JsdocTypeKeyValue:(p,x)=>({type:"JsdocTypeKeyValue",key:p.key,right:p.right===void 0?void 0:x(p.right),optional:p.optional,variadic:p.variadic}),JsdocTypeImport:(p,x)=>({type:"JsdocTypeImport",element:x(p.element)}),JsdocTypeAny:p=>p,JsdocTypeStringValue:p=>p,JsdocTypeNamePath:p=>p,JsdocTypeVariadic:(p,x)=>{let k={type:"JsdocTypeVariadic",meta:{position:p.meta.position,squareBrackets:p.meta.squareBrackets}};return p.element!==void 0&&(k.element=x(p.element)),k},JsdocTypeTuple:(p,x)=>({type:"JsdocTypeTuple",elements:p.elements.map(x)}),JsdocTypeName:p=>p,JsdocTypeFunction:(p,x)=>{let k={type:"JsdocTypeFunction",arrow:p.arrow,parameters:p.parameters.map(x),constructor:p.constructor,parenthesis:p.parenthesis};return p.returnType!==void 0&&(k.returnType=x(p.returnType)),k},JsdocTypeKeyof:(p,x)=>({type:"JsdocTypeKeyof",element:x(p.element)}),JsdocTypeParenthesis:(p,x)=>({type:"JsdocTypeParenthesis",element:x(p.element)}),JsdocTypeProperty:p=>p,JsdocTypePredicate:(p,x)=>({type:"JsdocTypePredicate",left:x(p.left),right:x(p.right)}),JsdocTypeIndexSignature:(p,x)=>({type:"JsdocTypeIndexSignature",key:p.key,right:x(p.right)}),JsdocTypeMappedType:(p,x)=>({type:"JsdocTypeMappedType",key:p.key,right:x(p.right)}),JsdocTypeAsserts:(p,x)=>({type:"JsdocTypeAsserts",left:x(p.left),right:x(p.right)})}}let gr={JsdocTypeAny:[],JsdocTypeFunction:["parameters","returnType"],JsdocTypeGeneric:["left","elements"],JsdocTypeImport:[],JsdocTypeIndexSignature:["right"],JsdocTypeIntersection:["elements"],JsdocTypeKeyof:["element"],JsdocTypeKeyValue:["right"],JsdocTypeMappedType:["right"],JsdocTypeName:[],JsdocTypeNamePath:["left","right"],JsdocTypeNotNullable:["element"],JsdocTypeNull:[],JsdocTypeNullable:["element"],JsdocTypeNumber:[],JsdocTypeObject:["elements"],JsdocTypeObjectField:["right"],JsdocTypeJsdocObjectField:["left","right"],JsdocTypeOptional:["element"],JsdocTypeParenthesis:["element"],JsdocTypeSpecialNamePath:[],JsdocTypeStringValue:[],JsdocTypeSymbol:["element"],JsdocTypeTuple:["elements"],JsdocTypeTypeof:["element"],JsdocTypeUndefined:[],JsdocTypeUnion:["elements"],JsdocTypeUnknown:[],JsdocTypeVariadic:["element"],JsdocTypeProperty:[],JsdocTypePredicate:["left","right"],JsdocTypeAsserts:["left","right"]};function br(p,x,k,H,Q){H?.(p,x,k);let ne=gr[p.type];for(let ae of ne){let de=p[ae];if(de!==void 0)if(Array.isArray(de))for(let Ne of de)br(Ne,p,ae,H,Q);else br(de,p,ae,H,Q)}Q?.(p,x,k)}function to(p,x,k){br(p,void 0,void 0,x,k)}e.catharsisTransform=Zn,e.identityTransformRules=rn,e.jtpTransform=mr,e.parse=$,e.stringify=dt,e.stringifyRules=pt,e.transform=ue,e.traverse=to,e.tryParse=G,e.visitorKeys=gr})});var x0=U((foe,E0)=>{w();S();A();var Ij=ot(),kj=function(){return Ij.Date.now()};E0.exports=kj});var S0=U((goe,w0)=>{w();S();A();var Pj=/\s/;function Rj(e){for(var t=e.length;t--&&Pj.test(e.charAt(t)););return t}w0.exports=Rj});var T0=U((xoe,A0)=>{w();S();A();var Dj=S0(),Fj=/^\s+/;function jj(e){return e&&e.slice(0,Dj(e)+1).replace(Fj,"")}A0.exports=jj});var I0=U((Toe,O0)=>{w();S();A();var Nj=T0(),C0=mt(),Bj=xn(),_0=0/0,Lj=/^[-+]0x[0-9a-f]+$/i,qj=/^0b[01]+$/i,Mj=/^0o[0-7]+$/i,Uj=parseInt;function $j(e){if(typeof e=="number")return e;if(Bj(e))return _0;if(C0(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=C0(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Nj(e);var r=qj.test(e);return r||Mj.test(e)?Uj(e.slice(2),r?2:8):Lj.test(e)?_0:+e}O0.exports=$j});var R0=U((Ioe,P0)=>{w();S();A();var zj=mt(),rl=x0(),k0=I0(),Vj="Expected a function",Hj=Math.max,Jj=Math.min;function Gj(e,t,r){var n,o,a,i,s,l,u=0,c=!1,d=!1,y=!0;if(typeof e!="function")throw new TypeError(Vj);t=k0(t)||0,zj(r)&&(c=!!r.leading,d="maxWait"in r,a=d?Hj(k0(r.maxWait)||0,t):a,y="trailing"in r?!!r.trailing:y);function f(I){var D=n,R=o;return n=o=void 0,u=I,i=e.apply(R,D),i}function h(I){return u=I,s=setTimeout(b,t),c?f(I):i}function g(I){var D=I-l,R=I-u,M=t-D;return d?Jj(M,a-R):M}function C(I){var D=I-l,R=I-u;return l===void 0||D>=t||D<0||d&&R>=a}function b(){var I=rl();if(C(I))return E(I);s=setTimeout(b,g(I))}function E(I){return s=void 0,y&&n?f(I):(n=o=void 0,i)}function _(){s!==void 0&&clearTimeout(s),u=0,n=l=o=s=void 0}function T(){return s===void 0?i:E(rl())}function O(){var I=rl(),D=C(I);if(n=arguments,o=this,l=I,D){if(s===void 0)return h(l);if(d)return clearTimeout(s),s=setTimeout(b,t),f(l)}return s===void 0&&(s=setTimeout(b,t)),i}return O.cancel=_,O.flush=T,O}P0.exports=Gj});var Q0={};zl(Q0,{ColorControl:()=>X0,default:()=>DN});function lr(){return(lr=Object.assign||function(e){for(var t=1;t=0||(o[r]=e[r]);return o}function nl(e){var t=Xe(e),r=Xe(function(n){t.current&&t.current(n)});return t.current=e,r.current}function G0(e,t,r){var n=nl(r),o=me(function(){return e.toHsva(t)}),a=o[0],i=o[1],s=Xe({color:t,hsva:a});He(function(){if(!e.equal(t,s.current.color)){var u=e.toHsva(t);s.current={hsva:u,color:t},i(u)}},[t,e]),He(function(){var u;H0(a,s.current.hsva)||e.equal(u=e.fromHsva(a),s.current.color)||(s.current={hsva:a,color:u},n(u))},[a,e,n]);var l=Ve(function(u){i(function(c){return Object.assign({},c,u)})},[]);return[a,l]}var L0,Wj,q0,Kj,Yj,it,zr,qn,ol,D0,F0,ul,Mn,cl,qe,Xj,Qj,al,Zj,eN,tN,rN,M0,il,ya,U0,nN,pa,oN,$0,z0,V0,H0,J0,aN,iN,sN,j0,W0,lN,uN,cN,pN,K0,dN,fN,yN,hN,mN,gN,bN,vN,EN,xN,wN,N0,SN,AN,Y0,da,TN,CN,_N,sl,ON,IN,fa,B0,$r,kN,PN,ha,RN,X0,DN,Z0=St(()=>{w();S();A();Pa();no();ao();ti();ai();L0=on(R0()),Wj=Yt({"../../node_modules/color-name/index.js"(e,t){t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}}),q0=Yt({"../../node_modules/color-convert/conversions.js"(e,t){var r=Wj(),n={};for(let i of Object.keys(r))n[r[i]]=i;var o={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};t.exports=o;for(let i of Object.keys(o)){if(!("channels"in o[i]))throw new Error("missing channels property: "+i);if(!("labels"in o[i]))throw new Error("missing channel labels property: "+i);if(o[i].labels.length!==o[i].channels)throw new Error("channel and label counts mismatch: "+i);let{channels:s,labels:l}=o[i];delete o[i].channels,delete o[i].labels,Object.defineProperty(o[i],"channels",{value:s}),Object.defineProperty(o[i],"labels",{value:l})}o.rgb.hsl=function(i){let s=i[0]/255,l=i[1]/255,u=i[2]/255,c=Math.min(s,l,u),d=Math.max(s,l,u),y=d-c,f,h;d===c?f=0:s===d?f=(l-u)/y:l===d?f=2+(u-s)/y:u===d&&(f=4+(s-l)/y),f=Math.min(f*60,360),f<0&&(f+=360);let g=(c+d)/2;return d===c?h=0:g<=.5?h=y/(d+c):h=y/(2-d-c),[f,h*100,g*100]},o.rgb.hsv=function(i){let s,l,u,c,d,y=i[0]/255,f=i[1]/255,h=i[2]/255,g=Math.max(y,f,h),C=g-Math.min(y,f,h),b=function(E){return(g-E)/6/C+1/2};return C===0?(c=0,d=0):(d=C/g,s=b(y),l=b(f),u=b(h),y===g?c=u-l:f===g?c=1/3+s-u:h===g&&(c=2/3+l-s),c<0?c+=1:c>1&&(c-=1)),[c*360,d*100,g*100]},o.rgb.hwb=function(i){let s=i[0],l=i[1],u=i[2],c=o.rgb.hsl(i)[0],d=1/255*Math.min(s,Math.min(l,u));return u=1-1/255*Math.max(s,Math.max(l,u)),[c,d*100,u*100]},o.rgb.cmyk=function(i){let s=i[0]/255,l=i[1]/255,u=i[2]/255,c=Math.min(1-s,1-l,1-u),d=(1-s-c)/(1-c)||0,y=(1-l-c)/(1-c)||0,f=(1-u-c)/(1-c)||0;return[d*100,y*100,f*100,c*100]};function a(i,s){return(i[0]-s[0])**2+(i[1]-s[1])**2+(i[2]-s[2])**2}o.rgb.keyword=function(i){let s=n[i];if(s)return s;let l=1/0,u;for(let c of Object.keys(r)){let d=r[c],y=a(i,d);y.04045?((s+.055)/1.055)**2.4:s/12.92,l=l>.04045?((l+.055)/1.055)**2.4:l/12.92,u=u>.04045?((u+.055)/1.055)**2.4:u/12.92;let c=s*.4124+l*.3576+u*.1805,d=s*.2126+l*.7152+u*.0722,y=s*.0193+l*.1192+u*.9505;return[c*100,d*100,y*100]},o.rgb.lab=function(i){let s=o.rgb.xyz(i),l=s[0],u=s[1],c=s[2];l/=95.047,u/=100,c/=108.883,l=l>.008856?l**(1/3):7.787*l+16/116,u=u>.008856?u**(1/3):7.787*u+16/116,c=c>.008856?c**(1/3):7.787*c+16/116;let d=116*u-16,y=500*(l-u),f=200*(u-c);return[d,y,f]},o.hsl.rgb=function(i){let s=i[0]/360,l=i[1]/100,u=i[2]/100,c,d,y;if(l===0)return y=u*255,[y,y,y];u<.5?c=u*(1+l):c=u+l-u*l;let f=2*u-c,h=[0,0,0];for(let g=0;g<3;g++)d=s+1/3*-(g-1),d<0&&d++,d>1&&d--,6*d<1?y=f+(c-f)*6*d:2*d<1?y=c:3*d<2?y=f+(c-f)*(2/3-d)*6:y=f,h[g]=y*255;return h},o.hsl.hsv=function(i){let s=i[0],l=i[1]/100,u=i[2]/100,c=l,d=Math.max(u,.01);u*=2,l*=u<=1?u:2-u,c*=d<=1?d:2-d;let y=(u+l)/2,f=u===0?2*c/(d+c):2*l/(u+l);return[s,f*100,y*100]},o.hsv.rgb=function(i){let s=i[0]/60,l=i[1]/100,u=i[2]/100,c=Math.floor(s)%6,d=s-Math.floor(s),y=255*u*(1-l),f=255*u*(1-l*d),h=255*u*(1-l*(1-d));switch(u*=255,c){case 0:return[u,h,y];case 1:return[f,u,y];case 2:return[y,u,h];case 3:return[y,f,u];case 4:return[h,y,u];case 5:return[u,y,f]}},o.hsv.hsl=function(i){let s=i[0],l=i[1]/100,u=i[2]/100,c=Math.max(u,.01),d,y;y=(2-l)*u;let f=(2-l)*c;return d=l*c,d/=f<=1?f:2-f,d=d||0,y/=2,[s,d*100,y*100]},o.hwb.rgb=function(i){let s=i[0]/360,l=i[1]/100,u=i[2]/100,c=l+u,d;c>1&&(l/=c,u/=c);let y=Math.floor(6*s),f=1-u;d=6*s-y,y&1&&(d=1-d);let h=l+d*(f-l),g,C,b;switch(y){default:case 6:case 0:g=f,C=h,b=l;break;case 1:g=h,C=f,b=l;break;case 2:g=l,C=f,b=h;break;case 3:g=l,C=h,b=f;break;case 4:g=h,C=l,b=f;break;case 5:g=f,C=l,b=h;break}return[g*255,C*255,b*255]},o.cmyk.rgb=function(i){let s=i[0]/100,l=i[1]/100,u=i[2]/100,c=i[3]/100,d=1-Math.min(1,s*(1-c)+c),y=1-Math.min(1,l*(1-c)+c),f=1-Math.min(1,u*(1-c)+c);return[d*255,y*255,f*255]},o.xyz.rgb=function(i){let s=i[0]/100,l=i[1]/100,u=i[2]/100,c,d,y;return c=s*3.2406+l*-1.5372+u*-.4986,d=s*-.9689+l*1.8758+u*.0415,y=s*.0557+l*-.204+u*1.057,c=c>.0031308?1.055*c**(1/2.4)-.055:c*12.92,d=d>.0031308?1.055*d**(1/2.4)-.055:d*12.92,y=y>.0031308?1.055*y**(1/2.4)-.055:y*12.92,c=Math.min(Math.max(0,c),1),d=Math.min(Math.max(0,d),1),y=Math.min(Math.max(0,y),1),[c*255,d*255,y*255]},o.xyz.lab=function(i){let s=i[0],l=i[1],u=i[2];s/=95.047,l/=100,u/=108.883,s=s>.008856?s**(1/3):7.787*s+16/116,l=l>.008856?l**(1/3):7.787*l+16/116,u=u>.008856?u**(1/3):7.787*u+16/116;let c=116*l-16,d=500*(s-l),y=200*(l-u);return[c,d,y]},o.lab.xyz=function(i){let s=i[0],l=i[1],u=i[2],c,d,y;d=(s+16)/116,c=l/500+d,y=d-u/200;let f=d**3,h=c**3,g=y**3;return d=f>.008856?f:(d-16/116)/7.787,c=h>.008856?h:(c-16/116)/7.787,y=g>.008856?g:(y-16/116)/7.787,c*=95.047,d*=100,y*=108.883,[c,d,y]},o.lab.lch=function(i){let s=i[0],l=i[1],u=i[2],c;c=Math.atan2(u,l)*360/2/Math.PI,c<0&&(c+=360);let d=Math.sqrt(l*l+u*u);return[s,d,c]},o.lch.lab=function(i){let s=i[0],l=i[1],u=i[2]/360*2*Math.PI,c=l*Math.cos(u),d=l*Math.sin(u);return[s,c,d]},o.rgb.ansi16=function(i,s=null){let[l,u,c]=i,d=s===null?o.rgb.hsv(i)[2]:s;if(d=Math.round(d/50),d===0)return 30;let y=30+(Math.round(c/255)<<2|Math.round(u/255)<<1|Math.round(l/255));return d===2&&(y+=60),y},o.hsv.ansi16=function(i){return o.rgb.ansi16(o.hsv.rgb(i),i[2])},o.rgb.ansi256=function(i){let s=i[0],l=i[1],u=i[2];return s===l&&l===u?s<8?16:s>248?231:Math.round((s-8)/247*24)+232:16+36*Math.round(s/255*5)+6*Math.round(l/255*5)+Math.round(u/255*5)},o.ansi16.rgb=function(i){let s=i%10;if(s===0||s===7)return i>50&&(s+=3.5),s=s/10.5*255,[s,s,s];let l=(~~(i>50)+1)*.5,u=(s&1)*l*255,c=(s>>1&1)*l*255,d=(s>>2&1)*l*255;return[u,c,d]},o.ansi256.rgb=function(i){if(i>=232){let d=(i-232)*10+8;return[d,d,d]}i-=16;let s,l=Math.floor(i/36)/5*255,u=Math.floor((s=i%36)/6)/5*255,c=s%6/5*255;return[l,u,c]},o.rgb.hex=function(i){let s=(((Math.round(i[0])&255)<<16)+((Math.round(i[1])&255)<<8)+(Math.round(i[2])&255)).toString(16).toUpperCase();return"000000".substring(s.length)+s},o.hex.rgb=function(i){let s=i.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!s)return[0,0,0];let l=s[0];s[0].length===3&&(l=l.split("").map(f=>f+f).join(""));let u=parseInt(l,16),c=u>>16&255,d=u>>8&255,y=u&255;return[c,d,y]},o.rgb.hcg=function(i){let s=i[0]/255,l=i[1]/255,u=i[2]/255,c=Math.max(Math.max(s,l),u),d=Math.min(Math.min(s,l),u),y=c-d,f,h;return y<1?f=d/(1-y):f=0,y<=0?h=0:c===s?h=(l-u)/y%6:c===l?h=2+(u-s)/y:h=4+(s-l)/y,h/=6,h%=1,[h*360,y*100,f*100]},o.hsl.hcg=function(i){let s=i[1]/100,l=i[2]/100,u=l<.5?2*s*l:2*s*(1-l),c=0;return u<1&&(c=(l-.5*u)/(1-u)),[i[0],u*100,c*100]},o.hsv.hcg=function(i){let s=i[1]/100,l=i[2]/100,u=s*l,c=0;return u<1&&(c=(l-u)/(1-u)),[i[0],u*100,c*100]},o.hcg.rgb=function(i){let s=i[0]/360,l=i[1]/100,u=i[2]/100;if(l===0)return[u*255,u*255,u*255];let c=[0,0,0],d=s%1*6,y=d%1,f=1-y,h=0;switch(Math.floor(d)){case 0:c[0]=1,c[1]=y,c[2]=0;break;case 1:c[0]=f,c[1]=1,c[2]=0;break;case 2:c[0]=0,c[1]=1,c[2]=y;break;case 3:c[0]=0,c[1]=f,c[2]=1;break;case 4:c[0]=y,c[1]=0,c[2]=1;break;default:c[0]=1,c[1]=0,c[2]=f}return h=(1-l)*u,[(l*c[0]+h)*255,(l*c[1]+h)*255,(l*c[2]+h)*255]},o.hcg.hsv=function(i){let s=i[1]/100,l=i[2]/100,u=s+l*(1-s),c=0;return u>0&&(c=s/u),[i[0],c*100,u*100]},o.hcg.hsl=function(i){let s=i[1]/100,l=i[2]/100*(1-s)+.5*s,u=0;return l>0&&l<.5?u=s/(2*l):l>=.5&&l<1&&(u=s/(2*(1-l))),[i[0],u*100,l*100]},o.hcg.hwb=function(i){let s=i[1]/100,l=i[2]/100,u=s+l*(1-s);return[i[0],(u-s)*100,(1-u)*100]},o.hwb.hcg=function(i){let s=i[1]/100,l=1-i[2]/100,u=l-s,c=0;return u<1&&(c=(l-u)/(1-u)),[i[0],u*100,c*100]},o.apple.rgb=function(i){return[i[0]/65535*255,i[1]/65535*255,i[2]/65535*255]},o.rgb.apple=function(i){return[i[0]/255*65535,i[1]/255*65535,i[2]/255*65535]},o.gray.rgb=function(i){return[i[0]/100*255,i[0]/100*255,i[0]/100*255]},o.gray.hsl=function(i){return[0,0,i[0]]},o.gray.hsv=o.gray.hsl,o.gray.hwb=function(i){return[0,100,i[0]]},o.gray.cmyk=function(i){return[0,0,0,i[0]]},o.gray.lab=function(i){return[i[0],0,0]},o.gray.hex=function(i){let s=Math.round(i[0]/100*255)&255,l=((s<<16)+(s<<8)+s).toString(16).toUpperCase();return"000000".substring(l.length)+l},o.rgb.gray=function(i){return[(i[0]+i[1]+i[2])/3/255*100]}}}),Kj=Yt({"../../node_modules/color-convert/route.js"(e,t){var r=q0();function n(){let s={},l=Object.keys(r);for(let u=l.length,c=0;c1&&(c=d),l(c))};return"conversion"in l&&(u.conversion=l.conversion),u}function s(l){let u=function(...c){let d=c[0];if(d==null)return d;d.length>1&&(c=d);let y=l(c);if(typeof y=="object")for(let f=y.length,h=0;h{o[l]={},Object.defineProperty(o[l],"channels",{value:r[l].channels}),Object.defineProperty(o[l],"labels",{value:r[l].labels});let u=n(l);Object.keys(u).forEach(c=>{let d=u[c];o[l][c]=s(d),o[l][c].raw=i(d)})}),t.exports=o}}),it=sn(Yj(),1);zr=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e0:C.buttons>0)&&o.current?a(D0(o.current,C,s.current)):g(!1)},h=function(){return g(!1)};function g(C){var b=l.current,E=ol(o.current),_=C?E.addEventListener:E.removeEventListener;_(b?"touchmove":"mousemove",f),_(b?"touchend":"mouseup",h)}return[function(C){var b=C.nativeEvent,E=o.current;if(E&&(F0(b),!function(T,O){return O&&!qn(T)}(b,l.current)&&E)){if(qn(b)){l.current=!0;var _=b.changedTouches||[];_.length&&(s.current=_[0].identifier)}E.focus(),a(D0(E,b,s.current)),g(!0)}},function(C){var b=C.which||C.keyCode;b<37||b>40||(C.preventDefault(),i({left:b===39?.05:b===37?-.05:0,top:b===40?.05:b===38?-.05:0}))},g]},[i,a]),c=u[0],d=u[1],y=u[2];return He(function(){return y},[y]),v.createElement("div",lr({},n,{onTouchStart:c,onMouseDown:c,className:"react-colorful__interactive",ref:o,onKeyDown:d,tabIndex:0,role:"slider"}))}),Mn=function(e){return e.filter(Boolean).join(" ")},cl=function(e){var t=e.color,r=e.left,n=e.top,o=n===void 0?.5:n,a=Mn(["react-colorful__pointer",e.className]);return v.createElement("div",{className:a,style:{top:100*o+"%",left:100*r+"%"}},v.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},qe=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r},Xj={grad:.9,turn:360,rad:360/(2*Math.PI)},Qj=function(e){return $0(al(e))},al=function(e){return e[0]==="#"&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?qe(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:e.length===8?qe(parseInt(e.substring(6,8),16)/255,2):1}},Zj=function(e,t){return t===void 0&&(t="deg"),Number(e)*(Xj[t]||1)},eN=function(e){var t=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?tN({h:Zj(t[1],t[2]),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)}):{h:0,s:0,v:0,a:1}},tN=function(e){var t=e.s,r=e.l;return{h:e.h,s:(t*=(r<50?r:100-r)/100)>0?2*t/(r+t)*100:0,v:r+t,a:e.a}},rN=function(e){return oN(U0(e))},M0=function(e){var t=e.s,r=e.v,n=e.a,o=(200-t)*r/100;return{h:qe(e.h),s:qe(o>0&&o<200?t*r/100/(o<=100?o:200-o)*100:0),l:qe(o/2),a:qe(n,2)}},il=function(e){var t=M0(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},ya=function(e){var t=M0(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},U0=function(e){var t=e.h,r=e.s,n=e.v,o=e.a;t=t/360*6,r/=100,n/=100;var a=Math.floor(t),i=n*(1-r),s=n*(1-(t-a)*r),l=n*(1-(1-t+a)*r),u=a%6;return{r:qe(255*[n,s,i,i,l,n][u]),g:qe(255*[l,n,n,s,i,i][u]),b:qe(255*[i,i,l,n,n,s][u]),a:qe(o,2)}},nN=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?$0({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):{h:0,s:0,v:0,a:1}},pa=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},oN=function(e){var t=e.r,r=e.g,n=e.b,o=e.a,a=o<1?pa(qe(255*o)):"";return"#"+pa(t)+pa(r)+pa(n)+a},$0=function(e){var t=e.r,r=e.g,n=e.b,o=e.a,a=Math.max(t,r,n),i=a-Math.min(t,r,n),s=i?a===t?(r-n)/i:a===r?2+(n-t)/i:4+(t-r)/i:0;return{h:qe(60*(s<0?s+6:s)),s:qe(a?i/a*100:0),v:qe(a/255*100),a:o}},z0=v.memo(function(e){var t=e.hue,r=e.onChange,n=Mn(["react-colorful__hue",e.className]);return v.createElement("div",{className:n},v.createElement(ul,{onMove:function(o){r({h:360*o.left})},onKey:function(o){r({h:zr(t+360*o.left,0,360)})},"aria-label":"Hue","aria-valuenow":qe(t),"aria-valuemax":"360","aria-valuemin":"0"},v.createElement(cl,{className:"react-colorful__hue-pointer",left:t/360,color:il({h:t,s:100,v:100,a:1})})))}),V0=v.memo(function(e){var t=e.hsva,r=e.onChange,n={backgroundColor:il({h:t.h,s:100,v:100,a:1})};return v.createElement("div",{className:"react-colorful__saturation",style:n},v.createElement(ul,{onMove:function(o){r({s:100*o.left,v:100-100*o.top})},onKey:function(o){r({s:zr(t.s+100*o.left,0,100),v:zr(t.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+qe(t.s)+"%, Brightness "+qe(t.v)+"%"},v.createElement(cl,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:il(t)})))}),H0=function(e,t){if(e===t)return!0;for(var r in e)if(e[r]!==t[r])return!1;return!0},J0=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},aN=function(e,t){return e.toLowerCase()===t.toLowerCase()||H0(al(e),al(t))};iN=typeof window<"u"?Zl:He,sN=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},j0=new Map,W0=function(e){iN(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!j0.has(t)){var r=t.createElement("style");r.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,j0.set(t,r);var n=sN();n&&r.setAttribute("nonce",n),t.head.appendChild(r)}},[])},lN=function(e){var t=e.className,r=e.colorModel,n=e.color,o=n===void 0?r.defaultColor:n,a=e.onChange,i=ll(e,["className","colorModel","color","onChange"]),s=Xe(null);W0(s);var l=G0(r,o,a),u=l[0],c=l[1],d=Mn(["react-colorful",t]);return v.createElement("div",lr({},i,{ref:s,className:d}),v.createElement(V0,{hsva:u,onChange:c}),v.createElement(z0,{hue:u.h,onChange:c,className:"react-colorful__last-control"}))},uN={defaultColor:"000",toHsva:Qj,fromHsva:function(e){return rN({h:e.h,s:e.s,v:e.v,a:1})},equal:aN},cN=function(e){return v.createElement(lN,lr({},e,{colorModel:uN}))},pN=function(e){var t=e.className,r=e.hsva,n=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+ya(Object.assign({},r,{a:0}))+", "+ya(Object.assign({},r,{a:1}))+")"},a=Mn(["react-colorful__alpha",t]),i=qe(100*r.a);return v.createElement("div",{className:a},v.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),v.createElement(ul,{onMove:function(s){n({a:s.left})},onKey:function(s){n({a:zr(r.a+s.left)})},"aria-label":"Alpha","aria-valuetext":i+"%","aria-valuenow":i,"aria-valuemin":"0","aria-valuemax":"100"},v.createElement(cl,{className:"react-colorful__alpha-pointer",left:r.a,color:ya(r)})))},K0=function(e){var t=e.className,r=e.colorModel,n=e.color,o=n===void 0?r.defaultColor:n,a=e.onChange,i=ll(e,["className","colorModel","color","onChange"]),s=Xe(null);W0(s);var l=G0(r,o,a),u=l[0],c=l[1],d=Mn(["react-colorful",t]);return v.createElement("div",lr({},i,{ref:s,className:d}),v.createElement(V0,{hsva:u,onChange:c}),v.createElement(z0,{hue:u.h,onChange:c}),v.createElement(pN,{hsva:u,onChange:c,className:"react-colorful__last-control"}))},dN={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:eN,fromHsva:ya,equal:J0},fN=function(e){return v.createElement(K0,lr({},e,{colorModel:dN}))},yN={defaultColor:"rgba(0, 0, 0, 1)",toHsva:nN,fromHsva:function(e){var t=U0(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:J0},hN=function(e){return v.createElement(K0,lr({},e,{colorModel:yN}))},mN=W.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),gN=W(Bt)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),bN=W.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),vN=W(Zt)(({theme:e})=>({fontFamily:e.typography.fonts.base})),EN=W.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),xN=W.div(({theme:e,active:t})=>({width:16,height:16,boxShadow:t?`${e.appBorderColor} 0 0 0 1px inset, ${e.textMutedColor}50 0 0 0 4px`:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:e.appBorderRadius})),wN=`url('data:image/svg+xml;charset=utf-8,')`,N0=({value:e,style:t,...r})=>{let n=`linear-gradient(${e}, ${e}), ${wN}, linear-gradient(#fff, #fff)`;return v.createElement(xN,{...r,style:{...t,backgroundImage:n}})},SN=W(ut.Input)(({theme:e,readOnly:t})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),AN=W(Lu)(({theme:e})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:e.input.color})),Y0=(e=>(e.RGB="rgb",e.HSL="hsl",e.HEX="hex",e))(Y0||{}),da=Object.values(Y0),TN=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,CN=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,_N=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,sl=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,ON=/^\s*#?([0-9a-f]{3})\s*$/i,IN={hex:cN,rgb:hN,hsl:fN},fa={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},B0=e=>{let t=e?.match(TN);if(!t)return[0,0,0,1];let[,r,n,o,a=1]=t;return[r,n,o,a].map(Number)},$r=e=>{if(!e)return;let t=!0;if(CN.test(e)){let[i,s,l,u]=B0(e),[c,d,y]=it.default.rgb.hsl([i,s,l])||[0,0,0];return{valid:t,value:e,keyword:it.default.rgb.keyword([i,s,l]),colorSpace:"rgb",rgb:e,hsl:`hsla(${c}, ${d}%, ${y}%, ${u})`,hex:`#${it.default.rgb.hex([i,s,l]).toLowerCase()}`}}if(_N.test(e)){let[i,s,l,u]=B0(e),[c,d,y]=it.default.hsl.rgb([i,s,l])||[0,0,0];return{valid:t,value:e,keyword:it.default.hsl.keyword([i,s,l]),colorSpace:"hsl",rgb:`rgba(${c}, ${d}, ${y}, ${u})`,hsl:e,hex:`#${it.default.hsl.hex([i,s,l]).toLowerCase()}`}}let r=e.replace("#",""),n=it.default.keyword.rgb(r)||it.default.hex.rgb(r),o=it.default.rgb.hsl(n),a=e;if(/[^#a-f0-9]/i.test(e)?a=r:sl.test(e)&&(a=`#${r}`),a.startsWith("#"))t=sl.test(a);else try{it.default.keyword.hex(a)}catch{t=!1}return{valid:t,value:a,keyword:it.default.rgb.keyword(n),colorSpace:"hex",rgb:`rgba(${n[0]}, ${n[1]}, ${n[2]}, 1)`,hsl:`hsla(${o[0]}, ${o[1]}%, ${o[2]}%, 1)`,hex:a}},kN=(e,t,r)=>{if(!e||!t?.valid)return fa[r];if(r!=="hex")return t?.[r]||fa[r];if(!t.hex.startsWith("#"))try{return`#${it.default.keyword.hex(t.hex)}`}catch{return fa.hex}let n=t.hex.match(ON);if(!n)return sl.test(t.hex)?t.hex:fa.hex;let[o,a,i]=n[1].split("");return`#${o}${o}${a}${a}${i}${i}`},PN=(e,t)=>{let[r,n]=me(e||""),[o,a]=me(()=>$r(r)),[i,s]=me(o?.colorSpace||"hex");He(()=>{let d=e||"",y=$r(d);n(d),a(y),s(y?.colorSpace||"hex")},[e]);let l=jt(()=>kN(r,o,i).toLowerCase(),[r,o,i]),u=Ve(d=>{let y=$r(d),f=y?.value||d||"";n(f),f===""&&(a(void 0),t(void 0)),y&&(a(y),s(y.colorSpace),t(y.value))},[t]),c=Ve(()=>{let d=da.indexOf(i)+1;d>=da.length&&(d=0),s(da[d]);let y=o?.[da[d]]||"";n(y),t(y)},[o,i,t]);return{value:r,realValue:l,updateValue:u,color:o,colorSpace:i,cycleColorSpace:c}},ha=e=>e.replace(/\s*/,"").toLowerCase(),RN=(e,t,r)=>{let[n,o]=me(t?.valid?[t]:[]);He(()=>{t===void 0&&o([])},[t]);let a=jt(()=>(e||[]).map(s=>typeof s=="string"?$r(s):s.title?{...$r(s.color),keyword:s.title}:$r(s.color)).concat(n).filter(Boolean).slice(-27),[e,n]),i=Ve(s=>{s?.valid&&(a.some(l=>ha(l[r])===ha(s[r]))||o(l=>l.concat(s)))},[r,a]);return{presets:a,addPreset:i}},X0=({name:e,value:t,onChange:r,onFocus:n,onBlur:o,presetColors:a,startOpen:i=!1,argType:s})=>{let l=Ve((0,L0.default)(r,200),[r]),{value:u,realValue:c,updateValue:d,color:y,colorSpace:f,cycleColorSpace:h}=PN(t,l),{presets:g,addPreset:C}=RN(a,y,f),b=IN[f],E=!!s?.table?.readonly;return v.createElement(mN,{"aria-readonly":E},v.createElement(gN,{startOpen:i,trigger:E?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>C(y),tooltip:v.createElement(bN,null,v.createElement(b,{color:c==="transparent"?"#000000":c,onChange:d,onFocus:n,onBlur:o}),g.length>0&&v.createElement(EN,null,g.map((_,T)=>v.createElement(Bt,{key:`${_.value}-${T}`,hasChrome:!1,tooltip:v.createElement(vN,{note:_.keyword||_.value})},v.createElement(N0,{value:_[f],active:y&&ha(_[f])===ha(y[f]),onClick:()=>d(_.value)})))))},v.createElement(N0,{value:c,style:{margin:4}})),v.createElement(SN,{id:tt(e),value:u,onChange:_=>d(_.target.value),onFocus:_=>_.target.select(),readOnly:E,placeholder:"Choose color..."}),u?v.createElement(AN,{onClick:h}):null)},DN=X0});w();S();A();w();S();A();w();S();A();Pa();no();no();ao();w();S();A();w();S();A();var r8=__STORYBOOK_CORE_EVENTS__,{ARGTYPES_INFO_REQUEST:tu,ARGTYPES_INFO_RESPONSE:Ja,CHANNEL_CREATED:n8,CHANNEL_WS_DISCONNECT:o8,CONFIG_ERROR:ru,CREATE_NEW_STORYFILE_REQUEST:a8,CREATE_NEW_STORYFILE_RESPONSE:i8,CURRENT_STORY_WAS_SET:Ga,DOCS_PREPARED:nu,DOCS_RENDERED:io,FILE_COMPONENT_SEARCH_REQUEST:s8,FILE_COMPONENT_SEARCH_RESPONSE:l8,FORCE_REMOUNT:ou,FORCE_RE_RENDER:so,GLOBALS_UPDATED:xr,NAVIGATE_URL:au,PLAY_FUNCTION_THREW_EXCEPTION:iu,PRELOAD_ENTRIES:su,PREVIEW_BUILDER_PROGRESS:u8,PREVIEW_KEYDOWN:lu,REGISTER_SUBSCRIPTION:c8,REQUEST_WHATS_NEW_DATA:p8,RESET_STORY_ARGS:lo,RESULT_WHATS_NEW_DATA:d8,SAVE_STORY_REQUEST:Wa,SAVE_STORY_RESPONSE:uo,SELECT_STORY:f8,SET_CONFIG:y8,SET_CURRENT_STORY:uu,SET_FILTER:h8,SET_GLOBALS:cu,SET_INDEX:m8,SET_STORIES:g8,SET_WHATS_NEW_CACHE:b8,SHARED_STATE_CHANGED:v8,SHARED_STATE_SET:E8,STORIES_COLLAPSE_ALL:x8,STORIES_EXPAND_ALL:w8,STORY_ARGS_UPDATED:pu,STORY_CHANGED:du,STORY_ERRORED:fu,STORY_INDEX_INVALIDATED:yu,STORY_MISSING:Ka,STORY_PREPARED:hu,STORY_RENDERED:cn,STORY_RENDER_PHASE_CHANGED:wr,STORY_SPECIFIED:mu,STORY_THREW_EXCEPTION:gu,STORY_UNCHANGED:bu,TELEMETRY_ERROR:S8,TOGGLE_WHATS_NEW_NOTIFICATIONS:A8,UNHANDLED_ERRORS_WHILE_PLAYING:vu,UPDATE_GLOBALS:co,UPDATE_QUERY_PARAMS:Eu,UPDATE_STORY_ARGS:po}=__STORYBOOK_CORE_EVENTS__;w();S();A();var F8=__STORYBOOK_API__,{ActiveTabs:j8,Consumer:N8,ManagerContext:B8,Provider:L8,RequestResponseError:q8,addons:fo,combineParameters:M8,controlOrMetaKey:U8,controlOrMetaSymbol:$8,eventMatchesShortcut:z8,eventToShortcut:V8,experimental_requestResponse:Ya,isMacLike:H8,isShortcutTaken:J8,keyToSymbol:G8,merge:W8,mockChannel:K8,optionOrAltSymbol:Y8,shortcutMatchesShortcut:X8,shortcutToHumanString:Q8,types:xu,useAddonState:Z8,useArgTypes:Xa,useArgs:wu,useChannel:e9,useGlobalTypes:t9,useGlobals:Su,useParameter:Au,useSharedState:r9,useStoryPrepared:n9,useStorybookApi:o9,useStorybookState:Tu}=__STORYBOOK_API__;ti();w();S();A();var Iu=Object.prototype.hasOwnProperty;function ku(e,t,r){for(r of e.keys())if(er(r,t))return r}function er(e,t){var r,n,o;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((n=e.length)===t.length)for(;n--&&er(e[n],t[n]););return n===-1}if(r===Set){if(e.size!==t.size)return!1;for(n of e)if(o=n,o&&typeof o=="object"&&(o=ku(t,o),!o)||!t.has(o))return!1;return!0}if(r===Map){if(e.size!==t.size)return!1;for(n of e)if(o=n[0],o&&typeof o=="object"&&(o=ku(t,o),!o)||!er(n[1],t.get(o)))return!1;return!0}if(r===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(r===DataView){if((n=e.byteLength)===t.byteLength)for(;n--&&e.getInt8(n)===t.getInt8(n););return n===-1}if(ArrayBuffer.isView(e)){if((n=e.byteLength)===t.byteLength)for(;n--&&e[n]===t[n];);return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(Iu.call(e,r)&&++n&&!Iu.call(t,r)||!(r in t)||!er(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}w();S();A();var ct=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof window<"u"?e=window:typeof self<"u"?e=self:e={},e})();ai();w();S();A();var J7=__STORYBOOK_CLIENT_LOGGER__,{deprecate:G7,logger:mo,once:Vu,pretty:W7}=__STORYBOOK_CLIENT_LOGGER__;var kv=on(uy()),Pv=on(yh()),Rv=on(Fh());w();S();A();w();S();A();w();S();A();var Lte=__STORYBOOK_CHANNELS__,{Channel:jh,PostMessageTransport:qte,WebsocketTransport:Mte,createBrowserChannel:Ute}=__STORYBOOK_CHANNELS__;w();S();A();var Jte=__STORYBOOK_CLIENT_LOGGER__,{deprecate:At,logger:ge,once:Mt,pretty:Gte}=__STORYBOOK_CLIENT_LOGGER__;w();S();A();var xk=Object.defineProperty,Ce=(e,t)=>xk(e,"name",{value:t,configurable:!0});function ke(e){for(var t=[],r=1;r` - ${i}`).join(` `)}`),`${o}${a!=null?` More info: ${a} -`:""}`}};Pe(Mh,"StorybookError");var Me=Mh,OP=(e=>(e.BLOCKS="BLOCKS",e.DOCS_TOOLS="DOCS-TOOLS",e.PREVIEW_CLIENT_LOGGER="PREVIEW_CLIENT-LOGGER",e.PREVIEW_CHANNELS="PREVIEW_CHANNELS",e.PREVIEW_CORE_EVENTS="PREVIEW_CORE-EVENTS",e.PREVIEW_INSTRUMENTER="PREVIEW_INSTRUMENTER",e.PREVIEW_API="PREVIEW_API",e.PREVIEW_REACT_DOM_SHIM="PREVIEW_REACT-DOM-SHIM",e.PREVIEW_ROUTER="PREVIEW_ROUTER",e.PREVIEW_THEMING="PREVIEW_THEMING",e.RENDERER_HTML="RENDERER_HTML",e.RENDERER_PREACT="RENDERER_PREACT",e.RENDERER_REACT="RENDERER_REACT",e.RENDERER_SERVER="RENDERER_SERVER",e.RENDERER_SVELTE="RENDERER_SVELTE",e.RENDERER_VUE="RENDERER_VUE",e.RENDERER_VUE3="RENDERER_VUE3",e.RENDERER_WEB_COMPONENTS="RENDERER_WEB-COMPONENTS",e.FRAMEWORK_NEXTJS="FRAMEWORK_NEXTJS",e))(OP||{}),Jh=class extends Me{constructor(t){super({category:"PREVIEW_API",code:1,message:De` +`:""}`}};Ce(Nh,"StorybookError");var Be=Nh,wk=(e=>(e.BLOCKS="BLOCKS",e.DOCS_TOOLS="DOCS-TOOLS",e.PREVIEW_CLIENT_LOGGER="PREVIEW_CLIENT-LOGGER",e.PREVIEW_CHANNELS="PREVIEW_CHANNELS",e.PREVIEW_CORE_EVENTS="PREVIEW_CORE-EVENTS",e.PREVIEW_INSTRUMENTER="PREVIEW_INSTRUMENTER",e.PREVIEW_API="PREVIEW_API",e.PREVIEW_REACT_DOM_SHIM="PREVIEW_REACT-DOM-SHIM",e.PREVIEW_ROUTER="PREVIEW_ROUTER",e.PREVIEW_THEMING="PREVIEW_THEMING",e.RENDERER_HTML="RENDERER_HTML",e.RENDERER_PREACT="RENDERER_PREACT",e.RENDERER_REACT="RENDERER_REACT",e.RENDERER_SERVER="RENDERER_SERVER",e.RENDERER_SVELTE="RENDERER_SVELTE",e.RENDERER_VUE="RENDERER_VUE",e.RENDERER_VUE3="RENDERER_VUE3",e.RENDERER_WEB_COMPONENTS="RENDERER_WEB-COMPONENTS",e.FRAMEWORK_NEXTJS="FRAMEWORK_NEXTJS",e.ADDON_VITEST="ADDON_VITEST",e))(wk||{}),Lh=class extends Be{constructor(t){super({category:"PREVIEW_API",code:1,message:ke` Couldn't find story matching id '${t.storyId}' after HMR. - Did you just rename a story? - Did you remove it from your CSF file? - Are you sure a story with the id '${t.storyId}' exists? - Please check the values in the stories field of your main.js config and see if they would match your CSF File. - - Also check the browser console and terminal for potential error messages.`}),this.data=t}};Pe(Jh,"MissingStoryAfterHmrError");var $h=Jh,IP=class extends Me{constructor(t){super({category:"PREVIEW_API",code:2,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function",message:De` + - Also check the browser console and terminal for potential error messages.`}),this.data=t}};Ce(Lh,"MissingStoryAfterHmrError");var qh=Lh,Sk=class extends Be{constructor(t){super({category:"PREVIEW_API",code:2,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function",message:ke` We detected that you use an implicit action arg while ${t.phase} of your story. ${t.deprecated?` This is deprecated and won't work in Storybook 8 anymore. @@ -25,20 +25,20 @@ This is deprecated and won't work in Storybook 8 anymore. ... args: { ${t.name}: fn() - }`}),this.data=t}};Pe(IP,"ImplicitActionsDuringRendering");var zh=class extends Me{constructor(){super({category:"PREVIEW_API",code:3,message:De` + }`}),this.data=t}};Ce(Sk,"ImplicitActionsDuringRendering");var Mh=class extends Be{constructor(){super({category:"PREVIEW_API",code:3,message:ke` Cannot call \`storyStore.extract()\` without calling \`storyStore.cacheAllCsfFiles()\` first. - You probably meant to call \`await preview.extract()\` which does the above for you.`})}};Pe(zh,"CalledExtractOnStoreError");var Vh=zh,Hh=class extends Me{constructor(){super({category:"PREVIEW_API",code:4,message:De` + You probably meant to call \`await preview.extract()\` which does the above for you.`})}};Ce(Mh,"CalledExtractOnStoreError");var Uh=Mh,$h=class extends Be{constructor(){super({category:"PREVIEW_API",code:4,message:ke` Expected your framework's preset to export a \`renderToCanvas\` field. - Perhaps it needs to be upgraded for Storybook 7.0?`,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-framework-field"})}};Pe(Hh,"MissingRenderToCanvasError");var Gh=Hh,Wh=class extends Me{constructor(t){super({category:"PREVIEW_API",code:5,message:De` + Perhaps it needs to be upgraded for Storybook 7.0?`,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-framework-field"})}};Ce($h,"MissingRenderToCanvasError");var zh=$h,Vh=class extends Be{constructor(t){super({category:"PREVIEW_API",code:5,message:ke` Called \`Preview.${t.methodName}()\` before initialization. The preview needs to load the story index before most methods can be called. If you want to call \`${t.methodName}\`, try \`await preview.initializationPromise;\` first. If you didn't call the above code, then likely it was called by an addon that needs to - do the above.`}),this.data=t}};Pe(Wh,"CalledPreviewMethodBeforeInitializationError");var rt=Wh,Kh=class extends Me{constructor(t){super({category:"PREVIEW_API",code:6,message:De` + do the above.`}),this.data=t}};Ce(Vh,"CalledPreviewMethodBeforeInitializationError");var rt=Vh,Hh=class extends Be{constructor(t){super({category:"PREVIEW_API",code:6,message:ke` Error fetching \`/index.json\`: ${t.text} @@ -47,21 +47,21 @@ This is deprecated and won't work in Storybook 8 anymore. check the terminal for errors. If you are in a deployed Storybook, there may have been an issue deploying the full Storybook - build.`}),this.data=t}};Pe(Kh,"StoryIndexFetchError");var Yh=Kh,Xh=class extends Me{constructor(t){super({category:"PREVIEW_API",code:7,message:De` + build.`}),this.data=t}};Ce(Hh,"StoryIndexFetchError");var Jh=Hh,Gh=class extends Be{constructor(t){super({category:"PREVIEW_API",code:7,message:ke` Tried to render docs entry ${t.storyId} but it is a MDX file that has no CSF references, or autodocs for a CSF file that some doesn't refer to itself. This likely is an internal error in Storybook's indexing, or you've attached the - \`attached-mdx\` tag to an MDX file that is not attached.`}),this.data=t}};Pe(Xh,"MdxFileWithNoCsfReferencesError");var Qh=Xh,Zh=class extends Me{constructor(){super({category:"PREVIEW_API",code:8,message:De` + \`attached-mdx\` tag to an MDX file that is not attached.`}),this.data=t}};Ce(Gh,"MdxFileWithNoCsfReferencesError");var Wh=Gh,Kh=class extends Be{constructor(){super({category:"PREVIEW_API",code:8,message:ke` Couldn't find any stories in your Storybook. - Please check your stories field of your main.js config: does it match correctly? - - Also check the browser console and terminal for error messages.`})}};Pe(Zh,"EmptyIndexError");var em=Zh,tm=class extends Me{constructor(t){super({category:"PREVIEW_API",code:9,message:De` + - Also check the browser console and terminal for error messages.`})}};Ce(Kh,"EmptyIndexError");var Yh=Kh,Xh=class extends Be{constructor(t){super({category:"PREVIEW_API",code:9,message:ke` Couldn't find story matching '${t.storySpecifier}'. - Are you sure a story with that id exists? - Please check your stories field of your main.js config. - - Also check the browser console and terminal for error messages.`}),this.data=t}};Pe(tm,"NoStoryMatchError");var rm=tm,nm=class extends Me{constructor(t){super({category:"PREVIEW_API",code:10,message:De` + - Also check the browser console and terminal for error messages.`}),this.data=t}};Ce(Xh,"NoStoryMatchError");var Qh=Xh,Zh=class extends Be{constructor(t){super({category:"PREVIEW_API",code:10,message:ke` Couldn't find story matching id '${t.storyId}' after importing a CSF file. The file was indexed as if the story was there, but then after importing the file in the browser @@ -69,11 +69,11 @@ This is deprecated and won't work in Storybook 8 anymore. - You are using a custom story indexer that is misbehaving. - You have a custom file loader that is removing or renaming exports. - Please check your browser console and terminal for errors that may explain the issue.`}),this.data=t}};Pe(nm,"MissingStoryFromCsfFileError");var om=nm,am=class extends Me{constructor(){super({category:"PREVIEW_API",code:11,message:De` + Please check your browser console and terminal for errors that may explain the issue.`}),this.data=t}};Ce(Zh,"MissingStoryFromCsfFileError");var em=Zh,tm=class extends Be{constructor(){super({category:"PREVIEW_API",code:11,message:ke` Cannot access the Story Store until the index is ready. It is not recommended to use methods directly on the Story Store anyway, in Storybook 9 we will - remove access to the store entirely`})}};Pe(am,"StoryStoreAccessedBeforeInitializationError");var im=am,sm=class extends Me{constructor(t){super({category:"PREVIEW_API",code:12,message:De` + remove access to the store entirely`})}};Ce(tm,"StoryStoreAccessedBeforeInitializationError");var rm=tm,nm=class extends Be{constructor(t){super({category:"PREVIEW_API",code:12,message:ke` Incorrect use of mount in the play function. To use mount in the play function, you must satisfy the following two requirements: @@ -90,35 +90,9 @@ This is deprecated and won't work in Storybook 8 anymore. More info: https://storybook.js.org/docs/writing-tests/interaction-testing#run-code-before-the-component-gets-rendered Received the following play function: - ${t.playFunction}`}),this.data=t}};Pe(sm,"MountMustBeDestructuredError");var Mo=sm,PP=class extends Me{constructor(){super({category:"PREVIEW_API",code:13,message:De` - You must configure testingLibraryRender to use play in portable stories. - - import { render } from '@testing-library/[renderer]'; - - setProjectAnnotations({ - testingLibraryRender: render, - }); - - For other testing renderers, you can configure \`renderToCanvas\` like so: - - import { render } from 'your-test-renderer'; - - setProjectAnnotations({ - renderToCanvas: ({ storyFn }) => { - const Story = storyFn(); - - // Svelte - render(Story.Component, Story.props); - - // Vue - render(Story); - - // or for React - render(); - }, - });`})}};Pe(PP,"TestingLibraryMustBeConfiguredError");var lm=class extends Me{constructor(t){super({category:"PREVIEW_API",code:14,message:De` + ${t.playFunction}`}),this.data=t}};Ce(nm,"MountMustBeDestructuredError");var Bo=nm,om=class extends Be{constructor(t){super({category:"PREVIEW_API",code:14,message:ke` No render function available for storyId '${t.id}' - `}),this.data=t}};Pe(lm,"NoRenderFunctionError");var um=lm,cm=class extends Me{constructor(){super({category:"PREVIEW_API",code:15,message:De` + `}),this.data=t}};Ce(om,"NoRenderFunctionError");var am=om,im=class extends Be{constructor(){super({category:"PREVIEW_API",code:15,message:ke` No component is mounted in your story. This usually occurs when you destructure mount in the play function, but forget to call it. @@ -133,13 +107,13 @@ This is deprecated and won't work in Storybook 8 anymore. }; Make sure to either remove it or call mount in your play function. - `})}};Pe(cm,"NoStoryMountedError");var pm=cm,kP=class extends Me{constructor(){super({category:"FRAMEWORK_NEXTJS",code:1,documentation:"https://storybook.js.org/docs/get-started/nextjs#faq",message:De` + `})}};Ce(im,"NoStoryMountedError");var sm=im,Ak=class extends Be{constructor(){super({category:"FRAMEWORK_NEXTJS",code:1,documentation:"https://storybook.js.org/docs/get-started/nextjs#faq",message:ke` You are importing avif images, but you don't have sharp installed. You have to install sharp in order to use image optimization features in Next.js. - `})}};Pe(kP,"NextJsSharpError");var RP=class extends Me{constructor(t){super({category:"FRAMEWORK_NEXTJS",code:2,message:De` + `})}};Ce(Ak,"NextJsSharpError");var Tk=class extends Be{constructor(t){super({category:"FRAMEWORK_NEXTJS",code:2,message:ke` Tried to access router mocks from "${t.importType}" but they were not created yet. You might be running code in an unsupported environment. - `}),this.data=t}};Pe(RP,"NextjsRouterMocksNotAvailable");var dm=class extends Me{constructor(t){super({category:"DOCS-TOOLS",code:1,documentation:"https://github.com/storybookjs/storybook/issues/26606",message:De` + `}),this.data=t}};Ce(Tk,"NextjsRouterMocksNotAvailable");var lm=class extends Be{constructor(t){super({category:"DOCS-TOOLS",code:1,documentation:"https://github.com/storybookjs/storybook/issues/26606",message:ke` There was a failure when generating detailed ArgTypes in ${t.language} for: ${JSON.stringify(t.type,null,2)} @@ -147,44 +121,52 @@ This is deprecated and won't work in Storybook 8 anymore. This type is either not supported or it is a bug in the docgen generation in Storybook. If you think this is a bug, please detail it as much as possible in the Github issue. - `}),this.data=t}};Pe(dm,"UnknownArgTypesError");var Uo=dm;S();A();T();var DP=Object.create,mm=Object.defineProperty,FP=Object.getOwnPropertyDescriptor,jP=Object.getOwnPropertyNames,NP=Object.getPrototypeOf,BP=Object.prototype.hasOwnProperty,LP=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),qP=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of jP(t))!BP.call(e,o)&&o!==r&&mm(e,o,{get:()=>t[o],enumerable:!(n=FP(t,o))||n.enumerable});return e},MP=(e,t,r)=>(r=e!=null?DP(NP(e)):{},qP(t||!e||!e.__esModule?mm(r,"default",{value:e,enumerable:!0}):r,e)),UP=LP(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=function(){var t=Object.prototype.toString,r=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(o){return Object.keys(o).concat(Object.getOwnPropertySymbols(o))}:Object.keys;return function(o,a){return function i(s,l,u){var c,d,y,f=t.call(s),h=t.call(l);if(s===l)return!0;if(s==null||l==null)return!1;if(u.indexOf(s)>-1&&u.indexOf(l)>-1)return!0;if(u.push(s,l),f!=h||(c=n(s),d=n(l),c.length!=d.length||c.some(function(g){return!i(s[g],l[g],u)})))return!1;switch(f.slice(8,-1)){case"Symbol":return s.valueOf()==l.valueOf();case"Date":case"Number":return+s==+l||+s!=+s&&+l!=+l;case"RegExp":case"Function":case"String":case"Boolean":return""+s==""+l;case"Set":case"Map":c=s.entries(),d=l.entries();do if(!i((y=c.next()).value,d.next().value,u))return!1;while(!y.done);return!0;case"ArrayBuffer":s=new Uint8Array(s),l=new Uint8Array(l);case"DataView":s=new Uint8Array(s.buffer),l=new Uint8Array(l.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(s.length!=l.length)return!1;for(y=0;y`${r} ${n}${o}`).replace(/([a-z])([A-Z])/g,(t,r,n)=>`${r} ${n}`).replace(/([a-z])([0-9])/gi,(t,r,n)=>`${r} ${n}`).replace(/([0-9])([a-z])/gi,(t,r,n)=>`${r} ${n}`).replace(/(\s|^)(\w)/g,(t,r,n)=>`${r}${n.toUpperCase()}`).replace(/ +/g," ").trim()}var fm=MP(UP()),gm=e=>e.map(t=>typeof t<"u").filter(Boolean).length,$P=(e,t)=>{let{exists:r,eq:n,neq:o,truthy:a}=e;if(gm([r,n,o,a])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:n,neq:o})}`);if(typeof n<"u")return(0,fm.isEqual)(t,n);if(typeof o<"u")return!(0,fm.isEqual)(t,o);if(typeof r<"u"){let i=typeof t<"u";return r?i:!i}return typeof a>"u"||a?!!t:!t},bm=(e,t,r)=>{if(!e.if)return!0;let{arg:n,global:o}=e.if;if(gm([n,o])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:o})}`);let a=n?t[n]:r[o];return $P(e.if,a)},Hi=e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),ym=(e,t)=>{let r=Hi(e);if(r==="")throw new Error(`Invalid ${t} '${e}', must include alphanumeric characters`);return r},vm=(e,t)=>`${ym(e,"kind")}${t?`--${ym(t,"name")}`:""}`,xm=e=>JP(e);function hm(e,t){return Array.isArray(t)?t.includes(e):e.match(t)}function Jo(e,{includeStories:t,excludeStories:r}){return e!=="__esModule"&&(!t||hm(e,t))&&(!r||!hm(e,r))}var Em=(...e)=>{let t=e.reduce((r,n)=>(n.startsWith("!")?r.delete(n.slice(1)):r.add(n),r),new Set);return Array.from(t)};var zP=Object.create,ds=Object.defineProperty,VP=Object.getOwnPropertyDescriptor,HP=Object.getOwnPropertyNames,GP=Object.getPrototypeOf,WP=Object.prototype.hasOwnProperty,m=(e,t)=>ds(e,"name",{value:t,configurable:!0}),$o=(e=>typeof et<"u"?et:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof et<"u"?et:t)[r]}):e)(function(e){if(typeof et<"u")return et.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),L=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),KP=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of HP(t))!WP.call(e,o)&&o!==r&&ds(e,o,{get:()=>t[o],enumerable:!(n=VP(t,o))||n.enumerable});return e},Qe=(e,t,r)=>(r=e!=null?zP(GP(e)):{},KP(t||!e||!e.__esModule?ds(r,"default",{value:e,enumerable:!0}):r,e)),Lm=L((e,t)=>{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"||typeof window<"u"?n=window:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){var r,n,o;return m(function a(i,s,l){function u(y,f){if(!s[y]){if(!i[y]){var h=typeof $o=="function"&&$o;if(!f&&h)return h(y,!0);if(c)return c(y,!0);var g=new Error("Cannot find module '"+y+"'");throw g.code="MODULE_NOT_FOUND",g}var _=s[y]={exports:{}};i[y][0].call(_.exports,function(x){var v=i[y][1][x];return u(v||x)},_,_.exports,a,i,s,l)}return s[y].exports}m(u,"s");for(var c=typeof $o=="function"&&$o,d=0;d=0)return this.lastItem=this.list[c],this.list[c].val},l.prototype.set=function(u,c){var d;return this.lastItem&&this.isEqual(this.lastItem.key,u)?(this.lastItem.val=c,this):(d=this.indexOf(u),d>=0?(this.lastItem=this.list[d],this.list[d].val=c,this):(this.lastItem={key:u,val:c},this.list.push(this.lastItem),this.size++,this))},l.prototype.delete=function(u){var c;if(this.lastItem&&this.isEqual(this.lastItem.key,u)&&(this.lastItem=void 0),c=this.indexOf(u),c>=0)return this.size--,this.list.splice(c,1)[0]},l.prototype.has=function(u){var c;return this.lastItem&&this.isEqual(this.lastItem.key,u)?!0:(c=this.indexOf(u),c>=0?(this.lastItem=this.list[c],!0):!1)},l.prototype.forEach=function(u,c){var d;for(d=0;d0&&(I[C]={cacheItem:x,arg:arguments[C]},P?u(h,I):h.push(I),h.length>y&&c(h.shift())),_.wasMemoized=P,_.numArgs=C+1,O},"memoizerific");return _.limit=y,_.wasMemoized=!1,_.cache=f,_.lru=h,_}};function u(y,f){var h=y.length,g=f.length,_,x,v;for(x=0;x=0&&(h=y[_],g=h.cacheItem.get(h.arg),!g||!g.size);_--)h.cacheItem.delete(h.arg)}m(c,"removeCachedResult");function d(y,f){return y===f||y!==y&&f!==f}m(d,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})}),qm=L((e,t)=>{var r=typeof window=="object"&&window&&window.Object===Object&&window;t.exports=r}),It=L((e,t)=>{var r=qm(),n=typeof self=="object"&&self&&self.Object===Object&&self,o=r||n||Function("return this")();t.exports=o}),Ln=L((e,t)=>{var r=It(),n=r.Symbol;t.exports=n}),YP=L((e,t)=>{var r=Ln(),n=Object.prototype,o=n.hasOwnProperty,a=n.toString,i=r?r.toStringTag:void 0;function s(l){var u=o.call(l,i),c=l[i];try{l[i]=void 0;var d=!0}catch{}var y=a.call(l);return d&&(u?l[i]=c:delete l[i]),y}m(s,"getRawTag"),t.exports=s}),XP=L((e,t)=>{var r=Object.prototype,n=r.toString;function o(a){return n.call(a)}m(o,"objectToString"),t.exports=o}),Gr=L((e,t)=>{var r=Ln(),n=YP(),o=XP(),a="[object Null]",i="[object Undefined]",s=r?r.toStringTag:void 0;function l(u){return u==null?u===void 0?i:a:s&&s in Object(u)?n(u):o(u)}m(l,"baseGetTag"),t.exports=l}),qn=L((e,t)=>{function r(n){var o=typeof n;return n!=null&&(o=="object"||o=="function")}m(r,"isObject"),t.exports=r}),Mm=L((e,t)=>{var r=Gr(),n=qn(),o="[object AsyncFunction]",a="[object Function]",i="[object GeneratorFunction]",s="[object Proxy]";function l(u){if(!n(u))return!1;var c=r(u);return c==a||c==i||c==o||c==s}m(l,"isFunction"),t.exports=l}),QP=L((e,t)=>{var r=It(),n=r["__core-js_shared__"];t.exports=n}),ZP=L((e,t)=>{var r=QP(),n=function(){var a=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}();function o(a){return!!n&&n in a}m(o,"isMasked"),t.exports=o}),Um=L((e,t)=>{var r=Function.prototype,n=r.toString;function o(a){if(a!=null){try{return n.call(a)}catch{}try{return a+""}catch{}}return""}m(o,"toSource"),t.exports=o}),ek=L((e,t)=>{var r=Mm(),n=ZP(),o=qn(),a=Um(),i=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,l=Function.prototype,u=Object.prototype,c=l.toString,d=u.hasOwnProperty,y=RegExp("^"+c.call(d).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function f(h){if(!o(h)||n(h))return!1;var g=r(h)?y:s;return g.test(a(h))}m(f,"baseIsNative"),t.exports=f}),tk=L((e,t)=>{function r(n,o){return n?.[o]}m(r,"getValue"),t.exports=r}),dr=L((e,t)=>{var r=ek(),n=tk();function o(a,i){var s=n(a,i);return r(s)?s:void 0}m(o,"getNative"),t.exports=o}),Jm=L((e,t)=>{var r=dr(),n=function(){try{var o=r(Object,"defineProperty");return o({},"",{}),o}catch{}}();t.exports=n}),$m=L((e,t)=>{var r=Jm();function n(o,a,i){a=="__proto__"&&r?r(o,a,{configurable:!0,enumerable:!0,value:i,writable:!0}):o[a]=i}m(n,"baseAssignValue"),t.exports=n}),rk=L((e,t)=>{function r(n){return function(o,a,i){for(var s=-1,l=Object(o),u=i(o),c=u.length;c--;){var d=u[n?c:++s];if(a(l[d],d,l)===!1)break}return o}}m(r,"createBaseFor"),t.exports=r}),nk=L((e,t)=>{var r=rk(),n=r();t.exports=n}),ok=L((e,t)=>{function r(n,o){for(var a=-1,i=Array(n);++a{function r(n){return n!=null&&typeof n=="object"}m(r,"isObjectLike"),t.exports=r}),ak=L((e,t)=>{var r=Gr(),n=Wr(),o="[object Arguments]";function a(i){return n(i)&&r(i)==o}m(a,"baseIsArguments"),t.exports=a}),fs=L((e,t)=>{var r=ak(),n=Wr(),o=Object.prototype,a=o.hasOwnProperty,i=o.propertyIsEnumerable,s=r(function(){return arguments}())?r:function(l){return n(l)&&a.call(l,"callee")&&!i.call(l,"callee")};t.exports=s}),Pt=L((e,t)=>{var r=Array.isArray;t.exports=r}),ik=L((e,t)=>{function r(){return!1}m(r,"stubFalse"),t.exports=r}),zm=L((e,t)=>{var r=It(),n=ik(),o=typeof e=="object"&&e&&!e.nodeType&&e,a=o&&typeof t=="object"&&t&&!t.nodeType&&t,i=a&&a.exports===o,s=i?r.Buffer:void 0,l=s?s.isBuffer:void 0,u=l||n;t.exports=u}),ys=L((e,t)=>{var r=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function o(a,i){var s=typeof a;return i=i??r,!!i&&(s=="number"||s!="symbol"&&n.test(a))&&a>-1&&a%1==0&&a{var r=9007199254740991;function n(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=r}m(n,"isLength"),t.exports=n}),sk=L((e,t)=>{var r=Gr(),n=hs(),o=Wr(),a="[object Arguments]",i="[object Array]",s="[object Boolean]",l="[object Date]",u="[object Error]",c="[object Function]",d="[object Map]",y="[object Number]",f="[object Object]",h="[object RegExp]",g="[object Set]",_="[object String]",x="[object WeakMap]",v="[object ArrayBuffer]",O="[object DataView]",C="[object Float32Array]",I="[object Float64Array]",P="[object Int8Array]",F="[object Int16Array]",D="[object Int32Array]",U="[object Uint8Array]",G="[object Uint8ClampedArray]",X="[object Uint16Array]",Q="[object Uint32Array]",V={};V[C]=V[I]=V[P]=V[F]=V[D]=V[U]=V[G]=V[X]=V[Q]=!0,V[a]=V[i]=V[v]=V[s]=V[O]=V[l]=V[u]=V[c]=V[d]=V[y]=V[f]=V[h]=V[g]=V[_]=V[x]=!1;function R(q){return o(q)&&n(q.length)&&!!V[r(q)]}m(R,"baseIsTypedArray"),t.exports=R}),lk=L((e,t)=>{function r(n){return function(o){return n(o)}}m(r,"baseUnary"),t.exports=r}),uk=L((e,t)=>{var r=qm(),n=typeof e=="object"&&e&&!e.nodeType&&e,o=n&&typeof t=="object"&&t&&!t.nodeType&&t,a=o&&o.exports===n,i=a&&r.process,s=function(){try{var l=o&&o.require&&o.require("util").types;return l||i&&i.binding&&i.binding("util")}catch{}}();t.exports=s}),Vm=L((e,t)=>{var r=sk(),n=lk(),o=uk(),a=o&&o.isTypedArray,i=a?n(a):r;t.exports=i}),Hm=L((e,t)=>{var r=ok(),n=fs(),o=Pt(),a=zm(),i=ys(),s=Vm(),l=Object.prototype,u=l.hasOwnProperty;function c(d,y){var f=o(d),h=!f&&n(d),g=!f&&!h&&a(d),_=!f&&!h&&!g&&s(d),x=f||h||g||_,v=x?r(d.length,String):[],O=v.length;for(var C in d)(y||u.call(d,C))&&!(x&&(C=="length"||g&&(C=="offset"||C=="parent")||_&&(C=="buffer"||C=="byteLength"||C=="byteOffset")||i(C,O)))&&v.push(C);return v}m(c,"arrayLikeKeys"),t.exports=c}),Gm=L((e,t)=>{var r=Object.prototype;function n(o){var a=o&&o.constructor,i=typeof a=="function"&&a.prototype||r;return o===i}m(n,"isPrototype"),t.exports=n}),Wm=L((e,t)=>{function r(n,o){return function(a){return n(o(a))}}m(r,"overArg"),t.exports=r}),ck=L((e,t)=>{var r=Wm(),n=r(Object.keys,Object);t.exports=n}),pk=L((e,t)=>{var r=Gm(),n=ck(),o=Object.prototype,a=o.hasOwnProperty;function i(s){if(!r(s))return n(s);var l=[];for(var u in Object(s))a.call(s,u)&&u!="constructor"&&l.push(u);return l}m(i,"baseKeys"),t.exports=i}),Km=L((e,t)=>{var r=Mm(),n=hs();function o(a){return a!=null&&n(a.length)&&!r(a)}m(o,"isArrayLike"),t.exports=o}),ms=L((e,t)=>{var r=Hm(),n=pk(),o=Km();function a(i){return o(i)?r(i):n(i)}m(a,"keys"),t.exports=a}),dk=L((e,t)=>{var r=nk(),n=ms();function o(a,i){return a&&r(a,i,n)}m(o,"baseForOwn"),t.exports=o}),fk=L((e,t)=>{function r(){this.__data__=[],this.size=0}m(r,"listCacheClear"),t.exports=r}),gs=L((e,t)=>{function r(n,o){return n===o||n!==n&&o!==o}m(r,"eq"),t.exports=r}),Xo=L((e,t)=>{var r=gs();function n(o,a){for(var i=o.length;i--;)if(r(o[i][0],a))return i;return-1}m(n,"assocIndexOf"),t.exports=n}),yk=L((e,t)=>{var r=Xo(),n=Array.prototype,o=n.splice;function a(i){var s=this.__data__,l=r(s,i);if(l<0)return!1;var u=s.length-1;return l==u?s.pop():o.call(s,l,1),--this.size,!0}m(a,"listCacheDelete"),t.exports=a}),hk=L((e,t)=>{var r=Xo();function n(o){var a=this.__data__,i=r(a,o);return i<0?void 0:a[i][1]}m(n,"listCacheGet"),t.exports=n}),mk=L((e,t)=>{var r=Xo();function n(o){return r(this.__data__,o)>-1}m(n,"listCacheHas"),t.exports=n}),gk=L((e,t)=>{var r=Xo();function n(o,a){var i=this.__data__,s=r(i,o);return s<0?(++this.size,i.push([o,a])):i[s][1]=a,this}m(n,"listCacheSet"),t.exports=n}),Qo=L((e,t)=>{var r=fk(),n=yk(),o=hk(),a=mk(),i=gk();function s(l){var u=-1,c=l==null?0:l.length;for(this.clear();++u{var r=Qo();function n(){this.__data__=new r,this.size=0}m(n,"stackClear"),t.exports=n}),vk=L((e,t)=>{function r(n){var o=this.__data__,a=o.delete(n);return this.size=o.size,a}m(r,"stackDelete"),t.exports=r}),xk=L((e,t)=>{function r(n){return this.__data__.get(n)}m(r,"stackGet"),t.exports=r}),Ek=L((e,t)=>{function r(n){return this.__data__.has(n)}m(r,"stackHas"),t.exports=r}),bs=L((e,t)=>{var r=dr(),n=It(),o=r(n,"Map");t.exports=o}),Zo=L((e,t)=>{var r=dr(),n=r(Object,"create");t.exports=n}),wk=L((e,t)=>{var r=Zo();function n(){this.__data__=r?r(null):{},this.size=0}m(n,"hashClear"),t.exports=n}),Sk=L((e,t)=>{function r(n){var o=this.has(n)&&delete this.__data__[n];return this.size-=o?1:0,o}m(r,"hashDelete"),t.exports=r}),Ak=L((e,t)=>{var r=Zo(),n="__lodash_hash_undefined__",o=Object.prototype,a=o.hasOwnProperty;function i(s){var l=this.__data__;if(r){var u=l[s];return u===n?void 0:u}return a.call(l,s)?l[s]:void 0}m(i,"hashGet"),t.exports=i}),Tk=L((e,t)=>{var r=Zo(),n=Object.prototype,o=n.hasOwnProperty;function a(i){var s=this.__data__;return r?s[i]!==void 0:o.call(s,i)}m(a,"hashHas"),t.exports=a}),Ck=L((e,t)=>{var r=Zo(),n="__lodash_hash_undefined__";function o(a,i){var s=this.__data__;return this.size+=this.has(a)?0:1,s[a]=r&&i===void 0?n:i,this}m(o,"hashSet"),t.exports=o}),_k=L((e,t)=>{var r=wk(),n=Sk(),o=Ak(),a=Tk(),i=Ck();function s(l){var u=-1,c=l==null?0:l.length;for(this.clear();++u{var r=_k(),n=Qo(),o=bs();function a(){this.size=0,this.__data__={hash:new r,map:new(o||n),string:new r}}m(a,"mapCacheClear"),t.exports=a}),Ik=L((e,t)=>{function r(n){var o=typeof n;return o=="string"||o=="number"||o=="symbol"||o=="boolean"?n!=="__proto__":n===null}m(r,"isKeyable"),t.exports=r}),ea=L((e,t)=>{var r=Ik();function n(o,a){var i=o.__data__;return r(a)?i[typeof a=="string"?"string":"hash"]:i.map}m(n,"getMapData"),t.exports=n}),Pk=L((e,t)=>{var r=ea();function n(o){var a=r(this,o).delete(o);return this.size-=a?1:0,a}m(n,"mapCacheDelete"),t.exports=n}),kk=L((e,t)=>{var r=ea();function n(o){return r(this,o).get(o)}m(n,"mapCacheGet"),t.exports=n}),Rk=L((e,t)=>{var r=ea();function n(o){return r(this,o).has(o)}m(n,"mapCacheHas"),t.exports=n}),Dk=L((e,t)=>{var r=ea();function n(o,a){var i=r(this,o),s=i.size;return i.set(o,a),this.size+=i.size==s?0:1,this}m(n,"mapCacheSet"),t.exports=n}),vs=L((e,t)=>{var r=Ok(),n=Pk(),o=kk(),a=Rk(),i=Dk();function s(l){var u=-1,c=l==null?0:l.length;for(this.clear();++u{var r=Qo(),n=bs(),o=vs(),a=200;function i(s,l){var u=this.__data__;if(u instanceof r){var c=u.__data__;if(!n||c.length{var r=Qo(),n=bk(),o=vk(),a=xk(),i=Ek(),s=Fk();function l(u){var c=this.__data__=new r(u);this.size=c.size}m(l,"Stack"),l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=a,l.prototype.has=i,l.prototype.set=s,t.exports=l}),jk=L((e,t)=>{var r="__lodash_hash_undefined__";function n(o){return this.__data__.set(o,r),this}m(n,"setCacheAdd"),t.exports=n}),Nk=L((e,t)=>{function r(n){return this.__data__.has(n)}m(r,"setCacheHas"),t.exports=r}),Bk=L((e,t)=>{var r=vs(),n=jk(),o=Nk();function a(i){var s=-1,l=i==null?0:i.length;for(this.__data__=new r;++s{function r(n,o){for(var a=-1,i=n==null?0:n.length;++a{function r(n,o){return n.has(o)}m(r,"cacheHas"),t.exports=r}),Xm=L((e,t)=>{var r=Bk(),n=Lk(),o=qk(),a=1,i=2;function s(l,u,c,d,y,f){var h=c&a,g=l.length,_=u.length;if(g!=_&&!(h&&_>g))return!1;var x=f.get(l),v=f.get(u);if(x&&v)return x==u&&v==l;var O=-1,C=!0,I=c&i?new r:void 0;for(f.set(l,u),f.set(u,l);++O{var r=It(),n=r.Uint8Array;t.exports=n}),Uk=L((e,t)=>{function r(n){var o=-1,a=Array(n.size);return n.forEach(function(i,s){a[++o]=[s,i]}),a}m(r,"mapToArray"),t.exports=r}),Jk=L((e,t)=>{function r(n){var o=-1,a=Array(n.size);return n.forEach(function(i){a[++o]=i}),a}m(r,"setToArray"),t.exports=r}),$k=L((e,t)=>{var r=Ln(),n=Mk(),o=gs(),a=Xm(),i=Uk(),s=Jk(),l=1,u=2,c="[object Boolean]",d="[object Date]",y="[object Error]",f="[object Map]",h="[object Number]",g="[object RegExp]",_="[object Set]",x="[object String]",v="[object Symbol]",O="[object ArrayBuffer]",C="[object DataView]",I=r?r.prototype:void 0,P=I?I.valueOf:void 0;function F(D,U,G,X,Q,V,R){switch(G){case C:if(D.byteLength!=U.byteLength||D.byteOffset!=U.byteOffset)return!1;D=D.buffer,U=U.buffer;case O:return!(D.byteLength!=U.byteLength||!V(new n(D),new n(U)));case c:case d:case h:return o(+D,+U);case y:return D.name==U.name&&D.message==U.message;case g:case x:return D==U+"";case f:var q=i;case _:var M=X&l;if(q||(q=s),D.size!=U.size&&!M)return!1;var Y=R.get(D);if(Y)return Y==U;X|=u,R.set(D,U);var te=a(q(D),q(U),X,Q,V,R);return R.delete(D),te;case v:if(P)return P.call(D)==P.call(U)}return!1}m(F,"equalByTag"),t.exports=F}),xs=L((e,t)=>{function r(n,o){for(var a=-1,i=o.length,s=n.length;++a{var r=xs(),n=Pt();function o(a,i,s){var l=i(a);return n(a)?l:r(l,s(a))}m(o,"baseGetAllKeys"),t.exports=o}),zk=L((e,t)=>{function r(n,o){for(var a=-1,i=n==null?0:n.length,s=0,l=[];++a{function r(){return[]}m(r,"stubArray"),t.exports=r}),eg=L((e,t)=>{var r=zk(),n=Zm(),o=Object.prototype,a=o.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(l){return l==null?[]:(l=Object(l),r(i(l),function(u){return a.call(l,u)}))}:n;t.exports=s}),Vk=L((e,t)=>{var r=Qm(),n=eg(),o=ms();function a(i){return r(i,o,n)}m(a,"getAllKeys"),t.exports=a}),Hk=L((e,t)=>{var r=Vk(),n=1,o=Object.prototype,a=o.hasOwnProperty;function i(s,l,u,c,d,y){var f=u&n,h=r(s),g=h.length,_=r(l),x=_.length;if(g!=x&&!f)return!1;for(var v=g;v--;){var O=h[v];if(!(f?O in l:a.call(l,O)))return!1}var C=y.get(s),I=y.get(l);if(C&&I)return C==l&&I==s;var P=!0;y.set(s,l),y.set(l,s);for(var F=f;++v{var r=dr(),n=It(),o=r(n,"DataView");t.exports=o}),Wk=L((e,t)=>{var r=dr(),n=It(),o=r(n,"Promise");t.exports=o}),Kk=L((e,t)=>{var r=dr(),n=It(),o=r(n,"Set");t.exports=o}),Yk=L((e,t)=>{var r=dr(),n=It(),o=r(n,"WeakMap");t.exports=o}),Xk=L((e,t)=>{var r=Gk(),n=bs(),o=Wk(),a=Kk(),i=Yk(),s=Gr(),l=Um(),u="[object Map]",c="[object Object]",d="[object Promise]",y="[object Set]",f="[object WeakMap]",h="[object DataView]",g=l(r),_=l(n),x=l(o),v=l(a),O=l(i),C=s;(r&&C(new r(new ArrayBuffer(1)))!=h||n&&C(new n)!=u||o&&C(o.resolve())!=d||a&&C(new a)!=y||i&&C(new i)!=f)&&(C=m(function(I){var P=s(I),F=P==c?I.constructor:void 0,D=F?l(F):"";if(D)switch(D){case g:return h;case _:return u;case x:return d;case v:return y;case O:return f}return P},"getTag")),t.exports=C}),Qk=L((e,t)=>{var r=Ym(),n=Xm(),o=$k(),a=Hk(),i=Xk(),s=Pt(),l=zm(),u=Vm(),c=1,d="[object Arguments]",y="[object Array]",f="[object Object]",h=Object.prototype,g=h.hasOwnProperty;function _(x,v,O,C,I,P){var F=s(x),D=s(v),U=F?y:i(x),G=D?y:i(v);U=U==d?f:U,G=G==d?f:G;var X=U==f,Q=G==f,V=U==G;if(V&&l(x)){if(!l(v))return!1;F=!0,X=!1}if(V&&!X)return P||(P=new r),F||u(x)?n(x,v,O,C,I,P):o(x,v,U,O,C,I,P);if(!(O&c)){var R=X&&g.call(x,"__wrapped__"),q=Q&&g.call(v,"__wrapped__");if(R||q){var M=R?x.value():x,Y=q?v.value():v;return P||(P=new r),I(M,Y,O,C,P)}}return V?(P||(P=new r),a(x,v,O,C,I,P)):!1}m(_,"baseIsEqualDeep"),t.exports=_}),tg=L((e,t)=>{var r=Qk(),n=Wr();function o(a,i,s,l,u){return a===i?!0:a==null||i==null||!n(a)&&!n(i)?a!==a&&i!==i:r(a,i,s,l,o,u)}m(o,"baseIsEqual"),t.exports=o}),Zk=L((e,t)=>{var r=Ym(),n=tg(),o=1,a=2;function i(s,l,u,c){var d=u.length,y=d,f=!c;if(s==null)return!y;for(s=Object(s);d--;){var h=u[d];if(f&&h[2]?h[1]!==s[h[0]]:!(h[0]in s))return!1}for(;++d{var r=qn();function n(o){return o===o&&!r(o)}m(n,"isStrictComparable"),t.exports=n}),eR=L((e,t)=>{var r=rg(),n=ms();function o(a){for(var i=n(a),s=i.length;s--;){var l=i[s],u=a[l];i[s]=[l,u,r(u)]}return i}m(o,"getMatchData"),t.exports=o}),ng=L((e,t)=>{function r(n,o){return function(a){return a==null?!1:a[n]===o&&(o!==void 0||n in Object(a))}}m(r,"matchesStrictComparable"),t.exports=r}),tR=L((e,t)=>{var r=Zk(),n=eR(),o=ng();function a(i){var s=n(i);return s.length==1&&s[0][2]?o(s[0][0],s[0][1]):function(l){return l===i||r(l,i,s)}}m(a,"baseMatches"),t.exports=a}),Es=L((e,t)=>{var r=Gr(),n=Wr(),o="[object Symbol]";function a(i){return typeof i=="symbol"||n(i)&&r(i)==o}m(a,"isSymbol"),t.exports=a}),ws=L((e,t)=>{var r=Pt(),n=Es(),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;function i(s,l){if(r(s))return!1;var u=typeof s;return u=="number"||u=="symbol"||u=="boolean"||s==null||n(s)?!0:a.test(s)||!o.test(s)||l!=null&&s in Object(l)}m(i,"isKey"),t.exports=i}),rR=L((e,t)=>{var r=vs(),n="Expected a function";function o(a,i){if(typeof a!="function"||i!=null&&typeof i!="function")throw new TypeError(n);var s=m(function(){var l=arguments,u=i?i.apply(this,l):l[0],c=s.cache;if(c.has(u))return c.get(u);var d=a.apply(this,l);return s.cache=c.set(u,d)||c,d},"memoized");return s.cache=new(o.Cache||r),s}m(o,"memoize"),o.Cache=r,t.exports=o}),nR=L((e,t)=>{var r=rR(),n=500;function o(a){var i=r(a,function(l){return s.size===n&&s.clear(),l}),s=i.cache;return i}m(o,"memoizeCapped"),t.exports=o}),oR=L((e,t)=>{var r=nR(),n=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r(function(i){var s=[];return i.charCodeAt(0)===46&&s.push(""),i.replace(n,function(l,u,c,d){s.push(c?d.replace(o,"$1"):u||l)}),s});t.exports=a}),og=L((e,t)=>{function r(n,o){for(var a=-1,i=n==null?0:n.length,s=Array(i);++a{var r=Ln(),n=og(),o=Pt(),a=Es(),i=1/0,s=r?r.prototype:void 0,l=s?s.toString:void 0;function u(c){if(typeof c=="string")return c;if(o(c))return n(c,u)+"";if(a(c))return l?l.call(c):"";var d=c+"";return d=="0"&&1/c==-i?"-0":d}m(u,"baseToString"),t.exports=u}),iR=L((e,t)=>{var r=aR();function n(o){return o==null?"":r(o)}m(n,"toString"),t.exports=n}),ta=L((e,t)=>{var r=Pt(),n=ws(),o=oR(),a=iR();function i(s,l){return r(s)?s:n(s,l)?[s]:o(a(s))}m(i,"castPath"),t.exports=i}),Mn=L((e,t)=>{var r=Es(),n=1/0;function o(a){if(typeof a=="string"||r(a))return a;var i=a+"";return i=="0"&&1/a==-n?"-0":i}m(o,"toKey"),t.exports=o}),Ss=L((e,t)=>{var r=ta(),n=Mn();function o(a,i){i=r(i,a);for(var s=0,l=i.length;a!=null&&s{var r=Ss();function n(o,a,i){var s=o==null?void 0:r(o,a);return s===void 0?i:s}m(n,"get"),t.exports=n}),lR=L((e,t)=>{function r(n,o){return n!=null&&o in Object(n)}m(r,"baseHasIn"),t.exports=r}),uR=L((e,t)=>{var r=ta(),n=fs(),o=Pt(),a=ys(),i=hs(),s=Mn();function l(u,c,d){c=r(c,u);for(var y=-1,f=c.length,h=!1;++y{var r=lR(),n=uR();function o(a,i){return a!=null&&n(a,i,r)}m(o,"hasIn"),t.exports=o}),cR=L((e,t)=>{var r=tg(),n=sR(),o=ag(),a=ws(),i=rg(),s=ng(),l=Mn(),u=1,c=2;function d(y,f){return a(y)&&i(f)?s(l(y),f):function(h){var g=n(h,y);return g===void 0&&g===f?o(h,y):r(f,g,u|c)}}m(d,"baseMatchesProperty"),t.exports=d}),ig=L((e,t)=>{function r(n){return n}m(r,"identity"),t.exports=r}),pR=L((e,t)=>{function r(n){return function(o){return o?.[n]}}m(r,"baseProperty"),t.exports=r}),dR=L((e,t)=>{var r=Ss();function n(o){return function(a){return r(a,o)}}m(n,"basePropertyDeep"),t.exports=n}),fR=L((e,t)=>{var r=pR(),n=dR(),o=ws(),a=Mn();function i(s){return o(s)?r(a(s)):n(s)}m(i,"property"),t.exports=i}),sg=L((e,t)=>{var r=tR(),n=cR(),o=ig(),a=Pt(),i=fR();function s(l){return typeof l=="function"?l:l==null?o:typeof l=="object"?a(l)?n(l[0],l[1]):r(l):i(l)}m(s,"baseIteratee"),t.exports=s}),ra=L((e,t)=>{var r=$m(),n=dk(),o=sg();function a(i,s){var l={};return s=o(s,3),n(i,function(u,c,d){r(l,c,s(u,c,d))}),l}m(a,"mapValues"),t.exports=a}),yR=L((e,t)=>{var r=$m(),n=gs(),o=Object.prototype,a=o.hasOwnProperty;function i(s,l,u){var c=s[l];(!(a.call(s,l)&&n(c,u))||u===void 0&&!(l in s))&&r(s,l,u)}m(i,"assignValue"),t.exports=i}),hR=L((e,t)=>{var r=yR(),n=ta(),o=ys(),a=qn(),i=Mn();function s(l,u,c,d){if(!a(l))return l;u=n(u,l);for(var y=-1,f=u.length,h=f-1,g=l;g!=null&&++y{var r=Ss(),n=hR(),o=ta();function a(i,s,l){for(var u=-1,c=s.length,d={};++u{var r=lg(),n=ag();function o(a,i){return r(a,i,function(s,l){return n(a,l)})}m(o,"basePick"),t.exports=o}),gR=L((e,t)=>{var r=Ln(),n=fs(),o=Pt(),a=r?r.isConcatSpreadable:void 0;function i(s){return o(s)||n(s)||!!(a&&s&&s[a])}m(i,"isFlattenable"),t.exports=i}),bR=L((e,t)=>{var r=xs(),n=gR();function o(a,i,s,l,u){var c=-1,d=a.length;for(s||(s=n),u||(u=[]);++c0&&s(y)?i>1?o(y,i-1,s,l,u):r(u,y):l||(u[u.length]=y)}return u}m(o,"baseFlatten"),t.exports=o}),vR=L((e,t)=>{var r=bR();function n(o){var a=o==null?0:o.length;return a?r(o,1):[]}m(n,"flatten"),t.exports=n}),xR=L((e,t)=>{function r(n,o,a){switch(a.length){case 0:return n.call(o);case 1:return n.call(o,a[0]);case 2:return n.call(o,a[0],a[1]);case 3:return n.call(o,a[0],a[1],a[2])}return n.apply(o,a)}m(r,"apply"),t.exports=r}),ER=L((e,t)=>{var r=xR(),n=Math.max;function o(a,i,s){return i=n(i===void 0?a.length-1:i,0),function(){for(var l=arguments,u=-1,c=n(l.length-i,0),d=Array(c);++u{function r(n){return function(){return n}}m(r,"constant"),t.exports=r}),SR=L((e,t)=>{var r=wR(),n=Jm(),o=ig(),a=n?function(i,s){return n(i,"toString",{configurable:!0,enumerable:!1,value:r(s),writable:!0})}:o;t.exports=a}),AR=L((e,t)=>{var r=800,n=16,o=Date.now;function a(i){var s=0,l=0;return function(){var u=o(),c=n-(u-l);if(l=u,c>0){if(++s>=r)return arguments[0]}else s=0;return i.apply(void 0,arguments)}}m(a,"shortOut"),t.exports=a}),TR=L((e,t)=>{var r=SR(),n=AR(),o=n(r);t.exports=o}),CR=L((e,t)=>{var r=vR(),n=ER(),o=TR();function a(i){return o(n(i,void 0,r),i+"")}m(a,"flatRest"),t.exports=a}),_R=L((e,t)=>{var r=mR(),n=CR(),o=n(function(a,i){return a==null?{}:r(a,i)});t.exports=o}),ug=L((e,t)=>{var r=Wm(),n=r(Object.getPrototypeOf,Object);t.exports=n}),As=L((e,t)=>{var r=Gr(),n=ug(),o=Wr(),a="[object Object]",i=Function.prototype,s=Object.prototype,l=i.toString,u=s.hasOwnProperty,c=l.call(Object);function d(y){if(!o(y)||r(y)!=a)return!1;var f=n(y);if(f===null)return!0;var h=u.call(f,"constructor")&&f.constructor;return typeof h=="function"&&h instanceof h&&l.call(h)==c}m(d,"isPlainObject"),t.exports=d}),OR=L((e,t)=>{var r=xs(),n=ug(),o=eg(),a=Zm(),i=Object.getOwnPropertySymbols,s=i?function(l){for(var u=[];l;)r(u,o(l)),l=n(l);return u}:a;t.exports=s}),IR=L((e,t)=>{function r(n){var o=[];if(n!=null)for(var a in Object(n))o.push(a);return o}m(r,"nativeKeysIn"),t.exports=r}),PR=L((e,t)=>{var r=qn(),n=Gm(),o=IR(),a=Object.prototype,i=a.hasOwnProperty;function s(l){if(!r(l))return o(l);var u=n(l),c=[];for(var d in l)d=="constructor"&&(u||!i.call(l,d))||c.push(d);return c}m(s,"baseKeysIn"),t.exports=s}),kR=L((e,t)=>{var r=Hm(),n=PR(),o=Km();function a(i){return o(i)?r(i,!0):n(i)}m(a,"keysIn"),t.exports=a}),RR=L((e,t)=>{var r=Qm(),n=OR(),o=kR();function a(i){return r(i,o,n)}m(a,"getAllKeysIn"),t.exports=a}),DR=L((e,t)=>{var r=og(),n=sg(),o=lg(),a=RR();function i(s,l){if(s==null)return{};var u=r(a(s),function(c){return[c]});return l=n(l),o(s,u,function(c,d){return l(c,d[0])})}m(i,"pickBy"),t.exports=i}),FR=L((e,t)=>{"use strict";t.exports=Error}),jR=L((e,t)=>{"use strict";t.exports=EvalError}),NR=L((e,t)=>{"use strict";t.exports=RangeError}),BR=L((e,t)=>{"use strict";t.exports=ReferenceError}),cg=L((e,t)=>{"use strict";t.exports=SyntaxError}),Un=L((e,t)=>{"use strict";t.exports=TypeError}),LR=L((e,t)=>{"use strict";t.exports=URIError}),qR=L((e,t)=>{"use strict";t.exports=m(function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),o=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var a=42;r[n]=a;for(n in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var i=Object.getOwnPropertySymbols(r);if(i.length!==1||i[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(r,n);if(s.value!==a||s.enumerable!==!0)return!1}return!0},"hasSymbols")}),MR=L((e,t)=>{"use strict";var r=typeof Symbol<"u"&&Symbol,n=qR();t.exports=m(function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()},"hasNativeSymbols")}),UR=L((e,t)=>{"use strict";var r={__proto__:null,foo:{}},n=Object;t.exports=m(function(){return{__proto__:r}.foo===r.foo&&!(r instanceof n)},"hasProto")}),JR=L((e,t)=>{"use strict";var r="Function.prototype.bind called on incompatible ",n=Object.prototype.toString,o=Math.max,a="[object Function]",i=m(function(u,c){for(var d=[],y=0;y{"use strict";var r=JR();t.exports=Function.prototype.bind||r}),$R=L((e,t)=>{"use strict";var r=Function.prototype.call,n=Object.prototype.hasOwnProperty,o=Ts();t.exports=o.call(r,n)}),Kr=L((e,t)=>{"use strict";var r,n=FR(),o=jR(),a=NR(),i=BR(),s=cg(),l=Un(),u=LR(),c=Function,d=m(function(ne){try{return c('"use strict"; return ('+ne+").constructor;")()}catch{}},"getEvalledConstructor"),y=Object.getOwnPropertyDescriptor;if(y)try{y({},"")}catch{y=null}var f=m(function(){throw new l},"throwTypeError"),h=y?function(){try{return arguments.callee,f}catch{try{return y(arguments,"callee").get}catch{return f}}}():f,g=MR()(),_=UR()(),x=Object.getPrototypeOf||(_?function(ne){return ne.__proto__}:null),v={},O=typeof Uint8Array>"u"||!x?r:x(Uint8Array),C={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":g&&x?x([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":v,"%AsyncGenerator%":v,"%AsyncGeneratorFunction%":v,"%AsyncIteratorPrototype%":v,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":n,"%eval%":eval,"%EvalError%":o,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":c,"%GeneratorFunction%":v,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":g&&x?x(x([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!g||!x?r:x(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":a,"%ReferenceError%":i,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!g||!x?r:x(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":g&&x?x(""[Symbol.iterator]()):r,"%Symbol%":g?Symbol:r,"%SyntaxError%":s,"%ThrowTypeError%":h,"%TypedArray%":O,"%TypeError%":l,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":u,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet};if(x)try{null.error}catch(ne){I=x(x(ne)),C["%Error.prototype%"]=I}var I,P=m(function ne(re){var Z;if(re==="%AsyncFunction%")Z=d("async function () {}");else if(re==="%GeneratorFunction%")Z=d("function* () {}");else if(re==="%AsyncGeneratorFunction%")Z=d("async function* () {}");else if(re==="%AsyncGenerator%"){var ae=ne("%AsyncGeneratorFunction%");ae&&(Z=ae.prototype)}else if(re==="%AsyncIteratorPrototype%"){var le=ne("%AsyncGenerator%");le&&x&&(Z=x(le.prototype))}return C[re]=Z,Z},"doEval"),F={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},D=Ts(),U=$R(),G=D.call(Function.call,Array.prototype.concat),X=D.call(Function.apply,Array.prototype.splice),Q=D.call(Function.call,String.prototype.replace),V=D.call(Function.call,String.prototype.slice),R=D.call(Function.call,RegExp.prototype.exec),q=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,M=/\\(\\)?/g,Y=m(function(ne){var re=V(ne,0,1),Z=V(ne,-1);if(re==="%"&&Z!=="%")throw new s("invalid intrinsic syntax, expected closing `%`");if(Z==="%"&&re!=="%")throw new s("invalid intrinsic syntax, expected opening `%`");var ae=[];return Q(ne,q,function(le,Ee,pe,we){ae[ae.length]=pe?Q(we,M,"$1"):Ee||le}),ae},"stringToPath"),te=m(function(ne,re){var Z=ne,ae;if(U(F,Z)&&(ae=F[Z],Z="%"+ae[0]+"%"),U(C,Z)){var le=C[Z];if(le===v&&(le=P(Z)),typeof le>"u"&&!re)throw new l("intrinsic "+ne+" exists, but is not available. Please file an issue!");return{alias:ae,name:Z,value:le}}throw new s("intrinsic "+ne+" does not exist!")},"getBaseIntrinsic");t.exports=m(function(ne,re){if(typeof ne!="string"||ne.length===0)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof re!="boolean")throw new l('"allowMissing" argument must be a boolean');if(R(/^%?[^%]*%?$/,ne)===null)throw new s("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Z=Y(ne),ae=Z.length>0?Z[0]:"",le=te("%"+ae+"%",re),Ee=le.name,pe=le.value,we=!1,Le=le.alias;Le&&(ae=Le[0],X(Z,G([0,1],Le)));for(var Ve=1,Ye=!0;Ve=Z.length){var Re=y(pe,fe);Ye=!!Re,Ye&&"get"in Re&&!("originalValue"in Re.get)?pe=Re.get:pe=pe[fe]}else Ye=U(pe,fe),pe=pe[fe];Ye&&!we&&(C[Ee]=pe)}}return pe},"GetIntrinsic")}),Cs=L((e,t)=>{"use strict";var r=Kr(),n=r("%Object.defineProperty%",!0)||!1;if(n)try{n({},"a",{value:1})}catch{n=!1}t.exports=n}),pg=L((e,t)=>{"use strict";var r=Kr(),n=r("%Object.getOwnPropertyDescriptor%",!0);if(n)try{n([],"length")}catch{n=null}t.exports=n}),zR=L((e,t)=>{"use strict";var r=Cs(),n=cg(),o=Un(),a=pg();t.exports=m(function(i,s,l){if(!i||typeof i!="object"&&typeof i!="function")throw new o("`obj` must be an object or a function`");if(typeof s!="string"&&typeof s!="symbol")throw new o("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new o("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new o("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new o("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new o("`loose`, if provided, must be a boolean");var u=arguments.length>3?arguments[3]:null,c=arguments.length>4?arguments[4]:null,d=arguments.length>5?arguments[5]:null,y=arguments.length>6?arguments[6]:!1,f=!!a&&a(i,s);if(r)r(i,s,{configurable:d===null&&f?f.configurable:!d,enumerable:u===null&&f?f.enumerable:!u,value:l,writable:c===null&&f?f.writable:!c});else if(y||!u&&!c&&!d)i[s]=l;else throw new n("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},"defineDataProperty")}),VR=L((e,t)=>{"use strict";var r=Cs(),n=m(function(){return!!r},"hasPropertyDescriptors");n.hasArrayLengthDefineBug=m(function(){if(!r)return null;try{return r([],"length",{value:1}).length!==1}catch{return!0}},"hasArrayLengthDefineBug"),t.exports=n}),HR=L((e,t)=>{"use strict";var r=Kr(),n=zR(),o=VR()(),a=pg(),i=Un(),s=r("%Math.floor%");t.exports=m(function(l,u){if(typeof l!="function")throw new i("`fn` is not a function");if(typeof u!="number"||u<0||u>4294967295||s(u)!==u)throw new i("`length` must be a positive 32-bit integer");var c=arguments.length>2&&!!arguments[2],d=!0,y=!0;if("length"in l&&a){var f=a(l,"length");f&&!f.configurable&&(d=!1),f&&!f.writable&&(y=!1)}return(d||y||!c)&&(o?n(l,"length",u,!0,!0):n(l,"length",u)),l},"setFunctionLength")}),GR=L((e,t)=>{"use strict";var r=Ts(),n=Kr(),o=HR(),a=Un(),i=n("%Function.prototype.apply%"),s=n("%Function.prototype.call%"),l=n("%Reflect.apply%",!0)||r.call(s,i),u=Cs(),c=n("%Math.max%");t.exports=m(function(y){if(typeof y!="function")throw new a("a function is required");var f=l(r,s,arguments);return o(f,1+c(0,y.length-(arguments.length-1)),!0)},"callBind");var d=m(function(){return l(r,i,arguments)},"applyBind");u?u(t.exports,"apply",{value:d}):t.exports.apply=d}),WR=L((e,t)=>{"use strict";var r=Kr(),n=GR(),o=n(r("String.prototype.indexOf"));t.exports=m(function(a,i){var s=r(a,!!i);return typeof s=="function"&&o(a,".prototype.")>-1?n(s):s},"callBoundIntrinsic")}),KR=L(()=>{}),YR=L((e,t)=>{var r=typeof Map=="function"&&Map.prototype,n=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=r&&n&&typeof n.get=="function"?n.get:null,a=r&&Map.prototype.forEach,i=typeof Set=="function"&&Set.prototype,s=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=i&&s&&typeof s.get=="function"?s.get:null,u=i&&Set.prototype.forEach,c=typeof WeakMap=="function"&&WeakMap.prototype,d=c?WeakMap.prototype.has:null,y=typeof WeakSet=="function"&&WeakSet.prototype,f=y?WeakSet.prototype.has:null,h=typeof WeakRef=="function"&&WeakRef.prototype,g=h?WeakRef.prototype.deref:null,_=Boolean.prototype.valueOf,x=Object.prototype.toString,v=Function.prototype.toString,O=String.prototype.match,C=String.prototype.slice,I=String.prototype.replace,P=String.prototype.toUpperCase,F=String.prototype.toLowerCase,D=RegExp.prototype.test,U=Array.prototype.concat,G=Array.prototype.join,X=Array.prototype.slice,Q=Math.floor,V=typeof BigInt=="function"?BigInt.prototype.valueOf:null,R=Object.getOwnPropertySymbols,q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,M=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Y=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===M||!0)?Symbol.toStringTag:null,te=Object.prototype.propertyIsEnumerable,ne=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function($){return $.__proto__}:null);function re($,H){if($===1/0||$===-1/0||$!==$||$&&$>-1e3&&$<1e3||D.call(/e/,H))return H;var ue=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof $=="number"){var de=$<0?-Q(-$):Q($);if(de!==$){var Ae=String(de),se=C.call(H,Ae.length+1);return I.call(Ae,ue,"$&_")+"."+I.call(I.call(se,/([0-9]{3})/g,"$&_"),/_$/,"")}}return I.call(H,ue,"$&_")}m(re,"addNumericSeparator");var Z=KR(),ae=Z.custom,le=Re(ae)?ae:null;t.exports=m(function $(H,ue,de,Ae){var se=ue||{};if(ce(se,"quoteStyle")&&se.quoteStyle!=="single"&&se.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(ce(se,"maxStringLength")&&(typeof se.maxStringLength=="number"?se.maxStringLength<0&&se.maxStringLength!==1/0:se.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var ot=ce(se,"customInspect")?se.customInspect:!0;if(typeof ot!="boolean"&&ot!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(ce(se,"indent")&&se.indent!==null&&se.indent!==" "&&!(parseInt(se.indent,10)===se.indent&&se.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(ce(se,"numericSeparator")&&typeof se.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var yt=se.numericSeparator;if(typeof H>"u")return"undefined";if(H===null)return"null";if(typeof H=="boolean")return H?"true":"false";if(typeof H=="string")return xr(H,se);if(typeof H=="number"){if(H===0)return 1/0/H>0?"0":"-0";var ke=String(H);return yt?re(H,ke):ke}if(typeof H=="bigint"){var xe=String(H)+"n";return yt?re(H,xe):xe}var Zt=typeof se.depth>"u"?5:se.depth;if(typeof de>"u"&&(de=0),de>=Zt&&Zt>0&&typeof H=="object")return we(H)?"[Array]":"[Object]";var at=no(se,de);if(typeof Ae>"u")Ae=[];else if(ft(Ae,H)>=0)return"[Circular]";function Ce(p,w,k){if(w&&(Ae=X.call(Ae),Ae.push(w)),k){var z={depth:se.depth};return ce(se,"quoteStyle")&&(z.quoteStyle=se.quoteStyle),$(p,z,de+1,Ae)}return $(p,se,de+1,Ae)}if(m(Ce,"inspect"),typeof H=="function"&&!Ve(H)){var Sr=Ft(H),oo=Qt(H,Ce);return"[Function"+(Sr?": "+Sr:" (anonymous)")+"]"+(oo.length>0?" { "+G.call(oo,", ")+" }":"")}if(Re(H)){var cn=M?I.call(String(H),/^(Symbol\(.*\))_[^)]*$/,"$1"):q.call(H);return typeof H=="object"&&!M?St(cn):cn}if(Xt(H)){for(var er="<"+F.call(String(H.nodeName)),nt=H.attributes||[],Ar=0;Ar",er}if(we(H)){if(H.length===0)return"[]";var Tr=Qt(H,Ce);return at&&!un(Tr)?"["+wr(Tr,at)+"]":"[ "+G.call(Tr,", ")+" ]"}if(Ye(H)){var it=Qt(H,Ce);return!("cause"in Error.prototype)&&"cause"in H&&!te.call(H,"cause")?"{ ["+String(H)+"] "+G.call(U.call("[cause]: "+Ce(H.cause),it),", ")+" }":it.length===0?"["+String(H)+"]":"{ ["+String(H)+"] "+G.call(it,", ")+" }"}if(typeof H=="object"&&ot){if(le&&typeof H[le]=="function"&&Z)return Z(H,{depth:Zt-de});if(ot!=="symbol"&&typeof H.inspect=="function")return H.inspect()}if(wt(H)){var pn=[];return a&&a.call(H,function(p,w){pn.push(Ce(w,H,!0)+" => "+Ce(p,H))}),ln("Map",o.call(H),pn,at)}if(Kt(H)){var tr=[];return u&&u.call(H,function(p){tr.push(Ce(p,H))}),ln("Set",l.call(H),tr,at)}if(an(H))return Er("WeakMap");if(Yt(H))return Er("WeakSet");if(sn(H))return Er("WeakRef");if(Ie(H))return St(Ce(Number(H)));if(Ze(H))return St(Ce(V.call(H)));if(ye(H))return St(_.call(H));if(fe(H))return St(Ce(String(H)));if(typeof window<"u"&&H===window)return"{ [object Window] }";if(H===window)return"{ [object globalThis] }";if(!Le(H)&&!Ve(H)){var dn=Qt(H,Ce),fn=ne?ne(H)===Object.prototype:H instanceof Object||H.constructor===Object,Cr=H instanceof Object?"":"null prototype",yn=!fn&&Y&&Object(H)===H&&Y in H?C.call(Se(H),8,-1):Cr?"Object":"",_r=fn||typeof H.constructor!="function"?"":H.constructor.name?H.constructor.name+" ":"",Or=_r+(yn||Cr?"["+G.call(U.call([],yn||[],Cr||[]),": ")+"] ":"");return dn.length===0?Or+"{}":at?Or+"{"+wr(dn,at)+"}":Or+"{ "+G.call(dn,", ")+" }"}return String(H)},"inspect_");function Ee($,H,ue){var de=(ue.quoteStyle||H)==="double"?'"':"'";return de+$+de}m(Ee,"wrapQuotes");function pe($){return I.call(String($),/"/g,""")}m(pe,"quote");function we($){return Se($)==="[object Array]"&&(!Y||!(typeof $=="object"&&Y in $))}m(we,"isArray");function Le($){return Se($)==="[object Date]"&&(!Y||!(typeof $=="object"&&Y in $))}m(Le,"isDate");function Ve($){return Se($)==="[object RegExp]"&&(!Y||!(typeof $=="object"&&Y in $))}m(Ve,"isRegExp");function Ye($){return Se($)==="[object Error]"&&(!Y||!(typeof $=="object"&&Y in $))}m(Ye,"isError");function fe($){return Se($)==="[object String]"&&(!Y||!(typeof $=="object"&&Y in $))}m(fe,"isString");function Ie($){return Se($)==="[object Number]"&&(!Y||!(typeof $=="object"&&Y in $))}m(Ie,"isNumber");function ye($){return Se($)==="[object Boolean]"&&(!Y||!(typeof $=="object"&&Y in $))}m(ye,"isBoolean");function Re($){if(M)return $&&typeof $=="object"&&$ instanceof Symbol;if(typeof $=="symbol")return!0;if(!$||typeof $!="object"||!q)return!1;try{return q.call($),!0}catch{}return!1}m(Re,"isSymbol");function Ze($){if(!$||typeof $!="object"||!V)return!1;try{return V.call($),!0}catch{}return!1}m(Ze,"isBigInt");var qe=Object.prototype.hasOwnProperty||function($){return $ in this};function ce($,H){return qe.call($,H)}m(ce,"has");function Se($){return x.call($)}m(Se,"toStr");function Ft($){if($.name)return $.name;var H=O.call(v.call($),/^function\s*([\w$]+)/);return H?H[1]:null}m(Ft,"nameOf");function ft($,H){if($.indexOf)return $.indexOf(H);for(var ue=0,de=$.length;ueH.maxStringLength){var ue=$.length-H.maxStringLength,de="... "+ue+" more character"+(ue>1?"s":"");return xr(C.call($,0,H.maxStringLength),H)+de}var Ae=I.call(I.call($,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,ro);return Ee(Ae,"single",H)}m(xr,"inspectString");function ro($){var H=$.charCodeAt(0),ue={8:"b",9:"t",10:"n",12:"f",13:"r"}[H];return ue?"\\"+ue:"\\x"+(H<16?"0":"")+P.call(H.toString(16))}m(ro,"lowbyte");function St($){return"Object("+$+")"}m(St,"markBoxed");function Er($){return $+" { ? }"}m(Er,"weakCollectionOf");function ln($,H,ue,de){var Ae=de?wr(ue,de):G.call(ue,", ");return $+" ("+H+") {"+Ae+"}"}m(ln,"collectionOf");function un($){for(var H=0;H<$.length;H++)if(ft($[H],` -`)>=0)return!1;return!0}m(un,"singleLineValues");function no($,H){var ue;if($.indent===" ")ue=" ";else if(typeof $.indent=="number"&&$.indent>0)ue=G.call(Array($.indent+1)," ");else return null;return{base:ue,prev:G.call(Array(H+1),ue)}}m(no,"getIndent");function wr($,H){if($.length===0)return"";var ue=` -`+H.prev+H.base;return ue+G.call($,","+ue)+` -`+H.prev}m(wr,"indentedJoin");function Qt($,H){var ue=we($),de=[];if(ue){de.length=$.length;for(var Ae=0;Ae<$.length;Ae++)de[Ae]=ce($,Ae)?H($[Ae],$):""}var se=typeof R=="function"?R($):[],ot;if(M){ot={};for(var yt=0;yt{"use strict";var r=Kr(),n=WR(),o=YR(),a=Un(),i=r("%WeakMap%",!0),s=r("%Map%",!0),l=n("WeakMap.prototype.get",!0),u=n("WeakMap.prototype.set",!0),c=n("WeakMap.prototype.has",!0),d=n("Map.prototype.get",!0),y=n("Map.prototype.set",!0),f=n("Map.prototype.has",!0),h=m(function(v,O){for(var C=v,I;(I=C.next)!==null;C=I)if(I.key===O)return C.next=I.next,I.next=v.next,v.next=I,I},"listGetNode"),g=m(function(v,O){var C=h(v,O);return C&&C.value},"listGet"),_=m(function(v,O,C){var I=h(v,O);I?I.value=C:v.next={key:O,next:v.next,value:C}},"listSet"),x=m(function(v,O){return!!h(v,O)},"listHas");t.exports=m(function(){var v,O,C,I={assert:m(function(P){if(!I.has(P))throw new a("Side channel does not contain "+o(P))},"assert"),get:m(function(P){if(i&&P&&(typeof P=="object"||typeof P=="function")){if(v)return l(v,P)}else if(s){if(O)return d(O,P)}else if(C)return g(C,P)},"get"),has:m(function(P){if(i&&P&&(typeof P=="object"||typeof P=="function")){if(v)return c(v,P)}else if(s){if(O)return f(O,P)}else if(C)return x(C,P);return!1},"has"),set:m(function(P,F){i&&P&&(typeof P=="object"||typeof P=="function")?(v||(v=new i),u(v,P,F)):s?(O||(O=new s),y(O,P,F)):(C||(C={key:{},next:null}),_(C,P,F))},"set")};return I},"getSideChannel")}),_s=L((e,t)=>{"use strict";var r=String.prototype.replace,n=/%20/g,o={RFC1738:"RFC1738",RFC3986:"RFC3986"};t.exports={default:o.RFC3986,formatters:{RFC1738:m(function(a){return r.call(a,n,"+")},"RFC1738"),RFC3986:m(function(a){return String(a)},"RFC3986")},RFC1738:o.RFC1738,RFC3986:o.RFC3986}}),dg=L((e,t)=>{"use strict";var r=_s(),n=Object.prototype.hasOwnProperty,o=Array.isArray,a=function(){for(var v=[],O=0;O<256;++O)v.push("%"+((O<16?"0":"")+O.toString(16)).toUpperCase());return v}(),i=m(function(v){for(;v.length>1;){var O=v.pop(),C=O.obj[O.prop];if(o(C)){for(var I=[],P=0;P=d?F.slice(U,U+d):F,X=[],Q=0;Q=48&&V<=57||V>=65&&V<=90||V>=97&&V<=122||P===r.RFC1738&&(V===40||V===41)){X[X.length]=G.charAt(Q);continue}if(V<128){X[X.length]=a[V];continue}if(V<2048){X[X.length]=a[192|V>>6]+a[128|V&63];continue}if(V<55296||V>=57344){X[X.length]=a[224|V>>12]+a[128|V>>6&63]+a[128|V&63];continue}Q+=1,V=65536+((V&1023)<<10|G.charCodeAt(Q)&1023),X[X.length]=a[240|V>>18]+a[128|V>>12&63]+a[128|V>>6&63]+a[128|V&63]}D+=X.join("")}return D},"encode"),f=m(function(v){for(var O=[{obj:{o:v},prop:"o"}],C=[],I=0;I{"use strict";var r=XR(),n=dg(),o=_s(),a=Object.prototype.hasOwnProperty,i={brackets:m(function(x){return x+"[]"},"brackets"),comma:"comma",indices:m(function(x,v){return x+"["+v+"]"},"indices"),repeat:m(function(x){return x},"repeat")},s=Array.isArray,l=Array.prototype.push,u=m(function(x,v){l.apply(x,s(v)?v:[v])},"pushToArray"),c=Date.prototype.toISOString,d=o.default,y={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:n.encode,encodeValuesOnly:!1,format:d,formatter:o.formatters[d],indices:!1,serializeDate:m(function(x){return c.call(x)},"serializeDate"),skipNulls:!1,strictNullHandling:!1},f=m(function(x){return typeof x=="string"||typeof x=="number"||typeof x=="boolean"||typeof x=="symbol"||typeof x=="bigint"},"isNonNullishPrimitive"),h={},g=m(function x(v,O,C,I,P,F,D,U,G,X,Q,V,R,q,M,Y,te,ne){for(var re=v,Z=ne,ae=0,le=!1;(Z=Z.get(h))!==void 0&&!le;){var Ee=Z.get(v);if(ae+=1,typeof Ee<"u"){if(Ee===ae)throw new RangeError("Cyclic object value");le=!0}typeof Z.get(h)>"u"&&(ae=0)}if(typeof X=="function"?re=X(O,re):re instanceof Date?re=R(re):C==="comma"&&s(re)&&(re=n.maybeMap(re,function(Se){return Se instanceof Date?R(Se):Se})),re===null){if(F)return G&&!Y?G(O,y.encoder,te,"key",q):O;re=""}if(f(re)||n.isBuffer(re)){if(G){var pe=Y?O:G(O,y.encoder,te,"key",q);return[M(pe)+"="+M(G(re,y.encoder,te,"value",q))]}return[M(O)+"="+M(String(re))]}var we=[];if(typeof re>"u")return we;var Le;if(C==="comma"&&s(re))Y&&G&&(re=n.maybeMap(re,G)),Le=[{value:re.length>0?re.join(",")||null:void 0}];else if(s(X))Le=X;else{var Ve=Object.keys(re);Le=Q?Ve.sort(Q):Ve}var Ye=U?O.replace(/\./g,"%2E"):O,fe=I&&s(re)&&re.length===1?Ye+"[]":Ye;if(P&&s(re)&&re.length===0)return fe+"[]";for(var Ie=0;Ie"u"?x.encodeDotInKeys===!0?!0:y.allowDots:!!x.allowDots;return{addQueryPrefix:typeof x.addQueryPrefix=="boolean"?x.addQueryPrefix:y.addQueryPrefix,allowDots:F,allowEmptyArrays:typeof x.allowEmptyArrays=="boolean"?!!x.allowEmptyArrays:y.allowEmptyArrays,arrayFormat:P,charset:v,charsetSentinel:typeof x.charsetSentinel=="boolean"?x.charsetSentinel:y.charsetSentinel,commaRoundTrip:x.commaRoundTrip,delimiter:typeof x.delimiter>"u"?y.delimiter:x.delimiter,encode:typeof x.encode=="boolean"?x.encode:y.encode,encodeDotInKeys:typeof x.encodeDotInKeys=="boolean"?x.encodeDotInKeys:y.encodeDotInKeys,encoder:typeof x.encoder=="function"?x.encoder:y.encoder,encodeValuesOnly:typeof x.encodeValuesOnly=="boolean"?x.encodeValuesOnly:y.encodeValuesOnly,filter:I,format:O,formatter:C,serializeDate:typeof x.serializeDate=="function"?x.serializeDate:y.serializeDate,skipNulls:typeof x.skipNulls=="boolean"?x.skipNulls:y.skipNulls,sort:typeof x.sort=="function"?x.sort:null,strictNullHandling:typeof x.strictNullHandling=="boolean"?x.strictNullHandling:y.strictNullHandling}},"normalizeStringifyOptions");t.exports=function(x,v){var O=x,C=_(v),I,P;typeof C.filter=="function"?(P=C.filter,O=P("",O)):s(C.filter)&&(P=C.filter,I=P);var F=[];if(typeof O!="object"||O===null)return"";var D=i[C.arrayFormat],U=D==="comma"&&C.commaRoundTrip;I||(I=Object.keys(O)),C.sort&&I.sort(C.sort);for(var G=r(),X=0;X0?R+V:""}}),ZR=L((e,t)=>{"use strict";var r=dg(),n=Object.prototype.hasOwnProperty,o=Array.isArray,a={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:r.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},i=m(function(h){return h.replace(/&#(\d+);/g,function(g,_){return String.fromCharCode(parseInt(_,10))})},"interpretNumericEntities"),s=m(function(h,g){return h&&typeof h=="string"&&g.comma&&h.indexOf(",")>-1?h.split(","):h},"parseArrayValue"),l="utf8=%26%2310003%3B",u="utf8=%E2%9C%93",c=m(function(h,g){var _={__proto__:null},x=g.ignoreQueryPrefix?h.replace(/^\?/,""):h;x=x.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var v=g.parameterLimit===1/0?void 0:g.parameterLimit,O=x.split(g.delimiter,v),C=-1,I,P=g.charset;if(g.charsetSentinel)for(I=0;I-1&&(X=o(X)?[X]:X);var Q=n.call(_,G);Q&&g.duplicates==="combine"?_[G]=r.combine(_[G],X):(!Q||g.duplicates==="last")&&(_[G]=X)}return _},"parseQueryStringValues"),d=m(function(h,g,_,x){for(var v=x?g:s(g,_),O=h.length-1;O>=0;--O){var C,I=h[O];if(I==="[]"&&_.parseArrays)C=_.allowEmptyArrays&&(v===""||_.strictNullHandling&&v===null)?[]:[].concat(v);else{C=_.plainObjects?Object.create(null):{};var P=I.charAt(0)==="["&&I.charAt(I.length-1)==="]"?I.slice(1,-1):I,F=_.decodeDotInKeys?P.replace(/%2E/g,"."):P,D=parseInt(F,10);!_.parseArrays&&F===""?C={0:v}:!isNaN(D)&&I!==F&&String(D)===F&&D>=0&&_.parseArrays&&D<=_.arrayLimit?(C=[],C[D]=v):F!=="__proto__"&&(C[F]=v)}v=C}return v},"parseObject"),y=m(function(h,g,_,x){if(h){var v=_.allowDots?h.replace(/\.([^.[]+)/g,"[$1]"):h,O=/(\[[^[\]]*])/,C=/(\[[^[\]]*])/g,I=_.depth>0&&O.exec(v),P=I?v.slice(0,I.index):v,F=[];if(P){if(!_.plainObjects&&n.call(Object.prototype,P)&&!_.allowPrototypes)return;F.push(P)}for(var D=0;_.depth>0&&(I=C.exec(v))!==null&&D<_.depth;){if(D+=1,!_.plainObjects&&n.call(Object.prototype,I[1].slice(1,-1))&&!_.allowPrototypes)return;F.push(I[1])}return I&&F.push("["+v.slice(I.index)+"]"),d(F,g,_,x)}},"parseQueryStringKeys"),f=m(function(h){if(!h)return a;if(typeof h.allowEmptyArrays<"u"&&typeof h.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof h.decodeDotInKeys<"u"&&typeof h.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(h.decoder!==null&&typeof h.decoder<"u"&&typeof h.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof h.charset<"u"&&h.charset!=="utf-8"&&h.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var g=typeof h.charset>"u"?a.charset:h.charset,_=typeof h.duplicates>"u"?a.duplicates:h.duplicates;if(_!=="combine"&&_!=="first"&&_!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var x=typeof h.allowDots>"u"?h.decodeDotInKeys===!0?!0:a.allowDots:!!h.allowDots;return{allowDots:x,allowEmptyArrays:typeof h.allowEmptyArrays=="boolean"?!!h.allowEmptyArrays:a.allowEmptyArrays,allowPrototypes:typeof h.allowPrototypes=="boolean"?h.allowPrototypes:a.allowPrototypes,allowSparse:typeof h.allowSparse=="boolean"?h.allowSparse:a.allowSparse,arrayLimit:typeof h.arrayLimit=="number"?h.arrayLimit:a.arrayLimit,charset:g,charsetSentinel:typeof h.charsetSentinel=="boolean"?h.charsetSentinel:a.charsetSentinel,comma:typeof h.comma=="boolean"?h.comma:a.comma,decodeDotInKeys:typeof h.decodeDotInKeys=="boolean"?h.decodeDotInKeys:a.decodeDotInKeys,decoder:typeof h.decoder=="function"?h.decoder:a.decoder,delimiter:typeof h.delimiter=="string"||r.isRegExp(h.delimiter)?h.delimiter:a.delimiter,depth:typeof h.depth=="number"||h.depth===!1?+h.depth:a.depth,duplicates:_,ignoreQueryPrefix:h.ignoreQueryPrefix===!0,interpretNumericEntities:typeof h.interpretNumericEntities=="boolean"?h.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:typeof h.parameterLimit=="number"?h.parameterLimit:a.parameterLimit,parseArrays:h.parseArrays!==!1,plainObjects:typeof h.plainObjects=="boolean"?h.plainObjects:a.plainObjects,strictNullHandling:typeof h.strictNullHandling=="boolean"?h.strictNullHandling:a.strictNullHandling}},"normalizeParseOptions");t.exports=function(h,g){var _=f(g);if(h===""||h===null||typeof h>"u")return _.plainObjects?Object.create(null):{};for(var x=typeof h=="string"?c(h,_):h,v=_.plainObjects?Object.create(null):{},O=Object.keys(x),C=0;C{"use strict";var r=QR(),n=ZR(),o=_s();t.exports={formats:o,parse:n,stringify:r}}),fg=L((e,t)=>{t.exports={Aacute:"\xC1",aacute:"\xE1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",Acy:"\u0410",acy:"\u0430",AElig:"\xC6",aelig:"\xE6",af:"\u2061",Afr:"\u{1D504}",afr:"\u{1D51E}",Agrave:"\xC0",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03B1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2A3F",amp:"&",AMP:"&",andand:"\u2A55",And:"\u2A53",and:"\u2227",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angmsd:"\u2221",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",apacir:"\u2A6F",ap:"\u2248",apE:"\u2A70",ape:"\u224A",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",Aring:"\xC5",aring:"\xE5",Ascr:"\u{1D49C}",ascr:"\u{1D4B6}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",Beta:"\u0392",beta:"\u03B2",beth:"\u2136",between:"\u226C",Bfr:"\u{1D505}",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bNot:"\u2AED",bnot:"\u2310",Bopf:"\u{1D539}",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250C",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252C",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxul:"\u2518",boxuL:"\u255B",boxUl:"\u255C",boxUL:"\u255D",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253C",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251C",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",bprime:"\u2035",breve:"\u02D8",Breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",Bscr:"\u212C",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsolb:"\u29C5",bsol:"\\",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",Bumpeq:"\u224E",bumpeq:"\u224F",Cacute:"\u0106",cacute:"\u0107",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",cap:"\u2229",Cap:"\u22D2",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",Ccaron:"\u010C",ccaron:"\u010D",Ccedil:"\xC7",ccedil:"\xE7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",Cdot:"\u010A",cdot:"\u010B",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",CenterDot:"\xB7",cfr:"\u{1D520}",Cfr:"\u212D",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03A7",chi:"\u03C7",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cir:"\u25CB",cirE:"\u29C3",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",Colone:"\u2A74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",conint:"\u222E",Conint:"\u222F",ContourIntegral:"\u222E",copf:"\u{1D554}",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xA9",COPY:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",cross:"\u2717",Cross:"\u2A2F",Cscr:"\u{1D49E}",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cupbrcap:"\u2A48",cupcap:"\u2A46",CupCap:"\u224D",cup:"\u222A",Cup:"\u22D3",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",Darr:"\u21A1",dArr:"\u21D3",dash:"\u2010",Dashv:"\u2AE4",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",Dcaron:"\u010E",dcaron:"\u010F",Dcy:"\u0414",dcy:"\u0434",ddagger:"\u2021",ddarr:"\u21CA",DD:"\u2145",dd:"\u2146",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",Delta:"\u0394",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",Dfr:"\u{1D507}",dfr:"\u{1D521}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",diamond:"\u22C4",Diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",Dopf:"\u{1D53B}",dopf:"\u{1D555}",Dot:"\xA8",dot:"\u02D9",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrowBar:"\u2913",downarrow:"\u2193",DownArrow:"\u2193",Downarrow:"\u21D3",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVectorBar:"\u2956",DownLeftVector:"\u21BD",DownRightTeeVector:"\u295F",DownRightVectorBar:"\u2957",DownRightVector:"\u21C1",DownTeeArrow:"\u21A7",DownTee:"\u22A4",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",Dscr:"\u{1D49F}",dscr:"\u{1D4B9}",DScy:"\u0405",dscy:"\u0455",dsol:"\u29F6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",DZcy:"\u040F",dzcy:"\u045F",dzigrarr:"\u27FF",Eacute:"\xC9",eacute:"\xE9",easter:"\u2A6E",Ecaron:"\u011A",ecaron:"\u011B",Ecirc:"\xCA",ecirc:"\xEA",ecir:"\u2256",ecolon:"\u2255",Ecy:"\u042D",ecy:"\u044D",eDDot:"\u2A77",Edot:"\u0116",edot:"\u0117",eDot:"\u2251",ee:"\u2147",efDot:"\u2252",Efr:"\u{1D508}",efr:"\u{1D522}",eg:"\u2A9A",Egrave:"\xC8",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",ENG:"\u014A",eng:"\u014B",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\u{1D53C}",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",escr:"\u212F",Escr:"\u2130",esdot:"\u2250",Esim:"\u2A73",esim:"\u2242",Eta:"\u0397",eta:"\u03B7",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",Ffr:"\u{1D509}",ffr:"\u{1D523}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",Fopf:"\u{1D53D}",fopf:"\u{1D557}",forall:"\u2200",ForAll:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",Fscr:"\u2131",gacute:"\u01F5",Gamma:"\u0393",gamma:"\u03B3",Gammad:"\u03DC",gammad:"\u03DD",gap:"\u2A86",Gbreve:"\u011E",gbreve:"\u011F",Gcedil:"\u0122",Gcirc:"\u011C",gcirc:"\u011D",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",ge:"\u2265",gE:"\u2267",gEl:"\u2A8C",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",gescc:"\u2AA9",ges:"\u2A7E",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",Gfr:"\u{1D50A}",gfr:"\u{1D524}",gg:"\u226B",Gg:"\u22D9",ggg:"\u22D9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gla:"\u2AA5",gl:"\u2277",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gnE:"\u2269",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",Gopf:"\u{1D53E}",gopf:"\u{1D558}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gtcc:"\u2AA7",gtcir:"\u2A7A",gt:">",GT:">",Gt:"\u226B",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",HARDcy:"\u042A",hardcy:"\u044A",harrcir:"\u2948",harr:"\u2194",hArr:"\u21D4",harrw:"\u21AD",Hat:"^",hbar:"\u210F",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",Hfr:"\u210C",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",Hopf:"\u210D",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\u{1D4BD}",Hscr:"\u210B",hslash:"\u210F",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xCD",iacute:"\xED",ic:"\u2063",Icirc:"\xCE",icirc:"\xEE",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",Ifr:"\u2111",Igrave:"\xCC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Imacr:"\u012A",imacr:"\u012B",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",Im:"\u2111",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",incare:"\u2105",in:"\u2208",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",intcal:"\u22BA",int:"\u222B",Int:"\u222C",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012E",iogon:"\u012F",Iopf:"\u{1D540}",iopf:"\u{1D55A}",Iota:"\u0399",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",Iscr:"\u2110",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xCF",iuml:"\xEF",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\u{1D50D}",jfr:"\u{1D527}",jmath:"\u0237",Jopf:"\u{1D541}",jopf:"\u{1D55B}",Jscr:"\u{1D4A5}",jscr:"\u{1D4BF}",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041A",kcy:"\u043A",Kfr:"\u{1D50E}",kfr:"\u{1D528}",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040C",kjcy:"\u045C",Kopf:"\u{1D542}",kopf:"\u{1D55C}",Kscr:"\u{1D4A6}",kscr:"\u{1D4C0}",lAarr:"\u21DA",Lacute:"\u0139",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",Lambda:"\u039B",lambda:"\u03BB",lang:"\u27E8",Lang:"\u27EA",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",larrb:"\u21E4",larrbfs:"\u291F",larr:"\u2190",Larr:"\u219E",lArr:"\u21D0",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",latail:"\u2919",lAtail:"\u291B",lat:"\u2AAB",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lBarr:"\u290E",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",Lcaron:"\u013D",lcaron:"\u013E",Lcedil:"\u013B",lcedil:"\u013C",lceil:"\u2308",lcub:"{",Lcy:"\u041B",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27E8",LeftArrowBar:"\u21E4",leftarrow:"\u2190",LeftArrow:"\u2190",Leftarrow:"\u21D0",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftDownVector:"\u21C3",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",Leftrightarrow:"\u21D4",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTeeArrow:"\u21A4",LeftTee:"\u22A3",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangleBar:"\u29CF",LeftTriangle:"\u22B2",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftUpVector:"\u21BF",LeftVectorBar:"\u2952",LeftVector:"\u21BC",lEg:"\u2A8B",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",lescc:"\u2AA8",les:"\u2A7D",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",Lfr:"\u{1D50F}",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",llarr:"\u21C7",ll:"\u226A",Ll:"\u22D8",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",Lmidot:"\u013F",lmidot:"\u0140",lmoustache:"\u23B0",lmoust:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lnE:"\u2268",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",LongLeftArrow:"\u27F5",Longleftarrow:"\u27F8",longleftrightarrow:"\u27F7",LongLeftRightArrow:"\u27F7",Longleftrightarrow:"\u27FA",longmapsto:"\u27FC",longrightarrow:"\u27F6",LongRightArrow:"\u27F6",Longrightarrow:"\u27F9",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",Lopf:"\u{1D543}",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",Lscr:"\u2112",lsh:"\u21B0",Lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",Lstrok:"\u0141",lstrok:"\u0142",ltcc:"\u2AA6",ltcir:"\u2A79",lt:"<",LT:"<",Lt:"\u226A",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",Mcy:"\u041C",mcy:"\u043C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",midast:"*",midcir:"\u2AF0",mid:"\u2223",middot:"\xB7",minusb:"\u229F",minus:"\u2212",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",Mopf:"\u{1D544}",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",Mscr:"\u2133",mstpos:"\u223E",Mu:"\u039C",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natural:"\u266E",naturals:"\u2115",natur:"\u266E",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",Ncy:"\u041D",ncy:"\u043D",ndash:"\u2013",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21D7",nearrow:"\u2197",ne:"\u2260",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:` -`,nexist:"\u2204",nexists:"\u2204",Nfr:"\u{1D511}",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",nGt:"\u226B\u20D2",ngt:"\u226F",ngtr:"\u226F",nGtv:"\u226B\u0338",nharr:"\u21AE",nhArr:"\u21CE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlarr:"\u219A",nlArr:"\u21CD",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219A",nLeftarrow:"\u21CD",nleftrightarrow:"\u21AE",nLeftrightarrow:"\u21CE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nLt:"\u226A\u20D2",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nopf:"\u{1D55F}",Nopf:"\u2115",Not:"\u2AEC",not:"\xAC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangle:"\u22EB",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",nprec:"\u2280",npreceq:"\u2AAF\u0338",npre:"\u2AAF\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219B",nrArr:"\u21CF",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nRightarrow:"\u21CF",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",Nscr:"\u{1D4A9}",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",Ntilde:"\xD1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",Nu:"\u039D",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",Ocirc:"\xD4",ocirc:"\xF4",ocir:"\u229A",Ocy:"\u041E",ocy:"\u043E",odash:"\u229D",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29BF",Ofr:"\u{1D512}",ofr:"\u{1D52C}",ogon:"\u02DB",Ograve:"\xD2",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",Omacr:"\u014C",omacr:"\u014D",Omega:"\u03A9",omega:"\u03C9",Omicron:"\u039F",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",Oopf:"\u{1D546}",oopf:"\u{1D560}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",orarr:"\u21BB",Or:"\u2A54",or:"\u2228",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",Oscr:"\u{1D4AA}",oscr:"\u2134",Oslash:"\xD8",oslash:"\xF8",osol:"\u2298",Otilde:"\xD5",otilde:"\xF5",otimesas:"\u2A36",Otimes:"\u2A37",otimes:"\u2297",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",para:"\xB6",parallel:"\u2225",par:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",Pcy:"\u041F",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",Pfr:"\u{1D513}",pfr:"\u{1D52D}",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",Pi:"\u03A0",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plus:"+",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",popf:"\u{1D561}",Popf:"\u2119",pound:"\xA3",prap:"\u2AB7",Pr:"\u2ABB",pr:"\u227A",prcue:"\u227C",precapprox:"\u2AB7",prec:"\u227A",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",pre:"\u2AAF",prE:"\u2AB3",precsim:"\u227E",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportional:"\u221D",Proportion:"\u2237",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",Pscr:"\u{1D4AB}",pscr:"\u{1D4C5}",Psi:"\u03A8",psi:"\u03C8",puncsp:"\u2008",Qfr:"\u{1D514}",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",Qopf:"\u211A",qprime:"\u2057",Qscr:"\u{1D4AC}",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',QUOT:'"',rAarr:"\u21DB",race:"\u223D\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",Rang:"\u27EB",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarr:"\u2192",Rarr:"\u21A0",rArr:"\u21D2",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",rAtail:"\u291C",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rBarr:"\u290F",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",Re:"\u211C",rect:"\u25AD",reg:"\xAE",REG:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",Rfr:"\u211C",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",RightAngleBracket:"\u27E9",RightArrowBar:"\u21E5",rightarrow:"\u2192",RightArrow:"\u2192",Rightarrow:"\u21D2",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVectorBar:"\u2955",RightDownVector:"\u21C2",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTeeArrow:"\u21A6",RightTee:"\u22A2",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangleBar:"\u29D0",RightTriangle:"\u22B3",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVectorBar:"\u2954",RightUpVector:"\u21BE",RightVectorBar:"\u2953",RightVector:"\u21C0",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoustache:"\u23B1",rmoust:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",Ropf:"\u211D",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",rscr:"\u{1D4C7}",Rscr:"\u211B",rsh:"\u21B1",Rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",Sacute:"\u015A",sacute:"\u015B",sbquo:"\u201A",scap:"\u2AB8",Scaron:"\u0160",scaron:"\u0161",Sc:"\u2ABC",sc:"\u227B",sccue:"\u227D",sce:"\u2AB0",scE:"\u2AB4",Scedil:"\u015E",scedil:"\u015F",Scirc:"\u015C",scirc:"\u015D",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",Scy:"\u0421",scy:"\u0441",sdotb:"\u22A1",sdot:"\u22C5",sdote:"\u2A66",searhk:"\u2925",searr:"\u2198",seArr:"\u21D8",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\u{1D516}",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",SOFTcy:"\u042C",softcy:"\u044C",solbar:"\u233F",solb:"\u29C4",sol:"/",Sopf:"\u{1D54A}",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",square:"\u25A1",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squ:"\u25A1",squf:"\u25AA",srarr:"\u2192",Sscr:"\u{1D4AE}",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",Star:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",Sub:"\u22D0",subdot:"\u2ABD",subE:"\u2AC5",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",Subset:"\u22D0",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succapprox:"\u2AB8",succ:"\u227B",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",sum:"\u2211",Sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",Sup:"\u22D1",supdot:"\u2ABE",supdsub:"\u2AD8",supE:"\u2AC6",supe:"\u2287",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",Supset:"\u22D1",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21D9",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",Tau:"\u03A4",tau:"\u03C4",tbrk:"\u23B4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",Tfr:"\u{1D517}",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",THORN:"\xDE",thorn:"\xFE",tilde:"\u02DC",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",timesbar:"\u2A31",timesb:"\u22A0",times:"\xD7",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",topbot:"\u2336",topcir:"\u2AF1",top:"\u22A4",Topf:"\u{1D54B}",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",Tscr:"\u{1D4AF}",tscr:"\u{1D4C9}",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040B",tshcy:"\u045B",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Uacute:"\xDA",uacute:"\xFA",uarr:"\u2191",Uarr:"\u219F",uArr:"\u21D1",Uarrocir:"\u2949",Ubrcy:"\u040E",ubrcy:"\u045E",Ubreve:"\u016C",ubreve:"\u016D",Ucirc:"\xDB",ucirc:"\xFB",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21C5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",Ufr:"\u{1D518}",ufr:"\u{1D532}",Ugrave:"\xD9",ugrave:"\xF9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",Umacr:"\u016A",umacr:"\u016B",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",uogon:"\u0173",Uopf:"\u{1D54C}",uopf:"\u{1D566}",UpArrowBar:"\u2912",uparrow:"\u2191",UpArrow:"\u2191",Uparrow:"\u21D1",UpArrowDownArrow:"\u21C5",updownarrow:"\u2195",UpDownArrow:"\u2195",Updownarrow:"\u21D5",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",Upsilon:"\u03A5",upsilon:"\u03C5",UpTeeArrow:"\u21A5",UpTee:"\u22A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",Uring:"\u016E",uring:"\u016F",urtri:"\u25F9",Uscr:"\u{1D4B0}",uscr:"\u{1D4CA}",utdot:"\u22F0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",Uuml:"\xDC",uuml:"\xFC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",vArr:"\u21D5",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vBar:"\u2AE8",Vbar:"\u2AEB",vBarv:"\u2AE9",Vcy:"\u0412",vcy:"\u0432",vdash:"\u22A2",vDash:"\u22A8",Vdash:"\u22A9",VDash:"\u22AB",Vdashl:"\u2AE6",veebar:"\u22BB",vee:"\u2228",Vee:"\u22C1",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",Vopf:"\u{1D54D}",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",Vscr:"\u{1D4B1}",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",Wedge:"\u22C0",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\u{1D51A}",wfr:"\u{1D534}",Wopf:"\u{1D54E}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\u{1D4B2}",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",Xfr:"\u{1D51B}",xfr:"\u{1D535}",xharr:"\u27F7",xhArr:"\u27FA",Xi:"\u039E",xi:"\u03BE",xlarr:"\u27F5",xlArr:"\u27F8",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",Xopf:"\u{1D54F}",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrarr:"\u27F6",xrArr:"\u27F9",Xscr:"\u{1D4B3}",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",Yacute:"\xDD",yacute:"\xFD",YAcy:"\u042F",yacy:"\u044F",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042B",ycy:"\u044B",yen:"\xA5",Yfr:"\u{1D51C}",yfr:"\u{1D536}",YIcy:"\u0407",yicy:"\u0457",Yopf:"\u{1D550}",yopf:"\u{1D56A}",Yscr:"\u{1D4B4}",yscr:"\u{1D4CE}",YUcy:"\u042E",yucy:"\u044E",yuml:"\xFF",Yuml:"\u0178",Zacute:"\u0179",zacute:"\u017A",Zcaron:"\u017D",zcaron:"\u017E",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017B",zdot:"\u017C",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",Zeta:"\u0396",zeta:"\u03B6",zfr:"\u{1D537}",Zfr:"\u2128",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",Zopf:"\u2124",Zscr:"\u{1D4B5}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"}}),e5=L((e,t)=>{t.exports={Aacute:"\xC1",aacute:"\xE1",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",AElig:"\xC6",aelig:"\xE6",Agrave:"\xC0",agrave:"\xE0",amp:"&",AMP:"&",Aring:"\xC5",aring:"\xE5",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",brvbar:"\xA6",Ccedil:"\xC7",ccedil:"\xE7",cedil:"\xB8",cent:"\xA2",copy:"\xA9",COPY:"\xA9",curren:"\xA4",deg:"\xB0",divide:"\xF7",Eacute:"\xC9",eacute:"\xE9",Ecirc:"\xCA",ecirc:"\xEA",Egrave:"\xC8",egrave:"\xE8",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",frac12:"\xBD",frac14:"\xBC",frac34:"\xBE",gt:">",GT:">",Iacute:"\xCD",iacute:"\xED",Icirc:"\xCE",icirc:"\xEE",iexcl:"\xA1",Igrave:"\xCC",igrave:"\xEC",iquest:"\xBF",Iuml:"\xCF",iuml:"\xEF",laquo:"\xAB",lt:"<",LT:"<",macr:"\xAF",micro:"\xB5",middot:"\xB7",nbsp:"\xA0",not:"\xAC",Ntilde:"\xD1",ntilde:"\xF1",Oacute:"\xD3",oacute:"\xF3",Ocirc:"\xD4",ocirc:"\xF4",Ograve:"\xD2",ograve:"\xF2",ordf:"\xAA",ordm:"\xBA",Oslash:"\xD8",oslash:"\xF8",Otilde:"\xD5",otilde:"\xF5",Ouml:"\xD6",ouml:"\xF6",para:"\xB6",plusmn:"\xB1",pound:"\xA3",quot:'"',QUOT:'"',raquo:"\xBB",reg:"\xAE",REG:"\xAE",sect:"\xA7",shy:"\xAD",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",szlig:"\xDF",THORN:"\xDE",thorn:"\xFE",times:"\xD7",Uacute:"\xDA",uacute:"\xFA",Ucirc:"\xDB",ucirc:"\xFB",Ugrave:"\xD9",ugrave:"\xF9",uml:"\xA8",Uuml:"\xDC",uuml:"\xFC",Yacute:"\xDD",yacute:"\xFD",yen:"\xA5",yuml:"\xFF"}}),yg=L((e,t)=>{t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}),t5=L((e,t)=>{t.exports={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}}),r5=L(e=>{"use strict";var t=e&&e.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(t5()),n=String.fromCodePoint||function(a){var i="";return a>65535&&(a-=65536,i+=String.fromCharCode(a>>>10&1023|55296),a=56320|a&1023),i+=String.fromCharCode(a),i};function o(a){return a>=55296&&a<=57343||a>1114111?"\uFFFD":(a in r.default&&(a=r.default[a]),n(a))}m(o,"decodeCodePoint"),e.default=o}),wm=L(e=>{"use strict";var t=e&&e.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var r=t(fg()),n=t(e5()),o=t(yg()),a=t(r5()),i=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=s(o.default),e.decodeHTMLStrict=s(r.default);function s(c){var d=u(c);return function(y){return String(y).replace(i,d)}}m(s,"getStrictDecoder");var l=m(function(c,d){return c{"use strict";var t=e&&e.__importDefault||function(v){return v&&v.__esModule?v:{default:v}};Object.defineProperty(e,"__esModule",{value:!0}),e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=void 0;var r=t(yg()),n=l(r.default),o=u(n);e.encodeXML=x(n);var a=t(fg()),i=l(a.default),s=u(i);e.encodeHTML=f(i,s),e.encodeNonAsciiHTML=x(i);function l(v){return Object.keys(v).sort().reduce(function(O,C){return O[v[C]]="&"+C+";",O},{})}m(l,"getInverseObj");function u(v){for(var O=[],C=[],I=0,P=Object.keys(v);I1?d(v):v.charCodeAt(0)).toString(16).toUpperCase()+";"}m(y,"singleCharReplacer");function f(v,O){return function(C){return C.replace(O,function(I){return v[I]}).replace(c,y)}}m(f,"getInverse");var h=new RegExp(o.source+"|"+c.source,"g");function g(v){return v.replace(h,y)}m(g,"escape"),e.escape=g;function _(v){return v.replace(o,y)}m(_,"escapeUTF8"),e.escapeUTF8=_;function x(v){return function(O){return O.replace(h,function(C){return v[C]||y(C)})}}m(x,"getASCIIEncoder")}),n5=L(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0;var t=wm(),r=Sm();function n(l,u){return(!u||u<=0?t.decodeXML:t.decodeHTML)(l)}m(n,"decode"),e.decode=n;function o(l,u){return(!u||u<=0?t.decodeXML:t.decodeHTMLStrict)(l)}m(o,"decodeStrict"),e.decodeStrict=o;function a(l,u){return(!u||u<=0?r.encodeXML:r.encodeHTML)(l)}m(a,"encode"),e.encode=a;var i=Sm();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:m(function(){return i.encodeXML},"get")}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:m(function(){return i.encodeHTML},"get")}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:m(function(){return i.encodeNonAsciiHTML},"get")}),Object.defineProperty(e,"escape",{enumerable:!0,get:m(function(){return i.escape},"get")}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:m(function(){return i.escapeUTF8},"get")}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:m(function(){return i.encodeHTML},"get")}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:m(function(){return i.encodeHTML},"get")});var s=wm();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:m(function(){return s.decodeXML},"get")}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:m(function(){return s.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:m(function(){return s.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:m(function(){return s.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:m(function(){return s.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:m(function(){return s.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:m(function(){return s.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:m(function(){return s.decodeXML},"get")})}),o5=L((e,t)=>{"use strict";function r(R,q){if(!(R instanceof q))throw new TypeError("Cannot call a class as a function")}m(r,"_classCallCheck");function n(R,q){for(var M=0;M=R.length?{done:!0}:{done:!1,value:R[Y++]}},"n"),e:m(function(ae){throw ae},"e"),f:te}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var ne=!0,re=!1,Z;return{s:m(function(){M=M.call(R)},"s"),n:m(function(){var ae=M.next();return ne=ae.done,ae},"n"),e:m(function(ae){re=!0,Z=ae},"e"),f:m(function(){try{!ne&&M.return!=null&&M.return()}finally{if(re)throw Z}},"f")}}m(a,"_createForOfIteratorHelper");function i(R,q){if(R){if(typeof R=="string")return s(R,q);var M=Object.prototype.toString.call(R).slice(8,-1);if(M==="Object"&&R.constructor&&(M=R.constructor.name),M==="Map"||M==="Set")return Array.from(R);if(M==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(M))return s(R,q)}}m(i,"_unsupportedIterableToArray");function s(R,q){(q==null||q>R.length)&&(q=R.length);for(var M=0,Y=new Array(q);M0?R*40+55:0,re=q>0?q*40+55:0,Z=M>0?M*40+55:0;Y[te]=f([ne,re,Z])}m(d,"setStyleColor");function y(R){for(var q=R.toString(16);q.length<2;)q="0"+q;return q}m(y,"toHexString");function f(R){var q=[],M=a(R),Y;try{for(M.s();!(Y=M.n()).done;){var te=Y.value;q.push(y(te))}}catch(ne){M.e(ne)}finally{M.f()}return"#"+q.join("")}m(f,"toColorHexString");function h(R,q,M,Y){var te;return q==="text"?te=I(M,Y):q==="display"?te=_(R,M,Y):q==="xterm256Foreground"?te=D(R,Y.colors[M]):q==="xterm256Background"?te=U(R,Y.colors[M]):q==="rgb"&&(te=g(R,M)),te}m(h,"generateOutput");function g(R,q){q=q.substring(2).slice(0,-1);var M=+q.substr(0,2),Y=q.substring(5).split(";"),te=Y.map(function(ne){return("0"+Number(ne).toString(16)).substr(-2)}).join("");return F(R,(M===38?"color:#":"background-color:#")+te)}m(g,"handleRgb");function _(R,q,M){q=parseInt(q,10);var Y={"-1":m(function(){return"
"},"_"),0:m(function(){return R.length&&x(R)},"_"),1:m(function(){return P(R,"b")},"_"),3:m(function(){return P(R,"i")},"_"),4:m(function(){return P(R,"u")},"_"),8:m(function(){return F(R,"display:none")},"_"),9:m(function(){return P(R,"strike")},"_"),22:m(function(){return F(R,"font-weight:normal;text-decoration:none;font-style:normal")},"_"),23:m(function(){return G(R,"i")},"_"),24:m(function(){return G(R,"u")},"_"),39:m(function(){return D(R,M.fg)},"_"),49:m(function(){return U(R,M.bg)},"_"),53:m(function(){return F(R,"text-decoration:overline")},"_")},te;return Y[q]?te=Y[q]():4"}).join("")}m(x,"resetStyles");function v(R,q){for(var M=[],Y=R;Y<=q;Y++)M.push(Y);return M}m(v,"range");function O(R){return function(q){return(R===null||q.category!==R)&&R!=="all"}}m(O,"notCategory");function C(R){R=parseInt(R,10);var q=null;return R===0?q="all":R===1?q="bold":2")}m(P,"pushTag");function F(R,q){return P(R,"span",q)}m(F,"pushStyle");function D(R,q){return P(R,"span","color:"+q)}m(D,"pushForegroundColor");function U(R,q){return P(R,"span","background-color:"+q)}m(U,"pushBackgroundColor");function G(R,q){var M;if(R.slice(-1)[0]===q&&(M=R.pop()),M)return""}m(G,"closeTag");function X(R,q,M){var Y=!1,te=3;function ne(){return""}m(ne,"remove");function re(qe,ce){return M("xterm256Foreground",ce),""}m(re,"removeXterm256Foreground");function Z(qe,ce){return M("xterm256Background",ce),""}m(Z,"removeXterm256Background");function ae(qe){return q.newline?M("display",-1):M("text",qe),""}m(ae,"newline");function le(qe,ce){Y=!0,ce.trim().length===0&&(ce="0"),ce=ce.trimRight(";").split(";");var Se=a(ce),Ft;try{for(Se.s();!(Ft=Se.n()).done;){var ft=Ft.value;M("display",ft)}}catch(wt){Se.e(wt)}finally{Se.f()}return""}m(le,"ansiMess");function Ee(qe){return M("text",qe),""}m(Ee,"realText");function pe(qe){return M("rgb",qe),""}m(pe,"rgb");var we=[{pattern:/^\x08+/,sub:ne},{pattern:/^\x1b\[[012]?K/,sub:ne},{pattern:/^\x1b\[\(B/,sub:ne},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:pe},{pattern:/^\x1b\[38;5;(\d+)m/,sub:re},{pattern:/^\x1b\[48;5;(\d+)m/,sub:Z},{pattern:/^\n/,sub:ae},{pattern:/^\r+\n/,sub:ae},{pattern:/^\r/,sub:ae},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:le},{pattern:/^\x1b\[\d?J/,sub:ne},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:ne},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:ne},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:Ee}];function Le(qe,ce){ce>te&&Y||(Y=!1,R=R.replace(qe.pattern,qe.sub))}m(Le,"process");var Ve=[],Ye=R,fe=Ye.length;e:for(;fe>0;){for(var Ie=0,ye=0,Re=we.length;ye{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof window<"u"?e=window:typeof self<"u"?e=self:e={},e})();function hg(){let e={setHandler:m(()=>{},"setHandler"),send:m(()=>{},"send")};return new qh({transport:e})}m(hg,"mockChannel");var mg=class{constructor(){this.promise=new Promise(t=>{this.resolve=()=>t(this.getChannel())})}channel;promise;resolve;getChannel=m(()=>{if(!this.channel){let t=hg();return this.setChannel(t),t}return this.channel},"getChannel");ready=m(()=>this.promise,"ready");hasChannel=m(()=>!!this.channel,"hasChannel");setChannel=m(t=>{this.channel=t,this.resolve()},"setChannel")};m(mg,"AddonStore");var a5=mg,Gi="__STORYBOOK_ADDONS_PREVIEW";function gg(){return Ue[Gi]||(Ue[Gi]=new a5),Ue[Gi]}m(gg,"getAddonsStore");var pr=gg(),bg=class{hookListsMap=void 0;mountedDecorators=void 0;prevMountedDecorators=void 0;currentHooks=void 0;nextHookIndex=void 0;currentPhase=void 0;currentEffects=void 0;prevEffects=void 0;currentDecoratorName=void 0;hasUpdates=void 0;currentContext=void 0;renderListener=m(t=>{t===this.currentContext?.id&&(this.triggerEffects(),this.currentContext=null,this.removeRenderListeners())},"renderListener");constructor(){this.init()}init(){this.hookListsMap=new WeakMap,this.mountedDecorators=new Set,this.prevMountedDecorators=new Set,this.currentHooks=[],this.nextHookIndex=0,this.currentPhase="NONE",this.currentEffects=[],this.prevEffects=[],this.currentDecoratorName=null,this.hasUpdates=!1,this.currentContext=null}clean(){this.prevEffects.forEach(t=>{t.destroy&&t.destroy()}),this.init(),this.removeRenderListeners()}getNextHook(){let t=this.currentHooks[this.nextHookIndex];return this.nextHookIndex+=1,t}triggerEffects(){this.prevEffects.forEach(t=>{!this.currentEffects.includes(t)&&t.destroy&&t.destroy()}),this.currentEffects.forEach(t=>{this.prevEffects.includes(t)||(t.destroy=t.create())}),this.prevEffects=this.currentEffects,this.currentEffects=[]}addRenderListeners(){this.removeRenderListeners(),pr.getChannel().on(xn,this.renderListener)}removeRenderListeners(){pr.getChannel().removeListener(xn,this.renderListener)}};m(bg,"HooksContext");var vg=bg;function es(e){let t=m((...r)=>{let{hooks:n}=typeof r[0]=="function"?r[1]:r[0],o=n.currentPhase,a=n.currentHooks,i=n.nextHookIndex,s=n.currentDecoratorName;n.currentDecoratorName=e.name,n.prevMountedDecorators.has(e)?(n.currentPhase="UPDATE",n.currentHooks=n.hookListsMap.get(e)||[]):(n.currentPhase="MOUNT",n.currentHooks=[],n.hookListsMap.set(e,n.currentHooks),n.prevMountedDecorators.add(e)),n.nextHookIndex=0;let l=Ue.STORYBOOK_HOOKS_CONTEXT;Ue.STORYBOOK_HOOKS_CONTEXT=n;let u=e(...r);if(Ue.STORYBOOK_HOOKS_CONTEXT=l,n.currentPhase==="UPDATE"&&n.getNextHook()!=null)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return n.currentPhase=o,n.currentHooks=a,n.nextHookIndex=i,n.currentDecoratorName=s,u},"hookified");return t.originalFn=e,t}m(es,"hookify");var Wi=0,i5=25,s5=m(e=>(t,r)=>{let n=e(es(t),r.map(o=>es(o)));return o=>{let{hooks:a}=o;a.prevMountedDecorators??=new Set,a.mountedDecorators=new Set([t,...r]),a.currentContext=o,a.hasUpdates=!1;let i=n(o);for(Wi=1;a.hasUpdates;)if(a.hasUpdates=!1,a.currentEffects=[],i=n(o),Wi+=1,Wi>i5)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return a.addRenderListeners(),i}},"applyHooks"),l5=m((e,t)=>e.length===t.length&&e.every((r,n)=>r===t[n]),"areDepsEqual"),Is=m(()=>new Error("Storybook preview hooks can only be called inside decorators and story functions."),"invalidHooksError");function Ps(){return Ue.STORYBOOK_HOOKS_CONTEXT||null}m(Ps,"getHooksContextOrNull");function na(){let e=Ps();if(e==null)throw Is();return e}m(na,"getHooksContextOrThrow");function xg(e,t,r){let n=na();if(n.currentPhase==="MOUNT"){r!=null&&!Array.isArray(r)&&me.warn(`${e} received a final argument that is not an array (instead, received ${r}). When specified, the final argument must be an array.`);let o={name:e,deps:r};return n.currentHooks.push(o),t(o),o}if(n.currentPhase==="UPDATE"){let o=n.getNextHook();if(o==null)throw new Error("Rendered more hooks than during the previous render.");return o.name!==e&&me.warn(`Storybook has detected a change in the order of Hooks${n.currentDecoratorName?` called by ${n.currentDecoratorName}`:""}. This will lead to bugs and errors if not fixed.`),r!=null&&o.deps==null&&me.warn(`${e} received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.`),r!=null&&o.deps!=null&&r.length!==o.deps.length&&me.warn(`The final argument passed to ${e} changed size between renders. The order and size of this array must remain constant. + `}),this.data=t}};Ce(lm,"UnknownArgTypesError");var Lo=lm,Ck=class extends Be{constructor(t){super({category:"ADDON_VITEST",code:1,message:ke` + Encountered an unsupported value "${t.value}" when setting the viewport ${t.dimension} dimension. + + The Storybook plugin only supports values in the following units: + - px, vh, vw, em, rem and %. + + You can either change the viewport for this story to use one of the supported units or skip the test by adding '!test' to the story's tags per https://storybook.js.org/docs/writing-stories/tags + `}),this.data=t}};Ce(Ck,"UnsupportedViewportDimensionError");w();S();A();var _k=Object.create,dm=Object.defineProperty,Ok=Object.getOwnPropertyDescriptor,Ik=Object.getOwnPropertyNames,kk=Object.getPrototypeOf,Pk=Object.prototype.hasOwnProperty,Rk=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Dk=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Ik(t))!Pk.call(e,o)&&o!==r&&dm(e,o,{get:()=>t[o],enumerable:!(n=Ok(t,o))||n.enumerable});return e},Fk=(e,t,r)=>(r=e!=null?_k(kk(e)):{},Dk(t||!e||!e.__esModule?dm(r,"default",{value:e,enumerable:!0}):r,e)),jk=Rk(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=function(){var t=Object.prototype.toString,r=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(o){return Object.keys(o).concat(Object.getOwnPropertySymbols(o))}:Object.keys;return function(o,a){return function i(s,l,u){var c,d,y,f=t.call(s),h=t.call(l);if(s===l)return!0;if(s==null||l==null)return!1;if(u.indexOf(s)>-1&&u.indexOf(l)>-1)return!0;if(u.push(s,l),f!=h||(c=n(s),d=n(l),c.length!=d.length||c.some(function(g){return!i(s[g],l[g],u)})))return!1;switch(f.slice(8,-1)){case"Symbol":return s.valueOf()==l.valueOf();case"Date":case"Number":return+s==+l||+s!=+s&&+l!=+l;case"RegExp":case"Function":case"String":case"Boolean":return""+s==""+l;case"Set":case"Map":c=s.entries(),d=l.entries();do if(!i((y=c.next()).value,d.next().value,u))return!1;while(!y.done);return!0;case"ArrayBuffer":s=new Uint8Array(s),l=new Uint8Array(l);case"DataView":s=new Uint8Array(s.buffer),l=new Uint8Array(l.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(s.length!=l.length)return!1;for(y=0;y`${r} ${n}${o}`).replace(/([a-z])([A-Z])/g,(t,r,n)=>`${r} ${n}`).replace(/([a-z])([0-9])/gi,(t,r,n)=>`${r} ${n}`).replace(/([0-9])([a-z])/gi,(t,r,n)=>`${r} ${n}`).replace(/(\s|^)(\w)/g,(t,r,n)=>`${r}${n.toUpperCase()}`).replace(/ +/g," ").trim()}var um=Fk(jk()),fm=e=>e.map(t=>typeof t<"u").filter(Boolean).length,Bk=(e,t)=>{let{exists:r,eq:n,neq:o,truthy:a}=e;if(fm([r,n,o,a])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:n,neq:o})}`);if(typeof n<"u")return(0,um.isEqual)(t,n);if(typeof o<"u")return!(0,um.isEqual)(t,o);if(typeof r<"u"){let i=typeof t<"u";return r?i:!i}return typeof a>"u"||a?!!t:!t},ym=(e,t,r)=>{if(!e.if)return!0;let{arg:n,global:o}=e.if;if(fm([n,o])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:o})}`);let a=n?t[n]:r[o];return Bk(e.if,a)},zi=e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),cm=(e,t)=>{let r=zi(e);if(r==="")throw new Error(`Invalid ${t} '${e}', must include alphanumeric characters`);return r},hm=(e,t)=>`${cm(e,"kind")}${t?`--${cm(t,"name")}`:""}`,mm=e=>Nk(e);function pm(e,t){return Array.isArray(t)?t.includes(e):e.match(t)}function qo(e,{includeStories:t,excludeStories:r}){return e!=="__esModule"&&(!t||pm(e,t))&&(!r||!pm(e,r))}var gm=(...e)=>{let t=e.reduce((r,n)=>(n.startsWith("!")?r.delete(n.slice(1)):r.add(n),r),new Set);return Array.from(t)};var Lk=Object.create,cs=Object.defineProperty,qk=Object.getOwnPropertyDescriptor,Mk=Object.getOwnPropertyNames,Uk=Object.getPrototypeOf,$k=Object.prototype.hasOwnProperty,m=(e,t)=>cs(e,"name",{value:t,configurable:!0}),Mo=(e=>typeof et<"u"?et:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof et<"u"?et:t)[r]}):e)(function(e){if(typeof et<"u")return et.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),L=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),zk=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Mk(t))!$k.call(e,o)&&o!==r&&cs(e,o,{get:()=>t[o],enumerable:!(n=qk(t,o))||n.enumerable});return e},Qe=(e,t,r)=>(r=e!=null?Lk(Uk(e)):{},zk(t||!e||!e.__esModule?cs(r,"default",{value:e,enumerable:!0}):r,e)),Fm=L((e,t)=>{var r=typeof window=="object"&&window&&window.Object===Object&&window;t.exports=r}),_t=L((e,t)=>{var r=Fm(),n=typeof self=="object"&&self&&self.Object===Object&&self,o=r||n||Function("return this")();t.exports=o}),On=L((e,t)=>{var r=_t(),n=r.Symbol;t.exports=n}),Vk=L((e,t)=>{var r=On(),n=Object.prototype,o=n.hasOwnProperty,a=n.toString,i=r?r.toStringTag:void 0;function s(l){var u=o.call(l,i),c=l[i];try{l[i]=void 0;var d=!0}catch{}var y=a.call(l);return d&&(u?l[i]=c:delete l[i]),y}m(s,"getRawTag"),t.exports=s}),Hk=L((e,t)=>{var r=Object.prototype,n=r.toString;function o(a){return n.call(a)}m(o,"objectToString"),t.exports=o}),Lr=L((e,t)=>{var r=On(),n=Vk(),o=Hk(),a="[object Null]",i="[object Undefined]",s=r?r.toStringTag:void 0;function l(u){return u==null?u===void 0?i:a:s&&s in Object(u)?n(u):o(u)}m(l,"baseGetTag"),t.exports=l}),In=L((e,t)=>{function r(n){var o=typeof n;return n!=null&&(o=="object"||o=="function")}m(r,"isObject"),t.exports=r}),jm=L((e,t)=>{var r=Lr(),n=In(),o="[object AsyncFunction]",a="[object Function]",i="[object GeneratorFunction]",s="[object Proxy]";function l(u){if(!n(u))return!1;var c=r(u);return c==a||c==i||c==o||c==s}m(l,"isFunction"),t.exports=l}),Jk=L((e,t)=>{var r=_t(),n=r["__core-js_shared__"];t.exports=n}),Gk=L((e,t)=>{var r=Jk(),n=function(){var a=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}();function o(a){return!!n&&n in a}m(o,"isMasked"),t.exports=o}),Nm=L((e,t)=>{var r=Function.prototype,n=r.toString;function o(a){if(a!=null){try{return n.call(a)}catch{}try{return a+""}catch{}}return""}m(o,"toSource"),t.exports=o}),Wk=L((e,t)=>{var r=jm(),n=Gk(),o=In(),a=Nm(),i=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,l=Function.prototype,u=Object.prototype,c=l.toString,d=u.hasOwnProperty,y=RegExp("^"+c.call(d).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function f(h){if(!o(h)||n(h))return!1;var g=r(h)?y:s;return g.test(a(h))}m(f,"baseIsNative"),t.exports=f}),Kk=L((e,t)=>{function r(n,o){return n?.[o]}m(r,"getValue"),t.exports=r}),ar=L((e,t)=>{var r=Wk(),n=Kk();function o(a,i){var s=n(a,i);return r(s)?s:void 0}m(o,"getNative"),t.exports=o}),Bm=L((e,t)=>{var r=ar(),n=function(){try{var o=r(Object,"defineProperty");return o({},"",{}),o}catch{}}();t.exports=n}),Lm=L((e,t)=>{var r=Bm();function n(o,a,i){a=="__proto__"&&r?r(o,a,{configurable:!0,enumerable:!0,value:i,writable:!0}):o[a]=i}m(n,"baseAssignValue"),t.exports=n}),Yk=L((e,t)=>{function r(n){return function(o,a,i){for(var s=-1,l=Object(o),u=i(o),c=u.length;c--;){var d=u[n?c:++s];if(a(l[d],d,l)===!1)break}return o}}m(r,"createBaseFor"),t.exports=r}),Xk=L((e,t)=>{var r=Yk(),n=r();t.exports=n}),Qk=L((e,t)=>{function r(n,o){for(var a=-1,i=Array(n);++a{function r(n){return n!=null&&typeof n=="object"}m(r,"isObjectLike"),t.exports=r}),Zk=L((e,t)=>{var r=Lr(),n=qr(),o="[object Arguments]";function a(i){return n(i)&&r(i)==o}m(a,"baseIsArguments"),t.exports=a}),ps=L((e,t)=>{var r=Zk(),n=qr(),o=Object.prototype,a=o.hasOwnProperty,i=o.propertyIsEnumerable,s=r(function(){return arguments}())?r:function(l){return n(l)&&a.call(l,"callee")&&!i.call(l,"callee")};t.exports=s}),Ot=L((e,t)=>{var r=Array.isArray;t.exports=r}),eP=L((e,t)=>{function r(){return!1}m(r,"stubFalse"),t.exports=r}),qm=L((e,t)=>{var r=_t(),n=eP(),o=typeof e=="object"&&e&&!e.nodeType&&e,a=o&&typeof t=="object"&&t&&!t.nodeType&&t,i=a&&a.exports===o,s=i?r.Buffer:void 0,l=s?s.isBuffer:void 0,u=l||n;t.exports=u}),ds=L((e,t)=>{var r=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function o(a,i){var s=typeof a;return i=i??r,!!i&&(s=="number"||s!="symbol"&&n.test(a))&&a>-1&&a%1==0&&a{var r=9007199254740991;function n(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=r}m(n,"isLength"),t.exports=n}),tP=L((e,t)=>{var r=Lr(),n=fs(),o=qr(),a="[object Arguments]",i="[object Array]",s="[object Boolean]",l="[object Date]",u="[object Error]",c="[object Function]",d="[object Map]",y="[object Number]",f="[object Object]",h="[object RegExp]",g="[object Set]",C="[object String]",b="[object WeakMap]",E="[object ArrayBuffer]",_="[object DataView]",T="[object Float32Array]",O="[object Float64Array]",I="[object Int8Array]",D="[object Int16Array]",R="[object Int32Array]",M="[object Uint8Array]",z="[object Uint8ClampedArray]",Y="[object Uint16Array]",Z="[object Uint32Array]",V={};V[T]=V[O]=V[I]=V[D]=V[R]=V[M]=V[z]=V[Y]=V[Z]=!0,V[a]=V[i]=V[E]=V[s]=V[_]=V[l]=V[u]=V[c]=V[d]=V[y]=V[f]=V[h]=V[g]=V[C]=V[b]=!1;function P(q){return o(q)&&n(q.length)&&!!V[r(q)]}m(P,"baseIsTypedArray"),t.exports=P}),rP=L((e,t)=>{function r(n){return function(o){return n(o)}}m(r,"baseUnary"),t.exports=r}),nP=L((e,t)=>{var r=Fm(),n=typeof e=="object"&&e&&!e.nodeType&&e,o=n&&typeof t=="object"&&t&&!t.nodeType&&t,a=o&&o.exports===n,i=a&&r.process,s=function(){try{var l=o&&o.require&&o.require("util").types;return l||i&&i.binding&&i.binding("util")}catch{}}();t.exports=s}),Mm=L((e,t)=>{var r=tP(),n=rP(),o=nP(),a=o&&o.isTypedArray,i=a?n(a):r;t.exports=i}),Um=L((e,t)=>{var r=Qk(),n=ps(),o=Ot(),a=qm(),i=ds(),s=Mm(),l=Object.prototype,u=l.hasOwnProperty;function c(d,y){var f=o(d),h=!f&&n(d),g=!f&&!h&&a(d),C=!f&&!h&&!g&&s(d),b=f||h||g||C,E=b?r(d.length,String):[],_=E.length;for(var T in d)(y||u.call(d,T))&&!(b&&(T=="length"||g&&(T=="offset"||T=="parent")||C&&(T=="buffer"||T=="byteLength"||T=="byteOffset")||i(T,_)))&&E.push(T);return E}m(c,"arrayLikeKeys"),t.exports=c}),$m=L((e,t)=>{var r=Object.prototype;function n(o){var a=o&&o.constructor,i=typeof a=="function"&&a.prototype||r;return o===i}m(n,"isPrototype"),t.exports=n}),zm=L((e,t)=>{function r(n,o){return function(a){return n(o(a))}}m(r,"overArg"),t.exports=r}),oP=L((e,t)=>{var r=zm(),n=r(Object.keys,Object);t.exports=n}),aP=L((e,t)=>{var r=$m(),n=oP(),o=Object.prototype,a=o.hasOwnProperty;function i(s){if(!r(s))return n(s);var l=[];for(var u in Object(s))a.call(s,u)&&u!="constructor"&&l.push(u);return l}m(i,"baseKeys"),t.exports=i}),Vm=L((e,t)=>{var r=jm(),n=fs();function o(a){return a!=null&&n(a.length)&&!r(a)}m(o,"isArrayLike"),t.exports=o}),ys=L((e,t)=>{var r=Um(),n=aP(),o=Vm();function a(i){return o(i)?r(i):n(i)}m(a,"keys"),t.exports=a}),iP=L((e,t)=>{var r=Xk(),n=ys();function o(a,i){return a&&r(a,i,n)}m(o,"baseForOwn"),t.exports=o}),sP=L((e,t)=>{function r(){this.__data__=[],this.size=0}m(r,"listCacheClear"),t.exports=r}),hs=L((e,t)=>{function r(n,o){return n===o||n!==n&&o!==o}m(r,"eq"),t.exports=r}),Wo=L((e,t)=>{var r=hs();function n(o,a){for(var i=o.length;i--;)if(r(o[i][0],a))return i;return-1}m(n,"assocIndexOf"),t.exports=n}),lP=L((e,t)=>{var r=Wo(),n=Array.prototype,o=n.splice;function a(i){var s=this.__data__,l=r(s,i);if(l<0)return!1;var u=s.length-1;return l==u?s.pop():o.call(s,l,1),--this.size,!0}m(a,"listCacheDelete"),t.exports=a}),uP=L((e,t)=>{var r=Wo();function n(o){var a=this.__data__,i=r(a,o);return i<0?void 0:a[i][1]}m(n,"listCacheGet"),t.exports=n}),cP=L((e,t)=>{var r=Wo();function n(o){return r(this.__data__,o)>-1}m(n,"listCacheHas"),t.exports=n}),pP=L((e,t)=>{var r=Wo();function n(o,a){var i=this.__data__,s=r(i,o);return s<0?(++this.size,i.push([o,a])):i[s][1]=a,this}m(n,"listCacheSet"),t.exports=n}),Ko=L((e,t)=>{var r=sP(),n=lP(),o=uP(),a=cP(),i=pP();function s(l){var u=-1,c=l==null?0:l.length;for(this.clear();++u{var r=Ko();function n(){this.__data__=new r,this.size=0}m(n,"stackClear"),t.exports=n}),fP=L((e,t)=>{function r(n){var o=this.__data__,a=o.delete(n);return this.size=o.size,a}m(r,"stackDelete"),t.exports=r}),yP=L((e,t)=>{function r(n){return this.__data__.get(n)}m(r,"stackGet"),t.exports=r}),hP=L((e,t)=>{function r(n){return this.__data__.has(n)}m(r,"stackHas"),t.exports=r}),ms=L((e,t)=>{var r=ar(),n=_t(),o=r(n,"Map");t.exports=o}),Yo=L((e,t)=>{var r=ar(),n=r(Object,"create");t.exports=n}),mP=L((e,t)=>{var r=Yo();function n(){this.__data__=r?r(null):{},this.size=0}m(n,"hashClear"),t.exports=n}),gP=L((e,t)=>{function r(n){var o=this.has(n)&&delete this.__data__[n];return this.size-=o?1:0,o}m(r,"hashDelete"),t.exports=r}),bP=L((e,t)=>{var r=Yo(),n="__lodash_hash_undefined__",o=Object.prototype,a=o.hasOwnProperty;function i(s){var l=this.__data__;if(r){var u=l[s];return u===n?void 0:u}return a.call(l,s)?l[s]:void 0}m(i,"hashGet"),t.exports=i}),vP=L((e,t)=>{var r=Yo(),n=Object.prototype,o=n.hasOwnProperty;function a(i){var s=this.__data__;return r?s[i]!==void 0:o.call(s,i)}m(a,"hashHas"),t.exports=a}),EP=L((e,t)=>{var r=Yo(),n="__lodash_hash_undefined__";function o(a,i){var s=this.__data__;return this.size+=this.has(a)?0:1,s[a]=r&&i===void 0?n:i,this}m(o,"hashSet"),t.exports=o}),xP=L((e,t)=>{var r=mP(),n=gP(),o=bP(),a=vP(),i=EP();function s(l){var u=-1,c=l==null?0:l.length;for(this.clear();++u{var r=xP(),n=Ko(),o=ms();function a(){this.size=0,this.__data__={hash:new r,map:new(o||n),string:new r}}m(a,"mapCacheClear"),t.exports=a}),SP=L((e,t)=>{function r(n){var o=typeof n;return o=="string"||o=="number"||o=="symbol"||o=="boolean"?n!=="__proto__":n===null}m(r,"isKeyable"),t.exports=r}),Xo=L((e,t)=>{var r=SP();function n(o,a){var i=o.__data__;return r(a)?i[typeof a=="string"?"string":"hash"]:i.map}m(n,"getMapData"),t.exports=n}),AP=L((e,t)=>{var r=Xo();function n(o){var a=r(this,o).delete(o);return this.size-=a?1:0,a}m(n,"mapCacheDelete"),t.exports=n}),TP=L((e,t)=>{var r=Xo();function n(o){return r(this,o).get(o)}m(n,"mapCacheGet"),t.exports=n}),CP=L((e,t)=>{var r=Xo();function n(o){return r(this,o).has(o)}m(n,"mapCacheHas"),t.exports=n}),_P=L((e,t)=>{var r=Xo();function n(o,a){var i=r(this,o),s=i.size;return i.set(o,a),this.size+=i.size==s?0:1,this}m(n,"mapCacheSet"),t.exports=n}),gs=L((e,t)=>{var r=wP(),n=AP(),o=TP(),a=CP(),i=_P();function s(l){var u=-1,c=l==null?0:l.length;for(this.clear();++u{var r=Ko(),n=ms(),o=gs(),a=200;function i(s,l){var u=this.__data__;if(u instanceof r){var c=u.__data__;if(!n||c.length{var r=Ko(),n=dP(),o=fP(),a=yP(),i=hP(),s=OP();function l(u){var c=this.__data__=new r(u);this.size=c.size}m(l,"Stack"),l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=a,l.prototype.has=i,l.prototype.set=s,t.exports=l}),IP=L((e,t)=>{var r="__lodash_hash_undefined__";function n(o){return this.__data__.set(o,r),this}m(n,"setCacheAdd"),t.exports=n}),kP=L((e,t)=>{function r(n){return this.__data__.has(n)}m(r,"setCacheHas"),t.exports=r}),PP=L((e,t)=>{var r=gs(),n=IP(),o=kP();function a(i){var s=-1,l=i==null?0:i.length;for(this.__data__=new r;++s{function r(n,o){for(var a=-1,i=n==null?0:n.length;++a{function r(n,o){return n.has(o)}m(r,"cacheHas"),t.exports=r}),Jm=L((e,t)=>{var r=PP(),n=RP(),o=DP(),a=1,i=2;function s(l,u,c,d,y,f){var h=c&a,g=l.length,C=u.length;if(g!=C&&!(h&&C>g))return!1;var b=f.get(l),E=f.get(u);if(b&&E)return b==u&&E==l;var _=-1,T=!0,O=c&i?new r:void 0;for(f.set(l,u),f.set(u,l);++_{var r=_t(),n=r.Uint8Array;t.exports=n}),jP=L((e,t)=>{function r(n){var o=-1,a=Array(n.size);return n.forEach(function(i,s){a[++o]=[s,i]}),a}m(r,"mapToArray"),t.exports=r}),NP=L((e,t)=>{function r(n){var o=-1,a=Array(n.size);return n.forEach(function(i){a[++o]=i}),a}m(r,"setToArray"),t.exports=r}),BP=L((e,t)=>{var r=On(),n=FP(),o=hs(),a=Jm(),i=jP(),s=NP(),l=1,u=2,c="[object Boolean]",d="[object Date]",y="[object Error]",f="[object Map]",h="[object Number]",g="[object RegExp]",C="[object Set]",b="[object String]",E="[object Symbol]",_="[object ArrayBuffer]",T="[object DataView]",O=r?r.prototype:void 0,I=O?O.valueOf:void 0;function D(R,M,z,Y,Z,V,P){switch(z){case T:if(R.byteLength!=M.byteLength||R.byteOffset!=M.byteOffset)return!1;R=R.buffer,M=M.buffer;case _:return!(R.byteLength!=M.byteLength||!V(new n(R),new n(M)));case c:case d:case h:return o(+R,+M);case y:return R.name==M.name&&R.message==M.message;case g:case b:return R==M+"";case f:var q=i;case C:var J=Y&l;if(q||(q=s),R.size!=M.size&&!J)return!1;var X=P.get(R);if(X)return X==M;Y|=u,P.set(R,M);var te=a(q(R),q(M),Y,Z,V,P);return P.delete(R),te;case E:if(I)return I.call(R)==I.call(M)}return!1}m(D,"equalByTag"),t.exports=D}),bs=L((e,t)=>{function r(n,o){for(var a=-1,i=o.length,s=n.length;++a{var r=bs(),n=Ot();function o(a,i,s){var l=i(a);return n(a)?l:r(l,s(a))}m(o,"baseGetAllKeys"),t.exports=o}),LP=L((e,t)=>{function r(n,o){for(var a=-1,i=n==null?0:n.length,s=0,l=[];++a{function r(){return[]}m(r,"stubArray"),t.exports=r}),Km=L((e,t)=>{var r=LP(),n=Wm(),o=Object.prototype,a=o.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(l){return l==null?[]:(l=Object(l),r(i(l),function(u){return a.call(l,u)}))}:n;t.exports=s}),qP=L((e,t)=>{var r=Gm(),n=Km(),o=ys();function a(i){return r(i,o,n)}m(a,"getAllKeys"),t.exports=a}),MP=L((e,t)=>{var r=qP(),n=1,o=Object.prototype,a=o.hasOwnProperty;function i(s,l,u,c,d,y){var f=u&n,h=r(s),g=h.length,C=r(l),b=C.length;if(g!=b&&!f)return!1;for(var E=g;E--;){var _=h[E];if(!(f?_ in l:a.call(l,_)))return!1}var T=y.get(s),O=y.get(l);if(T&&O)return T==l&&O==s;var I=!0;y.set(s,l),y.set(l,s);for(var D=f;++E{var r=ar(),n=_t(),o=r(n,"DataView");t.exports=o}),$P=L((e,t)=>{var r=ar(),n=_t(),o=r(n,"Promise");t.exports=o}),zP=L((e,t)=>{var r=ar(),n=_t(),o=r(n,"Set");t.exports=o}),VP=L((e,t)=>{var r=ar(),n=_t(),o=r(n,"WeakMap");t.exports=o}),HP=L((e,t)=>{var r=UP(),n=ms(),o=$P(),a=zP(),i=VP(),s=Lr(),l=Nm(),u="[object Map]",c="[object Object]",d="[object Promise]",y="[object Set]",f="[object WeakMap]",h="[object DataView]",g=l(r),C=l(n),b=l(o),E=l(a),_=l(i),T=s;(r&&T(new r(new ArrayBuffer(1)))!=h||n&&T(new n)!=u||o&&T(o.resolve())!=d||a&&T(new a)!=y||i&&T(new i)!=f)&&(T=m(function(O){var I=s(O),D=I==c?O.constructor:void 0,R=D?l(D):"";if(R)switch(R){case g:return h;case C:return u;case b:return d;case E:return y;case _:return f}return I},"getTag")),t.exports=T}),JP=L((e,t)=>{var r=Hm(),n=Jm(),o=BP(),a=MP(),i=HP(),s=Ot(),l=qm(),u=Mm(),c=1,d="[object Arguments]",y="[object Array]",f="[object Object]",h=Object.prototype,g=h.hasOwnProperty;function C(b,E,_,T,O,I){var D=s(b),R=s(E),M=D?y:i(b),z=R?y:i(E);M=M==d?f:M,z=z==d?f:z;var Y=M==f,Z=z==f,V=M==z;if(V&&l(b)){if(!l(E))return!1;D=!0,Y=!1}if(V&&!Y)return I||(I=new r),D||u(b)?n(b,E,_,T,O,I):o(b,E,M,_,T,O,I);if(!(_&c)){var P=Y&&g.call(b,"__wrapped__"),q=Z&&g.call(E,"__wrapped__");if(P||q){var J=P?b.value():b,X=q?E.value():E;return I||(I=new r),O(J,X,_,T,I)}}return V?(I||(I=new r),a(b,E,_,T,O,I)):!1}m(C,"baseIsEqualDeep"),t.exports=C}),Ym=L((e,t)=>{var r=JP(),n=qr();function o(a,i,s,l,u){return a===i?!0:a==null||i==null||!n(a)&&!n(i)?a!==a&&i!==i:r(a,i,s,l,o,u)}m(o,"baseIsEqual"),t.exports=o}),GP=L((e,t)=>{var r=Hm(),n=Ym(),o=1,a=2;function i(s,l,u,c){var d=u.length,y=d,f=!c;if(s==null)return!y;for(s=Object(s);d--;){var h=u[d];if(f&&h[2]?h[1]!==s[h[0]]:!(h[0]in s))return!1}for(;++d{var r=In();function n(o){return o===o&&!r(o)}m(n,"isStrictComparable"),t.exports=n}),WP=L((e,t)=>{var r=Xm(),n=ys();function o(a){for(var i=n(a),s=i.length;s--;){var l=i[s],u=a[l];i[s]=[l,u,r(u)]}return i}m(o,"getMatchData"),t.exports=o}),Qm=L((e,t)=>{function r(n,o){return function(a){return a==null?!1:a[n]===o&&(o!==void 0||n in Object(a))}}m(r,"matchesStrictComparable"),t.exports=r}),KP=L((e,t)=>{var r=GP(),n=WP(),o=Qm();function a(i){var s=n(i);return s.length==1&&s[0][2]?o(s[0][0],s[0][1]):function(l){return l===i||r(l,i,s)}}m(a,"baseMatches"),t.exports=a}),vs=L((e,t)=>{var r=Lr(),n=qr(),o="[object Symbol]";function a(i){return typeof i=="symbol"||n(i)&&r(i)==o}m(a,"isSymbol"),t.exports=a}),Es=L((e,t)=>{var r=Ot(),n=vs(),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;function i(s,l){if(r(s))return!1;var u=typeof s;return u=="number"||u=="symbol"||u=="boolean"||s==null||n(s)?!0:a.test(s)||!o.test(s)||l!=null&&s in Object(l)}m(i,"isKey"),t.exports=i}),YP=L((e,t)=>{var r=gs(),n="Expected a function";function o(a,i){if(typeof a!="function"||i!=null&&typeof i!="function")throw new TypeError(n);var s=m(function(){var l=arguments,u=i?i.apply(this,l):l[0],c=s.cache;if(c.has(u))return c.get(u);var d=a.apply(this,l);return s.cache=c.set(u,d)||c,d},"memoized");return s.cache=new(o.Cache||r),s}m(o,"memoize"),o.Cache=r,t.exports=o}),XP=L((e,t)=>{var r=YP(),n=500;function o(a){var i=r(a,function(l){return s.size===n&&s.clear(),l}),s=i.cache;return i}m(o,"memoizeCapped"),t.exports=o}),QP=L((e,t)=>{var r=XP(),n=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r(function(i){var s=[];return i.charCodeAt(0)===46&&s.push(""),i.replace(n,function(l,u,c,d){s.push(c?d.replace(o,"$1"):u||l)}),s});t.exports=a}),Zm=L((e,t)=>{function r(n,o){for(var a=-1,i=n==null?0:n.length,s=Array(i);++a{var r=On(),n=Zm(),o=Ot(),a=vs(),i=1/0,s=r?r.prototype:void 0,l=s?s.toString:void 0;function u(c){if(typeof c=="string")return c;if(o(c))return n(c,u)+"";if(a(c))return l?l.call(c):"";var d=c+"";return d=="0"&&1/c==-i?"-0":d}m(u,"baseToString"),t.exports=u}),eR=L((e,t)=>{var r=ZP();function n(o){return o==null?"":r(o)}m(n,"toString"),t.exports=n}),Qo=L((e,t)=>{var r=Ot(),n=Es(),o=QP(),a=eR();function i(s,l){return r(s)?s:n(s,l)?[s]:o(a(s))}m(i,"castPath"),t.exports=i}),kn=L((e,t)=>{var r=vs(),n=1/0;function o(a){if(typeof a=="string"||r(a))return a;var i=a+"";return i=="0"&&1/a==-n?"-0":i}m(o,"toKey"),t.exports=o}),xs=L((e,t)=>{var r=Qo(),n=kn();function o(a,i){i=r(i,a);for(var s=0,l=i.length;a!=null&&s{var r=xs();function n(o,a,i){var s=o==null?void 0:r(o,a);return s===void 0?i:s}m(n,"get"),t.exports=n}),rR=L((e,t)=>{function r(n,o){return n!=null&&o in Object(n)}m(r,"baseHasIn"),t.exports=r}),nR=L((e,t)=>{var r=Qo(),n=ps(),o=Ot(),a=ds(),i=fs(),s=kn();function l(u,c,d){c=r(c,u);for(var y=-1,f=c.length,h=!1;++y{var r=rR(),n=nR();function o(a,i){return a!=null&&n(a,i,r)}m(o,"hasIn"),t.exports=o}),oR=L((e,t)=>{var r=Ym(),n=tR(),o=eg(),a=Es(),i=Xm(),s=Qm(),l=kn(),u=1,c=2;function d(y,f){return a(y)&&i(f)?s(l(y),f):function(h){var g=n(h,y);return g===void 0&&g===f?o(h,y):r(f,g,u|c)}}m(d,"baseMatchesProperty"),t.exports=d}),tg=L((e,t)=>{function r(n){return n}m(r,"identity"),t.exports=r}),aR=L((e,t)=>{function r(n){return function(o){return o?.[n]}}m(r,"baseProperty"),t.exports=r}),iR=L((e,t)=>{var r=xs();function n(o){return function(a){return r(a,o)}}m(n,"basePropertyDeep"),t.exports=n}),sR=L((e,t)=>{var r=aR(),n=iR(),o=Es(),a=kn();function i(s){return o(s)?r(a(s)):n(s)}m(i,"property"),t.exports=i}),rg=L((e,t)=>{var r=KP(),n=oR(),o=tg(),a=Ot(),i=sR();function s(l){return typeof l=="function"?l:l==null?o:typeof l=="object"?a(l)?n(l[0],l[1]):r(l):i(l)}m(s,"baseIteratee"),t.exports=s}),Zo=L((e,t)=>{var r=Lm(),n=iP(),o=rg();function a(i,s){var l={};return s=o(s,3),n(i,function(u,c,d){r(l,c,s(u,c,d))}),l}m(a,"mapValues"),t.exports=a}),lR=L((e,t)=>{var r=Lm(),n=hs(),o=Object.prototype,a=o.hasOwnProperty;function i(s,l,u){var c=s[l];(!(a.call(s,l)&&n(c,u))||u===void 0&&!(l in s))&&r(s,l,u)}m(i,"assignValue"),t.exports=i}),uR=L((e,t)=>{var r=lR(),n=Qo(),o=ds(),a=In(),i=kn();function s(l,u,c,d){if(!a(l))return l;u=n(u,l);for(var y=-1,f=u.length,h=f-1,g=l;g!=null&&++y{var r=xs(),n=uR(),o=Qo();function a(i,s,l){for(var u=-1,c=s.length,d={};++u{var r=ng(),n=eg();function o(a,i){return r(a,i,function(s,l){return n(a,l)})}m(o,"basePick"),t.exports=o}),pR=L((e,t)=>{var r=On(),n=ps(),o=Ot(),a=r?r.isConcatSpreadable:void 0;function i(s){return o(s)||n(s)||!!(a&&s&&s[a])}m(i,"isFlattenable"),t.exports=i}),dR=L((e,t)=>{var r=bs(),n=pR();function o(a,i,s,l,u){var c=-1,d=a.length;for(s||(s=n),u||(u=[]);++c0&&s(y)?i>1?o(y,i-1,s,l,u):r(u,y):l||(u[u.length]=y)}return u}m(o,"baseFlatten"),t.exports=o}),fR=L((e,t)=>{var r=dR();function n(o){var a=o==null?0:o.length;return a?r(o,1):[]}m(n,"flatten"),t.exports=n}),yR=L((e,t)=>{function r(n,o,a){switch(a.length){case 0:return n.call(o);case 1:return n.call(o,a[0]);case 2:return n.call(o,a[0],a[1]);case 3:return n.call(o,a[0],a[1],a[2])}return n.apply(o,a)}m(r,"apply"),t.exports=r}),hR=L((e,t)=>{var r=yR(),n=Math.max;function o(a,i,s){return i=n(i===void 0?a.length-1:i,0),function(){for(var l=arguments,u=-1,c=n(l.length-i,0),d=Array(c);++u{function r(n){return function(){return n}}m(r,"constant"),t.exports=r}),gR=L((e,t)=>{var r=mR(),n=Bm(),o=tg(),a=n?function(i,s){return n(i,"toString",{configurable:!0,enumerable:!1,value:r(s),writable:!0})}:o;t.exports=a}),bR=L((e,t)=>{var r=800,n=16,o=Date.now;function a(i){var s=0,l=0;return function(){var u=o(),c=n-(u-l);if(l=u,c>0){if(++s>=r)return arguments[0]}else s=0;return i.apply(void 0,arguments)}}m(a,"shortOut"),t.exports=a}),vR=L((e,t)=>{var r=gR(),n=bR(),o=n(r);t.exports=o}),ER=L((e,t)=>{var r=fR(),n=hR(),o=vR();function a(i){return o(n(i,void 0,r),i+"")}m(a,"flatRest"),t.exports=a}),xR=L((e,t)=>{var r=cR(),n=ER(),o=n(function(a,i){return a==null?{}:r(a,i)});t.exports=o}),og=L((e,t)=>{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"||typeof window<"u"?n=window:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){var r,n,o;return m(function a(i,s,l){function u(y,f){if(!s[y]){if(!i[y]){var h=typeof Mo=="function"&&Mo;if(!f&&h)return h(y,!0);if(c)return c(y,!0);var g=new Error("Cannot find module '"+y+"'");throw g.code="MODULE_NOT_FOUND",g}var C=s[y]={exports:{}};i[y][0].call(C.exports,function(b){var E=i[y][1][b];return u(E||b)},C,C.exports,a,i,s,l)}return s[y].exports}m(u,"s");for(var c=typeof Mo=="function"&&Mo,d=0;d=0)return this.lastItem=this.list[c],this.list[c].val},l.prototype.set=function(u,c){var d;return this.lastItem&&this.isEqual(this.lastItem.key,u)?(this.lastItem.val=c,this):(d=this.indexOf(u),d>=0?(this.lastItem=this.list[d],this.list[d].val=c,this):(this.lastItem={key:u,val:c},this.list.push(this.lastItem),this.size++,this))},l.prototype.delete=function(u){var c;if(this.lastItem&&this.isEqual(this.lastItem.key,u)&&(this.lastItem=void 0),c=this.indexOf(u),c>=0)return this.size--,this.list.splice(c,1)[0]},l.prototype.has=function(u){var c;return this.lastItem&&this.isEqual(this.lastItem.key,u)?!0:(c=this.indexOf(u),c>=0?(this.lastItem=this.list[c],!0):!1)},l.prototype.forEach=function(u,c){var d;for(d=0;d0&&(O[T]={cacheItem:b,arg:arguments[T]},I?u(h,O):h.push(O),h.length>y&&c(h.shift())),C.wasMemoized=I,C.numArgs=T+1,_},"memoizerific");return C.limit=y,C.wasMemoized=!1,C.cache=f,C.lru=h,C}};function u(y,f){var h=y.length,g=f.length,C,b,E;for(b=0;b=0&&(h=y[C],g=h.cacheItem.get(h.arg),!g||!g.size);C--)h.cacheItem.delete(h.arg)}m(c,"removeCachedResult");function d(y,f){return y===f||y!==y&&f!==f}m(d,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})}),ag=L((e,t)=>{var r=zm(),n=r(Object.getPrototypeOf,Object);t.exports=n}),ws=L((e,t)=>{var r=Lr(),n=ag(),o=qr(),a="[object Object]",i=Function.prototype,s=Object.prototype,l=i.toString,u=s.hasOwnProperty,c=l.call(Object);function d(y){if(!o(y)||r(y)!=a)return!1;var f=n(y);if(f===null)return!0;var h=u.call(f,"constructor")&&f.constructor;return typeof h=="function"&&h instanceof h&&l.call(h)==c}m(d,"isPlainObject"),t.exports=d}),wR=L((e,t)=>{var r=bs(),n=ag(),o=Km(),a=Wm(),i=Object.getOwnPropertySymbols,s=i?function(l){for(var u=[];l;)r(u,o(l)),l=n(l);return u}:a;t.exports=s}),SR=L((e,t)=>{function r(n){var o=[];if(n!=null)for(var a in Object(n))o.push(a);return o}m(r,"nativeKeysIn"),t.exports=r}),AR=L((e,t)=>{var r=In(),n=$m(),o=SR(),a=Object.prototype,i=a.hasOwnProperty;function s(l){if(!r(l))return o(l);var u=n(l),c=[];for(var d in l)d=="constructor"&&(u||!i.call(l,d))||c.push(d);return c}m(s,"baseKeysIn"),t.exports=s}),TR=L((e,t)=>{var r=Um(),n=AR(),o=Vm();function a(i){return o(i)?r(i,!0):n(i)}m(a,"keysIn"),t.exports=a}),CR=L((e,t)=>{var r=Gm(),n=wR(),o=TR();function a(i){return r(i,o,n)}m(a,"getAllKeysIn"),t.exports=a}),_R=L((e,t)=>{var r=Zm(),n=rg(),o=ng(),a=CR();function i(s,l){if(s==null)return{};var u=r(a(s),function(c){return[c]});return l=n(l),o(s,u,function(c,d){return l(c,d[0])})}m(i,"pickBy"),t.exports=i}),OR=L((e,t)=>{"use strict";t.exports=Error}),IR=L((e,t)=>{"use strict";t.exports=EvalError}),kR=L((e,t)=>{"use strict";t.exports=RangeError}),PR=L((e,t)=>{"use strict";t.exports=ReferenceError}),ig=L((e,t)=>{"use strict";t.exports=SyntaxError}),Pn=L((e,t)=>{"use strict";t.exports=TypeError}),RR=L((e,t)=>{"use strict";t.exports=URIError}),DR=L((e,t)=>{"use strict";t.exports=m(function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),o=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var a=42;r[n]=a;for(n in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var i=Object.getOwnPropertySymbols(r);if(i.length!==1||i[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(r,n);if(s.value!==a||s.enumerable!==!0)return!1}return!0},"hasSymbols")}),FR=L((e,t)=>{"use strict";var r=typeof Symbol<"u"&&Symbol,n=DR();t.exports=m(function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()},"hasNativeSymbols")}),jR=L((e,t)=>{"use strict";var r={__proto__:null,foo:{}},n=Object;t.exports=m(function(){return{__proto__:r}.foo===r.foo&&!(r instanceof n)},"hasProto")}),NR=L((e,t)=>{"use strict";var r="Function.prototype.bind called on incompatible ",n=Object.prototype.toString,o=Math.max,a="[object Function]",i=m(function(u,c){for(var d=[],y=0;y{"use strict";var r=NR();t.exports=Function.prototype.bind||r}),BR=L((e,t)=>{"use strict";var r=Function.prototype.call,n=Object.prototype.hasOwnProperty,o=Ss();t.exports=o.call(r,n)}),Mr=L((e,t)=>{"use strict";var r,n=OR(),o=IR(),a=kR(),i=PR(),s=ig(),l=Pn(),u=RR(),c=Function,d=m(function(re){try{return c('"use strict"; return ('+re+").constructor;")()}catch{}},"getEvalledConstructor"),y=Object.getOwnPropertyDescriptor;if(y)try{y({},"")}catch{y=null}var f=m(function(){throw new l},"throwTypeError"),h=y?function(){try{return arguments.callee,f}catch{try{return y(arguments,"callee").get}catch{return f}}}():f,g=FR()(),C=jR()(),b=Object.getPrototypeOf||(C?function(re){return re.__proto__}:null),E={},_=typeof Uint8Array>"u"||!b?r:b(Uint8Array),T={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":g&&b?b([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":E,"%AsyncGenerator%":E,"%AsyncGeneratorFunction%":E,"%AsyncIteratorPrototype%":E,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":n,"%eval%":eval,"%EvalError%":o,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":c,"%GeneratorFunction%":E,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":g&&b?b(b([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!g||!b?r:b(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":a,"%ReferenceError%":i,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!g||!b?r:b(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":g&&b?b(""[Symbol.iterator]()):r,"%Symbol%":g?Symbol:r,"%SyntaxError%":s,"%ThrowTypeError%":h,"%TypedArray%":_,"%TypeError%":l,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":u,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet};if(b)try{null.error}catch(re){O=b(b(re)),T["%Error.prototype%"]=O}var O,I=m(function re(ee){var oe;if(ee==="%AsyncFunction%")oe=d("async function () {}");else if(ee==="%GeneratorFunction%")oe=d("function* () {}");else if(ee==="%AsyncGeneratorFunction%")oe=d("async function* () {}");else if(ee==="%AsyncGenerator%"){var ie=re("%AsyncGeneratorFunction%");ie&&(oe=ie.prototype)}else if(ee==="%AsyncIteratorPrototype%"){var ce=re("%AsyncGenerator%");ce&&b&&(oe=b(ce.prototype))}return T[ee]=oe,oe},"doEval"),D={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},R=Ss(),M=BR(),z=R.call(Function.call,Array.prototype.concat),Y=R.call(Function.apply,Array.prototype.splice),Z=R.call(Function.call,String.prototype.replace),V=R.call(Function.call,String.prototype.slice),P=R.call(Function.call,RegExp.prototype.exec),q=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,J=/\\(\\)?/g,X=m(function(re){var ee=V(re,0,1),oe=V(re,-1);if(ee==="%"&&oe!=="%")throw new s("invalid intrinsic syntax, expected closing `%`");if(oe==="%"&&ee!=="%")throw new s("invalid intrinsic syntax, expected opening `%`");var ie=[];return Z(re,q,function(ce,be,pe,ye){ie[ie.length]=pe?Z(ye,J,"$1"):be||ce}),ie},"stringToPath"),te=m(function(re,ee){var oe=re,ie;if(M(D,oe)&&(ie=D[oe],oe="%"+ie[0]+"%"),M(T,oe)){var ce=T[oe];if(ce===E&&(ce=I(oe)),typeof ce>"u"&&!ee)throw new l("intrinsic "+re+" exists, but is not available. Please file an issue!");return{alias:ie,name:oe,value:ce}}throw new s("intrinsic "+re+" does not exist!")},"getBaseIntrinsic");t.exports=m(function(re,ee){if(typeof re!="string"||re.length===0)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof ee!="boolean")throw new l('"allowMissing" argument must be a boolean');if(P(/^%?[^%]*%?$/,re)===null)throw new s("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var oe=X(re),ie=oe.length>0?oe[0]:"",ce=te("%"+ie+"%",ee),be=ce.name,pe=ce.value,ye=!1,_e=ce.alias;_e&&(ie=_e[0],Y(oe,z([0,1],_e)));for(var Me=1,Oe=!0;Me=oe.length){var $e=y(pe,he);Oe=!!$e,Oe&&"get"in $e&&!("originalValue"in $e.get)?pe=$e.get:pe=pe[he]}else Oe=M(pe,he),pe=pe[he];Oe&&!ye&&(T[be]=pe)}}return pe},"GetIntrinsic")}),As=L((e,t)=>{"use strict";var r=Mr(),n=r("%Object.defineProperty%",!0)||!1;if(n)try{n({},"a",{value:1})}catch{n=!1}t.exports=n}),sg=L((e,t)=>{"use strict";var r=Mr(),n=r("%Object.getOwnPropertyDescriptor%",!0);if(n)try{n([],"length")}catch{n=null}t.exports=n}),LR=L((e,t)=>{"use strict";var r=As(),n=ig(),o=Pn(),a=sg();t.exports=m(function(i,s,l){if(!i||typeof i!="object"&&typeof i!="function")throw new o("`obj` must be an object or a function`");if(typeof s!="string"&&typeof s!="symbol")throw new o("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new o("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new o("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new o("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new o("`loose`, if provided, must be a boolean");var u=arguments.length>3?arguments[3]:null,c=arguments.length>4?arguments[4]:null,d=arguments.length>5?arguments[5]:null,y=arguments.length>6?arguments[6]:!1,f=!!a&&a(i,s);if(r)r(i,s,{configurable:d===null&&f?f.configurable:!d,enumerable:u===null&&f?f.enumerable:!u,value:l,writable:c===null&&f?f.writable:!c});else if(y||!u&&!c&&!d)i[s]=l;else throw new n("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},"defineDataProperty")}),qR=L((e,t)=>{"use strict";var r=As(),n=m(function(){return!!r},"hasPropertyDescriptors");n.hasArrayLengthDefineBug=m(function(){if(!r)return null;try{return r([],"length",{value:1}).length!==1}catch{return!0}},"hasArrayLengthDefineBug"),t.exports=n}),MR=L((e,t)=>{"use strict";var r=Mr(),n=LR(),o=qR()(),a=sg(),i=Pn(),s=r("%Math.floor%");t.exports=m(function(l,u){if(typeof l!="function")throw new i("`fn` is not a function");if(typeof u!="number"||u<0||u>4294967295||s(u)!==u)throw new i("`length` must be a positive 32-bit integer");var c=arguments.length>2&&!!arguments[2],d=!0,y=!0;if("length"in l&&a){var f=a(l,"length");f&&!f.configurable&&(d=!1),f&&!f.writable&&(y=!1)}return(d||y||!c)&&(o?n(l,"length",u,!0,!0):n(l,"length",u)),l},"setFunctionLength")}),UR=L((e,t)=>{"use strict";var r=Ss(),n=Mr(),o=MR(),a=Pn(),i=n("%Function.prototype.apply%"),s=n("%Function.prototype.call%"),l=n("%Reflect.apply%",!0)||r.call(s,i),u=As(),c=n("%Math.max%");t.exports=m(function(y){if(typeof y!="function")throw new a("a function is required");var f=l(r,s,arguments);return o(f,1+c(0,y.length-(arguments.length-1)),!0)},"callBind");var d=m(function(){return l(r,i,arguments)},"applyBind");u?u(t.exports,"apply",{value:d}):t.exports.apply=d}),$R=L((e,t)=>{"use strict";var r=Mr(),n=UR(),o=n(r("String.prototype.indexOf"));t.exports=m(function(a,i){var s=r(a,!!i);return typeof s=="function"&&o(a,".prototype.")>-1?n(s):s},"callBoundIntrinsic")}),zR=L(()=>{}),VR=L((e,t)=>{var r=typeof Map=="function"&&Map.prototype,n=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=r&&n&&typeof n.get=="function"?n.get:null,a=r&&Map.prototype.forEach,i=typeof Set=="function"&&Set.prototype,s=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=i&&s&&typeof s.get=="function"?s.get:null,u=i&&Set.prototype.forEach,c=typeof WeakMap=="function"&&WeakMap.prototype,d=c?WeakMap.prototype.has:null,y=typeof WeakSet=="function"&&WeakSet.prototype,f=y?WeakSet.prototype.has:null,h=typeof WeakRef=="function"&&WeakRef.prototype,g=h?WeakRef.prototype.deref:null,C=Boolean.prototype.valueOf,b=Object.prototype.toString,E=Function.prototype.toString,_=String.prototype.match,T=String.prototype.slice,O=String.prototype.replace,I=String.prototype.toUpperCase,D=String.prototype.toLowerCase,R=RegExp.prototype.test,M=Array.prototype.concat,z=Array.prototype.join,Y=Array.prototype.slice,Z=Math.floor,V=typeof BigInt=="function"?BigInt.prototype.valueOf:null,P=Object.getOwnPropertySymbols,q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,J=typeof Symbol=="function"&&typeof Symbol.iterator=="object",X=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===J||!0)?Symbol.toStringTag:null,te=Object.prototype.propertyIsEnumerable,re=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function($){return $.__proto__}:null);function ee($,G){if($===1/0||$===-1/0||$!==$||$&&$>-1e3&&$<1e3||R.call(/e/,G))return G;var ue=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof $=="number"){var se=$<0?-Z(-$):Z($);if(se!==$){var we=String(se),le=T.call(G,we.length+1);return O.call(we,ue,"$&_")+"."+O.call(O.call(le,/([0-9]{3})/g,"$&_"),/_$/,"")}}return O.call(G,ue,"$&_")}m(ee,"addNumericSeparator");var oe=zR(),ie=oe.custom,ce=$e(ie)?ie:null;t.exports=m(function $(G,ue,se,we){var le=ue||{};if(fe(le,"quoteStyle")&&le.quoteStyle!=="single"&&le.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(fe(le,"maxStringLength")&&(typeof le.maxStringLength=="number"?le.maxStringLength<0&&le.maxStringLength!==1/0:le.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var ze=fe(le,"customInspect")?le.customInspect:!0;if(typeof ze!="boolean"&&ze!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(fe(le,"indent")&&le.indent!==null&&le.indent!==" "&&!(parseInt(le.indent,10)===le.indent&&le.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(fe(le,"numericSeparator")&&typeof le.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var pt=le.numericSeparator;if(typeof G>"u")return"undefined";if(G===null)return"null";if(typeof G=="boolean")return G?"true":"false";if(typeof G=="string")return Qr(G,le);if(typeof G=="number"){if(G===0)return 1/0/G>0?"0":"-0";var Ke=String(G);return pt?ee(G,Ke):Ke}if(typeof G=="bigint"){var dt=String(G)+"n";return pt?ee(G,dt):dt}var en=typeof le.depth>"u"?5:le.depth;if(typeof se>"u"&&(se=0),se>=en&&en>0&&typeof G=="object")return ye(G)?"[Array]":"[Object]";var Ye=Qn(le,se);if(typeof we>"u")we=[];else if(Rt(we,G)>=0)return"[Circular]";function Ze(ae,de,Ne){if(de&&(we=Y.call(we),we.push(de)),Ne){var Ie={depth:le.depth};return fe(le,"quoteStyle")&&(Ie.quoteStyle=le.quoteStyle),$(ae,Ie,se+1,we)}return $(ae,le,se+1,we)}if(m(Ze,"inspect"),typeof G=="function"&&!Me(G)){var Zn=Et(G),ft=Kt(G,Ze);return"[Function"+(Zn?": "+Zn:" (anonymous)")+"]"+(ft.length>0?" { "+z.call(ft,", ")+" }":"")}if($e(G)){var eo=J?O.call(String(G),/^(Symbol\(.*\))_[^)]*$/,"$1"):q.call(G);return typeof G=="object"&&!J?Dt(eo):eo}if(Kn(G)){for(var xt="<"+D.call(String(G.nodeName)),tn=G.attributes||[],mr=0;mr",xt}if(ye(G)){if(G.length===0)return"[]";var rn=Kt(G,Ze);return Ye&&!Xn(rn)?"["+hr(rn,Ye)+"]":"[ "+z.call(rn,", ")+" ]"}if(Oe(G)){var gr=Kt(G,Ze);return!("cause"in Error.prototype)&&"cause"in G&&!te.call(G,"cause")?"{ ["+String(G)+"] "+z.call(M.call("[cause]: "+Ze(G.cause),gr),", ")+" }":gr.length===0?"["+String(G)+"]":"{ ["+String(G)+"] "+z.call(gr,", ")+" }"}if(typeof G=="object"&&ze){if(ce&&typeof G[ce]=="function"&&oe)return oe(G,{depth:en-se});if(ze!=="symbol"&&typeof G.inspect=="function")return G.inspect()}if(fr(G)){var br=[];return a&&a.call(G,function(ae,de){br.push(Ze(de,G,!0)+" => "+Ze(ae,G))}),Zr("Map",o.call(G),br,Ye)}if(Gn(G)){var to=[];return u&&u.call(G,function(ae){to.push(Ze(ae,G))}),Zr("Set",l.call(G),to,Ye)}if(Xr(G))return yr("WeakMap");if(Wn(G))return yr("WeakSet");if(Jn(G))return yr("WeakRef");if(Ue(G))return Dt(Ze(Number(G)));if(lt(G))return Dt(Ze(V.call(G)));if(Te(G))return Dt(C.call(G));if(he(G))return Dt(Ze(String(G)));if(typeof window<"u"&&G===window)return"{ [object Window] }";if(G===window)return"{ [object globalThis] }";if(!_e(G)&&!Me(G)){var p=Kt(G,Ze),x=re?re(G)===Object.prototype:G instanceof Object||G.constructor===Object,k=G instanceof Object?"":"null prototype",H=!x&&X&&Object(G)===G&&X in G?T.call(Se(G),8,-1):k?"Object":"",Q=x||typeof G.constructor!="function"?"":G.constructor.name?G.constructor.name+" ":"",ne=Q+(H||k?"["+z.call(M.call([],H||[],k||[]),": ")+"] ":"");return p.length===0?ne+"{}":Ye?ne+"{"+hr(p,Ye)+"}":ne+"{ "+z.call(p,", ")+" }"}return String(G)},"inspect_");function be($,G,ue){var se=(ue.quoteStyle||G)==="double"?'"':"'";return se+$+se}m(be,"wrapQuotes");function pe($){return O.call(String($),/"/g,""")}m(pe,"quote");function ye($){return Se($)==="[object Array]"&&(!X||!(typeof $=="object"&&X in $))}m(ye,"isArray");function _e($){return Se($)==="[object Date]"&&(!X||!(typeof $=="object"&&X in $))}m(_e,"isDate");function Me($){return Se($)==="[object RegExp]"&&(!X||!(typeof $=="object"&&X in $))}m(Me,"isRegExp");function Oe($){return Se($)==="[object Error]"&&(!X||!(typeof $=="object"&&X in $))}m(Oe,"isError");function he($){return Se($)==="[object String]"&&(!X||!(typeof $=="object"&&X in $))}m(he,"isString");function Ue($){return Se($)==="[object Number]"&&(!X||!(typeof $=="object"&&X in $))}m(Ue,"isNumber");function Te($){return Se($)==="[object Boolean]"&&(!X||!(typeof $=="object"&&X in $))}m(Te,"isBoolean");function $e($){if(J)return $&&typeof $=="object"&&$ instanceof Symbol;if(typeof $=="symbol")return!0;if(!$||typeof $!="object"||!q)return!1;try{return q.call($),!0}catch{}return!1}m($e,"isSymbol");function lt($){if(!$||typeof $!="object"||!V)return!1;try{return V.call($),!0}catch{}return!1}m(lt,"isBigInt");var je=Object.prototype.hasOwnProperty||function($){return $ in this};function fe($,G){return je.call($,G)}m(fe,"has");function Se($){return b.call($)}m(Se,"toStr");function Et($){if($.name)return $.name;var G=_.call(E.call($),/^function\s*([\w$]+)/);return G?G[1]:null}m(Et,"nameOf");function Rt($,G){if($.indexOf)return $.indexOf(G);for(var ue=0,se=$.length;ueG.maxStringLength){var ue=$.length-G.maxStringLength,se="... "+ue+" more character"+(ue>1?"s":"");return Qr(T.call($,0,G.maxStringLength),G)+se}var we=O.call(O.call($,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Yn);return be(we,"single",G)}m(Qr,"inspectString");function Yn($){var G=$.charCodeAt(0),ue={8:"b",9:"t",10:"n",12:"f",13:"r"}[G];return ue?"\\"+ue:"\\x"+(G<16?"0":"")+I.call(G.toString(16))}m(Yn,"lowbyte");function Dt($){return"Object("+$+")"}m(Dt,"markBoxed");function yr($){return $+" { ? }"}m(yr,"weakCollectionOf");function Zr($,G,ue,se){var we=se?hr(ue,se):z.call(ue,", ");return $+" ("+G+") {"+we+"}"}m(Zr,"collectionOf");function Xn($){for(var G=0;G<$.length;G++)if(Rt($[G],` +`)>=0)return!1;return!0}m(Xn,"singleLineValues");function Qn($,G){var ue;if($.indent===" ")ue=" ";else if(typeof $.indent=="number"&&$.indent>0)ue=z.call(Array($.indent+1)," ");else return null;return{base:ue,prev:z.call(Array(G+1),ue)}}m(Qn,"getIndent");function hr($,G){if($.length===0)return"";var ue=` +`+G.prev+G.base;return ue+z.call($,","+ue)+` +`+G.prev}m(hr,"indentedJoin");function Kt($,G){var ue=ye($),se=[];if(ue){se.length=$.length;for(var we=0;we<$.length;we++)se[we]=fe($,we)?G($[we],$):""}var le=typeof P=="function"?P($):[],ze;if(J){ze={};for(var pt=0;pt{"use strict";var r=Mr(),n=$R(),o=VR(),a=Pn(),i=r("%WeakMap%",!0),s=r("%Map%",!0),l=n("WeakMap.prototype.get",!0),u=n("WeakMap.prototype.set",!0),c=n("WeakMap.prototype.has",!0),d=n("Map.prototype.get",!0),y=n("Map.prototype.set",!0),f=n("Map.prototype.has",!0),h=m(function(E,_){for(var T=E,O;(O=T.next)!==null;T=O)if(O.key===_)return T.next=O.next,O.next=E.next,E.next=O,O},"listGetNode"),g=m(function(E,_){var T=h(E,_);return T&&T.value},"listGet"),C=m(function(E,_,T){var O=h(E,_);O?O.value=T:E.next={key:_,next:E.next,value:T}},"listSet"),b=m(function(E,_){return!!h(E,_)},"listHas");t.exports=m(function(){var E,_,T,O={assert:m(function(I){if(!O.has(I))throw new a("Side channel does not contain "+o(I))},"assert"),get:m(function(I){if(i&&I&&(typeof I=="object"||typeof I=="function")){if(E)return l(E,I)}else if(s){if(_)return d(_,I)}else if(T)return g(T,I)},"get"),has:m(function(I){if(i&&I&&(typeof I=="object"||typeof I=="function")){if(E)return c(E,I)}else if(s){if(_)return f(_,I)}else if(T)return b(T,I);return!1},"has"),set:m(function(I,D){i&&I&&(typeof I=="object"||typeof I=="function")?(E||(E=new i),u(E,I,D)):s?(_||(_=new s),y(_,I,D)):(T||(T={key:{},next:null}),C(T,I,D))},"set")};return O},"getSideChannel")}),Ts=L((e,t)=>{"use strict";var r=String.prototype.replace,n=/%20/g,o={RFC1738:"RFC1738",RFC3986:"RFC3986"};t.exports={default:o.RFC3986,formatters:{RFC1738:m(function(a){return r.call(a,n,"+")},"RFC1738"),RFC3986:m(function(a){return String(a)},"RFC3986")},RFC1738:o.RFC1738,RFC3986:o.RFC3986}}),lg=L((e,t)=>{"use strict";var r=Ts(),n=Object.prototype.hasOwnProperty,o=Array.isArray,a=function(){for(var E=[],_=0;_<256;++_)E.push("%"+((_<16?"0":"")+_.toString(16)).toUpperCase());return E}(),i=m(function(E){for(;E.length>1;){var _=E.pop(),T=_.obj[_.prop];if(o(T)){for(var O=[],I=0;I=d?D.slice(M,M+d):D,Y=[],Z=0;Z=48&&V<=57||V>=65&&V<=90||V>=97&&V<=122||I===r.RFC1738&&(V===40||V===41)){Y[Y.length]=z.charAt(Z);continue}if(V<128){Y[Y.length]=a[V];continue}if(V<2048){Y[Y.length]=a[192|V>>6]+a[128|V&63];continue}if(V<55296||V>=57344){Y[Y.length]=a[224|V>>12]+a[128|V>>6&63]+a[128|V&63];continue}Z+=1,V=65536+((V&1023)<<10|z.charCodeAt(Z)&1023),Y[Y.length]=a[240|V>>18]+a[128|V>>12&63]+a[128|V>>6&63]+a[128|V&63]}R+=Y.join("")}return R},"encode"),f=m(function(E){for(var _=[{obj:{o:E},prop:"o"}],T=[],O=0;O<_.length;++O)for(var I=_[O],D=I.obj[I.prop],R=Object.keys(D),M=0;M{"use strict";var r=HR(),n=lg(),o=Ts(),a=Object.prototype.hasOwnProperty,i={brackets:m(function(b){return b+"[]"},"brackets"),comma:"comma",indices:m(function(b,E){return b+"["+E+"]"},"indices"),repeat:m(function(b){return b},"repeat")},s=Array.isArray,l=Array.prototype.push,u=m(function(b,E){l.apply(b,s(E)?E:[E])},"pushToArray"),c=Date.prototype.toISOString,d=o.default,y={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:n.encode,encodeValuesOnly:!1,format:d,formatter:o.formatters[d],indices:!1,serializeDate:m(function(b){return c.call(b)},"serializeDate"),skipNulls:!1,strictNullHandling:!1},f=m(function(b){return typeof b=="string"||typeof b=="number"||typeof b=="boolean"||typeof b=="symbol"||typeof b=="bigint"},"isNonNullishPrimitive"),h={},g=m(function b(E,_,T,O,I,D,R,M,z,Y,Z,V,P,q,J,X,te,re){for(var ee=E,oe=re,ie=0,ce=!1;(oe=oe.get(h))!==void 0&&!ce;){var be=oe.get(E);if(ie+=1,typeof be<"u"){if(be===ie)throw new RangeError("Cyclic object value");ce=!0}typeof oe.get(h)>"u"&&(ie=0)}if(typeof Y=="function"?ee=Y(_,ee):ee instanceof Date?ee=P(ee):T==="comma"&&s(ee)&&(ee=n.maybeMap(ee,function(Se){return Se instanceof Date?P(Se):Se})),ee===null){if(D)return z&&!X?z(_,y.encoder,te,"key",q):_;ee=""}if(f(ee)||n.isBuffer(ee)){if(z){var pe=X?_:z(_,y.encoder,te,"key",q);return[J(pe)+"="+J(z(ee,y.encoder,te,"value",q))]}return[J(_)+"="+J(String(ee))]}var ye=[];if(typeof ee>"u")return ye;var _e;if(T==="comma"&&s(ee))X&&z&&(ee=n.maybeMap(ee,z)),_e=[{value:ee.length>0?ee.join(",")||null:void 0}];else if(s(Y))_e=Y;else{var Me=Object.keys(ee);_e=Z?Me.sort(Z):Me}var Oe=M?_.replace(/\./g,"%2E"):_,he=O&&s(ee)&&ee.length===1?Oe+"[]":Oe;if(I&&s(ee)&&ee.length===0)return he+"[]";for(var Ue=0;Ue<_e.length;++Ue){var Te=_e[Ue],$e=typeof Te=="object"&&typeof Te.value<"u"?Te.value:ee[Te];if(!(R&&$e===null)){var lt=V&&M?Te.replace(/\./g,"%2E"):Te,je=s(ee)?typeof T=="function"?T(he,lt):he:he+(V?"."+lt:"["+lt+"]");re.set(E,ie);var fe=r();fe.set(h,re),u(ye,b($e,je,T,O,I,D,R,M,T==="comma"&&X&&s(ee)?null:z,Y,Z,V,P,q,J,X,te,fe))}}return ye},"stringify"),C=m(function(b){if(!b)return y;if(typeof b.allowEmptyArrays<"u"&&typeof b.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof b.encodeDotInKeys<"u"&&typeof b.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(b.encoder!==null&&typeof b.encoder<"u"&&typeof b.encoder!="function")throw new TypeError("Encoder has to be a function.");var E=b.charset||y.charset;if(typeof b.charset<"u"&&b.charset!=="utf-8"&&b.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var _=o.default;if(typeof b.format<"u"){if(!a.call(o.formatters,b.format))throw new TypeError("Unknown format option provided.");_=b.format}var T=o.formatters[_],O=y.filter;(typeof b.filter=="function"||s(b.filter))&&(O=b.filter);var I;if(b.arrayFormat in i?I=b.arrayFormat:"indices"in b?I=b.indices?"indices":"repeat":I=y.arrayFormat,"commaRoundTrip"in b&&typeof b.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var D=typeof b.allowDots>"u"?b.encodeDotInKeys===!0?!0:y.allowDots:!!b.allowDots;return{addQueryPrefix:typeof b.addQueryPrefix=="boolean"?b.addQueryPrefix:y.addQueryPrefix,allowDots:D,allowEmptyArrays:typeof b.allowEmptyArrays=="boolean"?!!b.allowEmptyArrays:y.allowEmptyArrays,arrayFormat:I,charset:E,charsetSentinel:typeof b.charsetSentinel=="boolean"?b.charsetSentinel:y.charsetSentinel,commaRoundTrip:b.commaRoundTrip,delimiter:typeof b.delimiter>"u"?y.delimiter:b.delimiter,encode:typeof b.encode=="boolean"?b.encode:y.encode,encodeDotInKeys:typeof b.encodeDotInKeys=="boolean"?b.encodeDotInKeys:y.encodeDotInKeys,encoder:typeof b.encoder=="function"?b.encoder:y.encoder,encodeValuesOnly:typeof b.encodeValuesOnly=="boolean"?b.encodeValuesOnly:y.encodeValuesOnly,filter:O,format:_,formatter:T,serializeDate:typeof b.serializeDate=="function"?b.serializeDate:y.serializeDate,skipNulls:typeof b.skipNulls=="boolean"?b.skipNulls:y.skipNulls,sort:typeof b.sort=="function"?b.sort:null,strictNullHandling:typeof b.strictNullHandling=="boolean"?b.strictNullHandling:y.strictNullHandling}},"normalizeStringifyOptions");t.exports=function(b,E){var _=b,T=C(E),O,I;typeof T.filter=="function"?(I=T.filter,_=I("",_)):s(T.filter)&&(I=T.filter,O=I);var D=[];if(typeof _!="object"||_===null)return"";var R=i[T.arrayFormat],M=R==="comma"&&T.commaRoundTrip;O||(O=Object.keys(_)),T.sort&&O.sort(T.sort);for(var z=r(),Y=0;Y0?P+V:""}}),GR=L((e,t)=>{"use strict";var r=lg(),n=Object.prototype.hasOwnProperty,o=Array.isArray,a={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:r.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},i=m(function(h){return h.replace(/&#(\d+);/g,function(g,C){return String.fromCharCode(parseInt(C,10))})},"interpretNumericEntities"),s=m(function(h,g){return h&&typeof h=="string"&&g.comma&&h.indexOf(",")>-1?h.split(","):h},"parseArrayValue"),l="utf8=%26%2310003%3B",u="utf8=%E2%9C%93",c=m(function(h,g){var C={__proto__:null},b=g.ignoreQueryPrefix?h.replace(/^\?/,""):h;b=b.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var E=g.parameterLimit===1/0?void 0:g.parameterLimit,_=b.split(g.delimiter,E),T=-1,O,I=g.charset;if(g.charsetSentinel)for(O=0;O<_.length;++O)_[O].indexOf("utf8=")===0&&(_[O]===u?I="utf-8":_[O]===l&&(I="iso-8859-1"),T=O,O=_.length);for(O=0;O<_.length;++O)if(O!==T){var D=_[O],R=D.indexOf("]="),M=R===-1?D.indexOf("="):R+1,z,Y;M===-1?(z=g.decoder(D,a.decoder,I,"key"),Y=g.strictNullHandling?null:""):(z=g.decoder(D.slice(0,M),a.decoder,I,"key"),Y=r.maybeMap(s(D.slice(M+1),g),function(V){return g.decoder(V,a.decoder,I,"value")})),Y&&g.interpretNumericEntities&&I==="iso-8859-1"&&(Y=i(Y)),D.indexOf("[]=")>-1&&(Y=o(Y)?[Y]:Y);var Z=n.call(C,z);Z&&g.duplicates==="combine"?C[z]=r.combine(C[z],Y):(!Z||g.duplicates==="last")&&(C[z]=Y)}return C},"parseQueryStringValues"),d=m(function(h,g,C,b){for(var E=b?g:s(g,C),_=h.length-1;_>=0;--_){var T,O=h[_];if(O==="[]"&&C.parseArrays)T=C.allowEmptyArrays&&(E===""||C.strictNullHandling&&E===null)?[]:[].concat(E);else{T=C.plainObjects?Object.create(null):{};var I=O.charAt(0)==="["&&O.charAt(O.length-1)==="]"?O.slice(1,-1):O,D=C.decodeDotInKeys?I.replace(/%2E/g,"."):I,R=parseInt(D,10);!C.parseArrays&&D===""?T={0:E}:!isNaN(R)&&O!==D&&String(R)===D&&R>=0&&C.parseArrays&&R<=C.arrayLimit?(T=[],T[R]=E):D!=="__proto__"&&(T[D]=E)}E=T}return E},"parseObject"),y=m(function(h,g,C,b){if(h){var E=C.allowDots?h.replace(/\.([^.[]+)/g,"[$1]"):h,_=/(\[[^[\]]*])/,T=/(\[[^[\]]*])/g,O=C.depth>0&&_.exec(E),I=O?E.slice(0,O.index):E,D=[];if(I){if(!C.plainObjects&&n.call(Object.prototype,I)&&!C.allowPrototypes)return;D.push(I)}for(var R=0;C.depth>0&&(O=T.exec(E))!==null&&R"u"?a.charset:h.charset,C=typeof h.duplicates>"u"?a.duplicates:h.duplicates;if(C!=="combine"&&C!=="first"&&C!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var b=typeof h.allowDots>"u"?h.decodeDotInKeys===!0?!0:a.allowDots:!!h.allowDots;return{allowDots:b,allowEmptyArrays:typeof h.allowEmptyArrays=="boolean"?!!h.allowEmptyArrays:a.allowEmptyArrays,allowPrototypes:typeof h.allowPrototypes=="boolean"?h.allowPrototypes:a.allowPrototypes,allowSparse:typeof h.allowSparse=="boolean"?h.allowSparse:a.allowSparse,arrayLimit:typeof h.arrayLimit=="number"?h.arrayLimit:a.arrayLimit,charset:g,charsetSentinel:typeof h.charsetSentinel=="boolean"?h.charsetSentinel:a.charsetSentinel,comma:typeof h.comma=="boolean"?h.comma:a.comma,decodeDotInKeys:typeof h.decodeDotInKeys=="boolean"?h.decodeDotInKeys:a.decodeDotInKeys,decoder:typeof h.decoder=="function"?h.decoder:a.decoder,delimiter:typeof h.delimiter=="string"||r.isRegExp(h.delimiter)?h.delimiter:a.delimiter,depth:typeof h.depth=="number"||h.depth===!1?+h.depth:a.depth,duplicates:C,ignoreQueryPrefix:h.ignoreQueryPrefix===!0,interpretNumericEntities:typeof h.interpretNumericEntities=="boolean"?h.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:typeof h.parameterLimit=="number"?h.parameterLimit:a.parameterLimit,parseArrays:h.parseArrays!==!1,plainObjects:typeof h.plainObjects=="boolean"?h.plainObjects:a.plainObjects,strictNullHandling:typeof h.strictNullHandling=="boolean"?h.strictNullHandling:a.strictNullHandling}},"normalizeParseOptions");t.exports=function(h,g){var C=f(g);if(h===""||h===null||typeof h>"u")return C.plainObjects?Object.create(null):{};for(var b=typeof h=="string"?c(h,C):h,E=C.plainObjects?Object.create(null):{},_=Object.keys(b),T=0;T<_.length;++T){var O=_[T],I=y(O,b[O],C,typeof h=="string");E=r.merge(E,I,C)}return C.allowSparse===!0?E:r.compact(E)}}),Cs=L((e,t)=>{"use strict";var r=JR(),n=GR(),o=Ts();t.exports={formats:o,parse:n,stringify:r}}),ug=L((e,t)=>{t.exports={Aacute:"\xC1",aacute:"\xE1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",Acy:"\u0410",acy:"\u0430",AElig:"\xC6",aelig:"\xE6",af:"\u2061",Afr:"\u{1D504}",afr:"\u{1D51E}",Agrave:"\xC0",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03B1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2A3F",amp:"&",AMP:"&",andand:"\u2A55",And:"\u2A53",and:"\u2227",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angmsd:"\u2221",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",apacir:"\u2A6F",ap:"\u2248",apE:"\u2A70",ape:"\u224A",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",Aring:"\xC5",aring:"\xE5",Ascr:"\u{1D49C}",ascr:"\u{1D4B6}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",Beta:"\u0392",beta:"\u03B2",beth:"\u2136",between:"\u226C",Bfr:"\u{1D505}",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bNot:"\u2AED",bnot:"\u2310",Bopf:"\u{1D539}",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250C",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252C",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxul:"\u2518",boxuL:"\u255B",boxUl:"\u255C",boxUL:"\u255D",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253C",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251C",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",bprime:"\u2035",breve:"\u02D8",Breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",Bscr:"\u212C",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsolb:"\u29C5",bsol:"\\",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",Bumpeq:"\u224E",bumpeq:"\u224F",Cacute:"\u0106",cacute:"\u0107",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",cap:"\u2229",Cap:"\u22D2",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",Ccaron:"\u010C",ccaron:"\u010D",Ccedil:"\xC7",ccedil:"\xE7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",Cdot:"\u010A",cdot:"\u010B",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",CenterDot:"\xB7",cfr:"\u{1D520}",Cfr:"\u212D",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03A7",chi:"\u03C7",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cir:"\u25CB",cirE:"\u29C3",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",Colone:"\u2A74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",conint:"\u222E",Conint:"\u222F",ContourIntegral:"\u222E",copf:"\u{1D554}",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xA9",COPY:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",cross:"\u2717",Cross:"\u2A2F",Cscr:"\u{1D49E}",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cupbrcap:"\u2A48",cupcap:"\u2A46",CupCap:"\u224D",cup:"\u222A",Cup:"\u22D3",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",Darr:"\u21A1",dArr:"\u21D3",dash:"\u2010",Dashv:"\u2AE4",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",Dcaron:"\u010E",dcaron:"\u010F",Dcy:"\u0414",dcy:"\u0434",ddagger:"\u2021",ddarr:"\u21CA",DD:"\u2145",dd:"\u2146",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",Delta:"\u0394",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",Dfr:"\u{1D507}",dfr:"\u{1D521}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",diamond:"\u22C4",Diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",Dopf:"\u{1D53B}",dopf:"\u{1D555}",Dot:"\xA8",dot:"\u02D9",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrowBar:"\u2913",downarrow:"\u2193",DownArrow:"\u2193",Downarrow:"\u21D3",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVectorBar:"\u2956",DownLeftVector:"\u21BD",DownRightTeeVector:"\u295F",DownRightVectorBar:"\u2957",DownRightVector:"\u21C1",DownTeeArrow:"\u21A7",DownTee:"\u22A4",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",Dscr:"\u{1D49F}",dscr:"\u{1D4B9}",DScy:"\u0405",dscy:"\u0455",dsol:"\u29F6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",DZcy:"\u040F",dzcy:"\u045F",dzigrarr:"\u27FF",Eacute:"\xC9",eacute:"\xE9",easter:"\u2A6E",Ecaron:"\u011A",ecaron:"\u011B",Ecirc:"\xCA",ecirc:"\xEA",ecir:"\u2256",ecolon:"\u2255",Ecy:"\u042D",ecy:"\u044D",eDDot:"\u2A77",Edot:"\u0116",edot:"\u0117",eDot:"\u2251",ee:"\u2147",efDot:"\u2252",Efr:"\u{1D508}",efr:"\u{1D522}",eg:"\u2A9A",Egrave:"\xC8",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",ENG:"\u014A",eng:"\u014B",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\u{1D53C}",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",escr:"\u212F",Escr:"\u2130",esdot:"\u2250",Esim:"\u2A73",esim:"\u2242",Eta:"\u0397",eta:"\u03B7",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",Ffr:"\u{1D509}",ffr:"\u{1D523}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",Fopf:"\u{1D53D}",fopf:"\u{1D557}",forall:"\u2200",ForAll:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",Fscr:"\u2131",gacute:"\u01F5",Gamma:"\u0393",gamma:"\u03B3",Gammad:"\u03DC",gammad:"\u03DD",gap:"\u2A86",Gbreve:"\u011E",gbreve:"\u011F",Gcedil:"\u0122",Gcirc:"\u011C",gcirc:"\u011D",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",ge:"\u2265",gE:"\u2267",gEl:"\u2A8C",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",gescc:"\u2AA9",ges:"\u2A7E",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",Gfr:"\u{1D50A}",gfr:"\u{1D524}",gg:"\u226B",Gg:"\u22D9",ggg:"\u22D9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gla:"\u2AA5",gl:"\u2277",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gnE:"\u2269",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",Gopf:"\u{1D53E}",gopf:"\u{1D558}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gtcc:"\u2AA7",gtcir:"\u2A7A",gt:">",GT:">",Gt:"\u226B",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",HARDcy:"\u042A",hardcy:"\u044A",harrcir:"\u2948",harr:"\u2194",hArr:"\u21D4",harrw:"\u21AD",Hat:"^",hbar:"\u210F",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",Hfr:"\u210C",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",Hopf:"\u210D",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\u{1D4BD}",Hscr:"\u210B",hslash:"\u210F",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xCD",iacute:"\xED",ic:"\u2063",Icirc:"\xCE",icirc:"\xEE",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",Ifr:"\u2111",Igrave:"\xCC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Imacr:"\u012A",imacr:"\u012B",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",Im:"\u2111",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",incare:"\u2105",in:"\u2208",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",intcal:"\u22BA",int:"\u222B",Int:"\u222C",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012E",iogon:"\u012F",Iopf:"\u{1D540}",iopf:"\u{1D55A}",Iota:"\u0399",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",Iscr:"\u2110",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xCF",iuml:"\xEF",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\u{1D50D}",jfr:"\u{1D527}",jmath:"\u0237",Jopf:"\u{1D541}",jopf:"\u{1D55B}",Jscr:"\u{1D4A5}",jscr:"\u{1D4BF}",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041A",kcy:"\u043A",Kfr:"\u{1D50E}",kfr:"\u{1D528}",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040C",kjcy:"\u045C",Kopf:"\u{1D542}",kopf:"\u{1D55C}",Kscr:"\u{1D4A6}",kscr:"\u{1D4C0}",lAarr:"\u21DA",Lacute:"\u0139",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",Lambda:"\u039B",lambda:"\u03BB",lang:"\u27E8",Lang:"\u27EA",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",larrb:"\u21E4",larrbfs:"\u291F",larr:"\u2190",Larr:"\u219E",lArr:"\u21D0",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",latail:"\u2919",lAtail:"\u291B",lat:"\u2AAB",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lBarr:"\u290E",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",Lcaron:"\u013D",lcaron:"\u013E",Lcedil:"\u013B",lcedil:"\u013C",lceil:"\u2308",lcub:"{",Lcy:"\u041B",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27E8",LeftArrowBar:"\u21E4",leftarrow:"\u2190",LeftArrow:"\u2190",Leftarrow:"\u21D0",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftDownVector:"\u21C3",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",Leftrightarrow:"\u21D4",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTeeArrow:"\u21A4",LeftTee:"\u22A3",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangleBar:"\u29CF",LeftTriangle:"\u22B2",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftUpVector:"\u21BF",LeftVectorBar:"\u2952",LeftVector:"\u21BC",lEg:"\u2A8B",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",lescc:"\u2AA8",les:"\u2A7D",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",Lfr:"\u{1D50F}",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",llarr:"\u21C7",ll:"\u226A",Ll:"\u22D8",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",Lmidot:"\u013F",lmidot:"\u0140",lmoustache:"\u23B0",lmoust:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lnE:"\u2268",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",LongLeftArrow:"\u27F5",Longleftarrow:"\u27F8",longleftrightarrow:"\u27F7",LongLeftRightArrow:"\u27F7",Longleftrightarrow:"\u27FA",longmapsto:"\u27FC",longrightarrow:"\u27F6",LongRightArrow:"\u27F6",Longrightarrow:"\u27F9",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",Lopf:"\u{1D543}",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",Lscr:"\u2112",lsh:"\u21B0",Lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",Lstrok:"\u0141",lstrok:"\u0142",ltcc:"\u2AA6",ltcir:"\u2A79",lt:"<",LT:"<",Lt:"\u226A",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",Mcy:"\u041C",mcy:"\u043C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",midast:"*",midcir:"\u2AF0",mid:"\u2223",middot:"\xB7",minusb:"\u229F",minus:"\u2212",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",Mopf:"\u{1D544}",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",Mscr:"\u2133",mstpos:"\u223E",Mu:"\u039C",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natural:"\u266E",naturals:"\u2115",natur:"\u266E",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",Ncy:"\u041D",ncy:"\u043D",ndash:"\u2013",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21D7",nearrow:"\u2197",ne:"\u2260",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:` +`,nexist:"\u2204",nexists:"\u2204",Nfr:"\u{1D511}",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",nGt:"\u226B\u20D2",ngt:"\u226F",ngtr:"\u226F",nGtv:"\u226B\u0338",nharr:"\u21AE",nhArr:"\u21CE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlarr:"\u219A",nlArr:"\u21CD",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219A",nLeftarrow:"\u21CD",nleftrightarrow:"\u21AE",nLeftrightarrow:"\u21CE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nLt:"\u226A\u20D2",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nopf:"\u{1D55F}",Nopf:"\u2115",Not:"\u2AEC",not:"\xAC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangle:"\u22EB",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",nprec:"\u2280",npreceq:"\u2AAF\u0338",npre:"\u2AAF\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219B",nrArr:"\u21CF",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nRightarrow:"\u21CF",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",Nscr:"\u{1D4A9}",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",Ntilde:"\xD1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",Nu:"\u039D",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",Ocirc:"\xD4",ocirc:"\xF4",ocir:"\u229A",Ocy:"\u041E",ocy:"\u043E",odash:"\u229D",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29BF",Ofr:"\u{1D512}",ofr:"\u{1D52C}",ogon:"\u02DB",Ograve:"\xD2",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",Omacr:"\u014C",omacr:"\u014D",Omega:"\u03A9",omega:"\u03C9",Omicron:"\u039F",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",Oopf:"\u{1D546}",oopf:"\u{1D560}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",orarr:"\u21BB",Or:"\u2A54",or:"\u2228",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",Oscr:"\u{1D4AA}",oscr:"\u2134",Oslash:"\xD8",oslash:"\xF8",osol:"\u2298",Otilde:"\xD5",otilde:"\xF5",otimesas:"\u2A36",Otimes:"\u2A37",otimes:"\u2297",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",para:"\xB6",parallel:"\u2225",par:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",Pcy:"\u041F",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",Pfr:"\u{1D513}",pfr:"\u{1D52D}",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",Pi:"\u03A0",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plus:"+",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",popf:"\u{1D561}",Popf:"\u2119",pound:"\xA3",prap:"\u2AB7",Pr:"\u2ABB",pr:"\u227A",prcue:"\u227C",precapprox:"\u2AB7",prec:"\u227A",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",pre:"\u2AAF",prE:"\u2AB3",precsim:"\u227E",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportional:"\u221D",Proportion:"\u2237",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",Pscr:"\u{1D4AB}",pscr:"\u{1D4C5}",Psi:"\u03A8",psi:"\u03C8",puncsp:"\u2008",Qfr:"\u{1D514}",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",Qopf:"\u211A",qprime:"\u2057",Qscr:"\u{1D4AC}",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',QUOT:'"',rAarr:"\u21DB",race:"\u223D\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",Rang:"\u27EB",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarr:"\u2192",Rarr:"\u21A0",rArr:"\u21D2",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",rAtail:"\u291C",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rBarr:"\u290F",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",Re:"\u211C",rect:"\u25AD",reg:"\xAE",REG:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",Rfr:"\u211C",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",RightAngleBracket:"\u27E9",RightArrowBar:"\u21E5",rightarrow:"\u2192",RightArrow:"\u2192",Rightarrow:"\u21D2",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVectorBar:"\u2955",RightDownVector:"\u21C2",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTeeArrow:"\u21A6",RightTee:"\u22A2",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangleBar:"\u29D0",RightTriangle:"\u22B3",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVectorBar:"\u2954",RightUpVector:"\u21BE",RightVectorBar:"\u2953",RightVector:"\u21C0",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoustache:"\u23B1",rmoust:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",Ropf:"\u211D",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",rscr:"\u{1D4C7}",Rscr:"\u211B",rsh:"\u21B1",Rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",Sacute:"\u015A",sacute:"\u015B",sbquo:"\u201A",scap:"\u2AB8",Scaron:"\u0160",scaron:"\u0161",Sc:"\u2ABC",sc:"\u227B",sccue:"\u227D",sce:"\u2AB0",scE:"\u2AB4",Scedil:"\u015E",scedil:"\u015F",Scirc:"\u015C",scirc:"\u015D",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",Scy:"\u0421",scy:"\u0441",sdotb:"\u22A1",sdot:"\u22C5",sdote:"\u2A66",searhk:"\u2925",searr:"\u2198",seArr:"\u21D8",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\u{1D516}",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",SOFTcy:"\u042C",softcy:"\u044C",solbar:"\u233F",solb:"\u29C4",sol:"/",Sopf:"\u{1D54A}",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",square:"\u25A1",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squ:"\u25A1",squf:"\u25AA",srarr:"\u2192",Sscr:"\u{1D4AE}",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",Star:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",Sub:"\u22D0",subdot:"\u2ABD",subE:"\u2AC5",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",Subset:"\u22D0",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succapprox:"\u2AB8",succ:"\u227B",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",sum:"\u2211",Sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",Sup:"\u22D1",supdot:"\u2ABE",supdsub:"\u2AD8",supE:"\u2AC6",supe:"\u2287",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",Supset:"\u22D1",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21D9",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",Tau:"\u03A4",tau:"\u03C4",tbrk:"\u23B4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",Tfr:"\u{1D517}",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",THORN:"\xDE",thorn:"\xFE",tilde:"\u02DC",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",timesbar:"\u2A31",timesb:"\u22A0",times:"\xD7",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",topbot:"\u2336",topcir:"\u2AF1",top:"\u22A4",Topf:"\u{1D54B}",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",Tscr:"\u{1D4AF}",tscr:"\u{1D4C9}",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040B",tshcy:"\u045B",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Uacute:"\xDA",uacute:"\xFA",uarr:"\u2191",Uarr:"\u219F",uArr:"\u21D1",Uarrocir:"\u2949",Ubrcy:"\u040E",ubrcy:"\u045E",Ubreve:"\u016C",ubreve:"\u016D",Ucirc:"\xDB",ucirc:"\xFB",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21C5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",Ufr:"\u{1D518}",ufr:"\u{1D532}",Ugrave:"\xD9",ugrave:"\xF9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",Umacr:"\u016A",umacr:"\u016B",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",uogon:"\u0173",Uopf:"\u{1D54C}",uopf:"\u{1D566}",UpArrowBar:"\u2912",uparrow:"\u2191",UpArrow:"\u2191",Uparrow:"\u21D1",UpArrowDownArrow:"\u21C5",updownarrow:"\u2195",UpDownArrow:"\u2195",Updownarrow:"\u21D5",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",Upsilon:"\u03A5",upsilon:"\u03C5",UpTeeArrow:"\u21A5",UpTee:"\u22A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",Uring:"\u016E",uring:"\u016F",urtri:"\u25F9",Uscr:"\u{1D4B0}",uscr:"\u{1D4CA}",utdot:"\u22F0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",Uuml:"\xDC",uuml:"\xFC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",vArr:"\u21D5",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vBar:"\u2AE8",Vbar:"\u2AEB",vBarv:"\u2AE9",Vcy:"\u0412",vcy:"\u0432",vdash:"\u22A2",vDash:"\u22A8",Vdash:"\u22A9",VDash:"\u22AB",Vdashl:"\u2AE6",veebar:"\u22BB",vee:"\u2228",Vee:"\u22C1",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",Vopf:"\u{1D54D}",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",Vscr:"\u{1D4B1}",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",Wedge:"\u22C0",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\u{1D51A}",wfr:"\u{1D534}",Wopf:"\u{1D54E}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\u{1D4B2}",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",Xfr:"\u{1D51B}",xfr:"\u{1D535}",xharr:"\u27F7",xhArr:"\u27FA",Xi:"\u039E",xi:"\u03BE",xlarr:"\u27F5",xlArr:"\u27F8",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",Xopf:"\u{1D54F}",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrarr:"\u27F6",xrArr:"\u27F9",Xscr:"\u{1D4B3}",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",Yacute:"\xDD",yacute:"\xFD",YAcy:"\u042F",yacy:"\u044F",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042B",ycy:"\u044B",yen:"\xA5",Yfr:"\u{1D51C}",yfr:"\u{1D536}",YIcy:"\u0407",yicy:"\u0457",Yopf:"\u{1D550}",yopf:"\u{1D56A}",Yscr:"\u{1D4B4}",yscr:"\u{1D4CE}",YUcy:"\u042E",yucy:"\u044E",yuml:"\xFF",Yuml:"\u0178",Zacute:"\u0179",zacute:"\u017A",Zcaron:"\u017D",zcaron:"\u017E",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017B",zdot:"\u017C",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",Zeta:"\u0396",zeta:"\u03B6",zfr:"\u{1D537}",Zfr:"\u2128",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",Zopf:"\u2124",Zscr:"\u{1D4B5}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"}}),WR=L((e,t)=>{t.exports={Aacute:"\xC1",aacute:"\xE1",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",AElig:"\xC6",aelig:"\xE6",Agrave:"\xC0",agrave:"\xE0",amp:"&",AMP:"&",Aring:"\xC5",aring:"\xE5",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",brvbar:"\xA6",Ccedil:"\xC7",ccedil:"\xE7",cedil:"\xB8",cent:"\xA2",copy:"\xA9",COPY:"\xA9",curren:"\xA4",deg:"\xB0",divide:"\xF7",Eacute:"\xC9",eacute:"\xE9",Ecirc:"\xCA",ecirc:"\xEA",Egrave:"\xC8",egrave:"\xE8",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",frac12:"\xBD",frac14:"\xBC",frac34:"\xBE",gt:">",GT:">",Iacute:"\xCD",iacute:"\xED",Icirc:"\xCE",icirc:"\xEE",iexcl:"\xA1",Igrave:"\xCC",igrave:"\xEC",iquest:"\xBF",Iuml:"\xCF",iuml:"\xEF",laquo:"\xAB",lt:"<",LT:"<",macr:"\xAF",micro:"\xB5",middot:"\xB7",nbsp:"\xA0",not:"\xAC",Ntilde:"\xD1",ntilde:"\xF1",Oacute:"\xD3",oacute:"\xF3",Ocirc:"\xD4",ocirc:"\xF4",Ograve:"\xD2",ograve:"\xF2",ordf:"\xAA",ordm:"\xBA",Oslash:"\xD8",oslash:"\xF8",Otilde:"\xD5",otilde:"\xF5",Ouml:"\xD6",ouml:"\xF6",para:"\xB6",plusmn:"\xB1",pound:"\xA3",quot:'"',QUOT:'"',raquo:"\xBB",reg:"\xAE",REG:"\xAE",sect:"\xA7",shy:"\xAD",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",szlig:"\xDF",THORN:"\xDE",thorn:"\xFE",times:"\xD7",Uacute:"\xDA",uacute:"\xFA",Ucirc:"\xDB",ucirc:"\xFB",Ugrave:"\xD9",ugrave:"\xF9",uml:"\xA8",Uuml:"\xDC",uuml:"\xFC",Yacute:"\xDD",yacute:"\xFD",yen:"\xA5",yuml:"\xFF"}}),cg=L((e,t)=>{t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}),KR=L((e,t)=>{t.exports={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}}),YR=L(e=>{"use strict";var t=e&&e.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(KR()),n=String.fromCodePoint||function(a){var i="";return a>65535&&(a-=65536,i+=String.fromCharCode(a>>>10&1023|55296),a=56320|a&1023),i+=String.fromCharCode(a),i};function o(a){return a>=55296&&a<=57343||a>1114111?"\uFFFD":(a in r.default&&(a=r.default[a]),n(a))}m(o,"decodeCodePoint"),e.default=o}),bm=L(e=>{"use strict";var t=e&&e.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var r=t(ug()),n=t(WR()),o=t(cg()),a=t(YR()),i=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=s(o.default),e.decodeHTMLStrict=s(r.default);function s(c){var d=u(c);return function(y){return String(y).replace(i,d)}}m(s,"getStrictDecoder");var l=m(function(c,d){return c{"use strict";var t=e&&e.__importDefault||function(E){return E&&E.__esModule?E:{default:E}};Object.defineProperty(e,"__esModule",{value:!0}),e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=void 0;var r=t(cg()),n=l(r.default),o=u(n);e.encodeXML=b(n);var a=t(ug()),i=l(a.default),s=u(i);e.encodeHTML=f(i,s),e.encodeNonAsciiHTML=b(i);function l(E){return Object.keys(E).sort().reduce(function(_,T){return _[E[T]]="&"+T+";",_},{})}m(l,"getInverseObj");function u(E){for(var _=[],T=[],O=0,I=Object.keys(E);O1?d(E):E.charCodeAt(0)).toString(16).toUpperCase()+";"}m(y,"singleCharReplacer");function f(E,_){return function(T){return T.replace(_,function(O){return E[O]}).replace(c,y)}}m(f,"getInverse");var h=new RegExp(o.source+"|"+c.source,"g");function g(E){return E.replace(h,y)}m(g,"escape"),e.escape=g;function C(E){return E.replace(o,y)}m(C,"escapeUTF8"),e.escapeUTF8=C;function b(E){return function(_){return _.replace(h,function(T){return E[T]||y(T)})}}m(b,"getASCIIEncoder")}),XR=L(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0;var t=bm(),r=vm();function n(l,u){return(!u||u<=0?t.decodeXML:t.decodeHTML)(l)}m(n,"decode"),e.decode=n;function o(l,u){return(!u||u<=0?t.decodeXML:t.decodeHTMLStrict)(l)}m(o,"decodeStrict"),e.decodeStrict=o;function a(l,u){return(!u||u<=0?r.encodeXML:r.encodeHTML)(l)}m(a,"encode"),e.encode=a;var i=vm();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:m(function(){return i.encodeXML},"get")}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:m(function(){return i.encodeHTML},"get")}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:m(function(){return i.encodeNonAsciiHTML},"get")}),Object.defineProperty(e,"escape",{enumerable:!0,get:m(function(){return i.escape},"get")}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:m(function(){return i.escapeUTF8},"get")}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:m(function(){return i.encodeHTML},"get")}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:m(function(){return i.encodeHTML},"get")});var s=bm();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:m(function(){return s.decodeXML},"get")}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:m(function(){return s.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:m(function(){return s.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:m(function(){return s.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:m(function(){return s.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:m(function(){return s.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:m(function(){return s.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:m(function(){return s.decodeXML},"get")})}),QR=L((e,t)=>{"use strict";function r(P,q){if(!(P instanceof q))throw new TypeError("Cannot call a class as a function")}m(r,"_classCallCheck");function n(P,q){for(var J=0;J=P.length?{done:!0}:{done:!1,value:P[X++]}},"n"),e:m(function(ie){throw ie},"e"),f:te}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var re=!0,ee=!1,oe;return{s:m(function(){J=J.call(P)},"s"),n:m(function(){var ie=J.next();return re=ie.done,ie},"n"),e:m(function(ie){ee=!0,oe=ie},"e"),f:m(function(){try{!re&&J.return!=null&&J.return()}finally{if(ee)throw oe}},"f")}}m(a,"_createForOfIteratorHelper");function i(P,q){if(P){if(typeof P=="string")return s(P,q);var J=Object.prototype.toString.call(P).slice(8,-1);if(J==="Object"&&P.constructor&&(J=P.constructor.name),J==="Map"||J==="Set")return Array.from(P);if(J==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(J))return s(P,q)}}m(i,"_unsupportedIterableToArray");function s(P,q){(q==null||q>P.length)&&(q=P.length);for(var J=0,X=new Array(q);J0?P*40+55:0,ee=q>0?q*40+55:0,oe=J>0?J*40+55:0;X[te]=f([re,ee,oe])}m(d,"setStyleColor");function y(P){for(var q=P.toString(16);q.length<2;)q="0"+q;return q}m(y,"toHexString");function f(P){var q=[],J=a(P),X;try{for(J.s();!(X=J.n()).done;){var te=X.value;q.push(y(te))}}catch(re){J.e(re)}finally{J.f()}return"#"+q.join("")}m(f,"toColorHexString");function h(P,q,J,X){var te;return q==="text"?te=O(J,X):q==="display"?te=C(P,J,X):q==="xterm256Foreground"?te=R(P,X.colors[J]):q==="xterm256Background"?te=M(P,X.colors[J]):q==="rgb"&&(te=g(P,J)),te}m(h,"generateOutput");function g(P,q){q=q.substring(2).slice(0,-1);var J=+q.substr(0,2),X=q.substring(5).split(";"),te=X.map(function(re){return("0"+Number(re).toString(16)).substr(-2)}).join("");return D(P,(J===38?"color:#":"background-color:#")+te)}m(g,"handleRgb");function C(P,q,J){q=parseInt(q,10);var X={"-1":m(function(){return"
"},"_"),0:m(function(){return P.length&&b(P)},"_"),1:m(function(){return I(P,"b")},"_"),3:m(function(){return I(P,"i")},"_"),4:m(function(){return I(P,"u")},"_"),8:m(function(){return D(P,"display:none")},"_"),9:m(function(){return I(P,"strike")},"_"),22:m(function(){return D(P,"font-weight:normal;text-decoration:none;font-style:normal")},"_"),23:m(function(){return z(P,"i")},"_"),24:m(function(){return z(P,"u")},"_"),39:m(function(){return R(P,J.fg)},"_"),49:m(function(){return M(P,J.bg)},"_"),53:m(function(){return D(P,"text-decoration:overline")},"_")},te;return X[q]?te=X[q]():4"}).join("")}m(b,"resetStyles");function E(P,q){for(var J=[],X=P;X<=q;X++)J.push(X);return J}m(E,"range");function _(P){return function(q){return(P===null||q.category!==P)&&P!=="all"}}m(_,"notCategory");function T(P){P=parseInt(P,10);var q=null;return P===0?q="all":P===1?q="bold":2")}m(I,"pushTag");function D(P,q){return I(P,"span",q)}m(D,"pushStyle");function R(P,q){return I(P,"span","color:"+q)}m(R,"pushForegroundColor");function M(P,q){return I(P,"span","background-color:"+q)}m(M,"pushBackgroundColor");function z(P,q){var J;if(P.slice(-1)[0]===q&&(J=P.pop()),J)return""}m(z,"closeTag");function Y(P,q,J){var X=!1,te=3;function re(){return""}m(re,"remove");function ee(je,fe){return J("xterm256Foreground",fe),""}m(ee,"removeXterm256Foreground");function oe(je,fe){return J("xterm256Background",fe),""}m(oe,"removeXterm256Background");function ie(je){return q.newline?J("display",-1):J("text",je),""}m(ie,"newline");function ce(je,fe){X=!0,fe.trim().length===0&&(fe="0"),fe=fe.trimRight(";").split(";");var Se=a(fe),Et;try{for(Se.s();!(Et=Se.n()).done;){var Rt=Et.value;J("display",Rt)}}catch(fr){Se.e(fr)}finally{Se.f()}return""}m(ce,"ansiMess");function be(je){return J("text",je),""}m(be,"realText");function pe(je){return J("rgb",je),""}m(pe,"rgb");var ye=[{pattern:/^\x08+/,sub:re},{pattern:/^\x1b\[[012]?K/,sub:re},{pattern:/^\x1b\[\(B/,sub:re},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:pe},{pattern:/^\x1b\[38;5;(\d+)m/,sub:ee},{pattern:/^\x1b\[48;5;(\d+)m/,sub:oe},{pattern:/^\n/,sub:ie},{pattern:/^\r+\n/,sub:ie},{pattern:/^\r/,sub:ie},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:ce},{pattern:/^\x1b\[\d?J/,sub:re},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:re},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:re},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:be}];function _e(je,fe){fe>te&&X||(X=!1,P=P.replace(je.pattern,je.sub))}m(_e,"process");var Me=[],Oe=P,he=Oe.length;e:for(;he>0;){for(var Ue=0,Te=0,$e=ye.length;Te<$e;Ue=++Te){var lt=ye[Ue];if(_e(lt,Ue),P.length!==he){he=P.length;continue e}}if(P.length===he)break;Me.push(0),he=P.length}return Me}m(Y,"tokenize");function Z(P,q,J){return q!=="text"&&(P=P.filter(_(T(J))),P.push({token:q,data:J,category:T(J)})),P}m(Z,"updateStickyStack");var V=function(){function P(q){r(this,P),q=q||{},q.colors&&(q.colors=Object.assign({},u.colors,q.colors)),this.options=Object.assign({},u,q),this.stack=[],this.stickyStack=[]}return m(P,"Filter"),o(P,[{key:"toHtml",value:m(function(q){var J=this;q=typeof q=="string"?[q]:q;var X=this.stack,te=this.options,re=[];return this.stickyStack.forEach(function(ee){var oe=h(X,ee.token,ee.data,te);oe&&re.push(oe)}),Y(q.join(""),te,function(ee,oe){var ie=h(X,ee,oe,te);ie&&re.push(ie),te.stream&&(J.stickyStack=Z(J.stickyStack,ee,oe))}),X.length&&re.push(b(X)),re.join("")},"toHtml")}]),P}();t.exports=V}),Le=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof window<"u"?e=window:typeof self<"u"?e=self:e={},e})();function pg(){let e={setHandler:m(()=>{},"setHandler"),send:m(()=>{},"send")};return new jh({transport:e})}m(pg,"mockChannel");var dg=class{constructor(){this.getChannel=m(()=>{if(!this.channel){let t=pg();return this.setChannel(t),t}return this.channel},"getChannel"),this.ready=m(()=>this.promise,"ready"),this.hasChannel=m(()=>!!this.channel,"hasChannel"),this.setChannel=m(t=>{this.channel=t,this.resolve()},"setChannel"),this.promise=new Promise(t=>{this.resolve=()=>t(this.getChannel())})}};m(dg,"AddonStore");var ZR=dg,Vi="__STORYBOOK_ADDONS_PREVIEW";function fg(){return Le[Vi]||(Le[Vi]=new ZR),Le[Vi]}m(fg,"getAddonsStore");var or=fg(),yg=class{constructor(){this.hookListsMap=void 0,this.mountedDecorators=void 0,this.prevMountedDecorators=void 0,this.currentHooks=void 0,this.nextHookIndex=void 0,this.currentPhase=void 0,this.currentEffects=void 0,this.prevEffects=void 0,this.currentDecoratorName=void 0,this.hasUpdates=void 0,this.currentContext=void 0,this.renderListener=m(t=>{t===this.currentContext?.id&&(this.triggerEffects(),this.currentContext=null,this.removeRenderListeners())},"renderListener"),this.init()}init(){this.hookListsMap=new WeakMap,this.mountedDecorators=new Set,this.prevMountedDecorators=new Set,this.currentHooks=[],this.nextHookIndex=0,this.currentPhase="NONE",this.currentEffects=[],this.prevEffects=[],this.currentDecoratorName=null,this.hasUpdates=!1,this.currentContext=null}clean(){this.prevEffects.forEach(t=>{t.destroy&&t.destroy()}),this.init(),this.removeRenderListeners()}getNextHook(){let t=this.currentHooks[this.nextHookIndex];return this.nextHookIndex+=1,t}triggerEffects(){this.prevEffects.forEach(t=>{!this.currentEffects.includes(t)&&t.destroy&&t.destroy()}),this.currentEffects.forEach(t=>{this.prevEffects.includes(t)||(t.destroy=t.create())}),this.prevEffects=this.currentEffects,this.currentEffects=[]}addRenderListeners(){this.removeRenderListeners(),or.getChannel().on(cn,this.renderListener)}removeRenderListeners(){or.getChannel().removeListener(cn,this.renderListener)}};m(yg,"HooksContext");var hg=yg;function Xi(e){let t=m((...r)=>{let{hooks:n}=typeof r[0]=="function"?r[1]:r[0],o=n.currentPhase,a=n.currentHooks,i=n.nextHookIndex,s=n.currentDecoratorName;n.currentDecoratorName=e.name,n.prevMountedDecorators.has(e)?(n.currentPhase="UPDATE",n.currentHooks=n.hookListsMap.get(e)||[]):(n.currentPhase="MOUNT",n.currentHooks=[],n.hookListsMap.set(e,n.currentHooks),n.prevMountedDecorators.add(e)),n.nextHookIndex=0;let l=Le.STORYBOOK_HOOKS_CONTEXT;Le.STORYBOOK_HOOKS_CONTEXT=n;let u=e(...r);if(Le.STORYBOOK_HOOKS_CONTEXT=l,n.currentPhase==="UPDATE"&&n.getNextHook()!=null)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return n.currentPhase=o,n.currentHooks=a,n.nextHookIndex=i,n.currentDecoratorName=s,u},"hookified");return t.originalFn=e,t}m(Xi,"hookify");var Hi=0,e5=25,t5=m(e=>(t,r)=>{let n=e(Xi(t),r.map(o=>Xi(o)));return o=>{let{hooks:a}=o;a.prevMountedDecorators??=new Set,a.mountedDecorators=new Set([t,...r]),a.currentContext=o,a.hasUpdates=!1;let i=n(o);for(Hi=1;a.hasUpdates;)if(a.hasUpdates=!1,a.currentEffects=[],i=n(o),Hi+=1,Hi>e5)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return a.addRenderListeners(),i}},"applyHooks"),r5=m((e,t)=>e.length===t.length&&e.every((r,n)=>r===t[n]),"areDepsEqual"),_s=m(()=>new Error("Storybook preview hooks can only be called inside decorators and story functions."),"invalidHooksError");function Os(){return Le.STORYBOOK_HOOKS_CONTEXT||null}m(Os,"getHooksContextOrNull");function ea(){let e=Os();if(e==null)throw _s();return e}m(ea,"getHooksContextOrThrow");function mg(e,t,r){let n=ea();if(n.currentPhase==="MOUNT"){r!=null&&!Array.isArray(r)&&ge.warn(`${e} received a final argument that is not an array (instead, received ${r}). When specified, the final argument must be an array.`);let o={name:e,deps:r};return n.currentHooks.push(o),t(o),o}if(n.currentPhase==="UPDATE"){let o=n.getNextHook();if(o==null)throw new Error("Rendered more hooks than during the previous render.");return o.name!==e&&ge.warn(`Storybook has detected a change in the order of Hooks${n.currentDecoratorName?` called by ${n.currentDecoratorName}`:""}. This will lead to bugs and errors if not fixed.`),r!=null&&o.deps==null&&ge.warn(`${e} received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.`),r!=null&&o.deps!=null&&r.length!==o.deps.length&&ge.warn(`The final argument passed to ${e} changed size between renders. The order and size of this array must remain constant. Previous: ${o.deps} -Incoming: ${r}`),(r==null||o.deps==null||!l5(r,o.deps))&&(t(o),o.deps=r),o}throw Is()}m(xg,"useHook");function Jn(e,t,r){let{memoizedState:n}=xg(e,o=>{o.memoizedState=t()},r);return n}m(Jn,"useMemoLike");function u5(e,t){return Jn("useMemo",e,t)}m(u5,"useMemo");function Bn(e,t){return Jn("useCallback",()=>e,t)}m(Bn,"useCallback");function ks(e,t){return Jn(e,()=>({current:t}),[])}m(ks,"useRefLike");function c5(e){return ks("useRef",e)}m(c5,"useRef");function Eg(){let e=Ps();if(e!=null&&e.currentPhase!=="NONE")e.hasUpdates=!0;else try{pr.getChannel().emit(co)}catch{me.warn("State updates of Storybook preview hooks work only in browser")}}m(Eg,"triggerUpdate");function Rs(e,t){let r=ks(e,typeof t=="function"?t():t),n=m(o=>{r.current=typeof o=="function"?o(r.current):o,Eg()},"setState");return[r.current,n]}m(Rs,"useStateLike");function p5(e){return Rs("useState",e)}m(p5,"useState");function d5(e,t,r){let n=r!=null?()=>r(t):t,[o,a]=Rs("useReducer",n);return[o,m(i=>a(s=>e(s,i)),"dispatch")]}m(d5,"useReducer");function wg(e,t){let r=na(),n=Jn("useEffect",()=>({create:e}),t);r.currentEffects.includes(n)||r.currentEffects.push(n)}m(wg,"useEffect");function f5(e,t=[]){let r=pr.getChannel();return wg(()=>(Object.entries(e).forEach(([n,o])=>r.on(n,o)),()=>{Object.entries(e).forEach(([n,o])=>r.removeListener(n,o))}),[...Object.keys(e),...t]),Bn(r.emit.bind(r),[r])}m(f5,"useChannel");function oa(){let{currentContext:e}=na();if(e==null)throw Is();return e}m(oa,"useStoryContext");function y5(e,t){let{parameters:r}=oa();if(e)return r[e]??t}m(y5,"useParameter");function h5(){let e=pr.getChannel(),{id:t,args:r}=oa(),n=Bn(a=>e.emit(ho,{storyId:t,updatedArgs:a}),[e,t]),o=Bn(a=>e.emit(po,{storyId:t,argNames:a}),[e,t]);return[r,n,o]}m(h5,"useArgs");function m5(){let e=pr.getChannel(),{globals:t}=oa(),r=Bn(n=>e.emit(yo,{globals:n}),[e]);return[t,r]}m(m5,"useGlobals");var Ere=m(({name:e,parameterName:t,wrapper:r,skipIfNoParametersOrOptions:n=!1})=>{let o=m(a=>(i,s)=>{let l=s.parameters&&s.parameters[t];return l&&l.disable||n&&!a&&!l?i(s):r(i,s,{options:a,parameters:l})},"decorator");return(...a)=>typeof a[0]=="function"?o()(...a):(...i)=>{if(i.length>1)return a.length>1?o(a)(...i):o(...a)(...i);throw new Error(`Passing stories directly into ${e}() is not allowed, - instead use addDecorator(${e}) and pass options with the '${t}' parameter`)}},"makeDecorator"),Ki=Qe(Lm(),1),g5=Qe(ra(),1),Am=Qe(_R(),1),b5=Qe(Lm(),1),v5=(0,b5.default)(1)(e=>Object.values(e).reduce((t,r)=>(t[r.importPath]=t[r.importPath]||r,t),{})),Sg=class{entries;constructor({entries:t}={v:5,entries:{}}){this.entries=t}entryFromSpecifier(t){let r=Object.values(this.entries);if(t==="*")return r[0];if(typeof t=="string")return this.entries[t]?this.entries[t]:r.find(a=>a.id.startsWith(t));let{name:n,title:o}=t;return r.find(a=>a.name===n&&a.title===o)}storyIdToEntry(t){let r=this.entries[t];if(!r)throw new $h({storyId:t});return r}importPathToEntry(t){return v5(this.entries)[t]}};m(Sg,"StoryIndexStore");var x5=Sg,Tm=Object.prototype.hasOwnProperty;function ts(e,t,r){for(r of e.keys())if(Vr(r,t))return r}m(ts,"find");function Vr(e,t){var r,n,o;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((n=e.length)===t.length)for(;n--&&Vr(e[n],t[n]););return n===-1}if(r===Set){if(e.size!==t.size)return!1;for(n of e)if(o=n,o&&typeof o=="object"&&(o=ts(t,o),!o)||!t.has(o))return!1;return!0}if(r===Map){if(e.size!==t.size)return!1;for(n of e)if(o=n[0],o&&typeof o=="object"&&(o=ts(t,o),!o)||!Vr(n[1],t.get(o)))return!1;return!0}if(r===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(r===DataView){if((n=e.byteLength)===t.byteLength)for(;n--&&e.getInt8(n)===t.getInt8(n););return n===-1}if(ArrayBuffer.isView(e)){if((n=e.byteLength)===t.byteLength)for(;n--&&e[n]===t[n];);return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(Tm.call(e,r)&&++n&&!Tm.call(t,r)||!(r in t)||!Vr(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}m(Vr,"dequal");var Ho=Qe(As(),1);function lt(e){for(var t=[],r=1;r{o.memoizedState=t()},r);return n}m(Rn,"useMemoLike");function n5(e,t){return Rn("useMemo",e,t)}m(n5,"useMemo");function _n(e,t){return Rn("useCallback",()=>e,t)}m(_n,"useCallback");function Is(e,t){return Rn(e,()=>({current:t}),[])}m(Is,"useRefLike");function o5(e){return Is("useRef",e)}m(o5,"useRef");function gg(){let e=Os();if(e!=null&&e.currentPhase!=="NONE")e.hasUpdates=!0;else try{or.getChannel().emit(so)}catch{ge.warn("State updates of Storybook preview hooks work only in browser")}}m(gg,"triggerUpdate");function ks(e,t){let r=Is(e,typeof t=="function"?t():t),n=m(o=>{r.current=typeof o=="function"?o(r.current):o,gg()},"setState");return[r.current,n]}m(ks,"useStateLike");function a5(e){return ks("useState",e)}m(a5,"useState");function i5(e,t,r){let n=r!=null?()=>r(t):t,[o,a]=ks("useReducer",n);return[o,m(i=>a(s=>e(s,i)),"dispatch")]}m(i5,"useReducer");function bg(e,t){let r=ea(),n=Rn("useEffect",()=>({create:e}),t);r.currentEffects.includes(n)||r.currentEffects.push(n)}m(bg,"useEffect");function s5(e,t=[]){let r=or.getChannel();return bg(()=>(Object.entries(e).forEach(([n,o])=>r.on(n,o)),()=>{Object.entries(e).forEach(([n,o])=>r.removeListener(n,o))}),[...Object.keys(e),...t]),_n(r.emit.bind(r),[r])}m(s5,"useChannel");function ta(){let{currentContext:e}=ea();if(e==null)throw _s();return e}m(ta,"useStoryContext");function l5(e,t){let{parameters:r}=ta();if(e)return r[e]??t}m(l5,"useParameter");function u5(){let e=or.getChannel(),{id:t,args:r}=ta(),n=_n(a=>e.emit(po,{storyId:t,updatedArgs:a}),[e,t]),o=_n(a=>e.emit(lo,{storyId:t,argNames:a}),[e,t]);return[r,n,o]}m(u5,"useArgs");function c5(){let e=or.getChannel(),{globals:t}=ta(),r=_n(n=>e.emit(co,{globals:n}),[e]);return[t,r]}m(c5,"useGlobals");var Ire=m(({name:e,parameterName:t,wrapper:r,skipIfNoParametersOrOptions:n=!1})=>{let o=m(a=>(i,s)=>{let l=s.parameters&&s.parameters[t];return l&&l.disable||n&&!a&&!l?i(s):r(i,s,{options:a,parameters:l})},"decorator");return(...a)=>typeof a[0]=="function"?o()(...a):(...i)=>{if(i.length>1)return a.length>1?o(a)(...i):o(...a)(...i);throw new Error(`Passing stories directly into ${e}() is not allowed, + instead use addDecorator(${e}) and pass options with the '${t}' parameter`)}},"makeDecorator"),p5=Qe(Zo(),1),Em=Qe(xR(),1),Ji=Qe(og(),1),xm=Object.prototype.hasOwnProperty;function Qi(e,t,r){for(r of e.keys())if(Nr(r,t))return r}m(Qi,"find");function Nr(e,t){var r,n,o;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((n=e.length)===t.length)for(;n--&&Nr(e[n],t[n]););return n===-1}if(r===Set){if(e.size!==t.size)return!1;for(n of e)if(o=n,o&&typeof o=="object"&&(o=Qi(t,o),!o)||!t.has(o))return!1;return!0}if(r===Map){if(e.size!==t.size)return!1;for(n of e)if(o=n[0],o&&typeof o=="object"&&(o=Qi(t,o),!o)||!Nr(n[1],t.get(o)))return!1;return!0}if(r===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(r===DataView){if((n=e.byteLength)===t.byteLength)for(;n--&&e.getInt8(n)===t.getInt8(n););return n===-1}if(ArrayBuffer.isView(e)){if((n=e.byteLength)===t.byteLength)for(;n--&&e[n]===t[n];);return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(xm.call(e,r)&&++n&&!xm.call(t,r)||!(r in t)||!Nr(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}m(Nr,"dequal");var zo=Qe(ws(),1);function at(e){for(var t=[],r=1;r{let r=t.type;if(e==null||!r||t.mapping)return e;switch(r.name){case"string":return String(e);case"enum":return e;case"number":return Number(e);case"boolean":return String(e)==="true";case"array":return!r.value||!Array.isArray(e)?$r:e.reduce((n,o,a)=>{let i=rs(o,{type:r.value});return i!==$r&&(n[a]=i),n},new Array(e.length));case"object":return typeof e=="string"||typeof e=="number"?e:!r.value||typeof e!="object"?$r:Object.entries(e).reduce((n,[o,a])=>{let i=rs(a,{type:r.value[o]});return i===$r?n:Object.assign(n,{[o]:i})},{});default:return $r}},"map"),E5=m((e,t)=>Object.entries(e).reduce((r,[n,o])=>{if(!t[n])return r;let a=rs(o,t[n]);return a===$r?r:Object.assign(r,{[n]:a})},{}),"mapArgsToTypes"),ns=m((e,t)=>Array.isArray(e)&&Array.isArray(t)?t.reduce((r,n,o)=>(r[o]=ns(e[o],t[o]),r),[...e]).filter(r=>r!==void 0):!(0,Ho.default)(e)||!(0,Ho.default)(t)?t:Object.keys({...e,...t}).reduce((r,n)=>{if(n in t){let o=ns(e[n],t[n]);o!==void 0&&(r[n]=o)}else r[n]=e[n];return r},{}),"combineArgs"),w5=m((e,t)=>Object.entries(t).reduce((r,[n,{options:o}])=>{function a(){return n in e&&(r[n]=e[n]),r}if(m(a,"allowArg"),!o)return a();if(!Array.isArray(o))return Ut.error(lt` +`)),i+=d+n[l+1]}),i}m(at,"dedent");var Fr=Symbol("incompatible"),Zi=m((e,t)=>{let r=t.type;if(e==null||!r||t.mapping)return e;switch(r.name){case"string":return String(e);case"enum":return e;case"number":return Number(e);case"boolean":return String(e)==="true";case"array":return!r.value||!Array.isArray(e)?Fr:e.reduce((n,o,a)=>{let i=Zi(o,{type:r.value});return i!==Fr&&(n[a]=i),n},new Array(e.length));case"object":return typeof e=="string"||typeof e=="number"?e:!r.value||typeof e!="object"?Fr:Object.entries(e).reduce((n,[o,a])=>{let i=Zi(a,{type:r.value[o]});return i===Fr?n:Object.assign(n,{[o]:i})},{});default:return Fr}},"map"),d5=m((e,t)=>Object.entries(e).reduce((r,[n,o])=>{if(!t[n])return r;let a=Zi(o,t[n]);return a===Fr?r:Object.assign(r,{[n]:a})},{}),"mapArgsToTypes"),es=m((e,t)=>Array.isArray(e)&&Array.isArray(t)?t.reduce((r,n,o)=>(r[o]=es(e[o],t[o]),r),[...e]).filter(r=>r!==void 0):!(0,zo.default)(e)||!(0,zo.default)(t)?t:Object.keys({...e,...t}).reduce((r,n)=>{if(n in t){let o=es(e[n],t[n]);o!==void 0&&(r[n]=o)}else r[n]=e[n];return r},{}),"combineArgs"),f5=m((e,t)=>Object.entries(t).reduce((r,[n,{options:o}])=>{function a(){return n in e&&(r[n]=e[n]),r}if(m(a,"allowArg"),!o)return a();if(!Array.isArray(o))return Mt.error(at` Invalid argType: '${n}.options' should be an array. More info: https://storybook.js.org/docs/react/api/argtypes - `),a();if(o.some(d=>d&&["object","function"].includes(typeof d)))return Ut.error(lt` + `),a();if(o.some(d=>d&&["object","function"].includes(typeof d)))return Mt.error(at` Invalid argType: '${n}.options' should only contain primitives. Use a 'mapping' for complex values. More info: https://storybook.js.org/docs/react/writing-stories/args#mapping-to-complex-arg-values - `),a();let i=Array.isArray(e[n]),s=i&&e[n].findIndex(d=>!o.includes(d)),l=i&&s===-1;if(e[n]===void 0||o.includes(e[n])||l)return a();let u=i?`${n}[${s}]`:n,c=o.map(d=>typeof d=="string"?`'${d}'`:String(d)).join(", ");return Ut.warn(`Received illegal value for '${u}'. Supported options: ${c}`),r},{}),"validateOptions"),jn=Symbol("Deeply equal"),Go=m((e,t)=>{if(typeof e!=typeof t)return t;if(Vr(e,t))return jn;if(Array.isArray(e)&&Array.isArray(t)){let r=t.reduce((n,o,a)=>{let i=Go(e[a],o);return i!==jn&&(n[a]=i),n},new Array(t.length));return t.length>=e.length?r:r.concat(new Array(e.length-t.length).fill(void 0))}return(0,Ho.default)(e)&&(0,Ho.default)(t)?Object.keys({...e,...t}).reduce((r,n)=>{let o=Go(e?.[n],t?.[n]);return o===jn?r:Object.assign(r,{[n]:o})},{}):t},"deepDiff"),Ag="UNTARGETED";function Tg({args:e,argTypes:t}){let r={};return Object.entries(e).forEach(([n,o])=>{let{target:a=Ag}=t[n]||{};r[a]=r[a]||{},r[a][n]=o}),r}m(Tg,"groupArgsByTarget");function Cg(e){return Object.keys(e).forEach(t=>e[t]===void 0&&delete e[t]),e}m(Cg,"deleteUndefined");var _g=class{initialArgsByStoryId={};argsByStoryId={};get(t){if(!(t in this.argsByStoryId))throw new Error(`No args known for ${t} -- has it been rendered yet?`);return this.argsByStoryId[t]}setInitial(t){if(!this.initialArgsByStoryId[t.id])this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs;else if(this.initialArgsByStoryId[t.id]!==t.initialArgs){let r=Go(this.initialArgsByStoryId[t.id],this.argsByStoryId[t.id]);this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs,r!==jn&&this.updateFromDelta(t,r)}}updateFromDelta(t,r){let n=w5(r,t.argTypes);this.argsByStoryId[t.id]=ns(this.argsByStoryId[t.id],n)}updateFromPersisted(t,r){let n=E5(r,t.argTypes);return this.updateFromDelta(t,n)}update(t,r){if(!(t in this.argsByStoryId))throw new Error(`No args known for ${t} -- has it been rendered yet?`);this.argsByStoryId[t]=Cg({...this.argsByStoryId[t],...r})}};m(_g,"ArgsStore");var S5=_g,Og=m((e={})=>Object.entries(e).reduce((t,[r,{defaultValue:n}])=>(typeof n<"u"&&(t[r]=n),t),{}),"getValuesFromArgTypes"),Ig=class{allowedGlobalNames;initialGlobals;globals;constructor({globals:t={},globalTypes:r={}}){this.set({globals:t,globalTypes:r})}set({globals:t={},globalTypes:r={}}){let n=this.initialGlobals&&Go(this.initialGlobals,this.globals);this.allowedGlobalNames=new Set([...Object.keys(t),...Object.keys(r)]);let o=Og(r);this.initialGlobals={...o,...t},this.globals=this.initialGlobals,n&&n!==jn&&this.updateFromPersisted(n)}filterAllowedGlobals(t){return Object.entries(t).reduce((r,[n,o])=>(this.allowedGlobalNames.has(n)?r[n]=o:me.warn(`Attempted to set a global (${n}) that is not defined in initial globals or globalTypes`),r),{})}updateFromPersisted(t){let r=this.filterAllowedGlobals(t);this.globals={...this.globals,...r}}get(){return this.globals}update(t){this.globals={...this.globals,...this.filterAllowedGlobals(t)}}};m(Ig,"GlobalsStore");var A5=Ig,T5=Qe(ra(),1),C5=m(e=>typeof e=="string"?{name:e}:e,"normalizeType"),_5=m(e=>typeof e=="string"?{type:e}:e,"normalizeControl"),O5=m((e,t)=>{let{type:r,control:n,...o}=e,a={name:t,...o};return r&&(a.type=C5(r)),n?a.control=_5(n):n===!1&&(a.control={disable:!0}),a},"normalizeInputType"),Wo=m(e=>(0,T5.default)(e,O5),"normalizeInputTypes"),Fe=m(e=>Array.isArray(e)?e:e?[e]:[],"normalizeArrays"),I5=lt` + `),a();let i=Array.isArray(e[n]),s=i&&e[n].findIndex(d=>!o.includes(d)),l=i&&s===-1;if(e[n]===void 0||o.includes(e[n])||l)return a();let u=i?`${n}[${s}]`:n,c=o.map(d=>typeof d=="string"?`'${d}'`:String(d)).join(", ");return Mt.warn(`Received illegal value for '${u}'. Supported options: ${c}`),r},{}),"validateOptions"),Tn=Symbol("Deeply equal"),Vo=m((e,t)=>{if(typeof e!=typeof t)return t;if(Nr(e,t))return Tn;if(Array.isArray(e)&&Array.isArray(t)){let r=t.reduce((n,o,a)=>{let i=Vo(e[a],o);return i!==Tn&&(n[a]=i),n},new Array(t.length));return t.length>=e.length?r:r.concat(new Array(e.length-t.length).fill(void 0))}return(0,zo.default)(e)&&(0,zo.default)(t)?Object.keys({...e,...t}).reduce((r,n)=>{let o=Vo(e?.[n],t?.[n]);return o===Tn?r:Object.assign(r,{[n]:o})},{}):t},"deepDiff"),vg="UNTARGETED";function Eg({args:e,argTypes:t}){let r={};return Object.entries(e).forEach(([n,o])=>{let{target:a=vg}=t[n]||{};r[a]=r[a]||{},r[a][n]=o}),r}m(Eg,"groupArgsByTarget");function xg(e){return Object.keys(e).forEach(t=>e[t]===void 0&&delete e[t]),e}m(xg,"deleteUndefined");var wg=class{constructor(){this.initialArgsByStoryId={},this.argsByStoryId={}}get(t){if(!(t in this.argsByStoryId))throw new Error(`No args known for ${t} -- has it been rendered yet?`);return this.argsByStoryId[t]}setInitial(t){if(!this.initialArgsByStoryId[t.id])this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs;else if(this.initialArgsByStoryId[t.id]!==t.initialArgs){let r=Vo(this.initialArgsByStoryId[t.id],this.argsByStoryId[t.id]);this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs,r!==Tn&&this.updateFromDelta(t,r)}}updateFromDelta(t,r){let n=f5(r,t.argTypes);this.argsByStoryId[t.id]=es(this.argsByStoryId[t.id],n)}updateFromPersisted(t,r){let n=d5(r,t.argTypes);return this.updateFromDelta(t,n)}update(t,r){if(!(t in this.argsByStoryId))throw new Error(`No args known for ${t} -- has it been rendered yet?`);this.argsByStoryId[t]=xg({...this.argsByStoryId[t],...r})}};m(wg,"ArgsStore");var y5=wg,Sg=m((e={})=>Object.entries(e).reduce((t,[r,{defaultValue:n}])=>(typeof n<"u"&&(t[r]=n),t),{}),"getValuesFromArgTypes"),Ag=class{constructor({globals:t={},globalTypes:r={}}){this.set({globals:t,globalTypes:r})}set({globals:t={},globalTypes:r={}}){let n=this.initialGlobals&&Vo(this.initialGlobals,this.globals);this.allowedGlobalNames=new Set([...Object.keys(t),...Object.keys(r)]);let o=Sg(r);this.initialGlobals={...o,...t},this.globals=this.initialGlobals,n&&n!==Tn&&this.updateFromPersisted(n)}filterAllowedGlobals(t){return Object.entries(t).reduce((r,[n,o])=>(this.allowedGlobalNames.has(n)?r[n]=o:ge.warn(`Attempted to set a global (${n}) that is not defined in initial globals or globalTypes`),r),{})}updateFromPersisted(t){let r=this.filterAllowedGlobals(t);this.globals={...this.globals,...r}}get(){return this.globals}update(t){this.globals={...this.globals,...this.filterAllowedGlobals(t)}}};m(Ag,"GlobalsStore");var h5=Ag,m5=Qe(og(),1),g5=(0,m5.default)(1)(e=>Object.values(e).reduce((t,r)=>(t[r.importPath]=t[r.importPath]||r,t),{})),Tg=class{constructor({entries:t}={v:5,entries:{}}){this.entries=t}entryFromSpecifier(t){let r=Object.values(this.entries);if(t==="*")return r[0];if(typeof t=="string")return this.entries[t]?this.entries[t]:r.find(a=>a.id.startsWith(t));let{name:n,title:o}=t;return r.find(a=>a.name===n&&a.title===o)}storyIdToEntry(t){let r=this.entries[t];if(!r)throw new qh({storyId:t});return r}importPathToEntry(t){return g5(this.entries)[t]}};m(Tg,"StoryIndexStore");var b5=Tg,v5=Qe(Zo(),1),E5=m(e=>typeof e=="string"?{name:e}:e,"normalizeType"),x5=m(e=>typeof e=="string"?{type:e}:e,"normalizeControl"),w5=m((e,t)=>{let{type:r,control:n,...o}=e,a={name:t,...o};return r&&(a.type=E5(r)),n?a.control=x5(n):n===!1&&(a.control={disable:!0}),a},"normalizeInputType"),Ho=m(e=>(0,v5.default)(e,w5),"normalizeInputTypes"),Pe=m(e=>Array.isArray(e)?e:e?[e]:[],"normalizeArrays"),S5=at` CSF .story annotations deprecated; annotate story functions directly: - StoryFn.story.name => StoryFn.storyName - StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators) See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod. -`;function Ds(e,t,r){let n=t,o=typeof t=="function"?t:null,{story:a}=n;a&&(me.debug("deprecated story",a),Ct(I5));let i=xm(e),s=typeof n!="function"&&n.name||n.storyName||a?.name||i,l=[...Fe(n.decorators),...Fe(a?.decorators)],u={...a?.parameters,...n.parameters},c={...a?.args,...n.args},d={...a?.argTypes,...n.argTypes},y=[...Fe(n.loaders),...Fe(a?.loaders)],f=[...Fe(n.beforeEach),...Fe(a?.beforeEach)],{render:h,play:g,tags:_=[]}=n,x=u.__id||vm(r.id,i);return{moduleExport:t,id:x,name:s,tags:_,decorators:l,parameters:u,args:c,argTypes:Wo(d),loaders:y,beforeEach:f,...h&&{render:h},...o&&{userStoryFn:o},...g&&{play:g}}}m(Ds,"normalizeStory");function Fs(e,t=e.title,r){let{id:n,argTypes:o}=e;return{id:Hi(n||t),...e,title:t,...o&&{argTypes:Wo(o)},parameters:{fileName:r,...e.parameters}}}m(Fs,"normalizeComponentAnnotations");var P5=m(e=>{let{globals:t,globalTypes:r}=e;(t||r)&&me.error("Global args/argTypes can only be set globally",JSON.stringify({globals:t,globalTypes:r}))},"checkGlobals"),k5=m(e=>{let{options:t}=e;t?.storySort&&me.error("The storySort option parameter can only be set globally")},"checkStorySort"),Cm=m(e=>{e&&(P5(e),k5(e))},"checkDisallowedParameters");function Pg(e,t,r){let{default:n,__namedExportsOrder:o,...a}=e,i=Fs(n,r,t);Cm(i.parameters);let s={meta:i,stories:{},moduleExports:e};return Object.keys(a).forEach(l=>{if(Jo(l,i)){let u=Ds(l,a[l],i);Cm(u.parameters),s.stories[u.id]=u}}),s}m(Pg,"processCSFFile");var Yi=Qe(As(),1),Ot=m((...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((o,a)=>(Object.entries(a).forEach(([i,s])=>{let l=o[i];Array.isArray(s)||typeof l>"u"?o[i]=s:(0,Yi.default)(s)&&(0,Yi.default)(l)?t[i]=!0:typeof s<"u"&&(o[i]=s)}),o),{});return Object.keys(t).forEach(o=>{let a=r.filter(Boolean).map(i=>i[o]).filter(i=>typeof i<"u");a.every(i=>(0,Yi.default)(i))?n[o]=Ot(...a):n[o]=a[a.length-1]}),n},"combineParameters");function kg(e,t,r){let n=r(e);return o=>t(n,o)}m(kg,"decorateStory");function Rg({componentId:e,title:t,kind:r,id:n,name:o,story:a,parameters:i,initialArgs:s,argTypes:l,...u}={}){return u}m(Rg,"sanitizeStoryContextUpdate");function Dg(e,t){let r={},n=m(a=>i=>{if(!r.value)throw new Error("Decorated function called without init");return r.value={...r.value,...Rg(i)},a(r.value)},"bindWithContext"),o=t.reduce((a,i)=>kg(a,i,n),e);return a=>(r.value=a,o(a))}m(Dg,"defaultDecorateStory");function Fg(e){return e!=null&&jg(e).includes("mount")}m(Fg,"mountDestructured");function jg(e){let t=e.toString().match(/[^(]*\(([^)]*)/);if(!t)return[];let r=os(t[1]);if(!r.length)return[];let n=r[0];return n.startsWith("{")&&n.endsWith("}")?os(n.slice(1,-1).replace(/\s/g,"")).map(o=>o.replace(/:.*|=.*/g,"")):[]}m(jg,"getUsedProps");function os(e){let t=[],r=[],n=0;for(let a=0;a{let P={};for(let F of[..."__STORYBOOK_TEST_LOADERS__"in Ue&&Array.isArray(Ue.__STORYBOOK_TEST_LOADERS__)?[Ue.__STORYBOOK_TEST_LOADERS__]:[],Fe(r.loaders),Fe(t.loaders),Fe(e.loaders)]){if(I.abortSignal.aborted)return P;let D=await Promise.all(F.map(U=>U(I)));Object.assign(P,...D)}return P},"applyLoaders"),l=m(async I=>{let P=new Array;for(let F of[...Fe(r.beforeEach),...Fe(t.beforeEach),...Fe(e.beforeEach)]){if(I.abortSignal.aborted)return P;let D=await F(I);D&&P.push(D)}return P},"applyBeforeEach"),u=m(I=>I.originalStoryFn(I.args,I),"undecoratedStoryFn"),{applyDecorators:c=Dg,runStep:d}=r,y=[...Fe(e?.decorators),...Fe(t?.decorators),...Fe(r?.decorators)],f=e?.userStoryFn||e?.render||t.render||r.render,h=s5(c)(u,y),g=m(I=>h(I),"unboundStoryFn"),_=e?.play??t?.play,x=Fg(_);if(!f&&!x)throw new um({id:o});let v=m(I=>async()=>(await I.renderToCanvas(),I.canvas),"defaultMount"),O=e.mount??t.mount??r.mount??v,C=r.testingLibraryRender;return{...i,moduleExport:n,id:o,name:a,story:a,originalStoryFn:f,undecoratedStoryFn:u,unboundStoryFn:g,applyLoaders:s,applyBeforeEach:l,playFunction:_,runStep:d,mount:O,testingLibraryRender:C,renderToCanvas:r.renderToCanvas,usesMount:x}}m(js,"prepareStory");function Ng(e,t,r){return{...Ns(void 0,e,t),moduleExport:r}}m(Ng,"prepareMeta");function Ns(e,t,r){let n=["dev","test"],o=Ue.DOCS_OPTIONS?.autodocs===!0?["autodocs"]:[],a=Em(...n,...o,...r.tags??[],...t.tags??[],...e?.tags??[]),i=Ot(r.parameters,t.parameters,e?.parameters),{argTypesEnhancers:s=[],argsEnhancers:l=[]}=r,u=Ot(r.argTypes,t.argTypes,e?.argTypes);if(e){let _=e?.userStoryFn||e?.render||t.render||r.render;i.__isArgsStory=_&&_.length>0}let c={...r.args,...t.args,...e?.args},d={componentId:t.id,title:t.title,kind:t.title,id:e?.id||t.id,name:e?.name||"__meta",story:e?.name||"__meta",component:t.component,subcomponents:t.subcomponents,tags:a,parameters:i,initialArgs:c,argTypes:u};d.argTypes=s.reduce((_,x)=>x({...d,argTypes:_}),d.argTypes);let y={...c};d.initialArgs=l.reduce((_,x)=>({..._,...x({...d,initialArgs:_})}),y);let{name:f,story:h,...g}=d;return g}m(Ns,"preparePartialAnnotations");function Bs(e){let{args:t}=e,r={...e,allArgs:void 0,argsByTarget:void 0};if(Ue.FEATURES?.argTypeTargetsV7){let a=Tg(e);r={...e,allArgs:e.args,argsByTarget:a,args:a[Ag]||{}}}let n=Object.entries(r.args).reduce((a,[i,s])=>{if(!r.argTypes[i]?.mapping)return a[i]=s,a;let l=m(u=>{let c=r.argTypes[i].mapping;return c&&u in c?c[u]:u},"mappingFn");return a[i]=Array.isArray(s)?s.map(l):l(s),a},{}),o=Object.entries(n).reduce((a,[i,s])=>{let l=r.argTypes[i]||{};return bm(l,n,r.globals)&&(a[i]=s),a},{});return{...r,unmappedArgs:t,args:o}}m(Bs,"prepareContext");var as=Qe(ra(),1),is=m((e,t,r)=>{let n=typeof e;switch(n){case"boolean":case"string":case"number":case"function":case"symbol":return{name:n};default:break}return e?r.has(e)?(me.warn(lt` +`;function Ps(e,t,r){let n=t,o=typeof t=="function"?t:null,{story:a}=n;a&&(ge.debug("deprecated story",a),At(S5));let i=mm(e),s=typeof n!="function"&&n.name||n.storyName||a?.name||i,l=[...Pe(n.decorators),...Pe(a?.decorators)],u={...a?.parameters,...n.parameters},c={...a?.args,...n.args},d={...a?.argTypes,...n.argTypes},y=[...Pe(n.loaders),...Pe(a?.loaders)],f=[...Pe(n.beforeEach),...Pe(a?.beforeEach)],{render:h,play:g,tags:C=[],globals:b={}}=n,E=u.__id||hm(r.id,i);return{moduleExport:t,id:E,name:s,tags:C,decorators:l,parameters:u,args:c,argTypes:Ho(d),loaders:y,beforeEach:f,globals:b,...h&&{render:h},...o&&{userStoryFn:o},...g&&{play:g}}}m(Ps,"normalizeStory");function Rs(e,t=e.title,r){let{id:n,argTypes:o}=e;return{id:zi(n||t),...e,title:t,...o&&{argTypes:Ho(o)},parameters:{fileName:r,...e.parameters}}}m(Rs,"normalizeComponentAnnotations");var A5=m(e=>{let{globals:t,globalTypes:r}=e;(t||r)&&ge.error("Global args/argTypes can only be set globally",JSON.stringify({globals:t,globalTypes:r}))},"checkGlobals"),T5=m(e=>{let{options:t}=e;t?.storySort&&ge.error("The storySort option parameter can only be set globally")},"checkStorySort"),wm=m(e=>{e&&(A5(e),T5(e))},"checkDisallowedParameters");function Cg(e,t,r){let{default:n,__namedExportsOrder:o,...a}=e,i=Rs(n,r,t);wm(i.parameters);let s={meta:i,stories:{},moduleExports:e};return Object.keys(a).forEach(l=>{if(qo(l,i)){let u=Ps(l,a[l],i);wm(u.parameters),s.stories[u.id]=u}}),s}m(Cg,"processCSFFile");function _g(e){return e!=null&&Og(e).includes("mount")}m(_g,"mountDestructured");function Og(e){let t=e.toString().match(/[^(]*\(([^)]*)/);if(!t)return[];let r=ts(t[1]);if(!r.length)return[];let n=r[0];return n.startsWith("{")&&n.endsWith("}")?ts(n.slice(1,-1).replace(/\s/g,"")).map(o=>o.replace(/:.*|=.*/g,"")):[]}m(Og,"getUsedProps");function ts(e){let t=[],r=[],n=0;for(let a=0;at(n,o)}m(Ig,"decorateStory");function kg({componentId:e,title:t,kind:r,id:n,name:o,story:a,parameters:i,initialArgs:s,argTypes:l,...u}={}){return u}m(kg,"sanitizeStoryContextUpdate");function Pg(e,t){let r={},n=m(a=>i=>{if(!r.value)throw new Error("Decorated function called without init");return r.value={...r.value,...kg(i)},a(r.value)},"bindWithContext"),o=t.reduce((a,i)=>Ig(a,i,n),e);return a=>(r.value=a,o(a))}m(Pg,"defaultDecorateStory");var Gi=Qe(ws(),1),Ct=m((...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((o,a)=>(Object.entries(a).forEach(([i,s])=>{let l=o[i];Array.isArray(s)||typeof l>"u"?o[i]=s:(0,Gi.default)(s)&&(0,Gi.default)(l)?t[i]=!0:typeof s<"u"&&(o[i]=s)}),o),{});return Object.keys(t).forEach(o=>{let a=r.filter(Boolean).map(i=>i[o]).filter(i=>typeof i<"u");a.every(i=>(0,Gi.default)(i))?n[o]=Ct(...a):n[o]=a[a.length-1]}),n},"combineParameters");function Ds(e,t,r){let{moduleExport:n,id:o,name:a}=e||{},i=Fs(e,t,r),s=m(async O=>{let I={};for(let D of[..."__STORYBOOK_TEST_LOADERS__"in Le&&Array.isArray(Le.__STORYBOOK_TEST_LOADERS__)?[Le.__STORYBOOK_TEST_LOADERS__]:[],Pe(r.loaders),Pe(t.loaders),Pe(e.loaders)]){if(O.abortSignal.aborted)return I;let R=await Promise.all(D.map(M=>M(O)));Object.assign(I,...R)}return I},"applyLoaders"),l=m(async O=>{let I=new Array;for(let D of[...Pe(r.beforeEach),...Pe(t.beforeEach),...Pe(e.beforeEach)]){if(O.abortSignal.aborted)return I;let R=await D(O);R&&I.push(R)}return I},"applyBeforeEach"),u=m(O=>O.originalStoryFn(O.args,O),"undecoratedStoryFn"),{applyDecorators:c=Pg,runStep:d}=r,y=[...Pe(e?.decorators),...Pe(t?.decorators),...Pe(r?.decorators)],f=e?.userStoryFn||e?.render||t.render||r.render,h=t5(c)(u,y),g=m(O=>h(O),"unboundStoryFn"),C=e?.play??t?.play,b=_g(C);if(!f&&!b)throw new am({id:o});let E=m(O=>async()=>(await O.renderToCanvas(),O.canvas),"defaultMount"),_=e.mount??t.mount??r.mount??E,T=r.testingLibraryRender;return{storyGlobals:{},...i,moduleExport:n,id:o,name:a,story:a,originalStoryFn:f,undecoratedStoryFn:u,unboundStoryFn:g,applyLoaders:s,applyBeforeEach:l,playFunction:C,runStep:d,mount:_,testingLibraryRender:T,renderToCanvas:r.renderToCanvas,usesMount:b}}m(Ds,"prepareStory");function Rg(e,t,r){return{...Fs(void 0,e,t),moduleExport:r}}m(Rg,"prepareMeta");function Fs(e,t,r){let n=["dev","test"],o=Le.DOCS_OPTIONS?.autodocs===!0?["autodocs"]:[],a=gm(...n,...o,...r.tags??[],...t.tags??[],...e?.tags??[]),i=Ct(r.parameters,t.parameters,e?.parameters),{argTypesEnhancers:s=[],argsEnhancers:l=[]}=r,u=Ct(r.argTypes,t.argTypes,e?.argTypes);if(e){let b=e?.userStoryFn||e?.render||t.render||r.render;i.__isArgsStory=b&&b.length>0}let c={...r.args,...t.args,...e?.args},d={...t.globals,...e?.globals},y={componentId:t.id,title:t.title,kind:t.title,id:e?.id||t.id,name:e?.name||"__meta",story:e?.name||"__meta",component:t.component,subcomponents:t.subcomponents,tags:a,parameters:i,initialArgs:c,argTypes:u,storyGlobals:d};y.argTypes=s.reduce((b,E)=>E({...y,argTypes:b}),y.argTypes);let f={...c};y.initialArgs=l.reduce((b,E)=>({...b,...E({...y,initialArgs:b})}),f);let{name:h,story:g,...C}=y;return C}m(Fs,"preparePartialAnnotations");function js(e){let{args:t}=e,r={...e,allArgs:void 0,argsByTarget:void 0};if(Le.FEATURES?.argTypeTargetsV7){let a=Eg(e);r={...e,allArgs:e.args,argsByTarget:a,args:a[vg]||{}}}let n=Object.entries(r.args).reduce((a,[i,s])=>{if(!r.argTypes[i]?.mapping)return a[i]=s,a;let l=m(u=>{let c=r.argTypes[i].mapping;return c&&u in c?c[u]:u},"mappingFn");return a[i]=Array.isArray(s)?s.map(l):l(s),a},{}),o=Object.entries(n).reduce((a,[i,s])=>{let l=r.argTypes[i]||{};return ym(l,n,r.globals)&&(a[i]=s),a},{});return{...r,unmappedArgs:t,args:o}}m(js,"prepareContext");var rs=Qe(Zo(),1),ns=m((e,t,r)=>{let n=typeof e;switch(n){case"boolean":case"string":case"number":case"function":case"symbol":return{name:n};default:break}return e?r.has(e)?(ge.warn(at` We've detected a cycle in arg '${t}'. Args should be JSON-serializable. Consider using the mapping feature or fully custom args: - Mapping: https://storybook.js.org/docs/react/writing-stories/args#mapping-to-complex-arg-values - Custom args: https://storybook.js.org/docs/react/essentials/controls#fully-custom-args - `),{name:"other",value:"cyclic object"}):(r.add(e),Array.isArray(e)?{name:"array",value:e.length>0?is(e[0],t,new Set(r)):{name:"other",value:"unknown"}}:{name:"object",value:(0,as.default)(e,o=>is(o,t,new Set(r)))}):{name:"object",value:{}}},"inferType"),Bg=m(e=>{let{id:t,argTypes:r={},initialArgs:n={}}=e,o=(0,as.default)(n,(i,s)=>({name:s,type:is(i,`${t}.${s}`,new Set)})),a=(0,as.default)(r,(i,s)=>({name:s}));return Ot(o,a,r)},"inferArgTypes");Bg.secondPass=!0;var R5=Qe(ra(),1),D5=Qe(DR(),1),_m=m((e,t)=>Array.isArray(t)?t.includes(e):e.match(t),"matches"),F5=m((e,t,r)=>!t&&!r?e:e&&(0,D5.default)(e,(n,o)=>{let a=n.name||o;return(!t||_m(a,t))&&(!r||!_m(a,r))}),"filterArgTypes"),j5=m((e,t,r)=>{let{type:n,options:o}=e;if(n){if(r.color&&r.color.test(t)){let a=n.name;if(a==="string")return{control:{type:"color"}};a!=="enum"&&me.warn(`Addon controls: Control of type color only supports string, received "${a}" instead`)}if(r.date&&r.date.test(t))return{control:{type:"date"}};switch(n.name){case"array":return{control:{type:"object"}};case"boolean":return{control:{type:"boolean"}};case"string":return{control:{type:"text"}};case"number":return{control:{type:"number"}};case"enum":{let{value:a}=n;return{control:{type:a?.length<=5?"radio":"select"},options:a}}case"function":case"symbol":return null;default:return{control:{type:o?"select":"object"}}}}},"inferControl"),Lg=m(e=>{let{argTypes:t,parameters:{__isArgsStory:r,controls:{include:n=null,exclude:o=null,matchers:a={}}={}}}=e;if(!r)return t;let i=F5(t,n,o),s=(0,R5.default)(i,(l,u)=>l?.type&&j5(l,u,a));return Ot(s,i)},"inferControls");Lg.secondPass=!0;function Ko({argTypes:e,globalTypes:t,argTypesEnhancers:r,decorators:n,loaders:o,beforeEach:a,globals:i,initialGlobals:s,...l}){return i&&Object.keys(i).length>0&&Ct(lt` + `),{name:"other",value:"cyclic object"}):(r.add(e),Array.isArray(e)?{name:"array",value:e.length>0?ns(e[0],t,new Set(r)):{name:"other",value:"unknown"}}:{name:"object",value:(0,rs.default)(e,o=>ns(o,t,new Set(r)))}):{name:"object",value:{}}},"inferType"),Dg=m(e=>{let{id:t,argTypes:r={},initialArgs:n={}}=e,o=(0,rs.default)(n,(i,s)=>({name:s,type:ns(i,`${t}.${s}`,new Set)})),a=(0,rs.default)(r,(i,s)=>({name:s}));return Ct(o,a,r)},"inferArgTypes");Dg.secondPass=!0;var C5=Qe(Zo(),1),_5=Qe(_R(),1),Sm=m((e,t)=>Array.isArray(t)?t.includes(e):e.match(t),"matches"),O5=m((e,t,r)=>!t&&!r?e:e&&(0,_5.default)(e,(n,o)=>{let a=n.name||o;return(!t||Sm(a,t))&&(!r||!Sm(a,r))}),"filterArgTypes"),I5=m((e,t,r)=>{let{type:n,options:o}=e;if(n){if(r.color&&r.color.test(t)){let a=n.name;if(a==="string")return{control:{type:"color"}};a!=="enum"&&ge.warn(`Addon controls: Control of type color only supports string, received "${a}" instead`)}if(r.date&&r.date.test(t))return{control:{type:"date"}};switch(n.name){case"array":return{control:{type:"object"}};case"boolean":return{control:{type:"boolean"}};case"string":return{control:{type:"text"}};case"number":return{control:{type:"number"}};case"enum":{let{value:a}=n;return{control:{type:a?.length<=5?"radio":"select"},options:a}}case"function":case"symbol":return null;default:return{control:{type:o?"select":"object"}}}}},"inferControl"),Fg=m(e=>{let{argTypes:t,parameters:{__isArgsStory:r,controls:{include:n=null,exclude:o=null,matchers:a={}}={}}}=e;if(!r)return t;let i=O5(t,n,o),s=(0,C5.default)(i,(l,u)=>l?.type&&I5(l,u,a));return Ct(s,i)},"inferControls");Fg.secondPass=!0;function Jo({argTypes:e,globalTypes:t,argTypesEnhancers:r,decorators:n,loaders:o,beforeEach:a,globals:i,initialGlobals:s,...l}){return i&&Object.keys(i).length>0&&At(at` The preview.js 'globals' field is deprecated and will be removed in Storybook 9.0. Please use 'initialGlobals' instead. Learn more: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#previewjs-globals-renamed-to-initialglobals - `),{...e&&{argTypes:Wo(e)},...t&&{globalTypes:Wo(t)},decorators:Fe(n),loaders:Fe(o),beforeEach:Fe(a),argTypesEnhancers:[...r||[],Bg,Lg],initialGlobals:Ot(s,i),...l}}m(Ko,"normalizeProjectAnnotations");function qg(e){return async(t,r,n)=>{await e.reduceRight((o,a)=>async()=>a(t,o,n),async()=>r(n))()}}m(qg,"composeStepRunners");var N5=m(e=>async()=>{let t=[];for(let r of e){let n=await r();n&&t.unshift(n)}return async()=>{for(let r of t)await r()}},"composeBeforeAllHooks");function Hr(e,t){return e.map(r=>r.default?.[t]??r[t]).filter(Boolean)}m(Hr,"getField");function Jt(e,t,r={}){return Hr(e,t).reduce((n,o)=>{let a=Fe(o);return r.reverseFileOrder?[...a,...n]:[...n,...a]},[])}m(Jt,"getArrayField");function zr(e,t){return Object.assign({},...Hr(e,t))}m(zr,"getObjectField");function lr(e,t){return Hr(e,t).pop()}m(lr,"getSingletonField");function Ls(e){let t=Jt(e,"argTypesEnhancers"),r=Hr(e,"runStep"),n=Jt(e,"beforeAll");return{parameters:Ot(...Hr(e,"parameters")),decorators:Jt(e,"decorators",{reverseFileOrder:!(Ue.FEATURES?.legacyDecoratorFileOrder??!1)}),args:zr(e,"args"),argsEnhancers:Jt(e,"argsEnhancers"),argTypes:zr(e,"argTypes"),argTypesEnhancers:[...t.filter(o=>!o.secondPass),...t.filter(o=>o.secondPass)],globals:zr(e,"globals"),initialGlobals:zr(e,"initialGlobals"),globalTypes:zr(e,"globalTypes"),loaders:Jt(e,"loaders"),beforeAll:N5(n),beforeEach:Jt(e,"beforeEach"),render:lr(e,"render"),renderToCanvas:lr(e,"renderToCanvas"),renderToDOM:lr(e,"renderToDOM"),applyDecorators:lr(e,"applyDecorators"),runStep:qg(r),tags:Jt(e,"tags"),mount:lr(e,"mount"),testingLibraryRender:lr(e,"testingLibraryRender")}}m(Ls,"composeConfigs");var Yo={},B5="ComposedStory",L5="Unnamed Story";function Mg(e){return e?"default"in e?e.default:e:{}}m(Mg,"extractAnnotation");function q5(e){let t=Array.isArray(e)?e:[e];return Yo=Ls(t.map(Mg)),Yo}m(q5,"setProjectAnnotations");var ur=[];function M5(e,t,r,n,o){if(e===void 0)throw new Error("Expected a story but received undefined.");t.title=t.title??B5;let a=Fs(t),i=o||e.storyName||e.story?.name||e.name||L5,s=Ds(i,e,a),l=n&&!Yo?.testingLibraryRender&&!r?.testingLibraryRender,u=Ko(Ls([{...n,renderToCanvas:l?void 0:n?.renderToCanvas},Yo,r??{}])),c=js(s,a,u),d=Og(u.globalTypes),y=m(()=>{let x=Bs({hooks:new vg,globals:{...d,...u.initialGlobals},args:{...c.initialArgs},viewMode:"story",loaded:{},abortSignal:new AbortController().signal,step:m((v,O)=>c.runStep(v,O,x),"step"),canvasElement:globalThis?.document?.body,canvas:{},...c,context:null,mount:null});return x.context=x,c.renderToCanvas&&(x.renderToCanvas=async()=>{let v=await c.renderToCanvas?.({componentId:c.componentId,title:c.title,id:c.id,name:c.name,tags:c.tags,showError:m(O=>{},"showError"),showException:m(O=>{},"showException"),forceRemount:!0,storyContext:x,storyFn:m(()=>c.unboundStoryFn(x),"storyFn"),unboundStoryFn:c.unboundStoryFn},x.canvasElement);v&&ur.push(v)}),x.mount=c.mount(x),x},"initializeContext"),f,h=m(async x=>{let v=y();return f&&(v.loaded=f.loaded),Object.assign(v,x),c.playFunction(v)},"backwardsCompatiblePlay"),g=m(x=>{let v=y();return Object.assign(v,x),Ug(c,v)},"newPlay"),_=!c.renderToCanvas&&c.playFunction?h:!c.renderToCanvas&&!c.playFunction?void 0:g;return Object.assign(m(function(x){let v=y();return f&&(v.loaded=f.loaded),v.args={...v.initialArgs,...x},c.unboundStoryFn(v)},"storyFn"),{id:c.id,storyName:i,load:m(async()=>{for(let v of[...ur].reverse())await v();ur.length=0;let x=y();x.loaded=await c.applyLoaders(x),ur.push(...(await c.applyBeforeEach(x)).filter(Boolean)),f=x},"load"),args:c.initialArgs,parameters:c.parameters,argTypes:c.argTypes,play:_,tags:c.tags})}m(M5,"composeStory");function U5(e,t,r){let{default:n,__esModule:o,__namedExportsOrder:a,...i}=e;return Object.entries(i).reduce((s,[l,u])=>Jo(l,n)?Object.assign(s,{[l]:r(u,n,t,l)}):s,{})}m(U5,"composeStories");function J5(e){return e.extend({mount:m(async({mount:t,page:r},n)=>{await n(async(o,...a)=>{if(!("__pw_type"in o)||"__pw_type"in o&&o.__pw_type!=="jsx")throw new Error(lt` + `),{...e&&{argTypes:Ho(e)},...t&&{globalTypes:Ho(t)},decorators:Pe(n),loaders:Pe(o),beforeEach:Pe(a),argTypesEnhancers:[...r||[],Dg,Fg],initialGlobals:Ct(s,i),...l}}m(Jo,"normalizeProjectAnnotations");var k5=m(e=>async()=>{let t=[];for(let r of e){let n=await r();n&&t.unshift(n)}return async()=>{for(let r of t)await r()}},"composeBeforeAllHooks");function jg(e){return async(t,r,n)=>{await e.reduceRight((o,a)=>async()=>a(t,o,n),async()=>r(n))()}}m(jg,"composeStepRunners");function Br(e,t){return e.map(r=>r.default?.[t]??r[t]).filter(Boolean)}m(Br,"getField");function Ut(e,t,r={}){return Br(e,t).reduce((n,o)=>{let a=Pe(o);return r.reverseFileOrder?[...a,...n]:[...n,...a]},[])}m(Ut,"getArrayField");function jr(e,t){return Object.assign({},...Br(e,t))}m(jr,"getObjectField");function rr(e,t){return Br(e,t).pop()}m(rr,"getSingletonField");function Go(e){let t=Ut(e,"argTypesEnhancers"),r=Br(e,"runStep"),n=Ut(e,"beforeAll");return{parameters:Ct(...Br(e,"parameters")),decorators:Ut(e,"decorators",{reverseFileOrder:!(Le.FEATURES?.legacyDecoratorFileOrder??!1)}),args:jr(e,"args"),argsEnhancers:Ut(e,"argsEnhancers"),argTypes:jr(e,"argTypes"),argTypesEnhancers:[...t.filter(o=>!o.secondPass),...t.filter(o=>o.secondPass)],globals:jr(e,"globals"),initialGlobals:jr(e,"initialGlobals"),globalTypes:jr(e,"globalTypes"),loaders:Ut(e,"loaders"),beforeAll:k5(n),beforeEach:Ut(e,"beforeEach"),render:rr(e,"render"),renderToCanvas:rr(e,"renderToCanvas"),renderToDOM:rr(e,"renderToDOM"),applyDecorators:rr(e,"applyDecorators"),runStep:jg(r),tags:Ut(e,"tags"),mount:rr(e,"mount"),testingLibraryRender:rr(e,"testingLibraryRender")}}m(Go,"composeConfigs");function P5(e){globalThis.defaultProjectAnnotations=e}m(P5,"setDefaultProjectAnnotations");var R5="ComposedStory",D5="Unnamed Story";function Ng(e){return e?"default"in e?e.default:e:{}}m(Ng,"extractAnnotation");function F5(e){let t=Array.isArray(e)?e:[e];return globalThis.globalProjectAnnotations=Go(t.map(Ng)),Go([globalThis.defaultProjectAnnotations??{},globalThis.globalProjectAnnotations??{}])}m(F5,"setProjectAnnotations");var $t=[];function Bg(e,t,r,n,o){if(e===void 0)throw new Error("Expected a story but received undefined.");t.title=t.title??R5;let a=Rs(t),i=o||e.storyName||e.story?.name||e.name||D5,s=Ps(i,e,a),l=Jo(Go([n&&Object.keys(n).length>0?n:globalThis.defaultProjectAnnotations??{},globalThis.globalProjectAnnotations??{},r??{}])),u=Ds(s,a,l),c=Sg(l.globalTypes),d=m(()=>{let C=js({hooks:new hg,globals:{...c,...l.initialGlobals,...u.storyGlobals},args:{...u.initialArgs},viewMode:"story",loaded:{},abortSignal:new AbortController().signal,step:m((b,E)=>u.runStep(b,E,C),"step"),canvasElement:null,canvas:{},globalTypes:l.globalTypes,...u,context:null,mount:null});return C.context=C,u.renderToCanvas&&(C.renderToCanvas=async()=>{let b=await u.renderToCanvas?.({componentId:u.componentId,title:u.title,id:u.id,name:u.name,tags:u.tags,showMain:m(()=>{},"showMain"),showError:m(E=>{throw new Error(`${E.title} +${E.description}`)},"showError"),showException:m(E=>{throw E},"showException"),forceRemount:!0,storyContext:C,storyFn:m(()=>u.unboundStoryFn(C),"storyFn"),unboundStoryFn:u.unboundStoryFn},C.canvasElement);b&&$t.push(b)}),C.mount=u.mount(C),C},"initializeContext"),y,f=m(async C=>{let b=d();return b.canvasElement??=globalThis?.document?.body,y&&(b.loaded=y.loaded),Object.assign(b,C),u.playFunction(b)},"play"),h=m(C=>{let b=d();return Object.assign(b,C),Lg(u,b)},"run"),g=u.playFunction?f:void 0;return Object.assign(m(function(C){let b=d();return y&&(b.loaded=y.loaded),b.args={...b.initialArgs,...C},u.unboundStoryFn(b)},"storyFn"),{id:u.id,storyName:i,load:m(async()=>{for(let b of[...$t].reverse())await b();$t.length=0;let C=d();C.loaded=await u.applyLoaders(C),$t.push(...(await u.applyBeforeEach(C)).filter(Boolean)),y=C},"load"),args:u.initialArgs,parameters:u.parameters,argTypes:u.argTypes,play:g,run:h,tags:u.tags})}m(Bg,"composeStory");var j5=m((e,t,r,n)=>Bg(e,t,r,{},n),"defaultComposeStory");function N5(e,t,r=j5){let{default:n,__esModule:o,__namedExportsOrder:a,...i}=e;return Object.entries(i).reduce((s,[l,u])=>qo(l,n)?Object.assign(s,{[l]:r(u,n,t,l)}):s,{})}m(N5,"composeStories");function B5(e){return e.extend({mount:m(async({mount:t,page:r},n)=>{await n(async(o,...a)=>{if(!("__pw_type"in o)||"__pw_type"in o&&o.__pw_type!=="jsx")throw new Error(at` Portable stories in Playwright CT only work when referencing JSX elements. Please use JSX format for your components such as: @@ -195,11 +177,11 @@ See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf- await mount() More info: https://storybook.js.org/docs/api/portable-stories-playwright - `);await r.evaluate(async s=>{let l=await globalThis.__pwUnwrapObject?.(s);return("__pw_type"in l?l.type:l)?.load?.()},o);let i=await t(o,...a);return await r.evaluate(async s=>{let l=await globalThis.__pwUnwrapObject?.(s),u="__pw_type"in l?l.type:l,c=document.querySelector("#root");return u?.play?.({canvasElement:c})},o),i})},"mount")})}m(J5,"createPlaywrightTest");async function Ug(e,t){for(let o of[...ur].reverse())await o();if(ur.length=0,t.loaded=await e.applyLoaders(t),t.abortSignal.aborted)return;ur.push(...(await e.applyBeforeEach(t)).filter(Boolean));let r=e.playFunction,n=e.usesMount;n||await t.mount(),!t.abortSignal.aborted&&r&&(n||(t.mount=async()=>{throw new Mo({playFunction:r.toString()})}),await r(t))}m(Ug,"playStory");var Om=1e3,$5=1e4,Jg=class{constructor(t,r,n){this.importFn=r,this.storyIndex=new x5(t),this.projectAnnotations=Ko(n);let{initialGlobals:o,globalTypes:a}=this.projectAnnotations;this.args=new S5,this.globals=new A5({globals:o,globalTypes:a}),this.hooks={},this.cleanupCallbacks={},this.processCSFFileWithCache=(0,Ki.default)(Om)(Pg),this.prepareMetaWithCache=(0,Ki.default)(Om)(Ng),this.prepareStoryWithCache=(0,Ki.default)($5)(js)}storyIndex;projectAnnotations;globals;args;hooks;cleanupCallbacks;cachedCSFFiles;processCSFFileWithCache;prepareMetaWithCache;prepareStoryWithCache;setProjectAnnotations(t){this.projectAnnotations=Ko(t);let{initialGlobals:r,globalTypes:n}=t;this.globals.set({globals:r,globalTypes:n})}async onStoriesChanged({importFn:t,storyIndex:r}){t&&(this.importFn=t),r&&(this.storyIndex.entries=r.entries),this.cachedCSFFiles&&await this.cacheAllCSFFiles()}async storyIdToEntry(t){return this.storyIndex.storyIdToEntry(t)}async loadCSFFileByStoryId(t){let{importPath:r,title:n}=this.storyIndex.storyIdToEntry(t),o=await this.importFn(r);return this.processCSFFileWithCache(o,r,n)}async loadAllCSFFiles(){let t={};return Object.entries(this.storyIndex.entries).forEach(([r,{importPath:n}])=>{t[n]=r}),(await Promise.all(Object.entries(t).map(async([r,n])=>({importPath:r,csfFile:await this.loadCSFFileByStoryId(n)})))).reduce((r,{importPath:n,csfFile:o})=>(r[n]=o,r),{})}async cacheAllCSFFiles(){this.cachedCSFFiles=await this.loadAllCSFFiles()}preparedMetaFromCSFFile({csfFile:t}){let r=t.meta;return this.prepareMetaWithCache(r,this.projectAnnotations,t.moduleExports.default)}async loadStory({storyId:t}){let r=await this.loadCSFFileByStoryId(t);return this.storyFromCSFFile({storyId:t,csfFile:r})}storyFromCSFFile({storyId:t,csfFile:r}){let n=r.stories[t];if(!n)throw new om({storyId:t});let o=r.meta,a=this.prepareStoryWithCache(n,o,this.projectAnnotations);return this.args.setInitial(a),this.hooks[a.id]=this.hooks[a.id]||new vg,a}componentStoriesFromCSFFile({csfFile:t}){return Object.keys(this.storyIndex.entries).filter(r=>!!t.stories[r]).map(r=>this.storyFromCSFFile({storyId:r,csfFile:t}))}async loadEntry(t){let r=await this.storyIdToEntry(t),n=r.type==="docs"?r.storiesImports:[],[o,...a]=await Promise.all([this.importFn(r.importPath),...n.map(i=>{let s=this.storyIndex.importPathToEntry(i);return this.loadCSFFileByStoryId(s.id)})]);return{entryExports:o,csfFiles:a}}getStoryContext(t,{forceInitialArgs:r=!1}={}){return Bs({...t,args:r?t.initialArgs:this.args.get(t.id),globals:this.globals.get(),hooks:this.hooks[t.id]})}addCleanupCallbacks(t,r){this.cleanupCallbacks[t.id]=r}async cleanupStory(t){this.hooks[t.id].clean();let r=this.cleanupCallbacks[t.id];if(r)for(let n of[...r].reverse())await n();delete this.cleanupCallbacks[t.id]}extract(t={includeDocsOnly:!1}){let{cachedCSFFiles:r}=this;if(!r)throw new Vh;return Object.entries(this.storyIndex.entries).reduce((n,[o,{type:a,importPath:i}])=>{if(a==="docs")return n;let s=r[i],l=this.storyFromCSFFile({storyId:o,csfFile:s});return!t.includeDocsOnly&&l.parameters.docsOnly||(n[o]=Object.entries(l).reduce((u,[c,d])=>c==="moduleExport"||typeof d=="function"?u:Array.isArray(d)?Object.assign(u,{[c]:d.slice().sort()}):Object.assign(u,{[c]:d}),{args:l.initialArgs})),n},{})}getSetStoriesPayload(){let t=this.extract({includeDocsOnly:!0}),r=Object.values(t).reduce((n,{title:o})=>(n[o]={},n),{});return{v:2,globals:this.globals.get(),globalParameters:{},kindParameters:r,stories:t}}getStoriesJsonData=m(()=>{let t=this.getSetStoriesPayload(),r=["fileName","docsOnly","framework","__id","__isArgsStory"];return{v:3,stories:(0,g5.default)(t.stories,n=>{let{importPath:o}=this.storyIndex.entries[n.id];return{...(0,Am.default)(n,["id","name","title"]),importPath:o,kind:n.title,story:n.name,parameters:{...(0,Am.default)(n.parameters,r),fileName:o}}})}},"getStoriesJsonData");raw(){return Ct("StoryStore.raw() is deprecated and will be removed in 9.0, please use extract() instead"),Object.values(this.extract()).map(({id:t})=>this.fromId(t)).filter(Boolean)}fromId(t){if(Ct("StoryStore.fromId() is deprecated and will be removed in 9.0, please use loadStory() instead"),!this.cachedCSFFiles)throw new Error("Cannot call fromId/raw() unless you call cacheAllCSFFiles() first.");let r;try{({importPath:r}=this.storyIndex.storyIdToEntry(t))}catch{return null}let n=this.cachedCSFFiles[r],o=this.storyFromCSFFile({storyId:t,csfFile:n});return{...o,storyFn:m(a=>{let i={...this.getStoryContext(o),abortSignal:new AbortController().signal,canvasElement:null,loaded:{},step:m((s,l)=>o.runStep(s,l,i),"step"),context:null,mount:null,canvas:{},viewMode:"story"};return o.unboundStoryFn({...i,...a})},"storyFn")}}};m(Jg,"StoryStore");var z5=Jg;function $g(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}m($g,"slash");var V5=m(e=>{if(e.length===0)return e;let t=e[e.length-1],r=t?.replace(/(?:[.](?:story|stories))?([.][^.]+)$/i,"");if(e.length===1)return[r];let n=e[e.length-2];return r&&n&&r.toLowerCase()===n.toLowerCase()?[...e.slice(0,-2),r]:r&&(/^(story|stories)([.][^.]+)$/i.test(t)||/^index$/i.test(r))?e.slice(0,-1):[...e.slice(0,-1),r]},"sanitize");function ss(e){return e.flatMap(t=>t.split("/")).filter(Boolean).join("/")}m(ss,"pathJoin");var H5=m((e,t,r)=>{let{directory:n,importPathMatcher:o,titlePrefix:a=""}=t||{};typeof e=="number"&&Ut.warn(lt` + `);await r.evaluate(async s=>{let l=await globalThis.__pwUnwrapObject?.(s);return("__pw_type"in l?l.type:l)?.load?.()},o);let i=await t(o,...a);return await r.evaluate(async s=>{let l=await globalThis.__pwUnwrapObject?.(s),u="__pw_type"in l?l.type:l,c=document.querySelector("#root");return u?.play?.({canvasElement:c})},o),i})},"mount")})}m(B5,"createPlaywrightTest");async function Lg(e,t){for(let o of[...$t].reverse())await o();if($t.length=0,!t.canvasElement){let o=document.createElement("div");globalThis?.document?.body?.appendChild(o),t.canvasElement=o,$t.push(()=>{globalThis?.document?.body?.contains(o)&&globalThis?.document?.body?.removeChild(o)})}if(t.loaded=await e.applyLoaders(t),t.abortSignal.aborted)return;$t.push(...(await e.applyBeforeEach(t)).filter(Boolean));let r=e.playFunction,n=e.usesMount;n||await t.mount(),!t.abortSignal.aborted&&r&&(n||(t.mount=async()=>{throw new Bo({playFunction:r.toString()})}),await r(t))}m(Lg,"runStory");var Am=1e3,L5=1e4,qg=class{constructor(t,r,n){this.importFn=r,this.getStoriesJsonData=m(()=>{let i=this.getSetStoriesPayload(),s=["fileName","docsOnly","framework","__id","__isArgsStory"];return{v:3,stories:(0,p5.default)(i.stories,l=>{let{importPath:u}=this.storyIndex.entries[l.id];return{...(0,Em.default)(l,["id","name","title"]),importPath:u,kind:l.title,story:l.name,parameters:{...(0,Em.default)(l.parameters,s),fileName:u}}})}},"getStoriesJsonData"),this.storyIndex=new b5(t),this.projectAnnotations=Jo(n);let{initialGlobals:o,globalTypes:a}=this.projectAnnotations;this.args=new y5,this.userGlobals=new h5({globals:o,globalTypes:a}),this.hooks={},this.cleanupCallbacks={},this.processCSFFileWithCache=(0,Ji.default)(Am)(Cg),this.prepareMetaWithCache=(0,Ji.default)(Am)(Rg),this.prepareStoryWithCache=(0,Ji.default)(L5)(Ds)}setProjectAnnotations(t){this.projectAnnotations=Jo(t);let{initialGlobals:r,globalTypes:n}=t;this.userGlobals.set({globals:r,globalTypes:n})}async onStoriesChanged({importFn:t,storyIndex:r}){t&&(this.importFn=t),r&&(this.storyIndex.entries=r.entries),this.cachedCSFFiles&&await this.cacheAllCSFFiles()}async storyIdToEntry(t){return this.storyIndex.storyIdToEntry(t)}async loadCSFFileByStoryId(t){let{importPath:r,title:n}=this.storyIndex.storyIdToEntry(t),o=await this.importFn(r);return this.processCSFFileWithCache(o,r,n)}async loadAllCSFFiles(){let t={};return Object.entries(this.storyIndex.entries).forEach(([r,{importPath:n}])=>{t[n]=r}),(await Promise.all(Object.entries(t).map(async([r,n])=>({importPath:r,csfFile:await this.loadCSFFileByStoryId(n)})))).reduce((r,{importPath:n,csfFile:o})=>(r[n]=o,r),{})}async cacheAllCSFFiles(){this.cachedCSFFiles=await this.loadAllCSFFiles()}preparedMetaFromCSFFile({csfFile:t}){let r=t.meta;return this.prepareMetaWithCache(r,this.projectAnnotations,t.moduleExports.default)}async loadStory({storyId:t}){let r=await this.loadCSFFileByStoryId(t);return this.storyFromCSFFile({storyId:t,csfFile:r})}storyFromCSFFile({storyId:t,csfFile:r}){let n=r.stories[t];if(!n)throw new em({storyId:t});let o=r.meta,a=this.prepareStoryWithCache(n,o,this.projectAnnotations);return this.args.setInitial(a),this.hooks[a.id]=this.hooks[a.id]||new hg,a}componentStoriesFromCSFFile({csfFile:t}){return Object.keys(this.storyIndex.entries).filter(r=>!!t.stories[r]).map(r=>this.storyFromCSFFile({storyId:r,csfFile:t}))}async loadEntry(t){let r=await this.storyIdToEntry(t),n=r.type==="docs"?r.storiesImports:[],[o,...a]=await Promise.all([this.importFn(r.importPath),...n.map(i=>{let s=this.storyIndex.importPathToEntry(i);return this.loadCSFFileByStoryId(s.id)})]);return{entryExports:o,csfFiles:a}}getStoryContext(t,{forceInitialArgs:r=!1}={}){let n=this.userGlobals.get(),{initialGlobals:o}=this.userGlobals;return js({...t,args:r?t.initialArgs:this.args.get(t.id),initialGlobals:o,globalTypes:this.projectAnnotations.globalTypes,userGlobals:n,globals:{...n,...t.storyGlobals},hooks:this.hooks[t.id]})}addCleanupCallbacks(t,r){this.cleanupCallbacks[t.id]=r}async cleanupStory(t){this.hooks[t.id].clean();let r=this.cleanupCallbacks[t.id];if(r)for(let n of[...r].reverse())await n();delete this.cleanupCallbacks[t.id]}extract(t={includeDocsOnly:!1}){let{cachedCSFFiles:r}=this;if(!r)throw new Uh;return Object.entries(this.storyIndex.entries).reduce((n,[o,{type:a,importPath:i}])=>{if(a==="docs")return n;let s=r[i],l=this.storyFromCSFFile({storyId:o,csfFile:s});return!t.includeDocsOnly&&l.parameters.docsOnly||(n[o]=Object.entries(l).reduce((u,[c,d])=>c==="moduleExport"||typeof d=="function"?u:Array.isArray(d)?Object.assign(u,{[c]:d.slice().sort()}):Object.assign(u,{[c]:d}),{args:l.initialArgs})),n},{})}getSetStoriesPayload(){let t=this.extract({includeDocsOnly:!0}),r=Object.values(t).reduce((n,{title:o})=>(n[o]={},n),{});return{v:2,globals:this.userGlobals.get(),globalParameters:{},kindParameters:r,stories:t}}raw(){return At("StoryStore.raw() is deprecated and will be removed in 9.0, please use extract() instead"),Object.values(this.extract()).map(({id:t})=>this.fromId(t)).filter(Boolean)}fromId(t){if(At("StoryStore.fromId() is deprecated and will be removed in 9.0, please use loadStory() instead"),!this.cachedCSFFiles)throw new Error("Cannot call fromId/raw() unless you call cacheAllCSFFiles() first.");let r;try{({importPath:r}=this.storyIndex.storyIdToEntry(t))}catch{return null}let n=this.cachedCSFFiles[r],o=this.storyFromCSFFile({storyId:t,csfFile:n});return{...o,storyFn:m(a=>{let i={...this.getStoryContext(o),abortSignal:new AbortController().signal,canvasElement:null,loaded:{},step:m((s,l)=>o.runStep(s,l,i),"step"),context:null,mount:null,canvas:{},viewMode:"story"};return o.unboundStoryFn({...i,...a})},"storyFn")}}};m(qg,"StoryStore");var q5=qg;function Mg(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}m(Mg,"slash");var M5=m(e=>{if(e.length===0)return e;let t=e[e.length-1],r=t?.replace(/(?:[.](?:story|stories))?([.][^.]+)$/i,"");if(e.length===1)return[r];let n=e[e.length-2];return r&&n&&r.toLowerCase()===n.toLowerCase()?[...e.slice(0,-2),r]:r&&(/^(story|stories)([.][^.]+)$/i.test(t)||/^index$/i.test(r))?e.slice(0,-1):[...e.slice(0,-1),r]},"sanitize");function os(e){return e.flatMap(t=>t.split("/")).filter(Boolean).join("/")}m(os,"pathJoin");var U5=m((e,t,r)=>{let{directory:n,importPathMatcher:o,titlePrefix:a=""}=t||{};typeof e=="number"&&Mt.warn(at` CSF Auto-title received a numeric fileName. This typically happens when webpack is mis-configured in production mode. To force webpack to produce filenames, set optimization.moduleIds = "named" in your webpack config. - `);let i=$g(String(e));if(o.exec(i)){if(!r){let s=i.replace(n,""),l=ss([a,s]).split("/");return l=V5(l),l.join("/")}return a?ss([a,r]):r}},"userOrAutoTitleFromSpecifier"),zre=m((e,t,r)=>{for(let n=0;n(t,r)=>{if(t.title===r.title&&!e.includeNames)return 0;let n=e.method||"configure",o=e.order||[],a=t.title.trim().split(Im),i=r.title.trim().split(Im);e.includeNames&&(a.push(t.name),i.push(r.name));let s=0;for(;a[s]||i[s];){if(!a[s])return-1;if(!i[s])return 1;let l=a[s],u=i[s];if(l!==u){let d=o.indexOf(l),y=o.indexOf(u),f=o.indexOf("*");return d!==-1||y!==-1?(d===-1&&(f!==-1?d=f:d=o.length),y===-1&&(f!==-1?y=f:y=o.length),d-y):n==="configure"?0:l.localeCompare(u,e.locales?e.locales:void 0,{numeric:!0,sensitivity:"accent"})}let c=o.indexOf(l);c===-1&&(c=o.indexOf("*")),o=c!==-1&&Array.isArray(o[c+1])?o[c+1]:[],s+=1}return 0},"storySort"),W5=m((e,t,r)=>{if(t){let n;typeof t=="function"?n=t:n=G5(t),e.sort(n)}else e.sort((n,o)=>r.indexOf(n.importPath)-r.indexOf(o.importPath));return e},"sortStoriesCommon"),Vre=m((e,t,r)=>{try{return W5(e,t,r)}catch(n){throw new Error(lt` + `);let i=Mg(String(e));if(o.exec(i)){if(!r){let s=i.replace(n,""),l=os([a,s]).split("/");return l=M5(l),l.join("/")}return a?os([a,r]):r}},"userOrAutoTitleFromSpecifier"),Qre=m((e,t,r)=>{for(let n=0;n(t,r)=>{if(t.title===r.title&&!e.includeNames)return 0;let n=e.method||"configure",o=e.order||[],a=t.title.trim().split(Tm),i=r.title.trim().split(Tm);e.includeNames&&(a.push(t.name),i.push(r.name));let s=0;for(;a[s]||i[s];){if(!a[s])return-1;if(!i[s])return 1;let l=a[s],u=i[s];if(l!==u){let d=o.indexOf(l),y=o.indexOf(u),f=o.indexOf("*");return d!==-1||y!==-1?(d===-1&&(f!==-1?d=f:d=o.length),y===-1&&(f!==-1?y=f:y=o.length),d-y):n==="configure"?0:l.localeCompare(u,e.locales?e.locales:void 0,{numeric:!0,sensitivity:"accent"})}let c=o.indexOf(l);c===-1&&(c=o.indexOf("*")),o=c!==-1&&Array.isArray(o[c+1])?o[c+1]:[],s+=1}return 0},"storySort"),z5=m((e,t,r)=>{if(t){let n;typeof t=="function"?n=t:n=$5(t),e.sort(n)}else e.sort((n,o)=>r.indexOf(n.importPath)-r.indexOf(o.importPath));return e},"sortStoriesCommon"),Zre=m((e,t,r)=>{try{return z5(e,t,r)}catch(n){throw new Error(at` Error sorting stories with sort parameter ${t}: > ${n.message} @@ -207,26 +189,26 @@ See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf- Are you using a V6-style sort function in V7 mode? More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#v7-style-story-sort - `)}},"sortStoriesV7"),aa=new Error("prepareAborted"),{AbortController:Pm}=globalThis;function ls(e){try{let{name:t="Error",message:r=String(e),stack:n}=e;return{name:t,message:r,stack:n}}catch{return{name:"Error",message:String(e)}}}m(ls,"serializeError");var zg=class{constructor(t,r,n,o,a,i,s={autoplay:!0,forceInitialArgs:!1},l){this.channel=t,this.store=r,this.renderToScreen=n,this.callbacks=o,this.id=a,this.viewMode=i,this.renderOptions=s,this.abortController=new Pm,l&&(this.story=l,this.phase="preparing")}type="story";story;phase;abortController;canvasElement;notYetRendered=!0;rerenderEnqueued=!1;disableKeyListeners=!1;teardownRender=m(()=>{},"teardownRender");torndown=!1;async runPhase(t,r,n){this.phase=r,this.channel.emit(kr,{newPhase:this.phase,storyId:this.id}),n&&(await n(),this.checkIfAborted(t))}checkIfAborted(t){return t.aborted?(this.phase="aborted",this.channel.emit(kr,{newPhase:this.phase,storyId:this.id}),!0):!1}async prepare(){if(await this.runPhase(this.abortController.signal,"preparing",async()=>{this.story=await this.store.loadStory({storyId:this.id})}),this.abortController.signal.aborted)throw await this.store.cleanupStory(this.story),aa}isEqual(t){return!!(this.id===t.id&&this.story&&this.story===t.story)}isPreparing(){return["preparing"].includes(this.phase)}isPending(){return["loading","beforeEach","rendering","playing"].includes(this.phase)}async renderToElement(t){return this.canvasElement=t,this.render({initial:!0,forceRemount:!0})}storyContext(){if(!this.story)throw new Error("Cannot call storyContext before preparing");let{forceInitialArgs:t}=this.renderOptions;return this.store.getStoryContext(this.story,{forceInitialArgs:t})}async render({initial:t=!1,forceRemount:r=!1}={}){let{canvasElement:n}=this;if(!this.story)throw new Error("cannot render when not prepared");let o=this.story;if(!n)throw new Error("cannot render when canvasElement is unset");let{id:a,componentId:i,title:s,name:l,tags:u,applyLoaders:c,applyBeforeEach:d,unboundStoryFn:y,playFunction:f,runStep:h}=o;r&&!t&&(this.cancelRender(),this.abortController=new Pm);let g=this.abortController.signal,_=!1,x=o.usesMount;try{let v={...this.storyContext(),viewMode:this.viewMode,abortSignal:g,canvasElement:n,loaded:{},step:m((D,U)=>h(D,U,v),"step"),context:null,canvas:{},renderToCanvas:m(async()=>{let D=await this.renderToScreen(O,n);this.teardownRender=D||(()=>{}),_=!0},"renderToCanvas"),mount:m(async(...D)=>{this.callbacks.showStoryDuringRender?.();let U=null;return await this.runPhase(g,"rendering",async()=>{U=await o.mount(v)(...D)}),x&&await this.runPhase(g,"playing"),U},"mount")};v.context=v;let O={componentId:i,title:s,kind:s,id:a,name:l,story:l,tags:u,...this.callbacks,showError:m(D=>(this.phase="errored",this.callbacks.showError(D)),"showError"),showException:m(D=>(this.phase="errored",this.callbacks.showException(D)),"showException"),forceRemount:r||this.notYetRendered,storyContext:v,storyFn:m(()=>y(v),"storyFn"),unboundStoryFn:y};if(await this.runPhase(g,"loading",async()=>{v.loaded=await c(v)}),g.aborted)return;let C=await d(v);if(this.store.addCleanupCallbacks(o,C),this.checkIfAborted(g)||(!_&&!x&&await v.mount(),this.notYetRendered=!1,g.aborted))return;let I=this.story.parameters?.test?.dangerouslyIgnoreUnhandledErrors===!0,P=new Set,F=m(D=>P.add("error"in D?D.error:D.reason),"onError");if(this.renderOptions.autoplay&&r&&f&&this.phase!=="errored"){window.addEventListener("error",F),window.addEventListener("unhandledrejection",F),this.disableKeyListeners=!0;try{if(x?await f(v):(v.mount=async()=>{throw new Mo({playFunction:f.toString()})},await this.runPhase(g,"playing",async()=>f(v))),!_)throw new pm;this.checkIfAborted(g),!I&&P.size>0?await this.runPhase(g,"errored"):await this.runPhase(g,"played")}catch(D){if(this.callbacks.showStoryDuringRender?.(),await this.runPhase(g,"errored",async()=>{this.channel.emit(du,ls(D))}),this.story.parameters.throwPlayFunctionExceptions!==!1)throw D;console.error(D)}if(!I&&P.size>0&&this.channel.emit(Tu,Array.from(P).map(ls)),this.disableKeyListeners=!1,window.removeEventListener("unhandledrejection",F),window.removeEventListener("error",F),g.aborted)return}await this.runPhase(g,"completed",async()=>this.channel.emit(xn,a))}catch(v){this.phase="errored",this.callbacks.showException(v)}this.rerenderEnqueued&&(this.rerenderEnqueued=!1,this.render())}async rerender(){if(this.isPending()&&this.phase!=="playing")this.rerenderEnqueued=!0;else return this.render()}async remount(){return await this.teardown(),this.render({forceRemount:!0})}cancelRender(){this.abortController?.abort()}async teardown(){this.torndown=!0,this.cancelRender(),this.story&&await this.store.cleanupStory(this.story);for(let t=0;t<3;t+=1){if(!this.isPending()){await this.teardownRender();return}await new Promise(r=>setTimeout(r,0))}window.location.reload(),await new Promise(()=>{})}};m(zg,"StoryRender");var Vg=zg,{fetch:K5}=Ue,Y5="./index.json",Hg=class{constructor(t,r,n=pr.getChannel(),o=!0){this.importFn=t,this.getProjectAnnotations=r,this.channel=n,this.storeInitializationPromise=new Promise((a,i)=>{this.resolveStoreInitializationPromise=a,this.rejectStoreInitializationPromise=i}),o&&this.initialize()}serverChannel;storyStoreValue;renderToCanvas;storyRenders=[];previewEntryError;projectAnnotationsBeforeInitialization;beforeAllCleanup;storeInitializationPromise;resolveStoreInitializationPromise;rejectStoreInitializationPromise;get storyStore(){return new Proxy({},{get:m((t,r)=>{if(this.storyStoreValue)return Ct("Accessing the Story Store is deprecated and will be removed in 9.0"),this.storyStoreValue[r];throw new im},"get")})}async initialize(){this.setupListeners();try{let t=await this.getProjectAnnotationsOrRenderError();await this.runBeforeAllHook(t),await this.initializeWithProjectAnnotations(t)}catch(t){this.rejectStoreInitializationPromise(t)}}ready(){return this.storeInitializationPromise}setupListeners(){this.channel.on(xu,this.onStoryIndexChanged.bind(this)),this.channel.on(yo,this.onUpdateGlobals.bind(this)),this.channel.on(ho,this.onUpdateArgs.bind(this)),this.channel.on(iu,this.onRequestArgTypesInfo.bind(this)),this.channel.on(po,this.onResetArgs.bind(this)),this.channel.on(co,this.onForceReRender.bind(this)),this.channel.on(uu,this.onForceRemount.bind(this))}async getProjectAnnotationsOrRenderError(){try{let t=await this.getProjectAnnotations();if(this.renderToCanvas=t.renderToCanvas,!this.renderToCanvas)throw new Gh;return t}catch(t){throw this.renderPreviewEntryError("Error reading preview.js:",t),t}}async initializeWithProjectAnnotations(t){this.projectAnnotationsBeforeInitialization=t;try{let r=await this.getStoryIndexFromServer();return this.initializeWithStoryIndex(r)}catch(r){throw this.renderPreviewEntryError("Error loading story index:",r),r}}async runBeforeAllHook(t){try{await this.beforeAllCleanup?.(),this.beforeAllCleanup=await t.beforeAll?.()}catch(r){throw this.renderPreviewEntryError("Error in beforeAll hook:",r),r}}async getStoryIndexFromServer(){let t=await K5(Y5);if(t.status===200)return t.json();throw new Yh({text:await t.text()})}initializeWithStoryIndex(t){if(!this.projectAnnotationsBeforeInitialization)throw new Error("Cannot call initializeWithStoryIndex until project annotations resolve");this.storyStoreValue=new z5(t,this.importFn,this.projectAnnotationsBeforeInitialization),delete this.projectAnnotationsBeforeInitialization,this.setInitialGlobals(),this.resolveStoreInitializationPromise()}async setInitialGlobals(){this.emitGlobals()}emitGlobals(){if(!this.storyStoreValue)throw new rt({methodName:"emitGlobals"});let t={globals:this.storyStoreValue.globals.get()||{},globalTypes:this.storyStoreValue.projectAnnotations.globalTypes||{}};this.channel.emit(mu,t)}async onGetProjectAnnotationsChanged({getProjectAnnotations:t}){delete this.previewEntryError,this.getProjectAnnotations=t;let r=await this.getProjectAnnotationsOrRenderError();if(await this.runBeforeAllHook(r),!this.storyStoreValue){await this.initializeWithProjectAnnotations(r);return}this.storyStoreValue.setProjectAnnotations(r),this.emitGlobals()}async onStoryIndexChanged(){if(delete this.previewEntryError,!(!this.storyStoreValue&&!this.projectAnnotationsBeforeInitialization))try{let t=await this.getStoryIndexFromServer();if(this.projectAnnotationsBeforeInitialization){this.initializeWithStoryIndex(t);return}await this.onStoriesChanged({storyIndex:t})}catch(t){throw this.renderPreviewEntryError("Error loading story index:",t),t}}async onStoriesChanged({importFn:t,storyIndex:r}){if(!this.storyStoreValue)throw new rt({methodName:"onStoriesChanged"});await this.storyStoreValue.onStoriesChanged({importFn:t,storyIndex:r})}async onUpdateGlobals({globals:t}){if(!this.storyStoreValue)throw new rt({methodName:"onUpdateGlobals"});this.storyStoreValue.globals.update(t),await Promise.all(this.storyRenders.map(r=>r.rerender())),this.channel.emit(cu,{globals:this.storyStoreValue.globals.get(),initialGlobals:this.storyStoreValue.globals.initialGlobals})}async onUpdateArgs({storyId:t,updatedArgs:r}){if(!this.storyStoreValue)throw new rt({methodName:"onUpdateArgs"});this.storyStoreValue.args.update(t,r),await Promise.all(this.storyRenders.filter(n=>n.id===t&&!n.renderOptions.forceInitialArgs).map(n=>n.story&&n.story.usesMount?n.remount():n.rerender())),this.channel.emit(gu,{storyId:t,args:this.storyStoreValue.args.get(t)})}async onRequestArgTypesInfo({id:t,payload:r}){try{await this.storeInitializationPromise;let n=await this.storyStoreValue?.loadStory(r);this.channel.emit(Ka,{id:t,success:!0,payload:{argTypes:n?.argTypes||{}},error:null})}catch(n){this.channel.emit(Ka,{id:t,success:!1,error:n?.message})}}async onResetArgs({storyId:t,argNames:r}){if(!this.storyStoreValue)throw new rt({methodName:"onResetArgs"});let n=this.storyRenders.find(a=>a.id===t)?.story||await this.storyStoreValue.loadStory({storyId:t}),o=(r||[...new Set([...Object.keys(n.initialArgs),...Object.keys(this.storyStoreValue.args.get(t))])]).reduce((a,i)=>(a[i]=n.initialArgs[i],a),{});await this.onUpdateArgs({storyId:t,updatedArgs:o})}async onForceReRender(){await Promise.all(this.storyRenders.map(t=>t.rerender()))}async onForceRemount({storyId:t}){await Promise.all(this.storyRenders.filter(r=>r.id===t).map(r=>r.remount()))}renderStoryToElement(t,r,n,o){if(!this.renderToCanvas||!this.storyStoreValue)throw new rt({methodName:"renderStoryToElement"});let a=new Vg(this.channel,this.storyStoreValue,this.renderToCanvas,n,t.id,"docs",o,t);return a.renderToElement(r),this.storyRenders.push(a),async()=>{await this.teardownRender(a)}}async teardownRender(t,{viewModeChanged:r}={}){this.storyRenders=this.storyRenders.filter(n=>n!==t),await t?.teardown?.({viewModeChanged:r})}async loadStory({storyId:t}){if(!this.storyStoreValue)throw new rt({methodName:"loadStory"});return this.storyStoreValue.loadStory({storyId:t})}getStoryContext(t,{forceInitialArgs:r=!1}={}){if(!this.storyStoreValue)throw new rt({methodName:"getStoryContext"});return this.storyStoreValue.getStoryContext(t,{forceInitialArgs:r})}async extract(t){if(!this.storyStoreValue)throw new rt({methodName:"extract"});if(this.previewEntryError)throw this.previewEntryError;return await this.storyStoreValue.cacheAllCSFFiles(),this.storyStoreValue.extract(t)}renderPreviewEntryError(t,r){this.previewEntryError=r,me.error(t),me.error(r),this.channel.emit(su,r)}};m(Hg,"Preview");var X5=Hg,Q5=!1,Xi="Invariant failed";function zo(e,t){if(!e){if(Q5)throw new Error(Xi);var r=typeof t=="function"?t():t,n=r?"".concat(Xi,": ").concat(r):Xi;throw new Error(n)}}m(zo,"invariant");var Gg=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.renderStoryToElement=n,this.componentStoriesValue=[],this.storyIdToCSFFile=new Map,this.exportToStory=new Map,this.exportsToCSFFile=new Map,this.nameToStoryId=new Map,this.attachedCSFFiles=new Set,o.forEach((a,i)=>{this.referenceCSFFile(a)})}componentStoriesValue;storyIdToCSFFile;exportToStory;exportsToCSFFile;nameToStoryId;attachedCSFFiles;primaryStory;referenceCSFFile(t){this.exportsToCSFFile.set(t.moduleExports,t),this.exportsToCSFFile.set(t.moduleExports.default,t),this.store.componentStoriesFromCSFFile({csfFile:t}).forEach(r=>{let n=t.stories[r.id];this.storyIdToCSFFile.set(n.id,t),this.exportToStory.set(n.moduleExport,r)})}attachCSFFile(t){if(!this.exportsToCSFFile.has(t.moduleExports))throw new Error("Cannot attach a CSF file that has not been referenced");this.attachedCSFFiles.has(t)||(this.attachedCSFFiles.add(t),this.store.componentStoriesFromCSFFile({csfFile:t}).forEach(r=>{this.nameToStoryId.set(r.name,r.id),this.componentStoriesValue.push(r),this.primaryStory||(this.primaryStory=r)}))}referenceMeta(t,r){let n=this.resolveModuleExport(t);if(n.type!=="meta")throw new Error(" must reference a CSF file module export or meta export. Did you mistakenly reference your component instead of your CSF file?");r&&this.attachCSFFile(n.csfFile)}get projectAnnotations(){let{projectAnnotations:t}=this.store;if(!t)throw new Error("Can't get projectAnnotations from DocsContext before they are initialized");return t}resolveAttachedModuleExportType(t){if(t==="story"){if(!this.primaryStory)throw new Error("No primary story attached to this docs file, did you forget to use ?");return{type:"story",story:this.primaryStory}}if(this.attachedCSFFiles.size===0)throw new Error("No CSF file attached to this docs file, did you forget to use ?");let r=Array.from(this.attachedCSFFiles)[0];if(t==="meta")return{type:"meta",csfFile:r};let{component:n}=r.meta;if(!n)throw new Error("Attached CSF file does not defined a component, did you forget to export one?");return{type:"component",component:n}}resolveModuleExport(t){let r=this.exportsToCSFFile.get(t);if(r)return{type:"meta",csfFile:r};let n=this.exportToStory.get(t);return n?{type:"story",story:n}:{type:"component",component:t}}resolveOf(t,r=[]){let n;if(["component","meta","story"].includes(t)){let o=t;n=this.resolveAttachedModuleExportType(o)}else n=this.resolveModuleExport(t);if(r.length&&!r.includes(n.type)){let o=n.type==="component"?"component or unknown":n.type;throw new Error(lt`Invalid value passed to the 'of' prop. The value was resolved to a '${o}' type but the only types for this block are: ${r.join(", ")}. + `)}},"sortStoriesV7"),ra=new Error("prepareAborted"),{AbortController:Cm}=globalThis;function as(e){try{let{name:t="Error",message:r=String(e),stack:n}=e;return{name:t,message:r,stack:n}}catch{return{name:"Error",message:String(e)}}}m(as,"serializeError");var Ug=class{constructor(t,r,n,o,a,i,s={autoplay:!0,forceInitialArgs:!1},l){this.channel=t,this.store=r,this.renderToScreen=n,this.callbacks=o,this.id=a,this.viewMode=i,this.renderOptions=s,this.type="story",this.notYetRendered=!0,this.rerenderEnqueued=!1,this.disableKeyListeners=!1,this.teardownRender=m(()=>{},"teardownRender"),this.torndown=!1,this.abortController=new Cm,l&&(this.story=l,this.phase="preparing")}async runPhase(t,r,n){this.phase=r,this.channel.emit(wr,{newPhase:this.phase,storyId:this.id}),n&&(await n(),this.checkIfAborted(t))}checkIfAborted(t){return t.aborted?(this.phase="aborted",this.channel.emit(wr,{newPhase:this.phase,storyId:this.id}),!0):!1}async prepare(){if(await this.runPhase(this.abortController.signal,"preparing",async()=>{this.story=await this.store.loadStory({storyId:this.id})}),this.abortController.signal.aborted)throw await this.store.cleanupStory(this.story),ra}isEqual(t){return!!(this.id===t.id&&this.story&&this.story===t.story)}isPreparing(){return["preparing"].includes(this.phase)}isPending(){return["loading","beforeEach","rendering","playing"].includes(this.phase)}async renderToElement(t){return this.canvasElement=t,this.render({initial:!0,forceRemount:!0})}storyContext(){if(!this.story)throw new Error("Cannot call storyContext before preparing");let{forceInitialArgs:t}=this.renderOptions;return this.store.getStoryContext(this.story,{forceInitialArgs:t})}async render({initial:t=!1,forceRemount:r=!1}={}){let{canvasElement:n}=this;if(!this.story)throw new Error("cannot render when not prepared");let o=this.story;if(!n)throw new Error("cannot render when canvasElement is unset");let{id:a,componentId:i,title:s,name:l,tags:u,applyLoaders:c,applyBeforeEach:d,unboundStoryFn:y,playFunction:f,runStep:h}=o;r&&!t&&(this.cancelRender(),this.abortController=new Cm);let g=this.abortController.signal,C=!1,b=o.usesMount;try{let E={...this.storyContext(),viewMode:this.viewMode,abortSignal:g,canvasElement:n,loaded:{},step:m((R,M)=>h(R,M,E),"step"),context:null,canvas:{},renderToCanvas:m(async()=>{let R=await this.renderToScreen(_,n);this.teardownRender=R||(()=>{}),C=!0},"renderToCanvas"),mount:m(async(...R)=>{this.callbacks.showStoryDuringRender?.();let M=null;return await this.runPhase(g,"rendering",async()=>{M=await o.mount(E)(...R)}),b&&await this.runPhase(g,"playing"),M},"mount")};E.context=E;let _={componentId:i,title:s,kind:s,id:a,name:l,story:l,tags:u,...this.callbacks,showError:m(R=>(this.phase="errored",this.callbacks.showError(R)),"showError"),showException:m(R=>(this.phase="errored",this.callbacks.showException(R)),"showException"),forceRemount:r||this.notYetRendered,storyContext:E,storyFn:m(()=>y(E),"storyFn"),unboundStoryFn:y};if(await this.runPhase(g,"loading",async()=>{E.loaded=await c(E)}),g.aborted)return;let T=await d(E);if(this.store.addCleanupCallbacks(o,T),this.checkIfAborted(g)||(!C&&!b&&await E.mount(),this.notYetRendered=!1,g.aborted))return;let O=this.story.parameters?.test?.dangerouslyIgnoreUnhandledErrors===!0,I=new Set,D=m(R=>I.add("error"in R?R.error:R.reason),"onError");if(this.renderOptions.autoplay&&r&&f&&this.phase!=="errored"){window.addEventListener("error",D),window.addEventListener("unhandledrejection",D),this.disableKeyListeners=!0;try{if(b?await f(E):(E.mount=async()=>{throw new Bo({playFunction:f.toString()})},await this.runPhase(g,"playing",async()=>f(E))),!C)throw new sm;this.checkIfAborted(g),!O&&I.size>0?await this.runPhase(g,"errored"):await this.runPhase(g,"played")}catch(R){if(this.callbacks.showStoryDuringRender?.(),await this.runPhase(g,"errored",async()=>{this.channel.emit(iu,as(R))}),this.story.parameters.throwPlayFunctionExceptions!==!1)throw R;console.error(R)}if(!O&&I.size>0&&this.channel.emit(vu,Array.from(I).map(as)),this.disableKeyListeners=!1,window.removeEventListener("unhandledrejection",D),window.removeEventListener("error",D),g.aborted)return}await this.runPhase(g,"completed",async()=>this.channel.emit(cn,a))}catch(E){this.phase="errored",this.callbacks.showException(E)}this.rerenderEnqueued&&(this.rerenderEnqueued=!1,this.render())}async rerender(){if(this.isPending()&&this.phase!=="playing")this.rerenderEnqueued=!0;else return this.render()}async remount(){return await this.teardown(),this.render({forceRemount:!0})}cancelRender(){this.abortController?.abort()}async teardown(){this.torndown=!0,this.cancelRender(),this.story&&await this.store.cleanupStory(this.story);for(let t=0;t<3;t+=1){if(!this.isPending()){await this.teardownRender();return}await new Promise(r=>setTimeout(r,0))}window.location.reload(),await new Promise(()=>{})}};m(Ug,"StoryRender");var is=Ug,{fetch:V5}=Le,H5="./index.json",$g=class{constructor(t,r,n=or.getChannel(),o=!0){this.importFn=t,this.getProjectAnnotations=r,this.channel=n,this.storyRenders=[],this.storeInitializationPromise=new Promise((a,i)=>{this.resolveStoreInitializationPromise=a,this.rejectStoreInitializationPromise=i}),o&&this.initialize()}get storyStore(){return new Proxy({},{get:m((t,r)=>{if(this.storyStoreValue)return At("Accessing the Story Store is deprecated and will be removed in 9.0"),this.storyStoreValue[r];throw new rm},"get")})}async initialize(){this.setupListeners();try{let t=await this.getProjectAnnotationsOrRenderError();await this.runBeforeAllHook(t),await this.initializeWithProjectAnnotations(t)}catch(t){this.rejectStoreInitializationPromise(t)}}ready(){return this.storeInitializationPromise}setupListeners(){this.channel.on(yu,this.onStoryIndexChanged.bind(this)),this.channel.on(co,this.onUpdateGlobals.bind(this)),this.channel.on(po,this.onUpdateArgs.bind(this)),this.channel.on(tu,this.onRequestArgTypesInfo.bind(this)),this.channel.on(lo,this.onResetArgs.bind(this)),this.channel.on(so,this.onForceReRender.bind(this)),this.channel.on(ou,this.onForceRemount.bind(this))}async getProjectAnnotationsOrRenderError(){try{let t=await this.getProjectAnnotations();if(this.renderToCanvas=t.renderToCanvas,!this.renderToCanvas)throw new zh;return t}catch(t){throw this.renderPreviewEntryError("Error reading preview.js:",t),t}}async initializeWithProjectAnnotations(t){this.projectAnnotationsBeforeInitialization=t;try{let r=await this.getStoryIndexFromServer();return this.initializeWithStoryIndex(r)}catch(r){throw this.renderPreviewEntryError("Error loading story index:",r),r}}async runBeforeAllHook(t){try{await this.beforeAllCleanup?.(),this.beforeAllCleanup=await t.beforeAll?.()}catch(r){throw this.renderPreviewEntryError("Error in beforeAll hook:",r),r}}async getStoryIndexFromServer(){let t=await V5(H5);if(t.status===200)return t.json();throw new Jh({text:await t.text()})}initializeWithStoryIndex(t){if(!this.projectAnnotationsBeforeInitialization)throw new Error("Cannot call initializeWithStoryIndex until project annotations resolve");this.storyStoreValue=new q5(t,this.importFn,this.projectAnnotationsBeforeInitialization),delete this.projectAnnotationsBeforeInitialization,this.setInitialGlobals(),this.resolveStoreInitializationPromise()}async setInitialGlobals(){this.emitGlobals()}emitGlobals(){if(!this.storyStoreValue)throw new rt({methodName:"emitGlobals"});let t={globals:this.storyStoreValue.userGlobals.get()||{},globalTypes:this.storyStoreValue.projectAnnotations.globalTypes||{}};this.channel.emit(cu,t)}async onGetProjectAnnotationsChanged({getProjectAnnotations:t}){delete this.previewEntryError,this.getProjectAnnotations=t;let r=await this.getProjectAnnotationsOrRenderError();if(await this.runBeforeAllHook(r),!this.storyStoreValue){await this.initializeWithProjectAnnotations(r);return}this.storyStoreValue.setProjectAnnotations(r),this.emitGlobals()}async onStoryIndexChanged(){if(delete this.previewEntryError,!(!this.storyStoreValue&&!this.projectAnnotationsBeforeInitialization))try{let t=await this.getStoryIndexFromServer();if(this.projectAnnotationsBeforeInitialization){this.initializeWithStoryIndex(t);return}await this.onStoriesChanged({storyIndex:t})}catch(t){throw this.renderPreviewEntryError("Error loading story index:",t),t}}async onStoriesChanged({importFn:t,storyIndex:r}){if(!this.storyStoreValue)throw new rt({methodName:"onStoriesChanged"});await this.storyStoreValue.onStoriesChanged({importFn:t,storyIndex:r})}async onUpdateGlobals({globals:t,currentStory:r}){if(this.storyStoreValue||await this.storeInitializationPromise,!this.storyStoreValue)throw new rt({methodName:"onUpdateGlobals"});if(this.storyStoreValue.userGlobals.update(t),r){let{initialGlobals:n,storyGlobals:o,userGlobals:a,globals:i}=this.storyStoreValue.getStoryContext(r);this.channel.emit(xr,{initialGlobals:n,userGlobals:a,storyGlobals:o,globals:i})}else{let{initialGlobals:n,globals:o}=this.storyStoreValue.userGlobals;this.channel.emit(xr,{initialGlobals:n,userGlobals:o,storyGlobals:{},globals:o})}await Promise.all(this.storyRenders.map(n=>n.rerender()))}async onUpdateArgs({storyId:t,updatedArgs:r}){if(!this.storyStoreValue)throw new rt({methodName:"onUpdateArgs"});this.storyStoreValue.args.update(t,r),await Promise.all(this.storyRenders.filter(n=>n.id===t&&!n.renderOptions.forceInitialArgs).map(n=>n.story&&n.story.usesMount?n.remount():n.rerender())),this.channel.emit(pu,{storyId:t,args:this.storyStoreValue.args.get(t)})}async onRequestArgTypesInfo({id:t,payload:r}){try{await this.storeInitializationPromise;let n=await this.storyStoreValue?.loadStory(r);this.channel.emit(Ja,{id:t,success:!0,payload:{argTypes:n?.argTypes||{}},error:null})}catch(n){this.channel.emit(Ja,{id:t,success:!1,error:n?.message})}}async onResetArgs({storyId:t,argNames:r}){if(!this.storyStoreValue)throw new rt({methodName:"onResetArgs"});let n=this.storyRenders.find(a=>a.id===t)?.story||await this.storyStoreValue.loadStory({storyId:t}),o=(r||[...new Set([...Object.keys(n.initialArgs),...Object.keys(this.storyStoreValue.args.get(t))])]).reduce((a,i)=>(a[i]=n.initialArgs[i],a),{});await this.onUpdateArgs({storyId:t,updatedArgs:o})}async onForceReRender(){await Promise.all(this.storyRenders.map(t=>t.rerender()))}async onForceRemount({storyId:t}){await Promise.all(this.storyRenders.filter(r=>r.id===t).map(r=>r.remount()))}renderStoryToElement(t,r,n,o){if(!this.renderToCanvas||!this.storyStoreValue)throw new rt({methodName:"renderStoryToElement"});let a=new is(this.channel,this.storyStoreValue,this.renderToCanvas,n,t.id,"docs",o,t);return a.renderToElement(r),this.storyRenders.push(a),async()=>{await this.teardownRender(a)}}async teardownRender(t,{viewModeChanged:r}={}){this.storyRenders=this.storyRenders.filter(n=>n!==t),await t?.teardown?.({viewModeChanged:r})}async loadStory({storyId:t}){if(!this.storyStoreValue)throw new rt({methodName:"loadStory"});return this.storyStoreValue.loadStory({storyId:t})}getStoryContext(t,{forceInitialArgs:r=!1}={}){if(!this.storyStoreValue)throw new rt({methodName:"getStoryContext"});return this.storyStoreValue.getStoryContext(t,{forceInitialArgs:r})}async extract(t){if(!this.storyStoreValue)throw new rt({methodName:"extract"});if(this.previewEntryError)throw this.previewEntryError;return await this.storyStoreValue.cacheAllCSFFiles(),this.storyStoreValue.extract(t)}renderPreviewEntryError(t,r){this.previewEntryError=r,ge.error(t),ge.error(r),this.channel.emit(ru,r)}};m($g,"Preview");var J5=$g,G5=!1,Wi="Invariant failed";function Uo(e,t){if(!e){if(G5)throw new Error(Wi);var r=typeof t=="function"?t():t,n=r?"".concat(Wi,": ").concat(r):Wi;throw new Error(n)}}m(Uo,"invariant");var zg=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.renderStoryToElement=n,this.storyIdByName=m(a=>{let i=this.nameToStoryId.get(a);if(i)return i;throw new Error(`No story found with that name: ${a}`)},"storyIdByName"),this.componentStories=m(()=>this.componentStoriesValue,"componentStories"),this.componentStoriesFromCSFFile=m(a=>this.store.componentStoriesFromCSFFile({csfFile:a}),"componentStoriesFromCSFFile"),this.storyById=m(a=>{if(!a){if(!this.primaryStory)throw new Error("No primary story defined for docs entry. Did you forget to use ``?");return this.primaryStory}let i=this.storyIdToCSFFile.get(a);if(!i)throw new Error(`Called \`storyById\` for story that was never loaded: ${a}`);return this.store.storyFromCSFFile({storyId:a,csfFile:i})},"storyById"),this.getStoryContext=m(a=>({...this.store.getStoryContext(a),loaded:{},viewMode:"docs"}),"getStoryContext"),this.loadStory=m(a=>this.store.loadStory({storyId:a}),"loadStory"),this.componentStoriesValue=[],this.storyIdToCSFFile=new Map,this.exportToStory=new Map,this.exportsToCSFFile=new Map,this.nameToStoryId=new Map,this.attachedCSFFiles=new Set,o.forEach((a,i)=>{this.referenceCSFFile(a)})}referenceCSFFile(t){this.exportsToCSFFile.set(t.moduleExports,t),this.exportsToCSFFile.set(t.moduleExports.default,t),this.store.componentStoriesFromCSFFile({csfFile:t}).forEach(r=>{let n=t.stories[r.id];this.storyIdToCSFFile.set(n.id,t),this.exportToStory.set(n.moduleExport,r)})}attachCSFFile(t){if(!this.exportsToCSFFile.has(t.moduleExports))throw new Error("Cannot attach a CSF file that has not been referenced");this.attachedCSFFiles.has(t)||(this.attachedCSFFiles.add(t),this.store.componentStoriesFromCSFFile({csfFile:t}).forEach(r=>{this.nameToStoryId.set(r.name,r.id),this.componentStoriesValue.push(r),this.primaryStory||(this.primaryStory=r)}))}referenceMeta(t,r){let n=this.resolveModuleExport(t);if(n.type!=="meta")throw new Error(" must reference a CSF file module export or meta export. Did you mistakenly reference your component instead of your CSF file?");r&&this.attachCSFFile(n.csfFile)}get projectAnnotations(){let{projectAnnotations:t}=this.store;if(!t)throw new Error("Can't get projectAnnotations from DocsContext before they are initialized");return t}resolveAttachedModuleExportType(t){if(t==="story"){if(!this.primaryStory)throw new Error("No primary story attached to this docs file, did you forget to use ?");return{type:"story",story:this.primaryStory}}if(this.attachedCSFFiles.size===0)throw new Error("No CSF file attached to this docs file, did you forget to use ?");let r=Array.from(this.attachedCSFFiles)[0];if(t==="meta")return{type:"meta",csfFile:r};let{component:n}=r.meta;if(!n)throw new Error("Attached CSF file does not defined a component, did you forget to export one?");return{type:"component",component:n}}resolveModuleExport(t){let r=this.exportsToCSFFile.get(t);if(r)return{type:"meta",csfFile:r};let n=this.exportToStory.get(t);return n?{type:"story",story:n}:{type:"component",component:t}}resolveOf(t,r=[]){let n;if(["component","meta","story"].includes(t)){let o=t;n=this.resolveAttachedModuleExportType(o)}else n=this.resolveModuleExport(t);if(r.length&&!r.includes(n.type)){let o=n.type==="component"?"component or unknown":n.type;throw new Error(at`Invalid value passed to the 'of' prop. The value was resolved to a '${o}' type but the only types for this block are: ${r.join(", ")}. - Did you pass a component to the 'of' prop when the block only supports a story or a meta? - ... or vice versa? - - Did you pass a story, CSF file or meta to the 'of' prop that is not indexed, ie. is not targeted by the 'stories' globs in the main configuration?`)}switch(n.type){case"component":return{...n,projectAnnotations:this.projectAnnotations};case"meta":return{...n,preparedMeta:this.store.preparedMetaFromCSFFile({csfFile:n.csfFile})};case"story":default:return n}}storyIdByName=m(t=>{let r=this.nameToStoryId.get(t);if(r)return r;throw new Error(`No story found with that name: ${t}`)},"storyIdByName");componentStories=m(()=>this.componentStoriesValue,"componentStories");componentStoriesFromCSFFile=m(t=>this.store.componentStoriesFromCSFFile({csfFile:t}),"componentStoriesFromCSFFile");storyById=m(t=>{if(!t){if(!this.primaryStory)throw new Error("No primary story defined for docs entry. Did you forget to use ``?");return this.primaryStory}let r=this.storyIdToCSFFile.get(t);if(!r)throw new Error(`Called \`storyById\` for story that was never loaded: ${t}`);return this.store.storyFromCSFFile({storyId:t,csfFile:r})},"storyById");getStoryContext=m(t=>({...this.store.getStoryContext(t),loaded:{},viewMode:"docs"}),"getStoryContext");loadStory=m(t=>this.store.loadStory({storyId:t}),"loadStory")};m(Gg,"DocsContext");var Wg=Gg,Kg=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.entry=n,this.callbacks=o,this.id=n.id}type="docs";subtype="csf";id;story;rerender;teardownRender;torndown=!1;disableKeyListeners=!1;preparing=!1;csfFiles;isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw aa;let{importPath:n,title:o}=this.entry,a=this.store.processCSFFileWithCache(t,n,o),i=Object.keys(a.stories)[0];this.story=this.store.storyFromCSFFile({storyId:i,csfFile:a}),this.csfFiles=[a,...r],this.preparing=!1}isEqual(t){return!!(this.id===t.id&&this.story&&this.story===t.story)}docsContext(t){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");let r=new Wg(this.channel,this.store,t,this.csfFiles);return this.csfFiles.forEach(n=>r.attachCSFFile(n)),r}async renderToElement(t,r){if(!this.story||!this.csfFiles)throw new Error("Cannot render docs before preparing");let n=this.docsContext(r),{docs:o}=this.story.parameters||{};if(!o)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let a=await o.renderer(),{render:i}=a,s=m(async()=>{try{await i(n,o,t),this.channel.emit(uo,this.id)}catch(l){this.callbacks.showException(l)}},"renderDocs");return this.rerender=async()=>s(),this.teardownRender=async({viewModeChanged:l})=>{!l||!t||a.unmount(t)},s()}async teardown({viewModeChanged:t}={}){this.teardownRender?.({viewModeChanged:t}),this.torndown=!0}};m(Kg,"CsfDocsRender");var km=Kg,Yg=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.entry=n,this.callbacks=o,this.id=n.id}type="docs";subtype="mdx";id;exports;rerender;teardownRender;torndown=!1;disableKeyListeners=!1;preparing=!1;csfFiles;isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw aa;this.csfFiles=r,this.exports=t,this.preparing=!1}isEqual(t){return!!(this.id===t.id&&this.exports&&this.exports===t.exports)}docsContext(t){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");return new Wg(this.channel,this.store,t,this.csfFiles)}async renderToElement(t,r){if(!this.exports||!this.csfFiles||!this.store.projectAnnotations)throw new Error("Cannot render docs before preparing");let n=this.docsContext(r),{docs:o}=this.store.projectAnnotations.parameters||{};if(!o)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let a={...o,page:this.exports.default},i=await o.renderer(),{render:s}=i,l=m(async()=>{try{await s(n,a,t),this.channel.emit(uo,this.id)}catch(u){this.callbacks.showException(u)}},"renderDocs");return this.rerender=async()=>l(),this.teardownRender=async({viewModeChanged:u}={})=>{!u||!t||(i.unmount(t),this.torndown=!0)},l()}async teardown({viewModeChanged:t}={}){this.teardownRender?.({viewModeChanged:t}),this.torndown=!0}};m(Yg,"MdxDocsRender");var Rm=Yg,Z5=globalThis;function Xg(e){let t=e.composedPath&&e.composedPath()[0]||e.target;return/input|textarea/i.test(t.tagName)||t.getAttribute("contenteditable")!==null}m(Xg,"focusInInput");var Qg="attached-mdx",eD="unattached-mdx";function Zg({tags:e}){return e?.includes(eD)||e?.includes(Qg)}m(Zg,"isMdxEntry");function Vo(e){return e.type==="story"}m(Vo,"isStoryRender");function eb(e){return e.type==="docs"}m(eb,"isDocsRender");function tb(e){return eb(e)&&e.subtype==="csf"}m(tb,"isCsfDocsRender");var rb=class extends X5{constructor(t,r,n,o){super(t,r,void 0,!1),this.importFn=t,this.getProjectAnnotations=r,this.selectionStore=n,this.view=o,this.initialize()}currentSelection;currentRender;setupListeners(){super.setupListeners(),Z5.onkeydown=this.onKeydown.bind(this),this.channel.on(hu,this.onSetCurrentStory.bind(this)),this.channel.on(Cu,this.onUpdateQueryParams.bind(this)),this.channel.on(fu,this.onPreloadStories.bind(this))}async setInitialGlobals(){if(!this.storyStoreValue)throw new rt({methodName:"setInitialGlobals"});let{globals:t}=this.selectionStore.selectionSpecifier||{};t&&this.storyStoreValue.globals.updateFromPersisted(t),this.emitGlobals()}async initializeWithStoryIndex(t){return await super.initializeWithStoryIndex(t),this.selectSpecifiedStory()}async selectSpecifiedStory(){if(!this.storyStoreValue)throw new rt({methodName:"selectSpecifiedStory"});if(this.selectionStore.selection){await this.renderSelection();return}if(!this.selectionStore.selectionSpecifier){this.renderMissingStory();return}let{storySpecifier:t,args:r}=this.selectionStore.selectionSpecifier,n=this.storyStoreValue.storyIndex.entryFromSpecifier(t);if(!n){t==="*"?this.renderStoryLoadingException(t,new em):this.renderStoryLoadingException(t,new rm({storySpecifier:t.toString()}));return}let{id:o,type:a}=n;this.selectionStore.setSelection({storyId:o,viewMode:a}),this.channel.emit(wu,this.selectionStore.selection),this.channel.emit(Ya,this.selectionStore.selection),await this.renderSelection({persistedArgs:r})}async onGetProjectAnnotationsChanged({getProjectAnnotations:t}){await super.onGetProjectAnnotationsChanged({getProjectAnnotations:t}),this.selectionStore.selection&&this.renderSelection()}async onStoriesChanged({importFn:t,storyIndex:r}){await super.onStoriesChanged({importFn:t,storyIndex:r}),this.selectionStore.selection?await this.renderSelection():await this.selectSpecifiedStory()}onKeydown(t){if(!this.storyRenders.find(r=>r.disableKeyListeners)&&!Xg(t)){let{altKey:r,ctrlKey:n,metaKey:o,shiftKey:a,key:i,code:s,keyCode:l}=t;this.channel.emit(yu,{event:{altKey:r,ctrlKey:n,metaKey:o,shiftKey:a,key:i,code:s,keyCode:l}})}}async onSetCurrentStory(t){this.selectionStore.setSelection({viewMode:"story",...t}),await this.storeInitializationPromise,this.channel.emit(Ya,this.selectionStore.selection),this.renderSelection()}onUpdateQueryParams(t){this.selectionStore.setQueryParams(t)}async onUpdateGlobals({globals:t}){super.onUpdateGlobals({globals:t}),(this.currentRender instanceof Rm||this.currentRender instanceof km)&&await this.currentRender.rerender?.()}async onUpdateArgs({storyId:t,updatedArgs:r}){super.onUpdateArgs({storyId:t,updatedArgs:r})}async onPreloadStories({ids:t}){await this.storeInitializationPromise,this.storyStoreValue&&await Promise.allSettled(t.map(r=>this.storyStoreValue?.loadEntry(r)))}async renderSelection({persistedArgs:t}={}){let{renderToCanvas:r}=this;if(!this.storyStoreValue||!r)throw new rt({methodName:"renderSelection"});let{selection:n}=this.selectionStore;if(!n)throw new Error("Cannot call renderSelection as no selection was made");let{storyId:o}=n,a;try{a=await this.storyStoreValue.storyIdToEntry(o)}catch(y){this.currentRender&&await this.teardownRender(this.currentRender),this.renderStoryLoadingException(o,y);return}let i=this.currentSelection?.storyId!==o,s=this.currentRender?.type!==a.type;a.type==="story"?this.view.showPreparingStory({immediate:s}):this.view.showPreparingDocs({immediate:s}),this.currentRender?.isPreparing()&&await this.teardownRender(this.currentRender);let l;a.type==="story"?l=new Vg(this.channel,this.storyStoreValue,r,this.mainStoryCallbacks(o),o,"story"):Zg(a)?l=new Rm(this.channel,this.storyStoreValue,a,this.mainStoryCallbacks(o)):l=new km(this.channel,this.storyStoreValue,a,this.mainStoryCallbacks(o));let u=this.currentSelection;this.currentSelection=n;let c=this.currentRender;this.currentRender=l;try{await l.prepare()}catch(y){c&&await this.teardownRender(c),y!==aa&&this.renderStoryLoadingException(o,y);return}let d=!i&&c&&!l.isEqual(c);if(t&&Vo(l)&&(zo(!!l.story),this.storyStoreValue.args.updateFromPersisted(l.story,t)),c&&!c.torndown&&!i&&!d&&!s){this.currentRender=c,this.channel.emit(Au,o),this.view.showMain();return}if(c&&await this.teardownRender(c,{viewModeChanged:s}),u&&(i||s)&&this.channel.emit(bu,o),Vo(l)){zo(!!l.story);let{parameters:y,initialArgs:f,argTypes:h,unmappedArgs:g}=this.storyStoreValue.getStoryContext(l.story);this.channel.emit(Eu,{id:o,parameters:y,initialArgs:f,argTypes:h,args:g})}else{let{parameters:y}=this.storyStoreValue.projectAnnotations;if(tb(l)||l.entry.tags?.includes(Qg)){if(!l.csfFiles)throw new Qh({storyId:o});({parameters:y}=this.storyStoreValue.preparedMetaFromCSFFile({csfFile:l.csfFiles[0]}))}this.channel.emit(lu,{id:o,parameters:y})}Vo(l)?(zo(!!l.story),this.storyRenders.push(l),this.currentRender.renderToElement(this.view.prepareForStory(l.story))):this.currentRender.renderToElement(this.view.prepareForDocs(),this.renderStoryToElement.bind(this))}async teardownRender(t,{viewModeChanged:r=!1}={}){this.storyRenders=this.storyRenders.filter(n=>n!==t),await t?.teardown?.({viewModeChanged:r})}mainStoryCallbacks(t){return{showStoryDuringRender:m(()=>this.view.showStoryDuringRender(),"showStoryDuringRender"),showMain:m(()=>this.view.showMain(),"showMain"),showError:m(r=>this.renderError(t,r),"showError"),showException:m(r=>this.renderException(t,r),"showException")}}renderPreviewEntryError(t,r){super.renderPreviewEntryError(t,r),this.view.showErrorDisplay(r)}renderMissingStory(){this.view.showNoPreview(),this.channel.emit(Qa)}renderStoryLoadingException(t,r){me.error(r),this.view.showErrorDisplay(r),this.channel.emit(Qa,t)}renderException(t,r){let{name:n="Error",message:o=String(r),stack:a}=r;this.channel.emit(Su,{name:n,message:o,stack:a}),this.channel.emit(kr,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay(r),me.error(`Error rendering story '${t}':`),me.error(r)}renderError(t,{title:r,description:n}){me.error(`Error rendering story ${r}: ${n}`),this.channel.emit(vu,{title:r,description:n}),this.channel.emit(kr,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay({message:r,stack:n})}};m(rb,"PreviewWithSelection");var tD=rb,us=Qe(Os(),1),rD=Qe(Os(),1),nD=Qe(As(),1),Dm=/^[a-zA-Z0-9 _-]*$/,nb=/^-?[0-9]+(\.[0-9]+)?$/,oD=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,ob=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,cs=m((e="",t)=>e===null||e===""||!Dm.test(e)?!1:t==null||t instanceof Date||typeof t=="number"||typeof t=="boolean"?!0:typeof t=="string"?Dm.test(t)||nb.test(t)||oD.test(t)||ob.test(t):Array.isArray(t)?t.every(r=>cs(e,r)):(0,nD.default)(t)?Object.entries(t).every(([r,n])=>cs(r,n)):!1,"validateArgs"),aD={delimiter:";",allowDots:!0,allowSparse:!0,decoder(e,t,r,n){if(n==="value"&&e.startsWith("!")){if(e==="!undefined")return;if(e==="!null")return null;if(e==="!true")return!0;if(e==="!false")return!1;if(e.startsWith("!date(")&&e.endsWith(")"))return new Date(e.slice(6,-1));if(e.startsWith("!hex(")&&e.endsWith(")"))return`#${e.slice(5,-1)}`;let o=e.slice(1).match(ob);if(o)return e.startsWith("!rgba")?`${o[1]}(${o[2]}, ${o[3]}, ${o[4]}, ${o[5]})`:e.startsWith("!hsla")?`${o[1]}(${o[2]}, ${o[3]}%, ${o[4]}%, ${o[5]})`:e.startsWith("!rgb")?`${o[1]}(${o[2]}, ${o[3]}, ${o[4]})`:`${o[1]}(${o[2]}, ${o[3]}%, ${o[4]}%)`}return n==="value"&&nb.test(e)?Number(e):t(e,t,r)}},Fm=m(e=>{let t=e.split(";").map(r=>r.replace("=","~").replace(":","="));return Object.entries(rD.default.parse(t.join(";"),aD)).reduce((r,[n,o])=>cs(n,o)?Object.assign(r,{[n]:o}):(Ut.warn(lt` + - Did you pass a story, CSF file or meta to the 'of' prop that is not indexed, ie. is not targeted by the 'stories' globs in the main configuration?`)}switch(n.type){case"component":return{...n,projectAnnotations:this.projectAnnotations};case"meta":return{...n,preparedMeta:this.store.preparedMetaFromCSFFile({csfFile:n.csfFile})};case"story":default:return n}}};m(zg,"DocsContext");var Vg=zg,Hg=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.entry=n,this.callbacks=o,this.type="docs",this.subtype="csf",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw ra;let{importPath:n,title:o}=this.entry,a=this.store.processCSFFileWithCache(t,n,o),i=Object.keys(a.stories)[0];this.story=this.store.storyFromCSFFile({storyId:i,csfFile:a}),this.csfFiles=[a,...r],this.preparing=!1}isEqual(t){return!!(this.id===t.id&&this.story&&this.story===t.story)}docsContext(t){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");let r=new Vg(this.channel,this.store,t,this.csfFiles);return this.csfFiles.forEach(n=>r.attachCSFFile(n)),r}async renderToElement(t,r){if(!this.story||!this.csfFiles)throw new Error("Cannot render docs before preparing");let n=this.docsContext(r),{docs:o}=this.story.parameters||{};if(!o)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let a=await o.renderer(),{render:i}=a,s=m(async()=>{try{await i(n,o,t),this.channel.emit(io,this.id)}catch(l){this.callbacks.showException(l)}},"renderDocs");return this.rerender=async()=>s(),this.teardownRender=async({viewModeChanged:l})=>{!l||!t||a.unmount(t)},s()}async teardown({viewModeChanged:t}={}){this.teardownRender?.({viewModeChanged:t}),this.torndown=!0}};m(Hg,"CsfDocsRender");var _m=Hg,Jg=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.entry=n,this.callbacks=o,this.type="docs",this.subtype="mdx",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw ra;this.csfFiles=r,this.exports=t,this.preparing=!1}isEqual(t){return!!(this.id===t.id&&this.exports&&this.exports===t.exports)}docsContext(t){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");return new Vg(this.channel,this.store,t,this.csfFiles)}async renderToElement(t,r){if(!this.exports||!this.csfFiles||!this.store.projectAnnotations)throw new Error("Cannot render docs before preparing");let n=this.docsContext(r),{docs:o}=this.store.projectAnnotations.parameters||{};if(!o)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let a={...o,page:this.exports.default},i=await o.renderer(),{render:s}=i,l=m(async()=>{try{await s(n,a,t),this.channel.emit(io,this.id)}catch(u){this.callbacks.showException(u)}},"renderDocs");return this.rerender=async()=>l(),this.teardownRender=async({viewModeChanged:u}={})=>{!u||!t||(i.unmount(t),this.torndown=!0)},l()}async teardown({viewModeChanged:t}={}){this.teardownRender?.({viewModeChanged:t}),this.torndown=!0}};m(Jg,"MdxDocsRender");var Om=Jg,W5=globalThis;function Gg(e){let t=e.composedPath&&e.composedPath()[0]||e.target;return/input|textarea/i.test(t.tagName)||t.getAttribute("contenteditable")!==null}m(Gg,"focusInInput");var Wg="attached-mdx",K5="unattached-mdx";function Kg({tags:e}){return e?.includes(K5)||e?.includes(Wg)}m(Kg,"isMdxEntry");function $o(e){return e.type==="story"}m($o,"isStoryRender");function Yg(e){return e.type==="docs"}m(Yg,"isDocsRender");function Xg(e){return Yg(e)&&e.subtype==="csf"}m(Xg,"isCsfDocsRender");var Qg=class extends J5{constructor(t,r,n,o){super(t,r,void 0,!1),this.importFn=t,this.getProjectAnnotations=r,this.selectionStore=n,this.view=o,this.initialize()}setupListeners(){super.setupListeners(),W5.onkeydown=this.onKeydown.bind(this),this.channel.on(uu,this.onSetCurrentStory.bind(this)),this.channel.on(Eu,this.onUpdateQueryParams.bind(this)),this.channel.on(su,this.onPreloadStories.bind(this))}async setInitialGlobals(){if(!this.storyStoreValue)throw new rt({methodName:"setInitialGlobals"});let{globals:t}=this.selectionStore.selectionSpecifier||{};t&&this.storyStoreValue.userGlobals.updateFromPersisted(t),this.emitGlobals()}async initializeWithStoryIndex(t){return await super.initializeWithStoryIndex(t),this.selectSpecifiedStory()}async selectSpecifiedStory(){if(!this.storyStoreValue)throw new rt({methodName:"selectSpecifiedStory"});if(this.selectionStore.selection){await this.renderSelection();return}if(!this.selectionStore.selectionSpecifier){this.renderMissingStory();return}let{storySpecifier:t,args:r}=this.selectionStore.selectionSpecifier,n=this.storyStoreValue.storyIndex.entryFromSpecifier(t);if(!n){t==="*"?this.renderStoryLoadingException(t,new Yh):this.renderStoryLoadingException(t,new Qh({storySpecifier:t.toString()}));return}let{id:o,type:a}=n;this.selectionStore.setSelection({storyId:o,viewMode:a}),this.channel.emit(mu,this.selectionStore.selection),this.channel.emit(Ga,this.selectionStore.selection),await this.renderSelection({persistedArgs:r})}async onGetProjectAnnotationsChanged({getProjectAnnotations:t}){await super.onGetProjectAnnotationsChanged({getProjectAnnotations:t}),this.selectionStore.selection&&this.renderSelection()}async onStoriesChanged({importFn:t,storyIndex:r}){await super.onStoriesChanged({importFn:t,storyIndex:r}),this.selectionStore.selection?await this.renderSelection():await this.selectSpecifiedStory()}onKeydown(t){if(!this.storyRenders.find(r=>r.disableKeyListeners)&&!Gg(t)){let{altKey:r,ctrlKey:n,metaKey:o,shiftKey:a,key:i,code:s,keyCode:l}=t;this.channel.emit(lu,{event:{altKey:r,ctrlKey:n,metaKey:o,shiftKey:a,key:i,code:s,keyCode:l}})}}async onSetCurrentStory(t){this.selectionStore.setSelection({viewMode:"story",...t}),await this.storeInitializationPromise,this.channel.emit(Ga,this.selectionStore.selection),this.renderSelection()}onUpdateQueryParams(t){this.selectionStore.setQueryParams(t)}async onUpdateGlobals({globals:t}){let r=this.currentRender instanceof is&&this.currentRender.story||void 0;super.onUpdateGlobals({globals:t,currentStory:r}),(this.currentRender instanceof Om||this.currentRender instanceof _m)&&await this.currentRender.rerender?.()}async onUpdateArgs({storyId:t,updatedArgs:r}){super.onUpdateArgs({storyId:t,updatedArgs:r})}async onPreloadStories({ids:t}){await this.storeInitializationPromise,this.storyStoreValue&&await Promise.allSettled(t.map(r=>this.storyStoreValue?.loadEntry(r)))}async renderSelection({persistedArgs:t}={}){let{renderToCanvas:r}=this;if(!this.storyStoreValue||!r)throw new rt({methodName:"renderSelection"});let{selection:n}=this.selectionStore;if(!n)throw new Error("Cannot call renderSelection as no selection was made");let{storyId:o}=n,a;try{a=await this.storyStoreValue.storyIdToEntry(o)}catch(y){this.currentRender&&await this.teardownRender(this.currentRender),this.renderStoryLoadingException(o,y);return}let i=this.currentSelection?.storyId!==o,s=this.currentRender?.type!==a.type;a.type==="story"?this.view.showPreparingStory({immediate:s}):this.view.showPreparingDocs({immediate:s}),this.currentRender?.isPreparing()&&await this.teardownRender(this.currentRender);let l;a.type==="story"?l=new is(this.channel,this.storyStoreValue,r,this.mainStoryCallbacks(o),o,"story"):Kg(a)?l=new Om(this.channel,this.storyStoreValue,a,this.mainStoryCallbacks(o)):l=new _m(this.channel,this.storyStoreValue,a,this.mainStoryCallbacks(o));let u=this.currentSelection;this.currentSelection=n;let c=this.currentRender;this.currentRender=l;try{await l.prepare()}catch(y){c&&await this.teardownRender(c),y!==ra&&this.renderStoryLoadingException(o,y);return}let d=!i&&c&&!l.isEqual(c);if(t&&$o(l)&&(Uo(!!l.story),this.storyStoreValue.args.updateFromPersisted(l.story,t)),c&&!c.torndown&&!i&&!d&&!s){this.currentRender=c,this.channel.emit(bu,o),this.view.showMain();return}if(c&&await this.teardownRender(c,{viewModeChanged:s}),u&&(i||s)&&this.channel.emit(du,o),$o(l)){Uo(!!l.story);let{parameters:y,initialArgs:f,argTypes:h,unmappedArgs:g,initialGlobals:C,userGlobals:b,storyGlobals:E,globals:_}=this.storyStoreValue.getStoryContext(l.story);this.channel.emit(hu,{id:o,parameters:y,initialArgs:f,argTypes:h,args:g}),this.channel.emit(xr,{userGlobals:b,storyGlobals:E,globals:_,initialGlobals:C})}else{let{parameters:y}=this.storyStoreValue.projectAnnotations,{initialGlobals:f,globals:h}=this.storyStoreValue.userGlobals;if(this.channel.emit(xr,{globals:h,initialGlobals:f,storyGlobals:{},userGlobals:h}),Xg(l)||l.entry.tags?.includes(Wg)){if(!l.csfFiles)throw new Wh({storyId:o});({parameters:y}=this.storyStoreValue.preparedMetaFromCSFFile({csfFile:l.csfFiles[0]}))}this.channel.emit(nu,{id:o,parameters:y})}$o(l)?(Uo(!!l.story),this.storyRenders.push(l),this.currentRender.renderToElement(this.view.prepareForStory(l.story))):this.currentRender.renderToElement(this.view.prepareForDocs(),this.renderStoryToElement.bind(this))}async teardownRender(t,{viewModeChanged:r=!1}={}){this.storyRenders=this.storyRenders.filter(n=>n!==t),await t?.teardown?.({viewModeChanged:r})}mainStoryCallbacks(t){return{showStoryDuringRender:m(()=>this.view.showStoryDuringRender(),"showStoryDuringRender"),showMain:m(()=>this.view.showMain(),"showMain"),showError:m(r=>this.renderError(t,r),"showError"),showException:m(r=>this.renderException(t,r),"showException")}}renderPreviewEntryError(t,r){super.renderPreviewEntryError(t,r),this.view.showErrorDisplay(r)}renderMissingStory(){this.view.showNoPreview(),this.channel.emit(Ka)}renderStoryLoadingException(t,r){ge.error(r),this.view.showErrorDisplay(r),this.channel.emit(Ka,t)}renderException(t,r){let{name:n="Error",message:o=String(r),stack:a}=r;this.channel.emit(gu,{name:n,message:o,stack:a}),this.channel.emit(wr,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay(r),ge.error(`Error rendering story '${t}':`),ge.error(r)}renderError(t,{title:r,description:n}){ge.error(`Error rendering story ${r}: ${n}`),this.channel.emit(fu,{title:r,description:n}),this.channel.emit(wr,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay({message:r,stack:n})}};m(Qg,"PreviewWithSelection");var Y5=Qg,ss=Qe(Cs(),1),X5=Qe(ws(),1),Q5=Qe(Cs(),1),Im=/^[a-zA-Z0-9 _-]*$/,Zg=/^-?[0-9]+(\.[0-9]+)?$/,Z5=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,eb=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,ls=m((e="",t)=>e===null||e===""||!Im.test(e)?!1:t==null||t instanceof Date||typeof t=="number"||typeof t=="boolean"?!0:typeof t=="string"?Im.test(t)||Zg.test(t)||Z5.test(t)||eb.test(t):Array.isArray(t)?t.every(r=>ls(e,r)):(0,X5.default)(t)?Object.entries(t).every(([r,n])=>ls(r,n)):!1,"validateArgs"),eD={delimiter:";",allowDots:!0,allowSparse:!0,decoder(e,t,r,n){if(n==="value"&&e.startsWith("!")){if(e==="!undefined")return;if(e==="!null")return null;if(e==="!true")return!0;if(e==="!false")return!1;if(e.startsWith("!date(")&&e.endsWith(")"))return new Date(e.slice(6,-1));if(e.startsWith("!hex(")&&e.endsWith(")"))return`#${e.slice(5,-1)}`;let o=e.slice(1).match(eb);if(o)return e.startsWith("!rgba")?`${o[1]}(${o[2]}, ${o[3]}, ${o[4]}, ${o[5]})`:e.startsWith("!hsla")?`${o[1]}(${o[2]}, ${o[3]}%, ${o[4]}%, ${o[5]})`:e.startsWith("!rgb")?`${o[1]}(${o[2]}, ${o[3]}, ${o[4]})`:`${o[1]}(${o[2]}, ${o[3]}%, ${o[4]}%)`}return n==="value"&&Zg.test(e)?Number(e):t(e,t,r)}},km=m(e=>{let t=e.split(";").map(r=>r.replace("=","~").replace(":","="));return Object.entries(Q5.default.parse(t.join(";"),eD)).reduce((r,[n,o])=>ls(n,o)?Object.assign(r,{[n]:o}):(Mt.warn(at` Omitted potentially unsafe URL args. More info: https://storybook.js.org/docs/react/writing-stories/args#setting-args-through-the-url - `),r),{})},"parseArgsParam"),{history:ab,document:_t}=Ue;function ib(e){let t=(e||"").match(/^\/story\/(.+)/);if(!t)throw new Error(`Invalid path '${e}', must start with '/story/'`);return t[1]}m(ib,"pathToId");var sb=m(({selection:e,extraParams:t})=>{let r=typeof _t<"u"?_t.location.search:"",{path:n,selectedKind:o,selectedStory:a,...i}=us.default.parse(r,{ignoreQueryPrefix:!0});return us.default.stringify({...i,...t,...e&&{id:e.storyId,viewMode:e.viewMode}},{encode:!1,addQueryPrefix:!0})},"getQueryString"),iD=m(e=>{if(!e)return;let t=sb({selection:e}),{hash:r=""}=_t.location;_t.title=e.storyId,ab.replaceState({},"",`${_t.location.pathname}${t}${r}`)},"setPath"),sD=m(e=>e!=null&&typeof e=="object"&&Array.isArray(e)===!1,"isObject"),Nn=m(e=>{if(e!==void 0){if(typeof e=="string")return e;if(Array.isArray(e))return Nn(e[0]);if(sD(e))return Nn(Object.values(e).filter(Boolean))}},"getFirstString"),lD=m(()=>{if(typeof _t<"u"){let e=us.default.parse(_t.location.search,{ignoreQueryPrefix:!0}),t=typeof e.args=="string"?Fm(e.args):void 0,r=typeof e.globals=="string"?Fm(e.globals):void 0,n=Nn(e.viewMode);(typeof n!="string"||!n.match(/docs|story/))&&(n="story");let o=Nn(e.path),a=o?ib(o):Nn(e.id);if(a)return{storySpecifier:a,args:t,globals:r,viewMode:n}}return null},"getSelectionSpecifierFromPath"),lb=class{selectionSpecifier;selection;constructor(){this.selectionSpecifier=lD()}setSelection(t){this.selection=t,iD(this.selection)}setQueryParams(t){let r=sb({extraParams:t}),{hash:n=""}=_t.location;ab.replaceState({},"",`${_t.location.pathname}${r}${n}`)}};m(lb,"UrlStore");var uD=lb,cD=Qe(o5(),1),pD=Qe(Os(),1),{document:Ge}=Ue,jm=100,ub=(e=>(e.MAIN="MAIN",e.NOPREVIEW="NOPREVIEW",e.PREPARING_STORY="PREPARING_STORY",e.PREPARING_DOCS="PREPARING_DOCS",e.ERROR="ERROR",e))(ub||{}),Qi={PREPARING_STORY:"sb-show-preparing-story",PREPARING_DOCS:"sb-show-preparing-docs",MAIN:"sb-show-main",NOPREVIEW:"sb-show-nopreview",ERROR:"sb-show-errordisplay"},Zi={centered:"sb-main-centered",fullscreen:"sb-main-fullscreen",padded:"sb-main-padded"},Nm=new cD.default({escapeXML:!0}),cb=class{currentLayoutClass;testing=!1;preparingTimeout;constructor(){if(typeof Ge<"u"){let{__SPECIAL_TEST_PARAMETER__:t}=pD.default.parse(Ge.location.search,{ignoreQueryPrefix:!0});switch(t){case"preparing-story":{this.showPreparingStory(),this.testing=!0;break}case"preparing-docs":{this.showPreparingDocs(),this.testing=!0;break}default:}}}prepareForStory(t){return this.showStory(),this.applyLayout(t.parameters.layout),Ge.documentElement.scrollTop=0,Ge.documentElement.scrollLeft=0,this.storyRoot()}storyRoot(){return Ge.getElementById("storybook-root")}prepareForDocs(){return this.showMain(),this.showDocs(),this.applyLayout("fullscreen"),Ge.documentElement.scrollTop=0,Ge.documentElement.scrollLeft=0,this.docsRoot()}docsRoot(){return Ge.getElementById("storybook-docs")}applyLayout(t="padded"){if(t==="none"){Ge.body.classList.remove(this.currentLayoutClass),this.currentLayoutClass=null;return}this.checkIfLayoutExists(t);let r=Zi[t];Ge.body.classList.remove(this.currentLayoutClass),Ge.body.classList.add(r),this.currentLayoutClass=r}checkIfLayoutExists(t){Zi[t]||me.warn(lt` + `),r),{})},"parseArgsParam"),{history:tb,document:Tt}=Le;function rb(e){let t=(e||"").match(/^\/story\/(.+)/);if(!t)throw new Error(`Invalid path '${e}', must start with '/story/'`);return t[1]}m(rb,"pathToId");var nb=m(({selection:e,extraParams:t})=>{let r=typeof Tt<"u"?Tt.location.search:"",{path:n,selectedKind:o,selectedStory:a,...i}=ss.default.parse(r,{ignoreQueryPrefix:!0});return ss.default.stringify({...i,...t,...e&&{id:e.storyId,viewMode:e.viewMode}},{encode:!1,addQueryPrefix:!0})},"getQueryString"),tD=m(e=>{if(!e)return;let t=nb({selection:e}),{hash:r=""}=Tt.location;Tt.title=e.storyId,tb.replaceState({},"",`${Tt.location.pathname}${t}${r}`)},"setPath"),rD=m(e=>e!=null&&typeof e=="object"&&Array.isArray(e)===!1,"isObject"),Cn=m(e=>{if(e!==void 0){if(typeof e=="string")return e;if(Array.isArray(e))return Cn(e[0]);if(rD(e))return Cn(Object.values(e).filter(Boolean))}},"getFirstString"),nD=m(()=>{if(typeof Tt<"u"){let e=ss.default.parse(Tt.location.search,{ignoreQueryPrefix:!0}),t=typeof e.args=="string"?km(e.args):void 0,r=typeof e.globals=="string"?km(e.globals):void 0,n=Cn(e.viewMode);(typeof n!="string"||!n.match(/docs|story/))&&(n="story");let o=Cn(e.path),a=o?rb(o):Cn(e.id);if(a)return{storySpecifier:a,args:t,globals:r,viewMode:n}}return null},"getSelectionSpecifierFromPath"),ob=class{constructor(){this.selectionSpecifier=nD()}setSelection(t){this.selection=t,tD(this.selection)}setQueryParams(t){let r=nb({extraParams:t}),{hash:n=""}=Tt.location;tb.replaceState({},"",`${Tt.location.pathname}${r}${n}`)}};m(ob,"UrlStore");var oD=ob,aD=Qe(QR(),1),iD=Qe(Cs(),1),{document:Je}=Le,Pm=100,ab=(e=>(e.MAIN="MAIN",e.NOPREVIEW="NOPREVIEW",e.PREPARING_STORY="PREPARING_STORY",e.PREPARING_DOCS="PREPARING_DOCS",e.ERROR="ERROR",e))(ab||{}),Ki={PREPARING_STORY:"sb-show-preparing-story",PREPARING_DOCS:"sb-show-preparing-docs",MAIN:"sb-show-main",NOPREVIEW:"sb-show-nopreview",ERROR:"sb-show-errordisplay"},Yi={centered:"sb-main-centered",fullscreen:"sb-main-fullscreen",padded:"sb-main-padded"},Rm=new aD.default({escapeXML:!0}),ib=class{constructor(){if(this.testing=!1,typeof Je<"u"){let{__SPECIAL_TEST_PARAMETER__:t}=iD.default.parse(Je.location.search,{ignoreQueryPrefix:!0});switch(t){case"preparing-story":{this.showPreparingStory(),this.testing=!0;break}case"preparing-docs":{this.showPreparingDocs(),this.testing=!0;break}default:}}}prepareForStory(t){return this.showStory(),this.applyLayout(t.parameters.layout),Je.documentElement.scrollTop=0,Je.documentElement.scrollLeft=0,this.storyRoot()}storyRoot(){return Je.getElementById("storybook-root")}prepareForDocs(){return this.showMain(),this.showDocs(),this.applyLayout("fullscreen"),Je.documentElement.scrollTop=0,Je.documentElement.scrollLeft=0,this.docsRoot()}docsRoot(){return Je.getElementById("storybook-docs")}applyLayout(t="padded"){if(t==="none"){Je.body.classList.remove(this.currentLayoutClass),this.currentLayoutClass=null;return}this.checkIfLayoutExists(t);let r=Yi[t];Je.body.classList.remove(this.currentLayoutClass),Je.body.classList.add(r),this.currentLayoutClass=r}checkIfLayoutExists(t){Yi[t]||ge.warn(at` The desired layout: ${t} is not a valid option. - The possible options are: ${Object.keys(Zi).join(", ")}, none. - `)}showMode(t){clearTimeout(this.preparingTimeout),Object.keys(ub).forEach(r=>{r===t?Ge.body.classList.add(Qi[r]):Ge.body.classList.remove(Qi[r])})}showErrorDisplay({message:t="",stack:r=""}){let n=t,o=r,a=t.split(` + The possible options are: ${Object.keys(Yi).join(", ")}, none. + `)}showMode(t){clearTimeout(this.preparingTimeout),Object.keys(ab).forEach(r=>{r===t?Je.body.classList.add(Ki[r]):Je.body.classList.remove(Ki[r])})}showErrorDisplay({message:t="",stack:r=""}){let n=t,o=r,a=t.split(` `);a.length>1&&([n]=a,o=a.slice(1).join(` -`).replace(/^\n/,"")),Ge.getElementById("error-message").innerHTML=Nm.toHtml(n),Ge.getElementById("error-stack").innerHTML=Nm.toHtml(o),this.showMode("ERROR")}showNoPreview(){this.testing||(this.showMode("NOPREVIEW"),this.storyRoot()?.setAttribute("hidden","true"),this.docsRoot()?.setAttribute("hidden","true"))}showPreparingStory({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_STORY"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_STORY"),jm)}showPreparingDocs({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),jm)}showMain(){this.showMode("MAIN")}showDocs(){this.storyRoot().setAttribute("hidden","true"),this.docsRoot().removeAttribute("hidden")}showStory(){this.docsRoot().setAttribute("hidden","true"),this.storyRoot().removeAttribute("hidden")}showStoryDuringRender(){Ge.body.classList.add(Qi.MAIN)}};m(cb,"WebView");var dD=cb,fD=class extends tD{constructor(t,r){super(t,r,new uD,new dD),this.importFn=t,this.getProjectAnnotations=r,Ue.__STORYBOOK_PREVIEW__=this}};m(fD,"PreviewWeb");var{document:cr}=Ue,yD=["application/javascript","application/ecmascript","application/x-ecmascript","application/x-javascript","text/ecmascript","text/javascript","text/javascript1.0","text/javascript1.1","text/javascript1.2","text/javascript1.3","text/javascript1.4","text/javascript1.5","text/jscript","text/livescript","text/x-ecmascript","text/x-javascript","module"],hD="script",Bm="scripts-root";function ps(){let e=cr.createEvent("Event");e.initEvent("DOMContentLoaded",!0,!0),cr.dispatchEvent(e)}m(ps,"simulateDOMContentLoaded");function pb(e,t,r){let n=cr.createElement("script");n.type=e.type==="module"?"module":"text/javascript",e.src?(n.onload=t,n.onerror=t,n.src=e.src):n.textContent=e.innerText,r?r.appendChild(n):cr.head.appendChild(n),e.parentNode.removeChild(e),e.src||t()}m(pb,"insertScript");function qs(e,t,r=0){e[r](()=>{r++,r===e.length?t():qs(e,t,r)})}m(qs,"insertScriptsSequentially");function mD(e){let t=cr.getElementById(Bm);t?t.innerHTML="":(t=cr.createElement("div"),t.id=Bm,cr.body.appendChild(t));let r=Array.from(e.querySelectorAll(hD));if(r.length){let n=[];r.forEach(o=>{let a=o.getAttribute("type");(!a||yD.includes(a))&&n.push(i=>pb(o,i,t))}),n.length&&qs(n,ps,void 0)}else ps()}m(mD,"simulatePageLoad");S();A();T();S();A();T();var gD=Object.create,Ms=Object.defineProperty,bD=Object.getOwnPropertyDescriptor,vD=Object.getOwnPropertyNames,xD=Object.getPrototypeOf,ED=Object.prototype.hasOwnProperty,b=(e,t)=>Ms(e,"name",{value:t,configurable:!0}),K=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),wD=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of vD(t))!ED.call(e,o)&&o!==r&&Ms(e,o,{get:()=>t[o],enumerable:!(n=bD(t,o))||n.enumerable});return e},db=(e,t,r)=>(r=e!=null?gD(xD(e)):{},wD(t||!e||!e.__esModule?Ms(r,"default",{value:e,enumerable:!0}):r,e)),fb=K((e,t)=>{var r=typeof window=="object"&&window&&window.Object===Object&&window;t.exports=r}),kt=K((e,t)=>{var r=fb(),n=typeof self=="object"&&self&&self.Object===Object&&self,o=r||n||Function("return this")();t.exports=o}),sa=K((e,t)=>{var r=kt(),n=r.Symbol;t.exports=n}),SD=K((e,t)=>{var r=sa(),n=Object.prototype,o=n.hasOwnProperty,a=n.toString,i=r?r.toStringTag:void 0;function s(l){var u=o.call(l,i),c=l[i];try{l[i]=void 0;var d=!0}catch{}var y=a.call(l);return d&&(u?l[i]=c:delete l[i]),y}b(s,"getRawTag"),t.exports=s}),AD=K((e,t)=>{var r=Object.prototype,n=r.toString;function o(a){return n.call(a)}b(o,"objectToString"),t.exports=o}),Hn=K((e,t)=>{var r=sa(),n=SD(),o=AD(),a="[object Null]",i="[object Undefined]",s=r?r.toStringTag:void 0;function l(u){return u==null?u===void 0?i:a:s&&s in Object(u)?n(u):o(u)}b(l,"baseGetTag"),t.exports=l}),Us=K((e,t)=>{function r(n){var o=typeof n;return n!=null&&(o=="object"||o=="function")}b(r,"isObject"),t.exports=r}),yb=K((e,t)=>{var r=Hn(),n=Us(),o="[object AsyncFunction]",a="[object Function]",i="[object GeneratorFunction]",s="[object Proxy]";function l(u){if(!n(u))return!1;var c=r(u);return c==a||c==i||c==o||c==s}b(l,"isFunction"),t.exports=l}),TD=K((e,t)=>{var r=kt(),n=r["__core-js_shared__"];t.exports=n}),CD=K((e,t)=>{var r=TD(),n=function(){var a=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}();function o(a){return!!n&&n in a}b(o,"isMasked"),t.exports=o}),hb=K((e,t)=>{var r=Function.prototype,n=r.toString;function o(a){if(a!=null){try{return n.call(a)}catch{}try{return a+""}catch{}}return""}b(o,"toSource"),t.exports=o}),_D=K((e,t)=>{var r=yb(),n=CD(),o=Us(),a=hb(),i=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,l=Function.prototype,u=Object.prototype,c=l.toString,d=u.hasOwnProperty,y=RegExp("^"+c.call(d).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function f(h){if(!o(h)||n(h))return!1;var g=r(h)?y:s;return g.test(a(h))}b(f,"baseIsNative"),t.exports=f}),OD=K((e,t)=>{function r(n,o){return n?.[o]}b(r,"getValue"),t.exports=r}),yr=K((e,t)=>{var r=_D(),n=OD();function o(a,i){var s=n(a,i);return r(s)?s:void 0}b(o,"getNative"),t.exports=o}),ID=K((e,t)=>{var r=yr(),n=function(){try{var o=r(Object,"defineProperty");return o({},"",{}),o}catch{}}();t.exports=n}),PD=K((e,t)=>{var r=ID();function n(o,a,i){a=="__proto__"&&r?r(o,a,{configurable:!0,enumerable:!0,value:i,writable:!0}):o[a]=i}b(n,"baseAssignValue"),t.exports=n}),kD=K((e,t)=>{function r(n){return function(o,a,i){for(var s=-1,l=Object(o),u=i(o),c=u.length;c--;){var d=u[n?c:++s];if(a(l[d],d,l)===!1)break}return o}}b(r,"createBaseFor"),t.exports=r}),RD=K((e,t)=>{var r=kD(),n=r();t.exports=n}),DD=K((e,t)=>{function r(n,o){for(var a=-1,i=Array(n);++a{function r(n){return n!=null&&typeof n=="object"}b(r,"isObjectLike"),t.exports=r}),FD=K((e,t)=>{var r=Hn(),n=Gn(),o="[object Arguments]";function a(i){return n(i)&&r(i)==o}b(a,"baseIsArguments"),t.exports=a}),mb=K((e,t)=>{var r=FD(),n=Gn(),o=Object.prototype,a=o.hasOwnProperty,i=o.propertyIsEnumerable,s=r(function(){return arguments}())?r:function(l){return n(l)&&a.call(l,"callee")&&!i.call(l,"callee")};t.exports=s}),zt=K((e,t)=>{var r=Array.isArray;t.exports=r}),jD=K((e,t)=>{function r(){return!1}b(r,"stubFalse"),t.exports=r}),gb=K((e,t)=>{var r=kt(),n=jD(),o=typeof e=="object"&&e&&!e.nodeType&&e,a=o&&typeof t=="object"&&t&&!t.nodeType&&t,i=a&&a.exports===o,s=i?r.Buffer:void 0,l=s?s.isBuffer:void 0,u=l||n;t.exports=u}),bb=K((e,t)=>{var r=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function o(a,i){var s=typeof a;return i=i??r,!!i&&(s=="number"||s!="symbol"&&n.test(a))&&a>-1&&a%1==0&&a{var r=9007199254740991;function n(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=r}b(n,"isLength"),t.exports=n}),ND=K((e,t)=>{var r=Hn(),n=Js(),o=Gn(),a="[object Arguments]",i="[object Array]",s="[object Boolean]",l="[object Date]",u="[object Error]",c="[object Function]",d="[object Map]",y="[object Number]",f="[object Object]",h="[object RegExp]",g="[object Set]",_="[object String]",x="[object WeakMap]",v="[object ArrayBuffer]",O="[object DataView]",C="[object Float32Array]",I="[object Float64Array]",P="[object Int8Array]",F="[object Int16Array]",D="[object Int32Array]",U="[object Uint8Array]",G="[object Uint8ClampedArray]",X="[object Uint16Array]",Q="[object Uint32Array]",V={};V[C]=V[I]=V[P]=V[F]=V[D]=V[U]=V[G]=V[X]=V[Q]=!0,V[a]=V[i]=V[v]=V[s]=V[O]=V[l]=V[u]=V[c]=V[d]=V[y]=V[f]=V[h]=V[g]=V[_]=V[x]=!1;function R(q){return o(q)&&n(q.length)&&!!V[r(q)]}b(R,"baseIsTypedArray"),t.exports=R}),BD=K((e,t)=>{function r(n){return function(o){return n(o)}}b(r,"baseUnary"),t.exports=r}),LD=K((e,t)=>{var r=fb(),n=typeof e=="object"&&e&&!e.nodeType&&e,o=n&&typeof t=="object"&&t&&!t.nodeType&&t,a=o&&o.exports===n,i=a&&r.process,s=function(){try{var l=o&&o.require&&o.require("util").types;return l||i&&i.binding&&i.binding("util")}catch{}}();t.exports=s}),vb=K((e,t)=>{var r=ND(),n=BD(),o=LD(),a=o&&o.isTypedArray,i=a?n(a):r;t.exports=i}),qD=K((e,t)=>{var r=DD(),n=mb(),o=zt(),a=gb(),i=bb(),s=vb(),l=Object.prototype,u=l.hasOwnProperty;function c(d,y){var f=o(d),h=!f&&n(d),g=!f&&!h&&a(d),_=!f&&!h&&!g&&s(d),x=f||h||g||_,v=x?r(d.length,String):[],O=v.length;for(var C in d)(y||u.call(d,C))&&!(x&&(C=="length"||g&&(C=="offset"||C=="parent")||_&&(C=="buffer"||C=="byteLength"||C=="byteOffset")||i(C,O)))&&v.push(C);return v}b(c,"arrayLikeKeys"),t.exports=c}),MD=K((e,t)=>{var r=Object.prototype;function n(o){var a=o&&o.constructor,i=typeof a=="function"&&a.prototype||r;return o===i}b(n,"isPrototype"),t.exports=n}),UD=K((e,t)=>{function r(n,o){return function(a){return n(o(a))}}b(r,"overArg"),t.exports=r}),JD=K((e,t)=>{var r=UD(),n=r(Object.keys,Object);t.exports=n}),$D=K((e,t)=>{var r=MD(),n=JD(),o=Object.prototype,a=o.hasOwnProperty;function i(s){if(!r(s))return n(s);var l=[];for(var u in Object(s))a.call(s,u)&&u!="constructor"&&l.push(u);return l}b(i,"baseKeys"),t.exports=i}),zD=K((e,t)=>{var r=yb(),n=Js();function o(a){return a!=null&&n(a.length)&&!r(a)}b(o,"isArrayLike"),t.exports=o}),$s=K((e,t)=>{var r=qD(),n=$D(),o=zD();function a(i){return o(i)?r(i):n(i)}b(a,"keys"),t.exports=a}),VD=K((e,t)=>{var r=RD(),n=$s();function o(a,i){return a&&r(a,i,n)}b(o,"baseForOwn"),t.exports=o}),HD=K((e,t)=>{function r(){this.__data__=[],this.size=0}b(r,"listCacheClear"),t.exports=r}),xb=K((e,t)=>{function r(n,o){return n===o||n!==n&&o!==o}b(r,"eq"),t.exports=r}),la=K((e,t)=>{var r=xb();function n(o,a){for(var i=o.length;i--;)if(r(o[i][0],a))return i;return-1}b(n,"assocIndexOf"),t.exports=n}),GD=K((e,t)=>{var r=la(),n=Array.prototype,o=n.splice;function a(i){var s=this.__data__,l=r(s,i);if(l<0)return!1;var u=s.length-1;return l==u?s.pop():o.call(s,l,1),--this.size,!0}b(a,"listCacheDelete"),t.exports=a}),WD=K((e,t)=>{var r=la();function n(o){var a=this.__data__,i=r(a,o);return i<0?void 0:a[i][1]}b(n,"listCacheGet"),t.exports=n}),KD=K((e,t)=>{var r=la();function n(o){return r(this.__data__,o)>-1}b(n,"listCacheHas"),t.exports=n}),YD=K((e,t)=>{var r=la();function n(o,a){var i=this.__data__,s=r(i,o);return s<0?(++this.size,i.push([o,a])):i[s][1]=a,this}b(n,"listCacheSet"),t.exports=n}),ua=K((e,t)=>{var r=HD(),n=GD(),o=WD(),a=KD(),i=YD();function s(l){var u=-1,c=l==null?0:l.length;for(this.clear();++u{var r=ua();function n(){this.__data__=new r,this.size=0}b(n,"stackClear"),t.exports=n}),QD=K((e,t)=>{function r(n){var o=this.__data__,a=o.delete(n);return this.size=o.size,a}b(r,"stackDelete"),t.exports=r}),ZD=K((e,t)=>{function r(n){return this.__data__.get(n)}b(r,"stackGet"),t.exports=r}),eF=K((e,t)=>{function r(n){return this.__data__.has(n)}b(r,"stackHas"),t.exports=r}),zs=K((e,t)=>{var r=yr(),n=kt(),o=r(n,"Map");t.exports=o}),ca=K((e,t)=>{var r=yr(),n=r(Object,"create");t.exports=n}),tF=K((e,t)=>{var r=ca();function n(){this.__data__=r?r(null):{},this.size=0}b(n,"hashClear"),t.exports=n}),rF=K((e,t)=>{function r(n){var o=this.has(n)&&delete this.__data__[n];return this.size-=o?1:0,o}b(r,"hashDelete"),t.exports=r}),nF=K((e,t)=>{var r=ca(),n="__lodash_hash_undefined__",o=Object.prototype,a=o.hasOwnProperty;function i(s){var l=this.__data__;if(r){var u=l[s];return u===n?void 0:u}return a.call(l,s)?l[s]:void 0}b(i,"hashGet"),t.exports=i}),oF=K((e,t)=>{var r=ca(),n=Object.prototype,o=n.hasOwnProperty;function a(i){var s=this.__data__;return r?s[i]!==void 0:o.call(s,i)}b(a,"hashHas"),t.exports=a}),aF=K((e,t)=>{var r=ca(),n="__lodash_hash_undefined__";function o(a,i){var s=this.__data__;return this.size+=this.has(a)?0:1,s[a]=r&&i===void 0?n:i,this}b(o,"hashSet"),t.exports=o}),iF=K((e,t)=>{var r=tF(),n=rF(),o=nF(),a=oF(),i=aF();function s(l){var u=-1,c=l==null?0:l.length;for(this.clear();++u{var r=iF(),n=ua(),o=zs();function a(){this.size=0,this.__data__={hash:new r,map:new(o||n),string:new r}}b(a,"mapCacheClear"),t.exports=a}),lF=K((e,t)=>{function r(n){var o=typeof n;return o=="string"||o=="number"||o=="symbol"||o=="boolean"?n!=="__proto__":n===null}b(r,"isKeyable"),t.exports=r}),pa=K((e,t)=>{var r=lF();function n(o,a){var i=o.__data__;return r(a)?i[typeof a=="string"?"string":"hash"]:i.map}b(n,"getMapData"),t.exports=n}),uF=K((e,t)=>{var r=pa();function n(o){var a=r(this,o).delete(o);return this.size-=a?1:0,a}b(n,"mapCacheDelete"),t.exports=n}),cF=K((e,t)=>{var r=pa();function n(o){return r(this,o).get(o)}b(n,"mapCacheGet"),t.exports=n}),pF=K((e,t)=>{var r=pa();function n(o){return r(this,o).has(o)}b(n,"mapCacheHas"),t.exports=n}),dF=K((e,t)=>{var r=pa();function n(o,a){var i=r(this,o),s=i.size;return i.set(o,a),this.size+=i.size==s?0:1,this}b(n,"mapCacheSet"),t.exports=n}),Vs=K((e,t)=>{var r=sF(),n=uF(),o=cF(),a=pF(),i=dF();function s(l){var u=-1,c=l==null?0:l.length;for(this.clear();++u{var r=ua(),n=zs(),o=Vs(),a=200;function i(s,l){var u=this.__data__;if(u instanceof r){var c=u.__data__;if(!n||c.length{var r=ua(),n=XD(),o=QD(),a=ZD(),i=eF(),s=fF();function l(u){var c=this.__data__=new r(u);this.size=c.size}b(l,"Stack"),l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=a,l.prototype.has=i,l.prototype.set=s,t.exports=l}),yF=K((e,t)=>{var r="__lodash_hash_undefined__";function n(o){return this.__data__.set(o,r),this}b(n,"setCacheAdd"),t.exports=n}),hF=K((e,t)=>{function r(n){return this.__data__.has(n)}b(r,"setCacheHas"),t.exports=r}),mF=K((e,t)=>{var r=Vs(),n=yF(),o=hF();function a(i){var s=-1,l=i==null?0:i.length;for(this.__data__=new r;++s{function r(n,o){for(var a=-1,i=n==null?0:n.length;++a{function r(n,o){return n.has(o)}b(r,"cacheHas"),t.exports=r}),wb=K((e,t)=>{var r=mF(),n=gF(),o=bF(),a=1,i=2;function s(l,u,c,d,y,f){var h=c&a,g=l.length,_=u.length;if(g!=_&&!(h&&_>g))return!1;var x=f.get(l),v=f.get(u);if(x&&v)return x==u&&v==l;var O=-1,C=!0,I=c&i?new r:void 0;for(f.set(l,u),f.set(u,l);++O{var r=kt(),n=r.Uint8Array;t.exports=n}),xF=K((e,t)=>{function r(n){var o=-1,a=Array(n.size);return n.forEach(function(i,s){a[++o]=[s,i]}),a}b(r,"mapToArray"),t.exports=r}),EF=K((e,t)=>{function r(n){var o=-1,a=Array(n.size);return n.forEach(function(i){a[++o]=i}),a}b(r,"setToArray"),t.exports=r}),wF=K((e,t)=>{var r=sa(),n=vF(),o=xb(),a=wb(),i=xF(),s=EF(),l=1,u=2,c="[object Boolean]",d="[object Date]",y="[object Error]",f="[object Map]",h="[object Number]",g="[object RegExp]",_="[object Set]",x="[object String]",v="[object Symbol]",O="[object ArrayBuffer]",C="[object DataView]",I=r?r.prototype:void 0,P=I?I.valueOf:void 0;function F(D,U,G,X,Q,V,R){switch(G){case C:if(D.byteLength!=U.byteLength||D.byteOffset!=U.byteOffset)return!1;D=D.buffer,U=U.buffer;case O:return!(D.byteLength!=U.byteLength||!V(new n(D),new n(U)));case c:case d:case h:return o(+D,+U);case y:return D.name==U.name&&D.message==U.message;case g:case x:return D==U+"";case f:var q=i;case _:var M=X&l;if(q||(q=s),D.size!=U.size&&!M)return!1;var Y=R.get(D);if(Y)return Y==U;X|=u,R.set(D,U);var te=a(q(D),q(U),X,Q,V,R);return R.delete(D),te;case v:if(P)return P.call(D)==P.call(U)}return!1}b(F,"equalByTag"),t.exports=F}),SF=K((e,t)=>{function r(n,o){for(var a=-1,i=o.length,s=n.length;++a{var r=SF(),n=zt();function o(a,i,s){var l=i(a);return n(a)?l:r(l,s(a))}b(o,"baseGetAllKeys"),t.exports=o}),TF=K((e,t)=>{function r(n,o){for(var a=-1,i=n==null?0:n.length,s=0,l=[];++a{function r(){return[]}b(r,"stubArray"),t.exports=r}),_F=K((e,t)=>{var r=TF(),n=CF(),o=Object.prototype,a=o.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(l){return l==null?[]:(l=Object(l),r(i(l),function(u){return a.call(l,u)}))}:n;t.exports=s}),OF=K((e,t)=>{var r=AF(),n=_F(),o=$s();function a(i){return r(i,o,n)}b(a,"getAllKeys"),t.exports=a}),IF=K((e,t)=>{var r=OF(),n=1,o=Object.prototype,a=o.hasOwnProperty;function i(s,l,u,c,d,y){var f=u&n,h=r(s),g=h.length,_=r(l),x=_.length;if(g!=x&&!f)return!1;for(var v=g;v--;){var O=h[v];if(!(f?O in l:a.call(l,O)))return!1}var C=y.get(s),I=y.get(l);if(C&&I)return C==l&&I==s;var P=!0;y.set(s,l),y.set(l,s);for(var F=f;++v{var r=yr(),n=kt(),o=r(n,"DataView");t.exports=o}),kF=K((e,t)=>{var r=yr(),n=kt(),o=r(n,"Promise");t.exports=o}),RF=K((e,t)=>{var r=yr(),n=kt(),o=r(n,"Set");t.exports=o}),DF=K((e,t)=>{var r=yr(),n=kt(),o=r(n,"WeakMap");t.exports=o}),FF=K((e,t)=>{var r=PF(),n=zs(),o=kF(),a=RF(),i=DF(),s=Hn(),l=hb(),u="[object Map]",c="[object Object]",d="[object Promise]",y="[object Set]",f="[object WeakMap]",h="[object DataView]",g=l(r),_=l(n),x=l(o),v=l(a),O=l(i),C=s;(r&&C(new r(new ArrayBuffer(1)))!=h||n&&C(new n)!=u||o&&C(o.resolve())!=d||a&&C(new a)!=y||i&&C(new i)!=f)&&(C=b(function(I){var P=s(I),F=P==c?I.constructor:void 0,D=F?l(F):"";if(D)switch(D){case g:return h;case _:return u;case x:return d;case v:return y;case O:return f}return P},"getTag")),t.exports=C}),jF=K((e,t)=>{var r=Eb(),n=wb(),o=wF(),a=IF(),i=FF(),s=zt(),l=gb(),u=vb(),c=1,d="[object Arguments]",y="[object Array]",f="[object Object]",h=Object.prototype,g=h.hasOwnProperty;function _(x,v,O,C,I,P){var F=s(x),D=s(v),U=F?y:i(x),G=D?y:i(v);U=U==d?f:U,G=G==d?f:G;var X=U==f,Q=G==f,V=U==G;if(V&&l(x)){if(!l(v))return!1;F=!0,X=!1}if(V&&!X)return P||(P=new r),F||u(x)?n(x,v,O,C,I,P):o(x,v,U,O,C,I,P);if(!(O&c)){var R=X&&g.call(x,"__wrapped__"),q=Q&&g.call(v,"__wrapped__");if(R||q){var M=R?x.value():x,Y=q?v.value():v;return P||(P=new r),I(M,Y,O,C,P)}}return V?(P||(P=new r),a(x,v,O,C,I,P)):!1}b(_,"baseIsEqualDeep"),t.exports=_}),Sb=K((e,t)=>{var r=jF(),n=Gn();function o(a,i,s,l,u){return a===i?!0:a==null||i==null||!n(a)&&!n(i)?a!==a&&i!==i:r(a,i,s,l,o,u)}b(o,"baseIsEqual"),t.exports=o}),NF=K((e,t)=>{var r=Eb(),n=Sb(),o=1,a=2;function i(s,l,u,c){var d=u.length,y=d,f=!c;if(s==null)return!y;for(s=Object(s);d--;){var h=u[d];if(f&&h[2]?h[1]!==s[h[0]]:!(h[0]in s))return!1}for(;++d{var r=Us();function n(o){return o===o&&!r(o)}b(n,"isStrictComparable"),t.exports=n}),BF=K((e,t)=>{var r=Ab(),n=$s();function o(a){for(var i=n(a),s=i.length;s--;){var l=i[s],u=a[l];i[s]=[l,u,r(u)]}return i}b(o,"getMatchData"),t.exports=o}),Tb=K((e,t)=>{function r(n,o){return function(a){return a==null?!1:a[n]===o&&(o!==void 0||n in Object(a))}}b(r,"matchesStrictComparable"),t.exports=r}),LF=K((e,t)=>{var r=NF(),n=BF(),o=Tb();function a(i){var s=n(i);return s.length==1&&s[0][2]?o(s[0][0],s[0][1]):function(l){return l===i||r(l,i,s)}}b(a,"baseMatches"),t.exports=a}),Hs=K((e,t)=>{var r=Hn(),n=Gn(),o="[object Symbol]";function a(i){return typeof i=="symbol"||n(i)&&r(i)==o}b(a,"isSymbol"),t.exports=a}),Gs=K((e,t)=>{var r=zt(),n=Hs(),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;function i(s,l){if(r(s))return!1;var u=typeof s;return u=="number"||u=="symbol"||u=="boolean"||s==null||n(s)?!0:a.test(s)||!o.test(s)||l!=null&&s in Object(l)}b(i,"isKey"),t.exports=i}),qF=K((e,t)=>{var r=Vs(),n="Expected a function";function o(a,i){if(typeof a!="function"||i!=null&&typeof i!="function")throw new TypeError(n);var s=b(function(){var l=arguments,u=i?i.apply(this,l):l[0],c=s.cache;if(c.has(u))return c.get(u);var d=a.apply(this,l);return s.cache=c.set(u,d)||c,d},"memoized");return s.cache=new(o.Cache||r),s}b(o,"memoize"),o.Cache=r,t.exports=o}),MF=K((e,t)=>{var r=qF(),n=500;function o(a){var i=r(a,function(l){return s.size===n&&s.clear(),l}),s=i.cache;return i}b(o,"memoizeCapped"),t.exports=o}),UF=K((e,t)=>{var r=MF(),n=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r(function(i){var s=[];return i.charCodeAt(0)===46&&s.push(""),i.replace(n,function(l,u,c,d){s.push(c?d.replace(o,"$1"):u||l)}),s});t.exports=a}),JF=K((e,t)=>{function r(n,o){for(var a=-1,i=n==null?0:n.length,s=Array(i);++a{var r=sa(),n=JF(),o=zt(),a=Hs(),i=1/0,s=r?r.prototype:void 0,l=s?s.toString:void 0;function u(c){if(typeof c=="string")return c;if(o(c))return n(c,u)+"";if(a(c))return l?l.call(c):"";var d=c+"";return d=="0"&&1/c==-i?"-0":d}b(u,"baseToString"),t.exports=u}),zF=K((e,t)=>{var r=$F();function n(o){return o==null?"":r(o)}b(n,"toString"),t.exports=n}),Cb=K((e,t)=>{var r=zt(),n=Gs(),o=UF(),a=zF();function i(s,l){return r(s)?s:n(s,l)?[s]:o(a(s))}b(i,"castPath"),t.exports=i}),da=K((e,t)=>{var r=Hs(),n=1/0;function o(a){if(typeof a=="string"||r(a))return a;var i=a+"";return i=="0"&&1/a==-n?"-0":i}b(o,"toKey"),t.exports=o}),_b=K((e,t)=>{var r=Cb(),n=da();function o(a,i){i=r(i,a);for(var s=0,l=i.length;a!=null&&s{var r=_b();function n(o,a,i){var s=o==null?void 0:r(o,a);return s===void 0?i:s}b(n,"get"),t.exports=n}),HF=K((e,t)=>{function r(n,o){return n!=null&&o in Object(n)}b(r,"baseHasIn"),t.exports=r}),GF=K((e,t)=>{var r=Cb(),n=mb(),o=zt(),a=bb(),i=Js(),s=da();function l(u,c,d){c=r(c,u);for(var y=-1,f=c.length,h=!1;++y{var r=HF(),n=GF();function o(a,i){return a!=null&&n(a,i,r)}b(o,"hasIn"),t.exports=o}),KF=K((e,t)=>{var r=Sb(),n=VF(),o=WF(),a=Gs(),i=Ab(),s=Tb(),l=da(),u=1,c=2;function d(y,f){return a(y)&&i(f)?s(l(y),f):function(h){var g=n(h,y);return g===void 0&&g===f?o(h,y):r(f,g,u|c)}}b(d,"baseMatchesProperty"),t.exports=d}),YF=K((e,t)=>{function r(n){return n}b(r,"identity"),t.exports=r}),XF=K((e,t)=>{function r(n){return function(o){return o?.[n]}}b(r,"baseProperty"),t.exports=r}),QF=K((e,t)=>{var r=_b();function n(o){return function(a){return r(a,o)}}b(n,"basePropertyDeep"),t.exports=n}),ZF=K((e,t)=>{var r=XF(),n=QF(),o=Gs(),a=da();function i(s){return o(s)?r(a(s)):n(s)}b(i,"property"),t.exports=i}),ej=K((e,t)=>{var r=LF(),n=KF(),o=YF(),a=zt(),i=ZF();function s(l){return typeof l=="function"?l:l==null?o:typeof l=="object"?a(l)?n(l[0],l[1]):r(l):i(l)}b(s,"baseIteratee"),t.exports=s}),tj=K((e,t)=>{var r=PD(),n=VD(),o=ej();function a(i,s){var l={};return s=o(s,3),n(i,function(u,c,d){r(l,c,s(u,c,d))}),l}b(a,"mapValues"),t.exports=a}),rj=K((e,t)=>{(function(r,n){typeof e=="object"&&typeof t<"u"?n(e):typeof define=="function"&&define.amd?define(["exports"],n):(r=typeof globalThis<"u"?globalThis:r||self,n(r.jtpp={}))})(e,function(r){"use strict";function n(p){return p.text!==void 0&&p.text!==""?`'${p.type}' with value '${p.text}'`:`'${p.type}'`}b(n,"tokenToString");let o=class Ob extends Error{constructor(w){super(`No parslet found for token: ${n(w)}`),this.token=w,Object.setPrototypeOf(this,Ob.prototype)}getToken(){return this.token}};b(o,"NoParsletFoundError");let a=o,i=class Ib extends Error{constructor(w){super(`The parsing ended early. The next token was: ${n(w)}`),this.token=w,Object.setPrototypeOf(this,Ib.prototype)}getToken(){return this.token}};b(i,"EarlyEndOfParseError");let s=i,l=class Pb extends Error{constructor(w,k){let z=`Unexpected type: '${w.type}'.`;k!==void 0&&(z+=` Message: ${k}`),super(z),Object.setPrototypeOf(this,Pb.prototype)}};b(l,"UnexpectedTypeError");let u=l;function c(p){return w=>w.startsWith(p)?{type:p,text:p}:null}b(c,"makePunctuationRule");function d(p){let w=0,k,z=p[0],ee=!1;if(z!=="'"&&z!=='"')return null;for(;w{let w=h(p);return w==null?null:{type:"Identifier",text:w}},"identifierRule");function v(p){return w=>{if(!w.startsWith(p))return null;let k=w[p.length];return k!==void 0&&f.test(k)?null:{type:p,text:p}}}b(v,"makeKeyWordRule");let O=b(p=>{let w=d(p);return w==null?null:{type:"StringValue",text:w}},"stringValueRule"),C=b(p=>p.length>0?null:{type:"EOF",text:""},"eofRule"),I=b(p=>{let w=_(p);return w===null?null:{type:"Number",text:w}},"numberRule"),P=[C,c("=>"),c("("),c(")"),c("{"),c("}"),c("["),c("]"),c("|"),c("&"),c("<"),c(">"),c(","),c(";"),c("*"),c("?"),c("!"),c("="),c(":"),c("..."),c("."),c("#"),c("~"),c("/"),c("@"),v("undefined"),v("null"),v("function"),v("this"),v("new"),v("module"),v("event"),v("external"),v("typeof"),v("keyof"),v("readonly"),v("import"),v("is"),v("in"),I,x,O],F=/^\s*\n\s*/,D=class ia{static create(w){let k=this.read(w);w=k.text;let z=this.read(w);return w=z.text,new ia(w,void 0,k.token,z.token)}constructor(w,k,z,ee){this.text="",this.text=w,this.previous=k,this.current=z,this.next=ee}static read(w,k=!1){k=k||F.test(w),w=w.trim();for(let z of P){let ee=z(w);if(ee!==null){let oe=Object.assign(Object.assign({},ee),{startOfLine:k});return w=w.slice(oe.text.length),{text:w,token:oe}}}throw new Error("Unexpected Token "+w)}advance(){let w=ia.read(this.text);return new ia(w.text,this.current,this.next,w.token)}};b(D,"Lexer");let U=D;function G(p){if(p===void 0)throw new Error("Unexpected undefined");if(p.type==="JsdocTypeKeyValue"||p.type==="JsdocTypeParameterList"||p.type==="JsdocTypeProperty"||p.type==="JsdocTypeReadonlyProperty"||p.type==="JsdocTypeObjectField"||p.type==="JsdocTypeJsdocObjectField"||p.type==="JsdocTypeIndexSignature"||p.type==="JsdocTypeMappedType")throw new u(p);return p}b(G,"assertRootResult");function X(p){return p.type==="JsdocTypeKeyValue"?V(p):G(p)}b(X,"assertPlainKeyValueOrRootResult");function Q(p){return p.type==="JsdocTypeName"?p:V(p)}b(Q,"assertPlainKeyValueOrNameResult");function V(p){if(p.type!=="JsdocTypeKeyValue")throw new u(p);return p}b(V,"assertPlainKeyValueResult");function R(p){var w;if(p.type==="JsdocTypeVariadic"){if(((w=p.element)===null||w===void 0?void 0:w.type)==="JsdocTypeName")return p;throw new u(p)}if(p.type!=="JsdocTypeNumber"&&p.type!=="JsdocTypeName")throw new u(p);return p}b(R,"assertNumberOrVariadicNameResult");function q(p){return p.type==="JsdocTypeIndexSignature"||p.type==="JsdocTypeMappedType"}b(q,"isSquaredProperty");var M;(function(p){p[p.ALL=0]="ALL",p[p.PARAMETER_LIST=1]="PARAMETER_LIST",p[p.OBJECT=2]="OBJECT",p[p.KEY_VALUE=3]="KEY_VALUE",p[p.UNION=4]="UNION",p[p.INTERSECTION=5]="INTERSECTION",p[p.PREFIX=6]="PREFIX",p[p.INFIX=7]="INFIX",p[p.TUPLE=8]="TUPLE",p[p.SYMBOL=9]="SYMBOL",p[p.OPTIONAL=10]="OPTIONAL",p[p.NULLABLE=11]="NULLABLE",p[p.KEY_OF_TYPE_OF=12]="KEY_OF_TYPE_OF",p[p.FUNCTION=13]="FUNCTION",p[p.ARROW=14]="ARROW",p[p.ARRAY_BRACKETS=15]="ARRAY_BRACKETS",p[p.GENERIC=16]="GENERIC",p[p.NAME_PATH=17]="NAME_PATH",p[p.PARENTHESIS=18]="PARENTHESIS",p[p.SPECIAL_TYPES=19]="SPECIAL_TYPES"})(M||(M={}));let Y=class{constructor(w,k,z){this.grammar=w,typeof k=="string"?this._lexer=U.create(k):this._lexer=k,this.baseParser=z}get lexer(){return this._lexer}parse(){let w=this.parseType(M.ALL);if(this.lexer.current.type!=="EOF")throw new s(this.lexer.current);return w}parseType(w){return G(this.parseIntermediateType(w))}parseIntermediateType(w){let k=this.tryParslets(null,w);if(k===null)throw new a(this.lexer.current);return this.parseInfixIntermediateType(k,w)}parseInfixIntermediateType(w,k){let z=this.tryParslets(w,k);for(;z!==null;)w=z,z=this.tryParslets(w,k);return w}tryParslets(w,k){for(let z of this.grammar){let ee=z(this,k,w);if(ee!==null)return ee}return null}consume(w){return Array.isArray(w)||(w=[w]),w.includes(this.lexer.current.type)?(this._lexer=this.lexer.advance(),!0):!1}acceptLexerState(w){this._lexer=w.lexer}};b(Y,"Parser");let te=Y;function ne(p){return p==="EOF"||p==="|"||p===","||p===")"||p===">"}b(ne,"isQuestionMarkUnknownType");let re=b((p,w,k)=>{let z=p.lexer.current.type,ee=p.lexer.next.type;return k==null&&z==="?"&&!ne(ee)||k!=null&&z==="?"?(p.consume("?"),k==null?{type:"JsdocTypeNullable",element:p.parseType(M.NULLABLE),meta:{position:"prefix"}}:{type:"JsdocTypeNullable",element:G(k),meta:{position:"suffix"}}):null},"nullableParslet");function Z(p){let w=b((k,z,ee)=>{let oe=k.lexer.current.type,ie=k.lexer.next.type;if(ee===null){if("parsePrefix"in p&&p.accept(oe,ie))return p.parsePrefix(k)}else if("parseInfix"in p&&p.precedence>z&&p.accept(oe,ie))return p.parseInfix(k,ee);return null},"parslet");return Object.defineProperty(w,"name",{value:p.name}),w}b(Z,"composeParslet");let ae=Z({name:"optionalParslet",accept:b(p=>p==="=","accept"),precedence:M.OPTIONAL,parsePrefix:b(p=>(p.consume("="),{type:"JsdocTypeOptional",element:p.parseType(M.OPTIONAL),meta:{position:"prefix"}}),"parsePrefix"),parseInfix:b((p,w)=>(p.consume("="),{type:"JsdocTypeOptional",element:G(w),meta:{position:"suffix"}}),"parseInfix")}),le=Z({name:"numberParslet",accept:b(p=>p==="Number","accept"),parsePrefix:b(p=>{let w=parseFloat(p.lexer.current.text);return p.consume("Number"),{type:"JsdocTypeNumber",value:w}},"parsePrefix")}),Ee=Z({name:"parenthesisParslet",accept:b(p=>p==="(","accept"),parsePrefix:b(p=>{if(p.consume("("),p.consume(")"))return{type:"JsdocTypeParameterList",elements:[]};let w=p.parseIntermediateType(M.ALL);if(!p.consume(")"))throw new Error("Unterminated parenthesis");return w.type==="JsdocTypeParameterList"?w:w.type==="JsdocTypeKeyValue"?{type:"JsdocTypeParameterList",elements:[w]}:{type:"JsdocTypeParenthesis",element:G(w)}},"parsePrefix")}),pe=Z({name:"specialTypesParslet",accept:b((p,w)=>p==="?"&&ne(w)||p==="null"||p==="undefined"||p==="*","accept"),parsePrefix:b(p=>{if(p.consume("null"))return{type:"JsdocTypeNull"};if(p.consume("undefined"))return{type:"JsdocTypeUndefined"};if(p.consume("*"))return{type:"JsdocTypeAny"};if(p.consume("?"))return{type:"JsdocTypeUnknown"};throw new Error("Unacceptable token: "+p.lexer.current.text)},"parsePrefix")}),we=Z({name:"notNullableParslet",accept:b(p=>p==="!","accept"),precedence:M.NULLABLE,parsePrefix:b(p=>(p.consume("!"),{type:"JsdocTypeNotNullable",element:p.parseType(M.NULLABLE),meta:{position:"prefix"}}),"parsePrefix"),parseInfix:b((p,w)=>(p.consume("!"),{type:"JsdocTypeNotNullable",element:G(w),meta:{position:"suffix"}}),"parseInfix")});function Le({allowTrailingComma:p}){return Z({name:"parameterListParslet",accept:b(w=>w===",","accept"),precedence:M.PARAMETER_LIST,parseInfix:b((w,k)=>{let z=[X(k)];w.consume(",");do try{let ee=w.parseIntermediateType(M.PARAMETER_LIST);z.push(X(ee))}catch(ee){if(p&&ee instanceof a)break;throw ee}while(w.consume(","));if(z.length>0&&z.slice(0,-1).some(ee=>ee.type==="JsdocTypeVariadic"))throw new Error("Only the last parameter may be a rest parameter");return{type:"JsdocTypeParameterList",elements:z}},"parseInfix")})}b(Le,"createParameterListParslet");let Ve=Z({name:"genericParslet",accept:b((p,w)=>p==="<"||p==="."&&w==="<","accept"),precedence:M.GENERIC,parseInfix:b((p,w)=>{let k=p.consume(".");p.consume("<");let z=[];do z.push(p.parseType(M.PARAMETER_LIST));while(p.consume(","));if(!p.consume(">"))throw new Error("Unterminated generic parameter list");return{type:"JsdocTypeGeneric",left:G(w),elements:z,meta:{brackets:"angle",dot:k}}},"parseInfix")}),Ye=Z({name:"unionParslet",accept:b(p=>p==="|","accept"),precedence:M.UNION,parseInfix:b((p,w)=>{p.consume("|");let k=[];do k.push(p.parseType(M.UNION));while(p.consume("|"));return{type:"JsdocTypeUnion",elements:[G(w),...k]}},"parseInfix")}),fe=[re,ae,le,Ee,pe,we,Le({allowTrailingComma:!0}),Ve,Ye,ae];function Ie({allowSquareBracketsOnAnyType:p,allowJsdocNamePaths:w,pathGrammar:k}){return b(function(z,ee,oe){if(oe==null||ee>=M.NAME_PATH)return null;let ie=z.lexer.current.type,Te=z.lexer.next.type;if(!(ie==="."&&Te!=="<"||ie==="["&&(p||oe.type==="JsdocTypeName")||w&&(ie==="~"||ie==="#")))return null;let _e,He=!1;z.consume(".")?_e="property":z.consume("[")?(_e="property-brackets",He=!0):z.consume("~")?_e="inner":(z.consume("#"),_e="instance");let At=k!==null?new te(k,z.lexer,z):z,pt=At.parseIntermediateType(M.NAME_PATH);z.acceptLexerState(At);let hn;switch(pt.type){case"JsdocTypeName":hn={type:"JsdocTypeProperty",value:pt.value,meta:{quote:void 0}};break;case"JsdocTypeNumber":hn={type:"JsdocTypeProperty",value:pt.value.toString(10),meta:{quote:void 0}};break;case"JsdocTypeStringValue":hn={type:"JsdocTypeProperty",value:pt.value,meta:{quote:pt.meta.quote}};break;case"JsdocTypeSpecialNamePath":if(pt.specialType==="event")hn=pt;else throw new u(pt,"Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'");break;default:throw new u(pt,"Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'")}if(He&&!z.consume("]")){let Vl=z.lexer.current;throw new Error(`Unterminated square brackets. Next token is '${Vl.type}' with text '${Vl.text}'`)}return{type:"JsdocTypeNamePath",left:G(oe),right:hn,pathType:_e}},"namePathParslet")}b(Ie,"createNamePathParslet");function ye({allowedAdditionalTokens:p}){return Z({name:"nameParslet",accept:b(w=>w==="Identifier"||w==="this"||w==="new"||p.includes(w),"accept"),parsePrefix:b(w=>{let{type:k,text:z}=w.lexer.current;return w.consume(k),{type:"JsdocTypeName",value:z}},"parsePrefix")})}b(ye,"createNameParslet");let Re=Z({name:"stringValueParslet",accept:b(p=>p==="StringValue","accept"),parsePrefix:b(p=>{let w=p.lexer.current.text;return p.consume("StringValue"),{type:"JsdocTypeStringValue",value:w.slice(1,-1),meta:{quote:w[0]==="'"?"single":"double"}}},"parsePrefix")});function Ze({pathGrammar:p,allowedTypes:w}){return Z({name:"specialNamePathParslet",accept:b(k=>w.includes(k),"accept"),parsePrefix:b(k=>{let z=k.lexer.current.type;if(k.consume(z),!k.consume(":"))return{type:"JsdocTypeName",value:z};let ee,oe=k.lexer.current;if(k.consume("StringValue"))ee={type:"JsdocTypeSpecialNamePath",value:oe.text.slice(1,-1),specialType:z,meta:{quote:oe.text[0]==="'"?"single":"double"}};else{let _e="",He=["Identifier","@","/"];for(;He.some(At=>k.consume(At));)_e+=oe.text,oe=k.lexer.current;ee={type:"JsdocTypeSpecialNamePath",value:_e,specialType:z,meta:{quote:void 0}}}let ie=new te(p,k.lexer,k),Te=ie.parseInfixIntermediateType(ee,M.ALL);return k.acceptLexerState(ie),G(Te)},"parsePrefix")})}b(Ze,"createSpecialNamePathParslet");let qe=[ye({allowedAdditionalTokens:["external","module"]}),Re,le,Ie({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],ce=[...qe,Ze({allowedTypes:["event"],pathGrammar:qe})];function Se(p){let w;if(p.type==="JsdocTypeParameterList")w=p.elements;else if(p.type==="JsdocTypeParenthesis")w=[p.element];else throw new u(p);return w.map(k=>X(k))}b(Se,"getParameters");function Ft(p){let w=Se(p);if(w.some(k=>k.type==="JsdocTypeKeyValue"))throw new Error("No parameter should be named");return w}b(Ft,"getUnnamedParameters");function ft({allowNamedParameters:p,allowNoReturnType:w,allowWithoutParenthesis:k,allowNewAsFunctionKeyword:z}){return Z({name:"functionParslet",accept:b((ee,oe)=>ee==="function"||z&&ee==="new"&&oe==="(","accept"),parsePrefix:b(ee=>{let oe=ee.consume("new");ee.consume("function");let ie=ee.lexer.current.type==="(";if(!ie){if(!k)throw new Error("function is missing parameter list");return{type:"JsdocTypeName",value:"function"}}let Te={type:"JsdocTypeFunction",parameters:[],arrow:!1,constructor:oe,parenthesis:ie},_e=ee.parseIntermediateType(M.FUNCTION);if(p===void 0)Te.parameters=Ft(_e);else{if(oe&&_e.type==="JsdocTypeFunction"&&_e.arrow)return Te=_e,Te.constructor=!0,Te;Te.parameters=Se(_e);for(let He of Te.parameters)if(He.type==="JsdocTypeKeyValue"&&!p.includes(He.key))throw new Error(`only allowed named parameters are ${p.join(", ")} but got ${He.type}`)}if(ee.consume(":"))Te.returnType=ee.parseType(M.PREFIX);else if(!w)throw new Error("function is missing return type");return Te},"parsePrefix")})}b(ft,"createFunctionParslet");function wt({allowPostfix:p,allowEnclosingBrackets:w}){return Z({name:"variadicParslet",accept:b(k=>k==="...","accept"),precedence:M.PREFIX,parsePrefix:b(k=>{k.consume("...");let z=w&&k.consume("[");try{let ee=k.parseType(M.PREFIX);if(z&&!k.consume("]"))throw new Error("Unterminated variadic type. Missing ']'");return{type:"JsdocTypeVariadic",element:G(ee),meta:{position:"prefix",squareBrackets:z}}}catch(ee){if(ee instanceof a){if(z)throw new Error("Empty square brackets for variadic are not allowed.");return{type:"JsdocTypeVariadic",meta:{position:void 0,squareBrackets:!1}}}else throw ee}},"parsePrefix"),parseInfix:p?(k,z)=>(k.consume("..."),{type:"JsdocTypeVariadic",element:G(z),meta:{position:"suffix",squareBrackets:!1}}):void 0})}b(wt,"createVariadicParslet");let an=Z({name:"symbolParslet",accept:b(p=>p==="(","accept"),precedence:M.SYMBOL,parseInfix:b((p,w)=>{if(w.type!=="JsdocTypeName")throw new Error("Symbol expects a name on the left side. (Reacting on '(')");p.consume("(");let k={type:"JsdocTypeSymbol",value:w.value};if(!p.consume(")")){let z=p.parseIntermediateType(M.SYMBOL);if(k.element=R(z),!p.consume(")"))throw new Error("Symbol does not end after value")}return k},"parseInfix")}),sn=Z({name:"arrayBracketsParslet",precedence:M.ARRAY_BRACKETS,accept:b((p,w)=>p==="["&&w==="]","accept"),parseInfix:b((p,w)=>(p.consume("["),p.consume("]"),{type:"JsdocTypeGeneric",left:{type:"JsdocTypeName",value:"Array"},elements:[G(w)],meta:{brackets:"square",dot:!1}}),"parseInfix")});function Kt({objectFieldGrammar:p,allowKeyTypes:w}){return Z({name:"objectParslet",accept:b(k=>k==="{","accept"),parsePrefix:b(k=>{k.consume("{");let z={type:"JsdocTypeObject",meta:{separator:"comma"},elements:[]};if(!k.consume("}")){let ee,oe=new te(p,k.lexer,k);for(;;){oe.acceptLexerState(k);let ie=oe.parseIntermediateType(M.OBJECT);k.acceptLexerState(oe),ie===void 0&&w&&(ie=k.parseIntermediateType(M.OBJECT));let Te=!1;if(ie.type==="JsdocTypeNullable"&&(Te=!0,ie=ie.element),ie.type==="JsdocTypeNumber"||ie.type==="JsdocTypeName"||ie.type==="JsdocTypeStringValue"){let _e;ie.type==="JsdocTypeStringValue"&&(_e=ie.meta.quote),z.elements.push({type:"JsdocTypeObjectField",key:ie.value.toString(),right:void 0,optional:Te,readonly:!1,meta:{quote:_e}})}else if(ie.type==="JsdocTypeObjectField"||ie.type==="JsdocTypeJsdocObjectField")z.elements.push(ie);else throw new u(ie);if(k.lexer.current.startOfLine)ee="linebreak";else if(k.consume(","))ee="comma";else if(k.consume(";"))ee="semicolon";else break;if(k.lexer.current.type==="}")break}if(z.meta.separator=ee??"comma",!k.consume("}"))throw new Error("Unterminated record type. Missing '}'")}return z},"parsePrefix")})}b(Kt,"createObjectParslet");function Yt({allowSquaredProperties:p,allowKeyTypes:w,allowReadonly:k,allowOptional:z}){return Z({name:"objectFieldParslet",precedence:M.KEY_VALUE,accept:b(ee=>ee===":","accept"),parseInfix:b((ee,oe)=>{var ie;let Te=!1,_e=!1;z&&oe.type==="JsdocTypeNullable"&&(Te=!0,oe=oe.element),k&&oe.type==="JsdocTypeReadonlyProperty"&&(_e=!0,oe=oe.element);let He=(ie=ee.baseParser)!==null&&ie!==void 0?ie:ee;if(He.acceptLexerState(ee),oe.type==="JsdocTypeNumber"||oe.type==="JsdocTypeName"||oe.type==="JsdocTypeStringValue"||q(oe)){if(q(oe)&&!p)throw new u(oe);He.consume(":");let At;oe.type==="JsdocTypeStringValue"&&(At=oe.meta.quote);let pt=He.parseType(M.KEY_VALUE);return ee.acceptLexerState(He),{type:"JsdocTypeObjectField",key:q(oe)?oe:oe.value.toString(),right:pt,optional:Te,readonly:_e,meta:{quote:At}}}else{if(!w)throw new u(oe);He.consume(":");let At=He.parseType(M.KEY_VALUE);return ee.acceptLexerState(He),{type:"JsdocTypeJsdocObjectField",left:G(oe),right:At}}},"parseInfix")})}b(Yt,"createObjectFieldParslet");function Xt({allowOptional:p,allowVariadic:w}){return Z({name:"keyValueParslet",precedence:M.KEY_VALUE,accept:b(k=>k===":","accept"),parseInfix:b((k,z)=>{let ee=!1,oe=!1;if(p&&z.type==="JsdocTypeNullable"&&(ee=!0,z=z.element),w&&z.type==="JsdocTypeVariadic"&&z.element!==void 0&&(oe=!0,z=z.element),z.type!=="JsdocTypeName")throw new u(z);k.consume(":");let ie=k.parseType(M.KEY_VALUE);return{type:"JsdocTypeKeyValue",key:z.value,right:ie,optional:ee,variadic:oe}},"parseInfix")})}b(Xt,"createKeyValueParslet");let xr=[...fe,ft({allowWithoutParenthesis:!0,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),Re,Ze({allowedTypes:["module","external","event"],pathGrammar:ce}),wt({allowEnclosingBrackets:!0,allowPostfix:!0}),ye({allowedAdditionalTokens:["keyof"]}),an,sn,Ie({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:ce})],ro=[...xr,Kt({objectFieldGrammar:[ye({allowedAdditionalTokens:["module","in"]}),Yt({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...xr],allowKeyTypes:!0}),Xt({allowOptional:!0,allowVariadic:!0})],St=Z({name:"typeOfParslet",accept:b(p=>p==="typeof","accept"),parsePrefix:b(p=>(p.consume("typeof"),{type:"JsdocTypeTypeof",element:G(p.parseType(M.KEY_OF_TYPE_OF))}),"parsePrefix")}),Er=[ye({allowedAdditionalTokens:["module","keyof","event","external","in"]}),re,ae,Re,le,Yt({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],ln=[...fe,Kt({allowKeyTypes:!1,objectFieldGrammar:Er}),ye({allowedAdditionalTokens:["event","external","in"]}),St,ft({allowWithoutParenthesis:!1,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),wt({allowEnclosingBrackets:!1,allowPostfix:!1}),ye({allowedAdditionalTokens:["keyof"]}),Ze({allowedTypes:["module"],pathGrammar:ce}),Ie({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:ce}),Xt({allowOptional:!1,allowVariadic:!1}),an];function un({allowQuestionMark:p}){return Z({name:"tupleParslet",accept:b(w=>w==="[","accept"),parsePrefix:b(w=>{w.consume("[");let k={type:"JsdocTypeTuple",elements:[]};if(w.consume("]"))return k;let z=w.parseIntermediateType(M.ALL);if(z.type==="JsdocTypeParameterList"?z.elements[0].type==="JsdocTypeKeyValue"?k.elements=z.elements.map(V):k.elements=z.elements.map(G):z.type==="JsdocTypeKeyValue"?k.elements=[V(z)]:k.elements=[G(z)],!w.consume("]"))throw new Error("Unterminated '['");if(!p&&k.elements.some(ee=>ee.type==="JsdocTypeUnknown"))throw new Error("Question mark in tuple not allowed");return k},"parsePrefix")})}b(un,"createTupleParslet");let no=Z({name:"keyOfParslet",accept:b(p=>p==="keyof","accept"),parsePrefix:b(p=>(p.consume("keyof"),{type:"JsdocTypeKeyof",element:G(p.parseType(M.KEY_OF_TYPE_OF))}),"parsePrefix")}),wr=Z({name:"importParslet",accept:b(p=>p==="import","accept"),parsePrefix:b(p=>{if(p.consume("import"),!p.consume("("))throw new Error("Missing parenthesis after import keyword");let w=p.parseType(M.PREFIX);if(w.type!=="JsdocTypeStringValue")throw new Error("Only string values are allowed as paths for imports");if(!p.consume(")"))throw new Error("Missing closing parenthesis after import keyword");return{type:"JsdocTypeImport",element:w}},"parsePrefix")}),Qt=Z({name:"readonlyPropertyParslet",accept:b(p=>p==="readonly","accept"),parsePrefix:b(p=>(p.consume("readonly"),{type:"JsdocTypeReadonlyProperty",element:p.parseType(M.KEY_VALUE)}),"parsePrefix")}),$=Z({name:"arrowFunctionParslet",precedence:M.ARROW,accept:b(p=>p==="=>","accept"),parseInfix:b((p,w)=>(p.consume("=>"),{type:"JsdocTypeFunction",parameters:Se(w).map(Q),arrow:!0,constructor:!1,parenthesis:!0,returnType:p.parseType(M.OBJECT)}),"parseInfix")}),H=Z({name:"intersectionParslet",accept:b(p=>p==="&","accept"),precedence:M.INTERSECTION,parseInfix:b((p,w)=>{p.consume("&");let k=[];do k.push(p.parseType(M.INTERSECTION));while(p.consume("&"));return{type:"JsdocTypeIntersection",elements:[G(w),...k]}},"parseInfix")}),ue=Z({name:"predicateParslet",precedence:M.INFIX,accept:b(p=>p==="is","accept"),parseInfix:b((p,w)=>{if(w.type!=="JsdocTypeName")throw new u(w,"A typescript predicate always has to have a name on the left side.");return p.consume("is"),{type:"JsdocTypePredicate",left:w,right:G(p.parseIntermediateType(M.INFIX))}},"parseInfix")}),de=Z({name:"objectSquareBracketPropertyParslet",accept:b(p=>p==="[","accept"),parsePrefix:b(p=>{if(p.baseParser===void 0)throw new Error("Only allowed inside object grammar");p.consume("[");let w=p.lexer.current.text;p.consume("Identifier");let k;if(p.consume(":")){let z=p.baseParser;z.acceptLexerState(p),k={type:"JsdocTypeIndexSignature",key:w,right:z.parseType(M.ARRAY_BRACKETS)},p.acceptLexerState(z)}else if(p.consume("in")){let z=p.baseParser;z.acceptLexerState(p),k={type:"JsdocTypeMappedType",key:w,right:z.parseType(M.ARRAY_BRACKETS)},p.acceptLexerState(z)}else throw new Error("Missing ':' or 'in' inside square bracketed property.");if(!p.consume("]"))throw new Error("Unterminated square brackets");return k},"parsePrefix")}),Ae=[Qt,ye({allowedAdditionalTokens:["module","event","keyof","event","external","in"]}),re,ae,Re,le,Yt({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),de],se=[...fe,Kt({allowKeyTypes:!1,objectFieldGrammar:Ae}),St,no,wr,Re,ft({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:["this","new","args"],allowNewAsFunctionKeyword:!0}),un({allowQuestionMark:!1}),wt({allowEnclosingBrackets:!1,allowPostfix:!1}),ye({allowedAdditionalTokens:["event","external","in"]}),Ze({allowedTypes:["module"],pathGrammar:ce}),sn,$,Ie({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:ce}),H,ue,Xt({allowVariadic:!0,allowOptional:!0})];function ot(p,w){switch(w){case"closure":return new te(ln,p).parse();case"jsdoc":return new te(ro,p).parse();case"typescript":return new te(se,p).parse()}}b(ot,"parse");function yt(p,w=["typescript","closure","jsdoc"]){let k;for(let z of w)try{return ot(p,z)}catch(ee){k=ee}throw k}b(yt,"tryParse");function ke(p,w){let k=p[w.type];if(k===void 0)throw new Error(`In this set of transform rules exists no rule for type ${w.type}.`);return k(w,z=>ke(p,z))}b(ke,"transform");function xe(p){throw new Error("This transform is not available. Are you trying the correct parsing mode?")}b(xe,"notAvailableTransform");function Zt(p){let w={params:[]};for(let k of p.parameters)k.type==="JsdocTypeKeyValue"?k.key==="this"?w.this=k.right:k.key==="new"?w.new=k.right:w.params.push(k):w.params.push(k);return w}b(Zt,"extractSpecialParams");function at(p,w,k){return p==="prefix"?k+w:w+k}b(at,"applyPosition");function Ce(p,w){switch(w){case"double":return`"${p}"`;case"single":return`'${p}'`;case void 0:return p}}b(Ce,"quote");function Sr(){return{JsdocTypeParenthesis:b((p,w)=>`(${p.element!==void 0?w(p.element):""})`,"JsdocTypeParenthesis"),JsdocTypeKeyof:b((p,w)=>`keyof ${w(p.element)}`,"JsdocTypeKeyof"),JsdocTypeFunction:b((p,w)=>{if(p.arrow){if(p.returnType===void 0)throw new Error("Arrow function needs a return type.");let k=`(${p.parameters.map(w).join(", ")}) => ${w(p.returnType)}`;return p.constructor&&(k="new "+k),k}else{let k=p.constructor?"new":"function";return p.parenthesis&&(k+=`(${p.parameters.map(w).join(", ")})`,p.returnType!==void 0&&(k+=`: ${w(p.returnType)}`)),k}},"JsdocTypeFunction"),JsdocTypeName:b(p=>p.value,"JsdocTypeName"),JsdocTypeTuple:b((p,w)=>`[${p.elements.map(w).join(", ")}]`,"JsdocTypeTuple"),JsdocTypeVariadic:b((p,w)=>p.meta.position===void 0?"...":at(p.meta.position,w(p.element),"..."),"JsdocTypeVariadic"),JsdocTypeNamePath:b((p,w)=>{let k=w(p.left),z=w(p.right);switch(p.pathType){case"inner":return`${k}~${z}`;case"instance":return`${k}#${z}`;case"property":return`${k}.${z}`;case"property-brackets":return`${k}[${z}]`}},"JsdocTypeNamePath"),JsdocTypeStringValue:b(p=>Ce(p.value,p.meta.quote),"JsdocTypeStringValue"),JsdocTypeAny:b(()=>"*","JsdocTypeAny"),JsdocTypeGeneric:b((p,w)=>{if(p.meta.brackets==="square"){let k=p.elements[0],z=w(k);return k.type==="JsdocTypeUnion"||k.type==="JsdocTypeIntersection"?`(${z})[]`:`${z}[]`}else return`${w(p.left)}${p.meta.dot?".":""}<${p.elements.map(w).join(", ")}>`},"JsdocTypeGeneric"),JsdocTypeImport:b((p,w)=>`import(${w(p.element)})`,"JsdocTypeImport"),JsdocTypeObjectField:b((p,w)=>{let k="";return p.readonly&&(k+="readonly "),typeof p.key=="string"?k+=Ce(p.key,p.meta.quote):k+=w(p.key),p.optional&&(k+="?"),p.right===void 0?k:k+`: ${w(p.right)}`},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:b((p,w)=>`${w(p.left)}: ${w(p.right)}`,"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:b((p,w)=>{let k=p.key;return p.optional&&(k+="?"),p.variadic&&(k="..."+k),p.right===void 0?k:k+`: ${w(p.right)}`},"JsdocTypeKeyValue"),JsdocTypeSpecialNamePath:b(p=>`${p.specialType}:${Ce(p.value,p.meta.quote)}`,"JsdocTypeSpecialNamePath"),JsdocTypeNotNullable:b((p,w)=>at(p.meta.position,w(p.element),"!"),"JsdocTypeNotNullable"),JsdocTypeNull:b(()=>"null","JsdocTypeNull"),JsdocTypeNullable:b((p,w)=>at(p.meta.position,w(p.element),"?"),"JsdocTypeNullable"),JsdocTypeNumber:b(p=>p.value.toString(),"JsdocTypeNumber"),JsdocTypeObject:b((p,w)=>`{${p.elements.map(w).join((p.meta.separator==="comma"?",":";")+" ")}}`,"JsdocTypeObject"),JsdocTypeOptional:b((p,w)=>at(p.meta.position,w(p.element),"="),"JsdocTypeOptional"),JsdocTypeSymbol:b((p,w)=>`${p.value}(${p.element!==void 0?w(p.element):""})`,"JsdocTypeSymbol"),JsdocTypeTypeof:b((p,w)=>`typeof ${w(p.element)}`,"JsdocTypeTypeof"),JsdocTypeUndefined:b(()=>"undefined","JsdocTypeUndefined"),JsdocTypeUnion:b((p,w)=>p.elements.map(w).join(" | "),"JsdocTypeUnion"),JsdocTypeUnknown:b(()=>"?","JsdocTypeUnknown"),JsdocTypeIntersection:b((p,w)=>p.elements.map(w).join(" & "),"JsdocTypeIntersection"),JsdocTypeProperty:b(p=>Ce(p.value,p.meta.quote),"JsdocTypeProperty"),JsdocTypePredicate:b((p,w)=>`${w(p.left)} is ${w(p.right)}`,"JsdocTypePredicate"),JsdocTypeIndexSignature:b((p,w)=>`[${p.key}: ${w(p.right)}]`,"JsdocTypeIndexSignature"),JsdocTypeMappedType:b((p,w)=>`[${p.key} in ${w(p.right)}]`,"JsdocTypeMappedType")}}b(Sr,"stringifyRules");let oo=Sr();function cn(p){return ke(oo,p)}b(cn,"stringify");let er=["null","true","false","break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield"];function nt(p){let w={type:"NameExpression",name:p};return er.includes(p)&&(w.reservedWord=!0),w}b(nt,"makeName");let Ar={JsdocTypeOptional:b((p,w)=>{let k=w(p.element);return k.optional=!0,k},"JsdocTypeOptional"),JsdocTypeNullable:b((p,w)=>{let k=w(p.element);return k.nullable=!0,k},"JsdocTypeNullable"),JsdocTypeNotNullable:b((p,w)=>{let k=w(p.element);return k.nullable=!1,k},"JsdocTypeNotNullable"),JsdocTypeVariadic:b((p,w)=>{if(p.element===void 0)throw new Error("dots without value are not allowed in catharsis mode");let k=w(p.element);return k.repeatable=!0,k},"JsdocTypeVariadic"),JsdocTypeAny:b(()=>({type:"AllLiteral"}),"JsdocTypeAny"),JsdocTypeNull:b(()=>({type:"NullLiteral"}),"JsdocTypeNull"),JsdocTypeStringValue:b(p=>nt(Ce(p.value,p.meta.quote)),"JsdocTypeStringValue"),JsdocTypeUndefined:b(()=>({type:"UndefinedLiteral"}),"JsdocTypeUndefined"),JsdocTypeUnknown:b(()=>({type:"UnknownLiteral"}),"JsdocTypeUnknown"),JsdocTypeFunction:b((p,w)=>{let k=Zt(p),z={type:"FunctionType",params:k.params.map(w)};return k.this!==void 0&&(z.this=w(k.this)),k.new!==void 0&&(z.new=w(k.new)),p.returnType!==void 0&&(z.result=w(p.returnType)),z},"JsdocTypeFunction"),JsdocTypeGeneric:b((p,w)=>({type:"TypeApplication",applications:p.elements.map(k=>w(k)),expression:w(p.left)}),"JsdocTypeGeneric"),JsdocTypeSpecialNamePath:b(p=>nt(p.specialType+":"+Ce(p.value,p.meta.quote)),"JsdocTypeSpecialNamePath"),JsdocTypeName:b(p=>p.value!=="function"?nt(p.value):{type:"FunctionType",params:[]},"JsdocTypeName"),JsdocTypeNumber:b(p=>nt(p.value.toString()),"JsdocTypeNumber"),JsdocTypeObject:b((p,w)=>{let k={type:"RecordType",fields:[]};for(let z of p.elements)z.type!=="JsdocTypeObjectField"&&z.type!=="JsdocTypeJsdocObjectField"?k.fields.push({type:"FieldType",key:w(z),value:void 0}):k.fields.push(w(z));return k},"JsdocTypeObject"),JsdocTypeObjectField:b((p,w)=>{if(typeof p.key!="string")throw new Error("Index signatures and mapped types are not supported");return{type:"FieldType",key:nt(Ce(p.key,p.meta.quote)),value:p.right===void 0?void 0:w(p.right)}},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:b((p,w)=>({type:"FieldType",key:w(p.left),value:w(p.right)}),"JsdocTypeJsdocObjectField"),JsdocTypeUnion:b((p,w)=>({type:"TypeUnion",elements:p.elements.map(k=>w(k))}),"JsdocTypeUnion"),JsdocTypeKeyValue:b((p,w)=>({type:"FieldType",key:nt(p.key),value:p.right===void 0?void 0:w(p.right)}),"JsdocTypeKeyValue"),JsdocTypeNamePath:b((p,w)=>{let k=w(p.left),z;p.right.type==="JsdocTypeSpecialNamePath"?z=w(p.right).name:z=Ce(p.right.value,p.right.meta.quote);let ee=p.pathType==="inner"?"~":p.pathType==="instance"?"#":".";return nt(`${k.name}${ee}${z}`)},"JsdocTypeNamePath"),JsdocTypeSymbol:b(p=>{let w="",k=p.element,z=!1;return k?.type==="JsdocTypeVariadic"&&(k.meta.position==="prefix"?w="...":z=!0,k=k.element),k?.type==="JsdocTypeName"?w+=k.value:k?.type==="JsdocTypeNumber"&&(w+=k.value.toString()),z&&(w+="..."),nt(`${p.value}(${w})`)},"JsdocTypeSymbol"),JsdocTypeParenthesis:b((p,w)=>w(G(p.element)),"JsdocTypeParenthesis"),JsdocTypeMappedType:xe,JsdocTypeIndexSignature:xe,JsdocTypeImport:xe,JsdocTypeKeyof:xe,JsdocTypeTuple:xe,JsdocTypeTypeof:xe,JsdocTypeIntersection:xe,JsdocTypeProperty:xe,JsdocTypePredicate:xe};function Tr(p){return ke(Ar,p)}b(Tr,"catharsisTransform");function it(p){switch(p){case void 0:return"none";case"single":return"single";case"double":return"double"}}b(it,"getQuoteStyle");function pn(p){switch(p){case"inner":return"INNER_MEMBER";case"instance":return"INSTANCE_MEMBER";case"property":return"MEMBER";case"property-brackets":return"MEMBER"}}b(pn,"getMemberType");function tr(p,w){return w.length===2?{type:p,left:w[0],right:w[1]}:{type:p,left:w[0],right:tr(p,w.slice(1))}}b(tr,"nestResults");let dn={JsdocTypeOptional:b((p,w)=>({type:"OPTIONAL",value:w(p.element),meta:{syntax:p.meta.position==="prefix"?"PREFIX_EQUAL_SIGN":"SUFFIX_EQUALS_SIGN"}}),"JsdocTypeOptional"),JsdocTypeNullable:b((p,w)=>({type:"NULLABLE",value:w(p.element),meta:{syntax:p.meta.position==="prefix"?"PREFIX_QUESTION_MARK":"SUFFIX_QUESTION_MARK"}}),"JsdocTypeNullable"),JsdocTypeNotNullable:b((p,w)=>({type:"NOT_NULLABLE",value:w(p.element),meta:{syntax:p.meta.position==="prefix"?"PREFIX_BANG":"SUFFIX_BANG"}}),"JsdocTypeNotNullable"),JsdocTypeVariadic:b((p,w)=>{let k={type:"VARIADIC",meta:{syntax:p.meta.position==="prefix"?"PREFIX_DOTS":p.meta.position==="suffix"?"SUFFIX_DOTS":"ONLY_DOTS"}};return p.element!==void 0&&(k.value=w(p.element)),k},"JsdocTypeVariadic"),JsdocTypeName:b(p=>({type:"NAME",name:p.value}),"JsdocTypeName"),JsdocTypeTypeof:b((p,w)=>({type:"TYPE_QUERY",name:w(p.element)}),"JsdocTypeTypeof"),JsdocTypeTuple:b((p,w)=>({type:"TUPLE",entries:p.elements.map(w)}),"JsdocTypeTuple"),JsdocTypeKeyof:b((p,w)=>({type:"KEY_QUERY",value:w(p.element)}),"JsdocTypeKeyof"),JsdocTypeImport:b(p=>({type:"IMPORT",path:{type:"STRING_VALUE",quoteStyle:it(p.element.meta.quote),string:p.element.value}}),"JsdocTypeImport"),JsdocTypeUndefined:b(()=>({type:"NAME",name:"undefined"}),"JsdocTypeUndefined"),JsdocTypeAny:b(()=>({type:"ANY"}),"JsdocTypeAny"),JsdocTypeFunction:b((p,w)=>{let k=Zt(p),z={type:p.arrow?"ARROW":"FUNCTION",params:k.params.map(ee=>{if(ee.type==="JsdocTypeKeyValue"){if(ee.right===void 0)throw new Error("Function parameter without ':' is not expected to be 'KEY_VALUE'");return{type:"NAMED_PARAMETER",name:ee.key,typeName:w(ee.right)}}else return w(ee)}),new:null,returns:null};return k.this!==void 0?z.this=w(k.this):p.arrow||(z.this=null),k.new!==void 0&&(z.new=w(k.new)),p.returnType!==void 0&&(z.returns=w(p.returnType)),z},"JsdocTypeFunction"),JsdocTypeGeneric:b((p,w)=>{let k={type:"GENERIC",subject:w(p.left),objects:p.elements.map(w),meta:{syntax:p.meta.brackets==="square"?"SQUARE_BRACKET":p.meta.dot?"ANGLE_BRACKET_WITH_DOT":"ANGLE_BRACKET"}};return p.meta.brackets==="square"&&p.elements[0].type==="JsdocTypeFunction"&&!p.elements[0].parenthesis&&(k.objects[0]={type:"NAME",name:"function"}),k},"JsdocTypeGeneric"),JsdocTypeObjectField:b((p,w)=>{if(typeof p.key!="string")throw new Error("Index signatures and mapped types are not supported");if(p.right===void 0)return{type:"RECORD_ENTRY",key:p.key,quoteStyle:it(p.meta.quote),value:null,readonly:!1};let k=w(p.right);return p.optional&&(k={type:"OPTIONAL",value:k,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:p.key.toString(),quoteStyle:it(p.meta.quote),value:k,readonly:!1}},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:b(()=>{throw new Error("Keys may not be typed in jsdoctypeparser.")},"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:b((p,w)=>{if(p.right===void 0)return{type:"RECORD_ENTRY",key:p.key,quoteStyle:"none",value:null,readonly:!1};let k=w(p.right);return p.optional&&(k={type:"OPTIONAL",value:k,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:p.key,quoteStyle:"none",value:k,readonly:!1}},"JsdocTypeKeyValue"),JsdocTypeObject:b((p,w)=>{let k=[];for(let z of p.elements)(z.type==="JsdocTypeObjectField"||z.type==="JsdocTypeJsdocObjectField")&&k.push(w(z));return{type:"RECORD",entries:k}},"JsdocTypeObject"),JsdocTypeSpecialNamePath:b(p=>{if(p.specialType!=="module")throw new Error(`jsdoctypeparser does not support type ${p.specialType} at this point.`);return{type:"MODULE",value:{type:"FILE_PATH",quoteStyle:it(p.meta.quote),path:p.value}}},"JsdocTypeSpecialNamePath"),JsdocTypeNamePath:b((p,w)=>{let k=!1,z,ee;p.right.type==="JsdocTypeSpecialNamePath"&&p.right.specialType==="event"?(k=!0,z=p.right.value,ee=it(p.right.meta.quote)):(z=p.right.value,ee=it(p.right.meta.quote));let oe={type:pn(p.pathType),owner:w(p.left),name:z,quoteStyle:ee,hasEventPrefix:k};if(oe.owner.type==="MODULE"){let ie=oe.owner;return oe.owner=oe.owner.value,ie.value=oe,ie}else return oe},"JsdocTypeNamePath"),JsdocTypeUnion:b((p,w)=>tr("UNION",p.elements.map(w)),"JsdocTypeUnion"),JsdocTypeParenthesis:b((p,w)=>({type:"PARENTHESIS",value:w(G(p.element))}),"JsdocTypeParenthesis"),JsdocTypeNull:b(()=>({type:"NAME",name:"null"}),"JsdocTypeNull"),JsdocTypeUnknown:b(()=>({type:"UNKNOWN"}),"JsdocTypeUnknown"),JsdocTypeStringValue:b(p=>({type:"STRING_VALUE",quoteStyle:it(p.meta.quote),string:p.value}),"JsdocTypeStringValue"),JsdocTypeIntersection:b((p,w)=>tr("INTERSECTION",p.elements.map(w)),"JsdocTypeIntersection"),JsdocTypeNumber:b(p=>({type:"NUMBER_VALUE",number:p.value.toString()}),"JsdocTypeNumber"),JsdocTypeSymbol:xe,JsdocTypeProperty:xe,JsdocTypePredicate:xe,JsdocTypeMappedType:xe,JsdocTypeIndexSignature:xe};function fn(p){return ke(dn,p)}b(fn,"jtpTransform");function Cr(){return{JsdocTypeIntersection:b((p,w)=>({type:"JsdocTypeIntersection",elements:p.elements.map(w)}),"JsdocTypeIntersection"),JsdocTypeGeneric:b((p,w)=>({type:"JsdocTypeGeneric",left:w(p.left),elements:p.elements.map(w),meta:{dot:p.meta.dot,brackets:p.meta.brackets}}),"JsdocTypeGeneric"),JsdocTypeNullable:b(p=>p,"JsdocTypeNullable"),JsdocTypeUnion:b((p,w)=>({type:"JsdocTypeUnion",elements:p.elements.map(w)}),"JsdocTypeUnion"),JsdocTypeUnknown:b(p=>p,"JsdocTypeUnknown"),JsdocTypeUndefined:b(p=>p,"JsdocTypeUndefined"),JsdocTypeTypeof:b((p,w)=>({type:"JsdocTypeTypeof",element:w(p.element)}),"JsdocTypeTypeof"),JsdocTypeSymbol:b((p,w)=>{let k={type:"JsdocTypeSymbol",value:p.value};return p.element!==void 0&&(k.element=w(p.element)),k},"JsdocTypeSymbol"),JsdocTypeOptional:b((p,w)=>({type:"JsdocTypeOptional",element:w(p.element),meta:{position:p.meta.position}}),"JsdocTypeOptional"),JsdocTypeObject:b((p,w)=>({type:"JsdocTypeObject",meta:{separator:"comma"},elements:p.elements.map(w)}),"JsdocTypeObject"),JsdocTypeNumber:b(p=>p,"JsdocTypeNumber"),JsdocTypeNull:b(p=>p,"JsdocTypeNull"),JsdocTypeNotNullable:b((p,w)=>({type:"JsdocTypeNotNullable",element:w(p.element),meta:{position:p.meta.position}}),"JsdocTypeNotNullable"),JsdocTypeSpecialNamePath:b(p=>p,"JsdocTypeSpecialNamePath"),JsdocTypeObjectField:b((p,w)=>({type:"JsdocTypeObjectField",key:p.key,right:p.right===void 0?void 0:w(p.right),optional:p.optional,readonly:p.readonly,meta:p.meta}),"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:b((p,w)=>({type:"JsdocTypeJsdocObjectField",left:w(p.left),right:w(p.right)}),"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:b((p,w)=>({type:"JsdocTypeKeyValue",key:p.key,right:p.right===void 0?void 0:w(p.right),optional:p.optional,variadic:p.variadic}),"JsdocTypeKeyValue"),JsdocTypeImport:b((p,w)=>({type:"JsdocTypeImport",element:w(p.element)}),"JsdocTypeImport"),JsdocTypeAny:b(p=>p,"JsdocTypeAny"),JsdocTypeStringValue:b(p=>p,"JsdocTypeStringValue"),JsdocTypeNamePath:b(p=>p,"JsdocTypeNamePath"),JsdocTypeVariadic:b((p,w)=>{let k={type:"JsdocTypeVariadic",meta:{position:p.meta.position,squareBrackets:p.meta.squareBrackets}};return p.element!==void 0&&(k.element=w(p.element)),k},"JsdocTypeVariadic"),JsdocTypeTuple:b((p,w)=>({type:"JsdocTypeTuple",elements:p.elements.map(w)}),"JsdocTypeTuple"),JsdocTypeName:b(p=>p,"JsdocTypeName"),JsdocTypeFunction:b((p,w)=>{let k={type:"JsdocTypeFunction",arrow:p.arrow,parameters:p.parameters.map(w),constructor:p.constructor,parenthesis:p.parenthesis};return p.returnType!==void 0&&(k.returnType=w(p.returnType)),k},"JsdocTypeFunction"),JsdocTypeKeyof:b((p,w)=>({type:"JsdocTypeKeyof",element:w(p.element)}),"JsdocTypeKeyof"),JsdocTypeParenthesis:b((p,w)=>({type:"JsdocTypeParenthesis",element:w(p.element)}),"JsdocTypeParenthesis"),JsdocTypeProperty:b(p=>p,"JsdocTypeProperty"),JsdocTypePredicate:b((p,w)=>({type:"JsdocTypePredicate",left:w(p.left),right:w(p.right)}),"JsdocTypePredicate"),JsdocTypeIndexSignature:b((p,w)=>({type:"JsdocTypeIndexSignature",key:p.key,right:w(p.right)}),"JsdocTypeIndexSignature"),JsdocTypeMappedType:b((p,w)=>({type:"JsdocTypeMappedType",key:p.key,right:w(p.right)}),"JsdocTypeMappedType")}}b(Cr,"identityTransformRules");let yn={JsdocTypeAny:[],JsdocTypeFunction:["parameters","returnType"],JsdocTypeGeneric:["left","elements"],JsdocTypeImport:[],JsdocTypeIndexSignature:["right"],JsdocTypeIntersection:["elements"],JsdocTypeKeyof:["element"],JsdocTypeKeyValue:["right"],JsdocTypeMappedType:["right"],JsdocTypeName:[],JsdocTypeNamePath:["left","right"],JsdocTypeNotNullable:["element"],JsdocTypeNull:[],JsdocTypeNullable:["element"],JsdocTypeNumber:[],JsdocTypeObject:["elements"],JsdocTypeObjectField:["right"],JsdocTypeJsdocObjectField:["left","right"],JsdocTypeOptional:["element"],JsdocTypeParenthesis:["element"],JsdocTypeSpecialNamePath:[],JsdocTypeStringValue:[],JsdocTypeSymbol:["element"],JsdocTypeTuple:["elements"],JsdocTypeTypeof:["element"],JsdocTypeUndefined:[],JsdocTypeUnion:["elements"],JsdocTypeUnknown:[],JsdocTypeVariadic:["element"],JsdocTypeProperty:[],JsdocTypePredicate:["left","right"]};function _r(p,w,k,z,ee){z?.(p,w,k);let oe=yn[p.type];for(let ie of oe){let Te=p[ie];if(Te!==void 0)if(Array.isArray(Te))for(let _e of Te)_r(_e,p,ie,z,ee);else _r(Te,p,ie,z,ee)}ee?.(p,w,k)}b(_r,"_traverse");function Or(p,w,k){_r(p,void 0,void 0,w,k)}b(Or,"traverse"),r.catharsisTransform=Tr,r.identityTransformRules=Cr,r.jtpTransform=fn,r.parse=ot,r.stringify=cn,r.stringifyRules=Sr,r.transform=ke,r.traverse=Or,r.tryParse=yt,r.visitorKeys=yn})}),kb=/^['"]|['"]$/g,nj=b(e=>e.replace(kb,""),"trimQuotes"),oj=b(e=>kb.test(e),"includesQuotes"),Rb=b(e=>{let t=nj(e);return oj(e)||Number.isNaN(Number(t))?t:Number(t)},"parseLiteral"),aj=b(e=>{switch(e.type){case"function":return{name:"function"};case"object":let t={};return e.signature.properties.forEach(r=>{t[r.key]=zn(r.value)}),{name:"object",value:t};default:throw new Uo({type:e,language:"Typescript"})}},"convertSig"),zn=b(e=>{let{name:t,raw:r}=e,n={};switch(typeof r<"u"&&(n.raw=r),e.name){case"string":case"number":case"symbol":case"boolean":return{...n,name:t};case"Array":return{...n,name:"array",value:e.elements.map(zn)};case"signature":return{...n,...aj(e)};case"union":let o;return e.elements?.every(a=>a.name==="literal")?o={...n,name:"enum",value:e.elements?.map(a=>Rb(a.value))}:o={...n,name:t,value:e.elements?.map(zn)},o;case"intersection":return{...n,name:t,value:e.elements?.map(zn)};default:return{...n,name:"other",value:t}}},"convert"),ij=b(e=>e.name==="literal","isLiteral"),sj=b(e=>e.value.replace(/['|"]/g,""),"toEnumOption"),lj=b(e=>{switch(e.type){case"function":return{name:"function"};case"object":let t={};return e.signature.properties.forEach(r=>{t[r.key]=Vn(r.value)}),{name:"object",value:t};default:throw new Uo({type:e,language:"Flow"})}},"convertSig"),Vn=b(e=>{let{name:t,raw:r}=e,n={};switch(typeof r<"u"&&(n.raw=r),e.name){case"literal":return{...n,name:"other",value:e.value};case"string":case"number":case"symbol":case"boolean":return{...n,name:t};case"Array":return{...n,name:"array",value:e.elements.map(Vn)};case"signature":return{...n,...lj(e)};case"union":return e.elements?.every(ij)?{...n,name:"enum",value:e.elements?.map(sj)}:{...n,name:t,value:e.elements?.map(Vn)};case"intersection":return{...n,name:t,value:e.elements?.map(Vn)};default:return{...n,name:"other",value:t}}},"convert"),uj=db(tj(),1),cj=/^\(.*\) => /,$n=b(e=>{let{name:t,raw:r,computed:n,value:o}=e,a={};switch(typeof r<"u"&&(a.raw=r),t){case"enum":{let s=n?o:o.map(l=>Rb(l.value));return{...a,name:t,value:s}}case"string":case"number":case"symbol":return{...a,name:t};case"func":return{...a,name:"function"};case"bool":case"boolean":return{...a,name:"boolean"};case"arrayOf":case"array":return{...a,name:"array",value:o&&$n(o)};case"object":return{...a,name:t};case"objectOf":return{...a,name:t,value:$n(o)};case"shape":case"exact":let i=(0,uj.default)(o,s=>$n(s));return{...a,name:"object",value:i};case"union":return{...a,name:"union",value:o.map(s=>$n(s))};case"instanceOf":case"element":case"elementType":default:{if(t?.indexOf("|")>0)try{let u=t.split("|").map(c=>JSON.parse(c));return{...a,name:"enum",value:u}}catch{}let s=o?`${t}(${o})`:t,l=cj.test(t)?"function":"other";return{...a,name:l,value:s}}}},"convert"),Ws=b(e=>{let{type:t,tsType:r,flowType:n}=e;try{if(t!=null)return $n(t);if(r!=null)return zn(r);if(n!=null)return Vn(n)}catch(o){console.error(o)}return null},"convert"),pj=(e=>(e.JAVASCRIPT="JavaScript",e.FLOW="Flow",e.TYPESCRIPT="TypeScript",e.UNKNOWN="Unknown",e))(pj||{}),dj=["null","undefined"];function fa(e){return dj.some(t=>t===e)}b(fa,"isDefaultValueBlacklisted");var fj=b(e=>{if(!e)return"";if(typeof e=="string")return e;throw new Error(`Description: expected string, got: ${JSON.stringify(e)}`)},"str");function Ks(e){return!!e.__docgenInfo}b(Ks,"hasDocgen");function Db(e){return e!=null&&Object.keys(e).length>0}b(Db,"isValidDocgenSection");function Fb(e,t){return Ks(e)?e.__docgenInfo[t]:null}b(Fb,"getDocgenSection");function jb(e){return Ks(e)?fj(e.__docgenInfo.description):""}b(jb,"getDocgenDescription");var $t;(function(e){e.start="/**",e.nostart="/***",e.delim="*",e.end="*/"})($t=$t||($t={}));function Nb(e){return/^\s+$/.test(e)}b(Nb,"isSpace");function Bb(e){let t=e.match(/\r+$/);return t==null?["",e]:[e.slice(-t[0].length),e.slice(0,-t[0].length)]}b(Bb,"splitCR");function fr(e){let t=e.match(/^\s+/);return t==null?["",e]:[e.slice(0,t[0].length),e.slice(t[0].length)]}b(fr,"splitSpace");function Lb(e){return e.split(/\n/)}b(Lb,"splitLines");function qb(e={}){return Object.assign({tag:"",name:"",type:"",optional:!1,description:"",problems:[],source:[]},e)}b(qb,"seedSpec");function Mb(e={}){return Object.assign({start:"",delimiter:"",postDelimiter:"",tag:"",postTag:"",name:"",postName:"",type:"",postType:"",description:"",end:"",lineEnd:""},e)}b(Mb,"seedTokens");var yj=/^@\S+/;function Ub({fence:e="```"}={}){let t=Jb(e),r=b((n,o)=>t(n)?!o:o,"toggleFence");return b(function(n){let o=[[]],a=!1;for(let i of n)yj.test(i.tokens.description)&&!a?o.push([i]):o[o.length-1].push(i),a=r(i.tokens.description,a);return o},"parseBlock")}b(Ub,"getParser");function Jb(e){return typeof e=="string"?t=>t.split(e).length%2===0:e}b(Jb,"getFencer");function $b({startLine:e=0,markers:t=$t}={}){let r=null,n=e;return b(function(o){let a=o,i=Mb();if([i.lineEnd,a]=Bb(a),[i.start,a]=fr(a),r===null&&a.startsWith(t.start)&&!a.startsWith(t.nostart)&&(r=[],i.delimiter=a.slice(0,t.start.length),a=a.slice(t.start.length),[i.postDelimiter,a]=fr(a)),r===null)return n++,null;let s=a.trimRight().endsWith(t.end);if(i.delimiter===""&&a.startsWith(t.delim)&&!a.startsWith(t.end)&&(i.delimiter=t.delim,a=a.slice(t.delim.length),[i.postDelimiter,a]=fr(a)),s){let l=a.trimRight();i.end=a.slice(l.length-t.end.length),a=l.slice(0,-t.end.length)}if(i.description=a,r.push({number:n,source:o,tokens:i}),n++,s){let l=r.slice();return r=null,l}return null},"parseSource")}b($b,"getParser");function zb({tokenizers:e}){return b(function(t){var r;let n=qb({source:t});for(let o of e)if(n=o(n),!((r=n.problems[n.problems.length-1])===null||r===void 0)&&r.critical)break;return n},"parseSpec")}b(zb,"getParser");function Vb(){return e=>{let{tokens:t}=e.source[0],r=t.description.match(/\s*(@(\S+))(\s*)/);return r===null?(e.problems.push({code:"spec:tag:prefix",message:'tag should start with "@" symbol',line:e.source[0].number,critical:!0}),e):(t.tag=r[1],t.postTag=r[3],t.description=t.description.slice(r[0].length),e.tag=r[2],e)}}b(Vb,"tagTokenizer");function Hb(e="compact"){let t=Gb(e);return r=>{let n=0,o=[];for(let[s,{tokens:l}]of r.source.entries()){let u="";if(s===0&&l.description[0]!=="{")return r;for(let c of l.description)if(c==="{"&&n++,c==="}"&&n--,u+=c,n===0)break;if(o.push([l,u]),n===0)break}if(n!==0)return r.problems.push({code:"spec:type:unpaired-curlies",message:"unpaired curlies",line:r.source[0].number,critical:!0}),r;let a=[],i=o[0][0].postDelimiter.length;for(let[s,[l,u]]of o.entries())l.type=u,s>0&&(l.type=l.postDelimiter.slice(i)+u,l.postDelimiter=l.postDelimiter.slice(0,i)),[l.postType,l.description]=fr(l.description.slice(u.length)),a.push(l.type);return a[0]=a[0].slice(1),a[a.length-1]=a[a.length-1].slice(0,-1),r.type=t(a),r}}b(Hb,"typeTokenizer");var hj=b(e=>e.trim(),"trim");function Gb(e){return e==="compact"?t=>t.map(hj).join(""):e==="preserve"?t=>t.join(` -`):e}b(Gb,"getJoiner");var mj=b(e=>e&&e.startsWith('"')&&e.endsWith('"'),"isQuoted");function Wb(){let e=b((t,{tokens:r},n)=>r.type===""?t:n,"typeEnd");return t=>{let{tokens:r}=t.source[t.source.reduce(e,0)],n=r.description.trimLeft(),o=n.split('"');if(o.length>1&&o[0]===""&&o.length%2===1)return t.name=o[1],r.name=`"${o[1]}"`,[r.postName,r.description]=fr(n.slice(r.name.length)),t;let a=0,i="",s=!1,l;for(let c of n){if(a===0&&Nb(c))break;c==="["&&a++,c==="]"&&a--,i+=c}if(a!==0)return t.problems.push({code:"spec:name:unpaired-brackets",message:"unpaired brackets",line:t.source[0].number,critical:!0}),t;let u=i;if(i[0]==="["&&i[i.length-1]==="]"){s=!0,i=i.slice(1,-1);let c=i.split("=");if(i=c[0].trim(),c[1]!==void 0&&(l=c.slice(1).join("=").trim()),i==="")return t.problems.push({code:"spec:name:empty-name",message:"empty name",line:t.source[0].number,critical:!0}),t;if(l==="")return t.problems.push({code:"spec:name:empty-default",message:"empty default value",line:t.source[0].number,critical:!0}),t;if(!mj(l)&&/=(?!>)/.test(l))return t.problems.push({code:"spec:name:invalid-default",message:"invalid default value syntax",line:t.source[0].number,critical:!0}),t}return t.optional=s,t.name=i,r.name=u,l!==void 0&&(t.default=l),[r.postName,r.description]=fr(n.slice(r.name.length)),t}}b(Wb,"nameTokenizer");function Kb(e="compact",t=$t){let r=Ys(e);return n=>(n.description=r(n.source,t),n)}b(Kb,"descriptionTokenizer");function Ys(e){return e==="compact"?Yb:e==="preserve"?Xb:e}b(Ys,"getJoiner");function Yb(e,t=$t){return e.map(({tokens:{description:r}})=>r.trim()).filter(r=>r!=="").join(" ")}b(Yb,"compactJoiner");var gj=b((e,{tokens:t},r)=>t.type===""?e:r,"lineNo"),bj=b(({tokens:e})=>(e.delimiter===""?e.start:e.postDelimiter.slice(1))+e.description,"getDescription");function Xb(e,t=$t){if(e.length===0)return"";e[0].tokens.description===""&&e[0].tokens.delimiter===t.start&&(e=e.slice(1));let r=e[e.length-1];return r!==void 0&&r.tokens.description===""&&r.tokens.end.endsWith(t.end)&&(e=e.slice(0,-1)),e=e.slice(e.reduce(gj,0)),e.map(bj).join(` -`)}b(Xb,"preserveJoiner");function Qb({startLine:e=0,fence:t="```",spacing:r="compact",markers:n=$t,tokenizers:o=[Vb(),Hb(r),Wb(),Kb(r)]}={}){if(e<0||e%1>0)throw new Error("Invalid startLine");let a=$b({startLine:e,markers:n}),i=Ub({fence:t}),s=zb({tokenizers:o}),l=Ys(r);return function(u){let c=[];for(let d of Lb(u)){let y=a(d);if(y===null)continue;let f=i(y),h=f.slice(1).map(s);c.push({description:l(f[0],n),tags:h,source:y,problems:h.reduce((g,_)=>g.concat(_.problems),[])})}return c}}b(Qb,"getParser");function Zb(e){return e.start+e.delimiter+e.postDelimiter+e.tag+e.postTag+e.type+e.postType+e.name+e.postName+e.description+e.end+e.lineEnd}b(Zb,"join");function e0(){return e=>e.source.map(({tokens:t})=>Zb(t)).join(` -`)}b(e0,"getStringifier");var vj={line:0,start:0,delimiter:0,postDelimiter:0,tag:0,postTag:0,name:0,postName:0,type:0,postType:0,description:0,end:0,lineEnd:0},Cne=Object.keys(vj);function t0(e,t={}){return Qb(t)(e)}b(t0,"parse");var _ne=e0(),Xs=db(rj(),1);function r0(e){return e!=null&&e.includes("@")}b(r0,"containsJsDoc");function n0(e){let t=`/** +`).replace(/^\n/,"")),Je.getElementById("error-message").innerHTML=Rm.toHtml(n),Je.getElementById("error-stack").innerHTML=Rm.toHtml(o),this.showMode("ERROR")}showNoPreview(){this.testing||(this.showMode("NOPREVIEW"),this.storyRoot()?.setAttribute("hidden","true"),this.docsRoot()?.setAttribute("hidden","true"))}showPreparingStory({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_STORY"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_STORY"),Pm)}showPreparingDocs({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),Pm)}showMain(){this.showMode("MAIN")}showDocs(){this.storyRoot().setAttribute("hidden","true"),this.docsRoot().removeAttribute("hidden")}showStory(){this.docsRoot().setAttribute("hidden","true"),this.storyRoot().removeAttribute("hidden")}showStoryDuringRender(){Je.body.classList.add(Ki.MAIN)}};m(ib,"WebView");var sD=ib,lD=class extends Y5{constructor(t,r){super(t,r,new oD,new sD),this.importFn=t,this.getProjectAnnotations=r,Le.__STORYBOOK_PREVIEW__=this}};m(lD,"PreviewWeb");var{document:nr}=Le,uD=["application/javascript","application/ecmascript","application/x-ecmascript","application/x-javascript","text/ecmascript","text/javascript","text/javascript1.0","text/javascript1.1","text/javascript1.2","text/javascript1.3","text/javascript1.4","text/javascript1.5","text/jscript","text/livescript","text/x-ecmascript","text/x-javascript","module"],cD="script",Dm="scripts-root";function us(){let e=nr.createEvent("Event");e.initEvent("DOMContentLoaded",!0,!0),nr.dispatchEvent(e)}m(us,"simulateDOMContentLoaded");function sb(e,t,r){let n=nr.createElement("script");n.type=e.type==="module"?"module":"text/javascript",e.src?(n.onload=t,n.onerror=t,n.src=e.src):n.textContent=e.innerText,r?r.appendChild(n):nr.head.appendChild(n),e.parentNode.removeChild(e),e.src||t()}m(sb,"insertScript");function Ns(e,t,r=0){e[r](()=>{r++,r===e.length?t():Ns(e,t,r)})}m(Ns,"insertScriptsSequentially");function pD(e){let t=nr.getElementById(Dm);t?t.innerHTML="":(t=nr.createElement("div"),t.id=Dm,nr.body.appendChild(t));let r=Array.from(e.querySelectorAll(cD));if(r.length){let n=[];r.forEach(o=>{let a=o.getAttribute("type");(!a||uD.includes(a))&&n.push(i=>sb(o,i,t))}),n.length&&Ns(n,us,void 0)}else us()}m(pD,"simulatePageLoad");w();S();A();w();S();A();var Ur=on(ub(),1);var dD=Object.create,Bs=Object.defineProperty,fD=Object.getOwnPropertyDescriptor,yD=Object.getOwnPropertyNames,hD=Object.getPrototypeOf,mD=Object.prototype.hasOwnProperty,F=(e,t)=>Bs(e,"name",{value:t,configurable:!0}),K=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),gD=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of yD(t))!mD.call(e,o)&&o!==r&&Bs(e,o,{get:()=>t[o],enumerable:!(n=fD(t,o))||n.enumerable});return e},bD=(e,t,r)=>(r=e!=null?dD(hD(e)):{},gD(t||!e||!e.__esModule?Bs(r,"default",{value:e,enumerable:!0}):r,e)),cb=K((e,t)=>{var r=typeof window=="object"&&window&&window.Object===Object&&window;t.exports=r}),It=K((e,t)=>{var r=cb(),n=typeof self=="object"&&self&&self.Object===Object&&self,o=r||n||Function("return this")();t.exports=o}),oa=K((e,t)=>{var r=It(),n=r.Symbol;t.exports=n}),vD=K((e,t)=>{var r=oa(),n=Object.prototype,o=n.hasOwnProperty,a=n.toString,i=r?r.toStringTag:void 0;function s(l){var u=o.call(l,i),c=l[i];try{l[i]=void 0;var d=!0}catch{}var y=a.call(l);return d&&(u?l[i]=c:delete l[i]),y}F(s,"getRawTag"),t.exports=s}),ED=K((e,t)=>{var r=Object.prototype,n=r.toString;function o(a){return n.call(a)}F(o,"objectToString"),t.exports=o}),Nn=K((e,t)=>{var r=oa(),n=vD(),o=ED(),a="[object Null]",i="[object Undefined]",s=r?r.toStringTag:void 0;function l(u){return u==null?u===void 0?i:a:s&&s in Object(u)?n(u):o(u)}F(l,"baseGetTag"),t.exports=l}),Ls=K((e,t)=>{function r(n){var o=typeof n;return n!=null&&(o=="object"||o=="function")}F(r,"isObject"),t.exports=r}),pb=K((e,t)=>{var r=Nn(),n=Ls(),o="[object AsyncFunction]",a="[object Function]",i="[object GeneratorFunction]",s="[object Proxy]";function l(u){if(!n(u))return!1;var c=r(u);return c==a||c==i||c==o||c==s}F(l,"isFunction"),t.exports=l}),xD=K((e,t)=>{var r=It(),n=r["__core-js_shared__"];t.exports=n}),wD=K((e,t)=>{var r=xD(),n=function(){var a=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}();function o(a){return!!n&&n in a}F(o,"isMasked"),t.exports=o}),db=K((e,t)=>{var r=Function.prototype,n=r.toString;function o(a){if(a!=null){try{return n.call(a)}catch{}try{return a+""}catch{}}return""}F(o,"toSource"),t.exports=o}),SD=K((e,t)=>{var r=pb(),n=wD(),o=Ls(),a=db(),i=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,l=Function.prototype,u=Object.prototype,c=l.toString,d=u.hasOwnProperty,y=RegExp("^"+c.call(d).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function f(h){if(!o(h)||n(h))return!1;var g=r(h)?y:s;return g.test(a(h))}F(f,"baseIsNative"),t.exports=f}),AD=K((e,t)=>{function r(n,o){return n?.[o]}F(r,"getValue"),t.exports=r}),sr=K((e,t)=>{var r=SD(),n=AD();function o(a,i){var s=n(a,i);return r(s)?s:void 0}F(o,"getNative"),t.exports=o}),TD=K((e,t)=>{var r=sr(),n=function(){try{var o=r(Object,"defineProperty");return o({},"",{}),o}catch{}}();t.exports=n}),CD=K((e,t)=>{var r=TD();function n(o,a,i){a=="__proto__"&&r?r(o,a,{configurable:!0,enumerable:!0,value:i,writable:!0}):o[a]=i}F(n,"baseAssignValue"),t.exports=n}),_D=K((e,t)=>{function r(n){return function(o,a,i){for(var s=-1,l=Object(o),u=i(o),c=u.length;c--;){var d=u[n?c:++s];if(a(l[d],d,l)===!1)break}return o}}F(r,"createBaseFor"),t.exports=r}),OD=K((e,t)=>{var r=_D(),n=r();t.exports=n}),ID=K((e,t)=>{function r(n,o){for(var a=-1,i=Array(n);++a{function r(n){return n!=null&&typeof n=="object"}F(r,"isObjectLike"),t.exports=r}),kD=K((e,t)=>{var r=Nn(),n=Bn(),o="[object Arguments]";function a(i){return n(i)&&r(i)==o}F(a,"baseIsArguments"),t.exports=a}),fb=K((e,t)=>{var r=kD(),n=Bn(),o=Object.prototype,a=o.hasOwnProperty,i=o.propertyIsEnumerable,s=r(function(){return arguments}())?r:function(l){return n(l)&&a.call(l,"callee")&&!i.call(l,"callee")};t.exports=s}),Vt=K((e,t)=>{var r=Array.isArray;t.exports=r}),PD=K((e,t)=>{function r(){return!1}F(r,"stubFalse"),t.exports=r}),yb=K((e,t)=>{var r=It(),n=PD(),o=typeof e=="object"&&e&&!e.nodeType&&e,a=o&&typeof t=="object"&&t&&!t.nodeType&&t,i=a&&a.exports===o,s=i?r.Buffer:void 0,l=s?s.isBuffer:void 0,u=l||n;t.exports=u}),hb=K((e,t)=>{var r=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function o(a,i){var s=typeof a;return i=i??r,!!i&&(s=="number"||s!="symbol"&&n.test(a))&&a>-1&&a%1==0&&a{var r=9007199254740991;function n(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=r}F(n,"isLength"),t.exports=n}),RD=K((e,t)=>{var r=Nn(),n=qs(),o=Bn(),a="[object Arguments]",i="[object Array]",s="[object Boolean]",l="[object Date]",u="[object Error]",c="[object Function]",d="[object Map]",y="[object Number]",f="[object Object]",h="[object RegExp]",g="[object Set]",C="[object String]",b="[object WeakMap]",E="[object ArrayBuffer]",_="[object DataView]",T="[object Float32Array]",O="[object Float64Array]",I="[object Int8Array]",D="[object Int16Array]",R="[object Int32Array]",M="[object Uint8Array]",z="[object Uint8ClampedArray]",Y="[object Uint16Array]",Z="[object Uint32Array]",V={};V[T]=V[O]=V[I]=V[D]=V[R]=V[M]=V[z]=V[Y]=V[Z]=!0,V[a]=V[i]=V[E]=V[s]=V[_]=V[l]=V[u]=V[c]=V[d]=V[y]=V[f]=V[h]=V[g]=V[C]=V[b]=!1;function P(q){return o(q)&&n(q.length)&&!!V[r(q)]}F(P,"baseIsTypedArray"),t.exports=P}),DD=K((e,t)=>{function r(n){return function(o){return n(o)}}F(r,"baseUnary"),t.exports=r}),FD=K((e,t)=>{var r=cb(),n=typeof e=="object"&&e&&!e.nodeType&&e,o=n&&typeof t=="object"&&t&&!t.nodeType&&t,a=o&&o.exports===n,i=a&&r.process,s=function(){try{var l=o&&o.require&&o.require("util").types;return l||i&&i.binding&&i.binding("util")}catch{}}();t.exports=s}),mb=K((e,t)=>{var r=RD(),n=DD(),o=FD(),a=o&&o.isTypedArray,i=a?n(a):r;t.exports=i}),jD=K((e,t)=>{var r=ID(),n=fb(),o=Vt(),a=yb(),i=hb(),s=mb(),l=Object.prototype,u=l.hasOwnProperty;function c(d,y){var f=o(d),h=!f&&n(d),g=!f&&!h&&a(d),C=!f&&!h&&!g&&s(d),b=f||h||g||C,E=b?r(d.length,String):[],_=E.length;for(var T in d)(y||u.call(d,T))&&!(b&&(T=="length"||g&&(T=="offset"||T=="parent")||C&&(T=="buffer"||T=="byteLength"||T=="byteOffset")||i(T,_)))&&E.push(T);return E}F(c,"arrayLikeKeys"),t.exports=c}),ND=K((e,t)=>{var r=Object.prototype;function n(o){var a=o&&o.constructor,i=typeof a=="function"&&a.prototype||r;return o===i}F(n,"isPrototype"),t.exports=n}),BD=K((e,t)=>{function r(n,o){return function(a){return n(o(a))}}F(r,"overArg"),t.exports=r}),LD=K((e,t)=>{var r=BD(),n=r(Object.keys,Object);t.exports=n}),qD=K((e,t)=>{var r=ND(),n=LD(),o=Object.prototype,a=o.hasOwnProperty;function i(s){if(!r(s))return n(s);var l=[];for(var u in Object(s))a.call(s,u)&&u!="constructor"&&l.push(u);return l}F(i,"baseKeys"),t.exports=i}),MD=K((e,t)=>{var r=pb(),n=qs();function o(a){return a!=null&&n(a.length)&&!r(a)}F(o,"isArrayLike"),t.exports=o}),Ms=K((e,t)=>{var r=jD(),n=qD(),o=MD();function a(i){return o(i)?r(i):n(i)}F(a,"keys"),t.exports=a}),UD=K((e,t)=>{var r=OD(),n=Ms();function o(a,i){return a&&r(a,i,n)}F(o,"baseForOwn"),t.exports=o}),$D=K((e,t)=>{function r(){this.__data__=[],this.size=0}F(r,"listCacheClear"),t.exports=r}),gb=K((e,t)=>{function r(n,o){return n===o||n!==n&&o!==o}F(r,"eq"),t.exports=r}),aa=K((e,t)=>{var r=gb();function n(o,a){for(var i=o.length;i--;)if(r(o[i][0],a))return i;return-1}F(n,"assocIndexOf"),t.exports=n}),zD=K((e,t)=>{var r=aa(),n=Array.prototype,o=n.splice;function a(i){var s=this.__data__,l=r(s,i);if(l<0)return!1;var u=s.length-1;return l==u?s.pop():o.call(s,l,1),--this.size,!0}F(a,"listCacheDelete"),t.exports=a}),VD=K((e,t)=>{var r=aa();function n(o){var a=this.__data__,i=r(a,o);return i<0?void 0:a[i][1]}F(n,"listCacheGet"),t.exports=n}),HD=K((e,t)=>{var r=aa();function n(o){return r(this.__data__,o)>-1}F(n,"listCacheHas"),t.exports=n}),JD=K((e,t)=>{var r=aa();function n(o,a){var i=this.__data__,s=r(i,o);return s<0?(++this.size,i.push([o,a])):i[s][1]=a,this}F(n,"listCacheSet"),t.exports=n}),ia=K((e,t)=>{var r=$D(),n=zD(),o=VD(),a=HD(),i=JD();function s(l){var u=-1,c=l==null?0:l.length;for(this.clear();++u{var r=ia();function n(){this.__data__=new r,this.size=0}F(n,"stackClear"),t.exports=n}),WD=K((e,t)=>{function r(n){var o=this.__data__,a=o.delete(n);return this.size=o.size,a}F(r,"stackDelete"),t.exports=r}),KD=K((e,t)=>{function r(n){return this.__data__.get(n)}F(r,"stackGet"),t.exports=r}),YD=K((e,t)=>{function r(n){return this.__data__.has(n)}F(r,"stackHas"),t.exports=r}),Us=K((e,t)=>{var r=sr(),n=It(),o=r(n,"Map");t.exports=o}),sa=K((e,t)=>{var r=sr(),n=r(Object,"create");t.exports=n}),XD=K((e,t)=>{var r=sa();function n(){this.__data__=r?r(null):{},this.size=0}F(n,"hashClear"),t.exports=n}),QD=K((e,t)=>{function r(n){var o=this.has(n)&&delete this.__data__[n];return this.size-=o?1:0,o}F(r,"hashDelete"),t.exports=r}),ZD=K((e,t)=>{var r=sa(),n="__lodash_hash_undefined__",o=Object.prototype,a=o.hasOwnProperty;function i(s){var l=this.__data__;if(r){var u=l[s];return u===n?void 0:u}return a.call(l,s)?l[s]:void 0}F(i,"hashGet"),t.exports=i}),eF=K((e,t)=>{var r=sa(),n=Object.prototype,o=n.hasOwnProperty;function a(i){var s=this.__data__;return r?s[i]!==void 0:o.call(s,i)}F(a,"hashHas"),t.exports=a}),tF=K((e,t)=>{var r=sa(),n="__lodash_hash_undefined__";function o(a,i){var s=this.__data__;return this.size+=this.has(a)?0:1,s[a]=r&&i===void 0?n:i,this}F(o,"hashSet"),t.exports=o}),rF=K((e,t)=>{var r=XD(),n=QD(),o=ZD(),a=eF(),i=tF();function s(l){var u=-1,c=l==null?0:l.length;for(this.clear();++u{var r=rF(),n=ia(),o=Us();function a(){this.size=0,this.__data__={hash:new r,map:new(o||n),string:new r}}F(a,"mapCacheClear"),t.exports=a}),oF=K((e,t)=>{function r(n){var o=typeof n;return o=="string"||o=="number"||o=="symbol"||o=="boolean"?n!=="__proto__":n===null}F(r,"isKeyable"),t.exports=r}),la=K((e,t)=>{var r=oF();function n(o,a){var i=o.__data__;return r(a)?i[typeof a=="string"?"string":"hash"]:i.map}F(n,"getMapData"),t.exports=n}),aF=K((e,t)=>{var r=la();function n(o){var a=r(this,o).delete(o);return this.size-=a?1:0,a}F(n,"mapCacheDelete"),t.exports=n}),iF=K((e,t)=>{var r=la();function n(o){return r(this,o).get(o)}F(n,"mapCacheGet"),t.exports=n}),sF=K((e,t)=>{var r=la();function n(o){return r(this,o).has(o)}F(n,"mapCacheHas"),t.exports=n}),lF=K((e,t)=>{var r=la();function n(o,a){var i=r(this,o),s=i.size;return i.set(o,a),this.size+=i.size==s?0:1,this}F(n,"mapCacheSet"),t.exports=n}),$s=K((e,t)=>{var r=nF(),n=aF(),o=iF(),a=sF(),i=lF();function s(l){var u=-1,c=l==null?0:l.length;for(this.clear();++u{var r=ia(),n=Us(),o=$s(),a=200;function i(s,l){var u=this.__data__;if(u instanceof r){var c=u.__data__;if(!n||c.length{var r=ia(),n=GD(),o=WD(),a=KD(),i=YD(),s=uF();function l(u){var c=this.__data__=new r(u);this.size=c.size}F(l,"Stack"),l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=a,l.prototype.has=i,l.prototype.set=s,t.exports=l}),cF=K((e,t)=>{var r="__lodash_hash_undefined__";function n(o){return this.__data__.set(o,r),this}F(n,"setCacheAdd"),t.exports=n}),pF=K((e,t)=>{function r(n){return this.__data__.has(n)}F(r,"setCacheHas"),t.exports=r}),dF=K((e,t)=>{var r=$s(),n=cF(),o=pF();function a(i){var s=-1,l=i==null?0:i.length;for(this.__data__=new r;++s{function r(n,o){for(var a=-1,i=n==null?0:n.length;++a{function r(n,o){return n.has(o)}F(r,"cacheHas"),t.exports=r}),vb=K((e,t)=>{var r=dF(),n=fF(),o=yF(),a=1,i=2;function s(l,u,c,d,y,f){var h=c&a,g=l.length,C=u.length;if(g!=C&&!(h&&C>g))return!1;var b=f.get(l),E=f.get(u);if(b&&E)return b==u&&E==l;var _=-1,T=!0,O=c&i?new r:void 0;for(f.set(l,u),f.set(u,l);++_{var r=It(),n=r.Uint8Array;t.exports=n}),mF=K((e,t)=>{function r(n){var o=-1,a=Array(n.size);return n.forEach(function(i,s){a[++o]=[s,i]}),a}F(r,"mapToArray"),t.exports=r}),gF=K((e,t)=>{function r(n){var o=-1,a=Array(n.size);return n.forEach(function(i){a[++o]=i}),a}F(r,"setToArray"),t.exports=r}),bF=K((e,t)=>{var r=oa(),n=hF(),o=gb(),a=vb(),i=mF(),s=gF(),l=1,u=2,c="[object Boolean]",d="[object Date]",y="[object Error]",f="[object Map]",h="[object Number]",g="[object RegExp]",C="[object Set]",b="[object String]",E="[object Symbol]",_="[object ArrayBuffer]",T="[object DataView]",O=r?r.prototype:void 0,I=O?O.valueOf:void 0;function D(R,M,z,Y,Z,V,P){switch(z){case T:if(R.byteLength!=M.byteLength||R.byteOffset!=M.byteOffset)return!1;R=R.buffer,M=M.buffer;case _:return!(R.byteLength!=M.byteLength||!V(new n(R),new n(M)));case c:case d:case h:return o(+R,+M);case y:return R.name==M.name&&R.message==M.message;case g:case b:return R==M+"";case f:var q=i;case C:var J=Y&l;if(q||(q=s),R.size!=M.size&&!J)return!1;var X=P.get(R);if(X)return X==M;Y|=u,P.set(R,M);var te=a(q(R),q(M),Y,Z,V,P);return P.delete(R),te;case E:if(I)return I.call(R)==I.call(M)}return!1}F(D,"equalByTag"),t.exports=D}),vF=K((e,t)=>{function r(n,o){for(var a=-1,i=o.length,s=n.length;++a{var r=vF(),n=Vt();function o(a,i,s){var l=i(a);return n(a)?l:r(l,s(a))}F(o,"baseGetAllKeys"),t.exports=o}),xF=K((e,t)=>{function r(n,o){for(var a=-1,i=n==null?0:n.length,s=0,l=[];++a{function r(){return[]}F(r,"stubArray"),t.exports=r}),SF=K((e,t)=>{var r=xF(),n=wF(),o=Object.prototype,a=o.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(l){return l==null?[]:(l=Object(l),r(i(l),function(u){return a.call(l,u)}))}:n;t.exports=s}),AF=K((e,t)=>{var r=EF(),n=SF(),o=Ms();function a(i){return r(i,o,n)}F(a,"getAllKeys"),t.exports=a}),TF=K((e,t)=>{var r=AF(),n=1,o=Object.prototype,a=o.hasOwnProperty;function i(s,l,u,c,d,y){var f=u&n,h=r(s),g=h.length,C=r(l),b=C.length;if(g!=b&&!f)return!1;for(var E=g;E--;){var _=h[E];if(!(f?_ in l:a.call(l,_)))return!1}var T=y.get(s),O=y.get(l);if(T&&O)return T==l&&O==s;var I=!0;y.set(s,l),y.set(l,s);for(var D=f;++E{var r=sr(),n=It(),o=r(n,"DataView");t.exports=o}),_F=K((e,t)=>{var r=sr(),n=It(),o=r(n,"Promise");t.exports=o}),OF=K((e,t)=>{var r=sr(),n=It(),o=r(n,"Set");t.exports=o}),IF=K((e,t)=>{var r=sr(),n=It(),o=r(n,"WeakMap");t.exports=o}),kF=K((e,t)=>{var r=CF(),n=Us(),o=_F(),a=OF(),i=IF(),s=Nn(),l=db(),u="[object Map]",c="[object Object]",d="[object Promise]",y="[object Set]",f="[object WeakMap]",h="[object DataView]",g=l(r),C=l(n),b=l(o),E=l(a),_=l(i),T=s;(r&&T(new r(new ArrayBuffer(1)))!=h||n&&T(new n)!=u||o&&T(o.resolve())!=d||a&&T(new a)!=y||i&&T(new i)!=f)&&(T=F(function(O){var I=s(O),D=I==c?O.constructor:void 0,R=D?l(D):"";if(R)switch(R){case g:return h;case C:return u;case b:return d;case E:return y;case _:return f}return I},"getTag")),t.exports=T}),PF=K((e,t)=>{var r=bb(),n=vb(),o=bF(),a=TF(),i=kF(),s=Vt(),l=yb(),u=mb(),c=1,d="[object Arguments]",y="[object Array]",f="[object Object]",h=Object.prototype,g=h.hasOwnProperty;function C(b,E,_,T,O,I){var D=s(b),R=s(E),M=D?y:i(b),z=R?y:i(E);M=M==d?f:M,z=z==d?f:z;var Y=M==f,Z=z==f,V=M==z;if(V&&l(b)){if(!l(E))return!1;D=!0,Y=!1}if(V&&!Y)return I||(I=new r),D||u(b)?n(b,E,_,T,O,I):o(b,E,M,_,T,O,I);if(!(_&c)){var P=Y&&g.call(b,"__wrapped__"),q=Z&&g.call(E,"__wrapped__");if(P||q){var J=P?b.value():b,X=q?E.value():E;return I||(I=new r),O(J,X,_,T,I)}}return V?(I||(I=new r),a(b,E,_,T,O,I)):!1}F(C,"baseIsEqualDeep"),t.exports=C}),Eb=K((e,t)=>{var r=PF(),n=Bn();function o(a,i,s,l,u){return a===i?!0:a==null||i==null||!n(a)&&!n(i)?a!==a&&i!==i:r(a,i,s,l,o,u)}F(o,"baseIsEqual"),t.exports=o}),RF=K((e,t)=>{var r=bb(),n=Eb(),o=1,a=2;function i(s,l,u,c){var d=u.length,y=d,f=!c;if(s==null)return!y;for(s=Object(s);d--;){var h=u[d];if(f&&h[2]?h[1]!==s[h[0]]:!(h[0]in s))return!1}for(;++d{var r=Ls();function n(o){return o===o&&!r(o)}F(n,"isStrictComparable"),t.exports=n}),DF=K((e,t)=>{var r=xb(),n=Ms();function o(a){for(var i=n(a),s=i.length;s--;){var l=i[s],u=a[l];i[s]=[l,u,r(u)]}return i}F(o,"getMatchData"),t.exports=o}),wb=K((e,t)=>{function r(n,o){return function(a){return a==null?!1:a[n]===o&&(o!==void 0||n in Object(a))}}F(r,"matchesStrictComparable"),t.exports=r}),FF=K((e,t)=>{var r=RF(),n=DF(),o=wb();function a(i){var s=n(i);return s.length==1&&s[0][2]?o(s[0][0],s[0][1]):function(l){return l===i||r(l,i,s)}}F(a,"baseMatches"),t.exports=a}),zs=K((e,t)=>{var r=Nn(),n=Bn(),o="[object Symbol]";function a(i){return typeof i=="symbol"||n(i)&&r(i)==o}F(a,"isSymbol"),t.exports=a}),Vs=K((e,t)=>{var r=Vt(),n=zs(),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;function i(s,l){if(r(s))return!1;var u=typeof s;return u=="number"||u=="symbol"||u=="boolean"||s==null||n(s)?!0:a.test(s)||!o.test(s)||l!=null&&s in Object(l)}F(i,"isKey"),t.exports=i}),jF=K((e,t)=>{var r=$s(),n="Expected a function";function o(a,i){if(typeof a!="function"||i!=null&&typeof i!="function")throw new TypeError(n);var s=F(function(){var l=arguments,u=i?i.apply(this,l):l[0],c=s.cache;if(c.has(u))return c.get(u);var d=a.apply(this,l);return s.cache=c.set(u,d)||c,d},"memoized");return s.cache=new(o.Cache||r),s}F(o,"memoize"),o.Cache=r,t.exports=o}),NF=K((e,t)=>{var r=jF(),n=500;function o(a){var i=r(a,function(l){return s.size===n&&s.clear(),l}),s=i.cache;return i}F(o,"memoizeCapped"),t.exports=o}),BF=K((e,t)=>{var r=NF(),n=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r(function(i){var s=[];return i.charCodeAt(0)===46&&s.push(""),i.replace(n,function(l,u,c,d){s.push(c?d.replace(o,"$1"):u||l)}),s});t.exports=a}),LF=K((e,t)=>{function r(n,o){for(var a=-1,i=n==null?0:n.length,s=Array(i);++a{var r=oa(),n=LF(),o=Vt(),a=zs(),i=1/0,s=r?r.prototype:void 0,l=s?s.toString:void 0;function u(c){if(typeof c=="string")return c;if(o(c))return n(c,u)+"";if(a(c))return l?l.call(c):"";var d=c+"";return d=="0"&&1/c==-i?"-0":d}F(u,"baseToString"),t.exports=u}),MF=K((e,t)=>{var r=qF();function n(o){return o==null?"":r(o)}F(n,"toString"),t.exports=n}),Sb=K((e,t)=>{var r=Vt(),n=Vs(),o=BF(),a=MF();function i(s,l){return r(s)?s:n(s,l)?[s]:o(a(s))}F(i,"castPath"),t.exports=i}),ua=K((e,t)=>{var r=zs(),n=1/0;function o(a){if(typeof a=="string"||r(a))return a;var i=a+"";return i=="0"&&1/a==-n?"-0":i}F(o,"toKey"),t.exports=o}),Ab=K((e,t)=>{var r=Sb(),n=ua();function o(a,i){i=r(i,a);for(var s=0,l=i.length;a!=null&&s{var r=Ab();function n(o,a,i){var s=o==null?void 0:r(o,a);return s===void 0?i:s}F(n,"get"),t.exports=n}),$F=K((e,t)=>{function r(n,o){return n!=null&&o in Object(n)}F(r,"baseHasIn"),t.exports=r}),zF=K((e,t)=>{var r=Sb(),n=fb(),o=Vt(),a=hb(),i=qs(),s=ua();function l(u,c,d){c=r(c,u);for(var y=-1,f=c.length,h=!1;++y{var r=$F(),n=zF();function o(a,i){return a!=null&&n(a,i,r)}F(o,"hasIn"),t.exports=o}),HF=K((e,t)=>{var r=Eb(),n=UF(),o=VF(),a=Vs(),i=xb(),s=wb(),l=ua(),u=1,c=2;function d(y,f){return a(y)&&i(f)?s(l(y),f):function(h){var g=n(h,y);return g===void 0&&g===f?o(h,y):r(f,g,u|c)}}F(d,"baseMatchesProperty"),t.exports=d}),JF=K((e,t)=>{function r(n){return n}F(r,"identity"),t.exports=r}),GF=K((e,t)=>{function r(n){return function(o){return o?.[n]}}F(r,"baseProperty"),t.exports=r}),WF=K((e,t)=>{var r=Ab();function n(o){return function(a){return r(a,o)}}F(n,"basePropertyDeep"),t.exports=n}),KF=K((e,t)=>{var r=GF(),n=WF(),o=Vs(),a=ua();function i(s){return o(s)?r(a(s)):n(s)}F(i,"property"),t.exports=i}),YF=K((e,t)=>{var r=FF(),n=HF(),o=JF(),a=Vt(),i=KF();function s(l){return typeof l=="function"?l:l==null?o:typeof l=="object"?a(l)?n(l[0],l[1]):r(l):i(l)}F(s,"baseIteratee"),t.exports=s}),XF=K((e,t)=>{var r=CD(),n=UD(),o=YF();function a(i,s){var l={};return s=o(s,3),n(i,function(u,c,d){r(l,c,s(u,c,d))}),l}F(a,"mapValues"),t.exports=a}),QF=F(e=>e.name==="literal","isLiteral"),ZF=F(e=>e.value.replace(/['|"]/g,""),"toEnumOption"),ej=F(e=>{switch(e.type){case"function":return{name:"function"};case"object":let t={};return e.signature.properties.forEach(r=>{t[r.key]=Fn(r.value)}),{name:"object",value:t};default:throw new Lo({type:e,language:"Flow"})}},"convertSig"),Fn=F(e=>{let{name:t,raw:r}=e,n={};switch(typeof r<"u"&&(n.raw=r),e.name){case"literal":return{...n,name:"other",value:e.value};case"string":case"number":case"symbol":case"boolean":return{...n,name:t};case"Array":return{...n,name:"array",value:e.elements.map(Fn)};case"signature":return{...n,...ej(e)};case"union":return e.elements?.every(QF)?{...n,name:"enum",value:e.elements?.map(ZF)}:{...n,name:t,value:e.elements?.map(Fn)};case"intersection":return{...n,name:t,value:e.elements?.map(Fn)};default:return{...n,name:"other",value:t}}},"convert"),tj=bD(XF(),1),Tb=/^['"]|['"]$/g,rj=F(e=>e.replace(Tb,""),"trimQuotes"),nj=F(e=>Tb.test(e),"includesQuotes"),Cb=F(e=>{let t=rj(e);return nj(e)||Number.isNaN(Number(t))?t:Number(t)},"parseLiteral"),oj=/^\(.*\) => /,Dn=F(e=>{let{name:t,raw:r,computed:n,value:o}=e,a={};switch(typeof r<"u"&&(a.raw=r),t){case"enum":{let s=n?o:o.map(l=>Cb(l.value));return{...a,name:t,value:s}}case"string":case"number":case"symbol":return{...a,name:t};case"func":return{...a,name:"function"};case"bool":case"boolean":return{...a,name:"boolean"};case"arrayOf":case"array":return{...a,name:"array",value:o&&Dn(o)};case"object":return{...a,name:t};case"objectOf":return{...a,name:t,value:Dn(o)};case"shape":case"exact":let i=(0,tj.default)(o,s=>Dn(s));return{...a,name:"object",value:i};case"union":return{...a,name:"union",value:o.map(s=>Dn(s))};case"instanceOf":case"element":case"elementType":default:{if(t?.indexOf("|")>0)try{let u=t.split("|").map(c=>JSON.parse(c));return{...a,name:"enum",value:u}}catch{}let s=o?`${t}(${o})`:t,l=oj.test(t)?"function":"other";return{...a,name:l,value:s}}}},"convert"),aj=F(e=>{switch(e.type){case"function":return{name:"function"};case"object":let t={};return e.signature.properties.forEach(r=>{t[r.key]=jn(r.value)}),{name:"object",value:t};default:throw new Lo({type:e,language:"Typescript"})}},"convertSig"),jn=F(e=>{let{name:t,raw:r}=e,n={};switch(typeof r<"u"&&(n.raw=r),e.name){case"string":case"number":case"symbol":case"boolean":return{...n,name:t};case"Array":return{...n,name:"array",value:e.elements.map(jn)};case"signature":return{...n,...aj(e)};case"union":let o;return e.elements?.every(a=>a.name==="literal")?o={...n,name:"enum",value:e.elements?.map(a=>Cb(a.value))}:o={...n,name:t,value:e.elements?.map(jn)},o;case"intersection":return{...n,name:t,value:e.elements?.map(jn)};default:return{...n,name:"other",value:t}}},"convert"),Hs=F(e=>{let{type:t,tsType:r,flowType:n}=e;try{if(t!=null)return Dn(t);if(r!=null)return jn(r);if(n!=null)return Fn(n)}catch(o){console.error(o)}return null},"convert"),ij=(e=>(e.JAVASCRIPT="JavaScript",e.FLOW="Flow",e.TYPESCRIPT="TypeScript",e.UNKNOWN="Unknown",e))(ij||{}),sj=["null","undefined"];function ca(e){return sj.some(t=>t===e)}F(ca,"isDefaultValueBlacklisted");var lj=F(e=>{if(!e)return"";if(typeof e=="string")return e;throw new Error(`Description: expected string, got: ${JSON.stringify(e)}`)},"str");function Js(e){return!!e.__docgenInfo}F(Js,"hasDocgen");function _b(e){return e!=null&&Object.keys(e).length>0}F(_b,"isValidDocgenSection");function Ob(e,t){return Js(e)?e.__docgenInfo[t]:null}F(Ob,"getDocgenSection");function Ib(e){return Js(e)?lj(e.__docgenInfo.description):""}F(Ib,"getDocgenDescription");var zt;(function(e){e.start="/**",e.nostart="/***",e.delim="*",e.end="*/"})(zt=zt||(zt={}));function kb(e){return/^\s+$/.test(e)}F(kb,"isSpace");function Pb(e){let t=e.match(/\r+$/);return t==null?["",e]:[e.slice(-t[0].length),e.slice(0,-t[0].length)]}F(Pb,"splitCR");function ir(e){let t=e.match(/^\s+/);return t==null?["",e]:[e.slice(0,t[0].length),e.slice(t[0].length)]}F(ir,"splitSpace");function Rb(e){return e.split(/\n/)}F(Rb,"splitLines");function Db(e={}){return Object.assign({tag:"",name:"",type:"",optional:!1,description:"",problems:[],source:[]},e)}F(Db,"seedSpec");function Fb(e={}){return Object.assign({start:"",delimiter:"",postDelimiter:"",tag:"",postTag:"",name:"",postName:"",type:"",postType:"",description:"",end:"",lineEnd:""},e)}F(Fb,"seedTokens");var uj=/^@\S+/;function jb({fence:e="```"}={}){let t=Nb(e),r=F((n,o)=>t(n)?!o:o,"toggleFence");return F(function(n){let o=[[]],a=!1;for(let i of n)uj.test(i.tokens.description)&&!a?o.push([i]):o[o.length-1].push(i),a=r(i.tokens.description,a);return o},"parseBlock")}F(jb,"getParser");function Nb(e){return typeof e=="string"?t=>t.split(e).length%2===0:e}F(Nb,"getFencer");function Bb({startLine:e=0,markers:t=zt}={}){let r=null,n=e;return F(function(o){let a=o,i=Fb();if([i.lineEnd,a]=Pb(a),[i.start,a]=ir(a),r===null&&a.startsWith(t.start)&&!a.startsWith(t.nostart)&&(r=[],i.delimiter=a.slice(0,t.start.length),a=a.slice(t.start.length),[i.postDelimiter,a]=ir(a)),r===null)return n++,null;let s=a.trimRight().endsWith(t.end);if(i.delimiter===""&&a.startsWith(t.delim)&&!a.startsWith(t.end)&&(i.delimiter=t.delim,a=a.slice(t.delim.length),[i.postDelimiter,a]=ir(a)),s){let l=a.trimRight();i.end=a.slice(l.length-t.end.length),a=l.slice(0,-t.end.length)}if(i.description=a,r.push({number:n,source:o,tokens:i}),n++,s){let l=r.slice();return r=null,l}return null},"parseSource")}F(Bb,"getParser");function Lb({tokenizers:e}){return F(function(t){var r;let n=Db({source:t});for(let o of e)if(n=o(n),!((r=n.problems[n.problems.length-1])===null||r===void 0)&&r.critical)break;return n},"parseSpec")}F(Lb,"getParser");function qb(){return e=>{let{tokens:t}=e.source[0],r=t.description.match(/\s*(@(\S+))(\s*)/);return r===null?(e.problems.push({code:"spec:tag:prefix",message:'tag should start with "@" symbol',line:e.source[0].number,critical:!0}),e):(t.tag=r[1],t.postTag=r[3],t.description=t.description.slice(r[0].length),e.tag=r[2],e)}}F(qb,"tagTokenizer");function Mb(e="compact"){let t=Ub(e);return r=>{let n=0,o=[];for(let[s,{tokens:l}]of r.source.entries()){let u="";if(s===0&&l.description[0]!=="{")return r;for(let c of l.description)if(c==="{"&&n++,c==="}"&&n--,u+=c,n===0)break;if(o.push([l,u]),n===0)break}if(n!==0)return r.problems.push({code:"spec:type:unpaired-curlies",message:"unpaired curlies",line:r.source[0].number,critical:!0}),r;let a=[],i=o[0][0].postDelimiter.length;for(let[s,[l,u]]of o.entries())l.type=u,s>0&&(l.type=l.postDelimiter.slice(i)+u,l.postDelimiter=l.postDelimiter.slice(0,i)),[l.postType,l.description]=ir(l.description.slice(u.length)),a.push(l.type);return a[0]=a[0].slice(1),a[a.length-1]=a[a.length-1].slice(0,-1),r.type=t(a),r}}F(Mb,"typeTokenizer");var cj=F(e=>e.trim(),"trim");function Ub(e){return e==="compact"?t=>t.map(cj).join(""):e==="preserve"?t=>t.join(` +`):e}F(Ub,"getJoiner");var pj=F(e=>e&&e.startsWith('"')&&e.endsWith('"'),"isQuoted");function $b(){let e=F((t,{tokens:r},n)=>r.type===""?t:n,"typeEnd");return t=>{let{tokens:r}=t.source[t.source.reduce(e,0)],n=r.description.trimLeft(),o=n.split('"');if(o.length>1&&o[0]===""&&o.length%2===1)return t.name=o[1],r.name=`"${o[1]}"`,[r.postName,r.description]=ir(n.slice(r.name.length)),t;let a=0,i="",s=!1,l;for(let c of n){if(a===0&&kb(c))break;c==="["&&a++,c==="]"&&a--,i+=c}if(a!==0)return t.problems.push({code:"spec:name:unpaired-brackets",message:"unpaired brackets",line:t.source[0].number,critical:!0}),t;let u=i;if(i[0]==="["&&i[i.length-1]==="]"){s=!0,i=i.slice(1,-1);let c=i.split("=");if(i=c[0].trim(),c[1]!==void 0&&(l=c.slice(1).join("=").trim()),i==="")return t.problems.push({code:"spec:name:empty-name",message:"empty name",line:t.source[0].number,critical:!0}),t;if(l==="")return t.problems.push({code:"spec:name:empty-default",message:"empty default value",line:t.source[0].number,critical:!0}),t;if(!pj(l)&&/=(?!>)/.test(l))return t.problems.push({code:"spec:name:invalid-default",message:"invalid default value syntax",line:t.source[0].number,critical:!0}),t}return t.optional=s,t.name=i,r.name=u,l!==void 0&&(t.default=l),[r.postName,r.description]=ir(n.slice(r.name.length)),t}}F($b,"nameTokenizer");function zb(e="compact",t=zt){let r=Gs(e);return n=>(n.description=r(n.source,t),n)}F(zb,"descriptionTokenizer");function Gs(e){return e==="compact"?Vb:e==="preserve"?Hb:e}F(Gs,"getJoiner");function Vb(e,t=zt){return e.map(({tokens:{description:r}})=>r.trim()).filter(r=>r!=="").join(" ")}F(Vb,"compactJoiner");var dj=F((e,{tokens:t},r)=>t.type===""?e:r,"lineNo"),fj=F(({tokens:e})=>(e.delimiter===""?e.start:e.postDelimiter.slice(1))+e.description,"getDescription");function Hb(e,t=zt){if(e.length===0)return"";e[0].tokens.description===""&&e[0].tokens.delimiter===t.start&&(e=e.slice(1));let r=e[e.length-1];return r!==void 0&&r.tokens.description===""&&r.tokens.end.endsWith(t.end)&&(e=e.slice(0,-1)),e=e.slice(e.reduce(dj,0)),e.map(fj).join(` +`)}F(Hb,"preserveJoiner");function Jb({startLine:e=0,fence:t="```",spacing:r="compact",markers:n=zt,tokenizers:o=[qb(),Mb(r),$b(),zb(r)]}={}){if(e<0||e%1>0)throw new Error("Invalid startLine");let a=Bb({startLine:e,markers:n}),i=jb({fence:t}),s=Lb({tokenizers:o}),l=Gs(r);return function(u){let c=[];for(let d of Rb(u)){let y=a(d);if(y===null)continue;let f=i(y),h=f.slice(1).map(s);c.push({description:l(f[0],n),tags:h,source:y,problems:h.reduce((g,C)=>g.concat(C.problems),[])})}return c}}F(Jb,"getParser");function Gb(e){return e.start+e.delimiter+e.postDelimiter+e.tag+e.postTag+e.type+e.postType+e.name+e.postName+e.description+e.end+e.lineEnd}F(Gb,"join");function Wb(){return e=>e.source.map(({tokens:t})=>Gb(t)).join(` +`)}F(Wb,"getStringifier");var yj={line:0,start:0,delimiter:0,postDelimiter:0,tag:0,postTag:0,name:0,postName:0,type:0,postType:0,description:0,end:0,lineEnd:0},Nne=Object.keys(yj);function Kb(e,t={}){return Jb(t)(e)}F(Kb,"parse");var Bne=Wb();function Yb(e){return e!=null&&e.includes("@")}F(Yb,"containsJsDoc");function Xb(e){let t=`/** `+(e??"").split(` `).map(n=>` * ${n}`).join(` `)+` -*/`,r=t0(t,{spacing:"preserve"});if(!r||r.length===0)throw new Error("Cannot parse JSDoc tags.");return r[0]}b(n0,"parse");var xj={tags:["param","arg","argument","returns","ignore","deprecated"]},Ej=b((e,t=xj)=>{if(!r0(e))return{includesJsDoc:!1,ignore:!1};let r=n0(e),n=o0(r,t.tags);return n.ignore?{includesJsDoc:!0,ignore:!0}:{includesJsDoc:!0,ignore:!1,description:r.description.trim(),extractedTags:n}},"parseJsDoc");function o0(e,t){let r={params:null,deprecated:null,returns:null,ignore:!1};for(let n of e.tags)if(!(t!==void 0&&!t.includes(n.tag)))if(n.tag==="ignore"){r.ignore=!0;break}else switch(n.tag){case"param":case"arg":case"argument":{let o=i0(n);o!=null&&(r.params==null&&(r.params=[]),r.params.push(o));break}case"deprecated":{let o=s0(n);o!=null&&(r.deprecated=o);break}case"returns":{let o=l0(n);o!=null&&(r.returns=o);break}default:break}return r}b(o0,"extractJsDocTags");function a0(e){return e.replace(/[\.-]$/,"")}b(a0,"normaliseParamName");function i0(e){if(!e.name||e.name==="-")return null;let t=el(e.type);return{name:e.name,type:t,description:Zs(e.description),getPrettyName:b(()=>a0(e.name),"getPrettyName"),getTypeName:b(()=>t?tl(t):null,"getTypeName")}}b(i0,"extractParam");function s0(e){return e.name?Qs(e.name,e.description):null}b(s0,"extractDeprecated");function Qs(e,t){let r=e===""?t:`${e} ${t}`;return Zs(r)}b(Qs,"joinNameAndDescription");function Zs(e){let t=e.replace(/^- /g,"").trim();return t===""?null:t}b(Zs,"normaliseDescription");function l0(e){let t=el(e.type);return t?{type:t,description:Qs(e.name,e.description),getTypeName:b(()=>tl(t),"getTypeName")}:null}b(l0,"extractReturns");var Vt=(0,Xs.stringifyRules)(),wj=Vt.JsdocTypeObject;Vt.JsdocTypeAny=()=>"any";Vt.JsdocTypeObject=(e,t)=>`(${wj(e,t)})`;Vt.JsdocTypeOptional=(e,t)=>t(e.element);Vt.JsdocTypeNullable=(e,t)=>t(e.element);Vt.JsdocTypeNotNullable=(e,t)=>t(e.element);Vt.JsdocTypeUnion=(e,t)=>e.elements.map(t).join("|");function el(e){try{return(0,Xs.parse)(e,"typescript")}catch{return null}}b(el,"extractType");function tl(e){return(0,Xs.transform)(Vt,e)}b(tl,"extractTypeName");function rl(e){return e.length>90}b(rl,"isTooLongForTypeSummary");function u0(e){return e.length>50}b(u0,"isTooLongForDefaultValueSummary");function je(e,t){return e===t?{summary:e}:{summary:e,detail:t}}b(je,"createSummaryValue");var One=b(e=>e.replace(/\\r\\n/g,"\\n"),"normalizeNewlines");function nl({name:e,value:t,elements:r,raw:n}){return t??(r!=null?r.map(nl).join(" | "):n??e)}b(nl,"generateUnionElement");function c0({name:e,raw:t,elements:r}){return r!=null?je(r.map(nl).join(" | ")):t!=null?je(t.replace(/^\|\s*/,"")):je(e)}b(c0,"generateUnion");function p0({type:e,raw:t}){return t!=null?je(t):je(e)}b(p0,"generateFuncSignature");function d0({type:e,raw:t}){return t!=null?rl(t)?je(e,t):je(t):je(e)}b(d0,"generateObjectSignature");function f0(e){let{type:t}=e;return t==="object"?d0(e):p0(e)}b(f0,"generateSignature");function y0({name:e,raw:t}){return t!=null?rl(t)?je(e,t):je(t):je(e)}b(y0,"generateDefault");function h0(e){if(e==null)return null;switch(e.name){case"union":return c0(e);case"signature":return f0(e);default:return y0(e)}}b(h0,"createType");function m0(e,t){if(e!=null){let{value:r}=e;if(!fa(r))return u0(r)?je(t?.name,r):je(r)}return null}b(m0,"createDefaultValue");var Sj=b((e,t)=>{let{flowType:r,description:n,required:o,defaultValue:a}=t;return{name:e,type:h0(r),required:o,description:n,defaultValue:m0(a??null,r??null)}},"createFlowPropDef");function g0({tsType:e,required:t}){if(e==null)return null;let r=e.name;return t||(r=r.replace(" | undefined","")),je(["Array","Record","signature"].includes(e.name)?e.raw:r)}b(g0,"createType");function b0({defaultValue:e}){if(e!=null){let{value:t}=e;if(!fa(t))return je(t)}return null}b(b0,"createDefaultValue");var Aj=b((e,t)=>{let{description:r,required:n}=t;return{name:e,type:g0(t),required:n,description:r,defaultValue:b0(t)}},"createTsPropDef");function v0(e){return e!=null?je(e.name):null}b(v0,"createType");function x0(e){let{computed:t,func:r}=e;return typeof t>"u"&&typeof r>"u"}b(x0,"isReactDocgenTypescript");function E0(e){return e?e.name==="string"?!0:e.name==="enum"?Array.isArray(e.value)&&e.value.every(({value:t})=>typeof t=="string"&&t[0]==='"'&&t[t.length-1]==='"'):!1:!1}b(E0,"isStringValued");function w0(e,t){if(e!=null){let{value:r}=e;if(!fa(r))return x0(e)&&E0(t)?je(JSON.stringify(r)):je(r)}return null}b(w0,"createDefaultValue");function ol(e,t,r){let{description:n,required:o,defaultValue:a}=r;return{name:e,type:v0(t),required:o,description:n,defaultValue:w0(a,t)}}b(ol,"createBasicPropDef");function Wn(e,t){if(t?.includesJsDoc){let{description:r,extractedTags:n}=t;r!=null&&(e.description=t.description);let o={...n,params:n?.params?.map(a=>({name:a.getPrettyName(),description:a.description}))};Object.values(o).filter(Boolean).length>0&&(e.jsDocTags=o)}return e}b(Wn,"applyJsDocResult");var Tj=b((e,t,r)=>{let n=ol(e,t.type,t);return n.sbType=Ws(t),Wn(n,r)},"javaScriptFactory"),Cj=b((e,t,r)=>{let n=Aj(e,t);return n.sbType=Ws(t),Wn(n,r)},"tsFactory"),_j=b((e,t,r)=>{let n=Sj(e,t);return n.sbType=Ws(t),Wn(n,r)},"flowFactory"),Oj=b((e,t,r)=>{let n=ol(e,{name:"unknown"},t);return Wn(n,r)},"unknownFactory"),S0=b(e=>{switch(e){case"JavaScript":return Tj;case"TypeScript":return Cj;case"Flow":return _j;default:return Oj}},"getPropDefFactory"),A0=b(e=>e.type!=null?"JavaScript":e.flowType!=null?"Flow":e.tsType!=null?"TypeScript":"Unknown","getTypeSystem"),Ij=b(e=>{let t=A0(e[0]),r=S0(t);return e.map(n=>{let o=n;return n.type?.elements&&(o={...n,type:{...n.type,value:n.type.elements}}),al(o.name,o,t,r)})},"extractComponentSectionArray"),Pj=b(e=>{let t=Object.keys(e),r=A0(e[t[0]]),n=S0(r);return t.map(o=>{let a=e[o];return a!=null?al(o,a,r,n):null}).filter(Boolean)},"extractComponentSectionObject"),Ine=b((e,t)=>{let r=Fb(e,t);return Db(r)?Array.isArray(r)?Ij(r):Pj(r):[]},"extractComponentProps");function al(e,t,r,n){let o=Ej(t.description);return o.includesJsDoc&&o.ignore?null:{propDef:n(e,t,o),jsDocTags:o.extractedTags,docgenInfo:t,typeSystem:r}}b(al,"extractProp");function kj(e){return e!=null?jb(e):""}b(kj,"extractComponentDescription");var kne=b(e=>{let{component:t,argTypes:r,parameters:{docs:n={}}}=e,{extractArgTypes:o}=n,a=o&&t?o(t):{};return a?Ot(a,r):r},"enhanceArgTypes"),T0="storybook/docs",Rne=`${T0}/panel`;var Dne=`${T0}/snippet-rendered`,Rj=(e=>(e.AUTO="auto",e.CODE="code",e.DYNAMIC="dynamic",e))(Rj||{}),Dj=/(addons\/|addon-|addon-essentials\/)(docs|controls)/,Fne=b(e=>e.presetsList?.some(t=>Dj.test(t.name)),"hasDocsOrControls");S();A();T();S();A();T();var Wne=__STORYBOOK_CHANNELS__,{Channel:Kne,PostMessageTransport:Yne,WebsocketTransport:Xne,createBrowserChannel:Qne}=__STORYBOOK_CHANNELS__;var qv=rr({"../../node_modules/memoizerific/memoizerific.js"(e,t){(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"||typeof window<"u"?n=window:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return function r(n,o,a){function i(u,c){if(!o[u]){if(!n[u]){var d=typeof mn=="function"&&mn;if(!c&&d)return d(u,!0);if(s)return s(u,!0);var y=new Error("Cannot find module '"+u+"'");throw y.code="MODULE_NOT_FOUND",y}var f=o[u]={exports:{}};n[u][0].call(f.exports,function(h){var g=n[u][1][h];return i(g||h)},f,f.exports,r,n,o,a)}return o[u].exports}for(var s=typeof mn=="function"&&mn,l=0;l=0)return this.lastItem=this.list[s],this.list[s].val},a.prototype.set=function(i,s){var l;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(l=this.indexOf(i),l>=0?(this.lastItem=this.list[l],this.list[l].val=s,this):(this.lastItem={key:i,val:s},this.list.push(this.lastItem),this.size++,this))},a.prototype.delete=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),s=this.indexOf(i),s>=0)return this.size--,this.list.splice(s,1)[0]},a.prototype.has=function(i){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],!0):!1)},a.prototype.forEach=function(i,s){var l;for(l=0;l0&&(v[x]={cacheItem:h,arg:arguments[x]},O?i(d,v):d.push(v),d.length>u&&s(d.shift())),f.wasMemoized=O,f.numArgs=x+1,_};return f.limit=u,f.wasMemoized=!1,f.cache=c,f.lru=d,f}};function i(u,c){var d=u.length,y=c.length,f,h,g;for(h=0;h=0&&(d=u[f],y=d.cacheItem.get(d.arg),!y||!y.size);f--)d.cacheItem.delete(d.arg)}function l(u,c){return u===c||u!==u&&c!==c}},{"map-or-similar":1}]},{},[3])(3)})}}),xt=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof window<"u"?e=window:typeof self<"u"?e=self:e={},e})();function en(){return en=Object.assign?Object.assign.bind():function(e){for(var t=1;t{if(!Yb(e))return{includesJsDoc:!1,ignore:!1};let r=Xb(e),n=Qb(r,t.tags);return n.ignore?{includesJsDoc:!0,ignore:!0}:{includesJsDoc:!0,ignore:!1,description:r.description.trim(),extractedTags:n}},"parseJsDoc");function Qb(e,t){let r={params:null,deprecated:null,returns:null,ignore:!1};for(let n of e.tags)if(!(t!==void 0&&!t.includes(n.tag)))if(n.tag==="ignore"){r.ignore=!0;break}else switch(n.tag){case"param":case"arg":case"argument":{let o=e0(n);o!=null&&(r.params==null&&(r.params=[]),r.params.push(o));break}case"deprecated":{let o=t0(n);o!=null&&(r.deprecated=o);break}case"returns":{let o=r0(n);o!=null&&(r.returns=o);break}default:break}return r}F(Qb,"extractJsDocTags");function Zb(e){return e.replace(/[\.-]$/,"")}F(Zb,"normaliseParamName");function e0(e){if(!e.name||e.name==="-")return null;let t=Ys(e.type);return{name:e.name,type:t,description:Ks(e.description),getPrettyName:F(()=>Zb(e.name),"getPrettyName"),getTypeName:F(()=>t?Xs(t):null,"getTypeName")}}F(e0,"extractParam");function t0(e){return e.name?Ws(e.name,e.description):null}F(t0,"extractDeprecated");function Ws(e,t){let r=e===""?t:`${e} ${t}`;return Ks(r)}F(Ws,"joinNameAndDescription");function Ks(e){let t=e.replace(/^- /g,"").trim();return t===""?null:t}F(Ks,"normaliseDescription");function r0(e){let t=Ys(e.type);return t?{type:t,description:Ws(e.name,e.description),getTypeName:F(()=>Xs(t),"getTypeName")}:null}F(r0,"extractReturns");var Ht=(0,Ur.stringifyRules)(),gj=Ht.JsdocTypeObject;Ht.JsdocTypeAny=()=>"any";Ht.JsdocTypeObject=(e,t)=>`(${gj(e,t)})`;Ht.JsdocTypeOptional=(e,t)=>t(e.element);Ht.JsdocTypeNullable=(e,t)=>t(e.element);Ht.JsdocTypeNotNullable=(e,t)=>t(e.element);Ht.JsdocTypeUnion=(e,t)=>e.elements.map(t).join("|");function Ys(e){try{return(0,Ur.parse)(e,"typescript")}catch{return null}}F(Ys,"extractType");function Xs(e){return(0,Ur.transform)(Ht,e)}F(Xs,"extractTypeName");function Qs(e){return e.length>90}F(Qs,"isTooLongForTypeSummary");function n0(e){return e.length>50}F(n0,"isTooLongForDefaultValueSummary");function Re(e,t){return e===t?{summary:e}:{summary:e,detail:t}}F(Re,"createSummaryValue");var Lne=F(e=>e.replace(/\\r\\n/g,"\\n"),"normalizeNewlines");function o0(e,t){if(e!=null){let{value:r}=e;if(!ca(r))return n0(r)?Re(t?.name,r):Re(r)}return null}F(o0,"createDefaultValue");function Zs({name:e,value:t,elements:r,raw:n}){return t??(r!=null?r.map(Zs).join(" | "):n??e)}F(Zs,"generateUnionElement");function a0({name:e,raw:t,elements:r}){return r!=null?Re(r.map(Zs).join(" | ")):t!=null?Re(t.replace(/^\|\s*/,"")):Re(e)}F(a0,"generateUnion");function i0({type:e,raw:t}){return t!=null?Re(t):Re(e)}F(i0,"generateFuncSignature");function s0({type:e,raw:t}){return t!=null?Qs(t)?Re(e,t):Re(t):Re(e)}F(s0,"generateObjectSignature");function l0(e){let{type:t}=e;return t==="object"?s0(e):i0(e)}F(l0,"generateSignature");function u0({name:e,raw:t}){return t!=null?Qs(t)?Re(e,t):Re(t):Re(e)}F(u0,"generateDefault");function c0(e){if(e==null)return null;switch(e.name){case"union":return a0(e);case"signature":return l0(e);default:return u0(e)}}F(c0,"createType");var bj=F((e,t)=>{let{flowType:r,description:n,required:o,defaultValue:a}=t;return{name:e,type:c0(r),required:o,description:n,defaultValue:o0(a??null,r??null)}},"createFlowPropDef");function p0({defaultValue:e}){if(e!=null){let{value:t}=e;if(!ca(t))return Re(t)}return null}F(p0,"createDefaultValue");function d0({tsType:e,required:t}){if(e==null)return null;let r=e.name;return t||(r=r.replace(" | undefined","")),Re(["Array","Record","signature"].includes(e.name)?e.raw:r)}F(d0,"createType");var vj=F((e,t)=>{let{description:r,required:n}=t;return{name:e,type:d0(t),required:n,description:r,defaultValue:p0(t)}},"createTsPropDef");function f0(e){return e!=null?Re(e.name):null}F(f0,"createType");function y0(e){let{computed:t,func:r}=e;return typeof t>"u"&&typeof r>"u"}F(y0,"isReactDocgenTypescript");function h0(e){return e?e.name==="string"?!0:e.name==="enum"?Array.isArray(e.value)&&e.value.every(({value:t})=>typeof t=="string"&&t[0]==='"'&&t[t.length-1]==='"'):!1:!1}F(h0,"isStringValued");function m0(e,t){if(e!=null){let{value:r}=e;if(!ca(r))return y0(e)&&h0(t)?Re(JSON.stringify(r)):Re(r)}return null}F(m0,"createDefaultValue");function el(e,t,r){let{description:n,required:o,defaultValue:a}=r;return{name:e,type:f0(t),required:o,description:n,defaultValue:m0(a,t)}}F(el,"createBasicPropDef");function Ln(e,t){if(t?.includesJsDoc){let{description:r,extractedTags:n}=t;r!=null&&(e.description=t.description);let o={...n,params:n?.params?.map(a=>({name:a.getPrettyName(),description:a.description}))};Object.values(o).filter(Boolean).length>0&&(e.jsDocTags=o)}return e}F(Ln,"applyJsDocResult");var Ej=F((e,t,r)=>{let n=el(e,t.type,t);return n.sbType=Hs(t),Ln(n,r)},"javaScriptFactory"),xj=F((e,t,r)=>{let n=vj(e,t);return n.sbType=Hs(t),Ln(n,r)},"tsFactory"),wj=F((e,t,r)=>{let n=bj(e,t);return n.sbType=Hs(t),Ln(n,r)},"flowFactory"),Sj=F((e,t,r)=>{let n=el(e,{name:"unknown"},t);return Ln(n,r)},"unknownFactory"),g0=F(e=>{switch(e){case"JavaScript":return Ej;case"TypeScript":return xj;case"Flow":return wj;default:return Sj}},"getPropDefFactory"),b0=F(e=>e.type!=null?"JavaScript":e.flowType!=null?"Flow":e.tsType!=null?"TypeScript":"Unknown","getTypeSystem"),Aj=F(e=>{let t=b0(e[0]),r=g0(t);return e.map(n=>{let o=n;return n.type?.elements&&(o={...n,type:{...n.type,value:n.type.elements}}),tl(o.name,o,t,r)})},"extractComponentSectionArray"),Tj=F(e=>{let t=Object.keys(e),r=b0(e[t[0]]),n=g0(r);return t.map(o=>{let a=e[o];return a!=null?tl(o,a,r,n):null}).filter(Boolean)},"extractComponentSectionObject"),qne=F((e,t)=>{let r=Ob(e,t);return _b(r)?Array.isArray(r)?Aj(r):Tj(r):[]},"extractComponentProps");function tl(e,t,r,n){let o=mj(t.description);return o.includesJsDoc&&o.ignore?null:{propDef:n(e,t,o),jsDocTags:o.extractedTags,docgenInfo:t,typeSystem:r}}F(tl,"extractProp");function Cj(e){return e!=null?Ib(e):""}F(Cj,"extractComponentDescription");var Une=F(e=>{let{component:t,argTypes:r,parameters:{docs:n={}}}=e,{extractArgTypes:o}=n,a=o&&t?o(t):{};return a?Ct(a,r):r},"enhanceArgTypes"),v0="storybook/docs",$ne=`${v0}/panel`;var zne=`${v0}/snippet-rendered`,_j=(e=>(e.AUTO="auto",e.CODE="code",e.DYNAMIC="dynamic",e))(_j||{}),Oj=/(addons\/|addon-|addon-essentials\/)(docs|controls)/,Vne=F(e=>e.presetsList?.some(t=>Oj.test(t.name)),"hasDocsOrControls");w();S();A();w();S();A();var ooe=__STORYBOOK_CHANNELS__,{Channel:aoe,PostMessageTransport:ioe,WebsocketTransport:soe,createBrowserChannel:loe}=__STORYBOOK_CHANNELS__;var Dv=Yt({"../../node_modules/memoizerific/memoizerific.js"(e,t){(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"||typeof window<"u"?n=window:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return function r(n,o,a){function i(u,c){if(!o[u]){if(!n[u]){var d=typeof an=="function"&&an;if(!c&&d)return d(u,!0);if(s)return s(u,!0);var y=new Error("Cannot find module '"+u+"'");throw y.code="MODULE_NOT_FOUND",y}var f=o[u]={exports:{}};n[u][0].call(f.exports,function(h){var g=n[u][1][h];return i(g||h)},f,f.exports,r,n,o,a)}return o[u].exports}for(var s=typeof an=="function"&&an,l=0;l=0)return this.lastItem=this.list[s],this.list[s].val},a.prototype.set=function(i,s){var l;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(l=this.indexOf(i),l>=0?(this.lastItem=this.list[l],this.list[l].val=s,this):(this.lastItem={key:i,val:s},this.list.push(this.lastItem),this.size++,this))},a.prototype.delete=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),s=this.indexOf(i),s>=0)return this.size--,this.list.splice(s,1)[0]},a.prototype.has=function(i){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],!0):!1)},a.prototype.forEach=function(i,s){var l;for(l=0;l0&&(E[b]={cacheItem:h,arg:arguments[b]},_?i(d,E):d.push(E),d.length>u&&s(d.shift())),f.wasMemoized=_,f.numArgs=b+1,C};return f.limit=u,f.wasMemoized=!1,f.cache=c,f.lru=d,f}};function i(u,c){var d=u.length,y=c.length,f,h,g;for(h=0;h=0&&(d=u[f],y=d.cacheItem.get(d.arg),!y||!y.size);f--)d.cacheItem.delete(d.arg)}function l(u,c){return u===c||u!==u&&c!==c}},{"map-or-similar":1}]},{},[3])(3)})}});function Jr(){return Jr=Object.assign?Object.assign.bind():function(e){for(var t=1;t1?o-1:0),i=1;i=0&&o<1?(s=a,l=i):o>=1&&o<2?(s=i,l=a):o>=2&&o<3?(l=a,u=i):o>=3&&o<4?(l=i,u=a):o>=4&&o<5?(s=i,u=a):o>=5&&o<6&&(s=a,u=i);var c=r-a/2,d=s+c,y=l+c,f=u+c;return n(d,y,f)}var iv={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function HN(e){if(typeof e!="string")return e;var t=e.toLowerCase();return iv[t]?"#"+iv[t]:e}var GN=/^#[a-fA-F0-9]{6}$/,WN=/^#[a-fA-F0-9]{8}$/,KN=/^#[a-fA-F0-9]{3}$/,YN=/^#[a-fA-F0-9]{4}$/,ml=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,XN=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,QN=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,ZN=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function Ta(e){if(typeof e!="string")throw new Et(3);var t=HN(e);if(t.match(GN))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(WN)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(KN))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(YN)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var o=ml.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var a=XN.exec(t.substring(0,50));if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10),alpha:parseFloat(""+a[4])>1?parseFloat(""+a[4])/100:parseFloat(""+a[4])};var i=QN.exec(t);if(i){var s=parseInt(""+i[1],10),l=parseInt(""+i[2],10)/100,u=parseInt(""+i[3],10)/100,c="rgb("+eo(s,l,u)+")",d=ml.exec(c);if(!d)throw new Et(4,t,c);return{red:parseInt(""+d[1],10),green:parseInt(""+d[2],10),blue:parseInt(""+d[3],10)}}var y=ZN.exec(t.substring(0,50));if(y){var f=parseInt(""+y[1],10),h=parseInt(""+y[2],10)/100,g=parseInt(""+y[3],10)/100,_="rgb("+eo(f,h,g)+")",x=ml.exec(_);if(!x)throw new Et(4,t,_);return{red:parseInt(""+x[1],10),green:parseInt(""+x[2],10),blue:parseInt(""+x[3],10),alpha:parseFloat(""+y[4])>1?parseFloat(""+y[4])/100:parseFloat(""+y[4])}}throw new Et(5)}function e3(e){var t=e.red/255,r=e.green/255,n=e.blue/255,o=Math.max(t,r,n),a=Math.min(t,r,n),i=(o+a)/2;if(o===a)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var s,l=o-a,u=i>.5?l/(2-o-a):l/(o+a);switch(o){case t:s=(r-n)/l+(r=1?Aa(e,t,r):"rgba("+eo(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Aa(e.hue,e.saturation,e.lightness):"rgba("+eo(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Et(2)}function Pl(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return Il("#"+mr(e)+mr(t)+mr(r));if(typeof e=="object"&&t===void 0&&r===void 0)return Il("#"+mr(e.red)+mr(e.green)+mr(e.blue));throw new Et(6)}function Dt(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var o=Ta(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?Pl(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Pl(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Et(7)}var a3=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},i3=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},s3=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},l3=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function Jv(e){if(typeof e!="object")throw new Et(8);if(i3(e))return Dt(e);if(a3(e))return Pl(e);if(l3(e))return o3(e);if(s3(e))return n3(e);throw new Et(8)}function $v(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):$v(e,t,n)}}function Ca(e){return $v(e,e.length,[])}function _a(e,t,r){return Math.max(e,Math.min(t,r))}function u3(e,t){if(t==="transparent")return t;var r=Uv(t);return Jv(en({},r,{lightness:_a(0,1,r.lightness-parseFloat(e))}))}var c3=Ca(u3),vt=c3;function p3(e,t){if(t==="transparent")return t;var r=Uv(t);return Jv(en({},r,{lightness:_a(0,1,r.lightness+parseFloat(e))}))}var d3=Ca(p3),gr=d3;function f3(e,t){if(t==="transparent")return t;var r=Ta(t),n=typeof r.alpha=="number"?r.alpha:1,o=en({},r,{alpha:_a(0,1,(n*100+parseFloat(e)*100)/100)});return Dt(o)}var y3=Ca(f3),va=y3;function h3(e,t){if(t==="transparent")return t;var r=Ta(t),n=typeof r.alpha=="number"?r.alpha:1,o=en({},r,{alpha:_a(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return Dt(o)}var m3=Ca(h3),ve=m3,g3=Object.create,zv=Object.defineProperty,b3=Object.getOwnPropertyDescriptor,v3=Object.getOwnPropertyNames,x3=Object.getPrototypeOf,E3=Object.prototype.hasOwnProperty,w3=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),S3=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of v3(t))!E3.call(e,o)&&o!==r&&zv(e,o,{get:()=>t[o],enumerable:!(n=b3(t,o))||n.enumerable});return e},A3=(e,t,r)=>(r=e!=null?g3(x3(e)):{},S3(t||!e||!e.__esModule?zv(r,"default",{value:e,enumerable:!0}):r,e)),T3=w3(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=function(){var t=Object.prototype.toString,r=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(o){return Object.keys(o).concat(Object.getOwnPropertySymbols(o))}:Object.keys;return function(o,a){return function i(s,l,u){var c,d,y,f=t.call(s),h=t.call(l);if(s===l)return!0;if(s==null||l==null)return!1;if(u.indexOf(s)>-1&&u.indexOf(l)>-1)return!0;if(u.push(s,l),f!=h||(c=n(s),d=n(l),c.length!=d.length||c.some(function(g){return!i(s[g],l[g],u)})))return!1;switch(f.slice(8,-1)){case"Symbol":return s.valueOf()==l.valueOf();case"Date":case"Number":return+s==+l||+s!=+s&&+l!=+l;case"RegExp":case"Function":case"String":case"Boolean":return""+s==""+l;case"Set":case"Map":c=s.entries(),d=l.entries();do if(!i((y=c.next()).value,d.next().value,u))return!1;while(!y.done);return!0;case"ArrayBuffer":s=new Uint8Array(s),l=new Uint8Array(l);case"DataView":s=new Uint8Array(s.buffer),l=new Uint8Array(l.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(s.length!=l.length)return!1;for(y=0;ye.map(t=>typeof t<"u").filter(Boolean).length,C3=(e,t)=>{let{exists:r,eq:n,neq:o,truthy:a}=e;if(Vv([r,n,o,a])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:n,neq:o})}`);if(typeof n<"u")return(0,sv.isEqual)(t,n);if(typeof o<"u")return!(0,sv.isEqual)(t,o);if(typeof r<"u"){let i=typeof t<"u";return r?i:!i}return typeof a>"u"||a?!!t:!t},_3=(e,t,r)=>{if(!e.if)return!0;let{arg:n,global:o}=e.if;if(Vv([n,o])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:o})}`);let a=n?t[n]:r[o];return C3(e.if,a)};function br(){return br=Object.assign?Object.assign.bind():function(e){for(var t=1;t(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),pv={amp:"&",apos:"'",gt:">",lt:"<",nbsp:"\xA0",quot:"\u201C"},I3=["style","script"],P3=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,k3=/mailto:/i,R3=/\n{2,}$/,Hv=/^(\s*>[\s\S]*?)(?=\n{2,})/,D3=/^ *> ?/gm,F3=/^ {2,}\n/,j3=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,Gv=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,Wv=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,N3=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,B3=/^(?:\n *)*\n/,L3=/\r\n?/g,q3=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,M3=/^\[\^([^\]]+)]/,U3=/\f/g,J3=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,$3=/^\s*?\[(x|\s)\]/,Kv=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,Yv=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,Xv=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,kl=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,z3=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,Qv=/^)/,V3=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,Rl=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,H3=/^\{.*\}$/,G3=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,W3=/^<([^ >]+@[^ >]+)>/,K3=/^<([^ >]+:\/[^ >]+)>/,Y3=/-([a-z])?/gi,Zv=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,X3=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,Q3=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,Z3=/^\[([^\]]*)\] ?\[([^\]]*)\]/,eB=/(\[|\])/g,tB=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,rB=/\t/g,nB=/^ *\| */,oB=/(^ *\||\| *$)/g,aB=/ *$/,iB=/^ *:-+: *$/,sB=/^ *:-+ *$/,lB=/^ *-+: *$/,Oa="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",uB=new RegExp(`^([*_])\\1${Oa}\\1\\1(?!\\1)`),cB=new RegExp(`^([*_])${Oa}\\1(?!\\1|\\w)`),pB=new RegExp(`^==${Oa}==`),dB=new RegExp(`^~~${Oa}~~`),fB=/^\\([^0-9A-Za-z\s])/,yB=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,hB=/^\n+/,mB=/^([ \t]*)/,gB=/\\([^\\])/g,dv=/ *\n+$/,bB=/(?:^|\n)( *)$/,Nl="(?:\\d+\\.)",Bl="(?:[*+-])";function e2(e){return"( *)("+(e===1?Nl:Bl)+") +"}var t2=e2(1),r2=e2(2);function n2(e){return new RegExp("^"+(e===1?t2:r2))}var vB=n2(1),xB=n2(2);function o2(e){return new RegExp("^"+(e===1?t2:r2)+"[^\\n]*(?:\\n(?!\\1"+(e===1?Nl:Bl)+" )[^\\n]*)*(\\n|$)","gm")}var a2=o2(1),i2=o2(2);function s2(e){let t=e===1?Nl:Bl;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}var l2=s2(1),u2=s2(2);function fv(e,t){let r=t===1,n=r?l2:u2,o=r?a2:i2,a=r?vB:xB;return{match(i,s,l){let u=bB.exec(l);return u&&(s.list||!s.inline&&!s.simple)?n.exec(i=u[1]+i):null},order:1,parse(i,s,l){let u=r?+i[2]:void 0,c=i[0].replace(R3,` -`).match(o),d=!1;return{items:c.map(function(y,f){let h=a.exec(y)[0].length,g=new RegExp("^ {1,"+h+"}","gm"),_=y.replace(g,"").replace(a,""),x=f===c.length-1,v=_.indexOf(` +`};function qN(){for(var e=arguments.length,t=new Array(e),r=0;r1?o-1:0),i=1;i=0&&o<1?(s=a,l=i):o>=1&&o<2?(s=i,l=a):o>=2&&o<3?(l=a,u=i):o>=3&&o<4?(l=i,u=a):o>=4&&o<5?(s=i,u=a):o>=5&&o<6&&(s=a,u=i);var c=r-a/2,d=s+c,y=l+c,f=u+c;return n(d,y,f)}var ev={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function UN(e){if(typeof e!="string")return e;var t=e.toLowerCase();return ev[t]?"#"+ev[t]:e}var $N=/^#[a-fA-F0-9]{6}$/,zN=/^#[a-fA-F0-9]{8}$/,VN=/^#[a-fA-F0-9]{3}$/,HN=/^#[a-fA-F0-9]{4}$/,dl=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,JN=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,GN=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,WN=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function wa(e){if(typeof e!="string")throw new vt(3);var t=UN(e);if(t.match($N))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(zN)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(VN))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(HN)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var o=dl.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var a=JN.exec(t.substring(0,50));if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10),alpha:parseFloat(""+a[4])>1?parseFloat(""+a[4])/100:parseFloat(""+a[4])};var i=GN.exec(t);if(i){var s=parseInt(""+i[1],10),l=parseInt(""+i[2],10)/100,u=parseInt(""+i[3],10)/100,c="rgb("+Vn(s,l,u)+")",d=dl.exec(c);if(!d)throw new vt(4,t,c);return{red:parseInt(""+d[1],10),green:parseInt(""+d[2],10),blue:parseInt(""+d[3],10)}}var y=WN.exec(t.substring(0,50));if(y){var f=parseInt(""+y[1],10),h=parseInt(""+y[2],10)/100,g=parseInt(""+y[3],10)/100,C="rgb("+Vn(f,h,g)+")",b=dl.exec(C);if(!b)throw new vt(4,t,C);return{red:parseInt(""+b[1],10),green:parseInt(""+b[2],10),blue:parseInt(""+b[3],10),alpha:parseFloat(""+y[4])>1?parseFloat(""+y[4])/100:parseFloat(""+y[4])}}throw new vt(5)}function KN(e){var t=e.red/255,r=e.green/255,n=e.blue/255,o=Math.max(t,r,n),a=Math.min(t,r,n),i=(o+a)/2;if(o===a)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var s,l=o-a,u=i>.5?l/(2-o-a):l/(o+a);switch(o){case t:s=(r-n)/l+(r=1?xa(e,t,r):"rgba("+Vn(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?xa(e.hue,e.saturation,e.lightness):"rgba("+Vn(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new vt(2)}function Cl(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return Tl("#"+ur(e)+ur(t)+ur(r));if(typeof e=="object"&&t===void 0&&r===void 0)return Tl("#"+ur(e.red)+ur(e.green)+ur(e.blue));throw new vt(6)}function Pt(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var o=wa(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?Cl(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Cl(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new vt(7)}var e3=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},t3=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},r3=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},n3=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function Nv(e){if(typeof e!="object")throw new vt(8);if(t3(e))return Pt(e);if(e3(e))return Cl(e);if(n3(e))return ZN(e);if(r3(e))return QN(e);throw new vt(8)}function Bv(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):Bv(e,t,n)}}function Sa(e){return Bv(e,e.length,[])}function Aa(e,t,r){return Math.max(e,Math.min(t,r))}function o3(e,t){if(t==="transparent")return t;var r=jv(t);return Nv(Jr({},r,{lightness:Aa(0,1,r.lightness-parseFloat(e))}))}var a3=Sa(o3),bt=a3;function i3(e,t){if(t==="transparent")return t;var r=jv(t);return Nv(Jr({},r,{lightness:Aa(0,1,r.lightness+parseFloat(e))}))}var s3=Sa(i3),cr=s3;function l3(e,t){if(t==="transparent")return t;var r=wa(t),n=typeof r.alpha=="number"?r.alpha:1,o=Jr({},r,{alpha:Aa(0,1,(n*100+parseFloat(e)*100)/100)});return Pt(o)}var u3=Sa(l3),ma=u3;function c3(e,t){if(t==="transparent")return t;var r=wa(t),n=typeof r.alpha=="number"?r.alpha:1,o=Jr({},r,{alpha:Aa(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return Pt(o)}var p3=Sa(c3),xe=p3,d3=Object.create,Lv=Object.defineProperty,f3=Object.getOwnPropertyDescriptor,y3=Object.getOwnPropertyNames,h3=Object.getPrototypeOf,m3=Object.prototype.hasOwnProperty,g3=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),b3=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of y3(t))!m3.call(e,o)&&o!==r&&Lv(e,o,{get:()=>t[o],enumerable:!(n=f3(t,o))||n.enumerable});return e},v3=(e,t,r)=>(r=e!=null?d3(h3(e)):{},b3(t||!e||!e.__esModule?Lv(r,"default",{value:e,enumerable:!0}):r,e)),E3=g3(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=function(){var t=Object.prototype.toString,r=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(o){return Object.keys(o).concat(Object.getOwnPropertySymbols(o))}:Object.keys;return function(o,a){return function i(s,l,u){var c,d,y,f=t.call(s),h=t.call(l);if(s===l)return!0;if(s==null||l==null)return!1;if(u.indexOf(s)>-1&&u.indexOf(l)>-1)return!0;if(u.push(s,l),f!=h||(c=n(s),d=n(l),c.length!=d.length||c.some(function(g){return!i(s[g],l[g],u)})))return!1;switch(f.slice(8,-1)){case"Symbol":return s.valueOf()==l.valueOf();case"Date":case"Number":return+s==+l||+s!=+s&&+l!=+l;case"RegExp":case"Function":case"String":case"Boolean":return""+s==""+l;case"Set":case"Map":c=s.entries(),d=l.entries();do if(!i((y=c.next()).value,d.next().value,u))return!1;while(!y.done);return!0;case"ArrayBuffer":s=new Uint8Array(s),l=new Uint8Array(l);case"DataView":s=new Uint8Array(s.buffer),l=new Uint8Array(l.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(s.length!=l.length)return!1;for(y=0;ye.map(t=>typeof t<"u").filter(Boolean).length,x3=(e,t)=>{let{exists:r,eq:n,neq:o,truthy:a}=e;if(qv([r,n,o,a])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:n,neq:o})}`);if(typeof n<"u")return(0,tv.isEqual)(t,n);if(typeof o<"u")return!(0,tv.isEqual)(t,o);if(typeof r<"u"){let i=typeof t<"u";return r?i:!i}return typeof a>"u"||a?!!t:!t},w3=(e,t,r)=>{if(!e.if)return!0;let{arg:n,global:o}=e.if;if(qv([n,o])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:o})}`);let a=n?t[n]:r[o];return x3(e.if,a)};function pr(){return pr=Object.assign?Object.assign.bind():function(e){for(var t=1;t(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),av={amp:"&",apos:"'",gt:">",lt:"<",nbsp:"\xA0",quot:"\u201C"},A3=["style","script"],T3=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,C3=/mailto:/i,_3=/\n{2,}$/,Mv=/^(\s*>[\s\S]*?)(?=\n{2,})/,O3=/^ *> ?/gm,I3=/^ {2,}\n/,k3=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,Uv=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,$v=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,P3=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,R3=/^(?:\n *)*\n/,D3=/\r\n?/g,F3=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,j3=/^\[\^([^\]]+)]/,N3=/\f/g,B3=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,L3=/^\s*?\[(x|\s)\]/,zv=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,Vv=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,Hv=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,_l=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,q3=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,Jv=/^)/,M3=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,Ol=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,U3=/^\{.*\}$/,$3=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,z3=/^<([^ >]+@[^ >]+)>/,V3=/^<([^ >]+:\/[^ >]+)>/,H3=/-([a-z])?/gi,Gv=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,J3=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,G3=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,W3=/^\[([^\]]*)\] ?\[([^\]]*)\]/,K3=/(\[|\])/g,Y3=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,X3=/\t/g,Q3=/^ *\| */,Z3=/(^ *\||\| *$)/g,eB=/ *$/,tB=/^ *:-+: *$/,rB=/^ *:-+ *$/,nB=/^ *-+: *$/,Ta="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",oB=new RegExp(`^([*_])\\1${Ta}\\1\\1(?!\\1)`),aB=new RegExp(`^([*_])${Ta}\\1(?!\\1|\\w)`),iB=new RegExp(`^==${Ta}==`),sB=new RegExp(`^~~${Ta}~~`),lB=/^\\([^0-9A-Za-z\s])/,uB=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,cB=/^\n+/,pB=/^([ \t]*)/,dB=/\\([^\\])/g,iv=/ *\n+$/,fB=/(?:^|\n)( *)$/,Rl="(?:\\d+\\.)",Dl="(?:[*+-])";function Wv(e){return"( *)("+(e===1?Rl:Dl)+") +"}var Kv=Wv(1),Yv=Wv(2);function Xv(e){return new RegExp("^"+(e===1?Kv:Yv))}var yB=Xv(1),hB=Xv(2);function Qv(e){return new RegExp("^"+(e===1?Kv:Yv)+"[^\\n]*(?:\\n(?!\\1"+(e===1?Rl:Dl)+" )[^\\n]*)*(\\n|$)","gm")}var Zv=Qv(1),e2=Qv(2);function t2(e){let t=e===1?Rl:Dl;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}var r2=t2(1),n2=t2(2);function sv(e,t){let r=t===1,n=r?r2:n2,o=r?Zv:e2,a=r?yB:hB;return{match(i,s,l){let u=fB.exec(l);return u&&(s.list||!s.inline&&!s.simple)?n.exec(i=u[1]+i):null},order:1,parse(i,s,l){let u=r?+i[2]:void 0,c=i[0].replace(_3,` +`).match(o),d=!1;return{items:c.map(function(y,f){let h=a.exec(y)[0].length,g=new RegExp("^ {1,"+h+"}","gm"),C=y.replace(g,"").replace(a,""),b=f===c.length-1,E=C.indexOf(` -`)!==-1||x&&d;d=v;let O=l.inline,C=l.list,I;l.list=!0,v?(l.inline=!1,I=_.replace(dv,` +`)!==-1||b&&d;d=E;let _=l.inline,T=l.list,O;l.list=!0,E?(l.inline=!1,O=C.replace(iv,` -`)):(l.inline=!0,I=_.replace(dv,""));let P=s(I,l);return l.inline=O,l.list=C,P}),ordered:r,start:u}},render:(i,s,l)=>e(i.ordered?"ol":"ul",{key:l.key,start:i.type==="20"?i.start:void 0},i.items.map(function(u,c){return e("li",{key:c},s(u,l))}))}}var EB=new RegExp(`^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`),wB=/^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,c2=[Hv,Gv,Wv,Kv,Xv,Yv,Qv,Zv,a2,l2,i2,u2],SB=[...c2,/^[^\n]+(?: \n|\n{2,})/,kl,Rl];function AB(e){return e.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function TB(e){return lB.test(e)?"right":iB.test(e)?"center":sB.test(e)?"left":null}function yv(e,t,r){let n=r.inTable;r.inTable=!0;let o=t(e.trim(),r);r.inTable=n;let a=[[]];return o.forEach(function(i,s){i.type==="26"?s!==0&&s!==o.length-1&&a.push([]):(i.type!=="27"||o[s+1]!=null&&o[s+1].type!=="26"||(i.text=i.text.replace(aB,"")),a[a.length-1].push(i))}),a}function CB(e,t,r){r.inline=!0;let n=yv(e[1],t,r),o=e[2].replace(oB,"").split("|").map(TB),a=function(i,s,l){return i.trim().split(` -`).map(function(u){return yv(u,s,l)})}(e[3],t,r);return r.inline=!1,{align:o,cells:a,header:n,type:"25"}}function hv(e,t){return e.align[t]==null?{}:{textAlign:e.align[t]}}function Ht(e){return function(t,r){return r.inline?e.exec(t):null}}function Gt(e){return function(t,r){return r.inline||r.simple?e.exec(t):null}}function Rt(e){return function(t,r){return r.inline||r.simple?null:e.exec(t)}}function Xn(e){return function(t){return e.exec(t)}}function _B(e,t,r){if(t.inline||t.simple||r&&!r.endsWith(` +`)):(l.inline=!0,O=C.replace(iv,""));let I=s(O,l);return l.inline=_,l.list=T,I}),ordered:r,start:u}},render:(i,s,l)=>e(i.ordered?"ol":"ul",{key:l.key,start:i.type==="20"?i.start:void 0},i.items.map(function(u,c){return e("li",{key:c},s(u,l))}))}}var mB=new RegExp(`^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`),gB=/^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,o2=[Mv,Uv,$v,zv,Hv,Vv,Jv,Gv,Zv,r2,e2,n2],bB=[...o2,/^[^\n]+(?: \n|\n{2,})/,_l,Ol];function vB(e){return e.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function EB(e){return nB.test(e)?"right":tB.test(e)?"center":rB.test(e)?"left":null}function lv(e,t,r){let n=r.inTable;r.inTable=!0;let o=t(e.trim(),r);r.inTable=n;let a=[[]];return o.forEach(function(i,s){i.type==="26"?s!==0&&s!==o.length-1&&a.push([]):(i.type!=="27"||o[s+1]!=null&&o[s+1].type!=="26"||(i.text=i.text.replace(eB,"")),a[a.length-1].push(i))}),a}function xB(e,t,r){r.inline=!0;let n=lv(e[1],t,r),o=e[2].replace(Z3,"").split("|").map(EB),a=function(i,s,l){return i.trim().split(` +`).map(function(u){return lv(u,s,l)})}(e[3],t,r);return r.inline=!1,{align:o,cells:a,header:n,type:"25"}}function uv(e,t){return e.align[t]==null?{}:{textAlign:e.align[t]}}function Jt(e){return function(t,r){return r.inline?e.exec(t):null}}function Gt(e){return function(t,r){return r.inline||r.simple?e.exec(t):null}}function kt(e){return function(t,r){return r.inline||r.simple?null:e.exec(t)}}function Un(e){return function(t){return e.exec(t)}}function wB(e,t,r){if(t.inline||t.simple||r&&!r.endsWith(` `))return null;let n="";e.split(` -`).every(a=>!c2.some(i=>i.test(a))&&(n+=a+` -`,a.trim()));let o=n.trimEnd();return o==""?null:[n,o]}function Qr(e){try{if(decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return}catch{return null}return e}function mv(e){return e.replace(gB,"$1")}function Sa(e,t,r){let n=r.inline||!1,o=r.simple||!1;r.inline=!0,r.simple=!0;let a=e(t,r);return r.inline=n,r.simple=o,a}function OB(e,t,r){let n=r.inline||!1,o=r.simple||!1;r.inline=!1,r.simple=!0;let a=e(t,r);return r.inline=n,r.simple=o,a}function IB(e,t,r){return r.inline=!1,e(t,r)}var bl=(e,t,r)=>({children:Sa(t,e[1],r)});function vl(){return{}}function xl(){return null}function PB(...e){return e.filter(Boolean).join(" ")}function El(e,t,r){let n=e,o=t.split(".");for(;o.length&&(n=n[o[0]],n!==void 0);)o.shift();return n||r}function kB(e="",t={}){t.overrides=t.overrides||{},t.slugify=t.slugify||AB,t.namedCodesToUnicode=t.namedCodesToUnicode?br({},pv,t.namedCodesToUnicode):pv;let r=t.createElement||ja;function n(f,h,...g){let _=El(t.overrides,`${f}.props`,{});return r(function(x,v){let O=El(v,x);return O?typeof O=="function"||typeof O=="object"&&"render"in O?O:El(v,`${x}.component`,x):x}(f,t.overrides),br({},h,_,{className:PB(h?.className,_.className)||void 0}),...g)}function o(f){f=f.replace(J3,"");let h=!1;t.forceInline?h=!0:t.forceBlock||(h=tB.test(f)===!1);let g=c(u(h?f:`${f.trimEnd().replace(hB,"")} +`).every(a=>!o2.some(i=>i.test(a))&&(n+=a+` +`,a.trim()));let o=n.trimEnd();return o==""?null:[n,o]}function Vr(e){try{if(decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return}catch{return null}return e}function cv(e){return e.replace(dB,"$1")}function Ea(e,t,r){let n=r.inline||!1,o=r.simple||!1;r.inline=!0,r.simple=!0;let a=e(t,r);return r.inline=n,r.simple=o,a}function SB(e,t,r){let n=r.inline||!1,o=r.simple||!1;r.inline=!1,r.simple=!0;let a=e(t,r);return r.inline=n,r.simple=o,a}function AB(e,t,r){return r.inline=!1,e(t,r)}var yl=(e,t,r)=>({children:Ea(t,e[1],r)});function hl(){return{}}function ml(){return null}function TB(...e){return e.filter(Boolean).join(" ")}function gl(e,t,r){let n=e,o=t.split(".");for(;o.length&&(n=n[o[0]],n!==void 0);)o.shift();return n||r}function CB(e="",t={}){t.overrides=t.overrides||{},t.slugify=t.slugify||vB,t.namedCodesToUnicode=t.namedCodesToUnicode?pr({},av,t.namedCodesToUnicode):av;let r=t.createElement||Ra;function n(f,h,...g){let C=gl(t.overrides,`${f}.props`,{});return r(function(b,E){let _=gl(E,b);return _?typeof _=="function"||typeof _=="object"&&"render"in _?_:gl(E,`${b}.component`,b):b}(f,t.overrides),pr({},h,C,{className:TB(h?.className,C.className)||void 0}),...g)}function o(f){f=f.replace(B3,"");let h=!1;t.forceInline?h=!0:t.forceBlock||(h=Y3.test(f)===!1);let g=c(u(h?f:`${f.trimEnd().replace(cB,"")} -`,{inline:h}));for(;typeof g[g.length-1]=="string"&&!g[g.length-1].trim();)g.pop();if(t.wrapper===null)return g;let _=t.wrapper||(h?"span":"div"),x;if(g.length>1||t.forceWrapper)x=g;else{if(g.length===1)return x=g[0],typeof x=="string"?n("span",{key:"outer"},x):x;x=null}return ja(_,{key:"outer"},x)}function a(f){let h=f.match(P3);return h?h.reduce(function(g,_,x){let v=_.indexOf("=");if(v!==-1){let O=function(F){return F.indexOf("-")!==-1&&F.match(V3)===null&&(F=F.replace(Y3,function(D,U){return U.toUpperCase()})),F}(_.slice(0,v)).trim(),C=function(F){let D=F[0];return(D==='"'||D==="'")&&F.length>=2&&F[F.length-1]===D?F.slice(1,-1):F}(_.slice(v+1).trim()),I=cv[O]||O,P=g[I]=function(F,D){return F==="style"?D.split(/;\s?/).reduce(function(U,G){let X=G.slice(0,G.indexOf(":"));return U[X.trim().replace(/(-[a-z])/g,Q=>Q[1].toUpperCase())]=G.slice(X.length+1).trim(),U},{}):F==="href"||F==="src"?Qr(D):(D.match(H3)&&(D=D.slice(1,D.length-1)),D==="true"||D!=="false"&&D)}(O,C);typeof P=="string"&&(kl.test(P)||Rl.test(P))&&(g[I]=Oe(o(P.trim()),{key:x}))}else _!=="style"&&(g[cv[_]||_]=!0);return g},{}):null}let i=[],s={},l={0:{match:Rt(Hv),order:1,parse:(f,h,g)=>({children:h(f[0].replace(D3,""),g)}),render:(f,h,g)=>n("blockquote",{key:g.key},h(f.children,g))},1:{match:Xn(F3),order:1,parse:vl,render:(f,h,g)=>n("br",{key:g.key})},2:{match:Rt(j3),order:1,parse:vl,render:(f,h,g)=>n("hr",{key:g.key})},3:{match:Rt(Wv),order:0,parse:f=>({lang:void 0,text:f[0].replace(/^ {4}/gm,"").replace(/\n+$/,"")}),render:(f,h,g)=>n("pre",{key:g.key},n("code",br({},f.attrs,{className:f.lang?`lang-${f.lang}`:""}),f.text))},4:{match:Rt(Gv),order:0,parse:f=>({attrs:a(f[3]||""),lang:f[2]||void 0,text:f[4],type:"3"})},5:{match:Gt(N3),order:3,parse:f=>({text:f[2]}),render:(f,h,g)=>n("code",{key:g.key},f.text)},6:{match:Rt(q3),order:0,parse:f=>(i.push({footnote:f[2],identifier:f[1]}),{}),render:xl},7:{match:Ht(M3),order:1,parse:f=>({target:`#${t.slugify(f[1])}`,text:f[1]}),render:(f,h,g)=>n("a",{key:g.key,href:Qr(f.target)},n("sup",{key:g.key},f.text))},8:{match:Ht($3),order:1,parse:f=>({completed:f[1].toLowerCase()==="x"}),render:(f,h,g)=>n("input",{checked:f.completed,key:g.key,readOnly:!0,type:"checkbox"})},9:{match:Rt(t.enforceAtxHeadings?Yv:Kv),order:1,parse:(f,h,g)=>({children:Sa(h,f[2],g),id:t.slugify(f[2]),level:f[1].length}),render:(f,h,g)=>n(`h${f.level}`,{id:f.id,key:g.key},h(f.children,g))},10:{match:Rt(Xv),order:0,parse:(f,h,g)=>({children:Sa(h,f[1],g),level:f[2]==="="?1:2,type:"9"})},11:{match:Xn(kl),order:1,parse(f,h,g){let[,_]=f[3].match(mB),x=new RegExp(`^${_}`,"gm"),v=f[3].replace(x,""),O=(C=v,SB.some(D=>D.test(C))?IB:Sa);var C;let I=f[1].toLowerCase(),P=I3.indexOf(I)!==-1,F={attrs:a(f[2]),noInnerParse:P,tag:(P?I:f[1]).trim()};return g.inAnchor=g.inAnchor||I==="a",P?F.text=f[3]:F.children=O(h,v,g),g.inAnchor=!1,F},render:(f,h,g)=>n(f.tag,br({key:g.key},f.attrs),f.text||h(f.children,g))},13:{match:Xn(Rl),order:1,parse:f=>({attrs:a(f[2]||""),tag:f[1].trim()}),render:(f,h,g)=>n(f.tag,br({},f.attrs,{key:g.key}))},12:{match:Xn(Qv),order:1,parse:()=>({}),render:xl},14:{match:Gt(wB),order:1,parse:f=>({alt:f[1],target:mv(f[2]),title:f[3]}),render:(f,h,g)=>n("img",{key:g.key,alt:f.alt||void 0,title:f.title||void 0,src:Qr(f.target)})},15:{match:Ht(EB),order:3,parse:(f,h,g)=>({children:OB(h,f[1],g),target:mv(f[2]),title:f[3]}),render:(f,h,g)=>n("a",{key:g.key,href:Qr(f.target),title:f.title},h(f.children,g))},16:{match:Ht(K3),order:0,parse:f=>({children:[{text:f[1],type:"27"}],target:f[1],type:"15"})},17:{match:(f,h)=>h.inAnchor?null:Ht(G3)(f,h),order:0,parse:f=>({children:[{text:f[1],type:"27"}],target:f[1],title:void 0,type:"15"})},18:{match:Ht(W3),order:0,parse(f){let h=f[1],g=f[1];return k3.test(g)||(g="mailto:"+g),{children:[{text:h.replace("mailto:",""),type:"27"}],target:g,type:"15"}}},20:fv(n,1),33:fv(n,2),19:{match:Rt(B3),order:3,parse:vl,render:()=>` -`},21:{match:_B,order:3,parse:bl,render:(f,h,g)=>n("p",{key:g.key},h(f.children,g))},22:{match:Ht(X3),order:0,parse:f=>(s[f[1]]={target:f[2],title:f[4]},{}),render:xl},23:{match:Gt(Q3),order:0,parse:f=>({alt:f[1]||void 0,ref:f[2]}),render:(f,h,g)=>s[f.ref]?n("img",{key:g.key,alt:f.alt,src:Qr(s[f.ref].target),title:s[f.ref].title}):null},24:{match:Ht(Z3),order:0,parse:(f,h,g)=>({children:h(f[1],g),fallbackChildren:h(f[0].replace(eB,"\\$1"),g),ref:f[2]}),render:(f,h,g)=>s[f.ref]?n("a",{key:g.key,href:Qr(s[f.ref].target),title:s[f.ref].title},h(f.children,g)):n("span",{key:g.key},h(f.fallbackChildren,g))},25:{match:Rt(Zv),order:1,parse:CB,render:(f,h,g)=>n("table",{key:g.key},n("thead",null,n("tr",null,f.header.map(function(_,x){return n("th",{key:x,style:hv(f,x)},h(_,g))}))),n("tbody",null,f.cells.map(function(_,x){return n("tr",{key:x},_.map(function(v,O){return n("td",{key:O,style:hv(f,O)},h(v,g))}))})))},26:{match:function(f,h){return h.inTable?(h.inline=!0,nB.exec(f)):null},order:1,parse:function(){return{type:"26"}},render:()=>" | "},27:{match:Xn(yB),order:4,parse:f=>({text:f[0].replace(z3,(h,g)=>t.namedCodesToUnicode[g]?t.namedCodesToUnicode[g]:h)}),render:f=>f.text},28:{match:Gt(uB),order:2,parse:(f,h,g)=>({children:h(f[2],g)}),render:(f,h,g)=>n("strong",{key:g.key},h(f.children,g))},29:{match:Gt(cB),order:3,parse:(f,h,g)=>({children:h(f[2],g)}),render:(f,h,g)=>n("em",{key:g.key},h(f.children,g))},30:{match:Gt(fB),order:1,parse:f=>({text:f[1],type:"27"})},31:{match:Gt(pB),order:3,parse:bl,render:(f,h,g)=>n("mark",{key:g.key},h(f.children,g))},32:{match:Gt(dB),order:3,parse:bl,render:(f,h,g)=>n("del",{key:g.key},h(f.children,g))}};t.disableParsingRawHTML===!0&&(delete l[11],delete l[13]);let u=function(f){let h=Object.keys(f);function g(_,x){let v=[],O="";for(;_;){let C=0;for(;Cv(g,_,x),g,_,x):v(g,_,x)}}(l,t.renderRule),function f(h,g={}){if(Array.isArray(h)){let _=g.key,x=[],v=!1;for(let O=0;O{let{children:t="",options:r}=e,n=function(o,a){if(o==null)return{};var i,s,l={},u=Object.keys(o);for(s=0;s=0||(l[i]=o[i]);return l}(e,O3);return Oe(kB(t,r),n)},DB=gn(qv(),1),FB=Object.create,p2=Object.defineProperty,jB=Object.getOwnPropertyDescriptor,d2=Object.getOwnPropertyNames,NB=Object.getPrototypeOf,BB=Object.prototype.hasOwnProperty,ct=(e,t)=>function(){return t||(0,e[d2(e)[0]])((t={exports:{}}).exports,t),t.exports},LB=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of d2(t))!BB.call(e,o)&&o!==r&&p2(e,o,{get:()=>t[o],enumerable:!(n=jB(t,o))||n.enumerable});return e},Ll=(e,t,r)=>(r=e!=null?FB(NB(e)):{},LB(t||!e||!e.__esModule?p2(r,"default",{value:e,enumerable:!0}):r,e)),qB=gn(qv(),1),f2=ct({"node_modules/has-symbols/shams.js"(e,t){t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),o=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var a=42;r[n]=a;for(n in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var i=Object.getOwnPropertySymbols(r);if(i.length!==1||i[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(r,n);if(s.value!==a||s.enumerable!==!0)return!1}return!0}}}),y2=ct({"node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=f2();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),MB=ct({"node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,o=Object.prototype.toString,a="[object Function]";t.exports=function(i){var s=this;if(typeof s!="function"||o.call(s)!==a)throw new TypeError(r+s);for(var l=n.call(arguments,1),u,c=function(){if(this instanceof u){var g=s.apply(this,l.concat(n.call(arguments)));return Object(g)===g?g:this}else return s.apply(i,l.concat(n.call(arguments)))},d=Math.max(0,s.length-l.length),y=[],f=0;f"u"?r:d(Uint8Array),h={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":c?d([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":y,"%AsyncGenerator%":y,"%AsyncGeneratorFunction%":y,"%AsyncIteratorPrototype%":y,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":y,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":c?d(d([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!c?r:d(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!c?r:d(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":c?d(""[Symbol.iterator]()):r,"%Symbol%":c?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":u,"%TypedArray%":f,"%TypeError%":a,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},g=function Q(V){var R;if(V==="%AsyncFunction%")R=i("async function () {}");else if(V==="%GeneratorFunction%")R=i("function* () {}");else if(V==="%AsyncGeneratorFunction%")R=i("async function* () {}");else if(V==="%AsyncGenerator%"){var q=Q("%AsyncGeneratorFunction%");q&&(R=q.prototype)}else if(V==="%AsyncIteratorPrototype%"){var M=Q("%AsyncGenerator%");M&&(R=d(M.prototype))}return h[V]=R,R},_={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},x=ql(),v=UB(),O=x.call(Function.call,Array.prototype.concat),C=x.call(Function.apply,Array.prototype.splice),I=x.call(Function.call,String.prototype.replace),P=x.call(Function.call,String.prototype.slice),F=x.call(Function.call,RegExp.prototype.exec),D=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,U=/\\(\\)?/g,G=function(Q){var V=P(Q,0,1),R=P(Q,-1);if(V==="%"&&R!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(R==="%"&&V!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var q=[];return I(Q,D,function(M,Y,te,ne){q[q.length]=te?I(ne,U,"$1"):Y||M}),q},X=function(Q,V){var R=Q,q;if(v(_,R)&&(q=_[R],R="%"+q[0]+"%"),v(h,R)){var M=h[R];if(M===y&&(M=g(R)),typeof M>"u"&&!V)throw new a("intrinsic "+Q+" exists, but is not available. Please file an issue!");return{alias:q,name:R,value:M}}throw new n("intrinsic "+Q+" does not exist!")};t.exports=function(Q,V){if(typeof Q!="string"||Q.length===0)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof V!="boolean")throw new a('"allowMissing" argument must be a boolean');if(F(/^%?[^%]*%?$/,Q)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var R=G(Q),q=R.length>0?R[0]:"",M=X("%"+q+"%",V),Y=M.name,te=M.value,ne=!1,re=M.alias;re&&(q=re[0],C(R,O([0,1],re)));for(var Z=1,ae=!0;Z=R.length){var we=s(te,le);ae=!!we,ae&&"get"in we&&!("originalValue"in we.get)?te=we.get:te=te[le]}else ae=v(te,le),te=te[le];ae&&!ne&&(h[Y]=te)}}return te}}}),JB=ct({"node_modules/call-bind/index.js"(e,t){var r=ql(),n=h2(),o=n("%Function.prototype.apply%"),a=n("%Function.prototype.call%"),i=n("%Reflect.apply%",!0)||r.call(a,o),s=n("%Object.getOwnPropertyDescriptor%",!0),l=n("%Object.defineProperty%",!0),u=n("%Math.max%");if(l)try{l({},"a",{value:1})}catch{l=null}t.exports=function(d){var y=i(r,a,arguments);if(s&&l){var f=s(y,"length");f.configurable&&l(y,"length",{value:1+u(0,d.length-(arguments.length-1))})}return y};var c=function(){return i(r,o,arguments)};l?l(t.exports,"apply",{value:c}):t.exports.apply=c}}),$B=ct({"node_modules/call-bind/callBound.js"(e,t){var r=h2(),n=JB(),o=n(r("String.prototype.indexOf"));t.exports=function(a,i){var s=r(a,!!i);return typeof s=="function"&&o(a,".prototype.")>-1?n(s):s}}}),zB=ct({"node_modules/has-tostringtag/shams.js"(e,t){var r=f2();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),VB=ct({"node_modules/is-regex/index.js"(e,t){var r=$B(),n=zB()(),o,a,i,s;n&&(o=r("Object.prototype.hasOwnProperty"),a=r("RegExp.prototype.exec"),i={},l=function(){throw i},s={toString:l,valueOf:l},typeof Symbol.toPrimitive=="symbol"&&(s[Symbol.toPrimitive]=l));var l,u=r("Object.prototype.toString"),c=Object.getOwnPropertyDescriptor,d="[object RegExp]";t.exports=n?function(y){if(!y||typeof y!="object")return!1;var f=c(y,"lastIndex"),h=f&&o(f,"value");if(!h)return!1;try{a(y,s)}catch(g){return g===i}}:function(y){return!y||typeof y!="object"&&typeof y!="function"?!1:u(y)===d}}}),HB=ct({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(o){if(!o)return!1;var a=r.call(o);return a==="[object Function]"||typeof o=="function"&&a!=="[object RegExp]"||typeof window<"u"&&(o===window.setTimeout||o===window.alert||o===window.confirm||o===window.prompt)}}}),GB=ct({"node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,n=y2()();n?(o=Symbol.prototype.toString,a=/^Symbol\(.*\)$/,i=function(s){return typeof s.valueOf()!="symbol"?!1:a.test(o.call(s))},t.exports=function(s){if(typeof s=="symbol")return!0;if(r.call(s)!=="[object Symbol]")return!1;try{return i(s)}catch{return!1}}):t.exports=function(s){return!1};var o,a,i}});Ll(VB());Ll(HB());Ll(GB());var WB=typeof window=="object"&&window&&window.Object===Object&&window,KB=WB,YB=typeof self=="object"&&self&&self.Object===Object&&self,XB=KB||YB||Function("return this")(),Ml=XB,QB=Ml.Symbol,tn=QB,m2=Object.prototype,ZB=m2.hasOwnProperty,eL=m2.toString,Qn=tn?tn.toStringTag:void 0;function tL(e){var t=ZB.call(e,Qn),r=e[Qn];try{e[Qn]=void 0;var n=!0}catch{}var o=eL.call(e);return n&&(t?e[Qn]=r:delete e[Qn]),o}var rL=tL,nL=Object.prototype,oL=nL.toString;function aL(e){return oL.call(e)}var iL=aL,sL="[object Null]",lL="[object Undefined]",gv=tn?tn.toStringTag:void 0;function uL(e){return e==null?e===void 0?lL:sL:gv&&gv in Object(e)?rL(e):iL(e)}var cL=uL,bv=tn?tn.prototype:void 0;bv&&bv.toString;function pL(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var g2=pL,dL="[object AsyncFunction]",fL="[object Function]",yL="[object GeneratorFunction]",hL="[object Proxy]";function mL(e){if(!g2(e))return!1;var t=cL(e);return t==fL||t==yL||t==dL||t==hL}var gL=mL,bL=Ml["__core-js_shared__"],wl=bL,vv=function(){var e=/[^.]+$/.exec(wl&&wl.keys&&wl.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function vL(e){return!!vv&&vv in e}var xL=vL,EL=Function.prototype,wL=EL.toString;function SL(e){if(e!=null){try{return wL.call(e)}catch{}try{return e+""}catch{}}return""}var AL=SL,TL=/[\\^$.*+?()[\]{}|]/g,CL=/^\[object .+?Constructor\]$/,_L=Function.prototype,OL=Object.prototype,IL=_L.toString,PL=OL.hasOwnProperty,kL=RegExp("^"+IL.call(PL).replace(TL,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function RL(e){if(!g2(e)||xL(e))return!1;var t=gL(e)?kL:CL;return t.test(AL(e))}var DL=RL;function FL(e,t){return e?.[t]}var jL=FL;function NL(e,t){var r=jL(e,t);return DL(r)?r:void 0}var b2=NL;function BL(e,t){return e===t||e!==e&&t!==t}var LL=BL,qL=b2(Object,"create"),to=qL;function ML(){this.__data__=to?to(null):{},this.size=0}var UL=ML;function JL(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var $L=JL,zL="__lodash_hash_undefined__",VL=Object.prototype,HL=VL.hasOwnProperty;function GL(e){var t=this.__data__;if(to){var r=t[e];return r===zL?void 0:r}return HL.call(t,e)?t[e]:void 0}var WL=GL,KL=Object.prototype,YL=KL.hasOwnProperty;function XL(e){var t=this.__data__;return to?t[e]!==void 0:YL.call(t,e)}var QL=XL,ZL="__lodash_hash_undefined__";function eq(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=to&&t===void 0?ZL:t,this}var tq=eq;function rn(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}var dq=pq;function fq(e,t){var r=this.__data__,n=Ia(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var yq=fq;function nn(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{let t=null,r=!1,n=!1,o=!1,a="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let i=0;i1||t.forceWrapper)b=g;else{if(g.length===1)return b=g[0],typeof b=="string"?n("span",{key:"outer"},b):b;b=null}return Ra(C,{key:"outer"},b)}function a(f){let h=f.match(T3);return h?h.reduce(function(g,C,b){let E=C.indexOf("=");if(E!==-1){let _=function(D){return D.indexOf("-")!==-1&&D.match(M3)===null&&(D=D.replace(H3,function(R,M){return M.toUpperCase()})),D}(C.slice(0,E)).trim(),T=function(D){let R=D[0];return(R==='"'||R==="'")&&D.length>=2&&D[D.length-1]===R?D.slice(1,-1):D}(C.slice(E+1).trim()),O=ov[_]||_,I=g[O]=function(D,R){return D==="style"?R.split(/;\s?/).reduce(function(M,z){let Y=z.slice(0,z.indexOf(":"));return M[Y.trim().replace(/(-[a-z])/g,Z=>Z[1].toUpperCase())]=z.slice(Y.length+1).trim(),M},{}):D==="href"||D==="src"?Vr(R):(R.match(U3)&&(R=R.slice(1,R.length-1)),R==="true"||R!=="false"&&R)}(_,T);typeof I=="string"&&(_l.test(I)||Ol.test(I))&&(g[O]=Ae(o(I.trim()),{key:b}))}else C!=="style"&&(g[ov[C]||C]=!0);return g},{}):null}let i=[],s={},l={0:{match:kt(Mv),order:1,parse:(f,h,g)=>({children:h(f[0].replace(O3,""),g)}),render:(f,h,g)=>n("blockquote",{key:g.key},h(f.children,g))},1:{match:Un(I3),order:1,parse:hl,render:(f,h,g)=>n("br",{key:g.key})},2:{match:kt(k3),order:1,parse:hl,render:(f,h,g)=>n("hr",{key:g.key})},3:{match:kt($v),order:0,parse:f=>({lang:void 0,text:f[0].replace(/^ {4}/gm,"").replace(/\n+$/,"")}),render:(f,h,g)=>n("pre",{key:g.key},n("code",pr({},f.attrs,{className:f.lang?`lang-${f.lang}`:""}),f.text))},4:{match:kt(Uv),order:0,parse:f=>({attrs:a(f[3]||""),lang:f[2]||void 0,text:f[4],type:"3"})},5:{match:Gt(P3),order:3,parse:f=>({text:f[2]}),render:(f,h,g)=>n("code",{key:g.key},f.text)},6:{match:kt(F3),order:0,parse:f=>(i.push({footnote:f[2],identifier:f[1]}),{}),render:ml},7:{match:Jt(j3),order:1,parse:f=>({target:`#${t.slugify(f[1])}`,text:f[1]}),render:(f,h,g)=>n("a",{key:g.key,href:Vr(f.target)},n("sup",{key:g.key},f.text))},8:{match:Jt(L3),order:1,parse:f=>({completed:f[1].toLowerCase()==="x"}),render:(f,h,g)=>n("input",{checked:f.completed,key:g.key,readOnly:!0,type:"checkbox"})},9:{match:kt(t.enforceAtxHeadings?Vv:zv),order:1,parse:(f,h,g)=>({children:Ea(h,f[2],g),id:t.slugify(f[2]),level:f[1].length}),render:(f,h,g)=>n(`h${f.level}`,{id:f.id,key:g.key},h(f.children,g))},10:{match:kt(Hv),order:0,parse:(f,h,g)=>({children:Ea(h,f[1],g),level:f[2]==="="?1:2,type:"9"})},11:{match:Un(_l),order:1,parse(f,h,g){let[,C]=f[3].match(pB),b=new RegExp(`^${C}`,"gm"),E=f[3].replace(b,""),_=(T=E,bB.some(R=>R.test(T))?AB:Ea);var T;let O=f[1].toLowerCase(),I=A3.indexOf(O)!==-1,D={attrs:a(f[2]),noInnerParse:I,tag:(I?O:f[1]).trim()};return g.inAnchor=g.inAnchor||O==="a",I?D.text=f[3]:D.children=_(h,E,g),g.inAnchor=!1,D},render:(f,h,g)=>n(f.tag,pr({key:g.key},f.attrs),f.text||h(f.children,g))},13:{match:Un(Ol),order:1,parse:f=>({attrs:a(f[2]||""),tag:f[1].trim()}),render:(f,h,g)=>n(f.tag,pr({},f.attrs,{key:g.key}))},12:{match:Un(Jv),order:1,parse:()=>({}),render:ml},14:{match:Gt(gB),order:1,parse:f=>({alt:f[1],target:cv(f[2]),title:f[3]}),render:(f,h,g)=>n("img",{key:g.key,alt:f.alt||void 0,title:f.title||void 0,src:Vr(f.target)})},15:{match:Jt(mB),order:3,parse:(f,h,g)=>({children:SB(h,f[1],g),target:cv(f[2]),title:f[3]}),render:(f,h,g)=>n("a",{key:g.key,href:Vr(f.target),title:f.title},h(f.children,g))},16:{match:Jt(V3),order:0,parse:f=>({children:[{text:f[1],type:"27"}],target:f[1],type:"15"})},17:{match:(f,h)=>h.inAnchor?null:Jt($3)(f,h),order:0,parse:f=>({children:[{text:f[1],type:"27"}],target:f[1],title:void 0,type:"15"})},18:{match:Jt(z3),order:0,parse(f){let h=f[1],g=f[1];return C3.test(g)||(g="mailto:"+g),{children:[{text:h.replace("mailto:",""),type:"27"}],target:g,type:"15"}}},20:sv(n,1),33:sv(n,2),19:{match:kt(R3),order:3,parse:hl,render:()=>` +`},21:{match:wB,order:3,parse:yl,render:(f,h,g)=>n("p",{key:g.key},h(f.children,g))},22:{match:Jt(J3),order:0,parse:f=>(s[f[1]]={target:f[2],title:f[4]},{}),render:ml},23:{match:Gt(G3),order:0,parse:f=>({alt:f[1]||void 0,ref:f[2]}),render:(f,h,g)=>s[f.ref]?n("img",{key:g.key,alt:f.alt,src:Vr(s[f.ref].target),title:s[f.ref].title}):null},24:{match:Jt(W3),order:0,parse:(f,h,g)=>({children:h(f[1],g),fallbackChildren:h(f[0].replace(K3,"\\$1"),g),ref:f[2]}),render:(f,h,g)=>s[f.ref]?n("a",{key:g.key,href:Vr(s[f.ref].target),title:s[f.ref].title},h(f.children,g)):n("span",{key:g.key},h(f.fallbackChildren,g))},25:{match:kt(Gv),order:1,parse:xB,render:(f,h,g)=>n("table",{key:g.key},n("thead",null,n("tr",null,f.header.map(function(C,b){return n("th",{key:b,style:uv(f,b)},h(C,g))}))),n("tbody",null,f.cells.map(function(C,b){return n("tr",{key:b},C.map(function(E,_){return n("td",{key:_,style:uv(f,_)},h(E,g))}))})))},26:{match:function(f,h){return h.inTable?(h.inline=!0,Q3.exec(f)):null},order:1,parse:function(){return{type:"26"}},render:()=>" | "},27:{match:Un(uB),order:4,parse:f=>({text:f[0].replace(q3,(h,g)=>t.namedCodesToUnicode[g]?t.namedCodesToUnicode[g]:h)}),render:f=>f.text},28:{match:Gt(oB),order:2,parse:(f,h,g)=>({children:h(f[2],g)}),render:(f,h,g)=>n("strong",{key:g.key},h(f.children,g))},29:{match:Gt(aB),order:3,parse:(f,h,g)=>({children:h(f[2],g)}),render:(f,h,g)=>n("em",{key:g.key},h(f.children,g))},30:{match:Gt(lB),order:1,parse:f=>({text:f[1],type:"27"})},31:{match:Gt(iB),order:3,parse:yl,render:(f,h,g)=>n("mark",{key:g.key},h(f.children,g))},32:{match:Gt(sB),order:3,parse:yl,render:(f,h,g)=>n("del",{key:g.key},h(f.children,g))}};t.disableParsingRawHTML===!0&&(delete l[11],delete l[13]);let u=function(f){let h=Object.keys(f);function g(C,b){let E=[],_="";for(;C;){let T=0;for(;TE(g,C,b),g,C,b):E(g,C,b)}}(l,t.renderRule),function f(h,g={}){if(Array.isArray(h)){let C=g.key,b=[],E=!1;for(let _=0;_{let{children:t="",options:r}=e,n=function(o,a){if(o==null)return{};var i,s,l={},u=Object.keys(o);for(s=0;s=0||(l[i]=o[i]);return l}(e,S3);return Ae(CB(t,r),n)},OB=sn(Dv(),1),IB=Object.create,a2=Object.defineProperty,kB=Object.getOwnPropertyDescriptor,i2=Object.getOwnPropertyNames,PB=Object.getPrototypeOf,RB=Object.prototype.hasOwnProperty,st=(e,t)=>function(){return t||(0,e[i2(e)[0]])((t={exports:{}}).exports,t),t.exports},DB=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of i2(t))!RB.call(e,o)&&o!==r&&a2(e,o,{get:()=>t[o],enumerable:!(n=kB(t,o))||n.enumerable});return e},Fl=(e,t,r)=>(r=e!=null?IB(PB(e)):{},DB(t||!e||!e.__esModule?a2(r,"default",{value:e,enumerable:!0}):r,e)),FB=sn(Dv(),1),s2=st({"node_modules/has-symbols/shams.js"(e,t){t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),o=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var a=42;r[n]=a;for(n in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var i=Object.getOwnPropertySymbols(r);if(i.length!==1||i[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(r,n);if(s.value!==a||s.enumerable!==!0)return!1}return!0}}}),l2=st({"node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=s2();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),jB=st({"node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,o=Object.prototype.toString,a="[object Function]";t.exports=function(i){var s=this;if(typeof s!="function"||o.call(s)!==a)throw new TypeError(r+s);for(var l=n.call(arguments,1),u,c=function(){if(this instanceof u){var g=s.apply(this,l.concat(n.call(arguments)));return Object(g)===g?g:this}else return s.apply(i,l.concat(n.call(arguments)))},d=Math.max(0,s.length-l.length),y=[],f=0;f"u"?r:d(Uint8Array),h={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":c?d([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":y,"%AsyncGenerator%":y,"%AsyncGeneratorFunction%":y,"%AsyncIteratorPrototype%":y,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":y,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":c?d(d([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!c?r:d(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!c?r:d(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":c?d(""[Symbol.iterator]()):r,"%Symbol%":c?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":u,"%TypedArray%":f,"%TypeError%":a,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},g=function Z(V){var P;if(V==="%AsyncFunction%")P=i("async function () {}");else if(V==="%GeneratorFunction%")P=i("function* () {}");else if(V==="%AsyncGeneratorFunction%")P=i("async function* () {}");else if(V==="%AsyncGenerator%"){var q=Z("%AsyncGeneratorFunction%");q&&(P=q.prototype)}else if(V==="%AsyncIteratorPrototype%"){var J=Z("%AsyncGenerator%");J&&(P=d(J.prototype))}return h[V]=P,P},C={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},b=jl(),E=NB(),_=b.call(Function.call,Array.prototype.concat),T=b.call(Function.apply,Array.prototype.splice),O=b.call(Function.call,String.prototype.replace),I=b.call(Function.call,String.prototype.slice),D=b.call(Function.call,RegExp.prototype.exec),R=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,M=/\\(\\)?/g,z=function(Z){var V=I(Z,0,1),P=I(Z,-1);if(V==="%"&&P!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(P==="%"&&V!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var q=[];return O(Z,R,function(J,X,te,re){q[q.length]=te?O(re,M,"$1"):X||J}),q},Y=function(Z,V){var P=Z,q;if(E(C,P)&&(q=C[P],P="%"+q[0]+"%"),E(h,P)){var J=h[P];if(J===y&&(J=g(P)),typeof J>"u"&&!V)throw new a("intrinsic "+Z+" exists, but is not available. Please file an issue!");return{alias:q,name:P,value:J}}throw new n("intrinsic "+Z+" does not exist!")};t.exports=function(Z,V){if(typeof Z!="string"||Z.length===0)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof V!="boolean")throw new a('"allowMissing" argument must be a boolean');if(D(/^%?[^%]*%?$/,Z)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var P=z(Z),q=P.length>0?P[0]:"",J=Y("%"+q+"%",V),X=J.name,te=J.value,re=!1,ee=J.alias;ee&&(q=ee[0],T(P,_([0,1],ee)));for(var oe=1,ie=!0;oe=P.length){var ye=s(te,ce);ie=!!ye,ie&&"get"in ye&&!("originalValue"in ye.get)?te=ye.get:te=te[ce]}else ie=E(te,ce),te=te[ce];ie&&!re&&(h[X]=te)}}return te}}}),BB=st({"node_modules/call-bind/index.js"(e,t){var r=jl(),n=u2(),o=n("%Function.prototype.apply%"),a=n("%Function.prototype.call%"),i=n("%Reflect.apply%",!0)||r.call(a,o),s=n("%Object.getOwnPropertyDescriptor%",!0),l=n("%Object.defineProperty%",!0),u=n("%Math.max%");if(l)try{l({},"a",{value:1})}catch{l=null}t.exports=function(d){var y=i(r,a,arguments);if(s&&l){var f=s(y,"length");f.configurable&&l(y,"length",{value:1+u(0,d.length-(arguments.length-1))})}return y};var c=function(){return i(r,o,arguments)};l?l(t.exports,"apply",{value:c}):t.exports.apply=c}}),LB=st({"node_modules/call-bind/callBound.js"(e,t){var r=u2(),n=BB(),o=n(r("String.prototype.indexOf"));t.exports=function(a,i){var s=r(a,!!i);return typeof s=="function"&&o(a,".prototype.")>-1?n(s):s}}}),qB=st({"node_modules/has-tostringtag/shams.js"(e,t){var r=s2();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),MB=st({"node_modules/is-regex/index.js"(e,t){var r=LB(),n=qB()(),o,a,i,s;n&&(o=r("Object.prototype.hasOwnProperty"),a=r("RegExp.prototype.exec"),i={},l=function(){throw i},s={toString:l,valueOf:l},typeof Symbol.toPrimitive=="symbol"&&(s[Symbol.toPrimitive]=l));var l,u=r("Object.prototype.toString"),c=Object.getOwnPropertyDescriptor,d="[object RegExp]";t.exports=n?function(y){if(!y||typeof y!="object")return!1;var f=c(y,"lastIndex"),h=f&&o(f,"value");if(!h)return!1;try{a(y,s)}catch(g){return g===i}}:function(y){return!y||typeof y!="object"&&typeof y!="function"?!1:u(y)===d}}}),UB=st({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(o){if(!o)return!1;var a=r.call(o);return a==="[object Function]"||typeof o=="function"&&a!=="[object RegExp]"||typeof window<"u"&&(o===window.setTimeout||o===window.alert||o===window.confirm||o===window.prompt)}}}),$B=st({"node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,n=l2()();n?(o=Symbol.prototype.toString,a=/^Symbol\(.*\)$/,i=function(s){return typeof s.valueOf()!="symbol"?!1:a.test(o.call(s))},t.exports=function(s){if(typeof s=="symbol")return!0;if(r.call(s)!=="[object Symbol]")return!1;try{return i(s)}catch{return!1}}):t.exports=function(s){return!1};var o,a,i}});Fl(MB());Fl(UB());Fl($B());var zB=typeof window=="object"&&window&&window.Object===Object&&window,VB=zB,HB=typeof self=="object"&&self&&self.Object===Object&&self,JB=VB||HB||Function("return this")(),Nl=JB,GB=Nl.Symbol,Gr=GB,c2=Object.prototype,WB=c2.hasOwnProperty,KB=c2.toString,$n=Gr?Gr.toStringTag:void 0;function YB(e){var t=WB.call(e,$n),r=e[$n];try{e[$n]=void 0;var n=!0}catch{}var o=KB.call(e);return n&&(t?e[$n]=r:delete e[$n]),o}var XB=YB,QB=Object.prototype,ZB=QB.toString;function eL(e){return ZB.call(e)}var tL=eL,rL="[object Null]",nL="[object Undefined]",pv=Gr?Gr.toStringTag:void 0;function oL(e){return e==null?e===void 0?nL:rL:pv&&pv in Object(e)?XB(e):tL(e)}var aL=oL,dv=Gr?Gr.prototype:void 0;dv&&dv.toString;function iL(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var p2=iL,sL="[object AsyncFunction]",lL="[object Function]",uL="[object GeneratorFunction]",cL="[object Proxy]";function pL(e){if(!p2(e))return!1;var t=aL(e);return t==lL||t==uL||t==sL||t==cL}var dL=pL,fL=Nl["__core-js_shared__"],bl=fL,fv=function(){var e=/[^.]+$/.exec(bl&&bl.keys&&bl.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function yL(e){return!!fv&&fv in e}var hL=yL,mL=Function.prototype,gL=mL.toString;function bL(e){if(e!=null){try{return gL.call(e)}catch{}try{return e+""}catch{}}return""}var vL=bL,EL=/[\\^$.*+?()[\]{}|]/g,xL=/^\[object .+?Constructor\]$/,wL=Function.prototype,SL=Object.prototype,AL=wL.toString,TL=SL.hasOwnProperty,CL=RegExp("^"+AL.call(TL).replace(EL,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function _L(e){if(!p2(e)||hL(e))return!1;var t=dL(e)?CL:xL;return t.test(vL(e))}var OL=_L;function IL(e,t){return e?.[t]}var kL=IL;function PL(e,t){var r=kL(e,t);return OL(r)?r:void 0}var d2=PL;function RL(e,t){return e===t||e!==e&&t!==t}var DL=RL,FL=d2(Object,"create"),Hn=FL;function jL(){this.__data__=Hn?Hn(null):{},this.size=0}var NL=jL;function BL(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var LL=BL,qL="__lodash_hash_undefined__",ML=Object.prototype,UL=ML.hasOwnProperty;function $L(e){var t=this.__data__;if(Hn){var r=t[e];return r===qL?void 0:r}return UL.call(t,e)?t[e]:void 0}var zL=$L,VL=Object.prototype,HL=VL.hasOwnProperty;function JL(e){var t=this.__data__;return Hn?t[e]!==void 0:HL.call(t,e)}var GL=JL,WL="__lodash_hash_undefined__";function KL(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Hn&&t===void 0?WL:t,this}var YL=KL;function Wr(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}var sq=iq;function lq(e,t){var r=this.__data__,n=Ca(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var uq=lq;function Kr(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{let t=null,r=!1,n=!1,o=!1,a="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let i=0;iLq(e).replace(/\n\s*/g,"").trim());var qq=nr({"../../node_modules/tocbot/src/js/default-options.js"(e,t){t.exports={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(r){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(r){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollOffset:0}}}),Mq=nr({"../../node_modules/tocbot/src/js/build-html.js"(e,t){t.exports=function(r){var n=[].forEach,o=[].some,a=document.body,i,s=!0,l=" ";function u(C,I){var P=I.appendChild(d(C));if(C.children.length){var F=y(C.isCollapsed);C.children.forEach(function(D){u(D,F)}),P.appendChild(F)}}function c(C,I){var P=!1,F=y(P);if(I.forEach(function(D){u(D,F)}),i=C||i,i!==null)return i.firstChild&&i.removeChild(i.firstChild),I.length===0?i:i.appendChild(F)}function d(C){var I=document.createElement("li"),P=document.createElement("a");return r.listItemClass&&I.setAttribute("class",r.listItemClass),r.onClick&&(P.onclick=r.onClick),r.includeTitleTags&&P.setAttribute("title",C.textContent),r.includeHtml&&C.childNodes.length?n.call(C.childNodes,function(F){P.appendChild(F.cloneNode(!0))}):P.textContent=C.textContent,P.setAttribute("href",r.basePath+"#"+C.id),P.setAttribute("class",r.linkClass+l+"node-name--"+C.nodeName+l+r.extraLinkClasses),I.appendChild(P),I}function y(C){var I=r.orderedList?"ol":"ul",P=document.createElement(I),F=r.listClass+l+r.extraListClasses;return C&&(F=F+l+r.collapsibleClass,F=F+l+r.isCollapsedClass),P.setAttribute("class",F),P}function f(){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var C;C=document.querySelector(r.scrollContainer).scrollTop}else C=document.documentElement.scrollTop||a.scrollTop;var I=document.querySelector(r.positionFixedSelector);r.fixedSidebarOffset==="auto"&&(r.fixedSidebarOffset=i.offsetTop),C>r.fixedSidebarOffset?I.className.indexOf(r.positionFixedClass)===-1&&(I.className+=l+r.positionFixedClass):I.className=I.className.replace(l+r.positionFixedClass,"")}function h(C){var I=0;return C!==null&&(I=C.offsetTop,r.hasInnerContainers&&(I+=h(C.offsetParent))),I}function g(C,I){return C&&C.className!==I&&(C.className=I),C}function _(C){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var I;I=document.querySelector(r.scrollContainer).scrollTop}else I=document.documentElement.scrollTop||a.scrollTop;r.positionFixedSelector&&f();var P=C,F;if(s&&i!==null&&P.length>0){o.call(P,function(R,q){if(h(R)>I+r.headingsOffset+10){var M=q===0?q:q-1;return F=P[M],!0}else if(q===P.length-1)return F=P[P.length-1],!0});var D=i.querySelector("."+r.activeLinkClass),U=i.querySelector("."+r.linkClass+".node-name--"+F.nodeName+'[href="'+r.basePath+"#"+F.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(D===U)return;var G=i.querySelectorAll("."+r.linkClass);n.call(G,function(R){g(R,R.className.replace(l+r.activeLinkClass,""))});var X=i.querySelectorAll("."+r.listItemClass);n.call(X,function(R){g(R,R.className.replace(l+r.activeListItemClass,""))}),U&&U.className.indexOf(r.activeLinkClass)===-1&&(U.className+=l+r.activeLinkClass);var Q=U&&U.parentNode;Q&&Q.className.indexOf(r.activeListItemClass)===-1&&(Q.className+=l+r.activeListItemClass);var V=i.querySelectorAll("."+r.listClass+"."+r.collapsibleClass);n.call(V,function(R){R.className.indexOf(r.isCollapsedClass)===-1&&(R.className+=l+r.isCollapsedClass)}),U&&U.nextSibling&&U.nextSibling.className.indexOf(r.isCollapsedClass)!==-1&&g(U.nextSibling,U.nextSibling.className.replace(l+r.isCollapsedClass,"")),x(U&&U.parentNode.parentNode)}}function x(C){return C&&C.className.indexOf(r.collapsibleClass)!==-1&&C.className.indexOf(r.isCollapsedClass)!==-1?(g(C,C.className.replace(l+r.isCollapsedClass,"")),x(C.parentNode.parentNode)):C}function v(C){var I=C.target||C.srcElement;typeof I.className!="string"||I.className.indexOf(r.linkClass)===-1||(s=!1)}function O(){s=!0}return{enableTocAnimation:O,disableTocAnimation:v,render:c,updateToc:_}}}}),Uq=nr({"../../node_modules/tocbot/src/js/parse-content.js"(e,t){t.exports=function(r){var n=[].reduce;function o(d){return d[d.length-1]}function a(d){return+d.nodeName.toUpperCase().replace("H","")}function i(d){try{return d instanceof window.HTMLElement||d instanceof window.parent.HTMLElement}catch{return d instanceof window.HTMLElement}}function s(d){if(!i(d))return d;if(r.ignoreHiddenElements&&(!d.offsetHeight||!d.offsetParent))return null;let y=d.getAttribute("data-heading-label")||(r.headingLabelCallback?String(r.headingLabelCallback(d.innerText)):(d.innerText||d.textContent).trim());var f={id:d.id,children:[],nodeName:d.nodeName,headingLevel:a(d),textContent:y};return r.includeHtml&&(f.childNodes=d.childNodes),r.headingObjectCallback?r.headingObjectCallback(f,d):f}function l(d,y){for(var f=s(d),h=f.headingLevel,g=y,_=o(g),x=_?_.headingLevel:0,v=h-x;v>0&&(_=o(g),!(_&&h===_.headingLevel));)_&&_.children!==void 0&&(g=_.children),v--;return h>=r.collapseDepth&&(f.isCollapsed=!0),g.push(f),g}function u(d,y){var f=y;r.ignoreSelector&&(f=y.split(",").map(function(h){return h.trim()+":not("+r.ignoreSelector+")"}));try{return d.querySelectorAll(f)}catch{return console.warn("Headers not found with selector: "+f),null}}function c(d){return n.call(d,function(y,f){var h=s(f);return h&&l(h,y.nest),y},{nest:[]})}return{nestHeadingsArray:c,selectHeadings:u}}}}),Jq=nr({"../../node_modules/tocbot/src/js/update-toc-scroll.js"(e,t){t.exports=function(r){var n=r.tocElement||document.querySelector(r.tocSelector);if(n&&n.scrollHeight>n.clientHeight){var o=n.querySelector("."+r.activeListItemClass);o&&(n.scrollTop=o.offsetTop-r.tocScrollOffset)}}}}),$q=nr({"../../node_modules/tocbot/src/js/scroll-smooth/index.js"(e){e.initSmoothScrolling=t;function t(n){var o=n.duration,a=n.offset,i=location.hash?u(location.href):location.href;s();function s(){document.body.addEventListener("click",d,!1);function d(y){!l(y.target)||y.target.className.indexOf("no-smooth-scroll")>-1||y.target.href.charAt(y.target.href.length-2)==="#"&&y.target.href.charAt(y.target.href.length-1)==="!"||y.target.className.indexOf(n.linkClass)===-1||r(y.target.hash,{duration:o,offset:a,callback:function(){c(y.target.hash)}})}}function l(d){return d.tagName.toLowerCase()==="a"&&(d.hash.length>0||d.href.charAt(d.href.length-1)==="#")&&(u(d.href)===i||u(d.href)+"#"===i)}function u(d){return d.slice(0,d.lastIndexOf("#"))}function c(d){var y=document.getElementById(d.substring(1));y&&(/^(?:a|select|input|button|textarea)$/i.test(y.tagName)||(y.tabIndex=-1),y.focus())}}function r(n,o){var a=window.pageYOffset,i={duration:o.duration,offset:o.offset||0,callback:o.callback,easing:o.easing||h},s=document.querySelector('[id="'+decodeURI(n).split("#").join("")+'"]')||document.querySelector('[id="'+n.split("#").join("")+'"]'),l=typeof n=="string"?i.offset+(n?s&&s.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):n,u=typeof i.duration=="function"?i.duration(l):i.duration,c,d;requestAnimationFrame(function(g){c=g,y(g)});function y(g){d=g-c,window.scrollTo(0,i.easing(d,a,l,u)),d"u"&&!d)return;var y,f=Object.prototype.hasOwnProperty;function h(){for(var v={},O=0;O({backgroundColor:e.base==="light"?"rgba(0,0,0,.01)":"rgba(255,255,255,.01)",borderRadius:e.appBorderRadius,border:`1px dashed ${e.appBorderColor}`,display:"flex",alignItems:"center",justifyContent:"center",padding:20,margin:"25px 0 40px",color:ve(.3,e.color.defaultText),fontSize:e.typography.size.s2})),x2=e=>E.createElement(Vq,{...e,className:"docblock-emptyblock sb-unstyled"}),Hq=W(so)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),Gq=W.div(({theme:e})=>({background:e.background.content,borderRadius:e.appBorderRadius,border:`1px solid ${e.appBorderColor}`,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",margin:"25px 0 40px",padding:"20px 20px 20px 22px"})),xa=W.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${Fu}`]:{margin:0}})),Wq=()=>E.createElement(Gq,null,E.createElement(xa,null),E.createElement(xa,{style:{width:"80%"}}),E.createElement(xa,{style:{width:"30%"}}),E.createElement(xa,{style:{width:"80%"}})),Kq=({isLoading:e,error:t,language:r,code:n,dark:o,format:a=!1,...i})=>{let{typography:s}=ni();if(e)return E.createElement(Wq,null);if(t)return E.createElement(x2,null,t);let l=E.createElement(Hq,{bordered:!0,copyable:!0,format:a,language:r,className:"docblock-source sb-unstyled",...i},n);if(typeof o>"u")return l;let u=o?ri.dark:ri.light;return E.createElement(Ru,{theme:Du({...u,fontCode:s.fonts.mono,fontBase:s.fonts.base})},l)},Ne=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,Jl=600;W.h1(Pr,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${Jl}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}}));W.h2(Pr,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${Jl}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:ve(.25,e.color.defaultText)}));W.div(({theme:e})=>{let t={fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},r={margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& code":{fontSize:"inherit"}},n={lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?ve(.1,e.color.defaultText):ve(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[Ne("a")]:{...t,fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}},[Ne("blockquote")]:{...t,margin:"16px 0",borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},[Ne("div")]:t,[Ne("dl")]:{...t,margin:"16px 0",padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}},[Ne("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[Ne("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[Ne("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[Ne("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[Ne("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[Ne("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[Ne("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[Ne("img")]:{maxWidth:"100%"},[Ne("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[Ne("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[Ne("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[Ne("pre")]:{...t,fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}},[Ne("span")]:{...t,"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}},[Ne("table")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}},[Ne("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}});W.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${Jl}px)`]:{}}));var ka=e=>({borderRadius:e.appBorderRadius,background:e.background.content,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",border:`1px solid ${e.appBorderColor}`}),Yq=W(Ua)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),Xq=W.div({display:"flex",alignItems:"center",gap:4}),Qq=W.div(({theme:e})=>({width:14,height:14,borderRadius:2,margin:"0 7px",backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),Zq=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:o,...a})=>E.createElement(Yq,{...a},E.createElement(Xq,{key:"left"},e?[1,2,3].map(i=>E.createElement(Qq,{key:i})):E.createElement(E.Fragment,null,E.createElement(ht,{key:"zoomin",onClick:i=>{i.preventDefault(),n(.8)},title:"Zoom in"},E.createElement(Vu,null)),E.createElement(ht,{key:"zoomout",onClick:i=>{i.preventDefault(),n(1.25)},title:"Zoom out"},E.createElement(Hu,null)),E.createElement(ht,{key:"zoomreset",onClick:i=>{i.preventDefault(),o()},title:"Reset zoom"},E.createElement(Gu,null))))),eM=vn({scale:1});W.strong(({theme:e})=>({color:e.color.orange}));var tM=W.div(({isColumn:e,columns:t,layout:r})=>({display:e||!t?"block":"flex",position:"relative",flexWrap:"wrap",overflow:"auto",flexDirection:e?"column":"row","& .innerZoomElementWrapper > *":e?{width:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"block"}:{maxWidth:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"inline-block"}}),({layout:e="padded"})=>e==="centered"||e==="padded"?{padding:"30px 20px","& .innerZoomElementWrapper > *":{width:"auto",border:"10px solid transparent!important"}}:{},({layout:e="padded"})=>e==="centered"?{display:"flex",justifyContent:"center",justifyItems:"center",alignContent:"center",alignItems:"center"}:{},({columns:e})=>e&&e>1?{".innerZoomElementWrapper > *":{minWidth:`calc(100% / ${e} - 20px)`}}:{}),Ev=W(Kq)(({theme:e})=>({margin:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:e.appBorderRadius,borderBottomRightRadius:e.appBorderRadius,border:"none",background:e.base==="light"?"rgba(0, 0, 0, 0.85)":vt(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":vt(.05,e.background.content)}})),rM=W.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...ka(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),nM=(e,t,r)=>{switch(!0){case!!(e&&e.error):return{source:null,actionItem:{title:"No code available",className:"docblock-code-toggle docblock-code-toggle--disabled",disabled:!0,onClick:()=>r(!1)}};case t:return{source:E.createElement(Ev,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:E.createElement(Ev,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function oM(e){if(Ql.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var aM=W(Zq)({position:"absolute",top:0,left:0,right:0,height:40}),iM=W.div({overflow:"hidden",position:"relative"}),sM=({isLoading:e,isColumn:t,columns:r,children:n,withSource:o,withToolbar:a=!1,isExpanded:i=!1,additionalActions:s,className:l,layout:u="padded",...c})=>{let[d,y]=he(i),{source:f,actionItem:h}=nM(o,d,y),[g,_]=he(1),x=[l].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),v=o?[h]:[],[O,C]=he(s?[...s]:[]),I=[...v,...O],{window:P}=xt,F=$e(async U=>{let{createCopyToClipboardFunction:G}=await Promise.resolve().then(()=>(lo(),au));G()},[]),D=U=>{let G=P.getSelection();G&&G.type==="Range"||(U.preventDefault(),O.filter(X=>X.title==="Copied").length===0&&F(f.props.code).then(()=>{C([...O,{title:"Copied",onClick:()=>{}}]),P.setTimeout(()=>C(O.filter(X=>X.title!=="Copied")),1500)}))};return E.createElement(rM,{withSource:o,withToolbar:a,...c,className:x.join(" ")},a&&E.createElement(aM,{isLoading:e,border:!0,zoom:U=>_(g*U),resetZoom:()=>_(1),storyId:oM(n),baseUrl:"./iframe.html"}),E.createElement(eM.Provider,{value:{scale:g}},E.createElement(iM,{className:"docs-story",onCopyCapture:o&&D},E.createElement(tM,{isColumn:t||!Array.isArray(n),columns:r,layout:u},E.createElement(Ha.Element,{scale:g},Array.isArray(n)?n.map((U,G)=>E.createElement("div",{key:G},U)):E.createElement("div",null,n))),E.createElement(Na,{actionItems:I}))),o&&d&&f)};W(sM)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));var lM=W.table(({theme:e})=>({"&&":{borderCollapse:"collapse",borderSpacing:0,border:"none",tr:{border:"none !important",background:"none"},"td, th":{padding:0,border:"none",width:"auto!important"},marginTop:0,marginBottom:0,"th:first-of-type, td:first-of-type":{paddingLeft:0},"th:last-of-type, td:last-of-type":{paddingRight:0},td:{paddingTop:0,paddingBottom:4,"&:not(:first-of-type)":{paddingLeft:10,paddingRight:0}},tbody:{boxShadow:"none",border:"none"},code:Ir({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),uM=({tags:e})=>{let t=(e.params||[]).filter(a=>a.description),r=t.length!==0,n=e.deprecated!=null,o=e.returns!=null&&e.returns.description!=null;return!r&&!o&&!n?null:E.createElement(E.Fragment,null,E.createElement(lM,null,E.createElement("tbody",null,n&&E.createElement("tr",{key:"deprecated"},E.createElement("td",{colSpan:2},E.createElement("strong",null,"Deprecated"),": ",e.deprecated.toString())),r&&t.map(a=>E.createElement("tr",{key:a.name},E.createElement("td",null,E.createElement("code",null,a.name)),E.createElement("td",null,a.description))),o&&E.createElement("tr",{key:"returns"},E.createElement("td",null,E.createElement("code",null,"Returns")),E.createElement("td",null,e.returns.description)))))},Dl=8,wv=W.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),cM=W.span(Ir,({theme:e,simple:t=!1})=>({flex:"0 0 auto",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,wordBreak:"break-word",whiteSpace:"normal",maxWidth:"100%",margin:0,marginRight:"4px",marginBottom:"4px",paddingTop:"2px",paddingBottom:"2px",lineHeight:"13px",...t&&{background:"transparent",border:"0 none",paddingLeft:0}})),pM=W.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),dM=W.div(Ir,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),fM=W.div(({theme:e,width:t})=>({width:t,minWidth:200,maxWidth:800,padding:15,fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,boxSizing:"content-box","& code":{padding:"0 !important"}})),yM=W(Lu)({marginLeft:4}),hM=W(ii)({marginLeft:4}),mM=()=>E.createElement("span",null,"-"),E2=({text:e,simple:t})=>E.createElement(cM,{simple:t},e),gM=(0,DB.default)(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),bM=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return(0,Bv.default)(t)},Sv=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,Dl)),r.map(n=>E.createElement(E2,{key:n,text:n===""?'""':n}))},vM=({value:e,initialExpandedArgs:t})=>{let{summary:r,detail:n}=e,[o,a]=he(!1),[i,s]=he(t||!1);if(r==null)return null;let l=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(l))return E.createElement(E2,{text:l});let u=bM(l),c=u.length;return c>Dl?E.createElement(wv,{isExpanded:i},Sv(u,i),E.createElement(pM,{onClick:()=>s(!i)},i?"Show less...":`Show ${c-Dl} more...`)):E.createElement(wv,null,Sv(u))}return E.createElement(Va,{closeOnOutsideClick:!0,placement:"bottom",visible:o,onVisibleChange:u=>{a(u)},tooltip:E.createElement(fM,{width:gM(n)},E.createElement(so,{language:"jsx",format:!1},n))},E.createElement(dM,{className:"sbdocs-expandable"},E.createElement("span",null,l),o?E.createElement(yM,null):E.createElement(hM,null)))},Sl=({value:e,initialExpandedArgs:t})=>e==null?E.createElement(mM,null):E.createElement(vM,{value:e,initialExpandedArgs:t}),xM=W.label(({theme:e})=>({lineHeight:"18px",alignItems:"center",marginBottom:8,display:"inline-block",position:"relative",whiteSpace:"nowrap",background:e.boolean.background,borderRadius:"3em",padding:1,'&[aria-disabled="true"]':{opacity:.5,input:{cursor:"not-allowed"}},input:{appearance:"none",width:"100%",height:"100%",position:"absolute",left:0,top:0,margin:0,padding:0,border:"none",background:"transparent",cursor:"pointer",borderRadius:"3em","&:focus":{outline:"none",boxShadow:`${e.color.secondary} 0 0 0 1px inset !important`}},span:{textAlign:"center",fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:"1",cursor:"pointer",display:"inline-block",padding:"7px 15px",transition:"all 100ms ease-out",userSelect:"none",borderRadius:"3em",color:ve(.5,e.color.defaultText),background:"transparent","&:hover":{boxShadow:`${va(.3,e.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${va(.05,e.appBorderColor)} 0 0 0 2px inset`,color:va(1,e.appBorderColor)},"&:first-of-type":{paddingRight:8},"&:last-of-type":{paddingLeft:8}},"input:checked ~ span:last-of-type, input:not(:checked) ~ span:first-of-type":{background:e.boolean.selectedBackground,boxShadow:e.base==="light"?`${va(.1,e.appBorderColor)} 0 0 2px`:`${e.appBorderColor} 0 0 0 1px`,color:e.color.defaultText,padding:"7px 15px"}})),EM=e=>e==="true",wM=({name:e,value:t,onChange:r,onBlur:n,onFocus:o,argType:a})=>{let i=$e(()=>r(!1),[r]),s=!!a?.table?.readonly;if(t===void 0)return E.createElement(Bt,{variant:"outline",size:"medium",id:bn(e),onClick:i,disabled:s},"Set boolean");let l=tt(e),u=typeof t=="string"?EM(t):t;return E.createElement(xM,{"aria-disabled":s,htmlFor:l,"aria-label":e},E.createElement("input",{id:l,type:"checkbox",onChange:c=>r(c.target.checked),checked:u,role:"switch",disabled:s,name:e,onBlur:n,onFocus:o}),E.createElement("span",{"aria-hidden":"true"},"False"),E.createElement("span",{"aria-hidden":"true"},"True"))},SM=e=>{let[t,r,n]=e.split("-"),o=new Date;return o.setFullYear(parseInt(t,10),parseInt(r,10)-1,parseInt(n,10)),o},AM=e=>{let[t,r]=e.split(":"),n=new Date;return n.setHours(parseInt(t,10)),n.setMinutes(parseInt(r,10)),n},TM=e=>{let t=new Date(e),r=`000${t.getFullYear()}`.slice(-4),n=`0${t.getMonth()+1}`.slice(-2),o=`0${t.getDate()}`.slice(-2);return`${r}-${n}-${o}`},CM=e=>{let t=new Date(e),r=`0${t.getHours()}`.slice(-2),n=`0${t.getMinutes()}`.slice(-2);return`${r}:${n}`},Av=W(dt.Input)(({readOnly:e})=>({opacity:e?.5:1})),_M=W.div(({theme:e})=>({flex:1,display:"flex",input:{marginLeft:10,flex:1,height:32,"&::-webkit-calendar-picker-indicator":{opacity:.5,height:12,filter:e.base==="light"?void 0:"invert(1)"}},"input:first-of-type":{marginLeft:0,flexGrow:4},"input:last-of-type":{flexGrow:3}})),OM=({name:e,value:t,onChange:r,onFocus:n,onBlur:o,argType:a})=>{let[i,s]=he(!0),l=Xe(),u=Xe(),c=!!a?.table?.readonly;ze(()=>{i!==!1&&(l&&l.current&&(l.current.value=t?TM(t):""),u&&u.current&&(u.current.value=t?CM(t):""))},[t]);let d=h=>{if(!h.target.value)return r();let g=SM(h.target.value),_=new Date(t);_.setFullYear(g.getFullYear(),g.getMonth(),g.getDate());let x=_.getTime();x&&r(x),s(!!x)},y=h=>{if(!h.target.value)return r();let g=AM(h.target.value),_=new Date(t);_.setHours(g.getHours()),_.setMinutes(g.getMinutes());let x=_.getTime();x&&r(x),s(!!x)},f=tt(e);return E.createElement(_M,null,E.createElement(Av,{type:"date",max:"9999-12-31",ref:l,id:`${f}-date`,name:`${f}-date`,readOnly:c,onChange:d,onFocus:n,onBlur:o}),E.createElement(Av,{type:"time",id:`${f}-time`,name:`${f}-time`,ref:u,onChange:y,readOnly:c,onFocus:n,onBlur:o}),i?null:E.createElement("div",null,"invalid"))},IM=W.label({display:"flex"}),PM=e=>{let t=parseFloat(e);return Number.isNaN(t)?void 0:t},kM=W(dt.Input)(({readOnly:e})=>({opacity:e?.5:1})),RM=({name:e,value:t,onChange:r,min:n,max:o,step:a,onBlur:i,onFocus:s,argType:l})=>{let[u,c]=he(typeof t=="number"?t:""),[d,y]=he(!1),[f,h]=he(null),g=!!l?.table?.readonly,_=$e(O=>{c(O.target.value);let C=parseFloat(O.target.value);Number.isNaN(C)?h(new Error(`'${O.target.value}' is not a number`)):(r(C),h(null))},[r,h]),x=$e(()=>{c("0"),r(0),y(!0)},[y]),v=Xe(null);return ze(()=>{d&&v.current&&v.current.select()},[d]),ze(()=>{u!==(typeof t=="number"?t:"")&&c(t)},[t]),t===void 0?E.createElement(Bt,{variant:"outline",size:"medium",id:bn(e),onClick:x,disabled:g},"Set number"):E.createElement(IM,null,E.createElement(kM,{ref:v,id:tt(e),type:"number",onChange:_,size:"flex",placeholder:"Edit number...",value:u,valid:f?"error":null,autoFocus:d,readOnly:g,name:e,min:n,max:o,step:a,onFocus:s,onBlur:i}))},w2=(e,t)=>{let r=t&&Object.entries(t).find(([n,o])=>o===e);return r?r[0]:void 0},Fl=(e,t)=>e&&t?Object.entries(t).filter(r=>e.includes(r[1])).map(r=>r[0]):[],S2=(e,t)=>e&&t&&e.map(r=>t[r]),DM=W.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),FM=W.span({"[aria-readonly=true] &":{opacity:.5}}),jM=W.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),Tv=({name:e,options:t,value:r,onChange:n,isInline:o,argType:a})=>{if(!t)return Bo.warn(`Checkbox with no options: ${e}`),E.createElement(E.Fragment,null,"-");let i=Fl(r,t),[s,l]=he(i),u=!!a?.table?.readonly,c=y=>{let f=y.target.value,h=[...s];h.includes(f)?h.splice(h.indexOf(f),1):h.push(f),n(S2(h,t)),l(h)};ze(()=>{l(Fl(r,t))},[r]);let d=tt(e);return E.createElement(DM,{"aria-readonly":u,isInline:o},Object.keys(t).map((y,f)=>{let h=`${d}-${f}`;return E.createElement(jM,{key:h,htmlFor:h},E.createElement("input",{type:"checkbox",disabled:u,id:h,name:h,value:y,onChange:c,checked:s?.includes(y)}),E.createElement(FM,null,y))}))},NM=W.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),BM=W.span({"[aria-readonly=true] &":{opacity:.5}}),LM=W.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),Cv=({name:e,options:t,value:r,onChange:n,isInline:o,argType:a})=>{if(!t)return Bo.warn(`Radio with no options: ${e}`),E.createElement(E.Fragment,null,"-");let i=w2(r,t),s=tt(e),l=!!a?.table?.readonly;return E.createElement(NM,{"aria-readonly":l,isInline:o},Object.keys(t).map((u,c)=>{let d=`${s}-${c}`;return E.createElement(LM,{key:d,htmlFor:d},E.createElement("input",{type:"radio",id:d,name:s,disabled:l,value:u,onChange:y=>n(t[y.currentTarget.value]),checked:u===i}),E.createElement(BM,null,u))}))},qM={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},A2=W.select(qM,({theme:e})=>({boxSizing:"border-box",position:"relative",padding:"6px 10px",width:"100%",color:e.input.color||"inherit",background:e.input.background,borderRadius:e.input.borderRadius,boxShadow:`${e.input.border} 0 0 0 1px inset`,fontSize:e.typography.size.s2-1,lineHeight:"20px","&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"::placeholder":{color:e.textMutedColor},"&[multiple]":{overflow:"auto",padding:0,option:{display:"block",padding:"6px 10px",marginLeft:1,marginRight:1}}})),T2=W.span(({theme:e})=>({display:"inline-block",lineHeight:"normal",overflow:"hidden",position:"relative",verticalAlign:"top",width:"100%",svg:{position:"absolute",zIndex:1,pointerEvents:"none",height:"12px",marginTop:"-6px",right:"12px",top:"50%",fill:e.textMutedColor,path:{fill:e.textMutedColor}}})),_v="Choose option...",MM=({name:e,value:t,options:r,onChange:n,argType:o})=>{let a=u=>{n(r[u.currentTarget.value])},i=w2(t,r)||_v,s=tt(e),l=!!o?.table?.readonly;return E.createElement(T2,null,E.createElement(ii,null),E.createElement(A2,{disabled:l,id:s,value:i,onChange:a},E.createElement("option",{key:"no-selection",disabled:!0},_v),Object.keys(r).map(u=>E.createElement("option",{key:u,value:u},u))))},UM=({name:e,value:t,options:r,onChange:n,argType:o})=>{let a=u=>{let c=Array.from(u.currentTarget.options).filter(d=>d.selected).map(d=>d.value);n(S2(c,r))},i=Fl(t,r),s=tt(e),l=!!o?.table?.readonly;return E.createElement(T2,null,E.createElement(A2,{disabled:l,id:s,multiple:!0,value:i,onChange:a},Object.keys(r).map(u=>E.createElement("option",{key:u,value:u},u))))},Ov=e=>{let{name:t,options:r}=e;return r?e.isMulti?E.createElement(UM,{...e}):E.createElement(MM,{...e}):(Bo.warn(`Select with no options: ${t}`),E.createElement(E.Fragment,null,"-"))},JM=(e,t)=>Array.isArray(e)?e.reduce((r,n)=>(r[t?.[n]||String(n)]=n,r),{}):e,$M={check:Tv,"inline-check":Tv,radio:Cv,"inline-radio":Cv,select:Ov,"multi-select":Ov},Zr=e=>{let{type:t="select",labels:r,argType:n}=e,o={...e,argType:n,options:n?JM(n.options,r):{},isInline:t.includes("inline"),isMulti:t.includes("multi")},a=$M[t];if(a)return E.createElement(a,{...o});throw new Error(`Unknown options type: ${t}`)},$l="value",zM="key",VM="Error",HM="Object",GM="Array",WM="String",KM="Number",YM="Boolean",XM="Date",QM="Null",ZM="Undefined",e4="Function",t4="Symbol",C2="ADD_DELTA_TYPE",_2="REMOVE_DELTA_TYPE",O2="UPDATE_DELTA_TYPE";function vr(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&typeof e[Symbol.iterator]=="function"?"Iterable":Object.prototype.toString.call(e).slice(8,-1)}function I2(e,t){let r=vr(e),n=vr(t);return(r==="Function"||n==="Function")&&n!==r}var zl=class extends jt{constructor(e){super(e),this.state={inputRefKey:null,inputRefValue:null},this.refInputValue=this.refInputValue.bind(this),this.refInputKey=this.refInputKey.bind(this),this.onKeydown=this.onKeydown.bind(this),this.onSubmit=this.onSubmit.bind(this)}componentDidMount(){let{inputRefKey:e,inputRefValue:t}=this.state,{onlyValue:r}=this.props;e&&typeof e.focus=="function"&&e.focus(),r&&t&&typeof t.focus=="function"&&t.focus(),document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.onSubmit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.props.handleCancel()))}onSubmit(){let{handleAdd:e,onlyValue:t,onSubmitValueParser:r,keyPath:n,deep:o}=this.props,{inputRefKey:a,inputRefValue:i}=this.state,s={};if(!t){if(!a.value)return;s.key=a.value}s.newValue=r(!1,n,o,s.key,i.value),e(s)}refInputKey(e){this.state.inputRefKey=e}refInputValue(e){this.state.inputRefValue=e}render(){let{handleCancel:e,onlyValue:t,addButtonElement:r,cancelButtonElement:n,inputElementGenerator:o,keyPath:a,deep:i}=this.props,s=Oe(r,{onClick:this.onSubmit}),l=Oe(n,{onClick:e}),u=o($l,a,i),c=Oe(u,{placeholder:"Value",ref:this.refInputValue}),d=null;if(!t){let y=o(zM,a,i);d=Oe(y,{placeholder:"Key",ref:this.refInputKey})}return E.createElement("span",{className:"rejt-add-value-node"},d,c,l,s)}};zl.defaultProps={onlyValue:!1,addButtonElement:E.createElement("button",null,"+"),cancelButtonElement:E.createElement("button",null,"c")};var P2=class extends jt{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={data:e.data,name:e.name,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveItem=this.handleRemoveItem.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:o}=this.props,a=n.length;o(n[a-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleRemoveItem(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:o,nextDeep:a}=this.state,i=n[e];t(e,o,a,i).then(()=>{let s={keyPath:o,deep:a,key:e,oldValue:i,type:_2};n.splice(e,1),this.setState({data:n});let{onUpdate:l,onDeltaUpdate:u}=this.props;l(o[o.length-1],n),u(s)}).catch(r.error)}}handleAddValueAdd({newValue:e}){let{data:t,keyPath:r,nextDeep:n}=this.state,{beforeAddAction:o,logger:a}=this.props;o(t.length,r,n,e).then(()=>{let i=[...t,e];this.setState({data:i}),this.handleAddValueCancel();let{onUpdate:s,onDeltaUpdate:l}=this.props;s(r[r.length-1],i),l({type:C2,keyPath:r,deep:n,key:i.length-1,newValue:e})}).catch(a.error)}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:o}=this.props,{data:a,keyPath:i,nextDeep:s}=this.state,l=a[e];o(e,i,s,l,t).then(()=>{a[e]=t,this.setState({data:a});let{onUpdate:u,onDeltaUpdate:c}=this.props;u(i[i.length-1],a),c({type:O2,keyPath:i,deep:s,key:e,newValue:t,oldValue:l}),r(void 0)}).catch(n)})}renderCollapsed(){let{name:e,data:t,keyPath:r,deep:n}=this.state,{handleRemove:o,readOnly:a,getStyle:i,dataType:s,minusMenuElement:l}=this.props,{minus:u,collapsed:c}=i(e,t,r,n,s),d=a(e,t,r,n,s),y=Oe(l,{onClick:o,className:"rejt-minus-menu",style:u});return E.createElement("span",{className:"rejt-collapsed"},E.createElement("span",{className:"rejt-collapsed-text",style:c,onClick:this.handleCollapseMode},"[...] ",t.length," ",t.length===1?"item":"items"),!d&&y)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,addFormVisible:o,nextDeep:a}=this.state,{isCollapsed:i,handleRemove:s,onDeltaUpdate:l,readOnly:u,getStyle:c,dataType:d,addButtonElement:y,cancelButtonElement:f,editButtonElement:h,inputElementGenerator:g,textareaElementGenerator:_,minusMenuElement:x,plusMenuElement:v,beforeRemoveAction:O,beforeAddAction:C,beforeUpdateAction:I,logger:P,onSubmitValueParser:F}=this.props,{minus:D,plus:U,delimiter:G,ul:X,addForm:Q}=c(e,t,r,n,d),V=u(e,t,r,n,d),R=Oe(v,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:U}),q=Oe(x,{onClick:s,className:"rejt-minus-menu",style:D});return E.createElement("span",{className:"rejt-not-collapsed"},E.createElement("span",{className:"rejt-not-collapsed-delimiter",style:G},"["),!o&&R,E.createElement("ul",{className:"rejt-not-collapsed-list",style:X},t.map((M,Y)=>E.createElement(Ra,{key:Y,name:Y.toString(),data:M,keyPath:r,deep:a,isCollapsed:i,handleRemove:this.handleRemoveItem(Y),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:l,readOnly:u,getStyle:c,addButtonElement:y,cancelButtonElement:f,editButtonElement:h,inputElementGenerator:g,textareaElementGenerator:_,minusMenuElement:x,plusMenuElement:v,beforeRemoveAction:O,beforeAddAction:C,beforeUpdateAction:I,logger:P,onSubmitValueParser:F}))),!V&&o&&E.createElement("div",{className:"rejt-add-form",style:Q},E.createElement(zl,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:!0,addButtonElement:y,cancelButtonElement:f,inputElementGenerator:g,keyPath:r,deep:n,onSubmitValueParser:F})),E.createElement("span",{className:"rejt-not-collapsed-delimiter",style:G},"]"),!V&&q)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:o}=this.state,{dataType:a,getStyle:i}=this.props,s=t?this.renderCollapsed():this.renderNotCollapsed(),l=i(e,r,n,o,a);return E.createElement("div",{className:"rejt-array-node"},E.createElement("span",{onClick:this.handleCollapseMode},E.createElement("span",{className:"rejt-name",style:l.name},e," :"," ")),s)}};P2.defaultProps={keyPath:[],deep:0,minusMenuElement:E.createElement("span",null," - "),plusMenuElement:E.createElement("span",null," + ")};var k2=class extends jt{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:o,deep:a}=this.state,{readOnly:i,dataType:s}=this.props,l=i(r,n,o,a,s);e&&!l&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:o}=this.props,{inputRef:a,name:i,deep:s}=this.state;if(!a)return;let l=n(!0,o,s,i,a.value);e({value:l,key:i}).then(()=>{I2(t,l)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:o}=this.state,{handleRemove:a,originalValue:i,readOnly:s,dataType:l,getStyle:u,editButtonElement:c,cancelButtonElement:d,textareaElementGenerator:y,minusMenuElement:f,keyPath:h}=this.props,g=u(e,i,n,o,l),_=null,x=null,v=s(e,i,n,o,l);if(r&&!v){let O=y($l,h,o,e,i,l),C=Oe(c,{onClick:this.handleEdit}),I=Oe(d,{onClick:this.handleCancelEdit}),P=Oe(O,{ref:this.refInput,defaultValue:i});_=E.createElement("span",{className:"rejt-edit-form",style:g.editForm},P," ",I,C),x=null}else{_=E.createElement("span",{className:"rejt-value",style:g.value,onClick:v?null:this.handleEditMode},t);let O=Oe(f,{onClick:a,className:"rejt-minus-menu",style:g.minus});x=v?null:O}return E.createElement("li",{className:"rejt-function-value-node",style:g.li},E.createElement("span",{className:"rejt-name",style:g.name},e," :"," "),_,x)}};k2.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:E.createElement("button",null,"e"),cancelButtonElement:E.createElement("button",null,"c"),minusMenuElement:E.createElement("span",null," - ")};var Ra=class extends jt{constructor(e){super(e),this.state={data:e.data,name:e.name,keyPath:e.keyPath,deep:e.deep}}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}render(){let{data:e,name:t,keyPath:r,deep:n}=this.state,{isCollapsed:o,handleRemove:a,handleUpdateValue:i,onUpdate:s,onDeltaUpdate:l,readOnly:u,getStyle:c,addButtonElement:d,cancelButtonElement:y,editButtonElement:f,inputElementGenerator:h,textareaElementGenerator:g,minusMenuElement:_,plusMenuElement:x,beforeRemoveAction:v,beforeAddAction:O,beforeUpdateAction:C,logger:I,onSubmitValueParser:P}=this.props,F=()=>!0,D=vr(e);switch(D){case VM:return E.createElement(jl,{data:e,name:t,isCollapsed:o,keyPath:r,deep:n,handleRemove:a,onUpdate:s,onDeltaUpdate:l,readOnly:F,dataType:D,getStyle:c,addButtonElement:d,cancelButtonElement:y,editButtonElement:f,inputElementGenerator:h,textareaElementGenerator:g,minusMenuElement:_,plusMenuElement:x,beforeRemoveAction:v,beforeAddAction:O,beforeUpdateAction:C,logger:I,onSubmitValueParser:P});case HM:return E.createElement(jl,{data:e,name:t,isCollapsed:o,keyPath:r,deep:n,handleRemove:a,onUpdate:s,onDeltaUpdate:l,readOnly:u,dataType:D,getStyle:c,addButtonElement:d,cancelButtonElement:y,editButtonElement:f,inputElementGenerator:h,textareaElementGenerator:g,minusMenuElement:_,plusMenuElement:x,beforeRemoveAction:v,beforeAddAction:O,beforeUpdateAction:C,logger:I,onSubmitValueParser:P});case GM:return E.createElement(P2,{data:e,name:t,isCollapsed:o,keyPath:r,deep:n,handleRemove:a,onUpdate:s,onDeltaUpdate:l,readOnly:u,dataType:D,getStyle:c,addButtonElement:d,cancelButtonElement:y,editButtonElement:f,inputElementGenerator:h,textareaElementGenerator:g,minusMenuElement:_,plusMenuElement:x,beforeRemoveAction:v,beforeAddAction:O,beforeUpdateAction:C,logger:I,onSubmitValueParser:P});case WM:return E.createElement(Wt,{name:t,value:`"${e}"`,originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:u,dataType:D,getStyle:c,cancelButtonElement:y,editButtonElement:f,inputElementGenerator:h,minusMenuElement:_,logger:I,onSubmitValueParser:P});case KM:return E.createElement(Wt,{name:t,value:e,originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:u,dataType:D,getStyle:c,cancelButtonElement:y,editButtonElement:f,inputElementGenerator:h,minusMenuElement:_,logger:I,onSubmitValueParser:P});case YM:return E.createElement(Wt,{name:t,value:e?"true":"false",originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:u,dataType:D,getStyle:c,cancelButtonElement:y,editButtonElement:f,inputElementGenerator:h,minusMenuElement:_,logger:I,onSubmitValueParser:P});case XM:return E.createElement(Wt,{name:t,value:e.toISOString(),originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:F,dataType:D,getStyle:c,cancelButtonElement:y,editButtonElement:f,inputElementGenerator:h,minusMenuElement:_,logger:I,onSubmitValueParser:P});case QM:return E.createElement(Wt,{name:t,value:"null",originalValue:"null",keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:u,dataType:D,getStyle:c,cancelButtonElement:y,editButtonElement:f,inputElementGenerator:h,minusMenuElement:_,logger:I,onSubmitValueParser:P});case ZM:return E.createElement(Wt,{name:t,value:"undefined",originalValue:"undefined",keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:u,dataType:D,getStyle:c,cancelButtonElement:y,editButtonElement:f,inputElementGenerator:h,minusMenuElement:_,logger:I,onSubmitValueParser:P});case e4:return E.createElement(k2,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:u,dataType:D,getStyle:c,cancelButtonElement:y,editButtonElement:f,textareaElementGenerator:g,minusMenuElement:_,logger:I,onSubmitValueParser:P});case t4:return E.createElement(Wt,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:F,dataType:D,getStyle:c,cancelButtonElement:y,editButtonElement:f,inputElementGenerator:h,minusMenuElement:_,logger:I,onSubmitValueParser:P});default:return null}}};Ra.defaultProps={keyPath:[],deep:0};var jl=class extends jt{constructor(e){super(e);let t=e.deep===-1?[]:[...e.keyPath,e.name];this.state={name:e.name,data:e.data,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveValue=this.handleRemoveValue.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:o}=this.props,a=n.length;o(n[a-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleAddValueAdd({key:e,newValue:t}){let{data:r,keyPath:n,nextDeep:o}=this.state,{beforeAddAction:a,logger:i}=this.props;a(e,n,o,t).then(()=>{r[e]=t,this.setState({data:r}),this.handleAddValueCancel();let{onUpdate:s,onDeltaUpdate:l}=this.props;s(n[n.length-1],r),l({type:C2,keyPath:n,deep:o,key:e,newValue:t})}).catch(i.error)}handleRemoveValue(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:o,nextDeep:a}=this.state,i=n[e];t(e,o,a,i).then(()=>{let s={keyPath:o,deep:a,key:e,oldValue:i,type:_2};delete n[e],this.setState({data:n});let{onUpdate:l,onDeltaUpdate:u}=this.props;l(o[o.length-1],n),u(s)}).catch(r.error)}}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:o}=this.props,{data:a,keyPath:i,nextDeep:s}=this.state,l=a[e];o(e,i,s,l,t).then(()=>{a[e]=t,this.setState({data:a});let{onUpdate:u,onDeltaUpdate:c}=this.props;u(i[i.length-1],a),c({type:O2,keyPath:i,deep:s,key:e,newValue:t,oldValue:l}),r()}).catch(n)})}renderCollapsed(){let{name:e,keyPath:t,deep:r,data:n}=this.state,{handleRemove:o,readOnly:a,dataType:i,getStyle:s,minusMenuElement:l}=this.props,{minus:u,collapsed:c}=s(e,n,t,r,i),d=Object.getOwnPropertyNames(n),y=a(e,n,t,r,i),f=Oe(l,{onClick:o,className:"rejt-minus-menu",style:u});return E.createElement("span",{className:"rejt-collapsed"},E.createElement("span",{className:"rejt-collapsed-text",style:c,onClick:this.handleCollapseMode},"{...}"," ",d.length," ",d.length===1?"key":"keys"),!y&&f)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,nextDeep:o,addFormVisible:a}=this.state,{isCollapsed:i,handleRemove:s,onDeltaUpdate:l,readOnly:u,getStyle:c,dataType:d,addButtonElement:y,cancelButtonElement:f,editButtonElement:h,inputElementGenerator:g,textareaElementGenerator:_,minusMenuElement:x,plusMenuElement:v,beforeRemoveAction:O,beforeAddAction:C,beforeUpdateAction:I,logger:P,onSubmitValueParser:F}=this.props,{minus:D,plus:U,addForm:G,ul:X,delimiter:Q}=c(e,t,r,n,d),V=Object.getOwnPropertyNames(t),R=u(e,t,r,n,d),q=Oe(v,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:U}),M=Oe(x,{onClick:s,className:"rejt-minus-menu",style:D}),Y=V.map(te=>E.createElement(Ra,{key:te,name:te,data:t[te],keyPath:r,deep:o,isCollapsed:i,handleRemove:this.handleRemoveValue(te),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:l,readOnly:u,getStyle:c,addButtonElement:y,cancelButtonElement:f,editButtonElement:h,inputElementGenerator:g,textareaElementGenerator:_,minusMenuElement:x,plusMenuElement:v,beforeRemoveAction:O,beforeAddAction:C,beforeUpdateAction:I,logger:P,onSubmitValueParser:F}));return E.createElement("span",{className:"rejt-not-collapsed"},E.createElement("span",{className:"rejt-not-collapsed-delimiter",style:Q},"{"),!R&&q,E.createElement("ul",{className:"rejt-not-collapsed-list",style:X},Y),!R&&a&&E.createElement("div",{className:"rejt-add-form",style:G},E.createElement(zl,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement:y,cancelButtonElement:f,inputElementGenerator:g,keyPath:r,deep:n,onSubmitValueParser:F})),E.createElement("span",{className:"rejt-not-collapsed-delimiter",style:Q},"}"),!R&&M)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:o}=this.state,{getStyle:a,dataType:i}=this.props,s=t?this.renderCollapsed():this.renderNotCollapsed(),l=a(e,r,n,o,i);return E.createElement("div",{className:"rejt-object-node"},E.createElement("span",{onClick:this.handleCollapseMode},E.createElement("span",{className:"rejt-name",style:l.name},e," :"," ")),s)}};jl.defaultProps={keyPath:[],deep:0,minusMenuElement:E.createElement("span",null," - "),plusMenuElement:E.createElement("span",null," + ")};var Wt=class extends jt{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:o,deep:a}=this.state,{readOnly:i,dataType:s}=this.props,l=i(r,n,o,a,s);e&&!l&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:o}=this.props,{inputRef:a,name:i,deep:s}=this.state;if(!a)return;let l=n(!0,o,s,i,a.value);e({value:l,key:i}).then(()=>{I2(t,l)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:o}=this.state,{handleRemove:a,originalValue:i,readOnly:s,dataType:l,getStyle:u,editButtonElement:c,cancelButtonElement:d,inputElementGenerator:y,minusMenuElement:f,keyPath:h}=this.props,g=u(e,i,n,o,l),_=s(e,i,n,o,l),x=r&&!_,v=y($l,h,o,e,i,l),O=Oe(c,{onClick:this.handleEdit}),C=Oe(d,{onClick:this.handleCancelEdit}),I=Oe(v,{ref:this.refInput,defaultValue:JSON.stringify(i)}),P=Oe(f,{onClick:a,className:"rejt-minus-menu",style:g.minus});return E.createElement("li",{className:"rejt-value-node",style:g.li},E.createElement("span",{className:"rejt-name",style:g.name},e," : "),x?E.createElement("span",{className:"rejt-edit-form",style:g.editForm},I," ",C,O):E.createElement("span",{className:"rejt-value",style:g.value,onClick:_?null:this.handleEditMode},String(t)),!_&&!x&&P)}};Wt.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:E.createElement("button",null,"e"),cancelButtonElement:E.createElement("button",null,"c"),minusMenuElement:E.createElement("span",null," - ")};var r4={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},n4={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},o4={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}};function a4(e){let t=e;if(t.indexOf("function")===0)return(0,eval)(`(${t})`);try{t=JSON.parse(e)}catch{}return t}var R2=class extends jt{constructor(e){super(e),this.state={data:e.data,rootName:e.rootName},this.onUpdate=this.onUpdate.bind(this),this.removeRoot=this.removeRoot.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data||e.rootName!==t.rootName?{data:e.data,rootName:e.rootName}:null}onUpdate(e,t){this.setState({data:t}),this.props.onFullyUpdate(t)}removeRoot(){this.onUpdate(null,null)}render(){let{data:e,rootName:t}=this.state,{isCollapsed:r,onDeltaUpdate:n,readOnly:o,getStyle:a,addButtonElement:i,cancelButtonElement:s,editButtonElement:l,inputElement:u,textareaElement:c,minusMenuElement:d,plusMenuElement:y,beforeRemoveAction:f,beforeAddAction:h,beforeUpdateAction:g,logger:_,onSubmitValueParser:x,fallback:v=null}=this.props,O=vr(e),C=o;vr(o)==="Boolean"&&(C=()=>o);let I=u;u&&vr(u)!=="Function"&&(I=()=>u);let P=c;return c&&vr(c)!=="Function"&&(P=()=>c),O==="Object"||O==="Array"?E.createElement("div",{className:"rejt-tree"},E.createElement(Ra,{data:e,name:t,deep:-1,isCollapsed:r,onUpdate:this.onUpdate,onDeltaUpdate:n,readOnly:C,getStyle:a,addButtonElement:i,cancelButtonElement:s,editButtonElement:l,inputElementGenerator:I,textareaElementGenerator:P,minusMenuElement:d,plusMenuElement:y,handleRemove:this.removeRoot,beforeRemoveAction:f,beforeAddAction:h,beforeUpdateAction:g,logger:_,onSubmitValueParser:x})):v}};R2.defaultProps={rootName:"root",isCollapsed:(e,t)=>t!==-1,getStyle:(e,t,r,n,o)=>{switch(o){case"Object":case"Error":return r4;case"Array":return n4;default:return o4}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(e,t,r,n,o)=>a4(o),inputElement:()=>E.createElement("input",null),textareaElement:()=>E.createElement("textarea",null),fallback:null};var{window:i4}=xt,s4=W.div(({theme:e})=>({position:"relative",display:"flex",'&[aria-readonly="true"]':{opacity:.5},".rejt-tree":{marginLeft:"1rem",fontSize:"13px"},".rejt-value-node, .rejt-object-node > .rejt-collapsed, .rejt-array-node > .rejt-collapsed, .rejt-object-node > .rejt-not-collapsed, .rejt-array-node > .rejt-not-collapsed":{"& > svg":{opacity:0,transition:"opacity 0.2s"}},".rejt-value-node:hover, .rejt-object-node:hover > .rejt-collapsed, .rejt-array-node:hover > .rejt-collapsed, .rejt-object-node:hover > .rejt-not-collapsed, .rejt-array-node:hover > .rejt-not-collapsed":{"& > svg":{opacity:1}},".rejt-edit-form button":{display:"none"},".rejt-add-form":{marginLeft:10},".rejt-add-value-node":{display:"inline-flex",alignItems:"center"},".rejt-name":{lineHeight:"22px"},".rejt-not-collapsed-delimiter":{lineHeight:"22px"},".rejt-plus-menu":{marginLeft:5},".rejt-object-node > span > *, .rejt-array-node > span > *":{position:"relative",zIndex:2},".rejt-object-node, .rejt-array-node":{position:"relative"},".rejt-object-node > span:first-of-type::after, .rejt-array-node > span:first-of-type::after, .rejt-collapsed::before, .rejt-not-collapsed::before":{content:'""',position:"absolute",top:0,display:"block",width:"100%",marginLeft:"-1rem",padding:"0 4px 0 1rem",height:22},".rejt-collapsed::before, .rejt-not-collapsed::before":{zIndex:1,background:"transparent",borderRadius:4,transition:"background 0.2s",pointerEvents:"none",opacity:.1},".rejt-object-node:hover, .rejt-array-node:hover":{"& > .rejt-collapsed::before, & > .rejt-not-collapsed::before":{background:e.color.secondary}},".rejt-collapsed::after, .rejt-not-collapsed::after":{content:'""',position:"absolute",display:"inline-block",pointerEvents:"none",width:0,height:0},".rejt-collapsed::after":{left:-8,top:8,borderTop:"3px solid transparent",borderBottom:"3px solid transparent",borderLeft:"3px solid rgba(153,153,153,0.6)"},".rejt-not-collapsed::after":{left:-10,top:10,borderTop:"3px solid rgba(153,153,153,0.6)",borderLeft:"3px solid transparent",borderRight:"3px solid transparent"},".rejt-value":{display:"inline-block",border:"1px solid transparent",borderRadius:4,margin:"1px 0",padding:"0 4px",cursor:"text",color:e.color.defaultText},".rejt-value-node:hover > .rejt-value":{background:e.color.lighter,borderColor:e.appBorderColor}})),Al=W.button(({theme:e,primary:t})=>({border:0,height:20,margin:1,borderRadius:4,background:t?e.color.secondary:"transparent",color:t?e.color.lightest:e.color.dark,fontWeight:t?"bold":"normal",cursor:"pointer",order:t?"initial":9})),l4=W(ai)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.ancillary},"svg + &":{marginLeft:0}})),u4=W($u)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.negative},"svg + &":{marginLeft:0}})),Iv=W.input(({theme:e,placeholder:t})=>({outline:0,margin:t?1:"1px 0",padding:"3px 4px",color:e.color.defaultText,background:e.background.app,border:`1px solid ${e.appBorderColor}`,borderRadius:4,lineHeight:"14px",width:t==="Key"?80:120,"&:focus":{border:`1px solid ${e.color.secondary}`}})),c4=W(ht)(({theme:e})=>({position:"absolute",zIndex:2,top:2,right:2,height:21,padding:"0 3px",background:e.background.bar,border:`1px solid ${e.appBorderColor}`,borderRadius:3,color:e.textMutedColor,fontSize:"9px",fontWeight:"bold",textDecoration:"none",span:{marginLeft:3,marginTop:1}})),p4=W(dt.Textarea)(({theme:e})=>({flex:1,padding:"7px 6px",fontFamily:e.typography.fonts.mono,fontSize:"12px",lineHeight:"18px","&::placeholder":{fontFamily:e.typography.fonts.base,fontSize:"13px"},"&:placeholder-shown":{padding:"7px 10px"}})),d4={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},f4=e=>{e.currentTarget.dispatchEvent(new i4.KeyboardEvent("keydown",d4))},y4=e=>{e.currentTarget.select()},h4=e=>()=>({name:{color:e.color.secondary},collapsed:{color:e.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}),Pv=({name:e,value:t,onChange:r,argType:n})=>{let o=ni(),a=Nt(()=>t&&(0,Lv.default)(t),[t]),i=a!=null,[s,l]=he(!i),[u,c]=he(null),d=!!n?.table?.readonly,y=$e(O=>{try{O&&r(JSON.parse(O)),c(void 0)}catch(C){c(C)}},[r]),[f,h]=he(!1),g=$e(()=>{r({}),h(!0)},[h]),_=Xe(null);if(ze(()=>{f&&_.current&&_.current.select()},[f]),!i)return E.createElement(Bt,{disabled:d,id:bn(e),onClick:g},"Set object");let x=E.createElement(p4,{ref:_,id:tt(e),name:e,defaultValue:t===null?"":JSON.stringify(t,null,2),onBlur:O=>y(O.target.value),placeholder:"Edit JSON string...",autoFocus:f,valid:u?"error":null,readOnly:d}),v=Array.isArray(t)||typeof t=="object"&&t?.constructor===Object;return E.createElement(s4,{"aria-readonly":d},v&&E.createElement(c4,{onClick:O=>{O.preventDefault(),l(C=>!C)}},s?E.createElement(qu,null):E.createElement(Mu,null),E.createElement("span",null,"RAW")),s?x:E.createElement(R2,{readOnly:d||!v,isCollapsed:v?void 0:()=>!0,data:a,rootName:e,onFullyUpdate:r,getStyle:h4(o),cancelButtonElement:E.createElement(Al,{type:"button"},"Cancel"),editButtonElement:E.createElement(Al,{type:"submit"},"Save"),addButtonElement:E.createElement(Al,{type:"submit",primary:!0},"Save"),plusMenuElement:E.createElement(l4,null),minusMenuElement:E.createElement(u4,null),inputElement:(O,C,I,P)=>P?E.createElement(Iv,{onFocus:y4,onBlur:f4}):E.createElement(Iv,null),fallback:x}))},m4=W.input(({theme:e,min:t,max:r,value:n,disabled:o})=>({"&":{width:"100%",backgroundColor:"transparent",appearance:"none"},"&::-webkit-slider-runnable-track":{background:e.base==="light"?`linear-gradient(to right, +`&&(n=!1)),!r&&!n&&(a+=e[i]);else a=e;return a};(0,FB.default)(1e4)(e=>Dq(e).replace(/\n\s*/g,"").trim());var Fq=Xt({"../../node_modules/tocbot/src/js/default-options.js"(e,t){t.exports={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(r){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(r){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollOffset:0}}}),jq=Xt({"../../node_modules/tocbot/src/js/build-html.js"(e,t){t.exports=function(r){var n=[].forEach,o=[].some,a=document.body,i,s=!0,l=" ";function u(T,O){var I=O.appendChild(d(T));if(T.children.length){var D=y(T.isCollapsed);T.children.forEach(function(R){u(R,D)}),I.appendChild(D)}}function c(T,O){var I=!1,D=y(I);if(O.forEach(function(R){u(R,D)}),i=T||i,i!==null)return i.firstChild&&i.removeChild(i.firstChild),O.length===0?i:i.appendChild(D)}function d(T){var O=document.createElement("li"),I=document.createElement("a");return r.listItemClass&&O.setAttribute("class",r.listItemClass),r.onClick&&(I.onclick=r.onClick),r.includeTitleTags&&I.setAttribute("title",T.textContent),r.includeHtml&&T.childNodes.length?n.call(T.childNodes,function(D){I.appendChild(D.cloneNode(!0))}):I.textContent=T.textContent,I.setAttribute("href",r.basePath+"#"+T.id),I.setAttribute("class",r.linkClass+l+"node-name--"+T.nodeName+l+r.extraLinkClasses),O.appendChild(I),O}function y(T){var O=r.orderedList?"ol":"ul",I=document.createElement(O),D=r.listClass+l+r.extraListClasses;return T&&(D=D+l+r.collapsibleClass,D=D+l+r.isCollapsedClass),I.setAttribute("class",D),I}function f(){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var T;T=document.querySelector(r.scrollContainer).scrollTop}else T=document.documentElement.scrollTop||a.scrollTop;var O=document.querySelector(r.positionFixedSelector);r.fixedSidebarOffset==="auto"&&(r.fixedSidebarOffset=i.offsetTop),T>r.fixedSidebarOffset?O.className.indexOf(r.positionFixedClass)===-1&&(O.className+=l+r.positionFixedClass):O.className=O.className.replace(l+r.positionFixedClass,"")}function h(T){var O=0;return T!==null&&(O=T.offsetTop,r.hasInnerContainers&&(O+=h(T.offsetParent))),O}function g(T,O){return T&&T.className!==O&&(T.className=O),T}function C(T){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var O;O=document.querySelector(r.scrollContainer).scrollTop}else O=document.documentElement.scrollTop||a.scrollTop;r.positionFixedSelector&&f();var I=T,D;if(s&&i!==null&&I.length>0){o.call(I,function(P,q){if(h(P)>O+r.headingsOffset+10){var J=q===0?q:q-1;return D=I[J],!0}else if(q===I.length-1)return D=I[I.length-1],!0});var R=i.querySelector("."+r.activeLinkClass),M=i.querySelector("."+r.linkClass+".node-name--"+D.nodeName+'[href="'+r.basePath+"#"+D.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(R===M)return;var z=i.querySelectorAll("."+r.linkClass);n.call(z,function(P){g(P,P.className.replace(l+r.activeLinkClass,""))});var Y=i.querySelectorAll("."+r.listItemClass);n.call(Y,function(P){g(P,P.className.replace(l+r.activeListItemClass,""))}),M&&M.className.indexOf(r.activeLinkClass)===-1&&(M.className+=l+r.activeLinkClass);var Z=M&&M.parentNode;Z&&Z.className.indexOf(r.activeListItemClass)===-1&&(Z.className+=l+r.activeListItemClass);var V=i.querySelectorAll("."+r.listClass+"."+r.collapsibleClass);n.call(V,function(P){P.className.indexOf(r.isCollapsedClass)===-1&&(P.className+=l+r.isCollapsedClass)}),M&&M.nextSibling&&M.nextSibling.className.indexOf(r.isCollapsedClass)!==-1&&g(M.nextSibling,M.nextSibling.className.replace(l+r.isCollapsedClass,"")),b(M&&M.parentNode.parentNode)}}function b(T){return T&&T.className.indexOf(r.collapsibleClass)!==-1&&T.className.indexOf(r.isCollapsedClass)!==-1?(g(T,T.className.replace(l+r.isCollapsedClass,"")),b(T.parentNode.parentNode)):T}function E(T){var O=T.target||T.srcElement;typeof O.className!="string"||O.className.indexOf(r.linkClass)===-1||(s=!1)}function _(){s=!0}return{enableTocAnimation:_,disableTocAnimation:E,render:c,updateToc:C}}}}),Nq=Xt({"../../node_modules/tocbot/src/js/parse-content.js"(e,t){t.exports=function(r){var n=[].reduce;function o(d){return d[d.length-1]}function a(d){return+d.nodeName.toUpperCase().replace("H","")}function i(d){try{return d instanceof window.HTMLElement||d instanceof window.parent.HTMLElement}catch{return d instanceof window.HTMLElement}}function s(d){if(!i(d))return d;if(r.ignoreHiddenElements&&(!d.offsetHeight||!d.offsetParent))return null;let y=d.getAttribute("data-heading-label")||(r.headingLabelCallback?String(r.headingLabelCallback(d.innerText)):(d.innerText||d.textContent).trim());var f={id:d.id,children:[],nodeName:d.nodeName,headingLevel:a(d),textContent:y};return r.includeHtml&&(f.childNodes=d.childNodes),r.headingObjectCallback?r.headingObjectCallback(f,d):f}function l(d,y){for(var f=s(d),h=f.headingLevel,g=y,C=o(g),b=C?C.headingLevel:0,E=h-b;E>0&&(C=o(g),!(C&&h===C.headingLevel));)C&&C.children!==void 0&&(g=C.children),E--;return h>=r.collapseDepth&&(f.isCollapsed=!0),g.push(f),g}function u(d,y){var f=y;r.ignoreSelector&&(f=y.split(",").map(function(h){return h.trim()+":not("+r.ignoreSelector+")"}));try{return d.querySelectorAll(f)}catch{return console.warn("Headers not found with selector: "+f),null}}function c(d){return n.call(d,function(y,f){var h=s(f);return h&&l(h,y.nest),y},{nest:[]})}return{nestHeadingsArray:c,selectHeadings:u}}}}),Bq=Xt({"../../node_modules/tocbot/src/js/update-toc-scroll.js"(e,t){t.exports=function(r){var n=r.tocElement||document.querySelector(r.tocSelector);if(n&&n.scrollHeight>n.clientHeight){var o=n.querySelector("."+r.activeListItemClass);o&&(n.scrollTop=o.offsetTop-r.tocScrollOffset)}}}}),Lq=Xt({"../../node_modules/tocbot/src/js/scroll-smooth/index.js"(e){e.initSmoothScrolling=t;function t(n){var o=n.duration,a=n.offset,i=location.hash?u(location.href):location.href;s();function s(){document.body.addEventListener("click",d,!1);function d(y){!l(y.target)||y.target.className.indexOf("no-smooth-scroll")>-1||y.target.href.charAt(y.target.href.length-2)==="#"&&y.target.href.charAt(y.target.href.length-1)==="!"||y.target.className.indexOf(n.linkClass)===-1||r(y.target.hash,{duration:o,offset:a,callback:function(){c(y.target.hash)}})}}function l(d){return d.tagName.toLowerCase()==="a"&&(d.hash.length>0||d.href.charAt(d.href.length-1)==="#")&&(u(d.href)===i||u(d.href)+"#"===i)}function u(d){return d.slice(0,d.lastIndexOf("#"))}function c(d){var y=document.getElementById(d.substring(1));y&&(/^(?:a|select|input|button|textarea)$/i.test(y.tagName)||(y.tabIndex=-1),y.focus())}}function r(n,o){var a=window.pageYOffset,i={duration:o.duration,offset:o.offset||0,callback:o.callback,easing:o.easing||h},s=document.querySelector('[id="'+decodeURI(n).split("#").join("")+'"]')||document.querySelector('[id="'+n.split("#").join("")+'"]'),l=typeof n=="string"?i.offset+(n?s&&s.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):n,u=typeof i.duration=="function"?i.duration(l):i.duration,c,d;requestAnimationFrame(function(g){c=g,y(g)});function y(g){d=g-c,window.scrollTo(0,i.easing(d,a,l,u)),d"u"&&!d)return;var y,f=Object.prototype.hasOwnProperty;function h(){for(var E={},_=0;_({backgroundColor:e.base==="light"?"rgba(0,0,0,.01)":"rgba(255,255,255,.01)",borderRadius:e.appBorderRadius,border:`1px dashed ${e.appBorderColor}`,display:"flex",alignItems:"center",justifyContent:"center",padding:20,margin:"25px 0 40px",color:xe(.3,e.color.defaultText),fontSize:e.typography.size.s2})),y2=e=>v.createElement(Mq,{...e,className:"docblock-emptyblock sb-unstyled"}),Uq=W(oo)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),$q=W.div(({theme:e})=>({background:e.background.content,borderRadius:e.appBorderRadius,border:`1px solid ${e.appBorderColor}`,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",margin:"25px 0 40px",padding:"20px 20px 20px 22px"})),ga=W.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${Ou}`]:{margin:0}})),zq=()=>v.createElement($q,null,v.createElement(ga,null),v.createElement(ga,{style:{width:"80%"}}),v.createElement(ga,{style:{width:"30%"}}),v.createElement(ga,{style:{width:"80%"}})),Vq=({isLoading:e,error:t,language:r,code:n,dark:o,format:a=!1,...i})=>{let{typography:s}=ei();if(e)return v.createElement(zq,null);if(t)return v.createElement(y2,null,t);let l=v.createElement(Uq,{bordered:!0,copyable:!0,format:a,language:r,className:"docblock-source sb-unstyled",...i},n);if(typeof o>"u")return l;let u=o?Za.dark:Za.light;return v.createElement(Cu,{theme:_u({...u,fontCode:s.fonts.mono,fontBase:s.fonts.base})},l)},De=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,Ll=600;W.h1(Er,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${Ll}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}}));W.h2(Er,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${Ll}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:xe(.25,e.color.defaultText)}));W.div(({theme:e})=>{let t={fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},r={margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& code":{fontSize:"inherit"}},n={lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?xe(.1,e.color.defaultText):xe(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[De("a")]:{...t,fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}},[De("blockquote")]:{...t,margin:"16px 0",borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},[De("div")]:t,[De("dl")]:{...t,margin:"16px 0",padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}},[De("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[De("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[De("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[De("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[De("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[De("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[De("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[De("img")]:{maxWidth:"100%"},[De("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[De("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[De("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[De("pre")]:{...t,fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}},[De("span")]:{...t,"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}},[De("table")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}},[De("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}});W.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${Ll}px)`]:{}}));var Oa=e=>({borderRadius:e.appBorderRadius,background:e.background.content,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",border:`1px solid ${e.appBorderColor}`}),Hq=un({scale:1});W.strong(({theme:e})=>({color:e.color.orange}));var Jq=W(La)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),Gq=W.div({display:"flex",alignItems:"center",gap:4}),Wq=W.div(({theme:e})=>({width:14,height:14,borderRadius:2,margin:"0 7px",backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),Kq=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:o,...a})=>v.createElement(Jq,{...a},v.createElement(Gq,{key:"left"},e?[1,2,3].map(i=>v.createElement(Wq,{key:i})):v.createElement(v.Fragment,null,v.createElement(yt,{key:"zoomin",onClick:i=>{i.preventDefault(),n(.8)},title:"Zoom in"},v.createElement(Uu,null)),v.createElement(yt,{key:"zoomout",onClick:i=>{i.preventDefault(),n(1.25)},title:"Zoom out"},v.createElement($u,null)),v.createElement(yt,{key:"zoomreset",onClick:i=>{i.preventDefault(),o()},title:"Reset zoom"},v.createElement(zu,null))))),Yq=W.div(({isColumn:e,columns:t,layout:r})=>({display:e||!t?"block":"flex",position:"relative",flexWrap:"wrap",overflow:"auto",flexDirection:e?"column":"row","& .innerZoomElementWrapper > *":e?{width:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"block"}:{maxWidth:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"inline-block"}}),({layout:e="padded"})=>e==="centered"||e==="padded"?{padding:"30px 20px","& .innerZoomElementWrapper > *":{width:"auto",border:"10px solid transparent!important"}}:{},({layout:e="padded"})=>e==="centered"?{display:"flex",justifyContent:"center",justifyItems:"center",alignContent:"center",alignItems:"center"}:{},({columns:e})=>e&&e>1?{".innerZoomElementWrapper > *":{minWidth:`calc(100% / ${e} - 20px)`}}:{}),hv=W(Vq)(({theme:e})=>({margin:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:e.appBorderRadius,borderBottomRightRadius:e.appBorderRadius,border:"none",background:e.base==="light"?"rgba(0, 0, 0, 0.85)":bt(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":bt(.05,e.background.content)}})),Xq=W.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...Oa(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),Qq=(e,t,r)=>{switch(!0){case!!(e&&e.error):return{source:null,actionItem:{title:"No code available",className:"docblock-code-toggle docblock-code-toggle--disabled",disabled:!0,onClick:()=>r(!1)}};case t:return{source:v.createElement(hv,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:v.createElement(hv,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function Zq(e){if(Kl.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var eM=W(Kq)({position:"absolute",top:0,left:0,right:0,height:40}),tM=W.div({overflow:"hidden",position:"relative"}),rM=({isLoading:e,isColumn:t,columns:r,children:n,withSource:o,withToolbar:a=!1,isExpanded:i=!1,additionalActions:s,className:l,layout:u="padded",...c})=>{let[d,y]=me(i),{source:f,actionItem:h}=Qq(o,d,y),[g,C]=me(1),b=[l].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),E=o?[h]:[],[_,T]=me(s?[...s]:[]),O=[...E,..._],{window:I}=ct,D=Ve(async M=>{let{createCopyToClipboardFunction:z}=await Promise.resolve().then(()=>(ao(),eu));z()},[]),R=M=>{let z=I.getSelection();z&&z.type==="Range"||(M.preventDefault(),_.filter(Y=>Y.title==="Copied").length===0&&D(f.props.code).then(()=>{T([..._,{title:"Copied",onClick:()=>{}}]),I.setTimeout(()=>T(_.filter(Y=>Y.title!=="Copied")),1500)}))};return v.createElement(Xq,{withSource:o,withToolbar:a,...c,className:b.join(" ")},a&&v.createElement(eM,{isLoading:e,border:!0,zoom:M=>C(g*M),resetZoom:()=>C(1),storyId:Zq(n),baseUrl:"./iframe.html"}),v.createElement(Hq.Provider,{value:{scale:g}},v.createElement(tM,{className:"docs-story",onCopyCapture:o&&R},v.createElement(Yq,{isColumn:t||!Array.isArray(n),columns:r,layout:u},v.createElement(za.Element,{scale:g},Array.isArray(n)?n.map((M,z)=>v.createElement("div",{key:z},M)):v.createElement("div",null,n))),v.createElement(Da,{actionItems:O}))),o&&d&&f)};W(rM)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));var nM=W.label(({theme:e})=>({lineHeight:"18px",alignItems:"center",marginBottom:8,display:"inline-block",position:"relative",whiteSpace:"nowrap",background:e.boolean.background,borderRadius:"3em",padding:1,'&[aria-disabled="true"]':{opacity:.5,input:{cursor:"not-allowed"}},input:{appearance:"none",width:"100%",height:"100%",position:"absolute",left:0,top:0,margin:0,padding:0,border:"none",background:"transparent",cursor:"pointer",borderRadius:"3em","&:focus":{outline:"none",boxShadow:`${e.color.secondary} 0 0 0 1px inset !important`}},span:{textAlign:"center",fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:"1",cursor:"pointer",display:"inline-block",padding:"7px 15px",transition:"all 100ms ease-out",userSelect:"none",borderRadius:"3em",color:xe(.5,e.color.defaultText),background:"transparent","&:hover":{boxShadow:`${ma(.3,e.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${ma(.05,e.appBorderColor)} 0 0 0 2px inset`,color:ma(1,e.appBorderColor)},"&:first-of-type":{paddingRight:8},"&:last-of-type":{paddingLeft:8}},"input:checked ~ span:last-of-type, input:not(:checked) ~ span:first-of-type":{background:e.boolean.selectedBackground,boxShadow:e.base==="light"?`${ma(.1,e.appBorderColor)} 0 0 2px`:`${e.appBorderColor} 0 0 0 1px`,color:e.color.defaultText,padding:"7px 15px"}})),oM=e=>e==="true",aM=({name:e,value:t,onChange:r,onBlur:n,onFocus:o,argType:a})=>{let i=Ve(()=>r(!1),[r]),s=!!a?.table?.readonly;if(t===void 0)return v.createElement(Nt,{variant:"outline",size:"medium",id:ln(e),onClick:i,disabled:s},"Set boolean");let l=tt(e),u=typeof t=="string"?oM(t):t;return v.createElement(nM,{"aria-disabled":s,htmlFor:l,"aria-label":e},v.createElement("input",{id:l,type:"checkbox",onChange:c=>r(c.target.checked),checked:u,role:"switch",disabled:s,name:e,onBlur:n,onFocus:o}),v.createElement("span",{"aria-hidden":"true"},"False"),v.createElement("span",{"aria-hidden":"true"},"True"))},iM=e=>{let[t,r,n]=e.split("-"),o=new Date;return o.setFullYear(parseInt(t,10),parseInt(r,10)-1,parseInt(n,10)),o},sM=e=>{let[t,r]=e.split(":"),n=new Date;return n.setHours(parseInt(t,10)),n.setMinutes(parseInt(r,10)),n},lM=e=>{let t=new Date(e),r=`000${t.getFullYear()}`.slice(-4),n=`0${t.getMonth()+1}`.slice(-2),o=`0${t.getDate()}`.slice(-2);return`${r}-${n}-${o}`},uM=e=>{let t=new Date(e),r=`0${t.getHours()}`.slice(-2),n=`0${t.getMinutes()}`.slice(-2);return`${r}:${n}`},mv=W(ut.Input)(({readOnly:e})=>({opacity:e?.5:1})),cM=W.div(({theme:e})=>({flex:1,display:"flex",input:{marginLeft:10,flex:1,height:32,"&::-webkit-calendar-picker-indicator":{opacity:.5,height:12,filter:e.base==="light"?void 0:"invert(1)"}},"input:first-of-type":{marginLeft:0,flexGrow:4},"input:last-of-type":{flexGrow:3}})),pM=({name:e,value:t,onChange:r,onFocus:n,onBlur:o,argType:a})=>{let[i,s]=me(!0),l=Xe(),u=Xe(),c=!!a?.table?.readonly;He(()=>{i!==!1&&(l&&l.current&&(l.current.value=t?lM(t):""),u&&u.current&&(u.current.value=t?uM(t):""))},[t]);let d=h=>{if(!h.target.value)return r();let g=iM(h.target.value),C=new Date(t);C.setFullYear(g.getFullYear(),g.getMonth(),g.getDate());let b=C.getTime();b&&r(b),s(!!b)},y=h=>{if(!h.target.value)return r();let g=sM(h.target.value),C=new Date(t);C.setHours(g.getHours()),C.setMinutes(g.getMinutes());let b=C.getTime();b&&r(b),s(!!b)},f=tt(e);return v.createElement(cM,null,v.createElement(mv,{type:"date",max:"9999-12-31",ref:l,id:`${f}-date`,name:`${f}-date`,readOnly:c,onChange:d,onFocus:n,onBlur:o}),v.createElement(mv,{type:"time",id:`${f}-time`,name:`${f}-time`,ref:u,onChange:y,readOnly:c,onFocus:n,onBlur:o}),i?null:v.createElement("div",null,"invalid"))},dM=W.label({display:"flex"}),fM=e=>{let t=parseFloat(e);return Number.isNaN(t)?void 0:t},yM=W(ut.Input)(({readOnly:e})=>({opacity:e?.5:1})),hM=({name:e,value:t,onChange:r,min:n,max:o,step:a,onBlur:i,onFocus:s,argType:l})=>{let[u,c]=me(typeof t=="number"?t:""),[d,y]=me(!1),[f,h]=me(null),g=!!l?.table?.readonly,C=Ve(_=>{c(_.target.value);let T=parseFloat(_.target.value);Number.isNaN(T)?h(new Error(`'${_.target.value}' is not a number`)):(r(T),h(null))},[r,h]),b=Ve(()=>{c("0"),r(0),y(!0)},[y]),E=Xe(null);return He(()=>{d&&E.current&&E.current.select()},[d]),He(()=>{u!==(typeof t=="number"?t:"")&&c(t)},[t]),t===void 0?v.createElement(Nt,{variant:"outline",size:"medium",id:ln(e),onClick:b,disabled:g},"Set number"):v.createElement(dM,null,v.createElement(yM,{ref:E,id:tt(e),type:"number",onChange:C,size:"flex",placeholder:"Edit number...",value:u,valid:f?"error":null,autoFocus:d,readOnly:g,name:e,min:n,max:o,step:a,onFocus:s,onBlur:i}))},h2=(e,t)=>{let r=t&&Object.entries(t).find(([n,o])=>o===e);return r?r[0]:void 0},Il=(e,t)=>e&&t?Object.entries(t).filter(r=>e.includes(r[1])).map(r=>r[0]):[],m2=(e,t)=>e&&t&&e.map(r=>t[r]),mM=W.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),gM=W.span({"[aria-readonly=true] &":{opacity:.5}}),bM=W.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),gv=({name:e,options:t,value:r,onChange:n,isInline:o,argType:a})=>{if(!t)return mo.warn(`Checkbox with no options: ${e}`),v.createElement(v.Fragment,null,"-");let i=Il(r,t),[s,l]=me(i),u=!!a?.table?.readonly,c=y=>{let f=y.target.value,h=[...s];h.includes(f)?h.splice(h.indexOf(f),1):h.push(f),n(m2(h,t)),l(h)};He(()=>{l(Il(r,t))},[r]);let d=tt(e);return v.createElement(mM,{"aria-readonly":u,isInline:o},Object.keys(t).map((y,f)=>{let h=`${d}-${f}`;return v.createElement(bM,{key:h,htmlFor:h},v.createElement("input",{type:"checkbox",disabled:u,id:h,name:h,value:y,onChange:c,checked:s?.includes(y)}),v.createElement(gM,null,y))}))},vM=W.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),EM=W.span({"[aria-readonly=true] &":{opacity:.5}}),xM=W.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),bv=({name:e,options:t,value:r,onChange:n,isInline:o,argType:a})=>{if(!t)return mo.warn(`Radio with no options: ${e}`),v.createElement(v.Fragment,null,"-");let i=h2(r,t),s=tt(e),l=!!a?.table?.readonly;return v.createElement(vM,{"aria-readonly":l,isInline:o},Object.keys(t).map((u,c)=>{let d=`${s}-${c}`;return v.createElement(xM,{key:d,htmlFor:d},v.createElement("input",{type:"radio",id:d,name:s,disabled:l,value:u,onChange:y=>n(t[y.currentTarget.value]),checked:u===i}),v.createElement(EM,null,u))}))},wM={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},g2=W.select(wM,({theme:e})=>({boxSizing:"border-box",position:"relative",padding:"6px 10px",width:"100%",color:e.input.color||"inherit",background:e.input.background,borderRadius:e.input.borderRadius,boxShadow:`${e.input.border} 0 0 0 1px inset`,fontSize:e.typography.size.s2-1,lineHeight:"20px","&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"::placeholder":{color:e.textMutedColor},"&[multiple]":{overflow:"auto",padding:0,option:{display:"block",padding:"6px 10px",marginLeft:1,marginRight:1}}})),b2=W.span(({theme:e})=>({display:"inline-block",lineHeight:"normal",overflow:"hidden",position:"relative",verticalAlign:"top",width:"100%",svg:{position:"absolute",zIndex:1,pointerEvents:"none",height:"12px",marginTop:"-6px",right:"12px",top:"50%",fill:e.textMutedColor,path:{fill:e.textMutedColor}}})),vv="Choose option...",SM=({name:e,value:t,options:r,onChange:n,argType:o})=>{let a=u=>{n(r[u.currentTarget.value])},i=h2(t,r)||vv,s=tt(e),l=!!o?.table?.readonly;return v.createElement(b2,null,v.createElement(ni,null),v.createElement(g2,{disabled:l,id:s,value:i,onChange:a},v.createElement("option",{key:"no-selection",disabled:!0},vv),Object.keys(r).map(u=>v.createElement("option",{key:u,value:u},u))))},AM=({name:e,value:t,options:r,onChange:n,argType:o})=>{let a=u=>{let c=Array.from(u.currentTarget.options).filter(d=>d.selected).map(d=>d.value);n(m2(c,r))},i=Il(t,r),s=tt(e),l=!!o?.table?.readonly;return v.createElement(b2,null,v.createElement(g2,{disabled:l,id:s,multiple:!0,value:i,onChange:a},Object.keys(r).map(u=>v.createElement("option",{key:u,value:u},u))))},Ev=e=>{let{name:t,options:r}=e;return r?e.isMulti?v.createElement(AM,{...e}):v.createElement(SM,{...e}):(mo.warn(`Select with no options: ${t}`),v.createElement(v.Fragment,null,"-"))},TM=(e,t)=>Array.isArray(e)?e.reduce((r,n)=>(r[t?.[n]||String(n)]=n,r),{}):e,CM={check:gv,"inline-check":gv,radio:bv,"inline-radio":bv,select:Ev,"multi-select":Ev},Hr=e=>{let{type:t="select",labels:r,argType:n}=e,o={...e,argType:n,options:n?TM(n.options,r):{},isInline:t.includes("inline"),isMulti:t.includes("multi")},a=CM[t];if(a)return v.createElement(a,{...o});throw new Error(`Unknown options type: ${t}`)},_M="Error",OM="Object",IM="Array",kM="String",PM="Number",RM="Boolean",DM="Date",FM="Null",jM="Undefined",NM="Function",BM="Symbol",v2="ADD_DELTA_TYPE",E2="REMOVE_DELTA_TYPE",x2="UPDATE_DELTA_TYPE",ql="value",LM="key";function dr(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&typeof e[Symbol.iterator]=="function"?"Iterable":Object.prototype.toString.call(e).slice(8,-1)}function w2(e,t){let r=dr(e),n=dr(t);return(r==="Function"||n==="Function")&&n!==r}var Ml=class extends Ft{constructor(e){super(e),this.state={inputRefKey:null,inputRefValue:null},this.refInputValue=this.refInputValue.bind(this),this.refInputKey=this.refInputKey.bind(this),this.onKeydown=this.onKeydown.bind(this),this.onSubmit=this.onSubmit.bind(this)}componentDidMount(){let{inputRefKey:e,inputRefValue:t}=this.state,{onlyValue:r}=this.props;e&&typeof e.focus=="function"&&e.focus(),r&&t&&typeof t.focus=="function"&&t.focus(),document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.onSubmit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.props.handleCancel()))}onSubmit(){let{handleAdd:e,onlyValue:t,onSubmitValueParser:r,keyPath:n,deep:o}=this.props,{inputRefKey:a,inputRefValue:i}=this.state,s={};if(!t){if(!a.value)return;s.key=a.value}s.newValue=r(!1,n,o,s.key,i.value),e(s)}refInputKey(e){this.state.inputRefKey=e}refInputValue(e){this.state.inputRefValue=e}render(){let{handleCancel:e,onlyValue:t,addButtonElement:r,cancelButtonElement:n,inputElementGenerator:o,keyPath:a,deep:i}=this.props,s=Ae(r,{onClick:this.onSubmit}),l=Ae(n,{onClick:e}),u=o(ql,a,i),c=Ae(u,{placeholder:"Value",ref:this.refInputValue}),d=null;if(!t){let y=o(LM,a,i);d=Ae(y,{placeholder:"Key",ref:this.refInputKey})}return v.createElement("span",{className:"rejt-add-value-node"},d,c,l,s)}};Ml.defaultProps={onlyValue:!1,addButtonElement:v.createElement("button",null,"+"),cancelButtonElement:v.createElement("button",null,"c")};var S2=class extends Ft{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={data:e.data,name:e.name,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveItem=this.handleRemoveItem.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:o}=this.props,a=n.length;o(n[a-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleRemoveItem(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:o,nextDeep:a}=this.state,i=n[e];t(e,o,a,i).then(()=>{let s={keyPath:o,deep:a,key:e,oldValue:i,type:E2};n.splice(e,1),this.setState({data:n});let{onUpdate:l,onDeltaUpdate:u}=this.props;l(o[o.length-1],n),u(s)}).catch(r.error)}}handleAddValueAdd({newValue:e}){let{data:t,keyPath:r,nextDeep:n}=this.state,{beforeAddAction:o,logger:a}=this.props;o(t.length,r,n,e).then(()=>{let i=[...t,e];this.setState({data:i}),this.handleAddValueCancel();let{onUpdate:s,onDeltaUpdate:l}=this.props;s(r[r.length-1],i),l({type:v2,keyPath:r,deep:n,key:i.length-1,newValue:e})}).catch(a.error)}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:o}=this.props,{data:a,keyPath:i,nextDeep:s}=this.state,l=a[e];o(e,i,s,l,t).then(()=>{a[e]=t,this.setState({data:a});let{onUpdate:u,onDeltaUpdate:c}=this.props;u(i[i.length-1],a),c({type:x2,keyPath:i,deep:s,key:e,newValue:t,oldValue:l}),r(void 0)}).catch(n)})}renderCollapsed(){let{name:e,data:t,keyPath:r,deep:n}=this.state,{handleRemove:o,readOnly:a,getStyle:i,dataType:s,minusMenuElement:l}=this.props,{minus:u,collapsed:c}=i(e,t,r,n,s),d=a(e,t,r,n,s),y=Ae(l,{onClick:o,className:"rejt-minus-menu",style:u});return v.createElement("span",{className:"rejt-collapsed"},v.createElement("span",{className:"rejt-collapsed-text",style:c,onClick:this.handleCollapseMode},"[...] ",t.length," ",t.length===1?"item":"items"),!d&&y)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,addFormVisible:o,nextDeep:a}=this.state,{isCollapsed:i,handleRemove:s,onDeltaUpdate:l,readOnly:u,getStyle:c,dataType:d,addButtonElement:y,cancelButtonElement:f,editButtonElement:h,inputElementGenerator:g,textareaElementGenerator:C,minusMenuElement:b,plusMenuElement:E,beforeRemoveAction:_,beforeAddAction:T,beforeUpdateAction:O,logger:I,onSubmitValueParser:D}=this.props,{minus:R,plus:M,delimiter:z,ul:Y,addForm:Z}=c(e,t,r,n,d),V=u(e,t,r,n,d),P=Ae(E,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:M}),q=Ae(b,{onClick:s,className:"rejt-minus-menu",style:R});return v.createElement("span",{className:"rejt-not-collapsed"},v.createElement("span",{className:"rejt-not-collapsed-delimiter",style:z},"["),!o&&P,v.createElement("ul",{className:"rejt-not-collapsed-list",style:Y},t.map((J,X)=>v.createElement(Ia,{key:X,name:X.toString(),data:J,keyPath:r,deep:a,isCollapsed:i,handleRemove:this.handleRemoveItem(X),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:l,readOnly:u,getStyle:c,addButtonElement:y,cancelButtonElement:f,editButtonElement:h,inputElementGenerator:g,textareaElementGenerator:C,minusMenuElement:b,plusMenuElement:E,beforeRemoveAction:_,beforeAddAction:T,beforeUpdateAction:O,logger:I,onSubmitValueParser:D}))),!V&&o&&v.createElement("div",{className:"rejt-add-form",style:Z},v.createElement(Ml,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:!0,addButtonElement:y,cancelButtonElement:f,inputElementGenerator:g,keyPath:r,deep:n,onSubmitValueParser:D})),v.createElement("span",{className:"rejt-not-collapsed-delimiter",style:z},"]"),!V&&q)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:o}=this.state,{dataType:a,getStyle:i}=this.props,s=t?this.renderCollapsed():this.renderNotCollapsed(),l=i(e,r,n,o,a);return v.createElement("div",{className:"rejt-array-node"},v.createElement("span",{onClick:this.handleCollapseMode},v.createElement("span",{className:"rejt-name",style:l.name},e," :"," ")),s)}};S2.defaultProps={keyPath:[],deep:0,minusMenuElement:v.createElement("span",null," - "),plusMenuElement:v.createElement("span",null," + ")};var A2=class extends Ft{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:o,deep:a}=this.state,{readOnly:i,dataType:s}=this.props,l=i(r,n,o,a,s);e&&!l&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:o}=this.props,{inputRef:a,name:i,deep:s}=this.state;if(!a)return;let l=n(!0,o,s,i,a.value);e({value:l,key:i}).then(()=>{w2(t,l)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:o}=this.state,{handleRemove:a,originalValue:i,readOnly:s,dataType:l,getStyle:u,editButtonElement:c,cancelButtonElement:d,textareaElementGenerator:y,minusMenuElement:f,keyPath:h}=this.props,g=u(e,i,n,o,l),C=null,b=null,E=s(e,i,n,o,l);if(r&&!E){let _=y(ql,h,o,e,i,l),T=Ae(c,{onClick:this.handleEdit}),O=Ae(d,{onClick:this.handleCancelEdit}),I=Ae(_,{ref:this.refInput,defaultValue:i});C=v.createElement("span",{className:"rejt-edit-form",style:g.editForm},I," ",O,T),b=null}else{C=v.createElement("span",{className:"rejt-value",style:g.value,onClick:E?null:this.handleEditMode},t);let _=Ae(f,{onClick:a,className:"rejt-minus-menu",style:g.minus});b=E?null:_}return v.createElement("li",{className:"rejt-function-value-node",style:g.li},v.createElement("span",{className:"rejt-name",style:g.name},e," :"," "),C,b)}};A2.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:v.createElement("button",null,"e"),cancelButtonElement:v.createElement("button",null,"c"),minusMenuElement:v.createElement("span",null," - ")};var Ia=class extends Ft{constructor(e){super(e),this.state={data:e.data,name:e.name,keyPath:e.keyPath,deep:e.deep}}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}render(){let{data:e,name:t,keyPath:r,deep:n}=this.state,{isCollapsed:o,handleRemove:a,handleUpdateValue:i,onUpdate:s,onDeltaUpdate:l,readOnly:u,getStyle:c,addButtonElement:d,cancelButtonElement:y,editButtonElement:f,inputElementGenerator:h,textareaElementGenerator:g,minusMenuElement:C,plusMenuElement:b,beforeRemoveAction:E,beforeAddAction:_,beforeUpdateAction:T,logger:O,onSubmitValueParser:I}=this.props,D=()=>!0,R=dr(e);switch(R){case _M:return v.createElement(kl,{data:e,name:t,isCollapsed:o,keyPath:r,deep:n,handleRemove:a,onUpdate:s,onDeltaUpdate:l,readOnly:D,dataType:R,getStyle:c,addButtonElement:d,cancelButtonElement:y,editButtonElement:f,inputElementGenerator:h,textareaElementGenerator:g,minusMenuElement:C,plusMenuElement:b,beforeRemoveAction:E,beforeAddAction:_,beforeUpdateAction:T,logger:O,onSubmitValueParser:I});case OM:return v.createElement(kl,{data:e,name:t,isCollapsed:o,keyPath:r,deep:n,handleRemove:a,onUpdate:s,onDeltaUpdate:l,readOnly:u,dataType:R,getStyle:c,addButtonElement:d,cancelButtonElement:y,editButtonElement:f,inputElementGenerator:h,textareaElementGenerator:g,minusMenuElement:C,plusMenuElement:b,beforeRemoveAction:E,beforeAddAction:_,beforeUpdateAction:T,logger:O,onSubmitValueParser:I});case IM:return v.createElement(S2,{data:e,name:t,isCollapsed:o,keyPath:r,deep:n,handleRemove:a,onUpdate:s,onDeltaUpdate:l,readOnly:u,dataType:R,getStyle:c,addButtonElement:d,cancelButtonElement:y,editButtonElement:f,inputElementGenerator:h,textareaElementGenerator:g,minusMenuElement:C,plusMenuElement:b,beforeRemoveAction:E,beforeAddAction:_,beforeUpdateAction:T,logger:O,onSubmitValueParser:I});case kM:return v.createElement(Wt,{name:t,value:`"${e}"`,originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:u,dataType:R,getStyle:c,cancelButtonElement:y,editButtonElement:f,inputElementGenerator:h,minusMenuElement:C,logger:O,onSubmitValueParser:I});case PM:return v.createElement(Wt,{name:t,value:e,originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:u,dataType:R,getStyle:c,cancelButtonElement:y,editButtonElement:f,inputElementGenerator:h,minusMenuElement:C,logger:O,onSubmitValueParser:I});case RM:return v.createElement(Wt,{name:t,value:e?"true":"false",originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:u,dataType:R,getStyle:c,cancelButtonElement:y,editButtonElement:f,inputElementGenerator:h,minusMenuElement:C,logger:O,onSubmitValueParser:I});case DM:return v.createElement(Wt,{name:t,value:e.toISOString(),originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:D,dataType:R,getStyle:c,cancelButtonElement:y,editButtonElement:f,inputElementGenerator:h,minusMenuElement:C,logger:O,onSubmitValueParser:I});case FM:return v.createElement(Wt,{name:t,value:"null",originalValue:"null",keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:u,dataType:R,getStyle:c,cancelButtonElement:y,editButtonElement:f,inputElementGenerator:h,minusMenuElement:C,logger:O,onSubmitValueParser:I});case jM:return v.createElement(Wt,{name:t,value:"undefined",originalValue:"undefined",keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:u,dataType:R,getStyle:c,cancelButtonElement:y,editButtonElement:f,inputElementGenerator:h,minusMenuElement:C,logger:O,onSubmitValueParser:I});case NM:return v.createElement(A2,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:u,dataType:R,getStyle:c,cancelButtonElement:y,editButtonElement:f,textareaElementGenerator:g,minusMenuElement:C,logger:O,onSubmitValueParser:I});case BM:return v.createElement(Wt,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:D,dataType:R,getStyle:c,cancelButtonElement:y,editButtonElement:f,inputElementGenerator:h,minusMenuElement:C,logger:O,onSubmitValueParser:I});default:return null}}};Ia.defaultProps={keyPath:[],deep:0};var kl=class extends Ft{constructor(e){super(e);let t=e.deep===-1?[]:[...e.keyPath,e.name];this.state={name:e.name,data:e.data,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveValue=this.handleRemoveValue.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:o}=this.props,a=n.length;o(n[a-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleAddValueAdd({key:e,newValue:t}){let{data:r,keyPath:n,nextDeep:o}=this.state,{beforeAddAction:a,logger:i}=this.props;a(e,n,o,t).then(()=>{r[e]=t,this.setState({data:r}),this.handleAddValueCancel();let{onUpdate:s,onDeltaUpdate:l}=this.props;s(n[n.length-1],r),l({type:v2,keyPath:n,deep:o,key:e,newValue:t})}).catch(i.error)}handleRemoveValue(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:o,nextDeep:a}=this.state,i=n[e];t(e,o,a,i).then(()=>{let s={keyPath:o,deep:a,key:e,oldValue:i,type:E2};delete n[e],this.setState({data:n});let{onUpdate:l,onDeltaUpdate:u}=this.props;l(o[o.length-1],n),u(s)}).catch(r.error)}}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:o}=this.props,{data:a,keyPath:i,nextDeep:s}=this.state,l=a[e];o(e,i,s,l,t).then(()=>{a[e]=t,this.setState({data:a});let{onUpdate:u,onDeltaUpdate:c}=this.props;u(i[i.length-1],a),c({type:x2,keyPath:i,deep:s,key:e,newValue:t,oldValue:l}),r()}).catch(n)})}renderCollapsed(){let{name:e,keyPath:t,deep:r,data:n}=this.state,{handleRemove:o,readOnly:a,dataType:i,getStyle:s,minusMenuElement:l}=this.props,{minus:u,collapsed:c}=s(e,n,t,r,i),d=Object.getOwnPropertyNames(n),y=a(e,n,t,r,i),f=Ae(l,{onClick:o,className:"rejt-minus-menu",style:u});return v.createElement("span",{className:"rejt-collapsed"},v.createElement("span",{className:"rejt-collapsed-text",style:c,onClick:this.handleCollapseMode},"{...}"," ",d.length," ",d.length===1?"key":"keys"),!y&&f)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,nextDeep:o,addFormVisible:a}=this.state,{isCollapsed:i,handleRemove:s,onDeltaUpdate:l,readOnly:u,getStyle:c,dataType:d,addButtonElement:y,cancelButtonElement:f,editButtonElement:h,inputElementGenerator:g,textareaElementGenerator:C,minusMenuElement:b,plusMenuElement:E,beforeRemoveAction:_,beforeAddAction:T,beforeUpdateAction:O,logger:I,onSubmitValueParser:D}=this.props,{minus:R,plus:M,addForm:z,ul:Y,delimiter:Z}=c(e,t,r,n,d),V=Object.getOwnPropertyNames(t),P=u(e,t,r,n,d),q=Ae(E,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:M}),J=Ae(b,{onClick:s,className:"rejt-minus-menu",style:R}),X=V.map(te=>v.createElement(Ia,{key:te,name:te,data:t[te],keyPath:r,deep:o,isCollapsed:i,handleRemove:this.handleRemoveValue(te),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:l,readOnly:u,getStyle:c,addButtonElement:y,cancelButtonElement:f,editButtonElement:h,inputElementGenerator:g,textareaElementGenerator:C,minusMenuElement:b,plusMenuElement:E,beforeRemoveAction:_,beforeAddAction:T,beforeUpdateAction:O,logger:I,onSubmitValueParser:D}));return v.createElement("span",{className:"rejt-not-collapsed"},v.createElement("span",{className:"rejt-not-collapsed-delimiter",style:Z},"{"),!P&&q,v.createElement("ul",{className:"rejt-not-collapsed-list",style:Y},X),!P&&a&&v.createElement("div",{className:"rejt-add-form",style:z},v.createElement(Ml,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement:y,cancelButtonElement:f,inputElementGenerator:g,keyPath:r,deep:n,onSubmitValueParser:D})),v.createElement("span",{className:"rejt-not-collapsed-delimiter",style:Z},"}"),!P&&J)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:o}=this.state,{getStyle:a,dataType:i}=this.props,s=t?this.renderCollapsed():this.renderNotCollapsed(),l=a(e,r,n,o,i);return v.createElement("div",{className:"rejt-object-node"},v.createElement("span",{onClick:this.handleCollapseMode},v.createElement("span",{className:"rejt-name",style:l.name},e," :"," ")),s)}};kl.defaultProps={keyPath:[],deep:0,minusMenuElement:v.createElement("span",null," - "),plusMenuElement:v.createElement("span",null," + ")};var Wt=class extends Ft{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:o,deep:a}=this.state,{readOnly:i,dataType:s}=this.props,l=i(r,n,o,a,s);e&&!l&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:o}=this.props,{inputRef:a,name:i,deep:s}=this.state;if(!a)return;let l=n(!0,o,s,i,a.value);e({value:l,key:i}).then(()=>{w2(t,l)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:o}=this.state,{handleRemove:a,originalValue:i,readOnly:s,dataType:l,getStyle:u,editButtonElement:c,cancelButtonElement:d,inputElementGenerator:y,minusMenuElement:f,keyPath:h}=this.props,g=u(e,i,n,o,l),C=s(e,i,n,o,l),b=r&&!C,E=y(ql,h,o,e,i,l),_=Ae(c,{onClick:this.handleEdit}),T=Ae(d,{onClick:this.handleCancelEdit}),O=Ae(E,{ref:this.refInput,defaultValue:JSON.stringify(i)}),I=Ae(f,{onClick:a,className:"rejt-minus-menu",style:g.minus});return v.createElement("li",{className:"rejt-value-node",style:g.li},v.createElement("span",{className:"rejt-name",style:g.name},e," : "),b?v.createElement("span",{className:"rejt-edit-form",style:g.editForm},O," ",T,_):v.createElement("span",{className:"rejt-value",style:g.value,onClick:C?null:this.handleEditMode},String(t)),!C&&!b&&I)}};Wt.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:v.createElement("button",null,"e"),cancelButtonElement:v.createElement("button",null,"c"),minusMenuElement:v.createElement("span",null," - ")};function qM(e){let t=e;if(t.indexOf("function")===0)return(0,eval)(`(${t})`);try{t=JSON.parse(e)}catch{}return t}var MM={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},UM={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},$M={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}},T2=class extends Ft{constructor(e){super(e),this.state={data:e.data,rootName:e.rootName},this.onUpdate=this.onUpdate.bind(this),this.removeRoot=this.removeRoot.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data||e.rootName!==t.rootName?{data:e.data,rootName:e.rootName}:null}onUpdate(e,t){this.setState({data:t}),this.props.onFullyUpdate(t)}removeRoot(){this.onUpdate(null,null)}render(){let{data:e,rootName:t}=this.state,{isCollapsed:r,onDeltaUpdate:n,readOnly:o,getStyle:a,addButtonElement:i,cancelButtonElement:s,editButtonElement:l,inputElement:u,textareaElement:c,minusMenuElement:d,plusMenuElement:y,beforeRemoveAction:f,beforeAddAction:h,beforeUpdateAction:g,logger:C,onSubmitValueParser:b,fallback:E=null}=this.props,_=dr(e),T=o;dr(o)==="Boolean"&&(T=()=>o);let O=u;u&&dr(u)!=="Function"&&(O=()=>u);let I=c;return c&&dr(c)!=="Function"&&(I=()=>c),_==="Object"||_==="Array"?v.createElement("div",{className:"rejt-tree"},v.createElement(Ia,{data:e,name:t,deep:-1,isCollapsed:r,onUpdate:this.onUpdate,onDeltaUpdate:n,readOnly:T,getStyle:a,addButtonElement:i,cancelButtonElement:s,editButtonElement:l,inputElementGenerator:O,textareaElementGenerator:I,minusMenuElement:d,plusMenuElement:y,handleRemove:this.removeRoot,beforeRemoveAction:f,beforeAddAction:h,beforeUpdateAction:g,logger:C,onSubmitValueParser:b})):E}};T2.defaultProps={rootName:"root",isCollapsed:(e,t)=>t!==-1,getStyle:(e,t,r,n,o)=>{switch(o){case"Object":case"Error":return MM;case"Array":return UM;default:return $M}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(e,t,r,n,o)=>qM(o),inputElement:()=>v.createElement("input",null),textareaElement:()=>v.createElement("textarea",null),fallback:null};var{window:zM}=ct,VM=W.div(({theme:e})=>({position:"relative",display:"flex",'&[aria-readonly="true"]':{opacity:.5},".rejt-tree":{marginLeft:"1rem",fontSize:"13px"},".rejt-value-node, .rejt-object-node > .rejt-collapsed, .rejt-array-node > .rejt-collapsed, .rejt-object-node > .rejt-not-collapsed, .rejt-array-node > .rejt-not-collapsed":{"& > svg":{opacity:0,transition:"opacity 0.2s"}},".rejt-value-node:hover, .rejt-object-node:hover > .rejt-collapsed, .rejt-array-node:hover > .rejt-collapsed, .rejt-object-node:hover > .rejt-not-collapsed, .rejt-array-node:hover > .rejt-not-collapsed":{"& > svg":{opacity:1}},".rejt-edit-form button":{display:"none"},".rejt-add-form":{marginLeft:10},".rejt-add-value-node":{display:"inline-flex",alignItems:"center"},".rejt-name":{lineHeight:"22px"},".rejt-not-collapsed-delimiter":{lineHeight:"22px"},".rejt-plus-menu":{marginLeft:5},".rejt-object-node > span > *, .rejt-array-node > span > *":{position:"relative",zIndex:2},".rejt-object-node, .rejt-array-node":{position:"relative"},".rejt-object-node > span:first-of-type::after, .rejt-array-node > span:first-of-type::after, .rejt-collapsed::before, .rejt-not-collapsed::before":{content:'""',position:"absolute",top:0,display:"block",width:"100%",marginLeft:"-1rem",padding:"0 4px 0 1rem",height:22},".rejt-collapsed::before, .rejt-not-collapsed::before":{zIndex:1,background:"transparent",borderRadius:4,transition:"background 0.2s",pointerEvents:"none",opacity:.1},".rejt-object-node:hover, .rejt-array-node:hover":{"& > .rejt-collapsed::before, & > .rejt-not-collapsed::before":{background:e.color.secondary}},".rejt-collapsed::after, .rejt-not-collapsed::after":{content:'""',position:"absolute",display:"inline-block",pointerEvents:"none",width:0,height:0},".rejt-collapsed::after":{left:-8,top:8,borderTop:"3px solid transparent",borderBottom:"3px solid transparent",borderLeft:"3px solid rgba(153,153,153,0.6)"},".rejt-not-collapsed::after":{left:-10,top:10,borderTop:"3px solid rgba(153,153,153,0.6)",borderLeft:"3px solid transparent",borderRight:"3px solid transparent"},".rejt-value":{display:"inline-block",border:"1px solid transparent",borderRadius:4,margin:"1px 0",padding:"0 4px",cursor:"text",color:e.color.defaultText},".rejt-value-node:hover > .rejt-value":{background:e.color.lighter,borderColor:e.appBorderColor}})),vl=W.button(({theme:e,primary:t})=>({border:0,height:20,margin:1,borderRadius:4,background:t?e.color.secondary:"transparent",color:t?e.color.lightest:e.color.dark,fontWeight:t?"bold":"normal",cursor:"pointer",order:t?"initial":9})),HM=W(ri)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.ancillary},"svg + &":{marginLeft:0}})),JM=W(qu)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.negative},"svg + &":{marginLeft:0}})),xv=W.input(({theme:e,placeholder:t})=>({outline:0,margin:t?1:"1px 0",padding:"3px 4px",color:e.color.defaultText,background:e.background.app,border:`1px solid ${e.appBorderColor}`,borderRadius:4,lineHeight:"14px",width:t==="Key"?80:120,"&:focus":{border:`1px solid ${e.color.secondary}`}})),GM=W(yt)(({theme:e})=>({position:"absolute",zIndex:2,top:2,right:2,height:21,padding:"0 3px",background:e.background.bar,border:`1px solid ${e.appBorderColor}`,borderRadius:3,color:e.textMutedColor,fontSize:"9px",fontWeight:"bold",textDecoration:"none",span:{marginLeft:3,marginTop:1}})),WM=W(ut.Textarea)(({theme:e})=>({flex:1,padding:"7px 6px",fontFamily:e.typography.fonts.mono,fontSize:"12px",lineHeight:"18px","&::placeholder":{fontFamily:e.typography.fonts.base,fontSize:"13px"},"&:placeholder-shown":{padding:"7px 10px"}})),KM={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},YM=e=>{e.currentTarget.dispatchEvent(new zM.KeyboardEvent("keydown",KM))},XM=e=>{e.currentTarget.select()},QM=e=>()=>({name:{color:e.color.secondary},collapsed:{color:e.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}),wv=({name:e,value:t,onChange:r,argType:n})=>{let o=ei(),a=jt(()=>t&&(0,Pv.default)(t),[t]),i=a!=null,[s,l]=me(!i),[u,c]=me(null),d=!!n?.table?.readonly,y=Ve(_=>{try{_&&r(JSON.parse(_)),c(void 0)}catch(T){c(T)}},[r]),[f,h]=me(!1),g=Ve(()=>{r({}),h(!0)},[h]),C=Xe(null);if(He(()=>{f&&C.current&&C.current.select()},[f]),!i)return v.createElement(Nt,{disabled:d,id:ln(e),onClick:g},"Set object");let b=v.createElement(WM,{ref:C,id:tt(e),name:e,defaultValue:t===null?"":JSON.stringify(t,null,2),onBlur:_=>y(_.target.value),placeholder:"Edit JSON string...",autoFocus:f,valid:u?"error":null,readOnly:d}),E=Array.isArray(t)||typeof t=="object"&&t?.constructor===Object;return v.createElement(VM,{"aria-readonly":d},E&&v.createElement(GM,{onClick:_=>{_.preventDefault(),l(T=>!T)}},s?v.createElement(ju,null):v.createElement(Nu,null),v.createElement("span",null,"RAW")),s?b:v.createElement(T2,{readOnly:d||!E,isCollapsed:E?void 0:()=>!0,data:a,rootName:e,onFullyUpdate:r,getStyle:QM(o),cancelButtonElement:v.createElement(vl,{type:"button"},"Cancel"),editButtonElement:v.createElement(vl,{type:"submit"},"Save"),addButtonElement:v.createElement(vl,{type:"submit",primary:!0},"Save"),plusMenuElement:v.createElement(HM,null),minusMenuElement:v.createElement(JM,null),inputElement:(_,T,O,I)=>I?v.createElement(xv,{onFocus:XM,onBlur:YM}):v.createElement(xv,null),fallback:b}))},ZM=W.input(({theme:e,min:t,max:r,value:n,disabled:o})=>({"&":{width:"100%",backgroundColor:"transparent",appearance:"none"},"&::-webkit-slider-runnable-track":{background:e.base==="light"?`linear-gradient(to right, ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${vt(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${vt(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${bt(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${bt(.02,e.input.background)} 100%)`:`linear-gradient(to right, ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${gr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${gr(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:o?"not-allowed":"pointer"},"&::-webkit-slider-thumb":{marginTop:"-6px",width:16,height:16,border:`1px solid ${Dt(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${Dt(e.appBorderColor,.2)}`,cursor:o?"not-allowed":"grab",appearance:"none",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${vt(.05,e.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${e.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:o?"not-allowed":"grab"}},"&:focus":{outline:"none","&::-webkit-slider-runnable-track":{borderColor:Dt(e.color.secondary,.4)},"&::-webkit-slider-thumb":{borderColor:e.color.secondary,boxShadow:`0 0px 5px 0px ${e.color.secondary}`}},"&::-moz-range-track":{background:e.base==="light"?`linear-gradient(to right, + ${cr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${cr(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:o?"not-allowed":"pointer"},"&::-webkit-slider-thumb":{marginTop:"-6px",width:16,height:16,border:`1px solid ${Pt(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${Pt(e.appBorderColor,.2)}`,cursor:o?"not-allowed":"grab",appearance:"none",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${bt(.05,e.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${e.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:o?"not-allowed":"grab"}},"&:focus":{outline:"none","&::-webkit-slider-runnable-track":{borderColor:Pt(e.color.secondary,.4)},"&::-webkit-slider-thumb":{borderColor:e.color.secondary,boxShadow:`0 0px 5px 0px ${e.color.secondary}`}},"&::-moz-range-track":{background:e.base==="light"?`linear-gradient(to right, ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${vt(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${vt(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${bt(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${bt(.02,e.input.background)} 100%)`:`linear-gradient(to right, ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${gr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${gr(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:o?"not-allowed":"pointer",outline:"none"},"&::-moz-range-thumb":{width:16,height:16,border:`1px solid ${Dt(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${Dt(e.appBorderColor,.2)}`,cursor:o?"not-allowed":"grap",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${vt(.05,e.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${e.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:"grabbing"}},"&::-ms-track":{background:e.base==="light"?`linear-gradient(to right, + ${cr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${cr(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:o?"not-allowed":"pointer",outline:"none"},"&::-moz-range-thumb":{width:16,height:16,border:`1px solid ${Pt(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${Pt(e.appBorderColor,.2)}`,cursor:o?"not-allowed":"grap",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${bt(.05,e.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${e.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:"grabbing"}},"&::-ms-track":{background:e.base==="light"?`linear-gradient(to right, ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${vt(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${vt(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${bt(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${bt(.02,e.input.background)} 100%)`:`linear-gradient(to right, ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${gr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${gr(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,color:"transparent",width:"100%",height:"6px",cursor:"pointer"},"&::-ms-fill-lower":{borderRadius:6},"&::-ms-fill-upper":{borderRadius:6},"&::-ms-thumb":{width:16,height:16,background:`${e.input.background}`,border:`1px solid ${Dt(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),D2=W.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),g4=W(D2)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),b4=W.div({display:"flex",alignItems:"center",width:"100%"});function v4(e){let t=e.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}var x4=({name:e,value:t,onChange:r,min:n=0,max:o=100,step:a=1,onBlur:i,onFocus:s,argType:l})=>{let u=f=>{r(PM(f.target.value))},c=t!==void 0,d=Nt(()=>v4(a),[a]),y=!!l?.table?.readonly;return E.createElement(b4,{"aria-readonly":y},E.createElement(D2,null,n),E.createElement(m4,{id:tt(e),type:"range",disabled:y,onChange:u,name:e,value:t,min:n,max:o,step:a,onFocus:s,onBlur:i}),E.createElement(g4,{numberOFDecimalsPlaces:d,max:o},c?t.toFixed(d):"--"," / ",o))},E4=W.label({display:"flex"}),w4=W.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),S4=({name:e,value:t,onChange:r,onFocus:n,onBlur:o,maxLength:a,argType:i})=>{let s=f=>{r(f.target.value)},l=!!i?.table?.readonly,[u,c]=he(!1),d=$e(()=>{r(""),c(!0)},[c]);if(t===void 0)return E.createElement(Bt,{variant:"outline",size:"medium",disabled:l,id:bn(e),onClick:d},"Set string");let y=typeof t=="string";return E.createElement(E4,null,E.createElement(dt.Textarea,{id:tt(e),maxLength:a,onChange:s,disabled:l,size:"flex",placeholder:"Edit string...",autoFocus:u,valid:y?null:"error",name:e,value:y?t:"",onFocus:n,onBlur:o}),a&&E.createElement(w4,{isMaxed:t?.length===a},t?.length??0," / ",a))},A4=W(dt.Input)({padding:10});function T4(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var C4=({onChange:e,name:t,accept:r="image/*",value:n,argType:o})=>{let a=Xe(null),i=o?.control?.readOnly;function s(l){if(!l.target.files)return;let u=Array.from(l.target.files).map(c=>URL.createObjectURL(c));e(u),T4(n)}return ze(()=>{n==null&&a.current&&(a.current.value=null)},[n,t]),E.createElement(A4,{ref:a,id:tt(t),type:"file",name:t,multiple:!0,disabled:i,onChange:s,accept:r,size:"flex"})},_4=eu(()=>Promise.resolve().then(()=>(av(),ov))),O4=e=>E.createElement(Zl,{fallback:E.createElement("div",null)},E.createElement(_4,{...e})),I4={array:Pv,object:Pv,boolean:wM,color:O4,date:OM,number:RM,check:Zr,"inline-check":Zr,radio:Zr,"inline-radio":Zr,select:Zr,"multi-select":Zr,range:x4,text:S4,file:C4},kv=()=>E.createElement(E.Fragment,null,"-"),P4=({row:e,arg:t,updateArgs:r,isHovered:n})=>{let{key:o,control:a}=e,[i,s]=he(!1),[l,u]=he({value:t});ze(()=>{i||u({value:t})},[i,t]);let c=$e(g=>(u({value:g}),r({[o]:g}),g),[r,o]),d=$e(()=>s(!1),[]),y=$e(()=>s(!0),[]);if(!a||a.disable){let g=a?.disable!==!0&&e?.type?.name!=="function";return n&&g?E.createElement(ar,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):E.createElement(kv,null)}let f={name:o,argType:e,value:l.value,onChange:c,onBlur:d,onFocus:y},h=I4[a.type]||kv;return E.createElement(h,{...f,...a,controlType:a.type})},k4=W.span({fontWeight:"bold"}),R4=W.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),D4=W.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...Ir({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),F4=W.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?ve(.1,e.color.defaultText):ve(.2,e.color.defaultText),marginTop:t?4:0})),j4=W.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?ve(.1,e.color.defaultText):ve(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),N4=W.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),B4=e=>e&&{summary:typeof e=="string"?e:e.name},Ea=e=>{let[t,r]=he(!1),{row:n,updateArgs:o,compact:a,expandable:i,initialExpandedArgs:s}=e,{name:l,description:u}=n,c=n.table||{},d=c.type||B4(n.type),y=c.defaultValue||n.defaultValue,f=n.type?.required,h=u!=null&&u!=="";return E.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},E.createElement(N4,{expandable:i},E.createElement(k4,null,l),f?E.createElement(R4,{title:"Required"},"*"):null),a?null:E.createElement("td",null,h&&E.createElement(D4,null,E.createElement(RB,null,u)),c.jsDocTags!=null?E.createElement(E.Fragment,null,E.createElement(j4,{hasDescription:h},E.createElement(Sl,{value:d,initialExpandedArgs:s})),E.createElement(uM,{tags:c.jsDocTags})):E.createElement(F4,{hasDescription:h},E.createElement(Sl,{value:d,initialExpandedArgs:s}))),a?null:E.createElement("td",null,E.createElement(Sl,{value:y,initialExpandedArgs:s})),o?E.createElement("td",null,E.createElement(P4,{...e,isHovered:t})):null)},L4=W(Nu)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?ve(.25,e.color.defaultText):ve(.3,e.color.defaultText),border:"none",display:"inline-block"})),q4=W(Bu)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?ve(.25,e.color.defaultText):ve(.3,e.color.defaultText),border:"none",display:"inline-block"})),M4=W.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),U4=W.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?ve(.4,e.color.defaultText):ve(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),J4=W.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),$4=W.td(()=>({position:"relative"})),z4=W.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${gr(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),Rv=W.button(()=>({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"})),Tl=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:o=3})=>{let[a,i]=he(n),s=e==="subsection"?J4:U4,l=r?.length||0,u=e==="subsection"?`${l} item${l!==1?"s":""}`:"",c=`${a?"Hide":"Show"} ${e==="subsection"?l:t} item${l!==1?"s":""}`;return E.createElement(E.Fragment,null,E.createElement(z4,{title:c},E.createElement(s,{colSpan:1},E.createElement(Rv,{onClick:d=>i(!a),tabIndex:0},c),E.createElement(M4,null,a?E.createElement(L4,null):E.createElement(q4,null),t)),E.createElement($4,{colSpan:o-1},E.createElement(Rv,{onClick:d=>i(!a),tabIndex:-1,style:{outline:"none"}},c),a?null:u)),a?r:null)},wa=W.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),We=W.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),Be=W.div(({theme:e,width:t,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:r||16,borderRadius:3})),Ke=[2,4,2,2],V4=()=>E.createElement(E.Fragment,null,E.createElement(wa,null,E.createElement(We,{numColumn:Ke[0]},E.createElement(Be,{width:"60%"})),E.createElement(We,{numColumn:Ke[1]},E.createElement(Be,{width:"30%"})),E.createElement(We,{numColumn:Ke[2]},E.createElement(Be,{width:"60%"})),E.createElement(We,{numColumn:Ke[3]},E.createElement(Be,{width:"60%"}))),E.createElement(wa,null,E.createElement(We,{numColumn:Ke[0]},E.createElement(Be,{width:"60%"})),E.createElement(We,{numColumn:Ke[1]},E.createElement(Be,{width:"80%"}),E.createElement(Be,{width:"30%"})),E.createElement(We,{numColumn:Ke[2]},E.createElement(Be,{width:"60%"})),E.createElement(We,{numColumn:Ke[3]},E.createElement(Be,{width:"60%"}))),E.createElement(wa,null,E.createElement(We,{numColumn:Ke[0]},E.createElement(Be,{width:"60%"})),E.createElement(We,{numColumn:Ke[1]},E.createElement(Be,{width:"80%"}),E.createElement(Be,{width:"30%"})),E.createElement(We,{numColumn:Ke[2]},E.createElement(Be,{width:"60%"})),E.createElement(We,{numColumn:Ke[3]},E.createElement(Be,{width:"60%"}))),E.createElement(wa,null,E.createElement(We,{numColumn:Ke[0]},E.createElement(Be,{width:"60%"})),E.createElement(We,{numColumn:Ke[1]},E.createElement(Be,{width:"80%"}),E.createElement(Be,{width:"30%"})),E.createElement(We,{numColumn:Ke[2]},E.createElement(Be,{width:"60%"})),E.createElement(We,{numColumn:Ke[3]},E.createElement(Be,{width:"60%"})))),H4=W.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),G4=W.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),W4=W.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),K4=({inAddonPanel:e})=>{let[t,r]=he(!0);return ze(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:E.createElement(H4,{inAddonPanel:e},E.createElement(Ma,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:E.createElement(E.Fragment,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically."),footer:E.createElement(G4,null,e&&E.createElement(E.Fragment,null,E.createElement(ar,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},E.createElement(zu,null)," Watch 5m video"),E.createElement(W4,null),E.createElement(ar,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},E.createElement(bo,null)," Read docs")),!e&&E.createElement(ar,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},E.createElement(bo,null)," Learn how to set that up"))}))},Y4=W.table(({theme:e,compact:t,inAddonPanel:r})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:r?0:25,marginBottom:r?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:"35%"}},"td:nth-of-type(3)":{...t?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:"25%"}},th:{color:e.base==="light"?ve(.25,e.color.defaultText):ve(.45,e.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:r?0:1,marginRight:r?0:1,tbody:{...r?null:{filter:e.base==="light"?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"},"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`},...r?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}}}}})),X4=W(ht)(({theme:e})=>({margin:"-4px -12px -4px 0"})),Q4=W.span({display:"flex",justifyContent:"space-between"}),Z4={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>+!!t.type?.required-+!!e.type?.required||e.name.localeCompare(t.name),none:void 0},e6=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([a,i])=>{let{category:s,subcategory:l}=i?.table||{};if(s){let u=r.sections[s]||{ungrouped:[],subsections:{}};if(!l)u.ungrouped.push({key:a,...i});else{let c=u.subsections[l]||[];c.push({key:a,...i}),u.subsections[l]=c}r.sections[s]=u}else if(l){let u=r.ungroupedSubsections[l]||[];u.push({key:a,...i}),r.ungroupedSubsections[l]=u}else r.ungrouped.push({key:a,...i})});let n=Z4[t],o=a=>n?Object.keys(a).reduce((i,s)=>({...i,[s]:a[s].sort(n)}),{}):a;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:o(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((a,i)=>({...a,[i]:{ungrouped:r.sections[i].ungrouped.sort(n),subsections:o(r.sections[i].subsections)}}),{})}},t6=(e,t,r)=>{try{return _3(e,t,r)}catch(n){return fy.warn(n.message),!1}},r6=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:o,initialExpandedArgs:a,sort:i="none",isLoading:s}=e;if("error"in e){let{error:v}=e;return E.createElement(x2,null,v,"\xA0",E.createElement(ar,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},E.createElement(bo,null)," Read the docs"))}if(s)return E.createElement(V4,null);let{rows:l,args:u,globals:c}="rows"in e&&e,d=e6((0,Nv.default)(l,v=>!v?.table?.disable&&t6(v,u||{},c||{})),i),y=d.ungrouped.length===0,f=Object.entries(d.sections).length===0,h=Object.entries(d.ungroupedSubsections).length===0;if(y&&f&&h)return E.createElement(K4,{inAddonPanel:o});let g=1;t&&(g+=1),n||(g+=2);let _=Object.keys(d.sections).length>0,x={updateArgs:t,compact:n,inAddonPanel:o,initialExpandedArgs:a};return E.createElement($a,null,E.createElement(Y4,{compact:n,inAddonPanel:o,className:"docblock-argstable sb-unstyled"},E.createElement("thead",{className:"docblock-argstable-head"},E.createElement("tr",null,E.createElement("th",null,E.createElement("span",null,"Name")),n?null:E.createElement("th",null,E.createElement("span",null,"Description")),n?null:E.createElement("th",null,E.createElement("span",null,"Default")),t?E.createElement("th",null,E.createElement(Q4,null,"Control"," ",!s&&r&&E.createElement(X4,{onClick:()=>r(),title:"Reset controls"},E.createElement(si,{"aria-hidden":!0})))):null)),E.createElement("tbody",{className:"docblock-argstable-body"},d.ungrouped.map(v=>E.createElement(Ea,{key:v.key,row:v,arg:u&&u[v.key],...x})),Object.entries(d.ungroupedSubsections).map(([v,O])=>E.createElement(Tl,{key:v,label:v,level:"subsection",colSpan:g},O.map(C=>E.createElement(Ea,{key:C.key,row:C,arg:u&&u[C.key],expandable:_,...x})))),Object.entries(d.sections).map(([v,O])=>E.createElement(Tl,{key:v,label:v,level:"section",colSpan:g},O.ungrouped.map(C=>E.createElement(Ea,{key:C.key,row:C,arg:u&&u[C.key],...x})),Object.entries(O.subsections).map(([C,I])=>E.createElement(Tl,{key:C,label:C,level:"subsection",colSpan:g},I.map(P=>E.createElement(Ea,{key:P.key,row:P,arg:u&&u[P.key],expandable:_,...x})))))))))};W.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?ve(.4,e.color.defaultText):ve(.6,e.color.defaultText)}));W.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});W.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});W.div(Pr,({theme:e})=>({...ka(e),margin:"25px 0 40px",padding:"30px 20px"}));W.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText}));W.div(({theme:e})=>({color:e.base==="light"?ve(.2,e.color.defaultText):ve(.6,e.color.defaultText)}));W.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5});W.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?ve(.4,e.color.defaultText):ve(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}}));W.div({display:"flex",flexDirection:"row"});W.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}}));W.div(({theme:e})=>({...ka(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"}));W.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30});W.div({flex:1,display:"flex",flexDirection:"row"});W.div({display:"flex",alignItems:"flex-start"});W.div({flex:"0 0 30%"});W.div({flex:1});W.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?ve(.4,e.color.defaultText):ve(.6,e.color.defaultText)}));W.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));W.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2}));W.div(({theme:e})=>({...ka(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}}));W.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"});W.div({display:"flex",flexFlow:"row wrap"});xt&&xt.__DOCS_CONTEXT__===void 0&&(xt.__DOCS_CONTEXT__=vn(null),xt.__DOCS_CONTEXT__.displayName="DocsContext");var n6=xt?xt.__DOCS_CONTEXT__:vn(null);vn({sources:{}});var{document:o6}=xt;function a6(e,t){e.channel.emit(pu,t)}Ga.a;var F2=["h1","h2","h3","h4","h5","h6"],i6=F2.reduce((e,t)=>({...e,[t]:W(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),s6=W.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),l6=({as:e,id:t,children:r,...n})=>{let o=tu(n6),a=i6[e],i=`#${t}`;return E.createElement(a,{id:t,...n},E.createElement(s6,{"aria-hidden":"true",href:i,tabIndex:-1,target:"_self",onClick:s=>{o6.getElementById(t)&&a6(o,i)}},E.createElement(Uu,null)),r)},j2=e=>{let{as:t,id:r,children:n,...o}=e;if(r)return E.createElement(l6,{as:t,id:r,...o},n);let a=t,{as:i,...s}=e;return E.createElement(a,{...Wa(s,t)})};F2.reduce((e,t)=>({...e,[t]:r=>E.createElement(j2,{as:t,...r})}),{});var u6=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))(u6||{});Xl(zq());W.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}}));W.div(({theme:e})=>({position:"fixed",bottom:0,top:0,width:"10rem",paddingTop:"4rem",paddingBottom:"2rem",overflowY:"auto",fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch","& *":{boxSizing:"border-box"},"& > .toc-wrapper > .toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`}}},"& .toc-list-item":{position:"relative",listStyleType:"none",marginLeft:20,paddingTop:3,paddingBottom:3},"& .toc-list-item::before":{content:'""',position:"absolute",height:"100%",top:0,left:0,transform:"translateX(calc(-2px - 20px))",borderLeft:`solid 2px ${e.color.mediumdark}`,opacity:0,transition:"opacity 0.2s"},"& .toc-list-item.is-active-li::before":{opacity:1},"& .toc-list-item > a":{color:e.color.defaultText,textDecoration:"none"},"& .toc-list-item.is-active-li > a":{fontWeight:600,color:e.color.secondary,textDecoration:"none"}}));W.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10}));var c6=({children:e,disableAnchor:t,...r})=>{if(t||typeof e!="string")return E.createElement(Ja,null,e);let n=e.toLowerCase().replace(/[^a-z0-9]/gi,"-");return E.createElement(j2,{as:"h2",id:n,...r},e)};W(c6)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,fontWeight:e.typography.weight.bold,lineHeight:"16px",letterSpacing:"0.35em",textTransform:"uppercase",color:e.textMutedColor,border:0,marginBottom:"12px","&:first-of-type":{marginTop:"56px"}}));var Dv="addon-controls",N2="controls",p6=ti({from:{transform:"translateY(40px)"},to:{transform:"translateY(0)"}}),d6=ti({from:{background:"var(--highlight-bg-color)"},to:{}}),f6=W.div({containerType:"size",position:"sticky",bottom:0,height:39,overflow:"hidden",zIndex:1}),y6=W(qa)(({theme:e})=>({"--highlight-bg-color":e.base==="dark"?"#153B5B":"#E0F0FF",display:"flex",flexDirection:"row-reverse",alignItems:"center",justifyContent:"space-between",flexWrap:"wrap",gap:6,padding:"6px 10px",animation:`${p6} 300ms, ${d6} 2s`,background:e.background.bar,borderTop:`1px solid ${e.appBorderColor}`,fontSize:e.typography.size.s2,"@container (max-width: 799px)":{flexDirection:"row",justifyContent:"flex-end"}})),h6=W.div({display:"flex",flex:"99 0 auto",alignItems:"center",marginLeft:10,gap:6}),m6=W.div(({theme:e})=>({display:"flex",flex:"1 0 0",alignItems:"center",gap:2,color:e.color.mediumdark,fontSize:e.typography.size.s2})),Cl=W.div({"@container (max-width: 799px)":{lineHeight:0,textIndent:"-9999px","&::after":{content:"attr(data-short-label)",display:"block",lineHeight:"initial",textIndent:"0"}}}),g6=W(dt.Input)(({theme:e})=>({"::placeholder":{color:e.color.mediumdark},"&:invalid:not(:placeholder-shown)":{boxShadow:`${e.color.negative} 0 0 0 1px inset`}})),b6=({saveStory:e,createStory:t,resetArgs:r})=>{let n=E.useRef(null),[o,a]=E.useState(!1),[i,s]=E.useState(!1),[l,u]=E.useState(""),[c,d]=E.useState(null),y=async()=>{o||(a(!0),await e().catch(()=>{}),a(!1))},f=()=>{s(!0),u(""),setTimeout(()=>n.current?.focus(),0)},h=g=>{let _=g.target.value.replace(/^[^a-z]/i,"").replace(/[^a-z0-9-_ ]/gi,"").replaceAll(/([-_ ]+[a-z0-9])/gi,x=>x.toUpperCase().replace(/[-_ ]/g,""));u(_.charAt(0).toUpperCase()+_.slice(1))};return E.createElement(f6,{id:"save-from-controls"},E.createElement(y6,null,E.createElement(m6,null,E.createElement(Lt,{as:"div",hasChrome:!1,trigger:"hover",tooltip:E.createElement(ir,{note:"Save changes to story"})},E.createElement(ht,{"aria-label":"Save changes to story",disabled:o,onClick:y},E.createElement(ju,null),E.createElement(Cl,{"data-short-label":"Save"},"Update story"))),E.createElement(Lt,{as:"div",hasChrome:!1,trigger:"hover",tooltip:E.createElement(ir,{note:"Create new story with these settings"})},E.createElement(ht,{"aria-label":"Create new story with these settings",onClick:f},E.createElement(ai,null),E.createElement(Cl,{"data-short-label":"New"},"Create new story"))),E.createElement(Lt,{as:"div",hasChrome:!1,trigger:"hover",tooltip:E.createElement(ir,{note:"Reset changes"})},E.createElement(ht,{"aria-label":"Reset changes",onClick:()=>r()},E.createElement(si,null),E.createElement("span",null,"Reset")))),E.createElement(h6,null,E.createElement(Cl,{"data-short-label":"Unsaved changes"},"You modified this story. Do you want to save your changes?")),E.createElement(mt,{width:350,open:i,onOpenChange:s},E.createElement(dt,{onSubmit:async g=>{if(g.preventDefault(),!o)try{d(null),a(!0),await t(l.replace(/^[^a-z]/i,"").replaceAll(/[^a-z0-9]/gi,"")),s(!1),a(!1)}catch(_){d(_.message),a(!1)}},id:"create-new-story-form"},E.createElement(mt.Content,null,E.createElement(mt.Header,null,E.createElement(mt.Title,null,"Create new story"),E.createElement(mt.Description,null,"This will add a new story to your existing stories file.")),E.createElement(g6,{onChange:h,placeholder:"Story export name",readOnly:o,ref:n,value:l}),E.createElement(mt.Actions,null,E.createElement(Bt,{disabled:o||!l,size:"medium",type:"submit",variant:"solid"},"Create"),E.createElement(mt.Dialog.Close,{asChild:!0},E.createElement(Bt,{disabled:o,size:"medium",type:"reset"},"Cancel"))))),c&&E.createElement(mt.Error,null,c))))},Fv=e=>Object.entries(e).reduce((t,[r,n])=>n!==void 0?Object.assign(t,{[r]:n}):t,{}),v6=W.div({display:"grid",gridTemplateRows:"1fr 39px",height:"100%",maxHeight:"100vh",overflowY:"auto"}),x6=({saveStory:e,createStory:t})=>{let[r,n]=he(!0),[o,a,i,s]=Ou(),[l]=Iu(),u=ei(),{expanded:c,sort:d,presetColors:y}=Pu(N2,{}),{path:f,previewInitialized:h}=ku();ze(()=>{h&&n(!1)},[h]);let g=Object.values(u).some(v=>v?.control),_=Object.entries(u).reduce((v,[O,C])=>{let I=C?.control;return typeof I!="object"||I?.type!=="color"||I?.presetColors?v[O]=C:v[O]={...C,control:{...I,presetColors:y}},v},{}),x=Nt(()=>!!o&&!!s&&!or(Fv(o),Fv(s)),[o,s]);return E.createElement(v6,null,E.createElement(r6,{key:f,compact:!c&&g,rows:_,args:o,globals:l,updateArgs:a,resetArgs:i,inAddonPanel:!0,sort:d,isLoading:r}),g&&x&&xt.CONFIG_TYPE==="DEVELOPMENT"&&E.createElement(b6,{resetArgs:i,saveStory:e,createStory:t}))};function E6(){let e=ei(),t=Object.values(e).filter(r=>r?.control&&!r?.table?.disable).length;return E.createElement("div",null,E.createElement(za,{col:1},E.createElement("span",{style:{display:"inline-block",verticalAlign:"middle"}},"Controls"),t===0?"":E.createElement(La,{status:"neutral"},t)))}var jv=e=>JSON.stringify(e,(t,r)=>typeof r=="function"?"__sb_empty_function_arg__":r);mo.register(Dv,e=>{let t=mo.getChannel(),r=async()=>{let o=e.getCurrentStoryData();if(o.type!=="story")throw new Error("Not a story");try{let a=await Za(t,Xa,fo,{args:jv(Object.entries(o.args||{}).reduce((i,[s,l])=>(or(l,o.initialArgs?.[s])||(i[s]=l),i),{})),csfId:o.id,importPath:o.importPath});e.addNotification({id:"save-story-success",icon:{name:"passed",color:go.positive},content:{headline:"Story saved",subHeadline:E.createElement(E.Fragment,null,"Updated story ",E.createElement("b",null,a.sourceStoryName),".")},duration:8e3})}catch(a){throw e.addNotification({id:"save-story-error",icon:{name:"failed",color:go.negative},content:{headline:"Failed to save story",subHeadline:a?.message||"Check the Storybook process on the command line for more details."},duration:8e3}),a}},n=async o=>{let a=e.getCurrentStoryData();if(a.type!=="story")throw new Error("Not a story");let i=await Za(t,Xa,fo,{args:a.args&&jv(a.args),csfId:a.id,importPath:a.importPath,name:o});e.addNotification({id:"save-story-success",icon:{name:"passed",color:go.positive},content:{headline:"Story created",subHeadline:E.createElement(E.Fragment,null,"Added story ",E.createElement("b",null,i.newStoryName)," based on ",E.createElement("b",null,i.sourceStoryName),".")},duration:8e3,onClick:({onDismiss:s})=>{s(),e.selectStory(i.newStoryId)}})};mo.add(Dv,{title:E6,type:_u.PANEL,paramKey:N2,render:({active:o})=>!o||!e.getCurrentStoryData()?null:E.createElement(Ba,{active:o},E.createElement(x6,{saveStory:r,createStory:n}))}),t.on(fo,o=>{if(!o.success)return;let a=e.getCurrentStoryData();a.type==="story"&&(e.resetStoryArgs(a),o.payload.newStoryId&&e.selectStory(o.payload.newStoryId))})});})(); + ${cr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${cr(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,color:"transparent",width:"100%",height:"6px",cursor:"pointer"},"&::-ms-fill-lower":{borderRadius:6},"&::-ms-fill-upper":{borderRadius:6},"&::-ms-thumb":{width:16,height:16,background:`${e.input.background}`,border:`1px solid ${Pt(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),C2=W.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),e4=W(C2)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),t4=W.div({display:"flex",alignItems:"center",width:"100%"});function r4(e){let t=e.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}var n4=({name:e,value:t,onChange:r,min:n=0,max:o=100,step:a=1,onBlur:i,onFocus:s,argType:l})=>{let u=f=>{r(fM(f.target.value))},c=t!==void 0,d=jt(()=>r4(a),[a]),y=!!l?.table?.readonly;return v.createElement(t4,{"aria-readonly":y},v.createElement(C2,null,n),v.createElement(ZM,{id:tt(e),type:"range",disabled:y,onChange:u,name:e,value:t,min:n,max:o,step:a,onFocus:s,onBlur:i}),v.createElement(e4,{numberOFDecimalsPlaces:d,max:o},c?t.toFixed(d):"--"," / ",o))},o4=W.label({display:"flex"}),a4=W.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),i4=({name:e,value:t,onChange:r,onFocus:n,onBlur:o,maxLength:a,argType:i})=>{let s=f=>{r(f.target.value)},l=!!i?.table?.readonly,[u,c]=me(!1),d=Ve(()=>{r(""),c(!0)},[c]);if(t===void 0)return v.createElement(Nt,{variant:"outline",size:"medium",disabled:l,id:ln(e),onClick:d},"Set string");let y=typeof t=="string";return v.createElement(o4,null,v.createElement(ut.Textarea,{id:tt(e),maxLength:a,onChange:s,disabled:l,size:"flex",placeholder:"Edit string...",autoFocus:u,valid:y?null:"error",name:e,value:y?t:"",onFocus:n,onBlur:o}),a&&v.createElement(a4,{isMaxed:t?.length===a},t?.length??0," / ",a))},s4=W(ut.Input)({padding:10});function l4(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var u4=({onChange:e,name:t,accept:r="image/*",value:n,argType:o})=>{let a=Xe(null),i=o?.control?.readOnly;function s(l){if(!l.target.files)return;let u=Array.from(l.target.files).map(c=>URL.createObjectURL(c));e(u),l4(n)}return He(()=>{n==null&&a.current&&(a.current.value=null)},[n,t]),v.createElement(s4,{ref:a,id:tt(t),type:"file",name:t,multiple:!0,disabled:i,onChange:s,accept:r,size:"flex"})},c4=Xl(()=>Promise.resolve().then(()=>(Z0(),Q0))),p4=e=>v.createElement(Yl,{fallback:v.createElement("div",null)},v.createElement(c4,{...e})),d4={array:wv,object:wv,boolean:aM,color:p4,date:pM,number:hM,check:Hr,"inline-check":Hr,radio:Hr,"inline-radio":Hr,select:Hr,"multi-select":Hr,range:n4,text:i4,file:u4},Sv=()=>v.createElement(v.Fragment,null,"-"),f4=({row:e,arg:t,updateArgs:r,isHovered:n})=>{let{key:o,control:a}=e,[i,s]=me(!1),[l,u]=me({value:t});He(()=>{i||u({value:t})},[i,t]);let c=Ve(g=>(u({value:g}),r({[o]:g}),g),[r,o]),d=Ve(()=>s(!1),[]),y=Ve(()=>s(!0),[]);if(!a||a.disable){let g=a?.disable!==!0&&e?.type?.name!=="function";return n&&g?v.createElement(Qt,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):v.createElement(Sv,null)}let f={name:o,argType:e,value:l.value,onChange:c,onBlur:d,onFocus:y},h=d4[a.type]||Sv;return v.createElement(h,{...f,...a,controlType:a.type})},y4=W.table(({theme:e})=>({"&&":{borderCollapse:"collapse",borderSpacing:0,border:"none",tr:{border:"none !important",background:"none"},"td, th":{padding:0,border:"none",width:"auto!important"},marginTop:0,marginBottom:0,"th:first-of-type, td:first-of-type":{paddingLeft:0},"th:last-of-type, td:last-of-type":{paddingRight:0},td:{paddingTop:0,paddingBottom:4,"&:not(:first-of-type)":{paddingLeft:10,paddingRight:0}},tbody:{boxShadow:"none",border:"none"},code:vr({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),h4=({tags:e})=>{let t=(e.params||[]).filter(a=>a.description),r=t.length!==0,n=e.deprecated!=null,o=e.returns!=null&&e.returns.description!=null;return!r&&!o&&!n?null:v.createElement(v.Fragment,null,v.createElement(y4,null,v.createElement("tbody",null,n&&v.createElement("tr",{key:"deprecated"},v.createElement("td",{colSpan:2},v.createElement("strong",null,"Deprecated"),": ",e.deprecated.toString())),r&&t.map(a=>v.createElement("tr",{key:a.name},v.createElement("td",null,v.createElement("code",null,a.name)),v.createElement("td",null,a.description))),o&&v.createElement("tr",{key:"returns"},v.createElement("td",null,v.createElement("code",null,"Returns")),v.createElement("td",null,e.returns.description)))))},Pl=8,Av=W.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),m4=W.span(vr,({theme:e,simple:t=!1})=>({flex:"0 0 auto",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,wordBreak:"break-word",whiteSpace:"normal",maxWidth:"100%",margin:0,marginRight:"4px",marginBottom:"4px",paddingTop:"2px",paddingBottom:"2px",lineHeight:"13px",...t&&{background:"transparent",border:"0 none",paddingLeft:0}})),g4=W.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),b4=W.div(vr,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),v4=W.div(({theme:e,width:t})=>({width:t,minWidth:200,maxWidth:800,padding:15,fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,boxSizing:"content-box","& code":{padding:"0 !important"}})),E4=W(Fu)({marginLeft:4}),x4=W(ni)({marginLeft:4}),w4=()=>v.createElement("span",null,"-"),_2=({text:e,simple:t})=>v.createElement(m4,{simple:t},e),S4=(0,OB.default)(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),A4=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return(0,Rv.default)(t)},Tv=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,Pl)),r.map(n=>v.createElement(_2,{key:n,text:n===""?'""':n}))},T4=({value:e,initialExpandedArgs:t})=>{let{summary:r,detail:n}=e,[o,a]=me(!1),[i,s]=me(t||!1);if(r==null)return null;let l=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(l))return v.createElement(_2,{text:l});let u=A4(l),c=u.length;return c>Pl?v.createElement(Av,{isExpanded:i},Tv(u,i),v.createElement(g4,{onClick:()=>s(!i)},i?"Show less...":`Show ${c-Pl} more...`)):v.createElement(Av,null,Tv(u))}return v.createElement($a,{closeOnOutsideClick:!0,placement:"bottom",visible:o,onVisibleChange:u=>{a(u)},tooltip:v.createElement(v4,{width:S4(n)},v.createElement(oo,{language:"jsx",format:!1},n))},v.createElement(b4,{className:"sbdocs-expandable"},v.createElement("span",null,l),o?v.createElement(E4,null):v.createElement(x4,null)))},El=({value:e,initialExpandedArgs:t})=>e==null?v.createElement(w4,null):v.createElement(T4,{value:e,initialExpandedArgs:t}),C4=W.span({fontWeight:"bold"}),_4=W.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),O4=W.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...vr({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),I4=W.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?xe(.1,e.color.defaultText):xe(.2,e.color.defaultText),marginTop:t?4:0})),k4=W.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?xe(.1,e.color.defaultText):xe(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),P4=W.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),R4=e=>e&&{summary:typeof e=="string"?e:e.name},ba=e=>{let[t,r]=me(!1),{row:n,updateArgs:o,compact:a,expandable:i,initialExpandedArgs:s}=e,{name:l,description:u}=n,c=n.table||{},d=c.type||R4(n.type),y=c.defaultValue||n.defaultValue,f=n.type?.required,h=u!=null&&u!=="";return v.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},v.createElement(P4,{expandable:i},v.createElement(C4,null,l),f?v.createElement(_4,{title:"Required"},"*"):null),a?null:v.createElement("td",null,h&&v.createElement(O4,null,v.createElement(_B,null,u)),c.jsDocTags!=null?v.createElement(v.Fragment,null,v.createElement(k4,{hasDescription:h},v.createElement(El,{value:d,initialExpandedArgs:s})),v.createElement(h4,{tags:c.jsDocTags})):v.createElement(I4,{hasDescription:h},v.createElement(El,{value:d,initialExpandedArgs:s}))),a?null:v.createElement("td",null,v.createElement(El,{value:y,initialExpandedArgs:s})),o?v.createElement("td",null,v.createElement(f4,{...e,isHovered:t})):null)},D4=W.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),F4=W.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),j4=W.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),N4=({inAddonPanel:e})=>{let[t,r]=me(!0);return He(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:v.createElement(D4,{inAddonPanel:e},v.createElement(Ba,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:v.createElement(v.Fragment,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically."),footer:v.createElement(F4,null,e&&v.createElement(v.Fragment,null,v.createElement(Qt,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},v.createElement(Mu,null)," Watch 5m video"),v.createElement(j4,null),v.createElement(Qt,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},v.createElement(ho,null)," Read docs")),!e&&v.createElement(Qt,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},v.createElement(ho,null)," Learn how to set that up"))}))},B4=W(Ru)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?xe(.25,e.color.defaultText):xe(.3,e.color.defaultText),border:"none",display:"inline-block"})),L4=W(Du)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?xe(.25,e.color.defaultText):xe(.3,e.color.defaultText),border:"none",display:"inline-block"})),q4=W.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),M4=W.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?xe(.4,e.color.defaultText):xe(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),U4=W.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),$4=W.td(()=>({position:"relative"})),z4=W.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${cr(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),Cv=W.button(()=>({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"})),xl=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:o=3})=>{let[a,i]=me(n),s=e==="subsection"?U4:M4,l=r?.length||0,u=e==="subsection"?`${l} item${l!==1?"s":""}`:"",c=`${a?"Hide":"Show"} ${e==="subsection"?l:t} item${l!==1?"s":""}`;return v.createElement(v.Fragment,null,v.createElement(z4,{title:c},v.createElement(s,{colSpan:1},v.createElement(Cv,{onClick:d=>i(!a),tabIndex:0},c),v.createElement(q4,null,a?v.createElement(B4,null):v.createElement(L4,null),t)),v.createElement($4,{colSpan:o-1},v.createElement(Cv,{onClick:d=>i(!a),tabIndex:-1,style:{outline:"none"}},c),a?null:u)),a?r:null)},va=W.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),Ge=W.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),Fe=W.div(({theme:e,width:t,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:r||16,borderRadius:3})),We=[2,4,2,2],V4=()=>v.createElement(v.Fragment,null,v.createElement(va,null,v.createElement(Ge,{numColumn:We[0]},v.createElement(Fe,{width:"60%"})),v.createElement(Ge,{numColumn:We[1]},v.createElement(Fe,{width:"30%"})),v.createElement(Ge,{numColumn:We[2]},v.createElement(Fe,{width:"60%"})),v.createElement(Ge,{numColumn:We[3]},v.createElement(Fe,{width:"60%"}))),v.createElement(va,null,v.createElement(Ge,{numColumn:We[0]},v.createElement(Fe,{width:"60%"})),v.createElement(Ge,{numColumn:We[1]},v.createElement(Fe,{width:"80%"}),v.createElement(Fe,{width:"30%"})),v.createElement(Ge,{numColumn:We[2]},v.createElement(Fe,{width:"60%"})),v.createElement(Ge,{numColumn:We[3]},v.createElement(Fe,{width:"60%"}))),v.createElement(va,null,v.createElement(Ge,{numColumn:We[0]},v.createElement(Fe,{width:"60%"})),v.createElement(Ge,{numColumn:We[1]},v.createElement(Fe,{width:"80%"}),v.createElement(Fe,{width:"30%"})),v.createElement(Ge,{numColumn:We[2]},v.createElement(Fe,{width:"60%"})),v.createElement(Ge,{numColumn:We[3]},v.createElement(Fe,{width:"60%"}))),v.createElement(va,null,v.createElement(Ge,{numColumn:We[0]},v.createElement(Fe,{width:"60%"})),v.createElement(Ge,{numColumn:We[1]},v.createElement(Fe,{width:"80%"}),v.createElement(Fe,{width:"30%"})),v.createElement(Ge,{numColumn:We[2]},v.createElement(Fe,{width:"60%"})),v.createElement(Ge,{numColumn:We[3]},v.createElement(Fe,{width:"60%"})))),H4=W.table(({theme:e,compact:t,inAddonPanel:r})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:r?0:25,marginBottom:r?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:"35%"}},"td:nth-of-type(3)":{...t?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:"25%"}},th:{color:e.base==="light"?xe(.25,e.color.defaultText):xe(.45,e.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:r?0:1,marginRight:r?0:1,tbody:{...r?null:{filter:e.base==="light"?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"},"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`},...r?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}}}}})),J4=W(yt)(({theme:e})=>({margin:"-4px -12px -4px 0"})),G4=W.span({display:"flex",justifyContent:"space-between"}),W4={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>+!!t.type?.required-+!!e.type?.required||e.name.localeCompare(t.name),none:void 0},K4=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([a,i])=>{let{category:s,subcategory:l}=i?.table||{};if(s){let u=r.sections[s]||{ungrouped:[],subsections:{}};if(!l)u.ungrouped.push({key:a,...i});else{let c=u.subsections[l]||[];c.push({key:a,...i}),u.subsections[l]=c}r.sections[s]=u}else if(l){let u=r.ungroupedSubsections[l]||[];u.push({key:a,...i}),r.ungroupedSubsections[l]=u}else r.ungrouped.push({key:a,...i})});let n=W4[t],o=a=>n?Object.keys(a).reduce((i,s)=>({...i,[s]:a[s].sort(n)}),{}):a;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:o(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((a,i)=>({...a,[i]:{ungrouped:r.sections[i].ungrouped.sort(n),subsections:o(r.sections[i].subsections)}}),{})}},Y4=(e,t,r)=>{try{return w3(e,t,r)}catch(n){return Vu.warn(n.message),!1}},X4=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:o,initialExpandedArgs:a,sort:i="none",isLoading:s}=e;if("error"in e){let{error:E}=e;return v.createElement(y2,null,E,"\xA0",v.createElement(Qt,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},v.createElement(ho,null)," Read the docs"))}if(s)return v.createElement(V4,null);let{rows:l,args:u,globals:c}="rows"in e&&e,d=K4((0,kv.default)(l,E=>!E?.table?.disable&&Y4(E,u||{},c||{})),i),y=d.ungrouped.length===0,f=Object.entries(d.sections).length===0,h=Object.entries(d.ungroupedSubsections).length===0;if(y&&f&&h)return v.createElement(N4,{inAddonPanel:o});let g=1;t&&(g+=1),n||(g+=2);let C=Object.keys(d.sections).length>0,b={updateArgs:t,compact:n,inAddonPanel:o,initialExpandedArgs:a};return v.createElement(Ma,null,v.createElement(H4,{compact:n,inAddonPanel:o,className:"docblock-argstable sb-unstyled"},v.createElement("thead",{className:"docblock-argstable-head"},v.createElement("tr",null,v.createElement("th",null,v.createElement("span",null,"Name")),n?null:v.createElement("th",null,v.createElement("span",null,"Description")),n?null:v.createElement("th",null,v.createElement("span",null,"Default")),t?v.createElement("th",null,v.createElement(G4,null,"Control"," ",!s&&r&&v.createElement(J4,{onClick:()=>r(),title:"Reset controls"},v.createElement(oi,{"aria-hidden":!0})))):null)),v.createElement("tbody",{className:"docblock-argstable-body"},d.ungrouped.map(E=>v.createElement(ba,{key:E.key,row:E,arg:u&&u[E.key],...b})),Object.entries(d.ungroupedSubsections).map(([E,_])=>v.createElement(xl,{key:E,label:E,level:"subsection",colSpan:g},_.map(T=>v.createElement(ba,{key:T.key,row:T,arg:u&&u[T.key],expandable:C,...b})))),Object.entries(d.sections).map(([E,_])=>v.createElement(xl,{key:E,label:E,level:"section",colSpan:g},_.ungrouped.map(T=>v.createElement(ba,{key:T.key,row:T,arg:u&&u[T.key],...b})),Object.entries(_.subsections).map(([T,O])=>v.createElement(xl,{key:T,label:T,level:"subsection",colSpan:g},O.map(I=>v.createElement(ba,{key:I.key,row:I,arg:u&&u[I.key],expandable:C,...b})))))))))};W.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?xe(.4,e.color.defaultText):xe(.6,e.color.defaultText)}));W.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});W.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});W.div(Er,({theme:e})=>({...Oa(e),margin:"25px 0 40px",padding:"30px 20px"}));W.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText}));W.div(({theme:e})=>({color:e.base==="light"?xe(.2,e.color.defaultText):xe(.6,e.color.defaultText)}));W.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5});W.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?xe(.4,e.color.defaultText):xe(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}}));W.div({display:"flex",flexDirection:"row"});W.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}}));W.div(({theme:e})=>({...Oa(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"}));W.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30});W.div({flex:1,display:"flex",flexDirection:"row"});W.div({display:"flex",alignItems:"flex-start"});W.div({flex:"0 0 30%"});W.div({flex:1});W.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?xe(.4,e.color.defaultText):xe(.6,e.color.defaultText)}));W.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));W.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2}));W.div(({theme:e})=>({...Oa(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}}));W.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"});W.div({display:"flex",flexFlow:"row wrap"});ct&&ct.__DOCS_CONTEXT__===void 0&&(ct.__DOCS_CONTEXT__=un(null),ct.__DOCS_CONTEXT__.displayName="DocsContext");var Q4=ct?ct.__DOCS_CONTEXT__:un(null);un({sources:{}});var{document:Z4}=ct;function e6(e,t){e.channel.emit(au,t)}Va.a;var O2=["h1","h2","h3","h4","h5","h6"],t6=O2.reduce((e,t)=>({...e,[t]:W(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),r6=W.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),n6=({as:e,id:t,children:r,...n})=>{let o=Ql(Q4),a=t6[e],i=`#${t}`;return v.createElement(a,{id:t,...n},v.createElement(r6,{"aria-hidden":"true",href:i,tabIndex:-1,target:"_self",onClick:s=>{Z4.getElementById(t)&&e6(o,i)}},v.createElement(Bu,null)),r)},I2=e=>{let{as:t,id:r,children:n,...o}=e;if(r)return v.createElement(n6,{as:t,id:r,...o},n);let a=t,{as:i,...s}=e;return v.createElement(a,{...Ha(s,t)})};O2.reduce((e,t)=>({...e,[t]:r=>v.createElement(I2,{as:t,...r})}),{});var o6=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))(o6||{});Wl(qq());W.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}}));W.div(({theme:e})=>({position:"fixed",bottom:0,top:0,width:"10rem",paddingTop:"4rem",paddingBottom:"2rem",overflowY:"auto",fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch","& *":{boxSizing:"border-box"},"& > .toc-wrapper > .toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`}}},"& .toc-list-item":{position:"relative",listStyleType:"none",marginLeft:20,paddingTop:3,paddingBottom:3},"& .toc-list-item::before":{content:'""',position:"absolute",height:"100%",top:0,left:0,transform:"translateX(calc(-2px - 20px))",borderLeft:`solid 2px ${e.color.mediumdark}`,opacity:0,transition:"opacity 0.2s"},"& .toc-list-item.is-active-li::before":{opacity:1},"& .toc-list-item > a":{color:e.color.defaultText,textDecoration:"none"},"& .toc-list-item.is-active-li > a":{fontWeight:600,color:e.color.secondary,textDecoration:"none"}}));W.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10}));var a6=({children:e,disableAnchor:t,...r})=>{if(t||typeof e!="string")return v.createElement(qa,null,e);let n=e.toLowerCase().replace(/[^a-z0-9]/gi,"-");return v.createElement(I2,{as:"h2",id:n,...r},e)};W(a6)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,fontWeight:e.typography.weight.bold,lineHeight:"16px",letterSpacing:"0.35em",textTransform:"uppercase",color:e.textMutedColor,border:0,marginBottom:"12px","&:first-of-type":{marginTop:"56px"}}));var i6=Qa({from:{transform:"translateY(40px)"},to:{transform:"translateY(0)"}}),s6=Qa({from:{background:"var(--highlight-bg-color)"},to:{}}),l6=W.div({containerType:"size",position:"sticky",bottom:0,height:39,overflow:"hidden",zIndex:1}),u6=W(Na)(({theme:e})=>({"--highlight-bg-color":e.base==="dark"?"#153B5B":"#E0F0FF",display:"flex",flexDirection:"row-reverse",alignItems:"center",justifyContent:"space-between",flexWrap:"wrap",gap:6,padding:"6px 10px",animation:`${i6} 300ms, ${s6} 2s`,background:e.background.bar,borderTop:`1px solid ${e.appBorderColor}`,fontSize:e.typography.size.s2,"@container (max-width: 799px)":{flexDirection:"row",justifyContent:"flex-end"}})),c6=W.div({display:"flex",flex:"99 0 auto",alignItems:"center",marginLeft:10,gap:6}),p6=W.div(({theme:e})=>({display:"flex",flex:"1 0 0",alignItems:"center",gap:2,color:e.color.mediumdark,fontSize:e.typography.size.s2})),wl=W.div({"@container (max-width: 799px)":{lineHeight:0,textIndent:"-9999px","&::after":{content:"attr(data-short-label)",display:"block",lineHeight:"initial",textIndent:"0"}}}),d6=W(ut.Input)(({theme:e})=>({"::placeholder":{color:e.color.mediumdark},"&:invalid:not(:placeholder-shown)":{boxShadow:`${e.color.negative} 0 0 0 1px inset`}})),f6=({saveStory:e,createStory:t,resetArgs:r})=>{let n=v.useRef(null),[o,a]=v.useState(!1),[i,s]=v.useState(!1),[l,u]=v.useState(""),[c,d]=v.useState(null),y=async()=>{o||(a(!0),await e().catch(()=>{}),a(!1))},f=()=>{s(!0),u(""),setTimeout(()=>n.current?.focus(),0)},h=g=>{let C=g.target.value.replace(/^[^a-z]/i,"").replace(/[^a-z0-9-_ ]/gi,"").replaceAll(/([-_ ]+[a-z0-9])/gi,b=>b.toUpperCase().replace(/[-_ ]/g,""));u(C.charAt(0).toUpperCase()+C.slice(1))};return v.createElement(l6,{id:"save-from-controls"},v.createElement(u6,null,v.createElement(p6,null,v.createElement(Bt,{as:"div",hasChrome:!1,trigger:"hover",tooltip:v.createElement(Zt,{note:"Save changes to story"})},v.createElement(yt,{"aria-label":"Save changes to story",disabled:o,onClick:y},v.createElement(Pu,null),v.createElement(wl,{"data-short-label":"Save"},"Update story"))),v.createElement(Bt,{as:"div",hasChrome:!1,trigger:"hover",tooltip:v.createElement(Zt,{note:"Create new story with these settings"})},v.createElement(yt,{"aria-label":"Create new story with these settings",onClick:f},v.createElement(ri,null),v.createElement(wl,{"data-short-label":"New"},"Create new story"))),v.createElement(Bt,{as:"div",hasChrome:!1,trigger:"hover",tooltip:v.createElement(Zt,{note:"Reset changes"})},v.createElement(yt,{"aria-label":"Reset changes",onClick:()=>r()},v.createElement(oi,null),v.createElement("span",null,"Reset")))),v.createElement(c6,null,v.createElement(wl,{"data-short-label":"Unsaved changes"},"You modified this story. Do you want to save your changes?")),v.createElement(ht,{width:350,open:i,onOpenChange:s},v.createElement(ut,{onSubmit:async g=>{if(g.preventDefault(),!o)try{d(null),a(!0),await t(l.replace(/^[^a-z]/i,"").replaceAll(/[^a-z0-9]/gi,"")),s(!1),a(!1)}catch(C){d(C.message),a(!1)}},id:"create-new-story-form"},v.createElement(ht.Content,null,v.createElement(ht.Header,null,v.createElement(ht.Title,null,"Create new story"),v.createElement(ht.Description,null,"This will add a new story to your existing stories file.")),v.createElement(d6,{onChange:h,placeholder:"Story export name",readOnly:o,ref:n,value:l}),v.createElement(ht.Actions,null,v.createElement(Nt,{disabled:o||!l,size:"medium",type:"submit",variant:"solid"},"Create"),v.createElement(ht.Dialog.Close,{asChild:!0},v.createElement(Nt,{disabled:o,size:"medium",type:"reset"},"Cancel"))))),c&&v.createElement(ht.Error,null,c))))},_v="addon-controls",k2="controls",Ov=e=>Object.entries(e).reduce((t,[r,n])=>n!==void 0?Object.assign(t,{[r]:n}):t,{}),y6=W.div({display:"grid",gridTemplateRows:"1fr 39px",height:"100%",maxHeight:"100vh",overflowY:"auto"}),h6=({saveStory:e,createStory:t})=>{let[r,n]=me(!0),[o,a,i,s]=wu(),[l]=Su(),u=Xa(),{expanded:c,sort:d,presetColors:y,disableSaveFromUI:f=!1}=Au(k2,{}),{path:h,previewInitialized:g}=Tu();He(()=>{g&&n(!1)},[g]);let C=Object.values(u).some(_=>_?.control),b=Object.entries(u).reduce((_,[T,O])=>{let I=O?.control;return typeof I!="object"||I?.type!=="color"||I?.presetColors?_[T]=O:_[T]={...O,control:{...I,presetColors:y}},_},{}),E=jt(()=>!!o&&!!s&&!er(Ov(o),Ov(s)),[o,s]);return v.createElement(y6,null,v.createElement(X4,{key:h,compact:!c&&C,rows:b,args:o,globals:l,updateArgs:a,resetArgs:i,inAddonPanel:!0,sort:d,isLoading:r}),C&&E&&ct.CONFIG_TYPE==="DEVELOPMENT"&&f!==!0&&v.createElement(f6,{resetArgs:i,saveStory:e,createStory:t}))};function m6(){let e=Xa(),t=Object.values(e).filter(r=>r?.control&&!r?.table?.disable).length;return v.createElement("div",null,v.createElement(Ua,{col:1},v.createElement("span",{style:{display:"inline-block",verticalAlign:"middle"}},"Controls"),t===0?"":v.createElement(ja,{status:"neutral"},t)))}var Iv=e=>JSON.stringify(e,(t,r)=>typeof r=="function"?"__sb_empty_function_arg__":r);fo.register(_v,e=>{let t=fo.getChannel(),r=async()=>{let o=e.getCurrentStoryData();if(o.type!=="story")throw new Error("Not a story");try{let a=await Ya(t,Wa,uo,{args:Iv(Object.entries(o.args||{}).reduce((i,[s,l])=>(er(l,o.initialArgs?.[s])||(i[s]=l),i),{})),csfId:o.id,importPath:o.importPath});e.addNotification({id:"save-story-success",icon:{name:"passed",color:yo.positive},content:{headline:"Story saved",subHeadline:v.createElement(v.Fragment,null,"Updated story ",v.createElement("b",null,a.sourceStoryName),".")},duration:8e3})}catch(a){throw e.addNotification({id:"save-story-error",icon:{name:"failed",color:yo.negative},content:{headline:"Failed to save story",subHeadline:a?.message||"Check the Storybook process on the command line for more details."},duration:8e3}),a}},n=async o=>{let a=e.getCurrentStoryData();if(a.type!=="story")throw new Error("Not a story");let i=await Ya(t,Wa,uo,{args:a.args&&Iv(a.args),csfId:a.id,importPath:a.importPath,name:o});e.addNotification({id:"save-story-success",icon:{name:"passed",color:yo.positive},content:{headline:"Story created",subHeadline:v.createElement(v.Fragment,null,"Added story ",v.createElement("b",null,i.newStoryName)," based on ",v.createElement("b",null,i.sourceStoryName),".")},duration:8e3,onClick:({onDismiss:s})=>{s(),e.selectStory(i.newStoryId)}})};fo.add(_v,{title:m6,type:xu.PANEL,paramKey:k2,render:({active:o})=>!o||!e.getCurrentStoryData()?null:v.createElement(Fa,{active:o},v.createElement(h6,{saveStory:r,createStory:n}))}),t.on(uo,o=>{if(!o.success)return;let a=e.getCurrentStoryData();a.type==="story"&&(e.resetStoryArgs(a),o.payload.newStoryId&&e.selectStory(o.payload.newStoryId))})});})(); }catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/sb-addons/essentials-toolbars-3/manager-bundle.js b/sb-addons/essentials-toolbars-3/manager-bundle.js index 3cd68cf81..aa88ebe08 100644 --- a/sb-addons/essentials-toolbars-3/manager-bundle.js +++ b/sb-addons/essentials-toolbars-3/manager-bundle.js @@ -1,3 +1,3 @@ try{ -(()=>{var n=__REACT__,{Children:le,Component:ne,Fragment:se,Profiler:ie,PureComponent:ue,StrictMode:ce,Suspense:pe,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:me,cloneElement:de,createContext:be,createElement:Se,createFactory:Te,createRef:ye,forwardRef:_e,isValidElement:fe,lazy:Ce,memo:Ie,startTransition:ve,unstable_act:Oe,useCallback:I,useContext:Ee,useDebugValue:xe,useDeferredValue:ge,useEffect:x,useId:he,useImperativeHandle:ke,useInsertionEffect:Ae,useLayoutEffect:Re,useMemo:Le,useReducer:Be,useRef:R,useState:L,useSyncExternalStore:Me,useTransition:Pe,version:Ne}=__REACT__;var Fe=__STORYBOOK_API__,{ActiveTabs:We,Consumer:Ge,ManagerContext:Ke,Provider:Ye,RequestResponseError:$e,addons:g,combineParameters:qe,controlOrMetaKey:ze,controlOrMetaSymbol:Ue,eventMatchesShortcut:je,eventToShortcut:Ze,experimental_requestResponse:Je,isMacLike:Qe,isShortcutTaken:Xe,keyToSymbol:et,merge:tt,mockChannel:ot,optionOrAltSymbol:rt,shortcutMatchesShortcut:at,shortcutToHumanString:lt,types:B,useAddonState:nt,useArgTypes:st,useArgs:it,useChannel:ut,useGlobalTypes:M,useGlobals:h,useParameter:ct,useSharedState:pt,useStoryPrepared:mt,useStorybookApi:P,useStorybookState:dt}=__STORYBOOK_API__;var _t=__STORYBOOK_COMPONENTS__,{A:ft,ActionBar:Ct,AddonPanel:It,Badge:vt,Bar:Ot,Blockquote:Et,Button:xt,ClipboardCode:gt,Code:ht,DL:kt,Div:At,DocumentWrapper:Rt,EmptyTabContent:Lt,ErrorFormatter:Bt,FlexBar:Mt,Form:Pt,H1:Nt,H2:wt,H3:Vt,H4:Dt,H5:Ht,H6:Ft,HR:Wt,IconButton:N,IconButtonSkeleton:Gt,Icons:k,Img:Kt,LI:Yt,Link:$t,ListItem:qt,Loader:zt,Modal:Ut,OL:jt,P:Zt,Placeholder:Jt,Pre:Qt,ResetWrapper:Xt,ScrollArea:eo,Separator:w,Spaced:to,Span:oo,StorybookIcon:ro,StorybookLogo:ao,Symbols:lo,SyntaxHighlighter:no,TT:so,TabBar:io,TabButton:uo,TabWrapper:co,Table:po,Tabs:mo,TabsState:bo,TooltipLinkList:V,TooltipMessage:So,TooltipNote:To,UL:yo,WithTooltip:D,WithTooltipPure:_o,Zoom:fo,codeCommon:Co,components:Io,createCopyToClipboardFunction:vo,getStoryHref:Oo,icons:Eo,interleaveSeparators:xo,nameSpaceClassNames:go,resetComponents:ho,withReset:ko}=__STORYBOOK_COMPONENTS__;var W=({active:o,title:t,icon:e,description:r,onClick:a})=>n.createElement(N,{active:o,title:r,onClick:a},e&&n.createElement(k,{icon:e,__suppressDeprecationWarning:!0}),t?`\xA0${t}`:null),G=["reset"],K=o=>o.filter(t=>!G.includes(t.type)).map(t=>t.value),b="addon-toolbars",Y=async(o,t,e)=>{e&&e.next&&await o.setAddonShortcut(b,{label:e.next.label,defaultShortcut:e.next.keys,actionName:`${t}:next`,action:e.next.action}),e&&e.previous&&await o.setAddonShortcut(b,{label:e.previous.label,defaultShortcut:e.previous.keys,actionName:`${t}:previous`,action:e.previous.action}),e&&e.reset&&await o.setAddonShortcut(b,{label:e.reset.label,defaultShortcut:e.reset.keys,actionName:`${t}:reset`,action:e.reset.action})},$=o=>t=>{let{id:e,toolbar:{items:r,shortcuts:a}}=t,d=P(),[S,s]=h(),l=R([]),p=S[e],v=I(()=>{s({[e]:""})},[s]),O=I(()=>{let m=l.current,i=m.indexOf(p),c=i===m.length-1?0:i+1,T=l.current[c];s({[e]:T})},[l,p,s]),u=I(()=>{let m=l.current,i=m.indexOf(p),c=i>-1?i:0,T=c===0?m.length-1:c-1,y=l.current[T];s({[e]:y})},[l,p,s]);return x(()=>{a&&Y(d,e,{next:{...a.next,action:O},previous:{...a.previous,action:u},reset:{...a.reset,action:v}})},[d,e,a,O,u,v]),x(()=>{l.current=K(r)},[]),n.createElement(o,{cycleValues:l.current,...t})},H=({currentValue:o,items:t})=>o!=null&&t.find(e=>e.value===o&&e.type!=="reset"),q=({currentValue:o,items:t})=>{let e=H({currentValue:o,items:t});if(e)return e.icon},z=({currentValue:o,items:t})=>{let e=H({currentValue:o,items:t});if(e)return e.title},U=({right:o,title:t,value:e,icon:r,hideIcon:a,onClick:d,currentValue:S})=>{let s=r&&n.createElement(k,{style:{opacity:1},icon:r}),l={id:e??"_reset",active:S===e,right:o,title:t,icon:r,onClick:d};return r&&!a&&(l.icon=s),l},j=$(({id:o,name:t,description:e,toolbar:{icon:r,items:a,title:d,preventDynamicIcon:S,dynamicTitle:s}})=>{let[l,p]=h(),[v,O]=L(!1),u=l[o],m=!!u,i=r,c=d;S||(i=q({currentValue:u,items:a})||i),s&&(c=z({currentValue:u,items:a})||c),!c&&!i&&console.warn(`Toolbar '${t}' has no title or icon`);let T=I(y=>{p({[o]:y})},[u,p]);return n.createElement(D,{placement:"top",tooltip:({onHide:y})=>{let F=a.filter(({type:E})=>{let A=!0;return E==="reset"&&!u&&(A=!1),A}).map(E=>U({...E,currentValue:u,onClick:()=>{T(E.value),y()}}));return n.createElement(V,{links:F})},closeOnOutsideClick:!0,onVisibleChange:O},n.createElement(W,{active:v||m,description:e||"",icon:i,title:c||""}))}),Z={type:"item",value:""},J=(o,t)=>({...t,name:t.name||o,description:t.description||o,toolbar:{...t.toolbar,items:t.toolbar.items.map(e=>{let r=typeof e=="string"?{value:e,title:e}:e;return r.type==="reset"&&t.toolbar.icon&&(r.icon=t.toolbar.icon,r.hideIcon=!0),{...Z,...r}})}}),Q=()=>{let o=M(),t=Object.keys(o).filter(e=>!!o[e].toolbar);return t.length?n.createElement(n.Fragment,null,n.createElement(w,null),t.map(e=>{let r=J(e,o[e]);return n.createElement(j,{key:e,id:e,...r})})):null};g.register(b,()=>g.add(b,{title:b,type:B.TOOL,match:({tabId:o})=>!o,render:()=>n.createElement(Q,null)}));})(); +(()=>{var l=__REACT__,{Children:se,Component:ie,Fragment:ue,Profiler:ce,PureComponent:pe,StrictMode:me,Suspense:de,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:be,cloneElement:Se,createContext:Te,createElement:ye,createFactory:_e,createRef:fe,forwardRef:Ce,isValidElement:ve,lazy:Ie,memo:Oe,startTransition:Ee,unstable_act:xe,useCallback:C,useContext:ge,useDebugValue:ke,useDeferredValue:he,useEffect:g,useId:Ae,useImperativeHandle:Re,useInsertionEffect:Le,useLayoutEffect:Be,useMemo:Me,useReducer:Pe,useRef:L,useState:B,useSyncExternalStore:Ne,useTransition:we,version:Ve}=__REACT__;var We=__STORYBOOK_API__,{ActiveTabs:Ke,Consumer:Ye,ManagerContext:$e,Provider:qe,RequestResponseError:ze,addons:k,combineParameters:Ue,controlOrMetaKey:je,controlOrMetaSymbol:Ze,eventMatchesShortcut:Je,eventToShortcut:Qe,experimental_requestResponse:Xe,isMacLike:et,isShortcutTaken:tt,keyToSymbol:ot,merge:rt,mockChannel:at,optionOrAltSymbol:lt,shortcutMatchesShortcut:nt,shortcutToHumanString:st,types:M,useAddonState:it,useArgTypes:ut,useArgs:ct,useChannel:pt,useGlobalTypes:P,useGlobals:h,useParameter:mt,useSharedState:dt,useStoryPrepared:bt,useStorybookApi:N,useStorybookState:St}=__STORYBOOK_API__;var Ct=__STORYBOOK_COMPONENTS__,{A:vt,ActionBar:It,AddonPanel:Ot,Badge:Et,Bar:xt,Blockquote:gt,Button:kt,ClipboardCode:ht,Code:At,DL:Rt,Div:Lt,DocumentWrapper:Bt,EmptyTabContent:Mt,ErrorFormatter:Pt,FlexBar:Nt,Form:wt,H1:Vt,H2:Dt,H3:Ht,H4:Ft,H5:Gt,H6:Wt,HR:Kt,IconButton:w,IconButtonSkeleton:Yt,Icons:A,Img:$t,LI:qt,Link:zt,ListItem:Ut,Loader:jt,Modal:Zt,OL:Jt,P:Qt,Placeholder:Xt,Pre:eo,ResetWrapper:to,ScrollArea:oo,Separator:V,Spaced:ro,Span:ao,StorybookIcon:lo,StorybookLogo:no,Symbols:so,SyntaxHighlighter:io,TT:uo,TabBar:co,TabButton:po,TabWrapper:mo,Table:bo,Tabs:So,TabsState:To,TooltipLinkList:D,TooltipMessage:yo,TooltipNote:_o,UL:fo,WithTooltip:H,WithTooltipPure:Co,Zoom:vo,codeCommon:Io,components:Oo,createCopyToClipboardFunction:Eo,getStoryHref:xo,icons:go,interleaveSeparators:ko,nameSpaceClassNames:ho,resetComponents:Ao,withReset:Ro}=__STORYBOOK_COMPONENTS__;var K={type:"item",value:""},Y=(o,t)=>({...t,name:t.name||o,description:t.description||o,toolbar:{...t.toolbar,items:t.toolbar.items.map(e=>{let r=typeof e=="string"?{value:e,title:e}:e;return r.type==="reset"&&t.toolbar.icon&&(r.icon=t.toolbar.icon,r.hideIcon=!0),{...K,...r}})}}),$=["reset"],q=o=>o.filter(t=>!$.includes(t.type)).map(t=>t.value),S="addon-toolbars",z=async(o,t,e)=>{e&&e.next&&await o.setAddonShortcut(S,{label:e.next.label,defaultShortcut:e.next.keys,actionName:`${t}:next`,action:e.next.action}),e&&e.previous&&await o.setAddonShortcut(S,{label:e.previous.label,defaultShortcut:e.previous.keys,actionName:`${t}:previous`,action:e.previous.action}),e&&e.reset&&await o.setAddonShortcut(S,{label:e.reset.label,defaultShortcut:e.reset.keys,actionName:`${t}:reset`,action:e.reset.action})},U=o=>t=>{let{id:e,toolbar:{items:r,shortcuts:a}}=t,c=N(),[T,i]=h(),n=L([]),u=T[e],v=C(()=>{i({[e]:""})},[i]),I=C(()=>{let s=n.current,m=s.indexOf(u),d=m===s.length-1?0:m+1,p=n.current[d];i({[e]:p})},[n,u,i]),O=C(()=>{let s=n.current,m=s.indexOf(u),d=m>-1?m:0,p=d===0?s.length-1:d-1,b=n.current[p];i({[e]:b})},[n,u,i]);return g(()=>{a&&z(c,e,{next:{...a.next,action:I},previous:{...a.previous,action:O},reset:{...a.reset,action:v}})},[c,e,a,I,O,v]),g(()=>{n.current=q(r)},[]),l.createElement(o,{cycleValues:n.current,...t})},F=({currentValue:o,items:t})=>o!=null&&t.find(e=>e.value===o&&e.type!=="reset"),j=({currentValue:o,items:t})=>{let e=F({currentValue:o,items:t});if(e)return e.icon},Z=({currentValue:o,items:t})=>{let e=F({currentValue:o,items:t});if(e)return e.title},J=({active:o,disabled:t,title:e,icon:r,description:a,onClick:c})=>l.createElement(w,{active:o,title:a,disabled:t,onClick:t?()=>{}:c},r&&l.createElement(A,{icon:r,__suppressDeprecationWarning:!0}),e?`\xA0${e}`:null),Q=({right:o,title:t,value:e,icon:r,hideIcon:a,onClick:c,disabled:T,currentValue:i})=>{let n=r&&l.createElement(A,{style:{opacity:1},icon:r}),u={id:e??"_reset",active:i===e,right:o,title:t,disabled:T,onClick:c};return r&&!a&&(u.icon=n),u},X=U(({id:o,name:t,description:e,toolbar:{icon:r,items:a,title:c,preventDynamicIcon:T,dynamicTitle:i}})=>{let[n,u,v]=h(),[I,O]=B(!1),s=n[o],m=!!s,d=o in v,p=r,b=c;T||(p=j({currentValue:s,items:a})||p),i&&(b=Z({currentValue:s,items:a})||b),!b&&!p&&console.warn(`Toolbar '${t}' has no title or icon`);let G=C(x=>{u({[o]:x})},[o,u]);return l.createElement(H,{placement:"top",tooltip:({onHide:x})=>{let W=a.filter(({type:E})=>{let R=!0;return E==="reset"&&!s&&(R=!1),R}).map(E=>Q({...E,currentValue:s,disabled:d,onClick:()=>{G(E.value),x()}}));return l.createElement(D,{links:W})},closeOnOutsideClick:!0,onVisibleChange:O},l.createElement(J,{active:I||m,disabled:d,description:e||"",icon:p,title:b||""}))}),ee=()=>{let o=P(),t=Object.keys(o).filter(e=>!!o[e].toolbar);return t.length?l.createElement(l.Fragment,null,l.createElement(V,null),t.map(e=>{let r=Y(e,o[e]);return l.createElement(X,{key:e,id:e,...r})})):null};k.register(S,()=>k.add(S,{title:S,type:M.TOOL,match:({tabId:o})=>!o,render:()=>l.createElement(ee,null)}));})(); }catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/sb-addons/storybook-6/manager-bundle.js b/sb-addons/storybook-6/manager-bundle.js index 73630232f..d5142cdd0 100644 --- a/sb-addons/storybook-6/manager-bundle.js +++ b/sb-addons/storybook-6/manager-bundle.js @@ -1,4 +1,4 @@ try{ -(()=>{var ao=Object.create;var Pt=Object.defineProperty;var io=Object.getOwnPropertyDescriptor;var so=Object.getOwnPropertyNames;var co=Object.getPrototypeOf,uo=Object.prototype.hasOwnProperty;var It=(e,t)=>()=>(e&&(t=e(e=0)),t);var Fe=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),fo=(e,t)=>{for(var r in t)Pt(e,r,{get:t[r],enumerable:!0})},lo=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of so(t))!uo.call(e,o)&&o!==r&&Pt(e,o,{get:()=>t[o],enumerable:!(n=io(t,o))||n.enumerable});return e};var kt=(e,t,r)=>(r=e!=null?ao(co(e)):{},lo(t||!e||!e.__esModule?Pt(r,"default",{value:e,enumerable:!0}):r,e));var i=It(()=>{});var d,s=It(()=>{d={NODE_ENV:"production",NODE_PATH:[],STORYBOOK:"true",PUBLIC_URL:"."}});var c=It(()=>{});var xr=Fe((Hc,wr)=>{i();s();c();wr.exports=function(t,r,n,o){var a=n?n.call(o,t,r):void 0;if(a!==void 0)return!!a;if(t===r)return!0;if(typeof t!="object"||!t||typeof r!="object"||!r)return!1;var u=Object.keys(t),l=Object.keys(r);if(u.length!==l.length)return!1;for(var f=Object.prototype.hasOwnProperty.bind(r),m=0;m{"use strict";i();s();c();var Ea="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";bn.exports=Ea});var Sn=Fe((hf,xn)=>{"use strict";i();s();c();var Ca=yn();function vn(){}function wn(){}wn.resetWarningCache=vn;xn.exports=function(){function e(n,o,a,u,l,f){if(f!==Ca){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}}e.isRequired=e;function t(){return e}var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:wn,resetWarningCache:vn};return r.PropTypes=r,r}});var Cn=Fe((xf,En)=>{i();s();c();En.exports=Sn()();var vf,wf});var Kn=Fe((ud,Yn)=>{i();s();c();var xi="Expected a function",Wn="__lodash_hash_undefined__",Si="[object Function]",Ei="[object GeneratorFunction]",Ci=/[\\^$.*+?()[\]{}|]/g,Ti=/^\[object .+?Constructor\]$/,Oi=typeof window=="object"&&window&&window.Object===Object&&window,Ri=typeof self=="object"&&self&&self.Object===Object&&self,Un=Oi||Ri||Function("return this")();function Ai(e,t){return e?.[t]}function _i(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch{}return t}var Pi=Array.prototype,Ii=Function.prototype,Vn=Object.prototype,cr=Un["__core-js_shared__"],Hn=function(){var e=/[^.]+$/.exec(cr&&cr.keys&&cr.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Bn=Ii.toString,ur=Vn.hasOwnProperty,ki=Vn.toString,$i=RegExp("^"+Bn.call(ur).replace(Ci,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ni=Pi.splice,zi=Gn(Un,"Map"),qe=Gn(Object,"create");function ye(e){var t=-1,r=e?e.length:0;for(this.clear();++t-1}function Bi(e,t){var r=this.__data__,n=Ct(r,e);return n<0?r.push([e,t]):r[n][1]=t,this}$e.prototype.clear=Hi;$e.prototype.delete=Wi;$e.prototype.get=Ui;$e.prototype.has=Vi;$e.prototype.set=Bi;function ve(e){var t=-1,r=e?e.length:0;for(this.clear();++tmo,Component:()=>ho,Fragment:()=>go,Profiler:()=>bo,PureComponent:()=>yo,StrictMode:()=>vo,Suspense:()=>wo,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>xo,cloneElement:()=>gr,createContext:()=>br,createElement:()=>Qe,createFactory:()=>So,createRef:()=>Eo,default:()=>$,forwardRef:()=>Co,isValidElement:()=>yr,lazy:()=>To,memo:()=>Oo,startTransition:()=>Ro,unstable_act:()=>Ao,useCallback:()=>we,useContext:()=>Je,useDebugValue:()=>_o,useDeferredValue:()=>Po,useEffect:()=>L,useId:()=>Io,useImperativeHandle:()=>ko,useInsertionEffect:()=>$o,useLayoutEffect:()=>$t,useMemo:()=>oe,useReducer:()=>No,useRef:()=>j,useState:()=>X,useSyncExternalStore:()=>zo,useTransition:()=>Mo,version:()=>Fo});i();s();c();var $=__REACT__,{Children:mo,Component:ho,Fragment:go,Profiler:bo,PureComponent:yo,StrictMode:vo,Suspense:wo,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:xo,cloneElement:gr,createContext:br,createElement:Qe,createFactory:So,createRef:Eo,forwardRef:Co,isValidElement:yr,lazy:To,memo:Oo,startTransition:Ro,unstable_act:Ao,useCallback:we,useContext:Je,useDebugValue:_o,useDeferredValue:Po,useEffect:L,useId:Io,useImperativeHandle:ko,useInsertionEffect:$o,useLayoutEffect:$t,useMemo:oe,useReducer:No,useRef:j,useState:X,useSyncExternalStore:zo,useTransition:Mo,version:Fo}=__REACT__;i();s();c();i();s();c();var F=function(){return F=Object.assign||function(t){for(var r,n=1,o=arguments.length;n0?k(Ce,--G):0,Ee--,N===10&&(Ee=1,at--),N}function q(){return N=G2||Mt(N)>3?"":" "}function kr(e,t){for(;--t&&q()&&!(N<48||N>102||N>57&&N<65||N>70&&N<97););return it(e,We()+(t<6&&ie()==32&&q()==32))}function Ft(e){for(;q();)switch(N){case e:return G;case 34:case 39:e!==34&&e!==39&&Ft(N);break;case 40:e===41&&Ft(e);break;case 92:q();break}return G}function $r(e,t){for(;q()&&e+N!==47+10;)if(e+N===42+42&&ie()===47)break;return"/*"+it(t,G-1)+"*"+je(e===47?e:q())}function Nr(e){for(;!Mt(ie());)q();return it(e,G)}function Fr(e){return Pr(ct("",null,null,null,[""],e=_r(e),0,[0],e))}function ct(e,t,r,n,o,a,u,l,f){for(var m=0,b=0,v=u,y=0,S=0,O=0,T=1,M=1,R=1,x=0,_="",P=o,I=a,E=n,p=_;M;)switch(O=x,x=q()){case 40:if(O!=108&&k(p,v-1)==58){Se(p+=w(st(x),"&","&\f"),"&\f",Nt(m?l[m-1]:0))!=-1&&(R=-1);break}case 34:case 39:case 91:p+=st(x);break;case 9:case 10:case 13:case 32:p+=Ir(O);break;case 92:p+=kr(We()-1,7);continue;case 47:switch(ie()){case 42:case 47:de(jo($r(q(),We()),t,r,f),f);break;default:p+="/"}break;case 123*T:l[m++]=D(p)*R;case 125*T:case 59:case 0:switch(x){case 0:case 125:M=0;case 59+b:R==-1&&(p=w(p,/\f/g,"")),S>0&&D(p)-v&&de(S>32?Mr(p+";",n,r,v-1,f):Mr(w(p," ","")+";",n,r,v-2,f),f);break;case 59:p+=";";default:if(de(E=zr(p,t,r,m,b,o,l,_,P=[],I=[],v,a),a),x===123)if(b===0)ct(p,t,E,E,P,a,v,l,I);else switch(y===99&&k(p,3)===110?100:y){case 100:case 108:case 109:case 115:ct(e,E,E,n&&de(zr(e,E,E,0,0,o,l,_,o,P=[],v,I),I),o,I,v,l,n?P:I);break;default:ct(p,E,E,E,[""],I,0,l,I)}}m=b=S=0,T=R=1,_=p="",v=u;break;case 58:v=1+D(p),S=O;default:if(T<1){if(x==123)--T;else if(x==125&&T++==0&&Ar()==125)continue}switch(p+=je(x),x*T){case 38:R=b>0?1:(p+="\f",-1);break;case 44:l[m++]=(D(p)-1)*R,R=1;break;case 64:ie()===45&&(p+=st(q())),y=ie(),b=v=D(_=p+=Nr(We())),x++;break;case 45:O===45&&D(p)==2&&(T=0)}}return a}function zr(e,t,r,n,o,a,u,l,f,m,b,v){for(var y=o-1,S=o===0?a:[""],O=ot(S),T=0,M=0,R=0;T0?S[x]+" "+_:w(_,/&\f/g,S[x])))&&(f[R++]=P);return He(e,t,r,o===0?ae:l,f,m,b,v)}function jo(e,t,r,n){return He(e,t,r,tt,je(Rr()),Z(e,2,-2),0,n)}function Mr(e,t,r,n,o){return He(e,t,r,xe,Z(e,0,n),Z(e,n+1,-1),n,o)}i();s();c();function Lt(e,t,r){switch(Cr(e,t)){case 5103:return C+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return C+e+e;case 4789:return pe+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return C+e+pe+e+A+e+e;case 5936:switch(k(e,t+11)){case 114:return C+e+A+w(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return C+e+A+w(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return C+e+A+w(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return C+e+A+e+e;case 6165:return C+e+A+"flex-"+e+e;case 5187:return C+e+w(e,/(\w+).+(:[^]+)/,C+"box-$1$2"+A+"flex-$1$2")+e;case 5443:return C+e+A+"flex-item-"+w(e,/flex-|-self/g,"")+(Y(e,/flex-|baseline/)?"":A+"grid-row-"+w(e,/flex-|-self/g,""))+e;case 4675:return C+e+A+"flex-line-pack"+w(e,/align-content|flex-|-self/g,"")+e;case 5548:return C+e+A+w(e,"shrink","negative")+e;case 5292:return C+e+A+w(e,"basis","preferred-size")+e;case 6060:return C+"box-"+w(e,"-grow","")+C+e+A+w(e,"grow","positive")+e;case 4554:return C+w(e,/([^-])(transform)/g,"$1"+C+"$2")+e;case 6187:return w(w(w(e,/(zoom-|grab)/,C+"$1"),/(image-set)/,C+"$1"),e,"")+e;case 5495:case 3959:return w(e,/(image-set\([^]*)/,C+"$1$`$1");case 4968:return w(w(e,/(.+:)(flex-)?(.*)/,C+"box-pack:$3"+A+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+C+e+e;case 4200:if(!Y(e,/flex-|baseline/))return A+"grid-column-align"+Z(e,t)+e;break;case 2592:case 3360:return A+w(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(n,o){return t=o,Y(n.props,/grid-\w+-end/)})?~Se(e+(r=r[t].value),"span",0)?e:A+w(e,"-start","")+e+A+"grid-row-span:"+(~Se(r,"span",0)?Y(r,/\d+/):+Y(r,/\d+/)-+Y(e,/\d+/))+";":A+w(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(n){return Y(n.props,/grid-\w+-start/)})?e:A+w(w(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return w(e,/(.+)-inline(.+)/,C+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(D(e)-1-t>6)switch(k(e,t+1)){case 109:if(k(e,t+4)!==45)break;case 102:return w(e,/(.+:)(.+)-([^]+)/,"$1"+C+"$2-$3$1"+pe+(k(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Se(e,"stretch",0)?Lt(w(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return w(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,o,a,u,l,f,m){return A+o+":"+a+m+(u?A+o+"-span:"+(l?f:+f-+a)+m:"")+e});case 4949:if(k(e,t+6)===121)return w(e,":",":"+C)+e;break;case 6444:switch(k(e,k(e,14)===45?18:11)){case 120:return w(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+C+(k(e,14)===45?"inline-":"")+"box$3$1"+C+"$2$3$1"+A+"$2box$3")+e;case 100:return w(e,":",":"+A)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return w(e,"scroll-","scroll-snap-")+e}return e}i();s();c();function Te(e,t){for(var r="",n=0;n-1&&!e.return)switch(e.type){case xe:e.return=Lt(e.value,e.length,r);return;case rt:return Te([J(e,{value:w(e.value,"@","@"+C)})],n);case ae:if(e.length)return Tr(r=e.props,function(o){switch(Y(o,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":me(J(e,{props:[w(o,/:(read-\w+)/,":"+pe+"$1")]})),me(J(e,{props:[o]})),De(e,{props:zt(r,n)});break;case"::placeholder":me(J(e,{props:[w(o,/:(plac\w+)/,":"+C+"input-$1")]})),me(J(e,{props:[w(o,/:(plac\w+)/,":"+pe+"$1")]})),me(J(e,{props:[w(o,/:(plac\w+)/,A+"input-$1")]})),me(J(e,{props:[o]})),De(e,{props:zt(r,n)});break}return""})}}i();s();c();var Wr={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var ee=typeof process<"u"&&d!==void 0&&(d.REACT_APP_SC_ATTR||d.SC_ATTR)||"data-styled",en="active",dt="data-styled-version",Re="6.1.12",Yt=`/*!sc*/ +(()=>{var ao=Object.create;var Pt=Object.defineProperty;var io=Object.getOwnPropertyDescriptor;var so=Object.getOwnPropertyNames;var co=Object.getPrototypeOf,uo=Object.prototype.hasOwnProperty;var It=(e,t)=>()=>(e&&(t=e(e=0)),t);var Fe=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),fo=(e,t)=>{for(var r in t)Pt(e,r,{get:t[r],enumerable:!0})},lo=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of so(t))!uo.call(e,o)&&o!==r&&Pt(e,o,{get:()=>t[o],enumerable:!(n=io(t,o))||n.enumerable});return e};var kt=(e,t,r)=>(r=e!=null?ao(co(e)):{},lo(t||!e||!e.__esModule?Pt(r,"default",{value:e,enumerable:!0}):r,e));var i=It(()=>{});var d,s=It(()=>{d={NODE_ENV:"production",NODE_PATH:[],STORYBOOK:"true",PUBLIC_URL:"."}});var c=It(()=>{});var xr=Fe((Hc,wr)=>{i();s();c();wr.exports=function(t,r,n,o){var a=n?n.call(o,t,r):void 0;if(a!==void 0)return!!a;if(t===r)return!0;if(typeof t!="object"||!t||typeof r!="object"||!r)return!1;var u=Object.keys(t),l=Object.keys(r);if(u.length!==l.length)return!1;for(var f=Object.prototype.hasOwnProperty.bind(r),m=0;m{"use strict";i();s();c();var Ea="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";bn.exports=Ea});var Sn=Fe((hf,xn)=>{"use strict";i();s();c();var Ca=yn();function vn(){}function wn(){}wn.resetWarningCache=vn;xn.exports=function(){function e(n,o,a,u,l,f){if(f!==Ca){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}}e.isRequired=e;function t(){return e}var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:wn,resetWarningCache:vn};return r.PropTypes=r,r}});var Cn=Fe((xf,En)=>{i();s();c();En.exports=Sn()();var vf,wf});var Kn=Fe((ud,Yn)=>{i();s();c();var xi="Expected a function",Wn="__lodash_hash_undefined__",Si="[object Function]",Ei="[object GeneratorFunction]",Ci=/[\\^$.*+?()[\]{}|]/g,Ti=/^\[object .+?Constructor\]$/,Oi=typeof window=="object"&&window&&window.Object===Object&&window,Ri=typeof self=="object"&&self&&self.Object===Object&&self,Un=Oi||Ri||Function("return this")();function Ai(e,t){return e?.[t]}function _i(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch{}return t}var Pi=Array.prototype,Ii=Function.prototype,Vn=Object.prototype,cr=Un["__core-js_shared__"],Hn=function(){var e=/[^.]+$/.exec(cr&&cr.keys&&cr.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Bn=Ii.toString,ur=Vn.hasOwnProperty,ki=Vn.toString,$i=RegExp("^"+Bn.call(ur).replace(Ci,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ni=Pi.splice,zi=Gn(Un,"Map"),qe=Gn(Object,"create");function ye(e){var t=-1,r=e?e.length:0;for(this.clear();++t-1}function Bi(e,t){var r=this.__data__,n=Ct(r,e);return n<0?r.push([e,t]):r[n][1]=t,this}$e.prototype.clear=Hi;$e.prototype.delete=Wi;$e.prototype.get=Ui;$e.prototype.has=Vi;$e.prototype.set=Bi;function ve(e){var t=-1,r=e?e.length:0;for(this.clear();++tmo,Component:()=>ho,Fragment:()=>go,Profiler:()=>bo,PureComponent:()=>yo,StrictMode:()=>vo,Suspense:()=>wo,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>xo,cloneElement:()=>gr,createContext:()=>br,createElement:()=>Qe,createFactory:()=>So,createRef:()=>Eo,default:()=>$,forwardRef:()=>Co,isValidElement:()=>yr,lazy:()=>To,memo:()=>Oo,startTransition:()=>Ro,unstable_act:()=>Ao,useCallback:()=>we,useContext:()=>Je,useDebugValue:()=>_o,useDeferredValue:()=>Po,useEffect:()=>L,useId:()=>Io,useImperativeHandle:()=>ko,useInsertionEffect:()=>$o,useLayoutEffect:()=>$t,useMemo:()=>oe,useReducer:()=>No,useRef:()=>j,useState:()=>X,useSyncExternalStore:()=>zo,useTransition:()=>Mo,version:()=>Fo});i();s();c();var $=__REACT__,{Children:mo,Component:ho,Fragment:go,Profiler:bo,PureComponent:yo,StrictMode:vo,Suspense:wo,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:xo,cloneElement:gr,createContext:br,createElement:Qe,createFactory:So,createRef:Eo,forwardRef:Co,isValidElement:yr,lazy:To,memo:Oo,startTransition:Ro,unstable_act:Ao,useCallback:we,useContext:Je,useDebugValue:_o,useDeferredValue:Po,useEffect:L,useId:Io,useImperativeHandle:ko,useInsertionEffect:$o,useLayoutEffect:$t,useMemo:oe,useReducer:No,useRef:j,useState:X,useSyncExternalStore:zo,useTransition:Mo,version:Fo}=__REACT__;i();s();c();i();s();c();var F=function(){return F=Object.assign||function(t){for(var r,n=1,o=arguments.length;n0?k(Ce,--G):0,Ee--,N===10&&(Ee=1,at--),N}function q(){return N=G2||Mt(N)>3?"":" "}function kr(e,t){for(;--t&&q()&&!(N<48||N>102||N>57&&N<65||N>70&&N<97););return it(e,We()+(t<6&&ie()==32&&q()==32))}function Ft(e){for(;q();)switch(N){case e:return G;case 34:case 39:e!==34&&e!==39&&Ft(N);break;case 40:e===41&&Ft(e);break;case 92:q();break}return G}function $r(e,t){for(;q()&&e+N!==47+10;)if(e+N===42+42&&ie()===47)break;return"/*"+it(t,G-1)+"*"+je(e===47?e:q())}function Nr(e){for(;!Mt(ie());)q();return it(e,G)}function Fr(e){return Pr(ct("",null,null,null,[""],e=_r(e),0,[0],e))}function ct(e,t,r,n,o,a,u,l,f){for(var m=0,b=0,v=u,y=0,S=0,O=0,T=1,M=1,R=1,x=0,_="",P=o,I=a,E=n,p=_;M;)switch(O=x,x=q()){case 40:if(O!=108&&k(p,v-1)==58){Se(p+=w(st(x),"&","&\f"),"&\f",Nt(m?l[m-1]:0))!=-1&&(R=-1);break}case 34:case 39:case 91:p+=st(x);break;case 9:case 10:case 13:case 32:p+=Ir(O);break;case 92:p+=kr(We()-1,7);continue;case 47:switch(ie()){case 42:case 47:de(jo($r(q(),We()),t,r,f),f);break;default:p+="/"}break;case 123*T:l[m++]=D(p)*R;case 125*T:case 59:case 0:switch(x){case 0:case 125:M=0;case 59+b:R==-1&&(p=w(p,/\f/g,"")),S>0&&D(p)-v&&de(S>32?Mr(p+";",n,r,v-1,f):Mr(w(p," ","")+";",n,r,v-2,f),f);break;case 59:p+=";";default:if(de(E=zr(p,t,r,m,b,o,l,_,P=[],I=[],v,a),a),x===123)if(b===0)ct(p,t,E,E,P,a,v,l,I);else switch(y===99&&k(p,3)===110?100:y){case 100:case 108:case 109:case 115:ct(e,E,E,n&&de(zr(e,E,E,0,0,o,l,_,o,P=[],v,I),I),o,I,v,l,n?P:I);break;default:ct(p,E,E,E,[""],I,0,l,I)}}m=b=S=0,T=R=1,_=p="",v=u;break;case 58:v=1+D(p),S=O;default:if(T<1){if(x==123)--T;else if(x==125&&T++==0&&Ar()==125)continue}switch(p+=je(x),x*T){case 38:R=b>0?1:(p+="\f",-1);break;case 44:l[m++]=(D(p)-1)*R,R=1;break;case 64:ie()===45&&(p+=st(q())),y=ie(),b=v=D(_=p+=Nr(We())),x++;break;case 45:O===45&&D(p)==2&&(T=0)}}return a}function zr(e,t,r,n,o,a,u,l,f,m,b,v){for(var y=o-1,S=o===0?a:[""],O=ot(S),T=0,M=0,R=0;T0?S[x]+" "+_:w(_,/&\f/g,S[x])))&&(f[R++]=P);return He(e,t,r,o===0?ae:l,f,m,b,v)}function jo(e,t,r,n){return He(e,t,r,tt,je(Rr()),Z(e,2,-2),0,n)}function Mr(e,t,r,n,o){return He(e,t,r,xe,Z(e,0,n),Z(e,n+1,-1),n,o)}i();s();c();function Lt(e,t,r){switch(Cr(e,t)){case 5103:return C+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return C+e+e;case 4789:return pe+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return C+e+pe+e+A+e+e;case 5936:switch(k(e,t+11)){case 114:return C+e+A+w(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return C+e+A+w(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return C+e+A+w(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return C+e+A+e+e;case 6165:return C+e+A+"flex-"+e+e;case 5187:return C+e+w(e,/(\w+).+(:[^]+)/,C+"box-$1$2"+A+"flex-$1$2")+e;case 5443:return C+e+A+"flex-item-"+w(e,/flex-|-self/g,"")+(Y(e,/flex-|baseline/)?"":A+"grid-row-"+w(e,/flex-|-self/g,""))+e;case 4675:return C+e+A+"flex-line-pack"+w(e,/align-content|flex-|-self/g,"")+e;case 5548:return C+e+A+w(e,"shrink","negative")+e;case 5292:return C+e+A+w(e,"basis","preferred-size")+e;case 6060:return C+"box-"+w(e,"-grow","")+C+e+A+w(e,"grow","positive")+e;case 4554:return C+w(e,/([^-])(transform)/g,"$1"+C+"$2")+e;case 6187:return w(w(w(e,/(zoom-|grab)/,C+"$1"),/(image-set)/,C+"$1"),e,"")+e;case 5495:case 3959:return w(e,/(image-set\([^]*)/,C+"$1$`$1");case 4968:return w(w(e,/(.+:)(flex-)?(.*)/,C+"box-pack:$3"+A+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+C+e+e;case 4200:if(!Y(e,/flex-|baseline/))return A+"grid-column-align"+Z(e,t)+e;break;case 2592:case 3360:return A+w(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(n,o){return t=o,Y(n.props,/grid-\w+-end/)})?~Se(e+(r=r[t].value),"span",0)?e:A+w(e,"-start","")+e+A+"grid-row-span:"+(~Se(r,"span",0)?Y(r,/\d+/):+Y(r,/\d+/)-+Y(e,/\d+/))+";":A+w(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(n){return Y(n.props,/grid-\w+-start/)})?e:A+w(w(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return w(e,/(.+)-inline(.+)/,C+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(D(e)-1-t>6)switch(k(e,t+1)){case 109:if(k(e,t+4)!==45)break;case 102:return w(e,/(.+:)(.+)-([^]+)/,"$1"+C+"$2-$3$1"+pe+(k(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Se(e,"stretch",0)?Lt(w(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return w(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,o,a,u,l,f,m){return A+o+":"+a+m+(u?A+o+"-span:"+(l?f:+f-+a)+m:"")+e});case 4949:if(k(e,t+6)===121)return w(e,":",":"+C)+e;break;case 6444:switch(k(e,k(e,14)===45?18:11)){case 120:return w(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+C+(k(e,14)===45?"inline-":"")+"box$3$1"+C+"$2$3$1"+A+"$2box$3")+e;case 100:return w(e,":",":"+A)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return w(e,"scroll-","scroll-snap-")+e}return e}i();s();c();function Te(e,t){for(var r="",n=0;n-1&&!e.return)switch(e.type){case xe:e.return=Lt(e.value,e.length,r);return;case rt:return Te([J(e,{value:w(e.value,"@","@"+C)})],n);case ae:if(e.length)return Tr(r=e.props,function(o){switch(Y(o,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":me(J(e,{props:[w(o,/:(read-\w+)/,":"+pe+"$1")]})),me(J(e,{props:[o]})),De(e,{props:zt(r,n)});break;case"::placeholder":me(J(e,{props:[w(o,/:(plac\w+)/,":"+C+"input-$1")]})),me(J(e,{props:[w(o,/:(plac\w+)/,":"+pe+"$1")]})),me(J(e,{props:[w(o,/:(plac\w+)/,A+"input-$1")]})),me(J(e,{props:[o]})),De(e,{props:zt(r,n)});break}return""})}}i();s();c();var Wr={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var ee=typeof process<"u"&&d!==void 0&&(d.REACT_APP_SC_ATTR||d.SC_ATTR)||"data-styled",en="active",dt="data-styled-version",Re="6.1.13",Yt=`/*!sc*/ `,mt=typeof window<"u"&&"HTMLElement"in window,Ho=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&d!==void 0&&d.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&d.REACT_APP_SC_DISABLE_SPEEDY!==""?d.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&d.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&d!==void 0&&d.SC_DISABLE_SPEEDY!==void 0&&d.SC_DISABLE_SPEEDY!==""&&d.SC_DISABLE_SPEEDY!=="false"&&d.SC_DISABLE_SPEEDY);var yt=Object.freeze([]),Ae=Object.freeze({});function Wo(e,t,r){return r===void 0&&(r=Ae),e.theme!==r.theme&&e.theme||t||r.theme}var tn=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),Uo=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Vo=/(^-|-$)/g;function Ur(e){return e.replace(Uo,"-").replace(Vo,"")}var Bo=/(a)(d)/gi,ut=52,Vr=function(e){return String.fromCharCode(e+(e>25?39:97))};function Wt(e){var t,r="";for(t=Math.abs(e);t>ut;t=t/ut|0)r=Vr(t%ut)+r;return(Vr(t%ut)+r).replace(Bo,"$1-$2")}var jt,rn=5381,Oe=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},nn=function(e){return Oe(rn,e)};function Go(e){return Wt(nn(e)>>>0)}function qo(e){return e.displayName||e.name||"Component"}function Dt(e){return typeof e=="string"&&!0}var on=typeof Symbol=="function"&&Symbol.for,an=on?Symbol.for("react.memo"):60115,Yo=on?Symbol.for("react.forward_ref"):60112,Ko={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Xo={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},sn={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Zo=((jt={})[Yo]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},jt[an]=sn,jt);function Br(e){return("type"in(t=e)&&t.type.$$typeof)===an?sn:"$$typeof"in e?Zo[e.$$typeof]:Ko;var t}var Qo=Object.defineProperty,Jo=Object.getOwnPropertyNames,Gr=Object.getOwnPropertySymbols,ea=Object.getOwnPropertyDescriptor,ta=Object.getPrototypeOf,qr=Object.prototype;function cn(e,t,r){if(typeof t!="string"){if(qr){var n=ta(t);n&&n!==qr&&cn(e,n,r)}var o=Jo(t);Gr&&(o=o.concat(Gr(t)));for(var a=Br(e),u=Br(t),l=0;l0?" Args: ".concat(t.join(", ")):""))}var ra=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var r=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,a=o;t>=a;)if((a<<=1)<0)throw K(16,"".concat(t));this.groupSizes=new Uint32Array(a),this.groupSizes.set(n),this.length=a;for(var u=o;u=this.length||this.groupSizes[t]===0)return r;for(var n=this.groupSizes[t],o=this.indexOfGroup(t),a=o+n,u=o;u=0){var n=document.createTextNode(r);return this.element.insertBefore(n,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t0&&(M+="".concat(R,","))}),f+="".concat(O).concat(T,'{content:"').concat(M,'"}').concat(Yt)},b=0;b0?".".concat(t):y},b=f.slice();b.push(function(y){y.type===ae&&y.value.includes("&")&&(y.props[0]=y.props[0].replace(pa,r).replace(n,m))}),u.prefix&&b.push(Hr),b.push(Lr);var v=function(y,S,O,T){S===void 0&&(S=""),O===void 0&&(O=""),T===void 0&&(T="&"),t=T,r=S,n=new RegExp("\\".concat(r,"\\b"),"g");var M=y.replace(da,""),R=Fr(O||S?"".concat(O," ").concat(S," { ").concat(M," }"):M);u.namespace&&(R=fn(R,u.namespace));var x=[];return Te(R,jr(b.concat(Dr(function(_){return x.push(_)})))),x};return v.hash=f.length?f.reduce(function(y,S){return S.name||K(15),Oe(y,S.name)},rn).toString():"",v}var ma=new Ve,Bt=ln(),Zt=$.createContext({shouldForwardProp:void 0,styleSheet:ma,stylis:Bt}),tf=Zt.Consumer,ha=$.createContext(void 0);function Gt(){return Je(Zt)}function ga(e){var t=X(e.stylisPlugins),r=t[0],n=t[1],o=Gt().styleSheet,a=oe(function(){var f=o;return e.sheet?f=e.sheet:e.target&&(f=f.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(f=f.reconstructWithOptions({useCSSOMInjection:!1})),f},[e.disableCSSOMInjection,e.sheet,e.target,o]),u=oe(function(){return ln({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:r})},[e.enableVendorPrefixes,e.namespace,r]);L(function(){(0,Jr.default)(r,e.stylisPlugins)||n(e.stylisPlugins)},[e.stylisPlugins]);var l=oe(function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:a,stylis:u}},[e.shouldForwardProp,a,u]);return $.createElement(Zt.Provider,{value:l},$.createElement(ha.Provider,{value:u},e.children))}var ba=function(){function e(t,r){var n=this;this.inject=function(o,a){a===void 0&&(a=Bt);var u=n.name+a.hash;o.hasNameForId(n.id,u)||o.insertRules(n.id,u,a(n.rules,u,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,Xt(this,function(){throw K(12,String(n.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=Bt),this.name+t.hash},e}(),ya=function(e){return e>="A"&&e<="Z"};function Xr(e){for(var t="",r=0;r>>0);if(!r.hasNameForId(this.componentId,u)){var l=n(a,".".concat(u),void 0,this.componentId);r.insertRules(this.componentId,u,l)}o=he(o,u),this.staticRulesId=u}else{for(var f=Oe(this.baseHash,n.hash),m="",b=0;b>>0);r.hasNameForId(this.componentId,S)||r.insertRules(this.componentId,S,n(m,".".concat(S),void 0,this.componentId)),o=he(o,S)}}return o},e}(),bt=$.createContext(void 0),rf=bt.Consumer;function hn(e){var t=$.useContext(bt),r=oe(function(){return function(n,o){if(!n)throw K(14);if(ge(n)){var a=n(o);return a}if(Array.isArray(n)||typeof n!="object")throw K(8);return o?F(F({},o),n):n}(e.theme,t)},[e.theme,t]);return e.children?$.createElement(bt.Provider,{value:r},e.children):null}var Ht={};function xa(e,t,r){var n=Kt(e),o=e,a=!Dt(e),u=t.attrs,l=u===void 0?yt:u,f=t.componentId,m=f===void 0?function(P,I){var E=typeof P!="string"?"sc":Ur(P);Ht[E]=(Ht[E]||0)+1;var p="".concat(E,"-").concat(Go(Re+E+Ht[E]));return I?"".concat(I,"-").concat(p):p}(t.displayName,t.parentComponentId):f,b=t.displayName,v=b===void 0?function(P){return Dt(P)?"styled.".concat(P):"Styled(".concat(qo(P),")")}(e):b,y=t.displayName&&t.componentId?"".concat(Ur(t.displayName),"-").concat(t.componentId):t.componentId||m,S=n&&o.attrs?o.attrs.concat(l).filter(Boolean):l,O=t.shouldForwardProp;if(n&&o.shouldForwardProp){var T=o.shouldForwardProp;if(t.shouldForwardProp){var M=t.shouldForwardProp;O=function(P,I){return T(P,I)&&M(P,I)}}else O=T}var R=new wa(r,y,n?o.componentStyle:void 0);function x(P,I){return function(E,p,U){var te=E.attrs,Qn=E.componentStyle,Jn=E.defaultProps,eo=E.foldedComponentIds,to=E.styledComponentId,ro=E.target,no=$.useContext(bt),oo=Gt(),Rt=E.shouldForwardProp||oo.shouldForwardProp,pr=Wo(p,no,Jn)||Ae,Q=function(Ke,ze,Xe){for(var Me,le=F(F({},ze),{className:void 0,theme:Xe}),_t=0;_t2&&Ve.registerId(this.componentId+t),this.removeStyles(t,n),this.createStyles(t,r,n,o)},e}();var of=function(){function e(){var t=this;this._emitSheetCSS=function(){var r=t.instance.toString();if(!r)return"";var n=Vt(),o=ht([n&&'nonce="'.concat(n,'"'),"".concat(ee,'="true"'),"".concat(dt,'="').concat(Re,'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(t.sealed)throw K(2);return t._emitSheetCSS()},this.getStyleElement=function(){var r;if(t.sealed)throw K(2);var n=t.instance.toString();if(!n)return[];var o=((r={})[ee]="",r[dt]=Re,r.dangerouslySetInnerHTML={__html:n},r),a=Vt();return a&&(o.nonce=a),[$.createElement("style",F({},o,{key:"sc-0-0"}))]},this.seal=function(){t.sealed=!0},this.instance=new Ve({isServer:!0}),this.sealed=!1}return e.prototype.collectStyles=function(t){if(this.sealed)throw K(2);return $.createElement(ga,{sheet:this.instance},t)},e.prototype.interleaveWithNodeStream=function(t){throw K(3)},e}();var af="__sc-".concat(ee,"__");i();s();c();var _e=kt(Cn()),Ta={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function Qt(e){let{scope:t,relativeDocument:r,className:n="garden-focus-visible",dataAttribute:o="data-garden-focus-visible"}=e===void 0?{}:e;if(!t)throw new Error('Error: the useFocusVisible() hook requires a "scope" property');let a=j(!1),u=j(!1),l=j();L(()=>{let f=r;f||(f=document);let m=p=>!!(p&&p!==t.current&&p.nodeName!=="HTML"&&p.nodeName!=="BODY"&&"classList"in p&&"contains"in p.classList),b=p=>{let U=p.type,te=p.tagName;return!!(te==="INPUT"&&Ta[U]&&!p.readOnly||te==="TEXTAREA"&&!p.readOnly||p.isContentEditable)},v=p=>!!(p&&(p.classList.contains(n)||p.hasAttribute(o))),y=p=>{v(p)||(p&&p.classList.add(n),p&&p.setAttribute(o,"true"))},S=p=>{p.classList.remove(n),p.removeAttribute(o)},O=p=>{p.metaKey||p.altKey||p.ctrlKey||(m(f.activeElement)&&y(f.activeElement),a.current=!0)},T=()=>{a.current=!1},M=p=>{m(p.target)&&(a.current||b(p.target))&&y(p.target)},R=p=>{if(m(p.target)&&v(p.target)){u.current=!0,clearTimeout(l.current);let U=setTimeout(()=>{u.current=!1,clearTimeout(l.current)},100);l.current=Number(U),S(p.target)}},x=p=>{let U=p.target.nodeName;U&&U.toLowerCase()==="html"||(a.current=!1,P())},_=()=>{f.addEventListener("mousemove",x),f.addEventListener("mousedown",x),f.addEventListener("mouseup",x),f.addEventListener("pointermove",x),f.addEventListener("pointerdown",x),f.addEventListener("pointerup",x),f.addEventListener("touchmove",x),f.addEventListener("touchstart",x),f.addEventListener("touchend",x)},P=()=>{f.removeEventListener("mousemove",x),f.removeEventListener("mousedown",x),f.removeEventListener("mouseup",x),f.removeEventListener("pointermove",x),f.removeEventListener("pointerdown",x),f.removeEventListener("pointerup",x),f.removeEventListener("touchmove",x),f.removeEventListener("touchstart",x),f.removeEventListener("touchend",x)},I=()=>{f.visibilityState==="hidden"&&u.current&&(a.current=!0)},E=t.current;if(!(!f||!E))return f.addEventListener("keydown",O,!0),f.addEventListener("mousedown",T,!0),f.addEventListener("pointerdown",T,!0),f.addEventListener("touchstart",T,!0),f.addEventListener("visibilitychange",I,!0),_(),E&&E.addEventListener("focus",M,!0),E&&E.addEventListener("blur",R,!0),()=>{f.removeEventListener("keydown",O),f.removeEventListener("mousedown",T),f.removeEventListener("pointerdown",T),f.removeEventListener("touchstart",T),f.removeEventListener("visibilityChange",I),P(),E&&E.removeEventListener("focus",M),E&&E.removeEventListener("blur",R),clearTimeout(l.current)}},[r,t,n,o])}var Tn=e=>{let{children:t,render:r=t,...n}=e,o=j(null);return Qt({scope:o,...n}),$.createElement($.Fragment,null,r({ref:o}))};Tn.defaultProps={className:"garden-focus-visible",dataAttribute:"data-garden-focus-visible"};Tn.propTypes={children:_e.default.func,render:_e.default.func,relativeDocument:_e.default.object,className:_e.default.string,dataAttribute:_e.default.string};i();s();c();i();s();c();i();s();c();function Oa(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var Ra=Oa()?$t:L;var Kf=et["useId".toString()];function On(){for(var e=arguments.length,t=new Array(e),r=0;r`0 0 0 ${wt.xs} ${e}`,sm:e=>`0 0 0 ${wt.sm} ${e}`,md:e=>`0 0 0 ${wt.md} ${e}`,lg:(e,t,r)=>`0 ${e} ${t} 0 ${r}`},La={base:z,xxs:`${z}px`,xs:`${z*2}px`,sm:`${z*3}px`,md:`${z*5}px`,lg:`${z*8}px`,xl:`${z*10}px`,xxl:`${z*12}px`},V={borders:_a,borderRadii:Aa,borderStyles:Jt,borderWidths:er,breakpoints:Pa,colors:{base:"light",...Ia},components:{},fonts:ka,fontSizes:$a,fontWeights:Na,iconSizes:za,lineHeights:Ma,palette:Rn,rtl:!1,shadowWidths:wt,shadows:Fa,space:La};i();s();c();var tr=e=>{let[t,r]=X();return L(()=>{e&&e.document?r(e.document):r(document)},[e]),t};var An=e=>{let{theme:t,focusVisibleRef:r,children:n,...o}=e,a=j(null),u=tr(t),l=r===null?$.createRef():On(r,a);return Qt({scope:l,relativeDocument:u}),$.createElement(hn,Object.assign({theme:t},o),r===void 0?$.createElement("div",{ref:a},n):n)};An.defaultProps={theme:V};i();s();c();i();s();c();i();s();c();i();s();c();i();s();c();i();s();c();i();s();c();function H(){return H=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&o<1?(l=a,f=u):o>=1&&o<2?(l=u,f=a):o>=2&&o<3?(f=a,m=u):o>=3&&o<4?(f=u,m=a):o>=4&&o<5?(l=u,m=a):o>=5&&o<6&&(l=a,m=u);var b=r-a/2,v=l+b,y=f+b,S=m+b;return n(v,y,S)}var zn={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function Wa(e){if(typeof e!="string")return e;var t=e.toLowerCase();return zn[t]?"#"+zn[t]:e}var Ua=/^#[a-fA-F0-9]{6}$/,Va=/^#[a-fA-F0-9]{8}$/,Ba=/^#[a-fA-F0-9]{3}$/,Ga=/^#[a-fA-F0-9]{4}$/,or=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,qa=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,Ya=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,Ka=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function Pe(e){if(typeof e!="string")throw new W(3);var t=Wa(e);if(t.match(Ua))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(Va)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(Ba))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(Ga)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var o=or.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var a=qa.exec(t.substring(0,50));if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10),alpha:parseFloat(""+a[4])>1?parseFloat(""+a[4])/100:parseFloat(""+a[4])};var u=Ya.exec(t);if(u){var l=parseInt(""+u[1],10),f=parseInt(""+u[2],10)/100,m=parseInt(""+u[3],10)/100,b="rgb("+Ge(l,f,m)+")",v=or.exec(b);if(!v)throw new W(4,t,b);return{red:parseInt(""+v[1],10),green:parseInt(""+v[2],10),blue:parseInt(""+v[3],10)}}var y=Ka.exec(t.substring(0,50));if(y){var S=parseInt(""+y[1],10),O=parseInt(""+y[2],10)/100,T=parseInt(""+y[3],10)/100,M="rgb("+Ge(S,O,T)+")",R=or.exec(M);if(!R)throw new W(4,t,M);return{red:parseInt(""+R[1],10),green:parseInt(""+R[2],10),blue:parseInt(""+R[3],10),alpha:parseFloat(""+y[4])>1?parseFloat(""+y[4])/100:parseFloat(""+y[4])}}throw new W(5)}function Xa(e){var t=e.red/255,r=e.green/255,n=e.blue/255,o=Math.max(t,r,n),a=Math.min(t,r,n),u=(o+a)/2;if(o===a)return e.alpha!==void 0?{hue:0,saturation:0,lightness:u,alpha:e.alpha}:{hue:0,saturation:0,lightness:u};var l,f=o-a,m=u>.5?f/(2-o-a):f/(o+a);switch(o){case t:l=(r-n)/f+(r=1?Et(e,t,r):"rgba("+Ge(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Et(e.hue,e.saturation,e.lightness):"rgba("+Ge(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new W(2)}function sr(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return ir("#"+be(e)+be(t)+be(r));if(typeof e=="object"&&t===void 0&&r===void 0)return ir("#"+be(e.red)+be(e.green)+be(e.blue));throw new W(6)}function Ie(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var o=Pe(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?sr(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?sr(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new W(7)}var ti=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},ri=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&typeof t.alpha=="number"},ni=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},oi=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&typeof t.alpha=="number"};function fe(e){if(typeof e!="object")throw new W(8);if(ri(e))return Ie(e);if(ti(e))return sr(e);if(oi(e))return ei(e);if(ni(e))return Ja(e);throw new W(8)}function Fn(e,t,r){return function(){var o=r.concat(Array.prototype.slice.call(arguments));return o.length>=t?e.apply(this,o):Fn(e,t,o)}}function B(e){return Fn(e,e.length,[])}function ai(e,t){if(t==="transparent")return t;var r=ue(t);return fe(H({},r,{hue:r.hue+parseFloat(e)}))}var Kp=B(ai);function ke(e,t,r){return Math.max(e,Math.min(t,r))}function ii(e,t){if(t==="transparent")return t;var r=ue(t);return fe(H({},r,{lightness:ke(0,1,r.lightness-parseFloat(e))}))}var si=B(ii),Ln=si;function ci(e,t){if(t==="transparent")return t;var r=ue(t);return fe(H({},r,{saturation:ke(0,1,r.saturation-parseFloat(e))}))}var Xp=B(ci);function ui(e,t){if(t==="transparent")return t;var r=ue(t);return fe(H({},r,{lightness:ke(0,1,r.lightness+parseFloat(e))}))}var fi=B(ui),jn=fi;function li(e,t,r){if(t==="transparent")return r;if(r==="transparent")return t;if(e===0)return r;var n=Pe(t),o=H({},n,{alpha:typeof n.alpha=="number"?n.alpha:1}),a=Pe(r),u=H({},a,{alpha:typeof a.alpha=="number"?a.alpha:1}),l=o.alpha-u.alpha,f=parseFloat(e)*2-1,m=f*l===-1?f:f+l,b=1+f*l,v=(m/b+1)/2,y=1-v,S={red:Math.floor(o.red*v+u.red*y),green:Math.floor(o.green*v+u.green*y),blue:Math.floor(o.blue*v+u.blue*y),alpha:o.alpha*parseFloat(e)+u.alpha*(1-parseFloat(e))};return Ie(S)}var pi=B(li),Dn=pi;function di(e,t){if(t==="transparent")return t;var r=Pe(t),n=typeof r.alpha=="number"?r.alpha:1,o=H({},r,{alpha:ke(0,1,(n*100+parseFloat(e)*100)/100)});return Ie(o)}var Zp=B(di);function mi(e,t){if(t==="transparent")return t;var r=ue(t);return fe(H({},r,{saturation:ke(0,1,r.saturation+parseFloat(e))}))}var Qp=B(mi);function hi(e,t){return t==="transparent"?t:fe(H({},ue(t),{hue:parseFloat(e)}))}var Jp=B(hi);function gi(e,t){return t==="transparent"?t:fe(H({},ue(t),{lightness:parseFloat(e)}))}var ed=B(gi);function bi(e,t){return t==="transparent"?t:fe(H({},ue(t),{saturation:parseFloat(e)}))}var td=B(bi);function yi(e,t){return t==="transparent"?t:Dn(parseFloat(e),"rgb(0, 0, 0)",t)}var rd=B(yi);function vi(e,t){return t==="transparent"?t:Dn(parseFloat(e),"rgb(255, 255, 255)",t)}var nd=B(vi);function wi(e,t){if(t==="transparent")return t;var r=Pe(t),n=typeof r.alpha=="number"?r.alpha:1,o=H({},r,{alpha:ke(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return Ie(o)}var od=B(wi);var Zn=kt(Kn()),lr=600,Xn=(e,t,r)=>{if(t!==r){let n=Math.abs(t-r)/100*.05;return t>r?Ln(n,e):jn(n,e)}return e},Ot=(0,Zn.default)(function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:lr,r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0,o;if(isNaN(t))return;let a=r&&r.palette?r.palette:V.palette,u=r&&r.colors?r.colors:V.colors,l;if(typeof e=="string"?l=u[e]||e:l=e,Object.prototype.hasOwnProperty.call(a,l)&&(l=a[l]),typeof l=="object"){if(o=l[t],!o){let f=Object.keys(l).map(m=>parseInt(m,10)).reduce((m,b)=>Math.abs(b-t)JSON.stringify({hue:e,shade:t,palette:r?.palette,colors:r?.colors,transparency:n}));i();s();c();i();s();c();i();s();c();i();s();c();i();s();c();i();s();c();i();s();c();i();s();c();i();s();c();mr.setConfig({panelPosition:"right",theme:hr({brandTitle:"Zendesk Garden React Containers",brandUrl:"https://github.com/zendeskgarden/react-containers",brandImage:null,colorSecondary:V.palette.blue[600],fontBase:V.fonts.system,fontCode:V.fonts.mono})});})(); }catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/sb-manager/globals-module-info.js b/sb-manager/globals-module-info.js index 4a53a7b53..ca770d896 100644 --- a/sb-manager/globals-module-info.js +++ b/sb-manager/globals-module-info.js @@ -69,6 +69,8 @@ var t = { "AlignLeftIcon", "AlignRightIcon", "AppleIcon", + "ArrowBottomLeftIcon", + "ArrowBottomRightIcon", "ArrowDownIcon", "ArrowLeftIcon", "ArrowRightIcon", @@ -76,6 +78,8 @@ var t = { "ArrowSolidLeftIcon", "ArrowSolidRightIcon", "ArrowSolidUpIcon", + "ArrowTopLeftIcon", + "ArrowTopRightIcon", "ArrowUpIcon", "AzureDevOpsIcon", "BackIcon", @@ -248,6 +252,9 @@ var t = { "StackedIcon", "StarHollowIcon", "StarIcon", + "StatusFailIcon", + "StatusPassIcon", + "StatusWarnIcon", "StickerIcon", "StopAltIcon", "StopIcon", @@ -283,6 +290,7 @@ var t = { "WatchIcon", "WindowsIcon", "WrenchIcon", + "XIcon", "YoutubeIcon", "ZoomIcon", "ZoomOutIcon", @@ -781,6 +789,7 @@ var t = { "SELECT_STORY", "SET_CONFIG", "SET_CURRENT_STORY", + "SET_FILTER", "SET_GLOBALS", "SET_INDEX", "SET_STORIES", @@ -837,6 +846,7 @@ var t = { "SELECT_STORY", "SET_CONFIG", "SET_CURRENT_STORY", + "SET_FILTER", "SET_GLOBALS", "SET_INDEX", "SET_STORIES", @@ -893,6 +903,7 @@ var t = { "SELECT_STORY", "SET_CONFIG", "SET_CURRENT_STORY", + "SET_FILTER", "SET_GLOBALS", "SET_INDEX", "SET_STORIES", diff --git a/sb-manager/globals-runtime.js b/sb-manager/globals-runtime.js index ee8b6964f..ea2c71d05 100644 --- a/sb-manager/globals-runtime.js +++ b/sb-manager/globals-runtime.js @@ -1,39 +1,37 @@ -var pfe = Object.create; -var Pm = Object.defineProperty; -var hfe = Object.getOwnPropertyDescriptor; -var mfe = Object.getOwnPropertyNames; -var vfe = Object.getPrototypeOf, gfe = Object.prototype.hasOwnProperty; -var yfe = (e, t, r) => t in e ? Pm(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r; -var a = (e, t) => Pm(e, "name", { value: t, configurable: !0 }), km = /* @__PURE__ */ ((e) => typeof require < "u" ? require : typeof Proxy < +var Hfe = Object.create; +var R5 = Object.defineProperty; +var $fe = Object.getOwnPropertyDescriptor; +var zfe = Object.getOwnPropertyNames; +var jfe = Object.getPrototypeOf, Ufe = Object.prototype.hasOwnProperty; +var a = (e, t) => R5(e, "name", { value: t, configurable: !0 }), Wm = /* @__PURE__ */ ((e) => typeof require < "u" ? require : typeof Proxy < "u" ? new Proxy(e, { get: (t, r) => (typeof require < "u" ? require : t)[r] }) : e)(function(e) { if (typeof require < "u") return require.apply(this, arguments); throw Error('Dynamic require of "' + e + '" is not supported'); }); -var G = (e, t) => () => (e && (t = e(e = 0)), t); -var P = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), Ft = (e, t) => { +var Y = (e, t) => () => (e && (t = e(e = 0)), t); +var k = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), $t = (e, t) => { for (var r in t) - Pm(e, r, { get: t[r], enumerable: !0 }); -}, bfe = (e, t, r, o) => { + R5(e, r, { get: t[r], enumerable: !0 }); +}, qfe = (e, t, r, o) => { if (t && typeof t == "object" || typeof t == "function") - for (let s of mfe(t)) - !gfe.call(e, s) && s !== r && Pm(e, s, { get: () => t[s], enumerable: !(o = hfe(t, s)) || o.enumerable }); + for (let s of zfe(t)) + !Ufe.call(e, s) && s !== r && R5(e, s, { get: () => t[s], enumerable: !(o = $fe(t, s)) || o.enumerable }); return e; }; -var te = (e, t, r) => (r = e != null ? pfe(vfe(e)) : {}, bfe( +var Z = (e, t, r) => (r = e != null ? Hfe(jfe(e)) : {}, qfe( // If the importer is in node compatibility mode or this is not an ESM // file that has been converted to a CommonJS file using a Babel- // compatible transform (i.e. "__esModule" has not been set), then set // "default" to the CommonJS "module.exports" for node compatibility. - t || !e || !e.__esModule ? Pm(r, "default", { value: e, enumerable: !0 }) : r, + t || !e || !e.__esModule ? R5(r, "default", { value: e, enumerable: !0 }) : r, e )); -var w5 = (e, t, r) => yfe(e, typeof t != "symbol" ? t + "" : t, r); // ../node_modules/@storybook/global/dist/index.mjs -var xe, hr = G(() => { - xe = (() => { +var Ae, Or = Y(() => { + Ae = (() => { let e; return typeof window < "u" ? e = window : typeof globalThis < "u" ? e = globalThis : typeof global < "u" ? e = global : typeof self < "u" ? e = self : e = {}, e; @@ -41,7 +39,7 @@ var xe, hr = G(() => { }); // ../node_modules/react/cjs/react.development.js -var MI = P((ft, x5) => { +var II = k((Et, A5) => { "use strict"; (function() { "use strict"; @@ -50,15 +48,15 @@ var MI = P((ft, x5) => { var e = "18.2.0", t = Symbol.for("react.element"), r = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), s = Symbol.for("rea\ ct.strict_mode"), l = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), p = Symbol.for("react.context"), h = Symbol.for("react\ .forward_ref"), v = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), w = Symbol.for("react\ -.lazy"), E = Symbol.for("react.offscreen"), D = Symbol.iterator, C = "@@iterator"; - function R(_) { +.lazy"), x = Symbol.for("react.offscreen"), R = Symbol.iterator, C = "@@iterator"; + function D(_) { if (_ === null || typeof _ != "object") return null; - var H = D && _[D] || _[C]; - return typeof H == "function" ? H : null; + var $ = R && _[R] || _[C]; + return typeof $ == "function" ? $ : null; } - a(R, "getIteratorFn"); - var I = { + a(D, "getIteratorFn"); + var F = { /** * @internal * @type {ReactComponent} @@ -66,74 +64,74 @@ ct.strict_mode"), l = Symbol.for("react.profiler"), c = Symbol.for("react.provid current: null }, O = { transition: null - }, F = { + }, I = { current: null, // Used to reproduce behavior of `batchedUpdates` in legacy mode. isBatchingLegacy: !1, didScheduleLegacyUpdate: !1 - }, M = { + }, P = { /** * @internal * @type {ReactComponent} */ current: null - }, N = {}, B = null; - function $(_) { - B = _; + }, N = {}, H = null; + function B(_) { + H = _; } - a($, "setExtraStackFrame"), N.setExtraStackFrame = function(_) { - B = _; + a(B, "setExtraStackFrame"), N.setExtraStackFrame = function(_) { + H = _; }, N.getCurrentStack = null, N.getStackAddendum = function() { var _ = ""; - B && (_ += B); - var H = N.getCurrentStack; - return H && (_ += H() || ""), _; + H && (_ += H); + var $ = N.getCurrentStack; + return $ && (_ += $() || ""), _; }; - var U = !1, q = !1, ee = !1, ie = !1, le = !1, ae = { - ReactCurrentDispatcher: I, + var q = !1, V = !1, ne = !1, ce = !1, de = !1, te = { + ReactCurrentDispatcher: F, ReactCurrentBatchConfig: O, - ReactCurrentOwner: M + ReactCurrentOwner: P }; - ae.ReactDebugCurrentFrame = N, ae.ReactCurrentActQueue = F; + te.ReactDebugCurrentFrame = N, te.ReactCurrentActQueue = I; function he(_) { { - for (var H = arguments.length, X = new Array(H > 1 ? H - 1 : 0), re = 1; re < H; re++) - X[re - 1] = arguments[re]; - ue("warn", _, X); + for (var $ = arguments.length, J = new Array($ > 1 ? $ - 1 : 0), ae = 1; ae < $; ae++) + J[ae - 1] = arguments[ae]; + le("warn", _, J); } } a(he, "warn"); - function J(_) { + function X(_) { { - for (var H = arguments.length, X = new Array(H > 1 ? H - 1 : 0), re = 1; re < H; re++) - X[re - 1] = arguments[re]; - ue("error", _, X); + for (var $ = arguments.length, J = new Array($ > 1 ? $ - 1 : 0), ae = 1; ae < $; ae++) + J[ae - 1] = arguments[ae]; + le("error", _, J); } } - a(J, "error"); - function ue(_, H, X) { + a(X, "error"); + function le(_, $, J) { { - var re = ae.ReactDebugCurrentFrame, de = re.getStackAddendum(); - de !== "" && (H += "%s", X = X.concat([de])); - var He = X.map(function(Fe) { - return String(Fe); + var ae = te.ReactDebugCurrentFrame, me = ae.getStackAddendum(); + me !== "" && ($ += "%s", J = J.concat([me])); + var qe = J.map(function(Ie) { + return String(Ie); }); - He.unshift("Warning: " + H), Function.prototype.apply.call(console[_], console, He); + qe.unshift("Warning: " + $), Function.prototype.apply.call(console[_], console, qe); } } - a(ue, "printWarning"); - var De = {}; - function ke(_, H) { + a(le, "printWarning"); + var xe = {}; + function Me(_, $) { { - var X = _.constructor, re = X && (X.displayName || X.name) || "ReactClass", de = re + "." + H; - if (De[de]) + var J = _.constructor, ae = J && (J.displayName || J.name) || "ReactClass", me = ae + "." + $; + if (xe[me]) return; - J("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, \ -assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.", H, re), De[de] = !0; + X("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, \ +assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.", $, ae), xe[me] = !0; } } - a(ke, "warnNoop"); - var Te = { + a(Me, "warnNoop"); + var Re = { /** * Checks whether or not this composite component is mounted. * @param {ReactClass} publicInstance The instance we want to test. @@ -159,8 +157,8 @@ assign to `this.state` directly or define a `state = {};` class property with th * @param {?string} callerName name of the calling function in the public API. * @internal */ - enqueueForceUpdate: /* @__PURE__ */ a(function(_, H, X) { - ke(_, "forceUpdate"); + enqueueForceUpdate: /* @__PURE__ */ a(function(_, $, J) { + Me(_, "forceUpdate"); }, "enqueueForceUpdate"), /** * Replaces all of the state. Always use this or `setState` to mutate state. @@ -175,8 +173,8 @@ assign to `this.state` directly or define a `state = {};` class property with th * @param {?string} callerName name of the calling function in the public API. * @internal */ - enqueueReplaceState: /* @__PURE__ */ a(function(_, H, X, re) { - ke(_, "replaceState"); + enqueueReplaceState: /* @__PURE__ */ a(function(_, $, J, ae) { + Me(_, "replaceState"); }, "enqueueReplaceState"), /** * Sets a subset of the state. This only exists because _pendingState is @@ -190,99 +188,99 @@ assign to `this.state` directly or define a `state = {};` class property with th * @param {?string} Name of the calling function in the public API. * @internal */ - enqueueSetState: /* @__PURE__ */ a(function(_, H, X, re) { - ke(_, "setState"); + enqueueSetState: /* @__PURE__ */ a(function(_, $, J, ae) { + Me(_, "setState"); }, "enqueueSetState") - }, $e = Object.assign, Be = {}; - Object.freeze(Be); - function Ye(_, H, X) { - this.props = _, this.context = H, this.refs = Be, this.updater = X || Te; + }, Ne = Object.assign, Pe = {}; + Object.freeze(Pe); + function Ke(_, $, J) { + this.props = _, this.context = $, this.refs = Pe, this.updater = J || Re; } - a(Ye, "Component"), Ye.prototype.isReactComponent = {}, Ye.prototype.setState = function(_, H) { + a(Ke, "Component"), Ke.prototype.isReactComponent = {}, Ke.prototype.setState = function(_, $) { if (typeof _ != "object" && typeof _ != "function" && _ != null) throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variable\ s."); - this.updater.enqueueSetState(this, _, H, "setState"); - }, Ye.prototype.forceUpdate = function(_) { + this.updater.enqueueSetState(this, _, $, "setState"); + }, Ke.prototype.forceUpdate = function(_) { this.updater.enqueueForceUpdate(this, _, "forceUpdate"); }; { - var pt = { + var mt = { isMounted: ["isMounted", "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memor\ y leaks."], replaceState: ["replaceState", "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."] - }, lt = /* @__PURE__ */ a(function(_, H) { - Object.defineProperty(Ye.prototype, _, { + }, ft = /* @__PURE__ */ a(function(_, $) { + Object.defineProperty(Ke.prototype, _, { get: /* @__PURE__ */ a(function() { - he("%s(...) is deprecated in plain JavaScript React classes. %s", H[0], H[1]); + he("%s(...) is deprecated in plain JavaScript React classes. %s", $[0], $[1]); }, "get") }); }, "defineDeprecationWarning"); - for (var ht in pt) - pt.hasOwnProperty(ht) && lt(ht, pt[ht]); + for (var yt in mt) + mt.hasOwnProperty(yt) && ft(yt, mt[yt]); } - function St() { + function bt() { } - a(St, "ComponentDummy"), St.prototype = Ye.prototype; - function _t(_, H, X) { - this.props = _, this.context = H, this.refs = Be, this.updater = X || Te; + a(bt, "ComponentDummy"), bt.prototype = Ke.prototype; + function Tt(_, $, J) { + this.props = _, this.context = $, this.refs = Pe, this.updater = J || Re; } - a(_t, "PureComponent"); - var Ut = _t.prototype = new St(); - Ut.constructor = _t, $e(Ut, Ye.prototype), Ut.isPureReactComponent = !0; - function Or() { + a(Tt, "PureComponent"); + var kt = Tt.prototype = new bt(); + kt.constructor = Tt, Ne(kt, Ke.prototype), kt.isPureReactComponent = !0; + function vr() { var _ = { current: null }; return Object.seal(_), _; } - a(Or, "createRef"); - var Wn = Array.isArray; - function br(_) { - return Wn(_); + a(vr, "createRef"); + var kr = Array.isArray; + function Er(_) { + return kr(_); } - a(br, "isArray"); - function _e(_) { + a(Er, "isArray"); + function Te(_) { { - var H = typeof Symbol == "function" && Symbol.toStringTag, X = H && _[Symbol.toStringTag] || _.constructor.name || "Object"; - return X; + var $ = typeof Symbol == "function" && Symbol.toStringTag, J = $ && _[Symbol.toStringTag] || _.constructor.name || "Object"; + return J; } } - a(_e, "typeName"); - function or(_) { + a(Te, "typeName"); + function cr(_) { try { - return ir(_), !1; + return fr(_), !1; } catch { return !0; } } - a(or, "willCoercionThrow"); - function ir(_) { + a(cr, "willCoercionThrow"); + function fr(_) { return "" + _; } - a(ir, "testStringCoercion"); - function dr(_) { - if (or(_)) - return J("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", _e(_)), ir( + a(fr, "testStringCoercion"); + function Zt(_) { + if (cr(_)) + return X("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Te(_)), fr( _); } - a(dr, "checkKeyStringCoercion"); - function Gn(_, H, X) { - var re = _.displayName; - if (re) - return re; - var de = H.displayName || H.name || ""; - return de !== "" ? X + "(" + de + ")" : X; + a(Zt, "checkKeyStringCoercion"); + function Mr(_, $, J) { + var ae = _.displayName; + if (ae) + return ae; + var me = $.displayName || $.name || ""; + return me !== "" ? J + "(" + me + ")" : J; } - a(Gn, "getWrappedName"); - function ln(_) { + a(Mr, "getWrappedName"); + function Nr(_) { return _.displayName || "Context"; } - a(ln, "getContextName"); - function ve(_) { + a(Nr, "getContextName"); + function xr(_) { if (_ == null) return null; - if (typeof _.tag == "number" && J("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please \ + if (typeof _.tag == "number" && X("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please \ file an issue."), typeof _ == "function") return _.displayName || _.name || null; if (typeof _ == "string") @@ -304,20 +302,20 @@ file an issue."), typeof _ == "function") if (typeof _ == "object") switch (_.$$typeof) { case p: - var H = _; - return ln(H) + ".Consumer"; + var $ = _; + return Nr($) + ".Consumer"; case c: - var X = _; - return ln(X._context) + ".Provider"; + var J = _; + return Nr(J._context) + ".Provider"; case h: - return Gn(_, _.render, "ForwardRef"); + return Mr(_, _.render, "ForwardRef"); case b: - var re = _.displayName || null; - return re !== null ? re : ve(_.type) || "Memo"; + var ae = _.displayName || null; + return ae !== null ? ae : xr(_.type) || "Memo"; case w: { - var de = _, He = de._payload, Fe = de._init; + var me = _, qe = me._payload, Ie = me._init; try { - return ve(Fe(He)); + return xr(Ie(qe)); } catch { return null; } @@ -325,266 +323,266 @@ file an issue."), typeof _ == "function") } return null; } - a(ve, "getComponentNameFromType"); - var Xa = Object.prototype.hasOwnProperty, ha = { + a(xr, "getComponentNameFromType"); + var Se = Object.prototype.hasOwnProperty, zn = { key: !0, ref: !0, __self: !0, __source: !0 - }, Fo, Io, un; - un = {}; - function ma(_) { - if (Xa.call(_, "ref")) { - var H = Object.getOwnPropertyDescriptor(_, "ref").get; - if (H && H.isReactWarning) + }, Wa, aa, Gr; + Gr = {}; + function jn(_) { + if (Se.call(_, "ref")) { + var $ = Object.getOwnPropertyDescriptor(_, "ref").get; + if ($ && $.isReactWarning) return !1; } return _.ref !== void 0; } - a(ma, "hasValidRef"); - function Yn(_) { - if (Xa.call(_, "key")) { - var H = Object.getOwnPropertyDescriptor(_, "key").get; - if (H && H.isReactWarning) + a(jn, "hasValidRef"); + function pn(_) { + if (Se.call(_, "key")) { + var $ = Object.getOwnPropertyDescriptor(_, "key").get; + if ($ && $.isReactWarning) return !1; } return _.key !== void 0; } - a(Yn, "hasValidKey"); - function Qa(_, H) { - var X = /* @__PURE__ */ a(function() { - Fo || (Fo = !0, J("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the\ - same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", H)); + a(pn, "hasValidKey"); + function oa(_, $) { + var J = /* @__PURE__ */ a(function() { + Wa || (Wa = !0, X("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the\ + same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", $)); }, "warnAboutAccessingKey"); - X.isReactWarning = !0, Object.defineProperty(_, "key", { - get: X, + J.isReactWarning = !0, Object.defineProperty(_, "key", { + get: J, configurable: !0 }); } - a(Qa, "defineKeyPropWarningGetter"); - function cn(_, H) { - var X = /* @__PURE__ */ a(function() { - Io || (Io = !0, J("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the\ - same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", H)); + a(oa, "defineKeyPropWarningGetter"); + function gr(_, $) { + var J = /* @__PURE__ */ a(function() { + aa || (aa = !0, X("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the\ + same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", $)); }, "warnAboutAccessingRef"); - X.isReactWarning = !0, Object.defineProperty(_, "ref", { - get: X, + J.isReactWarning = !0, Object.defineProperty(_, "ref", { + get: J, configurable: !0 }); } - a(cn, "defineRefPropWarningGetter"); - function Fa(_) { - if (typeof _.ref == "string" && M.current && _.__self && M.current.stateNode !== _.__self) { - var H = ve(M.current.type); - un[H] || (J('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This ca\ + a(gr, "defineRefPropWarningGetter"); + function ia(_) { + if (typeof _.ref == "string" && P.current && _.__self && P.current.stateNode !== _.__self) { + var $ = xr(P.current.type); + Gr[$] || (X('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This ca\ se cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Le\ -arn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', H, _.ref), un[H] = !0); +arn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', $, _.ref), Gr[$] = !0); } } - a(Fa, "warnIfStringRefCannotBeAutoConverted"); - var Vs = /* @__PURE__ */ a(function(_, H, X, re, de, He, Fe) { - var Ke = { + a(ia, "warnIfStringRefCannotBeAutoConverted"); + var zo = /* @__PURE__ */ a(function(_, $, J, ae, me, qe, Ie) { + var et = { // This tag allows us to uniquely identify this as a React Element $$typeof: t, // Built-in properties that belong on the element type: _, - key: H, - ref: X, - props: Fe, + key: $, + ref: J, + props: Ie, // Record the component responsible for creating this element. - _owner: He + _owner: qe }; - return Ke._store = {}, Object.defineProperty(Ke._store, "validated", { + return et._store = {}, Object.defineProperty(et._store, "validated", { configurable: !1, enumerable: !1, writable: !0, value: !1 - }), Object.defineProperty(Ke, "_self", { + }), Object.defineProperty(et, "_self", { configurable: !1, enumerable: !1, writable: !1, - value: re - }), Object.defineProperty(Ke, "_source", { + value: ae + }), Object.defineProperty(et, "_source", { configurable: !1, enumerable: !1, writable: !1, - value: de - }), Object.freeze && (Object.freeze(Ke.props), Object.freeze(Ke)), Ke; + value: me + }), Object.freeze && (Object.freeze(et.props), Object.freeze(et)), et; }, "ReactElement"); - function Zc(_, H, X) { - var re, de = {}, He = null, Fe = null, Ke = null, ut = null; - if (H != null) { - ma(H) && (Fe = H.ref, Fa(H)), Yn(H) && (dr(H.key), He = "" + H.key), Ke = H.__self === void 0 ? null : H.__self, ut = H.__source === - void 0 ? null : H.__source; - for (re in H) - Xa.call(H, re) && !ha.hasOwnProperty(re) && (de[re] = H[re]); - } - var Ct = arguments.length - 2; - if (Ct === 1) - de.children = X; - else if (Ct > 1) { - for (var Nt = Array(Ct), Bt = 0; Bt < Ct; Bt++) - Nt[Bt] = arguments[Bt + 2]; - Object.freeze && Object.freeze(Nt), de.children = Nt; + function ds(_, $, J) { + var ae, me = {}, qe = null, Ie = null, et = null, St = null; + if ($ != null) { + jn($) && (Ie = $.ref, ia($)), pn($) && (Zt($.key), qe = "" + $.key), et = $.__self === void 0 ? null : $.__self, St = $.__source === + void 0 ? null : $.__source; + for (ae in $) + Se.call($, ae) && !zn.hasOwnProperty(ae) && (me[ae] = $[ae]); + } + var Lt = arguments.length - 2; + if (Lt === 1) + me.children = J; + else if (Lt > 1) { + for (var Kt = Array(Lt), Xt = 0; Xt < Lt; Xt++) + Kt[Xt] = arguments[Xt + 2]; + Object.freeze && Object.freeze(Kt), me.children = Kt; } if (_ && _.defaultProps) { - var zt = _.defaultProps; - for (re in zt) - de[re] === void 0 && (de[re] = zt[re]); + var tr = _.defaultProps; + for (ae in tr) + me[ae] === void 0 && (me[ae] = tr[ae]); } - if (He || Fe) { - var tr = typeof _ == "function" ? _.displayName || _.name || "Unknown" : _; - He && Qa(de, tr), Fe && cn(de, tr); + if (qe || Ie) { + var yr = typeof _ == "function" ? _.displayName || _.name || "Unknown" : _; + qe && oa(me, yr), Ie && gr(me, yr); } - return Vs(_, He, Fe, Ke, ut, M.current, de); + return zo(_, qe, Ie, et, St, P.current, me); } - a(Zc, "createElement"); - function Se(_, H) { - var X = Vs(_.type, H, _.ref, _._self, _._source, _._owner, _.props); - return X; + a(ds, "createElement"); + function ye(_, $) { + var J = zo(_.type, $, _.ref, _._self, _._source, _._owner, _.props); + return J; } - a(Se, "cloneAndReplaceKey"); - function Me(_, H, X) { + a(ye, "cloneAndReplaceKey"); + function Be(_, $, J) { if (_ == null) throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + _ + "."); - var re, de = $e({}, _.props), He = _.key, Fe = _.ref, Ke = _._self, ut = _._source, Ct = _._owner; - if (H != null) { - ma(H) && (Fe = H.ref, Ct = M.current), Yn(H) && (dr(H.key), He = "" + H.key); - var Nt; - _.type && _.type.defaultProps && (Nt = _.type.defaultProps); - for (re in H) - Xa.call(H, re) && !ha.hasOwnProperty(re) && (H[re] === void 0 && Nt !== void 0 ? de[re] = Nt[re] : de[re] = H[re]); - } - var Bt = arguments.length - 2; - if (Bt === 1) - de.children = X; - else if (Bt > 1) { - for (var zt = Array(Bt), tr = 0; tr < Bt; tr++) - zt[tr] = arguments[tr + 2]; - de.children = zt; - } - return Vs(_.type, He, Fe, Ke, ut, Ct, de); - } - a(Me, "cloneElement"); - function Qe(_) { + var ae, me = Ne({}, _.props), qe = _.key, Ie = _.ref, et = _._self, St = _._source, Lt = _._owner; + if ($ != null) { + jn($) && (Ie = $.ref, Lt = P.current), pn($) && (Zt($.key), qe = "" + $.key); + var Kt; + _.type && _.type.defaultProps && (Kt = _.type.defaultProps); + for (ae in $) + Se.call($, ae) && !zn.hasOwnProperty(ae) && ($[ae] === void 0 && Kt !== void 0 ? me[ae] = Kt[ae] : me[ae] = $[ae]); + } + var Xt = arguments.length - 2; + if (Xt === 1) + me.children = J; + else if (Xt > 1) { + for (var tr = Array(Xt), yr = 0; yr < Xt; yr++) + tr[yr] = arguments[yr + 2]; + me.children = tr; + } + return zo(_.type, qe, Ie, et, St, Lt, me); + } + a(Be, "cloneElement"); + function tt(_) { return typeof _ == "object" && _ !== null && _.$$typeof === t; } - a(Qe, "isValidElement"); - var Dt = ".", qt = ":"; - function Fn(_) { - var H = /[=:]/g, X = { + a(tt, "isValidElement"); + var Ot = ".", Wt = ":"; + function hn(_) { + var $ = /[=:]/g, J = { "=": "=0", ":": "=2" - }, re = _.replace(H, function(de) { - return X[de]; + }, ae = _.replace($, function(me) { + return J[me]; }); - return "$" + re; - } - a(Fn, "escape"); - var Sr = !1, Ja = /\/+/g; - function er(_) { - return _.replace(Ja, "$&/"); - } - a(er, "escapeUserProvidedKey"); - function Za(_, H) { - return typeof _ == "object" && _ !== null && _.key != null ? (dr(_.key), Fn("" + _.key)) : H.toString(36); - } - a(Za, "getElementKey"); - function wr(_, H, X, re, de) { - var He = typeof _; - (He === "undefined" || He === "boolean") && (_ = null); - var Fe = !1; + return "$" + ae; + } + a(hn, "escape"); + var Cr = !1, Ta = /\/+/g; + function Gt(_) { + return _.replace(Ta, "$&/"); + } + a(Gt, "escapeUserProvidedKey"); + function sa(_, $) { + return typeof _ == "object" && _ !== null && _.key != null ? (Zt(_.key), hn("" + _.key)) : $.toString(36); + } + a(sa, "getElementKey"); + function Yt(_, $, J, ae, me) { + var qe = typeof _; + (qe === "undefined" || qe === "boolean") && (_ = null); + var Ie = !1; if (_ === null) - Fe = !0; + Ie = !0; else - switch (He) { + switch (qe) { case "string": case "number": - Fe = !0; + Ie = !0; break; case "object": switch (_.$$typeof) { case t: case r: - Fe = !0; + Ie = !0; } } - if (Fe) { - var Ke = _, ut = de(Ke), Ct = re === "" ? Dt + Za(Ke, 0) : re; - if (br(ut)) { - var Nt = ""; - Ct != null && (Nt = er(Ct) + "/"), wr(ut, H, Nt, "", function(ih) { - return ih; + if (Ie) { + var et = _, St = me(et), Lt = ae === "" ? Ot + sa(et, 0) : ae; + if (Er(St)) { + var Kt = ""; + Lt != null && (Kt = Gt(Lt) + "/"), Yt(St, $, Kt, "", function(yh) { + return yh; }); - } else ut != null && (Qe(ut) && (ut.key && (!Ke || Ke.key !== ut.key) && dr(ut.key), ut = Se( - ut, + } else St != null && (tt(St) && (St.key && (!et || et.key !== St.key) && Zt(St.key), St = ye( + St, // Keep both the (mapped) and old keys if they differ, just as // traverseAllChildren used to do for objects as children - X + // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key - (ut.key && (!Ke || Ke.key !== ut.key) ? ( + J + // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key + (St.key && (!et || et.key !== St.key) ? ( // $FlowFixMe Flow incorrectly thinks existing element's key can be a number // eslint-disable-next-line react-internal/safe-string-coercion - er("" + ut.key) + "/" - ) : "") + Ct - )), H.push(ut)); + Gt("" + St.key) + "/" + ) : "") + Lt + )), $.push(St)); return 1; } - var Bt, zt, tr = 0, Ir = re === "" ? Dt : re + qt; - if (br(_)) - for (var pf = 0; pf < _.length; pf++) - Bt = _[pf], zt = Ir + Za(Bt, pf), tr += wr(Bt, H, X, zt, de); + var Xt, tr, yr = 0, Kr = ae === "" ? Ot : ae + Wt; + if (Er(_)) + for (var Df = 0; Df < _.length; Df++) + Xt = _[Df], tr = Kr + sa(Xt, Df), yr += Yt(Xt, $, J, tr, me); else { - var Lr = R(_); - if (typeof Lr == "function") { - var hf = _; - Lr === hf.entries && (Sr || he("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), Sr = !0); - for (var wg = Lr.call(hf), oh, KS = 0; !(oh = wg.next()).done; ) - Bt = oh.value, zt = Ir + Za(Bt, KS++), tr += wr(Bt, H, X, zt, de); - } else if (He === "object") { - var Xi = String(_); - throw new Error("Objects are not valid as a React child (found: " + (Xi === "[object Object]" ? "object with keys {" + Object.keys( - _).join(", ") + "}" : Xi) + "). If you meant to render a collection of children, use an array instead."); - } - } - return tr; - } - a(wr, "mapIntoArray"); - function sr(_, H, X) { + var Xr = D(_); + if (typeof Xr == "function") { + var Af = _; + Xr === Af.entries && (Cr || he("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), Cr = !0); + for (var Rg = Xr.call(Af), gh, KS = 0; !(gh = Rg.next()).done; ) + Xt = gh.value, tr = Kr + sa(Xt, KS++), yr += Yt(Xt, $, J, tr, me); + } else if (qe === "object") { + var vs = String(_); + throw new Error("Objects are not valid as a React child (found: " + (vs === "[object Object]" ? "object with keys {" + Object.keys( + _).join(", ") + "}" : vs) + "). If you meant to render a collection of children, use an array instead."); + } + } + return yr; + } + a(Yt, "mapIntoArray"); + function er(_, $, J) { if (_ == null) return _; - var re = [], de = 0; - return wr(_, re, "", "", function(He) { - return H.call(X, He, de++); - }), re; - } - a(sr, "mapChildren"); - function PS(_) { - var H = 0; - return sr(_, function() { - H++; - }), H; - } - a(PS, "countChildren"); - function j0(_, H, X) { - sr(_, function() { - H.apply(this, arguments); - }, X); - } - a(j0, "forEachChildren"); - function U0(_) { - return sr(_, function(H) { - return H; + var ae = [], me = 0; + return Yt(_, ae, "", "", function(qe) { + return $.call(J, qe, me++); + }), ae; + } + a(er, "mapChildren"); + function Fu(_) { + var $ = 0; + return er(_, function() { + $++; + }), $; + } + a(Fu, "countChildren"); + function ul(_, $, J) { + er(_, function() { + $.apply(this, arguments); + }, J); + } + a(ul, "forEachChildren"); + function Iu(_) { + return er(_, function($) { + return $; }) || []; } - a(U0, "toArray"); - function kS(_) { - if (!Qe(_)) + a(Iu, "toArray"); + function hf(_) { + if (!tt(_)) throw new Error("React.Children.only expected to receive a single React element child."); return _; } - a(kS, "onlyChild"); - function MS(_) { - var H = { + a(hf, "onlyChild"); + function ah(_) { + var $ = { $$typeof: p, // As a workaround to support multiple concurrent renderers, we categorize // some renderers as primary and others as secondary. We only expect @@ -603,126 +601,126 @@ arn more about using refs safely here: https://reactjs.org/link/strict-mode-stri _defaultValue: null, _globalName: null }; - H.Provider = { + $.Provider = { $$typeof: c, - _context: H + _context: $ }; - var X = !1, re = !1, de = !1; + var J = !1, ae = !1, me = !1; { - var He = { + var qe = { $$typeof: p, - _context: H + _context: $ }; - Object.defineProperties(He, { + Object.defineProperties(qe, { Provider: { get: /* @__PURE__ */ a(function() { - return re || (re = !0, J("Rendering is not supported and will be removed in a future major release\ -. Did you mean to render instead?")), H.Provider; + return ae || (ae = !0, X("Rendering is not supported and will be removed in a future major release\ +. Did you mean to render instead?")), $.Provider; }, "get"), - set: /* @__PURE__ */ a(function(Fe) { - H.Provider = Fe; + set: /* @__PURE__ */ a(function(Ie) { + $.Provider = Ie; }, "set") }, _currentValue: { get: /* @__PURE__ */ a(function() { - return H._currentValue; + return $._currentValue; }, "get"), - set: /* @__PURE__ */ a(function(Fe) { - H._currentValue = Fe; + set: /* @__PURE__ */ a(function(Ie) { + $._currentValue = Ie; }, "set") }, _currentValue2: { get: /* @__PURE__ */ a(function() { - return H._currentValue2; + return $._currentValue2; }, "get"), - set: /* @__PURE__ */ a(function(Fe) { - H._currentValue2 = Fe; + set: /* @__PURE__ */ a(function(Ie) { + $._currentValue2 = Ie; }, "set") }, _threadCount: { get: /* @__PURE__ */ a(function() { - return H._threadCount; + return $._threadCount; }, "get"), - set: /* @__PURE__ */ a(function(Fe) { - H._threadCount = Fe; + set: /* @__PURE__ */ a(function(Ie) { + $._threadCount = Ie; }, "set") }, Consumer: { get: /* @__PURE__ */ a(function() { - return X || (X = !0, J("Rendering is not supported and will be removed in a future major release. \ -Did you mean to render instead?")), H.Consumer; + return J || (J = !0, X("Rendering is not supported and will be removed in a future major release. \ +Did you mean to render instead?")), $.Consumer; }, "get") }, displayName: { get: /* @__PURE__ */ a(function() { - return H.displayName; + return $.displayName; }, "get"), - set: /* @__PURE__ */ a(function(Fe) { - de || (he("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.dis\ -playName = '%s'.", Fe), de = !0); + set: /* @__PURE__ */ a(function(Ie) { + me || (he("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.dis\ +playName = '%s'.", Ie), me = !0); }, "set") } - }), H.Consumer = He; + }), $.Consumer = qe; } - return H._currentRenderer = null, H._currentRenderer2 = null, H; + return $._currentRenderer = null, $._currentRenderer2 = null, $; } - a(MS, "createContext"); - var Ws = -1, ef = 0, lg = 1, ug = 2; - function q0(_) { - if (_._status === Ws) { - var H = _._result, X = H(); - if (X.then(function(He) { - if (_._status === ef || _._status === Ws) { - var Fe = _; - Fe._status = lg, Fe._result = He; + a(ah, "createContext"); + var jo = -1, ps = 0, mf = 1, vf = 2; + function cl(_) { + if (_._status === jo) { + var $ = _._result, J = $(); + if (J.then(function(qe) { + if (_._status === ps || _._status === jo) { + var Ie = _; + Ie._status = mf, Ie._result = qe; } - }, function(He) { - if (_._status === ef || _._status === Ws) { - var Fe = _; - Fe._status = ug, Fe._result = He; + }, function(qe) { + if (_._status === ps || _._status === jo) { + var Ie = _; + Ie._status = vf, Ie._result = qe; } - }), _._status === Ws) { - var re = _; - re._status = ef, re._result = X; + }), _._status === jo) { + var ae = _; + ae._status = ps, ae._result = J; } } - if (_._status === lg) { - var de = _._result; - return de === void 0 && J(`lazy: Expected the result of a dynamic import() call. Instead received: %s + if (_._status === mf) { + var me = _._result; + return me === void 0 && X(`lazy: Expected the result of a dynamic import() call. Instead received: %s Your code should look like: const MyComponent = lazy(() => import('./MyComponent')) -Did you accidentally put curly braces around the import?`, de), "default" in de || J(`lazy: Expected the result of a dynamic import() call. \ +Did you accidentally put curly braces around the import?`, me), "default" in me || X(`lazy: Expected the result of a dynamic import() call. \ Instead received: %s Your code should look like: - const MyComponent = lazy(() => import('./MyComponent'))`, de), de.default; + const MyComponent = lazy(() => import('./MyComponent'))`, me), me.default; } else throw _._result; } - a(q0, "lazyInitializer"); - function Gs(_) { - var H = { + a(cl, "lazyInitializer"); + function Di(_) { + var $ = { // We use these fields to store the result. - _status: Ws, + _status: jo, _result: _ - }, X = { + }, J = { $$typeof: w, - _payload: H, - _init: q0 + _payload: $, + _init: cl }; { - var re, de; - Object.defineProperties(X, { + var ae, me; + Object.defineProperties(J, { defaultProps: { configurable: !0, get: /* @__PURE__ */ a(function() { - return re; + return ae; }, "get"), - set: /* @__PURE__ */ a(function(He) { - J("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the com\ -ponent is defined, or create a wrapping component around it."), re = He, Object.defineProperty(X, "defaultProps", { + set: /* @__PURE__ */ a(function(qe) { + X("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the com\ +ponent is defined, or create a wrapping component around it."), ae = qe, Object.defineProperty(J, "defaultProps", { enumerable: !0 }); }, "set") @@ -730,188 +728,188 @@ ponent is defined, or create a wrapping component around it."), re = He, Object. propTypes: { configurable: !0, get: /* @__PURE__ */ a(function() { - return de; + return me; }, "get"), - set: /* @__PURE__ */ a(function(He) { - J("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the compon\ -ent is defined, or create a wrapping component around it."), de = He, Object.defineProperty(X, "propTypes", { + set: /* @__PURE__ */ a(function(qe) { + X("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the compon\ +ent is defined, or create a wrapping component around it."), me = qe, Object.defineProperty(J, "propTypes", { enumerable: !0 }); }, "set") } }); } - return X; + return J; } - a(Gs, "lazy"); - function Wi(_) { - _ != null && _.$$typeof === b ? J("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(.\ -..)), use memo(forwardRef(...)).") : typeof _ != "function" ? J("forwardRef requires a render function but was given %s.", _ === null ? "nul\ -l" : typeof _) : _.length !== 0 && _.length !== 2 && J("forwardRef render functions accept exactly two parameters: props and ref. %s", _.length === + a(Di, "lazy"); + function Uo(_) { + _ != null && _.$$typeof === b ? X("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(.\ +..)), use memo(forwardRef(...)).") : typeof _ != "function" ? X("forwardRef requires a render function but was given %s.", _ === null ? "nul\ +l" : typeof _) : _.length !== 0 && _.length !== 2 && X("forwardRef render functions accept exactly two parameters: props and ref. %s", _.length === 1 ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined."), _ != null && (_.defaultProps != null || - _.propTypes != null) && J("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React com\ + _.propTypes != null) && X("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React com\ ponent?"); - var H = { + var $ = { $$typeof: h, render: _ }; { - var X; - Object.defineProperty(H, "displayName", { + var J; + Object.defineProperty($, "displayName", { enumerable: !1, configurable: !0, get: /* @__PURE__ */ a(function() { - return X; + return J; }, "get"), - set: /* @__PURE__ */ a(function(re) { - X = re, !_.name && !_.displayName && (_.displayName = re); + set: /* @__PURE__ */ a(function(ae) { + J = ae, !_.name && !_.displayName && (_.displayName = ae); }, "set") }); } - return H; + return $; } - a(Wi, "forwardRef"); - var Gi; - Gi = Symbol.for("react.module.reference"); - function tf(_) { - return !!(typeof _ == "string" || typeof _ == "function" || _ === o || _ === l || le || _ === s || _ === v || _ === g || ie || _ === E || - U || q || ee || typeof _ == "object" && _ !== null && (_.$$typeof === w || _.$$typeof === b || _.$$typeof === c || _.$$typeof === p || + a(Uo, "forwardRef"); + var qo; + qo = Symbol.for("react.module.reference"); + function fl(_) { + return !!(typeof _ == "string" || typeof _ == "function" || _ === o || _ === l || de || _ === s || _ === v || _ === g || ce || _ === x || + q || V || ne || typeof _ == "object" && _ !== null && (_.$$typeof === w || _.$$typeof === b || _.$$typeof === c || _.$$typeof === p || _.$$typeof === h || // This needs to include all possible module reference object // types supported by any Flight configuration anywhere since // we don't know which Flight build this will end up being used // with. - _.$$typeof === Gi || _.getModuleId !== void 0)); + _.$$typeof === qo || _.getModuleId !== void 0)); } - a(tf, "isValidElementType"); - function V0(_, H) { - tf(_) || J("memo: The first argument must be a component. Instead received: %s", _ === null ? "null" : typeof _); - var X = { + a(fl, "isValidElementType"); + function z(_, $) { + fl(_) || X("memo: The first argument must be a component. Instead received: %s", _ === null ? "null" : typeof _); + var J = { $$typeof: b, type: _, - compare: H === void 0 ? null : H + compare: $ === void 0 ? null : $ }; { - var re; - Object.defineProperty(X, "displayName", { + var ae; + Object.defineProperty(J, "displayName", { enumerable: !1, configurable: !0, get: /* @__PURE__ */ a(function() { - return re; + return ae; }, "get"), - set: /* @__PURE__ */ a(function(de) { - re = de, !_.name && !_.displayName && (_.displayName = de); + set: /* @__PURE__ */ a(function(me) { + ae = me, !_.name && !_.displayName && (_.displayName = me); }, "set") }); } - return X; + return J; } - a(V0, "memo"); - function Fr() { - var _ = I.current; - return _ === null && J(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for \ + a(z, "memo"); + function se() { + var _ = F.current; + return _ === null && X(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for \ one of the following reasons: 1. You might have mismatching versions of React and the renderer (such as React DOM) 2. You might be breaking the Rules of Hooks 3. You might have more than one copy of React in the same app See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`), _; } - a(Fr, "resolveDispatcher"); - function W0(_) { - var H = Fr(); + a(se, "resolveDispatcher"); + function ge(_) { + var $ = se(); if (_._context !== void 0) { - var X = _._context; - X.Consumer === _ ? J("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major r\ -elease. Did you mean to call useContext(Context) instead?") : X.Provider === _ && J("Calling useContext(Context.Provider) is not supported. \ + var J = _._context; + J.Consumer === _ ? X("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major r\ +elease. Did you mean to call useContext(Context) instead?") : J.Provider === _ && X("Calling useContext(Context.Provider) is not supported. \ Did you mean to call useContext(Context) instead?"); } - return H.useContext(_); - } - a(W0, "useContext"); - function Ys(_) { - var H = Fr(); - return H.useState(_); - } - a(Ys, "useState"); - function rf(_, H, X) { - var re = Fr(); - return re.useReducer(_, H, X); - } - a(rf, "useReducer"); - function nf(_) { - var H = Fr(); - return H.useRef(_); - } - a(nf, "useRef"); - function hu(_, H) { - var X = Fr(); - return X.useEffect(_, H); - } - a(hu, "useEffect"); - function fn(_, H) { - var X = Fr(); - return X.useInsertionEffect(_, H); - } - a(fn, "useInsertionEffect"); - function NS(_, H) { - var X = Fr(); - return X.useLayoutEffect(_, H); - } - a(NS, "useLayoutEffect"); - function BS(_, H) { - var X = Fr(); - return X.useCallback(_, H); - } - a(BS, "useCallback"); - function cg(_, H) { - var X = Fr(); - return X.useMemo(_, H); - } - a(cg, "useMemo"); - function $S(_, H, X) { - var re = Fr(); - return re.useImperativeHandle(_, H, X); - } - a($S, "useImperativeHandle"); - function HS(_, H) { + return $.useContext(_); + } + a(ge, "useContext"); + function je(_) { + var $ = se(); + return $.useState(_); + } + a(je, "useState"); + function dt(_, $, J) { + var ae = se(); + return ae.useReducer(_, $, J); + } + a(dt, "useReducer"); + function Ct(_) { + var $ = se(); + return $.useRef(_); + } + a(Ct, "useRef"); + function ot(_, $) { + var J = se(); + return J.useEffect(_, $); + } + a(ot, "useEffect"); + function Ue(_, $) { + var J = se(); + return J.useInsertionEffect(_, $); + } + a(Ue, "useInsertionEffect"); + function Yr(_, $) { + var J = se(); + return J.useLayoutEffect(_, $); + } + a(Yr, "useLayoutEffect"); + function nr(_, $) { + var J = se(); + return J.useCallback(_, $); + } + a(nr, "useCallback"); + function ar(_, $) { + var J = se(); + return J.useMemo(_, $); + } + a(ar, "useMemo"); + function Un(_, $, J) { + var ae = se(); + return ae.useImperativeHandle(_, $, J); + } + a(Un, "useImperativeHandle"); + function Ai(_, $) { { - var X = Fr(); - return X.useDebugValue(_, H); + var J = se(); + return J.useDebugValue(_, $); } } - a(HS, "useDebugValue"); - function zS() { - var _ = Fr(); + a(Ai, "useDebugValue"); + function gf() { + var _ = se(); return _.useTransition(); } - a(zS, "useTransition"); - function fg(_) { - var H = Fr(); - return H.useDeferredValue(_); + a(gf, "useTransition"); + function _a(_) { + var $ = se(); + return $.useDeferredValue(_); } - a(fg, "useDeferredValue"); + a(_a, "useDeferredValue"); function jS() { - var _ = Fr(); + var _ = se(); return _.useId(); } a(jS, "useId"); - function Yi(_, H, X) { - var re = Fr(); - return re.useSyncExternalStore(_, H, X); + function hs(_, $, J) { + var ae = se(); + return ae.useSyncExternalStore(_, $, J); } - a(Yi, "useSyncExternalStore"); - var et = 0, Ks, G0, Y0, K0, X0, Q0, J0; - function Z0() { + a(hs, "useSyncExternalStore"); + var it = 0, dl, oh, ih, sh, lh, uh, ch; + function fh() { } - a(Z0, "disabledLog"), Z0.__reactDisabledLog = !0; - function dg() { + a(fh, "disabledLog"), fh.__reactDisabledLog = !0; + function vg() { { - if (et === 0) { - Ks = console.log, G0 = console.info, Y0 = console.warn, K0 = console.error, X0 = console.group, Q0 = console.groupCollapsed, J0 = console. + if (it === 0) { + dl = console.log, oh = console.info, ih = console.warn, sh = console.error, lh = console.group, uh = console.groupCollapsed, ch = console. groupEnd; var _ = { configurable: !0, enumerable: !0, - value: Z0, + value: fh, writable: !0 }; Object.defineProperties(console, { @@ -924,225 +922,225 @@ Did you mean to call useContext(Context) instead?"); groupEnd: _ }); } - et++; + it++; } } - a(dg, "disableLogs"); + a(vg, "disableLogs"); function US() { { - if (et--, et === 0) { + if (it--, it === 0) { var _ = { configurable: !0, enumerable: !0, writable: !0 }; Object.defineProperties(console, { - log: $e({}, _, { - value: Ks + log: Ne({}, _, { + value: dl }), - info: $e({}, _, { - value: G0 + info: Ne({}, _, { + value: oh }), - warn: $e({}, _, { - value: Y0 + warn: Ne({}, _, { + value: ih }), - error: $e({}, _, { - value: K0 + error: Ne({}, _, { + value: sh }), - group: $e({}, _, { - value: X0 + group: Ne({}, _, { + value: lh }), - groupCollapsed: $e({}, _, { - value: Q0 + groupCollapsed: Ne({}, _, { + value: uh }), - groupEnd: $e({}, _, { - value: J0 + groupEnd: Ne({}, _, { + value: ch }) }); } - et < 0 && J("disabledDepth fell below zero. This is a bug in React. Please file an issue."); + it < 0 && X("disabledDepth fell below zero. This is a bug in React. Please file an issue."); } } a(US, "reenableLogs"); - var eh = ae.ReactCurrentDispatcher, mu; - function Xs(_, H, X) { + var dh = te.ReactCurrentDispatcher, Lu; + function pl(_, $, J) { { - if (mu === void 0) + if (Lu === void 0) try { throw Error(); - } catch (de) { - var re = de.stack.trim().match(/\n( *(at )?)/); - mu = re && re[1] || ""; + } catch (me) { + var ae = me.stack.trim().match(/\n( *(at )?)/); + Lu = ae && ae[1] || ""; } return ` -` + mu + _; +` + Lu + _; } } - a(Xs, "describeBuiltInComponentFrame"); - var eo = !1, Qs; + a(pl, "describeBuiltInComponentFrame"); + var fo = !1, hl; { - var af = typeof WeakMap == "function" ? WeakMap : Map; - Qs = new af(); + var yf = typeof WeakMap == "function" ? WeakMap : Map; + hl = new yf(); } - function pg(_, H) { - if (!_ || eo) + function gg(_, $) { + if (!_ || fo) return ""; { - var X = Qs.get(_); - if (X !== void 0) - return X; + var J = hl.get(_); + if (J !== void 0) + return J; } - var re; - eo = !0; - var de = Error.prepareStackTrace; + var ae; + fo = !0; + var me = Error.prepareStackTrace; Error.prepareStackTrace = void 0; - var He; - He = eh.current, eh.current = null, dg(); + var qe; + qe = dh.current, dh.current = null, vg(); try { - if (H) { - var Fe = /* @__PURE__ */ a(function() { + if ($) { + var Ie = /* @__PURE__ */ a(function() { throw Error(); }, "Fake"); - if (Object.defineProperty(Fe.prototype, "props", { + if (Object.defineProperty(Ie.prototype, "props", { set: /* @__PURE__ */ a(function() { throw Error(); }, "set") }), typeof Reflect == "object" && Reflect.construct) { try { - Reflect.construct(Fe, []); - } catch (Ir) { - re = Ir; + Reflect.construct(Ie, []); + } catch (Kr) { + ae = Kr; } - Reflect.construct(_, [], Fe); + Reflect.construct(_, [], Ie); } else { try { - Fe.call(); - } catch (Ir) { - re = Ir; + Ie.call(); + } catch (Kr) { + ae = Kr; } - _.call(Fe.prototype); + _.call(Ie.prototype); } } else { try { throw Error(); - } catch (Ir) { - re = Ir; + } catch (Kr) { + ae = Kr; } _(); } - } catch (Ir) { - if (Ir && re && typeof Ir.stack == "string") { - for (var Ke = Ir.stack.split(` -`), ut = re.stack.split(` -`), Ct = Ke.length - 1, Nt = ut.length - 1; Ct >= 1 && Nt >= 0 && Ke[Ct] !== ut[Nt]; ) - Nt--; - for (; Ct >= 1 && Nt >= 0; Ct--, Nt--) - if (Ke[Ct] !== ut[Nt]) { - if (Ct !== 1 || Nt !== 1) + } catch (Kr) { + if (Kr && ae && typeof Kr.stack == "string") { + for (var et = Kr.stack.split(` +`), St = ae.stack.split(` +`), Lt = et.length - 1, Kt = St.length - 1; Lt >= 1 && Kt >= 0 && et[Lt] !== St[Kt]; ) + Kt--; + for (; Lt >= 1 && Kt >= 0; Lt--, Kt--) + if (et[Lt] !== St[Kt]) { + if (Lt !== 1 || Kt !== 1) do - if (Ct--, Nt--, Nt < 0 || Ke[Ct] !== ut[Nt]) { - var Bt = ` -` + Ke[Ct].replace(" at new ", " at "); - return _.displayName && Bt.includes("") && (Bt = Bt.replace("", _.displayName)), typeof _ == "func\ -tion" && Qs.set(_, Bt), Bt; + if (Lt--, Kt--, Kt < 0 || et[Lt] !== St[Kt]) { + var Xt = ` +` + et[Lt].replace(" at new ", " at "); + return _.displayName && Xt.includes("") && (Xt = Xt.replace("", _.displayName)), typeof _ == "func\ +tion" && hl.set(_, Xt), Xt; } - while (Ct >= 1 && Nt >= 0); + while (Lt >= 1 && Kt >= 0); break; } } } finally { - eo = !1, eh.current = He, US(), Error.prepareStackTrace = de; + fo = !1, dh.current = qe, US(), Error.prepareStackTrace = me; } - var zt = _ ? _.displayName || _.name : "", tr = zt ? Xs(zt) : ""; - return typeof _ == "function" && Qs.set(_, tr), tr; + var tr = _ ? _.displayName || _.name : "", yr = tr ? pl(tr) : ""; + return typeof _ == "function" && hl.set(_, yr), yr; } - a(pg, "describeNativeComponentFrame"); - function th(_, H, X) { - return pg(_, !1); + a(gg, "describeNativeComponentFrame"); + function ph(_, $, J) { + return gg(_, !1); } - a(th, "describeFunctionComponentFrame"); + a(ph, "describeFunctionComponentFrame"); function qS(_) { - var H = _.prototype; - return !!(H && H.isReactComponent); + var $ = _.prototype; + return !!($ && $.isReactComponent); } a(qS, "shouldConstruct"); - function Js(_, H, X) { + function ml(_, $, J) { if (_ == null) return ""; if (typeof _ == "function") - return pg(_, qS(_)); + return gg(_, qS(_)); if (typeof _ == "string") - return Xs(_); + return pl(_); switch (_) { case v: - return Xs("Suspense"); + return pl("Suspense"); case g: - return Xs("SuspenseList"); + return pl("SuspenseList"); } if (typeof _ == "object") switch (_.$$typeof) { case h: - return th(_.render); + return ph(_.render); case b: - return Js(_.type, H, X); + return ml(_.type, $, J); case w: { - var re = _, de = re._payload, He = re._init; + var ae = _, me = ae._payload, qe = ae._init; try { - return Js(He(de), H, X); + return ml(qe(me), $, J); } catch { } } } return ""; } - a(Js, "describeUnknownElementTypeFrameInDEV"); - var hg = {}, of = ae.ReactDebugCurrentFrame; - function sf(_) { + a(ml, "describeUnknownElementTypeFrameInDEV"); + var yg = {}, bf = te.ReactDebugCurrentFrame; + function Sf(_) { if (_) { - var H = _._owner, X = Js(_.type, _._source, H ? H.type : null); - of.setExtraStackFrame(X); + var $ = _._owner, J = ml(_.type, _._source, $ ? $.type : null); + bf.setExtraStackFrame(J); } else - of.setExtraStackFrame(null); + bf.setExtraStackFrame(null); } - a(sf, "setCurrentlyValidatingElement"); - function mg(_, H, X, re, de) { + a(Sf, "setCurrentlyValidatingElement"); + function bg(_, $, J, ae, me) { { - var He = Function.call.bind(Xa); - for (var Fe in _) - if (He(_, Fe)) { - var Ke = void 0; + var qe = Function.call.bind(Se); + for (var Ie in _) + if (qe(_, Ie)) { + var et = void 0; try { - if (typeof _[Fe] != "function") { - var ut = Error((re || "React class") + ": " + X + " type `" + Fe + "` is invalid; it must be a function, usually from the `p\ -rop-types` package, but received `" + typeof _[Fe] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTyp\ + if (typeof _[Ie] != "function") { + var St = Error((ae || "React class") + ": " + J + " type `" + Ie + "` is invalid; it must be a function, usually from the `p\ +rop-types` package, but received `" + typeof _[Ie] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTyp\ es.func`."); - throw ut.name = "Invariant Violation", ut; + throw St.name = "Invariant Violation", St; } - Ke = _[Fe](H, Fe, re, X, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"); - } catch (Ct) { - Ke = Ct; + et = _[Ie]($, Ie, ae, J, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"); + } catch (Lt) { + et = Lt; } - Ke && !(Ke instanceof Error) && (sf(de), J("%s: type specification of %s `%s` is invalid; the type checker function must return \ + et && !(et instanceof Error) && (Sf(me), X("%s: type specification of %s `%s` is invalid; the type checker function must return \ `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectO\ -f, oneOf, oneOfType, and shape all require an argument).", re || "React class", X, Fe, typeof Ke), sf(null)), Ke instanceof Error && !(Ke.message in - hg) && (hg[Ke.message] = !0, sf(de), J("Failed %s type: %s", X, Ke.message), sf(null)); +f, oneOf, oneOfType, and shape all require an argument).", ae || "React class", J, Ie, typeof et), Sf(null)), et instanceof Error && !(et.message in + yg) && (yg[et.message] = !0, Sf(me), X("Failed %s type: %s", J, et.message), Sf(null)); } } } - a(mg, "checkPropTypes"); - function Zs(_) { + a(bg, "checkPropTypes"); + function vl(_) { if (_) { - var H = _._owner, X = Js(_.type, _._source, H ? H.type : null); - $(X); + var $ = _._owner, J = ml(_.type, _._source, $ ? $.type : null); + B(J); } else - $(null); - } - a(Zs, "setCurrentlyValidatingElement$1"); - var lf; - lf = !1; - function Ot() { - if (M.current) { - var _ = ve(M.current.type); + B(null); + } + a(vl, "setCurrentlyValidatingElement$1"); + var wf; + wf = !1; + function Ht() { + if (P.current) { + var _ = xr(P.current.type); if (_) return ` @@ -1150,131 +1148,131 @@ Check the render method of \`` + _ + "`."; } return ""; } - a(Ot, "getDeclarationErrorAddendum"); + a(Ht, "getDeclarationErrorAddendum"); function VS(_) { if (_ !== void 0) { - var H = _.fileName.replace(/^.*[\\\/]/, ""), X = _.lineNumber; + var $ = _.fileName.replace(/^.*[\\\/]/, ""), J = _.lineNumber; return ` -Check your code at ` + H + ":" + X + "."; +Check your code at ` + $ + ":" + J + "."; } return ""; } a(VS, "getSourceInfoErrorAddendum"); - function vg(_) { + function Sg(_) { return _ != null ? VS(_.__source) : ""; } - a(vg, "getSourceInfoErrorAddendumForProps"); - var Xe = {}; - function gg(_) { - var H = Ot(); - if (!H) { - var X = typeof _ == "string" ? _ : _.displayName || _.name; - X && (H = ` + a(Sg, "getSourceInfoErrorAddendumForProps"); + var rt = {}; + function wg(_) { + var $ = Ht(); + if (!$) { + var J = typeof _ == "string" ? _ : _.displayName || _.name; + J && ($ = ` -Check the top-level render call using <` + X + ">."); +Check the top-level render call using <` + J + ">."); } - return H; + return $; } - a(gg, "getCurrentComponentErrorInfo"); - function In(_, H) { + a(wg, "getCurrentComponentErrorInfo"); + function qn(_, $) { if (!(!_._store || _._store.validated || _.key != null)) { _._store.validated = !0; - var X = gg(H); - if (!Xe[X]) { - Xe[X] = !0; - var re = ""; - _ && _._owner && _._owner !== M.current && (re = " It was passed a child from " + ve(_._owner.type) + "."), Zs(_), J('Each child i\ -n a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', X, re), Zs(null); + var J = wg($); + if (!rt[J]) { + rt[J] = !0; + var ae = ""; + _ && _._owner && _._owner !== P.current && (ae = " It was passed a child from " + xr(_._owner.type) + "."), vl(_), X('Each child i\ +n a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', J, ae), vl(null); } } } - a(In, "validateExplicitKey"); - function el(_, H) { + a(qn, "validateExplicitKey"); + function gl(_, $) { if (typeof _ == "object") { - if (br(_)) - for (var X = 0; X < _.length; X++) { - var re = _[X]; - Qe(re) && In(re, H); + if (Er(_)) + for (var J = 0; J < _.length; J++) { + var ae = _[J]; + tt(ae) && qn(ae, $); } - else if (Qe(_)) + else if (tt(_)) _._store && (_._store.validated = !0); else if (_) { - var de = R(_); - if (typeof de == "function" && de !== _.entries) - for (var He = de.call(_), Fe; !(Fe = He.next()).done; ) - Qe(Fe.value) && In(Fe.value, H); + var me = D(_); + if (typeof me == "function" && me !== _.entries) + for (var qe = me.call(_), Ie; !(Ie = qe.next()).done; ) + tt(Ie.value) && qn(Ie.value, $); } } } - a(el, "validateChildKeys"); - function tl(_) { + a(gl, "validateChildKeys"); + function yl(_) { { - var H = _.type; - if (H == null || typeof H == "string") + var $ = _.type; + if ($ == null || typeof $ == "string") return; - var X; - if (typeof H == "function") - X = H.propTypes; - else if (typeof H == "object" && (H.$$typeof === h || // Note: Memo only checks outer props here. + var J; + if (typeof $ == "function") + J = $.propTypes; + else if (typeof $ == "object" && ($.$$typeof === h || // Note: Memo only checks outer props here. // Inner props are checked in the reconciler. - H.$$typeof === b)) - X = H.propTypes; + $.$$typeof === b)) + J = $.propTypes; else return; - if (X) { - var re = ve(H); - mg(X, _.props, "prop", re, _); - } else if (H.PropTypes !== void 0 && !lf) { - lf = !0; - var de = ve(H); - J("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", de || "Unknown"); - } - typeof H.getDefaultProps == "function" && !H.getDefaultProps.isReactClassApproved && J("getDefaultProps is only used on classic Reac\ + if (J) { + var ae = xr($); + bg(J, _.props, "prop", ae, _); + } else if ($.PropTypes !== void 0 && !wf) { + wf = !0; + var me = xr($); + X("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", me || "Unknown"); + } + typeof $.getDefaultProps == "function" && !$.getDefaultProps.isReactClassApproved && X("getDefaultProps is only used on classic Reac\ t.createClass definitions. Use a static property named `defaultProps` instead."); } } - a(tl, "validatePropTypes"); + a(yl, "validatePropTypes"); function WS(_) { { - for (var H = Object.keys(_.props), X = 0; X < H.length; X++) { - var re = H[X]; - if (re !== "children" && re !== "key") { - Zs(_), J("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", re), Zs(null); + for (var $ = Object.keys(_.props), J = 0; J < $.length; J++) { + var ae = $[J]; + if (ae !== "children" && ae !== "key") { + vl(_), X("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", ae), vl(null); break; } } - _.ref !== null && (Zs(_), J("Invalid attribute `ref` supplied to `React.Fragment`."), Zs(null)); + _.ref !== null && (vl(_), X("Invalid attribute `ref` supplied to `React.Fragment`."), vl(null)); } } a(WS, "validateFragmentProps"); - function Yr(_, H, X) { - var re = tf(_); - if (!re) { - var de = ""; - (_ === void 0 || typeof _ == "object" && _ !== null && Object.keys(_).length === 0) && (de += " You likely forgot to export your com\ + function mn(_, $, J) { + var ae = fl(_); + if (!ae) { + var me = ""; + (_ === void 0 || typeof _ == "object" && _ !== null && Object.keys(_).length === 0) && (me += " You likely forgot to export your com\ ponent from the file it's defined in, or you might have mixed up default and named imports."); - var He = vg(H); - He ? de += He : de += Ot(); - var Fe; - _ === null ? Fe = "null" : br(_) ? Fe = "array" : _ !== void 0 && _.$$typeof === t ? (Fe = "<" + (ve(_.type) || "Unknown") + " />", de = - " Did you accidentally export a JSX literal instead of a component?") : Fe = typeof _, J("React.createElement: type is invalid -- ex\ -pected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Fe, de); - } - var Ke = Zc.apply(this, arguments); - if (Ke == null) - return Ke; - if (re) - for (var ut = 2; ut < arguments.length; ut++) - el(arguments[ut], _); - return _ === o ? WS(Ke) : tl(Ke), Ke; - } - a(Yr, "createElementWithValidation"); - var Xt = !1; + var qe = Sg($); + qe ? me += qe : me += Ht(); + var Ie; + _ === null ? Ie = "null" : Er(_) ? Ie = "array" : _ !== void 0 && _.$$typeof === t ? (Ie = "<" + (xr(_.type) || "Unknown") + " />", me = + " Did you accidentally export a JSX literal instead of a component?") : Ie = typeof _, X("React.createElement: type is invalid -- ex\ +pected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Ie, me); + } + var et = ds.apply(this, arguments); + if (et == null) + return et; + if (ae) + for (var St = 2; St < arguments.length; St++) + gl(arguments[St], _); + return _ === o ? WS(et) : yl(et), et; + } + a(mn, "createElementWithValidation"); + var dr = !1; function GS(_) { - var H = Yr.bind(null, _); - return H.type = _, Xt || (Xt = !0, he("React.createFactory() is deprecated and will be removed in a future major release. Consider usi\ -ng JSX or use React.createElement() directly instead.")), Object.defineProperty(H, "type", { + var $ = mn.bind(null, _); + return $.type = _, dr || (dr = !0, he("React.createFactory() is deprecated and will be removed in a future major release. Consider usi\ +ng JSX or use React.createElement() directly instead.")), Object.defineProperty($, "type", { enumerable: !1, get: /* @__PURE__ */ a(function() { return he("Factory.type is deprecated. Access the class directly before passing it to createFactory."), Object.defineProperty(this, @@ -1282,492 +1280,492 @@ ng JSX or use React.createElement() directly instead.")), Object.defineProperty( value: _ }), _; }, "get") - }), H; + }), $; } a(GS, "createFactoryWithValidation"); - function to(_, H, X) { - for (var re = Me.apply(this, arguments), de = 2; de < arguments.length; de++) - el(arguments[de], re.type); - return tl(re), re; - } - a(to, "cloneElementWithValidation"); - function va(_, H) { - var X = O.transition; + function po(_, $, J) { + for (var ae = Be.apply(this, arguments), me = 2; me < arguments.length; me++) + gl(arguments[me], ae.type); + return yl(ae), ae; + } + a(po, "cloneElementWithValidation"); + function Oa(_, $) { + var J = O.transition; O.transition = {}; - var re = O.transition; + var ae = O.transition; O.transition._updatedFibers = /* @__PURE__ */ new Set(); try { _(); } finally { - if (O.transition = X, X === null && re._updatedFibers) { - var de = re._updatedFibers.size; - de > 10 && he("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to u\ -se React provided hooks. Otherwise concurrent mode guarantees are off the table."), re._updatedFibers.clear(); + if (O.transition = J, J === null && ae._updatedFibers) { + var me = ae._updatedFibers.size; + me > 10 && he("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to u\ +se React provided hooks. Otherwise concurrent mode guarantees are off the table."), ae._updatedFibers.clear(); } } } - a(va, "startTransition"); - var Lo = !1, uf = null; - function rh(_) { - if (uf === null) + a(Oa, "startTransition"); + var Vo = !1, Ef = null; + function hh(_) { + if (Ef === null) try { - var H = ("require" + Math.random()).slice(0, 7), X = x5 && x5[H]; - uf = X.call(x5, "timers").setImmediate; + var $ = ("require" + Math.random()).slice(0, 7), J = A5 && A5[$]; + Ef = J.call(A5, "timers").setImmediate; } catch { - uf = /* @__PURE__ */ a(function(de) { - Lo === !1 && (Lo = !0, typeof MessageChannel > "u" && J("This browser does not have a MessageChannel implementation, so enqueuin\ + Ef = /* @__PURE__ */ a(function(me) { + Vo === !1 && (Vo = !0, typeof MessageChannel > "u" && X("This browser does not have a MessageChannel implementation, so enqueuin\ g tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this war\ ning.")); - var He = new MessageChannel(); - He.port1.onmessage = de, He.port2.postMessage(void 0); + var qe = new MessageChannel(); + qe.port1.onmessage = me, qe.port2.postMessage(void 0); }, "enqueueTaskImpl"); } - return uf(_); + return Ef(_); } - a(rh, "enqueueTask"); - var Ki = 0, nh = !1; + a(hh, "enqueueTask"); + var ms = 0, mh = !1; function YS(_) { { - var H = Ki; - Ki++, F.current === null && (F.current = []); - var X = F.isBatchingLegacy, re; + var $ = ms; + ms++, I.current === null && (I.current = []); + var J = I.isBatchingLegacy, ae; try { - if (F.isBatchingLegacy = !0, re = _(), !X && F.didScheduleLegacyUpdate) { - var de = F.current; - de !== null && (F.didScheduleLegacyUpdate = !1, ff(de)); + if (I.isBatchingLegacy = !0, ae = _(), !J && I.didScheduleLegacyUpdate) { + var me = I.current; + me !== null && (I.didScheduleLegacyUpdate = !1, Cf(me)); } - } catch (zt) { - throw cf(H), zt; + } catch (tr) { + throw xf($), tr; } finally { - F.isBatchingLegacy = X; - } - if (re !== null && typeof re == "object" && typeof re.then == "function") { - var He = re, Fe = !1, Ke = { - then: /* @__PURE__ */ a(function(zt, tr) { - Fe = !0, He.then(function(Ir) { - cf(H), Ki === 0 ? ah(Ir, zt, tr) : zt(Ir); - }, function(Ir) { - cf(H), tr(Ir); + I.isBatchingLegacy = J; + } + if (ae !== null && typeof ae == "object" && typeof ae.then == "function") { + var qe = ae, Ie = !1, et = { + then: /* @__PURE__ */ a(function(tr, yr) { + Ie = !0, qe.then(function(Kr) { + xf($), ms === 0 ? vh(Kr, tr, yr) : tr(Kr); + }, function(Kr) { + xf($), yr(Kr); }); }, "then") }; - return !nh && typeof Promise < "u" && Promise.resolve().then(function() { + return !mh && typeof Promise < "u" && Promise.resolve().then(function() { }).then(function() { - Fe || (nh = !0, J("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving \ + Ie || (mh = !0, X("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving \ multiple act calls and mixing their scopes. You should - await act(async () => ...);")); - }), Ke; + }), et; } else { - var ut = re; - if (cf(H), Ki === 0) { - var Ct = F.current; - Ct !== null && (ff(Ct), F.current = null); - var Nt = { - then: /* @__PURE__ */ a(function(zt, tr) { - F.current === null ? (F.current = [], ah(ut, zt, tr)) : zt(ut); + var St = ae; + if (xf($), ms === 0) { + var Lt = I.current; + Lt !== null && (Cf(Lt), I.current = null); + var Kt = { + then: /* @__PURE__ */ a(function(tr, yr) { + I.current === null ? (I.current = [], vh(St, tr, yr)) : tr(St); }, "then") }; - return Nt; + return Kt; } else { - var Bt = { - then: /* @__PURE__ */ a(function(zt, tr) { - zt(ut); + var Xt = { + then: /* @__PURE__ */ a(function(tr, yr) { + tr(St); }, "then") }; - return Bt; + return Xt; } } } } a(YS, "act"); - function cf(_) { - _ !== Ki - 1 && J("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before makin\ -g a new one. "), Ki = _; + function xf(_) { + _ !== ms - 1 && X("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before makin\ +g a new one. "), ms = _; } - a(cf, "popActScope"); - function ah(_, H, X) { + a(xf, "popActScope"); + function vh(_, $, J) { { - var re = F.current; - if (re !== null) + var ae = I.current; + if (ae !== null) try { - ff(re), rh(function() { - re.length === 0 ? (F.current = null, H(_)) : ah(_, H, X); + Cf(ae), hh(function() { + ae.length === 0 ? (I.current = null, $(_)) : vh(_, $, J); }); - } catch (de) { - X(de); + } catch (me) { + J(me); } else - H(_); + $(_); } } - a(ah, "recursivelyFlushAsyncActWork"); - var rl = !1; - function ff(_) { - if (!rl) { - rl = !0; - var H = 0; + a(vh, "recursivelyFlushAsyncActWork"); + var bl = !1; + function Cf(_) { + if (!bl) { + bl = !0; + var $ = 0; try { - for (; H < _.length; H++) { - var X = _[H]; + for (; $ < _.length; $++) { + var J = _[$]; do - X = X(!0); - while (X !== null); + J = J(!0); + while (J !== null); } _.length = 0; - } catch (re) { - throw _ = _.slice(H + 1), re; + } catch (ae) { + throw _ = _.slice($ + 1), ae; } finally { - rl = !1; + bl = !1; } } } - a(ff, "flushActQueue"); - var df = Yr, yg = to, bg = GS, Sg = { - map: sr, - forEach: j0, - count: PS, - toArray: U0, - only: kS + a(Cf, "flushActQueue"); + var Rf = mn, Eg = po, xg = GS, Cg = { + map: er, + forEach: ul, + count: Fu, + toArray: Iu, + only: hf }; - ft.Children = Sg, ft.Component = Ye, ft.Fragment = o, ft.Profiler = l, ft.PureComponent = _t, ft.StrictMode = s, ft.Suspense = v, ft.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = - ae, ft.cloneElement = yg, ft.createContext = MS, ft.createElement = df, ft.createFactory = bg, ft.createRef = Or, ft.forwardRef = Wi, ft. - isValidElement = Qe, ft.lazy = Gs, ft.memo = V0, ft.startTransition = va, ft.unstable_act = YS, ft.useCallback = BS, ft.useContext = W0, - ft.useDebugValue = HS, ft.useDeferredValue = fg, ft.useEffect = hu, ft.useId = jS, ft.useImperativeHandle = $S, ft.useInsertionEffect = fn, - ft.useLayoutEffect = NS, ft.useMemo = cg, ft.useReducer = rf, ft.useRef = nf, ft.useState = Ys, ft.useSyncExternalStore = Yi, ft.useTransition = - zS, ft.version = e, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "\ + Et.Children = Cg, Et.Component = Ke, Et.Fragment = o, Et.Profiler = l, Et.PureComponent = Tt, Et.StrictMode = s, Et.Suspense = v, Et.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = + te, Et.cloneElement = Eg, Et.createContext = ah, Et.createElement = Rf, Et.createFactory = xg, Et.createRef = vr, Et.forwardRef = Uo, Et. + isValidElement = tt, Et.lazy = Di, Et.memo = z, Et.startTransition = Oa, Et.unstable_act = YS, Et.useCallback = nr, Et.useContext = ge, Et. + useDebugValue = Ai, Et.useDeferredValue = _a, Et.useEffect = ot, Et.useId = jS, Et.useImperativeHandle = Un, Et.useInsertionEffect = Ue, + Et.useLayoutEffect = Yr, Et.useMemo = ar, Et.useReducer = dt, Et.useRef = Ct, Et.useState = je, Et.useSyncExternalStore = hs, Et.useTransition = + gf, Et.version = e, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "\ function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error()); })(); }); // ../node_modules/react/index.js -var fe = P((XHe, NI) => { +var fe = k((Nze, LI) => { "use strict"; - NI.exports = MI(); + LI.exports = II(); }); // ../node_modules/scheduler/cjs/scheduler.development.js -var BI = P((Ht) => { +var PI = k((Jt) => { "use strict"; (function() { "use strict"; typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__. registerInternalModuleStart(new Error()); var e = !1, t = !1, r = 5; - function o(Se, Me) { - var Qe = Se.length; - Se.push(Me), c(Se, Me, Qe); + function o(ye, Be) { + var tt = ye.length; + ye.push(Be), c(ye, Be, tt); } a(o, "push"); - function s(Se) { - return Se.length === 0 ? null : Se[0]; + function s(ye) { + return ye.length === 0 ? null : ye[0]; } a(s, "peek"); - function l(Se) { - if (Se.length === 0) + function l(ye) { + if (ye.length === 0) return null; - var Me = Se[0], Qe = Se.pop(); - return Qe !== Me && (Se[0] = Qe, p(Se, Qe, 0)), Me; + var Be = ye[0], tt = ye.pop(); + return tt !== Be && (ye[0] = tt, p(ye, tt, 0)), Be; } a(l, "pop"); - function c(Se, Me, Qe) { - for (var Dt = Qe; Dt > 0; ) { - var qt = Dt - 1 >>> 1, Fn = Se[qt]; - if (h(Fn, Me) > 0) - Se[qt] = Me, Se[Dt] = Fn, Dt = qt; + function c(ye, Be, tt) { + for (var Ot = tt; Ot > 0; ) { + var Wt = Ot - 1 >>> 1, hn = ye[Wt]; + if (h(hn, Be) > 0) + ye[Wt] = Be, ye[Ot] = hn, Ot = Wt; else return; } } a(c, "siftUp"); - function p(Se, Me, Qe) { - for (var Dt = Qe, qt = Se.length, Fn = qt >>> 1; Dt < Fn; ) { - var Sr = (Dt + 1) * 2 - 1, Ja = Se[Sr], er = Sr + 1, Za = Se[er]; - if (h(Ja, Me) < 0) - er < qt && h(Za, Ja) < 0 ? (Se[Dt] = Za, Se[er] = Me, Dt = er) : (Se[Dt] = Ja, Se[Sr] = Me, Dt = Sr); - else if (er < qt && h(Za, Me) < 0) - Se[Dt] = Za, Se[er] = Me, Dt = er; + function p(ye, Be, tt) { + for (var Ot = tt, Wt = ye.length, hn = Wt >>> 1; Ot < hn; ) { + var Cr = (Ot + 1) * 2 - 1, Ta = ye[Cr], Gt = Cr + 1, sa = ye[Gt]; + if (h(Ta, Be) < 0) + Gt < Wt && h(sa, Ta) < 0 ? (ye[Ot] = sa, ye[Gt] = Be, Ot = Gt) : (ye[Ot] = Ta, ye[Cr] = Be, Ot = Cr); + else if (Gt < Wt && h(sa, Be) < 0) + ye[Ot] = sa, ye[Gt] = Be, Ot = Gt; else return; } } a(p, "siftDown"); - function h(Se, Me) { - var Qe = Se.sortIndex - Me.sortIndex; - return Qe !== 0 ? Qe : Se.id - Me.id; + function h(ye, Be) { + var tt = ye.sortIndex - Be.sortIndex; + return tt !== 0 ? tt : ye.id - Be.id; } a(h, "compare"); - var v = 1, g = 2, b = 3, w = 4, E = 5; - function D(Se, Me) { + var v = 1, g = 2, b = 3, w = 4, x = 5; + function R(ye, Be) { } - a(D, "markTaskErrored"); + a(R, "markTaskErrored"); var C = typeof performance == "object" && typeof performance.now == "function"; if (C) { - var R = performance; - Ht.unstable_now = function() { - return R.now(); + var D = performance; + Jt.unstable_now = function() { + return D.now(); }; } else { - var I = Date, O = I.now(); - Ht.unstable_now = function() { - return I.now() - O; + var F = Date, O = F.now(); + Jt.unstable_now = function() { + return F.now() - O; }; } - var F = 1073741823, M = -1, N = 250, B = 5e3, $ = 1e4, U = F, q = [], ee = [], ie = 1, le = null, ae = b, he = !1, J = !1, ue = !1, De = typeof setTimeout == - "function" ? setTimeout : null, ke = typeof clearTimeout == "function" ? clearTimeout : null, Te = typeof setImmediate < "u" ? setImmediate : - null, $e = typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 ? navigator.scheduling. + var I = 1073741823, P = -1, N = 250, H = 5e3, B = 1e4, q = I, V = [], ne = [], ce = 1, de = null, te = b, he = !1, X = !1, le = !1, xe = typeof setTimeout == + "function" ? setTimeout : null, Me = typeof clearTimeout == "function" ? clearTimeout : null, Re = typeof setImmediate < "u" ? setImmediate : + null, Ne = typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 ? navigator.scheduling. isInputPending.bind(navigator.scheduling) : null; - function Be(Se) { - for (var Me = s(ee); Me !== null; ) { - if (Me.callback === null) - l(ee); - else if (Me.startTime <= Se) - l(ee), Me.sortIndex = Me.expirationTime, o(q, Me); + function Pe(ye) { + for (var Be = s(ne); Be !== null; ) { + if (Be.callback === null) + l(ne); + else if (Be.startTime <= ye) + l(ne), Be.sortIndex = Be.expirationTime, o(V, Be); else return; - Me = s(ee); + Be = s(ne); } } - a(Be, "advanceTimers"); - function Ye(Se) { - if (ue = !1, Be(Se), !J) - if (s(q) !== null) - J = !0, Qa(pt); + a(Pe, "advanceTimers"); + function Ke(ye) { + if (le = !1, Pe(ye), !X) + if (s(V) !== null) + X = !0, oa(mt); else { - var Me = s(ee); - Me !== null && cn(Ye, Me.startTime - Se); + var Be = s(ne); + Be !== null && gr(Ke, Be.startTime - ye); } } - a(Ye, "handleTimeout"); - function pt(Se, Me) { - J = !1, ue && (ue = !1, Fa()), he = !0; - var Qe = ae; + a(Ke, "handleTimeout"); + function mt(ye, Be) { + X = !1, le && (le = !1, ia()), he = !0; + var tt = te; try { if (t) try { - return lt(Se, Me); - } catch (qt) { - if (le !== null) { - var Dt = Ht.unstable_now(); - le.isQueued = !1; + return ft(ye, Be); + } catch (Wt) { + if (de !== null) { + var Ot = Jt.unstable_now(); + de.isQueued = !1; } - throw qt; + throw Wt; } else - return lt(Se, Me); + return ft(ye, Be); } finally { - le = null, ae = Qe, he = !1; - } - } - a(pt, "flushWork"); - function lt(Se, Me) { - var Qe = Me; - for (Be(Qe), le = s(q); le !== null && !e && !(le.expirationTime > Qe && (!Se || Xa())); ) { - var Dt = le.callback; - if (typeof Dt == "function") { - le.callback = null, ae = le.priorityLevel; - var qt = le.expirationTime <= Qe, Fn = Dt(qt); - Qe = Ht.unstable_now(), typeof Fn == "function" ? le.callback = Fn : le === s(q) && l(q), Be(Qe); + de = null, te = tt, he = !1; + } + } + a(mt, "flushWork"); + function ft(ye, Be) { + var tt = Be; + for (Pe(tt), de = s(V); de !== null && !e && !(de.expirationTime > tt && (!ye || Se())); ) { + var Ot = de.callback; + if (typeof Ot == "function") { + de.callback = null, te = de.priorityLevel; + var Wt = de.expirationTime <= tt, hn = Ot(Wt); + tt = Jt.unstable_now(), typeof hn == "function" ? de.callback = hn : de === s(V) && l(V), Pe(tt); } else - l(q); - le = s(q); + l(V); + de = s(V); } - if (le !== null) + if (de !== null) return !0; - var Sr = s(ee); - return Sr !== null && cn(Ye, Sr.startTime - Qe), !1; + var Cr = s(ne); + return Cr !== null && gr(Ke, Cr.startTime - tt), !1; } - a(lt, "workLoop"); - function ht(Se, Me) { - switch (Se) { + a(ft, "workLoop"); + function yt(ye, Be) { + switch (ye) { case v: case g: case b: case w: - case E: + case x: break; default: - Se = b; + ye = b; } - var Qe = ae; - ae = Se; + var tt = te; + te = ye; try { - return Me(); + return Be(); } finally { - ae = Qe; + te = tt; } } - a(ht, "unstable_runWithPriority"); - function St(Se) { - var Me; - switch (ae) { + a(yt, "unstable_runWithPriority"); + function bt(ye) { + var Be; + switch (te) { case v: case g: case b: - Me = b; + Be = b; break; default: - Me = ae; + Be = te; break; } - var Qe = ae; - ae = Me; + var tt = te; + te = Be; try { - return Se(); + return ye(); } finally { - ae = Qe; + te = tt; } } - a(St, "unstable_next"); - function _t(Se) { - var Me = ae; + a(bt, "unstable_next"); + function Tt(ye) { + var Be = te; return function() { - var Qe = ae; - ae = Me; + var tt = te; + te = Be; try { - return Se.apply(this, arguments); + return ye.apply(this, arguments); } finally { - ae = Qe; + te = tt; } }; } - a(_t, "unstable_wrapCallback"); - function Ut(Se, Me, Qe) { - var Dt = Ht.unstable_now(), qt; - if (typeof Qe == "object" && Qe !== null) { - var Fn = Qe.delay; - typeof Fn == "number" && Fn > 0 ? qt = Dt + Fn : qt = Dt; + a(Tt, "unstable_wrapCallback"); + function kt(ye, Be, tt) { + var Ot = Jt.unstable_now(), Wt; + if (typeof tt == "object" && tt !== null) { + var hn = tt.delay; + typeof hn == "number" && hn > 0 ? Wt = Ot + hn : Wt = Ot; } else - qt = Dt; - var Sr; - switch (Se) { + Wt = Ot; + var Cr; + switch (ye) { case v: - Sr = M; + Cr = P; break; case g: - Sr = N; + Cr = N; break; - case E: - Sr = U; + case x: + Cr = q; break; case w: - Sr = $; + Cr = B; break; case b: default: - Sr = B; + Cr = H; break; } - var Ja = qt + Sr, er = { - id: ie++, - callback: Me, - priorityLevel: Se, - startTime: qt, - expirationTime: Ja, + var Ta = Wt + Cr, Gt = { + id: ce++, + callback: Be, + priorityLevel: ye, + startTime: Wt, + expirationTime: Ta, sortIndex: -1 }; - return qt > Dt ? (er.sortIndex = qt, o(ee, er), s(q) === null && er === s(ee) && (ue ? Fa() : ue = !0, cn(Ye, qt - Dt))) : (er.sortIndex = - Ja, o(q, er), !J && !he && (J = !0, Qa(pt))), er; + return Wt > Ot ? (Gt.sortIndex = Wt, o(ne, Gt), s(V) === null && Gt === s(ne) && (le ? ia() : le = !0, gr(Ke, Wt - Ot))) : (Gt.sortIndex = + Ta, o(V, Gt), !X && !he && (X = !0, oa(mt))), Gt; } - a(Ut, "unstable_scheduleCallback"); - function Or() { + a(kt, "unstable_scheduleCallback"); + function vr() { } - a(Or, "unstable_pauseExecution"); - function Wn() { - !J && !he && (J = !0, Qa(pt)); + a(vr, "unstable_pauseExecution"); + function kr() { + !X && !he && (X = !0, oa(mt)); } - a(Wn, "unstable_continueExecution"); - function br() { - return s(q); + a(kr, "unstable_continueExecution"); + function Er() { + return s(V); } - a(br, "unstable_getFirstCallbackNode"); - function _e(Se) { - Se.callback = null; + a(Er, "unstable_getFirstCallbackNode"); + function Te(ye) { + ye.callback = null; } - a(_e, "unstable_cancelCallback"); - function or() { - return ae; + a(Te, "unstable_cancelCallback"); + function cr() { + return te; } - a(or, "unstable_getCurrentPriorityLevel"); - var ir = !1, dr = null, Gn = -1, ln = r, ve = -1; - function Xa() { - var Se = Ht.unstable_now() - ve; - return !(Se < ln); + a(cr, "unstable_getCurrentPriorityLevel"); + var fr = !1, Zt = null, Mr = -1, Nr = r, xr = -1; + function Se() { + var ye = Jt.unstable_now() - xr; + return !(ye < Nr); } - a(Xa, "shouldYieldToHost"); - function ha() { + a(Se, "shouldYieldToHost"); + function zn() { } - a(ha, "requestPaint"); - function Fo(Se) { - if (Se < 0 || Se > 125) { + a(zn, "requestPaint"); + function Wa(ye) { + if (ye < 0 || ye > 125) { console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"); return; } - Se > 0 ? ln = Math.floor(1e3 / Se) : ln = r; + ye > 0 ? Nr = Math.floor(1e3 / ye) : Nr = r; } - a(Fo, "forceFrameRate"); - var Io = /* @__PURE__ */ a(function() { - if (dr !== null) { - var Se = Ht.unstable_now(); - ve = Se; - var Me = !0, Qe = !0; + a(Wa, "forceFrameRate"); + var aa = /* @__PURE__ */ a(function() { + if (Zt !== null) { + var ye = Jt.unstable_now(); + xr = ye; + var Be = !0, tt = !0; try { - Qe = dr(Me, Se); + tt = Zt(Be, ye); } finally { - Qe ? un() : (ir = !1, dr = null); + tt ? Gr() : (fr = !1, Zt = null); } } else - ir = !1; - }, "performWorkUntilDeadline"), un; - if (typeof Te == "function") - un = /* @__PURE__ */ a(function() { - Te(Io); + fr = !1; + }, "performWorkUntilDeadline"), Gr; + if (typeof Re == "function") + Gr = /* @__PURE__ */ a(function() { + Re(aa); }, "schedulePerformWorkUntilDeadline"); else if (typeof MessageChannel < "u") { - var ma = new MessageChannel(), Yn = ma.port2; - ma.port1.onmessage = Io, un = /* @__PURE__ */ a(function() { - Yn.postMessage(null); + var jn = new MessageChannel(), pn = jn.port2; + jn.port1.onmessage = aa, Gr = /* @__PURE__ */ a(function() { + pn.postMessage(null); }, "schedulePerformWorkUntilDeadline"); } else - un = /* @__PURE__ */ a(function() { - De(Io, 0); + Gr = /* @__PURE__ */ a(function() { + xe(aa, 0); }, "schedulePerformWorkUntilDeadline"); - function Qa(Se) { - dr = Se, ir || (ir = !0, un()); - } - a(Qa, "requestHostCallback"); - function cn(Se, Me) { - Gn = De(function() { - Se(Ht.unstable_now()); - }, Me); - } - a(cn, "requestHostTimeout"); - function Fa() { - ke(Gn), Gn = -1; - } - a(Fa, "cancelHostTimeout"); - var Vs = ha, Zc = null; - Ht.unstable_IdlePriority = E, Ht.unstable_ImmediatePriority = v, Ht.unstable_LowPriority = w, Ht.unstable_NormalPriority = b, Ht.unstable_Profiling = - Zc, Ht.unstable_UserBlockingPriority = g, Ht.unstable_cancelCallback = _e, Ht.unstable_continueExecution = Wn, Ht.unstable_forceFrameRate = - Fo, Ht.unstable_getCurrentPriorityLevel = or, Ht.unstable_getFirstCallbackNode = br, Ht.unstable_next = St, Ht.unstable_pauseExecution = - Or, Ht.unstable_requestPaint = Vs, Ht.unstable_runWithPriority = ht, Ht.unstable_scheduleCallback = Ut, Ht.unstable_shouldYield = Xa, Ht. - unstable_wrapCallback = _t, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == + function oa(ye) { + Zt = ye, fr || (fr = !0, Gr()); + } + a(oa, "requestHostCallback"); + function gr(ye, Be) { + Mr = xe(function() { + ye(Jt.unstable_now()); + }, Be); + } + a(gr, "requestHostTimeout"); + function ia() { + Me(Mr), Mr = -1; + } + a(ia, "cancelHostTimeout"); + var zo = zn, ds = null; + Jt.unstable_IdlePriority = x, Jt.unstable_ImmediatePriority = v, Jt.unstable_LowPriority = w, Jt.unstable_NormalPriority = b, Jt.unstable_Profiling = + ds, Jt.unstable_UserBlockingPriority = g, Jt.unstable_cancelCallback = Te, Jt.unstable_continueExecution = kr, Jt.unstable_forceFrameRate = + Wa, Jt.unstable_getCurrentPriorityLevel = cr, Jt.unstable_getFirstCallbackNode = Er, Jt.unstable_next = bt, Jt.unstable_pauseExecution = + vr, Jt.unstable_requestPaint = zo, Jt.unstable_runWithPriority = yt, Jt.unstable_scheduleCallback = kt, Jt.unstable_shouldYield = Se, Jt. + unstable_wrapCallback = Tt, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error()); })(); }); // ../node_modules/scheduler/index.js -var HI = P((ZHe, $I) => { +var MI = k(($ze, kI) => { "use strict"; - $I.exports = BI(); + kI.exports = PI(); }); // ../node_modules/react-dom/cjs/react-dom.development.js -var zI = P((Ha) => { +var NI = k((to) => { "use strict"; (function() { "use strict"; typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__. registerInternalModuleStart(new Error()); - var e = fe(), t = HI(), r = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, o = !1; + var e = fe(), t = MI(), r = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, o = !1; function s(n) { o = n; } @@ -1792,99 +1790,99 @@ var zI = P((Ha) => { { var d = r.ReactDebugCurrentFrame, m = d.getStackAddendum(); m !== "" && (i += "%s", u = u.concat([m])); - var y = u.map(function(x) { - return String(x); + var y = u.map(function(E) { + return String(E); }); y.unshift("Warning: " + i), Function.prototype.apply.call(console[n], console, y); } } a(p, "printWarning"); - var h = 0, v = 1, g = 2, b = 3, w = 4, E = 5, D = 6, C = 7, R = 8, I = 9, O = 10, F = 11, M = 12, N = 13, B = 14, $ = 15, U = 16, q = 17, - ee = 18, ie = 19, le = 21, ae = 22, he = 23, J = 24, ue = 25, De = !0, ke = !1, Te = !1, $e = !1, Be = !1, Ye = !0, pt = !1, lt = !1, ht = !0, - St = !0, _t = !0, Ut = /* @__PURE__ */ new Set(), Or = {}, Wn = {}; - function br(n, i) { - _e(n, i), _e(n + "Capture", i); - } - a(br, "registerTwoPhaseEvent"); - function _e(n, i) { - Or[n] && c("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.", n), Or[n] = i; + var h = 0, v = 1, g = 2, b = 3, w = 4, x = 5, R = 6, C = 7, D = 8, F = 9, O = 10, I = 11, P = 12, N = 13, H = 14, B = 15, q = 16, V = 17, + ne = 18, ce = 19, de = 21, te = 22, he = 23, X = 24, le = 25, xe = !0, Me = !1, Re = !1, Ne = !1, Pe = !1, Ke = !0, mt = !1, ft = !1, yt = !0, + bt = !0, Tt = !0, kt = /* @__PURE__ */ new Set(), vr = {}, kr = {}; + function Er(n, i) { + Te(n, i), Te(n + "Capture", i); + } + a(Er, "registerTwoPhaseEvent"); + function Te(n, i) { + vr[n] && c("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.", n), vr[n] = i; { var u = n.toLowerCase(); - Wn[u] = n, n === "onDoubleClick" && (Wn.ondblclick = n); + kr[u] = n, n === "onDoubleClick" && (kr.ondblclick = n); } for (var d = 0; d < i.length; d++) - Ut.add(i[d]); + kt.add(i[d]); } - a(_e, "registerDirectEvent"); - var or = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", ir = Object.prototype.hasOwnProperty; - function dr(n) { + a(Te, "registerDirectEvent"); + var cr = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", fr = Object.prototype.hasOwnProperty; + function Zt(n) { { var i = typeof Symbol == "function" && Symbol.toStringTag, u = i && n[Symbol.toStringTag] || n.constructor.name || "Object"; return u; } } - a(dr, "typeName"); - function Gn(n) { + a(Zt, "typeName"); + function Mr(n) { try { - return ln(n), !1; + return Nr(n), !1; } catch { return !0; } } - a(Gn, "willCoercionThrow"); - function ln(n) { + a(Mr, "willCoercionThrow"); + function Nr(n) { return "" + n; } - a(ln, "testStringCoercion"); - function ve(n, i) { - if (Gn(n)) + a(Nr, "testStringCoercion"); + function xr(n, i) { + if (Mr(n)) return c("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.", - i, dr(n)), ln(n); + i, Zt(n)), Nr(n); } - a(ve, "checkAttributeStringCoercion"); - function Xa(n) { - if (Gn(n)) - return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", dr(n)), ln( + a(xr, "checkAttributeStringCoercion"); + function Se(n) { + if (Mr(n)) + return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Zt(n)), Nr( n); } - a(Xa, "checkKeyStringCoercion"); - function ha(n, i) { - if (Gn(n)) + a(Se, "checkKeyStringCoercion"); + function zn(n, i) { + if (Mr(n)) return c("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.", i, - dr(n)), ln(n); + Zt(n)), Nr(n); } - a(ha, "checkPropStringCoercion"); - function Fo(n, i) { - if (Gn(n)) + a(zn, "checkPropStringCoercion"); + function Wa(n, i) { + if (Mr(n)) return c("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it he\ -re.", i, dr(n)), ln(n); +re.", i, Zt(n)), Nr(n); } - a(Fo, "checkCSSPropertyStringCoercion"); - function Io(n) { - if (Gn(n)) + a(Wa, "checkCSSPropertyStringCoercion"); + function aa(n) { + if (Mr(n)) return c("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using i\ -t here.", dr(n)), ln(n); +t here.", Zt(n)), Nr(n); } - a(Io, "checkHtmlStringCoercion"); - function un(n) { - if (Gn(n)) + a(aa, "checkHtmlStringCoercion"); + function Gr(n) { + if (Mr(n)) return c("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coer\ -ced to a string before before using it here.", dr(n)), ln(n); - } - a(un, "checkFormFieldValueStringCoercion"); - var ma = 0, Yn = 1, Qa = 2, cn = 3, Fa = 4, Vs = 5, Zc = 6, Se = ":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1\ -FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD", Me = Se + "\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\\ -u2040", Qe = new RegExp("^[" + Se + "][" + Me + "]*$"), Dt = {}, qt = {}; - function Fn(n) { - return ir.call(qt, n) ? !0 : ir.call(Dt, n) ? !1 : Qe.test(n) ? (qt[n] = !0, !0) : (Dt[n] = !0, c("Invalid attribute name: `%s`", n), !1); - } - a(Fn, "isAttributeNameSafe"); - function Sr(n, i, u) { - return i !== null ? i.type === ma : u ? !1 : n.length > 2 && (n[0] === "o" || n[0] === "O") && (n[1] === "n" || n[1] === "N"); - } - a(Sr, "shouldIgnoreAttribute"); - function Ja(n, i, u, d) { - if (u !== null && u.type === ma) +ced to a string before before using it here.", Zt(n)), Nr(n); + } + a(Gr, "checkFormFieldValueStringCoercion"); + var jn = 0, pn = 1, oa = 2, gr = 3, ia = 4, zo = 5, ds = 6, ye = ":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1\ +FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD", Be = ye + "\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\\ +u2040", tt = new RegExp("^[" + ye + "][" + Be + "]*$"), Ot = {}, Wt = {}; + function hn(n) { + return fr.call(Wt, n) ? !0 : fr.call(Ot, n) ? !1 : tt.test(n) ? (Wt[n] = !0, !0) : (Ot[n] = !0, c("Invalid attribute name: `%s`", n), !1); + } + a(hn, "isAttributeNameSafe"); + function Cr(n, i, u) { + return i !== null ? i.type === jn : u ? !1 : n.length > 2 && (n[0] === "o" || n[0] === "O") && (n[1] === "n" || n[1] === "N"); + } + a(Cr, "shouldIgnoreAttribute"); + function Ta(n, i, u, d) { + if (u !== null && u.type === jn) return !1; switch (typeof i) { case "function": @@ -1902,36 +1900,36 @@ u2040", Qe = new RegExp("^[" + Se + "][" + Me + "]*$"), Dt = {}, qt = {}; return !1; } } - a(Ja, "shouldRemoveAttributeWithWarning"); - function er(n, i, u, d) { - if (i === null || typeof i > "u" || Ja(n, i, u, d)) + a(Ta, "shouldRemoveAttributeWithWarning"); + function Gt(n, i, u, d) { + if (i === null || typeof i > "u" || Ta(n, i, u, d)) return !0; if (d) return !1; if (u !== null) switch (u.type) { - case cn: + case gr: return !i; - case Fa: + case ia: return i === !1; - case Vs: + case zo: return isNaN(i); - case Zc: + case ds: return isNaN(i) || i < 1; } return !1; } - a(er, "shouldRemoveAttribute"); - function Za(n) { - return sr.hasOwnProperty(n) ? sr[n] : null; + a(Gt, "shouldRemoveAttribute"); + function sa(n) { + return er.hasOwnProperty(n) ? er[n] : null; } - a(Za, "getPropertyInfo"); - function wr(n, i, u, d, m, y, x) { - this.acceptsBooleans = i === Qa || i === cn || i === Fa, this.attributeName = d, this.attributeNamespace = m, this.mustUseProperty = u, - this.propertyName = n, this.type = i, this.sanitizeURL = y, this.removeEmptyString = x; + a(sa, "getPropertyInfo"); + function Yt(n, i, u, d, m, y, E) { + this.acceptsBooleans = i === oa || i === gr || i === ia, this.attributeName = d, this.attributeNamespace = m, this.mustUseProperty = u, + this.propertyName = n, this.type = i, this.sanitizeURL = y, this.removeEmptyString = E; } - a(wr, "PropertyInfoRecord"); - var sr = {}, PS = [ + a(Yt, "PropertyInfoRecord"); + var er = {}, Fu = [ "children", "dangerouslySetInnerHTML", // TODO: This prevents the assignment of defaultValue to regular @@ -1944,10 +1942,10 @@ u2040", Qe = new RegExp("^[" + Se + "][" + Me + "]*$"), Dt = {}, qt = {}; "suppressHydrationWarning", "style" ]; - PS.forEach(function(n) { - sr[n] = new wr( + Fu.forEach(function(n) { + er[n] = new Yt( n, - ma, + jn, !1, // mustUseProperty n, @@ -1960,9 +1958,9 @@ u2040", Qe = new RegExp("^[" + Se + "][" + Me + "]*$"), Dt = {}, qt = {}; ); }), [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(n) { var i = n[0], u = n[1]; - sr[i] = new wr( + er[i] = new Yt( i, - Yn, + pn, !1, // mustUseProperty u, @@ -1974,9 +1972,9 @@ u2040", Qe = new RegExp("^[" + Se + "][" + Me + "]*$"), Dt = {}, qt = {}; !1 ); }), ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(n) { - sr[n] = new wr( + er[n] = new Yt( n, - Qa, + oa, !1, // mustUseProperty n.toLowerCase(), @@ -1988,9 +1986,9 @@ u2040", Qe = new RegExp("^[" + Se + "][" + Me + "]*$"), Dt = {}, qt = {}; !1 ); }), ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(n) { - sr[n] = new wr( + er[n] = new Yt( n, - Qa, + oa, !1, // mustUseProperty n, @@ -2029,9 +2027,9 @@ u2040", Qe = new RegExp("^[" + Se + "][" + Me + "]*$"), Dt = {}, qt = {}; // Microdata "itemScope" ].forEach(function(n) { - sr[n] = new wr( + er[n] = new Yt( n, - cn, + gr, !1, // mustUseProperty n.toLowerCase(), @@ -2053,9 +2051,9 @@ u2040", Qe = new RegExp("^[" + Se + "][" + Me + "]*$"), Dt = {}, qt = {}; // you'll need to set attributeName to name.toLowerCase() // instead in the assignment below. ].forEach(function(n) { - sr[n] = new wr( + er[n] = new Yt( n, - cn, + gr, !0, // mustUseProperty n, @@ -2073,9 +2071,9 @@ u2040", Qe = new RegExp("^[" + Se + "][" + Me + "]*$"), Dt = {}, qt = {}; // you'll need to set attributeName to name.toLowerCase() // instead in the assignment below. ].forEach(function(n) { - sr[n] = new wr( + er[n] = new Yt( n, - Fa, + ia, !1, // mustUseProperty n, @@ -2095,9 +2093,9 @@ u2040", Qe = new RegExp("^[" + Se + "][" + Me + "]*$"), Dt = {}, qt = {}; // you'll need to set attributeName to name.toLowerCase() // instead in the assignment below. ].forEach(function(n) { - sr[n] = new wr( + er[n] = new Yt( n, - Zc, + ds, !1, // mustUseProperty n, @@ -2109,9 +2107,9 @@ u2040", Qe = new RegExp("^[" + Se + "][" + Me + "]*$"), Dt = {}, qt = {}; !1 ); }), ["rowSpan", "start"].forEach(function(n) { - sr[n] = new wr( + er[n] = new Yt( n, - Vs, + zo, !1, // mustUseProperty n.toLowerCase(), @@ -2123,7 +2121,7 @@ u2040", Qe = new RegExp("^[" + Se + "][" + Me + "]*$"), Dt = {}, qt = {}; !1 ); }); - var j0 = /[\-\:]([a-z])/g, U0 = /* @__PURE__ */ a(function(n) { + var ul = /[\-\:]([a-z])/g, Iu = /* @__PURE__ */ a(function(n) { return n[1].toUpperCase(); }, "capitalize"); [ @@ -2204,10 +2202,10 @@ u2040", Qe = new RegExp("^[" + Se + "][" + Me + "]*$"), Dt = {}, qt = {}; // you'll need to set attributeName to name.toLowerCase() // instead in the assignment below. ].forEach(function(n) { - var i = n.replace(j0, U0); - sr[i] = new wr( + var i = n.replace(ul, Iu); + er[i] = new Yt( i, - Yn, + pn, !1, // mustUseProperty n, @@ -2228,10 +2226,10 @@ u2040", Qe = new RegExp("^[" + Se + "][" + Me + "]*$"), Dt = {}, qt = {}; // you'll need to set attributeName to name.toLowerCase() // instead in the assignment below. ].forEach(function(n) { - var i = n.replace(j0, U0); - sr[i] = new wr( + var i = n.replace(ul, Iu); + er[i] = new Yt( i, - Yn, + pn, !1, // mustUseProperty n, @@ -2248,10 +2246,10 @@ u2040", Qe = new RegExp("^[" + Se + "][" + Me + "]*$"), Dt = {}, qt = {}; // you'll need to set attributeName to name.toLowerCase() // instead in the assignment below. ].forEach(function(n) { - var i = n.replace(j0, U0); - sr[i] = new wr( + var i = n.replace(ul, Iu); + er[i] = new Yt( i, - Yn, + pn, !1, // mustUseProperty n, @@ -2261,9 +2259,9 @@ u2040", Qe = new RegExp("^[" + Se + "][" + Me + "]*$"), Dt = {}, qt = {}; !1 ); }), ["tabIndex", "crossOrigin"].forEach(function(n) { - sr[n] = new wr( + er[n] = new Yt( n, - Yn, + pn, !1, // mustUseProperty n.toLowerCase(), @@ -2275,10 +2273,10 @@ u2040", Qe = new RegExp("^[" + Se + "][" + Me + "]*$"), Dt = {}, qt = {}; !1 ); }); - var kS = "xlinkHref"; - sr[kS] = new wr( + var hf = "xlinkHref"; + er[hf] = new Yt( "xlinkHref", - Yn, + pn, !1, // mustUseProperty "xlink:href", @@ -2287,9 +2285,9 @@ u2040", Qe = new RegExp("^[" + Se + "][" + Me + "]*$"), Dt = {}, qt = {}; // sanitizeURL !1 ), ["src", "href", "action", "formAction"].forEach(function(n) { - sr[n] = new wr( + er[n] = new Yt( n, - Yn, + pn, !1, // mustUseProperty n.toLowerCase(), @@ -2301,102 +2299,102 @@ u2040", Qe = new RegExp("^[" + Se + "][" + Me + "]*$"), Dt = {}, qt = {}; !0 ); }); - var MS = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i, Ws = !1; - function ef(n) { - !Ws && MS.test(n) && (Ws = !0, c("A future version of React will block javascript: URLs as a security precaution. Use event handlers i\ + var ah = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i, jo = !1; + function ps(n) { + !jo && ah.test(n) && (jo = !0, c("A future version of React will block javascript: URLs as a security precaution. Use event handlers i\ nstead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.", JSON.stringify(n))); } - a(ef, "sanitizeURL"); - function lg(n, i, u, d) { + a(ps, "sanitizeURL"); + function mf(n, i, u, d) { if (d.mustUseProperty) { var m = d.propertyName; return n[m]; } else { - ve(u, i), d.sanitizeURL && ef("" + u); - var y = d.attributeName, x = null; - if (d.type === Fa) { + xr(u, i), d.sanitizeURL && ps("" + u); + var y = d.attributeName, E = null; + if (d.type === ia) { if (n.hasAttribute(y)) { var A = n.getAttribute(y); - return A === "" ? !0 : er(i, u, d, !1) ? A : A === "" + u ? u : A; + return A === "" ? !0 : Gt(i, u, d, !1) ? A : A === "" + u ? u : A; } } else if (n.hasAttribute(y)) { - if (er(i, u, d, !1)) + if (Gt(i, u, d, !1)) return n.getAttribute(y); - if (d.type === cn) + if (d.type === gr) return u; - x = n.getAttribute(y); + E = n.getAttribute(y); } - return er(i, u, d, !1) ? x === null ? u : x : x === "" + u ? u : x; + return Gt(i, u, d, !1) ? E === null ? u : E : E === "" + u ? u : E; } } - a(lg, "getValueForProperty"); - function ug(n, i, u, d) { + a(mf, "getValueForProperty"); + function vf(n, i, u, d) { { - if (!Fn(i)) + if (!hn(i)) return; if (!n.hasAttribute(i)) return u === void 0 ? void 0 : null; var m = n.getAttribute(i); - return ve(u, i), m === "" + u ? u : m; + return xr(u, i), m === "" + u ? u : m; } } - a(ug, "getValueForAttribute"); - function q0(n, i, u, d) { - var m = Za(i); - if (!Sr(i, m, d)) { - if (er(i, u, m, d) && (u = null), d || m === null) { - if (Fn(i)) { + a(vf, "getValueForAttribute"); + function cl(n, i, u, d) { + var m = sa(i); + if (!Cr(i, m, d)) { + if (Gt(i, u, m, d) && (u = null), d || m === null) { + if (hn(i)) { var y = i; - u === null ? n.removeAttribute(y) : (ve(u, i), n.setAttribute(y, "" + u)); + u === null ? n.removeAttribute(y) : (xr(u, i), n.setAttribute(y, "" + u)); } return; } - var x = m.mustUseProperty; - if (x) { + var E = m.mustUseProperty; + if (E) { var A = m.propertyName; if (u === null) { var T = m.type; - n[A] = T === cn ? !1 : ""; + n[A] = T === gr ? !1 : ""; } else n[A] = u; return; } - var L = m.attributeName, k = m.attributeNamespace; + var L = m.attributeName, M = m.attributeNamespace; if (u === null) n.removeAttribute(L); else { - var j = m.type, z; - j === cn || j === Fa && u === !0 ? z = "" : (ve(u, L), z = "" + u, m.sanitizeURL && ef(z.toString())), k ? n.setAttributeNS(k, L, z) : - n.setAttribute(L, z); + var U = m.type, j; + U === gr || U === ia && u === !0 ? j = "" : (xr(u, L), j = "" + u, m.sanitizeURL && ps(j.toString())), M ? n.setAttributeNS(M, L, j) : + n.setAttribute(L, j); } } } - a(q0, "setValueForProperty"); - var Gs = Symbol.for("react.element"), Wi = Symbol.for("react.portal"), Gi = Symbol.for("react.fragment"), tf = Symbol.for("react.strict_\ -mode"), V0 = Symbol.for("react.profiler"), Fr = Symbol.for("react.provider"), W0 = Symbol.for("react.context"), Ys = Symbol.for("react.forwa\ -rd_ref"), rf = Symbol.for("react.suspense"), nf = Symbol.for("react.suspense_list"), hu = Symbol.for("react.memo"), fn = Symbol.for("react.l\ -azy"), NS = Symbol.for("react.scope"), BS = Symbol.for("react.debug_trace_mode"), cg = Symbol.for("react.offscreen"), $S = Symbol.for("react\ -.legacy_hidden"), HS = Symbol.for("react.cache"), zS = Symbol.for("react.tracing_marker"), fg = Symbol.iterator, jS = "@@iterator"; - function Yi(n) { + a(cl, "setValueForProperty"); + var Di = Symbol.for("react.element"), Uo = Symbol.for("react.portal"), qo = Symbol.for("react.fragment"), fl = Symbol.for("react.strict_\ +mode"), z = Symbol.for("react.profiler"), se = Symbol.for("react.provider"), ge = Symbol.for("react.context"), je = Symbol.for("react.forwar\ +d_ref"), dt = Symbol.for("react.suspense"), Ct = Symbol.for("react.suspense_list"), ot = Symbol.for("react.memo"), Ue = Symbol.for("react.la\ +zy"), Yr = Symbol.for("react.scope"), nr = Symbol.for("react.debug_trace_mode"), ar = Symbol.for("react.offscreen"), Un = Symbol.for("react.\ +legacy_hidden"), Ai = Symbol.for("react.cache"), gf = Symbol.for("react.tracing_marker"), _a = Symbol.iterator, jS = "@@iterator"; + function hs(n) { if (n === null || typeof n != "object") return null; - var i = fg && n[fg] || n[jS]; + var i = _a && n[_a] || n[jS]; return typeof i == "function" ? i : null; } - a(Yi, "getIteratorFn"); - var et = Object.assign, Ks = 0, G0, Y0, K0, X0, Q0, J0, Z0; - function dg() { + a(hs, "getIteratorFn"); + var it = Object.assign, dl = 0, oh, ih, sh, lh, uh, ch, fh; + function vg() { } - a(dg, "disabledLog"), dg.__reactDisabledLog = !0; + a(vg, "disabledLog"), vg.__reactDisabledLog = !0; function US() { { - if (Ks === 0) { - G0 = console.log, Y0 = console.info, K0 = console.warn, X0 = console.error, Q0 = console.group, J0 = console.groupCollapsed, Z0 = console. + if (dl === 0) { + oh = console.log, ih = console.info, sh = console.warn, lh = console.error, uh = console.group, ch = console.groupCollapsed, fh = console. groupEnd; var n = { configurable: !0, enumerable: !0, - value: dg, + value: vg, writable: !0 }; Object.defineProperties(console, { @@ -2409,211 +2407,211 @@ azy"), NS = Symbol.for("react.scope"), BS = Symbol.for("react.debug_trace_mode") groupEnd: n }); } - Ks++; + dl++; } } a(US, "disableLogs"); - function eh() { + function dh() { { - if (Ks--, Ks === 0) { + if (dl--, dl === 0) { var n = { configurable: !0, enumerable: !0, writable: !0 }; Object.defineProperties(console, { - log: et({}, n, { - value: G0 + log: it({}, n, { + value: oh }), - info: et({}, n, { - value: Y0 + info: it({}, n, { + value: ih }), - warn: et({}, n, { - value: K0 + warn: it({}, n, { + value: sh }), - error: et({}, n, { - value: X0 + error: it({}, n, { + value: lh }), - group: et({}, n, { - value: Q0 + group: it({}, n, { + value: uh }), - groupCollapsed: et({}, n, { - value: J0 + groupCollapsed: it({}, n, { + value: ch }), - groupEnd: et({}, n, { - value: Z0 + groupEnd: it({}, n, { + value: fh }) }); } - Ks < 0 && c("disabledDepth fell below zero. This is a bug in React. Please file an issue."); + dl < 0 && c("disabledDepth fell below zero. This is a bug in React. Please file an issue."); } } - a(eh, "reenableLogs"); - var mu = r.ReactCurrentDispatcher, Xs; - function eo(n, i, u) { + a(dh, "reenableLogs"); + var Lu = r.ReactCurrentDispatcher, pl; + function fo(n, i, u) { { - if (Xs === void 0) + if (pl === void 0) try { throw Error(); } catch (m) { var d = m.stack.trim().match(/\n( *(at )?)/); - Xs = d && d[1] || ""; + pl = d && d[1] || ""; } return ` -` + Xs + n; +` + pl + n; } } - a(eo, "describeBuiltInComponentFrame"); - var Qs = !1, af; + a(fo, "describeBuiltInComponentFrame"); + var hl = !1, yf; { - var pg = typeof WeakMap == "function" ? WeakMap : Map; - af = new pg(); + var gg = typeof WeakMap == "function" ? WeakMap : Map; + yf = new gg(); } - function th(n, i) { - if (!n || Qs) + function ph(n, i) { + if (!n || hl) return ""; { - var u = af.get(n); + var u = yf.get(n); if (u !== void 0) return u; } var d; - Qs = !0; + hl = !0; var m = Error.prepareStackTrace; Error.prepareStackTrace = void 0; var y; - y = mu.current, mu.current = null, US(); + y = Lu.current, Lu.current = null, US(); try { if (i) { - var x = /* @__PURE__ */ a(function() { + var E = /* @__PURE__ */ a(function() { throw Error(); }, "Fake"); - if (Object.defineProperty(x.prototype, "props", { + if (Object.defineProperty(E.prototype, "props", { set: /* @__PURE__ */ a(function() { throw Error(); }, "set") }), typeof Reflect == "object" && Reflect.construct) { try { - Reflect.construct(x, []); - } catch (K) { - d = K; + Reflect.construct(E, []); + } catch (Q) { + d = Q; } - Reflect.construct(n, [], x); + Reflect.construct(n, [], E); } else { try { - x.call(); - } catch (K) { - d = K; + E.call(); + } catch (Q) { + d = Q; } - n.call(x.prototype); + n.call(E.prototype); } } else { try { throw Error(); - } catch (K) { - d = K; + } catch (Q) { + d = Q; } n(); } - } catch (K) { - if (K && d && typeof K.stack == "string") { - for (var A = K.stack.split(` + } catch (Q) { + if (Q && d && typeof Q.stack == "string") { + for (var A = Q.stack.split(` `), T = d.stack.split(` -`), L = A.length - 1, k = T.length - 1; L >= 1 && k >= 0 && A[L] !== T[k]; ) - k--; - for (; L >= 1 && k >= 0; L--, k--) - if (A[L] !== T[k]) { - if (L !== 1 || k !== 1) +`), L = A.length - 1, M = T.length - 1; L >= 1 && M >= 0 && A[L] !== T[M]; ) + M--; + for (; L >= 1 && M >= 0; L--, M--) + if (A[L] !== T[M]) { + if (L !== 1 || M !== 1) do - if (L--, k--, k < 0 || A[L] !== T[k]) { - var j = ` + if (L--, M--, M < 0 || A[L] !== T[M]) { + var U = ` ` + A[L].replace(" at new ", " at "); - return n.displayName && j.includes("") && (j = j.replace("", n.displayName)), typeof n == "functio\ -n" && af.set(n, j), j; + return n.displayName && U.includes("") && (U = U.replace("", n.displayName)), typeof n == "functio\ +n" && yf.set(n, U), U; } - while (L >= 1 && k >= 0); + while (L >= 1 && M >= 0); break; } } } finally { - Qs = !1, mu.current = y, eh(), Error.prepareStackTrace = m; + hl = !1, Lu.current = y, dh(), Error.prepareStackTrace = m; } - var z = n ? n.displayName || n.name : "", Q = z ? eo(z) : ""; - return typeof n == "function" && af.set(n, Q), Q; + var j = n ? n.displayName || n.name : "", ee = j ? fo(j) : ""; + return typeof n == "function" && yf.set(n, ee), ee; } - a(th, "describeNativeComponentFrame"); + a(ph, "describeNativeComponentFrame"); function qS(n, i, u) { - return th(n, !0); + return ph(n, !0); } a(qS, "describeClassComponentFrame"); - function Js(n, i, u) { - return th(n, !1); + function ml(n, i, u) { + return ph(n, !1); } - a(Js, "describeFunctionComponentFrame"); - function hg(n) { + a(ml, "describeFunctionComponentFrame"); + function yg(n) { var i = n.prototype; return !!(i && i.isReactComponent); } - a(hg, "shouldConstruct"); - function of(n, i, u) { + a(yg, "shouldConstruct"); + function bf(n, i, u) { if (n == null) return ""; if (typeof n == "function") - return th(n, hg(n)); + return ph(n, yg(n)); if (typeof n == "string") - return eo(n); + return fo(n); switch (n) { - case rf: - return eo("Suspense"); - case nf: - return eo("SuspenseList"); + case dt: + return fo("Suspense"); + case Ct: + return fo("SuspenseList"); } if (typeof n == "object") switch (n.$$typeof) { - case Ys: - return Js(n.render); - case hu: - return of(n.type, i, u); - case fn: { + case je: + return ml(n.render); + case ot: + return bf(n.type, i, u); + case Ue: { var d = n, m = d._payload, y = d._init; try { - return of(y(m), i, u); + return bf(y(m), i, u); } catch { } } } return ""; } - a(of, "describeUnknownElementTypeFrameInDEV"); - function sf(n) { + a(bf, "describeUnknownElementTypeFrameInDEV"); + function Sf(n) { var i = n._debugOwner ? n._debugOwner.type : null, u = n._debugSource; switch (n.tag) { - case E: - return eo(n.type); - case U: - return eo("Lazy"); + case x: + return fo(n.type); + case q: + return fo("Lazy"); case N: - return eo("Suspense"); - case ie: - return eo("SuspenseList"); + return fo("Suspense"); + case ce: + return fo("SuspenseList"); case h: case g: - case $: - return Js(n.type); - case F: - return Js(n.type.render); + case B: + return ml(n.type); + case I: + return ml(n.type.render); case v: return qS(n.type); default: return ""; } } - a(sf, "describeFiber"); - function mg(n) { + a(Sf, "describeFiber"); + function bg(n) { try { var i = "", u = n; do - i += sf(u), u = u.return; + i += Sf(u), u = u.return; while (u); return i; } catch (d) { @@ -2622,20 +2620,20 @@ Error generating stack: ` + d.message + ` ` + d.stack; } } - a(mg, "getStackByFiberInDevAndProd"); - function Zs(n, i, u) { + a(bg, "getStackByFiberInDevAndProd"); + function vl(n, i, u) { var d = n.displayName; if (d) return d; var m = i.displayName || i.name || ""; return m !== "" ? u + "(" + m + ")" : u; } - a(Zs, "getWrappedName"); - function lf(n) { + a(vl, "getWrappedName"); + function wf(n) { return n.displayName || "Context"; } - a(lf, "getContextName"); - function Ot(n) { + a(wf, "getContextName"); + function Ht(n) { if (n == null) return null; if (typeof n.tag == "number" && c("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please \ @@ -2644,36 +2642,36 @@ file an issue."), typeof n == "function") if (typeof n == "string") return n; switch (n) { - case Gi: + case qo: return "Fragment"; - case Wi: + case Uo: return "Portal"; - case V0: + case z: return "Profiler"; - case tf: + case fl: return "StrictMode"; - case rf: + case dt: return "Suspense"; - case nf: + case Ct: return "SuspenseList"; } if (typeof n == "object") switch (n.$$typeof) { - case W0: + case ge: var i = n; - return lf(i) + ".Consumer"; - case Fr: + return wf(i) + ".Consumer"; + case se: var u = n; - return lf(u._context) + ".Provider"; - case Ys: - return Zs(n, n.render, "ForwardRef"); - case hu: + return wf(u._context) + ".Provider"; + case je: + return vl(n, n.render, "ForwardRef"); + case ot: var d = n.displayName || null; - return d !== null ? d : Ot(n.type) || "Memo"; - case fn: { - var m = n, y = m._payload, x = m._init; + return d !== null ? d : Ht(n.type) || "Memo"; + case Ue: { + var m = n, y = m._payload, E = m._init; try { - return Ot(x(y)); + return Ht(E(y)); } catch { return null; } @@ -2681,63 +2679,63 @@ file an issue."), typeof n == "function") } return null; } - a(Ot, "getComponentNameFromType"); + a(Ht, "getComponentNameFromType"); function VS(n, i, u) { var d = i.displayName || i.name || ""; return n.displayName || (d !== "" ? u + "(" + d + ")" : u); } a(VS, "getWrappedName$1"); - function vg(n) { + function Sg(n) { return n.displayName || "Context"; } - a(vg, "getContextName$1"); - function Xe(n) { + a(Sg, "getContextName$1"); + function rt(n) { var i = n.tag, u = n.type; switch (i) { - case J: + case X: return "Cache"; - case I: + case F: var d = u; - return vg(d) + ".Consumer"; + return Sg(d) + ".Consumer"; case O: var m = u; - return vg(m._context) + ".Provider"; - case ee: + return Sg(m._context) + ".Provider"; + case ne: return "DehydratedFragment"; - case F: + case I: return VS(u, u.render, "ForwardRef"); case C: return "Fragment"; - case E: + case x: return u; case w: return "Portal"; case b: return "Root"; - case D: - return "Text"; - case U: - return Ot(u); case R: - return u === tf ? "StrictMode" : "Mode"; - case ae: + return "Text"; + case q: + return Ht(u); + case D: + return u === fl ? "StrictMode" : "Mode"; + case te: return "Offscreen"; - case M: + case P: return "Profiler"; - case le: + case de: return "Scope"; case N: return "Suspense"; - case ie: + case ce: return "SuspenseList"; - case ue: + case le: return "TracingMarker"; case v: case h: - case q: + case V: case g: + case H: case B: - case $: if (typeof u == "function") return u.displayName || u.name || null; if (typeof u == "string") @@ -2746,44 +2744,44 @@ file an issue."), typeof n == "function") } return null; } - a(Xe, "getComponentNameFromFiber"); - var gg = r.ReactDebugCurrentFrame, In = null, el = !1; - function tl() { + a(rt, "getComponentNameFromFiber"); + var wg = r.ReactDebugCurrentFrame, qn = null, gl = !1; + function yl() { { - if (In === null) + if (qn === null) return null; - var n = In._debugOwner; + var n = qn._debugOwner; if (n !== null && typeof n < "u") - return Xe(n); + return rt(n); } return null; } - a(tl, "getCurrentFiberOwnerNameInDevOrNull"); + a(yl, "getCurrentFiberOwnerNameInDevOrNull"); function WS() { - return In === null ? "" : mg(In); + return qn === null ? "" : bg(qn); } a(WS, "getCurrentFiberStackInDev"); - function Yr() { - gg.getCurrentStack = null, In = null, el = !1; + function mn() { + wg.getCurrentStack = null, qn = null, gl = !1; } - a(Yr, "resetCurrentFiber"); - function Xt(n) { - gg.getCurrentStack = n === null ? null : WS, In = n, el = !1; + a(mn, "resetCurrentFiber"); + function dr(n) { + wg.getCurrentStack = n === null ? null : WS, qn = n, gl = !1; } - a(Xt, "setCurrentFiber"); + a(dr, "setCurrentFiber"); function GS() { - return In; + return qn; } a(GS, "getCurrentFiber"); - function to(n) { - el = n; + function po(n) { + gl = n; } - a(to, "setIsRendering"); - function va(n) { + a(po, "setIsRendering"); + function Oa(n) { return "" + n; } - a(va, "toString"); - function Lo(n) { + a(Oa, "toString"); + function Vo(n) { switch (typeof n) { case "boolean": case "number": @@ -2791,13 +2789,13 @@ file an issue."), typeof n == "function") case "undefined": return n; case "object": - return un(n), n; + return Gr(n), n; default: return ""; } } - a(Lo, "getToStringValue"); - var uf = { + a(Vo, "getToStringValue"); + var Ef = { button: !0, checkbox: !0, image: !0, @@ -2806,35 +2804,35 @@ file an issue."), typeof n == "function") reset: !0, submit: !0 }; - function rh(n, i) { - uf[i.type] || i.onChange || i.onInput || i.readOnly || i.disabled || i.value == null || c("You provided a `value` prop to a form field\ + function hh(n, i) { + Ef[i.type] || i.onChange || i.onInput || i.readOnly || i.disabled || i.value == null || c("You provided a `value` prop to a form field\ without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either\ `onChange` or `readOnly`."), i.onChange || i.readOnly || i.disabled || i.checked == null || c("You provided a `checked` prop to a form fiel\ d without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set eit\ her `onChange` or `readOnly`."); } - a(rh, "checkControlledValueProps"); - function Ki(n) { + a(hh, "checkControlledValueProps"); + function ms(n) { var i = n.type, u = n.nodeName; return u && u.toLowerCase() === "input" && (i === "checkbox" || i === "radio"); } - a(Ki, "isCheckable"); - function nh(n) { + a(ms, "isCheckable"); + function mh(n) { return n._valueTracker; } - a(nh, "getTracker"); + a(mh, "getTracker"); function YS(n) { n._valueTracker = null; } a(YS, "detachTracker"); - function cf(n) { + function xf(n) { var i = ""; - return n && (Ki(n) ? i = n.checked ? "true" : "false" : i = n.value), i; + return n && (ms(n) ? i = n.checked ? "true" : "false" : i = n.value), i; } - a(cf, "getValueFromNode"); - function ah(n) { - var i = Ki(n) ? "checked" : "value", u = Object.getOwnPropertyDescriptor(n.constructor.prototype, i); - un(n[i]); + a(xf, "getValueFromNode"); + function vh(n) { + var i = ms(n) ? "checked" : "value", u = Object.getOwnPropertyDescriptor(n.constructor.prototype, i); + Gr(n[i]); var d = "" + n[i]; if (!(n.hasOwnProperty(i) || typeof u > "u" || typeof u.get != "function" || typeof u.set != "function")) { var m = u.get, y = u.set; @@ -2844,41 +2842,41 @@ her `onChange` or `readOnly`."); return m.call(this); }, "get"), set: /* @__PURE__ */ a(function(A) { - un(A), d = "" + A, y.call(this, A); + Gr(A), d = "" + A, y.call(this, A); }, "set") }), Object.defineProperty(n, i, { enumerable: u.enumerable }); - var x = { + var E = { getValue: /* @__PURE__ */ a(function() { return d; }, "getValue"), setValue: /* @__PURE__ */ a(function(A) { - un(A), d = "" + A; + Gr(A), d = "" + A; }, "setValue"), stopTracking: /* @__PURE__ */ a(function() { YS(n), delete n[i]; }, "stopTracking") }; - return x; + return E; } } - a(ah, "trackValueOnNode"); - function rl(n) { - nh(n) || (n._valueTracker = ah(n)); + a(vh, "trackValueOnNode"); + function bl(n) { + mh(n) || (n._valueTracker = vh(n)); } - a(rl, "track"); - function ff(n) { + a(bl, "track"); + function Cf(n) { if (!n) return !1; - var i = nh(n); + var i = mh(n); if (!i) return !0; - var u = i.getValue(), d = cf(n); + var u = i.getValue(), d = xf(n); return d !== u ? (i.setValue(d), !0) : !1; } - a(ff, "updateValueIfChanged"); - function df(n) { + a(Cf, "updateValueIfChanged"); + function Rf(n) { if (n = n || (typeof document < "u" ? document : void 0), typeof n > "u") return null; try { @@ -2887,15 +2885,15 @@ her `onChange` or `readOnly`."); return n.body; } } - a(df, "getActiveElement"); - var yg = !1, bg = !1, Sg = !1, _ = !1; - function H(n) { + a(Rf, "getActiveElement"); + var Eg = !1, xg = !1, Cg = !1, _ = !1; + function $(n) { var i = n.type === "checkbox" || n.type === "radio"; return i ? n.checked != null : n.value != null; } - a(H, "isControlled"); - function X(n, i) { - var u = n, d = i.checked, m = et({}, i, { + a($, "isControlled"); + function J(n, i) { + var u = n, d = i.checked, m = it({}, i, { defaultChecked: void 0, defaultValue: void 0, value: void 0, @@ -2903,214 +2901,214 @@ her `onChange` or `readOnly`."); }); return m; } - a(X, "getHostProps"); - function re(n, i) { - rh("input", i), i.checked !== void 0 && i.defaultChecked !== void 0 && !bg && (c("%s contains an input of type %s with both checked an\ + a(J, "getHostProps"); + function ae(n, i) { + hh("input", i), i.checked !== void 0 && i.defaultChecked !== void 0 && !xg && (c("%s contains an input of type %s with both checked an\ d defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked pro\ p, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.\ -org/link/controlled-components", tl() || "A component", i.type), bg = !0), i.value !== void 0 && i.defaultValue !== void 0 && !yg && (c("%s \ +org/link/controlled-components", yl() || "A component", i.type), xg = !0), i.value !== void 0 && i.defaultValue !== void 0 && !Eg && (c("%s \ contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify eithe\ r the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of\ - these props. More info: https://reactjs.org/link/controlled-components", tl() || "A component", i.type), yg = !0); + these props. More info: https://reactjs.org/link/controlled-components", yl() || "A component", i.type), Eg = !0); var u = n, d = i.defaultValue == null ? "" : i.defaultValue; u._wrapperState = { initialChecked: i.checked != null ? i.checked : i.defaultChecked, - initialValue: Lo(i.value != null ? i.value : d), - controlled: H(i) + initialValue: Vo(i.value != null ? i.value : d), + controlled: $(i) }; } - a(re, "initWrapperState"); - function de(n, i) { + a(ae, "initWrapperState"); + function me(n, i) { var u = n, d = i.checked; - d != null && q0(u, "checked", d, !1); + d != null && cl(u, "checked", d, !1); } - a(de, "updateChecked"); - function He(n, i) { + a(me, "updateChecked"); + function qe(n, i) { var u = n; { - var d = H(i); + var d = $(i); !u._wrapperState.controlled && d && !_ && (c("A component is changing an uncontrolled input to be controlled. This is likely caused \ by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input el\ ement for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"), _ = !0), u._wrapperState.controlled && - !d && !Sg && (c("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a d\ + !d && !Cg && (c("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a d\ efined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the compon\ -ent. More info: https://reactjs.org/link/controlled-components"), Sg = !0); +ent. More info: https://reactjs.org/link/controlled-components"), Cg = !0); } - de(n, i); - var m = Lo(i.value), y = i.type; + me(n, i); + var m = Vo(i.value), y = i.type; if (m != null) y === "number" ? (m === 0 && u.value === "" || // We explicitly want to coerce to number here if possible. // eslint-disable-next-line - u.value != m) && (u.value = va(m)) : u.value !== va(m) && (u.value = va(m)); + u.value != m) && (u.value = Oa(m)) : u.value !== Oa(m) && (u.value = Oa(m)); else if (y === "submit" || y === "reset") { u.removeAttribute("value"); return; } - i.hasOwnProperty("value") ? Ct(u, i.type, m) : i.hasOwnProperty("defaultValue") && Ct(u, i.type, Lo(i.defaultValue)), i.checked == null && + i.hasOwnProperty("value") ? Lt(u, i.type, m) : i.hasOwnProperty("defaultValue") && Lt(u, i.type, Vo(i.defaultValue)), i.checked == null && i.defaultChecked != null && (u.defaultChecked = !!i.defaultChecked); } - a(He, "updateWrapper"); - function Fe(n, i, u) { + a(qe, "updateWrapper"); + function Ie(n, i, u) { var d = n; if (i.hasOwnProperty("value") || i.hasOwnProperty("defaultValue")) { var m = i.type, y = m === "submit" || m === "reset"; if (y && (i.value === void 0 || i.value === null)) return; - var x = va(d._wrapperState.initialValue); - u || x !== d.value && (d.value = x), d.defaultValue = x; + var E = Oa(d._wrapperState.initialValue); + u || E !== d.value && (d.value = E), d.defaultValue = E; } var A = d.name; A !== "" && (d.name = ""), d.defaultChecked = !d.defaultChecked, d.defaultChecked = !!d._wrapperState.initialChecked, A !== "" && (d.name = A); } - a(Fe, "postMountWrapper"); - function Ke(n, i) { + a(Ie, "postMountWrapper"); + function et(n, i) { var u = n; - He(u, i), ut(u, i); + qe(u, i), St(u, i); } - a(Ke, "restoreControlledState"); - function ut(n, i) { + a(et, "restoreControlledState"); + function St(n, i) { var u = i.name; if (i.type === "radio" && u != null) { for (var d = n; d.parentNode; ) d = d.parentNode; - ve(u, "name"); + xr(u, "name"); for (var m = d.querySelectorAll("input[name=" + JSON.stringify("" + u) + '][type="radio"]'), y = 0; y < m.length; y++) { - var x = m[y]; - if (!(x === n || x.form !== n.form)) { - var A = sy(x); + var E = m[y]; + if (!(E === n || E.form !== n.form)) { + var A = fy(E); if (!A) throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported."); - ff(x), He(x, A); + Cf(E), qe(E, A); } } } } - a(ut, "updateNamedCousins"); - function Ct(n, i, u) { + a(St, "updateNamedCousins"); + function Lt(n, i, u) { // Focused number inputs synchronize on blur. See ChangeEventPlugin.js - (i !== "number" || df(n.ownerDocument) !== n) && (u == null ? n.defaultValue = va(n._wrapperState.initialValue) : n.defaultValue !== va( - u) && (n.defaultValue = va(u))); + (i !== "number" || Rf(n.ownerDocument) !== n) && (u == null ? n.defaultValue = Oa(n._wrapperState.initialValue) : n.defaultValue !== Oa( + u) && (n.defaultValue = Oa(u))); } - a(Ct, "setDefaultValue"); - var Nt = !1, Bt = !1, zt = !1; - function tr(n, i) { + a(Lt, "setDefaultValue"); + var Kt = !1, Xt = !1, tr = !1; + function yr(n, i) { i.value == null && (typeof i.children == "object" && i.children !== null ? e.Children.forEach(i.children, function(u) { - u != null && (typeof u == "string" || typeof u == "number" || Bt || (Bt = !0, c("Cannot infer the option value of complex children. \ + u != null && (typeof u == "string" || typeof u == "number" || Xt || (Xt = !0, c("Cannot infer the option value of complex children. \ Pass a `value` prop or use a plain string as children to