@progressiveui/react 2.2.1 → 2.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"index.umd.js","sources":["../../../node_modules/react/cjs/react-jsx-runtime.production.js","../../../node_modules/react/cjs/react-jsx-runtime.development.js","../../../node_modules/react/jsx-runtime.js","../../../node_modules/react-transition-state/dist/esm/hooks/utils.mjs","../../../node_modules/react-transition-state/dist/esm/hooks/useTransitionMap.mjs","../src/components/Accordion/hooks/useAccordionProvider.ts","../src/components/Accordion/utils/constants.ts","../src/components/Accordion/utils/bem.ts","../src/components/Accordion/utils/mergeProps.ts","../src/components/Accordion/components/AccordionProvider.tsx","../src/components/Accordion/hooks/useAccordion.ts","../src/components/Accordion/components/ControlledAccordion.tsx","../src/components/Accordion/components/Accordion.tsx","../src/globals/js/settings.tsx","../src/components/WFPCoreSettings/WFPCoreProvider.tsx","../src/hooks/useSettings.tsx","../src/hooks/useId.ts","../src/components/Accordion/hooks/useAccordionItem.ts","../src/components/Accordion/utils/useIsomorphicLayoutEffect.ts","../src/hooks/useHeightTransition.ts","../src/hooks/useMergeRef.ts","../../icons-react/es/index.js","../src/components/Accordion/hooks/useAccordionContext.ts","../src/components/Accordion/hooks/useAccordionItemEffect.ts","../src/components/Accordion/components/withAccordionItem.tsx","../../../node_modules/classnames/index.js","../src/components/Accordion/components/AccordionItem.tsx","../src/components/AuthLayout/AuthLayout.tsx","../src/components/Wrapper/Wrapper.tsx","../src/components/BannerNavigation/BannerNavigation.tsx","../src/components/FormItem/FormItem.tsx","../src/components/Input/Input.tsx","../src/components/Input/useInput.tsx","../src/components/Search/Search.tsx","../src/components/Link/Link.tsx","../src/components/BannerNavigation/BannerNavigationWithContent.tsx","../src/components/Avatar/Avatar.tsx","../src/components/Breadcrumb/Breadcrumb.tsx","../src/components/BreadcrumbItem/BreadcrumbItem.tsx","../src/components/BreadcrumbHome/BreadcrumbHome.tsx","../src/components/Button/Button.tsx","../../../node_modules/react-is/cjs/react-is.production.min.js","../../../node_modules/react-is/cjs/react-is.development.js","../../../node_modules/react-is/index.js","../../../node_modules/object-assign/index.js","../../../node_modules/prop-types/lib/ReactPropTypesSecret.js","../../../node_modules/prop-types/lib/has.js","../../../node_modules/prop-types/checkPropTypes.js","../../../node_modules/prop-types/factoryWithTypeCheckers.js","../../../node_modules/prop-types/factoryWithThrowingShims.js","../../../node_modules/prop-types/index.js","../src/prop-types/types.ts","../src/components/Empty/Empty.tsx","../src/components/Hero/Hero.tsx","../src/components/Hero/HeroExternal.tsx","../src/components/Card/Card.tsx","../src/components/Tag/Tag.tsx","../src/components/Card/CardExternal.tsx","../src/components/DatePicker/DatePickerInput.tsx","../src/components/DatePicker/DatePicker.tsx","../src/components/DatePicker/DateRangePickerInput.tsx","../src/components/DatePicker/DateRangePicker.tsx","../src/components/Checkbox/Checkbox.tsx","../src/components/Credits/Credits.tsx","../src/components/ContentSwitcher/ContentSwitcher.tsx","../../../node_modules/react-dom/cjs/react-dom.production.js","../../../node_modules/react-dom/cjs/react-dom.development.js","../../../node_modules/react-dom/index.js","../../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","../../../node_modules/@babel/runtime/helpers/esm/extends.js","../../../node_modules/react-popper/lib/esm/utils.js","../../../node_modules/@popperjs/core/lib/enums.js","../../../node_modules/@popperjs/core/lib/dom-utils/getNodeName.js","../../../node_modules/@popperjs/core/lib/dom-utils/getWindow.js","../../../node_modules/@popperjs/core/lib/dom-utils/instanceOf.js","../../../node_modules/@popperjs/core/lib/modifiers/applyStyles.js","../../../node_modules/@popperjs/core/lib/utils/getBasePlacement.js","../../../node_modules/@popperjs/core/lib/utils/math.js","../../../node_modules/@popperjs/core/lib/utils/userAgent.js","../../../node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js","../../../node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js","../../../node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js","../../../node_modules/@popperjs/core/lib/dom-utils/contains.js","../../../node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js","../../../node_modules/@popperjs/core/lib/dom-utils/isTableElement.js","../../../node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js","../../../node_modules/@popperjs/core/lib/dom-utils/getParentNode.js","../../../node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js","../../../node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js","../../../node_modules/@popperjs/core/lib/utils/within.js","../../../node_modules/@popperjs/core/lib/utils/getFreshSideObject.js","../../../node_modules/@popperjs/core/lib/utils/mergePaddingObject.js","../../../node_modules/@popperjs/core/lib/utils/expandToHashMap.js","../../../node_modules/@popperjs/core/lib/modifiers/arrow.js","../../../node_modules/@popperjs/core/lib/utils/getVariation.js","../../../node_modules/@popperjs/core/lib/modifiers/computeStyles.js","../../../node_modules/@popperjs/core/lib/modifiers/eventListeners.js","../../../node_modules/@popperjs/core/lib/utils/getOppositePlacement.js","../../../node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js","../../../node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js","../../../node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js","../../../node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js","../../../node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js","../../../node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js","../../../node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js","../../../node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js","../../../node_modules/@popperjs/core/lib/utils/rectToClientRect.js","../../../node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js","../../../node_modules/@popperjs/core/lib/utils/computeOffsets.js","../../../node_modules/@popperjs/core/lib/utils/detectOverflow.js","../../../node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js","../../../node_modules/@popperjs/core/lib/modifiers/flip.js","../../../node_modules/@popperjs/core/lib/modifiers/hide.js","../../../node_modules/@popperjs/core/lib/modifiers/offset.js","../../../node_modules/@popperjs/core/lib/modifiers/popperOffsets.js","../../../node_modules/@popperjs/core/lib/utils/getAltAxis.js","../../../node_modules/@popperjs/core/lib/modifiers/preventOverflow.js","../../../node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js","../../../node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js","../../../node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js","../../../node_modules/@popperjs/core/lib/utils/orderModifiers.js","../../../node_modules/@popperjs/core/lib/utils/debounce.js","../../../node_modules/@popperjs/core/lib/utils/mergeByName.js","../../../node_modules/@popperjs/core/lib/createPopper.js","../../../node_modules/@popperjs/core/lib/popper.js","../../../node_modules/react-fast-compare/index.js","../../../node_modules/react-popper/lib/esm/usePopper.js","../../../node_modules/react-popper-tooltip/dist/esm/react-popper-tooltip.js","../src/components/Tooltip/Tooltip.tsx","../src/components/ContextMenu/ContextMenu.tsx","../src/components/Footer/Footer.tsx","../src/components/Form/Form.tsx","../src/components/FormGroup/FormGroup.tsx","../src/components/FormHint/FormHint.tsx","../src/components/FormLabel/FormLabel.tsx","../src/components/InfoBar/InfoBar.tsx","../src/components/Loading/Loading.tsx","../src/components/InlineLoading/InlineLoading.tsx","../src/components/List/List.tsx","../src/components/List/ListItem.tsx","../src/components/MainNavigation/MainNavigationContext.ts","../src/components/MainNavigation/MobileButton.tsx","../src/components/MainNavigation/MainNavigation.tsx","../src/components/MainNavigation/useMainNavigation.tsx","../src/components/MainNavigationItem/MainNavigationItem.tsx","../src/components/SubNavigation/SubNavigation.tsx","../src/components/SubNavigation/SubNavigationItem.tsx","../src/components/SubNavigation/SubNavigationHeader.tsx","../src/components/SubNavigation/SubNavigationTitle.tsx","../src/components/SubNavigation/SubNavigationLink.tsx","../src/components/SubNavigation/SubNavigationFilter.tsx","../src/components/SubNavigation/SubNavigationContent.tsx","../src/components/SubNavigation/SubNavigationList.tsx","../src/components/SubNavigation/SubNavigationGroup.tsx","../src/components/Story/Story.tsx","../src/components/Notification/NotificationButton.tsx","../src/components/Notification/NotificationActionButton.tsx","../src/components/Notification/NotificationTextDetails.tsx","../src/components/Notification/NotificationIcon.tsx","../src/components/Notification/ToastNotification.tsx","../src/components/Notification/Callout.tsx","../src/components/Table/Table.tsx","../src/components/Table/TableSorting.tsx","../src/components/Text/Text.tsx","../src/components/MdxComponents/MdxComponentsNew.tsx","../src/components/Modal/ModalFooter.tsx","../src/components/Modal/Modal.tsx","../src/components/ModalWrapper/ModalWrapper.tsx","../src/components/Module/Module.tsx","../src/components/Module/ModuleBody.tsx","../src/components/Module/ModuleHeader.tsx","../src/components/Module/ModuleFooter.tsx","../src/components/NumberInput/NumberInput.tsx","../src/components/Select/Select.tsx","../src/components/SelectItem/SelectItem.tsx","../src/components/Pagination/Pagination.tsx","../src/tools/uniqueId.ts","../src/components/RadioButton/RadioButton.tsx","../src/components/InputGroup/InputGroup.tsx","../src/components/ReadMore/ReadMore.tsx","../src/components/SecondaryNavigation/SecondaryNavigation.tsx","../src/components/SecondaryNavigation/SecondaryNavigationTitle.tsx","../src/components/StepNavigation/StepNavigation.tsx","../src/components/StepNavigationItem/StepNavigationItem.tsx","../src/components/SelectItemGroup/SelectItemGroup.tsx","../src/components/Sidebar/Sidebar.tsx","../src/components/TextInput/TextInput.tsx","../src/components/Slider/Slider.tsx","../src/components/Item/Item.tsx","../src/components/TablePagination/TablePagination.tsx","../src/components/Tab/useTab.tsx","../src/components/Tab/Tab.tsx","../src/components/TabContent/TabContent.tsx","../src/components/Tabs/TabsContext.ts","../src/components/Tabs/Tabs.tsx","../src/components/TextArea/TextArea.tsx","../src/components/PasswordInput/PasswordInput.tsx","../src/components/Toggle/Toggle.tsx","../src/components/User/User.tsx","../src/components/Unit/scaleLookup.tsx","../src/components/Unit/InvalidUnit.tsx","../src/components/Unit/StringUnit.tsx","../src/components/Unit/SvgUnit.tsx","../src/components/Unit/currencyCalc.tsx","../src/components/Unit/percentageCalc.tsx","../src/components/Unit/SimpleCalc.tsx","../src/components/Unit/YearMonthCalc.tsx","../src/components/Unit/Unit.tsx","../src/components/Unit/UnitList.tsx","../src/components/Value/Value.tsx","../src/components/WFPCoreSettings/withWFPCoreSettings.tsx","../src/components/WFPCoreSettings/useTheme.tsx","../src/globals/data/colors.js","../src/hooks/useIsomorphicLayoutEffect.tsx","../src/hooks/useMediaQuery.tsx"],"sourcesContent":["/**\n * @license React\n * react-jsx-runtime.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\");\nfunction jsxProd(type, config, maybeKey) {\n var key = null;\n void 0 !== maybeKey && (key = \"\" + maybeKey);\n void 0 !== config.key && (key = \"\" + config.key);\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n config = maybeKey.ref;\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n ref: void 0 !== config ? config : null,\n props: maybeKey\n };\n}\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsxProd;\nexports.jsxs = jsxProd;\n","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return (type.displayName || \"Context\") + \".Provider\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function getTaskName(type) {\n if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n if (\n \"object\" === typeof type &&\n null !== type &&\n type.$$typeof === REACT_LAZY_TYPE\n )\n return \"<...>\";\n try {\n var name = getComponentNameFromType(type);\n return name ? \"<\" + name + \">\" : \"<...>\";\n } catch (x) {\n return \"<...>\";\n }\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function UnknownOwner() {\n return Error(\"react-stack-top-frame\");\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%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://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(\n type,\n key,\n self,\n source,\n owner,\n props,\n debugStack,\n debugTask\n ) {\n self = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== self ? self : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.defineProperty(type, \"_debugStack\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugStack\n });\n Object.defineProperty(type, \"_debugTask\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugTask\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n source,\n self,\n debugStack,\n debugTask\n ) {\n var children = config.children;\n if (void 0 !== children)\n if (isStaticChildren)\n if (isArrayImpl(children)) {\n for (\n isStaticChildren = 0;\n isStaticChildren < children.length;\n isStaticChildren++\n )\n validateChildKeys(children[isStaticChildren]);\n Object.freeze && Object.freeze(children);\n } else\n console.error(\n \"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.\"\n );\n else validateChildKeys(children);\n if (hasOwnProperty.call(config, \"key\")) {\n children = getComponentNameFromType(type);\n var keys = Object.keys(config).filter(function (k) {\n return \"key\" !== k;\n });\n isStaticChildren =\n 0 < keys.length\n ? \"{key: someKey, \" + keys.join(\": ..., \") + \": ...}\"\n : \"{key: someKey}\";\n didWarnAboutKeySpread[children + isStaticChildren] ||\n ((keys =\n 0 < keys.length ? \"{\" + keys.join(\": ..., \") + \": ...}\" : \"{}\"),\n console.error(\n 'A props object containing a \"key\" prop is being spread into JSX:\\n let props = %s;\\n <%s {...props} />\\nReact keys must be passed directly to JSX without using spread:\\n let props = %s;\\n <%s key={someKey} {...props} />',\n isStaticChildren,\n children,\n keys,\n children\n ),\n (didWarnAboutKeySpread[children + isStaticChildren] = !0));\n }\n children = null;\n void 0 !== maybeKey &&\n (checkKeyStringCoercion(maybeKey), (children = \"\" + maybeKey));\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (children = \"\" + config.key));\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n children &&\n defineKeyPropWarningGetter(\n maybeKey,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n return ReactElement(\n type,\n children,\n self,\n source,\n getOwner(),\n maybeKey,\n debugStack,\n debugTask\n );\n }\n function validateChildKeys(node) {\n \"object\" === typeof node &&\n null !== node &&\n node.$$typeof === REACT_ELEMENT_TYPE &&\n node._store &&\n (node._store.validated = 1);\n }\n var React = require(\"react\"),\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\");\n Symbol.for(\"react.provider\");\n var REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n hasOwnProperty = Object.prototype.hasOwnProperty,\n isArrayImpl = Array.isArray,\n createTask = console.createTask\n ? console.createTask\n : function () {\n return null;\n };\n React = {\n \"react-stack-bottom-frame\": function (callStackForError) {\n return callStackForError();\n }\n };\n var specialPropKeyWarningShown;\n var didWarnAboutElementRef = {};\n var unknownOwnerDebugStack = React[\"react-stack-bottom-frame\"].bind(\n React,\n UnknownOwner\n )();\n var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n var didWarnAboutKeySpread = {};\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.jsx = function (type, config, maybeKey, source, self) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !1,\n source,\n self,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n exports.jsxs = function (type, config, maybeKey, source, self) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !0,\n source,\n self,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n })();\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","const PRE_ENTER = 0;\nconst ENTERING = 1;\nconst ENTERED = 2;\nconst PRE_EXIT = 3;\nconst EXITING = 4;\nconst EXITED = 5;\nconst UNMOUNTED = 6;\nconst STATUS = ['preEnter', 'entering', 'entered', 'preExit', 'exiting', 'exited', 'unmounted'];\nconst getState = status => ({\n _s: status,\n status: STATUS[status],\n isEnter: status < PRE_EXIT,\n isMounted: status !== UNMOUNTED,\n isResolved: status === ENTERED || status > EXITING\n});\nconst startOrEnd = unmounted => unmounted ? UNMOUNTED : EXITED;\nconst getEndStatus = (status, unmountOnExit) => {\n switch (status) {\n case ENTERING:\n case PRE_ENTER:\n return ENTERED;\n case EXITING:\n case PRE_EXIT:\n return startOrEnd(unmountOnExit);\n }\n};\nconst getTimeout = timeout => typeof timeout === 'object' ? [timeout.enter, timeout.exit] : [timeout, timeout];\nconst nextTick = (transitState, status) => setTimeout(() => {\n // Reading document.body.offsetTop can force browser to repaint before transition to the next state\n isNaN(document.body.offsetTop) || transitState(status + 1);\n}, 0);\n\nexport { ENTERED, ENTERING, EXITED, EXITING, PRE_ENTER, PRE_EXIT, STATUS, UNMOUNTED, getEndStatus, getState, getTimeout, nextTick, startOrEnd };\n","import { useState, useRef, useCallback } from 'react';\nimport { getTimeout, getState, getEndStatus, PRE_EXIT, nextTick, PRE_ENTER, EXITING, ENTERING, ENTERED, startOrEnd } from './utils.mjs';\n\nconst updateState = (key, status, setStateMap, latestStateMap, timeoutId, onChange) => {\n clearTimeout(timeoutId);\n const state = getState(status);\n const stateMap = new Map(latestStateMap.current);\n stateMap.set(key, state);\n setStateMap(stateMap);\n latestStateMap.current = stateMap;\n onChange && onChange({\n key,\n current: state\n });\n};\nconst useTransitionMap = ({\n allowMultiple,\n enter = true,\n exit = true,\n preEnter,\n preExit,\n timeout,\n initialEntered,\n mountOnEnter,\n unmountOnExit,\n onStateChange: onChange\n} = {}) => {\n const [stateMap, setStateMap] = useState(new Map());\n const latestStateMap = useRef(stateMap);\n const configMap = useRef(new Map());\n const [enterTimeout, exitTimeout] = getTimeout(timeout);\n const setItem = useCallback((key, config) => {\n const {\n initialEntered: _initialEntered = initialEntered\n } = config || {};\n const status = _initialEntered ? ENTERED : startOrEnd(mountOnEnter);\n updateState(key, status, setStateMap, latestStateMap);\n configMap.current.set(key, {});\n }, [initialEntered, mountOnEnter]);\n const deleteItem = useCallback(key => {\n const newStateMap = new Map(latestStateMap.current);\n if (newStateMap.delete(key)) {\n setStateMap(newStateMap);\n latestStateMap.current = newStateMap;\n configMap.current.delete(key);\n return true;\n }\n return false;\n }, []);\n const endTransition = useCallback(key => {\n const stateObj = latestStateMap.current.get(key);\n if (!stateObj) {\n process.env.NODE_ENV !== 'production' && console.error(`[React-Transition-State] invalid key: ${key}`);\n return;\n }\n const {\n timeoutId\n } = configMap.current.get(key);\n const status = getEndStatus(stateObj._s, unmountOnExit);\n status && updateState(key, status, setStateMap, latestStateMap, timeoutId, onChange);\n }, [onChange, unmountOnExit]);\n const toggle = useCallback((key, toEnter) => {\n const stateObj = latestStateMap.current.get(key);\n if (!stateObj) {\n process.env.NODE_ENV !== 'production' && console.error(`[React-Transition-State] invalid key: ${key}`);\n return;\n }\n const config = configMap.current.get(key);\n const transitState = status => {\n updateState(key, status, setStateMap, latestStateMap, config.timeoutId, onChange);\n switch (status) {\n case ENTERING:\n if (enterTimeout >= 0) config.timeoutId = setTimeout(() => endTransition(key), enterTimeout);\n break;\n case EXITING:\n if (exitTimeout >= 0) config.timeoutId = setTimeout(() => endTransition(key), exitTimeout);\n break;\n case PRE_ENTER:\n case PRE_EXIT:\n config.timeoutId = nextTick(transitState, status);\n break;\n }\n };\n const enterStage = stateObj.isEnter;\n if (typeof toEnter !== 'boolean') toEnter = !enterStage;\n if (toEnter) {\n if (!enterStage) {\n transitState(enter ? preEnter ? PRE_ENTER : ENTERING : ENTERED);\n !allowMultiple && latestStateMap.current.forEach((_, _key) => _key !== key && toggle(_key, false));\n }\n } else {\n if (enterStage) {\n transitState(exit ? preExit ? PRE_EXIT : EXITING : startOrEnd(unmountOnExit));\n }\n }\n }, [onChange, endTransition, allowMultiple, enter, exit, preEnter, preExit, enterTimeout, exitTimeout, unmountOnExit]);\n const toggleAll = useCallback(toEnter => {\n if (!allowMultiple && toEnter !== false) return;\n for (const key of latestStateMap.current.keys()) toggle(key, toEnter);\n }, [allowMultiple, toggle]);\n return {\n stateMap,\n toggle,\n toggleAll,\n endTransition,\n setItem,\n deleteItem\n };\n};\n\nexport { useTransitionMap };\n","import { useTransitionMap } from 'react-transition-state';\nimport {\n TransitionProp,\n AccordionProviderOptions,\n AccordionProviderValue,\n ItemKey\n} from '../utils/constants';\n\nconst getTransition = (\n transition: TransitionProp | undefined,\n name: 'enter' | 'exit' | 'preEnter' | 'preExit'\n): boolean => transition === true || !!(transition && transition[name]);\n\nconst useAccordionProvider: (options?: AccordionProviderOptions) => AccordionProviderValue = ({\n transition,\n transitionTimeout,\n ...rest\n} = {}) => {\n const transitionMap = useTransitionMap<ItemKey>({\n timeout: transitionTimeout,\n enter: getTransition(transition, 'enter'),\n exit: getTransition(transition, 'exit'),\n preEnter: getTransition(transition, 'preEnter'),\n preExit: getTransition(transition, 'preExit'),\n ...rest\n });\n\n return {\n mountOnEnter: !!rest.mountOnEnter,\n initialEntered: !!rest.initialEntered,\n ...transitionMap\n };\n};\n\nexport { useAccordionProvider };\n","import { createContext, HTMLAttributes } from \"react\";\nimport {\n TransitionState,\n TransitionMapResult,\n TransitionMapOptions,\n TransitionOptions,\n} from \"react-transition-state\";\n\nexport const ACCORDION_BLOCK = \"szh-accordion\";\nexport const ACCORDION_PREFIX = \"szh-adn\";\nexport const ACCORDION_ATTR = `data-${ACCORDION_PREFIX}`;\nexport const ACCORDION_BTN_ATTR = `data-${ACCORDION_PREFIX}-btn`;\n\nexport type Modifiers = {\n readonly [index: string]: boolean | string;\n};\nexport type ClassNameProp<P> = string | ((props: P) => string);\nexport interface ElementProps<E extends HTMLElement, P = undefined>\n extends Omit<HTMLAttributes<E>, \"className\" | \"children\"> {\n className?: P extends undefined ? string : ClassNameProp<P>;\n \"data-testid\"?: string | number;\n}\n\nexport type ItemKey = Element | string | number;\nexport type TransitionProp =\n | boolean\n | {\n enter?: boolean;\n exit?: boolean;\n preEnter?: boolean;\n preExit?: boolean;\n };\n\nexport interface ItemState {\n readonly state: TransitionState;\n readonly toggle: (toEnter?: boolean) => void;\n disabled?: boolean;\n}\n\nexport interface ItemStateOptions {\n itemKey?: string | number;\n initialEntered?: boolean;\n disabled?: boolean;\n}\n\nexport interface AccordionProviderOptions\n extends Omit<\n TransitionMapOptions<ItemKey>,\n \"enter\" | \"exit\" | \"preEnter\" | \"preExit\" | \"timeout\"\n > {\n /**\n * The transition behavior for the accordion.\n * It can take a TransitionProp type which specifies the type of transition.\n */\n transition?: TransitionProp;\n\n /**\n * Set the timeout duration for transitions.\n * It uses the 'timeout' type from TransitionOptions to specify the duration in milliseconds.\n */\n transitionTimeout?: TransitionOptions[\"timeout\"];\n}\n\nexport interface AccordionProviderValue extends TransitionMapResult<ItemKey> {\n /**\n * Determines whether the accordion item should be mounted\n * in the DOM only when it enters. A true value means the item will only mount when\n * it is opened (entered state).\n */\n mountOnEnter: boolean;\n\n /**\n * Indicates whether the accordion item should be in the\n * entered (or opened) state initially. This can be used to display the accordion item\n * as open by default when the component is first rendered.\n */\n initialEntered: boolean;\n}\n\nexport const AccordionContext = createContext<Partial<AccordionProviderValue>>(\n {}\n);\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { ClassNameProp, Modifiers } from './constants';\n\n/**\n * Generate className following BEM methodology: http://getbem.com/naming/\n * Modifier value can be one of the types: boolean, string\n */\nconst bem =\n (block: string, element?: string, modifiers?: Modifiers) =>\n <P>(className?: ClassNameProp<P>, props?: P) => {\n const blockElement = element ? `${block}__${element}` : block;\n\n let classString = blockElement;\n modifiers &&\n Object.keys(modifiers).forEach((name) => {\n const value = modifiers[name];\n if (value)\n classString += ` ${blockElement}--${\n value === true ? name : `${name}-${value}`\n }`;\n });\n\n let expandedClassName =\n typeof className === 'function' ? className(props!) : className;\n if (typeof expandedClassName === 'string') {\n expandedClassName = expandedClassName.trim();\n if (expandedClassName) classString += ` ${expandedClassName}`;\n }\n\n return classString;\n };\n\nexport { bem };\n","/* eslint-disable */\n// @ts-nocheck\n\nconst mergeProps = (target, source) => {\n if (!source) return target;\n\n const result = { ...target };\n Object.keys(source).forEach((key) => {\n const targetProp = target[key];\n const sourceProp = source[key];\n if (typeof sourceProp === 'function' && targetProp) {\n result[key] = (...e) => {\n targetProp(...e);\n sourceProp(...e);\n };\n } else {\n result[key] = sourceProp;\n }\n });\n\n return result;\n};\n\nexport { mergeProps };\n","import * as React from \"react\";\nimport { AccordionContext, AccordionProviderValue } from \"../utils/constants\";\n\nconst AccordionProvider = (props: {\n value: AccordionProviderValue;\n children?: React.ReactNode;\n}) => <AccordionContext.Provider {...props} />;\n\nexport { AccordionProvider };\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { HTMLAttributes, KeyboardEvent } from \"react\";\nimport { ACCORDION_ATTR, ACCORDION_BTN_ATTR } from \"../utils/constants\";\n\nconst getAccordion = (node: Element) => {\n do {\n node = node.parentElement!;\n } while (node && !node.hasAttribute(ACCORDION_ATTR));\n return node;\n};\n\nconst getNextIndex = (moveUp: boolean, current: number, length: number) =>\n moveUp ? (current > 0 ? current - 1 : length - 1) : (current + 1) % length;\n\nconst moveFocus = (moveUp: boolean, e: KeyboardEvent<Element>) => {\n const { activeElement } = document;\n if (\n !activeElement ||\n !activeElement.hasAttribute(ACCORDION_BTN_ATTR) ||\n getAccordion(activeElement) !== e.currentTarget\n )\n return;\n\n const nodes = e.currentTarget.querySelectorAll<HTMLElement>(\n `[${ACCORDION_BTN_ATTR}]`,\n );\n const { length } = nodes;\n for (let i = 0; i < length; i++) {\n if (nodes[i] === activeElement) {\n let next = getNextIndex(moveUp, i, length);\n while (getAccordion(nodes[i]) !== getAccordion(nodes[next]))\n next = getNextIndex(moveUp, next, length);\n if (i !== next) {\n e.preventDefault();\n nodes[next].focus();\n }\n break;\n }\n }\n};\n\n// Extend HTMLAttributes to allow our custom data attribute\ninterface AccordionHTMLAttributes<T> extends HTMLAttributes<T> {\n \"data-accordion\"?: string;\n}\n\nconst useAccordion = () => {\n const accordionProps: AccordionHTMLAttributes<Element> = {\n \"data-accordion\": \"\",\n onKeyDown: (e: KeyboardEvent<Element>) =>\n e.key === \"ArrowUp\"\n ? moveFocus(true, e)\n : e.key === \"ArrowDown\" && moveFocus(false, e),\n };\n return {\n accordionProps,\n };\n};\n\nexport { useAccordion };\n","import * as React from \"react\";\nimport {\n ACCORDION_BLOCK,\n AccordionProviderValue,\n ElementProps,\n} from \"../utils/constants\";\nimport { bem } from \"../utils/bem\";\nimport { mergeProps } from \"../utils/mergeProps\";\nimport { AccordionProvider } from \"./AccordionProvider\";\nimport { useAccordion } from \"../hooks/useAccordion\";\n\ninterface ControlledAccordionProps extends ElementProps<HTMLDivElement> {\n providerValue: AccordionProviderValue;\n children?: React.ReactNode;\n}\n\nconst ControlledAccordion = React.forwardRef<\n HTMLDivElement,\n ControlledAccordionProps\n>(({ providerValue, className, ...rest }, ref) => {\n const { accordionProps } = useAccordion();\n return (\n <AccordionProvider value={providerValue}>\n <div\n {...mergeProps(accordionProps, rest)}\n ref={ref}\n className={bem(ACCORDION_BLOCK)(className)}\n />\n </AccordionProvider>\n );\n});\n\nControlledAccordion.displayName = \"ControlledAccordion\";\n\nexport { ControlledAccordion, ControlledAccordionProps };\n","import * as React from \"react\";\nimport { AccordionProviderOptions } from \"../utils/constants\";\nimport { useAccordionProvider } from \"../hooks/useAccordionProvider\";\nimport {\n ControlledAccordion,\n ControlledAccordionProps,\n} from \"./ControlledAccordion\";\n\ninterface AccordionProps\n extends AccordionProviderOptions,\n Omit<ControlledAccordionProps, \"providerValue\"> {}\n\nconst Accordion = React.forwardRef<HTMLDivElement, AccordionProps>(\n (\n {\n allowMultiple,\n initialEntered,\n mountOnEnter,\n unmountOnExit,\n transition,\n transitionTimeout,\n onStateChange,\n ...rest\n },\n ref\n ) => {\n const providerValue = useAccordionProvider({\n allowMultiple,\n initialEntered,\n mountOnEnter,\n unmountOnExit,\n transition,\n transitionTimeout,\n onStateChange,\n });\n return (\n <ControlledAccordion {...rest} ref={ref} providerValue={providerValue} />\n );\n }\n);\n\nAccordion.displayName = \"Accordion\";\n\nexport { Accordion, AccordionProps };\n","/**\n * Settings.\n * @exports CarbonComponents.settings\n * @type Object\n * @property {boolean} [disableAutoInit]\n * Disables automatic instantiation of components.\n * By default (`CarbonComponents.disableAutoInit` is `false`),\n * carbon-components attempts to instantiate components automatically\n * by searching for elements with `data-component-name` (e.g. `data-loading`) attribute\n * or upon DOM events (e.g. clicking) on such elements.\n * See each components' static `.init()` methods for details.\n * @property {string} [prefix=bx]\n * Brand prefix. Should be in sync with `$prefix` Sass variable in carbon-components/src/globals/scss/_vars.scss.\n * // @todo given that the default value is so long, is it appropriate to put in the JSDoc?\n * @property {string} [selectorTabbable]\n * A selector selecting tabbable/focusable nodes.\n * By default selectorTabbable references links, areas, inputs, buttons, selects, textareas,\n * iframes, objects, embeds, or elements explicitly using tabindex or contenteditable attributes\n * as long as the element is not `disabled` or the `tabindex=\"-1\"`.\n * @property {string} [selectorFocusable]\n * CSS selector that selects major nodes that are click focusable\n * This property is identical to selectorTabbable with the exception of\n * the `:not([tabindex='-1'])` pseudo class\n */\nconst settings = {\n prefix: \"wfp\",\n initialized: false,\n selectorTabbable: `\n a[href], area[href], input:not([disabled]):not([tabindex='-1']),\n button:not([disabled]):not([tabindex='-1']),select:not([disabled]):not([tabindex='-1']),\n textarea:not([disabled]):not([tabindex='-1']),\n iframe, object, embed, *[tabindex]:not([tabindex='-1']), *[contenteditable=true]\n `,\n selectorFocusable: `\n a[href], area[href], input:not([disabled]),\n button:not([disabled]),select:not([disabled]),\n textarea:not([disabled]),\n iframe, object, embed, *[tabindex], *[contenteditable=true]\n `,\n theme: `light`,\n actualTheme: `light`,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars, @typescript-eslint/no-empty-function\n setTheme: (theme: string) => {\n console.warn(\"setTheme not initialized\");\n },\n};\n\nexport default settings;\n//module.exports = settings;\n","import React, {\n useState,\n createContext,\n PropsWithChildren,\n useEffect,\n} from \"react\";\n//import propTypes from 'prop-types';\nimport { defaultWFPContext } from \"./defaults\";\n\nexport interface AppContextInterface {\n prefix: string;\n selectorTabbable: string;\n selectorFocusable: string;\n theme: string;\n actualTheme: string;\n initialized: boolean;\n // eslint-disable-next-line @typescript-eslint/ban-types\n setTheme: (theme: string) => void;\n wrapperElement?: HTMLElement;\n}\n\nexport const WFPCoreContext =\n createContext<AppContextInterface>(defaultWFPContext);\n\n/** The WFP Core props are basic properties for the provider */\ntype WFPCoreProps = PropsWithChildren<{\n children?: React.ReactNode;\n initialTheme?: string;\n prefix?: string;\n wrapperElement?: HTMLElement;\n}>;\n\n// Detecting the default theme\nconst isBrowserDefaultDark = () =>\n typeof window !== \"undefined\"\n ? window.matchMedia(\"(prefers-color-scheme: dark)\").matches\n : false;\n\nexport const WFPCoreProvider: React.FC<WFPCoreProps> = ({\n children,\n wrapperElement /* = document?.body*/,\n prefix = \"wfp\",\n initialTheme = \"light\",\n ...props\n}) => {\n const setElementTheme = (theme: string) => {\n const prefixClass = `${prefix}--theme--`;\n\n if (theme === \"auto\") {\n isBrowserDefaultDark() ? \"dark\" : \"light\";\n }\n\n const newTheme =\n theme === \"auto\" && isBrowserDefaultDark()\n ? \"dark\"\n : theme === \"auto\"\n ? \"light\"\n : theme;\n\n if (wrapperElement) {\n const classes = wrapperElement.className\n .split(\" \")\n .filter((c) => !c.startsWith(prefixClass));\n\n wrapperElement.className = classes.join(\" \").trim();\n wrapperElement.classList.add(`${prefix}--theme--${newTheme}`);\n }\n return newTheme;\n };\n\n const getActualTheme = () => {\n const defaultTheme = getDefaultTheme();\n if (defaultTheme === \"auto\")\n return isBrowserDefaultDark() ? \"dark\" : \"light\";\n\n return defaultTheme;\n };\n\n const getDefaultTheme = (): string => {\n const localStorageTheme =\n typeof window !== \"undefined\"\n ? window.localStorage.getItem(\"theme\")\n : false;\n const defaultTheme = localStorageTheme || initialTheme;\n setElementTheme(defaultTheme);\n return defaultTheme;\n };\n\n const [themeState, setThemeState] = useState(getDefaultTheme());\n const [actualThemeState, setActualThemeState] = useState(getActualTheme());\n\n useEffect(() => {\n const darkThemeMq = window.matchMedia(\"(prefers-color-scheme: dark)\");\n darkThemeMq.addListener(mqListener);\n return () => darkThemeMq.removeListener(mqListener);\n }, []);\n\n const mqListener = () => {\n if (themeState === \"auto\") {\n const newTheme = setElementTheme(\"auto\");\n setActualThemeState(newTheme);\n }\n };\n\n const setTheme = (theme: string) => {\n const newTheme = setElementTheme(theme);\n setActualThemeState(newTheme);\n if (typeof window !== \"undefined\")\n window.localStorage.setItem(\"theme\", theme);\n setThemeState(theme);\n };\n\n const ctx = {\n ...defaultWFPContext,\n ...props,\n prefix,\n theme: themeState,\n actualTheme: actualThemeState,\n initialized: true,\n setTheme,\n };\n return (\n <WFPCoreContext.Provider value={ctx}>{children}</WFPCoreContext.Provider>\n );\n};\n","import { useContext } from \"react\";\n\nimport { defaultWFPContext } from \"../components/WFPCoreSettings/defaults\";\nimport {\n AppContextInterface,\n WFPCoreContext,\n} from \"../components/WFPCoreSettings/WFPCoreProvider\";\n\nexport default function useSettings(): AppContextInterface {\n const settings = useContext(WFPCoreContext);\n /* if (settings?.initialized === false) {\n console.warn(\"useSettings: WFPCoreContext not initialized\");\n } */\n\n if (settings === undefined) {\n return defaultWFPContext;\n }\n\n return settings;\n}\n","import { useState, useEffect, useId } from \"react\";\nimport { ACCORDION_PREFIX } from \"../components/Accordion/utils/constants\";\n\nlet current = 0;\n\nconst useIdShim = () => {\n const [id, setId] = useState<number>();\n useEffect(() => setId(++current), []);\n return (id && `${ACCORDION_PREFIX}-${id}`) as string | undefined;\n};\n\nconst _useId = useId || useIdShim;\n\nexport { _useId as useId };\n","import { MouseEventHandler, HTMLAttributes, ButtonHTMLAttributes } from \"react\";\nimport { ACCORDION_BTN_ATTR, ItemState } from \"../utils/constants\";\nimport { useId } from \"../../../hooks/useId\";\n\nconst useAccordionItem = ({ state, toggle, disabled }: ItemState) => {\n const buttonId = useId();\n const panelId = buttonId && buttonId + \"-\";\n\n const buttonProps: ButtonHTMLAttributes<Element> = {\n id: buttonId,\n \"aria-controls\": panelId,\n \"aria-expanded\": state.isEnter,\n onClick: toggle as unknown as MouseEventHandler<Element>,\n };\n disabled\n ? (buttonProps.disabled = true)\n : ((buttonProps as { [x: string]: string })[ACCORDION_BTN_ATTR] = \"\");\n\n const panelProps: HTMLAttributes<Element> = {\n id: panelId,\n \"aria-labelledby\": buttonId,\n role: \"region\",\n };\n\n return {\n buttonProps,\n panelProps,\n };\n};\n\nexport { useAccordionItem };\n","import { useEffect, useLayoutEffect } from 'react';\n\n// Get around a warning when using useLayoutEffect on the server.\n// https://github.com/reduxjs/react-redux/blob/b48d087d76f666e1c6c5a9713bbec112a1631841/src/utils/useIsomorphicLayoutEffect.js#L12\n// https://gist.github.com/gaearon/e7d97cdf38a2907924ea12e4ebdf3c85\n// https://github.com/facebook/react/issues/14927#issuecomment-549457471\n\nconst useIsomorphicLayoutEffect =\n typeof window !== 'undefined' &&\n typeof window.document !== 'undefined' &&\n typeof window.document.createElement !== 'undefined'\n ? useLayoutEffect\n : useEffect;\n\nexport { useIsomorphicLayoutEffect as useLayoutEffect };\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n\nimport { CSSProperties, useState, useRef } from \"react\";\nimport { TransitionState } from \"react-transition-state\";\nimport { useLayoutEffect } from \"../components/Accordion/utils/useIsomorphicLayoutEffect\";\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nconst useHeightTransition = <E extends Element>({\n status,\n isResolved,\n}: TransitionState) => {\n const [height, setHeight] = useState<number>();\n const elementRef = useRef<HTMLInputElement>(null);\n\n useLayoutEffect(() => {\n (status === \"preEnter\" || status === \"preExit\") &&\n setHeight(elementRef.current!.getBoundingClientRect().height);\n }, [status]);\n\n const style: CSSProperties = {\n height:\n status === \"preEnter\" || status === \"exiting\"\n ? 0\n : status === \"entering\" || status === \"preExit\"\n ? height\n : undefined,\n overflow: isResolved ? undefined : \"hidden\",\n };\n\n return [style, elementRef] as const;\n};\n\nexport { useHeightTransition };\n","import { useMemo, RefCallback, MutableRefObject } from 'react';\n\n// Adapted from material-ui\n// https://github.com/mui-org/material-ui/blob/f996027d00e7e4bff3fc040786c1706f9c6c3f82/packages/material-ui-utils/src/useForkRef.ts\n\ntype Ref<T> = RefCallback<T> | MutableRefObject<T | null>;\n\nfunction setRef<T>(ref: Ref<T>, instance: T) {\n typeof ref === 'function' ? ref(instance) : (ref.current = instance);\n}\n\nfunction useMergeRef<T>(refA?: Ref<T> | null, refB?: Ref<T> | null) {\n return useMemo(() => {\n if (!refA) return refB;\n if (!refB) return refA;\n\n return (instance: T | null) => {\n setRef(refA, instance);\n setRef(refB, instance);\n };\n }, [refA, refB]);\n}\n\nexport { useMergeRef };\n","function _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}\n\nvar react = {exports: {}};\n\nvar react_production = {};\n\n/**\n * @license React\n * react.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar hasRequiredReact_production;\n\nfunction requireReact_production () {\n\tif (hasRequiredReact_production) return react_production;\n\thasRequiredReact_production = 1;\n\n\tvar REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n\t REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n\t REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n\t REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n\t REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n\t REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n\t REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n\t REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n\t REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n\t REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n\t REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n\t MAYBE_ITERATOR_SYMBOL = Symbol.iterator;\n\tfunction getIteratorFn(maybeIterable) {\n\t if (null === maybeIterable || \"object\" !== typeof maybeIterable) return null;\n\t maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[\"@@iterator\"];\n\t return \"function\" === typeof maybeIterable ? maybeIterable : null;\n\t}\n\tvar ReactNoopUpdateQueue = {\n\t isMounted: function () {\n\t return !1;\n\t },\n\t enqueueForceUpdate: function () {},\n\t enqueueReplaceState: function () {},\n\t enqueueSetState: function () {}\n\t },\n\t assign = Object.assign,\n\t emptyObject = {};\n\tfunction Component(props, context, updater) {\n\t this.props = props;\n\t this.context = context;\n\t this.refs = emptyObject;\n\t this.updater = updater || ReactNoopUpdateQueue;\n\t}\n\tComponent.prototype.isReactComponent = {};\n\tComponent.prototype.setState = function (partialState, callback) {\n\t if (\"object\" !== typeof partialState && \"function\" !== typeof partialState && null != partialState) throw Error(\"takes an object of state variables to update or a function which returns an object of state variables.\");\n\t this.updater.enqueueSetState(this, partialState, callback, \"setState\");\n\t};\n\tComponent.prototype.forceUpdate = function (callback) {\n\t this.updater.enqueueForceUpdate(this, callback, \"forceUpdate\");\n\t};\n\tfunction ComponentDummy() {}\n\tComponentDummy.prototype = Component.prototype;\n\tfunction PureComponent(props, context, updater) {\n\t this.props = props;\n\t this.context = context;\n\t this.refs = emptyObject;\n\t this.updater = updater || ReactNoopUpdateQueue;\n\t}\n\tvar pureComponentPrototype = PureComponent.prototype = new ComponentDummy();\n\tpureComponentPrototype.constructor = PureComponent;\n\tassign(pureComponentPrototype, Component.prototype);\n\tpureComponentPrototype.isPureReactComponent = !0;\n\tvar isArrayImpl = Array.isArray,\n\t ReactSharedInternals = {\n\t H: null,\n\t A: null,\n\t T: null,\n\t S: null,\n\t V: null\n\t },\n\t hasOwnProperty = Object.prototype.hasOwnProperty;\n\tfunction ReactElement(type, key, self, source, owner, props) {\n\t self = props.ref;\n\t return {\n\t $$typeof: REACT_ELEMENT_TYPE,\n\t type: type,\n\t key: key,\n\t ref: void 0 !== self ? self : null,\n\t props: props\n\t };\n\t}\n\tfunction cloneAndReplaceKey(oldElement, newKey) {\n\t return ReactElement(oldElement.type, newKey, void 0, void 0, void 0, oldElement.props);\n\t}\n\tfunction isValidElement(object) {\n\t return \"object\" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;\n\t}\n\tfunction escape(key) {\n\t var escaperLookup = {\n\t \"=\": \"=0\",\n\t \":\": \"=2\"\n\t };\n\t return \"$\" + key.replace(/[=:]/g, function (match) {\n\t return escaperLookup[match];\n\t });\n\t}\n\tvar userProvidedKeyEscapeRegex = /\\/+/g;\n\tfunction getElementKey(element, index) {\n\t return \"object\" === typeof element && null !== element && null != element.key ? escape(\"\" + element.key) : index.toString(36);\n\t}\n\tfunction noop$1() {}\n\tfunction resolveThenable(thenable) {\n\t switch (thenable.status) {\n\t case \"fulfilled\":\n\t return thenable.value;\n\t case \"rejected\":\n\t throw thenable.reason;\n\t default:\n\t switch (\"string\" === typeof thenable.status ? thenable.then(noop$1, noop$1) : (thenable.status = \"pending\", thenable.then(function (fulfilledValue) {\n\t \"pending\" === thenable.status && (thenable.status = \"fulfilled\", thenable.value = fulfilledValue);\n\t }, function (error) {\n\t \"pending\" === thenable.status && (thenable.status = \"rejected\", thenable.reason = error);\n\t })), thenable.status) {\n\t case \"fulfilled\":\n\t return thenable.value;\n\t case \"rejected\":\n\t throw thenable.reason;\n\t }\n\t }\n\t throw thenable;\n\t}\n\tfunction mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {\n\t var type = typeof children;\n\t if (\"undefined\" === type || \"boolean\" === type) children = null;\n\t var invokeCallback = !1;\n\t if (null === children) invokeCallback = !0;else switch (type) {\n\t case \"bigint\":\n\t case \"string\":\n\t case \"number\":\n\t invokeCallback = !0;\n\t break;\n\t case \"object\":\n\t switch (children.$$typeof) {\n\t case REACT_ELEMENT_TYPE:\n\t case REACT_PORTAL_TYPE:\n\t invokeCallback = !0;\n\t break;\n\t case REACT_LAZY_TYPE:\n\t return invokeCallback = children._init, mapIntoArray(invokeCallback(children._payload), array, escapedPrefix, nameSoFar, callback);\n\t }\n\t }\n\t if (invokeCallback) return callback = callback(children), invokeCallback = \"\" === nameSoFar ? \".\" + getElementKey(children, 0) : nameSoFar, isArrayImpl(callback) ? (escapedPrefix = \"\", null != invokeCallback && (escapedPrefix = invokeCallback.replace(userProvidedKeyEscapeRegex, \"$&/\") + \"/\"), mapIntoArray(callback, array, escapedPrefix, \"\", function (c) {\n\t return c;\n\t })) : null != callback && (isValidElement(callback) && (callback = cloneAndReplaceKey(callback, escapedPrefix + (null == callback.key || children && children.key === callback.key ? \"\" : (\"\" + callback.key).replace(userProvidedKeyEscapeRegex, \"$&/\") + \"/\") + invokeCallback)), array.push(callback)), 1;\n\t invokeCallback = 0;\n\t var nextNamePrefix = \"\" === nameSoFar ? \".\" : nameSoFar + \":\";\n\t if (isArrayImpl(children)) for (var i = 0; i < children.length; i++) nameSoFar = children[i], type = nextNamePrefix + getElementKey(nameSoFar, i), invokeCallback += mapIntoArray(nameSoFar, array, escapedPrefix, type, callback);else if (i = getIteratorFn(children), \"function\" === typeof i) for (children = i.call(children), i = 0; !(nameSoFar = children.next()).done;) nameSoFar = nameSoFar.value, type = nextNamePrefix + getElementKey(nameSoFar, i++), invokeCallback += mapIntoArray(nameSoFar, array, escapedPrefix, type, callback);else if (\"object\" === type) {\n\t if (\"function\" === typeof children.then) return mapIntoArray(resolveThenable(children), array, escapedPrefix, nameSoFar, callback);\n\t array = String(children);\n\t throw Error(\"Objects are not valid as a React child (found: \" + (\"[object Object]\" === array ? \"object with keys {\" + Object.keys(children).join(\", \") + \"}\" : array) + \"). If you meant to render a collection of children, use an array instead.\");\n\t }\n\t return invokeCallback;\n\t}\n\tfunction mapChildren(children, func, context) {\n\t if (null == children) return children;\n\t var result = [],\n\t count = 0;\n\t mapIntoArray(children, result, \"\", \"\", function (child) {\n\t return func.call(context, child, count++);\n\t });\n\t return result;\n\t}\n\tfunction lazyInitializer(payload) {\n\t if (-1 === payload._status) {\n\t var ctor = payload._result;\n\t ctor = ctor();\n\t ctor.then(function (moduleObject) {\n\t if (0 === payload._status || -1 === payload._status) payload._status = 1, payload._result = moduleObject;\n\t }, function (error) {\n\t if (0 === payload._status || -1 === payload._status) payload._status = 2, payload._result = error;\n\t });\n\t -1 === payload._status && (payload._status = 0, payload._result = ctor);\n\t }\n\t if (1 === payload._status) return payload._result.default;\n\t throw payload._result;\n\t}\n\tvar reportGlobalError = \"function\" === typeof reportError ? reportError : function (error) {\n\t if (\"object\" === typeof window && \"function\" === typeof window.ErrorEvent) {\n\t var event = new window.ErrorEvent(\"error\", {\n\t bubbles: !0,\n\t cancelable: !0,\n\t message: \"object\" === typeof error && null !== error && \"string\" === typeof error.message ? String(error.message) : String(error),\n\t error: error\n\t });\n\t if (!window.dispatchEvent(event)) return;\n\t } else if (\"object\" === typeof process && \"function\" === typeof process.emit) {\n\t process.emit(\"uncaughtException\", error);\n\t return;\n\t }\n\t console.error(error);\n\t};\n\tfunction noop() {}\n\treact_production.Children = {\n\t map: mapChildren,\n\t forEach: function (children, forEachFunc, forEachContext) {\n\t mapChildren(children, function () {\n\t forEachFunc.apply(this, arguments);\n\t }, forEachContext);\n\t },\n\t count: function (children) {\n\t var n = 0;\n\t mapChildren(children, function () {\n\t n++;\n\t });\n\t return n;\n\t },\n\t toArray: function (children) {\n\t return mapChildren(children, function (child) {\n\t return child;\n\t }) || [];\n\t },\n\t only: function (children) {\n\t if (!isValidElement(children)) throw Error(\"React.Children.only expected to receive a single React element child.\");\n\t return children;\n\t }\n\t};\n\treact_production.Component = Component;\n\treact_production.Fragment = REACT_FRAGMENT_TYPE;\n\treact_production.Profiler = REACT_PROFILER_TYPE;\n\treact_production.PureComponent = PureComponent;\n\treact_production.StrictMode = REACT_STRICT_MODE_TYPE;\n\treact_production.Suspense = REACT_SUSPENSE_TYPE;\n\treact_production.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;\n\treact_production.__COMPILER_RUNTIME = {\n\t __proto__: null,\n\t c: function (size) {\n\t return ReactSharedInternals.H.useMemoCache(size);\n\t }\n\t};\n\treact_production.cache = function (fn) {\n\t return function () {\n\t return fn.apply(null, arguments);\n\t };\n\t};\n\treact_production.cloneElement = function (element, config, children) {\n\t if (null === element || void 0 === element) throw Error(\"The argument must be a React element, but you passed \" + element + \".\");\n\t var props = assign({}, element.props),\n\t key = element.key,\n\t owner = void 0;\n\t if (null != config) for (propName in void 0 !== config.ref && (owner = void 0), void 0 !== config.key && (key = \"\" + config.key), config) !hasOwnProperty.call(config, propName) || \"key\" === propName || \"__self\" === propName || \"__source\" === propName || \"ref\" === propName && void 0 === config.ref || (props[propName] = config[propName]);\n\t var propName = arguments.length - 2;\n\t if (1 === propName) props.children = children;else if (1 < propName) {\n\t for (var childArray = Array(propName), i = 0; i < propName; i++) childArray[i] = arguments[i + 2];\n\t props.children = childArray;\n\t }\n\t return ReactElement(element.type, key, void 0, void 0, owner, props);\n\t};\n\treact_production.createContext = function (defaultValue) {\n\t defaultValue = {\n\t $$typeof: REACT_CONTEXT_TYPE,\n\t _currentValue: defaultValue,\n\t _currentValue2: defaultValue,\n\t _threadCount: 0,\n\t Provider: null,\n\t Consumer: null\n\t };\n\t defaultValue.Provider = defaultValue;\n\t defaultValue.Consumer = {\n\t $$typeof: REACT_CONSUMER_TYPE,\n\t _context: defaultValue\n\t };\n\t return defaultValue;\n\t};\n\treact_production.createElement = function (type, config, children) {\n\t var propName,\n\t props = {},\n\t key = null;\n\t if (null != config) for (propName in void 0 !== config.key && (key = \"\" + config.key), config) hasOwnProperty.call(config, propName) && \"key\" !== propName && \"__self\" !== propName && \"__source\" !== propName && (props[propName] = config[propName]);\n\t var childrenLength = arguments.length - 2;\n\t if (1 === childrenLength) props.children = children;else if (1 < childrenLength) {\n\t for (var childArray = Array(childrenLength), i = 0; i < childrenLength; i++) childArray[i] = arguments[i + 2];\n\t props.children = childArray;\n\t }\n\t if (type && type.defaultProps) for (propName in childrenLength = type.defaultProps, childrenLength) void 0 === props[propName] && (props[propName] = childrenLength[propName]);\n\t return ReactElement(type, key, void 0, void 0, null, props);\n\t};\n\treact_production.createRef = function () {\n\t return {\n\t current: null\n\t };\n\t};\n\treact_production.forwardRef = function (render) {\n\t return {\n\t $$typeof: REACT_FORWARD_REF_TYPE,\n\t render: render\n\t };\n\t};\n\treact_production.isValidElement = isValidElement;\n\treact_production.lazy = function (ctor) {\n\t return {\n\t $$typeof: REACT_LAZY_TYPE,\n\t _payload: {\n\t _status: -1,\n\t _result: ctor\n\t },\n\t _init: lazyInitializer\n\t };\n\t};\n\treact_production.memo = function (type, compare) {\n\t return {\n\t $$typeof: REACT_MEMO_TYPE,\n\t type: type,\n\t compare: void 0 === compare ? null : compare\n\t };\n\t};\n\treact_production.startTransition = function (scope) {\n\t var prevTransition = ReactSharedInternals.T,\n\t currentTransition = {};\n\t ReactSharedInternals.T = currentTransition;\n\t try {\n\t var returnValue = scope(),\n\t onStartTransitionFinish = ReactSharedInternals.S;\n\t null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);\n\t \"object\" === typeof returnValue && null !== returnValue && \"function\" === typeof returnValue.then && returnValue.then(noop, reportGlobalError);\n\t } catch (error) {\n\t reportGlobalError(error);\n\t } finally {\n\t ReactSharedInternals.T = prevTransition;\n\t }\n\t};\n\treact_production.unstable_useCacheRefresh = function () {\n\t return ReactSharedInternals.H.useCacheRefresh();\n\t};\n\treact_production.use = function (usable) {\n\t return ReactSharedInternals.H.use(usable);\n\t};\n\treact_production.useActionState = function (action, initialState, permalink) {\n\t return ReactSharedInternals.H.useActionState(action, initialState, permalink);\n\t};\n\treact_production.useCallback = function (callback, deps) {\n\t return ReactSharedInternals.H.useCallback(callback, deps);\n\t};\n\treact_production.useContext = function (Context) {\n\t return ReactSharedInternals.H.useContext(Context);\n\t};\n\treact_production.useDebugValue = function () {};\n\treact_production.useDeferredValue = function (value, initialValue) {\n\t return ReactSharedInternals.H.useDeferredValue(value, initialValue);\n\t};\n\treact_production.useEffect = function (create, createDeps, update) {\n\t var dispatcher = ReactSharedInternals.H;\n\t if (\"function\" === typeof update) throw Error(\"useEffect CRUD overload is not enabled in this build of React.\");\n\t return dispatcher.useEffect(create, createDeps);\n\t};\n\treact_production.useId = function () {\n\t return ReactSharedInternals.H.useId();\n\t};\n\treact_production.useImperativeHandle = function (ref, create, deps) {\n\t return ReactSharedInternals.H.useImperativeHandle(ref, create, deps);\n\t};\n\treact_production.useInsertionEffect = function (create, deps) {\n\t return ReactSharedInternals.H.useInsertionEffect(create, deps);\n\t};\n\treact_production.useLayoutEffect = function (create, deps) {\n\t return ReactSharedInternals.H.useLayoutEffect(create, deps);\n\t};\n\treact_production.useMemo = function (create, deps) {\n\t return ReactSharedInternals.H.useMemo(create, deps);\n\t};\n\treact_production.useOptimistic = function (passthrough, reducer) {\n\t return ReactSharedInternals.H.useOptimistic(passthrough, reducer);\n\t};\n\treact_production.useReducer = function (reducer, initialArg, init) {\n\t return ReactSharedInternals.H.useReducer(reducer, initialArg, init);\n\t};\n\treact_production.useRef = function (initialValue) {\n\t return ReactSharedInternals.H.useRef(initialValue);\n\t};\n\treact_production.useState = function (initialState) {\n\t return ReactSharedInternals.H.useState(initialState);\n\t};\n\treact_production.useSyncExternalStore = function (subscribe, getSnapshot, getServerSnapshot) {\n\t return ReactSharedInternals.H.useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);\n\t};\n\treact_production.useTransition = function () {\n\t return ReactSharedInternals.H.useTransition();\n\t};\n\treact_production.version = \"19.1.0\";\n\treturn react_production;\n}\n\nvar react_development = {exports: {}};\n\n/**\n * @license React\n * react.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nreact_development.exports;\n\nvar hasRequiredReact_development;\n\nfunction requireReact_development () {\n\tif (hasRequiredReact_development) return react_development.exports;\n\thasRequiredReact_development = 1;\n\t(function (module, exports) {\n\n\t\t\"production\" !== process.env.NODE_ENV && function () {\n\t\t function defineDeprecationWarning(methodName, info) {\n\t\t Object.defineProperty(Component.prototype, methodName, {\n\t\t get: function () {\n\t\t console.warn(\"%s(...) is deprecated in plain JavaScript React classes. %s\", info[0], info[1]);\n\t\t }\n\t\t });\n\t\t }\n\t\t function getIteratorFn(maybeIterable) {\n\t\t if (null === maybeIterable || \"object\" !== typeof maybeIterable) return null;\n\t\t maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[\"@@iterator\"];\n\t\t return \"function\" === typeof maybeIterable ? maybeIterable : null;\n\t\t }\n\t\t function warnNoop(publicInstance, callerName) {\n\t\t publicInstance = (publicInstance = publicInstance.constructor) && (publicInstance.displayName || publicInstance.name) || \"ReactClass\";\n\t\t var warningKey = publicInstance + \".\" + callerName;\n\t\t didWarnStateUpdateForUnmountedComponent[warningKey] || (console.error(\"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.\", callerName, publicInstance), didWarnStateUpdateForUnmountedComponent[warningKey] = !0);\n\t\t }\n\t\t function Component(props, context, updater) {\n\t\t this.props = props;\n\t\t this.context = context;\n\t\t this.refs = emptyObject;\n\t\t this.updater = updater || ReactNoopUpdateQueue;\n\t\t }\n\t\t function ComponentDummy() {}\n\t\t function PureComponent(props, context, updater) {\n\t\t this.props = props;\n\t\t this.context = context;\n\t\t this.refs = emptyObject;\n\t\t this.updater = updater || ReactNoopUpdateQueue;\n\t\t }\n\t\t function testStringCoercion(value) {\n\t\t return \"\" + value;\n\t\t }\n\t\t function checkKeyStringCoercion(value) {\n\t\t try {\n\t\t testStringCoercion(value);\n\t\t var JSCompiler_inline_result = !1;\n\t\t } catch (e) {\n\t\t JSCompiler_inline_result = !0;\n\t\t }\n\t\t if (JSCompiler_inline_result) {\n\t\t JSCompiler_inline_result = console;\n\t\t var JSCompiler_temp_const = JSCompiler_inline_result.error;\n\t\t var JSCompiler_inline_result$jscomp$0 = \"function\" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || \"Object\";\n\t\t JSCompiler_temp_const.call(JSCompiler_inline_result, \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\", JSCompiler_inline_result$jscomp$0);\n\t\t return testStringCoercion(value);\n\t\t }\n\t\t }\n\t\t function getComponentNameFromType(type) {\n\t\t if (null == type) return null;\n\t\t if (\"function\" === typeof type) return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;\n\t\t if (\"string\" === typeof type) return type;\n\t\t switch (type) {\n\t\t case REACT_FRAGMENT_TYPE:\n\t\t return \"Fragment\";\n\t\t case REACT_PROFILER_TYPE:\n\t\t return \"Profiler\";\n\t\t case REACT_STRICT_MODE_TYPE:\n\t\t return \"StrictMode\";\n\t\t case REACT_SUSPENSE_TYPE:\n\t\t return \"Suspense\";\n\t\t case REACT_SUSPENSE_LIST_TYPE:\n\t\t return \"SuspenseList\";\n\t\t case REACT_ACTIVITY_TYPE:\n\t\t return \"Activity\";\n\t\t }\n\t\t if (\"object\" === typeof type) switch (\"number\" === typeof type.tag && console.error(\"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"), type.$$typeof) {\n\t\t case REACT_PORTAL_TYPE:\n\t\t return \"Portal\";\n\t\t case REACT_CONTEXT_TYPE:\n\t\t return (type.displayName || \"Context\") + \".Provider\";\n\t\t case REACT_CONSUMER_TYPE:\n\t\t return (type._context.displayName || \"Context\") + \".Consumer\";\n\t\t case REACT_FORWARD_REF_TYPE:\n\t\t var innerType = type.render;\n\t\t type = type.displayName;\n\t\t type || (type = innerType.displayName || innerType.name || \"\", type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\");\n\t\t return type;\n\t\t case REACT_MEMO_TYPE:\n\t\t return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || \"Memo\";\n\t\t case REACT_LAZY_TYPE:\n\t\t innerType = type._payload;\n\t\t type = type._init;\n\t\t try {\n\t\t return getComponentNameFromType(type(innerType));\n\t\t } catch (x) {}\n\t\t }\n\t\t return null;\n\t\t }\n\t\t function getTaskName(type) {\n\t\t if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n\t\t if (\"object\" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE) return \"<...>\";\n\t\t try {\n\t\t var name = getComponentNameFromType(type);\n\t\t return name ? \"<\" + name + \">\" : \"<...>\";\n\t\t } catch (x) {\n\t\t return \"<...>\";\n\t\t }\n\t\t }\n\t\t function getOwner() {\n\t\t var dispatcher = ReactSharedInternals.A;\n\t\t return null === dispatcher ? null : dispatcher.getOwner();\n\t\t }\n\t\t function UnknownOwner() {\n\t\t return Error(\"react-stack-top-frame\");\n\t\t }\n\t\t function hasValidKey(config) {\n\t\t if (hasOwnProperty.call(config, \"key\")) {\n\t\t var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n\t\t if (getter && getter.isReactWarning) return !1;\n\t\t }\n\t\t return void 0 !== config.key;\n\t\t }\n\t\t function defineKeyPropWarningGetter(props, displayName) {\n\t\t function warnAboutAccessingKey() {\n\t\t specialPropKeyWarningShown || (specialPropKeyWarningShown = !0, console.error(\"%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://react.dev/link/special-props)\", displayName));\n\t\t }\n\t\t warnAboutAccessingKey.isReactWarning = !0;\n\t\t Object.defineProperty(props, \"key\", {\n\t\t get: warnAboutAccessingKey,\n\t\t configurable: !0\n\t\t });\n\t\t }\n\t\t function elementRefGetterWithDeprecationWarning() {\n\t\t var componentName = getComponentNameFromType(this.type);\n\t\t didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = !0, console.error(\"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"));\n\t\t componentName = this.props.ref;\n\t\t return void 0 !== componentName ? componentName : null;\n\t\t }\n\t\t function ReactElement(type, key, self, source, owner, props, debugStack, debugTask) {\n\t\t self = props.ref;\n\t\t type = {\n\t\t $$typeof: REACT_ELEMENT_TYPE,\n\t\t type: type,\n\t\t key: key,\n\t\t props: props,\n\t\t _owner: owner\n\t\t };\n\t\t null !== (void 0 !== self ? self : null) ? Object.defineProperty(type, \"ref\", {\n\t\t enumerable: !1,\n\t\t get: elementRefGetterWithDeprecationWarning\n\t\t }) : Object.defineProperty(type, \"ref\", {\n\t\t enumerable: !1,\n\t\t value: null\n\t\t });\n\t\t type._store = {};\n\t\t Object.defineProperty(type._store, \"validated\", {\n\t\t configurable: !1,\n\t\t enumerable: !1,\n\t\t writable: !0,\n\t\t value: 0\n\t\t });\n\t\t Object.defineProperty(type, \"_debugInfo\", {\n\t\t configurable: !1,\n\t\t enumerable: !1,\n\t\t writable: !0,\n\t\t value: null\n\t\t });\n\t\t Object.defineProperty(type, \"_debugStack\", {\n\t\t configurable: !1,\n\t\t enumerable: !1,\n\t\t writable: !0,\n\t\t value: debugStack\n\t\t });\n\t\t Object.defineProperty(type, \"_debugTask\", {\n\t\t configurable: !1,\n\t\t enumerable: !1,\n\t\t writable: !0,\n\t\t value: debugTask\n\t\t });\n\t\t Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n\t\t return type;\n\t\t }\n\t\t function cloneAndReplaceKey(oldElement, newKey) {\n\t\t newKey = ReactElement(oldElement.type, newKey, void 0, void 0, oldElement._owner, oldElement.props, oldElement._debugStack, oldElement._debugTask);\n\t\t oldElement._store && (newKey._store.validated = oldElement._store.validated);\n\t\t return newKey;\n\t\t }\n\t\t function isValidElement(object) {\n\t\t return \"object\" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;\n\t\t }\n\t\t function escape(key) {\n\t\t var escaperLookup = {\n\t\t \"=\": \"=0\",\n\t\t \":\": \"=2\"\n\t\t };\n\t\t return \"$\" + key.replace(/[=:]/g, function (match) {\n\t\t return escaperLookup[match];\n\t\t });\n\t\t }\n\t\t function getElementKey(element, index) {\n\t\t return \"object\" === typeof element && null !== element && null != element.key ? (checkKeyStringCoercion(element.key), escape(\"\" + element.key)) : index.toString(36);\n\t\t }\n\t\t function noop$1() {}\n\t\t function resolveThenable(thenable) {\n\t\t switch (thenable.status) {\n\t\t case \"fulfilled\":\n\t\t return thenable.value;\n\t\t case \"rejected\":\n\t\t throw thenable.reason;\n\t\t default:\n\t\t switch (\"string\" === typeof thenable.status ? thenable.then(noop$1, noop$1) : (thenable.status = \"pending\", thenable.then(function (fulfilledValue) {\n\t\t \"pending\" === thenable.status && (thenable.status = \"fulfilled\", thenable.value = fulfilledValue);\n\t\t }, function (error) {\n\t\t \"pending\" === thenable.status && (thenable.status = \"rejected\", thenable.reason = error);\n\t\t })), thenable.status) {\n\t\t case \"fulfilled\":\n\t\t return thenable.value;\n\t\t case \"rejected\":\n\t\t throw thenable.reason;\n\t\t }\n\t\t }\n\t\t throw thenable;\n\t\t }\n\t\t function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {\n\t\t var type = typeof children;\n\t\t if (\"undefined\" === type || \"boolean\" === type) children = null;\n\t\t var invokeCallback = !1;\n\t\t if (null === children) invokeCallback = !0;else switch (type) {\n\t\t case \"bigint\":\n\t\t case \"string\":\n\t\t case \"number\":\n\t\t invokeCallback = !0;\n\t\t break;\n\t\t case \"object\":\n\t\t switch (children.$$typeof) {\n\t\t case REACT_ELEMENT_TYPE:\n\t\t case REACT_PORTAL_TYPE:\n\t\t invokeCallback = !0;\n\t\t break;\n\t\t case REACT_LAZY_TYPE:\n\t\t return invokeCallback = children._init, mapIntoArray(invokeCallback(children._payload), array, escapedPrefix, nameSoFar, callback);\n\t\t }\n\t\t }\n\t\t if (invokeCallback) {\n\t\t invokeCallback = children;\n\t\t callback = callback(invokeCallback);\n\t\t var childKey = \"\" === nameSoFar ? \".\" + getElementKey(invokeCallback, 0) : nameSoFar;\n\t\t isArrayImpl(callback) ? (escapedPrefix = \"\", null != childKey && (escapedPrefix = childKey.replace(userProvidedKeyEscapeRegex, \"$&/\") + \"/\"), mapIntoArray(callback, array, escapedPrefix, \"\", function (c) {\n\t\t return c;\n\t\t })) : null != callback && (isValidElement(callback) && (null != callback.key && (invokeCallback && invokeCallback.key === callback.key || checkKeyStringCoercion(callback.key)), escapedPrefix = cloneAndReplaceKey(callback, escapedPrefix + (null == callback.key || invokeCallback && invokeCallback.key === callback.key ? \"\" : (\"\" + callback.key).replace(userProvidedKeyEscapeRegex, \"$&/\") + \"/\") + childKey), \"\" !== nameSoFar && null != invokeCallback && isValidElement(invokeCallback) && null == invokeCallback.key && invokeCallback._store && !invokeCallback._store.validated && (escapedPrefix._store.validated = 2), callback = escapedPrefix), array.push(callback));\n\t\t return 1;\n\t\t }\n\t\t invokeCallback = 0;\n\t\t childKey = \"\" === nameSoFar ? \".\" : nameSoFar + \":\";\n\t\t if (isArrayImpl(children)) for (var i = 0; i < children.length; i++) nameSoFar = children[i], type = childKey + getElementKey(nameSoFar, i), invokeCallback += mapIntoArray(nameSoFar, array, escapedPrefix, type, callback);else if (i = getIteratorFn(children), \"function\" === typeof i) for (i === children.entries && (didWarnAboutMaps || console.warn(\"Using Maps as children is not supported. Use an array of keyed ReactElements instead.\"), didWarnAboutMaps = !0), children = i.call(children), i = 0; !(nameSoFar = children.next()).done;) nameSoFar = nameSoFar.value, type = childKey + getElementKey(nameSoFar, i++), invokeCallback += mapIntoArray(nameSoFar, array, escapedPrefix, type, callback);else if (\"object\" === type) {\n\t\t if (\"function\" === typeof children.then) return mapIntoArray(resolveThenable(children), array, escapedPrefix, nameSoFar, callback);\n\t\t array = String(children);\n\t\t throw Error(\"Objects are not valid as a React child (found: \" + (\"[object Object]\" === array ? \"object with keys {\" + Object.keys(children).join(\", \") + \"}\" : array) + \"). If you meant to render a collection of children, use an array instead.\");\n\t\t }\n\t\t return invokeCallback;\n\t\t }\n\t\t function mapChildren(children, func, context) {\n\t\t if (null == children) return children;\n\t\t var result = [],\n\t\t count = 0;\n\t\t mapIntoArray(children, result, \"\", \"\", function (child) {\n\t\t return func.call(context, child, count++);\n\t\t });\n\t\t return result;\n\t\t }\n\t\t function lazyInitializer(payload) {\n\t\t if (-1 === payload._status) {\n\t\t var ctor = payload._result;\n\t\t ctor = ctor();\n\t\t ctor.then(function (moduleObject) {\n\t\t if (0 === payload._status || -1 === payload._status) payload._status = 1, payload._result = moduleObject;\n\t\t }, function (error) {\n\t\t if (0 === payload._status || -1 === payload._status) payload._status = 2, payload._result = error;\n\t\t });\n\t\t -1 === payload._status && (payload._status = 0, payload._result = ctor);\n\t\t }\n\t\t if (1 === payload._status) return ctor = payload._result, void 0 === ctor && console.error(\"lazy: Expected the result of a dynamic import() call. Instead received: %s\\n\\nYour code should look like: \\n const MyComponent = lazy(() => import('./MyComponent'))\\n\\nDid you accidentally put curly braces around the import?\", ctor), \"default\" in ctor || console.error(\"lazy: Expected the result of a dynamic import() call. Instead received: %s\\n\\nYour code should look like: \\n const MyComponent = lazy(() => import('./MyComponent'))\", ctor), ctor.default;\n\t\t throw payload._result;\n\t\t }\n\t\t function resolveDispatcher() {\n\t\t var dispatcher = ReactSharedInternals.H;\n\t\t null === dispatcher && console.error(\"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:\\n1. You might have mismatching versions of React and the renderer (such as React DOM)\\n2. You might be breaking the Rules of Hooks\\n3. You might have more than one copy of React in the same app\\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.\");\n\t\t return dispatcher;\n\t\t }\n\t\t function noop() {}\n\t\t function enqueueTask(task) {\n\t\t if (null === enqueueTaskImpl) try {\n\t\t var requireString = (\"require\" + Math.random()).slice(0, 7);\n\t\t enqueueTaskImpl = (module && module[requireString]).call(module, \"timers\").setImmediate;\n\t\t } catch (_err) {\n\t\t enqueueTaskImpl = function (callback) {\n\t\t !1 === didWarnAboutMessageChannel && (didWarnAboutMessageChannel = !0, \"undefined\" === typeof MessageChannel && console.error(\"This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning.\"));\n\t\t var channel = new MessageChannel();\n\t\t channel.port1.onmessage = callback;\n\t\t channel.port2.postMessage(void 0);\n\t\t };\n\t\t }\n\t\t return enqueueTaskImpl(task);\n\t\t }\n\t\t function aggregateErrors(errors) {\n\t\t return 1 < errors.length && \"function\" === typeof AggregateError ? new AggregateError(errors) : errors[0];\n\t\t }\n\t\t function popActScope(prevActQueue, prevActScopeDepth) {\n\t\t prevActScopeDepth !== actScopeDepth - 1 && console.error(\"You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. \");\n\t\t actScopeDepth = prevActScopeDepth;\n\t\t }\n\t\t function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {\n\t\t var queue = ReactSharedInternals.actQueue;\n\t\t if (null !== queue) if (0 !== queue.length) try {\n\t\t flushActQueue(queue);\n\t\t enqueueTask(function () {\n\t\t return recursivelyFlushAsyncActWork(returnValue, resolve, reject);\n\t\t });\n\t\t return;\n\t\t } catch (error) {\n\t\t ReactSharedInternals.thrownErrors.push(error);\n\t\t } else ReactSharedInternals.actQueue = null;\n\t\t 0 < ReactSharedInternals.thrownErrors.length ? (queue = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, reject(queue)) : resolve(returnValue);\n\t\t }\n\t\t function flushActQueue(queue) {\n\t\t if (!isFlushing) {\n\t\t isFlushing = !0;\n\t\t var i = 0;\n\t\t try {\n\t\t for (; i < queue.length; i++) {\n\t\t var callback = queue[i];\n\t\t do {\n\t\t ReactSharedInternals.didUsePromise = !1;\n\t\t var continuation = callback(!1);\n\t\t if (null !== continuation) {\n\t\t if (ReactSharedInternals.didUsePromise) {\n\t\t queue[i] = callback;\n\t\t queue.splice(0, i);\n\t\t return;\n\t\t }\n\t\t callback = continuation;\n\t\t } else break;\n\t\t } while (1);\n\t\t }\n\t\t queue.length = 0;\n\t\t } catch (error) {\n\t\t queue.splice(0, i + 1), ReactSharedInternals.thrownErrors.push(error);\n\t\t } finally {\n\t\t isFlushing = !1;\n\t\t }\n\t\t }\n\t\t }\n\t\t \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && \"function\" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());\n\t\t var REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n\t\t REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n\t\t REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n\t\t REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n\t\t REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\");\n\t\t var REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n\t\t REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n\t\t REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n\t\t REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n\t\t REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n\t\t REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n\t\t REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n\t\t REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n\t\t MAYBE_ITERATOR_SYMBOL = Symbol.iterator,\n\t\t didWarnStateUpdateForUnmountedComponent = {},\n\t\t ReactNoopUpdateQueue = {\n\t\t isMounted: function () {\n\t\t return !1;\n\t\t },\n\t\t enqueueForceUpdate: function (publicInstance) {\n\t\t warnNoop(publicInstance, \"forceUpdate\");\n\t\t },\n\t\t enqueueReplaceState: function (publicInstance) {\n\t\t warnNoop(publicInstance, \"replaceState\");\n\t\t },\n\t\t enqueueSetState: function (publicInstance) {\n\t\t warnNoop(publicInstance, \"setState\");\n\t\t }\n\t\t },\n\t\t assign = Object.assign,\n\t\t emptyObject = {};\n\t\t Object.freeze(emptyObject);\n\t\t Component.prototype.isReactComponent = {};\n\t\t Component.prototype.setState = function (partialState, callback) {\n\t\t if (\"object\" !== typeof partialState && \"function\" !== typeof partialState && null != partialState) throw Error(\"takes an object of state variables to update or a function which returns an object of state variables.\");\n\t\t this.updater.enqueueSetState(this, partialState, callback, \"setState\");\n\t\t };\n\t\t Component.prototype.forceUpdate = function (callback) {\n\t\t this.updater.enqueueForceUpdate(this, callback, \"forceUpdate\");\n\t\t };\n\t\t var deprecatedAPIs = {\n\t\t isMounted: [\"isMounted\", \"Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks.\"],\n\t\t replaceState: [\"replaceState\", \"Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236).\"]\n\t\t },\n\t\t fnName;\n\t\t for (fnName in deprecatedAPIs) deprecatedAPIs.hasOwnProperty(fnName) && defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);\n\t\t ComponentDummy.prototype = Component.prototype;\n\t\t deprecatedAPIs = PureComponent.prototype = new ComponentDummy();\n\t\t deprecatedAPIs.constructor = PureComponent;\n\t\t assign(deprecatedAPIs, Component.prototype);\n\t\t deprecatedAPIs.isPureReactComponent = !0;\n\t\t var isArrayImpl = Array.isArray,\n\t\t REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n\t\t ReactSharedInternals = {\n\t\t H: null,\n\t\t A: null,\n\t\t T: null,\n\t\t S: null,\n\t\t V: null,\n\t\t actQueue: null,\n\t\t isBatchingLegacy: !1,\n\t\t didScheduleLegacyUpdate: !1,\n\t\t didUsePromise: !1,\n\t\t thrownErrors: [],\n\t\t getCurrentStack: null,\n\t\t recentlyCreatedOwnerStacks: 0\n\t\t },\n\t\t hasOwnProperty = Object.prototype.hasOwnProperty,\n\t\t createTask = console.createTask ? console.createTask : function () {\n\t\t return null;\n\t\t };\n\t\t deprecatedAPIs = {\n\t\t \"react-stack-bottom-frame\": function (callStackForError) {\n\t\t return callStackForError();\n\t\t }\n\t\t };\n\t\t var specialPropKeyWarningShown, didWarnAboutOldJSXRuntime;\n\t\t var didWarnAboutElementRef = {};\n\t\t var unknownOwnerDebugStack = deprecatedAPIs[\"react-stack-bottom-frame\"].bind(deprecatedAPIs, UnknownOwner)();\n\t\t var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n\t\t var didWarnAboutMaps = !1,\n\t\t userProvidedKeyEscapeRegex = /\\/+/g,\n\t\t reportGlobalError = \"function\" === typeof reportError ? reportError : function (error) {\n\t\t if (\"object\" === typeof window && \"function\" === typeof window.ErrorEvent) {\n\t\t var event = new window.ErrorEvent(\"error\", {\n\t\t bubbles: !0,\n\t\t cancelable: !0,\n\t\t message: \"object\" === typeof error && null !== error && \"string\" === typeof error.message ? String(error.message) : String(error),\n\t\t error: error\n\t\t });\n\t\t if (!window.dispatchEvent(event)) return;\n\t\t } else if (\"object\" === typeof process && \"function\" === typeof process.emit) {\n\t\t process.emit(\"uncaughtException\", error);\n\t\t return;\n\t\t }\n\t\t console.error(error);\n\t\t },\n\t\t didWarnAboutMessageChannel = !1,\n\t\t enqueueTaskImpl = null,\n\t\t actScopeDepth = 0,\n\t\t didWarnNoAwaitAct = !1,\n\t\t isFlushing = !1,\n\t\t queueSeveralMicrotasks = \"function\" === typeof queueMicrotask ? function (callback) {\n\t\t queueMicrotask(function () {\n\t\t return queueMicrotask(callback);\n\t\t });\n\t\t } : enqueueTask;\n\t\t deprecatedAPIs = Object.freeze({\n\t\t __proto__: null,\n\t\t c: function (size) {\n\t\t return resolveDispatcher().useMemoCache(size);\n\t\t }\n\t\t });\n\t\t exports.Children = {\n\t\t map: mapChildren,\n\t\t forEach: function (children, forEachFunc, forEachContext) {\n\t\t mapChildren(children, function () {\n\t\t forEachFunc.apply(this, arguments);\n\t\t }, forEachContext);\n\t\t },\n\t\t count: function (children) {\n\t\t var n = 0;\n\t\t mapChildren(children, function () {\n\t\t n++;\n\t\t });\n\t\t return n;\n\t\t },\n\t\t toArray: function (children) {\n\t\t return mapChildren(children, function (child) {\n\t\t return child;\n\t\t }) || [];\n\t\t },\n\t\t only: function (children) {\n\t\t if (!isValidElement(children)) throw Error(\"React.Children.only expected to receive a single React element child.\");\n\t\t return children;\n\t\t }\n\t\t };\n\t\t exports.Component = Component;\n\t\t exports.Fragment = REACT_FRAGMENT_TYPE;\n\t\t exports.Profiler = REACT_PROFILER_TYPE;\n\t\t exports.PureComponent = PureComponent;\n\t\t exports.StrictMode = REACT_STRICT_MODE_TYPE;\n\t\t exports.Suspense = REACT_SUSPENSE_TYPE;\n\t\t exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;\n\t\t exports.__COMPILER_RUNTIME = deprecatedAPIs;\n\t\t exports.act = function (callback) {\n\t\t var prevActQueue = ReactSharedInternals.actQueue,\n\t\t prevActScopeDepth = actScopeDepth;\n\t\t actScopeDepth++;\n\t\t var queue = ReactSharedInternals.actQueue = null !== prevActQueue ? prevActQueue : [],\n\t\t didAwaitActCall = !1;\n\t\t try {\n\t\t var result = callback();\n\t\t } catch (error) {\n\t\t ReactSharedInternals.thrownErrors.push(error);\n\t\t }\n\t\t if (0 < ReactSharedInternals.thrownErrors.length) throw popActScope(prevActQueue, prevActScopeDepth), callback = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, callback;\n\t\t if (null !== result && \"object\" === typeof result && \"function\" === typeof result.then) {\n\t\t var thenable = result;\n\t\t queueSeveralMicrotasks(function () {\n\t\t didAwaitActCall || didWarnNoAwaitAct || (didWarnNoAwaitAct = !0, console.error(\"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 () => ...);\"));\n\t\t });\n\t\t return {\n\t\t then: function (resolve, reject) {\n\t\t didAwaitActCall = !0;\n\t\t thenable.then(function (returnValue) {\n\t\t popActScope(prevActQueue, prevActScopeDepth);\n\t\t if (0 === prevActScopeDepth) {\n\t\t try {\n\t\t flushActQueue(queue), enqueueTask(function () {\n\t\t return recursivelyFlushAsyncActWork(returnValue, resolve, reject);\n\t\t });\n\t\t } catch (error$0) {\n\t\t ReactSharedInternals.thrownErrors.push(error$0);\n\t\t }\n\t\t if (0 < ReactSharedInternals.thrownErrors.length) {\n\t\t var _thrownError = aggregateErrors(ReactSharedInternals.thrownErrors);\n\t\t ReactSharedInternals.thrownErrors.length = 0;\n\t\t reject(_thrownError);\n\t\t }\n\t\t } else resolve(returnValue);\n\t\t }, function (error) {\n\t\t popActScope(prevActQueue, prevActScopeDepth);\n\t\t 0 < ReactSharedInternals.thrownErrors.length ? (error = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, reject(error)) : reject(error);\n\t\t });\n\t\t }\n\t\t };\n\t\t }\n\t\t var returnValue$jscomp$0 = result;\n\t\t popActScope(prevActQueue, prevActScopeDepth);\n\t\t 0 === prevActScopeDepth && (flushActQueue(queue), 0 !== queue.length && queueSeveralMicrotasks(function () {\n\t\t didAwaitActCall || didWarnNoAwaitAct || (didWarnNoAwaitAct = !0, console.error(\"A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\\n\\nawait act(() => ...)\"));\n\t\t }), ReactSharedInternals.actQueue = null);\n\t\t if (0 < ReactSharedInternals.thrownErrors.length) throw callback = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, callback;\n\t\t return {\n\t\t then: function (resolve, reject) {\n\t\t didAwaitActCall = !0;\n\t\t 0 === prevActScopeDepth ? (ReactSharedInternals.actQueue = queue, enqueueTask(function () {\n\t\t return recursivelyFlushAsyncActWork(returnValue$jscomp$0, resolve, reject);\n\t\t })) : resolve(returnValue$jscomp$0);\n\t\t }\n\t\t };\n\t\t };\n\t\t exports.cache = function (fn) {\n\t\t return function () {\n\t\t return fn.apply(null, arguments);\n\t\t };\n\t\t };\n\t\t exports.captureOwnerStack = function () {\n\t\t var getCurrentStack = ReactSharedInternals.getCurrentStack;\n\t\t return null === getCurrentStack ? null : getCurrentStack();\n\t\t };\n\t\t exports.cloneElement = function (element, config, children) {\n\t\t if (null === element || void 0 === element) throw Error(\"The argument must be a React element, but you passed \" + element + \".\");\n\t\t var props = assign({}, element.props),\n\t\t key = element.key,\n\t\t owner = element._owner;\n\t\t if (null != config) {\n\t\t var JSCompiler_inline_result;\n\t\t a: {\n\t\t if (hasOwnProperty.call(config, \"ref\") && (JSCompiler_inline_result = Object.getOwnPropertyDescriptor(config, \"ref\").get) && JSCompiler_inline_result.isReactWarning) {\n\t\t JSCompiler_inline_result = !1;\n\t\t break a;\n\t\t }\n\t\t JSCompiler_inline_result = void 0 !== config.ref;\n\t\t }\n\t\t JSCompiler_inline_result && (owner = getOwner());\n\t\t hasValidKey(config) && (checkKeyStringCoercion(config.key), key = \"\" + config.key);\n\t\t for (propName in config) !hasOwnProperty.call(config, propName) || \"key\" === propName || \"__self\" === propName || \"__source\" === propName || \"ref\" === propName && void 0 === config.ref || (props[propName] = config[propName]);\n\t\t }\n\t\t var propName = arguments.length - 2;\n\t\t if (1 === propName) props.children = children;else if (1 < propName) {\n\t\t JSCompiler_inline_result = Array(propName);\n\t\t for (var i = 0; i < propName; i++) JSCompiler_inline_result[i] = arguments[i + 2];\n\t\t props.children = JSCompiler_inline_result;\n\t\t }\n\t\t props = ReactElement(element.type, key, void 0, void 0, owner, props, element._debugStack, element._debugTask);\n\t\t for (key = 2; key < arguments.length; key++) owner = arguments[key], isValidElement(owner) && owner._store && (owner._store.validated = 1);\n\t\t return props;\n\t\t };\n\t\t exports.createContext = function (defaultValue) {\n\t\t defaultValue = {\n\t\t $$typeof: REACT_CONTEXT_TYPE,\n\t\t _currentValue: defaultValue,\n\t\t _currentValue2: defaultValue,\n\t\t _threadCount: 0,\n\t\t Provider: null,\n\t\t Consumer: null\n\t\t };\n\t\t defaultValue.Provider = defaultValue;\n\t\t defaultValue.Consumer = {\n\t\t $$typeof: REACT_CONSUMER_TYPE,\n\t\t _context: defaultValue\n\t\t };\n\t\t defaultValue._currentRenderer = null;\n\t\t defaultValue._currentRenderer2 = null;\n\t\t return defaultValue;\n\t\t };\n\t\t exports.createElement = function (type, config, children) {\n\t\t for (var i = 2; i < arguments.length; i++) {\n\t\t var node = arguments[i];\n\t\t isValidElement(node) && node._store && (node._store.validated = 1);\n\t\t }\n\t\t i = {};\n\t\t node = null;\n\t\t if (null != config) for (propName in didWarnAboutOldJSXRuntime || !(\"__self\" in config) || \"key\" in config || (didWarnAboutOldJSXRuntime = !0, console.warn(\"Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform\")), hasValidKey(config) && (checkKeyStringCoercion(config.key), node = \"\" + config.key), config) hasOwnProperty.call(config, propName) && \"key\" !== propName && \"__self\" !== propName && \"__source\" !== propName && (i[propName] = config[propName]);\n\t\t var childrenLength = arguments.length - 2;\n\t\t if (1 === childrenLength) i.children = children;else if (1 < childrenLength) {\n\t\t for (var childArray = Array(childrenLength), _i = 0; _i < childrenLength; _i++) childArray[_i] = arguments[_i + 2];\n\t\t Object.freeze && Object.freeze(childArray);\n\t\t i.children = childArray;\n\t\t }\n\t\t if (type && type.defaultProps) for (propName in childrenLength = type.defaultProps, childrenLength) void 0 === i[propName] && (i[propName] = childrenLength[propName]);\n\t\t node && defineKeyPropWarningGetter(i, \"function\" === typeof type ? type.displayName || type.name || \"Unknown\" : type);\n\t\t var propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n\t\t return ReactElement(type, node, void 0, void 0, getOwner(), i, propName ? Error(\"react-stack-top-frame\") : unknownOwnerDebugStack, propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask);\n\t\t };\n\t\t exports.createRef = function () {\n\t\t var refObject = {\n\t\t current: null\n\t\t };\n\t\t Object.seal(refObject);\n\t\t return refObject;\n\t\t };\n\t\t exports.forwardRef = function (render) {\n\t\t null != render && render.$$typeof === REACT_MEMO_TYPE ? console.error(\"forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).\") : \"function\" !== typeof render ? console.error(\"forwardRef requires a render function but was given %s.\", null === render ? \"null\" : typeof render) : 0 !== render.length && 2 !== render.length && console.error(\"forwardRef render functions accept exactly two parameters: props and ref. %s\", 1 === render.length ? \"Did you forget to use the ref parameter?\" : \"Any additional parameter will be undefined.\");\n\t\t null != render && null != render.defaultProps && console.error(\"forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?\");\n\t\t var elementType = {\n\t\t $$typeof: REACT_FORWARD_REF_TYPE,\n\t\t render: render\n\t\t },\n\t\t ownName;\n\t\t Object.defineProperty(elementType, \"displayName\", {\n\t\t enumerable: !1,\n\t\t configurable: !0,\n\t\t get: function () {\n\t\t return ownName;\n\t\t },\n\t\t set: function (name) {\n\t\t ownName = name;\n\t\t render.name || render.displayName || (Object.defineProperty(render, \"name\", {\n\t\t value: name\n\t\t }), render.displayName = name);\n\t\t }\n\t\t });\n\t\t return elementType;\n\t\t };\n\t\t exports.isValidElement = isValidElement;\n\t\t exports.lazy = function (ctor) {\n\t\t return {\n\t\t $$typeof: REACT_LAZY_TYPE,\n\t\t _payload: {\n\t\t _status: -1,\n\t\t _result: ctor\n\t\t },\n\t\t _init: lazyInitializer\n\t\t };\n\t\t };\n\t\t exports.memo = function (type, compare) {\n\t\t null == type && console.error(\"memo: The first argument must be a component. Instead received: %s\", null === type ? \"null\" : typeof type);\n\t\t compare = {\n\t\t $$typeof: REACT_MEMO_TYPE,\n\t\t type: type,\n\t\t compare: void 0 === compare ? null : compare\n\t\t };\n\t\t var ownName;\n\t\t Object.defineProperty(compare, \"displayName\", {\n\t\t enumerable: !1,\n\t\t configurable: !0,\n\t\t get: function () {\n\t\t return ownName;\n\t\t },\n\t\t set: function (name) {\n\t\t ownName = name;\n\t\t type.name || type.displayName || (Object.defineProperty(type, \"name\", {\n\t\t value: name\n\t\t }), type.displayName = name);\n\t\t }\n\t\t });\n\t\t return compare;\n\t\t };\n\t\t exports.startTransition = function (scope) {\n\t\t var prevTransition = ReactSharedInternals.T,\n\t\t currentTransition = {};\n\t\t ReactSharedInternals.T = currentTransition;\n\t\t currentTransition._updatedFibers = new Set();\n\t\t try {\n\t\t var returnValue = scope(),\n\t\t onStartTransitionFinish = ReactSharedInternals.S;\n\t\t null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);\n\t\t \"object\" === typeof returnValue && null !== returnValue && \"function\" === typeof returnValue.then && returnValue.then(noop, reportGlobalError);\n\t\t } catch (error) {\n\t\t reportGlobalError(error);\n\t\t } finally {\n\t\t null === prevTransition && currentTransition._updatedFibers && (scope = currentTransition._updatedFibers.size, currentTransition._updatedFibers.clear(), 10 < scope && console.warn(\"Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.\")), ReactSharedInternals.T = prevTransition;\n\t\t }\n\t\t };\n\t\t exports.unstable_useCacheRefresh = function () {\n\t\t return resolveDispatcher().useCacheRefresh();\n\t\t };\n\t\t exports.use = function (usable) {\n\t\t return resolveDispatcher().use(usable);\n\t\t };\n\t\t exports.useActionState = function (action, initialState, permalink) {\n\t\t return resolveDispatcher().useActionState(action, initialState, permalink);\n\t\t };\n\t\t exports.useCallback = function (callback, deps) {\n\t\t return resolveDispatcher().useCallback(callback, deps);\n\t\t };\n\t\t exports.useContext = function (Context) {\n\t\t var dispatcher = resolveDispatcher();\n\t\t Context.$$typeof === REACT_CONSUMER_TYPE && console.error(\"Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?\");\n\t\t return dispatcher.useContext(Context);\n\t\t };\n\t\t exports.useDebugValue = function (value, formatterFn) {\n\t\t return resolveDispatcher().useDebugValue(value, formatterFn);\n\t\t };\n\t\t exports.useDeferredValue = function (value, initialValue) {\n\t\t return resolveDispatcher().useDeferredValue(value, initialValue);\n\t\t };\n\t\t exports.useEffect = function (create, createDeps, update) {\n\t\t null == create && console.warn(\"React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?\");\n\t\t var dispatcher = resolveDispatcher();\n\t\t if (\"function\" === typeof update) throw Error(\"useEffect CRUD overload is not enabled in this build of React.\");\n\t\t return dispatcher.useEffect(create, createDeps);\n\t\t };\n\t\t exports.useId = function () {\n\t\t return resolveDispatcher().useId();\n\t\t };\n\t\t exports.useImperativeHandle = function (ref, create, deps) {\n\t\t return resolveDispatcher().useImperativeHandle(ref, create, deps);\n\t\t };\n\t\t exports.useInsertionEffect = function (create, deps) {\n\t\t null == create && console.warn(\"React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?\");\n\t\t return resolveDispatcher().useInsertionEffect(create, deps);\n\t\t };\n\t\t exports.useLayoutEffect = function (create, deps) {\n\t\t null == create && console.warn(\"React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?\");\n\t\t return resolveDispatcher().useLayoutEffect(create, deps);\n\t\t };\n\t\t exports.useMemo = function (create, deps) {\n\t\t return resolveDispatcher().useMemo(create, deps);\n\t\t };\n\t\t exports.useOptimistic = function (passthrough, reducer) {\n\t\t return resolveDispatcher().useOptimistic(passthrough, reducer);\n\t\t };\n\t\t exports.useReducer = function (reducer, initialArg, init) {\n\t\t return resolveDispatcher().useReducer(reducer, initialArg, init);\n\t\t };\n\t\t exports.useRef = function (initialValue) {\n\t\t return resolveDispatcher().useRef(initialValue);\n\t\t };\n\t\t exports.useState = function (initialState) {\n\t\t return resolveDispatcher().useState(initialState);\n\t\t };\n\t\t exports.useSyncExternalStore = function (subscribe, getSnapshot, getServerSnapshot) {\n\t\t return resolveDispatcher().useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);\n\t\t };\n\t\t exports.useTransition = function () {\n\t\t return resolveDispatcher().useTransition();\n\t\t };\n\t\t exports.version = \"19.1.0\";\n\t\t \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && \"function\" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());\n\t\t}(); \n\t} (react_development, react_development.exports));\n\treturn react_development.exports;\n}\n\nif (process.env.NODE_ENV === 'production') {\n react.exports = requireReact_production();\n} else {\n react.exports = requireReact_development();\n}\n\nvar reactExports = react.exports;\n\nconst Add = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 10 10\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"M6 4h4v2H6v4H4V6H0V4h4V0h2z\"\n}));\nvar Add$1 = Add;\n\nconst AddCircle = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8m4 9H9v3H7V9H4V7h3V4h2v3h3z\"\n}));\nvar AddCircle$1 = AddCircle;\n\nconst AddOutline = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n x: 0,\n y: 0,\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M8 14.5c3.6 0 6.5-2.9 6.5-6.5S11.6 1.5 8 1.5 1.5 4.4 1.5 8s2.9 6.5 6.5 6.5M8 16c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8\"\n}), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M7 7V4h2v3h3v2H9v3H7V9H4V7z\"\n}));\nvar AddOutline$1 = AddOutline;\n\nconst AngleDown = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 448 512\",\n width: \"1em\",\n height: \"1em\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"m224 365.3 22.6-22.6 160-160 22.7-22.7-45.3-45.3-22.6 22.6L224 274.7 86.6 137.4 64 114.7 18.7 160l22.6 22.6 160 160z\"\n}));\nvar AngleDown$1 = AngleDown;\n\nconst ArrowDown = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 14 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"nonzero\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"m8 11.953 3.905-4.09 1.453 1.374L7 16 .635 9.238l1.452-1.376L6 11.954V0h2z\"\n}));\nvar ArrowDown$1 = ArrowDown;\n\nconst ArrowLeft = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 14\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"nonzero\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"m4.044 8.003 4.09 3.905-1.374 1.453-6.763-6.356L6.759.639 8.135 2.09 4.043 6.003h11.954v2z\"\n}));\nvar ArrowLeft$1 = ArrowLeft;\n\nconst ArrowRight = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 14\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"nonzero\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"M11.95 5.997 7.86 2.092 9.233.639l6.763 6.356-6.763 6.366L7.86 11.91l4.092-3.912H-.003v-2z\"\n}));\nvar ArrowRight$1 = ArrowRight;\n\nconst ArrowUp = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 14 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"nonzero\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"m5.993 4.047-3.905 4.09L.635 6.763 6.992 0l6.366 6.762-1.452 1.376-3.913-4.092V16h-2z\"\n}));\nvar ArrowUp$1 = ArrowUp;\n\nconst Arrows = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"g\", {\n fill: \"currentColor\",\n fillRule: \"nonzero\",\n stroke: \"none\",\n strokeWidth: 1\n}, /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"m12 14.186 2.724-2.477.686.726-3.875 3.524-3.875-3.524.686-.726L11 14.122V0h1zM5.038 1.805V16h-1V1.805L1.348 4.25l-.685-.727L4.538 0l3.875 3.523-.686.727z\"\n})));\nvar Arrows$1 = Arrows;\n\nconst BackToTop = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 11 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"g\", {\n fill: \"currentColor\",\n fillRule: \"nonzero\",\n stroke: \"none\",\n strokeWidth: 1\n}, /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M0 1V0h11v1zM5 4.984.862 9.357.135 8.67 5.502 3l5.363 5.673-.727.687-4.137-4.376V16H5z\"\n})));\nvar BackToTop$1 = BackToTop;\n\nconst CalendarAltRegular = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n className: \"svg-inline--fa fa-calendar-alt fa-w-14\",\n viewBox: \"0 0 448 512\",\n width: \"1em\",\n height: \"1em\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"M148 288h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12m108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12m96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12m-96 96v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12m-96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12m192 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12m96-260v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48m-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6\"\n}));\nvar CalendarAltRegular$1 = CalendarAltRegular;\n\nconst CaretDown = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 320 512\",\n width: \"1em\",\n height: \"1em\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"M320 240 160 384 0 240v-48h320z\"\n}));\nvar CaretDown$1 = CaretDown;\n\nconst CaretDownLegacy = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 10 5\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"m0 0 5 4.998L10 0z\"\n}));\nvar CaretDownLegacy$1 = CaretDownLegacy;\n\nconst CaretLeft = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 5 10\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"M4.998 10 0 5l4.998-5z\"\n}));\nvar CaretLeft$1 = CaretLeft;\n\nconst CaretRight = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 5 10\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"m0 10 4.998-5L0 0z\"\n}));\nvar CaretRight$1 = CaretRight;\n\nconst CaretUp = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 10 5\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"M0 5 5 .002 10 5z\"\n}));\nvar CaretUp$1 = CaretUp;\n\nconst Check = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 448 512\",\n width: \"1em\",\n height: \"1em\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"nonzero\",\n d: \"m447.9 142.5-23.2 22L181 395.3l-22 20.8-22-20.8L23.2 287.6 0 265.6l44-46.5 23.2 22L159 328l221.7-210 23.2-22z\"\n}));\nvar Check$1 = Check;\n\nconst Checkmark = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 10 8\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"nonzero\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"M8.498 0 10 1.502 3.672 7.83 0 4.158l1.502-1.502 2.17 2.17z\"\n}));\nvar Checkmark$1 = Checkmark;\n\nconst CheckmarkCircle = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8M6.7 11.5 3.4 8.1l1.4-1.4 1.9 1.9 4.1-4.1 1.4 1.4z\"\n}));\nvar CheckmarkCircle$1 = CheckmarkCircle;\n\nconst CheckmarkOutline = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n xmlSpace: \"preserve\",\n width: \"1em\",\n height: \"1em\",\n x: 0,\n y: 0,\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M8 14.5c3.6 0 6.5-2.9 6.5-6.5S11.6 1.5 8 1.5 1.5 4.4 1.5 8s2.9 6.5 6.5 6.5M8 16c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8\"\n}), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"m11.3 4.7 1.4 1.4L6.8 12 3.3 8.6l1.4-1.4 2.1 2z\"\n}));\nvar CheckmarkOutline$1 = CheckmarkOutline;\n\nconst ChevronDown = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 512 512\",\n width: \"1em\",\n height: \"1em\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"m256 429.3 22.6-22.6 192-192 22.7-22.7-45.3-45.3-22.6 22.6L256 338.7 86.6 169.4 64 146.7 18.7 192l22.6 22.6 192 192z\"\n}));\nvar ChevronDown$1 = ChevronDown;\n\nconst ChevronDownLegacy = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 12 7\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"nonzero\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"M6.002 5.55 11.27 0l.726.685L6.003 7 0 .685.726 0z\"\n}));\nvar ChevronDownLegacy$1 = ChevronDownLegacy;\n\nconst ChevronLeft = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 7 12\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"nonzero\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"M1.45 6.002 7 11.27l-.685.726L0 6.003 6.315 0 7 .726z\"\n}));\nvar ChevronLeft$1 = ChevronLeft;\n\nconst ChevronRight = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 7 12\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"nonzero\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"M5.569 5.994 0 .726.687 0l6.336 5.994-6.335 6.002L0 11.27z\"\n}));\nvar ChevronRight$1 = ChevronRight;\n\nconst ChevronUp = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 12 7\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"nonzero\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"M5.994 1.45.726 7 0 6.315 5.994 0l6.002 6.315L11.27 7z\"\n}));\nvar ChevronUp$1 = ChevronUp;\n\nconst Close = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 384 512\",\n width: \"1em\",\n height: \"1em\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"m326.6 166.6 22.7-22.6L304 98.7l-22.6 22.6-89.4 89.4-89.4-89.4L80 98.7 34.7 144l22.6 22.6 89.4 89.4-89.3 89.4L34.7 368 80 413.3l22.6-22.6 89.4-89.4 89.4 89.4 22.6 22.6 45.3-45.3-22.6-22.6-89.4-89.4 89.4-89.4z\"\n}));\nvar Close$1 = Close;\n\nconst CloseCircle = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8m3.5 10.1-1.4 1.4L8 9.4l-2.1 2.1-1.4-1.4L6.6 8 4.5 5.9l1.4-1.4L8 6.6l2.1-2.1 1.4 1.4L9.4 8z\"\n}));\nvar CloseCircle$1 = CloseCircle;\n\nconst CloseOutline = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n xmlSpace: \"preserve\",\n width: \"1em\",\n height: \"1em\",\n x: 0,\n y: 0,\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M8 14.5c3.6 0 6.5-2.9 6.5-6.5S11.6 1.5 8 1.5 1.5 4.4 1.5 8s2.9 6.5 6.5 6.5M8 16c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8\"\n}), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"m8 6.6 2.1-2.1 1.4 1.4L9.4 8l2.1 2.1-1.4 1.4L8 9.4l-2.1 2.1-1.4-1.4L6.6 8 4.5 5.9l1.4-1.4z\"\n}));\nvar CloseOutline$1 = CloseOutline;\n\nconst Cross = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 384 512\",\n width: \"1em\",\n height: \"1em\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"nonzero\",\n d: \"m326.6 166.6 22.7-22.6L304 98.7l-22.6 22.6-89.4 89.4-89.4-89.4L80 98.7 34.7 144l22.6 22.6 89.4 89.4-89.3 89.4L34.7 368 80 413.3l22.6-22.6 89.4-89.4 89.4 89.4 22.6 22.6 45.3-45.3-22.6-22.6-89.4-89.4 89.4-89.4z\"\n}));\nvar Cross$1 = Cross;\n\nconst Delete = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M5 0h6v2H5zM2 3v3h1v10h10V6h1V3zm5 11H5V7h2zm4 0H9V7h2z\"\n}));\nvar Delete$1 = Delete;\n\nconst Download = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"-1 2 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M8 9V2H6.1v7L3.5 6.5 2 8l5 5 5-5-1.5-1.5z\"\n}), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M13 12v3H1v-3h-2v6h16v-6z\"\n}));\nvar Download$1 = Download;\n\nconst Draggable = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 6 14\"\n}, props), /*#__PURE__*/reactExports.createElement(\"g\", {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n stroke: \"none\",\n strokeWidth: 1\n}, /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M0 0h2v2H0zM4 0h2v2H4zM0 6h2v2H0zM4 6h2v2H4zM0 12h2v2H0zM4 12h2v2H4z\"\n})));\nvar Draggable$1 = Draggable;\n\nconst EditGlyph = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"m2.032 10.924 7.99-7.99 2.97 2.97-7.99 7.99zM11.046 2.014l1.98-1.98 2.97 2.97-1.98 1.98zM0 16l3-1-2-2z\"\n}));\nvar EditGlyph$1 = EditGlyph;\n\nconst Ellipsis = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M9.5 8.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m5-1.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3m-13 0a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3\"\n}));\nvar Ellipsis$1 = Ellipsis;\n\nconst Error$1 = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"M8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16M4 4.65 11.35 12l.65-.65L4.65 4z\"\n}));\nvar Error$2 = Error$1;\n\nconst ErrorSolid = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"M8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16M3.293 4.707l8 8 1.414-1.414-8-8z\"\n}));\nvar ErrorSolid$1 = ErrorSolid;\n\nconst Facebook = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 320 512\",\n width: \"1em\",\n height: \"1em\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"m279.14 288 14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z\"\n}));\nvar Facebook$1 = Facebook;\n\nconst Favorite = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 15\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"m8.109 11.75-4.5 3.2c-.2.1-.5 0-.4-.3l1.5-5.1-4.6-3.2c-.2-.2-.1-.5.1-.5l5.5-.5 2-5.2c.1-.2.4-.2.5 0l2 5.2 5.5.5c.2 0 .3.3.1.4l-4.5 3.3 1.5 5.1c.1.2-.2.4-.4.3z\"\n}));\nvar Favorite$1 = Favorite;\n\nconst FavoriteOutline = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n \"data-name\": \"Layer 1\",\n viewBox: \"0 0 16 14\",\n width: \"1em\",\n height: \"1em\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M11.58 1a3.41 3.41 0 0 1 2.21 6L8 12.49 2.15 7a3.42 3.42 0 1 1 5-4.55L8 3.54l.81-1.12A3.43 3.43 0 0 1 11.58 1m0-1A4.39 4.39 0 0 0 8 1.84a4.41 4.41 0 1 0-6.51 5.88L8 13.87l6.46-6.08A4.42 4.42 0 0 0 11.58 0\"\n}));\nvar FavoriteOutline$1 = FavoriteOutline;\n\nconst FavoriteSolid = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n \"data-name\": \"Layer 1\",\n viewBox: \"0 0 16 14\",\n width: \"1em\",\n height: \"1em\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M1.49 7.72A4.41 4.41 0 1 1 8 1.84a4.42 4.42 0 1 1 6.44 6L8 13.87Z\"\n}));\nvar FavoriteSolid$1 = FavoriteSolid;\n\nconst Female = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 8 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M7.958 10.653 6.71 5.519a1.5 1.5 0 0 0-.668-.93A2.74 2.74 0 0 0 6.75 2.75 2.753 2.753 0 0 0 4 0a2.753 2.753 0 0 0-2.75 2.75c0 .706.268 1.35.707 1.838q-.075.046-.143.1c-.263.21-.447.503-.525.831L.042 10.653a1.5 1.5 0 0 0 1.46 1.847h.404v1.844c0 .913.743 1.656 1.656 1.656h.875c.914 0 1.657-.743 1.657-1.656V12.5h.404a1.5 1.5 0 0 0 1.46-1.847M4 1a1.75 1.75 0 1 1 0 3.5A1.75 1.75 0 0 1 4 1m2.5 10.5H5.094v2.844a.656.656 0 0 1-.657.656h-.875a.656.656 0 0 1-.656-.656V11.5H1.5a.5.5 0 0 1-.488-.61l1.25-5.14a.5.5 0 0 1 .488-.39h.386a2.75 2.75 0 0 0 1.728 0h.386a.5.5 0 0 1 .488.39l1.25 5.14a.5.5 0 0 1-.488.61\"\n}));\nvar Female$1 = Female;\n\nconst Filter = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"#231F20\",\n d: \"M5 0C3.7 0 2.6.8 2.2 2H0v2h2.2C2.6 5.2 3.7 6 5 6s2.4-.8 2.8-2H16V2H7.8C7.4.8 6.3 0 5 0m0 4c-.6 0-1-.4-1-1s.4-1 1-1 1 .4 1 1-.4 1-1 1M5 10c-1.3 0-2.4.8-2.8 2H0v2h2.2c.4 1.2 1.5 2 2.8 2s2.4-.8 2.8-2H16v-2H7.8c-.4-1.2-1.5-2-2.8-2m0 4c-.6 0-1-.4-1-1s.4-1 1-1 1 .4 1 1-.4 1-1 1\"\n}), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"#231F20\",\n d: \"M11 5c-1.3 0-2.4.8-2.8 2H0v2h8.2c.4 1.2 1.5 2 2.8 2s2.4-.8 2.8-2H16V7h-2.2c-.4-1.2-1.5-2-2.8-2m0 4c-.6 0-1-.4-1-1s.4-1 1-1 1 .4 1 1-.4 1-1 1\"\n}));\nvar Filter$1 = Filter;\n\nconst HeaderAvatar = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 20 20\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"nonzero\",\n d: \"M6 15.745A6.97 6.97 0 0 0 10 17a6.97 6.97 0 0 0 4-1.255V15.5a2.5 2.5 0 0 0-2.5-2.5h-3A2.5 2.5 0 0 0 6 15.5zm-.956-.802A3.5 3.5 0 0 1 8.5 12h3a3.5 3.5 0 0 1 3.456 2.943 7 7 0 1 0-9.912 0M10 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16\"\n}), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"nonzero\",\n d: \"M10 10a2 2 0 1 0 0-4 2 2 0 0 0 0 4m0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6\"\n}));\nvar HeaderAvatar$1 = HeaderAvatar;\n\nconst HeaderChevron = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 20 20\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"nonzero\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"m6.542 4.945.707-.707 6.004 6.004-6.004 6.02-.708-.707 5.298-5.312z\"\n}));\nvar HeaderChevron$1 = HeaderChevron;\n\nconst HeaderSearch = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 20 20\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"nonzero\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"M8.5 14a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11m4.936-1.27 4.418 4.416-.708.708-4.417-4.418a6.5 6.5 0 1 1 .707-.707\"\n}));\nvar HeaderSearch$1 = HeaderSearch;\n\nconst Help = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"M12 2c5.5 0 10 4.5 10 10s-4.5 10-10 10S2 17.5 2 12 6.5 2 12 2m0-2C5.4 0 0 5.4 0 12s5.4 12 12 12 12-5.4 12-12S18.6 0 12 0\"\n}), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"M8.3 10c.2-2 1.5-3.5 3.7-3.5 2.8 0 3.7 1.8 3.7 2.9 0 2.9-2.5 2.5-2.7 4.3V15h-2v-1c.2-2.6 2.4-2.8 2.3-4.4 0-.9-.5-1.3-1.3-1.3-1 0-1.5.8-1.5 1.7zm2.7 6h2v2h-2z\"\n}));\nvar Help$1 = Help;\n\nconst HelpGlyph = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"#231F20\",\n d: \"M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8m.9 13H7v-1.8h1.9zm-.1-3.6v.5H7.1v-.6c.2-2.1 2-1.9 1.9-3.2.1-.7-.3-1.1-1-1.1-.8 0-1.2.7-1.2 1.6H5c0-1.7 1.2-3 2.9-3 2.3 0 3 1.4 3 2.3.1 2.3-1.9 2-2.1 3.5\"\n}));\nvar HelpGlyph$1 = HelpGlyph;\n\nconst HelpOutline = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"g\", {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n stroke: \"none\",\n strokeWidth: 1\n}, /*#__PURE__*/reactExports.createElement(\"path\", {\n fillRule: \"nonzero\",\n d: \"M8 14.5a6.5 6.5 0 1 0 0-13 6.5 6.5 0 0 0 0 13M8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16\"\n}), /*#__PURE__*/reactExports.createElement(\"path\", {\n fillRule: \"nonzero\",\n d: \"M8.75 9.364V10.5h-1.5V7.863h1.5A1.682 1.682 0 0 0 8.678 4.5h-.996C6.753 4.5 6 5.253 6 6.182H4.5A3.18 3.18 0 0 1 7.682 3h.996a3.182 3.182 0 0 1 .072 6.364\"\n}), /*#__PURE__*/reactExports.createElement(\"circle\", {\n cx: 8,\n cy: 13,\n r: 1\n})));\nvar HelpOutline$1 = HelpOutline;\n\nconst Home = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 576 512\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"M575.8 255.5c0 18-15 32.1-32 32.1h-32l.7 160.2c0 2.7-.2 5.4-.5 8.1V472c0 22.1-17.9 40-40 40h-16c-1.1 0-2.2 0-3.3-.1-1.4.1-2.8.1-4.2.1H392c-22.1 0-40-17.9-40-40v-88c0-17.7-14.3-32-32-32h-64c-17.7 0-32 14.3-32 32v88c0 22.1-17.9 40-40 40h-55.9c-1.5 0-3-.1-4.5-.2-1.2.1-2.4.2-3.6.2h-16c-22.1 0-40-17.9-40-40V360c0-.9 0-1.9.1-2.8v-69.6H32c-18 0-32-14-32-32.1 0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7l255.4 224.5c8 7 12 15 11 24\"\n}));\nvar Home$1 = Home;\n\nconst Info = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"M12 2c5.5 0 10 4.5 10 10s-4.5 10-10 10S2 17.5 2 12 6.5 2 12 2m0-2C5.4 0 0 5.4 0 12s5.4 12 12 12 12-5.4 12-12S18.6 0 12 0\"\n}), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"M14 10H9v2h2v4H9v2h7v-2h-2z\"\n}), /*#__PURE__*/reactExports.createElement(\"circle\", {\n cx: 12.5,\n cy: 7.5,\n r: 1.5,\n fill: \"currentColor\"\n}));\nvar Info$1 = Info;\n\nconst InfoCircle = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8m0 4c.6 0 1 .4 1 1s-.4 1-1 1-1-.4-1-1 .4-1 1-1m2 8H6v-1h1V8H6V7h3v4h1z\"\n}));\nvar InfoCircle$1 = InfoCircle;\n\nconst InfoOutline = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"g\", {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n stroke: \"none\",\n strokeWidth: 1\n}, /*#__PURE__*/reactExports.createElement(\"path\", {\n fillRule: \"nonzero\",\n d: \"M8 14.5a6.5 6.5 0 1 0 0-13 6.5 6.5 0 0 0 0 13M8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16\"\n}), /*#__PURE__*/reactExports.createElement(\"path\", {\n fillRule: \"nonzero\",\n d: \"M9 13H7V7h2z\"\n}), /*#__PURE__*/reactExports.createElement(\"circle\", {\n cx: 8,\n cy: 4,\n r: 1\n})));\nvar InfoOutline$1 = InfoOutline;\n\nconst InfoSolid = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"M8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16m1-3V7H7v6zM8 5a1 1 0 1 0 0-2 1 1 0 0 0 0 2\"\n}));\nvar InfoSolid$1 = InfoSolid;\n\nconst Instagram = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 448 512\",\n width: \"1em\",\n height: \"1em\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141m0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7m146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8m76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8M398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1\"\n}));\nvar Instagram$1 = Instagram;\n\nconst LinkedIn = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 448 512\",\n width: \"1em\",\n height: \"1em\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3M447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z\"\n}));\nvar LinkedIn$1 = LinkedIn;\n\nconst Locked = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"nonzero\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"M4.5 7V3.5a3.5 3.5 0 0 1 7 0V7h1A1.5 1.5 0 0 1 14 8.5v6a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 2 14.5v-6A1.5 1.5 0 0 1 3.5 7zm1 0h5V3.5a2.5 2.5 0 0 0-5 0zm-2 1a.5.5 0 0 0-.5.5v6a.5.5 0 0 0 .5.5h9a.5.5 0 0 0 .5-.5v-6a.5.5 0 0 0-.5-.5z\"\n}));\nvar Locked$1 = Locked;\n\nconst Male = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 8 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M6.21 4.384c.34-.458.54-1.023.54-1.634A2.753 2.753 0 0 0 4 0a2.753 2.753 0 0 0-2.75 2.75c0 .611.2 1.176.54 1.634A2.32 2.32 0 0 0 .25 6.562v3.282A1.66 1.66 0 0 0 1.5 11.45v2.894c0 .913.743 1.656 1.656 1.656h1.688c.913 0 1.656-.743 1.656-1.656V11.45a1.66 1.66 0 0 0 1.25-1.606V6.563c0-1.004-.643-1.86-1.54-2.18M4 1a1.75 1.75 0 1 1 0 3.5A1.75 1.75 0 0 1 4 1m2.75 8.844a.656.656 0 0 1-.656.656H5.5v3.844a.656.656 0 0 1-.656.656H3.156a.656.656 0 0 1-.656-.656V10.5h-.594a.656.656 0 0 1-.656-.656V6.563c0-.725.588-1.313 1.313-1.313h.292c.71.326 1.55.34 2.29 0h.293c.724 0 1.312.588 1.312 1.313z\"\n}));\nvar Male$1 = Male;\n\nconst Menu = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 20 14\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"M0 0h20v2H0zM0 6h20v2H0zM0 12h20v2H0z\"\n}));\nvar Menu$1 = Menu;\n\nconst OverflowMenu = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 3 15\"\n}, props), /*#__PURE__*/reactExports.createElement(\"g\", {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n stroke: \"none\",\n strokeWidth: 1\n}, /*#__PURE__*/reactExports.createElement(\"circle\", {\n cx: 1.5,\n cy: 1.5,\n r: 1.5\n}), /*#__PURE__*/reactExports.createElement(\"circle\", {\n cx: 1.5,\n cy: 7.5,\n r: 1.5\n}), /*#__PURE__*/reactExports.createElement(\"circle\", {\n cx: 1.5,\n cy: 13.5,\n r: 1.5\n})));\nvar OverflowMenu$1 = OverflowMenu;\n\nconst Play = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 21 24\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"m0 24 21-12L0 0z\"\n}));\nvar Play$1 = Play;\n\nconst Print = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M12.5 8.25a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5m1-2.75V3.121a1.5 1.5 0 0 0-.44-1.06L11.44.439A1.5 1.5 0 0 0 10.378 0H3.453C2.926 0 2.5.448 2.5 1v4.5A2.5 2.5 0 0 0 0 8v4a.5.5 0 0 0 .5.5h2v3a.5.5 0 0 0 .5.5h10a.5.5 0 0 0 .5-.5v-3h2a.5.5 0 0 0 .5-.5V8a2.5 2.5 0 0 0-2.5-2.5M4 1.5h6V3a.5.5 0 0 0 .5.5H12v2H4zm8 13H4v-2h8zm2.5-3.5h-13V8c0-.551.449-1 1-1h11c.551 0 1 .449 1 1z\"\n}));\nvar Print$1 = Print;\n\nconst Search = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"M11.435 10.063h-.728l-.251-.252a5.9 5.9 0 0 0 1.437-3.865 5.946 5.946 0 1 0-5.947 5.947 5.9 5.9 0 0 0 3.865-1.432l.252.251v.723L14.637 16 16 14.637zm-5.489 0a4.117 4.117 0 1 1 0-8.234 4.117 4.117 0 0 1 0 8.234\"\n}));\nvar Search$1 = Search;\n\nconst SearchSolid = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"M6 2c2.2 0 4 1.8 4 4s-1.8 4-4 4-4-1.8-4-4 1.8-4 4-4m0-2C2.7 0 0 2.7 0 6s2.7 6 6 6 6-2.7 6-6-2.7-6-6-6M16 13.8 13.8 16l-3.6-3.6 2.2-2.2z\"\n}), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"M16 13.8 13.8 16l-3.6-3.6 2.2-2.2z\"\n}));\nvar SearchSolid$1 = SearchSolid;\n\nconst Settings = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"-1 2 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M13.1 10c0-.3 0-.6-.1-1l2-1.7-1.7-2.7-2.3.8c-.6-.5-1.2-.9-1.9-1.1L8.6 2H5.4l-.5 2.2c-.7.3-1.4.7-1.9 1.2L.7 4.6-1 7.3.9 9c0 .3-.1.6-.1 1s0 .6.1 1L-1 12.7l1.7 2.7 2.3-.8c.6.5 1.2.9 1.9 1.1l.5 2.3h3.2l.5-2.2c.7-.3 1.3-.6 1.9-1.1l2.3.8 1.7-2.7-1.9-1.8zM7 12c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2\"\n}));\nvar Settings$1 = Settings;\n\nconst StarSolid = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 15\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"M7.998 0 5.5 5 0 5.75l4 4L3 15l4.998-2.5L13 15l-1-5.25 4-4.005L10.5 5z\"\n}));\nvar StarSolid$1 = StarSolid;\n\nconst Subtract = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8m4 7v2H4V7\"\n}));\nvar Subtract$1 = Subtract;\n\nconst SubtractOutline = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"g\", {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n stroke: \"none\",\n strokeWidth: 1\n}, /*#__PURE__*/reactExports.createElement(\"path\", {\n fillRule: \"nonzero\",\n d: \"M8 14.5a6.5 6.5 0 1 0 0-13 6.5 6.5 0 0 0 0 13M8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16\"\n}), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M4 7h8v2H4z\"\n})));\nvar SubtractOutline$1 = SubtractOutline;\n\nconst TikTok = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 448 512\",\n width: \"1em\",\n height: \"1em\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M448 209.91a210.06 210.06 0 0 1-122.77-39.25v178.72A162.55 162.55 0 1 1 185 188.31v89.89a74.62 74.62 0 1 0 52.23 71.18V0h88a121 121 0 0 0 1.86 22.17A122.18 122.18 0 0 0 381 102.39a121.43 121.43 0 0 0 67 20.14Z\"\n}));\nvar TikTok$1 = TikTok;\n\nconst Twitter = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 512 512\",\n width: \"1em\",\n height: \"1em\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253\"\n}));\nvar Twitter$1 = Twitter;\n\nconst Upload = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"m5 6.6 1.2 1.1L11 3v13h2V3l4.8 4.7L19 6.6 12 0z\"\n}), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"M22 14v6H2v-6H0v10h24V14z\"\n}));\nvar Upload$1 = Upload;\n\nconst User = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 448 512\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"M224 256a128 128 0 1 0 0-256 128 128 0 1 0 0 256m-45.7 48C79.8 304 0 383.8 0 482.3 0 498.7 13.3 512 29.7 512h388.6c16.4 0 29.7-13.3 29.7-29.7 0-98.5-79.8-178.3-178.3-178.3z\",\n opacity: 1\n}));\nvar User$1 = User;\n\nconst WarningAlt = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n xmlSpace: \"preserve\",\n width: \"1em\",\n height: \"1em\",\n x: 0,\n y: 0,\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M14.5 14h-13c-.2 0-.3-.1-.4-.2-.1-.2-.1-.3 0-.5l6.5-12c.1-.3.4-.4.6-.2.1 0 .2.1.2.2l6.5 12c.1.2.1.3 0 .5 0 .1-.2.2-.4.2M2.3 13h11.3L8 2.5z\"\n}), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M7.5 6h1v3.5h-1zM8 10.8c-.4 0-.8.3-.8.8s.3.8.8.8c.4 0 .8-.3.8-.8s-.4-.8-.8-.8\"\n}), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M0 0h16v16H0z\",\n style: {\n fill: \"none\"\n }\n}));\nvar WarningAlt$1 = WarningAlt;\n\nconst WarningFilled = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n xmlSpace: \"preserve\",\n width: \"1em\",\n height: \"1em\",\n x: 0,\n y: 0,\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M0 0h16v16H0z\",\n style: {\n fill: \"none\"\n }\n}), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M8 1C4.2 1 1 4.2 1 8s3.2 7 7 7 7-3.1 7-7-3.1-7-7-7m-.5 3h1v5h-1zm.5 8.2c-.4 0-.8-.4-.8-.8s.3-.8.8-.8c.4 0 .8.4.8.8s-.4.8-.8.8\"\n}));\nvar WarningFilled$1 = WarningFilled;\n\nconst WarningOutline = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"g\", {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n stroke: \"none\",\n strokeWidth: 1\n}, /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M7.25 6h1.5v5h-1.5z\"\n}), /*#__PURE__*/reactExports.createElement(\"circle\", {\n cx: 8,\n cy: 12.75,\n r: 1\n}), /*#__PURE__*/reactExports.createElement(\"path\", {\n fillRule: \"nonzero\",\n d: \"M.75 16a.75.75 0 0 1-.67-1.085L7.33.415a.75.75 0 0 1 1.34 0l7.25 14.5A.75.75 0 0 1 15.25 16zm1.214-1.5h12.072L8 2.427z\"\n})));\nvar WarningOutline$1 = WarningOutline;\n\nconst WarningSolid = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"nonzero\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"M.75 16a.75.75 0 0 1-.67-1.085L7.33.415a.75.75 0 0 1 1.34 0l7.25 14.5A.75.75 0 0 1 15.25 16zm6.5-10v5h1.5V6zM8 13.5A.75.75 0 1 0 8 12a.75.75 0 0 0 0 1.5\"\n}));\nvar WarningSolid$1 = WarningSolid;\n\nconst WfpLogoAcronym = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 57 20\",\n width: \"1em\",\n height: \"1em\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fillRule: \"evenodd\",\n d: \"M47.303 9.618h1.368q1.917 0 2.871-.76.951-.758.952-2.206 0-1.462-.798-2.159-.799-.699-2.502-.7h-1.891zm9.39-3.114q0 3.167-1.979 4.842-1.979 1.679-5.627 1.678h-1.784V20h-4.159V.386h6.264q3.568 0 5.426 1.538 1.86 1.535 1.859 4.58M33.185 20h-4.09V.386h11.241v3.407h-7.151v5.06h6.655v3.394h-6.655zm-11.613 0h-4.736L14.18 9.697q-.148-.55-.503-2.274-.356-1.725-.409-2.313-.081.725-.402 2.327a53 53 0 0 1-.497 2.288L9.726 20H5.005L0 .386h4.092l2.509 10.706q.657 2.965.952 5.139.08-.766.369-2.367.288-1.606.544-2.489L11.322.386h3.931l2.858 10.989q.188.737.47 2.253.28 1.516.429 2.603.133-1.048.428-2.61a48 48 0 0 1 .538-2.529L22.47.386h4.092z\"\n}));\nvar WfpLogoAcronym$1 = WfpLogoAcronym;\n\nconst WfpLogoEmblem = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 57 57\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fillRule: \"evenodd\",\n d: \"M35.956 3.715h.55q.772 0 1.156-.306.383-.305.384-.887 0-.588-.322-.87-.321-.281-1.007-.282h-.761zm3.78-1.253q0 1.275-.797 1.949-.796.676-2.264.675h-.72v2.809h-1.673V0h2.521q1.437 0 2.185.618.748.619.748 1.844m-9.589 5.433h-1.646V0h4.526v1.37h-2.88v2.037h2.68v1.367h-2.68zm-4.55 0h-1.905l-1.07-4.148a19 19 0 0 1-.202-.915q-.143-.694-.164-.932a12 12 0 0 1-.162.937q-.13.646-.2.921L20.83 7.895h-1.9L16.915 0h1.647l1.01 4.308q.264 1.195.383 2.07.03-.308.15-.954.114-.645.217-1.001L21.472 0h1.583l1.15 4.423q.075.296.19.906.112.612.172 1.048.054-.421.172-1.05.12-.627.216-1.019L25.96 0h1.647zm-4.093 27.461c-3.068 0-5.037.728-5.574.954-.033.014-.058-.031-.035-.056 3.373-3.504 7.319-3.311 8.268-3.311h11.223c.565 0 1.023.54 1.023 1.208 0 .665-.458 1.205-1.023 1.205zm2.527 3.102c-3.304 0-4.268-1.878-9.27-.639-.036.01-.059-.038-.03-.058 2.79-1.913 5.823-1.74 7.05-1.74h13.605c.565 0 1.023.54 1.023 1.206s-.458 1.206-1.023 1.206c0 0-8.738.025-11.355.025m.236 3.053c-3.394 0-3.665-2.503-8.694-3.067-.035-.004-.04-.057-.005-.065 4.132-1.033 5.67.72 8.081.72h11.737c.565 0 1.023.54 1.023 1.206s-.458 1.206-1.023 1.206zm-.737-9.233c-2.731 0-4.995 1.192-5.525 1.492-.03.017-.06-.019-.04-.046.443-.652 2.835-3.858 6.948-3.858h10.473c.565 0 1.023.54 1.023 1.207 0 .665-.458 1.205-1.023 1.205zm15.022-6.66a.76.76 0 0 0-.446-.207.74.74 0 0 0-.364.044 1.1 1.1 0 0 0 .103-.331.87.87 0 0 0-.085-.516c-.337-.74.629-2.221.507-2.287-.117-.065-.665 1.568-1.198 2.228a.93.93 0 0 0-.2.491.9.9 0 0 0 .086.516c.074.134.188.227.32.235a.3.3 0 0 0 .108-.006.3.3 0 0 0-.019.06.46.46 0 0 0 .143.39c.106.111.26.187.443.208a.77.77 0 0 0 .496-.094c.723-.395 2.222-.785 2.19-.924-.028-.138-1.49.72-2.084.192m1.106-1.08a.64.64 0 0 0-.41-.2.7.7 0 0 0-.27.043c.014-.047.033-.086.038-.132a.74.74 0 0 0-.102-.464c-.367-.681.59-1.967.466-2.03-.124-.065-.65 1.375-1.181 1.944a.7.7 0 0 0-.2.427.78.78 0 0 0 .101.468.5.5 0 0 0 .341.23.5.5 0 0 0 .18-.021c-.003.008-.011.018-.009.026a.53.53 0 0 0 .14.401.64.64 0 0 0 .407.195.62.62 0 0 0 .435-.117c.623-.45 2.047-.716 2.01-.86-.033-.14-1.397.614-1.946.09m.968-.999a.55.55 0 0 0-.39-.104.5.5 0 0 0-.198.05c.01-.03.029-.053.039-.083a.7.7 0 0 0-.024-.432c-.233-.668.797-1.656.696-1.737-.1-.075-.767 1.123-1.316 1.545a.65.65 0 0 0-.232.355.64.64 0 0 0 .021.43c.056.126.145.22.267.257.092.029.184.01.271-.027a.4.4 0 0 0-.024.17c.014.137.08.252.188.332a.57.57 0 0 0 .757-.067c.494-.5 1.723-.966 1.673-1.087-.053-.12-1.158.77-1.728.398m1.905-2.145c-.103-.152-.963.79-1.6.881a.67.67 0 0 0-.36.18.7.7 0 0 0-.223.362.38.38 0 0 0 .056.326c.071.087.18.124.301.11a.65.65 0 0 0 .367-.181.75.75 0 0 0 .215-.358c.193-.647 1.32-1.222 1.244-1.32m-17.79 1.277c-.026.093-.211.82-.211.82-.052.03-.274-.02-.333-.024-.424-.04-.803-.41-.64-.85.132-.36.406-.398.752-.414.143-.006.402.028.53.118 0 0-.05.166-.098.35m-.487 2.193q-.022.124-.04.249c-.264-.166-.42-.545-.293-.845.097-.227.339-.286.517-.296q-.097.444-.184.892m-.38 2.712c-.035.186-.286.21-.458.261-.499.15-.97.086-1.124-.51-.166-.638.317-.905.834-1.03.283-.067.543-.012.736.226.049.06.106.113.12.17 0 0-.077.707-.109.883m-1.571-3.14c.385-.092.783-.237 1.079.143.312.397.209 1.035-.293 1.204-.33.112-.728.208-1.01-.061-.37-.353-.343-1.154.224-1.286m-.377-2.067c.406-.099.825-.248 1.137.15.325.416.216 1.09-.309 1.266-.347.114-.768.216-1.063-.067-.388-.369-.36-1.21.235-1.35m-.377 4.469c-.106.372-.412.427-.734.506-.211-.26-.778-.915-.788-.993a.2.2 0 0 1 .012-.09c.026-.078.116-.152.182-.194.193-.126.604-.22.826-.174.398.085.608.572.502.945m-2.017-1.91c-.29-1.029 1.436-1.477 1.702-.468.275 1.038-1.467 1.478-1.702.469m-.253-2.054c-.296-1.023 1.438-1.472 1.705-.468.274 1.04-1.47 1.48-1.705.468m-.243-2.02c-.282-.953 1.346-1.376 1.594-.436.256.968-1.372 1.385-1.594.436m-.165 3.888c-.08.047-.111.072-.137.072l-.775-.842c.01-.024.249-.198.328-.244.644-.358 1.174.666.584 1.014m-1.47-1.898c-.383-.844 1.01-1.76 1.432-.85.388.84-1.005 1.771-1.432.85m1.17-2.674c.442.783-.886 1.657-1.266.814-.338-.726.843-1.573 1.267-.814m-1.112-1.825c.195-.173.422-.266.654-.155.372.18.382.737.058.96-.148.101-.398.227-.58.181-.399-.101-.475-.682-.132-.986m.05-1.678c.161-.109.375-.206.56-.13.335.137.323.625.051.82-.123.088-.347.198-.498.158-.34-.086-.425-.638-.113-.848m.892-2.39c.2-.108.488-.153.667.047a.47.47 0 0 1-.134.738c-.214.107-.502.147-.67-.05a.483.483 0 0 1 .137-.736m-.159 1.816c-.16-.598.847-.88 1.01-.273.183.592-.849.885-1.01.273m1.626 1.045c.234.646-.86 1.013-1.075.374-.218-.647.882-1.016 1.075-.374m.137-3.15c.209-.084.477-.173.71 0 .29.217.227.705-.106.857-.22.1-.499.166-.694-.007-.248-.222-.261-.709.09-.85m-.192 5.41c-.296.07-.606.187-.851-.067-.314-.323-.223-.89.201-1.044.275-.105.622-.163.847.066.287.295.256.935-.197 1.045m.005-3.302c-.19-.641.854-.97 1.055-.348.205.64-.876.978-1.055.348m1.75 1.175c.244.732-.993 1.122-1.22.401-.23-.736 1.015-1.128 1.22-.4m.065-1.96c.218-.059.449-.037.615.14.253.273.166.738-.21.808-.175.032-.447.019-.585-.102-.248-.219-.236-.735.18-.846m1.055 1.536c.398 0 .6.585.367.876-.14.177-.44.187-.646.156-.38-.06-.624-.548-.367-.88.155-.2.422-.152.646-.152m-1.912 2.41c-.247-.842 1.184-1.219 1.403-.383.222.85-1.216 1.225-1.403.383m.876 1.076c.39-.04.797-.13 1.036.278.25.433.063 1.034-.442 1.136-.334.069-.737.101-.975-.194-.311-.389-.187-1.167.38-1.22m1.985-1.874c.482.199.645.768.305 1.086-.182.166-.515.133-.74.088-.448-.088-.741-.762-.348-1.082.202-.164.563-.184.783-.092m.758 2.029c.304.372.19 1.028-.34 1.06-.277.017-.639-.016-.826-.243-.3-.363-.187-1.044.343-1.063.277-.01.636.02.823.246m2.05-6.7a.12.12 0 0 0-.134-.05c-.064.02-.106.09-.082.151 1.212 3.255-.335 4.857-.981 7.136-.776-1.851 1.794-3.593.47-6.967a.14.14 0 0 0-.101-.085c-.065-.01-.129.018-.14.106-.034.238-.19 2.107-1.707 3.203a3 3 0 0 0-.707-1.026c-.14-.63-.55-1.496-1.417-1.752-.13-.326-.39-.794-.891-1.045-.473-.235-1.02-.213-1.626.062-.734.085-1.238.371-1.504.849-.25.451-.206.943-.122 1.278-.617.66-.646 1.636-.63 2.02-.367.88-.161 1.909-.045 2.336-.438 1.198-.01 2.359.16 2.744q.002.154.011.303c-1.435-1.572-4.702-3.517-5.95-4.26a.15.15 0 0 0-.182.022.155.155 0 0 0-.008.219c2.784 2.715 5.268 6.065 7.653 13.016 1.189-1.238 3.34-2.864 6.401-2.864h3.58c-2.274-8.474 1.037-11.506-2.048-15.396m16.928 4.381c-.655-.17-4.834-.91-9.518 7.705.683-3.209 2.76-7.09 3.33-8.218v-.008a.155.155 0 0 0-.042-.192.135.135 0 0 0-.19.035c-3.096 5.161-4.183 8.134-4.823 11.693h1.938c.33-3.43 4.663-11.512 9.28-10.91h.007c.026.005.049-.017.052-.04a.048.048 0 0 0-.034-.065M34.06 46.555l-1.047-4.38h-1.784c.283 1.112.687 2.243 1.21 3.233.033.059.096.095.16.084.084-.011.15-.1.134-.191-.121-.926-.266-1.821-.403-2.714.377 1.403.887 2.773 1.573 4.035.018.04.058.058.094.045.05-.01.077-.064.063-.112m1.803-1.988c-.182-.732-.372-1.63-.536-2.391h-.677c.263.812.62 1.718.936 2.493.032.075.103.112.172.093a.16.16 0 0 0 .105-.195m.226 2.575-.005-.01c-.219-.613-.521-1.16-.762-1.748a23 23 0 0 1-.71-1.767c-.172-.453-.354-.97-.493-1.441h-.655c.185.548.425 1.138.65 1.667.492 1.194 1.062 2.365 1.788 3.411a.1.1 0 0 0 .124.036c.058-.023.084-.089.063-.148m.98-21.014c-.05-.075-.171-.091-.23-.03a13.4 13.4 0 0 0-2.158 3.086h.707c.353-.83 1.15-2.298 1.663-2.827l.005-.005a.18.18 0 0 0 .013-.224m-5.382-6.078c.653-1.074 1.624-1.897 2.448-2.89a.1.1 0 0 0-.008-.129.084.084 0 0 0-.119-.003 12 12 0 0 1-.583.575c-.087-.043-.309.042-.533.218-.177.14-.304.295-.349.406-.113-.026-.327.108-.519.353-.158.207-.25.423-.249.556-.12.01-.298.166-.447.412-.099.163-.162.32-.183.451a1.2 1.2 0 0 0-.311.355c-.135.225-.203.452-.182.583q-.049.083-.09.166l.016-.134c.193-1.52.472-3.027.897-4.48.427-1.449.94-2.91 1.818-4.082l.005-.006a.17.17 0 0 0-.016-.211.14.14 0 0 0-.206-.003 6.7 6.7 0 0 0-.788 1.056c-.1-.054-.312.144-.473.454-.147.28-.2.539-.145.638 0 0-.002.009-.008.005-.105-.045-.3.19-.419.505-.116.297-.138.57-.058.66q-.006.008-.008.014c-.119-.043-.312.227-.43.61-.098.323-.108.602-.038.715.006.005 0 .02-.005.016-.121-.043-.305.235-.414.614-.108.366-.1.69.003.753-.119-.013-.285.265-.372.642-.08.326-.071.606.005.719-.117.034-.245.306-.312.66-.063.344-.03.63.054.721-.109.056-.22.336-.26.684-.039.345.011.627.1.719-.089.1-.176.342-.212.63-.037.275-.014.513.039.647-.098.082-.172.36-.174.695-.008.266.031.493.1.624-.053.134-.09.329-.09.545-.005.281.04.52.11.646-.02.987-.006 2.036.046 3.025h2.13c.015-.77.065-1.608.142-2.37.151-1.356.374-2.735 1.053-3.895l.005-.008a.11.11 0 0 0-.013-.128c-.04-.035-.096-.035-.132.008-.92 1.069-1.325 2.52-1.562 3.911a21 21 0 0 0-.108.82c.057-1.116.16-2.228.416-3.286.294-1.288.879-2.514 1.995-3.2a.1.1 0 0 0 .04-.113.093.093 0 0 0-.111-.066c-.07.02-.137.059-.205.088-.075-.091-.346-.024-.626.155-.266.173-.443.387-.425.505 0 .005-.013.013-.013.002q-.002-.02-.013-.034c-.1-.083-.37.104-.596.422-.23.318-.32.65-.223.735.006.002.003.01-.002.01-.118-.047-.316.222-.44.6-.09.263-.112.507-.08.646q-.002.009-.004.01c-.093.304-.17.612-.24.924.025-.44.065-.884.128-1.322.188-1.261.568-2.495 1.244-3.548m6.699-3.516a.75.75 0 0 0-.489-.038.8.8 0 0 0-.327.171.9.9 0 0 0-.018-.347.84.84 0 0 0-.253-.451c-.576-.574-.18-2.304-.315-2.325-.132-.018-.084 1.705-.356 2.512a.9.9 0 0 0-.018.532c.047.19.142.35.26.453.114.1.252.145.38.105a.2.2 0 0 0 .098-.043q0 .033.003.064c.03.142.13.251.267.315.14.067.311.083.49.038a.8.8 0 0 0 .43-.262c.541-.628 1.813-1.523 1.737-1.643-.076-.117-1.15 1.202-1.89.92m2.458-2.177c-.081-.118-1.1 1.07-1.794.775a.64.64 0 0 0-.453-.043.7.7 0 0 0-.238.133c-.002-.048 0-.09-.01-.133a.7.7 0 0 0-.256-.4c-.581-.508-.125-2.053-.261-2.069-.14-.016-.138 1.52-.439 2.242a.7.7 0 0 0-.037.47c.042.17.138.313.257.403a.49.49 0 0 0 .396.094.5.5 0 0 0 .16-.083q-.002.013 0 .026a.53.53 0 0 0 .272.329.65.65 0 0 0 .815-.224c.43-.644 1.67-1.397 1.588-1.52m.251-1.488c-.09-.094-.82 1.13-1.483.983a.55.55 0 0 0-.4.04.6.6 0 0 0-.17.118c0-.03.008-.06.008-.09a.68.68 0 0 0-.172-.397c-.445-.545.175-1.835.057-1.875-.122-.035-.333 1.322-.702 1.913a.63.63 0 0 0-.096.414c.01.157.077.3.17.398a.43.43 0 0 0 .337.144.37.37 0 0 0 .245-.12q-.002.08.038.169a.44.44 0 0 0 .287.242c.124.04.272.03.403-.034a.6.6 0 0 0 .286-.294c.29-.644 1.279-1.518 1.192-1.611m-.438-1.7c-.15-.106-.627 1.082-1.195 1.392a.7.7 0 0 0-.277.296.72.72 0 0 0-.08.418.37.37 0 0 0 .165.286.32.32 0 0 0 .316-.003.749.749 0 0 0 .36-.714c-.041-.672.817-1.607.711-1.675M30.243 42.176h-5.976a6 6 0 0 1-1.11-.092c.983 1.46 2.521 2.566 4.08 3.308.24 1.33.542 2.562.65 2.659.11.095 1.641-.345 1.688-.487.044-.14-.625-2.42-.625-2.42.804-1.382 1.053-2.196 1.293-2.968M45.278 52.4c-1.51.596-3.478.647-5.085.22-3.681-1.147-7.768-3.319-11.692-1.516-3.924-1.803-8.01.37-11.692 1.515-1.606.428-3.575.377-5.084-.219a.038.038 0 0 0-.037.067c2.171 1.68 5.214 2.453 7.953 1.463 2.63-.819 4.855-3.605 7.97-2.417-2.466.965-4.772 2.744-6.554 4.424L22.353 57c1.618-1.883 3.438-3.766 5.499-4.913.282-.165.451-.232.65-.243.197.011.365.078.646.243 2.063 1.147 3.884 3.03 5.502 4.913l1.295-1.063c-1.781-1.68-4.087-3.46-6.555-4.424 3.117-1.188 5.341 1.598 7.972 2.417 2.739.99 5.781.217 7.952-1.463.034-.03.006-.083-.036-.067m-24.26-2.538c-3.847-.933-4.9-4.54-8.117-6.105-.034-.018-.071.023-.05.054 1.014 1.667 1.562 4.22 4.483 5.795.024.012.011.05-.015.042-4.19-.806-5.95.315-10.342-1.67-.036-.016-.076.024-.052.06 1.444 2.094 4.868 3.526 9.56 3.13 1.689-.143 2.912-.854 4.533-1.233.04-.011.04-.066 0-.073M12.96 47.65c-1.462-1.915-1.045-6.004-4.346-9.747-.027-.03-.074-.006-.066.031.63 2.757.443 5.889 2.169 8.183.016.024-.008.048-.032.032-3.404-2.68-6.903-3.486-8.46-5.655-.023-.03-.07-.013-.066.024.386 2.808 5.78 7.184 10.771 7.192.03 0 .049-.034.03-.06m-5.11-5.091c-1.568-2.907.305-7.342-1.474-11.651-.018-.045-.087-.034-.087.014-.053 2.353-1.514 5.867-.63 8.52.01.023-.022.036-.035.015C3.373 36.167 1.587 35.481.1 32.47c-.02-.045-.09-.033-.092.016-.095 2.046.81 3.714 1.83 5.263A17.5 17.5 0 0 0 7.8 42.611c.034.016.065-.019.05-.053M6.784 24.856c-.003-.048-.066-.064-.09-.022-1.195 2.237-3.324 4.016-3.392 6.969-.003.029-.036.031-.04.005-.389-2.28-2.322-4.833-2.407-8.133 0-.05-.071-.063-.09-.015-1.59 4.29.698 8.358 3.133 11.72.026.033.078.013.078-.033-.1-3.561 2.987-6.22 2.808-10.49m1.52-5.552c-1.13 1.569-3.67 2.678-4.6 4.94-.012.032-.052.024-.047-.013.37-2.536-.609-5.48.31-8.848.012-.048-.048-.08-.077-.043-1.388 1.707-1.858 3.708-1.935 5.87-.094 2.655.84 4.591 1.301 6.392.01.043.067.04.077-.003.665-2.36 4.002-3.782 5.048-8.256.013-.049-.048-.079-.076-.039m3.064-5.273c-1.858 1.456-4.694 2.858-5.305 3.87-.01.022-.04.006-.036-.015l.689-3.305c.309-1.403.575-2.746 1.35-4.002.024-.037-.02-.08-.055-.053-3.535 2.8-3.018 6.85-3.174 10.165-.002.035.04.051.063.027 2.082-2.257 5.476-3.572 6.525-6.642.013-.037-.026-.07-.057-.045M14 8.955c-3.124.099-5.419 2.73-6.403 6.08-.006.02.02.035.036.024 4.304-3.155 4.064-4.507 6.393-6.008.043-.027.025-.096-.026-.096m36.022 39.023c-4.387 1.985-6.15.864-10.34 1.67-.026.008-.04-.03-.015-.042 2.92-1.574 3.47-4.128 4.483-5.795.02-.031-.017-.072-.05-.054-3.215 1.566-4.267 5.172-8.117 6.105-.04.007-.04.062 0 .073 1.62.379 2.844 1.09 4.533 1.233 4.692.396 8.119-1.036 9.56-3.13.024-.036-.016-.076-.054-.06m4.753-7.485c-1.556 2.169-5.055 2.976-8.46 5.655-.02.016-.047-.008-.029-.032 1.724-2.294 1.536-5.426 2.167-8.183.008-.037-.04-.06-.066-.031-3.298 3.743-2.884 7.832-4.343 9.747-.019.026-.003.06.028.06 4.993-.008 10.384-4.384 10.768-7.192.006-.037-.042-.053-.065-.024m2.22-8.007c-.003-.049-.072-.06-.093-.016-1.488 3.01-3.275 3.697-5.522 6.986-.017.021-.045.008-.038-.016.884-2.652-.575-6.166-.63-8.519 0-.048-.07-.06-.087-.014-1.779 4.31.094 8.744-1.47 11.651-.018.034.013.07.047.053a17.5 17.5 0 0 0 5.961-4.862c1.02-1.55 1.927-3.217 1.831-5.263m-.761-8.826c-.018-.048-.09-.035-.09.015-.084 3.3-2.018 5.854-2.405 8.133-.007.026-.038.024-.038-.005-.068-2.953-2.2-4.732-3.396-6.969a.046.046 0 0 0-.086.022c-.18 4.271 2.904 6.93 2.804 10.491 0 .046.055.066.082.032 2.432-3.361 4.72-7.429 3.129-11.72m-1.19-2.45c-.077-2.162-.545-4.163-1.934-5.87-.029-.037-.087-.005-.076.043.918 3.368-.062 6.312.311 8.848.005.037-.037.045-.05.013-.929-2.262-3.47-3.371-4.6-4.94-.026-.04-.086-.01-.076.039 1.045 4.474 4.383 5.895 5.047 8.256.011.043.066.046.078.003.461-1.8 1.395-3.737 1.3-6.392m-6.055-10.684c-.035-.027-.08.016-.056.053.776 1.256 1.042 2.6 1.35 4.002l.69 3.305c.006.02-.027.037-.037.016-.61-1.013-3.443-2.415-5.304-3.871-.03-.024-.072.008-.058.045 1.05 3.07 4.443 4.385 6.526 6.642.023.024.065.008.063-.027-.156-3.315.361-7.365-3.174-10.165M43 8.956c-.05 0-.067.068-.027.095 2.33 1.501 2.09 2.853 6.394 6.008.018.011.042-.005.036-.024-.984-3.35-3.28-5.981-6.403-6.08\"\n}));\nvar WfpLogoEmblem$1 = WfpLogoEmblem;\n\nconst WfpLogoExtendedEn = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 223 58\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fillRule: \"evenodd\",\n d: \"M35.934 4.664h.548q.767 0 1.149-.304.381-.303.381-.883 0-.585-.319-.865-.32-.28-1.002-.28h-.757zm3.76-1.246q0 1.268-.793 1.938-.792.673-2.253.672h-.714v2.793h-1.665V.969h2.508q1.428 0 2.172.615t.745 1.834m-9.537 5.403h-1.638V.969h4.501v1.363h-2.863v2.026h2.664v1.359h-2.664zm-4.525 0h-1.896l-1.063-4.125q-.06-.22-.202-.91t-.164-.927q-.032.291-.161.932-.129.643-.198.916l-1.059 4.114h-1.89L16.995.969h1.638l1.005 4.285q.262 1.188.381 2.058.033-.306.148-.948.115-.644.217-.996L21.529.969h1.573l1.144 4.399q.076.295.188.902.113.607.172 1.042.054-.42.172-1.045t.215-1.013l.999-4.285h1.638zm-4.073 27.313c-3.051 0-5.009.724-5.544.949-.031.014-.057-.031-.033-.056 3.353-3.485 7.278-3.293 8.223-3.293h11.161c.563 0 1.018.537 1.018 1.201 0 .662-.455 1.199-1.018 1.199zm2.515 3.085c-3.288 0-4.246-1.868-9.222-.635-.034.009-.057-.038-.028-.058 2.774-1.903 5.791-1.73 7.011-1.73h13.531c.563 0 1.018.537 1.018 1.199s-.455 1.199-1.018 1.199c0 0-8.689.025-11.292.025m.233 3.037c-3.374 0-3.645-2.49-8.646-3.051-.035-.004-.039-.056-.005-.064 4.109-1.028 5.638.715 8.037.715h11.673c.563 0 1.018.537 1.018 1.2s-.455 1.2-1.018 1.2zm-.732-9.183c-2.717 0-4.968 1.185-5.496 1.484-.028.016-.058-.019-.039-.046.44-.649 2.82-3.837 6.91-3.837h10.416c.563 0 1.018.537 1.018 1.2s-.455 1.199-1.018 1.199zm14.941-6.625a.76.76 0 0 0-.444-.205.74.74 0 0 0-.362.043c.047-.099.087-.205.102-.33a.84.84 0 0 0-.084-.512c-.336-.736.625-2.209.504-2.275-.115-.064-.661 1.56-1.191 2.216a.93.93 0 0 0-.2.489.9.9 0 0 0 .087.513c.073.132.186.226.317.234a.3.3 0 0 0 .108-.006.2.2 0 0 0-.018.059.46.46 0 0 0 .141.388.72.72 0 0 0 .441.207.77.77 0 0 0 .494-.093c.719-.393 2.209-.781 2.178-.919-.029-.138-1.483.715-2.073.191m1.1-1.074a.64.64 0 0 0-.407-.199.7.7 0 0 0-.268.043c.013-.046.031-.085.037-.131a.73.73 0 0 0-.103-.462c-.364-.677.588-1.956.465-2.019s-.646 1.368-1.176 1.934a.7.7 0 0 0-.197.425.77.77 0 0 0 .1.465c.084.123.199.21.338.229a.5.5 0 0 0 .179-.021c-.003.007-.01.018-.008.026a.52.52 0 0 0 .139.398c.1.107.244.181.404.195a.63.63 0 0 0 .434-.117c.619-.447 2.036-.712 1.999-.856-.034-.138-1.391.611-1.936.09m.962-.993a.55.55 0 0 0-.388-.104.5.5 0 0 0-.197.051c.011-.03.029-.054.04-.083a.7.7 0 0 0-.024-.43c-.231-.665.792-1.648.693-1.728-.1-.074-.764 1.117-1.31 1.536a.65.65 0 0 0-.231.354.64.64 0 0 0 .021.428.44.44 0 0 0 .265.255c.092.029.184.01.27-.027a.4.4 0 0 0-.023.17c.013.136.079.25.186.33a.57.57 0 0 0 .753-.067c.491-.497 1.714-.962 1.665-1.081-.053-.12-1.153.765-1.72.396m1.895-2.134c-.102-.151-.958.787-1.59.877a.67.67 0 0 0-.36.178.7.7 0 0 0-.22.361.38.38 0 0 0 .055.324.33.33 0 0 0 .299.109.64.64 0 0 0 .365-.181.74.74 0 0 0 .215-.356c.192-.643 1.313-1.214 1.236-1.312m-17.694 1.27c-.026.093-.209.816-.209.816-.053.029-.273-.019-.331-.024-.423-.04-.8-.407-.638-.845.133-.358.404-.396.748-.412.143-.006.4.028.529.117 0 0-.051.165-.099.348m-.485 2.182-.039.247c-.263-.165-.418-.542-.292-.84.097-.226.338-.285.515-.295a50 50 0 0 0-.184.888m-.378 2.696c-.033.185-.283.21-.454.261-.496.149-.966.085-1.118-.508-.165-.634.315-.901.83-1.025.28-.066.54-.011.731.226.049.059.105.112.119.168 0 0-.077.704-.108.878m-1.561-3.122c.382-.092.779-.236 1.073.141.309.396.207 1.031-.292 1.199-.327.111-.724.207-1.004-.061-.368-.351-.342-1.148.223-1.279m-.376-2.056c.404-.098.821-.247 1.132.149.322.414.214 1.084-.308 1.259-.346.114-.763.215-1.057-.067-.386-.366-.357-1.203.233-1.341m-.375 4.445c-.105.37-.409.425-.73.502-.21-.257-.773-.909-.783-.986a.2.2 0 0 1 .012-.09c.026-.077.116-.151.181-.194.191-.125.601-.217.821-.172.397.085.604.568.499.94m-2.005-1.899c-.289-1.024 1.428-1.47 1.693-.466.273 1.032-1.459 1.47-1.693.466m-.252-2.044c-.294-1.017 1.43-1.464 1.695-.465.273 1.033-1.462 1.472-1.695.465m-.241-2.009c-.281-.948 1.338-1.368 1.585-.433.254.962-1.365 1.377-1.585.433m-.166 3.867c-.08.047-.109.072-.136.072l-.77-.838c.009-.024.247-.196.326-.242.641-.356 1.168.662.58 1.008m-1.462-1.887c-.38-.84 1.006-1.751 1.426-.845.385.834-1 1.761-1.426.845m1.166-2.66c.438.779-.882 1.648-1.26.81-.336-.722.837-1.565 1.26-.81m-1.108-1.815c.195-.172.42-.265.651-.154.37.178.381.733.058.954-.147.101-.397.226-.578.181-.396-.101-.472-.68-.131-.981m.05-1.669c.16-.108.373-.205.556-.13.335.137.323.622.053.816-.124.088-.347.197-.496.157-.339-.085-.422-.634-.113-.843m.887-2.378c.199-.107.486-.152.664.048a.468.468 0 0 1-.134.734c-.212.106-.498.146-.666-.051a.48.48 0 0 1 .136-.731m-.157 1.807c-.161-.595.842-.876 1.005-.271.181.587-.845.88-1.005.271m1.616 1.039c.234.643-.855 1.007-1.068.372-.218-.643.877-1.01 1.068-.372m.137-3.133c.208-.083.474-.173.706 0 .288.216.225.702-.105.853-.218.099-.496.165-.691-.008-.246-.22-.26-.705.09-.845m-.192 5.381c-.294.069-.601.186-.845-.066-.312-.322-.223-.885.2-1.039.273-.104.619-.162.842.066.286.293.254.93-.197 1.039m.006-3.284c-.189-.638.85-.965 1.049-.346.205.635-.871.973-1.049.346m1.739 1.169c.244.728-.987 1.116-1.212.399-.229-.734 1.01-1.122 1.212-.399m.066-1.95c.217-.058.446-.037.612.14.251.271.165.734-.208.803-.176.032-.446.019-.583-.101-.246-.218-.234-.731.179-.842m1.049 1.528c.397 0 .596.582.366.871-.139.175-.439.186-.643.154-.378-.058-.62-.545-.365-.874.155-.199.419-.151.642-.151m-1.902 2.396c-.244-.837 1.178-1.211 1.396-.38.221.845-1.21 1.217-1.396.38m.871 1.071c.389-.04.793-.13 1.031.277.25.43.063 1.028-.44 1.129-.331.069-.732.101-.969-.192-.309-.387-.186-1.161.378-1.214m1.975-1.864c.48.198.642.764.303 1.08-.181.165-.512.133-.734.088-.447-.088-.738-.758-.347-1.076.201-.163.56-.183.778-.092m.755 2.018c.302.37.189 1.023-.339 1.055-.275.016-.635-.016-.821-.242-.299-.361-.186-1.039.341-1.057.275-.011.632.018.819.244m2.039-6.664a.12.12 0 0 0-.134-.05c-.063.021-.105.09-.082.151 1.205 3.237-.333 4.831-.976 7.097-.771-1.841 1.785-3.573.468-6.929-.019-.043-.053-.078-.1-.085-.066-.009-.129.018-.139.106-.034.236-.189 2.096-1.698 3.186a3 3 0 0 0-.703-1.021c-.14-.627-.549-1.488-1.41-1.742-.128-.325-.388-.79-.887-1.04-.47-.234-1.013-.213-1.617.061-.729.085-1.23.37-1.496.845-.249.449-.204.938-.12 1.271-.614.656-.643 1.628-.628 2.009-.364.876-.159 1.899-.044 2.324-.436 1.191-.011 2.346.16 2.729q.001.154.01.3c-1.427-1.562-4.676-3.497-5.918-4.235a.15.15 0 0 0-.181.021.155.155 0 0 0-.008.218c2.77 2.7 5.239 6.032 7.611 12.946 1.184-1.231 3.323-2.849 6.367-2.849h3.561c-2.262-8.428 1.032-11.444-2.036-15.313M43.31 19.04c-.651-.17-4.807-.906-9.466 7.663.68-3.191 2.745-7.052 3.312-8.173v-.008a.155.155 0 0 0-.042-.192.135.135 0 0 0-.189.035c-3.078 5.133-4.16 8.091-4.797 11.63h1.929c.328-3.412 4.637-11.449 9.23-10.852h.005c.026.006.05-.016.053-.039.01-.03-.008-.059-.035-.064m-9.261 28.232-1.042-4.355h-1.774c.281 1.105.682 2.229 1.202 3.215a.16.16 0 0 0 .16.083c.084-.011.149-.099.134-.19-.121-.922-.265-1.811-.402-2.699.375 1.395.882 2.758 1.564 4.013.019.039.058.057.095.045.05-.011.076-.064.063-.112m1.793-1.977c-.182-.728-.371-1.621-.533-2.378h-.675c.263.808.617 1.709.932 2.479.031.075.102.112.171.093.081-.024.125-.111.105-.194m.225 2.561-.005-.01c-.218-.609-.52-1.154-.759-1.738a24 24 0 0 1-.706-1.758c-.17-.45-.351-.965-.49-1.433h-.651c.183.545.422 1.132.645 1.658.491 1.188 1.058 2.352 1.78 3.393a.1.1 0 0 0 .123.035c.058-.022.084-.088.063-.147m.974-20.9c-.05-.075-.171-.091-.229-.03a13.3 13.3 0 0 0-2.146 3.069h.703c.352-.826 1.144-2.285 1.653-2.811l.006-.005c.052-.059.063-.157.013-.223m-5.354-6.045c.651-1.069 1.616-1.887 2.435-2.875.029-.038.027-.096-.008-.128a.08.08 0 0 0-.118-.003c-.186.199-.38.386-.58.571-.086-.042-.306.043-.53.218-.175.139-.301.293-.346.404-.113-.026-.325.106-.517.351-.157.205-.249.42-.247.553-.121.01-.296.164-.446.409-.097.162-.16.319-.181.449a1.2 1.2 0 0 0-.31.353c-.134.224-.202.449-.181.579q-.048.084-.089.165l.016-.132c.191-1.513.469-3.011.892-4.456.425-1.441.934-2.894 1.808-4.061l.005-.005a.166.166 0 0 0-.015-.21.14.14 0 0 0-.205-.003 6.6 6.6 0 0 0-.785 1.05c-.099-.053-.309.144-.469.452-.147.278-.2.536-.145.635 0 0-.002.008-.008.005-.105-.045-.299.189-.417.502-.115.295-.136.566-.058.657-.005.005-.005.008-.008.013-.118-.043-.309.226-.427.606-.098.321-.108.6-.037.712.005.005 0 .019-.005.016-.121-.043-.305.234-.412.611-.108.364-.1.686.002.749-.118-.013-.283.263-.37.638-.079.324-.07.603.005.715-.115.034-.243.305-.309.656-.063.343-.032.627.052.718-.108.055-.217.334-.257.68-.039.343.01.624.1.715-.09.1-.176.339-.213.627-.036.273-.013.51.039.643-.096.082-.17.359-.173.691-.007.265.032.491.1.621a1.5 1.5 0 0 0-.089.542c-.006.279.039.518.11.643-.021.981-.008 2.025.045 3.008h2.118c.015-.765.065-1.6.141-2.357.15-1.35.373-2.721 1.048-3.874l.005-.008a.11.11 0 0 0-.014-.127c-.039-.035-.094-.035-.131.008-.916 1.063-1.317 2.506-1.553 3.89q-.061.407-.108.816c.058-1.111.16-2.217.415-3.269.291-1.281.874-2.5 1.984-3.183a.1.1 0 0 0 .039-.112.09.09 0 0 0-.11-.066c-.071.021-.137.058-.205.088-.073-.091-.343-.024-.622.153-.265.173-.44.386-.423.503 0 .005-.012.013-.012.002q-.003-.02-.013-.034c-.1-.082-.368.104-.594.42-.228.316-.317.646-.22.731.005.002.003.01-.003.01-.118-.048-.315.221-.438.596-.089.262-.11.504-.079.643 0 .004-.005.01-.005.01-.092.303-.168.609-.239.919.026-.438.066-.879.129-1.315.186-1.254.564-2.482 1.236-3.528m6.663-3.498a.75.75 0 0 0-.485-.037.8.8 0 0 0-.326.17.9.9 0 0 0-.018-.345.84.84 0 0 0-.252-.449c-.572-.571-.178-2.291-.312-2.312-.132-.018-.084 1.696-.355 2.498a.93.93 0 0 0-.018.529.9.9 0 0 0 .26.451c.113.099.249.144.378.104a.2.2 0 0 0 .097-.043q0 .033.002.064c.029.141.129.25.266.314a.72.72 0 0 0 .488.037.8.8 0 0 0 .428-.26c.538-.625 1.802-1.515 1.726-1.634-.076-.117-1.144 1.195-1.879.913m2.446-2.165c-.081-.117-1.094 1.065-1.785.77a.63.63 0 0 0-.451-.042.7.7 0 0 0-.236.133c-.003-.048 0-.091-.01-.133a.7.7 0 0 0-.255-.398c-.577-.505-.123-2.041-.26-2.057-.139-.016-.136 1.512-.435 2.229a.68.68 0 0 0-.037.468.72.72 0 0 0 .254.401.49.49 0 0 0 .394.093.5.5 0 0 0 .16-.082q-.002.013 0 .026a.53.53 0 0 0 .27.327.64.64 0 0 0 .446.037.63.63 0 0 0 .366-.26c.427-.64 1.661-1.39 1.579-1.512m.25-1.48c-.09-.093-.817 1.124-1.475.978a.55.55 0 0 0-.399.04.5.5 0 0 0-.168.117c0-.03.007-.059.007-.091a.67.67 0 0 0-.17-.393c-.443-.542.173-1.825.055-1.865-.12-.035-.33 1.315-.698 1.902a.63.63 0 0 0-.094.412c.01.157.076.298.168.396.094.098.21.152.336.144a.37.37 0 0 0 .243-.12q-.001.081.037.167a.44.44 0 0 0 .287.242c.123.04.27.029.401-.035a.6.6 0 0 0 .283-.292c.289-.64 1.273-1.509 1.187-1.602m-.436-1.69c-.15-.106-.625 1.076-1.189 1.384a.7.7 0 0 0-.275.295.7.7 0 0 0-.079.415c.013.125.07.231.163.284a.32.32 0 0 0 .314-.002.66.66 0 0 0 .281-.298.75.75 0 0 0 .079-.412c-.042-.669.811-1.6.706-1.666M30.251 42.917h-5.944c-.404 0-.769-.032-1.105-.093q.004.001.003.002c.976 1.451 2.506 2.552 4.057 3.29.239 1.323.538 2.548.646 2.644.11.095 1.632-.343 1.68-.484.044-.14-.622-2.407-.622-2.407.8-1.374 1.046-2.185 1.285-2.952m14.954 10.169c-1.501.593-3.459.642-5.057.218-3.661-1.14-7.726-3.3-11.629-1.507-3.902-1.793-7.968.367-11.629 1.507-1.598.424-3.556.375-5.057-.218a.038.038 0 0 0-.036.066c2.159 1.671 5.186 2.44 7.91 1.456 2.616-.815 4.828-3.587 7.928-2.404-2.454.959-4.748 2.729-6.519 4.4l1.289 1.057c1.608-1.873 3.419-3.746 5.469-4.886.28-.165.449-.231.645-.242.197.011.365.077.643.242 2.053 1.14 3.864 3.013 5.472 4.886l1.289-1.057c-1.772-1.671-4.065-3.441-6.519-4.4 3.099-1.183 5.312 1.589 7.928 2.404 2.724.984 5.75.215 7.91-1.456.034-.029.005-.082-.037-.066m-24.129-2.525c-3.826-.927-4.873-4.514-8.072-6.071-.035-.018-.071.022-.05.053 1.008 1.658 1.554 4.198 4.459 5.764.023.012.01.05-.016.042-4.167-.802-5.918.313-10.285-1.661-.037-.016-.076.024-.053.059 1.436 2.083 4.843 3.507 9.509 3.114 1.679-.143 2.897-.85 4.508-1.227.04-.011.04-.065 0-.073m-8.014-2.2c-1.454-1.905-1.04-5.972-4.323-9.695-.026-.029-.073-.006-.065.031.627 2.742.441 5.857 2.157 8.139.015.024-.008.048-.031.032-3.386-2.665-6.866-3.468-8.415-5.625-.023-.029-.07-.014-.065.024.383 2.792 5.747 7.145 10.712 7.153.03 0 .048-.034.03-.059m-5.084-5.064c-1.559-2.891.305-7.302-1.464-11.588-.019-.045-.087-.034-.087.014-.052 2.34-1.506 5.835-.627 8.473.01.024-.021.037-.034.016C3.527 36.941 1.75 36.258.27 33.264c-.021-.045-.089-.033-.092.015C.084 35.314.984 36.973 2 38.514a17.4 17.4 0 0 0 5.928 4.836c.034.016.066-.019.05-.053M6.921 25.691c-.003-.048-.066-.064-.09-.022-1.189 2.224-3.306 3.994-3.375 6.931-.003.029-.034.031-.039.004-.386-2.266-2.31-4.806-2.394-8.088 0-.05-.071-.063-.089-.016-1.582 4.268.693 8.314 3.116 11.657.025.034.078.014.078-.032-.099-3.542 2.971-6.186 2.793-10.434m1.511-5.522c-1.123 1.56-3.651 2.663-4.574 4.913-.014.032-.053.024-.047-.013.367-2.522-.607-5.45.306-8.8.014-.048-.046-.08-.076-.043-1.38 1.698-1.847 3.688-1.923 5.838-.095 2.641.834 4.567 1.294 6.358.01.043.065.04.075-.003.662-2.348 3.982-3.762 5.021-8.213.013-.047-.047-.077-.076-.037m3.047-5.245c-1.847 1.448-4.669 2.843-5.275 3.85-.01.021-.042.005-.037-.016l.685-3.287c.307-1.395.572-2.731 1.344-3.98.023-.037-.021-.08-.055-.053-3.517 2.785-3.003 6.812-3.157 10.11-.003.035.039.051.063.027 2.07-2.246 5.445-3.553 6.49-6.606.013-.037-.027-.069-.058-.045m2.616-5.049c-3.107.099-5.39 2.716-6.369 6.048-.005.019.021.035.037.024 4.28-3.138 4.041-4.483 6.359-5.976.042-.027.023-.096-.027-.096m35.829 38.813c-4.365 1.974-6.118.859-10.285 1.661-.027.008-.04-.03-.016-.042 2.906-1.566 3.452-4.106 4.459-5.764.021-.031-.016-.071-.05-.053-3.196 1.557-4.244 5.144-8.072 6.071-.04.008-.04.062 0 .073 1.611.377 2.829 1.084 4.508 1.227 4.666.393 8.076-1.031 9.508-3.114.024-.035-.015-.075-.052-.059m4.727-7.445c-1.549 2.157-5.029 2.96-8.414 5.625-.021.016-.048-.008-.029-.032 1.714-2.282 1.527-5.397 2.155-8.139.007-.037-.04-.06-.066-.031-3.281 3.723-2.869 7.79-4.32 9.695-.018.025-.003.059.029.059 4.965-.008 10.327-4.361 10.71-7.153.005-.038-.042-.053-.065-.024m2.207-7.964c-.003-.048-.071-.06-.092-.015-1.481 2.994-3.257 3.677-5.493 6.948-.016.021-.045.008-.037-.016.879-2.638-.572-6.133-.627-8.473 0-.048-.068-.059-.087-.014-1.768 4.286.095 8.697-1.462 11.588-.018.034.014.069.048.053a17.4 17.4 0 0 0 5.928-4.836c1.016-1.541 1.916-3.2 1.822-5.235m-.756-8.779c-.019-.047-.09-.034-.09.016-.084 3.282-2.007 5.822-2.393 8.088-.005.027-.037.025-.037-.004-.068-2.937-2.188-4.707-3.377-6.931-.024-.042-.087-.026-.087.022-.178 4.248 2.89 6.892 2.79 10.434 0 .046.055.066.081.032 2.42-3.343 4.695-7.389 3.113-11.657m-1.184-2.436c-.076-2.15-.543-4.14-1.924-5.838-.028-.037-.086-.005-.076.043.914 3.35-.06 6.278.31 8.8.005.037-.037.045-.05.013-.923-2.25-3.451-3.353-4.574-4.913-.027-.04-.087-.01-.076.037 1.039 4.451 4.359 5.865 5.02 8.213.011.043.066.046.076.003.46-1.791 1.388-3.717 1.294-6.358m-6.023-10.626c-.034-.027-.078.016-.055.053.772 1.249 1.037 2.585 1.344 3.98l.685 3.287c.005.021-.027.037-.037.016-.606-1.007-3.425-2.402-5.275-3.85-.029-.024-.071.008-.058.045 1.045 3.053 4.42 4.36 6.49 6.606.024.024.066.008.063-.027-.154-3.298.36-7.325-3.157-10.11M42.94 9.875c-.05 0-.065.069-.026.096 2.318 1.493 2.079 2.838 6.359 5.976.019.011.042-.005.037-.024-.979-3.332-3.262-5.949-6.37-6.048m29.423 25.108h-2.496l-1.399-5.427a25 25 0 0 1-.265-1.199q-.188-.909-.215-1.219-.043.382-.212 1.227-.17.843-.262 1.205l-1.393 5.413h-2.488L60.996 24.65h2.157l1.321 5.64a34 34 0 0 1 .502 2.707q.043-.402.194-1.248.153-.844.287-1.311l1.505-5.788h2.071l1.506 5.788q.1.39.247 1.188.15.8.227 1.371.07-.551.227-1.375.154-.823.282-1.332l1.314-5.64h2.156zm4.834-3.965q0 1.173.385 1.774t1.255.602q.862 0 1.24-.598.378-.597.378-1.778 0-1.173-.382-1.759-.38-.588-1.25-.588-.863.001-1.245.584-.38.584-.381 1.763m5.463 0q0 1.931-1.017 3.018-1.018 1.09-2.834 1.09-1.139 0-2.008-.5a3.3 3.3 0 0 1-1.336-1.43q-.467-.933-.467-2.178 0-1.935 1.011-3.011 1.01-1.075 2.842-1.074 1.138.001 2.008.494.868.496 1.336 1.422.465.925.465 2.169m5.726-4.085q.438 0 .728.064l-.163 2.022a2.5 2.5 0 0 0-.636-.072q-1.032 0-1.609.531-.575.53-.575 1.484v4.021h-2.156v-7.902h1.633l.318 1.329h.105q.369-.663.994-1.071a2.45 2.45 0 0 1 1.361-.406m1.67 8.051h2.156V23.986h-2.156zm7.271-1.577q.828 0 1.213-.48.385-.481.42-1.633v-.233q0-1.273-.391-1.823-.393-.55-1.277-.551-.72 0-1.12.611-.399.61-.399 1.777t.402 1.75q.404.583 1.152.582m-.755 1.719q-1.394 0-2.189-1.082-.794-1.082-.795-2.998 0-1.943.81-3.027.809-1.087 2.23-1.086 1.491 0 2.276 1.16h.071a9 9 0 0 1-.163-1.576v-2.531h2.163v10.997h-1.654l-.417-1.025h-.092q-.735 1.168-2.24 1.168m11.933-.143h-2.155V24.65h5.923v1.795h-3.768v2.666h3.506v1.786h-3.506zm6.847-3.965q0 1.173.385 1.774t1.254.602q.864 0 1.241-.598.379-.597.379-1.778 0-1.173-.382-1.759-.382-.588-1.251-.588-.863.001-1.244.584-.382.584-.382 1.763m5.464 0q0 1.931-1.018 3.018-1.019 1.09-2.835 1.09-1.138 0-2.008-.5a3.33 3.33 0 0 1-1.336-1.43q-.465-.933-.465-2.178 0-1.935 1.01-3.011 1.01-1.075 2.842-1.074 1.138.001 2.007.494.87.496 1.336 1.422t.467 2.169m3.081 0q0 1.173.384 1.774.386.601 1.255.602.864 0 1.241-.598.379-.597.379-1.778 0-1.173-.382-1.759-.382-.588-1.251-.588-.863.001-1.244.584-.382.584-.382 1.763m5.464 0q0 1.931-1.018 3.018-1.018 1.09-2.835 1.09-1.138 0-2.008-.5a3.33 3.33 0 0 1-1.336-1.43q-.465-.933-.466-2.178 0-1.935 1.011-3.011 1.01-1.075 2.842-1.074 1.138.001 2.007.494.87.496 1.336 1.422t.467 2.169m4.655 2.389q.827 0 1.212-.48.385-.481.421-1.633v-.233q0-1.273-.393-1.823-.392-.55-1.275-.551-.722 0-1.121.611-.4.61-.4 1.777t.404 1.75q.402.583 1.152.582m-.757 1.719q-1.392 0-2.187-1.082-.796-1.082-.795-2.998 0-1.943.808-3.027.81-1.087 2.231-1.086 1.491 0 2.276 1.16h.07a9 9 0 0 1-.162-1.576v-2.531h2.163v10.997h-1.654l-.417-1.025h-.092q-.735 1.168-2.241 1.168m11.969-5.613h.721q1.01 0 1.513-.398.502-.401.502-1.164 0-.771-.421-1.137-.42-.369-1.318-.369h-.997zm4.948-1.641q0 1.67-1.042 2.553-1.043.884-2.966.883h-.94v3.675h-2.191V24.65h3.301q1.88 0 2.86.808.978.813.978 2.414m5.628-.939q.438 0 .728.064l-.163 2.022a2.5 2.5 0 0 0-.635-.072q-1.033 0-1.609.531-.576.53-.576 1.484v4.021h-2.156v-7.902h1.633l.318 1.329h.106q.369-.663.994-1.071.625-.406 1.36-.406m3.41 4.085q0 1.173.386 1.774.385.601 1.255.602.862 0 1.24-.598.378-.597.378-1.778 0-1.173-.382-1.759-.381-.588-1.251-.588-.862.001-1.244.584-.381.584-.382 1.763m5.464 0q0 1.931-1.018 3.018-1.017 1.09-2.834 1.09-1.138 0-2.007-.5a3.3 3.3 0 0 1-1.336-1.43q-.468-.933-.467-2.178 0-1.935 1.011-3.011 1.01-1.075 2.841-1.074 1.138.001 2.008.494.869.496 1.336 1.422.466.925.466 2.169m2.917-1.349q0 .642.293 1.017.292.375.894.375.609 0 .891-.375t.282-1.017q0-1.428-1.173-1.427-1.188-.001-1.187 1.427m-.785 6.431q0 .447.428.7.427.255 1.198.256 1.158-.001 1.816-.319.658-.319.657-.869.001-.445-.388-.615-.388-.17-1.201-.17h-1.118q-.593 0-.993.279-.399.279-.399.738m6.1-9.019v1.096l-1.237.319q.34.53.339 1.187 0 1.271-.887 1.982t-2.463.711l-.389-.022-.318-.035q-.332.255-.333.565 0 .467 1.189.466h1.343q1.3.001 1.982.559.683.56.683 1.641 0 1.385-1.157 2.148-1.156.764-3.318.764-1.654 0-2.527-.576t-.873-1.616q0-.715.445-1.195t1.308-.685a1.44 1.44 0 0 1-.58-.463 1.1 1.1 0 0 1-.248-.682q0-.453.262-.752.262-.301.757-.592a2.1 2.1 0 0 1-.986-.861q-.365-.595-.365-1.4 0-1.293.842-2 .84-.707 2.403-.707.332 0 .789.061.455.059.583.087zm5.285-.148q.438 0 .728.064l-.163 2.022a2.5 2.5 0 0 0-.636-.072q-1.032 0-1.608.531-.576.53-.576 1.484v4.021h-2.157v-7.902h1.633l.319 1.329h.106q.368-.663.993-1.071.625-.406 1.361-.406m5.93 4.39-.834.027q-.94.03-1.4.34t-.459.948q0 .911 1.046.912.749 0 1.198-.432.449-.431.449-1.146zm.636 3.66-.417-1.074h-.057q-.544.685-1.12.951t-1.502.266q-1.138 0-1.792-.651-.654-.649-.654-1.853 0-1.257.88-1.856.88-.594 2.654-.659l1.372-.043v-.346q0-1.201-1.23-1.201-.948-.001-2.227.572l-.714-1.457q1.364-.712 3.026-.713 1.59 0 2.438.692.849.694.849 2.107v5.265zm10.284 0h-2.156v-4.614q0-.857-.286-1.284t-.902-.427q-.826 0-1.201.607-.375.608-.375 2.001v3.717h-2.156v-7.902h1.647l.29 1.012h.121q.317-.545.919-.853.6-.306 1.377-.307 1.775 0 2.404 1.16h.191q.318-.553.937-.855a3.1 3.1 0 0 1 1.395-.305q1.344.001 2.032.689.69.69.69 2.209v5.152h-2.163v-4.614q0-.857-.286-1.284-.287-.427-.902-.427-.792 0-1.183.566-.393.566-.393 1.794zm13.705 0h-2.155v-4.614q0-.857-.286-1.284-.287-.427-.902-.427-.827 0-1.202.607-.375.608-.374 2.001v3.717h-2.156v-7.902h1.647l.29 1.012h.12a2.2 2.2 0 0 1 .919-.853q.6-.306 1.379-.307 1.773 0 2.403 1.16h.19a2.1 2.1 0 0 1 .937-.855 3.1 3.1 0 0 1 1.396-.305q1.343.001 2.033.689.689.69.689 2.209v5.152h-2.163v-4.614q0-.857-.287-1.284-.286-.427-.901-.427-.791 0-1.184.566t-.393 1.794zm9.951-6.517q-.685.001-1.075.436-.388.434-.445 1.234h3.025q-.013-.8-.417-1.234-.402-.435-1.088-.436m.304 6.66q-1.908 0-2.983-1.055-1.074-1.052-1.074-2.982 0-1.986.993-3.07.993-1.087 2.746-1.086 1.675 0 2.608.955.934.953.934 2.636v1.045h-5.097q.036.92.544 1.436.51.515 1.428.515.715.001 1.35-.148.637-.149 1.329-.473v1.668q-.565.282-1.209.42-.643.139-1.569.139\"\n}));\nvar WfpLogoExtendedEn$1 = WfpLogoExtendedEn;\n\nconst WfpLogoStandardBlackEn = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 132 58\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fillRule: \"evenodd\",\n d: \"M35.934 4.664h.548q.767 0 1.149-.304.381-.303.381-.883 0-.585-.319-.865-.32-.28-1.002-.28h-.757zm3.76-1.246q0 1.268-.793 1.938-.792.673-2.253.672h-.714v2.793h-1.665V.969h2.508q1.428 0 2.172.615t.745 1.834m-9.537 5.403h-1.638V.969h4.501v1.363h-2.863v2.026h2.664v1.359h-2.664zm-4.525 0h-1.896l-1.063-4.125q-.06-.22-.202-.91a10 10 0 0 1-.164-.927q-.032.291-.16.932-.13.643-.199.916l-1.059 4.114h-1.89L16.995.969h1.639l1.004 4.285q.263 1.188.381 2.058.033-.306.148-.948.116-.644.218-.996L21.529.969h1.573l1.144 4.399a23 23 0 0 1 .36 1.944q.054-.42.172-1.045t.215-1.013l.999-4.285h1.638zm-4.073 27.313c-3.051 0-5.009.724-5.544.949-.031.014-.057-.031-.032-.056 3.352-3.485 7.277-3.293 8.222-3.293h11.161c.563 0 1.019.537 1.019 1.201 0 .662-.456 1.199-1.019 1.199zm2.515 3.085c-3.288 0-4.246-1.868-9.222-.635-.034.009-.057-.038-.028-.058 2.774-1.903 5.791-1.73 7.011-1.73h13.531c.563 0 1.019.537 1.019 1.199s-.456 1.199-1.019 1.199c0 0-8.689.025-11.292.025m.233 3.037c-3.374 0-3.644-2.49-8.646-3.051-.035-.004-.039-.056-.005-.064 4.109-1.028 5.638.715 8.037.715h11.673c.563 0 1.019.537 1.019 1.2s-.456 1.2-1.019 1.2zm-.732-9.183c-2.716 0-4.968 1.185-5.495 1.484-.03.016-.059-.019-.04-.046.441-.649 2.82-3.837 6.91-3.837h10.416c.563 0 1.019.537 1.019 1.2s-.456 1.199-1.019 1.199zm14.941-6.625a.75.75 0 0 0-.444-.205.74.74 0 0 0-.362.043c.047-.099.087-.205.102-.33a.85.85 0 0 0-.083-.512c-.336-.736.624-2.209.503-2.275-.115-.064-.661 1.56-1.191 2.216a.93.93 0 0 0-.2.489.9.9 0 0 0 .087.513c.074.132.186.226.318.234a.3.3 0 0 0 .107-.006.3.3 0 0 0-.018.059.45.45 0 0 0 .142.388.72.72 0 0 0 .441.207.77.77 0 0 0 .493-.093c.719-.393 2.21-.781 2.178-.919-.029-.138-1.483.715-2.073.191m1.099-1.074a.63.63 0 0 0-.406-.199.7.7 0 0 0-.268.043c.013-.046.031-.085.037-.131a.73.73 0 0 0-.103-.462c-.365-.677.588-1.956.465-2.019s-.646 1.368-1.176 1.934a.7.7 0 0 0-.197.425.77.77 0 0 0 .1.465c.084.123.199.21.338.229a.5.5 0 0 0 .179-.021c-.003.007-.011.018-.008.026a.52.52 0 0 0 .139.398c.1.107.244.181.404.195a.62.62 0 0 0 .433-.117c.62-.447 2.037-.712 2-.856-.034-.138-1.391.611-1.937.09m.964-.993a.55.55 0 0 0-.389-.104.5.5 0 0 0-.197.051c.011-.03.029-.054.04-.083a.7.7 0 0 0-.024-.43c-.231-.665.792-1.648.693-1.728-.1-.074-.764 1.117-1.31 1.536a.65.65 0 0 0-.231.354.65.65 0 0 0 .021.428.44.44 0 0 0 .265.255c.092.029.184.01.271-.027a.4.4 0 0 0-.024.17c.013.136.079.25.187.33a.567.567 0 0 0 .752-.067c.491-.497 1.714-.962 1.665-1.081-.053-.12-1.152.765-1.719.396m1.894-2.134c-.102-.151-.958.787-1.59.877a.66.66 0 0 0-.359.178.7.7 0 0 0-.221.361.38.38 0 0 0 .055.324.33.33 0 0 0 .299.109.64.64 0 0 0 .365-.181.73.73 0 0 0 .215-.356c.192-.643 1.312-1.214 1.236-1.312m-17.694 1.27c-.025.093-.21.816-.21.816-.052.029-.272-.019-.33-.024-.422-.04-.8-.407-.638-.845.133-.358.404-.396.748-.412.143-.006.4.028.529.117 0 0-.051.165-.099.348m-.485 2.182-.039.247c-.263-.165-.417-.542-.291-.84.097-.226.337-.285.514-.295a50 50 0 0 0-.184.888m-.378 2.696c-.033.185-.283.21-.454.261-.496.149-.966.085-1.118-.508-.165-.634.315-.901.83-1.025.28-.066.54-.011.732.226.048.059.105.112.118.168 0 0-.077.704-.108.878m-1.561-3.122c.383-.092.779-.236 1.073.141.31.396.207 1.031-.291 1.199-.328.111-.725.207-1.005-.061-.368-.351-.341-1.148.223-1.279m-.375-2.056c.403-.098.821-.247 1.131.149.322.414.215 1.084-.308 1.259-.346.114-.763.215-1.057-.067-.386-.366-.357-1.203.234-1.341m-.376 4.445c-.105.37-.41.425-.729.502-.21-.257-.774-.909-.784-.986a.2.2 0 0 1 .012-.09c.026-.077.115-.151.181-.194.192-.125.601-.217.822-.172.396.085.603.568.498.94m-2.005-1.899c-.289-1.024 1.428-1.47 1.693-.466.273 1.032-1.459 1.47-1.693.466m-.252-2.044c-.294-1.017 1.431-1.464 1.696-.465.273 1.033-1.462 1.472-1.696.465m-.241-2.009c-.281-.948 1.338-1.368 1.585-.433.254.962-1.365 1.377-1.585.433m-.166 3.867c-.079.047-.109.072-.136.072l-.77-.838c.009-.024.247-.196.327-.242.64-.356 1.167.662.579 1.008m-1.461-1.887c-.381-.84 1.005-1.751 1.425-.845.385.834-1.001 1.761-1.425.845m1.165-2.66c.438.779-.882 1.648-1.26.81-.336-.722.837-1.565 1.26-.81m-1.108-1.815c.195-.172.42-.265.651-.154.37.178.381.733.058.954-.147.101-.396.226-.577.181-.397-.101-.473-.68-.132-.981m.05-1.669c.16-.108.373-.205.557-.13.334.137.322.622.052.816-.124.088-.346.197-.496.157-.338-.085-.421-.634-.113-.843m.887-2.378c.199-.107.486-.152.664.048a.468.468 0 0 1-.134.734c-.212.106-.498.146-.666-.051a.48.48 0 0 1 .136-.731m-.157 1.807c-.161-.595.842-.876 1.005-.271.181.587-.845.88-1.005.271m1.616 1.039c.234.643-.855 1.007-1.068.372-.217-.643.877-1.01 1.068-.372m.137-3.133c.208-.083.474-.173.706 0 .289.216.226.702-.105.853-.218.099-.496.165-.69-.008-.247-.22-.261-.705.089-.845m-.192 5.381c-.294.069-.601.186-.845-.066-.312-.322-.223-.885.2-1.039.273-.104.619-.162.842.066.286.293.255.93-.197 1.039m.005-3.284c-.188-.638.851-.965 1.05-.346.205.635-.871.973-1.05.346m1.74 1.169c.244.728-.986 1.116-1.212.399-.228-.734 1.011-1.122 1.212-.399m.066-1.95c.217-.058.446-.037.611.14.252.271.166.734-.207.803-.175.032-.446.019-.583-.101-.246-.218-.234-.731.179-.842m1.05 1.528c.396 0 .596.582.365.871-.139.175-.439.186-.643.154-.378-.058-.62-.545-.365-.874.155-.199.42-.151.643-.151m-1.903 2.396c-.244-.837 1.178-1.211 1.396-.38.221.845-1.209 1.217-1.396.38m.872 1.071c.388-.04.792-.13 1.031.277.249.43.063 1.028-.441 1.129-.331.069-.732.101-.968-.192-.31-.387-.187-1.161.378-1.214m1.974-1.864c.48.198.642.764.304 1.08-.182.165-.512.133-.735.088-.447-.088-.738-.758-.347-1.076.201-.163.56-.183.778-.092m.755 2.018c.301.37.189 1.023-.339 1.055-.275.016-.635-.016-.821-.242-.299-.361-.186-1.039.341-1.057.276-.011.633.018.819.244m2.039-6.664a.12.12 0 0 0-.134-.05c-.063.021-.105.09-.081.151 1.205 3.237-.334 4.831-.977 7.097-.771-1.841 1.785-3.573.468-6.929-.019-.043-.053-.078-.1-.085-.066-.009-.129.018-.139.106-.034.236-.189 2.096-1.698 3.186a3 3 0 0 0-.703-1.021c-.14-.627-.549-1.488-1.41-1.742-.129-.325-.388-.79-.887-1.04-.47-.234-1.013-.213-1.617.061-.729.085-1.231.37-1.495.845-.25.449-.205.938-.121 1.271-.614.656-.643 1.628-.627 2.009-.365.876-.16 1.899-.045 2.324-.436 1.191-.01 2.346.16 2.729q.001.155.011.3c-1.428-1.562-4.677-3.497-5.918-4.235a.15.15 0 0 0-.181.021.154.154 0 0 0-.008.218c2.768 2.7 5.238 6.032 7.61 12.946 1.184-1.231 3.323-2.849 6.367-2.849h3.561c-2.262-8.428 1.032-11.444-2.036-15.313m16.836 4.358c-.651-.17-4.808-.906-9.467 7.663.68-3.191 2.746-7.052 3.312-8.173v-.008a.15.15 0 0 0-.042-.192.136.136 0 0 0-.189.035c-3.078 5.133-4.159 8.091-4.797 11.63h1.929c.328-3.412 4.637-11.449 9.23-10.852h.005c.027.006.05-.016.053-.039.01-.03-.008-.059-.034-.064m-9.262 28.232-1.042-4.355h-1.774c.281 1.105.682 2.229 1.202 3.215a.16.16 0 0 0 .16.083.165.165 0 0 0 .134-.19c-.121-.922-.265-1.811-.402-2.699.376 1.395.882 2.758 1.565 4.013.018.039.057.057.094.045.05-.011.076-.064.063-.112m1.793-1.977c-.182-.728-.371-1.621-.533-2.378h-.675c.263.808.617 1.709.932 2.479.031.075.102.112.17.093a.16.16 0 0 0 .106-.194m.225 2.561-.005-.01c-.218-.609-.52-1.154-.759-1.738a24 24 0 0 1-.706-1.759c-.17-.449-.351-.964-.49-1.432h-.651c.184.545.423 1.132.646 1.658.49 1.188 1.057 2.352 1.779 3.393a.1.1 0 0 0 .123.035c.058-.022.084-.088.063-.147m.974-20.9c-.05-.075-.171-.091-.228-.03a13.3 13.3 0 0 0-2.147 3.069h.703c.352-.826 1.144-2.285 1.654-2.811l.005-.005a.18.18 0 0 0 .013-.223m-5.354-6.045c.651-1.069 1.617-1.887 2.436-2.875a.1.1 0 0 0-.009-.128.08.08 0 0 0-.117-.003c-.187.199-.381.386-.58.571-.087-.042-.307.043-.531.218-.175.139-.301.293-.346.404-.113-.026-.325.106-.517.351-.158.205-.249.42-.247.553-.121.01-.296.164-.446.409-.097.162-.16.319-.181.449a1.2 1.2 0 0 0-.309.353c-.134.224-.203.449-.182.579q-.048.084-.089.165l.016-.132c.192-1.513.469-3.011.892-4.456.425-1.441.934-2.894 1.808-4.061l.006-.005a.17.17 0 0 0-.016-.21.14.14 0 0 0-.205-.003 6.6 6.6 0 0 0-.785 1.05c-.099-.053-.309.144-.469.452-.147.278-.2.536-.144.635 0 0-.003.008-.009.005-.105-.045-.299.189-.417.502-.115.295-.136.566-.057.657-.006.005-.006.008-.009.013-.117-.043-.309.226-.427.606-.098.321-.108.6-.037.712.005.005 0 .019-.005.016-.121-.043-.305.234-.412.611-.108.364-.1.686.002.749-.118-.013-.283.263-.37.638-.078.324-.07.603.006.715-.116.034-.244.305-.31.656-.063.343-.032.627.052.718-.107.055-.217.334-.257.68-.039.343.011.624.1.715-.089.1-.176.339-.213.627-.036.273-.013.51.04.643-.097.082-.171.359-.174.691-.007.265.032.491.1.621a1.6 1.6 0 0 0-.089.542c-.005.279.039.518.11.643-.021.981-.008 2.025.045 3.008h2.118c.015-.765.066-1.6.141-2.357.15-1.35.373-2.721 1.048-3.874l.005-.008a.11.11 0 0 0-.013-.127c-.04-.035-.095-.035-.132.008-.916 1.063-1.317 2.506-1.553 3.89q-.062.407-.108.816c.058-1.111.16-2.217.415-3.269.291-1.281.874-2.5 1.984-3.183a.1.1 0 0 0 .039-.112.09.09 0 0 0-.11-.066c-.071.021-.136.058-.205.088-.073-.091-.343-.024-.622.153-.265.173-.441.386-.422.503 0 .005-.013.013-.013.002a.1.1 0 0 0-.013-.034c-.1-.082-.368.104-.594.42-.228.316-.317.646-.22.731.005.002.003.01-.002.01-.119-.048-.315.221-.439.596-.089.262-.11.504-.078.643 0 .004-.006.01-.006.01-.092.303-.168.609-.239.919.027-.438.066-.879.129-1.315.186-1.254.564-2.482 1.236-3.528m6.663-3.498a.75.75 0 0 0-.485-.037.8.8 0 0 0-.326.17.9.9 0 0 0-.018-.345.84.84 0 0 0-.252-.449c-.572-.571-.179-2.291-.312-2.312-.131-.018-.084 1.696-.354 2.498a.9.9 0 0 0-.019.529.9.9 0 0 0 .26.451c.113.099.249.144.378.104a.2.2 0 0 0 .097-.043q0 .033.002.064c.03.141.129.25.266.314a.72.72 0 0 0 .488.037.8.8 0 0 0 .428-.26c.538-.625 1.803-1.515 1.727-1.634-.077-.117-1.145 1.195-1.88.913m2.447-2.165c-.082-.117-1.095 1.065-1.785.77a.64.64 0 0 0-.452-.042.7.7 0 0 0-.236.133c-.003-.048 0-.091-.01-.133a.7.7 0 0 0-.255-.398c-.577-.505-.123-2.041-.26-2.057-.139-.016-.136 1.512-.436 2.229a.68.68 0 0 0-.036.468c.042.17.137.311.255.401a.48.48 0 0 0 .393.093.5.5 0 0 0 .16-.082c0 .008-.003.018 0 .026a.53.53 0 0 0 .27.327.64.64 0 0 0 .447.037.63.63 0 0 0 .365-.26c.427-.64 1.661-1.39 1.58-1.512m.249-1.48c-.09-.093-.816 1.124-1.475.978a.55.55 0 0 0-.399.04.5.5 0 0 0-.168.117c0-.03.008-.059.008-.091a.68.68 0 0 0-.171-.393c-.443-.542.173-1.825.055-1.865-.12-.035-.33 1.315-.698 1.902a.63.63 0 0 0-.094.412c.01.157.076.298.168.396.094.098.21.152.336.144a.38.38 0 0 0 .244-.12q-.002.081.036.167a.44.44 0 0 0 .286.242c.124.04.271.029.402-.035a.6.6 0 0 0 .284-.292c.288-.64 1.272-1.509 1.186-1.602m-.436-1.69c-.149-.106-.624 1.076-1.189 1.384a.7.7 0 0 0-.275.295.7.7 0 0 0-.079.415c.013.125.071.231.163.284a.32.32 0 0 0 .315-.002.67.67 0 0 0 .28-.298.74.74 0 0 0 .079-.412c-.042-.669.811-1.6.706-1.666M30.252 42.917h-5.945c-.404 0-.769-.032-1.105-.093q.004.001.003.002c.976 1.451 2.506 2.552 4.057 3.29.239 1.323.538 2.548.646 2.644.11.095 1.632-.343 1.68-.484.044-.14-.623-2.407-.623-2.407.801-1.374 1.048-2.185 1.287-2.952m14.953 10.169c-1.501.593-3.459.642-5.057.218-3.661-1.14-7.726-3.3-11.629-1.507-3.902-1.793-7.967.367-11.628 1.507-1.598.424-3.556.375-5.057-.218a.038.038 0 0 0-.037.066c2.16 1.671 5.186 2.44 7.91 1.456 2.616-.815 4.829-3.587 7.928-2.404-2.454.959-4.748 2.729-6.519 4.399l1.288 1.058c1.609-1.873 3.42-3.746 5.47-4.886.28-.165.448-.231.645-.242.198.011.365.077.643.242 2.053 1.14 3.864 3.013 5.472 4.886l1.289-1.058c-1.771-1.67-4.065-3.44-6.519-4.399 3.099-1.183 5.312 1.589 7.928 2.404 2.724.984 5.75.215 7.91-1.456.034-.029.005-.082-.037-.066m-24.129-2.525c-3.826-.927-4.873-4.514-8.072-6.071-.034-.018-.071.022-.05.053 1.008 1.658 1.554 4.198 4.459 5.764.024.012.011.05-.016.042-4.167-.802-5.918.313-10.285-1.661-.037-.016-.076.024-.052.059 1.435 2.083 4.841 3.507 9.508 3.114 1.68-.143 2.897-.85 4.508-1.227.04-.011.04-.065 0-.073m-8.014-2.2c-1.454-1.905-1.04-5.972-4.323-9.695-.026-.029-.073-.006-.065.031.627 2.742.44 5.857 2.157 8.139.016.024-.008.048-.032.032-3.385-2.665-6.865-3.468-8.414-5.625-.023-.029-.07-.014-.065.024.383 2.792 5.747 7.145 10.713 7.153.029 0 .047-.034.029-.059m-5.084-5.064c-1.559-2.891.304-7.302-1.464-11.588-.019-.045-.087-.034-.087.014-.052 2.34-1.506 5.835-.627 8.473.01.024-.021.037-.034.016-2.239-3.271-4.015-3.954-5.496-6.948-.021-.045-.089-.033-.092.015C.084 35.314.984 36.973 2 38.514a17.4 17.4 0 0 0 5.928 4.836c.035.016.066-.019.05-.053M6.921 25.691c-.003-.048-.066-.064-.09-.022-1.189 2.224-3.306 3.994-3.375 6.931-.002.029-.034.031-.039.004-.386-2.266-2.309-4.806-2.393-8.088 0-.05-.071-.063-.09-.016-1.582 4.268.693 8.314 3.115 11.657.027.034.079.014.079-.032-.099-3.542 2.971-6.186 2.793-10.434m1.511-5.522c-1.123 1.56-3.65 2.663-4.574 4.913-.013.032-.053.024-.047-.013.367-2.522-.607-5.45.307-8.8.013-.048-.047-.08-.076-.043-1.381 1.698-1.848 3.688-1.924 5.838-.094 2.641.834 4.567 1.294 6.358.01.043.065.04.076-.003.661-2.348 3.981-3.762 5.02-8.213.014-.047-.047-.077-.076-.037m3.047-5.245c-1.847 1.448-4.669 2.843-5.275 3.85-.01.021-.042.005-.037-.016l.685-3.287c.307-1.395.572-2.731 1.344-3.98.024-.037-.021-.08-.055-.053-3.517 2.785-3.003 6.812-3.158 10.11-.002.035.04.051.064.027 2.07-2.246 5.445-3.553 6.49-6.606.013-.037-.027-.069-.058-.045m2.617-5.049c-3.108.099-5.391 2.716-6.37 6.048-.005.019.021.035.037.024 4.281-3.138 4.041-4.483 6.359-5.976.042-.027.024-.096-.026-.096m35.828 38.813c-4.364 1.974-6.117.859-10.285 1.661-.026.008-.039-.03-.016-.042 2.905-1.566 3.451-4.106 4.459-5.764.021-.031-.015-.071-.05-.053-3.196 1.557-4.243 5.144-8.072 6.071-.04.008-.04.062 0 .073 1.611.377 2.829 1.084 4.508 1.227 4.666.393 8.076-1.031 9.509-3.114.023-.035-.016-.075-.053-.059m4.726-7.445c-1.548 2.157-5.028 2.96-8.413 5.625-.021.016-.047-.008-.029-.032 1.714-2.282 1.527-5.397 2.154-8.139.008-.037-.039-.06-.065-.031-3.281 3.723-2.869 7.79-4.32 9.695-.018.025-.003.059.029.059 4.965-.008 10.327-4.361 10.71-7.153.005-.038-.042-.053-.066-.024m2.208-7.964c-.003-.048-.071-.06-.092-.015-1.48 2.994-3.257 3.677-5.493 6.948-.016.021-.045.008-.036-.016.878-2.638-.573-6.133-.628-8.473 0-.048-.068-.059-.086-.014-1.769 4.286.094 8.697-1.462 11.588-.019.034.013.069.047.053a17.4 17.4 0 0 0 5.928-4.836c1.016-1.541 1.916-3.2 1.822-5.235m-.756-8.779c-.018-.047-.089-.034-.089.016-.084 3.282-2.008 5.822-2.394 8.088-.005.027-.036.025-.036-.004-.069-2.937-2.189-4.707-3.378-6.931-.024-.042-.087-.026-.087.022-.178 4.248 2.89 6.892 2.79 10.434 0 .046.055.066.081.032 2.42-3.343 4.695-7.389 3.113-11.657m-1.184-2.436c-.076-2.15-.543-4.14-1.923-5.838-.029-.037-.087-.005-.076.043.913 3.35-.061 6.278.309 8.8.005.037-.036.045-.05.013-.923-2.25-3.451-3.353-4.574-4.913-.026-.04-.087-.01-.076.037 1.039 4.451 4.359 5.865 5.021 8.213.01.043.065.046.076.003.459-1.791 1.388-3.717 1.293-6.358m-6.023-10.626c-.034-.027-.078.016-.055.053.772 1.249 1.037 2.585 1.344 3.98l.685 3.287c.005.021-.027.037-.037.016-.606-1.007-3.425-2.402-5.275-3.85-.029-.024-.071.008-.058.045 1.045 3.053 4.42 4.36 6.49 6.606.024.024.066.008.063-.027-.154-3.298.36-7.325-3.157-10.11m-5.954-1.563c-.05 0-.066.069-.027.096 2.318 1.493 2.079 2.838 6.359 5.976.019.011.042-.005.037-.024-.979-3.332-3.262-5.949-6.369-6.048m28.225 19.572h-2.232l-1.253-4.857q-.069-.26-.237-1.072a12 12 0 0 1-.193-1.091q-.037.34-.189 1.097-.153.756-.235 1.079l-1.245 4.844h-2.227l-2.359-9.246h1.929l1.183 5.047q.31 1.398.449 2.422.037-.36.174-1.116t.256-1.173l1.347-5.18h1.853l1.347 5.18q.088.347.222 1.062.132.715.202 1.227.063-.492.203-1.231.139-.735.253-1.191l1.176-5.047h1.929zm4.578-3.548q0 1.05.345 1.587.344.538 1.122.538.771 0 1.11-.534.338-.535.338-1.591 0-1.05-.341-1.575-.342-.524-1.12-.524-.771 0-1.113.521-.34.522-.341 1.578m4.888 0q0 1.726-.91 2.701-.911.974-2.536.974-1.019 0-1.796-.446a2.96 2.96 0 0 1-1.195-1.281q-.418-.834-.418-1.948 0-1.733.904-2.694c.904-.961 1.451-.962 2.543-.962q1.017.001 1.796.443.778.443 1.195 1.272.417.828.417 1.941m5.376-3.656q.393 0 .652.058l-.146 1.808a2.2 2.2 0 0 0-.569-.063q-.923 0-1.438.474-.516.475-.516 1.329v3.598h-1.929v-7.071h1.461l.284 1.189h.095q.33-.594.889-.958a2.2 2.2 0 0 1 1.217-.364m1.749 7.204h1.929v-9.841h-1.929zm6.76-1.41q.74 0 1.085-.431.345-.429.376-1.461v-.208q0-1.139-.351-1.631-.351-.494-1.142-.494-.645 0-1.002.547t-.357 1.591q0 1.043.36 1.565.361.522 1.031.522m-.677 1.537q-1.246 0-1.957-.968t-.711-2.681q0-1.74.724-2.71.724-.972 1.995-.972 1.335 0 2.036 1.038h.064a8 8 0 0 1-.146-1.411v-2.264h1.935v9.841H96.3l-.373-.917h-.082q-.657 1.043-2.005 1.044m11.17-.127h-1.929v-9.246h5.3v1.607h-3.371v2.383h3.137v1.601h-3.137zm6.379-3.548q0 1.05.345 1.587.344.538 1.122.538.771 0 1.11-.534.338-.535.338-1.591 0-1.05-.341-1.575-.342-.524-1.12-.524-.771 0-1.113.521-.34.522-.341 1.578m4.888 0q0 1.726-.91 2.701-.911.974-2.536.974-1.019 0-1.796-.446a2.96 2.96 0 0 1-1.195-1.281q-.418-.834-.418-1.948 0-1.733.904-2.694c.904-.961 1.451-.962 2.543-.962q1.018.001 1.796.443.778.443 1.195 1.272.417.828.417 1.941m3.01 0q0 1.05.344 1.587.345.538 1.123.538.771 0 1.11-.534.338-.535.338-1.591 0-1.05-.341-1.575-.342-.524-1.12-.524-.771 0-1.113.521-.34.522-.341 1.578m4.888 0q0 1.726-.91 2.701-.911.974-2.536.974-1.019 0-1.796-.446a2.97 2.97 0 0 1-1.196-1.281q-.417-.834-.417-1.948 0-1.733.904-2.694c.904-.961 1.45-.962 2.543-.962q1.017.001 1.796.443.778.443 1.195 1.272.417.828.417 1.941m4.418 2.138q.74 0 1.084-.431.344-.429.377-1.461v-.208q0-1.139-.351-1.631-.351-.494-1.142-.494-.645 0-1.002.547-.358.547-.358 1.591 0 1.043.361 1.565.36.522 1.031.522m-.677 1.537q-1.246 0-1.957-.968t-.712-2.681q0-1.74.724-2.71.724-.972 1.995-.972 1.335 0 2.037 1.038h.064a8 8 0 0 1-.146-1.411v-2.264h1.935v9.841h-1.48l-.373-.917h-.082q-.657 1.043-2.005 1.044M64.157 37.78h.645q.904 0 1.354-.357.449-.357.449-1.04 0-.69-.377-1.019-.376-.328-1.179-.328h-.892zm4.428-1.467q0 1.492-.933 2.284-.933.79-2.653.79h-.842v3.289h-1.96V33.43h2.953q1.683 0 2.559.723.876.725.876 2.16m4.886-.841q.392 0 .653.057l-.146 1.809a2.2 2.2 0 0 0-.569-.064q-.924 0-1.44.475-.514.474-.514 1.328v3.599h-1.93v-7.072h1.461l.285 1.19h.095q.329-.595.889-.958a2.2 2.2 0 0 1 1.216-.364m2.905 3.656q0 1.05.344 1.587.345.537 1.122.538.772 0 1.111-.534.338-.535.339-1.591 0-1.05-.342-1.575t-1.119-.525q-.772 0-1.114.522-.34.521-.341 1.578m4.888 0q0 1.726-.91 2.7c-.91.974-1.453.975-2.536.975q-1.02 0-1.797-.447a2.97 2.97 0 0 1-1.195-1.281q-.417-.833-.417-1.947 0-1.733.904-2.694.904-.962 2.542-.962 1.02 0 1.797.443a2.95 2.95 0 0 1 1.195 1.271q.418.829.417 1.942m2.459-1.208q0 .576.263.91.262.336.801.336.543 0 .797-.336.252-.334.253-.91 0-1.278-1.05-1.278-1.064 0-1.064 1.278m-.701 5.755q0 .398.382.626.384.228 1.072.228 1.038 0 1.626-.285.588-.284.588-.777 0-.4-.348-.551t-1.075-.151h-1q-.53 0-.887.249-.358.25-.358.661m5.458-8.071v.981l-1.107.285q.304.474.303 1.063 0 1.137-.794 1.773-.792.636-2.204.636l-.347-.019-.284-.032q-.298.228-.298.507 0 .416 1.062.417h1.202q1.164 0 1.775.5.61.5.61 1.467 0 1.24-1.034 1.922-1.035.683-2.97.683-1.48 0-2.261-.515-.781-.516-.781-1.445 0-.639.399-1.069.397-.43 1.17-.614a1.3 1.3 0 0 1-.519-.414 1 1 0 0 1-.222-.61q0-.405.235-.674.234-.268.677-.528a1.9 1.9 0 0 1-.883-.772q-.326-.53-.326-1.252 0-1.157.753-1.79.752-.632 2.151-.632.296 0 .705.053.407.055.521.079zm4.577-.132q.393 0 .653.057l-.146 1.809a2.2 2.2 0 0 0-.569-.064q-.924 0-1.44.475-.514.474-.514 1.328v3.599h-1.93v-7.072h1.461l.285 1.19h.095q.328-.595.888-.958a2.2 2.2 0 0 1 1.217-.364m5.159 3.927-.747.026q-.84.025-1.252.303-.411.279-.411.848 0 .815.937.815.67.001 1.071-.385.402-.386.402-1.025zm.569 3.277-.373-.961h-.05q-.487.612-1.003.85t-1.344.238q-1.018 0-1.603-.582t-.585-1.658q0-1.125.787-1.66t2.375-.592l1.227-.038v-.309q0-1.075-1.1-1.075-.849 0-1.992.512l-.639-1.302q1.22-.64 2.706-.64 1.424 0 2.183.62t.758 1.885v4.712zm9.053 0h-1.929v-4.13q0-.765-.257-1.149-.255-.382-.806-.381-.74-.001-1.075.544-.335.543-.335 1.789v3.327h-1.93v-7.072h1.474l.26.906h.107q.285-.488.823-.763a2.66 2.66 0 0 1 1.233-.275q1.587 0 2.15 1.038h.17q.286-.493.839-.766a2.8 2.8 0 0 1 1.249-.272q1.201 0 1.819.617.616.616.616 1.976v4.611h-1.936v-4.13q0-.765-.256-1.149-.256-.382-.806-.381-.708 0-1.059.505t-.351 1.607zm12.114 0h-1.929v-4.13q0-.765-.257-1.149-.255-.382-.805-.381-.74-.001-1.076.544-.335.543-.335 1.789v3.327h-1.929v-7.072h1.473l.26.906h.108q.283-.488.822-.763a2.66 2.66 0 0 1 1.233-.275q1.587 0 2.151 1.038h.17q.285-.493.838-.766a2.8 2.8 0 0 1 1.249-.272q1.202 0 1.819.617.616.616.616 1.976v4.611h-1.936v-4.13q0-.765-.255-1.149-.257-.382-.807-.381-.708 0-1.059.505t-.351 1.607zm8.755-5.831q-.614 0-.962.388-.347.39-.399 1.104h2.707q-.011-.715-.373-1.104-.36-.388-.973-.388m.271 5.958q-1.707 0-2.669-.943-.96-.943-.961-2.669 0-1.778.889-2.748.888-.97 2.457-.971 1.498 0 2.334.854.835.854.834 2.359v.936h-4.56q.033.823.488 1.284t1.277.461a5.3 5.3 0 0 0 1.208-.133q.569-.132 1.189-.424v1.494a4.5 4.5 0 0 1-1.082.376 7 7 0 0 1-1.404.124\"\n}));\nvar WfpLogoStandardBlackEn$1 = WfpLogoStandardBlackEn;\n\nconst WfpLogoVerticalEn = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 57 86\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fillRule: \"evenodd\",\n d: \"M2.535 79.1h.513q.719 0 1.076-.285.357-.283.357-.827 0-.548-.3-.809-.299-.262-.937-.262h-.709zm3.52-1.167q0 1.187-.742 1.815-.74.629-2.11.629h-.668v2.615H.975V75.64h2.349q1.338 0 2.035.575.696.577.696 1.718m3.892-.669q.312 0 .518.045l-.116 1.438a1.8 1.8 0 0 0-.453-.05q-.733 0-1.144.377-.41.378-.409 1.057v2.861H6.809v-5.623H7.97l.227.945h.075q.261-.471.706-.761.446-.29.969-.289m2.306 2.907q0 .835.274 1.263.274.426.892.426.614 0 .883-.424.269-.426.269-1.265 0-.835-.271-1.253-.272-.416-.89-.417-.615 0-.886.415-.271.414-.271 1.255m3.887 0q0 1.373-.724 2.147-.724.775-2.017.775-.809 0-1.428-.355a2.37 2.37 0 0 1-.951-1.018q-.331-.664-.331-1.549 0-1.378.719-2.143.718-.764 2.022-.764.81 0 1.428.352.618.353.95 1.011.333.659.332 1.544m1.954-.961q0 .458.209.725.208.266.636.266.432 0 .633-.266.201-.267.201-.725 0-1.016-.834-1.016-.846 0-.845 1.016m-.558 4.577q0 .316.304.498.305.18.852.181.825 0 1.293-.227.468-.225.467-.618 0-.318-.276-.437-.277-.121-.855-.121h-.795q-.423 0-.706.199a.61.61 0 0 0-.284.525m4.34-6.418v.78l-.881.226q.242.377.242.846 0 .904-.631 1.41t-1.753.506l-.276-.016-.226-.025q-.237.181-.237.402 0 .332.845.332h.955q.925 0 1.411.398.485.397.485 1.167 0 .986-.822 1.529t-2.361.543q-1.177 0-1.798-.41t-.621-1.15q0-.508.317-.849.316-.342.93-.489a1 1 0 0 1-.412-.329.78.78 0 0 1-.176-.485q0-.322.186-.535.186-.215.538-.42a1.5 1.5 0 0 1-.702-.614 1.9 1.9 0 0 1-.259-.996q0-.92.599-1.423t1.71-.503q.236 0 .56.043t.415.062zm3.638-.105q.311 0 .518.045l-.116 1.438a1.8 1.8 0 0 0-.452-.05q-.734 0-1.144.377-.41.378-.41 1.057v2.861h-1.534v-5.623h1.161l.227.945h.075q.262-.471.707-.761a1.74 1.74 0 0 1 .968-.289m4.103 3.123-.593.02q-.67.02-.996.241-.327.222-.327.674 0 .65.744.65.534 0 .853-.308.32-.306.319-.814zm.453 2.605-.297-.764h-.04q-.388.487-.797.676t-1.069.189q-.81 0-1.275-.463t-.465-1.318q0-.895.626-1.32t1.888-.471l.976-.029v-.247q0-.854-.875-.854-.674 0-1.584.407l-.508-1.036a4.57 4.57 0 0 1 2.152-.508q1.132 0 1.735.493t.604 1.498v3.747zm7.197 0h-1.534v-3.284q0-.608-.203-.913-.204-.303-.642-.304-.588 0-.855.433-.266.433-.266 1.423v2.645h-1.534v-5.623h1.172l.206.72h.085q.227-.387.654-.607.428-.218.981-.218 1.262 0 1.71.825h.136q.226-.393.666-.608.44-.217.993-.217.956 0 1.446.49.49.491.49 1.572v3.666h-1.538v-3.284q0-.608-.204-.913-.204-.303-.641-.304-.564 0-.843.403-.279.4-.279 1.277zm9.632 0h-1.534v-3.284q0-.608-.204-.913-.203-.303-.641-.304-.588 0-.855.433-.266.433-.266 1.423v2.645h-1.534v-5.623h1.171l.207.72h.085q.227-.387.654-.607.428-.218.981-.218 1.262 0 1.71.825h.135q.226-.393.667-.608.44-.217.993-.217.956 0 1.446.49.49.491.49 1.572v3.666h-1.538v-3.284q0-.608-.205-.913-.203-.303-.641-.304-.563 0-.842.403-.279.4-.279 1.277zm6.96-4.637q-.488 0-.764.309-.276.31-.317.878h2.153q-.01-.568-.297-.878-.286-.309-.775-.309m.217 4.738q-1.358 0-2.123-.749-.764-.75-.764-2.123 0-1.413.706-2.185.707-.772 1.954-.772 1.193 0 1.856.678.663.68.664 1.876v.745h-3.626q.026.654.387 1.021.362.367 1.016.367.508 0 .96-.105.453-.106.946-.337v1.186a3.6 3.6 0 0 1-.86.3 5.4 5.4 0 0 1-1.116.098M8.306 71.654H6.531l-.996-3.862q-.056-.207-.188-.853a10 10 0 0 1-.154-.867q-.03.272-.15.872a19 19 0 0 1-.187.858l-.99 3.852h-1.77L.22 64.302h1.534l.94 4.012q.246 1.113.357 1.927.03-.287.138-.887.109-.602.203-.933l1.072-4.119h1.473l1.072 4.119q.07.276.176.845t.161.975q.051-.393.161-.978.11-.586.201-.949l.935-4.012h1.535zm3.586-2.821q0 .835.274 1.263t.892.427q.616 0 .883-.425.27-.425.27-1.265 0-.835-.272-1.253-.272-.416-.89-.417-.614 0-.885.415-.272.415-.272 1.255m3.888 0q0 1.373-.724 2.147-.725.775-2.017.775-.81 0-1.429-.355a2.37 2.37 0 0 1-.95-1.018q-.332-.663-.332-1.549 0-1.378.719-2.143.72-.764 2.022-.764.81 0 1.428.352.619.353.951 1.011.332.66.332 1.544m4.211-2.907q.311 0 .518.045l-.116 1.438a1.8 1.8 0 0 0-.453-.05q-.734 0-1.143.377-.41.378-.41 1.057v2.861h-1.535v-5.623h1.163l.226.946h.075q.262-.472.706-.762.446-.29.969-.289m1.326 5.728h1.534v-7.825h-1.534zm5.311-1.121q.588 0 .862-.343.274-.341.3-1.161v-.166q0-.905-.279-1.298-.28-.392-.909-.392a.9.9 0 0 0-.796.435q-.285.435-.285 1.265t.286 1.245q.288.415.821.415m-.538 1.222q-.992 0-1.557-.77-.565-.768-.565-2.132 0-1.383.575-2.155.576-.772 1.587-.772 1.06 0 1.619.825h.051a6.3 6.3 0 0 1-.117-1.122v-1.8h1.54v7.825h-1.177l-.297-.729h-.066q-.522.83-1.593.83m8.593-.101h-1.534v-7.352h4.215v1.277h-2.681v1.896h2.496v1.272h-2.496zm5.015-2.821q0 .835.275 1.263.273.427.892.427.613 0 .883-.425.268-.425.268-1.265.001-.835-.271-1.253-.271-.416-.89-.417-.613 0-.885.415t-.272 1.255m3.888 0q0 1.373-.724 2.147-.724.775-2.017.775-.81 0-1.428-.355a2.36 2.36 0 0 1-.951-1.018q-.331-.663-.331-1.549 0-1.378.718-2.143.72-.764 2.022-.764.81 0 1.429.352.618.353.95 1.011.332.66.332 1.544m2.328 0q0 .835.273 1.263.275.427.893.427.614 0 .883-.425.27-.425.269-1.265 0-.835-.271-1.253-.273-.416-.891-.417-.614 0-.884.415-.273.415-.272 1.255m3.888 0q0 1.373-.725 2.147-.724.775-2.016.775-.81 0-1.429-.355a2.37 2.37 0 0 1-.951-1.018q-.332-.663-.332-1.549 0-1.378.719-2.143.72-.764 2.023-.764.81 0 1.428.352.618.353.951 1.011.331.66.332 1.544m3.446 1.7q.588 0 .863-.343.275-.341.299-1.161v-.166q0-.905-.279-1.298-.278-.392-.908-.392a.9.9 0 0 0-.797.435q-.285.435-.285 1.265t.288 1.245q.287.415.819.415m-.538 1.222q-.99 0-1.557-.77-.565-.768-.565-2.132 0-1.383.576-2.155.575-.772 1.587-.772 1.06 0 1.619.825h.05a6.3 6.3 0 0 1-.115-1.122v-1.8h1.539v7.825h-1.177l-.297-.729h-.065q-.523.83-1.595.83M35.847 4.482h.548q.768 0 1.149-.303.382-.303.382-.884 0-.585-.32-.864-.32-.28-1.002-.28h-.757zm3.76-1.246q0 1.268-.793 1.939-.791.672-2.253.672h-.714V8.64h-1.665V.787h2.508q1.43 0 2.173.615.744.616.744 1.834M30.071 8.64h-1.638V.787h4.5v1.364h-2.862v2.026h2.664v1.358h-2.664zm-4.526 0h-1.896l-1.063-4.126q-.06-.22-.201-.91a10 10 0 0 1-.164-.926q-.033.29-.161.932-.13.641-.199.915L20.803 8.64h-1.89L16.909.787h1.638l1.005 4.286q.263 1.187.38 2.057.033-.306.148-.947a11 11 0 0 1 .218-.997L21.442.787h1.573l1.145 4.399q.075.296.188.902.112.607.171 1.042.054-.419.172-1.045.119-.625.216-1.012l.998-4.286h1.638zm-4.072 27.312c-3.051 0-5.01.725-5.544.949-.032.014-.058-.031-.033-.055 3.352-3.486 7.278-3.293 8.222-3.293H35.28c.562 0 1.018.537 1.018 1.2s-.456 1.199-1.018 1.199zm2.514 3.085c-3.287 0-4.245-1.868-9.222-.635-.034.009-.057-.038-.028-.057 2.775-1.904 5.792-1.731 7.011-1.731H35.28c.562 0 1.018.537 1.018 1.199 0 .663-.456 1.2-1.018 1.2 0 0-8.69.024-11.293.024m.234 3.037c-3.375 0-3.645-2.49-8.647-3.051-.035-.003-.039-.055-.005-.064 4.11-1.027 5.638.716 8.037.716H35.28c.562 0 1.018.537 1.018 1.199 0 .663-.456 1.2-1.018 1.2zm-.733-9.182c-2.716 0-4.968 1.184-5.495 1.483-.029.017-.059-.019-.04-.046.441-.648 2.82-3.837 6.911-3.837H35.28c.562 0 1.018.537 1.018 1.2s-.456 1.2-1.018 1.2zm14.941-6.625a.74.74 0 0 0-.443-.205.73.73 0 0 0-.363.042c.048-.098.087-.204.103-.329a.86.86 0 0 0-.084-.513c-.336-.736.624-2.208.504-2.275-.116-.063-.662 1.56-1.192 2.217a.9.9 0 0 0-.199.488.9.9 0 0 0 .086.513c.074.133.187.226.318.234a.3.3 0 0 0 .107-.005.3.3 0 0 0-.018.058.45.45 0 0 0 .142.388.7.7 0 0 0 .441.207.78.78 0 0 0 .493-.092c.719-.394 2.21-.782 2.178-.92-.029-.138-1.483.715-2.073.192m1.1-1.074a.63.63 0 0 0-.407-.199.6.6 0 0 0-.268.042c.014-.045.032-.085.037-.13a.72.72 0 0 0-.102-.463c-.365-.677.587-1.955.464-2.019s-.645 1.368-1.176 1.934a.7.7 0 0 0-.196.426.77.77 0 0 0 .099.465.5.5 0 0 0 .339.228.5.5 0 0 0 .179-.021c-.004.008-.011.019-.008.026a.53.53 0 0 0 .139.399.63.63 0 0 0 .404.194.6.6 0 0 0 .433-.117c.619-.446 2.036-.712 2-.855-.035-.139-1.391.611-1.937.09m.963-.994a.55.55 0 0 0-.389-.103.5.5 0 0 0-.196.05c.01-.029.029-.053.039-.083a.7.7 0 0 0-.024-.43c-.231-.664.793-1.647.693-1.727-.1-.074-.763 1.116-1.309 1.536a.64.64 0 0 0-.231.354.63.63 0 0 0 .021.427.43.43 0 0 0 .265.255.38.38 0 0 0 .27-.026.4.4 0 0 0-.024.17c.013.135.079.25.187.329.102.08.241.12.386.109a.6.6 0 0 0 .367-.175c.491-.497 1.714-.962 1.664-1.082-.052-.119-1.152.765-1.719.396m1.895-2.134c-.102-.151-.958.787-1.591.877a.67.67 0 0 0-.359.178.7.7 0 0 0-.221.361.38.38 0 0 0 .055.325.33.33 0 0 0 .3.109.66.66 0 0 0 .365-.181.74.74 0 0 0 .215-.356c.191-.643 1.312-1.214 1.236-1.313m-17.694 1.27c-.026.094-.21.816-.21.816-.052.03-.273-.018-.331-.024-.422-.04-.8-.406-.637-.845.132-.358.403-.396.748-.411.142-.007.399.027.528.116 0 0-.051.165-.098.348m-.486 2.182-.039.247c-.262-.164-.417-.542-.291-.84.097-.225.337-.285.514-.295a50 50 0 0 0-.184.888m-.377 2.697c-.033.185-.284.21-.455.261-.495.148-.965.085-1.117-.508-.166-.635.315-.901.829-1.026.281-.066.54-.01.732.226.049.059.105.112.118.168 0 0-.076.705-.107.879m-1.562-3.122c.383-.093.779-.237 1.073.141.31.395.208 1.031-.291 1.198-.328.111-.724.207-1.005-.061-.367-.351-.341-1.148.223-1.278m-.375-2.057c.404-.098.821-.247 1.131.149.323.415.215 1.084-.307 1.259-.346.115-.764.216-1.058-.066-.386-.367-.357-1.204.234-1.342m-.376 4.445c-.105.37-.409.426-.729.503-.21-.258-.773-.909-.784-.986a.2.2 0 0 1 .012-.09c.026-.077.116-.152.181-.194.192-.125.601-.218.822-.173.396.085.603.569.498.94m-2.004-1.899c-.29-1.023 1.427-1.47 1.692-.465.273 1.031-1.459 1.469-1.692.465m-.252-2.043c-.294-1.018 1.43-1.465 1.695-.466.273 1.034-1.462 1.472-1.695.466m-.242-2.009c-.281-.949 1.338-1.369 1.585-.433.255.962-1.364 1.376-1.585.433m-.165 3.866c-.08.047-.11.072-.136.072l-.771-.838c.009-.023.248-.196.327-.241.64-.356 1.168.661.58 1.007m-1.462-1.887c-.381-.84 1.005-1.751 1.425-.845.385.835-1 1.762-1.425.845m1.165-2.659c.438.778-.882 1.647-1.26.81-.336-.723.838-1.565 1.26-.81m-1.107-1.815c.194-.172.419-.266.65-.155.371.179.381.734.058.954-.147.102-.396.226-.577.181-.397-.101-.472-.679-.131-.98m.049-1.669c.161-.108.373-.205.557-.13.334.136.323.621.052.815-.123.088-.346.197-.496.157-.338-.085-.421-.633-.113-.842m.888-2.378c.198-.108.485-.152.664.048a.468.468 0 0 1-.134.733c-.213.107-.499.146-.667-.051a.48.48 0 0 1 .137-.73m-.158 1.806c-.16-.595.843-.876 1.005-.271.181.588-.845.88-1.005.271m1.617 1.04c.233.643-.856 1.007-1.068.372-.218-.643.876-1.01 1.068-.372m.136-3.133c.208-.084.474-.173.706 0 .289.216.226.701-.105.853-.218.098-.496.164-.69-.008-.247-.221-.26-.705.089-.845m-.192 5.381c-.294.068-.6.186-.844-.067-.313-.322-.223-.885.199-1.039.273-.103.62-.162.843.066.285.293.254.931-.198 1.04m.006-3.285c-.189-.637.85-.964 1.05-.345.204.635-.872.972-1.05.345m1.74 1.169c.244.728-.987 1.117-1.213.399-.228-.733 1.011-1.121 1.213-.399m.065-1.95c.217-.058.447-.037.612.141.252.271.165.733-.207.802-.176.032-.447.019-.583-.101-.247-.217-.235-.731.178-.842m1.05 1.528c.396 0 .596.582.365.872-.139.175-.439.186-.643.154-.378-.059-.619-.545-.365-.875.155-.199.42-.151.643-.151m-1.903 2.397c-.244-.837 1.179-1.212 1.397-.38.22.845-1.21 1.217-1.397.38m.872 1.071c.388-.04.792-.131 1.031.276.25.43.063 1.028-.441 1.129-.33.069-.732.101-.968-.191-.31-.388-.186-1.162.378-1.214m1.975-1.865c.479.198.641.765.303 1.081-.181.165-.512.132-.735.087-.446-.087-.738-.758-.346-1.076.2-.163.559-.182.778-.092m.754 2.019c.302.369.189 1.022-.338 1.055-.276.015-.636-.016-.822-.242-.299-.362-.186-1.039.341-1.058.276-.01.633.019.819.245m2.04-6.665a.12.12 0 0 0-.135-.05c-.063.021-.105.091-.081.152 1.205 3.236-.333 4.83-.976 7.097-.772-1.842 1.784-3.574.467-6.93a.14.14 0 0 0-.1-.085c-.065-.008-.128.019-.139.106-.034.237-.189 2.097-1.698 3.186a3 3 0 0 0-.703-1.02c-.139-.627-.548-1.488-1.409-1.743-.129-.324-.389-.79-.888-1.039-.469-.234-1.012-.213-1.616.061q-1.097.13-1.496.845c-.249.449-.205.938-.121 1.27-.614.656-.643 1.629-.627 2.009-.365.876-.16 1.9-.045 2.325-.435 1.19-.01 2.346.16 2.729q.002.154.011.3c-1.428-1.563-4.677-3.497-5.918-4.235a.15.15 0 0 0-.181.021.15.15 0 0 0-.008.217c2.769 2.7 5.238 6.032 7.611 12.946 1.184-1.23 3.322-2.849 6.367-2.849h3.561c-2.263-8.428 1.032-11.444-2.036-15.313m16.835 4.358c-.651-.17-4.808-.906-9.466 7.663.679-3.191 2.745-7.052 3.312-8.173v-.008a.155.155 0 0 0-.042-.191.135.135 0 0 0-.189.034c-3.079 5.134-4.16 8.091-4.798 11.63h1.929c.328-3.411 4.638-11.449 9.23-10.851h.005c.027.005.05-.016.053-.04a.05.05 0 0 0-.034-.064m-9.262 28.233-1.042-4.356h-1.774c.281 1.106.682 2.23 1.202 3.215.035.059.098.094.161.083a.163.163 0 0 0 .133-.189c-.121-.922-.265-1.812-.401-2.699.375 1.394.881 2.757 1.564 4.012.018.039.058.058.094.045.05-.011.076-.063.063-.111m1.793-1.978c-.181-.727-.37-1.621-.533-2.378h-.674c.262.808.616 1.709.931 2.48.032.074.103.111.171.093a.16.16 0 0 0 .105-.195m.225 2.562-.005-.011c-.218-.608-.519-1.153-.758-1.737a23 23 0 0 1-.706-1.759 21 21 0 0 1-.491-1.433h-.651c.184.545.423 1.132.646 1.659.491 1.187 1.058 2.351 1.779 3.392a.1.1 0 0 0 .123.035c.058-.021.084-.088.063-.146m.974-20.901c-.05-.074-.17-.09-.228-.029a13.4 13.4 0 0 0-2.147 3.068h.704c.351-.826 1.144-2.285 1.653-2.81l.005-.006a.18.18 0 0 0 .013-.223M31.6 20.729c.651-1.068 1.617-1.887 2.436-2.875a.1.1 0 0 0-.008-.128.083.083 0 0 0-.118-.002 13 13 0 0 1-.58.571c-.086-.043-.307.042-.53.218-.176.138-.302.292-.347.403-.112-.026-.325.107-.517.352-.157.204-.249.42-.246.552-.121.011-.297.165-.446.409a1.3 1.3 0 0 0-.182.449 1.3 1.3 0 0 0-.309.354c-.134.223-.202.449-.181.579q-.049.083-.09.165l.016-.133c.192-1.512.47-3.011.892-4.456.426-1.44.935-2.893 1.809-4.06l.005-.005a.166.166 0 0 0-.016-.21.14.14 0 0 0-.205-.003c-.302.321-.556.68-.784 1.049-.1-.053-.31.144-.47.452-.147.279-.199.537-.144.636 0 0-.003.007-.008.005-.105-.046-.299.188-.417.502-.116.295-.137.566-.058.656-.005.005-.005.008-.008.013-.118-.042-.31.226-.428.606-.097.322-.108.601-.037.713.006.004 0 .018-.005.015-.121-.042-.304.234-.412.611-.108.364-.1.686.003.749-.118-.013-.284.264-.37.638-.079.324-.071.604.005.715-.116.035-.244.306-.31.656-.063.343-.031.628.053.718-.108.056-.218.335-.258.68-.039.343.011.625.1.715-.089.101-.175.34-.212.627-.037.273-.014.51.039.643-.097.083-.17.359-.173.691-.008.266.031.491.1.622-.053.132-.09.327-.09.542-.005.279.04.518.11.643-.02.98-.007 2.025.045 3.007h2.118a31 31 0 0 1 .142-2.356c.15-1.35.373-2.721 1.047-3.874l.005-.008a.12.12 0 0 0-.013-.128c-.039-.034-.095-.034-.131.008-.916 1.063-1.318 2.506-1.554 3.89q-.062.408-.107.816c.057-1.111.16-2.216.414-3.268.292-1.281.874-2.501 1.984-3.184a.1.1 0 0 0 .04-.111c-.014-.051-.066-.08-.111-.067-.071.022-.136.059-.204.088-.074-.09-.344-.024-.622.154-.265.173-.441.385-.423.502 0 .006-.013.014-.013.003-.002-.013-.005-.027-.013-.034-.1-.083-.367.103-.593.419-.228.316-.318.646-.221.731.006.002.003.011-.002.011-.118-.048-.315.22-.439.595-.089.263-.11.505-.078.643 0 .005-.006.01-.006.01q-.135.455-.238.92c.026-.439.065-.88.128-1.315.187-1.255.565-2.482 1.236-3.529m6.664-3.497a.74.74 0 0 0-.486-.037.8.8 0 0 0-.325.17.9.9 0 0 0-.018-.345.83.83 0 0 0-.253-.45c-.572-.571-.178-2.29-.312-2.311-.131-.019-.084 1.695-.354 2.497a.9.9 0 0 0-.019.529.9.9 0 0 0 .26.452c.113.098.25.143.378.103a.2.2 0 0 0 .097-.042q0 .031.003.064c.029.14.129.25.265.313a.7.7 0 0 0 .488.037.78.78 0 0 0 .428-.26c.538-.624 1.803-1.515 1.727-1.634-.076-.117-1.145 1.196-1.879.914m2.446-2.166c-.082-.116-1.094 1.066-1.785.771a.64.64 0 0 0-.452-.043.7.7 0 0 0-.235.133c-.003-.048 0-.09-.011-.133a.7.7 0 0 0-.254-.398c-.578-.505-.124-2.041-.26-2.057-.139-.016-.137 1.512-.436 2.23a.7.7 0 0 0-.037.467.72.72 0 0 0 .255.401.49.49 0 0 0 .394.094.5.5 0 0 0 .16-.083c0 .008-.003.019 0 .027.042.146.141.26.27.327a.64.64 0 0 0 .446.037.63.63 0 0 0 .365-.26c.427-.641 1.661-1.39 1.58-1.513m.249-1.479c-.089-.093-.816 1.123-1.475.977a.56.56 0 0 0-.399.04.6.6 0 0 0-.168.117c0-.029.008-.058.008-.09a.67.67 0 0 0-.17-.394c-.444-.542.173-1.825.054-1.865-.12-.035-.33 1.316-.697 1.903a.63.63 0 0 0-.095.412.65.65 0 0 0 .168.396c.095.098.21.151.336.143a.37.37 0 0 0 .244-.12q-.002.082.037.168c.058.122.16.207.286.242.123.04.27.029.402-.035a.6.6 0 0 0 .283-.292c.288-.641 1.273-1.509 1.186-1.602m-.436-1.691c-.149-.106-.624 1.077-1.189 1.385a.7.7 0 0 0-.275.295.7.7 0 0 0-.079.414c.014.125.071.232.163.285a.32.32 0 0 0 .315-.003.68.68 0 0 0 .281-.297.75.75 0 0 0 .078-.413c-.042-.669.811-1.599.706-1.666M30.165 42.735h-5.944a6.3 6.3 0 0 1-1.102-.09c.976 1.451 2.506 2.551 4.057 3.29.239 1.323.538 2.547.645 2.643.11.096 1.632-.343 1.68-.483.044-.141-.622-2.408-.622-2.408.801-1.374 1.047-2.184 1.286-2.952m14.954 10.169c-1.501.593-3.459.643-5.058.218-3.661-1.14-7.726-3.3-11.628-1.507-3.903-1.793-7.968.367-11.629 1.507-1.598.425-3.556.375-5.057-.218a.039.039 0 0 0-.037.067c2.16 1.671 5.186 2.439 7.91 1.456 2.617-.816 4.829-3.587 7.928-2.405-2.453.959-4.747 2.729-6.519 4.4l1.289 1.057c1.609-1.873 3.42-3.746 5.469-4.885.281-.165.449-.232.646-.242.197.01.365.077.643.242 2.052 1.139 3.863 3.012 5.472 4.885l1.288-1.057c-1.771-1.671-4.065-3.441-6.519-4.4 3.099-1.182 5.312 1.589 7.928 2.405 2.725.983 5.75.215 7.911-1.456.034-.03.005-.082-.037-.067M20.99 50.38c-3.827-.928-4.873-4.515-8.073-6.071-.034-.019-.07.021-.049.052 1.007 1.659 1.553 4.199 4.458 5.764.024.013.011.051-.016.042-4.167-.802-5.918.313-10.285-1.66-.036-.017-.075.023-.052.058 1.436 2.083 4.842 3.507 9.508 3.115 1.68-.144 2.898-.851 4.509-1.228.039-.011.039-.064 0-.072m-8.015-2.2c-1.454-1.906-1.039-5.973-4.322-9.696-.027-.029-.074-.005-.066.032.627 2.742.441 5.856 2.157 8.138.016.025-.008.048-.031.033-3.386-2.666-6.865-3.468-8.414-5.625-.024-.03-.071-.014-.066.023.384 2.793 5.748 7.145 10.713 7.153.029 0 .048-.034.029-.058m-5.084-5.065c-1.558-2.89.305-7.302-1.464-11.588-.018-.045-.086-.034-.086.014-.053 2.341-1.507 5.835-.628 8.474.011.023-.021.037-.034.015-2.239-3.27-4.015-3.954-5.496-6.948-.02-.045-.088-.032-.091.016-.095 2.035.805 3.693 1.821 5.234a17.4 17.4 0 0 0 5.929 4.836c.034.017.065-.019.049-.053M6.834 25.509c-.003-.048-.066-.064-.089-.021-1.189 2.224-3.307 3.993-3.375 6.93-.003.029-.035.031-.04.005-.385-2.267-2.309-4.807-2.393-8.089 0-.05-.071-.063-.089-.015-1.583 4.267.692 8.314 3.115 11.657.026.034.078.013.078-.033-.099-3.542 2.972-6.185 2.793-10.434m1.512-5.522c-1.123 1.56-3.651 2.663-4.575 4.913-.013.033-.052.024-.047-.013.367-2.521-.606-5.45.307-8.8.013-.048-.047-.08-.076-.043-1.38 1.698-1.848 3.688-1.924 5.838-.094 2.641.835 4.568 1.294 6.359.01.042.065.039.076-.003.661-2.349 3.981-3.762 5.021-8.213.013-.048-.048-.077-.076-.038m3.046-5.245c-1.847 1.448-4.669 2.843-5.274 3.851-.011.021-.042.005-.037-.016l.684-3.287c.308-1.395.573-2.732 1.344-3.981.024-.037-.021-.08-.055-.053-3.516 2.785-3.002 6.813-3.157 10.111-.003.034.039.05.063.026 2.071-2.245 5.446-3.553 6.49-6.605.013-.037-.026-.07-.058-.046m2.617-5.048c-3.107.098-5.39 2.715-6.369 6.047-.006.019.021.035.036.024 4.281-3.138 4.042-4.482 6.359-5.975.042-.027.024-.096-.026-.096m35.828 38.813c-4.364 1.973-6.117.858-10.285 1.66-.026.009-.039-.029-.016-.042 2.906-1.565 3.452-4.105 4.459-5.764.021-.031-.015-.071-.049-.052-3.197 1.556-4.244 5.143-8.073 6.071-.04.008-.04.061 0 .072 1.611.377 2.829 1.084 4.509 1.228 4.666.392 8.075-1.032 9.508-3.115.024-.035-.016-.075-.053-.058m4.727-7.445c-1.549 2.157-5.028 2.959-8.414 5.625-.021.015-.047-.008-.029-.033 1.714-2.282 1.528-5.396 2.155-8.138.008-.037-.039-.061-.066-.032-3.28 3.723-2.868 7.79-4.32 9.696a.036.036 0 0 0 .029.058c4.966-.008 10.327-4.36 10.711-7.153.005-.037-.042-.053-.066-.023m2.207-7.964c-.002-.048-.071-.061-.092-.016-1.48 2.994-3.257 3.678-5.493 6.948-.015.022-.044.008-.036-.015.879-2.639-.573-6.133-.628-8.474 0-.048-.068-.059-.086-.014-1.769 4.286.094 8.698-1.462 11.588-.018.034.013.07.047.053a17.4 17.4 0 0 0 5.929-4.836c1.015-1.541 1.916-3.199 1.821-5.234m-.756-8.779c-.018-.048-.089-.035-.089.015-.084 3.282-2.008 5.822-2.393 8.089-.006.026-.037.024-.037-.005-.068-2.937-2.189-4.706-3.378-6.93a.045.045 0 0 0-.086.021c-.179 4.249 2.889 6.892 2.789 10.434 0 .046.055.067.082.033 2.419-3.343 4.695-7.39 3.112-11.657m-1.183-2.437c-.076-2.15-.544-4.14-1.924-5.838-.029-.037-.087-.005-.076.043.913 3.35-.061 6.279.309 8.8.006.037-.036.046-.049.013-.924-2.25-3.452-3.353-4.574-4.913-.027-.039-.087-.01-.077.038 1.039 4.451 4.359 5.864 5.021 8.213.01.042.065.045.076.003.459-1.791 1.388-3.718 1.294-6.359m-6.024-10.626c-.034-.027-.078.016-.055.053.772 1.249 1.037 2.586 1.344 3.981l.685 3.287c.005.021-.026.037-.037.016-.606-1.008-3.424-2.403-5.274-3.851-.03-.024-.071.009-.059.046 1.045 3.052 4.42 4.36 6.491 6.605.024.024.066.008.063-.026-.155-3.298.36-7.326-3.158-10.111m-5.954-1.562c-.05 0-.065.069-.027.096 2.318 1.493 2.079 2.837 6.359 5.975.019.011.042-.005.037-.024-.979-3.332-3.262-5.949-6.369-6.047\"\n}));\nvar WfpLogoVerticalEn$1 = WfpLogoVerticalEn;\n\nconst YouTube = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 576 512\",\n width: \"1em\",\n height: \"1em\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305m-317.51 213.508V175.185l142.739 81.205z\"\n}));\nvar YouTube$1 = YouTube;\n\nexport { Add$1 as Add, AddCircle$1 as AddCircle, AddOutline$1 as AddOutline, AngleDown$1 as AngleDown, ArrowDown$1 as ArrowDown, ArrowLeft$1 as ArrowLeft, ArrowRight$1 as ArrowRight, ArrowUp$1 as ArrowUp, Arrows$1 as Arrows, BackToTop$1 as BackToTop, CalendarAltRegular$1 as CalendarAltRegular, CaretDown$1 as CaretDown, CaretDownLegacy$1 as CaretDownLegacy, CaretLeft$1 as CaretLeft, CaretRight$1 as CaretRight, CaretUp$1 as CaretUp, Check$1 as Check, Checkmark$1 as Checkmark, CheckmarkCircle$1 as CheckmarkCircle, CheckmarkOutline$1 as CheckmarkOutline, ChevronDown$1 as ChevronDown, ChevronDownLegacy$1 as ChevronDownLegacy, ChevronLeft$1 as ChevronLeft, ChevronRight$1 as ChevronRight, ChevronUp$1 as ChevronUp, Close$1 as Close, CloseCircle$1 as CloseCircle, CloseOutline$1 as CloseOutline, Cross$1 as Cross, Delete$1 as Delete, Download$1 as Download, Draggable$1 as Draggable, EditGlyph$1 as EditGlyph, Ellipsis$1 as Ellipsis, Error$2 as Error, ErrorSolid$1 as ErrorSolid, Facebook$1 as Facebook, Favorite$1 as Favorite, FavoriteOutline$1 as FavoriteOutline, FavoriteSolid$1 as FavoriteSolid, Female$1 as Female, Filter$1 as Filter, HeaderAvatar$1 as HeaderAvatar, HeaderChevron$1 as HeaderChevron, HeaderSearch$1 as HeaderSearch, Help$1 as Help, HelpGlyph$1 as HelpGlyph, HelpOutline$1 as HelpOutline, Home$1 as Home, Info$1 as Info, InfoCircle$1 as InfoCircle, InfoOutline$1 as InfoOutline, InfoSolid$1 as InfoSolid, Instagram$1 as Instagram, LinkedIn$1 as LinkedIn, Locked$1 as Locked, Male$1 as Male, Menu$1 as Menu, OverflowMenu$1 as OverflowMenu, Play$1 as Play, Print$1 as Print, Search$1 as Search, SearchSolid$1 as SearchSolid, Settings$1 as Settings, StarSolid$1 as StarSolid, Subtract$1 as Subtract, SubtractOutline$1 as SubtractOutline, TikTok$1 as TikTok, Twitter$1 as Twitter, Upload$1 as Upload, User$1 as User, WarningAlt$1 as WarningAlt, WarningFilled$1 as WarningFilled, WarningOutline$1 as WarningOutline, WarningSolid$1 as WarningSolid, WfpLogoAcronym$1 as WfpLogoAcronym, WfpLogoEmblem$1 as WfpLogoEmblem, WfpLogoExtendedEn$1 as WfpLogoExtendedEn, WfpLogoStandardBlackEn$1 as WfpLogoStandardBlackEn, WfpLogoVerticalEn$1 as WfpLogoVerticalEn, YouTube$1 as YouTube };\n","import { useContext } from 'react';\nimport { TransitionState } from 'react-transition-state';\nimport { AccordionContext, AccordionProviderValue, ItemKey } from '../utils/constants';\n\nconst getItemState = (\n providerValue: AccordionProviderValue,\n key: ItemKey,\n itemInitialEntered?: boolean\n): TransitionState => {\n const { stateMap, mountOnEnter, initialEntered } = providerValue;\n const _initialEntered = itemInitialEntered ?? initialEntered;\n return (\n stateMap.get(key) || {\n status: _initialEntered ? 'entered' : mountOnEnter ? 'unmounted' : 'exited',\n isMounted: !mountOnEnter,\n isEnter: _initialEntered,\n isResolved: true\n }\n );\n};\n\nconst useAccordionContext = () => {\n const context = useContext(AccordionContext);\n if (process.env.NODE_ENV !== 'production' && !context.stateMap) {\n throw new Error(\n '[React-Accordion] Cannot find a <AccordionProvider/> above this AccordionItem.'\n );\n }\n return context as AccordionProviderValue;\n};\n\nexport { useAccordionContext, getItemState };\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n\nimport { useEffect, useRef, useCallback } from 'react';\nimport { ItemStateOptions } from '../utils/constants';\nimport { useAccordionContext, getItemState } from './useAccordionContext';\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nconst useAccordionItemEffect = <E extends Element>({\n itemKey,\n initialEntered,\n disabled,\n}: ItemStateOptions = {}) => {\n const itemRef = useRef<HTMLInputElement>(null);\n const context = useAccordionContext();\n const key = itemKey ?? itemRef.current!;\n const state = getItemState(context, key, initialEntered);\n const { setItem, deleteItem, toggle } = context;\n\n useEffect(() => {\n if (disabled) return;\n const key = itemKey ?? itemRef.current!;\n setItem(key, { initialEntered });\n return () => void deleteItem(key);\n }, [setItem, deleteItem, itemKey, initialEntered, disabled]);\n\n return {\n itemRef,\n state,\n toggle: useCallback(\n (toEnter?: boolean) => toggle(key, toEnter),\n [toggle, key]\n ),\n };\n};\n\nexport { useAccordionItemEffect };\n","import * as React from \"react\";\nimport { ItemState, ItemStateOptions } from \"../utils/constants\";\nimport { useAccordionItemEffect } from \"../hooks/useAccordionItemEffect\";\n\ninterface ItemStateProps<E extends Element, T = E> extends ItemState {\n itemRef: React.RefObject<E>;\n forwardedRef: React.ForwardedRef<T>;\n}\n\nconst withAccordionItem = <\n P extends ItemStateOptions,\n E extends Element,\n T = E\n>(\n WrappedItem: any //TODO: MemoExoticComponent<(props: ItemStateProps<E, T>) => JSX.Element>\n) => {\n const WithAccordionItem = React.forwardRef<T, P>(\n ({ itemKey, initialEntered, ...rest }, ref) => (\n <WrappedItem\n forwardedRef={ref}\n {...rest}\n {...useAccordionItemEffect<E>({\n itemKey,\n initialEntered,\n disabled: rest.disabled,\n })}\n />\n )\n );\n\n WithAccordionItem.displayName = \"withAccordionItem\";\n return WithAccordionItem;\n};\n\nwithAccordionItem.displayName = \"withAccordionItem\";\n\nexport { withAccordionItem, ItemStateProps };\n","/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = '';\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (arg) {\n\t\t\t\tclasses = appendClass(classes, parseValue(arg));\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction parseValue (arg) {\n\t\tif (typeof arg === 'string' || typeof arg === 'number') {\n\t\t\treturn arg;\n\t\t}\n\n\t\tif (typeof arg !== 'object') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (Array.isArray(arg)) {\n\t\t\treturn classNames.apply(null, arg);\n\t\t}\n\n\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\treturn arg.toString();\n\t\t}\n\n\t\tvar classes = '';\n\n\t\tfor (var key in arg) {\n\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\tclasses = appendClass(classes, key);\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction appendClass (value, newClass) {\n\t\tif (!newClass) {\n\t\t\treturn value;\n\t\t}\n\t\n\t\tif (value) {\n\t\t\treturn value + ' ' + newClass;\n\t\t}\n\t\n\t\treturn value + newClass;\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","import * as React from \"react\";\nimport { TransitionState } from \"react-transition-state\";\nimport {\n ACCORDION_BLOCK,\n ElementProps,\n ItemState,\n ItemStateOptions,\n} from \"../utils/constants\";\nimport { bem } from \"../utils/bem\";\nimport { mergeProps } from \"../utils/mergeProps\";\nimport useSettings from \"../../../hooks/useSettings\";\nimport { useAccordionItem } from \"../hooks/useAccordionItem\";\nimport { useHeightTransition } from \"../../../hooks/useHeightTransition\";\nimport { useMergeRef } from \"../../../hooks/useMergeRef\";\nimport { ChevronDown } from \"@progressiveui/icons-react\";\nimport { withAccordionItem, ItemStateProps } from \"./withAccordionItem\";\nimport classNames from \"classnames\";\n\ninterface ItemElementProps<E extends HTMLElement>\n extends ElementProps<E, TransitionState> {\n ref?: React.ForwardedRef<E>;\n}\n\ntype NodeOrFunc = React.ReactNode | ((props: ItemState) => React.ReactNode);\n\ninterface AccordionItemProps\n extends ItemStateOptions,\n ElementProps<HTMLDivElement, TransitionState> {\n /**\n * Either a React node or a function that returns a React node.\n * This property defines the content of the accordion item's header.\n */\n header?: NodeOrFunc;\n\n /**\n * Can be either a React node or a function that returns a React node.\n * This property defines the main content of the accordion item.\n */\n children?: NodeOrFunc;\n\n /**\n * Specifies the HTML tag to be used for the heading element of the accordion item.\n * It can be any of the heading tags from 'h1' to 'h6'.\n */\n headingTag?: \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\";\n\n /**\n * Properties to be passed to the heading element of the accordion item.\n * It extends from `ItemElementProps` which includes standard HTML attributes and a ref.\n */\n headingProps?: ItemElementProps<HTMLHeadingElement>;\n\n /**\n * Properties to be passed to the button element within the accordion item.\n * It extends from `ItemElementProps` which includes standard HTML attributes and a ref.\n */\n buttonProps?: ItemElementProps<HTMLButtonElement>;\n\n /**\n * Properties to be passed to the content container element of the accordion item.\n * It extends from `ItemElementProps` which includes standard HTML attributes and a ref.\n */\n contentProps?: ItemElementProps<HTMLDivElement>;\n\n /**\n * Properties to be passed to the panel element inside the content container of the accordion item.\n * It extends from `ItemElementProps` which includes standard HTML attributes and a ref.\n */\n panelProps?: ItemElementProps<HTMLDivElement>;\n}\n\ninterface WrappedItemProps<E extends Element>\n extends ItemStateProps<E>,\n Omit<AccordionItemProps, \"itemRef\" | \"itemKey\" | \"initialEntered\"> {}\n\nconst getRenderNode: <P>(\n nodeOrFunc: React.ReactNode | ((props: P) => React.ReactNode),\n props: P\n) => React.ReactNode = (nodeOrFunc, props) =>\n typeof nodeOrFunc === \"function\" ? nodeOrFunc(props) : nodeOrFunc;\n\nconst WrappedItem = React.memo(\n ({\n forwardedRef,\n itemRef,\n state,\n toggle,\n className,\n disabled,\n header,\n headingTag: Heading = \"h3\",\n headingProps,\n buttonProps,\n contentProps,\n panelProps,\n children,\n ...rest\n }: WrappedItemProps<HTMLDivElement>) => {\n const itemState: ItemState = { state, toggle, disabled };\n const { buttonProps: _buttonProps, panelProps: _panelProps } =\n useAccordionItem(itemState);\n const [transitionStyle, _panelRef] =\n useHeightTransition<HTMLDivElement>(state);\n const panelRef = useMergeRef(panelProps && panelProps.ref, _panelRef);\n const { status, isMounted, isEnter } = state;\n\n const { prefix } = useSettings();\n\n const buttonClasses = classNames(`${prefix}--accordion--button`, {\n [`${prefix}--accordion--button__expanded`]: isEnter,\n // [`${className}`]: className,\n });\n\n return (\n <div\n {...rest}\n ref={useMergeRef(forwardedRef, itemRef)}\n className={bem(ACCORDION_BLOCK, \"item\", { status, expanded: isEnter })(\n className,\n state\n )}\n >\n <Heading\n {...headingProps}\n style={{ margin: 0, ...(headingProps && headingProps.style) }}\n className={bem(ACCORDION_BLOCK, \"item-heading\")(\n headingProps && headingProps.className,\n state\n )}\n >\n <button\n {...mergeProps(_buttonProps, buttonProps)}\n type=\"button\"\n className={bem(ACCORDION_BLOCK, \"item-btn\")(\n buttonProps && buttonProps.className,\n state\n )}\n >\n <ChevronDown description=\"open\" className={buttonClasses} />\n {getRenderNode(header, itemState)}\n </button>\n </Heading>\n\n {isMounted && (\n <div\n {...contentProps}\n style={{\n display: status === \"exited\" ? \"none\" : undefined,\n ...transitionStyle,\n ...(contentProps && contentProps.style),\n }}\n className={bem(ACCORDION_BLOCK, \"item-content\")(\n contentProps && contentProps.className,\n state\n )}\n >\n <div\n {...mergeProps(_panelProps, panelProps)}\n ref={panelRef}\n className={bem(ACCORDION_BLOCK, \"item-panel\")(\n panelProps && panelProps.className,\n state\n )}\n >\n {getRenderNode(children, itemState)}\n </div>\n </div>\n )}\n </div>\n );\n }\n);\n\nWrappedItem.displayName = \"AccordionItem\";\nconst AccordionItem = withAccordionItem<AccordionItemProps, HTMLDivElement>(\n WrappedItem\n);\n\nAccordionItem.displayName = \"AccordionItem\";\n\nexport { AccordionItem, AccordionItemProps };\n","import * as React from 'react';\nimport type { PropsWithChildren } from 'react';\nimport classNames from 'classnames';\nimport useSettings from '../../hooks/useSettings';\n\ntype AuthLayoutProps = PropsWithChildren<{\n /**\n * The CSS class name to be placed on the wrapping element.\n */\n className?: string;\n /**\n * The image is set as background on the left section when provided\n */\n image?: React.ReactNode;\n /**\n * This usually consist of `<BackgroundContent/>` if you wish to provide content and background color instead of an image\n */\n backgroundContent?: React.ReactNode;\n}>;\n\nconst AuthLayout: React.FC<AuthLayoutProps> = ({\n image,\n backgroundContent,\n children,\n className,\n ...other\n}) => {\n const { prefix } = useSettings();\n const style = image\n ? {\n backgroundImage: `url(${image})`,\n }\n : {};\n\n const wrapperClasses = classNames(`${prefix}--auth-background-wrapper`, {\n [`${prefix}--auth-background-image`]: image,\n [`${className}`]: className,\n });\n\n return (\n <div className={`${prefix}--auth-wrapper`} {...other}>\n <div className={wrapperClasses} style={style}>\n {backgroundContent}\n </div>\n <div className={`${prefix}--auth-content-wrapper`}>{children}</div>\n </div>\n );\n};\n\ntype BackgroundContentProps = React.ComponentPropsWithRef<'div'>;\n\nconst BackgroundContent: React.FC<BackgroundContentProps> = ({\n children,\n ...other\n}) => {\n const { prefix } = useSettings();\n return (\n <div {...other} className={`${prefix}--auth-background-content`}>\n {children}\n </div>\n );\n};\n\nexport { BackgroundContent, AuthLayout };\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\nimport { ScreenSize } from \"../../utils\";\n\nexport const pageWidths = [\"sm\", \"md\", \"lg\", \"full\"];\n\n/** Wrapper can wrap it's content in a specific width depending on if the application has a full or fixed width. */\nexport interface WrapperProps extends React.HTMLAttributes<HTMLSpanElement> {\n /** Defines the width of the wrapper. Can be one of 'xs', 'sm', 'md', 'lg', 'full', 'narrow', 'narrower', or 'narrowest'. */\n pageWidth?:\n | \"xs\"\n | \"sm\"\n | \"md\"\n | \"lg\"\n | \"full\"\n | \"narrow\"\n | \"narrower\"\n | \"narrowest\";\n\n /** Specifies the page width for mobile devices. It uses the ScreenSize type. */\n mobilePageWidth?: ScreenSize;\n\n /** Determines the spacing around the wrapper. Can be 'md' for medium or 'xl' for extra large. */\n spacing?: \"md\" | \"xl\";\n\n /** Sets the background theme. Can be 'lighter' for a light background or 'dark' for a dark background. */\n background?: \"lighter\" | \"dark\";\n\n /** Additional CSS class names to be applied to the wrapper. */\n className?: string;\n\n /** CSS class names specifically for the background of the wrapper. */\n backgroundClassName?: string;\n\n /** Custom CSS properties for the background styling. */\n backgroundStyle?: React.CSSProperties;\n}\n\nconst Wrapper: React.FC<WrapperProps> = (props) => {\n const { prefix } = useSettings();\n\n const {\n background,\n backgroundClassName,\n backgroundStyle,\n children,\n className,\n pageWidth,\n mobilePageWidth,\n spacing,\n ...other\n } = props;\n const wrapperClasses = classNames({\n [`${prefix}--wrapper`]: true,\n [`${prefix}--wrapper--width-lg`]: pageWidth === \"narrow\",\n [`${prefix}--wrapper--width-md`]: pageWidth === \"narrower\",\n [`${prefix}--wrapper--width-sm`]: pageWidth === \"narrowest\",\n [`${prefix}--wrapper--width-xs`]: pageWidth === \"narrowest\",\n [`${prefix}--wrapper--width-${pageWidth}`]: pageWidth,\n [`${prefix}--wrapper--width-mobile-full`]: mobilePageWidth === \"full\",\n [`${prefix}--wrapper--spacing-md`]: spacing === \"md\",\n [`${prefix}--wrapper--spacing-xl`]: spacing === \"xl\",\n [`${className}`]: className,\n });\n if (background || backgroundStyle || backgroundClassName) {\n const backgroundClasses = classNames(backgroundClassName, {\n [`${prefix}--wrapper--background-${background}`]: background,\n });\n\n return (\n <div className={backgroundClasses} style={backgroundStyle}>\n <div className={wrapperClasses} {...other}>\n {children}\n </div>\n </div>\n );\n }\n return (\n <div className={wrapperClasses} {...other}>\n {children}\n </div>\n );\n};\n\nexport default Wrapper;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport Wrapper from \"../Wrapper\";\nimport useSettings from \"../../hooks/useSettings\";\n\nexport interface BannerNavigationItemProps\n extends React.HTMLAttributes<HTMLDivElement> {\n /**\n * The CSS class name to be placed on the wrapping element.\n */\n className?: string;\n}\n\nconst BannerNavigationItem: React.FC<BannerNavigationItemProps> = ({\n className,\n children,\n}) => {\n const { prefix } = useSettings();\n const wrapperClasses = classNames(\n `${prefix}--banner-navigation__item`,\n className\n );\n return <li className={wrapperClasses}>{children}</li>;\n};\n\nexport interface BannerNavigationProps\n extends React.HTMLAttributes<HTMLDivElement> {\n /**\n * The CSS class name to be placed on the wrapping element.\n */\n className?: string;\n /**\n * Specify the max-width on desktop devices (same as \\`Wrapper\\` component)\n */\n pageWidth?: \"sm\" | \"md\" | \"lg\" | \"full\";\n}\n\nconst BannerNavigation: React.FC<BannerNavigationProps> = ({\n children,\n className,\n ...props\n}) => {\n const { prefix } = useSettings();\n const wrapperClasses = classNames(`${prefix}--banner-navigation`, className);\n\n return (\n <div className={wrapperClasses}>\n <Wrapper {...props}>\n <ul className={`${prefix}--banner-navigation__list`}>{children}</ul>\n </Wrapper>\n </div>\n );\n};\n\nexport { BannerNavigation, BannerNavigationItem };\n","import React, { PropsWithChildren } from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n\nexport interface FormItemProps extends React.AllHTMLAttributes<HTMLDivElement> {\n /**\n * Specify whether the FormItem should be rendered as invalid\n */\n invalid?: boolean;\n /**\n * Specify whether the FormItem should be rendered as inline\n */\n inline?: boolean;\n /**\n * Provide the contents of your FormItem\n */\n children?: React.ReactNode;\n}\n\nconst FormItem: React.FC<PropsWithChildren<FormItemProps>> = ({\n className,\n children,\n invalid,\n inline,\n ...other\n}) => {\n const { prefix } = useSettings();\n\n const classes = classNames(\n `${prefix}--form-item`,\n {\n [`${prefix}--form-item--inline`]: inline,\n [`${prefix}--form-item--invalid`]: invalid,\n },\n className\n );\n\n return (\n <div className={classes} {...other}>\n {children}\n </div>\n );\n};\n\nexport default FormItem;\n","import * as React from \"react\";\nimport { ComponentType } from \"react\";\nimport type { PropsWithChildren } from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\nimport FormItem from \"../FormItem/FormItem\";\nimport { WarningSolid } from \"@progressiveui/icons-react\";\nimport * as HookForm from \"react-hook-form\";\n\n/**\n * Optionally provide the default value of the input @design\n \n defaultValue?: string | number; */\n\nexport interface InputProps {\n /**\n * Provide text that is used alongside the control label for additional help\n */\n helperText?: React.ReactNode;\n /**\n * Provide the text that will be read by a screen reader when visiting this\n * control @design\n */\n labelText?: React.ReactNode;\n\n /**\n * Provide a custom className that is applied directly to the underlying\n * &lt;textarea&gt; node\n */\n formItemClassName?: string;\n /**\n * Provide a custom className that is applied directly to the underlying\n * &lt;input&gt; or &lt;textarea&gt; node\n */\n inputWrapperClassName?: string;\n /**\n * Specify whether you want the underlying label to be visually hidden\n */\n hideLabel?: boolean;\n /**\n * Specify whether the control is currently invalid.\n * Either a boolean in combination with `invalidText` or an `object`( eg. { message: \"Message\", …otherErrorProperties }) can be passed.\n */\n invalid?: boolean | HookForm.FieldError | any;\n /**\n * Provide the text that is displayed when the control is in an invalid state @design\n */\n invalidText?: string | React.ReactNode | any;\n /**\n * Provide the content that will be shown in addition to the label\n * (e.g. units, currency, etc.)\n * This content will be placed after the label @design\n */\n additional?: React.ReactNode;\n\n light?: boolean;\n /**\n * Specify the placeholder attribute for the input @design\n */\n placeholder?: string;\n /**\n * Provide a unique identifier for the control\n */\n id?: string;\n /**\n * Provide a name for the control\n */\n name?: string;\n /**\n * Specify if the control is required @design\n * (sets aria-invalid as well)\n */\n required?: boolean;\n /**\n * Specify if the control is disabled @design\n * (sets aria-disabled as well)\n */\n disabled?: boolean;\n /**\n * If the input is read-only, the user cannot change its value but focus\n * and tabIndex are still applied @design\n * (sets aria-readonly as well)\n */\n readOnly?: boolean;\n /**\n * Renders the input as inline element for horizontal forms\n */\n inline?: boolean;\n /**\n * Additional helper in front of the input, e.g. a currency symbol @design\n * (sets aria-describedby as well)\n */\n addonBefore?: string | React.ReactNode;\n /**\n * Additional helper behind the input, e.g. a currency symbol @design\n * (sets aria-describedby as well)\n */\n addonAfter?: string | React.ReactNode;\n /**\n * Supports replacement components\n */\n components?: {\n AddonBefore?: ComponentType<InputPropsForReplacementComponents>;\n AddonAfter?: ComponentType<InputPropsForReplacementComponents>;\n Label?: ComponentType<InputPropsForReplacementComponents>;\n HelperText?: ComponentType<InputPropsForReplacementComponents>;\n InlineErrorMessage?: ComponentType<InputPropsForReplacementComponents>;\n };\n}\n\nexport interface InputPropsForReplacementComponents\n extends InputProps,\n React.ComponentPropsWithRef<\"div\"> {\n /**\n * The classes for the label\n */\n labelClasses?: string;\n /**\n * The the ID of the element, uses the `name` prop if no `id` is provided. Make sure it is unique on the page.\n */\n calculatedId?: string;\n /**\n * The classes for the helper element\n */\n helperTextClasses?: string;\n /**\n * The classes for the error element\n */\n errorClasses?: string;\n /**\n * The id of the error. calculatedId + '-error-msg'\n */\n errorId?: string;\n /**\n * An icon for the error element\n */\n errorIcon?: React.ReactNode;\n}\n\nexport interface AddonBeforeProps {\n addonBefore?: React.ReactNode;\n prefix?: string;\n}\n\nexport function AddonBefore({\n addonBefore,\n prefix,\n}: InputPropsForReplacementComponents) {\n if (addonBefore) {\n return <div className={`${prefix}--input-addon-before`}>{addonBefore}</div>;\n }\n return null;\n}\n\nexport function AddonAfter({\n addonAfter,\n prefix,\n}: InputPropsForReplacementComponents) {\n if (addonAfter) {\n return <div className={`${prefix}--input-addon-after`}>{addonAfter}</div>;\n }\n return null;\n}\n\n/**\n * Shows the error message underneath the element */\nexport function InlineErrorMessage({\n errorId,\n errorClasses,\n invalid,\n invalidText,\n}: InputPropsForReplacementComponents) {\n if (invalid) {\n const errorIcon = <WarningSolid fill=\"#c5192d\" />;\n return (\n <div className={errorClasses} id={errorId}>\n {errorIcon}{\" \"}\n <span>\n {typeof invalid === \"object\" && invalid.message\n ? invalid.message\n : typeof invalid === \"string\"\n ? invalid\n : invalidText\n ? invalidText\n : \"required\"}\n </span>\n </div>\n );\n }\n return null;\n}\n\n/**\n * Shows a helper text under the label */\nexport function Label({\n labelClasses,\n calculatedId,\n labelText,\n required,\n hideLabel,\n}: InputPropsForReplacementComponents) {\n if (hideLabel) return null;\n return (\n <label htmlFor={calculatedId} className={labelClasses}>\n {labelText && labelText}\n {required && \"*\"}\n </label>\n );\n}\n\n/**\n * Shows a helper text under the label */\nexport function Helper({\n helperTextClasses,\n helperText,\n}: InputPropsForReplacementComponents) {\n if (helperText) return <div className={helperTextClasses}>{helperText}</div>;\n return null;\n}\n\ninterface InputPropsI extends InputProps, React.ComponentPropsWithRef<\"div\"> {\n /**\n * Provide a children to the input\n */\n children?: React.ReactNode;\n}\n\n/**\n * Input is a wrapper for custom inputs providing the label, helperText and errors. */\nconst Input: React.FC<PropsWithChildren<InputPropsI>> = ({\n additional,\n addonBefore,\n addonAfter,\n labelText,\n children,\n components: componentsOverride = {},\n //className,\n // iconDescription,\n id,\n className,\n\n inputWrapperClassName,\n //placeholder,\n //type,\n //onChange,\n //onClick,\n hideLabel,\n name,\n invalid,\n invalidText,\n helperText,\n required,\n ...other\n}) => {\n const { prefix } = useSettings();\n\n const calculatedId = id ? id : name;\n /* const inputProps = {\n id: calculatedId,\n onChange: (evt) => {\n if (!other.disabled && !other.readOnly) {\n onChange && onChange(evt);\n }\n },\n onClick: (evt) => {\n if (!other.disabled && !other.readOnly) {\n onClick && onClick(evt);\n }\n },\n placeholder,\n type,\n };*/\n\n const errorId = calculatedId + \"-error-msg\";\n\n const labelClasses = classNames(`${prefix}--label`, {\n // [`${prefix}--input--light`]: light,\n [`${prefix}--visually-hidden`]: hideLabel || !labelText,\n [`${prefix}--label--disabled`]: other.disabled,\n });\n\n const inputWrapperClasses = classNames(\n `${prefix}--input-wrapper`,\n { [`${prefix}--form-item--invalid`]: invalid },\n inputWrapperClassName\n );\n\n const helperTextClasses = classNames(`${prefix}--form__helper-text`, {\n [`${prefix}--form__helper-text--disabled`]: other.disabled,\n });\n\n const errorClasses = `${prefix}--form-requirement`;\n\n const components = {\n AddonAfter,\n AddonBefore,\n Label,\n Helper,\n InlineErrorMessage,\n ...componentsOverride,\n };\n const AddonAfterComponent =\n components.AddonAfter as React.FC<InputPropsForReplacementComponents>;\n const AddonBeforeComponent =\n components.AddonBefore as React.FC<InputPropsForReplacementComponents>;\n const LabelComponent =\n components.Label as React.FC<InputPropsForReplacementComponents>;\n const HelperComponent =\n components.Helper as React.FC<InputPropsForReplacementComponents>;\n const InlineErrorMessageComponent =\n components.InlineErrorMessage as React.FC<InputPropsForReplacementComponents>;\n\n const componentProps = {\n labelText,\n labelClasses,\n calculatedId,\n required,\n helperTextClasses,\n helperText,\n errorClasses,\n errorId,\n invalid,\n invalidText,\n addonAfter,\n addonBefore,\n hideLabel,\n prefix,\n };\n\n return (\n <FormItem className={className} inline={other.inline}>\n <LabelComponent {...componentProps} />\n <HelperComponent {...componentProps} />\n {additional}\n <div className={inputWrapperClasses}>\n <AddonBeforeComponent {...componentProps} />\n {children}\n <AddonAfterComponent {...componentProps} />\n </div>\n <InlineErrorMessageComponent {...componentProps} />\n </FormItem>\n );\n};\nInput.displayName = \"Input\";\n\nexport default Input;\n","/* eslint-disable @typescript-eslint/no-empty-function */\nimport React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n\nexport interface UseInputProps {\n /**\n * Specify an optional className to be applied to the <input> node\n */\n className?: string;\n\n /**\n * Optionally provide the default value of the <input>\n */\n defaultValue?: string | number;\n\n /**\n * Specify whether the <input> should be disabled\n */\n disabled?: boolean;\n\n /**\n * Specify an optional className to be applied to the input node\n */\n inputClassName?: string;\n\n /**\n * Specify an optional className to be applied to the input wrapper node\n */\n inputWrapperClassName?: string;\n\n /**\n * Specify a custom `id` for the <input>\n */\n id?: string;\n\n /**\n * Provide the text that will be read by a screen reader when visiting this\n * control\n */\n labelText?: React.ReactNode;\n\n /**\n * Optionally provide an `onChange` handler that is called whenever <input>\n * is updated\n */\n onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;\n\n /**\n * Optionally provide an `onClick` handler that is called whenever the\n * <input> is clicked\n */\n onClick?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;\n\n /**\n * Specify the placeholder attribute for the <input>\n */\n placeholder?: string;\n\n /**\n * Specify the type of the <input>\n */\n type?: string;\n\n /**\n * Specify the value of the <input>\n */\n value?: string | number | readonly string[] | undefined; //string | number | object;\n\n /**\n * Specify whether you want the underlying label to be visually hidden\n */\n hideLabel?: boolean;\n\n /**\n * Specify whether the control is currently invalid.\n * Either a boolean in combination with `invalidText` or an `object`( eg. { message: \"Message\", …otherErrorProperties }) can be passed.\n */\n invalid?: boolean | object;\n\n /**\n * Provide the text that is displayed when the control is in an invalid state\n */\n invalidText?: string | React.ReactNode;\n\n /**\n * Provide additional component that is used alongside the input for customization\n */\n additional?: React.ReactNode;\n //TODO\n addonAfter?: React.ReactNode;\n\n /**\n * Provide text that is used alongside the control label for additional help\n */\n helperText?: React.ReactNode;\n\n /**\n * `true` to use the light version.\n */\n light?: boolean;\n readOnly?: boolean;\n name?: string;\n}\n\n/**\n * Input is a wrapper for custom inputs providing the label, helperText and errors. */\nexport const useInput = ({\n addonAfter,\n className,\n inputClassName = \"wfp--input\",\n id,\n placeholder,\n type = \"text\",\n onChange = () => {},\n onClick = () => {},\n hideLabel,\n name,\n invalid,\n invalidText,\n labelText,\n helperText,\n light,\n value = undefined,\n //required,\n ...other\n}: UseInputProps) => {\n const { prefix } = useSettings();\n\n const calculatedId = id ? id : name;\n\n const inputClasses = classNames(`${prefix}--input`, inputClassName, {\n [`${prefix}--input--light`]: light,\n [`${prefix}--input--invalid`]: invalid, // legacy className\n });\n\n const inputProps = {\n id: calculatedId,\n name,\n className: inputClasses,\n ...other,\n onChange: (evt) => {\n if (!other.disabled && !other.readOnly) {\n onChange(evt);\n }\n },\n onClick: (evt) => {\n if (!other.disabled && !other.readOnly) {\n onClick(evt);\n }\n },\n placeholder,\n value,\n type,\n };\n\n const wrapperProps = {\n calculatedId,\n id,\n name,\n className,\n addonAfter,\n labelText,\n helperText,\n hideLabel,\n invalid,\n invalidText,\n };\n\n const errorId = calculatedId + \"-error-msg\";\n\n /*const labelClasses = classNames(`${prefix}--label`, {\n [`${prefix}--visually-hidden`]: hideLabel || !labelText,\n [`${prefix}--label--disabled`]: other.disabled,\n });*/\n\n /* const label = (\n <label htmlFor={calculatedId} className={labelClasses}>\n {labelText && labelText}\n {required && '*'}\n </label>\n );*/\n\n if (invalid) {\n inputProps[\"data-invalid\"] = true;\n inputProps[\"aria-invalid\"] = true;\n inputProps[\"aria-describedby\"] = errorId;\n }\n return { inputProps, wrapperProps };\n};\n\nexport default useInput;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\nimport Input, { InputProps, useInput } from \"../Input\";\nimport { Search as SearchIcon, Close } from \"@progressiveui/icons-react\";\nimport { UseInputProps } from \"../Input/useInput\";\n\ninterface SearchProps extends InputProps, React.ComponentPropsWithRef<\"input\"> {\n defaultValue?: string | number;\n /**\n * Specify an optional className to be applied to the form-item node\n */\n formItemClassName?: string;\n inputWrapperClassName?: string;\n /**\n * Specify whether you want the underlying label to be visually hidden\n */\n hideLabel?: boolean;\n children?: React.ReactNode | string;\n light?: boolean;\n /**\n * The text for the close Button\n */\n closeButtonLabelText?: string;\n // placeholder?: string;\n /**\n * Specify if the control should be disabled, or not\n */\n disabled?: boolean;\n id?: string;\n hideControls?: boolean;\n /**\n * Specify a style for the search input\n */\n kind?: \"large\" | \"small\" | \"main\" | \"light\" | \"banner\";\n /**\n * The new value is available first arg 'searchValue' and evt object if needed is on second arg.\n * i.e.\n * const handleChange = (searchValue, evt) => {\n * console.log(\"searchValue\", searchValue); // a string\n * console.log(\"evt\", evt); // the whole event object\n * }\n */\n onChange?: (\n event?: React.ChangeEvent<HTMLInputElement>,\n value?: string\n ) => void;\n onSearchIconClick?: () => void;\n /**\n * `true` to use the small version of Search\n */\n small?: boolean;\n value?: string;\n className?: string;\n rounded?: boolean;\n}\n\n/** Search enables users to specify a word or a phrase to find relevant pieces of content without the use of navigation. */\nconst Search: React.FC<SearchProps> = React.forwardRef((props, ref) => {\n const { prefix } = useSettings();\n\n const {\n className,\n closeButtonLabelText,\n disabled,\n // id,\n hideLabel,\n hideControls,\n labelText,\n kind = \"large\",\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n onChange = () => {},\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n onSearchIconClick = () => {},\n helperText,\n light,\n rounded,\n } = props;\n\n const initialValue = props.value;\n const [value, setValue] = React.useState(initialValue);\n\n React.useEffect(() => {\n setValue(props.value);\n }, [props.value]);\n\n const newInputRef = React.useRef<HTMLInputElement>(null);\n\n const _inputRef = ref ? ref : newInputRef;\n\n const handleChange = (evt) => {\n if (!disabled) {\n evt.persist();\n evt.imaginaryTarget = _inputRef;\n setValue(evt.target.value);\n onChange(evt, evt.target.value); //TODO: why are we passing evt as second arg\n }\n };\n\n const clearSearch = (evt) => {\n setValue(\"\");\n // setTimeout(() => {\n // console.log(\"value\", value);\n // }, 1000);\n onChange(evt, \"\");\n };\n\n const searchInputWrapperClasses = classNames(`${prefix}--number`, className, {\n [`${prefix}--number--light`]: light,\n [`${prefix}--number--helpertext`]: helperText,\n [`${prefix}--number--nolabel`]: hideLabel,\n [`${prefix}--number--nocontrols`]: hideControls,\n \"wfp--search\": true,\n \"wfp--search--lg\": kind === \"large\",\n \"wfp--search--sm\": kind === \"small\",\n \"wfp--search--main\": kind === \"main\",\n \"wfp--search--banner\": kind === \"banner\",\n \"wfp--search--light\": kind === \"light\",\n });\n\n /*const newProps = {\n disabled,\n id,\n onChange: handleChange,\n value: value,\n };*/\n\n const clearClasses = classNames({\n \"wfp--search-close\": true,\n \"wfp--search-close--hidden\": !value,\n });\n\n const searchInputClassName = classNames(\n `${prefix}--search-input`,\n className,\n {\n [`${prefix}--search-input--rounded`]: rounded,\n }\n );\n\n const useInputProps = props as UseInputProps;\n\n const { wrapperProps, inputProps } = useInput({\n ...useInputProps,\n onChange: handleChange,\n className: `${prefix}--search-input__wrapper`,\n inputClassName: searchInputClassName,\n });\n\n return (\n <Input {...wrapperProps} inputWrapperClassName={searchInputWrapperClasses}>\n <SearchIcon\n description={labelText}\n className={`${prefix}--search-magnifier-icon`}\n onClick={onSearchIconClick}\n />\n\n <input\n {...inputProps}\n ref={_inputRef as React.Ref<HTMLInputElement>}\n value={value}\n />\n <button\n className={clearClasses}\n onClick={clearSearch}\n type=\"button\"\n aria-label={closeButtonLabelText}\n >\n <Close description={closeButtonLabelText} />\n </button>\n </Input>\n );\n});\n\nSearch.displayName = \"Search\";\n\nexport default Search;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n\nexport interface LinkProps extends React.ComponentPropsWithRef<\"a\"> {\n /**\n * Provide the content for the link element\n */\n children?: React.ReactNode;\n /**\n * Adds an underline to the link element to better indicate that it is clickable in continuous text. @design\n */\n inline?: boolean;\n /**\n * Disables the link element. @design\n */\n disabled?: boolean;\n /**\n * Provide the href for the link element\n */\n href?: string;\n /**\n * Indicates that the link has been visited.\n */\n visited?: boolean;\n /**\n * Choose a size for the link element @design\n */\n size?: \"sm\" | \"md\" | \"lg\";\n /**\n * Use a solid prop for link element on a solid background @design\n */\n linkSolid?: boolean;\n /**\n * Use an icon with the link element @design\n */\n icon?: React.ReactNode | React.ComponentType | React.ElementType;\n}\n\nexport const Link = React.forwardRef<HTMLAnchorElement, LinkProps>(\n function Link(props, ref) {\n const {\n children,\n className,\n href,\n disabled,\n inline,\n visited,\n icon,\n size,\n linkSolid,\n ...other\n } = props;\n\n const { prefix } = useSettings();\n\n const classes = classNames(`${prefix}--link`, className, {\n [`${prefix}--link--disabled`]: disabled,\n [`${prefix}--link--inline`]: inline,\n [`${prefix}--link--visited`]: visited,\n [`${prefix}--link--${size}`]: size,\n [`${prefix}--link--icon`]: icon,\n [`${prefix}--link--solid`]: linkSolid,\n });\n\n const rel = other.target === \"_blank\" ? \"noopener\" : undefined;\n\n const IconAsComponent = icon as React.ComponentType<any>;\n return (\n <a\n href={disabled ? undefined : href}\n className={classes}\n rel={rel}\n ref={ref}\n aria-disabled={disabled}\n {...other}\n >\n {children}\n {icon && React.isValidElement(icon) ? (\n <span className={`${prefix}--link__icon`}>{icon}</span>\n ) : icon ? (\n <IconAsComponent />\n ) : null}\n </a>\n );\n }\n);\n\nLink.displayName = \"Link\";\n\nexport default Link;\n","import * as React from 'react';\nimport { BannerNavigation, BannerNavigationItem } from './BannerNavigation';\nimport Search from '../Search';\nimport Link from '../Link';\n\ntype BannerNavigationWithContentProps = {\n /**\n * A onChange Function for the search\n */\n // eslint-disable-next-line @typescript-eslint/ban-types\n searchOnChange?: () => {};\n /**\n * Allows to disable the search input\n */\n search?: boolean;\n};\n\nconst BannerNavigationWithContent: React.FC<\n BannerNavigationWithContentProps\n> = ({ searchOnChange, search, ...other }) => (\n <BannerNavigation {...other}>\n <BannerNavigationItem>\n <Link href=\"http://communities.wfp.org\" target=\"_blank\">\n Communities\n </Link>\n </BannerNavigationItem>\n <BannerNavigationItem>\n <Link href=\"http://manuals.wfp.org\" target=\"_blank\">\n Manuals\n </Link>\n </BannerNavigationItem>\n <BannerNavigationItem>\n <Link href=\"https://newgo.docs.wfp.org\" target=\"_blank\">\n GoDocs\n </Link>\n </BannerNavigationItem>\n <BannerNavigationItem>\n <Link href=\"https://welearn.wfp.org\" target=\"_blank\">\n WeLearn\n </Link>\n </BannerNavigationItem>\n <BannerNavigationItem>\n <Link href=\"https://dashboard.wfp.org\" target=\"_blank\">\n Dashboard\n </Link>\n </BannerNavigationItem>\n <BannerNavigationItem>\n <Link href=\"http://opweb.wfp.org\" target=\"_blank\">\n OPweb\n </Link>\n </BannerNavigationItem>\n <BannerNavigationItem>\n <Link href=\"https://selfservice.go.wfp.org\" target=\"_blank\">\n Self-Service\n </Link>\n </BannerNavigationItem>\n <BannerNavigationItem>\n <Link href=\"https://erpapps.wfp.org/fiori\" target=\"_blank\">\n WeTravel\n </Link>\n </BannerNavigationItem>\n <BannerNavigationItem>\n <Link href=\"https://unbooking.org/\" target=\"_blank\">\n UN Booking Hub\n </Link>\n </BannerNavigationItem>\n <BannerNavigationItem>\n <Link href=\"https://wfp.org\" target=\"_blank\">\n WFP.org\n </Link>\n </BannerNavigationItem>\n {search && (\n <BannerNavigationItem>\n <form\n action=\"http://gtd.wfp.org\"\n method=\"GET\"\n acceptCharset=\"UTF-8\"\n target=\"_blank\">\n <Search\n kind=\"banner\"\n id=\"search-2\"\n labelText=\"Find People\"\n name=\"q\"\n placeholder=\"Find People\"\n onChange={searchOnChange}\n />\n </form>\n </BannerNavigationItem>\n )}\n </BannerNavigation>\n);\n\nexport { BannerNavigationWithContent };\n","import * as React from \"react\";\nimport { User as UserIcon } from \"@progressiveui/icons-react\";\nimport useSettings from \"../../hooks/useSettings\";\nimport classNames from \"classnames\";\n\nexport interface AvatarProps extends React.HTMLAttributes<HTMLSpanElement> {\n /**\n * Provide the alt text for the image.\n */\n alt?: string;\n /**\n * Specify the type of Tag @design\n */\n missingImage?: \"avatar\" | \"letter\";\n /**\n * Url to an avatar image The size of the image is 25px * 25px.\n * Provide at least 50px * 50px to support HiDPI displays.\n */\n image?: string;\n /**\n * The username which will be displayed in the avatar.\n */\n name?: string;\n /**\n * Additional props for the UserIcon component\n */\n userIconProps?: React.ComponentProps<typeof UserIcon>;\n}\n\n/**\n * Avatar is used to display a user image or icon.\n */\n\nfunction Avatar({\n alt,\n className,\n image,\n missingImage = \"avatar\",\n name,\n userIconProps,\n ...other\n}: AvatarProps) {\n const { prefix } = useSettings();\n\n if (!image && missingImage === \"avatar\") {\n const classes = classNames(\n `${prefix}--avatar`,\n `${prefix}--avatar--empty`,\n `${prefix}--avatar--missing`,\n className\n );\n\n return (\n <UserIcon\n fill=\"#ffffff\"\n description={alt}\n className={classes}\n {...userIconProps}\n {...other}\n />\n );\n } else if (image === undefined && missingImage === \"letter\") {\n const classes = classNames(\n `${prefix}--avatar`,\n `${prefix}--avatar--empty`,\n `${prefix}--avatar--letter`,\n className\n );\n\n return (\n <svg\n id=\"avatar-layer\"\n className={classes}\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 25 25\"\n height=\"25px\"\n width=\"25px\"\n >\n <text x=\"50%\" y=\"57%\" dominantBaseline=\"middle\" textAnchor=\"middle\">\n {name && name.toUpperCase()[0]}\n </text>\n </svg>\n );\n } else {\n const classes = classNames(`${prefix}--avatar`, className);\n\n return (\n <div {...other} className={classes}>\n <img alt={alt} src={image} />\n </div>\n );\n }\n return null;\n}\n\nAvatar.displayName = \"Avatar\";\n\nexport default Avatar;\n","import React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n\n/**\n * The breadcrumb is a secondary navigation pattern that helps a user understand the hierarchy among levels and navigate back through them. */\ninterface BreadcrumbProps extends React.ComponentPropsWithoutRef<\"div\"> {\n /**\n * Pass in the BreadcrumbItem's for your Breadcrumb\n */\n children?: React.ReactNode;\n}\n\nconst Breadcrumb = ({ children, className, ...other }: BreadcrumbProps) => {\n const { prefix } = useSettings();\n const classes = classNames(className, {\n [`${prefix}--breadcrumb`]: true,\n [`${prefix}--breadcrumb--no-trailing-slash`]: true,\n });\n return (\n <div className={classes} {...other}>\n {children}\n </div>\n );\n};\n\nexport default Breadcrumb;\n","import React from \"react\";\nimport classNames from \"classnames\";\nimport Link from \"../Link\";\nimport useSettings from \"../../hooks/useSettings\";\n\nconst newChild = (children, disableLink, href) => {\n const { prefix } = useSettings();\n if (disableLink === true) {\n return <span>{children}</span>;\n } else if (typeof children === \"string\" && !(href === undefined)) {\n return <Link href={href}>{children}</Link>;\n } else {\n return React.cloneElement(React.Children.only(children), {\n className: `${prefix}--link`,\n });\n }\n};\n\ninterface BreadcrumbItemProps extends React.ComponentPropsWithoutRef<\"div\"> {\n /**\n * Specify an link for the `BreadcrumbItem`\n */\n href?: string;\n /**\n * The children elements, usually a link\n */\n children?: React.ReactNode;\n /**\n * Specify `BreadcrumbItem` to be interactive/enabled or non-interactive/disabled\n */\n disableLink?: boolean;\n /**\n * Specify an optional className to be added to the `BreadcrumbItem` Icon\n */\n className?: string;\n}\n\nconst BreadcrumbItem = ({\n children,\n className,\n disableLink,\n href,\n ...other\n}: BreadcrumbItemProps) => {\n const { prefix } = useSettings();\n const classes = classNames(`${prefix}--breadcrumb-item`, className);\n return (\n <div className={classes} {...other}>\n {newChild(children, disableLink, href)}\n </div>\n );\n};\n\nexport default BreadcrumbItem;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport { Home } from \"@progressiveui/icons-react\";\nimport useSettings from \"../../hooks/useSettings\";\n\ninterface BreadcrumbHomeProps {\n /**\n * Specify an optional text for the `Home` Icon\n */\n hometext?: React.ReactNode;\n /**\n * Specify an optional className to be added to the `Home` Icon\n */\n className?: string;\n}\n\nconst BreadcrumbHome: React.FC<BreadcrumbHomeProps> = ({\n className,\n hometext,\n ...other\n}) => {\n const { prefix } = useSettings();\n const classes = classNames(`${prefix}--breadcrumb-home`, className);\n return (\n <Home\n //icon={iconHome}\n fill=\"#0b77c2\"\n width=\"14\"\n height=\"14\"\n description={hometext}\n className={classes}\n {...other}\n />\n );\n};\n\nexport default BreadcrumbHome;\n","import * as React from \"react\";\nimport { useState, useEffect } from \"react\";\n\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\nimport { ButtonKind } from \"../../utils\";\n\ninterface ButtonBaseProps {\n /**\n * Content of the Button @design\n */\n children?: React.ReactNode;\n /**\n * Specify whether the Button should be a small variant @design\n */\n small?: boolean;\n /**\n * Specify whether the Button should be a large variant\n */\n large?: boolean;\n /**\n * Specify btnSolid to buttons on solid background to make it stand out\n */\n btnSolid?: boolean;\n /**\n * Specify the kind of Button you want to create @design\n */\n kind?: ButtonKind;\n /**\n * Optionally specify an href for your Button to become an element\n */\n href?: string;\n /**\n * Specify an `icon` to include in the Button through an object representing the SVG data of the icon, similar to the `Icon` component @design\n */\n icon?: React.ReactNode | React.ComponentType<any>;\n /**\n * Optionally specify an href for your Button to become an element @design\n */\n iconReverse?: boolean;\n /**\n * Icon description for accessibility\n */\n iconDescription?: string;\n /**\n * Specify whether the Button should be disabled, or not\n */\n disabled?: boolean;\n /**\n * Optional prop to specify the tabIndex of the Button\n */\n tabIndex?: number;\n target?: React.AnchorHTMLAttributes<HTMLAnchorElement>[\"target\"];\n useFlexbox?: boolean;\n id?: string;\n}\n\ninterface ButtonButtonProps\n extends ButtonBaseProps,\n React.ComponentPropsWithoutRef<\"button\"> {}\n\ninterface ButtonLinkProps\n extends ButtonBaseProps,\n React.ComponentPropsWithoutRef<\"a\"> {}\n\ntype ConditionalProps<T> = T extends { href: string }\n ? ButtonLinkProps\n : ButtonButtonProps;\n\n/**\n * Buttons express what action will occur when the user clicks or touches it. Buttons are used to initialize an action, either in the background or foreground of an experience.\n */\nexport type ButtonRef<T extends React.ElementType> =\n React.ComponentPropsWithRef<T>[\"ref\"];\n\nexport const Button = React.forwardRef(\n <T extends { href?: string }>(\n props: ConditionalProps<T>,\n ref: React.Ref<\n T extends { href: string } ? HTMLAnchorElement : HTMLButtonElement\n >,\n ) => {\n const {\n children,\n className,\n disabled,\n small,\n large,\n btnSolid,\n kind = \"primary\",\n iconReverse,\n tabIndex,\n useFlexbox,\n // Set the default to \"button\"\n type = \"button\",\n icon,\n iconDescription,\n onClick,\n id,\n ...other\n } = props;\n const { prefix } = useSettings();\n const [count, setCount] = useState(false);\n\n useEffect(() => {\n const timer = setTimeout(() => endAnimation(), 500);\n return () => {\n clearTimeout(timer);\n };\n }, [count]);\n\n const buttonClasses = classNames(className, {\n [`${prefix}--btn`]: true,\n [`${prefix}--btn--sm`]: small,\n [`${prefix}--btn--lg`]: large,\n [`${prefix}--btn--icon-reverse`]: iconReverse,\n [`${prefix}--btn--flexbox`]: useFlexbox,\n [`${prefix}--btn--icon-only`]: icon && children === undefined,\n [`${prefix}--btn--${kind}`]: kind,\n [`${prefix}--btn--${kind}-solid`]: btnSolid,\n [`${prefix}--btn--animating`]: count,\n });\n\n const commonProps = {\n tabIndex,\n className: buttonClasses,\n };\n\n let buttonImage: React.ReactNode = null;\n\n if (icon && React.isValidElement(icon)) {\n buttonImage = <span className={`${prefix}--btn__icon`}>{icon}</span>;\n } else if (icon) {\n const Icon = icon as any;\n buttonImage = (\n <Icon\n description={iconDescription}\n className={`${prefix}--btn__icon`}\n />\n );\n }\n\n const endAnimation = () => {\n setCount(false);\n };\n\n const onClickAnimation = (\n e: React.MouseEvent<HTMLButtonElement | HTMLAnchorElement>,\n ) => {\n if (onClick) {\n onClick(e);\n }\n setCount(true);\n };\n\n if (other.href) {\n const anchorProps = {\n ...other,\n href: other.href,\n } as React.AnchorHTMLAttributes<HTMLAnchorElement>;\n\n return (\n <a\n {...anchorProps}\n {...commonProps}\n role=\"button\"\n onClick={onClickAnimation}\n ref={ref as React.Ref<HTMLAnchorElement>}\n id={id}\n >\n {iconReverse && buttonImage}\n {children}\n {!iconReverse && buttonImage}\n </a>\n );\n }\n\n const buttonProps = {\n ...other,\n disabled: disabled,\n } as React.ButtonHTMLAttributes<HTMLButtonElement>;\n\n return (\n <button\n {...buttonProps}\n {...commonProps}\n disabled={disabled}\n // Cast the type prop to the allowed union\n type={type as \"button\" | \"reset\" | \"submit\"}\n onClick={onClickAnimation}\n ref={ref as React.Ref<HTMLButtonElement>}\n id={id}\n >\n {iconReverse && buttonImage}\n {children}\n {!iconReverse && buttonImage}\n </button>\n );\n },\n);\n\nButton.displayName = \"Button\";\n\nexport default Button;\n","/** @license React v16.13.1\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var b=\"function\"===typeof Symbol&&Symbol.for,c=b?Symbol.for(\"react.element\"):60103,d=b?Symbol.for(\"react.portal\"):60106,e=b?Symbol.for(\"react.fragment\"):60107,f=b?Symbol.for(\"react.strict_mode\"):60108,g=b?Symbol.for(\"react.profiler\"):60114,h=b?Symbol.for(\"react.provider\"):60109,k=b?Symbol.for(\"react.context\"):60110,l=b?Symbol.for(\"react.async_mode\"):60111,m=b?Symbol.for(\"react.concurrent_mode\"):60111,n=b?Symbol.for(\"react.forward_ref\"):60112,p=b?Symbol.for(\"react.suspense\"):60113,q=b?\nSymbol.for(\"react.suspense_list\"):60120,r=b?Symbol.for(\"react.memo\"):60115,t=b?Symbol.for(\"react.lazy\"):60116,v=b?Symbol.for(\"react.block\"):60121,w=b?Symbol.for(\"react.fundamental\"):60117,x=b?Symbol.for(\"react.responder\"):60118,y=b?Symbol.for(\"react.scope\"):60119;\nfunction z(a){if(\"object\"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;\nexports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isAsyncMode=function(a){return A(a)||z(a)===l};exports.isConcurrentMode=A;exports.isContextConsumer=function(a){return z(a)===k};exports.isContextProvider=function(a){return z(a)===h};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return z(a)===n};exports.isFragment=function(a){return z(a)===e};exports.isLazy=function(a){return z(a)===t};\nexports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return z(a)===d};exports.isProfiler=function(a){return z(a)===g};exports.isStrictMode=function(a){return z(a)===f};exports.isSuspense=function(a){return z(a)===p};\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||\"object\"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z;\n","/** @license React v16.13.1\n * react-is.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\n// The Symbol used to tag the ReactElement-like types. If there is no native Symbol\n// nor polyfill, then a plain number is used for performance.\nvar hasSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;\nvar REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;\nvar REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;\nvar REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;\nvar REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;\nvar REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;\nvar REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary\n// (unstable) APIs that have been removed. Can we remove the symbols?\n\nvar REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;\nvar REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;\nvar REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;\nvar REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;\nvar REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;\nvar REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;\nvar REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;\nvar REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;\nvar REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;\nvar REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;\nvar REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;\n\nfunction isValidElementType(type) {\n return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.\n type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);\n}\n\nfunction typeOf(object) {\n if (typeof object === 'object' && object !== null) {\n var $$typeof = object.$$typeof;\n\n switch ($$typeof) {\n case REACT_ELEMENT_TYPE:\n var type = object.type;\n\n switch (type) {\n case REACT_ASYNC_MODE_TYPE:\n case REACT_CONCURRENT_MODE_TYPE:\n case REACT_FRAGMENT_TYPE:\n case REACT_PROFILER_TYPE:\n case REACT_STRICT_MODE_TYPE:\n case REACT_SUSPENSE_TYPE:\n return type;\n\n default:\n var $$typeofType = type && type.$$typeof;\n\n switch ($$typeofType) {\n case REACT_CONTEXT_TYPE:\n case REACT_FORWARD_REF_TYPE:\n case REACT_LAZY_TYPE:\n case REACT_MEMO_TYPE:\n case REACT_PROVIDER_TYPE:\n return $$typeofType;\n\n default:\n return $$typeof;\n }\n\n }\n\n case REACT_PORTAL_TYPE:\n return $$typeof;\n }\n }\n\n return undefined;\n} // AsyncMode is deprecated along with isAsyncMode\n\nvar AsyncMode = REACT_ASYNC_MODE_TYPE;\nvar ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;\nvar ContextConsumer = REACT_CONTEXT_TYPE;\nvar ContextProvider = REACT_PROVIDER_TYPE;\nvar Element = REACT_ELEMENT_TYPE;\nvar ForwardRef = REACT_FORWARD_REF_TYPE;\nvar Fragment = REACT_FRAGMENT_TYPE;\nvar Lazy = REACT_LAZY_TYPE;\nvar Memo = REACT_MEMO_TYPE;\nvar Portal = REACT_PORTAL_TYPE;\nvar Profiler = REACT_PROFILER_TYPE;\nvar StrictMode = REACT_STRICT_MODE_TYPE;\nvar Suspense = REACT_SUSPENSE_TYPE;\nvar hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated\n\nfunction isAsyncMode(object) {\n {\n if (!hasWarnedAboutDeprecatedIsAsyncMode) {\n hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint\n\n 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.');\n }\n }\n\n return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;\n}\nfunction isConcurrentMode(object) {\n return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;\n}\nfunction isContextConsumer(object) {\n return typeOf(object) === REACT_CONTEXT_TYPE;\n}\nfunction isContextProvider(object) {\n return typeOf(object) === REACT_PROVIDER_TYPE;\n}\nfunction isElement(object) {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n}\nfunction isForwardRef(object) {\n return typeOf(object) === REACT_FORWARD_REF_TYPE;\n}\nfunction isFragment(object) {\n return typeOf(object) === REACT_FRAGMENT_TYPE;\n}\nfunction isLazy(object) {\n return typeOf(object) === REACT_LAZY_TYPE;\n}\nfunction isMemo(object) {\n return typeOf(object) === REACT_MEMO_TYPE;\n}\nfunction isPortal(object) {\n return typeOf(object) === REACT_PORTAL_TYPE;\n}\nfunction isProfiler(object) {\n return typeOf(object) === REACT_PROFILER_TYPE;\n}\nfunction isStrictMode(object) {\n return typeOf(object) === REACT_STRICT_MODE_TYPE;\n}\nfunction isSuspense(object) {\n return typeOf(object) === REACT_SUSPENSE_TYPE;\n}\n\nexports.AsyncMode = AsyncMode;\nexports.ConcurrentMode = ConcurrentMode;\nexports.ContextConsumer = ContextConsumer;\nexports.ContextProvider = ContextProvider;\nexports.Element = Element;\nexports.ForwardRef = ForwardRef;\nexports.Fragment = Fragment;\nexports.Lazy = Lazy;\nexports.Memo = Memo;\nexports.Portal = Portal;\nexports.Profiler = Profiler;\nexports.StrictMode = StrictMode;\nexports.Suspense = Suspense;\nexports.isAsyncMode = isAsyncMode;\nexports.isConcurrentMode = isConcurrentMode;\nexports.isContextConsumer = isContextConsumer;\nexports.isContextProvider = isContextProvider;\nexports.isElement = isElement;\nexports.isForwardRef = isForwardRef;\nexports.isFragment = isFragment;\nexports.isLazy = isLazy;\nexports.isMemo = isMemo;\nexports.isPortal = isPortal;\nexports.isProfiler = isProfiler;\nexports.isStrictMode = isStrictMode;\nexports.isSuspense = isSuspense;\nexports.isValidElementType = isValidElementType;\nexports.typeOf = typeOf;\n })();\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n","/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","module.exports = Function.call.bind(Object.prototype.hasOwnProperty);\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n var loggedTypeFailures = {};\n var has = require('./lib/has');\n\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) { /**/ }\n };\n}\n\n/**\n * Assert that the values match with the type specs.\n * Error messages are memorized and will only be shown once.\n *\n * @param {object} typeSpecs Map of name to a ReactPropType\n * @param {object} values Runtime values that need to be type-checked\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @param {string} componentName Name of the component for error messages.\n * @param {?Function} getStack Returns the component stack.\n * @private\n */\nfunction checkPropTypes(typeSpecs, values, location, componentName, getStack) {\n if (process.env.NODE_ENV !== 'production') {\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error;\n // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n var err = Error(\n (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +\n 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +\n 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'\n );\n err.name = 'Invariant Violation';\n throw err;\n }\n error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);\n } catch (ex) {\n error = ex;\n }\n if (error && !(error instanceof Error)) {\n printWarning(\n (componentName || 'React class') + ': type specification of ' +\n location + ' `' + typeSpecName + '` is invalid; the type checker ' +\n 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +\n 'You may have forgotten to pass an argument to the type checker ' +\n 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +\n 'shape all require an argument).'\n );\n }\n if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error.message] = true;\n\n var stack = getStack ? getStack() : '';\n\n printWarning(\n 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')\n );\n }\n }\n }\n }\n}\n\n/**\n * Resets warning cache when testing.\n *\n * @private\n */\ncheckPropTypes.resetWarningCache = function() {\n if (process.env.NODE_ENV !== 'production') {\n loggedTypeFailures = {};\n }\n}\n\nmodule.exports = checkPropTypes;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactIs = require('react-is');\nvar assign = require('object-assign');\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\nvar has = require('./lib/has');\nvar checkPropTypes = require('./checkPropTypes');\n\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n}\n\nfunction emptyFunctionThatReturnsNull() {\n return null;\n}\n\nmodule.exports = function(isValidElement, throwOnDirectAccess) {\n /* global Symbol */\n var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\n var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.\n\n /**\n * Returns the iterator method function contained on the iterable object.\n *\n * Be sure to invoke the function with the iterable as context:\n *\n * var iteratorFn = getIteratorFn(myIterable);\n * if (iteratorFn) {\n * var iterator = iteratorFn.call(myIterable);\n * ...\n * }\n *\n * @param {?object} maybeIterable\n * @return {?function}\n */\n function getIteratorFn(maybeIterable) {\n var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);\n if (typeof iteratorFn === 'function') {\n return iteratorFn;\n }\n }\n\n /**\n * Collection of methods that allow declaration and validation of props that are\n * supplied to React components. Example usage:\n *\n * var Props = require('ReactPropTypes');\n * var MyArticle = React.createClass({\n * propTypes: {\n * // An optional string prop named \"description\".\n * description: Props.string,\n *\n * // A required enum prop named \"category\".\n * category: Props.oneOf(['News','Photos']).isRequired,\n *\n * // A prop named \"dialog\" that requires an instance of Dialog.\n * dialog: Props.instanceOf(Dialog).isRequired\n * },\n * render: function() { ... }\n * });\n *\n * A more formal specification of how these methods are used:\n *\n * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)\n * decl := ReactPropTypes.{type}(.isRequired)?\n *\n * Each and every declaration produces a function with the same signature. This\n * allows the creation of custom validation functions. For example:\n *\n * var MyLink = React.createClass({\n * propTypes: {\n * // An optional string or URI prop named \"href\".\n * href: function(props, propName, componentName) {\n * var propValue = props[propName];\n * if (propValue != null && typeof propValue !== 'string' &&\n * !(propValue instanceof URI)) {\n * return new Error(\n * 'Expected a string or an URI for ' + propName + ' in ' +\n * componentName\n * );\n * }\n * }\n * },\n * render: function() {...}\n * });\n *\n * @internal\n */\n\n var ANONYMOUS = '<<anonymous>>';\n\n // Important!\n // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.\n var ReactPropTypes = {\n array: createPrimitiveTypeChecker('array'),\n bigint: createPrimitiveTypeChecker('bigint'),\n bool: createPrimitiveTypeChecker('boolean'),\n func: createPrimitiveTypeChecker('function'),\n number: createPrimitiveTypeChecker('number'),\n object: createPrimitiveTypeChecker('object'),\n string: createPrimitiveTypeChecker('string'),\n symbol: createPrimitiveTypeChecker('symbol'),\n\n any: createAnyTypeChecker(),\n arrayOf: createArrayOfTypeChecker,\n element: createElementTypeChecker(),\n elementType: createElementTypeTypeChecker(),\n instanceOf: createInstanceTypeChecker,\n node: createNodeChecker(),\n objectOf: createObjectOfTypeChecker,\n oneOf: createEnumTypeChecker,\n oneOfType: createUnionTypeChecker,\n shape: createShapeTypeChecker,\n exact: createStrictShapeTypeChecker,\n };\n\n /**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\n /*eslint-disable no-self-compare*/\n function is(x, y) {\n // SameValue algorithm\n if (x === y) {\n // Steps 1-5, 7-10\n // Steps 6.b-6.e: +0 != -0\n return x !== 0 || 1 / x === 1 / y;\n } else {\n // Step 6.a: NaN == NaN\n return x !== x && y !== y;\n }\n }\n /*eslint-enable no-self-compare*/\n\n /**\n * We use an Error-like object for backward compatibility as people may call\n * PropTypes directly and inspect their output. However, we don't use real\n * Errors anymore. We don't inspect their stack anyway, and creating them\n * is prohibitively expensive if they are created too often, such as what\n * happens in oneOfType() for any type before the one that matched.\n */\n function PropTypeError(message, data) {\n this.message = message;\n this.data = data && typeof data === 'object' ? data: {};\n this.stack = '';\n }\n // Make `instanceof Error` still work for returned errors.\n PropTypeError.prototype = Error.prototype;\n\n function createChainableTypeChecker(validate) {\n if (process.env.NODE_ENV !== 'production') {\n var manualPropTypeCallCache = {};\n var manualPropTypeWarningCount = 0;\n }\n function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {\n componentName = componentName || ANONYMOUS;\n propFullName = propFullName || propName;\n\n if (secret !== ReactPropTypesSecret) {\n if (throwOnDirectAccess) {\n // New behavior only for users of `prop-types` package\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use `PropTypes.checkPropTypes()` to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {\n // Old behavior for people using React.PropTypes\n var cacheKey = componentName + ':' + propName;\n if (\n !manualPropTypeCallCache[cacheKey] &&\n // Avoid spamming the console because they are often not actionable except for lib authors\n manualPropTypeWarningCount < 3\n ) {\n printWarning(\n 'You are manually calling a React.PropTypes validation ' +\n 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +\n 'and will throw in the standalone `prop-types` package. ' +\n 'You may be seeing this warning due to a third-party PropTypes ' +\n 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'\n );\n manualPropTypeCallCache[cacheKey] = true;\n manualPropTypeWarningCount++;\n }\n }\n }\n if (props[propName] == null) {\n if (isRequired) {\n if (props[propName] === null) {\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));\n }\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));\n }\n return null;\n } else {\n return validate(props, propName, componentName, location, propFullName);\n }\n }\n\n var chainedCheckType = checkType.bind(null, false);\n chainedCheckType.isRequired = checkType.bind(null, true);\n\n return chainedCheckType;\n }\n\n function createPrimitiveTypeChecker(expectedType) {\n function validate(props, propName, componentName, location, propFullName, secret) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== expectedType) {\n // `propValue` being instance of, say, date/regexp, pass the 'object'\n // check, but we can offer a more precise error message here rather than\n // 'of type `object`'.\n var preciseType = getPreciseType(propValue);\n\n return new PropTypeError(\n 'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),\n {expectedType: expectedType}\n );\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createAnyTypeChecker() {\n return createChainableTypeChecker(emptyFunctionThatReturnsNull);\n }\n\n function createArrayOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');\n }\n var propValue = props[propName];\n if (!Array.isArray(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));\n }\n for (var i = 0; i < propValue.length; i++) {\n var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!isValidElement(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!ReactIs.isValidElementType(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createInstanceTypeChecker(expectedClass) {\n function validate(props, propName, componentName, location, propFullName) {\n if (!(props[propName] instanceof expectedClass)) {\n var expectedClassName = expectedClass.name || ANONYMOUS;\n var actualClassName = getClassName(props[propName]);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createEnumTypeChecker(expectedValues) {\n if (!Array.isArray(expectedValues)) {\n if (process.env.NODE_ENV !== 'production') {\n if (arguments.length > 1) {\n printWarning(\n 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +\n 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'\n );\n } else {\n printWarning('Invalid argument supplied to oneOf, expected an array.');\n }\n }\n return emptyFunctionThatReturnsNull;\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n for (var i = 0; i < expectedValues.length; i++) {\n if (is(propValue, expectedValues[i])) {\n return null;\n }\n }\n\n var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {\n var type = getPreciseType(value);\n if (type === 'symbol') {\n return String(value);\n }\n return value;\n });\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createObjectOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');\n }\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));\n }\n for (var key in propValue) {\n if (has(propValue, key)) {\n var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createUnionTypeChecker(arrayOfTypeCheckers) {\n if (!Array.isArray(arrayOfTypeCheckers)) {\n process.env.NODE_ENV !== 'production' ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;\n return emptyFunctionThatReturnsNull;\n }\n\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (typeof checker !== 'function') {\n printWarning(\n 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +\n 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'\n );\n return emptyFunctionThatReturnsNull;\n }\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var expectedTypes = [];\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);\n if (checkerResult == null) {\n return null;\n }\n if (checkerResult.data && has(checkerResult.data, 'expectedType')) {\n expectedTypes.push(checkerResult.data.expectedType);\n }\n }\n var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createNodeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n if (!isNode(props[propName])) {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function invalidValidatorError(componentName, location, propFullName, key, type) {\n return new PropTypeError(\n (componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +\n 'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'\n );\n }\n\n function createShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n for (var key in shapeTypes) {\n var checker = shapeTypes[key];\n if (typeof checker !== 'function') {\n return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createStrictShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n // We need to check all keys in case some are required but missing from props.\n var allKeys = assign({}, props[propName], shapeTypes);\n for (var key in allKeys) {\n var checker = shapeTypes[key];\n if (has(shapeTypes, key) && typeof checker !== 'function') {\n return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));\n }\n if (!checker) {\n return new PropTypeError(\n 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +\n '\\nBad object: ' + JSON.stringify(props[propName], null, ' ') +\n '\\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')\n );\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function isNode(propValue) {\n switch (typeof propValue) {\n case 'number':\n case 'string':\n case 'undefined':\n return true;\n case 'boolean':\n return !propValue;\n case 'object':\n if (Array.isArray(propValue)) {\n return propValue.every(isNode);\n }\n if (propValue === null || isValidElement(propValue)) {\n return true;\n }\n\n var iteratorFn = getIteratorFn(propValue);\n if (iteratorFn) {\n var iterator = iteratorFn.call(propValue);\n var step;\n if (iteratorFn !== propValue.entries) {\n while (!(step = iterator.next()).done) {\n if (!isNode(step.value)) {\n return false;\n }\n }\n } else {\n // Iterator will provide entry [k,v] tuples rather than values.\n while (!(step = iterator.next()).done) {\n var entry = step.value;\n if (entry) {\n if (!isNode(entry[1])) {\n return false;\n }\n }\n }\n }\n } else {\n return false;\n }\n\n return true;\n default:\n return false;\n }\n }\n\n function isSymbol(propType, propValue) {\n // Native Symbol.\n if (propType === 'symbol') {\n return true;\n }\n\n // falsy value can't be a Symbol\n if (!propValue) {\n return false;\n }\n\n // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'\n if (propValue['@@toStringTag'] === 'Symbol') {\n return true;\n }\n\n // Fallback for non-spec compliant Symbols which are polyfilled.\n if (typeof Symbol === 'function' && propValue instanceof Symbol) {\n return true;\n }\n\n return false;\n }\n\n // Equivalent of `typeof` but with special handling for array and regexp.\n function getPropType(propValue) {\n var propType = typeof propValue;\n if (Array.isArray(propValue)) {\n return 'array';\n }\n if (propValue instanceof RegExp) {\n // Old webkits (at least until Android 4.0) return 'function' rather than\n // 'object' for typeof a RegExp. We'll normalize this here so that /bla/\n // passes PropTypes.object.\n return 'object';\n }\n if (isSymbol(propType, propValue)) {\n return 'symbol';\n }\n return propType;\n }\n\n // This handles more types than `getPropType`. Only used for error messages.\n // See `createPrimitiveTypeChecker`.\n function getPreciseType(propValue) {\n if (typeof propValue === 'undefined' || propValue === null) {\n return '' + propValue;\n }\n var propType = getPropType(propValue);\n if (propType === 'object') {\n if (propValue instanceof Date) {\n return 'date';\n } else if (propValue instanceof RegExp) {\n return 'regexp';\n }\n }\n return propType;\n }\n\n // Returns a string that is postfixed to a warning about an invalid type.\n // For example, \"undefined\" or \"of type array\"\n function getPostfixForTypeWarning(value) {\n var type = getPreciseType(value);\n switch (type) {\n case 'array':\n case 'object':\n return 'an ' + type;\n case 'boolean':\n case 'date':\n case 'regexp':\n return 'a ' + type;\n default:\n return type;\n }\n }\n\n // Returns class name of the object, if any.\n function getClassName(propValue) {\n if (!propValue.constructor || !propValue.constructor.name) {\n return ANONYMOUS;\n }\n return propValue.constructor.name;\n }\n\n ReactPropTypes.checkPropTypes = checkPropTypes;\n ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bigint: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n","import { oneOf } from \"prop-types\";\n\n// TODO: remove legacy\nexport const ButtonTypes = {\n buttonKind: oneOf([\n \"primary\",\n \"secondary\",\n \"accent\",\n \"danger\",\n \"ghost\",\n \"inverse--primary\",\n \"inverse\",\n \"danger--primary\",\n \"tertiary\",\n \"navigation\",\n ]),\n};\n\nexport const buttonKinds = [\n \"primary\",\n \"secondary\",\n \"tertiary\",\n \"accent\",\n \"danger--primary\",\n \"danger\",\n \"ghost\",\n \"inverse--primary\",\n \"inverse\",\n \"navigation\",\n];\n\nexport const notificationtypes = [\"info\", \"success\", \"warning\", \"error\"];\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n// import { IIcon } from '../../utils';\n\ninterface EmptyProps extends Omit<React.ComponentPropsWithRef<\"div\">, \"title\"> {\n /**\n * The content to be rendered in the empty state. @design\n */\n children?: React.ReactNode;\n /**\n * The title to be rendered in the empty state.\n */\n title?: React.ReactNode;\n /**\n * The kind of empty state to be rendered. @design\n */\n kind?: \"undefined\" | \"large\";\n /**\n * The icon to be rendered in the empty state. @design\n */\n icon?: React.ReactNode;\n /**\n * The button to be rendered in the empty state. @design\n */\n button?: React.ReactNode;\n /**\n * The CSS class name to be appended to the top-level node.\n */\n className?: string;\n /**\n * The replaceable components to be used for the empty state.\n */\n components?: { Icon: React.ReactNode; Text: React.ReactNode };\n}\n\nconst Icon = ({ icon }: EmptyProps) => {\n const { prefix } = useSettings();\n if (!icon) return null;\n return <div className={`${prefix}--empty__icon`}>{icon}</div>;\n};\n\nconst Text = ({ title, children }: EmptyProps) => {\n const { prefix } = useSettings();\n return (\n <div className={`${prefix}--empty__text`}>\n {title && <h2>{title}</h2>}\n <div>{children}</div>\n </div>\n );\n};\n\n/** The Empty component can be used whenever a section should indicate that there is no content available. This can be the case for a empty list table or search results. */\nconst Empty = ({\n button,\n children,\n className,\n components,\n icon,\n title,\n kind = \"large\",\n ...other\n}: EmptyProps) => {\n const { prefix } = useSettings();\n\n const classes = classNames(\n {\n [`${prefix}--empty`]: true,\n [`${prefix}--empty--${kind}`]: kind,\n },\n className\n );\n\n const defaultComponents = { Icon, Text };\n\n const allComponents = {\n ...defaultComponents,\n ...components,\n };\n\n const IconComponent = allComponents.Icon as React.FC<EmptyProps>;\n const TextComponent = allComponents.Text as React.FC<EmptyProps>;\n\n return (\n <div className={classes} {...other}>\n <IconComponent icon={icon} />\n <TextComponent title={title} children={children} />\n <div className={`${prefix}--empty__button`}>{button}</div>\n </div>\n );\n};\n\nEmpty.displayName = \"Empty\";\n\nexport default Empty;\n","import * as React from 'react';\nimport type { PropsWithChildren } from 'react';\nimport classNames from 'classnames';\nimport useSettings from '../../hooks/useSettings';\nimport { HeroKind } from '../../utils';\n/**\n * Hero are a convenient means of displaying content composed of different types of objects. It is a multi usage component which creates boxes that are usually teasing some kind of content. */\ntype HeroProps = PropsWithChildren<{\n /**\n The links target\n*/\n href?: string;\n /**\n An optimized photograph\n */\n image?: string;\n /**\n External link flag\n*/\n isExternal?: boolean;\n /**\n Render the Hero as link\n*/\n isLink?: boolean;\n /**\n A short sentence to explain the content of the node (max 180 characters) \n*/\n subTitle?: React.ReactNode;\n /**\n A search-friendly title (ideally 50 characters, max 100) \n*/\n title?: string | React.ReactNode;\n /**\n Additional metadatas\n*/\n metadata?: string;\n /**\n Additional more content\n*/\n more?: React.ReactNode;\n /**\n Kind of Hero\n*/\n kind?: HeroKind;\n /**\n The URL where the content uploaded is located.\n*/\n url?: string;\n /**\n Additional className which will be added\n */\n className?: string;\n}>;\n\nconst Hero: React.FC<HeroProps> = ({\n children,\n className,\n image,\n isExternal,\n isLink,\n metadata,\n more,\n subTitle,\n title,\n kind,\n url,\n ...other\n}) => {\n const { prefix } = useSettings();\n\n const style =\n kind !== 'related'\n ? {\n backgroundImage: `url(${image})`,\n }\n : {};\n\n const wrapperClasses = classNames(`${prefix}--photo-card`, {\n [`${prefix}--photo-card--${kind}`]: kind,\n [`${prefix}--photo-card--no-background`]: !image,\n [`${prefix}--photo-card--link`]: isLink,\n [`${className}`]: className,\n });\n\n const content = (\n <React.Fragment>\n <div className={`${prefix}--photo-card__background`} style={style} />\n {image && kind === 'related' && <img src={image} /*TODO: alt={title}*/ />}\n <div className={`${prefix}--photo-card__info`}>\n <div>\n {(kind === 'landscape' || kind === 'hero') && (\n <div\n className={`${prefix}--photo-card__info__background`}\n style={style}\n />\n )}\n {metadata && (\n <p className={`${prefix}--photo-card__info__metadata`}>\n {metadata}\n </p>\n )}\n {title && (kind === 'hero' || kind === 'splash-compact') && (\n <h2 className={`${prefix}--photo-card__info__title`}>{title}</h2>\n )}\n {title && kind !== 'hero' && kind !== 'splash-compact' && (\n <h3 className={`${prefix}--photo-card__info__title`}>{title}</h3>\n )}\n {subTitle && (\n <p className={`${prefix}--photo-card__info__subtitle`}>\n {subTitle}\n </p>\n )}\n </div>\n\n {kind === 'hero' ||\n kind === 'splash-image' ||\n (kind === 'splash-compact' && (\n <div className={`${prefix}--photo-card__info__more`}>{more}</div>\n ))}\n </div>\n {children}\n </React.Fragment>\n );\n\n return isLink ? (\n <a\n href={url}\n target={isExternal ? '_blank' : ''}\n className={wrapperClasses}\n {...other}>\n {content}\n </a>\n ) : (\n <div className={wrapperClasses} {...other}>\n {content}\n </div>\n );\n};\n\nHero.displayName = 'Hero';\n\nexport default Hero;\n","import React, { ReactNode } from 'react';\nimport type { PropsWithChildren } from 'react';\nimport classNames from 'classnames';\nimport Wrapper from '../Wrapper';\n\nimport useSettings from '../../hooks/useSettings';\n\ntype HeroExternalProps = PropsWithChildren<{\n /**\n A search-friendly title (ideally 50 characters, max 100) \n*/\n title?: string | ReactNode;\n /**\n Additional className which will be added\n */\n className?: string;\n /**\n A short sentence to explain the content of the node (max 180 characters) \n*/\n subTitle: React.ReactNode;\n /**\n An optimized photograph\n */\n image: string;\n}>;\n\nconst HeroExternal: React.FC<HeroExternalProps> = ({\n title,\n subTitle,\n image,\n children,\n className,\n // ...other\n}) => {\n const { prefix } = useSettings();\n\n const wrapperClasses = classNames(`${prefix}--hero-ext`, {\n [`${className}`]: className,\n });\n\n return (\n // TODO: Provide a prop to set the backgrond image (linear-gradient should be not editable)\n // TODO: Provide a prop [string] to set the backgrond position (optional).\n <div\n className={wrapperClasses}\n // TODO: do we need a token for the linear gradient?\n style={{\n backgroundImage: `linear-gradient(rgba(26, 66, 98, 0.8), rgba(26, 66, 98, 0.8)), url(${image})`,\n backgroundPosition: 'center right',\n }}>\n <Wrapper pageWidth=\"md\">\n <div className={`${prefix}--hero-ext__content`}>\n {title && <h1 className={`${prefix}--hero-ext__heading`}>{title}</h1>}\n {subTitle && (\n <p className={`${prefix}--hero-ext__body-copy`}>{subTitle}</p>\n )}\n </div>\n {children}\n </Wrapper>\n </div>\n );\n};\n\nexport default HeroExternal;\n","import * as React from 'react';\nimport type { PropsWithChildren } from 'react';\nimport classNames from 'classnames';\nimport useSettings from '../../hooks/useSettings';\nimport { CardKind } from '../../utils';\n\n/**\n * Cards are a convenient means of displaying content composed of different types of objects. It is a multi usage component which creates boxes that are usually teasing some kind of content. */\ntype CardProps = PropsWithChildren<{\n /**\n Additional className which will be added\n */\n className?: string;\n /**\n An optimized photograph\n */\n image?: string;\n /**\n isExternal if true, opens link in a different window\n*/\n isExternal?: boolean;\n /**\n Render the Card as link\n*/\n isLink?: boolean;\n /**\n A short sentence to explain the content of the node (max 180 characters) \n*/\n subTitle?: React.ReactNode;\n /**\n A search-friendly title (ideally 50 characters, max 100) \n*/\n title?: string | React.ReactNode;\n /**\n Additional metadatas\n*/\n metadata?: string;\n /**\n * Alternative text for image\n */\n alt?: string;\n /**\n * The content of the Card\n */\n children?: React.ReactNode;\n /**\n Kind of Card\n*/\n kind?: CardKind;\n /**\n The URL where the content uploaded is located.\n*/\n url?: string;\n /**\n * override default card width with preferred width\n */\n cardWidth?: string;\n /**\n * override default card width with preferred width\n */\n cardHeight?: string;\n}>;\n\nconst Card: React.FC<CardProps> = ({\n children,\n className,\n image,\n isExternal,\n isLink,\n metadata,\n subTitle,\n title,\n alt,\n kind,\n url,\n cardWidth,\n cardHeight,\n ...other\n}) => {\n const { prefix } = useSettings();\n const style =\n kind == 'overlay'\n ? {\n backgroundImage: `url(${image})`,\n }\n : {};\n\n const pagewidth = cardWidth ? cardWidth : '300px';\n const pageheight = cardHeight ? cardHeight : '260px';\n\n const wrapperClasses = classNames([`${prefix}--card-box`], {\n [`${prefix}--photo-cardnew--${kind}`]: kind,\n // 'wfp--photo-cardnew--no-background': !image,\n [`${prefix}--photo-cardnew--link`]: isLink,\n [`${className}`]: className,\n });\n\n const content = (\n <>\n {kind === 'overlay' ? (\n <div className={`${prefix}--photo-cardnew__background`} style={style} />\n ) : null}\n\n {image && kind === 'simple-card' ? (\n <img src={image} alt={alt} className={`${prefix}--header-photo`} />\n ) : null}\n\n <div className={`${prefix}--photo-cardnew__info`}>\n <div>\n {kind === 'overlay' && (\n <div\n className={`${prefix}--photo-cardnew__info__background`}\n style={style}\n />\n )}\n {metadata && (\n <p className={`${prefix}--photo-cardnew__info__metadata`}>\n {metadata}\n </p>\n )}\n {title && (\n <h3 className={`${prefix}--photo-cardnew__info__title`}>{title}</h3>\n )}\n {subTitle && (\n <p className={`${prefix}--photo-cardnew__info__subtitle`}>\n {subTitle}\n </p>\n )}\n </div>\n </div>\n {children}\n </>\n );\n\n return isLink ? (\n <div\n className={wrapperClasses}\n style={{ width: pagewidth, minHeight: pageheight }}>\n <a\n href={url}\n target={isExternal ? '_blank' : ''}\n style={{ width: pagewidth, minHeight: pageheight }}\n {...other}>\n {content}\n </a>\n </div>\n ) : (\n <div\n className={wrapperClasses}\n {...other}\n style={{ width: pagewidth, minHeight: pageheight }}>\n {content}\n </div>\n );\n};\n\nCard.displayName = 'Card';\n\nexport default Card;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n//import { TagType } from '../../typesLegacy/utils';\n\nconst TYPES = {\n info: \"Info\",\n error: \"error\",\n success: \"Success\",\n warning: \"Warning\",\n custom: \"Custom\",\n};\n\nexport interface TagProps extends React.HTMLAttributes<HTMLSpanElement> {\n /**\n * Specify the type of Tag @design\n */\n type?: \"wfp\" | \"info\" | \"error\" | \"success\" | \"warning\" | \"custom\" | string;\n\n /**\n * Specify if the Tag should be wrapped if it is too long @deprecated\n */\n wrap?: boolean;\n}\n\n/** Tag is used to label, categorize, or organize items using keywords that describe them. */\n\nconst Tag: React.FC<TagProps> = ({\n children,\n className,\n type = \"info\",\n ...other\n}) => {\n const { prefix } = useSettings();\n const tagClass = `${prefix}--tag--${type}`;\n const tagClasses = classNames(`${prefix}--tag`, tagClass, className);\n return (\n <span className={tagClasses} {...other}>\n {children || TYPES[type]}\n </span>\n );\n};\n\nTag.displayName = \"Tag\";\n\nexport default Tag;\n","import React, { useEffect, useRef, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport classNames from \"classnames\";\nimport Tag from \"../Tag\";\n\nimport useSettings from \"../../hooks/useSettings\";\n\ninterface CardExternalProps {\n label?: string;\n labelStatus?: boolean;\n interactive?: boolean;\n image?: string;\n heading?: string;\n subHeading?: string;\n caption?: string;\n tag?: string;\n children?: React.ReactNode;\n className?: string;\n truncated?: boolean;\n}\n\nconst CardExternal = ({\n label,\n labelStatus,\n interactive,\n image,\n heading,\n subHeading,\n caption,\n tag,\n children,\n className,\n ...other\n}: CardExternalProps) => {\n const { prefix } = useSettings();\n const ref = useRef<HTMLInputElement>(null);\n const supportiveTextFontSize = 14;\n const supportiveTextLineHeight = 1.5;\n\n // Set a maximum of 3 lines of supportive text by default\n const [supportiveTextHeight, setsupportiveTextHeight] = useState(\n supportiveTextFontSize * supportiveTextLineHeight * 3\n );\n\n // statusStyle apply different style(color, backgroundColor) based on its active state\n const statusStyle = labelStatus ? `success` : `neutral`;\n\n const wrapperClasses = classNames(`${prefix}--card-ext`, {\n [`${prefix}--card-ext--interactive`]: interactive,\n [`${className}`]: className,\n });\n\n /**\n * Get the height of the supportive text element.\n * This is useful to calculate a dynamic maximum amount of line text with final\n * ellipsis for the \"supportive text\" element, depending of the available\n * height.\n *\n * Cards' title has no limits in terms of line text, whereas we can decide to\n * truncate the supportive text at 3 number of lines. The multiline truncation\n * can be obtained by using the \"line clamp\" CSS property that truncates text\n * at a specific number of lines.\n * The problem is, if we place three cards on a Flexbox/Grid parent, these\n * cards will have the same height, depending on the highest of the three.\n * This means that if one card has a multiline title, the other two will grow\n * in height, showing a significant white space. To fill the latter cards'\n * white space we need to increase the number of their \"supportive text\" lines.\n * To do this we need to divide the \"supportive text\" element's height by its\n * font-size and line-height in order to get exact amount of line text that are\n * needed to fill the extra white space.\n *\n */\n useEffect(() => {\n if (!ref.current) return;\n setsupportiveTextHeight(ref.current.offsetHeight);\n }, [ref]);\n\n return (\n /* Also expose a custom classname prop */\n /**\n * A prop will establish if the card is either informative (default) or\n * interactive.\n * If interactive, a modifier will be added and an animation will be shown\n * on hover event (\"${prefix}--card-ext--interactive\").\n */\n <div className={wrapperClasses}>\n {/*\n * Label is optional.\n * It can be either 'neutral' (default) or 'success'\n */}\n {label && (\n <div\n className={`${prefix}--card-ext__label ${prefix}--card-ext__label--${statusStyle}`}\n >\n {label}\n </div>\n )}\n <figure className={`${prefix}--card-ext__media`}>\n <img\n className={`${prefix}--card-ext__image`}\n src={image}\n alt=\"Card picture\"\n />\n </figure>\n {/* If card has actions, show a divider by adding a dedicated modifier handled with a boolean prop */}\n <div\n className={`${prefix}--card-ext__info-wrapper ${prefix}--card-ext__info-wrapper--with-divider`}\n >\n <div className={`${prefix}--card-ext__primary-title`}>\n {/* Subheading is optional */}\n {subHeading && (\n <p className={`${prefix}--card-ext__subheading`}>{subHeading}</p>\n )}\n {heading && (\n <p className={`${prefix}--card-ext__heading`}>{heading}</p>\n )}\n </div>\n {/* Supportive text is optional */}\n <div\n className={\n other.truncated\n ? `${prefix}--card-ext__supportive-text ${prefix}--card-ext__supportive-text--truncated`\n : `${prefix}--card-ext__supportive-text`\n }\n ref={ref}\n >\n <p\n style={{\n WebkitLineClamp: Math.floor(\n supportiveTextHeight /\n supportiveTextLineHeight /\n supportiveTextFontSize\n ),\n }}\n >\n {caption}\n </p>\n </div>\n {/* Tags are optional */}\n {tag && (\n <div className={`${prefix}--card-ext__tags`}>\n <Tag className={`${prefix}--card-ext__tag`} type=\"custom\">\n {tag}\n </Tag>\n </div>\n )}\n </div>\n {/* Better to allow only small buttons for alignment reasons */}\n {children}\n </div>\n );\n};\n\nCardExternal.propTypes = {\n /**\n label description for card if any\n */\n label: PropTypes.string,\n\n /**\n labelStatus is either true or false, it applies for card if any\n */\n labelStatus: PropTypes.bool,\n image: PropTypes.string,\n heading: PropTypes.string,\n subHeading: PropTypes.string,\n caption: PropTypes.string,\n tag: PropTypes.string,\n children: PropTypes.node,\n interactive: PropTypes.bool,\n className: PropTypes.string,\n};\n\nexport default CardExternal;\n","import * as React from \"react\";\nimport useSettings from \"../../hooks/useSettings\";\nimport { ArrowRight, CalendarAltRegular } from \"@progressiveui/icons-react\";\n\nexport interface DatePickerInputProps {\n /**\n * The starting date value, formatted as a string.\n */\n startDate?: string;\n\n /**\n * The ending date value, formatted as a string.\n */\n endDate?: string;\n\n /**\n * The DatePicker component to be used (react-datepicker by default)\n */\n datePicker?: React.ComponentType<any>;\n\n /**\n * Function to set the starting date. Typically used as an event handler.\n */\n setStartDate?: string;\n\n /**\n * Function to set the ending date. Typically used as an event handler.\n */\n setEndDate?: string;\n\n /**\n * Additional props for the start date DatePicker component.\n * Can be used to pass custom settings or event handlers.\n */\n fromProps?: object;\n\n /**\n * Additional props for the end date DatePicker component.\n * Can be used to pass custom settings or event handlers.\n */\n toProps?: object;\n /**\n * Additional props for the DatePicker component.\n */\n datePickerProps?: object;\n}\n\nexport const DatePickerInput = React.forwardRef<\n HTMLInputElement,\n DatePickerInputProps\n>(\n (\n { startDate, endDate, setStartDate, datePicker, datePickerProps = {} },\n ref\n ) => {\n const { prefix } = useSettings();\n const DatePicker = datePicker;\n if (!DatePicker) {\n return <div>Add a datepicker component</div>;\n }\n return (\n <div className={`${prefix}--date-picker`}>\n <div className={`${prefix}--date-picker__input`}>\n <DatePicker\n selected={startDate}\n className={`${prefix}--input ${prefix}--date__input__start-date`}\n onChange={setStartDate}\n selectsStart\n startDate={startDate}\n endDate={endDate}\n wrapperClassName={`${prefix}--date-picker__wrapper`}\n {...datePickerProps}\n ref={ref}\n />\n <CalendarAltRegular className={`${prefix}--date-picker__icon`} />\n </div>\n </div>\n );\n }\n);\n\nDatePickerInput.displayName = \"DatePickerInput\";\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\nimport Input from \"../Input/Input\";\nimport { UseInputProps, useInput } from \"../Input/useInput\";\nimport { InputProps } from \"../Input\";\nimport { DatePickerInput, DatePickerInputProps } from \"./DatePickerInput\";\n\n/** DatePicker with the Input wrapper */\n\ninterface DatePickerProps extends InputProps, DatePickerInputProps {\n /* React.ComponentPropsWithRef<\"input\">*/\n}\n\nconst DatePicker = React.forwardRef<HTMLInputElement, DatePickerProps>(\n (props, ref) => {\n const { datePickerProps, hideLabel, helperText, /* pattern, */ required } =\n props;\n\n const { prefix } = useSettings();\n\n const inputClassName = classNames(\n `${prefix}--input`,\n `${prefix}--date-picker`,\n {\n [`${prefix}--date-picker--helpertext`]: helperText,\n [`${prefix}--date-picker--nolabel`]: hideLabel,\n [`${prefix}--date-picker--required`]: required,\n }\n );\n\n const useInputProps = props as UseInputProps;\n const { inputProps, wrapperProps } = useInput({\n ...useInputProps,\n inputClassName,\n });\n\n return (\n <Input {...wrapperProps}>\n <DatePickerInput\n // pattern={pattern}\n {...inputProps}\n ref={ref}\n datePickerProps={datePickerProps}\n />\n </Input>\n );\n }\n);\n\nDatePicker.displayName = \"DatePicker\";\n\nexport default DatePicker;\n","import * as React from \"react\";\nimport useSettings from \"../../hooks/useSettings\";\nimport { ArrowRight, CalendarAltRegular } from \"@progressiveui/icons-react\";\n\nexport interface DateRangePickerInputProps {\n /**\n * The starting date value, formatted as a string.\n */\n startDate?: string;\n\n /**\n * The ending date value, formatted as a string.\n */\n endDate?: string;\n\n /**\n * The DatePicker component to be used (react-datepicker by default)\n */\n datePicker?: React.ComponentType<any>;\n\n /**\n * Function to set the starting date. Typically used as an event handler.\n */\n setStartDate?: string;\n\n /**\n * Function to set the ending date. Typically used as an event handler.\n */\n setEndDate?: string;\n\n /**\n * Additional props for the start date DatePicker component.\n * Can be used to pass custom settings or event handlers.\n */\n fromProps?: object;\n\n /**\n * Additional props for the end date DatePicker component.\n * Can be used to pass custom settings or event handlers.\n */\n toProps?: object;\n}\n\nexport const DateRangePickerInput = React.forwardRef<\n HTMLInputElement,\n DateRangePickerInputProps\n>(\n (\n {\n startDate,\n endDate,\n setStartDate,\n setEndDate,\n datePicker,\n fromProps = {},\n toProps = {},\n },\n ref\n ) => {\n const { prefix } = useSettings();\n const DatePicker = datePicker;\n if (!DatePicker) {\n return <div>Add a datepicker component</div>;\n }\n return (\n <div className={`${prefix}--date-ranger-picker`}>\n <div className={`${prefix}--date-ranger-picker__input`}>\n <DatePicker\n selected={startDate}\n className={`${prefix}--input ${prefix}--date-ranger__input__start-date`}\n onChange={setStartDate}\n selectsStart\n startDate={startDate}\n endDate={endDate}\n wrapperClassName={`${prefix}--date-picker__wrapper`}\n {...fromProps}\n ref={ref}\n />\n <CalendarAltRegular\n className={`${prefix}--date-ranger-picker__icon`}\n />\n </div>\n <ArrowRight className={`${prefix}--date-ranger-picker__arrow`} />\n <div className={`${prefix}--date-ranger-picker__input`}>\n <DatePicker\n selected={endDate}\n className={`${prefix}--input ${prefix}--date-ranger__input__start-date`}\n onChange={setEndDate}\n selectsEnd\n startDate={startDate}\n endDate={endDate}\n minDate={startDate}\n wrapperClassName={`${prefix}--date-picker__wrapper`}\n {...toProps}\n // TODO: Add ref to the end date picker\n />\n <CalendarAltRegular\n className={`${prefix}--date-ranger-picker__icon`}\n />\n </div>\n </div>\n );\n }\n);\n\nDateRangePickerInput.displayName = \"DateRangePickerInput\";\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\nimport Input from \"../Input/Input\";\nimport { UseInputProps, useInput } from \"../Input/useInput\";\nimport { InputProps } from \"../Input\";\nimport {\n DateRangePickerInput,\n DateRangePickerInputProps,\n} from \"./DateRangePickerInput\";\n\n/** DatePicker with the Input wrapper */\n\ninterface DateRangePickerProps\n extends InputProps,\n DateRangePickerInputProps,\n React.ComponentPropsWithRef<\"input\"> {}\n\nconst DateRangePicker: React.FC<DateRangePickerProps> = React.forwardRef(\n (props, ref) => {\n const {\n fromProps,\n toProps,\n hideLabel,\n helperText,\n /* pattern, */ required,\n } = props;\n\n const { prefix } = useSettings();\n\n const inputClassName = classNames(\n `${prefix}--input`,\n `${prefix}--date-range-picker`,\n {\n [`${prefix}--date-range-picker--helpertext`]: helperText,\n [`${prefix}--date-range-picker--nolabel`]: hideLabel,\n [`${prefix}--date-range-picker--required`]: required,\n }\n );\n\n const useInputProps = props as UseInputProps;\n const { inputProps, wrapperProps } = useInput({\n ...useInputProps,\n inputClassName,\n });\n\n return (\n <Input {...wrapperProps}>\n <DateRangePickerInput\n // pattern={pattern}\n {...inputProps}\n ref={ref}\n fromProps={fromProps}\n toProps={toProps}\n />\n </Input>\n );\n }\n);\n\nDateRangePicker.displayName = \"DateRangePicker\";\n\nexport default DateRangePicker;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\nimport { InlineErrorMessage } from \"../Input\";\n\ninterface CheckboxProps\n extends Omit<React.ComponentPropsWithRef<\"input\">, \"onChange\"> {\n /**\n * Specify whether the Checkbox is in an indeterminate state\n */\n indeterminate?: boolean;\n /**\n * Provide a label to provide a description of the Checkbox input that you are\n * exposing to the user\n */\n labelText?: React.ReactNode;\n /**\n * Specify whether the label should be hidden, or not\n */\n hideLabel?: boolean;\n /**\n * Invalid state for the checkbox\n */\n invalid?: boolean;\n /**\n * Provide the text that is displayed when the checkbox is in an invalid state\n */\n invalidText?: string;\n /**\n * The CSS class name to be placed on the wrapping element\n */\n wrapperClassName?: string;\n /**\n *\n * @param event | The event triggering the change\n * @param checked | The new value of the checkbox\n * @param customId | The id of the checkbox\n */\n onChange?(\n event: React.ChangeEvent<HTMLInputElement>,\n checked?: boolean,\n customId?: string\n ): void;\n}\n\nexport const Checkbox = React.forwardRef<HTMLInputElement, CheckboxProps>(\n (\n {\n className,\n id,\n labelText,\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n onChange = () => {},\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n indeterminate,\n invalid,\n invalidText,\n hideLabel,\n wrapperClassName,\n title = \"\",\n ...other\n },\n ref\n ) => {\n const { prefix } = useSettings();\n const labelClasses = classNames(`${prefix}--checkbox-label`, className);\n const innerLabelClasses = classNames(`${prefix}--checkbox-label-text`, {\n [`${prefix}--visually-hidden`]: hideLabel,\n });\n const wrapperClasses = classNames(\n `${prefix}--form-item`,\n `${prefix}--checkbox-wrapper`,\n {\n [`${prefix}--checkbox-wrapper--invalid`]: invalid,\n },\n wrapperClassName\n );\n\n return (\n <div className={wrapperClasses}>\n <input\n {...other}\n aria-invalid={invalid}\n data-invalid={invalid}\n type=\"checkbox\"\n onChange={(evt) => {\n onChange(evt, evt.target.checked, id);\n }}\n className={`${prefix}--checkbox`}\n id={id || other.name}\n ref={(el) => {\n if (el) {\n if (indeterminate) {\n el.indeterminate = indeterminate;\n }\n }\n if (typeof ref === \"function\") {\n ref(el);\n } else if (Object(ref) === ref && ref) {\n ref.current = el;\n }\n }}\n />\n <label\n htmlFor={id || other.name}\n className={labelClasses}\n title={title || undefined}\n >\n <span className={innerLabelClasses}>{labelText}</span>\n </label>\n <InlineErrorMessage\n errorClasses={`${prefix}--form-requirement`}\n invalid={invalid}\n invalidText={invalidText}\n />\n </div>\n );\n }\n);\n\nCheckbox.displayName = \"Checkbox\";\n\nexport default Checkbox;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n\ninterface CreditsProps extends React.HTMLAttributes<HTMLDivElement> {\n /**\n Specifiy the info content\n*/\n info?: React.ReactNode;\n}\n\n/** Credits are mostly used when a photo need a source attribution. */\nconst Credits: React.FC<CreditsProps> = ({\n children,\n className,\n info,\n ...other\n}) => {\n const { prefix } = useSettings();\n const classes = classNames(`${prefix}--credits`, className);\n return (\n <div className={classes} {...other}>\n <div className={`${prefix}--credits__info`}>{info}</div>\n {children}\n </div>\n );\n};\n\nCredits.displayName = \"Credits\";\n\nexport default Credits;\n","import React, { useState } from \"react\";\nimport type { PropsWithChildren } from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n\n/** ContentSwitcher manipulates the content shown following an exclusive or “either/or” pattern. It is used to toggle between two or more content sections within the same space on screen. Only one section can be shown at a time.\n */\n\ntype ContentSwitcherProps = PropsWithChildren<{\n className?: string;\n selectedIndex?: number;\n small?: boolean;\n onChange: (data?: object) => void;\n}>;\n\nconst ContentSwitcher: React.FC<ContentSwitcherProps> = ({\n children,\n className,\n selectedIndex,\n small,\n onChange,\n ...other\n}) => {\n const { prefix } = useSettings();\n const [selectedIdx, setSelectedIndex] = useState(selectedIndex);\n\n const getChildren = (children) => {\n return React.Children.map(children, (child, index) =>\n React.cloneElement(child, {\n index,\n onClick: handleChildChange,\n onKeyDown: handleChildChange,\n selected: index === selectedIdx,\n })\n );\n };\n\n const handleChildChange = (data) => {\n const { index } = data;\n if (selectedIdx !== index) {\n setSelectedIndex(index);\n onChange(data);\n }\n };\n\n const classes = classNames(`${prefix}--content-switcher`, className, {\n [`${prefix}--content-switcher--sm`]: small,\n });\n\n return (\n <div {...other} className={classes}>\n {getChildren(children)}\n </div>\n );\n};\n\nexport default ContentSwitcher;\n","/**\n * @license React\n * react-dom.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar React = require(\"react\");\nfunction formatProdErrorMessage(code) {\n var url = \"https://react.dev/errors/\" + code;\n if (1 < arguments.length) {\n url += \"?args[]=\" + encodeURIComponent(arguments[1]);\n for (var i = 2; i < arguments.length; i++)\n url += \"&args[]=\" + encodeURIComponent(arguments[i]);\n }\n return (\n \"Minified React error #\" +\n code +\n \"; visit \" +\n url +\n \" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.\"\n );\n}\nfunction noop() {}\nvar Internals = {\n d: {\n f: noop,\n r: function () {\n throw Error(formatProdErrorMessage(522));\n },\n D: noop,\n C: noop,\n L: noop,\n m: noop,\n X: noop,\n S: noop,\n M: noop\n },\n p: 0,\n findDOMNode: null\n },\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\");\nfunction createPortal$1(children, containerInfo, implementation) {\n var key =\n 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;\n return {\n $$typeof: REACT_PORTAL_TYPE,\n key: null == key ? null : \"\" + key,\n children: children,\n containerInfo: containerInfo,\n implementation: implementation\n };\n}\nvar ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;\nfunction getCrossOriginStringAs(as, input) {\n if (\"font\" === as) return \"\";\n if (\"string\" === typeof input)\n return \"use-credentials\" === input ? input : \"\";\n}\nexports.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =\n Internals;\nexports.createPortal = function (children, container) {\n var key =\n 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null;\n if (\n !container ||\n (1 !== container.nodeType &&\n 9 !== container.nodeType &&\n 11 !== container.nodeType)\n )\n throw Error(formatProdErrorMessage(299));\n return createPortal$1(children, container, null, key);\n};\nexports.flushSync = function (fn) {\n var previousTransition = ReactSharedInternals.T,\n previousUpdatePriority = Internals.p;\n try {\n if (((ReactSharedInternals.T = null), (Internals.p = 2), fn)) return fn();\n } finally {\n (ReactSharedInternals.T = previousTransition),\n (Internals.p = previousUpdatePriority),\n Internals.d.f();\n }\n};\nexports.preconnect = function (href, options) {\n \"string\" === typeof href &&\n (options\n ? ((options = options.crossOrigin),\n (options =\n \"string\" === typeof options\n ? \"use-credentials\" === options\n ? options\n : \"\"\n : void 0))\n : (options = null),\n Internals.d.C(href, options));\n};\nexports.prefetchDNS = function (href) {\n \"string\" === typeof href && Internals.d.D(href);\n};\nexports.preinit = function (href, options) {\n if (\"string\" === typeof href && options && \"string\" === typeof options.as) {\n var as = options.as,\n crossOrigin = getCrossOriginStringAs(as, options.crossOrigin),\n integrity =\n \"string\" === typeof options.integrity ? options.integrity : void 0,\n fetchPriority =\n \"string\" === typeof options.fetchPriority\n ? options.fetchPriority\n : void 0;\n \"style\" === as\n ? Internals.d.S(\n href,\n \"string\" === typeof options.precedence ? options.precedence : void 0,\n {\n crossOrigin: crossOrigin,\n integrity: integrity,\n fetchPriority: fetchPriority\n }\n )\n : \"script\" === as &&\n Internals.d.X(href, {\n crossOrigin: crossOrigin,\n integrity: integrity,\n fetchPriority: fetchPriority,\n nonce: \"string\" === typeof options.nonce ? options.nonce : void 0\n });\n }\n};\nexports.preinitModule = function (href, options) {\n if (\"string\" === typeof href)\n if (\"object\" === typeof options && null !== options) {\n if (null == options.as || \"script\" === options.as) {\n var crossOrigin = getCrossOriginStringAs(\n options.as,\n options.crossOrigin\n );\n Internals.d.M(href, {\n crossOrigin: crossOrigin,\n integrity:\n \"string\" === typeof options.integrity ? options.integrity : void 0,\n nonce: \"string\" === typeof options.nonce ? options.nonce : void 0\n });\n }\n } else null == options && Internals.d.M(href);\n};\nexports.preload = function (href, options) {\n if (\n \"string\" === typeof href &&\n \"object\" === typeof options &&\n null !== options &&\n \"string\" === typeof options.as\n ) {\n var as = options.as,\n crossOrigin = getCrossOriginStringAs(as, options.crossOrigin);\n Internals.d.L(href, as, {\n crossOrigin: crossOrigin,\n integrity:\n \"string\" === typeof options.integrity ? options.integrity : void 0,\n nonce: \"string\" === typeof options.nonce ? options.nonce : void 0,\n type: \"string\" === typeof options.type ? options.type : void 0,\n fetchPriority:\n \"string\" === typeof options.fetchPriority\n ? options.fetchPriority\n : void 0,\n referrerPolicy:\n \"string\" === typeof options.referrerPolicy\n ? options.referrerPolicy\n : void 0,\n imageSrcSet:\n \"string\" === typeof options.imageSrcSet ? options.imageSrcSet : void 0,\n imageSizes:\n \"string\" === typeof options.imageSizes ? options.imageSizes : void 0,\n media: \"string\" === typeof options.media ? options.media : void 0\n });\n }\n};\nexports.preloadModule = function (href, options) {\n if (\"string\" === typeof href)\n if (options) {\n var crossOrigin = getCrossOriginStringAs(options.as, options.crossOrigin);\n Internals.d.m(href, {\n as:\n \"string\" === typeof options.as && \"script\" !== options.as\n ? options.as\n : void 0,\n crossOrigin: crossOrigin,\n integrity:\n \"string\" === typeof options.integrity ? options.integrity : void 0\n });\n } else Internals.d.m(href);\n};\nexports.requestFormReset = function (form) {\n Internals.d.r(form);\n};\nexports.unstable_batchedUpdates = function (fn, a) {\n return fn(a);\n};\nexports.useFormState = function (action, initialState, permalink) {\n return ReactSharedInternals.H.useFormState(action, initialState, permalink);\n};\nexports.useFormStatus = function () {\n return ReactSharedInternals.H.useHostTransitionStatus();\n};\nexports.version = \"19.1.0\";\n","/**\n * @license React\n * react-dom.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function noop() {}\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function createPortal$1(children, containerInfo, implementation) {\n var key =\n 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;\n try {\n testStringCoercion(key);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n JSCompiler_inline_result &&\n (console.error(\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n key[Symbol.toStringTag]) ||\n key.constructor.name ||\n \"Object\"\n ),\n testStringCoercion(key));\n return {\n $$typeof: REACT_PORTAL_TYPE,\n key: null == key ? null : \"\" + key,\n children: children,\n containerInfo: containerInfo,\n implementation: implementation\n };\n }\n function getCrossOriginStringAs(as, input) {\n if (\"font\" === as) return \"\";\n if (\"string\" === typeof input)\n return \"use-credentials\" === input ? input : \"\";\n }\n function getValueDescriptorExpectingObjectForWarning(thing) {\n return null === thing\n ? \"`null`\"\n : void 0 === thing\n ? \"`undefined`\"\n : \"\" === thing\n ? \"an empty string\"\n : 'something with type \"' + typeof thing + '\"';\n }\n function getValueDescriptorExpectingEnumForWarning(thing) {\n return null === thing\n ? \"`null`\"\n : void 0 === thing\n ? \"`undefined`\"\n : \"\" === thing\n ? \"an empty string\"\n : \"string\" === typeof thing\n ? JSON.stringify(thing)\n : \"number\" === typeof thing\n ? \"`\" + thing + \"`\"\n : 'something with type \"' + typeof thing + '\"';\n }\n function resolveDispatcher() {\n var dispatcher = ReactSharedInternals.H;\n null === dispatcher &&\n console.error(\n \"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:\\n1. You might have mismatching versions of React and the renderer (such as React DOM)\\n2. You might be breaking the Rules of Hooks\\n3. You might have more than one copy of React in the same app\\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.\"\n );\n return dispatcher;\n }\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());\n var React = require(\"react\"),\n Internals = {\n d: {\n f: noop,\n r: function () {\n throw Error(\n \"Invalid form element. requestFormReset must be passed a form that was rendered by React.\"\n );\n },\n D: noop,\n C: noop,\n L: noop,\n m: noop,\n X: noop,\n S: noop,\n M: noop\n },\n p: 0,\n findDOMNode: null\n },\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;\n (\"function\" === typeof Map &&\n null != Map.prototype &&\n \"function\" === typeof Map.prototype.forEach &&\n \"function\" === typeof Set &&\n null != Set.prototype &&\n \"function\" === typeof Set.prototype.clear &&\n \"function\" === typeof Set.prototype.forEach) ||\n console.error(\n \"React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills\"\n );\n exports.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =\n Internals;\n exports.createPortal = function (children, container) {\n var key =\n 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null;\n if (\n !container ||\n (1 !== container.nodeType &&\n 9 !== container.nodeType &&\n 11 !== container.nodeType)\n )\n throw Error(\"Target container is not a DOM element.\");\n return createPortal$1(children, container, null, key);\n };\n exports.flushSync = function (fn) {\n var previousTransition = ReactSharedInternals.T,\n previousUpdatePriority = Internals.p;\n try {\n if (((ReactSharedInternals.T = null), (Internals.p = 2), fn))\n return fn();\n } finally {\n (ReactSharedInternals.T = previousTransition),\n (Internals.p = previousUpdatePriority),\n Internals.d.f() &&\n console.error(\n \"flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.\"\n );\n }\n };\n exports.preconnect = function (href, options) {\n \"string\" === typeof href && href\n ? null != options && \"object\" !== typeof options\n ? console.error(\n \"ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.\",\n getValueDescriptorExpectingEnumForWarning(options)\n )\n : null != options &&\n \"string\" !== typeof options.crossOrigin &&\n console.error(\n \"ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.\",\n getValueDescriptorExpectingObjectForWarning(options.crossOrigin)\n )\n : console.error(\n \"ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.\",\n getValueDescriptorExpectingObjectForWarning(href)\n );\n \"string\" === typeof href &&\n (options\n ? ((options = options.crossOrigin),\n (options =\n \"string\" === typeof options\n ? \"use-credentials\" === options\n ? options\n : \"\"\n : void 0))\n : (options = null),\n Internals.d.C(href, options));\n };\n exports.prefetchDNS = function (href) {\n if (\"string\" !== typeof href || !href)\n console.error(\n \"ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.\",\n getValueDescriptorExpectingObjectForWarning(href)\n );\n else if (1 < arguments.length) {\n var options = arguments[1];\n \"object\" === typeof options && options.hasOwnProperty(\"crossOrigin\")\n ? console.error(\n \"ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.\",\n getValueDescriptorExpectingEnumForWarning(options)\n )\n : console.error(\n \"ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.\",\n getValueDescriptorExpectingEnumForWarning(options)\n );\n }\n \"string\" === typeof href && Internals.d.D(href);\n };\n exports.preinit = function (href, options) {\n \"string\" === typeof href && href\n ? null == options || \"object\" !== typeof options\n ? console.error(\n \"ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.\",\n getValueDescriptorExpectingEnumForWarning(options)\n )\n : \"style\" !== options.as &&\n \"script\" !== options.as &&\n console.error(\n 'ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are \"style\" and \"script\".',\n getValueDescriptorExpectingEnumForWarning(options.as)\n )\n : console.error(\n \"ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.\",\n getValueDescriptorExpectingObjectForWarning(href)\n );\n if (\n \"string\" === typeof href &&\n options &&\n \"string\" === typeof options.as\n ) {\n var as = options.as,\n crossOrigin = getCrossOriginStringAs(as, options.crossOrigin),\n integrity =\n \"string\" === typeof options.integrity ? options.integrity : void 0,\n fetchPriority =\n \"string\" === typeof options.fetchPriority\n ? options.fetchPriority\n : void 0;\n \"style\" === as\n ? Internals.d.S(\n href,\n \"string\" === typeof options.precedence\n ? options.precedence\n : void 0,\n {\n crossOrigin: crossOrigin,\n integrity: integrity,\n fetchPriority: fetchPriority\n }\n )\n : \"script\" === as &&\n Internals.d.X(href, {\n crossOrigin: crossOrigin,\n integrity: integrity,\n fetchPriority: fetchPriority,\n nonce: \"string\" === typeof options.nonce ? options.nonce : void 0\n });\n }\n };\n exports.preinitModule = function (href, options) {\n var encountered = \"\";\n (\"string\" === typeof href && href) ||\n (encountered +=\n \" The `href` argument encountered was \" +\n getValueDescriptorExpectingObjectForWarning(href) +\n \".\");\n void 0 !== options && \"object\" !== typeof options\n ? (encountered +=\n \" The `options` argument encountered was \" +\n getValueDescriptorExpectingObjectForWarning(options) +\n \".\")\n : options &&\n \"as\" in options &&\n \"script\" !== options.as &&\n (encountered +=\n \" The `as` option encountered was \" +\n getValueDescriptorExpectingEnumForWarning(options.as) +\n \".\");\n if (encountered)\n console.error(\n \"ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s\",\n encountered\n );\n else\n switch (\n ((encountered =\n options && \"string\" === typeof options.as ? options.as : \"script\"),\n encountered)\n ) {\n case \"script\":\n break;\n default:\n (encountered =\n getValueDescriptorExpectingEnumForWarning(encountered)),\n console.error(\n 'ReactDOM.preinitModule(): Currently the only supported \"as\" type for this function is \"script\" but received \"%s\" instead. This warning was generated for `href` \"%s\". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',\n encountered,\n href\n );\n }\n if (\"string\" === typeof href)\n if (\"object\" === typeof options && null !== options) {\n if (null == options.as || \"script\" === options.as)\n (encountered = getCrossOriginStringAs(\n options.as,\n options.crossOrigin\n )),\n Internals.d.M(href, {\n crossOrigin: encountered,\n integrity:\n \"string\" === typeof options.integrity\n ? options.integrity\n : void 0,\n nonce:\n \"string\" === typeof options.nonce ? options.nonce : void 0\n });\n } else null == options && Internals.d.M(href);\n };\n exports.preload = function (href, options) {\n var encountered = \"\";\n (\"string\" === typeof href && href) ||\n (encountered +=\n \" The `href` argument encountered was \" +\n getValueDescriptorExpectingObjectForWarning(href) +\n \".\");\n null == options || \"object\" !== typeof options\n ? (encountered +=\n \" The `options` argument encountered was \" +\n getValueDescriptorExpectingObjectForWarning(options) +\n \".\")\n : (\"string\" === typeof options.as && options.as) ||\n (encountered +=\n \" The `as` option encountered was \" +\n getValueDescriptorExpectingObjectForWarning(options.as) +\n \".\");\n encountered &&\n console.error(\n 'ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel=\"preload\" as=\"...\" />` tag.%s',\n encountered\n );\n if (\n \"string\" === typeof href &&\n \"object\" === typeof options &&\n null !== options &&\n \"string\" === typeof options.as\n ) {\n encountered = options.as;\n var crossOrigin = getCrossOriginStringAs(\n encountered,\n options.crossOrigin\n );\n Internals.d.L(href, encountered, {\n crossOrigin: crossOrigin,\n integrity:\n \"string\" === typeof options.integrity ? options.integrity : void 0,\n nonce: \"string\" === typeof options.nonce ? options.nonce : void 0,\n type: \"string\" === typeof options.type ? options.type : void 0,\n fetchPriority:\n \"string\" === typeof options.fetchPriority\n ? options.fetchPriority\n : void 0,\n referrerPolicy:\n \"string\" === typeof options.referrerPolicy\n ? options.referrerPolicy\n : void 0,\n imageSrcSet:\n \"string\" === typeof options.imageSrcSet\n ? options.imageSrcSet\n : void 0,\n imageSizes:\n \"string\" === typeof options.imageSizes\n ? options.imageSizes\n : void 0,\n media: \"string\" === typeof options.media ? options.media : void 0\n });\n }\n };\n exports.preloadModule = function (href, options) {\n var encountered = \"\";\n (\"string\" === typeof href && href) ||\n (encountered +=\n \" The `href` argument encountered was \" +\n getValueDescriptorExpectingObjectForWarning(href) +\n \".\");\n void 0 !== options && \"object\" !== typeof options\n ? (encountered +=\n \" The `options` argument encountered was \" +\n getValueDescriptorExpectingObjectForWarning(options) +\n \".\")\n : options &&\n \"as\" in options &&\n \"string\" !== typeof options.as &&\n (encountered +=\n \" The `as` option encountered was \" +\n getValueDescriptorExpectingObjectForWarning(options.as) +\n \".\");\n encountered &&\n console.error(\n 'ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel=\"modulepreload\" as=\"...\" />` tag.%s',\n encountered\n );\n \"string\" === typeof href &&\n (options\n ? ((encountered = getCrossOriginStringAs(\n options.as,\n options.crossOrigin\n )),\n Internals.d.m(href, {\n as:\n \"string\" === typeof options.as && \"script\" !== options.as\n ? options.as\n : void 0,\n crossOrigin: encountered,\n integrity:\n \"string\" === typeof options.integrity\n ? options.integrity\n : void 0\n }))\n : Internals.d.m(href));\n };\n exports.requestFormReset = function (form) {\n Internals.d.r(form);\n };\n exports.unstable_batchedUpdates = function (fn, a) {\n return fn(a);\n };\n exports.useFormState = function (action, initialState, permalink) {\n return resolveDispatcher().useFormState(action, initialState, permalink);\n };\n exports.useFormStatus = function () {\n return resolveDispatcher().useHostTransitionStatus();\n };\n exports.version = \"19.1.0\";\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());\n })();\n","'use strict';\n\nfunction checkDCE() {\n /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */\n if (\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' ||\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function'\n ) {\n return;\n }\n if (process.env.NODE_ENV !== 'production') {\n // This branch is unreachable because this function is only called\n // in production, but the condition is true only in development.\n // Therefore if the branch is still here, dead code elimination wasn't\n // properly applied.\n // Don't change the message. React DevTools relies on it. Also make sure\n // this message doesn't occur elsewhere in this function, or it will cause\n // a false positive.\n throw new Error('^_^');\n }\n try {\n // Verify that the code above has been dead code eliminated (DCE'd).\n __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);\n } catch (err) {\n // DevTools shouldn't crash React, no matter what.\n // We should still report in case we break this code.\n console.error(err);\n }\n}\n\nif (process.env.NODE_ENV === 'production') {\n // DCE check should happen before ReactDOM bundle executes so that\n // DevTools can report bad minification during injection.\n checkDCE();\n module.exports = require('./cjs/react-dom.production.js');\n} else {\n module.exports = require('./cjs/react-dom.development.js');\n}\n","export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}","export default function _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}","import * as React from 'react';\n\n/**\n * Takes an argument and if it's an array, returns the first item in the array,\n * otherwise returns the argument. Used for Preact compatibility.\n */\nexport var unwrapArray = function unwrapArray(arg) {\n return Array.isArray(arg) ? arg[0] : arg;\n};\n/**\n * Takes a maybe-undefined function and arbitrary args and invokes the function\n * only if it is defined.\n */\n\nexport var safeInvoke = function safeInvoke(fn) {\n if (typeof fn === 'function') {\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n return fn.apply(void 0, args);\n }\n};\n/**\n * Sets a ref using either a ref callback or a ref object\n */\n\nexport var setRef = function setRef(ref, node) {\n // if its a function call it\n if (typeof ref === 'function') {\n return safeInvoke(ref, node);\n } // otherwise we should treat it as a ref object\n else if (ref != null) {\n ref.current = node;\n }\n};\n/**\n * Simple ponyfill for Object.fromEntries\n */\n\nexport var fromEntries = function fromEntries(entries) {\n return entries.reduce(function (acc, _ref) {\n var key = _ref[0],\n value = _ref[1];\n acc[key] = value;\n return acc;\n }, {});\n};\n/**\n * Small wrapper around `useLayoutEffect` to get rid of the warning on SSR envs\n */\n\nexport var useIsomorphicLayoutEffect = typeof window !== 'undefined' && window.document && window.document.createElement ? React.useLayoutEffect : React.useEffect;","export var top = 'top';\nexport var bottom = 'bottom';\nexport var right = 'right';\nexport var left = 'left';\nexport var auto = 'auto';\nexport var basePlacements = [top, bottom, right, left];\nexport var start = 'start';\nexport var end = 'end';\nexport var clippingParents = 'clippingParents';\nexport var viewport = 'viewport';\nexport var popper = 'popper';\nexport var reference = 'reference';\nexport var variationPlacements = /*#__PURE__*/basePlacements.reduce(function (acc, placement) {\n return acc.concat([placement + \"-\" + start, placement + \"-\" + end]);\n}, []);\nexport var placements = /*#__PURE__*/[].concat(basePlacements, [auto]).reduce(function (acc, placement) {\n return acc.concat([placement, placement + \"-\" + start, placement + \"-\" + end]);\n}, []); // modifiers that need to read the DOM\n\nexport var beforeRead = 'beforeRead';\nexport var read = 'read';\nexport var afterRead = 'afterRead'; // pure-logic modifiers\n\nexport var beforeMain = 'beforeMain';\nexport var main = 'main';\nexport var afterMain = 'afterMain'; // modifier with the purpose to write to the DOM (or write into a framework state)\n\nexport var beforeWrite = 'beforeWrite';\nexport var write = 'write';\nexport var afterWrite = 'afterWrite';\nexport var modifierPhases = [beforeRead, read, afterRead, beforeMain, main, afterMain, beforeWrite, write, afterWrite];","export default function getNodeName(element) {\n return element ? (element.nodeName || '').toLowerCase() : null;\n}","export default function getWindow(node) {\n if (node == null) {\n return window;\n }\n\n if (node.toString() !== '[object Window]') {\n var ownerDocument = node.ownerDocument;\n return ownerDocument ? ownerDocument.defaultView || window : window;\n }\n\n return node;\n}","import getWindow from \"./getWindow.js\";\n\nfunction isElement(node) {\n var OwnElement = getWindow(node).Element;\n return node instanceof OwnElement || node instanceof Element;\n}\n\nfunction isHTMLElement(node) {\n var OwnElement = getWindow(node).HTMLElement;\n return node instanceof OwnElement || node instanceof HTMLElement;\n}\n\nfunction isShadowRoot(node) {\n // IE 11 has no ShadowRoot\n if (typeof ShadowRoot === 'undefined') {\n return false;\n }\n\n var OwnElement = getWindow(node).ShadowRoot;\n return node instanceof OwnElement || node instanceof ShadowRoot;\n}\n\nexport { isElement, isHTMLElement, isShadowRoot };","import getNodeName from \"../dom-utils/getNodeName.js\";\nimport { isHTMLElement } from \"../dom-utils/instanceOf.js\"; // This modifier takes the styles prepared by the `computeStyles` modifier\n// and applies them to the HTMLElements such as popper and arrow\n\nfunction applyStyles(_ref) {\n var state = _ref.state;\n Object.keys(state.elements).forEach(function (name) {\n var style = state.styles[name] || {};\n var attributes = state.attributes[name] || {};\n var element = state.elements[name]; // arrow is optional + virtual elements\n\n if (!isHTMLElement(element) || !getNodeName(element)) {\n return;\n } // Flow doesn't support to extend this property, but it's the most\n // effective way to apply styles to an HTMLElement\n // $FlowFixMe[cannot-write]\n\n\n Object.assign(element.style, style);\n Object.keys(attributes).forEach(function (name) {\n var value = attributes[name];\n\n if (value === false) {\n element.removeAttribute(name);\n } else {\n element.setAttribute(name, value === true ? '' : value);\n }\n });\n });\n}\n\nfunction effect(_ref2) {\n var state = _ref2.state;\n var initialStyles = {\n popper: {\n position: state.options.strategy,\n left: '0',\n top: '0',\n margin: '0'\n },\n arrow: {\n position: 'absolute'\n },\n reference: {}\n };\n Object.assign(state.elements.popper.style, initialStyles.popper);\n state.styles = initialStyles;\n\n if (state.elements.arrow) {\n Object.assign(state.elements.arrow.style, initialStyles.arrow);\n }\n\n return function () {\n Object.keys(state.elements).forEach(function (name) {\n var element = state.elements[name];\n var attributes = state.attributes[name] || {};\n var styleProperties = Object.keys(state.styles.hasOwnProperty(name) ? state.styles[name] : initialStyles[name]); // Set all values to an empty string to unset them\n\n var style = styleProperties.reduce(function (style, property) {\n style[property] = '';\n return style;\n }, {}); // arrow is optional + virtual elements\n\n if (!isHTMLElement(element) || !getNodeName(element)) {\n return;\n }\n\n Object.assign(element.style, style);\n Object.keys(attributes).forEach(function (attribute) {\n element.removeAttribute(attribute);\n });\n });\n };\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'applyStyles',\n enabled: true,\n phase: 'write',\n fn: applyStyles,\n effect: effect,\n requires: ['computeStyles']\n};","import { auto } from \"../enums.js\";\nexport default function getBasePlacement(placement) {\n return placement.split('-')[0];\n}","export var max = Math.max;\nexport var min = Math.min;\nexport var round = Math.round;","export default function getUAString() {\n var uaData = navigator.userAgentData;\n\n if (uaData != null && uaData.brands && Array.isArray(uaData.brands)) {\n return uaData.brands.map(function (item) {\n return item.brand + \"/\" + item.version;\n }).join(' ');\n }\n\n return navigator.userAgent;\n}","import getUAString from \"../utils/userAgent.js\";\nexport default function isLayoutViewport() {\n return !/^((?!chrome|android).)*safari/i.test(getUAString());\n}","import { isElement, isHTMLElement } from \"./instanceOf.js\";\nimport { round } from \"../utils/math.js\";\nimport getWindow from \"./getWindow.js\";\nimport isLayoutViewport from \"./isLayoutViewport.js\";\nexport default function getBoundingClientRect(element, includeScale, isFixedStrategy) {\n if (includeScale === void 0) {\n includeScale = false;\n }\n\n if (isFixedStrategy === void 0) {\n isFixedStrategy = false;\n }\n\n var clientRect = element.getBoundingClientRect();\n var scaleX = 1;\n var scaleY = 1;\n\n if (includeScale && isHTMLElement(element)) {\n scaleX = element.offsetWidth > 0 ? round(clientRect.width) / element.offsetWidth || 1 : 1;\n scaleY = element.offsetHeight > 0 ? round(clientRect.height) / element.offsetHeight || 1 : 1;\n }\n\n var _ref = isElement(element) ? getWindow(element) : window,\n visualViewport = _ref.visualViewport;\n\n var addVisualOffsets = !isLayoutViewport() && isFixedStrategy;\n var x = (clientRect.left + (addVisualOffsets && visualViewport ? visualViewport.offsetLeft : 0)) / scaleX;\n var y = (clientRect.top + (addVisualOffsets && visualViewport ? visualViewport.offsetTop : 0)) / scaleY;\n var width = clientRect.width / scaleX;\n var height = clientRect.height / scaleY;\n return {\n width: width,\n height: height,\n top: y,\n right: x + width,\n bottom: y + height,\n left: x,\n x: x,\n y: y\n };\n}","import getBoundingClientRect from \"./getBoundingClientRect.js\"; // Returns the layout rect of an element relative to its offsetParent. Layout\n// means it doesn't take into account transforms.\n\nexport default function getLayoutRect(element) {\n var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed.\n // Fixes https://github.com/popperjs/popper-core/issues/1223\n\n var width = element.offsetWidth;\n var height = element.offsetHeight;\n\n if (Math.abs(clientRect.width - width) <= 1) {\n width = clientRect.width;\n }\n\n if (Math.abs(clientRect.height - height) <= 1) {\n height = clientRect.height;\n }\n\n return {\n x: element.offsetLeft,\n y: element.offsetTop,\n width: width,\n height: height\n };\n}","import { isShadowRoot } from \"./instanceOf.js\";\nexport default function contains(parent, child) {\n var rootNode = child.getRootNode && child.getRootNode(); // First, attempt with faster native method\n\n if (parent.contains(child)) {\n return true;\n } // then fallback to custom implementation with Shadow DOM support\n else if (rootNode && isShadowRoot(rootNode)) {\n var next = child;\n\n do {\n if (next && parent.isSameNode(next)) {\n return true;\n } // $FlowFixMe[prop-missing]: need a better way to handle this...\n\n\n next = next.parentNode || next.host;\n } while (next);\n } // Give up, the result is false\n\n\n return false;\n}","import getWindow from \"./getWindow.js\";\nexport default function getComputedStyle(element) {\n return getWindow(element).getComputedStyle(element);\n}","import getNodeName from \"./getNodeName.js\";\nexport default function isTableElement(element) {\n return ['table', 'td', 'th'].indexOf(getNodeName(element)) >= 0;\n}","import { isElement } from \"./instanceOf.js\";\nexport default function getDocumentElement(element) {\n // $FlowFixMe[incompatible-return]: assume body is always available\n return ((isElement(element) ? element.ownerDocument : // $FlowFixMe[prop-missing]\n element.document) || window.document).documentElement;\n}","import getNodeName from \"./getNodeName.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport { isShadowRoot } from \"./instanceOf.js\";\nexport default function getParentNode(element) {\n if (getNodeName(element) === 'html') {\n return element;\n }\n\n return (// this is a quicker (but less type safe) way to save quite some bytes from the bundle\n // $FlowFixMe[incompatible-return]\n // $FlowFixMe[prop-missing]\n element.assignedSlot || // step into the shadow DOM of the parent of a slotted node\n element.parentNode || ( // DOM Element detected\n isShadowRoot(element) ? element.host : null) || // ShadowRoot detected\n // $FlowFixMe[incompatible-call]: HTMLElement is a Node\n getDocumentElement(element) // fallback\n\n );\n}","import getWindow from \"./getWindow.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport getComputedStyle from \"./getComputedStyle.js\";\nimport { isHTMLElement, isShadowRoot } from \"./instanceOf.js\";\nimport isTableElement from \"./isTableElement.js\";\nimport getParentNode from \"./getParentNode.js\";\nimport getUAString from \"../utils/userAgent.js\";\n\nfunction getTrueOffsetParent(element) {\n if (!isHTMLElement(element) || // https://github.com/popperjs/popper-core/issues/837\n getComputedStyle(element).position === 'fixed') {\n return null;\n }\n\n return element.offsetParent;\n} // `.offsetParent` reports `null` for fixed elements, while absolute elements\n// return the containing block\n\n\nfunction getContainingBlock(element) {\n var isFirefox = /firefox/i.test(getUAString());\n var isIE = /Trident/i.test(getUAString());\n\n if (isIE && isHTMLElement(element)) {\n // In IE 9, 10 and 11 fixed elements containing block is always established by the viewport\n var elementCss = getComputedStyle(element);\n\n if (elementCss.position === 'fixed') {\n return null;\n }\n }\n\n var currentNode = getParentNode(element);\n\n if (isShadowRoot(currentNode)) {\n currentNode = currentNode.host;\n }\n\n while (isHTMLElement(currentNode) && ['html', 'body'].indexOf(getNodeName(currentNode)) < 0) {\n var css = getComputedStyle(currentNode); // This is non-exhaustive but covers the most common CSS properties that\n // create a containing block.\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n\n if (css.transform !== 'none' || css.perspective !== 'none' || css.contain === 'paint' || ['transform', 'perspective'].indexOf(css.willChange) !== -1 || isFirefox && css.willChange === 'filter' || isFirefox && css.filter && css.filter !== 'none') {\n return currentNode;\n } else {\n currentNode = currentNode.parentNode;\n }\n }\n\n return null;\n} // Gets the closest ancestor positioned element. Handles some edge cases,\n// such as table ancestors and cross browser bugs.\n\n\nexport default function getOffsetParent(element) {\n var window = getWindow(element);\n var offsetParent = getTrueOffsetParent(element);\n\n while (offsetParent && isTableElement(offsetParent) && getComputedStyle(offsetParent).position === 'static') {\n offsetParent = getTrueOffsetParent(offsetParent);\n }\n\n if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle(offsetParent).position === 'static')) {\n return window;\n }\n\n return offsetParent || getContainingBlock(element) || window;\n}","export default function getMainAxisFromPlacement(placement) {\n return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y';\n}","import { max as mathMax, min as mathMin } from \"./math.js\";\nexport function within(min, value, max) {\n return mathMax(min, mathMin(value, max));\n}\nexport function withinMaxClamp(min, value, max) {\n var v = within(min, value, max);\n return v > max ? max : v;\n}","export default function getFreshSideObject() {\n return {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0\n };\n}","import getFreshSideObject from \"./getFreshSideObject.js\";\nexport default function mergePaddingObject(paddingObject) {\n return Object.assign({}, getFreshSideObject(), paddingObject);\n}","export default function expandToHashMap(value, keys) {\n return keys.reduce(function (hashMap, key) {\n hashMap[key] = value;\n return hashMap;\n }, {});\n}","import getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getLayoutRect from \"../dom-utils/getLayoutRect.js\";\nimport contains from \"../dom-utils/contains.js\";\nimport getOffsetParent from \"../dom-utils/getOffsetParent.js\";\nimport getMainAxisFromPlacement from \"../utils/getMainAxisFromPlacement.js\";\nimport { within } from \"../utils/within.js\";\nimport mergePaddingObject from \"../utils/mergePaddingObject.js\";\nimport expandToHashMap from \"../utils/expandToHashMap.js\";\nimport { left, right, basePlacements, top, bottom } from \"../enums.js\"; // eslint-disable-next-line import/no-unused-modules\n\nvar toPaddingObject = function toPaddingObject(padding, state) {\n padding = typeof padding === 'function' ? padding(Object.assign({}, state.rects, {\n placement: state.placement\n })) : padding;\n return mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));\n};\n\nfunction arrow(_ref) {\n var _state$modifiersData$;\n\n var state = _ref.state,\n name = _ref.name,\n options = _ref.options;\n var arrowElement = state.elements.arrow;\n var popperOffsets = state.modifiersData.popperOffsets;\n var basePlacement = getBasePlacement(state.placement);\n var axis = getMainAxisFromPlacement(basePlacement);\n var isVertical = [left, right].indexOf(basePlacement) >= 0;\n var len = isVertical ? 'height' : 'width';\n\n if (!arrowElement || !popperOffsets) {\n return;\n }\n\n var paddingObject = toPaddingObject(options.padding, state);\n var arrowRect = getLayoutRect(arrowElement);\n var minProp = axis === 'y' ? top : left;\n var maxProp = axis === 'y' ? bottom : right;\n var endDiff = state.rects.reference[len] + state.rects.reference[axis] - popperOffsets[axis] - state.rects.popper[len];\n var startDiff = popperOffsets[axis] - state.rects.reference[axis];\n var arrowOffsetParent = getOffsetParent(arrowElement);\n var clientSize = arrowOffsetParent ? axis === 'y' ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0;\n var centerToReference = endDiff / 2 - startDiff / 2; // Make sure the arrow doesn't overflow the popper if the center point is\n // outside of the popper bounds\n\n var min = paddingObject[minProp];\n var max = clientSize - arrowRect[len] - paddingObject[maxProp];\n var center = clientSize / 2 - arrowRect[len] / 2 + centerToReference;\n var offset = within(min, center, max); // Prevents breaking syntax highlighting...\n\n var axisProp = axis;\n state.modifiersData[name] = (_state$modifiersData$ = {}, _state$modifiersData$[axisProp] = offset, _state$modifiersData$.centerOffset = offset - center, _state$modifiersData$);\n}\n\nfunction effect(_ref2) {\n var state = _ref2.state,\n options = _ref2.options;\n var _options$element = options.element,\n arrowElement = _options$element === void 0 ? '[data-popper-arrow]' : _options$element;\n\n if (arrowElement == null) {\n return;\n } // CSS selector\n\n\n if (typeof arrowElement === 'string') {\n arrowElement = state.elements.popper.querySelector(arrowElement);\n\n if (!arrowElement) {\n return;\n }\n }\n\n if (!contains(state.elements.popper, arrowElement)) {\n return;\n }\n\n state.elements.arrow = arrowElement;\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'arrow',\n enabled: true,\n phase: 'main',\n fn: arrow,\n effect: effect,\n requires: ['popperOffsets'],\n requiresIfExists: ['preventOverflow']\n};","export default function getVariation(placement) {\n return placement.split('-')[1];\n}","import { top, left, right, bottom, end } from \"../enums.js\";\nimport getOffsetParent from \"../dom-utils/getOffsetParent.js\";\nimport getWindow from \"../dom-utils/getWindow.js\";\nimport getDocumentElement from \"../dom-utils/getDocumentElement.js\";\nimport getComputedStyle from \"../dom-utils/getComputedStyle.js\";\nimport getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getVariation from \"../utils/getVariation.js\";\nimport { round } from \"../utils/math.js\"; // eslint-disable-next-line import/no-unused-modules\n\nvar unsetSides = {\n top: 'auto',\n right: 'auto',\n bottom: 'auto',\n left: 'auto'\n}; // Round the offsets to the nearest suitable subpixel based on the DPR.\n// Zooming can change the DPR, but it seems to report a value that will\n// cleanly divide the values into the appropriate subpixels.\n\nfunction roundOffsetsByDPR(_ref, win) {\n var x = _ref.x,\n y = _ref.y;\n var dpr = win.devicePixelRatio || 1;\n return {\n x: round(x * dpr) / dpr || 0,\n y: round(y * dpr) / dpr || 0\n };\n}\n\nexport function mapToStyles(_ref2) {\n var _Object$assign2;\n\n var popper = _ref2.popper,\n popperRect = _ref2.popperRect,\n placement = _ref2.placement,\n variation = _ref2.variation,\n offsets = _ref2.offsets,\n position = _ref2.position,\n gpuAcceleration = _ref2.gpuAcceleration,\n adaptive = _ref2.adaptive,\n roundOffsets = _ref2.roundOffsets,\n isFixed = _ref2.isFixed;\n var _offsets$x = offsets.x,\n x = _offsets$x === void 0 ? 0 : _offsets$x,\n _offsets$y = offsets.y,\n y = _offsets$y === void 0 ? 0 : _offsets$y;\n\n var _ref3 = typeof roundOffsets === 'function' ? roundOffsets({\n x: x,\n y: y\n }) : {\n x: x,\n y: y\n };\n\n x = _ref3.x;\n y = _ref3.y;\n var hasX = offsets.hasOwnProperty('x');\n var hasY = offsets.hasOwnProperty('y');\n var sideX = left;\n var sideY = top;\n var win = window;\n\n if (adaptive) {\n var offsetParent = getOffsetParent(popper);\n var heightProp = 'clientHeight';\n var widthProp = 'clientWidth';\n\n if (offsetParent === getWindow(popper)) {\n offsetParent = getDocumentElement(popper);\n\n if (getComputedStyle(offsetParent).position !== 'static' && position === 'absolute') {\n heightProp = 'scrollHeight';\n widthProp = 'scrollWidth';\n }\n } // $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it\n\n\n offsetParent = offsetParent;\n\n if (placement === top || (placement === left || placement === right) && variation === end) {\n sideY = bottom;\n var offsetY = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.height : // $FlowFixMe[prop-missing]\n offsetParent[heightProp];\n y -= offsetY - popperRect.height;\n y *= gpuAcceleration ? 1 : -1;\n }\n\n if (placement === left || (placement === top || placement === bottom) && variation === end) {\n sideX = right;\n var offsetX = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.width : // $FlowFixMe[prop-missing]\n offsetParent[widthProp];\n x -= offsetX - popperRect.width;\n x *= gpuAcceleration ? 1 : -1;\n }\n }\n\n var commonStyles = Object.assign({\n position: position\n }, adaptive && unsetSides);\n\n var _ref4 = roundOffsets === true ? roundOffsetsByDPR({\n x: x,\n y: y\n }, getWindow(popper)) : {\n x: x,\n y: y\n };\n\n x = _ref4.x;\n y = _ref4.y;\n\n if (gpuAcceleration) {\n var _Object$assign;\n\n return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) <= 1 ? \"translate(\" + x + \"px, \" + y + \"px)\" : \"translate3d(\" + x + \"px, \" + y + \"px, 0)\", _Object$assign));\n }\n\n return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + \"px\" : '', _Object$assign2[sideX] = hasX ? x + \"px\" : '', _Object$assign2.transform = '', _Object$assign2));\n}\n\nfunction computeStyles(_ref5) {\n var state = _ref5.state,\n options = _ref5.options;\n var _options$gpuAccelerat = options.gpuAcceleration,\n gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat,\n _options$adaptive = options.adaptive,\n adaptive = _options$adaptive === void 0 ? true : _options$adaptive,\n _options$roundOffsets = options.roundOffsets,\n roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets;\n var commonStyles = {\n placement: getBasePlacement(state.placement),\n variation: getVariation(state.placement),\n popper: state.elements.popper,\n popperRect: state.rects.popper,\n gpuAcceleration: gpuAcceleration,\n isFixed: state.options.strategy === 'fixed'\n };\n\n if (state.modifiersData.popperOffsets != null) {\n state.styles.popper = Object.assign({}, state.styles.popper, mapToStyles(Object.assign({}, commonStyles, {\n offsets: state.modifiersData.popperOffsets,\n position: state.options.strategy,\n adaptive: adaptive,\n roundOffsets: roundOffsets\n })));\n }\n\n if (state.modifiersData.arrow != null) {\n state.styles.arrow = Object.assign({}, state.styles.arrow, mapToStyles(Object.assign({}, commonStyles, {\n offsets: state.modifiersData.arrow,\n position: 'absolute',\n adaptive: false,\n roundOffsets: roundOffsets\n })));\n }\n\n state.attributes.popper = Object.assign({}, state.attributes.popper, {\n 'data-popper-placement': state.placement\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'computeStyles',\n enabled: true,\n phase: 'beforeWrite',\n fn: computeStyles,\n data: {}\n};","import getWindow from \"../dom-utils/getWindow.js\"; // eslint-disable-next-line import/no-unused-modules\n\nvar passive = {\n passive: true\n};\n\nfunction effect(_ref) {\n var state = _ref.state,\n instance = _ref.instance,\n options = _ref.options;\n var _options$scroll = options.scroll,\n scroll = _options$scroll === void 0 ? true : _options$scroll,\n _options$resize = options.resize,\n resize = _options$resize === void 0 ? true : _options$resize;\n var window = getWindow(state.elements.popper);\n var scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper);\n\n if (scroll) {\n scrollParents.forEach(function (scrollParent) {\n scrollParent.addEventListener('scroll', instance.update, passive);\n });\n }\n\n if (resize) {\n window.addEventListener('resize', instance.update, passive);\n }\n\n return function () {\n if (scroll) {\n scrollParents.forEach(function (scrollParent) {\n scrollParent.removeEventListener('scroll', instance.update, passive);\n });\n }\n\n if (resize) {\n window.removeEventListener('resize', instance.update, passive);\n }\n };\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'eventListeners',\n enabled: true,\n phase: 'write',\n fn: function fn() {},\n effect: effect,\n data: {}\n};","var hash = {\n left: 'right',\n right: 'left',\n bottom: 'top',\n top: 'bottom'\n};\nexport default function getOppositePlacement(placement) {\n return placement.replace(/left|right|bottom|top/g, function (matched) {\n return hash[matched];\n });\n}","var hash = {\n start: 'end',\n end: 'start'\n};\nexport default function getOppositeVariationPlacement(placement) {\n return placement.replace(/start|end/g, function (matched) {\n return hash[matched];\n });\n}","import getWindow from \"./getWindow.js\";\nexport default function getWindowScroll(node) {\n var win = getWindow(node);\n var scrollLeft = win.pageXOffset;\n var scrollTop = win.pageYOffset;\n return {\n scrollLeft: scrollLeft,\n scrollTop: scrollTop\n };\n}","import getBoundingClientRect from \"./getBoundingClientRect.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport getWindowScroll from \"./getWindowScroll.js\";\nexport default function getWindowScrollBarX(element) {\n // If <html> has a CSS width greater than the viewport, then this will be\n // incorrect for RTL.\n // Popper 1 is broken in this case and never had a bug report so let's assume\n // it's not an issue. I don't think anyone ever specifies width on <html>\n // anyway.\n // Browsers where the left scrollbar doesn't cause an issue report `0` for\n // this (e.g. Edge 2019, IE11, Safari)\n return getBoundingClientRect(getDocumentElement(element)).left + getWindowScroll(element).scrollLeft;\n}","import getWindow from \"./getWindow.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport getWindowScrollBarX from \"./getWindowScrollBarX.js\";\nimport isLayoutViewport from \"./isLayoutViewport.js\";\nexport default function getViewportRect(element, strategy) {\n var win = getWindow(element);\n var html = getDocumentElement(element);\n var visualViewport = win.visualViewport;\n var width = html.clientWidth;\n var height = html.clientHeight;\n var x = 0;\n var y = 0;\n\n if (visualViewport) {\n width = visualViewport.width;\n height = visualViewport.height;\n var layoutViewport = isLayoutViewport();\n\n if (layoutViewport || !layoutViewport && strategy === 'fixed') {\n x = visualViewport.offsetLeft;\n y = visualViewport.offsetTop;\n }\n }\n\n return {\n width: width,\n height: height,\n x: x + getWindowScrollBarX(element),\n y: y\n };\n}","import getDocumentElement from \"./getDocumentElement.js\";\nimport getComputedStyle from \"./getComputedStyle.js\";\nimport getWindowScrollBarX from \"./getWindowScrollBarX.js\";\nimport getWindowScroll from \"./getWindowScroll.js\";\nimport { max } from \"../utils/math.js\"; // Gets the entire size of the scrollable document area, even extending outside\n// of the `<html>` and `<body>` rect bounds if horizontally scrollable\n\nexport default function getDocumentRect(element) {\n var _element$ownerDocumen;\n\n var html = getDocumentElement(element);\n var winScroll = getWindowScroll(element);\n var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;\n var width = max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);\n var height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);\n var x = -winScroll.scrollLeft + getWindowScrollBarX(element);\n var y = -winScroll.scrollTop;\n\n if (getComputedStyle(body || html).direction === 'rtl') {\n x += max(html.clientWidth, body ? body.clientWidth : 0) - width;\n }\n\n return {\n width: width,\n height: height,\n x: x,\n y: y\n };\n}","import getComputedStyle from \"./getComputedStyle.js\";\nexport default function isScrollParent(element) {\n // Firefox wants us to check `-x` and `-y` variations as well\n var _getComputedStyle = getComputedStyle(element),\n overflow = _getComputedStyle.overflow,\n overflowX = _getComputedStyle.overflowX,\n overflowY = _getComputedStyle.overflowY;\n\n return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);\n}","import getParentNode from \"./getParentNode.js\";\nimport isScrollParent from \"./isScrollParent.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport { isHTMLElement } from \"./instanceOf.js\";\nexport default function getScrollParent(node) {\n if (['html', 'body', '#document'].indexOf(getNodeName(node)) >= 0) {\n // $FlowFixMe[incompatible-return]: assume body is always available\n return node.ownerDocument.body;\n }\n\n if (isHTMLElement(node) && isScrollParent(node)) {\n return node;\n }\n\n return getScrollParent(getParentNode(node));\n}","import getScrollParent from \"./getScrollParent.js\";\nimport getParentNode from \"./getParentNode.js\";\nimport getWindow from \"./getWindow.js\";\nimport isScrollParent from \"./isScrollParent.js\";\n/*\ngiven a DOM element, return the list of all scroll parents, up the list of ancesors\nuntil we get to the top window object. This list is what we attach scroll listeners\nto, because if any of these parent elements scroll, we'll need to re-calculate the\nreference element's position.\n*/\n\nexport default function listScrollParents(element, list) {\n var _element$ownerDocumen;\n\n if (list === void 0) {\n list = [];\n }\n\n var scrollParent = getScrollParent(element);\n var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body);\n var win = getWindow(scrollParent);\n var target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent;\n var updatedList = list.concat(target);\n return isBody ? updatedList : // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here\n updatedList.concat(listScrollParents(getParentNode(target)));\n}","export default function rectToClientRect(rect) {\n return Object.assign({}, rect, {\n left: rect.x,\n top: rect.y,\n right: rect.x + rect.width,\n bottom: rect.y + rect.height\n });\n}","import { viewport } from \"../enums.js\";\nimport getViewportRect from \"./getViewportRect.js\";\nimport getDocumentRect from \"./getDocumentRect.js\";\nimport listScrollParents from \"./listScrollParents.js\";\nimport getOffsetParent from \"./getOffsetParent.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport getComputedStyle from \"./getComputedStyle.js\";\nimport { isElement, isHTMLElement } from \"./instanceOf.js\";\nimport getBoundingClientRect from \"./getBoundingClientRect.js\";\nimport getParentNode from \"./getParentNode.js\";\nimport contains from \"./contains.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport rectToClientRect from \"../utils/rectToClientRect.js\";\nimport { max, min } from \"../utils/math.js\";\n\nfunction getInnerBoundingClientRect(element, strategy) {\n var rect = getBoundingClientRect(element, false, strategy === 'fixed');\n rect.top = rect.top + element.clientTop;\n rect.left = rect.left + element.clientLeft;\n rect.bottom = rect.top + element.clientHeight;\n rect.right = rect.left + element.clientWidth;\n rect.width = element.clientWidth;\n rect.height = element.clientHeight;\n rect.x = rect.left;\n rect.y = rect.top;\n return rect;\n}\n\nfunction getClientRectFromMixedType(element, clippingParent, strategy) {\n return clippingParent === viewport ? rectToClientRect(getViewportRect(element, strategy)) : isElement(clippingParent) ? getInnerBoundingClientRect(clippingParent, strategy) : rectToClientRect(getDocumentRect(getDocumentElement(element)));\n} // A \"clipping parent\" is an overflowable container with the characteristic of\n// clipping (or hiding) overflowing elements with a position different from\n// `initial`\n\n\nfunction getClippingParents(element) {\n var clippingParents = listScrollParents(getParentNode(element));\n var canEscapeClipping = ['absolute', 'fixed'].indexOf(getComputedStyle(element).position) >= 0;\n var clipperElement = canEscapeClipping && isHTMLElement(element) ? getOffsetParent(element) : element;\n\n if (!isElement(clipperElement)) {\n return [];\n } // $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414\n\n\n return clippingParents.filter(function (clippingParent) {\n return isElement(clippingParent) && contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body';\n });\n} // Gets the maximum area that the element is visible in due to any number of\n// clipping parents\n\n\nexport default function getClippingRect(element, boundary, rootBoundary, strategy) {\n var mainClippingParents = boundary === 'clippingParents' ? getClippingParents(element) : [].concat(boundary);\n var clippingParents = [].concat(mainClippingParents, [rootBoundary]);\n var firstClippingParent = clippingParents[0];\n var clippingRect = clippingParents.reduce(function (accRect, clippingParent) {\n var rect = getClientRectFromMixedType(element, clippingParent, strategy);\n accRect.top = max(rect.top, accRect.top);\n accRect.right = min(rect.right, accRect.right);\n accRect.bottom = min(rect.bottom, accRect.bottom);\n accRect.left = max(rect.left, accRect.left);\n return accRect;\n }, getClientRectFromMixedType(element, firstClippingParent, strategy));\n clippingRect.width = clippingRect.right - clippingRect.left;\n clippingRect.height = clippingRect.bottom - clippingRect.top;\n clippingRect.x = clippingRect.left;\n clippingRect.y = clippingRect.top;\n return clippingRect;\n}","import getBasePlacement from \"./getBasePlacement.js\";\nimport getVariation from \"./getVariation.js\";\nimport getMainAxisFromPlacement from \"./getMainAxisFromPlacement.js\";\nimport { top, right, bottom, left, start, end } from \"../enums.js\";\nexport default function computeOffsets(_ref) {\n var reference = _ref.reference,\n element = _ref.element,\n placement = _ref.placement;\n var basePlacement = placement ? getBasePlacement(placement) : null;\n var variation = placement ? getVariation(placement) : null;\n var commonX = reference.x + reference.width / 2 - element.width / 2;\n var commonY = reference.y + reference.height / 2 - element.height / 2;\n var offsets;\n\n switch (basePlacement) {\n case top:\n offsets = {\n x: commonX,\n y: reference.y - element.height\n };\n break;\n\n case bottom:\n offsets = {\n x: commonX,\n y: reference.y + reference.height\n };\n break;\n\n case right:\n offsets = {\n x: reference.x + reference.width,\n y: commonY\n };\n break;\n\n case left:\n offsets = {\n x: reference.x - element.width,\n y: commonY\n };\n break;\n\n default:\n offsets = {\n x: reference.x,\n y: reference.y\n };\n }\n\n var mainAxis = basePlacement ? getMainAxisFromPlacement(basePlacement) : null;\n\n if (mainAxis != null) {\n var len = mainAxis === 'y' ? 'height' : 'width';\n\n switch (variation) {\n case start:\n offsets[mainAxis] = offsets[mainAxis] - (reference[len] / 2 - element[len] / 2);\n break;\n\n case end:\n offsets[mainAxis] = offsets[mainAxis] + (reference[len] / 2 - element[len] / 2);\n break;\n\n default:\n }\n }\n\n return offsets;\n}","import getClippingRect from \"../dom-utils/getClippingRect.js\";\nimport getDocumentElement from \"../dom-utils/getDocumentElement.js\";\nimport getBoundingClientRect from \"../dom-utils/getBoundingClientRect.js\";\nimport computeOffsets from \"./computeOffsets.js\";\nimport rectToClientRect from \"./rectToClientRect.js\";\nimport { clippingParents, reference, popper, bottom, top, right, basePlacements, viewport } from \"../enums.js\";\nimport { isElement } from \"../dom-utils/instanceOf.js\";\nimport mergePaddingObject from \"./mergePaddingObject.js\";\nimport expandToHashMap from \"./expandToHashMap.js\"; // eslint-disable-next-line import/no-unused-modules\n\nexport default function detectOverflow(state, options) {\n if (options === void 0) {\n options = {};\n }\n\n var _options = options,\n _options$placement = _options.placement,\n placement = _options$placement === void 0 ? state.placement : _options$placement,\n _options$strategy = _options.strategy,\n strategy = _options$strategy === void 0 ? state.strategy : _options$strategy,\n _options$boundary = _options.boundary,\n boundary = _options$boundary === void 0 ? clippingParents : _options$boundary,\n _options$rootBoundary = _options.rootBoundary,\n rootBoundary = _options$rootBoundary === void 0 ? viewport : _options$rootBoundary,\n _options$elementConte = _options.elementContext,\n elementContext = _options$elementConte === void 0 ? popper : _options$elementConte,\n _options$altBoundary = _options.altBoundary,\n altBoundary = _options$altBoundary === void 0 ? false : _options$altBoundary,\n _options$padding = _options.padding,\n padding = _options$padding === void 0 ? 0 : _options$padding;\n var paddingObject = mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));\n var altContext = elementContext === popper ? reference : popper;\n var popperRect = state.rects.popper;\n var element = state.elements[altBoundary ? altContext : elementContext];\n var clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary, strategy);\n var referenceClientRect = getBoundingClientRect(state.elements.reference);\n var popperOffsets = computeOffsets({\n reference: referenceClientRect,\n element: popperRect,\n strategy: 'absolute',\n placement: placement\n });\n var popperClientRect = rectToClientRect(Object.assign({}, popperRect, popperOffsets));\n var elementClientRect = elementContext === popper ? popperClientRect : referenceClientRect; // positive = overflowing the clipping rect\n // 0 or negative = within the clipping rect\n\n var overflowOffsets = {\n top: clippingClientRect.top - elementClientRect.top + paddingObject.top,\n bottom: elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom,\n left: clippingClientRect.left - elementClientRect.left + paddingObject.left,\n right: elementClientRect.right - clippingClientRect.right + paddingObject.right\n };\n var offsetData = state.modifiersData.offset; // Offsets can be applied only to the popper element\n\n if (elementContext === popper && offsetData) {\n var offset = offsetData[placement];\n Object.keys(overflowOffsets).forEach(function (key) {\n var multiply = [right, bottom].indexOf(key) >= 0 ? 1 : -1;\n var axis = [top, bottom].indexOf(key) >= 0 ? 'y' : 'x';\n overflowOffsets[key] += offset[axis] * multiply;\n });\n }\n\n return overflowOffsets;\n}","import getVariation from \"./getVariation.js\";\nimport { variationPlacements, basePlacements, placements as allPlacements } from \"../enums.js\";\nimport detectOverflow from \"./detectOverflow.js\";\nimport getBasePlacement from \"./getBasePlacement.js\";\nexport default function computeAutoPlacement(state, options) {\n if (options === void 0) {\n options = {};\n }\n\n var _options = options,\n placement = _options.placement,\n boundary = _options.boundary,\n rootBoundary = _options.rootBoundary,\n padding = _options.padding,\n flipVariations = _options.flipVariations,\n _options$allowedAutoP = _options.allowedAutoPlacements,\n allowedAutoPlacements = _options$allowedAutoP === void 0 ? allPlacements : _options$allowedAutoP;\n var variation = getVariation(placement);\n var placements = variation ? flipVariations ? variationPlacements : variationPlacements.filter(function (placement) {\n return getVariation(placement) === variation;\n }) : basePlacements;\n var allowedPlacements = placements.filter(function (placement) {\n return allowedAutoPlacements.indexOf(placement) >= 0;\n });\n\n if (allowedPlacements.length === 0) {\n allowedPlacements = placements;\n } // $FlowFixMe[incompatible-type]: Flow seems to have problems with two array unions...\n\n\n var overflows = allowedPlacements.reduce(function (acc, placement) {\n acc[placement] = detectOverflow(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding\n })[getBasePlacement(placement)];\n return acc;\n }, {});\n return Object.keys(overflows).sort(function (a, b) {\n return overflows[a] - overflows[b];\n });\n}","import getOppositePlacement from \"../utils/getOppositePlacement.js\";\nimport getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getOppositeVariationPlacement from \"../utils/getOppositeVariationPlacement.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\nimport computeAutoPlacement from \"../utils/computeAutoPlacement.js\";\nimport { bottom, top, start, right, left, auto } from \"../enums.js\";\nimport getVariation from \"../utils/getVariation.js\"; // eslint-disable-next-line import/no-unused-modules\n\nfunction getExpandedFallbackPlacements(placement) {\n if (getBasePlacement(placement) === auto) {\n return [];\n }\n\n var oppositePlacement = getOppositePlacement(placement);\n return [getOppositeVariationPlacement(placement), oppositePlacement, getOppositeVariationPlacement(oppositePlacement)];\n}\n\nfunction flip(_ref) {\n var state = _ref.state,\n options = _ref.options,\n name = _ref.name;\n\n if (state.modifiersData[name]._skip) {\n return;\n }\n\n var _options$mainAxis = options.mainAxis,\n checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,\n _options$altAxis = options.altAxis,\n checkAltAxis = _options$altAxis === void 0 ? true : _options$altAxis,\n specifiedFallbackPlacements = options.fallbackPlacements,\n padding = options.padding,\n boundary = options.boundary,\n rootBoundary = options.rootBoundary,\n altBoundary = options.altBoundary,\n _options$flipVariatio = options.flipVariations,\n flipVariations = _options$flipVariatio === void 0 ? true : _options$flipVariatio,\n allowedAutoPlacements = options.allowedAutoPlacements;\n var preferredPlacement = state.options.placement;\n var basePlacement = getBasePlacement(preferredPlacement);\n var isBasePlacement = basePlacement === preferredPlacement;\n var fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipVariations ? [getOppositePlacement(preferredPlacement)] : getExpandedFallbackPlacements(preferredPlacement));\n var placements = [preferredPlacement].concat(fallbackPlacements).reduce(function (acc, placement) {\n return acc.concat(getBasePlacement(placement) === auto ? computeAutoPlacement(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding,\n flipVariations: flipVariations,\n allowedAutoPlacements: allowedAutoPlacements\n }) : placement);\n }, []);\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var checksMap = new Map();\n var makeFallbackChecks = true;\n var firstFittingPlacement = placements[0];\n\n for (var i = 0; i < placements.length; i++) {\n var placement = placements[i];\n\n var _basePlacement = getBasePlacement(placement);\n\n var isStartVariation = getVariation(placement) === start;\n var isVertical = [top, bottom].indexOf(_basePlacement) >= 0;\n var len = isVertical ? 'width' : 'height';\n var overflow = detectOverflow(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n altBoundary: altBoundary,\n padding: padding\n });\n var mainVariationSide = isVertical ? isStartVariation ? right : left : isStartVariation ? bottom : top;\n\n if (referenceRect[len] > popperRect[len]) {\n mainVariationSide = getOppositePlacement(mainVariationSide);\n }\n\n var altVariationSide = getOppositePlacement(mainVariationSide);\n var checks = [];\n\n if (checkMainAxis) {\n checks.push(overflow[_basePlacement] <= 0);\n }\n\n if (checkAltAxis) {\n checks.push(overflow[mainVariationSide] <= 0, overflow[altVariationSide] <= 0);\n }\n\n if (checks.every(function (check) {\n return check;\n })) {\n firstFittingPlacement = placement;\n makeFallbackChecks = false;\n break;\n }\n\n checksMap.set(placement, checks);\n }\n\n if (makeFallbackChecks) {\n // `2` may be desired in some cases – research later\n var numberOfChecks = flipVariations ? 3 : 1;\n\n var _loop = function _loop(_i) {\n var fittingPlacement = placements.find(function (placement) {\n var checks = checksMap.get(placement);\n\n if (checks) {\n return checks.slice(0, _i).every(function (check) {\n return check;\n });\n }\n });\n\n if (fittingPlacement) {\n firstFittingPlacement = fittingPlacement;\n return \"break\";\n }\n };\n\n for (var _i = numberOfChecks; _i > 0; _i--) {\n var _ret = _loop(_i);\n\n if (_ret === \"break\") break;\n }\n }\n\n if (state.placement !== firstFittingPlacement) {\n state.modifiersData[name]._skip = true;\n state.placement = firstFittingPlacement;\n state.reset = true;\n }\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'flip',\n enabled: true,\n phase: 'main',\n fn: flip,\n requiresIfExists: ['offset'],\n data: {\n _skip: false\n }\n};","import { top, bottom, left, right } from \"../enums.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\n\nfunction getSideOffsets(overflow, rect, preventedOffsets) {\n if (preventedOffsets === void 0) {\n preventedOffsets = {\n x: 0,\n y: 0\n };\n }\n\n return {\n top: overflow.top - rect.height - preventedOffsets.y,\n right: overflow.right - rect.width + preventedOffsets.x,\n bottom: overflow.bottom - rect.height + preventedOffsets.y,\n left: overflow.left - rect.width - preventedOffsets.x\n };\n}\n\nfunction isAnySideFullyClipped(overflow) {\n return [top, right, bottom, left].some(function (side) {\n return overflow[side] >= 0;\n });\n}\n\nfunction hide(_ref) {\n var state = _ref.state,\n name = _ref.name;\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var preventedOffsets = state.modifiersData.preventOverflow;\n var referenceOverflow = detectOverflow(state, {\n elementContext: 'reference'\n });\n var popperAltOverflow = detectOverflow(state, {\n altBoundary: true\n });\n var referenceClippingOffsets = getSideOffsets(referenceOverflow, referenceRect);\n var popperEscapeOffsets = getSideOffsets(popperAltOverflow, popperRect, preventedOffsets);\n var isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets);\n var hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets);\n state.modifiersData[name] = {\n referenceClippingOffsets: referenceClippingOffsets,\n popperEscapeOffsets: popperEscapeOffsets,\n isReferenceHidden: isReferenceHidden,\n hasPopperEscaped: hasPopperEscaped\n };\n state.attributes.popper = Object.assign({}, state.attributes.popper, {\n 'data-popper-reference-hidden': isReferenceHidden,\n 'data-popper-escaped': hasPopperEscaped\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'hide',\n enabled: true,\n phase: 'main',\n requiresIfExists: ['preventOverflow'],\n fn: hide\n};","import getBasePlacement from \"../utils/getBasePlacement.js\";\nimport { top, left, right, placements } from \"../enums.js\"; // eslint-disable-next-line import/no-unused-modules\n\nexport function distanceAndSkiddingToXY(placement, rects, offset) {\n var basePlacement = getBasePlacement(placement);\n var invertDistance = [left, top].indexOf(basePlacement) >= 0 ? -1 : 1;\n\n var _ref = typeof offset === 'function' ? offset(Object.assign({}, rects, {\n placement: placement\n })) : offset,\n skidding = _ref[0],\n distance = _ref[1];\n\n skidding = skidding || 0;\n distance = (distance || 0) * invertDistance;\n return [left, right].indexOf(basePlacement) >= 0 ? {\n x: distance,\n y: skidding\n } : {\n x: skidding,\n y: distance\n };\n}\n\nfunction offset(_ref2) {\n var state = _ref2.state,\n options = _ref2.options,\n name = _ref2.name;\n var _options$offset = options.offset,\n offset = _options$offset === void 0 ? [0, 0] : _options$offset;\n var data = placements.reduce(function (acc, placement) {\n acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset);\n return acc;\n }, {});\n var _data$state$placement = data[state.placement],\n x = _data$state$placement.x,\n y = _data$state$placement.y;\n\n if (state.modifiersData.popperOffsets != null) {\n state.modifiersData.popperOffsets.x += x;\n state.modifiersData.popperOffsets.y += y;\n }\n\n state.modifiersData[name] = data;\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'offset',\n enabled: true,\n phase: 'main',\n requires: ['popperOffsets'],\n fn: offset\n};","import computeOffsets from \"../utils/computeOffsets.js\";\n\nfunction popperOffsets(_ref) {\n var state = _ref.state,\n name = _ref.name;\n // Offsets are the actual position the popper needs to have to be\n // properly positioned near its reference element\n // This is the most basic placement, and will be adjusted by\n // the modifiers in the next step\n state.modifiersData[name] = computeOffsets({\n reference: state.rects.reference,\n element: state.rects.popper,\n strategy: 'absolute',\n placement: state.placement\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'popperOffsets',\n enabled: true,\n phase: 'read',\n fn: popperOffsets,\n data: {}\n};","export default function getAltAxis(axis) {\n return axis === 'x' ? 'y' : 'x';\n}","import { top, left, right, bottom, start } from \"../enums.js\";\nimport getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getMainAxisFromPlacement from \"../utils/getMainAxisFromPlacement.js\";\nimport getAltAxis from \"../utils/getAltAxis.js\";\nimport { within, withinMaxClamp } from \"../utils/within.js\";\nimport getLayoutRect from \"../dom-utils/getLayoutRect.js\";\nimport getOffsetParent from \"../dom-utils/getOffsetParent.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\nimport getVariation from \"../utils/getVariation.js\";\nimport getFreshSideObject from \"../utils/getFreshSideObject.js\";\nimport { min as mathMin, max as mathMax } from \"../utils/math.js\";\n\nfunction preventOverflow(_ref) {\n var state = _ref.state,\n options = _ref.options,\n name = _ref.name;\n var _options$mainAxis = options.mainAxis,\n checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,\n _options$altAxis = options.altAxis,\n checkAltAxis = _options$altAxis === void 0 ? false : _options$altAxis,\n boundary = options.boundary,\n rootBoundary = options.rootBoundary,\n altBoundary = options.altBoundary,\n padding = options.padding,\n _options$tether = options.tether,\n tether = _options$tether === void 0 ? true : _options$tether,\n _options$tetherOffset = options.tetherOffset,\n tetherOffset = _options$tetherOffset === void 0 ? 0 : _options$tetherOffset;\n var overflow = detectOverflow(state, {\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding,\n altBoundary: altBoundary\n });\n var basePlacement = getBasePlacement(state.placement);\n var variation = getVariation(state.placement);\n var isBasePlacement = !variation;\n var mainAxis = getMainAxisFromPlacement(basePlacement);\n var altAxis = getAltAxis(mainAxis);\n var popperOffsets = state.modifiersData.popperOffsets;\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, {\n placement: state.placement\n })) : tetherOffset;\n var normalizedTetherOffsetValue = typeof tetherOffsetValue === 'number' ? {\n mainAxis: tetherOffsetValue,\n altAxis: tetherOffsetValue\n } : Object.assign({\n mainAxis: 0,\n altAxis: 0\n }, tetherOffsetValue);\n var offsetModifierState = state.modifiersData.offset ? state.modifiersData.offset[state.placement] : null;\n var data = {\n x: 0,\n y: 0\n };\n\n if (!popperOffsets) {\n return;\n }\n\n if (checkMainAxis) {\n var _offsetModifierState$;\n\n var mainSide = mainAxis === 'y' ? top : left;\n var altSide = mainAxis === 'y' ? bottom : right;\n var len = mainAxis === 'y' ? 'height' : 'width';\n var offset = popperOffsets[mainAxis];\n var min = offset + overflow[mainSide];\n var max = offset - overflow[altSide];\n var additive = tether ? -popperRect[len] / 2 : 0;\n var minLen = variation === start ? referenceRect[len] : popperRect[len];\n var maxLen = variation === start ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go\n // outside the reference bounds\n\n var arrowElement = state.elements.arrow;\n var arrowRect = tether && arrowElement ? getLayoutRect(arrowElement) : {\n width: 0,\n height: 0\n };\n var arrowPaddingObject = state.modifiersData['arrow#persistent'] ? state.modifiersData['arrow#persistent'].padding : getFreshSideObject();\n var arrowPaddingMin = arrowPaddingObject[mainSide];\n var arrowPaddingMax = arrowPaddingObject[altSide]; // If the reference length is smaller than the arrow length, we don't want\n // to include its full size in the calculation. If the reference is small\n // and near the edge of a boundary, the popper can overflow even if the\n // reference is not overflowing as well (e.g. virtual elements with no\n // width or height)\n\n var arrowLen = within(0, referenceRect[len], arrowRect[len]);\n var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis : minLen - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis;\n var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis : maxLen + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis;\n var arrowOffsetParent = state.elements.arrow && getOffsetParent(state.elements.arrow);\n var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;\n var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ? void 0 : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0;\n var tetherMin = offset + minOffset - offsetModifierValue - clientOffset;\n var tetherMax = offset + maxOffset - offsetModifierValue;\n var preventedOffset = within(tether ? mathMin(min, tetherMin) : min, offset, tether ? mathMax(max, tetherMax) : max);\n popperOffsets[mainAxis] = preventedOffset;\n data[mainAxis] = preventedOffset - offset;\n }\n\n if (checkAltAxis) {\n var _offsetModifierState$2;\n\n var _mainSide = mainAxis === 'x' ? top : left;\n\n var _altSide = mainAxis === 'x' ? bottom : right;\n\n var _offset = popperOffsets[altAxis];\n\n var _len = altAxis === 'y' ? 'height' : 'width';\n\n var _min = _offset + overflow[_mainSide];\n\n var _max = _offset - overflow[_altSide];\n\n var isOriginSide = [top, left].indexOf(basePlacement) !== -1;\n\n var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ? void 0 : offsetModifierState[altAxis]) != null ? _offsetModifierState$2 : 0;\n\n var _tetherMin = isOriginSide ? _min : _offset - referenceRect[_len] - popperRect[_len] - _offsetModifierValue + normalizedTetherOffsetValue.altAxis;\n\n var _tetherMax = isOriginSide ? _offset + referenceRect[_len] + popperRect[_len] - _offsetModifierValue - normalizedTetherOffsetValue.altAxis : _max;\n\n var _preventedOffset = tether && isOriginSide ? withinMaxClamp(_tetherMin, _offset, _tetherMax) : within(tether ? _tetherMin : _min, _offset, tether ? _tetherMax : _max);\n\n popperOffsets[altAxis] = _preventedOffset;\n data[altAxis] = _preventedOffset - _offset;\n }\n\n state.modifiersData[name] = data;\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'preventOverflow',\n enabled: true,\n phase: 'main',\n fn: preventOverflow,\n requiresIfExists: ['offset']\n};","export default function getHTMLElementScroll(element) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\n };\n}","import getWindowScroll from \"./getWindowScroll.js\";\nimport getWindow from \"./getWindow.js\";\nimport { isHTMLElement } from \"./instanceOf.js\";\nimport getHTMLElementScroll from \"./getHTMLElementScroll.js\";\nexport default function getNodeScroll(node) {\n if (node === getWindow(node) || !isHTMLElement(node)) {\n return getWindowScroll(node);\n } else {\n return getHTMLElementScroll(node);\n }\n}","import getBoundingClientRect from \"./getBoundingClientRect.js\";\nimport getNodeScroll from \"./getNodeScroll.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport { isHTMLElement } from \"./instanceOf.js\";\nimport getWindowScrollBarX from \"./getWindowScrollBarX.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport isScrollParent from \"./isScrollParent.js\";\nimport { round } from \"../utils/math.js\";\n\nfunction isElementScaled(element) {\n var rect = element.getBoundingClientRect();\n var scaleX = round(rect.width) / element.offsetWidth || 1;\n var scaleY = round(rect.height) / element.offsetHeight || 1;\n return scaleX !== 1 || scaleY !== 1;\n} // Returns the composite rect of an element relative to its offsetParent.\n// Composite means it takes into account transforms as well as layout.\n\n\nexport default function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {\n if (isFixed === void 0) {\n isFixed = false;\n }\n\n var isOffsetParentAnElement = isHTMLElement(offsetParent);\n var offsetParentIsScaled = isHTMLElement(offsetParent) && isElementScaled(offsetParent);\n var documentElement = getDocumentElement(offsetParent);\n var rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled, isFixed);\n var scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n var offsets = {\n x: 0,\n y: 0\n };\n\n if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n if (getNodeName(offsetParent) !== 'body' || // https://github.com/popperjs/popper-core/issues/1078\n isScrollParent(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n\n if (isHTMLElement(offsetParent)) {\n offsets = getBoundingClientRect(offsetParent, true);\n offsets.x += offsetParent.clientLeft;\n offsets.y += offsetParent.clientTop;\n } else if (documentElement) {\n offsets.x = getWindowScrollBarX(documentElement);\n }\n }\n\n return {\n x: rect.left + scroll.scrollLeft - offsets.x,\n y: rect.top + scroll.scrollTop - offsets.y,\n width: rect.width,\n height: rect.height\n };\n}","import { modifierPhases } from \"../enums.js\"; // source: https://stackoverflow.com/questions/49875255\n\nfunction order(modifiers) {\n var map = new Map();\n var visited = new Set();\n var result = [];\n modifiers.forEach(function (modifier) {\n map.set(modifier.name, modifier);\n }); // On visiting object, check for its dependencies and visit them recursively\n\n function sort(modifier) {\n visited.add(modifier.name);\n var requires = [].concat(modifier.requires || [], modifier.requiresIfExists || []);\n requires.forEach(function (dep) {\n if (!visited.has(dep)) {\n var depModifier = map.get(dep);\n\n if (depModifier) {\n sort(depModifier);\n }\n }\n });\n result.push(modifier);\n }\n\n modifiers.forEach(function (modifier) {\n if (!visited.has(modifier.name)) {\n // check for visited object\n sort(modifier);\n }\n });\n return result;\n}\n\nexport default function orderModifiers(modifiers) {\n // order based on dependencies\n var orderedModifiers = order(modifiers); // order based on phase\n\n return modifierPhases.reduce(function (acc, phase) {\n return acc.concat(orderedModifiers.filter(function (modifier) {\n return modifier.phase === phase;\n }));\n }, []);\n}","export default function debounce(fn) {\n var pending;\n return function () {\n if (!pending) {\n pending = new Promise(function (resolve) {\n Promise.resolve().then(function () {\n pending = undefined;\n resolve(fn());\n });\n });\n }\n\n return pending;\n };\n}","export default function mergeByName(modifiers) {\n var merged = modifiers.reduce(function (merged, current) {\n var existing = merged[current.name];\n merged[current.name] = existing ? Object.assign({}, existing, current, {\n options: Object.assign({}, existing.options, current.options),\n data: Object.assign({}, existing.data, current.data)\n }) : current;\n return merged;\n }, {}); // IE11 does not support Object.values\n\n return Object.keys(merged).map(function (key) {\n return merged[key];\n });\n}","import getCompositeRect from \"./dom-utils/getCompositeRect.js\";\nimport getLayoutRect from \"./dom-utils/getLayoutRect.js\";\nimport listScrollParents from \"./dom-utils/listScrollParents.js\";\nimport getOffsetParent from \"./dom-utils/getOffsetParent.js\";\nimport orderModifiers from \"./utils/orderModifiers.js\";\nimport debounce from \"./utils/debounce.js\";\nimport mergeByName from \"./utils/mergeByName.js\";\nimport detectOverflow from \"./utils/detectOverflow.js\";\nimport { isElement } from \"./dom-utils/instanceOf.js\";\nvar DEFAULT_OPTIONS = {\n placement: 'bottom',\n modifiers: [],\n strategy: 'absolute'\n};\n\nfunction areValidElements() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return !args.some(function (element) {\n return !(element && typeof element.getBoundingClientRect === 'function');\n });\n}\n\nexport function popperGenerator(generatorOptions) {\n if (generatorOptions === void 0) {\n generatorOptions = {};\n }\n\n var _generatorOptions = generatorOptions,\n _generatorOptions$def = _generatorOptions.defaultModifiers,\n defaultModifiers = _generatorOptions$def === void 0 ? [] : _generatorOptions$def,\n _generatorOptions$def2 = _generatorOptions.defaultOptions,\n defaultOptions = _generatorOptions$def2 === void 0 ? DEFAULT_OPTIONS : _generatorOptions$def2;\n return function createPopper(reference, popper, options) {\n if (options === void 0) {\n options = defaultOptions;\n }\n\n var state = {\n placement: 'bottom',\n orderedModifiers: [],\n options: Object.assign({}, DEFAULT_OPTIONS, defaultOptions),\n modifiersData: {},\n elements: {\n reference: reference,\n popper: popper\n },\n attributes: {},\n styles: {}\n };\n var effectCleanupFns = [];\n var isDestroyed = false;\n var instance = {\n state: state,\n setOptions: function setOptions(setOptionsAction) {\n var options = typeof setOptionsAction === 'function' ? setOptionsAction(state.options) : setOptionsAction;\n cleanupModifierEffects();\n state.options = Object.assign({}, defaultOptions, state.options, options);\n state.scrollParents = {\n reference: isElement(reference) ? listScrollParents(reference) : reference.contextElement ? listScrollParents(reference.contextElement) : [],\n popper: listScrollParents(popper)\n }; // Orders the modifiers based on their dependencies and `phase`\n // properties\n\n var orderedModifiers = orderModifiers(mergeByName([].concat(defaultModifiers, state.options.modifiers))); // Strip out disabled modifiers\n\n state.orderedModifiers = orderedModifiers.filter(function (m) {\n return m.enabled;\n });\n runModifierEffects();\n return instance.update();\n },\n // Sync update – it will always be executed, even if not necessary. This\n // is useful for low frequency updates where sync behavior simplifies the\n // logic.\n // For high frequency updates (e.g. `resize` and `scroll` events), always\n // prefer the async Popper#update method\n forceUpdate: function forceUpdate() {\n if (isDestroyed) {\n return;\n }\n\n var _state$elements = state.elements,\n reference = _state$elements.reference,\n popper = _state$elements.popper; // Don't proceed if `reference` or `popper` are not valid elements\n // anymore\n\n if (!areValidElements(reference, popper)) {\n return;\n } // Store the reference and popper rects to be read by modifiers\n\n\n state.rects = {\n reference: getCompositeRect(reference, getOffsetParent(popper), state.options.strategy === 'fixed'),\n popper: getLayoutRect(popper)\n }; // Modifiers have the ability to reset the current update cycle. The\n // most common use case for this is the `flip` modifier changing the\n // placement, which then needs to re-run all the modifiers, because the\n // logic was previously ran for the previous placement and is therefore\n // stale/incorrect\n\n state.reset = false;\n state.placement = state.options.placement; // On each update cycle, the `modifiersData` property for each modifier\n // is filled with the initial data specified by the modifier. This means\n // it doesn't persist and is fresh on each update.\n // To ensure persistent data, use `${name}#persistent`\n\n state.orderedModifiers.forEach(function (modifier) {\n return state.modifiersData[modifier.name] = Object.assign({}, modifier.data);\n });\n\n for (var index = 0; index < state.orderedModifiers.length; index++) {\n if (state.reset === true) {\n state.reset = false;\n index = -1;\n continue;\n }\n\n var _state$orderedModifie = state.orderedModifiers[index],\n fn = _state$orderedModifie.fn,\n _state$orderedModifie2 = _state$orderedModifie.options,\n _options = _state$orderedModifie2 === void 0 ? {} : _state$orderedModifie2,\n name = _state$orderedModifie.name;\n\n if (typeof fn === 'function') {\n state = fn({\n state: state,\n options: _options,\n name: name,\n instance: instance\n }) || state;\n }\n }\n },\n // Async and optimistically optimized update – it will not be executed if\n // not necessary (debounced to run at most once-per-tick)\n update: debounce(function () {\n return new Promise(function (resolve) {\n instance.forceUpdate();\n resolve(state);\n });\n }),\n destroy: function destroy() {\n cleanupModifierEffects();\n isDestroyed = true;\n }\n };\n\n if (!areValidElements(reference, popper)) {\n return instance;\n }\n\n instance.setOptions(options).then(function (state) {\n if (!isDestroyed && options.onFirstUpdate) {\n options.onFirstUpdate(state);\n }\n }); // Modifiers have the ability to execute arbitrary code before the first\n // update cycle runs. They will be executed in the same order as the update\n // cycle. This is useful when a modifier adds some persistent data that\n // other modifiers need to use, but the modifier is run after the dependent\n // one.\n\n function runModifierEffects() {\n state.orderedModifiers.forEach(function (_ref) {\n var name = _ref.name,\n _ref$options = _ref.options,\n options = _ref$options === void 0 ? {} : _ref$options,\n effect = _ref.effect;\n\n if (typeof effect === 'function') {\n var cleanupFn = effect({\n state: state,\n name: name,\n instance: instance,\n options: options\n });\n\n var noopFn = function noopFn() {};\n\n effectCleanupFns.push(cleanupFn || noopFn);\n }\n });\n }\n\n function cleanupModifierEffects() {\n effectCleanupFns.forEach(function (fn) {\n return fn();\n });\n effectCleanupFns = [];\n }\n\n return instance;\n };\n}\nexport var createPopper = /*#__PURE__*/popperGenerator(); // eslint-disable-next-line import/no-unused-modules\n\nexport { detectOverflow };","import { popperGenerator, detectOverflow } from \"./createPopper.js\";\nimport eventListeners from \"./modifiers/eventListeners.js\";\nimport popperOffsets from \"./modifiers/popperOffsets.js\";\nimport computeStyles from \"./modifiers/computeStyles.js\";\nimport applyStyles from \"./modifiers/applyStyles.js\";\nimport offset from \"./modifiers/offset.js\";\nimport flip from \"./modifiers/flip.js\";\nimport preventOverflow from \"./modifiers/preventOverflow.js\";\nimport arrow from \"./modifiers/arrow.js\";\nimport hide from \"./modifiers/hide.js\";\nvar defaultModifiers = [eventListeners, popperOffsets, computeStyles, applyStyles, offset, flip, preventOverflow, arrow, hide];\nvar createPopper = /*#__PURE__*/popperGenerator({\n defaultModifiers: defaultModifiers\n}); // eslint-disable-next-line import/no-unused-modules\n\nexport { createPopper, popperGenerator, defaultModifiers, detectOverflow }; // eslint-disable-next-line import/no-unused-modules\n\nexport { createPopper as createPopperLite } from \"./popper-lite.js\"; // eslint-disable-next-line import/no-unused-modules\n\nexport * from \"./modifiers/index.js\";","/* global Map:readonly, Set:readonly, ArrayBuffer:readonly */\n\nvar hasElementType = typeof Element !== 'undefined';\nvar hasMap = typeof Map === 'function';\nvar hasSet = typeof Set === 'function';\nvar hasArrayBuffer = typeof ArrayBuffer === 'function' && !!ArrayBuffer.isView;\n\n// Note: We **don't** need `envHasBigInt64Array` in fde es6/index.js\n\nfunction equal(a, b) {\n // START: fast-deep-equal es6/index.js 3.1.3\n if (a === b) return true;\n\n if (a && b && typeof a == 'object' && typeof b == 'object') {\n if (a.constructor !== b.constructor) return false;\n\n var length, i, keys;\n if (Array.isArray(a)) {\n length = a.length;\n if (length != b.length) return false;\n for (i = length; i-- !== 0;)\n if (!equal(a[i], b[i])) return false;\n return true;\n }\n\n // START: Modifications:\n // 1. Extra `has<Type> &&` helpers in initial condition allow es6 code\n // to co-exist with es5.\n // 2. Replace `for of` with es5 compliant iteration using `for`.\n // Basically, take:\n //\n // ```js\n // for (i of a.entries())\n // if (!b.has(i[0])) return false;\n // ```\n //\n // ... and convert to:\n //\n // ```js\n // it = a.entries();\n // while (!(i = it.next()).done)\n // if (!b.has(i.value[0])) return false;\n // ```\n //\n // **Note**: `i` access switches to `i.value`.\n var it;\n if (hasMap && (a instanceof Map) && (b instanceof Map)) {\n if (a.size !== b.size) return false;\n it = a.entries();\n while (!(i = it.next()).done)\n if (!b.has(i.value[0])) return false;\n it = a.entries();\n while (!(i = it.next()).done)\n if (!equal(i.value[1], b.get(i.value[0]))) return false;\n return true;\n }\n\n if (hasSet && (a instanceof Set) && (b instanceof Set)) {\n if (a.size !== b.size) return false;\n it = a.entries();\n while (!(i = it.next()).done)\n if (!b.has(i.value[0])) return false;\n return true;\n }\n // END: Modifications\n\n if (hasArrayBuffer && ArrayBuffer.isView(a) && ArrayBuffer.isView(b)) {\n length = a.length;\n if (length != b.length) return false;\n for (i = length; i-- !== 0;)\n if (a[i] !== b[i]) return false;\n return true;\n }\n\n if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;\n // START: Modifications:\n // Apply guards for `Object.create(null)` handling. See:\n // - https://github.com/FormidableLabs/react-fast-compare/issues/64\n // - https://github.com/epoberezkin/fast-deep-equal/issues/49\n if (a.valueOf !== Object.prototype.valueOf && typeof a.valueOf === 'function' && typeof b.valueOf === 'function') return a.valueOf() === b.valueOf();\n if (a.toString !== Object.prototype.toString && typeof a.toString === 'function' && typeof b.toString === 'function') return a.toString() === b.toString();\n // END: Modifications\n\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) return false;\n\n for (i = length; i-- !== 0;)\n if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;\n // END: fast-deep-equal\n\n // START: react-fast-compare\n // custom handling for DOM elements\n if (hasElementType && a instanceof Element) return false;\n\n // custom handling for React/Preact\n for (i = length; i-- !== 0;) {\n if ((keys[i] === '_owner' || keys[i] === '__v' || keys[i] === '__o') && a.$$typeof) {\n // React-specific: avoid traversing React elements' _owner\n // Preact-specific: avoid traversing Preact elements' __v and __o\n // __v = $_original / $_vnode\n // __o = $_owner\n // These properties contain circular references and are not needed when\n // comparing the actual elements (and not their owners)\n // .$$typeof and ._store on just reasonable markers of elements\n\n continue;\n }\n\n // all other properties should be traversed as usual\n if (!equal(a[keys[i]], b[keys[i]])) return false;\n }\n // END: react-fast-compare\n\n // START: fast-deep-equal\n return true;\n }\n\n return a !== a && b !== b;\n}\n// end fast-deep-equal\n\nmodule.exports = function isEqual(a, b) {\n try {\n return equal(a, b);\n } catch (error) {\n if (((error.message || '').match(/stack|recursion/i))) {\n // warn on circular references, don't crash\n // browsers give this different errors name and messages:\n // chrome/safari: \"RangeError\", \"Maximum call stack size exceeded\"\n // firefox: \"InternalError\", too much recursion\"\n // edge: \"Error\", \"Out of stack space\"\n console.warn('react-fast-compare cannot handle circular refs');\n return false;\n }\n // some other error. we should definitely know about these\n throw error;\n }\n};\n","import * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport { createPopper as defaultCreatePopper } from '@popperjs/core';\nimport isEqual from 'react-fast-compare';\nimport { fromEntries, useIsomorphicLayoutEffect } from './utils';\nvar EMPTY_MODIFIERS = [];\nexport var usePopper = function usePopper(referenceElement, popperElement, options) {\n if (options === void 0) {\n options = {};\n }\n\n var prevOptions = React.useRef(null);\n var optionsWithDefaults = {\n onFirstUpdate: options.onFirstUpdate,\n placement: options.placement || 'bottom',\n strategy: options.strategy || 'absolute',\n modifiers: options.modifiers || EMPTY_MODIFIERS\n };\n\n var _React$useState = React.useState({\n styles: {\n popper: {\n position: optionsWithDefaults.strategy,\n left: '0',\n top: '0'\n },\n arrow: {\n position: 'absolute'\n }\n },\n attributes: {}\n }),\n state = _React$useState[0],\n setState = _React$useState[1];\n\n var updateStateModifier = React.useMemo(function () {\n return {\n name: 'updateState',\n enabled: true,\n phase: 'write',\n fn: function fn(_ref) {\n var state = _ref.state;\n var elements = Object.keys(state.elements);\n ReactDOM.flushSync(function () {\n setState({\n styles: fromEntries(elements.map(function (element) {\n return [element, state.styles[element] || {}];\n })),\n attributes: fromEntries(elements.map(function (element) {\n return [element, state.attributes[element]];\n }))\n });\n });\n },\n requires: ['computeStyles']\n };\n }, []);\n var popperOptions = React.useMemo(function () {\n var newOptions = {\n onFirstUpdate: optionsWithDefaults.onFirstUpdate,\n placement: optionsWithDefaults.placement,\n strategy: optionsWithDefaults.strategy,\n modifiers: [].concat(optionsWithDefaults.modifiers, [updateStateModifier, {\n name: 'applyStyles',\n enabled: false\n }])\n };\n\n if (isEqual(prevOptions.current, newOptions)) {\n return prevOptions.current || newOptions;\n } else {\n prevOptions.current = newOptions;\n return newOptions;\n }\n }, [optionsWithDefaults.onFirstUpdate, optionsWithDefaults.placement, optionsWithDefaults.strategy, optionsWithDefaults.modifiers, updateStateModifier]);\n var popperInstanceRef = React.useRef();\n useIsomorphicLayoutEffect(function () {\n if (popperInstanceRef.current) {\n popperInstanceRef.current.setOptions(popperOptions);\n }\n }, [popperOptions]);\n useIsomorphicLayoutEffect(function () {\n if (referenceElement == null || popperElement == null) {\n return;\n }\n\n var createPopper = options.createPopper || defaultCreatePopper;\n var popperInstance = createPopper(referenceElement, popperElement, popperOptions);\n popperInstanceRef.current = popperInstance;\n return function () {\n popperInstance.destroy();\n popperInstanceRef.current = null;\n };\n }, [referenceElement, popperElement, options.createPopper]);\n return {\n state: popperInstanceRef.current ? popperInstanceRef.current.state : null,\n styles: state.styles,\n attributes: state.attributes,\n update: popperInstanceRef.current ? popperInstanceRef.current.update : null,\n forceUpdate: popperInstanceRef.current ? popperInstanceRef.current.forceUpdate : null\n };\n};","import _objectWithoutPropertiesLoose from '@babel/runtime/helpers/esm/objectWithoutPropertiesLoose';\nimport _extends from '@babel/runtime/helpers/esm/extends';\nimport * as React from 'react';\nimport { usePopper } from 'react-popper';\n\nfunction useGetLatest(val) {\n var ref = React.useRef(val);\n ref.current = val;\n return React.useCallback(function () {\n return ref.current;\n }, []);\n}\n\nvar noop = function noop() {// do nothing\n};\n\nfunction useControlledState(_ref) {\n var initial = _ref.initial,\n value = _ref.value,\n _ref$onChange = _ref.onChange,\n onChange = _ref$onChange === void 0 ? noop : _ref$onChange;\n\n if (initial === undefined && value === undefined) {\n throw new TypeError('Either \"value\" or \"initial\" variable must be set. Now both are undefined');\n }\n\n var _React$useState = React.useState(initial),\n state = _React$useState[0],\n setState = _React$useState[1];\n\n var getLatest = useGetLatest(state);\n var set = React.useCallback(function (updater) {\n var state = getLatest();\n var updatedState = typeof updater === 'function' ? updater(state) : updater;\n if (typeof updatedState.persist === 'function') updatedState.persist();\n setState(updatedState);\n if (typeof onChange === 'function') onChange(updatedState);\n }, [getLatest, onChange]);\n var isControlled = value !== undefined;\n return [isControlled ? value : state, isControlled ? onChange : set];\n}\nfunction generateBoundingClientRect(x, y) {\n if (x === void 0) {\n x = 0;\n }\n\n if (y === void 0) {\n y = 0;\n }\n\n return function () {\n return {\n width: 0,\n height: 0,\n top: y,\n right: x,\n bottom: y,\n left: x,\n x: 0,\n y: 0,\n toJSON: function toJSON() {\n return null;\n }\n };\n };\n}\n\nvar _excluded = [\"styles\", \"attributes\"];\nvar virtualElement = {\n getBoundingClientRect: generateBoundingClientRect()\n};\nvar defaultConfig = {\n closeOnOutsideClick: true,\n closeOnTriggerHidden: false,\n defaultVisible: false,\n delayHide: 0,\n delayShow: 0,\n followCursor: false,\n interactive: false,\n mutationObserverOptions: {\n attributes: true,\n childList: true,\n subtree: true\n },\n offset: [0, 6],\n trigger: 'hover'\n};\nfunction usePopperTooltip(config, popperOptions) {\n var _popperProps$state, _popperProps$state$mo, _popperProps$state$mo2;\n\n if (config === void 0) {\n config = {};\n }\n\n if (popperOptions === void 0) {\n popperOptions = {};\n }\n\n // Merging options with default options.\n // Keys with undefined values are replaced with the default ones if any.\n // Keys with other values pass through.\n var finalConfig = Object.keys(defaultConfig).reduce(function (config, key) {\n var _extends2;\n\n return _extends({}, config, (_extends2 = {}, _extends2[key] = config[key] !== undefined ? config[key] : defaultConfig[key], _extends2));\n }, config);\n var defaultModifiers = React.useMemo(function () {\n return [{\n name: 'offset',\n options: {\n offset: finalConfig.offset\n }\n }];\n }, // eslint-disable-next-line react-hooks/exhaustive-deps\n Array.isArray(finalConfig.offset) ? finalConfig.offset : []);\n\n var finalPopperOptions = _extends({}, popperOptions, {\n placement: popperOptions.placement || finalConfig.placement,\n modifiers: popperOptions.modifiers || defaultModifiers\n });\n\n var _React$useState = React.useState(null),\n triggerRef = _React$useState[0],\n setTriggerRef = _React$useState[1];\n\n var _React$useState2 = React.useState(null),\n tooltipRef = _React$useState2[0],\n setTooltipRef = _React$useState2[1];\n\n var _useControlledState = useControlledState({\n initial: finalConfig.defaultVisible,\n value: finalConfig.visible,\n onChange: finalConfig.onVisibleChange\n }),\n visible = _useControlledState[0],\n setVisible = _useControlledState[1];\n\n var timer = React.useRef();\n React.useEffect(function () {\n return function () {\n return clearTimeout(timer.current);\n };\n }, []);\n\n var _usePopper = usePopper(finalConfig.followCursor ? virtualElement : triggerRef, tooltipRef, finalPopperOptions),\n styles = _usePopper.styles,\n attributes = _usePopper.attributes,\n popperProps = _objectWithoutPropertiesLoose(_usePopper, _excluded);\n\n var update = popperProps.update;\n var getLatest = useGetLatest({\n visible: visible,\n triggerRef: triggerRef,\n tooltipRef: tooltipRef,\n finalConfig: finalConfig\n });\n var isTriggeredBy = React.useCallback(function (trigger) {\n return Array.isArray(finalConfig.trigger) ? finalConfig.trigger.includes(trigger) : finalConfig.trigger === trigger;\n }, // eslint-disable-next-line react-hooks/exhaustive-deps\n Array.isArray(finalConfig.trigger) ? finalConfig.trigger : [finalConfig.trigger]);\n var hideTooltip = React.useCallback(function () {\n clearTimeout(timer.current);\n timer.current = window.setTimeout(function () {\n return setVisible(false);\n }, finalConfig.delayHide);\n }, [finalConfig.delayHide, setVisible]);\n var showTooltip = React.useCallback(function () {\n clearTimeout(timer.current);\n timer.current = window.setTimeout(function () {\n return setVisible(true);\n }, finalConfig.delayShow);\n }, [finalConfig.delayShow, setVisible]);\n var toggleTooltip = React.useCallback(function () {\n if (getLatest().visible) {\n hideTooltip();\n } else {\n showTooltip();\n }\n }, [getLatest, hideTooltip, showTooltip]); // Handle click outside\n\n React.useEffect(function () {\n if (!getLatest().finalConfig.closeOnOutsideClick) return;\n\n var handleClickOutside = function handleClickOutside(event) {\n var _event$composedPath;\n\n var _getLatest = getLatest(),\n tooltipRef = _getLatest.tooltipRef,\n triggerRef = _getLatest.triggerRef;\n\n var target = (event.composedPath == null ? void 0 : (_event$composedPath = event.composedPath()) == null ? void 0 : _event$composedPath[0]) || event.target;\n\n if (target instanceof Node) {\n if (tooltipRef != null && triggerRef != null && !tooltipRef.contains(target) && !triggerRef.contains(target)) {\n hideTooltip();\n }\n }\n };\n\n document.addEventListener('mousedown', handleClickOutside);\n return function () {\n return document.removeEventListener('mousedown', handleClickOutside);\n };\n }, [getLatest, hideTooltip]); // Trigger: click\n\n React.useEffect(function () {\n if (triggerRef == null || !isTriggeredBy('click')) return;\n triggerRef.addEventListener('click', toggleTooltip);\n return function () {\n return triggerRef.removeEventListener('click', toggleTooltip);\n };\n }, [triggerRef, isTriggeredBy, toggleTooltip]); // Trigger: double-click\n\n React.useEffect(function () {\n if (triggerRef == null || !isTriggeredBy('double-click')) return;\n triggerRef.addEventListener('dblclick', toggleTooltip);\n return function () {\n return triggerRef.removeEventListener('dblclick', toggleTooltip);\n };\n }, [triggerRef, isTriggeredBy, toggleTooltip]); // Trigger: right-click\n\n React.useEffect(function () {\n if (triggerRef == null || !isTriggeredBy('right-click')) return;\n\n var preventDefaultAndToggle = function preventDefaultAndToggle(event) {\n // Don't show the context menu\n event.preventDefault();\n toggleTooltip();\n };\n\n triggerRef.addEventListener('contextmenu', preventDefaultAndToggle);\n return function () {\n return triggerRef.removeEventListener('contextmenu', preventDefaultAndToggle);\n };\n }, [triggerRef, isTriggeredBy, toggleTooltip]); // Trigger: focus\n\n React.useEffect(function () {\n if (triggerRef == null || !isTriggeredBy('focus')) return;\n triggerRef.addEventListener('focus', showTooltip);\n triggerRef.addEventListener('blur', hideTooltip);\n return function () {\n triggerRef.removeEventListener('focus', showTooltip);\n triggerRef.removeEventListener('blur', hideTooltip);\n };\n }, [triggerRef, isTriggeredBy, showTooltip, hideTooltip]); // Trigger: hover on trigger\n\n React.useEffect(function () {\n if (triggerRef == null || !isTriggeredBy('hover')) return;\n triggerRef.addEventListener('mouseenter', showTooltip);\n triggerRef.addEventListener('mouseleave', hideTooltip);\n return function () {\n triggerRef.removeEventListener('mouseenter', showTooltip);\n triggerRef.removeEventListener('mouseleave', hideTooltip);\n };\n }, [triggerRef, isTriggeredBy, showTooltip, hideTooltip]); // Trigger: hover on tooltip, keep it open if hovered\n\n React.useEffect(function () {\n if (tooltipRef == null || !isTriggeredBy('hover') || !getLatest().finalConfig.interactive) return;\n tooltipRef.addEventListener('mouseenter', showTooltip);\n tooltipRef.addEventListener('mouseleave', hideTooltip);\n return function () {\n tooltipRef.removeEventListener('mouseenter', showTooltip);\n tooltipRef.removeEventListener('mouseleave', hideTooltip);\n };\n }, [tooltipRef, isTriggeredBy, showTooltip, hideTooltip, getLatest]); // Handle closing tooltip if trigger hidden\n\n var isReferenceHidden = popperProps == null ? void 0 : (_popperProps$state = popperProps.state) == null ? void 0 : (_popperProps$state$mo = _popperProps$state.modifiersData) == null ? void 0 : (_popperProps$state$mo2 = _popperProps$state$mo.hide) == null ? void 0 : _popperProps$state$mo2.isReferenceHidden;\n React.useEffect(function () {\n if (finalConfig.closeOnTriggerHidden && isReferenceHidden) hideTooltip();\n }, [finalConfig.closeOnTriggerHidden, hideTooltip, isReferenceHidden]); // Handle follow cursor\n\n React.useEffect(function () {\n if (!finalConfig.followCursor || triggerRef == null) return;\n\n function setMousePosition(_ref) {\n var clientX = _ref.clientX,\n clientY = _ref.clientY;\n virtualElement.getBoundingClientRect = generateBoundingClientRect(clientX, clientY);\n update == null ? void 0 : update();\n }\n\n triggerRef.addEventListener('mousemove', setMousePosition);\n return function () {\n return triggerRef.removeEventListener('mousemove', setMousePosition);\n };\n }, [finalConfig.followCursor, triggerRef, update]); // Handle tooltip DOM mutation changes (aka mutation observer)\n\n React.useEffect(function () {\n if (tooltipRef == null || update == null || finalConfig.mutationObserverOptions == null) return;\n var observer = new MutationObserver(update);\n observer.observe(tooltipRef, finalConfig.mutationObserverOptions);\n return function () {\n return observer.disconnect();\n };\n }, [finalConfig.mutationObserverOptions, tooltipRef, update]); // Tooltip props getter\n\n var getTooltipProps = function getTooltipProps(args) {\n if (args === void 0) {\n args = {};\n }\n\n return _extends({}, args, {\n style: _extends({}, args.style, styles.popper)\n }, attributes.popper, {\n 'data-popper-interactive': finalConfig.interactive\n });\n }; // Arrow props getter\n\n\n var getArrowProps = function getArrowProps(args) {\n if (args === void 0) {\n args = {};\n }\n\n return _extends({}, args, attributes.arrow, {\n style: _extends({}, args.style, styles.arrow),\n 'data-popper-arrow': true\n });\n };\n\n return _extends({\n getArrowProps: getArrowProps,\n getTooltipProps: getTooltipProps,\n setTooltipRef: setTooltipRef,\n setTriggerRef: setTriggerRef,\n tooltipRef: tooltipRef,\n triggerRef: triggerRef,\n visible: visible\n }, popperProps);\n}\n\nexport { usePopperTooltip };\n//# sourceMappingURL=react-popper-tooltip.js.map\n","import * as React from \"react\";\nimport ReactDOM from \"react-dom\";\nimport classNames from \"classnames\";\nimport { usePopperTooltip } from \"react-popper-tooltip\";\nimport { Placement } from \"../../utils\";\n\nimport useSettings from \"../../hooks/useSettings\";\n\nexport interface TooltipProps {\n /**\n * React nodes that trigger the tooltip on interaction.\n */\n children: React.ReactNode;\n\n /**\n * Content of the tooltip. Can be a React node or a function returning a React node.\n * The function receives an object with functions to set visibility and handle visibility change.\n */\n content?:\n | React.ReactNode\n | ((options: {\n setVisibility: React.Dispatch<React.SetStateAction<boolean>>;\n visibilityChange: (state: boolean) => void;\n }) => React.ReactNode);\n\n /**\n * @deprecated If true, applies a dark theme to the tooltip.\n */\n dark?: boolean;\n\n /**\n * If true, removes padding from the tooltip.\n */\n noPadding?: boolean;\n\n /**\n * Position of the tooltip relative to the child element. Uses the Placement type from utils.\n */\n placement?: Placement;\n\n /**\n * Trigger action for the tooltip - can be \"hover\" or \"click\".\n */\n trigger?: \"hover\" | \"click\";\n\n /**\n * Popper.js modifiers for advanced tooltip positioning.\n */\n modifiers?: [];\n\n /**\n * If true, renders the tooltip in a React portal.\n */\n usePortal?: boolean;\n\n /**\n * If true, wraps the child element with a span to attach a ref for the tooltip.\n */\n createRefWrapper?: boolean;\n\n /**\n * If true, the tooltip is interactive (hoverable/clickable).\n */\n interactive?: boolean;\n\n /**\n * Delay in milliseconds before hiding the tooltip.\n */\n delayHide?: number;\n\n /**\n * Additional custom class names for styling the tooltip.\n */\n className?: string;\n\n /**\n * If true, closes the tooltip when clicking outside of it.\n */\n closeOnOutsideClick?: boolean;\n\n /**\n * Close the tooltip when the trigger element is hidden.\n */\n closeOnTriggerHidden?: boolean;\n\n /**\n * If the tooltip should be visible by default.\n */\n defaultVisible?: boolean;\n\n /**\n * Delay in milliseconds before showing the tooltip.\n */\n delayShow?: number;\n\n /**\n * If true, the tooltip follows the cursor.\n */\n followCursor?: boolean;\n\n /**\n * Options for observing DOM changes through a MutationObserver.\n */\n mutationObserverOptions?: MutationObserverInit | null;\n\n /**\n * Offset of the tooltip from the trigger element, specified as a tuple [x, y].\n */\n offset?: [number, number];\n\n /**\n * Callback function when the visibility state of the tooltip changes.\n */\n onVisibleChange?: (state: boolean) => void;\n}\n\nexport const tooltipStyle = {\n duration: 100,\n animation: \"fade\",\n theme: \"light\",\n arrow: true,\n};\n\nexport const tooltipStyleDark = {\n duration: 100,\n animation: \"fade\",\n theme: \"dark\",\n arrow: true,\n};\n\n/** Tooltips display additional information upon click, hover, or focus. The information should be contextual, useful, and nonessential. */\nconst Tooltip: React.FC<React.PropsWithChildren<TooltipProps>> = ({\n className,\n dark,\n noPadding,\n children,\n content,\n trigger = \"hover\",\n // modifiers = [],\n placement = \"top\",\n createRefWrapper,\n closeOnOutsideClick,\n closeOnTriggerHidden,\n defaultVisible,\n delayHide,\n delayShow,\n followCursor,\n interactive,\n mutationObserverOptions,\n offset,\n onVisibleChange,\n usePortal,\n // ...others\n}) => {\n const { prefix } = useSettings();\n const [visibility, setVisibility] = React.useState(false);\n const classes = classNames(className, {\n [`${prefix}--tooltip`]: true,\n [`${prefix}--tooltip--disable-padding`]: noPadding,\n [`${prefix}--tooltip--visible`]: visibility,\n [`${prefix}--tooltip--${trigger}`]: trigger,\n [`${prefix}--tooltip--dark`]: dark,\n });\n\n const {\n getArrowProps,\n getTooltipProps,\n setTooltipRef,\n setTriggerRef,\n visible,\n } = usePopperTooltip({\n closeOnOutsideClick,\n closeOnTriggerHidden,\n defaultVisible,\n delayHide,\n delayShow,\n followCursor,\n interactive,\n mutationObserverOptions,\n offset,\n onVisibleChange,\n placement,\n trigger,\n });\n\n const elementClassNames = classNames(\n /*children?.props?.className, */ {\n [`${prefix}--tooltip--trigger`]: true,\n }\n );\n\n const wrapperClassNames = classNames(className, {\n [`${prefix}--tooltip--trigger`]: true,\n });\n\n const triggerElement =\n !createRefWrapper && typeof children !== \"string\" ? (\n React.cloneElement(children as React.ReactElement<any>, {\n ref: setTriggerRef,\n className: elementClassNames,\n })\n ) : (\n <span ref={setTriggerRef} className={wrapperClassNames}>\n {children}\n </span>\n );\n\n const visibilityChange = (e) => {\n setVisibility(e);\n if (onVisibleChange) onVisibleChange(e);\n };\n\n const tooltip = (\n <div ref={setTooltipRef} {...getTooltipProps({ className: classes })}>\n {typeof content === \"function\"\n ? content({ setVisibility, visibilityChange })\n : content}\n <div {...getArrowProps({ className: `${prefix}--tooltip__arrow` })} />\n </div>\n );\n\n return (\n <>\n {triggerElement}\n {visible && usePortal && <TooltipPortal>{tooltip}</TooltipPortal>}\n {visible && !usePortal && tooltip}\n </>\n );\n};\n\nexport default Tooltip;\n\nfunction TooltipPortal({ children }) {\n return ReactDOM.createPortal(children, document.body);\n}\n","import * as React from 'react';\nimport Tooltip from '../Tooltip';\nimport type { PropsWithChildren } from 'react';\nimport classNames from 'classnames';\nimport useSettings from '../../hooks/useSettings';\n\n/** Context menu are used as navigational elements. They should contain commands that apply to the target object. */\ntype ContextMenuProps = PropsWithChildren<{\n /**\n * Provide content to display when contextMenu is clicked\n */\n content?: React.ReactNode;\n /**\n * Provide a href prop as an alternative to onClick\n */\n href?: string;\n /**\n * Inline links are used within a sentence or paragraph and are styled with an underline. They should not be paired with an icon.\n */\n inline?: boolean;\n /**\n * Provide a custom className\n */\n className?: string;\n}>;\n\nconst ContextMenu: React.FC<ContextMenuProps> = ({\n children,\n className,\n content,\n /* href,\n inline,\n trigger = 'click',\n ...other*/\n}) => {\n const { prefix } = useSettings();\n const classes = classNames(\n {\n [`${prefix}--context-menu`]: true,\n },\n className\n );\n\n return (\n <Tooltip className={classes} content={content} noPadding trigger=\"click\">\n {children}\n </Tooltip>\n );\n};\n\ntype ContextMenuGroupProps = PropsWithChildren<{\n className?: string;\n}>;\n\nconst ContextMenuGroup: React.FC<ContextMenuGroupProps> = ({\n className,\n ...other\n}) => {\n const { prefix } = useSettings();\n const classes = classNames(\n {\n [`${prefix}--context-menu__group`]: true,\n },\n className\n );\n\n return <div className={classes} {...other} />;\n};\n\ninterface ContextMenuItemProps extends React.ComponentPropsWithRef<'div'> {\n className?: string;\n}\n\nconst ContextMenuItem: React.FC<ContextMenuItemProps> = ({\n className,\n ...other\n}) => {\n const { prefix } = useSettings();\n const classes = classNames(\n {\n [`${prefix}--context-menu__item`]: true,\n },\n className\n );\n\n return <div className={classes} {...other} />;\n};\n\nexport { ContextMenu, ContextMenuItem, ContextMenuGroup };\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport Link from \"../Link\";\nimport Wrapper from \"../Wrapper\";\nimport { ScreenSize } from \"../../utils\";\nimport useSettings from \"../../hooks/useSettings\";\n\n/** A Footer is a section at the bottom of each page. It typically contains basic site information, copyright data or links to related pages. */\ninterface FooterProps extends React.HTMLAttributes<HTMLDivElement> {\n /**\n The content of the footer containing relevant links\n */\n children?: React.ReactNode;\n /**\n Additional className which will be added\n */\n className?: string;\n /** \n Meta content, usually the copyright notice\n */\n metaContent?: React.ReactNode;\n metaLinks?: React.ReactNode;\n /**\n Optional WFP logo for mobile devices, can be used if the Logo should be provided by the CDN\n */\n logo?: string | React.ReactNode;\n /**\n * Specify the max-width on desktop devices (same as \\`Wrapper\\` component)\n */\n pageWidth?: ScreenSize;\n\n /**\n The WFP logo, can be used if the SDG logo should be provided in a different way\n */\n subTitle?: string | React.ReactNode;\n secondary?: React.ReactNode;\n labelOne?: string;\n labelTwo?: string;\n linkTextOne?: string;\n linkHrefOne?: string;\n linkTextTwo?: string;\n linkHrefTwo?: string;\n}\n\nconst Footer: React.FC<FooterProps> = ({\n className,\n children,\n labelOne,\n linkTextOne,\n linkHrefOne,\n labelTwo,\n linkTextTwo,\n linkHrefTwo,\n logo,\n metaContent,\n metaLinks,\n secondary,\n pageWidth = \"lg\",\n}) => {\n const { prefix } = useSettings();\n\n const classes = classNames(`${prefix}--footer`, className);\n\n return (\n <footer className={classes}>\n <Wrapper pageWidth={pageWidth}>\n <div className={`${prefix}--footer__content`}>\n {/* <div className=\"wfp--footer__info-content\"> */}\n {children ? (\n <div className={`${prefix}--footer__info`}>{children}</div>\n ) : (\n <div className={`${prefix}--footer__info`}>\n <div className={`${prefix}--footer__info__item`}>\n <p className={`${prefix}--footer__label`}>{labelOne}</p>\n <ul className={`${prefix}--footer__list`}>\n <li>\n <Link href={linkHrefOne}>{linkTextOne}</Link>\n </li>\n </ul>\n </div>\n <div className={`${prefix}--footer__info__item`}>\n <p className={`${prefix}--footer__label`}>{labelTwo}</p>\n <ul className={`${prefix}--footer__list`}>\n <li>\n <Link href={linkHrefTwo}>{linkTextTwo}</Link>\n </li>\n </ul>\n </div>\n </div>\n )}\n <div className={`${prefix}--footer__cta`}>\n {logo}\n {secondary && (\n <div className={`${prefix}--footer__secondary`}>{secondary}</div>\n )}\n </div>\n </div>\n </Wrapper>\n\n <Wrapper className={`${prefix}--footer__meta`} pageWidth={pageWidth}>\n {metaLinks && (\n <div className={`${prefix}--footer__meta__links`}>{metaLinks}</div>\n )}\n {metaContent && (\n <div className={`${prefix}--footer__meta__content`}>\n {metaContent}\n </div>\n )}\n </Wrapper>\n </footer>\n );\n};\n\nFooter.displayName = \"Footer\";\n\nexport default Footer;\n","import * as React from 'react';\nimport type { PropsWithChildren } from 'react';\nimport classNames from 'classnames';\nimport useSettings from '../../hooks/useSettings';\n\ntype FormProps = PropsWithChildren<{\n /**\n * Default margin is added to each form input\n */\n longForm?: boolean;\n /**\n * Provide a custom className to be applied on the containing <form> node\n */\n className?: string;\n}>;\n/** A form is a group of related input controls that allows users to provide data or configure options. */\nconst Form: React.FC<FormProps> = ({\n className,\n children,\n longForm = true,\n ...other\n}) => {\n const { prefix } = useSettings();\n\n const classes = classNames(\n `${prefix}--form`,\n { [`${prefix}--form-long`]: longForm === true },\n className\n );\n\n return (\n <form className={classes} {...other}>\n {children}\n </form>\n );\n};\n\nForm.displayName = 'Form';\n\nexport default Form;\n","import * as React from 'react';\nimport classNames from 'classnames';\nimport useSettings from '../../hooks/useSettings';\n//import * as HookForm from 'react-hook-form';\n\ninterface FormGroupProps extends React.ComponentPropsWithRef<'a'> {\n legendText?: string;\n breakpoint?: 'none' | 'sm' | 'md' | 'lg';\n // invalid?: boolean | HookForm.FieldError;\n message?: boolean;\n messageText?: string;\n align?: 'vertical' | 'horizontal';\n inputSpacing?: 'none' | 'md' | 'lg';\n className?: string;\n inline?: boolean;\n}\n/** A FormGroup element is used to group several controls as well as labels within a web form. It uses `<fieldset>` */\nconst FormGroup: React.FC<FormGroupProps> = ({\n align,\n breakpoint,\n legendText,\n inline,\n // invalid,\n children,\n className,\n inputSpacing,\n message,\n messageText,\n // ...other\n}) => {\n const { prefix } = useSettings();\n\n const classNamesLegend = classNames(\n `${prefix}--form-group__title`,\n className\n );\n const classNamesFieldset = classNames(\n `${prefix}--fieldset`,\n {\n [`${prefix}--fieldset__inline`]: inline,\n [`${prefix}--fieldset__align-${align}`]: align,\n [`${prefix}--fieldset__breakpoint-${breakpoint}`]: breakpoint,\n [`${prefix}--fieldset__input-spacing-${inputSpacing}`]: inputSpacing,\n },\n className\n );\n\n return (\n <div\n //{...(invalid && { 'data-invalid': '' })}\n className={classNamesFieldset}\n //{...other}\n >\n <legend className={classNamesLegend}>{legendText}</legend>\n <div className={`${prefix}--fieldset__content`}>{children}</div>\n {message ? (\n <div className={`${prefix}--form__requirements`}>{messageText}</div>\n ) : null}\n </div>\n );\n};\n\nexport default FormGroup;\n","import * as React from \"react\";\nimport { InfoSolid } from \"@progressiveui/icons-react\";\nimport type { PropsWithChildren } from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\nimport Tooltip from \"../Tooltip/Tooltip\";\n\n/** FormHint allows you to add a longer explanation to an input element. */\ntype FormHintProps = PropsWithChildren<{\n /**\n * The additional className which will be added\n */\n className?: string;\n /**\n * The description of the icon\n */\n description?: string;\n}>;\n\nconst FormHint: React.FC<FormHintProps> = ({\n className,\n children,\n description,\n}) => {\n const { prefix } = useSettings();\n\n const formHintClasses = classNames(`${prefix}--form-hint`, className);\n return (\n <Tooltip content={children}>\n <div className={formHintClasses}>\n <InfoSolid width=\"15\" height=\"15\" description={description} />\n </div>\n </Tooltip>\n );\n};\n\nexport default FormHint;\n","import * as React from 'react';\nimport type { PropsWithChildren } from 'react';\nimport classNames from 'classnames';\nimport useSettings from '../../hooks/useSettings';\n\n/** Form Label can be used whenever it is needed to show a label detached from a regular input. */\ntype FormLabelProps = PropsWithChildren<{\n /**\n * The ID of the related input which will be used as `htmlFor`\n */\n id?: string;\n /**\n * Additional `class` attributes\n */\n className?: string;\n}>;\n\nconst FormLabel: React.FC<FormLabelProps> = ({\n className,\n children,\n id,\n ...other\n}) => {\n const { prefix } = useSettings();\n\n const classes = classNames(`${prefix}--label`, className);\n\n return (\n <label htmlFor={id} className={classes} {...other}>\n {children}\n </label>\n );\n};\n\nexport default FormLabel;\n","import * as React from 'react';\nimport classNames from 'classnames';\nimport Wrapper from '../Wrapper';\nimport useSettings from '../../hooks/useSettings';\nimport { ScreenSize } from '../../utils';\n\n/** The InfoBar shows very important information on top of the page. */\ninterface InfoBarProps extends React.HTMLAttributes<HTMLDivElement> {\n /**\n * `pageWidth` for the `<Wrapper />` component\n */\n pageWidth?: ScreenSize;\n /**\n * Additional `className` for the `<Wrapper />` component\n */\n wrapperClassName?: string;\n /**\n * The CSS class name to be placed on the wrapping element.\n */\n className?: string;\n /**\n * Additional `id` provided to the wrapping element\n */\n id?: string;\n}\n\nconst InfoBar: React.FC<InfoBarProps> = ({\n children,\n className,\n id,\n pageWidth,\n}) => {\n const { prefix } = useSettings();\n\n const wrapperClasses = classNames(`${prefix}--info-bar`, className);\n\n return (\n <div id={id} className={wrapperClasses}>\n <Wrapper pageWidth={pageWidth}>{children}</Wrapper>\n </div>\n );\n};\n\nInfoBar.displayName = 'InfoBar';\n\nexport default InfoBar;\n","import * as React from 'react';\nimport classNames from 'classnames';\nimport { componentsX } from '../../internal/FeatureFlags';\nimport useSettings from '../../hooks/useSettings';\n\ninterface LoadingProps {\n active?: boolean;\n className?: string;\n /**\n * Specify whether you want the loader to be applied with an overlay\n */\n withOverlay?: boolean;\n /**\n * Specify whether you would like the small variant of <Loading>\n */\n small?: boolean;\n}\n\n/** Loading spinners are used when retrieving data or performing slow computations, and help to notify users that loading is underway. */\n\nconst Loading: React.FC<LoadingProps> = (props) => {\n const {\n active = true,\n className,\n withOverlay = true,\n small = false,\n ...other\n } = props;\n const { prefix } = useSettings();\n\n const loadingClasses = classNames(`${prefix}--loading`, className, {\n [`${prefix}--loading--small`]: small,\n [`${prefix}--loading--stop`]: !active,\n });\n\n const overlayClasses = classNames(`${prefix}--loading-overlay`, {\n [`${prefix}--loading-overlay--stop`]: !active,\n });\n\n const loading = (\n <div\n {...other}\n aria-live={active ? 'assertive' : 'off'}\n className={loadingClasses}>\n <svg className={`${prefix}--loading__svg`} viewBox=\"-75 -75 150 150\">\n <title>Loading</title>\n {componentsX && small ? (\n <circle\n className={`${prefix}--loading__background`}\n cx=\"0\"\n cy=\"0\"\n r=\"37.5\"\n />\n ) : null}\n <circle\n className={componentsX ? `${prefix}--loading__stroke` : undefined}\n cx=\"0\"\n cy=\"0\"\n r=\"37.5\"\n />\n </svg>\n </div>\n );\n\n return withOverlay ? (\n <div className={overlayClasses}>{loading}</div>\n ) : (\n loading\n );\n};\n\nLoading.displayName = 'Loading';\n\nexport default Loading;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\nimport Loading from \"../Loading\";\n\ninterface InlineLoadingProps {\n /**\n * Specify whether the load was successful\n */\n success?: boolean;\n /**\n * Specify the description for the inline loading text\n */\n description?: React.ReactNode;\n /**\n * Provide a delay for the `setTimeout` for success\n */\n successDelay?: number;\n /**\n * Provide an optional handler to be invoked when <InlineLoading> is\n * successful\n */\n onSuccess?: () => void;\n /**\n * Specify a custom className to be applied to the container node\n */\n className?: string;\n}\n\nconst InlineLoading: React.FC<InlineLoadingProps> = (props) => {\n const { className, success, description, onSuccess, successDelay, ...other } =\n props;\n\n const { prefix } = useSettings();\n\n const loadingClasses = classNames(`${prefix}--inline-loading`, className);\n\n const getLoading = () => {\n if (success) {\n setTimeout(() => {\n if (onSuccess) {\n onSuccess();\n }\n }, successDelay);\n\n return (\n <svg\n className={`${prefix}--inline-loading__checkmark-container ${prefix}--inline-loading__svg`}\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 10 10\"\n >\n <polyline\n className={`${prefix}--inline-loading__checkmark`}\n points=\"0.74 3.4 3.67 6.34 9.24 0.74\"\n />\n </svg>\n );\n }\n\n return <Loading small withOverlay={false} />;\n };\n\n const loadingText = (\n <p className={`${prefix}--inline-loading__text`}>{description}</p>\n );\n\n return (\n <div className={loadingClasses} {...other}>\n <div className={`${prefix}--inline-loading__animation`}>\n {getLoading()}\n </div>\n {description && loadingText}\n </div>\n );\n};\n\nInlineLoading.displayName = \"InlineLoading\";\n\nexport default InlineLoading;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n\n/** List component show a number of connected items written consecutively, typically one below the other. */\nexport interface ListBaseProps {\n /**\n * If true, colons will be displayed in the List items.\n */\n colon?: boolean;\n /**\n * Specifies the visual presentation style of the List.\n */\n kind?:\n | \"unstyled\"\n | \"simple-inline\"\n | \"simple\"\n | \"details\"\n | \"unordered\"\n | \"ordered\"\n | \"tooltip\"\n | \"bullets\";\n /**\n * If true, renders the List with a smaller font size and padding.\n */\n small?: boolean;\n}\n\ninterface ListOlProps\n extends ListBaseProps,\n React.ComponentPropsWithRef<\"button\"> {}\n\ninterface ListUlProps extends ListBaseProps, React.ComponentPropsWithRef<\"a\"> {}\n\ntype ConditionalProps<T> = T extends { kind: \"ordered\" }\n ? ListOlProps\n : ListUlProps;\n\ntype ListProps<T extends { kind?: string }> = ConditionalProps<T> &\n React.ComponentPropsWithRef<T extends { kind: \"ordered\" } ? \"ol\" : \"ul\">;\n\nexport const List = React.forwardRef(\n <T extends { kind?: string }>(\n { children, className, colon, kind, small, ...other }: ListProps<T>,\n ref: React.Ref<\n T extends { kind: string } ? HTMLAnchorElement : HTMLButtonElement\n >\n ) => {\n const { prefix } = useSettings();\n\n const classes = classNames(`${prefix}--list`, className, {\n [`${prefix}--list--${kind}`]: kind,\n [`${prefix}--list--small`]: small,\n [`${prefix}--list--colon`]: colon,\n });\n\n /* if (kind == 'ordered') {\n const olProps = {\n ...other,\n href: other.href,\n } as React.AnchorHTMLAttributes<HTMLOListElement>;\n\n return (\n <ol\n className={classes}\n {...olProps}\n ref={ref as React.Ref<HTMLOListElement>}>\n {children}\n </ol>\n );\n }*/\n\n const ulProps = {\n ...other,\n } as React.ButtonHTMLAttributes<HTMLUListElement>;\n\n return (\n <ul\n className={classes}\n {...ulProps}\n ref={ref as React.Ref<HTMLUListElement>}\n >\n {children}\n </ul>\n );\n }\n);\n\nList.displayName = \"List\";\n\nexport default List;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport { Cross, Check } from \"@progressiveui/icons-react\";\n\n//export interface ListItemProps\n// extends Omit<React.LiHTMLAttributes<HTMLLIElement>, 'title'> {\nexport interface ListItemProps\n extends Omit<React.ComponentPropsWithRef<\"li\">, \"title\"> {\n /**\n * Specify the kind of icon to use in the list item. Options are 'checkmark' or 'cross'.\n * This provides a visual cue about the nature or status of the list item. @design\n */\n kind?: \"checkmark\" | \"cross\";\n /**\n * Specify whether the list item should be a small variant. Useful for denser lists\n * or when space is a constraint. @size\n */\n small?: boolean;\n /**\n * Content to be displayed as the title of the list item. This can be simple text or\n * a React node for more complex content. @content\n */\n title?: React.ReactNode;\n /**\n * Icon to be displayed in the list item. This can be a React node or a string\n * representing the name of a pictogram. @content\n */\n icon?: React.ReactNode;\n}\n\nconst ListItem: React.FC<ListItemProps> = ({\n children,\n className,\n title,\n kind,\n icon,\n ...other\n}) => {\n const classes = classNames(\"wfp--list__element\", className, {\n \"wfp--list-item--checkmark\": kind === \"checkmark\",\n \"wfp--list-item--cross\": kind === \"cross\",\n });\n return (\n <li className={classes} {...other}>\n {kind === \"cross\" && <Cross className=\"wfp--list-item__icon\" />}\n {kind === \"checkmark\" && <Check className=\"wfp--list-item__icon\" />}\n {icon && <span className=\"wfp--list__element__icon\">{icon}</span>}\n {title && <span className=\"wfp--list__element__title\">{title}</span>}\n <span className=\"wfp--list__element__content\">{children}</span>\n </li>\n );\n};\n\nexport default ListItem;\n","/* eslint-disable @typescript-eslint/no-empty-function */\nimport React from \"react\";\n\nexport interface MainNavigationContextType {\n /**\n * Callback when the user clicks on a sub menu item\n */\n onChangeSub: (action: string, i?: string, e?: any) => void;\n /**\n * The active menu item\n */\n activeMenuItem?: string | null;\n /**\n * Whether the mobile menu is open\n */\n openMobileMenu: boolean;\n /**\n * Toggle the mobile menu\n */\n toggleMenu: () => void;\n /**\n * Set the mobile menu to open or closed\n */\n setOpenMobileMenu: (open: boolean) => void;\n}\n\nconst MainNavigationContext = React.createContext<MainNavigationContextType>({\n onChangeSub: (e) => e,\n activeMenuItem: null,\n openMobileMenu: false,\n toggleMenu: () => {},\n setOpenMobileMenu: () => {},\n});\nexport default MainNavigationContext;\n","import React, { PropsWithChildren } from 'react';\nimport Button from '../Button';\n\nexport type MobileButtonProps = PropsWithChildren<{\n /**\n * Status of the mobile menu\n */\n openMobileMenu?: boolean;\n /**\n * Prefix for the component CSS class\n */\n prefix?: string;\n /**\n * Toggle the Menu\n */\n toggleMenu?: () => void;\n}>;\n\nconst MobileButton: React.FC<MobileButtonProps> = ({ toggleMenu, prefix }) => {\n return (\n <Button\n className={`${prefix}--main-navigation__button`}\n onClick={toggleMenu}>\n Menu\n </Button>\n );\n};\n\nexport default MobileButton;\n","import React, { ComponentType, useState } from \"react\";\nimport classNames from \"classnames\";\n\nimport WrapperDefault from \"../Wrapper\";\nimport useSettings from \"../../hooks/useSettings\";\nimport { ScreenSize } from \"../../utils\";\nimport MainNavigationContext from \"./MainNavigationContext\";\nimport MobileButtonDefault, { MobileButtonProps } from \"./MobileButton\";\nimport { WrapperProps } from \"../Wrapper/Wrapper\";\n\n/** The Main Navigation is a Horizontal Menu which consists of multiple clickable items placed at the top of the page. The navigation stays unchanged when browswing through the site and is present on every page. The currently selected item is usually highlighted. */\n\ninterface MainNavigationProps extends React.ComponentPropsWithRef<\"div\"> {\n /**\n * The Logo can be either a string or a component\n */\n logo?: string | React.ReactNode;\n /**\n * Specify the max-width on desktop devices (same as \\`Wrapper\\` component)\n */\n pageWidth?: ScreenSize;\n /**\n * The replaceable components to be used for the main navigation. MobileButton(prefix, toggleMenu): accepts a React.ReactNode which will be used as the mobile button. Wrapper: accepts a React.ReactNode which will be used as the wrapper.\n */\n components?: {\n Wrapper?: ComponentType<WrapperProps>;\n MobileButton?: ComponentType<MobileButtonProps>;\n };\n /**\n * Specify the max-width on mobile devices (same as \\`Wrapper\\` component)\n */\n mobilePageWidth?: ScreenSize;\n /**\n * A line will be placed above the navigation\n */\n line?: boolean;\n /**\n * Show a logo ribbon on the left side of the logo\n */\n logoRibbon?: \"default\" | \"offShelf\" | null;\n\n /**\n * Additional className for the `Wrapper`\n */\n wrapperClassName?: string;\n /**\n * The CSS class name to be placed on the wrapping element.\n */\n className?: string;\n /**\n * Defines an `id` for the component.\n */\n id?: string;\n}\n\nconst MainNavigation = ({\n children,\n components: componentsOverride = {},\n className,\n id,\n logo,\n line = false,\n logoRibbon = \"default\",\n mobilePageWidth,\n pageWidth,\n}: MainNavigationProps) => {\n const { prefix } = useSettings();\n const [openMobileMenu, setOpenMobileMenu] = useState<boolean>(false);\n const [activeMenuItem, setActiveMenuItem] = useState<string | null>(null);\n\n const onChangeSub = (\n action: string,\n i?: string,\n e?: React.SyntheticEvent\n ) => {\n if (e) e.preventDefault();\n\n if (action === \"close\") {\n setActiveMenuItem(null);\n } else if (action === \"toggle\") {\n const newI = activeMenuItem === null || activeMenuItem !== i ? i : null;\n if (newI !== undefined) setActiveMenuItem(newI);\n }\n };\n\n const toggleMenu = () => {\n setOpenMobileMenu(!openMobileMenu);\n };\n\n // const triggerSubNavigation = () => {\n // setActiveMenuItem(undefined);\n // };\n\n // const handleClickOutside = () => {\n // setActiveMenuItem(undefined);\n // };\n\n const wrapperClasses = classNames(\n `${prefix}--main-navigation`,\n { [`${prefix}--main-navigation--line`]: line },\n className\n );\n\n const listClasses = classNames(`${prefix}--main-navigation__list`, {\n [`${prefix}--main-navigation__list--open`]: openMobileMenu,\n });\n\n const components = {\n Wrapper: WrapperDefault,\n MobileButton: MobileButtonDefault,\n ...componentsOverride,\n };\n\n const Wrapper = components.Wrapper as React.FC<WrapperProps>;\n const MobileButton = components.MobileButton as React.FC<MobileButtonProps>;\n\n return (\n <nav id={id} className={wrapperClasses}>\n <MainNavigationContext.Provider\n value={{\n activeMenuItem,\n openMobileMenu,\n toggleMenu,\n onChangeSub,\n setOpenMobileMenu,\n }}\n >\n <Wrapper\n pageWidth={pageWidth}\n mobilePageWidth={mobilePageWidth}\n className={`${prefix}--main-navigation__wrapper`}\n >\n <div className={`${prefix}--main-navigation__logo-wrapper`}>\n <MobileButton\n toggleMenu={toggleMenu}\n prefix={prefix}\n openMobileMenu={openMobileMenu}\n >\n Menu\n </MobileButton>\n <div className={`${prefix}--main-navigation__logo`}>{logo}</div>\n </div>\n <ul className={listClasses}>{children}</ul>\n </Wrapper>\n </MainNavigationContext.Provider>\n </nav>\n );\n};\n\nMainNavigation.displayName = \"MainNavigation\";\n\nexport default MainNavigation;\n","import { useContext } from \"react\";\n\nimport MainNavigationContext, {\n MainNavigationContextType,\n} from \"./MainNavigationContext\";\n\n/** The useMainNavigation() is a hook to access the current state of the MainNavigation and manipulate it. */\n\nfunction useMainNavigation(): MainNavigationContextType {\n const settings = useContext(MainNavigationContext);\n\n return settings;\n}\n\nuseMainNavigation.displayName = \"useMainNavigation\";\n\nexport default useMainNavigation;\n","import React, { useEffect, useRef, useState } from \"react\";\nimport classNames from \"classnames\";\nimport { Close, ChevronDown } from \"@progressiveui/icons-react\";\nimport useSettings from \"../../hooks/useSettings\";\nimport useMainNavigation from \"../MainNavigation/useMainNavigation\";\n\n/**\n * MainNavigationItem component for use with MainNavigation. This component is a wrapper for the `a` element.\n */\ninterface MainNavigationItemProps extends React.ComponentPropsWithRef<\"a\"> {\n /**\n * If defined the `MainNaviationItem` will have a toggleable\n * SubNavigation. See the `SubNavigation` component for details on usage\n */\n subNavigation?: React.ReactNode;\n /**\n * If the subNavigation is open, the subNavigation will be as wide as the content\n */\n subNavWideAsContent?: boolean;\n /**\n * Specify the kind of the subNavigation\n */\n kind?: \"fullWidth\" | \"callout\";\n /**\n * Specify a callback that will be called when the subNavigation is opened or closed\n */\n onChangeSub?: (action: string, id?: number, e?: any) => void;\n /**\n * Specify if you want to use the external version of the component\n */\n external?: boolean;\n}\n\nconst MainNavigationItem = ({\n className,\n children,\n kind,\n subNavigation,\n subNavWideAsContent,\n}: MainNavigationItemProps) => {\n const { prefix } = useSettings();\n\n const { onChangeSub, activeMenuItem /*menuItem */ } = useMainNavigation();\n\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const [menuItemId] = useState(Math.random().toString(36));\n\n const wrapperRef = useRef<HTMLLIElement>(null);\n\n useEffect(() => {\n if (menuItemId === activeMenuItem) {\n document.addEventListener(\"mousedown\", handleClickOutside);\n } else {\n document.removeEventListener(\"mousedown\", handleClickOutside);\n }\n\n return () => {\n document.removeEventListener(\"mousedown\", handleClickOutside);\n };\n }, [activeMenuItem]);\n\n const handleClickOutside = (e) => {\n if (wrapperRef?.current && !wrapperRef.current.contains(e.target)) {\n onChangeSub(\"close\");\n }\n };\n\n const wrapperClasses = classNames(className, {\n [`${prefix}--main-navigation__item`]: true,\n [`${prefix}--main-navigation__item--open`]: menuItemId === activeMenuItem,\n [`${prefix}--content-width`]: subNavigation && subNavWideAsContent,\n });\n\n const triggerClasses = classNames({\n [`${prefix}--main-navigation__trigger`]: true,\n [`${prefix}--main-navigation__trigger--has-sub`]: subNavigation,\n [`${prefix}--main-navigation__trigger--open`]:\n menuItemId === activeMenuItem,\n });\n\n const Icon = menuItemId === activeMenuItem ? Close : ChevronDown;\n\n const subClasses = classNames({\n [`${prefix}--main-navigation__sub`]: true,\n [`${prefix}--main-navigation__sub--${kind}`]: kind,\n [`${prefix}--main-navigation__sub--open`]: menuItemId === activeMenuItem,\n });\n\n return (\n <li className={wrapperClasses} ref={wrapperRef as React.Ref<HTMLLIElement>}>\n <div\n className={triggerClasses}\n onClick={() => onChangeSub(\"toggle\", menuItemId)}\n >\n {children}\n {subNavigation && (\n <Icon\n className={`${prefix}--main-navigation__trigger__icon`}\n description={\n menuItemId === activeMenuItem ? \"close icon\" : \"expand icon\"\n }\n />\n )}\n </div>\n {subNavigation && <div className={subClasses}>{subNavigation}</div>}\n </li>\n );\n};\n\nexport default MainNavigationItem;\n","import * as React from \"react\";\n\n/** The SubNavigation is a toogleable part of the MainNavigation */\nexport const SubNavigation = ({ children, ...other }) => {\n return <div {...other}>{children}</div>;\n};\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n\ninterface SubNavigationItemProps extends React.ComponentPropsWithoutRef<\"div\"> {\n /**\n * Specify a the content of the SubNavigationItem\n */\n children?: React.ReactNode;\n}\n\nexport const SubNavigationItem = ({\n children,\n className,\n ...other\n}: SubNavigationItemProps) => {\n const { prefix } = useSettings();\n const classes = classNames(`${prefix}--sub-navigation__item`, className);\n\n return (\n <div className={classes} {...other}>\n {children}\n </div>\n );\n};\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n\ninterface SubNavigationHeaderProps\n extends React.ComponentPropsWithoutRef<\"div\"> {\n /**\n * Specify a the content of the SubNavigationHeader\n */\n children?: React.ReactNode;\n}\n\nexport const SubNavigationHeader = ({\n children,\n className,\n ...other\n}: SubNavigationHeaderProps) => {\n const { prefix } = useSettings();\n const classes = classNames(`${prefix}--sub-navigation__header`, className);\n\n return (\n <div className={classes} {...other}>\n {children}\n </div>\n );\n};\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n\ninterface SubNavigationTitleProps\n extends React.ComponentPropsWithoutRef<\"div\"> {\n /**\n * Specify a the content of the SubNavigationTitle\n */\n children?: React.ReactNode;\n}\n\nexport const SubNavigationTitle = ({\n children,\n className,\n ...other\n}: SubNavigationTitleProps) => {\n const { prefix } = useSettings();\n const classes = classNames(`${prefix}--sub-navigation__title`, className);\n\n return (\n <div className={classes} {...other}>\n {children}\n </div>\n );\n};\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n\ninterface SubNavigationLinkProps extends React.ComponentPropsWithoutRef<\"div\"> {\n /**\n * Specify a the content of the SubNavigationLink\n */\n children?: React.ReactNode;\n}\n\nexport const SubNavigationLink = ({\n children,\n className,\n ...other\n}: SubNavigationLinkProps) => {\n const { prefix } = useSettings();\n const classes = classNames(`${prefix}--sub-navigation__link`, className);\n\n return (\n <div className={classes} {...other}>\n {children}\n </div>\n );\n};\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n\ninterface SubNavigationFilterProps\n extends React.ComponentPropsWithoutRef<\"div\"> {\n /**\n * Specify a the content of the SubNavigationFilter\n */\n children?: React.ReactNode;\n}\n\nexport const SubNavigationFilter = ({\n children,\n className,\n ...other\n}: SubNavigationFilterProps) => {\n const { prefix } = useSettings();\n const classes = classNames(`${prefix}--sub-navigation__filter`, className);\n\n return (\n <div className={classes} {...other}>\n {children}\n </div>\n );\n};\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n\ninterface SubNavigationContentProps\n extends React.ComponentPropsWithoutRef<\"div\"> {\n /**\n * Specify a the content of the SubNavigationContent\n */\n children?: React.ReactNode;\n}\n\nexport const SubNavigationContent = ({\n children,\n className,\n ...other\n}: SubNavigationContentProps) => {\n const { prefix } = useSettings();\n const classes = classNames(`${prefix}--sub-navigation__content`, className);\n\n return (\n <div className={classes} {...other}>\n {children}\n </div>\n );\n};\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n\ninterface SubNavigationListProps extends React.ComponentPropsWithoutRef<\"div\"> {\n /**\n * Specify a the content of the SubNavigationList\n */\n children?: React.ReactNode;\n}\n\nexport const SubNavigationList = ({\n children,\n className,\n ...other\n}: SubNavigationListProps) => {\n const { prefix } = useSettings();\n const classes = classNames(`${prefix}--sub-navigation__list`, className);\n\n return (\n <div className={classes} {...other}>\n {children}\n </div>\n );\n};\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n\ninterface SubNavigationGroupProps\n extends Omit<React.ComponentPropsWithRef<\"div\">, \"title\"> {\n /**\n * Specify a the content of the SubNavigationGroup\n */\n children?: React.ReactNode;\n /**\n * Specify the number of columns\n */\n columns?: number;\n /**\n * The title of the SubNavigationGroup\n */\n title?: React.ReactNode;\n}\n\nexport const SubNavigationGroup = ({\n children,\n columns,\n className,\n title,\n ...other\n}: SubNavigationGroupProps) => {\n const { prefix } = useSettings();\n const classes = classNames(\n `${prefix}--sub-navigation__group`,\n {\n className,\n },\n {\n [`${prefix}--sub-navigation__group--columns`]: columns,\n [`${prefix}--sub-navigation__group--columns--${columns}`]: columns,\n }\n );\n\n return (\n <div className={classes} {...other}>\n {title && (\n <h3 className={`${prefix}--sub-navigation__group__title`}>{title}</h3>\n )}\n <div>{children}</div>\n </div>\n );\n};\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n\n/** The Story component adds a default style, formatting and spacing for a longer text with main focus on readability. */\n\nexport interface StoryProps extends React.AllHTMLAttributes<HTMLDivElement> {\n className?: string;\n}\n\nconst Story: React.FC<StoryProps> = ({ children, className, ...other }) => {\n const { prefix } = useSettings();\n\n const wrapperclassNames = classNames({\n [`${prefix}--story`]: true,\n [`${className}`]: className,\n });\n return (\n <div className={wrapperclassNames} {...other}>\n {children}\n </div>\n );\n};\n\nexport default Story;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\nimport { InputProps } from \"../Input\";\n\nimport { Close } from \"@progressiveui/icons-react\";\n\ninterface NotificationButtonProps\n extends InputProps,\n React.ComponentPropsWithRef<\"button\"> {\n /**\n * Specify a label to be read by screen readers on the notification button\n */\n ariaLabel?: string;\n\n /**\n * Specify an optional className to be applied to the notification button\n */\n className?: string;\n\n /**\n * Provide a description for \"close\" icon that can be read by screen readers\n */\n iconDescription?: string;\n\n /**\n * Specify an optional icon for the Button through a string,\n * if something but regular \"close\" icon is desirable\n */\n name?: string;\n\n /**\n * Specify the notification type\n */\n notificationType?: \"toast\" | \"inline\";\n\n /**\n * Optional prop to allow overriding the icon rendering.\n * Can be a React component class\n */\n renderIcon?: any; // TODO: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n\n /**\n * Optional prop to specify the type of the Button\n */\n type?: \"button\" | \"submit\" | \"reset\" | undefined;\n}\n\nexport const NotificationButton: React.FC<NotificationButtonProps> = ({\n ariaLabel = \"close notification\",\n className,\n iconDescription = \"close icon\",\n type = \"button\",\n renderIcon: IconTag = Close, // IconTag, // Close\n name,\n notificationType = \"toast\",\n ...other\n}) => {\n const { prefix } = useSettings();\n\n const buttonClassName = classNames(className, {\n [`${prefix}--${notificationType}-notification__close-button`]:\n notificationType,\n });\n const iconClassName = classNames({\n [`${prefix}--${notificationType}-notification__close-icon`]:\n notificationType,\n });\n\n // const Icon = renderIcon;\n\n return (\n // eslint-disable-next-line react/button-has-type\n <button\n {...other}\n type={type}\n aria-label={iconDescription}\n title={iconDescription}\n className={buttonClassName}\n >\n {IconTag && (\n <IconTag aria-label={ariaLabel} className={iconClassName} name={name} />\n )}\n </button>\n );\n};\n","import * as React from \"react\";\nimport Button from \"../Button/Button\";\nimport useSettings from \"../../hooks/useSettings\";\nimport classNames from \"classnames\";\n\ninterface NotificationActionButton {\n /**\n * Specify the content of the notification action button.\n */\n children?: React.ReactNode;\n\n /**\n * Specify an optional className to be applied to the notification action button\n */\n className?: string;\n\n /**\n * Optionally specify a click handler for the notification action button.\n */\n onClick?: () => void;\n}\n\n/** Notifications are messages that communicate information to the user. The two main types of notifications are toast notifications and inline notifications. */\nexport const NotificationActionButton: React.FC<NotificationActionButton> = ({\n children,\n className: customClassName,\n onClick,\n ...other\n}) => {\n const { prefix } = useSettings();\n\n const className = classNames(\n customClassName,\n `${prefix}--inline-notification__action-button`\n );\n\n return (\n <Button\n className={className}\n kind=\"ghost\"\n onClick={onClick}\n small //TODO size=\"small\"\n {...other}\n >\n {children}\n </Button>\n );\n};\n","import * as React from \"react\";\nimport useSettings from \"../../hooks/useSettings\";\n\ninterface NotificationTextDetailsProps {\n /*extends Omit<React.ComponentPropsWithRef<'div'>, 'title'> */ title?: React.ReactNode;\n subtitle?: React.ReactNode;\n caption?: React.ReactNode;\n notificationType?: \"toast\" | \"inline\";\n children?: React.ReactNode;\n}\n\nexport const NotificationTextDetails: React.FC<\n NotificationTextDetailsProps\n> = ({\n title,\n subtitle,\n caption,\n notificationType = \"toast\",\n children,\n ...other\n}) => {\n const { prefix } = useSettings();\n\n if (notificationType === \"toast\") {\n return (\n <div {...other} className={`${prefix}--toast-notification__details`}>\n {title && (\n <h3 className={`${prefix}--toast-notification__title`}>{title}</h3>\n )}\n <div className={`${prefix}--toast-notification__subtitle`}>\n {subtitle}\n </div>\n <div className={`${prefix}--toast-notification__caption`}>\n {caption}\n </div>\n {children}\n </div>\n );\n }\n\n return (\n <div {...other} className={`${prefix}--inline-notification__text-wrapper`}>\n {title && (\n <p className={`${prefix}--inline-notification__title`}>{title}</p>\n )}\n <div className={`${prefix}--inline-notification__subtitle`}>\n {children || subtitle}\n </div>\n </div>\n );\n};\n","import * as React from \"react\";\nimport useSettings from \"../../hooks/useSettings\";\n\nimport {\n Error,\n CheckmarkCircle,\n WarningSolid,\n InfoCircle,\n} from \"@progressiveui/icons-react\";\n\nconst iconTypes = {\n error: Error,\n success: CheckmarkCircle,\n warning: WarningSolid,\n info: InfoCircle,\n};\n\ninterface NotificationIconProps {\n iconDescription?: string;\n kind: \"error\" | \"info\" | \"success\" | \"warning\" | \"warning-alt\";\n notificationType: \"toast\" | \"inline\";\n}\n\nexport const NotificationIcon: React.FC<NotificationIconProps> = ({\n iconDescription,\n kind = \"info\",\n notificationType = \"toast\",\n}) => {\n const { prefix } = useSettings();\n const IconForKind = kind ? iconTypes[kind] : undefined;\n if (!IconForKind) {\n return null;\n }\n return (\n <IconForKind\n className={`${prefix}--${notificationType}-notification__icon`}\n >\n <title>{iconDescription}</title>\n </IconForKind>\n );\n};\n","import * as React from \"react\";\nimport { NotificationButton } from \"./NotificationButton\";\nimport { NotificationIcon } from \"./NotificationIcon\";\nimport { NotificationTextDetails } from \"./NotificationTextDetails\";\nimport useSettings from \"../../hooks/useSettings\";\nimport classNames from \"classnames\";\nimport { CalloutProps } from \"./Callout\";\n\ninterface ToastNotificationProps extends CalloutProps {\n /**\n * Specify the timeout in milliseconds\n */\n timeout?: number;\n}\n\nexport const ToastNotification: React.FC<ToastNotificationProps> = ({\n role = \"alert\",\n notificationType = \"toast\",\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n onClose = () => {},\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n onCloseButtonClick = () => {},\n iconDescription = \"closes notification\",\n statusIconDescription,\n className,\n //caption = 'provide a caption',\n subtitle,\n title = \"provide a title\",\n kind = \"error\",\n lowContrast = true,\n hideCloseButton = false,\n children,\n timeout = 0,\n ...other\n}) => {\n const { prefix } = useSettings();\n const [isOpen, setIsOpen] = React.useState(true);\n const containerClassName = classNames(className, {\n [`${prefix}--toast-notification`]: true,\n [`${prefix}--toast-notification--low-contrast`]: lowContrast,\n [`${prefix}--toast-notification--${kind}`]: kind,\n });\n\n const handleClose = (evt) => {\n if (!onClose || onClose(evt) !== false) {\n setIsOpen(false);\n }\n };\n\n function handleCloseButtonClick(event) {\n onCloseButtonClick(event);\n handleClose(event);\n }\n\n const savedOnClose = React.useRef(onClose);\n\n React.useEffect(() => {\n savedOnClose.current = onClose;\n });\n\n React.useEffect(() => {\n if (!timeout) {\n return;\n }\n\n const timeoutId = window.setTimeout((event) => {\n setIsOpen(false);\n if (savedOnClose.current) {\n savedOnClose.current(event);\n }\n }, timeout);\n\n return () => {\n window.clearTimeout(timeoutId);\n };\n }, [timeout]);\n\n if (!isOpen) {\n return null;\n }\n\n return (\n <div\n {...other}\n role={role}\n /* kind={kind} */ className={containerClassName}\n >\n <NotificationIcon\n kind={kind}\n iconDescription={statusIconDescription || `${kind} icon`}\n notificationType={notificationType}\n />\n <NotificationTextDetails\n title={title}\n subtitle={subtitle}\n //caption={caption}\n notificationType={notificationType}\n >\n {children}\n </NotificationTextDetails>\n {!hideCloseButton && (\n <NotificationButton\n iconDescription={iconDescription}\n notificationType={notificationType}\n onClick={handleCloseButtonClick}\n />\n )}\n </div>\n );\n};\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\nimport { NotificationTextDetails } from \"./NotificationTextDetails\";\nimport { NotificationIcon } from \"./NotificationIcon\";\n\nexport interface CalloutProps\n extends Omit<React.ComponentPropsWithRef<\"div\">, \"title\"> {\n /**\n * Pass in the action nodes that will be rendered within the Notification\n */\n actions?: React.ReactNode;\n\n /**\n * Provide a function that is called when menu is closed\n */\n onClose?: any;\n\n /**\n * Specify the close button should be disabled, or not\n */\n hideCloseButton?: boolean;\n\n /**\n * Pass in the icon that will be rendered within the Notification or set icon to false to hide\n */\n icon?: React.ReactNode | boolean;\n\n /**\n * Provide a description for \"close\" icon that can be read by screen readers\n */\n iconDescription?: string;\n\n /**\n * Specify what state the notification represents\n */\n kind?: \"error\" | \"info\" | \"success\" | \"warning\" | \"warning-alt\";\n\n /**\n * Specify whether you are using the low contrast variant of the Notification.\n */\n lowContrast?: boolean;\n\n /**\n * By default, this value is \"inline\". You can also provide an alternate type\n * if it makes sense for the underlying `<NotificationTextDetails>` and `<NotificationButton>`\n */\n notificationType?: \"toast\" | \"inline\";\n\n /**\n * Provide a function that is called when menu is closed\n */\n onCloseButtonClick?: (e: any) => void;\n\n /**\n * By default, this value is \"alert\". You can also provide an alternate\n * role if it makes sense from the accessibility-side\n */\n role?: string;\n\n /**\n * Provide a description for \"status\" icon that can be read by screen readers\n */\n statusIconDescription?: string;\n\n /**\n * Specify the sub-title\n */\n subtitle?: React.ReactNode;\n\n /**\n * Specify the title\n */\n title?: React.ReactNode;\n}\n\nexport const Callout: React.FC<CalloutProps> = React.forwardRef(\n (props, ref) => {\n const {\n actions,\n role = \"alert\",\n notificationType = \"inline\",\n icon,\n // iconDescription = 'closes notification',\n statusIconDescription,\n className,\n subtitle,\n title,\n kind = \"info\",\n lowContrast = true,\n hideCloseButton = false,\n children,\n ...other\n } = props;\n const { prefix } = useSettings();\n const containerClassName = classNames(className, {\n [`${prefix}--inline-notification`]: true,\n [`${prefix}--block-notification`]: true,\n [`${prefix}--inline-notification--low-contrast`]: lowContrast,\n [`${prefix}--inline-notification--${kind}`]: kind,\n [`${prefix}--inline-notification--hide-close-button`]: hideCloseButton,\n });\n\n return (\n <div {...other} ref={ref} role={role} className={containerClassName}>\n <div className={`${prefix}--inline-notification__details`}>\n {icon === undefined && (\n <NotificationIcon\n notificationType={notificationType}\n kind={kind}\n iconDescription={statusIconDescription || `${kind} icon`}\n />\n )}\n {icon && (\n <div\n className={`${prefix}--${notificationType}-notification__icon`}\n >\n {icon}\n </div>\n )}\n <NotificationTextDetails\n title={title}\n subtitle={subtitle}\n notificationType={notificationType}\n >\n {children}\n </NotificationTextDetails>\n {actions && (\n <div className={`${prefix}--inline-notification__actions-wrapper`}>\n {actions}\n </div>\n )}\n </div>\n </div>\n );\n }\n);\n\nCallout.displayName = \"Callout\";\n\nexport default Callout;\n","import * as React from 'react';\nimport classNames from 'classnames';\nimport useSettings from '../../hooks/useSettings';\n\nexport interface TableProps extends React.HTMLAttributes<HTMLTableElement> {\n withBorder?: boolean;\n responsive?: boolean;\n}\n\n/** Tables are used to make large volumes of data easy to understand and to access. */\nconst Table: React.FC<TableProps> = ({\n className,\n children,\n responsive,\n withBorder,\n ...other\n}) => {\n const { prefix } = useSettings();\n const classes = classNames(\n `${prefix}--table`,\n {\n [`${prefix}--table--responsive`]: responsive,\n [`${prefix}--table--with-border`]: withBorder,\n },\n className\n );\n return (\n <table {...other} className={classes}>\n {children}\n </table>\n );\n};\n\nexport default Table;\n","import * as React from \"react\";\nimport type { PropsWithChildren } from \"react\";\nimport classNames from \"classnames\";\nimport { CaretDown, CaretUp } from \"@progressiveui/icons-react\";\n\ntype TableSortingProps = PropsWithChildren<{\n isSorted?: boolean;\n isSortedDesc?: boolean;\n sortType?: boolean;\n withBorder?: boolean;\n className?: string;\n}>;\n\nconst TableSorting: React.FC<TableSortingProps> = ({\n className,\n isSorted,\n isSortedDesc,\n sortType,\n}) => {\n const classes = classNames(className, \"wfp--table--sorting\", {\n \"wfp--table--is-sorted\": isSorted,\n \"wfp--table--is-sortable\": sortType,\n });\n return (\n <span className={classes}>\n {isSorted ? isSortedDesc ? <CaretDown /> : <CaretUp /> : \"\"}\n </span>\n );\n};\n\nexport default TableSorting;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\nimport { Spacing, TextKind } from \"../../utils\";\n\ninterface TextProps extends React.AllHTMLAttributes<HTMLDivElement> {\n /**\n * Overrides the rendered HTML tag or React component.\n */\n as?: React.ElementType;\n /**\n * Specifies the kind of text to be displayed. This could be an enumeration that defines various text styles or types.\n */\n kind?: TextKind;\n\n /**\n * The content of the Text component, typically a string or nested React elements.\n */\n children?: React.ReactNode;\n\n /**\n * Spacing to be applied above the Text component. 'Spacing' could be a type that represents predefined spacing values.\n */\n spacingTop?: Spacing;\n\n /**\n * Spacing to be applied below the Text component. Similar to spacingTop, it uses the Spacing type for predefined values.\n */\n spacingBottom?: Spacing;\n\n /**\n * Additional custom class name(s) that can be applied to the Text component for styling purposes.\n */\n className?: string;\n}\n\nexport const textLookup: {\n [key in NonNullable<TextProps[\"kind\"]>]: React.ElementType;\n} = {\n h1: \"h1\",\n h2: \"h2\",\n h3: \"h3\",\n h4: \"h4\",\n h5: \"h5\",\n h6: \"h6\",\n title: \"h1\",\n subtitle: \"h3\",\n p: \"p\",\n caption: \"div\",\n code: \"code\",\n sup: \"sup\",\n i: \"i\",\n bold: \"b\",\n strong: \"strong\",\n a: \"a\",\n \"inline-highlight\": \"code\",\n \"story-subtitle\": \"h2\",\n \"story-title\": \"h1\",\n};\n\n/**\n *Text is a component for displaying paragraphs. You can use Text to standardize text across your web app. For longer sections or full articles use the <Story /> component instead.\n */\n\nconst Text = React.forwardRef<HTMLElement, TextProps>(\n (\n {\n as: asProp,\n children,\n className,\n kind,\n spacingTop,\n spacingBottom,\n ...rest\n },\n ref,\n ) => {\n const { prefix } = useSettings();\n const fallbackTag = undefined;\n const TagName: React.ElementType = asProp || \"div\";\n\n const classes = classNames(\n `${prefix}--text`,\n kind && `${prefix}--text__${kind}`,\n spacingTop && `${prefix}--text__spacing-top-${spacingTop}`,\n spacingBottom && `${prefix}--text__spacing-bottom-${spacingBottom}`,\n className,\n );\n\n return (\n <TagName ref={ref} className={classes} {...rest}>\n {children}\n </TagName>\n );\n },\n);\n\nText.displayName = \"Text\";\n\nexport default Text;\n","import Story from '../Story';\nimport React from 'react';\nimport { List, ListItem } from '../List';\nimport { Callout } from '../Notification';\nimport Table from '../Table';\nimport useSettings from '../../hooks/useSettings';\nimport Link from '../Link';\nimport Button from '../Button';\nimport { Accordion, AccordionItem } from '../Accordion';\nimport Text from '../Text';\n\n/** Links are used as navigational elements. They may appear on their own, within a sentence or paragraph, or directly following the content. */\n\nconst wrapper = (props) => <Story {...props} />;\n\nconst li = (props) => {\n const kind =\n typeof props.children === 'string' ? props.children.substring(0, 1) : '';\n\n if (kind === '✓' || kind === '✗')\n return (\n <ListItem kind={kind === '✓' ? 'checkmark' : 'cross'} {...props}>\n {props.children.substring(1, props.children.length)}\n </ListItem>\n );\n\n return <li {...props}>{props.children}</li>;\n};\n\nconst ul = ({ children, ...other }) => {\n return (\n <List {...other} kind=\"bullets\">\n {children}\n </List>\n );\n};\n\nconst ol = ({ children, ...other }) => {\n return (\n <List {...other} kind=\"ordered\">\n {children}\n </List>\n );\n};\n\nconst h1 = (props) => {\n return (\n <Text kind=\"h1\" {...props}>\n {props.children}\n </Text>\n );\n};\n\nconst h2 = (props) => {\n return (\n <Text kind=\"h2\" {...props}>\n {props.children}\n </Text>\n );\n};\n\nconst h3 = (props) => {\n return (\n <Text kind=\"h3\" {...props}>\n {props.children}\n </Text>\n );\n};\n\nconst h4 = (props) => {\n return (\n <Text kind=\"h4\" {...props}>\n {props.children}\n </Text>\n );\n};\n\nconst h5 = (props) => {\n return (\n <Text kind=\"h5\" {...props}>\n {props.children}\n </Text>\n );\n};\n\nconst p = (props) => {\n return <p {...props}>{props.children}</p>;\n};\n\nconst table = (props) => {\n return <Table {...props}>{props.children}</Table>;\n};\n\nconst a = (props) => {\n return (\n <Link inline {...props}>\n {props.children}\n </Link>\n );\n};\n\nconst code = (props) => {\n const settings = useSettings();\n return (\n <code className={`${settings.prefix}--story__code`} {...props}>\n {props.children}\n </code>\n );\n};\n\nconst pre = (props) => {\n const settings = useSettings();\n return (\n <pre className={`${settings.prefix}--story__pre`} {...props}>\n {props.children}\n </pre>\n );\n};\n\n/*const inlineCode = (props) => {\n const settings = useSettings();\n return (\n <code className={`${settings.prefix}--story__inlinecode`} {...props}>\n {props.children}\n </code>\n );\n};*/\n\nconst blockquote = ({ children, ...other }) => {\n if (Array.isArray(children) && children.length >= 2 && children[0].props)\n return (\n <Callout\n kind=\"info\"\n {...other}\n subtitle={children.map((e, i) => {\n if (i > 0) return e;\n })}\n title={children[0].props.children}\n />\n );\n return <Callout kind=\"info\" {...other} subtitle={children} />;\n};\n\n/*const code = ({ children, className, ...other }) => {\n const language = className && className.split('-');\n return (\n <PureSource\n format={false}\n dark\n language={(language && language[1]) || 'plaintext'}\n code={children as string}\n {...other}\n />\n );\n };\n */\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst mdxComponents: any = {\n wrapper,\n h1,\n h2,\n h3,\n h4,\n h5,\n p,\n li,\n a,\n ul,\n ol,\n code,\n pre,\n // inlineCode,\n table,\n blockquote,\n Button,\n Accordion,\n AccordionItem,\n};\n\nexport default mdxComponents;\n","import * as React from \"react\";\nimport Button from \"../Button\";\nimport useSettings from \"../../hooks/useSettings\";\nimport { ModalProps } from \"./Modal\";\n\nexport interface ModalFooterProps extends ModalProps {\n /*passiveModal?: boolean;\n secondaryButtonText?: string; */\n onSecondaryButtonClick?: (\n evt: React.MouseEvent<HTMLButtonElement, MouseEvent>,\n trigger: \"button\" | \"background\" | \"key\"\n ) => void;\n prefix?: string;\n}\n\nconst ModalFooter: React.FC<ModalFooterProps> = ({\n passiveModal,\n secondaryButtonText,\n onSecondaryButtonClick,\n primaryButtonText,\n onRequestSubmit,\n primaryButtonDisabled,\n secondaryButtonDisabled,\n danger,\n primaryButtonRef,\n secondaryButtonRef,\n}) => {\n const { prefix } = useSettings();\n if (passiveModal) return null;\n\n return (\n <div className={`${prefix}--modal-footer`}>\n <div className={`${prefix}--modal__buttons-container`}>\n {secondaryButtonText && (\n <Button\n kind=\"secondary\"\n disabled={secondaryButtonDisabled}\n id=\"secondaryButton\"\n onClick={(e) => {\n if (onSecondaryButtonClick) onSecondaryButtonClick(e, \"button\");\n }}\n ref={secondaryButtonRef as React.Ref<HTMLButtonElement>}\n >\n {secondaryButtonText}\n </Button>\n )}\n <Button\n kind={danger ? \"danger\" : \"primary\"}\n disabled={primaryButtonDisabled}\n onClick={onRequestSubmit}\n id=\"primaryButton\"\n ref={primaryButtonRef as React.Ref<HTMLButtonElement>}\n >\n {primaryButtonText}\n </Button>\n </div>\n </div>\n );\n};\nexport default ModalFooter;\n","/* eslint-disable @typescript-eslint/no-empty-function */\nimport React, { useRef } from \"react\";\nimport ReactDOM from \"react-dom\";\nimport classNames from \"classnames\";\nimport { Close } from \"@progressiveui/icons-react\";\nimport useSettings from \"../../hooks/useSettings\";\nimport ModalFooterDefault, { ModalFooterProps } from \"./ModalFooter\";\n\nexport interface ModalProps {\n /**\n * Specify the content of the modal header label.\n */\n modalLabel?: React.ReactNode;\n /**\n * Specify the content of the modal header title.\n */\n modalHeading?: React.ReactNode;\n modalText?: React.ReactNode;\n /**\n * Specify whether the modals content should be only loaded when the `Modal` is `open`\n */\n lazyLoad?: boolean;\n /**\n * Specify whether the modal should be button-less\n */\n passiveModal?: boolean;\n children?: React.ReactNode;\n components?: {\n Wrapper?: React.ReactNode;\n ModalFooter?: React.ReactNode;\n };\n /**\n * Specify a label to be read by screen readers on the modal root node\n */\n modalAriaLabel?: string;\n elementToAppend?: HTMLElement | null;\n modalSecondaryAction?: React.ReactNode;\n /**\n * Specify the text for the secondary button\n */\n secondaryButtonText?: React.ReactNode;\n /**\n * Specify whether the secondary Button should be disabled, or not\n */\n secondaryButtonDisabled?: boolean;\n /**\n * Specify a handler for the secondary button.\n * Useful if separate handler from `onRequestClose` is desirable\n */\n onSecondarySubmit?: () => void;\n /**\n * Specify the text for the primary button\n */\n primaryButtonText?: React.ReactNode;\n /**\n * Specify whether the Button should be disabled, or not\n */\n primaryButtonDisabled?: boolean;\n /**\n * Specify whether the Modal is currently open\n */\n open?: boolean;\n /**\n * Specify to hide the close button\n */\n hideClose?: boolean;\n warning?: boolean;\n /**\n * Specify whether the Modal is for dangerous actions\n */\n danger?: boolean;\n /**\n * Specify if Enter key should be used as \"submit\" action\n */\n shouldSubmitOnEnter?: boolean;\n /**\n * Specify CSS selectors that match DOM elements working as floating menus.\n * Focusing on those elements won't trigger \"focus-wrap\" behavior\n */\n selectorsFloatingMenus?: string[];\n /**\n * Specify a CSS selector that matches the DOM element that should\n * be focused when the Modal opens. If \"false\" no selector will be triggered\n */\n selectorPrimaryFocus?: boolean | string;\n /**\n * Different styling options are available `info`, `warning`, `danger`\n */\n type?: \"info\" | \"warning\" | \"danger\";\n /**\n * If true the Modal will be rendered inside a portal at the end of the\n * body element, otherwise at the position it is placed.\n */\n inPortal?: boolean;\n width?: \"narrow\" | \"wide\" | \"full\";\n kind?: \"dialog\" | \"fullscreen\";\n kindMobile?: \"dialog\" | \"bottomsheet\" | \"fullscreen\";\n /**\n * Overscroll behavior for modal content\n */\n overscrollBehavior?: \"modal\" | \"inside\";\n\n /**\n * If true the Modal will be wider then the regular Modal\n */\n wide?: boolean;\n /**\n * Specify a handler for closing modal.\n * The handler should care of closing modal, e.g. changing `open` prop.\n */\n onRequestClose?: (\n evt: React.UIEvent,\n trigger: \"button\" | \"key\" | \"background\",\n ) => void;\n /**\n * Specify a handler for \"submitting\" modal.\n * The handler should care of closing modal, e.g. changing `open` prop, if necessary.\n */\n onRequestSubmit?: () => void;\n /**\n * Provide a description for \"close\" icon that can be read by screen readers\n */\n iconDescription?: string;\n className?: string;\n /**\n * Specify the DOM element ID of the top-level node.\n */\n id?: string;\n backgroundImage?: string;\n //onKeyDown?: () => void;\n handleBlur?: (obj?: unknown) => void;\n primaryButtonRef?: React.RefObject<HTMLButtonElement>;\n secondaryButtonRef?: React.RefObject<HTMLButtonElement>;\n}\n\nconst matchesFuncName =\n typeof Element !== \"undefined\" &&\n [\"matches\", \"webkitMatchesSelector\", \"msMatchesSelector\"].filter(\n (name) => typeof Element.prototype[name] === \"function\",\n )[0];\n\n/** Modals focus the user’s attention exclusively on one task or piece of information via a window that sits on top of the page content. */\n\nfunction Modal(props: ModalProps) {\n const {\n modalHeading,\n modalLabel,\n className,\n components: componentsOverride = {},\n modalSecondaryAction,\n modalAriaLabel,\n passiveModal,\n children,\n elementToAppend,\n backgroundImage,\n open,\n lazyLoad,\n kind = \"dialog\",\n kindMobile = \"dialog\",\n overscrollBehavior = \"modal\",\n onRequestClose = () => {},\n // onRequestSubmit,\n onSecondarySubmit,\n iconDescription,\n inPortal = true,\n hideClose,\n handleBlur = () => {},\n wide,\n type,\n selectorPrimaryFocus,\n primaryButtonRef,\n secondaryButtonRef,\n // shouldSubmitOnEnter,\n ...other\n } = props;\n\n const { prefix } = useSettings();\n const button = useRef<HTMLButtonElement>(null);\n const outerModal = useRef<HTMLInputElement>(null);\n const innerModal = useRef<HTMLInputElement>(null);\n\n const el = elementToAppend\n ? elementToAppend\n : typeof document !== \"undefined\"\n ? document.body\n : undefined;\n\n const [beingOpen, setBeingOpen] = React.useState(false);\n\n // const handleKeyDown = (evt) => {\n // if (evt.which === 27) onRequestClose(evt, 'key');\n // if (evt.which === 13 && shouldSubmitOnEnter) onRequestSubmit(evt, 'key');\n // };\n\n const elementOrParentIsFloatingMenu = (target) => {\n const {\n selectorsFloatingMenus = [\n `.${prefix}--overflow-menu-options`,\n `.${prefix}--tooltip`,\n \".flatpickr-calendar\",\n ],\n } = props;\n if (target && typeof target.closest === \"function\") {\n return selectorsFloatingMenus.some((selector) =>\n target.closest(selector),\n );\n } else {\n // Alternative if closest does not exist.\n while (target) {\n if (matchesFuncName && typeof target[matchesFuncName] === \"function\") {\n if (\n // eslint-disable-next-line no-loop-func\n selectorsFloatingMenus.some((selector) =>\n target[matchesFuncName](selector),\n )\n ) {\n return true;\n }\n }\n target = target.parentNode;\n }\n return false;\n }\n };\n\n // const handleClick = (evt) => {\n // console.log(\n // 'evt.target',\n // evt,\n // innerModal.current.contains(evt.target),\n // innerModal.current\n // );\n // if (\n // innerModal.current &&\n // !innerModal.current.contains(evt.target) &&\n // !elementOrParentIsFloatingMenu(evt.target)\n // ) {\n // onRequestClose(evt, 'background');\n // }\n // };\n\n const handleCloseButton = (evt) => {\n onRequestClose(evt, \"button\");\n };\n\n const focusModal = () => {\n if (outerModal.current) outerModal.current.focus();\n };\n\n const handleBlurEvent = (evt) => {\n if (handleBlur) {\n handleBlur({\n evt,\n innerModal,\n open,\n elementOrParentIsFloatingMenu,\n focusModal,\n });\n } else if (\n innerModal.current &&\n open &&\n evt.relatedTarget &&\n !innerModal.current.contains(evt.relatedTarget) &&\n !elementOrParentIsFloatingMenu(evt.relatedTarget)\n ) {\n focusModal();\n }\n };\n\n const focusButton = (focusContainerElement) => {\n if (selectorPrimaryFocus === false) return;\n const primaryFocusElement =\n focusContainerElement.querySelector(selectorPrimaryFocus);\n if (primaryFocusElement) {\n primaryFocusElement.focus();\n return;\n }\n if (button?.current) {\n button.current.focus();\n }\n };\n\n const handleTransitionEnd = (evt) => {\n if (\n outerModal.current &&\n outerModal.current.offsetWidth &&\n outerModal.current.offsetHeight &&\n beingOpen\n ) {\n focusButton(evt.currentTarget);\n setBeingOpen(false);\n }\n };\n\n if (open === false && lazyLoad) return null;\n\n const components = { ModalFooter: ModalFooterDefault, ...componentsOverride };\n const ModalFooter = components.ModalFooter as React.FC<ModalFooterProps>;\n\n const onSecondaryButtonClick = onSecondarySubmit\n ? onSecondarySubmit\n : onRequestClose;\n\n const modalClasses = classNames(\n {\n [`${prefix}--modal`]: true,\n [`${prefix}--modal--wide`]: wide,\n [`${prefix}--modal--tall`]: !passiveModal,\n [`${prefix}--modal--background-image`]: backgroundImage,\n \"is-visible\": open,\n [`${prefix}--modal--warning`]: type === \"warning\" || props.warning,\n [`${prefix}--modal--danger`]: type === \"danger\" || props.danger,\n [`${prefix}--modal--desktop-${kind}`]: kind,\n [`${prefix}--modal--mobile-${kindMobile}`]: kindMobile,\n [`${prefix}--modal--scroll-${overscrollBehavior}`]: overscrollBehavior,\n },\n className,\n );\n\n const modalButton = !hideClose ? (\n <button\n className={`${prefix}--modal-close`}\n type=\"button\"\n id=\"closeButton\"\n onClick={handleCloseButton}\n ref={button}\n >\n <Close\n className={`${prefix}--modal-close__icon`}\n description={iconDescription}\n />\n </button>\n ) : null;\n\n const modalBody = (\n <div\n ref={innerModal}\n role=\"dialog\"\n className={`${prefix}--modal-container`}\n aria-label={modalAriaLabel}\n >\n <div className={`${prefix}--modal-header`}>\n {passiveModal && modalButton}\n <div>\n {modalLabel && (\n <h4 className={`${prefix}--modal-header__label`}>{modalLabel}</h4>\n )}\n <h2 className={`${prefix}--modal-header__heading`}>{modalHeading}</h2>\n </div>\n {modalSecondaryAction && <>{modalSecondaryAction}</>}\n {!passiveModal && modalButton}\n </div>\n <div className={`${prefix}--modal-content`}>{children}</div>\n <ModalFooter\n {...props}\n prefix={prefix}\n onSecondaryButtonClick={onSecondaryButtonClick}\n primaryButtonRef={primaryButtonRef}\n secondaryButtonRef={secondaryButtonRef}\n />\n </div>\n );\n\n const modal = (\n <div\n {...other}\n // onKeyDown={handleKeyDown}\n //onClick={handleClick}\n onBlur={handleBlurEvent}\n className={modalClasses}\n style={\n backgroundImage\n ? { backgroundImage: `url(${backgroundImage})` }\n : undefined\n }\n role=\"presentation\"\n tabIndex={-1}\n onTransitionEnd={open ? handleTransitionEnd : undefined}\n ref={outerModal}\n >\n <div className={`${prefix}--modal-inner`}>{modalBody}</div>\n </div>\n );\n\n if (inPortal && el) return ReactDOM.createPortal(modal, el);\n else return modal;\n}\n\nModal.displayName = \"Modal\";\n\nexport default Modal;\n","import * as React from \"react\";\nimport Modal from \"../Modal\";\nimport Button from \"../Button\";\nimport useSettings from \"../../hooks/useSettings\";\nimport { ButtonKind } from \"../../utils\";\nimport { ModalProps } from \"../Modal/Modal\";\n\n/** Modal Wrapper component to encapsulate your Modal within a button. */\ninterface ModalWrapperProps\n extends ModalProps,\n React.ComponentPropsWithRef<\"div\"> {\n /**\n * ID of the trigger button.\n */\n id?: string;\n /*status?: string;\n */\n disabled?: boolean;\n /**\n * Specify a custom trigger `Button`.\n */\n customButton?: React.ReactElement;\n /**\n * Specify the text for the trigger `Button`.\n */\n buttonTriggerText?: React.ReactNode;\n /**\n * Specify a `class` for the trigger `Button`.\n */\n buttonTriggerClassName?: string;\n /**\n * @param handle - function to open the modal\n */\n handleOpen?: () => void;\n /**\n * @param handle - function to submit content in the modal\n */\n handleSubmit?: (handle: () => void) => void;\n /**\n * @param handle - function to close the modal\n */\n handleClose?: () => void;\n /**\n * Specify the kind of trigger `Button`.\n */\n triggerButtonKind?: ButtonKind;\n /**\n * Specify whether the Modal should be closed after submit\n */\n shouldCloseAfterSubmit?: boolean;\n /**\n * Specify whether the primary button should be disabled or not\n */\n primaryButtonDisabled?: boolean;\n /**\n * A function that is called when the user presses the `Esc` key to close the modal.\n */\n onKeyDown?: (evt: React.KeyboardEvent<HTMLDivElement>) => void;\n}\n\nconst ModalWrapper: React.FC<ModalWrapperProps> = ({\n children,\n customButton,\n id,\n onKeyDown,\n buttonTriggerText,\n buttonTriggerClassName,\n triggerButtonKind,\n disabled,\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n handleSubmit = () => {},\n shouldCloseAfterSubmit = true,\n ...other\n}) => {\n const { prefix } = useSettings();\n const triggerButton = React.createRef<HTMLButtonElement>();\n const [isOpen, setIsOpen] = React.useState(false);\n\n const handleOpen = () => {\n setIsOpen(true);\n };\n\n const handleClose = () => {\n setIsOpen(false);\n if (!isOpen) {\n triggerButton.current && triggerButton.current.focus();\n if (handleClose) {\n handleClose();\n }\n }\n };\n\n const handleOnRequestSubmit = () => {\n if (handleSubmit) {\n handleSubmit(handleClose);\n if (shouldCloseAfterSubmit) {\n handleClose();\n }\n }\n };\n\n const props = {\n ...other,\n open: isOpen,\n onRequestClose: handleClose,\n onRequestSubmit: handleOnRequestSubmit,\n };\n\n const customButtonEl = customButton\n ? React.cloneElement(customButton, {\n disabled: disabled,\n onClick: handleOpen,\n inputref: triggerButton,\n })\n : undefined;\n\n return (\n <div\n role=\"presentation\"\n className={`${prefix}--modal__wrapper`}\n onKeyDown={(evt) => {\n if (evt.which === 27) {\n handleClose();\n onKeyDown && onKeyDown(evt);\n }\n }}\n >\n {customButton ? (\n <React.Fragment>{customButtonEl}</React.Fragment>\n ) : (\n <Button\n id={id}\n className={buttonTriggerClassName}\n disabled={disabled}\n kind={triggerButtonKind}\n onClick={handleOpen}\n ref={triggerButton}\n >\n {buttonTriggerText}\n </Button>\n )}\n <Modal {...props}>{children}</Modal>\n </div>\n );\n};\n\nModalWrapper.displayName = \"ModalWrapper\";\n\nexport default ModalWrapper;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n\n/** A Module is identifiable as a single, contained unit. */\ninterface ModuleProps extends React.HTMLAttributes<HTMLDivElement> {\n /**\n * * Specify the content of the `Module`, usually a `ModuleHeader` `ModuleBody` and `ModuleFooter`component.\n */\n children: React.ReactNode;\n /**\n * The CSS class name for the slider.\n */\n className?: string;\n /**\n * @deprecated Disables the default margin\n */\n noMargin?: boolean;\n /**\n * Use 100% height of parent container\n */\n fullHeight?: boolean;\n /**\n * Light appearance (for white backgrounds) @design\n */\n light?: boolean;\n /**\n * Dark appearance @design\n */\n dark?: boolean;\n /**\n * Additional hover styling @design\n */\n withHover?: boolean;\n /**\n * Margin size around the module @design\n */\n margin?: \"xs\" | \"md\" | \"lg\";\n}\n\nconst Module: React.FC<ModuleProps> = ({\n dark,\n light,\n children,\n className,\n margin,\n fullHeight,\n noMargin,\n withHover,\n ...other\n}) => {\n const { prefix } = useSettings();\n const wrapperClasses = classNames(\n {\n [`${prefix}--module--dark`]: dark,\n [`${prefix}--module--no-margin`]: noMargin || margin === undefined,\n [`${prefix}--module--full-height`]: fullHeight,\n [`${prefix}--module--margin-xs`]: margin === \"xs\",\n [`${prefix}--module--margin-md`]: margin === \"md\",\n [`${prefix}--module--margin-lg`]: margin === \"lg\",\n [`${prefix}--module--light`]: light,\n [`${prefix}--module--with-hover`]: withHover,\n },\n className,\n [`${prefix}--module`]\n );\n\n return (\n <div className={wrapperClasses} {...other}>\n <div className={`${prefix}--module__inner`}>{children}</div>\n </div>\n );\n};\n\nexport default Module;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\n\ninterface ModuleBodyProps extends React.HTMLAttributes<HTMLDivElement> {\n /**\n * Optional CSS class to apply to the body of the module. This allows for additional\n * styling to be applied on top of the default styles. @style\n */\n className?: string;\n /**\n * Specify whether the content within the ModuleBody should be centered. This can be\n * used to align content such as text or images in the center of the component for\n * visual appeal. @layout\n */\n centered?: boolean;\n /**\n * Specify whether the ModuleBody should have no padding. This can be useful for\n * scenarios where edge-to-edge content display is needed within the module. @layout\n */\n noPadding?: boolean;\n}\n\nconst ModuleBody: React.FC<ModuleBodyProps> = ({\n children,\n className,\n centered,\n noPadding,\n ...other\n}) => {\n const wrapperClasses = classNames(\"wfp--module__content\", className, {\n \"wfp--module__content--centered\": centered,\n \"wfp--module__content--no-padding\": noPadding,\n });\n\n return (\n <div className={wrapperClasses} {...other}>\n {children}\n </div>\n );\n};\n\nexport default ModuleBody;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\n\ninterface ModuleHeaderProps extends React.HTMLAttributes<HTMLDivElement> {\n /**\n * Optional CSS class to apply to the header. This allows for additional\n * styling to be applied on top of the default styles. @style\n */\n className?: string;\n /**\n * Optional filter element to be included in the header. This can be used\n * to incorporate interactive elements like dropdowns, search inputs, etc.,\n * providing additional functionality to the header component. @functionality\n */\n filter?: React.ReactNode;\n}\n\nconst ModuleHeader: React.FC<ModuleHeaderProps> = ({\n filter,\n children,\n className,\n ...other\n}) => {\n const wrapperClasses = classNames(\"wfp--module__header\", className);\n\n return (\n <div className={wrapperClasses} {...other}>\n <h1 className=\"wfp--module__title\">{children}</h1>\n {filter && <div className=\"wfp--module__filter\">{filter}</div>}\n </div>\n );\n};\n\nexport default ModuleHeader;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\n\ninterface ModuleFooterProps extends React.AllHTMLAttributes<HTMLDivElement> {\n /**\n * Optional CSS class to apply to the header. This allows for additional\n * styling to be applied on top of the default styles. @style\n */\n className?: string;\n}\n\nconst ModuleFooter: React.FC<ModuleFooterProps> = ({\n children,\n className,\n ...other\n}) => {\n const wrapperClasses = classNames(\"wfp--module__footer\", className);\n\n return (\n <div className={wrapperClasses} {...other}>\n {children}\n </div>\n );\n};\n\nexport default ModuleFooter;\n","/* eslint-disable @typescript-eslint/no-empty-function */\nimport * as React from \"react\";\nimport { useState, useRef, useEffect } from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\nimport Input, { InputProps } from \"../Input\";\nimport useInput, { UseInputProps } from \"../Input/useInput\";\n\ninterface NumberInputProps\n extends InputProps,\n Omit<React.ComponentPropsWithRef<\"input\">, \"onChange\" | \"value\"> {\n /**\n * The maximum value.\n */\n max?: string | number;\n /**\n * The minimum value.\n */\n min?: string | number;\n /**\n * Specify how much the valus should increase/decrease upon clicking on up/down button\n */\n step?: number;\n /**\n * `true` to allow empty string.\n */\n allowEmpty?: boolean;\n /**\n * Specify if the control should be disabled, or not\n */\n disabled?: boolean;\n /**\n * Specify a custom `id` for the input\n */\n id?: string;\n /**\n * Provide text that is used alongside the control label for additional help\n */\n helperText?: React.ReactNode;\n /**\n * Specify whether you want the underlying label to be visually hidden\n */\n hideLabel?: boolean;\n /**\n * Specify whether you want the up/down buttons to be hidden\n */\n hideControls?: boolean;\n /**\n * `true` to use the light version.\n */\n light?: boolean;\n /**\n * Specify the regular expression that the value should match using the html pattern attribute\n */\n pattern?: string;\n /**\n * Provide a label for the control\n */\n labelText?: React.ReactNode;\n /**\n * The new value is available in 'imaginaryTarget.value'\n * i.e. to get the value: evt.imaginaryTarget.value or in th second argument provided to the onChange prop\n */\n onChange?: (\n evt?: React.ChangeEvent | any,\n value?: number,\n direction?: string,\n ) => void;\n /**\n * Provide an optional function to be called when the up/down button is clicked\n */\n onClick?: (\n evt?: React.MouseEvent,\n value?: number,\n direction?: string,\n ) => void;\n /**\n * Specify the value of the input, if undefined or null the value is empty\n */\n value?: \"\" | number | string;\n}\n\nconst countDecimals = (value: string) => {\n const valueFloat = parseFloat(value);\n if (Math.floor(valueFloat) === valueFloat) return 0;\n return value.split(\".\")[1].length || 0;\n};\n\nconst capMin = (min, value) =>\n isNaN(min) || (!min && min !== 0) || isNaN(value) || (!value && value !== 0)\n ? value\n : Math.max(min, value);\nconst capMax = (max, value) =>\n isNaN(max) || (!max && max !== 0) || isNaN(value) || (!value && value !== 0)\n ? value\n : Math.min(max, value);\n\n/** The number input component is used for entering numeric values and includes controls for incrementally increasing or decreasing the value */\n\nconst NumberInput: React.FC<NumberInputProps> = React.forwardRef(\n (props, ref) => {\n const {\n className,\n disabled,\n id,\n hideLabel,\n hideControls,\n max,\n min,\n step = 1,\n onChange = () => {},\n onClick = () => {},\n helperText,\n light,\n //allowEmpty,\n pattern = \"[0-9]*\",\n // ...other\n } = props;\n const { prefix } = useSettings();\n\n const initialValue = capMax(max, capMin(min, props.value));\n const [value, setValue] = useState(initialValue);\n\n useEffect(() => {\n setValue(props.value);\n }, [props.value]);\n\n const newInputRef = useRef<HTMLInputElement>(null);\n const _inputRef = ref ? ref : newInputRef;\n\n const handleChange = (evt) => {\n if (!disabled) {\n evt.persist();\n evt.imaginaryTarget = _inputRef;\n\n setValue(evt.target.value);\n onChange(evt, parseFloat(evt.target.value));\n }\n };\n\n const handleArrowClick = (evt, direction) => {\n let valueState = typeof value === \"string\" ? Number(value) : value;\n valueState = isNaN(valueState) ? 0 : valueState;\n\n const conditional =\n direction === \"down\"\n ? (min !== undefined && valueState > min) || min === undefined\n : (max !== undefined && valueState < max) || max === undefined;\n\n const stepString = step.toString();\n valueState =\n direction === \"down\"\n ? valueState - step\n : valueState + parseFloat(stepString);\n valueState = capMax(max, capMin(min, valueState));\n valueState = parseFloat(valueState.toFixed(countDecimals(stepString)));\n\n if (!disabled && conditional) {\n evt.persist();\n evt.imaginaryTarget = _inputRef;\n evt.target.value = parseFloat(valueState);\n onClick(evt, direction);\n setValue(valueState);\n onChange(evt, valueState, direction);\n }\n };\n\n const numberInputClasses = classNames(`${prefix}--number`, className, {\n [`${prefix}--number--light`]: light,\n [`${prefix}--number--helpertext`]: helperText,\n [`${prefix}--number--nolabel`]: hideLabel,\n [`${prefix}--number--nocontrols`]: hideControls,\n });\n\n const newProps = {\n disabled,\n id,\n max,\n min,\n step,\n onChange: handleChange,\n value: value,\n };\n\n const useInputProps = props as UseInputProps;\n const { inputProps, wrapperProps } = useInput({\n ...useInputProps,\n type: \"number\",\n });\n\n return (\n <Input {...wrapperProps} inputWrapperClassName={numberInputClasses}>\n <div className={`${prefix}--number__controls`}>\n <button\n className={`${prefix}--number__control-btn up-icon`}\n type=\"button\"\n disabled={disabled}\n onClick={(evt) => handleArrowClick(evt, \"up\")}\n >\n +\n </button>\n <button\n className={`${prefix}--number__control-btn down-icon`}\n type=\"button\"\n disabled={disabled}\n onClick={(evt) => handleArrowClick(evt, \"down\")}\n >\n −\n </button>\n <input pattern={pattern} {...inputProps} {...newProps} ref={ref} />\n </div>\n </Input>\n );\n },\n);\n\nNumberInput.displayName = \"NumberInput\";\n\nexport default NumberInput;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport { /* CaretDown, */ ChevronDown } from \"@progressiveui/icons-react\";\n\nimport useSettings from \"../../hooks/useSettings\";\nimport Input, { InputProps, useInput } from \"../Input\";\nimport { UseInputProps } from \"../Input/useInput\";\n\ninterface SelectProps\n extends InputProps,\n React.ComponentPropsWithRef<\"select\"> {\n /**\n * Specify whether you want the inline version of this control\n */\n inline?: boolean;\n /**\n * Optionally provide the default value of the `<select>`\n */\n defaultValue?: string;\n /**\n * Provide a description for the twistie icon that can be read by screen readers\n */\n iconDescription?: string;\n /**\n * Specify whether the label should be hidden, or not\n */\n hideLabel?: boolean;\n children?: React.ReactNode;\n}\n\n/** The select component allows users to choose one option from a list. It is used in forms for users to submit data. */\n\nconst Select: React.FC<SelectProps> = React.forwardRef((props, ref) => {\n const {\n className,\n inline,\n disabled,\n children,\n iconDescription,\n light,\n hideLabel,\n } = props;\n\n const { prefix } = useSettings();\n\n const selectClasses = classNames(\n {\n [`${prefix}--select-input`]: true,\n [`${prefix}--select--inline`]: inline,\n [`${prefix}--select--light`]: light,\n // [`${prefix}--select--invalid`]: invalid,\n [`${prefix}--select--disabled`]: disabled,\n },\n className\n );\n\n /*const ariaProps = {};\n if (invalid) {\n //TODO: check if correct\n ariaProps['aria-describedby'] = usedId;\n }*/\n const useInputProps = props as UseInputProps;\n const { inputProps, wrapperProps } = useInput({\n ...useInputProps,\n inputClassName: selectClasses,\n });\n\n return (\n <Input\n {...wrapperProps}\n inputWrapperClassName={`${prefix}--select`}\n hideLabel={hideLabel}\n >\n <select\n //{...other}\n //{...ariaProps}\n\n //className={`${prefix}--select-input`}\n {...inputProps}\n /*disabled={disabled || undefined}\n data-invalid={invalid || undefined}\n aria-invalid={invalid || undefined} */\n ref={ref as React.Ref<HTMLSelectElement>}\n >\n {children}\n </select>\n\n <ChevronDown\n className={`${prefix}--select__arrow`}\n description={iconDescription}\n />\n </Input>\n );\n});\n\nSelect.displayName = \"Select\";\n\nexport default Select;\n","import React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n\ninterface SelectItemProps extends React.ComponentPropsWithRef<\"option\"> {\n /**\n * Specify the value of the <SelectItem>\n */\n value?: string | number;\n /**\n * Specify an optional className to be applied to the node\n */\n className?: string;\n /**\n * Specify whether the <SelectItem> should be disabled\n */\n disabled?: boolean;\n /**\n * Specify whether the <SelectItem> is hidden\n */\n hidden?: boolean;\n /**\n * Provide the contents of your <SelectItem>\n */\n text: string;\n}\n\nfunction SelectItem({\n className,\n value,\n disabled,\n hidden,\n text,\n ...other\n}: SelectItemProps) {\n const { prefix } = useSettings();\n const selectItemClasses = classNames({\n [`${prefix}--select-option`]: true,\n [`${className}`]: className,\n });\n\n return (\n <option\n {...other}\n className={selectItemClasses}\n value={value}\n disabled={disabled}\n hidden={hidden}\n >\n {text}\n </option>\n );\n}\n\nSelectItem.displayName = \"SelectItem\";\n\nexport default SelectItem;\n","import React, { useState, ChangeEvent } from \"react\";\nimport classnames from \"classnames\";\nimport { ChevronLeft, ChevronRight } from \"@progressiveui/icons-react\";\nimport Select from \"../Select\";\nimport SelectItem from \"../SelectItem\";\n// import { equals } from '../../tools/array';\n\ninterface PaginationProps {\n /**\n * The description for the backward icon.\n */\n backwardText?: string;\n /**\n * The CSS class names.\n */\n className?: string;\n /**\n * The function returning a translatable text showing where the current page is,\n * in a manner of the range of items.\n */\n itemRangeText?: (min: number, max: number, total: number) => string;\n /**\n * The description for the forward icon.\n */\n forwardText?: string;\n /**\n * The unique ID of this component instance.\n */\n id?: string | number;\n /**\n * The translatable text indicating the number of items per page.\n */\n itemsPerPageText?: string;\n /**\n * A variant of `itemsPerPageText`, with a sign indicating that the number follows, e.g. ':'.\n */\n itemsPerPageFollowsText?: string;\n /**\n * A variant of `itemRangeText`, used if the total number of items is unknown.\n */\n itemText?: (min: number, max: number) => string;\n /**\n * The callback function called when the current page changes.\n */\n onChange?: (params: { page: number; pageSize: number }) => void;\n /**\n * A function returning PII showing where the current page is.\n */\n pageRangeText?: (current: number, total: number) => string;\n /**\n * The translatable text showing the current page.\n */\n pageText?: (page: number) => string;\n /**\n * The choices for `pageSize`.\n */\n pageSizes: number[];\n /**\n * `true` if ture the pageSizes should be not visible.\n */\n pageSizesDisabled?: boolean;\n /**\n * The total number of items.\n */\n totalItems?: number;\n /**\n * `true` if the backward/forward buttons should be disabled.\n */\n disabled?: boolean;\n /**\n * The current page.\n */\n page?: number;\n /**\n * The number dictating how many items a page contains.\n */\n pageSize?: number;\n pageNumberText?: string;\n /**\n * `true` if the total number of items is unknown.\n */\n pagesUnknown?: boolean;\n /**\n * `true` if the current page should be the last page.\n */\n isLastPage?: boolean;\n /**\n * `true` if the select box to change the page should be disabled.\n */\n pageInputDisabled?: boolean;\n}\n\nlet instanceId = 0;\n\nconst Pagination = (props: PaginationProps) => {\n const {\n backwardText = \"Backward\",\n className,\n forwardText = \"Forward\",\n id,\n itemsPerPageText = \"Items per page:\",\n itemsPerPageFollowsText,\n itemRangeText = (min, max, total) => `${min}-${max} of ${total} items`,\n pageRangeText = (current, total) => `${current} of ${total} pages`,\n pageSize, //eslint-disable-line\n pageSizesDisabled,\n pageSizes,\n itemText = (min, max) => `${min}-${max} items`,\n pageText = (page) => `page ${page}`,\n pageNumberText = \"Page Number\", //eslint-disable-line\n pagesUnknown = false,\n isLastPage = false,\n pageInputDisabled = false,\n totalItems,\n onChange,\n page: pageNumber = 1,\n ...other\n } = props;\n\n const [page, setPage] = useState<number>(pageNumber);\n const [pageSizeState, setPageSize] = useState<number>(\n props.pageSize ? props.pageSize : pageSizes[0]\n );\n const uniqueId = useState<number>(() => ++instanceId)[0];\n\n const handleSizeChange = (evt: ChangeEvent<HTMLSelectElement>) => {\n const pageSize = Number(evt.target.value);\n setPage(1);\n setPageSize(pageSize);\n onChange?.({ page: 1, pageSize });\n };\n\n // const handlePageChange = (evt: ChangeEvent<HTMLSelectElement>) => {\n // setPage(Number(evt.target.value));\n // };\n\n const handlePageInputChange = (evt: ChangeEvent<HTMLSelectElement>) => {\n const page = Number(evt.target.value);\n if (\n page > 0 &&\n page <= Math.max(Math.ceil(totalItems! / pageSizeState), 1)\n ) {\n setPage(page);\n onChange?.({ page, pageSize: pageSizeState });\n }\n };\n\n const incrementPage = () => {\n const newPage = page + 1;\n setPage(newPage);\n onChange?.({ page: newPage, pageSize: pageSizeState });\n };\n\n const decrementPage = () => {\n const newPage = page - 1;\n setPage(newPage);\n onChange?.({ page: newPage, pageSize: pageSizeState });\n };\n\n const renderSelectItems = (total: number) => {\n let counter = 1;\n const itemArr: React.ReactNode[] = [];\n while (counter <= total) {\n itemArr.push(\n <SelectItem key={counter} value={counter} text={String(counter)} />\n );\n counter++;\n }\n return itemArr;\n };\n\n const classNames = classnames(\"wfp--pagination\", className);\n const backButtonClasses = classnames(\n \"wfp--pagination__button\",\n \"wfp--pagination__button--backward\",\n {\n \"wfp--pagination__button--no-index\": pageInputDisabled,\n }\n );\n const inputId = id || uniqueId;\n const totalPages = Math.max(Math.ceil(totalItems! / pageSizeState), 1);\n const selectItems = renderSelectItems(totalPages);\n\n return (\n <div className={classNames} {...other}>\n <div className=\"wfp--pagination__left\">\n {!pageSizesDisabled && (\n <React.Fragment>\n <span className=\"wfp--pagination__text\">\n {itemsPerPageFollowsText || itemsPerPageText}\n </span>\n <Select\n id={`wfp-pagination-select-${inputId}`}\n labelText={itemsPerPageText}\n hideLabel\n inline\n onChange={handleSizeChange}\n value={pageSizeState}\n >\n {pageSizes.map((size) => (\n <SelectItem key={size} value={size} text={String(size)} />\n ))}\n </Select>\n <span className=\"wfp--pagination__text\">\n {\" \"}\n &nbsp;&nbsp;|&nbsp;&nbsp;\n </span>\n </React.Fragment>\n )}\n <span className=\"wfp--pagination__text\">\n {pagesUnknown\n ? itemText!(pageSizeState * (page - 1) + 1, page * pageSizeState)\n : itemRangeText!(\n Math.min(pageSizeState * (page - 1) + 1, totalItems!),\n Math.min(page * pageSizeState!, totalItems!),\n totalItems!\n )}\n </span>\n </div>\n <div className=\"wfp--pagination__right wfp--pagination--inline\">\n <span className=\"wfp--pagination__text\">\n {pagesUnknown ? pageText!(page) : pageRangeText!(page, totalPages)}\n </span>\n <button\n className={backButtonClasses}\n onClick={decrementPage}\n disabled={props.disabled || page === 1}\n >\n <ChevronLeft\n className=\"wfp--pagination__button-icon\"\n description={backwardText}\n />\n </button>\n {pageInputDisabled ? null : (\n <Select\n id={`wfp-pagination-select-${+inputId + 2}`}\n labelText={itemsPerPageText}\n hideLabel\n inline\n onChange={handlePageInputChange}\n value={page}\n >\n {selectItems}\n </Select>\n )}\n <button\n className=\"wfp--pagination__button wfp--pagination__button--forward\"\n onClick={incrementPage}\n disabled={props.disabled || page === totalPages || isLastPage}\n >\n <ChevronRight\n className=\"wfp--pagination__button-icon\"\n description={forwardText}\n />\n </button>\n </div>\n </div>\n );\n};\n\nPagination.displayName = \"Pagination\";\n\nexport default Pagination;\n","let lastId = 0;\n\nexport function uniqueId(prefix = 'id') {\n lastId++;\n return `${prefix}${lastId}`;\n}\n\nexport default uniqueId;\n","import * as React from \"react\";\nimport { useState, ChangeEventHandler } from \"react\";\nimport classNames from \"classnames\";\nimport uId from \"../../tools/uniqueId\";\nimport useSettings from \"../../hooks/useSettings\";\nimport { InputProps } from \"../Input\";\n\ninterface RadioButtonProps\n extends InputProps,\n Omit<React.ComponentPropsWithRef<\"input\">, \"onChange\"> {\n /**\n * Specify whether the <RadioButton> is currently checked\n */\n checked?: boolean;\n\n /**\n * Specify whether the <RadioButton> should be checked by default\n */\n defaultChecked?: boolean;\n /**\n * Specify whether the control is disabled\n */\n disabled?: boolean;\n /**\n * Provide an optional `onChange` hook that is called each time the value of\n * the underlying `input` changes\n */\n onChange?: (\n event: React.ChangeEvent<HTMLInputElement>,\n value: string | number,\n name?: string\n ) => void;\n /**\n * Specify the value of the <RadioButton>\n */\n value: string | number;\n}\n\nconst RadioButton: React.FC<RadioButtonProps> = React.forwardRef(\n (props, ref) => {\n const { labelText, id, className, value, name, onChange, ...other } = props;\n\n const [uid] = useState<string>(id || uId());\n\n const { prefix } = useSettings();\n\n const wrapperClasses = classNames(\"radioButtonWrapper\", className);\n\n const handleOnChange: ChangeEventHandler<HTMLInputElement> = (evt) => {\n onChange?.(evt, value, name);\n };\n\n const handleChange = onChange\n ? {\n onChange: handleOnChange,\n }\n : {};\n\n return (\n <div className={wrapperClasses}>\n <input\n {...other}\n ref={ref}\n type=\"radio\"\n className={`${prefix}--radio-button`}\n {...handleChange}\n id={uid}\n value={value}\n name={name}\n checked={props.checked}\n defaultChecked={props.defaultChecked}\n disabled={props.disabled}\n />\n <label htmlFor={uid} className={`${prefix}--radio-button__label`}>\n <span className={`${prefix}--radio-button__appearance`} />\n {labelText}\n </label>\n </div>\n );\n }\n);\n\nRadioButton.displayName = \"RadioButton\";\n\nexport default RadioButton;\n","import React, { useEffect, useState } from 'react';\nimport classNames from 'classnames';\n//import RadioButton from '../RadioButton';\n//import warning from 'warning';\nimport useSettings from '../../hooks/useSettings';\nimport { InputProps } from '../Input/Input';\n\n/**\n * InputGroup allows you to organize and arange multiple input elements.\n */\n\ninterface InputGroupProps\n extends InputProps,\n React.ComponentPropsWithoutRef<'div'> {\n /**\n * Provide a collection of <RadioButton> components to render in the group\n */\n children?: React.ReactNode;\n /**\n * Specify the <RadioButton> to be selected by default\n */\n defaultSelected?: string | number;\n\n /**\n * Specify the name of the underlying `input` nodes\n */\n name?: string;\n\n /**\n * Provide an optional `onChange` hook that is called whenever the value of\n * the group changes\n */\n //onChange: (value: string | number) => void;\n\n /**\n * Specify the value that is currently selected in the group\n */\n valueSelected?: string | number;\n\n /**\n * Specify whether the elements should be displayed vertically.\n */\n\n vertical?: boolean;\n\n /**\n * Specify whether you want the underlying label to be visually hidden\n */\n\n hideLabel?: boolean;\n /**\n * Provide text that is used alongside the control label for additional help\n */\n\n helperText?: React.ReactNode;\n\n /**\n * Provide the text that will be read by a screen reader when visiting this\n * control\n */\n labelText?: React.ReactNode;\n controlled?: boolean;\n wrapperClassName?: string;\n}\n\n/*InputGroup.defaultProps = {\n onChange: () => {},\n controlled: false,\n };*/\n\nconst InputGroup: React.FC<InputGroupProps> = (props) => {\n const { prefix } = useSettings();\n\n const {\n children,\n //disabled,\n labelText,\n helperText,\n //controlled,\n vertical,\n hideLabel,\n className = `${prefix}--input-group`,\n wrapperClassName,\n valueSelected,\n defaultSelected,\n } = props;\n\n const [prevValueSelected, setPrevValueSelected] = useState(\n valueSelected || defaultSelected\n );\n //const [selected, setSelected] = useState();\n\n useEffect(() => {\n if (valueSelected !== prevValueSelected) {\n setPrevValueSelected(valueSelected);\n //TODO: setSelected(valueSelected || defaultSelected);\n }\n }, [valueSelected, defaultSelected]);\n\n const labelClasses = classNames(`${prefix}--label`, {\n [`${prefix}--visually-hidden`]: hideLabel,\n });\n\n const wrapperClasses = classNames(`${prefix}--form-item`, {\n [`${prefix}--input-group__vertical`]: vertical,\n wrapperClassName,\n });\n\n const label = labelText ? (\n <span className={labelClasses}>{labelText}</span>\n ) : null;\n\n const helper = helperText ? (\n <div className={`${prefix}--form__helper-text`}>{helperText}</div>\n ) : null;\n\n return (\n <div className={wrapperClasses}>\n <div className={className}>\n {label}\n {helper}\n <div className={`${prefix}--input-group-inside`}>\n {/*controlled ? getRadioButtons() : */ children}\n </div>\n </div>\n </div>\n );\n};\n\nInputGroup.displayName = 'InputGroup';\n\nexport default InputGroup;\n","import React, { useRef, useState } from \"react\";\nimport classNames from \"classnames\";\nimport Link from \"../Link\";\nimport { CaretUp, ChevronUp } from \"@progressiveui/icons-react\";\nimport useSettings from \"../../hooks/useSettings\";\nimport { useId } from \"../../hooks/useId\";\n\nconst MoreLink = ({ handleToggleClick, link, text, showMore, contentId }) => {\n const { prefix } = useSettings();\n const ariaProps = {\n \"aria-expanded\": showMore,\n \"aria-controls\": contentId,\n };\n\n if (link) {\n const clonedLink = React.cloneElement(link, {\n onClick: handleToggleClick,\n ...ariaProps, // Spread ariaProps into the clone\n });\n return clonedLink;\n } else {\n const Icon = ChevronUp;\n\n const classes = classNames({\n [`${prefix}--read-more__trigger`]: true,\n [`${prefix}--read-more__trigger--expanded`]: showMore,\n });\n\n return (\n <Link\n className={classes}\n size=\"sm\"\n onClick={handleToggleClick}\n {...ariaProps} // Add aria attributes to the link\n >\n {text}\n <Icon\n width=\"10\"\n height=\"10\"\n description={showMore ? \"icon up\" : \"icon down\"}\n />\n </Link>\n );\n }\n};\n\nexport interface ReadMoreProps extends React.HTMLAttributes<HTMLSpanElement> {\n /**\n * Specify an optional className to be applied to the wrapper node\n */\n className?: string;\n /**\n * The content of the collapsed content (optional)\n */\n collapsed?: boolean;\n /**\n * A custom link for collapsing\n */\n collapseLink?: React.ReactNode;\n /**\n * Custom text for collapsing\n */\n collapseText?: React.ReactNode;\n /**\n * Disable the scroll into view on expanding\n */\n disableAutoscroll?: boolean;\n /**\n * A custom link for expanding\n */\n expandLink?: React.ReactNode;\n /**\n * Custom text for expanding\n */\n expandText?: React.ReactNode;\n /**\n * Enables the fade effect when the content is collapsed (optional) when enabled collapsed will be ignored\n */\n fade?: boolean;\n /**\n * The maximum height when the content is collapsed (optional)\n */\n maxHeight?: number;\n}\n\n/** ReadMore component is a simple way to keep longer content from cluttering up your page, giving you more control over how much content is displayed to visitor */\nfunction ReadMore({\n collapseLink,\n collapseText = \"Show less\",\n children,\n collapsed,\n className,\n disableAutoscroll,\n expandLink,\n expandText = \"Show more\",\n fade,\n maxHeight,\n}: ReadMoreProps) {\n const { prefix } = useSettings();\n const [showMore, setShowMore] = useState(false);\n const [innerHeight, setInnerHeight] = useState(0);\n const readMoreRef = useRef<HTMLInputElement>(null);\n const readMoreFakeRef = useRef<HTMLInputElement>(null);\n const internalId = useId();\n\n // Generate a unique ID for the content container\n const contentId = `${internalId}-read-more-content`;\n\n const handleToggleClick = (e) => {\n e.preventDefault();\n const innerHeight = readMoreRef?.current?.clientHeight;\n\n if (!showMore && !disableAutoscroll)\n setTimeout(() => {\n if (readMoreFakeRef?.current)\n readMoreFakeRef.current.scrollIntoView({\n behavior: \"smooth\",\n block: \"end\",\n });\n }, 50);\n\n setShowMore(!showMore);\n if (innerHeight) {\n setInnerHeight(innerHeight);\n }\n };\n\n const classes = classNames(className, {\n [`${prefix}--read-more`]: true,\n [`${prefix}--read-more--expanded`]: showMore,\n [`${prefix}--read-more--fade`]: fade,\n [`${prefix}--read-more--max-height`]: maxHeight,\n });\n\n const contentStyle = !maxHeight\n ? {\n undefined,\n }\n : maxHeight && !showMore\n ? {\n maxHeight: maxHeight,\n }\n : {\n maxHeight: innerHeight + 20,\n };\n\n const collapseStyle = showMore\n ? {\n display: \"none\",\n }\n : {\n display: \"block\",\n };\n\n return (\n <div className={classes}>\n <div\n className={`${prefix}--read-more__content`}\n style={contentStyle}\n id={contentId}\n >\n <div\n className={`${prefix}--read-more__fake-height`}\n ref={readMoreFakeRef}\n style={{ height: `${innerHeight + 30}px` }}\n ></div>\n <div ref={readMoreRef}>\n {(showMore || !collapsed) && children}\n {collapsed && <div style={collapseStyle}>{collapsed}</div>}\n </div>\n </div>\n <MoreLink\n handleToggleClick={handleToggleClick}\n showMore={showMore}\n link={showMore ? collapseLink : expandLink}\n text={showMore ? collapseText : expandText}\n contentId={contentId}\n />\n </div>\n );\n}\n\nReadMore.displayName = \"ReadMore\";\n\nexport default ReadMore;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport Wrapper from \"../Wrapper\";\nimport useSettings from \"../../hooks/useSettings\";\n\n/** The SecondaryNavigation shows the page title and and optional tab navigation. */\nexport interface SecondaryNavigationProps\n extends React.HTMLAttributes<HTMLDivElement> {\n className?: string;\n /**\n * Specify the max-width on desktop devices (same as \\`Wrapper\\` component)\n */\n pageWidth?: \"sm\" | \"md\" | \"lg\" | \"full\";\n /**\n * The CSS class name to be placed on the wrapping element\n */\n wrapperClassName?: string;\n id?: string;\n additional?: React.ReactNode;\n}\n\nexport function SecondaryNavigation({\n additional,\n children,\n className,\n id,\n pageWidth,\n ...other\n}: SecondaryNavigationProps) {\n const { prefix } = useSettings();\n\n const wrapperClasses = classNames(\n `${prefix}--secondary-navigation`,\n className\n );\n\n return (\n <div id={id} className={wrapperClasses} {...other}>\n <Wrapper\n pageWidth={pageWidth}\n className={`${prefix}--secondary-navigation__wrapper`}\n >\n <div className={`${prefix}--secondary-navigation__list`}>\n {children}\n </div>\n {additional && (\n <div className={`${prefix}--secondary-navigation__additional`}>\n {additional}\n </div>\n )}\n </Wrapper>\n </div>\n );\n}\n\nSecondaryNavigation.displayName = \"SecondaryNavigation\";\n","import * as React from \"react\";\nimport classNames from \"classnames\";\n\nimport useSettings from \"../../hooks/useSettings\";\n\nexport interface SecondaryNavigationTitleProps\n extends React.HTMLAttributes<HTMLDivElement> {\n className?: string;\n}\n\nexport function SecondaryNavigationTitle({\n className,\n children,\n}: SecondaryNavigationTitleProps) {\n const { prefix } = useSettings();\n\n const wrapperClasses = classNames(\n `${prefix}--secondary-navigation__title`,\n className\n );\n return <h1 className={wrapperClasses}>{children}</h1>;\n}\n\nSecondaryNavigationTitle.displayName = \"SecondaryNavigationTitle\";\n","import React, { useState /*createRef */ } from \"react\";\nimport classNames from \"classnames\";\n\nimport useSettings from \"../../hooks/useSettings\";\n\n/** Step Navigation provide indications to help users reach their destination from their current position */\ninterface StepNavigationProps {\n /**\n * Provide the contents of your StepNavigation\n */\n children: React.ReactNode;\n /**\n * Provide a className that is applied to the root <nav> component for the\n * <Tabs>\n */\n className?: string;\n /**\n * Specify whether the StepNavigation will be displayed small\n */\n small?: boolean;\n /**\n * Specify whether the StepNavigation will be displayed vertically\n */\n vertical?: boolean;\n /**\n * Specify whether the StepNavigation will be displayed inline\n */\n inline?: boolean;\n /**\n * By default, this value is \"navigation\". You can also provide an alternate\n * role if it makes sense from the accessibility-side\n */\n role: string;\n /**\n * Provide an optional handler that is called whenever the selection\n * changes. This method is called with the index of the tab that was\n * selected\n */\n onSelectionChange?: React.SetStateAction<number>;\n /**\n * Optionally provide an index for the currently selected <Tab>\n */\n selectedPage?: number;\n}\n\nfunction StepNavigation({\n inline,\n small,\n vertical,\n className,\n role,\n children,\n}: //selectedPage,\n// onSelectionChange,\nStepNavigationProps) {\n const { prefix } = useSettings();\n const [dropdownHidden] = useState(true);\n // const [elRefs, setElRefs] = useState({});\n\n /*const getTabAt = (index) => {\n return elRefs[`tab${index}`] || React.Children.toArray(children)[index];\n };\n*/\n const getTabs = () => {\n return React.Children.map(children, (tab) => tab);\n };\n\n //const arrLength = getTabs()?.length;\n\n /* React.useEffect(() => {\n // add or remove refs\n setElRefs((elRefs) =>\n Array(arrLength).map((_, i) => elRefs[i] || createRef())\n );\n }, [arrLength]);*/\n\n // const setTabAt = (index, tabRef) => {\n // //setElRefs({ ...elRefs, [`tab${index}`]: tabRef });\n // };\n\n const handleTabClick = (onSelectionChange) => {\n return (index, label, evt) => {\n evt.preventDefault();\n selectTabAt(index, onSelectionChange);\n };\n };\n\n /*const handleTabAnchorFocus = (onSelectionChange) => {\n return (index) => {\n const tabCount = React.Children.count(children) - 1;\n let tabIndex = index;\n\n if (index < 0) {\n tabIndex = tabCount;\n } else if (index > tabCount) {\n tabIndex = 0;\n }\n\n const tab = getTabAt(tabIndex);\n\n if (tab) {\n selectTabAt(tabIndex, onSelectionChange);\n if (tab.tabAnchor) {\n tab.tabAnchor.focus();\n }\n }\n };\n };\n*/\n // const handleDropdownClick = () => {\n // setDropdownHidden(!dropdownHidden);\n // };\n\n const selectTabAt = (index, onSelectionChange) => {\n handleTabClick(index);\n if (typeof onSelectionChange === \"function\") {\n onSelectionChange(index);\n }\n };\n\n const tabsWithProps = getTabs(); /* TODO: Use hook ?.map(\n (tab: React.ReactElement<any>, index: number) => {\n const newTab = React.cloneElement(tab as React.ReactElement<any>, {\n index,\n selectedPage: selectedPage,\n handleTabClick: handleTabClick(onSelectionChange),\n handleTabAnchorFocus: handleTabAnchorFocus(onSelectionChange),\n ref: elRefs[index],\n });\n\n return newTab;\n }\n );*/\n\n const classes = {\n tabs: classNames(className, {\n [`${prefix}--step-navigation`]: true,\n [`${prefix}--step-navigation--vertical`]: vertical,\n [`${prefix}--step-navigation--small`]: small,\n [`${prefix}--step-navigation--regular`]: !small,\n }),\n tablist: classNames(`${prefix}--step-navigation__nav`, {\n [`${prefix}--step-navigation__nav--hidden`]: dropdownHidden,\n [`${prefix}--step-navigation__nav--inline`]: inline,\n }),\n };\n\n return (\n <>\n <nav className={classes.tabs} role={role}>\n <ul role=\"tablist\" className={classes.tablist}>\n {tabsWithProps}\n </ul>\n </nav>\n </>\n );\n}\n\nexport default StepNavigation;\n","/* eslint-disable @typescript-eslint/no-empty-function */\n/* eslint-disable @typescript-eslint/ban-types */\nimport * as React from \"react\";\nimport type { PropsWithChildren } from \"react\";\nimport classNames from \"classnames\";\nimport {\n Ellipsis,\n WarningOutline,\n Locked,\n Error,\n Checkmark,\n Menu,\n OverflowMenu,\n} from \"@progressiveui/icons-react\";\nimport useSettings from \"../../hooks/useSettings\";\n\ntype StepNavigationItemProps = PropsWithChildren<{\n /**\n * Provide a className that is applied to the StepNavigation component\n *\n */\n className?: string;\n /**\n * Provide text that is used alongside the control label for additional help\n *\n */\n helperText?: React.ReactNode;\n /**\n * Provide the index of the each item\n *\n */\n index?: number;\n /**\n * Provide the text that will be read by a screen reader when visiting this control\n *\n */\n label?: string;\n /**\n * By default, this value is \"presentation\". You can also provide an alternate\n * role if it makes sense from the accessibility-side\n */\n role?: string;\n /**\n * Optionally provide an index for the currently selected <Tab>\n */\n selectedPage?: number;\n /**\n * The page number of the step.\n **/\n page?: number;\n /**\n * Provide status one of these status prop type to your step to give more meaning.\n *\n */\n\n status?: string;\n /**\n * An optional parameter to allow overriding the anchor rendering.\n * Useful for using Tab along with react-router or other client\n * side router libraries.\n */\n renderAnchor?: (p: object) => {};\n /**\n * On click handler to change the currently active item.\n **/\n onClick?: (e: object) => {};\n handleTabClick?: (e?: any, index?: number, label?: string) => {};\n}>;\n\nconst StepNavigationItem: React.FC<StepNavigationItemProps> = ({\n className,\n handleTabClick = () => {},\n index,\n label,\n status,\n helperText,\n selectedPage = 0,\n onClick = () => {},\n page = 0,\n renderAnchor,\n}) => {\n const { prefix } = useSettings();\n\n const classes = classNames(\n `${prefix}--step-navigation__nav-item`,\n { [`${prefix}--step-navigation__nav-item--before`]: page < selectedPage },\n {\n [`${prefix}--step-navigation__nav-item--selected`]: page === selectedPage,\n },\n { [`${prefix}--step-navigation__nav-item--${status}`]: status },\n className\n );\n\n const anchorProps = {\n className: `${prefix}--step-navigation__nav-link`,\n /*ref: (e) => {\n this.tabAnchor = e;\n },*/\n };\n\n const icon = {\n \"not-started\": { icon: Ellipsis },\n warning: { icon: WarningOutline },\n locked: { icon: Locked },\n skip: { icon: OverflowMenu },\n disabled: { icon: Error },\n complete: { icon: Checkmark },\n summary: { icon: Menu },\n };\n\n const Icon = status ? icon[status]?.icon : null;\n return (\n <li\n tabIndex={-1}\n className={classes}\n onClick={(evt) => {\n if (status !== \"locked\") {\n handleTabClick(evt, index, label);\n onClick(evt);\n }\n }}\n role=\"presentation\"\n >\n <>\n {renderAnchor ? (\n renderAnchor(anchorProps)\n ) : (\n <React.Fragment>\n <div className={`${prefix}--step-navigation__nav-item__indicator`}>\n {status && page !== selectedPage ? (\n <Icon width=\"14\" height=\"14\" description=\"Step Item\" />\n ) : (\n <span>{page + 1}</span>\n )}\n </div>\n <div>\n <span className={`${prefix}--step-navigation__nav-item__text`}>\n {label}\n </span>\n {helperText && (\n <span\n className={`${prefix}--step-navigation__nav-item__helper-text`}\n >\n {helperText}\n </span>\n )}\n </div>\n </React.Fragment>\n )}\n </>\n </li>\n );\n};\n\nexport default StepNavigationItem;\n","import React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n\ninterface SelectItemGroupProps extends React.ComponentPropsWithRef<\"optgroup\"> {\n /**\n * Provide the contents of your <SelectItemGroup>\n */\n children?: React.ReactNode;\n /**\n * Specify an optional className to be applied to the node\n */\n className?: string;\n /**\n * Specify whether the <SelectItemGroup> should be disabled\n */\n disabled?: boolean;\n /**\n * Specify the label to be displayed\n */\n label: string;\n}\n\nfunction SelectItemGroup({\n children,\n className,\n disabled,\n label,\n ...other\n}: SelectItemGroupProps) {\n const { prefix } = useSettings();\n const classes = classNames(`${prefix}--select-optgroup`, className);\n return (\n <optgroup className={classes} label={label} disabled={disabled} {...other}>\n {children}\n </optgroup>\n );\n}\n\nexport default SelectItemGroup;\n","import * as React from \"react\";\n// import Icon from '../Icon';\nimport type { PropsWithChildren } from \"react\";\nimport classNames from \"classnames\";\nimport { ChevronLeft } from \"@progressiveui/icons-react\";\nimport useSettings from \"../../hooks/useSettings\";\n\ntype SidebarProps = PropsWithChildren<{\n /**\n The `active` prop show the content section when an item is clicked. It's useful in mobile view \n */\n active?: boolean | string | number;\n /**\n The Sidebar is usually where the sidebar items will be. \n `<SidebarHeader/>` can be called in `Sidebar` and example search can be used in here\n */\n sidebar?: React.ReactNode;\n /**\n The sidebarMobileHeader is shwon when view is in mobile version. \n `<SidebarBackButton/>` can used in the `sidebarMobileHeader` prop\n */\n sidebarMobileHeader?: React.ReactNode;\n className?: string;\n}>;\n\nconst Sidebar: React.FC<SidebarProps> = ({\n active,\n children,\n className,\n // sidebarMobileHeader,\n sidebar,\n ...other\n}) => {\n const { prefix } = useSettings();\n const classes = classNames(\n `${prefix}--sidebar-content__container`,\n className,\n {\n [`${prefix}--sidebar-content__container--active`]: active,\n }\n );\n\n return (\n <div className={classes} {...other}>\n <div className={`${prefix}--sidebar-item-content`}>{sidebar}</div>\n <div className={`${prefix}--content-section`}>{children}</div>\n </div>\n );\n};\n\nexport interface SidebarHeaderProps {\n /**\n Disable the default padding of the SidebarHeader\n */\n noPadding?: boolean;\n children?: React.ReactNode;\n className?: string;\n}\n\nconst SidebarHeader: React.FC<SidebarHeaderProps> = ({\n className,\n children,\n noPadding,\n ...other\n}) => {\n const { prefix } = useSettings();\n const classes = classNames(`${prefix}--sidebar-content__header`, className, {\n [`${prefix}--sidebar-content__header--no-padding`]: noPadding,\n });\n\n return (\n <div className={classes} {...other}>\n {children}\n </div>\n );\n};\n\ntype SidebarContentHeaderProps = PropsWithChildren<{\n className?: string;\n}>;\n\nconst SidebarContentHeader: React.FC<SidebarContentHeaderProps> = ({\n className,\n children,\n ...other\n}) => {\n const { prefix } = useSettings();\n const mobileClasses = classNames(\n `${prefix}--sidebar-content-mobile-header`,\n className,\n {}\n );\n\n return (\n <div className={mobileClasses} {...other}>\n {children}\n </div>\n );\n};\n\ntype SidebarContentBodyProps = PropsWithChildren<{\n className?: string;\n}>;\n\nconst SidebarContentBody: React.FC<SidebarContentBodyProps> = ({\n className,\n children,\n ...other\n}) => {\n const { prefix } = useSettings();\n const classes = classNames(\n `${prefix}--sidebar-content__children`,\n className,\n {}\n );\n\n return (\n <div id=\"scroll-container\" className={classes} {...other}>\n {children}\n </div>\n );\n};\n\ninterface SidebarScrollProps {\n children?: React.ReactNode;\n}\n\nconst SidebarScroll: React.FC<SidebarScrollProps> = ({\n children,\n ...other\n}) => {\n const { prefix } = useSettings();\n return (\n <div className={`${prefix}--sidebar-content__scroll`} {...other}>\n {children}\n </div>\n );\n};\n\ninterface SidebarBackButtonProps {\n children?: React.ReactNode;\n}\n\nconst SidebarBackButton: React.FC<SidebarBackButtonProps> = ({\n children,\n ...other\n}) => {\n const { prefix } = useSettings();\n return (\n <div className={`${prefix}--sidebar-content__back-button`} {...other}>\n <ChevronLeft />\n {children}\n </div>\n );\n};\n\nexport {\n Sidebar,\n SidebarHeader,\n SidebarContentHeader,\n SidebarContentBody,\n SidebarScroll,\n SidebarBackButton,\n};\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\nimport Input from \"../Input/Input\";\nimport { UseInputProps, useInput } from \"../Input/useInput\";\nimport { InputProps } from \"../Input\";\n\n/** Text inputs enable the user to interact with and input content and data. This component can be used for long and short form entries. */\n\ninterface TextInputProps\n extends InputProps,\n React.ComponentPropsWithRef<\"input\"> {}\n\nconst TextInput: React.FC<TextInputProps> = React.forwardRef((props, ref) => {\n const {\n //className,\n //formItemClassName,\n hideLabel,\n helperText,\n pattern,\n required,\n } = props;\n\n const { prefix } = useSettings();\n\n const inputClassName = classNames(\n `${prefix}--input`,\n `${prefix}--text-input`,\n //className,\n {\n [`${prefix}--text--helpertext`]: helperText,\n [`${prefix}--text--nolabel`]: hideLabel,\n [`${prefix}--text--required`]: required,\n }\n );\n\n const useInputProps = props as UseInputProps;\n const { inputProps, wrapperProps } = useInput({\n ...useInputProps,\n inputClassName,\n });\n\n return (\n <Input {...wrapperProps} /*formItemClassName={formItemClassName} */>\n <input pattern={pattern} {...inputProps} ref={ref} />\n </Input>\n );\n});\n\nTextInput.displayName = \"TextInput\";\n\nexport default TextInput;\n","/* eslint-disable @typescript-eslint/no-empty-function */\nimport * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\nimport Input, { InputProps, useInput } from \"../Input\";\nimport TextInput from \"../TextInput\";\nimport { UseInputProps } from \"../Input/useInput\";\n\n/** Sliders provide a visual indication of adjustable content, where the user can move the handle along a horizontal track to increase or decrease the value. */\ninterface SliderProps extends InputProps, React.ComponentPropsWithRef<\"input\"> {\n /**\n * Specify an optional className to be applied to the form-item node\n */\n formItemClassName?: string;\n /**\n * Specify if the control should be disabled, or not\n */\n disabled?: boolean;\n /**\n * Specify whether you want the underlying label to be visually hidden\n */\n hideLabel?: boolean;\n /**\n * The minimum value.\n */\n min: number;\n /**\n * The label associated with the minimum value.\n */\n minLabel?: string;\n /**\n * The maximum value.\n */\n max: number;\n /**\n * The label associated with the maximum value.\n */\n maxLabel?: string;\n /**\n * The callback to format the label associated with the minimum/maximum value.\n */\n formatLabel?: () => void;\n /**\n * The `name` attribute of the `<input>`.\n */\n\n name?: string;\n /**\n * The `type` attribute of the `<input>`.\n */\n inputType?: string;\n /**\n * The `ariaLabel` for the `<input>`.\n */\n ariaLabelInput?: string;\n /**\n * A value determining how much the value should increase/decrease by moving the thumb by mouse.\n */\n step?: number;\n /**\n * Specify the value of the input, if undefined or null the value is empty\n */\n value?: number | \"\";\n /**\n * `true` to hide the number input box.\n */\n hideTextInput?: boolean;\n // eslint-disable-next-line @typescript-eslint/ban-types\n /**\n * Use the width of the parent element\n */\n fullWidth?: boolean;\n /**\n * `true` to hide the controls on slider.\n */\n hideControls?: boolean;\n}\n\nconst defaultFormatLabel = (value, label) => {\n return typeof label === \"function\"\n ? label(value)\n : `${value}${label ? label : \"\"}`;\n};\n\nfunction calculatePercentage(value, min, max) {\n // Ensure the values are in the correct range\n if (max <= min) {\n return;\n }\n if (value < min) value = min;\n if (value > max) value = max;\n\n // Calculate the percentage\n return ((value - min) / (max - min)) * 100;\n}\n\nconst Slider: React.FC<SliderProps> = React.forwardRef((props, ref) => {\n const {\n ariaLabelInput,\n className,\n disabled,\n formatLabel = defaultFormatLabel,\n fullWidth,\n id,\n inputType,\n hideLabel,\n hideControls,\n hideTextInput,\n min,\n minLabel,\n max,\n maxLabel,\n step = 1,\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n onChange = () => {},\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n //onClick = () => {},\n helperText,\n ...other\n } = props;\n\n const { prefix } = useSettings();\n\n const initialValue = props.value;\n const [value, setValue] = React.useState(initialValue);\n\n React.useEffect(() => {\n setValue(props.value);\n }, [props.value]);\n\n const newInputRef = React.useRef(null);\n const _inputRef = ref ? ref : newInputRef;\n\n const handleChange = (evt) => {\n if (!disabled) {\n evt.persist();\n evt.imaginaryTarget = _inputRef;\n if (evt.target.value > max) {\n setValue(max);\n onChange(/*max, */ evt);\n } /* else if (evt.target.value < min) {\n setValue(evt.target.value);\n onChange(parseFloat(min), evt);\n }*/ else {\n setValue(evt.target.value);\n onChange(/*parseFloat(evt.target.value), */ evt);\n }\n }\n };\n\n const numberInputClasses = classNames(\n `${prefix}--slider--wrapper`,\n className,\n {\n [`${prefix}--slider--helpertext`]: helperText,\n [`${prefix}--slider--nolabel`]: hideLabel,\n [`${prefix}--slider--nocontrols`]: hideControls,\n }\n );\n\n const sliderContainerClasses = classNames(`${prefix}--slider-container`, {\n [`${prefix}--slider-container--full-width`]: fullWidth,\n });\n\n const newProps = {\n disabled,\n id,\n max,\n min,\n step,\n onChange: handleChange,\n value: value,\n };\n\n const inputClasses = classNames(\n `${prefix}--input`,\n `${prefix}--slider-text-input`\n );\n\n const sliderClasses = classNames(\n `${prefix}--slider`,\n { [`${prefix}--slider--disabled`]: disabled },\n className\n );\n\n const sliderRangeWrapperClasses = classNames(\n `${prefix}--slider__range-wrapper`,\n { [`${prefix}--slider__range-wrapper--disabled`]: disabled },\n className\n );\n\n const valueMinimal = value && value < min ? min : value;\n\n const useInputProps = props as UseInputProps;\n const input = useInput(useInputProps);\n\n console.log(\"valueMinimal\", valueMinimal);\n\n return (\n <Input {...input.wrapperProps} formItemClassName={numberInputClasses}>\n <div className={sliderContainerClasses}>\n <span className={`${prefix}--slider__range-label`}>\n {formatLabel(min, minLabel)}\n </span>\n\n <div className={sliderRangeWrapperClasses}>\n <div\n className={`${prefix}--slider__range-before`}\n style={{\n width: `${calculatePercentage(valueMinimal, min, max)}%`,\n }}\n />\n <input\n className={sliderClasses}\n type=\"range\"\n {...other}\n {...newProps}\n ref={_inputRef}\n />\n </div>\n <span className={`${prefix}--slider__range-label`}>\n {formatLabel(max, maxLabel)}\n </span>\n {!hideTextInput && (\n <TextInput\n disabled={disabled}\n type={inputType}\n id=\"input-for-slider\"\n className={inputClasses}\n value={value}\n onChange={handleChange}\n aria-label={ariaLabelInput}\n />\n )}\n </div>\n </Input>\n );\n});\n\nSlider.displayName = \"Slider\";\n\nexport default Slider;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport { ChevronRight } from \"@progressiveui/icons-react\";\nimport useSettings from \"../../hooks/useSettings\";\nimport { IIcon } from \"../../utils\";\n\ninterface ItemProps extends Omit<React.ComponentPropsWithRef<\"div\">, \"title\"> {\n /**\n * Provide the title for the item contet\n */\n title?: React.ReactNode;\n /**\n * Provide the description for the item content\n */\n children?: React.ReactNode;\n /**\n * Provide the icon for the item content\n */\n icon?: React.ReactNode | IIcon;\n /**\n * Provide a kind to use different appearances.\n */\n kind?: \"undefined\" | \"horizontal\" | \"large\";\n /**\n * Provide a wrap to use different borders.\n */\n wrapper?: \"undefined\" | \"sidebar\" | \"repeater\";\n /**\n * Show an additional chevron icon on the right side\n */\n showAdditionalIcon?: boolean;\n /**\n * Additional content shown underneath the regular content (children)\n */\n subContent?: React.ReactNode;\n /**\n * Provide a hint to the item shown on the right bottom corner\n */\n hint?: React.ReactNode;\n /**\n * Enable the active state to the item\n */\n active?: boolean;\n /**\n * Provide additional info on the top right corner of the item\n */\n additional?: React.ReactNode;\n /**\n * Provide an image to the item\n */\n image?: React.ReactNode;\n /**\n * Disable the image to the item\n */\n noImage?: boolean;\n /**\n * Enable an unread state to the item\n */\n unread?: boolean;\n}\n/** The item component to show entries inside a list, like a sidebar or an overview page. */\nconst Item: React.FC<ItemProps> = React.forwardRef(\n (\n {\n active,\n additional,\n children,\n className,\n subContent,\n image,\n hint,\n noImage,\n unread,\n showAdditionalIcon,\n title,\n kind = \"large\",\n wrapper = \"none\",\n ...other\n },\n ref\n ) =>\n //TODO: ref\n {\n const { prefix } = useSettings();\n\n const classes = classNames(\n {\n [`${prefix}--item`]: true,\n [`${prefix}--item--${kind}`]: kind,\n [`${prefix}--item--${wrapper}`]: wrapper,\n [`${prefix}--item--active`]: active,\n [`${prefix}--item--unread`]: unread,\n },\n className\n );\n return (\n <div className={classes} {...other} ref={ref}>\n {image ? (\n <div className={`${prefix}--item__image`}>{image}</div>\n ) : noImage ? (\n <div\n className={`${prefix}--item__image ${prefix}--item__image-empty`}\n ></div>\n ) : null}\n\n {title && (\n <div className={`${prefix}--item__title-wrapper`}>\n <h2 className={`${prefix}--item__title`}>{title}</h2>\n </div>\n )}\n {additional && (\n <div className={`${prefix}--item__additional`}>\n {additional}\n {showAdditionalIcon && (\n <ChevronRight className={`${prefix}--item__additional-icon`} />\n )}\n </div>\n )}\n {children && (\n <div className={`${prefix}--item__text`}>{children}</div>\n )}\n {subContent && (\n <div className={`${prefix}--item__sub-content`}>{subContent}</div>\n )}\n {hint && <div className={`${prefix}--item__hint`}>{hint}</div>}\n {unread && <div className={`${prefix}--item__unread`} />}\n </div>\n );\n }\n);\n\nItem.displayName = \"Item\";\n\nexport default Item;\n","import React from 'react';\nimport classNames from 'classnames';\nimport Pagination from '../Pagination';\nimport useSettings from '../../hooks/useSettings';\n\nexport interface TagProps extends React.HTMLAttributes<HTMLTableElement> {\n withBorder?: boolean;\n responsive?: boolean;\n}\n\nconst ReactTablePagination = ({\n // Computed\n data,\n page,\n pageSizeOptions,\n paginationClassName,\n totalItems,\n style,\n onPageChange,\n onPageSizeChange,\n // Props\n isLastPage,\n pages,\n // showPageSizeOptions,\n pageInputDisabled,\n pageSize,\n pagesUnknown,\n backwardText,\n forwardText,\n itemsPerPageText,\n itemsPerPageFollowsText,\n itemRangeText,\n pageRangeText,\n pageSizesDisabled,\n itemText,\n pageNumberText,\n}) => {\n const { prefix } = useSettings();\n\n const getSafePage = (newPage) => {\n if (isNaN(newPage)) {\n newPage = page;\n }\n return newPage;\n };\n\n const changePage = (page) => {\n const nextPage = getSafePage(page.page - 1);\n\n // Update Page\n if (page !== nextPage) {\n onPageChange(nextPage);\n }\n\n // Update PageSize\n if (pageSize !== page.pageSize) {\n onPageSizeChange(page.pageSize);\n }\n };\n\n const propList = {\n isLastPage,\n pages,\n //showPageSizeOptions,\n pageInputDisabled,\n pageSize,\n pagesUnknown,\n backwardText,\n forwardText,\n itemsPerPageText,\n itemsPerPageFollowsText,\n itemRangeText,\n pageRangeText,\n pageSizesDisabled,\n itemText,\n pageNumberText,\n };\n\n return (\n <div\n className={classNames(paginationClassName, '-pagination')}\n style={style}>\n <div className={`${prefix}-pagination`}>\n <Pagination\n onChange={changePage}\n pageSizes={pageSizeOptions}\n page={page}\n totalItems={totalItems ? totalItems : data ? data.length : undefined}\n {...propList}\n />\n </div>\n </div>\n );\n};\n\nReactTablePagination.displayName = 'ReactTablePagination';\n\nexport default ReactTablePagination;\n","import useSettings from '../../hooks/useSettings';\nimport classNames from 'classnames';\n\nexport default function useTab(props) {\n const { prefix } = useSettings();\n\n const {\n className,\n disabled,\n handleTabClick = () => {}, // eslint-disable-line\n handleTabAnchorFocus = () => {}, // eslint-disable-line\n handleTabKeyDown = () => {}, // eslint-disable-line\n href,\n index = 0,\n label,\n selected,\n tabIndex,\n onClick = () => {}, // eslint-disable-line\n onKeyDown = () => {}, // eslint-disable-line\n //renderAnchor,\n //renderListElement,\n ...other\n } = props;\n\n const setTabFocus = (evt) => {\n const leftKey = 37;\n const rightKey = 39;\n if (evt.which === leftKey && handleTabAnchorFocus) {\n handleTabAnchorFocus(index - 1);\n } else if (evt.which === rightKey && handleTabAnchorFocus) {\n handleTabAnchorFocus(index + 1);\n } else {\n return;\n }\n };\n\n const classes = classNames(\n `${prefix}--tabs__nav-item`,\n { [`${prefix}--tabs__nav-item--disabled`]: disabled },\n { [`${prefix}--tabs__nav-item--selected`]: selected },\n className\n );\n\n const selectedClasses = classNames(\n `${prefix}--tabs__nav-item`,\n `${prefix}--tabs__nav-item--selected`,\n className\n );\n\n const anchorProps = {\n className: 'wfp--tabs__nav-link',\n href: disabled ? undefined : href,\n label,\n role: 'tab',\n tabIndex,\n 'aria-selected': selected,\n // ref: (e) => {\n // tabAnchor = e;\n // },\n };\n\n // {...other}\n const liProps = {\n tabIndex: -1,\n className: classes,\n onClick: (evt) => {\n if (!disabled) {\n handleTabClick(index, label, evt);\n onClick(evt);\n }\n },\n onKeyDown: (evt) => {\n if (!disabled) {\n setTabFocus(evt);\n handleTabKeyDown(index, label, evt);\n onKeyDown(evt);\n }\n },\n role: 'presentation',\n selected: selected,\n ...other,\n };\n\n return {\n liProps,\n anchorProps,\n selectedClasses,\n };\n}\n","/* eslint-disable @typescript-eslint/no-empty-function */\nimport * as React from \"react\";\n//import classNames from 'classnames';\n//import useSettings from '../../hooks/useSettings';\nimport useTab from \"./useTab\";\n\nexport interface TabProps extends React.ComponentPropsWithRef<\"li\"> {\n /**\n * Optional callback for when a tab is clicked. Provides the index, label, and event details.\n * @functionality\n */\n handleTabClick?: (\n index?: number,\n label?: string | React.ReactNode,\n evt?: React.ChangeEvent<HTMLInputElement>\n ) => void;\n /**\n * Optional callback for when a tab gains focus. Provides the index of the focused tab.\n * @functionality\n */\n handleTabAnchorFocus?: (index?: number) => void;\n /**\n * Optional callback for when a keydown event occurs on a tab. Provides the index, label, and event details.\n * @functionality\n */\n handleTabKeyDown?: (\n index?: number,\n label?: string | React.ReactNode,\n evt?: React.ChangeEvent<HTMLInputElement>\n ) => void;\n /**\n * Href for the tab, useful when each tab is associated with a different URL.\n * @navigation\n */\n href?: string;\n /**\n * Index of the tab within the Tabs component.\n * @navigation\n */\n index?: number;\n /**\n * Content to be displayed as the label of the tab. Can be a string or React node.\n * @content\n */\n label?: React.ReactNode;\n /**\n * ARIA role for the tab element, often set to 'tab'.\n * @accessibility\n */\n role?: string;\n /**\n * Indicates whether the tab is currently selected.\n * @state\n */\n selected?: boolean;\n /**\n * TabIndex for the tab, useful for accessibility and keyboard navigation.\n * @accessibility\n */\n tabIndex?: number;\n /**\n * Optional custom renderer for the anchor element within the tab.\n * @render\n */\n renderAnchor?: (props?: object) => React.ReactNode;\n /**\n * Optional custom renderer for the content of the tab.\n * @render\n */\n renderContent?: () => React.ReactNode;\n /**\n * Optional custom renderer for the list element of the tab.\n * @render\n */\n renderListElement?: ((props?: object) => React.ReactNode) | React.ReactNode;\n /**\n * Optional CSS class to apply to the tab. Allows for additional styling.\n * @style\n */\n className?: string;\n /**\n * Indicates whether the tab is disabled.\n * @state\n */\n disabled?: boolean;\n /**\n * Optional components to replace default elements of the Tab, such as the Tab itself.\n * @customization\n */\n components?: {\n Tab?: React.ReactNode;\n };\n //onClick?: (evt?: Event) => void;\n //onKeyDown?: (evt?: Event) => void;\n}\n\n/** Tab to be used inside the Tabs component */\n\nconst Tab: React.FC<TabProps> = (props) => {\n // const { prefix } = useSettings();\n const {\n // className,\n disabled,\n // handleTabClick = () => {},\n // handleTabAnchorFocus = () => {}, // eslint-disable-line\n // handleTabKeyDown = () => {},\n // href,\n // index = 0,\n label,\n // selected,\n // tabIndex,\n /// onClick = () => {},\n // onKeyDown = () => {},\n renderAnchor,\n renderListElement,\n // ...other\n } = props;\n\n const { anchorProps, liProps, selectedClasses } = useTab(props);\n\n return (\n <React.Fragment>\n {renderListElement ? (\n typeof renderListElement === \"function\" ? (\n renderListElement({\n ...props,\n ...liProps,\n anchor: anchorProps,\n selectedClasses: selectedClasses,\n })\n ) : (\n <>{renderListElement}</>\n )\n ) : (\n <li {...liProps}>\n {renderAnchor ? (\n renderAnchor(anchorProps)\n ) : disabled ? (\n <span {...anchorProps}>{label}</span>\n ) : (\n <a {...anchorProps}>{label}</a>\n )}\n </li>\n )}\n </React.Fragment>\n );\n};\n\nexport default Tab;\n","import React, { PropsWithChildren } from 'react';\n\ninterface TabContentProps {\n /**\n * Specify whether the TabContent is selected\n */\n selected: boolean;\n /**\n * Pass in content to render inside of the TabContent\n */\n children?: React.ReactNode;\n}\n\nconst TabContent: React.FC<PropsWithChildren<TabContentProps>> = (props) => {\n const { selected = false, children, ...other } = props;\n\n return (\n <div {...other} data-selected={selected} hidden={!selected}>\n {children}\n </div>\n );\n};\n\nTabContent.displayName = 'TabContent';\n\nexport default TabContent;\n","/* eslint-disable @typescript-eslint/no-empty-function */\nimport React from 'react';\n\nexport interface TabsContextType {\n handleTabClick?: (onSelectionChange?: any) => void;\n handleTabKeyDown?: (onSelectionChange?: any) => void;\n handleTabAnchorFocus?: (onSelectionChange?: any) => void;\n}\n\nconst TabsContext = React.createContext<TabsContextType>({\n handleTabClick: () => {},\n handleTabKeyDown: () => {},\n handleTabAnchorFocus: () => {},\n});\nexport default TabsContext;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\n//import TabContent from '../TabContent';\nimport useSettings from \"../../hooks/useSettings\";\nimport TabsContext from \"./TabsContext\";\n\nexport interface TabsProps extends React.HTMLAttributes<HTMLDivElement> {\n /**\n * Specify the text to be read by screen-readers when visiting the <Tabs>\n * component\n */\n ariaLabel?: string;\n\n /**\n * Pass in a collection of <Tab> children to be rendered depending on the\n * currently selected tab\n */\n children?: React.ReactNode;\n\n /**\n * Provide a className that is applied to the root <nav> component for the\n * <Tabs>\n */\n className?: string;\n\n /**\n * Provide a customTabContent by using independent action triggers\n * inside the Tabs\n */\n customTabContent?: boolean;\n\n /**\n * Specify whether the animation should be used\n */\n disableAnimation?: boolean;\n\n /**\n * Specify whether the Tabs are displayed inline\n */\n inline?: boolean;\n\n /**\n * Specify whether the Tab content is hidden\n */\n hidden?: boolean;\n\n /**\n * By default, this value is \"navigation\". You can also provide an alternate\n * role if it makes sense from the accessibility-side\n */\n role?: string;\n\n /**\n * Optionally provide an `onClick` handler that is invoked when a <Tab> is\n * clicked\n */\n onClick?: () => void;\n\n /**\n * Optionally provide an `onKeyDown` handler that is invoked when keyed\n * navigation is triggered\n */\n onKeyDown?: () => void;\n\n /**\n * Provide an optional handler that is called whenever the selection\n * changes. This method is called with the index of the tab that was\n * selected\n */\n onSelectionChange?: () => void;\n\n /**\n * Provide a string that represents the `href` for the triggered <Tab>\n */\n triggerHref?: string;\n\n /**\n * Optionally provide an index for the currently selected <Tab>\n */\n selected?: string;\n}\n\n/** Tabs allow users to navigate easily between views within the same context */\nconst Tabs: React.FC<TabsProps> = (props) => {\n const {\n // ariaLabel = 'listbox',\n disableAnimation,\n inline,\n className,\n //customTabContent,\n // triggerHref = '#',\n role = \"navigation\",\n //onSelectionChange,\n selected = null,\n // children,\n ...other\n } = props;\n\n const { prefix } = useSettings();\n const [currentSelected, setCurrentSelected] = React.useState<string | null>(\n selected\n );\n //const [sizes, setSizes] = useState<boolean>();\n const rootRef = React.useRef(null);\n\n React.useEffect(() => {\n if (selected !== currentSelected) {\n setCurrentSelected(selected);\n }\n }, [selected]);\n\n /*useEffect(() => {\n getSizes();\n // eslint-disable-next-line no-undef\n if (window) {\n // eslint-disable-next-line no-undef\n window.addEventListener('resize', getSizes);\n return () => {\n // eslint-disable-next-line no-undef\n window.removeEventListener('resize', getSizes);\n };\n }\n }, []);*/\n\n const classes = {\n tabs: classNames(\n `${prefix}--tabs`,\n { [`${prefix}--tabs--no-animation`]: disableAnimation },\n className\n ),\n tablist: classNames(`${prefix}--tabs__nav`, {\n [`${prefix}--tabs__nav--inline`]: inline,\n }),\n };\n\n /*function getTabs() {\n return React.Children.map(props.children, (tab) => tab);\n }*/\n\n /*const getTabAt = (index) => {\n return this[`tab${index}`] || React.Children.toArray(props.children)[index];\n };*/\n\n /*const getSizes = () => {\n if (rootRef.current === null || rootRef.current.length > 1) {\n return null;\n }\n const rootBounds = rootRef.current.getBoundingClientRect();\n const sizes = {};\n Object.values(rootRef.current.children).forEach((el, key) => {\n const bounds = el.children[0].getBoundingClientRect();\n\n const left = bounds.left - rootBounds.left;\n const right = rootBounds.right - bounds.right;\n\n sizes[key] = { left, right };\n });\n setSizes(sizes);\n };\n*/\n // const setTabAt = (index, tabRef) => {\n // this[`tab${index}`] = tabRef;\n // };\n\n // following functions (handle*) are Props on Tab.js, see Tab.js for parameters\n const handleTabClick = (/*onSelectionChange*/) => {\n return (index, label, evt) => {\n if (evt) {\n evt.preventDefault();\n }\n // selectTabAt(index, onSelectionChange);\n };\n };\n\n const handleTabKeyDown = (/*onSelectionChange*/) => {\n return (index, label, evt) => {\n const key = evt.key || evt.which;\n\n if (key === \"Enter\" || key === 13 || key === \" \" || key === 32) {\n //selectTabAt(index, onSelectionChange);\n }\n };\n };\n\n const handleTabAnchorFocus = (/*onSelectionChange*/) => {\n /* return (index) => {\n const tabCount = React.Children.count(props.children) - 1;\n let tabIndex = index;\n\n if (index < 0) {\n tabIndex = tabCount;\n } else if (index > tabCount) {\n tabIndex = 0;\n }\n\n const tab = getTabAt(tabIndex);\n\n if (tab) {\n selectTabAt(tabIndex, onSelectionChange);\n if (tab.tabAnchor) {\n tab.tabAnchor.focus();\n }\n }\n };*/\n };\n\n /*const selectTabAt = (index, onSelectionChange) => {\n /* if (currentSelected !== index) {\n setCurrentSelected(index);\n if (typeof onSelectionChange === 'function') {\n onSelectionChange(index);\n }\n }\n };*/\n\n // const { selected, sizes } = this.state;\n\n /*const tabsWithProps = getTabs().map((Tab, index) => {\n const newTab = React.cloneElement(Tab, {\n index,\n selected: index === currentSelected,\n handleTabClick: handleTabClick(onSelectionChange),\n handleTabAnchorFocus: handleTabAnchorFocus(onSelectionChange),\n // ref: (e) => {\n // setTabAt(index, e);\n // },\n handleTabKeyDown: handleTabKeyDown(onSelectionChange),\n });\n\n return newTab;\n });\n\n const tabContentWithProps = !customTabContent\n ? React.Children.map(tabsWithProps, (tab) => {\n const { children, selected } = tab.props;\n if (!children) {\n return null;\n }\n return (\n <TabContent\n className={`${prefix}--tab-content`}\n aria-hidden={!selected}\n hidden={!selected}\n selected={selected}>\n {children}\n </TabContent>\n );\n })\n : null;\n */\n\n //const sizeBar = sizes ? sizes[currentSelected] : undefined;\n\n return (\n <TabsContext.Provider\n value={{ handleTabClick, handleTabKeyDown, handleTabAnchorFocus }}\n >\n <nav {...other} className={classes.tabs} role={role}>\n <div className={`${prefix}--tabs__nav__bar`} /*style={sizeBar}*/></div>\n <ul ref={rootRef} role=\"tablist\" className={classes.tablist}>\n {props.children}\n </ul>\n </nav>\n </TabsContext.Provider>\n );\n};\n\nTabs.displayName = \"Tabs\";\n\nexport default Tabs;\n","import * as React from 'react';\nimport classNames from 'classnames';\nimport useSettings from '../../hooks/useSettings';\nimport { InputProps, useInput } from '../Input';\nimport Input from '../Input/Input';\nimport { UseInputProps } from '../Input/useInput';\n\n/*\n ** Represents a multi-line plain-text editing control, useful when you want to allow users to enter a sizeable amount of free-form text, for example a comment on a review or feedback form.\n */\ninterface TextAreaProps\n extends InputProps,\n React.ComponentPropsWithRef<'textarea'> {\n fullWidth?: boolean;\n}\n\nexport type Ref = HTMLTextAreaElement;\n\nexport const TextArea = React.forwardRef<Ref, TextAreaProps>((props, ref) => {\n const { className, fullWidth } = props;\n\n const { prefix } = useSettings();\n\n const textareaClasses = classNames(`${prefix}--text-area`, className, {\n [`${prefix}--textarea-fullwidth`]: fullWidth,\n });\n\n const useInputProps = props as UseInputProps;\n const input = useInput({ ...useInputProps, inputClassName: textareaClasses });\n\n return (\n <Input {...input.wrapperProps}>\n <textarea {...input.inputProps} ref={ref} />\n </Input>\n );\n});\n\nTextArea.displayName = 'TextArea';\n\nexport default TextArea;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\nimport Input from \"../Input/Input\";\nimport { InputProps } from \"../Input\";\nimport { UseInputProps, useInput } from \"../Input/useInput\";\n\ninterface PasswordInputProps\n extends Omit<InputProps, \"type\">,\n Omit<React.ComponentPropsWithRef<\"input\">, \"type\"> {\n /**\n * Accessible label for the toggle when the password is hidden\n */\n showPasswordLabelText?: React.ReactNode;\n /**\n * Accessible label for the toggle when the password is visible\n */\n hidePasswordLabelText?: React.ReactNode;\n}\n\nconst PasswordInput = React.forwardRef<HTMLInputElement, PasswordInputProps>(\n (props, ref) => {\n const {\n showPasswordLabelText = \"Show password\",\n hidePasswordLabelText = \"Hide password\",\n addonAfter,\n ...rest\n } = props;\n\n const { prefix } = useSettings();\n const [isVisible, setIsVisible] = React.useState(false);\n\n const { hideLabel, helperText, required, disabled, readOnly } = rest;\n\n const inputClassName = classNames(\n `${prefix}--input`,\n `${prefix}--text-input`,\n `${prefix}--password-input`,\n {\n [`${prefix}--text--helpertext`]: helperText,\n [`${prefix}--text--nolabel`]: hideLabel,\n [`${prefix}--text--required`]: required,\n },\n );\n\n const toggleButtonLabel = isVisible\n ? hidePasswordLabelText\n : showPasswordLabelText;\n\n const handleToggle = () => {\n if (disabled || readOnly) return;\n setIsVisible((prev) => !prev);\n };\n\n const toggleButton = (\n <button\n type=\"button\"\n className={`${prefix}--password-input__toggle`}\n onClick={handleToggle}\n aria-pressed={isVisible}\n aria-label={toggleButtonLabel}\n disabled={disabled || readOnly}\n >\n {toggleButtonLabel}\n </button>\n );\n\n const useInputProps = rest as UseInputProps;\n const { inputProps, wrapperProps } = useInput({\n ...useInputProps,\n type: isVisible ? \"text\" : \"password\",\n addonAfter: (\n <>\n {addonAfter}\n {toggleButton}\n </>\n ),\n inputClassName,\n });\n\n return (\n <Input {...wrapperProps}>\n <input {...inputProps} ref={ref} />\n </Input>\n );\n },\n);\n\nPasswordInput.displayName = \"PasswordInput\";\n\nexport default PasswordInput;\n","/* eslint-disable @typescript-eslint/no-empty-function */\nimport * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\nimport Input, { InputProps, useInput } from \"../Input\";\nimport { UseInputProps } from \"../Input/useInput\";\n\n/** A toggle is used to quickly switch between two possible states. They are commonly used for “on/off” switches */\n\ninterface ToggleProps extends InputProps, React.ComponentPropsWithRef<\"input\"> {\n /**\n * Specify whether the toggle should be on by default\n */\n defaultToggled?: boolean;\n toggled?: boolean;\n /**\n * Specify the label for the \"off\" position\n */\n labelA?: string;\n /**\n * Specify the label for the \"on\" position\n */\n labelB?: string;\n /**\n * Provide an optional hook that is called when the control is toggled\n */\n /* onToggleLegacy?: (\n value: boolean,\n htmlFor: string,\n event: React.ChangeEvent<HTMLInputElement>,\n ) => void;\n className?: string; */\n /**\n * Provide an id that unique represents the underlying `input`\n */\n id?: string;\n /**\n * Provide an name that unique represents the underlying `input`\n */\n name?: string;\n /**\n * Provide a function that is called when a change event occurs on the control\n */\n onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;\n}\n\nexport type Ref = HTMLTextAreaElement;\n\nconst Toggle: React.FC<ToggleProps> = React.forwardRef((props, ref) => {\n const {\n className,\n defaultToggled = false,\n // toggled,\n // onChange,\n // onToggle = () => {},\n id,\n labelA = \"Off\",\n labelB = \"On\",\n ...other\n } = props;\n const { prefix } = useSettings();\n // let input;\n const wrapperClasses = classNames(\n {\n [`${prefix}--form-item`]: true,\n },\n className,\n );\n\n // const checkedProps = {};\n\n // if (typeof toggled !== 'undefined') {\n // checkedProps.checked = toggled;\n // } else {\n // checkedProps.defaultChecked = defaultToggled;\n // }\n\n const htmlFor = id ? id : other.name;\n const useInputProps = props as UseInputProps;\n\n const input = useInput(useInputProps);\n\n const otherInputProps = other as React.ComponentPropsWithRef<\"input\">;\n\n return (\n <Input className={wrapperClasses} {...props}>\n <input\n {...otherInputProps}\n {...input.inputProps}\n //checked={toggled}\n defaultChecked={defaultToggled}\n type=\"checkbox\"\n id={htmlFor}\n className={`${prefix}--toggle`}\n /*onChange={(evt) => {\n onChange && onChange(evt);\n onToggle && onToggle(input.checked, htmlFor, evt);\n }}*/\n ref={ref}\n />\n\n <label className={`${prefix}--toggle__label`} htmlFor={htmlFor}>\n <span className={`${prefix}--toggle__text--left`}>{labelA}</span>\n <span className={`${prefix}--toggle__appearance`} />\n <span className={`${prefix}--toggle__text--right`}>{labelB}</span>\n </label>\n </Input>\n );\n});\n\nToggle.displayName = \"Toggle\";\n\nexport default Toggle;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\nimport Avatar from \"../Avatar\";\n\nexport interface UserProps extends React.HTMLAttributes<HTMLSpanElement> {\n /**\n * The alt-text of the avatar\n */\n alt?: string;\n /**\n * Sets the max-width of the user name to 130px and shows an ellipsis\n */\n ellipsis?: boolean;\n /**\n * Additional description under the Name will also increase the size\n * of the Avatar use &lt;List kind=\"simple\" small /&gt; as default content\n */\n description?: React.ReactNode;\n /**\n * Optional components to replace the default ones, the Icon component is used for the avatar\n */\n components?: { Icon: React.ReactNode };\n /**\n * Extended Description column\n */\n extendedDescription?: React.ReactNode;\n /**\n * Selects the generated empty icon if no image is provided.\n * Can be `avatar` or `letter`.\n */\n missingImage?: \"avatar\" | \"letter\";\n /**\n * Url to an avatar image The size of the image is 25px * 25px.\n * Provide at least 50px * 50px to support HiDPI displays.\n */\n image?: string;\n /**\n * Show the name next to the avatar\n */\n showName?: boolean;\n /**\n * The CSS class name for the user.\n */\n className?: string;\n /**\n * Shows a smaller version of the user\n */\n small?: boolean;\n /**\n * The username which will be displayed. Usually `Firstname Lastname`.\n */\n name?: string;\n}\n/** The User is used inside the MainNavigation and form, and can display an avatar and username. */\nconst User: React.FC<UserProps> = (props) => {\n const {\n className,\n children,\n components = {},\n description,\n ellipsis,\n extendedDescription,\n showName,\n small,\n name,\n missingImage,\n ...other\n } = props;\n const { prefix } = useSettings();\n\n const defaultComponents = { Avatar };\n\n const allComponents = {\n ...defaultComponents,\n ...components,\n };\n\n const classes = classNames(`${prefix}--user`, className, {\n [`${prefix}--user--has-description`]: description,\n [`${prefix}--user--has-extended-description`]: extendedDescription,\n });\n\n const titleClasses = classNames({\n [`${prefix}--user__title`]: true,\n [`${prefix}--user__title--ellipsis`]: ellipsis,\n [`${prefix}--user__title--small`]: small,\n });\n\n return (\n <div className={classes} {...other}>\n <allComponents.Avatar {...props} missingImage={missingImage} />\n {showName && (\n <span className={titleClasses}>\n <span>{name}</span>\n {description && (\n <div className={`${prefix}--user__description`}>{description}</div>\n )}\n </span>\n )}\n {children}\n {extendedDescription && (\n <div className={`${prefix}--user__extended-description`}>\n {extendedDescription}\n </div>\n )}\n </div>\n );\n};\n\nexport default User;\n","const scaleLookup = {\n thousand: {\n pow: 1000,\n defaultmaximumFractionDigits: 2,\n default: { after: 'T' },\n },\n million: {\n pow: 1000000,\n defaultmaximumFractionDigits: 1,\n default: { after: 'M' },\n },\n billion: {\n pow: 1000000000,\n defaultmaximumFractionDigits: 2,\n default: { after: 'B' },\n },\n};\n\nexport default scaleLookup;\n","import React from 'react';\n\n// For invalid Values\nexport const Invalid = props => {\n return <span className={props.className + ' invalid'}>–</span>;\n};\n\n// For invalid Values\nexport const InvalidSvg = props => {\n return <tspan className={props.className + ' invalid'}>–</tspan>;\n};\n","const StringUnit = value => {\n if (value) {\n const before = value.before ? value.before + ' ' : '';\n const afterOutput =\n value.output && value.output.default\n ? value.output.default.after + ''\n : '';\n const after = value.after ? ' ' + value.after : '';\n return before + value.value + afterOutput + after;\n } else return '';\n};\n\nexport default StringUnit;\n","import * as React from 'react';\nimport { InvalidSvg } from './InvalidUnit';\n\nconst SvgUnit = (value, props) => {\n const { style, ...other } = props;\n\n if (value)\n return (\n <text className={props.className} {...other}>\n <tspan style={style}>{value.before} </tspan>\n <tspan style={style}>{value.value}</tspan>\n <tspan style={style}>\n {' '}\n {value.output ? value.output.default.after + '' : ''}\n {value.after}\n </tspan>\n </text>\n );\n else return <InvalidSvg className={props.className} />;\n};\n\nexport default SvgUnit;\n","import * as React from \"react\";\nimport scaleLookup from \"./scaleLookup\";\nimport { Invalid } from \"./InvalidUnit\";\nimport StringUnit from \"./StringUnit\";\nimport SvgUnit from \"./SvgUnit\";\n\ntype currencyCalcProps = {\n calcOnly?: boolean;\n children?: any;\n input?: any;\n output?: any;\n string?: boolean;\n svg?: boolean;\n hideZero?: boolean;\n maximumSignificantDigits?: number;\n minimumFractionDigits?: number;\n maximumFractionDigits?: number;\n className?: string;\n\n localeStringLanguage?: string;\n};\n\nexport const currencyCalc = (\n props: currencyCalcProps,\n after?: string,\n before?: string,\n afterSingular?: any,\n isAbsolute?: any\n) => {\n const {\n children,\n input,\n output,\n /* maximumSignificantDigits, */\n minimumFractionDigits,\n maximumFractionDigits,\n localeStringLanguage = \"en-EN\",\n calcOnly,\n string,\n svg,\n hideZero,\n } = props;\n\n // Remove commas\n var value =\n typeof children === \"string\" ? children.replace(/,/g, \"\") : children;\n\n // Parse as float\n value = parseFloat(value);\n\n // Input\n value =\n value !== 0 && input && scaleLookup[input]\n ? scaleLookup[input].pow * value\n : value;\n\n // output\n const outputCalc =\n output && scaleLookup[output] ? scaleLookup[output] : undefined;\n\n value = value !== 0 && output ? value / outputCalc.pow : value;\n\n const minimumFractionDigitsCalculated =\n isAbsolute === true && output === undefined\n ? minimumFractionDigits === 0\n : /*: maximumFractionDigits === 0\n ? 0*/\n typeof minimumFractionDigits === \"number\"\n ? minimumFractionDigits\n : outputCalc && outputCalc.defaultmaximumFractionDigits\n ? outputCalc.defaultmaximumFractionDigits\n : 2;\n\n const maximumFractionDigitsCalculated =\n isAbsolute === true && output === undefined\n ? maximumFractionDigits === 0\n : value <= 0.005\n ? 4\n : value <= 0.05\n ? 3\n : value <= 0.5\n ? 2\n : maximumFractionDigits === 0\n ? 0\n : typeof maximumFractionDigits === \"number\"\n ? maximumFractionDigits\n : outputCalc && outputCalc.defaultmaximumFractionDigits\n ? outputCalc.defaultmaximumFractionDigits\n : 2;\n\n const toLocalStringConfig = {\n //maximumSignificantDigits: maximumSignificantDigits,\n minimumFractionDigits: minimumFractionDigitsCalculated,\n maximumFractionDigits:\n maximumFractionDigitsCalculated > minimumFractionDigitsCalculated\n ? maximumFractionDigitsCalculated\n : minimumFractionDigitsCalculated,\n };\n\n // Convert to Locale String\n value = value.toLocaleString(localeStringLanguage, toLocalStringConfig);\n\n const calcObject = {\n value: value,\n before: before,\n after: after,\n output: outputCalc,\n };\n\n let className = props.className;\n if (value === \"1\" && afterSingular) {\n className = className + \" wfp--unit--singular\";\n }\n\n if ((!value || value === \"NaN\" || parseFloat(value) === 0) && hideZero)\n return false;\n else if (calcOnly) return calcObject;\n else if (svg) return SvgUnit(calcObject, props);\n else if (string) return StringUnit(calcObject /*, props*/);\n else if (value !== false) return <span className={className}>{value}</span>;\n else return <Invalid className={props.className} />;\n};\n\nexport default currencyCalc;\n","import * as React from \"react\";\nimport { Invalid } from \"./InvalidUnit\";\nimport StringUnit from \"./StringUnit\";\nimport SvgUnit from \"./SvgUnit\";\n\ntype percentageCalcProps = {\n calcOnly?: boolean;\n children?: any;\n from?: any;\n string?: boolean;\n svg?: boolean;\n hideZero?: boolean;\n maximumSignificantDigits?: number;\n maximumFractionDigits?: number;\n className?: string;\n};\n\nexport const percentageCalc = (\n props: percentageCalcProps,\n after?: string,\n before?: string\n) => {\n const {\n calcOnly,\n children,\n from,\n string,\n svg,\n hideZero,\n maximumSignificantDigits,\n maximumFractionDigits,\n } = props;\n\n // Remove commas\n var value =\n typeof children === \"string\" ? children.replace(/,/g, \"\") : children;\n\n // Parse as float\n value = parseFloat(value);\n\n if (parseFloat(from) === 0) {\n value = false;\n } else if (from) {\n value = (value / parseFloat(from)) * 100;\n }\n\n // Convert to Locale String\n value = value.toLocaleString(\"en-EN\", {\n minimumFractionDigits: maximumSignificantDigits\n ? maximumSignificantDigits\n : 0,\n maximumSignificantDigits: maximumSignificantDigits,\n maximumFractionDigits:\n value <= 0.5 ? 5 : maximumFractionDigits ? maximumFractionDigits : 1,\n });\n\n const calcObject = {\n value: value,\n before: before,\n after: after,\n output: undefined,\n };\n if ((!value || value === \"NaN\" || parseFloat(value) === 0) && hideZero)\n return false;\n else if (calcOnly) return calcObject;\n else if (svg) return SvgUnit(calcObject, props);\n else if (string) return StringUnit(calcObject /*, props*/);\n else if (value !== false)\n return <span className={props.className}>{value}</span>;\n else return <Invalid className={props.className} />;\n};\n\nexport default percentageCalc;\n","import * as React from \"react\";\nimport SvgUnit from \"./SvgUnit\";\nimport StringUnit from \"./StringUnit\";\n\n// TODO: Add interface interface SimpleCalcProps\n\ntype SimpleCalcProps = {\n calcOnly?: boolean;\n children?: any;\n string?: boolean;\n svg?: boolean;\n hideUnit?: boolean;\n className?: string;\n after?: string;\n before?: string;\n};\n\nconst SimpleCalc = (\n props: SimpleCalcProps,\n after?: string,\n before?: string\n) => {\n const { calcOnly, className, children, string, svg, hideUnit } = props;\n\n // Remove commas\n const value = children;\n\n const afterCalc = after ? after : \"\";\n\n const unit = hideUnit ? \"\" : before + children + afterCalc;\n\n const calcObject = {\n value: value,\n before: before,\n after: after,\n output: value + unit,\n };\n\n if (calcOnly) return calcObject;\n else if (svg)\n return SvgUnit(\n { value: value + unit, before: before, after: after },\n props\n );\n else if (string) return StringUnit(calcObject /*, props */);\n else if (value !== false) return <span className={className}>{value}</span>;\n};\n\nexport default SimpleCalc;\n","import * as React from \"react\";\nimport SvgUnit from \"./SvgUnit\";\nimport StringUnit from \"./StringUnit\";\n\nconst YearMonthGen = (props) => {\n const { children } = props;\n\n const value = children;\n\n let newDate;\n /* Generate Date from Date */\n if (typeof value === \"number\" && value.toString().length >= 7) {\n newDate = new Date(value, props);\n } else if (value.getMonth) {\n /* Use Date Object */\n newDate = value;\n } else {\n /* Generate Date from String YYYYMM */\n const year = value.toString().substring(0, 4);\n const month = parseInt(value.toString().substring(4, 7), 10) - 1;\n newDate = new Date(year, month, 1);\n }\n const monthName = newDate.toLocaleString(\"en-us\", { month: \"short\" });\n const monthNameFull = newDate.toLocaleString(\"en-us\", { month: \"long\" });\n return {\n monthName: monthName,\n monthNameFull: monthNameFull,\n year: newDate.getFullYear(),\n date: newDate,\n };\n};\n\n/*const MonthYearCalcDate = ( value, showZero, showUnit ) => {\n const year = value.toString().substring(0, 4);\n const month = parseInt(value.toString().substring(4, 7), 10) - 1;\n const newDate = new Date(year, month, 1);\n return newDate\n}*/\n\n// Format YYYYMM / from 201709 => Sep 2017\nexport const YearMonthCalc = (props) => {\n const { className, string, svg, calcOnly } = props;\n const YearMonthgenerated = YearMonthGen(props);\n\n const calcObject = {\n value: YearMonthgenerated.monthName + \" \" + YearMonthgenerated.year,\n before: \"\",\n after: \"\",\n output: undefined,\n };\n\n if (calcOnly) return calcObject;\n else if (svg) return SvgUnit(calcObject, props);\n else if (string) return StringUnit(calcObject /*, props*/);\n else if (calcObject?.value)\n return <span className={className}>{calcObject.value}</span>;\n};\n\nexport default YearMonthCalc;\n","import * as React from 'react';\nimport scaleLookup from './scaleLookup';\n\nimport {\n Countries,\n Usd,\n Partners,\n Beneficiaries,\n Households,\n People,\n Months,\n Level,\n Mt,\n Kg,\n MetricTons,\n Trips,\n None,\n Num,\n Percentage,\n YearMonth,\n} from './UnitList';\nimport useSettings from '../../hooks/useSettings';\n// All Unit Components together in <Unit type=\"Unitname\" />\n\ninterface UnitProps extends React.ComponentPropsWithoutRef<'div'> {\n /**\n The value which should be displayed\n */\n children: string | number;\n /**\n Only used for type Percentage will divide value/from string, float\n */\n from?: string | number;\n /**\n The interface of the input value\n */\n input?: string;\n /**\n * Display zero values to be displayed\n */\n showZero: boolean;\n /**\n Hide the Unit if it's value is zero.\n */\n hideEmpty: boolean;\n /**\n The minimum number of fraction digits to use. Possible values are from 0 to 20. Only used on numeric types\n */\n minimumFractionDigits?: number;\n /**\n A value between 1-21, The maximum number of significant digits to use. Possible values are from 1 to 21; the default is minimumSignificantDigits.\n */\n maximumSignificantDigits?: number;\n\n output?: string;\n\n string?: boolean;\n localeStringLanguage?: string;\n maximumFractionDigits?: number;\n textAnchor?: string;\n\n /**\n * A string with a BCP 47 language code, or an array of language codes. For the general form and interpretation of the locale argument see the [toLocaleString on developer.mozilla.org](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleString) page.\n */\n locale?: string;\n\n /**\n Setup the Unit\n */\n setup?: boolean;\n /**\n Render output as svg text\n */\n svg?: boolean;\n /**\n The unit type */\n type:\n | 'none'\n | 'usd'\n | 'partners'\n | 'beneficiaries'\n | 'households'\n | 'months'\n | 'mt'\n | 'metricTons'\n | 'kg'\n | 'num'\n | 'yearMonth'\n | 'level'\n | 'people'\n | 'countries'\n | 'percentage';\n}\n\nconst components = {\n Usd,\n Partners,\n Beneficiaries,\n Households,\n Months,\n Mt,\n Kg,\n MetricTons,\n Num,\n Level,\n None,\n Trips,\n Countries,\n People,\n Percentage,\n YearMonth,\n};\n\n/** The Unit component method returns a component with a language and unit sensitive representation of this number based on [Numbers and Unit from the Editorial Guidelines](https://cdn.wfp.org/guides/editorial/content/numbers-and-units/) the [Numbers and Units Reference on developer.mozilla.org](http://cdn.wfp.org/guides/editorial/content/numbers-and-units). */\n\nconst Unit: React.FC<UnitProps> = (props) => {\n const { prefix } = useSettings();\n\n const {\n className,\n output,\n string,\n textAnchor,\n localeStringLanguage = 'en-EN',\n type = 'none',\n setup,\n } = props;\n const typeEl = props.type.charAt(0).toUpperCase() + props.type.slice(1);\n const Unit = components[typeEl];\n //const unitHideClass = setup && setup.hideUnit ? 'wfp--unit--hide' : '';\n const textAnchorCalc = textAnchor ? textAnchor : 'start';\n const unitClassName = type ? `${prefix}--unit--${type.toLowerCase()}` : '';\n\n const outputClassName =\n output && scaleLookup[output] ? `${prefix}--unit--${output}` : '';\n const setupClassName = setup ? `${prefix}--unit--${setup}` : '';\n const classNameCalc = `${prefix}--unit ${className} ${unitClassName} ${outputClassName} ${setupClassName}`;\n\n if (string) {\n return Unit(props);\n }\n\n if (Unit === undefined) {\n // console.warn(`The unit \"${type}\" is undefined`);\n return null;\n }\n\n return (\n <Unit\n {...props}\n className={classNameCalc}\n textAnchor={textAnchorCalc}\n localeStringLanguage={localeStringLanguage}\n />\n );\n};\n\nexport default Unit;\n","import currencyCalc from \"./currencyCalc\";\nimport percentageCalc from \"./percentageCalc\";\nimport SimpleCalc from \"./SimpleCalc\";\nimport YearMonthCalc from \"./YearMonthCalc\";\n\n// Generate USD\nexport const Usd = (props) => {\n return currencyCalc(props, \"\", \"US$\");\n};\n\n// Generate People\nexport const People = (props) => {\n return currencyCalc(props, \"People\", undefined, true, true);\n};\n\n// Generate Partners\nexport const Partners = (props) => {\n return currencyCalc(props, \"Partners\", undefined, true, true);\n};\n\n// Generate MT\nexport const Mt = (props) => {\n return currencyCalc(props, \"MT\", undefined, true);\n};\n\n// Generate MetricTons\nexport const MetricTons = (props) => {\n return currencyCalc(props, \"MetricTons\", undefined, true);\n};\n\n// Generate Months\nexport const Months = (props) => {\n return currencyCalc(props, \"Months\", undefined, true, \"Month\");\n};\n\n// Generate Num\nexport const Num = (props) => {\n return currencyCalc(props, \"\");\n};\n\n// Generate Beneficiaries\nexport const Beneficiaries = (props) => {\n return currencyCalc(props, \"Beneficaries\", undefined, true, true);\n};\n\n// Generate Households\nexport const Households = (props) => {\n return currencyCalc(props, \"Households\", undefined, true, true);\n};\n\n// Generate Trips\nexport const Trips = (props) => {\n return currencyCalc(props, \"Trips\", undefined, true, true);\n};\n\n// Generate kg\nexport const Kg = (props) => {\n return SimpleCalc(props, \"kg\");\n};\n\n// Generate Households\nexport const Level = (props) => {\n return SimpleCalc(props, \"\");\n};\n\n// Generate Countries\nexport const Countries = (props) => {\n return SimpleCalc(props, \"Countries\");\n};\n\n// Generate None\nexport const None = (props) => {\n return SimpleCalc(props, \"\");\n};\n\n// Generate Percentage\nexport const Percentage = (props) => {\n return percentageCalc(props, \"%\");\n};\n\n// Generate YearMonth\nexport const YearMonth = (props) => {\n return YearMonthCalc(props);\n};\n","import React from \"react\";\nimport type { PropsWithChildren } from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n\n/** Value are typically used to show KPI values and additional information. */\ntype ValueProps = PropsWithChildren<{\n value?: React.ReactNode;\n secondaryValue?: React.ReactNode;\n title?: React.ReactNode;\n className?: string;\n}>;\n\nconst Value: React.FC<ValueProps> = ({\n value,\n secondaryValue,\n className,\n title,\n ...other\n}) => {\n const { prefix } = useSettings();\n const classes = classNames(`${prefix}--value`, className);\n return (\n <div className={classes} {...other}>\n <h4 className={`${prefix}--value__title`}>{title}</h4>\n <div className={`${prefix}--value__primary-value`}>{value}</div>\n <div className={`${prefix}--value__secondary-value`}>\n {secondaryValue}\n </div>\n </div>\n );\n};\n\nexport default Value;\n","import useSettings from \"../../hooks/useSettings\";\nimport * as React from \"react\";\n// Passes settings down to children, primarily useful for class components\n// that can't consume the useSettings hook. Props passed to the underlying\n// component can be used to override settings values\nexport const withWFPCoreSettings =\n (WrappedComponent: React.ElementType) => (props?: object) => {\n const settings = useSettings();\n const allProps = { ...settings, ...props };\n\n return <WrappedComponent {...allProps} />;\n };\n","import { useContext } from \"react\";\nimport { AppContextInterface, WFPCoreContext } from \"./WFPCoreProvider\";\n\nexport default function useTheme(): AppContextInterface {\n const settings = useContext(WFPCoreContext);\n return settings;\n}\n","const colors = {\n main: {\n name: \"main\",\n hex: \"#007DBC\", // previously 0A6EB4\n scss: \"$color__main\",\n type: \"communications\",\n },\n \"sequential-default-07\": {\n name: \"sequential-default-07\",\n hex: \"#9DEAFF\",\n scss: \"$color__sequential-default-07\",\n type: \"sequential-default\",\n shortDescription: \"sequential default 07\",\n },\n \"sequential-default-06\": {\n name: \"sequential-default-06\",\n hex: \"#73C3FE\",\n scss: \"$color__sequential-default-06\",\n type: \"sequential-default\",\n shortDescription: \"sequential default 06\",\n },\n \"sequential-default-05\": {\n name: \"sequential-default-05\",\n hex: \"#4AA1E2\",\n scss: \"$color__sequential-default-05\",\n type: \"sequential-default\",\n shortDescription: \"sequential default 05\",\n },\n \"sequential-default-04\": {\n name: \"sequential-default-04\",\n hex: \"#0780C0\",\n scss: \"$color__sequential-default-04\",\n type: \"sequential-default\",\n shortDescription: \"sequential default 04\",\n },\n \"sequential-default-03\": {\n name: \"sequential-default-03\",\n hex: \"#005F9B\",\n scss: \"$color__sequential-default-03\",\n type: \"sequential-default\",\n shortDescription: \"sequential default 03\",\n },\n \"sequential-default-02\": {\n name: \"sequential-default-02\",\n hex: \"#003F76\",\n scss: \"$color__sequential-default-02\",\n type: \"sequential-default\",\n shortDescription: \"sequential default 02\",\n },\n \"sequential-default-01\": {\n name: \"sequential-default-01\",\n hex: \"#002153\",\n scss: \"$color__sequential-default-01\",\n type: \"sequential-default\",\n shortDescription: \"sequential default 01\",\n },\n \"sequential-secondary-07\": {\n name: \"sequential-secondary-07\",\n hex: \"#bdf9c4\",\n scss: \"$color__sequential-secondary-07\",\n type: \"sequential-secondary\",\n shortDescription: \"sequential secondary 07\",\n },\n \"sequential-secondary-06\": {\n name: \"sequential-secondary-06\",\n hex: \"#89eaa8\",\n scss: \"$color__sequential-secondary-06\",\n type: \"sequential-secondary\",\n shortDescription: \"sequential secondary 06\",\n },\n \"sequential-secondary-05\": {\n name: \"sequential-secondary-05\",\n hex: \"#5fd79a\",\n scss: \"$color__sequential-secondary-05\",\n type: \"sequential-secondary\",\n shortDescription: \"sequential secondary 05\",\n },\n \"sequential-secondary-04\": {\n name: \"sequential-secondary-04\",\n hex: \"#41c196\",\n scss: \"$color__sequential-secondary-04\",\n type: \"sequential-secondary\",\n shortDescription: \"sequential secondary 04\",\n },\n \"sequential-secondary-03\": {\n name: \"sequential-secondary-03\",\n hex: \"#33aa96\",\n scss: \"$color__sequential-secondary-03\",\n type: \"sequential-secondary\",\n shortDescription: \"sequential secondary 03\",\n },\n \"sequential-secondary-02\": {\n name: \"sequential-secondary-02\",\n hex: \"#319298\",\n scss: \"$color__sequential-secondary-02\",\n type: \"sequential-secondary\",\n shortDescription: \"sequential secondary 02\",\n },\n \"sequential-secondary-01\": {\n name: \"sequential-secondary-01\",\n hex: \"#367a96\",\n scss: \"$color__sequential-secondary-01\",\n type: \"sequential-secondary\",\n shortDescription: \"sequential secondary 01\",\n },\n \"categorical-corporate-01\": {\n name: \"categorical-01\",\n hex: \"#007DBC\",\n scss: \"$color__categorical-corporate-01\",\n type: \"categorical\",\n shortDescription: \"categorical-01\",\n },\n \"categorical-corporate-02\": {\n name: \"categorical-02\",\n hex: \"#36B5C5\",\n scss: \"$color__categorical-corporate-02\",\n type: \"categorical\",\n shortDescription: \"categorical-02\",\n },\n \"categorical-corporate-03\": {\n name: \"categorical-03\",\n hex: \"#00B485\",\n scss: \"$color__categorical-corporate-03\",\n type: \"categorical\",\n shortDescription: \"categorical-03\",\n },\n \"categorical-corporate-04\": {\n name: \"categorical-04\",\n hex: \"#008868\",\n scss: \"$color__categorical-corporate-04\",\n type: \"categorical\",\n shortDescription: \"categorical-04\",\n },\n \"categorical-corporate-05\": {\n name: \"categorical-05\",\n hex: \"#1A4262\",\n scss: \"$color__categorical-corporate-05\",\n type: \"categorical\",\n shortDescription: \"categorical-05\",\n },\n \"categorical-corporate-06\": {\n name: \"categorical-06\",\n hex: \"#982B56\",\n scss: \"$color__categorical-corporate-06\",\n type: \"categorical\",\n shortDescription: \"categorical-06\",\n },\n \"categorical-corporate-07\": {\n name: \"categorical-07\",\n hex: \"#EF404C\",\n scss: \"$color__categorical-corporate-07\",\n type: \"categorical\",\n shortDescription: \"categorical-07\",\n },\n \"categorical-corporate-08\": {\n name: \"categorical-08\",\n hex: \"#F47847\",\n scss: \"$color__categorical-corporate-08\",\n type: \"categorical\",\n shortDescription: \"categorical-08\",\n },\n \"categorical-corporate-09\": {\n name: \"categorical-09\",\n hex: \"#B79F8D\",\n scss: \"$color__categorical-corporate-09\",\n type: \"categorical\",\n shortDescription: \"categorical-09\",\n },\n \"categorical-corporate-10\": {\n name: \"categorical-10\",\n hex: \"#ECDFBB\",\n scss: \"$color__categorical-corporate-10\",\n type: \"categorical\",\n shortDescription: \"categorical-10\",\n },\n female: {\n name: \"female\",\n hex: \"#3f7e44\",\n scss: \"$color__female\",\n type: \"symbolic\",\n shortDescription: \"Indicate female\",\n },\n male: {\n name: \"male\",\n hex: \"#26bde2\",\n scss: \"$color__male\",\n type: \"symbolic\",\n shortDescription: \"Indicate male\",\n },\n national: {\n name: \"national\",\n hex: \"#3C5979\",\n scss: \"$color__national\",\n type: \"symbolic\",\n shortDescription: \"Indicate national staff\",\n },\n international: {\n name: \"international\",\n hex: \"#fcc30b\",\n scss: \"$color__international\",\n type: \"symbolic\",\n shortDescription: \"Indicate international staff\",\n },\n \"brand-01\": {\n name: \"brand-01\",\n hex: \"#007DBC\", //previously 0A6EB4\n scss: \"var(--brand-01)\",\n css: \"color__brand-01\",\n type: \"brand\",\n shortDescription: \"WFP brand color\",\n },\n \"interactive-01\": {\n name: \"interactive-01\",\n hex: \"#0b77c2\",\n scss: \"var(--interactive-01)\",\n css: \"color__interactive-01\",\n type: \"brand\",\n shortDescription: \"Primary interactive color, Primary buttons\",\n },\n \"interactive-02\": {\n name: \"interactive-02\",\n hex: \"#085387\",\n scss: \"$action-default-fill-primary-default-02\",\n css: \"color__interactive-02\",\n type: \"brand\",\n shortDescription: \"BannerNavigation\",\n },\n \"accent-01\": {\n name: \"accent-01\",\n hex: \"#f7b825\",\n scss: \"$accent-01\",\n css: \"color__accent-01\",\n type: \"brand-accent\", //replaced type brand to brand-accent to prevent it from showing it\n shortDescription: \"Accent colour (recommended)\",\n },\n \"brand-01-20\": {\n name: \"brand-01-20\",\n hex: \"#c2dbec\",\n scss: \"$brand-01-20\",\n css: \"color__brand-01-20\",\n type: \"brand-extended\",\n },\n \"brand-01-30\": {\n name: \"brand-01-30\",\n hex: \"#85b7da\",\n scss: \"$brand-01-30\",\n css: \"color__brand-01-30\",\n type: \"brand-extended\",\n },\n \"brand-01-40\": {\n name: \"brand-01-40\",\n hex: \"#4792c7\",\n scss: \"$brand-01-40\",\n css: \"color__brand-01-40\",\n type: \"brand-extended\",\n },\n \"brand-01-60\": {\n name: \"brand-01-60\",\n hex: \"#085387\",\n scss: \"$brand-01-60\",\n css: \"color__brand-01-60\",\n type: \"brand-extended\",\n },\n \"brand-01-70\": {\n name: \"brand-01-70\",\n hex: \"#05375a\",\n scss: \"$brand-01-70\",\n css: \"color__brand-01-70\",\n type: \"brand-extended\",\n },\n \"brand-01-80\": {\n name: \"brand-01-80\",\n hex: \"#031c2d\",\n scss: \"$brand-01-80\",\n css: \"color__brand-01-80\",\n type: \"brand-extended\",\n },\n \"ui-01\": {\n name: \"ui-01\",\n hex: \"#ffffff\",\n scss: \"$ui-01\",\n css: \"color__ui-01\",\n type: \"ui\",\n shortDescription: \"Primary container background; Secondary page background\",\n description:\n \"This colour is used as the page background if there are no Modules on top of it.\",\n },\n \"ui-02\": {\n name: \"ui-02\",\n hex: \"#eff2f5\",\n scss: \"var(--ui-02)\",\n css: \"color__ui-02\",\n type: \"ui\",\n shortDescription: \"Primary page background; Secondary container background\",\n description:\n \"Use this colour as page background if there are modules on top of it to increase the contrast between the modules.\",\n },\n \"ui-03\": {\n name: \"ui-03\",\n hex: \"#f0f3f6\",\n scss: \"$ui-03\",\n css: \"color__ui-03\",\n type: \"ui\",\n shortDescription: \"Subtle border, Tertiary background color\",\n },\n \"ui-04\": {\n name: \"ui-04\",\n hex: \"#dfe3e6\",\n scss: \"$ui-04\",\n css: \"color__ui-04\",\n type: \"ui\",\n shortDescription: \"3:1 AA element contrast; Medium contrast border\",\n },\n \"ui-05\": {\n name: \"ui-05\",\n hex: \"#8c9ba5\",\n scss: \"$ui-03\",\n css: \"color__ui-05\",\n type: \"ui\",\n shortDescription:\n \"4.5:1 AA element contrast; High contrast border; Emphasis elements\",\n },\n \"ui-06\": {\n name: \"ui-06\",\n hex: \"#0b1923\",\n scss: \"$ui-06\",\n css: \"color__ui-06\",\n type: \"ui\",\n shortDescription: \"\",\n },\n \"text-01\": {\n name: \"text-01\",\n hex: \"#031c2d\",\n scss: \"$text-01\",\n css: \"color__text-01\",\n type: \"ui\",\n shortDescription: \"Primary text colour; Input labels;\",\n },\n \"text-02\": {\n name: \"text-02\",\n hex: \"#5a6872\",\n scss: \"$text-02\",\n css: \"color__text-02\",\n type: \"ui\",\n shortDescription: \"Secondary text; Help text\",\n },\n \"text-03\": {\n name: \"text-03\",\n hex: \"#dfe6eb\",\n scss: \"$text-03\",\n css: \"color__text-03\",\n type: \"ui\",\n shortDescription: \"Placeholder text\",\n },\n \"text-04\": {\n name: \"text-04\",\n hex: \"#ffffff\",\n scss: \"$text-04\",\n css: \"color__text-04\",\n type: \"ui\",\n shortDescription: \"\",\n },\n \"inverse-01\": {\n name: \"inverse-01\",\n hex: \"#ffffff\",\n scss: \"$inverse-01\",\n css: \"color__inverse-01\",\n type: \"ui\",\n shortDescription: \"Inverse text color; Inverse icon color\",\n },\n // 'inverse-02': {\n // name: 'inverse-02',\n // hex: '#f0f3f6',\n // scss: '$inverse-02',\n // css: 'color__inverse-02',\n // type: 'ui',\n // shortDescription: 'High contrast backgrounds; High contrast elements',\n // },\n \"field-01\": {\n name: \"field-01\",\n hex: \"#ffffff\",\n scss: \"$field-02\",\n css: \"color__field-01\",\n type: \"ui\",\n shortDescription: \"Default input fields; Fields on $ui-backgrounds\",\n },\n /*'field-02': {\n name: 'field-02',\n hex: '#fbfcfc',\n scss: '$field-02',\n css: 'color__field-02',\n type: 'ui',\n },*/\n \"field-border-01\": {\n name: \"field-border-01\",\n hex: \"#d4d7d9\",\n scss: \"$field-border-01\",\n css: \"color__field-border-01\",\n type: \"ui\",\n shortDescription: \"\",\n },\n \"disabled-01\": {\n name: \"disabled-01\",\n hex: \"#f9fbfc\",\n scss: \"$disabled-01\",\n css: \"color__disabled-01\",\n type: \"ui\",\n shortDescription: \"\",\n },\n \"disabled-02\": {\n name: \"disabled-02\",\n hex: \"#dfe6eb\",\n scss: \"$disabled-02\",\n css: \"color__disabled-02\",\n type: \"ui\",\n shortDescription: \"\",\n },\n \"sdg-01\": {\n name: \"sdg-01\",\n hex: \"#E5243B\",\n scss: \"$sdg-01\",\n css: \"color__sdg-01\",\n type: \"sdg\",\n shortDescription: \"No poverty, red\",\n },\n \"sdg-02\": {\n name: \"sdg-02\",\n hex: \"#DDA63A\",\n scss: \"$sdg-02\",\n css: \"color__sdg-02\",\n type: \"sdg\",\n shortDescription: \"Zero hunger, mustard\",\n },\n \"sdg-03\": {\n name: \"sdg-03\",\n hex: \"#4C9F38\",\n scss: \"$sdg-03\",\n css: \"color__sdg-03\",\n type: \"sdg\",\n shortDescription: \"Good health and well-being, kelly green\",\n },\n \"sdg-04\": {\n name: \"sdg-04\",\n hex: \"#C5192D\",\n scss: \"$sdg-04\",\n css: \"color__sdg-04\",\n type: \"sdg\",\n shortDescription: \"Quality education, dark red\",\n },\n \"sdg-05\": {\n name: \"sdg-05\",\n hex: \"#FF3A21\",\n scss: \"$sdg-05\",\n css: \"color__sdg-05\",\n type: \"sdg\",\n shortDescription: \"Gender equality, red orange\",\n },\n \"sdg-06\": {\n name: \"sdg-06\",\n hex: \"#26BDE2\",\n scss: \"$sdg-06\",\n css: \"color__sdg-06\",\n type: \"sdg\",\n shortDescription: \"Clean water and sanitation, bright blue\",\n },\n \"sdg-07\": {\n name: \"sdg-07\",\n hex: \"#FCC30B\",\n scss: \"$sdg-07\",\n css: \"color__sdg-07\",\n type: \"sdg\",\n shortDescription: \"Affordable and clean energy, yellow\",\n },\n \"sdg-08\": {\n name: \"sdg-08\",\n hex: \"#A21942\",\n scss: \"$sdg-08\",\n css: \"color__sdg-08\",\n type: \"sdg\",\n shortDescription: \"Decent work and economic growth, burgundy red\",\n },\n \"sdg-09\": {\n name: \"sdg-09\",\n hex: \"#FD6925\",\n scss: \"$sdg-09\",\n css: \"color__sdg-09\",\n type: \"sdg\",\n shortDescription: \"Industry, innovation and infrastructure, orange\",\n },\n \"sdg-10\": {\n name: \"sdg-10\",\n hex: \"#DD1367\",\n scss: \"$sdg-10\",\n css: \"color__sdg-10\",\n type: \"sdg\",\n shortDescription: \"Reduced inequalities, magentas\",\n },\n \"sdg-11\": {\n name: \"sdg-11\",\n hex: \"#FD9D24\",\n scss: \"$sdg-11\",\n css: \"color__sdg-11\",\n type: \"sdg\",\n shortDescription: \"Sustainable cities and communities, golden yellow\",\n },\n \"sdg-12\": {\n name: \"sdg-12\",\n hex: \"#BF8B2E\",\n scss: \"$sdg-12\",\n css: \"color__sdg-12\",\n type: \"sdg\",\n shortDescription: \"Responsible consumption and production, dark mustard\",\n },\n \"sdg-13\": {\n name: \"sdg-13\",\n hex: \"#3F7E44\",\n scss: \"$sdg-10\",\n css: \"color__sdg-13\",\n type: \"sdg\",\n shortDescription: \"Climate action, dark green\",\n },\n \"sdg-14\": {\n name: \"sdg-14\",\n hex: \"#0A97D9\",\n scss: \"$sdg-14\",\n css: \"color__sdg-14\",\n type: \"sdg\",\n shortDescription: \"Life below water, blue\",\n },\n \"sdg-15\": {\n name: \"sdg-15\",\n hex: \"#56C02B\",\n scss: \"$sdg-15\",\n css: \"color__sdg-15\",\n type: \"sdg\",\n shortDescription: \"Life on land, lime green\",\n },\n \"sdg-16\": {\n name: \"sdg-16\",\n hex: \"#00689D\",\n scss: \"$sdg-16\",\n css: \"color__sdg-16\",\n type: \"sdg\",\n shortDescription: \"Peace, justice and stron institutions, royal blue\",\n },\n \"sdg-17\": {\n name: \"sdg-17\",\n hex: \"#19486A\",\n scss: \"$sdg-17\",\n css: \"color__sdg-17\",\n type: \"sdg\",\n shortDescription: \"Partnership for the goals, navy blue\",\n },\n \"support-01\": {\n name: \"support-01\",\n hex: \"#c5192d\",\n scss: \"$support-01\",\n css: \"color__support-01\",\n type: \"support\",\n shortDescription: \"Error (same as color__red)\",\n description:\n \"Use the error color to indicate an error or to focus the attention on something which is crucial to see. Paired with a cross icon, red delivers the message that something went wrong.\",\n },\n \"support-light-01\": {\n name: \"support-light-01\",\n hex: \"#f1c6cb\",\n scss: \"$support-light-01\",\n css: \"color__support-light-01\",\n type: \"support\",\n shortDescription: \"Lighter version of color-red\",\n description: \"\",\n },\n \"support-02\": {\n name: \"support-02\",\n hex: \"#689e18\",\n scss: \"$support-02\",\n css: \"color__support-02\",\n type: \"support\",\n shortDescription: \"Success\",\n description:\n \"Use green to indicate success state. Paired with a checkmark icon the user knows that the operation was successfully completed.\",\n },\n \"support-light-02\": {\n name: \"support-light-02\",\n hex: \"#ccdbcd\",\n scss: \"$support-light-02\",\n css: \"color__support-light-02\",\n type: \"support\",\n shortDescription: \"Lighter version of green\",\n description: \"\",\n },\n \"support-03\": {\n name: \"support-03\",\n hex: \"#f7b825\",\n scss: \"$support-03\",\n css: \"color__support-03\",\n type: \"support\",\n shortDescription: \"Warning (same as color__yellow)\",\n description:\n \"Use yellow to indicate a transient warning which is less important than an error message. Yellow typically consists of items which require the user’s immediate attention, or indicate a waiting period. Although this overlaps with the use of red, yellow is more transient in nature.\",\n },\n \"support-light-03\": {\n name: \"support-light-03\",\n hex: \"#fdedc9\",\n scss: \"$support-light-03\",\n css: \"color__support-light-03\",\n type: \"support\",\n shortDescription: \"Lighter version of yellow\",\n description: \"\",\n },\n \"support-04\": {\n name: \"support-04\",\n hex: \"#85b7da\",\n scss: \"$support-04\",\n css: \"color__support-04\",\n type: \"support\",\n shortDescription: \"Info\",\n description: \"\",\n },\n \"support-light-04\": {\n name: \"support-light-04\",\n hex: \"#c2dbec\",\n scss: \"$support-light-04\",\n css: \"color__support-light-04\",\n type: \"support\",\n shortDescription: \"\",\n description: \"\",\n },\n};\n\nexport default colors;\n\n// main: {\n// name: 'main',\n// hex: '#0A6EB4',\n// scss: '$color__main',\n// type: 'communications',\n// },\n// navy: {\n// name: 'navy',\n// hex: '#19486a',\n// scss: '$color__navy',\n// // shortDescription: 'Same as SDG 17',\n// shortDescription: '',\n// type: 'communications',\n// },\n// aqua: {\n// name: 'aqua',\n// hex: '#26bde2',\n// // shortDescription: 'Same as SDG 6',\n// shortDescription: '',\n// scss: '$color__aqua',\n// type: 'communications',\n// },\n// 'dark-green': {\n// name: 'dark-green',\n// hex: '#3f7e44',\n// // shortDescription: 'Same as SDG 13',\n// shortDescription: '',\n// scss: '$color__dark-green',\n// type: 'communications',\n// },\n// lime: {\n// name: 'lime',\n// hex: '#97d700',\n// scss: '$color__lime',\n// type: 'communications',\n// },\n// yellow: {\n// name: 'yellow',\n// hex: '#fcc30b',\n// // shortDescription: 'Same as SDG 7',\n// shortDescription: '',\n// scss: '$color__yellow',\n// type: 'communications',\n// },\n// ochre: {\n// name: 'ochre',\n// hex: '#dda63a',\n// // shortDescription: 'Same as SDG 2',\n// shortDescription: '',\n// scss: '$color__ochre',\n// type: 'communications',\n// },\n// orange: {\n// name: 'orange',\n// hex: '#fd6925',\n// // shortDescription: 'Same as SDG 9',\n// shortDescription: '',\n// scss: '$color__orange',\n// type: 'communications',\n// },\n// red: {\n// name: 'red',\n// hex: '#c5192d',\n// // shortDescription: 'Same as SDG 1',\n// shortDescription: '',\n// scss: '$color__red',\n// type: 'communications',\n// },\n// 'dark-red': {\n// name: 'dark-red',\n// hex: '#a21942',\n// // shortDescription: 'Same as SDG 8',\n// shortDescription: '',\n// scss: '$color__dark-red',\n// type: 'communications',\n// },\n// magenta: {\n// name: 'magenta',\n// hex: '#dd1367',\n// // shortDescription: 'Same as SDG 10',\n// shortDescription: '',\n// scss: '$color__magenta',\n// type: 'communications',\n// },\n","import { useEffect, useLayoutEffect } from \"react\";\n\n/**\n * Custom hook for using either `useLayoutEffect` or `useEffect` based on the environment (client-side or server-side).\n * @param {Function} effect - The effect function to be executed.\n * @param {Array<any>} [dependencies] - An array of dependencies for the effect (optional).\n * @see [Documentation](https://usehooks-ts.com/react-hook/use-isomorphic-layout-effect)\n * @example\n * useIsomorphicLayoutEffect(() => {\n * // Code to be executed during the layout phase on the client side\n * }, [dependency1, dependency2]);\n */\nexport const useIsomorphicLayoutEffect =\n typeof window !== \"undefined\" ? useLayoutEffect : useEffect;\n","import { useState } from \"react\";\n\nimport { useIsomorphicLayoutEffect } from \"./useIsomorphicLayoutEffect\";\n\ntype UseMediaQueryOptions = {\n defaultValue?: boolean;\n initializeWithValue?: boolean;\n};\n\nconst IS_SERVER = typeof window === \"undefined\";\n\n/**\n * Custom hook for tracking the state of a media query.\n * @param {string} query - The media query to track.\n * @param {boolean | ?UseMediaQueryOptions} [options] - The default value to return if the hook is being run on the server (default is `false`).\n * @param {?boolean} [options.defaultValue] - The default value to return if the hook is being run on the server (default is `false`).\n * @param {?boolean} [options.initializeWithValue] - If `true` (default), the hook will initialize reading the media query. In SSR, you should set it to `false`, returning `options.defaultValue` or `false` initially.\n * @returns {boolean} The current state of the media query (true if the query matches, false otherwise).\n * @see [Documentation](https://usehooks-ts.com/react-hook/use-media-query)\n * @see [MDN Match Media](https://developer.mozilla.org/en-US/docs/Web/API/Window/matchMedia)\n * @example\n * const isSmallScreen = useMediaQuery('(max-width: 600px)');\n * // Use `isSmallScreen` to conditionally apply styles or logic based on the screen size.\n */\nexport function useMediaQuery(\n query: string,\n options?: boolean | UseMediaQueryOptions\n): boolean {\n // TODO: Refactor this code after the deprecated signature has been removed.\n const defaultValue =\n typeof options === \"boolean\" ? options : options?.defaultValue ?? false;\n const initializeWithValue =\n typeof options === \"boolean\"\n ? undefined\n : options?.initializeWithValue ?? undefined;\n\n const getMatches = (query: string): boolean => {\n if (IS_SERVER) {\n return defaultValue;\n }\n return window.matchMedia(query).matches;\n };\n\n const [matches, setMatches] = useState<boolean>(() => {\n if (initializeWithValue) {\n return getMatches(query);\n }\n return defaultValue;\n });\n\n /** Handles the change event of the media query. */\n function handleChange() {\n setMatches(getMatches(query));\n }\n\n useIsomorphicLayoutEffect(() => {\n const matchMedia = window.matchMedia(query);\n\n // Triggered at the first client-side load and if query changes\n handleChange();\n\n // Use deprecated `addListener` and `removeListener` to support Safari < 14 (#135)\n if (matchMedia.addListener) {\n matchMedia.addListener(handleChange);\n } else {\n matchMedia.addEventListener(\"change\", handleChange);\n }\n\n return () => {\n if (matchMedia.removeListener) {\n matchMedia.removeListener(handleChange);\n } else {\n matchMedia.removeEventListener(\"change\", handleChange);\n }\n };\n }, [query]);\n\n return matches;\n}\n"],"names":["REACT_ELEMENT_TYPE","REACT_FRAGMENT_TYPE","jsxProd","type","config","maybeKey","key","propName","reactJsxRuntime_production","getComponentNameFromType","REACT_CLIENT_REFERENCE","REACT_PROFILER_TYPE","REACT_STRICT_MODE_TYPE","REACT_SUSPENSE_TYPE","REACT_SUSPENSE_LIST_TYPE","REACT_ACTIVITY_TYPE","REACT_PORTAL_TYPE","REACT_CONTEXT_TYPE","REACT_CONSUMER_TYPE","REACT_FORWARD_REF_TYPE","innerType","REACT_MEMO_TYPE","REACT_LAZY_TYPE","testStringCoercion","value","checkKeyStringCoercion","JSCompiler_inline_result","JSCompiler_temp_const","JSCompiler_inline_result$jscomp$0","getTaskName","name","getOwner","dispatcher","ReactSharedInternals","UnknownOwner","hasValidKey","hasOwnProperty","getter","defineKeyPropWarningGetter","props","displayName","warnAboutAccessingKey","specialPropKeyWarningShown","elementRefGetterWithDeprecationWarning","componentName","didWarnAboutElementRef","ReactElement","self","source","owner","debugStack","debugTask","jsxDEVImpl","isStaticChildren","children","isArrayImpl","validateChildKeys","keys","k","didWarnAboutKeySpread","node","React","require$$0","createTask","callStackForError","unknownOwnerDebugStack","unknownOwnerDebugTask","reactJsxRuntime_development","trackActualOwner","jsxRuntimeModule","require$$1","PRE_ENTER","ENTERING","ENTERED","PRE_EXIT","EXITING","EXITED","UNMOUNTED","STATUS","getState","status","startOrEnd","unmounted","getEndStatus","unmountOnExit","getTimeout","timeout","nextTick","transitState","updateState","setStateMap","latestStateMap","timeoutId","onChange","state","stateMap","useTransitionMap","allowMultiple","enter","exit","preEnter","preExit","initialEntered","mountOnEnter","useState","useRef","configMap","enterTimeout","exitTimeout","setItem","useCallback","_initialEntered","deleteItem","newStateMap","endTransition","stateObj","toggle","toEnter","enterStage","_","_key","toggleAll","getTransition","transition","useAccordionProvider","transitionTimeout","rest","transitionMap","ACCORDION_BLOCK","ACCORDION_PREFIX","ACCORDION_ATTR","ACCORDION_BTN_ATTR","AccordionContext","createContext","bem","block","element","modifiers","className","blockElement","classString","expandedClassName","mergeProps","target","result","targetProp","sourceProp","e","AccordionProvider","jsx","getAccordion","getNextIndex","moveUp","current","length","moveFocus","activeElement","nodes","i","next","useAccordion","ControlledAccordion","providerValue","ref","accordionProps","Accordion","onStateChange","settings","theme","WFPCoreContext","defaultWFPContext","isBrowserDefaultDark","WFPCoreProvider","wrapperElement","prefix","initialTheme","setElementTheme","prefixClass","newTheme","classes","c","getActualTheme","defaultTheme","getDefaultTheme","themeState","setThemeState","actualThemeState","setActualThemeState","useEffect","darkThemeMq","mqListener","ctx","useSettings","useContext","useIdShim","id","setId","_useId","useId","useAccordionItem","disabled","buttonId","panelId","buttonProps","useIsomorphicLayoutEffect","useLayoutEffect","useHeightTransition","isResolved","height","setHeight","elementRef","setRef","instance","useMergeRef","refA","refB","useMemo","_extends","react","react_production","hasRequiredReact_production","requireReact_production","MAYBE_ITERATOR_SYMBOL","getIteratorFn","maybeIterable","ReactNoopUpdateQueue","assign","emptyObject","Component","context","updater","partialState","callback","ComponentDummy","PureComponent","pureComponentPrototype","cloneAndReplaceKey","oldElement","newKey","isValidElement","object","escape","escaperLookup","match","userProvidedKeyEscapeRegex","getElementKey","index","noop$1","resolveThenable","thenable","fulfilledValue","error","mapIntoArray","array","escapedPrefix","nameSoFar","invokeCallback","nextNamePrefix","mapChildren","func","count","child","lazyInitializer","payload","ctor","moduleObject","reportGlobalError","event","noop","forEachFunc","forEachContext","n","size","fn","childArray","defaultValue","childrenLength","render","compare","scope","prevTransition","currentTransition","returnValue","onStartTransitionFinish","usable","action","initialState","permalink","deps","Context","initialValue","create","createDeps","update","passthrough","reducer","initialArg","init","subscribe","getSnapshot","getServerSnapshot","react_development","hasRequiredReact_development","requireReact_development","module","exports","defineDeprecationWarning","methodName","info","warnNoop","publicInstance","callerName","warningKey","didWarnStateUpdateForUnmountedComponent","childKey","didWarnAboutMaps","resolveDispatcher","enqueueTask","task","enqueueTaskImpl","requireString","didWarnAboutMessageChannel","channel","aggregateErrors","errors","popActScope","prevActQueue","prevActScopeDepth","actScopeDepth","recursivelyFlushAsyncActWork","resolve","reject","queue","flushActQueue","isFlushing","continuation","deprecatedAPIs","fnName","didWarnAboutOldJSXRuntime","didWarnNoAwaitAct","queueSeveralMicrotasks","didAwaitActCall","error$0","_thrownError","returnValue$jscomp$0","getCurrentStack","a","_i","refObject","elementType","ownName","formatterFn","reactExports","ArrowRight$1","CalendarAltRegular$1","CaretDown$1","CaretUp$1","Check$1","Checkmark$1","CheckmarkCircle$1","ChevronDown$1","ChevronLeft$1","ChevronRight$1","ChevronUp$1","Close$1","Cross$1","Ellipsis$1","Error$2","Home$1","InfoCircle$1","InfoSolid$1","Locked$1","Menu$1","OverflowMenu$1","Search$1","User$1","WarningOutline$1","WarningSolid$1","getItemState","itemInitialEntered","useAccordionContext","useAccordionItemEffect","itemKey","itemRef","withAccordionItem","WrappedItem","WithAccordionItem","hasOwn","classNames","arg","appendClass","parseValue","newClass","getRenderNode","nodeOrFunc","forwardedRef","header","Heading","headingProps","contentProps","panelProps","itemState","_buttonProps","_panelProps","transitionStyle","_panelRef","panelRef","isMounted","isEnter","buttonClasses","jsxs","ChevronDown","AccordionItem","AuthLayout","image","backgroundContent","other","style","wrapperClasses","BackgroundContent","pageWidths","Wrapper","background","backgroundClassName","backgroundStyle","pageWidth","mobilePageWidth","spacing","backgroundClasses","BannerNavigationItem","BannerNavigation","FormItem","invalid","inline","AddonBefore","addonBefore","AddonAfter","addonAfter","InlineErrorMessage","errorId","errorClasses","invalidText","errorIcon","WarningSolid","Label","labelClasses","calculatedId","labelText","required","hideLabel","Helper","helperTextClasses","helperText","Input","additional","componentsOverride","inputWrapperClassName","inputWrapperClasses","components","AddonAfterComponent","AddonBeforeComponent","LabelComponent","HelperComponent","InlineErrorMessageComponent","componentProps","useInput","inputClassName","placeholder","onClick","light","inputClasses","inputProps","evt","wrapperProps","Search","closeButtonLabelText","hideControls","kind","onSearchIconClick","rounded","setValue","newInputRef","_inputRef","handleChange","clearSearch","searchInputWrapperClasses","clearClasses","searchInputClassName","useInputProps","SearchIcon","Close","Link","href","visited","icon","linkSolid","rel","IconAsComponent","BannerNavigationWithContent","searchOnChange","search","Avatar","alt","missingImage","userIconProps","UserIcon","Breadcrumb","newChild","disableLink","BreadcrumbItem","BreadcrumbHome","hometext","Home","Button","small","large","btnSolid","iconReverse","tabIndex","useFlexbox","iconDescription","setCount","timer","endAnimation","commonProps","buttonImage","Icon","onClickAnimation","anchorProps","b","d","f","g","h","m","p","q","r","t","v","w","x","y","z","u","A","reactIs_production_min","hasSymbol","REACT_PROVIDER_TYPE","REACT_ASYNC_MODE_TYPE","REACT_CONCURRENT_MODE_TYPE","REACT_BLOCK_TYPE","REACT_FUNDAMENTAL_TYPE","REACT_RESPONDER_TYPE","REACT_SCOPE_TYPE","isValidElementType","typeOf","$$typeof","$$typeofType","AsyncMode","ConcurrentMode","ContextConsumer","ContextProvider","Element","ForwardRef","Fragment","Lazy","Memo","Portal","Profiler","StrictMode","Suspense","hasWarnedAboutDeprecatedIsAsyncMode","isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","reactIs_development","reactIsModule","getOwnPropertySymbols","propIsEnumerable","toObject","val","shouldUseNative","test1","test2","order2","test3","letter","objectAssign","from","to","symbols","s","ReactPropTypesSecret","ReactPropTypesSecret_1","has","printWarning","loggedTypeFailures","text","message","checkPropTypes","typeSpecs","values","location","getStack","typeSpecName","err","ex","stack","checkPropTypes_1","ReactIs","require$$2","require$$3","require$$4","emptyFunctionThatReturnsNull","factoryWithTypeCheckers","throwOnDirectAccess","ITERATOR_SYMBOL","FAUX_ITERATOR_SYMBOL","iteratorFn","ANONYMOUS","ReactPropTypes","createPrimitiveTypeChecker","createAnyTypeChecker","createArrayOfTypeChecker","createElementTypeChecker","createElementTypeTypeChecker","createInstanceTypeChecker","createNodeChecker","createObjectOfTypeChecker","createEnumTypeChecker","createUnionTypeChecker","createShapeTypeChecker","createStrictShapeTypeChecker","is","PropTypeError","data","createChainableTypeChecker","validate","manualPropTypeCallCache","manualPropTypeWarningCount","checkType","isRequired","propFullName","secret","cacheKey","chainedCheckType","expectedType","propValue","propType","getPropType","preciseType","getPreciseType","typeChecker","expectedClass","expectedClassName","actualClassName","getClassName","expectedValues","valuesString","arrayOfTypeCheckers","checker","getPostfixForTypeWarning","expectedTypes","checkerResult","expectedTypesMessage","isNode","invalidValidatorError","shapeTypes","allKeys","iterator","step","entry","isSymbol","emptyFunction","emptyFunctionWithReset","factoryWithThrowingShims","shim","getShim","propTypesModule","oneOf","buttonKinds","notificationtypes","Text","title","Empty","button","allComponents","IconComponent","TextComponent","Hero","isExternal","isLink","metadata","more","subTitle","url","content","HeroExternal","Card","cardWidth","cardHeight","pagewidth","pageheight","TYPES","Tag","tagClass","tagClasses","CardExternal","label","labelStatus","interactive","heading","subHeading","caption","tag","supportiveTextFontSize","supportiveTextLineHeight","supportiveTextHeight","setsupportiveTextHeight","statusStyle","PropTypes","DatePickerInput","startDate","endDate","setStartDate","datePicker","datePickerProps","DatePicker","CalendarAltRegular","DateRangePickerInput","setEndDate","fromProps","toProps","ArrowRight","DateRangePicker","Checkbox","indeterminate","wrapperClassName","innerLabelClasses","el","Credits","ContentSwitcher","selectedIndex","selectedIdx","setSelectedIndex","getChildren","handleChildChange","formatProdErrorMessage","code","Internals","createPortal$1","containerInfo","implementation","getCrossOriginStringAs","as","input","reactDom_production","container","previousTransition","previousUpdatePriority","options","crossOrigin","integrity","fetchPriority","form","getValueDescriptorExpectingObjectForWarning","thing","getValueDescriptorExpectingEnumForWarning","reactDom_development","encountered","checkDCE","reactDomModule","_objectWithoutPropertiesLoose","excluded","sourceKeys","fromEntries","entries","acc","_ref","top","bottom","right","left","auto","basePlacements","start","end","clippingParents","viewport","popper","reference","variationPlacements","placement","placements","beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite","modifierPhases","getNodeName","getWindow","ownerDocument","OwnElement","isHTMLElement","isShadowRoot","applyStyles","attributes","effect","_ref2","initialStyles","styleProperties","property","attribute","applyStyles$1","getBasePlacement","max","min","round","getUAString","uaData","item","isLayoutViewport","getBoundingClientRect","includeScale","isFixedStrategy","clientRect","scaleX","scaleY","visualViewport","addVisualOffsets","width","getLayoutRect","contains","parent","rootNode","getComputedStyle","isTableElement","getDocumentElement","getParentNode","getTrueOffsetParent","getContainingBlock","isFirefox","isIE","elementCss","currentNode","css","getOffsetParent","window","offsetParent","getMainAxisFromPlacement","within","mathMax","mathMin","withinMaxClamp","getFreshSideObject","mergePaddingObject","paddingObject","expandToHashMap","hashMap","toPaddingObject","padding","arrow","_state$modifiersData$","arrowElement","popperOffsets","basePlacement","axis","isVertical","len","arrowRect","minProp","maxProp","endDiff","startDiff","arrowOffsetParent","clientSize","centerToReference","center","offset","axisProp","_options$element","arrow$1","getVariation","unsetSides","roundOffsetsByDPR","win","dpr","mapToStyles","_Object$assign2","popperRect","variation","offsets","position","gpuAcceleration","adaptive","roundOffsets","isFixed","_offsets$x","_offsets$y","_ref3","hasX","hasY","sideX","sideY","heightProp","widthProp","offsetY","offsetX","commonStyles","_ref4","_Object$assign","computeStyles","_ref5","_options$gpuAccelerat","_options$adaptive","_options$roundOffsets","computeStyles$1","passive","_options$scroll","scroll","_options$resize","resize","scrollParents","scrollParent","eventListeners","hash","getOppositePlacement","matched","getOppositeVariationPlacement","getWindowScroll","scrollLeft","scrollTop","getWindowScrollBarX","getViewportRect","strategy","html","layoutViewport","getDocumentRect","_element$ownerDocumen","winScroll","body","isScrollParent","_getComputedStyle","overflow","overflowX","overflowY","getScrollParent","listScrollParents","list","isBody","updatedList","rectToClientRect","rect","getInnerBoundingClientRect","getClientRectFromMixedType","clippingParent","getClippingParents","canEscapeClipping","clipperElement","getClippingRect","boundary","rootBoundary","mainClippingParents","firstClippingParent","clippingRect","accRect","computeOffsets","commonX","commonY","mainAxis","detectOverflow","_options","_options$placement","_options$strategy","_options$boundary","_options$rootBoundary","_options$elementConte","elementContext","_options$altBoundary","altBoundary","_options$padding","altContext","clippingClientRect","referenceClientRect","popperClientRect","elementClientRect","overflowOffsets","offsetData","multiply","computeAutoPlacement","flipVariations","_options$allowedAutoP","allowedAutoPlacements","allPlacements","allowedPlacements","overflows","getExpandedFallbackPlacements","oppositePlacement","flip","_options$mainAxis","checkMainAxis","_options$altAxis","checkAltAxis","specifiedFallbackPlacements","_options$flipVariatio","preferredPlacement","isBasePlacement","fallbackPlacements","referenceRect","checksMap","makeFallbackChecks","firstFittingPlacement","_basePlacement","isStartVariation","mainVariationSide","altVariationSide","checks","check","numberOfChecks","_loop","fittingPlacement","_ret","flip$1","getSideOffsets","preventedOffsets","isAnySideFullyClipped","side","hide","referenceOverflow","popperAltOverflow","referenceClippingOffsets","popperEscapeOffsets","isReferenceHidden","hasPopperEscaped","hide$1","distanceAndSkiddingToXY","rects","invertDistance","skidding","distance","_options$offset","_data$state$placement","offset$1","popperOffsets$1","getAltAxis","preventOverflow","_options$tether","tether","_options$tetherOffset","tetherOffset","altAxis","tetherOffsetValue","normalizedTetherOffsetValue","offsetModifierState","_offsetModifierState$","mainSide","altSide","additive","minLen","maxLen","arrowPaddingObject","arrowPaddingMin","arrowPaddingMax","arrowLen","minOffset","maxOffset","clientOffset","offsetModifierValue","tetherMin","tetherMax","preventedOffset","_offsetModifierState$2","_mainSide","_altSide","_offset","_len","_min","_max","isOriginSide","_offsetModifierValue","_tetherMin","_tetherMax","_preventedOffset","preventOverflow$1","getHTMLElementScroll","getNodeScroll","isElementScaled","getCompositeRect","elementOrVirtualElement","isOffsetParentAnElement","offsetParentIsScaled","documentElement","order","map","modifier","sort","requires","dep","depModifier","orderModifiers","orderedModifiers","phase","debounce","pending","mergeByName","merged","existing","DEFAULT_OPTIONS","areValidElements","args","popperGenerator","generatorOptions","_generatorOptions","_generatorOptions$def","defaultModifiers","_generatorOptions$def2","defaultOptions","effectCleanupFns","isDestroyed","setOptionsAction","cleanupModifierEffects","runModifierEffects","_state$elements","_state$orderedModifie","_state$orderedModifie2","_ref$options","cleanupFn","noopFn","createPopper","hasElementType","hasMap","hasSet","hasArrayBuffer","equal","it","reactFastCompare","EMPTY_MODIFIERS","usePopper","referenceElement","popperElement","prevOptions","optionsWithDefaults","_React$useState","setState","updateStateModifier","elements","ReactDOM.flushSync","popperOptions","newOptions","isEqual","popperInstanceRef","defaultCreatePopper","popperInstance","useGetLatest","useControlledState","initial","_ref$onChange","getLatest","set","updatedState","isControlled","generateBoundingClientRect","_excluded","virtualElement","defaultConfig","usePopperTooltip","_popperProps$state","_popperProps$state$mo","_popperProps$state$mo2","finalConfig","_extends2","finalPopperOptions","triggerRef","setTriggerRef","_React$useState2","tooltipRef","setTooltipRef","_useControlledState","visible","setVisible","_usePopper","styles","popperProps","isTriggeredBy","trigger","hideTooltip","showTooltip","toggleTooltip","handleClickOutside","_event$composedPath","_getLatest","preventDefaultAndToggle","setMousePosition","clientX","clientY","observer","getTooltipProps","getArrowProps","tooltipStyle","tooltipStyleDark","Tooltip","dark","noPadding","createRefWrapper","closeOnOutsideClick","closeOnTriggerHidden","defaultVisible","delayHide","delayShow","followCursor","mutationObserverOptions","onVisibleChange","usePortal","visibility","setVisibility","elementClassNames","wrapperClassNames","triggerElement","visibilityChange","tooltip","TooltipPortal","ReactDOM","ContextMenu","ContextMenuGroup","ContextMenuItem","Footer","labelOne","linkTextOne","linkHrefOne","labelTwo","linkTextTwo","linkHrefTwo","logo","metaContent","metaLinks","secondary","Form","longForm","FormGroup","align","breakpoint","legendText","inputSpacing","messageText","classNamesLegend","classNamesFieldset","FormHint","description","formHintClasses","InfoSolid","FormLabel","InfoBar","Loading","active","withOverlay","loadingClasses","overlayClasses","loading","InlineLoading","success","onSuccess","successDelay","getLoading","loadingText","List","colon","ulProps","ListItem","Cross","Check","MainNavigationContext","MobileButton","toggleMenu","MainNavigation","line","logoRibbon","openMobileMenu","setOpenMobileMenu","activeMenuItem","setActiveMenuItem","onChangeSub","newI","listClasses","WrapperDefault","MobileButtonDefault","useMainNavigation","MainNavigationItem","subNavigation","subNavWideAsContent","menuItemId","wrapperRef","triggerClasses","subClasses","SubNavigation","SubNavigationItem","SubNavigationHeader","SubNavigationTitle","SubNavigationLink","SubNavigationFilter","SubNavigationContent","SubNavigationList","SubNavigationGroup","columns","Story","wrapperclassNames","NotificationButton","ariaLabel","IconTag","notificationType","buttonClassName","iconClassName","NotificationActionButton","customClassName","NotificationTextDetails","subtitle","iconTypes","Error","CheckmarkCircle","InfoCircle","NotificationIcon","IconForKind","ToastNotification","role","onClose","onCloseButtonClick","statusIconDescription","lowContrast","hideCloseButton","isOpen","setIsOpen","containerClassName","handleClose","handleCloseButtonClick","savedOnClose","Callout","actions","Table","responsive","withBorder","isSorted","isSortedDesc","sortType","CaretDown","CaretUp","asProp","spacingTop","spacingBottom","TagName","mdxComponents","ModalFooter","passiveModal","secondaryButtonText","onSecondaryButtonClick","primaryButtonText","onRequestSubmit","primaryButtonDisabled","secondaryButtonDisabled","danger","primaryButtonRef","secondaryButtonRef","matchesFuncName","Modal","modalHeading","modalLabel","modalSecondaryAction","modalAriaLabel","elementToAppend","backgroundImage","open","lazyLoad","kindMobile","overscrollBehavior","onRequestClose","onSecondarySubmit","inPortal","hideClose","handleBlur","wide","selectorPrimaryFocus","outerModal","innerModal","beingOpen","setBeingOpen","elementOrParentIsFloatingMenu","selectorsFloatingMenus","selector","handleCloseButton","focusModal","handleBlurEvent","focusButton","focusContainerElement","primaryFocusElement","handleTransitionEnd","ModalFooterDefault","modalClasses","modalButton","modalBody","modal","ModalWrapper","customButton","onKeyDown","buttonTriggerText","buttonTriggerClassName","triggerButtonKind","handleSubmit","shouldCloseAfterSubmit","triggerButton","handleOpen","customButtonEl","Module","margin","fullHeight","noMargin","withHover","ModuleBody","centered","ModuleHeader","filter","ModuleFooter","countDecimals","valueFloat","capMin","capMax","NumberInput","pattern","handleArrowClick","direction","valueState","conditional","stepString","numberInputClasses","newProps","Select","selectClasses","SelectItem","hidden","selectItemClasses","instanceId","Pagination","backwardText","forwardText","itemsPerPageText","itemsPerPageFollowsText","itemRangeText","total","pageRangeText","pageSize","pageSizesDisabled","pageSizes","itemText","pageText","page","pageNumberText","pagesUnknown","isLastPage","pageInputDisabled","totalItems","pageNumber","setPage","pageSizeState","setPageSize","uniqueId","handleSizeChange","handlePageInputChange","incrementPage","newPage","decrementPage","renderSelectItems","counter","itemArr","classnames","backButtonClasses","inputId","totalPages","selectItems","ChevronLeft","ChevronRight","lastId","RadioButton","uid","uId","InputGroup","vertical","valueSelected","defaultSelected","prevValueSelected","setPrevValueSelected","helper","MoreLink","handleToggleClick","link","showMore","contentId","ariaProps","ChevronUp","ReadMore","collapseLink","collapseText","collapsed","disableAutoscroll","expandLink","expandText","fade","maxHeight","setShowMore","innerHeight","setInnerHeight","readMoreRef","readMoreFakeRef","contentStyle","collapseStyle","SecondaryNavigation","SecondaryNavigationTitle","StepNavigation","dropdownHidden","tabsWithProps","tab","StepNavigationItem","handleTabClick","selectedPage","renderAnchor","Ellipsis","WarningOutline","Locked","OverflowMenu","Checkmark","Menu","SelectItemGroup","Sidebar","sidebar","SidebarHeader","SidebarContentHeader","mobileClasses","SidebarContentBody","SidebarScroll","SidebarBackButton","TextInput","defaultFormatLabel","calculatePercentage","Slider","ariaLabelInput","formatLabel","fullWidth","inputType","hideTextInput","minLabel","maxLabel","sliderContainerClasses","sliderClasses","sliderRangeWrapperClasses","valueMinimal","Item","subContent","hint","noImage","unread","showAdditionalIcon","wrapper","ReactTablePagination","pageSizeOptions","paginationClassName","onPageChange","onPageSizeChange","pages","getSafePage","changePage","nextPage","propList","useTab","handleTabAnchorFocus","handleTabKeyDown","selected","setTabFocus","selectedClasses","Tab","renderListElement","liProps","TabContent","TabsContext","Tabs","disableAnimation","currentSelected","setCurrentSelected","rootRef","TextArea","textareaClasses","PasswordInput","showPasswordLabelText","hidePasswordLabelText","isVisible","setIsVisible","readOnly","toggleButtonLabel","handleToggle","prev","toggleButton","Toggle","defaultToggled","labelA","labelB","htmlFor","otherInputProps","User","ellipsis","extendedDescription","showName","titleClasses","scaleLookup","Invalid","InvalidSvg","StringUnit","before","afterOutput","after","SvgUnit","currencyCalc","afterSingular","isAbsolute","output","minimumFractionDigits","maximumFractionDigits","localeStringLanguage","calcOnly","string","svg","hideZero","outputCalc","minimumFractionDigitsCalculated","maximumFractionDigitsCalculated","toLocalStringConfig","calcObject","percentageCalc","maximumSignificantDigits","SimpleCalc","hideUnit","afterCalc","unit","YearMonthGen","newDate","year","month","monthName","monthNameFull","YearMonthCalc","YearMonthgenerated","Unit","textAnchor","setup","typeEl","textAnchorCalc","unitClassName","outputClassName","setupClassName","classNameCalc","Value","secondaryValue","withWFPCoreSettings","WrappedComponent","allProps","useTheme","colors","IS_SERVER","useMediaQuery","query","initializeWithValue","getMatches","matches","setMatches","matchMedia"],"mappings":";;;;;;;;6CAWA,IAAIA,EAAqB,OAAO,IAAI,4BAA4B,EAC9DC,EAAsB,OAAO,IAAI,gBAAgB,EACnD,SAASC,EAAQC,EAAMC,EAAQC,EAAU,CACvC,IAAIC,EAAM,KAGV,GAFWD,IAAX,SAAwBC,EAAM,GAAKD,GACxBD,EAAO,MAAlB,SAA0BE,EAAM,GAAKF,EAAO,KACxC,QAASA,EAAQ,CACnBC,EAAW,CAAE,EACb,QAASE,KAAYH,EACTG,IAAV,QAAuBF,EAASE,CAAQ,EAAIH,EAAOG,CAAQ,EAC9D,MAAMF,EAAWD,EAClB,OAAAA,EAASC,EAAS,IACX,CACL,SAAUL,EACV,KAAMG,EACN,IAAKG,EACL,IAAgBF,IAAX,OAAoBA,EAAS,KAClC,MAAOC,CACR,CACH,CACA,OAAAG,GAAA,SAAmBP,EACnBO,GAAA,IAAcN,EACdM,GAAA,KAAeN;;;;;;;;yCCtBE,QAAQ,IAAI,WAA7B,cACG,UAAY,CACX,SAASO,EAAyBN,EAAM,CACtC,GAAYA,GAAR,KAAc,OAAO,KACzB,GAAmB,OAAOA,GAAtB,WACF,OAAOA,EAAK,WAAaO,EACrB,KACAP,EAAK,aAAeA,EAAK,MAAQ,KACvC,GAAiB,OAAOA,GAApB,SAA0B,OAAOA,EACrC,OAAQA,EAAI,CACV,KAAKF,EACH,MAAO,WACT,KAAKU,EACH,MAAO,WACT,KAAKC,EACH,MAAO,aACT,KAAKC,EACH,MAAO,WACT,KAAKC,EACH,MAAO,eACT,KAAKC,EACH,MAAO,UACjB,CACM,GAAiB,OAAOZ,GAApB,SACF,OACgB,OAAOA,EAAK,KAAzB,UACC,QAAQ,MACN,mHACD,EACHA,EAAK,SACf,CACU,KAAKa,EACH,MAAO,SACT,KAAKC,EACH,OAAQd,EAAK,aAAe,WAAa,YAC3C,KAAKe,EACH,OAAQf,EAAK,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AAM,iBACN,IAAK,UACL,KAAM,mCACN,KAAM,cACN,iBAAkB,gBACnB,EACD,2BAA4B,CAC1B,KAAM,iBACN,IAAK,UACL,KAAM,mCACN,KAAM,cACN,iBAAkB,gBACnB,EACD,2BAA4B,CAC1B,KAAM,iBACN,IAAK,UACL,KAAM,mCACN,KAAM,cACN,iBAAkB,gBACnB,EACD,2BAA4B,CAC1B,KAAM,iBACN,IAAK,UACL,KAAM,mCACN,KAAM,cACN,iBAAkB,gBACnB,EACD,OAAQ,CACN,KAAM,SACN,IAAK,UACL,KAAM,iBACN,KAAM,WACN,iBAAkB,iBACnB,EACD,KAAM,CACJ,KAAM,OACN,IAAK,UACL,KAAM,eACN,KAAM,WACN,iBAAkB,eACnB,EACD,SAAU,CACR,KAAM,WACN,IAAK,UACL,KAAM,mBACN,KAAM,WACN,iBAAkB,yBACnB,EACD,cAAe,CACb,KAAM,gBACN,IAAK,UACL,KAAM,wBACN,KAAM,WACN,iBAAkB,8BACnB,EACD,WAAY,CACV,KAAM,WACN,IAAK,UACL,KAAM,kBACN,IAAK,kBACL,KAAM,QACN,iBAAkB,iBACnB,EACD,iBAAkB,CAChB,KAAM,iBACN,IAAK,UACL,KAAM,wBACN,IAAK,wBACL,KAAM,QACN,iBAAkB,4CACnB,EACD,iBAAkB,CAChB,KAAM,iBACN,IAAK,UACL,KAAM,0CACN,IAAK,wBACL,KAAM,QACN,iBAAkB,kBACnB,EACD,YAAa,CACX,KAAM,YACN,IAAK,UACL,KAAM,aACN,IAAK,mBACL,KAAM,eACN,iBAAkB,6BACnB,EACD,cAAe,CACb,KAAM,cACN,IAAK,UACL,KAAM,eACN,IAAK,qBACL,KAAM,gBACP,EACD,cAAe,CACb,KAAM,cACN,IAAK,UACL,KAAM,eACN,IAAK,qBACL,KAAM,gBACP,EACD,cAAe,CACb,KAAM,cACN,IAAK,UACL,KAAM,eACN,IAAK,qBACL,KAAM,gBACP,EACD,cAAe,CACb,KAAM,cACN,IAAK,UACL,KAAM,eACN,IAAK,qBACL,KAAM,gBACP,EACD,cAAe,CACb,KAAM,cACN,IAAK,UACL,KAAM,eACN,IAAK,qBACL,KAAM,gBACP,EACD,cAAe,CACb,KAAM,cACN,IAAK,UACL,KAAM,eACN,IAAK,qBACL,KAAM,gBACP,EACD,QAAS,CACP,KAAM,QACN,IAAK,UACL,KAAM,SACN,IAAK,eACL,KAAM,KACN,iBAAkB,0DAClB,YACE,kFACH,EACD,QAAS,CACP,KAAM,QACN,IAAK,UACL,KAAM,eACN,IAAK,eACL,KAAM,KACN,iBAAkB,0DAClB,YACE,oHACH,EACD,QAAS,CACP,KAAM,QACN,IAAK,UACL,KAAM,SACN,IAAK,eACL,KAAM,KACN,iBAAkB,0CACnB,EACD,QAAS,CACP,KAAM,QACN,IAAK,UACL,KAAM,SACN,IAAK,eACL,KAAM,KACN,iBAAkB,iDACnB,EACD,QAAS,CACP,KAAM,QACN,IAAK,UACL,KAAM,SACN,IAAK,eACL,KAAM,KACN,iBACE,oEACH,EACD,QAAS,CACP,KAAM,QACN,IAAK,UACL,KAAM,SACN,IAAK,eACL,KAAM,KACN,iBAAkB,EACnB,EACD,UAAW,CACT,KAAM,UACN,IAAK,UACL,KAAM,WACN,IAAK,iBACL,KAAM,KACN,iBAAkB,oCACnB,EACD,UAAW,CACT,KAAM,UACN,IAAK,UACL,KAAM,WACN,IAAK,iBACL,KAAM,KACN,iBAAkB,2BACnB,EACD,UAAW,CACT,KAAM,UACN,IAAK,UACL,KAAM,WACN,IAAK,iBACL,KAAM,KACN,iBAAkB,kBACnB,EACD,UAAW,CACT,KAAM,UACN,IAAK,UACL,KAAM,WACN,IAAK,iBACL,KAAM,KACN,iBAAkB,EACnB,EACD,aAAc,CACZ,KAAM,aACN,IAAK,UACL,KAAM,cACN,IAAK,oBACL,KAAM,KACN,iBAAkB,wCACnB,EASD,WAAY,CACV,KAAM,WACN,IAAK,UACL,KAAM,YACN,IAAK,kBACL,KAAM,KACN,iBAAkB,iDACnB,EAQD,kBAAmB,CACjB,KAAM,kBACN,IAAK,UACL,KAAM,mBACN,IAAK,yBACL,KAAM,KACN,iBAAkB,EACnB,EACD,cAAe,CACb,KAAM,cACN,IAAK,UACL,KAAM,eACN,IAAK,qBACL,KAAM,KACN,iBAAkB,EACnB,EACD,cAAe,CACb,KAAM,cACN,IAAK,UACL,KAAM,eACN,IAAK,qBACL,KAAM,KACN,iBAAkB,EACnB,EACD,SAAU,CACR,KAAM,SACN,IAAK,UACL,KAAM,UACN,IAAK,gBACL,KAAM,MACN,iBAAkB,iBACnB,EACD,SAAU,CACR,KAAM,SACN,IAAK,UACL,KAAM,UACN,IAAK,gBACL,KAAM,MACN,iBAAkB,sBACnB,EACD,SAAU,CACR,KAAM,SACN,IAAK,UACL,KAAM,UACN,IAAK,gBACL,KAAM,MACN,iBAAkB,yCACnB,EACD,SAAU,CACR,KAAM,SACN,IAAK,UACL,KAAM,UACN,IAAK,gBACL,KAAM,MACN,iBAAkB,6BACnB,EACD,SAAU,CACR,KAAM,SACN,IAAK,UACL,KAAM,UACN,IAAK,gBACL,KAAM,MACN,iBAAkB,6BACnB,EACD,SAAU,CACR,KAAM,SACN,IAAK,UACL,KAAM,UACN,IAAK,gBACL,KAAM,MACN,iBAAkB,yCACnB,EACD,SAAU,CACR,KAAM,SACN,IAAK,UACL,KAAM,UACN,IAAK,gBACL,KAAM,MACN,iBAAkB,qCACnB,EACD,SAAU,CACR,KAAM,SACN,IAAK,UACL,KAAM,UACN,IAAK,gBACL,KAAM,MACN,iBAAkB,+CACnB,EACD,SAAU,CACR,KAAM,SACN,IAAK,UACL,KAAM,UACN,IAAK,gBACL,KAAM,MACN,iBAAkB,iDACnB,EACD,SAAU,CACR,KAAM,SACN,IAAK,UACL,KAAM,UACN,IAAK,gBACL,KAAM,MACN,iBAAkB,gCACnB,EACD,SAAU,CACR,KAAM,SACN,IAAK,UACL,KAAM,UACN,IAAK,gBACL,KAAM,MACN,iBAAkB,mDACnB,EACD,SAAU,CACR,KAAM,SACN,IAAK,UACL,KAAM,UACN,IAAK,gBACL,KAAM,MACN,iBAAkB,sDACnB,EACD,SAAU,CACR,KAAM,SACN,IAAK,UACL,KAAM,UACN,IAAK,gBACL,KAAM,MACN,iBAAkB,4BACnB,EACD,SAAU,CACR,KAAM,SACN,IAAK,UACL,KAAM,UACN,IAAK,gBACL,KAAM,MACN,iBAAkB,wBACnB,EACD,SAAU,CACR,KAAM,SACN,IAAK,UACL,KAAM,UACN,IAAK,gBACL,KAAM,MACN,iBAAkB,0BACnB,EACD,SAAU,CACR,KAAM,SACN,IAAK,UACL,KAAM,UACN,IAAK,gBACL,KAAM,MACN,iBAAkB,mDACnB,EACD,SAAU,CACR,KAAM,SACN,IAAK,UACL,KAAM,UACN,IAAK,gBACL,KAAM,MACN,iBAAkB,sCACnB,EACD,aAAc,CACZ,KAAM,aACN,IAAK,UACL,KAAM,cACN,IAAK,oBACL,KAAM,UACN,iBAAkB,6BAClB,YACE,wLACH,EACD,mBAAoB,CAClB,KAAM,mBACN,IAAK,UACL,KAAM,oBACN,IAAK,0BACL,KAAM,UACN,iBAAkB,+BAClB,YAAa,EACd,EACD,aAAc,CACZ,KAAM,aACN,IAAK,UACL,KAAM,cACN,IAAK,oBACL,KAAM,UACN,iBAAkB,UAClB,YACE,iIACH,EACD,mBAAoB,CAClB,KAAM,mBACN,IAAK,UACL,KAAM,oBACN,IAAK,0BACL,KAAM,UACN,iBAAkB,2BAClB,YAAa,EACd,EACD,aAAc,CACZ,KAAM,aACN,IAAK,UACL,KAAM,cACN,IAAK,oBACL,KAAM,UACN,iBAAkB,kCAClB,YACE,0RACH,EACD,mBAAoB,CAClB,KAAM,mBACN,IAAK,UACL,KAAM,oBACN,IAAK,0BACL,KAAM,UACN,iBAAkB,4BAClB,YAAa,EACd,EACD,aAAc,CACZ,KAAM,aACN,IAAK,UACL,KAAM,cACN,IAAK,oBACL,KAAM,UACN,iBAAkB,OAClB,YAAa,EACd,EACD,mBAAoB,CAClB,KAAM,mBACN,IAAK,UACL,KAAM,oBACN,IAAK,0BACL,KAAM,UACN,iBAAkB,GAClB,YAAa,EACd,CACH,ECxmBah8C,GACX,OAAO,OAAW,IAAcC,kBAAkBjB,EAAAA,UCJ9Ci9C,GAAY,OAAO,OAAW,IAepB,SAAAC,GACdC,EACA54B,EACS,CAET,MAAMhf,EACJ,OAAOgf,GAAY,UAAYA,EAAUA,GAAS,cAAgB,GAC9D64B,EACJ,OAAO74B,GAAY,UACf,OACAA,GAAS,qBAAuB,OAEhC84B,EAAcF,GACdF,GACK13C,EAEF,OAAO,WAAW43C,CAAK,EAAE,QAG5B,CAACG,EAASC,CAAU,EAAI3iD,WAAkB,IAC1CwiD,EACKC,EAAWF,CAAK,EAElB53C,CACR,EAGD,SAASgN,GAAe,CACXgrC,EAAAF,EAAWF,CAAK,CAAC,CAAA,CAG9B,OAAAn8C,GAA0B,IAAM,CACxB,MAAAw8C,EAAa,OAAO,WAAWL,CAAK,EAG7B,OAAA5qC,EAAA,EAGTirC,EAAW,YACbA,EAAW,YAAYjrC,CAAY,EAExBirC,EAAA,iBAAiB,SAAUjrC,CAAY,EAG7C,IAAM,CACPirC,EAAW,eACbA,EAAW,eAAejrC,CAAY,EAE3BirC,EAAA,oBAAoB,SAAUjrC,CAAY,CAEzD,CAAA,EACC,CAAC4qC,CAAK,CAAC,EAEHG,CACT","x_google_ignoreList":[0,1,2,3,4,25,41,42,43,44,45,46,47,48,49,50,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127]}
1
+ {"version":3,"file":"index.umd.js","sources":["../../../node_modules/react/cjs/react-jsx-runtime.production.js","../../../node_modules/react/cjs/react-jsx-runtime.development.js","../../../node_modules/react/jsx-runtime.js","../../../node_modules/react-transition-state/dist/esm/hooks/utils.mjs","../../../node_modules/react-transition-state/dist/esm/hooks/useTransitionMap.mjs","../src/components/Accordion/hooks/useAccordionProvider.ts","../src/components/Accordion/utils/constants.ts","../src/components/Accordion/utils/bem.ts","../src/components/Accordion/utils/mergeProps.ts","../src/components/Accordion/components/AccordionProvider.tsx","../src/components/Accordion/hooks/useAccordion.ts","../src/components/Accordion/components/ControlledAccordion.tsx","../src/components/Accordion/components/Accordion.tsx","../src/globals/js/settings.tsx","../src/components/WFPCoreSettings/WFPCoreProvider.tsx","../src/hooks/useSettings.tsx","../src/hooks/useId.ts","../src/components/Accordion/hooks/useAccordionItem.ts","../src/components/Accordion/utils/useIsomorphicLayoutEffect.ts","../src/hooks/useHeightTransition.ts","../src/hooks/useMergeRef.ts","../../icons-react/es/index.js","../src/components/Accordion/hooks/useAccordionContext.ts","../src/components/Accordion/hooks/useAccordionItemEffect.ts","../src/components/Accordion/components/withAccordionItem.tsx","../../../node_modules/classnames/index.js","../src/components/Accordion/components/AccordionItem.tsx","../src/components/AuthLayout/AuthLayout.tsx","../src/components/Wrapper/Wrapper.tsx","../src/components/BannerNavigation/BannerNavigation.tsx","../src/components/FormItem/FormItem.tsx","../src/components/Input/Input.tsx","../src/components/Input/useInput.tsx","../src/components/Search/Search.tsx","../src/components/Link/Link.tsx","../src/components/BannerNavigation/BannerNavigationWithContent.tsx","../src/components/Avatar/Avatar.tsx","../src/components/Breadcrumb/Breadcrumb.tsx","../src/components/BreadcrumbItem/BreadcrumbItem.tsx","../src/components/BreadcrumbHome/BreadcrumbHome.tsx","../src/components/Button/Button.tsx","../../../node_modules/react-is/cjs/react-is.production.min.js","../../../node_modules/react-is/cjs/react-is.development.js","../../../node_modules/react-is/index.js","../../../node_modules/object-assign/index.js","../../../node_modules/prop-types/lib/ReactPropTypesSecret.js","../../../node_modules/prop-types/lib/has.js","../../../node_modules/prop-types/checkPropTypes.js","../../../node_modules/prop-types/factoryWithTypeCheckers.js","../../../node_modules/prop-types/factoryWithThrowingShims.js","../../../node_modules/prop-types/index.js","../src/prop-types/types.ts","../src/components/Empty/Empty.tsx","../src/components/Hero/Hero.tsx","../src/components/Hero/HeroExternal.tsx","../src/components/Card/Card.tsx","../src/components/Tag/Tag.tsx","../src/components/Card/CardExternal.tsx","../src/components/DatePicker/DatePickerInput.tsx","../src/components/DatePicker/DatePicker.tsx","../src/components/DatePicker/DateRangePickerInput.tsx","../src/components/DatePicker/DateRangePicker.tsx","../src/components/Checkbox/Checkbox.tsx","../src/components/Credits/Credits.tsx","../src/components/ContentSwitcher/ContentSwitcher.tsx","../../../node_modules/react-dom/cjs/react-dom.production.js","../../../node_modules/react-dom/cjs/react-dom.development.js","../../../node_modules/react-dom/index.js","../../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","../../../node_modules/@babel/runtime/helpers/esm/extends.js","../../../node_modules/react-popper/lib/esm/utils.js","../../../node_modules/@popperjs/core/lib/enums.js","../../../node_modules/@popperjs/core/lib/dom-utils/getNodeName.js","../../../node_modules/@popperjs/core/lib/dom-utils/getWindow.js","../../../node_modules/@popperjs/core/lib/dom-utils/instanceOf.js","../../../node_modules/@popperjs/core/lib/modifiers/applyStyles.js","../../../node_modules/@popperjs/core/lib/utils/getBasePlacement.js","../../../node_modules/@popperjs/core/lib/utils/math.js","../../../node_modules/@popperjs/core/lib/utils/userAgent.js","../../../node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js","../../../node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js","../../../node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js","../../../node_modules/@popperjs/core/lib/dom-utils/contains.js","../../../node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js","../../../node_modules/@popperjs/core/lib/dom-utils/isTableElement.js","../../../node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js","../../../node_modules/@popperjs/core/lib/dom-utils/getParentNode.js","../../../node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js","../../../node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js","../../../node_modules/@popperjs/core/lib/utils/within.js","../../../node_modules/@popperjs/core/lib/utils/getFreshSideObject.js","../../../node_modules/@popperjs/core/lib/utils/mergePaddingObject.js","../../../node_modules/@popperjs/core/lib/utils/expandToHashMap.js","../../../node_modules/@popperjs/core/lib/modifiers/arrow.js","../../../node_modules/@popperjs/core/lib/utils/getVariation.js","../../../node_modules/@popperjs/core/lib/modifiers/computeStyles.js","../../../node_modules/@popperjs/core/lib/modifiers/eventListeners.js","../../../node_modules/@popperjs/core/lib/utils/getOppositePlacement.js","../../../node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js","../../../node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js","../../../node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js","../../../node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js","../../../node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js","../../../node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js","../../../node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js","../../../node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js","../../../node_modules/@popperjs/core/lib/utils/rectToClientRect.js","../../../node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js","../../../node_modules/@popperjs/core/lib/utils/computeOffsets.js","../../../node_modules/@popperjs/core/lib/utils/detectOverflow.js","../../../node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js","../../../node_modules/@popperjs/core/lib/modifiers/flip.js","../../../node_modules/@popperjs/core/lib/modifiers/hide.js","../../../node_modules/@popperjs/core/lib/modifiers/offset.js","../../../node_modules/@popperjs/core/lib/modifiers/popperOffsets.js","../../../node_modules/@popperjs/core/lib/utils/getAltAxis.js","../../../node_modules/@popperjs/core/lib/modifiers/preventOverflow.js","../../../node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js","../../../node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js","../../../node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js","../../../node_modules/@popperjs/core/lib/utils/orderModifiers.js","../../../node_modules/@popperjs/core/lib/utils/debounce.js","../../../node_modules/@popperjs/core/lib/utils/mergeByName.js","../../../node_modules/@popperjs/core/lib/createPopper.js","../../../node_modules/@popperjs/core/lib/popper.js","../../../node_modules/react-fast-compare/index.js","../../../node_modules/react-popper/lib/esm/usePopper.js","../../../node_modules/react-popper-tooltip/dist/esm/react-popper-tooltip.js","../src/components/Tooltip/Tooltip.tsx","../src/components/ContextMenu/ContextMenu.tsx","../src/components/Footer/Footer.tsx","../src/components/Form/Form.tsx","../src/components/FormGroup/FormGroup.tsx","../src/components/FormHint/FormHint.tsx","../src/components/FormLabel/FormLabel.tsx","../src/components/InfoBar/InfoBar.tsx","../src/components/Loading/Loading.tsx","../src/components/InlineLoading/InlineLoading.tsx","../src/components/List/List.tsx","../src/components/List/ListItem.tsx","../src/components/MainNavigation/MainNavigationContext.ts","../src/components/MainNavigation/MobileButton.tsx","../src/components/MainNavigation/MainNavigation.tsx","../src/components/MainNavigation/useMainNavigation.tsx","../src/components/MainNavigationItem/MainNavigationItem.tsx","../src/components/SubNavigation/SubNavigation.tsx","../src/components/SubNavigation/SubNavigationItem.tsx","../src/components/SubNavigation/SubNavigationHeader.tsx","../src/components/SubNavigation/SubNavigationTitle.tsx","../src/components/SubNavigation/SubNavigationLink.tsx","../src/components/SubNavigation/SubNavigationFilter.tsx","../src/components/SubNavigation/SubNavigationContent.tsx","../src/components/SubNavigation/SubNavigationList.tsx","../src/components/SubNavigation/SubNavigationGroup.tsx","../src/components/Story/Story.tsx","../src/components/Notification/NotificationButton.tsx","../src/components/Notification/NotificationActionButton.tsx","../src/components/Notification/NotificationTextDetails.tsx","../src/components/Notification/NotificationIcon.tsx","../src/components/Notification/ToastNotification.tsx","../src/components/Notification/Callout.tsx","../src/components/Table/Table.tsx","../src/components/Table/TableSorting.tsx","../src/components/Text/Text.tsx","../src/components/MdxComponents/MdxComponentsNew.tsx","../src/components/Modal/ModalFooter.tsx","../src/components/Modal/Modal.tsx","../src/components/ModalWrapper/ModalWrapper.tsx","../src/components/Module/Module.tsx","../src/components/Module/ModuleBody.tsx","../src/components/Module/ModuleHeader.tsx","../src/components/Module/ModuleFooter.tsx","../src/components/NumberInput/NumberInput.tsx","../src/components/Select/Select.tsx","../src/components/SelectItem/SelectItem.tsx","../src/components/Pagination/Pagination.tsx","../src/tools/uniqueId.ts","../src/components/RadioButton/RadioButton.tsx","../src/components/InputGroup/InputGroup.tsx","../src/components/ReadMore/ReadMore.tsx","../src/components/SecondaryNavigation/SecondaryNavigation.tsx","../src/components/SecondaryNavigation/SecondaryNavigationTitle.tsx","../src/components/StepNavigation/StepNavigation.tsx","../src/components/StepNavigationItem/StepNavigationItem.tsx","../src/components/SelectItemGroup/SelectItemGroup.tsx","../src/components/Sidebar/Sidebar.tsx","../src/components/TextInput/TextInput.tsx","../src/components/Slider/Slider.tsx","../src/components/Item/Item.tsx","../src/components/TablePagination/TablePagination.tsx","../src/components/Tab/useTab.tsx","../src/components/Tab/Tab.tsx","../src/components/TabContent/TabContent.tsx","../src/components/Tabs/TabsContext.ts","../src/components/Tabs/Tabs.tsx","../src/components/TextArea/TextArea.tsx","../src/components/PasswordInput/PasswordInput.tsx","../src/components/Toggle/Toggle.tsx","../src/components/User/User.tsx","../src/components/Unit/scaleLookup.tsx","../src/components/Unit/InvalidUnit.tsx","../src/components/Unit/StringUnit.tsx","../src/components/Unit/SvgUnit.tsx","../src/components/Unit/currencyCalc.tsx","../src/components/Unit/percentageCalc.tsx","../src/components/Unit/SimpleCalc.tsx","../src/components/Unit/YearMonthCalc.tsx","../src/components/Unit/Unit.tsx","../src/components/Unit/UnitList.tsx","../src/components/Value/Value.tsx","../src/components/WFPCoreSettings/withWFPCoreSettings.tsx","../src/components/WFPCoreSettings/useTheme.tsx","../src/globals/data/colors.js","../src/hooks/useIsomorphicLayoutEffect.tsx","../src/hooks/useMediaQuery.tsx"],"sourcesContent":["/**\n * @license React\n * react-jsx-runtime.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\");\nfunction jsxProd(type, config, maybeKey) {\n var key = null;\n void 0 !== maybeKey && (key = \"\" + maybeKey);\n void 0 !== config.key && (key = \"\" + config.key);\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n config = maybeKey.ref;\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n ref: void 0 !== config ? config : null,\n props: maybeKey\n };\n}\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsxProd;\nexports.jsxs = jsxProd;\n","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return (type.displayName || \"Context\") + \".Provider\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function getTaskName(type) {\n if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n if (\n \"object\" === typeof type &&\n null !== type &&\n type.$$typeof === REACT_LAZY_TYPE\n )\n return \"<...>\";\n try {\n var name = getComponentNameFromType(type);\n return name ? \"<\" + name + \">\" : \"<...>\";\n } catch (x) {\n return \"<...>\";\n }\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function UnknownOwner() {\n return Error(\"react-stack-top-frame\");\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%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://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(\n type,\n key,\n self,\n source,\n owner,\n props,\n debugStack,\n debugTask\n ) {\n self = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== self ? self : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.defineProperty(type, \"_debugStack\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugStack\n });\n Object.defineProperty(type, \"_debugTask\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugTask\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n source,\n self,\n debugStack,\n debugTask\n ) {\n var children = config.children;\n if (void 0 !== children)\n if (isStaticChildren)\n if (isArrayImpl(children)) {\n for (\n isStaticChildren = 0;\n isStaticChildren < children.length;\n isStaticChildren++\n )\n validateChildKeys(children[isStaticChildren]);\n Object.freeze && Object.freeze(children);\n } else\n console.error(\n \"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.\"\n );\n else validateChildKeys(children);\n if (hasOwnProperty.call(config, \"key\")) {\n children = getComponentNameFromType(type);\n var keys = Object.keys(config).filter(function (k) {\n return \"key\" !== k;\n });\n isStaticChildren =\n 0 < keys.length\n ? \"{key: someKey, \" + keys.join(\": ..., \") + \": ...}\"\n : \"{key: someKey}\";\n didWarnAboutKeySpread[children + isStaticChildren] ||\n ((keys =\n 0 < keys.length ? \"{\" + keys.join(\": ..., \") + \": ...}\" : \"{}\"),\n console.error(\n 'A props object containing a \"key\" prop is being spread into JSX:\\n let props = %s;\\n <%s {...props} />\\nReact keys must be passed directly to JSX without using spread:\\n let props = %s;\\n <%s key={someKey} {...props} />',\n isStaticChildren,\n children,\n keys,\n children\n ),\n (didWarnAboutKeySpread[children + isStaticChildren] = !0));\n }\n children = null;\n void 0 !== maybeKey &&\n (checkKeyStringCoercion(maybeKey), (children = \"\" + maybeKey));\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (children = \"\" + config.key));\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n children &&\n defineKeyPropWarningGetter(\n maybeKey,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n return ReactElement(\n type,\n children,\n self,\n source,\n getOwner(),\n maybeKey,\n debugStack,\n debugTask\n );\n }\n function validateChildKeys(node) {\n \"object\" === typeof node &&\n null !== node &&\n node.$$typeof === REACT_ELEMENT_TYPE &&\n node._store &&\n (node._store.validated = 1);\n }\n var React = require(\"react\"),\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\");\n Symbol.for(\"react.provider\");\n var REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n hasOwnProperty = Object.prototype.hasOwnProperty,\n isArrayImpl = Array.isArray,\n createTask = console.createTask\n ? console.createTask\n : function () {\n return null;\n };\n React = {\n \"react-stack-bottom-frame\": function (callStackForError) {\n return callStackForError();\n }\n };\n var specialPropKeyWarningShown;\n var didWarnAboutElementRef = {};\n var unknownOwnerDebugStack = React[\"react-stack-bottom-frame\"].bind(\n React,\n UnknownOwner\n )();\n var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n var didWarnAboutKeySpread = {};\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.jsx = function (type, config, maybeKey, source, self) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !1,\n source,\n self,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n exports.jsxs = function (type, config, maybeKey, source, self) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !0,\n source,\n self,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n })();\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","const PRE_ENTER = 0;\nconst ENTERING = 1;\nconst ENTERED = 2;\nconst PRE_EXIT = 3;\nconst EXITING = 4;\nconst EXITED = 5;\nconst UNMOUNTED = 6;\nconst STATUS = ['preEnter', 'entering', 'entered', 'preExit', 'exiting', 'exited', 'unmounted'];\nconst getState = status => ({\n _s: status,\n status: STATUS[status],\n isEnter: status < PRE_EXIT,\n isMounted: status !== UNMOUNTED,\n isResolved: status === ENTERED || status > EXITING\n});\nconst startOrEnd = unmounted => unmounted ? UNMOUNTED : EXITED;\nconst getEndStatus = (status, unmountOnExit) => {\n switch (status) {\n case ENTERING:\n case PRE_ENTER:\n return ENTERED;\n case EXITING:\n case PRE_EXIT:\n return startOrEnd(unmountOnExit);\n }\n};\nconst getTimeout = timeout => typeof timeout === 'object' ? [timeout.enter, timeout.exit] : [timeout, timeout];\nconst nextTick = (transitState, status) => setTimeout(() => {\n // Reading document.body.offsetTop can force browser to repaint before transition to the next state\n isNaN(document.body.offsetTop) || transitState(status + 1);\n}, 0);\n\nexport { ENTERED, ENTERING, EXITED, EXITING, PRE_ENTER, PRE_EXIT, STATUS, UNMOUNTED, getEndStatus, getState, getTimeout, nextTick, startOrEnd };\n","import { useState, useRef, useCallback } from 'react';\nimport { getTimeout, getState, getEndStatus, PRE_EXIT, nextTick, PRE_ENTER, EXITING, ENTERING, ENTERED, startOrEnd } from './utils.mjs';\n\nconst updateState = (key, status, setStateMap, latestStateMap, timeoutId, onChange) => {\n clearTimeout(timeoutId);\n const state = getState(status);\n const stateMap = new Map(latestStateMap.current);\n stateMap.set(key, state);\n setStateMap(stateMap);\n latestStateMap.current = stateMap;\n onChange && onChange({\n key,\n current: state\n });\n};\nconst useTransitionMap = ({\n allowMultiple,\n enter = true,\n exit = true,\n preEnter,\n preExit,\n timeout,\n initialEntered,\n mountOnEnter,\n unmountOnExit,\n onStateChange: onChange\n} = {}) => {\n const [stateMap, setStateMap] = useState(new Map());\n const latestStateMap = useRef(stateMap);\n const configMap = useRef(new Map());\n const [enterTimeout, exitTimeout] = getTimeout(timeout);\n const setItem = useCallback((key, config) => {\n const {\n initialEntered: _initialEntered = initialEntered\n } = config || {};\n const status = _initialEntered ? ENTERED : startOrEnd(mountOnEnter);\n updateState(key, status, setStateMap, latestStateMap);\n configMap.current.set(key, {});\n }, [initialEntered, mountOnEnter]);\n const deleteItem = useCallback(key => {\n const newStateMap = new Map(latestStateMap.current);\n if (newStateMap.delete(key)) {\n setStateMap(newStateMap);\n latestStateMap.current = newStateMap;\n configMap.current.delete(key);\n return true;\n }\n return false;\n }, []);\n const endTransition = useCallback(key => {\n const stateObj = latestStateMap.current.get(key);\n if (!stateObj) {\n process.env.NODE_ENV !== 'production' && console.error(`[React-Transition-State] invalid key: ${key}`);\n return;\n }\n const {\n timeoutId\n } = configMap.current.get(key);\n const status = getEndStatus(stateObj._s, unmountOnExit);\n status && updateState(key, status, setStateMap, latestStateMap, timeoutId, onChange);\n }, [onChange, unmountOnExit]);\n const toggle = useCallback((key, toEnter) => {\n const stateObj = latestStateMap.current.get(key);\n if (!stateObj) {\n process.env.NODE_ENV !== 'production' && console.error(`[React-Transition-State] invalid key: ${key}`);\n return;\n }\n const config = configMap.current.get(key);\n const transitState = status => {\n updateState(key, status, setStateMap, latestStateMap, config.timeoutId, onChange);\n switch (status) {\n case ENTERING:\n if (enterTimeout >= 0) config.timeoutId = setTimeout(() => endTransition(key), enterTimeout);\n break;\n case EXITING:\n if (exitTimeout >= 0) config.timeoutId = setTimeout(() => endTransition(key), exitTimeout);\n break;\n case PRE_ENTER:\n case PRE_EXIT:\n config.timeoutId = nextTick(transitState, status);\n break;\n }\n };\n const enterStage = stateObj.isEnter;\n if (typeof toEnter !== 'boolean') toEnter = !enterStage;\n if (toEnter) {\n if (!enterStage) {\n transitState(enter ? preEnter ? PRE_ENTER : ENTERING : ENTERED);\n !allowMultiple && latestStateMap.current.forEach((_, _key) => _key !== key && toggle(_key, false));\n }\n } else {\n if (enterStage) {\n transitState(exit ? preExit ? PRE_EXIT : EXITING : startOrEnd(unmountOnExit));\n }\n }\n }, [onChange, endTransition, allowMultiple, enter, exit, preEnter, preExit, enterTimeout, exitTimeout, unmountOnExit]);\n const toggleAll = useCallback(toEnter => {\n if (!allowMultiple && toEnter !== false) return;\n for (const key of latestStateMap.current.keys()) toggle(key, toEnter);\n }, [allowMultiple, toggle]);\n return {\n stateMap,\n toggle,\n toggleAll,\n endTransition,\n setItem,\n deleteItem\n };\n};\n\nexport { useTransitionMap };\n","import { useTransitionMap } from 'react-transition-state';\nimport {\n TransitionProp,\n AccordionProviderOptions,\n AccordionProviderValue,\n ItemKey\n} from '../utils/constants';\n\nconst getTransition = (\n transition: TransitionProp | undefined,\n name: 'enter' | 'exit' | 'preEnter' | 'preExit'\n): boolean => transition === true || !!(transition && transition[name]);\n\nconst useAccordionProvider: (options?: AccordionProviderOptions) => AccordionProviderValue = ({\n transition,\n transitionTimeout,\n ...rest\n} = {}) => {\n const transitionMap = useTransitionMap<ItemKey>({\n timeout: transitionTimeout,\n enter: getTransition(transition, 'enter'),\n exit: getTransition(transition, 'exit'),\n preEnter: getTransition(transition, 'preEnter'),\n preExit: getTransition(transition, 'preExit'),\n ...rest\n });\n\n return {\n mountOnEnter: !!rest.mountOnEnter,\n initialEntered: !!rest.initialEntered,\n ...transitionMap\n };\n};\n\nexport { useAccordionProvider };\n","import { createContext, HTMLAttributes } from \"react\";\nimport {\n TransitionState,\n TransitionMapResult,\n TransitionMapOptions,\n TransitionOptions,\n} from \"react-transition-state\";\n\nexport const ACCORDION_BLOCK = \"szh-accordion\";\nexport const ACCORDION_PREFIX = \"szh-adn\";\nexport const ACCORDION_ATTR = `data-${ACCORDION_PREFIX}`;\nexport const ACCORDION_BTN_ATTR = `data-${ACCORDION_PREFIX}-btn`;\n\nexport type Modifiers = {\n readonly [index: string]: boolean | string;\n};\nexport type ClassNameProp<P> = string | ((props: P) => string);\nexport interface ElementProps<E extends HTMLElement, P = undefined>\n extends Omit<HTMLAttributes<E>, \"className\" | \"children\"> {\n className?: P extends undefined ? string : ClassNameProp<P>;\n \"data-testid\"?: string | number;\n}\n\nexport type ItemKey = Element | string | number;\nexport type TransitionProp =\n | boolean\n | {\n enter?: boolean;\n exit?: boolean;\n preEnter?: boolean;\n preExit?: boolean;\n };\n\nexport interface ItemState {\n readonly state: TransitionState;\n readonly toggle: (toEnter?: boolean) => void;\n disabled?: boolean;\n}\n\nexport interface ItemStateOptions {\n itemKey?: string | number;\n initialEntered?: boolean;\n disabled?: boolean;\n}\n\nexport interface AccordionProviderOptions\n extends Omit<\n TransitionMapOptions<ItemKey>,\n \"enter\" | \"exit\" | \"preEnter\" | \"preExit\" | \"timeout\"\n > {\n /**\n * The transition behavior for the accordion.\n * It can take a TransitionProp type which specifies the type of transition.\n */\n transition?: TransitionProp;\n\n /**\n * Set the timeout duration for transitions.\n * It uses the 'timeout' type from TransitionOptions to specify the duration in milliseconds.\n */\n transitionTimeout?: TransitionOptions[\"timeout\"];\n}\n\nexport interface AccordionProviderValue extends TransitionMapResult<ItemKey> {\n /**\n * Determines whether the accordion item should be mounted\n * in the DOM only when it enters. A true value means the item will only mount when\n * it is opened (entered state).\n */\n mountOnEnter: boolean;\n\n /**\n * Indicates whether the accordion item should be in the\n * entered (or opened) state initially. This can be used to display the accordion item\n * as open by default when the component is first rendered.\n */\n initialEntered: boolean;\n}\n\nexport const AccordionContext = createContext<Partial<AccordionProviderValue>>(\n {}\n);\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { ClassNameProp, Modifiers } from './constants';\n\n/**\n * Generate className following BEM methodology: http://getbem.com/naming/\n * Modifier value can be one of the types: boolean, string\n */\nconst bem =\n (block: string, element?: string, modifiers?: Modifiers) =>\n <P>(className?: ClassNameProp<P>, props?: P) => {\n const blockElement = element ? `${block}__${element}` : block;\n\n let classString = blockElement;\n modifiers &&\n Object.keys(modifiers).forEach((name) => {\n const value = modifiers[name];\n if (value)\n classString += ` ${blockElement}--${\n value === true ? name : `${name}-${value}`\n }`;\n });\n\n let expandedClassName =\n typeof className === 'function' ? className(props!) : className;\n if (typeof expandedClassName === 'string') {\n expandedClassName = expandedClassName.trim();\n if (expandedClassName) classString += ` ${expandedClassName}`;\n }\n\n return classString;\n };\n\nexport { bem };\n","/* eslint-disable */\n// @ts-nocheck\n\nconst mergeProps = (target, source) => {\n if (!source) return target;\n\n const result = { ...target };\n Object.keys(source).forEach((key) => {\n const targetProp = target[key];\n const sourceProp = source[key];\n if (typeof sourceProp === 'function' && targetProp) {\n result[key] = (...e) => {\n targetProp(...e);\n sourceProp(...e);\n };\n } else {\n result[key] = sourceProp;\n }\n });\n\n return result;\n};\n\nexport { mergeProps };\n","import * as React from \"react\";\nimport { AccordionContext, AccordionProviderValue } from \"../utils/constants\";\n\nconst AccordionProvider = (props: {\n value: AccordionProviderValue;\n children?: React.ReactNode;\n}) => <AccordionContext.Provider {...props} />;\n\nexport { AccordionProvider };\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { HTMLAttributes, KeyboardEvent } from \"react\";\nimport { ACCORDION_ATTR, ACCORDION_BTN_ATTR } from \"../utils/constants\";\n\nconst getAccordion = (node: Element) => {\n do {\n node = node.parentElement!;\n } while (node && !node.hasAttribute(ACCORDION_ATTR));\n return node;\n};\n\nconst getNextIndex = (moveUp: boolean, current: number, length: number) =>\n moveUp ? (current > 0 ? current - 1 : length - 1) : (current + 1) % length;\n\nconst moveFocus = (moveUp: boolean, e: KeyboardEvent<Element>) => {\n const { activeElement } = document;\n if (\n !activeElement ||\n !activeElement.hasAttribute(ACCORDION_BTN_ATTR) ||\n getAccordion(activeElement) !== e.currentTarget\n )\n return;\n\n const nodes = e.currentTarget.querySelectorAll<HTMLElement>(\n `[${ACCORDION_BTN_ATTR}]`,\n );\n const { length } = nodes;\n for (let i = 0; i < length; i++) {\n if (nodes[i] === activeElement) {\n let next = getNextIndex(moveUp, i, length);\n while (getAccordion(nodes[i]) !== getAccordion(nodes[next]))\n next = getNextIndex(moveUp, next, length);\n if (i !== next) {\n e.preventDefault();\n nodes[next].focus();\n }\n break;\n }\n }\n};\n\n// Extend HTMLAttributes to allow our custom data attribute\ninterface AccordionHTMLAttributes<T> extends HTMLAttributes<T> {\n \"data-accordion\"?: string;\n}\n\nconst useAccordion = () => {\n const accordionProps: AccordionHTMLAttributes<Element> = {\n \"data-accordion\": \"\",\n onKeyDown: (e: KeyboardEvent<Element>) =>\n e.key === \"ArrowUp\"\n ? moveFocus(true, e)\n : e.key === \"ArrowDown\" && moveFocus(false, e),\n };\n return {\n accordionProps,\n };\n};\n\nexport { useAccordion };\n","import * as React from \"react\";\nimport {\n ACCORDION_BLOCK,\n AccordionProviderValue,\n ElementProps,\n} from \"../utils/constants\";\nimport { bem } from \"../utils/bem\";\nimport { mergeProps } from \"../utils/mergeProps\";\nimport { AccordionProvider } from \"./AccordionProvider\";\nimport { useAccordion } from \"../hooks/useAccordion\";\n\ninterface ControlledAccordionProps extends ElementProps<HTMLDivElement> {\n providerValue: AccordionProviderValue;\n children?: React.ReactNode;\n}\n\nconst ControlledAccordion = React.forwardRef<\n HTMLDivElement,\n ControlledAccordionProps\n>(({ providerValue, className, ...rest }, ref) => {\n const { accordionProps } = useAccordion();\n return (\n <AccordionProvider value={providerValue}>\n <div\n {...mergeProps(accordionProps, rest)}\n ref={ref}\n className={bem(ACCORDION_BLOCK)(className)}\n />\n </AccordionProvider>\n );\n});\n\nControlledAccordion.displayName = \"ControlledAccordion\";\n\nexport { ControlledAccordion, ControlledAccordionProps };\n","import * as React from \"react\";\nimport { AccordionProviderOptions } from \"../utils/constants\";\nimport { useAccordionProvider } from \"../hooks/useAccordionProvider\";\nimport {\n ControlledAccordion,\n ControlledAccordionProps,\n} from \"./ControlledAccordion\";\n\ninterface AccordionProps\n extends AccordionProviderOptions,\n Omit<ControlledAccordionProps, \"providerValue\"> {}\n\nconst Accordion = React.forwardRef<HTMLDivElement, AccordionProps>(\n (\n {\n allowMultiple,\n initialEntered,\n mountOnEnter,\n unmountOnExit,\n transition,\n transitionTimeout,\n onStateChange,\n ...rest\n },\n ref\n ) => {\n const providerValue = useAccordionProvider({\n allowMultiple,\n initialEntered,\n mountOnEnter,\n unmountOnExit,\n transition,\n transitionTimeout,\n onStateChange,\n });\n return (\n <ControlledAccordion {...rest} ref={ref} providerValue={providerValue} />\n );\n }\n);\n\nAccordion.displayName = \"Accordion\";\n\nexport { Accordion, AccordionProps };\n","/**\n * Settings.\n * @exports CarbonComponents.settings\n * @type Object\n * @property {boolean} [disableAutoInit]\n * Disables automatic instantiation of components.\n * By default (`CarbonComponents.disableAutoInit` is `false`),\n * carbon-components attempts to instantiate components automatically\n * by searching for elements with `data-component-name` (e.g. `data-loading`) attribute\n * or upon DOM events (e.g. clicking) on such elements.\n * See each components' static `.init()` methods for details.\n * @property {string} [prefix=bx]\n * Brand prefix. Should be in sync with `$prefix` Sass variable in carbon-components/src/globals/scss/_vars.scss.\n * // @todo given that the default value is so long, is it appropriate to put in the JSDoc?\n * @property {string} [selectorTabbable]\n * A selector selecting tabbable/focusable nodes.\n * By default selectorTabbable references links, areas, inputs, buttons, selects, textareas,\n * iframes, objects, embeds, or elements explicitly using tabindex or contenteditable attributes\n * as long as the element is not `disabled` or the `tabindex=\"-1\"`.\n * @property {string} [selectorFocusable]\n * CSS selector that selects major nodes that are click focusable\n * This property is identical to selectorTabbable with the exception of\n * the `:not([tabindex='-1'])` pseudo class\n */\nconst settings = {\n prefix: \"wfp\",\n initialized: false,\n selectorTabbable: `\n a[href], area[href], input:not([disabled]):not([tabindex='-1']),\n button:not([disabled]):not([tabindex='-1']),select:not([disabled]):not([tabindex='-1']),\n textarea:not([disabled]):not([tabindex='-1']),\n iframe, object, embed, *[tabindex]:not([tabindex='-1']), *[contenteditable=true]\n `,\n selectorFocusable: `\n a[href], area[href], input:not([disabled]),\n button:not([disabled]),select:not([disabled]),\n textarea:not([disabled]),\n iframe, object, embed, *[tabindex], *[contenteditable=true]\n `,\n theme: `light`,\n actualTheme: `light`,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars, @typescript-eslint/no-empty-function\n setTheme: (theme: string) => {\n console.warn(\"setTheme not initialized\");\n },\n};\n\nexport default settings;\n//module.exports = settings;\n","import React, {\n useState,\n createContext,\n PropsWithChildren,\n useEffect,\n} from \"react\";\n//import propTypes from 'prop-types';\nimport { defaultWFPContext } from \"./defaults\";\n\nexport interface AppContextInterface {\n prefix: string;\n selectorTabbable: string;\n selectorFocusable: string;\n theme: string;\n actualTheme: string;\n initialized: boolean;\n // eslint-disable-next-line @typescript-eslint/ban-types\n setTheme: (theme: string) => void;\n wrapperElement?: HTMLElement;\n}\n\nexport const WFPCoreContext =\n createContext<AppContextInterface>(defaultWFPContext);\n\n/** The WFP Core props are basic properties for the provider */\ntype WFPCoreProps = PropsWithChildren<{\n children?: React.ReactNode;\n initialTheme?: string;\n prefix?: string;\n wrapperElement?: HTMLElement;\n}>;\n\n// Detecting the default theme\nconst isBrowserDefaultDark = () =>\n typeof window !== \"undefined\"\n ? window.matchMedia(\"(prefers-color-scheme: dark)\").matches\n : false;\n\nexport const WFPCoreProvider: React.FC<WFPCoreProps> = ({\n children,\n wrapperElement /* = document?.body*/,\n prefix = \"wfp\",\n initialTheme = \"light\",\n ...props\n}) => {\n const setElementTheme = (theme: string) => {\n const prefixClass = `${prefix}--theme--`;\n\n if (theme === \"auto\") {\n isBrowserDefaultDark() ? \"dark\" : \"light\";\n }\n\n const newTheme =\n theme === \"auto\" && isBrowserDefaultDark()\n ? \"dark\"\n : theme === \"auto\"\n ? \"light\"\n : theme;\n\n if (wrapperElement) {\n const classes = wrapperElement.className\n .split(\" \")\n .filter((c) => !c.startsWith(prefixClass));\n\n wrapperElement.className = classes.join(\" \").trim();\n wrapperElement.classList.add(`${prefix}--theme--${newTheme}`);\n }\n return newTheme;\n };\n\n const getActualTheme = () => {\n const defaultTheme = getDefaultTheme();\n if (defaultTheme === \"auto\")\n return isBrowserDefaultDark() ? \"dark\" : \"light\";\n\n return defaultTheme;\n };\n\n const getDefaultTheme = (): string => {\n const localStorageTheme =\n typeof window !== \"undefined\"\n ? window.localStorage.getItem(\"theme\")\n : false;\n const defaultTheme = localStorageTheme || initialTheme;\n setElementTheme(defaultTheme);\n return defaultTheme;\n };\n\n const [themeState, setThemeState] = useState(getDefaultTheme());\n const [actualThemeState, setActualThemeState] = useState(getActualTheme());\n\n useEffect(() => {\n const darkThemeMq = window.matchMedia(\"(prefers-color-scheme: dark)\");\n darkThemeMq.addListener(mqListener);\n return () => darkThemeMq.removeListener(mqListener);\n }, []);\n\n const mqListener = () => {\n if (themeState === \"auto\") {\n const newTheme = setElementTheme(\"auto\");\n setActualThemeState(newTheme);\n }\n };\n\n const setTheme = (theme: string) => {\n const newTheme = setElementTheme(theme);\n setActualThemeState(newTheme);\n if (typeof window !== \"undefined\")\n window.localStorage.setItem(\"theme\", theme);\n setThemeState(theme);\n };\n\n const ctx = {\n ...defaultWFPContext,\n ...props,\n prefix,\n theme: themeState,\n actualTheme: actualThemeState,\n initialized: true,\n setTheme,\n };\n return (\n <WFPCoreContext.Provider value={ctx}>{children}</WFPCoreContext.Provider>\n );\n};\n","import { useContext } from \"react\";\n\nimport { defaultWFPContext } from \"../components/WFPCoreSettings/defaults\";\nimport {\n AppContextInterface,\n WFPCoreContext,\n} from \"../components/WFPCoreSettings/WFPCoreProvider\";\n\nexport default function useSettings(): AppContextInterface {\n const settings = useContext(WFPCoreContext);\n /* if (settings?.initialized === false) {\n console.warn(\"useSettings: WFPCoreContext not initialized\");\n } */\n\n if (settings === undefined) {\n return defaultWFPContext;\n }\n\n return settings;\n}\n","import { useState, useEffect, useId } from \"react\";\nimport { ACCORDION_PREFIX } from \"../components/Accordion/utils/constants\";\n\nlet current = 0;\n\nconst useIdShim = () => {\n const [id, setId] = useState<number>();\n useEffect(() => setId(++current), []);\n return (id && `${ACCORDION_PREFIX}-${id}`) as string | undefined;\n};\n\nconst _useId = useId || useIdShim;\n\nexport { _useId as useId };\n","import { MouseEventHandler, HTMLAttributes, ButtonHTMLAttributes } from \"react\";\nimport { ACCORDION_BTN_ATTR, ItemState } from \"../utils/constants\";\nimport { useId } from \"../../../hooks/useId\";\n\nconst useAccordionItem = ({ state, toggle, disabled }: ItemState) => {\n const buttonId = useId();\n const panelId = buttonId && buttonId + \"-\";\n\n const buttonProps: ButtonHTMLAttributes<Element> = {\n id: buttonId,\n \"aria-controls\": panelId,\n \"aria-expanded\": state.isEnter,\n onClick: toggle as unknown as MouseEventHandler<Element>,\n };\n disabled\n ? (buttonProps.disabled = true)\n : ((buttonProps as { [x: string]: string })[ACCORDION_BTN_ATTR] = \"\");\n\n const panelProps: HTMLAttributes<Element> = {\n id: panelId,\n \"aria-labelledby\": buttonId,\n role: \"region\",\n };\n\n return {\n buttonProps,\n panelProps,\n };\n};\n\nexport { useAccordionItem };\n","import { useEffect, useLayoutEffect } from 'react';\n\n// Get around a warning when using useLayoutEffect on the server.\n// https://github.com/reduxjs/react-redux/blob/b48d087d76f666e1c6c5a9713bbec112a1631841/src/utils/useIsomorphicLayoutEffect.js#L12\n// https://gist.github.com/gaearon/e7d97cdf38a2907924ea12e4ebdf3c85\n// https://github.com/facebook/react/issues/14927#issuecomment-549457471\n\nconst useIsomorphicLayoutEffect =\n typeof window !== 'undefined' &&\n typeof window.document !== 'undefined' &&\n typeof window.document.createElement !== 'undefined'\n ? useLayoutEffect\n : useEffect;\n\nexport { useIsomorphicLayoutEffect as useLayoutEffect };\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n\nimport { CSSProperties, useState, useRef } from \"react\";\nimport { TransitionState } from \"react-transition-state\";\nimport { useLayoutEffect } from \"../components/Accordion/utils/useIsomorphicLayoutEffect\";\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nconst useHeightTransition = <E extends Element>({\n status,\n isResolved,\n}: TransitionState) => {\n const [height, setHeight] = useState<number>();\n const elementRef = useRef<HTMLInputElement>(null);\n\n useLayoutEffect(() => {\n (status === \"preEnter\" || status === \"preExit\") &&\n setHeight(elementRef.current!.getBoundingClientRect().height);\n }, [status]);\n\n const style: CSSProperties = {\n height:\n status === \"preEnter\" || status === \"exiting\"\n ? 0\n : status === \"entering\" || status === \"preExit\"\n ? height\n : undefined,\n overflow: isResolved ? undefined : \"hidden\",\n };\n\n return [style, elementRef] as const;\n};\n\nexport { useHeightTransition };\n","import { useMemo, RefCallback, MutableRefObject } from 'react';\n\n// Adapted from material-ui\n// https://github.com/mui-org/material-ui/blob/f996027d00e7e4bff3fc040786c1706f9c6c3f82/packages/material-ui-utils/src/useForkRef.ts\n\ntype Ref<T> = RefCallback<T> | MutableRefObject<T | null>;\n\nfunction setRef<T>(ref: Ref<T>, instance: T) {\n typeof ref === 'function' ? ref(instance) : (ref.current = instance);\n}\n\nfunction useMergeRef<T>(refA?: Ref<T> | null, refB?: Ref<T> | null) {\n return useMemo(() => {\n if (!refA) return refB;\n if (!refB) return refA;\n\n return (instance: T | null) => {\n setRef(refA, instance);\n setRef(refB, instance);\n };\n }, [refA, refB]);\n}\n\nexport { useMergeRef };\n","function _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}\n\nvar react = {exports: {}};\n\nvar react_production = {};\n\n/**\n * @license React\n * react.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar hasRequiredReact_production;\n\nfunction requireReact_production () {\n\tif (hasRequiredReact_production) return react_production;\n\thasRequiredReact_production = 1;\n\n\tvar REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n\t REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n\t REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n\t REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n\t REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n\t REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n\t REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n\t REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n\t REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n\t REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n\t REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n\t MAYBE_ITERATOR_SYMBOL = Symbol.iterator;\n\tfunction getIteratorFn(maybeIterable) {\n\t if (null === maybeIterable || \"object\" !== typeof maybeIterable) return null;\n\t maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[\"@@iterator\"];\n\t return \"function\" === typeof maybeIterable ? maybeIterable : null;\n\t}\n\tvar ReactNoopUpdateQueue = {\n\t isMounted: function () {\n\t return !1;\n\t },\n\t enqueueForceUpdate: function () {},\n\t enqueueReplaceState: function () {},\n\t enqueueSetState: function () {}\n\t },\n\t assign = Object.assign,\n\t emptyObject = {};\n\tfunction Component(props, context, updater) {\n\t this.props = props;\n\t this.context = context;\n\t this.refs = emptyObject;\n\t this.updater = updater || ReactNoopUpdateQueue;\n\t}\n\tComponent.prototype.isReactComponent = {};\n\tComponent.prototype.setState = function (partialState, callback) {\n\t if (\"object\" !== typeof partialState && \"function\" !== typeof partialState && null != partialState) throw Error(\"takes an object of state variables to update or a function which returns an object of state variables.\");\n\t this.updater.enqueueSetState(this, partialState, callback, \"setState\");\n\t};\n\tComponent.prototype.forceUpdate = function (callback) {\n\t this.updater.enqueueForceUpdate(this, callback, \"forceUpdate\");\n\t};\n\tfunction ComponentDummy() {}\n\tComponentDummy.prototype = Component.prototype;\n\tfunction PureComponent(props, context, updater) {\n\t this.props = props;\n\t this.context = context;\n\t this.refs = emptyObject;\n\t this.updater = updater || ReactNoopUpdateQueue;\n\t}\n\tvar pureComponentPrototype = PureComponent.prototype = new ComponentDummy();\n\tpureComponentPrototype.constructor = PureComponent;\n\tassign(pureComponentPrototype, Component.prototype);\n\tpureComponentPrototype.isPureReactComponent = !0;\n\tvar isArrayImpl = Array.isArray,\n\t ReactSharedInternals = {\n\t H: null,\n\t A: null,\n\t T: null,\n\t S: null,\n\t V: null\n\t },\n\t hasOwnProperty = Object.prototype.hasOwnProperty;\n\tfunction ReactElement(type, key, self, source, owner, props) {\n\t self = props.ref;\n\t return {\n\t $$typeof: REACT_ELEMENT_TYPE,\n\t type: type,\n\t key: key,\n\t ref: void 0 !== self ? self : null,\n\t props: props\n\t };\n\t}\n\tfunction cloneAndReplaceKey(oldElement, newKey) {\n\t return ReactElement(oldElement.type, newKey, void 0, void 0, void 0, oldElement.props);\n\t}\n\tfunction isValidElement(object) {\n\t return \"object\" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;\n\t}\n\tfunction escape(key) {\n\t var escaperLookup = {\n\t \"=\": \"=0\",\n\t \":\": \"=2\"\n\t };\n\t return \"$\" + key.replace(/[=:]/g, function (match) {\n\t return escaperLookup[match];\n\t });\n\t}\n\tvar userProvidedKeyEscapeRegex = /\\/+/g;\n\tfunction getElementKey(element, index) {\n\t return \"object\" === typeof element && null !== element && null != element.key ? escape(\"\" + element.key) : index.toString(36);\n\t}\n\tfunction noop$1() {}\n\tfunction resolveThenable(thenable) {\n\t switch (thenable.status) {\n\t case \"fulfilled\":\n\t return thenable.value;\n\t case \"rejected\":\n\t throw thenable.reason;\n\t default:\n\t switch (\"string\" === typeof thenable.status ? thenable.then(noop$1, noop$1) : (thenable.status = \"pending\", thenable.then(function (fulfilledValue) {\n\t \"pending\" === thenable.status && (thenable.status = \"fulfilled\", thenable.value = fulfilledValue);\n\t }, function (error) {\n\t \"pending\" === thenable.status && (thenable.status = \"rejected\", thenable.reason = error);\n\t })), thenable.status) {\n\t case \"fulfilled\":\n\t return thenable.value;\n\t case \"rejected\":\n\t throw thenable.reason;\n\t }\n\t }\n\t throw thenable;\n\t}\n\tfunction mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {\n\t var type = typeof children;\n\t if (\"undefined\" === type || \"boolean\" === type) children = null;\n\t var invokeCallback = !1;\n\t if (null === children) invokeCallback = !0;else switch (type) {\n\t case \"bigint\":\n\t case \"string\":\n\t case \"number\":\n\t invokeCallback = !0;\n\t break;\n\t case \"object\":\n\t switch (children.$$typeof) {\n\t case REACT_ELEMENT_TYPE:\n\t case REACT_PORTAL_TYPE:\n\t invokeCallback = !0;\n\t break;\n\t case REACT_LAZY_TYPE:\n\t return invokeCallback = children._init, mapIntoArray(invokeCallback(children._payload), array, escapedPrefix, nameSoFar, callback);\n\t }\n\t }\n\t if (invokeCallback) return callback = callback(children), invokeCallback = \"\" === nameSoFar ? \".\" + getElementKey(children, 0) : nameSoFar, isArrayImpl(callback) ? (escapedPrefix = \"\", null != invokeCallback && (escapedPrefix = invokeCallback.replace(userProvidedKeyEscapeRegex, \"$&/\") + \"/\"), mapIntoArray(callback, array, escapedPrefix, \"\", function (c) {\n\t return c;\n\t })) : null != callback && (isValidElement(callback) && (callback = cloneAndReplaceKey(callback, escapedPrefix + (null == callback.key || children && children.key === callback.key ? \"\" : (\"\" + callback.key).replace(userProvidedKeyEscapeRegex, \"$&/\") + \"/\") + invokeCallback)), array.push(callback)), 1;\n\t invokeCallback = 0;\n\t var nextNamePrefix = \"\" === nameSoFar ? \".\" : nameSoFar + \":\";\n\t if (isArrayImpl(children)) for (var i = 0; i < children.length; i++) nameSoFar = children[i], type = nextNamePrefix + getElementKey(nameSoFar, i), invokeCallback += mapIntoArray(nameSoFar, array, escapedPrefix, type, callback);else if (i = getIteratorFn(children), \"function\" === typeof i) for (children = i.call(children), i = 0; !(nameSoFar = children.next()).done;) nameSoFar = nameSoFar.value, type = nextNamePrefix + getElementKey(nameSoFar, i++), invokeCallback += mapIntoArray(nameSoFar, array, escapedPrefix, type, callback);else if (\"object\" === type) {\n\t if (\"function\" === typeof children.then) return mapIntoArray(resolveThenable(children), array, escapedPrefix, nameSoFar, callback);\n\t array = String(children);\n\t throw Error(\"Objects are not valid as a React child (found: \" + (\"[object Object]\" === array ? \"object with keys {\" + Object.keys(children).join(\", \") + \"}\" : array) + \"). If you meant to render a collection of children, use an array instead.\");\n\t }\n\t return invokeCallback;\n\t}\n\tfunction mapChildren(children, func, context) {\n\t if (null == children) return children;\n\t var result = [],\n\t count = 0;\n\t mapIntoArray(children, result, \"\", \"\", function (child) {\n\t return func.call(context, child, count++);\n\t });\n\t return result;\n\t}\n\tfunction lazyInitializer(payload) {\n\t if (-1 === payload._status) {\n\t var ctor = payload._result;\n\t ctor = ctor();\n\t ctor.then(function (moduleObject) {\n\t if (0 === payload._status || -1 === payload._status) payload._status = 1, payload._result = moduleObject;\n\t }, function (error) {\n\t if (0 === payload._status || -1 === payload._status) payload._status = 2, payload._result = error;\n\t });\n\t -1 === payload._status && (payload._status = 0, payload._result = ctor);\n\t }\n\t if (1 === payload._status) return payload._result.default;\n\t throw payload._result;\n\t}\n\tvar reportGlobalError = \"function\" === typeof reportError ? reportError : function (error) {\n\t if (\"object\" === typeof window && \"function\" === typeof window.ErrorEvent) {\n\t var event = new window.ErrorEvent(\"error\", {\n\t bubbles: !0,\n\t cancelable: !0,\n\t message: \"object\" === typeof error && null !== error && \"string\" === typeof error.message ? String(error.message) : String(error),\n\t error: error\n\t });\n\t if (!window.dispatchEvent(event)) return;\n\t } else if (\"object\" === typeof process && \"function\" === typeof process.emit) {\n\t process.emit(\"uncaughtException\", error);\n\t return;\n\t }\n\t console.error(error);\n\t};\n\tfunction noop() {}\n\treact_production.Children = {\n\t map: mapChildren,\n\t forEach: function (children, forEachFunc, forEachContext) {\n\t mapChildren(children, function () {\n\t forEachFunc.apply(this, arguments);\n\t }, forEachContext);\n\t },\n\t count: function (children) {\n\t var n = 0;\n\t mapChildren(children, function () {\n\t n++;\n\t });\n\t return n;\n\t },\n\t toArray: function (children) {\n\t return mapChildren(children, function (child) {\n\t return child;\n\t }) || [];\n\t },\n\t only: function (children) {\n\t if (!isValidElement(children)) throw Error(\"React.Children.only expected to receive a single React element child.\");\n\t return children;\n\t }\n\t};\n\treact_production.Component = Component;\n\treact_production.Fragment = REACT_FRAGMENT_TYPE;\n\treact_production.Profiler = REACT_PROFILER_TYPE;\n\treact_production.PureComponent = PureComponent;\n\treact_production.StrictMode = REACT_STRICT_MODE_TYPE;\n\treact_production.Suspense = REACT_SUSPENSE_TYPE;\n\treact_production.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;\n\treact_production.__COMPILER_RUNTIME = {\n\t __proto__: null,\n\t c: function (size) {\n\t return ReactSharedInternals.H.useMemoCache(size);\n\t }\n\t};\n\treact_production.cache = function (fn) {\n\t return function () {\n\t return fn.apply(null, arguments);\n\t };\n\t};\n\treact_production.cloneElement = function (element, config, children) {\n\t if (null === element || void 0 === element) throw Error(\"The argument must be a React element, but you passed \" + element + \".\");\n\t var props = assign({}, element.props),\n\t key = element.key,\n\t owner = void 0;\n\t if (null != config) for (propName in void 0 !== config.ref && (owner = void 0), void 0 !== config.key && (key = \"\" + config.key), config) !hasOwnProperty.call(config, propName) || \"key\" === propName || \"__self\" === propName || \"__source\" === propName || \"ref\" === propName && void 0 === config.ref || (props[propName] = config[propName]);\n\t var propName = arguments.length - 2;\n\t if (1 === propName) props.children = children;else if (1 < propName) {\n\t for (var childArray = Array(propName), i = 0; i < propName; i++) childArray[i] = arguments[i + 2];\n\t props.children = childArray;\n\t }\n\t return ReactElement(element.type, key, void 0, void 0, owner, props);\n\t};\n\treact_production.createContext = function (defaultValue) {\n\t defaultValue = {\n\t $$typeof: REACT_CONTEXT_TYPE,\n\t _currentValue: defaultValue,\n\t _currentValue2: defaultValue,\n\t _threadCount: 0,\n\t Provider: null,\n\t Consumer: null\n\t };\n\t defaultValue.Provider = defaultValue;\n\t defaultValue.Consumer = {\n\t $$typeof: REACT_CONSUMER_TYPE,\n\t _context: defaultValue\n\t };\n\t return defaultValue;\n\t};\n\treact_production.createElement = function (type, config, children) {\n\t var propName,\n\t props = {},\n\t key = null;\n\t if (null != config) for (propName in void 0 !== config.key && (key = \"\" + config.key), config) hasOwnProperty.call(config, propName) && \"key\" !== propName && \"__self\" !== propName && \"__source\" !== propName && (props[propName] = config[propName]);\n\t var childrenLength = arguments.length - 2;\n\t if (1 === childrenLength) props.children = children;else if (1 < childrenLength) {\n\t for (var childArray = Array(childrenLength), i = 0; i < childrenLength; i++) childArray[i] = arguments[i + 2];\n\t props.children = childArray;\n\t }\n\t if (type && type.defaultProps) for (propName in childrenLength = type.defaultProps, childrenLength) void 0 === props[propName] && (props[propName] = childrenLength[propName]);\n\t return ReactElement(type, key, void 0, void 0, null, props);\n\t};\n\treact_production.createRef = function () {\n\t return {\n\t current: null\n\t };\n\t};\n\treact_production.forwardRef = function (render) {\n\t return {\n\t $$typeof: REACT_FORWARD_REF_TYPE,\n\t render: render\n\t };\n\t};\n\treact_production.isValidElement = isValidElement;\n\treact_production.lazy = function (ctor) {\n\t return {\n\t $$typeof: REACT_LAZY_TYPE,\n\t _payload: {\n\t _status: -1,\n\t _result: ctor\n\t },\n\t _init: lazyInitializer\n\t };\n\t};\n\treact_production.memo = function (type, compare) {\n\t return {\n\t $$typeof: REACT_MEMO_TYPE,\n\t type: type,\n\t compare: void 0 === compare ? null : compare\n\t };\n\t};\n\treact_production.startTransition = function (scope) {\n\t var prevTransition = ReactSharedInternals.T,\n\t currentTransition = {};\n\t ReactSharedInternals.T = currentTransition;\n\t try {\n\t var returnValue = scope(),\n\t onStartTransitionFinish = ReactSharedInternals.S;\n\t null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);\n\t \"object\" === typeof returnValue && null !== returnValue && \"function\" === typeof returnValue.then && returnValue.then(noop, reportGlobalError);\n\t } catch (error) {\n\t reportGlobalError(error);\n\t } finally {\n\t ReactSharedInternals.T = prevTransition;\n\t }\n\t};\n\treact_production.unstable_useCacheRefresh = function () {\n\t return ReactSharedInternals.H.useCacheRefresh();\n\t};\n\treact_production.use = function (usable) {\n\t return ReactSharedInternals.H.use(usable);\n\t};\n\treact_production.useActionState = function (action, initialState, permalink) {\n\t return ReactSharedInternals.H.useActionState(action, initialState, permalink);\n\t};\n\treact_production.useCallback = function (callback, deps) {\n\t return ReactSharedInternals.H.useCallback(callback, deps);\n\t};\n\treact_production.useContext = function (Context) {\n\t return ReactSharedInternals.H.useContext(Context);\n\t};\n\treact_production.useDebugValue = function () {};\n\treact_production.useDeferredValue = function (value, initialValue) {\n\t return ReactSharedInternals.H.useDeferredValue(value, initialValue);\n\t};\n\treact_production.useEffect = function (create, createDeps, update) {\n\t var dispatcher = ReactSharedInternals.H;\n\t if (\"function\" === typeof update) throw Error(\"useEffect CRUD overload is not enabled in this build of React.\");\n\t return dispatcher.useEffect(create, createDeps);\n\t};\n\treact_production.useId = function () {\n\t return ReactSharedInternals.H.useId();\n\t};\n\treact_production.useImperativeHandle = function (ref, create, deps) {\n\t return ReactSharedInternals.H.useImperativeHandle(ref, create, deps);\n\t};\n\treact_production.useInsertionEffect = function (create, deps) {\n\t return ReactSharedInternals.H.useInsertionEffect(create, deps);\n\t};\n\treact_production.useLayoutEffect = function (create, deps) {\n\t return ReactSharedInternals.H.useLayoutEffect(create, deps);\n\t};\n\treact_production.useMemo = function (create, deps) {\n\t return ReactSharedInternals.H.useMemo(create, deps);\n\t};\n\treact_production.useOptimistic = function (passthrough, reducer) {\n\t return ReactSharedInternals.H.useOptimistic(passthrough, reducer);\n\t};\n\treact_production.useReducer = function (reducer, initialArg, init) {\n\t return ReactSharedInternals.H.useReducer(reducer, initialArg, init);\n\t};\n\treact_production.useRef = function (initialValue) {\n\t return ReactSharedInternals.H.useRef(initialValue);\n\t};\n\treact_production.useState = function (initialState) {\n\t return ReactSharedInternals.H.useState(initialState);\n\t};\n\treact_production.useSyncExternalStore = function (subscribe, getSnapshot, getServerSnapshot) {\n\t return ReactSharedInternals.H.useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);\n\t};\n\treact_production.useTransition = function () {\n\t return ReactSharedInternals.H.useTransition();\n\t};\n\treact_production.version = \"19.1.0\";\n\treturn react_production;\n}\n\nvar react_development = {exports: {}};\n\n/**\n * @license React\n * react.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nreact_development.exports;\n\nvar hasRequiredReact_development;\n\nfunction requireReact_development () {\n\tif (hasRequiredReact_development) return react_development.exports;\n\thasRequiredReact_development = 1;\n\t(function (module, exports) {\n\n\t\t\"production\" !== process.env.NODE_ENV && function () {\n\t\t function defineDeprecationWarning(methodName, info) {\n\t\t Object.defineProperty(Component.prototype, methodName, {\n\t\t get: function () {\n\t\t console.warn(\"%s(...) is deprecated in plain JavaScript React classes. %s\", info[0], info[1]);\n\t\t }\n\t\t });\n\t\t }\n\t\t function getIteratorFn(maybeIterable) {\n\t\t if (null === maybeIterable || \"object\" !== typeof maybeIterable) return null;\n\t\t maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[\"@@iterator\"];\n\t\t return \"function\" === typeof maybeIterable ? maybeIterable : null;\n\t\t }\n\t\t function warnNoop(publicInstance, callerName) {\n\t\t publicInstance = (publicInstance = publicInstance.constructor) && (publicInstance.displayName || publicInstance.name) || \"ReactClass\";\n\t\t var warningKey = publicInstance + \".\" + callerName;\n\t\t didWarnStateUpdateForUnmountedComponent[warningKey] || (console.error(\"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.\", callerName, publicInstance), didWarnStateUpdateForUnmountedComponent[warningKey] = !0);\n\t\t }\n\t\t function Component(props, context, updater) {\n\t\t this.props = props;\n\t\t this.context = context;\n\t\t this.refs = emptyObject;\n\t\t this.updater = updater || ReactNoopUpdateQueue;\n\t\t }\n\t\t function ComponentDummy() {}\n\t\t function PureComponent(props, context, updater) {\n\t\t this.props = props;\n\t\t this.context = context;\n\t\t this.refs = emptyObject;\n\t\t this.updater = updater || ReactNoopUpdateQueue;\n\t\t }\n\t\t function testStringCoercion(value) {\n\t\t return \"\" + value;\n\t\t }\n\t\t function checkKeyStringCoercion(value) {\n\t\t try {\n\t\t testStringCoercion(value);\n\t\t var JSCompiler_inline_result = !1;\n\t\t } catch (e) {\n\t\t JSCompiler_inline_result = !0;\n\t\t }\n\t\t if (JSCompiler_inline_result) {\n\t\t JSCompiler_inline_result = console;\n\t\t var JSCompiler_temp_const = JSCompiler_inline_result.error;\n\t\t var JSCompiler_inline_result$jscomp$0 = \"function\" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || \"Object\";\n\t\t JSCompiler_temp_const.call(JSCompiler_inline_result, \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\", JSCompiler_inline_result$jscomp$0);\n\t\t return testStringCoercion(value);\n\t\t }\n\t\t }\n\t\t function getComponentNameFromType(type) {\n\t\t if (null == type) return null;\n\t\t if (\"function\" === typeof type) return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;\n\t\t if (\"string\" === typeof type) return type;\n\t\t switch (type) {\n\t\t case REACT_FRAGMENT_TYPE:\n\t\t return \"Fragment\";\n\t\t case REACT_PROFILER_TYPE:\n\t\t return \"Profiler\";\n\t\t case REACT_STRICT_MODE_TYPE:\n\t\t return \"StrictMode\";\n\t\t case REACT_SUSPENSE_TYPE:\n\t\t return \"Suspense\";\n\t\t case REACT_SUSPENSE_LIST_TYPE:\n\t\t return \"SuspenseList\";\n\t\t case REACT_ACTIVITY_TYPE:\n\t\t return \"Activity\";\n\t\t }\n\t\t if (\"object\" === typeof type) switch (\"number\" === typeof type.tag && console.error(\"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"), type.$$typeof) {\n\t\t case REACT_PORTAL_TYPE:\n\t\t return \"Portal\";\n\t\t case REACT_CONTEXT_TYPE:\n\t\t return (type.displayName || \"Context\") + \".Provider\";\n\t\t case REACT_CONSUMER_TYPE:\n\t\t return (type._context.displayName || \"Context\") + \".Consumer\";\n\t\t case REACT_FORWARD_REF_TYPE:\n\t\t var innerType = type.render;\n\t\t type = type.displayName;\n\t\t type || (type = innerType.displayName || innerType.name || \"\", type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\");\n\t\t return type;\n\t\t case REACT_MEMO_TYPE:\n\t\t return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || \"Memo\";\n\t\t case REACT_LAZY_TYPE:\n\t\t innerType = type._payload;\n\t\t type = type._init;\n\t\t try {\n\t\t return getComponentNameFromType(type(innerType));\n\t\t } catch (x) {}\n\t\t }\n\t\t return null;\n\t\t }\n\t\t function getTaskName(type) {\n\t\t if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n\t\t if (\"object\" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE) return \"<...>\";\n\t\t try {\n\t\t var name = getComponentNameFromType(type);\n\t\t return name ? \"<\" + name + \">\" : \"<...>\";\n\t\t } catch (x) {\n\t\t return \"<...>\";\n\t\t }\n\t\t }\n\t\t function getOwner() {\n\t\t var dispatcher = ReactSharedInternals.A;\n\t\t return null === dispatcher ? null : dispatcher.getOwner();\n\t\t }\n\t\t function UnknownOwner() {\n\t\t return Error(\"react-stack-top-frame\");\n\t\t }\n\t\t function hasValidKey(config) {\n\t\t if (hasOwnProperty.call(config, \"key\")) {\n\t\t var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n\t\t if (getter && getter.isReactWarning) return !1;\n\t\t }\n\t\t return void 0 !== config.key;\n\t\t }\n\t\t function defineKeyPropWarningGetter(props, displayName) {\n\t\t function warnAboutAccessingKey() {\n\t\t specialPropKeyWarningShown || (specialPropKeyWarningShown = !0, console.error(\"%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://react.dev/link/special-props)\", displayName));\n\t\t }\n\t\t warnAboutAccessingKey.isReactWarning = !0;\n\t\t Object.defineProperty(props, \"key\", {\n\t\t get: warnAboutAccessingKey,\n\t\t configurable: !0\n\t\t });\n\t\t }\n\t\t function elementRefGetterWithDeprecationWarning() {\n\t\t var componentName = getComponentNameFromType(this.type);\n\t\t didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = !0, console.error(\"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"));\n\t\t componentName = this.props.ref;\n\t\t return void 0 !== componentName ? componentName : null;\n\t\t }\n\t\t function ReactElement(type, key, self, source, owner, props, debugStack, debugTask) {\n\t\t self = props.ref;\n\t\t type = {\n\t\t $$typeof: REACT_ELEMENT_TYPE,\n\t\t type: type,\n\t\t key: key,\n\t\t props: props,\n\t\t _owner: owner\n\t\t };\n\t\t null !== (void 0 !== self ? self : null) ? Object.defineProperty(type, \"ref\", {\n\t\t enumerable: !1,\n\t\t get: elementRefGetterWithDeprecationWarning\n\t\t }) : Object.defineProperty(type, \"ref\", {\n\t\t enumerable: !1,\n\t\t value: null\n\t\t });\n\t\t type._store = {};\n\t\t Object.defineProperty(type._store, \"validated\", {\n\t\t configurable: !1,\n\t\t enumerable: !1,\n\t\t writable: !0,\n\t\t value: 0\n\t\t });\n\t\t Object.defineProperty(type, \"_debugInfo\", {\n\t\t configurable: !1,\n\t\t enumerable: !1,\n\t\t writable: !0,\n\t\t value: null\n\t\t });\n\t\t Object.defineProperty(type, \"_debugStack\", {\n\t\t configurable: !1,\n\t\t enumerable: !1,\n\t\t writable: !0,\n\t\t value: debugStack\n\t\t });\n\t\t Object.defineProperty(type, \"_debugTask\", {\n\t\t configurable: !1,\n\t\t enumerable: !1,\n\t\t writable: !0,\n\t\t value: debugTask\n\t\t });\n\t\t Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n\t\t return type;\n\t\t }\n\t\t function cloneAndReplaceKey(oldElement, newKey) {\n\t\t newKey = ReactElement(oldElement.type, newKey, void 0, void 0, oldElement._owner, oldElement.props, oldElement._debugStack, oldElement._debugTask);\n\t\t oldElement._store && (newKey._store.validated = oldElement._store.validated);\n\t\t return newKey;\n\t\t }\n\t\t function isValidElement(object) {\n\t\t return \"object\" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;\n\t\t }\n\t\t function escape(key) {\n\t\t var escaperLookup = {\n\t\t \"=\": \"=0\",\n\t\t \":\": \"=2\"\n\t\t };\n\t\t return \"$\" + key.replace(/[=:]/g, function (match) {\n\t\t return escaperLookup[match];\n\t\t });\n\t\t }\n\t\t function getElementKey(element, index) {\n\t\t return \"object\" === typeof element && null !== element && null != element.key ? (checkKeyStringCoercion(element.key), escape(\"\" + element.key)) : index.toString(36);\n\t\t }\n\t\t function noop$1() {}\n\t\t function resolveThenable(thenable) {\n\t\t switch (thenable.status) {\n\t\t case \"fulfilled\":\n\t\t return thenable.value;\n\t\t case \"rejected\":\n\t\t throw thenable.reason;\n\t\t default:\n\t\t switch (\"string\" === typeof thenable.status ? thenable.then(noop$1, noop$1) : (thenable.status = \"pending\", thenable.then(function (fulfilledValue) {\n\t\t \"pending\" === thenable.status && (thenable.status = \"fulfilled\", thenable.value = fulfilledValue);\n\t\t }, function (error) {\n\t\t \"pending\" === thenable.status && (thenable.status = \"rejected\", thenable.reason = error);\n\t\t })), thenable.status) {\n\t\t case \"fulfilled\":\n\t\t return thenable.value;\n\t\t case \"rejected\":\n\t\t throw thenable.reason;\n\t\t }\n\t\t }\n\t\t throw thenable;\n\t\t }\n\t\t function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {\n\t\t var type = typeof children;\n\t\t if (\"undefined\" === type || \"boolean\" === type) children = null;\n\t\t var invokeCallback = !1;\n\t\t if (null === children) invokeCallback = !0;else switch (type) {\n\t\t case \"bigint\":\n\t\t case \"string\":\n\t\t case \"number\":\n\t\t invokeCallback = !0;\n\t\t break;\n\t\t case \"object\":\n\t\t switch (children.$$typeof) {\n\t\t case REACT_ELEMENT_TYPE:\n\t\t case REACT_PORTAL_TYPE:\n\t\t invokeCallback = !0;\n\t\t break;\n\t\t case REACT_LAZY_TYPE:\n\t\t return invokeCallback = children._init, mapIntoArray(invokeCallback(children._payload), array, escapedPrefix, nameSoFar, callback);\n\t\t }\n\t\t }\n\t\t if (invokeCallback) {\n\t\t invokeCallback = children;\n\t\t callback = callback(invokeCallback);\n\t\t var childKey = \"\" === nameSoFar ? \".\" + getElementKey(invokeCallback, 0) : nameSoFar;\n\t\t isArrayImpl(callback) ? (escapedPrefix = \"\", null != childKey && (escapedPrefix = childKey.replace(userProvidedKeyEscapeRegex, \"$&/\") + \"/\"), mapIntoArray(callback, array, escapedPrefix, \"\", function (c) {\n\t\t return c;\n\t\t })) : null != callback && (isValidElement(callback) && (null != callback.key && (invokeCallback && invokeCallback.key === callback.key || checkKeyStringCoercion(callback.key)), escapedPrefix = cloneAndReplaceKey(callback, escapedPrefix + (null == callback.key || invokeCallback && invokeCallback.key === callback.key ? \"\" : (\"\" + callback.key).replace(userProvidedKeyEscapeRegex, \"$&/\") + \"/\") + childKey), \"\" !== nameSoFar && null != invokeCallback && isValidElement(invokeCallback) && null == invokeCallback.key && invokeCallback._store && !invokeCallback._store.validated && (escapedPrefix._store.validated = 2), callback = escapedPrefix), array.push(callback));\n\t\t return 1;\n\t\t }\n\t\t invokeCallback = 0;\n\t\t childKey = \"\" === nameSoFar ? \".\" : nameSoFar + \":\";\n\t\t if (isArrayImpl(children)) for (var i = 0; i < children.length; i++) nameSoFar = children[i], type = childKey + getElementKey(nameSoFar, i), invokeCallback += mapIntoArray(nameSoFar, array, escapedPrefix, type, callback);else if (i = getIteratorFn(children), \"function\" === typeof i) for (i === children.entries && (didWarnAboutMaps || console.warn(\"Using Maps as children is not supported. Use an array of keyed ReactElements instead.\"), didWarnAboutMaps = !0), children = i.call(children), i = 0; !(nameSoFar = children.next()).done;) nameSoFar = nameSoFar.value, type = childKey + getElementKey(nameSoFar, i++), invokeCallback += mapIntoArray(nameSoFar, array, escapedPrefix, type, callback);else if (\"object\" === type) {\n\t\t if (\"function\" === typeof children.then) return mapIntoArray(resolveThenable(children), array, escapedPrefix, nameSoFar, callback);\n\t\t array = String(children);\n\t\t throw Error(\"Objects are not valid as a React child (found: \" + (\"[object Object]\" === array ? \"object with keys {\" + Object.keys(children).join(\", \") + \"}\" : array) + \"). If you meant to render a collection of children, use an array instead.\");\n\t\t }\n\t\t return invokeCallback;\n\t\t }\n\t\t function mapChildren(children, func, context) {\n\t\t if (null == children) return children;\n\t\t var result = [],\n\t\t count = 0;\n\t\t mapIntoArray(children, result, \"\", \"\", function (child) {\n\t\t return func.call(context, child, count++);\n\t\t });\n\t\t return result;\n\t\t }\n\t\t function lazyInitializer(payload) {\n\t\t if (-1 === payload._status) {\n\t\t var ctor = payload._result;\n\t\t ctor = ctor();\n\t\t ctor.then(function (moduleObject) {\n\t\t if (0 === payload._status || -1 === payload._status) payload._status = 1, payload._result = moduleObject;\n\t\t }, function (error) {\n\t\t if (0 === payload._status || -1 === payload._status) payload._status = 2, payload._result = error;\n\t\t });\n\t\t -1 === payload._status && (payload._status = 0, payload._result = ctor);\n\t\t }\n\t\t if (1 === payload._status) return ctor = payload._result, void 0 === ctor && console.error(\"lazy: Expected the result of a dynamic import() call. Instead received: %s\\n\\nYour code should look like: \\n const MyComponent = lazy(() => import('./MyComponent'))\\n\\nDid you accidentally put curly braces around the import?\", ctor), \"default\" in ctor || console.error(\"lazy: Expected the result of a dynamic import() call. Instead received: %s\\n\\nYour code should look like: \\n const MyComponent = lazy(() => import('./MyComponent'))\", ctor), ctor.default;\n\t\t throw payload._result;\n\t\t }\n\t\t function resolveDispatcher() {\n\t\t var dispatcher = ReactSharedInternals.H;\n\t\t null === dispatcher && console.error(\"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:\\n1. You might have mismatching versions of React and the renderer (such as React DOM)\\n2. You might be breaking the Rules of Hooks\\n3. You might have more than one copy of React in the same app\\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.\");\n\t\t return dispatcher;\n\t\t }\n\t\t function noop() {}\n\t\t function enqueueTask(task) {\n\t\t if (null === enqueueTaskImpl) try {\n\t\t var requireString = (\"require\" + Math.random()).slice(0, 7);\n\t\t enqueueTaskImpl = (module && module[requireString]).call(module, \"timers\").setImmediate;\n\t\t } catch (_err) {\n\t\t enqueueTaskImpl = function (callback) {\n\t\t !1 === didWarnAboutMessageChannel && (didWarnAboutMessageChannel = !0, \"undefined\" === typeof MessageChannel && console.error(\"This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning.\"));\n\t\t var channel = new MessageChannel();\n\t\t channel.port1.onmessage = callback;\n\t\t channel.port2.postMessage(void 0);\n\t\t };\n\t\t }\n\t\t return enqueueTaskImpl(task);\n\t\t }\n\t\t function aggregateErrors(errors) {\n\t\t return 1 < errors.length && \"function\" === typeof AggregateError ? new AggregateError(errors) : errors[0];\n\t\t }\n\t\t function popActScope(prevActQueue, prevActScopeDepth) {\n\t\t prevActScopeDepth !== actScopeDepth - 1 && console.error(\"You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. \");\n\t\t actScopeDepth = prevActScopeDepth;\n\t\t }\n\t\t function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {\n\t\t var queue = ReactSharedInternals.actQueue;\n\t\t if (null !== queue) if (0 !== queue.length) try {\n\t\t flushActQueue(queue);\n\t\t enqueueTask(function () {\n\t\t return recursivelyFlushAsyncActWork(returnValue, resolve, reject);\n\t\t });\n\t\t return;\n\t\t } catch (error) {\n\t\t ReactSharedInternals.thrownErrors.push(error);\n\t\t } else ReactSharedInternals.actQueue = null;\n\t\t 0 < ReactSharedInternals.thrownErrors.length ? (queue = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, reject(queue)) : resolve(returnValue);\n\t\t }\n\t\t function flushActQueue(queue) {\n\t\t if (!isFlushing) {\n\t\t isFlushing = !0;\n\t\t var i = 0;\n\t\t try {\n\t\t for (; i < queue.length; i++) {\n\t\t var callback = queue[i];\n\t\t do {\n\t\t ReactSharedInternals.didUsePromise = !1;\n\t\t var continuation = callback(!1);\n\t\t if (null !== continuation) {\n\t\t if (ReactSharedInternals.didUsePromise) {\n\t\t queue[i] = callback;\n\t\t queue.splice(0, i);\n\t\t return;\n\t\t }\n\t\t callback = continuation;\n\t\t } else break;\n\t\t } while (1);\n\t\t }\n\t\t queue.length = 0;\n\t\t } catch (error) {\n\t\t queue.splice(0, i + 1), ReactSharedInternals.thrownErrors.push(error);\n\t\t } finally {\n\t\t isFlushing = !1;\n\t\t }\n\t\t }\n\t\t }\n\t\t \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && \"function\" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());\n\t\t var REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n\t\t REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n\t\t REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n\t\t REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n\t\t REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\");\n\t\t var REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n\t\t REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n\t\t REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n\t\t REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n\t\t REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n\t\t REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n\t\t REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n\t\t REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n\t\t MAYBE_ITERATOR_SYMBOL = Symbol.iterator,\n\t\t didWarnStateUpdateForUnmountedComponent = {},\n\t\t ReactNoopUpdateQueue = {\n\t\t isMounted: function () {\n\t\t return !1;\n\t\t },\n\t\t enqueueForceUpdate: function (publicInstance) {\n\t\t warnNoop(publicInstance, \"forceUpdate\");\n\t\t },\n\t\t enqueueReplaceState: function (publicInstance) {\n\t\t warnNoop(publicInstance, \"replaceState\");\n\t\t },\n\t\t enqueueSetState: function (publicInstance) {\n\t\t warnNoop(publicInstance, \"setState\");\n\t\t }\n\t\t },\n\t\t assign = Object.assign,\n\t\t emptyObject = {};\n\t\t Object.freeze(emptyObject);\n\t\t Component.prototype.isReactComponent = {};\n\t\t Component.prototype.setState = function (partialState, callback) {\n\t\t if (\"object\" !== typeof partialState && \"function\" !== typeof partialState && null != partialState) throw Error(\"takes an object of state variables to update or a function which returns an object of state variables.\");\n\t\t this.updater.enqueueSetState(this, partialState, callback, \"setState\");\n\t\t };\n\t\t Component.prototype.forceUpdate = function (callback) {\n\t\t this.updater.enqueueForceUpdate(this, callback, \"forceUpdate\");\n\t\t };\n\t\t var deprecatedAPIs = {\n\t\t isMounted: [\"isMounted\", \"Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks.\"],\n\t\t replaceState: [\"replaceState\", \"Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236).\"]\n\t\t },\n\t\t fnName;\n\t\t for (fnName in deprecatedAPIs) deprecatedAPIs.hasOwnProperty(fnName) && defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);\n\t\t ComponentDummy.prototype = Component.prototype;\n\t\t deprecatedAPIs = PureComponent.prototype = new ComponentDummy();\n\t\t deprecatedAPIs.constructor = PureComponent;\n\t\t assign(deprecatedAPIs, Component.prototype);\n\t\t deprecatedAPIs.isPureReactComponent = !0;\n\t\t var isArrayImpl = Array.isArray,\n\t\t REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n\t\t ReactSharedInternals = {\n\t\t H: null,\n\t\t A: null,\n\t\t T: null,\n\t\t S: null,\n\t\t V: null,\n\t\t actQueue: null,\n\t\t isBatchingLegacy: !1,\n\t\t didScheduleLegacyUpdate: !1,\n\t\t didUsePromise: !1,\n\t\t thrownErrors: [],\n\t\t getCurrentStack: null,\n\t\t recentlyCreatedOwnerStacks: 0\n\t\t },\n\t\t hasOwnProperty = Object.prototype.hasOwnProperty,\n\t\t createTask = console.createTask ? console.createTask : function () {\n\t\t return null;\n\t\t };\n\t\t deprecatedAPIs = {\n\t\t \"react-stack-bottom-frame\": function (callStackForError) {\n\t\t return callStackForError();\n\t\t }\n\t\t };\n\t\t var specialPropKeyWarningShown, didWarnAboutOldJSXRuntime;\n\t\t var didWarnAboutElementRef = {};\n\t\t var unknownOwnerDebugStack = deprecatedAPIs[\"react-stack-bottom-frame\"].bind(deprecatedAPIs, UnknownOwner)();\n\t\t var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n\t\t var didWarnAboutMaps = !1,\n\t\t userProvidedKeyEscapeRegex = /\\/+/g,\n\t\t reportGlobalError = \"function\" === typeof reportError ? reportError : function (error) {\n\t\t if (\"object\" === typeof window && \"function\" === typeof window.ErrorEvent) {\n\t\t var event = new window.ErrorEvent(\"error\", {\n\t\t bubbles: !0,\n\t\t cancelable: !0,\n\t\t message: \"object\" === typeof error && null !== error && \"string\" === typeof error.message ? String(error.message) : String(error),\n\t\t error: error\n\t\t });\n\t\t if (!window.dispatchEvent(event)) return;\n\t\t } else if (\"object\" === typeof process && \"function\" === typeof process.emit) {\n\t\t process.emit(\"uncaughtException\", error);\n\t\t return;\n\t\t }\n\t\t console.error(error);\n\t\t },\n\t\t didWarnAboutMessageChannel = !1,\n\t\t enqueueTaskImpl = null,\n\t\t actScopeDepth = 0,\n\t\t didWarnNoAwaitAct = !1,\n\t\t isFlushing = !1,\n\t\t queueSeveralMicrotasks = \"function\" === typeof queueMicrotask ? function (callback) {\n\t\t queueMicrotask(function () {\n\t\t return queueMicrotask(callback);\n\t\t });\n\t\t } : enqueueTask;\n\t\t deprecatedAPIs = Object.freeze({\n\t\t __proto__: null,\n\t\t c: function (size) {\n\t\t return resolveDispatcher().useMemoCache(size);\n\t\t }\n\t\t });\n\t\t exports.Children = {\n\t\t map: mapChildren,\n\t\t forEach: function (children, forEachFunc, forEachContext) {\n\t\t mapChildren(children, function () {\n\t\t forEachFunc.apply(this, arguments);\n\t\t }, forEachContext);\n\t\t },\n\t\t count: function (children) {\n\t\t var n = 0;\n\t\t mapChildren(children, function () {\n\t\t n++;\n\t\t });\n\t\t return n;\n\t\t },\n\t\t toArray: function (children) {\n\t\t return mapChildren(children, function (child) {\n\t\t return child;\n\t\t }) || [];\n\t\t },\n\t\t only: function (children) {\n\t\t if (!isValidElement(children)) throw Error(\"React.Children.only expected to receive a single React element child.\");\n\t\t return children;\n\t\t }\n\t\t };\n\t\t exports.Component = Component;\n\t\t exports.Fragment = REACT_FRAGMENT_TYPE;\n\t\t exports.Profiler = REACT_PROFILER_TYPE;\n\t\t exports.PureComponent = PureComponent;\n\t\t exports.StrictMode = REACT_STRICT_MODE_TYPE;\n\t\t exports.Suspense = REACT_SUSPENSE_TYPE;\n\t\t exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;\n\t\t exports.__COMPILER_RUNTIME = deprecatedAPIs;\n\t\t exports.act = function (callback) {\n\t\t var prevActQueue = ReactSharedInternals.actQueue,\n\t\t prevActScopeDepth = actScopeDepth;\n\t\t actScopeDepth++;\n\t\t var queue = ReactSharedInternals.actQueue = null !== prevActQueue ? prevActQueue : [],\n\t\t didAwaitActCall = !1;\n\t\t try {\n\t\t var result = callback();\n\t\t } catch (error) {\n\t\t ReactSharedInternals.thrownErrors.push(error);\n\t\t }\n\t\t if (0 < ReactSharedInternals.thrownErrors.length) throw popActScope(prevActQueue, prevActScopeDepth), callback = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, callback;\n\t\t if (null !== result && \"object\" === typeof result && \"function\" === typeof result.then) {\n\t\t var thenable = result;\n\t\t queueSeveralMicrotasks(function () {\n\t\t didAwaitActCall || didWarnNoAwaitAct || (didWarnNoAwaitAct = !0, console.error(\"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 () => ...);\"));\n\t\t });\n\t\t return {\n\t\t then: function (resolve, reject) {\n\t\t didAwaitActCall = !0;\n\t\t thenable.then(function (returnValue) {\n\t\t popActScope(prevActQueue, prevActScopeDepth);\n\t\t if (0 === prevActScopeDepth) {\n\t\t try {\n\t\t flushActQueue(queue), enqueueTask(function () {\n\t\t return recursivelyFlushAsyncActWork(returnValue, resolve, reject);\n\t\t });\n\t\t } catch (error$0) {\n\t\t ReactSharedInternals.thrownErrors.push(error$0);\n\t\t }\n\t\t if (0 < ReactSharedInternals.thrownErrors.length) {\n\t\t var _thrownError = aggregateErrors(ReactSharedInternals.thrownErrors);\n\t\t ReactSharedInternals.thrownErrors.length = 0;\n\t\t reject(_thrownError);\n\t\t }\n\t\t } else resolve(returnValue);\n\t\t }, function (error) {\n\t\t popActScope(prevActQueue, prevActScopeDepth);\n\t\t 0 < ReactSharedInternals.thrownErrors.length ? (error = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, reject(error)) : reject(error);\n\t\t });\n\t\t }\n\t\t };\n\t\t }\n\t\t var returnValue$jscomp$0 = result;\n\t\t popActScope(prevActQueue, prevActScopeDepth);\n\t\t 0 === prevActScopeDepth && (flushActQueue(queue), 0 !== queue.length && queueSeveralMicrotasks(function () {\n\t\t didAwaitActCall || didWarnNoAwaitAct || (didWarnNoAwaitAct = !0, console.error(\"A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\\n\\nawait act(() => ...)\"));\n\t\t }), ReactSharedInternals.actQueue = null);\n\t\t if (0 < ReactSharedInternals.thrownErrors.length) throw callback = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, callback;\n\t\t return {\n\t\t then: function (resolve, reject) {\n\t\t didAwaitActCall = !0;\n\t\t 0 === prevActScopeDepth ? (ReactSharedInternals.actQueue = queue, enqueueTask(function () {\n\t\t return recursivelyFlushAsyncActWork(returnValue$jscomp$0, resolve, reject);\n\t\t })) : resolve(returnValue$jscomp$0);\n\t\t }\n\t\t };\n\t\t };\n\t\t exports.cache = function (fn) {\n\t\t return function () {\n\t\t return fn.apply(null, arguments);\n\t\t };\n\t\t };\n\t\t exports.captureOwnerStack = function () {\n\t\t var getCurrentStack = ReactSharedInternals.getCurrentStack;\n\t\t return null === getCurrentStack ? null : getCurrentStack();\n\t\t };\n\t\t exports.cloneElement = function (element, config, children) {\n\t\t if (null === element || void 0 === element) throw Error(\"The argument must be a React element, but you passed \" + element + \".\");\n\t\t var props = assign({}, element.props),\n\t\t key = element.key,\n\t\t owner = element._owner;\n\t\t if (null != config) {\n\t\t var JSCompiler_inline_result;\n\t\t a: {\n\t\t if (hasOwnProperty.call(config, \"ref\") && (JSCompiler_inline_result = Object.getOwnPropertyDescriptor(config, \"ref\").get) && JSCompiler_inline_result.isReactWarning) {\n\t\t JSCompiler_inline_result = !1;\n\t\t break a;\n\t\t }\n\t\t JSCompiler_inline_result = void 0 !== config.ref;\n\t\t }\n\t\t JSCompiler_inline_result && (owner = getOwner());\n\t\t hasValidKey(config) && (checkKeyStringCoercion(config.key), key = \"\" + config.key);\n\t\t for (propName in config) !hasOwnProperty.call(config, propName) || \"key\" === propName || \"__self\" === propName || \"__source\" === propName || \"ref\" === propName && void 0 === config.ref || (props[propName] = config[propName]);\n\t\t }\n\t\t var propName = arguments.length - 2;\n\t\t if (1 === propName) props.children = children;else if (1 < propName) {\n\t\t JSCompiler_inline_result = Array(propName);\n\t\t for (var i = 0; i < propName; i++) JSCompiler_inline_result[i] = arguments[i + 2];\n\t\t props.children = JSCompiler_inline_result;\n\t\t }\n\t\t props = ReactElement(element.type, key, void 0, void 0, owner, props, element._debugStack, element._debugTask);\n\t\t for (key = 2; key < arguments.length; key++) owner = arguments[key], isValidElement(owner) && owner._store && (owner._store.validated = 1);\n\t\t return props;\n\t\t };\n\t\t exports.createContext = function (defaultValue) {\n\t\t defaultValue = {\n\t\t $$typeof: REACT_CONTEXT_TYPE,\n\t\t _currentValue: defaultValue,\n\t\t _currentValue2: defaultValue,\n\t\t _threadCount: 0,\n\t\t Provider: null,\n\t\t Consumer: null\n\t\t };\n\t\t defaultValue.Provider = defaultValue;\n\t\t defaultValue.Consumer = {\n\t\t $$typeof: REACT_CONSUMER_TYPE,\n\t\t _context: defaultValue\n\t\t };\n\t\t defaultValue._currentRenderer = null;\n\t\t defaultValue._currentRenderer2 = null;\n\t\t return defaultValue;\n\t\t };\n\t\t exports.createElement = function (type, config, children) {\n\t\t for (var i = 2; i < arguments.length; i++) {\n\t\t var node = arguments[i];\n\t\t isValidElement(node) && node._store && (node._store.validated = 1);\n\t\t }\n\t\t i = {};\n\t\t node = null;\n\t\t if (null != config) for (propName in didWarnAboutOldJSXRuntime || !(\"__self\" in config) || \"key\" in config || (didWarnAboutOldJSXRuntime = !0, console.warn(\"Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform\")), hasValidKey(config) && (checkKeyStringCoercion(config.key), node = \"\" + config.key), config) hasOwnProperty.call(config, propName) && \"key\" !== propName && \"__self\" !== propName && \"__source\" !== propName && (i[propName] = config[propName]);\n\t\t var childrenLength = arguments.length - 2;\n\t\t if (1 === childrenLength) i.children = children;else if (1 < childrenLength) {\n\t\t for (var childArray = Array(childrenLength), _i = 0; _i < childrenLength; _i++) childArray[_i] = arguments[_i + 2];\n\t\t Object.freeze && Object.freeze(childArray);\n\t\t i.children = childArray;\n\t\t }\n\t\t if (type && type.defaultProps) for (propName in childrenLength = type.defaultProps, childrenLength) void 0 === i[propName] && (i[propName] = childrenLength[propName]);\n\t\t node && defineKeyPropWarningGetter(i, \"function\" === typeof type ? type.displayName || type.name || \"Unknown\" : type);\n\t\t var propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n\t\t return ReactElement(type, node, void 0, void 0, getOwner(), i, propName ? Error(\"react-stack-top-frame\") : unknownOwnerDebugStack, propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask);\n\t\t };\n\t\t exports.createRef = function () {\n\t\t var refObject = {\n\t\t current: null\n\t\t };\n\t\t Object.seal(refObject);\n\t\t return refObject;\n\t\t };\n\t\t exports.forwardRef = function (render) {\n\t\t null != render && render.$$typeof === REACT_MEMO_TYPE ? console.error(\"forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).\") : \"function\" !== typeof render ? console.error(\"forwardRef requires a render function but was given %s.\", null === render ? \"null\" : typeof render) : 0 !== render.length && 2 !== render.length && console.error(\"forwardRef render functions accept exactly two parameters: props and ref. %s\", 1 === render.length ? \"Did you forget to use the ref parameter?\" : \"Any additional parameter will be undefined.\");\n\t\t null != render && null != render.defaultProps && console.error(\"forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?\");\n\t\t var elementType = {\n\t\t $$typeof: REACT_FORWARD_REF_TYPE,\n\t\t render: render\n\t\t },\n\t\t ownName;\n\t\t Object.defineProperty(elementType, \"displayName\", {\n\t\t enumerable: !1,\n\t\t configurable: !0,\n\t\t get: function () {\n\t\t return ownName;\n\t\t },\n\t\t set: function (name) {\n\t\t ownName = name;\n\t\t render.name || render.displayName || (Object.defineProperty(render, \"name\", {\n\t\t value: name\n\t\t }), render.displayName = name);\n\t\t }\n\t\t });\n\t\t return elementType;\n\t\t };\n\t\t exports.isValidElement = isValidElement;\n\t\t exports.lazy = function (ctor) {\n\t\t return {\n\t\t $$typeof: REACT_LAZY_TYPE,\n\t\t _payload: {\n\t\t _status: -1,\n\t\t _result: ctor\n\t\t },\n\t\t _init: lazyInitializer\n\t\t };\n\t\t };\n\t\t exports.memo = function (type, compare) {\n\t\t null == type && console.error(\"memo: The first argument must be a component. Instead received: %s\", null === type ? \"null\" : typeof type);\n\t\t compare = {\n\t\t $$typeof: REACT_MEMO_TYPE,\n\t\t type: type,\n\t\t compare: void 0 === compare ? null : compare\n\t\t };\n\t\t var ownName;\n\t\t Object.defineProperty(compare, \"displayName\", {\n\t\t enumerable: !1,\n\t\t configurable: !0,\n\t\t get: function () {\n\t\t return ownName;\n\t\t },\n\t\t set: function (name) {\n\t\t ownName = name;\n\t\t type.name || type.displayName || (Object.defineProperty(type, \"name\", {\n\t\t value: name\n\t\t }), type.displayName = name);\n\t\t }\n\t\t });\n\t\t return compare;\n\t\t };\n\t\t exports.startTransition = function (scope) {\n\t\t var prevTransition = ReactSharedInternals.T,\n\t\t currentTransition = {};\n\t\t ReactSharedInternals.T = currentTransition;\n\t\t currentTransition._updatedFibers = new Set();\n\t\t try {\n\t\t var returnValue = scope(),\n\t\t onStartTransitionFinish = ReactSharedInternals.S;\n\t\t null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);\n\t\t \"object\" === typeof returnValue && null !== returnValue && \"function\" === typeof returnValue.then && returnValue.then(noop, reportGlobalError);\n\t\t } catch (error) {\n\t\t reportGlobalError(error);\n\t\t } finally {\n\t\t null === prevTransition && currentTransition._updatedFibers && (scope = currentTransition._updatedFibers.size, currentTransition._updatedFibers.clear(), 10 < scope && console.warn(\"Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.\")), ReactSharedInternals.T = prevTransition;\n\t\t }\n\t\t };\n\t\t exports.unstable_useCacheRefresh = function () {\n\t\t return resolveDispatcher().useCacheRefresh();\n\t\t };\n\t\t exports.use = function (usable) {\n\t\t return resolveDispatcher().use(usable);\n\t\t };\n\t\t exports.useActionState = function (action, initialState, permalink) {\n\t\t return resolveDispatcher().useActionState(action, initialState, permalink);\n\t\t };\n\t\t exports.useCallback = function (callback, deps) {\n\t\t return resolveDispatcher().useCallback(callback, deps);\n\t\t };\n\t\t exports.useContext = function (Context) {\n\t\t var dispatcher = resolveDispatcher();\n\t\t Context.$$typeof === REACT_CONSUMER_TYPE && console.error(\"Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?\");\n\t\t return dispatcher.useContext(Context);\n\t\t };\n\t\t exports.useDebugValue = function (value, formatterFn) {\n\t\t return resolveDispatcher().useDebugValue(value, formatterFn);\n\t\t };\n\t\t exports.useDeferredValue = function (value, initialValue) {\n\t\t return resolveDispatcher().useDeferredValue(value, initialValue);\n\t\t };\n\t\t exports.useEffect = function (create, createDeps, update) {\n\t\t null == create && console.warn(\"React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?\");\n\t\t var dispatcher = resolveDispatcher();\n\t\t if (\"function\" === typeof update) throw Error(\"useEffect CRUD overload is not enabled in this build of React.\");\n\t\t return dispatcher.useEffect(create, createDeps);\n\t\t };\n\t\t exports.useId = function () {\n\t\t return resolveDispatcher().useId();\n\t\t };\n\t\t exports.useImperativeHandle = function (ref, create, deps) {\n\t\t return resolveDispatcher().useImperativeHandle(ref, create, deps);\n\t\t };\n\t\t exports.useInsertionEffect = function (create, deps) {\n\t\t null == create && console.warn(\"React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?\");\n\t\t return resolveDispatcher().useInsertionEffect(create, deps);\n\t\t };\n\t\t exports.useLayoutEffect = function (create, deps) {\n\t\t null == create && console.warn(\"React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?\");\n\t\t return resolveDispatcher().useLayoutEffect(create, deps);\n\t\t };\n\t\t exports.useMemo = function (create, deps) {\n\t\t return resolveDispatcher().useMemo(create, deps);\n\t\t };\n\t\t exports.useOptimistic = function (passthrough, reducer) {\n\t\t return resolveDispatcher().useOptimistic(passthrough, reducer);\n\t\t };\n\t\t exports.useReducer = function (reducer, initialArg, init) {\n\t\t return resolveDispatcher().useReducer(reducer, initialArg, init);\n\t\t };\n\t\t exports.useRef = function (initialValue) {\n\t\t return resolveDispatcher().useRef(initialValue);\n\t\t };\n\t\t exports.useState = function (initialState) {\n\t\t return resolveDispatcher().useState(initialState);\n\t\t };\n\t\t exports.useSyncExternalStore = function (subscribe, getSnapshot, getServerSnapshot) {\n\t\t return resolveDispatcher().useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);\n\t\t };\n\t\t exports.useTransition = function () {\n\t\t return resolveDispatcher().useTransition();\n\t\t };\n\t\t exports.version = \"19.1.0\";\n\t\t \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && \"function\" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());\n\t\t}(); \n\t} (react_development, react_development.exports));\n\treturn react_development.exports;\n}\n\nif (process.env.NODE_ENV === 'production') {\n react.exports = requireReact_production();\n} else {\n react.exports = requireReact_development();\n}\n\nvar reactExports = react.exports;\n\nconst Add = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 10 10\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"M6 4h4v2H6v4H4V6H0V4h4V0h2z\"\n}));\nvar Add$1 = Add;\n\nconst AddCircle = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8m4 9H9v3H7V9H4V7h3V4h2v3h3z\"\n}));\nvar AddCircle$1 = AddCircle;\n\nconst AddOutline = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n x: 0,\n y: 0,\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M8 14.5c3.6 0 6.5-2.9 6.5-6.5S11.6 1.5 8 1.5 1.5 4.4 1.5 8s2.9 6.5 6.5 6.5M8 16c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8\"\n}), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M7 7V4h2v3h3v2H9v3H7V9H4V7z\"\n}));\nvar AddOutline$1 = AddOutline;\n\nconst AngleDown = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 448 512\",\n width: \"1em\",\n height: \"1em\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"m224 365.3 22.6-22.6 160-160 22.7-22.7-45.3-45.3-22.6 22.6L224 274.7 86.6 137.4 64 114.7 18.7 160l22.6 22.6 160 160z\"\n}));\nvar AngleDown$1 = AngleDown;\n\nconst ArrowDown = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 14 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"nonzero\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"m8 11.953 3.905-4.09 1.453 1.374L7 16 .635 9.238l1.452-1.376L6 11.954V0h2z\"\n}));\nvar ArrowDown$1 = ArrowDown;\n\nconst ArrowLeft = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 14\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"nonzero\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"m4.044 8.003 4.09 3.905-1.374 1.453-6.763-6.356L6.759.639 8.135 2.09 4.043 6.003h11.954v2z\"\n}));\nvar ArrowLeft$1 = ArrowLeft;\n\nconst ArrowRight = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 14\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"nonzero\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"M11.95 5.997 7.86 2.092 9.233.639l6.763 6.356-6.763 6.366L7.86 11.91l4.092-3.912H-.003v-2z\"\n}));\nvar ArrowRight$1 = ArrowRight;\n\nconst ArrowUp = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 14 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"nonzero\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"m5.993 4.047-3.905 4.09L.635 6.763 6.992 0l6.366 6.762-1.452 1.376-3.913-4.092V16h-2z\"\n}));\nvar ArrowUp$1 = ArrowUp;\n\nconst Arrows = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"g\", {\n fill: \"currentColor\",\n fillRule: \"nonzero\",\n stroke: \"none\",\n strokeWidth: 1\n}, /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"m12 14.186 2.724-2.477.686.726-3.875 3.524-3.875-3.524.686-.726L11 14.122V0h1zM5.038 1.805V16h-1V1.805L1.348 4.25l-.685-.727L4.538 0l3.875 3.523-.686.727z\"\n})));\nvar Arrows$1 = Arrows;\n\nconst BackToTop = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 11 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"g\", {\n fill: \"currentColor\",\n fillRule: \"nonzero\",\n stroke: \"none\",\n strokeWidth: 1\n}, /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M0 1V0h11v1zM5 4.984.862 9.357.135 8.67 5.502 3l5.363 5.673-.727.687-4.137-4.376V16H5z\"\n})));\nvar BackToTop$1 = BackToTop;\n\nconst CalendarAltRegular = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n className: \"svg-inline--fa fa-calendar-alt fa-w-14\",\n viewBox: \"0 0 448 512\",\n width: \"1em\",\n height: \"1em\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"M148 288h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12m108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12m96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12m-96 96v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12m-96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12m192 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12m96-260v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48m-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6\"\n}));\nvar CalendarAltRegular$1 = CalendarAltRegular;\n\nconst CaretDown = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 320 512\",\n width: \"1em\",\n height: \"1em\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"M320 240 160 384 0 240v-48h320z\"\n}));\nvar CaretDown$1 = CaretDown;\n\nconst CaretDownLegacy = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 10 5\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"m0 0 5 4.998L10 0z\"\n}));\nvar CaretDownLegacy$1 = CaretDownLegacy;\n\nconst CaretLeft = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 5 10\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"M4.998 10 0 5l4.998-5z\"\n}));\nvar CaretLeft$1 = CaretLeft;\n\nconst CaretRight = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 5 10\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"m0 10 4.998-5L0 0z\"\n}));\nvar CaretRight$1 = CaretRight;\n\nconst CaretUp = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 10 5\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"M0 5 5 .002 10 5z\"\n}));\nvar CaretUp$1 = CaretUp;\n\nconst Check = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 448 512\",\n width: \"1em\",\n height: \"1em\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"nonzero\",\n d: \"m447.9 142.5-23.2 22L181 395.3l-22 20.8-22-20.8L23.2 287.6 0 265.6l44-46.5 23.2 22L159 328l221.7-210 23.2-22z\"\n}));\nvar Check$1 = Check;\n\nconst Checkmark = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 10 8\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"nonzero\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"M8.498 0 10 1.502 3.672 7.83 0 4.158l1.502-1.502 2.17 2.17z\"\n}));\nvar Checkmark$1 = Checkmark;\n\nconst CheckmarkCircle = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8M6.7 11.5 3.4 8.1l1.4-1.4 1.9 1.9 4.1-4.1 1.4 1.4z\"\n}));\nvar CheckmarkCircle$1 = CheckmarkCircle;\n\nconst CheckmarkOutline = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n xmlSpace: \"preserve\",\n width: \"1em\",\n height: \"1em\",\n x: 0,\n y: 0,\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M8 14.5c3.6 0 6.5-2.9 6.5-6.5S11.6 1.5 8 1.5 1.5 4.4 1.5 8s2.9 6.5 6.5 6.5M8 16c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8\"\n}), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"m11.3 4.7 1.4 1.4L6.8 12 3.3 8.6l1.4-1.4 2.1 2z\"\n}));\nvar CheckmarkOutline$1 = CheckmarkOutline;\n\nconst ChevronDown = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 512 512\",\n width: \"1em\",\n height: \"1em\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"m256 429.3 22.6-22.6 192-192 22.7-22.7-45.3-45.3-22.6 22.6L256 338.7 86.6 169.4 64 146.7 18.7 192l22.6 22.6 192 192z\"\n}));\nvar ChevronDown$1 = ChevronDown;\n\nconst ChevronDownLegacy = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 12 7\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"nonzero\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"M6.002 5.55 11.27 0l.726.685L6.003 7 0 .685.726 0z\"\n}));\nvar ChevronDownLegacy$1 = ChevronDownLegacy;\n\nconst ChevronLeft = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 7 12\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"nonzero\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"M1.45 6.002 7 11.27l-.685.726L0 6.003 6.315 0 7 .726z\"\n}));\nvar ChevronLeft$1 = ChevronLeft;\n\nconst ChevronRight = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 7 12\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"nonzero\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"M5.569 5.994 0 .726.687 0l6.336 5.994-6.335 6.002L0 11.27z\"\n}));\nvar ChevronRight$1 = ChevronRight;\n\nconst ChevronUp = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 12 7\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"nonzero\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"M5.994 1.45.726 7 0 6.315 5.994 0l6.002 6.315L11.27 7z\"\n}));\nvar ChevronUp$1 = ChevronUp;\n\nconst Close = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 384 512\",\n width: \"1em\",\n height: \"1em\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"m326.6 166.6 22.7-22.6L304 98.7l-22.6 22.6-89.4 89.4-89.4-89.4L80 98.7 34.7 144l22.6 22.6 89.4 89.4-89.3 89.4L34.7 368 80 413.3l22.6-22.6 89.4-89.4 89.4 89.4 22.6 22.6 45.3-45.3-22.6-22.6-89.4-89.4 89.4-89.4z\"\n}));\nvar Close$1 = Close;\n\nconst CloseCircle = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8m3.5 10.1-1.4 1.4L8 9.4l-2.1 2.1-1.4-1.4L6.6 8 4.5 5.9l1.4-1.4L8 6.6l2.1-2.1 1.4 1.4L9.4 8z\"\n}));\nvar CloseCircle$1 = CloseCircle;\n\nconst CloseOutline = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n xmlSpace: \"preserve\",\n width: \"1em\",\n height: \"1em\",\n x: 0,\n y: 0,\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M8 14.5c3.6 0 6.5-2.9 6.5-6.5S11.6 1.5 8 1.5 1.5 4.4 1.5 8s2.9 6.5 6.5 6.5M8 16c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8\"\n}), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"m8 6.6 2.1-2.1 1.4 1.4L9.4 8l2.1 2.1-1.4 1.4L8 9.4l-2.1 2.1-1.4-1.4L6.6 8 4.5 5.9l1.4-1.4z\"\n}));\nvar CloseOutline$1 = CloseOutline;\n\nconst Cross = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 384 512\",\n width: \"1em\",\n height: \"1em\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"nonzero\",\n d: \"m326.6 166.6 22.7-22.6L304 98.7l-22.6 22.6-89.4 89.4-89.4-89.4L80 98.7 34.7 144l22.6 22.6 89.4 89.4-89.3 89.4L34.7 368 80 413.3l22.6-22.6 89.4-89.4 89.4 89.4 22.6 22.6 45.3-45.3-22.6-22.6-89.4-89.4 89.4-89.4z\"\n}));\nvar Cross$1 = Cross;\n\nconst Delete = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M5 0h6v2H5zM2 3v3h1v10h10V6h1V3zm5 11H5V7h2zm4 0H9V7h2z\"\n}));\nvar Delete$1 = Delete;\n\nconst Download = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"-1 2 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M8 9V2H6.1v7L3.5 6.5 2 8l5 5 5-5-1.5-1.5z\"\n}), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M13 12v3H1v-3h-2v6h16v-6z\"\n}));\nvar Download$1 = Download;\n\nconst Draggable = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 6 14\"\n}, props), /*#__PURE__*/reactExports.createElement(\"g\", {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n stroke: \"none\",\n strokeWidth: 1\n}, /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M0 0h2v2H0zM4 0h2v2H4zM0 6h2v2H0zM4 6h2v2H4zM0 12h2v2H0zM4 12h2v2H4z\"\n})));\nvar Draggable$1 = Draggable;\n\nconst EditGlyph = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"m2.032 10.924 7.99-7.99 2.97 2.97-7.99 7.99zM11.046 2.014l1.98-1.98 2.97 2.97-1.98 1.98zM0 16l3-1-2-2z\"\n}));\nvar EditGlyph$1 = EditGlyph;\n\nconst Ellipsis = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M9.5 8.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m5-1.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3m-13 0a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3\"\n}));\nvar Ellipsis$1 = Ellipsis;\n\nconst Error$1 = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"M8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16M4 4.65 11.35 12l.65-.65L4.65 4z\"\n}));\nvar Error$2 = Error$1;\n\nconst ErrorSolid = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"M8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16M3.293 4.707l8 8 1.414-1.414-8-8z\"\n}));\nvar ErrorSolid$1 = ErrorSolid;\n\nconst Facebook = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 320 512\",\n width: \"1em\",\n height: \"1em\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"m279.14 288 14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z\"\n}));\nvar Facebook$1 = Facebook;\n\nconst Favorite = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 15\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"m8.109 11.75-4.5 3.2c-.2.1-.5 0-.4-.3l1.5-5.1-4.6-3.2c-.2-.2-.1-.5.1-.5l5.5-.5 2-5.2c.1-.2.4-.2.5 0l2 5.2 5.5.5c.2 0 .3.3.1.4l-4.5 3.3 1.5 5.1c.1.2-.2.4-.4.3z\"\n}));\nvar Favorite$1 = Favorite;\n\nconst FavoriteOutline = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n \"data-name\": \"Layer 1\",\n viewBox: \"0 0 16 14\",\n width: \"1em\",\n height: \"1em\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M11.58 1a3.41 3.41 0 0 1 2.21 6L8 12.49 2.15 7a3.42 3.42 0 1 1 5-4.55L8 3.54l.81-1.12A3.43 3.43 0 0 1 11.58 1m0-1A4.39 4.39 0 0 0 8 1.84a4.41 4.41 0 1 0-6.51 5.88L8 13.87l6.46-6.08A4.42 4.42 0 0 0 11.58 0\"\n}));\nvar FavoriteOutline$1 = FavoriteOutline;\n\nconst FavoriteSolid = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n \"data-name\": \"Layer 1\",\n viewBox: \"0 0 16 14\",\n width: \"1em\",\n height: \"1em\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M1.49 7.72A4.41 4.41 0 1 1 8 1.84a4.42 4.42 0 1 1 6.44 6L8 13.87Z\"\n}));\nvar FavoriteSolid$1 = FavoriteSolid;\n\nconst Female = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 8 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M7.958 10.653 6.71 5.519a1.5 1.5 0 0 0-.668-.93A2.74 2.74 0 0 0 6.75 2.75 2.753 2.753 0 0 0 4 0a2.753 2.753 0 0 0-2.75 2.75c0 .706.268 1.35.707 1.838q-.075.046-.143.1c-.263.21-.447.503-.525.831L.042 10.653a1.5 1.5 0 0 0 1.46 1.847h.404v1.844c0 .913.743 1.656 1.656 1.656h.875c.914 0 1.657-.743 1.657-1.656V12.5h.404a1.5 1.5 0 0 0 1.46-1.847M4 1a1.75 1.75 0 1 1 0 3.5A1.75 1.75 0 0 1 4 1m2.5 10.5H5.094v2.844a.656.656 0 0 1-.657.656h-.875a.656.656 0 0 1-.656-.656V11.5H1.5a.5.5 0 0 1-.488-.61l1.25-5.14a.5.5 0 0 1 .488-.39h.386a2.75 2.75 0 0 0 1.728 0h.386a.5.5 0 0 1 .488.39l1.25 5.14a.5.5 0 0 1-.488.61\"\n}));\nvar Female$1 = Female;\n\nconst Filter = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"#231F20\",\n d: \"M5 0C3.7 0 2.6.8 2.2 2H0v2h2.2C2.6 5.2 3.7 6 5 6s2.4-.8 2.8-2H16V2H7.8C7.4.8 6.3 0 5 0m0 4c-.6 0-1-.4-1-1s.4-1 1-1 1 .4 1 1-.4 1-1 1M5 10c-1.3 0-2.4.8-2.8 2H0v2h2.2c.4 1.2 1.5 2 2.8 2s2.4-.8 2.8-2H16v-2H7.8c-.4-1.2-1.5-2-2.8-2m0 4c-.6 0-1-.4-1-1s.4-1 1-1 1 .4 1 1-.4 1-1 1\"\n}), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"#231F20\",\n d: \"M11 5c-1.3 0-2.4.8-2.8 2H0v2h8.2c.4 1.2 1.5 2 2.8 2s2.4-.8 2.8-2H16V7h-2.2c-.4-1.2-1.5-2-2.8-2m0 4c-.6 0-1-.4-1-1s.4-1 1-1 1 .4 1 1-.4 1-1 1\"\n}));\nvar Filter$1 = Filter;\n\nconst HeaderAvatar = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 20 20\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"nonzero\",\n d: \"M6 15.745A6.97 6.97 0 0 0 10 17a6.97 6.97 0 0 0 4-1.255V15.5a2.5 2.5 0 0 0-2.5-2.5h-3A2.5 2.5 0 0 0 6 15.5zm-.956-.802A3.5 3.5 0 0 1 8.5 12h3a3.5 3.5 0 0 1 3.456 2.943 7 7 0 1 0-9.912 0M10 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16\"\n}), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"nonzero\",\n d: \"M10 10a2 2 0 1 0 0-4 2 2 0 0 0 0 4m0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6\"\n}));\nvar HeaderAvatar$1 = HeaderAvatar;\n\nconst HeaderChevron = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 20 20\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"nonzero\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"m6.542 4.945.707-.707 6.004 6.004-6.004 6.02-.708-.707 5.298-5.312z\"\n}));\nvar HeaderChevron$1 = HeaderChevron;\n\nconst HeaderSearch = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 20 20\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"nonzero\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"M8.5 14a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11m4.936-1.27 4.418 4.416-.708.708-4.417-4.418a6.5 6.5 0 1 1 .707-.707\"\n}));\nvar HeaderSearch$1 = HeaderSearch;\n\nconst Help = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"M12 2c5.5 0 10 4.5 10 10s-4.5 10-10 10S2 17.5 2 12 6.5 2 12 2m0-2C5.4 0 0 5.4 0 12s5.4 12 12 12 12-5.4 12-12S18.6 0 12 0\"\n}), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"M8.3 10c.2-2 1.5-3.5 3.7-3.5 2.8 0 3.7 1.8 3.7 2.9 0 2.9-2.5 2.5-2.7 4.3V15h-2v-1c.2-2.6 2.4-2.8 2.3-4.4 0-.9-.5-1.3-1.3-1.3-1 0-1.5.8-1.5 1.7zm2.7 6h2v2h-2z\"\n}));\nvar Help$1 = Help;\n\nconst HelpGlyph = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"#231F20\",\n d: \"M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8m.9 13H7v-1.8h1.9zm-.1-3.6v.5H7.1v-.6c.2-2.1 2-1.9 1.9-3.2.1-.7-.3-1.1-1-1.1-.8 0-1.2.7-1.2 1.6H5c0-1.7 1.2-3 2.9-3 2.3 0 3 1.4 3 2.3.1 2.3-1.9 2-2.1 3.5\"\n}));\nvar HelpGlyph$1 = HelpGlyph;\n\nconst HelpOutline = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"g\", {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n stroke: \"none\",\n strokeWidth: 1\n}, /*#__PURE__*/reactExports.createElement(\"path\", {\n fillRule: \"nonzero\",\n d: \"M8 14.5a6.5 6.5 0 1 0 0-13 6.5 6.5 0 0 0 0 13M8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16\"\n}), /*#__PURE__*/reactExports.createElement(\"path\", {\n fillRule: \"nonzero\",\n d: \"M8.75 9.364V10.5h-1.5V7.863h1.5A1.682 1.682 0 0 0 8.678 4.5h-.996C6.753 4.5 6 5.253 6 6.182H4.5A3.18 3.18 0 0 1 7.682 3h.996a3.182 3.182 0 0 1 .072 6.364\"\n}), /*#__PURE__*/reactExports.createElement(\"circle\", {\n cx: 8,\n cy: 13,\n r: 1\n})));\nvar HelpOutline$1 = HelpOutline;\n\nconst Home = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 576 512\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"M575.8 255.5c0 18-15 32.1-32 32.1h-32l.7 160.2c0 2.7-.2 5.4-.5 8.1V472c0 22.1-17.9 40-40 40h-16c-1.1 0-2.2 0-3.3-.1-1.4.1-2.8.1-4.2.1H392c-22.1 0-40-17.9-40-40v-88c0-17.7-14.3-32-32-32h-64c-17.7 0-32 14.3-32 32v88c0 22.1-17.9 40-40 40h-55.9c-1.5 0-3-.1-4.5-.2-1.2.1-2.4.2-3.6.2h-16c-22.1 0-40-17.9-40-40V360c0-.9 0-1.9.1-2.8v-69.6H32c-18 0-32-14-32-32.1 0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7l255.4 224.5c8 7 12 15 11 24\"\n}));\nvar Home$1 = Home;\n\nconst Info = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"M12 2c5.5 0 10 4.5 10 10s-4.5 10-10 10S2 17.5 2 12 6.5 2 12 2m0-2C5.4 0 0 5.4 0 12s5.4 12 12 12 12-5.4 12-12S18.6 0 12 0\"\n}), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"M14 10H9v2h2v4H9v2h7v-2h-2z\"\n}), /*#__PURE__*/reactExports.createElement(\"circle\", {\n cx: 12.5,\n cy: 7.5,\n r: 1.5,\n fill: \"currentColor\"\n}));\nvar Info$1 = Info;\n\nconst InfoCircle = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8m0 4c.6 0 1 .4 1 1s-.4 1-1 1-1-.4-1-1 .4-1 1-1m2 8H6v-1h1V8H6V7h3v4h1z\"\n}));\nvar InfoCircle$1 = InfoCircle;\n\nconst InfoOutline = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"g\", {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n stroke: \"none\",\n strokeWidth: 1\n}, /*#__PURE__*/reactExports.createElement(\"path\", {\n fillRule: \"nonzero\",\n d: \"M8 14.5a6.5 6.5 0 1 0 0-13 6.5 6.5 0 0 0 0 13M8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16\"\n}), /*#__PURE__*/reactExports.createElement(\"path\", {\n fillRule: \"nonzero\",\n d: \"M9 13H7V7h2z\"\n}), /*#__PURE__*/reactExports.createElement(\"circle\", {\n cx: 8,\n cy: 4,\n r: 1\n})));\nvar InfoOutline$1 = InfoOutline;\n\nconst InfoSolid = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"M8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16m1-3V7H7v6zM8 5a1 1 0 1 0 0-2 1 1 0 0 0 0 2\"\n}));\nvar InfoSolid$1 = InfoSolid;\n\nconst Instagram = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 448 512\",\n width: \"1em\",\n height: \"1em\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141m0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7m146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8m76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8M398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1\"\n}));\nvar Instagram$1 = Instagram;\n\nconst LinkedIn = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 448 512\",\n width: \"1em\",\n height: \"1em\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3M447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z\"\n}));\nvar LinkedIn$1 = LinkedIn;\n\nconst Locked = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"nonzero\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"M4.5 7V3.5a3.5 3.5 0 0 1 7 0V7h1A1.5 1.5 0 0 1 14 8.5v6a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 2 14.5v-6A1.5 1.5 0 0 1 3.5 7zm1 0h5V3.5a2.5 2.5 0 0 0-5 0zm-2 1a.5.5 0 0 0-.5.5v6a.5.5 0 0 0 .5.5h9a.5.5 0 0 0 .5-.5v-6a.5.5 0 0 0-.5-.5z\"\n}));\nvar Locked$1 = Locked;\n\nconst Male = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 8 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M6.21 4.384c.34-.458.54-1.023.54-1.634A2.753 2.753 0 0 0 4 0a2.753 2.753 0 0 0-2.75 2.75c0 .611.2 1.176.54 1.634A2.32 2.32 0 0 0 .25 6.562v3.282A1.66 1.66 0 0 0 1.5 11.45v2.894c0 .913.743 1.656 1.656 1.656h1.688c.913 0 1.656-.743 1.656-1.656V11.45a1.66 1.66 0 0 0 1.25-1.606V6.563c0-1.004-.643-1.86-1.54-2.18M4 1a1.75 1.75 0 1 1 0 3.5A1.75 1.75 0 0 1 4 1m2.75 8.844a.656.656 0 0 1-.656.656H5.5v3.844a.656.656 0 0 1-.656.656H3.156a.656.656 0 0 1-.656-.656V10.5h-.594a.656.656 0 0 1-.656-.656V6.563c0-.725.588-1.313 1.313-1.313h.292c.71.326 1.55.34 2.29 0h.293c.724 0 1.312.588 1.312 1.313z\"\n}));\nvar Male$1 = Male;\n\nconst Menu = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 20 14\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"M0 0h20v2H0zM0 6h20v2H0zM0 12h20v2H0z\"\n}));\nvar Menu$1 = Menu;\n\nconst OverflowMenu = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 3 15\"\n}, props), /*#__PURE__*/reactExports.createElement(\"g\", {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n stroke: \"none\",\n strokeWidth: 1\n}, /*#__PURE__*/reactExports.createElement(\"circle\", {\n cx: 1.5,\n cy: 1.5,\n r: 1.5\n}), /*#__PURE__*/reactExports.createElement(\"circle\", {\n cx: 1.5,\n cy: 7.5,\n r: 1.5\n}), /*#__PURE__*/reactExports.createElement(\"circle\", {\n cx: 1.5,\n cy: 13.5,\n r: 1.5\n})));\nvar OverflowMenu$1 = OverflowMenu;\n\nconst Play = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 21 24\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"m0 24 21-12L0 0z\"\n}));\nvar Play$1 = Play;\n\nconst Print = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M12.5 8.25a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5m1-2.75V3.121a1.5 1.5 0 0 0-.44-1.06L11.44.439A1.5 1.5 0 0 0 10.378 0H3.453C2.926 0 2.5.448 2.5 1v4.5A2.5 2.5 0 0 0 0 8v4a.5.5 0 0 0 .5.5h2v3a.5.5 0 0 0 .5.5h10a.5.5 0 0 0 .5-.5v-3h2a.5.5 0 0 0 .5-.5V8a2.5 2.5 0 0 0-2.5-2.5M4 1.5h6V3a.5.5 0 0 0 .5.5H12v2H4zm8 13H4v-2h8zm2.5-3.5h-13V8c0-.551.449-1 1-1h11c.551 0 1 .449 1 1z\"\n}));\nvar Print$1 = Print;\n\nconst Search = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"M11.435 10.063h-.728l-.251-.252a5.9 5.9 0 0 0 1.437-3.865 5.946 5.946 0 1 0-5.947 5.947 5.9 5.9 0 0 0 3.865-1.432l.252.251v.723L14.637 16 16 14.637zm-5.489 0a4.117 4.117 0 1 1 0-8.234 4.117 4.117 0 0 1 0 8.234\"\n}));\nvar Search$1 = Search;\n\nconst SearchSolid = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"M6 2c2.2 0 4 1.8 4 4s-1.8 4-4 4-4-1.8-4-4 1.8-4 4-4m0-2C2.7 0 0 2.7 0 6s2.7 6 6 6 6-2.7 6-6-2.7-6-6-6M16 13.8 13.8 16l-3.6-3.6 2.2-2.2z\"\n}), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"M16 13.8 13.8 16l-3.6-3.6 2.2-2.2z\"\n}));\nvar SearchSolid$1 = SearchSolid;\n\nconst Settings = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"-1 2 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M13.1 10c0-.3 0-.6-.1-1l2-1.7-1.7-2.7-2.3.8c-.6-.5-1.2-.9-1.9-1.1L8.6 2H5.4l-.5 2.2c-.7.3-1.4.7-1.9 1.2L.7 4.6-1 7.3.9 9c0 .3-.1.6-.1 1s0 .6.1 1L-1 12.7l1.7 2.7 2.3-.8c.6.5 1.2.9 1.9 1.1l.5 2.3h3.2l.5-2.2c.7-.3 1.3-.6 1.9-1.1l2.3.8 1.7-2.7-1.9-1.8zM7 12c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2\"\n}));\nvar Settings$1 = Settings;\n\nconst StarSolid = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 15\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"M7.998 0 5.5 5 0 5.75l4 4L3 15l4.998-2.5L13 15l-1-5.25 4-4.005L10.5 5z\"\n}));\nvar StarSolid$1 = StarSolid;\n\nconst Subtract = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8m4 7v2H4V7\"\n}));\nvar Subtract$1 = Subtract;\n\nconst SubtractOutline = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"g\", {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n stroke: \"none\",\n strokeWidth: 1\n}, /*#__PURE__*/reactExports.createElement(\"path\", {\n fillRule: \"nonzero\",\n d: \"M8 14.5a6.5 6.5 0 1 0 0-13 6.5 6.5 0 0 0 0 13M8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16\"\n}), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M4 7h8v2H4z\"\n})));\nvar SubtractOutline$1 = SubtractOutline;\n\nconst TikTok = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 448 512\",\n width: \"1em\",\n height: \"1em\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M448 209.91a210.06 210.06 0 0 1-122.77-39.25v178.72A162.55 162.55 0 1 1 185 188.31v89.89a74.62 74.62 0 1 0 52.23 71.18V0h88a121 121 0 0 0 1.86 22.17A122.18 122.18 0 0 0 381 102.39a121.43 121.43 0 0 0 67 20.14Z\"\n}));\nvar TikTok$1 = TikTok;\n\nconst Twitter = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 512 512\",\n width: \"1em\",\n height: \"1em\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253\"\n}));\nvar Twitter$1 = Twitter;\n\nconst Upload = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"m5 6.6 1.2 1.1L11 3v13h2V3l4.8 4.7L19 6.6 12 0z\"\n}), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"M22 14v6H2v-6H0v10h24V14z\"\n}));\nvar Upload$1 = Upload;\n\nconst User = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 448 512\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n d: \"M224 256a128 128 0 1 0 0-256 128 128 0 1 0 0 256m-45.7 48C79.8 304 0 383.8 0 482.3 0 498.7 13.3 512 29.7 512h388.6c16.4 0 29.7-13.3 29.7-29.7 0-98.5-79.8-178.3-178.3-178.3z\",\n opacity: 1\n}));\nvar User$1 = User;\n\nconst WarningAlt = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n xmlSpace: \"preserve\",\n width: \"1em\",\n height: \"1em\",\n x: 0,\n y: 0,\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M14.5 14h-13c-.2 0-.3-.1-.4-.2-.1-.2-.1-.3 0-.5l6.5-12c.1-.3.4-.4.6-.2.1 0 .2.1.2.2l6.5 12c.1.2.1.3 0 .5 0 .1-.2.2-.4.2M2.3 13h11.3L8 2.5z\"\n}), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M7.5 6h1v3.5h-1zM8 10.8c-.4 0-.8.3-.8.8s.3.8.8.8c.4 0 .8-.3.8-.8s-.4-.8-.8-.8\"\n}), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M0 0h16v16H0z\",\n style: {\n fill: \"none\"\n }\n}));\nvar WarningAlt$1 = WarningAlt;\n\nconst WarningFilled = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n xmlSpace: \"preserve\",\n width: \"1em\",\n height: \"1em\",\n x: 0,\n y: 0,\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M0 0h16v16H0z\",\n style: {\n fill: \"none\"\n }\n}), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M8 1C4.2 1 1 4.2 1 8s3.2 7 7 7 7-3.1 7-7-3.1-7-7-7m-.5 3h1v5h-1zm.5 8.2c-.4 0-.8-.4-.8-.8s.3-.8.8-.8c.4 0 .8.4.8.8s-.4.8-.8.8\"\n}));\nvar WarningFilled$1 = WarningFilled;\n\nconst WarningOutline = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"g\", {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n stroke: \"none\",\n strokeWidth: 1\n}, /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M7.25 6h1.5v5h-1.5z\"\n}), /*#__PURE__*/reactExports.createElement(\"circle\", {\n cx: 8,\n cy: 12.75,\n r: 1\n}), /*#__PURE__*/reactExports.createElement(\"path\", {\n fillRule: \"nonzero\",\n d: \"M.75 16a.75.75 0 0 1-.67-1.085L7.33.415a.75.75 0 0 1 1.34 0l7.25 14.5A.75.75 0 0 1 15.25 16zm1.214-1.5h12.072L8 2.427z\"\n})));\nvar WarningOutline$1 = WarningOutline;\n\nconst WarningSolid = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"nonzero\",\n stroke: \"none\",\n strokeWidth: 1,\n d: \"M.75 16a.75.75 0 0 1-.67-1.085L7.33.415a.75.75 0 0 1 1.34 0l7.25 14.5A.75.75 0 0 1 15.25 16zm6.5-10v5h1.5V6zM8 13.5A.75.75 0 1 0 8 12a.75.75 0 0 0 0 1.5\"\n}));\nvar WarningSolid$1 = WarningSolid;\n\nconst WfpLogoAcronym = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 57 20\",\n width: \"1em\",\n height: \"1em\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fillRule: \"evenodd\",\n d: \"M47.303 9.618h1.368q1.917 0 2.871-.76.951-.758.952-2.206 0-1.462-.798-2.159-.799-.699-2.502-.7h-1.891zm9.39-3.114q0 3.167-1.979 4.842-1.979 1.679-5.627 1.678h-1.784V20h-4.159V.386h6.264q3.568 0 5.426 1.538 1.86 1.535 1.859 4.58M33.185 20h-4.09V.386h11.241v3.407h-7.151v5.06h6.655v3.394h-6.655zm-11.613 0h-4.736L14.18 9.697q-.148-.55-.503-2.274-.356-1.725-.409-2.313-.081.725-.402 2.327a53 53 0 0 1-.497 2.288L9.726 20H5.005L0 .386h4.092l2.509 10.706q.657 2.965.952 5.139.08-.766.369-2.367.288-1.606.544-2.489L11.322.386h3.931l2.858 10.989q.188.737.47 2.253.28 1.516.429 2.603.133-1.048.428-2.61a48 48 0 0 1 .538-2.529L22.47.386h4.092z\"\n}));\nvar WfpLogoAcronym$1 = WfpLogoAcronym;\n\nconst WfpLogoEmblem = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 57 57\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fillRule: \"evenodd\",\n d: \"M35.956 3.715h.55q.772 0 1.156-.306.383-.305.384-.887 0-.588-.322-.87-.321-.281-1.007-.282h-.761zm3.78-1.253q0 1.275-.797 1.949-.796.676-2.264.675h-.72v2.809h-1.673V0h2.521q1.437 0 2.185.618.748.619.748 1.844m-9.589 5.433h-1.646V0h4.526v1.37h-2.88v2.037h2.68v1.367h-2.68zm-4.55 0h-1.905l-1.07-4.148a19 19 0 0 1-.202-.915q-.143-.694-.164-.932a12 12 0 0 1-.162.937q-.13.646-.2.921L20.83 7.895h-1.9L16.915 0h1.647l1.01 4.308q.264 1.195.383 2.07.03-.308.15-.954.114-.645.217-1.001L21.472 0h1.583l1.15 4.423q.075.296.19.906.112.612.172 1.048.054-.421.172-1.05.12-.627.216-1.019L25.96 0h1.647zm-4.093 27.461c-3.068 0-5.037.728-5.574.954-.033.014-.058-.031-.035-.056 3.373-3.504 7.319-3.311 8.268-3.311h11.223c.565 0 1.023.54 1.023 1.208 0 .665-.458 1.205-1.023 1.205zm2.527 3.102c-3.304 0-4.268-1.878-9.27-.639-.036.01-.059-.038-.03-.058 2.79-1.913 5.823-1.74 7.05-1.74h13.605c.565 0 1.023.54 1.023 1.206s-.458 1.206-1.023 1.206c0 0-8.738.025-11.355.025m.236 3.053c-3.394 0-3.665-2.503-8.694-3.067-.035-.004-.04-.057-.005-.065 4.132-1.033 5.67.72 8.081.72h11.737c.565 0 1.023.54 1.023 1.206s-.458 1.206-1.023 1.206zm-.737-9.233c-2.731 0-4.995 1.192-5.525 1.492-.03.017-.06-.019-.04-.046.443-.652 2.835-3.858 6.948-3.858h10.473c.565 0 1.023.54 1.023 1.207 0 .665-.458 1.205-1.023 1.205zm15.022-6.66a.76.76 0 0 0-.446-.207.74.74 0 0 0-.364.044 1.1 1.1 0 0 0 .103-.331.87.87 0 0 0-.085-.516c-.337-.74.629-2.221.507-2.287-.117-.065-.665 1.568-1.198 2.228a.93.93 0 0 0-.2.491.9.9 0 0 0 .086.516c.074.134.188.227.32.235a.3.3 0 0 0 .108-.006.3.3 0 0 0-.019.06.46.46 0 0 0 .143.39c.106.111.26.187.443.208a.77.77 0 0 0 .496-.094c.723-.395 2.222-.785 2.19-.924-.028-.138-1.49.72-2.084.192m1.106-1.08a.64.64 0 0 0-.41-.2.7.7 0 0 0-.27.043c.014-.047.033-.086.038-.132a.74.74 0 0 0-.102-.464c-.367-.681.59-1.967.466-2.03-.124-.065-.65 1.375-1.181 1.944a.7.7 0 0 0-.2.427.78.78 0 0 0 .101.468.5.5 0 0 0 .341.23.5.5 0 0 0 .18-.021c-.003.008-.011.018-.009.026a.53.53 0 0 0 .14.401.64.64 0 0 0 .407.195.62.62 0 0 0 .435-.117c.623-.45 2.047-.716 2.01-.86-.033-.14-1.397.614-1.946.09m.968-.999a.55.55 0 0 0-.39-.104.5.5 0 0 0-.198.05c.01-.03.029-.053.039-.083a.7.7 0 0 0-.024-.432c-.233-.668.797-1.656.696-1.737-.1-.075-.767 1.123-1.316 1.545a.65.65 0 0 0-.232.355.64.64 0 0 0 .021.43c.056.126.145.22.267.257.092.029.184.01.271-.027a.4.4 0 0 0-.024.17c.014.137.08.252.188.332a.57.57 0 0 0 .757-.067c.494-.5 1.723-.966 1.673-1.087-.053-.12-1.158.77-1.728.398m1.905-2.145c-.103-.152-.963.79-1.6.881a.67.67 0 0 0-.36.18.7.7 0 0 0-.223.362.38.38 0 0 0 .056.326c.071.087.18.124.301.11a.65.65 0 0 0 .367-.181.75.75 0 0 0 .215-.358c.193-.647 1.32-1.222 1.244-1.32m-17.79 1.277c-.026.093-.211.82-.211.82-.052.03-.274-.02-.333-.024-.424-.04-.803-.41-.64-.85.132-.36.406-.398.752-.414.143-.006.402.028.53.118 0 0-.05.166-.098.35m-.487 2.193q-.022.124-.04.249c-.264-.166-.42-.545-.293-.845.097-.227.339-.286.517-.296q-.097.444-.184.892m-.38 2.712c-.035.186-.286.21-.458.261-.499.15-.97.086-1.124-.51-.166-.638.317-.905.834-1.03.283-.067.543-.012.736.226.049.06.106.113.12.17 0 0-.077.707-.109.883m-1.571-3.14c.385-.092.783-.237 1.079.143.312.397.209 1.035-.293 1.204-.33.112-.728.208-1.01-.061-.37-.353-.343-1.154.224-1.286m-.377-2.067c.406-.099.825-.248 1.137.15.325.416.216 1.09-.309 1.266-.347.114-.768.216-1.063-.067-.388-.369-.36-1.21.235-1.35m-.377 4.469c-.106.372-.412.427-.734.506-.211-.26-.778-.915-.788-.993a.2.2 0 0 1 .012-.09c.026-.078.116-.152.182-.194.193-.126.604-.22.826-.174.398.085.608.572.502.945m-2.017-1.91c-.29-1.029 1.436-1.477 1.702-.468.275 1.038-1.467 1.478-1.702.469m-.253-2.054c-.296-1.023 1.438-1.472 1.705-.468.274 1.04-1.47 1.48-1.705.468m-.243-2.02c-.282-.953 1.346-1.376 1.594-.436.256.968-1.372 1.385-1.594.436m-.165 3.888c-.08.047-.111.072-.137.072l-.775-.842c.01-.024.249-.198.328-.244.644-.358 1.174.666.584 1.014m-1.47-1.898c-.383-.844 1.01-1.76 1.432-.85.388.84-1.005 1.771-1.432.85m1.17-2.674c.442.783-.886 1.657-1.266.814-.338-.726.843-1.573 1.267-.814m-1.112-1.825c.195-.173.422-.266.654-.155.372.18.382.737.058.96-.148.101-.398.227-.58.181-.399-.101-.475-.682-.132-.986m.05-1.678c.161-.109.375-.206.56-.13.335.137.323.625.051.82-.123.088-.347.198-.498.158-.34-.086-.425-.638-.113-.848m.892-2.39c.2-.108.488-.153.667.047a.47.47 0 0 1-.134.738c-.214.107-.502.147-.67-.05a.483.483 0 0 1 .137-.736m-.159 1.816c-.16-.598.847-.88 1.01-.273.183.592-.849.885-1.01.273m1.626 1.045c.234.646-.86 1.013-1.075.374-.218-.647.882-1.016 1.075-.374m.137-3.15c.209-.084.477-.173.71 0 .29.217.227.705-.106.857-.22.1-.499.166-.694-.007-.248-.222-.261-.709.09-.85m-.192 5.41c-.296.07-.606.187-.851-.067-.314-.323-.223-.89.201-1.044.275-.105.622-.163.847.066.287.295.256.935-.197 1.045m.005-3.302c-.19-.641.854-.97 1.055-.348.205.64-.876.978-1.055.348m1.75 1.175c.244.732-.993 1.122-1.22.401-.23-.736 1.015-1.128 1.22-.4m.065-1.96c.218-.059.449-.037.615.14.253.273.166.738-.21.808-.175.032-.447.019-.585-.102-.248-.219-.236-.735.18-.846m1.055 1.536c.398 0 .6.585.367.876-.14.177-.44.187-.646.156-.38-.06-.624-.548-.367-.88.155-.2.422-.152.646-.152m-1.912 2.41c-.247-.842 1.184-1.219 1.403-.383.222.85-1.216 1.225-1.403.383m.876 1.076c.39-.04.797-.13 1.036.278.25.433.063 1.034-.442 1.136-.334.069-.737.101-.975-.194-.311-.389-.187-1.167.38-1.22m1.985-1.874c.482.199.645.768.305 1.086-.182.166-.515.133-.74.088-.448-.088-.741-.762-.348-1.082.202-.164.563-.184.783-.092m.758 2.029c.304.372.19 1.028-.34 1.06-.277.017-.639-.016-.826-.243-.3-.363-.187-1.044.343-1.063.277-.01.636.02.823.246m2.05-6.7a.12.12 0 0 0-.134-.05c-.064.02-.106.09-.082.151 1.212 3.255-.335 4.857-.981 7.136-.776-1.851 1.794-3.593.47-6.967a.14.14 0 0 0-.101-.085c-.065-.01-.129.018-.14.106-.034.238-.19 2.107-1.707 3.203a3 3 0 0 0-.707-1.026c-.14-.63-.55-1.496-1.417-1.752-.13-.326-.39-.794-.891-1.045-.473-.235-1.02-.213-1.626.062-.734.085-1.238.371-1.504.849-.25.451-.206.943-.122 1.278-.617.66-.646 1.636-.63 2.02-.367.88-.161 1.909-.045 2.336-.438 1.198-.01 2.359.16 2.744q.002.154.011.303c-1.435-1.572-4.702-3.517-5.95-4.26a.15.15 0 0 0-.182.022.155.155 0 0 0-.008.219c2.784 2.715 5.268 6.065 7.653 13.016 1.189-1.238 3.34-2.864 6.401-2.864h3.58c-2.274-8.474 1.037-11.506-2.048-15.396m16.928 4.381c-.655-.17-4.834-.91-9.518 7.705.683-3.209 2.76-7.09 3.33-8.218v-.008a.155.155 0 0 0-.042-.192.135.135 0 0 0-.19.035c-3.096 5.161-4.183 8.134-4.823 11.693h1.938c.33-3.43 4.663-11.512 9.28-10.91h.007c.026.005.049-.017.052-.04a.048.048 0 0 0-.034-.065M34.06 46.555l-1.047-4.38h-1.784c.283 1.112.687 2.243 1.21 3.233.033.059.096.095.16.084.084-.011.15-.1.134-.191-.121-.926-.266-1.821-.403-2.714.377 1.403.887 2.773 1.573 4.035.018.04.058.058.094.045.05-.01.077-.064.063-.112m1.803-1.988c-.182-.732-.372-1.63-.536-2.391h-.677c.263.812.62 1.718.936 2.493.032.075.103.112.172.093a.16.16 0 0 0 .105-.195m.226 2.575-.005-.01c-.219-.613-.521-1.16-.762-1.748a23 23 0 0 1-.71-1.767c-.172-.453-.354-.97-.493-1.441h-.655c.185.548.425 1.138.65 1.667.492 1.194 1.062 2.365 1.788 3.411a.1.1 0 0 0 .124.036c.058-.023.084-.089.063-.148m.98-21.014c-.05-.075-.171-.091-.23-.03a13.4 13.4 0 0 0-2.158 3.086h.707c.353-.83 1.15-2.298 1.663-2.827l.005-.005a.18.18 0 0 0 .013-.224m-5.382-6.078c.653-1.074 1.624-1.897 2.448-2.89a.1.1 0 0 0-.008-.129.084.084 0 0 0-.119-.003 12 12 0 0 1-.583.575c-.087-.043-.309.042-.533.218-.177.14-.304.295-.349.406-.113-.026-.327.108-.519.353-.158.207-.25.423-.249.556-.12.01-.298.166-.447.412-.099.163-.162.32-.183.451a1.2 1.2 0 0 0-.311.355c-.135.225-.203.452-.182.583q-.049.083-.09.166l.016-.134c.193-1.52.472-3.027.897-4.48.427-1.449.94-2.91 1.818-4.082l.005-.006a.17.17 0 0 0-.016-.211.14.14 0 0 0-.206-.003 6.7 6.7 0 0 0-.788 1.056c-.1-.054-.312.144-.473.454-.147.28-.2.539-.145.638 0 0-.002.009-.008.005-.105-.045-.3.19-.419.505-.116.297-.138.57-.058.66q-.006.008-.008.014c-.119-.043-.312.227-.43.61-.098.323-.108.602-.038.715.006.005 0 .02-.005.016-.121-.043-.305.235-.414.614-.108.366-.1.69.003.753-.119-.013-.285.265-.372.642-.08.326-.071.606.005.719-.117.034-.245.306-.312.66-.063.344-.03.63.054.721-.109.056-.22.336-.26.684-.039.345.011.627.1.719-.089.1-.176.342-.212.63-.037.275-.014.513.039.647-.098.082-.172.36-.174.695-.008.266.031.493.1.624-.053.134-.09.329-.09.545-.005.281.04.52.11.646-.02.987-.006 2.036.046 3.025h2.13c.015-.77.065-1.608.142-2.37.151-1.356.374-2.735 1.053-3.895l.005-.008a.11.11 0 0 0-.013-.128c-.04-.035-.096-.035-.132.008-.92 1.069-1.325 2.52-1.562 3.911a21 21 0 0 0-.108.82c.057-1.116.16-2.228.416-3.286.294-1.288.879-2.514 1.995-3.2a.1.1 0 0 0 .04-.113.093.093 0 0 0-.111-.066c-.07.02-.137.059-.205.088-.075-.091-.346-.024-.626.155-.266.173-.443.387-.425.505 0 .005-.013.013-.013.002q-.002-.02-.013-.034c-.1-.083-.37.104-.596.422-.23.318-.32.65-.223.735.006.002.003.01-.002.01-.118-.047-.316.222-.44.6-.09.263-.112.507-.08.646q-.002.009-.004.01c-.093.304-.17.612-.24.924.025-.44.065-.884.128-1.322.188-1.261.568-2.495 1.244-3.548m6.699-3.516a.75.75 0 0 0-.489-.038.8.8 0 0 0-.327.171.9.9 0 0 0-.018-.347.84.84 0 0 0-.253-.451c-.576-.574-.18-2.304-.315-2.325-.132-.018-.084 1.705-.356 2.512a.9.9 0 0 0-.018.532c.047.19.142.35.26.453.114.1.252.145.38.105a.2.2 0 0 0 .098-.043q0 .033.003.064c.03.142.13.251.267.315.14.067.311.083.49.038a.8.8 0 0 0 .43-.262c.541-.628 1.813-1.523 1.737-1.643-.076-.117-1.15 1.202-1.89.92m2.458-2.177c-.081-.118-1.1 1.07-1.794.775a.64.64 0 0 0-.453-.043.7.7 0 0 0-.238.133c-.002-.048 0-.09-.01-.133a.7.7 0 0 0-.256-.4c-.581-.508-.125-2.053-.261-2.069-.14-.016-.138 1.52-.439 2.242a.7.7 0 0 0-.037.47c.042.17.138.313.257.403a.49.49 0 0 0 .396.094.5.5 0 0 0 .16-.083q-.002.013 0 .026a.53.53 0 0 0 .272.329.65.65 0 0 0 .815-.224c.43-.644 1.67-1.397 1.588-1.52m.251-1.488c-.09-.094-.82 1.13-1.483.983a.55.55 0 0 0-.4.04.6.6 0 0 0-.17.118c0-.03.008-.06.008-.09a.68.68 0 0 0-.172-.397c-.445-.545.175-1.835.057-1.875-.122-.035-.333 1.322-.702 1.913a.63.63 0 0 0-.096.414c.01.157.077.3.17.398a.43.43 0 0 0 .337.144.37.37 0 0 0 .245-.12q-.002.08.038.169a.44.44 0 0 0 .287.242c.124.04.272.03.403-.034a.6.6 0 0 0 .286-.294c.29-.644 1.279-1.518 1.192-1.611m-.438-1.7c-.15-.106-.627 1.082-1.195 1.392a.7.7 0 0 0-.277.296.72.72 0 0 0-.08.418.37.37 0 0 0 .165.286.32.32 0 0 0 .316-.003.749.749 0 0 0 .36-.714c-.041-.672.817-1.607.711-1.675M30.243 42.176h-5.976a6 6 0 0 1-1.11-.092c.983 1.46 2.521 2.566 4.08 3.308.24 1.33.542 2.562.65 2.659.11.095 1.641-.345 1.688-.487.044-.14-.625-2.42-.625-2.42.804-1.382 1.053-2.196 1.293-2.968M45.278 52.4c-1.51.596-3.478.647-5.085.22-3.681-1.147-7.768-3.319-11.692-1.516-3.924-1.803-8.01.37-11.692 1.515-1.606.428-3.575.377-5.084-.219a.038.038 0 0 0-.037.067c2.171 1.68 5.214 2.453 7.953 1.463 2.63-.819 4.855-3.605 7.97-2.417-2.466.965-4.772 2.744-6.554 4.424L22.353 57c1.618-1.883 3.438-3.766 5.499-4.913.282-.165.451-.232.65-.243.197.011.365.078.646.243 2.063 1.147 3.884 3.03 5.502 4.913l1.295-1.063c-1.781-1.68-4.087-3.46-6.555-4.424 3.117-1.188 5.341 1.598 7.972 2.417 2.739.99 5.781.217 7.952-1.463.034-.03.006-.083-.036-.067m-24.26-2.538c-3.847-.933-4.9-4.54-8.117-6.105-.034-.018-.071.023-.05.054 1.014 1.667 1.562 4.22 4.483 5.795.024.012.011.05-.015.042-4.19-.806-5.95.315-10.342-1.67-.036-.016-.076.024-.052.06 1.444 2.094 4.868 3.526 9.56 3.13 1.689-.143 2.912-.854 4.533-1.233.04-.011.04-.066 0-.073M12.96 47.65c-1.462-1.915-1.045-6.004-4.346-9.747-.027-.03-.074-.006-.066.031.63 2.757.443 5.889 2.169 8.183.016.024-.008.048-.032.032-3.404-2.68-6.903-3.486-8.46-5.655-.023-.03-.07-.013-.066.024.386 2.808 5.78 7.184 10.771 7.192.03 0 .049-.034.03-.06m-5.11-5.091c-1.568-2.907.305-7.342-1.474-11.651-.018-.045-.087-.034-.087.014-.053 2.353-1.514 5.867-.63 8.52.01.023-.022.036-.035.015C3.373 36.167 1.587 35.481.1 32.47c-.02-.045-.09-.033-.092.016-.095 2.046.81 3.714 1.83 5.263A17.5 17.5 0 0 0 7.8 42.611c.034.016.065-.019.05-.053M6.784 24.856c-.003-.048-.066-.064-.09-.022-1.195 2.237-3.324 4.016-3.392 6.969-.003.029-.036.031-.04.005-.389-2.28-2.322-4.833-2.407-8.133 0-.05-.071-.063-.09-.015-1.59 4.29.698 8.358 3.133 11.72.026.033.078.013.078-.033-.1-3.561 2.987-6.22 2.808-10.49m1.52-5.552c-1.13 1.569-3.67 2.678-4.6 4.94-.012.032-.052.024-.047-.013.37-2.536-.609-5.48.31-8.848.012-.048-.048-.08-.077-.043-1.388 1.707-1.858 3.708-1.935 5.87-.094 2.655.84 4.591 1.301 6.392.01.043.067.04.077-.003.665-2.36 4.002-3.782 5.048-8.256.013-.049-.048-.079-.076-.039m3.064-5.273c-1.858 1.456-4.694 2.858-5.305 3.87-.01.022-.04.006-.036-.015l.689-3.305c.309-1.403.575-2.746 1.35-4.002.024-.037-.02-.08-.055-.053-3.535 2.8-3.018 6.85-3.174 10.165-.002.035.04.051.063.027 2.082-2.257 5.476-3.572 6.525-6.642.013-.037-.026-.07-.057-.045M14 8.955c-3.124.099-5.419 2.73-6.403 6.08-.006.02.02.035.036.024 4.304-3.155 4.064-4.507 6.393-6.008.043-.027.025-.096-.026-.096m36.022 39.023c-4.387 1.985-6.15.864-10.34 1.67-.026.008-.04-.03-.015-.042 2.92-1.574 3.47-4.128 4.483-5.795.02-.031-.017-.072-.05-.054-3.215 1.566-4.267 5.172-8.117 6.105-.04.007-.04.062 0 .073 1.62.379 2.844 1.09 4.533 1.233 4.692.396 8.119-1.036 9.56-3.13.024-.036-.016-.076-.054-.06m4.753-7.485c-1.556 2.169-5.055 2.976-8.46 5.655-.02.016-.047-.008-.029-.032 1.724-2.294 1.536-5.426 2.167-8.183.008-.037-.04-.06-.066-.031-3.298 3.743-2.884 7.832-4.343 9.747-.019.026-.003.06.028.06 4.993-.008 10.384-4.384 10.768-7.192.006-.037-.042-.053-.065-.024m2.22-8.007c-.003-.049-.072-.06-.093-.016-1.488 3.01-3.275 3.697-5.522 6.986-.017.021-.045.008-.038-.016.884-2.652-.575-6.166-.63-8.519 0-.048-.07-.06-.087-.014-1.779 4.31.094 8.744-1.47 11.651-.018.034.013.07.047.053a17.5 17.5 0 0 0 5.961-4.862c1.02-1.55 1.927-3.217 1.831-5.263m-.761-8.826c-.018-.048-.09-.035-.09.015-.084 3.3-2.018 5.854-2.405 8.133-.007.026-.038.024-.038-.005-.068-2.953-2.2-4.732-3.396-6.969a.046.046 0 0 0-.086.022c-.18 4.271 2.904 6.93 2.804 10.491 0 .046.055.066.082.032 2.432-3.361 4.72-7.429 3.129-11.72m-1.19-2.45c-.077-2.162-.545-4.163-1.934-5.87-.029-.037-.087-.005-.076.043.918 3.368-.062 6.312.311 8.848.005.037-.037.045-.05.013-.929-2.262-3.47-3.371-4.6-4.94-.026-.04-.086-.01-.076.039 1.045 4.474 4.383 5.895 5.047 8.256.011.043.066.046.078.003.461-1.8 1.395-3.737 1.3-6.392m-6.055-10.684c-.035-.027-.08.016-.056.053.776 1.256 1.042 2.6 1.35 4.002l.69 3.305c.006.02-.027.037-.037.016-.61-1.013-3.443-2.415-5.304-3.871-.03-.024-.072.008-.058.045 1.05 3.07 4.443 4.385 6.526 6.642.023.024.065.008.063-.027-.156-3.315.361-7.365-3.174-10.165M43 8.956c-.05 0-.067.068-.027.095 2.33 1.501 2.09 2.853 6.394 6.008.018.011.042-.005.036-.024-.984-3.35-3.28-5.981-6.403-6.08\"\n}));\nvar WfpLogoEmblem$1 = WfpLogoEmblem;\n\nconst WfpLogoExtendedEn = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 223 58\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fillRule: \"evenodd\",\n d: \"M35.934 4.664h.548q.767 0 1.149-.304.381-.303.381-.883 0-.585-.319-.865-.32-.28-1.002-.28h-.757zm3.76-1.246q0 1.268-.793 1.938-.792.673-2.253.672h-.714v2.793h-1.665V.969h2.508q1.428 0 2.172.615t.745 1.834m-9.537 5.403h-1.638V.969h4.501v1.363h-2.863v2.026h2.664v1.359h-2.664zm-4.525 0h-1.896l-1.063-4.125q-.06-.22-.202-.91t-.164-.927q-.032.291-.161.932-.129.643-.198.916l-1.059 4.114h-1.89L16.995.969h1.638l1.005 4.285q.262 1.188.381 2.058.033-.306.148-.948.115-.644.217-.996L21.529.969h1.573l1.144 4.399q.076.295.188.902.113.607.172 1.042.054-.42.172-1.045t.215-1.013l.999-4.285h1.638zm-4.073 27.313c-3.051 0-5.009.724-5.544.949-.031.014-.057-.031-.033-.056 3.353-3.485 7.278-3.293 8.223-3.293h11.161c.563 0 1.018.537 1.018 1.201 0 .662-.455 1.199-1.018 1.199zm2.515 3.085c-3.288 0-4.246-1.868-9.222-.635-.034.009-.057-.038-.028-.058 2.774-1.903 5.791-1.73 7.011-1.73h13.531c.563 0 1.018.537 1.018 1.199s-.455 1.199-1.018 1.199c0 0-8.689.025-11.292.025m.233 3.037c-3.374 0-3.645-2.49-8.646-3.051-.035-.004-.039-.056-.005-.064 4.109-1.028 5.638.715 8.037.715h11.673c.563 0 1.018.537 1.018 1.2s-.455 1.2-1.018 1.2zm-.732-9.183c-2.717 0-4.968 1.185-5.496 1.484-.028.016-.058-.019-.039-.046.44-.649 2.82-3.837 6.91-3.837h10.416c.563 0 1.018.537 1.018 1.2s-.455 1.199-1.018 1.199zm14.941-6.625a.76.76 0 0 0-.444-.205.74.74 0 0 0-.362.043c.047-.099.087-.205.102-.33a.84.84 0 0 0-.084-.512c-.336-.736.625-2.209.504-2.275-.115-.064-.661 1.56-1.191 2.216a.93.93 0 0 0-.2.489.9.9 0 0 0 .087.513c.073.132.186.226.317.234a.3.3 0 0 0 .108-.006.2.2 0 0 0-.018.059.46.46 0 0 0 .141.388.72.72 0 0 0 .441.207.77.77 0 0 0 .494-.093c.719-.393 2.209-.781 2.178-.919-.029-.138-1.483.715-2.073.191m1.1-1.074a.64.64 0 0 0-.407-.199.7.7 0 0 0-.268.043c.013-.046.031-.085.037-.131a.73.73 0 0 0-.103-.462c-.364-.677.588-1.956.465-2.019s-.646 1.368-1.176 1.934a.7.7 0 0 0-.197.425.77.77 0 0 0 .1.465c.084.123.199.21.338.229a.5.5 0 0 0 .179-.021c-.003.007-.01.018-.008.026a.52.52 0 0 0 .139.398c.1.107.244.181.404.195a.63.63 0 0 0 .434-.117c.619-.447 2.036-.712 1.999-.856-.034-.138-1.391.611-1.936.09m.962-.993a.55.55 0 0 0-.388-.104.5.5 0 0 0-.197.051c.011-.03.029-.054.04-.083a.7.7 0 0 0-.024-.43c-.231-.665.792-1.648.693-1.728-.1-.074-.764 1.117-1.31 1.536a.65.65 0 0 0-.231.354.64.64 0 0 0 .021.428.44.44 0 0 0 .265.255c.092.029.184.01.27-.027a.4.4 0 0 0-.023.17c.013.136.079.25.186.33a.57.57 0 0 0 .753-.067c.491-.497 1.714-.962 1.665-1.081-.053-.12-1.153.765-1.72.396m1.895-2.134c-.102-.151-.958.787-1.59.877a.67.67 0 0 0-.36.178.7.7 0 0 0-.22.361.38.38 0 0 0 .055.324.33.33 0 0 0 .299.109.64.64 0 0 0 .365-.181.74.74 0 0 0 .215-.356c.192-.643 1.313-1.214 1.236-1.312m-17.694 1.27c-.026.093-.209.816-.209.816-.053.029-.273-.019-.331-.024-.423-.04-.8-.407-.638-.845.133-.358.404-.396.748-.412.143-.006.4.028.529.117 0 0-.051.165-.099.348m-.485 2.182-.039.247c-.263-.165-.418-.542-.292-.84.097-.226.338-.285.515-.295a50 50 0 0 0-.184.888m-.378 2.696c-.033.185-.283.21-.454.261-.496.149-.966.085-1.118-.508-.165-.634.315-.901.83-1.025.28-.066.54-.011.731.226.049.059.105.112.119.168 0 0-.077.704-.108.878m-1.561-3.122c.382-.092.779-.236 1.073.141.309.396.207 1.031-.292 1.199-.327.111-.724.207-1.004-.061-.368-.351-.342-1.148.223-1.279m-.376-2.056c.404-.098.821-.247 1.132.149.322.414.214 1.084-.308 1.259-.346.114-.763.215-1.057-.067-.386-.366-.357-1.203.233-1.341m-.375 4.445c-.105.37-.409.425-.73.502-.21-.257-.773-.909-.783-.986a.2.2 0 0 1 .012-.09c.026-.077.116-.151.181-.194.191-.125.601-.217.821-.172.397.085.604.568.499.94m-2.005-1.899c-.289-1.024 1.428-1.47 1.693-.466.273 1.032-1.459 1.47-1.693.466m-.252-2.044c-.294-1.017 1.43-1.464 1.695-.465.273 1.033-1.462 1.472-1.695.465m-.241-2.009c-.281-.948 1.338-1.368 1.585-.433.254.962-1.365 1.377-1.585.433m-.166 3.867c-.08.047-.109.072-.136.072l-.77-.838c.009-.024.247-.196.326-.242.641-.356 1.168.662.58 1.008m-1.462-1.887c-.38-.84 1.006-1.751 1.426-.845.385.834-1 1.761-1.426.845m1.166-2.66c.438.779-.882 1.648-1.26.81-.336-.722.837-1.565 1.26-.81m-1.108-1.815c.195-.172.42-.265.651-.154.37.178.381.733.058.954-.147.101-.397.226-.578.181-.396-.101-.472-.68-.131-.981m.05-1.669c.16-.108.373-.205.556-.13.335.137.323.622.053.816-.124.088-.347.197-.496.157-.339-.085-.422-.634-.113-.843m.887-2.378c.199-.107.486-.152.664.048a.468.468 0 0 1-.134.734c-.212.106-.498.146-.666-.051a.48.48 0 0 1 .136-.731m-.157 1.807c-.161-.595.842-.876 1.005-.271.181.587-.845.88-1.005.271m1.616 1.039c.234.643-.855 1.007-1.068.372-.218-.643.877-1.01 1.068-.372m.137-3.133c.208-.083.474-.173.706 0 .288.216.225.702-.105.853-.218.099-.496.165-.691-.008-.246-.22-.26-.705.09-.845m-.192 5.381c-.294.069-.601.186-.845-.066-.312-.322-.223-.885.2-1.039.273-.104.619-.162.842.066.286.293.254.93-.197 1.039m.006-3.284c-.189-.638.85-.965 1.049-.346.205.635-.871.973-1.049.346m1.739 1.169c.244.728-.987 1.116-1.212.399-.229-.734 1.01-1.122 1.212-.399m.066-1.95c.217-.058.446-.037.612.14.251.271.165.734-.208.803-.176.032-.446.019-.583-.101-.246-.218-.234-.731.179-.842m1.049 1.528c.397 0 .596.582.366.871-.139.175-.439.186-.643.154-.378-.058-.62-.545-.365-.874.155-.199.419-.151.642-.151m-1.902 2.396c-.244-.837 1.178-1.211 1.396-.38.221.845-1.21 1.217-1.396.38m.871 1.071c.389-.04.793-.13 1.031.277.25.43.063 1.028-.44 1.129-.331.069-.732.101-.969-.192-.309-.387-.186-1.161.378-1.214m1.975-1.864c.48.198.642.764.303 1.08-.181.165-.512.133-.734.088-.447-.088-.738-.758-.347-1.076.201-.163.56-.183.778-.092m.755 2.018c.302.37.189 1.023-.339 1.055-.275.016-.635-.016-.821-.242-.299-.361-.186-1.039.341-1.057.275-.011.632.018.819.244m2.039-6.664a.12.12 0 0 0-.134-.05c-.063.021-.105.09-.082.151 1.205 3.237-.333 4.831-.976 7.097-.771-1.841 1.785-3.573.468-6.929-.019-.043-.053-.078-.1-.085-.066-.009-.129.018-.139.106-.034.236-.189 2.096-1.698 3.186a3 3 0 0 0-.703-1.021c-.14-.627-.549-1.488-1.41-1.742-.128-.325-.388-.79-.887-1.04-.47-.234-1.013-.213-1.617.061-.729.085-1.23.37-1.496.845-.249.449-.204.938-.12 1.271-.614.656-.643 1.628-.628 2.009-.364.876-.159 1.899-.044 2.324-.436 1.191-.011 2.346.16 2.729q.001.154.01.3c-1.427-1.562-4.676-3.497-5.918-4.235a.15.15 0 0 0-.181.021.155.155 0 0 0-.008.218c2.77 2.7 5.239 6.032 7.611 12.946 1.184-1.231 3.323-2.849 6.367-2.849h3.561c-2.262-8.428 1.032-11.444-2.036-15.313M43.31 19.04c-.651-.17-4.807-.906-9.466 7.663.68-3.191 2.745-7.052 3.312-8.173v-.008a.155.155 0 0 0-.042-.192.135.135 0 0 0-.189.035c-3.078 5.133-4.16 8.091-4.797 11.63h1.929c.328-3.412 4.637-11.449 9.23-10.852h.005c.026.006.05-.016.053-.039.01-.03-.008-.059-.035-.064m-9.261 28.232-1.042-4.355h-1.774c.281 1.105.682 2.229 1.202 3.215a.16.16 0 0 0 .16.083c.084-.011.149-.099.134-.19-.121-.922-.265-1.811-.402-2.699.375 1.395.882 2.758 1.564 4.013.019.039.058.057.095.045.05-.011.076-.064.063-.112m1.793-1.977c-.182-.728-.371-1.621-.533-2.378h-.675c.263.808.617 1.709.932 2.479.031.075.102.112.171.093.081-.024.125-.111.105-.194m.225 2.561-.005-.01c-.218-.609-.52-1.154-.759-1.738a24 24 0 0 1-.706-1.758c-.17-.45-.351-.965-.49-1.433h-.651c.183.545.422 1.132.645 1.658.491 1.188 1.058 2.352 1.78 3.393a.1.1 0 0 0 .123.035c.058-.022.084-.088.063-.147m.974-20.9c-.05-.075-.171-.091-.229-.03a13.3 13.3 0 0 0-2.146 3.069h.703c.352-.826 1.144-2.285 1.653-2.811l.006-.005c.052-.059.063-.157.013-.223m-5.354-6.045c.651-1.069 1.616-1.887 2.435-2.875.029-.038.027-.096-.008-.128a.08.08 0 0 0-.118-.003c-.186.199-.38.386-.58.571-.086-.042-.306.043-.53.218-.175.139-.301.293-.346.404-.113-.026-.325.106-.517.351-.157.205-.249.42-.247.553-.121.01-.296.164-.446.409-.097.162-.16.319-.181.449a1.2 1.2 0 0 0-.31.353c-.134.224-.202.449-.181.579q-.048.084-.089.165l.016-.132c.191-1.513.469-3.011.892-4.456.425-1.441.934-2.894 1.808-4.061l.005-.005a.166.166 0 0 0-.015-.21.14.14 0 0 0-.205-.003 6.6 6.6 0 0 0-.785 1.05c-.099-.053-.309.144-.469.452-.147.278-.2.536-.145.635 0 0-.002.008-.008.005-.105-.045-.299.189-.417.502-.115.295-.136.566-.058.657-.005.005-.005.008-.008.013-.118-.043-.309.226-.427.606-.098.321-.108.6-.037.712.005.005 0 .019-.005.016-.121-.043-.305.234-.412.611-.108.364-.1.686.002.749-.118-.013-.283.263-.37.638-.079.324-.07.603.005.715-.115.034-.243.305-.309.656-.063.343-.032.627.052.718-.108.055-.217.334-.257.68-.039.343.01.624.1.715-.09.1-.176.339-.213.627-.036.273-.013.51.039.643-.096.082-.17.359-.173.691-.007.265.032.491.1.621a1.5 1.5 0 0 0-.089.542c-.006.279.039.518.11.643-.021.981-.008 2.025.045 3.008h2.118c.015-.765.065-1.6.141-2.357.15-1.35.373-2.721 1.048-3.874l.005-.008a.11.11 0 0 0-.014-.127c-.039-.035-.094-.035-.131.008-.916 1.063-1.317 2.506-1.553 3.89q-.061.407-.108.816c.058-1.111.16-2.217.415-3.269.291-1.281.874-2.5 1.984-3.183a.1.1 0 0 0 .039-.112.09.09 0 0 0-.11-.066c-.071.021-.137.058-.205.088-.073-.091-.343-.024-.622.153-.265.173-.44.386-.423.503 0 .005-.012.013-.012.002q-.003-.02-.013-.034c-.1-.082-.368.104-.594.42-.228.316-.317.646-.22.731.005.002.003.01-.003.01-.118-.048-.315.221-.438.596-.089.262-.11.504-.079.643 0 .004-.005.01-.005.01-.092.303-.168.609-.239.919.026-.438.066-.879.129-1.315.186-1.254.564-2.482 1.236-3.528m6.663-3.498a.75.75 0 0 0-.485-.037.8.8 0 0 0-.326.17.9.9 0 0 0-.018-.345.84.84 0 0 0-.252-.449c-.572-.571-.178-2.291-.312-2.312-.132-.018-.084 1.696-.355 2.498a.93.93 0 0 0-.018.529.9.9 0 0 0 .26.451c.113.099.249.144.378.104a.2.2 0 0 0 .097-.043q0 .033.002.064c.029.141.129.25.266.314a.72.72 0 0 0 .488.037.8.8 0 0 0 .428-.26c.538-.625 1.802-1.515 1.726-1.634-.076-.117-1.144 1.195-1.879.913m2.446-2.165c-.081-.117-1.094 1.065-1.785.77a.63.63 0 0 0-.451-.042.7.7 0 0 0-.236.133c-.003-.048 0-.091-.01-.133a.7.7 0 0 0-.255-.398c-.577-.505-.123-2.041-.26-2.057-.139-.016-.136 1.512-.435 2.229a.68.68 0 0 0-.037.468.72.72 0 0 0 .254.401.49.49 0 0 0 .394.093.5.5 0 0 0 .16-.082q-.002.013 0 .026a.53.53 0 0 0 .27.327.64.64 0 0 0 .446.037.63.63 0 0 0 .366-.26c.427-.64 1.661-1.39 1.579-1.512m.25-1.48c-.09-.093-.817 1.124-1.475.978a.55.55 0 0 0-.399.04.5.5 0 0 0-.168.117c0-.03.007-.059.007-.091a.67.67 0 0 0-.17-.393c-.443-.542.173-1.825.055-1.865-.12-.035-.33 1.315-.698 1.902a.63.63 0 0 0-.094.412c.01.157.076.298.168.396.094.098.21.152.336.144a.37.37 0 0 0 .243-.12q-.001.081.037.167a.44.44 0 0 0 .287.242c.123.04.27.029.401-.035a.6.6 0 0 0 .283-.292c.289-.64 1.273-1.509 1.187-1.602m-.436-1.69c-.15-.106-.625 1.076-1.189 1.384a.7.7 0 0 0-.275.295.7.7 0 0 0-.079.415c.013.125.07.231.163.284a.32.32 0 0 0 .314-.002.66.66 0 0 0 .281-.298.75.75 0 0 0 .079-.412c-.042-.669.811-1.6.706-1.666M30.251 42.917h-5.944c-.404 0-.769-.032-1.105-.093q.004.001.003.002c.976 1.451 2.506 2.552 4.057 3.29.239 1.323.538 2.548.646 2.644.11.095 1.632-.343 1.68-.484.044-.14-.622-2.407-.622-2.407.8-1.374 1.046-2.185 1.285-2.952m14.954 10.169c-1.501.593-3.459.642-5.057.218-3.661-1.14-7.726-3.3-11.629-1.507-3.902-1.793-7.968.367-11.629 1.507-1.598.424-3.556.375-5.057-.218a.038.038 0 0 0-.036.066c2.159 1.671 5.186 2.44 7.91 1.456 2.616-.815 4.828-3.587 7.928-2.404-2.454.959-4.748 2.729-6.519 4.4l1.289 1.057c1.608-1.873 3.419-3.746 5.469-4.886.28-.165.449-.231.645-.242.197.011.365.077.643.242 2.053 1.14 3.864 3.013 5.472 4.886l1.289-1.057c-1.772-1.671-4.065-3.441-6.519-4.4 3.099-1.183 5.312 1.589 7.928 2.404 2.724.984 5.75.215 7.91-1.456.034-.029.005-.082-.037-.066m-24.129-2.525c-3.826-.927-4.873-4.514-8.072-6.071-.035-.018-.071.022-.05.053 1.008 1.658 1.554 4.198 4.459 5.764.023.012.01.05-.016.042-4.167-.802-5.918.313-10.285-1.661-.037-.016-.076.024-.053.059 1.436 2.083 4.843 3.507 9.509 3.114 1.679-.143 2.897-.85 4.508-1.227.04-.011.04-.065 0-.073m-8.014-2.2c-1.454-1.905-1.04-5.972-4.323-9.695-.026-.029-.073-.006-.065.031.627 2.742.441 5.857 2.157 8.139.015.024-.008.048-.031.032-3.386-2.665-6.866-3.468-8.415-5.625-.023-.029-.07-.014-.065.024.383 2.792 5.747 7.145 10.712 7.153.03 0 .048-.034.03-.059m-5.084-5.064c-1.559-2.891.305-7.302-1.464-11.588-.019-.045-.087-.034-.087.014-.052 2.34-1.506 5.835-.627 8.473.01.024-.021.037-.034.016C3.527 36.941 1.75 36.258.27 33.264c-.021-.045-.089-.033-.092.015C.084 35.314.984 36.973 2 38.514a17.4 17.4 0 0 0 5.928 4.836c.034.016.066-.019.05-.053M6.921 25.691c-.003-.048-.066-.064-.09-.022-1.189 2.224-3.306 3.994-3.375 6.931-.003.029-.034.031-.039.004-.386-2.266-2.31-4.806-2.394-8.088 0-.05-.071-.063-.089-.016-1.582 4.268.693 8.314 3.116 11.657.025.034.078.014.078-.032-.099-3.542 2.971-6.186 2.793-10.434m1.511-5.522c-1.123 1.56-3.651 2.663-4.574 4.913-.014.032-.053.024-.047-.013.367-2.522-.607-5.45.306-8.8.014-.048-.046-.08-.076-.043-1.38 1.698-1.847 3.688-1.923 5.838-.095 2.641.834 4.567 1.294 6.358.01.043.065.04.075-.003.662-2.348 3.982-3.762 5.021-8.213.013-.047-.047-.077-.076-.037m3.047-5.245c-1.847 1.448-4.669 2.843-5.275 3.85-.01.021-.042.005-.037-.016l.685-3.287c.307-1.395.572-2.731 1.344-3.98.023-.037-.021-.08-.055-.053-3.517 2.785-3.003 6.812-3.157 10.11-.003.035.039.051.063.027 2.07-2.246 5.445-3.553 6.49-6.606.013-.037-.027-.069-.058-.045m2.616-5.049c-3.107.099-5.39 2.716-6.369 6.048-.005.019.021.035.037.024 4.28-3.138 4.041-4.483 6.359-5.976.042-.027.023-.096-.027-.096m35.829 38.813c-4.365 1.974-6.118.859-10.285 1.661-.027.008-.04-.03-.016-.042 2.906-1.566 3.452-4.106 4.459-5.764.021-.031-.016-.071-.05-.053-3.196 1.557-4.244 5.144-8.072 6.071-.04.008-.04.062 0 .073 1.611.377 2.829 1.084 4.508 1.227 4.666.393 8.076-1.031 9.508-3.114.024-.035-.015-.075-.052-.059m4.727-7.445c-1.549 2.157-5.029 2.96-8.414 5.625-.021.016-.048-.008-.029-.032 1.714-2.282 1.527-5.397 2.155-8.139.007-.037-.04-.06-.066-.031-3.281 3.723-2.869 7.79-4.32 9.695-.018.025-.003.059.029.059 4.965-.008 10.327-4.361 10.71-7.153.005-.038-.042-.053-.065-.024m2.207-7.964c-.003-.048-.071-.06-.092-.015-1.481 2.994-3.257 3.677-5.493 6.948-.016.021-.045.008-.037-.016.879-2.638-.572-6.133-.627-8.473 0-.048-.068-.059-.087-.014-1.768 4.286.095 8.697-1.462 11.588-.018.034.014.069.048.053a17.4 17.4 0 0 0 5.928-4.836c1.016-1.541 1.916-3.2 1.822-5.235m-.756-8.779c-.019-.047-.09-.034-.09.016-.084 3.282-2.007 5.822-2.393 8.088-.005.027-.037.025-.037-.004-.068-2.937-2.188-4.707-3.377-6.931-.024-.042-.087-.026-.087.022-.178 4.248 2.89 6.892 2.79 10.434 0 .046.055.066.081.032 2.42-3.343 4.695-7.389 3.113-11.657m-1.184-2.436c-.076-2.15-.543-4.14-1.924-5.838-.028-.037-.086-.005-.076.043.914 3.35-.06 6.278.31 8.8.005.037-.037.045-.05.013-.923-2.25-3.451-3.353-4.574-4.913-.027-.04-.087-.01-.076.037 1.039 4.451 4.359 5.865 5.02 8.213.011.043.066.046.076.003.46-1.791 1.388-3.717 1.294-6.358m-6.023-10.626c-.034-.027-.078.016-.055.053.772 1.249 1.037 2.585 1.344 3.98l.685 3.287c.005.021-.027.037-.037.016-.606-1.007-3.425-2.402-5.275-3.85-.029-.024-.071.008-.058.045 1.045 3.053 4.42 4.36 6.49 6.606.024.024.066.008.063-.027-.154-3.298.36-7.325-3.157-10.11M42.94 9.875c-.05 0-.065.069-.026.096 2.318 1.493 2.079 2.838 6.359 5.976.019.011.042-.005.037-.024-.979-3.332-3.262-5.949-6.37-6.048m29.423 25.108h-2.496l-1.399-5.427a25 25 0 0 1-.265-1.199q-.188-.909-.215-1.219-.043.382-.212 1.227-.17.843-.262 1.205l-1.393 5.413h-2.488L60.996 24.65h2.157l1.321 5.64a34 34 0 0 1 .502 2.707q.043-.402.194-1.248.153-.844.287-1.311l1.505-5.788h2.071l1.506 5.788q.1.39.247 1.188.15.8.227 1.371.07-.551.227-1.375.154-.823.282-1.332l1.314-5.64h2.156zm4.834-3.965q0 1.173.385 1.774t1.255.602q.862 0 1.24-.598.378-.597.378-1.778 0-1.173-.382-1.759-.38-.588-1.25-.588-.863.001-1.245.584-.38.584-.381 1.763m5.463 0q0 1.931-1.017 3.018-1.018 1.09-2.834 1.09-1.139 0-2.008-.5a3.3 3.3 0 0 1-1.336-1.43q-.467-.933-.467-2.178 0-1.935 1.011-3.011 1.01-1.075 2.842-1.074 1.138.001 2.008.494.868.496 1.336 1.422.465.925.465 2.169m5.726-4.085q.438 0 .728.064l-.163 2.022a2.5 2.5 0 0 0-.636-.072q-1.032 0-1.609.531-.575.53-.575 1.484v4.021h-2.156v-7.902h1.633l.318 1.329h.105q.369-.663.994-1.071a2.45 2.45 0 0 1 1.361-.406m1.67 8.051h2.156V23.986h-2.156zm7.271-1.577q.828 0 1.213-.48.385-.481.42-1.633v-.233q0-1.273-.391-1.823-.393-.55-1.277-.551-.72 0-1.12.611-.399.61-.399 1.777t.402 1.75q.404.583 1.152.582m-.755 1.719q-1.394 0-2.189-1.082-.794-1.082-.795-2.998 0-1.943.81-3.027.809-1.087 2.23-1.086 1.491 0 2.276 1.16h.071a9 9 0 0 1-.163-1.576v-2.531h2.163v10.997h-1.654l-.417-1.025h-.092q-.735 1.168-2.24 1.168m11.933-.143h-2.155V24.65h5.923v1.795h-3.768v2.666h3.506v1.786h-3.506zm6.847-3.965q0 1.173.385 1.774t1.254.602q.864 0 1.241-.598.379-.597.379-1.778 0-1.173-.382-1.759-.382-.588-1.251-.588-.863.001-1.244.584-.382.584-.382 1.763m5.464 0q0 1.931-1.018 3.018-1.019 1.09-2.835 1.09-1.138 0-2.008-.5a3.33 3.33 0 0 1-1.336-1.43q-.465-.933-.465-2.178 0-1.935 1.01-3.011 1.01-1.075 2.842-1.074 1.138.001 2.007.494.87.496 1.336 1.422t.467 2.169m3.081 0q0 1.173.384 1.774.386.601 1.255.602.864 0 1.241-.598.379-.597.379-1.778 0-1.173-.382-1.759-.382-.588-1.251-.588-.863.001-1.244.584-.382.584-.382 1.763m5.464 0q0 1.931-1.018 3.018-1.018 1.09-2.835 1.09-1.138 0-2.008-.5a3.33 3.33 0 0 1-1.336-1.43q-.465-.933-.466-2.178 0-1.935 1.011-3.011 1.01-1.075 2.842-1.074 1.138.001 2.007.494.87.496 1.336 1.422t.467 2.169m4.655 2.389q.827 0 1.212-.48.385-.481.421-1.633v-.233q0-1.273-.393-1.823-.392-.55-1.275-.551-.722 0-1.121.611-.4.61-.4 1.777t.404 1.75q.402.583 1.152.582m-.757 1.719q-1.392 0-2.187-1.082-.796-1.082-.795-2.998 0-1.943.808-3.027.81-1.087 2.231-1.086 1.491 0 2.276 1.16h.07a9 9 0 0 1-.162-1.576v-2.531h2.163v10.997h-1.654l-.417-1.025h-.092q-.735 1.168-2.241 1.168m11.969-5.613h.721q1.01 0 1.513-.398.502-.401.502-1.164 0-.771-.421-1.137-.42-.369-1.318-.369h-.997zm4.948-1.641q0 1.67-1.042 2.553-1.043.884-2.966.883h-.94v3.675h-2.191V24.65h3.301q1.88 0 2.86.808.978.813.978 2.414m5.628-.939q.438 0 .728.064l-.163 2.022a2.5 2.5 0 0 0-.635-.072q-1.033 0-1.609.531-.576.53-.576 1.484v4.021h-2.156v-7.902h1.633l.318 1.329h.106q.369-.663.994-1.071.625-.406 1.36-.406m3.41 4.085q0 1.173.386 1.774.385.601 1.255.602.862 0 1.24-.598.378-.597.378-1.778 0-1.173-.382-1.759-.381-.588-1.251-.588-.862.001-1.244.584-.381.584-.382 1.763m5.464 0q0 1.931-1.018 3.018-1.017 1.09-2.834 1.09-1.138 0-2.007-.5a3.3 3.3 0 0 1-1.336-1.43q-.468-.933-.467-2.178 0-1.935 1.011-3.011 1.01-1.075 2.841-1.074 1.138.001 2.008.494.869.496 1.336 1.422.466.925.466 2.169m2.917-1.349q0 .642.293 1.017.292.375.894.375.609 0 .891-.375t.282-1.017q0-1.428-1.173-1.427-1.188-.001-1.187 1.427m-.785 6.431q0 .447.428.7.427.255 1.198.256 1.158-.001 1.816-.319.658-.319.657-.869.001-.445-.388-.615-.388-.17-1.201-.17h-1.118q-.593 0-.993.279-.399.279-.399.738m6.1-9.019v1.096l-1.237.319q.34.53.339 1.187 0 1.271-.887 1.982t-2.463.711l-.389-.022-.318-.035q-.332.255-.333.565 0 .467 1.189.466h1.343q1.3.001 1.982.559.683.56.683 1.641 0 1.385-1.157 2.148-1.156.764-3.318.764-1.654 0-2.527-.576t-.873-1.616q0-.715.445-1.195t1.308-.685a1.44 1.44 0 0 1-.58-.463 1.1 1.1 0 0 1-.248-.682q0-.453.262-.752.262-.301.757-.592a2.1 2.1 0 0 1-.986-.861q-.365-.595-.365-1.4 0-1.293.842-2 .84-.707 2.403-.707.332 0 .789.061.455.059.583.087zm5.285-.148q.438 0 .728.064l-.163 2.022a2.5 2.5 0 0 0-.636-.072q-1.032 0-1.608.531-.576.53-.576 1.484v4.021h-2.157v-7.902h1.633l.319 1.329h.106q.368-.663.993-1.071.625-.406 1.361-.406m5.93 4.39-.834.027q-.94.03-1.4.34t-.459.948q0 .911 1.046.912.749 0 1.198-.432.449-.431.449-1.146zm.636 3.66-.417-1.074h-.057q-.544.685-1.12.951t-1.502.266q-1.138 0-1.792-.651-.654-.649-.654-1.853 0-1.257.88-1.856.88-.594 2.654-.659l1.372-.043v-.346q0-1.201-1.23-1.201-.948-.001-2.227.572l-.714-1.457q1.364-.712 3.026-.713 1.59 0 2.438.692.849.694.849 2.107v5.265zm10.284 0h-2.156v-4.614q0-.857-.286-1.284t-.902-.427q-.826 0-1.201.607-.375.608-.375 2.001v3.717h-2.156v-7.902h1.647l.29 1.012h.121q.317-.545.919-.853.6-.306 1.377-.307 1.775 0 2.404 1.16h.191q.318-.553.937-.855a3.1 3.1 0 0 1 1.395-.305q1.344.001 2.032.689.69.69.69 2.209v5.152h-2.163v-4.614q0-.857-.286-1.284-.287-.427-.902-.427-.792 0-1.183.566-.393.566-.393 1.794zm13.705 0h-2.155v-4.614q0-.857-.286-1.284-.287-.427-.902-.427-.827 0-1.202.607-.375.608-.374 2.001v3.717h-2.156v-7.902h1.647l.29 1.012h.12a2.2 2.2 0 0 1 .919-.853q.6-.306 1.379-.307 1.773 0 2.403 1.16h.19a2.1 2.1 0 0 1 .937-.855 3.1 3.1 0 0 1 1.396-.305q1.343.001 2.033.689.689.69.689 2.209v5.152h-2.163v-4.614q0-.857-.287-1.284-.286-.427-.901-.427-.791 0-1.184.566t-.393 1.794zm9.951-6.517q-.685.001-1.075.436-.388.434-.445 1.234h3.025q-.013-.8-.417-1.234-.402-.435-1.088-.436m.304 6.66q-1.908 0-2.983-1.055-1.074-1.052-1.074-2.982 0-1.986.993-3.07.993-1.087 2.746-1.086 1.675 0 2.608.955.934.953.934 2.636v1.045h-5.097q.036.92.544 1.436.51.515 1.428.515.715.001 1.35-.148.637-.149 1.329-.473v1.668q-.565.282-1.209.42-.643.139-1.569.139\"\n}));\nvar WfpLogoExtendedEn$1 = WfpLogoExtendedEn;\n\nconst WfpLogoStandardBlackEn = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 132 58\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fillRule: \"evenodd\",\n d: \"M35.934 4.664h.548q.767 0 1.149-.304.381-.303.381-.883 0-.585-.319-.865-.32-.28-1.002-.28h-.757zm3.76-1.246q0 1.268-.793 1.938-.792.673-2.253.672h-.714v2.793h-1.665V.969h2.508q1.428 0 2.172.615t.745 1.834m-9.537 5.403h-1.638V.969h4.501v1.363h-2.863v2.026h2.664v1.359h-2.664zm-4.525 0h-1.896l-1.063-4.125q-.06-.22-.202-.91a10 10 0 0 1-.164-.927q-.032.291-.16.932-.13.643-.199.916l-1.059 4.114h-1.89L16.995.969h1.639l1.004 4.285q.263 1.188.381 2.058.033-.306.148-.948.116-.644.218-.996L21.529.969h1.573l1.144 4.399a23 23 0 0 1 .36 1.944q.054-.42.172-1.045t.215-1.013l.999-4.285h1.638zm-4.073 27.313c-3.051 0-5.009.724-5.544.949-.031.014-.057-.031-.032-.056 3.352-3.485 7.277-3.293 8.222-3.293h11.161c.563 0 1.019.537 1.019 1.201 0 .662-.456 1.199-1.019 1.199zm2.515 3.085c-3.288 0-4.246-1.868-9.222-.635-.034.009-.057-.038-.028-.058 2.774-1.903 5.791-1.73 7.011-1.73h13.531c.563 0 1.019.537 1.019 1.199s-.456 1.199-1.019 1.199c0 0-8.689.025-11.292.025m.233 3.037c-3.374 0-3.644-2.49-8.646-3.051-.035-.004-.039-.056-.005-.064 4.109-1.028 5.638.715 8.037.715h11.673c.563 0 1.019.537 1.019 1.2s-.456 1.2-1.019 1.2zm-.732-9.183c-2.716 0-4.968 1.185-5.495 1.484-.03.016-.059-.019-.04-.046.441-.649 2.82-3.837 6.91-3.837h10.416c.563 0 1.019.537 1.019 1.2s-.456 1.199-1.019 1.199zm14.941-6.625a.75.75 0 0 0-.444-.205.74.74 0 0 0-.362.043c.047-.099.087-.205.102-.33a.85.85 0 0 0-.083-.512c-.336-.736.624-2.209.503-2.275-.115-.064-.661 1.56-1.191 2.216a.93.93 0 0 0-.2.489.9.9 0 0 0 .087.513c.074.132.186.226.318.234a.3.3 0 0 0 .107-.006.3.3 0 0 0-.018.059.45.45 0 0 0 .142.388.72.72 0 0 0 .441.207.77.77 0 0 0 .493-.093c.719-.393 2.21-.781 2.178-.919-.029-.138-1.483.715-2.073.191m1.099-1.074a.63.63 0 0 0-.406-.199.7.7 0 0 0-.268.043c.013-.046.031-.085.037-.131a.73.73 0 0 0-.103-.462c-.365-.677.588-1.956.465-2.019s-.646 1.368-1.176 1.934a.7.7 0 0 0-.197.425.77.77 0 0 0 .1.465c.084.123.199.21.338.229a.5.5 0 0 0 .179-.021c-.003.007-.011.018-.008.026a.52.52 0 0 0 .139.398c.1.107.244.181.404.195a.62.62 0 0 0 .433-.117c.62-.447 2.037-.712 2-.856-.034-.138-1.391.611-1.937.09m.964-.993a.55.55 0 0 0-.389-.104.5.5 0 0 0-.197.051c.011-.03.029-.054.04-.083a.7.7 0 0 0-.024-.43c-.231-.665.792-1.648.693-1.728-.1-.074-.764 1.117-1.31 1.536a.65.65 0 0 0-.231.354.65.65 0 0 0 .021.428.44.44 0 0 0 .265.255c.092.029.184.01.271-.027a.4.4 0 0 0-.024.17c.013.136.079.25.187.33a.567.567 0 0 0 .752-.067c.491-.497 1.714-.962 1.665-1.081-.053-.12-1.152.765-1.719.396m1.894-2.134c-.102-.151-.958.787-1.59.877a.66.66 0 0 0-.359.178.7.7 0 0 0-.221.361.38.38 0 0 0 .055.324.33.33 0 0 0 .299.109.64.64 0 0 0 .365-.181.73.73 0 0 0 .215-.356c.192-.643 1.312-1.214 1.236-1.312m-17.694 1.27c-.025.093-.21.816-.21.816-.052.029-.272-.019-.33-.024-.422-.04-.8-.407-.638-.845.133-.358.404-.396.748-.412.143-.006.4.028.529.117 0 0-.051.165-.099.348m-.485 2.182-.039.247c-.263-.165-.417-.542-.291-.84.097-.226.337-.285.514-.295a50 50 0 0 0-.184.888m-.378 2.696c-.033.185-.283.21-.454.261-.496.149-.966.085-1.118-.508-.165-.634.315-.901.83-1.025.28-.066.54-.011.732.226.048.059.105.112.118.168 0 0-.077.704-.108.878m-1.561-3.122c.383-.092.779-.236 1.073.141.31.396.207 1.031-.291 1.199-.328.111-.725.207-1.005-.061-.368-.351-.341-1.148.223-1.279m-.375-2.056c.403-.098.821-.247 1.131.149.322.414.215 1.084-.308 1.259-.346.114-.763.215-1.057-.067-.386-.366-.357-1.203.234-1.341m-.376 4.445c-.105.37-.41.425-.729.502-.21-.257-.774-.909-.784-.986a.2.2 0 0 1 .012-.09c.026-.077.115-.151.181-.194.192-.125.601-.217.822-.172.396.085.603.568.498.94m-2.005-1.899c-.289-1.024 1.428-1.47 1.693-.466.273 1.032-1.459 1.47-1.693.466m-.252-2.044c-.294-1.017 1.431-1.464 1.696-.465.273 1.033-1.462 1.472-1.696.465m-.241-2.009c-.281-.948 1.338-1.368 1.585-.433.254.962-1.365 1.377-1.585.433m-.166 3.867c-.079.047-.109.072-.136.072l-.77-.838c.009-.024.247-.196.327-.242.64-.356 1.167.662.579 1.008m-1.461-1.887c-.381-.84 1.005-1.751 1.425-.845.385.834-1.001 1.761-1.425.845m1.165-2.66c.438.779-.882 1.648-1.26.81-.336-.722.837-1.565 1.26-.81m-1.108-1.815c.195-.172.42-.265.651-.154.37.178.381.733.058.954-.147.101-.396.226-.577.181-.397-.101-.473-.68-.132-.981m.05-1.669c.16-.108.373-.205.557-.13.334.137.322.622.052.816-.124.088-.346.197-.496.157-.338-.085-.421-.634-.113-.843m.887-2.378c.199-.107.486-.152.664.048a.468.468 0 0 1-.134.734c-.212.106-.498.146-.666-.051a.48.48 0 0 1 .136-.731m-.157 1.807c-.161-.595.842-.876 1.005-.271.181.587-.845.88-1.005.271m1.616 1.039c.234.643-.855 1.007-1.068.372-.217-.643.877-1.01 1.068-.372m.137-3.133c.208-.083.474-.173.706 0 .289.216.226.702-.105.853-.218.099-.496.165-.69-.008-.247-.22-.261-.705.089-.845m-.192 5.381c-.294.069-.601.186-.845-.066-.312-.322-.223-.885.2-1.039.273-.104.619-.162.842.066.286.293.255.93-.197 1.039m.005-3.284c-.188-.638.851-.965 1.05-.346.205.635-.871.973-1.05.346m1.74 1.169c.244.728-.986 1.116-1.212.399-.228-.734 1.011-1.122 1.212-.399m.066-1.95c.217-.058.446-.037.611.14.252.271.166.734-.207.803-.175.032-.446.019-.583-.101-.246-.218-.234-.731.179-.842m1.05 1.528c.396 0 .596.582.365.871-.139.175-.439.186-.643.154-.378-.058-.62-.545-.365-.874.155-.199.42-.151.643-.151m-1.903 2.396c-.244-.837 1.178-1.211 1.396-.38.221.845-1.209 1.217-1.396.38m.872 1.071c.388-.04.792-.13 1.031.277.249.43.063 1.028-.441 1.129-.331.069-.732.101-.968-.192-.31-.387-.187-1.161.378-1.214m1.974-1.864c.48.198.642.764.304 1.08-.182.165-.512.133-.735.088-.447-.088-.738-.758-.347-1.076.201-.163.56-.183.778-.092m.755 2.018c.301.37.189 1.023-.339 1.055-.275.016-.635-.016-.821-.242-.299-.361-.186-1.039.341-1.057.276-.011.633.018.819.244m2.039-6.664a.12.12 0 0 0-.134-.05c-.063.021-.105.09-.081.151 1.205 3.237-.334 4.831-.977 7.097-.771-1.841 1.785-3.573.468-6.929-.019-.043-.053-.078-.1-.085-.066-.009-.129.018-.139.106-.034.236-.189 2.096-1.698 3.186a3 3 0 0 0-.703-1.021c-.14-.627-.549-1.488-1.41-1.742-.129-.325-.388-.79-.887-1.04-.47-.234-1.013-.213-1.617.061-.729.085-1.231.37-1.495.845-.25.449-.205.938-.121 1.271-.614.656-.643 1.628-.627 2.009-.365.876-.16 1.899-.045 2.324-.436 1.191-.01 2.346.16 2.729q.001.155.011.3c-1.428-1.562-4.677-3.497-5.918-4.235a.15.15 0 0 0-.181.021.154.154 0 0 0-.008.218c2.768 2.7 5.238 6.032 7.61 12.946 1.184-1.231 3.323-2.849 6.367-2.849h3.561c-2.262-8.428 1.032-11.444-2.036-15.313m16.836 4.358c-.651-.17-4.808-.906-9.467 7.663.68-3.191 2.746-7.052 3.312-8.173v-.008a.15.15 0 0 0-.042-.192.136.136 0 0 0-.189.035c-3.078 5.133-4.159 8.091-4.797 11.63h1.929c.328-3.412 4.637-11.449 9.23-10.852h.005c.027.006.05-.016.053-.039.01-.03-.008-.059-.034-.064m-9.262 28.232-1.042-4.355h-1.774c.281 1.105.682 2.229 1.202 3.215a.16.16 0 0 0 .16.083.165.165 0 0 0 .134-.19c-.121-.922-.265-1.811-.402-2.699.376 1.395.882 2.758 1.565 4.013.018.039.057.057.094.045.05-.011.076-.064.063-.112m1.793-1.977c-.182-.728-.371-1.621-.533-2.378h-.675c.263.808.617 1.709.932 2.479.031.075.102.112.17.093a.16.16 0 0 0 .106-.194m.225 2.561-.005-.01c-.218-.609-.52-1.154-.759-1.738a24 24 0 0 1-.706-1.759c-.17-.449-.351-.964-.49-1.432h-.651c.184.545.423 1.132.646 1.658.49 1.188 1.057 2.352 1.779 3.393a.1.1 0 0 0 .123.035c.058-.022.084-.088.063-.147m.974-20.9c-.05-.075-.171-.091-.228-.03a13.3 13.3 0 0 0-2.147 3.069h.703c.352-.826 1.144-2.285 1.654-2.811l.005-.005a.18.18 0 0 0 .013-.223m-5.354-6.045c.651-1.069 1.617-1.887 2.436-2.875a.1.1 0 0 0-.009-.128.08.08 0 0 0-.117-.003c-.187.199-.381.386-.58.571-.087-.042-.307.043-.531.218-.175.139-.301.293-.346.404-.113-.026-.325.106-.517.351-.158.205-.249.42-.247.553-.121.01-.296.164-.446.409-.097.162-.16.319-.181.449a1.2 1.2 0 0 0-.309.353c-.134.224-.203.449-.182.579q-.048.084-.089.165l.016-.132c.192-1.513.469-3.011.892-4.456.425-1.441.934-2.894 1.808-4.061l.006-.005a.17.17 0 0 0-.016-.21.14.14 0 0 0-.205-.003 6.6 6.6 0 0 0-.785 1.05c-.099-.053-.309.144-.469.452-.147.278-.2.536-.144.635 0 0-.003.008-.009.005-.105-.045-.299.189-.417.502-.115.295-.136.566-.057.657-.006.005-.006.008-.009.013-.117-.043-.309.226-.427.606-.098.321-.108.6-.037.712.005.005 0 .019-.005.016-.121-.043-.305.234-.412.611-.108.364-.1.686.002.749-.118-.013-.283.263-.37.638-.078.324-.07.603.006.715-.116.034-.244.305-.31.656-.063.343-.032.627.052.718-.107.055-.217.334-.257.68-.039.343.011.624.1.715-.089.1-.176.339-.213.627-.036.273-.013.51.04.643-.097.082-.171.359-.174.691-.007.265.032.491.1.621a1.6 1.6 0 0 0-.089.542c-.005.279.039.518.11.643-.021.981-.008 2.025.045 3.008h2.118c.015-.765.066-1.6.141-2.357.15-1.35.373-2.721 1.048-3.874l.005-.008a.11.11 0 0 0-.013-.127c-.04-.035-.095-.035-.132.008-.916 1.063-1.317 2.506-1.553 3.89q-.062.407-.108.816c.058-1.111.16-2.217.415-3.269.291-1.281.874-2.5 1.984-3.183a.1.1 0 0 0 .039-.112.09.09 0 0 0-.11-.066c-.071.021-.136.058-.205.088-.073-.091-.343-.024-.622.153-.265.173-.441.386-.422.503 0 .005-.013.013-.013.002a.1.1 0 0 0-.013-.034c-.1-.082-.368.104-.594.42-.228.316-.317.646-.22.731.005.002.003.01-.002.01-.119-.048-.315.221-.439.596-.089.262-.11.504-.078.643 0 .004-.006.01-.006.01-.092.303-.168.609-.239.919.027-.438.066-.879.129-1.315.186-1.254.564-2.482 1.236-3.528m6.663-3.498a.75.75 0 0 0-.485-.037.8.8 0 0 0-.326.17.9.9 0 0 0-.018-.345.84.84 0 0 0-.252-.449c-.572-.571-.179-2.291-.312-2.312-.131-.018-.084 1.696-.354 2.498a.9.9 0 0 0-.019.529.9.9 0 0 0 .26.451c.113.099.249.144.378.104a.2.2 0 0 0 .097-.043q0 .033.002.064c.03.141.129.25.266.314a.72.72 0 0 0 .488.037.8.8 0 0 0 .428-.26c.538-.625 1.803-1.515 1.727-1.634-.077-.117-1.145 1.195-1.88.913m2.447-2.165c-.082-.117-1.095 1.065-1.785.77a.64.64 0 0 0-.452-.042.7.7 0 0 0-.236.133c-.003-.048 0-.091-.01-.133a.7.7 0 0 0-.255-.398c-.577-.505-.123-2.041-.26-2.057-.139-.016-.136 1.512-.436 2.229a.68.68 0 0 0-.036.468c.042.17.137.311.255.401a.48.48 0 0 0 .393.093.5.5 0 0 0 .16-.082c0 .008-.003.018 0 .026a.53.53 0 0 0 .27.327.64.64 0 0 0 .447.037.63.63 0 0 0 .365-.26c.427-.64 1.661-1.39 1.58-1.512m.249-1.48c-.09-.093-.816 1.124-1.475.978a.55.55 0 0 0-.399.04.5.5 0 0 0-.168.117c0-.03.008-.059.008-.091a.68.68 0 0 0-.171-.393c-.443-.542.173-1.825.055-1.865-.12-.035-.33 1.315-.698 1.902a.63.63 0 0 0-.094.412c.01.157.076.298.168.396.094.098.21.152.336.144a.38.38 0 0 0 .244-.12q-.002.081.036.167a.44.44 0 0 0 .286.242c.124.04.271.029.402-.035a.6.6 0 0 0 .284-.292c.288-.64 1.272-1.509 1.186-1.602m-.436-1.69c-.149-.106-.624 1.076-1.189 1.384a.7.7 0 0 0-.275.295.7.7 0 0 0-.079.415c.013.125.071.231.163.284a.32.32 0 0 0 .315-.002.67.67 0 0 0 .28-.298.74.74 0 0 0 .079-.412c-.042-.669.811-1.6.706-1.666M30.252 42.917h-5.945c-.404 0-.769-.032-1.105-.093q.004.001.003.002c.976 1.451 2.506 2.552 4.057 3.29.239 1.323.538 2.548.646 2.644.11.095 1.632-.343 1.68-.484.044-.14-.623-2.407-.623-2.407.801-1.374 1.048-2.185 1.287-2.952m14.953 10.169c-1.501.593-3.459.642-5.057.218-3.661-1.14-7.726-3.3-11.629-1.507-3.902-1.793-7.967.367-11.628 1.507-1.598.424-3.556.375-5.057-.218a.038.038 0 0 0-.037.066c2.16 1.671 5.186 2.44 7.91 1.456 2.616-.815 4.829-3.587 7.928-2.404-2.454.959-4.748 2.729-6.519 4.399l1.288 1.058c1.609-1.873 3.42-3.746 5.47-4.886.28-.165.448-.231.645-.242.198.011.365.077.643.242 2.053 1.14 3.864 3.013 5.472 4.886l1.289-1.058c-1.771-1.67-4.065-3.44-6.519-4.399 3.099-1.183 5.312 1.589 7.928 2.404 2.724.984 5.75.215 7.91-1.456.034-.029.005-.082-.037-.066m-24.129-2.525c-3.826-.927-4.873-4.514-8.072-6.071-.034-.018-.071.022-.05.053 1.008 1.658 1.554 4.198 4.459 5.764.024.012.011.05-.016.042-4.167-.802-5.918.313-10.285-1.661-.037-.016-.076.024-.052.059 1.435 2.083 4.841 3.507 9.508 3.114 1.68-.143 2.897-.85 4.508-1.227.04-.011.04-.065 0-.073m-8.014-2.2c-1.454-1.905-1.04-5.972-4.323-9.695-.026-.029-.073-.006-.065.031.627 2.742.44 5.857 2.157 8.139.016.024-.008.048-.032.032-3.385-2.665-6.865-3.468-8.414-5.625-.023-.029-.07-.014-.065.024.383 2.792 5.747 7.145 10.713 7.153.029 0 .047-.034.029-.059m-5.084-5.064c-1.559-2.891.304-7.302-1.464-11.588-.019-.045-.087-.034-.087.014-.052 2.34-1.506 5.835-.627 8.473.01.024-.021.037-.034.016-2.239-3.271-4.015-3.954-5.496-6.948-.021-.045-.089-.033-.092.015C.084 35.314.984 36.973 2 38.514a17.4 17.4 0 0 0 5.928 4.836c.035.016.066-.019.05-.053M6.921 25.691c-.003-.048-.066-.064-.09-.022-1.189 2.224-3.306 3.994-3.375 6.931-.002.029-.034.031-.039.004-.386-2.266-2.309-4.806-2.393-8.088 0-.05-.071-.063-.09-.016-1.582 4.268.693 8.314 3.115 11.657.027.034.079.014.079-.032-.099-3.542 2.971-6.186 2.793-10.434m1.511-5.522c-1.123 1.56-3.65 2.663-4.574 4.913-.013.032-.053.024-.047-.013.367-2.522-.607-5.45.307-8.8.013-.048-.047-.08-.076-.043-1.381 1.698-1.848 3.688-1.924 5.838-.094 2.641.834 4.567 1.294 6.358.01.043.065.04.076-.003.661-2.348 3.981-3.762 5.02-8.213.014-.047-.047-.077-.076-.037m3.047-5.245c-1.847 1.448-4.669 2.843-5.275 3.85-.01.021-.042.005-.037-.016l.685-3.287c.307-1.395.572-2.731 1.344-3.98.024-.037-.021-.08-.055-.053-3.517 2.785-3.003 6.812-3.158 10.11-.002.035.04.051.064.027 2.07-2.246 5.445-3.553 6.49-6.606.013-.037-.027-.069-.058-.045m2.617-5.049c-3.108.099-5.391 2.716-6.37 6.048-.005.019.021.035.037.024 4.281-3.138 4.041-4.483 6.359-5.976.042-.027.024-.096-.026-.096m35.828 38.813c-4.364 1.974-6.117.859-10.285 1.661-.026.008-.039-.03-.016-.042 2.905-1.566 3.451-4.106 4.459-5.764.021-.031-.015-.071-.05-.053-3.196 1.557-4.243 5.144-8.072 6.071-.04.008-.04.062 0 .073 1.611.377 2.829 1.084 4.508 1.227 4.666.393 8.076-1.031 9.509-3.114.023-.035-.016-.075-.053-.059m4.726-7.445c-1.548 2.157-5.028 2.96-8.413 5.625-.021.016-.047-.008-.029-.032 1.714-2.282 1.527-5.397 2.154-8.139.008-.037-.039-.06-.065-.031-3.281 3.723-2.869 7.79-4.32 9.695-.018.025-.003.059.029.059 4.965-.008 10.327-4.361 10.71-7.153.005-.038-.042-.053-.066-.024m2.208-7.964c-.003-.048-.071-.06-.092-.015-1.48 2.994-3.257 3.677-5.493 6.948-.016.021-.045.008-.036-.016.878-2.638-.573-6.133-.628-8.473 0-.048-.068-.059-.086-.014-1.769 4.286.094 8.697-1.462 11.588-.019.034.013.069.047.053a17.4 17.4 0 0 0 5.928-4.836c1.016-1.541 1.916-3.2 1.822-5.235m-.756-8.779c-.018-.047-.089-.034-.089.016-.084 3.282-2.008 5.822-2.394 8.088-.005.027-.036.025-.036-.004-.069-2.937-2.189-4.707-3.378-6.931-.024-.042-.087-.026-.087.022-.178 4.248 2.89 6.892 2.79 10.434 0 .046.055.066.081.032 2.42-3.343 4.695-7.389 3.113-11.657m-1.184-2.436c-.076-2.15-.543-4.14-1.923-5.838-.029-.037-.087-.005-.076.043.913 3.35-.061 6.278.309 8.8.005.037-.036.045-.05.013-.923-2.25-3.451-3.353-4.574-4.913-.026-.04-.087-.01-.076.037 1.039 4.451 4.359 5.865 5.021 8.213.01.043.065.046.076.003.459-1.791 1.388-3.717 1.293-6.358m-6.023-10.626c-.034-.027-.078.016-.055.053.772 1.249 1.037 2.585 1.344 3.98l.685 3.287c.005.021-.027.037-.037.016-.606-1.007-3.425-2.402-5.275-3.85-.029-.024-.071.008-.058.045 1.045 3.053 4.42 4.36 6.49 6.606.024.024.066.008.063-.027-.154-3.298.36-7.325-3.157-10.11m-5.954-1.563c-.05 0-.066.069-.027.096 2.318 1.493 2.079 2.838 6.359 5.976.019.011.042-.005.037-.024-.979-3.332-3.262-5.949-6.369-6.048m28.225 19.572h-2.232l-1.253-4.857q-.069-.26-.237-1.072a12 12 0 0 1-.193-1.091q-.037.34-.189 1.097-.153.756-.235 1.079l-1.245 4.844h-2.227l-2.359-9.246h1.929l1.183 5.047q.31 1.398.449 2.422.037-.36.174-1.116t.256-1.173l1.347-5.18h1.853l1.347 5.18q.088.347.222 1.062.132.715.202 1.227.063-.492.203-1.231.139-.735.253-1.191l1.176-5.047h1.929zm4.578-3.548q0 1.05.345 1.587.344.538 1.122.538.771 0 1.11-.534.338-.535.338-1.591 0-1.05-.341-1.575-.342-.524-1.12-.524-.771 0-1.113.521-.34.522-.341 1.578m4.888 0q0 1.726-.91 2.701-.911.974-2.536.974-1.019 0-1.796-.446a2.96 2.96 0 0 1-1.195-1.281q-.418-.834-.418-1.948 0-1.733.904-2.694c.904-.961 1.451-.962 2.543-.962q1.017.001 1.796.443.778.443 1.195 1.272.417.828.417 1.941m5.376-3.656q.393 0 .652.058l-.146 1.808a2.2 2.2 0 0 0-.569-.063q-.923 0-1.438.474-.516.475-.516 1.329v3.598h-1.929v-7.071h1.461l.284 1.189h.095q.33-.594.889-.958a2.2 2.2 0 0 1 1.217-.364m1.749 7.204h1.929v-9.841h-1.929zm6.76-1.41q.74 0 1.085-.431.345-.429.376-1.461v-.208q0-1.139-.351-1.631-.351-.494-1.142-.494-.645 0-1.002.547t-.357 1.591q0 1.043.36 1.565.361.522 1.031.522m-.677 1.537q-1.246 0-1.957-.968t-.711-2.681q0-1.74.724-2.71.724-.972 1.995-.972 1.335 0 2.036 1.038h.064a8 8 0 0 1-.146-1.411v-2.264h1.935v9.841H96.3l-.373-.917h-.082q-.657 1.043-2.005 1.044m11.17-.127h-1.929v-9.246h5.3v1.607h-3.371v2.383h3.137v1.601h-3.137zm6.379-3.548q0 1.05.345 1.587.344.538 1.122.538.771 0 1.11-.534.338-.535.338-1.591 0-1.05-.341-1.575-.342-.524-1.12-.524-.771 0-1.113.521-.34.522-.341 1.578m4.888 0q0 1.726-.91 2.701-.911.974-2.536.974-1.019 0-1.796-.446a2.96 2.96 0 0 1-1.195-1.281q-.418-.834-.418-1.948 0-1.733.904-2.694c.904-.961 1.451-.962 2.543-.962q1.018.001 1.796.443.778.443 1.195 1.272.417.828.417 1.941m3.01 0q0 1.05.344 1.587.345.538 1.123.538.771 0 1.11-.534.338-.535.338-1.591 0-1.05-.341-1.575-.342-.524-1.12-.524-.771 0-1.113.521-.34.522-.341 1.578m4.888 0q0 1.726-.91 2.701-.911.974-2.536.974-1.019 0-1.796-.446a2.97 2.97 0 0 1-1.196-1.281q-.417-.834-.417-1.948 0-1.733.904-2.694c.904-.961 1.45-.962 2.543-.962q1.017.001 1.796.443.778.443 1.195 1.272.417.828.417 1.941m4.418 2.138q.74 0 1.084-.431.344-.429.377-1.461v-.208q0-1.139-.351-1.631-.351-.494-1.142-.494-.645 0-1.002.547-.358.547-.358 1.591 0 1.043.361 1.565.36.522 1.031.522m-.677 1.537q-1.246 0-1.957-.968t-.712-2.681q0-1.74.724-2.71.724-.972 1.995-.972 1.335 0 2.037 1.038h.064a8 8 0 0 1-.146-1.411v-2.264h1.935v9.841h-1.48l-.373-.917h-.082q-.657 1.043-2.005 1.044M64.157 37.78h.645q.904 0 1.354-.357.449-.357.449-1.04 0-.69-.377-1.019-.376-.328-1.179-.328h-.892zm4.428-1.467q0 1.492-.933 2.284-.933.79-2.653.79h-.842v3.289h-1.96V33.43h2.953q1.683 0 2.559.723.876.725.876 2.16m4.886-.841q.392 0 .653.057l-.146 1.809a2.2 2.2 0 0 0-.569-.064q-.924 0-1.44.475-.514.474-.514 1.328v3.599h-1.93v-7.072h1.461l.285 1.19h.095q.329-.595.889-.958a2.2 2.2 0 0 1 1.216-.364m2.905 3.656q0 1.05.344 1.587.345.537 1.122.538.772 0 1.111-.534.338-.535.339-1.591 0-1.05-.342-1.575t-1.119-.525q-.772 0-1.114.522-.34.521-.341 1.578m4.888 0q0 1.726-.91 2.7c-.91.974-1.453.975-2.536.975q-1.02 0-1.797-.447a2.97 2.97 0 0 1-1.195-1.281q-.417-.833-.417-1.947 0-1.733.904-2.694.904-.962 2.542-.962 1.02 0 1.797.443a2.95 2.95 0 0 1 1.195 1.271q.418.829.417 1.942m2.459-1.208q0 .576.263.91.262.336.801.336.543 0 .797-.336.252-.334.253-.91 0-1.278-1.05-1.278-1.064 0-1.064 1.278m-.701 5.755q0 .398.382.626.384.228 1.072.228 1.038 0 1.626-.285.588-.284.588-.777 0-.4-.348-.551t-1.075-.151h-1q-.53 0-.887.249-.358.25-.358.661m5.458-8.071v.981l-1.107.285q.304.474.303 1.063 0 1.137-.794 1.773-.792.636-2.204.636l-.347-.019-.284-.032q-.298.228-.298.507 0 .416 1.062.417h1.202q1.164 0 1.775.5.61.5.61 1.467 0 1.24-1.034 1.922-1.035.683-2.97.683-1.48 0-2.261-.515-.781-.516-.781-1.445 0-.639.399-1.069.397-.43 1.17-.614a1.3 1.3 0 0 1-.519-.414 1 1 0 0 1-.222-.61q0-.405.235-.674.234-.268.677-.528a1.9 1.9 0 0 1-.883-.772q-.326-.53-.326-1.252 0-1.157.753-1.79.752-.632 2.151-.632.296 0 .705.053.407.055.521.079zm4.577-.132q.393 0 .653.057l-.146 1.809a2.2 2.2 0 0 0-.569-.064q-.924 0-1.44.475-.514.474-.514 1.328v3.599h-1.93v-7.072h1.461l.285 1.19h.095q.328-.595.888-.958a2.2 2.2 0 0 1 1.217-.364m5.159 3.927-.747.026q-.84.025-1.252.303-.411.279-.411.848 0 .815.937.815.67.001 1.071-.385.402-.386.402-1.025zm.569 3.277-.373-.961h-.05q-.487.612-1.003.85t-1.344.238q-1.018 0-1.603-.582t-.585-1.658q0-1.125.787-1.66t2.375-.592l1.227-.038v-.309q0-1.075-1.1-1.075-.849 0-1.992.512l-.639-1.302q1.22-.64 2.706-.64 1.424 0 2.183.62t.758 1.885v4.712zm9.053 0h-1.929v-4.13q0-.765-.257-1.149-.255-.382-.806-.381-.74-.001-1.075.544-.335.543-.335 1.789v3.327h-1.93v-7.072h1.474l.26.906h.107q.285-.488.823-.763a2.66 2.66 0 0 1 1.233-.275q1.587 0 2.15 1.038h.17q.286-.493.839-.766a2.8 2.8 0 0 1 1.249-.272q1.201 0 1.819.617.616.616.616 1.976v4.611h-1.936v-4.13q0-.765-.256-1.149-.256-.382-.806-.381-.708 0-1.059.505t-.351 1.607zm12.114 0h-1.929v-4.13q0-.765-.257-1.149-.255-.382-.805-.381-.74-.001-1.076.544-.335.543-.335 1.789v3.327h-1.929v-7.072h1.473l.26.906h.108q.283-.488.822-.763a2.66 2.66 0 0 1 1.233-.275q1.587 0 2.151 1.038h.17q.285-.493.838-.766a2.8 2.8 0 0 1 1.249-.272q1.202 0 1.819.617.616.616.616 1.976v4.611h-1.936v-4.13q0-.765-.255-1.149-.257-.382-.807-.381-.708 0-1.059.505t-.351 1.607zm8.755-5.831q-.614 0-.962.388-.347.39-.399 1.104h2.707q-.011-.715-.373-1.104-.36-.388-.973-.388m.271 5.958q-1.707 0-2.669-.943-.96-.943-.961-2.669 0-1.778.889-2.748.888-.97 2.457-.971 1.498 0 2.334.854.835.854.834 2.359v.936h-4.56q.033.823.488 1.284t1.277.461a5.3 5.3 0 0 0 1.208-.133q.569-.132 1.189-.424v1.494a4.5 4.5 0 0 1-1.082.376 7 7 0 0 1-1.404.124\"\n}));\nvar WfpLogoStandardBlackEn$1 = WfpLogoStandardBlackEn;\n\nconst WfpLogoVerticalEn = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 57 86\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n fillRule: \"evenodd\",\n d: \"M2.535 79.1h.513q.719 0 1.076-.285.357-.283.357-.827 0-.548-.3-.809-.299-.262-.937-.262h-.709zm3.52-1.167q0 1.187-.742 1.815-.74.629-2.11.629h-.668v2.615H.975V75.64h2.349q1.338 0 2.035.575.696.577.696 1.718m3.892-.669q.312 0 .518.045l-.116 1.438a1.8 1.8 0 0 0-.453-.05q-.733 0-1.144.377-.41.378-.409 1.057v2.861H6.809v-5.623H7.97l.227.945h.075q.261-.471.706-.761.446-.29.969-.289m2.306 2.907q0 .835.274 1.263.274.426.892.426.614 0 .883-.424.269-.426.269-1.265 0-.835-.271-1.253-.272-.416-.89-.417-.615 0-.886.415-.271.414-.271 1.255m3.887 0q0 1.373-.724 2.147-.724.775-2.017.775-.809 0-1.428-.355a2.37 2.37 0 0 1-.951-1.018q-.331-.664-.331-1.549 0-1.378.719-2.143.718-.764 2.022-.764.81 0 1.428.352.618.353.95 1.011.333.659.332 1.544m1.954-.961q0 .458.209.725.208.266.636.266.432 0 .633-.266.201-.267.201-.725 0-1.016-.834-1.016-.846 0-.845 1.016m-.558 4.577q0 .316.304.498.305.18.852.181.825 0 1.293-.227.468-.225.467-.618 0-.318-.276-.437-.277-.121-.855-.121h-.795q-.423 0-.706.199a.61.61 0 0 0-.284.525m4.34-6.418v.78l-.881.226q.242.377.242.846 0 .904-.631 1.41t-1.753.506l-.276-.016-.226-.025q-.237.181-.237.402 0 .332.845.332h.955q.925 0 1.411.398.485.397.485 1.167 0 .986-.822 1.529t-2.361.543q-1.177 0-1.798-.41t-.621-1.15q0-.508.317-.849.316-.342.93-.489a1 1 0 0 1-.412-.329.78.78 0 0 1-.176-.485q0-.322.186-.535.186-.215.538-.42a1.5 1.5 0 0 1-.702-.614 1.9 1.9 0 0 1-.259-.996q0-.92.599-1.423t1.71-.503q.236 0 .56.043t.415.062zm3.638-.105q.311 0 .518.045l-.116 1.438a1.8 1.8 0 0 0-.452-.05q-.734 0-1.144.377-.41.378-.41 1.057v2.861h-1.534v-5.623h1.161l.227.945h.075q.262-.471.707-.761a1.74 1.74 0 0 1 .968-.289m4.103 3.123-.593.02q-.67.02-.996.241-.327.222-.327.674 0 .65.744.65.534 0 .853-.308.32-.306.319-.814zm.453 2.605-.297-.764h-.04q-.388.487-.797.676t-1.069.189q-.81 0-1.275-.463t-.465-1.318q0-.895.626-1.32t1.888-.471l.976-.029v-.247q0-.854-.875-.854-.674 0-1.584.407l-.508-1.036a4.57 4.57 0 0 1 2.152-.508q1.132 0 1.735.493t.604 1.498v3.747zm7.197 0h-1.534v-3.284q0-.608-.203-.913-.204-.303-.642-.304-.588 0-.855.433-.266.433-.266 1.423v2.645h-1.534v-5.623h1.172l.206.72h.085q.227-.387.654-.607.428-.218.981-.218 1.262 0 1.71.825h.136q.226-.393.666-.608.44-.217.993-.217.956 0 1.446.49.49.491.49 1.572v3.666h-1.538v-3.284q0-.608-.204-.913-.204-.303-.641-.304-.564 0-.843.403-.279.4-.279 1.277zm9.632 0h-1.534v-3.284q0-.608-.204-.913-.203-.303-.641-.304-.588 0-.855.433-.266.433-.266 1.423v2.645h-1.534v-5.623h1.171l.207.72h.085q.227-.387.654-.607.428-.218.981-.218 1.262 0 1.71.825h.135q.226-.393.667-.608.44-.217.993-.217.956 0 1.446.49.49.491.49 1.572v3.666h-1.538v-3.284q0-.608-.205-.913-.203-.303-.641-.304-.563 0-.842.403-.279.4-.279 1.277zm6.96-4.637q-.488 0-.764.309-.276.31-.317.878h2.153q-.01-.568-.297-.878-.286-.309-.775-.309m.217 4.738q-1.358 0-2.123-.749-.764-.75-.764-2.123 0-1.413.706-2.185.707-.772 1.954-.772 1.193 0 1.856.678.663.68.664 1.876v.745h-3.626q.026.654.387 1.021.362.367 1.016.367.508 0 .96-.105.453-.106.946-.337v1.186a3.6 3.6 0 0 1-.86.3 5.4 5.4 0 0 1-1.116.098M8.306 71.654H6.531l-.996-3.862q-.056-.207-.188-.853a10 10 0 0 1-.154-.867q-.03.272-.15.872a19 19 0 0 1-.187.858l-.99 3.852h-1.77L.22 64.302h1.534l.94 4.012q.246 1.113.357 1.927.03-.287.138-.887.109-.602.203-.933l1.072-4.119h1.473l1.072 4.119q.07.276.176.845t.161.975q.051-.393.161-.978.11-.586.201-.949l.935-4.012h1.535zm3.586-2.821q0 .835.274 1.263t.892.427q.616 0 .883-.425.27-.425.27-1.265 0-.835-.272-1.253-.272-.416-.89-.417-.614 0-.885.415-.272.415-.272 1.255m3.888 0q0 1.373-.724 2.147-.725.775-2.017.775-.81 0-1.429-.355a2.37 2.37 0 0 1-.95-1.018q-.332-.663-.332-1.549 0-1.378.719-2.143.72-.764 2.022-.764.81 0 1.428.352.619.353.951 1.011.332.66.332 1.544m4.211-2.907q.311 0 .518.045l-.116 1.438a1.8 1.8 0 0 0-.453-.05q-.734 0-1.143.377-.41.378-.41 1.057v2.861h-1.535v-5.623h1.163l.226.946h.075q.262-.472.706-.762.446-.29.969-.289m1.326 5.728h1.534v-7.825h-1.534zm5.311-1.121q.588 0 .862-.343.274-.341.3-1.161v-.166q0-.905-.279-1.298-.28-.392-.909-.392a.9.9 0 0 0-.796.435q-.285.435-.285 1.265t.286 1.245q.288.415.821.415m-.538 1.222q-.992 0-1.557-.77-.565-.768-.565-2.132 0-1.383.575-2.155.576-.772 1.587-.772 1.06 0 1.619.825h.051a6.3 6.3 0 0 1-.117-1.122v-1.8h1.54v7.825h-1.177l-.297-.729h-.066q-.522.83-1.593.83m8.593-.101h-1.534v-7.352h4.215v1.277h-2.681v1.896h2.496v1.272h-2.496zm5.015-2.821q0 .835.275 1.263.273.427.892.427.613 0 .883-.425.268-.425.268-1.265.001-.835-.271-1.253-.271-.416-.89-.417-.613 0-.885.415t-.272 1.255m3.888 0q0 1.373-.724 2.147-.724.775-2.017.775-.81 0-1.428-.355a2.36 2.36 0 0 1-.951-1.018q-.331-.663-.331-1.549 0-1.378.718-2.143.72-.764 2.022-.764.81 0 1.429.352.618.353.95 1.011.332.66.332 1.544m2.328 0q0 .835.273 1.263.275.427.893.427.614 0 .883-.425.27-.425.269-1.265 0-.835-.271-1.253-.273-.416-.891-.417-.614 0-.884.415-.273.415-.272 1.255m3.888 0q0 1.373-.725 2.147-.724.775-2.016.775-.81 0-1.429-.355a2.37 2.37 0 0 1-.951-1.018q-.332-.663-.332-1.549 0-1.378.719-2.143.72-.764 2.023-.764.81 0 1.428.352.618.353.951 1.011.331.66.332 1.544m3.446 1.7q.588 0 .863-.343.275-.341.299-1.161v-.166q0-.905-.279-1.298-.278-.392-.908-.392a.9.9 0 0 0-.797.435q-.285.435-.285 1.265t.288 1.245q.287.415.819.415m-.538 1.222q-.99 0-1.557-.77-.565-.768-.565-2.132 0-1.383.576-2.155.575-.772 1.587-.772 1.06 0 1.619.825h.05a6.3 6.3 0 0 1-.115-1.122v-1.8h1.539v7.825h-1.177l-.297-.729h-.065q-.523.83-1.595.83M35.847 4.482h.548q.768 0 1.149-.303.382-.303.382-.884 0-.585-.32-.864-.32-.28-1.002-.28h-.757zm3.76-1.246q0 1.268-.793 1.939-.791.672-2.253.672h-.714V8.64h-1.665V.787h2.508q1.43 0 2.173.615.744.616.744 1.834M30.071 8.64h-1.638V.787h4.5v1.364h-2.862v2.026h2.664v1.358h-2.664zm-4.526 0h-1.896l-1.063-4.126q-.06-.22-.201-.91a10 10 0 0 1-.164-.926q-.033.29-.161.932-.13.641-.199.915L20.803 8.64h-1.89L16.909.787h1.638l1.005 4.286q.263 1.187.38 2.057.033-.306.148-.947a11 11 0 0 1 .218-.997L21.442.787h1.573l1.145 4.399q.075.296.188.902.112.607.171 1.042.054-.419.172-1.045.119-.625.216-1.012l.998-4.286h1.638zm-4.072 27.312c-3.051 0-5.01.725-5.544.949-.032.014-.058-.031-.033-.055 3.352-3.486 7.278-3.293 8.222-3.293H35.28c.562 0 1.018.537 1.018 1.2s-.456 1.199-1.018 1.199zm2.514 3.085c-3.287 0-4.245-1.868-9.222-.635-.034.009-.057-.038-.028-.057 2.775-1.904 5.792-1.731 7.011-1.731H35.28c.562 0 1.018.537 1.018 1.199 0 .663-.456 1.2-1.018 1.2 0 0-8.69.024-11.293.024m.234 3.037c-3.375 0-3.645-2.49-8.647-3.051-.035-.003-.039-.055-.005-.064 4.11-1.027 5.638.716 8.037.716H35.28c.562 0 1.018.537 1.018 1.199 0 .663-.456 1.2-1.018 1.2zm-.733-9.182c-2.716 0-4.968 1.184-5.495 1.483-.029.017-.059-.019-.04-.046.441-.648 2.82-3.837 6.911-3.837H35.28c.562 0 1.018.537 1.018 1.2s-.456 1.2-1.018 1.2zm14.941-6.625a.74.74 0 0 0-.443-.205.73.73 0 0 0-.363.042c.048-.098.087-.204.103-.329a.86.86 0 0 0-.084-.513c-.336-.736.624-2.208.504-2.275-.116-.063-.662 1.56-1.192 2.217a.9.9 0 0 0-.199.488.9.9 0 0 0 .086.513c.074.133.187.226.318.234a.3.3 0 0 0 .107-.005.3.3 0 0 0-.018.058.45.45 0 0 0 .142.388.7.7 0 0 0 .441.207.78.78 0 0 0 .493-.092c.719-.394 2.21-.782 2.178-.92-.029-.138-1.483.715-2.073.192m1.1-1.074a.63.63 0 0 0-.407-.199.6.6 0 0 0-.268.042c.014-.045.032-.085.037-.13a.72.72 0 0 0-.102-.463c-.365-.677.587-1.955.464-2.019s-.645 1.368-1.176 1.934a.7.7 0 0 0-.196.426.77.77 0 0 0 .099.465.5.5 0 0 0 .339.228.5.5 0 0 0 .179-.021c-.004.008-.011.019-.008.026a.53.53 0 0 0 .139.399.63.63 0 0 0 .404.194.6.6 0 0 0 .433-.117c.619-.446 2.036-.712 2-.855-.035-.139-1.391.611-1.937.09m.963-.994a.55.55 0 0 0-.389-.103.5.5 0 0 0-.196.05c.01-.029.029-.053.039-.083a.7.7 0 0 0-.024-.43c-.231-.664.793-1.647.693-1.727-.1-.074-.763 1.116-1.309 1.536a.64.64 0 0 0-.231.354.63.63 0 0 0 .021.427.43.43 0 0 0 .265.255.38.38 0 0 0 .27-.026.4.4 0 0 0-.024.17c.013.135.079.25.187.329.102.08.241.12.386.109a.6.6 0 0 0 .367-.175c.491-.497 1.714-.962 1.664-1.082-.052-.119-1.152.765-1.719.396m1.895-2.134c-.102-.151-.958.787-1.591.877a.67.67 0 0 0-.359.178.7.7 0 0 0-.221.361.38.38 0 0 0 .055.325.33.33 0 0 0 .3.109.66.66 0 0 0 .365-.181.74.74 0 0 0 .215-.356c.191-.643 1.312-1.214 1.236-1.313m-17.694 1.27c-.026.094-.21.816-.21.816-.052.03-.273-.018-.331-.024-.422-.04-.8-.406-.637-.845.132-.358.403-.396.748-.411.142-.007.399.027.528.116 0 0-.051.165-.098.348m-.486 2.182-.039.247c-.262-.164-.417-.542-.291-.84.097-.225.337-.285.514-.295a50 50 0 0 0-.184.888m-.377 2.697c-.033.185-.284.21-.455.261-.495.148-.965.085-1.117-.508-.166-.635.315-.901.829-1.026.281-.066.54-.01.732.226.049.059.105.112.118.168 0 0-.076.705-.107.879m-1.562-3.122c.383-.093.779-.237 1.073.141.31.395.208 1.031-.291 1.198-.328.111-.724.207-1.005-.061-.367-.351-.341-1.148.223-1.278m-.375-2.057c.404-.098.821-.247 1.131.149.323.415.215 1.084-.307 1.259-.346.115-.764.216-1.058-.066-.386-.367-.357-1.204.234-1.342m-.376 4.445c-.105.37-.409.426-.729.503-.21-.258-.773-.909-.784-.986a.2.2 0 0 1 .012-.09c.026-.077.116-.152.181-.194.192-.125.601-.218.822-.173.396.085.603.569.498.94m-2.004-1.899c-.29-1.023 1.427-1.47 1.692-.465.273 1.031-1.459 1.469-1.692.465m-.252-2.043c-.294-1.018 1.43-1.465 1.695-.466.273 1.034-1.462 1.472-1.695.466m-.242-2.009c-.281-.949 1.338-1.369 1.585-.433.255.962-1.364 1.376-1.585.433m-.165 3.866c-.08.047-.11.072-.136.072l-.771-.838c.009-.023.248-.196.327-.241.64-.356 1.168.661.58 1.007m-1.462-1.887c-.381-.84 1.005-1.751 1.425-.845.385.835-1 1.762-1.425.845m1.165-2.659c.438.778-.882 1.647-1.26.81-.336-.723.838-1.565 1.26-.81m-1.107-1.815c.194-.172.419-.266.65-.155.371.179.381.734.058.954-.147.102-.396.226-.577.181-.397-.101-.472-.679-.131-.98m.049-1.669c.161-.108.373-.205.557-.13.334.136.323.621.052.815-.123.088-.346.197-.496.157-.338-.085-.421-.633-.113-.842m.888-2.378c.198-.108.485-.152.664.048a.468.468 0 0 1-.134.733c-.213.107-.499.146-.667-.051a.48.48 0 0 1 .137-.73m-.158 1.806c-.16-.595.843-.876 1.005-.271.181.588-.845.88-1.005.271m1.617 1.04c.233.643-.856 1.007-1.068.372-.218-.643.876-1.01 1.068-.372m.136-3.133c.208-.084.474-.173.706 0 .289.216.226.701-.105.853-.218.098-.496.164-.69-.008-.247-.221-.26-.705.089-.845m-.192 5.381c-.294.068-.6.186-.844-.067-.313-.322-.223-.885.199-1.039.273-.103.62-.162.843.066.285.293.254.931-.198 1.04m.006-3.285c-.189-.637.85-.964 1.05-.345.204.635-.872.972-1.05.345m1.74 1.169c.244.728-.987 1.117-1.213.399-.228-.733 1.011-1.121 1.213-.399m.065-1.95c.217-.058.447-.037.612.141.252.271.165.733-.207.802-.176.032-.447.019-.583-.101-.247-.217-.235-.731.178-.842m1.05 1.528c.396 0 .596.582.365.872-.139.175-.439.186-.643.154-.378-.059-.619-.545-.365-.875.155-.199.42-.151.643-.151m-1.903 2.397c-.244-.837 1.179-1.212 1.397-.38.22.845-1.21 1.217-1.397.38m.872 1.071c.388-.04.792-.131 1.031.276.25.43.063 1.028-.441 1.129-.33.069-.732.101-.968-.191-.31-.388-.186-1.162.378-1.214m1.975-1.865c.479.198.641.765.303 1.081-.181.165-.512.132-.735.087-.446-.087-.738-.758-.346-1.076.2-.163.559-.182.778-.092m.754 2.019c.302.369.189 1.022-.338 1.055-.276.015-.636-.016-.822-.242-.299-.362-.186-1.039.341-1.058.276-.01.633.019.819.245m2.04-6.665a.12.12 0 0 0-.135-.05c-.063.021-.105.091-.081.152 1.205 3.236-.333 4.83-.976 7.097-.772-1.842 1.784-3.574.467-6.93a.14.14 0 0 0-.1-.085c-.065-.008-.128.019-.139.106-.034.237-.189 2.097-1.698 3.186a3 3 0 0 0-.703-1.02c-.139-.627-.548-1.488-1.409-1.743-.129-.324-.389-.79-.888-1.039-.469-.234-1.012-.213-1.616.061q-1.097.13-1.496.845c-.249.449-.205.938-.121 1.27-.614.656-.643 1.629-.627 2.009-.365.876-.16 1.9-.045 2.325-.435 1.19-.01 2.346.16 2.729q.002.154.011.3c-1.428-1.563-4.677-3.497-5.918-4.235a.15.15 0 0 0-.181.021.15.15 0 0 0-.008.217c2.769 2.7 5.238 6.032 7.611 12.946 1.184-1.23 3.322-2.849 6.367-2.849h3.561c-2.263-8.428 1.032-11.444-2.036-15.313m16.835 4.358c-.651-.17-4.808-.906-9.466 7.663.679-3.191 2.745-7.052 3.312-8.173v-.008a.155.155 0 0 0-.042-.191.135.135 0 0 0-.189.034c-3.079 5.134-4.16 8.091-4.798 11.63h1.929c.328-3.411 4.638-11.449 9.23-10.851h.005c.027.005.05-.016.053-.04a.05.05 0 0 0-.034-.064m-9.262 28.233-1.042-4.356h-1.774c.281 1.106.682 2.23 1.202 3.215.035.059.098.094.161.083a.163.163 0 0 0 .133-.189c-.121-.922-.265-1.812-.401-2.699.375 1.394.881 2.757 1.564 4.012.018.039.058.058.094.045.05-.011.076-.063.063-.111m1.793-1.978c-.181-.727-.37-1.621-.533-2.378h-.674c.262.808.616 1.709.931 2.48.032.074.103.111.171.093a.16.16 0 0 0 .105-.195m.225 2.562-.005-.011c-.218-.608-.519-1.153-.758-1.737a23 23 0 0 1-.706-1.759 21 21 0 0 1-.491-1.433h-.651c.184.545.423 1.132.646 1.659.491 1.187 1.058 2.351 1.779 3.392a.1.1 0 0 0 .123.035c.058-.021.084-.088.063-.146m.974-20.901c-.05-.074-.17-.09-.228-.029a13.4 13.4 0 0 0-2.147 3.068h.704c.351-.826 1.144-2.285 1.653-2.81l.005-.006a.18.18 0 0 0 .013-.223M31.6 20.729c.651-1.068 1.617-1.887 2.436-2.875a.1.1 0 0 0-.008-.128.083.083 0 0 0-.118-.002 13 13 0 0 1-.58.571c-.086-.043-.307.042-.53.218-.176.138-.302.292-.347.403-.112-.026-.325.107-.517.352-.157.204-.249.42-.246.552-.121.011-.297.165-.446.409a1.3 1.3 0 0 0-.182.449 1.3 1.3 0 0 0-.309.354c-.134.223-.202.449-.181.579q-.049.083-.09.165l.016-.133c.192-1.512.47-3.011.892-4.456.426-1.44.935-2.893 1.809-4.06l.005-.005a.166.166 0 0 0-.016-.21.14.14 0 0 0-.205-.003c-.302.321-.556.68-.784 1.049-.1-.053-.31.144-.47.452-.147.279-.199.537-.144.636 0 0-.003.007-.008.005-.105-.046-.299.188-.417.502-.116.295-.137.566-.058.656-.005.005-.005.008-.008.013-.118-.042-.31.226-.428.606-.097.322-.108.601-.037.713.006.004 0 .018-.005.015-.121-.042-.304.234-.412.611-.108.364-.1.686.003.749-.118-.013-.284.264-.37.638-.079.324-.071.604.005.715-.116.035-.244.306-.31.656-.063.343-.031.628.053.718-.108.056-.218.335-.258.68-.039.343.011.625.1.715-.089.101-.175.34-.212.627-.037.273-.014.51.039.643-.097.083-.17.359-.173.691-.008.266.031.491.1.622-.053.132-.09.327-.09.542-.005.279.04.518.11.643-.02.98-.007 2.025.045 3.007h2.118a31 31 0 0 1 .142-2.356c.15-1.35.373-2.721 1.047-3.874l.005-.008a.12.12 0 0 0-.013-.128c-.039-.034-.095-.034-.131.008-.916 1.063-1.318 2.506-1.554 3.89q-.062.408-.107.816c.057-1.111.16-2.216.414-3.268.292-1.281.874-2.501 1.984-3.184a.1.1 0 0 0 .04-.111c-.014-.051-.066-.08-.111-.067-.071.022-.136.059-.204.088-.074-.09-.344-.024-.622.154-.265.173-.441.385-.423.502 0 .006-.013.014-.013.003-.002-.013-.005-.027-.013-.034-.1-.083-.367.103-.593.419-.228.316-.318.646-.221.731.006.002.003.011-.002.011-.118-.048-.315.22-.439.595-.089.263-.11.505-.078.643 0 .005-.006.01-.006.01q-.135.455-.238.92c.026-.439.065-.88.128-1.315.187-1.255.565-2.482 1.236-3.529m6.664-3.497a.74.74 0 0 0-.486-.037.8.8 0 0 0-.325.17.9.9 0 0 0-.018-.345.83.83 0 0 0-.253-.45c-.572-.571-.178-2.29-.312-2.311-.131-.019-.084 1.695-.354 2.497a.9.9 0 0 0-.019.529.9.9 0 0 0 .26.452c.113.098.25.143.378.103a.2.2 0 0 0 .097-.042q0 .031.003.064c.029.14.129.25.265.313a.7.7 0 0 0 .488.037.78.78 0 0 0 .428-.26c.538-.624 1.803-1.515 1.727-1.634-.076-.117-1.145 1.196-1.879.914m2.446-2.166c-.082-.116-1.094 1.066-1.785.771a.64.64 0 0 0-.452-.043.7.7 0 0 0-.235.133c-.003-.048 0-.09-.011-.133a.7.7 0 0 0-.254-.398c-.578-.505-.124-2.041-.26-2.057-.139-.016-.137 1.512-.436 2.23a.7.7 0 0 0-.037.467.72.72 0 0 0 .255.401.49.49 0 0 0 .394.094.5.5 0 0 0 .16-.083c0 .008-.003.019 0 .027.042.146.141.26.27.327a.64.64 0 0 0 .446.037.63.63 0 0 0 .365-.26c.427-.641 1.661-1.39 1.58-1.513m.249-1.479c-.089-.093-.816 1.123-1.475.977a.56.56 0 0 0-.399.04.6.6 0 0 0-.168.117c0-.029.008-.058.008-.09a.67.67 0 0 0-.17-.394c-.444-.542.173-1.825.054-1.865-.12-.035-.33 1.316-.697 1.903a.63.63 0 0 0-.095.412.65.65 0 0 0 .168.396c.095.098.21.151.336.143a.37.37 0 0 0 .244-.12q-.002.082.037.168c.058.122.16.207.286.242.123.04.27.029.402-.035a.6.6 0 0 0 .283-.292c.288-.641 1.273-1.509 1.186-1.602m-.436-1.691c-.149-.106-.624 1.077-1.189 1.385a.7.7 0 0 0-.275.295.7.7 0 0 0-.079.414c.014.125.071.232.163.285a.32.32 0 0 0 .315-.003.68.68 0 0 0 .281-.297.75.75 0 0 0 .078-.413c-.042-.669.811-1.599.706-1.666M30.165 42.735h-5.944a6.3 6.3 0 0 1-1.102-.09c.976 1.451 2.506 2.551 4.057 3.29.239 1.323.538 2.547.645 2.643.11.096 1.632-.343 1.68-.483.044-.141-.622-2.408-.622-2.408.801-1.374 1.047-2.184 1.286-2.952m14.954 10.169c-1.501.593-3.459.643-5.058.218-3.661-1.14-7.726-3.3-11.628-1.507-3.903-1.793-7.968.367-11.629 1.507-1.598.425-3.556.375-5.057-.218a.039.039 0 0 0-.037.067c2.16 1.671 5.186 2.439 7.91 1.456 2.617-.816 4.829-3.587 7.928-2.405-2.453.959-4.747 2.729-6.519 4.4l1.289 1.057c1.609-1.873 3.42-3.746 5.469-4.885.281-.165.449-.232.646-.242.197.01.365.077.643.242 2.052 1.139 3.863 3.012 5.472 4.885l1.288-1.057c-1.771-1.671-4.065-3.441-6.519-4.4 3.099-1.182 5.312 1.589 7.928 2.405 2.725.983 5.75.215 7.911-1.456.034-.03.005-.082-.037-.067M20.99 50.38c-3.827-.928-4.873-4.515-8.073-6.071-.034-.019-.07.021-.049.052 1.007 1.659 1.553 4.199 4.458 5.764.024.013.011.051-.016.042-4.167-.802-5.918.313-10.285-1.66-.036-.017-.075.023-.052.058 1.436 2.083 4.842 3.507 9.508 3.115 1.68-.144 2.898-.851 4.509-1.228.039-.011.039-.064 0-.072m-8.015-2.2c-1.454-1.906-1.039-5.973-4.322-9.696-.027-.029-.074-.005-.066.032.627 2.742.441 5.856 2.157 8.138.016.025-.008.048-.031.033-3.386-2.666-6.865-3.468-8.414-5.625-.024-.03-.071-.014-.066.023.384 2.793 5.748 7.145 10.713 7.153.029 0 .048-.034.029-.058m-5.084-5.065c-1.558-2.89.305-7.302-1.464-11.588-.018-.045-.086-.034-.086.014-.053 2.341-1.507 5.835-.628 8.474.011.023-.021.037-.034.015-2.239-3.27-4.015-3.954-5.496-6.948-.02-.045-.088-.032-.091.016-.095 2.035.805 3.693 1.821 5.234a17.4 17.4 0 0 0 5.929 4.836c.034.017.065-.019.049-.053M6.834 25.509c-.003-.048-.066-.064-.089-.021-1.189 2.224-3.307 3.993-3.375 6.93-.003.029-.035.031-.04.005-.385-2.267-2.309-4.807-2.393-8.089 0-.05-.071-.063-.089-.015-1.583 4.267.692 8.314 3.115 11.657.026.034.078.013.078-.033-.099-3.542 2.972-6.185 2.793-10.434m1.512-5.522c-1.123 1.56-3.651 2.663-4.575 4.913-.013.033-.052.024-.047-.013.367-2.521-.606-5.45.307-8.8.013-.048-.047-.08-.076-.043-1.38 1.698-1.848 3.688-1.924 5.838-.094 2.641.835 4.568 1.294 6.359.01.042.065.039.076-.003.661-2.349 3.981-3.762 5.021-8.213.013-.048-.048-.077-.076-.038m3.046-5.245c-1.847 1.448-4.669 2.843-5.274 3.851-.011.021-.042.005-.037-.016l.684-3.287c.308-1.395.573-2.732 1.344-3.981.024-.037-.021-.08-.055-.053-3.516 2.785-3.002 6.813-3.157 10.111-.003.034.039.05.063.026 2.071-2.245 5.446-3.553 6.49-6.605.013-.037-.026-.07-.058-.046m2.617-5.048c-3.107.098-5.39 2.715-6.369 6.047-.006.019.021.035.036.024 4.281-3.138 4.042-4.482 6.359-5.975.042-.027.024-.096-.026-.096m35.828 38.813c-4.364 1.973-6.117.858-10.285 1.66-.026.009-.039-.029-.016-.042 2.906-1.565 3.452-4.105 4.459-5.764.021-.031-.015-.071-.049-.052-3.197 1.556-4.244 5.143-8.073 6.071-.04.008-.04.061 0 .072 1.611.377 2.829 1.084 4.509 1.228 4.666.392 8.075-1.032 9.508-3.115.024-.035-.016-.075-.053-.058m4.727-7.445c-1.549 2.157-5.028 2.959-8.414 5.625-.021.015-.047-.008-.029-.033 1.714-2.282 1.528-5.396 2.155-8.138.008-.037-.039-.061-.066-.032-3.28 3.723-2.868 7.79-4.32 9.696a.036.036 0 0 0 .029.058c4.966-.008 10.327-4.36 10.711-7.153.005-.037-.042-.053-.066-.023m2.207-7.964c-.002-.048-.071-.061-.092-.016-1.48 2.994-3.257 3.678-5.493 6.948-.015.022-.044.008-.036-.015.879-2.639-.573-6.133-.628-8.474 0-.048-.068-.059-.086-.014-1.769 4.286.094 8.698-1.462 11.588-.018.034.013.07.047.053a17.4 17.4 0 0 0 5.929-4.836c1.015-1.541 1.916-3.199 1.821-5.234m-.756-8.779c-.018-.048-.089-.035-.089.015-.084 3.282-2.008 5.822-2.393 8.089-.006.026-.037.024-.037-.005-.068-2.937-2.189-4.706-3.378-6.93a.045.045 0 0 0-.086.021c-.179 4.249 2.889 6.892 2.789 10.434 0 .046.055.067.082.033 2.419-3.343 4.695-7.39 3.112-11.657m-1.183-2.437c-.076-2.15-.544-4.14-1.924-5.838-.029-.037-.087-.005-.076.043.913 3.35-.061 6.279.309 8.8.006.037-.036.046-.049.013-.924-2.25-3.452-3.353-4.574-4.913-.027-.039-.087-.01-.077.038 1.039 4.451 4.359 5.864 5.021 8.213.01.042.065.045.076.003.459-1.791 1.388-3.718 1.294-6.359m-6.024-10.626c-.034-.027-.078.016-.055.053.772 1.249 1.037 2.586 1.344 3.981l.685 3.287c.005.021-.026.037-.037.016-.606-1.008-3.424-2.403-5.274-3.851-.03-.024-.071.009-.059.046 1.045 3.052 4.42 4.36 6.491 6.605.024.024.066.008.063-.026-.155-3.298.36-7.326-3.158-10.111m-5.954-1.562c-.05 0-.065.069-.027.096 2.318 1.493 2.079 2.837 6.359 5.975.019.011.042-.005.037-.024-.979-3.332-3.262-5.949-6.369-6.047\"\n}));\nvar WfpLogoVerticalEn$1 = WfpLogoVerticalEn;\n\nconst YouTube = props => /*#__PURE__*/reactExports.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 576 512\",\n width: \"1em\",\n height: \"1em\"\n}, props), /*#__PURE__*/reactExports.createElement(\"path\", {\n d: \"M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305m-317.51 213.508V175.185l142.739 81.205z\"\n}));\nvar YouTube$1 = YouTube;\n\nexport { Add$1 as Add, AddCircle$1 as AddCircle, AddOutline$1 as AddOutline, AngleDown$1 as AngleDown, ArrowDown$1 as ArrowDown, ArrowLeft$1 as ArrowLeft, ArrowRight$1 as ArrowRight, ArrowUp$1 as ArrowUp, Arrows$1 as Arrows, BackToTop$1 as BackToTop, CalendarAltRegular$1 as CalendarAltRegular, CaretDown$1 as CaretDown, CaretDownLegacy$1 as CaretDownLegacy, CaretLeft$1 as CaretLeft, CaretRight$1 as CaretRight, CaretUp$1 as CaretUp, Check$1 as Check, Checkmark$1 as Checkmark, CheckmarkCircle$1 as CheckmarkCircle, CheckmarkOutline$1 as CheckmarkOutline, ChevronDown$1 as ChevronDown, ChevronDownLegacy$1 as ChevronDownLegacy, ChevronLeft$1 as ChevronLeft, ChevronRight$1 as ChevronRight, ChevronUp$1 as ChevronUp, Close$1 as Close, CloseCircle$1 as CloseCircle, CloseOutline$1 as CloseOutline, Cross$1 as Cross, Delete$1 as Delete, Download$1 as Download, Draggable$1 as Draggable, EditGlyph$1 as EditGlyph, Ellipsis$1 as Ellipsis, Error$2 as Error, ErrorSolid$1 as ErrorSolid, Facebook$1 as Facebook, Favorite$1 as Favorite, FavoriteOutline$1 as FavoriteOutline, FavoriteSolid$1 as FavoriteSolid, Female$1 as Female, Filter$1 as Filter, HeaderAvatar$1 as HeaderAvatar, HeaderChevron$1 as HeaderChevron, HeaderSearch$1 as HeaderSearch, Help$1 as Help, HelpGlyph$1 as HelpGlyph, HelpOutline$1 as HelpOutline, Home$1 as Home, Info$1 as Info, InfoCircle$1 as InfoCircle, InfoOutline$1 as InfoOutline, InfoSolid$1 as InfoSolid, Instagram$1 as Instagram, LinkedIn$1 as LinkedIn, Locked$1 as Locked, Male$1 as Male, Menu$1 as Menu, OverflowMenu$1 as OverflowMenu, Play$1 as Play, Print$1 as Print, Search$1 as Search, SearchSolid$1 as SearchSolid, Settings$1 as Settings, StarSolid$1 as StarSolid, Subtract$1 as Subtract, SubtractOutline$1 as SubtractOutline, TikTok$1 as TikTok, Twitter$1 as Twitter, Upload$1 as Upload, User$1 as User, WarningAlt$1 as WarningAlt, WarningFilled$1 as WarningFilled, WarningOutline$1 as WarningOutline, WarningSolid$1 as WarningSolid, WfpLogoAcronym$1 as WfpLogoAcronym, WfpLogoEmblem$1 as WfpLogoEmblem, WfpLogoExtendedEn$1 as WfpLogoExtendedEn, WfpLogoStandardBlackEn$1 as WfpLogoStandardBlackEn, WfpLogoVerticalEn$1 as WfpLogoVerticalEn, YouTube$1 as YouTube };\n","import { useContext } from 'react';\nimport { TransitionState } from 'react-transition-state';\nimport { AccordionContext, AccordionProviderValue, ItemKey } from '../utils/constants';\n\nconst getItemState = (\n providerValue: AccordionProviderValue,\n key: ItemKey,\n itemInitialEntered?: boolean\n): TransitionState => {\n const { stateMap, mountOnEnter, initialEntered } = providerValue;\n const _initialEntered = itemInitialEntered ?? initialEntered;\n return (\n stateMap.get(key) || {\n status: _initialEntered ? 'entered' : mountOnEnter ? 'unmounted' : 'exited',\n isMounted: !mountOnEnter,\n isEnter: _initialEntered,\n isResolved: true\n }\n );\n};\n\nconst useAccordionContext = () => {\n const context = useContext(AccordionContext);\n if (process.env.NODE_ENV !== 'production' && !context.stateMap) {\n throw new Error(\n '[React-Accordion] Cannot find a <AccordionProvider/> above this AccordionItem.'\n );\n }\n return context as AccordionProviderValue;\n};\n\nexport { useAccordionContext, getItemState };\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n\nimport { useEffect, useRef, useCallback } from 'react';\nimport { ItemStateOptions } from '../utils/constants';\nimport { useAccordionContext, getItemState } from './useAccordionContext';\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nconst useAccordionItemEffect = <E extends Element>({\n itemKey,\n initialEntered,\n disabled,\n}: ItemStateOptions = {}) => {\n const itemRef = useRef<HTMLInputElement>(null);\n const context = useAccordionContext();\n const key = itemKey ?? itemRef.current!;\n const state = getItemState(context, key, initialEntered);\n const { setItem, deleteItem, toggle } = context;\n\n useEffect(() => {\n if (disabled) return;\n const key = itemKey ?? itemRef.current!;\n setItem(key, { initialEntered });\n return () => void deleteItem(key);\n }, [setItem, deleteItem, itemKey, initialEntered, disabled]);\n\n return {\n itemRef,\n state,\n toggle: useCallback(\n (toEnter?: boolean) => toggle(key, toEnter),\n [toggle, key]\n ),\n };\n};\n\nexport { useAccordionItemEffect };\n","import * as React from \"react\";\nimport { ItemState, ItemStateOptions } from \"../utils/constants\";\nimport { useAccordionItemEffect } from \"../hooks/useAccordionItemEffect\";\n\ninterface ItemStateProps<E extends Element, T = E> extends ItemState {\n itemRef: React.RefObject<E>;\n forwardedRef: React.ForwardedRef<T>;\n}\n\nconst withAccordionItem = <\n P extends ItemStateOptions,\n E extends Element,\n T = E\n>(\n WrappedItem: any //TODO: MemoExoticComponent<(props: ItemStateProps<E, T>) => JSX.Element>\n) => {\n const WithAccordionItem = React.forwardRef<T, P>(\n ({ itemKey, initialEntered, ...rest }, ref) => (\n <WrappedItem\n forwardedRef={ref}\n {...rest}\n {...useAccordionItemEffect<E>({\n itemKey,\n initialEntered,\n disabled: rest.disabled,\n })}\n />\n )\n );\n\n WithAccordionItem.displayName = \"withAccordionItem\";\n return WithAccordionItem;\n};\n\nwithAccordionItem.displayName = \"withAccordionItem\";\n\nexport { withAccordionItem, ItemStateProps };\n","/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = '';\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (arg) {\n\t\t\t\tclasses = appendClass(classes, parseValue(arg));\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction parseValue (arg) {\n\t\tif (typeof arg === 'string' || typeof arg === 'number') {\n\t\t\treturn arg;\n\t\t}\n\n\t\tif (typeof arg !== 'object') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (Array.isArray(arg)) {\n\t\t\treturn classNames.apply(null, arg);\n\t\t}\n\n\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\treturn arg.toString();\n\t\t}\n\n\t\tvar classes = '';\n\n\t\tfor (var key in arg) {\n\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\tclasses = appendClass(classes, key);\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction appendClass (value, newClass) {\n\t\tif (!newClass) {\n\t\t\treturn value;\n\t\t}\n\t\n\t\tif (value) {\n\t\t\treturn value + ' ' + newClass;\n\t\t}\n\t\n\t\treturn value + newClass;\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","import * as React from \"react\";\nimport { TransitionState } from \"react-transition-state\";\nimport {\n ACCORDION_BLOCK,\n ElementProps,\n ItemState,\n ItemStateOptions,\n} from \"../utils/constants\";\nimport { bem } from \"../utils/bem\";\nimport { mergeProps } from \"../utils/mergeProps\";\nimport useSettings from \"../../../hooks/useSettings\";\nimport { useAccordionItem } from \"../hooks/useAccordionItem\";\nimport { useHeightTransition } from \"../../../hooks/useHeightTransition\";\nimport { useMergeRef } from \"../../../hooks/useMergeRef\";\nimport { ChevronDown } from \"@progressiveui/icons-react\";\nimport { withAccordionItem, ItemStateProps } from \"./withAccordionItem\";\nimport classNames from \"classnames\";\n\ninterface ItemElementProps<E extends HTMLElement>\n extends ElementProps<E, TransitionState> {\n ref?: React.ForwardedRef<E>;\n}\n\ntype NodeOrFunc = React.ReactNode | ((props: ItemState) => React.ReactNode);\n\ninterface AccordionItemProps\n extends ItemStateOptions,\n ElementProps<HTMLDivElement, TransitionState> {\n /**\n * Either a React node or a function that returns a React node.\n * This property defines the content of the accordion item's header.\n */\n header?: NodeOrFunc;\n\n /**\n * Can be either a React node or a function that returns a React node.\n * This property defines the main content of the accordion item.\n */\n children?: NodeOrFunc;\n\n /**\n * Specifies the HTML tag to be used for the heading element of the accordion item.\n * It can be any of the heading tags from 'h1' to 'h6'.\n */\n headingTag?: \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\";\n\n /**\n * Properties to be passed to the heading element of the accordion item.\n * It extends from `ItemElementProps` which includes standard HTML attributes and a ref.\n */\n headingProps?: ItemElementProps<HTMLHeadingElement>;\n\n /**\n * Properties to be passed to the button element within the accordion item.\n * It extends from `ItemElementProps` which includes standard HTML attributes and a ref.\n */\n buttonProps?: ItemElementProps<HTMLButtonElement>;\n\n /**\n * Properties to be passed to the content container element of the accordion item.\n * It extends from `ItemElementProps` which includes standard HTML attributes and a ref.\n */\n contentProps?: ItemElementProps<HTMLDivElement>;\n\n /**\n * Properties to be passed to the panel element inside the content container of the accordion item.\n * It extends from `ItemElementProps` which includes standard HTML attributes and a ref.\n */\n panelProps?: ItemElementProps<HTMLDivElement>;\n}\n\ninterface WrappedItemProps<E extends Element>\n extends ItemStateProps<E>,\n Omit<AccordionItemProps, \"itemRef\" | \"itemKey\" | \"initialEntered\"> {}\n\nconst getRenderNode: <P>(\n nodeOrFunc: React.ReactNode | ((props: P) => React.ReactNode),\n props: P\n) => React.ReactNode = (nodeOrFunc, props) =>\n typeof nodeOrFunc === \"function\" ? nodeOrFunc(props) : nodeOrFunc;\n\nconst WrappedItem = React.memo(\n ({\n forwardedRef,\n itemRef,\n state,\n toggle,\n className,\n disabled,\n header,\n headingTag: Heading = \"h3\",\n headingProps,\n buttonProps,\n contentProps,\n panelProps,\n children,\n ...rest\n }: WrappedItemProps<HTMLDivElement>) => {\n const itemState: ItemState = { state, toggle, disabled };\n const { buttonProps: _buttonProps, panelProps: _panelProps } =\n useAccordionItem(itemState);\n const [transitionStyle, _panelRef] =\n useHeightTransition<HTMLDivElement>(state);\n const panelRef = useMergeRef(panelProps && panelProps.ref, _panelRef);\n const { status, isMounted, isEnter } = state;\n\n const { prefix } = useSettings();\n\n const buttonClasses = classNames(`${prefix}--accordion--button`, {\n [`${prefix}--accordion--button__expanded`]: isEnter,\n // [`${className}`]: className,\n });\n\n return (\n <div\n {...rest}\n ref={useMergeRef(forwardedRef, itemRef)}\n className={bem(ACCORDION_BLOCK, \"item\", { status, expanded: isEnter })(\n className,\n state\n )}\n >\n <Heading\n {...headingProps}\n style={{ margin: 0, ...(headingProps && headingProps.style) }}\n className={bem(ACCORDION_BLOCK, \"item-heading\")(\n headingProps && headingProps.className,\n state\n )}\n >\n <button\n {...mergeProps(_buttonProps, buttonProps)}\n type=\"button\"\n className={bem(ACCORDION_BLOCK, \"item-btn\")(\n buttonProps && buttonProps.className,\n state\n )}\n >\n <ChevronDown description=\"open\" className={buttonClasses} />\n {getRenderNode(header, itemState)}\n </button>\n </Heading>\n\n {isMounted && (\n <div\n {...contentProps}\n style={{\n display: status === \"exited\" ? \"none\" : undefined,\n ...transitionStyle,\n ...(contentProps && contentProps.style),\n }}\n className={bem(ACCORDION_BLOCK, \"item-content\")(\n contentProps && contentProps.className,\n state\n )}\n >\n <div\n {...mergeProps(_panelProps, panelProps)}\n ref={panelRef}\n className={bem(ACCORDION_BLOCK, \"item-panel\")(\n panelProps && panelProps.className,\n state\n )}\n >\n {getRenderNode(children, itemState)}\n </div>\n </div>\n )}\n </div>\n );\n }\n);\n\nWrappedItem.displayName = \"AccordionItem\";\nconst AccordionItem = withAccordionItem<AccordionItemProps, HTMLDivElement>(\n WrappedItem\n);\n\nAccordionItem.displayName = \"AccordionItem\";\n\nexport { AccordionItem, AccordionItemProps };\n","import * as React from 'react';\nimport type { PropsWithChildren } from 'react';\nimport classNames from 'classnames';\nimport useSettings from '../../hooks/useSettings';\n\ntype AuthLayoutProps = PropsWithChildren<{\n /**\n * The CSS class name to be placed on the wrapping element.\n */\n className?: string;\n /**\n * The image is set as background on the left section when provided\n */\n image?: React.ReactNode;\n /**\n * This usually consist of `<BackgroundContent/>` if you wish to provide content and background color instead of an image\n */\n backgroundContent?: React.ReactNode;\n}>;\n\nconst AuthLayout: React.FC<AuthLayoutProps> = ({\n image,\n backgroundContent,\n children,\n className,\n ...other\n}) => {\n const { prefix } = useSettings();\n const style = image\n ? {\n backgroundImage: `url(${image})`,\n }\n : {};\n\n const wrapperClasses = classNames(`${prefix}--auth-background-wrapper`, {\n [`${prefix}--auth-background-image`]: image,\n [`${className}`]: className,\n });\n\n return (\n <div className={`${prefix}--auth-wrapper`} {...other}>\n <div className={wrapperClasses} style={style}>\n {backgroundContent}\n </div>\n <div className={`${prefix}--auth-content-wrapper`}>{children}</div>\n </div>\n );\n};\n\ntype BackgroundContentProps = React.ComponentPropsWithRef<'div'>;\n\nconst BackgroundContent: React.FC<BackgroundContentProps> = ({\n children,\n ...other\n}) => {\n const { prefix } = useSettings();\n return (\n <div {...other} className={`${prefix}--auth-background-content`}>\n {children}\n </div>\n );\n};\n\nexport { BackgroundContent, AuthLayout };\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\nimport { ScreenSize } from \"../../utils\";\n\nexport const pageWidths = [\"sm\", \"md\", \"lg\", \"full\"];\n\n/** Wrapper can wrap it's content in a specific width depending on if the application has a full or fixed width. */\nexport interface WrapperProps extends React.HTMLAttributes<HTMLSpanElement> {\n /** Defines the width of the wrapper. Can be one of 'xs', 'sm', 'md', 'lg', 'full', 'narrow', 'narrower', or 'narrowest'. */\n pageWidth?:\n | \"xs\"\n | \"sm\"\n | \"md\"\n | \"lg\"\n | \"full\"\n | \"narrow\"\n | \"narrower\"\n | \"narrowest\";\n\n /** Specifies the page width for mobile devices. It uses the ScreenSize type. */\n mobilePageWidth?: ScreenSize;\n\n /** Determines the spacing around the wrapper. Can be 'md' for medium or 'xl' for extra large. */\n spacing?: \"md\" | \"xl\";\n\n /** Sets the background theme. Can be 'lighter' for a light background or 'dark' for a dark background. */\n background?: \"lighter\" | \"dark\";\n\n /** Additional CSS class names to be applied to the wrapper. */\n className?: string;\n\n /** CSS class names specifically for the background of the wrapper. */\n backgroundClassName?: string;\n\n /** Custom CSS properties for the background styling. */\n backgroundStyle?: React.CSSProperties;\n}\n\nconst Wrapper: React.FC<WrapperProps> = (props) => {\n const { prefix } = useSettings();\n\n const {\n background,\n backgroundClassName,\n backgroundStyle,\n children,\n className,\n pageWidth,\n mobilePageWidth,\n spacing,\n ...other\n } = props;\n const wrapperClasses = classNames({\n [`${prefix}--wrapper`]: true,\n [`${prefix}--wrapper--width-lg`]: pageWidth === \"narrow\",\n [`${prefix}--wrapper--width-md`]: pageWidth === \"narrower\",\n [`${prefix}--wrapper--width-sm`]: pageWidth === \"narrowest\",\n [`${prefix}--wrapper--width-xs`]: pageWidth === \"narrowest\",\n [`${prefix}--wrapper--width-${pageWidth}`]: pageWidth,\n [`${prefix}--wrapper--width-mobile-full`]: mobilePageWidth === \"full\",\n [`${prefix}--wrapper--spacing-md`]: spacing === \"md\",\n [`${prefix}--wrapper--spacing-xl`]: spacing === \"xl\",\n [`${className}`]: className,\n });\n if (background || backgroundStyle || backgroundClassName) {\n const backgroundClasses = classNames(backgroundClassName, {\n [`${prefix}--wrapper--background-${background}`]: background,\n });\n\n return (\n <div className={backgroundClasses} style={backgroundStyle}>\n <div className={wrapperClasses} {...other}>\n {children}\n </div>\n </div>\n );\n }\n return (\n <div className={wrapperClasses} {...other}>\n {children}\n </div>\n );\n};\n\nexport default Wrapper;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport Wrapper from \"../Wrapper\";\nimport useSettings from \"../../hooks/useSettings\";\n\nexport interface BannerNavigationItemProps\n extends React.HTMLAttributes<HTMLDivElement> {\n /**\n * The CSS class name to be placed on the wrapping element.\n */\n className?: string;\n}\n\nconst BannerNavigationItem: React.FC<BannerNavigationItemProps> = ({\n className,\n children,\n}) => {\n const { prefix } = useSettings();\n const wrapperClasses = classNames(\n `${prefix}--banner-navigation__item`,\n className\n );\n return <li className={wrapperClasses}>{children}</li>;\n};\n\nexport interface BannerNavigationProps\n extends React.HTMLAttributes<HTMLDivElement> {\n /**\n * The CSS class name to be placed on the wrapping element.\n */\n className?: string;\n /**\n * Specify the max-width on desktop devices (same as \\`Wrapper\\` component)\n */\n pageWidth?: \"sm\" | \"md\" | \"lg\" | \"full\";\n}\n\nconst BannerNavigation: React.FC<BannerNavigationProps> = ({\n children,\n className,\n ...props\n}) => {\n const { prefix } = useSettings();\n const wrapperClasses = classNames(`${prefix}--banner-navigation`, className);\n\n return (\n <div className={wrapperClasses}>\n <Wrapper {...props}>\n <ul className={`${prefix}--banner-navigation__list`}>{children}</ul>\n </Wrapper>\n </div>\n );\n};\n\nexport { BannerNavigation, BannerNavigationItem };\n","import React, { PropsWithChildren } from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n\nexport interface FormItemProps extends React.AllHTMLAttributes<HTMLDivElement> {\n /**\n * Specify whether the FormItem should be rendered as invalid\n */\n invalid?: boolean;\n /**\n * Specify whether the FormItem should be rendered as inline\n */\n inline?: boolean;\n /**\n * Provide the contents of your FormItem\n */\n children?: React.ReactNode;\n}\n\nconst FormItem: React.FC<PropsWithChildren<FormItemProps>> = ({\n className,\n children,\n invalid,\n inline,\n ...other\n}) => {\n const { prefix } = useSettings();\n\n const classes = classNames(\n `${prefix}--form-item`,\n {\n [`${prefix}--form-item--inline`]: inline,\n [`${prefix}--form-item--invalid`]: invalid,\n },\n className\n );\n\n return (\n <div className={classes} {...other}>\n {children}\n </div>\n );\n};\n\nexport default FormItem;\n","import * as React from \"react\";\nimport { ComponentType } from \"react\";\nimport type { PropsWithChildren } from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\nimport FormItem from \"../FormItem/FormItem\";\nimport { WarningSolid } from \"@progressiveui/icons-react\";\nimport * as HookForm from \"react-hook-form\";\n\n/**\n * Optionally provide the default value of the input @design\n \n defaultValue?: string | number; */\n\nexport interface InputProps {\n /**\n * Provide text that is used alongside the control label for additional help\n */\n helperText?: React.ReactNode;\n /**\n * Provide the text that will be read by a screen reader when visiting this\n * control @design\n */\n labelText?: React.ReactNode;\n\n /**\n * Provide a custom className that is applied directly to the underlying\n * &lt;textarea&gt; node\n */\n formItemClassName?: string;\n /**\n * Provide a custom className that is applied directly to the underlying\n * &lt;input&gt; or &lt;textarea&gt; node\n */\n inputWrapperClassName?: string;\n /**\n * Specify whether you want the underlying label to be visually hidden\n */\n hideLabel?: boolean;\n /**\n * Specify whether the control is currently invalid.\n * Either a boolean in combination with `invalidText` or an `object`( eg. { message: \"Message\", …otherErrorProperties }) can be passed.\n */\n invalid?: boolean | HookForm.FieldError | any;\n /**\n * Provide the text that is displayed when the control is in an invalid state @design\n */\n invalidText?: string | React.ReactNode | any;\n /**\n * Provide the content that will be shown in addition to the label\n * (e.g. units, currency, etc.)\n * This content will be placed after the label @design\n */\n additional?: React.ReactNode;\n\n light?: boolean;\n /**\n * Specify the placeholder attribute for the input @design\n */\n placeholder?: string;\n /**\n * Provide a unique identifier for the control\n */\n id?: string;\n /**\n * Provide a name for the control\n */\n name?: string;\n /**\n * Specify if the control is required @design\n * (sets aria-invalid as well)\n */\n required?: boolean;\n /**\n * Specify if the control is disabled @design\n * (sets aria-disabled as well)\n */\n disabled?: boolean;\n /**\n * If the input is read-only, the user cannot change its value but focus\n * and tabIndex are still applied @design\n * (sets aria-readonly as well)\n */\n readOnly?: boolean;\n /**\n * Renders the input as inline element for horizontal forms\n */\n inline?: boolean;\n /**\n * Additional helper in front of the input, e.g. a currency symbol @design\n * (sets aria-describedby as well)\n */\n addonBefore?: string | React.ReactNode;\n /**\n * Additional helper behind the input, e.g. a currency symbol @design\n * (sets aria-describedby as well)\n */\n addonAfter?: string | React.ReactNode;\n /**\n * Supports replacement components\n */\n components?: {\n AddonBefore?: ComponentType<InputPropsForReplacementComponents>;\n AddonAfter?: ComponentType<InputPropsForReplacementComponents>;\n Label?: ComponentType<InputPropsForReplacementComponents>;\n HelperText?: ComponentType<InputPropsForReplacementComponents>;\n InlineErrorMessage?: ComponentType<InputPropsForReplacementComponents>;\n };\n}\n\nexport interface InputPropsForReplacementComponents\n extends InputProps,\n React.ComponentPropsWithRef<\"div\"> {\n /**\n * The classes for the label\n */\n labelClasses?: string;\n /**\n * The the ID of the element, uses the `name` prop if no `id` is provided. Make sure it is unique on the page.\n */\n calculatedId?: string;\n /**\n * The classes for the helper element\n */\n helperTextClasses?: string;\n /**\n * The classes for the error element\n */\n errorClasses?: string;\n /**\n * The id of the error. calculatedId + '-error-msg'\n */\n errorId?: string;\n /**\n * An icon for the error element\n */\n errorIcon?: React.ReactNode;\n}\n\nexport interface AddonBeforeProps {\n addonBefore?: React.ReactNode;\n prefix?: string;\n}\n\nexport function AddonBefore({\n addonBefore,\n prefix,\n}: InputPropsForReplacementComponents) {\n if (addonBefore) {\n return <div className={`${prefix}--input-addon-before`}>{addonBefore}</div>;\n }\n return null;\n}\n\nexport function AddonAfter({\n addonAfter,\n prefix,\n}: InputPropsForReplacementComponents) {\n if (addonAfter) {\n return <div className={`${prefix}--input-addon-after`}>{addonAfter}</div>;\n }\n return null;\n}\n\n/**\n * Shows the error message underneath the element */\nexport function InlineErrorMessage({\n errorId,\n errorClasses,\n invalid,\n invalidText,\n}: InputPropsForReplacementComponents) {\n if (invalid) {\n const errorIcon = <WarningSolid fill=\"#c5192d\" />;\n return (\n <div className={errorClasses} id={errorId}>\n {errorIcon}{\" \"}\n <span>\n {typeof invalid === \"object\" && invalid.message\n ? invalid.message\n : typeof invalid === \"string\"\n ? invalid\n : invalidText\n ? invalidText\n : \"required\"}\n </span>\n </div>\n );\n }\n return null;\n}\n\n/**\n * Shows a helper text under the label */\nexport function Label({\n labelClasses,\n calculatedId,\n labelText,\n required,\n hideLabel,\n}: InputPropsForReplacementComponents) {\n if (hideLabel) return null;\n return (\n <label htmlFor={calculatedId} className={labelClasses}>\n {labelText && labelText}\n {required && \"*\"}\n </label>\n );\n}\n\n/**\n * Shows a helper text under the label */\nexport function Helper({\n helperTextClasses,\n helperText,\n}: InputPropsForReplacementComponents) {\n if (helperText) return <div className={helperTextClasses}>{helperText}</div>;\n return null;\n}\n\ninterface InputPropsI extends InputProps, React.ComponentPropsWithRef<\"div\"> {\n /**\n * Provide a children to the input\n */\n children?: React.ReactNode;\n}\n\n/**\n * Input is a wrapper for custom inputs providing the label, helperText and errors. */\nconst Input: React.FC<PropsWithChildren<InputPropsI>> = ({\n additional,\n addonBefore,\n addonAfter,\n labelText,\n children,\n components: componentsOverride = {},\n //className,\n // iconDescription,\n id,\n className,\n\n inputWrapperClassName,\n //placeholder,\n //type,\n //onChange,\n //onClick,\n hideLabel,\n name,\n invalid,\n invalidText,\n helperText,\n required,\n ...other\n}) => {\n const { prefix } = useSettings();\n\n const calculatedId = id ? id : name;\n /* const inputProps = {\n id: calculatedId,\n onChange: (evt) => {\n if (!other.disabled && !other.readOnly) {\n onChange && onChange(evt);\n }\n },\n onClick: (evt) => {\n if (!other.disabled && !other.readOnly) {\n onClick && onClick(evt);\n }\n },\n placeholder,\n type,\n };*/\n\n const errorId = calculatedId + \"-error-msg\";\n\n const labelClasses = classNames(`${prefix}--label`, {\n // [`${prefix}--input--light`]: light,\n [`${prefix}--visually-hidden`]: hideLabel || !labelText,\n [`${prefix}--label--disabled`]: other.disabled,\n });\n\n const inputWrapperClasses = classNames(\n `${prefix}--input-wrapper`,\n { [`${prefix}--form-item--invalid`]: invalid },\n inputWrapperClassName\n );\n\n const helperTextClasses = classNames(`${prefix}--form__helper-text`, {\n [`${prefix}--form__helper-text--disabled`]: other.disabled,\n });\n\n const errorClasses = `${prefix}--form-requirement`;\n\n const components = {\n AddonAfter,\n AddonBefore,\n Label,\n Helper,\n InlineErrorMessage,\n ...componentsOverride,\n };\n const AddonAfterComponent =\n components.AddonAfter as React.FC<InputPropsForReplacementComponents>;\n const AddonBeforeComponent =\n components.AddonBefore as React.FC<InputPropsForReplacementComponents>;\n const LabelComponent =\n components.Label as React.FC<InputPropsForReplacementComponents>;\n const HelperComponent =\n components.Helper as React.FC<InputPropsForReplacementComponents>;\n const InlineErrorMessageComponent =\n components.InlineErrorMessage as React.FC<InputPropsForReplacementComponents>;\n\n const componentProps = {\n labelText,\n labelClasses,\n calculatedId,\n required,\n helperTextClasses,\n helperText,\n errorClasses,\n errorId,\n invalid,\n invalidText,\n addonAfter,\n addonBefore,\n hideLabel,\n prefix,\n };\n\n return (\n <FormItem className={className} inline={other.inline}>\n <LabelComponent {...componentProps} />\n <HelperComponent {...componentProps} />\n {additional}\n <div className={inputWrapperClasses}>\n <AddonBeforeComponent {...componentProps} />\n {children}\n <AddonAfterComponent {...componentProps} />\n </div>\n <InlineErrorMessageComponent {...componentProps} />\n </FormItem>\n );\n};\nInput.displayName = \"Input\";\n\nexport default Input;\n","/* eslint-disable @typescript-eslint/no-empty-function */\nimport React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n\nexport interface UseInputProps {\n /**\n * Specify an optional className to be applied to the <input> node\n */\n className?: string;\n\n /**\n * Optionally provide the default value of the <input>\n */\n defaultValue?: string | number;\n\n /**\n * Specify whether the <input> should be disabled\n */\n disabled?: boolean;\n\n /**\n * Specify an optional className to be applied to the input node\n */\n inputClassName?: string;\n\n /**\n * Specify an optional className to be applied to the input wrapper node\n */\n inputWrapperClassName?: string;\n\n /**\n * Specify a custom `id` for the <input>\n */\n id?: string;\n\n /**\n * Provide the text that will be read by a screen reader when visiting this\n * control\n */\n labelText?: React.ReactNode;\n\n /**\n * Optionally provide an `onChange` handler that is called whenever <input>\n * is updated\n */\n onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;\n\n /**\n * Optionally provide an `onClick` handler that is called whenever the\n * <input> is clicked\n */\n onClick?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;\n\n /**\n * Specify the placeholder attribute for the <input>\n */\n placeholder?: string;\n\n /**\n * Specify the type of the <input>\n */\n type?: string;\n\n /**\n * Specify the value of the <input>\n */\n value?: string | number | readonly string[] | undefined; //string | number | object;\n\n /**\n * Specify whether you want the underlying label to be visually hidden\n */\n hideLabel?: boolean;\n\n /**\n * Specify whether the control is currently invalid.\n * Either a boolean in combination with `invalidText` or an `object`( eg. { message: \"Message\", …otherErrorProperties }) can be passed.\n */\n invalid?: boolean | object;\n\n /**\n * Provide the text that is displayed when the control is in an invalid state\n */\n invalidText?: string | React.ReactNode;\n\n /**\n * Provide additional component that is used alongside the input for customization\n */\n additional?: React.ReactNode;\n //TODO\n addonAfter?: React.ReactNode;\n\n /**\n * Provide text that is used alongside the control label for additional help\n */\n helperText?: React.ReactNode;\n\n /**\n * `true` to use the light version.\n */\n light?: boolean;\n readOnly?: boolean;\n name?: string;\n}\n\n/**\n * Input is a wrapper for custom inputs providing the label, helperText and errors. */\nexport const useInput = ({\n addonAfter,\n className,\n inputClassName = \"wfp--input\",\n id,\n placeholder,\n type = \"text\",\n onChange = () => {},\n onClick = () => {},\n hideLabel,\n name,\n invalid,\n invalidText,\n labelText,\n helperText,\n light,\n value = undefined,\n //required,\n ...other\n}: UseInputProps) => {\n const { prefix } = useSettings();\n\n const calculatedId = id ? id : name;\n\n const inputClasses = classNames(`${prefix}--input`, inputClassName, {\n [`${prefix}--input--light`]: light,\n [`${prefix}--input--invalid`]: invalid, // legacy className\n });\n\n const inputProps = {\n id: calculatedId,\n name,\n className: inputClasses,\n ...other,\n onChange: (evt) => {\n if (!other.disabled && !other.readOnly) {\n onChange(evt);\n }\n },\n onClick: (evt) => {\n if (!other.disabled && !other.readOnly) {\n onClick(evt);\n }\n },\n placeholder,\n value,\n type,\n };\n\n const wrapperProps = {\n calculatedId,\n id,\n name,\n className,\n addonAfter,\n labelText,\n helperText,\n hideLabel,\n invalid,\n invalidText,\n };\n\n const errorId = calculatedId + \"-error-msg\";\n\n /*const labelClasses = classNames(`${prefix}--label`, {\n [`${prefix}--visually-hidden`]: hideLabel || !labelText,\n [`${prefix}--label--disabled`]: other.disabled,\n });*/\n\n /* const label = (\n <label htmlFor={calculatedId} className={labelClasses}>\n {labelText && labelText}\n {required && '*'}\n </label>\n );*/\n\n if (invalid) {\n inputProps[\"data-invalid\"] = true;\n inputProps[\"aria-invalid\"] = true;\n inputProps[\"aria-describedby\"] = errorId;\n }\n return { inputProps, wrapperProps };\n};\n\nexport default useInput;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\nimport Input, { InputProps, useInput } from \"../Input\";\nimport { Search as SearchIcon, Close } from \"@progressiveui/icons-react\";\nimport { UseInputProps } from \"../Input/useInput\";\n\ninterface SearchProps extends InputProps, React.ComponentPropsWithRef<\"input\"> {\n defaultValue?: string | number;\n /**\n * Specify an optional className to be applied to the form-item node\n */\n formItemClassName?: string;\n inputWrapperClassName?: string;\n /**\n * Specify whether you want the underlying label to be visually hidden\n */\n hideLabel?: boolean;\n children?: React.ReactNode | string;\n light?: boolean;\n /**\n * The text for the close Button\n */\n closeButtonLabelText?: string;\n // placeholder?: string;\n /**\n * Specify if the control should be disabled, or not\n */\n disabled?: boolean;\n id?: string;\n hideControls?: boolean;\n /**\n * Specify a style for the search input\n */\n kind?: \"large\" | \"small\" | \"main\" | \"light\" | \"banner\";\n /**\n * The new value is available first arg 'searchValue' and evt object if needed is on second arg.\n * i.e.\n * const handleChange = (searchValue, evt) => {\n * console.log(\"searchValue\", searchValue); // a string\n * console.log(\"evt\", evt); // the whole event object\n * }\n */\n onChange?: (\n event?: React.ChangeEvent<HTMLInputElement>,\n value?: string\n ) => void;\n onSearchIconClick?: () => void;\n /**\n * `true` to use the small version of Search\n */\n small?: boolean;\n value?: string;\n className?: string;\n rounded?: boolean;\n}\n\n/** Search enables users to specify a word or a phrase to find relevant pieces of content without the use of navigation. */\nconst Search: React.FC<SearchProps> = React.forwardRef((props, ref) => {\n const { prefix } = useSettings();\n\n const {\n className,\n closeButtonLabelText,\n disabled,\n // id,\n hideLabel,\n hideControls,\n labelText,\n kind = \"large\",\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n onChange = () => {},\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n onSearchIconClick = () => {},\n helperText,\n light,\n rounded,\n } = props;\n\n const initialValue = props.value;\n const [value, setValue] = React.useState(initialValue);\n\n React.useEffect(() => {\n setValue(props.value);\n }, [props.value]);\n\n const newInputRef = React.useRef<HTMLInputElement>(null);\n\n const _inputRef = ref ? ref : newInputRef;\n\n const handleChange = (evt) => {\n if (!disabled) {\n evt.persist();\n evt.imaginaryTarget = _inputRef;\n setValue(evt.target.value);\n onChange(evt, evt.target.value); //TODO: why are we passing evt as second arg\n }\n };\n\n const clearSearch = (evt) => {\n setValue(\"\");\n // setTimeout(() => {\n // console.log(\"value\", value);\n // }, 1000);\n onChange(evt, \"\");\n };\n\n const searchInputWrapperClasses = classNames(`${prefix}--number`, className, {\n [`${prefix}--number--light`]: light,\n [`${prefix}--number--helpertext`]: helperText,\n [`${prefix}--number--nolabel`]: hideLabel,\n [`${prefix}--number--nocontrols`]: hideControls,\n \"wfp--search\": true,\n \"wfp--search--lg\": kind === \"large\",\n \"wfp--search--sm\": kind === \"small\",\n \"wfp--search--main\": kind === \"main\",\n \"wfp--search--banner\": kind === \"banner\",\n \"wfp--search--light\": kind === \"light\",\n });\n\n /*const newProps = {\n disabled,\n id,\n onChange: handleChange,\n value: value,\n };*/\n\n const clearClasses = classNames({\n \"wfp--search-close\": true,\n \"wfp--search-close--hidden\": !value,\n });\n\n const searchInputClassName = classNames(\n `${prefix}--search-input`,\n className,\n {\n [`${prefix}--search-input--rounded`]: rounded,\n }\n );\n\n const useInputProps = props as UseInputProps;\n\n const { wrapperProps, inputProps } = useInput({\n ...useInputProps,\n onChange: handleChange,\n className: `${prefix}--search-input__wrapper`,\n inputClassName: searchInputClassName,\n });\n\n return (\n <Input {...wrapperProps} inputWrapperClassName={searchInputWrapperClasses}>\n <SearchIcon\n description={labelText}\n className={`${prefix}--search-magnifier-icon`}\n onClick={onSearchIconClick}\n />\n\n <input\n {...inputProps}\n ref={_inputRef as React.Ref<HTMLInputElement>}\n value={value}\n />\n <button\n className={clearClasses}\n onClick={clearSearch}\n type=\"button\"\n aria-label={closeButtonLabelText}\n >\n <Close description={closeButtonLabelText} />\n </button>\n </Input>\n );\n});\n\nSearch.displayName = \"Search\";\n\nexport default Search;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n\nexport interface LinkProps extends React.ComponentPropsWithRef<\"a\"> {\n /**\n * Provide the content for the link element\n */\n children?: React.ReactNode;\n /**\n * Adds an underline to the link element to better indicate that it is clickable in continuous text. @design\n */\n inline?: boolean;\n /**\n * Disables the link element. @design\n */\n disabled?: boolean;\n /**\n * Provide the href for the link element\n */\n href?: string;\n /**\n * Indicates that the link has been visited.\n */\n visited?: boolean;\n /**\n * Choose a size for the link element @design\n */\n size?: \"sm\" | \"md\" | \"lg\";\n /**\n * Use a solid prop for link element on a solid background @design\n */\n linkSolid?: boolean;\n /**\n * Use an icon with the link element @design\n */\n icon?: React.ReactNode | React.ComponentType | React.ElementType;\n}\n\nexport const Link = React.forwardRef<HTMLAnchorElement, LinkProps>(\n function Link(props, ref) {\n const {\n children,\n className,\n href,\n disabled,\n inline,\n visited,\n icon,\n size,\n linkSolid,\n ...other\n } = props;\n\n const { prefix } = useSettings();\n\n const classes = classNames(`${prefix}--link`, className, {\n [`${prefix}--link--disabled`]: disabled,\n [`${prefix}--link--inline`]: inline,\n [`${prefix}--link--visited`]: visited,\n [`${prefix}--link--${size}`]: size,\n [`${prefix}--link--icon`]: icon,\n [`${prefix}--link--solid`]: linkSolid,\n });\n\n const rel = other.target === \"_blank\" ? \"noopener\" : undefined;\n\n const IconAsComponent = icon as React.ComponentType<any>;\n return (\n <a\n href={disabled ? undefined : href}\n className={classes}\n rel={rel}\n ref={ref}\n aria-disabled={disabled}\n {...other}\n >\n {children}\n {icon && React.isValidElement(icon) ? (\n <span className={`${prefix}--link__icon`}>{icon}</span>\n ) : icon ? (\n <IconAsComponent />\n ) : null}\n </a>\n );\n }\n);\n\nLink.displayName = \"Link\";\n\nexport default Link;\n","import * as React from 'react';\nimport { BannerNavigation, BannerNavigationItem } from './BannerNavigation';\nimport Search from '../Search';\nimport Link from '../Link';\n\ntype BannerNavigationWithContentProps = {\n /**\n * A onChange Function for the search\n */\n // eslint-disable-next-line @typescript-eslint/ban-types\n searchOnChange?: () => {};\n /**\n * Allows to disable the search input\n */\n search?: boolean;\n};\n\nconst BannerNavigationWithContent: React.FC<\n BannerNavigationWithContentProps\n> = ({ searchOnChange, search, ...other }) => (\n <BannerNavigation {...other}>\n <BannerNavigationItem>\n <Link href=\"http://communities.wfp.org\" target=\"_blank\">\n Communities\n </Link>\n </BannerNavigationItem>\n <BannerNavigationItem>\n <Link href=\"http://manuals.wfp.org\" target=\"_blank\">\n Manuals\n </Link>\n </BannerNavigationItem>\n <BannerNavigationItem>\n <Link href=\"https://newgo.docs.wfp.org\" target=\"_blank\">\n GoDocs\n </Link>\n </BannerNavigationItem>\n <BannerNavigationItem>\n <Link href=\"https://welearn.wfp.org\" target=\"_blank\">\n WeLearn\n </Link>\n </BannerNavigationItem>\n <BannerNavigationItem>\n <Link href=\"https://dashboard.wfp.org\" target=\"_blank\">\n Dashboard\n </Link>\n </BannerNavigationItem>\n <BannerNavigationItem>\n <Link href=\"http://opweb.wfp.org\" target=\"_blank\">\n OPweb\n </Link>\n </BannerNavigationItem>\n <BannerNavigationItem>\n <Link href=\"https://selfservice.go.wfp.org\" target=\"_blank\">\n Self-Service\n </Link>\n </BannerNavigationItem>\n <BannerNavigationItem>\n <Link href=\"https://erpapps.wfp.org/fiori\" target=\"_blank\">\n WeTravel\n </Link>\n </BannerNavigationItem>\n <BannerNavigationItem>\n <Link href=\"https://unbooking.org/\" target=\"_blank\">\n UN Booking Hub\n </Link>\n </BannerNavigationItem>\n <BannerNavigationItem>\n <Link href=\"https://wfp.org\" target=\"_blank\">\n WFP.org\n </Link>\n </BannerNavigationItem>\n {search && (\n <BannerNavigationItem>\n <form\n action=\"http://gtd.wfp.org\"\n method=\"GET\"\n acceptCharset=\"UTF-8\"\n target=\"_blank\">\n <Search\n kind=\"banner\"\n id=\"search-2\"\n labelText=\"Find People\"\n name=\"q\"\n placeholder=\"Find People\"\n onChange={searchOnChange}\n />\n </form>\n </BannerNavigationItem>\n )}\n </BannerNavigation>\n);\n\nexport { BannerNavigationWithContent };\n","import * as React from \"react\";\nimport { User as UserIcon } from \"@progressiveui/icons-react\";\nimport useSettings from \"../../hooks/useSettings\";\nimport classNames from \"classnames\";\n\nexport interface AvatarProps extends React.HTMLAttributes<HTMLSpanElement> {\n /**\n * Provide the alt text for the image.\n */\n alt?: string;\n /**\n * Specify the type of Tag @design\n */\n missingImage?: \"avatar\" | \"letter\";\n /**\n * Url to an avatar image The size of the image is 25px * 25px.\n * Provide at least 50px * 50px to support HiDPI displays.\n */\n image?: string;\n /**\n * The username which will be displayed in the avatar.\n */\n name?: string;\n /**\n * Additional props for the UserIcon component\n */\n userIconProps?: React.ComponentProps<typeof UserIcon>;\n}\n\n/**\n * Avatar is used to display a user image or icon.\n */\n\nfunction Avatar({\n alt,\n className,\n image,\n missingImage = \"avatar\",\n name,\n userIconProps,\n ...other\n}: AvatarProps) {\n const { prefix } = useSettings();\n\n if (!image && missingImage === \"avatar\") {\n const classes = classNames(\n `${prefix}--avatar`,\n `${prefix}--avatar--empty`,\n `${prefix}--avatar--missing`,\n className\n );\n\n return (\n <UserIcon\n fill=\"#ffffff\"\n description={alt}\n className={classes}\n {...userIconProps}\n {...other}\n />\n );\n } else if (image === undefined && missingImage === \"letter\") {\n const classes = classNames(\n `${prefix}--avatar`,\n `${prefix}--avatar--empty`,\n `${prefix}--avatar--letter`,\n className\n );\n\n return (\n <svg\n id=\"avatar-layer\"\n className={classes}\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 25 25\"\n height=\"25px\"\n width=\"25px\"\n >\n <text x=\"50%\" y=\"57%\" dominantBaseline=\"middle\" textAnchor=\"middle\">\n {name && name.toUpperCase()[0]}\n </text>\n </svg>\n );\n } else {\n const classes = classNames(`${prefix}--avatar`, className);\n\n return (\n <div {...other} className={classes}>\n <img alt={alt} src={image} />\n </div>\n );\n }\n return null;\n}\n\nAvatar.displayName = \"Avatar\";\n\nexport default Avatar;\n","import React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n\n/**\n * The breadcrumb is a secondary navigation pattern that helps a user understand the hierarchy among levels and navigate back through them. */\ninterface BreadcrumbProps extends React.ComponentPropsWithoutRef<\"div\"> {\n /**\n * Pass in the BreadcrumbItem's for your Breadcrumb\n */\n children?: React.ReactNode;\n}\n\nconst Breadcrumb = ({ children, className, ...other }: BreadcrumbProps) => {\n const { prefix } = useSettings();\n const classes = classNames(className, {\n [`${prefix}--breadcrumb`]: true,\n [`${prefix}--breadcrumb--no-trailing-slash`]: true,\n });\n return (\n <div className={classes} {...other}>\n {children}\n </div>\n );\n};\n\nexport default Breadcrumb;\n","import React from \"react\";\nimport classNames from \"classnames\";\nimport Link from \"../Link\";\nimport useSettings from \"../../hooks/useSettings\";\n\nconst newChild = (children, disableLink, href) => {\n const { prefix } = useSettings();\n if (disableLink === true) {\n return <span>{children}</span>;\n } else if (typeof children === \"string\" && !(href === undefined)) {\n return <Link href={href}>{children}</Link>;\n } else {\n return React.cloneElement(React.Children.only(children), {\n className: `${prefix}--link`,\n });\n }\n};\n\ninterface BreadcrumbItemProps extends React.ComponentPropsWithoutRef<\"div\"> {\n /**\n * Specify an link for the `BreadcrumbItem`\n */\n href?: string;\n /**\n * The children elements, usually a link\n */\n children?: React.ReactNode;\n /**\n * Specify `BreadcrumbItem` to be interactive/enabled or non-interactive/disabled\n */\n disableLink?: boolean;\n /**\n * Specify an optional className to be added to the `BreadcrumbItem` Icon\n */\n className?: string;\n}\n\nconst BreadcrumbItem = ({\n children,\n className,\n disableLink,\n href,\n ...other\n}: BreadcrumbItemProps) => {\n const { prefix } = useSettings();\n const classes = classNames(`${prefix}--breadcrumb-item`, className);\n return (\n <div className={classes} {...other}>\n {newChild(children, disableLink, href)}\n </div>\n );\n};\n\nexport default BreadcrumbItem;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport { Home } from \"@progressiveui/icons-react\";\nimport useSettings from \"../../hooks/useSettings\";\n\ninterface BreadcrumbHomeProps {\n /**\n * Specify an optional text for the `Home` Icon\n */\n hometext?: React.ReactNode;\n /**\n * Specify an optional className to be added to the `Home` Icon\n */\n className?: string;\n}\n\nconst BreadcrumbHome: React.FC<BreadcrumbHomeProps> = ({\n className,\n hometext,\n ...other\n}) => {\n const { prefix } = useSettings();\n const classes = classNames(`${prefix}--breadcrumb-home`, className);\n return (\n <Home\n //icon={iconHome}\n fill=\"#0b77c2\"\n width=\"14\"\n height=\"14\"\n description={hometext}\n className={classes}\n {...other}\n />\n );\n};\n\nexport default BreadcrumbHome;\n","import * as React from \"react\";\nimport { useState, useEffect } from \"react\";\n\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\nimport { ButtonKind } from \"../../utils\";\n\ninterface ButtonBaseProps {\n /**\n * Content of the Button @design\n */\n children?: React.ReactNode;\n /**\n * Specify whether the Button should be a small variant @design\n */\n small?: boolean;\n /**\n * Specify whether the Button should be a large variant\n */\n large?: boolean;\n /**\n * Specify btnSolid to buttons on solid background to make it stand out\n */\n btnSolid?: boolean;\n /**\n * Specify the kind of Button you want to create @design\n */\n kind?: ButtonKind;\n /**\n * Optionally specify an href for your Button to become an element\n */\n href?: string;\n /**\n * Specify an `icon` to include in the Button through an object representing the SVG data of the icon, similar to the `Icon` component @design\n */\n icon?: React.ReactNode | React.ComponentType<any>;\n /**\n * Optionally specify an href for your Button to become an element @design\n */\n iconReverse?: boolean;\n /**\n * Icon description for accessibility\n */\n iconDescription?: string;\n /**\n * Specify whether the Button should be disabled, or not\n */\n disabled?: boolean;\n /**\n * Optional prop to specify the tabIndex of the Button\n */\n tabIndex?: number;\n target?: React.AnchorHTMLAttributes<HTMLAnchorElement>[\"target\"];\n useFlexbox?: boolean;\n id?: string;\n}\n\ninterface ButtonButtonProps\n extends ButtonBaseProps,\n React.ComponentPropsWithoutRef<\"button\"> {}\n\ninterface ButtonLinkProps\n extends ButtonBaseProps,\n React.ComponentPropsWithoutRef<\"a\"> {}\n\ntype ConditionalProps<T> = T extends { href: string }\n ? ButtonLinkProps\n : ButtonButtonProps;\n\n/**\n * Buttons express what action will occur when the user clicks or touches it. Buttons are used to initialize an action, either in the background or foreground of an experience.\n */\nexport type ButtonRef<T extends React.ElementType> =\n React.ComponentPropsWithRef<T>[\"ref\"];\n\nexport const Button = React.forwardRef(\n <T extends { href?: string }>(\n props: ConditionalProps<T>,\n ref: React.Ref<\n T extends { href: string } ? HTMLAnchorElement : HTMLButtonElement\n >,\n ) => {\n const {\n children,\n className,\n disabled,\n small,\n large,\n btnSolid,\n kind = \"primary\",\n iconReverse,\n tabIndex,\n useFlexbox,\n // Set the default to \"button\"\n type = \"button\",\n icon,\n iconDescription,\n onClick,\n id,\n ...other\n } = props;\n const { prefix } = useSettings();\n const [count, setCount] = useState(false);\n\n useEffect(() => {\n const timer = setTimeout(() => endAnimation(), 500);\n return () => {\n clearTimeout(timer);\n };\n }, [count]);\n\n const buttonClasses = classNames(className, {\n [`${prefix}--btn`]: true,\n [`${prefix}--btn--sm`]: small,\n [`${prefix}--btn--lg`]: large,\n [`${prefix}--btn--icon-reverse`]: iconReverse,\n [`${prefix}--btn--flexbox`]: useFlexbox,\n [`${prefix}--btn--icon-only`]: icon && children === undefined,\n [`${prefix}--btn--${kind}`]: kind,\n [`${prefix}--btn--${kind}-solid`]: btnSolid,\n [`${prefix}--btn--animating`]: count,\n });\n\n const commonProps = {\n tabIndex,\n className: buttonClasses,\n };\n\n let buttonImage: React.ReactNode = null;\n\n if (icon && React.isValidElement(icon)) {\n buttonImage = <span className={`${prefix}--btn__icon`}>{icon}</span>;\n } else if (icon) {\n const Icon = icon as any;\n buttonImage = (\n <Icon\n description={iconDescription}\n className={`${prefix}--btn__icon`}\n />\n );\n }\n\n const endAnimation = () => {\n setCount(false);\n };\n\n const onClickAnimation = (\n e: React.MouseEvent<HTMLButtonElement | HTMLAnchorElement>,\n ) => {\n if (onClick) {\n onClick(e);\n }\n setCount(true);\n };\n\n if (other.href) {\n const anchorProps = {\n ...other,\n href: other.href,\n } as React.AnchorHTMLAttributes<HTMLAnchorElement>;\n\n return (\n <a\n {...anchorProps}\n {...commonProps}\n role=\"button\"\n onClick={onClickAnimation}\n ref={ref as React.Ref<HTMLAnchorElement>}\n id={id}\n >\n {iconReverse && buttonImage}\n {children}\n {!iconReverse && buttonImage}\n </a>\n );\n }\n\n const buttonProps = {\n ...other,\n disabled: disabled,\n } as React.ButtonHTMLAttributes<HTMLButtonElement>;\n\n return (\n <button\n {...buttonProps}\n {...commonProps}\n disabled={disabled}\n // Cast the type prop to the allowed union\n type={type as \"button\" | \"reset\" | \"submit\"}\n onClick={onClickAnimation}\n ref={ref as React.Ref<HTMLButtonElement>}\n id={id}\n >\n {iconReverse && buttonImage}\n {children}\n {!iconReverse && buttonImage}\n </button>\n );\n },\n);\n\nButton.displayName = \"Button\";\n\nexport default Button;\n","/** @license React v16.13.1\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var b=\"function\"===typeof Symbol&&Symbol.for,c=b?Symbol.for(\"react.element\"):60103,d=b?Symbol.for(\"react.portal\"):60106,e=b?Symbol.for(\"react.fragment\"):60107,f=b?Symbol.for(\"react.strict_mode\"):60108,g=b?Symbol.for(\"react.profiler\"):60114,h=b?Symbol.for(\"react.provider\"):60109,k=b?Symbol.for(\"react.context\"):60110,l=b?Symbol.for(\"react.async_mode\"):60111,m=b?Symbol.for(\"react.concurrent_mode\"):60111,n=b?Symbol.for(\"react.forward_ref\"):60112,p=b?Symbol.for(\"react.suspense\"):60113,q=b?\nSymbol.for(\"react.suspense_list\"):60120,r=b?Symbol.for(\"react.memo\"):60115,t=b?Symbol.for(\"react.lazy\"):60116,v=b?Symbol.for(\"react.block\"):60121,w=b?Symbol.for(\"react.fundamental\"):60117,x=b?Symbol.for(\"react.responder\"):60118,y=b?Symbol.for(\"react.scope\"):60119;\nfunction z(a){if(\"object\"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;\nexports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isAsyncMode=function(a){return A(a)||z(a)===l};exports.isConcurrentMode=A;exports.isContextConsumer=function(a){return z(a)===k};exports.isContextProvider=function(a){return z(a)===h};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return z(a)===n};exports.isFragment=function(a){return z(a)===e};exports.isLazy=function(a){return z(a)===t};\nexports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return z(a)===d};exports.isProfiler=function(a){return z(a)===g};exports.isStrictMode=function(a){return z(a)===f};exports.isSuspense=function(a){return z(a)===p};\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||\"object\"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z;\n","/** @license React v16.13.1\n * react-is.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\n// The Symbol used to tag the ReactElement-like types. If there is no native Symbol\n// nor polyfill, then a plain number is used for performance.\nvar hasSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;\nvar REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;\nvar REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;\nvar REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;\nvar REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;\nvar REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;\nvar REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary\n// (unstable) APIs that have been removed. Can we remove the symbols?\n\nvar REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;\nvar REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;\nvar REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;\nvar REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;\nvar REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;\nvar REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;\nvar REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;\nvar REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;\nvar REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;\nvar REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;\nvar REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;\n\nfunction isValidElementType(type) {\n return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.\n type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);\n}\n\nfunction typeOf(object) {\n if (typeof object === 'object' && object !== null) {\n var $$typeof = object.$$typeof;\n\n switch ($$typeof) {\n case REACT_ELEMENT_TYPE:\n var type = object.type;\n\n switch (type) {\n case REACT_ASYNC_MODE_TYPE:\n case REACT_CONCURRENT_MODE_TYPE:\n case REACT_FRAGMENT_TYPE:\n case REACT_PROFILER_TYPE:\n case REACT_STRICT_MODE_TYPE:\n case REACT_SUSPENSE_TYPE:\n return type;\n\n default:\n var $$typeofType = type && type.$$typeof;\n\n switch ($$typeofType) {\n case REACT_CONTEXT_TYPE:\n case REACT_FORWARD_REF_TYPE:\n case REACT_LAZY_TYPE:\n case REACT_MEMO_TYPE:\n case REACT_PROVIDER_TYPE:\n return $$typeofType;\n\n default:\n return $$typeof;\n }\n\n }\n\n case REACT_PORTAL_TYPE:\n return $$typeof;\n }\n }\n\n return undefined;\n} // AsyncMode is deprecated along with isAsyncMode\n\nvar AsyncMode = REACT_ASYNC_MODE_TYPE;\nvar ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;\nvar ContextConsumer = REACT_CONTEXT_TYPE;\nvar ContextProvider = REACT_PROVIDER_TYPE;\nvar Element = REACT_ELEMENT_TYPE;\nvar ForwardRef = REACT_FORWARD_REF_TYPE;\nvar Fragment = REACT_FRAGMENT_TYPE;\nvar Lazy = REACT_LAZY_TYPE;\nvar Memo = REACT_MEMO_TYPE;\nvar Portal = REACT_PORTAL_TYPE;\nvar Profiler = REACT_PROFILER_TYPE;\nvar StrictMode = REACT_STRICT_MODE_TYPE;\nvar Suspense = REACT_SUSPENSE_TYPE;\nvar hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated\n\nfunction isAsyncMode(object) {\n {\n if (!hasWarnedAboutDeprecatedIsAsyncMode) {\n hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint\n\n 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.');\n }\n }\n\n return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;\n}\nfunction isConcurrentMode(object) {\n return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;\n}\nfunction isContextConsumer(object) {\n return typeOf(object) === REACT_CONTEXT_TYPE;\n}\nfunction isContextProvider(object) {\n return typeOf(object) === REACT_PROVIDER_TYPE;\n}\nfunction isElement(object) {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n}\nfunction isForwardRef(object) {\n return typeOf(object) === REACT_FORWARD_REF_TYPE;\n}\nfunction isFragment(object) {\n return typeOf(object) === REACT_FRAGMENT_TYPE;\n}\nfunction isLazy(object) {\n return typeOf(object) === REACT_LAZY_TYPE;\n}\nfunction isMemo(object) {\n return typeOf(object) === REACT_MEMO_TYPE;\n}\nfunction isPortal(object) {\n return typeOf(object) === REACT_PORTAL_TYPE;\n}\nfunction isProfiler(object) {\n return typeOf(object) === REACT_PROFILER_TYPE;\n}\nfunction isStrictMode(object) {\n return typeOf(object) === REACT_STRICT_MODE_TYPE;\n}\nfunction isSuspense(object) {\n return typeOf(object) === REACT_SUSPENSE_TYPE;\n}\n\nexports.AsyncMode = AsyncMode;\nexports.ConcurrentMode = ConcurrentMode;\nexports.ContextConsumer = ContextConsumer;\nexports.ContextProvider = ContextProvider;\nexports.Element = Element;\nexports.ForwardRef = ForwardRef;\nexports.Fragment = Fragment;\nexports.Lazy = Lazy;\nexports.Memo = Memo;\nexports.Portal = Portal;\nexports.Profiler = Profiler;\nexports.StrictMode = StrictMode;\nexports.Suspense = Suspense;\nexports.isAsyncMode = isAsyncMode;\nexports.isConcurrentMode = isConcurrentMode;\nexports.isContextConsumer = isContextConsumer;\nexports.isContextProvider = isContextProvider;\nexports.isElement = isElement;\nexports.isForwardRef = isForwardRef;\nexports.isFragment = isFragment;\nexports.isLazy = isLazy;\nexports.isMemo = isMemo;\nexports.isPortal = isPortal;\nexports.isProfiler = isProfiler;\nexports.isStrictMode = isStrictMode;\nexports.isSuspense = isSuspense;\nexports.isValidElementType = isValidElementType;\nexports.typeOf = typeOf;\n })();\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n","/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","module.exports = Function.call.bind(Object.prototype.hasOwnProperty);\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n var loggedTypeFailures = {};\n var has = require('./lib/has');\n\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) { /**/ }\n };\n}\n\n/**\n * Assert that the values match with the type specs.\n * Error messages are memorized and will only be shown once.\n *\n * @param {object} typeSpecs Map of name to a ReactPropType\n * @param {object} values Runtime values that need to be type-checked\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @param {string} componentName Name of the component for error messages.\n * @param {?Function} getStack Returns the component stack.\n * @private\n */\nfunction checkPropTypes(typeSpecs, values, location, componentName, getStack) {\n if (process.env.NODE_ENV !== 'production') {\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error;\n // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n var err = Error(\n (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +\n 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +\n 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'\n );\n err.name = 'Invariant Violation';\n throw err;\n }\n error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);\n } catch (ex) {\n error = ex;\n }\n if (error && !(error instanceof Error)) {\n printWarning(\n (componentName || 'React class') + ': type specification of ' +\n location + ' `' + typeSpecName + '` is invalid; the type checker ' +\n 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +\n 'You may have forgotten to pass an argument to the type checker ' +\n 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +\n 'shape all require an argument).'\n );\n }\n if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error.message] = true;\n\n var stack = getStack ? getStack() : '';\n\n printWarning(\n 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')\n );\n }\n }\n }\n }\n}\n\n/**\n * Resets warning cache when testing.\n *\n * @private\n */\ncheckPropTypes.resetWarningCache = function() {\n if (process.env.NODE_ENV !== 'production') {\n loggedTypeFailures = {};\n }\n}\n\nmodule.exports = checkPropTypes;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactIs = require('react-is');\nvar assign = require('object-assign');\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\nvar has = require('./lib/has');\nvar checkPropTypes = require('./checkPropTypes');\n\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n}\n\nfunction emptyFunctionThatReturnsNull() {\n return null;\n}\n\nmodule.exports = function(isValidElement, throwOnDirectAccess) {\n /* global Symbol */\n var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\n var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.\n\n /**\n * Returns the iterator method function contained on the iterable object.\n *\n * Be sure to invoke the function with the iterable as context:\n *\n * var iteratorFn = getIteratorFn(myIterable);\n * if (iteratorFn) {\n * var iterator = iteratorFn.call(myIterable);\n * ...\n * }\n *\n * @param {?object} maybeIterable\n * @return {?function}\n */\n function getIteratorFn(maybeIterable) {\n var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);\n if (typeof iteratorFn === 'function') {\n return iteratorFn;\n }\n }\n\n /**\n * Collection of methods that allow declaration and validation of props that are\n * supplied to React components. Example usage:\n *\n * var Props = require('ReactPropTypes');\n * var MyArticle = React.createClass({\n * propTypes: {\n * // An optional string prop named \"description\".\n * description: Props.string,\n *\n * // A required enum prop named \"category\".\n * category: Props.oneOf(['News','Photos']).isRequired,\n *\n * // A prop named \"dialog\" that requires an instance of Dialog.\n * dialog: Props.instanceOf(Dialog).isRequired\n * },\n * render: function() { ... }\n * });\n *\n * A more formal specification of how these methods are used:\n *\n * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)\n * decl := ReactPropTypes.{type}(.isRequired)?\n *\n * Each and every declaration produces a function with the same signature. This\n * allows the creation of custom validation functions. For example:\n *\n * var MyLink = React.createClass({\n * propTypes: {\n * // An optional string or URI prop named \"href\".\n * href: function(props, propName, componentName) {\n * var propValue = props[propName];\n * if (propValue != null && typeof propValue !== 'string' &&\n * !(propValue instanceof URI)) {\n * return new Error(\n * 'Expected a string or an URI for ' + propName + ' in ' +\n * componentName\n * );\n * }\n * }\n * },\n * render: function() {...}\n * });\n *\n * @internal\n */\n\n var ANONYMOUS = '<<anonymous>>';\n\n // Important!\n // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.\n var ReactPropTypes = {\n array: createPrimitiveTypeChecker('array'),\n bigint: createPrimitiveTypeChecker('bigint'),\n bool: createPrimitiveTypeChecker('boolean'),\n func: createPrimitiveTypeChecker('function'),\n number: createPrimitiveTypeChecker('number'),\n object: createPrimitiveTypeChecker('object'),\n string: createPrimitiveTypeChecker('string'),\n symbol: createPrimitiveTypeChecker('symbol'),\n\n any: createAnyTypeChecker(),\n arrayOf: createArrayOfTypeChecker,\n element: createElementTypeChecker(),\n elementType: createElementTypeTypeChecker(),\n instanceOf: createInstanceTypeChecker,\n node: createNodeChecker(),\n objectOf: createObjectOfTypeChecker,\n oneOf: createEnumTypeChecker,\n oneOfType: createUnionTypeChecker,\n shape: createShapeTypeChecker,\n exact: createStrictShapeTypeChecker,\n };\n\n /**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\n /*eslint-disable no-self-compare*/\n function is(x, y) {\n // SameValue algorithm\n if (x === y) {\n // Steps 1-5, 7-10\n // Steps 6.b-6.e: +0 != -0\n return x !== 0 || 1 / x === 1 / y;\n } else {\n // Step 6.a: NaN == NaN\n return x !== x && y !== y;\n }\n }\n /*eslint-enable no-self-compare*/\n\n /**\n * We use an Error-like object for backward compatibility as people may call\n * PropTypes directly and inspect their output. However, we don't use real\n * Errors anymore. We don't inspect their stack anyway, and creating them\n * is prohibitively expensive if they are created too often, such as what\n * happens in oneOfType() for any type before the one that matched.\n */\n function PropTypeError(message, data) {\n this.message = message;\n this.data = data && typeof data === 'object' ? data: {};\n this.stack = '';\n }\n // Make `instanceof Error` still work for returned errors.\n PropTypeError.prototype = Error.prototype;\n\n function createChainableTypeChecker(validate) {\n if (process.env.NODE_ENV !== 'production') {\n var manualPropTypeCallCache = {};\n var manualPropTypeWarningCount = 0;\n }\n function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {\n componentName = componentName || ANONYMOUS;\n propFullName = propFullName || propName;\n\n if (secret !== ReactPropTypesSecret) {\n if (throwOnDirectAccess) {\n // New behavior only for users of `prop-types` package\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use `PropTypes.checkPropTypes()` to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {\n // Old behavior for people using React.PropTypes\n var cacheKey = componentName + ':' + propName;\n if (\n !manualPropTypeCallCache[cacheKey] &&\n // Avoid spamming the console because they are often not actionable except for lib authors\n manualPropTypeWarningCount < 3\n ) {\n printWarning(\n 'You are manually calling a React.PropTypes validation ' +\n 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +\n 'and will throw in the standalone `prop-types` package. ' +\n 'You may be seeing this warning due to a third-party PropTypes ' +\n 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'\n );\n manualPropTypeCallCache[cacheKey] = true;\n manualPropTypeWarningCount++;\n }\n }\n }\n if (props[propName] == null) {\n if (isRequired) {\n if (props[propName] === null) {\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));\n }\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));\n }\n return null;\n } else {\n return validate(props, propName, componentName, location, propFullName);\n }\n }\n\n var chainedCheckType = checkType.bind(null, false);\n chainedCheckType.isRequired = checkType.bind(null, true);\n\n return chainedCheckType;\n }\n\n function createPrimitiveTypeChecker(expectedType) {\n function validate(props, propName, componentName, location, propFullName, secret) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== expectedType) {\n // `propValue` being instance of, say, date/regexp, pass the 'object'\n // check, but we can offer a more precise error message here rather than\n // 'of type `object`'.\n var preciseType = getPreciseType(propValue);\n\n return new PropTypeError(\n 'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),\n {expectedType: expectedType}\n );\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createAnyTypeChecker() {\n return createChainableTypeChecker(emptyFunctionThatReturnsNull);\n }\n\n function createArrayOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');\n }\n var propValue = props[propName];\n if (!Array.isArray(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));\n }\n for (var i = 0; i < propValue.length; i++) {\n var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!isValidElement(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!ReactIs.isValidElementType(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createInstanceTypeChecker(expectedClass) {\n function validate(props, propName, componentName, location, propFullName) {\n if (!(props[propName] instanceof expectedClass)) {\n var expectedClassName = expectedClass.name || ANONYMOUS;\n var actualClassName = getClassName(props[propName]);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createEnumTypeChecker(expectedValues) {\n if (!Array.isArray(expectedValues)) {\n if (process.env.NODE_ENV !== 'production') {\n if (arguments.length > 1) {\n printWarning(\n 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +\n 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'\n );\n } else {\n printWarning('Invalid argument supplied to oneOf, expected an array.');\n }\n }\n return emptyFunctionThatReturnsNull;\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n for (var i = 0; i < expectedValues.length; i++) {\n if (is(propValue, expectedValues[i])) {\n return null;\n }\n }\n\n var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {\n var type = getPreciseType(value);\n if (type === 'symbol') {\n return String(value);\n }\n return value;\n });\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createObjectOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');\n }\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));\n }\n for (var key in propValue) {\n if (has(propValue, key)) {\n var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createUnionTypeChecker(arrayOfTypeCheckers) {\n if (!Array.isArray(arrayOfTypeCheckers)) {\n process.env.NODE_ENV !== 'production' ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;\n return emptyFunctionThatReturnsNull;\n }\n\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (typeof checker !== 'function') {\n printWarning(\n 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +\n 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'\n );\n return emptyFunctionThatReturnsNull;\n }\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var expectedTypes = [];\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);\n if (checkerResult == null) {\n return null;\n }\n if (checkerResult.data && has(checkerResult.data, 'expectedType')) {\n expectedTypes.push(checkerResult.data.expectedType);\n }\n }\n var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createNodeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n if (!isNode(props[propName])) {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function invalidValidatorError(componentName, location, propFullName, key, type) {\n return new PropTypeError(\n (componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +\n 'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'\n );\n }\n\n function createShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n for (var key in shapeTypes) {\n var checker = shapeTypes[key];\n if (typeof checker !== 'function') {\n return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createStrictShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n // We need to check all keys in case some are required but missing from props.\n var allKeys = assign({}, props[propName], shapeTypes);\n for (var key in allKeys) {\n var checker = shapeTypes[key];\n if (has(shapeTypes, key) && typeof checker !== 'function') {\n return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));\n }\n if (!checker) {\n return new PropTypeError(\n 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +\n '\\nBad object: ' + JSON.stringify(props[propName], null, ' ') +\n '\\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')\n );\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function isNode(propValue) {\n switch (typeof propValue) {\n case 'number':\n case 'string':\n case 'undefined':\n return true;\n case 'boolean':\n return !propValue;\n case 'object':\n if (Array.isArray(propValue)) {\n return propValue.every(isNode);\n }\n if (propValue === null || isValidElement(propValue)) {\n return true;\n }\n\n var iteratorFn = getIteratorFn(propValue);\n if (iteratorFn) {\n var iterator = iteratorFn.call(propValue);\n var step;\n if (iteratorFn !== propValue.entries) {\n while (!(step = iterator.next()).done) {\n if (!isNode(step.value)) {\n return false;\n }\n }\n } else {\n // Iterator will provide entry [k,v] tuples rather than values.\n while (!(step = iterator.next()).done) {\n var entry = step.value;\n if (entry) {\n if (!isNode(entry[1])) {\n return false;\n }\n }\n }\n }\n } else {\n return false;\n }\n\n return true;\n default:\n return false;\n }\n }\n\n function isSymbol(propType, propValue) {\n // Native Symbol.\n if (propType === 'symbol') {\n return true;\n }\n\n // falsy value can't be a Symbol\n if (!propValue) {\n return false;\n }\n\n // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'\n if (propValue['@@toStringTag'] === 'Symbol') {\n return true;\n }\n\n // Fallback for non-spec compliant Symbols which are polyfilled.\n if (typeof Symbol === 'function' && propValue instanceof Symbol) {\n return true;\n }\n\n return false;\n }\n\n // Equivalent of `typeof` but with special handling for array and regexp.\n function getPropType(propValue) {\n var propType = typeof propValue;\n if (Array.isArray(propValue)) {\n return 'array';\n }\n if (propValue instanceof RegExp) {\n // Old webkits (at least until Android 4.0) return 'function' rather than\n // 'object' for typeof a RegExp. We'll normalize this here so that /bla/\n // passes PropTypes.object.\n return 'object';\n }\n if (isSymbol(propType, propValue)) {\n return 'symbol';\n }\n return propType;\n }\n\n // This handles more types than `getPropType`. Only used for error messages.\n // See `createPrimitiveTypeChecker`.\n function getPreciseType(propValue) {\n if (typeof propValue === 'undefined' || propValue === null) {\n return '' + propValue;\n }\n var propType = getPropType(propValue);\n if (propType === 'object') {\n if (propValue instanceof Date) {\n return 'date';\n } else if (propValue instanceof RegExp) {\n return 'regexp';\n }\n }\n return propType;\n }\n\n // Returns a string that is postfixed to a warning about an invalid type.\n // For example, \"undefined\" or \"of type array\"\n function getPostfixForTypeWarning(value) {\n var type = getPreciseType(value);\n switch (type) {\n case 'array':\n case 'object':\n return 'an ' + type;\n case 'boolean':\n case 'date':\n case 'regexp':\n return 'a ' + type;\n default:\n return type;\n }\n }\n\n // Returns class name of the object, if any.\n function getClassName(propValue) {\n if (!propValue.constructor || !propValue.constructor.name) {\n return ANONYMOUS;\n }\n return propValue.constructor.name;\n }\n\n ReactPropTypes.checkPropTypes = checkPropTypes;\n ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bigint: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n","import { oneOf } from \"prop-types\";\n\n// TODO: remove legacy\nexport const ButtonTypes = {\n buttonKind: oneOf([\n \"primary\",\n \"secondary\",\n \"accent\",\n \"danger\",\n \"ghost\",\n \"inverse--primary\",\n \"inverse\",\n \"danger--primary\",\n \"tertiary\",\n \"navigation\",\n ]),\n};\n\nexport const buttonKinds = [\n \"primary\",\n \"secondary\",\n \"tertiary\",\n \"accent\",\n \"danger--primary\",\n \"danger\",\n \"ghost\",\n \"inverse--primary\",\n \"inverse\",\n \"navigation\",\n];\n\nexport const notificationtypes = [\"info\", \"success\", \"warning\", \"error\"];\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n// import { IIcon } from '../../utils';\n\ninterface EmptyProps extends Omit<React.ComponentPropsWithRef<\"div\">, \"title\"> {\n /**\n * The content to be rendered in the empty state. @design\n */\n children?: React.ReactNode;\n /**\n * The title to be rendered in the empty state.\n */\n title?: React.ReactNode;\n /**\n * The kind of empty state to be rendered. @design\n */\n kind?: \"undefined\" | \"large\";\n /**\n * The icon to be rendered in the empty state. @design\n */\n icon?: React.ReactNode;\n /**\n * The button to be rendered in the empty state. @design\n */\n button?: React.ReactNode;\n /**\n * The CSS class name to be appended to the top-level node.\n */\n className?: string;\n /**\n * The replaceable components to be used for the empty state.\n */\n components?: { Icon: React.ReactNode; Text: React.ReactNode };\n}\n\nconst Icon = ({ icon }: EmptyProps) => {\n const { prefix } = useSettings();\n if (!icon) return null;\n return <div className={`${prefix}--empty__icon`}>{icon}</div>;\n};\n\nconst Text = ({ title, children }: EmptyProps) => {\n const { prefix } = useSettings();\n return (\n <div className={`${prefix}--empty__text`}>\n {title && <h2>{title}</h2>}\n <div>{children}</div>\n </div>\n );\n};\n\n/** The Empty component can be used whenever a section should indicate that there is no content available. This can be the case for a empty list table or search results. */\nconst Empty = ({\n button,\n children,\n className,\n components,\n icon,\n title,\n kind = \"large\",\n ...other\n}: EmptyProps) => {\n const { prefix } = useSettings();\n\n const classes = classNames(\n {\n [`${prefix}--empty`]: true,\n [`${prefix}--empty--${kind}`]: kind,\n },\n className\n );\n\n const defaultComponents = { Icon, Text };\n\n const allComponents = {\n ...defaultComponents,\n ...components,\n };\n\n const IconComponent = allComponents.Icon as React.FC<EmptyProps>;\n const TextComponent = allComponents.Text as React.FC<EmptyProps>;\n\n return (\n <div className={classes} {...other}>\n <IconComponent icon={icon} />\n <TextComponent title={title} children={children} />\n <div className={`${prefix}--empty__button`}>{button}</div>\n </div>\n );\n};\n\nEmpty.displayName = \"Empty\";\n\nexport default Empty;\n","import * as React from 'react';\nimport type { PropsWithChildren } from 'react';\nimport classNames from 'classnames';\nimport useSettings from '../../hooks/useSettings';\nimport { HeroKind } from '../../utils';\n/**\n * Hero are a convenient means of displaying content composed of different types of objects. It is a multi usage component which creates boxes that are usually teasing some kind of content. */\ntype HeroProps = PropsWithChildren<{\n /**\n The links target\n*/\n href?: string;\n /**\n An optimized photograph\n */\n image?: string;\n /**\n External link flag\n*/\n isExternal?: boolean;\n /**\n Render the Hero as link\n*/\n isLink?: boolean;\n /**\n A short sentence to explain the content of the node (max 180 characters) \n*/\n subTitle?: React.ReactNode;\n /**\n A search-friendly title (ideally 50 characters, max 100) \n*/\n title?: string | React.ReactNode;\n /**\n Additional metadatas\n*/\n metadata?: string;\n /**\n Additional more content\n*/\n more?: React.ReactNode;\n /**\n Kind of Hero\n*/\n kind?: HeroKind;\n /**\n The URL where the content uploaded is located.\n*/\n url?: string;\n /**\n Additional className which will be added\n */\n className?: string;\n}>;\n\nconst Hero: React.FC<HeroProps> = ({\n children,\n className,\n image,\n isExternal,\n isLink,\n metadata,\n more,\n subTitle,\n title,\n kind,\n url,\n ...other\n}) => {\n const { prefix } = useSettings();\n\n const style =\n kind !== 'related'\n ? {\n backgroundImage: `url(${image})`,\n }\n : {};\n\n const wrapperClasses = classNames(`${prefix}--photo-card`, {\n [`${prefix}--photo-card--${kind}`]: kind,\n [`${prefix}--photo-card--no-background`]: !image,\n [`${prefix}--photo-card--link`]: isLink,\n [`${className}`]: className,\n });\n\n const content = (\n <React.Fragment>\n <div className={`${prefix}--photo-card__background`} style={style} />\n {image && kind === 'related' && <img src={image} /*TODO: alt={title}*/ />}\n <div className={`${prefix}--photo-card__info`}>\n <div>\n {(kind === 'landscape' || kind === 'hero') && (\n <div\n className={`${prefix}--photo-card__info__background`}\n style={style}\n />\n )}\n {metadata && (\n <p className={`${prefix}--photo-card__info__metadata`}>\n {metadata}\n </p>\n )}\n {title && (kind === 'hero' || kind === 'splash-compact') && (\n <h2 className={`${prefix}--photo-card__info__title`}>{title}</h2>\n )}\n {title && kind !== 'hero' && kind !== 'splash-compact' && (\n <h3 className={`${prefix}--photo-card__info__title`}>{title}</h3>\n )}\n {subTitle && (\n <p className={`${prefix}--photo-card__info__subtitle`}>\n {subTitle}\n </p>\n )}\n </div>\n\n {kind === 'hero' ||\n kind === 'splash-image' ||\n (kind === 'splash-compact' && (\n <div className={`${prefix}--photo-card__info__more`}>{more}</div>\n ))}\n </div>\n {children}\n </React.Fragment>\n );\n\n return isLink ? (\n <a\n href={url}\n target={isExternal ? '_blank' : ''}\n className={wrapperClasses}\n {...other}>\n {content}\n </a>\n ) : (\n <div className={wrapperClasses} {...other}>\n {content}\n </div>\n );\n};\n\nHero.displayName = 'Hero';\n\nexport default Hero;\n","import React, { ReactNode } from 'react';\nimport type { PropsWithChildren } from 'react';\nimport classNames from 'classnames';\nimport Wrapper from '../Wrapper';\n\nimport useSettings from '../../hooks/useSettings';\n\ntype HeroExternalProps = PropsWithChildren<{\n /**\n A search-friendly title (ideally 50 characters, max 100) \n*/\n title?: string | ReactNode;\n /**\n Additional className which will be added\n */\n className?: string;\n /**\n A short sentence to explain the content of the node (max 180 characters) \n*/\n subTitle: React.ReactNode;\n /**\n An optimized photograph\n */\n image: string;\n}>;\n\nconst HeroExternal: React.FC<HeroExternalProps> = ({\n title,\n subTitle,\n image,\n children,\n className,\n // ...other\n}) => {\n const { prefix } = useSettings();\n\n const wrapperClasses = classNames(`${prefix}--hero-ext`, {\n [`${className}`]: className,\n });\n\n return (\n // TODO: Provide a prop to set the backgrond image (linear-gradient should be not editable)\n // TODO: Provide a prop [string] to set the backgrond position (optional).\n <div\n className={wrapperClasses}\n // TODO: do we need a token for the linear gradient?\n style={{\n backgroundImage: `linear-gradient(rgba(26, 66, 98, 0.8), rgba(26, 66, 98, 0.8)), url(${image})`,\n backgroundPosition: 'center right',\n }}>\n <Wrapper pageWidth=\"md\">\n <div className={`${prefix}--hero-ext__content`}>\n {title && <h1 className={`${prefix}--hero-ext__heading`}>{title}</h1>}\n {subTitle && (\n <p className={`${prefix}--hero-ext__body-copy`}>{subTitle}</p>\n )}\n </div>\n {children}\n </Wrapper>\n </div>\n );\n};\n\nexport default HeroExternal;\n","import * as React from 'react';\nimport type { PropsWithChildren } from 'react';\nimport classNames from 'classnames';\nimport useSettings from '../../hooks/useSettings';\nimport { CardKind } from '../../utils';\n\n/**\n * Cards are a convenient means of displaying content composed of different types of objects. It is a multi usage component which creates boxes that are usually teasing some kind of content. */\ntype CardProps = PropsWithChildren<{\n /**\n Additional className which will be added\n */\n className?: string;\n /**\n An optimized photograph\n */\n image?: string;\n /**\n isExternal if true, opens link in a different window\n*/\n isExternal?: boolean;\n /**\n Render the Card as link\n*/\n isLink?: boolean;\n /**\n A short sentence to explain the content of the node (max 180 characters) \n*/\n subTitle?: React.ReactNode;\n /**\n A search-friendly title (ideally 50 characters, max 100) \n*/\n title?: string | React.ReactNode;\n /**\n Additional metadatas\n*/\n metadata?: string;\n /**\n * Alternative text for image\n */\n alt?: string;\n /**\n * The content of the Card\n */\n children?: React.ReactNode;\n /**\n Kind of Card\n*/\n kind?: CardKind;\n /**\n The URL where the content uploaded is located.\n*/\n url?: string;\n /**\n * override default card width with preferred width\n */\n cardWidth?: string;\n /**\n * override default card width with preferred width\n */\n cardHeight?: string;\n}>;\n\nconst Card: React.FC<CardProps> = ({\n children,\n className,\n image,\n isExternal,\n isLink,\n metadata,\n subTitle,\n title,\n alt,\n kind,\n url,\n cardWidth,\n cardHeight,\n ...other\n}) => {\n const { prefix } = useSettings();\n const style =\n kind == 'overlay'\n ? {\n backgroundImage: `url(${image})`,\n }\n : {};\n\n const pagewidth = cardWidth ? cardWidth : '300px';\n const pageheight = cardHeight ? cardHeight : '260px';\n\n const wrapperClasses = classNames([`${prefix}--card-box`], {\n [`${prefix}--photo-cardnew--${kind}`]: kind,\n // 'wfp--photo-cardnew--no-background': !image,\n [`${prefix}--photo-cardnew--link`]: isLink,\n [`${className}`]: className,\n });\n\n const content = (\n <>\n {kind === 'overlay' ? (\n <div className={`${prefix}--photo-cardnew__background`} style={style} />\n ) : null}\n\n {image && kind === 'simple-card' ? (\n <img src={image} alt={alt} className={`${prefix}--header-photo`} />\n ) : null}\n\n <div className={`${prefix}--photo-cardnew__info`}>\n <div>\n {kind === 'overlay' && (\n <div\n className={`${prefix}--photo-cardnew__info__background`}\n style={style}\n />\n )}\n {metadata && (\n <p className={`${prefix}--photo-cardnew__info__metadata`}>\n {metadata}\n </p>\n )}\n {title && (\n <h3 className={`${prefix}--photo-cardnew__info__title`}>{title}</h3>\n )}\n {subTitle && (\n <p className={`${prefix}--photo-cardnew__info__subtitle`}>\n {subTitle}\n </p>\n )}\n </div>\n </div>\n {children}\n </>\n );\n\n return isLink ? (\n <div\n className={wrapperClasses}\n style={{ width: pagewidth, minHeight: pageheight }}>\n <a\n href={url}\n target={isExternal ? '_blank' : ''}\n style={{ width: pagewidth, minHeight: pageheight }}\n {...other}>\n {content}\n </a>\n </div>\n ) : (\n <div\n className={wrapperClasses}\n {...other}\n style={{ width: pagewidth, minHeight: pageheight }}>\n {content}\n </div>\n );\n};\n\nCard.displayName = 'Card';\n\nexport default Card;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n//import { TagType } from '../../typesLegacy/utils';\n\nconst TYPES = {\n info: \"Info\",\n error: \"error\",\n success: \"Success\",\n warning: \"Warning\",\n custom: \"Custom\",\n};\n\nexport interface TagProps extends React.HTMLAttributes<HTMLSpanElement> {\n /**\n * Specify the type of Tag @design\n */\n type?: \"wfp\" | \"info\" | \"error\" | \"success\" | \"warning\" | \"custom\" | string;\n\n /**\n * Specify if the Tag should be wrapped if it is too long @deprecated\n */\n wrap?: boolean;\n}\n\n/** Tag is used to label, categorize, or organize items using keywords that describe them. */\n\nconst Tag: React.FC<TagProps> = ({\n children,\n className,\n type = \"info\",\n ...other\n}) => {\n const { prefix } = useSettings();\n const tagClass = `${prefix}--tag--${type}`;\n const tagClasses = classNames(`${prefix}--tag`, tagClass, className);\n return (\n <span className={tagClasses} {...other}>\n {children || TYPES[type]}\n </span>\n );\n};\n\nTag.displayName = \"Tag\";\n\nexport default Tag;\n","import React, { useEffect, useRef, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport classNames from \"classnames\";\nimport Tag from \"../Tag\";\n\nimport useSettings from \"../../hooks/useSettings\";\n\ninterface CardExternalProps {\n label?: string;\n labelStatus?: boolean;\n interactive?: boolean;\n image?: string;\n heading?: string;\n subHeading?: string;\n caption?: string;\n tag?: string;\n children?: React.ReactNode;\n className?: string;\n truncated?: boolean;\n}\n\nconst CardExternal = ({\n label,\n labelStatus,\n interactive,\n image,\n heading,\n subHeading,\n caption,\n tag,\n children,\n className,\n ...other\n}: CardExternalProps) => {\n const { prefix } = useSettings();\n const ref = useRef<HTMLInputElement>(null);\n const supportiveTextFontSize = 14;\n const supportiveTextLineHeight = 1.5;\n\n // Set a maximum of 3 lines of supportive text by default\n const [supportiveTextHeight, setsupportiveTextHeight] = useState(\n supportiveTextFontSize * supportiveTextLineHeight * 3\n );\n\n // statusStyle apply different style(color, backgroundColor) based on its active state\n const statusStyle = labelStatus ? `success` : `neutral`;\n\n const wrapperClasses = classNames(`${prefix}--card-ext`, {\n [`${prefix}--card-ext--interactive`]: interactive,\n [`${className}`]: className,\n });\n\n /**\n * Get the height of the supportive text element.\n * This is useful to calculate a dynamic maximum amount of line text with final\n * ellipsis for the \"supportive text\" element, depending of the available\n * height.\n *\n * Cards' title has no limits in terms of line text, whereas we can decide to\n * truncate the supportive text at 3 number of lines. The multiline truncation\n * can be obtained by using the \"line clamp\" CSS property that truncates text\n * at a specific number of lines.\n * The problem is, if we place three cards on a Flexbox/Grid parent, these\n * cards will have the same height, depending on the highest of the three.\n * This means that if one card has a multiline title, the other two will grow\n * in height, showing a significant white space. To fill the latter cards'\n * white space we need to increase the number of their \"supportive text\" lines.\n * To do this we need to divide the \"supportive text\" element's height by its\n * font-size and line-height in order to get exact amount of line text that are\n * needed to fill the extra white space.\n *\n */\n useEffect(() => {\n if (!ref.current) return;\n setsupportiveTextHeight(ref.current.offsetHeight);\n }, [ref]);\n\n return (\n /* Also expose a custom classname prop */\n /**\n * A prop will establish if the card is either informative (default) or\n * interactive.\n * If interactive, a modifier will be added and an animation will be shown\n * on hover event (\"${prefix}--card-ext--interactive\").\n */\n <div className={wrapperClasses}>\n {/*\n * Label is optional.\n * It can be either 'neutral' (default) or 'success'\n */}\n {label && (\n <div\n className={`${prefix}--card-ext__label ${prefix}--card-ext__label--${statusStyle}`}\n >\n {label}\n </div>\n )}\n <figure className={`${prefix}--card-ext__media`}>\n <img\n className={`${prefix}--card-ext__image`}\n src={image}\n alt=\"Card picture\"\n />\n </figure>\n {/* If card has actions, show a divider by adding a dedicated modifier handled with a boolean prop */}\n <div\n className={`${prefix}--card-ext__info-wrapper ${prefix}--card-ext__info-wrapper--with-divider`}\n >\n <div className={`${prefix}--card-ext__primary-title`}>\n {/* Subheading is optional */}\n {subHeading && (\n <p className={`${prefix}--card-ext__subheading`}>{subHeading}</p>\n )}\n {heading && (\n <p className={`${prefix}--card-ext__heading`}>{heading}</p>\n )}\n </div>\n {/* Supportive text is optional */}\n <div\n className={\n other.truncated\n ? `${prefix}--card-ext__supportive-text ${prefix}--card-ext__supportive-text--truncated`\n : `${prefix}--card-ext__supportive-text`\n }\n ref={ref}\n >\n <p\n style={{\n WebkitLineClamp: Math.floor(\n supportiveTextHeight /\n supportiveTextLineHeight /\n supportiveTextFontSize\n ),\n }}\n >\n {caption}\n </p>\n </div>\n {/* Tags are optional */}\n {tag && (\n <div className={`${prefix}--card-ext__tags`}>\n <Tag className={`${prefix}--card-ext__tag`} type=\"custom\">\n {tag}\n </Tag>\n </div>\n )}\n </div>\n {/* Better to allow only small buttons for alignment reasons */}\n {children}\n </div>\n );\n};\n\nCardExternal.propTypes = {\n /**\n label description for card if any\n */\n label: PropTypes.string,\n\n /**\n labelStatus is either true or false, it applies for card if any\n */\n labelStatus: PropTypes.bool,\n image: PropTypes.string,\n heading: PropTypes.string,\n subHeading: PropTypes.string,\n caption: PropTypes.string,\n tag: PropTypes.string,\n children: PropTypes.node,\n interactive: PropTypes.bool,\n className: PropTypes.string,\n};\n\nexport default CardExternal;\n","import * as React from \"react\";\nimport useSettings from \"../../hooks/useSettings\";\nimport { ArrowRight, CalendarAltRegular } from \"@progressiveui/icons-react\";\n\nexport interface DatePickerInputProps {\n /**\n * The starting date value, formatted as a string.\n */\n startDate?: string;\n\n /**\n * The ending date value, formatted as a string.\n */\n endDate?: string;\n\n /**\n * The DatePicker component to be used (react-datepicker by default)\n */\n datePicker?: React.ComponentType<any>;\n\n /**\n * Function to set the starting date. Typically used as an event handler.\n */\n setStartDate?: string;\n\n /**\n * Function to set the ending date. Typically used as an event handler.\n */\n setEndDate?: string;\n\n /**\n * Additional props for the start date DatePicker component.\n * Can be used to pass custom settings or event handlers.\n */\n fromProps?: object;\n\n /**\n * Additional props for the end date DatePicker component.\n * Can be used to pass custom settings or event handlers.\n */\n toProps?: object;\n /**\n * Additional props for the DatePicker component.\n */\n datePickerProps?: object;\n}\n\nexport const DatePickerInput = React.forwardRef<\n HTMLInputElement,\n DatePickerInputProps\n>(\n (\n { startDate, endDate, setStartDate, datePicker, datePickerProps = {} },\n ref\n ) => {\n const { prefix } = useSettings();\n const DatePicker = datePicker;\n if (!DatePicker) {\n return <div>Add a datepicker component</div>;\n }\n return (\n <div className={`${prefix}--date-picker`}>\n <div className={`${prefix}--date-picker__input`}>\n <DatePicker\n selected={startDate}\n className={`${prefix}--input ${prefix}--date__input__start-date`}\n onChange={setStartDate}\n selectsStart\n startDate={startDate}\n endDate={endDate}\n wrapperClassName={`${prefix}--date-picker__wrapper`}\n {...datePickerProps}\n ref={ref}\n />\n <CalendarAltRegular className={`${prefix}--date-picker__icon`} />\n </div>\n </div>\n );\n }\n);\n\nDatePickerInput.displayName = \"DatePickerInput\";\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\nimport Input from \"../Input/Input\";\nimport { UseInputProps, useInput } from \"../Input/useInput\";\nimport { InputProps } from \"../Input\";\nimport { DatePickerInput, DatePickerInputProps } from \"./DatePickerInput\";\n\n/** DatePicker with the Input wrapper */\n\ninterface DatePickerProps extends InputProps, DatePickerInputProps {\n /* React.ComponentPropsWithRef<\"input\">*/\n}\n\nconst DatePicker = React.forwardRef<HTMLInputElement, DatePickerProps>(\n (props, ref) => {\n const { datePickerProps, hideLabel, helperText, /* pattern, */ required } =\n props;\n\n const { prefix } = useSettings();\n\n const inputClassName = classNames(\n `${prefix}--input`,\n `${prefix}--date-picker`,\n {\n [`${prefix}--date-picker--helpertext`]: helperText,\n [`${prefix}--date-picker--nolabel`]: hideLabel,\n [`${prefix}--date-picker--required`]: required,\n }\n );\n\n const useInputProps = props as UseInputProps;\n const { inputProps, wrapperProps } = useInput({\n ...useInputProps,\n inputClassName,\n });\n\n return (\n <Input {...wrapperProps}>\n <DatePickerInput\n // pattern={pattern}\n {...inputProps}\n ref={ref}\n datePickerProps={datePickerProps}\n />\n </Input>\n );\n }\n);\n\nDatePicker.displayName = \"DatePicker\";\n\nexport default DatePicker;\n","import * as React from \"react\";\nimport useSettings from \"../../hooks/useSettings\";\nimport { ArrowRight, CalendarAltRegular } from \"@progressiveui/icons-react\";\n\nexport interface DateRangePickerInputProps {\n /**\n * The starting date value, formatted as a string.\n */\n startDate?: string;\n\n /**\n * The ending date value, formatted as a string.\n */\n endDate?: string;\n\n /**\n * The DatePicker component to be used (react-datepicker by default)\n */\n datePicker?: React.ComponentType<any>;\n\n /**\n * Function to set the starting date. Typically used as an event handler.\n */\n setStartDate?: string;\n\n /**\n * Function to set the ending date. Typically used as an event handler.\n */\n setEndDate?: string;\n\n /**\n * Additional props for the start date DatePicker component.\n * Can be used to pass custom settings or event handlers.\n */\n fromProps?: object;\n\n /**\n * Additional props for the end date DatePicker component.\n * Can be used to pass custom settings or event handlers.\n */\n toProps?: object;\n}\n\nexport const DateRangePickerInput = React.forwardRef<\n HTMLInputElement,\n DateRangePickerInputProps\n>(\n (\n {\n startDate,\n endDate,\n setStartDate,\n setEndDate,\n datePicker,\n fromProps = {},\n toProps = {},\n },\n ref\n ) => {\n const { prefix } = useSettings();\n const DatePicker = datePicker;\n if (!DatePicker) {\n return <div>Add a datepicker component</div>;\n }\n return (\n <div className={`${prefix}--date-ranger-picker`}>\n <div className={`${prefix}--date-ranger-picker__input`}>\n <DatePicker\n selected={startDate}\n className={`${prefix}--input ${prefix}--date-ranger__input__start-date`}\n onChange={setStartDate}\n selectsStart\n startDate={startDate}\n endDate={endDate}\n wrapperClassName={`${prefix}--date-picker__wrapper`}\n {...fromProps}\n ref={ref}\n />\n <CalendarAltRegular\n className={`${prefix}--date-ranger-picker__icon`}\n />\n </div>\n <ArrowRight className={`${prefix}--date-ranger-picker__arrow`} />\n <div className={`${prefix}--date-ranger-picker__input`}>\n <DatePicker\n selected={endDate}\n className={`${prefix}--input ${prefix}--date-ranger__input__start-date`}\n onChange={setEndDate}\n selectsEnd\n startDate={startDate}\n endDate={endDate}\n minDate={startDate}\n wrapperClassName={`${prefix}--date-picker__wrapper`}\n {...toProps}\n // TODO: Add ref to the end date picker\n />\n <CalendarAltRegular\n className={`${prefix}--date-ranger-picker__icon`}\n />\n </div>\n </div>\n );\n }\n);\n\nDateRangePickerInput.displayName = \"DateRangePickerInput\";\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\nimport Input from \"../Input/Input\";\nimport { UseInputProps, useInput } from \"../Input/useInput\";\nimport { InputProps } from \"../Input\";\nimport {\n DateRangePickerInput,\n DateRangePickerInputProps,\n} from \"./DateRangePickerInput\";\n\n/** DatePicker with the Input wrapper */\n\ninterface DateRangePickerProps\n extends InputProps,\n DateRangePickerInputProps,\n React.ComponentPropsWithRef<\"input\"> {}\n\nconst DateRangePicker: React.FC<DateRangePickerProps> = React.forwardRef(\n (props, ref) => {\n const {\n fromProps,\n toProps,\n hideLabel,\n helperText,\n /* pattern, */ required,\n } = props;\n\n const { prefix } = useSettings();\n\n const inputClassName = classNames(\n `${prefix}--input`,\n `${prefix}--date-range-picker`,\n {\n [`${prefix}--date-range-picker--helpertext`]: helperText,\n [`${prefix}--date-range-picker--nolabel`]: hideLabel,\n [`${prefix}--date-range-picker--required`]: required,\n }\n );\n\n const useInputProps = props as UseInputProps;\n const { inputProps, wrapperProps } = useInput({\n ...useInputProps,\n inputClassName,\n });\n\n return (\n <Input {...wrapperProps}>\n <DateRangePickerInput\n // pattern={pattern}\n {...inputProps}\n ref={ref}\n fromProps={fromProps}\n toProps={toProps}\n />\n </Input>\n );\n }\n);\n\nDateRangePicker.displayName = \"DateRangePicker\";\n\nexport default DateRangePicker;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\nimport { InlineErrorMessage } from \"../Input\";\n\ninterface CheckboxProps\n extends Omit<React.ComponentPropsWithRef<\"input\">, \"onChange\"> {\n /**\n * Specify whether the Checkbox is in an indeterminate state\n */\n indeterminate?: boolean;\n /**\n * Provide a label to provide a description of the Checkbox input that you are\n * exposing to the user\n */\n labelText?: React.ReactNode;\n /**\n * Specify whether the label should be hidden, or not\n */\n hideLabel?: boolean;\n /**\n * Invalid state for the checkbox\n */\n invalid?: boolean;\n /**\n * Provide the text that is displayed when the checkbox is in an invalid state\n */\n invalidText?: string;\n /**\n * The CSS class name to be placed on the wrapping element\n */\n wrapperClassName?: string;\n /**\n *\n * @param event | The event triggering the change\n * @param checked | The new value of the checkbox\n * @param customId | The id of the checkbox\n */\n onChange?(\n event: React.ChangeEvent<HTMLInputElement>,\n checked?: boolean,\n customId?: string\n ): void;\n}\n\nexport const Checkbox = React.forwardRef<HTMLInputElement, CheckboxProps>(\n (\n {\n className,\n id,\n labelText,\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n onChange = () => {},\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n indeterminate,\n invalid,\n invalidText,\n hideLabel,\n wrapperClassName,\n title = \"\",\n ...other\n },\n ref\n ) => {\n const { prefix } = useSettings();\n const labelClasses = classNames(`${prefix}--checkbox-label`, className);\n const innerLabelClasses = classNames(`${prefix}--checkbox-label-text`, {\n [`${prefix}--visually-hidden`]: hideLabel,\n });\n const wrapperClasses = classNames(\n `${prefix}--form-item`,\n `${prefix}--checkbox-wrapper`,\n {\n [`${prefix}--checkbox-wrapper--invalid`]: invalid,\n },\n wrapperClassName\n );\n\n return (\n <div className={wrapperClasses}>\n <input\n {...other}\n aria-invalid={invalid}\n data-invalid={invalid}\n type=\"checkbox\"\n onChange={(evt) => {\n onChange(evt, evt.target.checked, id);\n }}\n className={`${prefix}--checkbox`}\n id={id || other.name}\n ref={(el) => {\n if (el) {\n if (indeterminate) {\n el.indeterminate = indeterminate;\n }\n }\n if (typeof ref === \"function\") {\n ref(el);\n } else if (Object(ref) === ref && ref) {\n ref.current = el;\n }\n }}\n />\n <label\n htmlFor={id || other.name}\n className={labelClasses}\n title={title || undefined}\n >\n <span className={innerLabelClasses}>{labelText}</span>\n </label>\n <InlineErrorMessage\n errorClasses={`${prefix}--form-requirement`}\n invalid={invalid}\n invalidText={invalidText}\n />\n </div>\n );\n }\n);\n\nCheckbox.displayName = \"Checkbox\";\n\nexport default Checkbox;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n\ninterface CreditsProps extends React.HTMLAttributes<HTMLDivElement> {\n /**\n Specifiy the info content\n*/\n info?: React.ReactNode;\n}\n\n/** Credits are mostly used when a photo need a source attribution. */\nconst Credits: React.FC<CreditsProps> = ({\n children,\n className,\n info,\n ...other\n}) => {\n const { prefix } = useSettings();\n const classes = classNames(`${prefix}--credits`, className);\n return (\n <div className={classes} {...other}>\n <div className={`${prefix}--credits__info`}>{info}</div>\n {children}\n </div>\n );\n};\n\nCredits.displayName = \"Credits\";\n\nexport default Credits;\n","import React, { useState } from \"react\";\nimport type { PropsWithChildren } from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n\n/** ContentSwitcher manipulates the content shown following an exclusive or “either/or” pattern. It is used to toggle between two or more content sections within the same space on screen. Only one section can be shown at a time.\n */\n\ntype ContentSwitcherProps = PropsWithChildren<{\n className?: string;\n selectedIndex?: number;\n small?: boolean;\n onChange: (data?: object) => void;\n}>;\n\nconst ContentSwitcher: React.FC<ContentSwitcherProps> = ({\n children,\n className,\n selectedIndex,\n small,\n onChange,\n ...other\n}) => {\n const { prefix } = useSettings();\n const [selectedIdx, setSelectedIndex] = useState(selectedIndex);\n\n const getChildren = (children) => {\n return React.Children.map(children, (child, index) =>\n React.cloneElement(child, {\n index,\n onClick: handleChildChange,\n onKeyDown: handleChildChange,\n selected: index === selectedIdx,\n })\n );\n };\n\n const handleChildChange = (data) => {\n const { index } = data;\n if (selectedIdx !== index) {\n setSelectedIndex(index);\n onChange(data);\n }\n };\n\n const classes = classNames(`${prefix}--content-switcher`, className, {\n [`${prefix}--content-switcher--sm`]: small,\n });\n\n return (\n <div {...other} className={classes}>\n {getChildren(children)}\n </div>\n );\n};\n\nexport default ContentSwitcher;\n","/**\n * @license React\n * react-dom.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar React = require(\"react\");\nfunction formatProdErrorMessage(code) {\n var url = \"https://react.dev/errors/\" + code;\n if (1 < arguments.length) {\n url += \"?args[]=\" + encodeURIComponent(arguments[1]);\n for (var i = 2; i < arguments.length; i++)\n url += \"&args[]=\" + encodeURIComponent(arguments[i]);\n }\n return (\n \"Minified React error #\" +\n code +\n \"; visit \" +\n url +\n \" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.\"\n );\n}\nfunction noop() {}\nvar Internals = {\n d: {\n f: noop,\n r: function () {\n throw Error(formatProdErrorMessage(522));\n },\n D: noop,\n C: noop,\n L: noop,\n m: noop,\n X: noop,\n S: noop,\n M: noop\n },\n p: 0,\n findDOMNode: null\n },\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\");\nfunction createPortal$1(children, containerInfo, implementation) {\n var key =\n 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;\n return {\n $$typeof: REACT_PORTAL_TYPE,\n key: null == key ? null : \"\" + key,\n children: children,\n containerInfo: containerInfo,\n implementation: implementation\n };\n}\nvar ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;\nfunction getCrossOriginStringAs(as, input) {\n if (\"font\" === as) return \"\";\n if (\"string\" === typeof input)\n return \"use-credentials\" === input ? input : \"\";\n}\nexports.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =\n Internals;\nexports.createPortal = function (children, container) {\n var key =\n 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null;\n if (\n !container ||\n (1 !== container.nodeType &&\n 9 !== container.nodeType &&\n 11 !== container.nodeType)\n )\n throw Error(formatProdErrorMessage(299));\n return createPortal$1(children, container, null, key);\n};\nexports.flushSync = function (fn) {\n var previousTransition = ReactSharedInternals.T,\n previousUpdatePriority = Internals.p;\n try {\n if (((ReactSharedInternals.T = null), (Internals.p = 2), fn)) return fn();\n } finally {\n (ReactSharedInternals.T = previousTransition),\n (Internals.p = previousUpdatePriority),\n Internals.d.f();\n }\n};\nexports.preconnect = function (href, options) {\n \"string\" === typeof href &&\n (options\n ? ((options = options.crossOrigin),\n (options =\n \"string\" === typeof options\n ? \"use-credentials\" === options\n ? options\n : \"\"\n : void 0))\n : (options = null),\n Internals.d.C(href, options));\n};\nexports.prefetchDNS = function (href) {\n \"string\" === typeof href && Internals.d.D(href);\n};\nexports.preinit = function (href, options) {\n if (\"string\" === typeof href && options && \"string\" === typeof options.as) {\n var as = options.as,\n crossOrigin = getCrossOriginStringAs(as, options.crossOrigin),\n integrity =\n \"string\" === typeof options.integrity ? options.integrity : void 0,\n fetchPriority =\n \"string\" === typeof options.fetchPriority\n ? options.fetchPriority\n : void 0;\n \"style\" === as\n ? Internals.d.S(\n href,\n \"string\" === typeof options.precedence ? options.precedence : void 0,\n {\n crossOrigin: crossOrigin,\n integrity: integrity,\n fetchPriority: fetchPriority\n }\n )\n : \"script\" === as &&\n Internals.d.X(href, {\n crossOrigin: crossOrigin,\n integrity: integrity,\n fetchPriority: fetchPriority,\n nonce: \"string\" === typeof options.nonce ? options.nonce : void 0\n });\n }\n};\nexports.preinitModule = function (href, options) {\n if (\"string\" === typeof href)\n if (\"object\" === typeof options && null !== options) {\n if (null == options.as || \"script\" === options.as) {\n var crossOrigin = getCrossOriginStringAs(\n options.as,\n options.crossOrigin\n );\n Internals.d.M(href, {\n crossOrigin: crossOrigin,\n integrity:\n \"string\" === typeof options.integrity ? options.integrity : void 0,\n nonce: \"string\" === typeof options.nonce ? options.nonce : void 0\n });\n }\n } else null == options && Internals.d.M(href);\n};\nexports.preload = function (href, options) {\n if (\n \"string\" === typeof href &&\n \"object\" === typeof options &&\n null !== options &&\n \"string\" === typeof options.as\n ) {\n var as = options.as,\n crossOrigin = getCrossOriginStringAs(as, options.crossOrigin);\n Internals.d.L(href, as, {\n crossOrigin: crossOrigin,\n integrity:\n \"string\" === typeof options.integrity ? options.integrity : void 0,\n nonce: \"string\" === typeof options.nonce ? options.nonce : void 0,\n type: \"string\" === typeof options.type ? options.type : void 0,\n fetchPriority:\n \"string\" === typeof options.fetchPriority\n ? options.fetchPriority\n : void 0,\n referrerPolicy:\n \"string\" === typeof options.referrerPolicy\n ? options.referrerPolicy\n : void 0,\n imageSrcSet:\n \"string\" === typeof options.imageSrcSet ? options.imageSrcSet : void 0,\n imageSizes:\n \"string\" === typeof options.imageSizes ? options.imageSizes : void 0,\n media: \"string\" === typeof options.media ? options.media : void 0\n });\n }\n};\nexports.preloadModule = function (href, options) {\n if (\"string\" === typeof href)\n if (options) {\n var crossOrigin = getCrossOriginStringAs(options.as, options.crossOrigin);\n Internals.d.m(href, {\n as:\n \"string\" === typeof options.as && \"script\" !== options.as\n ? options.as\n : void 0,\n crossOrigin: crossOrigin,\n integrity:\n \"string\" === typeof options.integrity ? options.integrity : void 0\n });\n } else Internals.d.m(href);\n};\nexports.requestFormReset = function (form) {\n Internals.d.r(form);\n};\nexports.unstable_batchedUpdates = function (fn, a) {\n return fn(a);\n};\nexports.useFormState = function (action, initialState, permalink) {\n return ReactSharedInternals.H.useFormState(action, initialState, permalink);\n};\nexports.useFormStatus = function () {\n return ReactSharedInternals.H.useHostTransitionStatus();\n};\nexports.version = \"19.1.0\";\n","/**\n * @license React\n * react-dom.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function noop() {}\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function createPortal$1(children, containerInfo, implementation) {\n var key =\n 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;\n try {\n testStringCoercion(key);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n JSCompiler_inline_result &&\n (console.error(\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n key[Symbol.toStringTag]) ||\n key.constructor.name ||\n \"Object\"\n ),\n testStringCoercion(key));\n return {\n $$typeof: REACT_PORTAL_TYPE,\n key: null == key ? null : \"\" + key,\n children: children,\n containerInfo: containerInfo,\n implementation: implementation\n };\n }\n function getCrossOriginStringAs(as, input) {\n if (\"font\" === as) return \"\";\n if (\"string\" === typeof input)\n return \"use-credentials\" === input ? input : \"\";\n }\n function getValueDescriptorExpectingObjectForWarning(thing) {\n return null === thing\n ? \"`null`\"\n : void 0 === thing\n ? \"`undefined`\"\n : \"\" === thing\n ? \"an empty string\"\n : 'something with type \"' + typeof thing + '\"';\n }\n function getValueDescriptorExpectingEnumForWarning(thing) {\n return null === thing\n ? \"`null`\"\n : void 0 === thing\n ? \"`undefined`\"\n : \"\" === thing\n ? \"an empty string\"\n : \"string\" === typeof thing\n ? JSON.stringify(thing)\n : \"number\" === typeof thing\n ? \"`\" + thing + \"`\"\n : 'something with type \"' + typeof thing + '\"';\n }\n function resolveDispatcher() {\n var dispatcher = ReactSharedInternals.H;\n null === dispatcher &&\n console.error(\n \"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:\\n1. You might have mismatching versions of React and the renderer (such as React DOM)\\n2. You might be breaking the Rules of Hooks\\n3. You might have more than one copy of React in the same app\\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.\"\n );\n return dispatcher;\n }\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());\n var React = require(\"react\"),\n Internals = {\n d: {\n f: noop,\n r: function () {\n throw Error(\n \"Invalid form element. requestFormReset must be passed a form that was rendered by React.\"\n );\n },\n D: noop,\n C: noop,\n L: noop,\n m: noop,\n X: noop,\n S: noop,\n M: noop\n },\n p: 0,\n findDOMNode: null\n },\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;\n (\"function\" === typeof Map &&\n null != Map.prototype &&\n \"function\" === typeof Map.prototype.forEach &&\n \"function\" === typeof Set &&\n null != Set.prototype &&\n \"function\" === typeof Set.prototype.clear &&\n \"function\" === typeof Set.prototype.forEach) ||\n console.error(\n \"React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills\"\n );\n exports.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =\n Internals;\n exports.createPortal = function (children, container) {\n var key =\n 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null;\n if (\n !container ||\n (1 !== container.nodeType &&\n 9 !== container.nodeType &&\n 11 !== container.nodeType)\n )\n throw Error(\"Target container is not a DOM element.\");\n return createPortal$1(children, container, null, key);\n };\n exports.flushSync = function (fn) {\n var previousTransition = ReactSharedInternals.T,\n previousUpdatePriority = Internals.p;\n try {\n if (((ReactSharedInternals.T = null), (Internals.p = 2), fn))\n return fn();\n } finally {\n (ReactSharedInternals.T = previousTransition),\n (Internals.p = previousUpdatePriority),\n Internals.d.f() &&\n console.error(\n \"flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.\"\n );\n }\n };\n exports.preconnect = function (href, options) {\n \"string\" === typeof href && href\n ? null != options && \"object\" !== typeof options\n ? console.error(\n \"ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.\",\n getValueDescriptorExpectingEnumForWarning(options)\n )\n : null != options &&\n \"string\" !== typeof options.crossOrigin &&\n console.error(\n \"ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.\",\n getValueDescriptorExpectingObjectForWarning(options.crossOrigin)\n )\n : console.error(\n \"ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.\",\n getValueDescriptorExpectingObjectForWarning(href)\n );\n \"string\" === typeof href &&\n (options\n ? ((options = options.crossOrigin),\n (options =\n \"string\" === typeof options\n ? \"use-credentials\" === options\n ? options\n : \"\"\n : void 0))\n : (options = null),\n Internals.d.C(href, options));\n };\n exports.prefetchDNS = function (href) {\n if (\"string\" !== typeof href || !href)\n console.error(\n \"ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.\",\n getValueDescriptorExpectingObjectForWarning(href)\n );\n else if (1 < arguments.length) {\n var options = arguments[1];\n \"object\" === typeof options && options.hasOwnProperty(\"crossOrigin\")\n ? console.error(\n \"ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.\",\n getValueDescriptorExpectingEnumForWarning(options)\n )\n : console.error(\n \"ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.\",\n getValueDescriptorExpectingEnumForWarning(options)\n );\n }\n \"string\" === typeof href && Internals.d.D(href);\n };\n exports.preinit = function (href, options) {\n \"string\" === typeof href && href\n ? null == options || \"object\" !== typeof options\n ? console.error(\n \"ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.\",\n getValueDescriptorExpectingEnumForWarning(options)\n )\n : \"style\" !== options.as &&\n \"script\" !== options.as &&\n console.error(\n 'ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are \"style\" and \"script\".',\n getValueDescriptorExpectingEnumForWarning(options.as)\n )\n : console.error(\n \"ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.\",\n getValueDescriptorExpectingObjectForWarning(href)\n );\n if (\n \"string\" === typeof href &&\n options &&\n \"string\" === typeof options.as\n ) {\n var as = options.as,\n crossOrigin = getCrossOriginStringAs(as, options.crossOrigin),\n integrity =\n \"string\" === typeof options.integrity ? options.integrity : void 0,\n fetchPriority =\n \"string\" === typeof options.fetchPriority\n ? options.fetchPriority\n : void 0;\n \"style\" === as\n ? Internals.d.S(\n href,\n \"string\" === typeof options.precedence\n ? options.precedence\n : void 0,\n {\n crossOrigin: crossOrigin,\n integrity: integrity,\n fetchPriority: fetchPriority\n }\n )\n : \"script\" === as &&\n Internals.d.X(href, {\n crossOrigin: crossOrigin,\n integrity: integrity,\n fetchPriority: fetchPriority,\n nonce: \"string\" === typeof options.nonce ? options.nonce : void 0\n });\n }\n };\n exports.preinitModule = function (href, options) {\n var encountered = \"\";\n (\"string\" === typeof href && href) ||\n (encountered +=\n \" The `href` argument encountered was \" +\n getValueDescriptorExpectingObjectForWarning(href) +\n \".\");\n void 0 !== options && \"object\" !== typeof options\n ? (encountered +=\n \" The `options` argument encountered was \" +\n getValueDescriptorExpectingObjectForWarning(options) +\n \".\")\n : options &&\n \"as\" in options &&\n \"script\" !== options.as &&\n (encountered +=\n \" The `as` option encountered was \" +\n getValueDescriptorExpectingEnumForWarning(options.as) +\n \".\");\n if (encountered)\n console.error(\n \"ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s\",\n encountered\n );\n else\n switch (\n ((encountered =\n options && \"string\" === typeof options.as ? options.as : \"script\"),\n encountered)\n ) {\n case \"script\":\n break;\n default:\n (encountered =\n getValueDescriptorExpectingEnumForWarning(encountered)),\n console.error(\n 'ReactDOM.preinitModule(): Currently the only supported \"as\" type for this function is \"script\" but received \"%s\" instead. This warning was generated for `href` \"%s\". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',\n encountered,\n href\n );\n }\n if (\"string\" === typeof href)\n if (\"object\" === typeof options && null !== options) {\n if (null == options.as || \"script\" === options.as)\n (encountered = getCrossOriginStringAs(\n options.as,\n options.crossOrigin\n )),\n Internals.d.M(href, {\n crossOrigin: encountered,\n integrity:\n \"string\" === typeof options.integrity\n ? options.integrity\n : void 0,\n nonce:\n \"string\" === typeof options.nonce ? options.nonce : void 0\n });\n } else null == options && Internals.d.M(href);\n };\n exports.preload = function (href, options) {\n var encountered = \"\";\n (\"string\" === typeof href && href) ||\n (encountered +=\n \" The `href` argument encountered was \" +\n getValueDescriptorExpectingObjectForWarning(href) +\n \".\");\n null == options || \"object\" !== typeof options\n ? (encountered +=\n \" The `options` argument encountered was \" +\n getValueDescriptorExpectingObjectForWarning(options) +\n \".\")\n : (\"string\" === typeof options.as && options.as) ||\n (encountered +=\n \" The `as` option encountered was \" +\n getValueDescriptorExpectingObjectForWarning(options.as) +\n \".\");\n encountered &&\n console.error(\n 'ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel=\"preload\" as=\"...\" />` tag.%s',\n encountered\n );\n if (\n \"string\" === typeof href &&\n \"object\" === typeof options &&\n null !== options &&\n \"string\" === typeof options.as\n ) {\n encountered = options.as;\n var crossOrigin = getCrossOriginStringAs(\n encountered,\n options.crossOrigin\n );\n Internals.d.L(href, encountered, {\n crossOrigin: crossOrigin,\n integrity:\n \"string\" === typeof options.integrity ? options.integrity : void 0,\n nonce: \"string\" === typeof options.nonce ? options.nonce : void 0,\n type: \"string\" === typeof options.type ? options.type : void 0,\n fetchPriority:\n \"string\" === typeof options.fetchPriority\n ? options.fetchPriority\n : void 0,\n referrerPolicy:\n \"string\" === typeof options.referrerPolicy\n ? options.referrerPolicy\n : void 0,\n imageSrcSet:\n \"string\" === typeof options.imageSrcSet\n ? options.imageSrcSet\n : void 0,\n imageSizes:\n \"string\" === typeof options.imageSizes\n ? options.imageSizes\n : void 0,\n media: \"string\" === typeof options.media ? options.media : void 0\n });\n }\n };\n exports.preloadModule = function (href, options) {\n var encountered = \"\";\n (\"string\" === typeof href && href) ||\n (encountered +=\n \" The `href` argument encountered was \" +\n getValueDescriptorExpectingObjectForWarning(href) +\n \".\");\n void 0 !== options && \"object\" !== typeof options\n ? (encountered +=\n \" The `options` argument encountered was \" +\n getValueDescriptorExpectingObjectForWarning(options) +\n \".\")\n : options &&\n \"as\" in options &&\n \"string\" !== typeof options.as &&\n (encountered +=\n \" The `as` option encountered was \" +\n getValueDescriptorExpectingObjectForWarning(options.as) +\n \".\");\n encountered &&\n console.error(\n 'ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel=\"modulepreload\" as=\"...\" />` tag.%s',\n encountered\n );\n \"string\" === typeof href &&\n (options\n ? ((encountered = getCrossOriginStringAs(\n options.as,\n options.crossOrigin\n )),\n Internals.d.m(href, {\n as:\n \"string\" === typeof options.as && \"script\" !== options.as\n ? options.as\n : void 0,\n crossOrigin: encountered,\n integrity:\n \"string\" === typeof options.integrity\n ? options.integrity\n : void 0\n }))\n : Internals.d.m(href));\n };\n exports.requestFormReset = function (form) {\n Internals.d.r(form);\n };\n exports.unstable_batchedUpdates = function (fn, a) {\n return fn(a);\n };\n exports.useFormState = function (action, initialState, permalink) {\n return resolveDispatcher().useFormState(action, initialState, permalink);\n };\n exports.useFormStatus = function () {\n return resolveDispatcher().useHostTransitionStatus();\n };\n exports.version = \"19.1.0\";\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());\n })();\n","'use strict';\n\nfunction checkDCE() {\n /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */\n if (\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' ||\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function'\n ) {\n return;\n }\n if (process.env.NODE_ENV !== 'production') {\n // This branch is unreachable because this function is only called\n // in production, but the condition is true only in development.\n // Therefore if the branch is still here, dead code elimination wasn't\n // properly applied.\n // Don't change the message. React DevTools relies on it. Also make sure\n // this message doesn't occur elsewhere in this function, or it will cause\n // a false positive.\n throw new Error('^_^');\n }\n try {\n // Verify that the code above has been dead code eliminated (DCE'd).\n __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);\n } catch (err) {\n // DevTools shouldn't crash React, no matter what.\n // We should still report in case we break this code.\n console.error(err);\n }\n}\n\nif (process.env.NODE_ENV === 'production') {\n // DCE check should happen before ReactDOM bundle executes so that\n // DevTools can report bad minification during injection.\n checkDCE();\n module.exports = require('./cjs/react-dom.production.js');\n} else {\n module.exports = require('./cjs/react-dom.development.js');\n}\n","export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}","export default function _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}","import * as React from 'react';\n\n/**\n * Takes an argument and if it's an array, returns the first item in the array,\n * otherwise returns the argument. Used for Preact compatibility.\n */\nexport var unwrapArray = function unwrapArray(arg) {\n return Array.isArray(arg) ? arg[0] : arg;\n};\n/**\n * Takes a maybe-undefined function and arbitrary args and invokes the function\n * only if it is defined.\n */\n\nexport var safeInvoke = function safeInvoke(fn) {\n if (typeof fn === 'function') {\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n return fn.apply(void 0, args);\n }\n};\n/**\n * Sets a ref using either a ref callback or a ref object\n */\n\nexport var setRef = function setRef(ref, node) {\n // if its a function call it\n if (typeof ref === 'function') {\n return safeInvoke(ref, node);\n } // otherwise we should treat it as a ref object\n else if (ref != null) {\n ref.current = node;\n }\n};\n/**\n * Simple ponyfill for Object.fromEntries\n */\n\nexport var fromEntries = function fromEntries(entries) {\n return entries.reduce(function (acc, _ref) {\n var key = _ref[0],\n value = _ref[1];\n acc[key] = value;\n return acc;\n }, {});\n};\n/**\n * Small wrapper around `useLayoutEffect` to get rid of the warning on SSR envs\n */\n\nexport var useIsomorphicLayoutEffect = typeof window !== 'undefined' && window.document && window.document.createElement ? React.useLayoutEffect : React.useEffect;","export var top = 'top';\nexport var bottom = 'bottom';\nexport var right = 'right';\nexport var left = 'left';\nexport var auto = 'auto';\nexport var basePlacements = [top, bottom, right, left];\nexport var start = 'start';\nexport var end = 'end';\nexport var clippingParents = 'clippingParents';\nexport var viewport = 'viewport';\nexport var popper = 'popper';\nexport var reference = 'reference';\nexport var variationPlacements = /*#__PURE__*/basePlacements.reduce(function (acc, placement) {\n return acc.concat([placement + \"-\" + start, placement + \"-\" + end]);\n}, []);\nexport var placements = /*#__PURE__*/[].concat(basePlacements, [auto]).reduce(function (acc, placement) {\n return acc.concat([placement, placement + \"-\" + start, placement + \"-\" + end]);\n}, []); // modifiers that need to read the DOM\n\nexport var beforeRead = 'beforeRead';\nexport var read = 'read';\nexport var afterRead = 'afterRead'; // pure-logic modifiers\n\nexport var beforeMain = 'beforeMain';\nexport var main = 'main';\nexport var afterMain = 'afterMain'; // modifier with the purpose to write to the DOM (or write into a framework state)\n\nexport var beforeWrite = 'beforeWrite';\nexport var write = 'write';\nexport var afterWrite = 'afterWrite';\nexport var modifierPhases = [beforeRead, read, afterRead, beforeMain, main, afterMain, beforeWrite, write, afterWrite];","export default function getNodeName(element) {\n return element ? (element.nodeName || '').toLowerCase() : null;\n}","export default function getWindow(node) {\n if (node == null) {\n return window;\n }\n\n if (node.toString() !== '[object Window]') {\n var ownerDocument = node.ownerDocument;\n return ownerDocument ? ownerDocument.defaultView || window : window;\n }\n\n return node;\n}","import getWindow from \"./getWindow.js\";\n\nfunction isElement(node) {\n var OwnElement = getWindow(node).Element;\n return node instanceof OwnElement || node instanceof Element;\n}\n\nfunction isHTMLElement(node) {\n var OwnElement = getWindow(node).HTMLElement;\n return node instanceof OwnElement || node instanceof HTMLElement;\n}\n\nfunction isShadowRoot(node) {\n // IE 11 has no ShadowRoot\n if (typeof ShadowRoot === 'undefined') {\n return false;\n }\n\n var OwnElement = getWindow(node).ShadowRoot;\n return node instanceof OwnElement || node instanceof ShadowRoot;\n}\n\nexport { isElement, isHTMLElement, isShadowRoot };","import getNodeName from \"../dom-utils/getNodeName.js\";\nimport { isHTMLElement } from \"../dom-utils/instanceOf.js\"; // This modifier takes the styles prepared by the `computeStyles` modifier\n// and applies them to the HTMLElements such as popper and arrow\n\nfunction applyStyles(_ref) {\n var state = _ref.state;\n Object.keys(state.elements).forEach(function (name) {\n var style = state.styles[name] || {};\n var attributes = state.attributes[name] || {};\n var element = state.elements[name]; // arrow is optional + virtual elements\n\n if (!isHTMLElement(element) || !getNodeName(element)) {\n return;\n } // Flow doesn't support to extend this property, but it's the most\n // effective way to apply styles to an HTMLElement\n // $FlowFixMe[cannot-write]\n\n\n Object.assign(element.style, style);\n Object.keys(attributes).forEach(function (name) {\n var value = attributes[name];\n\n if (value === false) {\n element.removeAttribute(name);\n } else {\n element.setAttribute(name, value === true ? '' : value);\n }\n });\n });\n}\n\nfunction effect(_ref2) {\n var state = _ref2.state;\n var initialStyles = {\n popper: {\n position: state.options.strategy,\n left: '0',\n top: '0',\n margin: '0'\n },\n arrow: {\n position: 'absolute'\n },\n reference: {}\n };\n Object.assign(state.elements.popper.style, initialStyles.popper);\n state.styles = initialStyles;\n\n if (state.elements.arrow) {\n Object.assign(state.elements.arrow.style, initialStyles.arrow);\n }\n\n return function () {\n Object.keys(state.elements).forEach(function (name) {\n var element = state.elements[name];\n var attributes = state.attributes[name] || {};\n var styleProperties = Object.keys(state.styles.hasOwnProperty(name) ? state.styles[name] : initialStyles[name]); // Set all values to an empty string to unset them\n\n var style = styleProperties.reduce(function (style, property) {\n style[property] = '';\n return style;\n }, {}); // arrow is optional + virtual elements\n\n if (!isHTMLElement(element) || !getNodeName(element)) {\n return;\n }\n\n Object.assign(element.style, style);\n Object.keys(attributes).forEach(function (attribute) {\n element.removeAttribute(attribute);\n });\n });\n };\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'applyStyles',\n enabled: true,\n phase: 'write',\n fn: applyStyles,\n effect: effect,\n requires: ['computeStyles']\n};","import { auto } from \"../enums.js\";\nexport default function getBasePlacement(placement) {\n return placement.split('-')[0];\n}","export var max = Math.max;\nexport var min = Math.min;\nexport var round = Math.round;","export default function getUAString() {\n var uaData = navigator.userAgentData;\n\n if (uaData != null && uaData.brands && Array.isArray(uaData.brands)) {\n return uaData.brands.map(function (item) {\n return item.brand + \"/\" + item.version;\n }).join(' ');\n }\n\n return navigator.userAgent;\n}","import getUAString from \"../utils/userAgent.js\";\nexport default function isLayoutViewport() {\n return !/^((?!chrome|android).)*safari/i.test(getUAString());\n}","import { isElement, isHTMLElement } from \"./instanceOf.js\";\nimport { round } from \"../utils/math.js\";\nimport getWindow from \"./getWindow.js\";\nimport isLayoutViewport from \"./isLayoutViewport.js\";\nexport default function getBoundingClientRect(element, includeScale, isFixedStrategy) {\n if (includeScale === void 0) {\n includeScale = false;\n }\n\n if (isFixedStrategy === void 0) {\n isFixedStrategy = false;\n }\n\n var clientRect = element.getBoundingClientRect();\n var scaleX = 1;\n var scaleY = 1;\n\n if (includeScale && isHTMLElement(element)) {\n scaleX = element.offsetWidth > 0 ? round(clientRect.width) / element.offsetWidth || 1 : 1;\n scaleY = element.offsetHeight > 0 ? round(clientRect.height) / element.offsetHeight || 1 : 1;\n }\n\n var _ref = isElement(element) ? getWindow(element) : window,\n visualViewport = _ref.visualViewport;\n\n var addVisualOffsets = !isLayoutViewport() && isFixedStrategy;\n var x = (clientRect.left + (addVisualOffsets && visualViewport ? visualViewport.offsetLeft : 0)) / scaleX;\n var y = (clientRect.top + (addVisualOffsets && visualViewport ? visualViewport.offsetTop : 0)) / scaleY;\n var width = clientRect.width / scaleX;\n var height = clientRect.height / scaleY;\n return {\n width: width,\n height: height,\n top: y,\n right: x + width,\n bottom: y + height,\n left: x,\n x: x,\n y: y\n };\n}","import getBoundingClientRect from \"./getBoundingClientRect.js\"; // Returns the layout rect of an element relative to its offsetParent. Layout\n// means it doesn't take into account transforms.\n\nexport default function getLayoutRect(element) {\n var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed.\n // Fixes https://github.com/popperjs/popper-core/issues/1223\n\n var width = element.offsetWidth;\n var height = element.offsetHeight;\n\n if (Math.abs(clientRect.width - width) <= 1) {\n width = clientRect.width;\n }\n\n if (Math.abs(clientRect.height - height) <= 1) {\n height = clientRect.height;\n }\n\n return {\n x: element.offsetLeft,\n y: element.offsetTop,\n width: width,\n height: height\n };\n}","import { isShadowRoot } from \"./instanceOf.js\";\nexport default function contains(parent, child) {\n var rootNode = child.getRootNode && child.getRootNode(); // First, attempt with faster native method\n\n if (parent.contains(child)) {\n return true;\n } // then fallback to custom implementation with Shadow DOM support\n else if (rootNode && isShadowRoot(rootNode)) {\n var next = child;\n\n do {\n if (next && parent.isSameNode(next)) {\n return true;\n } // $FlowFixMe[prop-missing]: need a better way to handle this...\n\n\n next = next.parentNode || next.host;\n } while (next);\n } // Give up, the result is false\n\n\n return false;\n}","import getWindow from \"./getWindow.js\";\nexport default function getComputedStyle(element) {\n return getWindow(element).getComputedStyle(element);\n}","import getNodeName from \"./getNodeName.js\";\nexport default function isTableElement(element) {\n return ['table', 'td', 'th'].indexOf(getNodeName(element)) >= 0;\n}","import { isElement } from \"./instanceOf.js\";\nexport default function getDocumentElement(element) {\n // $FlowFixMe[incompatible-return]: assume body is always available\n return ((isElement(element) ? element.ownerDocument : // $FlowFixMe[prop-missing]\n element.document) || window.document).documentElement;\n}","import getNodeName from \"./getNodeName.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport { isShadowRoot } from \"./instanceOf.js\";\nexport default function getParentNode(element) {\n if (getNodeName(element) === 'html') {\n return element;\n }\n\n return (// this is a quicker (but less type safe) way to save quite some bytes from the bundle\n // $FlowFixMe[incompatible-return]\n // $FlowFixMe[prop-missing]\n element.assignedSlot || // step into the shadow DOM of the parent of a slotted node\n element.parentNode || ( // DOM Element detected\n isShadowRoot(element) ? element.host : null) || // ShadowRoot detected\n // $FlowFixMe[incompatible-call]: HTMLElement is a Node\n getDocumentElement(element) // fallback\n\n );\n}","import getWindow from \"./getWindow.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport getComputedStyle from \"./getComputedStyle.js\";\nimport { isHTMLElement, isShadowRoot } from \"./instanceOf.js\";\nimport isTableElement from \"./isTableElement.js\";\nimport getParentNode from \"./getParentNode.js\";\nimport getUAString from \"../utils/userAgent.js\";\n\nfunction getTrueOffsetParent(element) {\n if (!isHTMLElement(element) || // https://github.com/popperjs/popper-core/issues/837\n getComputedStyle(element).position === 'fixed') {\n return null;\n }\n\n return element.offsetParent;\n} // `.offsetParent` reports `null` for fixed elements, while absolute elements\n// return the containing block\n\n\nfunction getContainingBlock(element) {\n var isFirefox = /firefox/i.test(getUAString());\n var isIE = /Trident/i.test(getUAString());\n\n if (isIE && isHTMLElement(element)) {\n // In IE 9, 10 and 11 fixed elements containing block is always established by the viewport\n var elementCss = getComputedStyle(element);\n\n if (elementCss.position === 'fixed') {\n return null;\n }\n }\n\n var currentNode = getParentNode(element);\n\n if (isShadowRoot(currentNode)) {\n currentNode = currentNode.host;\n }\n\n while (isHTMLElement(currentNode) && ['html', 'body'].indexOf(getNodeName(currentNode)) < 0) {\n var css = getComputedStyle(currentNode); // This is non-exhaustive but covers the most common CSS properties that\n // create a containing block.\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n\n if (css.transform !== 'none' || css.perspective !== 'none' || css.contain === 'paint' || ['transform', 'perspective'].indexOf(css.willChange) !== -1 || isFirefox && css.willChange === 'filter' || isFirefox && css.filter && css.filter !== 'none') {\n return currentNode;\n } else {\n currentNode = currentNode.parentNode;\n }\n }\n\n return null;\n} // Gets the closest ancestor positioned element. Handles some edge cases,\n// such as table ancestors and cross browser bugs.\n\n\nexport default function getOffsetParent(element) {\n var window = getWindow(element);\n var offsetParent = getTrueOffsetParent(element);\n\n while (offsetParent && isTableElement(offsetParent) && getComputedStyle(offsetParent).position === 'static') {\n offsetParent = getTrueOffsetParent(offsetParent);\n }\n\n if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle(offsetParent).position === 'static')) {\n return window;\n }\n\n return offsetParent || getContainingBlock(element) || window;\n}","export default function getMainAxisFromPlacement(placement) {\n return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y';\n}","import { max as mathMax, min as mathMin } from \"./math.js\";\nexport function within(min, value, max) {\n return mathMax(min, mathMin(value, max));\n}\nexport function withinMaxClamp(min, value, max) {\n var v = within(min, value, max);\n return v > max ? max : v;\n}","export default function getFreshSideObject() {\n return {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0\n };\n}","import getFreshSideObject from \"./getFreshSideObject.js\";\nexport default function mergePaddingObject(paddingObject) {\n return Object.assign({}, getFreshSideObject(), paddingObject);\n}","export default function expandToHashMap(value, keys) {\n return keys.reduce(function (hashMap, key) {\n hashMap[key] = value;\n return hashMap;\n }, {});\n}","import getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getLayoutRect from \"../dom-utils/getLayoutRect.js\";\nimport contains from \"../dom-utils/contains.js\";\nimport getOffsetParent from \"../dom-utils/getOffsetParent.js\";\nimport getMainAxisFromPlacement from \"../utils/getMainAxisFromPlacement.js\";\nimport { within } from \"../utils/within.js\";\nimport mergePaddingObject from \"../utils/mergePaddingObject.js\";\nimport expandToHashMap from \"../utils/expandToHashMap.js\";\nimport { left, right, basePlacements, top, bottom } from \"../enums.js\"; // eslint-disable-next-line import/no-unused-modules\n\nvar toPaddingObject = function toPaddingObject(padding, state) {\n padding = typeof padding === 'function' ? padding(Object.assign({}, state.rects, {\n placement: state.placement\n })) : padding;\n return mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));\n};\n\nfunction arrow(_ref) {\n var _state$modifiersData$;\n\n var state = _ref.state,\n name = _ref.name,\n options = _ref.options;\n var arrowElement = state.elements.arrow;\n var popperOffsets = state.modifiersData.popperOffsets;\n var basePlacement = getBasePlacement(state.placement);\n var axis = getMainAxisFromPlacement(basePlacement);\n var isVertical = [left, right].indexOf(basePlacement) >= 0;\n var len = isVertical ? 'height' : 'width';\n\n if (!arrowElement || !popperOffsets) {\n return;\n }\n\n var paddingObject = toPaddingObject(options.padding, state);\n var arrowRect = getLayoutRect(arrowElement);\n var minProp = axis === 'y' ? top : left;\n var maxProp = axis === 'y' ? bottom : right;\n var endDiff = state.rects.reference[len] + state.rects.reference[axis] - popperOffsets[axis] - state.rects.popper[len];\n var startDiff = popperOffsets[axis] - state.rects.reference[axis];\n var arrowOffsetParent = getOffsetParent(arrowElement);\n var clientSize = arrowOffsetParent ? axis === 'y' ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0;\n var centerToReference = endDiff / 2 - startDiff / 2; // Make sure the arrow doesn't overflow the popper if the center point is\n // outside of the popper bounds\n\n var min = paddingObject[minProp];\n var max = clientSize - arrowRect[len] - paddingObject[maxProp];\n var center = clientSize / 2 - arrowRect[len] / 2 + centerToReference;\n var offset = within(min, center, max); // Prevents breaking syntax highlighting...\n\n var axisProp = axis;\n state.modifiersData[name] = (_state$modifiersData$ = {}, _state$modifiersData$[axisProp] = offset, _state$modifiersData$.centerOffset = offset - center, _state$modifiersData$);\n}\n\nfunction effect(_ref2) {\n var state = _ref2.state,\n options = _ref2.options;\n var _options$element = options.element,\n arrowElement = _options$element === void 0 ? '[data-popper-arrow]' : _options$element;\n\n if (arrowElement == null) {\n return;\n } // CSS selector\n\n\n if (typeof arrowElement === 'string') {\n arrowElement = state.elements.popper.querySelector(arrowElement);\n\n if (!arrowElement) {\n return;\n }\n }\n\n if (!contains(state.elements.popper, arrowElement)) {\n return;\n }\n\n state.elements.arrow = arrowElement;\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'arrow',\n enabled: true,\n phase: 'main',\n fn: arrow,\n effect: effect,\n requires: ['popperOffsets'],\n requiresIfExists: ['preventOverflow']\n};","export default function getVariation(placement) {\n return placement.split('-')[1];\n}","import { top, left, right, bottom, end } from \"../enums.js\";\nimport getOffsetParent from \"../dom-utils/getOffsetParent.js\";\nimport getWindow from \"../dom-utils/getWindow.js\";\nimport getDocumentElement from \"../dom-utils/getDocumentElement.js\";\nimport getComputedStyle from \"../dom-utils/getComputedStyle.js\";\nimport getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getVariation from \"../utils/getVariation.js\";\nimport { round } from \"../utils/math.js\"; // eslint-disable-next-line import/no-unused-modules\n\nvar unsetSides = {\n top: 'auto',\n right: 'auto',\n bottom: 'auto',\n left: 'auto'\n}; // Round the offsets to the nearest suitable subpixel based on the DPR.\n// Zooming can change the DPR, but it seems to report a value that will\n// cleanly divide the values into the appropriate subpixels.\n\nfunction roundOffsetsByDPR(_ref, win) {\n var x = _ref.x,\n y = _ref.y;\n var dpr = win.devicePixelRatio || 1;\n return {\n x: round(x * dpr) / dpr || 0,\n y: round(y * dpr) / dpr || 0\n };\n}\n\nexport function mapToStyles(_ref2) {\n var _Object$assign2;\n\n var popper = _ref2.popper,\n popperRect = _ref2.popperRect,\n placement = _ref2.placement,\n variation = _ref2.variation,\n offsets = _ref2.offsets,\n position = _ref2.position,\n gpuAcceleration = _ref2.gpuAcceleration,\n adaptive = _ref2.adaptive,\n roundOffsets = _ref2.roundOffsets,\n isFixed = _ref2.isFixed;\n var _offsets$x = offsets.x,\n x = _offsets$x === void 0 ? 0 : _offsets$x,\n _offsets$y = offsets.y,\n y = _offsets$y === void 0 ? 0 : _offsets$y;\n\n var _ref3 = typeof roundOffsets === 'function' ? roundOffsets({\n x: x,\n y: y\n }) : {\n x: x,\n y: y\n };\n\n x = _ref3.x;\n y = _ref3.y;\n var hasX = offsets.hasOwnProperty('x');\n var hasY = offsets.hasOwnProperty('y');\n var sideX = left;\n var sideY = top;\n var win = window;\n\n if (adaptive) {\n var offsetParent = getOffsetParent(popper);\n var heightProp = 'clientHeight';\n var widthProp = 'clientWidth';\n\n if (offsetParent === getWindow(popper)) {\n offsetParent = getDocumentElement(popper);\n\n if (getComputedStyle(offsetParent).position !== 'static' && position === 'absolute') {\n heightProp = 'scrollHeight';\n widthProp = 'scrollWidth';\n }\n } // $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it\n\n\n offsetParent = offsetParent;\n\n if (placement === top || (placement === left || placement === right) && variation === end) {\n sideY = bottom;\n var offsetY = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.height : // $FlowFixMe[prop-missing]\n offsetParent[heightProp];\n y -= offsetY - popperRect.height;\n y *= gpuAcceleration ? 1 : -1;\n }\n\n if (placement === left || (placement === top || placement === bottom) && variation === end) {\n sideX = right;\n var offsetX = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.width : // $FlowFixMe[prop-missing]\n offsetParent[widthProp];\n x -= offsetX - popperRect.width;\n x *= gpuAcceleration ? 1 : -1;\n }\n }\n\n var commonStyles = Object.assign({\n position: position\n }, adaptive && unsetSides);\n\n var _ref4 = roundOffsets === true ? roundOffsetsByDPR({\n x: x,\n y: y\n }, getWindow(popper)) : {\n x: x,\n y: y\n };\n\n x = _ref4.x;\n y = _ref4.y;\n\n if (gpuAcceleration) {\n var _Object$assign;\n\n return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) <= 1 ? \"translate(\" + x + \"px, \" + y + \"px)\" : \"translate3d(\" + x + \"px, \" + y + \"px, 0)\", _Object$assign));\n }\n\n return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + \"px\" : '', _Object$assign2[sideX] = hasX ? x + \"px\" : '', _Object$assign2.transform = '', _Object$assign2));\n}\n\nfunction computeStyles(_ref5) {\n var state = _ref5.state,\n options = _ref5.options;\n var _options$gpuAccelerat = options.gpuAcceleration,\n gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat,\n _options$adaptive = options.adaptive,\n adaptive = _options$adaptive === void 0 ? true : _options$adaptive,\n _options$roundOffsets = options.roundOffsets,\n roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets;\n var commonStyles = {\n placement: getBasePlacement(state.placement),\n variation: getVariation(state.placement),\n popper: state.elements.popper,\n popperRect: state.rects.popper,\n gpuAcceleration: gpuAcceleration,\n isFixed: state.options.strategy === 'fixed'\n };\n\n if (state.modifiersData.popperOffsets != null) {\n state.styles.popper = Object.assign({}, state.styles.popper, mapToStyles(Object.assign({}, commonStyles, {\n offsets: state.modifiersData.popperOffsets,\n position: state.options.strategy,\n adaptive: adaptive,\n roundOffsets: roundOffsets\n })));\n }\n\n if (state.modifiersData.arrow != null) {\n state.styles.arrow = Object.assign({}, state.styles.arrow, mapToStyles(Object.assign({}, commonStyles, {\n offsets: state.modifiersData.arrow,\n position: 'absolute',\n adaptive: false,\n roundOffsets: roundOffsets\n })));\n }\n\n state.attributes.popper = Object.assign({}, state.attributes.popper, {\n 'data-popper-placement': state.placement\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'computeStyles',\n enabled: true,\n phase: 'beforeWrite',\n fn: computeStyles,\n data: {}\n};","import getWindow from \"../dom-utils/getWindow.js\"; // eslint-disable-next-line import/no-unused-modules\n\nvar passive = {\n passive: true\n};\n\nfunction effect(_ref) {\n var state = _ref.state,\n instance = _ref.instance,\n options = _ref.options;\n var _options$scroll = options.scroll,\n scroll = _options$scroll === void 0 ? true : _options$scroll,\n _options$resize = options.resize,\n resize = _options$resize === void 0 ? true : _options$resize;\n var window = getWindow(state.elements.popper);\n var scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper);\n\n if (scroll) {\n scrollParents.forEach(function (scrollParent) {\n scrollParent.addEventListener('scroll', instance.update, passive);\n });\n }\n\n if (resize) {\n window.addEventListener('resize', instance.update, passive);\n }\n\n return function () {\n if (scroll) {\n scrollParents.forEach(function (scrollParent) {\n scrollParent.removeEventListener('scroll', instance.update, passive);\n });\n }\n\n if (resize) {\n window.removeEventListener('resize', instance.update, passive);\n }\n };\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'eventListeners',\n enabled: true,\n phase: 'write',\n fn: function fn() {},\n effect: effect,\n data: {}\n};","var hash = {\n left: 'right',\n right: 'left',\n bottom: 'top',\n top: 'bottom'\n};\nexport default function getOppositePlacement(placement) {\n return placement.replace(/left|right|bottom|top/g, function (matched) {\n return hash[matched];\n });\n}","var hash = {\n start: 'end',\n end: 'start'\n};\nexport default function getOppositeVariationPlacement(placement) {\n return placement.replace(/start|end/g, function (matched) {\n return hash[matched];\n });\n}","import getWindow from \"./getWindow.js\";\nexport default function getWindowScroll(node) {\n var win = getWindow(node);\n var scrollLeft = win.pageXOffset;\n var scrollTop = win.pageYOffset;\n return {\n scrollLeft: scrollLeft,\n scrollTop: scrollTop\n };\n}","import getBoundingClientRect from \"./getBoundingClientRect.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport getWindowScroll from \"./getWindowScroll.js\";\nexport default function getWindowScrollBarX(element) {\n // If <html> has a CSS width greater than the viewport, then this will be\n // incorrect for RTL.\n // Popper 1 is broken in this case and never had a bug report so let's assume\n // it's not an issue. I don't think anyone ever specifies width on <html>\n // anyway.\n // Browsers where the left scrollbar doesn't cause an issue report `0` for\n // this (e.g. Edge 2019, IE11, Safari)\n return getBoundingClientRect(getDocumentElement(element)).left + getWindowScroll(element).scrollLeft;\n}","import getWindow from \"./getWindow.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport getWindowScrollBarX from \"./getWindowScrollBarX.js\";\nimport isLayoutViewport from \"./isLayoutViewport.js\";\nexport default function getViewportRect(element, strategy) {\n var win = getWindow(element);\n var html = getDocumentElement(element);\n var visualViewport = win.visualViewport;\n var width = html.clientWidth;\n var height = html.clientHeight;\n var x = 0;\n var y = 0;\n\n if (visualViewport) {\n width = visualViewport.width;\n height = visualViewport.height;\n var layoutViewport = isLayoutViewport();\n\n if (layoutViewport || !layoutViewport && strategy === 'fixed') {\n x = visualViewport.offsetLeft;\n y = visualViewport.offsetTop;\n }\n }\n\n return {\n width: width,\n height: height,\n x: x + getWindowScrollBarX(element),\n y: y\n };\n}","import getDocumentElement from \"./getDocumentElement.js\";\nimport getComputedStyle from \"./getComputedStyle.js\";\nimport getWindowScrollBarX from \"./getWindowScrollBarX.js\";\nimport getWindowScroll from \"./getWindowScroll.js\";\nimport { max } from \"../utils/math.js\"; // Gets the entire size of the scrollable document area, even extending outside\n// of the `<html>` and `<body>` rect bounds if horizontally scrollable\n\nexport default function getDocumentRect(element) {\n var _element$ownerDocumen;\n\n var html = getDocumentElement(element);\n var winScroll = getWindowScroll(element);\n var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;\n var width = max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);\n var height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);\n var x = -winScroll.scrollLeft + getWindowScrollBarX(element);\n var y = -winScroll.scrollTop;\n\n if (getComputedStyle(body || html).direction === 'rtl') {\n x += max(html.clientWidth, body ? body.clientWidth : 0) - width;\n }\n\n return {\n width: width,\n height: height,\n x: x,\n y: y\n };\n}","import getComputedStyle from \"./getComputedStyle.js\";\nexport default function isScrollParent(element) {\n // Firefox wants us to check `-x` and `-y` variations as well\n var _getComputedStyle = getComputedStyle(element),\n overflow = _getComputedStyle.overflow,\n overflowX = _getComputedStyle.overflowX,\n overflowY = _getComputedStyle.overflowY;\n\n return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);\n}","import getParentNode from \"./getParentNode.js\";\nimport isScrollParent from \"./isScrollParent.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport { isHTMLElement } from \"./instanceOf.js\";\nexport default function getScrollParent(node) {\n if (['html', 'body', '#document'].indexOf(getNodeName(node)) >= 0) {\n // $FlowFixMe[incompatible-return]: assume body is always available\n return node.ownerDocument.body;\n }\n\n if (isHTMLElement(node) && isScrollParent(node)) {\n return node;\n }\n\n return getScrollParent(getParentNode(node));\n}","import getScrollParent from \"./getScrollParent.js\";\nimport getParentNode from \"./getParentNode.js\";\nimport getWindow from \"./getWindow.js\";\nimport isScrollParent from \"./isScrollParent.js\";\n/*\ngiven a DOM element, return the list of all scroll parents, up the list of ancesors\nuntil we get to the top window object. This list is what we attach scroll listeners\nto, because if any of these parent elements scroll, we'll need to re-calculate the\nreference element's position.\n*/\n\nexport default function listScrollParents(element, list) {\n var _element$ownerDocumen;\n\n if (list === void 0) {\n list = [];\n }\n\n var scrollParent = getScrollParent(element);\n var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body);\n var win = getWindow(scrollParent);\n var target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent;\n var updatedList = list.concat(target);\n return isBody ? updatedList : // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here\n updatedList.concat(listScrollParents(getParentNode(target)));\n}","export default function rectToClientRect(rect) {\n return Object.assign({}, rect, {\n left: rect.x,\n top: rect.y,\n right: rect.x + rect.width,\n bottom: rect.y + rect.height\n });\n}","import { viewport } from \"../enums.js\";\nimport getViewportRect from \"./getViewportRect.js\";\nimport getDocumentRect from \"./getDocumentRect.js\";\nimport listScrollParents from \"./listScrollParents.js\";\nimport getOffsetParent from \"./getOffsetParent.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport getComputedStyle from \"./getComputedStyle.js\";\nimport { isElement, isHTMLElement } from \"./instanceOf.js\";\nimport getBoundingClientRect from \"./getBoundingClientRect.js\";\nimport getParentNode from \"./getParentNode.js\";\nimport contains from \"./contains.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport rectToClientRect from \"../utils/rectToClientRect.js\";\nimport { max, min } from \"../utils/math.js\";\n\nfunction getInnerBoundingClientRect(element, strategy) {\n var rect = getBoundingClientRect(element, false, strategy === 'fixed');\n rect.top = rect.top + element.clientTop;\n rect.left = rect.left + element.clientLeft;\n rect.bottom = rect.top + element.clientHeight;\n rect.right = rect.left + element.clientWidth;\n rect.width = element.clientWidth;\n rect.height = element.clientHeight;\n rect.x = rect.left;\n rect.y = rect.top;\n return rect;\n}\n\nfunction getClientRectFromMixedType(element, clippingParent, strategy) {\n return clippingParent === viewport ? rectToClientRect(getViewportRect(element, strategy)) : isElement(clippingParent) ? getInnerBoundingClientRect(clippingParent, strategy) : rectToClientRect(getDocumentRect(getDocumentElement(element)));\n} // A \"clipping parent\" is an overflowable container with the characteristic of\n// clipping (or hiding) overflowing elements with a position different from\n// `initial`\n\n\nfunction getClippingParents(element) {\n var clippingParents = listScrollParents(getParentNode(element));\n var canEscapeClipping = ['absolute', 'fixed'].indexOf(getComputedStyle(element).position) >= 0;\n var clipperElement = canEscapeClipping && isHTMLElement(element) ? getOffsetParent(element) : element;\n\n if (!isElement(clipperElement)) {\n return [];\n } // $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414\n\n\n return clippingParents.filter(function (clippingParent) {\n return isElement(clippingParent) && contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body';\n });\n} // Gets the maximum area that the element is visible in due to any number of\n// clipping parents\n\n\nexport default function getClippingRect(element, boundary, rootBoundary, strategy) {\n var mainClippingParents = boundary === 'clippingParents' ? getClippingParents(element) : [].concat(boundary);\n var clippingParents = [].concat(mainClippingParents, [rootBoundary]);\n var firstClippingParent = clippingParents[0];\n var clippingRect = clippingParents.reduce(function (accRect, clippingParent) {\n var rect = getClientRectFromMixedType(element, clippingParent, strategy);\n accRect.top = max(rect.top, accRect.top);\n accRect.right = min(rect.right, accRect.right);\n accRect.bottom = min(rect.bottom, accRect.bottom);\n accRect.left = max(rect.left, accRect.left);\n return accRect;\n }, getClientRectFromMixedType(element, firstClippingParent, strategy));\n clippingRect.width = clippingRect.right - clippingRect.left;\n clippingRect.height = clippingRect.bottom - clippingRect.top;\n clippingRect.x = clippingRect.left;\n clippingRect.y = clippingRect.top;\n return clippingRect;\n}","import getBasePlacement from \"./getBasePlacement.js\";\nimport getVariation from \"./getVariation.js\";\nimport getMainAxisFromPlacement from \"./getMainAxisFromPlacement.js\";\nimport { top, right, bottom, left, start, end } from \"../enums.js\";\nexport default function computeOffsets(_ref) {\n var reference = _ref.reference,\n element = _ref.element,\n placement = _ref.placement;\n var basePlacement = placement ? getBasePlacement(placement) : null;\n var variation = placement ? getVariation(placement) : null;\n var commonX = reference.x + reference.width / 2 - element.width / 2;\n var commonY = reference.y + reference.height / 2 - element.height / 2;\n var offsets;\n\n switch (basePlacement) {\n case top:\n offsets = {\n x: commonX,\n y: reference.y - element.height\n };\n break;\n\n case bottom:\n offsets = {\n x: commonX,\n y: reference.y + reference.height\n };\n break;\n\n case right:\n offsets = {\n x: reference.x + reference.width,\n y: commonY\n };\n break;\n\n case left:\n offsets = {\n x: reference.x - element.width,\n y: commonY\n };\n break;\n\n default:\n offsets = {\n x: reference.x,\n y: reference.y\n };\n }\n\n var mainAxis = basePlacement ? getMainAxisFromPlacement(basePlacement) : null;\n\n if (mainAxis != null) {\n var len = mainAxis === 'y' ? 'height' : 'width';\n\n switch (variation) {\n case start:\n offsets[mainAxis] = offsets[mainAxis] - (reference[len] / 2 - element[len] / 2);\n break;\n\n case end:\n offsets[mainAxis] = offsets[mainAxis] + (reference[len] / 2 - element[len] / 2);\n break;\n\n default:\n }\n }\n\n return offsets;\n}","import getClippingRect from \"../dom-utils/getClippingRect.js\";\nimport getDocumentElement from \"../dom-utils/getDocumentElement.js\";\nimport getBoundingClientRect from \"../dom-utils/getBoundingClientRect.js\";\nimport computeOffsets from \"./computeOffsets.js\";\nimport rectToClientRect from \"./rectToClientRect.js\";\nimport { clippingParents, reference, popper, bottom, top, right, basePlacements, viewport } from \"../enums.js\";\nimport { isElement } from \"../dom-utils/instanceOf.js\";\nimport mergePaddingObject from \"./mergePaddingObject.js\";\nimport expandToHashMap from \"./expandToHashMap.js\"; // eslint-disable-next-line import/no-unused-modules\n\nexport default function detectOverflow(state, options) {\n if (options === void 0) {\n options = {};\n }\n\n var _options = options,\n _options$placement = _options.placement,\n placement = _options$placement === void 0 ? state.placement : _options$placement,\n _options$strategy = _options.strategy,\n strategy = _options$strategy === void 0 ? state.strategy : _options$strategy,\n _options$boundary = _options.boundary,\n boundary = _options$boundary === void 0 ? clippingParents : _options$boundary,\n _options$rootBoundary = _options.rootBoundary,\n rootBoundary = _options$rootBoundary === void 0 ? viewport : _options$rootBoundary,\n _options$elementConte = _options.elementContext,\n elementContext = _options$elementConte === void 0 ? popper : _options$elementConte,\n _options$altBoundary = _options.altBoundary,\n altBoundary = _options$altBoundary === void 0 ? false : _options$altBoundary,\n _options$padding = _options.padding,\n padding = _options$padding === void 0 ? 0 : _options$padding;\n var paddingObject = mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));\n var altContext = elementContext === popper ? reference : popper;\n var popperRect = state.rects.popper;\n var element = state.elements[altBoundary ? altContext : elementContext];\n var clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary, strategy);\n var referenceClientRect = getBoundingClientRect(state.elements.reference);\n var popperOffsets = computeOffsets({\n reference: referenceClientRect,\n element: popperRect,\n strategy: 'absolute',\n placement: placement\n });\n var popperClientRect = rectToClientRect(Object.assign({}, popperRect, popperOffsets));\n var elementClientRect = elementContext === popper ? popperClientRect : referenceClientRect; // positive = overflowing the clipping rect\n // 0 or negative = within the clipping rect\n\n var overflowOffsets = {\n top: clippingClientRect.top - elementClientRect.top + paddingObject.top,\n bottom: elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom,\n left: clippingClientRect.left - elementClientRect.left + paddingObject.left,\n right: elementClientRect.right - clippingClientRect.right + paddingObject.right\n };\n var offsetData = state.modifiersData.offset; // Offsets can be applied only to the popper element\n\n if (elementContext === popper && offsetData) {\n var offset = offsetData[placement];\n Object.keys(overflowOffsets).forEach(function (key) {\n var multiply = [right, bottom].indexOf(key) >= 0 ? 1 : -1;\n var axis = [top, bottom].indexOf(key) >= 0 ? 'y' : 'x';\n overflowOffsets[key] += offset[axis] * multiply;\n });\n }\n\n return overflowOffsets;\n}","import getVariation from \"./getVariation.js\";\nimport { variationPlacements, basePlacements, placements as allPlacements } from \"../enums.js\";\nimport detectOverflow from \"./detectOverflow.js\";\nimport getBasePlacement from \"./getBasePlacement.js\";\nexport default function computeAutoPlacement(state, options) {\n if (options === void 0) {\n options = {};\n }\n\n var _options = options,\n placement = _options.placement,\n boundary = _options.boundary,\n rootBoundary = _options.rootBoundary,\n padding = _options.padding,\n flipVariations = _options.flipVariations,\n _options$allowedAutoP = _options.allowedAutoPlacements,\n allowedAutoPlacements = _options$allowedAutoP === void 0 ? allPlacements : _options$allowedAutoP;\n var variation = getVariation(placement);\n var placements = variation ? flipVariations ? variationPlacements : variationPlacements.filter(function (placement) {\n return getVariation(placement) === variation;\n }) : basePlacements;\n var allowedPlacements = placements.filter(function (placement) {\n return allowedAutoPlacements.indexOf(placement) >= 0;\n });\n\n if (allowedPlacements.length === 0) {\n allowedPlacements = placements;\n } // $FlowFixMe[incompatible-type]: Flow seems to have problems with two array unions...\n\n\n var overflows = allowedPlacements.reduce(function (acc, placement) {\n acc[placement] = detectOverflow(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding\n })[getBasePlacement(placement)];\n return acc;\n }, {});\n return Object.keys(overflows).sort(function (a, b) {\n return overflows[a] - overflows[b];\n });\n}","import getOppositePlacement from \"../utils/getOppositePlacement.js\";\nimport getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getOppositeVariationPlacement from \"../utils/getOppositeVariationPlacement.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\nimport computeAutoPlacement from \"../utils/computeAutoPlacement.js\";\nimport { bottom, top, start, right, left, auto } from \"../enums.js\";\nimport getVariation from \"../utils/getVariation.js\"; // eslint-disable-next-line import/no-unused-modules\n\nfunction getExpandedFallbackPlacements(placement) {\n if (getBasePlacement(placement) === auto) {\n return [];\n }\n\n var oppositePlacement = getOppositePlacement(placement);\n return [getOppositeVariationPlacement(placement), oppositePlacement, getOppositeVariationPlacement(oppositePlacement)];\n}\n\nfunction flip(_ref) {\n var state = _ref.state,\n options = _ref.options,\n name = _ref.name;\n\n if (state.modifiersData[name]._skip) {\n return;\n }\n\n var _options$mainAxis = options.mainAxis,\n checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,\n _options$altAxis = options.altAxis,\n checkAltAxis = _options$altAxis === void 0 ? true : _options$altAxis,\n specifiedFallbackPlacements = options.fallbackPlacements,\n padding = options.padding,\n boundary = options.boundary,\n rootBoundary = options.rootBoundary,\n altBoundary = options.altBoundary,\n _options$flipVariatio = options.flipVariations,\n flipVariations = _options$flipVariatio === void 0 ? true : _options$flipVariatio,\n allowedAutoPlacements = options.allowedAutoPlacements;\n var preferredPlacement = state.options.placement;\n var basePlacement = getBasePlacement(preferredPlacement);\n var isBasePlacement = basePlacement === preferredPlacement;\n var fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipVariations ? [getOppositePlacement(preferredPlacement)] : getExpandedFallbackPlacements(preferredPlacement));\n var placements = [preferredPlacement].concat(fallbackPlacements).reduce(function (acc, placement) {\n return acc.concat(getBasePlacement(placement) === auto ? computeAutoPlacement(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding,\n flipVariations: flipVariations,\n allowedAutoPlacements: allowedAutoPlacements\n }) : placement);\n }, []);\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var checksMap = new Map();\n var makeFallbackChecks = true;\n var firstFittingPlacement = placements[0];\n\n for (var i = 0; i < placements.length; i++) {\n var placement = placements[i];\n\n var _basePlacement = getBasePlacement(placement);\n\n var isStartVariation = getVariation(placement) === start;\n var isVertical = [top, bottom].indexOf(_basePlacement) >= 0;\n var len = isVertical ? 'width' : 'height';\n var overflow = detectOverflow(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n altBoundary: altBoundary,\n padding: padding\n });\n var mainVariationSide = isVertical ? isStartVariation ? right : left : isStartVariation ? bottom : top;\n\n if (referenceRect[len] > popperRect[len]) {\n mainVariationSide = getOppositePlacement(mainVariationSide);\n }\n\n var altVariationSide = getOppositePlacement(mainVariationSide);\n var checks = [];\n\n if (checkMainAxis) {\n checks.push(overflow[_basePlacement] <= 0);\n }\n\n if (checkAltAxis) {\n checks.push(overflow[mainVariationSide] <= 0, overflow[altVariationSide] <= 0);\n }\n\n if (checks.every(function (check) {\n return check;\n })) {\n firstFittingPlacement = placement;\n makeFallbackChecks = false;\n break;\n }\n\n checksMap.set(placement, checks);\n }\n\n if (makeFallbackChecks) {\n // `2` may be desired in some cases – research later\n var numberOfChecks = flipVariations ? 3 : 1;\n\n var _loop = function _loop(_i) {\n var fittingPlacement = placements.find(function (placement) {\n var checks = checksMap.get(placement);\n\n if (checks) {\n return checks.slice(0, _i).every(function (check) {\n return check;\n });\n }\n });\n\n if (fittingPlacement) {\n firstFittingPlacement = fittingPlacement;\n return \"break\";\n }\n };\n\n for (var _i = numberOfChecks; _i > 0; _i--) {\n var _ret = _loop(_i);\n\n if (_ret === \"break\") break;\n }\n }\n\n if (state.placement !== firstFittingPlacement) {\n state.modifiersData[name]._skip = true;\n state.placement = firstFittingPlacement;\n state.reset = true;\n }\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'flip',\n enabled: true,\n phase: 'main',\n fn: flip,\n requiresIfExists: ['offset'],\n data: {\n _skip: false\n }\n};","import { top, bottom, left, right } from \"../enums.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\n\nfunction getSideOffsets(overflow, rect, preventedOffsets) {\n if (preventedOffsets === void 0) {\n preventedOffsets = {\n x: 0,\n y: 0\n };\n }\n\n return {\n top: overflow.top - rect.height - preventedOffsets.y,\n right: overflow.right - rect.width + preventedOffsets.x,\n bottom: overflow.bottom - rect.height + preventedOffsets.y,\n left: overflow.left - rect.width - preventedOffsets.x\n };\n}\n\nfunction isAnySideFullyClipped(overflow) {\n return [top, right, bottom, left].some(function (side) {\n return overflow[side] >= 0;\n });\n}\n\nfunction hide(_ref) {\n var state = _ref.state,\n name = _ref.name;\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var preventedOffsets = state.modifiersData.preventOverflow;\n var referenceOverflow = detectOverflow(state, {\n elementContext: 'reference'\n });\n var popperAltOverflow = detectOverflow(state, {\n altBoundary: true\n });\n var referenceClippingOffsets = getSideOffsets(referenceOverflow, referenceRect);\n var popperEscapeOffsets = getSideOffsets(popperAltOverflow, popperRect, preventedOffsets);\n var isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets);\n var hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets);\n state.modifiersData[name] = {\n referenceClippingOffsets: referenceClippingOffsets,\n popperEscapeOffsets: popperEscapeOffsets,\n isReferenceHidden: isReferenceHidden,\n hasPopperEscaped: hasPopperEscaped\n };\n state.attributes.popper = Object.assign({}, state.attributes.popper, {\n 'data-popper-reference-hidden': isReferenceHidden,\n 'data-popper-escaped': hasPopperEscaped\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'hide',\n enabled: true,\n phase: 'main',\n requiresIfExists: ['preventOverflow'],\n fn: hide\n};","import getBasePlacement from \"../utils/getBasePlacement.js\";\nimport { top, left, right, placements } from \"../enums.js\"; // eslint-disable-next-line import/no-unused-modules\n\nexport function distanceAndSkiddingToXY(placement, rects, offset) {\n var basePlacement = getBasePlacement(placement);\n var invertDistance = [left, top].indexOf(basePlacement) >= 0 ? -1 : 1;\n\n var _ref = typeof offset === 'function' ? offset(Object.assign({}, rects, {\n placement: placement\n })) : offset,\n skidding = _ref[0],\n distance = _ref[1];\n\n skidding = skidding || 0;\n distance = (distance || 0) * invertDistance;\n return [left, right].indexOf(basePlacement) >= 0 ? {\n x: distance,\n y: skidding\n } : {\n x: skidding,\n y: distance\n };\n}\n\nfunction offset(_ref2) {\n var state = _ref2.state,\n options = _ref2.options,\n name = _ref2.name;\n var _options$offset = options.offset,\n offset = _options$offset === void 0 ? [0, 0] : _options$offset;\n var data = placements.reduce(function (acc, placement) {\n acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset);\n return acc;\n }, {});\n var _data$state$placement = data[state.placement],\n x = _data$state$placement.x,\n y = _data$state$placement.y;\n\n if (state.modifiersData.popperOffsets != null) {\n state.modifiersData.popperOffsets.x += x;\n state.modifiersData.popperOffsets.y += y;\n }\n\n state.modifiersData[name] = data;\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'offset',\n enabled: true,\n phase: 'main',\n requires: ['popperOffsets'],\n fn: offset\n};","import computeOffsets from \"../utils/computeOffsets.js\";\n\nfunction popperOffsets(_ref) {\n var state = _ref.state,\n name = _ref.name;\n // Offsets are the actual position the popper needs to have to be\n // properly positioned near its reference element\n // This is the most basic placement, and will be adjusted by\n // the modifiers in the next step\n state.modifiersData[name] = computeOffsets({\n reference: state.rects.reference,\n element: state.rects.popper,\n strategy: 'absolute',\n placement: state.placement\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'popperOffsets',\n enabled: true,\n phase: 'read',\n fn: popperOffsets,\n data: {}\n};","export default function getAltAxis(axis) {\n return axis === 'x' ? 'y' : 'x';\n}","import { top, left, right, bottom, start } from \"../enums.js\";\nimport getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getMainAxisFromPlacement from \"../utils/getMainAxisFromPlacement.js\";\nimport getAltAxis from \"../utils/getAltAxis.js\";\nimport { within, withinMaxClamp } from \"../utils/within.js\";\nimport getLayoutRect from \"../dom-utils/getLayoutRect.js\";\nimport getOffsetParent from \"../dom-utils/getOffsetParent.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\nimport getVariation from \"../utils/getVariation.js\";\nimport getFreshSideObject from \"../utils/getFreshSideObject.js\";\nimport { min as mathMin, max as mathMax } from \"../utils/math.js\";\n\nfunction preventOverflow(_ref) {\n var state = _ref.state,\n options = _ref.options,\n name = _ref.name;\n var _options$mainAxis = options.mainAxis,\n checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,\n _options$altAxis = options.altAxis,\n checkAltAxis = _options$altAxis === void 0 ? false : _options$altAxis,\n boundary = options.boundary,\n rootBoundary = options.rootBoundary,\n altBoundary = options.altBoundary,\n padding = options.padding,\n _options$tether = options.tether,\n tether = _options$tether === void 0 ? true : _options$tether,\n _options$tetherOffset = options.tetherOffset,\n tetherOffset = _options$tetherOffset === void 0 ? 0 : _options$tetherOffset;\n var overflow = detectOverflow(state, {\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding,\n altBoundary: altBoundary\n });\n var basePlacement = getBasePlacement(state.placement);\n var variation = getVariation(state.placement);\n var isBasePlacement = !variation;\n var mainAxis = getMainAxisFromPlacement(basePlacement);\n var altAxis = getAltAxis(mainAxis);\n var popperOffsets = state.modifiersData.popperOffsets;\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, {\n placement: state.placement\n })) : tetherOffset;\n var normalizedTetherOffsetValue = typeof tetherOffsetValue === 'number' ? {\n mainAxis: tetherOffsetValue,\n altAxis: tetherOffsetValue\n } : Object.assign({\n mainAxis: 0,\n altAxis: 0\n }, tetherOffsetValue);\n var offsetModifierState = state.modifiersData.offset ? state.modifiersData.offset[state.placement] : null;\n var data = {\n x: 0,\n y: 0\n };\n\n if (!popperOffsets) {\n return;\n }\n\n if (checkMainAxis) {\n var _offsetModifierState$;\n\n var mainSide = mainAxis === 'y' ? top : left;\n var altSide = mainAxis === 'y' ? bottom : right;\n var len = mainAxis === 'y' ? 'height' : 'width';\n var offset = popperOffsets[mainAxis];\n var min = offset + overflow[mainSide];\n var max = offset - overflow[altSide];\n var additive = tether ? -popperRect[len] / 2 : 0;\n var minLen = variation === start ? referenceRect[len] : popperRect[len];\n var maxLen = variation === start ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go\n // outside the reference bounds\n\n var arrowElement = state.elements.arrow;\n var arrowRect = tether && arrowElement ? getLayoutRect(arrowElement) : {\n width: 0,\n height: 0\n };\n var arrowPaddingObject = state.modifiersData['arrow#persistent'] ? state.modifiersData['arrow#persistent'].padding : getFreshSideObject();\n var arrowPaddingMin = arrowPaddingObject[mainSide];\n var arrowPaddingMax = arrowPaddingObject[altSide]; // If the reference length is smaller than the arrow length, we don't want\n // to include its full size in the calculation. If the reference is small\n // and near the edge of a boundary, the popper can overflow even if the\n // reference is not overflowing as well (e.g. virtual elements with no\n // width or height)\n\n var arrowLen = within(0, referenceRect[len], arrowRect[len]);\n var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis : minLen - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis;\n var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis : maxLen + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis;\n var arrowOffsetParent = state.elements.arrow && getOffsetParent(state.elements.arrow);\n var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;\n var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ? void 0 : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0;\n var tetherMin = offset + minOffset - offsetModifierValue - clientOffset;\n var tetherMax = offset + maxOffset - offsetModifierValue;\n var preventedOffset = within(tether ? mathMin(min, tetherMin) : min, offset, tether ? mathMax(max, tetherMax) : max);\n popperOffsets[mainAxis] = preventedOffset;\n data[mainAxis] = preventedOffset - offset;\n }\n\n if (checkAltAxis) {\n var _offsetModifierState$2;\n\n var _mainSide = mainAxis === 'x' ? top : left;\n\n var _altSide = mainAxis === 'x' ? bottom : right;\n\n var _offset = popperOffsets[altAxis];\n\n var _len = altAxis === 'y' ? 'height' : 'width';\n\n var _min = _offset + overflow[_mainSide];\n\n var _max = _offset - overflow[_altSide];\n\n var isOriginSide = [top, left].indexOf(basePlacement) !== -1;\n\n var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ? void 0 : offsetModifierState[altAxis]) != null ? _offsetModifierState$2 : 0;\n\n var _tetherMin = isOriginSide ? _min : _offset - referenceRect[_len] - popperRect[_len] - _offsetModifierValue + normalizedTetherOffsetValue.altAxis;\n\n var _tetherMax = isOriginSide ? _offset + referenceRect[_len] + popperRect[_len] - _offsetModifierValue - normalizedTetherOffsetValue.altAxis : _max;\n\n var _preventedOffset = tether && isOriginSide ? withinMaxClamp(_tetherMin, _offset, _tetherMax) : within(tether ? _tetherMin : _min, _offset, tether ? _tetherMax : _max);\n\n popperOffsets[altAxis] = _preventedOffset;\n data[altAxis] = _preventedOffset - _offset;\n }\n\n state.modifiersData[name] = data;\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'preventOverflow',\n enabled: true,\n phase: 'main',\n fn: preventOverflow,\n requiresIfExists: ['offset']\n};","export default function getHTMLElementScroll(element) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\n };\n}","import getWindowScroll from \"./getWindowScroll.js\";\nimport getWindow from \"./getWindow.js\";\nimport { isHTMLElement } from \"./instanceOf.js\";\nimport getHTMLElementScroll from \"./getHTMLElementScroll.js\";\nexport default function getNodeScroll(node) {\n if (node === getWindow(node) || !isHTMLElement(node)) {\n return getWindowScroll(node);\n } else {\n return getHTMLElementScroll(node);\n }\n}","import getBoundingClientRect from \"./getBoundingClientRect.js\";\nimport getNodeScroll from \"./getNodeScroll.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport { isHTMLElement } from \"./instanceOf.js\";\nimport getWindowScrollBarX from \"./getWindowScrollBarX.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport isScrollParent from \"./isScrollParent.js\";\nimport { round } from \"../utils/math.js\";\n\nfunction isElementScaled(element) {\n var rect = element.getBoundingClientRect();\n var scaleX = round(rect.width) / element.offsetWidth || 1;\n var scaleY = round(rect.height) / element.offsetHeight || 1;\n return scaleX !== 1 || scaleY !== 1;\n} // Returns the composite rect of an element relative to its offsetParent.\n// Composite means it takes into account transforms as well as layout.\n\n\nexport default function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {\n if (isFixed === void 0) {\n isFixed = false;\n }\n\n var isOffsetParentAnElement = isHTMLElement(offsetParent);\n var offsetParentIsScaled = isHTMLElement(offsetParent) && isElementScaled(offsetParent);\n var documentElement = getDocumentElement(offsetParent);\n var rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled, isFixed);\n var scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n var offsets = {\n x: 0,\n y: 0\n };\n\n if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n if (getNodeName(offsetParent) !== 'body' || // https://github.com/popperjs/popper-core/issues/1078\n isScrollParent(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n\n if (isHTMLElement(offsetParent)) {\n offsets = getBoundingClientRect(offsetParent, true);\n offsets.x += offsetParent.clientLeft;\n offsets.y += offsetParent.clientTop;\n } else if (documentElement) {\n offsets.x = getWindowScrollBarX(documentElement);\n }\n }\n\n return {\n x: rect.left + scroll.scrollLeft - offsets.x,\n y: rect.top + scroll.scrollTop - offsets.y,\n width: rect.width,\n height: rect.height\n };\n}","import { modifierPhases } from \"../enums.js\"; // source: https://stackoverflow.com/questions/49875255\n\nfunction order(modifiers) {\n var map = new Map();\n var visited = new Set();\n var result = [];\n modifiers.forEach(function (modifier) {\n map.set(modifier.name, modifier);\n }); // On visiting object, check for its dependencies and visit them recursively\n\n function sort(modifier) {\n visited.add(modifier.name);\n var requires = [].concat(modifier.requires || [], modifier.requiresIfExists || []);\n requires.forEach(function (dep) {\n if (!visited.has(dep)) {\n var depModifier = map.get(dep);\n\n if (depModifier) {\n sort(depModifier);\n }\n }\n });\n result.push(modifier);\n }\n\n modifiers.forEach(function (modifier) {\n if (!visited.has(modifier.name)) {\n // check for visited object\n sort(modifier);\n }\n });\n return result;\n}\n\nexport default function orderModifiers(modifiers) {\n // order based on dependencies\n var orderedModifiers = order(modifiers); // order based on phase\n\n return modifierPhases.reduce(function (acc, phase) {\n return acc.concat(orderedModifiers.filter(function (modifier) {\n return modifier.phase === phase;\n }));\n }, []);\n}","export default function debounce(fn) {\n var pending;\n return function () {\n if (!pending) {\n pending = new Promise(function (resolve) {\n Promise.resolve().then(function () {\n pending = undefined;\n resolve(fn());\n });\n });\n }\n\n return pending;\n };\n}","export default function mergeByName(modifiers) {\n var merged = modifiers.reduce(function (merged, current) {\n var existing = merged[current.name];\n merged[current.name] = existing ? Object.assign({}, existing, current, {\n options: Object.assign({}, existing.options, current.options),\n data: Object.assign({}, existing.data, current.data)\n }) : current;\n return merged;\n }, {}); // IE11 does not support Object.values\n\n return Object.keys(merged).map(function (key) {\n return merged[key];\n });\n}","import getCompositeRect from \"./dom-utils/getCompositeRect.js\";\nimport getLayoutRect from \"./dom-utils/getLayoutRect.js\";\nimport listScrollParents from \"./dom-utils/listScrollParents.js\";\nimport getOffsetParent from \"./dom-utils/getOffsetParent.js\";\nimport orderModifiers from \"./utils/orderModifiers.js\";\nimport debounce from \"./utils/debounce.js\";\nimport mergeByName from \"./utils/mergeByName.js\";\nimport detectOverflow from \"./utils/detectOverflow.js\";\nimport { isElement } from \"./dom-utils/instanceOf.js\";\nvar DEFAULT_OPTIONS = {\n placement: 'bottom',\n modifiers: [],\n strategy: 'absolute'\n};\n\nfunction areValidElements() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return !args.some(function (element) {\n return !(element && typeof element.getBoundingClientRect === 'function');\n });\n}\n\nexport function popperGenerator(generatorOptions) {\n if (generatorOptions === void 0) {\n generatorOptions = {};\n }\n\n var _generatorOptions = generatorOptions,\n _generatorOptions$def = _generatorOptions.defaultModifiers,\n defaultModifiers = _generatorOptions$def === void 0 ? [] : _generatorOptions$def,\n _generatorOptions$def2 = _generatorOptions.defaultOptions,\n defaultOptions = _generatorOptions$def2 === void 0 ? DEFAULT_OPTIONS : _generatorOptions$def2;\n return function createPopper(reference, popper, options) {\n if (options === void 0) {\n options = defaultOptions;\n }\n\n var state = {\n placement: 'bottom',\n orderedModifiers: [],\n options: Object.assign({}, DEFAULT_OPTIONS, defaultOptions),\n modifiersData: {},\n elements: {\n reference: reference,\n popper: popper\n },\n attributes: {},\n styles: {}\n };\n var effectCleanupFns = [];\n var isDestroyed = false;\n var instance = {\n state: state,\n setOptions: function setOptions(setOptionsAction) {\n var options = typeof setOptionsAction === 'function' ? setOptionsAction(state.options) : setOptionsAction;\n cleanupModifierEffects();\n state.options = Object.assign({}, defaultOptions, state.options, options);\n state.scrollParents = {\n reference: isElement(reference) ? listScrollParents(reference) : reference.contextElement ? listScrollParents(reference.contextElement) : [],\n popper: listScrollParents(popper)\n }; // Orders the modifiers based on their dependencies and `phase`\n // properties\n\n var orderedModifiers = orderModifiers(mergeByName([].concat(defaultModifiers, state.options.modifiers))); // Strip out disabled modifiers\n\n state.orderedModifiers = orderedModifiers.filter(function (m) {\n return m.enabled;\n });\n runModifierEffects();\n return instance.update();\n },\n // Sync update – it will always be executed, even if not necessary. This\n // is useful for low frequency updates where sync behavior simplifies the\n // logic.\n // For high frequency updates (e.g. `resize` and `scroll` events), always\n // prefer the async Popper#update method\n forceUpdate: function forceUpdate() {\n if (isDestroyed) {\n return;\n }\n\n var _state$elements = state.elements,\n reference = _state$elements.reference,\n popper = _state$elements.popper; // Don't proceed if `reference` or `popper` are not valid elements\n // anymore\n\n if (!areValidElements(reference, popper)) {\n return;\n } // Store the reference and popper rects to be read by modifiers\n\n\n state.rects = {\n reference: getCompositeRect(reference, getOffsetParent(popper), state.options.strategy === 'fixed'),\n popper: getLayoutRect(popper)\n }; // Modifiers have the ability to reset the current update cycle. The\n // most common use case for this is the `flip` modifier changing the\n // placement, which then needs to re-run all the modifiers, because the\n // logic was previously ran for the previous placement and is therefore\n // stale/incorrect\n\n state.reset = false;\n state.placement = state.options.placement; // On each update cycle, the `modifiersData` property for each modifier\n // is filled with the initial data specified by the modifier. This means\n // it doesn't persist and is fresh on each update.\n // To ensure persistent data, use `${name}#persistent`\n\n state.orderedModifiers.forEach(function (modifier) {\n return state.modifiersData[modifier.name] = Object.assign({}, modifier.data);\n });\n\n for (var index = 0; index < state.orderedModifiers.length; index++) {\n if (state.reset === true) {\n state.reset = false;\n index = -1;\n continue;\n }\n\n var _state$orderedModifie = state.orderedModifiers[index],\n fn = _state$orderedModifie.fn,\n _state$orderedModifie2 = _state$orderedModifie.options,\n _options = _state$orderedModifie2 === void 0 ? {} : _state$orderedModifie2,\n name = _state$orderedModifie.name;\n\n if (typeof fn === 'function') {\n state = fn({\n state: state,\n options: _options,\n name: name,\n instance: instance\n }) || state;\n }\n }\n },\n // Async and optimistically optimized update – it will not be executed if\n // not necessary (debounced to run at most once-per-tick)\n update: debounce(function () {\n return new Promise(function (resolve) {\n instance.forceUpdate();\n resolve(state);\n });\n }),\n destroy: function destroy() {\n cleanupModifierEffects();\n isDestroyed = true;\n }\n };\n\n if (!areValidElements(reference, popper)) {\n return instance;\n }\n\n instance.setOptions(options).then(function (state) {\n if (!isDestroyed && options.onFirstUpdate) {\n options.onFirstUpdate(state);\n }\n }); // Modifiers have the ability to execute arbitrary code before the first\n // update cycle runs. They will be executed in the same order as the update\n // cycle. This is useful when a modifier adds some persistent data that\n // other modifiers need to use, but the modifier is run after the dependent\n // one.\n\n function runModifierEffects() {\n state.orderedModifiers.forEach(function (_ref) {\n var name = _ref.name,\n _ref$options = _ref.options,\n options = _ref$options === void 0 ? {} : _ref$options,\n effect = _ref.effect;\n\n if (typeof effect === 'function') {\n var cleanupFn = effect({\n state: state,\n name: name,\n instance: instance,\n options: options\n });\n\n var noopFn = function noopFn() {};\n\n effectCleanupFns.push(cleanupFn || noopFn);\n }\n });\n }\n\n function cleanupModifierEffects() {\n effectCleanupFns.forEach(function (fn) {\n return fn();\n });\n effectCleanupFns = [];\n }\n\n return instance;\n };\n}\nexport var createPopper = /*#__PURE__*/popperGenerator(); // eslint-disable-next-line import/no-unused-modules\n\nexport { detectOverflow };","import { popperGenerator, detectOverflow } from \"./createPopper.js\";\nimport eventListeners from \"./modifiers/eventListeners.js\";\nimport popperOffsets from \"./modifiers/popperOffsets.js\";\nimport computeStyles from \"./modifiers/computeStyles.js\";\nimport applyStyles from \"./modifiers/applyStyles.js\";\nimport offset from \"./modifiers/offset.js\";\nimport flip from \"./modifiers/flip.js\";\nimport preventOverflow from \"./modifiers/preventOverflow.js\";\nimport arrow from \"./modifiers/arrow.js\";\nimport hide from \"./modifiers/hide.js\";\nvar defaultModifiers = [eventListeners, popperOffsets, computeStyles, applyStyles, offset, flip, preventOverflow, arrow, hide];\nvar createPopper = /*#__PURE__*/popperGenerator({\n defaultModifiers: defaultModifiers\n}); // eslint-disable-next-line import/no-unused-modules\n\nexport { createPopper, popperGenerator, defaultModifiers, detectOverflow }; // eslint-disable-next-line import/no-unused-modules\n\nexport { createPopper as createPopperLite } from \"./popper-lite.js\"; // eslint-disable-next-line import/no-unused-modules\n\nexport * from \"./modifiers/index.js\";","/* global Map:readonly, Set:readonly, ArrayBuffer:readonly */\n\nvar hasElementType = typeof Element !== 'undefined';\nvar hasMap = typeof Map === 'function';\nvar hasSet = typeof Set === 'function';\nvar hasArrayBuffer = typeof ArrayBuffer === 'function' && !!ArrayBuffer.isView;\n\n// Note: We **don't** need `envHasBigInt64Array` in fde es6/index.js\n\nfunction equal(a, b) {\n // START: fast-deep-equal es6/index.js 3.1.3\n if (a === b) return true;\n\n if (a && b && typeof a == 'object' && typeof b == 'object') {\n if (a.constructor !== b.constructor) return false;\n\n var length, i, keys;\n if (Array.isArray(a)) {\n length = a.length;\n if (length != b.length) return false;\n for (i = length; i-- !== 0;)\n if (!equal(a[i], b[i])) return false;\n return true;\n }\n\n // START: Modifications:\n // 1. Extra `has<Type> &&` helpers in initial condition allow es6 code\n // to co-exist with es5.\n // 2. Replace `for of` with es5 compliant iteration using `for`.\n // Basically, take:\n //\n // ```js\n // for (i of a.entries())\n // if (!b.has(i[0])) return false;\n // ```\n //\n // ... and convert to:\n //\n // ```js\n // it = a.entries();\n // while (!(i = it.next()).done)\n // if (!b.has(i.value[0])) return false;\n // ```\n //\n // **Note**: `i` access switches to `i.value`.\n var it;\n if (hasMap && (a instanceof Map) && (b instanceof Map)) {\n if (a.size !== b.size) return false;\n it = a.entries();\n while (!(i = it.next()).done)\n if (!b.has(i.value[0])) return false;\n it = a.entries();\n while (!(i = it.next()).done)\n if (!equal(i.value[1], b.get(i.value[0]))) return false;\n return true;\n }\n\n if (hasSet && (a instanceof Set) && (b instanceof Set)) {\n if (a.size !== b.size) return false;\n it = a.entries();\n while (!(i = it.next()).done)\n if (!b.has(i.value[0])) return false;\n return true;\n }\n // END: Modifications\n\n if (hasArrayBuffer && ArrayBuffer.isView(a) && ArrayBuffer.isView(b)) {\n length = a.length;\n if (length != b.length) return false;\n for (i = length; i-- !== 0;)\n if (a[i] !== b[i]) return false;\n return true;\n }\n\n if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;\n // START: Modifications:\n // Apply guards for `Object.create(null)` handling. See:\n // - https://github.com/FormidableLabs/react-fast-compare/issues/64\n // - https://github.com/epoberezkin/fast-deep-equal/issues/49\n if (a.valueOf !== Object.prototype.valueOf && typeof a.valueOf === 'function' && typeof b.valueOf === 'function') return a.valueOf() === b.valueOf();\n if (a.toString !== Object.prototype.toString && typeof a.toString === 'function' && typeof b.toString === 'function') return a.toString() === b.toString();\n // END: Modifications\n\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) return false;\n\n for (i = length; i-- !== 0;)\n if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;\n // END: fast-deep-equal\n\n // START: react-fast-compare\n // custom handling for DOM elements\n if (hasElementType && a instanceof Element) return false;\n\n // custom handling for React/Preact\n for (i = length; i-- !== 0;) {\n if ((keys[i] === '_owner' || keys[i] === '__v' || keys[i] === '__o') && a.$$typeof) {\n // React-specific: avoid traversing React elements' _owner\n // Preact-specific: avoid traversing Preact elements' __v and __o\n // __v = $_original / $_vnode\n // __o = $_owner\n // These properties contain circular references and are not needed when\n // comparing the actual elements (and not their owners)\n // .$$typeof and ._store on just reasonable markers of elements\n\n continue;\n }\n\n // all other properties should be traversed as usual\n if (!equal(a[keys[i]], b[keys[i]])) return false;\n }\n // END: react-fast-compare\n\n // START: fast-deep-equal\n return true;\n }\n\n return a !== a && b !== b;\n}\n// end fast-deep-equal\n\nmodule.exports = function isEqual(a, b) {\n try {\n return equal(a, b);\n } catch (error) {\n if (((error.message || '').match(/stack|recursion/i))) {\n // warn on circular references, don't crash\n // browsers give this different errors name and messages:\n // chrome/safari: \"RangeError\", \"Maximum call stack size exceeded\"\n // firefox: \"InternalError\", too much recursion\"\n // edge: \"Error\", \"Out of stack space\"\n console.warn('react-fast-compare cannot handle circular refs');\n return false;\n }\n // some other error. we should definitely know about these\n throw error;\n }\n};\n","import * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport { createPopper as defaultCreatePopper } from '@popperjs/core';\nimport isEqual from 'react-fast-compare';\nimport { fromEntries, useIsomorphicLayoutEffect } from './utils';\nvar EMPTY_MODIFIERS = [];\nexport var usePopper = function usePopper(referenceElement, popperElement, options) {\n if (options === void 0) {\n options = {};\n }\n\n var prevOptions = React.useRef(null);\n var optionsWithDefaults = {\n onFirstUpdate: options.onFirstUpdate,\n placement: options.placement || 'bottom',\n strategy: options.strategy || 'absolute',\n modifiers: options.modifiers || EMPTY_MODIFIERS\n };\n\n var _React$useState = React.useState({\n styles: {\n popper: {\n position: optionsWithDefaults.strategy,\n left: '0',\n top: '0'\n },\n arrow: {\n position: 'absolute'\n }\n },\n attributes: {}\n }),\n state = _React$useState[0],\n setState = _React$useState[1];\n\n var updateStateModifier = React.useMemo(function () {\n return {\n name: 'updateState',\n enabled: true,\n phase: 'write',\n fn: function fn(_ref) {\n var state = _ref.state;\n var elements = Object.keys(state.elements);\n ReactDOM.flushSync(function () {\n setState({\n styles: fromEntries(elements.map(function (element) {\n return [element, state.styles[element] || {}];\n })),\n attributes: fromEntries(elements.map(function (element) {\n return [element, state.attributes[element]];\n }))\n });\n });\n },\n requires: ['computeStyles']\n };\n }, []);\n var popperOptions = React.useMemo(function () {\n var newOptions = {\n onFirstUpdate: optionsWithDefaults.onFirstUpdate,\n placement: optionsWithDefaults.placement,\n strategy: optionsWithDefaults.strategy,\n modifiers: [].concat(optionsWithDefaults.modifiers, [updateStateModifier, {\n name: 'applyStyles',\n enabled: false\n }])\n };\n\n if (isEqual(prevOptions.current, newOptions)) {\n return prevOptions.current || newOptions;\n } else {\n prevOptions.current = newOptions;\n return newOptions;\n }\n }, [optionsWithDefaults.onFirstUpdate, optionsWithDefaults.placement, optionsWithDefaults.strategy, optionsWithDefaults.modifiers, updateStateModifier]);\n var popperInstanceRef = React.useRef();\n useIsomorphicLayoutEffect(function () {\n if (popperInstanceRef.current) {\n popperInstanceRef.current.setOptions(popperOptions);\n }\n }, [popperOptions]);\n useIsomorphicLayoutEffect(function () {\n if (referenceElement == null || popperElement == null) {\n return;\n }\n\n var createPopper = options.createPopper || defaultCreatePopper;\n var popperInstance = createPopper(referenceElement, popperElement, popperOptions);\n popperInstanceRef.current = popperInstance;\n return function () {\n popperInstance.destroy();\n popperInstanceRef.current = null;\n };\n }, [referenceElement, popperElement, options.createPopper]);\n return {\n state: popperInstanceRef.current ? popperInstanceRef.current.state : null,\n styles: state.styles,\n attributes: state.attributes,\n update: popperInstanceRef.current ? popperInstanceRef.current.update : null,\n forceUpdate: popperInstanceRef.current ? popperInstanceRef.current.forceUpdate : null\n };\n};","import _objectWithoutPropertiesLoose from '@babel/runtime/helpers/esm/objectWithoutPropertiesLoose';\nimport _extends from '@babel/runtime/helpers/esm/extends';\nimport * as React from 'react';\nimport { usePopper } from 'react-popper';\n\nfunction useGetLatest(val) {\n var ref = React.useRef(val);\n ref.current = val;\n return React.useCallback(function () {\n return ref.current;\n }, []);\n}\n\nvar noop = function noop() {// do nothing\n};\n\nfunction useControlledState(_ref) {\n var initial = _ref.initial,\n value = _ref.value,\n _ref$onChange = _ref.onChange,\n onChange = _ref$onChange === void 0 ? noop : _ref$onChange;\n\n if (initial === undefined && value === undefined) {\n throw new TypeError('Either \"value\" or \"initial\" variable must be set. Now both are undefined');\n }\n\n var _React$useState = React.useState(initial),\n state = _React$useState[0],\n setState = _React$useState[1];\n\n var getLatest = useGetLatest(state);\n var set = React.useCallback(function (updater) {\n var state = getLatest();\n var updatedState = typeof updater === 'function' ? updater(state) : updater;\n if (typeof updatedState.persist === 'function') updatedState.persist();\n setState(updatedState);\n if (typeof onChange === 'function') onChange(updatedState);\n }, [getLatest, onChange]);\n var isControlled = value !== undefined;\n return [isControlled ? value : state, isControlled ? onChange : set];\n}\nfunction generateBoundingClientRect(x, y) {\n if (x === void 0) {\n x = 0;\n }\n\n if (y === void 0) {\n y = 0;\n }\n\n return function () {\n return {\n width: 0,\n height: 0,\n top: y,\n right: x,\n bottom: y,\n left: x,\n x: 0,\n y: 0,\n toJSON: function toJSON() {\n return null;\n }\n };\n };\n}\n\nvar _excluded = [\"styles\", \"attributes\"];\nvar virtualElement = {\n getBoundingClientRect: generateBoundingClientRect()\n};\nvar defaultConfig = {\n closeOnOutsideClick: true,\n closeOnTriggerHidden: false,\n defaultVisible: false,\n delayHide: 0,\n delayShow: 0,\n followCursor: false,\n interactive: false,\n mutationObserverOptions: {\n attributes: true,\n childList: true,\n subtree: true\n },\n offset: [0, 6],\n trigger: 'hover'\n};\nfunction usePopperTooltip(config, popperOptions) {\n var _popperProps$state, _popperProps$state$mo, _popperProps$state$mo2;\n\n if (config === void 0) {\n config = {};\n }\n\n if (popperOptions === void 0) {\n popperOptions = {};\n }\n\n // Merging options with default options.\n // Keys with undefined values are replaced with the default ones if any.\n // Keys with other values pass through.\n var finalConfig = Object.keys(defaultConfig).reduce(function (config, key) {\n var _extends2;\n\n return _extends({}, config, (_extends2 = {}, _extends2[key] = config[key] !== undefined ? config[key] : defaultConfig[key], _extends2));\n }, config);\n var defaultModifiers = React.useMemo(function () {\n return [{\n name: 'offset',\n options: {\n offset: finalConfig.offset\n }\n }];\n }, // eslint-disable-next-line react-hooks/exhaustive-deps\n Array.isArray(finalConfig.offset) ? finalConfig.offset : []);\n\n var finalPopperOptions = _extends({}, popperOptions, {\n placement: popperOptions.placement || finalConfig.placement,\n modifiers: popperOptions.modifiers || defaultModifiers\n });\n\n var _React$useState = React.useState(null),\n triggerRef = _React$useState[0],\n setTriggerRef = _React$useState[1];\n\n var _React$useState2 = React.useState(null),\n tooltipRef = _React$useState2[0],\n setTooltipRef = _React$useState2[1];\n\n var _useControlledState = useControlledState({\n initial: finalConfig.defaultVisible,\n value: finalConfig.visible,\n onChange: finalConfig.onVisibleChange\n }),\n visible = _useControlledState[0],\n setVisible = _useControlledState[1];\n\n var timer = React.useRef();\n React.useEffect(function () {\n return function () {\n return clearTimeout(timer.current);\n };\n }, []);\n\n var _usePopper = usePopper(finalConfig.followCursor ? virtualElement : triggerRef, tooltipRef, finalPopperOptions),\n styles = _usePopper.styles,\n attributes = _usePopper.attributes,\n popperProps = _objectWithoutPropertiesLoose(_usePopper, _excluded);\n\n var update = popperProps.update;\n var getLatest = useGetLatest({\n visible: visible,\n triggerRef: triggerRef,\n tooltipRef: tooltipRef,\n finalConfig: finalConfig\n });\n var isTriggeredBy = React.useCallback(function (trigger) {\n return Array.isArray(finalConfig.trigger) ? finalConfig.trigger.includes(trigger) : finalConfig.trigger === trigger;\n }, // eslint-disable-next-line react-hooks/exhaustive-deps\n Array.isArray(finalConfig.trigger) ? finalConfig.trigger : [finalConfig.trigger]);\n var hideTooltip = React.useCallback(function () {\n clearTimeout(timer.current);\n timer.current = window.setTimeout(function () {\n return setVisible(false);\n }, finalConfig.delayHide);\n }, [finalConfig.delayHide, setVisible]);\n var showTooltip = React.useCallback(function () {\n clearTimeout(timer.current);\n timer.current = window.setTimeout(function () {\n return setVisible(true);\n }, finalConfig.delayShow);\n }, [finalConfig.delayShow, setVisible]);\n var toggleTooltip = React.useCallback(function () {\n if (getLatest().visible) {\n hideTooltip();\n } else {\n showTooltip();\n }\n }, [getLatest, hideTooltip, showTooltip]); // Handle click outside\n\n React.useEffect(function () {\n if (!getLatest().finalConfig.closeOnOutsideClick) return;\n\n var handleClickOutside = function handleClickOutside(event) {\n var _event$composedPath;\n\n var _getLatest = getLatest(),\n tooltipRef = _getLatest.tooltipRef,\n triggerRef = _getLatest.triggerRef;\n\n var target = (event.composedPath == null ? void 0 : (_event$composedPath = event.composedPath()) == null ? void 0 : _event$composedPath[0]) || event.target;\n\n if (target instanceof Node) {\n if (tooltipRef != null && triggerRef != null && !tooltipRef.contains(target) && !triggerRef.contains(target)) {\n hideTooltip();\n }\n }\n };\n\n document.addEventListener('mousedown', handleClickOutside);\n return function () {\n return document.removeEventListener('mousedown', handleClickOutside);\n };\n }, [getLatest, hideTooltip]); // Trigger: click\n\n React.useEffect(function () {\n if (triggerRef == null || !isTriggeredBy('click')) return;\n triggerRef.addEventListener('click', toggleTooltip);\n return function () {\n return triggerRef.removeEventListener('click', toggleTooltip);\n };\n }, [triggerRef, isTriggeredBy, toggleTooltip]); // Trigger: double-click\n\n React.useEffect(function () {\n if (triggerRef == null || !isTriggeredBy('double-click')) return;\n triggerRef.addEventListener('dblclick', toggleTooltip);\n return function () {\n return triggerRef.removeEventListener('dblclick', toggleTooltip);\n };\n }, [triggerRef, isTriggeredBy, toggleTooltip]); // Trigger: right-click\n\n React.useEffect(function () {\n if (triggerRef == null || !isTriggeredBy('right-click')) return;\n\n var preventDefaultAndToggle = function preventDefaultAndToggle(event) {\n // Don't show the context menu\n event.preventDefault();\n toggleTooltip();\n };\n\n triggerRef.addEventListener('contextmenu', preventDefaultAndToggle);\n return function () {\n return triggerRef.removeEventListener('contextmenu', preventDefaultAndToggle);\n };\n }, [triggerRef, isTriggeredBy, toggleTooltip]); // Trigger: focus\n\n React.useEffect(function () {\n if (triggerRef == null || !isTriggeredBy('focus')) return;\n triggerRef.addEventListener('focus', showTooltip);\n triggerRef.addEventListener('blur', hideTooltip);\n return function () {\n triggerRef.removeEventListener('focus', showTooltip);\n triggerRef.removeEventListener('blur', hideTooltip);\n };\n }, [triggerRef, isTriggeredBy, showTooltip, hideTooltip]); // Trigger: hover on trigger\n\n React.useEffect(function () {\n if (triggerRef == null || !isTriggeredBy('hover')) return;\n triggerRef.addEventListener('mouseenter', showTooltip);\n triggerRef.addEventListener('mouseleave', hideTooltip);\n return function () {\n triggerRef.removeEventListener('mouseenter', showTooltip);\n triggerRef.removeEventListener('mouseleave', hideTooltip);\n };\n }, [triggerRef, isTriggeredBy, showTooltip, hideTooltip]); // Trigger: hover on tooltip, keep it open if hovered\n\n React.useEffect(function () {\n if (tooltipRef == null || !isTriggeredBy('hover') || !getLatest().finalConfig.interactive) return;\n tooltipRef.addEventListener('mouseenter', showTooltip);\n tooltipRef.addEventListener('mouseleave', hideTooltip);\n return function () {\n tooltipRef.removeEventListener('mouseenter', showTooltip);\n tooltipRef.removeEventListener('mouseleave', hideTooltip);\n };\n }, [tooltipRef, isTriggeredBy, showTooltip, hideTooltip, getLatest]); // Handle closing tooltip if trigger hidden\n\n var isReferenceHidden = popperProps == null ? void 0 : (_popperProps$state = popperProps.state) == null ? void 0 : (_popperProps$state$mo = _popperProps$state.modifiersData) == null ? void 0 : (_popperProps$state$mo2 = _popperProps$state$mo.hide) == null ? void 0 : _popperProps$state$mo2.isReferenceHidden;\n React.useEffect(function () {\n if (finalConfig.closeOnTriggerHidden && isReferenceHidden) hideTooltip();\n }, [finalConfig.closeOnTriggerHidden, hideTooltip, isReferenceHidden]); // Handle follow cursor\n\n React.useEffect(function () {\n if (!finalConfig.followCursor || triggerRef == null) return;\n\n function setMousePosition(_ref) {\n var clientX = _ref.clientX,\n clientY = _ref.clientY;\n virtualElement.getBoundingClientRect = generateBoundingClientRect(clientX, clientY);\n update == null ? void 0 : update();\n }\n\n triggerRef.addEventListener('mousemove', setMousePosition);\n return function () {\n return triggerRef.removeEventListener('mousemove', setMousePosition);\n };\n }, [finalConfig.followCursor, triggerRef, update]); // Handle tooltip DOM mutation changes (aka mutation observer)\n\n React.useEffect(function () {\n if (tooltipRef == null || update == null || finalConfig.mutationObserverOptions == null) return;\n var observer = new MutationObserver(update);\n observer.observe(tooltipRef, finalConfig.mutationObserverOptions);\n return function () {\n return observer.disconnect();\n };\n }, [finalConfig.mutationObserverOptions, tooltipRef, update]); // Tooltip props getter\n\n var getTooltipProps = function getTooltipProps(args) {\n if (args === void 0) {\n args = {};\n }\n\n return _extends({}, args, {\n style: _extends({}, args.style, styles.popper)\n }, attributes.popper, {\n 'data-popper-interactive': finalConfig.interactive\n });\n }; // Arrow props getter\n\n\n var getArrowProps = function getArrowProps(args) {\n if (args === void 0) {\n args = {};\n }\n\n return _extends({}, args, attributes.arrow, {\n style: _extends({}, args.style, styles.arrow),\n 'data-popper-arrow': true\n });\n };\n\n return _extends({\n getArrowProps: getArrowProps,\n getTooltipProps: getTooltipProps,\n setTooltipRef: setTooltipRef,\n setTriggerRef: setTriggerRef,\n tooltipRef: tooltipRef,\n triggerRef: triggerRef,\n visible: visible\n }, popperProps);\n}\n\nexport { usePopperTooltip };\n//# sourceMappingURL=react-popper-tooltip.js.map\n","import * as React from \"react\";\nimport ReactDOM from \"react-dom\";\nimport classNames from \"classnames\";\nimport { usePopperTooltip } from \"react-popper-tooltip\";\nimport { Placement } from \"../../utils\";\n\nimport useSettings from \"../../hooks/useSettings\";\n\nexport interface TooltipProps {\n /**\n * React nodes that trigger the tooltip on interaction.\n */\n children: React.ReactNode;\n\n /**\n * Content of the tooltip. Can be a React node or a function returning a React node.\n * The function receives an object with functions to set visibility and handle visibility change.\n */\n content?:\n | React.ReactNode\n | ((options: {\n setVisibility: React.Dispatch<React.SetStateAction<boolean>>;\n visibilityChange: (state: boolean) => void;\n }) => React.ReactNode);\n\n /**\n * @deprecated If true, applies a dark theme to the tooltip.\n */\n dark?: boolean;\n\n /**\n * If true, removes padding from the tooltip.\n */\n noPadding?: boolean;\n\n /**\n * Position of the tooltip relative to the child element. Uses the Placement type from utils.\n */\n placement?: Placement;\n\n /**\n * Trigger action for the tooltip - can be \"hover\" or \"click\".\n */\n trigger?: \"hover\" | \"click\";\n\n /**\n * Popper.js modifiers for advanced tooltip positioning.\n */\n modifiers?: [];\n\n /**\n * If true, renders the tooltip in a React portal.\n */\n usePortal?: boolean;\n\n /**\n * If true, wraps the child element with a span to attach a ref for the tooltip.\n */\n createRefWrapper?: boolean;\n\n /**\n * If true, the tooltip is interactive (hoverable/clickable).\n */\n interactive?: boolean;\n\n /**\n * Delay in milliseconds before hiding the tooltip.\n */\n delayHide?: number;\n\n /**\n * Additional custom class names for styling the tooltip.\n */\n className?: string;\n\n /**\n * If true, closes the tooltip when clicking outside of it.\n */\n closeOnOutsideClick?: boolean;\n\n /**\n * Close the tooltip when the trigger element is hidden.\n */\n closeOnTriggerHidden?: boolean;\n\n /**\n * If the tooltip should be visible by default.\n */\n defaultVisible?: boolean;\n\n /**\n * Delay in milliseconds before showing the tooltip.\n */\n delayShow?: number;\n\n /**\n * If true, the tooltip follows the cursor.\n */\n followCursor?: boolean;\n\n /**\n * Options for observing DOM changes through a MutationObserver.\n */\n mutationObserverOptions?: MutationObserverInit | null;\n\n /**\n * Offset of the tooltip from the trigger element, specified as a tuple [x, y].\n */\n offset?: [number, number];\n\n /**\n * Callback function when the visibility state of the tooltip changes.\n */\n onVisibleChange?: (state: boolean) => void;\n}\n\nexport const tooltipStyle = {\n duration: 100,\n animation: \"fade\",\n theme: \"light\",\n arrow: true,\n};\n\nexport const tooltipStyleDark = {\n duration: 100,\n animation: \"fade\",\n theme: \"dark\",\n arrow: true,\n};\n\n/** Tooltips display additional information upon click, hover, or focus. The information should be contextual, useful, and nonessential. */\nconst Tooltip: React.FC<React.PropsWithChildren<TooltipProps>> = ({\n className,\n dark,\n noPadding,\n children,\n content,\n trigger = \"hover\",\n // modifiers = [],\n placement = \"top\",\n createRefWrapper,\n closeOnOutsideClick,\n closeOnTriggerHidden,\n defaultVisible,\n delayHide,\n delayShow,\n followCursor,\n interactive,\n mutationObserverOptions,\n offset,\n onVisibleChange,\n usePortal,\n // ...others\n}) => {\n const { prefix } = useSettings();\n const [visibility, setVisibility] = React.useState(false);\n const classes = classNames(className, {\n [`${prefix}--tooltip`]: true,\n [`${prefix}--tooltip--disable-padding`]: noPadding,\n [`${prefix}--tooltip--visible`]: visibility,\n [`${prefix}--tooltip--${trigger}`]: trigger,\n [`${prefix}--tooltip--dark`]: dark,\n });\n\n const {\n getArrowProps,\n getTooltipProps,\n setTooltipRef,\n setTriggerRef,\n visible,\n } = usePopperTooltip({\n closeOnOutsideClick,\n closeOnTriggerHidden,\n defaultVisible,\n delayHide,\n delayShow,\n followCursor,\n interactive,\n mutationObserverOptions,\n offset,\n onVisibleChange,\n placement,\n trigger,\n });\n\n const elementClassNames = classNames(\n /*children?.props?.className, */ {\n [`${prefix}--tooltip--trigger`]: true,\n }\n );\n\n const wrapperClassNames = classNames(className, {\n [`${prefix}--tooltip--trigger`]: true,\n });\n\n const triggerElement =\n !createRefWrapper && typeof children !== \"string\" ? (\n React.cloneElement(children as React.ReactElement<any>, {\n ref: setTriggerRef,\n className: elementClassNames,\n })\n ) : (\n <span ref={setTriggerRef} className={wrapperClassNames}>\n {children}\n </span>\n );\n\n const visibilityChange = (e) => {\n setVisibility(e);\n if (onVisibleChange) onVisibleChange(e);\n };\n\n const tooltip = (\n <div ref={setTooltipRef} {...getTooltipProps({ className: classes })}>\n {typeof content === \"function\"\n ? content({ setVisibility, visibilityChange })\n : content}\n <div {...getArrowProps({ className: `${prefix}--tooltip__arrow` })} />\n </div>\n );\n\n return (\n <>\n {triggerElement}\n {visible && usePortal && <TooltipPortal>{tooltip}</TooltipPortal>}\n {visible && !usePortal && tooltip}\n </>\n );\n};\n\nexport default Tooltip;\n\nfunction TooltipPortal({ children }) {\n return ReactDOM.createPortal(children, document.body);\n}\n","import * as React from 'react';\nimport Tooltip from '../Tooltip';\nimport type { PropsWithChildren } from 'react';\nimport classNames from 'classnames';\nimport useSettings from '../../hooks/useSettings';\n\n/** Context menu are used as navigational elements. They should contain commands that apply to the target object. */\ntype ContextMenuProps = PropsWithChildren<{\n /**\n * Provide content to display when contextMenu is clicked\n */\n content?: React.ReactNode;\n /**\n * Provide a href prop as an alternative to onClick\n */\n href?: string;\n /**\n * Inline links are used within a sentence or paragraph and are styled with an underline. They should not be paired with an icon.\n */\n inline?: boolean;\n /**\n * Provide a custom className\n */\n className?: string;\n}>;\n\nconst ContextMenu: React.FC<ContextMenuProps> = ({\n children,\n className,\n content,\n /* href,\n inline,\n trigger = 'click',\n ...other*/\n}) => {\n const { prefix } = useSettings();\n const classes = classNames(\n {\n [`${prefix}--context-menu`]: true,\n },\n className\n );\n\n return (\n <Tooltip className={classes} content={content} noPadding trigger=\"click\">\n {children}\n </Tooltip>\n );\n};\n\ntype ContextMenuGroupProps = PropsWithChildren<{\n className?: string;\n}>;\n\nconst ContextMenuGroup: React.FC<ContextMenuGroupProps> = ({\n className,\n ...other\n}) => {\n const { prefix } = useSettings();\n const classes = classNames(\n {\n [`${prefix}--context-menu__group`]: true,\n },\n className\n );\n\n return <div className={classes} {...other} />;\n};\n\ninterface ContextMenuItemProps extends React.ComponentPropsWithRef<'div'> {\n className?: string;\n}\n\nconst ContextMenuItem: React.FC<ContextMenuItemProps> = ({\n className,\n ...other\n}) => {\n const { prefix } = useSettings();\n const classes = classNames(\n {\n [`${prefix}--context-menu__item`]: true,\n },\n className\n );\n\n return <div className={classes} {...other} />;\n};\n\nexport { ContextMenu, ContextMenuItem, ContextMenuGroup };\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport Link from \"../Link\";\nimport Wrapper from \"../Wrapper\";\nimport { ScreenSize } from \"../../utils\";\nimport useSettings from \"../../hooks/useSettings\";\n\n/** A Footer is a section at the bottom of each page. It typically contains basic site information, copyright data or links to related pages. */\ninterface FooterProps extends React.HTMLAttributes<HTMLDivElement> {\n /**\n The content of the footer containing relevant links\n */\n children?: React.ReactNode;\n /**\n Additional className which will be added\n */\n className?: string;\n /** \n Meta content, usually the copyright notice\n */\n metaContent?: React.ReactNode;\n metaLinks?: React.ReactNode;\n /**\n Optional WFP logo for mobile devices, can be used if the Logo should be provided by the CDN\n */\n logo?: string | React.ReactNode;\n /**\n * Specify the max-width on desktop devices (same as \\`Wrapper\\` component)\n */\n pageWidth?: ScreenSize;\n\n /**\n The WFP logo, can be used if the SDG logo should be provided in a different way\n */\n subTitle?: string | React.ReactNode;\n secondary?: React.ReactNode;\n labelOne?: string;\n labelTwo?: string;\n linkTextOne?: string;\n linkHrefOne?: string;\n linkTextTwo?: string;\n linkHrefTwo?: string;\n}\n\nconst Footer: React.FC<FooterProps> = ({\n className,\n children,\n labelOne,\n linkTextOne,\n linkHrefOne,\n labelTwo,\n linkTextTwo,\n linkHrefTwo,\n logo,\n metaContent,\n metaLinks,\n secondary,\n pageWidth = \"lg\",\n}) => {\n const { prefix } = useSettings();\n\n const classes = classNames(`${prefix}--footer`, className);\n\n return (\n <footer className={classes}>\n <Wrapper pageWidth={pageWidth}>\n <div className={`${prefix}--footer__content`}>\n {/* <div className=\"wfp--footer__info-content\"> */}\n {children ? (\n <div className={`${prefix}--footer__info`}>{children}</div>\n ) : (\n <div className={`${prefix}--footer__info`}>\n <div className={`${prefix}--footer__info__item`}>\n <p className={`${prefix}--footer__label`}>{labelOne}</p>\n <ul className={`${prefix}--footer__list`}>\n <li>\n <Link href={linkHrefOne}>{linkTextOne}</Link>\n </li>\n </ul>\n </div>\n <div className={`${prefix}--footer__info__item`}>\n <p className={`${prefix}--footer__label`}>{labelTwo}</p>\n <ul className={`${prefix}--footer__list`}>\n <li>\n <Link href={linkHrefTwo}>{linkTextTwo}</Link>\n </li>\n </ul>\n </div>\n </div>\n )}\n <div className={`${prefix}--footer__cta`}>\n {logo}\n {secondary && (\n <div className={`${prefix}--footer__secondary`}>{secondary}</div>\n )}\n </div>\n </div>\n </Wrapper>\n\n <Wrapper className={`${prefix}--footer__meta`} pageWidth={pageWidth}>\n {metaLinks && (\n <div className={`${prefix}--footer__meta__links`}>{metaLinks}</div>\n )}\n {metaContent && (\n <div className={`${prefix}--footer__meta__content`}>\n {metaContent}\n </div>\n )}\n </Wrapper>\n </footer>\n );\n};\n\nFooter.displayName = \"Footer\";\n\nexport default Footer;\n","import * as React from 'react';\nimport type { PropsWithChildren } from 'react';\nimport classNames from 'classnames';\nimport useSettings from '../../hooks/useSettings';\n\ntype FormProps = PropsWithChildren<{\n /**\n * Default margin is added to each form input\n */\n longForm?: boolean;\n /**\n * Provide a custom className to be applied on the containing <form> node\n */\n className?: string;\n}>;\n/** A form is a group of related input controls that allows users to provide data or configure options. */\nconst Form: React.FC<FormProps> = ({\n className,\n children,\n longForm = true,\n ...other\n}) => {\n const { prefix } = useSettings();\n\n const classes = classNames(\n `${prefix}--form`,\n { [`${prefix}--form-long`]: longForm === true },\n className\n );\n\n return (\n <form className={classes} {...other}>\n {children}\n </form>\n );\n};\n\nForm.displayName = 'Form';\n\nexport default Form;\n","import * as React from 'react';\nimport classNames from 'classnames';\nimport useSettings from '../../hooks/useSettings';\n//import * as HookForm from 'react-hook-form';\n\ninterface FormGroupProps extends React.ComponentPropsWithRef<'a'> {\n legendText?: string;\n breakpoint?: 'none' | 'sm' | 'md' | 'lg';\n // invalid?: boolean | HookForm.FieldError;\n message?: boolean;\n messageText?: string;\n align?: 'vertical' | 'horizontal';\n inputSpacing?: 'none' | 'md' | 'lg';\n className?: string;\n inline?: boolean;\n}\n/** A FormGroup element is used to group several controls as well as labels within a web form. It uses `<fieldset>` */\nconst FormGroup: React.FC<FormGroupProps> = ({\n align,\n breakpoint,\n legendText,\n inline,\n // invalid,\n children,\n className,\n inputSpacing,\n message,\n messageText,\n // ...other\n}) => {\n const { prefix } = useSettings();\n\n const classNamesLegend = classNames(\n `${prefix}--form-group__title`,\n className\n );\n const classNamesFieldset = classNames(\n `${prefix}--fieldset`,\n {\n [`${prefix}--fieldset__inline`]: inline,\n [`${prefix}--fieldset__align-${align}`]: align,\n [`${prefix}--fieldset__breakpoint-${breakpoint}`]: breakpoint,\n [`${prefix}--fieldset__input-spacing-${inputSpacing}`]: inputSpacing,\n },\n className\n );\n\n return (\n <div\n //{...(invalid && { 'data-invalid': '' })}\n className={classNamesFieldset}\n //{...other}\n >\n <legend className={classNamesLegend}>{legendText}</legend>\n <div className={`${prefix}--fieldset__content`}>{children}</div>\n {message ? (\n <div className={`${prefix}--form__requirements`}>{messageText}</div>\n ) : null}\n </div>\n );\n};\n\nexport default FormGroup;\n","import * as React from \"react\";\nimport { InfoSolid } from \"@progressiveui/icons-react\";\nimport type { PropsWithChildren } from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\nimport Tooltip from \"../Tooltip/Tooltip\";\n\n/** FormHint allows you to add a longer explanation to an input element. */\ntype FormHintProps = PropsWithChildren<{\n /**\n * The additional className which will be added\n */\n className?: string;\n /**\n * The description of the icon\n */\n description?: string;\n}>;\n\nconst FormHint: React.FC<FormHintProps> = ({\n className,\n children,\n description,\n}) => {\n const { prefix } = useSettings();\n\n const formHintClasses = classNames(`${prefix}--form-hint`, className);\n return (\n <Tooltip content={children}>\n <div className={formHintClasses}>\n <InfoSolid width=\"15\" height=\"15\" description={description} />\n </div>\n </Tooltip>\n );\n};\n\nexport default FormHint;\n","import * as React from 'react';\nimport type { PropsWithChildren } from 'react';\nimport classNames from 'classnames';\nimport useSettings from '../../hooks/useSettings';\n\n/** Form Label can be used whenever it is needed to show a label detached from a regular input. */\ntype FormLabelProps = PropsWithChildren<{\n /**\n * The ID of the related input which will be used as `htmlFor`\n */\n id?: string;\n /**\n * Additional `class` attributes\n */\n className?: string;\n}>;\n\nconst FormLabel: React.FC<FormLabelProps> = ({\n className,\n children,\n id,\n ...other\n}) => {\n const { prefix } = useSettings();\n\n const classes = classNames(`${prefix}--label`, className);\n\n return (\n <label htmlFor={id} className={classes} {...other}>\n {children}\n </label>\n );\n};\n\nexport default FormLabel;\n","import * as React from 'react';\nimport classNames from 'classnames';\nimport Wrapper from '../Wrapper';\nimport useSettings from '../../hooks/useSettings';\nimport { ScreenSize } from '../../utils';\n\n/** The InfoBar shows very important information on top of the page. */\ninterface InfoBarProps extends React.HTMLAttributes<HTMLDivElement> {\n /**\n * `pageWidth` for the `<Wrapper />` component\n */\n pageWidth?: ScreenSize;\n /**\n * Additional `className` for the `<Wrapper />` component\n */\n wrapperClassName?: string;\n /**\n * The CSS class name to be placed on the wrapping element.\n */\n className?: string;\n /**\n * Additional `id` provided to the wrapping element\n */\n id?: string;\n}\n\nconst InfoBar: React.FC<InfoBarProps> = ({\n children,\n className,\n id,\n pageWidth,\n}) => {\n const { prefix } = useSettings();\n\n const wrapperClasses = classNames(`${prefix}--info-bar`, className);\n\n return (\n <div id={id} className={wrapperClasses}>\n <Wrapper pageWidth={pageWidth}>{children}</Wrapper>\n </div>\n );\n};\n\nInfoBar.displayName = 'InfoBar';\n\nexport default InfoBar;\n","import * as React from 'react';\nimport classNames from 'classnames';\nimport { componentsX } from '../../internal/FeatureFlags';\nimport useSettings from '../../hooks/useSettings';\n\ninterface LoadingProps {\n active?: boolean;\n className?: string;\n /**\n * Specify whether you want the loader to be applied with an overlay\n */\n withOverlay?: boolean;\n /**\n * Specify whether you would like the small variant of <Loading>\n */\n small?: boolean;\n}\n\n/** Loading spinners are used when retrieving data or performing slow computations, and help to notify users that loading is underway. */\n\nconst Loading: React.FC<LoadingProps> = (props) => {\n const {\n active = true,\n className,\n withOverlay = true,\n small = false,\n ...other\n } = props;\n const { prefix } = useSettings();\n\n const loadingClasses = classNames(`${prefix}--loading`, className, {\n [`${prefix}--loading--small`]: small,\n [`${prefix}--loading--stop`]: !active,\n });\n\n const overlayClasses = classNames(`${prefix}--loading-overlay`, {\n [`${prefix}--loading-overlay--stop`]: !active,\n });\n\n const loading = (\n <div\n {...other}\n aria-live={active ? 'assertive' : 'off'}\n className={loadingClasses}>\n <svg className={`${prefix}--loading__svg`} viewBox=\"-75 -75 150 150\">\n <title>Loading</title>\n {componentsX && small ? (\n <circle\n className={`${prefix}--loading__background`}\n cx=\"0\"\n cy=\"0\"\n r=\"37.5\"\n />\n ) : null}\n <circle\n className={componentsX ? `${prefix}--loading__stroke` : undefined}\n cx=\"0\"\n cy=\"0\"\n r=\"37.5\"\n />\n </svg>\n </div>\n );\n\n return withOverlay ? (\n <div className={overlayClasses}>{loading}</div>\n ) : (\n loading\n );\n};\n\nLoading.displayName = 'Loading';\n\nexport default Loading;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\nimport Loading from \"../Loading\";\n\ninterface InlineLoadingProps {\n /**\n * Specify whether the load was successful\n */\n success?: boolean;\n /**\n * Specify the description for the inline loading text\n */\n description?: React.ReactNode;\n /**\n * Provide a delay for the `setTimeout` for success\n */\n successDelay?: number;\n /**\n * Provide an optional handler to be invoked when <InlineLoading> is\n * successful\n */\n onSuccess?: () => void;\n /**\n * Specify a custom className to be applied to the container node\n */\n className?: string;\n}\n\nconst InlineLoading: React.FC<InlineLoadingProps> = (props) => {\n const { className, success, description, onSuccess, successDelay, ...other } =\n props;\n\n const { prefix } = useSettings();\n\n const loadingClasses = classNames(`${prefix}--inline-loading`, className);\n\n const getLoading = () => {\n if (success) {\n setTimeout(() => {\n if (onSuccess) {\n onSuccess();\n }\n }, successDelay);\n\n return (\n <svg\n className={`${prefix}--inline-loading__checkmark-container ${prefix}--inline-loading__svg`}\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 10 10\"\n >\n <polyline\n className={`${prefix}--inline-loading__checkmark`}\n points=\"0.74 3.4 3.67 6.34 9.24 0.74\"\n />\n </svg>\n );\n }\n\n return <Loading small withOverlay={false} />;\n };\n\n const loadingText = (\n <p className={`${prefix}--inline-loading__text`}>{description}</p>\n );\n\n return (\n <div className={loadingClasses} {...other}>\n <div className={`${prefix}--inline-loading__animation`}>\n {getLoading()}\n </div>\n {description && loadingText}\n </div>\n );\n};\n\nInlineLoading.displayName = \"InlineLoading\";\n\nexport default InlineLoading;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n\n/** List component show a number of connected items written consecutively, typically one below the other. */\nexport interface ListBaseProps {\n /**\n * If true, colons will be displayed in the List items.\n */\n colon?: boolean;\n /**\n * Specifies the visual presentation style of the List.\n */\n kind?:\n | \"unstyled\"\n | \"simple-inline\"\n | \"simple\"\n | \"details\"\n | \"unordered\"\n | \"ordered\"\n | \"tooltip\"\n | \"bullets\";\n /**\n * If true, renders the List with a smaller font size and padding.\n */\n small?: boolean;\n}\n\ninterface ListOlProps\n extends ListBaseProps,\n React.ComponentPropsWithRef<\"button\"> {}\n\ninterface ListUlProps extends ListBaseProps, React.ComponentPropsWithRef<\"a\"> {}\n\ntype ConditionalProps<T> = T extends { kind: \"ordered\" }\n ? ListOlProps\n : ListUlProps;\n\ntype ListProps<T extends { kind?: string }> = ConditionalProps<T> &\n React.ComponentPropsWithRef<T extends { kind: \"ordered\" } ? \"ol\" : \"ul\">;\n\nexport const List = React.forwardRef(\n <T extends { kind?: string }>(\n { children, className, colon, kind, small, ...other }: ListProps<T>,\n ref: React.Ref<\n T extends { kind: string } ? HTMLAnchorElement : HTMLButtonElement\n >\n ) => {\n const { prefix } = useSettings();\n\n const classes = classNames(`${prefix}--list`, className, {\n [`${prefix}--list--${kind}`]: kind,\n [`${prefix}--list--small`]: small,\n [`${prefix}--list--colon`]: colon,\n });\n\n /* if (kind == 'ordered') {\n const olProps = {\n ...other,\n href: other.href,\n } as React.AnchorHTMLAttributes<HTMLOListElement>;\n\n return (\n <ol\n className={classes}\n {...olProps}\n ref={ref as React.Ref<HTMLOListElement>}>\n {children}\n </ol>\n );\n }*/\n\n const ulProps = {\n ...other,\n } as React.ButtonHTMLAttributes<HTMLUListElement>;\n\n return (\n <ul\n className={classes}\n {...ulProps}\n ref={ref as React.Ref<HTMLUListElement>}\n >\n {children}\n </ul>\n );\n }\n);\n\nList.displayName = \"List\";\n\nexport default List;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport { Cross, Check } from \"@progressiveui/icons-react\";\n\n//export interface ListItemProps\n// extends Omit<React.LiHTMLAttributes<HTMLLIElement>, 'title'> {\nexport interface ListItemProps\n extends Omit<React.ComponentPropsWithRef<\"li\">, \"title\"> {\n /**\n * Specify the kind of icon to use in the list item. Options are 'checkmark' or 'cross'.\n * This provides a visual cue about the nature or status of the list item. @design\n */\n kind?: \"checkmark\" | \"cross\";\n /**\n * Specify whether the list item should be a small variant. Useful for denser lists\n * or when space is a constraint. @size\n */\n small?: boolean;\n /**\n * Content to be displayed as the title of the list item. This can be simple text or\n * a React node for more complex content. @content\n */\n title?: React.ReactNode;\n /**\n * Icon to be displayed in the list item. This can be a React node or a string\n * representing the name of a pictogram. @content\n */\n icon?: React.ReactNode;\n}\n\nconst ListItem: React.FC<ListItemProps> = ({\n children,\n className,\n title,\n kind,\n icon,\n ...other\n}) => {\n const classes = classNames(\"wfp--list__element\", className, {\n \"wfp--list-item--checkmark\": kind === \"checkmark\",\n \"wfp--list-item--cross\": kind === \"cross\",\n });\n return (\n <li className={classes} {...other}>\n {kind === \"cross\" && <Cross className=\"wfp--list-item__icon\" />}\n {kind === \"checkmark\" && <Check className=\"wfp--list-item__icon\" />}\n {icon && <span className=\"wfp--list__element__icon\">{icon}</span>}\n {title && <span className=\"wfp--list__element__title\">{title}</span>}\n <span className=\"wfp--list__element__content\">{children}</span>\n </li>\n );\n};\n\nexport default ListItem;\n","/* eslint-disable @typescript-eslint/no-empty-function */\nimport React from \"react\";\n\nexport interface MainNavigationContextType {\n /**\n * Callback when the user clicks on a sub menu item\n */\n onChangeSub: (action: string, i?: string, e?: any) => void;\n /**\n * The active menu item\n */\n activeMenuItem?: string | null;\n /**\n * Whether the mobile menu is open\n */\n openMobileMenu: boolean;\n /**\n * Toggle the mobile menu\n */\n toggleMenu: () => void;\n /**\n * Set the mobile menu to open or closed\n */\n setOpenMobileMenu: (open: boolean) => void;\n}\n\nconst MainNavigationContext = React.createContext<MainNavigationContextType>({\n onChangeSub: (e) => e,\n activeMenuItem: null,\n openMobileMenu: false,\n toggleMenu: () => {},\n setOpenMobileMenu: () => {},\n});\nexport default MainNavigationContext;\n","import React, { PropsWithChildren } from 'react';\nimport Button from '../Button';\n\nexport type MobileButtonProps = PropsWithChildren<{\n /**\n * Status of the mobile menu\n */\n openMobileMenu?: boolean;\n /**\n * Prefix for the component CSS class\n */\n prefix?: string;\n /**\n * Toggle the Menu\n */\n toggleMenu?: () => void;\n}>;\n\nconst MobileButton: React.FC<MobileButtonProps> = ({ toggleMenu, prefix }) => {\n return (\n <Button\n className={`${prefix}--main-navigation__button`}\n onClick={toggleMenu}>\n Menu\n </Button>\n );\n};\n\nexport default MobileButton;\n","import React, { ComponentType, useState } from \"react\";\nimport classNames from \"classnames\";\n\nimport WrapperDefault from \"../Wrapper\";\nimport useSettings from \"../../hooks/useSettings\";\nimport { ScreenSize } from \"../../utils\";\nimport MainNavigationContext from \"./MainNavigationContext\";\nimport MobileButtonDefault, { MobileButtonProps } from \"./MobileButton\";\nimport { WrapperProps } from \"../Wrapper/Wrapper\";\n\n/** The Main Navigation is a Horizontal Menu which consists of multiple clickable items placed at the top of the page. The navigation stays unchanged when browswing through the site and is present on every page. The currently selected item is usually highlighted. */\n\ninterface MainNavigationProps extends React.ComponentPropsWithRef<\"div\"> {\n /**\n * The Logo can be either a string or a component\n */\n logo?: string | React.ReactNode;\n /**\n * Specify the max-width on desktop devices (same as \\`Wrapper\\` component)\n */\n pageWidth?: ScreenSize;\n /**\n * The replaceable components to be used for the main navigation. MobileButton(prefix, toggleMenu): accepts a React.ReactNode which will be used as the mobile button. Wrapper: accepts a React.ReactNode which will be used as the wrapper.\n */\n components?: {\n Wrapper?: ComponentType<WrapperProps>;\n MobileButton?: ComponentType<MobileButtonProps>;\n };\n /**\n * Specify the max-width on mobile devices (same as \\`Wrapper\\` component)\n */\n mobilePageWidth?: ScreenSize;\n /**\n * A line will be placed above the navigation\n */\n line?: boolean;\n /**\n * Show a logo ribbon on the left side of the logo\n */\n logoRibbon?: \"default\" | \"offShelf\" | null;\n\n /**\n * Additional className for the `Wrapper`\n */\n wrapperClassName?: string;\n /**\n * The CSS class name to be placed on the wrapping element.\n */\n className?: string;\n /**\n * Defines an `id` for the component.\n */\n id?: string;\n}\n\nconst MainNavigation = ({\n children,\n components: componentsOverride = {},\n className,\n id,\n logo,\n line = false,\n logoRibbon = \"default\",\n mobilePageWidth,\n pageWidth,\n}: MainNavigationProps) => {\n const { prefix } = useSettings();\n const [openMobileMenu, setOpenMobileMenu] = useState<boolean>(false);\n const [activeMenuItem, setActiveMenuItem] = useState<string | null>(null);\n\n const onChangeSub = (\n action: string,\n i?: string,\n e?: React.SyntheticEvent\n ) => {\n if (e) e.preventDefault();\n\n if (action === \"close\") {\n setActiveMenuItem(null);\n } else if (action === \"toggle\") {\n const newI = activeMenuItem === null || activeMenuItem !== i ? i : null;\n if (newI !== undefined) setActiveMenuItem(newI);\n }\n };\n\n const toggleMenu = () => {\n setOpenMobileMenu(!openMobileMenu);\n };\n\n // const triggerSubNavigation = () => {\n // setActiveMenuItem(undefined);\n // };\n\n // const handleClickOutside = () => {\n // setActiveMenuItem(undefined);\n // };\n\n const wrapperClasses = classNames(\n `${prefix}--main-navigation`,\n { [`${prefix}--main-navigation--line`]: line },\n className\n );\n\n const listClasses = classNames(`${prefix}--main-navigation__list`, {\n [`${prefix}--main-navigation__list--open`]: openMobileMenu,\n });\n\n const components = {\n Wrapper: WrapperDefault,\n MobileButton: MobileButtonDefault,\n ...componentsOverride,\n };\n\n const Wrapper = components.Wrapper as React.FC<WrapperProps>;\n const MobileButton = components.MobileButton as React.FC<MobileButtonProps>;\n\n return (\n <nav id={id} className={wrapperClasses}>\n <MainNavigationContext.Provider\n value={{\n activeMenuItem,\n openMobileMenu,\n toggleMenu,\n onChangeSub,\n setOpenMobileMenu,\n }}\n >\n <Wrapper\n pageWidth={pageWidth}\n mobilePageWidth={mobilePageWidth}\n className={`${prefix}--main-navigation__wrapper`}\n >\n <div className={`${prefix}--main-navigation__logo-wrapper`}>\n <MobileButton\n toggleMenu={toggleMenu}\n prefix={prefix}\n openMobileMenu={openMobileMenu}\n >\n Menu\n </MobileButton>\n <div className={`${prefix}--main-navigation__logo`}>{logo}</div>\n </div>\n <ul className={listClasses}>{children}</ul>\n </Wrapper>\n </MainNavigationContext.Provider>\n </nav>\n );\n};\n\nMainNavigation.displayName = \"MainNavigation\";\n\nexport default MainNavigation;\n","import { useContext } from \"react\";\n\nimport MainNavigationContext, {\n MainNavigationContextType,\n} from \"./MainNavigationContext\";\n\n/** The useMainNavigation() is a hook to access the current state of the MainNavigation and manipulate it. */\n\nfunction useMainNavigation(): MainNavigationContextType {\n const settings = useContext(MainNavigationContext);\n\n return settings;\n}\n\nuseMainNavigation.displayName = \"useMainNavigation\";\n\nexport default useMainNavigation;\n","import React, { useEffect, useRef, useState } from \"react\";\nimport classNames from \"classnames\";\nimport { Close, ChevronDown } from \"@progressiveui/icons-react\";\nimport useSettings from \"../../hooks/useSettings\";\nimport useMainNavigation from \"../MainNavigation/useMainNavigation\";\n\n/**\n * MainNavigationItem component for use with MainNavigation. This component is a wrapper for the `a` element.\n */\ninterface MainNavigationItemProps extends React.ComponentPropsWithRef<\"a\"> {\n /**\n * If defined the `MainNaviationItem` will have a toggleable\n * SubNavigation. See the `SubNavigation` component for details on usage\n */\n subNavigation?: React.ReactNode;\n /**\n * If the subNavigation is open, the subNavigation will be as wide as the content\n */\n subNavWideAsContent?: boolean;\n /**\n * Specify the kind of the subNavigation\n */\n kind?: \"fullWidth\" | \"callout\";\n /**\n * Specify a callback that will be called when the subNavigation is opened or closed\n */\n onChangeSub?: (action: string, id?: number, e?: any) => void;\n /**\n * Specify if you want to use the external version of the component\n */\n external?: boolean;\n}\n\nconst MainNavigationItem = ({\n className,\n children,\n kind,\n subNavigation,\n subNavWideAsContent,\n}: MainNavigationItemProps) => {\n const { prefix } = useSettings();\n\n const { onChangeSub, activeMenuItem /*menuItem */ } = useMainNavigation();\n\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const [menuItemId] = useState(Math.random().toString(36));\n\n const wrapperRef = useRef<HTMLLIElement>(null);\n\n useEffect(() => {\n if (menuItemId === activeMenuItem) {\n document.addEventListener(\"mousedown\", handleClickOutside);\n } else {\n document.removeEventListener(\"mousedown\", handleClickOutside);\n }\n\n return () => {\n document.removeEventListener(\"mousedown\", handleClickOutside);\n };\n }, [activeMenuItem]);\n\n const handleClickOutside = (e) => {\n if (wrapperRef?.current && !wrapperRef.current.contains(e.target)) {\n onChangeSub(\"close\");\n }\n };\n\n const wrapperClasses = classNames(className, {\n [`${prefix}--main-navigation__item`]: true,\n [`${prefix}--main-navigation__item--open`]: menuItemId === activeMenuItem,\n [`${prefix}--content-width`]: subNavigation && subNavWideAsContent,\n });\n\n const triggerClasses = classNames({\n [`${prefix}--main-navigation__trigger`]: true,\n [`${prefix}--main-navigation__trigger--has-sub`]: subNavigation,\n [`${prefix}--main-navigation__trigger--open`]:\n menuItemId === activeMenuItem,\n });\n\n const Icon = menuItemId === activeMenuItem ? Close : ChevronDown;\n\n const subClasses = classNames({\n [`${prefix}--main-navigation__sub`]: true,\n [`${prefix}--main-navigation__sub--${kind}`]: kind,\n [`${prefix}--main-navigation__sub--open`]: menuItemId === activeMenuItem,\n });\n\n return (\n <li className={wrapperClasses} ref={wrapperRef as React.Ref<HTMLLIElement>}>\n <div\n className={triggerClasses}\n onClick={() => onChangeSub(\"toggle\", menuItemId)}\n >\n {children}\n {subNavigation && (\n <Icon\n className={`${prefix}--main-navigation__trigger__icon`}\n description={\n menuItemId === activeMenuItem ? \"close icon\" : \"expand icon\"\n }\n />\n )}\n </div>\n {subNavigation && <div className={subClasses}>{subNavigation}</div>}\n </li>\n );\n};\n\nexport default MainNavigationItem;\n","import * as React from \"react\";\n\n/** The SubNavigation is a toogleable part of the MainNavigation */\nexport const SubNavigation = ({ children, ...other }) => {\n return <div {...other}>{children}</div>;\n};\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n\ninterface SubNavigationItemProps extends React.ComponentPropsWithoutRef<\"div\"> {\n /**\n * Specify a the content of the SubNavigationItem\n */\n children?: React.ReactNode;\n}\n\nexport const SubNavigationItem = ({\n children,\n className,\n ...other\n}: SubNavigationItemProps) => {\n const { prefix } = useSettings();\n const classes = classNames(`${prefix}--sub-navigation__item`, className);\n\n return (\n <div className={classes} {...other}>\n {children}\n </div>\n );\n};\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n\ninterface SubNavigationHeaderProps\n extends React.ComponentPropsWithoutRef<\"div\"> {\n /**\n * Specify a the content of the SubNavigationHeader\n */\n children?: React.ReactNode;\n}\n\nexport const SubNavigationHeader = ({\n children,\n className,\n ...other\n}: SubNavigationHeaderProps) => {\n const { prefix } = useSettings();\n const classes = classNames(`${prefix}--sub-navigation__header`, className);\n\n return (\n <div className={classes} {...other}>\n {children}\n </div>\n );\n};\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n\ninterface SubNavigationTitleProps\n extends React.ComponentPropsWithoutRef<\"div\"> {\n /**\n * Specify a the content of the SubNavigationTitle\n */\n children?: React.ReactNode;\n}\n\nexport const SubNavigationTitle = ({\n children,\n className,\n ...other\n}: SubNavigationTitleProps) => {\n const { prefix } = useSettings();\n const classes = classNames(`${prefix}--sub-navigation__title`, className);\n\n return (\n <div className={classes} {...other}>\n {children}\n </div>\n );\n};\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n\ninterface SubNavigationLinkProps extends React.ComponentPropsWithoutRef<\"div\"> {\n /**\n * Specify a the content of the SubNavigationLink\n */\n children?: React.ReactNode;\n}\n\nexport const SubNavigationLink = ({\n children,\n className,\n ...other\n}: SubNavigationLinkProps) => {\n const { prefix } = useSettings();\n const classes = classNames(`${prefix}--sub-navigation__link`, className);\n\n return (\n <div className={classes} {...other}>\n {children}\n </div>\n );\n};\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n\ninterface SubNavigationFilterProps\n extends React.ComponentPropsWithoutRef<\"div\"> {\n /**\n * Specify a the content of the SubNavigationFilter\n */\n children?: React.ReactNode;\n}\n\nexport const SubNavigationFilter = ({\n children,\n className,\n ...other\n}: SubNavigationFilterProps) => {\n const { prefix } = useSettings();\n const classes = classNames(`${prefix}--sub-navigation__filter`, className);\n\n return (\n <div className={classes} {...other}>\n {children}\n </div>\n );\n};\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n\ninterface SubNavigationContentProps\n extends React.ComponentPropsWithoutRef<\"div\"> {\n /**\n * Specify a the content of the SubNavigationContent\n */\n children?: React.ReactNode;\n}\n\nexport const SubNavigationContent = ({\n children,\n className,\n ...other\n}: SubNavigationContentProps) => {\n const { prefix } = useSettings();\n const classes = classNames(`${prefix}--sub-navigation__content`, className);\n\n return (\n <div className={classes} {...other}>\n {children}\n </div>\n );\n};\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n\ninterface SubNavigationListProps extends React.ComponentPropsWithoutRef<\"div\"> {\n /**\n * Specify a the content of the SubNavigationList\n */\n children?: React.ReactNode;\n}\n\nexport const SubNavigationList = ({\n children,\n className,\n ...other\n}: SubNavigationListProps) => {\n const { prefix } = useSettings();\n const classes = classNames(`${prefix}--sub-navigation__list`, className);\n\n return (\n <div className={classes} {...other}>\n {children}\n </div>\n );\n};\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n\ninterface SubNavigationGroupProps\n extends Omit<React.ComponentPropsWithRef<\"div\">, \"title\"> {\n /**\n * Specify a the content of the SubNavigationGroup\n */\n children?: React.ReactNode;\n /**\n * Specify the number of columns\n */\n columns?: number;\n /**\n * The title of the SubNavigationGroup\n */\n title?: React.ReactNode;\n}\n\nexport const SubNavigationGroup = ({\n children,\n columns,\n className,\n title,\n ...other\n}: SubNavigationGroupProps) => {\n const { prefix } = useSettings();\n const classes = classNames(\n `${prefix}--sub-navigation__group`,\n {\n className,\n },\n {\n [`${prefix}--sub-navigation__group--columns`]: columns,\n [`${prefix}--sub-navigation__group--columns--${columns}`]: columns,\n }\n );\n\n return (\n <div className={classes} {...other}>\n {title && (\n <h3 className={`${prefix}--sub-navigation__group__title`}>{title}</h3>\n )}\n <div>{children}</div>\n </div>\n );\n};\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n\n/** The Story component adds a default style, formatting and spacing for a longer text with main focus on readability. */\n\nexport interface StoryProps extends React.AllHTMLAttributes<HTMLDivElement> {\n className?: string;\n}\n\nconst Story: React.FC<StoryProps> = ({ children, className, ...other }) => {\n const { prefix } = useSettings();\n\n const wrapperclassNames = classNames({\n [`${prefix}--story`]: true,\n [`${className}`]: className,\n });\n return (\n <div className={wrapperclassNames} {...other}>\n {children}\n </div>\n );\n};\n\nexport default Story;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\nimport { InputProps } from \"../Input\";\n\nimport { Close } from \"@progressiveui/icons-react\";\n\ninterface NotificationButtonProps\n extends InputProps,\n React.ComponentPropsWithRef<\"button\"> {\n /**\n * Specify a label to be read by screen readers on the notification button\n */\n ariaLabel?: string;\n\n /**\n * Specify an optional className to be applied to the notification button\n */\n className?: string;\n\n /**\n * Provide a description for \"close\" icon that can be read by screen readers\n */\n iconDescription?: string;\n\n /**\n * Specify an optional icon for the Button through a string,\n * if something but regular \"close\" icon is desirable\n */\n name?: string;\n\n /**\n * Specify the notification type\n */\n notificationType?: \"toast\" | \"inline\";\n\n /**\n * Optional prop to allow overriding the icon rendering.\n * Can be a React component class\n */\n renderIcon?: any; // TODO: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n\n /**\n * Optional prop to specify the type of the Button\n */\n type?: \"button\" | \"submit\" | \"reset\" | undefined;\n}\n\nexport const NotificationButton: React.FC<NotificationButtonProps> = ({\n ariaLabel = \"close notification\",\n className,\n iconDescription = \"close icon\",\n type = \"button\",\n renderIcon: IconTag = Close, // IconTag, // Close\n name,\n notificationType = \"toast\",\n ...other\n}) => {\n const { prefix } = useSettings();\n\n const buttonClassName = classNames(className, {\n [`${prefix}--${notificationType}-notification__close-button`]:\n notificationType,\n });\n const iconClassName = classNames({\n [`${prefix}--${notificationType}-notification__close-icon`]:\n notificationType,\n });\n\n // const Icon = renderIcon;\n\n return (\n // eslint-disable-next-line react/button-has-type\n <button\n {...other}\n type={type}\n aria-label={iconDescription}\n title={iconDescription}\n className={buttonClassName}\n >\n {IconTag && (\n <IconTag aria-label={ariaLabel} className={iconClassName} name={name} />\n )}\n </button>\n );\n};\n","import * as React from \"react\";\nimport Button from \"../Button/Button\";\nimport useSettings from \"../../hooks/useSettings\";\nimport classNames from \"classnames\";\n\ninterface NotificationActionButton {\n /**\n * Specify the content of the notification action button.\n */\n children?: React.ReactNode;\n\n /**\n * Specify an optional className to be applied to the notification action button\n */\n className?: string;\n\n /**\n * Optionally specify a click handler for the notification action button.\n */\n onClick?: () => void;\n}\n\n/** Notifications are messages that communicate information to the user. The two main types of notifications are toast notifications and inline notifications. */\nexport const NotificationActionButton: React.FC<NotificationActionButton> = ({\n children,\n className: customClassName,\n onClick,\n ...other\n}) => {\n const { prefix } = useSettings();\n\n const className = classNames(\n customClassName,\n `${prefix}--inline-notification__action-button`\n );\n\n return (\n <Button\n className={className}\n kind=\"ghost\"\n onClick={onClick}\n small //TODO size=\"small\"\n {...other}\n >\n {children}\n </Button>\n );\n};\n","import * as React from \"react\";\nimport useSettings from \"../../hooks/useSettings\";\n\ninterface NotificationTextDetailsProps {\n /*extends Omit<React.ComponentPropsWithRef<'div'>, 'title'> */ title?: React.ReactNode;\n subtitle?: React.ReactNode;\n caption?: React.ReactNode;\n notificationType?: \"toast\" | \"inline\";\n children?: React.ReactNode;\n}\n\nexport const NotificationTextDetails: React.FC<\n NotificationTextDetailsProps\n> = ({\n title,\n subtitle,\n caption,\n notificationType = \"toast\",\n children,\n ...other\n}) => {\n const { prefix } = useSettings();\n\n if (notificationType === \"toast\") {\n return (\n <div {...other} className={`${prefix}--toast-notification__details`}>\n {title && (\n <h3 className={`${prefix}--toast-notification__title`}>{title}</h3>\n )}\n <div className={`${prefix}--toast-notification__subtitle`}>\n {subtitle}\n </div>\n <div className={`${prefix}--toast-notification__caption`}>\n {caption}\n </div>\n {children}\n </div>\n );\n }\n\n return (\n <div {...other} className={`${prefix}--inline-notification__text-wrapper`}>\n {title && (\n <p className={`${prefix}--inline-notification__title`}>{title}</p>\n )}\n <div className={`${prefix}--inline-notification__subtitle`}>\n {children || subtitle}\n </div>\n </div>\n );\n};\n","import * as React from \"react\";\nimport useSettings from \"../../hooks/useSettings\";\n\nimport {\n Error,\n CheckmarkCircle,\n WarningSolid,\n InfoCircle,\n} from \"@progressiveui/icons-react\";\n\nconst iconTypes = {\n error: Error,\n success: CheckmarkCircle,\n warning: WarningSolid,\n info: InfoCircle,\n};\n\ninterface NotificationIconProps {\n iconDescription?: string;\n kind: \"error\" | \"info\" | \"success\" | \"warning\" | \"warning-alt\";\n notificationType: \"toast\" | \"inline\";\n}\n\nexport const NotificationIcon: React.FC<NotificationIconProps> = ({\n iconDescription,\n kind = \"info\",\n notificationType = \"toast\",\n}) => {\n const { prefix } = useSettings();\n const IconForKind = kind ? iconTypes[kind] : undefined;\n if (!IconForKind) {\n return null;\n }\n return (\n <IconForKind\n className={`${prefix}--${notificationType}-notification__icon`}\n >\n <title>{iconDescription}</title>\n </IconForKind>\n );\n};\n","import * as React from \"react\";\nimport { NotificationButton } from \"./NotificationButton\";\nimport { NotificationIcon } from \"./NotificationIcon\";\nimport { NotificationTextDetails } from \"./NotificationTextDetails\";\nimport useSettings from \"../../hooks/useSettings\";\nimport classNames from \"classnames\";\nimport { CalloutProps } from \"./Callout\";\n\ninterface ToastNotificationProps extends CalloutProps {\n /**\n * Specify the timeout in milliseconds\n */\n timeout?: number;\n}\n\nexport const ToastNotification: React.FC<ToastNotificationProps> = ({\n role = \"alert\",\n notificationType = \"toast\",\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n onClose = () => {},\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n onCloseButtonClick = () => {},\n iconDescription = \"closes notification\",\n statusIconDescription,\n className,\n //caption = 'provide a caption',\n subtitle,\n title = \"provide a title\",\n kind = \"error\",\n lowContrast = true,\n hideCloseButton = false,\n children,\n timeout = 0,\n ...other\n}) => {\n const { prefix } = useSettings();\n const [isOpen, setIsOpen] = React.useState(true);\n const containerClassName = classNames(className, {\n [`${prefix}--toast-notification`]: true,\n [`${prefix}--toast-notification--low-contrast`]: lowContrast,\n [`${prefix}--toast-notification--${kind}`]: kind,\n });\n\n const handleClose = (evt) => {\n if (!onClose || onClose(evt) !== false) {\n setIsOpen(false);\n }\n };\n\n function handleCloseButtonClick(event) {\n onCloseButtonClick(event);\n handleClose(event);\n }\n\n const savedOnClose = React.useRef(onClose);\n\n React.useEffect(() => {\n savedOnClose.current = onClose;\n });\n\n React.useEffect(() => {\n if (!timeout) {\n return;\n }\n\n const timeoutId = window.setTimeout((event) => {\n setIsOpen(false);\n if (savedOnClose.current) {\n savedOnClose.current(event);\n }\n }, timeout);\n\n return () => {\n window.clearTimeout(timeoutId);\n };\n }, [timeout]);\n\n if (!isOpen) {\n return null;\n }\n\n return (\n <div\n {...other}\n role={role}\n /* kind={kind} */ className={containerClassName}\n >\n <NotificationIcon\n kind={kind}\n iconDescription={statusIconDescription || `${kind} icon`}\n notificationType={notificationType}\n />\n <NotificationTextDetails\n title={title}\n subtitle={subtitle}\n //caption={caption}\n notificationType={notificationType}\n >\n {children}\n </NotificationTextDetails>\n {!hideCloseButton && (\n <NotificationButton\n iconDescription={iconDescription}\n notificationType={notificationType}\n onClick={handleCloseButtonClick}\n />\n )}\n </div>\n );\n};\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\nimport { NotificationTextDetails } from \"./NotificationTextDetails\";\nimport { NotificationIcon } from \"./NotificationIcon\";\n\nexport interface CalloutProps\n extends Omit<React.ComponentPropsWithRef<\"div\">, \"title\"> {\n /**\n * Pass in the action nodes that will be rendered within the Notification\n */\n actions?: React.ReactNode;\n\n /**\n * Provide a function that is called when menu is closed\n */\n onClose?: any;\n\n /**\n * Specify the close button should be disabled, or not\n */\n hideCloseButton?: boolean;\n\n /**\n * Pass in the icon that will be rendered within the Notification or set icon to false to hide\n */\n icon?: React.ReactNode | boolean;\n\n /**\n * Provide a description for \"close\" icon that can be read by screen readers\n */\n iconDescription?: string;\n\n /**\n * Specify what state the notification represents\n */\n kind?: \"error\" | \"info\" | \"success\" | \"warning\" | \"warning-alt\";\n\n /**\n * Specify whether you are using the low contrast variant of the Notification.\n */\n lowContrast?: boolean;\n\n /**\n * By default, this value is \"inline\". You can also provide an alternate type\n * if it makes sense for the underlying `<NotificationTextDetails>` and `<NotificationButton>`\n */\n notificationType?: \"toast\" | \"inline\";\n\n /**\n * Provide a function that is called when menu is closed\n */\n onCloseButtonClick?: (e: any) => void;\n\n /**\n * By default, this value is \"alert\". You can also provide an alternate\n * role if it makes sense from the accessibility-side\n */\n role?: string;\n\n /**\n * Provide a description for \"status\" icon that can be read by screen readers\n */\n statusIconDescription?: string;\n\n /**\n * Specify the sub-title\n */\n subtitle?: React.ReactNode;\n\n /**\n * Specify the title\n */\n title?: React.ReactNode;\n}\n\nexport const Callout: React.FC<CalloutProps> = React.forwardRef(\n (props, ref) => {\n const {\n actions,\n role = \"alert\",\n notificationType = \"inline\",\n icon,\n // iconDescription = 'closes notification',\n statusIconDescription,\n className,\n subtitle,\n title,\n kind = \"info\",\n lowContrast = true,\n hideCloseButton = false,\n children,\n ...other\n } = props;\n const { prefix } = useSettings();\n const containerClassName = classNames(className, {\n [`${prefix}--inline-notification`]: true,\n [`${prefix}--block-notification`]: true,\n [`${prefix}--inline-notification--low-contrast`]: lowContrast,\n [`${prefix}--inline-notification--${kind}`]: kind,\n [`${prefix}--inline-notification--hide-close-button`]: hideCloseButton,\n });\n\n return (\n <div {...other} ref={ref} role={role} className={containerClassName}>\n <div className={`${prefix}--inline-notification__details`}>\n {icon === undefined && (\n <NotificationIcon\n notificationType={notificationType}\n kind={kind}\n iconDescription={statusIconDescription || `${kind} icon`}\n />\n )}\n {icon && (\n <div\n className={`${prefix}--${notificationType}-notification__icon`}\n >\n {icon}\n </div>\n )}\n <NotificationTextDetails\n title={title}\n subtitle={subtitle}\n notificationType={notificationType}\n >\n {children}\n </NotificationTextDetails>\n {actions && (\n <div className={`${prefix}--inline-notification__actions-wrapper`}>\n {actions}\n </div>\n )}\n </div>\n </div>\n );\n }\n);\n\nCallout.displayName = \"Callout\";\n\nexport default Callout;\n","import * as React from 'react';\nimport classNames from 'classnames';\nimport useSettings from '../../hooks/useSettings';\n\nexport interface TableProps extends React.HTMLAttributes<HTMLTableElement> {\n withBorder?: boolean;\n responsive?: boolean;\n}\n\n/** Tables are used to make large volumes of data easy to understand and to access. */\nconst Table: React.FC<TableProps> = ({\n className,\n children,\n responsive,\n withBorder,\n ...other\n}) => {\n const { prefix } = useSettings();\n const classes = classNames(\n `${prefix}--table`,\n {\n [`${prefix}--table--responsive`]: responsive,\n [`${prefix}--table--with-border`]: withBorder,\n },\n className\n );\n return (\n <table {...other} className={classes}>\n {children}\n </table>\n );\n};\n\nexport default Table;\n","import * as React from \"react\";\nimport type { PropsWithChildren } from \"react\";\nimport classNames from \"classnames\";\nimport { CaretDown, CaretUp } from \"@progressiveui/icons-react\";\n\ntype TableSortingProps = PropsWithChildren<{\n isSorted?: boolean;\n isSortedDesc?: boolean;\n sortType?: boolean;\n withBorder?: boolean;\n className?: string;\n}>;\n\nconst TableSorting: React.FC<TableSortingProps> = ({\n className,\n isSorted,\n isSortedDesc,\n sortType,\n}) => {\n const classes = classNames(className, \"wfp--table--sorting\", {\n \"wfp--table--is-sorted\": isSorted,\n \"wfp--table--is-sortable\": sortType,\n });\n return (\n <span className={classes}>\n {isSorted ? isSortedDesc ? <CaretDown /> : <CaretUp /> : \"\"}\n </span>\n );\n};\n\nexport default TableSorting;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\nimport { Spacing, TextKind } from \"../../utils\";\n\ninterface TextProps extends React.AllHTMLAttributes<HTMLDivElement> {\n /**\n * Overrides the rendered HTML tag or React component.\n */\n as?: React.ElementType;\n /**\n * Specifies the kind of text to be displayed. This could be an enumeration that defines various text styles or types.\n */\n kind?: TextKind;\n\n /**\n * The content of the Text component, typically a string or nested React elements.\n */\n children?: React.ReactNode;\n\n /**\n * Spacing to be applied above the Text component. 'Spacing' could be a type that represents predefined spacing values.\n */\n spacingTop?: Spacing;\n\n /**\n * Spacing to be applied below the Text component. Similar to spacingTop, it uses the Spacing type for predefined values.\n */\n spacingBottom?: Spacing;\n\n /**\n * Additional custom class name(s) that can be applied to the Text component for styling purposes.\n */\n className?: string;\n}\n\nexport const textLookup: {\n [key in NonNullable<TextProps[\"kind\"]>]: React.ElementType;\n} = {\n h1: \"h1\",\n h2: \"h2\",\n h3: \"h3\",\n h4: \"h4\",\n h5: \"h5\",\n h6: \"h6\",\n title: \"h1\",\n subtitle: \"h3\",\n p: \"p\",\n caption: \"div\",\n code: \"code\",\n sup: \"sup\",\n i: \"i\",\n bold: \"b\",\n strong: \"strong\",\n a: \"a\",\n \"inline-highlight\": \"code\",\n \"story-subtitle\": \"h2\",\n \"story-title\": \"h1\",\n};\n\n/**\n *Text is a component for displaying paragraphs. You can use Text to standardize text across your web app. For longer sections or full articles use the <Story /> component instead.\n */\n\nconst Text = React.forwardRef<HTMLElement, TextProps>(\n (\n {\n as: asProp,\n children,\n className,\n kind,\n spacingTop,\n spacingBottom,\n ...rest\n },\n ref,\n ) => {\n const { prefix } = useSettings();\n const fallbackTag = undefined;\n const TagName: React.ElementType = asProp || \"div\";\n\n const classes = classNames(\n `${prefix}--text`,\n kind && `${prefix}--text__${kind}`,\n spacingTop && `${prefix}--text__spacing-top-${spacingTop}`,\n spacingBottom && `${prefix}--text__spacing-bottom-${spacingBottom}`,\n className,\n );\n\n return (\n <TagName ref={ref} className={classes} {...rest}>\n {children}\n </TagName>\n );\n },\n);\n\nText.displayName = \"Text\";\n\nexport default Text;\n","import Story from '../Story';\nimport React from 'react';\nimport { List, ListItem } from '../List';\nimport { Callout } from '../Notification';\nimport Table from '../Table';\nimport useSettings from '../../hooks/useSettings';\nimport Link from '../Link';\nimport Button from '../Button';\nimport { Accordion, AccordionItem } from '../Accordion';\nimport Text from '../Text';\n\n/** Links are used as navigational elements. They may appear on their own, within a sentence or paragraph, or directly following the content. */\n\nconst wrapper = (props) => <Story {...props} />;\n\nconst li = (props) => {\n const kind =\n typeof props.children === 'string' ? props.children.substring(0, 1) : '';\n\n if (kind === '✓' || kind === '✗')\n return (\n <ListItem kind={kind === '✓' ? 'checkmark' : 'cross'} {...props}>\n {props.children.substring(1, props.children.length)}\n </ListItem>\n );\n\n return <li {...props}>{props.children}</li>;\n};\n\nconst ul = ({ children, ...other }) => {\n return (\n <List {...other} kind=\"bullets\">\n {children}\n </List>\n );\n};\n\nconst ol = ({ children, ...other }) => {\n return (\n <List {...other} kind=\"ordered\">\n {children}\n </List>\n );\n};\n\nconst h1 = (props) => {\n return (\n <Text kind=\"h1\" {...props}>\n {props.children}\n </Text>\n );\n};\n\nconst h2 = (props) => {\n return (\n <Text kind=\"h2\" {...props}>\n {props.children}\n </Text>\n );\n};\n\nconst h3 = (props) => {\n return (\n <Text kind=\"h3\" {...props}>\n {props.children}\n </Text>\n );\n};\n\nconst h4 = (props) => {\n return (\n <Text kind=\"h4\" {...props}>\n {props.children}\n </Text>\n );\n};\n\nconst h5 = (props) => {\n return (\n <Text kind=\"h5\" {...props}>\n {props.children}\n </Text>\n );\n};\n\nconst p = (props) => {\n return <p {...props}>{props.children}</p>;\n};\n\nconst table = (props) => {\n return <Table {...props}>{props.children}</Table>;\n};\n\nconst a = (props) => {\n return (\n <Link inline {...props}>\n {props.children}\n </Link>\n );\n};\n\nconst code = (props) => {\n const settings = useSettings();\n return (\n <code className={`${settings.prefix}--story__code`} {...props}>\n {props.children}\n </code>\n );\n};\n\nconst pre = (props) => {\n const settings = useSettings();\n return (\n <pre className={`${settings.prefix}--story__pre`} {...props}>\n {props.children}\n </pre>\n );\n};\n\n/*const inlineCode = (props) => {\n const settings = useSettings();\n return (\n <code className={`${settings.prefix}--story__inlinecode`} {...props}>\n {props.children}\n </code>\n );\n};*/\n\nconst blockquote = ({ children, ...other }) => {\n if (Array.isArray(children) && children.length >= 2 && children[0].props)\n return (\n <Callout\n kind=\"info\"\n {...other}\n subtitle={children.map((e, i) => {\n if (i > 0) return e;\n })}\n title={children[0].props.children}\n />\n );\n return <Callout kind=\"info\" {...other} subtitle={children} />;\n};\n\n/*const code = ({ children, className, ...other }) => {\n const language = className && className.split('-');\n return (\n <PureSource\n format={false}\n dark\n language={(language && language[1]) || 'plaintext'}\n code={children as string}\n {...other}\n />\n );\n };\n */\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst mdxComponents: any = {\n wrapper,\n h1,\n h2,\n h3,\n h4,\n h5,\n p,\n li,\n a,\n ul,\n ol,\n code,\n pre,\n // inlineCode,\n table,\n blockquote,\n Button,\n Accordion,\n AccordionItem,\n};\n\nexport default mdxComponents;\n","import * as React from \"react\";\nimport Button from \"../Button\";\nimport useSettings from \"../../hooks/useSettings\";\nimport { ModalProps } from \"./Modal\";\n\nexport interface ModalFooterProps extends ModalProps {\n /*passiveModal?: boolean;\n secondaryButtonText?: string; */\n onSecondaryButtonClick?: (\n evt: React.MouseEvent<HTMLButtonElement, MouseEvent>,\n trigger: \"button\" | \"background\" | \"key\"\n ) => void;\n prefix?: string;\n}\n\nconst ModalFooter: React.FC<ModalFooterProps> = ({\n passiveModal,\n secondaryButtonText,\n onSecondaryButtonClick,\n primaryButtonText,\n onRequestSubmit,\n primaryButtonDisabled,\n secondaryButtonDisabled,\n danger,\n primaryButtonRef,\n secondaryButtonRef,\n}) => {\n const { prefix } = useSettings();\n if (passiveModal) return null;\n\n return (\n <div className={`${prefix}--modal-footer`}>\n <div className={`${prefix}--modal__buttons-container`}>\n {secondaryButtonText && (\n <Button\n kind=\"secondary\"\n disabled={secondaryButtonDisabled}\n id=\"secondaryButton\"\n onClick={(e) => {\n if (onSecondaryButtonClick) onSecondaryButtonClick(e, \"button\");\n }}\n ref={secondaryButtonRef as React.Ref<HTMLButtonElement>}\n >\n {secondaryButtonText}\n </Button>\n )}\n <Button\n kind={danger ? \"danger\" : \"primary\"}\n disabled={primaryButtonDisabled}\n onClick={onRequestSubmit}\n id=\"primaryButton\"\n ref={primaryButtonRef as React.Ref<HTMLButtonElement>}\n >\n {primaryButtonText}\n </Button>\n </div>\n </div>\n );\n};\nexport default ModalFooter;\n","/* eslint-disable @typescript-eslint/no-empty-function */\nimport React, { useRef } from \"react\";\nimport ReactDOM from \"react-dom\";\nimport classNames from \"classnames\";\nimport { Close } from \"@progressiveui/icons-react\";\nimport useSettings from \"../../hooks/useSettings\";\nimport ModalFooterDefault, { ModalFooterProps } from \"./ModalFooter\";\n\nexport interface ModalProps {\n /**\n * Specify the content of the modal header label.\n */\n modalLabel?: React.ReactNode;\n /**\n * Specify the content of the modal header title.\n */\n modalHeading?: React.ReactNode;\n modalText?: React.ReactNode;\n /**\n * Specify whether the modals content should be only loaded when the `Modal` is `open`\n */\n lazyLoad?: boolean;\n /**\n * Specify whether the modal should be button-less\n */\n passiveModal?: boolean;\n children?: React.ReactNode;\n components?: {\n Wrapper?: React.ReactNode;\n ModalFooter?: React.ReactNode;\n };\n /**\n * Specify a label to be read by screen readers on the modal root node\n */\n modalAriaLabel?: string;\n elementToAppend?: HTMLElement | null;\n modalSecondaryAction?: React.ReactNode;\n /**\n * Specify the text for the secondary button\n */\n secondaryButtonText?: React.ReactNode;\n /**\n * Specify whether the secondary Button should be disabled, or not\n */\n secondaryButtonDisabled?: boolean;\n /**\n * Specify a handler for the secondary button.\n * Useful if separate handler from `onRequestClose` is desirable\n */\n onSecondarySubmit?: () => void;\n /**\n * Specify the text for the primary button\n */\n primaryButtonText?: React.ReactNode;\n /**\n * Specify whether the Button should be disabled, or not\n */\n primaryButtonDisabled?: boolean;\n /**\n * Specify whether the Modal is currently open\n */\n open?: boolean;\n /**\n * Specify to hide the close button\n */\n hideClose?: boolean;\n warning?: boolean;\n /**\n * Specify whether the Modal is for dangerous actions\n */\n danger?: boolean;\n /**\n * Specify if Enter key should be used as \"submit\" action\n */\n shouldSubmitOnEnter?: boolean;\n /**\n * Specify CSS selectors that match DOM elements working as floating menus.\n * Focusing on those elements won't trigger \"focus-wrap\" behavior\n */\n selectorsFloatingMenus?: string[];\n /**\n * Specify a CSS selector that matches the DOM element that should\n * be focused when the Modal opens. If \"false\" no selector will be triggered\n */\n selectorPrimaryFocus?: boolean | string;\n /**\n * Different styling options are available `info`, `warning`, `danger`\n */\n type?: \"info\" | \"warning\" | \"danger\";\n /**\n * If true the Modal will be rendered inside a portal at the end of the\n * body element, otherwise at the position it is placed.\n */\n inPortal?: boolean;\n width?: \"narrow\" | \"wide\" | \"full\";\n kind?: \"dialog\" | \"fullscreen\";\n kindMobile?: \"dialog\" | \"bottomsheet\" | \"fullscreen\";\n /**\n * Overscroll behavior for modal content\n */\n overscrollBehavior?: \"modal\" | \"inside\";\n\n /**\n * If true the Modal will be wider then the regular Modal\n */\n wide?: boolean;\n /**\n * Specify a handler for closing modal.\n * The handler should care of closing modal, e.g. changing `open` prop.\n */\n onRequestClose?: (\n evt: React.UIEvent,\n trigger: \"button\" | \"key\" | \"background\",\n ) => void;\n /**\n * Specify a handler for \"submitting\" modal.\n * The handler should care of closing modal, e.g. changing `open` prop, if necessary.\n */\n onRequestSubmit?: () => void;\n /**\n * Provide a description for \"close\" icon that can be read by screen readers\n */\n iconDescription?: string;\n className?: string;\n /**\n * Specify the DOM element ID of the top-level node.\n */\n id?: string;\n backgroundImage?: string;\n //onKeyDown?: () => void;\n handleBlur?: (obj?: unknown) => void;\n primaryButtonRef?: React.RefObject<HTMLButtonElement>;\n secondaryButtonRef?: React.RefObject<HTMLButtonElement>;\n}\n\nconst matchesFuncName =\n typeof Element !== \"undefined\" &&\n [\"matches\", \"webkitMatchesSelector\", \"msMatchesSelector\"].filter(\n (name) => typeof Element.prototype[name] === \"function\",\n )[0];\n\n/** Modals focus the user’s attention exclusively on one task or piece of information via a window that sits on top of the page content. */\n\nfunction Modal(props: ModalProps) {\n const {\n modalHeading,\n modalLabel,\n className,\n components: componentsOverride = {},\n modalSecondaryAction,\n modalAriaLabel,\n passiveModal,\n children,\n elementToAppend,\n backgroundImage,\n open,\n lazyLoad,\n kind = \"dialog\",\n kindMobile = \"dialog\",\n overscrollBehavior = \"modal\",\n onRequestClose = () => {},\n // onRequestSubmit,\n onSecondarySubmit,\n iconDescription,\n inPortal = true,\n hideClose,\n handleBlur = () => {},\n wide,\n type,\n selectorPrimaryFocus,\n primaryButtonRef,\n secondaryButtonRef,\n // shouldSubmitOnEnter,\n ...other\n } = props;\n\n const { prefix } = useSettings();\n const button = useRef<HTMLButtonElement>(null);\n const outerModal = useRef<HTMLInputElement>(null);\n const innerModal = useRef<HTMLInputElement>(null);\n\n const el = elementToAppend\n ? elementToAppend\n : typeof document !== \"undefined\"\n ? document.body\n : undefined;\n\n const [beingOpen, setBeingOpen] = React.useState(false);\n\n // const handleKeyDown = (evt) => {\n // if (evt.which === 27) onRequestClose(evt, 'key');\n // if (evt.which === 13 && shouldSubmitOnEnter) onRequestSubmit(evt, 'key');\n // };\n\n const elementOrParentIsFloatingMenu = (target) => {\n const {\n selectorsFloatingMenus = [\n `.${prefix}--overflow-menu-options`,\n `.${prefix}--tooltip`,\n \".flatpickr-calendar\",\n ],\n } = props;\n if (target && typeof target.closest === \"function\") {\n return selectorsFloatingMenus.some((selector) =>\n target.closest(selector),\n );\n } else {\n // Alternative if closest does not exist.\n while (target) {\n if (matchesFuncName && typeof target[matchesFuncName] === \"function\") {\n if (\n // eslint-disable-next-line no-loop-func\n selectorsFloatingMenus.some((selector) =>\n target[matchesFuncName](selector),\n )\n ) {\n return true;\n }\n }\n target = target.parentNode;\n }\n return false;\n }\n };\n\n // const handleClick = (evt) => {\n // console.log(\n // 'evt.target',\n // evt,\n // innerModal.current.contains(evt.target),\n // innerModal.current\n // );\n // if (\n // innerModal.current &&\n // !innerModal.current.contains(evt.target) &&\n // !elementOrParentIsFloatingMenu(evt.target)\n // ) {\n // onRequestClose(evt, 'background');\n // }\n // };\n\n const handleCloseButton = (evt) => {\n onRequestClose(evt, \"button\");\n };\n\n const focusModal = () => {\n if (outerModal.current) outerModal.current.focus();\n };\n\n const handleBlurEvent = (evt) => {\n if (handleBlur) {\n handleBlur({\n evt,\n innerModal,\n open,\n elementOrParentIsFloatingMenu,\n focusModal,\n });\n } else if (\n innerModal.current &&\n open &&\n evt.relatedTarget &&\n !innerModal.current.contains(evt.relatedTarget) &&\n !elementOrParentIsFloatingMenu(evt.relatedTarget)\n ) {\n focusModal();\n }\n };\n\n const focusButton = (focusContainerElement) => {\n if (selectorPrimaryFocus === false) return;\n const primaryFocusElement =\n focusContainerElement.querySelector(selectorPrimaryFocus);\n if (primaryFocusElement) {\n primaryFocusElement.focus();\n return;\n }\n if (button?.current) {\n button.current.focus();\n }\n };\n\n const handleTransitionEnd = (evt) => {\n if (\n outerModal.current &&\n outerModal.current.offsetWidth &&\n outerModal.current.offsetHeight &&\n beingOpen\n ) {\n focusButton(evt.currentTarget);\n setBeingOpen(false);\n }\n };\n\n if (open === false && lazyLoad) return null;\n\n const components = { ModalFooter: ModalFooterDefault, ...componentsOverride };\n const ModalFooter = components.ModalFooter as React.FC<ModalFooterProps>;\n\n const onSecondaryButtonClick = onSecondarySubmit\n ? onSecondarySubmit\n : onRequestClose;\n\n const modalClasses = classNames(\n {\n [`${prefix}--modal`]: true,\n [`${prefix}--modal--wide`]: wide,\n [`${prefix}--modal--tall`]: !passiveModal,\n [`${prefix}--modal--background-image`]: backgroundImage,\n [`${prefix}--modal--passive`]: passiveModal,\n \"is-visible\": open,\n [`${prefix}--modal--warning`]: type === \"warning\" || props.warning,\n [`${prefix}--modal--danger`]: type === \"danger\" || props.danger,\n [`${prefix}--modal--desktop-${kind}`]: kind,\n [`${prefix}--modal--mobile-${kindMobile}`]: kindMobile,\n [`${prefix}--modal--scroll-${overscrollBehavior}`]: overscrollBehavior,\n },\n className,\n );\n\n const modalButton = !hideClose ? (\n <button\n className={`${prefix}--modal-close`}\n type=\"button\"\n id=\"closeButton\"\n onClick={handleCloseButton}\n ref={button}\n >\n <Close\n className={`${prefix}--modal-close__icon`}\n description={iconDescription}\n />\n </button>\n ) : null;\n\n const modalBody = (\n <div\n ref={innerModal}\n role=\"dialog\"\n className={`${prefix}--modal-container`}\n aria-label={modalAriaLabel}\n >\n <div className={`${prefix}--modal-header`}>\n {passiveModal && modalButton}\n <div>\n {modalLabel && (\n <h4 className={`${prefix}--modal-header__label`}>{modalLabel}</h4>\n )}\n <h2 className={`${prefix}--modal-header__heading`}>{modalHeading}</h2>\n </div>\n {modalSecondaryAction && <>{modalSecondaryAction}</>}\n {!passiveModal && modalButton}\n </div>\n <div className={`${prefix}--modal-content`}>{children}</div>\n <ModalFooter\n {...props}\n prefix={prefix}\n onSecondaryButtonClick={onSecondaryButtonClick}\n primaryButtonRef={primaryButtonRef}\n secondaryButtonRef={secondaryButtonRef}\n />\n </div>\n );\n\n const modal = (\n <div\n {...other}\n // onKeyDown={handleKeyDown}\n //onClick={handleClick}\n onBlur={handleBlurEvent}\n className={modalClasses}\n style={\n backgroundImage\n ? { backgroundImage: `url(${backgroundImage})` }\n : undefined\n }\n role=\"presentation\"\n tabIndex={-1}\n onTransitionEnd={open ? handleTransitionEnd : undefined}\n ref={outerModal}\n >\n <div className={`${prefix}--modal-inner`}>{modalBody}</div>\n </div>\n );\n\n if (inPortal && el) return ReactDOM.createPortal(modal, el);\n else return modal;\n}\n\nModal.displayName = \"Modal\";\n\nexport default Modal;\n","import * as React from \"react\";\nimport Modal from \"../Modal\";\nimport Button from \"../Button\";\nimport useSettings from \"../../hooks/useSettings\";\nimport { ButtonKind } from \"../../utils\";\nimport { ModalProps } from \"../Modal/Modal\";\n\n/** Modal Wrapper component to encapsulate your Modal within a button. */\ninterface ModalWrapperProps\n extends ModalProps,\n React.ComponentPropsWithRef<\"div\"> {\n /**\n * ID of the trigger button.\n */\n id?: string;\n /*status?: string;\n */\n disabled?: boolean;\n /**\n * Specify a custom trigger `Button`.\n */\n customButton?: React.ReactElement;\n /**\n * Specify the text for the trigger `Button`.\n */\n buttonTriggerText?: React.ReactNode;\n /**\n * Specify a `class` for the trigger `Button`.\n */\n buttonTriggerClassName?: string;\n /**\n * @param handle - function to open the modal\n */\n handleOpen?: () => void;\n /**\n * @param handle - function to submit content in the modal\n */\n handleSubmit?: (handle: () => void) => void;\n /**\n * @param handle - function to close the modal\n */\n handleClose?: () => void;\n /**\n * Specify the kind of trigger `Button`.\n */\n triggerButtonKind?: ButtonKind;\n /**\n * Specify whether the Modal should be closed after submit\n */\n shouldCloseAfterSubmit?: boolean;\n /**\n * Specify whether the primary button should be disabled or not\n */\n primaryButtonDisabled?: boolean;\n /**\n * A function that is called when the user presses the `Esc` key to close the modal.\n */\n onKeyDown?: (evt: React.KeyboardEvent<HTMLDivElement>) => void;\n}\n\nconst ModalWrapper: React.FC<ModalWrapperProps> = ({\n children,\n customButton,\n id,\n onKeyDown,\n buttonTriggerText,\n buttonTriggerClassName,\n triggerButtonKind,\n disabled,\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n handleSubmit = () => {},\n shouldCloseAfterSubmit = true,\n ...other\n}) => {\n const { prefix } = useSettings();\n const triggerButton = React.createRef<HTMLButtonElement>();\n const [isOpen, setIsOpen] = React.useState(false);\n\n const handleOpen = () => {\n setIsOpen(true);\n };\n\n const handleClose = () => {\n setIsOpen(false);\n if (!isOpen) {\n triggerButton.current && triggerButton.current.focus();\n if (handleClose) {\n handleClose();\n }\n }\n };\n\n const handleOnRequestSubmit = () => {\n if (handleSubmit) {\n handleSubmit(handleClose);\n if (shouldCloseAfterSubmit) {\n handleClose();\n }\n }\n };\n\n const props = {\n ...other,\n open: isOpen,\n onRequestClose: handleClose,\n onRequestSubmit: handleOnRequestSubmit,\n };\n\n const customButtonEl = customButton\n ? React.cloneElement(customButton, {\n disabled: disabled,\n onClick: handleOpen,\n inputref: triggerButton,\n })\n : undefined;\n\n return (\n <div\n role=\"presentation\"\n className={`${prefix}--modal__wrapper`}\n onKeyDown={(evt) => {\n if (evt.which === 27) {\n handleClose();\n onKeyDown && onKeyDown(evt);\n }\n }}\n >\n {customButton ? (\n <React.Fragment>{customButtonEl}</React.Fragment>\n ) : (\n <Button\n id={id}\n className={buttonTriggerClassName}\n disabled={disabled}\n kind={triggerButtonKind}\n onClick={handleOpen}\n ref={triggerButton}\n >\n {buttonTriggerText}\n </Button>\n )}\n <Modal {...props}>{children}</Modal>\n </div>\n );\n};\n\nModalWrapper.displayName = \"ModalWrapper\";\n\nexport default ModalWrapper;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n\n/** A Module is identifiable as a single, contained unit. */\ninterface ModuleProps extends React.HTMLAttributes<HTMLDivElement> {\n /**\n * * Specify the content of the `Module`, usually a `ModuleHeader` `ModuleBody` and `ModuleFooter`component.\n */\n children: React.ReactNode;\n /**\n * The CSS class name for the slider.\n */\n className?: string;\n /**\n * @deprecated Disables the default margin\n */\n noMargin?: boolean;\n /**\n * Use 100% height of parent container\n */\n fullHeight?: boolean;\n /**\n * Light appearance (for white backgrounds) @design\n */\n light?: boolean;\n /**\n * Dark appearance @design\n */\n dark?: boolean;\n /**\n * Additional hover styling @design\n */\n withHover?: boolean;\n /**\n * Margin size around the module @design\n */\n margin?: \"xs\" | \"md\" | \"lg\";\n}\n\nconst Module: React.FC<ModuleProps> = ({\n dark,\n light,\n children,\n className,\n margin,\n fullHeight,\n noMargin,\n withHover,\n ...other\n}) => {\n const { prefix } = useSettings();\n const wrapperClasses = classNames(\n {\n [`${prefix}--module--dark`]: dark,\n [`${prefix}--module--no-margin`]: noMargin || margin === undefined,\n [`${prefix}--module--full-height`]: fullHeight,\n [`${prefix}--module--margin-xs`]: margin === \"xs\",\n [`${prefix}--module--margin-md`]: margin === \"md\",\n [`${prefix}--module--margin-lg`]: margin === \"lg\",\n [`${prefix}--module--light`]: light,\n [`${prefix}--module--with-hover`]: withHover,\n },\n className,\n [`${prefix}--module`]\n );\n\n return (\n <div className={wrapperClasses} {...other}>\n <div className={`${prefix}--module__inner`}>{children}</div>\n </div>\n );\n};\n\nexport default Module;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\n\ninterface ModuleBodyProps extends React.HTMLAttributes<HTMLDivElement> {\n /**\n * Optional CSS class to apply to the body of the module. This allows for additional\n * styling to be applied on top of the default styles. @style\n */\n className?: string;\n /**\n * Specify whether the content within the ModuleBody should be centered. This can be\n * used to align content such as text or images in the center of the component for\n * visual appeal. @layout\n */\n centered?: boolean;\n /**\n * Specify whether the ModuleBody should have no padding. This can be useful for\n * scenarios where edge-to-edge content display is needed within the module. @layout\n */\n noPadding?: boolean;\n}\n\nconst ModuleBody: React.FC<ModuleBodyProps> = ({\n children,\n className,\n centered,\n noPadding,\n ...other\n}) => {\n const wrapperClasses = classNames(\"wfp--module__content\", className, {\n \"wfp--module__content--centered\": centered,\n \"wfp--module__content--no-padding\": noPadding,\n });\n\n return (\n <div className={wrapperClasses} {...other}>\n {children}\n </div>\n );\n};\n\nexport default ModuleBody;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\n\ninterface ModuleHeaderProps extends React.HTMLAttributes<HTMLDivElement> {\n /**\n * Optional CSS class to apply to the header. This allows for additional\n * styling to be applied on top of the default styles. @style\n */\n className?: string;\n /**\n * Optional filter element to be included in the header. This can be used\n * to incorporate interactive elements like dropdowns, search inputs, etc.,\n * providing additional functionality to the header component. @functionality\n */\n filter?: React.ReactNode;\n}\n\nconst ModuleHeader: React.FC<ModuleHeaderProps> = ({\n filter,\n children,\n className,\n ...other\n}) => {\n const wrapperClasses = classNames(\"wfp--module__header\", className);\n\n return (\n <div className={wrapperClasses} {...other}>\n <h1 className=\"wfp--module__title\">{children}</h1>\n {filter && <div className=\"wfp--module__filter\">{filter}</div>}\n </div>\n );\n};\n\nexport default ModuleHeader;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\n\ninterface ModuleFooterProps extends React.AllHTMLAttributes<HTMLDivElement> {\n /**\n * Optional CSS class to apply to the header. This allows for additional\n * styling to be applied on top of the default styles. @style\n */\n className?: string;\n}\n\nconst ModuleFooter: React.FC<ModuleFooterProps> = ({\n children,\n className,\n ...other\n}) => {\n const wrapperClasses = classNames(\"wfp--module__footer\", className);\n\n return (\n <div className={wrapperClasses} {...other}>\n {children}\n </div>\n );\n};\n\nexport default ModuleFooter;\n","/* eslint-disable @typescript-eslint/no-empty-function */\nimport * as React from \"react\";\nimport { useState, useRef, useEffect } from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\nimport Input, { InputProps } from \"../Input\";\nimport useInput, { UseInputProps } from \"../Input/useInput\";\n\ninterface NumberInputProps\n extends InputProps,\n Omit<React.ComponentPropsWithRef<\"input\">, \"onChange\" | \"value\"> {\n /**\n * The maximum value.\n */\n max?: string | number;\n /**\n * The minimum value.\n */\n min?: string | number;\n /**\n * Specify how much the valus should increase/decrease upon clicking on up/down button\n */\n step?: number;\n /**\n * `true` to allow empty string.\n */\n allowEmpty?: boolean;\n /**\n * Specify if the control should be disabled, or not\n */\n disabled?: boolean;\n /**\n * Specify a custom `id` for the input\n */\n id?: string;\n /**\n * Provide text that is used alongside the control label for additional help\n */\n helperText?: React.ReactNode;\n /**\n * Specify whether you want the underlying label to be visually hidden\n */\n hideLabel?: boolean;\n /**\n * Specify whether you want the up/down buttons to be hidden\n */\n hideControls?: boolean;\n /**\n * `true` to use the light version.\n */\n light?: boolean;\n /**\n * Specify the regular expression that the value should match using the html pattern attribute\n */\n pattern?: string;\n /**\n * Provide a label for the control\n */\n labelText?: React.ReactNode;\n /**\n * The new value is available in 'imaginaryTarget.value'\n * i.e. to get the value: evt.imaginaryTarget.value or in th second argument provided to the onChange prop\n */\n onChange?: (\n evt?: React.ChangeEvent | any,\n value?: number,\n direction?: string,\n ) => void;\n /**\n * Provide an optional function to be called when the up/down button is clicked\n */\n onClick?: (\n evt?: React.MouseEvent,\n value?: number,\n direction?: string,\n ) => void;\n /**\n * Specify the value of the input, if undefined or null the value is empty\n */\n value?: \"\" | number | string;\n}\n\nconst countDecimals = (value: string) => {\n const valueFloat = parseFloat(value);\n if (Math.floor(valueFloat) === valueFloat) return 0;\n return value.split(\".\")[1].length || 0;\n};\n\nconst capMin = (min, value) =>\n isNaN(min) || (!min && min !== 0) || isNaN(value) || (!value && value !== 0)\n ? value\n : Math.max(min, value);\nconst capMax = (max, value) =>\n isNaN(max) || (!max && max !== 0) || isNaN(value) || (!value && value !== 0)\n ? value\n : Math.min(max, value);\n\n/** The number input component is used for entering numeric values and includes controls for incrementally increasing or decreasing the value */\n\nconst NumberInput: React.FC<NumberInputProps> = React.forwardRef(\n (props, ref) => {\n const {\n className,\n disabled,\n id,\n hideLabel,\n hideControls,\n max,\n min,\n step = 1,\n onChange = () => {},\n onClick = () => {},\n helperText,\n light,\n //allowEmpty,\n pattern = \"[0-9]*\",\n // ...other\n } = props;\n const { prefix } = useSettings();\n\n const initialValue = capMax(max, capMin(min, props.value));\n const [value, setValue] = useState(initialValue);\n\n useEffect(() => {\n setValue(props.value);\n }, [props.value]);\n\n const newInputRef = useRef<HTMLInputElement>(null);\n const _inputRef = ref ? ref : newInputRef;\n\n const handleChange = (evt) => {\n if (!disabled) {\n evt.persist();\n evt.imaginaryTarget = _inputRef;\n\n setValue(evt.target.value);\n onChange(evt, parseFloat(evt.target.value));\n }\n };\n\n const handleArrowClick = (evt, direction) => {\n let valueState = typeof value === \"string\" ? Number(value) : value;\n valueState = isNaN(valueState) ? 0 : valueState;\n\n const conditional =\n direction === \"down\"\n ? (min !== undefined && valueState > min) || min === undefined\n : (max !== undefined && valueState < max) || max === undefined;\n\n const stepString = step.toString();\n valueState =\n direction === \"down\"\n ? valueState - step\n : valueState + parseFloat(stepString);\n valueState = capMax(max, capMin(min, valueState));\n valueState = parseFloat(valueState.toFixed(countDecimals(stepString)));\n\n if (!disabled && conditional) {\n evt.persist();\n evt.imaginaryTarget = _inputRef;\n evt.target.value = parseFloat(valueState);\n onClick(evt, direction);\n setValue(valueState);\n onChange(evt, valueState, direction);\n }\n };\n\n const numberInputClasses = classNames(`${prefix}--number`, className, {\n [`${prefix}--number--light`]: light,\n [`${prefix}--number--helpertext`]: helperText,\n [`${prefix}--number--nolabel`]: hideLabel,\n [`${prefix}--number--nocontrols`]: hideControls,\n });\n\n const newProps = {\n disabled,\n id,\n max,\n min,\n step,\n onChange: handleChange,\n value: value,\n };\n\n const useInputProps = props as UseInputProps;\n const { inputProps, wrapperProps } = useInput({\n ...useInputProps,\n type: \"number\",\n });\n\n return (\n <Input {...wrapperProps} inputWrapperClassName={numberInputClasses}>\n <div className={`${prefix}--number__controls`}>\n <button\n className={`${prefix}--number__control-btn up-icon`}\n type=\"button\"\n disabled={disabled}\n onClick={(evt) => handleArrowClick(evt, \"up\")}\n >\n +\n </button>\n <button\n className={`${prefix}--number__control-btn down-icon`}\n type=\"button\"\n disabled={disabled}\n onClick={(evt) => handleArrowClick(evt, \"down\")}\n >\n −\n </button>\n <input pattern={pattern} {...inputProps} {...newProps} ref={ref} />\n </div>\n </Input>\n );\n },\n);\n\nNumberInput.displayName = \"NumberInput\";\n\nexport default NumberInput;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport { /* CaretDown, */ ChevronDown } from \"@progressiveui/icons-react\";\n\nimport useSettings from \"../../hooks/useSettings\";\nimport Input, { InputProps, useInput } from \"../Input\";\nimport { UseInputProps } from \"../Input/useInput\";\n\ninterface SelectProps\n extends InputProps,\n React.ComponentPropsWithRef<\"select\"> {\n /**\n * Specify whether you want the inline version of this control\n */\n inline?: boolean;\n /**\n * Optionally provide the default value of the `<select>`\n */\n defaultValue?: string;\n /**\n * Provide a description for the twistie icon that can be read by screen readers\n */\n iconDescription?: string;\n /**\n * Specify whether the label should be hidden, or not\n */\n hideLabel?: boolean;\n children?: React.ReactNode;\n}\n\n/** The select component allows users to choose one option from a list. It is used in forms for users to submit data. */\n\nconst Select: React.FC<SelectProps> = React.forwardRef((props, ref) => {\n const {\n className,\n inline,\n disabled,\n children,\n iconDescription,\n light,\n hideLabel,\n } = props;\n\n const { prefix } = useSettings();\n\n const selectClasses = classNames(\n {\n [`${prefix}--select-input`]: true,\n [`${prefix}--select--inline`]: inline,\n [`${prefix}--select--light`]: light,\n // [`${prefix}--select--invalid`]: invalid,\n [`${prefix}--select--disabled`]: disabled,\n },\n className\n );\n\n /*const ariaProps = {};\n if (invalid) {\n //TODO: check if correct\n ariaProps['aria-describedby'] = usedId;\n }*/\n const useInputProps = props as UseInputProps;\n const { inputProps, wrapperProps } = useInput({\n ...useInputProps,\n inputClassName: selectClasses,\n });\n\n return (\n <Input\n {...wrapperProps}\n inputWrapperClassName={`${prefix}--select`}\n hideLabel={hideLabel}\n >\n <select\n //{...other}\n //{...ariaProps}\n\n //className={`${prefix}--select-input`}\n {...inputProps}\n /*disabled={disabled || undefined}\n data-invalid={invalid || undefined}\n aria-invalid={invalid || undefined} */\n ref={ref as React.Ref<HTMLSelectElement>}\n >\n {children}\n </select>\n\n <ChevronDown\n className={`${prefix}--select__arrow`}\n description={iconDescription}\n />\n </Input>\n );\n});\n\nSelect.displayName = \"Select\";\n\nexport default Select;\n","import React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n\ninterface SelectItemProps extends React.ComponentPropsWithRef<\"option\"> {\n /**\n * Specify the value of the <SelectItem>\n */\n value?: string | number;\n /**\n * Specify an optional className to be applied to the node\n */\n className?: string;\n /**\n * Specify whether the <SelectItem> should be disabled\n */\n disabled?: boolean;\n /**\n * Specify whether the <SelectItem> is hidden\n */\n hidden?: boolean;\n /**\n * Provide the contents of your <SelectItem>\n */\n text: string;\n}\n\nfunction SelectItem({\n className,\n value,\n disabled,\n hidden,\n text,\n ...other\n}: SelectItemProps) {\n const { prefix } = useSettings();\n const selectItemClasses = classNames({\n [`${prefix}--select-option`]: true,\n [`${className}`]: className,\n });\n\n return (\n <option\n {...other}\n className={selectItemClasses}\n value={value}\n disabled={disabled}\n hidden={hidden}\n >\n {text}\n </option>\n );\n}\n\nSelectItem.displayName = \"SelectItem\";\n\nexport default SelectItem;\n","import React, { useState, ChangeEvent } from \"react\";\nimport classnames from \"classnames\";\nimport { ChevronLeft, ChevronRight } from \"@progressiveui/icons-react\";\nimport Select from \"../Select\";\nimport SelectItem from \"../SelectItem\";\n// import { equals } from '../../tools/array';\n\ninterface PaginationProps {\n /**\n * The description for the backward icon.\n */\n backwardText?: string;\n /**\n * The CSS class names.\n */\n className?: string;\n /**\n * The function returning a translatable text showing where the current page is,\n * in a manner of the range of items.\n */\n itemRangeText?: (min: number, max: number, total: number) => string;\n /**\n * The description for the forward icon.\n */\n forwardText?: string;\n /**\n * The unique ID of this component instance.\n */\n id?: string | number;\n /**\n * The translatable text indicating the number of items per page.\n */\n itemsPerPageText?: string;\n /**\n * A variant of `itemsPerPageText`, with a sign indicating that the number follows, e.g. ':'.\n */\n itemsPerPageFollowsText?: string;\n /**\n * A variant of `itemRangeText`, used if the total number of items is unknown.\n */\n itemText?: (min: number, max: number) => string;\n /**\n * The callback function called when the current page changes.\n */\n onChange?: (params: { page: number; pageSize: number }) => void;\n /**\n * A function returning PII showing where the current page is.\n */\n pageRangeText?: (current: number, total: number) => string;\n /**\n * The translatable text showing the current page.\n */\n pageText?: (page: number) => string;\n /**\n * The choices for `pageSize`.\n */\n pageSizes: number[];\n /**\n * `true` if ture the pageSizes should be not visible.\n */\n pageSizesDisabled?: boolean;\n /**\n * The total number of items.\n */\n totalItems?: number;\n /**\n * `true` if the backward/forward buttons should be disabled.\n */\n disabled?: boolean;\n /**\n * The current page.\n */\n page?: number;\n /**\n * The number dictating how many items a page contains.\n */\n pageSize?: number;\n pageNumberText?: string;\n /**\n * `true` if the total number of items is unknown.\n */\n pagesUnknown?: boolean;\n /**\n * `true` if the current page should be the last page.\n */\n isLastPage?: boolean;\n /**\n * `true` if the select box to change the page should be disabled.\n */\n pageInputDisabled?: boolean;\n}\n\nlet instanceId = 0;\n\nconst Pagination = (props: PaginationProps) => {\n const {\n backwardText = \"Backward\",\n className,\n forwardText = \"Forward\",\n id,\n itemsPerPageText = \"Items per page:\",\n itemsPerPageFollowsText,\n itemRangeText = (min, max, total) => `${min}-${max} of ${total} items`,\n pageRangeText = (current, total) => `${current} of ${total} pages`,\n pageSize, //eslint-disable-line\n pageSizesDisabled,\n pageSizes,\n itemText = (min, max) => `${min}-${max} items`,\n pageText = (page) => `page ${page}`,\n pageNumberText = \"Page Number\", //eslint-disable-line\n pagesUnknown = false,\n isLastPage = false,\n pageInputDisabled = false,\n totalItems,\n onChange,\n page: pageNumber = 1,\n ...other\n } = props;\n\n const [page, setPage] = useState<number>(pageNumber);\n const [pageSizeState, setPageSize] = useState<number>(\n props.pageSize ? props.pageSize : pageSizes[0]\n );\n const uniqueId = useState<number>(() => ++instanceId)[0];\n\n const handleSizeChange = (evt: ChangeEvent<HTMLSelectElement>) => {\n const pageSize = Number(evt.target.value);\n setPage(1);\n setPageSize(pageSize);\n onChange?.({ page: 1, pageSize });\n };\n\n // const handlePageChange = (evt: ChangeEvent<HTMLSelectElement>) => {\n // setPage(Number(evt.target.value));\n // };\n\n const handlePageInputChange = (evt: ChangeEvent<HTMLSelectElement>) => {\n const page = Number(evt.target.value);\n if (\n page > 0 &&\n page <= Math.max(Math.ceil(totalItems! / pageSizeState), 1)\n ) {\n setPage(page);\n onChange?.({ page, pageSize: pageSizeState });\n }\n };\n\n const incrementPage = () => {\n const newPage = page + 1;\n setPage(newPage);\n onChange?.({ page: newPage, pageSize: pageSizeState });\n };\n\n const decrementPage = () => {\n const newPage = page - 1;\n setPage(newPage);\n onChange?.({ page: newPage, pageSize: pageSizeState });\n };\n\n const renderSelectItems = (total: number) => {\n let counter = 1;\n const itemArr: React.ReactNode[] = [];\n while (counter <= total) {\n itemArr.push(\n <SelectItem key={counter} value={counter} text={String(counter)} />\n );\n counter++;\n }\n return itemArr;\n };\n\n const classNames = classnames(\"wfp--pagination\", className);\n const backButtonClasses = classnames(\n \"wfp--pagination__button\",\n \"wfp--pagination__button--backward\",\n {\n \"wfp--pagination__button--no-index\": pageInputDisabled,\n }\n );\n const inputId = id || uniqueId;\n const totalPages = Math.max(Math.ceil(totalItems! / pageSizeState), 1);\n const selectItems = renderSelectItems(totalPages);\n\n return (\n <div className={classNames} {...other}>\n <div className=\"wfp--pagination__left\">\n {!pageSizesDisabled && (\n <React.Fragment>\n <span className=\"wfp--pagination__text\">\n {itemsPerPageFollowsText || itemsPerPageText}\n </span>\n <Select\n id={`wfp-pagination-select-${inputId}`}\n labelText={itemsPerPageText}\n hideLabel\n inline\n onChange={handleSizeChange}\n value={pageSizeState}\n >\n {pageSizes.map((size) => (\n <SelectItem key={size} value={size} text={String(size)} />\n ))}\n </Select>\n <span className=\"wfp--pagination__text\">\n {\" \"}\n &nbsp;&nbsp;|&nbsp;&nbsp;\n </span>\n </React.Fragment>\n )}\n <span className=\"wfp--pagination__text\">\n {pagesUnknown\n ? itemText!(pageSizeState * (page - 1) + 1, page * pageSizeState)\n : itemRangeText!(\n Math.min(pageSizeState * (page - 1) + 1, totalItems!),\n Math.min(page * pageSizeState!, totalItems!),\n totalItems!\n )}\n </span>\n </div>\n <div className=\"wfp--pagination__right wfp--pagination--inline\">\n <span className=\"wfp--pagination__text\">\n {pagesUnknown ? pageText!(page) : pageRangeText!(page, totalPages)}\n </span>\n <button\n className={backButtonClasses}\n onClick={decrementPage}\n disabled={props.disabled || page === 1}\n >\n <ChevronLeft\n className=\"wfp--pagination__button-icon\"\n description={backwardText}\n />\n </button>\n {pageInputDisabled ? null : (\n <Select\n id={`wfp-pagination-select-${+inputId + 2}`}\n labelText={itemsPerPageText}\n hideLabel\n inline\n onChange={handlePageInputChange}\n value={page}\n >\n {selectItems}\n </Select>\n )}\n <button\n className=\"wfp--pagination__button wfp--pagination__button--forward\"\n onClick={incrementPage}\n disabled={props.disabled || page === totalPages || isLastPage}\n >\n <ChevronRight\n className=\"wfp--pagination__button-icon\"\n description={forwardText}\n />\n </button>\n </div>\n </div>\n );\n};\n\nPagination.displayName = \"Pagination\";\n\nexport default Pagination;\n","let lastId = 0;\n\nexport function uniqueId(prefix = 'id') {\n lastId++;\n return `${prefix}${lastId}`;\n}\n\nexport default uniqueId;\n","import * as React from \"react\";\nimport { useState, ChangeEventHandler } from \"react\";\nimport classNames from \"classnames\";\nimport uId from \"../../tools/uniqueId\";\nimport useSettings from \"../../hooks/useSettings\";\nimport { InputProps } from \"../Input\";\n\ninterface RadioButtonProps\n extends InputProps,\n Omit<React.ComponentPropsWithRef<\"input\">, \"onChange\"> {\n /**\n * Specify whether the <RadioButton> is currently checked\n */\n checked?: boolean;\n\n /**\n * Specify whether the <RadioButton> should be checked by default\n */\n defaultChecked?: boolean;\n /**\n * Specify whether the control is disabled\n */\n disabled?: boolean;\n /**\n * Provide an optional `onChange` hook that is called each time the value of\n * the underlying `input` changes\n */\n onChange?: (\n event: React.ChangeEvent<HTMLInputElement>,\n value: string | number,\n name?: string\n ) => void;\n /**\n * Specify the value of the <RadioButton>\n */\n value: string | number;\n}\n\nconst RadioButton: React.FC<RadioButtonProps> = React.forwardRef(\n (props, ref) => {\n const { labelText, id, className, value, name, onChange, ...other } = props;\n\n const [uid] = useState<string>(id || uId());\n\n const { prefix } = useSettings();\n\n const wrapperClasses = classNames(\"radioButtonWrapper\", className);\n\n const handleOnChange: ChangeEventHandler<HTMLInputElement> = (evt) => {\n onChange?.(evt, value, name);\n };\n\n const handleChange = onChange\n ? {\n onChange: handleOnChange,\n }\n : {};\n\n return (\n <div className={wrapperClasses}>\n <input\n {...other}\n ref={ref}\n type=\"radio\"\n className={`${prefix}--radio-button`}\n {...handleChange}\n id={uid}\n value={value}\n name={name}\n checked={props.checked}\n defaultChecked={props.defaultChecked}\n disabled={props.disabled}\n />\n <label htmlFor={uid} className={`${prefix}--radio-button__label`}>\n <span className={`${prefix}--radio-button__appearance`} />\n {labelText}\n </label>\n </div>\n );\n }\n);\n\nRadioButton.displayName = \"RadioButton\";\n\nexport default RadioButton;\n","import React, { useEffect, useState } from 'react';\nimport classNames from 'classnames';\n//import RadioButton from '../RadioButton';\n//import warning from 'warning';\nimport useSettings from '../../hooks/useSettings';\nimport { InputProps } from '../Input/Input';\n\n/**\n * InputGroup allows you to organize and arange multiple input elements.\n */\n\ninterface InputGroupProps\n extends InputProps,\n React.ComponentPropsWithoutRef<'div'> {\n /**\n * Provide a collection of <RadioButton> components to render in the group\n */\n children?: React.ReactNode;\n /**\n * Specify the <RadioButton> to be selected by default\n */\n defaultSelected?: string | number;\n\n /**\n * Specify the name of the underlying `input` nodes\n */\n name?: string;\n\n /**\n * Provide an optional `onChange` hook that is called whenever the value of\n * the group changes\n */\n //onChange: (value: string | number) => void;\n\n /**\n * Specify the value that is currently selected in the group\n */\n valueSelected?: string | number;\n\n /**\n * Specify whether the elements should be displayed vertically.\n */\n\n vertical?: boolean;\n\n /**\n * Specify whether you want the underlying label to be visually hidden\n */\n\n hideLabel?: boolean;\n /**\n * Provide text that is used alongside the control label for additional help\n */\n\n helperText?: React.ReactNode;\n\n /**\n * Provide the text that will be read by a screen reader when visiting this\n * control\n */\n labelText?: React.ReactNode;\n controlled?: boolean;\n wrapperClassName?: string;\n}\n\n/*InputGroup.defaultProps = {\n onChange: () => {},\n controlled: false,\n };*/\n\nconst InputGroup: React.FC<InputGroupProps> = (props) => {\n const { prefix } = useSettings();\n\n const {\n children,\n //disabled,\n labelText,\n helperText,\n //controlled,\n vertical,\n hideLabel,\n className = `${prefix}--input-group`,\n wrapperClassName,\n valueSelected,\n defaultSelected,\n } = props;\n\n const [prevValueSelected, setPrevValueSelected] = useState(\n valueSelected || defaultSelected\n );\n //const [selected, setSelected] = useState();\n\n useEffect(() => {\n if (valueSelected !== prevValueSelected) {\n setPrevValueSelected(valueSelected);\n //TODO: setSelected(valueSelected || defaultSelected);\n }\n }, [valueSelected, defaultSelected]);\n\n const labelClasses = classNames(`${prefix}--label`, {\n [`${prefix}--visually-hidden`]: hideLabel,\n });\n\n const wrapperClasses = classNames(`${prefix}--form-item`, {\n [`${prefix}--input-group__vertical`]: vertical,\n wrapperClassName,\n });\n\n const label = labelText ? (\n <span className={labelClasses}>{labelText}</span>\n ) : null;\n\n const helper = helperText ? (\n <div className={`${prefix}--form__helper-text`}>{helperText}</div>\n ) : null;\n\n return (\n <div className={wrapperClasses}>\n <div className={className}>\n {label}\n {helper}\n <div className={`${prefix}--input-group-inside`}>\n {/*controlled ? getRadioButtons() : */ children}\n </div>\n </div>\n </div>\n );\n};\n\nInputGroup.displayName = 'InputGroup';\n\nexport default InputGroup;\n","import React, { useRef, useState } from \"react\";\nimport classNames from \"classnames\";\nimport Link from \"../Link\";\nimport { CaretUp, ChevronUp } from \"@progressiveui/icons-react\";\nimport useSettings from \"../../hooks/useSettings\";\nimport { useId } from \"../../hooks/useId\";\n\nconst MoreLink = ({ handleToggleClick, link, text, showMore, contentId }) => {\n const { prefix } = useSettings();\n const ariaProps = {\n \"aria-expanded\": showMore,\n \"aria-controls\": contentId,\n };\n\n if (link) {\n const clonedLink = React.cloneElement(link, {\n onClick: handleToggleClick,\n ...ariaProps, // Spread ariaProps into the clone\n });\n return clonedLink;\n } else {\n const Icon = ChevronUp;\n\n const classes = classNames({\n [`${prefix}--read-more__trigger`]: true,\n [`${prefix}--read-more__trigger--expanded`]: showMore,\n });\n\n return (\n <Link\n className={classes}\n size=\"sm\"\n onClick={handleToggleClick}\n {...ariaProps} // Add aria attributes to the link\n >\n {text}\n <Icon\n width=\"10\"\n height=\"10\"\n description={showMore ? \"icon up\" : \"icon down\"}\n />\n </Link>\n );\n }\n};\n\nexport interface ReadMoreProps extends React.HTMLAttributes<HTMLSpanElement> {\n /**\n * Specify an optional className to be applied to the wrapper node\n */\n className?: string;\n /**\n * The content of the collapsed content (optional)\n */\n collapsed?: boolean;\n /**\n * A custom link for collapsing\n */\n collapseLink?: React.ReactNode;\n /**\n * Custom text for collapsing\n */\n collapseText?: React.ReactNode;\n /**\n * Disable the scroll into view on expanding\n */\n disableAutoscroll?: boolean;\n /**\n * A custom link for expanding\n */\n expandLink?: React.ReactNode;\n /**\n * Custom text for expanding\n */\n expandText?: React.ReactNode;\n /**\n * Enables the fade effect when the content is collapsed (optional) when enabled collapsed will be ignored\n */\n fade?: boolean;\n /**\n * The maximum height when the content is collapsed (optional)\n */\n maxHeight?: number;\n}\n\n/** ReadMore component is a simple way to keep longer content from cluttering up your page, giving you more control over how much content is displayed to visitor */\nfunction ReadMore({\n collapseLink,\n collapseText = \"Show less\",\n children,\n collapsed,\n className,\n disableAutoscroll,\n expandLink,\n expandText = \"Show more\",\n fade,\n maxHeight,\n}: ReadMoreProps) {\n const { prefix } = useSettings();\n const [showMore, setShowMore] = useState(false);\n const [innerHeight, setInnerHeight] = useState(0);\n const readMoreRef = useRef<HTMLInputElement>(null);\n const readMoreFakeRef = useRef<HTMLInputElement>(null);\n const internalId = useId();\n\n // Generate a unique ID for the content container\n const contentId = `${internalId}-read-more-content`;\n\n const handleToggleClick = (e) => {\n e.preventDefault();\n const innerHeight = readMoreRef?.current?.clientHeight;\n\n if (!showMore && !disableAutoscroll)\n setTimeout(() => {\n if (readMoreFakeRef?.current)\n readMoreFakeRef.current.scrollIntoView({\n behavior: \"smooth\",\n block: \"end\",\n });\n }, 50);\n\n setShowMore(!showMore);\n if (innerHeight) {\n setInnerHeight(innerHeight);\n }\n };\n\n const classes = classNames(className, {\n [`${prefix}--read-more`]: true,\n [`${prefix}--read-more--expanded`]: showMore,\n [`${prefix}--read-more--fade`]: fade,\n [`${prefix}--read-more--max-height`]: maxHeight,\n });\n\n const contentStyle = !maxHeight\n ? {\n undefined,\n }\n : maxHeight && !showMore\n ? {\n maxHeight: maxHeight,\n }\n : {\n maxHeight: innerHeight + 20,\n };\n\n const collapseStyle = showMore\n ? {\n display: \"none\",\n }\n : {\n display: \"block\",\n };\n\n return (\n <div className={classes}>\n <div\n className={`${prefix}--read-more__content`}\n style={contentStyle}\n id={contentId}\n >\n <div\n className={`${prefix}--read-more__fake-height`}\n ref={readMoreFakeRef}\n style={{ height: `${innerHeight + 30}px` }}\n ></div>\n <div ref={readMoreRef}>\n {(showMore || !collapsed) && children}\n {collapsed && <div style={collapseStyle}>{collapsed}</div>}\n </div>\n </div>\n <MoreLink\n handleToggleClick={handleToggleClick}\n showMore={showMore}\n link={showMore ? collapseLink : expandLink}\n text={showMore ? collapseText : expandText}\n contentId={contentId}\n />\n </div>\n );\n}\n\nReadMore.displayName = \"ReadMore\";\n\nexport default ReadMore;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport Wrapper from \"../Wrapper\";\nimport useSettings from \"../../hooks/useSettings\";\n\n/** The SecondaryNavigation shows the page title and and optional tab navigation. */\nexport interface SecondaryNavigationProps\n extends React.HTMLAttributes<HTMLDivElement> {\n className?: string;\n /**\n * Specify the max-width on desktop devices (same as \\`Wrapper\\` component)\n */\n pageWidth?: \"sm\" | \"md\" | \"lg\" | \"full\";\n /**\n * The CSS class name to be placed on the wrapping element\n */\n wrapperClassName?: string;\n id?: string;\n additional?: React.ReactNode;\n}\n\nexport function SecondaryNavigation({\n additional,\n children,\n className,\n id,\n pageWidth,\n ...other\n}: SecondaryNavigationProps) {\n const { prefix } = useSettings();\n\n const wrapperClasses = classNames(\n `${prefix}--secondary-navigation`,\n className\n );\n\n return (\n <div id={id} className={wrapperClasses} {...other}>\n <Wrapper\n pageWidth={pageWidth}\n className={`${prefix}--secondary-navigation__wrapper`}\n >\n <div className={`${prefix}--secondary-navigation__list`}>\n {children}\n </div>\n {additional && (\n <div className={`${prefix}--secondary-navigation__additional`}>\n {additional}\n </div>\n )}\n </Wrapper>\n </div>\n );\n}\n\nSecondaryNavigation.displayName = \"SecondaryNavigation\";\n","import * as React from \"react\";\nimport classNames from \"classnames\";\n\nimport useSettings from \"../../hooks/useSettings\";\n\nexport interface SecondaryNavigationTitleProps\n extends React.HTMLAttributes<HTMLDivElement> {\n className?: string;\n}\n\nexport function SecondaryNavigationTitle({\n className,\n children,\n}: SecondaryNavigationTitleProps) {\n const { prefix } = useSettings();\n\n const wrapperClasses = classNames(\n `${prefix}--secondary-navigation__title`,\n className\n );\n return <h1 className={wrapperClasses}>{children}</h1>;\n}\n\nSecondaryNavigationTitle.displayName = \"SecondaryNavigationTitle\";\n","import React, { useState /*createRef */ } from \"react\";\nimport classNames from \"classnames\";\n\nimport useSettings from \"../../hooks/useSettings\";\n\n/** Step Navigation provide indications to help users reach their destination from their current position */\ninterface StepNavigationProps {\n /**\n * Provide the contents of your StepNavigation\n */\n children: React.ReactNode;\n /**\n * Provide a className that is applied to the root <nav> component for the\n * <Tabs>\n */\n className?: string;\n /**\n * Specify whether the StepNavigation will be displayed small\n */\n small?: boolean;\n /**\n * Specify whether the StepNavigation will be displayed vertically\n */\n vertical?: boolean;\n /**\n * Specify whether the StepNavigation will be displayed inline\n */\n inline?: boolean;\n /**\n * By default, this value is \"navigation\". You can also provide an alternate\n * role if it makes sense from the accessibility-side\n */\n role: string;\n /**\n * Provide an optional handler that is called whenever the selection\n * changes. This method is called with the index of the tab that was\n * selected\n */\n onSelectionChange?: React.SetStateAction<number>;\n /**\n * Optionally provide an index for the currently selected <Tab>\n */\n selectedPage?: number;\n}\n\nfunction StepNavigation({\n inline,\n small,\n vertical,\n className,\n role,\n children,\n}: //selectedPage,\n// onSelectionChange,\nStepNavigationProps) {\n const { prefix } = useSettings();\n const [dropdownHidden] = useState(true);\n // const [elRefs, setElRefs] = useState({});\n\n /*const getTabAt = (index) => {\n return elRefs[`tab${index}`] || React.Children.toArray(children)[index];\n };\n*/\n const getTabs = () => {\n return React.Children.map(children, (tab) => tab);\n };\n\n //const arrLength = getTabs()?.length;\n\n /* React.useEffect(() => {\n // add or remove refs\n setElRefs((elRefs) =>\n Array(arrLength).map((_, i) => elRefs[i] || createRef())\n );\n }, [arrLength]);*/\n\n // const setTabAt = (index, tabRef) => {\n // //setElRefs({ ...elRefs, [`tab${index}`]: tabRef });\n // };\n\n const handleTabClick = (onSelectionChange) => {\n return (index, label, evt) => {\n evt.preventDefault();\n selectTabAt(index, onSelectionChange);\n };\n };\n\n /*const handleTabAnchorFocus = (onSelectionChange) => {\n return (index) => {\n const tabCount = React.Children.count(children) - 1;\n let tabIndex = index;\n\n if (index < 0) {\n tabIndex = tabCount;\n } else if (index > tabCount) {\n tabIndex = 0;\n }\n\n const tab = getTabAt(tabIndex);\n\n if (tab) {\n selectTabAt(tabIndex, onSelectionChange);\n if (tab.tabAnchor) {\n tab.tabAnchor.focus();\n }\n }\n };\n };\n*/\n // const handleDropdownClick = () => {\n // setDropdownHidden(!dropdownHidden);\n // };\n\n const selectTabAt = (index, onSelectionChange) => {\n handleTabClick(index);\n if (typeof onSelectionChange === \"function\") {\n onSelectionChange(index);\n }\n };\n\n const tabsWithProps = getTabs(); /* TODO: Use hook ?.map(\n (tab: React.ReactElement<any>, index: number) => {\n const newTab = React.cloneElement(tab as React.ReactElement<any>, {\n index,\n selectedPage: selectedPage,\n handleTabClick: handleTabClick(onSelectionChange),\n handleTabAnchorFocus: handleTabAnchorFocus(onSelectionChange),\n ref: elRefs[index],\n });\n\n return newTab;\n }\n );*/\n\n const classes = {\n tabs: classNames(className, {\n [`${prefix}--step-navigation`]: true,\n [`${prefix}--step-navigation--vertical`]: vertical,\n [`${prefix}--step-navigation--small`]: small,\n [`${prefix}--step-navigation--regular`]: !small,\n }),\n tablist: classNames(`${prefix}--step-navigation__nav`, {\n [`${prefix}--step-navigation__nav--hidden`]: dropdownHidden,\n [`${prefix}--step-navigation__nav--inline`]: inline,\n }),\n };\n\n return (\n <>\n <nav className={classes.tabs} role={role}>\n <ul role=\"tablist\" className={classes.tablist}>\n {tabsWithProps}\n </ul>\n </nav>\n </>\n );\n}\n\nexport default StepNavigation;\n","/* eslint-disable @typescript-eslint/no-empty-function */\n/* eslint-disable @typescript-eslint/ban-types */\nimport * as React from \"react\";\nimport type { PropsWithChildren } from \"react\";\nimport classNames from \"classnames\";\nimport {\n Ellipsis,\n WarningOutline,\n Locked,\n Error,\n Checkmark,\n Menu,\n OverflowMenu,\n} from \"@progressiveui/icons-react\";\nimport useSettings from \"../../hooks/useSettings\";\n\ntype StepNavigationItemProps = PropsWithChildren<{\n /**\n * Provide a className that is applied to the StepNavigation component\n *\n */\n className?: string;\n /**\n * Provide text that is used alongside the control label for additional help\n *\n */\n helperText?: React.ReactNode;\n /**\n * Provide the index of the each item\n *\n */\n index?: number;\n /**\n * Provide the text that will be read by a screen reader when visiting this control\n *\n */\n label?: string;\n /**\n * By default, this value is \"presentation\". You can also provide an alternate\n * role if it makes sense from the accessibility-side\n */\n role?: string;\n /**\n * Optionally provide an index for the currently selected <Tab>\n */\n selectedPage?: number;\n /**\n * The page number of the step.\n **/\n page?: number;\n /**\n * Provide status one of these status prop type to your step to give more meaning.\n *\n */\n\n status?: string;\n /**\n * An optional parameter to allow overriding the anchor rendering.\n * Useful for using Tab along with react-router or other client\n * side router libraries.\n */\n renderAnchor?: (p: object) => {};\n /**\n * On click handler to change the currently active item.\n **/\n onClick?: (e: object) => {};\n handleTabClick?: (e?: any, index?: number, label?: string) => {};\n}>;\n\nconst StepNavigationItem: React.FC<StepNavigationItemProps> = ({\n className,\n handleTabClick = () => {},\n index,\n label,\n status,\n helperText,\n selectedPage = 0,\n onClick = () => {},\n page = 0,\n renderAnchor,\n}) => {\n const { prefix } = useSettings();\n\n const classes = classNames(\n `${prefix}--step-navigation__nav-item`,\n { [`${prefix}--step-navigation__nav-item--before`]: page < selectedPage },\n {\n [`${prefix}--step-navigation__nav-item--selected`]: page === selectedPage,\n },\n { [`${prefix}--step-navigation__nav-item--${status}`]: status },\n className\n );\n\n const anchorProps = {\n className: `${prefix}--step-navigation__nav-link`,\n /*ref: (e) => {\n this.tabAnchor = e;\n },*/\n };\n\n const icon = {\n \"not-started\": { icon: Ellipsis },\n warning: { icon: WarningOutline },\n locked: { icon: Locked },\n skip: { icon: OverflowMenu },\n disabled: { icon: Error },\n complete: { icon: Checkmark },\n summary: { icon: Menu },\n };\n\n const Icon = status ? icon[status]?.icon : null;\n return (\n <li\n tabIndex={-1}\n className={classes}\n onClick={(evt) => {\n if (status !== \"locked\") {\n handleTabClick(evt, index, label);\n onClick(evt);\n }\n }}\n role=\"presentation\"\n >\n <>\n {renderAnchor ? (\n renderAnchor(anchorProps)\n ) : (\n <React.Fragment>\n <div className={`${prefix}--step-navigation__nav-item__indicator`}>\n {status && page !== selectedPage ? (\n <Icon width=\"14\" height=\"14\" description=\"Step Item\" />\n ) : (\n <span>{page + 1}</span>\n )}\n </div>\n <div>\n <span className={`${prefix}--step-navigation__nav-item__text`}>\n {label}\n </span>\n {helperText && (\n <span\n className={`${prefix}--step-navigation__nav-item__helper-text`}\n >\n {helperText}\n </span>\n )}\n </div>\n </React.Fragment>\n )}\n </>\n </li>\n );\n};\n\nexport default StepNavigationItem;\n","import React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n\ninterface SelectItemGroupProps extends React.ComponentPropsWithRef<\"optgroup\"> {\n /**\n * Provide the contents of your <SelectItemGroup>\n */\n children?: React.ReactNode;\n /**\n * Specify an optional className to be applied to the node\n */\n className?: string;\n /**\n * Specify whether the <SelectItemGroup> should be disabled\n */\n disabled?: boolean;\n /**\n * Specify the label to be displayed\n */\n label: string;\n}\n\nfunction SelectItemGroup({\n children,\n className,\n disabled,\n label,\n ...other\n}: SelectItemGroupProps) {\n const { prefix } = useSettings();\n const classes = classNames(`${prefix}--select-optgroup`, className);\n return (\n <optgroup className={classes} label={label} disabled={disabled} {...other}>\n {children}\n </optgroup>\n );\n}\n\nexport default SelectItemGroup;\n","import * as React from \"react\";\n// import Icon from '../Icon';\nimport type { PropsWithChildren } from \"react\";\nimport classNames from \"classnames\";\nimport { ChevronLeft } from \"@progressiveui/icons-react\";\nimport useSettings from \"../../hooks/useSettings\";\n\ntype SidebarProps = PropsWithChildren<{\n /**\n The `active` prop show the content section when an item is clicked. It's useful in mobile view \n */\n active?: boolean | string | number;\n /**\n The Sidebar is usually where the sidebar items will be. \n `<SidebarHeader/>` can be called in `Sidebar` and example search can be used in here\n */\n sidebar?: React.ReactNode;\n /**\n The sidebarMobileHeader is shwon when view is in mobile version. \n `<SidebarBackButton/>` can used in the `sidebarMobileHeader` prop\n */\n sidebarMobileHeader?: React.ReactNode;\n className?: string;\n}>;\n\nconst Sidebar: React.FC<SidebarProps> = ({\n active,\n children,\n className,\n // sidebarMobileHeader,\n sidebar,\n ...other\n}) => {\n const { prefix } = useSettings();\n const classes = classNames(\n `${prefix}--sidebar-content__container`,\n className,\n {\n [`${prefix}--sidebar-content__container--active`]: active,\n }\n );\n\n return (\n <div className={classes} {...other}>\n <div className={`${prefix}--sidebar-item-content`}>{sidebar}</div>\n <div className={`${prefix}--content-section`}>{children}</div>\n </div>\n );\n};\n\nexport interface SidebarHeaderProps {\n /**\n Disable the default padding of the SidebarHeader\n */\n noPadding?: boolean;\n children?: React.ReactNode;\n className?: string;\n}\n\nconst SidebarHeader: React.FC<SidebarHeaderProps> = ({\n className,\n children,\n noPadding,\n ...other\n}) => {\n const { prefix } = useSettings();\n const classes = classNames(`${prefix}--sidebar-content__header`, className, {\n [`${prefix}--sidebar-content__header--no-padding`]: noPadding,\n });\n\n return (\n <div className={classes} {...other}>\n {children}\n </div>\n );\n};\n\ntype SidebarContentHeaderProps = PropsWithChildren<{\n className?: string;\n}>;\n\nconst SidebarContentHeader: React.FC<SidebarContentHeaderProps> = ({\n className,\n children,\n ...other\n}) => {\n const { prefix } = useSettings();\n const mobileClasses = classNames(\n `${prefix}--sidebar-content-mobile-header`,\n className,\n {}\n );\n\n return (\n <div className={mobileClasses} {...other}>\n {children}\n </div>\n );\n};\n\ntype SidebarContentBodyProps = PropsWithChildren<{\n className?: string;\n}>;\n\nconst SidebarContentBody: React.FC<SidebarContentBodyProps> = ({\n className,\n children,\n ...other\n}) => {\n const { prefix } = useSettings();\n const classes = classNames(\n `${prefix}--sidebar-content__children`,\n className,\n {}\n );\n\n return (\n <div id=\"scroll-container\" className={classes} {...other}>\n {children}\n </div>\n );\n};\n\ninterface SidebarScrollProps {\n children?: React.ReactNode;\n}\n\nconst SidebarScroll: React.FC<SidebarScrollProps> = ({\n children,\n ...other\n}) => {\n const { prefix } = useSettings();\n return (\n <div className={`${prefix}--sidebar-content__scroll`} {...other}>\n {children}\n </div>\n );\n};\n\ninterface SidebarBackButtonProps {\n children?: React.ReactNode;\n}\n\nconst SidebarBackButton: React.FC<SidebarBackButtonProps> = ({\n children,\n ...other\n}) => {\n const { prefix } = useSettings();\n return (\n <div className={`${prefix}--sidebar-content__back-button`} {...other}>\n <ChevronLeft />\n {children}\n </div>\n );\n};\n\nexport {\n Sidebar,\n SidebarHeader,\n SidebarContentHeader,\n SidebarContentBody,\n SidebarScroll,\n SidebarBackButton,\n};\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\nimport Input from \"../Input/Input\";\nimport { UseInputProps, useInput } from \"../Input/useInput\";\nimport { InputProps } from \"../Input\";\n\n/** Text inputs enable the user to interact with and input content and data. This component can be used for long and short form entries. */\n\ninterface TextInputProps\n extends InputProps,\n React.ComponentPropsWithRef<\"input\"> {}\n\nconst TextInput: React.FC<TextInputProps> = React.forwardRef((props, ref) => {\n const {\n //className,\n //formItemClassName,\n hideLabel,\n helperText,\n pattern,\n required,\n } = props;\n\n const { prefix } = useSettings();\n\n const inputClassName = classNames(\n `${prefix}--input`,\n `${prefix}--text-input`,\n //className,\n {\n [`${prefix}--text--helpertext`]: helperText,\n [`${prefix}--text--nolabel`]: hideLabel,\n [`${prefix}--text--required`]: required,\n }\n );\n\n const useInputProps = props as UseInputProps;\n const { inputProps, wrapperProps } = useInput({\n ...useInputProps,\n inputClassName,\n });\n\n return (\n <Input {...wrapperProps} /*formItemClassName={formItemClassName} */>\n <input pattern={pattern} {...inputProps} ref={ref} />\n </Input>\n );\n});\n\nTextInput.displayName = \"TextInput\";\n\nexport default TextInput;\n","/* eslint-disable @typescript-eslint/no-empty-function */\nimport * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\nimport Input, { InputProps, useInput } from \"../Input\";\nimport TextInput from \"../TextInput\";\nimport { UseInputProps } from \"../Input/useInput\";\n\n/** Sliders provide a visual indication of adjustable content, where the user can move the handle along a horizontal track to increase or decrease the value. */\ninterface SliderProps extends InputProps, React.ComponentPropsWithRef<\"input\"> {\n /**\n * Specify an optional className to be applied to the form-item node\n */\n formItemClassName?: string;\n /**\n * Specify if the control should be disabled, or not\n */\n disabled?: boolean;\n /**\n * Specify whether you want the underlying label to be visually hidden\n */\n hideLabel?: boolean;\n /**\n * The minimum value.\n */\n min: number;\n /**\n * The label associated with the minimum value.\n */\n minLabel?: string;\n /**\n * The maximum value.\n */\n max: number;\n /**\n * The label associated with the maximum value.\n */\n maxLabel?: string;\n /**\n * The callback to format the label associated with the minimum/maximum value.\n */\n formatLabel?: () => void;\n /**\n * The `name` attribute of the `<input>`.\n */\n\n name?: string;\n /**\n * The `type` attribute of the `<input>`.\n */\n inputType?: string;\n /**\n * The `ariaLabel` for the `<input>`.\n */\n ariaLabelInput?: string;\n /**\n * A value determining how much the value should increase/decrease by moving the thumb by mouse.\n */\n step?: number;\n /**\n * Specify the value of the input, if undefined or null the value is empty\n */\n value?: number | \"\";\n /**\n * `true` to hide the number input box.\n */\n hideTextInput?: boolean;\n // eslint-disable-next-line @typescript-eslint/ban-types\n /**\n * Use the width of the parent element\n */\n fullWidth?: boolean;\n /**\n * `true` to hide the controls on slider.\n */\n hideControls?: boolean;\n}\n\nconst defaultFormatLabel = (value, label) => {\n return typeof label === \"function\"\n ? label(value)\n : `${value}${label ? label : \"\"}`;\n};\n\nfunction calculatePercentage(value, min, max) {\n // Ensure the values are in the correct range\n if (max <= min) {\n return;\n }\n if (value < min) value = min;\n if (value > max) value = max;\n\n // Calculate the percentage\n return ((value - min) / (max - min)) * 100;\n}\n\nconst Slider: React.FC<SliderProps> = React.forwardRef((props, ref) => {\n const {\n ariaLabelInput,\n className,\n disabled,\n formatLabel = defaultFormatLabel,\n fullWidth,\n id,\n inputType,\n hideLabel,\n hideControls,\n hideTextInput,\n min,\n minLabel,\n max,\n maxLabel,\n step = 1,\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n onChange = () => {},\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n //onClick = () => {},\n helperText,\n ...other\n } = props;\n\n const { prefix } = useSettings();\n\n const initialValue = props.value;\n const [value, setValue] = React.useState(initialValue);\n\n React.useEffect(() => {\n setValue(props.value);\n }, [props.value]);\n\n const newInputRef = React.useRef(null);\n const _inputRef = ref ? ref : newInputRef;\n\n const handleChange = (evt) => {\n if (!disabled) {\n evt.persist();\n evt.imaginaryTarget = _inputRef;\n if (evt.target.value > max) {\n setValue(max);\n onChange(/*max, */ evt);\n } /* else if (evt.target.value < min) {\n setValue(evt.target.value);\n onChange(parseFloat(min), evt);\n }*/ else {\n setValue(evt.target.value);\n onChange(/*parseFloat(evt.target.value), */ evt);\n }\n }\n };\n\n const numberInputClasses = classNames(\n `${prefix}--slider--wrapper`,\n className,\n {\n [`${prefix}--slider--helpertext`]: helperText,\n [`${prefix}--slider--nolabel`]: hideLabel,\n [`${prefix}--slider--nocontrols`]: hideControls,\n }\n );\n\n const sliderContainerClasses = classNames(`${prefix}--slider-container`, {\n [`${prefix}--slider-container--full-width`]: fullWidth,\n });\n\n const newProps = {\n disabled,\n id,\n max,\n min,\n step,\n onChange: handleChange,\n value: value,\n };\n\n const inputClasses = classNames(\n `${prefix}--input`,\n `${prefix}--slider-text-input`\n );\n\n const sliderClasses = classNames(\n `${prefix}--slider`,\n { [`${prefix}--slider--disabled`]: disabled },\n className\n );\n\n const sliderRangeWrapperClasses = classNames(\n `${prefix}--slider__range-wrapper`,\n { [`${prefix}--slider__range-wrapper--disabled`]: disabled },\n className\n );\n\n const valueMinimal = value && value < min ? min : value;\n\n const useInputProps = props as UseInputProps;\n const input = useInput(useInputProps);\n\n console.log(\"valueMinimal\", valueMinimal);\n\n return (\n <Input {...input.wrapperProps} formItemClassName={numberInputClasses}>\n <div className={sliderContainerClasses}>\n <span className={`${prefix}--slider__range-label`}>\n {formatLabel(min, minLabel)}\n </span>\n\n <div className={sliderRangeWrapperClasses}>\n <div\n className={`${prefix}--slider__range-before`}\n style={{\n width: `${calculatePercentage(valueMinimal, min, max)}%`,\n }}\n />\n <input\n className={sliderClasses}\n type=\"range\"\n {...other}\n {...newProps}\n ref={_inputRef}\n />\n </div>\n <span className={`${prefix}--slider__range-label`}>\n {formatLabel(max, maxLabel)}\n </span>\n {!hideTextInput && (\n <TextInput\n disabled={disabled}\n type={inputType}\n id=\"input-for-slider\"\n className={inputClasses}\n value={value}\n onChange={handleChange}\n aria-label={ariaLabelInput}\n />\n )}\n </div>\n </Input>\n );\n});\n\nSlider.displayName = \"Slider\";\n\nexport default Slider;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport { ChevronRight } from \"@progressiveui/icons-react\";\nimport useSettings from \"../../hooks/useSettings\";\nimport { IIcon } from \"../../utils\";\n\ninterface ItemProps extends Omit<React.ComponentPropsWithRef<\"div\">, \"title\"> {\n /**\n * Provide the title for the item contet\n */\n title?: React.ReactNode;\n /**\n * Provide the description for the item content\n */\n children?: React.ReactNode;\n /**\n * Provide the icon for the item content\n */\n icon?: React.ReactNode | IIcon;\n /**\n * Provide a kind to use different appearances.\n */\n kind?: \"undefined\" | \"horizontal\" | \"large\";\n /**\n * Provide a wrap to use different borders.\n */\n wrapper?: \"undefined\" | \"sidebar\" | \"repeater\";\n /**\n * Show an additional chevron icon on the right side\n */\n showAdditionalIcon?: boolean;\n /**\n * Additional content shown underneath the regular content (children)\n */\n subContent?: React.ReactNode;\n /**\n * Provide a hint to the item shown on the right bottom corner\n */\n hint?: React.ReactNode;\n /**\n * Enable the active state to the item\n */\n active?: boolean;\n /**\n * Provide additional info on the top right corner of the item\n */\n additional?: React.ReactNode;\n /**\n * Provide an image to the item\n */\n image?: React.ReactNode;\n /**\n * Disable the image to the item\n */\n noImage?: boolean;\n /**\n * Enable an unread state to the item\n */\n unread?: boolean;\n}\n/** The item component to show entries inside a list, like a sidebar or an overview page. */\nconst Item: React.FC<ItemProps> = React.forwardRef(\n (\n {\n active,\n additional,\n children,\n className,\n subContent,\n image,\n hint,\n noImage,\n unread,\n showAdditionalIcon,\n title,\n kind = \"large\",\n wrapper = \"none\",\n ...other\n },\n ref\n ) =>\n //TODO: ref\n {\n const { prefix } = useSettings();\n\n const classes = classNames(\n {\n [`${prefix}--item`]: true,\n [`${prefix}--item--${kind}`]: kind,\n [`${prefix}--item--${wrapper}`]: wrapper,\n [`${prefix}--item--active`]: active,\n [`${prefix}--item--unread`]: unread,\n },\n className\n );\n return (\n <div className={classes} {...other} ref={ref}>\n {image ? (\n <div className={`${prefix}--item__image`}>{image}</div>\n ) : noImage ? (\n <div\n className={`${prefix}--item__image ${prefix}--item__image-empty`}\n ></div>\n ) : null}\n\n {title && (\n <div className={`${prefix}--item__title-wrapper`}>\n <h2 className={`${prefix}--item__title`}>{title}</h2>\n </div>\n )}\n {additional && (\n <div className={`${prefix}--item__additional`}>\n {additional}\n {showAdditionalIcon && (\n <ChevronRight className={`${prefix}--item__additional-icon`} />\n )}\n </div>\n )}\n {children && (\n <div className={`${prefix}--item__text`}>{children}</div>\n )}\n {subContent && (\n <div className={`${prefix}--item__sub-content`}>{subContent}</div>\n )}\n {hint && <div className={`${prefix}--item__hint`}>{hint}</div>}\n {unread && <div className={`${prefix}--item__unread`} />}\n </div>\n );\n }\n);\n\nItem.displayName = \"Item\";\n\nexport default Item;\n","import React from 'react';\nimport classNames from 'classnames';\nimport Pagination from '../Pagination';\nimport useSettings from '../../hooks/useSettings';\n\nexport interface TagProps extends React.HTMLAttributes<HTMLTableElement> {\n withBorder?: boolean;\n responsive?: boolean;\n}\n\nconst ReactTablePagination = ({\n // Computed\n data,\n page,\n pageSizeOptions,\n paginationClassName,\n totalItems,\n style,\n onPageChange,\n onPageSizeChange,\n // Props\n isLastPage,\n pages,\n // showPageSizeOptions,\n pageInputDisabled,\n pageSize,\n pagesUnknown,\n backwardText,\n forwardText,\n itemsPerPageText,\n itemsPerPageFollowsText,\n itemRangeText,\n pageRangeText,\n pageSizesDisabled,\n itemText,\n pageNumberText,\n}) => {\n const { prefix } = useSettings();\n\n const getSafePage = (newPage) => {\n if (isNaN(newPage)) {\n newPage = page;\n }\n return newPage;\n };\n\n const changePage = (page) => {\n const nextPage = getSafePage(page.page - 1);\n\n // Update Page\n if (page !== nextPage) {\n onPageChange(nextPage);\n }\n\n // Update PageSize\n if (pageSize !== page.pageSize) {\n onPageSizeChange(page.pageSize);\n }\n };\n\n const propList = {\n isLastPage,\n pages,\n //showPageSizeOptions,\n pageInputDisabled,\n pageSize,\n pagesUnknown,\n backwardText,\n forwardText,\n itemsPerPageText,\n itemsPerPageFollowsText,\n itemRangeText,\n pageRangeText,\n pageSizesDisabled,\n itemText,\n pageNumberText,\n };\n\n return (\n <div\n className={classNames(paginationClassName, '-pagination')}\n style={style}>\n <div className={`${prefix}-pagination`}>\n <Pagination\n onChange={changePage}\n pageSizes={pageSizeOptions}\n page={page}\n totalItems={totalItems ? totalItems : data ? data.length : undefined}\n {...propList}\n />\n </div>\n </div>\n );\n};\n\nReactTablePagination.displayName = 'ReactTablePagination';\n\nexport default ReactTablePagination;\n","import useSettings from '../../hooks/useSettings';\nimport classNames from 'classnames';\n\nexport default function useTab(props) {\n const { prefix } = useSettings();\n\n const {\n className,\n disabled,\n handleTabClick = () => {}, // eslint-disable-line\n handleTabAnchorFocus = () => {}, // eslint-disable-line\n handleTabKeyDown = () => {}, // eslint-disable-line\n href,\n index = 0,\n label,\n selected,\n tabIndex,\n onClick = () => {}, // eslint-disable-line\n onKeyDown = () => {}, // eslint-disable-line\n //renderAnchor,\n //renderListElement,\n ...other\n } = props;\n\n const setTabFocus = (evt) => {\n const leftKey = 37;\n const rightKey = 39;\n if (evt.which === leftKey && handleTabAnchorFocus) {\n handleTabAnchorFocus(index - 1);\n } else if (evt.which === rightKey && handleTabAnchorFocus) {\n handleTabAnchorFocus(index + 1);\n } else {\n return;\n }\n };\n\n const classes = classNames(\n `${prefix}--tabs__nav-item`,\n { [`${prefix}--tabs__nav-item--disabled`]: disabled },\n { [`${prefix}--tabs__nav-item--selected`]: selected },\n className\n );\n\n const selectedClasses = classNames(\n `${prefix}--tabs__nav-item`,\n `${prefix}--tabs__nav-item--selected`,\n className\n );\n\n const anchorProps = {\n className: 'wfp--tabs__nav-link',\n href: disabled ? undefined : href,\n label,\n role: 'tab',\n tabIndex,\n 'aria-selected': selected,\n // ref: (e) => {\n // tabAnchor = e;\n // },\n };\n\n // {...other}\n const liProps = {\n tabIndex: -1,\n className: classes,\n onClick: (evt) => {\n if (!disabled) {\n handleTabClick(index, label, evt);\n onClick(evt);\n }\n },\n onKeyDown: (evt) => {\n if (!disabled) {\n setTabFocus(evt);\n handleTabKeyDown(index, label, evt);\n onKeyDown(evt);\n }\n },\n role: 'presentation',\n selected: selected,\n ...other,\n };\n\n return {\n liProps,\n anchorProps,\n selectedClasses,\n };\n}\n","/* eslint-disable @typescript-eslint/no-empty-function */\nimport * as React from \"react\";\n//import classNames from 'classnames';\n//import useSettings from '../../hooks/useSettings';\nimport useTab from \"./useTab\";\n\nexport interface TabProps extends React.ComponentPropsWithRef<\"li\"> {\n /**\n * Optional callback for when a tab is clicked. Provides the index, label, and event details.\n * @functionality\n */\n handleTabClick?: (\n index?: number,\n label?: string | React.ReactNode,\n evt?: React.ChangeEvent<HTMLInputElement>\n ) => void;\n /**\n * Optional callback for when a tab gains focus. Provides the index of the focused tab.\n * @functionality\n */\n handleTabAnchorFocus?: (index?: number) => void;\n /**\n * Optional callback for when a keydown event occurs on a tab. Provides the index, label, and event details.\n * @functionality\n */\n handleTabKeyDown?: (\n index?: number,\n label?: string | React.ReactNode,\n evt?: React.ChangeEvent<HTMLInputElement>\n ) => void;\n /**\n * Href for the tab, useful when each tab is associated with a different URL.\n * @navigation\n */\n href?: string;\n /**\n * Index of the tab within the Tabs component.\n * @navigation\n */\n index?: number;\n /**\n * Content to be displayed as the label of the tab. Can be a string or React node.\n * @content\n */\n label?: React.ReactNode;\n /**\n * ARIA role for the tab element, often set to 'tab'.\n * @accessibility\n */\n role?: string;\n /**\n * Indicates whether the tab is currently selected.\n * @state\n */\n selected?: boolean;\n /**\n * TabIndex for the tab, useful for accessibility and keyboard navigation.\n * @accessibility\n */\n tabIndex?: number;\n /**\n * Optional custom renderer for the anchor element within the tab.\n * @render\n */\n renderAnchor?: (props?: object) => React.ReactNode;\n /**\n * Optional custom renderer for the content of the tab.\n * @render\n */\n renderContent?: () => React.ReactNode;\n /**\n * Optional custom renderer for the list element of the tab.\n * @render\n */\n renderListElement?: ((props?: object) => React.ReactNode) | React.ReactNode;\n /**\n * Optional CSS class to apply to the tab. Allows for additional styling.\n * @style\n */\n className?: string;\n /**\n * Indicates whether the tab is disabled.\n * @state\n */\n disabled?: boolean;\n /**\n * Optional components to replace default elements of the Tab, such as the Tab itself.\n * @customization\n */\n components?: {\n Tab?: React.ReactNode;\n };\n //onClick?: (evt?: Event) => void;\n //onKeyDown?: (evt?: Event) => void;\n}\n\n/** Tab to be used inside the Tabs component */\n\nconst Tab: React.FC<TabProps> = (props) => {\n // const { prefix } = useSettings();\n const {\n // className,\n disabled,\n // handleTabClick = () => {},\n // handleTabAnchorFocus = () => {}, // eslint-disable-line\n // handleTabKeyDown = () => {},\n // href,\n // index = 0,\n label,\n // selected,\n // tabIndex,\n /// onClick = () => {},\n // onKeyDown = () => {},\n renderAnchor,\n renderListElement,\n // ...other\n } = props;\n\n const { anchorProps, liProps, selectedClasses } = useTab(props);\n\n return (\n <React.Fragment>\n {renderListElement ? (\n typeof renderListElement === \"function\" ? (\n renderListElement({\n ...props,\n ...liProps,\n anchor: anchorProps,\n selectedClasses: selectedClasses,\n })\n ) : (\n <>{renderListElement}</>\n )\n ) : (\n <li {...liProps}>\n {renderAnchor ? (\n renderAnchor(anchorProps)\n ) : disabled ? (\n <span {...anchorProps}>{label}</span>\n ) : (\n <a {...anchorProps}>{label}</a>\n )}\n </li>\n )}\n </React.Fragment>\n );\n};\n\nexport default Tab;\n","import React, { PropsWithChildren } from 'react';\n\ninterface TabContentProps {\n /**\n * Specify whether the TabContent is selected\n */\n selected: boolean;\n /**\n * Pass in content to render inside of the TabContent\n */\n children?: React.ReactNode;\n}\n\nconst TabContent: React.FC<PropsWithChildren<TabContentProps>> = (props) => {\n const { selected = false, children, ...other } = props;\n\n return (\n <div {...other} data-selected={selected} hidden={!selected}>\n {children}\n </div>\n );\n};\n\nTabContent.displayName = 'TabContent';\n\nexport default TabContent;\n","/* eslint-disable @typescript-eslint/no-empty-function */\nimport React from 'react';\n\nexport interface TabsContextType {\n handleTabClick?: (onSelectionChange?: any) => void;\n handleTabKeyDown?: (onSelectionChange?: any) => void;\n handleTabAnchorFocus?: (onSelectionChange?: any) => void;\n}\n\nconst TabsContext = React.createContext<TabsContextType>({\n handleTabClick: () => {},\n handleTabKeyDown: () => {},\n handleTabAnchorFocus: () => {},\n});\nexport default TabsContext;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\n//import TabContent from '../TabContent';\nimport useSettings from \"../../hooks/useSettings\";\nimport TabsContext from \"./TabsContext\";\n\nexport interface TabsProps extends React.HTMLAttributes<HTMLDivElement> {\n /**\n * Specify the text to be read by screen-readers when visiting the <Tabs>\n * component\n */\n ariaLabel?: string;\n\n /**\n * Pass in a collection of <Tab> children to be rendered depending on the\n * currently selected tab\n */\n children?: React.ReactNode;\n\n /**\n * Provide a className that is applied to the root <nav> component for the\n * <Tabs>\n */\n className?: string;\n\n /**\n * Provide a customTabContent by using independent action triggers\n * inside the Tabs\n */\n customTabContent?: boolean;\n\n /**\n * Specify whether the animation should be used\n */\n disableAnimation?: boolean;\n\n /**\n * Specify whether the Tabs are displayed inline\n */\n inline?: boolean;\n\n /**\n * Specify whether the Tab content is hidden\n */\n hidden?: boolean;\n\n /**\n * By default, this value is \"navigation\". You can also provide an alternate\n * role if it makes sense from the accessibility-side\n */\n role?: string;\n\n /**\n * Optionally provide an `onClick` handler that is invoked when a <Tab> is\n * clicked\n */\n onClick?: () => void;\n\n /**\n * Optionally provide an `onKeyDown` handler that is invoked when keyed\n * navigation is triggered\n */\n onKeyDown?: () => void;\n\n /**\n * Provide an optional handler that is called whenever the selection\n * changes. This method is called with the index of the tab that was\n * selected\n */\n onSelectionChange?: () => void;\n\n /**\n * Provide a string that represents the `href` for the triggered <Tab>\n */\n triggerHref?: string;\n\n /**\n * Optionally provide an index for the currently selected <Tab>\n */\n selected?: string;\n}\n\n/** Tabs allow users to navigate easily between views within the same context */\nconst Tabs: React.FC<TabsProps> = (props) => {\n const {\n // ariaLabel = 'listbox',\n disableAnimation,\n inline,\n className,\n //customTabContent,\n // triggerHref = '#',\n role = \"navigation\",\n //onSelectionChange,\n selected = null,\n // children,\n ...other\n } = props;\n\n const { prefix } = useSettings();\n const [currentSelected, setCurrentSelected] = React.useState<string | null>(\n selected\n );\n //const [sizes, setSizes] = useState<boolean>();\n const rootRef = React.useRef(null);\n\n React.useEffect(() => {\n if (selected !== currentSelected) {\n setCurrentSelected(selected);\n }\n }, [selected]);\n\n /*useEffect(() => {\n getSizes();\n // eslint-disable-next-line no-undef\n if (window) {\n // eslint-disable-next-line no-undef\n window.addEventListener('resize', getSizes);\n return () => {\n // eslint-disable-next-line no-undef\n window.removeEventListener('resize', getSizes);\n };\n }\n }, []);*/\n\n const classes = {\n tabs: classNames(\n `${prefix}--tabs`,\n { [`${prefix}--tabs--no-animation`]: disableAnimation },\n className\n ),\n tablist: classNames(`${prefix}--tabs__nav`, {\n [`${prefix}--tabs__nav--inline`]: inline,\n }),\n };\n\n /*function getTabs() {\n return React.Children.map(props.children, (tab) => tab);\n }*/\n\n /*const getTabAt = (index) => {\n return this[`tab${index}`] || React.Children.toArray(props.children)[index];\n };*/\n\n /*const getSizes = () => {\n if (rootRef.current === null || rootRef.current.length > 1) {\n return null;\n }\n const rootBounds = rootRef.current.getBoundingClientRect();\n const sizes = {};\n Object.values(rootRef.current.children).forEach((el, key) => {\n const bounds = el.children[0].getBoundingClientRect();\n\n const left = bounds.left - rootBounds.left;\n const right = rootBounds.right - bounds.right;\n\n sizes[key] = { left, right };\n });\n setSizes(sizes);\n };\n*/\n // const setTabAt = (index, tabRef) => {\n // this[`tab${index}`] = tabRef;\n // };\n\n // following functions (handle*) are Props on Tab.js, see Tab.js for parameters\n const handleTabClick = (/*onSelectionChange*/) => {\n return (index, label, evt) => {\n if (evt) {\n evt.preventDefault();\n }\n // selectTabAt(index, onSelectionChange);\n };\n };\n\n const handleTabKeyDown = (/*onSelectionChange*/) => {\n return (index, label, evt) => {\n const key = evt.key || evt.which;\n\n if (key === \"Enter\" || key === 13 || key === \" \" || key === 32) {\n //selectTabAt(index, onSelectionChange);\n }\n };\n };\n\n const handleTabAnchorFocus = (/*onSelectionChange*/) => {\n /* return (index) => {\n const tabCount = React.Children.count(props.children) - 1;\n let tabIndex = index;\n\n if (index < 0) {\n tabIndex = tabCount;\n } else if (index > tabCount) {\n tabIndex = 0;\n }\n\n const tab = getTabAt(tabIndex);\n\n if (tab) {\n selectTabAt(tabIndex, onSelectionChange);\n if (tab.tabAnchor) {\n tab.tabAnchor.focus();\n }\n }\n };*/\n };\n\n /*const selectTabAt = (index, onSelectionChange) => {\n /* if (currentSelected !== index) {\n setCurrentSelected(index);\n if (typeof onSelectionChange === 'function') {\n onSelectionChange(index);\n }\n }\n };*/\n\n // const { selected, sizes } = this.state;\n\n /*const tabsWithProps = getTabs().map((Tab, index) => {\n const newTab = React.cloneElement(Tab, {\n index,\n selected: index === currentSelected,\n handleTabClick: handleTabClick(onSelectionChange),\n handleTabAnchorFocus: handleTabAnchorFocus(onSelectionChange),\n // ref: (e) => {\n // setTabAt(index, e);\n // },\n handleTabKeyDown: handleTabKeyDown(onSelectionChange),\n });\n\n return newTab;\n });\n\n const tabContentWithProps = !customTabContent\n ? React.Children.map(tabsWithProps, (tab) => {\n const { children, selected } = tab.props;\n if (!children) {\n return null;\n }\n return (\n <TabContent\n className={`${prefix}--tab-content`}\n aria-hidden={!selected}\n hidden={!selected}\n selected={selected}>\n {children}\n </TabContent>\n );\n })\n : null;\n */\n\n //const sizeBar = sizes ? sizes[currentSelected] : undefined;\n\n return (\n <TabsContext.Provider\n value={{ handleTabClick, handleTabKeyDown, handleTabAnchorFocus }}\n >\n <nav {...other} className={classes.tabs} role={role}>\n <div className={`${prefix}--tabs__nav__bar`} /*style={sizeBar}*/></div>\n <ul ref={rootRef} role=\"tablist\" className={classes.tablist}>\n {props.children}\n </ul>\n </nav>\n </TabsContext.Provider>\n );\n};\n\nTabs.displayName = \"Tabs\";\n\nexport default Tabs;\n","import * as React from 'react';\nimport classNames from 'classnames';\nimport useSettings from '../../hooks/useSettings';\nimport { InputProps, useInput } from '../Input';\nimport Input from '../Input/Input';\nimport { UseInputProps } from '../Input/useInput';\n\n/*\n ** Represents a multi-line plain-text editing control, useful when you want to allow users to enter a sizeable amount of free-form text, for example a comment on a review or feedback form.\n */\ninterface TextAreaProps\n extends InputProps,\n React.ComponentPropsWithRef<'textarea'> {\n fullWidth?: boolean;\n}\n\nexport type Ref = HTMLTextAreaElement;\n\nexport const TextArea = React.forwardRef<Ref, TextAreaProps>((props, ref) => {\n const { className, fullWidth } = props;\n\n const { prefix } = useSettings();\n\n const textareaClasses = classNames(`${prefix}--text-area`, className, {\n [`${prefix}--textarea-fullwidth`]: fullWidth,\n });\n\n const useInputProps = props as UseInputProps;\n const input = useInput({ ...useInputProps, inputClassName: textareaClasses });\n\n return (\n <Input {...input.wrapperProps}>\n <textarea {...input.inputProps} ref={ref} />\n </Input>\n );\n});\n\nTextArea.displayName = 'TextArea';\n\nexport default TextArea;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\nimport Input from \"../Input/Input\";\nimport { InputProps } from \"../Input\";\nimport { UseInputProps, useInput } from \"../Input/useInput\";\n\ninterface PasswordInputProps\n extends Omit<InputProps, \"type\">,\n Omit<React.ComponentPropsWithRef<\"input\">, \"type\"> {\n /**\n * Accessible label for the toggle when the password is hidden\n */\n showPasswordLabelText?: React.ReactNode;\n /**\n * Accessible label for the toggle when the password is visible\n */\n hidePasswordLabelText?: React.ReactNode;\n}\n\nconst PasswordInput = React.forwardRef<HTMLInputElement, PasswordInputProps>(\n (props, ref) => {\n const {\n showPasswordLabelText = \"Show password\",\n hidePasswordLabelText = \"Hide password\",\n addonAfter,\n ...rest\n } = props;\n\n const { prefix } = useSettings();\n const [isVisible, setIsVisible] = React.useState(false);\n\n const { hideLabel, helperText, required, disabled, readOnly } = rest;\n\n const inputClassName = classNames(\n `${prefix}--input`,\n `${prefix}--text-input`,\n `${prefix}--password-input`,\n {\n [`${prefix}--text--helpertext`]: helperText,\n [`${prefix}--text--nolabel`]: hideLabel,\n [`${prefix}--text--required`]: required,\n },\n );\n\n const toggleButtonLabel = isVisible\n ? hidePasswordLabelText\n : showPasswordLabelText;\n\n const handleToggle = () => {\n if (disabled || readOnly) return;\n setIsVisible((prev) => !prev);\n };\n\n const toggleButton = (\n <button\n type=\"button\"\n className={`${prefix}--password-input__toggle`}\n onClick={handleToggle}\n aria-pressed={isVisible}\n aria-label={toggleButtonLabel}\n disabled={disabled || readOnly}\n >\n {toggleButtonLabel}\n </button>\n );\n\n const useInputProps = rest as UseInputProps;\n const { inputProps, wrapperProps } = useInput({\n ...useInputProps,\n type: isVisible ? \"text\" : \"password\",\n addonAfter: (\n <>\n {addonAfter}\n {toggleButton}\n </>\n ),\n inputClassName,\n });\n\n return (\n <Input {...wrapperProps}>\n <input {...inputProps} ref={ref} />\n </Input>\n );\n },\n);\n\nPasswordInput.displayName = \"PasswordInput\";\n\nexport default PasswordInput;\n","/* eslint-disable @typescript-eslint/no-empty-function */\nimport * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\nimport Input, { InputProps, useInput } from \"../Input\";\nimport { UseInputProps } from \"../Input/useInput\";\n\n/** A toggle is used to quickly switch between two possible states. They are commonly used for “on/off” switches */\n\ninterface ToggleProps extends InputProps, React.ComponentPropsWithRef<\"input\"> {\n /**\n * Specify whether the toggle should be on by default\n */\n defaultToggled?: boolean;\n toggled?: boolean;\n /**\n * Specify the label for the \"off\" position\n */\n labelA?: string;\n /**\n * Specify the label for the \"on\" position\n */\n labelB?: string;\n /**\n * Provide an optional hook that is called when the control is toggled\n */\n /* onToggleLegacy?: (\n value: boolean,\n htmlFor: string,\n event: React.ChangeEvent<HTMLInputElement>,\n ) => void;\n className?: string; */\n /**\n * Provide an id that unique represents the underlying `input`\n */\n id?: string;\n /**\n * Provide an name that unique represents the underlying `input`\n */\n name?: string;\n /**\n * Provide a function that is called when a change event occurs on the control\n */\n onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;\n}\n\nexport type Ref = HTMLTextAreaElement;\n\nconst Toggle: React.FC<ToggleProps> = React.forwardRef((props, ref) => {\n const {\n className,\n defaultToggled = false,\n // toggled,\n // onChange,\n // onToggle = () => {},\n id,\n labelA = \"Off\",\n labelB = \"On\",\n ...other\n } = props;\n const { prefix } = useSettings();\n // let input;\n const wrapperClasses = classNames(\n {\n [`${prefix}--form-item`]: true,\n },\n className,\n );\n\n // const checkedProps = {};\n\n // if (typeof toggled !== 'undefined') {\n // checkedProps.checked = toggled;\n // } else {\n // checkedProps.defaultChecked = defaultToggled;\n // }\n\n const htmlFor = id ? id : other.name;\n const useInputProps = props as UseInputProps;\n\n const input = useInput(useInputProps);\n\n const otherInputProps = other as React.ComponentPropsWithRef<\"input\">;\n\n return (\n <Input className={wrapperClasses} {...props}>\n <input\n {...otherInputProps}\n {...input.inputProps}\n //checked={toggled}\n defaultChecked={defaultToggled}\n type=\"checkbox\"\n id={htmlFor}\n className={`${prefix}--toggle`}\n /*onChange={(evt) => {\n onChange && onChange(evt);\n onToggle && onToggle(input.checked, htmlFor, evt);\n }}*/\n ref={ref}\n />\n\n <label className={`${prefix}--toggle__label`} htmlFor={htmlFor}>\n <span className={`${prefix}--toggle__text--left`}>{labelA}</span>\n <span className={`${prefix}--toggle__appearance`} />\n <span className={`${prefix}--toggle__text--right`}>{labelB}</span>\n </label>\n </Input>\n );\n});\n\nToggle.displayName = \"Toggle\";\n\nexport default Toggle;\n","import * as React from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\nimport Avatar from \"../Avatar\";\n\nexport interface UserProps extends React.HTMLAttributes<HTMLSpanElement> {\n /**\n * The alt-text of the avatar\n */\n alt?: string;\n /**\n * Sets the max-width of the user name to 130px and shows an ellipsis\n */\n ellipsis?: boolean;\n /**\n * Additional description under the Name will also increase the size\n * of the Avatar use &lt;List kind=\"simple\" small /&gt; as default content\n */\n description?: React.ReactNode;\n /**\n * Optional components to replace the default ones, the Icon component is used for the avatar\n */\n components?: { Icon: React.ReactNode };\n /**\n * Extended Description column\n */\n extendedDescription?: React.ReactNode;\n /**\n * Selects the generated empty icon if no image is provided.\n * Can be `avatar` or `letter`.\n */\n missingImage?: \"avatar\" | \"letter\";\n /**\n * Url to an avatar image The size of the image is 25px * 25px.\n * Provide at least 50px * 50px to support HiDPI displays.\n */\n image?: string;\n /**\n * Show the name next to the avatar\n */\n showName?: boolean;\n /**\n * The CSS class name for the user.\n */\n className?: string;\n /**\n * Shows a smaller version of the user\n */\n small?: boolean;\n /**\n * The username which will be displayed. Usually `Firstname Lastname`.\n */\n name?: string;\n}\n/** The User is used inside the MainNavigation and form, and can display an avatar and username. */\nconst User: React.FC<UserProps> = (props) => {\n const {\n className,\n children,\n components = {},\n description,\n ellipsis,\n extendedDescription,\n showName,\n small,\n name,\n missingImage,\n ...other\n } = props;\n const { prefix } = useSettings();\n\n const defaultComponents = { Avatar };\n\n const allComponents = {\n ...defaultComponents,\n ...components,\n };\n\n const classes = classNames(`${prefix}--user`, className, {\n [`${prefix}--user--has-description`]: description,\n [`${prefix}--user--has-extended-description`]: extendedDescription,\n });\n\n const titleClasses = classNames({\n [`${prefix}--user__title`]: true,\n [`${prefix}--user__title--ellipsis`]: ellipsis,\n [`${prefix}--user__title--small`]: small,\n });\n\n return (\n <div className={classes} {...other}>\n <allComponents.Avatar {...props} missingImage={missingImage} />\n {showName && (\n <span className={titleClasses}>\n <span>{name}</span>\n {description && (\n <div className={`${prefix}--user__description`}>{description}</div>\n )}\n </span>\n )}\n {children}\n {extendedDescription && (\n <div className={`${prefix}--user__extended-description`}>\n {extendedDescription}\n </div>\n )}\n </div>\n );\n};\n\nexport default User;\n","const scaleLookup = {\n thousand: {\n pow: 1000,\n defaultmaximumFractionDigits: 2,\n default: { after: 'T' },\n },\n million: {\n pow: 1000000,\n defaultmaximumFractionDigits: 1,\n default: { after: 'M' },\n },\n billion: {\n pow: 1000000000,\n defaultmaximumFractionDigits: 2,\n default: { after: 'B' },\n },\n};\n\nexport default scaleLookup;\n","import React from 'react';\n\n// For invalid Values\nexport const Invalid = props => {\n return <span className={props.className + ' invalid'}>–</span>;\n};\n\n// For invalid Values\nexport const InvalidSvg = props => {\n return <tspan className={props.className + ' invalid'}>–</tspan>;\n};\n","const StringUnit = value => {\n if (value) {\n const before = value.before ? value.before + ' ' : '';\n const afterOutput =\n value.output && value.output.default\n ? value.output.default.after + ''\n : '';\n const after = value.after ? ' ' + value.after : '';\n return before + value.value + afterOutput + after;\n } else return '';\n};\n\nexport default StringUnit;\n","import * as React from 'react';\nimport { InvalidSvg } from './InvalidUnit';\n\nconst SvgUnit = (value, props) => {\n const { style, ...other } = props;\n\n if (value)\n return (\n <text className={props.className} {...other}>\n <tspan style={style}>{value.before} </tspan>\n <tspan style={style}>{value.value}</tspan>\n <tspan style={style}>\n {' '}\n {value.output ? value.output.default.after + '' : ''}\n {value.after}\n </tspan>\n </text>\n );\n else return <InvalidSvg className={props.className} />;\n};\n\nexport default SvgUnit;\n","import * as React from \"react\";\nimport scaleLookup from \"./scaleLookup\";\nimport { Invalid } from \"./InvalidUnit\";\nimport StringUnit from \"./StringUnit\";\nimport SvgUnit from \"./SvgUnit\";\n\ntype currencyCalcProps = {\n calcOnly?: boolean;\n children?: any;\n input?: any;\n output?: any;\n string?: boolean;\n svg?: boolean;\n hideZero?: boolean;\n maximumSignificantDigits?: number;\n minimumFractionDigits?: number;\n maximumFractionDigits?: number;\n className?: string;\n\n localeStringLanguage?: string;\n};\n\nexport const currencyCalc = (\n props: currencyCalcProps,\n after?: string,\n before?: string,\n afterSingular?: any,\n isAbsolute?: any\n) => {\n const {\n children,\n input,\n output,\n /* maximumSignificantDigits, */\n minimumFractionDigits,\n maximumFractionDigits,\n localeStringLanguage = \"en-EN\",\n calcOnly,\n string,\n svg,\n hideZero,\n } = props;\n\n // Remove commas\n var value =\n typeof children === \"string\" ? children.replace(/,/g, \"\") : children;\n\n // Parse as float\n value = parseFloat(value);\n\n // Input\n value =\n value !== 0 && input && scaleLookup[input]\n ? scaleLookup[input].pow * value\n : value;\n\n // output\n const outputCalc =\n output && scaleLookup[output] ? scaleLookup[output] : undefined;\n\n value = value !== 0 && output ? value / outputCalc.pow : value;\n\n const minimumFractionDigitsCalculated =\n isAbsolute === true && output === undefined\n ? minimumFractionDigits === 0\n : /*: maximumFractionDigits === 0\n ? 0*/\n typeof minimumFractionDigits === \"number\"\n ? minimumFractionDigits\n : outputCalc && outputCalc.defaultmaximumFractionDigits\n ? outputCalc.defaultmaximumFractionDigits\n : 2;\n\n const maximumFractionDigitsCalculated =\n isAbsolute === true && output === undefined\n ? maximumFractionDigits === 0\n : value <= 0.005\n ? 4\n : value <= 0.05\n ? 3\n : value <= 0.5\n ? 2\n : maximumFractionDigits === 0\n ? 0\n : typeof maximumFractionDigits === \"number\"\n ? maximumFractionDigits\n : outputCalc && outputCalc.defaultmaximumFractionDigits\n ? outputCalc.defaultmaximumFractionDigits\n : 2;\n\n const toLocalStringConfig = {\n //maximumSignificantDigits: maximumSignificantDigits,\n minimumFractionDigits: minimumFractionDigitsCalculated,\n maximumFractionDigits:\n maximumFractionDigitsCalculated > minimumFractionDigitsCalculated\n ? maximumFractionDigitsCalculated\n : minimumFractionDigitsCalculated,\n };\n\n // Convert to Locale String\n value = value.toLocaleString(localeStringLanguage, toLocalStringConfig);\n\n const calcObject = {\n value: value,\n before: before,\n after: after,\n output: outputCalc,\n };\n\n let className = props.className;\n if (value === \"1\" && afterSingular) {\n className = className + \" wfp--unit--singular\";\n }\n\n if ((!value || value === \"NaN\" || parseFloat(value) === 0) && hideZero)\n return false;\n else if (calcOnly) return calcObject;\n else if (svg) return SvgUnit(calcObject, props);\n else if (string) return StringUnit(calcObject /*, props*/);\n else if (value !== false) return <span className={className}>{value}</span>;\n else return <Invalid className={props.className} />;\n};\n\nexport default currencyCalc;\n","import * as React from \"react\";\nimport { Invalid } from \"./InvalidUnit\";\nimport StringUnit from \"./StringUnit\";\nimport SvgUnit from \"./SvgUnit\";\n\ntype percentageCalcProps = {\n calcOnly?: boolean;\n children?: any;\n from?: any;\n string?: boolean;\n svg?: boolean;\n hideZero?: boolean;\n maximumSignificantDigits?: number;\n maximumFractionDigits?: number;\n className?: string;\n};\n\nexport const percentageCalc = (\n props: percentageCalcProps,\n after?: string,\n before?: string\n) => {\n const {\n calcOnly,\n children,\n from,\n string,\n svg,\n hideZero,\n maximumSignificantDigits,\n maximumFractionDigits,\n } = props;\n\n // Remove commas\n var value =\n typeof children === \"string\" ? children.replace(/,/g, \"\") : children;\n\n // Parse as float\n value = parseFloat(value);\n\n if (parseFloat(from) === 0) {\n value = false;\n } else if (from) {\n value = (value / parseFloat(from)) * 100;\n }\n\n // Convert to Locale String\n value = value.toLocaleString(\"en-EN\", {\n minimumFractionDigits: maximumSignificantDigits\n ? maximumSignificantDigits\n : 0,\n maximumSignificantDigits: maximumSignificantDigits,\n maximumFractionDigits:\n value <= 0.5 ? 5 : maximumFractionDigits ? maximumFractionDigits : 1,\n });\n\n const calcObject = {\n value: value,\n before: before,\n after: after,\n output: undefined,\n };\n if ((!value || value === \"NaN\" || parseFloat(value) === 0) && hideZero)\n return false;\n else if (calcOnly) return calcObject;\n else if (svg) return SvgUnit(calcObject, props);\n else if (string) return StringUnit(calcObject /*, props*/);\n else if (value !== false)\n return <span className={props.className}>{value}</span>;\n else return <Invalid className={props.className} />;\n};\n\nexport default percentageCalc;\n","import * as React from \"react\";\nimport SvgUnit from \"./SvgUnit\";\nimport StringUnit from \"./StringUnit\";\n\n// TODO: Add interface interface SimpleCalcProps\n\ntype SimpleCalcProps = {\n calcOnly?: boolean;\n children?: any;\n string?: boolean;\n svg?: boolean;\n hideUnit?: boolean;\n className?: string;\n after?: string;\n before?: string;\n};\n\nconst SimpleCalc = (\n props: SimpleCalcProps,\n after?: string,\n before?: string\n) => {\n const { calcOnly, className, children, string, svg, hideUnit } = props;\n\n // Remove commas\n const value = children;\n\n const afterCalc = after ? after : \"\";\n\n const unit = hideUnit ? \"\" : before + children + afterCalc;\n\n const calcObject = {\n value: value,\n before: before,\n after: after,\n output: value + unit,\n };\n\n if (calcOnly) return calcObject;\n else if (svg)\n return SvgUnit(\n { value: value + unit, before: before, after: after },\n props\n );\n else if (string) return StringUnit(calcObject /*, props */);\n else if (value !== false) return <span className={className}>{value}</span>;\n};\n\nexport default SimpleCalc;\n","import * as React from \"react\";\nimport SvgUnit from \"./SvgUnit\";\nimport StringUnit from \"./StringUnit\";\n\nconst YearMonthGen = (props) => {\n const { children } = props;\n\n const value = children;\n\n let newDate;\n /* Generate Date from Date */\n if (typeof value === \"number\" && value.toString().length >= 7) {\n newDate = new Date(value, props);\n } else if (value.getMonth) {\n /* Use Date Object */\n newDate = value;\n } else {\n /* Generate Date from String YYYYMM */\n const year = value.toString().substring(0, 4);\n const month = parseInt(value.toString().substring(4, 7), 10) - 1;\n newDate = new Date(year, month, 1);\n }\n const monthName = newDate.toLocaleString(\"en-us\", { month: \"short\" });\n const monthNameFull = newDate.toLocaleString(\"en-us\", { month: \"long\" });\n return {\n monthName: monthName,\n monthNameFull: monthNameFull,\n year: newDate.getFullYear(),\n date: newDate,\n };\n};\n\n/*const MonthYearCalcDate = ( value, showZero, showUnit ) => {\n const year = value.toString().substring(0, 4);\n const month = parseInt(value.toString().substring(4, 7), 10) - 1;\n const newDate = new Date(year, month, 1);\n return newDate\n}*/\n\n// Format YYYYMM / from 201709 => Sep 2017\nexport const YearMonthCalc = (props) => {\n const { className, string, svg, calcOnly } = props;\n const YearMonthgenerated = YearMonthGen(props);\n\n const calcObject = {\n value: YearMonthgenerated.monthName + \" \" + YearMonthgenerated.year,\n before: \"\",\n after: \"\",\n output: undefined,\n };\n\n if (calcOnly) return calcObject;\n else if (svg) return SvgUnit(calcObject, props);\n else if (string) return StringUnit(calcObject /*, props*/);\n else if (calcObject?.value)\n return <span className={className}>{calcObject.value}</span>;\n};\n\nexport default YearMonthCalc;\n","import * as React from 'react';\nimport scaleLookup from './scaleLookup';\n\nimport {\n Countries,\n Usd,\n Partners,\n Beneficiaries,\n Households,\n People,\n Months,\n Level,\n Mt,\n Kg,\n MetricTons,\n Trips,\n None,\n Num,\n Percentage,\n YearMonth,\n} from './UnitList';\nimport useSettings from '../../hooks/useSettings';\n// All Unit Components together in <Unit type=\"Unitname\" />\n\ninterface UnitProps extends React.ComponentPropsWithoutRef<'div'> {\n /**\n The value which should be displayed\n */\n children: string | number;\n /**\n Only used for type Percentage will divide value/from string, float\n */\n from?: string | number;\n /**\n The interface of the input value\n */\n input?: string;\n /**\n * Display zero values to be displayed\n */\n showZero: boolean;\n /**\n Hide the Unit if it's value is zero.\n */\n hideEmpty: boolean;\n /**\n The minimum number of fraction digits to use. Possible values are from 0 to 20. Only used on numeric types\n */\n minimumFractionDigits?: number;\n /**\n A value between 1-21, The maximum number of significant digits to use. Possible values are from 1 to 21; the default is minimumSignificantDigits.\n */\n maximumSignificantDigits?: number;\n\n output?: string;\n\n string?: boolean;\n localeStringLanguage?: string;\n maximumFractionDigits?: number;\n textAnchor?: string;\n\n /**\n * A string with a BCP 47 language code, or an array of language codes. For the general form and interpretation of the locale argument see the [toLocaleString on developer.mozilla.org](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleString) page.\n */\n locale?: string;\n\n /**\n Setup the Unit\n */\n setup?: boolean;\n /**\n Render output as svg text\n */\n svg?: boolean;\n /**\n The unit type */\n type:\n | 'none'\n | 'usd'\n | 'partners'\n | 'beneficiaries'\n | 'households'\n | 'months'\n | 'mt'\n | 'metricTons'\n | 'kg'\n | 'num'\n | 'yearMonth'\n | 'level'\n | 'people'\n | 'countries'\n | 'percentage';\n}\n\nconst components = {\n Usd,\n Partners,\n Beneficiaries,\n Households,\n Months,\n Mt,\n Kg,\n MetricTons,\n Num,\n Level,\n None,\n Trips,\n Countries,\n People,\n Percentage,\n YearMonth,\n};\n\n/** The Unit component method returns a component with a language and unit sensitive representation of this number based on [Numbers and Unit from the Editorial Guidelines](https://cdn.wfp.org/guides/editorial/content/numbers-and-units/) the [Numbers and Units Reference on developer.mozilla.org](http://cdn.wfp.org/guides/editorial/content/numbers-and-units). */\n\nconst Unit: React.FC<UnitProps> = (props) => {\n const { prefix } = useSettings();\n\n const {\n className,\n output,\n string,\n textAnchor,\n localeStringLanguage = 'en-EN',\n type = 'none',\n setup,\n } = props;\n const typeEl = props.type.charAt(0).toUpperCase() + props.type.slice(1);\n const Unit = components[typeEl];\n //const unitHideClass = setup && setup.hideUnit ? 'wfp--unit--hide' : '';\n const textAnchorCalc = textAnchor ? textAnchor : 'start';\n const unitClassName = type ? `${prefix}--unit--${type.toLowerCase()}` : '';\n\n const outputClassName =\n output && scaleLookup[output] ? `${prefix}--unit--${output}` : '';\n const setupClassName = setup ? `${prefix}--unit--${setup}` : '';\n const classNameCalc = `${prefix}--unit ${className} ${unitClassName} ${outputClassName} ${setupClassName}`;\n\n if (string) {\n return Unit(props);\n }\n\n if (Unit === undefined) {\n // console.warn(`The unit \"${type}\" is undefined`);\n return null;\n }\n\n return (\n <Unit\n {...props}\n className={classNameCalc}\n textAnchor={textAnchorCalc}\n localeStringLanguage={localeStringLanguage}\n />\n );\n};\n\nexport default Unit;\n","import currencyCalc from \"./currencyCalc\";\nimport percentageCalc from \"./percentageCalc\";\nimport SimpleCalc from \"./SimpleCalc\";\nimport YearMonthCalc from \"./YearMonthCalc\";\n\n// Generate USD\nexport const Usd = (props) => {\n return currencyCalc(props, \"\", \"US$\");\n};\n\n// Generate People\nexport const People = (props) => {\n return currencyCalc(props, \"People\", undefined, true, true);\n};\n\n// Generate Partners\nexport const Partners = (props) => {\n return currencyCalc(props, \"Partners\", undefined, true, true);\n};\n\n// Generate MT\nexport const Mt = (props) => {\n return currencyCalc(props, \"MT\", undefined, true);\n};\n\n// Generate MetricTons\nexport const MetricTons = (props) => {\n return currencyCalc(props, \"MetricTons\", undefined, true);\n};\n\n// Generate Months\nexport const Months = (props) => {\n return currencyCalc(props, \"Months\", undefined, true, \"Month\");\n};\n\n// Generate Num\nexport const Num = (props) => {\n return currencyCalc(props, \"\");\n};\n\n// Generate Beneficiaries\nexport const Beneficiaries = (props) => {\n return currencyCalc(props, \"Beneficaries\", undefined, true, true);\n};\n\n// Generate Households\nexport const Households = (props) => {\n return currencyCalc(props, \"Households\", undefined, true, true);\n};\n\n// Generate Trips\nexport const Trips = (props) => {\n return currencyCalc(props, \"Trips\", undefined, true, true);\n};\n\n// Generate kg\nexport const Kg = (props) => {\n return SimpleCalc(props, \"kg\");\n};\n\n// Generate Households\nexport const Level = (props) => {\n return SimpleCalc(props, \"\");\n};\n\n// Generate Countries\nexport const Countries = (props) => {\n return SimpleCalc(props, \"Countries\");\n};\n\n// Generate None\nexport const None = (props) => {\n return SimpleCalc(props, \"\");\n};\n\n// Generate Percentage\nexport const Percentage = (props) => {\n return percentageCalc(props, \"%\");\n};\n\n// Generate YearMonth\nexport const YearMonth = (props) => {\n return YearMonthCalc(props);\n};\n","import React from \"react\";\nimport type { PropsWithChildren } from \"react\";\nimport classNames from \"classnames\";\nimport useSettings from \"../../hooks/useSettings\";\n\n/** Value are typically used to show KPI values and additional information. */\ntype ValueProps = PropsWithChildren<{\n value?: React.ReactNode;\n secondaryValue?: React.ReactNode;\n title?: React.ReactNode;\n className?: string;\n}>;\n\nconst Value: React.FC<ValueProps> = ({\n value,\n secondaryValue,\n className,\n title,\n ...other\n}) => {\n const { prefix } = useSettings();\n const classes = classNames(`${prefix}--value`, className);\n return (\n <div className={classes} {...other}>\n <h4 className={`${prefix}--value__title`}>{title}</h4>\n <div className={`${prefix}--value__primary-value`}>{value}</div>\n <div className={`${prefix}--value__secondary-value`}>\n {secondaryValue}\n </div>\n </div>\n );\n};\n\nexport default Value;\n","import useSettings from \"../../hooks/useSettings\";\nimport * as React from \"react\";\n// Passes settings down to children, primarily useful for class components\n// that can't consume the useSettings hook. Props passed to the underlying\n// component can be used to override settings values\nexport const withWFPCoreSettings =\n (WrappedComponent: React.ElementType) => (props?: object) => {\n const settings = useSettings();\n const allProps = { ...settings, ...props };\n\n return <WrappedComponent {...allProps} />;\n };\n","import { useContext } from \"react\";\nimport { AppContextInterface, WFPCoreContext } from \"./WFPCoreProvider\";\n\nexport default function useTheme(): AppContextInterface {\n const settings = useContext(WFPCoreContext);\n return settings;\n}\n","const colors = {\n main: {\n name: \"main\",\n hex: \"#007DBC\", // previously 0A6EB4\n scss: \"$color__main\",\n type: \"communications\",\n },\n \"sequential-default-07\": {\n name: \"sequential-default-07\",\n hex: \"#9DEAFF\",\n scss: \"$color__sequential-default-07\",\n type: \"sequential-default\",\n shortDescription: \"sequential default 07\",\n },\n \"sequential-default-06\": {\n name: \"sequential-default-06\",\n hex: \"#73C3FE\",\n scss: \"$color__sequential-default-06\",\n type: \"sequential-default\",\n shortDescription: \"sequential default 06\",\n },\n \"sequential-default-05\": {\n name: \"sequential-default-05\",\n hex: \"#4AA1E2\",\n scss: \"$color__sequential-default-05\",\n type: \"sequential-default\",\n shortDescription: \"sequential default 05\",\n },\n \"sequential-default-04\": {\n name: \"sequential-default-04\",\n hex: \"#0780C0\",\n scss: \"$color__sequential-default-04\",\n type: \"sequential-default\",\n shortDescription: \"sequential default 04\",\n },\n \"sequential-default-03\": {\n name: \"sequential-default-03\",\n hex: \"#005F9B\",\n scss: \"$color__sequential-default-03\",\n type: \"sequential-default\",\n shortDescription: \"sequential default 03\",\n },\n \"sequential-default-02\": {\n name: \"sequential-default-02\",\n hex: \"#003F76\",\n scss: \"$color__sequential-default-02\",\n type: \"sequential-default\",\n shortDescription: \"sequential default 02\",\n },\n \"sequential-default-01\": {\n name: \"sequential-default-01\",\n hex: \"#002153\",\n scss: \"$color__sequential-default-01\",\n type: \"sequential-default\",\n shortDescription: \"sequential default 01\",\n },\n \"sequential-secondary-07\": {\n name: \"sequential-secondary-07\",\n hex: \"#bdf9c4\",\n scss: \"$color__sequential-secondary-07\",\n type: \"sequential-secondary\",\n shortDescription: \"sequential secondary 07\",\n },\n \"sequential-secondary-06\": {\n name: \"sequential-secondary-06\",\n hex: \"#89eaa8\",\n scss: \"$color__sequential-secondary-06\",\n type: \"sequential-secondary\",\n shortDescription: \"sequential secondary 06\",\n },\n \"sequential-secondary-05\": {\n name: \"sequential-secondary-05\",\n hex: \"#5fd79a\",\n scss: \"$color__sequential-secondary-05\",\n type: \"sequential-secondary\",\n shortDescription: \"sequential secondary 05\",\n },\n \"sequential-secondary-04\": {\n name: \"sequential-secondary-04\",\n hex: \"#41c196\",\n scss: \"$color__sequential-secondary-04\",\n type: \"sequential-secondary\",\n shortDescription: \"sequential secondary 04\",\n },\n \"sequential-secondary-03\": {\n name: \"sequential-secondary-03\",\n hex: \"#33aa96\",\n scss: \"$color__sequential-secondary-03\",\n type: \"sequential-secondary\",\n shortDescription: \"sequential secondary 03\",\n },\n \"sequential-secondary-02\": {\n name: \"sequential-secondary-02\",\n hex: \"#319298\",\n scss: \"$color__sequential-secondary-02\",\n type: \"sequential-secondary\",\n shortDescription: \"sequential secondary 02\",\n },\n \"sequential-secondary-01\": {\n name: \"sequential-secondary-01\",\n hex: \"#367a96\",\n scss: \"$color__sequential-secondary-01\",\n type: \"sequential-secondary\",\n shortDescription: \"sequential secondary 01\",\n },\n \"categorical-corporate-01\": {\n name: \"categorical-01\",\n hex: \"#007DBC\",\n scss: \"$color__categorical-corporate-01\",\n type: \"categorical\",\n shortDescription: \"categorical-01\",\n },\n \"categorical-corporate-02\": {\n name: \"categorical-02\",\n hex: \"#36B5C5\",\n scss: \"$color__categorical-corporate-02\",\n type: \"categorical\",\n shortDescription: \"categorical-02\",\n },\n \"categorical-corporate-03\": {\n name: \"categorical-03\",\n hex: \"#00B485\",\n scss: \"$color__categorical-corporate-03\",\n type: \"categorical\",\n shortDescription: \"categorical-03\",\n },\n \"categorical-corporate-04\": {\n name: \"categorical-04\",\n hex: \"#008868\",\n scss: \"$color__categorical-corporate-04\",\n type: \"categorical\",\n shortDescription: \"categorical-04\",\n },\n \"categorical-corporate-05\": {\n name: \"categorical-05\",\n hex: \"#1A4262\",\n scss: \"$color__categorical-corporate-05\",\n type: \"categorical\",\n shortDescription: \"categorical-05\",\n },\n \"categorical-corporate-06\": {\n name: \"categorical-06\",\n hex: \"#982B56\",\n scss: \"$color__categorical-corporate-06\",\n type: \"categorical\",\n shortDescription: \"categorical-06\",\n },\n \"categorical-corporate-07\": {\n name: \"categorical-07\",\n hex: \"#EF404C\",\n scss: \"$color__categorical-corporate-07\",\n type: \"categorical\",\n shortDescription: \"categorical-07\",\n },\n \"categorical-corporate-08\": {\n name: \"categorical-08\",\n hex: \"#F47847\",\n scss: \"$color__categorical-corporate-08\",\n type: \"categorical\",\n shortDescription: \"categorical-08\",\n },\n \"categorical-corporate-09\": {\n name: \"categorical-09\",\n hex: \"#B79F8D\",\n scss: \"$color__categorical-corporate-09\",\n type: \"categorical\",\n shortDescription: \"categorical-09\",\n },\n \"categorical-corporate-10\": {\n name: \"categorical-10\",\n hex: \"#ECDFBB\",\n scss: \"$color__categorical-corporate-10\",\n type: \"categorical\",\n shortDescription: \"categorical-10\",\n },\n female: {\n name: \"female\",\n hex: \"#3f7e44\",\n scss: \"$color__female\",\n type: \"symbolic\",\n shortDescription: \"Indicate female\",\n },\n male: {\n name: \"male\",\n hex: \"#26bde2\",\n scss: \"$color__male\",\n type: \"symbolic\",\n shortDescription: \"Indicate male\",\n },\n national: {\n name: \"national\",\n hex: \"#3C5979\",\n scss: \"$color__national\",\n type: \"symbolic\",\n shortDescription: \"Indicate national staff\",\n },\n international: {\n name: \"international\",\n hex: \"#fcc30b\",\n scss: \"$color__international\",\n type: \"symbolic\",\n shortDescription: \"Indicate international staff\",\n },\n \"brand-01\": {\n name: \"brand-01\",\n hex: \"#007DBC\", //previously 0A6EB4\n scss: \"var(--brand-01)\",\n css: \"color__brand-01\",\n type: \"brand\",\n shortDescription: \"WFP brand color\",\n },\n \"interactive-01\": {\n name: \"interactive-01\",\n hex: \"#0b77c2\",\n scss: \"var(--interactive-01)\",\n css: \"color__interactive-01\",\n type: \"brand\",\n shortDescription: \"Primary interactive color, Primary buttons\",\n },\n \"interactive-02\": {\n name: \"interactive-02\",\n hex: \"#085387\",\n scss: \"$action-default-fill-primary-default-02\",\n css: \"color__interactive-02\",\n type: \"brand\",\n shortDescription: \"BannerNavigation\",\n },\n \"accent-01\": {\n name: \"accent-01\",\n hex: \"#f7b825\",\n scss: \"$accent-01\",\n css: \"color__accent-01\",\n type: \"brand-accent\", //replaced type brand to brand-accent to prevent it from showing it\n shortDescription: \"Accent colour (recommended)\",\n },\n \"brand-01-20\": {\n name: \"brand-01-20\",\n hex: \"#c2dbec\",\n scss: \"$brand-01-20\",\n css: \"color__brand-01-20\",\n type: \"brand-extended\",\n },\n \"brand-01-30\": {\n name: \"brand-01-30\",\n hex: \"#85b7da\",\n scss: \"$brand-01-30\",\n css: \"color__brand-01-30\",\n type: \"brand-extended\",\n },\n \"brand-01-40\": {\n name: \"brand-01-40\",\n hex: \"#4792c7\",\n scss: \"$brand-01-40\",\n css: \"color__brand-01-40\",\n type: \"brand-extended\",\n },\n \"brand-01-60\": {\n name: \"brand-01-60\",\n hex: \"#085387\",\n scss: \"$brand-01-60\",\n css: \"color__brand-01-60\",\n type: \"brand-extended\",\n },\n \"brand-01-70\": {\n name: \"brand-01-70\",\n hex: \"#05375a\",\n scss: \"$brand-01-70\",\n css: \"color__brand-01-70\",\n type: \"brand-extended\",\n },\n \"brand-01-80\": {\n name: \"brand-01-80\",\n hex: \"#031c2d\",\n scss: \"$brand-01-80\",\n css: \"color__brand-01-80\",\n type: \"brand-extended\",\n },\n \"ui-01\": {\n name: \"ui-01\",\n hex: \"#ffffff\",\n scss: \"$ui-01\",\n css: \"color__ui-01\",\n type: \"ui\",\n shortDescription: \"Primary container background; Secondary page background\",\n description:\n \"This colour is used as the page background if there are no Modules on top of it.\",\n },\n \"ui-02\": {\n name: \"ui-02\",\n hex: \"#eff2f5\",\n scss: \"var(--ui-02)\",\n css: \"color__ui-02\",\n type: \"ui\",\n shortDescription: \"Primary page background; Secondary container background\",\n description:\n \"Use this colour as page background if there are modules on top of it to increase the contrast between the modules.\",\n },\n \"ui-03\": {\n name: \"ui-03\",\n hex: \"#f0f3f6\",\n scss: \"$ui-03\",\n css: \"color__ui-03\",\n type: \"ui\",\n shortDescription: \"Subtle border, Tertiary background color\",\n },\n \"ui-04\": {\n name: \"ui-04\",\n hex: \"#dfe3e6\",\n scss: \"$ui-04\",\n css: \"color__ui-04\",\n type: \"ui\",\n shortDescription: \"3:1 AA element contrast; Medium contrast border\",\n },\n \"ui-05\": {\n name: \"ui-05\",\n hex: \"#8c9ba5\",\n scss: \"$ui-03\",\n css: \"color__ui-05\",\n type: \"ui\",\n shortDescription:\n \"4.5:1 AA element contrast; High contrast border; Emphasis elements\",\n },\n \"ui-06\": {\n name: \"ui-06\",\n hex: \"#0b1923\",\n scss: \"$ui-06\",\n css: \"color__ui-06\",\n type: \"ui\",\n shortDescription: \"\",\n },\n \"text-01\": {\n name: \"text-01\",\n hex: \"#031c2d\",\n scss: \"$text-01\",\n css: \"color__text-01\",\n type: \"ui\",\n shortDescription: \"Primary text colour; Input labels;\",\n },\n \"text-02\": {\n name: \"text-02\",\n hex: \"#5a6872\",\n scss: \"$text-02\",\n css: \"color__text-02\",\n type: \"ui\",\n shortDescription: \"Secondary text; Help text\",\n },\n \"text-03\": {\n name: \"text-03\",\n hex: \"#dfe6eb\",\n scss: \"$text-03\",\n css: \"color__text-03\",\n type: \"ui\",\n shortDescription: \"Placeholder text\",\n },\n \"text-04\": {\n name: \"text-04\",\n hex: \"#ffffff\",\n scss: \"$text-04\",\n css: \"color__text-04\",\n type: \"ui\",\n shortDescription: \"\",\n },\n \"inverse-01\": {\n name: \"inverse-01\",\n hex: \"#ffffff\",\n scss: \"$inverse-01\",\n css: \"color__inverse-01\",\n type: \"ui\",\n shortDescription: \"Inverse text color; Inverse icon color\",\n },\n // 'inverse-02': {\n // name: 'inverse-02',\n // hex: '#f0f3f6',\n // scss: '$inverse-02',\n // css: 'color__inverse-02',\n // type: 'ui',\n // shortDescription: 'High contrast backgrounds; High contrast elements',\n // },\n \"field-01\": {\n name: \"field-01\",\n hex: \"#ffffff\",\n scss: \"$field-02\",\n css: \"color__field-01\",\n type: \"ui\",\n shortDescription: \"Default input fields; Fields on $ui-backgrounds\",\n },\n /*'field-02': {\n name: 'field-02',\n hex: '#fbfcfc',\n scss: '$field-02',\n css: 'color__field-02',\n type: 'ui',\n },*/\n \"field-border-01\": {\n name: \"field-border-01\",\n hex: \"#d4d7d9\",\n scss: \"$field-border-01\",\n css: \"color__field-border-01\",\n type: \"ui\",\n shortDescription: \"\",\n },\n \"disabled-01\": {\n name: \"disabled-01\",\n hex: \"#f9fbfc\",\n scss: \"$disabled-01\",\n css: \"color__disabled-01\",\n type: \"ui\",\n shortDescription: \"\",\n },\n \"disabled-02\": {\n name: \"disabled-02\",\n hex: \"#dfe6eb\",\n scss: \"$disabled-02\",\n css: \"color__disabled-02\",\n type: \"ui\",\n shortDescription: \"\",\n },\n \"sdg-01\": {\n name: \"sdg-01\",\n hex: \"#E5243B\",\n scss: \"$sdg-01\",\n css: \"color__sdg-01\",\n type: \"sdg\",\n shortDescription: \"No poverty, red\",\n },\n \"sdg-02\": {\n name: \"sdg-02\",\n hex: \"#DDA63A\",\n scss: \"$sdg-02\",\n css: \"color__sdg-02\",\n type: \"sdg\",\n shortDescription: \"Zero hunger, mustard\",\n },\n \"sdg-03\": {\n name: \"sdg-03\",\n hex: \"#4C9F38\",\n scss: \"$sdg-03\",\n css: \"color__sdg-03\",\n type: \"sdg\",\n shortDescription: \"Good health and well-being, kelly green\",\n },\n \"sdg-04\": {\n name: \"sdg-04\",\n hex: \"#C5192D\",\n scss: \"$sdg-04\",\n css: \"color__sdg-04\",\n type: \"sdg\",\n shortDescription: \"Quality education, dark red\",\n },\n \"sdg-05\": {\n name: \"sdg-05\",\n hex: \"#FF3A21\",\n scss: \"$sdg-05\",\n css: \"color__sdg-05\",\n type: \"sdg\",\n shortDescription: \"Gender equality, red orange\",\n },\n \"sdg-06\": {\n name: \"sdg-06\",\n hex: \"#26BDE2\",\n scss: \"$sdg-06\",\n css: \"color__sdg-06\",\n type: \"sdg\",\n shortDescription: \"Clean water and sanitation, bright blue\",\n },\n \"sdg-07\": {\n name: \"sdg-07\",\n hex: \"#FCC30B\",\n scss: \"$sdg-07\",\n css: \"color__sdg-07\",\n type: \"sdg\",\n shortDescription: \"Affordable and clean energy, yellow\",\n },\n \"sdg-08\": {\n name: \"sdg-08\",\n hex: \"#A21942\",\n scss: \"$sdg-08\",\n css: \"color__sdg-08\",\n type: \"sdg\",\n shortDescription: \"Decent work and economic growth, burgundy red\",\n },\n \"sdg-09\": {\n name: \"sdg-09\",\n hex: \"#FD6925\",\n scss: \"$sdg-09\",\n css: \"color__sdg-09\",\n type: \"sdg\",\n shortDescription: \"Industry, innovation and infrastructure, orange\",\n },\n \"sdg-10\": {\n name: \"sdg-10\",\n hex: \"#DD1367\",\n scss: \"$sdg-10\",\n css: \"color__sdg-10\",\n type: \"sdg\",\n shortDescription: \"Reduced inequalities, magentas\",\n },\n \"sdg-11\": {\n name: \"sdg-11\",\n hex: \"#FD9D24\",\n scss: \"$sdg-11\",\n css: \"color__sdg-11\",\n type: \"sdg\",\n shortDescription: \"Sustainable cities and communities, golden yellow\",\n },\n \"sdg-12\": {\n name: \"sdg-12\",\n hex: \"#BF8B2E\",\n scss: \"$sdg-12\",\n css: \"color__sdg-12\",\n type: \"sdg\",\n shortDescription: \"Responsible consumption and production, dark mustard\",\n },\n \"sdg-13\": {\n name: \"sdg-13\",\n hex: \"#3F7E44\",\n scss: \"$sdg-10\",\n css: \"color__sdg-13\",\n type: \"sdg\",\n shortDescription: \"Climate action, dark green\",\n },\n \"sdg-14\": {\n name: \"sdg-14\",\n hex: \"#0A97D9\",\n scss: \"$sdg-14\",\n css: \"color__sdg-14\",\n type: \"sdg\",\n shortDescription: \"Life below water, blue\",\n },\n \"sdg-15\": {\n name: \"sdg-15\",\n hex: \"#56C02B\",\n scss: \"$sdg-15\",\n css: \"color__sdg-15\",\n type: \"sdg\",\n shortDescription: \"Life on land, lime green\",\n },\n \"sdg-16\": {\n name: \"sdg-16\",\n hex: \"#00689D\",\n scss: \"$sdg-16\",\n css: \"color__sdg-16\",\n type: \"sdg\",\n shortDescription: \"Peace, justice and stron institutions, royal blue\",\n },\n \"sdg-17\": {\n name: \"sdg-17\",\n hex: \"#19486A\",\n scss: \"$sdg-17\",\n css: \"color__sdg-17\",\n type: \"sdg\",\n shortDescription: \"Partnership for the goals, navy blue\",\n },\n \"support-01\": {\n name: \"support-01\",\n hex: \"#c5192d\",\n scss: \"$support-01\",\n css: \"color__support-01\",\n type: \"support\",\n shortDescription: \"Error (same as color__red)\",\n description:\n \"Use the error color to indicate an error or to focus the attention on something which is crucial to see. Paired with a cross icon, red delivers the message that something went wrong.\",\n },\n \"support-light-01\": {\n name: \"support-light-01\",\n hex: \"#f1c6cb\",\n scss: \"$support-light-01\",\n css: \"color__support-light-01\",\n type: \"support\",\n shortDescription: \"Lighter version of color-red\",\n description: \"\",\n },\n \"support-02\": {\n name: \"support-02\",\n hex: \"#689e18\",\n scss: \"$support-02\",\n css: \"color__support-02\",\n type: \"support\",\n shortDescription: \"Success\",\n description:\n \"Use green to indicate success state. Paired with a checkmark icon the user knows that the operation was successfully completed.\",\n },\n \"support-light-02\": {\n name: \"support-light-02\",\n hex: \"#ccdbcd\",\n scss: \"$support-light-02\",\n css: \"color__support-light-02\",\n type: \"support\",\n shortDescription: \"Lighter version of green\",\n description: \"\",\n },\n \"support-03\": {\n name: \"support-03\",\n hex: \"#f7b825\",\n scss: \"$support-03\",\n css: \"color__support-03\",\n type: \"support\",\n shortDescription: \"Warning (same as color__yellow)\",\n description:\n \"Use yellow to indicate a transient warning which is less important than an error message. Yellow typically consists of items which require the user’s immediate attention, or indicate a waiting period. Although this overlaps with the use of red, yellow is more transient in nature.\",\n },\n \"support-light-03\": {\n name: \"support-light-03\",\n hex: \"#fdedc9\",\n scss: \"$support-light-03\",\n css: \"color__support-light-03\",\n type: \"support\",\n shortDescription: \"Lighter version of yellow\",\n description: \"\",\n },\n \"support-04\": {\n name: \"support-04\",\n hex: \"#85b7da\",\n scss: \"$support-04\",\n css: \"color__support-04\",\n type: \"support\",\n shortDescription: \"Info\",\n description: \"\",\n },\n \"support-light-04\": {\n name: \"support-light-04\",\n hex: \"#c2dbec\",\n scss: \"$support-light-04\",\n css: \"color__support-light-04\",\n type: \"support\",\n shortDescription: \"\",\n description: \"\",\n },\n};\n\nexport default colors;\n\n// main: {\n// name: 'main',\n// hex: '#0A6EB4',\n// scss: '$color__main',\n// type: 'communications',\n// },\n// navy: {\n// name: 'navy',\n// hex: '#19486a',\n// scss: '$color__navy',\n// // shortDescription: 'Same as SDG 17',\n// shortDescription: '',\n// type: 'communications',\n// },\n// aqua: {\n// name: 'aqua',\n// hex: '#26bde2',\n// // shortDescription: 'Same as SDG 6',\n// shortDescription: '',\n// scss: '$color__aqua',\n// type: 'communications',\n// },\n// 'dark-green': {\n// name: 'dark-green',\n// hex: '#3f7e44',\n// // shortDescription: 'Same as SDG 13',\n// shortDescription: '',\n// scss: '$color__dark-green',\n// type: 'communications',\n// },\n// lime: {\n// name: 'lime',\n// hex: '#97d700',\n// scss: '$color__lime',\n// type: 'communications',\n// },\n// yellow: {\n// name: 'yellow',\n// hex: '#fcc30b',\n// // shortDescription: 'Same as SDG 7',\n// shortDescription: '',\n// scss: '$color__yellow',\n// type: 'communications',\n// },\n// ochre: {\n// name: 'ochre',\n// hex: '#dda63a',\n// // shortDescription: 'Same as SDG 2',\n// shortDescription: '',\n// scss: '$color__ochre',\n// type: 'communications',\n// },\n// orange: {\n// name: 'orange',\n// hex: '#fd6925',\n// // shortDescription: 'Same as SDG 9',\n// shortDescription: '',\n// scss: '$color__orange',\n// type: 'communications',\n// },\n// red: {\n// name: 'red',\n// hex: '#c5192d',\n// // shortDescription: 'Same as SDG 1',\n// shortDescription: '',\n// scss: '$color__red',\n// type: 'communications',\n// },\n// 'dark-red': {\n// name: 'dark-red',\n// hex: '#a21942',\n// // shortDescription: 'Same as SDG 8',\n// shortDescription: '',\n// scss: '$color__dark-red',\n// type: 'communications',\n// },\n// magenta: {\n// name: 'magenta',\n// hex: '#dd1367',\n// // shortDescription: 'Same as SDG 10',\n// shortDescription: '',\n// scss: '$color__magenta',\n// type: 'communications',\n// },\n","import { useEffect, useLayoutEffect } from \"react\";\n\n/**\n * Custom hook for using either `useLayoutEffect` or `useEffect` based on the environment (client-side or server-side).\n * @param {Function} effect - The effect function to be executed.\n * @param {Array<any>} [dependencies] - An array of dependencies for the effect (optional).\n * @see [Documentation](https://usehooks-ts.com/react-hook/use-isomorphic-layout-effect)\n * @example\n * useIsomorphicLayoutEffect(() => {\n * // Code to be executed during the layout phase on the client side\n * }, [dependency1, dependency2]);\n */\nexport const useIsomorphicLayoutEffect =\n typeof window !== \"undefined\" ? useLayoutEffect : useEffect;\n","import { useState } from \"react\";\n\nimport { useIsomorphicLayoutEffect } from \"./useIsomorphicLayoutEffect\";\n\ntype UseMediaQueryOptions = {\n defaultValue?: boolean;\n initializeWithValue?: boolean;\n};\n\nconst IS_SERVER = typeof window === \"undefined\";\n\n/**\n * Custom hook for tracking the state of a media query.\n * @param {string} query - The media query to track.\n * @param {boolean | ?UseMediaQueryOptions} [options] - The default value to return if the hook is being run on the server (default is `false`).\n * @param {?boolean} [options.defaultValue] - The default value to return if the hook is being run on the server (default is `false`).\n * @param {?boolean} [options.initializeWithValue] - If `true` (default), the hook will initialize reading the media query. In SSR, you should set it to `false`, returning `options.defaultValue` or `false` initially.\n * @returns {boolean} The current state of the media query (true if the query matches, false otherwise).\n * @see [Documentation](https://usehooks-ts.com/react-hook/use-media-query)\n * @see [MDN Match Media](https://developer.mozilla.org/en-US/docs/Web/API/Window/matchMedia)\n * @example\n * const isSmallScreen = useMediaQuery('(max-width: 600px)');\n * // Use `isSmallScreen` to conditionally apply styles or logic based on the screen size.\n */\nexport function useMediaQuery(\n query: string,\n options?: boolean | UseMediaQueryOptions\n): boolean {\n // TODO: Refactor this code after the deprecated signature has been removed.\n const defaultValue =\n typeof options === \"boolean\" ? options : options?.defaultValue ?? false;\n const initializeWithValue =\n typeof options === \"boolean\"\n ? undefined\n : options?.initializeWithValue ?? undefined;\n\n const getMatches = (query: string): boolean => {\n if (IS_SERVER) {\n return defaultValue;\n }\n return window.matchMedia(query).matches;\n };\n\n const [matches, setMatches] = useState<boolean>(() => {\n if (initializeWithValue) {\n return getMatches(query);\n }\n return defaultValue;\n });\n\n /** Handles the change event of the media query. */\n function handleChange() {\n setMatches(getMatches(query));\n }\n\n useIsomorphicLayoutEffect(() => {\n const matchMedia = window.matchMedia(query);\n\n // Triggered at the first client-side load and if query changes\n handleChange();\n\n // Use deprecated `addListener` and `removeListener` to support Safari < 14 (#135)\n if (matchMedia.addListener) {\n matchMedia.addListener(handleChange);\n } else {\n matchMedia.addEventListener(\"change\", handleChange);\n }\n\n return () => {\n if (matchMedia.removeListener) {\n matchMedia.removeListener(handleChange);\n } else {\n matchMedia.removeEventListener(\"change\", handleChange);\n }\n };\n }, [query]);\n\n return matches;\n}\n"],"names":["REACT_ELEMENT_TYPE","REACT_FRAGMENT_TYPE","jsxProd","type","config","maybeKey","key","propName","reactJsxRuntime_production","getComponentNameFromType","REACT_CLIENT_REFERENCE","REACT_PROFILER_TYPE","REACT_STRICT_MODE_TYPE","REACT_SUSPENSE_TYPE","REACT_SUSPENSE_LIST_TYPE","REACT_ACTIVITY_TYPE","REACT_PORTAL_TYPE","REACT_CONTEXT_TYPE","REACT_CONSUMER_TYPE","REACT_FORWARD_REF_TYPE","innerType","REACT_MEMO_TYPE","REACT_LAZY_TYPE","testStringCoercion","value","checkKeyStringCoercion","JSCompiler_inline_result","JSCompiler_temp_const","JSCompiler_inline_result$jscomp$0","getTaskName","name","getOwner","dispatcher","ReactSharedInternals","UnknownOwner","hasValidKey","hasOwnProperty","getter","defineKeyPropWarningGetter","props","displayName","warnAboutAccessingKey","specialPropKeyWarningShown","elementRefGetterWithDeprecationWarning","componentName","didWarnAboutElementRef","ReactElement","self","source","owner","debugStack","debugTask","jsxDEVImpl","isStaticChildren","children","isArrayImpl","validateChildKeys","keys","k","didWarnAboutKeySpread","node","React","require$$0","createTask","callStackForError","unknownOwnerDebugStack","unknownOwnerDebugTask","reactJsxRuntime_development","trackActualOwner","jsxRuntimeModule","require$$1","PRE_ENTER","ENTERING","ENTERED","PRE_EXIT","EXITING","EXITED","UNMOUNTED","STATUS","getState","status","startOrEnd","unmounted","getEndStatus","unmountOnExit","getTimeout","timeout","nextTick","transitState","updateState","setStateMap","latestStateMap","timeoutId","onChange","state","stateMap","useTransitionMap","allowMultiple","enter","exit","preEnter","preExit","initialEntered","mountOnEnter","useState","useRef","configMap","enterTimeout","exitTimeout","setItem","useCallback","_initialEntered","deleteItem","newStateMap","endTransition","stateObj","toggle","toEnter","enterStage","_","_key","toggleAll","getTransition","transition","useAccordionProvider","transitionTimeout","rest","transitionMap","ACCORDION_BLOCK","ACCORDION_PREFIX","ACCORDION_ATTR","ACCORDION_BTN_ATTR","AccordionContext","createContext","bem","block","element","modifiers","className","blockElement","classString","expandedClassName","mergeProps","target","result","targetProp","sourceProp","e","AccordionProvider","jsx","getAccordion","getNextIndex","moveUp","current","length","moveFocus","activeElement","nodes","i","next","useAccordion","ControlledAccordion","providerValue","ref","accordionProps","Accordion","onStateChange","settings","theme","WFPCoreContext","defaultWFPContext","isBrowserDefaultDark","WFPCoreProvider","wrapperElement","prefix","initialTheme","setElementTheme","prefixClass","newTheme","classes","c","getActualTheme","defaultTheme","getDefaultTheme","themeState","setThemeState","actualThemeState","setActualThemeState","useEffect","darkThemeMq","mqListener","ctx","useSettings","useContext","useIdShim","id","setId","_useId","useId","useAccordionItem","disabled","buttonId","panelId","buttonProps","useIsomorphicLayoutEffect","useLayoutEffect","useHeightTransition","isResolved","height","setHeight","elementRef","setRef","instance","useMergeRef","refA","refB","useMemo","_extends","react","react_production","hasRequiredReact_production","requireReact_production","MAYBE_ITERATOR_SYMBOL","getIteratorFn","maybeIterable","ReactNoopUpdateQueue","assign","emptyObject","Component","context","updater","partialState","callback","ComponentDummy","PureComponent","pureComponentPrototype","cloneAndReplaceKey","oldElement","newKey","isValidElement","object","escape","escaperLookup","match","userProvidedKeyEscapeRegex","getElementKey","index","noop$1","resolveThenable","thenable","fulfilledValue","error","mapIntoArray","array","escapedPrefix","nameSoFar","invokeCallback","nextNamePrefix","mapChildren","func","count","child","lazyInitializer","payload","ctor","moduleObject","reportGlobalError","event","noop","forEachFunc","forEachContext","n","size","fn","childArray","defaultValue","childrenLength","render","compare","scope","prevTransition","currentTransition","returnValue","onStartTransitionFinish","usable","action","initialState","permalink","deps","Context","initialValue","create","createDeps","update","passthrough","reducer","initialArg","init","subscribe","getSnapshot","getServerSnapshot","react_development","hasRequiredReact_development","requireReact_development","module","exports","defineDeprecationWarning","methodName","info","warnNoop","publicInstance","callerName","warningKey","didWarnStateUpdateForUnmountedComponent","childKey","didWarnAboutMaps","resolveDispatcher","enqueueTask","task","enqueueTaskImpl","requireString","didWarnAboutMessageChannel","channel","aggregateErrors","errors","popActScope","prevActQueue","prevActScopeDepth","actScopeDepth","recursivelyFlushAsyncActWork","resolve","reject","queue","flushActQueue","isFlushing","continuation","deprecatedAPIs","fnName","didWarnAboutOldJSXRuntime","didWarnNoAwaitAct","queueSeveralMicrotasks","didAwaitActCall","error$0","_thrownError","returnValue$jscomp$0","getCurrentStack","a","_i","refObject","elementType","ownName","formatterFn","reactExports","ArrowRight$1","CalendarAltRegular$1","CaretDown$1","CaretUp$1","Check$1","Checkmark$1","CheckmarkCircle$1","ChevronDown$1","ChevronLeft$1","ChevronRight$1","ChevronUp$1","Close$1","Cross$1","Ellipsis$1","Error$2","Home$1","InfoCircle$1","InfoSolid$1","Locked$1","Menu$1","OverflowMenu$1","Search$1","User$1","WarningOutline$1","WarningSolid$1","getItemState","itemInitialEntered","useAccordionContext","useAccordionItemEffect","itemKey","itemRef","withAccordionItem","WrappedItem","WithAccordionItem","hasOwn","classNames","arg","appendClass","parseValue","newClass","getRenderNode","nodeOrFunc","forwardedRef","header","Heading","headingProps","contentProps","panelProps","itemState","_buttonProps","_panelProps","transitionStyle","_panelRef","panelRef","isMounted","isEnter","buttonClasses","jsxs","ChevronDown","AccordionItem","AuthLayout","image","backgroundContent","other","style","wrapperClasses","BackgroundContent","pageWidths","Wrapper","background","backgroundClassName","backgroundStyle","pageWidth","mobilePageWidth","spacing","backgroundClasses","BannerNavigationItem","BannerNavigation","FormItem","invalid","inline","AddonBefore","addonBefore","AddonAfter","addonAfter","InlineErrorMessage","errorId","errorClasses","invalidText","errorIcon","WarningSolid","Label","labelClasses","calculatedId","labelText","required","hideLabel","Helper","helperTextClasses","helperText","Input","additional","componentsOverride","inputWrapperClassName","inputWrapperClasses","components","AddonAfterComponent","AddonBeforeComponent","LabelComponent","HelperComponent","InlineErrorMessageComponent","componentProps","useInput","inputClassName","placeholder","onClick","light","inputClasses","inputProps","evt","wrapperProps","Search","closeButtonLabelText","hideControls","kind","onSearchIconClick","rounded","setValue","newInputRef","_inputRef","handleChange","clearSearch","searchInputWrapperClasses","clearClasses","searchInputClassName","useInputProps","SearchIcon","Close","Link","href","visited","icon","linkSolid","rel","IconAsComponent","BannerNavigationWithContent","searchOnChange","search","Avatar","alt","missingImage","userIconProps","UserIcon","Breadcrumb","newChild","disableLink","BreadcrumbItem","BreadcrumbHome","hometext","Home","Button","small","large","btnSolid","iconReverse","tabIndex","useFlexbox","iconDescription","setCount","timer","endAnimation","commonProps","buttonImage","Icon","onClickAnimation","anchorProps","b","d","f","g","h","m","p","q","r","t","v","w","x","y","z","u","A","reactIs_production_min","hasSymbol","REACT_PROVIDER_TYPE","REACT_ASYNC_MODE_TYPE","REACT_CONCURRENT_MODE_TYPE","REACT_BLOCK_TYPE","REACT_FUNDAMENTAL_TYPE","REACT_RESPONDER_TYPE","REACT_SCOPE_TYPE","isValidElementType","typeOf","$$typeof","$$typeofType","AsyncMode","ConcurrentMode","ContextConsumer","ContextProvider","Element","ForwardRef","Fragment","Lazy","Memo","Portal","Profiler","StrictMode","Suspense","hasWarnedAboutDeprecatedIsAsyncMode","isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","reactIs_development","reactIsModule","getOwnPropertySymbols","propIsEnumerable","toObject","val","shouldUseNative","test1","test2","order2","test3","letter","objectAssign","from","to","symbols","s","ReactPropTypesSecret","ReactPropTypesSecret_1","has","printWarning","loggedTypeFailures","text","message","checkPropTypes","typeSpecs","values","location","getStack","typeSpecName","err","ex","stack","checkPropTypes_1","ReactIs","require$$2","require$$3","require$$4","emptyFunctionThatReturnsNull","factoryWithTypeCheckers","throwOnDirectAccess","ITERATOR_SYMBOL","FAUX_ITERATOR_SYMBOL","iteratorFn","ANONYMOUS","ReactPropTypes","createPrimitiveTypeChecker","createAnyTypeChecker","createArrayOfTypeChecker","createElementTypeChecker","createElementTypeTypeChecker","createInstanceTypeChecker","createNodeChecker","createObjectOfTypeChecker","createEnumTypeChecker","createUnionTypeChecker","createShapeTypeChecker","createStrictShapeTypeChecker","is","PropTypeError","data","createChainableTypeChecker","validate","manualPropTypeCallCache","manualPropTypeWarningCount","checkType","isRequired","propFullName","secret","cacheKey","chainedCheckType","expectedType","propValue","propType","getPropType","preciseType","getPreciseType","typeChecker","expectedClass","expectedClassName","actualClassName","getClassName","expectedValues","valuesString","arrayOfTypeCheckers","checker","getPostfixForTypeWarning","expectedTypes","checkerResult","expectedTypesMessage","isNode","invalidValidatorError","shapeTypes","allKeys","iterator","step","entry","isSymbol","emptyFunction","emptyFunctionWithReset","factoryWithThrowingShims","shim","getShim","propTypesModule","oneOf","buttonKinds","notificationtypes","Text","title","Empty","button","allComponents","IconComponent","TextComponent","Hero","isExternal","isLink","metadata","more","subTitle","url","content","HeroExternal","Card","cardWidth","cardHeight","pagewidth","pageheight","TYPES","Tag","tagClass","tagClasses","CardExternal","label","labelStatus","interactive","heading","subHeading","caption","tag","supportiveTextFontSize","supportiveTextLineHeight","supportiveTextHeight","setsupportiveTextHeight","statusStyle","PropTypes","DatePickerInput","startDate","endDate","setStartDate","datePicker","datePickerProps","DatePicker","CalendarAltRegular","DateRangePickerInput","setEndDate","fromProps","toProps","ArrowRight","DateRangePicker","Checkbox","indeterminate","wrapperClassName","innerLabelClasses","el","Credits","ContentSwitcher","selectedIndex","selectedIdx","setSelectedIndex","getChildren","handleChildChange","formatProdErrorMessage","code","Internals","createPortal$1","containerInfo","implementation","getCrossOriginStringAs","as","input","reactDom_production","container","previousTransition","previousUpdatePriority","options","crossOrigin","integrity","fetchPriority","form","getValueDescriptorExpectingObjectForWarning","thing","getValueDescriptorExpectingEnumForWarning","reactDom_development","encountered","checkDCE","reactDomModule","_objectWithoutPropertiesLoose","excluded","sourceKeys","fromEntries","entries","acc","_ref","top","bottom","right","left","auto","basePlacements","start","end","clippingParents","viewport","popper","reference","variationPlacements","placement","placements","beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite","modifierPhases","getNodeName","getWindow","ownerDocument","OwnElement","isHTMLElement","isShadowRoot","applyStyles","attributes","effect","_ref2","initialStyles","styleProperties","property","attribute","applyStyles$1","getBasePlacement","max","min","round","getUAString","uaData","item","isLayoutViewport","getBoundingClientRect","includeScale","isFixedStrategy","clientRect","scaleX","scaleY","visualViewport","addVisualOffsets","width","getLayoutRect","contains","parent","rootNode","getComputedStyle","isTableElement","getDocumentElement","getParentNode","getTrueOffsetParent","getContainingBlock","isFirefox","isIE","elementCss","currentNode","css","getOffsetParent","window","offsetParent","getMainAxisFromPlacement","within","mathMax","mathMin","withinMaxClamp","getFreshSideObject","mergePaddingObject","paddingObject","expandToHashMap","hashMap","toPaddingObject","padding","arrow","_state$modifiersData$","arrowElement","popperOffsets","basePlacement","axis","isVertical","len","arrowRect","minProp","maxProp","endDiff","startDiff","arrowOffsetParent","clientSize","centerToReference","center","offset","axisProp","_options$element","arrow$1","getVariation","unsetSides","roundOffsetsByDPR","win","dpr","mapToStyles","_Object$assign2","popperRect","variation","offsets","position","gpuAcceleration","adaptive","roundOffsets","isFixed","_offsets$x","_offsets$y","_ref3","hasX","hasY","sideX","sideY","heightProp","widthProp","offsetY","offsetX","commonStyles","_ref4","_Object$assign","computeStyles","_ref5","_options$gpuAccelerat","_options$adaptive","_options$roundOffsets","computeStyles$1","passive","_options$scroll","scroll","_options$resize","resize","scrollParents","scrollParent","eventListeners","hash","getOppositePlacement","matched","getOppositeVariationPlacement","getWindowScroll","scrollLeft","scrollTop","getWindowScrollBarX","getViewportRect","strategy","html","layoutViewport","getDocumentRect","_element$ownerDocumen","winScroll","body","isScrollParent","_getComputedStyle","overflow","overflowX","overflowY","getScrollParent","listScrollParents","list","isBody","updatedList","rectToClientRect","rect","getInnerBoundingClientRect","getClientRectFromMixedType","clippingParent","getClippingParents","canEscapeClipping","clipperElement","getClippingRect","boundary","rootBoundary","mainClippingParents","firstClippingParent","clippingRect","accRect","computeOffsets","commonX","commonY","mainAxis","detectOverflow","_options","_options$placement","_options$strategy","_options$boundary","_options$rootBoundary","_options$elementConte","elementContext","_options$altBoundary","altBoundary","_options$padding","altContext","clippingClientRect","referenceClientRect","popperClientRect","elementClientRect","overflowOffsets","offsetData","multiply","computeAutoPlacement","flipVariations","_options$allowedAutoP","allowedAutoPlacements","allPlacements","allowedPlacements","overflows","getExpandedFallbackPlacements","oppositePlacement","flip","_options$mainAxis","checkMainAxis","_options$altAxis","checkAltAxis","specifiedFallbackPlacements","_options$flipVariatio","preferredPlacement","isBasePlacement","fallbackPlacements","referenceRect","checksMap","makeFallbackChecks","firstFittingPlacement","_basePlacement","isStartVariation","mainVariationSide","altVariationSide","checks","check","numberOfChecks","_loop","fittingPlacement","_ret","flip$1","getSideOffsets","preventedOffsets","isAnySideFullyClipped","side","hide","referenceOverflow","popperAltOverflow","referenceClippingOffsets","popperEscapeOffsets","isReferenceHidden","hasPopperEscaped","hide$1","distanceAndSkiddingToXY","rects","invertDistance","skidding","distance","_options$offset","_data$state$placement","offset$1","popperOffsets$1","getAltAxis","preventOverflow","_options$tether","tether","_options$tetherOffset","tetherOffset","altAxis","tetherOffsetValue","normalizedTetherOffsetValue","offsetModifierState","_offsetModifierState$","mainSide","altSide","additive","minLen","maxLen","arrowPaddingObject","arrowPaddingMin","arrowPaddingMax","arrowLen","minOffset","maxOffset","clientOffset","offsetModifierValue","tetherMin","tetherMax","preventedOffset","_offsetModifierState$2","_mainSide","_altSide","_offset","_len","_min","_max","isOriginSide","_offsetModifierValue","_tetherMin","_tetherMax","_preventedOffset","preventOverflow$1","getHTMLElementScroll","getNodeScroll","isElementScaled","getCompositeRect","elementOrVirtualElement","isOffsetParentAnElement","offsetParentIsScaled","documentElement","order","map","modifier","sort","requires","dep","depModifier","orderModifiers","orderedModifiers","phase","debounce","pending","mergeByName","merged","existing","DEFAULT_OPTIONS","areValidElements","args","popperGenerator","generatorOptions","_generatorOptions","_generatorOptions$def","defaultModifiers","_generatorOptions$def2","defaultOptions","effectCleanupFns","isDestroyed","setOptionsAction","cleanupModifierEffects","runModifierEffects","_state$elements","_state$orderedModifie","_state$orderedModifie2","_ref$options","cleanupFn","noopFn","createPopper","hasElementType","hasMap","hasSet","hasArrayBuffer","equal","it","reactFastCompare","EMPTY_MODIFIERS","usePopper","referenceElement","popperElement","prevOptions","optionsWithDefaults","_React$useState","setState","updateStateModifier","elements","ReactDOM.flushSync","popperOptions","newOptions","isEqual","popperInstanceRef","defaultCreatePopper","popperInstance","useGetLatest","useControlledState","initial","_ref$onChange","getLatest","set","updatedState","isControlled","generateBoundingClientRect","_excluded","virtualElement","defaultConfig","usePopperTooltip","_popperProps$state","_popperProps$state$mo","_popperProps$state$mo2","finalConfig","_extends2","finalPopperOptions","triggerRef","setTriggerRef","_React$useState2","tooltipRef","setTooltipRef","_useControlledState","visible","setVisible","_usePopper","styles","popperProps","isTriggeredBy","trigger","hideTooltip","showTooltip","toggleTooltip","handleClickOutside","_event$composedPath","_getLatest","preventDefaultAndToggle","setMousePosition","clientX","clientY","observer","getTooltipProps","getArrowProps","tooltipStyle","tooltipStyleDark","Tooltip","dark","noPadding","createRefWrapper","closeOnOutsideClick","closeOnTriggerHidden","defaultVisible","delayHide","delayShow","followCursor","mutationObserverOptions","onVisibleChange","usePortal","visibility","setVisibility","elementClassNames","wrapperClassNames","triggerElement","visibilityChange","tooltip","TooltipPortal","ReactDOM","ContextMenu","ContextMenuGroup","ContextMenuItem","Footer","labelOne","linkTextOne","linkHrefOne","labelTwo","linkTextTwo","linkHrefTwo","logo","metaContent","metaLinks","secondary","Form","longForm","FormGroup","align","breakpoint","legendText","inputSpacing","messageText","classNamesLegend","classNamesFieldset","FormHint","description","formHintClasses","InfoSolid","FormLabel","InfoBar","Loading","active","withOverlay","loadingClasses","overlayClasses","loading","InlineLoading","success","onSuccess","successDelay","getLoading","loadingText","List","colon","ulProps","ListItem","Cross","Check","MainNavigationContext","MobileButton","toggleMenu","MainNavigation","line","logoRibbon","openMobileMenu","setOpenMobileMenu","activeMenuItem","setActiveMenuItem","onChangeSub","newI","listClasses","WrapperDefault","MobileButtonDefault","useMainNavigation","MainNavigationItem","subNavigation","subNavWideAsContent","menuItemId","wrapperRef","triggerClasses","subClasses","SubNavigation","SubNavigationItem","SubNavigationHeader","SubNavigationTitle","SubNavigationLink","SubNavigationFilter","SubNavigationContent","SubNavigationList","SubNavigationGroup","columns","Story","wrapperclassNames","NotificationButton","ariaLabel","IconTag","notificationType","buttonClassName","iconClassName","NotificationActionButton","customClassName","NotificationTextDetails","subtitle","iconTypes","Error","CheckmarkCircle","InfoCircle","NotificationIcon","IconForKind","ToastNotification","role","onClose","onCloseButtonClick","statusIconDescription","lowContrast","hideCloseButton","isOpen","setIsOpen","containerClassName","handleClose","handleCloseButtonClick","savedOnClose","Callout","actions","Table","responsive","withBorder","isSorted","isSortedDesc","sortType","CaretDown","CaretUp","asProp","spacingTop","spacingBottom","TagName","mdxComponents","ModalFooter","passiveModal","secondaryButtonText","onSecondaryButtonClick","primaryButtonText","onRequestSubmit","primaryButtonDisabled","secondaryButtonDisabled","danger","primaryButtonRef","secondaryButtonRef","matchesFuncName","Modal","modalHeading","modalLabel","modalSecondaryAction","modalAriaLabel","elementToAppend","backgroundImage","open","lazyLoad","kindMobile","overscrollBehavior","onRequestClose","onSecondarySubmit","inPortal","hideClose","handleBlur","wide","selectorPrimaryFocus","outerModal","innerModal","beingOpen","setBeingOpen","elementOrParentIsFloatingMenu","selectorsFloatingMenus","selector","handleCloseButton","focusModal","handleBlurEvent","focusButton","focusContainerElement","primaryFocusElement","handleTransitionEnd","ModalFooterDefault","modalClasses","modalButton","modalBody","modal","ModalWrapper","customButton","onKeyDown","buttonTriggerText","buttonTriggerClassName","triggerButtonKind","handleSubmit","shouldCloseAfterSubmit","triggerButton","handleOpen","customButtonEl","Module","margin","fullHeight","noMargin","withHover","ModuleBody","centered","ModuleHeader","filter","ModuleFooter","countDecimals","valueFloat","capMin","capMax","NumberInput","pattern","handleArrowClick","direction","valueState","conditional","stepString","numberInputClasses","newProps","Select","selectClasses","SelectItem","hidden","selectItemClasses","instanceId","Pagination","backwardText","forwardText","itemsPerPageText","itemsPerPageFollowsText","itemRangeText","total","pageRangeText","pageSize","pageSizesDisabled","pageSizes","itemText","pageText","page","pageNumberText","pagesUnknown","isLastPage","pageInputDisabled","totalItems","pageNumber","setPage","pageSizeState","setPageSize","uniqueId","handleSizeChange","handlePageInputChange","incrementPage","newPage","decrementPage","renderSelectItems","counter","itemArr","classnames","backButtonClasses","inputId","totalPages","selectItems","ChevronLeft","ChevronRight","lastId","RadioButton","uid","uId","InputGroup","vertical","valueSelected","defaultSelected","prevValueSelected","setPrevValueSelected","helper","MoreLink","handleToggleClick","link","showMore","contentId","ariaProps","ChevronUp","ReadMore","collapseLink","collapseText","collapsed","disableAutoscroll","expandLink","expandText","fade","maxHeight","setShowMore","innerHeight","setInnerHeight","readMoreRef","readMoreFakeRef","contentStyle","collapseStyle","SecondaryNavigation","SecondaryNavigationTitle","StepNavigation","dropdownHidden","tabsWithProps","tab","StepNavigationItem","handleTabClick","selectedPage","renderAnchor","Ellipsis","WarningOutline","Locked","OverflowMenu","Checkmark","Menu","SelectItemGroup","Sidebar","sidebar","SidebarHeader","SidebarContentHeader","mobileClasses","SidebarContentBody","SidebarScroll","SidebarBackButton","TextInput","defaultFormatLabel","calculatePercentage","Slider","ariaLabelInput","formatLabel","fullWidth","inputType","hideTextInput","minLabel","maxLabel","sliderContainerClasses","sliderClasses","sliderRangeWrapperClasses","valueMinimal","Item","subContent","hint","noImage","unread","showAdditionalIcon","wrapper","ReactTablePagination","pageSizeOptions","paginationClassName","onPageChange","onPageSizeChange","pages","getSafePage","changePage","nextPage","propList","useTab","handleTabAnchorFocus","handleTabKeyDown","selected","setTabFocus","selectedClasses","Tab","renderListElement","liProps","TabContent","TabsContext","Tabs","disableAnimation","currentSelected","setCurrentSelected","rootRef","TextArea","textareaClasses","PasswordInput","showPasswordLabelText","hidePasswordLabelText","isVisible","setIsVisible","readOnly","toggleButtonLabel","handleToggle","prev","toggleButton","Toggle","defaultToggled","labelA","labelB","htmlFor","otherInputProps","User","ellipsis","extendedDescription","showName","titleClasses","scaleLookup","Invalid","InvalidSvg","StringUnit","before","afterOutput","after","SvgUnit","currencyCalc","afterSingular","isAbsolute","output","minimumFractionDigits","maximumFractionDigits","localeStringLanguage","calcOnly","string","svg","hideZero","outputCalc","minimumFractionDigitsCalculated","maximumFractionDigitsCalculated","toLocalStringConfig","calcObject","percentageCalc","maximumSignificantDigits","SimpleCalc","hideUnit","afterCalc","unit","YearMonthGen","newDate","year","month","monthName","monthNameFull","YearMonthCalc","YearMonthgenerated","Unit","textAnchor","setup","typeEl","textAnchorCalc","unitClassName","outputClassName","setupClassName","classNameCalc","Value","secondaryValue","withWFPCoreSettings","WrappedComponent","allProps","useTheme","colors","IS_SERVER","useMediaQuery","query","initializeWithValue","getMatches","matches","setMatches","matchMedia"],"mappings":";;;;;;;;6CAWA,IAAIA,EAAqB,OAAO,IAAI,4BAA4B,EAC9DC,EAAsB,OAAO,IAAI,gBAAgB,EACnD,SAASC,EAAQC,EAAMC,EAAQC,EAAU,CACvC,IAAIC,EAAM,KAGV,GAFWD,IAAX,SAAwBC,EAAM,GAAKD,GACxBD,EAAO,MAAlB,SAA0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AAM,iBACN,IAAK,UACL,KAAM,mCACN,KAAM,cACN,iBAAkB,gBACnB,EACD,OAAQ,CACN,KAAM,SACN,IAAK,UACL,KAAM,iBACN,KAAM,WACN,iBAAkB,iBACnB,EACD,KAAM,CACJ,KAAM,OACN,IAAK,UACL,KAAM,eACN,KAAM,WACN,iBAAkB,eACnB,EACD,SAAU,CACR,KAAM,WACN,IAAK,UACL,KAAM,mBACN,KAAM,WACN,iBAAkB,yBACnB,EACD,cAAe,CACb,KAAM,gBACN,IAAK,UACL,KAAM,wBACN,KAAM,WACN,iBAAkB,8BACnB,EACD,WAAY,CACV,KAAM,WACN,IAAK,UACL,KAAM,kBACN,IAAK,kBACL,KAAM,QACN,iBAAkB,iBACnB,EACD,iBAAkB,CAChB,KAAM,iBACN,IAAK,UACL,KAAM,wBACN,IAAK,wBACL,KAAM,QACN,iBAAkB,4CACnB,EACD,iBAAkB,CAChB,KAAM,iBACN,IAAK,UACL,KAAM,0CACN,IAAK,wBACL,KAAM,QACN,iBAAkB,kBACnB,EACD,YAAa,CACX,KAAM,YACN,IAAK,UACL,KAAM,aACN,IAAK,mBACL,KAAM,eACN,iBAAkB,6BACnB,EACD,cAAe,CACb,KAAM,cACN,IAAK,UACL,KAAM,eACN,IAAK,qBACL,KAAM,gBACP,EACD,cAAe,CACb,KAAM,cACN,IAAK,UACL,KAAM,eACN,IAAK,qBACL,KAAM,gBACP,EACD,cAAe,CACb,KAAM,cACN,IAAK,UACL,KAAM,eACN,IAAK,qBACL,KAAM,gBACP,EACD,cAAe,CACb,KAAM,cACN,IAAK,UACL,KAAM,eACN,IAAK,qBACL,KAAM,gBACP,EACD,cAAe,CACb,KAAM,cACN,IAAK,UACL,KAAM,eACN,IAAK,qBACL,KAAM,gBACP,EACD,cAAe,CACb,KAAM,cACN,IAAK,UACL,KAAM,eACN,IAAK,qBACL,KAAM,gBACP,EACD,QAAS,CACP,KAAM,QACN,IAAK,UACL,KAAM,SACN,IAAK,eACL,KAAM,KACN,iBAAkB,0DAClB,YACE,kFACH,EACD,QAAS,CACP,KAAM,QACN,IAAK,UACL,KAAM,eACN,IAAK,eACL,KAAM,KACN,iBAAkB,0DAClB,YACE,oHACH,EACD,QAAS,CACP,KAAM,QACN,IAAK,UACL,KAAM,SACN,IAAK,eACL,KAAM,KACN,iBAAkB,0CACnB,EACD,QAAS,CACP,KAAM,QACN,IAAK,UACL,KAAM,SACN,IAAK,eACL,KAAM,KACN,iBAAkB,iDACnB,EACD,QAAS,CACP,KAAM,QACN,IAAK,UACL,KAAM,SACN,IAAK,eACL,KAAM,KACN,iBACE,oEACH,EACD,QAAS,CACP,KAAM,QACN,IAAK,UACL,KAAM,SACN,IAAK,eACL,KAAM,KACN,iBAAkB,EACnB,EACD,UAAW,CACT,KAAM,UACN,IAAK,UACL,KAAM,WACN,IAAK,iBACL,KAAM,KACN,iBAAkB,oCACnB,EACD,UAAW,CACT,KAAM,UACN,IAAK,UACL,KAAM,WACN,IAAK,iBACL,KAAM,KACN,iBAAkB,2BACnB,EACD,UAAW,CACT,KAAM,UACN,IAAK,UACL,KAAM,WACN,IAAK,iBACL,KAAM,KACN,iBAAkB,kBACnB,EACD,UAAW,CACT,KAAM,UACN,IAAK,UACL,KAAM,WACN,IAAK,iBACL,KAAM,KACN,iBAAkB,EACnB,EACD,aAAc,CACZ,KAAM,aACN,IAAK,UACL,KAAM,cACN,IAAK,oBACL,KAAM,KACN,iBAAkB,wCACnB,EASD,WAAY,CACV,KAAM,WACN,IAAK,UACL,KAAM,YACN,IAAK,kBACL,KAAM,KACN,iBAAkB,iDACnB,EAQD,kBAAmB,CACjB,KAAM,kBACN,IAAK,UACL,KAAM,mBACN,IAAK,yBACL,KAAM,KACN,iBAAkB,EACnB,EACD,cAAe,CACb,KAAM,cACN,IAAK,UACL,KAAM,eACN,IAAK,qBACL,KAAM,KACN,iBAAkB,EACnB,EACD,cAAe,CACb,KAAM,cACN,IAAK,UACL,KAAM,eACN,IAAK,qBACL,KAAM,KACN,iBAAkB,EACnB,EACD,SAAU,CACR,KAAM,SACN,IAAK,UACL,KAAM,UACN,IAAK,gBACL,KAAM,MACN,iBAAkB,iBACnB,EACD,SAAU,CACR,KAAM,SACN,IAAK,UACL,KAAM,UACN,IAAK,gBACL,KAAM,MACN,iBAAkB,sBACnB,EACD,SAAU,CACR,KAAM,SACN,IAAK,UACL,KAAM,UACN,IAAK,gBACL,KAAM,MACN,iBAAkB,yCACnB,EACD,SAAU,CACR,KAAM,SACN,IAAK,UACL,KAAM,UACN,IAAK,gBACL,KAAM,MACN,iBAAkB,6BACnB,EACD,SAAU,CACR,KAAM,SACN,IAAK,UACL,KAAM,UACN,IAAK,gBACL,KAAM,MACN,iBAAkB,6BACnB,EACD,SAAU,CACR,KAAM,SACN,IAAK,UACL,KAAM,UACN,IAAK,gBACL,KAAM,MACN,iBAAkB,yCACnB,EACD,SAAU,CACR,KAAM,SACN,IAAK,UACL,KAAM,UACN,IAAK,gBACL,KAAM,MACN,iBAAkB,qCACnB,EACD,SAAU,CACR,KAAM,SACN,IAAK,UACL,KAAM,UACN,IAAK,gBACL,KAAM,MACN,iBAAkB,+CACnB,EACD,SAAU,CACR,KAAM,SACN,IAAK,UACL,KAAM,UACN,IAAK,gBACL,KAAM,MACN,iBAAkB,iDACnB,EACD,SAAU,CACR,KAAM,SACN,IAAK,UACL,KAAM,UACN,IAAK,gBACL,KAAM,MACN,iBAAkB,gCACnB,EACD,SAAU,CACR,KAAM,SACN,IAAK,UACL,KAAM,UACN,IAAK,gBACL,KAAM,MACN,iBAAkB,mDACnB,EACD,SAAU,CACR,KAAM,SACN,IAAK,UACL,KAAM,UACN,IAAK,gBACL,KAAM,MACN,iBAAkB,sDACnB,EACD,SAAU,CACR,KAAM,SACN,IAAK,UACL,KAAM,UACN,IAAK,gBACL,KAAM,MACN,iBAAkB,4BACnB,EACD,SAAU,CACR,KAAM,SACN,IAAK,UACL,KAAM,UACN,IAAK,gBACL,KAAM,MACN,iBAAkB,wBACnB,EACD,SAAU,CAC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,GAC9D64B,EACJ,OAAO74B,GAAY,UACf,OACAA,GAAS,qBAAuB,OAEhC84B,EAAcF,GACdF,GACK13C,EAEF,OAAO,WAAW43C,CAAK,EAAE,QAG5B,CAACG,EAASC,CAAU,EAAI3iD,WAAkB,IAC1CwiD,EACKC,EAAWF,CAAK,EAElB53C,CACR,EAGD,SAASgN,GAAe,CACXgrC,EAAAF,EAAWF,CAAK,CAAC,CAAA,CAG9B,OAAAn8C,GAA0B,IAAM,CACxB,MAAAw8C,EAAa,OAAO,WAAWL,CAAK,EAG7B,OAAA5qC,EAAA,EAGTirC,EAAW,YACbA,EAAW,YAAYjrC,CAAY,EAExBirC,EAAA,iBAAiB,SAAUjrC,CAAY,EAG7C,IAAM,CACPirC,EAAW,eACbA,EAAW,eAAejrC,CAAY,EAE3BirC,EAAA,oBAAoB,SAAUjrC,CAAY,CAEzD,CAAA,EACC,CAAC4qC,CAAK,CAAC,EAEHG,CACT","x_google_ignoreList":[0,1,2,3,4,25,41,42,43,44,45,46,47,48,49,50,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127]}