@nusameta/design-system 1.0.0-beta.3 → 1.0.0-beta.5

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.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","names":["$3ARPR$react","$bl59K$react","$aPpn7$clsx","$ahdqC$react","$ahdqC$useObjectRef","$ahdqC$mergeRefs","$ahdqC$mergeProps","$ahdqC$useLayoutEffect","$eXv8n$shadowDOM","$emnFQ$react","$01Dwp$react","$hwcjY$LocalizedStringDictionary","$hwcjY$LocalizedStringFormatter","$1CcWn$react","$fKWKs$react","$iuCOg$react","$kT5Ur$react","$f0m83$useCachedChildren","$f0m83$react","$kV9Vy$react","#shouldStopPropagation","$32wDz$createHideableComponent","$32wDz$react","$9s8kH$createHideableComponent","$9s8kH$useButton","$9s8kH$useFocusRing","$9s8kH$useHover","$9s8kH$useId","$9s8kH$announce","$9s8kH$filterDOMProps","$9s8kH$react","$9s8kH$mergeProps","$6Xi9O$react","$cGkLv$react","$48drk$react","$QpkXT$react","$QpkXT$filterDOMProps","$jQnU8$useFormValidationState","$jQnU8$privateValidationStateProp","$43eCz$useToggleState","$43eCz$useFormValidationState","$43eCz$DEFAULT_VALIDATION_RESULT","$43eCz$privateValidationStateProp","$j1L6B$useCheckboxGroupState","$j1L6B$useCheckboxGroup","$j1L6B$filterDOMProps","$j1L6B$react","$j1L6B$mergeProps","$j1L6B$useObjectRef","$j1L6B$mergeRefs","$j1L6B$useCheckboxGroupItem","$j1L6B$useCheckbox","$j1L6B$useToggleState","$j1L6B$useFocusRing","$j1L6B$useHover","$j1L6B$VisuallyHidden","$1mD4M$useHover","$1mD4M$useFocusRing","$1mD4M$react","$1mD4M$mergeProps","$1aA6s$createHideableComponent","$1aA6s$useHover","$1aA6s$useFocusRing","$1aA6s$react","$1aA6s$mergeProps","$70eGi$useControlledState","$70eGi$useFormValidationState","$70eGi$react","$aQscD$intlarAEmjs","$aQscD$intlbgBGmjs","$aQscD$intlcsCZmjs","$aQscD$intldaDKmjs","$aQscD$intldeDEmjs","$aQscD$intlelGRmjs","$aQscD$intlenUSmjs","$aQscD$intlesESmjs","$aQscD$intletEEmjs","$aQscD$intlfiFImjs","$aQscD$intlfrFRmjs","$aQscD$intlheILmjs","$aQscD$intlhrHRmjs","$aQscD$intlhuHUmjs","$aQscD$intlitITmjs","$aQscD$intljaJPmjs","$aQscD$intlkoKRmjs","$aQscD$intlltLTmjs","$aQscD$intllvLVmjs","$aQscD$intlnbNOmjs","$aQscD$intlnlNLmjs","$aQscD$intlplPLmjs","$aQscD$intlptBRmjs","$aQscD$intlptPTmjs","$aQscD$intlroROmjs","$aQscD$intlruRUmjs","$aQscD$intlskSKmjs","$aQscD$intlslSImjs","$aQscD$intlsrSPmjs","$aQscD$intlsvSEmjs","$aQscD$intltrTRmjs","$aQscD$intlukUAmjs","$aQscD$intlzhCNmjs","$aQscD$intlzhTWmjs","$k30rM$react","$gfOZh$createLeafComponent","$gfOZh$HeaderNode","$gfOZh$react","$3Lq00$react","$adn6H$CollectionNode","$adn6H$createLeafComponent","$adn6H$useSeparator","$adn6H$filterDOMProps","$adn6H$react","$adn6H$mergeProps","$kGVXB$shadowDOM","$jmfRy$react","$i8Bql$getItemCount","$gfwmN$version","$jO8i1$react","$c4d6w$react","$c4d6w$CollectionBuilder","$c4d6w$Collection","$c4d6w$useListState","$c4d6w$UNSTABLE_useFilteredListState","$c4d6w$useLocale","$c4d6w$useCollator","$c4d6w$ListKeyboardDelegate","$c4d6w$useListBox","$c4d6w$useFocusRing","$c4d6w$filterDOMProps","$c4d6w$FocusScope","$c4d6w$mergeProps","$c4d6w$useListBoxSection","$c4d6w$createBranchComponent","$c4d6w$SectionNode","$c4d6w$createLeafComponent","$c4d6w$ItemNode","$c4d6w$useObjectRef","$c4d6w$useOption","$c4d6w$useHover","$c4d6w$useKeyboard","$c4d6w$useFocus","$c4d6w$LoaderNode","$c4d6w$useLoadMoreSentinel","$c4d6w$inertValue","$6UjbS$shadowDOM","$c49fX$clamp","$9W4zk$intloverlaysarAEmjs","$9W4zk$intloverlaysbgBGmjs","$9W4zk$intloverlayscsCZmjs","$9W4zk$intloverlaysdaDKmjs","$9W4zk$intloverlaysdeDEmjs","$9W4zk$intloverlayselGRmjs","$9W4zk$intloverlaysenUSmjs","$9W4zk$intloverlaysesESmjs","$9W4zk$intloverlaysetEEmjs","$9W4zk$intloverlaysfiFImjs","$9W4zk$intloverlaysfrFRmjs","$9W4zk$intloverlaysheILmjs","$9W4zk$intloverlayshrHRmjs","$9W4zk$intloverlayshuHUmjs","$9W4zk$intloverlaysitITmjs","$9W4zk$intloverlaysjaJPmjs","$9W4zk$intloverlayskoKRmjs","$9W4zk$intloverlaysltLTmjs","$9W4zk$intloverlayslvLVmjs","$9W4zk$intloverlaysnbNOmjs","$9W4zk$intloverlaysnlNLmjs","$9W4zk$intloverlaysplPLmjs","$9W4zk$intloverlaysptBRmjs","$9W4zk$intloverlaysptPTmjs","$9W4zk$intloverlaysroROmjs","$9W4zk$intloverlaysruRUmjs","$9W4zk$intloverlaysskSKmjs","$9W4zk$intloverlaysslSImjs","$9W4zk$intloverlayssrSPmjs","$9W4zk$intloverlayssvSEmjs","$9W4zk$intloverlaystrTRmjs","$9W4zk$intloverlaysukUAmjs","$9W4zk$intloverlayszhCNmjs","$9W4zk$intloverlayszhTWmjs","$parcel$interopDefault","$3Rxt5$intlStringsmjs","$3Rxt5$react","$iXgbh$react","$3wX5A$react","$3wX5A$reactdom","$g4jvP$useOverlayTriggerState","$g4jvP$useExitAnimation","$g4jvP$useIsHidden","$g4jvP$useLocale","$g4jvP$react","$g4jvP$usePopover","$g4jvP$useEnterAnimation","$g4jvP$useLayoutEffect","$g4jvP$getInteractionModality","$g4jvP$isFocusWithin","$g4jvP$focusSafely","$g4jvP$useResizeObserver","$g4jvP$mergeProps","$g4jvP$filterDOMProps","$g4jvP$DismissButton","$g4jvP$Overlay","$91cTq$react","$ljvjO$intlmenuarAEmjs","$ljvjO$intlmenubgBGmjs","$ljvjO$intlmenucsCZmjs","$ljvjO$intlmenudaDKmjs","$ljvjO$intlmenudeDEmjs","$ljvjO$intlmenuelGRmjs","$ljvjO$intlmenuenUSmjs","$ljvjO$intlmenuesESmjs","$ljvjO$intlmenuetEEmjs","$ljvjO$intlmenufiFImjs","$ljvjO$intlmenufrFRmjs","$ljvjO$intlmenuheILmjs","$ljvjO$intlmenuhrHRmjs","$ljvjO$intlmenuhuHUmjs","$ljvjO$intlmenuitITmjs","$ljvjO$intlmenujaJPmjs","$ljvjO$intlmenukoKRmjs","$ljvjO$intlmenultLTmjs","$ljvjO$intlmenulvLVmjs","$ljvjO$intlmenunbNOmjs","$ljvjO$intlmenunlNLmjs","$ljvjO$intlmenuplPLmjs","$ljvjO$intlmenuptBRmjs","$ljvjO$intlmenuptPTmjs","$ljvjO$intlmenuroROmjs","$ljvjO$intlmenuruRUmjs","$ljvjO$intlmenuskSKmjs","$ljvjO$intlmenuslSImjs","$ljvjO$intlmenusrSPmjs","$ljvjO$intlmenusvSEmjs","$ljvjO$intlmenutrTRmjs","$ljvjO$intlmenuukUAmjs","$ljvjO$intlmenuzhCNmjs","$ljvjO$intlmenuzhTWmjs","$parcel$interopDefault","$1SpDQ$intlStringsmjs","$2sTAp$getItemCount","$7xe5e$useMenuTriggerState","$7xe5e$useMenuTrigger","$7xe5e$useIsHidden","$7xe5e$react","$7xe5e$PressResponder","$7xe5e$CollectionNode","$7xe5e$createBranchComponent","$7xe5e$useSubmenuTriggerState","$7xe5e$useObjectRef","$7xe5e$useSubmenuTrigger","$7xe5e$CollectionBuilder","$7xe5e$Collection","$7xe5e$useTreeState","$7xe5e$useMenu","$7xe5e$filterDOMProps","$7xe5e$FocusScope","$7xe5e$mergeProps","$7xe5e$SelectionManager","$7xe5e$useMenuSection","$7xe5e$useMultipleSelectionState","$7xe5e$SectionNode","$7xe5e$createLeafComponent","$7xe5e$ItemNode","$7xe5e$useMenuItem","$7xe5e$useHover","$gV8PY$useMenuTriggerState","$gV8PY$useOverlayTrigger","$gV8PY$useId","$gV8PY$react","$gV8PY$PressResponder","$gV8PY$useDialog","$gV8PY$filterDOMProps","$gV8PY$mergeProps","$1WZhY$intlgridarAEmjs","$1WZhY$intlgridbgBGmjs","$1WZhY$intlgridcsCZmjs","$1WZhY$intlgriddaDKmjs","$1WZhY$intlgriddeDEmjs","$1WZhY$intlgridelGRmjs","$1WZhY$intlgridenUSmjs","$1WZhY$intlgridesESmjs","$1WZhY$intlgridetEEmjs","$1WZhY$intlgridfiFImjs","$1WZhY$intlgridfrFRmjs","$1WZhY$intlgridheILmjs","$1WZhY$intlgridhrHRmjs","$1WZhY$intlgridhuHUmjs","$1WZhY$intlgriditITmjs","$1WZhY$intlgridjaJPmjs","$1WZhY$intlgridkoKRmjs","$1WZhY$intlgridltLTmjs","$1WZhY$intlgridlvLVmjs","$1WZhY$intlgridnbNOmjs","$1WZhY$intlgridnlNLmjs","$1WZhY$intlgridplPLmjs","$1WZhY$intlgridptBRmjs","$1WZhY$intlgridptPTmjs","$1WZhY$intlgridroROmjs","$1WZhY$intlgridruRUmjs","$1WZhY$intlgridskSKmjs","$1WZhY$intlgridslSImjs","$1WZhY$intlgridsrSPmjs","$1WZhY$intlgridsvSEmjs","$1WZhY$intlgridtrTRmjs","$1WZhY$intlgridukUAmjs","$1WZhY$intlgridzhCNmjs","$1WZhY$intlgridzhTWmjs","$parcel$interopDefault","$dKyQQ$intlStringsmjs","$parcel$interopDefault","$cK8Ie$intlStringsmjs","$parcel$interopDefault","$iU8zV$intlStringsmjs","$gJBoF$react","$gJBoF$useOverlayTriggerState","$gJBoF$useObjectRef","$gJBoF$useExitAnimation","$gJBoF$useIsSSR","$gJBoF$useModalOverlay","$gJBoF$useEnterAnimation","$gJBoF$useViewportSize","$gJBoF$isScrollable","$gJBoF$Overlay","$gJBoF$mergeProps","$gJBoF$filterDOMProps","$gJBoF$mergeRefs","$gJBoF$DismissButton","$dHW54$intlsearchfieldarAEmjs","$dHW54$intlsearchfieldbgBGmjs","$dHW54$intlsearchfieldcsCZmjs","$dHW54$intlsearchfielddaDKmjs","$dHW54$intlsearchfielddeDEmjs","$dHW54$intlsearchfieldelGRmjs","$dHW54$intlsearchfieldenUSmjs","$dHW54$intlsearchfieldesESmjs","$dHW54$intlsearchfieldetEEmjs","$dHW54$intlsearchfieldfiFImjs","$dHW54$intlsearchfieldfrFRmjs","$dHW54$intlsearchfieldheILmjs","$dHW54$intlsearchfieldhrHRmjs","$dHW54$intlsearchfieldhuHUmjs","$dHW54$intlsearchfielditITmjs","$dHW54$intlsearchfieldjaJPmjs","$dHW54$intlsearchfieldkoKRmjs","$dHW54$intlsearchfieldltLTmjs","$dHW54$intlsearchfieldlvLVmjs","$dHW54$intlsearchfieldnbNOmjs","$dHW54$intlsearchfieldnlNLmjs","$dHW54$intlsearchfieldplPLmjs","$dHW54$intlsearchfieldptBRmjs","$dHW54$intlsearchfieldptPTmjs","$dHW54$intlsearchfieldroROmjs","$dHW54$intlsearchfieldruRUmjs","$dHW54$intlsearchfieldskSKmjs","$dHW54$intlsearchfieldslSImjs","$dHW54$intlsearchfieldsrSPmjs","$dHW54$intlsearchfieldsvSEmjs","$dHW54$intlsearchfieldtrTRmjs","$dHW54$intlsearchfieldukUAmjs","$dHW54$intlsearchfieldzhCNmjs","$dHW54$intlsearchfieldzhTWmjs","$parcel$interopDefault","$kb1Sb$intlStringsmjs","$gpBJB$createHideableComponent","$gpBJB$useSearchFieldState","$gpBJB$useSearchField","$gpBJB$filterDOMProps","$gpBJB$react","$8AqU6$react","$parcel$interopDefault","$2l4Cq$createHideableComponent","$2l4Cq$react","$2l4Cq$CollectionBuilder","$2l4Cq$useSelectState","$2l4Cq$useFocusRing","$2l4Cq$useSelect","$2l4Cq$filterDOMProps","$2l4Cq$mergeProps","$2l4Cq$HiddenSelect","fn","$2l4Cq$useListFormatter","$2l4Cq$Fragment","$2l4Cq$useLocalizedStringFormatter","$2l4Cq$intlStringsmjs","$94u1a$getChildNodes","$94u1a$getLastItem","$94u1a$getFirstItem","$94u1a$getNthItem","$kjgIr$intltablearAEmjs","$kjgIr$intltablebgBGmjs","$kjgIr$intltablecsCZmjs","$kjgIr$intltabledaDKmjs","$kjgIr$intltabledeDEmjs","$kjgIr$intltableelGRmjs","$kjgIr$intltableenUSmjs","$kjgIr$intltableesESmjs","$kjgIr$intltableetEEmjs","$kjgIr$intltablefiFImjs","$kjgIr$intltablefrFRmjs","$kjgIr$intltableheILmjs","$kjgIr$intltablehrHRmjs","$kjgIr$intltablehuHUmjs","$kjgIr$intltableitITmjs","$kjgIr$intltablejaJPmjs","$kjgIr$intltablekoKRmjs","$kjgIr$intltableltLTmjs","$kjgIr$intltablelvLVmjs","$kjgIr$intltablenbNOmjs","$kjgIr$intltablenlNLmjs","$kjgIr$intltableplPLmjs","$kjgIr$intltableptBRmjs","$kjgIr$intltableptPTmjs","$kjgIr$intltableroROmjs","$kjgIr$intltableruRUmjs","$kjgIr$intltableskSKmjs","$kjgIr$intltableslSImjs","$kjgIr$intltablesrSPmjs","$kjgIr$intltablesvSEmjs","$kjgIr$intltabletrTRmjs","$kjgIr$intltableukUAmjs","$kjgIr$intltablezhCNmjs","$kjgIr$intltablezhTWmjs","$3P3vF$getFirstItem","$3P3vF$getChildNodes","$parcel$interopDefault","$djswP$intlStringsmjs","$parcel$interopDefault","$cBFAV$intlStringsmjs","$parcel$interopDefault","$eezcW$intlStringsmjs","$parcel$interopDefault","$f3C2Q$intlStringsmjs","$parcel$interopDefault","$jgovN$intlStringsmjs","$8WNJc$BaseCollection","$8WNJc$buildHeaderRows","$8WNJc$useObjectRef","$8WNJc$useLayoutEffect","$8WNJc$isScrollable","$8WNJc$useResizeObserver","$8WNJc$useTableColumnResizeState","$8WNJc$react","$8WNJc$filterDOMProps","$8WNJc$useMultipleSelectionState","$8WNJc$Collection","$8WNJc$CollectionBuilder","$8WNJc$mergeRefs","$8WNJc$useControlledState","$8WNJc$useTableState","$8WNJc$UNSTABLE_useFilteredTableState","$8WNJc$useTable","$8WNJc$useLocale","$8WNJc$ListKeyboardDelegate","$8WNJc$useFocusRing","$8WNJc$FocusScope","$8WNJc$mergeProps","$8WNJc$CollectionNode","$8WNJc$createBranchComponent","$8WNJc$useCachedChildren","$8WNJc$useTableRowGroup","$8WNJc$useHover","$8WNJc$useTableHeaderRow","$8WNJc$useTableSelectAllCheckbox","$8WNJc$createLeafComponent","$8WNJc$useTableColumnHeader","$8WNJc$useLocalizedStringFormatter","$8WNJc$intlStringsmjs","$8WNJc$useTableColumnResize","$8WNJc$reactdom","$8WNJc$FilterableNode","$8WNJc$useTableRow","$8WNJc$useTableSelectionCheckbox","$8WNJc$useVisuallyHidden","$8WNJc$useTableCell","$8WNJc$LoaderNode","$8WNJc$useLoadMoreSentinel","$8WNJc$inertValue","$8MsPE$useHover","$8MsPE$useFocusRing","$8MsPE$react","$8MsPE$mergeProps","$hlfBT$createHideableComponent","$hlfBT$useTextField","$hlfBT$filterDOMProps","$hlfBT$react","__iconNode","__iconNode","__iconNode","__iconNode","__iconNode","__iconNode","__iconNode"],"sources":["../node_modules/clsx/dist/clsx.mjs","../node_modules/class-variance-authority/dist/index.mjs","../node_modules/react-aria/dist/private/utils/chain.mjs","../node_modules/react-aria/dist/private/utils/useLayoutEffect.mjs","../node_modules/react-aria/dist/private/ssr/SSRProvider.mjs","../node_modules/react-aria/dist/private/utils/useValueEffect.mjs","../node_modules/react-aria/dist/private/utils/useId.mjs","../node_modules/react-aria/dist/private/utils/mergeRefs.mjs","../node_modules/react-aria/dist/private/utils/mergeProps.mjs","../node_modules/react-aria/dist/private/utils/useObjectRef.mjs","../node_modules/react-aria-components/dist/private/utils.mjs","../node_modules/react-aria/dist/private/utils/constants.mjs","../node_modules/react-aria/dist/private/utils/domHelpers.mjs","../node_modules/react-stately/dist/private/flags/flags.mjs","../node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.mjs","../node_modules/react-aria/dist/private/focus/virtualFocus.mjs","../node_modules/react-aria/dist/private/utils/focusWithoutScrolling.mjs","../node_modules/react-aria/dist/private/utils/isElementVisible.mjs","../node_modules/react-aria/dist/private/utils/isFocusable.mjs","../node_modules/react-aria/dist/private/interactions/utils.mjs","../node_modules/react-aria/dist/private/utils/platform.mjs","../node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs","../node_modules/react-aria/dist/private/utils/openLink.mjs","../node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs","../node_modules/react-aria/dist/private/utils/keyboard.mjs","../node_modules/react-aria/dist/private/utils/useEffectEvent.mjs","../node_modules/react-aria/dist/private/utils/useEvent.mjs","../node_modules/react-aria/dist/private/utils/useLabels.mjs","../node_modules/react-aria/dist/private/i18n/utils.mjs","../node_modules/react-aria/dist/private/i18n/useDefaultLocale.mjs","../node_modules/react-aria/dist/private/i18n/I18nProvider.mjs","../node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs","../node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs","../node_modules/react-aria/dist/private/i18n/useLocalizedStringFormatter.mjs","../node_modules/react-stately/dist/private/utils/useControlledState.mjs","../node_modules/react-aria-components/dist/private/Autocomplete.mjs","../node_modules/react-aria/dist/private/collections/BaseCollection.mjs","../node_modules/react-aria/dist/private/collections/Document.mjs","../node_modules/react-aria/dist/private/collections/useCachedChildren.mjs","../node_modules/react-aria/dist/private/utils/runAfterTransition.mjs","../node_modules/react-aria/dist/private/interactions/focusSafely.mjs","../node_modules/react-aria/dist/private/interactions/useFocus.mjs","../node_modules/react-aria/dist/private/interactions/createEventHandler.mjs","../node_modules/react-aria/dist/private/interactions/useKeyboard.mjs","../node_modules/react-aria/dist/private/utils/useSyncRef.mjs","../node_modules/react-aria/dist/private/interactions/useFocusable.mjs","../node_modules/react-aria/dist/private/collections/Hidden.mjs","../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js","../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js","../node_modules/use-sync-external-store/shim/index.js","../node_modules/react-aria/dist/private/collections/CollectionBuilder.mjs","../node_modules/react-aria-components/dist/private/Collection.mjs","../node_modules/react-aria/dist/private/utils/filterDOMProps.mjs","../node_modules/react-aria/dist/private/interactions/textSelection.mjs","../node_modules/react-aria/dist/private/utils/getNonce.mjs","../node_modules/react-aria/dist/private/interactions/context.mjs","../node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs","../node_modules/react-aria/dist/private/interactions/usePress.mjs","../node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs","../node_modules/react-aria/dist/private/focus/useFocusRing.mjs","../node_modules/react-aria/dist/private/interactions/useHover.mjs","../node_modules/react-aria-components/dist/private/Label.mjs","../node_modules/react-aria/dist/private/label/useLabel.mjs","../node_modules/react-stately/dist/private/utils/number.mjs","../node_modules/react-aria-components/dist/private/ProgressBar.mjs","../node_modules/react-aria/dist/private/live-announcer/LiveAnnouncer.mjs","../node_modules/react-aria/dist/private/button/useButton.mjs","../node_modules/react-aria-components/dist/private/Button.mjs","../node_modules/react-aria-components/dist/private/Heading.mjs","../node_modules/react-aria-components/dist/private/Text.mjs","../node_modules/react-aria/dist/private/utils/useUpdateEffect.mjs","../node_modules/react-aria/dist/private/utils/isScrollable.mjs","../node_modules/react-aria/dist/private/utils/getScrollParent.mjs","../node_modules/react-aria/dist/private/utils/getScrollParents.mjs","../node_modules/react-aria/dist/private/utils/scrollIntoView.mjs","../node_modules/react-aria/dist/private/utils/useDescription.mjs","../node_modules/react-aria/dist/private/visually-hidden/VisuallyHidden.mjs","../node_modules/react-aria-components/dist/private/FieldError.mjs","../node_modules/react-stately/dist/private/form/useFormValidationState.mjs","../node_modules/react-aria-components/dist/private/Form.mjs","../node_modules/react-aria/dist/private/checkbox/utils.mjs","../node_modules/react-aria/dist/private/label/useField.mjs","../node_modules/react-aria/dist/private/checkbox/useCheckboxGroup.mjs","../node_modules/react-aria/dist/private/utils/useFormReset.mjs","../node_modules/react-aria/dist/private/form/useFormValidation.mjs","../node_modules/react-aria/dist/private/utils/useSlot.mjs","../node_modules/react-aria/dist/private/toggle/useToggle.mjs","../node_modules/react-aria/dist/private/checkbox/useCheckbox.mjs","../node_modules/react-stately/dist/private/toggle/useToggleState.mjs","../node_modules/react-aria/dist/private/checkbox/useCheckboxGroupItem.mjs","../node_modules/react-stately/dist/private/checkbox/useCheckboxGroupState.mjs","../node_modules/react-aria-components/dist/private/Checkbox.mjs","../node_modules/react-aria/dist/private/interactions/useMove.mjs","../node_modules/react-aria-components/dist/private/Group.mjs","../node_modules/react-aria-components/dist/private/Input.mjs","../node_modules/react-aria/dist/private/textfield/useTextField.mjs","../node_modules/react-aria-components/dist/private/intl/ar-AE.mjs","../node_modules/react-aria-components/dist/private/intl/bg-BG.mjs","../node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs","../node_modules/react-aria-components/dist/private/intl/da-DK.mjs","../node_modules/react-aria-components/dist/private/intl/de-DE.mjs","../node_modules/react-aria-components/dist/private/intl/el-GR.mjs","../node_modules/react-aria-components/dist/private/intl/en-US.mjs","../node_modules/react-aria-components/dist/private/intl/es-ES.mjs","../node_modules/react-aria-components/dist/private/intl/et-EE.mjs","../node_modules/react-aria-components/dist/private/intl/fi-FI.mjs","../node_modules/react-aria-components/dist/private/intl/fr-FR.mjs","../node_modules/react-aria-components/dist/private/intl/he-IL.mjs","../node_modules/react-aria-components/dist/private/intl/hr-HR.mjs","../node_modules/react-aria-components/dist/private/intl/hu-HU.mjs","../node_modules/react-aria-components/dist/private/intl/it-IT.mjs","../node_modules/react-aria-components/dist/private/intl/ja-JP.mjs","../node_modules/react-aria-components/dist/private/intl/ko-KR.mjs","../node_modules/react-aria-components/dist/private/intl/lt-LT.mjs","../node_modules/react-aria-components/dist/private/intl/lv-LV.mjs","../node_modules/react-aria-components/dist/private/intl/nb-NO.mjs","../node_modules/react-aria-components/dist/private/intl/nl-NL.mjs","../node_modules/react-aria-components/dist/private/intl/pl-PL.mjs","../node_modules/react-aria-components/dist/private/intl/pt-BR.mjs","../node_modules/react-aria-components/dist/private/intl/pt-PT.mjs","../node_modules/react-aria-components/dist/private/intl/ro-RO.mjs","../node_modules/react-aria-components/dist/private/intl/ru-RU.mjs","../node_modules/react-aria-components/dist/private/intl/sk-SK.mjs","../node_modules/react-aria-components/dist/private/intl/sl-SI.mjs","../node_modules/react-aria-components/dist/private/intl/sr-SP.mjs","../node_modules/react-aria-components/dist/private/intl/sv-SE.mjs","../node_modules/react-aria-components/dist/private/intl/tr-TR.mjs","../node_modules/react-aria-components/dist/private/intl/uk-UA.mjs","../node_modules/react-aria-components/dist/private/intl/zh-CN.mjs","../node_modules/react-aria-components/dist/private/intl/zh-TW.mjs","../node_modules/react-aria-components/dist/private/intlStrings.mjs","../node_modules/react-aria-components/dist/private/DragAndDrop.mjs","../node_modules/react-aria-components/dist/private/Header.mjs","../node_modules/react-aria-components/dist/private/SharedElementTransition.mjs","../node_modules/react-aria-components/dist/private/SelectionIndicator.mjs","../node_modules/react-aria/dist/private/separator/useSeparator.mjs","../node_modules/react-aria-components/dist/private/Separator.mjs","../node_modules/react-aria/dist/private/listbox/utils.mjs","../node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.mjs","../node_modules/react-aria/dist/private/focus/FocusScope.mjs","../node_modules/react-aria/dist/private/selection/utils.mjs","../node_modules/react-aria/dist/private/selection/useTypeSelect.mjs","../node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjs","../node_modules/react-aria/dist/private/selection/useSelectableCollection.mjs","../node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.mjs","../node_modules/react-aria/dist/private/selection/ListKeyboardDelegate.mjs","../node_modules/react-aria/dist/private/i18n/useCollator.mjs","../node_modules/react-aria/dist/private/selection/useSelectableList.mjs","../node_modules/react-aria/dist/private/listbox/useListBox.mjs","../node_modules/react-aria/dist/private/interactions/useLongPress.mjs","../node_modules/react-aria/dist/private/selection/useSelectableItem.mjs","../node_modules/react-stately/dist/private/collections/getChildNodes.mjs","../node_modules/react-stately/dist/private/collections/getItemCount.mjs","../node_modules/react-aria/dist/private/listbox/useOption.mjs","../node_modules/react-aria/dist/private/listbox/useListBoxSection.mjs","../node_modules/react-aria/dist/private/utils/inertValue.mjs","../node_modules/react-stately/dist/private/list/ListCollection.mjs","../node_modules/react-stately/dist/private/selection/Selection.mjs","../node_modules/react-stately/dist/private/selection/useMultipleSelectionState.mjs","../node_modules/react-stately/dist/private/selection/SelectionManager.mjs","../node_modules/react-stately/dist/private/collections/CollectionBuilder.mjs","../node_modules/react-stately/dist/private/collections/useCollection.mjs","../node_modules/react-stately/dist/private/list/useListState.mjs","../node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs","../node_modules/react-aria-components/dist/private/ListBox.mjs","../node_modules/react-aria-components/dist/private/OverlayArrow.mjs","../node_modules/react-aria/dist/private/overlays/ariaHideOutside.mjs","../node_modules/react-aria/dist/private/overlays/calculatePosition.mjs","../node_modules/react-aria/dist/private/overlays/useCloseOnScroll.mjs","../node_modules/react-aria/dist/private/utils/useResizeObserver.mjs","../node_modules/react-aria/dist/private/overlays/useOverlayPosition.mjs","../node_modules/react-aria/dist/private/interactions/useInteractOutside.mjs","../node_modules/react-aria/dist/private/overlays/useOverlay.mjs","../node_modules/react-aria/dist/private/overlays/usePreventScroll.mjs","../node_modules/react-aria/dist/private/overlays/usePopover.mjs","../node_modules/react-aria/dist/private/intl/overlays/ar-AE.mjs","../node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjs","../node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjs","../node_modules/react-aria/dist/private/intl/overlays/da-DK.mjs","../node_modules/react-aria/dist/private/intl/overlays/de-DE.mjs","../node_modules/react-aria/dist/private/intl/overlays/el-GR.mjs","../node_modules/react-aria/dist/private/intl/overlays/en-US.mjs","../node_modules/react-aria/dist/private/intl/overlays/es-ES.mjs","../node_modules/react-aria/dist/private/intl/overlays/et-EE.mjs","../node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjs","../node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjs","../node_modules/react-aria/dist/private/intl/overlays/he-IL.mjs","../node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjs","../node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjs","../node_modules/react-aria/dist/private/intl/overlays/it-IT.mjs","../node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs","../node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs","../node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs","../node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs","../node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs","../node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs","../node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs","../node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs","../node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs","../node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs","../node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs","../node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs","../node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs","../node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs","../node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs","../node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs","../node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs","../node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs","../node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs","../node_modules/react-aria/dist/private/overlays/intlStrings.mjs","../node_modules/react-aria/dist/private/overlays/DismissButton.mjs","../node_modules/react-aria/dist/private/interactions/PressResponder.mjs","../node_modules/react-aria/dist/private/overlays/PortalProvider.mjs","../node_modules/react-aria/dist/private/overlays/Overlay.mjs","../node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs","../node_modules/react-aria/dist/private/utils/animation.mjs","../node_modules/react-aria-components/dist/private/Popover.mjs","../node_modules/react-aria-components/dist/private/Keyboard.mjs","../node_modules/react-aria/dist/private/intl/menu/ar-AE.mjs","../node_modules/react-aria/dist/private/intl/menu/bg-BG.mjs","../node_modules/react-aria/dist/private/intl/menu/cs-CZ.mjs","../node_modules/react-aria/dist/private/intl/menu/da-DK.mjs","../node_modules/react-aria/dist/private/intl/menu/de-DE.mjs","../node_modules/react-aria/dist/private/intl/menu/el-GR.mjs","../node_modules/react-aria/dist/private/intl/menu/en-US.mjs","../node_modules/react-aria/dist/private/intl/menu/es-ES.mjs","../node_modules/react-aria/dist/private/intl/menu/et-EE.mjs","../node_modules/react-aria/dist/private/intl/menu/fi-FI.mjs","../node_modules/react-aria/dist/private/intl/menu/fr-FR.mjs","../node_modules/react-aria/dist/private/intl/menu/he-IL.mjs","../node_modules/react-aria/dist/private/intl/menu/hr-HR.mjs","../node_modules/react-aria/dist/private/intl/menu/hu-HU.mjs","../node_modules/react-aria/dist/private/intl/menu/it-IT.mjs","../node_modules/react-aria/dist/private/intl/menu/ja-JP.mjs","../node_modules/react-aria/dist/private/intl/menu/ko-KR.mjs","../node_modules/react-aria/dist/private/intl/menu/lt-LT.mjs","../node_modules/react-aria/dist/private/intl/menu/lv-LV.mjs","../node_modules/react-aria/dist/private/intl/menu/nb-NO.mjs","../node_modules/react-aria/dist/private/intl/menu/nl-NL.mjs","../node_modules/react-aria/dist/private/intl/menu/pl-PL.mjs","../node_modules/react-aria/dist/private/intl/menu/pt-BR.mjs","../node_modules/react-aria/dist/private/intl/menu/pt-PT.mjs","../node_modules/react-aria/dist/private/intl/menu/ro-RO.mjs","../node_modules/react-aria/dist/private/intl/menu/ru-RU.mjs","../node_modules/react-aria/dist/private/intl/menu/sk-SK.mjs","../node_modules/react-aria/dist/private/intl/menu/sl-SI.mjs","../node_modules/react-aria/dist/private/intl/menu/sr-SP.mjs","../node_modules/react-aria/dist/private/intl/menu/sv-SE.mjs","../node_modules/react-aria/dist/private/intl/menu/tr-TR.mjs","../node_modules/react-aria/dist/private/intl/menu/uk-UA.mjs","../node_modules/react-aria/dist/private/intl/menu/zh-CN.mjs","../node_modules/react-aria/dist/private/intl/menu/zh-TW.mjs","../node_modules/react-aria/dist/private/menu/intlStrings.mjs","../node_modules/react-aria/dist/private/overlays/useOverlayTrigger.mjs","../node_modules/react-aria/dist/private/menu/useMenuTrigger.mjs","../node_modules/react-aria/dist/private/menu/utils.mjs","../node_modules/react-aria/dist/private/menu/useMenu.mjs","../node_modules/react-aria/dist/private/menu/useMenuItem.mjs","../node_modules/react-aria/dist/private/menu/useMenuSection.mjs","../node_modules/react-aria/dist/private/menu/useSafelyMouseToSubmenu.mjs","../node_modules/react-aria/dist/private/menu/useSubmenuTrigger.mjs","../node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjs","../node_modules/react-stately/dist/private/menu/useSubmenuTriggerState.mjs","../node_modules/react-stately/dist/private/tree/TreeCollection.mjs","../node_modules/react-stately/dist/private/tree/useTreeState.mjs","../node_modules/react-aria-components/dist/private/Menu.mjs","../node_modules/react-aria/dist/private/dialog/useDialog.mjs","../node_modules/react-aria-components/dist/private/Dialog.mjs","../node_modules/react-aria/dist/private/i18n/useListFormatter.mjs","../node_modules/react-aria/dist/private/intl/grid/ar-AE.mjs","../node_modules/react-aria/dist/private/intl/grid/bg-BG.mjs","../node_modules/react-aria/dist/private/intl/grid/cs-CZ.mjs","../node_modules/react-aria/dist/private/intl/grid/da-DK.mjs","../node_modules/react-aria/dist/private/intl/grid/de-DE.mjs","../node_modules/react-aria/dist/private/intl/grid/el-GR.mjs","../node_modules/react-aria/dist/private/intl/grid/en-US.mjs","../node_modules/react-aria/dist/private/intl/grid/es-ES.mjs","../node_modules/react-aria/dist/private/intl/grid/et-EE.mjs","../node_modules/react-aria/dist/private/intl/grid/fi-FI.mjs","../node_modules/react-aria/dist/private/intl/grid/fr-FR.mjs","../node_modules/react-aria/dist/private/intl/grid/he-IL.mjs","../node_modules/react-aria/dist/private/intl/grid/hr-HR.mjs","../node_modules/react-aria/dist/private/intl/grid/hu-HU.mjs","../node_modules/react-aria/dist/private/intl/grid/it-IT.mjs","../node_modules/react-aria/dist/private/intl/grid/ja-JP.mjs","../node_modules/react-aria/dist/private/intl/grid/ko-KR.mjs","../node_modules/react-aria/dist/private/intl/grid/lt-LT.mjs","../node_modules/react-aria/dist/private/intl/grid/lv-LV.mjs","../node_modules/react-aria/dist/private/intl/grid/nb-NO.mjs","../node_modules/react-aria/dist/private/intl/grid/nl-NL.mjs","../node_modules/react-aria/dist/private/intl/grid/pl-PL.mjs","../node_modules/react-aria/dist/private/intl/grid/pt-BR.mjs","../node_modules/react-aria/dist/private/intl/grid/pt-PT.mjs","../node_modules/react-aria/dist/private/intl/grid/ro-RO.mjs","../node_modules/react-aria/dist/private/intl/grid/ru-RU.mjs","../node_modules/react-aria/dist/private/intl/grid/sk-SK.mjs","../node_modules/react-aria/dist/private/intl/grid/sl-SI.mjs","../node_modules/react-aria/dist/private/intl/grid/sr-SP.mjs","../node_modules/react-aria/dist/private/intl/grid/sv-SE.mjs","../node_modules/react-aria/dist/private/intl/grid/tr-TR.mjs","../node_modules/react-aria/dist/private/intl/grid/uk-UA.mjs","../node_modules/react-aria/dist/private/intl/grid/zh-CN.mjs","../node_modules/react-aria/dist/private/intl/grid/zh-TW.mjs","../node_modules/react-aria/dist/private/grid/intlStrings.mjs","../node_modules/react-aria/dist/private/grid/useGridSelectionAnnouncement.mjs","../node_modules/react-aria/dist/private/focus/useHasTabbableChild.mjs","../node_modules/react-aria/dist/private/grid/useHighlightSelectionDescription.mjs","../node_modules/react-aria/dist/private/grid/useGridSelectionCheckbox.mjs","../node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs","../node_modules/react-aria/dist/private/utils/useViewportSize.mjs","../node_modules/react-aria-components/dist/private/Modal.mjs","../node_modules/react-aria/dist/private/intl/searchfield/ar-AE.mjs","../node_modules/react-aria/dist/private/intl/searchfield/bg-BG.mjs","../node_modules/react-aria/dist/private/intl/searchfield/cs-CZ.mjs","../node_modules/react-aria/dist/private/intl/searchfield/da-DK.mjs","../node_modules/react-aria/dist/private/intl/searchfield/de-DE.mjs","../node_modules/react-aria/dist/private/intl/searchfield/el-GR.mjs","../node_modules/react-aria/dist/private/intl/searchfield/en-US.mjs","../node_modules/react-aria/dist/private/intl/searchfield/es-ES.mjs","../node_modules/react-aria/dist/private/intl/searchfield/et-EE.mjs","../node_modules/react-aria/dist/private/intl/searchfield/fi-FI.mjs","../node_modules/react-aria/dist/private/intl/searchfield/fr-FR.mjs","../node_modules/react-aria/dist/private/intl/searchfield/he-IL.mjs","../node_modules/react-aria/dist/private/intl/searchfield/hr-HR.mjs","../node_modules/react-aria/dist/private/intl/searchfield/hu-HU.mjs","../node_modules/react-aria/dist/private/intl/searchfield/it-IT.mjs","../node_modules/react-aria/dist/private/intl/searchfield/ja-JP.mjs","../node_modules/react-aria/dist/private/intl/searchfield/ko-KR.mjs","../node_modules/react-aria/dist/private/intl/searchfield/lt-LT.mjs","../node_modules/react-aria/dist/private/intl/searchfield/lv-LV.mjs","../node_modules/react-aria/dist/private/intl/searchfield/nb-NO.mjs","../node_modules/react-aria/dist/private/intl/searchfield/nl-NL.mjs","../node_modules/react-aria/dist/private/intl/searchfield/pl-PL.mjs","../node_modules/react-aria/dist/private/intl/searchfield/pt-BR.mjs","../node_modules/react-aria/dist/private/intl/searchfield/pt-PT.mjs","../node_modules/react-aria/dist/private/intl/searchfield/ro-RO.mjs","../node_modules/react-aria/dist/private/intl/searchfield/ru-RU.mjs","../node_modules/react-aria/dist/private/intl/searchfield/sk-SK.mjs","../node_modules/react-aria/dist/private/intl/searchfield/sl-SI.mjs","../node_modules/react-aria/dist/private/intl/searchfield/sr-SP.mjs","../node_modules/react-aria/dist/private/intl/searchfield/sv-SE.mjs","../node_modules/react-aria/dist/private/intl/searchfield/tr-TR.mjs","../node_modules/react-aria/dist/private/intl/searchfield/uk-UA.mjs","../node_modules/react-aria/dist/private/intl/searchfield/zh-CN.mjs","../node_modules/react-aria/dist/private/intl/searchfield/zh-TW.mjs","../node_modules/react-aria/dist/private/searchfield/intlStrings.mjs","../node_modules/react-aria/dist/private/searchfield/useSearchField.mjs","../node_modules/react-stately/dist/private/searchfield/useSearchFieldState.mjs","../node_modules/react-aria-components/dist/private/SearchField.mjs","../node_modules/react-aria/dist/private/select/useSelect.mjs","../node_modules/react-aria/dist/private/select/HiddenSelect.mjs","../node_modules/react-stately/dist/private/select/useSelectState.mjs","../node_modules/react-aria-components/dist/private/Select.mjs","../node_modules/react-aria-components/dist/private/TreeDropTargetDelegate.mjs","../node_modules/react-stately/dist/private/grid/GridCollection.mjs","../node_modules/react-stately/dist/private/table/TableCollection.mjs","../node_modules/react-stately/dist/private/table/TableUtils.mjs","../node_modules/react-stately/dist/private/table/TableColumnLayout.mjs","../node_modules/react-stately/dist/private/table/useTableColumnResizeState.mjs","../node_modules/react-stately/dist/private/grid/useGridState.mjs","../node_modules/react-stately/dist/private/table/useTableState.mjs","../node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs","../node_modules/react-aria/dist/private/grid/utils.mjs","../node_modules/react-aria/dist/private/grid/useGrid.mjs","../node_modules/react-aria/dist/private/table/utils.mjs","../node_modules/react-aria/dist/private/intl/table/ar-AE.mjs","../node_modules/react-aria/dist/private/intl/table/bg-BG.mjs","../node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs","../node_modules/react-aria/dist/private/intl/table/da-DK.mjs","../node_modules/react-aria/dist/private/intl/table/de-DE.mjs","../node_modules/react-aria/dist/private/intl/table/el-GR.mjs","../node_modules/react-aria/dist/private/intl/table/en-US.mjs","../node_modules/react-aria/dist/private/intl/table/es-ES.mjs","../node_modules/react-aria/dist/private/intl/table/et-EE.mjs","../node_modules/react-aria/dist/private/intl/table/fi-FI.mjs","../node_modules/react-aria/dist/private/intl/table/fr-FR.mjs","../node_modules/react-aria/dist/private/intl/table/he-IL.mjs","../node_modules/react-aria/dist/private/intl/table/hr-HR.mjs","../node_modules/react-aria/dist/private/intl/table/hu-HU.mjs","../node_modules/react-aria/dist/private/intl/table/it-IT.mjs","../node_modules/react-aria/dist/private/intl/table/ja-JP.mjs","../node_modules/react-aria/dist/private/intl/table/ko-KR.mjs","../node_modules/react-aria/dist/private/intl/table/lt-LT.mjs","../node_modules/react-aria/dist/private/intl/table/lv-LV.mjs","../node_modules/react-aria/dist/private/intl/table/nb-NO.mjs","../node_modules/react-aria/dist/private/intl/table/nl-NL.mjs","../node_modules/react-aria/dist/private/intl/table/pl-PL.mjs","../node_modules/react-aria/dist/private/intl/table/pt-BR.mjs","../node_modules/react-aria/dist/private/intl/table/pt-PT.mjs","../node_modules/react-aria/dist/private/intl/table/ro-RO.mjs","../node_modules/react-aria/dist/private/intl/table/ru-RU.mjs","../node_modules/react-aria/dist/private/intl/table/sk-SK.mjs","../node_modules/react-aria/dist/private/intl/table/sl-SI.mjs","../node_modules/react-aria/dist/private/intl/table/sr-SP.mjs","../node_modules/react-aria/dist/private/intl/table/sv-SE.mjs","../node_modules/react-aria/dist/private/intl/table/tr-TR.mjs","../node_modules/react-aria/dist/private/intl/table/uk-UA.mjs","../node_modules/react-aria/dist/private/intl/table/zh-CN.mjs","../node_modules/react-aria/dist/private/intl/table/zh-TW.mjs","../node_modules/react-aria/dist/private/table/intlStrings.mjs","../node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs","../node_modules/react-aria/dist/private/table/useTable.mjs","../node_modules/react-aria/dist/private/grid/useGridCell.mjs","../node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs","../node_modules/react-aria/dist/private/grid/useGridRow.mjs","../node_modules/react-aria/dist/private/table/useTableRow.mjs","../node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs","../node_modules/react-aria/dist/private/table/useTableCell.mjs","../node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs","../node_modules/react-aria/dist/private/table/useTableColumnResize.mjs","../node_modules/react-aria/dist/private/grid/useGridRowGroup.mjs","../node_modules/react-aria/dist/private/table/useTableRowGroup.mjs","../node_modules/react-aria-components/dist/private/Table.mjs","../node_modules/react-aria-components/dist/private/TextArea.mjs","../node_modules/react-aria-components/dist/private/TextField.mjs","../node_modules/tailwind-merge/dist/bundle-mjs.mjs","../src/lib/utils.ts","../src/components/button/Button.tsx","../src/components/textfield/Field.tsx","../src/components/textfield/Textfield.tsx","../node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.mjs","../node_modules/lucide-react/dist/esm/shared/src/utils/toKebabCase.mjs","../node_modules/lucide-react/dist/esm/shared/src/utils/toCamelCase.mjs","../node_modules/lucide-react/dist/esm/shared/src/utils/toPascalCase.mjs","../node_modules/lucide-react/dist/esm/defaultAttributes.mjs","../node_modules/lucide-react/dist/esm/shared/src/utils/hasA11yProp.mjs","../node_modules/lucide-react/dist/esm/context.mjs","../node_modules/lucide-react/dist/esm/Icon.mjs","../node_modules/lucide-react/dist/esm/createLucideIcon.mjs","../node_modules/lucide-react/dist/esm/icons/arrow-up-down.mjs","../node_modules/lucide-react/dist/esm/icons/check.mjs","../node_modules/lucide-react/dist/esm/icons/chevron-down.mjs","../node_modules/lucide-react/dist/esm/icons/chevron-right.mjs","../node_modules/lucide-react/dist/esm/icons/circle.mjs","../node_modules/lucide-react/dist/esm/icons/minus.mjs","../node_modules/lucide-react/dist/esm/icons/search.mjs","../node_modules/lucide-react/dist/esm/icons/x.mjs","../src/components/searchfield/Searchfield.tsx","../src/components/popover/Popover.tsx","../src/components/checkbox/Checkbox.tsx","../src/components/table/Table.tsx","../src/components/list-box/List-box.tsx","../src/components/select/Select.tsx","../src/components/dialog/Dialog.tsx","../src/components/menu/Menu.tsx"],"sourcesContent":["function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=\" \"),n+=f)}else for(f in e)e[f]&&(n&&(n+=\" \"),n+=f);return n}export function clsx(){for(var e,t,f=0,n=\"\",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=\" \"),n+=t);return n}export default clsx;","/**\n * Copyright 2022 Joe Bell. All rights reserved.\n *\n * This file is licensed to you under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with the\n * License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR REPRESENTATIONS OF ANY KIND, either express or implied. See the\n * License for the specific language governing permissions and limitations under\n * the License.\n */ import { clsx } from \"clsx\";\nconst falsyToString = (value)=>typeof value === \"boolean\" ? `${value}` : value === 0 ? \"0\" : value;\nexport const cx = clsx;\nexport const cva = (base, config)=>(props)=>{\n var _config_compoundVariants;\n if ((config === null || config === void 0 ? void 0 : config.variants) == null) return cx(base, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);\n const { variants, defaultVariants } = config;\n const getVariantClassNames = Object.keys(variants).map((variant)=>{\n const variantProp = props === null || props === void 0 ? void 0 : props[variant];\n const defaultVariantProp = defaultVariants === null || defaultVariants === void 0 ? void 0 : defaultVariants[variant];\n if (variantProp === null) return null;\n const variantKey = falsyToString(variantProp) || falsyToString(defaultVariantProp);\n return variants[variant][variantKey];\n });\n const propsWithoutUndefined = props && Object.entries(props).reduce((acc, param)=>{\n let [key, value] = param;\n if (value === undefined) {\n return acc;\n }\n acc[key] = value;\n return acc;\n }, {});\n const getCompoundVariantClassNames = config === null || config === void 0 ? void 0 : (_config_compoundVariants = config.compoundVariants) === null || _config_compoundVariants === void 0 ? void 0 : _config_compoundVariants.reduce((acc, param)=>{\n let { class: cvClass, className: cvClassName, ...compoundVariantOptions } = param;\n return Object.entries(compoundVariantOptions).every((param)=>{\n let [key, value] = param;\n return Array.isArray(value) ? value.includes({\n ...defaultVariants,\n ...propsWithoutUndefined\n }[key]) : ({\n ...defaultVariants,\n ...propsWithoutUndefined\n })[key] === value;\n }) ? [\n ...acc,\n cvClass,\n cvClassName\n ] : acc;\n }, []);\n return cx(base, getVariantClassNames, getCompoundVariantClassNames, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);\n };\n\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ /**\n * Calls all functions in the order they were chained with the same arguments.\n */ function $a4e76a5424781910$export$e08e3b67e392101e(...callbacks) {\n return (...args)=>{\n for (let callback of callbacks)if (typeof callback === 'function') callback(...args);\n };\n}\n\n\nexport {$a4e76a5424781910$export$e08e3b67e392101e as chain};\n//# sourceMappingURL=chain.mjs.map\n","import $3ARPR$react from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nconst $c4867b2f328c2698$export$e5c5a5f917a5871c = typeof document !== 'undefined' ? (0, $3ARPR$react).useLayoutEffect : ()=>{};\n\n\nexport {$c4867b2f328c2698$export$e5c5a5f917a5871c as useLayoutEffect};\n//# sourceMappingURL=useLayoutEffect.mjs.map\n","import $bl59K$react, {useContext as $bl59K$useContext, useState as $bl59K$useState, useMemo as $bl59K$useMemo, useLayoutEffect as $bl59K$useLayoutEffect, useRef as $bl59K$useRef} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ // We must avoid a circular dependency with @react-aria/utils, and this useLayoutEffect is\n// guarded by a check that it only runs on the client side.\n// eslint-disable-next-line rsp-rules/use-layout-effect-rule\n\n// Default context value to use in case there is no SSRProvider. This is fine for\n// client-only apps. In order to support multiple copies of React Aria potentially\n// being on the page at once, the prefix is set to a random number. SSRProvider\n// will reset this to zero for consistency between server and client, so in the\n// SSR case multiple copies of React Aria is not supported.\nconst $c7eafbbe1ea5834e$var$defaultContext = {\n prefix: String(Math.round(Math.random() * 10000000000)),\n current: 0\n};\nconst $c7eafbbe1ea5834e$var$SSRContext = /*#__PURE__*/ (0, $bl59K$react).createContext($c7eafbbe1ea5834e$var$defaultContext);\nconst $c7eafbbe1ea5834e$var$IsSSRContext = /*#__PURE__*/ (0, $bl59K$react).createContext(false);\n// This is only used in React < 18.\nfunction $c7eafbbe1ea5834e$var$LegacySSRProvider(props) {\n let cur = (0, $bl59K$useContext)($c7eafbbe1ea5834e$var$SSRContext);\n let counter = $c7eafbbe1ea5834e$var$useCounter(cur === $c7eafbbe1ea5834e$var$defaultContext);\n let [isSSR, setIsSSR] = (0, $bl59K$useState)(true);\n let value = (0, $bl59K$useMemo)(()=>({\n // If this is the first SSRProvider, start with an empty string prefix, otherwise\n // append and increment the counter.\n prefix: cur === $c7eafbbe1ea5834e$var$defaultContext ? '' : `${cur.prefix}-${counter}`,\n current: 0\n }), [\n cur,\n counter\n ]);\n // If on the client, and the component was initially server rendered,\n // then schedule a layout effect to update the component after hydration.\n if (typeof document !== 'undefined') // This if statement technically breaks the rules of hooks, but is safe\n // because the condition never changes after mounting.\n // eslint-disable-next-line react-hooks/rules-of-hooks\n (0, $bl59K$useLayoutEffect)(()=>{\n setIsSSR(false);\n }, []);\n return /*#__PURE__*/ (0, $bl59K$react).createElement($c7eafbbe1ea5834e$var$SSRContext.Provider, {\n value: value\n }, /*#__PURE__*/ (0, $bl59K$react).createElement($c7eafbbe1ea5834e$var$IsSSRContext.Provider, {\n value: isSSR\n }, props.children));\n}\nlet $c7eafbbe1ea5834e$var$warnedAboutSSRProvider = false;\nfunction $c7eafbbe1ea5834e$export$9f8ac96af4b1b2ae(props) {\n if (typeof (0, $bl59K$react)['useId'] === 'function') {\n if (process.env.NODE_ENV !== 'test' && process.env.NODE_ENV !== 'production' && !$c7eafbbe1ea5834e$var$warnedAboutSSRProvider) {\n console.warn('In React 18, SSRProvider is not necessary and is a noop. You can remove it from your app.');\n $c7eafbbe1ea5834e$var$warnedAboutSSRProvider = true;\n }\n return /*#__PURE__*/ (0, $bl59K$react).createElement((0, $bl59K$react).Fragment, null, props.children);\n }\n return /*#__PURE__*/ (0, $bl59K$react).createElement($c7eafbbe1ea5834e$var$LegacySSRProvider, props);\n}\nlet $c7eafbbe1ea5834e$var$canUseDOM = Boolean(typeof window !== 'undefined' && window.document && window.document.createElement);\nlet $c7eafbbe1ea5834e$var$componentIds = new WeakMap();\nfunction $c7eafbbe1ea5834e$var$useCounter(isDisabled = false) {\n let ctx = (0, $bl59K$useContext)($c7eafbbe1ea5834e$var$SSRContext);\n let ref = (0, $bl59K$useRef)(null);\n // eslint-disable-next-line rsp-rules/pure-render\n if (ref.current === null && !isDisabled) {\n // In strict mode, React renders components twice, and the ref will be reset to null on the second render.\n // This means our id counter will be incremented twice instead of once. This is a problem because on the\n // server, components are only rendered once and so ids generated on the server won't match the client.\n // In React 18, useId was introduced to solve this, but it is not available in older versions. So to solve this\n // we need to use some React internals to access the underlying Fiber instance, which is stable between renders.\n // This is exposed as ReactCurrentOwner in development, which is all we need since StrictMode only runs in development.\n // To ensure that we only increment the global counter once, we store the starting id for this component in\n // a weak map associated with the Fiber. On the second render, we reset the global counter to this value.\n // Since React runs the second render immediately after the first, this is safe.\n let currentOwner = // @ts-ignore\n (0, $bl59K$react).__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;\n if (currentOwner) {\n let prevComponentValue = $c7eafbbe1ea5834e$var$componentIds.get(currentOwner);\n if (prevComponentValue == null) // On the first render, and first call to useId, store the id and state in our weak map.\n $c7eafbbe1ea5834e$var$componentIds.set(currentOwner, {\n id: ctx.current,\n state: currentOwner.memoizedState\n });\n else if (currentOwner.memoizedState !== prevComponentValue.state) {\n // On the second render, the memoizedState gets reset by React.\n // Reset the counter, and remove from the weak map so we don't\n // do this for subsequent useId calls.\n ctx.current = prevComponentValue.id;\n $c7eafbbe1ea5834e$var$componentIds.delete(currentOwner);\n }\n }\n // eslint-disable-next-line rsp-rules/pure-render\n ref.current = ++ctx.current;\n }\n // eslint-disable-next-line rsp-rules/pure-render\n return ref.current;\n}\nfunction $c7eafbbe1ea5834e$var$useLegacySSRSafeId(defaultId) {\n let ctx = (0, $bl59K$useContext)($c7eafbbe1ea5834e$var$SSRContext);\n // If we are rendering in a non-DOM environment, and there's no SSRProvider,\n // provide a warning to hint to the developer to add one.\n if (ctx === $c7eafbbe1ea5834e$var$defaultContext && !$c7eafbbe1ea5834e$var$canUseDOM && process.env.NODE_ENV !== 'production') console.warn('When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.');\n let counter = $c7eafbbe1ea5834e$var$useCounter(!!defaultId);\n let prefix = ctx === $c7eafbbe1ea5834e$var$defaultContext && process.env.NODE_ENV === 'test' ? 'react-aria' : `react-aria${ctx.prefix}`;\n return defaultId || `${prefix}-${counter}`;\n}\nfunction $c7eafbbe1ea5834e$var$useModernSSRSafeId(defaultId) {\n let id = (0, $bl59K$react).useId();\n let [didSSR] = (0, $bl59K$useState)($c7eafbbe1ea5834e$export$535bd6ca7f90a273());\n let prefix = didSSR || process.env.NODE_ENV === 'test' ? 'react-aria' : `react-aria${$c7eafbbe1ea5834e$var$defaultContext.prefix}`;\n return defaultId || `${prefix}-${id}`;\n}\nconst $c7eafbbe1ea5834e$export$619500959fc48b26 = typeof (0, $bl59K$react)['useId'] === 'function' ? $c7eafbbe1ea5834e$var$useModernSSRSafeId : $c7eafbbe1ea5834e$var$useLegacySSRSafeId;\nfunction $c7eafbbe1ea5834e$var$getSnapshot() {\n return false;\n}\nfunction $c7eafbbe1ea5834e$var$getServerSnapshot() {\n return true;\n}\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction $c7eafbbe1ea5834e$var$subscribe(onStoreChange) {\n // noop\n return ()=>{};\n}\nfunction $c7eafbbe1ea5834e$export$535bd6ca7f90a273() {\n // In React 18, we can use useSyncExternalStore to detect if we're server rendering or hydrating.\n if (typeof (0, $bl59K$react)['useSyncExternalStore'] === 'function') return (0, $bl59K$react)['useSyncExternalStore']($c7eafbbe1ea5834e$var$subscribe, $c7eafbbe1ea5834e$var$getSnapshot, $c7eafbbe1ea5834e$var$getServerSnapshot);\n // eslint-disable-next-line react-hooks/rules-of-hooks\n return (0, $bl59K$useContext)($c7eafbbe1ea5834e$var$IsSSRContext);\n}\n\n\nexport {$c7eafbbe1ea5834e$export$9f8ac96af4b1b2ae as SSRProvider, $c7eafbbe1ea5834e$export$535bd6ca7f90a273 as useIsSSR, $c7eafbbe1ea5834e$export$619500959fc48b26 as useSSRSafeId};\n//# sourceMappingURL=SSRProvider.mjs.map\n","import {useLayoutEffect as $c4867b2f328c2698$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport {useState as $dPTrK$useState, useRef as $dPTrK$useRef, useCallback as $dPTrK$useCallback} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $1a716630a9e3a599$export$14d238f342723f25(defaultValue) {\n let [value, setValue] = (0, $dPTrK$useState)(defaultValue);\n // Keep an up to date copy of value in a ref so we can access the current value in the generator.\n // This allows us to maintain a stable queue function.\n let currValue = (0, $dPTrK$useRef)(value);\n let effect = (0, $dPTrK$useRef)(null);\n // Store the function in a ref so we can always access the current version\n // which has the proper `value` in scope.\n let nextRef = (0, $dPTrK$useRef)(()=>{\n if (!effect.current) return;\n // Run the generator to the next yield.\n let newValue = effect.current.next();\n // If the generator is done, reset the effect.\n if (newValue.done) {\n effect.current = null;\n return;\n }\n // If the value is the same as the current value,\n // then continue to the next yield. Otherwise,\n // set the value in state and wait for the next layout effect.\n if (currValue.current === newValue.value) nextRef.current();\n else setValue(newValue.value);\n });\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n currValue.current = value;\n // If there is an effect currently running, continue to the next yield.\n if (effect.current) nextRef.current();\n });\n let queue = (0, $dPTrK$useCallback)((fn)=>{\n effect.current = fn(currValue.current);\n nextRef.current();\n }, [\n nextRef\n ]);\n return [\n value,\n queue\n ];\n}\n\n\nexport {$1a716630a9e3a599$export$14d238f342723f25 as useValueEffect};\n//# sourceMappingURL=useValueEffect.mjs.map\n","import {useLayoutEffect as $c4867b2f328c2698$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport {useSSRSafeId as $c7eafbbe1ea5834e$export$619500959fc48b26} from \"../ssr/SSRProvider.mjs\";\nimport {useValueEffect as $1a716630a9e3a599$export$14d238f342723f25} from \"./useValueEffect.mjs\";\nimport {useState as $4QKZm$useState, useRef as $4QKZm$useRef, useEffect as $4QKZm$useEffect, useCallback as $4QKZm$useCallback} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n// copied from SSRProvider.tsx to reduce exports, if needed again, consider sharing\nlet $390e54f620492c70$var$canUseDOM = Boolean(typeof window !== 'undefined' && window.document && window.document.createElement);\nlet $390e54f620492c70$export$d41a04c74483c6ef = new Map();\n// This allows us to clean up the idsUpdaterMap when the id is no longer used.\n// Map is a strong reference, so unused ids wouldn't be cleaned up otherwise.\n// This can happen in suspended components where mount/unmount is not called.\nlet $390e54f620492c70$var$registry;\nif (typeof FinalizationRegistry !== 'undefined') $390e54f620492c70$var$registry = new FinalizationRegistry((heldValue)=>{\n $390e54f620492c70$export$d41a04c74483c6ef.delete(heldValue);\n});\nfunction $390e54f620492c70$export$f680877a34711e37(defaultId) {\n let [value, setValue] = (0, $4QKZm$useState)(defaultId);\n let nextId = (0, $4QKZm$useRef)(null);\n let res = (0, $c7eafbbe1ea5834e$export$619500959fc48b26)(value);\n let cleanupRef = (0, $4QKZm$useRef)(null);\n if ($390e54f620492c70$var$registry) $390e54f620492c70$var$registry.register(cleanupRef, res);\n if ($390e54f620492c70$var$canUseDOM) {\n const cacheIdRef = $390e54f620492c70$export$d41a04c74483c6ef.get(res);\n if (cacheIdRef && !cacheIdRef.includes(nextId)) cacheIdRef.push(nextId);\n else $390e54f620492c70$export$d41a04c74483c6ef.set(res, [\n nextId\n ]);\n }\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n let r = res;\n return ()=>{\n // In Suspense, the cleanup function may be not called\n // when it is though, also remove it from the finalization registry.\n if ($390e54f620492c70$var$registry) $390e54f620492c70$var$registry.unregister(cleanupRef);\n $390e54f620492c70$export$d41a04c74483c6ef.delete(r);\n };\n }, [\n res\n ]);\n // This cannot cause an infinite loop because the ref is always cleaned up.\n // eslint-disable-next-line\n (0, $4QKZm$useEffect)(()=>{\n let newId = nextId.current;\n if (newId) setValue(newId);\n return ()=>{\n if (newId) nextId.current = null;\n };\n });\n return res;\n}\nfunction $390e54f620492c70$export$cd8c9cb68f842629(idA, idB) {\n if (idA === idB) return idA;\n let setIdsA = $390e54f620492c70$export$d41a04c74483c6ef.get(idA);\n if (setIdsA) {\n setIdsA.forEach((ref)=>ref.current = idB);\n return idB;\n }\n let setIdsB = $390e54f620492c70$export$d41a04c74483c6ef.get(idB);\n if (setIdsB) {\n setIdsB.forEach((ref)=>ref.current = idA);\n return idA;\n }\n return idB;\n}\nfunction $390e54f620492c70$export$b4cc09c592e8fdb8(depArray = []) {\n let id = $390e54f620492c70$export$f680877a34711e37();\n let [resolvedId, setResolvedId] = (0, $1a716630a9e3a599$export$14d238f342723f25)(id);\n let updateId = (0, $4QKZm$useCallback)(()=>{\n setResolvedId(function*() {\n yield id;\n yield document.getElementById(id) ? id : undefined;\n });\n }, [\n id,\n setResolvedId\n ]);\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(updateId, [\n id,\n updateId,\n ...depArray\n ]);\n return resolvedId;\n}\n\n\nexport {$390e54f620492c70$export$d41a04c74483c6ef as idsUpdaterMap, $390e54f620492c70$export$f680877a34711e37 as useId, $390e54f620492c70$export$cd8c9cb68f842629 as mergeIds, $390e54f620492c70$export$b4cc09c592e8fdb8 as useSlotId};\n//# sourceMappingURL=useId.mjs.map\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ function $4064df0d6f9620e1$export$c9058316764c140e(...refs) {\n if (refs.length === 1 && refs[0]) return refs[0];\n return (value)=>{\n let hasCleanup = false;\n const cleanups = refs.map((ref)=>{\n const cleanup = $4064df0d6f9620e1$var$setRef(ref, value);\n hasCleanup ||= typeof cleanup == 'function';\n return cleanup;\n });\n if (hasCleanup) return ()=>{\n cleanups.forEach((cleanup, i)=>{\n if (typeof cleanup === 'function') cleanup();\n else $4064df0d6f9620e1$var$setRef(refs[i], null);\n });\n };\n };\n}\nfunction $4064df0d6f9620e1$var$setRef(ref, value) {\n if (typeof ref === 'function') return ref(value);\n else if (ref != null) ref.current = value;\n}\n\n\nexport {$4064df0d6f9620e1$export$c9058316764c140e as mergeRefs};\n//# sourceMappingURL=mergeRefs.mjs.map\n","import {chain as $a4e76a5424781910$export$e08e3b67e392101e} from \"./chain.mjs\";\nimport {mergeIds as $390e54f620492c70$export$cd8c9cb68f842629} from \"./useId.mjs\";\nimport {mergeRefs as $4064df0d6f9620e1$export$c9058316764c140e} from \"./mergeRefs.mjs\";\nimport $aPpn7$clsx from \"clsx\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\nfunction $bbaa08b3cd72f041$export$9d1611c77c2fe928(...args) {\n // Start with a base clone of the first argument. This is a lot faster than starting\n // with an empty object and adding properties as we go.\n let result = {\n ...args[0]\n };\n for(let i = 1; i < args.length; i++){\n let props = args[i];\n for(let key in props){\n let a = result[key];\n let b = props[key];\n // Chain events\n if (typeof a === 'function' && typeof b === 'function' && // This is a lot faster than a regex.\n key[0] === 'o' && key[1] === 'n' && key.charCodeAt(2) >= /* 'A' */ 65 && key.charCodeAt(2) <= /* 'Z' */ 90) result[key] = (0, $a4e76a5424781910$export$e08e3b67e392101e)(a, b);\n else if ((key === 'className' || key === 'UNSAFE_className') && typeof a === 'string' && typeof b === 'string') result[key] = (0, $aPpn7$clsx)(a, b);\n else if (key === 'id' && a && b) result.id = (0, $390e54f620492c70$export$cd8c9cb68f842629)(a, b);\n else if (key === 'ref' && a && b) result.ref = (0, $4064df0d6f9620e1$export$c9058316764c140e)(a, b);\n else result[key] = b !== undefined ? b : a;\n }\n }\n return result;\n}\n\n\nexport {$bbaa08b3cd72f041$export$9d1611c77c2fe928 as mergeProps};\n//# sourceMappingURL=mergeProps.mjs.map\n","import {useRef as $i6EpZ$useRef, useCallback as $i6EpZ$useCallback, useMemo as $i6EpZ$useMemo} from \"react\";\n\n/*\n * Copyright 2021 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nfunction $03e8ab2d84d7657a$export$4338b53315abf666(ref) {\n const objRef = (0, $i6EpZ$useRef)(null);\n const cleanupRef = (0, $i6EpZ$useRef)(undefined);\n const refEffect = (0, $i6EpZ$useCallback)((instance)=>{\n if (typeof ref === 'function') {\n const refCallback = ref;\n const refCleanup = refCallback(instance);\n return ()=>{\n if (typeof refCleanup === 'function') refCleanup();\n else refCallback(null);\n };\n } else if (ref) {\n ref.current = instance;\n return ()=>{\n ref.current = null;\n };\n }\n }, [\n ref\n ]);\n return (0, $i6EpZ$useMemo)(()=>({\n get current () {\n return objRef.current;\n },\n set current (value){\n objRef.current = value;\n if (cleanupRef.current) {\n cleanupRef.current();\n cleanupRef.current = undefined;\n }\n if (value != null) cleanupRef.current = refEffect(value);\n }\n }), [\n refEffect\n ]);\n}\n\n\nexport {$03e8ab2d84d7657a$export$4338b53315abf666 as useObjectRef};\n//# sourceMappingURL=useObjectRef.mjs.map\n","import {mergeProps as $ahdqC$mergeProps} from \"react-aria/mergeProps\";\nimport {mergeRefs as $ahdqC$mergeRefs} from \"react-aria/mergeRefs\";\nimport $ahdqC$react, {useMemo as $ahdqC$useMemo, useContext as $ahdqC$useContext, useState as $ahdqC$useState, useRef as $ahdqC$useRef, useCallback as $ahdqC$useCallback, forwardRef as $ahdqC$forwardRef} from \"react\";\nimport {useLayoutEffect as $ahdqC$useLayoutEffect} from \"react-aria/private/utils/useLayoutEffect\";\nimport {useObjectRef as $ahdqC$useObjectRef} from \"react-aria/useObjectRef\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\nconst $7230ffa83bc0c2cf$export$c62b8e45d58ddad9 = Symbol('default');\nfunction $7230ffa83bc0c2cf$export$2881499e37b75b9a({ values: values, children: children }) {\n for (let [Context, value] of values)// @ts-ignore\n children = /*#__PURE__*/ (0, $ahdqC$react).createElement(Context.Provider, {\n value: value\n }, children);\n return children;\n}\nfunction $7230ffa83bc0c2cf$export$4d86445c2cf5e3(props) {\n let { className: className, style: style, children: children, defaultClassName: defaultClassName, defaultChildren: defaultChildren, defaultStyle: defaultStyle, values: values, render: render } = props;\n return (0, $ahdqC$useMemo)(()=>{\n let computedClassName;\n let computedStyle;\n let computedChildren;\n if (typeof className === 'function') computedClassName = className({\n ...values,\n defaultClassName: defaultClassName\n });\n else computedClassName = className;\n if (typeof style === 'function') computedStyle = style({\n ...values,\n defaultStyle: defaultStyle || {}\n });\n else computedStyle = style;\n if (typeof children === 'function') computedChildren = children({\n ...values,\n defaultChildren: defaultChildren\n });\n else if (children == null) computedChildren = defaultChildren;\n else computedChildren = children;\n return {\n className: computedClassName ?? defaultClassName,\n style: computedStyle || defaultStyle ? {\n ...defaultStyle,\n ...computedStyle\n } : undefined,\n children: computedChildren ?? defaultChildren,\n 'data-rac': '',\n render: render ? (props)=>render(props, values) : undefined\n };\n }, [\n className,\n style,\n children,\n defaultClassName,\n defaultChildren,\n defaultStyle,\n values,\n render\n ]);\n}\nfunction $7230ffa83bc0c2cf$export$c245e6201fed2f75(// https://stackoverflow.com/questions/60898079/typescript-type-t-or-function-t-usage\nvalue, wrap) {\n return (renderProps)=>wrap(typeof value === 'function' ? value(renderProps) : value, renderProps);\n}\nfunction $7230ffa83bc0c2cf$export$fabf2dc03a41866e(context, slot) {\n let ctx = (0, $ahdqC$useContext)(context);\n if (slot === null) // An explicit `null` slot means don't use context.\n return null;\n if (ctx && typeof ctx === 'object' && 'slots' in ctx && ctx.slots) {\n let slotKey = slot || $7230ffa83bc0c2cf$export$c62b8e45d58ddad9;\n if (!ctx.slots[slotKey]) {\n let availableSlots = new Intl.ListFormat().format(Object.keys(ctx.slots).map((p)=>`\"${p}\"`));\n let errorMessage = slot ? `Invalid slot \"${slot}\".` : 'A slot prop is required.';\n throw new Error(`${errorMessage} Valid slot names are ${availableSlots}.`);\n }\n return ctx.slots[slotKey];\n }\n // @ts-ignore\n return ctx;\n}\nfunction $7230ffa83bc0c2cf$export$29f1550f4b0d4415(props, ref, context) {\n let ctx = $7230ffa83bc0c2cf$export$fabf2dc03a41866e(context, props.slot) || {};\n let { ref: contextRef, ...contextProps } = ctx;\n let mergedRef = (0, $ahdqC$useObjectRef)((0, $ahdqC$useMemo)(()=>(0, $ahdqC$mergeRefs)(ref, contextRef), [\n ref,\n contextRef\n ]));\n let mergedProps = (0, $ahdqC$mergeProps)(contextProps, props);\n // mergeProps does not merge `style`. Adding this there might be a breaking change.\n if ('style' in contextProps && contextProps.style && 'style' in props && props.style) {\n if (typeof contextProps.style === 'function' || typeof props.style === 'function') // @ts-ignore\n mergedProps.style = (renderProps)=>{\n let contextStyle = typeof contextProps.style === 'function' ? contextProps.style(renderProps) : contextProps.style;\n let defaultStyle = {\n ...renderProps.defaultStyle,\n ...contextStyle\n };\n let style = typeof props.style === 'function' ? props.style({\n ...renderProps,\n defaultStyle: defaultStyle\n }) : props.style;\n return {\n ...defaultStyle,\n ...style\n };\n };\n else // @ts-ignore\n mergedProps.style = {\n ...contextProps.style,\n ...props.style\n };\n }\n return [\n mergedProps,\n mergedRef\n ];\n}\nfunction $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8(initialState = true) {\n // Initial state is typically based on the parent having an aria-label or aria-labelledby.\n // If it does, this value should be false so that we don't update the state and cause a rerender when we go through the layoutEffect\n let [hasSlot, setHasSlot] = (0, $ahdqC$useState)(initialState);\n let hasRun = (0, $ahdqC$useRef)(false);\n // A callback ref which will run when the slotted element mounts.\n // This should happen before the useLayoutEffect below.\n let ref = (0, $ahdqC$useCallback)((el)=>{\n hasRun.current = true;\n setHasSlot(!!el);\n }, []);\n // If the callback hasn't been called, then reset to false.\n (0, $ahdqC$useLayoutEffect)(()=>{\n if (!hasRun.current) setHasSlot(false);\n }, []);\n return [\n ref,\n hasSlot\n ];\n}\nfunction $7230ffa83bc0c2cf$export$ef03459518577ad4(props) {\n const prefix = /^(data-.*)$/;\n let filteredProps = {};\n for(const prop in props)if (!prefix.test(prop)) filteredProps[prop] = props[prop];\n return filteredProps;\n}\nfunction $7230ffa83bc0c2cf$var$DOMElement(ElementType, props, forwardedRef) {\n let { render: render, ...otherProps } = props;\n let elementRef = (0, $ahdqC$useRef)(null);\n let ref = (0, $ahdqC$useMemo)(()=>(0, $ahdqC$mergeRefs)(forwardedRef, elementRef), [\n forwardedRef,\n elementRef\n ]);\n (0, $ahdqC$useLayoutEffect)(()=>{\n if (process.env.NODE_ENV !== 'production' && render) {\n if (!elementRef.current) console.warn('Ref was not connected to DOM element returned by custom `render` function. Did you forget to pass through or merge the `ref`?');\n else if (elementRef.current.localName !== ElementType) console.warn(`Unexpected DOM element returned by custom \\`render\\` function. Expected <${ElementType}>, got <${elementRef.current.localName}>. This may break the component behavior and accessibility.`);\n }\n }, [\n ElementType,\n render\n ]);\n let domProps = {\n ...otherProps,\n ref: ref\n };\n if (render) return render(domProps, undefined);\n return /*#__PURE__*/ (0, $ahdqC$react).createElement(ElementType, domProps);\n}\nconst $7230ffa83bc0c2cf$var$domComponentCache = {};\nconst $7230ffa83bc0c2cf$export$df3a06d6289f983e = new Proxy({}, {\n get (target, elementType) {\n if (typeof elementType !== 'string') return undefined;\n let res = $7230ffa83bc0c2cf$var$domComponentCache[elementType];\n if (!res) {\n res = /*#__PURE__*/ (0, $ahdqC$forwardRef)($7230ffa83bc0c2cf$var$DOMElement.bind(null, elementType));\n $7230ffa83bc0c2cf$var$domComponentCache[elementType] = res;\n }\n return res;\n }\n});\n\n\nexport {$7230ffa83bc0c2cf$export$c62b8e45d58ddad9 as DEFAULT_SLOT, $7230ffa83bc0c2cf$export$2881499e37b75b9a as Provider, $7230ffa83bc0c2cf$export$4d86445c2cf5e3 as useRenderProps, $7230ffa83bc0c2cf$export$c245e6201fed2f75 as composeRenderProps, $7230ffa83bc0c2cf$export$fabf2dc03a41866e as useSlottedContext, $7230ffa83bc0c2cf$export$29f1550f4b0d4415 as useContextProps, $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8 as useSlot, $7230ffa83bc0c2cf$export$ef03459518577ad4 as removeDataAttributes, $7230ffa83bc0c2cf$export$df3a06d6289f983e as dom};\n//# sourceMappingURL=utils.mjs.map\n","/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ // Custom event names for updating the autocomplete's aria-activedecendant.\nconst $8b2399d051d06d4c$export$447a38995de2c711 = 'react-aria-clear-focus';\nconst $8b2399d051d06d4c$export$831c820ad60f9d12 = 'react-aria-focus';\n\n\nexport {$8b2399d051d06d4c$export$447a38995de2c711 as CLEAR_FOCUS_EVENT, $8b2399d051d06d4c$export$831c820ad60f9d12 as FOCUS_EVENT};\n//# sourceMappingURL=constants.mjs.map\n","const $d447af545b77c9f1$export$b204af158042fbac = (el)=>{\n return el?.ownerDocument ?? document;\n};\nconst $d447af545b77c9f1$export$f21a1ffae260145a = (el)=>{\n if (el && 'window' in el && el.window === el) return el;\n const doc = $d447af545b77c9f1$export$b204af158042fbac(el);\n return doc.defaultView || window;\n};\n/**\n * Type guard that checks if a value is a Node. Verifies the presence and type of the nodeType\n * property.\n */ function $d447af545b77c9f1$var$isNode(value) {\n return value !== null && typeof value === 'object' && 'nodeType' in value && typeof value.nodeType === 'number';\n}\nfunction $d447af545b77c9f1$export$af51f0f06c0f328a(node) {\n return $d447af545b77c9f1$var$isNode(node) && node.nodeType === Node.DOCUMENT_FRAGMENT_NODE && 'host' in node;\n}\n\n\nexport {$d447af545b77c9f1$export$b204af158042fbac as getOwnerDocument, $d447af545b77c9f1$export$f21a1ffae260145a as getOwnerWindow, $d447af545b77c9f1$export$af51f0f06c0f328a as isShadowRoot};\n//# sourceMappingURL=domHelpers.mjs.map\n","/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ let $6a20a7989e6c817a$var$_tableNestedRows = false;\nlet $6a20a7989e6c817a$var$_shadowDOM = false;\nfunction $6a20a7989e6c817a$export$d9d8a0f82de49530() {\n $6a20a7989e6c817a$var$_tableNestedRows = true;\n}\nfunction $6a20a7989e6c817a$export$1b00cb14a96194e6() {\n return $6a20a7989e6c817a$var$_tableNestedRows;\n}\nfunction $6a20a7989e6c817a$export$12b151d9882e9985() {\n $6a20a7989e6c817a$var$_shadowDOM = true;\n}\nfunction $6a20a7989e6c817a$export$98658e8c59125e6a() {\n return $6a20a7989e6c817a$var$_shadowDOM;\n}\n\n\nexport {$6a20a7989e6c817a$export$d9d8a0f82de49530 as enableTableNestedRows, $6a20a7989e6c817a$export$1b00cb14a96194e6 as tableNestedRows, $6a20a7989e6c817a$export$12b151d9882e9985 as enableShadowDOM, $6a20a7989e6c817a$export$98658e8c59125e6a as shadowDOM};\n//# sourceMappingURL=flags.mjs.map\n","import {getOwnerWindow as $d447af545b77c9f1$export$f21a1ffae260145a, isShadowRoot as $d447af545b77c9f1$export$af51f0f06c0f328a} from \"../domHelpers.mjs\";\nimport {shadowDOM as $eXv8n$shadowDOM} from \"react-stately/private/flags/flags\";\n\n// Source: https://github.com/microsoft/tabster/blob/a89fc5d7e332d48f68d03b1ca6e344489d1c3898/src/Shadowdomize/DOMFunctions.ts#L16\n/* eslint-disable rsp-rules/no-non-shadow-contains, rsp-rules/safe-event-target */ \n\nfunction $23f2114a1b82827e$export$4282f70798064fe0(node, otherNode) {\n if (!(0, $eXv8n$shadowDOM)()) return otherNode && node ? node.contains(otherNode) : false;\n if (!node || !otherNode) return false;\n let currentNode = otherNode;\n while(currentNode !== null){\n if (currentNode === node) return true;\n if (currentNode.tagName === 'SLOT' && currentNode.assignedSlot) // Element is slotted\n currentNode = currentNode.assignedSlot.parentNode;\n else if ((0, $d447af545b77c9f1$export$af51f0f06c0f328a)(currentNode)) // Element is in shadow root\n currentNode = currentNode.host;\n else currentNode = currentNode.parentNode;\n }\n return false;\n}\nconst $23f2114a1b82827e$export$cd4e5573fbe2b576 = (doc = document)=>{\n if (!(0, $eXv8n$shadowDOM)()) return doc.activeElement;\n let activeElement = doc.activeElement;\n while(activeElement && 'shadowRoot' in activeElement && activeElement.shadowRoot?.activeElement)activeElement = activeElement.shadowRoot.activeElement;\n return activeElement;\n};\nfunction $23f2114a1b82827e$export$e58f029f0fbfdb29(event) {\n if ((0, $eXv8n$shadowDOM)() && event.target instanceof Element && event.target.shadowRoot) {\n if ('composedPath' in event) return event.composedPath()[0] ?? null;\n else if ('composedPath' in event.nativeEvent) return event.nativeEvent.composedPath()[0] ?? null;\n }\n return event.target;\n}\nfunction $23f2114a1b82827e$export$b4f377a2b6254582(node) {\n if (!node) return false;\n // Get the active element within the node's parent shadow root (or the document). Can return null.\n let root = node.getRootNode();\n let ownerWindow = (0, $d447af545b77c9f1$export$f21a1ffae260145a)(node);\n if (!(root instanceof ownerWindow.Document || root instanceof ownerWindow.ShadowRoot)) return false;\n let activeElement = root.activeElement;\n // Check if the active element is within this node. These nodes are within the same shadow root.\n return activeElement != null && node.contains(activeElement);\n}\n\n\nexport {$23f2114a1b82827e$export$4282f70798064fe0 as nodeContains, $23f2114a1b82827e$export$cd4e5573fbe2b576 as getActiveElement, $23f2114a1b82827e$export$e58f029f0fbfdb29 as getEventTarget, $23f2114a1b82827e$export$b4f377a2b6254582 as isFocusWithin};\n//# sourceMappingURL=DOMFunctions.mjs.map\n","import {getActiveElement as $23f2114a1b82827e$export$cd4e5573fbe2b576} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {getOwnerDocument as $d447af545b77c9f1$export$b204af158042fbac} from \"../utils/domHelpers.mjs\";\n\n\n\nfunction $b72f3f7b3b5f42c6$export$76e4e37e5339496d(to) {\n let from = $b72f3f7b3b5f42c6$export$759df0d867455a91((0, $d447af545b77c9f1$export$b204af158042fbac)(to));\n if (from !== to) {\n if (from) $b72f3f7b3b5f42c6$export$6c5dc7e81d2cc29a(from, to);\n if (to) $b72f3f7b3b5f42c6$export$2b35b76d2e30e129(to, from);\n }\n}\nfunction $b72f3f7b3b5f42c6$export$6c5dc7e81d2cc29a(from, to) {\n from.dispatchEvent(new FocusEvent('blur', {\n relatedTarget: to\n }));\n from.dispatchEvent(new FocusEvent('focusout', {\n bubbles: true,\n relatedTarget: to\n }));\n}\nfunction $b72f3f7b3b5f42c6$export$2b35b76d2e30e129(to, from) {\n to.dispatchEvent(new FocusEvent('focus', {\n relatedTarget: from\n }));\n to.dispatchEvent(new FocusEvent('focusin', {\n bubbles: true,\n relatedTarget: from\n }));\n}\nfunction $b72f3f7b3b5f42c6$export$759df0d867455a91(document) {\n let activeElement = (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)(document);\n let activeDescendant = activeElement?.getAttribute('aria-activedescendant');\n if (activeDescendant) return document.getElementById(activeDescendant) || activeElement;\n return activeElement;\n}\n\n\nexport {$b72f3f7b3b5f42c6$export$76e4e37e5339496d as moveVirtualFocus, $b72f3f7b3b5f42c6$export$759df0d867455a91 as getVirtuallyFocusedElement, $b72f3f7b3b5f42c6$export$6c5dc7e81d2cc29a as dispatchVirtualBlur, $b72f3f7b3b5f42c6$export$2b35b76d2e30e129 as dispatchVirtualFocus};\n//# sourceMappingURL=virtualFocus.mjs.map\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ function $1969ac565cfec8d0$export$de79e2c695e052f3(element) {\n if ($1969ac565cfec8d0$var$supportsPreventScroll()) element.focus({\n preventScroll: true\n });\n else {\n let scrollableElements = $1969ac565cfec8d0$var$getScrollableElements(element);\n element.focus();\n $1969ac565cfec8d0$var$restoreScrollPosition(scrollableElements);\n }\n}\nlet $1969ac565cfec8d0$var$supportsPreventScrollCached = null;\nfunction $1969ac565cfec8d0$var$supportsPreventScroll() {\n if ($1969ac565cfec8d0$var$supportsPreventScrollCached == null) {\n $1969ac565cfec8d0$var$supportsPreventScrollCached = false;\n try {\n let focusElem = document.createElement('div');\n focusElem.focus({\n get preventScroll () {\n $1969ac565cfec8d0$var$supportsPreventScrollCached = true;\n return true;\n }\n });\n } catch {\n // Ignore\n }\n }\n return $1969ac565cfec8d0$var$supportsPreventScrollCached;\n}\nfunction $1969ac565cfec8d0$var$getScrollableElements(element) {\n let parent = element.parentNode;\n let scrollableElements = [];\n let rootScrollingElement = document.scrollingElement || document.documentElement;\n while(parent instanceof HTMLElement && parent !== rootScrollingElement){\n if (parent.offsetHeight < parent.scrollHeight || parent.offsetWidth < parent.scrollWidth) scrollableElements.push({\n element: parent,\n scrollTop: parent.scrollTop,\n scrollLeft: parent.scrollLeft\n });\n parent = parent.parentNode;\n }\n if (rootScrollingElement instanceof HTMLElement) scrollableElements.push({\n element: rootScrollingElement,\n scrollTop: rootScrollingElement.scrollTop,\n scrollLeft: rootScrollingElement.scrollLeft\n });\n return scrollableElements;\n}\nfunction $1969ac565cfec8d0$var$restoreScrollPosition(scrollableElements) {\n for (let { element: element, scrollTop: scrollTop, scrollLeft: scrollLeft } of scrollableElements){\n element.scrollTop = scrollTop;\n element.scrollLeft = scrollLeft;\n }\n}\n\n\nexport {$1969ac565cfec8d0$export$de79e2c695e052f3 as focusWithoutScrolling};\n//# sourceMappingURL=focusWithoutScrolling.mjs.map\n","import {getOwnerWindow as $d447af545b77c9f1$export$f21a1ffae260145a} from \"./domHelpers.mjs\";\n\n/*\n * Copyright 2021 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nconst $ae77152785188400$var$supportsCheckVisibility = typeof Element !== 'undefined' && 'checkVisibility' in Element.prototype;\nfunction $ae77152785188400$var$isStyleVisible(element) {\n const windowObject = (0, $d447af545b77c9f1$export$f21a1ffae260145a)(element);\n if (!(element instanceof windowObject.HTMLElement) && !(element instanceof windowObject.SVGElement)) return false;\n let { display: display, visibility: visibility } = element.style;\n let isVisible = display !== 'none' && visibility !== 'hidden' && visibility !== 'collapse';\n if (isVisible) {\n const { getComputedStyle: getComputedStyle } = element.ownerDocument.defaultView;\n let { display: computedDisplay, visibility: computedVisibility } = getComputedStyle(element);\n isVisible = computedDisplay !== 'none' && computedVisibility !== 'hidden' && computedVisibility !== 'collapse';\n }\n return isVisible;\n}\nfunction $ae77152785188400$var$isAttributeVisible(element, childElement) {\n return !element.hasAttribute('hidden') && // Ignore HiddenSelect when tree walking.\n !element.hasAttribute('data-react-aria-prevent-focus') && (element.nodeName === 'DETAILS' && childElement && childElement.nodeName !== 'SUMMARY' ? element.hasAttribute('open') : true);\n}\nfunction $ae77152785188400$export$e989c0fffaa6b27a(element, childElement) {\n if ($ae77152785188400$var$supportsCheckVisibility) return element.checkVisibility({\n visibilityProperty: true\n }) && !element.closest('[data-react-aria-prevent-focus]');\n return element.nodeName !== '#comment' && $ae77152785188400$var$isStyleVisible(element) && $ae77152785188400$var$isAttributeVisible(element, childElement) && (!element.parentElement || $ae77152785188400$export$e989c0fffaa6b27a(element.parentElement, element));\n}\n\n\nexport {$ae77152785188400$export$e989c0fffaa6b27a as isElementVisible};\n//# sourceMappingURL=isElementVisible.mjs.map\n","import {isElementVisible as $ae77152785188400$export$e989c0fffaa6b27a} from \"./isElementVisible.mjs\";\n\n/*\n * Copyright 2025 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nconst $3b8b240c1bf84ab9$var$focusableElements = [\n 'input:not([disabled]):not([type=hidden])',\n 'select:not([disabled])',\n 'textarea:not([disabled])',\n 'button:not([disabled])',\n 'a[href]',\n 'area[href]',\n 'summary',\n 'iframe',\n 'object',\n 'embed',\n 'audio[controls]',\n 'video[controls]',\n '[contenteditable]:not([contenteditable^=\"false\"])',\n 'permission'\n];\nconst $3b8b240c1bf84ab9$var$FOCUSABLE_ELEMENT_SELECTOR = $3b8b240c1bf84ab9$var$focusableElements.join(':not([hidden]),') + ',[tabindex]:not([disabled]):not([hidden])';\n$3b8b240c1bf84ab9$var$focusableElements.push('[tabindex]:not([tabindex=\"-1\"]):not([disabled])');\nconst $3b8b240c1bf84ab9$var$TABBABLE_ELEMENT_SELECTOR = $3b8b240c1bf84ab9$var$focusableElements.join(':not([hidden]):not([tabindex=\"-1\"]),');\nfunction $3b8b240c1bf84ab9$export$4c063cf1350e6fed(element, options) {\n return element.matches($3b8b240c1bf84ab9$var$FOCUSABLE_ELEMENT_SELECTOR) && !$3b8b240c1bf84ab9$var$isInert(element) && (options?.skipVisibilityCheck || (0, $ae77152785188400$export$e989c0fffaa6b27a)(element));\n}\nfunction $3b8b240c1bf84ab9$export$bebd5a1431fec25d(element) {\n return element.matches($3b8b240c1bf84ab9$var$TABBABLE_ELEMENT_SELECTOR) && (0, $ae77152785188400$export$e989c0fffaa6b27a)(element) && !$3b8b240c1bf84ab9$var$isInert(element);\n}\nfunction $3b8b240c1bf84ab9$var$isInert(element) {\n let node = element;\n while(node != null){\n if (node instanceof node.ownerDocument.defaultView.HTMLElement && node.inert) return true;\n node = node.parentElement;\n }\n return false;\n}\n\n\nexport {$3b8b240c1bf84ab9$export$4c063cf1350e6fed as isFocusable, $3b8b240c1bf84ab9$export$bebd5a1431fec25d as isTabbable};\n//# sourceMappingURL=isFocusable.mjs.map\n","import {focusWithoutScrolling as $1969ac565cfec8d0$export$de79e2c695e052f3} from \"../utils/focusWithoutScrolling.mjs\";\nimport {getActiveElement as $23f2114a1b82827e$export$cd4e5573fbe2b576, getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {getOwnerWindow as $d447af545b77c9f1$export$f21a1ffae260145a} from \"../utils/domHelpers.mjs\";\nimport {isFocusable as $3b8b240c1bf84ab9$export$4c063cf1350e6fed} from \"../utils/isFocusable.mjs\";\nimport {useLayoutEffect as $c4867b2f328c2698$export$e5c5a5f917a5871c} from \"../utils/useLayoutEffect.mjs\";\nimport {useRef as $lIB5W$useRef, useCallback as $lIB5W$useCallback} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\nfunction $a92dc41f639950be$export$525bc4921d56d4a(nativeEvent) {\n let event = nativeEvent;\n event.nativeEvent = nativeEvent;\n event.isDefaultPrevented = ()=>event.defaultPrevented;\n // cancelBubble is technically deprecated in the spec, but still supported in all browsers.\n event.isPropagationStopped = ()=>event.cancelBubble;\n event.persist = ()=>{};\n return event;\n}\nfunction $a92dc41f639950be$export$c2b7abe5d61ec696(event, target) {\n Object.defineProperty(event, 'target', {\n value: target\n });\n Object.defineProperty(event, 'currentTarget', {\n value: target\n });\n}\nfunction $a92dc41f639950be$export$715c682d09d639cc(onBlur) {\n let stateRef = (0, $lIB5W$useRef)({\n isFocused: false,\n observer: null\n });\n // Clean up MutationObserver on unmount. See below.\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n const state = stateRef.current;\n return ()=>{\n if (state.observer) {\n state.observer.disconnect();\n state.observer = null;\n }\n };\n }, []);\n // This function is called during a React onFocus event.\n return (0, $lIB5W$useCallback)((e)=>{\n // React does not fire onBlur when an element is disabled. https://github.com/facebook/react/issues/9142\n // Most browsers fire a native focusout event in this case, except for Firefox. In that case, we use a\n // MutationObserver to watch for the disabled attribute, and dispatch these events ourselves.\n // For browsers that do, focusout fires before the MutationObserver, so onBlur should not fire twice.\n let eventTarget = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e);\n if (eventTarget instanceof HTMLButtonElement || eventTarget instanceof HTMLInputElement || eventTarget instanceof HTMLTextAreaElement || eventTarget instanceof HTMLSelectElement) {\n stateRef.current.isFocused = true;\n let target = eventTarget;\n let onBlurHandler = (e)=>{\n stateRef.current.isFocused = false;\n if (target.disabled) {\n // For backward compatibility, dispatch a (fake) React synthetic event.\n let event = $a92dc41f639950be$export$525bc4921d56d4a(e);\n onBlur?.(event);\n }\n // We no longer need the MutationObserver once the target is blurred.\n if (stateRef.current.observer) {\n stateRef.current.observer.disconnect();\n stateRef.current.observer = null;\n }\n };\n target.addEventListener('focusout', onBlurHandler, {\n once: true\n });\n stateRef.current.observer = new MutationObserver(()=>{\n if (stateRef.current.isFocused && target.disabled) {\n stateRef.current.observer?.disconnect();\n let relatedTargetEl = target === (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)() ? null : (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)();\n target.dispatchEvent(new FocusEvent('blur', {\n relatedTarget: relatedTargetEl\n }));\n target.dispatchEvent(new FocusEvent('focusout', {\n bubbles: true,\n relatedTarget: relatedTargetEl\n }));\n }\n });\n stateRef.current.observer.observe(target, {\n attributes: true,\n attributeFilter: [\n 'disabled'\n ]\n });\n }\n }, [\n onBlur\n ]);\n}\nlet $a92dc41f639950be$export$fda7da73ab5d4c48 = false;\nfunction $a92dc41f639950be$export$cabe61c495ee3649(target) {\n // The browser will focus the nearest focusable ancestor of our target.\n while(target && !(0, $3b8b240c1bf84ab9$export$4c063cf1350e6fed)(target, {\n skipVisibilityCheck: true\n }))target = target.parentElement;\n let window = (0, $d447af545b77c9f1$export$f21a1ffae260145a)(target);\n let activeElement = window.document.activeElement;\n if (!activeElement || activeElement === target) return;\n $a92dc41f639950be$export$fda7da73ab5d4c48 = true;\n let isRefocusing = false;\n let onBlur = (e)=>{\n if ((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e) === activeElement || isRefocusing) e.stopImmediatePropagation();\n };\n let onFocusOut = (e)=>{\n if ((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e) === activeElement || isRefocusing) {\n e.stopImmediatePropagation();\n // If there was no focusable ancestor, we don't expect a focus event.\n // Re-focus the original active element here.\n if (!target && !isRefocusing) {\n isRefocusing = true;\n (0, $1969ac565cfec8d0$export$de79e2c695e052f3)(activeElement);\n cleanup();\n }\n }\n };\n let onFocus = (e)=>{\n if ((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e) === target || isRefocusing) e.stopImmediatePropagation();\n };\n let onFocusIn = (e)=>{\n if ((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e) === target || isRefocusing) {\n e.stopImmediatePropagation();\n if (!isRefocusing) {\n isRefocusing = true;\n (0, $1969ac565cfec8d0$export$de79e2c695e052f3)(activeElement);\n cleanup();\n }\n }\n };\n window.addEventListener('blur', onBlur, true);\n window.addEventListener('focusout', onFocusOut, true);\n window.addEventListener('focusin', onFocusIn, true);\n window.addEventListener('focus', onFocus, true);\n let cleanup = ()=>{\n cancelAnimationFrame(raf);\n window.removeEventListener('blur', onBlur, true);\n window.removeEventListener('focusout', onFocusOut, true);\n window.removeEventListener('focusin', onFocusIn, true);\n window.removeEventListener('focus', onFocus, true);\n $a92dc41f639950be$export$fda7da73ab5d4c48 = false;\n isRefocusing = false;\n };\n let raf = requestAnimationFrame(cleanup);\n return cleanup;\n}\n\n\nexport {$a92dc41f639950be$export$525bc4921d56d4a as createSyntheticEvent, $a92dc41f639950be$export$c2b7abe5d61ec696 as setEventTarget, $a92dc41f639950be$export$715c682d09d639cc as useSyntheticBlurEvent, $a92dc41f639950be$export$fda7da73ab5d4c48 as ignoreFocusEvent, $a92dc41f639950be$export$cabe61c495ee3649 as preventFocus};\n//# sourceMappingURL=utils.mjs.map\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ function $2add3ce32c6007eb$var$testUserAgent(re) {\n if (typeof window === 'undefined' || window.navigator == null) return false;\n let brands = window.navigator['userAgentData']?.brands;\n return Array.isArray(brands) && brands.some((brand)=>re.test(brand.brand)) || re.test(window.navigator.userAgent);\n}\nfunction $2add3ce32c6007eb$var$testPlatform(re) {\n return typeof window !== 'undefined' && window.navigator != null ? re.test(window.navigator['userAgentData']?.platform || window.navigator.platform) : false;\n}\nfunction $2add3ce32c6007eb$var$cached(fn) {\n if (process.env.NODE_ENV === 'test') return fn;\n let res = null;\n return ()=>{\n if (res == null) res = fn();\n return res;\n };\n}\nconst $2add3ce32c6007eb$export$9ac100e40613ea10 = $2add3ce32c6007eb$var$cached(function() {\n return $2add3ce32c6007eb$var$testPlatform(/^Mac/i);\n});\nconst $2add3ce32c6007eb$export$186c6964ca17d99 = $2add3ce32c6007eb$var$cached(function() {\n return $2add3ce32c6007eb$var$testPlatform(/^iPhone/i);\n});\nconst $2add3ce32c6007eb$export$7bef049ce92e4224 = $2add3ce32c6007eb$var$cached(function() {\n return $2add3ce32c6007eb$var$testPlatform(/^iPad/i) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.\n $2add3ce32c6007eb$export$9ac100e40613ea10() && navigator.maxTouchPoints > 1;\n});\nconst $2add3ce32c6007eb$export$fedb369cb70207f1 = $2add3ce32c6007eb$var$cached(function() {\n return $2add3ce32c6007eb$export$186c6964ca17d99() || $2add3ce32c6007eb$export$7bef049ce92e4224();\n});\nconst $2add3ce32c6007eb$export$e1865c3bedcd822b = $2add3ce32c6007eb$var$cached(function() {\n return $2add3ce32c6007eb$export$9ac100e40613ea10() || $2add3ce32c6007eb$export$fedb369cb70207f1();\n});\nconst $2add3ce32c6007eb$export$78551043582a6a98 = $2add3ce32c6007eb$var$cached(function() {\n return $2add3ce32c6007eb$var$testUserAgent(/AppleWebKit/i) && !$2add3ce32c6007eb$export$6446a186d09e379e();\n});\nconst $2add3ce32c6007eb$export$6446a186d09e379e = $2add3ce32c6007eb$var$cached(function() {\n return $2add3ce32c6007eb$var$testUserAgent(/Chrome/i);\n});\nconst $2add3ce32c6007eb$export$a11b0059900ceec8 = $2add3ce32c6007eb$var$cached(function() {\n return $2add3ce32c6007eb$var$testUserAgent(/Android/i);\n});\nconst $2add3ce32c6007eb$export$b7d78993b74f766d = $2add3ce32c6007eb$var$cached(function() {\n return $2add3ce32c6007eb$var$testUserAgent(/Firefox/i);\n});\n\n\nexport {$2add3ce32c6007eb$export$9ac100e40613ea10 as isMac, $2add3ce32c6007eb$export$186c6964ca17d99 as isIPhone, $2add3ce32c6007eb$export$7bef049ce92e4224 as isIPad, $2add3ce32c6007eb$export$fedb369cb70207f1 as isIOS, $2add3ce32c6007eb$export$e1865c3bedcd822b as isAppleDevice, $2add3ce32c6007eb$export$78551043582a6a98 as isWebKit, $2add3ce32c6007eb$export$6446a186d09e379e as isChrome, $2add3ce32c6007eb$export$a11b0059900ceec8 as isAndroid, $2add3ce32c6007eb$export$b7d78993b74f766d as isFirefox};\n//# sourceMappingURL=platform.mjs.map\n","import {isAndroid as $2add3ce32c6007eb$export$a11b0059900ceec8} from \"./platform.mjs\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nfunction $b5c62b033c25b96d$export$60278871457622de(event) {\n // JAWS/NVDA with Firefox.\n if (event.pointerType === '' && event.isTrusted) return true;\n // Android TalkBack's detail value varies depending on the event listener providing the event so we have specific logic here instead\n // If pointerType is defined, event is from a click listener. For events from mousedown listener, detail === 0 is a sufficient check\n // to detect TalkBack virtual clicks.\n if ((0, $2add3ce32c6007eb$export$a11b0059900ceec8)() && event.pointerType) return event.type === 'click' && event.buttons === 1;\n return event.detail === 0 && !event.pointerType;\n}\nfunction $b5c62b033c25b96d$export$29bf1b5f2c56cf63(event) {\n // If the pointer size is zero, then we assume it's from a screen reader.\n // Android TalkBack double tap will sometimes return a event with width and height of 1\n // and pointerType === 'mouse' so we need to check for a specific combination of event attributes.\n // Cannot use \"event.pressure === 0\" as the sole check due to Safari pointer events always returning pressure === 0\n // instead of .5, see https://bugs.webkit.org/show_bug.cgi?id=206216. event.pointerType === 'mouse' is to distingush\n // Talkback double tap from Windows Firefox touch screen press\n return !(0, $2add3ce32c6007eb$export$a11b0059900ceec8)() && event.width === 0 && event.height === 0 || event.width === 1 && event.height === 1 && event.pressure === 0 && event.detail === 0 && event.pointerType === 'mouse';\n}\n\n\nexport {$b5c62b033c25b96d$export$60278871457622de as isVirtualClick, $b5c62b033c25b96d$export$29bf1b5f2c56cf63 as isVirtualPointerEvent};\n//# sourceMappingURL=isVirtualEvent.mjs.map\n","import {focusWithoutScrolling as $1969ac565cfec8d0$export$de79e2c695e052f3} from \"./focusWithoutScrolling.mjs\";\nimport {isFirefox as $2add3ce32c6007eb$export$b7d78993b74f766d, isIPad as $2add3ce32c6007eb$export$7bef049ce92e4224, isMac as $2add3ce32c6007eb$export$9ac100e40613ea10, isWebKit as $2add3ce32c6007eb$export$78551043582a6a98} from \"./platform.mjs\";\nimport $epzQQ$react, {createContext as $epzQQ$createContext, useMemo as $epzQQ$useMemo, useContext as $epzQQ$useContext} from \"react\";\n\n/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nconst $caaf0dd3060ed57c$var$RouterContext = /*#__PURE__*/ (0, $epzQQ$createContext)({\n isNative: true,\n open: $caaf0dd3060ed57c$var$openSyntheticLink,\n useHref: (href)=>href\n});\nfunction $caaf0dd3060ed57c$export$323e4fc2fa4753fb(props) {\n let { children: children, navigate: navigate, useHref: useHref } = props;\n let ctx = (0, $epzQQ$useMemo)(()=>({\n isNative: false,\n open: (target, modifiers, href, routerOptions)=>{\n $caaf0dd3060ed57c$var$getSyntheticLink(target, (link)=>{\n if ($caaf0dd3060ed57c$export$efa8c9099e530235(link, modifiers)) navigate(href, routerOptions);\n else $caaf0dd3060ed57c$export$95185d699e05d4d7(link, modifiers);\n });\n },\n useHref: useHref || ((href)=>href)\n }), [\n navigate,\n useHref\n ]);\n return /*#__PURE__*/ (0, $epzQQ$react).createElement($caaf0dd3060ed57c$var$RouterContext.Provider, {\n value: ctx\n }, children);\n}\nfunction $caaf0dd3060ed57c$export$9a302a45f65d0572() {\n return (0, $epzQQ$useContext)($caaf0dd3060ed57c$var$RouterContext);\n}\nfunction $caaf0dd3060ed57c$export$efa8c9099e530235(link, modifiers) {\n // Use getAttribute here instead of link.target. Firefox will default link.target to \"_parent\" when inside an iframe.\n let target = link.getAttribute('target');\n return (!target || target === '_self') && link.origin === location.origin && !link.hasAttribute('download') && !modifiers.metaKey && // open in new tab (mac)\n !modifiers.ctrlKey && // open in new tab (windows)\n !modifiers.altKey && // download\n !modifiers.shiftKey;\n}\nfunction $caaf0dd3060ed57c$export$95185d699e05d4d7(target, modifiers, setOpening = true) {\n let { metaKey: metaKey, ctrlKey: ctrlKey, altKey: altKey, shiftKey: shiftKey } = modifiers;\n // Firefox does not recognize keyboard events as a user action by default, and the popup blocker\n // will prevent links with target=\"_blank\" from opening. However, it does allow the event if the\n // Command/Control key is held, which opens the link in a background tab. This seems like the best we can do.\n // See https://bugzilla.mozilla.org/show_bug.cgi?id=257870 and https://bugzilla.mozilla.org/show_bug.cgi?id=746640.\n if ((0, $2add3ce32c6007eb$export$b7d78993b74f766d)() && window.event?.type?.startsWith('key') && target.target === '_blank') {\n if ((0, $2add3ce32c6007eb$export$9ac100e40613ea10)()) metaKey = true;\n else ctrlKey = true;\n }\n // WebKit does not support firing click events with modifier keys, but does support keyboard events.\n // https://github.com/WebKit/WebKit/blob/c03d0ac6e6db178f90923a0a63080b5ca210d25f/Source/WebCore/html/HTMLAnchorElement.cpp#L184\n let event = (0, $2add3ce32c6007eb$export$78551043582a6a98)() && (0, $2add3ce32c6007eb$export$9ac100e40613ea10)() && !(0, $2add3ce32c6007eb$export$7bef049ce92e4224)() && process.env.NODE_ENV !== 'test' ? new KeyboardEvent('keydown', {\n keyIdentifier: 'Enter',\n metaKey: metaKey,\n ctrlKey: ctrlKey,\n altKey: altKey,\n shiftKey: shiftKey\n }) : new MouseEvent('click', {\n metaKey: metaKey,\n ctrlKey: ctrlKey,\n altKey: altKey,\n shiftKey: shiftKey,\n detail: 1,\n bubbles: true,\n cancelable: true\n });\n $caaf0dd3060ed57c$export$95185d699e05d4d7.isOpening = setOpening;\n (0, $1969ac565cfec8d0$export$de79e2c695e052f3)(target);\n target.dispatchEvent(event);\n $caaf0dd3060ed57c$export$95185d699e05d4d7.isOpening = false;\n}\n// https://github.com/parcel-bundler/parcel/issues/8724\n$caaf0dd3060ed57c$export$95185d699e05d4d7.isOpening = false;\nfunction $caaf0dd3060ed57c$var$getSyntheticLink(target, open) {\n if (target instanceof HTMLAnchorElement) open(target);\n else if (target.hasAttribute('data-href')) {\n let link = document.createElement('a');\n link.href = target.getAttribute('data-href');\n if (target.hasAttribute('data-target')) link.target = target.getAttribute('data-target');\n if (target.hasAttribute('data-rel')) link.rel = target.getAttribute('data-rel');\n if (target.hasAttribute('data-download')) link.download = target.getAttribute('data-download');\n if (target.hasAttribute('data-ping')) link.ping = target.getAttribute('data-ping');\n if (target.hasAttribute('data-referrer-policy')) link.referrerPolicy = target.getAttribute('data-referrer-policy');\n target.appendChild(link);\n open(link);\n target.removeChild(link);\n }\n}\nfunction $caaf0dd3060ed57c$var$openSyntheticLink(target, modifiers) {\n $caaf0dd3060ed57c$var$getSyntheticLink(target, (link)=>$caaf0dd3060ed57c$export$95185d699e05d4d7(link, modifiers));\n}\nfunction $caaf0dd3060ed57c$export$bdc77b0c0a3a85d6(props) {\n let router = $caaf0dd3060ed57c$export$9a302a45f65d0572();\n const href = router.useHref(props.href ?? '');\n return {\n 'data-href': props.href ? href : undefined,\n 'data-target': props.target,\n 'data-rel': props.rel,\n 'data-download': props.download,\n 'data-ping': props.ping,\n 'data-referrer-policy': props.referrerPolicy\n };\n}\nfunction $caaf0dd3060ed57c$export$51437d503373d223(props) {\n return {\n 'data-href': props.href,\n 'data-target': props.target,\n 'data-rel': props.rel,\n 'data-download': props.download,\n 'data-ping': props.ping,\n 'data-referrer-policy': props.referrerPolicy\n };\n}\nfunction $caaf0dd3060ed57c$export$7e924b3091a3bd18(props) {\n let router = $caaf0dd3060ed57c$export$9a302a45f65d0572();\n const href = router.useHref(props?.href ?? '');\n let linkProps = {};\n if (props) {\n for (let key of [\n 'href',\n 'target',\n 'rel',\n 'download',\n 'ping',\n 'referrerPolicy'\n ])if (key in props) linkProps[key] = key === 'href' ? href : props[key];\n }\n return linkProps;\n}\nfunction $caaf0dd3060ed57c$export$13aea1a3cb5e3f1f(e, router, href, routerOptions) {\n // If a custom router is provided, prevent default and forward if this link should client navigate.\n if (!router.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && // If props are applied to a router Link component, it may have already prevented default.\n !e.isDefaultPrevented() && $caaf0dd3060ed57c$export$efa8c9099e530235(e.currentTarget, e) && href) {\n e.preventDefault();\n router.open(e.currentTarget, e, href, routerOptions);\n }\n}\n\n\nexport {$caaf0dd3060ed57c$export$323e4fc2fa4753fb as RouterProvider, $caaf0dd3060ed57c$export$efa8c9099e530235 as shouldClientNavigate, $caaf0dd3060ed57c$export$95185d699e05d4d7 as openLink, $caaf0dd3060ed57c$export$9a302a45f65d0572 as useRouter, $caaf0dd3060ed57c$export$bdc77b0c0a3a85d6 as useSyntheticLinkProps, $caaf0dd3060ed57c$export$51437d503373d223 as getSyntheticLinkProps, $caaf0dd3060ed57c$export$7e924b3091a3bd18 as useLinkProps, $caaf0dd3060ed57c$export$13aea1a3cb5e3f1f as handleLinkClick};\n//# sourceMappingURL=openLink.mjs.map\n","import {getActiveElement as $23f2114a1b82827e$export$cd4e5573fbe2b576, getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {getOwnerDocument as $d447af545b77c9f1$export$b204af158042fbac, getOwnerWindow as $d447af545b77c9f1$export$f21a1ffae260145a} from \"../utils/domHelpers.mjs\";\nimport {ignoreFocusEvent as $a92dc41f639950be$export$fda7da73ab5d4c48} from \"./utils.mjs\";\nimport {isMac as $2add3ce32c6007eb$export$9ac100e40613ea10} from \"../utils/platform.mjs\";\nimport {isVirtualClick as $b5c62b033c25b96d$export$60278871457622de} from \"../utils/isVirtualEvent.mjs\";\nimport {openLink as $caaf0dd3060ed57c$export$95185d699e05d4d7} from \"../utils/openLink.mjs\";\nimport {useIsSSR as $c7eafbbe1ea5834e$export$535bd6ca7f90a273} from \"../ssr/SSRProvider.mjs\";\nimport {useState as $7U4qw$useState, useEffect as $7U4qw$useEffect} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ // Portions of the code in this file are based on code from react.\n// Original licensing for the following can be found in the\n// NOTICE file in the root directory of this source tree.\n// See https://github.com/facebook/react/tree/cc7c1aece46a6b69b41958d731e0fd27c94bfc6c/packages/react-interactions\n\n\n\n\n\n\n\n\nlet $8f5a2122b0992be3$var$currentModality = null;\nlet $8f5a2122b0992be3$var$currentPointerType = 'keyboard';\nconst $8f5a2122b0992be3$export$901e90a13c50a14e = new Set();\nlet $8f5a2122b0992be3$export$d90243b58daecda7 = new Map(); // We use a map here to support setting event listeners across multiple document objects.\nlet $8f5a2122b0992be3$var$hasEventBeforeFocus = false;\nlet $8f5a2122b0992be3$var$hasBlurredWindowRecently = false;\n// Only Tab or Esc keys will make focus visible on text input elements\nconst $8f5a2122b0992be3$var$FOCUS_VISIBLE_INPUT_KEYS = {\n Tab: true,\n Escape: true\n};\nfunction $8f5a2122b0992be3$var$triggerChangeHandlers(modality, e) {\n for (let handler of $8f5a2122b0992be3$export$901e90a13c50a14e)handler(modality, e);\n}\n/**\n * Helper function to determine if a KeyboardEvent is unmodified and could make keyboard focus\n * styles visible.\n */ function $8f5a2122b0992be3$var$isValidKey(e) {\n // Control and Shift keys trigger when navigating back to the tab with keyboard.\n return !(e.metaKey || !(0, $2add3ce32c6007eb$export$9ac100e40613ea10)() && e.altKey || e.ctrlKey || e.key === 'Control' || e.key === 'Shift' || e.key === 'Meta');\n}\nfunction $8f5a2122b0992be3$var$handleKeyboardEvent(e) {\n $8f5a2122b0992be3$var$hasEventBeforeFocus = true;\n if (!(0, $caaf0dd3060ed57c$export$95185d699e05d4d7).isOpening && $8f5a2122b0992be3$var$isValidKey(e)) {\n $8f5a2122b0992be3$var$currentModality = 'keyboard';\n $8f5a2122b0992be3$var$currentPointerType = 'keyboard';\n $8f5a2122b0992be3$var$triggerChangeHandlers('keyboard', e);\n }\n}\nfunction $8f5a2122b0992be3$var$handlePointerEvent(e) {\n $8f5a2122b0992be3$var$currentModality = 'pointer';\n $8f5a2122b0992be3$var$currentPointerType = 'pointerType' in e ? e.pointerType : 'mouse';\n if (e.type === 'mousedown' || e.type === 'pointerdown') {\n $8f5a2122b0992be3$var$hasEventBeforeFocus = true;\n $8f5a2122b0992be3$var$triggerChangeHandlers('pointer', e);\n }\n}\nfunction $8f5a2122b0992be3$var$handleClickEvent(e) {\n if (!(0, $caaf0dd3060ed57c$export$95185d699e05d4d7).isOpening && (0, $b5c62b033c25b96d$export$60278871457622de)(e)) {\n $8f5a2122b0992be3$var$hasEventBeforeFocus = true;\n $8f5a2122b0992be3$var$currentModality = 'virtual';\n $8f5a2122b0992be3$var$currentPointerType = 'virtual';\n }\n}\nfunction $8f5a2122b0992be3$var$handleFocusEvent(e) {\n // Firefox fires two extra focus events when the user first clicks into an iframe:\n // first on the window, then on the document. We ignore these events so they don't\n // cause keyboard focus rings to appear.\n let ownerWindow = (0, $d447af545b77c9f1$export$f21a1ffae260145a)((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e));\n let ownerDocument = (0, $d447af545b77c9f1$export$b204af158042fbac)((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e));\n if ((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e) === ownerWindow || (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e) === ownerDocument || (0, $a92dc41f639950be$export$fda7da73ab5d4c48) || !e.isTrusted) return;\n // If a focus event occurs without a preceding keyboard or pointer event, switch to virtual modality.\n // This occurs, for example, when navigating a form with the next/previous buttons on iOS.\n if (!$8f5a2122b0992be3$var$hasEventBeforeFocus && !$8f5a2122b0992be3$var$hasBlurredWindowRecently) {\n $8f5a2122b0992be3$var$currentModality = 'virtual';\n $8f5a2122b0992be3$var$currentPointerType = 'virtual';\n $8f5a2122b0992be3$var$triggerChangeHandlers('virtual', e);\n }\n $8f5a2122b0992be3$var$hasEventBeforeFocus = false;\n $8f5a2122b0992be3$var$hasBlurredWindowRecently = false;\n}\nfunction $8f5a2122b0992be3$var$handleWindowBlur() {\n if (0, $a92dc41f639950be$export$fda7da73ab5d4c48) return;\n // When the window is blurred, reset state. This is necessary when tabbing out of the window,\n // for example, since a subsequent focus event won't be fired.\n $8f5a2122b0992be3$var$hasEventBeforeFocus = false;\n $8f5a2122b0992be3$var$hasBlurredWindowRecently = true;\n}\n/**\n * Setup global event listeners to control when keyboard focus style should be visible.\n */ function $8f5a2122b0992be3$var$setupGlobalFocusEvents(element) {\n // eslint-disable-next-line no-restricted-globals\n if (typeof window === 'undefined' || typeof document === 'undefined') return;\n const windowObject = (0, $d447af545b77c9f1$export$f21a1ffae260145a)(element);\n const documentObject = (0, $d447af545b77c9f1$export$b204af158042fbac)(element);\n if ($8f5a2122b0992be3$export$d90243b58daecda7.get(windowObject)) return;\n // Programmatic focus() calls shouldn't affect the current input modality.\n // However, we need to detect other cases when a focus event occurs without\n // a preceding user event (e.g. screen reader focus). Overriding the focus\n // method on HTMLElement.prototype is a bit hacky, but works.\n let focus = windowObject.HTMLElement.prototype.focus;\n windowObject.HTMLElement.prototype.focus = function() {\n $8f5a2122b0992be3$var$hasEventBeforeFocus = true;\n focus.apply(this, arguments);\n };\n documentObject.addEventListener('keydown', $8f5a2122b0992be3$var$handleKeyboardEvent, true);\n documentObject.addEventListener('keyup', $8f5a2122b0992be3$var$handleKeyboardEvent, true);\n documentObject.addEventListener('click', $8f5a2122b0992be3$var$handleClickEvent, true);\n // Register focus events on the window so they are sure to happen\n // before React's event listeners (registered on the document).\n windowObject.addEventListener('focus', $8f5a2122b0992be3$var$handleFocusEvent, true);\n windowObject.addEventListener('blur', $8f5a2122b0992be3$var$handleWindowBlur, false);\n if (typeof PointerEvent !== 'undefined') {\n documentObject.addEventListener('pointerdown', $8f5a2122b0992be3$var$handlePointerEvent, true);\n documentObject.addEventListener('pointermove', $8f5a2122b0992be3$var$handlePointerEvent, true);\n documentObject.addEventListener('pointerup', $8f5a2122b0992be3$var$handlePointerEvent, true);\n } else if (process.env.NODE_ENV === 'test') {\n documentObject.addEventListener('mousedown', $8f5a2122b0992be3$var$handlePointerEvent, true);\n documentObject.addEventListener('mousemove', $8f5a2122b0992be3$var$handlePointerEvent, true);\n documentObject.addEventListener('mouseup', $8f5a2122b0992be3$var$handlePointerEvent, true);\n }\n // Add unmount handler\n windowObject.addEventListener('beforeunload', ()=>{\n $8f5a2122b0992be3$var$tearDownWindowFocusTracking(element);\n }, {\n once: true\n });\n $8f5a2122b0992be3$export$d90243b58daecda7.set(windowObject, {\n focus: focus\n });\n}\nconst $8f5a2122b0992be3$var$tearDownWindowFocusTracking = (element, loadListener)=>{\n const windowObject = (0, $d447af545b77c9f1$export$f21a1ffae260145a)(element);\n const documentObject = (0, $d447af545b77c9f1$export$b204af158042fbac)(element);\n if (loadListener) documentObject.removeEventListener('DOMContentLoaded', loadListener);\n if (!$8f5a2122b0992be3$export$d90243b58daecda7.has(windowObject)) return;\n windowObject.HTMLElement.prototype.focus = $8f5a2122b0992be3$export$d90243b58daecda7.get(windowObject).focus;\n documentObject.removeEventListener('keydown', $8f5a2122b0992be3$var$handleKeyboardEvent, true);\n documentObject.removeEventListener('keyup', $8f5a2122b0992be3$var$handleKeyboardEvent, true);\n documentObject.removeEventListener('click', $8f5a2122b0992be3$var$handleClickEvent, true);\n windowObject.removeEventListener('focus', $8f5a2122b0992be3$var$handleFocusEvent, true);\n windowObject.removeEventListener('blur', $8f5a2122b0992be3$var$handleWindowBlur, false);\n if (typeof PointerEvent !== 'undefined') {\n documentObject.removeEventListener('pointerdown', $8f5a2122b0992be3$var$handlePointerEvent, true);\n documentObject.removeEventListener('pointermove', $8f5a2122b0992be3$var$handlePointerEvent, true);\n documentObject.removeEventListener('pointerup', $8f5a2122b0992be3$var$handlePointerEvent, true);\n } else if (process.env.NODE_ENV === 'test') {\n documentObject.removeEventListener('mousedown', $8f5a2122b0992be3$var$handlePointerEvent, true);\n documentObject.removeEventListener('mousemove', $8f5a2122b0992be3$var$handlePointerEvent, true);\n documentObject.removeEventListener('mouseup', $8f5a2122b0992be3$var$handlePointerEvent, true);\n }\n $8f5a2122b0992be3$export$d90243b58daecda7.delete(windowObject);\n};\nfunction $8f5a2122b0992be3$export$2f1888112f558a7d(element) {\n const documentObject = (0, $d447af545b77c9f1$export$b204af158042fbac)(element);\n let loadListener;\n if (documentObject.readyState !== 'loading') $8f5a2122b0992be3$var$setupGlobalFocusEvents(element);\n else {\n loadListener = ()=>{\n $8f5a2122b0992be3$var$setupGlobalFocusEvents(element);\n };\n documentObject.addEventListener('DOMContentLoaded', loadListener);\n }\n return ()=>$8f5a2122b0992be3$var$tearDownWindowFocusTracking(element, loadListener);\n}\n// Server-side rendering does not have the document object defined\n// eslint-disable-next-line no-restricted-globals\nif (typeof document !== 'undefined') $8f5a2122b0992be3$export$2f1888112f558a7d();\nfunction $8f5a2122b0992be3$export$b9b3dfddab17db27() {\n return $8f5a2122b0992be3$var$currentModality !== 'pointer';\n}\nfunction $8f5a2122b0992be3$export$630ff653c5ada6a9() {\n return $8f5a2122b0992be3$var$currentModality;\n}\nfunction $8f5a2122b0992be3$export$8397ddfc504fdb9a(modality) {\n $8f5a2122b0992be3$var$currentModality = modality;\n $8f5a2122b0992be3$var$currentPointerType = modality === 'pointer' ? 'mouse' : modality;\n $8f5a2122b0992be3$var$triggerChangeHandlers(modality, null);\n}\nfunction $8f5a2122b0992be3$export$887a228355cf7d95() {\n return $8f5a2122b0992be3$var$currentPointerType;\n}\nfunction $8f5a2122b0992be3$export$98e20ec92f614cfe() {\n $8f5a2122b0992be3$var$setupGlobalFocusEvents();\n let [modality, setModality] = (0, $7U4qw$useState)($8f5a2122b0992be3$var$currentModality);\n (0, $7U4qw$useEffect)(()=>{\n let handler = ()=>{\n setModality($8f5a2122b0992be3$var$currentModality);\n };\n $8f5a2122b0992be3$export$901e90a13c50a14e.add(handler);\n return ()=>{\n $8f5a2122b0992be3$export$901e90a13c50a14e.delete(handler);\n };\n }, []);\n return (0, $c7eafbbe1ea5834e$export$535bd6ca7f90a273)() ? null : modality;\n}\nconst $8f5a2122b0992be3$var$nonTextInputTypes = new Set([\n 'checkbox',\n 'radio',\n 'range',\n 'color',\n 'file',\n 'image',\n 'button',\n 'submit',\n 'reset'\n]);\n/**\n * If this is attached to text input component, return if the event is a focus event (Tab/Escape\n * keys pressed) so that focus visible style can be properly set.\n */ function $8f5a2122b0992be3$var$isKeyboardFocusEvent(isTextInput, modality, e) {\n let eventTarget = e ? (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e) : undefined;\n let document1 = (0, $d447af545b77c9f1$export$b204af158042fbac)(eventTarget);\n let ownerWindow = (0, $d447af545b77c9f1$export$f21a1ffae260145a)(eventTarget);\n const IHTMLInputElement = typeof ownerWindow !== 'undefined' ? ownerWindow.HTMLInputElement : HTMLInputElement;\n const IHTMLTextAreaElement = typeof ownerWindow !== 'undefined' ? ownerWindow.HTMLTextAreaElement : HTMLTextAreaElement;\n const IHTMLElement = typeof ownerWindow !== 'undefined' ? ownerWindow.HTMLElement : HTMLElement;\n const IKeyboardEvent = typeof ownerWindow !== 'undefined' ? ownerWindow.KeyboardEvent : KeyboardEvent;\n // For keyboard events that occur on a non-input element that will move focus into input element (aka ArrowLeft going from Datepicker button to the main input group)\n // we need to rely on the user passing isTextInput into here. This way we can skip toggling focus visiblity for said input element\n let activeElement = (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)(document1);\n isTextInput = isTextInput || activeElement instanceof IHTMLInputElement && !$8f5a2122b0992be3$var$nonTextInputTypes.has(activeElement.type) || activeElement instanceof IHTMLTextAreaElement || activeElement instanceof IHTMLElement && activeElement.isContentEditable;\n return !(isTextInput && modality === 'keyboard' && e instanceof IKeyboardEvent && !$8f5a2122b0992be3$var$FOCUS_VISIBLE_INPUT_KEYS[e.key]);\n}\nfunction $8f5a2122b0992be3$export$ffd9e5021c1fb2d6(props = {}) {\n let { isTextInput: isTextInput, autoFocus: autoFocus } = props;\n let [isFocusVisibleState, setFocusVisible] = (0, $7U4qw$useState)(autoFocus || $8f5a2122b0992be3$export$b9b3dfddab17db27());\n $8f5a2122b0992be3$export$ec71b4b83ac08ec3((isFocusVisible)=>{\n setFocusVisible(isFocusVisible);\n }, [\n isTextInput\n ], {\n isTextInput: isTextInput\n });\n return {\n isFocusVisible: isFocusVisibleState\n };\n}\nfunction $8f5a2122b0992be3$export$ec71b4b83ac08ec3(fn, deps, opts) {\n $8f5a2122b0992be3$var$setupGlobalFocusEvents();\n (0, $7U4qw$useEffect)(()=>{\n if (opts?.enabled === false) return;\n let handler = (modality, e)=>{\n // We want to early return for any keyboard events that occur inside text inputs EXCEPT for Tab and Escape\n if (!$8f5a2122b0992be3$var$isKeyboardFocusEvent(!!opts?.isTextInput, modality, e)) return;\n fn($8f5a2122b0992be3$export$b9b3dfddab17db27());\n };\n $8f5a2122b0992be3$export$901e90a13c50a14e.add(handler);\n return ()=>{\n $8f5a2122b0992be3$export$901e90a13c50a14e.delete(handler);\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, deps);\n}\n\n\nexport {$8f5a2122b0992be3$export$901e90a13c50a14e as changeHandlers, $8f5a2122b0992be3$export$d90243b58daecda7 as hasSetupGlobalListeners, $8f5a2122b0992be3$export$2f1888112f558a7d as addWindowFocusTracking, $8f5a2122b0992be3$export$b9b3dfddab17db27 as isFocusVisible, $8f5a2122b0992be3$export$630ff653c5ada6a9 as getInteractionModality, $8f5a2122b0992be3$export$8397ddfc504fdb9a as setInteractionModality, $8f5a2122b0992be3$export$887a228355cf7d95 as getPointerType, $8f5a2122b0992be3$export$98e20ec92f614cfe as useInteractionModality, $8f5a2122b0992be3$export$ffd9e5021c1fb2d6 as useFocusVisible, $8f5a2122b0992be3$export$ec71b4b83ac08ec3 as useFocusVisibleListener};\n//# sourceMappingURL=useFocusVisible.mjs.map\n","import {isMac as $2add3ce32c6007eb$export$9ac100e40613ea10} from \"./platform.mjs\";\n\n/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nfunction $bb39c0fc1c19b34c$export$16792effe837dba3(e) {\n if ((0, $2add3ce32c6007eb$export$9ac100e40613ea10)()) return e.metaKey;\n return e.ctrlKey;\n}\n// HTML input types that do not cause the software keyboard to appear.\nconst $bb39c0fc1c19b34c$var$nonTextInputTypes = new Set([\n 'checkbox',\n 'radio',\n 'range',\n 'color',\n 'file',\n 'image',\n 'button',\n 'submit',\n 'reset'\n]);\nfunction $bb39c0fc1c19b34c$export$c57958e35f31ed73(target) {\n return target instanceof HTMLInputElement && !$bb39c0fc1c19b34c$var$nonTextInputTypes.has(target.type) || target instanceof HTMLTextAreaElement || target instanceof HTMLElement && target.isContentEditable;\n}\n\n\nexport {$bb39c0fc1c19b34c$export$16792effe837dba3 as isCtrlKeyPressed, $bb39c0fc1c19b34c$export$c57958e35f31ed73 as willOpenKeyboard};\n//# sourceMappingURL=keyboard.mjs.map\n","import {useLayoutEffect as $c4867b2f328c2698$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport $emnFQ$react, {useRef as $emnFQ$useRef, useCallback as $emnFQ$useCallback} from \"react\";\n\n/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n// Use the earliest effect type possible. useInsertionEffect runs during the mutation phase,\n// before all layout effects, but is available only in React 18 and later.\nconst $fe16bffc7a557bf0$var$useEarlyEffect = (0, $emnFQ$react)['useInsertionEffect'] ?? (0, $c4867b2f328c2698$export$e5c5a5f917a5871c);\nfunction $fe16bffc7a557bf0$export$7f54fc3180508a52(fn) {\n const ref = (0, $emnFQ$useRef)(null);\n $fe16bffc7a557bf0$var$useEarlyEffect(()=>{\n ref.current = fn;\n }, [\n fn\n ]);\n // @ts-ignore\n return (0, $emnFQ$useCallback)((...args)=>{\n const f = ref.current;\n return f?.(...args);\n }, []);\n}\n\n\nexport {$fe16bffc7a557bf0$export$7f54fc3180508a52 as useEffectEvent};\n//# sourceMappingURL=useEffectEvent.mjs.map\n","import {useEffectEvent as $fe16bffc7a557bf0$export$7f54fc3180508a52} from \"./useEffectEvent.mjs\";\nimport {useEffect as $jBdOV$useEffect} from \"react\";\n\n/*\n * Copyright 2021 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $600b3cf69ae46262$export$90fc3a17d93f704c(ref, event, handler, options) {\n let handleEvent = (0, $fe16bffc7a557bf0$export$7f54fc3180508a52)(handler);\n let isDisabled = handler == null;\n (0, $jBdOV$useEffect)(()=>{\n if (isDisabled || !ref.current) return;\n let element = ref.current;\n element.addEventListener(event, handleEvent, options);\n return ()=>{\n element.removeEventListener(event, handleEvent, options);\n };\n }, [\n ref,\n event,\n options,\n isDisabled\n ]);\n}\n\n\nexport {$600b3cf69ae46262$export$90fc3a17d93f704c as useEvent};\n//# sourceMappingURL=useEvent.mjs.map\n","import {useId as $390e54f620492c70$export$f680877a34711e37} from \"./useId.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nfunction $e8ac3c3f5d4bae7f$export$d6875122194c7b44(props, defaultLabel) {\n let { id: id, 'aria-label': label, 'aria-labelledby': labelledBy } = props;\n // If there is both an aria-label and aria-labelledby,\n // combine them by pointing to the element itself.\n id = (0, $390e54f620492c70$export$f680877a34711e37)(id);\n if (labelledBy && label) {\n let ids = new Set([\n id,\n ...labelledBy.trim().split(/\\s+/)\n ]);\n labelledBy = [\n ...ids\n ].join(' ');\n } else if (labelledBy) labelledBy = labelledBy.trim().split(/\\s+/).join(' ');\n // If no labels are provided, use the default\n if (!label && !labelledBy && defaultLabel) label = defaultLabel;\n return {\n id: id,\n 'aria-label': label,\n 'aria-labelledby': labelledBy\n };\n}\n\n\nexport {$e8ac3c3f5d4bae7f$export$d6875122194c7b44 as useLabels};\n//# sourceMappingURL=useLabels.mjs.map\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ // https://en.wikipedia.org/wiki/Right-to-left\nconst $d805ff57cab8bee2$var$RTL_SCRIPTS = new Set([\n 'Arab',\n 'Syrc',\n 'Samr',\n 'Mand',\n 'Thaa',\n 'Mend',\n 'Nkoo',\n 'Adlm',\n 'Rohg',\n 'Hebr'\n]);\nconst $d805ff57cab8bee2$var$RTL_LANGS = new Set([\n 'ae',\n 'ar',\n 'arc',\n 'bcc',\n 'bqi',\n 'ckb',\n 'dv',\n 'fa',\n 'glk',\n 'he',\n 'ku',\n 'mzn',\n 'nqo',\n 'pnb',\n 'ps',\n 'sd',\n 'ug',\n 'ur',\n 'yi'\n]);\nfunction $d805ff57cab8bee2$export$702d680b21cbd764(localeString) {\n // If the Intl.Locale API is available, use it to get the locale's text direction.\n if (Intl.Locale) {\n let locale = new Intl.Locale(localeString).maximize();\n // Use the text info object to get the direction if possible.\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getTextInfo\n let textInfo = // @ts-ignore - this was implemented as a property by some browsers before it was standardized as a function.\n typeof locale.getTextInfo === 'function' ? locale.getTextInfo() : locale.textInfo;\n if (textInfo) return textInfo.direction === 'rtl';\n // Fallback: guess using the script.\n // This is more accurate than guessing by language, since languages can be written in multiple scripts.\n if (locale.script) return $d805ff57cab8bee2$var$RTL_SCRIPTS.has(locale.script);\n }\n // If not, just guess by the language (first part of the locale)\n let lang = localeString.split('-')[0];\n return $d805ff57cab8bee2$var$RTL_LANGS.has(lang);\n}\n\n\nexport {$d805ff57cab8bee2$export$702d680b21cbd764 as isRTL};\n//# sourceMappingURL=utils.mjs.map\n","import {isRTL as $d805ff57cab8bee2$export$702d680b21cbd764} from \"./utils.mjs\";\nimport {useIsSSR as $c7eafbbe1ea5834e$export$535bd6ca7f90a273} from \"../ssr/SSRProvider.mjs\";\nimport {useState as $lEF9U$useState, useEffect as $lEF9U$useEffect} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n// Locale passed from server by PackageLocalizationProvider.\nconst $520a025cdb0d710d$var$localeSymbol = Symbol.for('react-aria.i18n.locale');\nfunction $520a025cdb0d710d$export$f09106e7c6677ec5() {\n let locale = typeof window !== 'undefined' && window[$520a025cdb0d710d$var$localeSymbol] || // @ts-ignore\n typeof navigator !== 'undefined' && (navigator.language || navigator.userLanguage) || 'en-US';\n try {\n Intl.DateTimeFormat.supportedLocalesOf([\n locale\n ]);\n } catch {\n locale = 'en-US';\n }\n return {\n locale: locale,\n direction: (0, $d805ff57cab8bee2$export$702d680b21cbd764)(locale) ? 'rtl' : 'ltr'\n };\n}\nlet $520a025cdb0d710d$var$currentLocale = $520a025cdb0d710d$export$f09106e7c6677ec5();\nlet $520a025cdb0d710d$var$listeners = new Set();\nfunction $520a025cdb0d710d$var$updateLocale() {\n $520a025cdb0d710d$var$currentLocale = $520a025cdb0d710d$export$f09106e7c6677ec5();\n for (let listener of $520a025cdb0d710d$var$listeners)listener($520a025cdb0d710d$var$currentLocale);\n}\nfunction $520a025cdb0d710d$export$188ec29ebc2bdc3a() {\n let isSSR = (0, $c7eafbbe1ea5834e$export$535bd6ca7f90a273)();\n let [defaultLocale, setDefaultLocale] = (0, $lEF9U$useState)($520a025cdb0d710d$var$currentLocale);\n (0, $lEF9U$useEffect)(()=>{\n if ($520a025cdb0d710d$var$listeners.size === 0) window.addEventListener('languagechange', $520a025cdb0d710d$var$updateLocale);\n $520a025cdb0d710d$var$listeners.add(setDefaultLocale);\n return ()=>{\n $520a025cdb0d710d$var$listeners.delete(setDefaultLocale);\n if ($520a025cdb0d710d$var$listeners.size === 0) window.removeEventListener('languagechange', $520a025cdb0d710d$var$updateLocale);\n };\n }, []);\n // We cannot determine the browser's language on the server, so default to\n // en-US. This will be updated after hydration on the client to the correct value.\n if (isSSR) {\n let locale = typeof window !== 'undefined' && window[$520a025cdb0d710d$var$localeSymbol];\n return {\n locale: locale || 'en-US',\n direction: 'ltr'\n };\n }\n return defaultLocale;\n}\n\n\nexport {$520a025cdb0d710d$export$f09106e7c6677ec5 as getDefaultLocale, $520a025cdb0d710d$export$188ec29ebc2bdc3a as useDefaultLocale};\n//# sourceMappingURL=useDefaultLocale.mjs.map\n","import {isRTL as $d805ff57cab8bee2$export$702d680b21cbd764} from \"./utils.mjs\";\nimport {useDefaultLocale as $520a025cdb0d710d$export$188ec29ebc2bdc3a} from \"./useDefaultLocale.mjs\";\nimport $01Dwp$react, {useContext as $01Dwp$useContext} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nconst $2eb8e6d23f3d0cb0$var$I18nContext = /*#__PURE__*/ (0, $01Dwp$react).createContext(null);\n/**\n * Internal component that handles the case when locale is provided.\n */ function $2eb8e6d23f3d0cb0$var$I18nProviderWithLocale(props) {\n let { locale: locale, children: children } = props;\n let value = (0, $01Dwp$react).useMemo(()=>({\n locale: locale,\n direction: (0, $d805ff57cab8bee2$export$702d680b21cbd764)(locale) ? 'rtl' : 'ltr'\n }), [\n locale\n ]);\n return /*#__PURE__*/ (0, $01Dwp$react).createElement($2eb8e6d23f3d0cb0$var$I18nContext.Provider, {\n value: value\n }, children);\n}\n/**\n * Internal component that handles the case when no locale is provided.\n */ function $2eb8e6d23f3d0cb0$var$I18nProviderWithDefaultLocale(props) {\n let { children: children } = props;\n let defaultLocale = (0, $520a025cdb0d710d$export$188ec29ebc2bdc3a)();\n return /*#__PURE__*/ (0, $01Dwp$react).createElement($2eb8e6d23f3d0cb0$var$I18nContext.Provider, {\n value: defaultLocale\n }, children);\n}\nfunction $2eb8e6d23f3d0cb0$export$a54013f0d02a8f82(props) {\n let { locale: locale, children: children } = props;\n // Conditionally render different components to avoid calling useDefaultLocale.\n // This is necessary because useDefaultLocale triggers a re-render.\n if (locale) return /*#__PURE__*/ (0, $01Dwp$react).createElement($2eb8e6d23f3d0cb0$var$I18nProviderWithLocale, {\n locale: locale,\n children: children\n });\n return /*#__PURE__*/ (0, $01Dwp$react).createElement($2eb8e6d23f3d0cb0$var$I18nProviderWithDefaultLocale, {\n children: children\n });\n}\nfunction $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7() {\n let defaultLocale = (0, $520a025cdb0d710d$export$188ec29ebc2bdc3a)();\n let context = (0, $01Dwp$useContext)($2eb8e6d23f3d0cb0$var$I18nContext);\n return context || defaultLocale;\n}\n\n\nexport {$2eb8e6d23f3d0cb0$export$a54013f0d02a8f82 as I18nProvider, $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7 as useLocale};\n//# sourceMappingURL=I18nProvider.mjs.map\n","/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ const $a747a10fe70a57da$var$localeSymbol = Symbol.for('react-aria.i18n.locale');\nconst $a747a10fe70a57da$var$stringsSymbol = Symbol.for('react-aria.i18n.strings');\nlet $a747a10fe70a57da$var$cachedGlobalStrings = undefined;\nclass $a747a10fe70a57da$export$c17fa47878dc55b6 {\n constructor(messages, defaultLocale = 'en-US'){\n // Clone messages so we don't modify the original object.\n // Filter out entries with falsy values which may have been caused by applying optimize-locales-plugin.\n this.strings = Object.fromEntries(Object.entries(messages).filter(([, v])=>v));\n this.defaultLocale = defaultLocale;\n }\n /** Returns a localized string for the given key and locale. */ getStringForLocale(key, locale) {\n let strings = this.getStringsForLocale(locale);\n let string = strings[key];\n if (!string) throw new Error(`Could not find intl message ${key} in ${locale} locale`);\n return string;\n }\n /** Returns all localized strings for the given locale. */ getStringsForLocale(locale) {\n let strings = this.strings[locale];\n if (!strings) {\n strings = $a747a10fe70a57da$var$getStringsForLocale(locale, this.strings, this.defaultLocale);\n this.strings[locale] = strings;\n }\n return strings;\n }\n static getGlobalDictionaryForPackage(packageName) {\n if (typeof window === 'undefined') return null;\n let locale = window[$a747a10fe70a57da$var$localeSymbol];\n if ($a747a10fe70a57da$var$cachedGlobalStrings === undefined) {\n let globalStrings = window[$a747a10fe70a57da$var$stringsSymbol];\n if (!globalStrings) return null;\n $a747a10fe70a57da$var$cachedGlobalStrings = {};\n for(let pkg in globalStrings)$a747a10fe70a57da$var$cachedGlobalStrings[pkg] = new $a747a10fe70a57da$export$c17fa47878dc55b6({\n [locale]: globalStrings[pkg]\n }, locale);\n }\n let dictionary = $a747a10fe70a57da$var$cachedGlobalStrings?.[packageName];\n if (!dictionary) throw new Error(`Strings for package \"${packageName}\" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);\n return dictionary;\n }\n}\nfunction $a747a10fe70a57da$var$getStringsForLocale(locale, strings, defaultLocale = 'en-US') {\n // If there is an exact match, use it.\n if (strings[locale]) return strings[locale];\n // Attempt to find the closest match by language.\n // For example, if the locale is fr-CA (French Canadian), but there is only\n // an fr-FR (France) set of strings, use that.\n // This could be replaced with Intl.LocaleMatcher once it is supported.\n // https://github.com/tc39/proposal-intl-localematcher\n let language = $a747a10fe70a57da$var$getLanguage(locale);\n if (strings[language]) return strings[language];\n for(let key in strings){\n if (key.startsWith(language + '-')) return strings[key];\n }\n // Nothing close, use english.\n return strings[defaultLocale];\n}\nfunction $a747a10fe70a57da$var$getLanguage(locale) {\n // @ts-ignore\n if (Intl.Locale) // @ts-ignore\n return new Intl.Locale(locale).language;\n return locale.split('-')[0];\n}\n\n\nexport {$a747a10fe70a57da$export$c17fa47878dc55b6 as LocalizedStringDictionary};\n//# sourceMappingURL=LocalizedStringDictionary.mjs.map\n","/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ const $b27c684a33948c64$var$pluralRulesCache = new Map();\nconst $b27c684a33948c64$var$numberFormatCache = new Map();\nclass $b27c684a33948c64$export$2f817fcdc4b89ae0 {\n constructor(locale, strings){\n this.locale = locale;\n this.strings = strings;\n }\n /** Formats a localized string for the given key with the provided variables. */ format(key, variables) {\n let message = this.strings.getStringForLocale(key, this.locale);\n return typeof message === 'function' ? message(variables, this) : message;\n }\n plural(count, options, type = 'cardinal') {\n let opt = options['=' + count];\n if (opt) return typeof opt === 'function' ? opt() : opt;\n let key = this.locale + ':' + type;\n let pluralRules = $b27c684a33948c64$var$pluralRulesCache.get(key);\n if (!pluralRules) {\n pluralRules = new Intl.PluralRules(this.locale, {\n type: type\n });\n $b27c684a33948c64$var$pluralRulesCache.set(key, pluralRules);\n }\n let selected = pluralRules.select(count);\n opt = options[selected] || options.other;\n return typeof opt === 'function' ? opt() : opt;\n }\n number(value) {\n let numberFormat = $b27c684a33948c64$var$numberFormatCache.get(this.locale);\n if (!numberFormat) {\n numberFormat = new Intl.NumberFormat(this.locale);\n $b27c684a33948c64$var$numberFormatCache.set(this.locale, numberFormat);\n }\n return numberFormat.format(value);\n }\n select(options, value) {\n let opt = options[value] || options.other;\n return typeof opt === 'function' ? opt() : opt;\n }\n}\n\n\nexport {$b27c684a33948c64$export$2f817fcdc4b89ae0 as LocalizedStringFormatter};\n//# sourceMappingURL=LocalizedStringFormatter.mjs.map\n","import {useLocale as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7} from \"./I18nProvider.mjs\";\nimport {LocalizedStringDictionary as $hwcjY$LocalizedStringDictionary, LocalizedStringFormatter as $hwcjY$LocalizedStringFormatter} from \"@internationalized/string\";\nimport {useMemo as $hwcjY$useMemo} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nconst $cf2482eff2eeeec2$var$cache = new WeakMap();\nfunction $cf2482eff2eeeec2$var$getCachedDictionary(strings) {\n let dictionary = $cf2482eff2eeeec2$var$cache.get(strings);\n if (!dictionary) {\n dictionary = new (0, $hwcjY$LocalizedStringDictionary)(strings);\n $cf2482eff2eeeec2$var$cache.set(strings, dictionary);\n }\n return dictionary;\n}\nfunction $cf2482eff2eeeec2$export$87b761675e8eaa10(strings, packageName) {\n return packageName && (0, $hwcjY$LocalizedStringDictionary).getGlobalDictionaryForPackage(packageName) || $cf2482eff2eeeec2$var$getCachedDictionary(strings);\n}\nfunction $cf2482eff2eeeec2$export$f12b703ca79dfbb1(strings, packageName) {\n let { locale: locale } = (0, $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7)();\n let dictionary = $cf2482eff2eeeec2$export$87b761675e8eaa10(strings, packageName);\n return (0, $hwcjY$useMemo)(()=>new (0, $hwcjY$LocalizedStringFormatter)(locale, dictionary), [\n locale,\n dictionary\n ]);\n}\n\n\nexport {$cf2482eff2eeeec2$export$87b761675e8eaa10 as useLocalizedStringDictionary, $cf2482eff2eeeec2$export$f12b703ca79dfbb1 as useLocalizedStringFormatter};\n//# sourceMappingURL=useLocalizedStringFormatter.mjs.map\n","import $1CcWn$react, {useState as $1CcWn$useState, useRef as $1CcWn$useRef, useEffect as $1CcWn$useEffect, useReducer as $1CcWn$useReducer, useCallback as $1CcWn$useCallback} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n// Use the earliest effect possible to reset the ref below.\nconst $3e6197669829fe11$var$useEarlyEffect = typeof document !== 'undefined' ? (0, $1CcWn$react)['useInsertionEffect'] ?? (0, $1CcWn$react).useLayoutEffect : ()=>{};\nfunction $3e6197669829fe11$export$40bfa8c7b0832715(value, defaultValue, onChange) {\n // Store the value in both state and a ref. The state value will only be used when uncontrolled.\n // The ref is used to track the most current value, which is passed to the function setState callback.\n let [stateValue, setStateValue] = (0, $1CcWn$useState)(value || defaultValue);\n let valueRef = (0, $1CcWn$useRef)(stateValue);\n let isControlledRef = (0, $1CcWn$useRef)(value !== undefined);\n let isControlled = value !== undefined;\n (0, $1CcWn$useEffect)(()=>{\n let wasControlled = isControlledRef.current;\n if (wasControlled !== isControlled && process.env.NODE_ENV !== 'production') console.warn(`WARN: A component changed from ${wasControlled ? 'controlled' : 'uncontrolled'} to ${isControlled ? 'controlled' : 'uncontrolled'}.`);\n isControlledRef.current = isControlled;\n }, [\n isControlled\n ]);\n // After each render, update the ref to the current value.\n // This ensures that the setState callback argument is reset.\n // Note: the effect should not have any dependencies so that controlled values always reset.\n let currentValue = isControlled ? value : stateValue;\n $3e6197669829fe11$var$useEarlyEffect(()=>{\n valueRef.current = currentValue;\n });\n let [, forceUpdate] = (0, $1CcWn$useReducer)(()=>({}), {});\n let setValue = (0, $1CcWn$useCallback)((value, ...args)=>{\n // @ts-ignore - TS doesn't know that T cannot be a function.\n let newValue = typeof value === 'function' ? value(valueRef.current) : value;\n if (!Object.is(valueRef.current, newValue)) {\n // Update the ref so that the next setState callback has the most recent value.\n valueRef.current = newValue;\n setStateValue(newValue);\n // Always trigger a re-render, even when controlled, so that the layout effect above runs to reset the value.\n forceUpdate();\n // Trigger onChange. Note that if setState is called multiple times in a single event,\n // onChange will be called for each one instead of only once.\n onChange?.(newValue, ...args);\n }\n }, [\n onChange\n ]);\n return [\n currentValue,\n setValue\n ];\n}\n\n\nexport {$3e6197669829fe11$export$40bfa8c7b0832715 as useControlledState};\n//# sourceMappingURL=useControlledState.mjs.map\n","import {Provider as $7230ffa83bc0c2cf$export$2881499e37b75b9a, removeDataAttributes as $7230ffa83bc0c2cf$export$ef03459518577ad4, useSlottedContext as $7230ffa83bc0c2cf$export$fabf2dc03a41866e} from \"./utils.mjs\";\nimport {useAutocomplete as $1J3Gn$useAutocomplete} from \"react-aria/useAutocomplete\";\nimport {useAutocompleteState as $1J3Gn$useAutocompleteState} from \"react-stately/private/autocomplete/useAutocompleteState\";\nimport {mergeProps as $1J3Gn$mergeProps} from \"react-aria/mergeProps\";\nimport $1J3Gn$react, {createContext as $1J3Gn$createContext, useRef as $1J3Gn$useRef} from \"react\";\n\n/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\nconst $4b38b5b75ecc6208$export$36e687af51cd0967 = /*#__PURE__*/ (0, $1J3Gn$createContext)(null);\nconst $4b38b5b75ecc6208$export$68ee3368b6d68148 = /*#__PURE__*/ (0, $1J3Gn$createContext)(null);\nconst $4b38b5b75ecc6208$export$b0d3ecf7112093a7 = /*#__PURE__*/ (0, $1J3Gn$createContext)(null);\nconst $4b38b5b75ecc6208$export$698f465ec27e93df = /*#__PURE__*/ (0, $1J3Gn$createContext)(null);\nfunction $4b38b5b75ecc6208$export$2f2b9559550c7bbc(props) {\n let ctx = (0, $7230ffa83bc0c2cf$export$fabf2dc03a41866e)($4b38b5b75ecc6208$export$36e687af51cd0967, props.slot);\n props = (0, $1J3Gn$mergeProps)(ctx, props);\n let { filter: filter, disableAutoFocusFirst: disableAutoFocusFirst } = props;\n let state = (0, $1J3Gn$useAutocompleteState)(props);\n let inputRef = (0, $1J3Gn$useRef)(null);\n let collectionRef = (0, $1J3Gn$useRef)(null);\n let { inputProps: inputProps, collectionProps: collectionProps, collectionRef: mergedCollectionRef, filter: filterFn } = (0, $1J3Gn$useAutocomplete)({\n ...(0, $7230ffa83bc0c2cf$export$ef03459518577ad4)(props),\n filter: filter,\n disableAutoFocusFirst: disableAutoFocusFirst,\n inputRef: inputRef,\n collectionRef: collectionRef\n }, state);\n return /*#__PURE__*/ (0, $1J3Gn$react).createElement((0, $7230ffa83bc0c2cf$export$2881499e37b75b9a), {\n values: [\n [\n $4b38b5b75ecc6208$export$68ee3368b6d68148,\n state\n ],\n [\n $4b38b5b75ecc6208$export$698f465ec27e93df,\n {\n ...inputProps,\n ref: inputRef\n }\n ],\n [\n $4b38b5b75ecc6208$export$b0d3ecf7112093a7,\n {\n ...collectionProps,\n filter: filterFn,\n ref: mergedCollectionRef\n }\n ]\n ]\n }, props.children);\n}\n\n\nexport {$4b38b5b75ecc6208$export$36e687af51cd0967 as AutocompleteContext, $4b38b5b75ecc6208$export$68ee3368b6d68148 as AutocompleteStateContext, $4b38b5b75ecc6208$export$b0d3ecf7112093a7 as SelectableCollectionContext, $4b38b5b75ecc6208$export$698f465ec27e93df as FieldInputContext, $4b38b5b75ecc6208$export$2f2b9559550c7bbc as Autocomplete};\n//# sourceMappingURL=Autocomplete.mjs.map\n","/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ class $6f0c29017aeec335$export$d68d59712b04d9d1 {\n constructor(key){\n this.value = null;\n this.level = 0;\n this.hasChildNodes = false;\n this.rendered = null;\n this.textValue = '';\n this['aria-label'] = undefined;\n this.index = 0;\n this.parentKey = null;\n this.prevKey = null;\n this.nextKey = null;\n this.firstChildKey = null;\n this.lastChildKey = null;\n this.props = {};\n this.colSpan = null;\n this.colIndex = null;\n this.type = this.constructor.type;\n this.key = key;\n }\n get childNodes() {\n throw new Error('childNodes is not supported');\n }\n clone() {\n let node = new this.constructor(this.key);\n node.value = this.value;\n node.level = this.level;\n node.hasChildNodes = this.hasChildNodes;\n node.rendered = this.rendered;\n node.textValue = this.textValue;\n node['aria-label'] = this['aria-label'];\n node.index = this.index;\n node.parentKey = this.parentKey;\n node.prevKey = this.prevKey;\n node.nextKey = this.nextKey;\n node.firstChildKey = this.firstChildKey;\n node.lastChildKey = this.lastChildKey;\n node.props = this.props;\n node.render = this.render;\n node.colSpan = this.colSpan;\n node.colIndex = this.colIndex;\n return node;\n }\n filter(collection, newCollection, // eslint-disable-next-line @typescript-eslint/no-unused-vars\n filterFn) {\n let clone = this.clone();\n newCollection.addDescendants(clone, collection);\n return clone;\n }\n}\nclass $6f0c29017aeec335$export$b1918e978f1ee46f extends $6f0c29017aeec335$export$d68d59712b04d9d1 {\n filter(collection, newCollection, filterFn) {\n let [firstKey, lastKey] = $6f0c29017aeec335$var$filterChildren(collection, newCollection, this.firstChildKey, filterFn);\n let newNode = this.clone();\n newNode.firstChildKey = firstKey;\n newNode.lastChildKey = lastKey;\n return newNode;\n }\n}\nclass $6f0c29017aeec335$export$5ae2504e948afce5 extends $6f0c29017aeec335$export$d68d59712b04d9d1 {\n static{\n this.type = 'header';\n }\n}\nclass $6f0c29017aeec335$export$8258a0665a675899 extends $6f0c29017aeec335$export$d68d59712b04d9d1 {\n static{\n this.type = 'loader';\n }\n}\nclass $6f0c29017aeec335$export$fd11f34e1d07f134 extends $6f0c29017aeec335$export$b1918e978f1ee46f {\n static{\n this.type = 'item';\n }\n filter(collection, newCollection, filterFn) {\n if (filterFn(this.textValue, this)) {\n let clone = this.clone();\n newCollection.addDescendants(clone, collection);\n return clone;\n }\n return null;\n }\n}\nclass $6f0c29017aeec335$export$437f11dc9b403b78 extends $6f0c29017aeec335$export$b1918e978f1ee46f {\n static{\n this.type = 'section';\n }\n filter(collection, newCollection, filterFn) {\n let filteredSection = super.filter(collection, newCollection, filterFn);\n if (filteredSection) {\n if (filteredSection.lastChildKey !== null) {\n let lastChild = collection.getItem(filteredSection.lastChildKey);\n if (lastChild && lastChild.type !== 'header') return filteredSection;\n }\n }\n return null;\n }\n}\nclass $6f0c29017aeec335$export$408d25a4e12db025 {\n get size() {\n return this.itemCount;\n }\n getKeys() {\n return this.keyMap.keys();\n }\n *[Symbol.iterator]() {\n let node = this.firstKey != null ? this.keyMap.get(this.firstKey) : undefined;\n while(node){\n yield node;\n node = node.nextKey != null ? this.keyMap.get(node.nextKey) : undefined;\n }\n }\n getChildren(key) {\n let keyMap = this.keyMap;\n return {\n *[Symbol.iterator] () {\n let parent = keyMap.get(key);\n let node = parent?.firstChildKey != null ? keyMap.get(parent.firstChildKey) : null;\n while(node){\n yield node;\n node = node.nextKey != null ? keyMap.get(node.nextKey) : undefined;\n }\n }\n };\n }\n getKeyBefore(key) {\n let node = this.keyMap.get(key);\n if (!node) return null;\n if (node.prevKey != null) {\n node = this.keyMap.get(node.prevKey);\n while(node && node.type !== 'item' && node.lastChildKey != null)node = this.keyMap.get(node.lastChildKey);\n return node?.key ?? null;\n }\n return node.parentKey;\n }\n getKeyAfter(key) {\n let node = this.keyMap.get(key);\n if (!node) return null;\n if (node.type !== 'item' && node.firstChildKey != null) return node.firstChildKey;\n while(node){\n if (node.nextKey != null) return node.nextKey;\n if (node.parentKey != null) node = this.keyMap.get(node.parentKey);\n else return null;\n }\n return null;\n }\n getFirstKey() {\n return this.firstKey;\n }\n getLastKey() {\n let node = this.lastKey != null ? this.keyMap.get(this.lastKey) : null;\n while(node?.lastChildKey != null)node = this.keyMap.get(node.lastChildKey);\n return node?.key ?? null;\n }\n getItem(key) {\n return this.keyMap.get(key) ?? null;\n }\n at() {\n throw new Error('Not implemented');\n }\n clone() {\n // We need to clone using this.constructor so that subclasses have the right prototype.\n // TypeScript isn't happy about this yet.\n // https://github.com/microsoft/TypeScript/issues/3841\n let Constructor = this.constructor;\n let collection = new Constructor();\n collection.keyMap = new Map(this.keyMap);\n collection.firstKey = this.firstKey;\n collection.lastKey = this.lastKey;\n collection.itemCount = this.itemCount;\n return collection;\n }\n addNode(node) {\n if (this.frozen) throw new Error('Cannot add a node to a frozen collection');\n if (node.type === 'item' && this.keyMap.get(node.key) == null) this.itemCount++;\n this.keyMap.set(node.key, node);\n }\n // Deeply add a node and its children to the collection from another collection, primarily used when filtering a collection\n addDescendants(node, oldCollection) {\n this.addNode(node);\n let children = oldCollection.getChildren(node.key);\n for (let child of children)this.addDescendants(child, oldCollection);\n }\n removeNode(key) {\n if (this.frozen) throw new Error('Cannot remove a node to a frozen collection');\n let node = this.keyMap.get(key);\n if (node != null && node.type === 'item') this.itemCount--;\n this.keyMap.delete(key);\n }\n commit(firstKey, lastKey, isSSR = false) {\n if (this.frozen) throw new Error('Cannot commit a frozen collection');\n this.firstKey = firstKey;\n this.lastKey = lastKey;\n this.frozen = !isSSR;\n }\n filter(filterFn) {\n let newCollection = new this.constructor();\n let [firstKey, lastKey] = $6f0c29017aeec335$var$filterChildren(this, newCollection, this.firstKey, filterFn);\n newCollection?.commit(firstKey, lastKey);\n return newCollection;\n }\n constructor(){\n this.keyMap = new Map();\n this.firstKey = null;\n this.lastKey = null;\n this.frozen = false;\n this.itemCount = 0;\n }\n}\nfunction $6f0c29017aeec335$var$filterChildren(collection, newCollection, firstChildKey, filterFn) {\n // loop over the siblings for firstChildKey\n // create new nodes based on calling node.filter for each child\n // if it returns null then don't include it, otherwise update its prev/next keys\n // add them to the newCollection\n if (firstChildKey == null) return [\n null,\n null\n ];\n let firstNode = null;\n let lastNode = null;\n let currentNode = collection.getItem(firstChildKey);\n while(currentNode != null){\n let newNode = currentNode.filter(collection, newCollection, filterFn);\n if (newNode != null) {\n newNode.nextKey = null;\n if (lastNode) {\n newNode.prevKey = lastNode.key;\n lastNode.nextKey = newNode.key;\n }\n if (firstNode == null) firstNode = newNode;\n newCollection.addNode(newNode);\n lastNode = newNode;\n }\n currentNode = currentNode.nextKey != null ? collection.getItem(currentNode.nextKey) : null;\n }\n // TODO: this is pretty specific to dividers but doesn't feel like there is a good way to get around it since we only can know\n // to filter the last separator in a collection only after performing a filter for the rest of the contents after it\n // Its gross that it needs to live here, might be nice if somehow we could have this live in the separator code\n if (lastNode && lastNode.type === 'separator') {\n let prevKey = lastNode.prevKey;\n newCollection.removeNode(lastNode.key);\n if (prevKey != null) {\n lastNode = newCollection.getItem(prevKey);\n lastNode.nextKey = null;\n } else lastNode = null;\n }\n return [\n firstNode?.key ?? null,\n lastNode?.key ?? null\n ];\n}\n\n\nexport {$6f0c29017aeec335$export$d68d59712b04d9d1 as CollectionNode, $6f0c29017aeec335$export$b1918e978f1ee46f as FilterableNode, $6f0c29017aeec335$export$5ae2504e948afce5 as HeaderNode, $6f0c29017aeec335$export$8258a0665a675899 as LoaderNode, $6f0c29017aeec335$export$fd11f34e1d07f134 as ItemNode, $6f0c29017aeec335$export$437f11dc9b403b78 as SectionNode, $6f0c29017aeec335$export$408d25a4e12db025 as BaseCollection};\n//# sourceMappingURL=BaseCollection.mjs.map\n","/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ class $96ead35620b8fd36$export$410b0c854570d131 {\n constructor(ownerDocument){\n this._firstChild = null;\n this._lastChild = null;\n this._previousSibling = null;\n this._nextSibling = null;\n this._parentNode = null;\n this._minInvalidChildIndex = null;\n this.ownerDocument = ownerDocument;\n }\n *[Symbol.iterator]() {\n let node = this.firstChild;\n while(node){\n yield node;\n node = node.nextSibling;\n }\n }\n get firstChild() {\n return this._firstChild;\n }\n set firstChild(firstChild) {\n this._firstChild = firstChild;\n this.ownerDocument.markDirty(this);\n }\n get lastChild() {\n return this._lastChild;\n }\n set lastChild(lastChild) {\n this._lastChild = lastChild;\n this.ownerDocument.markDirty(this);\n }\n get previousSibling() {\n return this._previousSibling;\n }\n set previousSibling(previousSibling) {\n this._previousSibling = previousSibling;\n this.ownerDocument.markDirty(this);\n }\n get nextSibling() {\n return this._nextSibling;\n }\n set nextSibling(nextSibling) {\n this._nextSibling = nextSibling;\n this.ownerDocument.markDirty(this);\n }\n get parentNode() {\n return this._parentNode;\n }\n set parentNode(parentNode) {\n this._parentNode = parentNode;\n this.ownerDocument.markDirty(this);\n }\n get isConnected() {\n return this.parentNode?.isConnected || false;\n }\n invalidateChildIndices(child) {\n if (this._minInvalidChildIndex == null || !this._minInvalidChildIndex.isConnected || child.index < this._minInvalidChildIndex.index) {\n this._minInvalidChildIndex = child;\n this.ownerDocument.markDirty(this);\n }\n }\n updateChildIndices() {\n let node = this._minInvalidChildIndex;\n while(node){\n node.index = node.previousSibling ? node.previousSibling.index + 1 : 0;\n node = node.nextSibling;\n }\n this._minInvalidChildIndex = null;\n }\n appendChild(child) {\n if (child.parentNode) child.parentNode.removeChild(child);\n if (this.firstChild == null) this.firstChild = child;\n if (this.lastChild) {\n this.lastChild.nextSibling = child;\n child.index = this.lastChild.index + 1;\n child.previousSibling = this.lastChild;\n } else {\n child.previousSibling = null;\n child.index = 0;\n }\n child.parentNode = this;\n child.nextSibling = null;\n this.lastChild = child;\n this.ownerDocument.markDirty(this);\n if (this.isConnected) this.ownerDocument.queueUpdate();\n }\n insertBefore(newNode, referenceNode) {\n if (referenceNode == null) return this.appendChild(newNode);\n if (newNode.parentNode) newNode.parentNode.removeChild(newNode);\n newNode.nextSibling = referenceNode;\n newNode.previousSibling = referenceNode.previousSibling;\n // Ensure that the newNode's index is less than that of the reference node so that\n // invalidateChildIndices will properly use the newNode as the _minInvalidChildIndex, thus making sure\n // we will properly update the indexes of all sibiling nodes after the newNode. The value here doesn't matter\n // since updateChildIndices should calculate the proper indexes.\n newNode.index = referenceNode.index - 1;\n if (this.firstChild === referenceNode) this.firstChild = newNode;\n else if (referenceNode.previousSibling) referenceNode.previousSibling.nextSibling = newNode;\n referenceNode.previousSibling = newNode;\n newNode.parentNode = referenceNode.parentNode;\n this.invalidateChildIndices(newNode);\n if (this.isConnected) this.ownerDocument.queueUpdate();\n }\n removeChild(child) {\n if (child.parentNode !== this) return;\n if (this._minInvalidChildIndex === child) this._minInvalidChildIndex = null;\n if (child.nextSibling) {\n this.invalidateChildIndices(child.nextSibling);\n child.nextSibling.previousSibling = child.previousSibling;\n }\n if (child.previousSibling) child.previousSibling.nextSibling = child.nextSibling;\n if (this.firstChild === child) this.firstChild = child.nextSibling;\n if (this.lastChild === child) this.lastChild = child.previousSibling;\n child.parentNode = null;\n child.nextSibling = null;\n child.previousSibling = null;\n child.index = 0;\n this.ownerDocument.markDirty(child);\n if (this.isConnected) this.ownerDocument.queueUpdate();\n }\n addEventListener() {}\n removeEventListener() {}\n get previousVisibleSibling() {\n let node = this.previousSibling;\n while(node && node.isHidden)node = node.previousSibling;\n return node;\n }\n get nextVisibleSibling() {\n let node = this.nextSibling;\n while(node && node.isHidden)node = node.nextSibling;\n return node;\n }\n get firstVisibleChild() {\n let node = this.firstChild;\n while(node && node.isHidden)node = node.nextSibling;\n return node;\n }\n get lastVisibleChild() {\n let node = this.lastChild;\n while(node && node.isHidden)node = node.previousSibling;\n return node;\n }\n}\nclass $96ead35620b8fd36$export$dc064fe9e59310fd extends $96ead35620b8fd36$export$410b0c854570d131 {\n constructor(type, ownerDocument){\n super(ownerDocument), this.nodeType = 8 // COMMENT_NODE (we'd use ELEMENT_NODE but React DevTools will fail to get its dimensions)\n , this.isMutated = true, this._index = 0, this.isHidden = false;\n this.node = null;\n }\n get index() {\n return this._index;\n }\n set index(index) {\n this._index = index;\n this.ownerDocument.markDirty(this);\n }\n get level() {\n if (this.parentNode instanceof $96ead35620b8fd36$export$dc064fe9e59310fd) return this.parentNode.level + (this.parentNode.node?.type === 'item' ? 1 : 0);\n return 0;\n }\n /**\n * Lazily gets a mutable instance of a Node. If the node has already\n * been cloned during this update cycle, it just returns the existing one.\n */ getMutableNode() {\n if (this.node == null) return null;\n if (!this.isMutated) {\n this.node = this.node.clone();\n this.isMutated = true;\n }\n this.ownerDocument.markDirty(this);\n return this.node;\n }\n updateNode() {\n let nextSibling = this.nextVisibleSibling;\n let node = this.getMutableNode();\n if (node == null) return;\n node.index = this.index;\n node.level = this.level;\n node.parentKey = this.parentNode instanceof $96ead35620b8fd36$export$dc064fe9e59310fd ? this.parentNode.node?.key ?? null : null;\n node.prevKey = this.previousVisibleSibling?.node?.key ?? null;\n node.nextKey = nextSibling?.node?.key ?? null;\n node.hasChildNodes = !!this.firstChild;\n node.firstChildKey = this.firstVisibleChild?.node?.key ?? null;\n node.lastChildKey = this.lastVisibleChild?.node?.key ?? null;\n // Update the colIndex of sibling nodes if this node has a colSpan.\n if ((node.colSpan != null || node.colIndex != null) && nextSibling) {\n // This queues the next sibling for update, which means this happens recursively.\n let nextColIndex = (node.colIndex ?? node.index) + (node.colSpan ?? 1);\n if (nextSibling.node != null && nextColIndex !== nextSibling.node.colIndex) {\n let siblingNode = nextSibling.getMutableNode();\n siblingNode.colIndex = nextColIndex;\n }\n }\n }\n setProps(obj, ref, CollectionNodeClass, rendered, render) {\n let node;\n let { value: value1, textValue: textValue, id: id, ...props } = obj;\n if (this.node == null) {\n node = new CollectionNodeClass(id ?? `react-aria-${++this.ownerDocument.nodeId}`);\n this.node = node;\n } else node = this.getMutableNode();\n props.ref = ref;\n node.props = props;\n node.rendered = rendered;\n node.render = render;\n node.value = value1;\n if (obj['aria-label']) node['aria-label'] = obj['aria-label'];\n node.textValue = textValue || (typeof props.children === 'string' ? props.children : '') || obj['aria-label'] || '';\n if (id != null && id !== node.key) throw new Error('Cannot change the id of an item');\n if (props.colSpan != null) node.colSpan = props.colSpan;\n if (this.isConnected) this.ownerDocument.queueUpdate();\n }\n get style() {\n // React sets display: none to hide elements during Suspense.\n // We'll handle this by setting the element to hidden and invalidating\n // its siblings/parent. Hidden elements remain in the Document, but\n // are removed from the Collection.\n let element = this;\n return {\n get display () {\n return element.isHidden ? 'none' : '';\n },\n set display (value){\n let isHidden = value === 'none';\n if (element.isHidden !== isHidden) {\n // Mark parent node dirty if this element is currently the first or last visible child.\n if (element.parentNode?.firstVisibleChild === element || element.parentNode?.lastVisibleChild === element) element.ownerDocument.markDirty(element.parentNode);\n // Mark sibling visible elements dirty.\n let prev = element.previousVisibleSibling;\n let next = element.nextVisibleSibling;\n if (prev) element.ownerDocument.markDirty(prev);\n if (next) element.ownerDocument.markDirty(next);\n // Mark self dirty.\n element.isHidden = isHidden;\n element.ownerDocument.markDirty(element);\n }\n }\n };\n }\n hasAttribute() {}\n setAttribute() {}\n setAttributeNS() {}\n removeAttribute() {}\n}\nclass $96ead35620b8fd36$export$b34a105447964f9f extends $96ead35620b8fd36$export$410b0c854570d131 {\n constructor(collection){\n // @ts-ignore\n super(null), this.nodeType = 11 // DOCUMENT_FRAGMENT_NODE\n , this.ownerDocument = this, this.dirtyNodes = new Set(), this.isSSR = false, this.nodeId = 0, this.nodesByProps = new WeakMap(), this.nextCollection = null, this.subscriptions = new Set(), this.queuedRender = false, this.inSubscription = false;\n this.collection = collection;\n this.nextCollection = collection;\n }\n get isConnected() {\n return true;\n }\n createElement(type) {\n return new $96ead35620b8fd36$export$dc064fe9e59310fd(type, this);\n }\n getMutableCollection() {\n if (!this.nextCollection) this.nextCollection = this.collection.clone();\n return this.nextCollection;\n }\n markDirty(node) {\n this.dirtyNodes.add(node);\n }\n addNode(element) {\n if (element.isHidden || element.node == null) return;\n let collection = this.getMutableCollection();\n if (!collection.getItem(element.node.key)) for (let child of element)this.addNode(child);\n collection.addNode(element.node);\n }\n removeNode(node) {\n for (let child of node)this.removeNode(child);\n if (node.node) {\n let collection = this.getMutableCollection();\n collection.removeNode(node.node.key);\n }\n }\n /** Finalizes the collection update, updating all nodes and freezing the collection. */ getCollection() {\n // If in a subscription update, return return the existing collection.\n // React will call getCollection again during render, at which point all the updates will be complete.\n if (this.inSubscription) return this.collection;\n // Reset queuedRender to false when getCollection is called during render.\n this.queuedRender = false;\n this.updateCollection();\n return this.collection;\n }\n updateCollection() {\n // First, remove disconnected nodes and update the indices of dirty element children.\n for (let element of this.dirtyNodes)if (element instanceof $96ead35620b8fd36$export$dc064fe9e59310fd && (!element.isConnected || element.isHidden)) this.removeNode(element);\n else element.updateChildIndices();\n // Next, update dirty collection nodes.\n for (let element of this.dirtyNodes)if (element instanceof $96ead35620b8fd36$export$dc064fe9e59310fd) {\n if (element.isConnected && !element.isHidden) {\n element.updateNode();\n this.addNode(element);\n }\n if (element.node) this.dirtyNodes.delete(element);\n element.isMutated = false;\n } else this.dirtyNodes.delete(element);\n // Finally, update the collection.\n if (this.nextCollection) {\n this.nextCollection.commit(this.firstVisibleChild?.node?.key ?? null, this.lastVisibleChild?.node?.key ?? null, this.isSSR);\n if (!this.isSSR) {\n this.collection = this.nextCollection;\n this.nextCollection = null;\n }\n }\n }\n queueUpdate() {\n if (this.dirtyNodes.size === 0 || this.queuedRender) return;\n // Only trigger subscriptions once during an update, when the first item changes.\n // React's useSyncExternalStore will call getCollection immediately, to check whether the snapshot changed.\n // If so, React will queue a render to happen after the current commit to our fake DOM finishes.\n // We track whether getCollection is called in a subscription, and once it is called during render,\n // we reset queuedRender back to false.\n this.queuedRender = true;\n this.inSubscription = true;\n // Clone the collection to ensure that React queues a render. It will call getCollection again\n // during render, at which point all the updates will be complete and we can return\n // the new collection.\n if (!this.isSSR) this.collection = this.collection.clone();\n for (let fn of this.subscriptions)fn();\n this.inSubscription = false;\n }\n subscribe(fn) {\n this.subscriptions.add(fn);\n return ()=>this.subscriptions.delete(fn);\n }\n resetAfterSSR() {\n if (this.isSSR) {\n this.isSSR = false;\n this.firstChild = null;\n this.lastChild = null;\n this.nodeId = 0;\n }\n }\n}\n\n\nexport {$96ead35620b8fd36$export$410b0c854570d131 as BaseNode, $96ead35620b8fd36$export$dc064fe9e59310fd as ElementNode, $96ead35620b8fd36$export$b34a105447964f9f as Document};\n//# sourceMappingURL=Document.mjs.map\n","import {useMemo as $2NO26$useMemo, cloneElement as $2NO26$cloneElement} from \"react\";\n\n/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nfunction $a80bd3e9349588e7$export$727c8fc270210f13(props) {\n let { children: children, items: items, idScope: idScope, addIdAndValue: addIdAndValue, dependencies: dependencies = [] } = props;\n // In development, invalidate when the children function updates (e.g. HMR).\n let childrenString = (0, $2NO26$useMemo)(()=>process.env.NODE_ENV !== 'production' && typeof children === 'function' ? children.toString() : undefined, [\n children\n ]);\n // Invalidate the cache whenever dependencies change.\n // eslint-disable-next-line react-hooks/exhaustive-deps\n let cache = (0, $2NO26$useMemo)(()=>new WeakMap(), [\n ...dependencies,\n childrenString\n ]);\n return (0, $2NO26$useMemo)(()=>{\n if (items && typeof children === 'function') {\n let res = [];\n for (let item of items){\n let cacheKey = $a80bd3e9349588e7$var$isWeakKey(item) ? item : null;\n let rendered = cacheKey ? cache.get(cacheKey) : null;\n if (!rendered) {\n rendered = children(item);\n // @ts-ignore\n let id = rendered.props.id ?? item?.key ?? item?.id;\n if (idScope != null && rendered.props.id == null && id != null) id = idScope + ':' + id;\n // If no id is inferred from data, use the index as the React key.\n // An id will be generated by the collection document.\n let key = id ?? res.length;\n // Note: only works if wrapped Item passes through id...\n rendered = (0, $2NO26$cloneElement)(rendered, addIdAndValue ? {\n key: key,\n id: id,\n value: item\n } : {\n key: key\n });\n if (cacheKey) cache.set(cacheKey, rendered);\n }\n res.push(rendered);\n }\n return res;\n } else if (typeof children !== 'function') return children;\n }, [\n children,\n items,\n cache,\n idScope,\n addIdAndValue\n ]);\n}\nfunction $a80bd3e9349588e7$var$isWeakKey(value) {\n switch(typeof value){\n case 'object':\n return value != null;\n case 'function':\n case 'symbol':\n return true;\n default:\n return false;\n }\n}\n\n\nexport {$a80bd3e9349588e7$export$727c8fc270210f13 as useCachedChildren};\n//# sourceMappingURL=useCachedChildren.mjs.map\n","import {getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29} from \"./shadowdom/DOMFunctions.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ // We store a global list of elements that are currently transitioning,\n// mapped to a set of CSS properties that are transitioning for that element.\n// This is necessary rather than a simple count of transitions because of browser\n// bugs, e.g. Chrome sometimes fires both transitionend and transitioncancel rather\n// than one or the other. So we need to track what's actually transitioning so that\n// we can ignore these duplicate events.\n\nlet $081cb5757e08788e$var$transitionsByElement = new Map();\n// A list of callbacks to call once there are no transitioning elements.\nlet $081cb5757e08788e$var$transitionCallbacks = new Set();\nfunction $081cb5757e08788e$var$setupGlobalEvents() {\n if (typeof window === 'undefined') return;\n function isTransitionEvent(event) {\n return 'propertyName' in event;\n }\n let onTransitionStart = (e)=>{\n let eventTarget = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e);\n if (!isTransitionEvent(e) || !eventTarget) return;\n // Add the transitioning property to the list for this element.\n let transitions = $081cb5757e08788e$var$transitionsByElement.get(eventTarget);\n if (!transitions) {\n transitions = new Set();\n $081cb5757e08788e$var$transitionsByElement.set(eventTarget, transitions);\n // The transitioncancel event must be registered on the element itself, rather than as a global\n // event. This enables us to handle when the node is deleted from the document while it is transitioning.\n // In that case, the cancel event would have nowhere to bubble to so we need to handle it directly.\n eventTarget.addEventListener('transitioncancel', onTransitionEnd, {\n once: true\n });\n }\n transitions.add(e.propertyName);\n };\n let onTransitionEnd = (e)=>{\n let eventTarget = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e);\n if (!isTransitionEvent(e) || !eventTarget) return;\n // Remove property from list of transitioning properties.\n let properties = $081cb5757e08788e$var$transitionsByElement.get(eventTarget);\n if (!properties) return;\n properties.delete(e.propertyName);\n // If empty, remove transitioncancel event, and remove the element from the list of transitioning elements.\n if (properties.size === 0) {\n eventTarget.removeEventListener('transitioncancel', onTransitionEnd);\n $081cb5757e08788e$var$transitionsByElement.delete(eventTarget);\n }\n // If no transitioning elements, call all of the queued callbacks.\n if ($081cb5757e08788e$var$transitionsByElement.size === 0) {\n for (let cb of $081cb5757e08788e$var$transitionCallbacks)cb();\n $081cb5757e08788e$var$transitionCallbacks.clear();\n }\n };\n document.body.addEventListener('transitionrun', onTransitionStart);\n document.body.addEventListener('transitionend', onTransitionEnd);\n}\nif (typeof document !== 'undefined') {\n if (document.readyState !== 'loading') $081cb5757e08788e$var$setupGlobalEvents();\n else document.addEventListener('DOMContentLoaded', $081cb5757e08788e$var$setupGlobalEvents);\n}\n/**\n * Cleans up any elements that are no longer in the document.\n * This is necessary because we can't rely on transitionend events to fire\n * for elements that are removed from the document while transitioning.\n */ function $081cb5757e08788e$var$cleanupDetachedElements() {\n for (const [eventTarget] of $081cb5757e08788e$var$transitionsByElement)// Similar to `eventTarget instanceof Element && !eventTarget.isConnected`, but avoids\n // the explicit instanceof check, since it may be different in different contexts.\n if ('isConnected' in eventTarget && !eventTarget.isConnected) $081cb5757e08788e$var$transitionsByElement.delete(eventTarget);\n}\nfunction $081cb5757e08788e$export$24490316f764c430(fn) {\n // Wait one frame to see if an animation starts, e.g. a transition on mount.\n requestAnimationFrame(()=>{\n $081cb5757e08788e$var$cleanupDetachedElements();\n // If no transitions are running, call the function immediately.\n // Otherwise, add it to a list of callbacks to run at the end of the animation.\n if ($081cb5757e08788e$var$transitionsByElement.size === 0) fn();\n else $081cb5757e08788e$var$transitionCallbacks.add(fn);\n });\n}\n\n\nexport {$081cb5757e08788e$export$24490316f764c430 as runAfterTransition};\n//# sourceMappingURL=runAfterTransition.mjs.map\n","import {focusWithoutScrolling as $1969ac565cfec8d0$export$de79e2c695e052f3} from \"../utils/focusWithoutScrolling.mjs\";\nimport {getActiveElement as $23f2114a1b82827e$export$cd4e5573fbe2b576} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {getInteractionModality as $8f5a2122b0992be3$export$630ff653c5ada6a9} from \"./useFocusVisible.mjs\";\nimport {getOwnerDocument as $d447af545b77c9f1$export$b204af158042fbac} from \"../utils/domHelpers.mjs\";\nimport {runAfterTransition as $081cb5757e08788e$export$24490316f764c430} from \"../utils/runAfterTransition.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the 'License');\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\nfunction $f192c2f16961cbe0$export$80f3e147d781571c(element) {\n if (!element.isConnected) return;\n // If the user is interacting with a virtual cursor, e.g. screen reader, then\n // wait until after any animated transitions that are currently occurring on\n // the page before shifting focus. This avoids issues with VoiceOver on iOS\n // causing the page to scroll when moving focus if the element is transitioning\n // from off the screen.\n const ownerDocument = (0, $d447af545b77c9f1$export$b204af158042fbac)(element);\n if ((0, $8f5a2122b0992be3$export$630ff653c5ada6a9)() === 'virtual') {\n let lastFocusedElement = (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)(ownerDocument);\n (0, $081cb5757e08788e$export$24490316f764c430)(()=>{\n const activeElement = (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)(ownerDocument);\n // If focus did not move or focus was lost to the body, and the element is still in the document, focus it.\n if ((activeElement === lastFocusedElement || activeElement === ownerDocument.body) && element.isConnected) (0, $1969ac565cfec8d0$export$de79e2c695e052f3)(element);\n });\n } else (0, $1969ac565cfec8d0$export$de79e2c695e052f3)(element);\n}\n\n\nexport {$f192c2f16961cbe0$export$80f3e147d781571c as focusSafely};\n//# sourceMappingURL=focusSafely.mjs.map\n","import {getActiveElement as $23f2114a1b82827e$export$cd4e5573fbe2b576, getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {getOwnerDocument as $d447af545b77c9f1$export$b204af158042fbac} from \"../utils/domHelpers.mjs\";\nimport {useSyntheticBlurEvent as $a92dc41f639950be$export$715c682d09d639cc} from \"./utils.mjs\";\nimport {useCallback as $3siB1$useCallback} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ // Portions of the code in this file are based on code from react.\n// Original licensing for the following can be found in the\n// NOTICE file in the root directory of this source tree.\n// See https://github.com/facebook/react/tree/cc7c1aece46a6b69b41958d731e0fd27c94bfc6c/packages/react-interactions\n\n\n\n\nfunction $1e74c67db218ce67$export$f8168d8dd8fd66e6(props) {\n let { isDisabled: isDisabled, onFocus: onFocusProp, onBlur: onBlurProp, onFocusChange: onFocusChange } = props;\n const onBlur = (0, $3siB1$useCallback)((e)=>{\n if ((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e) === e.currentTarget) {\n if (onBlurProp) onBlurProp(e);\n if (onFocusChange) onFocusChange(false);\n return true;\n }\n }, [\n onBlurProp,\n onFocusChange\n ]);\n const onSyntheticFocus = (0, $a92dc41f639950be$export$715c682d09d639cc)(onBlur);\n const onFocus = (0, $3siB1$useCallback)((e)=>{\n // Double check that document.activeElement actually matches e.target in case a previously chained\n // focus handler already moved focus somewhere else.\n let eventTarget = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e);\n const ownerDocument = (0, $d447af545b77c9f1$export$b204af158042fbac)(eventTarget);\n const activeElement = ownerDocument ? (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)(ownerDocument) : (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)();\n if (eventTarget === e.currentTarget && eventTarget === activeElement) {\n if (onFocusProp) onFocusProp(e);\n if (onFocusChange) onFocusChange(true);\n onSyntheticFocus(e);\n }\n }, [\n onFocusChange,\n onFocusProp,\n onSyntheticFocus\n ]);\n return {\n focusProps: {\n onFocus: !isDisabled && (onFocusProp || onFocusChange || onBlurProp) ? onFocus : undefined,\n onBlur: !isDisabled && (onBlurProp || onFocusChange) ? onBlur : undefined\n }\n };\n}\n\n\nexport {$1e74c67db218ce67$export$f8168d8dd8fd66e6 as useFocus};\n//# sourceMappingURL=useFocus.mjs.map\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ function $8dba16319206abb6$export$48d1ea6320830260(handler) {\n if (!handler) return undefined;\n let shouldStopPropagation = true;\n return (e)=>{\n let event = {\n ...e,\n preventDefault () {\n e.preventDefault();\n },\n isDefaultPrevented () {\n return e.isDefaultPrevented();\n },\n stopPropagation () {\n if (shouldStopPropagation && process.env.NODE_ENV !== 'production') console.error('stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.');\n else shouldStopPropagation = true;\n },\n continuePropagation () {\n shouldStopPropagation = false;\n },\n isPropagationStopped () {\n return shouldStopPropagation;\n }\n };\n handler(event);\n if (shouldStopPropagation) e.stopPropagation();\n };\n}\n\n\nexport {$8dba16319206abb6$export$48d1ea6320830260 as createEventHandler};\n//# sourceMappingURL=createEventHandler.mjs.map\n","import {createEventHandler as $8dba16319206abb6$export$48d1ea6320830260} from \"./createEventHandler.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nfunction $8296dad1a4c5e0dc$export$8f71654801c2f7cd(props) {\n return {\n keyboardProps: props.isDisabled ? {} : {\n onKeyDown: (0, $8dba16319206abb6$export$48d1ea6320830260)(props.onKeyDown),\n onKeyUp: (0, $8dba16319206abb6$export$48d1ea6320830260)(props.onKeyUp)\n }\n };\n}\n\n\nexport {$8296dad1a4c5e0dc$export$8f71654801c2f7cd as useKeyboard};\n//# sourceMappingURL=useKeyboard.mjs.map\n","import {useLayoutEffect as $c4867b2f328c2698$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nfunction $b7115c395c64f7b5$export$4debdb1a3f0fa79e(context, ref) {\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n if (context && context.ref && ref) {\n context.ref.current = ref.current;\n return ()=>{\n if (context.ref) // oxlint-disable-next-line react-hooks/exhaustive-deps\n context.ref.current = null;\n };\n }\n });\n}\n\n\nexport {$b7115c395c64f7b5$export$4debdb1a3f0fa79e as useSyncRef};\n//# sourceMappingURL=useSyncRef.mjs.map\n","import {focusSafely as $f192c2f16961cbe0$export$80f3e147d781571c} from \"./focusSafely.mjs\";\nimport {getOwnerWindow as $d447af545b77c9f1$export$f21a1ffae260145a} from \"../utils/domHelpers.mjs\";\nimport {isFocusable as $3b8b240c1bf84ab9$export$4c063cf1350e6fed} from \"../utils/isFocusable.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {mergeRefs as $4064df0d6f9620e1$export$c9058316764c140e} from \"../utils/mergeRefs.mjs\";\nimport {useFocus as $1e74c67db218ce67$export$f8168d8dd8fd66e6} from \"./useFocus.mjs\";\nimport {useKeyboard as $8296dad1a4c5e0dc$export$8f71654801c2f7cd} from \"./useKeyboard.mjs\";\nimport {useObjectRef as $03e8ab2d84d7657a$export$4338b53315abf666} from \"../utils/useObjectRef.mjs\";\nimport {useSyncRef as $b7115c395c64f7b5$export$4debdb1a3f0fa79e} from \"../utils/useSyncRef.mjs\";\nimport $fKWKs$react, {useContext as $fKWKs$useContext, useRef as $fKWKs$useRef, useEffect as $fKWKs$useEffect, forwardRef as $fKWKs$forwardRef} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\nlet $d1116acdf220c2da$export$f9762fab77588ecb = /*#__PURE__*/ (0, $fKWKs$react).createContext(null);\nfunction $d1116acdf220c2da$var$useFocusableContext(ref) {\n let context = (0, $fKWKs$useContext)($d1116acdf220c2da$export$f9762fab77588ecb) || {};\n (0, $b7115c395c64f7b5$export$4debdb1a3f0fa79e)(context, ref);\n // eslint-disable-next-line\n let { ref: _, ...otherProps } = context;\n return otherProps;\n}\nconst $d1116acdf220c2da$export$13f3202a3e5ddd5 = /*#__PURE__*/ (0, $fKWKs$react).forwardRef(function FocusableProvider(props, ref) {\n let { children: children, ...otherProps } = props;\n let objRef = (0, $03e8ab2d84d7657a$export$4338b53315abf666)(ref);\n let context = {\n ...otherProps,\n ref: objRef\n };\n return /*#__PURE__*/ (0, $fKWKs$react).createElement($d1116acdf220c2da$export$f9762fab77588ecb.Provider, {\n value: context\n }, children);\n});\nfunction $d1116acdf220c2da$export$4c014de7c8940b4c(props, domRef) {\n let { focusProps: focusProps } = (0, $1e74c67db218ce67$export$f8168d8dd8fd66e6)(props);\n let { keyboardProps: keyboardProps } = (0, $8296dad1a4c5e0dc$export$8f71654801c2f7cd)(props);\n let interactions = (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(focusProps, keyboardProps);\n let domProps = $d1116acdf220c2da$var$useFocusableContext(domRef);\n let interactionProps = props.isDisabled ? {} : domProps;\n let autoFocusRef = (0, $fKWKs$useRef)(props.autoFocus);\n (0, $fKWKs$useEffect)(()=>{\n if (autoFocusRef.current && domRef.current) (0, $f192c2f16961cbe0$export$80f3e147d781571c)(domRef.current);\n autoFocusRef.current = false;\n }, [\n domRef\n ]);\n // Always set a tabIndex so that Safari allows focusing native buttons and inputs.\n let tabIndex = props.excludeFromTabOrder ? -1 : 0;\n if (props.isDisabled) tabIndex = undefined;\n return {\n focusableProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)({\n ...interactions,\n tabIndex: tabIndex\n }, interactionProps)\n };\n}\nconst $d1116acdf220c2da$export$35a3bebf7ef2d934 = /*#__PURE__*/ (0, $fKWKs$forwardRef)(({ children: children, ...props }, ref)=>{\n ref = (0, $03e8ab2d84d7657a$export$4338b53315abf666)(ref);\n let { focusableProps: focusableProps } = $d1116acdf220c2da$export$4c014de7c8940b4c(props, ref);\n let child = (0, $fKWKs$react).Children.only(children);\n (0, $fKWKs$useEffect)(()=>{\n if (process.env.NODE_ENV === 'production') return;\n let el = ref.current;\n if (!el || !(el instanceof (0, $d447af545b77c9f1$export$f21a1ffae260145a)(el).Element)) {\n console.error('<Focusable> child must forward its ref to a DOM element.');\n return;\n }\n if (!props.isDisabled && !(0, $3b8b240c1bf84ab9$export$4c063cf1350e6fed)(el)) {\n console.warn('<Focusable> child must be focusable. Please ensure the tabIndex prop is passed through.');\n return;\n }\n if (el.localName !== 'button' && el.localName !== 'input' && el.localName !== 'select' && el.localName !== 'textarea' && el.localName !== 'a' && el.localName !== 'area' && el.localName !== 'summary' && el.localName !== 'img' && el.localName !== 'svg') {\n let role = el.getAttribute('role');\n if (!role) console.warn('<Focusable> child must have an interactive ARIA role.');\n else if (// https://w3c.github.io/aria/#widget_roles\n role !== 'application' && role !== 'button' && role !== 'checkbox' && role !== 'combobox' && role !== 'gridcell' && role !== 'link' && role !== 'menuitem' && role !== 'menuitemcheckbox' && role !== 'menuitemradio' && role !== 'option' && role !== 'radio' && role !== 'searchbox' && role !== 'separator' && role !== 'slider' && role !== 'spinbutton' && role !== 'switch' && role !== 'tab' && role !== 'tabpanel' && role !== 'textbox' && role !== 'treeitem' && // aria-describedby is also announced on these roles\n role !== 'img' && role !== 'meter' && role !== 'progressbar') console.warn(`<Focusable> child must have an interactive ARIA role. Got \"${role}\".`);\n }\n }, [\n ref,\n props.isDisabled\n ]);\n // @ts-ignore\n let childRef = parseInt((0, $fKWKs$react).version, 10) < 19 ? child.ref : child.props.ref;\n return /*#__PURE__*/ (0, $fKWKs$react).cloneElement(child, {\n ...(0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(focusableProps, child.props),\n // @ts-ignore\n ref: (0, $4064df0d6f9620e1$export$c9058316764c140e)(childRef, ref)\n });\n});\n\n\nexport {$d1116acdf220c2da$export$f9762fab77588ecb as FocusableContext, $d1116acdf220c2da$export$13f3202a3e5ddd5 as FocusableProvider, $d1116acdf220c2da$export$4c014de7c8940b4c as useFocusable, $d1116acdf220c2da$export$35a3bebf7ef2d934 as Focusable};\n//# sourceMappingURL=useFocusable.mjs.map\n","import $iuCOg$react, {createContext as $iuCOg$createContext, useContext as $iuCOg$useContext, forwardRef as $iuCOg$forwardRef} from \"react\";\n\n/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n// React doesn't understand the <template> element, which doesn't have children like a normal element.\n// It will throw an error during hydration when it expects the firstChild to contain content rendered\n// on the server, when in reality, the browser will have placed this inside the `content` document fragment.\n// This monkey patches the firstChild property for our special hidden template elements to work around this error.\n// does the same for appendChild/removeChild/insertBefore as per the issue below\n// See https://github.com/facebook/react/issues/19932\nif (typeof HTMLTemplateElement !== 'undefined') {\n Object.defineProperty(HTMLTemplateElement.prototype, 'firstChild', {\n configurable: true,\n enumerable: true,\n get: function() {\n return this.content.firstChild;\n }\n });\n Object.defineProperty(HTMLTemplateElement.prototype, 'appendChild', {\n configurable: true,\n enumerable: true,\n value: function(node) {\n return this.content.appendChild(node);\n }\n });\n Object.defineProperty(HTMLTemplateElement.prototype, 'removeChild', {\n configurable: true,\n enumerable: true,\n value: function(node) {\n return this.content.removeChild(node);\n }\n });\n Object.defineProperty(HTMLTemplateElement.prototype, 'insertBefore', {\n configurable: true,\n enumerable: true,\n value: function(node, child) {\n return this.content.insertBefore(node, child);\n }\n });\n}\nconst $d7f64c32b702fe2c$export$94b6d0abf7d33e8c = /*#__PURE__*/ (0, $iuCOg$createContext)(false);\nfunction $d7f64c32b702fe2c$export$8dc98ba7eadeaa56(props) {\n let isHidden = (0, $iuCOg$useContext)($d7f64c32b702fe2c$export$94b6d0abf7d33e8c);\n if (isHidden) // Don't hide again if we are already hidden.\n return /*#__PURE__*/ (0, $iuCOg$react).createElement((0, $iuCOg$react).Fragment, null, props.children);\n let children = /*#__PURE__*/ (0, $iuCOg$react).createElement($d7f64c32b702fe2c$export$94b6d0abf7d33e8c.Provider, {\n value: true\n }, props.children);\n // In SSR, portals are not supported by React. Instead, always render into a <template>\n // element, which the browser will never display to the user. In addition, the\n // content is not part of the accessible DOM tree, so it won't affect ids or other accessibility attributes.\n return /*#__PURE__*/ (0, $iuCOg$react).createElement(\"template\", null, children);\n}\nfunction $d7f64c32b702fe2c$export$86427a43e3e48ebb(fn) {\n let Wrapper = (props, ref)=>{\n let isHidden = (0, $iuCOg$useContext)($d7f64c32b702fe2c$export$94b6d0abf7d33e8c);\n if (isHidden) return null;\n return fn(props, ref);\n };\n // @ts-ignore - for react dev tools\n Wrapper.displayName = fn.displayName || fn.name;\n return (0, $iuCOg$forwardRef)(Wrapper);\n}\nfunction $d7f64c32b702fe2c$export$b5d7cc18bb8d2b59() {\n return (0, $iuCOg$useContext)($d7f64c32b702fe2c$export$94b6d0abf7d33e8c);\n}\n\n\nexport {$d7f64c32b702fe2c$export$94b6d0abf7d33e8c as HiddenContext, $d7f64c32b702fe2c$export$8dc98ba7eadeaa56 as Hidden, $d7f64c32b702fe2c$export$86427a43e3e48ebb as createHideableComponent, $d7f64c32b702fe2c$export$b5d7cc18bb8d2b59 as useIsHidden};\n//# sourceMappingURL=Hidden.mjs.map\n","/**\n * @license React\n * use-sync-external-store-shim.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 is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n}\nvar objectIs = \"function\" === typeof Object.is ? Object.is : is,\n useState = React.useState,\n useEffect = React.useEffect,\n useLayoutEffect = React.useLayoutEffect,\n useDebugValue = React.useDebugValue;\nfunction useSyncExternalStore$2(subscribe, getSnapshot) {\n var value = getSnapshot(),\n _useState = useState({ inst: { value: value, getSnapshot: getSnapshot } }),\n inst = _useState[0].inst,\n forceUpdate = _useState[1];\n useLayoutEffect(\n function () {\n inst.value = value;\n inst.getSnapshot = getSnapshot;\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n },\n [subscribe, value, getSnapshot]\n );\n useEffect(\n function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n return subscribe(function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n });\n },\n [subscribe]\n );\n useDebugValue(value);\n return value;\n}\nfunction checkIfSnapshotChanged(inst) {\n var latestGetSnapshot = inst.getSnapshot;\n inst = inst.value;\n try {\n var nextValue = latestGetSnapshot();\n return !objectIs(inst, nextValue);\n } catch (error) {\n return !0;\n }\n}\nfunction useSyncExternalStore$1(subscribe, getSnapshot) {\n return getSnapshot();\n}\nvar shim =\n \"undefined\" === typeof window ||\n \"undefined\" === typeof window.document ||\n \"undefined\" === typeof window.document.createElement\n ? useSyncExternalStore$1\n : useSyncExternalStore$2;\nexports.useSyncExternalStore =\n void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;\n","/**\n * @license React\n * use-sync-external-store-shim.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 is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n }\n function useSyncExternalStore$2(subscribe, getSnapshot) {\n didWarnOld18Alpha ||\n void 0 === React.startTransition ||\n ((didWarnOld18Alpha = !0),\n console.error(\n \"You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release.\"\n ));\n var value = getSnapshot();\n if (!didWarnUncachedGetSnapshot) {\n var cachedValue = getSnapshot();\n objectIs(value, cachedValue) ||\n (console.error(\n \"The result of getSnapshot should be cached to avoid an infinite loop\"\n ),\n (didWarnUncachedGetSnapshot = !0));\n }\n cachedValue = useState({\n inst: { value: value, getSnapshot: getSnapshot }\n });\n var inst = cachedValue[0].inst,\n forceUpdate = cachedValue[1];\n useLayoutEffect(\n function () {\n inst.value = value;\n inst.getSnapshot = getSnapshot;\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n },\n [subscribe, value, getSnapshot]\n );\n useEffect(\n function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n return subscribe(function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n });\n },\n [subscribe]\n );\n useDebugValue(value);\n return value;\n }\n function checkIfSnapshotChanged(inst) {\n var latestGetSnapshot = inst.getSnapshot;\n inst = inst.value;\n try {\n var nextValue = latestGetSnapshot();\n return !objectIs(inst, nextValue);\n } catch (error) {\n return !0;\n }\n }\n function useSyncExternalStore$1(subscribe, getSnapshot) {\n return getSnapshot();\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 objectIs = \"function\" === typeof Object.is ? Object.is : is,\n useState = React.useState,\n useEffect = React.useEffect,\n useLayoutEffect = React.useLayoutEffect,\n useDebugValue = React.useDebugValue,\n didWarnOld18Alpha = !1,\n didWarnUncachedGetSnapshot = !1,\n shim =\n \"undefined\" === typeof window ||\n \"undefined\" === typeof window.document ||\n \"undefined\" === typeof window.document.createElement\n ? useSyncExternalStore$1\n : useSyncExternalStore$2;\n exports.useSyncExternalStore =\n void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;\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\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('../cjs/use-sync-external-store-shim.production.js');\n} else {\n module.exports = require('../cjs/use-sync-external-store-shim.development.js');\n}\n","import {BaseCollection as $6f0c29017aeec335$export$408d25a4e12db025, CollectionNode as $6f0c29017aeec335$export$d68d59712b04d9d1} from \"./BaseCollection.mjs\";\nimport {Document as $96ead35620b8fd36$export$b34a105447964f9f} from \"./Document.mjs\";\nimport {useCachedChildren as $a80bd3e9349588e7$export$727c8fc270210f13} from \"./useCachedChildren.mjs\";\nimport {FocusableContext as $d1116acdf220c2da$export$f9762fab77588ecb} from \"../interactions/useFocusable.mjs\";\nimport {Hidden as $d7f64c32b702fe2c$export$8dc98ba7eadeaa56} from \"./Hidden.mjs\";\nimport {useIsSSR as $c7eafbbe1ea5834e$export$535bd6ca7f90a273} from \"../ssr/SSRProvider.mjs\";\nimport {createPortal as $kT5Ur$createPortal} from \"react-dom\";\nimport $kT5Ur$react, {createContext as $kT5Ur$createContext, useContext as $kT5Ur$useContext, useRef as $kT5Ur$useRef, useCallback as $kT5Ur$useCallback, useState as $kT5Ur$useState, forwardRef as $kT5Ur$forwardRef, useMemo as $kT5Ur$useMemo} from \"react\";\nimport {useSyncExternalStore as $kT5Ur$useSyncExternalStore} from \"use-sync-external-store/shim/index.js\";\n\n/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\nconst $42ceafc619f9c3ba$var$ShallowRenderContext = /*#__PURE__*/ (0, $kT5Ur$createContext)(false);\nconst $42ceafc619f9c3ba$var$CollectionDocumentContext = /*#__PURE__*/ (0, $kT5Ur$createContext)(null);\nfunction $42ceafc619f9c3ba$export$bf788dd355e3a401(props) {\n // If a document was provided above us, we're already in a hidden tree. Just render the content.\n let doc = (0, $kT5Ur$useContext)($42ceafc619f9c3ba$var$CollectionDocumentContext);\n if (doc) // The React types prior to 18 did not allow returning ReactNode from components\n // even though the actual implementation since React 16 did.\n // We must return ReactElement so that TS does not complain that <CollectionBuilder>\n // is not a valid JSX element with React 16 and 17 types.\n // https://github.com/DefinitelyTyped/DefinitelyTyped/issues/20544\n return props.content;\n // Otherwise, render a hidden copy of the children so that we can build the collection before constructing the state.\n // This should always come before the real DOM content so we have built the collection by the time it renders during SSR.\n // This is fine. CollectionDocumentContext never changes after mounting.\n // eslint-disable-next-line react-hooks/rules-of-hooks\n let { collection: collection, document: document } = $42ceafc619f9c3ba$var$useCollectionDocument(props.createCollection);\n return /*#__PURE__*/ (0, $kT5Ur$react).createElement((0, $kT5Ur$react).Fragment, null, /*#__PURE__*/ (0, $kT5Ur$react).createElement((0, $d7f64c32b702fe2c$export$8dc98ba7eadeaa56), null, /*#__PURE__*/ (0, $kT5Ur$react).createElement($42ceafc619f9c3ba$var$CollectionDocumentContext.Provider, {\n value: document\n }, props.content)), /*#__PURE__*/ (0, $kT5Ur$react).createElement($42ceafc619f9c3ba$var$CollectionInner, {\n render: props.children,\n collection: collection\n }));\n}\nfunction $42ceafc619f9c3ba$var$CollectionInner({ collection: collection, render: render }) {\n return render(collection);\n}\n// React 16 and 17 don't support useSyncExternalStore natively, and the shim provided by React does not support getServerSnapshot.\n// This wrapper uses the shim, but additionally calls getServerSnapshot during SSR (according to SSRProvider).\nfunction $42ceafc619f9c3ba$var$useSyncExternalStoreFallback(subscribe, getSnapshot, getServerSnapshot) {\n let isSSR = (0, $c7eafbbe1ea5834e$export$535bd6ca7f90a273)();\n let isSSRRef = (0, $kT5Ur$useRef)(isSSR);\n // This is read immediately inside the wrapper, which also runs during render.\n // We just need a ref to avoid invalidating the callback itself, which\n // would cause React to re-run the callback more than necessary.\n // eslint-disable-next-line rsp-rules/pure-render\n isSSRRef.current = isSSR;\n let getSnapshotWrapper = (0, $kT5Ur$useCallback)(()=>{\n return isSSRRef.current ? getServerSnapshot() : getSnapshot();\n }, [\n getSnapshot,\n getServerSnapshot\n ]);\n return (0, $kT5Ur$useSyncExternalStore)(subscribe, getSnapshotWrapper);\n}\nconst $42ceafc619f9c3ba$var$useSyncExternalStore = typeof (0, $kT5Ur$react)['useSyncExternalStore'] === 'function' ? (0, $kT5Ur$react)['useSyncExternalStore'] : $42ceafc619f9c3ba$var$useSyncExternalStoreFallback;\nfunction $42ceafc619f9c3ba$var$useCollectionDocument(createCollection) {\n // The document instance is mutable, and should never change between renders.\n // useSyncExternalStore is used to subscribe to updates, which vends immutable Collection objects.\n let [document] = (0, $kT5Ur$useState)(()=>new (0, $96ead35620b8fd36$export$b34a105447964f9f)(createCollection?.() || new (0, $6f0c29017aeec335$export$408d25a4e12db025)()));\n let subscribe = (0, $kT5Ur$useCallback)((fn)=>document.subscribe(fn), [\n document\n ]);\n let getSnapshot = (0, $kT5Ur$useCallback)(()=>{\n let collection = document.getCollection();\n if (document.isSSR) // After SSR is complete, reset the document to empty so it is ready for React to render the portal into.\n // We do this _after_ getting the collection above so that the collection still has content in it from SSR\n // during the current render, before React has finished the client render.\n document.resetAfterSSR();\n return collection;\n }, [\n document\n ]);\n let getServerSnapshot = (0, $kT5Ur$useCallback)(()=>{\n document.isSSR = true;\n return document.getCollection();\n }, [\n document\n ]);\n let collection = $42ceafc619f9c3ba$var$useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);\n return {\n collection: collection,\n document: document\n };\n}\nconst $42ceafc619f9c3ba$var$SSRContext = /*#__PURE__*/ (0, $kT5Ur$createContext)(null);\nfunction $42ceafc619f9c3ba$var$createCollectionNodeClass(type) {\n let NodeClass = class extends (0, $6f0c29017aeec335$export$d68d59712b04d9d1) {\n static{\n this.type = type;\n }\n };\n return NodeClass;\n}\nfunction $42ceafc619f9c3ba$var$useSSRCollectionNode(CollectionNodeClass, props, ref, rendered, children, render) {\n // To prevent breaking change, if CollectionNodeClass is a string, create a CollectionNodeClass using the string as the type\n if (typeof CollectionNodeClass === 'string') CollectionNodeClass = $42ceafc619f9c3ba$var$createCollectionNodeClass(CollectionNodeClass);\n // During SSR, portals are not supported, so the collection children will be wrapped in an SSRContext.\n // Since SSR occurs only once, we assume that the elements are rendered in order and never re-render.\n // Therefore we can create elements in our collection document during render so that they are in the\n // collection by the time we need to use the collection to render to the real DOM.\n // After hydration, we switch to client rendering using the portal.\n let itemRef = (0, $kT5Ur$useCallback)((element)=>{\n element?.setProps(props, ref, CollectionNodeClass, rendered, render);\n }, [\n props,\n ref,\n rendered,\n render,\n CollectionNodeClass\n ]);\n let parentNode = (0, $kT5Ur$useContext)($42ceafc619f9c3ba$var$SSRContext);\n if (parentNode) {\n // Guard against double rendering in strict mode.\n let element = parentNode.ownerDocument.nodesByProps.get(props);\n if (!element) {\n element = parentNode.ownerDocument.createElement(CollectionNodeClass.type);\n element.setProps(props, ref, CollectionNodeClass, rendered, render);\n parentNode.appendChild(element);\n parentNode.ownerDocument.updateCollection();\n parentNode.ownerDocument.nodesByProps.set(props, element);\n }\n return children ? /*#__PURE__*/ (0, $kT5Ur$react).createElement($42ceafc619f9c3ba$var$SSRContext.Provider, {\n value: element\n }, children) : null;\n }\n // @ts-ignore\n return /*#__PURE__*/ (0, $kT5Ur$react).createElement(CollectionNodeClass.type, {\n ref: itemRef\n }, children);\n}\nfunction $42ceafc619f9c3ba$export$18af5c7a9e9b3664(CollectionNodeClass, render) {\n let Component = ({ node: node })=>render(node.props, node.props.ref, node);\n let Result = (0, $kT5Ur$forwardRef)((props, ref)=>{\n let focusableProps = (0, $kT5Ur$useContext)((0, $d1116acdf220c2da$export$f9762fab77588ecb));\n let isShallow = (0, $kT5Ur$useContext)($42ceafc619f9c3ba$var$ShallowRenderContext);\n if (!isShallow) {\n if (render.length >= 3) throw new Error(render.name + ' cannot be rendered outside a collection.');\n return render(props, ref);\n }\n return $42ceafc619f9c3ba$var$useSSRCollectionNode(CollectionNodeClass, props, ref, 'children' in props ? props.children : null, null, (node)=>// Forward FocusableContext to real DOM tree so tooltips work.\n /*#__PURE__*/ (0, $kT5Ur$react).createElement((0, $d1116acdf220c2da$export$f9762fab77588ecb).Provider, {\n value: focusableProps\n }, /*#__PURE__*/ (0, $kT5Ur$react).createElement(Component, {\n node: node\n })));\n });\n // @ts-ignore\n Result.displayName = render.name;\n return Result;\n}\nfunction $42ceafc619f9c3ba$export$e953bb1cd0f19726(CollectionNodeClass, render, useChildren = $42ceafc619f9c3ba$var$useCollectionChildren) {\n let Component = ({ node: node })=>render(node.props, node.props.ref, node);\n let Result = (0, $kT5Ur$forwardRef)((props, ref)=>{\n let children = useChildren(props);\n return $42ceafc619f9c3ba$var$useSSRCollectionNode(CollectionNodeClass, props, ref, null, children, (node)=>/*#__PURE__*/ (0, $kT5Ur$react).createElement(Component, {\n node: node\n })) ?? /*#__PURE__*/ (0, $kT5Ur$react).createElement((0, $kT5Ur$react).Fragment, null);\n });\n // @ts-ignore\n Result.displayName = render.name;\n return Result;\n}\nfunction $42ceafc619f9c3ba$var$useCollectionChildren(options) {\n return (0, $a80bd3e9349588e7$export$727c8fc270210f13)({\n ...options,\n addIdAndValue: true\n });\n}\nconst $42ceafc619f9c3ba$var$CollectionContext = /*#__PURE__*/ (0, $kT5Ur$createContext)(null);\nfunction $42ceafc619f9c3ba$export$fb8073518f34e6ec(props) {\n let ctx = (0, $kT5Ur$useContext)($42ceafc619f9c3ba$var$CollectionContext);\n let dependencies = (ctx?.dependencies || []).concat(props.dependencies);\n let idScope = props.idScope ?? ctx?.idScope;\n let children = $42ceafc619f9c3ba$var$useCollectionChildren({\n ...props,\n idScope: idScope,\n dependencies: dependencies\n });\n let doc = (0, $kT5Ur$useContext)($42ceafc619f9c3ba$var$CollectionDocumentContext);\n if (doc) children = /*#__PURE__*/ (0, $kT5Ur$react).createElement($42ceafc619f9c3ba$var$CollectionRoot, null, children);\n // Propagate dependencies and idScope to child collections.\n ctx = (0, $kT5Ur$useMemo)(()=>({\n dependencies: dependencies,\n idScope: idScope\n }), // eslint-disable-next-line react-hooks/exhaustive-deps\n [\n idScope,\n ...dependencies\n ]);\n return /*#__PURE__*/ (0, $kT5Ur$react).createElement($42ceafc619f9c3ba$var$CollectionContext.Provider, {\n value: ctx\n }, children);\n}\nfunction $42ceafc619f9c3ba$var$CollectionRoot({ children: children }) {\n let doc = (0, $kT5Ur$useContext)($42ceafc619f9c3ba$var$CollectionDocumentContext);\n let wrappedChildren = (0, $kT5Ur$useMemo)(()=>/*#__PURE__*/ (0, $kT5Ur$react).createElement($42ceafc619f9c3ba$var$CollectionDocumentContext.Provider, {\n value: null\n }, /*#__PURE__*/ (0, $kT5Ur$react).createElement($42ceafc619f9c3ba$var$ShallowRenderContext.Provider, {\n value: true\n }, children)), [\n children\n ]);\n // During SSR, we render the content directly, and append nodes to the document during render.\n // The collection children return null so that nothing is actually rendered into the HTML.\n return (0, $c7eafbbe1ea5834e$export$535bd6ca7f90a273)() ? /*#__PURE__*/ (0, $kT5Ur$react).createElement($42ceafc619f9c3ba$var$SSRContext.Provider, {\n value: doc\n }, wrappedChildren) : /*#__PURE__*/ (0, $kT5Ur$createPortal)(wrappedChildren, doc);\n}\n\n\nexport {$42ceafc619f9c3ba$export$bf788dd355e3a401 as CollectionBuilder, $42ceafc619f9c3ba$export$18af5c7a9e9b3664 as createLeafComponent, $42ceafc619f9c3ba$export$e953bb1cd0f19726 as createBranchComponent, $42ceafc619f9c3ba$export$fb8073518f34e6ec as Collection};\n//# sourceMappingURL=CollectionBuilder.mjs.map\n","import {createBranchComponent as $f0m83$createBranchComponent} from \"react-aria/CollectionBuilder\";\nimport $f0m83$react, {createContext as $f0m83$createContext, useContext as $f0m83$useContext, isValidElement as $f0m83$isValidElement, cloneElement as $f0m83$cloneElement, useMemo as $f0m83$useMemo} from \"react\";\nimport {useCachedChildren as $f0m83$useCachedChildren} from \"react-aria/private/collections/useCachedChildren\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nconst $263ab7fc0f95ccdb$export$d40e14dec8b060a8 = /*#__PURE__*/ (0, $f0m83$createContext)(null);\nconst $263ab7fc0f95ccdb$export$6e2c8f0811a474ce = /*#__PURE__*/ (0, $f0m83$createBranchComponent)('section', (props, ref, section)=>{\n let { name: name, render: render } = (0, $f0m83$useContext)($263ab7fc0f95ccdb$export$d40e14dec8b060a8);\n if (process.env.NODE_ENV !== 'production') console.warn(`<Section> is deprecated. Please use <${name}> instead.`);\n return render(props, ref, section, 'react-aria-Section');\n});\nconst $263ab7fc0f95ccdb$export$a164736487e3f0ae = {\n CollectionRoot ({ collection: collection, renderDropIndicator: renderDropIndicator }) {\n return $263ab7fc0f95ccdb$var$useCollectionRender(collection, null, renderDropIndicator);\n },\n CollectionBranch ({ collection: collection, parent: parent, renderDropIndicator: renderDropIndicator }) {\n return $263ab7fc0f95ccdb$var$useCollectionRender(collection, parent, renderDropIndicator);\n }\n};\nfunction $263ab7fc0f95ccdb$var$useCollectionRender(collection, parent, renderDropIndicator) {\n return (0, $f0m83$useCachedChildren)({\n items: parent ? collection.getChildren(parent.key) : collection,\n dependencies: [\n renderDropIndicator\n ],\n children (node) {\n // Return a empty fragment since we don't want to render the content twice\n // If we don't skip the content node here, we end up rendering them twice in a Tree since we also render the content node in TreeItem\n if (node.type === 'content') return /*#__PURE__*/ (0, $f0m83$react).createElement((0, $f0m83$react).Fragment, null);\n let rendered = node.render(node);\n if (!renderDropIndicator || node.type !== 'item') return rendered;\n return /*#__PURE__*/ (0, $f0m83$react).createElement((0, $f0m83$react).Fragment, null, renderDropIndicator({\n type: 'item',\n key: node.key,\n dropPosition: 'before'\n }), rendered, $263ab7fc0f95ccdb$export$2dbbd341daed716d(collection, node, renderDropIndicator));\n }\n });\n}\nfunction $263ab7fc0f95ccdb$export$2dbbd341daed716d(collection, node, renderDropIndicator) {\n let key = node.key;\n let keyAfter = collection.getKeyAfter(key);\n let nextItemInFlattenedCollection = keyAfter != null ? collection.getItem(keyAfter) : null;\n while(nextItemInFlattenedCollection != null && nextItemInFlattenedCollection.type !== 'item'){\n keyAfter = collection.getKeyAfter(nextItemInFlattenedCollection.key);\n nextItemInFlattenedCollection = keyAfter != null ? collection.getItem(keyAfter) : null;\n }\n let nextItemInSameLevel = node.nextKey != null ? collection.getItem(node.nextKey) : null;\n while(nextItemInSameLevel != null && nextItemInSameLevel.type !== 'item')nextItemInSameLevel = nextItemInSameLevel.nextKey != null ? collection.getItem(nextItemInSameLevel.nextKey) : null;\n // Render one or more \"after\" drop indicators when the next item in the flattened collection\n // has a smaller level, is not an item, or there are no more items in the collection.\n // Otherwise, the \"after\" position is equivalent to the next item's \"before\" position.\n let afterIndicators = [];\n if (nextItemInSameLevel == null) {\n let current = node;\n while(current?.type === 'item' && (!nextItemInFlattenedCollection || current.parentKey !== nextItemInFlattenedCollection.parentKey && nextItemInFlattenedCollection.level < current.level)){\n let indicator = renderDropIndicator({\n type: 'item',\n key: current.key,\n dropPosition: 'after'\n });\n if (/*#__PURE__*/ (0, $f0m83$isValidElement)(indicator)) afterIndicators.push(/*#__PURE__*/ (0, $f0m83$cloneElement)(indicator, {\n key: `${current.key}-after`\n }));\n current = current.parentKey != null ? collection.getItem(current.parentKey) : null;\n }\n }\n return afterIndicators;\n}\nconst $263ab7fc0f95ccdb$export$4feb769f8ddf26c5 = /*#__PURE__*/ (0, $f0m83$createContext)($263ab7fc0f95ccdb$export$a164736487e3f0ae);\nfunction $263ab7fc0f95ccdb$export$90e00781bc59d8f9(focusedKey) {\n return (0, $f0m83$useMemo)(()=>focusedKey != null ? new Set([\n focusedKey\n ]) : null, [\n focusedKey\n ]);\n}\n\n\nexport {$263ab7fc0f95ccdb$export$d40e14dec8b060a8 as SectionContext, $263ab7fc0f95ccdb$export$6e2c8f0811a474ce as Section, $263ab7fc0f95ccdb$export$a164736487e3f0ae as DefaultCollectionRenderer, $263ab7fc0f95ccdb$export$2dbbd341daed716d as renderAfterDropIndicators, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5 as CollectionRendererContext, $263ab7fc0f95ccdb$export$90e00781bc59d8f9 as usePersistedKeys};\n//# sourceMappingURL=Collection.mjs.map\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ const $8e9d2fae0ecb9001$var$DOMPropNames = new Set([\n 'id'\n]);\nconst $8e9d2fae0ecb9001$var$labelablePropNames = new Set([\n 'aria-label',\n 'aria-labelledby',\n 'aria-describedby',\n 'aria-details'\n]);\n// See LinkDOMProps in dom.d.ts.\nconst $8e9d2fae0ecb9001$var$linkPropNames = new Set([\n 'href',\n 'hrefLang',\n 'target',\n 'rel',\n 'download',\n 'ping',\n 'referrerPolicy'\n]);\nconst $8e9d2fae0ecb9001$var$globalAttrs = new Set([\n 'dir',\n 'lang',\n 'hidden',\n 'inert',\n 'translate'\n]);\nconst $8e9d2fae0ecb9001$var$globalEvents = new Set([\n 'onClick',\n 'onAuxClick',\n 'onContextMenu',\n 'onDoubleClick',\n 'onMouseDown',\n 'onMouseEnter',\n 'onMouseLeave',\n 'onMouseMove',\n 'onMouseOut',\n 'onMouseOver',\n 'onMouseUp',\n 'onTouchCancel',\n 'onTouchEnd',\n 'onTouchMove',\n 'onTouchStart',\n 'onPointerDown',\n 'onPointerMove',\n 'onPointerUp',\n 'onPointerCancel',\n 'onPointerEnter',\n 'onPointerLeave',\n 'onPointerOver',\n 'onPointerOut',\n 'onGotPointerCapture',\n 'onLostPointerCapture',\n 'onScroll',\n 'onWheel',\n 'onAnimationStart',\n 'onAnimationEnd',\n 'onAnimationIteration',\n 'onTransitionCancel',\n 'onTransitionEnd',\n 'onTransitionRun',\n 'onTransitionStart'\n]);\nconst $8e9d2fae0ecb9001$var$propRe = /^(data-.*)$/;\nfunction $8e9d2fae0ecb9001$export$457c3d6518dd4c6f(props, opts = {}) {\n let { labelable: labelable, isLink: isLink, global: global, events: events = global, propNames: propNames } = opts;\n let filteredProps = {};\n for(const prop in props)if (Object.prototype.hasOwnProperty.call(props, prop) && ($8e9d2fae0ecb9001$var$DOMPropNames.has(prop) || labelable && $8e9d2fae0ecb9001$var$labelablePropNames.has(prop) || isLink && $8e9d2fae0ecb9001$var$linkPropNames.has(prop) || global && $8e9d2fae0ecb9001$var$globalAttrs.has(prop) || events && ($8e9d2fae0ecb9001$var$globalEvents.has(prop) || prop.endsWith('Capture') && $8e9d2fae0ecb9001$var$globalEvents.has(prop.slice(0, -7))) || propNames?.has(prop) || $8e9d2fae0ecb9001$var$propRe.test(prop))) filteredProps[prop] = props[prop];\n return filteredProps;\n}\n\n\nexport {$8e9d2fae0ecb9001$export$457c3d6518dd4c6f as filterDOMProps};\n//# sourceMappingURL=filterDOMProps.mjs.map\n","import {getOwnerDocument as $d447af545b77c9f1$export$b204af158042fbac} from \"../utils/domHelpers.mjs\";\nimport {isIOS as $2add3ce32c6007eb$export$fedb369cb70207f1} from \"../utils/platform.mjs\";\nimport {runAfterTransition as $081cb5757e08788e$export$24490316f764c430} from \"../utils/runAfterTransition.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n// Note that state only matters here for iOS. Non-iOS gets user-select: none applied to the target element\n// rather than at the document level so we just need to apply/remove user-select: none for each pressed element individually\nlet $cbf007e418543821$var$state = 'default';\nlet $cbf007e418543821$var$savedUserSelect = '';\nlet $cbf007e418543821$var$modifiedElementMap = new WeakMap();\nfunction $cbf007e418543821$export$16a4697467175487(target) {\n if ((0, $2add3ce32c6007eb$export$fedb369cb70207f1)()) {\n if ($cbf007e418543821$var$state === 'default') {\n const documentObject = (0, $d447af545b77c9f1$export$b204af158042fbac)(target);\n $cbf007e418543821$var$savedUserSelect = documentObject.documentElement.style.webkitUserSelect;\n documentObject.documentElement.style.webkitUserSelect = 'none';\n }\n $cbf007e418543821$var$state = 'disabled';\n } else if (target instanceof HTMLElement || target instanceof SVGElement) {\n // If not iOS, store the target's original user-select and change to user-select: none\n // Ignore state since it doesn't apply for non iOS\n let property = 'userSelect' in target.style ? 'userSelect' : 'webkitUserSelect';\n $cbf007e418543821$var$modifiedElementMap.set(target, target.style[property]);\n target.style[property] = 'none';\n }\n}\nfunction $cbf007e418543821$export$b0d6fa1ab32e3295(target) {\n if ((0, $2add3ce32c6007eb$export$fedb369cb70207f1)()) {\n // If the state is already default, there's nothing to do.\n // If it is restoring, then there's no need to queue a second restore.\n if ($cbf007e418543821$var$state !== 'disabled') return;\n $cbf007e418543821$var$state = 'restoring';\n // There appears to be a delay on iOS where selection still might occur\n // after pointer up, so wait a bit before removing user-select.\n setTimeout(()=>{\n // Wait for any CSS transitions to complete so we don't recompute style\n // for the whole page in the middle of the animation and cause jank.\n (0, $081cb5757e08788e$export$24490316f764c430)(()=>{\n // Avoid race conditions\n if ($cbf007e418543821$var$state === 'restoring') {\n const documentObject = (0, $d447af545b77c9f1$export$b204af158042fbac)(target);\n if (documentObject.documentElement.style.webkitUserSelect === 'none') documentObject.documentElement.style.webkitUserSelect = $cbf007e418543821$var$savedUserSelect || '';\n $cbf007e418543821$var$savedUserSelect = '';\n $cbf007e418543821$var$state = 'default';\n }\n });\n }, 300);\n } else if (target instanceof HTMLElement || target instanceof SVGElement) // If not iOS, restore the target's original user-select if any\n // Ignore state since it doesn't apply for non iOS\n {\n if (target && $cbf007e418543821$var$modifiedElementMap.has(target)) {\n let targetOldUserSelect = $cbf007e418543821$var$modifiedElementMap.get(target);\n let property = 'userSelect' in target.style ? 'userSelect' : 'webkitUserSelect';\n if (target.style[property] === 'none') target.style[property] = targetOldUserSelect;\n if (target.getAttribute('style') === '') target.removeAttribute('style');\n $cbf007e418543821$var$modifiedElementMap.delete(target);\n }\n }\n}\n\n\nexport {$cbf007e418543821$export$16a4697467175487 as disableTextSelection, $cbf007e418543821$export$b0d6fa1ab32e3295 as restoreTextSelection};\n//# sourceMappingURL=textSelection.mjs.map\n","import {getOwnerWindow as $d447af545b77c9f1$export$f21a1ffae260145a} from \"./domHelpers.mjs\";\n\n/*\n * Copyright 2026 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nfunction $2b2d34ff061957fb$var$getWebpackNonce(doc) {\n let ownerWindow = doc?.defaultView;\n return ownerWindow?.__webpack_nonce__ || globalThis['__webpack_nonce__'] || undefined;\n}\nlet $2b2d34ff061957fb$var$nonceCache = new WeakMap();\nfunction $2b2d34ff061957fb$export$88b319273f3705b4() {\n $2b2d34ff061957fb$var$nonceCache = new WeakMap();\n}\nfunction $2b2d34ff061957fb$export$2b85b721e524d74b(doc) {\n let d = doc ?? (typeof document !== 'undefined' ? document : undefined);\n if (!d) return $2b2d34ff061957fb$var$getWebpackNonce(d);\n if ($2b2d34ff061957fb$var$nonceCache.has(d)) return $2b2d34ff061957fb$var$nonceCache.get(d);\n let meta = d.querySelector('meta[property=\"csp-nonce\"]');\n let nonce = meta && meta instanceof (0, $d447af545b77c9f1$export$f21a1ffae260145a)(meta).HTMLMetaElement && (meta.nonce || meta.content) || $2b2d34ff061957fb$var$getWebpackNonce(d) || undefined;\n if (nonce !== undefined) $2b2d34ff061957fb$var$nonceCache.set(d, nonce);\n return nonce;\n}\n\n\nexport {$2b2d34ff061957fb$export$88b319273f3705b4 as resetNonceCache, $2b2d34ff061957fb$export$2b85b721e524d74b as getNonce};\n//# sourceMappingURL=getNonce.mjs.map\n","import $kV9Vy$react from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nconst $24f9a20f226ad820$export$5165eccb35aaadb5 = (0, $kV9Vy$react).createContext({\n register: ()=>{}\n});\n$24f9a20f226ad820$export$5165eccb35aaadb5.displayName = 'PressResponderContext';\n\n\nexport {$24f9a20f226ad820$export$5165eccb35aaadb5 as PressResponderContext};\n//# sourceMappingURL=context.mjs.map\n","import {useRef as $awe0O$useRef, useCallback as $awe0O$useCallback, useEffect as $awe0O$useEffect} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nfunction $48a7d519b337145d$export$4eaf04e54aa8eed6() {\n let globalListeners = (0, $awe0O$useRef)(new Map());\n let addGlobalListener = (0, $awe0O$useCallback)((eventTarget, type, listener, options)=>{\n // Make sure we remove the listener after it is called with the `once` option.\n let fn = options?.once ? (...args)=>{\n globalListeners.current.delete(listener);\n listener(...args);\n } : listener;\n globalListeners.current.set(listener, {\n type: type,\n eventTarget: eventTarget,\n fn: fn,\n options: options\n });\n eventTarget.addEventListener(type, fn, options);\n }, []);\n let removeGlobalListener = (0, $awe0O$useCallback)((eventTarget, type, listener, options)=>{\n let fn = globalListeners.current.get(listener)?.fn || listener;\n eventTarget.removeEventListener(type, fn, options);\n globalListeners.current.delete(listener);\n }, []);\n let removeAllGlobalListeners = (0, $awe0O$useCallback)(()=>{\n globalListeners.current.forEach((value, key)=>{\n removeGlobalListener(value.eventTarget, value.type, key, value.options);\n });\n }, [\n removeGlobalListener\n ]);\n (0, $awe0O$useEffect)(()=>{\n return removeAllGlobalListeners;\n }, [\n removeAllGlobalListeners\n ]);\n return {\n addGlobalListener: addGlobalListener,\n removeGlobalListener: removeGlobalListener,\n removeAllGlobalListeners: removeAllGlobalListeners\n };\n}\n\n\nexport {$48a7d519b337145d$export$4eaf04e54aa8eed6 as useGlobalListeners};\n//# sourceMappingURL=useGlobalListeners.mjs.map\n","import {chain as $a4e76a5424781910$export$e08e3b67e392101e} from \"../utils/chain.mjs\";\nimport {createSyntheticEvent as $a92dc41f639950be$export$525bc4921d56d4a, preventFocus as $a92dc41f639950be$export$cabe61c495ee3649, setEventTarget as $a92dc41f639950be$export$c2b7abe5d61ec696} from \"./utils.mjs\";\nimport {disableTextSelection as $cbf007e418543821$export$16a4697467175487, restoreTextSelection as $cbf007e418543821$export$b0d6fa1ab32e3295} from \"./textSelection.mjs\";\nimport {focusWithoutScrolling as $1969ac565cfec8d0$export$de79e2c695e052f3} from \"../utils/focusWithoutScrolling.mjs\";\nimport {getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29, nodeContains as $23f2114a1b82827e$export$4282f70798064fe0} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {getNonce as $2b2d34ff061957fb$export$2b85b721e524d74b} from \"../utils/getNonce.mjs\";\nimport {getOwnerDocument as $d447af545b77c9f1$export$b204af158042fbac, getOwnerWindow as $d447af545b77c9f1$export$f21a1ffae260145a} from \"../utils/domHelpers.mjs\";\nimport {isMac as $2add3ce32c6007eb$export$9ac100e40613ea10} from \"../utils/platform.mjs\";\nimport {isVirtualClick as $b5c62b033c25b96d$export$60278871457622de, isVirtualPointerEvent as $b5c62b033c25b96d$export$29bf1b5f2c56cf63} from \"../utils/isVirtualEvent.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {openLink as $caaf0dd3060ed57c$export$95185d699e05d4d7} from \"../utils/openLink.mjs\";\nimport {PressResponderContext as $24f9a20f226ad820$export$5165eccb35aaadb5} from \"./context.mjs\";\nimport {useEffectEvent as $fe16bffc7a557bf0$export$7f54fc3180508a52} from \"../utils/useEffectEvent.mjs\";\nimport {useGlobalListeners as $48a7d519b337145d$export$4eaf04e54aa8eed6} from \"../utils/useGlobalListeners.mjs\";\nimport {useSyncRef as $b7115c395c64f7b5$export$4debdb1a3f0fa79e} from \"../utils/useSyncRef.mjs\";\nimport {flushSync as $fL2C6$flushSync} from \"react-dom\";\nimport {useContext as $fL2C6$useContext, useState as $fL2C6$useState, useRef as $fL2C6$useRef, useCallback as $fL2C6$useCallback, useEffect as $fL2C6$useEffect, useMemo as $fL2C6$useMemo} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ // Portions of the code in this file are based on code from react.\n// Original licensing for the following can be found in the\n// NOTICE file in the root directory of this source tree.\n// See https://github.com/facebook/react/tree/cc7c1aece46a6b69b41958d731e0fd27c94bfc6c/packages/react-interactions\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction $d27d541f9569d26d$var$usePressResponderContext(props) {\n // Consume context from <PressResponder> and merge with props.\n let context = (0, $fL2C6$useContext)((0, $24f9a20f226ad820$export$5165eccb35aaadb5));\n if (context) {\n // Prevent mergeProps from merging ref.\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n let { register: register, ref: ref, ...contextProps } = context;\n props = (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(contextProps, props);\n register();\n }\n (0, $b7115c395c64f7b5$export$4debdb1a3f0fa79e)(context, props.ref);\n return props;\n}\nclass $d27d541f9569d26d$var$PressEvent {\n #shouldStopPropagation;\n constructor(type, pointerType, originalEvent, state){\n this.#shouldStopPropagation = true;\n let currentTarget = state?.target ?? originalEvent.currentTarget;\n const rect = currentTarget?.getBoundingClientRect();\n let x, y = 0;\n let clientX, clientY = null;\n if (originalEvent.clientX != null && originalEvent.clientY != null) {\n clientX = originalEvent.clientX;\n clientY = originalEvent.clientY;\n }\n if (rect) {\n if (clientX != null && clientY != null) {\n x = clientX - rect.left;\n y = clientY - rect.top;\n } else {\n x = rect.width / 2;\n y = rect.height / 2;\n }\n }\n this.type = type;\n this.pointerType = pointerType;\n this.target = originalEvent.currentTarget;\n this.shiftKey = originalEvent.shiftKey;\n this.metaKey = originalEvent.metaKey;\n this.ctrlKey = originalEvent.ctrlKey;\n this.altKey = originalEvent.altKey;\n this.x = x;\n this.y = y;\n this.key = originalEvent.key;\n }\n continuePropagation() {\n this.#shouldStopPropagation = false;\n }\n get shouldStopPropagation() {\n return this.#shouldStopPropagation;\n }\n}\nconst $d27d541f9569d26d$var$LINK_CLICKED = Symbol('linkClicked');\nconst $d27d541f9569d26d$var$STYLE_ID = 'react-aria-pressable-style';\nconst $d27d541f9569d26d$var$PRESSABLE_ATTRIBUTE = 'data-react-aria-pressable';\nfunction $d27d541f9569d26d$export$45712eceda6fad21(props) {\n let { onPress: onPress, onPressChange: onPressChange, onPressStart: onPressStart, onPressEnd: onPressEnd, onPressUp: onPressUp, onClick: onClick, isDisabled: isDisabled, isPressed: isPressedProp, preventFocusOnPress: preventFocusOnPress, shouldCancelOnPointerExit: shouldCancelOnPointerExit, allowTextSelectionOnPress: allowTextSelectionOnPress, ref: domRef, ...domProps } = $d27d541f9569d26d$var$usePressResponderContext(props);\n let [isPressed, setPressed] = (0, $fL2C6$useState)(false);\n let ref = (0, $fL2C6$useRef)({\n isPressed: false,\n ignoreEmulatedMouseEvents: false,\n didFirePressStart: false,\n isTriggeringEvent: false,\n activePointerId: null,\n target: null,\n isOverTarget: false,\n pointerType: null,\n disposables: []\n });\n let { addGlobalListener: addGlobalListener, removeAllGlobalListeners: removeAllGlobalListeners } = (0, $48a7d519b337145d$export$4eaf04e54aa8eed6)();\n let triggerPressStart = (0, $fL2C6$useCallback)((originalEvent, pointerType)=>{\n let state = ref.current;\n if (isDisabled || state.didFirePressStart) return false;\n let shouldStopPropagation = true;\n state.isTriggeringEvent = true;\n if (onPressStart) {\n let event = new $d27d541f9569d26d$var$PressEvent('pressstart', pointerType, originalEvent);\n onPressStart(event);\n shouldStopPropagation = event.shouldStopPropagation;\n }\n if (onPressChange) onPressChange(true);\n state.isTriggeringEvent = false;\n state.didFirePressStart = true;\n setPressed(true);\n return shouldStopPropagation;\n }, [\n isDisabled,\n onPressStart,\n onPressChange\n ]);\n let triggerPressEnd = (0, $fL2C6$useCallback)((originalEvent, pointerType, wasPressed = true)=>{\n let state = ref.current;\n if (!state.didFirePressStart) return false;\n state.didFirePressStart = false;\n state.isTriggeringEvent = true;\n let shouldStopPropagation = true;\n if (onPressEnd) {\n let event = new $d27d541f9569d26d$var$PressEvent('pressend', pointerType, originalEvent);\n onPressEnd(event);\n shouldStopPropagation = event.shouldStopPropagation;\n }\n if (onPressChange) onPressChange(false);\n setPressed(false);\n if (onPress && wasPressed && !isDisabled) {\n let event = new $d27d541f9569d26d$var$PressEvent('press', pointerType, originalEvent);\n onPress(event);\n shouldStopPropagation &&= event.shouldStopPropagation;\n }\n state.isTriggeringEvent = false;\n return shouldStopPropagation;\n }, [\n isDisabled,\n onPressEnd,\n onPressChange,\n onPress\n ]);\n let triggerPressEndEvent = (0, $fe16bffc7a557bf0$export$7f54fc3180508a52)(triggerPressEnd);\n let triggerPressUp = (0, $fL2C6$useCallback)((originalEvent, pointerType)=>{\n let state = ref.current;\n if (isDisabled) return false;\n if (onPressUp) {\n state.isTriggeringEvent = true;\n let event = new $d27d541f9569d26d$var$PressEvent('pressup', pointerType, originalEvent);\n onPressUp(event);\n state.isTriggeringEvent = false;\n return event.shouldStopPropagation;\n }\n return true;\n }, [\n isDisabled,\n onPressUp\n ]);\n let triggerPressUpEvent = (0, $fe16bffc7a557bf0$export$7f54fc3180508a52)(triggerPressUp);\n let cancel = (0, $fL2C6$useCallback)((e)=>{\n let state = ref.current;\n if (state.isPressed && state.target) {\n if (state.didFirePressStart && state.pointerType != null) triggerPressEnd($d27d541f9569d26d$var$createEvent(state.target, e), state.pointerType, false);\n state.isPressed = false;\n state.isOverTarget = false;\n state.activePointerId = null;\n state.pointerType = null;\n removeAllGlobalListeners();\n if (!allowTextSelectionOnPress) (0, $cbf007e418543821$export$b0d6fa1ab32e3295)(state.target);\n for (let dispose of state.disposables)dispose();\n state.disposables = [];\n }\n }, [\n allowTextSelectionOnPress,\n removeAllGlobalListeners,\n triggerPressEnd\n ]);\n let cancelEvent = (0, $fe16bffc7a557bf0$export$7f54fc3180508a52)(cancel);\n (0, $fL2C6$useEffect)(()=>{\n if (isDisabled && ref.current.isPressed) cancelEvent({\n currentTarget: ref.current.target,\n shiftKey: false,\n ctrlKey: false,\n metaKey: false,\n altKey: false\n });\n }, [\n isDisabled\n ]);\n let cancelOnPointerExit = (0, $fL2C6$useCallback)((e)=>{\n if (shouldCancelOnPointerExit) cancel(e);\n }, [\n shouldCancelOnPointerExit,\n cancel\n ]);\n let triggerClick = (0, $fL2C6$useCallback)((e)=>{\n if (isDisabled) return;\n onClick?.(e);\n }, [\n isDisabled,\n onClick\n ]);\n let triggerSyntheticClick = (0, $fL2C6$useCallback)((e, target)=>{\n if (isDisabled) return;\n // Some third-party libraries pass in onClick instead of onPress.\n // Create a fake mouse event and trigger onClick as well.\n // This matches the browser's native activation behavior for certain elements (e.g. button).\n // https://html.spec.whatwg.org/#activation\n // https://html.spec.whatwg.org/#fire-a-synthetic-pointer-event\n if (onClick) {\n let event = new MouseEvent('click', e);\n (0, $a92dc41f639950be$export$c2b7abe5d61ec696)(event, target);\n onClick((0, $a92dc41f639950be$export$525bc4921d56d4a)(event));\n }\n }, [\n isDisabled,\n onClick\n ]);\n let pressProps = (0, $fL2C6$useMemo)(()=>{\n let state = ref.current;\n let pressProps = {\n onKeyDown (e) {\n if ($d27d541f9569d26d$var$isValidKeyboardEvent(e.nativeEvent, e.currentTarget) && (0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) {\n if ($d27d541f9569d26d$var$shouldPreventDefaultKeyboard((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e), e.key)) e.preventDefault();\n // If the event is repeating, it may have started on a different element\n // after which focus moved to the current element. Ignore these events and\n // only handle the first key down event.\n let shouldStopPropagation = true;\n if (!state.isPressed && !e.repeat) {\n state.target = e.currentTarget;\n state.isPressed = true;\n state.pointerType = 'keyboard';\n shouldStopPropagation = triggerPressStart(e, 'keyboard');\n }\n // Focus may move before the key up event, so register the event on the document\n // instead of the same element where the key down event occurred. Make it capturing so that it will trigger\n // before stopPropagation from useKeyboard on a child element may happen and thus we can still call triggerPress for the parent element.\n let originalTarget = e.currentTarget;\n let pressUp = (e)=>{\n if ($d27d541f9569d26d$var$isValidKeyboardEvent(e, originalTarget) && !e.repeat && (0, $23f2114a1b82827e$export$4282f70798064fe0)(originalTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e)) && state.target) // eslint-disable-next-line react-hooks/rules-of-hooks\n triggerPressUpEvent($d27d541f9569d26d$var$createEvent(state.target, e), 'keyboard');\n };\n addGlobalListener((0, $d447af545b77c9f1$export$b204af158042fbac)(e.currentTarget), 'keyup', (0, $a4e76a5424781910$export$e08e3b67e392101e)(pressUp, onKeyUp), true);\n if (shouldStopPropagation) e.stopPropagation();\n // Keep track of the keydown events that occur while the Meta (e.g. Command) key is held.\n // macOS has a bug where keyup events are not fired while the Meta key is down.\n // When the Meta key itself is released we will get an event for that, and we'll act as if\n // all of these other keys were released as well.\n // https://bugs.chromium.org/p/chromium/issues/detail?id=1393524\n // https://bugs.webkit.org/show_bug.cgi?id=55291\n // https://bugzilla.mozilla.org/show_bug.cgi?id=1299553\n if (e.metaKey && (0, $2add3ce32c6007eb$export$9ac100e40613ea10)()) state.metaKeyEvents?.set(e.key, e.nativeEvent);\n } else if (e.key === 'Meta') state.metaKeyEvents = new Map();\n },\n onClick (e) {\n if (e && !(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n if (e && e.button === 0 && !state.isTriggeringEvent && !(0, $caaf0dd3060ed57c$export$95185d699e05d4d7).isOpening) {\n let shouldStopPropagation = true;\n if (isDisabled) e.preventDefault();\n // If triggered from a screen reader or by using element.click(),\n // trigger as if it were a keyboard click.\n if (!state.ignoreEmulatedMouseEvents && !state.isPressed && (state.pointerType === 'virtual' || (0, $b5c62b033c25b96d$export$60278871457622de)(e.nativeEvent))) {\n let stopPressStart = triggerPressStart(e, 'virtual');\n // eslint-disable-next-line react-hooks/rules-of-hooks\n let stopPressUp = triggerPressUpEvent(e, 'virtual');\n // eslint-disable-next-line react-hooks/rules-of-hooks\n let stopPressEnd = triggerPressEndEvent(e, 'virtual');\n triggerClick(e);\n shouldStopPropagation = stopPressStart && stopPressUp && stopPressEnd;\n } else if (state.isPressed && state.pointerType !== 'keyboard') {\n let pointerType = state.pointerType || e.nativeEvent.pointerType || 'virtual';\n // eslint-disable-next-line react-hooks/rules-of-hooks\n let stopPressUp = triggerPressUpEvent($d27d541f9569d26d$var$createEvent(e.currentTarget, e), pointerType);\n // eslint-disable-next-line react-hooks/rules-of-hooks\n let stopPressEnd = triggerPressEndEvent($d27d541f9569d26d$var$createEvent(e.currentTarget, e), pointerType, true);\n shouldStopPropagation = stopPressUp && stopPressEnd;\n state.isOverTarget = false;\n triggerClick(e);\n // eslint-disable-next-line react-hooks/rules-of-hooks\n cancelEvent(e);\n }\n state.ignoreEmulatedMouseEvents = false;\n if (shouldStopPropagation) e.stopPropagation();\n }\n }\n };\n let onKeyUp = (e)=>{\n if (state.isPressed && state.target && $d27d541f9569d26d$var$isValidKeyboardEvent(e, state.target)) {\n if ($d27d541f9569d26d$var$shouldPreventDefaultKeyboard((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e), e.key)) e.preventDefault();\n let target = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e);\n let wasPressed = (0, $23f2114a1b82827e$export$4282f70798064fe0)(state.target, target);\n // eslint-disable-next-line react-hooks/rules-of-hooks\n triggerPressEndEvent($d27d541f9569d26d$var$createEvent(state.target, e), 'keyboard', wasPressed);\n if (wasPressed) triggerSyntheticClick(e, state.target);\n removeAllGlobalListeners();\n // If a link was triggered with a key other than Enter, open the URL ourselves.\n // This means the link has a role override, and the default browser behavior\n // only applies when using the Enter key.\n if (e.key !== 'Enter' && $d27d541f9569d26d$var$isHTMLAnchorLink(state.target) && (0, $23f2114a1b82827e$export$4282f70798064fe0)(state.target, target) && !e[$d27d541f9569d26d$var$LINK_CLICKED]) {\n // Store a hidden property on the event so we only trigger link click once,\n // even if there are multiple usePress instances attached to the element.\n e[$d27d541f9569d26d$var$LINK_CLICKED] = true;\n (0, $caaf0dd3060ed57c$export$95185d699e05d4d7)(state.target, e, false);\n }\n state.isPressed = false;\n state.metaKeyEvents?.delete(e.key);\n } else if (e.key === 'Meta' && state.metaKeyEvents?.size) {\n // If we recorded keydown events that occurred while the Meta key was pressed,\n // and those haven't received keyup events already, fire keyup events ourselves.\n // See comment above for more info about the macOS bug causing this.\n let events = state.metaKeyEvents;\n state.metaKeyEvents = undefined;\n for (let event of events.values())state.target?.dispatchEvent(new KeyboardEvent('keyup', event));\n }\n };\n if (typeof PointerEvent !== 'undefined') {\n pressProps.onPointerDown = (e)=>{\n // Only handle left clicks, and ignore events that bubbled through portals.\n if (e.button !== 0 || !(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n // iOS safari fires pointer events from VoiceOver with incorrect coordinates/target.\n // Ignore and let the onClick handler take care of it instead.\n // https://bugs.webkit.org/show_bug.cgi?id=222627\n // https://bugs.webkit.org/show_bug.cgi?id=223202\n if ((0, $b5c62b033c25b96d$export$29bf1b5f2c56cf63)(e.nativeEvent)) {\n state.pointerType = 'virtual';\n return;\n }\n state.pointerType = e.pointerType;\n let shouldStopPropagation = true;\n if (!state.isPressed) {\n state.isPressed = true;\n state.isOverTarget = true;\n state.activePointerId = e.pointerId;\n state.target = e.currentTarget;\n if (!allowTextSelectionOnPress) (0, $cbf007e418543821$export$16a4697467175487)(state.target);\n shouldStopPropagation = triggerPressStart(e, state.pointerType);\n // Release pointer capture so that touch interactions can leave the original target.\n // This enables onPointerLeave and onPointerEnter to fire.\n let target = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e);\n if ('releasePointerCapture' in target) {\n if ('hasPointerCapture' in target) {\n if (target.hasPointerCapture(e.pointerId)) target.releasePointerCapture(e.pointerId);\n } else target.releasePointerCapture(e.pointerId);\n }\n addGlobalListener((0, $d447af545b77c9f1$export$b204af158042fbac)(e.currentTarget), 'pointerup', onPointerUp, false);\n addGlobalListener((0, $d447af545b77c9f1$export$b204af158042fbac)(e.currentTarget), 'pointercancel', onPointerCancel, false);\n }\n if (shouldStopPropagation) e.stopPropagation();\n };\n pressProps.onMouseDown = (e)=>{\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n if (e.button === 0) {\n if (preventFocusOnPress) {\n let dispose = (0, $a92dc41f639950be$export$cabe61c495ee3649)(e.target);\n if (dispose) state.disposables.push(dispose);\n }\n e.stopPropagation();\n }\n };\n pressProps.onPointerUp = (e)=>{\n // iOS fires pointerup with zero width and height, so check the pointerType recorded during pointerdown.\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e)) || state.pointerType === 'virtual') return;\n // Only handle left clicks. If isPressed is true, delay until onClick.\n if (e.button === 0 && !state.isPressed) // eslint-disable-next-line react-hooks/rules-of-hooks\n triggerPressUpEvent(e, state.pointerType || e.pointerType);\n };\n pressProps.onPointerEnter = (e)=>{\n if (e.pointerId === state.activePointerId && state.target && !state.isOverTarget && state.pointerType != null) {\n state.isOverTarget = true;\n triggerPressStart($d27d541f9569d26d$var$createEvent(state.target, e), state.pointerType);\n }\n };\n pressProps.onPointerLeave = (e)=>{\n if (e.pointerId === state.activePointerId && state.target && state.isOverTarget && state.pointerType != null) {\n state.isOverTarget = false;\n // eslint-disable-next-line react-hooks/rules-of-hooks\n triggerPressEndEvent($d27d541f9569d26d$var$createEvent(state.target, e), state.pointerType, false);\n cancelOnPointerExit(e);\n }\n };\n let onPointerUp = (e)=>{\n if (e.pointerId === state.activePointerId && state.isPressed && e.button === 0 && state.target) {\n if ((0, $23f2114a1b82827e$export$4282f70798064fe0)(state.target, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e)) && state.pointerType != null) {\n // Wait for onClick to fire onPress. This avoids browser issues when the DOM\n // is mutated between onPointerUp and onClick, and is more compatible with third party libraries.\n // https://github.com/adobe/react-spectrum/issues/1513\n // https://issues.chromium.org/issues/40732224\n // However, iOS and Android do not focus or fire onClick after a long press.\n // We work around this by triggering a click ourselves after a timeout.\n // This timeout is canceled during the click event in case the real one fires first.\n // The timeout must be at least 32ms, because Safari on iOS delays the click event on\n // non-form elements without certain ARIA roles (for hover emulation).\n // https://github.com/WebKit/WebKit/blob/dccfae42bb29bd4bdef052e469f604a9387241c0/Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm#L875-L892\n let clicked = false;\n let timeout = setTimeout(()=>{\n if (state.isPressed && state.target instanceof HTMLElement) {\n if (clicked) // eslint-disable-next-line react-hooks/rules-of-hooks\n cancelEvent(e);\n else {\n (0, $1969ac565cfec8d0$export$de79e2c695e052f3)(state.target);\n state.target.click();\n }\n }\n }, 80);\n // Use a capturing listener to track if a click occurred.\n // If stopPropagation is called it may never reach our handler.\n addGlobalListener(e.currentTarget, 'click', ()=>clicked = true, true);\n state.disposables.push(()=>clearTimeout(timeout));\n } else // eslint-disable-next-line react-hooks/rules-of-hooks\n cancelEvent(e);\n // Ignore subsequent onPointerLeave event before onClick on touch devices.\n state.isOverTarget = false;\n }\n };\n let onPointerCancel = (e)=>{\n // eslint-disable-next-line react-hooks/rules-of-hooks\n cancelEvent(e);\n };\n pressProps.onDragStart = (e)=>{\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n // Safari does not call onPointerCancel when a drag starts, whereas Chrome and Firefox do.\n // eslint-disable-next-line react-hooks/rules-of-hooks\n cancelEvent(e);\n };\n } else if (process.env.NODE_ENV === 'test') {\n // NOTE: this fallback branch is entirely used by unit tests.\n // All browsers now support pointer events, but JSDOM still does not.\n pressProps.onMouseDown = (e)=>{\n // Only handle left clicks\n if (e.button !== 0 || !(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n if (state.ignoreEmulatedMouseEvents) {\n e.stopPropagation();\n return;\n }\n state.isPressed = true;\n state.isOverTarget = true;\n state.target = e.currentTarget;\n state.pointerType = (0, $b5c62b033c25b96d$export$60278871457622de)(e.nativeEvent) ? 'virtual' : 'mouse';\n // Flush sync so that focus moved during react re-renders occurs before we yield back to the browser.\n let shouldStopPropagation = (0, $fL2C6$flushSync)(()=>triggerPressStart(e, state.pointerType));\n if (shouldStopPropagation) e.stopPropagation();\n if (preventFocusOnPress) {\n let dispose = (0, $a92dc41f639950be$export$cabe61c495ee3649)(e.target);\n if (dispose) state.disposables.push(dispose);\n }\n addGlobalListener((0, $d447af545b77c9f1$export$b204af158042fbac)(e.currentTarget), 'mouseup', onMouseUp, false);\n };\n pressProps.onMouseEnter = (e)=>{\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n let shouldStopPropagation = true;\n if (state.isPressed && !state.ignoreEmulatedMouseEvents && state.pointerType != null) {\n state.isOverTarget = true;\n shouldStopPropagation = triggerPressStart(e, state.pointerType);\n }\n if (shouldStopPropagation) e.stopPropagation();\n };\n pressProps.onMouseLeave = (e)=>{\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n let shouldStopPropagation = true;\n if (state.isPressed && !state.ignoreEmulatedMouseEvents && state.pointerType != null) {\n state.isOverTarget = false;\n // eslint-disable-next-line react-hooks/rules-of-hooks\n shouldStopPropagation = triggerPressEndEvent(e, state.pointerType, false);\n cancelOnPointerExit(e);\n }\n if (shouldStopPropagation) e.stopPropagation();\n };\n pressProps.onMouseUp = (e)=>{\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n if (!state.ignoreEmulatedMouseEvents && e.button === 0 && !state.isPressed) // eslint-disable-next-line react-hooks/rules-of-hooks\n triggerPressUpEvent(e, state.pointerType || 'mouse');\n };\n let onMouseUp = (e)=>{\n // Only handle left clicks\n if (e.button !== 0) return;\n if (state.ignoreEmulatedMouseEvents) {\n state.ignoreEmulatedMouseEvents = false;\n return;\n }\n if (state.target && (0, $23f2114a1b82827e$export$4282f70798064fe0)(state.target, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e)) && state.pointerType != null) ;\n else // eslint-disable-next-line react-hooks/rules-of-hooks\n cancelEvent(e);\n state.isOverTarget = false;\n };\n pressProps.onTouchStart = (e)=>{\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n let touch = $d27d541f9569d26d$var$getTouchFromEvent(e.nativeEvent);\n if (!touch) return;\n state.activePointerId = touch.identifier;\n state.ignoreEmulatedMouseEvents = true;\n state.isOverTarget = true;\n state.isPressed = true;\n state.target = e.currentTarget;\n state.pointerType = 'touch';\n if (!allowTextSelectionOnPress) (0, $cbf007e418543821$export$16a4697467175487)(state.target);\n let shouldStopPropagation = triggerPressStart($d27d541f9569d26d$var$createTouchEvent(state.target, e), state.pointerType);\n if (shouldStopPropagation) e.stopPropagation();\n addGlobalListener((0, $d447af545b77c9f1$export$f21a1ffae260145a)(e.currentTarget), 'scroll', onScroll, true);\n };\n pressProps.onTouchMove = (e)=>{\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n if (!state.isPressed) {\n e.stopPropagation();\n return;\n }\n let touch = $d27d541f9569d26d$var$getTouchById(e.nativeEvent, state.activePointerId);\n let shouldStopPropagation = true;\n if (touch && $d27d541f9569d26d$var$isOverTarget(touch, e.currentTarget)) {\n if (!state.isOverTarget && state.pointerType != null) {\n state.isOverTarget = true;\n shouldStopPropagation = triggerPressStart($d27d541f9569d26d$var$createTouchEvent(state.target, e), state.pointerType);\n }\n } else if (state.isOverTarget && state.pointerType != null) {\n state.isOverTarget = false;\n // eslint-disable-next-line react-hooks/rules-of-hooks\n shouldStopPropagation = triggerPressEndEvent($d27d541f9569d26d$var$createTouchEvent(state.target, e), state.pointerType, false);\n cancelOnPointerExit($d27d541f9569d26d$var$createTouchEvent(state.target, e));\n }\n if (shouldStopPropagation) e.stopPropagation();\n };\n pressProps.onTouchEnd = (e)=>{\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n if (!state.isPressed) {\n e.stopPropagation();\n return;\n }\n let touch = $d27d541f9569d26d$var$getTouchById(e.nativeEvent, state.activePointerId);\n let shouldStopPropagation = true;\n if (touch && $d27d541f9569d26d$var$isOverTarget(touch, e.currentTarget) && state.pointerType != null) {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n triggerPressUpEvent($d27d541f9569d26d$var$createTouchEvent(state.target, e), state.pointerType);\n // eslint-disable-next-line react-hooks/rules-of-hooks\n shouldStopPropagation = triggerPressEndEvent($d27d541f9569d26d$var$createTouchEvent(state.target, e), state.pointerType);\n triggerSyntheticClick(e.nativeEvent, state.target);\n } else if (state.isOverTarget && state.pointerType != null) // eslint-disable-next-line react-hooks/rules-of-hooks\n shouldStopPropagation = triggerPressEndEvent($d27d541f9569d26d$var$createTouchEvent(state.target, e), state.pointerType, false);\n if (shouldStopPropagation) e.stopPropagation();\n state.isPressed = false;\n state.activePointerId = null;\n state.isOverTarget = false;\n state.ignoreEmulatedMouseEvents = true;\n if (state.target && !allowTextSelectionOnPress) (0, $cbf007e418543821$export$b0d6fa1ab32e3295)(state.target);\n removeAllGlobalListeners();\n };\n pressProps.onTouchCancel = (e)=>{\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n e.stopPropagation();\n if (state.isPressed) // eslint-disable-next-line react-hooks/rules-of-hooks\n cancelEvent($d27d541f9569d26d$var$createTouchEvent(state.target, e));\n };\n let onScroll = (e)=>{\n if (state.isPressed && (0, $23f2114a1b82827e$export$4282f70798064fe0)((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e), state.target)) // eslint-disable-next-line react-hooks/rules-of-hooks\n cancelEvent({\n currentTarget: state.target,\n shiftKey: false,\n ctrlKey: false,\n metaKey: false,\n altKey: false\n });\n };\n pressProps.onDragStart = (e)=>{\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n // eslint-disable-next-line react-hooks/rules-of-hooks\n cancelEvent(e);\n };\n }\n return pressProps;\n }, [\n addGlobalListener,\n isDisabled,\n preventFocusOnPress,\n removeAllGlobalListeners,\n allowTextSelectionOnPress,\n cancelOnPointerExit,\n triggerPressStart,\n triggerClick,\n triggerSyntheticClick\n ]);\n // Avoid onClick delay for double tap to zoom by default.\n (0, $fL2C6$useEffect)(()=>{\n if (!domRef || process.env.NODE_ENV === 'test') return;\n const ownerDocument = (0, $d447af545b77c9f1$export$b204af158042fbac)(domRef.current);\n if (!ownerDocument || !ownerDocument.head || ownerDocument.getElementById($d27d541f9569d26d$var$STYLE_ID)) return;\n const style = ownerDocument.createElement('style');\n style.id = $d27d541f9569d26d$var$STYLE_ID;\n let nonce = (0, $2b2d34ff061957fb$export$2b85b721e524d74b)(ownerDocument);\n if (nonce) style.nonce = nonce;\n // touchAction: 'manipulation' is supposed to be equivalent, but in\n // Safari it causes onPointerCancel not to fire on scroll.\n // https://bugs.webkit.org/show_bug.cgi?id=240917\n style.textContent = `\n@layer {\n [${$d27d541f9569d26d$var$PRESSABLE_ATTRIBUTE}] {\n touch-action: pan-x pan-y pinch-zoom;\n }\n}\n `.trim();\n ownerDocument.head.prepend(style);\n }, [\n domRef\n ]);\n // Remove user-select: none in case component unmounts immediately after pressStart\n (0, $fL2C6$useEffect)(()=>{\n let state = ref.current;\n return ()=>{\n if (!allowTextSelectionOnPress) (0, $cbf007e418543821$export$b0d6fa1ab32e3295)(state.target ?? undefined);\n for (let dispose of state.disposables)dispose();\n state.disposables = [];\n };\n }, [\n allowTextSelectionOnPress\n ]);\n return {\n isPressed: isPressedProp || isPressed,\n pressProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(domProps, pressProps, {\n [$d27d541f9569d26d$var$PRESSABLE_ATTRIBUTE]: true\n })\n };\n}\nfunction $d27d541f9569d26d$var$isHTMLAnchorLink(target) {\n return target.tagName === 'A' && target.hasAttribute('href');\n}\nfunction $d27d541f9569d26d$var$isValidKeyboardEvent(event, currentTarget) {\n const { key: key, code: code } = event;\n const element = currentTarget;\n const role = element.getAttribute('role');\n // Accessibility for keyboards. Space and Enter only.\n // \"Spacebar\" is for IE 11\n return (key === 'Enter' || key === ' ' || key === 'Spacebar' || code === 'Space') && !(element instanceof (0, $d447af545b77c9f1$export$f21a1ffae260145a)(element).HTMLInputElement && !$d27d541f9569d26d$var$isValidInputKey(element, key) || element instanceof (0, $d447af545b77c9f1$export$f21a1ffae260145a)(element).HTMLTextAreaElement || element.isContentEditable) && // Links should only trigger with Enter key\n !((role === 'link' || !role && $d27d541f9569d26d$var$isHTMLAnchorLink(element)) && key !== 'Enter');\n}\nfunction $d27d541f9569d26d$var$getTouchFromEvent(event) {\n const { targetTouches: targetTouches } = event;\n if (targetTouches.length > 0) return targetTouches[0];\n return null;\n}\nfunction $d27d541f9569d26d$var$getTouchById(event, pointerId) {\n const changedTouches = event.changedTouches;\n for(let i = 0; i < changedTouches.length; i++){\n const touch = changedTouches[i];\n if (touch.identifier === pointerId) return touch;\n }\n return null;\n}\nfunction $d27d541f9569d26d$var$createTouchEvent(target, e) {\n let clientX = 0;\n let clientY = 0;\n if (e.targetTouches && e.targetTouches.length === 1) {\n clientX = e.targetTouches[0].clientX;\n clientY = e.targetTouches[0].clientY;\n }\n return {\n currentTarget: target,\n shiftKey: e.shiftKey,\n ctrlKey: e.ctrlKey,\n metaKey: e.metaKey,\n altKey: e.altKey,\n clientX: clientX,\n clientY: clientY\n };\n}\nfunction $d27d541f9569d26d$var$createEvent(target, e) {\n let clientX = e.clientX;\n let clientY = e.clientY;\n return {\n currentTarget: target,\n shiftKey: e.shiftKey,\n ctrlKey: e.ctrlKey,\n metaKey: e.metaKey,\n altKey: e.altKey,\n clientX: clientX,\n clientY: clientY,\n key: e.key\n };\n}\nfunction $d27d541f9569d26d$var$getPointClientRect(point) {\n let offsetX = 0;\n let offsetY = 0;\n if (point.width !== undefined) offsetX = point.width / 2;\n else if (point.radiusX !== undefined) offsetX = point.radiusX;\n if (point.height !== undefined) offsetY = point.height / 2;\n else if (point.radiusY !== undefined) offsetY = point.radiusY;\n return {\n top: point.clientY - offsetY,\n right: point.clientX + offsetX,\n bottom: point.clientY + offsetY,\n left: point.clientX - offsetX\n };\n}\nfunction $d27d541f9569d26d$var$areRectanglesOverlapping(a, b) {\n // check if they cannot overlap on x axis\n if (a.left > b.right || b.left > a.right) return false;\n // check if they cannot overlap on y axis\n if (a.top > b.bottom || b.top > a.bottom) return false;\n return true;\n}\nfunction $d27d541f9569d26d$var$isOverTarget(point, target) {\n let rect = target.getBoundingClientRect();\n let pointRect = $d27d541f9569d26d$var$getPointClientRect(point);\n return $d27d541f9569d26d$var$areRectanglesOverlapping(rect, pointRect);\n}\nfunction $d27d541f9569d26d$var$shouldPreventDefaultUp(target) {\n if (target instanceof HTMLInputElement) return false;\n if (target instanceof HTMLButtonElement) return target.type !== 'submit' && target.type !== 'reset';\n if ($d27d541f9569d26d$var$isHTMLAnchorLink(target)) return false;\n return true;\n}\nfunction $d27d541f9569d26d$var$shouldPreventDefaultKeyboard(target, key) {\n if (target instanceof HTMLInputElement) return !$d27d541f9569d26d$var$isValidInputKey(target, key);\n return $d27d541f9569d26d$var$shouldPreventDefaultUp(target);\n}\nconst $d27d541f9569d26d$var$nonTextInputTypes = new Set([\n 'checkbox',\n 'radio',\n 'range',\n 'color',\n 'file',\n 'image',\n 'button',\n 'submit',\n 'reset'\n]);\nfunction $d27d541f9569d26d$var$isValidInputKey(target, key) {\n // Only space should toggle checkboxes and radios, not enter.\n return target.type === 'checkbox' || target.type === 'radio' ? key === ' ' : $d27d541f9569d26d$var$nonTextInputTypes.has(target.type);\n}\n\n\nexport {$d27d541f9569d26d$export$45712eceda6fad21 as usePress};\n//# sourceMappingURL=usePress.mjs.map\n","import {createSyntheticEvent as $a92dc41f639950be$export$525bc4921d56d4a, setEventTarget as $a92dc41f639950be$export$c2b7abe5d61ec696, useSyntheticBlurEvent as $a92dc41f639950be$export$715c682d09d639cc} from \"./utils.mjs\";\nimport {getActiveElement as $23f2114a1b82827e$export$cd4e5573fbe2b576, getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29, nodeContains as $23f2114a1b82827e$export$4282f70798064fe0} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {getOwnerDocument as $d447af545b77c9f1$export$b204af158042fbac} from \"../utils/domHelpers.mjs\";\nimport {useGlobalListeners as $48a7d519b337145d$export$4eaf04e54aa8eed6} from \"../utils/useGlobalListeners.mjs\";\nimport {useRef as $5319z$useRef, useCallback as $5319z$useCallback} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ // Portions of the code in this file are based on code from react.\n// Original licensing for the following can be found in the\n// NOTICE file in the root directory of this source tree.\n// See https://github.com/facebook/react/tree/cc7c1aece46a6b69b41958d731e0fd27c94bfc6c/packages/react-interactions\n\n\n\n\n\nfunction $2c9edc598a03d523$export$420e68273165f4ec(props) {\n let { isDisabled: isDisabled, onBlurWithin: onBlurWithin, onFocusWithin: onFocusWithin, onFocusWithinChange: onFocusWithinChange } = props;\n let state = (0, $5319z$useRef)({\n isFocusWithin: false\n });\n let { addGlobalListener: addGlobalListener, removeAllGlobalListeners: removeAllGlobalListeners } = (0, $48a7d519b337145d$export$4eaf04e54aa8eed6)();\n let onBlur = (0, $5319z$useCallback)((e)=>{\n // Ignore events bubbling through portals.\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n // We don't want to trigger onBlurWithin and then immediately onFocusWithin again\n // when moving focus inside the element. Only trigger if the currentTarget doesn't\n // include the relatedTarget (where focus is moving).\n if (state.current.isFocusWithin && !(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, e.relatedTarget)) {\n state.current.isFocusWithin = false;\n removeAllGlobalListeners();\n if (onBlurWithin) onBlurWithin(e);\n if (onFocusWithinChange) onFocusWithinChange(false);\n }\n }, [\n onBlurWithin,\n onFocusWithinChange,\n state,\n removeAllGlobalListeners\n ]);\n let onSyntheticFocus = (0, $a92dc41f639950be$export$715c682d09d639cc)(onBlur);\n let onFocus = (0, $5319z$useCallback)((e)=>{\n // Ignore events bubbling through portals.\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n // Double check that document.activeElement actually matches e.target in case a previously chained\n // focus handler already moved focus somewhere else.\n let eventTarget = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e);\n const ownerDocument = (0, $d447af545b77c9f1$export$b204af158042fbac)(eventTarget);\n const activeElement = (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)(ownerDocument);\n if (!state.current.isFocusWithin && activeElement === eventTarget) {\n if (onFocusWithin) onFocusWithin(e);\n if (onFocusWithinChange) onFocusWithinChange(true);\n state.current.isFocusWithin = true;\n onSyntheticFocus(e);\n // Browsers don't fire blur events when elements are removed from the DOM.\n // However, if a focus event occurs outside the element we're tracking, we\n // can manually fire onBlur.\n let currentTarget = e.currentTarget;\n addGlobalListener(ownerDocument, 'focus', (e)=>{\n let eventTarget = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e);\n if (state.current.isFocusWithin && !(0, $23f2114a1b82827e$export$4282f70798064fe0)(currentTarget, eventTarget)) {\n let nativeEvent = new ownerDocument.defaultView.FocusEvent('blur', {\n relatedTarget: eventTarget\n });\n (0, $a92dc41f639950be$export$c2b7abe5d61ec696)(nativeEvent, currentTarget);\n let event = (0, $a92dc41f639950be$export$525bc4921d56d4a)(nativeEvent);\n onBlur(event);\n }\n }, {\n capture: true\n });\n }\n }, [\n onFocusWithin,\n onFocusWithinChange,\n onSyntheticFocus,\n addGlobalListener,\n onBlur\n ]);\n if (isDisabled) return {\n focusWithinProps: {\n // These cannot be null, that would conflict in mergeProps\n onFocus: undefined,\n onBlur: undefined\n }\n };\n return {\n focusWithinProps: {\n onFocus: onFocus,\n onBlur: onBlur\n }\n };\n}\n\n\nexport {$2c9edc598a03d523$export$420e68273165f4ec as useFocusWithin};\n//# sourceMappingURL=useFocusWithin.mjs.map\n","import {isFocusVisible as $8f5a2122b0992be3$export$b9b3dfddab17db27, useFocusVisibleListener as $8f5a2122b0992be3$export$ec71b4b83ac08ec3} from \"../interactions/useFocusVisible.mjs\";\nimport {useFocus as $1e74c67db218ce67$export$f8168d8dd8fd66e6} from \"../interactions/useFocus.mjs\";\nimport {useFocusWithin as $2c9edc598a03d523$export$420e68273165f4ec} from \"../interactions/useFocusWithin.mjs\";\nimport {useRef as $3s2y0$useRef, useState as $3s2y0$useState, useCallback as $3s2y0$useCallback} from \"react\";\n\n\n\n\n\nfunction $0c4a58759813079a$export$4e328f61c538687f(props = {}) {\n let { autoFocus: autoFocus = false, isTextInput: isTextInput, within: within } = props;\n let state = (0, $3s2y0$useRef)({\n isFocused: false,\n isFocusVisible: autoFocus || (0, $8f5a2122b0992be3$export$b9b3dfddab17db27)()\n });\n let [isFocused, setFocused] = (0, $3s2y0$useState)(false);\n let [isFocusVisibleState, setFocusVisible] = (0, $3s2y0$useState)(()=>state.current.isFocused && state.current.isFocusVisible);\n let updateState = (0, $3s2y0$useCallback)(()=>setFocusVisible(state.current.isFocused && state.current.isFocusVisible), []);\n let onFocusChange = (0, $3s2y0$useCallback)((isFocused)=>{\n state.current.isFocused = isFocused;\n state.current.isFocusVisible = (0, $8f5a2122b0992be3$export$b9b3dfddab17db27)();\n setFocused(isFocused);\n updateState();\n }, [\n updateState\n ]);\n (0, $8f5a2122b0992be3$export$ec71b4b83ac08ec3)((isFocusVisible)=>{\n state.current.isFocusVisible = isFocusVisible;\n updateState();\n }, [\n isTextInput,\n isFocused\n ], {\n enabled: isFocused,\n isTextInput: isTextInput\n });\n let { focusProps: focusProps } = (0, $1e74c67db218ce67$export$f8168d8dd8fd66e6)({\n isDisabled: within,\n onFocusChange: onFocusChange\n });\n let { focusWithinProps: focusWithinProps } = (0, $2c9edc598a03d523$export$420e68273165f4ec)({\n isDisabled: !within,\n onFocusWithinChange: onFocusChange\n });\n return {\n isFocused: isFocused,\n isFocusVisible: isFocusVisibleState,\n focusProps: within ? focusWithinProps : focusProps\n };\n}\n\n\nexport {$0c4a58759813079a$export$4e328f61c538687f as useFocusRing};\n//# sourceMappingURL=useFocusRing.mjs.map\n","import {getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29, nodeContains as $23f2114a1b82827e$export$4282f70798064fe0} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {getOwnerDocument as $d447af545b77c9f1$export$b204af158042fbac} from \"../utils/domHelpers.mjs\";\nimport {useGlobalListeners as $48a7d519b337145d$export$4eaf04e54aa8eed6} from \"../utils/useGlobalListeners.mjs\";\nimport {useState as $hZqKM$useState, useRef as $hZqKM$useRef, useEffect as $hZqKM$useEffect, useMemo as $hZqKM$useMemo} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ // Portions of the code in this file are based on code from react.\n// Original licensing for the following can be found in the\n// NOTICE file in the root directory of this source tree.\n// See https://github.com/facebook/react/tree/cc7c1aece46a6b69b41958d731e0fd27c94bfc6c/packages/react-interactions\n\n\n\n\n// iOS fires onPointerEnter twice: once with pointerType=\"touch\" and again with pointerType=\"mouse\".\n// We want to ignore these emulated events so they do not trigger hover behavior.\n// See https://bugs.webkit.org/show_bug.cgi?id=214609.\nlet $e969f22b6713ca4a$var$globalIgnoreEmulatedMouseEvents = false;\nlet $e969f22b6713ca4a$var$hoverCount = 0;\nfunction $e969f22b6713ca4a$var$setGlobalIgnoreEmulatedMouseEvents() {\n $e969f22b6713ca4a$var$globalIgnoreEmulatedMouseEvents = true;\n // Clear globalIgnoreEmulatedMouseEvents after a short timeout. iOS fires onPointerEnter\n // with pointerType=\"mouse\" immediately after onPointerUp and before onFocus. On other\n // devices that don't have this quirk, we don't want to ignore a mouse hover sometime in\n // the distant future because a user previously touched the element.\n setTimeout(()=>{\n $e969f22b6713ca4a$var$globalIgnoreEmulatedMouseEvents = false;\n }, 500);\n}\nfunction $e969f22b6713ca4a$var$handleGlobalPointerEvent(e) {\n if (e.pointerType === 'touch') $e969f22b6713ca4a$var$setGlobalIgnoreEmulatedMouseEvents();\n}\nfunction $e969f22b6713ca4a$var$setupGlobalTouchEvents() {\n let ownerDocument = (0, $d447af545b77c9f1$export$b204af158042fbac)(null);\n if (typeof ownerDocument === 'undefined') return;\n if ($e969f22b6713ca4a$var$hoverCount === 0) {\n if (typeof PointerEvent !== 'undefined') ownerDocument.addEventListener('pointerup', $e969f22b6713ca4a$var$handleGlobalPointerEvent);\n else if (process.env.NODE_ENV === 'test') ownerDocument.addEventListener('touchend', $e969f22b6713ca4a$var$setGlobalIgnoreEmulatedMouseEvents);\n }\n $e969f22b6713ca4a$var$hoverCount++;\n return ()=>{\n $e969f22b6713ca4a$var$hoverCount--;\n if ($e969f22b6713ca4a$var$hoverCount > 0) return;\n if (typeof PointerEvent !== 'undefined') ownerDocument.removeEventListener('pointerup', $e969f22b6713ca4a$var$handleGlobalPointerEvent);\n else if (process.env.NODE_ENV === 'test') ownerDocument.removeEventListener('touchend', $e969f22b6713ca4a$var$setGlobalIgnoreEmulatedMouseEvents);\n };\n}\nfunction $e969f22b6713ca4a$export$ae780daf29e6d456(props) {\n let { onHoverStart: onHoverStart, onHoverChange: onHoverChange, onHoverEnd: onHoverEnd, isDisabled: isDisabled } = props;\n let [isHovered, setHovered] = (0, $hZqKM$useState)(false);\n let state = (0, $hZqKM$useRef)({\n isHovered: false,\n ignoreEmulatedMouseEvents: false,\n pointerType: '',\n target: null\n }).current;\n (0, $hZqKM$useEffect)($e969f22b6713ca4a$var$setupGlobalTouchEvents, []);\n let { addGlobalListener: addGlobalListener, removeAllGlobalListeners: removeAllGlobalListeners } = (0, $48a7d519b337145d$export$4eaf04e54aa8eed6)();\n let { hoverProps: hoverProps, triggerHoverEnd: triggerHoverEnd } = (0, $hZqKM$useMemo)(()=>{\n let triggerHoverStart = (event, pointerType)=>{\n state.pointerType = pointerType;\n if (isDisabled || pointerType === 'touch' || state.isHovered || !(0, $23f2114a1b82827e$export$4282f70798064fe0)(event.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(event))) return;\n state.isHovered = true;\n let target = event.currentTarget;\n state.target = target;\n // When an element that is hovered over is removed, no pointerleave event is fired by the browser,\n // even though the originally hovered target may have shrunk in size so it is no longer hovered.\n // However, a pointerover event will be fired on the new target the mouse is over.\n // In Chrome this happens immediately. In Safari and Firefox, it happens upon moving the mouse one pixel.\n addGlobalListener((0, $d447af545b77c9f1$export$b204af158042fbac)((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(event)), 'pointerover', (e)=>{\n if (state.isHovered && state.target && !(0, $23f2114a1b82827e$export$4282f70798064fe0)(state.target, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) triggerHoverEnd(e, e.pointerType);\n }, {\n capture: true\n });\n if (onHoverStart) onHoverStart({\n type: 'hoverstart',\n target: target,\n pointerType: pointerType\n });\n if (onHoverChange) onHoverChange(true);\n setHovered(true);\n };\n let triggerHoverEnd = (event, pointerType)=>{\n let target = state.target;\n state.pointerType = '';\n state.target = null;\n if (pointerType === 'touch' || !state.isHovered || !target) return;\n state.isHovered = false;\n removeAllGlobalListeners();\n if (onHoverEnd) onHoverEnd({\n type: 'hoverend',\n target: target,\n pointerType: pointerType\n });\n if (onHoverChange) onHoverChange(false);\n setHovered(false);\n };\n let hoverProps = {};\n if (typeof PointerEvent !== 'undefined') {\n hoverProps.onPointerEnter = (e)=>{\n if ($e969f22b6713ca4a$var$globalIgnoreEmulatedMouseEvents && e.pointerType === 'mouse') return;\n triggerHoverStart(e, e.pointerType);\n };\n hoverProps.onPointerLeave = (e)=>{\n if (!isDisabled && (0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) triggerHoverEnd(e, e.pointerType);\n };\n } else if (process.env.NODE_ENV === 'test') {\n hoverProps.onTouchStart = ()=>{\n state.ignoreEmulatedMouseEvents = true;\n };\n hoverProps.onMouseEnter = (e)=>{\n if (!state.ignoreEmulatedMouseEvents && !$e969f22b6713ca4a$var$globalIgnoreEmulatedMouseEvents) triggerHoverStart(e, 'mouse');\n state.ignoreEmulatedMouseEvents = false;\n };\n hoverProps.onMouseLeave = (e)=>{\n if (!isDisabled && (0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) triggerHoverEnd(e, 'mouse');\n };\n }\n return {\n hoverProps: hoverProps,\n triggerHoverEnd: triggerHoverEnd\n };\n }, [\n onHoverStart,\n onHoverChange,\n onHoverEnd,\n isDisabled,\n state,\n addGlobalListener,\n removeAllGlobalListeners\n ]);\n (0, $hZqKM$useEffect)(()=>{\n // Call the triggerHoverEnd as soon as isDisabled changes to true\n // Safe to call triggerHoverEnd, it will early return if we aren't currently hovering\n if (isDisabled) triggerHoverEnd({\n currentTarget: state.target\n }, state.pointerType);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n isDisabled\n ]);\n return {\n hoverProps: hoverProps,\n isHovered: isHovered\n };\n}\n\n\nexport {$e969f22b6713ca4a$export$ae780daf29e6d456 as useHover};\n//# sourceMappingURL=useHover.mjs.map\n","import {dom as $7230ffa83bc0c2cf$export$df3a06d6289f983e, useContextProps as $7230ffa83bc0c2cf$export$29f1550f4b0d4415} from \"./utils.mjs\";\nimport {createHideableComponent as $32wDz$createHideableComponent} from \"react-aria/private/collections/Hidden\";\nimport $32wDz$react, {createContext as $32wDz$createContext} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nconst $43a3b93638fe5db9$export$75b6ee27786ba447 = /*#__PURE__*/ (0, $32wDz$createContext)({});\nconst $43a3b93638fe5db9$export$b04be29aa201d4f5 = /*#__PURE__*/ (0, $32wDz$createHideableComponent)(function Label(props, ref) {\n [props, ref] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, $43a3b93638fe5db9$export$75b6ee27786ba447);\n let { elementType: elementType = 'label', ...labelProps } = props;\n let ElementType = (0, $7230ffa83bc0c2cf$export$df3a06d6289f983e)[elementType];\n // @ts-ignore\n return /*#__PURE__*/ (0, $32wDz$react).createElement(ElementType, {\n className: \"react-aria-Label\",\n ...labelProps,\n ref: ref\n });\n});\n\n\nexport {$43a3b93638fe5db9$export$75b6ee27786ba447 as LabelContext, $43a3b93638fe5db9$export$b04be29aa201d4f5 as Label};\n//# sourceMappingURL=Label.mjs.map\n","import {useId as $390e54f620492c70$export$f680877a34711e37} from \"../utils/useId.mjs\";\nimport {useLabels as $e8ac3c3f5d4bae7f$export$d6875122194c7b44} from \"../utils/useLabels.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $0beb20c9744a2065$export$8467354a121f1b9f(props) {\n let { id: id, label: label, 'aria-labelledby': ariaLabelledby, 'aria-label': ariaLabel, labelElementType: labelElementType = 'label' } = props;\n id = (0, $390e54f620492c70$export$f680877a34711e37)(id);\n let labelId = (0, $390e54f620492c70$export$f680877a34711e37)();\n let labelProps = {};\n if (label) {\n ariaLabelledby = ariaLabelledby ? `${labelId} ${ariaLabelledby}` : labelId;\n labelProps = {\n id: labelId,\n htmlFor: labelElementType === 'label' ? id : undefined\n };\n } else if (!ariaLabelledby && !ariaLabel && process.env.NODE_ENV !== 'production') console.warn('If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility');\n let fieldProps = (0, $e8ac3c3f5d4bae7f$export$d6875122194c7b44)({\n id: id,\n 'aria-label': ariaLabel,\n 'aria-labelledby': ariaLabelledby\n });\n return {\n labelProps: labelProps,\n fieldProps: fieldProps\n };\n}\n\n\nexport {$0beb20c9744a2065$export$8467354a121f1b9f as useLabel};\n//# sourceMappingURL=useLabel.mjs.map\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ /**\n * Takes a value and forces it to the closest min/max if it's outside. Also forces it to the closest\n * valid step.\n */ function $240e9101ba2842f5$export$7d15b64cf5a3a4c4(value, min = -Infinity, max = Infinity) {\n let newValue = Math.min(Math.max(value, min), max);\n return newValue;\n}\nfunction $240e9101ba2842f5$export$e1a7b8e69ef6c52f(value, step) {\n let roundedValue = value;\n let precision = 0;\n let stepString = step.toString();\n // Handle negative exponents in exponential notation (e.g., \"1e-7\" → precision 8)\n let eIndex = stepString.toLowerCase().indexOf('e-');\n if (eIndex > 0) precision = Math.abs(Math.floor(Math.log10(Math.abs(step)))) + eIndex;\n else {\n let pointIndex = stepString.indexOf('.');\n if (pointIndex >= 0) precision = stepString.length - pointIndex;\n }\n if (precision > 0) {\n let pow = Math.pow(10, precision);\n roundedValue = Math.round(roundedValue * pow) / pow;\n }\n return roundedValue;\n}\nfunction $240e9101ba2842f5$export$cb6e0bb50bc19463(value, min, max, step) {\n min = Number(min);\n max = Number(max);\n let remainder = (value - (isNaN(min) ? 0 : min)) % step;\n let snappedValue = $240e9101ba2842f5$export$e1a7b8e69ef6c52f(Math.abs(remainder) * 2 >= step ? value + Math.sign(remainder) * (step - Math.abs(remainder)) : value - remainder, step);\n if (!isNaN(min)) {\n if (snappedValue < min) snappedValue = min;\n else if (!isNaN(max) && snappedValue > max) snappedValue = min + Math.floor($240e9101ba2842f5$export$e1a7b8e69ef6c52f((max - min) / step, step)) * step;\n } else if (!isNaN(max) && snappedValue > max) snappedValue = Math.floor($240e9101ba2842f5$export$e1a7b8e69ef6c52f(max / step, step)) * step;\n // correct floating point behavior by rounding to step precision\n snappedValue = $240e9101ba2842f5$export$e1a7b8e69ef6c52f(snappedValue, step);\n return snappedValue;\n}\nfunction $240e9101ba2842f5$export$b6268554fba451f(value, digits, base = 10) {\n const pow = Math.pow(base, digits);\n return Math.round(value * pow) / pow;\n}\n\n\nexport {$240e9101ba2842f5$export$7d15b64cf5a3a4c4 as clamp, $240e9101ba2842f5$export$e1a7b8e69ef6c52f as roundToStepPrecision, $240e9101ba2842f5$export$cb6e0bb50bc19463 as snapValueToStep, $240e9101ba2842f5$export$b6268554fba451f as toFixedNumber};\n//# sourceMappingURL=number.mjs.map\n","import {dom as $7230ffa83bc0c2cf$export$df3a06d6289f983e, useContextProps as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, useRenderProps as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, useSlot as $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8} from \"./utils.mjs\";\nimport {LabelContext as $43a3b93638fe5db9$export$75b6ee27786ba447} from \"./Label.mjs\";\nimport {useProgressBar as $8MuvO$useProgressBar} from \"react-aria/useProgressBar\";\nimport {clamp as $8MuvO$clamp} from \"react-stately/private/utils/number\";\nimport {filterDOMProps as $8MuvO$filterDOMProps} from \"react-aria/filterDOMProps\";\nimport {mergeProps as $8MuvO$mergeProps} from \"react-aria/mergeProps\";\nimport $8MuvO$react, {createContext as $8MuvO$createContext, forwardRef as $8MuvO$forwardRef} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\nconst $6c0095e7e99364f2$export$e9f3bf65a26ce129 = /*#__PURE__*/ (0, $8MuvO$createContext)(null);\nconst $6c0095e7e99364f2$export$c17561cb55d4db30 = /*#__PURE__*/ (0, $8MuvO$forwardRef)(function ProgressBar(props, ref) {\n [props, ref] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, $6c0095e7e99364f2$export$e9f3bf65a26ce129);\n let { value: value = 0, minValue: minValue = 0, maxValue: maxValue = 100, isIndeterminate: isIndeterminate = false } = props;\n value = (0, $8MuvO$clamp)(value, minValue, maxValue);\n let [labelRef, label] = (0, $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8)(!props['aria-label'] && !props['aria-labelledby']);\n let { progressBarProps: progressBarProps, labelProps: labelProps } = (0, $8MuvO$useProgressBar)({\n ...props,\n label: label\n });\n // Calculate the width of the progress bar as a percentage\n let percentage = isIndeterminate ? undefined : (value - minValue) / (maxValue - minValue) * 100;\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...props,\n defaultClassName: 'react-aria-ProgressBar',\n values: {\n percentage: percentage,\n valueText: progressBarProps['aria-valuetext'],\n isIndeterminate: isIndeterminate\n }\n });\n let DOMProps = (0, $8MuvO$filterDOMProps)(props, {\n global: true\n });\n return /*#__PURE__*/ (0, $8MuvO$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div, {\n ...(0, $8MuvO$mergeProps)(DOMProps, renderProps, progressBarProps),\n ref: ref,\n slot: props.slot || undefined\n }, /*#__PURE__*/ (0, $8MuvO$react).createElement((0, $43a3b93638fe5db9$export$75b6ee27786ba447).Provider, {\n value: {\n ...labelProps,\n ref: labelRef,\n elementType: 'span'\n }\n }, renderProps.children));\n});\n\n\nexport {$6c0095e7e99364f2$export$e9f3bf65a26ce129 as ProgressBarContext, $6c0095e7e99364f2$export$c17561cb55d4db30 as ProgressBar};\n//# sourceMappingURL=ProgressBar.mjs.map\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ /* Inspired by https://github.com/AlmeroSteyn/react-aria-live */ const $a46cf152bb926da5$var$LIVEREGION_TIMEOUT_DELAY = 7000;\nlet $a46cf152bb926da5$var$liveAnnouncer = null;\nfunction $a46cf152bb926da5$export$a9b970dcc4ae71a9(message, assertiveness = 'assertive', timeout = $a46cf152bb926da5$var$LIVEREGION_TIMEOUT_DELAY) {\n if (!$a46cf152bb926da5$var$liveAnnouncer) {\n $a46cf152bb926da5$var$liveAnnouncer = new $a46cf152bb926da5$var$LiveAnnouncer();\n // wait for the live announcer regions to be added to the dom, then announce\n // otherwise Safari won't announce the message if it's added too quickly\n // found most times less than 100ms were not consistent when announcing with Safari\n // IS_REACT_ACT_ENVIRONMENT is used by React 18. Previous versions checked for the `jest` global.\n // https://github.com/reactwg/react-18/discussions/102\n // if we're in a test environment, announce without waiting\n if (// @ts-ignore\n !(typeof IS_REACT_ACT_ENVIRONMENT === 'boolean' ? IS_REACT_ACT_ENVIRONMENT : typeof jest !== 'undefined')) setTimeout(()=>{\n if ($a46cf152bb926da5$var$liveAnnouncer?.isAttached()) $a46cf152bb926da5$var$liveAnnouncer?.announce(message, assertiveness, timeout);\n }, 100);\n else $a46cf152bb926da5$var$liveAnnouncer.announce(message, assertiveness, timeout);\n } else $a46cf152bb926da5$var$liveAnnouncer.announce(message, assertiveness, timeout);\n}\nfunction $a46cf152bb926da5$export$d10ae4f68404609a(assertiveness) {\n if ($a46cf152bb926da5$var$liveAnnouncer) $a46cf152bb926da5$var$liveAnnouncer.clear(assertiveness);\n}\nfunction $a46cf152bb926da5$export$d8686216b8b81b2f() {\n if ($a46cf152bb926da5$var$liveAnnouncer) {\n $a46cf152bb926da5$var$liveAnnouncer.destroy();\n $a46cf152bb926da5$var$liveAnnouncer = null;\n }\n}\n// LiveAnnouncer is implemented using vanilla DOM, not React. That's because as of React 18\n// ReactDOM.render is deprecated, and the replacement, ReactDOM.createRoot is moved into a\n// subpath import `react-dom/client`. That makes it hard for us to support multiple React versions.\n// As a global API, we can't use portals without introducing a breaking API change. LiveAnnouncer\n// is simple enough to implement without React, so that's what we do here.\n// See this discussion for more details: https://github.com/reactwg/react-18/discussions/125#discussioncomment-2382638\nclass $a46cf152bb926da5$var$LiveAnnouncer {\n constructor(){\n this.node = null;\n this.assertiveLog = null;\n this.politeLog = null;\n if (typeof document !== 'undefined') {\n this.node = document.createElement('div');\n this.node.dataset.liveAnnouncer = 'true';\n // copied from VisuallyHidden\n Object.assign(this.node.style, {\n border: 0,\n clip: 'rect(0 0 0 0)',\n clipPath: 'inset(50%)',\n height: '1px',\n margin: '-1px',\n overflow: 'hidden',\n padding: 0,\n position: 'absolute',\n width: '1px',\n whiteSpace: 'nowrap'\n });\n this.assertiveLog = this.createLog('assertive');\n this.node.appendChild(this.assertiveLog);\n this.politeLog = this.createLog('polite');\n this.node.appendChild(this.politeLog);\n document.body.prepend(this.node);\n }\n }\n isAttached() {\n return this.node?.isConnected;\n }\n createLog(ariaLive) {\n let node = document.createElement('div');\n node.setAttribute('role', 'log');\n node.setAttribute('aria-live', ariaLive);\n node.setAttribute('aria-relevant', 'additions');\n return node;\n }\n destroy() {\n if (!this.node) return;\n document.body.removeChild(this.node);\n this.node = null;\n }\n announce(message, assertiveness = 'assertive', timeout = $a46cf152bb926da5$var$LIVEREGION_TIMEOUT_DELAY) {\n if (!this.node) return;\n let node = document.createElement('div');\n if (typeof message === 'object') {\n // To read an aria-labelledby, the element must have an appropriate role, such as img.\n node.setAttribute('role', 'img');\n node.setAttribute('aria-labelledby', message['aria-labelledby']);\n } else node.textContent = message;\n if (assertiveness === 'assertive') this.assertiveLog?.appendChild(node);\n else this.politeLog?.appendChild(node);\n if (message !== '') setTimeout(()=>{\n node.remove();\n }, timeout);\n }\n clear(assertiveness) {\n if (!this.node) return;\n if ((!assertiveness || assertiveness === 'assertive') && this.assertiveLog) this.assertiveLog.innerHTML = '';\n if ((!assertiveness || assertiveness === 'polite') && this.politeLog) this.politeLog.innerHTML = '';\n }\n}\n\n\nexport {$a46cf152bb926da5$export$a9b970dcc4ae71a9 as announce, $a46cf152bb926da5$export$d10ae4f68404609a as clearAnnouncer, $a46cf152bb926da5$export$d8686216b8b81b2f as destroyAnnouncer};\n//# sourceMappingURL=LiveAnnouncer.mjs.map\n","import {filterDOMProps as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f} from \"../utils/filterDOMProps.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {useFocusable as $d1116acdf220c2da$export$4c014de7c8940b4c} from \"../interactions/useFocusable.mjs\";\nimport {usePress as $d27d541f9569d26d$export$45712eceda6fad21} from \"../interactions/usePress.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\nfunction $ac4318a9c075bb9f$export$ea18c227d4417cc3(props, ref) {\n let { elementType: elementType = 'button', isDisabled: isDisabled, onPress: onPress, onPressStart: onPressStart, onPressEnd: onPressEnd, onPressUp: onPressUp, onPressChange: onPressChange, preventFocusOnPress: preventFocusOnPress, allowFocusWhenDisabled: // @ts-ignore - undocumented\n allowFocusWhenDisabled, onClick: onClick, href: href, target: target, rel: rel, type: type = 'button' } = props;\n let additionalProps;\n if (elementType === 'button') additionalProps = {\n type: type,\n disabled: isDisabled,\n form: props.form,\n formAction: props.formAction,\n formEncType: props.formEncType,\n formMethod: props.formMethod,\n formNoValidate: props.formNoValidate,\n formTarget: props.formTarget,\n name: props.name,\n value: props.value\n };\n else additionalProps = {\n role: 'button',\n href: elementType === 'a' && !isDisabled ? href : undefined,\n target: elementType === 'a' ? target : undefined,\n type: elementType === 'input' ? type : undefined,\n disabled: elementType === 'input' ? isDisabled : undefined,\n 'aria-disabled': !isDisabled || elementType === 'input' ? undefined : isDisabled,\n rel: elementType === 'a' ? rel : undefined\n };\n let { pressProps: pressProps, isPressed: isPressed } = (0, $d27d541f9569d26d$export$45712eceda6fad21)({\n onPressStart: onPressStart,\n onPressEnd: onPressEnd,\n onPressChange: onPressChange,\n onPress: onPress,\n onPressUp: onPressUp,\n onClick: onClick,\n isDisabled: isDisabled,\n preventFocusOnPress: preventFocusOnPress,\n ref: ref\n });\n let { focusableProps: focusableProps } = (0, $d1116acdf220c2da$export$4c014de7c8940b4c)(props, ref);\n if (allowFocusWhenDisabled) focusableProps.tabIndex = isDisabled ? -1 : focusableProps.tabIndex;\n let buttonProps = (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(focusableProps, pressProps, (0, $8e9d2fae0ecb9001$export$457c3d6518dd4c6f)(props, {\n labelable: true\n }));\n return {\n isPressed: isPressed,\n buttonProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(additionalProps, buttonProps, {\n 'aria-haspopup': props['aria-haspopup'],\n 'aria-expanded': props['aria-expanded'],\n 'aria-controls': props['aria-controls'],\n 'aria-pressed': props['aria-pressed'],\n 'aria-current': props['aria-current'],\n 'aria-disabled': props['aria-disabled']\n })\n };\n}\n\n\nexport {$ac4318a9c075bb9f$export$ea18c227d4417cc3 as useButton};\n//# sourceMappingURL=useButton.mjs.map\n","import {dom as $7230ffa83bc0c2cf$export$df3a06d6289f983e, useContextProps as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, useRenderProps as $7230ffa83bc0c2cf$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport {ProgressBarContext as $6c0095e7e99364f2$export$e9f3bf65a26ce129} from \"./ProgressBar.mjs\";\nimport {announce as $9s8kH$announce} from \"react-aria/private/live-announcer/LiveAnnouncer\";\nimport {useButton as $9s8kH$useButton} from \"react-aria/useButton\";\nimport {createHideableComponent as $9s8kH$createHideableComponent} from \"react-aria/private/collections/Hidden\";\nimport {filterDOMProps as $9s8kH$filterDOMProps} from \"react-aria/filterDOMProps\";\nimport {mergeProps as $9s8kH$mergeProps} from \"react-aria/mergeProps\";\nimport $9s8kH$react, {createContext as $9s8kH$createContext, useRef as $9s8kH$useRef, useEffect as $9s8kH$useEffect} from \"react\";\nimport {useFocusRing as $9s8kH$useFocusRing} from \"react-aria/useFocusRing\";\nimport {useHover as $9s8kH$useHover} from \"react-aria/useHover\";\nimport {useId as $9s8kH$useId} from \"react-aria/useId\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\n\nconst $7705c033048f6da7$export$24d547caef80ccd1 = /*#__PURE__*/ (0, $9s8kH$createContext)({});\nconst $7705c033048f6da7$export$353f5b6fc5456de1 = /*#__PURE__*/ (0, $9s8kH$createHideableComponent)(function Button(props, ref) {\n [props, ref] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, $7705c033048f6da7$export$24d547caef80ccd1);\n let ctx = props;\n let { isPending: isPending } = ctx;\n let { buttonProps: buttonProps, isPressed: isPressed } = (0, $9s8kH$useButton)(props, ref);\n buttonProps = $7705c033048f6da7$var$useDisableInteractions(buttonProps, isPending);\n let { focusProps: focusProps, isFocused: isFocused, isFocusVisible: isFocusVisible } = (0, $9s8kH$useFocusRing)(props);\n let { hoverProps: hoverProps, isHovered: isHovered } = (0, $9s8kH$useHover)({\n ...props,\n isDisabled: props.isDisabled || isPending\n });\n let renderValues = {\n isHovered: isHovered,\n isPressed: (ctx.isPressed || isPressed) && !isPending,\n isFocused: isFocused,\n isFocusVisible: isFocusVisible,\n isDisabled: props.isDisabled || false,\n isPending: isPending ?? false\n };\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...props,\n values: renderValues,\n defaultClassName: 'react-aria-Button'\n });\n let buttonId = (0, $9s8kH$useId)(buttonProps.id);\n let progressId = (0, $9s8kH$useId)();\n let ariaLabelledby = buttonProps['aria-labelledby'];\n if (isPending) {\n // aria-labelledby wins over aria-label\n // https://www.w3.org/TR/accname-1.2/#computation-steps\n if (ariaLabelledby) ariaLabelledby = `${ariaLabelledby} ${progressId}`;\n else if (buttonProps['aria-label']) ariaLabelledby = `${buttonId} ${progressId}`;\n }\n let wasPending = (0, $9s8kH$useRef)(isPending);\n (0, $9s8kH$useEffect)(()=>{\n let message = {\n 'aria-labelledby': ariaLabelledby || buttonId\n };\n if (!wasPending.current && isFocused && isPending) (0, $9s8kH$announce)(message, 'assertive');\n else if (wasPending.current && isFocused && !isPending) (0, $9s8kH$announce)(message, 'assertive');\n wasPending.current = isPending;\n }, [\n isPending,\n isFocused,\n ariaLabelledby,\n buttonId\n ]);\n let DOMProps = (0, $9s8kH$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.onClick;\n return /*#__PURE__*/ (0, $9s8kH$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).button, {\n ...(0, $9s8kH$mergeProps)(DOMProps, renderProps, buttonProps, focusProps, hoverProps),\n // When the button is in a pending state, we want to stop implicit form submission (ie. when the user presses enter on a text input).\n // We do this by changing the button's type to button.\n type: buttonProps.type === 'submit' && isPending ? 'button' : buttonProps.type,\n id: buttonId,\n ref: ref,\n \"aria-labelledby\": ariaLabelledby,\n slot: props.slot || undefined,\n \"aria-disabled\": isPending ? 'true' : buttonProps['aria-disabled'],\n \"data-disabled\": props.isDisabled || undefined,\n \"data-pressed\": renderValues.isPressed || undefined,\n \"data-hovered\": isHovered || undefined,\n \"data-focused\": isFocused || undefined,\n \"data-pending\": isPending || undefined,\n \"data-focus-visible\": isFocusVisible || undefined\n }, /*#__PURE__*/ (0, $9s8kH$react).createElement((0, $6c0095e7e99364f2$export$e9f3bf65a26ce129).Provider, {\n value: {\n id: progressId\n }\n }, renderProps.children));\n});\n// Events to preserve when isPending is true (for tooltips and other overlays)\nconst $7705c033048f6da7$var$PRESERVED_EVENT_PATTERN = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;\nfunction $7705c033048f6da7$var$useDisableInteractions(props, isPending) {\n if (isPending) {\n for(const key in props)if (key.startsWith('on') && !$7705c033048f6da7$var$PRESERVED_EVENT_PATTERN.test(key)) props[key] = undefined;\n props.href = undefined;\n props.target = undefined;\n }\n return props;\n}\n\n\nexport {$7705c033048f6da7$export$24d547caef80ccd1 as ButtonContext, $7705c033048f6da7$export$353f5b6fc5456de1 as Button};\n//# sourceMappingURL=Button.mjs.map\n","import {dom as $7230ffa83bc0c2cf$export$df3a06d6289f983e, useContextProps as $7230ffa83bc0c2cf$export$29f1550f4b0d4415} from \"./utils.mjs\";\nimport $6Xi9O$react, {createContext as $6Xi9O$createContext, forwardRef as $6Xi9O$forwardRef} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nconst $2ec61d1d4f780267$export$d688439359537581 = /*#__PURE__*/ (0, $6Xi9O$createContext)({});\nconst $2ec61d1d4f780267$export$a8a3e93435678ff9 = /*#__PURE__*/ (0, $6Xi9O$forwardRef)(function Heading(props, ref) {\n [props, ref] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, $2ec61d1d4f780267$export$d688439359537581);\n let { children: children, level: level = 3, className: className, ...domProps } = props;\n let Element = (0, $7230ffa83bc0c2cf$export$df3a06d6289f983e)[`h${level}`];\n return /*#__PURE__*/ (0, $6Xi9O$react).createElement(Element, {\n ...domProps,\n ref: ref,\n className: className ?? 'react-aria-Heading'\n }, children);\n});\n\n\nexport {$2ec61d1d4f780267$export$d688439359537581 as HeadingContext, $2ec61d1d4f780267$export$a8a3e93435678ff9 as Heading};\n//# sourceMappingURL=Heading.mjs.map\n","import {dom as $7230ffa83bc0c2cf$export$df3a06d6289f983e, useContextProps as $7230ffa83bc0c2cf$export$29f1550f4b0d4415} from \"./utils.mjs\";\nimport $cGkLv$react, {createContext as $cGkLv$createContext, forwardRef as $cGkLv$forwardRef} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nconst $efe09c6d1c304b50$export$9afb8bc826b033ea = /*#__PURE__*/ (0, $cGkLv$createContext)({});\nconst $efe09c6d1c304b50$export$5f1af8db9871e1d6 = /*#__PURE__*/ (0, $cGkLv$forwardRef)(function Text(props, ref) {\n [props, ref] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, $efe09c6d1c304b50$export$9afb8bc826b033ea);\n let { elementType: elementType = 'span', ...domProps } = props;\n let ElementType = (0, $7230ffa83bc0c2cf$export$df3a06d6289f983e)[elementType];\n // @ts-ignore\n return /*#__PURE__*/ (0, $cGkLv$react).createElement(ElementType, {\n className: \"react-aria-Text\",\n ...domProps,\n ref: ref\n });\n});\n\n\nexport {$efe09c6d1c304b50$export$9afb8bc826b033ea as TextContext, $efe09c6d1c304b50$export$5f1af8db9871e1d6 as Text};\n//# sourceMappingURL=Text.mjs.map\n","import {useEffectEvent as $fe16bffc7a557bf0$export$7f54fc3180508a52} from \"./useEffectEvent.mjs\";\nimport {useRef as $iuQV4$useRef, useEffect as $iuQV4$useEffect} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $3c71b1595a147f24$export$496315a1608d9602(cb, dependencies) {\n const isInitialMount = (0, $iuQV4$useRef)(true);\n const lastDeps = (0, $iuQV4$useRef)(null);\n let cbEvent = (0, $fe16bffc7a557bf0$export$7f54fc3180508a52)(cb);\n (0, $iuQV4$useEffect)(()=>{\n isInitialMount.current = true;\n return ()=>{\n isInitialMount.current = false;\n };\n }, []);\n (0, $iuQV4$useEffect)(()=>{\n let prevDeps = lastDeps.current;\n if (isInitialMount.current) isInitialMount.current = false;\n else if (!prevDeps || dependencies.some((dep, i)=>!Object.is(dep, prevDeps[i]))) cbEvent();\n lastDeps.current = dependencies;\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, dependencies);\n}\n\n\nexport {$3c71b1595a147f24$export$496315a1608d9602 as useUpdateEffect};\n//# sourceMappingURL=useUpdateEffect.mjs.map\n","/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ function $901761b40e390936$export$2bb74740c4e19def(node, checkForOverflow) {\n if (!node) return false;\n let style = window.getComputedStyle(node);\n let root = document.scrollingElement || document.documentElement;\n let isScrollable = /(auto|scroll)/.test(style.overflow + style.overflowX + style.overflowY);\n // Root element has `visible` overflow by default, but is scrollable nonetheless.\n if (node === root && style.overflow !== 'hidden') isScrollable = true;\n if (isScrollable && checkForOverflow) isScrollable = node.scrollHeight !== node.clientHeight || node.scrollWidth !== node.clientWidth;\n return isScrollable;\n}\n\n\nexport {$901761b40e390936$export$2bb74740c4e19def as isScrollable};\n//# sourceMappingURL=isScrollable.mjs.map\n","import {isScrollable as $901761b40e390936$export$2bb74740c4e19def} from \"./isScrollable.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nfunction $3578607fe3d4b096$export$cfa2225e87938781(node, checkForOverflow) {\n let scrollableNode = node;\n if ((0, $901761b40e390936$export$2bb74740c4e19def)(scrollableNode, checkForOverflow)) scrollableNode = scrollableNode.parentElement;\n while(scrollableNode && !(0, $901761b40e390936$export$2bb74740c4e19def)(scrollableNode, checkForOverflow))scrollableNode = scrollableNode.parentElement;\n return scrollableNode || document.scrollingElement || document.documentElement;\n}\n\n\nexport {$3578607fe3d4b096$export$cfa2225e87938781 as getScrollParent};\n//# sourceMappingURL=getScrollParent.mjs.map\n","import {isScrollable as $901761b40e390936$export$2bb74740c4e19def} from \"./isScrollable.mjs\";\n\n/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nfunction $76d97191f0f90600$export$94ed1c92c7beeb22(node, checkForOverflow) {\n let parentElements = [];\n let root = document.scrollingElement || document.documentElement;\n while(node){\n if ((0, $901761b40e390936$export$2bb74740c4e19def)(node, checkForOverflow)) parentElements.push(node);\n if (node === root) break;\n node = node.parentElement;\n }\n return parentElements;\n}\n\n\nexport {$76d97191f0f90600$export$94ed1c92c7beeb22 as getScrollParents};\n//# sourceMappingURL=getScrollParents.mjs.map\n","import {getScrollParents as $76d97191f0f90600$export$94ed1c92c7beeb22} from \"./getScrollParents.mjs\";\nimport {isIOS as $2add3ce32c6007eb$export$fedb369cb70207f1} from \"./platform.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $51a3e22a5186a962$export$53a0910f038337bd(scrollView, element, opts = {}) {\n let { block: block = 'nearest', inline: inline = 'nearest' } = opts;\n if (scrollView === element) return;\n let y = scrollView.scrollTop;\n let x = scrollView.scrollLeft;\n let target = element.getBoundingClientRect();\n let view = scrollView.getBoundingClientRect();\n let itemStyle = window.getComputedStyle(element);\n let viewStyle = window.getComputedStyle(scrollView);\n let root = document.scrollingElement || document.documentElement;\n let isRoot = scrollView === root;\n let viewTop = scrollView === root ? 0 : view.top;\n let viewBottom = scrollView === root ? scrollView.clientHeight : view.bottom;\n let viewLeft = scrollView === root ? 0 : view.left;\n let viewRight = scrollView === root ? scrollView.clientWidth : view.right;\n let scrollMarginTop = parseFloat(itemStyle.scrollMarginTop) || 0;\n let scrollMarginBottom = parseFloat(itemStyle.scrollMarginBottom) || 0;\n let scrollMarginLeft = parseFloat(itemStyle.scrollMarginLeft) || 0;\n let scrollMarginRight = parseFloat(itemStyle.scrollMarginRight) || 0;\n let scrollPaddingTop = parseFloat(viewStyle.scrollPaddingTop) || 0;\n let scrollPaddingBottom = parseFloat(viewStyle.scrollPaddingBottom) || 0;\n let scrollPaddingLeft = parseFloat(viewStyle.scrollPaddingLeft) || 0;\n let scrollPaddingRight = parseFloat(viewStyle.scrollPaddingRight) || 0;\n let borderTopWidth = parseFloat(viewStyle.borderTopWidth) || 0;\n let borderBottomWidth = parseFloat(viewStyle.borderBottomWidth) || 0;\n let borderLeftWidth = parseFloat(viewStyle.borderLeftWidth) || 0;\n let borderRightWidth = parseFloat(viewStyle.borderRightWidth) || 0;\n let scrollAreaTop = target.top - scrollMarginTop;\n let scrollAreaBottom = target.bottom + scrollMarginBottom;\n let scrollAreaLeft = target.left - scrollMarginLeft;\n let scrollAreaRight = target.right + scrollMarginRight;\n let scrollBarOffsetX = scrollView === root ? 0 : borderLeftWidth + borderRightWidth;\n let scrollBarOffsetY = scrollView === root ? 0 : borderTopWidth + borderBottomWidth;\n let scrollBarWidth = scrollView === root ? 0 : scrollView.offsetWidth - scrollView.clientWidth - scrollBarOffsetX;\n let scrollBarHeight = scrollView === root ? 0 : scrollView.offsetHeight - scrollView.clientHeight - scrollBarOffsetY;\n let scrollPortTop = viewTop + (isRoot ? 0 : borderTopWidth) + scrollPaddingTop;\n let scrollPortBottom = viewBottom - (isRoot ? 0 : borderBottomWidth) - scrollPaddingBottom - scrollBarHeight;\n let scrollPortLeft = viewLeft + (isRoot ? 0 : borderLeftWidth) + scrollPaddingLeft;\n let scrollPortRight = viewRight - (isRoot ? 0 : borderRightWidth) - scrollPaddingRight;\n // IOS always positions the scrollbar on the right ¯\\_(ツ)_/¯\n if (viewStyle.direction === 'rtl' && !(0, $2add3ce32c6007eb$export$fedb369cb70207f1)()) scrollPortLeft += scrollBarWidth;\n else scrollPortRight -= scrollBarWidth;\n let shouldScrollBlock = scrollAreaTop < scrollPortTop || scrollAreaBottom > scrollPortBottom;\n let shouldScrollInline = scrollAreaLeft < scrollPortLeft || scrollAreaRight > scrollPortRight;\n if (shouldScrollBlock && block === 'start') y += scrollAreaTop - scrollPortTop;\n else if (shouldScrollBlock && block === 'center') y += (scrollAreaTop + scrollAreaBottom) / 2 - (scrollPortTop + scrollPortBottom) / 2;\n else if (shouldScrollBlock && block === 'end') y += scrollAreaBottom - scrollPortBottom;\n else if (shouldScrollBlock && block === 'nearest') {\n let start = scrollAreaTop - scrollPortTop;\n let end = scrollAreaBottom - scrollPortBottom;\n y += Math.abs(start) <= Math.abs(end) ? start : end;\n }\n if (shouldScrollInline && inline === 'start') x += scrollAreaLeft - scrollPortLeft;\n else if (shouldScrollInline && inline === 'center') x += (scrollAreaLeft + scrollAreaRight) / 2 - (scrollPortLeft + scrollPortRight) / 2;\n else if (shouldScrollInline && inline === 'end') x += scrollAreaRight - scrollPortRight;\n else if (shouldScrollInline && inline === 'nearest') {\n let start = scrollAreaLeft - scrollPortLeft;\n let end = scrollAreaRight - scrollPortRight;\n x += Math.abs(start) <= Math.abs(end) ? start : end;\n }\n if (process.env.NODE_ENV === 'test') {\n scrollView.scrollLeft = x;\n scrollView.scrollTop = y;\n return;\n }\n scrollView.scrollTo({\n left: x,\n top: y\n });\n}\nfunction $51a3e22a5186a962$export$c826860796309d1b(targetElement, opts = {}) {\n let { containingElement: containingElement } = opts;\n if (targetElement && targetElement.isConnected) {\n let root = document.scrollingElement || document.documentElement;\n let isScrollPrevented = window.getComputedStyle(root).overflow === 'hidden';\n if (!isScrollPrevented) {\n let { left: originalLeft, top: originalTop } = targetElement.getBoundingClientRect();\n // use scrollIntoView({block: 'nearest'}) instead of .focus to check if the element is fully in view or not since .focus()\n // won't cause a scroll if the element is already focused and doesn't behave consistently when an element is partially out of view horizontally vs vertically\n targetElement?.scrollIntoView?.({\n block: 'nearest'\n });\n let { left: newLeft, top: newTop } = targetElement.getBoundingClientRect();\n // Account for sub pixel differences from rounding\n if (Math.abs(originalLeft - newLeft) > 1 || Math.abs(originalTop - newTop) > 1) {\n containingElement?.scrollIntoView?.({\n block: 'center',\n inline: 'center'\n });\n targetElement.scrollIntoView?.({\n block: 'nearest'\n });\n }\n } else {\n let { left: originalLeft, top: originalTop } = targetElement.getBoundingClientRect();\n // If scrolling is prevented, we don't want to scroll the body since it might move the overlay partially offscreen and the user can't scroll it back into view.\n let scrollParents = (0, $76d97191f0f90600$export$94ed1c92c7beeb22)(targetElement, true);\n for (let scrollParent of scrollParents)$51a3e22a5186a962$export$53a0910f038337bd(scrollParent, targetElement);\n let { left: newLeft, top: newTop } = targetElement.getBoundingClientRect();\n // Account for sub pixel differences from rounding\n if (Math.abs(originalLeft - newLeft) > 1 || Math.abs(originalTop - newTop) > 1) {\n scrollParents = containingElement ? (0, $76d97191f0f90600$export$94ed1c92c7beeb22)(containingElement, true) : [];\n // scroll containing element into view first, then rescroll target element into view like the non chrome flow above\n for (let scrollParent of scrollParents)$51a3e22a5186a962$export$53a0910f038337bd(scrollParent, containingElement, {\n block: 'center',\n inline: 'center'\n });\n for (let scrollParent of (0, $76d97191f0f90600$export$94ed1c92c7beeb22)(targetElement, true))$51a3e22a5186a962$export$53a0910f038337bd(scrollParent, targetElement);\n }\n }\n }\n}\n\n\nexport {$51a3e22a5186a962$export$53a0910f038337bd as scrollIntoView, $51a3e22a5186a962$export$c826860796309d1b as scrollIntoViewport};\n//# sourceMappingURL=scrollIntoView.mjs.map\n","import {useLayoutEffect as $c4867b2f328c2698$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport {useState as $4UXHm$useState} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nlet $121970af65029459$var$descriptionId = 0;\nconst $121970af65029459$var$descriptionNodes = new Map();\nfunction $121970af65029459$export$f8aeda7b10753fa1(description) {\n let [id, setId] = (0, $4UXHm$useState)();\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n if (!description) return;\n let desc = $121970af65029459$var$descriptionNodes.get(description);\n if (!desc) {\n let id = `react-aria-description-${$121970af65029459$var$descriptionId++}`;\n setId(id);\n let node = document.createElement('div');\n node.id = id;\n node.style.display = 'none';\n node.textContent = description;\n document.body.appendChild(node);\n desc = {\n refCount: 0,\n element: node\n };\n $121970af65029459$var$descriptionNodes.set(description, desc);\n } else setId(desc.element.id);\n desc.refCount++;\n return ()=>{\n if (desc && --desc.refCount === 0) {\n desc.element.remove();\n $121970af65029459$var$descriptionNodes.delete(description);\n }\n };\n }, [\n description\n ]);\n return {\n 'aria-describedby': description ? id : undefined\n };\n}\n\n\nexport {$121970af65029459$export$f8aeda7b10753fa1 as useDescription};\n//# sourceMappingURL=useDescription.mjs.map\n","import {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {useFocusWithin as $2c9edc598a03d523$export$420e68273165f4ec} from \"../interactions/useFocusWithin.mjs\";\nimport $48drk$react, {useState as $48drk$useState, useMemo as $48drk$useMemo} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nconst $ea3928288112382f$var$styles = {\n border: 0,\n clip: 'rect(0 0 0 0)',\n clipPath: 'inset(50%)',\n height: '1px',\n margin: '-1px',\n overflow: 'hidden',\n padding: 0,\n position: 'absolute',\n width: '1px',\n whiteSpace: 'nowrap'\n};\nfunction $ea3928288112382f$export$a966af930f325cab(props = {}) {\n let { style: style, isFocusable: isFocusable } = props;\n let [isFocused, setFocused] = (0, $48drk$useState)(false);\n let { focusWithinProps: focusWithinProps } = (0, $2c9edc598a03d523$export$420e68273165f4ec)({\n isDisabled: !isFocusable,\n onFocusWithinChange: (val)=>setFocused(val)\n });\n // If focused, don't hide the element.\n let combinedStyles = (0, $48drk$useMemo)(()=>{\n if (isFocused) return style;\n else if (style) return {\n ...$ea3928288112382f$var$styles,\n ...style\n };\n else return $ea3928288112382f$var$styles;\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n isFocused\n ]);\n return {\n visuallyHiddenProps: {\n ...focusWithinProps,\n style: combinedStyles\n }\n };\n}\nfunction $ea3928288112382f$export$439d29a4e110a164(props) {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n let { children: children, elementType: Element = 'div', isFocusable: isFocusable, style: style, ...otherProps } = props;\n let { visuallyHiddenProps: visuallyHiddenProps } = $ea3928288112382f$export$a966af930f325cab(props);\n return /*#__PURE__*/ (0, $48drk$react).createElement(Element, (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(otherProps, visuallyHiddenProps), children);\n}\n\n\nexport {$ea3928288112382f$export$a966af930f325cab as useVisuallyHidden, $ea3928288112382f$export$439d29a4e110a164 as VisuallyHidden};\n//# sourceMappingURL=VisuallyHidden.mjs.map\n","import {useRenderProps as $7230ffa83bc0c2cf$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport {Text as $efe09c6d1c304b50$export$5f1af8db9871e1d6} from \"./Text.mjs\";\nimport {filterDOMProps as $QpkXT$filterDOMProps} from \"react-aria/filterDOMProps\";\nimport $QpkXT$react, {createContext as $QpkXT$createContext, forwardRef as $QpkXT$forwardRef, useContext as $QpkXT$useContext} from \"react\";\n\n/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\nconst $1f3c3b1a70cec653$export$ff05c3ac10437e03 = /*#__PURE__*/ (0, $QpkXT$createContext)(null);\nconst $1f3c3b1a70cec653$export$f551688fc98f2e09 = /*#__PURE__*/ (0, $QpkXT$forwardRef)(function FieldError(props, ref) {\n let validation = (0, $QpkXT$useContext)($1f3c3b1a70cec653$export$ff05c3ac10437e03);\n if (!validation?.isInvalid) return null;\n return /*#__PURE__*/ (0, $QpkXT$react).createElement($1f3c3b1a70cec653$var$FieldErrorInner, {\n ...props,\n ref: ref\n });\n});\nconst $1f3c3b1a70cec653$var$FieldErrorInner = /*#__PURE__*/ (0, $QpkXT$forwardRef)((props, ref)=>{\n let validation = (0, $QpkXT$useContext)($1f3c3b1a70cec653$export$ff05c3ac10437e03);\n let { elementType: elementType, ...restProps } = props;\n let domProps = (0, $QpkXT$filterDOMProps)(restProps, {\n global: true\n });\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...restProps,\n defaultClassName: 'react-aria-FieldError',\n defaultChildren: validation.validationErrors.length === 0 ? undefined : validation.validationErrors.join(' '),\n values: validation\n });\n if (renderProps.children == null) return null;\n return /*#__PURE__*/ (0, $QpkXT$react).createElement((0, $efe09c6d1c304b50$export$5f1af8db9871e1d6), {\n slot: \"errorMessage\",\n elementType: elementType,\n ...domProps,\n ...renderProps,\n ref: ref\n });\n});\n\n\nexport {$1f3c3b1a70cec653$export$ff05c3ac10437e03 as FieldErrorContext, $1f3c3b1a70cec653$export$f551688fc98f2e09 as FieldError};\n//# sourceMappingURL=FieldError.mjs.map\n","import {createContext as $8AuPP$createContext, useMemo as $8AuPP$useMemo, useContext as $8AuPP$useContext, useState as $8AuPP$useState, useRef as $8AuPP$useRef, useEffect as $8AuPP$useEffect} from \"react\";\n\n/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nconst $fd2148440a13ec26$export$aca958c65c314e6c = {\n badInput: false,\n customError: false,\n patternMismatch: false,\n rangeOverflow: false,\n rangeUnderflow: false,\n stepMismatch: false,\n tooLong: false,\n tooShort: false,\n typeMismatch: false,\n valueMissing: false,\n valid: true\n};\nconst $fd2148440a13ec26$var$CUSTOM_VALIDITY_STATE = {\n ...$fd2148440a13ec26$export$aca958c65c314e6c,\n customError: true,\n valid: false\n};\nconst $fd2148440a13ec26$export$dad6ae84456c676a = {\n isInvalid: false,\n validationDetails: $fd2148440a13ec26$export$aca958c65c314e6c,\n validationErrors: []\n};\nconst $fd2148440a13ec26$export$571b5131b7e65c11 = (0, $8AuPP$createContext)({});\nconst $fd2148440a13ec26$export$a763b9476acd3eb = '__reactAriaFormValidationState';\nfunction $fd2148440a13ec26$export$fc1a364ae1f3ff10(props) {\n // Private prop for parent components to pass state to children.\n if (props[$fd2148440a13ec26$export$a763b9476acd3eb]) {\n let { realtimeValidation: realtimeValidation, displayValidation: displayValidation, updateValidation: updateValidation, resetValidation: resetValidation, commitValidation: commitValidation } = props[$fd2148440a13ec26$export$a763b9476acd3eb];\n return {\n realtimeValidation: realtimeValidation,\n displayValidation: displayValidation,\n updateValidation: updateValidation,\n resetValidation: resetValidation,\n commitValidation: commitValidation\n };\n }\n // eslint-disable-next-line react-hooks/rules-of-hooks\n return $fd2148440a13ec26$var$useFormValidationStateImpl(props);\n}\nfunction $fd2148440a13ec26$var$useFormValidationStateImpl(props) {\n let { isInvalid: isInvalid, validationState: validationState, name: name, value: value, builtinValidation: builtinValidation, validate: validate, validationBehavior: validationBehavior = 'aria' } = props;\n // backward compatibility.\n if (validationState) isInvalid ||= validationState === 'invalid';\n // If the isInvalid prop is controlled, update validation result in realtime.\n let controlledError = isInvalid !== undefined ? {\n isInvalid: isInvalid,\n validationErrors: [],\n validationDetails: $fd2148440a13ec26$var$CUSTOM_VALIDITY_STATE\n } : null;\n // Perform custom client side validation.\n let clientError = (0, $8AuPP$useMemo)(()=>{\n if (!validate || value == null) return null;\n let validateErrors = $fd2148440a13ec26$var$runValidate(validate, value);\n return $fd2148440a13ec26$var$getValidationResult(validateErrors);\n }, [\n validate,\n value\n ]);\n if (builtinValidation?.validationDetails.valid) builtinValidation = undefined;\n // Get relevant server errors from the form.\n let serverErrors = (0, $8AuPP$useContext)($fd2148440a13ec26$export$571b5131b7e65c11);\n let serverErrorMessages = (0, $8AuPP$useMemo)(()=>{\n if (name) return Array.isArray(name) ? name.flatMap((name)=>$fd2148440a13ec26$var$asArray(serverErrors[name])) : $fd2148440a13ec26$var$asArray(serverErrors[name]);\n return [];\n }, [\n serverErrors,\n name\n ]);\n // Show server errors when the form gets a new value, and clear when the user changes the value.\n let [lastServerErrors, setLastServerErrors] = (0, $8AuPP$useState)(serverErrors);\n let [isServerErrorCleared, setServerErrorCleared] = (0, $8AuPP$useState)(false);\n if (serverErrors !== lastServerErrors) {\n setLastServerErrors(serverErrors);\n setServerErrorCleared(false);\n }\n let serverError = (0, $8AuPP$useMemo)(()=>$fd2148440a13ec26$var$getValidationResult(isServerErrorCleared ? [] : serverErrorMessages), [\n isServerErrorCleared,\n serverErrorMessages\n ]);\n // Track the next validation state in a ref until commitValidation is called.\n let nextValidation = (0, $8AuPP$useRef)($fd2148440a13ec26$export$dad6ae84456c676a);\n let [currentValidity, setCurrentValidity] = (0, $8AuPP$useState)($fd2148440a13ec26$export$dad6ae84456c676a);\n let lastError = (0, $8AuPP$useRef)($fd2148440a13ec26$export$dad6ae84456c676a);\n let commitValidation = ()=>{\n if (!commitQueued) return;\n setCommitQueued(false);\n let error = clientError || builtinValidation || nextValidation.current;\n if (!$fd2148440a13ec26$var$isEqualValidation(error, lastError.current)) {\n lastError.current = error;\n setCurrentValidity(error);\n }\n };\n let [commitQueued, setCommitQueued] = (0, $8AuPP$useState)(false);\n (0, $8AuPP$useEffect)(commitValidation);\n // realtimeValidation is used to update the native input element's state based on custom validation logic.\n // displayValidation is the currently displayed validation state that the user sees (e.g. on input change/form submit).\n // With validationBehavior=\"aria\", all errors are displayed in realtime rather than on submit.\n let realtimeValidation = controlledError || serverError || clientError || builtinValidation || $fd2148440a13ec26$export$dad6ae84456c676a;\n let displayValidation = validationBehavior === 'native' ? controlledError || serverError || currentValidity : controlledError || serverError || clientError || builtinValidation || currentValidity;\n return {\n realtimeValidation: realtimeValidation,\n displayValidation: displayValidation,\n updateValidation (value) {\n // If validationBehavior is 'aria', update in realtime. Otherwise, store in a ref until commit.\n if (validationBehavior === 'aria' && !$fd2148440a13ec26$var$isEqualValidation(currentValidity, value)) setCurrentValidity(value);\n else nextValidation.current = value;\n },\n resetValidation () {\n // Update the currently displayed validation state to valid on form reset,\n // even if the native validity says it isn't. It'll show again on the next form submit.\n let error = $fd2148440a13ec26$export$dad6ae84456c676a;\n if (!$fd2148440a13ec26$var$isEqualValidation(error, lastError.current)) {\n lastError.current = error;\n setCurrentValidity(error);\n }\n // Do not commit validation after the next render. This avoids a condition where\n // useSelect calls commitValidation inside an onReset handler.\n if (validationBehavior === 'native') setCommitQueued(false);\n setServerErrorCleared(true);\n },\n commitValidation () {\n // Commit validation state so the user sees it on blur/change/submit. Also clear any server errors.\n // Wait until after the next render to commit so that the latest value has been validated.\n if (validationBehavior === 'native') setCommitQueued(true);\n setServerErrorCleared(true);\n }\n };\n}\nfunction $fd2148440a13ec26$var$asArray(v) {\n if (!v) return [];\n return Array.isArray(v) ? v : [\n v\n ];\n}\nfunction $fd2148440a13ec26$var$runValidate(validate, value) {\n if (typeof validate === 'function') {\n let e = validate(value);\n if (e && typeof e !== 'boolean') return $fd2148440a13ec26$var$asArray(e);\n }\n return [];\n}\nfunction $fd2148440a13ec26$var$getValidationResult(errors) {\n return errors.length ? {\n isInvalid: true,\n validationErrors: errors,\n validationDetails: $fd2148440a13ec26$var$CUSTOM_VALIDITY_STATE\n } : null;\n}\nfunction $fd2148440a13ec26$var$isEqualValidation(a, b) {\n if (a === b) return true;\n return !!a && !!b && a.isInvalid === b.isInvalid && a.validationErrors.length === b.validationErrors.length && a.validationErrors.every((a, i)=>a === b.validationErrors[i]) && Object.entries(a.validationDetails).every(([k, v])=>b.validationDetails[k] === v);\n}\nfunction $fd2148440a13ec26$export$75ee7c75d68f5b0e(...results) {\n let errors = new Set();\n let isInvalid = false;\n let validationDetails = {\n ...$fd2148440a13ec26$export$aca958c65c314e6c\n };\n for (let v of results){\n for (let e of v.validationErrors)errors.add(e);\n // Only these properties apply for checkboxes.\n isInvalid ||= v.isInvalid;\n for(let key in validationDetails)validationDetails[key] ||= v.validationDetails[key];\n }\n validationDetails.valid = !isInvalid;\n return {\n isInvalid: isInvalid,\n validationErrors: [\n ...errors\n ],\n validationDetails: validationDetails\n };\n}\n\n\nexport {$fd2148440a13ec26$export$aca958c65c314e6c as VALID_VALIDITY_STATE, $fd2148440a13ec26$export$dad6ae84456c676a as DEFAULT_VALIDATION_RESULT, $fd2148440a13ec26$export$571b5131b7e65c11 as FormValidationContext, $fd2148440a13ec26$export$a763b9476acd3eb as privateValidationStateProp, $fd2148440a13ec26$export$fc1a364ae1f3ff10 as useFormValidationState, $fd2148440a13ec26$export$75ee7c75d68f5b0e as mergeValidation};\n//# sourceMappingURL=useFormValidationState.mjs.map\n","import {dom as $7230ffa83bc0c2cf$export$df3a06d6289f983e, useContextProps as $7230ffa83bc0c2cf$export$29f1550f4b0d4415} from \"./utils.mjs\";\nimport {FormValidationContext as $iSTzu$FormValidationContext} from \"react-stately/private/form/useFormValidationState\";\nimport $iSTzu$react, {createContext as $iSTzu$createContext, forwardRef as $iSTzu$forwardRef} from \"react\";\n\n/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the 'License');\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nconst $cdaed739b1139372$export$c24727297075ec6a = /*#__PURE__*/ (0, $iSTzu$createContext)(null);\nconst $cdaed739b1139372$export$a7fed597f4b8afd8 = /*#__PURE__*/ (0, $iSTzu$forwardRef)(function Form(props, ref) {\n [props, ref] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, $cdaed739b1139372$export$c24727297075ec6a);\n let { validationErrors: validationErrors, validationBehavior: validationBehavior = 'native', children: children, className: className, ...domProps } = props;\n return /*#__PURE__*/ (0, $iSTzu$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).form, {\n noValidate: validationBehavior !== 'native',\n ...domProps,\n ref: ref,\n className: className || 'react-aria-Form'\n }, /*#__PURE__*/ (0, $iSTzu$react).createElement($cdaed739b1139372$export$c24727297075ec6a.Provider, {\n value: {\n ...props,\n validationBehavior: validationBehavior\n }\n }, /*#__PURE__*/ (0, $iSTzu$react).createElement((0, $iSTzu$FormValidationContext).Provider, {\n value: validationErrors ?? {}\n }, children)));\n});\n\n\nexport {$cdaed739b1139372$export$c24727297075ec6a as FormContext, $cdaed739b1139372$export$a7fed597f4b8afd8 as Form};\n//# sourceMappingURL=Form.mjs.map\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ const $0fffd24394d22962$export$ec98120685d4f57d = new WeakMap();\n\n\nexport {$0fffd24394d22962$export$ec98120685d4f57d as checkboxGroupData};\n//# sourceMappingURL=utils.mjs.map\n","import {useLabel as $0beb20c9744a2065$export$8467354a121f1b9f} from \"./useLabel.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {useSlotId as $390e54f620492c70$export$b4cc09c592e8fdb8} from \"../utils/useId.mjs\";\n\n/*\n * Copyright 2021 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nfunction $191c9b6d48a0a4e2$export$294aa081a6c6f55d(props) {\n let { description: description, errorMessage: errorMessage, isInvalid: isInvalid, validationState: validationState } = props;\n let { labelProps: labelProps, fieldProps: fieldProps } = (0, $0beb20c9744a2065$export$8467354a121f1b9f)(props);\n let descriptionId = (0, $390e54f620492c70$export$b4cc09c592e8fdb8)([\n Boolean(description),\n Boolean(errorMessage),\n isInvalid,\n validationState\n ]);\n let errorMessageId = (0, $390e54f620492c70$export$b4cc09c592e8fdb8)([\n Boolean(description),\n Boolean(errorMessage),\n isInvalid,\n validationState\n ]);\n fieldProps = (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(fieldProps, {\n 'aria-describedby': [\n descriptionId,\n // Use aria-describedby for error message because aria-errormessage is unsupported using VoiceOver or NVDA. See https://github.com/adobe/react-spectrum/issues/1346#issuecomment-740136268\n errorMessageId,\n props['aria-describedby']\n ].filter(Boolean).join(' ') || undefined\n });\n return {\n labelProps: labelProps,\n fieldProps: fieldProps,\n descriptionProps: {\n id: descriptionId\n },\n errorMessageProps: {\n id: errorMessageId\n }\n };\n}\n\n\nexport {$191c9b6d48a0a4e2$export$294aa081a6c6f55d as useField};\n//# sourceMappingURL=useField.mjs.map\n","import {checkboxGroupData as $0fffd24394d22962$export$ec98120685d4f57d} from \"./utils.mjs\";\nimport {filterDOMProps as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f} from \"../utils/filterDOMProps.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {useField as $191c9b6d48a0a4e2$export$294aa081a6c6f55d} from \"../label/useField.mjs\";\nimport {useFocusWithin as $2c9edc598a03d523$export$420e68273165f4ec} from \"../interactions/useFocusWithin.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\nfunction $d11d85ad4808f162$export$49ff6f28c54f1cbe(props, state) {\n let { isDisabled: isDisabled, name: name, form: form, validationBehavior: validationBehavior = 'aria' } = props;\n let { isInvalid: isInvalid, validationErrors: validationErrors, validationDetails: validationDetails } = state.displayValidation;\n let { labelProps: labelProps, fieldProps: fieldProps, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps } = (0, $191c9b6d48a0a4e2$export$294aa081a6c6f55d)({\n ...props,\n // Checkbox group is not an HTML input element so it\n // shouldn't be labeled by a <label> element.\n labelElementType: 'span',\n isInvalid: isInvalid,\n errorMessage: props.errorMessage || validationErrors\n });\n (0, $0fffd24394d22962$export$ec98120685d4f57d).set(state, {\n name: name,\n form: form,\n descriptionId: descriptionProps.id,\n errorMessageId: errorMessageProps.id,\n validationBehavior: validationBehavior\n });\n let domProps = (0, $8e9d2fae0ecb9001$export$457c3d6518dd4c6f)(props, {\n labelable: true\n });\n let { focusWithinProps: focusWithinProps } = (0, $2c9edc598a03d523$export$420e68273165f4ec)({\n onBlurWithin: props.onBlur,\n onFocusWithin: props.onFocus,\n onFocusWithinChange: props.onFocusChange\n });\n return {\n groupProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(domProps, {\n role: 'group',\n 'aria-disabled': isDisabled || undefined,\n ...fieldProps,\n ...focusWithinProps\n }),\n labelProps: labelProps,\n descriptionProps: descriptionProps,\n errorMessageProps: errorMessageProps,\n isInvalid: isInvalid,\n validationErrors: validationErrors,\n validationDetails: validationDetails\n };\n}\n\n\nexport {$d11d85ad4808f162$export$49ff6f28c54f1cbe as useCheckboxGroup};\n//# sourceMappingURL=useCheckboxGroup.mjs.map\n","import {useEffectEvent as $fe16bffc7a557bf0$export$7f54fc3180508a52} from \"./useEffectEvent.mjs\";\nimport {useEffect as $1HUBd$useEffect} from \"react\";\n\n/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $3274bf1495747a7b$export$5add1d006293d136(ref, initialValue, onReset) {\n let handleReset = (0, $fe16bffc7a557bf0$export$7f54fc3180508a52)((e)=>{\n if (onReset && !e.defaultPrevented) onReset(initialValue);\n });\n (0, $1HUBd$useEffect)(()=>{\n let form = ref?.current?.form;\n form?.addEventListener('reset', handleReset);\n return ()=>{\n form?.removeEventListener('reset', handleReset);\n };\n }, [\n ref\n ]);\n}\n\n\nexport {$3274bf1495747a7b$export$5add1d006293d136 as useFormReset};\n//# sourceMappingURL=useFormReset.mjs.map\n","import {getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {setInteractionModality as $8f5a2122b0992be3$export$8397ddfc504fdb9a} from \"../interactions/useFocusVisible.mjs\";\nimport {useEffectEvent as $fe16bffc7a557bf0$export$7f54fc3180508a52} from \"../utils/useEffectEvent.mjs\";\nimport {useLayoutEffect as $c4867b2f328c2698$export$e5c5a5f917a5871c} from \"../utils/useLayoutEffect.mjs\";\nimport {useRef as $axvKP$useRef, useEffect as $axvKP$useEffect} from \"react\";\n\n/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\nfunction $860f7da480e22816$export$b8473d3665f3a75a(props, state, ref) {\n let { validationBehavior: validationBehavior, focus: focus } = props;\n // This is a useLayoutEffect so that it runs before the useEffect in useFormValidationState, which commits the validation change.\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n if (validationBehavior === 'native' && ref?.current && !ref.current.disabled) {\n let errorMessage = state.realtimeValidation.isInvalid ? state.realtimeValidation.validationErrors.join(' ') || 'Invalid value.' : '';\n ref.current.setCustomValidity(errorMessage);\n // Prevent default tooltip for validation message.\n // https://bugzilla.mozilla.org/show_bug.cgi?id=605277\n if (!ref.current.hasAttribute('title')) ref.current.title = '';\n if (!state.realtimeValidation.isInvalid) state.updateValidation($860f7da480e22816$var$getNativeValidity(ref.current));\n }\n });\n let isIgnoredReset = (0, $axvKP$useRef)(false);\n let onReset = (0, $fe16bffc7a557bf0$export$7f54fc3180508a52)(()=>{\n if (!isIgnoredReset.current) state.resetValidation();\n });\n let onInvalid = (0, $fe16bffc7a557bf0$export$7f54fc3180508a52)((e)=>{\n // Only commit validation if we are not already displaying one.\n // This avoids clearing server errors that the user didn't actually fix.\n if (!state.displayValidation.isInvalid) state.commitValidation();\n // Auto focus the first invalid input in a form, unless the error already had its default prevented.\n let form = ref?.current?.form;\n if (!e.defaultPrevented && ref && form && $860f7da480e22816$var$getFirstInvalidInput(form) === ref.current) {\n if (focus) focus();\n else ref.current?.focus();\n // Always show focus ring.\n (0, $8f5a2122b0992be3$export$8397ddfc504fdb9a)('keyboard');\n }\n // Prevent default browser error UI from appearing.\n e.preventDefault();\n });\n let onChange = (0, $fe16bffc7a557bf0$export$7f54fc3180508a52)(()=>{\n state.commitValidation();\n });\n (0, $axvKP$useEffect)(()=>{\n let input = ref?.current;\n if (!input) return;\n let form = input.form;\n let reset = form?.reset;\n if (form) // Try to detect React's automatic form reset behavior so we don't clear\n // validation errors that are returned by server actions.\n // To do this, we ignore programmatic form resets that occur outside a user event.\n // This is best-effort. There may be false positives, e.g. setTimeout.\n form.reset = ()=>{\n // React uses MessageChannel for scheduling, so ignore 'message' events.\n isIgnoredReset.current = !window.event || window.event.type === 'message' && (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(window.event) instanceof MessagePort;\n reset?.call(form);\n isIgnoredReset.current = false;\n };\n input.addEventListener('invalid', onInvalid);\n input.addEventListener('change', onChange);\n form?.addEventListener('reset', onReset);\n return ()=>{\n input.removeEventListener('invalid', onInvalid);\n input.removeEventListener('change', onChange);\n form?.removeEventListener('reset', onReset);\n if (form) // @ts-ignore\n form.reset = reset;\n };\n }, [\n ref,\n validationBehavior\n ]);\n}\nfunction $860f7da480e22816$var$getValidity(input) {\n // The native ValidityState object is live, meaning each property is a getter that returns the current state.\n // We need to create a snapshot of the validity state at the time this function is called to avoid unpredictable React renders.\n let validity = input.validity;\n return {\n badInput: validity.badInput,\n customError: validity.customError,\n patternMismatch: validity.patternMismatch,\n rangeOverflow: validity.rangeOverflow,\n rangeUnderflow: validity.rangeUnderflow,\n stepMismatch: validity.stepMismatch,\n tooLong: validity.tooLong,\n tooShort: validity.tooShort,\n typeMismatch: validity.typeMismatch,\n valueMissing: validity.valueMissing,\n valid: validity.valid\n };\n}\nfunction $860f7da480e22816$var$getNativeValidity(input) {\n return {\n isInvalid: !input.validity.valid,\n validationDetails: $860f7da480e22816$var$getValidity(input),\n validationErrors: input.validationMessage ? [\n input.validationMessage\n ] : []\n };\n}\nfunction $860f7da480e22816$var$getFirstInvalidInput(form) {\n for(let i = 0; i < form.elements.length; i++){\n let element = form.elements[i];\n if (element.validity?.valid === false) return element;\n }\n return null;\n}\n\n\nexport {$860f7da480e22816$export$b8473d3665f3a75a as useFormValidation};\n//# sourceMappingURL=useFormValidation.mjs.map\n","import {useId as $390e54f620492c70$export$f680877a34711e37} from \"./useId.mjs\";\nimport {useLayoutEffect as $c4867b2f328c2698$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport {useState as $hga0N$useState, useRef as $hga0N$useRef, useCallback as $hga0N$useCallback} from \"react\";\n\n/*\n * Copyright 2026 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nfunction $4c14b02d5228be26$export$9d4c57ee4c6ffdd8(initialState = true) {\n // Initial state is typically based on the parent having an aria-label or aria-labelledby.\n // If it does, this value should be false so that we don't update the state and cause a rerender when we go through the layoutEffect\n let [hasSlot, setHasSlot] = (0, $hga0N$useState)(initialState);\n let hasRun = (0, $hga0N$useRef)(false);\n // A callback ref which will run when the slotted element mounts.\n // This should happen before the useLayoutEffect below.\n let ref = (0, $hga0N$useCallback)((el)=>{\n hasRun.current = true;\n setHasSlot(!!el);\n }, []);\n // If the callback hasn't been called, then reset to false.\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n if (!hasRun.current) setHasSlot(false);\n }, []);\n return [\n ref,\n hasSlot\n ];\n}\nfunction $4c14b02d5228be26$export$ed2feabec4a533f4(initialState = true) {\n let id = (0, $390e54f620492c70$export$f680877a34711e37)();\n let [ref, hasSlot] = $4c14b02d5228be26$export$9d4c57ee4c6ffdd8(initialState);\n return {\n id: hasSlot ? id : undefined,\n ref: ref\n };\n}\n\n\nexport {$4c14b02d5228be26$export$9d4c57ee4c6ffdd8 as useSlot, $4c14b02d5228be26$export$ed2feabec4a533f4 as useSlotId2};\n//# sourceMappingURL=useSlot.mjs.map\n","import {filterDOMProps as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f} from \"../utils/filterDOMProps.mjs\";\nimport {getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {useFocusable as $d1116acdf220c2da$export$4c014de7c8940b4c} from \"../interactions/useFocusable.mjs\";\nimport {useFormReset as $3274bf1495747a7b$export$5add1d006293d136} from \"../utils/useFormReset.mjs\";\nimport {useFormValidation as $860f7da480e22816$export$b8473d3665f3a75a} from \"../form/useFormValidation.mjs\";\nimport {usePress as $d27d541f9569d26d$export$45712eceda6fad21} from \"../interactions/usePress.mjs\";\nimport {useSlotId2 as $4c14b02d5228be26$export$ed2feabec4a533f4} from \"../utils/useSlot.mjs\";\nimport {useState as $jQnU8$useState} from \"react\";\nimport {useFormValidationState as $jQnU8$useFormValidationState, privateValidationStateProp as $jQnU8$privateValidationStateProp} from \"react-stately/private/form/useFormValidationState\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\nfunction $876b6f32ca5a04c3$export$cbe85ee05b554577(props, state, ref) {\n let { isDisabled: isDisabled = false, isReadOnly: isReadOnly = false, value: value, name: name, form: form, children: children, isRequired: isRequired, validationBehavior: validationBehavior = 'aria', 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, onPressStart: onPressStart, onPressEnd: onPressEnd, onPressChange: onPressChange, onPress: onPress, onPressUp: onPressUp, onClick: onClick } = props;\n // Create validation state here because it doesn't make sense to add to general useToggleState.\n let validationState = (0, $jQnU8$useFormValidationState)({\n ...props,\n value: state.isSelected\n });\n let { isInvalid: isInvalid, validationErrors: validationErrors, validationDetails: validationDetails } = validationState.displayValidation;\n (0, $860f7da480e22816$export$b8473d3665f3a75a)(props, validationState, ref);\n let onChange = (e)=>{\n // since we spread props on label, onChange will end up there as well as in here.\n // so we have to stop propagation at the lowest level that we care about\n e.stopPropagation();\n state.setSelected((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e).checked);\n };\n let hasChildren = children != null;\n let hasAriaLabel = ariaLabel != null || ariaLabelledby != null;\n if (!hasChildren && !hasAriaLabel && process.env.NODE_ENV !== 'production') console.warn('If you do not provide children, you must specify an aria-label for accessibility');\n // Handle press state for keyboard interactions and cases where labelProps is not used.\n let { pressProps: pressProps, isPressed: isPressed } = (0, $d27d541f9569d26d$export$45712eceda6fad21)({\n onPressStart: onPressStart,\n onPressEnd: onPressEnd,\n onPressChange: onPressChange,\n onPress: onPress,\n onPressUp: onPressUp,\n onClick: onClick,\n isDisabled: isDisabled\n });\n // Handle press state on the label.\n let [isLabelPressed, setLabelPressed] = (0, $jQnU8$useState)(false);\n let { pressProps: labelProps } = (0, $d27d541f9569d26d$export$45712eceda6fad21)({\n onPressStart (e) {\n // Keyboard interactions are handled directly on the input.\n if (e.pointerType === 'keyboard' || e.pointerType === 'virtual') {\n e.continuePropagation();\n return;\n }\n onPressStart?.(e);\n onPressChange?.(true);\n setLabelPressed(true);\n },\n onPressEnd (e) {\n // Keyboard interactions are handled directly on the input.\n if (e.pointerType === 'keyboard' || e.pointerType === 'virtual') {\n e.continuePropagation();\n return;\n }\n onPressEnd?.(e);\n onPressChange?.(false);\n setLabelPressed(false);\n },\n onPressUp (e) {\n if (e.pointerType === 'keyboard' || e.pointerType === 'virtual') {\n e.continuePropagation();\n return;\n }\n onPressUp?.(e);\n },\n onClick: onClick,\n onPress (e) {\n if (e.pointerType === 'keyboard' || e.pointerType === 'virtual') {\n e.continuePropagation();\n return;\n }\n onPress?.(e);\n state.toggle();\n ref.current?.focus();\n // @ts-expect-error\n let { [(0, $jQnU8$privateValidationStateProp)]: groupValidationState } = props;\n let { commitValidation: commitValidation } = groupValidationState ? groupValidationState : validationState;\n commitValidation();\n },\n isDisabled: isDisabled || isReadOnly\n });\n let { focusableProps: focusableProps } = (0, $d1116acdf220c2da$export$4c014de7c8940b4c)(props, ref);\n let interactions = (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(pressProps, focusableProps);\n let domProps = (0, $8e9d2fae0ecb9001$export$457c3d6518dd4c6f)(props, {\n labelable: true\n });\n (0, $3274bf1495747a7b$export$5add1d006293d136)(ref, state.defaultSelected, state.setSelected);\n // Copied from useField because we don't want the label behavior that provides.\n let descriptionProps = (0, $4c14b02d5228be26$export$ed2feabec4a533f4)();\n let errorMessageProps = (0, $4c14b02d5228be26$export$ed2feabec4a533f4)();\n return {\n labelProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(labelProps, {\n onClick: (e)=>e.preventDefault()\n }),\n inputProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(domProps, {\n checked: state.isSelected,\n 'aria-required': isRequired && validationBehavior === 'aria' || undefined,\n required: isRequired && validationBehavior === 'native',\n 'aria-invalid': isInvalid || props.validationState === 'invalid' || undefined,\n 'aria-errormessage': props['aria-errormessage'],\n 'aria-controls': props['aria-controls'],\n 'aria-readonly': isReadOnly || undefined,\n 'aria-describedby': [\n descriptionProps.id,\n errorMessageProps.id,\n ariaDescribedby\n ].filter(Boolean).join(' ') || undefined,\n onChange: onChange,\n disabled: isDisabled,\n ...value == null ? {} : {\n value: value\n },\n name: name,\n form: form,\n type: 'checkbox',\n ...interactions\n }),\n descriptionProps: descriptionProps,\n errorMessageProps: errorMessageProps,\n isSelected: state.isSelected,\n isPressed: isPressed || isLabelPressed,\n isDisabled: isDisabled,\n isReadOnly: isReadOnly,\n isInvalid: isInvalid || props.validationState === 'invalid',\n validationErrors: validationErrors,\n validationDetails: validationDetails\n };\n}\n\n\nexport {$876b6f32ca5a04c3$export$cbe85ee05b554577 as useToggle};\n//# sourceMappingURL=useToggle.mjs.map\n","import {useToggle as $876b6f32ca5a04c3$export$cbe85ee05b554577} from \"../toggle/useToggle.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {useEffect as $5eYZN$useEffect, useMemo as $5eYZN$useMemo} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nfunction $dde212bea465bd23$export$e375f10ce42261c5(props, state, inputRef) {\n let { labelProps: labelProps, inputProps: inputProps, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps, isSelected: isSelected, isPressed: isPressed, isDisabled: isDisabled, isReadOnly: isReadOnly, isInvalid: isInvalid, validationErrors: validationErrors, validationDetails: validationDetails } = (0, $876b6f32ca5a04c3$export$cbe85ee05b554577)(props, state, inputRef);\n let { isIndeterminate: isIndeterminate } = props;\n (0, $5eYZN$useEffect)(()=>{\n // indeterminate is a property, but it can only be set via javascript\n // https://css-tricks.com/indeterminate-checkboxes/\n if (inputRef.current) inputRef.current.indeterminate = !!isIndeterminate;\n });\n return {\n labelProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(labelProps, (0, $5eYZN$useMemo)(()=>({\n // Prevent label from being focused when mouse down on it.\n // Note, this does not prevent the input from being focused in the `click` event.\n onMouseDown: (e)=>e.preventDefault()\n }), [])),\n inputProps: inputProps,\n descriptionProps: descriptionProps,\n errorMessageProps: errorMessageProps,\n isSelected: isSelected,\n isPressed: isPressed,\n isDisabled: isDisabled,\n isReadOnly: isReadOnly,\n isInvalid: isInvalid,\n validationErrors: validationErrors,\n validationDetails: validationDetails\n };\n}\n\n\nexport {$dde212bea465bd23$export$e375f10ce42261c5 as useCheckbox};\n//# sourceMappingURL=useCheckbox.mjs.map\n","import {useControlledState as $3e6197669829fe11$export$40bfa8c7b0832715} from \"../utils/useControlledState.mjs\";\nimport {useState as $dAajM$useState} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $fd3c5e01e837dc20$export$8042c6c013fd5226(props = {}) {\n let { isReadOnly: isReadOnly } = props;\n // have to provide an empty function so useControlledState doesn't throw a fit\n // can't use useControlledState's prop calling because we need the event object from the change\n let [isSelected, setSelected] = (0, $3e6197669829fe11$export$40bfa8c7b0832715)(props.isSelected, props.defaultSelected || false, props.onChange);\n let [initialValue] = (0, $dAajM$useState)(isSelected);\n function updateSelected(value) {\n if (!isReadOnly) setSelected(value);\n }\n function toggleState() {\n if (!isReadOnly) setSelected(!isSelected);\n }\n return {\n isSelected: isSelected,\n defaultSelected: props.defaultSelected ?? initialValue,\n setSelected: updateSelected,\n toggle: toggleState\n };\n}\n\n\nexport {$fd3c5e01e837dc20$export$8042c6c013fd5226 as useToggleState};\n//# sourceMappingURL=useToggleState.mjs.map\n","import {useCheckbox as $dde212bea465bd23$export$e375f10ce42261c5} from \"./useCheckbox.mjs\";\nimport {checkboxGroupData as $0fffd24394d22962$export$ec98120685d4f57d} from \"./utils.mjs\";\nimport {useFormValidationState as $43eCz$useFormValidationState, DEFAULT_VALIDATION_RESULT as $43eCz$DEFAULT_VALIDATION_RESULT, privateValidationStateProp as $43eCz$privateValidationStateProp} from \"react-stately/private/form/useFormValidationState\";\nimport {useRef as $43eCz$useRef, useEffect as $43eCz$useEffect} from \"react\";\nimport {useToggleState as $43eCz$useToggleState} from \"react-stately/useToggleState\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\nfunction $55cfc34eef47e1ca$export$353b32fc6898d37d(props, state, inputRef) {\n const toggleState = (0, $43eCz$useToggleState)({\n isReadOnly: props.isReadOnly || state.isReadOnly,\n isSelected: state.isSelected(props.value),\n defaultSelected: state.defaultValue.includes(props.value),\n onChange (isSelected) {\n if (isSelected) state.addValue(props.value);\n else state.removeValue(props.value);\n if (props.onChange) props.onChange(isSelected);\n }\n });\n let { name: name, form: form, descriptionId: descriptionId, errorMessageId: errorMessageId, validationBehavior: validationBehavior } = (0, $0fffd24394d22962$export$ec98120685d4f57d).get(state);\n validationBehavior = props.validationBehavior ?? validationBehavior;\n // Local validation for this checkbox.\n let { realtimeValidation: realtimeValidation } = (0, $43eCz$useFormValidationState)({\n ...props,\n value: toggleState.isSelected,\n // Server validation is handled at the group level.\n name: undefined,\n validationBehavior: 'aria'\n });\n // Update the checkbox group state when realtime validation changes.\n let nativeValidation = (0, $43eCz$useRef)((0, $43eCz$DEFAULT_VALIDATION_RESULT));\n let updateValidation = ()=>{\n state.setInvalid(props.value, realtimeValidation.isInvalid ? realtimeValidation : nativeValidation.current);\n };\n (0, $43eCz$useEffect)(updateValidation);\n // Combine group and checkbox level validation.\n let combinedRealtimeValidation = state.realtimeValidation.isInvalid ? state.realtimeValidation : realtimeValidation;\n let displayValidation = validationBehavior === 'native' ? state.displayValidation : combinedRealtimeValidation;\n let res = (0, $dde212bea465bd23$export$e375f10ce42261c5)({\n ...props,\n isReadOnly: props.isReadOnly || state.isReadOnly,\n isDisabled: props.isDisabled || state.isDisabled,\n name: props.name || name,\n form: props.form || form,\n isRequired: props.isRequired ?? state.isRequired,\n validationBehavior: validationBehavior,\n [(0, $43eCz$privateValidationStateProp)]: {\n realtimeValidation: combinedRealtimeValidation,\n displayValidation: displayValidation,\n resetValidation: state.resetValidation,\n commitValidation: state.commitValidation,\n updateValidation (v) {\n nativeValidation.current = v;\n updateValidation();\n }\n }\n }, toggleState, inputRef);\n return {\n ...res,\n inputProps: {\n ...res.inputProps,\n 'aria-describedby': [\n res.inputProps['aria-describedby'],\n state.isInvalid ? errorMessageId : null,\n descriptionId\n ].filter(Boolean).join(' ') || undefined\n }\n };\n}\n\n\nexport {$55cfc34eef47e1ca$export$353b32fc6898d37d as useCheckboxGroupItem};\n//# sourceMappingURL=useCheckboxGroupItem.mjs.map\n","import {mergeValidation as $fd2148440a13ec26$export$75ee7c75d68f5b0e, useFormValidationState as $fd2148440a13ec26$export$fc1a364ae1f3ff10} from \"../form/useFormValidationState.mjs\";\nimport {useControlledState as $3e6197669829fe11$export$40bfa8c7b0832715} from \"../utils/useControlledState.mjs\";\nimport {useState as $84m2W$useState, useRef as $84m2W$useRef} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nfunction $8cd68577ce0207f7$export$daff6da51032a415(props = {}) {\n let [selectedValues, setValue] = (0, $3e6197669829fe11$export$40bfa8c7b0832715)(props.value, props.defaultValue || [], props.onChange);\n let [initialValues] = (0, $84m2W$useState)(selectedValues);\n let isRequired = !!props.isRequired && selectedValues.length === 0;\n let invalidValues = (0, $84m2W$useRef)(new Map());\n let validation = (0, $fd2148440a13ec26$export$fc1a364ae1f3ff10)({\n ...props,\n value: selectedValues\n });\n let isInvalid = validation.displayValidation.isInvalid;\n const state = {\n ...validation,\n value: selectedValues,\n defaultValue: props.defaultValue ?? initialValues,\n setValue (value) {\n if (props.isReadOnly || props.isDisabled) return;\n setValue(value);\n },\n isDisabled: props.isDisabled || false,\n isReadOnly: props.isReadOnly || false,\n isSelected (value) {\n return selectedValues.includes(value);\n },\n addValue (value) {\n if (props.isReadOnly || props.isDisabled) return;\n setValue((selectedValues)=>{\n if (!selectedValues.includes(value)) return selectedValues.concat(value);\n return selectedValues;\n });\n },\n removeValue (value) {\n if (props.isReadOnly || props.isDisabled) return;\n if (selectedValues.includes(value)) setValue(selectedValues.filter((existingValue)=>existingValue !== value));\n },\n toggleValue (value) {\n if (props.isReadOnly || props.isDisabled) return;\n if (selectedValues.includes(value)) setValue(selectedValues.filter((existingValue)=>existingValue !== value));\n else setValue(selectedValues.concat(value));\n },\n setInvalid (value, v) {\n let s = new Map(invalidValues.current);\n if (v.isInvalid) s.set(value, v);\n else s.delete(value);\n invalidValues.current = s;\n validation.updateValidation((0, $fd2148440a13ec26$export$75ee7c75d68f5b0e)(...s.values()));\n },\n validationState: props.validationState ?? (isInvalid ? 'invalid' : null),\n isInvalid: isInvalid,\n isRequired: isRequired\n };\n return state;\n}\n\n\nexport {$8cd68577ce0207f7$export$daff6da51032a415 as useCheckboxGroupState};\n//# sourceMappingURL=useCheckboxGroupState.mjs.map\n","import {dom as $7230ffa83bc0c2cf$export$df3a06d6289f983e, Provider as $7230ffa83bc0c2cf$export$2881499e37b75b9a, removeDataAttributes as $7230ffa83bc0c2cf$export$ef03459518577ad4, useContextProps as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, useRenderProps as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, useSlot as $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8, useSlottedContext as $7230ffa83bc0c2cf$export$fabf2dc03a41866e} from \"./utils.mjs\";\nimport {FieldErrorContext as $1f3c3b1a70cec653$export$ff05c3ac10437e03} from \"./FieldError.mjs\";\nimport {FormContext as $cdaed739b1139372$export$c24727297075ec6a} from \"./Form.mjs\";\nimport {LabelContext as $43a3b93638fe5db9$export$75b6ee27786ba447} from \"./Label.mjs\";\nimport {TextContext as $efe09c6d1c304b50$export$9afb8bc826b033ea} from \"./Text.mjs\";\nimport {useCheckboxGroup as $j1L6B$useCheckboxGroup, useCheckboxGroupItem as $j1L6B$useCheckboxGroupItem} from \"react-aria/useCheckboxGroup\";\nimport {useCheckbox as $j1L6B$useCheckbox} from \"react-aria/useCheckbox\";\nimport {useCheckboxGroupState as $j1L6B$useCheckboxGroupState} from \"react-stately/useCheckboxGroupState\";\nimport {filterDOMProps as $j1L6B$filterDOMProps} from \"react-aria/filterDOMProps\";\nimport {mergeProps as $j1L6B$mergeProps} from \"react-aria/mergeProps\";\nimport {mergeRefs as $j1L6B$mergeRefs} from \"react-aria/mergeRefs\";\nimport $j1L6B$react, {createContext as $j1L6B$createContext, forwardRef as $j1L6B$forwardRef, useContext as $j1L6B$useContext, useMemo as $j1L6B$useMemo} from \"react\";\nimport {useFocusRing as $j1L6B$useFocusRing} from \"react-aria/useFocusRing\";\nimport {useHover as $j1L6B$useHover} from \"react-aria/useHover\";\nimport {useObjectRef as $j1L6B$useObjectRef} from \"react-aria/useObjectRef\";\nimport {useToggleState as $j1L6B$useToggleState} from \"react-stately/useToggleState\";\nimport {VisuallyHidden as $j1L6B$VisuallyHidden} from \"react-aria/VisuallyHidden\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nconst $ed8ccb2e23e76301$export$b085522c77523c51 = /*#__PURE__*/ (0, $j1L6B$createContext)(null);\nconst $ed8ccb2e23e76301$export$c32003b803b6c22e = /*#__PURE__*/ (0, $j1L6B$createContext)(null);\nconst $ed8ccb2e23e76301$export$baf37c4be89255b8 = /*#__PURE__*/ (0, $j1L6B$createContext)(null);\nconst $ed8ccb2e23e76301$export$139c5b8563afc1fc = /*#__PURE__*/ (0, $j1L6B$createContext)(null);\nconst $ed8ccb2e23e76301$export$4aa08d5625cb8ead = /*#__PURE__*/ (0, $j1L6B$forwardRef)(function CheckboxGroup(props, ref) {\n [props, ref] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, $ed8ccb2e23e76301$export$baf37c4be89255b8);\n let { validationBehavior: formValidationBehavior } = (0, $7230ffa83bc0c2cf$export$fabf2dc03a41866e)((0, $cdaed739b1139372$export$c24727297075ec6a)) || {};\n let validationBehavior = props.validationBehavior ?? formValidationBehavior ?? 'native';\n let state = (0, $j1L6B$useCheckboxGroupState)({\n ...props,\n validationBehavior: validationBehavior\n });\n let [labelRef, label] = (0, $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8)(!props['aria-label'] && !props['aria-labelledby']);\n let { groupProps: groupProps, labelProps: labelProps, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps, ...validation } = (0, $j1L6B$useCheckboxGroup)({\n ...props,\n label: label,\n validationBehavior: validationBehavior\n }, state);\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...props,\n values: {\n isDisabled: state.isDisabled,\n isReadOnly: state.isReadOnly,\n isRequired: props.isRequired || false,\n isInvalid: state.isInvalid,\n state: state\n },\n defaultClassName: 'react-aria-CheckboxGroup'\n });\n let DOMProps = (0, $j1L6B$filterDOMProps)(props, {\n global: true\n });\n return /*#__PURE__*/ (0, $j1L6B$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div, {\n ...(0, $j1L6B$mergeProps)(DOMProps, renderProps, groupProps),\n ref: ref,\n slot: props.slot || undefined,\n \"data-readonly\": state.isReadOnly || undefined,\n \"data-required\": props.isRequired || undefined,\n \"data-invalid\": state.isInvalid || undefined,\n \"data-disabled\": props.isDisabled || undefined\n }, /*#__PURE__*/ (0, $j1L6B$react).createElement((0, $7230ffa83bc0c2cf$export$2881499e37b75b9a), {\n values: [\n [\n $ed8ccb2e23e76301$export$139c5b8563afc1fc,\n state\n ],\n [\n (0, $43a3b93638fe5db9$export$75b6ee27786ba447),\n {\n ...labelProps,\n ref: labelRef,\n elementType: 'span'\n }\n ],\n [\n (0, $efe09c6d1c304b50$export$9afb8bc826b033ea),\n {\n slots: {\n description: descriptionProps,\n errorMessage: errorMessageProps\n }\n }\n ],\n [\n (0, $1f3c3b1a70cec653$export$ff05c3ac10437e03),\n validation\n ]\n ]\n }, renderProps.children));\n});\nconst $ed8ccb2e23e76301$var$InternalCheckboxContext = /*#__PURE__*/ (0, $j1L6B$createContext)(null);\nconst $ed8ccb2e23e76301$export$94195a47b94ed396 = /*#__PURE__*/ (0, $j1L6B$forwardRef)(function Checkbox(props, ref) {\n let { inputRef: userProvidedInputRef = null, ...otherProps } = props;\n [props, ref] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(otherProps, ref, $ed8ccb2e23e76301$export$c32003b803b6c22e);\n let groupState = (0, $j1L6B$useContext)($ed8ccb2e23e76301$export$139c5b8563afc1fc);\n let [aria, inputRef] = $ed8ccb2e23e76301$var$useCheckboxAria(props, userProvidedInputRef);\n let { descriptionProps: descriptionProps, errorMessageProps: errorMessageProps, isSelected: isSelected, isDisabled: isDisabled, isReadOnly: isReadOnly, isInvalid: isInvalid, validationDetails: validationDetails, validationErrors: validationErrors } = aria;\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...props,\n defaultClassName: 'react-aria-CheckboxField',\n values: {\n isSelected: isSelected,\n isIndeterminate: props.isIndeterminate || false,\n isDisabled: isDisabled,\n isReadOnly: isReadOnly,\n isInvalid: isInvalid,\n isRequired: props.isRequired || false\n }\n });\n let DOMProps = (0, $j1L6B$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.id;\n delete DOMProps.onClick;\n return /*#__PURE__*/ (0, $j1L6B$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div, {\n ...(0, $j1L6B$mergeProps)(DOMProps, renderProps),\n ref: ref,\n slot: props.slot || undefined,\n \"data-selected\": isSelected || undefined,\n \"data-indeterminate\": props.isIndeterminate || undefined,\n \"data-disabled\": isDisabled || undefined,\n \"data-readonly\": isReadOnly || undefined,\n \"data-invalid\": isInvalid || undefined,\n \"data-required\": props.isRequired || undefined\n }, /*#__PURE__*/ (0, $j1L6B$react).createElement((0, $7230ffa83bc0c2cf$export$2881499e37b75b9a), {\n values: [\n [\n $ed8ccb2e23e76301$var$InternalCheckboxContext,\n {\n ...aria,\n inputRef: inputRef,\n defaultClassName: 'react-aria-CheckboxButton',\n isIndeterminate: props.isIndeterminate,\n isRequired: props.isRequired\n }\n ],\n [\n (0, $efe09c6d1c304b50$export$9afb8bc826b033ea),\n {\n slots: {\n description: descriptionProps,\n errorMessage: errorMessageProps\n }\n }\n ],\n // In a CheckboxGroup, validation is handled at the group level instead of repeated on each checkbox.\n [\n (0, $1f3c3b1a70cec653$export$ff05c3ac10437e03),\n groupState ? null : {\n isInvalid: isInvalid,\n validationDetails: validationDetails,\n validationErrors: validationErrors\n }\n ]\n ]\n }, renderProps.children));\n});\nfunction $ed8ccb2e23e76301$var$useCheckboxAria(props, userProvidedInputRef) {\n let { validationBehavior: formValidationBehavior } = (0, $7230ffa83bc0c2cf$export$fabf2dc03a41866e)((0, $cdaed739b1139372$export$c24727297075ec6a)) || {};\n let validationBehavior = props.validationBehavior ?? formValidationBehavior ?? 'native';\n let groupState = (0, $j1L6B$useContext)($ed8ccb2e23e76301$export$139c5b8563afc1fc);\n let inputRef = (0, $j1L6B$useObjectRef)((0, $j1L6B$useMemo)(()=>(0, $j1L6B$mergeRefs)(userProvidedInputRef, props.inputRef !== undefined ? props.inputRef : null), [\n userProvidedInputRef,\n props.inputRef\n ]));\n let checkboxProps = {\n ...(0, $7230ffa83bc0c2cf$export$ef03459518577ad4)(props),\n children: typeof props.children === 'function' ? true : props.children,\n value: props.value,\n validationBehavior: validationBehavior\n };\n let aria = groupState ? (0, $j1L6B$useCheckboxGroupItem)(checkboxProps, groupState, inputRef) : (0, $j1L6B$useCheckbox)(checkboxProps, (0, $j1L6B$useToggleState)(props), inputRef);\n return [\n aria,\n inputRef\n ];\n}\nconst $ed8ccb2e23e76301$export$48513f6b9f8ce62d = /*#__PURE__*/ (0, $j1L6B$forwardRef)(function Checkbox(props, ref) {\n let { inputRef: userProvidedInputRef = null, ...otherProps } = props;\n [props, ref] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(otherProps, ref, $ed8ccb2e23e76301$export$b085522c77523c51);\n let [aria, inputRef] = $ed8ccb2e23e76301$var$useCheckboxAria(props, userProvidedInputRef);\n return /*#__PURE__*/ (0, $j1L6B$react).createElement($ed8ccb2e23e76301$var$InternalCheckboxContext.Provider, {\n value: {\n ...aria,\n inputRef: inputRef,\n defaultClassName: 'react-aria-Checkbox',\n isIndeterminate: props.isIndeterminate,\n isRequired: props.isRequired\n }\n }, /*#__PURE__*/ (0, $j1L6B$react).createElement($ed8ccb2e23e76301$export$6e7a18c0548f3129, {\n ...props,\n ref: ref\n }));\n});\nconst $ed8ccb2e23e76301$export$6e7a18c0548f3129 = /*#__PURE__*/ (0, $j1L6B$forwardRef)(function CheckboxButton(props, ref) {\n let { labelProps: labelProps, inputProps: inputProps, isSelected: isSelected, isDisabled: isDisabled, isReadOnly: isReadOnly, isPressed: isPressed, isInvalid: isInvalid, inputRef: inputRef, defaultClassName: defaultClassName, isIndeterminate: isIndeterminate, isRequired: isRequired } = (0, $j1L6B$useContext)($ed8ccb2e23e76301$var$InternalCheckboxContext);\n let { isFocused: isFocused, isFocusVisible: isFocusVisible, focusProps: focusProps } = (0, $j1L6B$useFocusRing)();\n let isInteractionDisabled = isDisabled || isReadOnly;\n let { hoverProps: hoverProps, isHovered: isHovered } = (0, $j1L6B$useHover)({\n ...props,\n isDisabled: isInteractionDisabled\n });\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...props,\n defaultClassName: defaultClassName,\n values: {\n isSelected: isSelected,\n isIndeterminate: isIndeterminate || false,\n isPressed: isPressed,\n isHovered: isHovered,\n isFocused: isFocused,\n isFocusVisible: isFocusVisible,\n isDisabled: isDisabled,\n isReadOnly: isReadOnly,\n isInvalid: isInvalid,\n isRequired: isRequired || false\n }\n });\n let DOMProps = (0, $j1L6B$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.id;\n delete DOMProps.onClick;\n return /*#__PURE__*/ (0, $j1L6B$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).label, {\n ...(0, $j1L6B$mergeProps)(DOMProps, labelProps, hoverProps, renderProps),\n ref: ref,\n slot: props.slot || undefined,\n \"data-selected\": isSelected || undefined,\n \"data-indeterminate\": isIndeterminate || undefined,\n \"data-pressed\": isPressed || undefined,\n \"data-hovered\": isHovered || undefined,\n \"data-focused\": isFocused || undefined,\n \"data-focus-visible\": isFocusVisible || undefined,\n \"data-disabled\": isDisabled || undefined,\n \"data-readonly\": isReadOnly || undefined,\n \"data-invalid\": isInvalid || undefined,\n \"data-required\": isRequired || undefined\n }, /*#__PURE__*/ (0, $j1L6B$react).createElement((0, $j1L6B$VisuallyHidden), {\n elementType: \"span\"\n }, /*#__PURE__*/ (0, $j1L6B$react).createElement(\"input\", {\n ...(0, $j1L6B$mergeProps)(inputProps, focusProps),\n ref: inputRef\n })), renderProps.children);\n});\n\n\nexport {$ed8ccb2e23e76301$export$b085522c77523c51 as CheckboxContext, $ed8ccb2e23e76301$export$c32003b803b6c22e as CheckboxFieldContext, $ed8ccb2e23e76301$export$baf37c4be89255b8 as CheckboxGroupContext, $ed8ccb2e23e76301$export$139c5b8563afc1fc as CheckboxGroupStateContext, $ed8ccb2e23e76301$export$4aa08d5625cb8ead as CheckboxGroup, $ed8ccb2e23e76301$export$94195a47b94ed396 as CheckboxField, $ed8ccb2e23e76301$export$48513f6b9f8ce62d as Checkbox, $ed8ccb2e23e76301$export$6e7a18c0548f3129 as CheckboxButton};\n//# sourceMappingURL=Checkbox.mjs.map\n","import {disableTextSelection as $cbf007e418543821$export$16a4697467175487, restoreTextSelection as $cbf007e418543821$export$b0d6fa1ab32e3295} from \"./textSelection.mjs\";\nimport {getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {getOwnerWindow as $d447af545b77c9f1$export$f21a1ffae260145a} from \"../utils/domHelpers.mjs\";\nimport {useEffectEvent as $fe16bffc7a557bf0$export$7f54fc3180508a52} from \"../utils/useEffectEvent.mjs\";\nimport {useGlobalListeners as $48a7d519b337145d$export$4eaf04e54aa8eed6} from \"../utils/useGlobalListeners.mjs\";\nimport {useRef as $29Bzt$useRef, useCallback as $29Bzt$useCallback, useMemo as $29Bzt$useMemo} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\nfunction $1dfdc54e7eb53ba0$export$36da96379f79f245(props) {\n let { onMoveStart: onMoveStart, onMove: onMove, onMoveEnd: onMoveEnd } = props;\n let state = (0, $29Bzt$useRef)({\n didMove: false,\n lastPosition: null,\n id: null\n });\n let { addGlobalListener: addGlobalListener, removeGlobalListener: removeGlobalListener } = (0, $48a7d519b337145d$export$4eaf04e54aa8eed6)();\n let move = (0, $29Bzt$useCallback)((originalEvent, pointerType, deltaX, deltaY)=>{\n if (deltaX === 0 && deltaY === 0) return;\n if (!state.current.didMove) {\n state.current.didMove = true;\n onMoveStart?.({\n type: 'movestart',\n pointerType: pointerType,\n shiftKey: originalEvent.shiftKey,\n metaKey: originalEvent.metaKey,\n ctrlKey: originalEvent.ctrlKey,\n altKey: originalEvent.altKey\n });\n }\n onMove?.({\n type: 'move',\n pointerType: pointerType,\n deltaX: deltaX,\n deltaY: deltaY,\n shiftKey: originalEvent.shiftKey,\n metaKey: originalEvent.metaKey,\n ctrlKey: originalEvent.ctrlKey,\n altKey: originalEvent.altKey\n });\n }, [\n onMoveStart,\n onMove,\n state\n ]);\n let moveEvent = (0, $fe16bffc7a557bf0$export$7f54fc3180508a52)(move);\n let end = (0, $29Bzt$useCallback)((originalEvent, pointerType)=>{\n (0, $cbf007e418543821$export$b0d6fa1ab32e3295)();\n if (state.current.didMove) onMoveEnd?.({\n type: 'moveend',\n pointerType: pointerType,\n shiftKey: originalEvent.shiftKey,\n metaKey: originalEvent.metaKey,\n ctrlKey: originalEvent.ctrlKey,\n altKey: originalEvent.altKey\n });\n }, [\n onMoveEnd,\n state\n ]);\n let endEvent = (0, $fe16bffc7a557bf0$export$7f54fc3180508a52)(end);\n let moveProps = (0, $29Bzt$useMemo)(()=>{\n let moveProps = {};\n let start = ()=>{\n (0, $cbf007e418543821$export$16a4697467175487)();\n state.current.didMove = false;\n };\n if (typeof PointerEvent === 'undefined' && process.env.NODE_ENV === 'test') {\n let onMouseMove = (e)=>{\n if (e.button === 0) {\n // Should be safe to use the useEffectEvent because these are equivalent https://github.com/reactjs/react.dev/issues/8075#issuecomment-3400179389\n // However, the compiler is not smart enough to know that. As such, this whole file must be manually optimised as the compiler will bail.\n //\n // eslint-disable-next-line react-hooks/rules-of-hooks\n moveEvent(e, 'mouse', e.pageX - (state.current.lastPosition?.pageX ?? 0), e.pageY - (state.current.lastPosition?.pageY ?? 0));\n state.current.lastPosition = {\n pageX: e.pageX,\n pageY: e.pageY\n };\n }\n };\n let onMouseUp = (e)=>{\n if (e.button === 0) {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n endEvent(e, 'mouse');\n let ownerWindow = (0, $d447af545b77c9f1$export$f21a1ffae260145a)((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e));\n removeGlobalListener(ownerWindow, 'mousemove', onMouseMove, false);\n removeGlobalListener(ownerWindow, 'mouseup', onMouseUp, false);\n }\n };\n moveProps.onMouseDown = (e)=>{\n if (e.button === 0) {\n start();\n e.stopPropagation();\n e.preventDefault();\n state.current.lastPosition = {\n pageX: e.pageX,\n pageY: e.pageY\n };\n let ownerWindow = (0, $d447af545b77c9f1$export$f21a1ffae260145a)((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e));\n addGlobalListener(ownerWindow, 'mousemove', onMouseMove, false);\n addGlobalListener(ownerWindow, 'mouseup', onMouseUp, false);\n }\n };\n let onTouchMove = (e)=>{\n let touch = [\n ...e.changedTouches\n ].findIndex(({ identifier: identifier })=>identifier === state.current.id);\n if (touch >= 0) {\n let { pageX: pageX, pageY: pageY } = e.changedTouches[touch];\n // eslint-disable-next-line react-hooks/rules-of-hooks\n moveEvent(e, 'touch', pageX - (state.current.lastPosition?.pageX ?? 0), pageY - (state.current.lastPosition?.pageY ?? 0));\n state.current.lastPosition = {\n pageX: pageX,\n pageY: pageY\n };\n }\n };\n let onTouchEnd = (e)=>{\n let touch = [\n ...e.changedTouches\n ].findIndex(({ identifier: identifier })=>identifier === state.current.id);\n if (touch >= 0) {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n endEvent(e, 'touch');\n state.current.id = null;\n let ownerWindow = (0, $d447af545b77c9f1$export$f21a1ffae260145a)((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e));\n removeGlobalListener(ownerWindow, 'touchmove', onTouchMove);\n removeGlobalListener(ownerWindow, 'touchend', onTouchEnd);\n removeGlobalListener(ownerWindow, 'touchcancel', onTouchEnd);\n }\n };\n moveProps.onTouchStart = (e)=>{\n if (e.changedTouches.length === 0 || state.current.id != null) return;\n let { pageX: pageX, pageY: pageY, identifier: identifier } = e.changedTouches[0];\n start();\n e.stopPropagation();\n e.preventDefault();\n state.current.lastPosition = {\n pageX: pageX,\n pageY: pageY\n };\n state.current.id = identifier;\n let ownerWindow = (0, $d447af545b77c9f1$export$f21a1ffae260145a)((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e));\n addGlobalListener(ownerWindow, 'touchmove', onTouchMove, false);\n addGlobalListener(ownerWindow, 'touchend', onTouchEnd, false);\n addGlobalListener(ownerWindow, 'touchcancel', onTouchEnd, false);\n };\n } else {\n let onPointerMove = (e)=>{\n if (e.pointerId === state.current.id) {\n let pointerType = e.pointerType || 'mouse';\n // Problems with PointerEvent#movementX/movementY:\n // 1. it is always 0 on macOS Safari.\n // 2. On Chrome Android, it's scaled by devicePixelRatio, but not on Chrome macOS\n // eslint-disable-next-line react-hooks/rules-of-hooks\n moveEvent(e, pointerType, e.pageX - (state.current.lastPosition?.pageX ?? 0), e.pageY - (state.current.lastPosition?.pageY ?? 0));\n state.current.lastPosition = {\n pageX: e.pageX,\n pageY: e.pageY\n };\n }\n };\n let onPointerUp = (e)=>{\n if (e.pointerId === state.current.id) {\n let pointerType = e.pointerType || 'mouse';\n // eslint-disable-next-line react-hooks/rules-of-hooks\n endEvent(e, pointerType);\n state.current.id = null;\n let ownerWindow = (0, $d447af545b77c9f1$export$f21a1ffae260145a)((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e));\n removeGlobalListener(ownerWindow, 'pointermove', onPointerMove, false);\n removeGlobalListener(ownerWindow, 'pointerup', onPointerUp, false);\n removeGlobalListener(ownerWindow, 'pointercancel', onPointerUp, false);\n }\n };\n moveProps.onPointerDown = (e)=>{\n if (e.button === 0 && state.current.id == null) {\n start();\n e.stopPropagation();\n e.preventDefault();\n state.current.lastPosition = {\n pageX: e.pageX,\n pageY: e.pageY\n };\n state.current.id = e.pointerId;\n let ownerWindow = (0, $d447af545b77c9f1$export$f21a1ffae260145a)((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e));\n addGlobalListener(ownerWindow, 'pointermove', onPointerMove, false);\n addGlobalListener(ownerWindow, 'pointerup', onPointerUp, false);\n addGlobalListener(ownerWindow, 'pointercancel', onPointerUp, false);\n }\n };\n }\n let triggerKeyboardMove = (e, deltaX, deltaY)=>{\n start();\n // eslint-disable-next-line react-hooks/rules-of-hooks\n moveEvent(e, 'keyboard', deltaX, deltaY);\n // eslint-disable-next-line react-hooks/rules-of-hooks\n endEvent(e, 'keyboard');\n };\n moveProps.onKeyDown = (e)=>{\n switch(e.key){\n case 'Left':\n case 'ArrowLeft':\n e.preventDefault();\n e.stopPropagation();\n triggerKeyboardMove(e, -1, 0);\n break;\n case 'Right':\n case 'ArrowRight':\n e.preventDefault();\n e.stopPropagation();\n triggerKeyboardMove(e, 1, 0);\n break;\n case 'Up':\n case 'ArrowUp':\n e.preventDefault();\n e.stopPropagation();\n triggerKeyboardMove(e, 0, -1);\n break;\n case 'Down':\n case 'ArrowDown':\n e.preventDefault();\n e.stopPropagation();\n triggerKeyboardMove(e, 0, 1);\n break;\n }\n };\n return moveProps;\n }, [\n addGlobalListener,\n removeGlobalListener,\n state\n ]);\n return {\n moveProps: moveProps\n };\n}\n\n\nexport {$1dfdc54e7eb53ba0$export$36da96379f79f245 as useMove};\n//# sourceMappingURL=useMove.mjs.map\n","import {dom as $7230ffa83bc0c2cf$export$df3a06d6289f983e, useContextProps as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, useRenderProps as $7230ffa83bc0c2cf$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport {useHover as $1mD4M$useHover} from \"react-aria/useHover\";\nimport {mergeProps as $1mD4M$mergeProps} from \"react-aria/mergeProps\";\nimport $1mD4M$react, {createContext as $1mD4M$createContext, forwardRef as $1mD4M$forwardRef} from \"react\";\nimport {useFocusRing as $1mD4M$useFocusRing} from \"react-aria/useFocusRing\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\nconst $3a442827418ebe87$export$f9c6924e160136d1 = /*#__PURE__*/ (0, $1mD4M$createContext)({});\nconst $3a442827418ebe87$export$eb2fcfdbd7ba97d4 = /*#__PURE__*/ (0, $1mD4M$forwardRef)(function Group(props, ref) {\n [props, ref] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, $3a442827418ebe87$export$f9c6924e160136d1);\n let { isDisabled: isDisabled, isInvalid: isInvalid, isReadOnly: isReadOnly, onHoverStart: onHoverStart, onHoverChange: onHoverChange, onHoverEnd: onHoverEnd, ...otherProps } = props;\n isDisabled ??= !!props['aria-disabled'] && props['aria-disabled'] !== 'false';\n isInvalid ??= !!props['aria-invalid'] && props['aria-invalid'] !== 'false';\n let { hoverProps: hoverProps, isHovered: isHovered } = (0, $1mD4M$useHover)({\n onHoverStart: onHoverStart,\n onHoverChange: onHoverChange,\n onHoverEnd: onHoverEnd,\n isDisabled: isDisabled\n });\n let { isFocused: isFocused, isFocusVisible: isFocusVisible, focusProps: focusProps } = (0, $1mD4M$useFocusRing)({\n within: true\n });\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...props,\n values: {\n isHovered: isHovered,\n isFocusWithin: isFocused,\n isFocusVisible: isFocusVisible,\n isDisabled: isDisabled,\n isInvalid: isInvalid\n },\n defaultClassName: 'react-aria-Group'\n });\n return /*#__PURE__*/ (0, $1mD4M$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div, {\n ...(0, $1mD4M$mergeProps)(otherProps, focusProps, hoverProps),\n ...renderProps,\n ref: ref,\n role: props.role ?? 'group',\n slot: props.slot ?? undefined,\n \"data-focus-within\": isFocused || undefined,\n \"data-hovered\": isHovered || undefined,\n \"data-focus-visible\": isFocusVisible || undefined,\n \"data-disabled\": isDisabled || undefined,\n \"data-invalid\": isInvalid || undefined,\n \"data-readonly\": isReadOnly || undefined\n }, renderProps.children);\n});\n\n\nexport {$3a442827418ebe87$export$f9c6924e160136d1 as GroupContext, $3a442827418ebe87$export$eb2fcfdbd7ba97d4 as Group};\n//# sourceMappingURL=Group.mjs.map\n","import {dom as $7230ffa83bc0c2cf$export$df3a06d6289f983e, useContextProps as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, useRenderProps as $7230ffa83bc0c2cf$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport {createHideableComponent as $1aA6s$createHideableComponent} from \"react-aria/private/collections/Hidden\";\nimport {mergeProps as $1aA6s$mergeProps} from \"react-aria/mergeProps\";\nimport $1aA6s$react, {createContext as $1aA6s$createContext} from \"react\";\nimport {useFocusRing as $1aA6s$useFocusRing} from \"react-aria/useFocusRing\";\nimport {useHover as $1aA6s$useHover} from \"react-aria/useHover\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\nconst $41fb335299a4a39e$export$37fb8590cf2c088c = /*#__PURE__*/ (0, $1aA6s$createContext)({});\nlet $41fb335299a4a39e$var$filterHoverProps = (props)=>{\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n let { onHoverStart: onHoverStart, onHoverChange: onHoverChange, onHoverEnd: onHoverEnd, ...otherProps } = props;\n return otherProps;\n};\nconst $41fb335299a4a39e$export$f5b8910cec6cf069 = /*#__PURE__*/ (0, $1aA6s$createHideableComponent)(function Input(props, ref) {\n [props, ref] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, $41fb335299a4a39e$export$37fb8590cf2c088c);\n let { hoverProps: hoverProps, isHovered: isHovered } = (0, $1aA6s$useHover)({\n ...props,\n isDisabled: props.disabled\n });\n let { isFocused: isFocused, isFocusVisible: isFocusVisible, focusProps: focusProps } = (0, $1aA6s$useFocusRing)({\n isTextInput: true,\n autoFocus: props.autoFocus\n });\n let isInvalid = !!props['aria-invalid'] && props['aria-invalid'] !== 'false';\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...props,\n values: {\n isHovered: isHovered,\n isFocused: isFocused,\n isFocusVisible: isFocusVisible,\n isDisabled: props.disabled || false,\n isInvalid: isInvalid\n },\n defaultClassName: 'react-aria-Input'\n });\n return /*#__PURE__*/ (0, $1aA6s$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).input, {\n ...(0, $1aA6s$mergeProps)($41fb335299a4a39e$var$filterHoverProps(props), focusProps, hoverProps),\n ...renderProps,\n ref: ref,\n \"data-focused\": isFocused || undefined,\n \"data-disabled\": props.disabled || undefined,\n \"data-hovered\": isHovered || undefined,\n \"data-focus-visible\": isFocusVisible || undefined,\n \"data-invalid\": isInvalid || undefined\n });\n});\n\n\nexport {$41fb335299a4a39e$export$37fb8590cf2c088c as InputContext, $41fb335299a4a39e$export$f5b8910cec6cf069 as Input};\n//# sourceMappingURL=Input.mjs.map\n","import {filterDOMProps as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f} from \"../utils/filterDOMProps.mjs\";\nimport {getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {useField as $191c9b6d48a0a4e2$export$294aa081a6c6f55d} from \"../label/useField.mjs\";\nimport {useFocusable as $d1116acdf220c2da$export$4c014de7c8940b4c} from \"../interactions/useFocusable.mjs\";\nimport {useFormReset as $3274bf1495747a7b$export$5add1d006293d136} from \"../utils/useFormReset.mjs\";\nimport {useFormValidation as $860f7da480e22816$export$b8473d3665f3a75a} from \"../form/useFormValidation.mjs\";\nimport $70eGi$react, {useState as $70eGi$useState} from \"react\";\nimport {useControlledState as $70eGi$useControlledState} from \"react-stately/useControlledState\";\nimport {useFormValidationState as $70eGi$useFormValidationState} from \"react-stately/private/form/useFormValidationState\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\nfunction $054f71d2330da2e3$export$712718f7aec83d5(props, ref) {\n let { inputElementType: inputElementType = 'input', isDisabled: isDisabled = false, isRequired: isRequired = false, isReadOnly: isReadOnly = false, type: type = 'text', validationBehavior: validationBehavior = 'aria' } = props;\n let [value, setValue] = (0, $70eGi$useControlledState)(props.value, props.defaultValue || '', props.onChange);\n let { focusableProps: focusableProps } = (0, $d1116acdf220c2da$export$4c014de7c8940b4c)(props, ref);\n let validationState = (0, $70eGi$useFormValidationState)({\n ...props,\n value: value\n });\n let { isInvalid: isInvalid, validationErrors: validationErrors, validationDetails: validationDetails } = validationState.displayValidation;\n let { labelProps: labelProps, fieldProps: fieldProps, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps } = (0, $191c9b6d48a0a4e2$export$294aa081a6c6f55d)({\n ...props,\n isInvalid: isInvalid,\n errorMessage: props.errorMessage || validationErrors\n });\n let domProps = (0, $8e9d2fae0ecb9001$export$457c3d6518dd4c6f)(props, {\n labelable: true\n });\n const inputOnlyProps = {\n type: type,\n pattern: props.pattern\n };\n let [initialValue] = (0, $70eGi$useState)(value);\n (0, $3274bf1495747a7b$export$5add1d006293d136)(ref, props.defaultValue ?? initialValue, setValue);\n (0, $860f7da480e22816$export$b8473d3665f3a75a)(props, validationState, ref);\n return {\n labelProps: labelProps,\n inputProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(domProps, inputElementType === 'input' ? inputOnlyProps : undefined, {\n disabled: isDisabled,\n readOnly: isReadOnly,\n required: isRequired && validationBehavior === 'native',\n 'aria-required': isRequired && validationBehavior === 'aria' || undefined,\n 'aria-invalid': isInvalid || undefined,\n 'aria-errormessage': props['aria-errormessage'],\n 'aria-activedescendant': props['aria-activedescendant'],\n 'aria-autocomplete': props['aria-autocomplete'],\n 'aria-haspopup': props['aria-haspopup'],\n 'aria-controls': props['aria-controls'],\n value: value,\n onChange: (e)=>setValue((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e).value),\n autoComplete: props.autoComplete,\n autoCapitalize: props.autoCapitalize,\n maxLength: props.maxLength,\n minLength: props.minLength,\n name: props.name,\n form: props.form,\n placeholder: props.placeholder,\n inputMode: props.inputMode,\n autoCorrect: props.autoCorrect,\n spellCheck: props.spellCheck,\n [parseInt((0, $70eGi$react).version, 10) >= 17 ? 'enterKeyHint' : 'enterkeyhint']: props.enterKeyHint,\n // Clipboard events\n onCopy: props.onCopy,\n onCut: props.onCut,\n onPaste: props.onPaste,\n // Composition events\n onCompositionEnd: props.onCompositionEnd,\n onCompositionStart: props.onCompositionStart,\n onCompositionUpdate: props.onCompositionUpdate,\n // Selection events\n onSelect: props.onSelect,\n // Input events\n onBeforeInput: props.onBeforeInput,\n onInput: props.onInput,\n ...focusableProps,\n ...fieldProps\n }),\n descriptionProps: descriptionProps,\n errorMessageProps: errorMessageProps,\n isInvalid: isInvalid,\n validationErrors: validationErrors,\n validationDetails: validationDetails\n };\n}\n\n\nexport {$054f71d2330da2e3$export$712718f7aec83d5 as useTextField};\n//# sourceMappingURL=useTextField.mjs.map\n","var $8700ca6f74b7a3bb$exports = {};\n$8700ca6f74b7a3bb$exports = {\n \"colorSwatchPicker\": `\\u{62A}\\u{63A}\\u{64A}\\u{64A}\\u{631}\\u{627}\\u{62A} \\u{627}\\u{644}\\u{623}\\u{644}\\u{648}\\u{627}\\u{646}`,\n \"dropzoneLabel\": `DropZone`,\n \"selectPlaceholder\": `\\u{62D}\\u{62F}\\u{62F} \\u{639}\\u{646}\\u{635}\\u{631}\\u{64B}\\u{627}`,\n \"tableResizer\": `\\u{623}\\u{62F}\\u{627}\\u{629} \\u{62A}\\u{63A}\\u{64A}\\u{64A}\\u{631} \\u{627}\\u{644}\\u{62D}\\u{62C}\\u{645}`\n};\n\n\nexport {$8700ca6f74b7a3bb$exports as default};\n//# sourceMappingURL=ar-AE.mjs.map\n","var $0c7dfa0e49fba847$exports = {};\n$0c7dfa0e49fba847$exports = {\n \"colorSwatchPicker\": `\\u{426}\\u{432}\\u{435}\\u{442}\\u{43E}\\u{432}\\u{438} \\u{43C}\\u{43E}\\u{441}\\u{442}\\u{440}\\u{438}`,\n \"dropzoneLabel\": `DropZone`,\n \"selectPlaceholder\": `\\u{418}\\u{437}\\u{431}\\u{435}\\u{440}\\u{435}\\u{442}\\u{435} \\u{43F}\\u{440}\\u{435}\\u{434}\\u{43C}\\u{435}\\u{442}`,\n \"tableResizer\": `\\u{41F}\\u{440}\\u{435}\\u{43E}\\u{440}\\u{430}\\u{437}\\u{43C}\\u{435}\\u{440}\\u{438}\\u{442}\\u{435}\\u{43B}`\n};\n\n\nexport {$0c7dfa0e49fba847$exports as default};\n//# sourceMappingURL=bg-BG.mjs.map\n","var $0c58c085e8473442$exports = {};\n$0c58c085e8473442$exports = {\n \"colorSwatchPicker\": `Vzorky barev`,\n \"dropzoneLabel\": `M\\xedsto pro p\\u{159}eta\\u{17E}en\\xed`,\n \"selectPlaceholder\": `Vyberte polo\\u{17E}ku`,\n \"tableResizer\": `Zm\\u{11B}na velikosti`\n};\n\n\nexport {$0c58c085e8473442$exports as default};\n//# sourceMappingURL=cs-CZ.mjs.map\n","var $6b7d29a94eebcc3f$exports = {};\n$6b7d29a94eebcc3f$exports = {\n \"colorSwatchPicker\": `Farvepr\\xf8ver`,\n \"dropzoneLabel\": `DropZone`,\n \"selectPlaceholder\": `V\\xe6lg et element`,\n \"tableResizer\": `St\\xf8rrelses\\xe6ndring`\n};\n\n\nexport {$6b7d29a94eebcc3f$exports as default};\n//# sourceMappingURL=da-DK.mjs.map\n","var $74fbc8121aba83f1$exports = {};\n$74fbc8121aba83f1$exports = {\n \"colorSwatchPicker\": `Farbfelder`,\n \"dropzoneLabel\": `Ablegebereich`,\n \"selectPlaceholder\": `Element w\\xe4hlen`,\n \"tableResizer\": `Gr\\xf6\\xdfenanpassung`\n};\n\n\nexport {$74fbc8121aba83f1$exports as default};\n//# sourceMappingURL=de-DE.mjs.map\n","var $87d5d863f4752089$exports = {};\n$87d5d863f4752089$exports = {\n \"colorSwatchPicker\": `\\u{3A7}\\u{3C1}\\u{3C9}\\u{3BC}\\u{3B1}\\u{3C4}\\u{3B9}\\u{3BA}\\u{3AC} \\u{3B4}\\u{3B5}\\u{3AF}\\u{3B3}\\u{3BC}\\u{3B1}\\u{3C4}\\u{3B1}`,\n \"dropzoneLabel\": `DropZone`,\n \"selectPlaceholder\": `\\u{395}\\u{3C0}\\u{3B9}\\u{3BB}\\u{3AD}\\u{3BE}\\u{3C4}\\u{3B5} \\u{3AD}\\u{3BD}\\u{3B1} \\u{3B1}\\u{3BD}\\u{3C4}\\u{3B9}\\u{3BA}\\u{3B5}\\u{3AF}\\u{3BC}\\u{3B5}\\u{3BD}\\u{3BF}`,\n \"tableResizer\": `\\u{391}\\u{3BB}\\u{3BB}\\u{3B1}\\u{3B3}\\u{3AE} \\u{3BC}\\u{3B5}\\u{3B3}\\u{3AD}\\u{3B8}\\u{3BF}\\u{3C5}\\u{3C2}`\n};\n\n\nexport {$87d5d863f4752089$exports as default};\n//# sourceMappingURL=el-GR.mjs.map\n","var $8977cb565542571b$exports = {};\n$8977cb565542571b$exports = {\n \"selectPlaceholder\": `Select an item`,\n \"tableResizer\": `Resizer`,\n \"dropzoneLabel\": `DropZone`,\n \"colorSwatchPicker\": `Color swatches`\n};\n\n\nexport {$8977cb565542571b$exports as default};\n//# sourceMappingURL=en-US.mjs.map\n","var $83d09a059cc4fa14$exports = {};\n$83d09a059cc4fa14$exports = {\n \"colorSwatchPicker\": `Muestras de colores`,\n \"dropzoneLabel\": `DropZone`,\n \"selectPlaceholder\": `Seleccionar un art\\xedculo`,\n \"tableResizer\": `Cambiador de tama\\xf1o`\n};\n\n\nexport {$83d09a059cc4fa14$exports as default};\n//# sourceMappingURL=es-ES.mjs.map\n","var $21e1d1ca29e01129$exports = {};\n$21e1d1ca29e01129$exports = {\n \"colorSwatchPicker\": `V\\xe4rvin\\xe4idised`,\n \"dropzoneLabel\": `DropZone`,\n \"selectPlaceholder\": `Valige \\xfcksus`,\n \"tableResizer\": `Suuruse muutja`\n};\n\n\nexport {$21e1d1ca29e01129$exports as default};\n//# sourceMappingURL=et-EE.mjs.map\n","var $c3b6531c27488f67$exports = {};\n$c3b6531c27488f67$exports = {\n \"colorSwatchPicker\": `V\\xe4rimallit`,\n \"dropzoneLabel\": `DropZone`,\n \"selectPlaceholder\": `Valitse kohde`,\n \"tableResizer\": `Koon muuttaja`\n};\n\n\nexport {$c3b6531c27488f67$exports as default};\n//# sourceMappingURL=fi-FI.mjs.map\n","var $83a095cffcc42806$exports = {};\n$83a095cffcc42806$exports = {\n \"colorSwatchPicker\": `\\xc9chantillons de couleurs`,\n \"dropzoneLabel\": `DropZone`,\n \"selectPlaceholder\": `S\\xe9lectionner un \\xe9l\\xe9ment`,\n \"tableResizer\": `Redimensionneur`\n};\n\n\nexport {$83a095cffcc42806$exports as default};\n//# sourceMappingURL=fr-FR.mjs.map\n","var $1af82e4746ec171d$exports = {};\n$1af82e4746ec171d$exports = {\n \"colorSwatchPicker\": `\\u{5D3}\\u{5D5}\\u{5D2}\\u{5DE}\\u{5D9}\\u{5D5}\\u{5EA} \\u{5E6}\\u{5D1}\\u{5E2}`,\n \"dropzoneLabel\": `DropZone`,\n \"selectPlaceholder\": `\\u{5D1}\\u{5D7}\\u{5E8} \\u{5E4}\\u{5E8}\\u{5D9}\\u{5D8}`,\n \"tableResizer\": `\\u{5E9}\\u{5D9}\\u{5E0}\\u{5D5}\\u{5D9} \\u{5D2}\\u{5D5}\\u{5D3}\\u{5DC}`\n};\n\n\nexport {$1af82e4746ec171d$exports as default};\n//# sourceMappingURL=he-IL.mjs.map\n","var $632db85e92394c25$exports = {};\n$632db85e92394c25$exports = {\n \"colorSwatchPicker\": `Uzorci boja`,\n \"dropzoneLabel\": `Zona spu\\u{161}tanja`,\n \"selectPlaceholder\": `Odaberite stavku`,\n \"tableResizer\": `Promjena veli\\u{10D}ine`\n};\n\n\nexport {$632db85e92394c25$exports as default};\n//# sourceMappingURL=hr-HR.mjs.map\n","var $a60efb3893829878$exports = {};\n$a60efb3893829878$exports = {\n \"colorSwatchPicker\": `Sz\\xednt\\xe1rak`,\n \"dropzoneLabel\": `DropZone`,\n \"selectPlaceholder\": `V\\xe1lasszon ki egy elemet`,\n \"tableResizer\": `\\xc1tm\\xe9retez\\u{151}`\n};\n\n\nexport {$a60efb3893829878$exports as default};\n//# sourceMappingURL=hu-HU.mjs.map\n","var $2a9c939f662747b6$exports = {};\n$2a9c939f662747b6$exports = {\n \"colorSwatchPicker\": `Campioni di colore`,\n \"dropzoneLabel\": `Zona di rilascio`,\n \"selectPlaceholder\": `Seleziona un elemento`,\n \"tableResizer\": `Ridimensionamento`\n};\n\n\nexport {$2a9c939f662747b6$exports as default};\n//# sourceMappingURL=it-IT.mjs.map\n","var $33c4d792722c8e8f$exports = {};\n$33c4d792722c8e8f$exports = {\n \"colorSwatchPicker\": `\\u{30AB}\\u{30E9}\\u{30FC}\\u{30B9}\\u{30A6}\\u{30A9}\\u{30C3}\\u{30C1}`,\n \"dropzoneLabel\": `\\u{30C9}\\u{30ED}\\u{30C3}\\u{30D7}\\u{30BE}\\u{30FC}\\u{30F3}`,\n \"selectPlaceholder\": `\\u{9805}\\u{76EE}\\u{3092}\\u{9078}\\u{629E}`,\n \"tableResizer\": `\\u{30B5}\\u{30A4}\\u{30BA}\\u{5909}\\u{66F4}\\u{30C4}\\u{30FC}\\u{30EB}`\n};\n\n\nexport {$33c4d792722c8e8f$exports as default};\n//# sourceMappingURL=ja-JP.mjs.map\n","var $6c1efa3447442005$exports = {};\n$6c1efa3447442005$exports = {\n \"colorSwatchPicker\": `\\u{C0C9}\\u{C0C1} \\u{ACAC}\\u{BCF8}`,\n \"dropzoneLabel\": `\\u{B4DC}\\u{B86D} \\u{C601}\\u{C5ED}`,\n \"selectPlaceholder\": `\\u{D56D}\\u{BAA9} \\u{C120}\\u{D0DD}`,\n \"tableResizer\": `\\u{D06C}\\u{AE30} \\u{C870}\\u{C815}\\u{AE30}`\n};\n\n\nexport {$6c1efa3447442005$exports as default};\n//# sourceMappingURL=ko-KR.mjs.map\n","var $fb9cd4429353d32d$exports = {};\n$fb9cd4429353d32d$exports = {\n \"colorSwatchPicker\": `Spalv\\u{173} pavyzd\\u{17E}iai`,\n \"dropzoneLabel\": `\\u{201E}DropZone\\u{201C}`,\n \"selectPlaceholder\": `Pasirinkite element\\u{105}`,\n \"tableResizer\": `Dyd\\u{17E}io keitiklis`\n};\n\n\nexport {$fb9cd4429353d32d$exports as default};\n//# sourceMappingURL=lt-LT.mjs.map\n","var $1a04cd004166540e$exports = {};\n$1a04cd004166540e$exports = {\n \"colorSwatchPicker\": `Kr\\u{101}su paraugi`,\n \"dropzoneLabel\": `DropZone`,\n \"selectPlaceholder\": `Izv\\u{113}l\\u{113}ties vienumu`,\n \"tableResizer\": `Izm\\u{113}ra main\\u{12B}t\\u{101}js`\n};\n\n\nexport {$1a04cd004166540e$exports as default};\n//# sourceMappingURL=lv-LV.mjs.map\n","var $b93cf9c16a1d6016$exports = {};\n$b93cf9c16a1d6016$exports = {\n \"colorSwatchPicker\": `Fargekart`,\n \"dropzoneLabel\": `Droppsone`,\n \"selectPlaceholder\": `Velg et element`,\n \"tableResizer\": `St\\xf8rrelsesendrer`\n};\n\n\nexport {$b93cf9c16a1d6016$exports as default};\n//# sourceMappingURL=nb-NO.mjs.map\n","var $4e47f19ffc9065c1$exports = {};\n$4e47f19ffc9065c1$exports = {\n \"colorSwatchPicker\": `kleurstalen`,\n \"dropzoneLabel\": `DropZone`,\n \"selectPlaceholder\": `Selecteer een item`,\n \"tableResizer\": `Resizer`\n};\n\n\nexport {$4e47f19ffc9065c1$exports as default};\n//# sourceMappingURL=nl-NL.mjs.map\n","var $33fe3b0f0884fb7c$exports = {};\n$33fe3b0f0884fb7c$exports = {\n \"colorSwatchPicker\": `Pr\\xf3bki kolor\\xf3w`,\n \"dropzoneLabel\": `Strefa upuszczania`,\n \"selectPlaceholder\": `Wybierz element`,\n \"tableResizer\": `Zmiana rozmiaru`\n};\n\n\nexport {$33fe3b0f0884fb7c$exports as default};\n//# sourceMappingURL=pl-PL.mjs.map\n","var $7dfe84ba28f38545$exports = {};\n$7dfe84ba28f38545$exports = {\n \"colorSwatchPicker\": `Amostras de cores`,\n \"dropzoneLabel\": `DropZone`,\n \"selectPlaceholder\": `Selecione um item`,\n \"tableResizer\": `Redimensionador`\n};\n\n\nexport {$7dfe84ba28f38545$exports as default};\n//# sourceMappingURL=pt-BR.mjs.map\n","var $c68983ae60668f02$exports = {};\n$c68983ae60668f02$exports = {\n \"colorSwatchPicker\": `Amostras de cores`,\n \"dropzoneLabel\": `DropZone`,\n \"selectPlaceholder\": `Selecione um item`,\n \"tableResizer\": `Redimensionador`\n};\n\n\nexport {$c68983ae60668f02$exports as default};\n//# sourceMappingURL=pt-PT.mjs.map\n","var $dc4e2c1a20dc1244$exports = {};\n$dc4e2c1a20dc1244$exports = {\n \"colorSwatchPicker\": `Specimene de culoare`,\n \"dropzoneLabel\": `Zon\\u{103} de plasare`,\n \"selectPlaceholder\": `Selecta\\u{21B}i un element`,\n \"tableResizer\": `Instrument de redimensionare`\n};\n\n\nexport {$dc4e2c1a20dc1244$exports as default};\n//# sourceMappingURL=ro-RO.mjs.map\n","var $0723508d266e49c2$exports = {};\n$0723508d266e49c2$exports = {\n \"colorSwatchPicker\": `\\u{426}\\u{432}\\u{435}\\u{442}\\u{43E}\\u{432}\\u{44B}\\u{435} \\u{43E}\\u{431}\\u{440}\\u{430}\\u{437}\\u{446}\\u{44B}`,\n \"dropzoneLabel\": `DropZone`,\n \"selectPlaceholder\": `\\u{412}\\u{44B}\\u{431}\\u{435}\\u{440}\\u{438}\\u{442}\\u{435} \\u{44D}\\u{43B}\\u{435}\\u{43C}\\u{435}\\u{43D}\\u{442}`,\n \"tableResizer\": `\\u{421}\\u{440}\\u{435}\\u{434}\\u{441}\\u{442}\\u{432}\\u{43E} \\u{438}\\u{437}\\u{43C}\\u{435}\\u{43D}\\u{435}\\u{43D}\\u{438}\\u{44F} \\u{440}\\u{430}\\u{437}\\u{43C}\\u{435}\\u{440}\\u{430}`\n};\n\n\nexport {$0723508d266e49c2$exports as default};\n//# sourceMappingURL=ru-RU.mjs.map\n","var $a4cd257e892b5fbb$exports = {};\n$a4cd257e892b5fbb$exports = {\n \"colorSwatchPicker\": `Vzorkovn\\xedky farieb`,\n \"dropzoneLabel\": `DropZone`,\n \"selectPlaceholder\": `Vyberte polo\\u{17E}ku`,\n \"tableResizer\": `N\\xe1stroj na zmenu ve\\u{13E}kosti`\n};\n\n\nexport {$a4cd257e892b5fbb$exports as default};\n//# sourceMappingURL=sk-SK.mjs.map\n","var $7c88c76899171bad$exports = {};\n$7c88c76899171bad$exports = {\n \"colorSwatchPicker\": `Barvne palete`,\n \"dropzoneLabel\": `DropZone`,\n \"selectPlaceholder\": `Izberite element`,\n \"tableResizer\": `Spreminjanje velikosti`\n};\n\n\nexport {$7c88c76899171bad$exports as default};\n//# sourceMappingURL=sl-SI.mjs.map\n","var $47dfaaac60bb350f$exports = {};\n$47dfaaac60bb350f$exports = {\n \"colorSwatchPicker\": `Uzorci boje`,\n \"dropzoneLabel\": `DropZone`,\n \"selectPlaceholder\": `Izaberite stavku`,\n \"tableResizer\": `Promena veli\\u{10D}ine`\n};\n\n\nexport {$47dfaaac60bb350f$exports as default};\n//# sourceMappingURL=sr-SP.mjs.map\n","var $123a3e7569e58719$exports = {};\n$123a3e7569e58719$exports = {\n \"colorSwatchPicker\": `F\\xe4rgrutor`,\n \"dropzoneLabel\": `DropZone`,\n \"selectPlaceholder\": `V\\xe4lj en artikel`,\n \"tableResizer\": `Storleks\\xe4ndrare`\n};\n\n\nexport {$123a3e7569e58719$exports as default};\n//# sourceMappingURL=sv-SE.mjs.map\n","var $a6bf4586076d348a$exports = {};\n$a6bf4586076d348a$exports = {\n \"colorSwatchPicker\": `Renk \\xf6rnekleri`,\n \"dropzoneLabel\": `B\\u{131}rakma B\\xf6lgesi`,\n \"selectPlaceholder\": `Bir \\xf6\\u{11F}e se\\xe7in`,\n \"tableResizer\": `Yeniden boyutland\\u{131}r\\u{131}c\\u{131}`\n};\n\n\nexport {$a6bf4586076d348a$exports as default};\n//# sourceMappingURL=tr-TR.mjs.map\n","var $454d713aa4bcd4e3$exports = {};\n$454d713aa4bcd4e3$exports = {\n \"colorSwatchPicker\": `\\u{417}\\u{440}\\u{430}\\u{437}\\u{43A}\\u{438} \\u{43A}\\u{43E}\\u{43B}\\u{44C}\\u{43E}\\u{440}\\u{456}\\u{432}`,\n \"dropzoneLabel\": `DropZone`,\n \"selectPlaceholder\": `\\u{412}\\u{438}\\u{431}\\u{435}\\u{440}\\u{456}\\u{442}\\u{44C} \\u{435}\\u{43B}\\u{435}\\u{43C}\\u{435}\\u{43D}\\u{442}`,\n \"tableResizer\": `\\u{417}\\u{430}\\u{441}\\u{456}\\u{431} \\u{437}\\u{43C}\\u{456}\\u{43D}\\u{435}\\u{43D}\\u{43D}\\u{44F} \\u{440}\\u{43E}\\u{437}\\u{43C}\\u{456}\\u{440}\\u{443}`\n};\n\n\nexport {$454d713aa4bcd4e3$exports as default};\n//# sourceMappingURL=uk-UA.mjs.map\n","var $ea015b633d0158b0$exports = {};\n$ea015b633d0158b0$exports = {\n \"colorSwatchPicker\": `\\u{989C}\\u{8272}\\u{8272}\\u{677F}`,\n \"dropzoneLabel\": `\\u{653E}\\u{7F6E}\\u{533A}\\u{57DF}`,\n \"selectPlaceholder\": `\\u{9009}\\u{62E9}\\u{4E00}\\u{4E2A}\\u{9879}\\u{76EE}`,\n \"tableResizer\": `\\u{5C3A}\\u{5BF8}\\u{8C03}\\u{6574}\\u{5668}`\n};\n\n\nexport {$ea015b633d0158b0$exports as default};\n//# sourceMappingURL=zh-CN.mjs.map\n","var $069eb2e0b73d269e$exports = {};\n$069eb2e0b73d269e$exports = {\n \"colorSwatchPicker\": `\\u{8272}\\u{7968}`,\n \"dropzoneLabel\": `\\u{653E}\\u{7F6E}\\u{5340}`,\n \"selectPlaceholder\": `\\u{9078}\\u{53D6}\\u{9805}\\u{76EE}`,\n \"tableResizer\": `\\u{5927}\\u{5C0F}\\u{8ABF}\\u{6574}\\u{5668}`\n};\n\n\nexport {$069eb2e0b73d269e$exports as default};\n//# sourceMappingURL=zh-TW.mjs.map\n","import $aQscD$intlarAEmjs from \"./intl/ar-AE.mjs\";\nimport $aQscD$intlbgBGmjs from \"./intl/bg-BG.mjs\";\nimport $aQscD$intlcsCZmjs from \"./intl/cs-CZ.mjs\";\nimport $aQscD$intldaDKmjs from \"./intl/da-DK.mjs\";\nimport $aQscD$intldeDEmjs from \"./intl/de-DE.mjs\";\nimport $aQscD$intlelGRmjs from \"./intl/el-GR.mjs\";\nimport $aQscD$intlenUSmjs from \"./intl/en-US.mjs\";\nimport $aQscD$intlesESmjs from \"./intl/es-ES.mjs\";\nimport $aQscD$intletEEmjs from \"./intl/et-EE.mjs\";\nimport $aQscD$intlfiFImjs from \"./intl/fi-FI.mjs\";\nimport $aQscD$intlfrFRmjs from \"./intl/fr-FR.mjs\";\nimport $aQscD$intlheILmjs from \"./intl/he-IL.mjs\";\nimport $aQscD$intlhrHRmjs from \"./intl/hr-HR.mjs\";\nimport $aQscD$intlhuHUmjs from \"./intl/hu-HU.mjs\";\nimport $aQscD$intlitITmjs from \"./intl/it-IT.mjs\";\nimport $aQscD$intljaJPmjs from \"./intl/ja-JP.mjs\";\nimport $aQscD$intlkoKRmjs from \"./intl/ko-KR.mjs\";\nimport $aQscD$intlltLTmjs from \"./intl/lt-LT.mjs\";\nimport $aQscD$intllvLVmjs from \"./intl/lv-LV.mjs\";\nimport $aQscD$intlnbNOmjs from \"./intl/nb-NO.mjs\";\nimport $aQscD$intlnlNLmjs from \"./intl/nl-NL.mjs\";\nimport $aQscD$intlplPLmjs from \"./intl/pl-PL.mjs\";\nimport $aQscD$intlptBRmjs from \"./intl/pt-BR.mjs\";\nimport $aQscD$intlptPTmjs from \"./intl/pt-PT.mjs\";\nimport $aQscD$intlroROmjs from \"./intl/ro-RO.mjs\";\nimport $aQscD$intlruRUmjs from \"./intl/ru-RU.mjs\";\nimport $aQscD$intlskSKmjs from \"./intl/sk-SK.mjs\";\nimport $aQscD$intlslSImjs from \"./intl/sl-SI.mjs\";\nimport $aQscD$intlsrSPmjs from \"./intl/sr-SP.mjs\";\nimport $aQscD$intlsvSEmjs from \"./intl/sv-SE.mjs\";\nimport $aQscD$intltrTRmjs from \"./intl/tr-TR.mjs\";\nimport $aQscD$intlukUAmjs from \"./intl/uk-UA.mjs\";\nimport $aQscD$intlzhCNmjs from \"./intl/zh-CN.mjs\";\nimport $aQscD$intlzhTWmjs from \"./intl/zh-TW.mjs\";\n\nvar $aa5f63badbfee5df$exports = {};\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n$aa5f63badbfee5df$exports = {\n \"ar-AE\": $aQscD$intlarAEmjs,\n \"bg-BG\": $aQscD$intlbgBGmjs,\n \"cs-CZ\": $aQscD$intlcsCZmjs,\n \"da-DK\": $aQscD$intldaDKmjs,\n \"de-DE\": $aQscD$intldeDEmjs,\n \"el-GR\": $aQscD$intlelGRmjs,\n \"en-US\": $aQscD$intlenUSmjs,\n \"es-ES\": $aQscD$intlesESmjs,\n \"et-EE\": $aQscD$intletEEmjs,\n \"fi-FI\": $aQscD$intlfiFImjs,\n \"fr-FR\": $aQscD$intlfrFRmjs,\n \"he-IL\": $aQscD$intlheILmjs,\n \"hr-HR\": $aQscD$intlhrHRmjs,\n \"hu-HU\": $aQscD$intlhuHUmjs,\n \"it-IT\": $aQscD$intlitITmjs,\n \"ja-JP\": $aQscD$intljaJPmjs,\n \"ko-KR\": $aQscD$intlkoKRmjs,\n \"lt-LT\": $aQscD$intlltLTmjs,\n \"lv-LV\": $aQscD$intllvLVmjs,\n \"nb-NO\": $aQscD$intlnbNOmjs,\n \"nl-NL\": $aQscD$intlnlNLmjs,\n \"pl-PL\": $aQscD$intlplPLmjs,\n \"pt-BR\": $aQscD$intlptBRmjs,\n \"pt-PT\": $aQscD$intlptPTmjs,\n \"ro-RO\": $aQscD$intlroROmjs,\n \"ru-RU\": $aQscD$intlruRUmjs,\n \"sk-SK\": $aQscD$intlskSKmjs,\n \"sl-SI\": $aQscD$intlslSImjs,\n \"sr-SP\": $aQscD$intlsrSPmjs,\n \"sv-SE\": $aQscD$intlsvSEmjs,\n \"tr-TR\": $aQscD$intltrTRmjs,\n \"uk-UA\": $aQscD$intlukUAmjs,\n \"zh-CN\": $aQscD$intlzhCNmjs,\n \"zh-TW\": $aQscD$intlzhTWmjs\n};\n\n\nexport {$aa5f63badbfee5df$exports as default};\n//# sourceMappingURL=intlStrings.mjs.map\n","import $k30rM$react, {createContext as $k30rM$createContext, forwardRef as $k30rM$forwardRef, useContext as $k30rM$useContext, useCallback as $k30rM$useCallback, useMemo as $k30rM$useMemo} from \"react\";\n\n/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nconst $f9554a667e4f0374$export$d188a835a7bc5783 = /*#__PURE__*/ (0, $k30rM$createContext)({});\nconst $f9554a667e4f0374$export$f55761759794cf55 = /*#__PURE__*/ (0, $k30rM$createContext)(null);\nconst $f9554a667e4f0374$export$62ed72bc21f6b8a6 = /*#__PURE__*/ (0, $k30rM$forwardRef)(function DropIndicator(props, ref) {\n let { render: render } = (0, $k30rM$useContext)($f9554a667e4f0374$export$f55761759794cf55);\n return /*#__PURE__*/ (0, $k30rM$react).createElement((0, $k30rM$react).Fragment, null, render(props, ref));\n});\nfunction $f9554a667e4f0374$export$971707d8a129a1f7(dragAndDropHooks, dropState) {\n let renderDropIndicator = dragAndDropHooks?.renderDropIndicator;\n let isVirtualDragging = dragAndDropHooks?.isVirtualDragging?.();\n let fn = (0, $k30rM$useCallback)((target)=>{\n // Only show drop indicators when virtual dragging or this is the current drop target.\n if (isVirtualDragging || dropState?.isDropTarget(target)) return renderDropIndicator ? renderDropIndicator(target) : /*#__PURE__*/ (0, $k30rM$react).createElement($f9554a667e4f0374$export$62ed72bc21f6b8a6, {\n target: target\n });\n }, // We invalidate whenever the target changes.\n // eslint-disable-next-line react-hooks/exhaustive-deps\n [\n dropState?.target,\n isVirtualDragging,\n renderDropIndicator\n ]);\n return dragAndDropHooks?.useDropIndicator ? fn : undefined;\n}\nfunction $f9554a667e4f0374$export$d1e8e3fbb7461f6(selectionManager, dragAndDropHooks, dropState) {\n // Persist the focused key and the drop target key.\n let focusedKey = selectionManager.focusedKey;\n let dropTargetKey = null;\n if (dragAndDropHooks?.isVirtualDragging?.() && dropState?.target?.type === 'item') {\n dropTargetKey = dropState.target.key;\n if (dropState.target.dropPosition === 'after') {\n // Normalize to the \"before\" drop position since we only render those to the DOM.\n let nextKey = dropState.collection.getKeyAfter(dropTargetKey);\n let lastDescendantKey = null;\n if (nextKey != null) {\n let targetLevel = dropState.collection.getItem(dropTargetKey)?.level ?? 0;\n // Skip over any rows that are descendants of the target (\"after\" position should be after all children)\n while(nextKey != null){\n let node = dropState.collection.getItem(nextKey);\n // eslint-disable-next-line max-depth\n if (!node) break;\n // Skip over non-item nodes (e.g., loaders) since they can't be drop targets.\n // eslint-disable-next-line max-depth\n if (node.type !== 'item') {\n nextKey = dropState.collection.getKeyAfter(nextKey);\n continue;\n }\n // Stop once we find an item at the same level or higher\n // eslint-disable-next-line max-depth\n if ((node.level ?? 0) <= targetLevel) break;\n lastDescendantKey = nextKey;\n nextKey = dropState.collection.getKeyAfter(nextKey);\n }\n }\n // If nextKey is null (end of collection), use the last descendant\n dropTargetKey = nextKey ?? lastDescendantKey ?? dropTargetKey;\n }\n }\n return (0, $k30rM$useMemo)(()=>{\n return new Set([\n focusedKey,\n dropTargetKey\n ].filter((k)=>k != null));\n }, [\n focusedKey,\n dropTargetKey\n ]);\n}\n\n\nexport {$f9554a667e4f0374$export$d188a835a7bc5783 as DragAndDropContext, $f9554a667e4f0374$export$f55761759794cf55 as DropIndicatorContext, $f9554a667e4f0374$export$62ed72bc21f6b8a6 as DropIndicator, $f9554a667e4f0374$export$971707d8a129a1f7 as useRenderDropIndicator, $f9554a667e4f0374$export$d1e8e3fbb7461f6 as useDndPersistedKeys};\n//# sourceMappingURL=DragAndDrop.mjs.map\n","import {dom as $7230ffa83bc0c2cf$export$df3a06d6289f983e, useContextProps as $7230ffa83bc0c2cf$export$29f1550f4b0d4415} from \"./utils.mjs\";\nimport {createLeafComponent as $gfOZh$createLeafComponent} from \"react-aria/CollectionBuilder\";\nimport {HeaderNode as $gfOZh$HeaderNode} from \"react-aria/private/collections/BaseCollection\";\nimport $gfOZh$react, {createContext as $gfOZh$createContext} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\nconst $53e61d82d8b8611d$export$e0e4026c12a8bdbb = /*#__PURE__*/ (0, $gfOZh$createContext)({});\nconst $53e61d82d8b8611d$export$8b251419efc915eb = /*#__PURE__*/ (0, $gfOZh$createLeafComponent)((0, $gfOZh$HeaderNode), function Header(props, ref) {\n [props, ref] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, $53e61d82d8b8611d$export$e0e4026c12a8bdbb);\n return /*#__PURE__*/ (0, $gfOZh$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).header, {\n className: \"react-aria-Header\",\n ...props,\n ref: ref\n }, props.children);\n});\n\n\nexport {$53e61d82d8b8611d$export$e0e4026c12a8bdbb as HeaderContext, $53e61d82d8b8611d$export$8b251419efc915eb as Header};\n//# sourceMappingURL=Header.mjs.map\n","import {dom as $7230ffa83bc0c2cf$export$df3a06d6289f983e, useRenderProps as $7230ffa83bc0c2cf$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport {flushSync as $3Lq00$flushSync} from \"react-dom\";\nimport $3Lq00$react, {createContext as $3Lq00$createContext, useRef as $3Lq00$useRef, forwardRef as $3Lq00$forwardRef, useState as $3Lq00$useState, useContext as $3Lq00$useContext} from \"react\";\nimport {useLayoutEffect as $3Lq00$useLayoutEffect} from \"react-aria/private/utils/useLayoutEffect\";\nimport {useObjectRef as $3Lq00$useObjectRef} from \"react-aria/useObjectRef\";\n\n/*\n * Copyright 2025 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\nconst $792f28e438b9ad5f$var$SharedElementContext = /*#__PURE__*/ (0, $3Lq00$createContext)(null);\nfunction $792f28e438b9ad5f$export$758399f318e6385a(props) {\n let ref = (0, $3Lq00$useRef)({});\n return /*#__PURE__*/ (0, $3Lq00$react).createElement($792f28e438b9ad5f$var$SharedElementContext.Provider, {\n value: ref\n }, props.children);\n}\nconst $792f28e438b9ad5f$export$c34620ff8881d89f = /*#__PURE__*/ (0, $3Lq00$forwardRef)(function SharedElement(props, ref) {\n let { name: name, isVisible: isVisible = true, children: children, className: className, style: style, render: render, ...divProps } = props;\n let [state, setState] = (0, $3Lq00$useState)(isVisible ? 'visible' : 'hidden');\n let scopeRef = (0, $3Lq00$useContext)($792f28e438b9ad5f$var$SharedElementContext);\n if (!scopeRef) throw new Error('<SharedElement> must be rendered inside a <SharedElementTransition>');\n if (isVisible && state === 'hidden') setState('visible');\n ref = (0, $3Lq00$useObjectRef)(ref);\n (0, $3Lq00$useLayoutEffect)(()=>{\n let element = ref.current;\n let scope = scopeRef.current;\n let prevSnapshot = scope[name];\n let frame = null;\n if (element && isVisible && prevSnapshot) {\n // Element is transitioning from a previous instance.\n setState('visible');\n let animations = element.getAnimations();\n // Set properties to animate from.\n let values = prevSnapshot.style.map(([property, prevValue])=>{\n let value = element.style[property];\n if (property === 'translate') {\n let prevRect = prevSnapshot.rect;\n let currentItem = element.getBoundingClientRect();\n let deltaX = prevRect.left - currentItem?.left;\n let deltaY = prevRect.top - currentItem?.top;\n element.style.translate = `${deltaX}px ${deltaY}px`;\n } else element.style[property] = prevValue;\n return [\n property,\n value\n ];\n });\n // Cancel any new animations triggered by these properties.\n for (let a of element.getAnimations())if (!animations.includes(a)) a.cancel();\n // Remove overrides after one frame to animate to the current values.\n frame = requestAnimationFrame(()=>{\n frame = null;\n for (let [property, value] of values)element.style[property] = value;\n });\n delete scope[name];\n } else if (element && isVisible && !prevSnapshot) {\n // No previous instance exists, apply the entering state.\n queueMicrotask(()=>(0, $3Lq00$flushSync)(()=>setState('entering')));\n frame = requestAnimationFrame(()=>{\n frame = null;\n setState('visible');\n });\n } else if (element && !isVisible) // Wait until layout effects finish, and check if a snapshot still exists.\n // If so, no new SharedElement consumed it, so enter the exiting state.\n queueMicrotask(()=>{\n if (scope[name]) {\n delete scope[name];\n (0, $3Lq00$flushSync)(()=>setState('exiting'));\n Promise.all(element.getAnimations().map((a)=>a.finished)).then(()=>setState('hidden')).catch(()=>{});\n } else // Snapshot was consumed by another instance, unmount.\n setState('hidden');\n });\n return ()=>{\n if (frame != null) cancelAnimationFrame(frame);\n if (element && element.isConnected && !element.hasAttribute('data-exiting')) {\n // On unmount, store a snapshot of the rectangle and computed style for transitioning properties.\n let style = window.getComputedStyle(element);\n if (style.transitionProperty !== 'none') {\n let transitionProperty = style.transitionProperty.split(/\\s*,\\s*/);\n scope[name] = {\n rect: element.getBoundingClientRect(),\n style: transitionProperty.map((p)=>[\n p,\n style[p]\n ])\n };\n }\n }\n };\n }, [\n ref,\n scopeRef,\n name,\n isVisible\n ]);\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n children: children,\n className: className,\n style: style,\n render: render,\n values: {\n isEntering: state === 'entering',\n isExiting: state === 'exiting'\n }\n });\n if (state === 'hidden') return null;\n return /*#__PURE__*/ (0, $3Lq00$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div, {\n ...divProps,\n ...renderProps,\n ref: ref,\n \"data-entering\": state === 'entering' || undefined,\n \"data-exiting\": state === 'exiting' || undefined\n });\n});\n\n\nexport {$792f28e438b9ad5f$export$758399f318e6385a as SharedElementTransition, $792f28e438b9ad5f$export$c34620ff8881d89f as SharedElement};\n//# sourceMappingURL=SharedElementTransition.mjs.map\n","import {useContextProps as $7230ffa83bc0c2cf$export$29f1550f4b0d4415} from \"./utils.mjs\";\nimport {SharedElement as $792f28e438b9ad5f$export$c34620ff8881d89f} from \"./SharedElementTransition.mjs\";\nimport $31sgV$react, {createContext as $31sgV$createContext, forwardRef as $31sgV$forwardRef} from \"react\";\n\n/*\n * Copyright 2025 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nconst $91fe5e721c7f36c1$export$c9549807523555e0 = /*#__PURE__*/ (0, $31sgV$createContext)({\n isSelected: false\n});\nconst $91fe5e721c7f36c1$export$17f80983afe4e444 = /*#__PURE__*/ (0, $31sgV$forwardRef)(function SelectionIndicator(props, ref) {\n [props, ref] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, $91fe5e721c7f36c1$export$c9549807523555e0);\n let { isSelected: isSelected, ...otherProps } = props;\n return /*#__PURE__*/ (0, $31sgV$react).createElement((0, $792f28e438b9ad5f$export$c34620ff8881d89f), {\n ...otherProps,\n ref: ref,\n className: props.className || 'react-aria-SelectionIndicator',\n name: \"SelectionIndicator\",\n isVisible: isSelected\n });\n});\n\n\nexport {$91fe5e721c7f36c1$export$c9549807523555e0 as SelectionIndicatorContext, $91fe5e721c7f36c1$export$17f80983afe4e444 as SelectionIndicator};\n//# sourceMappingURL=SelectionIndicator.mjs.map\n","import {filterDOMProps as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f} from \"../utils/filterDOMProps.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nfunction $dc321dbb6473ef33$export$52210f68a14655d0(props) {\n let domProps = (0, $8e9d2fae0ecb9001$export$457c3d6518dd4c6f)(props, {\n labelable: true\n });\n let ariaOrientation;\n // if orientation is horizontal, aria-orientation default is horizontal, so we leave it undefined\n // if it's vertical, we need to specify it\n if (props.orientation === 'vertical') ariaOrientation = 'vertical';\n // hr elements implicitly have role = separator and a horizontal orientation\n if (props.elementType !== 'hr') return {\n separatorProps: {\n ...domProps,\n role: 'separator',\n 'aria-orientation': ariaOrientation\n }\n };\n return {\n separatorProps: domProps\n };\n}\n\n\nexport {$dc321dbb6473ef33$export$52210f68a14655d0 as useSeparator};\n//# sourceMappingURL=useSeparator.mjs.map\n","import {dom as $7230ffa83bc0c2cf$export$df3a06d6289f983e, useContextProps as $7230ffa83bc0c2cf$export$29f1550f4b0d4415} from \"./utils.mjs\";\nimport {useSeparator as $adn6H$useSeparator} from \"react-aria/useSeparator\";\nimport {CollectionNode as $adn6H$CollectionNode} from \"react-aria/private/collections/BaseCollection\";\nimport {createLeafComponent as $adn6H$createLeafComponent} from \"react-aria/CollectionBuilder\";\nimport {filterDOMProps as $adn6H$filterDOMProps} from \"react-aria/filterDOMProps\";\nimport {mergeProps as $adn6H$mergeProps} from \"react-aria/mergeProps\";\nimport $adn6H$react, {createContext as $adn6H$createContext} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\nconst $e28ab3efe3e87743$export$6615d83f6de245ce = /*#__PURE__*/ (0, $adn6H$createContext)({});\nclass $e28ab3efe3e87743$export$7750289ca694c0b5 extends (0, $adn6H$CollectionNode) {\n static{\n this.type = 'separator';\n }\n filter(collection, newCollection) {\n let prevItem = newCollection.getItem(this.prevKey);\n if (prevItem && prevItem.type !== 'separator') {\n let clone = this.clone();\n newCollection.addDescendants(clone, collection);\n return clone;\n }\n return null;\n }\n}\nconst $e28ab3efe3e87743$export$1ff3c3f08ae963c0 = /*#__PURE__*/ (0, $adn6H$createLeafComponent)($e28ab3efe3e87743$export$7750289ca694c0b5, function Separator(props, ref) {\n [props, ref] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, $e28ab3efe3e87743$export$6615d83f6de245ce);\n let { elementType: elementType, orientation: orientation, style: style, className: className, slot: slot, ...otherProps } = props;\n let Element = elementType || 'hr';\n if (Element === 'hr' && orientation === 'vertical') Element = 'div';\n let ElementType = (0, $7230ffa83bc0c2cf$export$df3a06d6289f983e)[Element];\n let { separatorProps: separatorProps } = (0, $adn6H$useSeparator)({\n ...otherProps,\n elementType: elementType,\n orientation: orientation\n });\n let DOMProps = (0, $adn6H$filterDOMProps)(props, {\n global: true\n });\n return /*#__PURE__*/ (0, $adn6H$react).createElement(ElementType, {\n render: props.render,\n ...(0, $adn6H$mergeProps)(DOMProps, separatorProps),\n style: style,\n className: className ?? 'react-aria-Separator',\n ref: ref,\n slot: slot || undefined\n });\n});\n\n\nexport {$e28ab3efe3e87743$export$6615d83f6de245ce as SeparatorContext, $e28ab3efe3e87743$export$7750289ca694c0b5 as SeparatorNode, $e28ab3efe3e87743$export$1ff3c3f08ae963c0 as Separator};\n//# sourceMappingURL=Separator.mjs.map\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ const $cd088b5c0d7b27b4$export$3585ede4d035bf14 = new WeakMap();\nfunction $cd088b5c0d7b27b4$var$normalizeKey(key) {\n if (typeof key === 'string') return key.replace(/\\s*/g, '');\n return '' + key;\n}\nfunction $cd088b5c0d7b27b4$export$9145995848b05025(state, itemKey) {\n let data = $cd088b5c0d7b27b4$export$3585ede4d035bf14.get(state);\n if (!data) throw new Error('Unknown list');\n return `${data.id}-option-${$cd088b5c0d7b27b4$var$normalizeKey(itemKey)}`;\n}\n\n\nexport {$cd088b5c0d7b27b4$export$3585ede4d035bf14 as listData, $cd088b5c0d7b27b4$export$9145995848b05025 as getItemId};\n//# sourceMappingURL=utils.mjs.map\n","import {nodeContains as $23f2114a1b82827e$export$4282f70798064fe0} from \"./DOMFunctions.mjs\";\nimport {shadowDOM as $kGVXB$shadowDOM} from \"react-stately/private/flags/flags\";\n\n// https://github.com/microsoft/tabster/blob/a89fc5d7e332d48f68d03b1ca6e344489d1c3898/src/Shadowdomize/ShadowTreeWalker.ts\n\n\nclass $654b97e09f2a30c1$export$63eb3ababa9c55c4 {\n constructor(doc, root, whatToShow, filter){\n this._walkerStack = [];\n this._currentSetFor = new Set();\n this._acceptNode = (node)=>{\n if (node.nodeType === Node.ELEMENT_NODE) {\n const shadowRoot = node.shadowRoot;\n if (shadowRoot) {\n const walker = this._doc.createTreeWalker(shadowRoot, this.whatToShow, {\n acceptNode: this._acceptNode\n });\n this._walkerStack.unshift(walker);\n return NodeFilter.FILTER_ACCEPT;\n } else {\n if (typeof this.filter === 'function') return this.filter(node);\n else if (this.filter?.acceptNode) return this.filter.acceptNode(node);\n else if (this.filter === null) return NodeFilter.FILTER_ACCEPT;\n }\n }\n return NodeFilter.FILTER_SKIP;\n };\n this._doc = doc;\n this.root = root;\n this.filter = filter ?? null;\n this.whatToShow = whatToShow ?? NodeFilter.SHOW_ALL;\n this._currentNode = root;\n this._walkerStack.unshift(doc.createTreeWalker(root, whatToShow, this._acceptNode));\n const shadowRoot = root.shadowRoot;\n if (shadowRoot) {\n const walker = this._doc.createTreeWalker(shadowRoot, this.whatToShow, {\n acceptNode: this._acceptNode\n });\n this._walkerStack.unshift(walker);\n }\n }\n get currentNode() {\n return this._currentNode;\n }\n set currentNode(node) {\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(this.root, node)) throw new Error('Cannot set currentNode to a node that is not contained by the root node.');\n const walkers = [];\n let curNode = node;\n let currentWalkerCurrentNode = node;\n this._currentNode = node;\n while(curNode && curNode !== this.root)if (curNode.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {\n const shadowRoot = curNode;\n const walker = this._doc.createTreeWalker(shadowRoot, this.whatToShow, {\n acceptNode: this._acceptNode\n });\n walkers.push(walker);\n walker.currentNode = currentWalkerCurrentNode;\n this._currentSetFor.add(walker);\n curNode = currentWalkerCurrentNode = shadowRoot.host;\n } else curNode = curNode.parentNode;\n const walker = this._doc.createTreeWalker(this.root, this.whatToShow, {\n acceptNode: this._acceptNode\n });\n walkers.push(walker);\n walker.currentNode = currentWalkerCurrentNode;\n this._currentSetFor.add(walker);\n this._walkerStack = walkers;\n }\n get doc() {\n return this._doc;\n }\n firstChild() {\n let currentNode = this.currentNode;\n let newNode = this.nextNode();\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(currentNode, newNode)) {\n this.currentNode = currentNode;\n return null;\n }\n if (newNode) this.currentNode = newNode;\n return newNode;\n }\n lastChild() {\n let walker = this._walkerStack[0];\n let newNode = walker.lastChild();\n if (newNode) this.currentNode = newNode;\n return newNode;\n }\n nextNode() {\n const nextNode = this._walkerStack[0].nextNode();\n if (nextNode) {\n const shadowRoot = nextNode.shadowRoot;\n if (shadowRoot) {\n let nodeResult;\n if (typeof this.filter === 'function') nodeResult = this.filter(nextNode);\n else if (this.filter?.acceptNode) nodeResult = this.filter.acceptNode(nextNode);\n if (nodeResult === NodeFilter.FILTER_ACCEPT) {\n this.currentNode = nextNode;\n return nextNode;\n }\n // _acceptNode should have added new walker for this shadow,\n // go in recursively.\n let newNode = this.nextNode();\n if (newNode) this.currentNode = newNode;\n return newNode;\n }\n if (nextNode) this.currentNode = nextNode;\n return nextNode;\n } else {\n if (this._walkerStack.length > 1) {\n this._walkerStack.shift();\n let newNode = this.nextNode();\n if (newNode) this.currentNode = newNode;\n return newNode;\n } else return null;\n }\n }\n previousNode() {\n const currentWalker = this._walkerStack[0];\n if (currentWalker.currentNode === currentWalker.root) {\n if (this._currentSetFor.has(currentWalker)) {\n this._currentSetFor.delete(currentWalker);\n if (this._walkerStack.length > 1) {\n this._walkerStack.shift();\n let newNode = this.previousNode();\n if (newNode) this.currentNode = newNode;\n return newNode;\n } else return null;\n }\n return null;\n }\n const previousNode = currentWalker.previousNode();\n if (previousNode) {\n const shadowRoot = previousNode.shadowRoot;\n if (shadowRoot) {\n let nodeResult;\n if (typeof this.filter === 'function') nodeResult = this.filter(previousNode);\n else if (this.filter?.acceptNode) nodeResult = this.filter.acceptNode(previousNode);\n if (nodeResult === NodeFilter.FILTER_ACCEPT) {\n if (previousNode) this.currentNode = previousNode;\n return previousNode;\n }\n // _acceptNode should have added new walker for this shadow,\n // go in recursively.\n let newNode = this.lastChild();\n if (newNode) this.currentNode = newNode;\n return newNode;\n }\n if (previousNode) this.currentNode = previousNode;\n return previousNode;\n } else {\n if (this._walkerStack.length > 1) {\n this._walkerStack.shift();\n let newNode = this.previousNode();\n if (newNode) this.currentNode = newNode;\n return newNode;\n } else return null;\n }\n }\n /**\n * @deprecated\n */ nextSibling() {\n // if (__DEV__) {\n // throw new Error(\"Method not implemented.\");\n // }\n return null;\n }\n /**\n * @deprecated\n */ previousSibling() {\n // if (__DEV__) {\n // throw new Error(\"Method not implemented.\");\n // }\n return null;\n }\n /**\n * @deprecated\n */ parentNode() {\n // if (__DEV__) {\n // throw new Error(\"Method not implemented.\");\n // }\n return null;\n }\n}\nfunction $654b97e09f2a30c1$export$4d0f8be8b12a7ef6(doc, root, whatToShow, filter) {\n if ((0, $kGVXB$shadowDOM)()) return new $654b97e09f2a30c1$export$63eb3ababa9c55c4(doc, root, whatToShow, filter);\n return doc.createTreeWalker(root, whatToShow, filter);\n}\n\n\nexport {$654b97e09f2a30c1$export$63eb3ababa9c55c4 as ShadowTreeWalker, $654b97e09f2a30c1$export$4d0f8be8b12a7ef6 as createShadowTreeWalker};\n//# sourceMappingURL=ShadowTreeWalker.mjs.map\n","import {createShadowTreeWalker as $654b97e09f2a30c1$export$4d0f8be8b12a7ef6} from \"../utils/shadowdom/ShadowTreeWalker.mjs\";\nimport {focusSafely as $f192c2f16961cbe0$export$80f3e147d781571c} from \"../interactions/focusSafely.mjs\";\nimport {getActiveElement as $23f2114a1b82827e$export$cd4e5573fbe2b576, getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29, nodeContains as $23f2114a1b82827e$export$4282f70798064fe0} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {getInteractionModality as $8f5a2122b0992be3$export$630ff653c5ada6a9} from \"../interactions/useFocusVisible.mjs\";\nimport {getOwnerDocument as $d447af545b77c9f1$export$b204af158042fbac, getOwnerWindow as $d447af545b77c9f1$export$f21a1ffae260145a} from \"../utils/domHelpers.mjs\";\nimport {isAndroid as $2add3ce32c6007eb$export$a11b0059900ceec8, isChrome as $2add3ce32c6007eb$export$6446a186d09e379e} from \"../utils/platform.mjs\";\nimport {isFocusable as $3b8b240c1bf84ab9$export$4c063cf1350e6fed, isTabbable as $3b8b240c1bf84ab9$export$bebd5a1431fec25d} from \"../utils/isFocusable.mjs\";\nimport {useLayoutEffect as $c4867b2f328c2698$export$e5c5a5f917a5871c} from \"../utils/useLayoutEffect.mjs\";\nimport $jmfRy$react, {useRef as $jmfRy$useRef, useContext as $jmfRy$useContext, useMemo as $jmfRy$useMemo, useEffect as $jmfRy$useEffect} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\nconst $535772f9d2c1f38d$var$FocusContext = /*#__PURE__*/ (0, $jmfRy$react).createContext(null);\nconst $535772f9d2c1f38d$var$RESTORE_FOCUS_EVENT = 'react-aria-focus-scope-restore';\nlet $535772f9d2c1f38d$var$activeScope = null;\nfunction $535772f9d2c1f38d$export$20e40289641fbbb6(props) {\n let { children: children, contain: contain, restoreFocus: restoreFocus, autoFocus: autoFocus } = props;\n let startRef = (0, $jmfRy$useRef)(null);\n let endRef = (0, $jmfRy$useRef)(null);\n let scopeRef = (0, $jmfRy$useRef)([]);\n let { parentNode: parentNode } = (0, $jmfRy$useContext)($535772f9d2c1f38d$var$FocusContext) || {};\n // Create a tree node here so we can add children to it even before it is added to the tree.\n let node = (0, $jmfRy$useMemo)(()=>new $535772f9d2c1f38d$var$TreeNode({\n scopeRef: scopeRef\n }), [\n scopeRef\n ]);\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n // If a new scope mounts outside the active scope, (e.g. DialogContainer launched from a menu),\n // use the active scope as the parent instead of the parent from context. Layout effects run bottom\n // up, so if the parent is not yet added to the tree, don't do this. Only the outer-most FocusScope\n // that is being added should get the activeScope as its parent.\n let parent = parentNode || $535772f9d2c1f38d$export$d06fae2ee68b101e.root;\n if ($535772f9d2c1f38d$export$d06fae2ee68b101e.getTreeNode(parent.scopeRef) && $535772f9d2c1f38d$var$activeScope && !$535772f9d2c1f38d$var$isAncestorScope($535772f9d2c1f38d$var$activeScope, parent.scopeRef)) {\n let activeNode = $535772f9d2c1f38d$export$d06fae2ee68b101e.getTreeNode($535772f9d2c1f38d$var$activeScope);\n if (activeNode) parent = activeNode;\n }\n // Add the node to the parent, and to the tree.\n parent.addChild(node);\n $535772f9d2c1f38d$export$d06fae2ee68b101e.addNode(node);\n }, [\n node,\n parentNode\n ]);\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n let node = $535772f9d2c1f38d$export$d06fae2ee68b101e.getTreeNode(scopeRef);\n if (node) node.contain = !!contain;\n }, [\n contain\n ]);\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n // Find all rendered nodes between the sentinels and add them to the scope.\n let node = startRef.current?.nextSibling;\n let nodes = [];\n let stopPropagation = (e)=>e.stopPropagation();\n while(node && node !== endRef.current){\n nodes.push(node);\n // Stop custom restore focus event from propagating to parent focus scopes.\n node.addEventListener($535772f9d2c1f38d$var$RESTORE_FOCUS_EVENT, stopPropagation);\n node = node.nextSibling;\n }\n scopeRef.current = nodes;\n return ()=>{\n for (let node of nodes)node.removeEventListener($535772f9d2c1f38d$var$RESTORE_FOCUS_EVENT, stopPropagation);\n };\n }, [\n children\n ]);\n $535772f9d2c1f38d$var$useActiveScopeTracker(scopeRef, restoreFocus, contain);\n $535772f9d2c1f38d$var$useFocusContainment(scopeRef, contain);\n $535772f9d2c1f38d$var$useRestoreFocus(scopeRef, restoreFocus, contain);\n $535772f9d2c1f38d$var$useAutoFocus(scopeRef, autoFocus);\n // This needs to be an effect so that activeScope is updated after the FocusScope tree is complete.\n // It cannot be a useLayoutEffect because the parent of this node hasn't been attached in the tree yet.\n (0, $jmfRy$useEffect)(()=>{\n const activeElement = (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)((0, $d447af545b77c9f1$export$b204af158042fbac)(scopeRef.current ? scopeRef.current[0] : undefined));\n let scope = null;\n if ($535772f9d2c1f38d$var$isElementInScope(activeElement, scopeRef.current)) {\n // We need to traverse the focusScope tree and find the bottom most scope that\n // contains the active element and set that as the activeScope.\n for (let node of $535772f9d2c1f38d$export$d06fae2ee68b101e.traverse())if (node.scopeRef && $535772f9d2c1f38d$var$isElementInScope(activeElement, node.scopeRef.current)) scope = node;\n if (scope === $535772f9d2c1f38d$export$d06fae2ee68b101e.getTreeNode(scopeRef)) $535772f9d2c1f38d$var$activeScope = scope.scopeRef;\n }\n }, [\n scopeRef\n ]);\n // This layout effect cleanup is so that the tree node is removed synchronously with react before the RAF\n // in useRestoreFocus cleanup runs.\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n return ()=>{\n // Scope may have been re-parented.\n let parentScope = $535772f9d2c1f38d$export$d06fae2ee68b101e.getTreeNode(scopeRef)?.parent?.scopeRef ?? null;\n if ((scopeRef === $535772f9d2c1f38d$var$activeScope || $535772f9d2c1f38d$var$isAncestorScope(scopeRef, $535772f9d2c1f38d$var$activeScope)) && (!parentScope || $535772f9d2c1f38d$export$d06fae2ee68b101e.getTreeNode(parentScope))) $535772f9d2c1f38d$var$activeScope = parentScope;\n $535772f9d2c1f38d$export$d06fae2ee68b101e.removeTreeNode(scopeRef);\n };\n }, [\n scopeRef\n ]);\n let focusManager = (0, $jmfRy$useMemo)(()=>$535772f9d2c1f38d$var$createFocusManagerForScope(scopeRef), []);\n let value = (0, $jmfRy$useMemo)(()=>({\n focusManager: focusManager,\n parentNode: node\n }), [\n node,\n focusManager\n ]);\n return /*#__PURE__*/ (0, $jmfRy$react).createElement($535772f9d2c1f38d$var$FocusContext.Provider, {\n value: value\n }, /*#__PURE__*/ (0, $jmfRy$react).createElement(\"span\", {\n \"data-focus-scope-start\": true,\n hidden: true,\n ref: startRef\n }), children, /*#__PURE__*/ (0, $jmfRy$react).createElement(\"span\", {\n \"data-focus-scope-end\": true,\n hidden: true,\n ref: endRef\n }));\n}\nfunction $535772f9d2c1f38d$export$10c5169755ce7bd7() {\n return (0, $jmfRy$useContext)($535772f9d2c1f38d$var$FocusContext)?.focusManager;\n}\nfunction $535772f9d2c1f38d$var$createFocusManagerForScope(scopeRef) {\n return {\n focusNext (opts = {}) {\n let scope = scopeRef.current;\n let { from: from, tabbable: tabbable, wrap: wrap, accept: accept } = opts;\n let node = from || (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)((0, $d447af545b77c9f1$export$b204af158042fbac)(scope[0] ?? undefined));\n let sentinel = scope[0].previousElementSibling;\n let scopeRoot = $535772f9d2c1f38d$var$getScopeRoot(scope);\n let walker = $535772f9d2c1f38d$export$2d6ec8fc375ceafa(scopeRoot, {\n tabbable: tabbable,\n accept: accept\n }, scope);\n walker.currentNode = $535772f9d2c1f38d$var$isElementInScope(node, scope) ? node : sentinel;\n let nextNode = walker.nextNode();\n if (!nextNode && wrap) {\n walker.currentNode = sentinel;\n nextNode = walker.nextNode();\n }\n if (nextNode) $535772f9d2c1f38d$var$focusElement(nextNode, true);\n return nextNode;\n },\n focusPrevious (opts = {}) {\n let scope = scopeRef.current;\n let { from: from, tabbable: tabbable, wrap: wrap, accept: accept } = opts;\n let node = from || (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)((0, $d447af545b77c9f1$export$b204af158042fbac)(scope[0] ?? undefined));\n let sentinel = scope[scope.length - 1].nextElementSibling;\n let scopeRoot = $535772f9d2c1f38d$var$getScopeRoot(scope);\n let walker = $535772f9d2c1f38d$export$2d6ec8fc375ceafa(scopeRoot, {\n tabbable: tabbable,\n accept: accept\n }, scope);\n walker.currentNode = $535772f9d2c1f38d$var$isElementInScope(node, scope) ? node : sentinel;\n let previousNode = walker.previousNode();\n if (!previousNode && wrap) {\n walker.currentNode = sentinel;\n previousNode = walker.previousNode();\n }\n if (previousNode) $535772f9d2c1f38d$var$focusElement(previousNode, true);\n return previousNode;\n },\n focusFirst (opts = {}) {\n let scope = scopeRef.current;\n let { tabbable: tabbable, accept: accept } = opts;\n let scopeRoot = $535772f9d2c1f38d$var$getScopeRoot(scope);\n let walker = $535772f9d2c1f38d$export$2d6ec8fc375ceafa(scopeRoot, {\n tabbable: tabbable,\n accept: accept\n }, scope);\n walker.currentNode = scope[0].previousElementSibling;\n let nextNode = walker.nextNode();\n if (nextNode) $535772f9d2c1f38d$var$focusElement(nextNode, true);\n return nextNode;\n },\n focusLast (opts = {}) {\n let scope = scopeRef.current;\n let { tabbable: tabbable, accept: accept } = opts;\n let scopeRoot = $535772f9d2c1f38d$var$getScopeRoot(scope);\n let walker = $535772f9d2c1f38d$export$2d6ec8fc375ceafa(scopeRoot, {\n tabbable: tabbable,\n accept: accept\n }, scope);\n walker.currentNode = scope[scope.length - 1].nextElementSibling;\n let previousNode = walker.previousNode();\n if (previousNode) $535772f9d2c1f38d$var$focusElement(previousNode, true);\n return previousNode;\n }\n };\n}\nfunction $535772f9d2c1f38d$var$getScopeRoot(scope) {\n return scope[0].parentElement;\n}\nfunction $535772f9d2c1f38d$var$shouldContainFocus(scopeRef) {\n let scope = $535772f9d2c1f38d$export$d06fae2ee68b101e.getTreeNode($535772f9d2c1f38d$var$activeScope);\n while(scope && scope.scopeRef !== scopeRef){\n if (scope.contain) return false;\n scope = scope.parent;\n }\n return true;\n}\nfunction $535772f9d2c1f38d$var$getRadiosInGroup(element) {\n if (!element.form) // Radio buttons outside a form - query the document\n return Array.from((0, $d447af545b77c9f1$export$b204af158042fbac)(element).querySelectorAll(`input[type=\"radio\"][name=\"${CSS.escape(element.name)}\"]`)).filter((radio)=>!radio.form);\n // namedItem returns RadioNodeList (iterable) for 2+ elements, but a single Element for exactly 1.\n // https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormControlsCollection/namedItem\n const radioList = element.form.elements.namedItem(element.name);\n let ownerWindow = (0, $d447af545b77c9f1$export$f21a1ffae260145a)(element);\n if (radioList instanceof ownerWindow.RadioNodeList) return Array.from(radioList).filter((el)=>el instanceof ownerWindow.HTMLInputElement);\n if (radioList instanceof ownerWindow.HTMLInputElement) return [\n radioList\n ];\n return [];\n}\nfunction $535772f9d2c1f38d$var$isTabbableRadio(element) {\n if (element.checked) return true;\n const radios = $535772f9d2c1f38d$var$getRadiosInGroup(element);\n return radios.length > 0 && !radios.some((radio)=>radio.checked);\n}\nfunction $535772f9d2c1f38d$var$useFocusContainment(scopeRef, contain) {\n let focusedNode = (0, $jmfRy$useRef)(undefined);\n let raf = (0, $jmfRy$useRef)(undefined);\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n let scope = scopeRef.current;\n if (!contain) {\n // if contain was changed, then we should cancel any ongoing waits to pull focus back into containment\n if (raf.current) {\n cancelAnimationFrame(raf.current);\n raf.current = undefined;\n }\n return;\n }\n const ownerDocument = (0, $d447af545b77c9f1$export$b204af158042fbac)(scope ? scope[0] : undefined);\n // Handle the Tab key to contain focus within the scope\n let onKeyDown = (e)=>{\n if (e.key !== 'Tab' || e.altKey || e.ctrlKey || e.metaKey || !$535772f9d2c1f38d$var$shouldContainFocus(scopeRef) || e.isComposing) return;\n let focusedElement = (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)(ownerDocument);\n let scope = scopeRef.current;\n if (!scope || !$535772f9d2c1f38d$var$isElementInScope(focusedElement, scope)) return;\n let scopeRoot = $535772f9d2c1f38d$var$getScopeRoot(scope);\n let walker = $535772f9d2c1f38d$export$2d6ec8fc375ceafa(scopeRoot, {\n tabbable: true\n }, scope);\n if (!focusedElement) return;\n walker.currentNode = focusedElement;\n let nextElement = e.shiftKey ? walker.previousNode() : walker.nextNode();\n if (!nextElement) {\n walker.currentNode = e.shiftKey ? scope[scope.length - 1].nextElementSibling : scope[0].previousElementSibling;\n nextElement = e.shiftKey ? walker.previousNode() : walker.nextNode();\n }\n e.preventDefault();\n if (nextElement) {\n $535772f9d2c1f38d$var$focusElement(nextElement, true);\n if (nextElement instanceof (0, $d447af545b77c9f1$export$f21a1ffae260145a)(nextElement).HTMLInputElement) nextElement.select();\n }\n };\n let onFocus = (e)=>{\n // If focusing an element in a child scope of the currently active scope, the child becomes active.\n // Moving out of the active scope to an ancestor is not allowed.\n if ((!$535772f9d2c1f38d$var$activeScope || $535772f9d2c1f38d$var$isAncestorScope($535772f9d2c1f38d$var$activeScope, scopeRef)) && $535772f9d2c1f38d$var$isElementInScope((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e), scopeRef.current)) {\n $535772f9d2c1f38d$var$activeScope = scopeRef;\n focusedNode.current = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e);\n } else if ($535772f9d2c1f38d$var$shouldContainFocus(scopeRef) && !$535772f9d2c1f38d$var$isElementInChildScope((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e), scopeRef)) {\n // If a focus event occurs outside the active scope (e.g. user tabs from browser location bar),\n // restore focus to the previously focused node or the first tabbable element in the active scope.\n if (focusedNode.current) focusedNode.current.focus();\n else if ($535772f9d2c1f38d$var$activeScope && $535772f9d2c1f38d$var$activeScope.current) $535772f9d2c1f38d$var$focusFirstInScope($535772f9d2c1f38d$var$activeScope.current);\n } else if ($535772f9d2c1f38d$var$shouldContainFocus(scopeRef)) focusedNode.current = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e);\n };\n let onBlur = (e)=>{\n // Firefox doesn't shift focus back to the Dialog properly without this\n if (raf.current) cancelAnimationFrame(raf.current);\n raf.current = requestAnimationFrame(()=>{\n // Patches infinite focus coersion loop for Android Talkback where the user isn't able to move the virtual cursor\n // if within a containing focus scope. Bug filed against Chrome: https://issuetracker.google.com/issues/384844019.\n // Note that this means focus can leave focus containing modals due to this, but it is isolated to Chrome Talkback.\n let modality = (0, $8f5a2122b0992be3$export$630ff653c5ada6a9)();\n let shouldSkipFocusRestore = (modality === 'virtual' || modality === null) && (0, $2add3ce32c6007eb$export$a11b0059900ceec8)() && (0, $2add3ce32c6007eb$export$6446a186d09e379e)();\n // Use document.activeElement instead of e.relatedTarget so we can tell if user clicked into iframe\n let activeElement = (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)(ownerDocument);\n if (!shouldSkipFocusRestore && activeElement && $535772f9d2c1f38d$var$shouldContainFocus(scopeRef) && !$535772f9d2c1f38d$var$isElementInChildScope(activeElement, scopeRef)) {\n $535772f9d2c1f38d$var$activeScope = scopeRef;\n let target = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e);\n if (target && target.isConnected) {\n focusedNode.current = target;\n focusedNode.current?.focus();\n } else if ($535772f9d2c1f38d$var$activeScope.current) $535772f9d2c1f38d$var$focusFirstInScope($535772f9d2c1f38d$var$activeScope.current);\n }\n });\n };\n ownerDocument.addEventListener('keydown', onKeyDown, false);\n ownerDocument.addEventListener('focusin', onFocus, false);\n scope?.forEach((element)=>element.addEventListener('focusin', onFocus, false));\n scope?.forEach((element)=>element.addEventListener('focusout', onBlur, false));\n return ()=>{\n ownerDocument.removeEventListener('keydown', onKeyDown, false);\n ownerDocument.removeEventListener('focusin', onFocus, false);\n scope?.forEach((element)=>element.removeEventListener('focusin', onFocus, false));\n scope?.forEach((element)=>element.removeEventListener('focusout', onBlur, false));\n };\n }, [\n scopeRef,\n contain\n ]);\n // This is a useLayoutEffect so it is guaranteed to run before our async synthetic blur\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n return ()=>{\n if (raf.current) cancelAnimationFrame(raf.current);\n };\n }, [\n raf\n ]);\n}\nfunction $535772f9d2c1f38d$var$isElementInAnyScope(element) {\n return $535772f9d2c1f38d$var$isElementInChildScope(element);\n}\nfunction $535772f9d2c1f38d$var$isElementInScope(element, scope) {\n if (!element) return false;\n if (!scope) return false;\n return scope.some((node)=>(0, $23f2114a1b82827e$export$4282f70798064fe0)(node, element));\n}\nfunction $535772f9d2c1f38d$var$isElementInChildScope(element, scope = null) {\n // If the element is within a top layer element (e.g. toasts), always allow moving focus there.\n if (element instanceof Element && element.closest('[data-react-aria-top-layer]')) return true;\n // node.contains in isElementInScope covers child scopes that are also DOM children,\n // but does not cover child scopes in portals.\n for (let { scopeRef: s } of $535772f9d2c1f38d$export$d06fae2ee68b101e.traverse($535772f9d2c1f38d$export$d06fae2ee68b101e.getTreeNode(scope))){\n if (s && $535772f9d2c1f38d$var$isElementInScope(element, s.current)) return true;\n }\n return false;\n}\nfunction $535772f9d2c1f38d$export$1258395f99bf9cbf(element) {\n return $535772f9d2c1f38d$var$isElementInChildScope(element, $535772f9d2c1f38d$var$activeScope);\n}\nfunction $535772f9d2c1f38d$var$isAncestorScope(ancestor, scope) {\n let parent = $535772f9d2c1f38d$export$d06fae2ee68b101e.getTreeNode(scope)?.parent;\n while(parent){\n if (parent.scopeRef === ancestor) return true;\n parent = parent.parent;\n }\n return false;\n}\nfunction $535772f9d2c1f38d$var$focusElement(element, scroll = false) {\n if (element != null && !scroll) try {\n (0, $f192c2f16961cbe0$export$80f3e147d781571c)(element);\n } catch {\n // ignore\n }\n else if (element != null) try {\n element.focus();\n } catch {\n // ignore\n }\n}\nfunction $535772f9d2c1f38d$var$getFirstInScope(scope, tabbable = true) {\n let sentinel = scope[0].previousElementSibling;\n let scopeRoot = $535772f9d2c1f38d$var$getScopeRoot(scope);\n let walker = $535772f9d2c1f38d$export$2d6ec8fc375ceafa(scopeRoot, {\n tabbable: tabbable\n }, scope);\n walker.currentNode = sentinel;\n let nextNode = walker.nextNode();\n // If the scope does not contain a tabbable element, use the first focusable element.\n if (tabbable && !nextNode) {\n scopeRoot = $535772f9d2c1f38d$var$getScopeRoot(scope);\n walker = $535772f9d2c1f38d$export$2d6ec8fc375ceafa(scopeRoot, {\n tabbable: false\n }, scope);\n walker.currentNode = sentinel;\n nextNode = walker.nextNode();\n }\n return nextNode;\n}\nfunction $535772f9d2c1f38d$var$focusFirstInScope(scope, tabbable = true) {\n $535772f9d2c1f38d$var$focusElement($535772f9d2c1f38d$var$getFirstInScope(scope, tabbable));\n}\nfunction $535772f9d2c1f38d$var$useAutoFocus(scopeRef, autoFocus) {\n const autoFocusRef = (0, $jmfRy$react).useRef(autoFocus);\n (0, $jmfRy$useEffect)(()=>{\n if (autoFocusRef.current) {\n $535772f9d2c1f38d$var$activeScope = scopeRef;\n const ownerDocument = (0, $d447af545b77c9f1$export$b204af158042fbac)(scopeRef.current ? scopeRef.current[0] : undefined);\n if (!$535772f9d2c1f38d$var$isElementInScope((0, $23f2114a1b82827e$export$cd4e5573fbe2b576)(ownerDocument), $535772f9d2c1f38d$var$activeScope.current) && scopeRef.current) $535772f9d2c1f38d$var$focusFirstInScope(scopeRef.current);\n }\n autoFocusRef.current = false;\n }, [\n scopeRef\n ]);\n}\nfunction $535772f9d2c1f38d$var$useActiveScopeTracker(scopeRef, restore, contain) {\n // tracks the active scope, in case restore and contain are both false.\n // if either are true, this is tracked in useRestoreFocus or useFocusContainment.\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n if (restore || contain) return;\n let scope = scopeRef.current;\n const ownerDocument = (0, $d447af545b77c9f1$export$b204af158042fbac)(scope ? scope[0] : undefined);\n let onFocus = (e)=>{\n let target = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e);\n if ($535772f9d2c1f38d$var$isElementInScope(target, scopeRef.current)) $535772f9d2c1f38d$var$activeScope = scopeRef;\n else if (!$535772f9d2c1f38d$var$isElementInAnyScope(target)) $535772f9d2c1f38d$var$activeScope = null;\n };\n ownerDocument.addEventListener('focusin', onFocus, false);\n scope?.forEach((element)=>element.addEventListener('focusin', onFocus, false));\n return ()=>{\n ownerDocument.removeEventListener('focusin', onFocus, false);\n scope?.forEach((element)=>element.removeEventListener('focusin', onFocus, false));\n };\n }, [\n scopeRef,\n restore,\n contain\n ]);\n}\nfunction $535772f9d2c1f38d$var$shouldRestoreFocus(scopeRef) {\n let scope = $535772f9d2c1f38d$export$d06fae2ee68b101e.getTreeNode($535772f9d2c1f38d$var$activeScope);\n while(scope && scope.scopeRef !== scopeRef){\n if (scope.nodeToRestore) return false;\n scope = scope.parent;\n }\n return scope?.scopeRef === scopeRef;\n}\nfunction $535772f9d2c1f38d$var$useRestoreFocus(scopeRef, restoreFocus, contain) {\n // create a ref during render instead of useLayoutEffect so the active element is saved before a child with autoFocus=true mounts.\n const nodeToRestoreRef = (0, $jmfRy$useRef)(typeof document !== 'undefined' ? (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)((0, $d447af545b77c9f1$export$b204af158042fbac)(scopeRef.current ? scopeRef.current[0] : undefined)) : null);\n // restoring scopes should all track if they are active regardless of contain, but contain already tracks it plus logic to contain the focus\n // restoring-non-containing scopes should only care if they become active so they can perform the restore\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n let scope = scopeRef.current;\n const ownerDocument = (0, $d447af545b77c9f1$export$b204af158042fbac)(scope ? scope[0] : undefined);\n if (!restoreFocus || contain) return;\n let onFocus = ()=>{\n // If focusing an element in a child scope of the currently active scope, the child becomes active.\n // Moving out of the active scope to an ancestor is not allowed.\n if ((!$535772f9d2c1f38d$var$activeScope || $535772f9d2c1f38d$var$isAncestorScope($535772f9d2c1f38d$var$activeScope, scopeRef)) && $535772f9d2c1f38d$var$isElementInScope((0, $23f2114a1b82827e$export$cd4e5573fbe2b576)(ownerDocument), scopeRef.current)) $535772f9d2c1f38d$var$activeScope = scopeRef;\n };\n ownerDocument.addEventListener('focusin', onFocus, false);\n scope?.forEach((element)=>element.addEventListener('focusin', onFocus, false));\n return ()=>{\n ownerDocument.removeEventListener('focusin', onFocus, false);\n scope?.forEach((element)=>element.removeEventListener('focusin', onFocus, false));\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n scopeRef,\n contain\n ]);\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n const ownerDocument = (0, $d447af545b77c9f1$export$b204af158042fbac)(scopeRef.current ? scopeRef.current[0] : undefined);\n if (!restoreFocus) return;\n // Handle the Tab key so that tabbing out of the scope goes to the next element\n // after the node that had focus when the scope mounted. This is important when\n // using portals for overlays, so that focus goes to the expected element when\n // tabbing out of the overlay.\n let onKeyDown = (e)=>{\n if (e.key !== 'Tab' || e.altKey || e.ctrlKey || e.metaKey || !$535772f9d2c1f38d$var$shouldContainFocus(scopeRef) || e.isComposing) return;\n let focusedElement = ownerDocument.activeElement;\n if (!$535772f9d2c1f38d$var$isElementInChildScope(focusedElement, scopeRef) || !$535772f9d2c1f38d$var$shouldRestoreFocus(scopeRef)) return;\n let treeNode = $535772f9d2c1f38d$export$d06fae2ee68b101e.getTreeNode(scopeRef);\n if (!treeNode) return;\n let nodeToRestore = treeNode.nodeToRestore;\n // Create a DOM tree walker that matches all tabbable elements\n let walker = $535772f9d2c1f38d$export$2d6ec8fc375ceafa(ownerDocument.body, {\n tabbable: true\n });\n // Find the next tabbable element after the currently focused element\n walker.currentNode = focusedElement;\n let nextElement = e.shiftKey ? walker.previousNode() : walker.nextNode();\n if (!nodeToRestore || !nodeToRestore.isConnected || nodeToRestore === ownerDocument.body) {\n nodeToRestore = undefined;\n treeNode.nodeToRestore = undefined;\n }\n // If there is no next element, or it is outside the current scope, move focus to the\n // next element after the node to restore to instead.\n if ((!nextElement || !$535772f9d2c1f38d$var$isElementInChildScope(nextElement, scopeRef)) && nodeToRestore) {\n walker.currentNode = nodeToRestore;\n // Skip over elements within the scope, in case the scope immediately follows the node to restore.\n do nextElement = e.shiftKey ? walker.previousNode() : walker.nextNode();\n while ($535772f9d2c1f38d$var$isElementInChildScope(nextElement, scopeRef));\n e.preventDefault();\n e.stopPropagation();\n if (nextElement) $535772f9d2c1f38d$var$focusElement(nextElement, true);\n else // If there is no next element and the nodeToRestore isn't within a FocusScope (i.e. we are leaving the top level focus scope)\n // then move focus to the body.\n // Otherwise restore focus to the nodeToRestore (e.g menu within a popover -> tabbing to close the menu should move focus to menu trigger)\n if (!$535772f9d2c1f38d$var$isElementInAnyScope(nodeToRestore)) focusedElement.blur();\n else $535772f9d2c1f38d$var$focusElement(nodeToRestore, true);\n }\n };\n if (!contain) ownerDocument.addEventListener('keydown', onKeyDown, true);\n return ()=>{\n if (!contain) ownerDocument.removeEventListener('keydown', onKeyDown, true);\n };\n }, [\n scopeRef,\n restoreFocus,\n contain\n ]);\n // useLayoutEffect instead of useEffect so the active element is saved synchronously instead of asynchronously.\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n const ownerDocument = (0, $d447af545b77c9f1$export$b204af158042fbac)(scopeRef.current ? scopeRef.current[0] : undefined);\n if (!restoreFocus) return;\n let treeNode = $535772f9d2c1f38d$export$d06fae2ee68b101e.getTreeNode(scopeRef);\n if (!treeNode) return;\n treeNode.nodeToRestore = nodeToRestoreRef.current ?? undefined;\n return ()=>{\n let treeNode = $535772f9d2c1f38d$export$d06fae2ee68b101e.getTreeNode(scopeRef);\n if (!treeNode) return;\n let nodeToRestore = treeNode.nodeToRestore;\n // if we already lost focus to the body and this was the active scope, then we should attempt to restore\n let activeElement = (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)(ownerDocument);\n if (restoreFocus && nodeToRestore && (activeElement && $535772f9d2c1f38d$var$isElementInChildScope(activeElement, scopeRef) || activeElement === ownerDocument.body && $535772f9d2c1f38d$var$shouldRestoreFocus(scopeRef))) {\n // freeze the focusScopeTree so it persists after the raf, otherwise during unmount nodes are removed from it\n let clonedTree = $535772f9d2c1f38d$export$d06fae2ee68b101e.clone();\n requestAnimationFrame(()=>{\n // Only restore focus if we've lost focus to the body, the alternative is that focus has been purposefully moved elsewhere\n if (ownerDocument.activeElement === ownerDocument.body) {\n // look up the tree starting with our scope to find a nodeToRestore still in the DOM\n let treeNode = clonedTree.getTreeNode(scopeRef);\n while(treeNode){\n if (treeNode.nodeToRestore && treeNode.nodeToRestore.isConnected) {\n $535772f9d2c1f38d$var$restoreFocusToElement(treeNode.nodeToRestore);\n return;\n }\n treeNode = treeNode.parent;\n }\n // If no nodeToRestore was found, focus the first element in the nearest\n // ancestor scope that is still in the tree.\n treeNode = clonedTree.getTreeNode(scopeRef);\n while(treeNode){\n if (treeNode.scopeRef && // TODO: this is probably a false positive based on naming, it's not a real ref, rename.\n // oxlint-disable-next-line react-hooks/exhaustive-deps\n treeNode.scopeRef.current && $535772f9d2c1f38d$export$d06fae2ee68b101e.getTreeNode(treeNode.scopeRef)) {\n // oxlint-disable-next-line react-hooks/exhaustive-deps\n let node = $535772f9d2c1f38d$var$getFirstInScope(treeNode.scopeRef.current, true);\n $535772f9d2c1f38d$var$restoreFocusToElement(node);\n return;\n }\n treeNode = treeNode.parent;\n }\n }\n });\n }\n };\n }, [\n scopeRef,\n restoreFocus\n ]);\n}\nfunction $535772f9d2c1f38d$var$restoreFocusToElement(node) {\n // Dispatch a custom event that parent elements can intercept to customize focus restoration.\n // For example, virtualized collection components reuse DOM elements, so the original element\n // might still exist in the DOM but representing a different item.\n if (node.dispatchEvent(new CustomEvent($535772f9d2c1f38d$var$RESTORE_FOCUS_EVENT, {\n bubbles: true,\n cancelable: true\n }))) $535772f9d2c1f38d$var$focusElement(node);\n}\nfunction $535772f9d2c1f38d$export$2d6ec8fc375ceafa(root, opts, scope) {\n let filter = opts?.tabbable ? (0, $3b8b240c1bf84ab9$export$bebd5a1431fec25d) : (0, $3b8b240c1bf84ab9$export$4c063cf1350e6fed);\n // Ensure that root is an Element or fall back appropriately\n let rootElement = root?.nodeType === Node.ELEMENT_NODE ? root : null;\n // Determine the document to use\n let doc = (0, $d447af545b77c9f1$export$b204af158042fbac)(rootElement);\n // Create a TreeWalker, ensuring the root is an Element or Document\n let walker = (0, $654b97e09f2a30c1$export$4d0f8be8b12a7ef6)(doc, root || doc, NodeFilter.SHOW_ELEMENT, {\n acceptNode (node) {\n // Skip nodes inside the starting node.\n if ((0, $23f2114a1b82827e$export$4282f70798064fe0)(opts?.from, node)) return NodeFilter.FILTER_REJECT;\n if (opts?.tabbable && node.tagName === 'INPUT' && node.getAttribute('type') === 'radio') {\n // If the radio is in a form, we can get all the other radios by name\n if (!$535772f9d2c1f38d$var$isTabbableRadio(node)) return NodeFilter.FILTER_REJECT;\n // If the radio is in the same group as the current node and none are selected, we can skip it\n if (walker.currentNode.tagName === 'INPUT' && walker.currentNode.type === 'radio' && walker.currentNode.name === node.name) return NodeFilter.FILTER_REJECT;\n }\n if (filter(node) && (!scope || $535772f9d2c1f38d$var$isElementInScope(node, scope)) && (!opts?.accept || opts.accept(node))) return NodeFilter.FILTER_ACCEPT;\n return NodeFilter.FILTER_SKIP;\n }\n });\n if (opts?.from) walker.currentNode = opts.from;\n return walker;\n}\nfunction $535772f9d2c1f38d$export$c5251b9e124bf29(ref, defaultOptions = {}) {\n return {\n focusNext (opts = {}) {\n let root = ref.current;\n if (!root) return null;\n let { from: from, tabbable: tabbable = defaultOptions.tabbable, wrap: wrap = defaultOptions.wrap, accept: accept = defaultOptions.accept } = opts;\n let node = from || (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)((0, $d447af545b77c9f1$export$b204af158042fbac)(root));\n let walker = $535772f9d2c1f38d$export$2d6ec8fc375ceafa(root, {\n tabbable: tabbable,\n accept: accept\n });\n if ((0, $23f2114a1b82827e$export$4282f70798064fe0)(root, node)) walker.currentNode = node;\n let nextNode = walker.nextNode();\n if (!nextNode && wrap) {\n walker.currentNode = root;\n nextNode = walker.nextNode();\n }\n if (nextNode) $535772f9d2c1f38d$var$focusElement(nextNode, true);\n return nextNode;\n },\n focusPrevious (opts = defaultOptions) {\n let root = ref.current;\n if (!root) return null;\n let { from: from, tabbable: tabbable = defaultOptions.tabbable, wrap: wrap = defaultOptions.wrap, accept: accept = defaultOptions.accept } = opts;\n let node = from || (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)((0, $d447af545b77c9f1$export$b204af158042fbac)(root));\n let walker = $535772f9d2c1f38d$export$2d6ec8fc375ceafa(root, {\n tabbable: tabbable,\n accept: accept\n });\n if ((0, $23f2114a1b82827e$export$4282f70798064fe0)(root, node)) walker.currentNode = node;\n else {\n let next = $535772f9d2c1f38d$var$last(walker);\n if (next) $535772f9d2c1f38d$var$focusElement(next, true);\n return next ?? null;\n }\n let previousNode = walker.previousNode();\n if (!previousNode && wrap) {\n walker.currentNode = root;\n let lastNode = $535772f9d2c1f38d$var$last(walker);\n if (!lastNode) // couldn't wrap\n return null;\n previousNode = lastNode;\n }\n if (previousNode) $535772f9d2c1f38d$var$focusElement(previousNode, true);\n return previousNode ?? null;\n },\n focusFirst (opts = defaultOptions) {\n let root = ref.current;\n if (!root) return null;\n let { tabbable: tabbable = defaultOptions.tabbable, accept: accept = defaultOptions.accept } = opts;\n let walker = $535772f9d2c1f38d$export$2d6ec8fc375ceafa(root, {\n tabbable: tabbable,\n accept: accept\n });\n let nextNode = walker.nextNode();\n if (nextNode) $535772f9d2c1f38d$var$focusElement(nextNode, true);\n return nextNode;\n },\n focusLast (opts = defaultOptions) {\n let root = ref.current;\n if (!root) return null;\n let { tabbable: tabbable = defaultOptions.tabbable, accept: accept = defaultOptions.accept } = opts;\n let walker = $535772f9d2c1f38d$export$2d6ec8fc375ceafa(root, {\n tabbable: tabbable,\n accept: accept\n });\n let next = $535772f9d2c1f38d$var$last(walker);\n if (next) $535772f9d2c1f38d$var$focusElement(next, true);\n return next ?? null;\n }\n };\n}\nfunction $535772f9d2c1f38d$var$last(walker) {\n let next = undefined;\n let last;\n do {\n last = walker.lastChild();\n if (last) next = last;\n }while (last);\n return next;\n}\nclass $535772f9d2c1f38d$var$Tree {\n constructor(){\n this.fastMap = new Map();\n this.root = new $535772f9d2c1f38d$var$TreeNode({\n scopeRef: null\n });\n this.fastMap.set(null, this.root);\n }\n get size() {\n return this.fastMap.size;\n }\n getTreeNode(data) {\n return this.fastMap.get(data);\n }\n addTreeNode(scopeRef, parent, nodeToRestore) {\n let parentNode = this.fastMap.get(parent ?? null);\n if (!parentNode) return;\n let node = new $535772f9d2c1f38d$var$TreeNode({\n scopeRef: scopeRef\n });\n parentNode.addChild(node);\n node.parent = parentNode;\n this.fastMap.set(scopeRef, node);\n if (nodeToRestore) node.nodeToRestore = nodeToRestore;\n }\n addNode(node) {\n this.fastMap.set(node.scopeRef, node);\n }\n removeTreeNode(scopeRef) {\n // never remove the root\n if (scopeRef === null) return;\n let node = this.fastMap.get(scopeRef);\n if (!node) return;\n let parentNode = node.parent;\n // when we remove a scope, check if any sibling scopes are trying to restore focus to something inside the scope we're removing\n // if we are, then replace the siblings restore with the restore from the scope we're removing\n for (let current of this.traverse())if (current !== node && node.nodeToRestore && current.nodeToRestore && node.scopeRef && node.scopeRef.current && $535772f9d2c1f38d$var$isElementInScope(current.nodeToRestore, node.scopeRef.current)) current.nodeToRestore = node.nodeToRestore;\n let children = node.children;\n if (parentNode) {\n parentNode.removeChild(node);\n if (children.size > 0) children.forEach((child)=>parentNode && parentNode.addChild(child));\n }\n this.fastMap.delete(node.scopeRef);\n }\n // Pre Order Depth First\n *traverse(node = this.root) {\n if (node.scopeRef != null) yield node;\n if (node.children.size > 0) for (let child of node.children)yield* this.traverse(child);\n }\n clone() {\n let newTree = new $535772f9d2c1f38d$var$Tree();\n for (let node of this.traverse())newTree.addTreeNode(node.scopeRef, node.parent?.scopeRef ?? null, node.nodeToRestore);\n return newTree;\n }\n}\nclass $535772f9d2c1f38d$var$TreeNode {\n constructor(props){\n this.children = new Set();\n this.contain = false;\n this.scopeRef = props.scopeRef;\n }\n addChild(node) {\n this.children.add(node);\n node.parent = this;\n }\n removeChild(node) {\n this.children.delete(node);\n node.parent = undefined;\n }\n}\nlet $535772f9d2c1f38d$export$d06fae2ee68b101e = new $535772f9d2c1f38d$var$Tree();\n\n\nexport {$535772f9d2c1f38d$export$20e40289641fbbb6 as FocusScope, $535772f9d2c1f38d$export$d06fae2ee68b101e as focusScopeTree, $535772f9d2c1f38d$export$10c5169755ce7bd7 as useFocusManager, $535772f9d2c1f38d$export$2d6ec8fc375ceafa as getFocusableTreeWalker, $535772f9d2c1f38d$export$1258395f99bf9cbf as isElementInChildOfActiveScope, $535772f9d2c1f38d$export$c5251b9e124bf29 as createFocusManager};\n//# sourceMappingURL=FocusScope.mjs.map\n","import {isAppleDevice as $2add3ce32c6007eb$export$e1865c3bedcd822b} from \"../utils/platform.mjs\";\nimport {useId as $390e54f620492c70$export$f680877a34711e37} from \"../utils/useId.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $22bbea12c2567021$export$d3e3bd3e26688c04(e) {\n // Ctrl + Arrow Up/Arrow Down has a system wide meaning on macOS, so use Alt instead.\n // On Windows and Ubuntu, Alt + Space has a system wide meaning.\n return (0, $2add3ce32c6007eb$export$e1865c3bedcd822b)() ? e.altKey : e.ctrlKey;\n}\nfunction $22bbea12c2567021$export$c3d8340acf92597f(collectionRef, key) {\n let selector = `[data-key=\"${CSS.escape(String(key))}\"]`;\n let collection = collectionRef.current?.dataset.collection;\n if (collection) selector = `[data-collection=\"${CSS.escape(collection)}\"]${selector}`;\n return collectionRef.current?.querySelector(selector);\n}\nconst $22bbea12c2567021$var$collectionMap = new WeakMap();\nfunction $22bbea12c2567021$export$881eb0d9f3605d9d(collection) {\n let id = (0, $390e54f620492c70$export$f680877a34711e37)();\n $22bbea12c2567021$var$collectionMap.set(collection, id);\n return id;\n}\nfunction $22bbea12c2567021$export$6aeb1680a0ae8741(collection) {\n return $22bbea12c2567021$var$collectionMap.get(collection);\n}\n\n\nexport {$22bbea12c2567021$export$d3e3bd3e26688c04 as isNonContiguousSelectionModifier, $22bbea12c2567021$export$c3d8340acf92597f as getItemElement, $22bbea12c2567021$export$881eb0d9f3605d9d as useCollectionId, $22bbea12c2567021$export$6aeb1680a0ae8741 as getCollectionId};\n//# sourceMappingURL=utils.mjs.map\n","import {getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29, nodeContains as $23f2114a1b82827e$export$4282f70798064fe0} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {useRef as $dLAPo$useRef} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n/**\n * Controls how long to wait before clearing the typeahead buffer.\n */ const $f5a4a9a3486154da$var$TYPEAHEAD_DEBOUNCE_WAIT_MS = 1000; // 1 second\nfunction $f5a4a9a3486154da$export$e32c88dfddc6e1d8(options) {\n let { keyboardDelegate: keyboardDelegate, selectionManager: selectionManager, onTypeSelect: onTypeSelect } = options;\n let state = (0, $dLAPo$useRef)({\n search: '',\n timeout: undefined\n }).current;\n let onKeyDown = (e)=>{\n let character = $f5a4a9a3486154da$var$getStringForKey(e.key);\n if (!character || e.ctrlKey || e.metaKey || !(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e)) || state.search.length === 0 && character === ' ') return;\n // Do not propagate the Spacebar event if it's meant to be part of the search.\n // When we time out, the search term becomes empty, hence the check on length.\n // Trimming is to account for the case of pressing the Spacebar more than once,\n // which should cycle through the selection/deselection of the focused item.\n if (character === ' ' && state.search.trim().length > 0) {\n e.preventDefault();\n if (!('continuePropagation' in e)) e.stopPropagation();\n }\n state.search += character;\n if (keyboardDelegate.getKeyForSearch != null) {\n // Use the delegate to find a key to focus.\n // Prioritize items after the currently focused item, falling back to searching the whole list.\n let key = keyboardDelegate.getKeyForSearch(state.search, selectionManager.focusedKey);\n // If no key found, search from the top.\n if (key == null) key = keyboardDelegate.getKeyForSearch(state.search);\n if (key != null) {\n selectionManager.setFocusedKey(key);\n if (onTypeSelect) onTypeSelect(key);\n }\n }\n clearTimeout(state.timeout);\n state.timeout = setTimeout(()=>{\n state.search = '';\n }, $f5a4a9a3486154da$var$TYPEAHEAD_DEBOUNCE_WAIT_MS);\n };\n return {\n typeSelectProps: {\n // Using a capturing listener to catch the keydown event before\n // other hooks in order to handle the Spacebar event.\n onKeyDownCapture: keyboardDelegate.getKeyForSearch ? onKeyDown : undefined\n }\n };\n}\nfunction $f5a4a9a3486154da$var$getStringForKey(key) {\n // If the key is of length 1, it is an ASCII value.\n // Otherwise, if there are no ASCII characters in the key name,\n // it is a Unicode character.\n // See https://www.w3.org/TR/uievents-key/\n if (key.length === 1 || !/^[A-Z]/i.test(key)) return key;\n return '';\n}\n\n\nexport {$f5a4a9a3486154da$export$e32c88dfddc6e1d8 as useTypeSelect};\n//# sourceMappingURL=useTypeSelect.mjs.map\n","import {useLayoutEffect as $c4867b2f328c2698$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport {useRef as $cgy5r$useRef} from \"react\";\n\n/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $a475cdc2445827b5$export$72ef708ab07251f1(effect, dependencies) {\n const isInitialMount = (0, $cgy5r$useRef)(true);\n const lastDeps = (0, $cgy5r$useRef)(null);\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n isInitialMount.current = true;\n return ()=>{\n isInitialMount.current = false;\n };\n }, []);\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n if (isInitialMount.current) isInitialMount.current = false;\n else if (!lastDeps.current || dependencies.some((dep, i)=>!Object.is(dep, lastDeps[i]))) effect();\n lastDeps.current = dependencies;\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, dependencies);\n}\n\n\nexport {$a475cdc2445827b5$export$72ef708ab07251f1 as useUpdateLayoutEffect};\n//# sourceMappingURL=useUpdateLayoutEffect.mjs.map\n","import {CLEAR_FOCUS_EVENT as $8b2399d051d06d4c$export$447a38995de2c711, FOCUS_EVENT as $8b2399d051d06d4c$export$831c820ad60f9d12} from \"../utils/constants.mjs\";\nimport {dispatchVirtualFocus as $b72f3f7b3b5f42c6$export$2b35b76d2e30e129, moveVirtualFocus as $b72f3f7b3b5f42c6$export$76e4e37e5339496d} from \"../focus/virtualFocus.mjs\";\nimport {focusSafely as $f192c2f16961cbe0$export$80f3e147d781571c} from \"../interactions/focusSafely.mjs\";\nimport {focusWithoutScrolling as $1969ac565cfec8d0$export$de79e2c695e052f3} from \"../utils/focusWithoutScrolling.mjs\";\nimport {getActiveElement as $23f2114a1b82827e$export$cd4e5573fbe2b576, getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29, isFocusWithin as $23f2114a1b82827e$export$b4f377a2b6254582, nodeContains as $23f2114a1b82827e$export$4282f70798064fe0} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {getFocusableTreeWalker as $535772f9d2c1f38d$export$2d6ec8fc375ceafa} from \"../focus/FocusScope.mjs\";\nimport {getInteractionModality as $8f5a2122b0992be3$export$630ff653c5ada6a9} from \"../interactions/useFocusVisible.mjs\";\nimport {getItemElement as $22bbea12c2567021$export$c3d8340acf92597f, isNonContiguousSelectionModifier as $22bbea12c2567021$export$d3e3bd3e26688c04, useCollectionId as $22bbea12c2567021$export$881eb0d9f3605d9d} from \"./utils.mjs\";\nimport {isCtrlKeyPressed as $bb39c0fc1c19b34c$export$16792effe837dba3} from \"../utils/keyboard.mjs\";\nimport {isTabbable as $3b8b240c1bf84ab9$export$bebd5a1431fec25d} from \"../utils/isFocusable.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {scrollIntoView as $51a3e22a5186a962$export$53a0910f038337bd, scrollIntoViewport as $51a3e22a5186a962$export$c826860796309d1b} from \"../utils/scrollIntoView.mjs\";\nimport {useEvent as $600b3cf69ae46262$export$90fc3a17d93f704c} from \"../utils/useEvent.mjs\";\nimport {useLocale as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7} from \"../i18n/I18nProvider.mjs\";\nimport {useRouter as $caaf0dd3060ed57c$export$9a302a45f65d0572} from \"../utils/openLink.mjs\";\nimport {useTypeSelect as $f5a4a9a3486154da$export$e32c88dfddc6e1d8} from \"./useTypeSelect.mjs\";\nimport {useUpdateLayoutEffect as $a475cdc2445827b5$export$72ef708ab07251f1} from \"../utils/useUpdateLayoutEffect.mjs\";\nimport {flushSync as $V3AJM$flushSync} from \"react-dom\";\nimport {useRef as $V3AJM$useRef, useEffect as $V3AJM$useEffect} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction $d667c2af82d35a98$export$d6daf82dcd84e87c(options) {\n let { selectionManager: manager, keyboardDelegate: delegate, ref: ref, autoFocus: autoFocus = false, shouldFocusWrap: shouldFocusWrap = false, disallowEmptySelection: disallowEmptySelection = false, disallowSelectAll: disallowSelectAll = false, escapeKeyBehavior: escapeKeyBehavior = 'clearSelection', selectOnFocus: selectOnFocus = manager.selectionBehavior === 'replace', disallowTypeAhead: disallowTypeAhead = false, shouldUseVirtualFocus: shouldUseVirtualFocus, allowsTabNavigation: allowsTabNavigation = false, scrollRef: // If no scrollRef is provided, assume the collection ref is the scrollable region\n scrollRef = ref, linkBehavior: linkBehavior = 'action' } = options;\n let { direction: direction } = (0, $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7)();\n let router = (0, $caaf0dd3060ed57c$export$9a302a45f65d0572)();\n let onKeyDown = (e)=>{\n // Prevent option + tab from doing anything since it doesn't move focus to the cells, only buttons/checkboxes\n if (e.altKey && e.key === 'Tab') e.preventDefault();\n // Keyboard events bubble through portals. Don't handle keyboard events\n // for elements outside the collection (e.g. menus).\n if (!ref.current || !(0, $23f2114a1b82827e$export$4282f70798064fe0)(ref.current, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n const navigateToKey = (key, childFocus)=>{\n if (key != null) {\n if (manager.isLink(key) && linkBehavior === 'selection' && selectOnFocus && !(0, $22bbea12c2567021$export$d3e3bd3e26688c04)(e)) {\n // Set focused key and re-render synchronously to bring item into view if needed.\n (0, $V3AJM$flushSync)(()=>{\n manager.setFocusedKey(key, childFocus);\n });\n let item = (0, $22bbea12c2567021$export$c3d8340acf92597f)(ref, key);\n let itemProps = manager.getItemProps(key);\n if (item) router.open(item, e, itemProps.href, itemProps.routerOptions);\n return;\n }\n manager.setFocusedKey(key, childFocus);\n if (manager.isLink(key) && linkBehavior === 'override') return;\n if (e.shiftKey && manager.selectionMode === 'multiple') manager.extendSelection(key);\n else if (selectOnFocus && !(0, $22bbea12c2567021$export$d3e3bd3e26688c04)(e)) manager.replaceSelection(key);\n }\n };\n switch(e.key){\n case 'ArrowDown':\n if (delegate.getKeyBelow) {\n let nextKey = manager.focusedKey != null ? delegate.getKeyBelow?.(manager.focusedKey) : delegate.getFirstKey?.();\n if (nextKey == null && shouldFocusWrap) nextKey = delegate.getFirstKey?.(manager.focusedKey);\n if (nextKey != null) {\n e.preventDefault();\n navigateToKey(nextKey);\n }\n }\n break;\n case 'ArrowUp':\n if (delegate.getKeyAbove) {\n let nextKey = manager.focusedKey != null ? delegate.getKeyAbove?.(manager.focusedKey) : delegate.getLastKey?.();\n if (nextKey == null && shouldFocusWrap) nextKey = delegate.getLastKey?.(manager.focusedKey);\n if (nextKey != null) {\n e.preventDefault();\n navigateToKey(nextKey);\n }\n }\n break;\n case 'ArrowLeft':\n if (delegate.getKeyLeftOf) {\n let nextKey = manager.focusedKey != null ? delegate.getKeyLeftOf?.(manager.focusedKey) : delegate.getFirstKey?.();\n if (nextKey == null && shouldFocusWrap) nextKey = direction === 'rtl' ? delegate.getFirstKey?.(manager.focusedKey) : delegate.getLastKey?.(manager.focusedKey);\n if (nextKey != null) {\n e.preventDefault();\n navigateToKey(nextKey, direction === 'rtl' ? 'first' : 'last');\n }\n }\n break;\n case 'ArrowRight':\n if (delegate.getKeyRightOf) {\n let nextKey = manager.focusedKey != null ? delegate.getKeyRightOf?.(manager.focusedKey) : delegate.getFirstKey?.();\n if (nextKey == null && shouldFocusWrap) nextKey = direction === 'rtl' ? delegate.getLastKey?.(manager.focusedKey) : delegate.getFirstKey?.(manager.focusedKey);\n if (nextKey != null) {\n e.preventDefault();\n navigateToKey(nextKey, direction === 'rtl' ? 'last' : 'first');\n }\n }\n break;\n case 'Home':\n if (delegate.getFirstKey) {\n if (manager.focusedKey === null && e.shiftKey) return;\n e.preventDefault();\n let firstKey = delegate.getFirstKey(manager.focusedKey, (0, $bb39c0fc1c19b34c$export$16792effe837dba3)(e));\n manager.setFocusedKey(firstKey);\n if (firstKey != null) {\n if ((0, $bb39c0fc1c19b34c$export$16792effe837dba3)(e) && e.shiftKey && manager.selectionMode === 'multiple') manager.extendSelection(firstKey);\n else if (selectOnFocus) manager.replaceSelection(firstKey);\n }\n }\n break;\n case 'End':\n if (delegate.getLastKey) {\n if (manager.focusedKey === null && e.shiftKey) return;\n e.preventDefault();\n let lastKey = delegate.getLastKey(manager.focusedKey, (0, $bb39c0fc1c19b34c$export$16792effe837dba3)(e));\n manager.setFocusedKey(lastKey);\n if (lastKey != null) {\n if ((0, $bb39c0fc1c19b34c$export$16792effe837dba3)(e) && e.shiftKey && manager.selectionMode === 'multiple') manager.extendSelection(lastKey);\n else if (selectOnFocus) manager.replaceSelection(lastKey);\n }\n }\n break;\n case 'PageDown':\n if (delegate.getKeyPageBelow && manager.focusedKey != null) {\n let nextKey = delegate.getKeyPageBelow(manager.focusedKey);\n if (nextKey != null) {\n e.preventDefault();\n navigateToKey(nextKey);\n }\n }\n break;\n case 'PageUp':\n if (delegate.getKeyPageAbove && manager.focusedKey != null) {\n let nextKey = delegate.getKeyPageAbove(manager.focusedKey);\n if (nextKey != null) {\n e.preventDefault();\n navigateToKey(nextKey);\n }\n }\n break;\n case 'a':\n if ((0, $bb39c0fc1c19b34c$export$16792effe837dba3)(e) && manager.selectionMode === 'multiple' && disallowSelectAll !== true) {\n e.preventDefault();\n manager.selectAll();\n }\n break;\n case 'Escape':\n if (escapeKeyBehavior === 'clearSelection' && !disallowEmptySelection && manager.selectedKeys.size !== 0) {\n e.stopPropagation();\n e.preventDefault();\n manager.clearSelection();\n }\n break;\n case 'Tab':\n if (!allowsTabNavigation) {\n // There may be elements that are \"tabbable\" inside a collection (e.g. in a grid cell).\n // However, collections should be treated as a single tab stop, with arrow key navigation internally.\n // We don't control the rendering of these, so we can't override the tabIndex to prevent tabbing.\n // Instead, we handle the Tab key, and move focus manually to the first/last tabbable element\n // in the collection, so that the browser default behavior will apply starting from that element\n // rather than the currently focused one.\n if (e.shiftKey) ref.current.focus();\n else {\n let walker = (0, $535772f9d2c1f38d$export$2d6ec8fc375ceafa)(ref.current, {\n tabbable: true\n });\n let next = undefined;\n let last;\n do {\n last = walker.lastChild();\n // oxlint-disable-next-line max-depth\n if (last) next = last;\n }while (last);\n // If the active element is NOT tabbable but is contained by an element that IS tabbable (aka the cell), the browser will actually move focus to\n // the containing element. We need to special case this so that tab will move focus out of the grid instead of looping between\n // focusing the containing cell and back to the non-tabbable child element\n let activeElement = (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)();\n if (next && (!(0, $23f2114a1b82827e$export$b4f377a2b6254582)(next) || activeElement && !(0, $3b8b240c1bf84ab9$export$bebd5a1431fec25d)(activeElement))) (0, $1969ac565cfec8d0$export$de79e2c695e052f3)(next);\n }\n break;\n }\n }\n };\n // Store the scroll position so we can restore it later.\n /// TODO: should this happen all the time??\n let scrollPos = (0, $V3AJM$useRef)({\n top: 0,\n left: 0\n });\n (0, $600b3cf69ae46262$export$90fc3a17d93f704c)(scrollRef, 'scroll', ()=>{\n scrollPos.current = {\n top: scrollRef.current?.scrollTop ?? 0,\n left: scrollRef.current?.scrollLeft ?? 0\n };\n });\n let onFocus = (e)=>{\n if (manager.isFocused) {\n // If a focus event bubbled through a portal, reset focus state.\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) manager.setFocused(false);\n return;\n }\n // Focus events can bubble through portals. Ignore these events.\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n manager.setFocused(true);\n if (manager.focusedKey == null) {\n let navigateToKey = (key)=>{\n if (key != null) {\n manager.setFocusedKey(key);\n if (selectOnFocus && !manager.isSelected(key)) manager.replaceSelection(key);\n }\n };\n // If the user hasn't yet interacted with the collection, there will be no focusedKey set.\n // Attempt to detect whether the user is tabbing forward or backward into the collection\n // and either focus the first or last item accordingly.\n let relatedTarget = e.relatedTarget;\n if (relatedTarget && e.currentTarget.compareDocumentPosition(relatedTarget) & Node.DOCUMENT_POSITION_FOLLOWING) navigateToKey(manager.lastSelectedKey ?? delegate.getLastKey?.());\n else navigateToKey(manager.firstSelectedKey ?? delegate.getFirstKey?.());\n } else if (scrollRef.current) {\n // Restore the scroll position to what it was before.\n scrollRef.current.scrollTop = scrollPos.current.top;\n scrollRef.current.scrollLeft = scrollPos.current.left;\n }\n if (manager.focusedKey != null && scrollRef.current) {\n // Refocus and scroll the focused item into view if it exists within the scrollable region.\n let element = (0, $22bbea12c2567021$export$c3d8340acf92597f)(ref, manager.focusedKey);\n if (element instanceof HTMLElement) {\n // This prevents a flash of focus on the first/last element in the collection, or the collection itself.\n if (!(0, $23f2114a1b82827e$export$b4f377a2b6254582)(element) && !shouldUseVirtualFocus) (0, $1969ac565cfec8d0$export$de79e2c695e052f3)(element);\n let modality = (0, $8f5a2122b0992be3$export$630ff653c5ada6a9)();\n if (modality === 'keyboard') (0, $51a3e22a5186a962$export$c826860796309d1b)(element, {\n containingElement: ref.current\n });\n }\n }\n };\n let onBlur = (e)=>{\n // Don't set blurred and then focused again if moving focus within the collection.\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, e.relatedTarget)) manager.setFocused(false);\n };\n // Ref to track whether the first item in the collection should be automatically focused. Specifically used for autocomplete when user types\n // to focus the first key AFTER the collection updates.\n // TODO: potentially expand the usage of this\n let shouldVirtualFocusFirst = (0, $V3AJM$useRef)(false);\n // Add event listeners for custom virtual events. These handle updating the focused key in response to various keyboard events\n // at the autocomplete level\n // TODO: fix type later\n (0, $600b3cf69ae46262$export$90fc3a17d93f704c)(ref, (0, $8b2399d051d06d4c$export$831c820ad60f9d12), !shouldUseVirtualFocus ? undefined : (e)=>{\n let { detail: detail } = e;\n e.stopPropagation();\n manager.setFocused(true);\n // If the user is typing forwards, autofocus the first option in the list.\n if (detail?.focusStrategy === 'first') shouldVirtualFocusFirst.current = true;\n });\n // update active descendant\n (0, $a475cdc2445827b5$export$72ef708ab07251f1)(()=>{\n if (shouldVirtualFocusFirst.current) {\n let keyToFocus = delegate.getFirstKey?.() ?? null;\n // If no focusable items exist in the list, make sure to clear any activedescendant that may still exist and move focus back to\n // the original active element (e.g. the autocomplete input)\n if (keyToFocus == null) {\n let previousActiveElement = (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)();\n (0, $b72f3f7b3b5f42c6$export$76e4e37e5339496d)(ref.current);\n (0, $b72f3f7b3b5f42c6$export$2b35b76d2e30e129)(previousActiveElement, null);\n // If there wasn't a focusable key but the collection had items, then that means we aren't in an intermediate load state and all keys are disabled.\n // Reset shouldVirtualFocusFirst so that we don't erronously autofocus an item when the collection is filtered again.\n if (manager.collection.size > 0) shouldVirtualFocusFirst.current = false;\n } else {\n manager.setFocusedKey(keyToFocus);\n // Only set shouldVirtualFocusFirst to false if we've successfully set the first key as the focused key\n // If there wasn't a key to focus, we might be in a temporary loading state so we'll want to still focus the first key\n // after the collection updates after load\n shouldVirtualFocusFirst.current = false;\n }\n }\n }, [\n manager.collection\n ]);\n // reset focus first flag\n (0, $a475cdc2445827b5$export$72ef708ab07251f1)(()=>{\n // If user causes the focused key to change in any other way, clear shouldVirtualFocusFirst so we don't\n // accidentally move focus from under them. Skip this if the collection was empty because we might be in a load\n // state and will still want to focus the first item after load\n if (manager.collection.size > 0) shouldVirtualFocusFirst.current = false;\n }, [\n manager.focusedKey\n ]);\n (0, $600b3cf69ae46262$export$90fc3a17d93f704c)(ref, (0, $8b2399d051d06d4c$export$447a38995de2c711), !shouldUseVirtualFocus ? undefined : (e)=>{\n e.stopPropagation();\n manager.setFocused(false);\n if (e.detail?.clearFocusKey) manager.setFocusedKey(null);\n });\n const autoFocusRef = (0, $V3AJM$useRef)(autoFocus);\n const didAutoFocusRef = (0, $V3AJM$useRef)(false);\n (0, $V3AJM$useEffect)(()=>{\n if (autoFocusRef.current) {\n let focusedKey = null;\n // Check focus strategy to determine which item to focus\n if (autoFocus === 'first') focusedKey = delegate.getFirstKey?.() ?? null;\n if (autoFocus === 'last') focusedKey = delegate.getLastKey?.() ?? null;\n // If there are any selected keys, make the first one the new focus target\n let selectedKeys = manager.selectedKeys;\n if (selectedKeys.size) {\n for (let key of selectedKeys)if (manager.canSelectItem(key)) {\n focusedKey = key;\n break;\n }\n }\n manager.setFocused(true);\n manager.setFocusedKey(focusedKey);\n // If no default focus key is selected, focus the collection itself.\n if (focusedKey == null && !shouldUseVirtualFocus && ref.current) (0, $f192c2f16961cbe0$export$80f3e147d781571c)(ref.current);\n // Wait until the collection has items to autofocus.\n if (manager.collection.size > 0) {\n autoFocusRef.current = false;\n didAutoFocusRef.current = true;\n }\n }\n });\n // Scroll the focused element into view when the focusedKey changes.\n let lastFocusedKey = (0, $V3AJM$useRef)(manager.focusedKey);\n let raf = (0, $V3AJM$useRef)(null);\n (0, $V3AJM$useEffect)(()=>{\n if (manager.isFocused && manager.focusedKey != null && (manager.focusedKey !== lastFocusedKey.current || didAutoFocusRef.current) && scrollRef.current && ref.current) {\n let modality = (0, $8f5a2122b0992be3$export$630ff653c5ada6a9)();\n let element = (0, $22bbea12c2567021$export$c3d8340acf92597f)(ref, manager.focusedKey);\n if (!(element instanceof HTMLElement)) // If item element wasn't found, return early (don't update autoFocusRef and lastFocusedKey).\n // The collection may initially be empty (e.g. virtualizer), so wait until the element exists.\n return;\n if (modality === 'keyboard' || didAutoFocusRef.current) {\n if (raf.current) cancelAnimationFrame(raf.current);\n raf.current = requestAnimationFrame(()=>{\n if (scrollRef.current) {\n (0, $51a3e22a5186a962$export$53a0910f038337bd)(scrollRef.current, element);\n // Avoid scroll in iOS VO, since it may cause overlay to close (i.e. RAC submenu)\n if (modality !== 'virtual') (0, $51a3e22a5186a962$export$c826860796309d1b)(element, {\n containingElement: ref.current\n });\n }\n });\n }\n }\n // If the focused key becomes null (e.g. the last item is deleted), focus the whole collection.\n if (!shouldUseVirtualFocus && manager.isFocused && manager.focusedKey == null && lastFocusedKey.current != null && ref.current) (0, $f192c2f16961cbe0$export$80f3e147d781571c)(ref.current);\n lastFocusedKey.current = manager.focusedKey;\n didAutoFocusRef.current = false;\n });\n (0, $V3AJM$useEffect)(()=>{\n return ()=>{\n if (raf.current) cancelAnimationFrame(raf.current);\n };\n }, []);\n // Intercept FocusScope restoration since virtualized collections can reuse DOM nodes.\n (0, $600b3cf69ae46262$export$90fc3a17d93f704c)(ref, 'react-aria-focus-scope-restore', (e)=>{\n e.preventDefault();\n manager.setFocused(true);\n });\n let handlers = {\n onKeyDown: onKeyDown,\n onFocus: onFocus,\n onBlur: onBlur,\n onMouseDown (e) {\n // Ignore events that bubbled through portals.\n if (scrollRef.current === (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e)) // Prevent focus going to the collection when clicking on the scrollbar.\n e.preventDefault();\n }\n };\n let { typeSelectProps: typeSelectProps } = (0, $f5a4a9a3486154da$export$e32c88dfddc6e1d8)({\n keyboardDelegate: delegate,\n selectionManager: manager\n });\n if (!disallowTypeAhead) handlers = (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(typeSelectProps, handlers);\n // If nothing is focused within the collection, make the collection itself tabbable.\n // This will be marshalled to either the first or last item depending on where focus came from.\n let tabIndex = undefined;\n if (!shouldUseVirtualFocus) tabIndex = manager.focusedKey == null ? 0 : -1;\n let collectionId = (0, $22bbea12c2567021$export$881eb0d9f3605d9d)(manager.collection);\n return {\n collectionProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(handlers, {\n tabIndex: tabIndex,\n 'data-collection': collectionId\n })\n };\n}\n\n\nexport {$d667c2af82d35a98$export$d6daf82dcd84e87c as useSelectableCollection};\n//# sourceMappingURL=useSelectableCollection.mjs.map\n","import {getItemElement as $22bbea12c2567021$export$c3d8340acf92597f} from \"./utils.mjs\";\n\n/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nclass $a83747cc3f035330$export$8f5ed9ff9f511381 {\n constructor(ref){\n this.ref = ref;\n }\n getItemRect(key) {\n let container = this.ref.current;\n if (!container) return null;\n let item = key != null ? (0, $22bbea12c2567021$export$c3d8340acf92597f)(this.ref, key) : null;\n if (!item) return null;\n let containerRect = container.getBoundingClientRect();\n let itemRect = item.getBoundingClientRect();\n return {\n x: itemRect.left - containerRect.left - container.clientLeft + container.scrollLeft,\n y: itemRect.top - containerRect.top - container.clientTop + container.scrollTop,\n width: itemRect.width,\n height: itemRect.height\n };\n }\n getContentSize() {\n let container = this.ref.current;\n return {\n width: container?.scrollWidth ?? 0,\n height: container?.scrollHeight ?? 0\n };\n }\n getVisibleRect() {\n let container = this.ref.current;\n return {\n x: container?.scrollLeft ?? 0,\n y: container?.scrollTop ?? 0,\n width: container?.clientWidth ?? 0,\n height: container?.clientHeight ?? 0\n };\n }\n}\n\n\nexport {$a83747cc3f035330$export$8f5ed9ff9f511381 as DOMLayoutDelegate};\n//# sourceMappingURL=DOMLayoutDelegate.mjs.map\n","import {DOMLayoutDelegate as $a83747cc3f035330$export$8f5ed9ff9f511381} from \"./DOMLayoutDelegate.mjs\";\nimport {isScrollable as $901761b40e390936$export$2bb74740c4e19def} from \"../utils/isScrollable.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nclass $ae8f8d98b2b18f2f$export$a05409b8bb224a5a {\n constructor(...args){\n if (args.length === 1) {\n let opts = args[0];\n this.collection = opts.collection;\n this.ref = opts.ref;\n this.collator = opts.collator;\n this.disabledKeys = opts.disabledKeys || new Set();\n this.disabledBehavior = opts.disabledBehavior || 'all';\n this.orientation = opts.orientation || 'vertical';\n this.direction = opts.direction;\n this.layout = opts.layout || 'stack';\n this.layoutDelegate = opts.layoutDelegate || new (0, $a83747cc3f035330$export$8f5ed9ff9f511381)(opts.ref);\n } else {\n this.collection = args[0];\n this.disabledKeys = args[1];\n this.ref = args[2];\n this.collator = args[3];\n this.layout = 'stack';\n this.orientation = 'vertical';\n this.disabledBehavior = 'all';\n this.layoutDelegate = new (0, $a83747cc3f035330$export$8f5ed9ff9f511381)(this.ref);\n }\n // If this is a vertical stack, remove the left/right methods completely\n // so they aren't called by useDroppableCollection.\n if (this.layout === 'stack' && this.orientation === 'vertical') {\n this.getKeyLeftOf = undefined;\n this.getKeyRightOf = undefined;\n }\n }\n isDisabled(item) {\n return this.disabledBehavior === 'all' && (item.props?.isDisabled || this.disabledKeys.has(item.key)) && item.props?.disabledBehavior !== 'selection';\n }\n findNextNonDisabled(key, getNext, includeDisabled = false) {\n let nextKey = key;\n while(nextKey != null){\n let item = this.collection.getItem(nextKey);\n if (item?.type === 'item' && (includeDisabled || !this.isDisabled(item))) return nextKey;\n nextKey = getNext(nextKey);\n }\n return null;\n }\n getNextKey(key, options) {\n let nextKey = key;\n nextKey = this.collection.getKeyAfter(nextKey);\n return this.findNextNonDisabled(nextKey, (key)=>this.collection.getKeyAfter(key), options?.includeDisabled);\n }\n getPreviousKey(key, options) {\n let nextKey = key;\n nextKey = this.collection.getKeyBefore(nextKey);\n return this.findNextNonDisabled(nextKey, (key)=>this.collection.getKeyBefore(key), options?.includeDisabled);\n }\n findKey(key, nextKey, shouldSkip) {\n let tempKey = key;\n let itemRect = this.layoutDelegate.getItemRect(tempKey);\n if (!itemRect || tempKey == null) return null;\n // Find the item above or below in the same column.\n let prevRect = itemRect;\n do {\n tempKey = nextKey(tempKey);\n if (tempKey == null) break;\n itemRect = this.layoutDelegate.getItemRect(tempKey);\n }while (itemRect && shouldSkip(prevRect, itemRect) && tempKey != null);\n return tempKey;\n }\n isSameRow(prevRect, itemRect) {\n return prevRect.y === itemRect.y || prevRect.x !== itemRect.x;\n }\n isSameColumn(prevRect, itemRect) {\n return prevRect.x === itemRect.x || prevRect.y !== itemRect.y;\n }\n getKeyBelow(key, options) {\n if (this.layout === 'grid' && this.orientation === 'vertical') return this.findKey(key, (key)=>this.getNextKey(key, options), this.isSameRow);\n else return this.getNextKey(key, options);\n }\n getKeyAbove(key, options) {\n if (this.layout === 'grid' && this.orientation === 'vertical') return this.findKey(key, (key)=>this.getPreviousKey(key, options), this.isSameRow);\n else return this.getPreviousKey(key, options);\n }\n getNextColumn(key, right, options) {\n return right ? this.getPreviousKey(key, options) : this.getNextKey(key, options);\n }\n getKeyRightOf(key, options) {\n // This is a temporary solution for CardView until we refactor useSelectableCollection.\n // https://github.com/orgs/adobe/projects/19/views/32?pane=issue&itemId=77825042\n let layoutDelegateMethod = this.direction === 'ltr' ? 'getKeyRightOf' : 'getKeyLeftOf';\n if (this.layoutDelegate[layoutDelegateMethod]) {\n key = this.layoutDelegate[layoutDelegateMethod](key);\n return this.findNextNonDisabled(key, (key)=>this.layoutDelegate[layoutDelegateMethod](key), options?.includeDisabled);\n }\n if (this.layout === 'grid') {\n if (this.orientation === 'vertical') return this.getNextColumn(key, this.direction === 'rtl', options);\n else return this.findKey(key, (key)=>this.getNextColumn(key, this.direction === 'rtl', options), this.isSameColumn);\n } else if (this.orientation === 'horizontal') return this.getNextColumn(key, this.direction === 'rtl', options);\n return null;\n }\n getKeyLeftOf(key, options) {\n let layoutDelegateMethod = this.direction === 'ltr' ? 'getKeyLeftOf' : 'getKeyRightOf';\n if (this.layoutDelegate[layoutDelegateMethod]) {\n key = this.layoutDelegate[layoutDelegateMethod](key);\n return this.findNextNonDisabled(key, (key)=>this.layoutDelegate[layoutDelegateMethod](key), options?.includeDisabled);\n }\n if (this.layout === 'grid') {\n if (this.orientation === 'vertical') return this.getNextColumn(key, this.direction === 'ltr', options);\n else return this.findKey(key, (key)=>this.getNextColumn(key, this.direction === 'ltr', options), this.isSameColumn);\n } else if (this.orientation === 'horizontal') return this.getNextColumn(key, this.direction === 'ltr', options);\n return null;\n }\n getFirstKey() {\n let key = this.collection.getFirstKey();\n return this.findNextNonDisabled(key, (key)=>this.collection.getKeyAfter(key));\n }\n getLastKey() {\n let key = this.collection.getLastKey();\n return this.findNextNonDisabled(key, (key)=>this.collection.getKeyBefore(key));\n }\n getKeyPageAbove(key) {\n let menu = this.ref.current;\n let itemRect = this.layoutDelegate.getItemRect(key);\n if (!itemRect) return null;\n if (menu && !(0, $901761b40e390936$export$2bb74740c4e19def)(menu)) return this.getFirstKey();\n let nextKey = key;\n if (this.orientation === 'horizontal') {\n let pageX = Math.max(0, itemRect.x + itemRect.width - this.layoutDelegate.getVisibleRect().width);\n while(itemRect && itemRect.x > pageX && nextKey != null){\n nextKey = this.getKeyAbove(nextKey);\n itemRect = nextKey == null ? null : this.layoutDelegate.getItemRect(nextKey);\n }\n } else {\n let pageY = Math.max(0, itemRect.y + itemRect.height - this.layoutDelegate.getVisibleRect().height);\n while(itemRect && itemRect.y > pageY && nextKey != null){\n nextKey = this.getKeyAbove(nextKey);\n itemRect = nextKey == null ? null : this.layoutDelegate.getItemRect(nextKey);\n }\n }\n return nextKey ?? this.getFirstKey();\n }\n getKeyPageBelow(key) {\n let menu = this.ref.current;\n let itemRect = this.layoutDelegate.getItemRect(key);\n if (!itemRect) return null;\n if (menu && !(0, $901761b40e390936$export$2bb74740c4e19def)(menu)) return this.getLastKey();\n let nextKey = key;\n if (this.orientation === 'horizontal') {\n let pageX = Math.min(this.layoutDelegate.getContentSize().width, itemRect.x - itemRect.width + this.layoutDelegate.getVisibleRect().width);\n while(itemRect && itemRect.x < pageX && nextKey != null){\n nextKey = this.getKeyBelow(nextKey);\n itemRect = nextKey == null ? null : this.layoutDelegate.getItemRect(nextKey);\n }\n } else {\n let pageY = Math.min(this.layoutDelegate.getContentSize().height, itemRect.y - itemRect.height + this.layoutDelegate.getVisibleRect().height);\n while(itemRect && itemRect.y < pageY && nextKey != null){\n nextKey = this.getKeyBelow(nextKey);\n itemRect = nextKey == null ? null : this.layoutDelegate.getItemRect(nextKey);\n }\n }\n return nextKey ?? this.getLastKey();\n }\n getKeyForSearch(search, fromKey) {\n if (!this.collator) return null;\n let collection = this.collection;\n let key = fromKey || this.getFirstKey();\n while(key != null){\n let item = collection.getItem(key);\n if (!item) return null;\n let substring = item.textValue.slice(0, search.length);\n if (item.textValue && this.collator.compare(substring, search) === 0) return key;\n key = this.getNextKey(key);\n }\n return null;\n }\n}\n\n\nexport {$ae8f8d98b2b18f2f$export$a05409b8bb224a5a as ListKeyboardDelegate};\n//# sourceMappingURL=ListKeyboardDelegate.mjs.map\n","import {useLocale as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7} from \"./I18nProvider.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nlet $673d46fce3e5717d$var$cache = new Map();\nfunction $673d46fce3e5717d$export$a16aca283550c30d(options) {\n let { locale: locale } = (0, $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7)();\n let cacheKey = locale + (options ? Object.entries(options).sort((a, b)=>a[0] < b[0] ? -1 : 1).join() : '');\n if ($673d46fce3e5717d$var$cache.has(cacheKey)) return $673d46fce3e5717d$var$cache.get(cacheKey);\n let formatter = new Intl.Collator(locale, options);\n $673d46fce3e5717d$var$cache.set(cacheKey, formatter);\n return formatter;\n}\n\n\nexport {$673d46fce3e5717d$export$a16aca283550c30d as useCollator};\n//# sourceMappingURL=useCollator.mjs.map\n","import {useSelectableCollection as $d667c2af82d35a98$export$d6daf82dcd84e87c} from \"./useSelectableCollection.mjs\";\nimport {ListKeyboardDelegate as $ae8f8d98b2b18f2f$export$a05409b8bb224a5a} from \"./ListKeyboardDelegate.mjs\";\nimport {useCollator as $673d46fce3e5717d$export$a16aca283550c30d} from \"../i18n/useCollator.mjs\";\nimport {useMemo as $7JLm2$useMemo} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\nfunction $64903b4b31b6bb2a$export$b95089534ab7c1fd(props) {\n let { selectionManager: selectionManager, collection: collection, disabledKeys: disabledKeys, ref: ref, keyboardDelegate: keyboardDelegate, layoutDelegate: layoutDelegate, orientation: orientation } = props;\n // By default, a KeyboardDelegate is provided which uses the DOM to query layout information (e.g. for page up/page down).\n // When virtualized, the layout object will be passed in as a prop and override this.\n let collator = (0, $673d46fce3e5717d$export$a16aca283550c30d)({\n usage: 'search',\n sensitivity: 'base'\n });\n let disabledBehavior = selectionManager.disabledBehavior;\n let delegate = (0, $7JLm2$useMemo)(()=>keyboardDelegate || new (0, $ae8f8d98b2b18f2f$export$a05409b8bb224a5a)({\n collection: collection,\n disabledKeys: disabledKeys,\n disabledBehavior: disabledBehavior,\n ref: ref,\n collator: collator,\n layoutDelegate: layoutDelegate,\n orientation: orientation\n }), [\n keyboardDelegate,\n layoutDelegate,\n collection,\n disabledKeys,\n ref,\n collator,\n disabledBehavior,\n orientation\n ]);\n let { collectionProps: collectionProps } = (0, $d667c2af82d35a98$export$d6daf82dcd84e87c)({\n ...props,\n ref: ref,\n selectionManager: selectionManager,\n keyboardDelegate: delegate\n });\n return {\n listProps: collectionProps\n };\n}\n\n\nexport {$64903b4b31b6bb2a$export$b95089534ab7c1fd as useSelectableList};\n//# sourceMappingURL=useSelectableList.mjs.map\n","import {filterDOMProps as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f} from \"../utils/filterDOMProps.mjs\";\nimport {listData as $cd088b5c0d7b27b4$export$3585ede4d035bf14} from \"./utils.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {useFocusWithin as $2c9edc598a03d523$export$420e68273165f4ec} from \"../interactions/useFocusWithin.mjs\";\nimport {useId as $390e54f620492c70$export$f680877a34711e37} from \"../utils/useId.mjs\";\nimport {useLabel as $0beb20c9744a2065$export$8467354a121f1b9f} from \"../label/useLabel.mjs\";\nimport {useSelectableList as $64903b4b31b6bb2a$export$b95089534ab7c1fd} from \"../selection/useSelectableList.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\nfunction $686593f99a1df089$export$50eacbbf140a3141(props, state, ref) {\n let domProps = (0, $8e9d2fae0ecb9001$export$457c3d6518dd4c6f)(props, {\n labelable: true\n });\n // Use props instead of state here. We don't want this to change due to long press.\n let selectionBehavior = props.selectionBehavior || 'toggle';\n let orientation = props.orientation || 'vertical';\n let linkBehavior = props.linkBehavior || (selectionBehavior === 'replace' ? 'action' : 'override');\n if (selectionBehavior === 'toggle' && linkBehavior === 'action') // linkBehavior=\"action\" does not work with selectionBehavior=\"toggle\" because there is no way\n // to initiate selection (checkboxes are not allowed inside a listbox). Link items will not be\n // selectable in this configuration.\n linkBehavior = 'override';\n let { listProps: listProps } = (0, $64903b4b31b6bb2a$export$b95089534ab7c1fd)({\n ...props,\n ref: ref,\n selectionManager: state.selectionManager,\n collection: state.collection,\n disabledKeys: state.disabledKeys,\n linkBehavior: linkBehavior\n });\n let { focusWithinProps: focusWithinProps } = (0, $2c9edc598a03d523$export$420e68273165f4ec)({\n onFocusWithin: props.onFocus,\n onBlurWithin: props.onBlur,\n onFocusWithinChange: props.onFocusChange\n });\n // Share list id and some props with child options.\n let id = (0, $390e54f620492c70$export$f680877a34711e37)(props.id);\n (0, $cd088b5c0d7b27b4$export$3585ede4d035bf14).set(state, {\n id: id,\n shouldUseVirtualFocus: props.shouldUseVirtualFocus,\n shouldSelectOnPressUp: props.shouldSelectOnPressUp,\n shouldFocusOnHover: props.shouldFocusOnHover,\n isVirtualized: props.isVirtualized,\n onAction: props.onAction,\n linkBehavior: linkBehavior,\n // @ts-ignore\n UNSTABLE_itemBehavior: props['UNSTABLE_itemBehavior']\n });\n let { labelProps: labelProps, fieldProps: fieldProps } = (0, $0beb20c9744a2065$export$8467354a121f1b9f)({\n ...props,\n id: id,\n // listbox is not an HTML input element so it\n // shouldn't be labeled by a <label> element.\n labelElementType: 'span'\n });\n return {\n labelProps: labelProps,\n listBoxProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(domProps, focusWithinProps, state.selectionManager.selectionMode === 'multiple' ? {\n 'aria-multiselectable': 'true'\n } : {}, {\n role: 'listbox',\n 'aria-orientation': orientation,\n ...(0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(fieldProps, listProps)\n })\n };\n}\n\n\nexport {$686593f99a1df089$export$50eacbbf140a3141 as useListBox};\n//# sourceMappingURL=useListBox.mjs.map\n","import {focusWithoutScrolling as $1969ac565cfec8d0$export$de79e2c695e052f3} from \"../utils/focusWithoutScrolling.mjs\";\nimport {getOwnerDocument as $d447af545b77c9f1$export$b204af158042fbac, getOwnerWindow as $d447af545b77c9f1$export$f21a1ffae260145a} from \"../utils/domHelpers.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {useDescription as $121970af65029459$export$f8aeda7b10753fa1} from \"../utils/useDescription.mjs\";\nimport {useGlobalListeners as $48a7d519b337145d$export$4eaf04e54aa8eed6} from \"../utils/useGlobalListeners.mjs\";\nimport {usePress as $d27d541f9569d26d$export$45712eceda6fad21} from \"./usePress.mjs\";\nimport {useRef as $cZVsC$useRef} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\nconst $7b01448eaad0fe7c$var$DEFAULT_THRESHOLD = 500;\nfunction $7b01448eaad0fe7c$export$c24ed0104d07eab9(props) {\n let { isDisabled: isDisabled, onLongPressStart: onLongPressStart, onLongPressEnd: onLongPressEnd, onLongPress: onLongPress, threshold: threshold = $7b01448eaad0fe7c$var$DEFAULT_THRESHOLD, accessibilityDescription: accessibilityDescription } = props;\n const timeRef = (0, $cZVsC$useRef)(undefined);\n let { addGlobalListener: addGlobalListener, removeGlobalListener: removeGlobalListener } = (0, $48a7d519b337145d$export$4eaf04e54aa8eed6)();\n let { pressProps: pressProps } = (0, $d27d541f9569d26d$export$45712eceda6fad21)({\n isDisabled: isDisabled,\n onPressStart (e) {\n e.continuePropagation();\n if (e.pointerType === 'mouse' || e.pointerType === 'touch') {\n if (onLongPressStart) onLongPressStart({\n ...e,\n type: 'longpressstart'\n });\n timeRef.current = setTimeout(()=>{\n // Prevent other usePress handlers from also handling this event.\n e.target.dispatchEvent(new PointerEvent('pointercancel', {\n bubbles: true\n }));\n // Ensure target is focused. On touch devices, browsers typically focus on pointer up.\n if ((0, $d447af545b77c9f1$export$b204af158042fbac)(e.target).activeElement !== e.target) (0, $1969ac565cfec8d0$export$de79e2c695e052f3)(e.target);\n if (onLongPress) onLongPress({\n ...e,\n type: 'longpress'\n });\n timeRef.current = undefined;\n }, threshold);\n // Prevent context menu, which may be opened on long press on touch devices\n if (e.pointerType === 'touch') {\n let onContextMenu = (e)=>{\n e.preventDefault();\n };\n let ownerWindow = (0, $d447af545b77c9f1$export$f21a1ffae260145a)(e.target);\n addGlobalListener(e.target, 'contextmenu', onContextMenu, {\n once: true\n });\n addGlobalListener(ownerWindow, 'pointerup', ()=>{\n // If no contextmenu event is fired quickly after pointerup, remove the handler\n // so future context menu events outside a long press are not prevented.\n setTimeout(()=>{\n removeGlobalListener(e.target, 'contextmenu', onContextMenu);\n }, 30);\n }, {\n once: true\n });\n }\n }\n },\n onPressEnd (e) {\n if (timeRef.current) clearTimeout(timeRef.current);\n if (onLongPressEnd && (e.pointerType === 'mouse' || e.pointerType === 'touch')) onLongPressEnd({\n ...e,\n type: 'longpressend'\n });\n }\n });\n let descriptionProps = (0, $121970af65029459$export$f8aeda7b10753fa1)(onLongPress && !isDisabled ? accessibilityDescription : undefined);\n return {\n longPressProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(pressProps, descriptionProps)\n };\n}\n\n\nexport {$7b01448eaad0fe7c$export$c24ed0104d07eab9 as useLongPress};\n//# sourceMappingURL=useLongPress.mjs.map\n","import {chain as $a4e76a5424781910$export$e08e3b67e392101e} from \"../utils/chain.mjs\";\nimport {focusSafely as $f192c2f16961cbe0$export$80f3e147d781571c} from \"../interactions/focusSafely.mjs\";\nimport {getActiveElement as $23f2114a1b82827e$export$cd4e5573fbe2b576, getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {getCollectionId as $22bbea12c2567021$export$6aeb1680a0ae8741, isNonContiguousSelectionModifier as $22bbea12c2567021$export$d3e3bd3e26688c04} from \"./utils.mjs\";\nimport {isCtrlKeyPressed as $bb39c0fc1c19b34c$export$16792effe837dba3} from \"../utils/keyboard.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {moveVirtualFocus as $b72f3f7b3b5f42c6$export$76e4e37e5339496d} from \"../focus/virtualFocus.mjs\";\nimport {openLink as $caaf0dd3060ed57c$export$95185d699e05d4d7, useRouter as $caaf0dd3060ed57c$export$9a302a45f65d0572} from \"../utils/openLink.mjs\";\nimport {usePress as $d27d541f9569d26d$export$45712eceda6fad21} from \"../interactions/usePress.mjs\";\nimport {useId as $390e54f620492c70$export$f680877a34711e37} from \"../utils/useId.mjs\";\nimport {useLongPress as $7b01448eaad0fe7c$export$c24ed0104d07eab9} from \"../interactions/useLongPress.mjs\";\nimport {useEffect as $iQN4Y$useEffect, useRef as $iQN4Y$useRef} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\n\n\nfunction $f6ba6936bfd098a0$export$ecf600387e221c37(options) {\n let { id: id, selectionManager: manager, key: key, ref: ref, shouldSelectOnPressUp: shouldSelectOnPressUp, shouldUseVirtualFocus: shouldUseVirtualFocus, focus: focus, isDisabled: isDisabled, onAction: onAction, allowsDifferentPressOrigin: allowsDifferentPressOrigin, linkBehavior: linkBehavior = 'action' } = options;\n let router = (0, $caaf0dd3060ed57c$export$9a302a45f65d0572)();\n id = (0, $390e54f620492c70$export$f680877a34711e37)(id);\n let onSelect = (e)=>{\n if (e.pointerType === 'keyboard' && (0, $22bbea12c2567021$export$d3e3bd3e26688c04)(e)) manager.toggleSelection(key);\n else {\n if (manager.selectionMode === 'none') return;\n if (manager.isLink(key)) {\n if (linkBehavior === 'selection' && ref.current) {\n let itemProps = manager.getItemProps(key);\n router.open(ref.current, e, itemProps.href, itemProps.routerOptions);\n // Always set selected keys back to what they were so that select and combobox close.\n manager.setSelectedKeys(manager.selectedKeys);\n return;\n } else if (linkBehavior === 'override' || linkBehavior === 'none') return;\n }\n if (manager.selectionMode === 'single') {\n if (manager.isSelected(key) && !manager.disallowEmptySelection) manager.toggleSelection(key);\n else manager.replaceSelection(key);\n } else if (e && e.shiftKey) manager.extendSelection(key);\n else if (manager.selectionBehavior === 'toggle' || e && ((0, $bb39c0fc1c19b34c$export$16792effe837dba3)(e) || e.pointerType === 'touch' || e.pointerType === 'virtual')) // if touch or virtual (VO) then we just want to toggle, otherwise it's impossible to multi select because they don't have modifier keys\n manager.toggleSelection(key);\n else manager.replaceSelection(key);\n }\n };\n // Focus the associated DOM node when this item becomes the focusedKey\n // TODO: can't make this useLayoutEffect bacause it breaks menus inside dialogs\n // However, if this is a useEffect, it runs twice and dispatches two blur events and immediately sets\n // aria-activeDescendant in useAutocomplete... I've worked around this for now\n (0, $iQN4Y$useEffect)(()=>{\n let isFocused = key === manager.focusedKey;\n if (isFocused && manager.isFocused) {\n if (!shouldUseVirtualFocus) {\n if (focus) focus();\n else if ((0, $23f2114a1b82827e$export$cd4e5573fbe2b576)() !== ref.current && ref.current) (0, $f192c2f16961cbe0$export$80f3e147d781571c)(ref.current);\n } else (0, $b72f3f7b3b5f42c6$export$76e4e37e5339496d)(ref.current);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n ref,\n key,\n manager.focusedKey,\n manager.childFocusStrategy,\n manager.isFocused,\n shouldUseVirtualFocus\n ]);\n isDisabled = isDisabled || manager.isDisabled(key);\n // Set tabIndex to 0 if the element is focused, or -1 otherwise so that only the last focused\n // item is tabbable. If using virtual focus, don't set a tabIndex at all so that VoiceOver\n // on iOS 14 doesn't try to move real DOM focus to the item anyway.\n let itemProps = {};\n if (!shouldUseVirtualFocus && !isDisabled) itemProps = {\n tabIndex: key === manager.focusedKey ? 0 : -1,\n onFocus (e) {\n if ((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e) === ref.current) manager.setFocusedKey(key);\n }\n };\n else if (isDisabled) itemProps.onMouseDown = (e)=>{\n // Prevent focus going to the body when clicking on a disabled item.\n e.preventDefault();\n };\n (0, $iQN4Y$useEffect)(()=>{\n if (isDisabled && manager.focusedKey === key) manager.setFocusedKey(null);\n }, [\n manager,\n isDisabled,\n key\n ]);\n // With checkbox selection, onAction (i.e. navigation) becomes primary, and occurs on a single click of the row.\n // Clicking the checkbox enters selection mode, after which clicking anywhere on any row toggles selection for that row.\n // With highlight selection, onAction is secondary, and occurs on double click. Single click selects the row.\n // With touch, onAction occurs on single tap, and long press enters selection mode.\n let isLinkOverride = manager.isLink(key) && linkBehavior === 'override';\n let isActionOverride = onAction && options['UNSTABLE_itemBehavior'] === 'action';\n let hasLinkAction = manager.isLink(key) && linkBehavior !== 'selection' && linkBehavior !== 'none';\n let allowsSelection = !isDisabled && manager.canSelectItem(key) && !isLinkOverride && !isActionOverride;\n let allowsActions = (onAction || hasLinkAction) && !isDisabled;\n let hasPrimaryAction = allowsActions && (manager.selectionBehavior === 'replace' ? !allowsSelection : !allowsSelection || manager.isEmpty);\n let hasSecondaryAction = allowsActions && allowsSelection && manager.selectionBehavior === 'replace';\n let hasAction = hasPrimaryAction || hasSecondaryAction;\n let modality = (0, $iQN4Y$useRef)(null);\n let longPressEnabled = hasAction && allowsSelection;\n let longPressEnabledOnPressStart = (0, $iQN4Y$useRef)(false);\n let hadPrimaryActionOnPressStart = (0, $iQN4Y$useRef)(false);\n let collectionItemProps = manager.getItemProps(key);\n let performAction = (e)=>{\n if (onAction) {\n onAction();\n ref.current?.dispatchEvent(new CustomEvent('react-aria-item-action', {\n bubbles: true\n }));\n }\n if (hasLinkAction && ref.current) router.open(ref.current, e, collectionItemProps.href, collectionItemProps.routerOptions);\n };\n // By default, selection occurs on pointer down. This can be strange if selecting an\n // item causes the UI to disappear immediately (e.g. menus).\n // If shouldSelectOnPressUp is true, we use onPressUp instead of onPressStart.\n // onPress requires a pointer down event on the same element as pointer up. For menus,\n // we want to be able to have the pointer down on the trigger that opens the menu and\n // the pointer up on the menu item rather than requiring a separate press.\n // For keyboard events, selection still occurs on key down.\n let itemPressProps = {\n ref: ref\n };\n if (shouldSelectOnPressUp) {\n itemPressProps.onPressStart = (e)=>{\n modality.current = e.pointerType;\n longPressEnabledOnPressStart.current = longPressEnabled;\n if (e.pointerType === 'keyboard' && (!hasAction || $f6ba6936bfd098a0$var$isSelectionKey(e.key))) onSelect(e);\n };\n // If allowsDifferentPressOrigin and interacting with mouse, make selection happen on pressUp (e.g. open menu on press down, selection on menu item happens on press up.)\n // Otherwise, have selection happen onPress (prevents listview row selection when clicking on interactable elements in the row)\n if (!allowsDifferentPressOrigin) itemPressProps.onPress = (e)=>{\n if (hasPrimaryAction || hasSecondaryAction && e.pointerType !== 'mouse') {\n if (e.pointerType === 'keyboard' && !$f6ba6936bfd098a0$var$isActionKey(e.key)) return;\n performAction(e);\n } else if (e.pointerType !== 'keyboard' && allowsSelection) onSelect(e);\n };\n else {\n itemPressProps.onPressUp = hasPrimaryAction ? undefined : (e)=>{\n if (e.pointerType === 'mouse' && allowsSelection) onSelect(e);\n };\n itemPressProps.onPress = hasPrimaryAction ? performAction : (e)=>{\n if (e.pointerType !== 'keyboard' && e.pointerType !== 'mouse' && allowsSelection) onSelect(e);\n };\n }\n } else {\n itemPressProps.onPressStart = (e)=>{\n modality.current = e.pointerType;\n longPressEnabledOnPressStart.current = longPressEnabled;\n hadPrimaryActionOnPressStart.current = hasPrimaryAction;\n // Select on mouse down unless there is a primary action which will occur on mouse up.\n // For keyboard, select on key down. If there is an action, the Space key selects on key down,\n // and the Enter key performs onAction on key up.\n if (allowsSelection && (e.pointerType === 'mouse' && !hasPrimaryAction || e.pointerType === 'keyboard' && (!allowsActions || $f6ba6936bfd098a0$var$isSelectionKey(e.key)))) onSelect(e);\n };\n itemPressProps.onPress = (e)=>{\n // Selection occurs on touch up. Primary actions always occur on pointer up.\n // Both primary and secondary actions occur on Enter key up. The only exception\n // is secondary actions, which occur on double click with a mouse.\n if (e.pointerType === 'touch' || e.pointerType === 'pen' || e.pointerType === 'virtual' || e.pointerType === 'keyboard' && hasAction && $f6ba6936bfd098a0$var$isActionKey(e.key) || e.pointerType === 'mouse' && hadPrimaryActionOnPressStart.current) {\n if (hasAction) performAction(e);\n else if (allowsSelection) onSelect(e);\n }\n };\n }\n itemProps['data-collection'] = (0, $22bbea12c2567021$export$6aeb1680a0ae8741)(manager.collection);\n itemProps['data-key'] = key;\n itemPressProps.preventFocusOnPress = shouldUseVirtualFocus;\n // When using virtual focus, make sure the focused key gets updated on press.\n if (shouldUseVirtualFocus) itemPressProps = (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(itemPressProps, {\n onPressStart (e) {\n if (e.pointerType !== 'touch') {\n manager.setFocused(true);\n manager.setFocusedKey(key);\n }\n },\n onPress (e) {\n if (e.pointerType === 'touch') {\n manager.setFocused(true);\n manager.setFocusedKey(key);\n }\n }\n });\n if (collectionItemProps) {\n for (let key of [\n 'onPressStart',\n 'onPressEnd',\n 'onPressChange',\n 'onPress',\n 'onPressUp',\n 'onClick'\n ])if (collectionItemProps[key]) itemPressProps[key] = (0, $a4e76a5424781910$export$e08e3b67e392101e)(itemPressProps[key], collectionItemProps[key]);\n }\n let { pressProps: pressProps, isPressed: isPressed } = (0, $d27d541f9569d26d$export$45712eceda6fad21)(itemPressProps);\n // Double clicking with a mouse with selectionBehavior = 'replace' performs an action.\n let onDoubleClick = hasSecondaryAction ? (e)=>{\n if (modality.current === 'mouse') {\n e.stopPropagation();\n e.preventDefault();\n performAction(e);\n }\n } : undefined;\n // Long pressing an item with touch when selectionBehavior = 'replace' switches the selection behavior\n // to 'toggle'. This changes the single tap behavior from performing an action (i.e. navigating) to\n // selecting, and may toggle the appearance of a UI affordance like checkboxes on each item.\n let { longPressProps: longPressProps } = (0, $7b01448eaad0fe7c$export$c24ed0104d07eab9)({\n isDisabled: !longPressEnabled,\n onLongPress (e) {\n if (e.pointerType === 'touch') {\n onSelect(e);\n manager.setSelectionBehavior('toggle');\n }\n }\n });\n // Prevent native drag and drop on long press if we also select on long press.\n // Once the user is in selection mode, they can long press again to drag.\n // Use a capturing listener to ensure this runs before useDrag, regardless of\n // the order the props get merged.\n let onDragStartCapture = (e)=>{\n if (modality.current === 'touch' && longPressEnabledOnPressStart.current) e.preventDefault();\n };\n // Prevent default on link clicks so that we control exactly\n // when they open (to match selection behavior).\n let onClick = linkBehavior !== 'none' && manager.isLink(key) ? (e)=>{\n if (!(0, $caaf0dd3060ed57c$export$95185d699e05d4d7).isOpening) e.preventDefault();\n } : undefined;\n return {\n itemProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(itemProps, allowsSelection || hasPrimaryAction || shouldUseVirtualFocus && !isDisabled ? pressProps : {}, longPressEnabled ? longPressProps : {}, {\n onDoubleClick: onDoubleClick,\n onDragStartCapture: onDragStartCapture,\n onClick: onClick,\n id: id\n }, // Prevent DOM focus from moving on mouse down when using virtual focus\n shouldUseVirtualFocus ? {\n onMouseDown: (e)=>e.preventDefault()\n } : undefined),\n isPressed: isPressed,\n isSelected: manager.isSelected(key),\n isFocused: manager.isFocused && manager.focusedKey === key,\n isDisabled: isDisabled,\n allowsSelection: allowsSelection,\n hasAction: hasAction\n };\n}\nfunction $f6ba6936bfd098a0$var$isActionKey(key) {\n return key === 'Enter';\n}\nfunction $f6ba6936bfd098a0$var$isSelectionKey(key) {\n return key === ' ';\n}\n\n\nexport {$f6ba6936bfd098a0$export$ecf600387e221c37 as useSelectableItem};\n//# sourceMappingURL=useSelectableItem.mjs.map\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ function $cd5ea4b915021f1d$export$1005530eda016c13(node, collection) {\n // New API: call collection.getChildren with the node key.\n if (typeof collection.getChildren === 'function') return collection.getChildren(node.key);\n // Old API: access childNodes directly.\n return node.childNodes;\n}\nfunction $cd5ea4b915021f1d$export$fbdeaa6a76694f71(iterable) {\n return $cd5ea4b915021f1d$export$5f3398f8733f90e2(iterable, 0);\n}\nfunction $cd5ea4b915021f1d$export$5f3398f8733f90e2(iterable, index) {\n if (index < 0) return undefined;\n let i = 0;\n for (let item of iterable){\n if (i === index) return item;\n i++;\n }\n}\nfunction $cd5ea4b915021f1d$export$7475b2c64539e4cf(iterable) {\n let lastItem = undefined;\n for (let value of iterable)lastItem = value;\n return lastItem;\n}\nfunction $cd5ea4b915021f1d$export$8c434b3a7a4dad6(collection, a, b) {\n // If the two nodes have the same parent, compare their indices.\n if (a.parentKey === b.parentKey) return a.index - b.index;\n // Otherwise, collect all of the ancestors from each node, and find the first one that doesn't match starting from the root.\n // Include the base nodes in case we are comparing nodes of different levels so that we can compare the higher node to the lower level node's\n // ancestor of the same level\n let aAncestors = [\n ...$cd5ea4b915021f1d$var$getAncestors(collection, a),\n a\n ];\n let bAncestors = [\n ...$cd5ea4b915021f1d$var$getAncestors(collection, b),\n b\n ];\n let firstNonMatchingAncestor = aAncestors.slice(0, bAncestors.length).findIndex((a, i)=>a !== bAncestors[i]);\n if (firstNonMatchingAncestor !== -1) {\n // Compare the indices of two children within the common ancestor.\n a = aAncestors[firstNonMatchingAncestor];\n b = bAncestors[firstNonMatchingAncestor];\n return a.index - b.index;\n }\n // If there isn't a non matching ancestor, we might be in a case where one of the nodes is the ancestor of the other.\n if (aAncestors.findIndex((node)=>node === b) >= 0) return 1;\n else if (bAncestors.findIndex((node)=>node === a) >= 0) return -1;\n // 🤷\n return -1;\n}\nfunction $cd5ea4b915021f1d$var$getAncestors(collection, node) {\n let parents = [];\n let currNode = node;\n while(currNode?.parentKey != null){\n currNode = collection.getItem(currNode.parentKey);\n if (currNode) parents.unshift(currNode);\n }\n return parents;\n}\n\n\nexport {$cd5ea4b915021f1d$export$1005530eda016c13 as getChildNodes, $cd5ea4b915021f1d$export$fbdeaa6a76694f71 as getFirstItem, $cd5ea4b915021f1d$export$5f3398f8733f90e2 as getNthItem, $cd5ea4b915021f1d$export$7475b2c64539e4cf as getLastItem, $cd5ea4b915021f1d$export$8c434b3a7a4dad6 as compareNodeOrder};\n//# sourceMappingURL=getChildNodes.mjs.map\n","import {getChildNodes as $cd5ea4b915021f1d$export$1005530eda016c13} from \"./getChildNodes.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nconst $2efe10d3f1f9e31e$var$cache = new WeakMap();\nfunction $2efe10d3f1f9e31e$export$77d5aafae4e095b2(collection) {\n let count = $2efe10d3f1f9e31e$var$cache.get(collection);\n if (count != null) return count;\n // TS isn't smart enough to know we've ensured count is a number, so use a new variable\n let counter = 0;\n let countItems = (items)=>{\n for (let item of items){\n if (item.type === 'section') countItems((0, $cd5ea4b915021f1d$export$1005530eda016c13)(item, collection));\n else if (item.type === 'item') counter++;\n }\n };\n countItems(collection);\n $2efe10d3f1f9e31e$var$cache.set(collection, counter);\n return counter;\n}\n\n\nexport {$2efe10d3f1f9e31e$export$77d5aafae4e095b2 as getItemCount};\n//# sourceMappingURL=getItemCount.mjs.map\n","import {chain as $a4e76a5424781910$export$e08e3b67e392101e} from \"../utils/chain.mjs\";\nimport {filterDOMProps as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f} from \"../utils/filterDOMProps.mjs\";\nimport {getItemId as $cd088b5c0d7b27b4$export$9145995848b05025, listData as $cd088b5c0d7b27b4$export$3585ede4d035bf14} from \"./utils.mjs\";\nimport {isFocusVisible as $8f5a2122b0992be3$export$b9b3dfddab17db27} from \"../interactions/useFocusVisible.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {useSelectableItem as $f6ba6936bfd098a0$export$ecf600387e221c37} from \"../selection/useSelectableItem.mjs\";\nimport {useHover as $e969f22b6713ca4a$export$ae780daf29e6d456} from \"../interactions/useHover.mjs\";\nimport {useLinkProps as $caaf0dd3060ed57c$export$7e924b3091a3bd18} from \"../utils/openLink.mjs\";\nimport {useSlotId as $390e54f620492c70$export$b4cc09c592e8fdb8} from \"../utils/useId.mjs\";\nimport {getItemCount as $i8Bql$getItemCount} from \"react-stately/private/collections/getItemCount\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\nfunction $dae966e193913d1b$export$497855f14858aa34(props, state, ref) {\n let { key: key } = props;\n let data = (0, $cd088b5c0d7b27b4$export$3585ede4d035bf14).get(state);\n let isDisabled = props.isDisabled ?? state.selectionManager.isDisabled(key);\n let isSelected = props.isSelected ?? state.selectionManager.isSelected(key);\n let shouldSelectOnPressUp = props.shouldSelectOnPressUp ?? data?.shouldSelectOnPressUp;\n let shouldFocusOnHover = props.shouldFocusOnHover ?? data?.shouldFocusOnHover;\n let shouldUseVirtualFocus = props.shouldUseVirtualFocus ?? data?.shouldUseVirtualFocus;\n let isVirtualized = props.isVirtualized ?? data?.isVirtualized;\n let labelId = (0, $390e54f620492c70$export$b4cc09c592e8fdb8)();\n let descriptionId = (0, $390e54f620492c70$export$b4cc09c592e8fdb8)();\n let optionProps = {\n role: 'option',\n 'aria-disabled': isDisabled || undefined,\n 'aria-selected': state.selectionManager.selectionMode !== 'none' ? isSelected : undefined,\n 'aria-label': props['aria-label'],\n 'aria-labelledby': labelId,\n 'aria-describedby': descriptionId\n };\n let item = state.collection.getItem(key);\n if (isVirtualized) {\n let index = Number(item?.index);\n optionProps['aria-posinset'] = Number.isNaN(index) ? undefined : index + 1;\n optionProps['aria-setsize'] = (0, $i8Bql$getItemCount)(state.collection);\n }\n let onAction = data?.onAction ? ()=>data?.onAction?.(key) : undefined;\n let id = (0, $cd088b5c0d7b27b4$export$9145995848b05025)(state, key);\n let { itemProps: itemProps, isPressed: isPressed, isFocused: isFocused, hasAction: hasAction, allowsSelection: allowsSelection } = (0, $f6ba6936bfd098a0$export$ecf600387e221c37)({\n selectionManager: state.selectionManager,\n key: key,\n ref: ref,\n shouldSelectOnPressUp: shouldSelectOnPressUp,\n allowsDifferentPressOrigin: shouldSelectOnPressUp && shouldFocusOnHover,\n isVirtualized: isVirtualized,\n shouldUseVirtualFocus: shouldUseVirtualFocus,\n isDisabled: isDisabled,\n onAction: onAction || item?.props?.onAction ? (0, $a4e76a5424781910$export$e08e3b67e392101e)(item?.props?.onAction, onAction) : undefined,\n linkBehavior: data?.linkBehavior,\n // @ts-ignore\n UNSTABLE_itemBehavior: data?.['UNSTABLE_itemBehavior'],\n id: id\n });\n let { hoverProps: hoverProps } = (0, $e969f22b6713ca4a$export$ae780daf29e6d456)({\n isDisabled: isDisabled || !shouldFocusOnHover,\n onHoverStart () {\n if (!(0, $8f5a2122b0992be3$export$b9b3dfddab17db27)()) {\n state.selectionManager.setFocused(true);\n state.selectionManager.setFocusedKey(key);\n }\n }\n });\n let domProps = (0, $8e9d2fae0ecb9001$export$457c3d6518dd4c6f)(item?.props);\n delete domProps.id;\n let linkProps = (0, $caaf0dd3060ed57c$export$7e924b3091a3bd18)(item?.props);\n return {\n optionProps: {\n ...optionProps,\n ...(0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(domProps, itemProps, hoverProps, linkProps),\n id: id\n },\n labelProps: {\n id: labelId\n },\n descriptionProps: {\n id: descriptionId\n },\n isFocused: isFocused,\n isFocusVisible: isFocused && state.selectionManager.isFocused && (0, $8f5a2122b0992be3$export$b9b3dfddab17db27)(),\n isSelected: isSelected,\n isDisabled: isDisabled,\n isPressed: isPressed,\n allowsSelection: allowsSelection,\n hasAction: hasAction\n };\n}\n\n\nexport {$dae966e193913d1b$export$497855f14858aa34 as useOption};\n//# sourceMappingURL=useOption.mjs.map\n","import {useId as $390e54f620492c70$export$f680877a34711e37} from \"../utils/useId.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nfunction $3d6c959d2ef57b72$export$c3f9f39876e4bc7(props) {\n let { heading: heading, 'aria-label': ariaLabel } = props;\n let headingId = (0, $390e54f620492c70$export$f680877a34711e37)();\n return {\n itemProps: {\n role: 'presentation'\n },\n headingProps: heading ? {\n // Technically, listbox cannot contain headings according to ARIA.\n // We hide the heading from assistive technology, using role=\"presentation\",\n // and only use it as a visual label for the nested group.\n id: headingId,\n role: 'presentation',\n onMouseDown: (e)=>{\n // Prevent DOM focus from moving on mouse down when using virtual focus\n e.preventDefault();\n }\n } : {},\n groupProps: {\n role: 'group',\n 'aria-label': ariaLabel,\n 'aria-labelledby': heading ? headingId : undefined\n }\n };\n}\n\n\nexport {$3d6c959d2ef57b72$export$c3f9f39876e4bc7 as useListBoxSection};\n//# sourceMappingURL=useListBoxSection.mjs.map\n","import {version as $gfwmN$version} from \"react\";\n\n\nfunction $b24d1bc31a0f941d$export$a9d04c5684123369(value) {\n const pieces = (0, $gfwmN$version).split('.');\n const major = parseInt(pieces[0], 10);\n if (major >= 19) return value;\n // compatibility with React < 19\n return value ? 'true' : undefined;\n}\n\n\nexport {$b24d1bc31a0f941d$export$a9d04c5684123369 as inertValue};\n//# sourceMappingURL=inertValue.mjs.map\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ class $f664a81d022446b5$export$d085fb9e920b5ca7 {\n constructor(nodes){\n this.keyMap = new Map();\n this.firstKey = null;\n this.lastKey = null;\n this.iterable = nodes;\n let visit = (node)=>{\n this.keyMap.set(node.key, node);\n if (node.childNodes && node.type === 'section') for (let child of node.childNodes)visit(child);\n };\n for (let node of nodes)visit(node);\n let last = null;\n let index = 0;\n let size = 0;\n for (let [key, node] of this.keyMap){\n if (last) {\n last.nextKey = key;\n node.prevKey = last.key;\n } else {\n this.firstKey = key;\n node.prevKey = undefined;\n }\n if (node.type === 'item') node.index = index++;\n // Only count sections and items when determining size so that\n // loaders and separators in RAC/S2 don't influence the emptyState determination\n if (node.type === 'section' || node.type === 'item') size++;\n last = node;\n // Set nextKey as undefined since this might be the last node\n // If it isn't the last node, last.nextKey will properly set at start of new loop\n last.nextKey = undefined;\n }\n this._size = size;\n this.lastKey = last?.key ?? null;\n }\n *[Symbol.iterator]() {\n yield* this.iterable;\n }\n get size() {\n return this._size;\n }\n getKeys() {\n return this.keyMap.keys();\n }\n getKeyBefore(key) {\n let node = this.keyMap.get(key);\n return node ? node.prevKey ?? null : null;\n }\n getKeyAfter(key) {\n let node = this.keyMap.get(key);\n return node ? node.nextKey ?? null : null;\n }\n getFirstKey() {\n return this.firstKey;\n }\n getLastKey() {\n return this.lastKey;\n }\n getItem(key) {\n return this.keyMap.get(key) ?? null;\n }\n at(idx) {\n const keys = [\n ...this.getKeys()\n ];\n return this.getItem(keys[idx]);\n }\n getChildren(key) {\n let node = this.keyMap.get(key);\n return node?.childNodes || [];\n }\n}\n\n\nexport {$f664a81d022446b5$export$d085fb9e920b5ca7 as ListCollection};\n//# sourceMappingURL=ListCollection.mjs.map\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ class $8b2540e09867b15e$export$52baac22726c72bf extends Set {\n constructor(keys, anchorKey, currentKey){\n super(keys);\n if (keys instanceof $8b2540e09867b15e$export$52baac22726c72bf) {\n this.anchorKey = anchorKey ?? keys.anchorKey;\n this.currentKey = currentKey ?? keys.currentKey;\n } else {\n this.anchorKey = anchorKey ?? null;\n this.currentKey = currentKey ?? null;\n }\n }\n}\n\n\nexport {$8b2540e09867b15e$export$52baac22726c72bf as Selection};\n//# sourceMappingURL=Selection.mjs.map\n","import {Selection as $8b2540e09867b15e$export$52baac22726c72bf} from \"./Selection.mjs\";\nimport {useControlledState as $3e6197669829fe11$export$40bfa8c7b0832715} from \"../utils/useControlledState.mjs\";\nimport {useRef as $7w3VE$useRef, useState as $7w3VE$useState, useMemo as $7w3VE$useMemo, useEffect as $7w3VE$useEffect} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nfunction $60f19cefd567a3e4$var$equalSets(setA, setB) {\n if (setA.size !== setB.size) return false;\n for (let item of setA){\n if (!setB.has(item)) return false;\n }\n return true;\n}\nfunction $60f19cefd567a3e4$export$253fe78d46329472(props) {\n let { selectionMode: selectionMode = 'none', disallowEmptySelection: disallowEmptySelection = false, allowDuplicateSelectionEvents: allowDuplicateSelectionEvents, selectionBehavior: selectionBehaviorProp = 'toggle', disabledBehavior: disabledBehavior = 'all' } = props;\n // We want synchronous updates to `isFocused` and `focusedKey` after their setters are called.\n // But we also need to trigger a react re-render. So, we have both a ref (sync) and state (async).\n let isFocusedRef = (0, $7w3VE$useRef)(false);\n let [, setFocused] = (0, $7w3VE$useState)(false);\n let focusedKeyRef = (0, $7w3VE$useRef)(null);\n let childFocusStrategyRef = (0, $7w3VE$useRef)(null);\n let [, setFocusedKey] = (0, $7w3VE$useState)(null);\n let selectedKeysProp = (0, $7w3VE$useMemo)(()=>$60f19cefd567a3e4$var$convertSelection(props.selectedKeys), [\n props.selectedKeys\n ]);\n let defaultSelectedKeys = (0, $7w3VE$useMemo)(()=>$60f19cefd567a3e4$var$convertSelection(props.defaultSelectedKeys, new (0, $8b2540e09867b15e$export$52baac22726c72bf)()), [\n props.defaultSelectedKeys\n ]);\n let [selectedKeys, setSelectedKeys] = (0, $3e6197669829fe11$export$40bfa8c7b0832715)(selectedKeysProp, defaultSelectedKeys, props.onSelectionChange);\n let disabledKeysProp = (0, $7w3VE$useMemo)(()=>props.disabledKeys ? new Set(props.disabledKeys) : new Set(), [\n props.disabledKeys\n ]);\n let [selectionBehavior, setSelectionBehavior] = (0, $7w3VE$useState)(selectionBehaviorProp);\n // If the selectionBehavior prop is set to replace, but the current state is toggle (e.g. due to long press\n // to enter selection mode on touch), and the selection becomes empty, reset the selection behavior.\n if (selectionBehaviorProp === 'replace' && selectionBehavior === 'toggle' && typeof selectedKeys === 'object' && selectedKeys.size === 0) setSelectionBehavior('replace');\n // If the selectionBehavior prop changes, update the state as well.\n let lastSelectionBehavior = (0, $7w3VE$useRef)(selectionBehaviorProp);\n (0, $7w3VE$useEffect)(()=>{\n if (selectionBehaviorProp !== lastSelectionBehavior.current) {\n setSelectionBehavior(selectionBehaviorProp);\n lastSelectionBehavior.current = selectionBehaviorProp;\n }\n }, [\n selectionBehaviorProp\n ]);\n return {\n selectionMode: selectionMode,\n disallowEmptySelection: disallowEmptySelection,\n selectionBehavior: selectionBehavior,\n setSelectionBehavior: setSelectionBehavior,\n get isFocused () {\n return isFocusedRef.current;\n },\n setFocused (f) {\n isFocusedRef.current = f;\n setFocused(f);\n },\n get focusedKey () {\n return focusedKeyRef.current;\n },\n get childFocusStrategy () {\n return childFocusStrategyRef.current;\n },\n setFocusedKey (k, childFocusStrategy = 'first') {\n focusedKeyRef.current = k;\n childFocusStrategyRef.current = childFocusStrategy;\n setFocusedKey(k);\n },\n selectedKeys: selectedKeys,\n setSelectedKeys (keys) {\n if (allowDuplicateSelectionEvents || !$60f19cefd567a3e4$var$equalSets(keys, selectedKeys)) setSelectedKeys(keys);\n },\n disabledKeys: disabledKeysProp,\n disabledBehavior: disabledBehavior\n };\n}\nfunction $60f19cefd567a3e4$var$convertSelection(selection, defaultValue) {\n if (!selection) return defaultValue;\n return selection === 'all' ? 'all' : new (0, $8b2540e09867b15e$export$52baac22726c72bf)(selection);\n}\n\n\nexport {$60f19cefd567a3e4$export$253fe78d46329472 as useMultipleSelectionState};\n//# sourceMappingURL=useMultipleSelectionState.mjs.map\n","import {compareNodeOrder as $cd5ea4b915021f1d$export$8c434b3a7a4dad6, getChildNodes as $cd5ea4b915021f1d$export$1005530eda016c13, getFirstItem as $cd5ea4b915021f1d$export$fbdeaa6a76694f71} from \"../collections/getChildNodes.mjs\";\nimport {Selection as $8b2540e09867b15e$export$52baac22726c72bf} from \"./Selection.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nclass $4a07ac835f260f78$export$6c8a5aaad13c9852 {\n constructor(collection, state, options){\n this.collection = collection;\n this.state = state;\n this.allowsCellSelection = options?.allowsCellSelection ?? false;\n this._isSelectAll = null;\n this.layoutDelegate = options?.layoutDelegate || null;\n this.fullCollection = options?.fullCollection || null;\n }\n /**\n * The type of selection that is allowed in the collection.\n */ get selectionMode() {\n return this.state.selectionMode;\n }\n /**\n * Whether the collection allows empty selection.\n */ get disallowEmptySelection() {\n return this.state.disallowEmptySelection;\n }\n /**\n * The selection behavior for the collection.\n */ get selectionBehavior() {\n return this.state.selectionBehavior;\n }\n /**\n * Sets the selection behavior for the collection.\n */ setSelectionBehavior(selectionBehavior) {\n this.state.setSelectionBehavior(selectionBehavior);\n }\n /**\n * Whether the collection is currently focused.\n */ get isFocused() {\n return this.state.isFocused;\n }\n /**\n * Sets whether the collection is focused.\n */ setFocused(isFocused) {\n this.state.setFocused(isFocused);\n }\n /**\n * The current focused key in the collection.\n */ get focusedKey() {\n return this.state.focusedKey;\n }\n /** Whether the first or last child of the focused key should receive focus. */ get childFocusStrategy() {\n return this.state.childFocusStrategy;\n }\n /**\n * Sets the focused key.\n */ setFocusedKey(key, childFocusStrategy) {\n if (key == null || this.collection.getItem(key)) this.state.setFocusedKey(key, childFocusStrategy);\n }\n /**\n * The currently selected keys in the collection.\n */ get selectedKeys() {\n return this.state.selectedKeys === 'all' ? new Set(this.getSelectAllKeys()) : this.state.selectedKeys;\n }\n /**\n * The raw selection value for the collection.\n * Either 'all' for select all, or a set of keys.\n */ get rawSelection() {\n return this.state.selectedKeys;\n }\n /**\n * Returns whether a key is selected.\n */ isSelected(key) {\n if (this.state.selectionMode === 'none') return false;\n let mappedKey = this.getKey(key);\n if (mappedKey == null) return false;\n return this.state.selectedKeys === 'all' ? this.canSelectItem(mappedKey) : this.state.selectedKeys.has(mappedKey);\n }\n /**\n * Whether the selection is empty.\n */ get isEmpty() {\n return this.state.selectedKeys !== 'all' && this.state.selectedKeys.size === 0;\n }\n /**\n * Whether all items in the collection are selected.\n */ get isSelectAll() {\n if (this.isEmpty) return false;\n if (this.state.selectedKeys === 'all') return true;\n if (this._isSelectAll != null) return this._isSelectAll;\n let allKeys = this.getSelectAllKeys();\n let selectedKeys = this.state.selectedKeys;\n this._isSelectAll = allKeys.every((k)=>selectedKeys.has(k));\n return this._isSelectAll;\n }\n get firstSelectedKey() {\n let first = null;\n for (let key of this.state.selectedKeys){\n let item = this.collection.getItem(key);\n if (!first || item && (0, $cd5ea4b915021f1d$export$8c434b3a7a4dad6)(this.collection, item, first) < 0) first = item;\n }\n return first?.key ?? null;\n }\n get lastSelectedKey() {\n let last = null;\n for (let key of this.state.selectedKeys){\n let item = this.collection.getItem(key);\n if (!last || item && (0, $cd5ea4b915021f1d$export$8c434b3a7a4dad6)(this.collection, item, last) > 0) last = item;\n }\n return last?.key ?? null;\n }\n get disabledKeys() {\n return this.state.disabledKeys;\n }\n get disabledBehavior() {\n return this.state.disabledBehavior;\n }\n /**\n * Extends the selection to the given key.\n */ extendSelection(toKey) {\n if (this.selectionMode === 'none') return;\n if (this.selectionMode === 'single') {\n this.replaceSelection(toKey);\n return;\n }\n let mappedToKey = this.getKey(toKey);\n if (mappedToKey == null) return;\n let selection;\n // Only select the one key if coming from a select all.\n if (this.state.selectedKeys === 'all') selection = new (0, $8b2540e09867b15e$export$52baac22726c72bf)([\n mappedToKey\n ], mappedToKey, mappedToKey);\n else {\n let selectedKeys = this.state.selectedKeys;\n let anchorKey = selectedKeys.anchorKey ?? mappedToKey;\n selection = new (0, $8b2540e09867b15e$export$52baac22726c72bf)(selectedKeys, anchorKey, mappedToKey);\n for (let key of this.getKeyRange(anchorKey, selectedKeys.currentKey ?? mappedToKey))selection.delete(key);\n for (let key of this.getKeyRange(mappedToKey, anchorKey))if (this.canSelectItem(key)) selection.add(key);\n }\n this.state.setSelectedKeys(selection);\n }\n getKeyRange(from, to) {\n let fromItem = this.collection.getItem(from);\n let toItem = this.collection.getItem(to);\n if (fromItem && toItem) {\n if ((0, $cd5ea4b915021f1d$export$8c434b3a7a4dad6)(this.collection, fromItem, toItem) <= 0) return this.getKeyRangeInternal(from, to);\n return this.getKeyRangeInternal(to, from);\n }\n return [];\n }\n getKeyRangeInternal(from, to) {\n if (this.layoutDelegate?.getKeyRange) return this.layoutDelegate.getKeyRange(from, to);\n let keys = [];\n let key = from;\n while(key != null){\n let item = this.collection.getItem(key);\n if (item && (item.type === 'item' || item.type === 'cell' && this.allowsCellSelection)) keys.push(key);\n if (key === to) return keys;\n key = this.collection.getKeyAfter(key);\n }\n return [];\n }\n getKey(key) {\n let item = this.collection.getItem(key);\n if (!item) // ¯\\_(ツ)_/¯\n return key;\n // If cell selection is allowed, just return the key.\n if (item.type === 'cell' && this.allowsCellSelection) return key;\n // Find a parent item to select\n while(item && item.type !== 'item' && item.parentKey != null)item = this.collection.getItem(item.parentKey);\n if (!item || item.type !== 'item') return null;\n return item.key;\n }\n /**\n * Toggles whether the given key is selected.\n */ toggleSelection(key) {\n if (this.selectionMode === 'none') return;\n if (this.selectionMode === 'single' && !this.isSelected(key)) {\n this.replaceSelection(key);\n return;\n }\n let mappedKey = this.getKey(key);\n if (mappedKey == null) return;\n let keys = new (0, $8b2540e09867b15e$export$52baac22726c72bf)(this.state.selectedKeys === 'all' ? this.getSelectAllKeys() : this.state.selectedKeys);\n if (keys.has(mappedKey)) keys.delete(mappedKey);\n else if (this.canSelectItem(mappedKey)) {\n keys.add(mappedKey);\n keys.anchorKey = mappedKey;\n keys.currentKey = mappedKey;\n }\n if (this.disallowEmptySelection && keys.size === 0) return;\n this.state.setSelectedKeys(keys);\n }\n /**\n * Replaces the selection with only the given key.\n */ replaceSelection(key) {\n if (this.selectionMode === 'none') return;\n let mappedKey = this.getKey(key);\n if (mappedKey == null) return;\n let selection = this.canSelectItem(mappedKey) ? new (0, $8b2540e09867b15e$export$52baac22726c72bf)([\n mappedKey\n ], mappedKey, mappedKey) : new (0, $8b2540e09867b15e$export$52baac22726c72bf)();\n this.state.setSelectedKeys(selection);\n }\n /**\n * Replaces the selection with the given keys.\n */ setSelectedKeys(keys) {\n if (this.selectionMode === 'none') return;\n let selection = new (0, $8b2540e09867b15e$export$52baac22726c72bf)();\n for (let key of keys){\n let mappedKey = this.getKey(key);\n if (mappedKey != null) {\n selection.add(mappedKey);\n if (this.selectionMode === 'single') break;\n }\n }\n this.state.setSelectedKeys(selection);\n }\n getSelectAllKeys() {\n // Use the full (unfiltered) collection when available so that materializing\n // the 'all' selection includes items that are currently filtered out (e.g. by Autocomplete).\n let collection = this.fullCollection ?? this.collection;\n let keys = [];\n let addKeys = (key)=>{\n while(key != null){\n if (this.canSelectItemIn(key, collection)) {\n let item = collection.getItem(key);\n if (item?.type === 'item') keys.push(key);\n // Add child keys. If cell selection is allowed, then include item children too.\n if (item?.hasChildNodes && (this.allowsCellSelection || item.type !== 'item')) addKeys((0, $cd5ea4b915021f1d$export$fbdeaa6a76694f71)((0, $cd5ea4b915021f1d$export$1005530eda016c13)(item, collection))?.key ?? null);\n }\n key = collection.getKeyAfter(key);\n }\n };\n addKeys(collection.getFirstKey());\n return keys;\n }\n /**\n * Selects all items in the collection.\n */ selectAll() {\n if (!this.isSelectAll && this.selectionMode === 'multiple') this.state.setSelectedKeys('all');\n }\n /**\n * Removes all keys from the selection.\n */ clearSelection() {\n if (!this.disallowEmptySelection && (this.state.selectedKeys === 'all' || this.state.selectedKeys.size > 0)) this.state.setSelectedKeys(new (0, $8b2540e09867b15e$export$52baac22726c72bf)());\n }\n /**\n * Toggles between select all and an empty selection.\n */ toggleSelectAll() {\n if (this.isSelectAll) this.clearSelection();\n else this.selectAll();\n }\n select(key, e) {\n if (this.selectionMode === 'none') return;\n if (this.selectionMode === 'single') {\n if (this.isSelected(key) && !this.disallowEmptySelection) this.toggleSelection(key);\n else this.replaceSelection(key);\n } else if (this.selectionBehavior === 'toggle' || e && (e.pointerType === 'touch' || e.pointerType === 'virtual')) // if touch or virtual (VO) then we just want to toggle, otherwise it's impossible to multi select because they don't have modifier keys\n this.toggleSelection(key);\n else this.replaceSelection(key);\n }\n /**\n * Returns whether the current selection is equal to the given selection.\n */ isSelectionEqual(selection) {\n if (selection === this.state.selectedKeys) return true;\n // Check if the set of keys match.\n let selectedKeys = this.selectedKeys;\n if (selection.size !== selectedKeys.size) return false;\n for (let key of selection){\n if (!selectedKeys.has(key)) return false;\n }\n for (let key of selectedKeys){\n if (!selection.has(key)) return false;\n }\n return true;\n }\n canSelectItem(key) {\n return this.canSelectItemIn(key, this.collection);\n }\n canSelectItemIn(key, collection) {\n if (this.state.selectionMode === 'none' || this.state.disabledKeys.has(key)) return false;\n let item = collection.getItem(key);\n if (!item || item?.props?.isDisabled || item.type === 'cell' && !this.allowsCellSelection) return false;\n return true;\n }\n isDisabled(key) {\n let item = this.collection.getItem(key);\n return this.state.disabledBehavior === 'all' && (this.state.disabledKeys.has(key) || !!item?.props?.isDisabled) && item?.props?.disabledBehavior !== 'selection';\n }\n isLink(key) {\n return !!this.collection.getItem(key)?.props?.href;\n }\n getItemProps(key) {\n return this.collection.getItem(key)?.props;\n }\n withCollection(collection) {\n return new $4a07ac835f260f78$export$6c8a5aaad13c9852(collection, this.state, {\n allowsCellSelection: this.allowsCellSelection,\n layoutDelegate: this.layoutDelegate || undefined,\n fullCollection: this.fullCollection ?? this.collection\n });\n }\n}\n\n\nexport {$4a07ac835f260f78$export$6c8a5aaad13c9852 as SelectionManager};\n//# sourceMappingURL=SelectionManager.mjs.map\n","import $jO8i1$react from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nclass $bda7a7e55e1ff206$export$bf788dd355e3a401 {\n build(props, context) {\n this.context = context;\n return $bda7a7e55e1ff206$var$iterable(()=>this.iterateCollection(props));\n }\n *iterateCollection(props) {\n let { children: children, items: items } = props;\n if ((0, $jO8i1$react).isValidElement(children) && children.type === (0, $jO8i1$react).Fragment) yield* this.iterateCollection({\n children: children.props.children,\n items: items\n });\n else if (typeof children === 'function') {\n if (!items) throw new Error('props.children was a function but props.items is missing');\n let index = 0;\n for (let item of items){\n yield* this.getFullNode({\n value: item,\n index: index\n }, {\n renderer: children\n });\n index++;\n }\n } else {\n let items = [];\n (0, $jO8i1$react).Children.forEach(children, (child)=>{\n if (child) items.push(child);\n });\n let index = 0;\n for (let item of items){\n let nodes = this.getFullNode({\n element: item,\n index: index\n }, {});\n for (let node of nodes){\n index++;\n yield node;\n }\n }\n }\n }\n getKey(item, partialNode, state, parentKey) {\n if (item.key != null) return item.key;\n if (partialNode.type === 'cell' && partialNode.key != null) return `${parentKey}${partialNode.key}`;\n let v = partialNode.value;\n if (v != null) {\n let key = v.key ?? v.id;\n if (key == null) throw new Error('No key found for item');\n return key;\n }\n return parentKey ? `${parentKey}.${partialNode.index}` : `$.${partialNode.index}`;\n }\n getChildState(state, partialNode) {\n return {\n renderer: partialNode.renderer || state.renderer\n };\n }\n *getFullNode(partialNode, state, parentKey, parentNode) {\n if ((0, $jO8i1$react).isValidElement(partialNode.element) && partialNode.element.type === (0, $jO8i1$react).Fragment) {\n let children = [];\n (0, $jO8i1$react).Children.forEach(partialNode.element.props.children, (child)=>{\n children.push(child);\n });\n let index = partialNode.index ?? 0;\n for (const child of children)yield* this.getFullNode({\n element: child,\n index: index++\n }, state, parentKey, parentNode);\n return;\n }\n // If there's a value instead of an element on the node, and a parent renderer function is available,\n // use it to render an element for the value.\n let element = partialNode.element;\n if (!element && partialNode.value && state && state.renderer) {\n let cached = this.cache.get(partialNode.value);\n if (cached && (!cached.shouldInvalidate || !cached.shouldInvalidate(this.context))) {\n cached.index = partialNode.index;\n cached.parentKey = parentNode ? parentNode.key : null;\n yield cached;\n return;\n }\n element = state.renderer(partialNode.value);\n }\n // If there's an element with a getCollectionNode function on its type, then it's a supported component.\n // Call this function to get a partial node, and recursively build a full node from there.\n if ((0, $jO8i1$react).isValidElement(element)) {\n let type = element.type;\n if (typeof type !== 'function' && typeof type.getCollectionNode !== 'function') {\n let name = element.type;\n throw new Error(`Unknown element <${name}> in collection.`);\n }\n let childNodes = type.getCollectionNode(element.props, this.context);\n let index = partialNode.index ?? 0;\n let result = childNodes.next();\n while(!result.done && result.value){\n let childNode = result.value;\n partialNode.index = index;\n let nodeKey = childNode.key ?? null;\n if (nodeKey == null) nodeKey = childNode.element ? null : this.getKey(element, partialNode, state, parentKey);\n let nodes = this.getFullNode({\n ...childNode,\n key: nodeKey,\n index: index,\n wrapper: $bda7a7e55e1ff206$var$compose(partialNode.wrapper, childNode.wrapper)\n }, this.getChildState(state, childNode), parentKey ? `${parentKey}${element.key}` : element.key, parentNode);\n let children = [\n ...nodes\n ];\n for (let node of children){\n // Cache the node based on its value\n node.value = childNode.value ?? partialNode.value ?? null;\n if (node.value) this.cache.set(node.value, node);\n // The partial node may have specified a type for the child in order to specify a constraint.\n // Verify that the full node that was built recursively matches this type.\n if (partialNode.type && node.type !== partialNode.type) throw new Error(`Unsupported type <${$bda7a7e55e1ff206$var$capitalize(node.type)}> in <${$bda7a7e55e1ff206$var$capitalize(parentNode?.type ?? 'unknown parent type')}>. Only <${$bda7a7e55e1ff206$var$capitalize(partialNode.type)}> is supported.`);\n index++;\n yield node;\n }\n result = childNodes.next(children);\n }\n return;\n }\n // Ignore invalid elements\n if (partialNode.key == null || partialNode.type == null) return;\n // Create full node\n let builder = this;\n let node = {\n type: partialNode.type,\n props: partialNode.props,\n key: partialNode.key,\n parentKey: parentNode ? parentNode.key : null,\n value: partialNode.value ?? null,\n level: (parentNode?.level ?? 0) + (parentNode?.type === 'item' ? 1 : 0),\n index: partialNode.index,\n rendered: partialNode.rendered,\n textValue: partialNode.textValue ?? '',\n 'aria-label': partialNode['aria-label'],\n wrapper: partialNode.wrapper,\n shouldInvalidate: partialNode.shouldInvalidate,\n hasChildNodes: partialNode.hasChildNodes || false,\n childNodes: $bda7a7e55e1ff206$var$iterable(function*() {\n if (!partialNode.hasChildNodes || !partialNode.childNodes) return;\n let index = 0;\n for (let child of partialNode.childNodes()){\n // Ensure child keys are globally unique by prepending the parent node's key\n if (child.key != null) // TODO: Remove this line entirely and enforce that users always provide unique keys.\n // Currently this line will have issues when a parent has a key `a` and a child with key `bc`\n // but another parent has key `ab` and its child has a key `c`. The combined keys would result in both\n // children having a key of `abc`.\n child.key = `${node.key}${child.key}`;\n let nodes = builder.getFullNode({\n ...child,\n index: index\n }, builder.getChildState(state, child), node.key, node);\n for (let node of nodes){\n index++;\n yield node;\n }\n }\n })\n };\n yield node;\n }\n constructor(){\n this.cache = new WeakMap();\n }\n}\n// Wraps an iterator function as an iterable object, and caches the results.\nfunction $bda7a7e55e1ff206$var$iterable(iterator) {\n let cache = [];\n let iterable = null;\n return {\n *[Symbol.iterator] () {\n for (let item of cache)yield item;\n if (!iterable) iterable = iterator();\n for (let item of iterable){\n cache.push(item);\n yield item;\n }\n }\n };\n}\nfunction $bda7a7e55e1ff206$var$compose(outer, inner) {\n if (outer && inner) return (element)=>outer(inner(element));\n if (outer) return outer;\n if (inner) return inner;\n}\nfunction $bda7a7e55e1ff206$var$capitalize(str) {\n return str[0].toUpperCase() + str.slice(1);\n}\n\n\nexport {$bda7a7e55e1ff206$export$bf788dd355e3a401 as CollectionBuilder};\n//# sourceMappingURL=CollectionBuilder.mjs.map\n","import {CollectionBuilder as $bda7a7e55e1ff206$export$bf788dd355e3a401} from \"./CollectionBuilder.mjs\";\nimport {useMemo as $emYU7$useMemo} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $d03379b88399b8c5$export$6cd28814d92fa9c9(props, factory, context) {\n let builder = (0, $emYU7$useMemo)(()=>new (0, $bda7a7e55e1ff206$export$bf788dd355e3a401)(), []);\n let { children: children, items: items, collection: collection } = props;\n let result = (0, $emYU7$useMemo)(()=>{\n if (collection) return collection;\n let nodes = builder.build({\n children: children,\n items: items\n }, context);\n return factory(nodes);\n }, [\n builder,\n children,\n items,\n collection,\n context,\n factory\n ]);\n return result;\n}\n\n\nexport {$d03379b88399b8c5$export$6cd28814d92fa9c9 as useCollection};\n//# sourceMappingURL=useCollection.mjs.map\n","import {ListCollection as $f664a81d022446b5$export$d085fb9e920b5ca7} from \"./ListCollection.mjs\";\nimport {useMultipleSelectionState as $60f19cefd567a3e4$export$253fe78d46329472} from \"../selection/useMultipleSelectionState.mjs\";\nimport {SelectionManager as $4a07ac835f260f78$export$6c8a5aaad13c9852} from \"../selection/SelectionManager.mjs\";\nimport {useCollection as $d03379b88399b8c5$export$6cd28814d92fa9c9} from \"../collections/useCollection.mjs\";\nimport {useMemo as $3yt54$useMemo, useCallback as $3yt54$useCallback, useRef as $3yt54$useRef, useEffect as $3yt54$useEffect} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\nfunction $b14b6f590b50af39$export$2f645645f7bca764(props) {\n let { filter: filter, layoutDelegate: layoutDelegate } = props;\n let selectionState = (0, $60f19cefd567a3e4$export$253fe78d46329472)(props);\n let disabledKeys = (0, $3yt54$useMemo)(()=>props.disabledKeys ? new Set(props.disabledKeys) : new Set(), [\n props.disabledKeys\n ]);\n let factory = (0, $3yt54$useCallback)((nodes)=>filter ? new (0, $f664a81d022446b5$export$d085fb9e920b5ca7)(filter(nodes)) : new (0, $f664a81d022446b5$export$d085fb9e920b5ca7)(nodes), [\n filter\n ]);\n let context = (0, $3yt54$useMemo)(()=>({\n suppressTextValueWarning: props.suppressTextValueWarning\n }), [\n props.suppressTextValueWarning\n ]);\n let collection = (0, $d03379b88399b8c5$export$6cd28814d92fa9c9)(props, factory, context);\n let selectionManager = (0, $3yt54$useMemo)(()=>new (0, $4a07ac835f260f78$export$6c8a5aaad13c9852)(collection, selectionState, {\n layoutDelegate: layoutDelegate\n }), [\n collection,\n selectionState,\n layoutDelegate\n ]);\n $b14b6f590b50af39$var$useFocusedKeyReset(collection, selectionManager);\n return {\n collection: collection,\n disabledKeys: disabledKeys,\n selectionManager: selectionManager\n };\n}\nfunction $b14b6f590b50af39$export$ba9d38c0f1bf2b36(state, filterFn) {\n let collection = (0, $3yt54$useMemo)(()=>filterFn ? state.collection.filter(filterFn) : state.collection, [\n state.collection,\n filterFn\n ]);\n let selectionManager = state.selectionManager.withCollection(collection);\n $b14b6f590b50af39$var$useFocusedKeyReset(collection, selectionManager);\n return {\n collection: collection,\n selectionManager: selectionManager,\n disabledKeys: state.disabledKeys\n };\n}\nfunction $b14b6f590b50af39$var$useFocusedKeyReset(collection, selectionManager) {\n // Reset focused key if that item is deleted from the collection.\n const cachedCollection = (0, $3yt54$useRef)(null);\n (0, $3yt54$useEffect)(()=>{\n if (selectionManager.focusedKey != null && !collection.getItem(selectionManager.focusedKey) && cachedCollection.current) {\n // Walk forward in the old collection to find the next key that still exists in the new collection.\n let key = cachedCollection.current.getKeyAfter(selectionManager.focusedKey);\n let nextFocusedKey = null;\n while(key != null){\n let node = collection.getItem(key);\n if (node && node.type === 'item' && !selectionManager.isDisabled(key)) {\n nextFocusedKey = key;\n break;\n }\n key = cachedCollection.current.getKeyAfter(key);\n }\n // If no such key exists, walk backward.\n if (nextFocusedKey == null) {\n key = cachedCollection.current.getKeyBefore(selectionManager.focusedKey);\n while(key != null){\n let node = collection.getItem(key);\n if (node && node.type === 'item' && !selectionManager.isDisabled(key)) {\n nextFocusedKey = key;\n break;\n }\n key = cachedCollection.current.getKeyBefore(key);\n }\n }\n selectionManager.setFocusedKey(nextFocusedKey);\n }\n cachedCollection.current = collection;\n }, [\n collection,\n selectionManager\n ]);\n}\n\n\nexport {$b14b6f590b50af39$export$2f645645f7bca764 as useListState, $b14b6f590b50af39$export$ba9d38c0f1bf2b36 as UNSTABLE_useFilteredListState};\n//# sourceMappingURL=useListState.mjs.map\n","import {getScrollParent as $3578607fe3d4b096$export$cfa2225e87938781} from \"./getScrollParent.mjs\";\nimport {useEffectEvent as $fe16bffc7a557bf0$export$7f54fc3180508a52} from \"./useEffectEvent.mjs\";\nimport {useLayoutEffect as $c4867b2f328c2698$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport {useRef as $9bhd4$useRef} from \"react\";\n\n/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\nfunction $0407362eaf54473e$export$ccaea96c28e8b9e7(props, ref) {\n let { collection: collection, onLoadMore: onLoadMore, scrollOffset: scrollOffset = 1 } = props;\n let sentinelObserver = (0, $9bhd4$useRef)(null);\n let triggerLoadMore = (0, $fe16bffc7a557bf0$export$7f54fc3180508a52)((entries)=>{\n // Use \"isIntersecting\" over an equality check of 0 since it seems like there is cases where\n // a intersection ratio of 0 can be reported when isIntersecting is actually true\n for (let entry of entries)// Note that this will be called if the collection changes, even if onLoadMore was already called and is being processed.\n // Up to user discretion as to how to handle these multiple onLoadMore calls\n if (entry.isIntersecting && onLoadMore) onLoadMore();\n });\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n if (ref.current) {\n // Tear down and set up a new IntersectionObserver when the collection changes so that we can properly trigger additional loadMores if there is room for more items\n // Need to do this tear down and set up since using a large rootMargin will mean the observer's callback isn't called even when scrolling the item into view beause its visibility hasn't actually changed\n // https://codesandbox.io/p/sandbox/magical-swanson-dhgp89?file=%2Fsrc%2FApp.js%3A21%2C21\n sentinelObserver.current = new IntersectionObserver(triggerLoadMore, {\n root: (0, $3578607fe3d4b096$export$cfa2225e87938781)(ref?.current),\n rootMargin: `0px ${100 * scrollOffset}% ${100 * scrollOffset}% ${100 * scrollOffset}%`\n });\n sentinelObserver.current.observe(ref.current);\n }\n return ()=>{\n if (sentinelObserver.current) sentinelObserver.current.disconnect();\n };\n }, [\n collection,\n ref,\n scrollOffset\n ]);\n}\n\n\nexport {$0407362eaf54473e$export$ccaea96c28e8b9e7 as useLoadMoreSentinel};\n//# sourceMappingURL=useLoadMoreSentinel.mjs.map\n","import {DEFAULT_SLOT as $7230ffa83bc0c2cf$export$c62b8e45d58ddad9, dom as $7230ffa83bc0c2cf$export$df3a06d6289f983e, Provider as $7230ffa83bc0c2cf$export$2881499e37b75b9a, useContextProps as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, useRenderProps as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, useSlot as $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8} from \"./utils.mjs\";\nimport {CollectionRendererContext as $263ab7fc0f95ccdb$export$4feb769f8ddf26c5, SectionContext as $263ab7fc0f95ccdb$export$d40e14dec8b060a8} from \"./Collection.mjs\";\nimport {DragAndDropContext as $f9554a667e4f0374$export$d188a835a7bc5783, DropIndicatorContext as $f9554a667e4f0374$export$f55761759794cf55, useDndPersistedKeys as $f9554a667e4f0374$export$d1e8e3fbb7461f6, useRenderDropIndicator as $f9554a667e4f0374$export$971707d8a129a1f7} from \"./DragAndDrop.mjs\";\nimport {HeaderContext as $53e61d82d8b8611d$export$e0e4026c12a8bdbb} from \"./Header.mjs\";\nimport {SelectableCollectionContext as $4b38b5b75ecc6208$export$b0d3ecf7112093a7} from \"./Autocomplete.mjs\";\nimport {SelectionIndicatorContext as $91fe5e721c7f36c1$export$c9549807523555e0} from \"./SelectionIndicator.mjs\";\nimport {SeparatorContext as $e28ab3efe3e87743$export$6615d83f6de245ce} from \"./Separator.mjs\";\nimport {SharedElementTransition as $792f28e438b9ad5f$export$758399f318e6385a} from \"./SharedElementTransition.mjs\";\nimport {TextContext as $efe09c6d1c304b50$export$9afb8bc826b033ea} from \"./Text.mjs\";\nimport {useListBox as $c4d6w$useListBox, useListBoxSection as $c4d6w$useListBoxSection, useOption as $c4d6w$useOption} from \"react-aria/useListBox\";\nimport {Collection as $c4d6w$Collection} from \"react-aria/Collection\";\nimport {CollectionBuilder as $c4d6w$CollectionBuilder, createBranchComponent as $c4d6w$createBranchComponent, createLeafComponent as $c4d6w$createLeafComponent} from \"react-aria/CollectionBuilder\";\nimport {filterDOMProps as $c4d6w$filterDOMProps} from \"react-aria/filterDOMProps\";\nimport {FocusScope as $c4d6w$FocusScope} from \"react-aria/FocusScope\";\nimport {inertValue as $c4d6w$inertValue} from \"react-aria/private/utils/inertValue\";\nimport {SectionNode as $c4d6w$SectionNode, ItemNode as $c4d6w$ItemNode, LoaderNode as $c4d6w$LoaderNode} from \"react-aria/private/collections/BaseCollection\";\nimport {ListKeyboardDelegate as $c4d6w$ListKeyboardDelegate} from \"react-aria/ListKeyboardDelegate\";\nimport {useListState as $c4d6w$useListState, UNSTABLE_useFilteredListState as $c4d6w$UNSTABLE_useFilteredListState} from \"react-stately/useListState\";\nimport {useLoadMoreSentinel as $c4d6w$useLoadMoreSentinel} from \"react-aria/private/utils/useLoadMoreSentinel\";\nimport {mergeProps as $c4d6w$mergeProps} from \"react-aria/mergeProps\";\nimport $c4d6w$react, {createContext as $c4d6w$createContext, forwardRef as $c4d6w$forwardRef, useContext as $c4d6w$useContext, useMemo as $c4d6w$useMemo, useRef as $c4d6w$useRef, useEffect as $c4d6w$useEffect} from \"react\";\nimport {useCollator as $c4d6w$useCollator} from \"react-aria/useCollator\";\nimport {useFocus as $c4d6w$useFocus} from \"react-aria/useFocus\";\nimport {useFocusRing as $c4d6w$useFocusRing} from \"react-aria/useFocusRing\";\nimport {useHover as $c4d6w$useHover} from \"react-aria/useHover\";\nimport {useKeyboard as $c4d6w$useKeyboard} from \"react-aria/useKeyboard\";\nimport {useLocale as $c4d6w$useLocale} from \"react-aria/I18nProvider\";\nimport {useObjectRef as $c4d6w$useObjectRef} from \"react-aria/useObjectRef\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nconst $928221da08ecbc62$export$7ff8f37d2d81a48d = /*#__PURE__*/ (0, $c4d6w$createContext)(null);\nconst $928221da08ecbc62$export$7c5906fe4f1f2af2 = /*#__PURE__*/ (0, $c4d6w$createContext)(null);\nconst $928221da08ecbc62$export$41f133550aa26f48 = /*#__PURE__*/ (0, $c4d6w$forwardRef)(function ListBox(props, ref) {\n [props, ref] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, $928221da08ecbc62$export$7ff8f37d2d81a48d);\n let state = (0, $c4d6w$useContext)($928221da08ecbc62$export$7c5906fe4f1f2af2);\n // The structure of ListBox is a bit strange because it needs to work inside other components like ComboBox and Select.\n // Those components render two copies of their children so that the collection can be built even when the popover is closed.\n // The first copy sends a collection document via context which we render the collection portal into.\n // The second copy sends a ListState object via context which we use to render the ListBox without rebuilding the state.\n // Otherwise, we have a standalone ListBox, so we need to create a collection and state ourselves.\n if (state) return /*#__PURE__*/ (0, $c4d6w$react).createElement($928221da08ecbc62$var$ListBoxInner, {\n state: state,\n props: props,\n listBoxRef: ref\n });\n return /*#__PURE__*/ (0, $c4d6w$react).createElement((0, $c4d6w$CollectionBuilder), {\n content: /*#__PURE__*/ (0, $c4d6w$react).createElement((0, $c4d6w$Collection), props)\n }, (collection)=>/*#__PURE__*/ (0, $c4d6w$react).createElement($928221da08ecbc62$var$StandaloneListBox, {\n props: props,\n listBoxRef: ref,\n collection: collection\n }));\n});\nfunction $928221da08ecbc62$var$StandaloneListBox({ props: props, listBoxRef: listBoxRef, collection: collection }) {\n props = {\n ...props,\n collection: collection,\n children: null,\n items: null\n };\n let { layoutDelegate: layoutDelegate } = (0, $c4d6w$useContext)((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5));\n let state = (0, $c4d6w$useListState)({\n ...props,\n layoutDelegate: layoutDelegate\n });\n return /*#__PURE__*/ (0, $c4d6w$react).createElement($928221da08ecbc62$var$ListBoxInner, {\n state: state,\n props: props,\n listBoxRef: listBoxRef\n });\n}\nfunction $928221da08ecbc62$var$ListBoxInner({ state: inputState, props: props, listBoxRef: listBoxRef }) {\n [props, listBoxRef] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, listBoxRef, (0, $4b38b5b75ecc6208$export$b0d3ecf7112093a7));\n let { dragAndDropHooks: dragAndDropHooks, layout: layout = 'stack', orientation: orientation = 'vertical', filter: filter } = props;\n let state = (0, $c4d6w$UNSTABLE_useFilteredListState)(inputState, filter);\n let { collection: collection, selectionManager: selectionManager } = state;\n let isListDraggable = !!dragAndDropHooks?.useDraggableCollectionState;\n let isListDroppable = !!dragAndDropHooks?.useDroppableCollectionState;\n let { direction: direction } = (0, $c4d6w$useLocale)();\n let { disabledBehavior: disabledBehavior, disabledKeys: disabledKeys } = selectionManager;\n let collator = (0, $c4d6w$useCollator)({\n usage: 'search',\n sensitivity: 'base'\n });\n let { isVirtualized: isVirtualized, layoutDelegate: layoutDelegate, dropTargetDelegate: ctxDropTargetDelegate, CollectionRoot: CollectionRoot } = (0, $c4d6w$useContext)((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5));\n let keyboardDelegate = (0, $c4d6w$useMemo)(()=>props.keyboardDelegate || new (0, $c4d6w$ListKeyboardDelegate)({\n collection: collection,\n collator: collator,\n ref: listBoxRef,\n disabledKeys: disabledKeys,\n disabledBehavior: disabledBehavior,\n layout: layout,\n orientation: orientation,\n direction: direction,\n layoutDelegate: layoutDelegate\n }), [\n collection,\n collator,\n listBoxRef,\n disabledBehavior,\n disabledKeys,\n orientation,\n direction,\n props.keyboardDelegate,\n layout,\n layoutDelegate\n ]);\n let { listBoxProps: listBoxProps } = (0, $c4d6w$useListBox)({\n ...props,\n shouldSelectOnPressUp: isListDraggable || props.shouldSelectOnPressUp,\n keyboardDelegate: keyboardDelegate,\n isVirtualized: isVirtualized\n }, state, listBoxRef);\n let dragHooksProvided = (0, $c4d6w$useRef)(isListDraggable);\n let dropHooksProvided = (0, $c4d6w$useRef)(isListDroppable);\n (0, $c4d6w$useEffect)(()=>{\n if (process.env.NODE_ENV === 'production') return;\n if (dragHooksProvided.current !== isListDraggable) console.warn('Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.');\n if (dropHooksProvided.current !== isListDroppable) console.warn('Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.');\n }, [\n isListDraggable,\n isListDroppable\n ]);\n let dragState = undefined;\n let dropState = undefined;\n let droppableCollection = undefined;\n let isRootDropTarget = false;\n let dragPreview = null;\n let preview = (0, $c4d6w$useRef)(null);\n if (isListDraggable && dragAndDropHooks) {\n dragState = dragAndDropHooks.useDraggableCollectionState({\n collection: collection,\n selectionManager: selectionManager,\n preview: dragAndDropHooks.renderDragPreview ? preview : undefined\n });\n dragAndDropHooks.useDraggableCollection({}, dragState, listBoxRef);\n let DragPreview = dragAndDropHooks.DragPreview;\n dragPreview = dragAndDropHooks.renderDragPreview ? /*#__PURE__*/ (0, $c4d6w$react).createElement(DragPreview, {\n ref: preview\n }, dragAndDropHooks.renderDragPreview) : null;\n }\n if (isListDroppable && dragAndDropHooks) {\n dropState = dragAndDropHooks.useDroppableCollectionState({\n collection: collection,\n selectionManager: selectionManager\n });\n let dropTargetDelegate = dragAndDropHooks.dropTargetDelegate || ctxDropTargetDelegate || new dragAndDropHooks.ListDropTargetDelegate(collection, listBoxRef, {\n orientation: orientation,\n layout: layout,\n direction: direction\n });\n droppableCollection = dragAndDropHooks.useDroppableCollection({\n keyboardDelegate: keyboardDelegate,\n dropTargetDelegate: dropTargetDelegate\n }, dropState, listBoxRef);\n isRootDropTarget = dropState.isDropTarget({\n type: 'root'\n });\n }\n let { focusProps: focusProps, isFocused: isFocused, isFocusVisible: isFocusVisible } = (0, $c4d6w$useFocusRing)();\n let isEmpty = state.collection.size === 0;\n let renderValues = {\n isDropTarget: isRootDropTarget,\n isEmpty: isEmpty,\n isFocused: isFocused,\n isFocusVisible: isFocusVisible,\n layout: props.layout || 'stack',\n orientation: orientation,\n state: state\n };\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...props,\n children: undefined,\n defaultClassName: 'react-aria-ListBox',\n values: renderValues\n });\n let emptyState = null;\n if (isEmpty && props.renderEmptyState) emptyState = /*#__PURE__*/ (0, $c4d6w$react).createElement(\"div\", {\n // eslint-disable-next-line\n role: \"option\",\n style: {\n display: 'contents'\n }\n }, props.renderEmptyState(renderValues));\n let DOMProps = (0, $c4d6w$filterDOMProps)(props, {\n global: true\n });\n return /*#__PURE__*/ (0, $c4d6w$react).createElement((0, $c4d6w$FocusScope), null, /*#__PURE__*/ (0, $c4d6w$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div, {\n ...(0, $c4d6w$mergeProps)(DOMProps, renderProps, listBoxProps, focusProps, droppableCollection?.collectionProps),\n ref: listBoxRef,\n slot: props.slot || undefined,\n onScroll: props.onScroll,\n \"data-drop-target\": isRootDropTarget || undefined,\n \"data-empty\": isEmpty || undefined,\n \"data-focused\": isFocused || undefined,\n \"data-focus-visible\": isFocusVisible || undefined,\n \"data-layout\": props.layout || 'stack',\n \"data-orientation\": orientation\n }, /*#__PURE__*/ (0, $c4d6w$react).createElement((0, $7230ffa83bc0c2cf$export$2881499e37b75b9a), {\n values: [\n [\n $928221da08ecbc62$export$7ff8f37d2d81a48d,\n props\n ],\n [\n $928221da08ecbc62$export$7c5906fe4f1f2af2,\n state\n ],\n [\n (0, $f9554a667e4f0374$export$d188a835a7bc5783),\n {\n dragAndDropHooks: dragAndDropHooks,\n dragState: dragState,\n dropState: dropState\n }\n ],\n [\n (0, $e28ab3efe3e87743$export$6615d83f6de245ce),\n {\n elementType: 'div'\n }\n ],\n [\n (0, $f9554a667e4f0374$export$f55761759794cf55),\n {\n render: $928221da08ecbc62$var$ListBoxDropIndicatorWrapper\n }\n ],\n [\n (0, $263ab7fc0f95ccdb$export$d40e14dec8b060a8),\n {\n name: 'ListBoxSection',\n render: $928221da08ecbc62$var$ListBoxSectionInner\n }\n ]\n ]\n }, /*#__PURE__*/ (0, $c4d6w$react).createElement((0, $792f28e438b9ad5f$export$758399f318e6385a), null, /*#__PURE__*/ (0, $c4d6w$react).createElement(CollectionRoot, {\n collection: collection,\n scrollRef: listBoxRef,\n persistedKeys: (0, $f9554a667e4f0374$export$d1e8e3fbb7461f6)(selectionManager, dragAndDropHooks, dropState),\n renderDropIndicator: (0, $f9554a667e4f0374$export$971707d8a129a1f7)(dragAndDropHooks, dropState)\n }))), emptyState, dragPreview));\n}\nfunction $928221da08ecbc62$var$ListBoxSectionInner(props, ref, section, className = 'react-aria-ListBoxSection') {\n let state = (0, $c4d6w$useContext)($928221da08ecbc62$export$7c5906fe4f1f2af2);\n let { dragAndDropHooks: dragAndDropHooks, dropState: dropState } = (0, $c4d6w$useContext)((0, $f9554a667e4f0374$export$d188a835a7bc5783));\n let { CollectionBranch: CollectionBranch } = (0, $c4d6w$useContext)((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5));\n let [headingRef, heading] = (0, $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8)();\n let { headingProps: headingProps, groupProps: groupProps } = (0, $c4d6w$useListBoxSection)({\n heading: heading,\n 'aria-label': props['aria-label'] ?? undefined\n });\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...props,\n id: undefined,\n children: undefined,\n defaultClassName: className,\n values: undefined\n });\n let DOMProps = (0, $c4d6w$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.id;\n return /*#__PURE__*/ (0, $c4d6w$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).section, {\n ...(0, $c4d6w$mergeProps)(DOMProps, renderProps, groupProps),\n ref: ref\n }, /*#__PURE__*/ (0, $c4d6w$react).createElement((0, $53e61d82d8b8611d$export$e0e4026c12a8bdbb).Provider, {\n value: {\n ...headingProps,\n ref: headingRef\n }\n }, /*#__PURE__*/ (0, $c4d6w$react).createElement(CollectionBranch, {\n collection: state.collection,\n parent: section,\n renderDropIndicator: (0, $f9554a667e4f0374$export$971707d8a129a1f7)(dragAndDropHooks, dropState)\n })));\n}\nconst $928221da08ecbc62$export$dca12b0bb56e4fc = /*#__PURE__*/ (0, $c4d6w$createBranchComponent)((0, $c4d6w$SectionNode), $928221da08ecbc62$var$ListBoxSectionInner);\nconst $928221da08ecbc62$export$a11e76429ed99b4 = /*#__PURE__*/ (0, $c4d6w$createLeafComponent)((0, $c4d6w$ItemNode), function ListBoxItem(props, forwardedRef, item) {\n let ref = (0, $c4d6w$useObjectRef)(forwardedRef);\n let state = (0, $c4d6w$useContext)($928221da08ecbc62$export$7c5906fe4f1f2af2);\n let { dragAndDropHooks: dragAndDropHooks, dragState: dragState, dropState: dropState } = (0, $c4d6w$useContext)((0, $f9554a667e4f0374$export$d188a835a7bc5783));\n let isDraggable = dragState && !(dragState.isDisabled || dragState.selectionManager.isDisabled(item.key));\n let { optionProps: optionProps, labelProps: labelProps, descriptionProps: descriptionProps, ...states } = (0, $c4d6w$useOption)({\n key: item.key,\n 'aria-label': props?.['aria-label']\n }, state, ref);\n let { hoverProps: hoverProps, isHovered: isHovered } = (0, $c4d6w$useHover)({\n isDisabled: !states.allowsSelection && !states.hasAction && !isDraggable,\n onHoverStart: item.props.onHoverStart,\n onHoverChange: item.props.onHoverChange,\n onHoverEnd: item.props.onHoverEnd\n });\n let { keyboardProps: keyboardProps } = (0, $c4d6w$useKeyboard)(props);\n let { focusProps: focusProps } = (0, $c4d6w$useFocus)(props);\n let draggableItem = null;\n if (dragState && dragAndDropHooks) draggableItem = dragAndDropHooks.useDraggableItem({\n key: item.key,\n hasAction: states.hasAction\n }, dragState);\n let droppableItem = null;\n if (dropState && dragAndDropHooks) droppableItem = dragAndDropHooks.useDroppableItem({\n target: {\n type: 'item',\n key: item.key,\n dropPosition: 'on'\n }\n }, dropState, ref);\n let isDragging = dragState && dragState.isDragging(item.key);\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...props,\n id: undefined,\n children: props.children,\n defaultClassName: 'react-aria-ListBoxItem',\n values: {\n ...states,\n isHovered: isHovered,\n selectionMode: state.selectionManager.selectionMode,\n selectionBehavior: state.selectionManager.selectionBehavior,\n allowsDragging: !!dragState,\n isDragging: isDragging,\n isDropTarget: droppableItem?.isDropTarget\n }\n });\n (0, $c4d6w$useEffect)(()=>{\n if (!item.textValue && process.env.NODE_ENV !== 'production') console.warn('A `textValue` prop is required for <ListBoxItem> elements with non-plain text children in order to support accessibility features such as type to select.');\n }, [\n item.textValue\n ]);\n let ElementType = props.href ? (0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).a : (0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div;\n let DOMProps = (0, $c4d6w$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.id;\n delete DOMProps.onClick;\n if (props.href && optionProps.tabIndex == null) optionProps.tabIndex = -1;\n return /*#__PURE__*/ (0, $c4d6w$react).createElement(ElementType, {\n ...(0, $c4d6w$mergeProps)(DOMProps, renderProps, optionProps, hoverProps, keyboardProps, focusProps, draggableItem?.dragProps, droppableItem?.dropProps),\n ref: ref,\n \"data-allows-dragging\": !!dragState || undefined,\n \"data-selected\": states.isSelected || undefined,\n \"data-disabled\": states.isDisabled || undefined,\n \"data-hovered\": isHovered || undefined,\n \"data-focused\": states.isFocused || undefined,\n \"data-focus-visible\": states.isFocusVisible || undefined,\n \"data-pressed\": states.isPressed || undefined,\n \"data-dragging\": isDragging || undefined,\n \"data-drop-target\": droppableItem?.isDropTarget || undefined,\n \"data-selection-mode\": state.selectionManager.selectionMode === 'none' ? undefined : state.selectionManager.selectionMode\n }, /*#__PURE__*/ (0, $c4d6w$react).createElement((0, $7230ffa83bc0c2cf$export$2881499e37b75b9a), {\n values: [\n [\n (0, $efe09c6d1c304b50$export$9afb8bc826b033ea),\n {\n slots: {\n [(0, $7230ffa83bc0c2cf$export$c62b8e45d58ddad9)]: labelProps,\n label: labelProps,\n description: descriptionProps\n }\n }\n ],\n [\n (0, $91fe5e721c7f36c1$export$c9549807523555e0),\n {\n isSelected: states.isSelected\n }\n ]\n ]\n }, renderProps.children));\n});\nfunction $928221da08ecbc62$var$ListBoxDropIndicatorWrapper(props, ref) {\n ref = (0, $c4d6w$useObjectRef)(ref);\n let { dragAndDropHooks: dragAndDropHooks, dropState: dropState } = (0, $c4d6w$useContext)((0, $f9554a667e4f0374$export$d188a835a7bc5783));\n let { dropIndicatorProps: dropIndicatorProps, isHidden: isHidden, isDropTarget: isDropTarget } = dragAndDropHooks.useDropIndicator(props, dropState, ref);\n if (isHidden) return null;\n return /*#__PURE__*/ (0, $c4d6w$react).createElement($928221da08ecbc62$var$ListBoxDropIndicatorForwardRef, {\n ...props,\n dropIndicatorProps: dropIndicatorProps,\n isDropTarget: isDropTarget,\n ref: ref\n });\n}\nfunction $928221da08ecbc62$var$ListBoxDropIndicator(props, ref) {\n let { dropIndicatorProps: dropIndicatorProps, isDropTarget: isDropTarget, ...otherProps } = props;\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...otherProps,\n defaultClassName: 'react-aria-DropIndicator',\n values: {\n isDropTarget: isDropTarget\n }\n });\n return /*#__PURE__*/ (0, $c4d6w$react).createElement((0, $c4d6w$react).Fragment, null, /*#__PURE__*/ (0, $c4d6w$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div, {\n ...dropIndicatorProps,\n ...renderProps,\n role: \"option\",\n ref: ref,\n \"data-drop-target\": isDropTarget || undefined\n }));\n}\nconst $928221da08ecbc62$var$ListBoxDropIndicatorForwardRef = /*#__PURE__*/ (0, $c4d6w$forwardRef)($928221da08ecbc62$var$ListBoxDropIndicator);\nconst $928221da08ecbc62$export$8e6d031a08cf56a1 = (0, $c4d6w$createLeafComponent)((0, $c4d6w$LoaderNode), function ListBoxLoadingIndicator(props, ref, item) {\n let state = (0, $c4d6w$useContext)($928221da08ecbc62$export$7c5906fe4f1f2af2);\n let { isLoading: isLoading, onLoadMore: onLoadMore, scrollOffset: scrollOffset, ...otherProps } = props;\n let sentinelRef = (0, $c4d6w$useRef)(null);\n let memoedLoadMoreProps = (0, $c4d6w$useMemo)(()=>({\n onLoadMore: onLoadMore,\n collection: state?.collection,\n sentinelRef: sentinelRef,\n scrollOffset: scrollOffset\n }), [\n onLoadMore,\n scrollOffset,\n state?.collection\n ]);\n (0, $c4d6w$useLoadMoreSentinel)(memoedLoadMoreProps, sentinelRef);\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...otherProps,\n id: undefined,\n children: item.rendered,\n defaultClassName: 'react-aria-ListBoxLoadingIndicator',\n values: undefined\n });\n let optionProps = {\n // For Android talkback\n tabIndex: -1\n };\n return /*#__PURE__*/ (0, $c4d6w$react).createElement((0, $c4d6w$react).Fragment, null, /*#__PURE__*/ (0, $c4d6w$react).createElement(\"div\", {\n style: {\n position: 'relative',\n width: 0,\n height: 0\n },\n inert: (0, $c4d6w$inertValue)(true)\n }, /*#__PURE__*/ (0, $c4d6w$react).createElement(\"div\", {\n \"data-testid\": \"loadMoreSentinel\",\n ref: sentinelRef,\n style: {\n position: 'absolute',\n height: 1,\n width: 1\n }\n })), isLoading && renderProps.children && /*#__PURE__*/ (0, $c4d6w$react).createElement((0, $c4d6w$react).Fragment, null, /*#__PURE__*/ (0, $c4d6w$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div, {\n ...(0, $c4d6w$mergeProps)((0, $c4d6w$filterDOMProps)(props, {\n global: true\n }), optionProps),\n ...renderProps,\n // aria-selected isn't needed here since this option is not selectable.\n role: \"option\",\n ref: ref\n }, renderProps.children)));\n});\n\n\nexport {$928221da08ecbc62$export$7ff8f37d2d81a48d as ListBoxContext, $928221da08ecbc62$export$7c5906fe4f1f2af2 as ListStateContext, $928221da08ecbc62$export$41f133550aa26f48 as ListBox, $928221da08ecbc62$export$dca12b0bb56e4fc as ListBoxSection, $928221da08ecbc62$export$a11e76429ed99b4 as ListBoxItem, $928221da08ecbc62$export$8e6d031a08cf56a1 as ListBoxLoadMoreItem};\n//# sourceMappingURL=ListBox.mjs.map\n","import {dom as $7230ffa83bc0c2cf$export$df3a06d6289f983e, useContextProps as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, useRenderProps as $7230ffa83bc0c2cf$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport {filterDOMProps as $cVyXW$filterDOMProps} from \"react-aria/filterDOMProps\";\nimport $cVyXW$react, {createContext as $cVyXW$createContext, forwardRef as $cVyXW$forwardRef} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nconst $4fcfe18fac72dabd$export$2de4954e8ae13b9f = /*#__PURE__*/ (0, $cVyXW$createContext)({\n placement: 'bottom'\n});\nconst $4fcfe18fac72dabd$export$746d02f47f4d381 = /*#__PURE__*/ (0, $cVyXW$forwardRef)(function OverlayArrow(props, ref) {\n [props, ref] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, $4fcfe18fac72dabd$export$2de4954e8ae13b9f);\n let placement = props.placement;\n let style = {\n position: 'absolute',\n transform: placement === 'top' || placement === 'bottom' ? 'translateX(-50%)' : 'translateY(-50%)'\n };\n if (placement != null) style[placement] = '100%';\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...props,\n defaultClassName: 'react-aria-OverlayArrow',\n values: {\n placement: placement\n }\n });\n // remove undefined values from renderProps.style object so that it can be\n // spread merged with the other style object\n if (renderProps.style) Object.keys(renderProps.style).forEach((key)=>renderProps.style[key] === undefined && delete renderProps.style[key]);\n let DOMProps = (0, $cVyXW$filterDOMProps)(props);\n return /*#__PURE__*/ (0, $cVyXW$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div, {\n ...DOMProps,\n ...renderProps,\n style: {\n ...style,\n ...renderProps.style\n },\n ref: ref,\n \"data-placement\": placement\n });\n});\n\n\nexport {$4fcfe18fac72dabd$export$2de4954e8ae13b9f as OverlayArrowContext, $4fcfe18fac72dabd$export$746d02f47f4d381 as OverlayArrow};\n//# sourceMappingURL=OverlayArrow.mjs.map\n","import {createShadowTreeWalker as $654b97e09f2a30c1$export$4d0f8be8b12a7ef6} from \"../utils/shadowdom/ShadowTreeWalker.mjs\";\nimport {getOwnerDocument as $d447af545b77c9f1$export$b204af158042fbac, getOwnerWindow as $d447af545b77c9f1$export$f21a1ffae260145a} from \"../utils/domHelpers.mjs\";\nimport {nodeContains as $23f2114a1b82827e$export$4282f70798064fe0} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {shadowDOM as $6UjbS$shadowDOM} from \"react-stately/private/flags/flags\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\nconst $58196c8d6a1f38fc$var$supportsInert = typeof HTMLElement !== 'undefined' && 'inert' in HTMLElement.prototype;\nfunction $58196c8d6a1f38fc$var$isAlwaysVisibleNode(node) {\n return node.dataset.liveAnnouncer === 'true' || node.dataset.reactAriaTopLayer !== undefined;\n}\n// Keeps a ref count of all hidden elements. Added to when hiding an element, and\n// subtracted from when showing it again. When it reaches zero, aria-hidden is removed.\nlet $58196c8d6a1f38fc$var$refCountMap = new WeakMap();\nlet $58196c8d6a1f38fc$var$observerStack = [];\nfunction $58196c8d6a1f38fc$export$1c3ebcada18427bf(targets, options) {\n let windowObj = (0, $d447af545b77c9f1$export$f21a1ffae260145a)(targets?.[0]);\n let opts = options instanceof windowObj.Element ? {\n root: options\n } : options;\n let root = opts?.root ?? document.body;\n let shouldUseInert = opts?.shouldUseInert && $58196c8d6a1f38fc$var$supportsInert;\n let visibleNodes = new Set(targets);\n let hiddenNodes = new Set();\n let getHidden = (element)=>{\n return shouldUseInert && element instanceof windowObj.HTMLElement ? element.inert : element.getAttribute('aria-hidden') === 'true';\n };\n let setHidden = (element, hidden)=>{\n if (shouldUseInert && element instanceof windowObj.HTMLElement) element.inert = hidden;\n else if (hidden) element.setAttribute('aria-hidden', 'true');\n else {\n element.removeAttribute('aria-hidden');\n if (element instanceof windowObj.HTMLElement) // We only ever call setHidden with hidden = false when the nodeCount is 1 aka\n // we are trying to make the element visible to screen readers again, so remove inert as well\n element.inert = false;\n }\n };\n let shadowRootsToWatch = new Set();\n if ((0, $6UjbS$shadowDOM)()) // find all shadow roots that are ancestors of the targets\n // traverse upwards until the root is reached\n for (let target of targets){\n let node = target;\n while(node && node !== root){\n let root = node.getRootNode();\n if ('shadowRoot' in root) shadowRootsToWatch.add(root.shadowRoot);\n node = root.parentNode;\n }\n }\n let walk = (root)=>{\n // Keep live announcer and top layer elements (e.g. toasts) visible.\n for (let element of root.querySelectorAll('[data-live-announcer], [data-react-aria-top-layer]'))visibleNodes.add(element);\n let acceptNode = (node)=>{\n // Skip this node and its children if it is one of the target nodes, or a live announcer.\n // Also skip children of already hidden nodes, as aria-hidden is recursive. An exception is\n // made for elements with role=\"row\" since VoiceOver on iOS has issues hiding elements with role=\"row\".\n // For that case we want to hide the cells inside as well (https://bugs.webkit.org/show_bug.cgi?id=222623).\n if (hiddenNodes.has(node) || visibleNodes.has(node) || node.parentElement && hiddenNodes.has(node.parentElement) && node.parentElement.getAttribute('role') !== 'row') return NodeFilter.FILTER_REJECT;\n // Skip this node but continue to children if one of the targets is inside the node.\n for (let target of visibleNodes){\n if ((0, $23f2114a1b82827e$export$4282f70798064fe0)(node, target)) return NodeFilter.FILTER_SKIP;\n }\n return NodeFilter.FILTER_ACCEPT;\n };\n let walker = (0, $654b97e09f2a30c1$export$4d0f8be8b12a7ef6)((0, $d447af545b77c9f1$export$b204af158042fbac)(root), root, NodeFilter.SHOW_ELEMENT, {\n acceptNode: acceptNode\n });\n // TreeWalker does not include the root.\n let acceptRoot = acceptNode(root);\n if (acceptRoot === NodeFilter.FILTER_ACCEPT) hide(root);\n if (acceptRoot !== NodeFilter.FILTER_REJECT) {\n let node = walker.nextNode();\n while(node != null){\n hide(node);\n node = walker.nextNode();\n }\n }\n };\n let hide = (node)=>{\n let refCount = $58196c8d6a1f38fc$var$refCountMap.get(node) ?? 0;\n // If already aria-hidden, and the ref count is zero, then this element\n // was already hidden and there's nothing for us to do.\n if (getHidden(node) && refCount === 0) return;\n if (refCount === 0) setHidden(node, true);\n hiddenNodes.add(node);\n $58196c8d6a1f38fc$var$refCountMap.set(node, refCount + 1);\n };\n // If there is already a MutationObserver listening from a previous call,\n // disconnect it so the new on takes over.\n if ($58196c8d6a1f38fc$var$observerStack.length) $58196c8d6a1f38fc$var$observerStack[$58196c8d6a1f38fc$var$observerStack.length - 1].disconnect();\n walk(root);\n let observer = new MutationObserver((changes)=>{\n for (let change of changes){\n if (change.type !== 'childList') continue;\n // If the parent element of the added nodes is not within one of the targets,\n // and not already inside a hidden node, hide all of the new children.\n if (change.target.isConnected && ![\n ...visibleNodes,\n ...hiddenNodes\n ].some((node)=>(0, $23f2114a1b82827e$export$4282f70798064fe0)(node, change.target))) for (let node of change.addedNodes){\n if ((node instanceof HTMLElement || node instanceof SVGElement) && $58196c8d6a1f38fc$var$isAlwaysVisibleNode(node)) visibleNodes.add(node);\n else if (node instanceof Element) walk(node);\n }\n if ((0, $6UjbS$shadowDOM)()) {\n // if any of the observed shadow roots were removed, stop observing them\n for (let shadowRoot of shadowRootsToWatch)if (!shadowRoot.isConnected) {\n observer.disconnect();\n break;\n }\n }\n }\n });\n observer.observe(root, {\n childList: true,\n subtree: true\n });\n let shadowObservers = new Set();\n if ((0, $6UjbS$shadowDOM)()) for (let shadowRoot of shadowRootsToWatch){\n // Disconnect single target instead of all https://github.com/whatwg/dom/issues/126\n let shadowObserver = new MutationObserver((changes)=>{\n for (let change of changes){\n if (change.type !== 'childList') continue;\n // If the parent element of the added nodes is not within one of the targets,\n // and not already inside a hidden node, hide all of the new children.\n if (change.target.isConnected && ![\n ...visibleNodes,\n ...hiddenNodes\n ].some((node)=>(0, $23f2114a1b82827e$export$4282f70798064fe0)(node, change.target))) for (let node of change.addedNodes){\n if ((node instanceof HTMLElement || node instanceof SVGElement) && $58196c8d6a1f38fc$var$isAlwaysVisibleNode(node)) visibleNodes.add(node);\n else if (node instanceof Element) walk(node);\n }\n if ((0, $6UjbS$shadowDOM)()) {\n // if any of the observed shadow roots were removed, stop observing them\n for (let shadowRoot of shadowRootsToWatch)if (!shadowRoot.isConnected) {\n observer.disconnect();\n break;\n }\n }\n }\n });\n shadowObserver.observe(shadowRoot, {\n childList: true,\n subtree: true\n });\n shadowObservers.add(shadowObserver);\n }\n let observerWrapper = {\n visibleNodes: visibleNodes,\n hiddenNodes: hiddenNodes,\n observe () {\n observer.observe(root, {\n childList: true,\n subtree: true\n });\n },\n disconnect () {\n observer.disconnect();\n }\n };\n $58196c8d6a1f38fc$var$observerStack.push(observerWrapper);\n return ()=>{\n observer.disconnect();\n if ((0, $6UjbS$shadowDOM)()) for (let shadowObserver of shadowObservers)shadowObserver.disconnect();\n for (let node of hiddenNodes){\n let count = $58196c8d6a1f38fc$var$refCountMap.get(node);\n if (count == null) continue;\n if (count === 1) {\n setHidden(node, false);\n $58196c8d6a1f38fc$var$refCountMap.delete(node);\n } else $58196c8d6a1f38fc$var$refCountMap.set(node, count - 1);\n }\n // Remove this observer from the stack, and start the previous one.\n if (observerWrapper === $58196c8d6a1f38fc$var$observerStack[$58196c8d6a1f38fc$var$observerStack.length - 1]) {\n $58196c8d6a1f38fc$var$observerStack.pop();\n if ($58196c8d6a1f38fc$var$observerStack.length) $58196c8d6a1f38fc$var$observerStack[$58196c8d6a1f38fc$var$observerStack.length - 1].observe();\n } else $58196c8d6a1f38fc$var$observerStack.splice($58196c8d6a1f38fc$var$observerStack.indexOf(observerWrapper), 1);\n };\n}\nfunction $58196c8d6a1f38fc$export$1020fa7f77e17884(element) {\n let observer = $58196c8d6a1f38fc$var$observerStack[$58196c8d6a1f38fc$var$observerStack.length - 1];\n if (observer && !observer.visibleNodes.has(element)) {\n observer.visibleNodes.add(element);\n return ()=>{\n observer.visibleNodes.delete(element);\n };\n }\n}\n\n\nexport {$58196c8d6a1f38fc$export$1c3ebcada18427bf as ariaHideOutside, $58196c8d6a1f38fc$export$1020fa7f77e17884 as keepVisible};\n//# sourceMappingURL=ariaHideOutside.mjs.map\n","import {isWebKit as $2add3ce32c6007eb$export$78551043582a6a98} from \"../utils/platform.mjs\";\nimport {nodeContains as $23f2114a1b82827e$export$4282f70798064fe0} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {clamp as $c49fX$clamp} from \"react-stately/private/utils/number\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nconst $954926fb6168ae2a$var$AXIS = {\n top: 'top',\n bottom: 'top',\n left: 'left',\n right: 'left'\n};\nconst $954926fb6168ae2a$var$FLIPPED_DIRECTION = {\n top: 'bottom',\n bottom: 'top',\n left: 'right',\n right: 'left'\n};\nconst $954926fb6168ae2a$var$CROSS_AXIS = {\n top: 'left',\n left: 'top'\n};\nconst $954926fb6168ae2a$var$AXIS_SIZE = {\n top: 'height',\n left: 'width'\n};\nconst $954926fb6168ae2a$var$TOTAL_SIZE = {\n width: 'totalWidth',\n height: 'totalHeight'\n};\nconst $954926fb6168ae2a$var$PARSED_PLACEMENT_CACHE = {};\nlet $954926fb6168ae2a$var$getVisualViewport = ()=>typeof document !== 'undefined' ? window.visualViewport : null;\nfunction $954926fb6168ae2a$var$getContainerDimensions(containerNode, visualViewport) {\n let width = 0, height = 0, totalWidth = 0, totalHeight = 0, top = 0, left = 0;\n let scroll = {};\n let isPinchZoomedIn = (visualViewport?.scale ?? 1) > 1;\n // In the case where the container is `html` or `body` and the container doesn't have something like `position: relative`,\n // then position absolute will be positioned relative to the viewport, also known as the `initial containing block`.\n // That's why we use the visual viewport instead.\n if (containerNode.tagName === 'BODY' || containerNode.tagName === 'HTML') {\n let documentElement = document.documentElement;\n totalWidth = documentElement.clientWidth;\n totalHeight = documentElement.clientHeight;\n width = visualViewport?.width ?? totalWidth;\n height = visualViewport?.height ?? totalHeight;\n scroll.top = documentElement.scrollTop || containerNode.scrollTop;\n scroll.left = documentElement.scrollLeft || containerNode.scrollLeft;\n // The goal of the below is to get a top/left value that represents the top/left of the visual viewport with\n // respect to the layout viewport origin. This combined with the scrollTop/scrollLeft will allow us to calculate\n // coordinates/values with respect to the visual viewport or with respect to the layout viewport.\n if (visualViewport) {\n top = visualViewport.offsetTop;\n left = visualViewport.offsetLeft;\n }\n } else {\n ({ width: width, height: height, top: top, left: left } = $954926fb6168ae2a$var$getOffset(containerNode, false));\n scroll.top = containerNode.scrollTop;\n scroll.left = containerNode.scrollLeft;\n totalWidth = width;\n totalHeight = height;\n }\n if ((0, $2add3ce32c6007eb$export$78551043582a6a98)() && (containerNode.tagName === 'BODY' || containerNode.tagName === 'HTML') && isPinchZoomedIn) {\n // Safari will report a non-zero scrollTop/Left for the non-scrolling body/HTML element when pinch zoomed in unlike other browsers.\n // Set to zero for parity calculations so we get consistent positioning of overlays across all browsers.\n // Also switch to visualViewport.pageTop/pageLeft so that we still accomodate for scroll positioning for body/HTML elements that are actually scrollable\n // before pinch zoom happens\n scroll.top = 0;\n scroll.left = 0;\n top = visualViewport?.pageTop ?? 0;\n left = visualViewport?.pageLeft ?? 0;\n }\n return {\n width: width,\n height: height,\n totalWidth: totalWidth,\n totalHeight: totalHeight,\n scroll: scroll,\n top: top,\n left: left\n };\n}\nfunction $954926fb6168ae2a$var$getScroll(node) {\n return {\n top: node.scrollTop,\n left: node.scrollLeft,\n width: node.scrollWidth,\n height: node.scrollHeight\n };\n}\n// Determines the amount of space required when moving the overlay to ensure it remains in the boundary\nfunction $954926fb6168ae2a$var$getDelta(axis, offset, size, // The dimensions of the boundary element that the popover is\n// positioned within (most of the time this is the <body>).\nboundaryDimensions, // The dimensions of the containing block element that the popover is\n// positioned relative to (e.g. parent with position: relative).\n// Usually this is the same as the boundary element, but if the popover\n// is portaled somewhere other than the body and has an ancestor with\n// position: relative/absolute, it will be different.\ncontainerDimensions, padding, containerOffsetWithBoundary) {\n let containerScroll = containerDimensions.scroll[axis] ?? 0;\n // The height/width of the boundary. Matches the axis along which we are adjusting the overlay position\n let boundarySize = boundaryDimensions[$954926fb6168ae2a$var$AXIS_SIZE[axis]];\n // Calculate the edges of the boundary (accomodating for the boundary padding) and the edges of the overlay.\n // Note that these values are with respect to the visual viewport (aka 0,0 is the top left of the viewport)\n let boundaryStartEdge = containerOffsetWithBoundary[axis] + boundaryDimensions.scroll[$954926fb6168ae2a$var$AXIS[axis]] + padding;\n let boundaryEndEdge = containerOffsetWithBoundary[axis] + boundaryDimensions.scroll[$954926fb6168ae2a$var$AXIS[axis]] + boundarySize - padding;\n // transformed value of the left edge of the overlay\n let startEdgeOffset = offset - containerScroll + boundaryDimensions.scroll[$954926fb6168ae2a$var$AXIS[axis]] + containerOffsetWithBoundary[axis] - boundaryDimensions[$954926fb6168ae2a$var$AXIS[axis]];\n // transformed value of the right edge of the overlay\n let endEdgeOffset = offset - containerScroll + size + boundaryDimensions.scroll[$954926fb6168ae2a$var$AXIS[axis]] + containerOffsetWithBoundary[axis] - boundaryDimensions[$954926fb6168ae2a$var$AXIS[axis]];\n // If any of the overlay edges falls outside of the boundary, shift the overlay the required amount to align one of the overlay's\n // edges with the closest boundary edge.\n if (startEdgeOffset < boundaryStartEdge) return boundaryStartEdge - startEdgeOffset;\n else if (endEdgeOffset > boundaryEndEdge) return Math.max(boundaryEndEdge - endEdgeOffset, boundaryStartEdge - startEdgeOffset);\n else return 0;\n}\nfunction $954926fb6168ae2a$var$getMargins(node) {\n let style = window.getComputedStyle(node);\n return {\n top: parseInt(style.marginTop, 10) || 0,\n bottom: parseInt(style.marginBottom, 10) || 0,\n left: parseInt(style.marginLeft, 10) || 0,\n right: parseInt(style.marginRight, 10) || 0\n };\n}\nfunction $954926fb6168ae2a$var$parsePlacement(input) {\n if ($954926fb6168ae2a$var$PARSED_PLACEMENT_CACHE[input]) return $954926fb6168ae2a$var$PARSED_PLACEMENT_CACHE[input];\n let [placement, crossPlacement] = input.split(' ');\n let axis = $954926fb6168ae2a$var$AXIS[placement] || 'right';\n let crossAxis = $954926fb6168ae2a$var$CROSS_AXIS[axis];\n if (!$954926fb6168ae2a$var$AXIS[crossPlacement]) crossPlacement = 'center';\n let size = $954926fb6168ae2a$var$AXIS_SIZE[axis];\n let crossSize = $954926fb6168ae2a$var$AXIS_SIZE[crossAxis];\n $954926fb6168ae2a$var$PARSED_PLACEMENT_CACHE[input] = {\n placement: placement,\n crossPlacement: crossPlacement,\n axis: axis,\n crossAxis: crossAxis,\n size: size,\n crossSize: crossSize\n };\n return $954926fb6168ae2a$var$PARSED_PLACEMENT_CACHE[input];\n}\nfunction $954926fb6168ae2a$var$computePosition(childOffset, boundaryDimensions, overlaySize, placementInfo, offset, crossOffset, containerOffsetWithBoundary, isContainerPositioned, arrowSize, arrowBoundaryOffset, containerDimensions) {\n let { placement: placement, crossPlacement: crossPlacement, axis: axis, crossAxis: crossAxis, size: size, crossSize: crossSize } = placementInfo;\n let position = {};\n // button position\n position[crossAxis] = childOffset[crossAxis] ?? 0;\n if (crossPlacement === 'center') // + (button size / 2) - (overlay size / 2)\n // at this point the overlay center should match the button center\n position[crossAxis] += ((childOffset[crossSize] ?? 0) - (overlaySize[crossSize] ?? 0)) / 2;\n else if (crossPlacement !== crossAxis) // + (button size) - (overlay size)\n // at this point the overlay bottom should match the button bottom\n position[crossAxis] += (childOffset[crossSize] ?? 0) - (overlaySize[crossSize] ?? 0);\n /* else {\n the overlay top should match the button top\n } */ \n position[crossAxis] += crossOffset;\n // overlay top or left overlapping arrow with button bottom or right\n const minPosition = childOffset[crossAxis] - overlaySize[crossSize] + arrowSize + arrowBoundaryOffset;\n // overlay bottom or right overlapping arrow with button top or left\n const maxPosition = childOffset[crossAxis] + childOffset[crossSize] - arrowSize - arrowBoundaryOffset;\n position[crossAxis] = (0, $c49fX$clamp)(position[crossAxis], minPosition, maxPosition);\n // Floor these so the position isn't placed on a partial pixel, only whole pixels. Shouldn't matter if it was floored or ceiled, so chose one.\n if (placement === axis) {\n // If the container is positioned (non-static), then we use the container's actual\n // height, as `bottom` will be relative to this height. But if the container is static,\n // then it can only be the `document.body`, and `bottom` will be relative to _its_\n // container.\n let containerHeight = isContainerPositioned ? containerDimensions[size] : containerDimensions[$954926fb6168ae2a$var$TOTAL_SIZE[size]];\n position[$954926fb6168ae2a$var$FLIPPED_DIRECTION[axis]] = Math.floor(containerHeight - childOffset[axis] + offset);\n } else position[axis] = Math.floor(childOffset[axis] + childOffset[size] + offset);\n return position;\n}\nfunction $954926fb6168ae2a$var$getMaxHeight(position, boundaryDimensions, containerOffsetWithBoundary, isContainerPositioned, margins, padding, overlayHeight, heightGrowthDirection, containerDimensions, isContainerDescendentOfBoundary, visualViewport) {\n // For cases where position is set via \"bottom\" instead of \"top\", we need to calculate the true overlay top\n // with respect to the container.\n let overlayTop = (position.top != null ? position.top : containerDimensions[$954926fb6168ae2a$var$TOTAL_SIZE.height] - (position.bottom ?? 0) - overlayHeight) - (containerDimensions.scroll.top ?? 0);\n // calculate the dimentions of the \"boundingRect\" which is most restrictive top/bottom of the boundaryRect and the visual view port\n let boundaryToContainerTransformOffset = isContainerDescendentOfBoundary ? containerOffsetWithBoundary.top : 0;\n let boundingRect = {\n // This should be boundary top in container coord system vs viewport top in container coord system\n // For the viewport top, there are several cases\n // 1. pinchzoom case where we want the viewports offset top as top here\n // 2. case where container is offset from the boundary and is contained by the boundary. In this case the top we want here is NOT 0, we want to take boundary's top even though is is a negative number OR the visual viewport, whichever is more restrictive\n top: Math.max(boundaryDimensions.top + boundaryToContainerTransformOffset, (visualViewport?.offsetTop ?? boundaryDimensions.top) + boundaryToContainerTransformOffset),\n bottom: Math.min(boundaryDimensions.top + boundaryDimensions.height + boundaryToContainerTransformOffset, (visualViewport?.offsetTop ?? 0) + (visualViewport?.height ?? 0))\n };\n let maxHeight = heightGrowthDirection !== 'top' ? Math.max(0, boundingRect.bottom - // this is the bottom of the boundary\n overlayTop - // this is the top of the overlay\n ((margins.top ?? 0) + (margins.bottom ?? 0) + padding // save additional space for margin and padding\n )) : Math.max(0, overlayTop + overlayHeight - // this is the bottom of the overlay\n boundingRect.top - // this is the top of the boundary\n ((margins.top ?? 0) + (margins.bottom ?? 0) + padding // save additional space for margin and padding\n ));\n return maxHeight;\n}\nfunction $954926fb6168ae2a$var$getAvailableSpace(boundaryDimensions, containerOffsetWithBoundary, childOffset, margins, padding, placementInfo, containerDimensions, isContainerDescendentOfBoundary) {\n let { placement: placement, axis: axis, size: size } = placementInfo;\n if (placement === axis) return Math.max(0, childOffset[axis] - // trigger start\n (containerDimensions.scroll[axis] ?? 0) - // transform trigger position to be with respect to viewport 0,0\n (boundaryDimensions[axis] + (isContainerDescendentOfBoundary ? containerOffsetWithBoundary[axis] : 0)) - // boundary start\n (margins[axis] ?? 0) - // margins usually for arrows or other decorations\n margins[$954926fb6168ae2a$var$FLIPPED_DIRECTION[axis]] - padding); // padding between overlay and boundary\n return Math.max(0, boundaryDimensions[size] + boundaryDimensions[axis] + (isContainerDescendentOfBoundary ? containerOffsetWithBoundary[axis] : 0) - childOffset[axis] - childOffset[size] + (containerDimensions.scroll[axis] ?? 0) - (margins[axis] ?? 0) - margins[$954926fb6168ae2a$var$FLIPPED_DIRECTION[axis]] - padding);\n}\nfunction $954926fb6168ae2a$export$6839422d1f33cee9(placementInput, childOffset, overlaySize, scrollSize, margins, padding, flip, boundaryDimensions, containerDimensions, containerOffsetWithBoundary, offset, crossOffset, isContainerPositioned, userSetMaxHeight, arrowSize, arrowBoundaryOffset, isContainerDescendentOfBoundary, visualViewport) {\n let placementInfo = $954926fb6168ae2a$var$parsePlacement(placementInput);\n let { size: size, crossAxis: crossAxis, crossSize: crossSize, placement: placement, crossPlacement: crossPlacement } = placementInfo;\n let position = $954926fb6168ae2a$var$computePosition(childOffset, boundaryDimensions, overlaySize, placementInfo, offset, crossOffset, containerOffsetWithBoundary, isContainerPositioned, arrowSize, arrowBoundaryOffset, containerDimensions);\n let normalizedOffset = offset;\n let space = $954926fb6168ae2a$var$getAvailableSpace(boundaryDimensions, containerOffsetWithBoundary, childOffset, margins, padding + offset, placementInfo, containerDimensions, isContainerDescendentOfBoundary);\n // Check if the scroll size of the overlay is greater than the available space to determine if we need to flip\n if (flip && overlaySize[size] > space) {\n let flippedPlacementInfo = $954926fb6168ae2a$var$parsePlacement(`${$954926fb6168ae2a$var$FLIPPED_DIRECTION[placement]} ${crossPlacement}`);\n let flippedPosition = $954926fb6168ae2a$var$computePosition(childOffset, boundaryDimensions, overlaySize, flippedPlacementInfo, offset, crossOffset, containerOffsetWithBoundary, isContainerPositioned, arrowSize, arrowBoundaryOffset, containerDimensions);\n let flippedSpace = $954926fb6168ae2a$var$getAvailableSpace(boundaryDimensions, containerOffsetWithBoundary, childOffset, margins, padding + offset, flippedPlacementInfo, containerDimensions, isContainerDescendentOfBoundary);\n // If the available space for the flipped position is greater than the original available space, flip.\n if (flippedSpace > space) {\n placementInfo = flippedPlacementInfo;\n position = flippedPosition;\n normalizedOffset = offset;\n }\n }\n // Determine the direction the height of the overlay can grow so that we can choose how to calculate the max height\n let heightGrowthDirection = 'bottom';\n if (placementInfo.axis === 'top') {\n if (placementInfo.placement === 'top') heightGrowthDirection = 'top';\n else if (placementInfo.placement === 'bottom') heightGrowthDirection = 'bottom';\n } else if (placementInfo.crossAxis === 'top') {\n if (placementInfo.crossPlacement === 'top') heightGrowthDirection = 'bottom';\n else if (placementInfo.crossPlacement === 'bottom') heightGrowthDirection = 'top';\n }\n let delta = $954926fb6168ae2a$var$getDelta(crossAxis, position[crossAxis], overlaySize[crossSize], boundaryDimensions, containerDimensions, padding, containerOffsetWithBoundary);\n position[crossAxis] += delta;\n let maxHeight = $954926fb6168ae2a$var$getMaxHeight(position, boundaryDimensions, containerOffsetWithBoundary, isContainerPositioned, margins, padding, overlaySize.height, heightGrowthDirection, containerDimensions, isContainerDescendentOfBoundary, visualViewport);\n if (userSetMaxHeight && userSetMaxHeight < maxHeight) maxHeight = userSetMaxHeight;\n overlaySize.height = Math.min(overlaySize.height, maxHeight);\n position = $954926fb6168ae2a$var$computePosition(childOffset, boundaryDimensions, overlaySize, placementInfo, normalizedOffset, crossOffset, containerOffsetWithBoundary, isContainerPositioned, arrowSize, arrowBoundaryOffset, containerDimensions);\n delta = $954926fb6168ae2a$var$getDelta(crossAxis, position[crossAxis], overlaySize[crossSize], boundaryDimensions, containerDimensions, padding, containerOffsetWithBoundary);\n position[crossAxis] += delta;\n let arrowPosition = {};\n // All values are transformed so that 0 is at the top/left of the overlay depending on the orientation\n // Prefer the arrow being in the center of the trigger/overlay anchor element\n // childOffset[crossAxis] + .5 * childOffset[crossSize] = absolute position with respect to the trigger's coordinate system that would place the arrow in the center of the trigger\n // position[crossAxis] - margins[AXIS[crossAxis]] = value use to transform the position to a value with respect to the overlay's coordinate system. A child element's (aka arrow) position absolute's \"0\"\n // is positioned after the margin of its parent (aka overlay) so we need to subtract it to get the proper coordinate transform\n let origin = childOffset[crossAxis] - position[crossAxis] - margins[$954926fb6168ae2a$var$AXIS[crossAxis]];\n let preferredArrowPosition = origin + 0.5 * childOffset[crossSize];\n // Min/Max position limits for the arrow with respect to the overlay\n const arrowMinPosition = arrowSize / 2 + arrowBoundaryOffset;\n // overlaySize[crossSize] - margins = true size of the overlay\n const overlayMargin = $954926fb6168ae2a$var$AXIS[crossAxis] === 'left' ? (margins.left ?? 0) + (margins.right ?? 0) : (margins.top ?? 0) + (margins.bottom ?? 0);\n const arrowMaxPosition = overlaySize[crossSize] - overlayMargin - arrowSize / 2 - arrowBoundaryOffset;\n // Min/Max position limits for the arrow with respect to the trigger/overlay anchor element\n // Same margin accomodation done here as well as for the preferredArrowPosition\n const arrowOverlappingChildMinEdge = childOffset[crossAxis] + arrowSize / 2 - (position[crossAxis] + margins[$954926fb6168ae2a$var$AXIS[crossAxis]]);\n const arrowOverlappingChildMaxEdge = childOffset[crossAxis] + childOffset[crossSize] - arrowSize / 2 - (position[crossAxis] + margins[$954926fb6168ae2a$var$AXIS[crossAxis]]);\n // Clamp the arrow positioning so that it always is within the bounds of the anchor and the overlay\n const arrowPositionOverlappingChild = (0, $c49fX$clamp)(preferredArrowPosition, arrowOverlappingChildMinEdge, arrowOverlappingChildMaxEdge);\n arrowPosition[crossAxis] = (0, $c49fX$clamp)(arrowPositionOverlappingChild, arrowMinPosition, arrowMaxPosition);\n // If there is an arrow, use that as the origin so that animations are smooth.\n // Otherwise use the target edge.\n ({ placement: placement, crossPlacement: crossPlacement } = placementInfo);\n if (arrowSize) origin = arrowPosition[crossAxis];\n else if (crossPlacement === 'right') origin += childOffset[crossSize];\n else if (crossPlacement === 'center') origin += childOffset[crossSize] / 2;\n let crossOrigin = placement === 'left' || placement === 'top' ? overlaySize[size] : 0;\n let triggerAnchorPoint = {\n x: placement === 'top' || placement === 'bottom' ? origin : crossOrigin,\n y: placement === 'left' || placement === 'right' ? origin : crossOrigin\n };\n return {\n position: position,\n maxHeight: maxHeight,\n arrowOffsetLeft: arrowPosition.left,\n arrowOffsetTop: arrowPosition.top,\n placement: placement,\n triggerAnchorPoint: triggerAnchorPoint\n };\n}\nfunction $954926fb6168ae2a$export$b3ceb0cbf1056d98(opts) {\n let { placement: placement, targetNode: targetNode, overlayNode: overlayNode, scrollNode: scrollNode, padding: padding, shouldFlip: shouldFlip, boundaryElement: boundaryElement, offset: offset, crossOffset: crossOffset, maxHeight: maxHeight, arrowSize: arrowSize = 0, arrowBoundaryOffset: arrowBoundaryOffset = 0 } = opts;\n let visualViewport = $954926fb6168ae2a$var$getVisualViewport();\n let container = overlayNode instanceof HTMLElement ? $954926fb6168ae2a$var$getContainingBlock(overlayNode) : document.documentElement;\n let isViewportContainer = container === document.documentElement;\n const containerPositionStyle = window.getComputedStyle(container).position;\n let isContainerPositioned = !!containerPositionStyle && containerPositionStyle !== 'static';\n let childOffset = isViewportContainer ? $954926fb6168ae2a$var$getOffset(targetNode, false) : $954926fb6168ae2a$var$getPosition(targetNode, container, false);\n if (!isViewportContainer) {\n let { marginTop: marginTop, marginLeft: marginLeft } = window.getComputedStyle(targetNode);\n childOffset.top += parseInt(marginTop, 10) || 0;\n childOffset.left += parseInt(marginLeft, 10) || 0;\n }\n let overlaySize = $954926fb6168ae2a$var$getOffset(overlayNode, true);\n let margins = $954926fb6168ae2a$var$getMargins(overlayNode);\n overlaySize.width += (margins.left ?? 0) + (margins.right ?? 0);\n overlaySize.height += (margins.top ?? 0) + (margins.bottom ?? 0);\n let scrollSize = $954926fb6168ae2a$var$getScroll(scrollNode);\n // Note that due to logic inside getContainerDimensions, for cases where the boundary element is the body, we will return\n // a height/width that matches the visual viewport size rather than the body's height/width (aka for zoom it will be zoom adjusted size)\n // and a top/left that is adjusted as well (will return the top/left of the zoomed in viewport, or 0,0 for a non-zoomed body)\n // Otherwise this returns the height/width of a arbitrary boundary element, and its top/left with respect to the viewport (NOTE THIS MEANS IT DOESNT INCLUDE SCROLL)\n let boundaryDimensions = $954926fb6168ae2a$var$getContainerDimensions(boundaryElement, visualViewport);\n let containerDimensions = $954926fb6168ae2a$var$getContainerDimensions(container, visualViewport);\n // There are several difference cases of how to calculate the containerOffsetWithBoundary:\n // - boundaryElement is body or HTML and the container is an arbitrary element in the boundary (aka submenu with parent menu as container in v3)\n // - boundaryElement and container are both body or HTML element (aka standard popover case)\n // - boundaryElement is customized by the user. Container can also be arbitrary (either body/HTML or some other element)\n // containerOffsetWithBoundary should always return a value that is the boundary's coordinate offset with respect to the container coord system (container is 0, 0)\n let containerOffsetWithBoundary;\n if ((boundaryElement.tagName === 'BODY' || boundaryElement.tagName === 'HTML') && !isViewportContainer) {\n // Use getRect instead of getOffset because boundaryDimensions for BODY/HTML is in viewport coordinate space,\n // not document coordinate space\n let containerRect = $954926fb6168ae2a$export$4b834cebd9e5cebe(container, false);\n // the offset should be negative because if container is at viewport position x,y, then viewport top (aka 0)\n // is at position -x,y in container-relative coordinates\n containerOffsetWithBoundary = {\n top: -(containerRect.top - boundaryDimensions.top),\n left: -(containerRect.left - boundaryDimensions.left),\n width: 0,\n height: 0\n };\n } else if ((boundaryElement.tagName === 'BODY' || boundaryElement.tagName === 'HTML') && isViewportContainer) // both are the same viewport container, no offset needed\n containerOffsetWithBoundary = {\n top: 0,\n left: 0,\n width: 0,\n height: 0\n };\n else // This returns the boundary's coordinate with respect to the container. This case captures cases such as when you provide a custom boundary\n // like in ScrollingBoundaryContainerExample in Popover.stories.\n containerOffsetWithBoundary = $954926fb6168ae2a$var$getPosition(boundaryElement, container, false);\n let isContainerDescendentOfBoundary = (0, $23f2114a1b82827e$export$4282f70798064fe0)(boundaryElement, container);\n return $954926fb6168ae2a$export$6839422d1f33cee9(placement, childOffset, overlaySize, scrollSize, margins, padding, shouldFlip, boundaryDimensions, containerDimensions, containerOffsetWithBoundary, offset, crossOffset, isContainerPositioned, maxHeight, arrowSize, arrowBoundaryOffset, isContainerDescendentOfBoundary, visualViewport);\n}\nfunction $954926fb6168ae2a$export$4b834cebd9e5cebe(node, ignoreScale) {\n let { top: top, left: left, width: width, height: height } = node.getBoundingClientRect();\n // Use offsetWidth and offsetHeight if this is an HTML element, so that\n // the size is not affected by scale transforms.\n if (ignoreScale && node instanceof node.ownerDocument.defaultView.HTMLElement) {\n width = node.offsetWidth;\n height = node.offsetHeight;\n }\n return {\n top: top,\n left: left,\n width: width,\n height: height\n };\n}\nfunction $954926fb6168ae2a$var$getOffset(node, ignoreScale) {\n let { top: top, left: left, width: width, height: height } = $954926fb6168ae2a$export$4b834cebd9e5cebe(node, ignoreScale);\n let { scrollTop: scrollTop, scrollLeft: scrollLeft, clientTop: clientTop, clientLeft: clientLeft } = document.documentElement;\n return {\n top: top + scrollTop - clientTop,\n left: left + scrollLeft - clientLeft,\n width: width,\n height: height\n };\n}\nfunction $954926fb6168ae2a$var$getPosition(node, parent, ignoreScale) {\n let style = window.getComputedStyle(node);\n let offset;\n if (style.position === 'fixed') offset = $954926fb6168ae2a$export$4b834cebd9e5cebe(node, ignoreScale);\n else {\n offset = $954926fb6168ae2a$var$getOffset(node, ignoreScale);\n let parentOffset = $954926fb6168ae2a$var$getOffset(parent, ignoreScale);\n let parentStyle = window.getComputedStyle(parent);\n parentOffset.top += (parseInt(parentStyle.borderTopWidth, 10) || 0) - parent.scrollTop;\n parentOffset.left += (parseInt(parentStyle.borderLeftWidth, 10) || 0) - parent.scrollLeft;\n offset.top -= parentOffset.top;\n offset.left -= parentOffset.left;\n }\n offset.top -= parseInt(style.marginTop, 10) || 0;\n offset.left -= parseInt(style.marginLeft, 10) || 0;\n return offset;\n}\n// Returns the containing block of an element, which is the element that\n// this element will be positioned relative to.\n// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block\nfunction $954926fb6168ae2a$var$getContainingBlock(node) {\n // The offsetParent of an element in most cases equals the containing block.\n // https://w3c.github.io/csswg-drafts/cssom-view/#dom-htmlelement-offsetparent\n let offsetParent = node.offsetParent;\n // The offsetParent algorithm terminates at the document body,\n // even if the body is not a containing block. Double check that\n // and use the documentElement if so.\n if (offsetParent && offsetParent === document.body && window.getComputedStyle(offsetParent).position === 'static' && !$954926fb6168ae2a$var$isContainingBlock(offsetParent)) offsetParent = document.documentElement;\n // TODO(later): handle table elements?\n // The offsetParent can be null if the element has position: fixed, or a few other cases.\n // We have to walk up the tree manually in this case because fixed positioned elements\n // are still positioned relative to their containing block, which is not always the viewport.\n if (offsetParent == null) {\n offsetParent = node.parentElement;\n while(offsetParent && !$954926fb6168ae2a$var$isContainingBlock(offsetParent))offsetParent = offsetParent.parentElement;\n }\n // Fall back to the viewport.\n return offsetParent || document.documentElement;\n}\n// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\nfunction $954926fb6168ae2a$var$isContainingBlock(node) {\n let style = window.getComputedStyle(node);\n return style.transform !== 'none' || /transform|perspective/.test(style.willChange) || style.filter !== 'none' || style.contain === 'paint' || 'backdropFilter' in style && style.backdropFilter !== 'none' || 'WebkitBackdropFilter' in style && style.WebkitBackdropFilter !== 'none';\n}\n\n\nexport {$954926fb6168ae2a$export$6839422d1f33cee9 as calculatePositionInternal, $954926fb6168ae2a$export$b3ceb0cbf1056d98 as calculatePosition, $954926fb6168ae2a$export$4b834cebd9e5cebe as getRect};\n//# sourceMappingURL=calculatePosition.mjs.map\n","import {getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29, nodeContains as $23f2114a1b82827e$export$4282f70798064fe0} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {useEffect as $8Mq5d$useEffect} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nconst $22e2f5f6490788e8$export$f6211563215e3b37 = new WeakMap();\nfunction $22e2f5f6490788e8$export$18fc8428861184da(opts) {\n let { triggerRef: triggerRef, isOpen: isOpen, onClose: onClose } = opts;\n (0, $8Mq5d$useEffect)(()=>{\n if (!isOpen || onClose === null) return;\n let onScroll = (e)=>{\n // Ignore if scrolling an scrollable region outside the trigger's tree.\n let target = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e);\n // window is not a Node and doesn't have contain, but window contains everything\n if (!triggerRef.current || target instanceof Node && !(0, $23f2114a1b82827e$export$4282f70798064fe0)(target, triggerRef.current)) return;\n // Ignore scroll events on any input or textarea as the cursor position can cause it to scroll\n // such as in a combobox. Clicking the dropdown button places focus on the input, and if the\n // text inside the input extends beyond the 'end', then it will scroll so the cursor is visible at the end.\n if (target instanceof HTMLInputElement || target instanceof HTMLTextAreaElement) return;\n let onCloseHandler = onClose || $22e2f5f6490788e8$export$f6211563215e3b37.get(triggerRef.current);\n if (onCloseHandler) onCloseHandler();\n };\n window.addEventListener('scroll', onScroll, true);\n return ()=>{\n window.removeEventListener('scroll', onScroll, true);\n };\n }, [\n isOpen,\n onClose,\n triggerRef\n ]);\n}\n\n\nexport {$22e2f5f6490788e8$export$f6211563215e3b37 as onCloseMap, $22e2f5f6490788e8$export$18fc8428861184da as useCloseOnScroll};\n//# sourceMappingURL=useCloseOnScroll.mjs.map\n","import {useEffectEvent as $fe16bffc7a557bf0$export$7f54fc3180508a52} from \"./useEffectEvent.mjs\";\nimport {useEffect as $aLvW6$useEffect} from \"react\";\n\n\n\nfunction $970072cf4b13fde3$var$hasResizeObserver() {\n return typeof window.ResizeObserver !== 'undefined';\n}\nfunction $970072cf4b13fde3$export$683480f191c0e3ea(options) {\n // Only call onResize from inside the effect, otherwise we'll void our assumption that\n // useEffectEvents are safe to pass in.\n const { ref: ref, box: box, onResize: onResize } = options;\n let onResizeEvent = (0, $fe16bffc7a557bf0$export$7f54fc3180508a52)(onResize);\n (0, $aLvW6$useEffect)(()=>{\n let element = ref?.current;\n if (!element) return;\n if (!$970072cf4b13fde3$var$hasResizeObserver()) {\n window.addEventListener('resize', onResizeEvent, false);\n return ()=>{\n window.removeEventListener('resize', onResizeEvent, false);\n };\n } else {\n const resizeObserverInstance = new window.ResizeObserver((entries)=>{\n if (!entries.length) return;\n onResizeEvent();\n });\n resizeObserverInstance.observe(element, {\n box: box\n });\n return ()=>{\n if (element) resizeObserverInstance.unobserve(element);\n };\n }\n }, [\n ref,\n box\n ]);\n}\n\n\nexport {$970072cf4b13fde3$export$683480f191c0e3ea as useResizeObserver};\n//# sourceMappingURL=useResizeObserver.mjs.map\n","import {calculatePosition as $954926fb6168ae2a$export$b3ceb0cbf1056d98, getRect as $954926fb6168ae2a$export$4b834cebd9e5cebe} from \"./calculatePosition.mjs\";\nimport {getActiveElement as $23f2114a1b82827e$export$cd4e5573fbe2b576, isFocusWithin as $23f2114a1b82827e$export$b4f377a2b6254582} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {useCloseOnScroll as $22e2f5f6490788e8$export$18fc8428861184da} from \"./useCloseOnScroll.mjs\";\nimport {useLayoutEffect as $c4867b2f328c2698$export$e5c5a5f917a5871c} from \"../utils/useLayoutEffect.mjs\";\nimport {useLocale as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7} from \"../i18n/I18nProvider.mjs\";\nimport {useResizeObserver as $970072cf4b13fde3$export$683480f191c0e3ea} from \"../utils/useResizeObserver.mjs\";\nimport {useState as $jKzS8$useState, useRef as $jKzS8$useRef, useEffect as $jKzS8$useEffect, useCallback as $jKzS8$useCallback} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\nlet $b3526bc71400be8d$var$visualViewport = typeof document !== 'undefined' ? window.visualViewport : null;\nfunction $b3526bc71400be8d$export$d39e1813b3bdd0e1(props) {\n let { direction: direction } = (0, $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7)();\n let { arrowSize: arrowSize, targetRef: targetRef, overlayRef: overlayRef, arrowRef: arrowRef, scrollRef: scrollRef = overlayRef, placement: placement = 'bottom', containerPadding: containerPadding = 12, shouldFlip: shouldFlip = true, boundaryElement: boundaryElement = typeof document !== 'undefined' ? document.body : null, offset: offset = 0, crossOffset: crossOffset = 0, shouldUpdatePosition: shouldUpdatePosition = true, isOpen: isOpen = true, onClose: onClose, maxHeight: maxHeight, arrowBoundaryOffset: arrowBoundaryOffset = 0 } = props;\n let [position, setPosition] = (0, $jKzS8$useState)(null);\n let deps = [\n shouldUpdatePosition,\n placement,\n overlayRef.current,\n targetRef.current,\n arrowRef?.current,\n scrollRef.current,\n containerPadding,\n shouldFlip,\n boundaryElement,\n offset,\n crossOffset,\n isOpen,\n direction,\n maxHeight,\n arrowBoundaryOffset,\n arrowSize\n ];\n // Note, the position freezing breaks if body sizes itself dynamicly with the visual viewport but that might\n // just be a non-realistic use case\n // Upon opening a overlay, record the current visual viewport scale so we can freeze the overlay styles\n let lastScale = (0, $jKzS8$useRef)($b3526bc71400be8d$var$visualViewport?.scale);\n (0, $jKzS8$useEffect)(()=>{\n if (isOpen) lastScale.current = $b3526bc71400be8d$var$visualViewport?.scale;\n }, [\n isOpen\n ]);\n let updatePosition = (0, $jKzS8$useCallback)(()=>{\n if (shouldUpdatePosition === false || !isOpen || !overlayRef.current || !targetRef.current || !boundaryElement) return;\n if ($b3526bc71400be8d$var$visualViewport?.scale !== lastScale.current) return;\n // Determine a scroll anchor based on the focused element.\n // This stores the offset of the anchor element from the scroll container\n // so it can be restored after repositioning. This way if the overlay height\n // changes, the focused element appears to stay in the same position.\n let anchor = null;\n if (scrollRef.current && (0, $23f2114a1b82827e$export$b4f377a2b6254582)(scrollRef.current)) {\n let anchorRect = (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)()?.getBoundingClientRect();\n let scrollRect = scrollRef.current.getBoundingClientRect();\n // Anchor from the top if the offset is in the top half of the scrollable element,\n // otherwise anchor from the bottom.\n anchor = {\n type: 'top',\n offset: (anchorRect?.top ?? 0) - scrollRect.top\n };\n if (anchor.offset > scrollRect.height / 2) {\n anchor.type = 'bottom';\n anchor.offset = (anchorRect?.bottom ?? 0) - scrollRect.bottom;\n }\n }\n // Always reset the overlay's previous max height if not defined by the user so that we can compensate for\n // RAC collections populating after a second render and properly set a correct max height + positioning when it populates.\n let overlay = overlayRef.current;\n if (!maxHeight && overlayRef.current) {\n overlay.style.top = '0px';\n overlay.style.bottom = '';\n overlay.style.maxHeight = (window.visualViewport?.height ?? window.innerHeight) + 'px';\n }\n let position = (0, $954926fb6168ae2a$export$b3ceb0cbf1056d98)({\n placement: $b3526bc71400be8d$var$translateRTL(placement, direction),\n overlayNode: overlayRef.current,\n targetNode: targetRef.current,\n scrollNode: scrollRef.current || overlayRef.current,\n padding: containerPadding,\n shouldFlip: shouldFlip,\n boundaryElement: boundaryElement,\n offset: offset,\n crossOffset: crossOffset,\n maxHeight: maxHeight,\n arrowSize: arrowSize ?? (arrowRef?.current ? (0, $954926fb6168ae2a$export$4b834cebd9e5cebe)(arrowRef.current, true).width : 0),\n arrowBoundaryOffset: arrowBoundaryOffset\n });\n if (!position.position) return;\n // Modify overlay styles directly so positioning happens immediately without the need of a second render\n // This is so we don't have to delay autoFocus scrolling or delay applying preventScroll for popovers\n overlay.style.top = '';\n overlay.style.bottom = '';\n overlay.style.left = '';\n overlay.style.right = '';\n Object.keys(position.position).forEach((key)=>overlay.style[key] = position.position[key] + 'px');\n overlay.style.maxHeight = position.maxHeight != null ? position.maxHeight + 'px' : '';\n // Restore scroll position relative to anchor element.\n let activeElement = (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)();\n if (anchor && activeElement && scrollRef.current) {\n let anchorRect = activeElement.getBoundingClientRect();\n let scrollRect = scrollRef.current.getBoundingClientRect();\n let newOffset = anchorRect[anchor.type] - scrollRect[anchor.type];\n scrollRef.current.scrollTop += newOffset - anchor.offset;\n }\n // Trigger a set state for a second render anyway for arrow positioning\n setPosition(position);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, deps);\n // Update position when anything changes\n // eslint-disable-next-line react-hooks/exhaustive-deps\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(updatePosition, deps);\n // Update position on window resize\n $b3526bc71400be8d$var$useResize(updatePosition);\n // Update position when the overlay changes size (might need to flip).\n (0, $970072cf4b13fde3$export$683480f191c0e3ea)({\n ref: overlayRef,\n onResize: updatePosition\n });\n // Update position when the target changes size (might need to flip).\n (0, $970072cf4b13fde3$export$683480f191c0e3ea)({\n ref: targetRef,\n onResize: updatePosition\n });\n // Reposition the overlay and do not close on scroll while the visual viewport is resizing.\n // This will ensure that overlays adjust their positioning when the iOS virtual keyboard appears.\n let isResizing = (0, $jKzS8$useRef)(false);\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n let timeout;\n let onResize = ()=>{\n isResizing.current = true;\n clearTimeout(timeout);\n timeout = setTimeout(()=>{\n isResizing.current = false;\n }, 500);\n updatePosition();\n };\n // Only reposition the overlay if a scroll event happens immediately as a result of resize (aka the virtual keyboard has appears)\n // We don't want to reposition the overlay if the user has pinch zoomed in and is scrolling the viewport around.\n let onScroll = ()=>{\n if (isResizing.current) onResize();\n };\n $b3526bc71400be8d$var$visualViewport?.addEventListener('resize', onResize);\n $b3526bc71400be8d$var$visualViewport?.addEventListener('scroll', onScroll);\n return ()=>{\n $b3526bc71400be8d$var$visualViewport?.removeEventListener('resize', onResize);\n $b3526bc71400be8d$var$visualViewport?.removeEventListener('scroll', onScroll);\n };\n }, [\n updatePosition\n ]);\n let close = (0, $jKzS8$useCallback)(()=>{\n if (!isResizing.current) onClose?.();\n }, [\n onClose,\n isResizing\n ]);\n // When scrolling a parent scrollable region of the trigger (other than the body),\n // we hide the popover. Otherwise, its position would be incorrect.\n (0, $22e2f5f6490788e8$export$18fc8428861184da)({\n triggerRef: targetRef,\n isOpen: isOpen,\n onClose: onClose && close\n });\n return {\n overlayProps: {\n style: {\n position: position ? 'absolute' : 'fixed',\n top: !position ? 0 : undefined,\n left: !position ? 0 : undefined,\n zIndex: 100000,\n ...position?.position,\n maxHeight: position?.maxHeight ?? '100vh'\n }\n },\n placement: position?.placement ?? null,\n triggerAnchorPoint: position?.triggerAnchorPoint ?? null,\n arrowProps: {\n 'aria-hidden': 'true',\n role: 'presentation',\n style: {\n left: position?.arrowOffsetLeft,\n top: position?.arrowOffsetTop\n }\n },\n updatePosition: updatePosition\n };\n}\nfunction $b3526bc71400be8d$var$useResize(onResize) {\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n window.addEventListener('resize', onResize, false);\n return ()=>{\n window.removeEventListener('resize', onResize, false);\n };\n }, [\n onResize\n ]);\n}\nfunction $b3526bc71400be8d$var$translateRTL(position, direction) {\n if (direction === 'rtl') return position.replace('start', 'right').replace('end', 'left');\n return position.replace('start', 'left').replace('end', 'right');\n}\n\n\nexport {$b3526bc71400be8d$export$d39e1813b3bdd0e1 as useOverlayPosition};\n//# sourceMappingURL=useOverlayPosition.mjs.map\n","import {getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29, nodeContains as $23f2114a1b82827e$export$4282f70798064fe0} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {getOwnerDocument as $d447af545b77c9f1$export$b204af158042fbac} from \"../utils/domHelpers.mjs\";\nimport {useEffectEvent as $fe16bffc7a557bf0$export$7f54fc3180508a52} from \"../utils/useEffectEvent.mjs\";\nimport {useRef as $a2uwp$useRef, useEffect as $a2uwp$useEffect} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ // Portions of the code in this file are based on code from react.\n// Original licensing for the following can be found in the\n// NOTICE file in the root directory of this source tree.\n// See https://github.com/facebook/react/tree/cc7c1aece46a6b69b41958d731e0fd27c94bfc6c/packages/react-interactions\n\n\n\n\nfunction $e260d131964da0f9$export$872b660ac5a1ff98(props) {\n let { ref: ref, onInteractOutside: onInteractOutside, isDisabled: isDisabled, onInteractOutsideStart: onInteractOutsideStart } = props;\n let stateRef = (0, $a2uwp$useRef)({\n isPointerDown: false,\n ignoreEmulatedMouseEvents: false\n });\n let onPointerDown = (0, $fe16bffc7a557bf0$export$7f54fc3180508a52)((e)=>{\n if (onInteractOutside && $e260d131964da0f9$var$isValidEvent(e, ref)) {\n if (onInteractOutsideStart) onInteractOutsideStart(e);\n stateRef.current.isPointerDown = true;\n }\n });\n let triggerInteractOutside = (0, $fe16bffc7a557bf0$export$7f54fc3180508a52)((e)=>{\n if (onInteractOutside) onInteractOutside(e);\n });\n (0, $a2uwp$useEffect)(()=>{\n let state = stateRef.current;\n if (isDisabled) return;\n const element = ref.current;\n const documentObject = (0, $d447af545b77c9f1$export$b204af158042fbac)(element);\n // Use pointer events if available. Otherwise, fall back to mouse and touch events.\n if (typeof PointerEvent !== 'undefined') {\n let onClick = (e)=>{\n if (state.isPointerDown && $e260d131964da0f9$var$isValidEvent(e, ref)) triggerInteractOutside(e);\n state.isPointerDown = false;\n };\n // changing these to capture phase fixed combobox\n // Use click instead of pointerup to avoid Android Chrome issue\n // https://issues.chromium.org/issues/40732224\n documentObject.addEventListener('pointerdown', onPointerDown, true);\n documentObject.addEventListener('click', onClick, true);\n return ()=>{\n documentObject.removeEventListener('pointerdown', onPointerDown, true);\n documentObject.removeEventListener('click', onClick, true);\n };\n } else if (process.env.NODE_ENV === 'test') {\n let onMouseUp = (e)=>{\n if (state.ignoreEmulatedMouseEvents) state.ignoreEmulatedMouseEvents = false;\n else if (state.isPointerDown && $e260d131964da0f9$var$isValidEvent(e, ref)) triggerInteractOutside(e);\n state.isPointerDown = false;\n };\n let onTouchEnd = (e)=>{\n state.ignoreEmulatedMouseEvents = true;\n if (state.isPointerDown && $e260d131964da0f9$var$isValidEvent(e, ref)) triggerInteractOutside(e);\n state.isPointerDown = false;\n };\n documentObject.addEventListener('mousedown', onPointerDown, true);\n documentObject.addEventListener('mouseup', onMouseUp, true);\n documentObject.addEventListener('touchstart', onPointerDown, true);\n documentObject.addEventListener('touchend', onTouchEnd, true);\n return ()=>{\n documentObject.removeEventListener('mousedown', onPointerDown, true);\n documentObject.removeEventListener('mouseup', onMouseUp, true);\n documentObject.removeEventListener('touchstart', onPointerDown, true);\n documentObject.removeEventListener('touchend', onTouchEnd, true);\n };\n }\n }, [\n ref,\n isDisabled\n ]);\n}\nfunction $e260d131964da0f9$var$isValidEvent(event, ref) {\n if (event.button > 0) return false;\n let target = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(event);\n if (target) {\n // if the event target is no longer in the document, ignore\n const ownerDocument = target.ownerDocument;\n if (!ownerDocument || !(0, $23f2114a1b82827e$export$4282f70798064fe0)(ownerDocument.documentElement, target)) return false;\n // If the target is within a top layer element (e.g. toasts), ignore.\n if (target.closest('[data-react-aria-top-layer]')) return false;\n }\n if (!ref.current) return false;\n // When the event source is inside a Shadow DOM, event.target is just the shadow root.\n // Using event.composedPath instead means we can get the actual element inside the shadow root.\n // This only works if the shadow root is open, there is no way to detect if it is closed.\n // If the event composed path contains the ref, interaction is inside.\n return !event.composedPath().includes(ref.current);\n}\n\n\nexport {$e260d131964da0f9$export$872b660ac5a1ff98 as useInteractOutside};\n//# sourceMappingURL=useInteractOutside.mjs.map\n","import {getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {isElementInChildOfActiveScope as $535772f9d2c1f38d$export$1258395f99bf9cbf} from \"../focus/FocusScope.mjs\";\nimport {useFocusWithin as $2c9edc598a03d523$export$420e68273165f4ec} from \"../interactions/useFocusWithin.mjs\";\nimport {useInteractOutside as $e260d131964da0f9$export$872b660ac5a1ff98} from \"../interactions/useInteractOutside.mjs\";\nimport {useRef as $eUNmN$useRef, useEffect as $eUNmN$useEffect} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\nconst $77844860df94ba23$var$visibleOverlays = [];\nfunction $77844860df94ba23$export$ea8f71083e90600f(props, ref) {\n let { onClose: onClose, shouldCloseOnBlur: shouldCloseOnBlur, isOpen: isOpen, isDismissable: isDismissable = false, isKeyboardDismissDisabled: isKeyboardDismissDisabled = false, shouldCloseOnInteractOutside: shouldCloseOnInteractOutside } = props;\n let lastVisibleOverlay = (0, $eUNmN$useRef)(undefined);\n // Add the overlay ref to the stack of visible overlays on mount, and remove on unmount.\n (0, $eUNmN$useEffect)(()=>{\n if (isOpen && !$77844860df94ba23$var$visibleOverlays.includes(ref)) {\n $77844860df94ba23$var$visibleOverlays.push(ref);\n return ()=>{\n let index = $77844860df94ba23$var$visibleOverlays.indexOf(ref);\n if (index >= 0) $77844860df94ba23$var$visibleOverlays.splice(index, 1);\n };\n }\n }, [\n isOpen,\n ref\n ]);\n // Only hide the overlay when it is the topmost visible overlay in the stack\n let onHide = ()=>{\n if ($77844860df94ba23$var$visibleOverlays[$77844860df94ba23$var$visibleOverlays.length - 1] === ref && onClose) onClose();\n };\n let onInteractOutsideStart = (e)=>{\n const topMostOverlay = $77844860df94ba23$var$visibleOverlays[$77844860df94ba23$var$visibleOverlays.length - 1];\n lastVisibleOverlay.current = topMostOverlay;\n if (!shouldCloseOnInteractOutside || shouldCloseOnInteractOutside((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) {\n if (topMostOverlay === ref) e.stopPropagation();\n }\n };\n let onInteractOutside = (e)=>{\n if (!shouldCloseOnInteractOutside || shouldCloseOnInteractOutside((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) {\n if ($77844860df94ba23$var$visibleOverlays[$77844860df94ba23$var$visibleOverlays.length - 1] === ref) e.stopPropagation();\n if (lastVisibleOverlay.current === ref) onHide();\n }\n lastVisibleOverlay.current = undefined;\n };\n // Handle the escape key\n let onKeyDown = (e)=>{\n if (e.key === 'Escape' && !isKeyboardDismissDisabled && !e.nativeEvent.isComposing) {\n e.stopPropagation();\n e.preventDefault();\n onHide();\n }\n };\n // Handle clicking outside the overlay to close it\n (0, $e260d131964da0f9$export$872b660ac5a1ff98)({\n ref: ref,\n onInteractOutside: isDismissable && isOpen ? onInteractOutside : undefined,\n onInteractOutsideStart: onInteractOutsideStart\n });\n let { focusWithinProps: focusWithinProps } = (0, $2c9edc598a03d523$export$420e68273165f4ec)({\n isDisabled: !shouldCloseOnBlur,\n onBlurWithin: (e)=>{\n // Do not close if relatedTarget is null, which means focus is lost to the body.\n // That can happen when switching tabs, or due to a VoiceOver/Chrome bug with Control+Option+Arrow navigation.\n // Clicking on the body to close the overlay should already be handled by useInteractOutside.\n // https://github.com/adobe/react-spectrum/issues/4130\n // https://github.com/adobe/react-spectrum/issues/4922\n //\n // If focus is moving into a child focus scope (e.g. menu inside a dialog),\n // do not close the outer overlay. At this point, the active scope should\n // still be the outer overlay, since blur events run before focus.\n if (!e.relatedTarget || (0, $535772f9d2c1f38d$export$1258395f99bf9cbf)(e.relatedTarget)) return;\n if (!shouldCloseOnInteractOutside || shouldCloseOnInteractOutside(e.relatedTarget)) onClose?.();\n }\n });\n return {\n overlayProps: {\n onKeyDown: onKeyDown,\n ...focusWithinProps\n },\n underlayProps: {}\n };\n}\n\n\nexport {$77844860df94ba23$export$ea8f71083e90600f as useOverlay};\n//# sourceMappingURL=useOverlay.mjs.map\n","import {chain as $a4e76a5424781910$export$e08e3b67e392101e} from \"../utils/chain.mjs\";\nimport {getActiveElement as $23f2114a1b82827e$export$cd4e5573fbe2b576, getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {getNonce as $2b2d34ff061957fb$export$2b85b721e524d74b} from \"../utils/getNonce.mjs\";\nimport {getScrollParent as $3578607fe3d4b096$export$cfa2225e87938781} from \"../utils/getScrollParent.mjs\";\nimport {isIOS as $2add3ce32c6007eb$export$fedb369cb70207f1} from \"../utils/platform.mjs\";\nimport {isScrollable as $901761b40e390936$export$2bb74740c4e19def} from \"../utils/isScrollable.mjs\";\nimport {useLayoutEffect as $c4867b2f328c2698$export$e5c5a5f917a5871c} from \"../utils/useLayoutEffect.mjs\";\nimport {willOpenKeyboard as $bb39c0fc1c19b34c$export$c57958e35f31ed73} from \"../utils/keyboard.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\nconst $0644e3663365bfe5$var$visualViewport = typeof document !== 'undefined' && window.visualViewport;\n// The number of active usePreventScroll calls. Used to determine whether to revert back to the original page style/scroll position\nlet $0644e3663365bfe5$var$preventScrollCount = 0;\nlet $0644e3663365bfe5$var$restore;\nfunction $0644e3663365bfe5$export$ee0f7cc6afcd1c18(options = {}) {\n let { isDisabled: isDisabled } = options;\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n if (isDisabled) return;\n $0644e3663365bfe5$var$preventScrollCount++;\n if ($0644e3663365bfe5$var$preventScrollCount === 1) {\n if ((0, $2add3ce32c6007eb$export$fedb369cb70207f1)()) $0644e3663365bfe5$var$restore = $0644e3663365bfe5$var$preventScrollMobileSafari();\n else $0644e3663365bfe5$var$restore = $0644e3663365bfe5$var$preventScrollStandard();\n }\n return ()=>{\n $0644e3663365bfe5$var$preventScrollCount--;\n if ($0644e3663365bfe5$var$preventScrollCount === 0) $0644e3663365bfe5$var$restore();\n };\n }, [\n isDisabled\n ]);\n}\n// For most browsers, all we need to do is set `overflow: hidden` on the root element, and\n// add some padding to prevent the page from shifting when the scrollbar is hidden.\nfunction $0644e3663365bfe5$var$preventScrollStandard() {\n let scrollbarWidth = window.innerWidth - document.documentElement.clientWidth;\n return (0, $a4e76a5424781910$export$e08e3b67e392101e)(scrollbarWidth > 0 && // Use scrollbar-gutter when supported because it also works for fixed positioned elements.\n ('scrollbarGutter' in document.documentElement.style ? $0644e3663365bfe5$var$setStyle(document.documentElement, 'scrollbarGutter', 'stable') : $0644e3663365bfe5$var$setStyle(document.documentElement, 'paddingRight', `${scrollbarWidth}px`)), $0644e3663365bfe5$var$setStyle(document.documentElement, 'overflow', 'hidden'));\n}\n// Mobile Safari is a whole different beast. Even with overflow: hidden,\n// it still scrolls the page in many situations:\n//\n// 1. When the bottom toolbar and address bar are collapsed, page scrolling is always allowed.\n// 2. When the keyboard is visible, the viewport does not resize. Instead, the keyboard covers part of\n// it, so it becomes scrollable.\n// 3. When tapping on an input, the page always scrolls so that the input is centered in the visual viewport.\n// This may cause even fixed position elements to scroll off the screen.\n// 4. When using the next/previous buttons in the keyboard to navigate between inputs, the whole page always\n// scrolls, even if the input is inside a nested scrollable element that could be scrolled instead.\n//\n// In order to work around these cases, and prevent scrolling without jankiness, we do a few things:\n//\n// 1. Prevent default on `touchmove` events that are not in a scrollable element. This prevents touch scrolling\n// on the window.\n// 2. Set `overscroll-behavior: contain` on nested scrollable regions so they do not scroll the page when at\n// the top or bottom. Work around a bug where this does not work when the element does not actually overflow\n// by preventing default in a `touchmove` event. This is best effort: we can't prevent default when pinch\n// zooming or when an element contains text selection, which may allow scrolling in some cases.\n// 3. Prevent default on `touchend` events on input elements and handle focusing the element ourselves.\n// 4. When focus moves to an input, create an off screen input and focus that temporarily. This prevents\n// Safari from scrolling the page. After a small delay, focus the real input and scroll it into view\n// ourselves, without scrolling the whole page.\nfunction $0644e3663365bfe5$var$preventScrollMobileSafari() {\n // Set overflow hidden so scrollIntoViewport() (useSelectableCollection) sees isScrollPrevented and\n // scrolls only scroll parents instead of calling native scrollIntoView() which moves the window.\n let restoreOverflow = $0644e3663365bfe5$var$setStyle(document.documentElement, 'overflow', 'hidden');\n let scrollable;\n let allowTouchMove = false;\n let onTouchStart = (e)=>{\n // Store the nearest scrollable parent element from the element that the user touched.\n let target = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e);\n scrollable = (0, $901761b40e390936$export$2bb74740c4e19def)(target) ? target : (0, $3578607fe3d4b096$export$cfa2225e87938781)(target, true);\n allowTouchMove = false;\n // If the target is selected, don't preventDefault in touchmove to allow user to adjust selection.\n let selection = target.ownerDocument.defaultView.getSelection();\n if (selection && !selection.isCollapsed && selection.containsNode(target, true)) allowTouchMove = true;\n // If this is a range input, allow touch move to allow user to adjust the slider value\n if (e.composedPath().some((el)=>el instanceof HTMLInputElement && el.type === 'range')) allowTouchMove = true;\n // If this is a focused input element with a selected range, allow user to drag the selection handles.\n if ('selectionStart' in target && 'selectionEnd' in target && target.selectionStart < target.selectionEnd && target.ownerDocument.activeElement === target) allowTouchMove = true;\n };\n // Prevent scrolling up when at the top and scrolling down when at the bottom\n // of a nested scrollable area, otherwise mobile Safari will start scrolling\n // the window instead.\n // This must be applied before the touchstart event as of iOS 26, so inject it as a <style> element.\n let style = document.createElement('style');\n let nonce = (0, $2b2d34ff061957fb$export$2b85b721e524d74b)();\n if (nonce) style.nonce = nonce;\n style.textContent = `\n@layer {\n * {\n overscroll-behavior: contain;\n }\n}`.trim();\n document.head.prepend(style);\n let onTouchMove = (e)=>{\n // Allow pinch-zooming.\n if (e.touches.length === 2 || allowTouchMove) return;\n // Prevent scrolling the window.\n if (!scrollable || scrollable === document.documentElement || scrollable === document.body) {\n e.preventDefault();\n return;\n }\n // overscroll-behavior should prevent scroll chaining, but currently does not\n // if the element doesn't actually overflow. https://bugs.webkit.org/show_bug.cgi?id=243452\n // This checks that both the width and height do not overflow, otherwise we might\n // block horizontal scrolling too. In that case, adding `touch-action: pan-x` to\n // the element will prevent vertical page scrolling. We can't add that automatically\n // because it must be set before the touchstart event.\n if (scrollable.scrollHeight === scrollable.clientHeight && scrollable.scrollWidth === scrollable.clientWidth) e.preventDefault();\n };\n let onBlur = (e)=>{\n let target = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e);\n let relatedTarget = e.relatedTarget;\n if (relatedTarget && (0, $bb39c0fc1c19b34c$export$c57958e35f31ed73)(relatedTarget)) {\n // Focus without scrolling the whole page, and then scroll into view manually.\n relatedTarget.focus({\n preventScroll: true\n });\n $0644e3663365bfe5$var$scrollIntoViewWhenReady(relatedTarget, (0, $bb39c0fc1c19b34c$export$c57958e35f31ed73)(target));\n } else if (!relatedTarget) {\n // When tapping the Done button on the keyboard, focus moves to the body.\n // FocusScope will then restore focus back to the input. Later when tapping\n // the same input again, it is already focused, so no blur event will fire,\n // resulting in the flow above never running and Safari's native scrolling occurring.\n // Instead, move focus to the parent focusable element (e.g. the dialog).\n let focusable = target.parentElement?.closest('[tabindex]');\n focusable?.focus({\n preventScroll: true\n });\n }\n };\n // Override programmatic focus to scroll into view without scrolling the whole page.\n let focus = HTMLElement.prototype.focus;\n HTMLElement.prototype.focus = function(opts) {\n // Track whether the keyboard was already visible before.\n let activeElement = (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)();\n let wasKeyboardVisible = activeElement != null && (0, $bb39c0fc1c19b34c$export$c57958e35f31ed73)(activeElement);\n // Focus the element without scrolling the page.\n focus.call(this, {\n ...opts,\n preventScroll: true\n });\n if (!opts || !opts.preventScroll) $0644e3663365bfe5$var$scrollIntoViewWhenReady(this, wasKeyboardVisible);\n };\n let removeEvents = (0, $a4e76a5424781910$export$e08e3b67e392101e)($0644e3663365bfe5$var$addEvent(document, 'touchstart', onTouchStart, {\n passive: false,\n capture: true\n }), $0644e3663365bfe5$var$addEvent(document, 'touchmove', onTouchMove, {\n passive: false,\n capture: true\n }), $0644e3663365bfe5$var$addEvent(document, 'blur', onBlur, true));\n return ()=>{\n restoreOverflow();\n removeEvents();\n style.remove();\n HTMLElement.prototype.focus = focus;\n };\n}\n// Sets a CSS property on an element, and returns a function to revert it to the previous value.\nfunction $0644e3663365bfe5$var$setStyle(element, style, value) {\n let cur = element.style[style];\n element.style[style] = value;\n return ()=>{\n element.style[style] = cur;\n };\n}\n// Adds an event listener to an element, and returns a function to remove it.\nfunction $0644e3663365bfe5$var$addEvent(target, event, handler, options) {\n // internal function, so it's ok to ignore the difficult to fix type error\n // @ts-ignore\n target.addEventListener(event, handler, options);\n return ()=>{\n // @ts-ignore\n target.removeEventListener(event, handler, options);\n };\n}\nfunction $0644e3663365bfe5$var$scrollIntoViewWhenReady(target, wasKeyboardVisible) {\n if (wasKeyboardVisible || !$0644e3663365bfe5$var$visualViewport) // If the keyboard was already visible, scroll the target into view immediately.\n $0644e3663365bfe5$var$scrollIntoView(target);\n else // Otherwise, wait for the visual viewport to resize before scrolling so we can\n // measure the correct position to scroll to.\n $0644e3663365bfe5$var$visualViewport.addEventListener('resize', ()=>$0644e3663365bfe5$var$scrollIntoView(target), {\n once: true\n });\n}\nfunction $0644e3663365bfe5$var$scrollIntoView(target) {\n let root = document.scrollingElement || document.documentElement;\n let nextTarget = target;\n while(nextTarget && nextTarget !== root){\n // Find the parent scrollable element and adjust the scroll position if the target is not already in view.\n let scrollable = (0, $3578607fe3d4b096$export$cfa2225e87938781)(nextTarget);\n if (scrollable !== document.documentElement && scrollable !== document.body && scrollable !== nextTarget) {\n let scrollableRect = scrollable.getBoundingClientRect();\n let targetRect = nextTarget.getBoundingClientRect();\n if (targetRect.top < scrollableRect.top || targetRect.bottom > scrollableRect.top + nextTarget.clientHeight) {\n let bottom = scrollableRect.bottom;\n if ($0644e3663365bfe5$var$visualViewport) bottom = Math.min(bottom, $0644e3663365bfe5$var$visualViewport.offsetTop + $0644e3663365bfe5$var$visualViewport.height);\n // Center within the viewport.\n let adjustment = targetRect.top - scrollableRect.top - ((bottom - scrollableRect.top) / 2 - targetRect.height / 2);\n scrollable.scrollTo({\n // Clamp to the valid range to prevent over-scrolling.\n top: Math.max(0, Math.min(scrollable.scrollHeight - scrollable.clientHeight, scrollable.scrollTop + adjustment)),\n behavior: 'smooth'\n });\n }\n }\n nextTarget = scrollable.parentElement;\n }\n}\n\n\nexport {$0644e3663365bfe5$export$ee0f7cc6afcd1c18 as usePreventScroll};\n//# sourceMappingURL=usePreventScroll.mjs.map\n","import {ariaHideOutside as $58196c8d6a1f38fc$export$1c3ebcada18427bf, keepVisible as $58196c8d6a1f38fc$export$1020fa7f77e17884} from \"./ariaHideOutside.mjs\";\nimport {useOverlayPosition as $b3526bc71400be8d$export$d39e1813b3bdd0e1} from \"./useOverlayPosition.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {useOverlay as $77844860df94ba23$export$ea8f71083e90600f} from \"./useOverlay.mjs\";\nimport {usePreventScroll as $0644e3663365bfe5$export$ee0f7cc6afcd1c18} from \"./usePreventScroll.mjs\";\nimport {useEffect as $eBJzm$useEffect} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\nfunction $f8a024fbad3a5a2e$export$542a6fd13ac93354(props, state) {\n let { triggerRef: triggerRef, popoverRef: popoverRef, groupRef: groupRef, isNonModal: isNonModal, isKeyboardDismissDisabled: isKeyboardDismissDisabled, shouldCloseOnInteractOutside: shouldCloseOnInteractOutside, ...otherProps } = props;\n let isSubmenu = otherProps['trigger'] === 'SubmenuTrigger';\n let { overlayProps: overlayProps, underlayProps: underlayProps } = (0, $77844860df94ba23$export$ea8f71083e90600f)({\n isOpen: state.isOpen,\n onClose: state.close,\n shouldCloseOnBlur: true,\n isDismissable: !isNonModal || isSubmenu,\n isKeyboardDismissDisabled: isKeyboardDismissDisabled,\n shouldCloseOnInteractOutside: shouldCloseOnInteractOutside\n }, groupRef ?? popoverRef);\n let { overlayProps: positionProps, arrowProps: arrowProps, placement: placement, triggerAnchorPoint: origin } = (0, $b3526bc71400be8d$export$d39e1813b3bdd0e1)({\n ...otherProps,\n targetRef: triggerRef,\n overlayRef: popoverRef,\n isOpen: state.isOpen,\n onClose: isNonModal && !isSubmenu ? state.close : null\n });\n (0, $0644e3663365bfe5$export$ee0f7cc6afcd1c18)({\n isDisabled: isNonModal || !state.isOpen\n });\n (0, $eBJzm$useEffect)(()=>{\n if (state.isOpen && popoverRef.current) {\n if (isNonModal) return (0, $58196c8d6a1f38fc$export$1020fa7f77e17884)(groupRef?.current ?? popoverRef.current);\n else return (0, $58196c8d6a1f38fc$export$1c3ebcada18427bf)([\n groupRef?.current ?? popoverRef.current\n ], {\n shouldUseInert: true\n });\n }\n }, [\n isNonModal,\n state.isOpen,\n popoverRef,\n groupRef\n ]);\n return {\n popoverProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(overlayProps, positionProps),\n arrowProps: arrowProps,\n underlayProps: underlayProps,\n placement: placement,\n triggerAnchorPoint: origin\n };\n}\n\n\nexport {$f8a024fbad3a5a2e$export$542a6fd13ac93354 as usePopover};\n//# sourceMappingURL=usePopover.mjs.map\n","var $e5024b484f7c3e21$exports = {};\n$e5024b484f7c3e21$exports = {\n \"dismiss\": `\\u{62A}\\u{62C}\\u{627}\\u{647}\\u{644}`\n};\n\n\nexport {$e5024b484f7c3e21$exports as default};\n//# sourceMappingURL=ar-AE.mjs.map\n","var $0c4209a7da92851c$exports = {};\n$0c4209a7da92851c$exports = {\n \"dismiss\": `\\u{41E}\\u{442}\\u{445}\\u{432}\\u{44A}\\u{440}\\u{43B}\\u{44F}\\u{43D}\\u{435}`\n};\n\n\nexport {$0c4209a7da92851c$exports as default};\n//# sourceMappingURL=bg-BG.mjs.map\n","var $75fa0397632d287b$exports = {};\n$75fa0397632d287b$exports = {\n \"dismiss\": `Odstranit`\n};\n\n\nexport {$75fa0397632d287b$exports as default};\n//# sourceMappingURL=cs-CZ.mjs.map\n","var $3fc6e6880cad247e$exports = {};\n$3fc6e6880cad247e$exports = {\n \"dismiss\": `Luk`\n};\n\n\nexport {$3fc6e6880cad247e$exports as default};\n//# sourceMappingURL=da-DK.mjs.map\n","var $5f637eb0c91d0f64$exports = {};\n$5f637eb0c91d0f64$exports = {\n \"dismiss\": `Schlie\\xdfen`\n};\n\n\nexport {$5f637eb0c91d0f64$exports as default};\n//# sourceMappingURL=de-DE.mjs.map\n","var $5a0b3a154dcf111b$exports = {};\n$5a0b3a154dcf111b$exports = {\n \"dismiss\": `\\u{391}\\u{3C0}\\u{3CC}\\u{3C1}\\u{3C1}\\u{3B9}\\u{3C8}\\u{3B7}`\n};\n\n\nexport {$5a0b3a154dcf111b$exports as default};\n//# sourceMappingURL=el-GR.mjs.map\n","var $ea518f18e6f13288$exports = {};\n$ea518f18e6f13288$exports = {\n \"dismiss\": `Dismiss`\n};\n\n\nexport {$ea518f18e6f13288$exports as default};\n//# sourceMappingURL=en-US.mjs.map\n","var $3bf3cb0ce48a8078$exports = {};\n$3bf3cb0ce48a8078$exports = {\n \"dismiss\": `Descartar`\n};\n\n\nexport {$3bf3cb0ce48a8078$exports as default};\n//# sourceMappingURL=es-ES.mjs.map\n","var $a416146243e75233$exports = {};\n$a416146243e75233$exports = {\n \"dismiss\": `L\\xf5peta`\n};\n\n\nexport {$a416146243e75233$exports as default};\n//# sourceMappingURL=et-EE.mjs.map\n","var $2872659e6c428111$exports = {};\n$2872659e6c428111$exports = {\n \"dismiss\": `Hylk\\xe4\\xe4`\n};\n\n\nexport {$2872659e6c428111$exports as default};\n//# sourceMappingURL=fi-FI.mjs.map\n","var $657a7a1f03941145$exports = {};\n$657a7a1f03941145$exports = {\n \"dismiss\": `Rejeter`\n};\n\n\nexport {$657a7a1f03941145$exports as default};\n//# sourceMappingURL=fr-FR.mjs.map\n","var $9f18aee5ddbe5e0f$exports = {};\n$9f18aee5ddbe5e0f$exports = {\n \"dismiss\": `\\u{5D4}\\u{5EA}\\u{5E2}\\u{5DC}\\u{5DD}`\n};\n\n\nexport {$9f18aee5ddbe5e0f$exports as default};\n//# sourceMappingURL=he-IL.mjs.map\n","var $e2e63adb0c1f3db6$exports = {};\n$e2e63adb0c1f3db6$exports = {\n \"dismiss\": `Odbaci`\n};\n\n\nexport {$e2e63adb0c1f3db6$exports as default};\n//# sourceMappingURL=hr-HR.mjs.map\n","var $46fbd53e8bc70315$exports = {};\n$46fbd53e8bc70315$exports = {\n \"dismiss\": `Elutas\\xedt\\xe1s`\n};\n\n\nexport {$46fbd53e8bc70315$exports as default};\n//# sourceMappingURL=hu-HU.mjs.map\n","var $47234f3018c55486$exports = {};\n$47234f3018c55486$exports = {\n \"dismiss\": `Ignora`\n};\n\n\nexport {$47234f3018c55486$exports as default};\n//# sourceMappingURL=it-IT.mjs.map\n","var $0dfacfad01736641$exports = {};\n$0dfacfad01736641$exports = {\n \"dismiss\": `\\u{9589}\\u{3058}\\u{308B}`\n};\n\n\nexport {$0dfacfad01736641$exports as default};\n//# sourceMappingURL=ja-JP.mjs.map\n","var $a9056b50f6fbb1ef$exports = {};\n$a9056b50f6fbb1ef$exports = {\n \"dismiss\": `\\u{BB34}\\u{C2DC}`\n};\n\n\nexport {$a9056b50f6fbb1ef$exports as default};\n//# sourceMappingURL=ko-KR.mjs.map\n","var $217b78056fce917f$exports = {};\n$217b78056fce917f$exports = {\n \"dismiss\": `Atmesti`\n};\n\n\nexport {$217b78056fce917f$exports as default};\n//# sourceMappingURL=lt-LT.mjs.map\n","var $c32f8c2b8956f20a$exports = {};\n$c32f8c2b8956f20a$exports = {\n \"dismiss\": `Ner\\u{101}d\\u{12B}t`\n};\n\n\nexport {$c32f8c2b8956f20a$exports as default};\n//# sourceMappingURL=lv-LV.mjs.map\n","var $f65392426e2dae6a$exports = {};\n$f65392426e2dae6a$exports = {\n \"dismiss\": `Lukk`\n};\n\n\nexport {$f65392426e2dae6a$exports as default};\n//# sourceMappingURL=nb-NO.mjs.map\n","var $1d0fa5f3cc68e5b0$exports = {};\n$1d0fa5f3cc68e5b0$exports = {\n \"dismiss\": `Negeren`\n};\n\n\nexport {$1d0fa5f3cc68e5b0$exports as default};\n//# sourceMappingURL=nl-NL.mjs.map\n","var $ff8aa6518e51f809$exports = {};\n$ff8aa6518e51f809$exports = {\n \"dismiss\": `Zignoruj`\n};\n\n\nexport {$ff8aa6518e51f809$exports as default};\n//# sourceMappingURL=pl-PL.mjs.map\n","var $fe3a4eb3eebfb0a2$exports = {};\n$fe3a4eb3eebfb0a2$exports = {\n \"dismiss\": `Descartar`\n};\n\n\nexport {$fe3a4eb3eebfb0a2$exports as default};\n//# sourceMappingURL=pt-BR.mjs.map\n","var $f692c6bcabd26695$exports = {};\n$f692c6bcabd26695$exports = {\n \"dismiss\": `Dispensar`\n};\n\n\nexport {$f692c6bcabd26695$exports as default};\n//# sourceMappingURL=pt-PT.mjs.map\n","var $627fbb16c92fb654$exports = {};\n$627fbb16c92fb654$exports = {\n \"dismiss\": `Revocare`\n};\n\n\nexport {$627fbb16c92fb654$exports as default};\n//# sourceMappingURL=ro-RO.mjs.map\n","var $2c9c1dfc72c7bac2$exports = {};\n$2c9c1dfc72c7bac2$exports = {\n \"dismiss\": `\\u{41F}\\u{440}\\u{43E}\\u{43F}\\u{443}\\u{441}\\u{442}\\u{438}\\u{442}\\u{44C}`\n};\n\n\nexport {$2c9c1dfc72c7bac2$exports as default};\n//# sourceMappingURL=ru-RU.mjs.map\n","var $7e7ece760f897013$exports = {};\n$7e7ece760f897013$exports = {\n \"dismiss\": `Zru\\u{161}i\\u{165}`\n};\n\n\nexport {$7e7ece760f897013$exports as default};\n//# sourceMappingURL=sk-SK.mjs.map\n","var $1e894e47be1bf217$exports = {};\n$1e894e47be1bf217$exports = {\n \"dismiss\": `Opusti`\n};\n\n\nexport {$1e894e47be1bf217$exports as default};\n//# sourceMappingURL=sl-SI.mjs.map\n","var $f4ce49adf6ef095f$exports = {};\n$f4ce49adf6ef095f$exports = {\n \"dismiss\": `Odbaci`\n};\n\n\nexport {$f4ce49adf6ef095f$exports as default};\n//# sourceMappingURL=sr-SP.mjs.map\n","var $7c9dc206185355b5$exports = {};\n$7c9dc206185355b5$exports = {\n \"dismiss\": `Avvisa`\n};\n\n\nexport {$7c9dc206185355b5$exports as default};\n//# sourceMappingURL=sv-SE.mjs.map\n","var $c288097c5ef4ae98$exports = {};\n$c288097c5ef4ae98$exports = {\n \"dismiss\": `Kapat`\n};\n\n\nexport {$c288097c5ef4ae98$exports as default};\n//# sourceMappingURL=tr-TR.mjs.map\n","var $d5863f94ad4c3f07$exports = {};\n$d5863f94ad4c3f07$exports = {\n \"dismiss\": `\\u{421}\\u{43A}\\u{430}\\u{441}\\u{443}\\u{432}\\u{430}\\u{442}\\u{438}`\n};\n\n\nexport {$d5863f94ad4c3f07$exports as default};\n//# sourceMappingURL=uk-UA.mjs.map\n","var $34a6eb7890264192$exports = {};\n$34a6eb7890264192$exports = {\n \"dismiss\": `\\u{53D6}\\u{6D88}`\n};\n\n\nexport {$34a6eb7890264192$exports as default};\n//# sourceMappingURL=zh-CN.mjs.map\n","var $79ae244e9d286cb7$exports = {};\n$79ae244e9d286cb7$exports = {\n \"dismiss\": `\\u{95DC}\\u{9589}`\n};\n\n\nexport {$79ae244e9d286cb7$exports as default};\n//# sourceMappingURL=zh-TW.mjs.map\n","import $9W4zk$intloverlaysarAEmjs from \"../intl/overlays/ar-AE.mjs\";\nimport $9W4zk$intloverlaysbgBGmjs from \"../intl/overlays/bg-BG.mjs\";\nimport $9W4zk$intloverlayscsCZmjs from \"../intl/overlays/cs-CZ.mjs\";\nimport $9W4zk$intloverlaysdaDKmjs from \"../intl/overlays/da-DK.mjs\";\nimport $9W4zk$intloverlaysdeDEmjs from \"../intl/overlays/de-DE.mjs\";\nimport $9W4zk$intloverlayselGRmjs from \"../intl/overlays/el-GR.mjs\";\nimport $9W4zk$intloverlaysenUSmjs from \"../intl/overlays/en-US.mjs\";\nimport $9W4zk$intloverlaysesESmjs from \"../intl/overlays/es-ES.mjs\";\nimport $9W4zk$intloverlaysetEEmjs from \"../intl/overlays/et-EE.mjs\";\nimport $9W4zk$intloverlaysfiFImjs from \"../intl/overlays/fi-FI.mjs\";\nimport $9W4zk$intloverlaysfrFRmjs from \"../intl/overlays/fr-FR.mjs\";\nimport $9W4zk$intloverlaysheILmjs from \"../intl/overlays/he-IL.mjs\";\nimport $9W4zk$intloverlayshrHRmjs from \"../intl/overlays/hr-HR.mjs\";\nimport $9W4zk$intloverlayshuHUmjs from \"../intl/overlays/hu-HU.mjs\";\nimport $9W4zk$intloverlaysitITmjs from \"../intl/overlays/it-IT.mjs\";\nimport $9W4zk$intloverlaysjaJPmjs from \"../intl/overlays/ja-JP.mjs\";\nimport $9W4zk$intloverlayskoKRmjs from \"../intl/overlays/ko-KR.mjs\";\nimport $9W4zk$intloverlaysltLTmjs from \"../intl/overlays/lt-LT.mjs\";\nimport $9W4zk$intloverlayslvLVmjs from \"../intl/overlays/lv-LV.mjs\";\nimport $9W4zk$intloverlaysnbNOmjs from \"../intl/overlays/nb-NO.mjs\";\nimport $9W4zk$intloverlaysnlNLmjs from \"../intl/overlays/nl-NL.mjs\";\nimport $9W4zk$intloverlaysplPLmjs from \"../intl/overlays/pl-PL.mjs\";\nimport $9W4zk$intloverlaysptBRmjs from \"../intl/overlays/pt-BR.mjs\";\nimport $9W4zk$intloverlaysptPTmjs from \"../intl/overlays/pt-PT.mjs\";\nimport $9W4zk$intloverlaysroROmjs from \"../intl/overlays/ro-RO.mjs\";\nimport $9W4zk$intloverlaysruRUmjs from \"../intl/overlays/ru-RU.mjs\";\nimport $9W4zk$intloverlaysskSKmjs from \"../intl/overlays/sk-SK.mjs\";\nimport $9W4zk$intloverlaysslSImjs from \"../intl/overlays/sl-SI.mjs\";\nimport $9W4zk$intloverlayssrSPmjs from \"../intl/overlays/sr-SP.mjs\";\nimport $9W4zk$intloverlayssvSEmjs from \"../intl/overlays/sv-SE.mjs\";\nimport $9W4zk$intloverlaystrTRmjs from \"../intl/overlays/tr-TR.mjs\";\nimport $9W4zk$intloverlaysukUAmjs from \"../intl/overlays/uk-UA.mjs\";\nimport $9W4zk$intloverlayszhCNmjs from \"../intl/overlays/zh-CN.mjs\";\nimport $9W4zk$intloverlayszhTWmjs from \"../intl/overlays/zh-TW.mjs\";\n\nvar $8ad4f9eb0c0f6434$exports = {};\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n$8ad4f9eb0c0f6434$exports = {\n \"ar-AE\": $9W4zk$intloverlaysarAEmjs,\n \"bg-BG\": $9W4zk$intloverlaysbgBGmjs,\n \"cs-CZ\": $9W4zk$intloverlayscsCZmjs,\n \"da-DK\": $9W4zk$intloverlaysdaDKmjs,\n \"de-DE\": $9W4zk$intloverlaysdeDEmjs,\n \"el-GR\": $9W4zk$intloverlayselGRmjs,\n \"en-US\": $9W4zk$intloverlaysenUSmjs,\n \"es-ES\": $9W4zk$intloverlaysesESmjs,\n \"et-EE\": $9W4zk$intloverlaysetEEmjs,\n \"fi-FI\": $9W4zk$intloverlaysfiFImjs,\n \"fr-FR\": $9W4zk$intloverlaysfrFRmjs,\n \"he-IL\": $9W4zk$intloverlaysheILmjs,\n \"hr-HR\": $9W4zk$intloverlayshrHRmjs,\n \"hu-HU\": $9W4zk$intloverlayshuHUmjs,\n \"it-IT\": $9W4zk$intloverlaysitITmjs,\n \"ja-JP\": $9W4zk$intloverlaysjaJPmjs,\n \"ko-KR\": $9W4zk$intloverlayskoKRmjs,\n \"lt-LT\": $9W4zk$intloverlaysltLTmjs,\n \"lv-LV\": $9W4zk$intloverlayslvLVmjs,\n \"nb-NO\": $9W4zk$intloverlaysnbNOmjs,\n \"nl-NL\": $9W4zk$intloverlaysnlNLmjs,\n \"pl-PL\": $9W4zk$intloverlaysplPLmjs,\n \"pt-BR\": $9W4zk$intloverlaysptBRmjs,\n \"pt-PT\": $9W4zk$intloverlaysptPTmjs,\n \"ro-RO\": $9W4zk$intloverlaysroROmjs,\n \"ru-RU\": $9W4zk$intloverlaysruRUmjs,\n \"sk-SK\": $9W4zk$intloverlaysskSKmjs,\n \"sl-SI\": $9W4zk$intloverlaysslSImjs,\n \"sr-SP\": $9W4zk$intloverlayssrSPmjs,\n \"sv-SE\": $9W4zk$intloverlayssvSEmjs,\n \"tr-TR\": $9W4zk$intloverlaystrTRmjs,\n \"uk-UA\": $9W4zk$intloverlaysukUAmjs,\n \"zh-CN\": $9W4zk$intloverlayszhCNmjs,\n \"zh-TW\": $9W4zk$intloverlayszhTWmjs\n};\n\n\nexport {$8ad4f9eb0c0f6434$exports as default};\n//# sourceMappingURL=intlStrings.mjs.map\n","import $3Rxt5$intlStringsmjs from \"./intlStrings.mjs\";\nimport {useLabels as $e8ac3c3f5d4bae7f$export$d6875122194c7b44} from \"../utils/useLabels.mjs\";\nimport {useLocalizedStringFormatter as $cf2482eff2eeeec2$export$f12b703ca79dfbb1} from \"../i18n/useLocalizedStringFormatter.mjs\";\nimport {VisuallyHidden as $ea3928288112382f$export$439d29a4e110a164} from \"../visually-hidden/VisuallyHidden.mjs\";\nimport $3Rxt5$react from \"react\";\n\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\nfunction $081058010ef8962e$export$2317d149ed6f78c4(props) {\n let { onDismiss: onDismiss, ...otherProps } = props;\n let stringFormatter = (0, $cf2482eff2eeeec2$export$f12b703ca79dfbb1)((0, ($parcel$interopDefault($3Rxt5$intlStringsmjs))), '@react-aria/overlays');\n let labels = (0, $e8ac3c3f5d4bae7f$export$d6875122194c7b44)(otherProps, stringFormatter.format('dismiss'));\n let onClick = ()=>{\n if (onDismiss) onDismiss();\n };\n return /*#__PURE__*/ (0, $3Rxt5$react).createElement((0, $ea3928288112382f$export$439d29a4e110a164), null, /*#__PURE__*/ (0, $3Rxt5$react).createElement(\"button\", {\n ...labels,\n tabIndex: -1,\n onClick: onClick,\n style: {\n width: 1,\n height: 1\n }\n }));\n}\n\n\nexport {$081058010ef8962e$export$2317d149ed6f78c4 as DismissButton};\n//# sourceMappingURL=DismissButton.mjs.map\n","import {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {PressResponderContext as $24f9a20f226ad820$export$5165eccb35aaadb5} from \"./context.mjs\";\nimport {useObjectRef as $03e8ab2d84d7657a$export$4338b53315abf666} from \"../utils/useObjectRef.mjs\";\nimport {useSyncRef as $b7115c395c64f7b5$export$4debdb1a3f0fa79e} from \"../utils/useSyncRef.mjs\";\nimport $iXgbh$react, {useRef as $iXgbh$useRef, useContext as $iXgbh$useContext, useEffect as $iXgbh$useEffect, useMemo as $iXgbh$useMemo} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\nconst $0d47b37c475c5231$export$3351871ee4b288b8 = /*#__PURE__*/ (0, $iXgbh$react).forwardRef(({ children: children, ...props }, ref)=>{\n let isRegistered = (0, $iXgbh$useRef)(false);\n let prevContext = (0, $iXgbh$useContext)((0, $24f9a20f226ad820$export$5165eccb35aaadb5));\n let context = (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(prevContext || {}, {\n ...props,\n register () {\n isRegistered.current = true;\n if (prevContext) prevContext.register();\n }\n });\n context.ref = (0, $03e8ab2d84d7657a$export$4338b53315abf666)(ref || prevContext?.ref);\n (0, $b7115c395c64f7b5$export$4debdb1a3f0fa79e)(prevContext, context.ref);\n (0, $iXgbh$useEffect)(()=>{\n if (!isRegistered.current) {\n if (process.env.NODE_ENV !== 'production') console.warn(\"A PressResponder was rendered without a pressable child. Either call the usePress hook, or wrap your DOM node with <Pressable> component.\");\n isRegistered.current = true; // only warn once in strict mode.\n }\n }, []);\n return /*#__PURE__*/ (0, $iXgbh$react).createElement((0, $24f9a20f226ad820$export$5165eccb35aaadb5).Provider, {\n value: context\n }, children);\n});\nfunction $0d47b37c475c5231$export$cf75428e0b9ed1ea({ children: children }) {\n let context = (0, $iXgbh$useMemo)(()=>({\n register: ()=>{}\n }), []);\n return /*#__PURE__*/ (0, $iXgbh$react).createElement((0, $24f9a20f226ad820$export$5165eccb35aaadb5).Provider, {\n value: context\n }, children);\n}\n\n\nexport {$0d47b37c475c5231$export$3351871ee4b288b8 as PressResponder, $0d47b37c475c5231$export$cf75428e0b9ed1ea as ClearPressResponder};\n//# sourceMappingURL=PressResponder.mjs.map\n","import $9DQBE$react, {createContext as $9DQBE$createContext, useContext as $9DQBE$useContext} from \"react\";\n\n/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nconst $72abaeab4d80592f$export$60d741e20e0aa309 = /*#__PURE__*/ (0, $9DQBE$createContext)({});\nfunction $72abaeab4d80592f$export$78efe591171d7d45(props) {\n let { getContainer: getContainer } = props;\n let { getContainer: ctxGetContainer } = $72abaeab4d80592f$export$9fc1347d4195ccb3();\n return /*#__PURE__*/ (0, $9DQBE$react).createElement($72abaeab4d80592f$export$60d741e20e0aa309.Provider, {\n value: {\n getContainer: getContainer === null ? undefined : getContainer ?? ctxGetContainer\n }\n }, props.children);\n}\nfunction $72abaeab4d80592f$export$9fc1347d4195ccb3() {\n return (0, $9DQBE$useContext)($72abaeab4d80592f$export$60d741e20e0aa309) ?? {};\n}\n\n\nexport {$72abaeab4d80592f$export$60d741e20e0aa309 as PortalContext, $72abaeab4d80592f$export$78efe591171d7d45 as UNSAFE_PortalProvider, $72abaeab4d80592f$export$9fc1347d4195ccb3 as useUNSAFE_PortalContext};\n//# sourceMappingURL=PortalProvider.mjs.map\n","import {ClearPressResponder as $0d47b37c475c5231$export$cf75428e0b9ed1ea} from \"../interactions/PressResponder.mjs\";\nimport {FocusScope as $535772f9d2c1f38d$export$20e40289641fbbb6} from \"../focus/FocusScope.mjs\";\nimport {useIsSSR as $c7eafbbe1ea5834e$export$535bd6ca7f90a273} from \"../ssr/SSRProvider.mjs\";\nimport {useLayoutEffect as $c4867b2f328c2698$export$e5c5a5f917a5871c} from \"../utils/useLayoutEffect.mjs\";\nimport {useUNSAFE_PortalContext as $72abaeab4d80592f$export$9fc1347d4195ccb3} from \"./PortalProvider.mjs\";\nimport $3wX5A$react, {useState as $3wX5A$useState, useMemo as $3wX5A$useMemo, useContext as $3wX5A$useContext} from \"react\";\nimport $3wX5A$reactdom from \"react-dom\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\nconst $d7a937236970dc7f$export$a2200b96afd16271 = /*#__PURE__*/ (0, $3wX5A$react).createContext(null);\nfunction $d7a937236970dc7f$export$c6fdb837b070b4ff(props) {\n let isSSR = (0, $c7eafbbe1ea5834e$export$535bd6ca7f90a273)();\n let { portalContainer: portalContainer = isSSR ? null : document.body, isExiting: isExiting } = props;\n let [contain, setContain] = (0, $3wX5A$useState)(false);\n let contextValue = (0, $3wX5A$useMemo)(()=>({\n contain: contain,\n setContain: setContain\n }), [\n contain,\n setContain\n ]);\n let { getContainer: getContainer } = (0, $72abaeab4d80592f$export$9fc1347d4195ccb3)();\n if (!props.portalContainer && getContainer) portalContainer = getContainer();\n if (!portalContainer) return null;\n let contents = props.children;\n if (!props.disableFocusManagement) contents = /*#__PURE__*/ (0, $3wX5A$react).createElement((0, $535772f9d2c1f38d$export$20e40289641fbbb6), {\n restoreFocus: true,\n contain: (props.shouldContainFocus || contain) && !isExiting\n }, contents);\n contents = /*#__PURE__*/ (0, $3wX5A$react).createElement($d7a937236970dc7f$export$a2200b96afd16271.Provider, {\n value: contextValue\n }, /*#__PURE__*/ (0, $3wX5A$react).createElement((0, $0d47b37c475c5231$export$cf75428e0b9ed1ea), null, contents));\n return /*#__PURE__*/ (0, $3wX5A$reactdom).createPortal(contents, portalContainer);\n}\nfunction $d7a937236970dc7f$export$14c98a7594375490() {\n let ctx = (0, $3wX5A$useContext)($d7a937236970dc7f$export$a2200b96afd16271);\n let setContain = ctx?.setContain;\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n setContain?.(true);\n }, [\n setContain\n ]);\n}\n\n\nexport {$d7a937236970dc7f$export$a2200b96afd16271 as OverlayContext, $d7a937236970dc7f$export$c6fdb837b070b4ff as Overlay, $d7a937236970dc7f$export$14c98a7594375490 as useOverlayFocusContain};\n//# sourceMappingURL=Overlay.mjs.map\n","import {useControlledState as $3e6197669829fe11$export$40bfa8c7b0832715} from \"../utils/useControlledState.mjs\";\nimport {useCallback as $kE40A$useCallback} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $f11fb0bcf1b2687a$export$61c6a8c84e605fb6(props) {\n let [isOpen, setOpen] = (0, $3e6197669829fe11$export$40bfa8c7b0832715)(props.isOpen, props.defaultOpen || false, props.onOpenChange);\n const open = (0, $kE40A$useCallback)(()=>{\n setOpen(true);\n }, [\n setOpen\n ]);\n const close = (0, $kE40A$useCallback)(()=>{\n setOpen(false);\n }, [\n setOpen\n ]);\n const toggle = (0, $kE40A$useCallback)(()=>{\n setOpen(!isOpen);\n }, [\n setOpen,\n isOpen\n ]);\n return {\n isOpen: isOpen,\n setOpen: setOpen,\n open: open,\n close: close,\n toggle: toggle\n };\n}\n\n\nexport {$f11fb0bcf1b2687a$export$61c6a8c84e605fb6 as useOverlayTriggerState};\n//# sourceMappingURL=useOverlayTriggerState.mjs.map\n","import {useLayoutEffect as $c4867b2f328c2698$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport {flushSync as $5MIG0$flushSync} from \"react-dom\";\nimport {useState as $5MIG0$useState, useCallback as $5MIG0$useCallback} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nfunction $fcc7165e876206c6$export$6d3443f2c48bfc20(ref, isReady = true) {\n let [isEntering, setEntering] = (0, $5MIG0$useState)(true);\n let isAnimationReady = isEntering && isReady;\n // There are two cases for entry animations:\n // 1. CSS @keyframes. The `animation` property is set during the isEntering state, and it is removed after the animation finishes.\n // 2. CSS transitions. The initial styles are applied during the isEntering state, and removed immediately, causing the transition to occur.\n //\n // In the second case, cancel any transitions that were triggered prior to the isEntering = false state (when the transition is supposed to start).\n // This can happen when isReady starts as false (e.g. popovers prior to placement calculation).\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n if (isAnimationReady && ref.current && 'getAnimations' in ref.current) {\n for (let animation of ref.current.getAnimations())if (animation instanceof CSSTransition) animation.cancel();\n }\n }, [\n ref,\n isAnimationReady\n ]);\n $fcc7165e876206c6$var$useAnimation(ref, isAnimationReady, (0, $5MIG0$useCallback)(()=>setEntering(false), []));\n return isAnimationReady;\n}\nfunction $fcc7165e876206c6$export$45fda7c47f93fd48(ref, isOpen) {\n let [exitState, setExitState] = (0, $5MIG0$useState)(isOpen ? 'open' : 'closed');\n switch(exitState){\n case 'open':\n // If isOpen becomes false, set the state to exiting.\n if (!isOpen) setExitState('exiting');\n break;\n case 'closed':\n case 'exiting':\n // If we are exiting and isOpen becomes true, the animation was interrupted.\n // Reset the state to open.\n if (isOpen) setExitState('open');\n break;\n }\n let isExiting = exitState === 'exiting';\n $fcc7165e876206c6$var$useAnimation(ref, isExiting, (0, $5MIG0$useCallback)(()=>{\n // Set the state to closed, which will cause the element to be unmounted.\n setExitState((state)=>state === 'exiting' ? 'closed' : state);\n }, []));\n return isExiting;\n}\nfunction $fcc7165e876206c6$var$useAnimation(ref, isActive, onEnd) {\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n if (isActive && ref.current) {\n if (!('getAnimations' in ref.current)) {\n // JSDOM\n onEnd();\n return;\n }\n let animations = ref.current.getAnimations();\n if (animations.length === 0) {\n onEnd();\n return;\n }\n let canceled = false;\n Promise.allSettled(animations.map((a)=>a.finished)).then(()=>{\n if (!canceled) (0, $5MIG0$flushSync)(()=>{\n onEnd();\n });\n });\n return ()=>{\n canceled = true;\n };\n }\n }, [\n ref,\n isActive,\n onEnd\n ]);\n}\n\n\nexport {$fcc7165e876206c6$export$6d3443f2c48bfc20 as useEnterAnimation, $fcc7165e876206c6$export$45fda7c47f93fd48 as useExitAnimation};\n//# sourceMappingURL=animation.mjs.map\n","import {dom as $7230ffa83bc0c2cf$export$df3a06d6289f983e, useContextProps as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, useRenderProps as $7230ffa83bc0c2cf$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport {OverlayArrowContext as $4fcfe18fac72dabd$export$2de4954e8ae13b9f} from \"./OverlayArrow.mjs\";\nimport {OverlayTriggerStateContext as $f2ff30fde7b014be$export$d2f961adcb0afbe} from \"./Dialog.mjs\";\nimport {usePopover as $g4jvP$usePopover} from \"react-aria/usePopover\";\nimport {DismissButton as $g4jvP$DismissButton, Overlay as $g4jvP$Overlay} from \"react-aria/Overlay\";\nimport {filterDOMProps as $g4jvP$filterDOMProps} from \"react-aria/filterDOMProps\";\nimport {focusSafely as $g4jvP$focusSafely} from \"react-aria/private/interactions/focusSafely\";\nimport {getInteractionModality as $g4jvP$getInteractionModality} from \"react-aria/private/interactions/useFocusVisible\";\nimport {isFocusWithin as $g4jvP$isFocusWithin} from \"react-aria/private/utils/shadowdom/DOMFunctions\";\nimport {mergeProps as $g4jvP$mergeProps} from \"react-aria/mergeProps\";\nimport {useOverlayTriggerState as $g4jvP$useOverlayTriggerState} from \"react-stately/useOverlayTriggerState\";\nimport $g4jvP$react, {createContext as $g4jvP$createContext, forwardRef as $g4jvP$forwardRef, useContext as $g4jvP$useContext, useRef as $g4jvP$useRef, useState as $g4jvP$useState, useEffect as $g4jvP$useEffect, useMemo as $g4jvP$useMemo, useCallback as $g4jvP$useCallback} from \"react\";\nimport {useExitAnimation as $g4jvP$useExitAnimation, useEnterAnimation as $g4jvP$useEnterAnimation} from \"react-aria/private/utils/animation\";\nimport {useIsHidden as $g4jvP$useIsHidden} from \"react-aria/private/collections/Hidden\";\nimport {useLayoutEffect as $g4jvP$useLayoutEffect} from \"react-aria/private/utils/useLayoutEffect\";\nimport {useLocale as $g4jvP$useLocale} from \"react-aria/I18nProvider\";\nimport {useResizeObserver as $g4jvP$useResizeObserver} from \"react-aria/private/utils/useResizeObserver\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nconst $542a13ca2fa5b484$export$9b9a0cd73afb7ca4 = /*#__PURE__*/ (0, $g4jvP$createContext)(null);\n// Stores a ref for the portal container for a group of popovers (e.g. submenus).\nconst $542a13ca2fa5b484$var$PopoverGroupContext = /*#__PURE__*/ (0, $g4jvP$createContext)(null);\nconst $542a13ca2fa5b484$export$5b6b19405a83ff9d = /*#__PURE__*/ (0, $g4jvP$forwardRef)(function Popover(props, ref) {\n [props, ref] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, $542a13ca2fa5b484$export$9b9a0cd73afb7ca4);\n let contextState = (0, $g4jvP$useContext)((0, $f2ff30fde7b014be$export$d2f961adcb0afbe));\n let localState = (0, $g4jvP$useOverlayTriggerState)(props);\n let state = props.isOpen != null || props.defaultOpen != null || !contextState ? localState : contextState;\n let isExiting = (0, $g4jvP$useExitAnimation)(ref, state.isOpen) || props.isExiting || false;\n let isHidden = (0, $g4jvP$useIsHidden)();\n let { direction: direction } = (0, $g4jvP$useLocale)();\n // If we are in a hidden tree, we still need to preserve our children.\n if (isHidden) {\n let children = props.children;\n if (typeof children === 'function') children = children({\n trigger: props.trigger || null,\n placement: 'bottom',\n isEntering: false,\n isExiting: false,\n defaultChildren: null\n });\n return /*#__PURE__*/ (0, $g4jvP$react).createElement((0, $g4jvP$react).Fragment, null, children);\n }\n if (state && !state.isOpen && !isExiting) return null;\n return /*#__PURE__*/ (0, $g4jvP$react).createElement($542a13ca2fa5b484$var$PopoverInner, {\n ...props,\n triggerRef: props.triggerRef,\n state: state,\n popoverRef: ref,\n isExiting: isExiting,\n dir: direction\n });\n});\nfunction $542a13ca2fa5b484$var$PopoverInner({ state: state, isExiting: isExiting, UNSTABLE_portalContainer: UNSTABLE_portalContainer, clearContexts: clearContexts, ...props }) {\n // Calculate the arrow size internally (and remove props.arrowSize from PopoverProps)\n // Referenced from: packages/@react-spectrum/tooltip/src/TooltipTrigger.tsx\n let arrowRef = (0, $g4jvP$useRef)(null);\n let containerRef = (0, $g4jvP$useRef)(null);\n let groupCtx = (0, $g4jvP$useContext)($542a13ca2fa5b484$var$PopoverGroupContext);\n let isSubPopover = groupCtx && props.trigger === 'SubmenuTrigger';\n let { popoverProps: popoverProps, underlayProps: underlayProps, arrowProps: arrowProps, placement: placement, triggerAnchorPoint: triggerAnchorPoint } = (0, $g4jvP$usePopover)({\n ...props,\n offset: props.offset ?? 8,\n arrowRef: arrowRef,\n // If this is a submenu/subdialog, use the root popover's container\n // to detect outside interaction and add aria-hidden.\n groupRef: isSubPopover ? groupCtx : containerRef\n }, state);\n let ref = props.popoverRef;\n let isEntering = (0, $g4jvP$useEnterAnimation)(ref, !!placement) || props.isEntering || false;\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...props,\n defaultClassName: 'react-aria-Popover',\n values: {\n trigger: props.trigger || null,\n placement: placement,\n isEntering: isEntering,\n isExiting: isExiting\n }\n });\n // Automatically render Popover with role=dialog except when isNonModal is true,\n // or a dialog is already nested inside the popover.\n let shouldBeDialog = !props.isNonModal || props.trigger === 'SubmenuTrigger';\n let [isDialog, setDialog] = (0, $g4jvP$useState)(false);\n (0, $g4jvP$useLayoutEffect)(()=>{\n if (ref.current) setDialog(shouldBeDialog && !ref.current.querySelector('[role=dialog]'));\n }, [\n ref,\n shouldBeDialog\n ]);\n // Focus the popover itself on mount, unless a child element is already focused.\n // Skip this for submenus since hovering a submenutrigger should keep focus on the trigger\n (0, $g4jvP$useEffect)(()=>{\n if (isDialog && (props.trigger !== 'SubmenuTrigger' || (0, $g4jvP$getInteractionModality)() !== 'pointer') && ref.current && !(0, $g4jvP$isFocusWithin)(ref.current)) (0, $g4jvP$focusSafely)(ref.current);\n }, [\n isDialog,\n ref,\n props.trigger\n ]);\n let children = (0, $g4jvP$useMemo)(()=>{\n let children = renderProps.children;\n if (clearContexts) for (let Context of clearContexts)children = /*#__PURE__*/ (0, $g4jvP$react).createElement(Context.Provider, {\n value: null\n }, children);\n return children;\n }, [\n renderProps.children,\n clearContexts\n ]);\n let [triggerWidth, setTriggerWidth] = (0, $g4jvP$useState)(null);\n let onResize = (0, $g4jvP$useCallback)(()=>{\n if (props.triggerRef.current) setTriggerWidth(props.triggerRef.current.getBoundingClientRect().width + 'px');\n }, [\n props.triggerRef\n ]);\n (0, $g4jvP$useLayoutEffect)(onResize, [\n onResize\n ]);\n (0, $g4jvP$useResizeObserver)({\n ref: renderProps.style?.['--trigger-width'] ? undefined : props.triggerRef,\n onResize: onResize\n });\n let style = {\n ...popoverProps.style,\n '--trigger-anchor-point': triggerAnchorPoint ? `${triggerAnchorPoint.x}px ${triggerAnchorPoint.y}px` : undefined,\n ...renderProps.style,\n '--trigger-width': renderProps.style?.['--trigger-width'] || triggerWidth\n };\n let overlay = /*#__PURE__*/ (0, $g4jvP$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div, {\n ...(0, $g4jvP$mergeProps)((0, $g4jvP$filterDOMProps)(props, {\n global: true\n }), popoverProps),\n ...renderProps,\n role: isDialog ? 'dialog' : undefined,\n tabIndex: isDialog ? -1 : undefined,\n \"aria-label\": props['aria-label'],\n \"aria-labelledby\": props['aria-labelledby'],\n ref: ref,\n slot: props.slot || undefined,\n style: style,\n dir: props.dir,\n \"data-trigger\": props.trigger,\n \"data-placement\": placement,\n \"data-entering\": isEntering || undefined,\n \"data-exiting\": isExiting || undefined\n }, !props.isNonModal && /*#__PURE__*/ (0, $g4jvP$react).createElement((0, $g4jvP$DismissButton), {\n onDismiss: state.close\n }), /*#__PURE__*/ (0, $g4jvP$react).createElement((0, $4fcfe18fac72dabd$export$2de4954e8ae13b9f).Provider, {\n value: {\n ...arrowProps,\n placement: placement,\n ref: arrowRef\n }\n }, children), /*#__PURE__*/ (0, $g4jvP$react).createElement((0, $g4jvP$DismissButton), {\n onDismiss: state.close\n }));\n // If this is a root popover, render an extra div to act as the portal container for submenus/subdialogs.\n if (!isSubPopover) return /*#__PURE__*/ (0, $g4jvP$react).createElement((0, $g4jvP$Overlay), {\n ...props,\n shouldContainFocus: isDialog,\n isExiting: isExiting,\n portalContainer: UNSTABLE_portalContainer\n }, !props.isNonModal && state.isOpen && /*#__PURE__*/ (0, $g4jvP$react).createElement(\"div\", {\n \"data-testid\": \"underlay\",\n ...underlayProps,\n style: {\n position: 'fixed',\n inset: 0\n }\n }), /*#__PURE__*/ (0, $g4jvP$react).createElement(\"div\", {\n ref: containerRef,\n style: {\n display: 'contents'\n }\n }, /*#__PURE__*/ (0, $g4jvP$react).createElement($542a13ca2fa5b484$var$PopoverGroupContext.Provider, {\n value: containerRef\n }, overlay)));\n // Submenus/subdialogs are mounted into the root popover's container.\n return /*#__PURE__*/ (0, $g4jvP$react).createElement((0, $g4jvP$Overlay), {\n ...props,\n shouldContainFocus: isDialog,\n isExiting: isExiting,\n portalContainer: UNSTABLE_portalContainer ?? groupCtx?.current ?? undefined\n }, overlay);\n}\n\n\nexport {$542a13ca2fa5b484$export$9b9a0cd73afb7ca4 as PopoverContext, $542a13ca2fa5b484$export$5b6b19405a83ff9d as Popover};\n//# sourceMappingURL=Popover.mjs.map\n","import {dom as $7230ffa83bc0c2cf$export$df3a06d6289f983e, useContextProps as $7230ffa83bc0c2cf$export$29f1550f4b0d4415} from \"./utils.mjs\";\nimport $91cTq$react, {createContext as $91cTq$createContext, forwardRef as $91cTq$forwardRef} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nconst $650bea62ab5f5f0f$export$744d98a3b8a94e1c = /*#__PURE__*/ (0, $91cTq$createContext)({});\nconst $650bea62ab5f5f0f$export$16e4d70cc375e707 = /*#__PURE__*/ (0, $91cTq$forwardRef)(function Keyboard(props, ref) {\n [props, ref] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, $650bea62ab5f5f0f$export$744d98a3b8a94e1c);\n return /*#__PURE__*/ (0, $91cTq$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).kbd, {\n dir: \"ltr\",\n ...props,\n ref: ref\n });\n});\n\n\nexport {$650bea62ab5f5f0f$export$744d98a3b8a94e1c as KeyboardContext, $650bea62ab5f5f0f$export$16e4d70cc375e707 as Keyboard};\n//# sourceMappingURL=Keyboard.mjs.map\n","var $50608029e06fcc45$exports = {};\n$50608029e06fcc45$exports = {\n \"longPressMessage\": `\\u{627}\\u{636}\\u{63A}\\u{637} \\u{645}\\u{637}\\u{648}\\u{644}\\u{627}\\u{64B} \\u{623}\\u{648} \\u{627}\\u{636}\\u{63A}\\u{637} \\u{639}\\u{644}\\u{649} Alt + \\u{627}\\u{644}\\u{633}\\u{647}\\u{645} \\u{644}\\u{623}\\u{633}\\u{641}\\u{644} \\u{644}\\u{641}\\u{62A}\\u{62D} \\u{627}\\u{644}\\u{642}\\u{627}\\u{626}\\u{645}\\u{629}`\n};\n\n\nexport {$50608029e06fcc45$exports as default};\n//# sourceMappingURL=ar-AE.mjs.map\n","var $0ce6c09c3e669100$exports = {};\n$0ce6c09c3e669100$exports = {\n \"longPressMessage\": `\\u{41D}\\u{430}\\u{442}\\u{438}\\u{441}\\u{43D}\\u{435}\\u{442}\\u{435} \\u{43F}\\u{440}\\u{43E}\\u{434}\\u{44A}\\u{43B}\\u{436}\\u{438}\\u{442}\\u{435}\\u{43B}\\u{43D}\\u{43E} \\u{438}\\u{43B}\\u{438} \\u{43D}\\u{430}\\u{442}\\u{438}\\u{441}\\u{43D}\\u{435}\\u{442}\\u{435} Alt+ \\u{441}\\u{442}\\u{440}\\u{435}\\u{43B}\\u{43A}\\u{430} \\u{43D}\\u{430}\\u{434}\\u{43E}\\u{43B}\\u{443}, \\u{437}\\u{430} \\u{434}\\u{430} \\u{43E}\\u{442}\\u{432}\\u{43E}\\u{440}\\u{438}\\u{442}\\u{435} \\u{43C}\\u{435}\\u{43D}\\u{44E}\\u{442}\\u{43E}`\n};\n\n\nexport {$0ce6c09c3e669100$exports as default};\n//# sourceMappingURL=bg-BG.mjs.map\n","var $a9daab48d18bec17$exports = {};\n$a9daab48d18bec17$exports = {\n \"longPressMessage\": `Dlouh\\xfdm stiskem nebo stisknut\\xedm kl\\xe1ves Alt + \\u{161}ipka dol\\u{16F} otev\\u{159}ete nab\\xeddku`\n};\n\n\nexport {$a9daab48d18bec17$exports as default};\n//# sourceMappingURL=cs-CZ.mjs.map\n","var $a7897057abd4dedc$exports = {};\n$a7897057abd4dedc$exports = {\n \"longPressMessage\": `Langt tryk eller tryk p\\xe5 Alt + pil ned for at \\xe5bne menuen`\n};\n\n\nexport {$a7897057abd4dedc$exports as default};\n//# sourceMappingURL=da-DK.mjs.map\n","var $a48782afe17e416a$exports = {};\n$a48782afe17e416a$exports = {\n \"longPressMessage\": `Dr\\xfccken Sie lange oder dr\\xfccken Sie Alt + Nach-unten, um das Men\\xfc zu \\xf6ffnen`\n};\n\n\nexport {$a48782afe17e416a$exports as default};\n//# sourceMappingURL=de-DE.mjs.map\n","var $b4a078a1f4803013$exports = {};\n$b4a078a1f4803013$exports = {\n \"longPressMessage\": `\\u{3A0}\\u{3B9}\\u{3AD}\\u{3C3}\\u{3C4}\\u{3B5} \\u{3C0}\\u{3B1}\\u{3C1}\\u{3B1}\\u{3C4}\\u{3B5}\\u{3C4}\\u{3B1}\\u{3BC}\\u{3AD}\\u{3BD}\\u{3B1} \\u{3AE} \\u{3C0}\\u{3B1}\\u{3C4}\\u{3AE}\\u{3C3}\\u{3C4}\\u{3B5} Alt + \\u{3BA}\\u{3AC}\\u{3C4}\\u{3C9} \\u{3B2}\\u{3AD}\\u{3BB}\\u{3BF}\\u{3C2} \\u{3B3}\\u{3B9}\\u{3B1} \\u{3BD}\\u{3B1} \\u{3B1}\\u{3BD}\\u{3BF}\\u{3AF}\\u{3BE}\\u{3B5}\\u{3C4}\\u{3B5} \\u{3C4}\\u{3BF} \\u{3BC}\\u{3B5}\\u{3BD}\\u{3BF}\\u{3CD}`\n};\n\n\nexport {$b4a078a1f4803013$exports as default};\n//# sourceMappingURL=el-GR.mjs.map\n","var $788d77bcaab07d29$exports = {};\n$788d77bcaab07d29$exports = {\n \"longPressMessage\": `Long press or press Alt + ArrowDown to open menu`\n};\n\n\nexport {$788d77bcaab07d29$exports as default};\n//# sourceMappingURL=en-US.mjs.map\n","var $8fc1e38f2f738334$exports = {};\n$8fc1e38f2f738334$exports = {\n \"longPressMessage\": `Mantenga pulsado o pulse Alt + flecha abajo para abrir el men\\xfa`\n};\n\n\nexport {$8fc1e38f2f738334$exports as default};\n//# sourceMappingURL=es-ES.mjs.map\n","var $0c79cbd512713d63$exports = {};\n$0c79cbd512713d63$exports = {\n \"longPressMessage\": `Men\\xfc\\xfc avamiseks vajutage pikalt v\\xf5i vajutage klahve Alt + allanool`\n};\n\n\nexport {$0c79cbd512713d63$exports as default};\n//# sourceMappingURL=et-EE.mjs.map\n","var $6e578cb07f661d0f$exports = {};\n$6e578cb07f661d0f$exports = {\n \"longPressMessage\": `Avaa valikko painamalla pohjassa tai n\\xe4pp\\xe4inyhdistelm\\xe4ll\\xe4 Alt + Alanuoli`\n};\n\n\nexport {$6e578cb07f661d0f$exports as default};\n//# sourceMappingURL=fi-FI.mjs.map\n","var $44177fdbbad1a686$exports = {};\n$44177fdbbad1a686$exports = {\n \"longPressMessage\": `Appuyez de mani\\xe8re prolong\\xe9e ou appuyez sur Alt\\xa0+\\xa0Fl\\xe8che vers le bas pour ouvrir le menu.`\n};\n\n\nexport {$44177fdbbad1a686$exports as default};\n//# sourceMappingURL=fr-FR.mjs.map\n","var $990dfee85fc94a6a$exports = {};\n$990dfee85fc94a6a$exports = {\n \"longPressMessage\": `\\u{5DC}\\u{5D7}\\u{5E5} \\u{5DC}\\u{5D7}\\u{5D9}\\u{5E6}\\u{5D4} \\u{5D0}\\u{5E8}\\u{5D5}\\u{5DB}\\u{5D4} \\u{5D0}\\u{5D5} \\u{5D4}\\u{5E7}\\u{5E9} Alt + ArrowDown \\u{5DB}\\u{5D3}\\u{5D9} \\u{5DC}\\u{5E4}\\u{5EA}\\u{5D5}\\u{5D7} \\u{5D0}\\u{5EA} \\u{5D4}\\u{5EA}\\u{5E4}\\u{5E8}\\u{5D9}\\u{5D8}`\n};\n\n\nexport {$990dfee85fc94a6a$exports as default};\n//# sourceMappingURL=he-IL.mjs.map\n","var $10d7c2a1d55e74cf$exports = {};\n$10d7c2a1d55e74cf$exports = {\n \"longPressMessage\": `Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika`\n};\n\n\nexport {$10d7c2a1d55e74cf$exports as default};\n//# sourceMappingURL=hr-HR.mjs.map\n","var $d3182189bfd1bf3b$exports = {};\n$d3182189bfd1bf3b$exports = {\n \"longPressMessage\": `Nyomja meg hosszan, vagy nyomja meg az Alt + lefele ny\\xedl gombot a men\\xfc megnyit\\xe1s\\xe1hoz`\n};\n\n\nexport {$d3182189bfd1bf3b$exports as default};\n//# sourceMappingURL=hu-HU.mjs.map\n","var $fbfac0c9f82929a4$exports = {};\n$fbfac0c9f82929a4$exports = {\n \"longPressMessage\": `Premi a lungo o premi Alt + Freccia gi\\xf9 per aprire il menu`\n};\n\n\nexport {$fbfac0c9f82929a4$exports as default};\n//# sourceMappingURL=it-IT.mjs.map\n","var $18b8fa80cdc50d05$exports = {};\n$18b8fa80cdc50d05$exports = {\n \"longPressMessage\": `\\u{9577}\\u{62BC}\\u{3057}\\u{307E}\\u{305F}\\u{306F} Alt+\\u{4E0B}\\u{77E2}\\u{5370}\\u{30AD}\\u{30FC}\\u{3067}\\u{30E1}\\u{30CB}\\u{30E5}\\u{30FC}\\u{3092}\\u{958B}\\u{304F}`\n};\n\n\nexport {$18b8fa80cdc50d05$exports as default};\n//# sourceMappingURL=ja-JP.mjs.map\n","var $a8f49035a51fdb32$exports = {};\n$a8f49035a51fdb32$exports = {\n \"longPressMessage\": `\\u{AE38}\\u{AC8C} \\u{B204}\\u{B974}\\u{AC70}\\u{B098} Alt + \\u{C544}\\u{B798}\\u{CABD} \\u{D654}\\u{C0B4}\\u{D45C}\\u{B97C} \\u{B20C}\\u{B7EC} \\u{BA54}\\u{B274} \\u{C5F4}\\u{AE30}`\n};\n\n\nexport {$a8f49035a51fdb32$exports as default};\n//# sourceMappingURL=ko-KR.mjs.map\n","var $06546dd9bbf0f542$exports = {};\n$06546dd9bbf0f542$exports = {\n \"longPressMessage\": `Nor\\u{117}dami atidaryti meniu, nuspaud\\u{119} palaikykite arba paspauskite \\u{201E}Alt + ArrowDown\\u{201C}.`\n};\n\n\nexport {$06546dd9bbf0f542$exports as default};\n//# sourceMappingURL=lt-LT.mjs.map\n","var $9a7348e0caa19677$exports = {};\n$9a7348e0caa19677$exports = {\n \"longPressMessage\": `Lai atv\\u{113}rtu izv\\u{113}lni, turiet nospiestu vai nospiediet tausti\\u{146}u kombin\\u{101}ciju Alt + lejupv\\u{113}rst\\u{101} bulti\\u{146}a`\n};\n\n\nexport {$9a7348e0caa19677$exports as default};\n//# sourceMappingURL=lv-LV.mjs.map\n","var $e16c55913ae3971e$exports = {};\n$e16c55913ae3971e$exports = {\n \"longPressMessage\": `Langt trykk eller trykk Alt + PilNed for \\xe5 \\xe5pne menyen`\n};\n\n\nexport {$e16c55913ae3971e$exports as default};\n//# sourceMappingURL=nb-NO.mjs.map\n","var $d92f6e92c51016e2$exports = {};\n$d92f6e92c51016e2$exports = {\n \"longPressMessage\": `Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen`\n};\n\n\nexport {$d92f6e92c51016e2$exports as default};\n//# sourceMappingURL=nl-NL.mjs.map\n","var $5475104f6d631fa8$exports = {};\n$5475104f6d631fa8$exports = {\n \"longPressMessage\": `Naci\\u{15B}nij i przytrzymaj lub naci\\u{15B}nij klawisze Alt + Strza\\u{142}ka w d\\xf3\\u{142}, aby otworzy\\u{107} menu`\n};\n\n\nexport {$5475104f6d631fa8$exports as default};\n//# sourceMappingURL=pl-PL.mjs.map\n","var $e97402d4778a500f$exports = {};\n$e97402d4778a500f$exports = {\n \"longPressMessage\": `Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu`\n};\n\n\nexport {$e97402d4778a500f$exports as default};\n//# sourceMappingURL=pt-BR.mjs.map\n","var $8ffff1f90e4445ad$exports = {};\n$8ffff1f90e4445ad$exports = {\n \"longPressMessage\": `Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu`\n};\n\n\nexport {$8ffff1f90e4445ad$exports as default};\n//# sourceMappingURL=pt-PT.mjs.map\n","var $3b65c017e2338742$exports = {};\n$3b65c017e2338742$exports = {\n \"longPressMessage\": `Ap\\u{103}sa\\u{21B}i lung sau ap\\u{103}sa\\u{21B}i pe Alt + s\\u{103}geat\\u{103} \\xeen jos pentru a deschide meniul`\n};\n\n\nexport {$3b65c017e2338742$exports as default};\n//# sourceMappingURL=ro-RO.mjs.map\n","var $5dc65e8d5bb20c3e$exports = {};\n$5dc65e8d5bb20c3e$exports = {\n \"longPressMessage\": `\\u{41D}\\u{430}\\u{436}\\u{43C}\\u{438}\\u{442}\\u{435} \\u{438} \\u{443}\\u{434}\\u{435}\\u{440}\\u{436}\\u{438}\\u{432}\\u{430}\\u{439}\\u{442}\\u{435} \\u{438}\\u{43B}\\u{438} \\u{43D}\\u{430}\\u{436}\\u{43C}\\u{438}\\u{442}\\u{435} Alt + \\u{421}\\u{442}\\u{440}\\u{435}\\u{43B}\\u{43A}\\u{430} \\u{432}\\u{43D}\\u{438}\\u{437}, \\u{447}\\u{442}\\u{43E}\\u{431}\\u{44B} \\u{43E}\\u{442}\\u{43A}\\u{440}\\u{44B}\\u{442}\\u{44C} \\u{43C}\\u{435}\\u{43D}\\u{44E}`\n};\n\n\nexport {$5dc65e8d5bb20c3e$exports as default};\n//# sourceMappingURL=ru-RU.mjs.map\n","var $754ea877f466b46b$exports = {};\n$754ea877f466b46b$exports = {\n \"longPressMessage\": `Ponuku otvor\\xedte dlh\\xfdm stla\\u{10D}en\\xedm alebo stla\\u{10D}en\\xedm kl\\xe1vesu Alt + kl\\xe1vesu so \\u{161}\\xedpkou nadol`\n};\n\n\nexport {$754ea877f466b46b$exports as default};\n//# sourceMappingURL=sk-SK.mjs.map\n","var $371167f8ab40ff4e$exports = {};\n$371167f8ab40ff4e$exports = {\n \"longPressMessage\": `Za odprtje menija pritisnite in dr\\u{17E}ite gumb ali pritisnite Alt+pu\\u{161}\\u{10D}ica navzdol`\n};\n\n\nexport {$371167f8ab40ff4e$exports as default};\n//# sourceMappingURL=sl-SI.mjs.map\n","var $000e668e4e84b579$exports = {};\n$000e668e4e84b579$exports = {\n \"longPressMessage\": `Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni`\n};\n\n\nexport {$000e668e4e84b579$exports as default};\n//# sourceMappingURL=sr-SP.mjs.map\n","var $fc088db6dd370743$exports = {};\n$fc088db6dd370743$exports = {\n \"longPressMessage\": `H\\xe5ll nedtryckt eller tryck p\\xe5 Alt + pil ned\\xe5t f\\xf6r att \\xf6ppna menyn`\n};\n\n\nexport {$fc088db6dd370743$exports as default};\n//# sourceMappingURL=sv-SE.mjs.map\n","var $eef33ec9131405b8$exports = {};\n$eef33ec9131405b8$exports = {\n \"longPressMessage\": `Men\\xfcy\\xfc a\\xe7mak i\\xe7in uzun bas\\u{131}n veya Alt + A\\u{15F}a\\u{11F}\\u{131} Ok tu\\u{15F}una bas\\u{131}n`\n};\n\n\nexport {$eef33ec9131405b8$exports as default};\n//# sourceMappingURL=tr-TR.mjs.map\n","var $17ca43fe2ce333c0$exports = {};\n$17ca43fe2ce333c0$exports = {\n \"longPressMessage\": `\\u{414}\\u{43E}\\u{432}\\u{433}\\u{43E} \\u{430}\\u{431}\\u{43E} \\u{437}\\u{432}\\u{438}\\u{447}\\u{430}\\u{439}\\u{43D}\\u{43E} \\u{43D}\\u{430}\\u{442}\\u{438}\\u{441}\\u{43D}\\u{456}\\u{442}\\u{44C} \\u{43A}\\u{43E}\\u{43C}\\u{431}\\u{456}\\u{43D}\\u{430}\\u{446}\\u{456}\\u{44E} \\u{43A}\\u{43B}\\u{430}\\u{432}\\u{456}\\u{448} Alt \\u{456} \\u{441}\\u{442}\\u{440}\\u{456}\\u{43B}\\u{43A}\\u{430} \\u{432}\\u{43D}\\u{438}\\u{437}, \\u{449}\\u{43E}\\u{431} \\u{432}\\u{456}\\u{434}\\u{43A}\\u{440}\\u{438}\\u{442}\\u{438} \\u{43C}\\u{435}\\u{43D}\\u{44E}`\n};\n\n\nexport {$17ca43fe2ce333c0$exports as default};\n//# sourceMappingURL=uk-UA.mjs.map\n","var $ce0bee578e53860c$exports = {};\n$ce0bee578e53860c$exports = {\n \"longPressMessage\": `\\u{957F}\\u{6309}\\u{6216}\\u{6309} Alt + \\u{5411}\\u{4E0B}\\u{65B9}\\u{5411}\\u{952E}\\u{4EE5}\\u{6253}\\u{5F00}\\u{83DC}\\u{5355}`\n};\n\n\nexport {$ce0bee578e53860c$exports as default};\n//# sourceMappingURL=zh-CN.mjs.map\n","var $a146d231f9c4bbf9$exports = {};\n$a146d231f9c4bbf9$exports = {\n \"longPressMessage\": `\\u{9577}\\u{6309}\\u{6216}\\u{6309} Alt+\\u{5411}\\u{4E0B}\\u{9375}\\u{4EE5}\\u{958B}\\u{555F}\\u{529F}\\u{80FD}\\u{8868}`\n};\n\n\nexport {$a146d231f9c4bbf9$exports as default};\n//# sourceMappingURL=zh-TW.mjs.map\n","import $ljvjO$intlmenuarAEmjs from \"../intl/menu/ar-AE.mjs\";\nimport $ljvjO$intlmenubgBGmjs from \"../intl/menu/bg-BG.mjs\";\nimport $ljvjO$intlmenucsCZmjs from \"../intl/menu/cs-CZ.mjs\";\nimport $ljvjO$intlmenudaDKmjs from \"../intl/menu/da-DK.mjs\";\nimport $ljvjO$intlmenudeDEmjs from \"../intl/menu/de-DE.mjs\";\nimport $ljvjO$intlmenuelGRmjs from \"../intl/menu/el-GR.mjs\";\nimport $ljvjO$intlmenuenUSmjs from \"../intl/menu/en-US.mjs\";\nimport $ljvjO$intlmenuesESmjs from \"../intl/menu/es-ES.mjs\";\nimport $ljvjO$intlmenuetEEmjs from \"../intl/menu/et-EE.mjs\";\nimport $ljvjO$intlmenufiFImjs from \"../intl/menu/fi-FI.mjs\";\nimport $ljvjO$intlmenufrFRmjs from \"../intl/menu/fr-FR.mjs\";\nimport $ljvjO$intlmenuheILmjs from \"../intl/menu/he-IL.mjs\";\nimport $ljvjO$intlmenuhrHRmjs from \"../intl/menu/hr-HR.mjs\";\nimport $ljvjO$intlmenuhuHUmjs from \"../intl/menu/hu-HU.mjs\";\nimport $ljvjO$intlmenuitITmjs from \"../intl/menu/it-IT.mjs\";\nimport $ljvjO$intlmenujaJPmjs from \"../intl/menu/ja-JP.mjs\";\nimport $ljvjO$intlmenukoKRmjs from \"../intl/menu/ko-KR.mjs\";\nimport $ljvjO$intlmenultLTmjs from \"../intl/menu/lt-LT.mjs\";\nimport $ljvjO$intlmenulvLVmjs from \"../intl/menu/lv-LV.mjs\";\nimport $ljvjO$intlmenunbNOmjs from \"../intl/menu/nb-NO.mjs\";\nimport $ljvjO$intlmenunlNLmjs from \"../intl/menu/nl-NL.mjs\";\nimport $ljvjO$intlmenuplPLmjs from \"../intl/menu/pl-PL.mjs\";\nimport $ljvjO$intlmenuptBRmjs from \"../intl/menu/pt-BR.mjs\";\nimport $ljvjO$intlmenuptPTmjs from \"../intl/menu/pt-PT.mjs\";\nimport $ljvjO$intlmenuroROmjs from \"../intl/menu/ro-RO.mjs\";\nimport $ljvjO$intlmenuruRUmjs from \"../intl/menu/ru-RU.mjs\";\nimport $ljvjO$intlmenuskSKmjs from \"../intl/menu/sk-SK.mjs\";\nimport $ljvjO$intlmenuslSImjs from \"../intl/menu/sl-SI.mjs\";\nimport $ljvjO$intlmenusrSPmjs from \"../intl/menu/sr-SP.mjs\";\nimport $ljvjO$intlmenusvSEmjs from \"../intl/menu/sv-SE.mjs\";\nimport $ljvjO$intlmenutrTRmjs from \"../intl/menu/tr-TR.mjs\";\nimport $ljvjO$intlmenuukUAmjs from \"../intl/menu/uk-UA.mjs\";\nimport $ljvjO$intlmenuzhCNmjs from \"../intl/menu/zh-CN.mjs\";\nimport $ljvjO$intlmenuzhTWmjs from \"../intl/menu/zh-TW.mjs\";\n\nvar $bdff4dd8fb5956de$exports = {};\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n$bdff4dd8fb5956de$exports = {\n \"ar-AE\": $ljvjO$intlmenuarAEmjs,\n \"bg-BG\": $ljvjO$intlmenubgBGmjs,\n \"cs-CZ\": $ljvjO$intlmenucsCZmjs,\n \"da-DK\": $ljvjO$intlmenudaDKmjs,\n \"de-DE\": $ljvjO$intlmenudeDEmjs,\n \"el-GR\": $ljvjO$intlmenuelGRmjs,\n \"en-US\": $ljvjO$intlmenuenUSmjs,\n \"es-ES\": $ljvjO$intlmenuesESmjs,\n \"et-EE\": $ljvjO$intlmenuetEEmjs,\n \"fi-FI\": $ljvjO$intlmenufiFImjs,\n \"fr-FR\": $ljvjO$intlmenufrFRmjs,\n \"he-IL\": $ljvjO$intlmenuheILmjs,\n \"hr-HR\": $ljvjO$intlmenuhrHRmjs,\n \"hu-HU\": $ljvjO$intlmenuhuHUmjs,\n \"it-IT\": $ljvjO$intlmenuitITmjs,\n \"ja-JP\": $ljvjO$intlmenujaJPmjs,\n \"ko-KR\": $ljvjO$intlmenukoKRmjs,\n \"lt-LT\": $ljvjO$intlmenultLTmjs,\n \"lv-LV\": $ljvjO$intlmenulvLVmjs,\n \"nb-NO\": $ljvjO$intlmenunbNOmjs,\n \"nl-NL\": $ljvjO$intlmenunlNLmjs,\n \"pl-PL\": $ljvjO$intlmenuplPLmjs,\n \"pt-BR\": $ljvjO$intlmenuptBRmjs,\n \"pt-PT\": $ljvjO$intlmenuptPTmjs,\n \"ro-RO\": $ljvjO$intlmenuroROmjs,\n \"ru-RU\": $ljvjO$intlmenuruRUmjs,\n \"sk-SK\": $ljvjO$intlmenuskSKmjs,\n \"sl-SI\": $ljvjO$intlmenuslSImjs,\n \"sr-SP\": $ljvjO$intlmenusrSPmjs,\n \"sv-SE\": $ljvjO$intlmenusvSEmjs,\n \"tr-TR\": $ljvjO$intlmenutrTRmjs,\n \"uk-UA\": $ljvjO$intlmenuukUAmjs,\n \"zh-CN\": $ljvjO$intlmenuzhCNmjs,\n \"zh-TW\": $ljvjO$intlmenuzhTWmjs\n};\n\n\nexport {$bdff4dd8fb5956de$exports as default};\n//# sourceMappingURL=intlStrings.mjs.map\n","import {onCloseMap as $22e2f5f6490788e8$export$f6211563215e3b37} from \"./useCloseOnScroll.mjs\";\nimport {useId as $390e54f620492c70$export$f680877a34711e37} from \"../utils/useId.mjs\";\nimport {useEffect as $i8XK3$useEffect} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nfunction $f282e36c29c025e8$export$f9d5c8beee7d008d(props, state, ref) {\n let { type: type } = props;\n let { isOpen: isOpen } = state;\n // Backward compatibility. Share state close function with useOverlayPosition so it can close on scroll\n // without forcing users to pass onClose.\n (0, $i8XK3$useEffect)(()=>{\n if (ref && ref.current) (0, $22e2f5f6490788e8$export$f6211563215e3b37).set(ref.current, state.close);\n });\n // Aria 1.1 supports multiple values for aria-haspopup other than just menus.\n // https://www.w3.org/TR/wai-aria-1.1/#aria-haspopup\n // However, we only add it for menus for now because screen readers often\n // announce it as a menu even for other values.\n let ariaHasPopup = undefined;\n if (type === 'menu') ariaHasPopup = true;\n else if (type === 'listbox') ariaHasPopup = 'listbox';\n let overlayId = (0, $390e54f620492c70$export$f680877a34711e37)();\n return {\n triggerProps: {\n 'aria-haspopup': ariaHasPopup,\n 'aria-expanded': isOpen,\n 'aria-controls': isOpen ? overlayId : undefined,\n onPress: state.toggle\n },\n overlayProps: {\n id: overlayId\n }\n };\n}\n\n\nexport {$f282e36c29c025e8$export$f9d5c8beee7d008d as useOverlayTrigger};\n//# sourceMappingURL=useOverlayTrigger.mjs.map\n","import {focusWithoutScrolling as $1969ac565cfec8d0$export$de79e2c695e052f3} from \"../utils/focusWithoutScrolling.mjs\";\nimport $1SpDQ$intlStringsmjs from \"./intlStrings.mjs\";\nimport {useId as $390e54f620492c70$export$f680877a34711e37} from \"../utils/useId.mjs\";\nimport {useLocalizedStringFormatter as $cf2482eff2eeeec2$export$f12b703ca79dfbb1} from \"../i18n/useLocalizedStringFormatter.mjs\";\nimport {useLongPress as $7b01448eaad0fe7c$export$c24ed0104d07eab9} from \"../interactions/useLongPress.mjs\";\nimport {useOverlayTrigger as $f282e36c29c025e8$export$f9d5c8beee7d008d} from \"../overlays/useOverlayTrigger.mjs\";\n\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\nfunction $f19b83c1486f45cc$export$dc9c12ed27dd1b49(props, state, ref) {\n let { type: type = 'menu', isDisabled: isDisabled, trigger: trigger = 'press' } = props;\n let menuTriggerId = (0, $390e54f620492c70$export$f680877a34711e37)();\n let { triggerProps: triggerProps, overlayProps: overlayProps } = (0, $f282e36c29c025e8$export$f9d5c8beee7d008d)({\n type: type\n }, state, ref);\n let onKeyDown = (e)=>{\n if (isDisabled) return;\n if (trigger === 'longPress' && !e.altKey) return;\n if (ref && ref.current) switch(e.key){\n case 'Enter':\n case ' ':\n // React puts listeners on the same root, so even if propagation was stopped, immediate propagation is still possible.\n // useTypeSelect will handle the spacebar first if it's running, so we don't want to open if it's handled it already.\n // We use isDefaultPrevented() instead of isPropagationStopped() because createEventHandler stops propagation by default.\n // And default prevented means that the event was handled by something else (typeahead), so we don't want to open the menu.\n if (trigger === 'longPress' || e.isDefaultPrevented()) return;\n // fallthrough\n case 'ArrowDown':\n // Stop propagation, unless it would already be handled by useKeyboard.\n if (!('continuePropagation' in e)) e.stopPropagation();\n e.preventDefault();\n state.toggle('first');\n break;\n case 'ArrowUp':\n if (!('continuePropagation' in e)) e.stopPropagation();\n e.preventDefault();\n state.toggle('last');\n break;\n default:\n // Allow other keys.\n if ('continuePropagation' in e) e.continuePropagation();\n }\n };\n let stringFormatter = (0, $cf2482eff2eeeec2$export$f12b703ca79dfbb1)((0, ($parcel$interopDefault($1SpDQ$intlStringsmjs))), '@react-aria/menu');\n let { longPressProps: longPressProps } = (0, $7b01448eaad0fe7c$export$c24ed0104d07eab9)({\n isDisabled: isDisabled || trigger !== 'longPress',\n accessibilityDescription: stringFormatter.format('longPressMessage'),\n onLongPressStart () {\n state.close();\n },\n onLongPress () {\n state.open('first');\n }\n });\n let pressProps = {\n preventFocusOnPress: true,\n onPressStart (e) {\n // For consistency with native, open the menu on mouse/key down, but touch up.\n if (e.pointerType !== 'touch' && e.pointerType !== 'keyboard' && !isDisabled) {\n // Ensure trigger has focus before opening the menu so it can be restored by FocusScope on close.\n (0, $1969ac565cfec8d0$export$de79e2c695e052f3)(e.target);\n // If opened with a screen reader, auto focus the first item.\n // Otherwise, the menu itself will be focused.\n state.open(e.pointerType === 'virtual' ? 'first' : null);\n }\n },\n onPress (e) {\n if (e.pointerType === 'touch' && !isDisabled) {\n // Ensure trigger has focus before opening the menu so it can be restored by FocusScope on close.\n (0, $1969ac565cfec8d0$export$de79e2c695e052f3)(e.target);\n state.toggle();\n }\n }\n };\n // omit onPress from triggerProps since we override it above.\n delete triggerProps.onPress;\n return {\n // @ts-ignore - TODO we pass out both DOMAttributes AND AriaButtonProps, but useButton will discard the longPress event handlers, it's only through PressResponder magic that this works for RSP and RAC. it does not work in aria examples\n menuTriggerProps: {\n ...triggerProps,\n ...trigger === 'press' ? pressProps : longPressProps,\n id: menuTriggerId,\n onKeyDown: onKeyDown\n },\n menuProps: {\n ...overlayProps,\n 'aria-labelledby': menuTriggerId,\n autoFocus: state.focusStrategy || true,\n onClose: state.close\n }\n };\n}\n\n\nexport {$f19b83c1486f45cc$export$dc9c12ed27dd1b49 as useMenuTrigger};\n//# sourceMappingURL=useMenuTrigger.mjs.map\n","/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ const $d5765cd7be93edd1$export$6f49b4016bfc8d56 = new WeakMap();\n\n\nexport {$d5765cd7be93edd1$export$6f49b4016bfc8d56 as menuData};\n//# sourceMappingURL=utils.mjs.map\n","import {filterDOMProps as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f} from \"../utils/filterDOMProps.mjs\";\nimport {menuData as $d5765cd7be93edd1$export$6f49b4016bfc8d56} from \"./utils.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {useSelectableList as $64903b4b31b6bb2a$export$b95089534ab7c1fd} from \"../selection/useSelectableList.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\nfunction $a2d69d6ee8486855$export$38eaa17faae8f579(props, state, ref) {\n let { shouldFocusWrap: shouldFocusWrap = true, onKeyDown: onKeyDown, onKeyUp: onKeyUp, ...otherProps } = props;\n if (!props['aria-label'] && !props['aria-labelledby'] && process.env.NODE_ENV !== 'production') console.warn('An aria-label or aria-labelledby prop is required for accessibility.');\n let domProps = (0, $8e9d2fae0ecb9001$export$457c3d6518dd4c6f)(props, {\n labelable: true\n });\n let { listProps: listProps } = (0, $64903b4b31b6bb2a$export$b95089534ab7c1fd)({\n ...otherProps,\n ref: ref,\n selectionManager: state.selectionManager,\n collection: state.collection,\n disabledKeys: state.disabledKeys,\n shouldFocusWrap: shouldFocusWrap,\n linkBehavior: 'override'\n });\n (0, $d5765cd7be93edd1$export$6f49b4016bfc8d56).set(state, {\n onClose: props.onClose,\n onAction: props.onAction,\n shouldUseVirtualFocus: props.shouldUseVirtualFocus\n });\n return {\n menuProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(domProps, {\n onKeyDown: onKeyDown,\n onKeyUp: onKeyUp\n }, {\n role: 'menu',\n ...listProps,\n onKeyDown: (e)=>{\n // don't clear the menu selected keys if the user is presses escape since escape closes the menu\n if (e.key !== 'Escape' || props.shouldUseVirtualFocus) listProps.onKeyDown?.(e);\n }\n })\n };\n}\n\n\nexport {$a2d69d6ee8486855$export$38eaa17faae8f579 as useMenu};\n//# sourceMappingURL=useMenu.mjs.map\n","import {filterDOMProps as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f} from \"../utils/filterDOMProps.mjs\";\nimport {getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {handleLinkClick as $caaf0dd3060ed57c$export$13aea1a3cb5e3f1f, useLinkProps as $caaf0dd3060ed57c$export$7e924b3091a3bd18, useRouter as $caaf0dd3060ed57c$export$9a302a45f65d0572} from \"../utils/openLink.mjs\";\nimport {isFocusVisible as $8f5a2122b0992be3$export$b9b3dfddab17db27, setInteractionModality as $8f5a2122b0992be3$export$8397ddfc504fdb9a} from \"../interactions/useFocusVisible.mjs\";\nimport {menuData as $d5765cd7be93edd1$export$6f49b4016bfc8d56} from \"./utils.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {useFocusable as $d1116acdf220c2da$export$4c014de7c8940b4c} from \"../interactions/useFocusable.mjs\";\nimport {useHover as $e969f22b6713ca4a$export$ae780daf29e6d456} from \"../interactions/useHover.mjs\";\nimport {useKeyboard as $8296dad1a4c5e0dc$export$8f71654801c2f7cd} from \"../interactions/useKeyboard.mjs\";\nimport {usePress as $d27d541f9569d26d$export$45712eceda6fad21} from \"../interactions/usePress.mjs\";\nimport {useSelectableItem as $f6ba6936bfd098a0$export$ecf600387e221c37} from \"../selection/useSelectableItem.mjs\";\nimport {useSlotId as $390e54f620492c70$export$b4cc09c592e8fdb8} from \"../utils/useId.mjs\";\nimport {getItemCount as $2sTAp$getItemCount} from \"react-stately/private/collections/getItemCount\";\nimport {useRef as $2sTAp$useRef} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction $1a9c2c840fd36413$export$9d32628fc2aea7da(props, state, ref) {\n let { id: id, key: key, closeOnSelect: closeOnSelect, shouldCloseOnSelect: shouldCloseOnSelect, isVirtualized: isVirtualized, 'aria-haspopup': hasPopup, onPressStart: onPressStart, onPressUp: pressUpProp, onPress: onPress, onPressChange: pressChangeProp, onPressEnd: onPressEnd, onClick: onClickProp, onHoverStart: hoverStartProp, onHoverChange: onHoverChange, onHoverEnd: onHoverEnd, onKeyDown: onKeyDown, onKeyUp: onKeyUp, onFocus: onFocus, onFocusChange: onFocusChange, onBlur: onBlur, selectionManager: selectionManager = state.selectionManager } = props;\n let isTrigger = !!hasPopup;\n let isTriggerExpanded = isTrigger && props['aria-expanded'] === 'true';\n let isDisabled = props.isDisabled ?? selectionManager.isDisabled(key);\n let isSelected = props.isSelected ?? selectionManager.isSelected(key);\n let data = (0, $d5765cd7be93edd1$export$6f49b4016bfc8d56).get(state);\n let item = state.collection.getItem(key);\n let onClose = props.onClose || data.onClose;\n let router = (0, $caaf0dd3060ed57c$export$9a302a45f65d0572)();\n let performAction = ()=>{\n if (isTrigger) return;\n if (item?.props?.onAction) item.props.onAction();\n else if (props.onAction) props.onAction(key);\n if (data.onAction) {\n // Must reassign to variable otherwise `this` binding gets messed up. Something to do with WeakMap.\n let onAction = data.onAction;\n onAction(key);\n }\n };\n let role = 'menuitem';\n if (!isTrigger) {\n if (selectionManager.selectionMode === 'single') role = 'menuitemradio';\n else if (selectionManager.selectionMode === 'multiple') role = 'menuitemcheckbox';\n }\n let labelId = (0, $390e54f620492c70$export$b4cc09c592e8fdb8)();\n let descriptionId = (0, $390e54f620492c70$export$b4cc09c592e8fdb8)();\n let keyboardId = (0, $390e54f620492c70$export$b4cc09c592e8fdb8)();\n let ariaProps = {\n id: id,\n 'aria-disabled': isDisabled || undefined,\n role: role,\n 'aria-label': props['aria-label'],\n 'aria-labelledby': labelId,\n 'aria-describedby': [\n props['aria-describedby'],\n descriptionId,\n keyboardId\n ].filter(Boolean).join(' ') || undefined,\n 'aria-controls': props['aria-controls'],\n 'aria-haspopup': hasPopup,\n 'aria-expanded': props['aria-expanded']\n };\n if (selectionManager.selectionMode !== 'none' && !isTrigger) ariaProps['aria-checked'] = isSelected;\n if (isVirtualized) {\n let index = Number(item?.index);\n ariaProps['aria-posinset'] = Number.isNaN(index) ? undefined : index + 1;\n ariaProps['aria-setsize'] = (0, $2sTAp$getItemCount)(state.collection);\n }\n let isPressedRef = (0, $2sTAp$useRef)(false);\n let onPressChange = (isPressed)=>{\n pressChangeProp?.(isPressed);\n isPressedRef.current = isPressed;\n };\n let interaction = (0, $2sTAp$useRef)(null);\n let onPressUp = (e)=>{\n if (e.pointerType !== 'keyboard') interaction.current = {\n pointerType: e.pointerType\n };\n // If interacting with mouse, allow the user to mouse down on the trigger button,\n // drag, and release over an item (matching native behavior).\n if (e.pointerType === 'mouse') {\n if (!isPressedRef.current) e.target.click();\n }\n pressUpProp?.(e);\n };\n let onClick = (e)=>{\n onClickProp?.(e);\n performAction();\n (0, $caaf0dd3060ed57c$export$13aea1a3cb5e3f1f)(e, router, item.props.href, item?.props.routerOptions);\n let shouldClose = interaction.current?.pointerType === 'keyboard' ? interaction.current?.key === 'Enter' || selectionManager.selectionMode === 'none' || selectionManager.isLink(key) : selectionManager.selectionMode !== 'multiple' || selectionManager.isLink(key);\n shouldClose = shouldCloseOnSelect ?? closeOnSelect ?? shouldClose;\n if (onClose && !isTrigger && shouldClose) onClose();\n interaction.current = null;\n };\n let { itemProps: itemProps, isFocused: isFocused } = (0, $f6ba6936bfd098a0$export$ecf600387e221c37)({\n id: id,\n selectionManager: selectionManager,\n key: key,\n ref: ref,\n shouldSelectOnPressUp: true,\n allowsDifferentPressOrigin: true,\n // Disable all handling of links in useSelectable item\n // because we handle it ourselves. The behavior of menus\n // is slightly different from other collections because\n // actions are performed on key down rather than key up.\n linkBehavior: 'none',\n shouldUseVirtualFocus: data.shouldUseVirtualFocus\n });\n let { pressProps: pressProps, isPressed: isPressed } = (0, $d27d541f9569d26d$export$45712eceda6fad21)({\n onPressStart: onPressStart,\n onPress: onPress,\n onPressUp: onPressUp,\n onPressChange: onPressChange,\n onPressEnd: onPressEnd,\n isDisabled: isDisabled\n });\n let { hoverProps: hoverProps } = (0, $e969f22b6713ca4a$export$ae780daf29e6d456)({\n isDisabled: isDisabled,\n onHoverStart (e) {\n // Hovering over an already expanded sub dialog trigger should keep focus in the dialog.\n if (!(0, $8f5a2122b0992be3$export$b9b3dfddab17db27)() && !(isTriggerExpanded && hasPopup)) {\n selectionManager.setFocused(true);\n selectionManager.setFocusedKey(key);\n }\n hoverStartProp?.(e);\n },\n onHoverChange: onHoverChange,\n onHoverEnd: onHoverEnd\n });\n let { keyboardProps: keyboardProps } = (0, $8296dad1a4c5e0dc$export$8f71654801c2f7cd)({\n onKeyDown: (e)=>{\n // Ignore repeating events, which may have started on the menu trigger before moving\n // focus to the menu item. We want to wait for a second complete key press sequence.\n if (e.repeat) {\n e.continuePropagation();\n return;\n }\n switch(e.key){\n case ' ':\n interaction.current = {\n pointerType: 'keyboard',\n key: ' '\n };\n (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e).click();\n // click above sets modality to \"virtual\", need to set interaction modality back to 'keyboard' so focusSafely calls properly move focus\n // to the newly opened submenu's first item.\n (0, $8f5a2122b0992be3$export$8397ddfc504fdb9a)('keyboard');\n break;\n case 'Enter':\n interaction.current = {\n pointerType: 'keyboard',\n key: 'Enter'\n };\n // Trigger click unless this is a link. Links trigger click natively.\n if ((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e).tagName !== 'A') (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e).click();\n // click above sets modality to \"virtual\", need to set interaction modality back to 'keyboard' so focusSafely calls properly move focus\n // to the newly opened submenu's first item.\n (0, $8f5a2122b0992be3$export$8397ddfc504fdb9a)('keyboard');\n break;\n default:\n if (!isTrigger) e.continuePropagation();\n onKeyDown?.(e);\n break;\n }\n },\n onKeyUp: onKeyUp\n });\n let { focusableProps: focusableProps } = (0, $d1116acdf220c2da$export$4c014de7c8940b4c)({\n onBlur: onBlur,\n onFocus: onFocus,\n onFocusChange: onFocusChange\n }, ref);\n let domProps = (0, $8e9d2fae0ecb9001$export$457c3d6518dd4c6f)(item?.props);\n delete domProps.id;\n let linkProps = (0, $caaf0dd3060ed57c$export$7e924b3091a3bd18)(item?.props);\n return {\n menuItemProps: {\n ...ariaProps,\n ...(0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(domProps, linkProps, isTrigger ? {\n onFocus: itemProps.onFocus,\n 'data-collection': itemProps['data-collection'],\n 'data-key': itemProps['data-key']\n } : itemProps, pressProps, hoverProps, keyboardProps, focusableProps, // Prevent DOM focus from moving on mouse down when using virtual focus or this is a submenu/subdialog trigger.\n data.shouldUseVirtualFocus || isTrigger ? {\n onMouseDown: (e)=>e.preventDefault()\n } : undefined, isDisabled ? undefined : {\n onClick: onClick\n }),\n // If a submenu is expanded, set the tabIndex to -1 so that shift tabbing goes out of the menu instead of the parent menu item.\n tabIndex: itemProps.tabIndex != null && isTriggerExpanded && !data.shouldUseVirtualFocus ? -1 : itemProps.tabIndex\n },\n labelProps: {\n id: labelId\n },\n descriptionProps: {\n id: descriptionId\n },\n keyboardShortcutProps: {\n id: keyboardId\n },\n isFocused: isFocused,\n isFocusVisible: isFocused && selectionManager.isFocused && (0, $8f5a2122b0992be3$export$b9b3dfddab17db27)() && !isTriggerExpanded,\n isSelected: isSelected,\n isPressed: isPressed,\n isDisabled: isDisabled\n };\n}\n\n\nexport {$1a9c2c840fd36413$export$9d32628fc2aea7da as useMenuItem};\n//# sourceMappingURL=useMenuItem.mjs.map\n","import {useId as $390e54f620492c70$export$f680877a34711e37} from \"../utils/useId.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nfunction $7355d4e5c49461b6$export$73f7a44322579622(props) {\n let { heading: heading, 'aria-label': ariaLabel } = props;\n let headingId = (0, $390e54f620492c70$export$f680877a34711e37)();\n return {\n itemProps: {\n role: 'presentation'\n },\n headingProps: heading ? {\n // Techincally, menus cannot contain headings according to ARIA.\n // We hide the heading from assistive technology, using role=\"presentation\",\n // and only use it as a label for the nested group.\n id: headingId,\n role: 'presentation'\n } : {},\n groupProps: {\n role: 'group',\n 'aria-label': ariaLabel,\n 'aria-labelledby': heading ? headingId : undefined\n }\n };\n}\n\n\nexport {$7355d4e5c49461b6$export$73f7a44322579622 as useMenuSection};\n//# sourceMappingURL=useMenuSection.mjs.map\n","import {nodeContains as $23f2114a1b82827e$export$4282f70798064fe0} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {useEffectEvent as $fe16bffc7a557bf0$export$7f54fc3180508a52} from \"../utils/useEffectEvent.mjs\";\nimport {useInteractionModality as $8f5a2122b0992be3$export$98e20ec92f614cfe} from \"../interactions/useFocusVisible.mjs\";\nimport {useLayoutEffect as $c4867b2f328c2698$export$e5c5a5f917a5871c} from \"../utils/useLayoutEffect.mjs\";\nimport {useResizeObserver as $970072cf4b13fde3$export$683480f191c0e3ea} from \"../utils/useResizeObserver.mjs\";\nimport {useRef as $iKSsv$useRef, useState as $iKSsv$useState, useEffect as $iKSsv$useEffect} from \"react\";\n\n\n\n\n\n\n\nconst $eac5d44fa99b2e3b$var$ALLOWED_INVALID_MOVEMENTS = 2;\nconst $eac5d44fa99b2e3b$var$THROTTLE_TIME = 50;\nconst $eac5d44fa99b2e3b$var$TIMEOUT_TIME = 1000;\nconst $eac5d44fa99b2e3b$var$ANGLE_PADDING = Math.PI / 12; // 15°\nfunction $eac5d44fa99b2e3b$export$85ec83e04c95f50a(options) {\n let { menuRef: menuRef, submenuRef: submenuRef, isOpen: isOpen, isDisabled: isDisabled } = options;\n let prevPointerPos = (0, $iKSsv$useRef)(undefined);\n let submenuRect = (0, $iKSsv$useRef)(undefined);\n let lastProcessedTime = (0, $iKSsv$useRef)(0);\n let timeout = (0, $iKSsv$useRef)(undefined);\n let autoCloseTimeout = (0, $iKSsv$useRef)(undefined);\n let submenuSide = (0, $iKSsv$useRef)(undefined);\n let movementsTowardsSubmenuCount = (0, $iKSsv$useRef)(2);\n let [preventPointerEvents, setPreventPointerEvents] = (0, $iKSsv$useState)(false);\n let updateSubmenuRect = ()=>{\n if (submenuRef.current) {\n submenuRect.current = submenuRef.current.getBoundingClientRect();\n submenuSide.current = undefined;\n }\n };\n (0, $970072cf4b13fde3$export$683480f191c0e3ea)({\n ref: isOpen ? submenuRef : undefined,\n onResize: updateSubmenuRect\n });\n let reset = ()=>{\n setPreventPointerEvents(false);\n movementsTowardsSubmenuCount.current = $eac5d44fa99b2e3b$var$ALLOWED_INVALID_MOVEMENTS;\n prevPointerPos.current = undefined;\n };\n let modality = (0, $8f5a2122b0992be3$export$98e20ec92f614cfe)();\n // Prevent mouse down over safe triangle. Clicking while pointer-events: none is applied\n // will cause focus to move unexpectedly since it will go to an element behind the menu.\n let onPointerDown = (0, $fe16bffc7a557bf0$export$7f54fc3180508a52)((e)=>{\n if (preventPointerEvents) e.preventDefault();\n });\n (0, $iKSsv$useEffect)(()=>{\n if (preventPointerEvents && menuRef.current) menuRef.current.style.pointerEvents = 'none';\n else menuRef.current.style.pointerEvents = '';\n }, [\n menuRef,\n preventPointerEvents\n ]);\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n let submenu = submenuRef.current;\n let menu = menuRef.current;\n if (isDisabled || !submenu || !isOpen || modality !== 'pointer' || !menu) {\n reset();\n return;\n }\n submenuRect.current = submenu.getBoundingClientRect();\n let onPointerMove = (e)=>{\n if (e.pointerType === 'touch' || e.pointerType === 'pen') return;\n let currentTime = Date.now();\n // Throttle\n if (currentTime - lastProcessedTime.current < $eac5d44fa99b2e3b$var$THROTTLE_TIME) return;\n clearTimeout(timeout.current);\n clearTimeout(autoCloseTimeout.current);\n let { clientX: mouseX, clientY: mouseY } = e;\n if (!prevPointerPos.current) {\n prevPointerPos.current = {\n x: mouseX,\n y: mouseY\n };\n return;\n }\n if (!submenuRect.current) return;\n if (!submenuSide.current) submenuSide.current = mouseX > submenuRect.current.right ? 'left' : 'right';\n // Pointer is outside of parent menu\n if (mouseX < menu.getBoundingClientRect().left || mouseX > menu.getBoundingClientRect().right || mouseY < menu.getBoundingClientRect().top || mouseY > menu.getBoundingClientRect().bottom) {\n reset();\n return;\n }\n /* Check if pointer is moving towards submenu.\n Uses the 2-argument arctangent (https://en.wikipedia.org/wiki/Atan2) to calculate:\n - angle between previous pointer and top of submenu\n - angle between previous pointer and bottom of submenu\n - angle between previous pointer and current pointer (delta)\n If the pointer delta angle value is between the top and bottom angle values, we know the pointer is moving towards the submenu.\n */ let prevMouseX = prevPointerPos.current.x;\n let prevMouseY = prevPointerPos.current.y;\n let toSubmenuX = submenuSide.current === 'right' ? submenuRect.current.left - prevMouseX : prevMouseX - submenuRect.current.right;\n let angleTop = Math.atan2(prevMouseY - submenuRect.current.top, toSubmenuX) + $eac5d44fa99b2e3b$var$ANGLE_PADDING;\n let angleBottom = Math.atan2(prevMouseY - submenuRect.current.bottom, toSubmenuX) - $eac5d44fa99b2e3b$var$ANGLE_PADDING;\n let anglePointer = Math.atan2(prevMouseY - mouseY, submenuSide.current === 'left' ? -(mouseX - prevMouseX) : mouseX - prevMouseX);\n let isMovingTowardsSubmenu = anglePointer < angleTop && anglePointer > angleBottom;\n movementsTowardsSubmenuCount.current = isMovingTowardsSubmenu ? Math.min(movementsTowardsSubmenuCount.current + 1, $eac5d44fa99b2e3b$var$ALLOWED_INVALID_MOVEMENTS) : Math.max(movementsTowardsSubmenuCount.current - 1, 0);\n if (movementsTowardsSubmenuCount.current >= $eac5d44fa99b2e3b$var$ALLOWED_INVALID_MOVEMENTS) setPreventPointerEvents(true);\n else setPreventPointerEvents(false);\n lastProcessedTime.current = currentTime;\n prevPointerPos.current = {\n x: mouseX,\n y: mouseY\n };\n // If the pointer is moving towards the submenu, start a timeout to close if no other movements are made after 500ms.\n if (isMovingTowardsSubmenu) timeout.current = setTimeout(()=>{\n reset();\n autoCloseTimeout.current = setTimeout(()=>{\n // Fire a pointerover event to trigger the menu to close.\n // Wait until pointer-events:none is no longer applied\n let target = document.elementFromPoint(mouseX, mouseY);\n if (target && (0, $23f2114a1b82827e$export$4282f70798064fe0)(menu, target)) target.dispatchEvent(new PointerEvent('pointerover', {\n bubbles: true,\n cancelable: true\n }));\n }, 100);\n }, $eac5d44fa99b2e3b$var$TIMEOUT_TIME);\n };\n window.addEventListener('pointermove', onPointerMove);\n // Prevent pointer down over the safe triangle. See above comment.\n // Do not enable in tests, because JSDom doesn't do hit testing.\n if (process.env.NODE_ENV !== 'test') window.addEventListener('pointerdown', onPointerDown, true);\n return ()=>{\n window.removeEventListener('pointermove', onPointerMove);\n if (process.env.NODE_ENV !== 'test') window.removeEventListener('pointerdown', onPointerDown, true);\n clearTimeout(timeout.current);\n clearTimeout(autoCloseTimeout.current);\n movementsTowardsSubmenuCount.current = $eac5d44fa99b2e3b$var$ALLOWED_INVALID_MOVEMENTS;\n };\n }, [\n isDisabled,\n isOpen,\n menuRef,\n modality,\n setPreventPointerEvents,\n submenuRef\n ]);\n}\n\n\nexport {$eac5d44fa99b2e3b$export$85ec83e04c95f50a as useSafelyMouseToSubmenu};\n//# sourceMappingURL=useSafelyMouseToSubmenu.mjs.map\n","import {focusWithoutScrolling as $1969ac565cfec8d0$export$de79e2c695e052f3} from \"../utils/focusWithoutScrolling.mjs\";\nimport {getActiveElement as $23f2114a1b82827e$export$cd4e5573fbe2b576, getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29, isFocusWithin as $23f2114a1b82827e$export$b4f377a2b6254582, nodeContains as $23f2114a1b82827e$export$4282f70798064fe0} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {useEvent as $600b3cf69ae46262$export$90fc3a17d93f704c} from \"../utils/useEvent.mjs\";\nimport {useId as $390e54f620492c70$export$f680877a34711e37} from \"../utils/useId.mjs\";\nimport {useLayoutEffect as $c4867b2f328c2698$export$e5c5a5f917a5871c} from \"../utils/useLayoutEffect.mjs\";\nimport {useLocale as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7} from \"../i18n/I18nProvider.mjs\";\nimport {useSafelyMouseToSubmenu as $eac5d44fa99b2e3b$export$85ec83e04c95f50a} from \"./useSafelyMouseToSubmenu.mjs\";\nimport {useRef as $5jLBO$useRef, useCallback as $5jLBO$useCallback} from \"react\";\n\n/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\nfunction $8794213c1141208f$export$7138b0d059a6e743(props, state, ref) {\n let { parentMenuRef: parentMenuRef, submenuRef: submenuRef, type: type = 'menu', isDisabled: isDisabled, delay: delay = 200, shouldUseVirtualFocus: shouldUseVirtualFocus } = props;\n let submenuTriggerId = (0, $390e54f620492c70$export$f680877a34711e37)();\n let overlayId = (0, $390e54f620492c70$export$f680877a34711e37)();\n let { direction: direction } = (0, $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7)();\n let openTimeout = (0, $5jLBO$useRef)(undefined);\n let cancelOpenTimeout = (0, $5jLBO$useCallback)(()=>{\n if (openTimeout.current) {\n clearTimeout(openTimeout.current);\n openTimeout.current = undefined;\n }\n }, [\n openTimeout\n ]);\n let onSubmenuOpen = (0, $5jLBO$useCallback)((focusStrategy)=>{\n cancelOpenTimeout();\n state.open(focusStrategy);\n }, [\n state,\n cancelOpenTimeout\n ]);\n let onSubmenuClose = (0, $5jLBO$useCallback)(()=>{\n cancelOpenTimeout();\n state.close();\n }, [\n state,\n cancelOpenTimeout\n ]);\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n return ()=>{\n cancelOpenTimeout();\n };\n }, [\n cancelOpenTimeout\n ]);\n let submenuKeyDown = (e)=>{\n // If focus is not within the menu, assume virtual focus is being used.\n // This means some other input element is also within the popover, so we shouldn't close the menu.\n if (!(0, $23f2114a1b82827e$export$b4f377a2b6254582)(e.currentTarget)) return;\n switch(e.key){\n case 'ArrowLeft':\n if (direction === 'ltr' && (0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) {\n e.preventDefault();\n e.stopPropagation();\n onSubmenuClose();\n if (!shouldUseVirtualFocus && ref.current) (0, $1969ac565cfec8d0$export$de79e2c695e052f3)(ref.current);\n }\n break;\n case 'ArrowRight':\n if (direction === 'rtl' && (0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) {\n e.preventDefault();\n e.stopPropagation();\n onSubmenuClose();\n if (!shouldUseVirtualFocus && ref.current) (0, $1969ac565cfec8d0$export$de79e2c695e052f3)(ref.current);\n }\n break;\n case 'Escape':\n // TODO: can remove this when we fix collection event leaks\n if ((0, $23f2114a1b82827e$export$4282f70798064fe0)(submenuRef.current, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) {\n e.stopPropagation();\n onSubmenuClose();\n if (!shouldUseVirtualFocus && ref.current) (0, $1969ac565cfec8d0$export$de79e2c695e052f3)(ref.current);\n }\n break;\n }\n };\n let submenuProps = {\n id: overlayId,\n 'aria-labelledby': submenuTriggerId,\n submenuLevel: state.submenuLevel,\n ...type === 'menu' && {\n onClose: state.closeAll,\n autoFocus: state.focusStrategy ?? undefined,\n onKeyDown: submenuKeyDown\n }\n };\n let submenuTriggerKeyDown = (e)=>{\n switch(e.key){\n case 'ArrowRight':\n if (!isDisabled) {\n if (direction === 'ltr') {\n e.preventDefault();\n if (!state.isOpen) onSubmenuOpen('first');\n if (type === 'menu' && !!submenuRef?.current && (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)() === ref?.current) (0, $1969ac565cfec8d0$export$de79e2c695e052f3)(submenuRef.current);\n } else if (state.isOpen) onSubmenuClose();\n else e.continuePropagation();\n }\n break;\n case 'ArrowLeft':\n if (!isDisabled) {\n if (direction === 'rtl') {\n e.preventDefault();\n if (!state.isOpen) onSubmenuOpen('first');\n if (type === 'menu' && !!submenuRef?.current && (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)() === ref?.current) (0, $1969ac565cfec8d0$export$de79e2c695e052f3)(submenuRef.current);\n } else if (state.isOpen) onSubmenuClose();\n else e.continuePropagation();\n }\n break;\n default:\n e.continuePropagation();\n break;\n }\n };\n let onPressStart = (e)=>{\n if (!isDisabled && (e.pointerType === 'virtual' || e.pointerType === 'keyboard')) // If opened with a screen reader or keyboard, auto focus the first submenu item.\n onSubmenuOpen('first');\n };\n let onPress = (e)=>{\n if (!isDisabled && (e.pointerType === 'touch' || e.pointerType === 'mouse')) // For touch or on a desktop device with a small screen open on press up to possible problems with\n // press up happening on the newly opened tray items\n onSubmenuOpen();\n };\n let onHoverChange = (isHovered)=>{\n if (!isDisabled) {\n if (isHovered && !state.isOpen) {\n if (!openTimeout.current) openTimeout.current = setTimeout(()=>{\n onSubmenuOpen();\n }, delay);\n } else if (!isHovered) cancelOpenTimeout();\n }\n };\n (0, $600b3cf69ae46262$export$90fc3a17d93f704c)(parentMenuRef, 'focusin', (e)=>{\n // If we detect focus moved to a different item in the same menu that the currently open submenu trigger is in\n // then close the submenu. This is for a case where the user hovers a root menu item when multiple submenus are open\n if (state.isOpen && (0, $23f2114a1b82827e$export$4282f70798064fe0)(parentMenuRef.current, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e)) && (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e) !== ref.current) onSubmenuClose();\n });\n let shouldCloseOnInteractOutside = (target)=>{\n if (target !== ref.current) return true;\n return false;\n };\n (0, $eac5d44fa99b2e3b$export$85ec83e04c95f50a)({\n menuRef: parentMenuRef,\n submenuRef: submenuRef,\n isOpen: state.isOpen,\n isDisabled: isDisabled\n });\n return {\n submenuTriggerProps: {\n id: submenuTriggerId,\n 'aria-controls': state.isOpen ? overlayId : undefined,\n 'aria-haspopup': !isDisabled ? type : undefined,\n 'aria-expanded': state.isOpen ? 'true' : 'false',\n onPressStart: onPressStart,\n onPress: onPress,\n onHoverChange: onHoverChange,\n onKeyDown: submenuTriggerKeyDown,\n isOpen: state.isOpen\n },\n submenuProps: submenuProps,\n popoverProps: {\n isNonModal: true,\n shouldCloseOnInteractOutside: shouldCloseOnInteractOutside\n }\n };\n}\n\n\nexport {$8794213c1141208f$export$7138b0d059a6e743 as useSubmenuTrigger};\n//# sourceMappingURL=useSubmenuTrigger.mjs.map\n","import {useOverlayTriggerState as $f11fb0bcf1b2687a$export$61c6a8c84e605fb6} from \"../overlays/useOverlayTriggerState.mjs\";\nimport {useState as $aoDK0$useState} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $e3403870bfb691da$export$79fefeb1c2091ac3(props) {\n let overlayTriggerState = (0, $f11fb0bcf1b2687a$export$61c6a8c84e605fb6)(props);\n let [focusStrategy, setFocusStrategy] = (0, $aoDK0$useState)(null);\n let [expandedKeysStack, setExpandedKeysStack] = (0, $aoDK0$useState)([]);\n let closeAll = ()=>{\n setExpandedKeysStack([]);\n overlayTriggerState.close();\n };\n let openSubmenu = (triggerKey, level)=>{\n setExpandedKeysStack((oldStack)=>{\n if (level > oldStack.length) return oldStack;\n return [\n ...oldStack.slice(0, level),\n triggerKey\n ];\n });\n };\n let closeSubmenu = (triggerKey, level)=>{\n setExpandedKeysStack((oldStack)=>{\n let key = oldStack[level];\n if (key === triggerKey) return oldStack.slice(0, level);\n else return oldStack;\n });\n };\n return {\n focusStrategy: focusStrategy,\n ...overlayTriggerState,\n open (focusStrategy = null) {\n setFocusStrategy(focusStrategy);\n overlayTriggerState.open();\n },\n toggle (focusStrategy = null) {\n setFocusStrategy(focusStrategy);\n overlayTriggerState.toggle();\n },\n close () {\n closeAll();\n },\n expandedKeysStack: expandedKeysStack,\n openSubmenu: openSubmenu,\n closeSubmenu: closeSubmenu\n };\n}\n\n\nexport {$e3403870bfb691da$export$79fefeb1c2091ac3 as useMenuTriggerState};\n//# sourceMappingURL=useMenuTriggerState.mjs.map\n","import {useState as $b7qeM$useState, useMemo as $b7qeM$useMemo, useCallback as $b7qeM$useCallback} from \"react\";\n\n/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nfunction $5b3242e27644e8f1$export$cfc51cf86138bf98(props, state) {\n let { triggerKey: triggerKey } = props;\n let { expandedKeysStack: expandedKeysStack, openSubmenu: openSubmenu, closeSubmenu: closeSubmenu, close: closeAll } = state;\n let [submenuLevel] = (0, $b7qeM$useState)(expandedKeysStack?.length);\n let isOpen = (0, $b7qeM$useMemo)(()=>expandedKeysStack[submenuLevel] === triggerKey, [\n expandedKeysStack,\n triggerKey,\n submenuLevel\n ]);\n let [focusStrategy, setFocusStrategy] = (0, $b7qeM$useState)(null);\n let open = (0, $b7qeM$useCallback)((focusStrategy)=>{\n setFocusStrategy(focusStrategy ?? null);\n openSubmenu(triggerKey, submenuLevel);\n }, [\n openSubmenu,\n submenuLevel,\n triggerKey\n ]);\n let close = (0, $b7qeM$useCallback)(()=>{\n setFocusStrategy(null);\n closeSubmenu(triggerKey, submenuLevel);\n }, [\n closeSubmenu,\n submenuLevel,\n triggerKey\n ]);\n let toggle = (0, $b7qeM$useCallback)((focusStrategy)=>{\n setFocusStrategy(focusStrategy ?? null);\n if (isOpen) close();\n else open(focusStrategy);\n }, [\n close,\n open,\n isOpen\n ]);\n return (0, $b7qeM$useMemo)(()=>({\n focusStrategy: focusStrategy,\n isOpen: isOpen,\n open: open,\n close: close,\n closeAll: closeAll,\n submenuLevel: submenuLevel,\n // TODO: Placeholders that aren't used but give us parity with OverlayTriggerState so we can use this in Popover. Refactor if we update Popover via\n // https://github.com/adobe/react-spectrum/pull/4976#discussion_r1336472863\n setOpen: ()=>{},\n toggle: toggle\n }), [\n isOpen,\n open,\n close,\n closeAll,\n focusStrategy,\n toggle,\n submenuLevel\n ]);\n}\n\n\nexport {$5b3242e27644e8f1$export$cfc51cf86138bf98 as useSubmenuTriggerState};\n//# sourceMappingURL=useSubmenuTriggerState.mjs.map\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ class $df1fcc684d3b021a$export$863faf230ee2118a {\n constructor(nodes, { expandedKeys: expandedKeys } = {}){\n this.keyMap = new Map();\n this.firstKey = null;\n this.lastKey = null;\n this.iterable = nodes;\n expandedKeys = expandedKeys || new Set();\n let visit = (node)=>{\n this.keyMap.set(node.key, node);\n if (node.childNodes && (node.type === 'section' || expandedKeys.has(node.key))) for (let child of node.childNodes)visit(child);\n };\n for (let node of nodes)visit(node);\n let last = null;\n let index = 0;\n for (let [key, node] of this.keyMap){\n if (last) {\n last.nextKey = key;\n node.prevKey = last.key;\n } else {\n this.firstKey = key;\n node.prevKey = undefined;\n }\n if (node.type === 'item') node.index = index++;\n last = node;\n // Set nextKey as undefined since this might be the last node\n // If it isn't the last node, last.nextKey will properly set at start of new loop\n last.nextKey = undefined;\n }\n this.lastKey = last?.key ?? null;\n }\n *[Symbol.iterator]() {\n yield* this.iterable;\n }\n get size() {\n return this.keyMap.size;\n }\n getKeys() {\n return this.keyMap.keys();\n }\n getKeyBefore(key) {\n let node = this.keyMap.get(key);\n return node ? node.prevKey ?? null : null;\n }\n getKeyAfter(key) {\n let node = this.keyMap.get(key);\n return node ? node.nextKey ?? null : null;\n }\n getFirstKey() {\n return this.firstKey;\n }\n getLastKey() {\n return this.lastKey;\n }\n getItem(key) {\n return this.keyMap.get(key) ?? null;\n }\n at(idx) {\n const keys = [\n ...this.getKeys()\n ];\n return this.getItem(keys[idx]);\n }\n}\n\n\nexport {$df1fcc684d3b021a$export$863faf230ee2118a as TreeCollection};\n//# sourceMappingURL=TreeCollection.mjs.map\n","import {SelectionManager as $4a07ac835f260f78$export$6c8a5aaad13c9852} from \"../selection/SelectionManager.mjs\";\nimport {TreeCollection as $df1fcc684d3b021a$export$863faf230ee2118a} from \"./TreeCollection.mjs\";\nimport {useCollection as $d03379b88399b8c5$export$6cd28814d92fa9c9} from \"../collections/useCollection.mjs\";\nimport {useControlledState as $3e6197669829fe11$export$40bfa8c7b0832715} from \"../utils/useControlledState.mjs\";\nimport {useMultipleSelectionState as $60f19cefd567a3e4$export$253fe78d46329472} from \"../selection/useMultipleSelectionState.mjs\";\nimport {useMemo as $aXIpm$useMemo, useCallback as $aXIpm$useCallback, useEffect as $aXIpm$useEffect} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\nfunction $6b915bde6cd300dd$export$728d6ba534403756(props) {\n let { onExpandedChange: onExpandedChange } = props;\n let [expandedKeys, setExpandedKeys] = (0, $3e6197669829fe11$export$40bfa8c7b0832715)(props.expandedKeys ? new Set(props.expandedKeys) : undefined, props.defaultExpandedKeys ? new Set(props.defaultExpandedKeys) : new Set(), onExpandedChange);\n let selectionState = (0, $60f19cefd567a3e4$export$253fe78d46329472)(props);\n let disabledKeys = (0, $aXIpm$useMemo)(()=>props.disabledKeys ? new Set(props.disabledKeys) : new Set(), [\n props.disabledKeys\n ]);\n let tree = (0, $d03379b88399b8c5$export$6cd28814d92fa9c9)(props, (0, $aXIpm$useCallback)((nodes)=>new (0, $df1fcc684d3b021a$export$863faf230ee2118a)(nodes, {\n expandedKeys: expandedKeys\n }), [\n expandedKeys\n ]), null);\n // Reset focused key if that item is deleted from the collection.\n (0, $aXIpm$useEffect)(()=>{\n if (selectionState.focusedKey != null && !tree.getItem(selectionState.focusedKey)) selectionState.setFocusedKey(null);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n tree,\n selectionState.focusedKey\n ]);\n let onToggle = (key)=>{\n setExpandedKeys($6b915bde6cd300dd$var$toggleKey(expandedKeys, key));\n };\n return {\n collection: tree,\n expandedKeys: expandedKeys,\n disabledKeys: disabledKeys,\n toggleKey: onToggle,\n setExpandedKeys: setExpandedKeys,\n selectionManager: new (0, $4a07ac835f260f78$export$6c8a5aaad13c9852)(tree, selectionState)\n };\n}\nfunction $6b915bde6cd300dd$var$toggleKey(set, key) {\n let res = new Set(set);\n if (res.has(key)) res.delete(key);\n else res.add(key);\n return res;\n}\n\n\nexport {$6b915bde6cd300dd$export$728d6ba534403756 as useTreeState};\n//# sourceMappingURL=useTreeState.mjs.map\n","import {DEFAULT_SLOT as $7230ffa83bc0c2cf$export$c62b8e45d58ddad9, dom as $7230ffa83bc0c2cf$export$df3a06d6289f983e, Provider as $7230ffa83bc0c2cf$export$2881499e37b75b9a, useContextProps as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, useRenderProps as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, useSlot as $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8, useSlottedContext as $7230ffa83bc0c2cf$export$fabf2dc03a41866e} from \"./utils.mjs\";\nimport {CollectionRendererContext as $263ab7fc0f95ccdb$export$4feb769f8ddf26c5, SectionContext as $263ab7fc0f95ccdb$export$d40e14dec8b060a8, usePersistedKeys as $263ab7fc0f95ccdb$export$90e00781bc59d8f9} from \"./Collection.mjs\";\nimport {FieldInputContext as $4b38b5b75ecc6208$export$698f465ec27e93df, SelectableCollectionContext as $4b38b5b75ecc6208$export$b0d3ecf7112093a7} from \"./Autocomplete.mjs\";\nimport {HeaderContext as $53e61d82d8b8611d$export$e0e4026c12a8bdbb} from \"./Header.mjs\";\nimport {KeyboardContext as $650bea62ab5f5f0f$export$744d98a3b8a94e1c} from \"./Keyboard.mjs\";\nimport {OverlayTriggerStateContext as $f2ff30fde7b014be$export$d2f961adcb0afbe} from \"./Dialog.mjs\";\nimport {PopoverContext as $542a13ca2fa5b484$export$9b9a0cd73afb7ca4} from \"./Popover.mjs\";\nimport {SelectionIndicatorContext as $91fe5e721c7f36c1$export$c9549807523555e0} from \"./SelectionIndicator.mjs\";\nimport {SeparatorContext as $e28ab3efe3e87743$export$6615d83f6de245ce} from \"./Separator.mjs\";\nimport {SharedElementTransition as $792f28e438b9ad5f$export$758399f318e6385a} from \"./SharedElementTransition.mjs\";\nimport {TextContext as $efe09c6d1c304b50$export$9afb8bc826b033ea} from \"./Text.mjs\";\nimport {useMenuTrigger as $7xe5e$useMenuTrigger, useSubmenuTrigger as $7xe5e$useSubmenuTrigger, useMenu as $7xe5e$useMenu, useMenuSection as $7xe5e$useMenuSection, useMenuItem as $7xe5e$useMenuItem} from \"react-aria/useMenu\";\nimport {CollectionNode as $7xe5e$CollectionNode, SectionNode as $7xe5e$SectionNode, ItemNode as $7xe5e$ItemNode} from \"react-aria/private/collections/BaseCollection\";\nimport {useMenuTriggerState as $7xe5e$useMenuTriggerState, useSubmenuTriggerState as $7xe5e$useSubmenuTriggerState} from \"react-stately/useMenuTriggerState\";\nimport {Collection as $7xe5e$Collection} from \"react-aria/Collection\";\nimport {createBranchComponent as $7xe5e$createBranchComponent, CollectionBuilder as $7xe5e$CollectionBuilder, createLeafComponent as $7xe5e$createLeafComponent} from \"react-aria/CollectionBuilder\";\nimport {filterDOMProps as $7xe5e$filterDOMProps} from \"react-aria/filterDOMProps\";\nimport {FocusScope as $7xe5e$FocusScope} from \"react-aria/FocusScope\";\nimport {mergeProps as $7xe5e$mergeProps} from \"react-aria/mergeProps\";\nimport {PressResponder as $7xe5e$PressResponder} from \"react-aria/private/interactions/PressResponder\";\nimport $7xe5e$react, {createContext as $7xe5e$createContext, useRef as $7xe5e$useRef, useContext as $7xe5e$useContext, forwardRef as $7xe5e$forwardRef, useMemo as $7xe5e$useMemo} from \"react\";\nimport {SelectionManager as $7xe5e$SelectionManager} from \"react-stately/private/selection/SelectionManager\";\nimport {useTreeState as $7xe5e$useTreeState} from \"react-stately/useTreeState\";\nimport {useHover as $7xe5e$useHover} from \"react-aria/useHover\";\nimport {useIsHidden as $7xe5e$useIsHidden} from \"react-aria/private/collections/Hidden\";\nimport {useMultipleSelectionState as $7xe5e$useMultipleSelectionState} from \"react-stately/useMultipleSelectionState\";\nimport {useObjectRef as $7xe5e$useObjectRef} from \"react-aria/useObjectRef\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nconst $49319ee1285aa241$export$c7e742effb1c51e2 = /*#__PURE__*/ (0, $7xe5e$createContext)(null);\nconst $49319ee1285aa241$export$24aad8519b95b41b = /*#__PURE__*/ (0, $7xe5e$createContext)(null);\nconst $49319ee1285aa241$export$795aec4671cbae19 = /*#__PURE__*/ (0, $7xe5e$createContext)(null);\nconst $49319ee1285aa241$var$SelectionManagerContext = /*#__PURE__*/ (0, $7xe5e$createContext)(null);\nfunction $49319ee1285aa241$export$27d2ad3c5815583e(props) {\n let state = (0, $7xe5e$useMenuTriggerState)(props);\n let ref = (0, $7xe5e$useRef)(null);\n let { menuTriggerProps: menuTriggerProps, menuProps: menuProps } = (0, $7xe5e$useMenuTrigger)({\n ...props,\n type: 'menu'\n }, state, ref);\n let scrollRef = (0, $7xe5e$useRef)(null);\n // If within a collection (e.g. Tabs), render nothing.\n // Not using createHideableComponent for this because that also creates a forwardRef.\n let isHidden = (0, $7xe5e$useIsHidden)();\n if (isHidden) return null;\n return /*#__PURE__*/ (0, $7xe5e$react).createElement((0, $7230ffa83bc0c2cf$export$2881499e37b75b9a), {\n values: [\n [\n $49319ee1285aa241$export$c7e742effb1c51e2,\n {\n ...menuProps,\n ref: scrollRef\n }\n ],\n [\n (0, $f2ff30fde7b014be$export$d2f961adcb0afbe),\n state\n ],\n [\n $49319ee1285aa241$export$795aec4671cbae19,\n state\n ],\n [\n (0, $542a13ca2fa5b484$export$9b9a0cd73afb7ca4),\n {\n trigger: 'MenuTrigger',\n triggerRef: ref,\n scrollRef: scrollRef,\n placement: 'bottom start',\n 'aria-labelledby': menuProps['aria-labelledby']\n }\n ]\n ]\n }, /*#__PURE__*/ (0, $7xe5e$react).createElement((0, $7xe5e$PressResponder), {\n ...menuTriggerProps,\n ref: ref,\n isPressed: state.isOpen\n }, props.children));\n}\nconst $49319ee1285aa241$var$SubmenuTriggerContext = /*#__PURE__*/ (0, $7xe5e$createContext)(null);\nclass $49319ee1285aa241$var$SubmenuTriggerNode extends (0, $7xe5e$CollectionNode) {\n static{\n this.type = 'submenutrigger';\n }\n filter(collection, newCollection, filterFn) {\n let triggerNode = collection.getItem(this.firstChildKey);\n if (triggerNode && filterFn(triggerNode.textValue, this)) {\n let clone = this.clone();\n newCollection.addDescendants(clone, collection);\n return clone;\n }\n return null;\n }\n}\nconst $49319ee1285aa241$export$ecabc99eeffab7ca = /*#__PURE__*/ (0, $7xe5e$createBranchComponent)($49319ee1285aa241$var$SubmenuTriggerNode, (props, ref, item)=>{\n let { CollectionBranch: CollectionBranch } = (0, $7xe5e$useContext)((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5));\n let state = (0, $7xe5e$useContext)($49319ee1285aa241$export$24aad8519b95b41b);\n let rootMenuTriggerState = (0, $7xe5e$useContext)($49319ee1285aa241$export$795aec4671cbae19);\n let submenuTriggerState = (0, $7xe5e$useSubmenuTriggerState)({\n triggerKey: item.key\n }, rootMenuTriggerState);\n let submenuRef = (0, $7xe5e$useRef)(null);\n let itemRef = (0, $7xe5e$useObjectRef)(ref);\n let { parentMenuRef: parentMenuRef, shouldUseVirtualFocus: shouldUseVirtualFocus } = (0, $7xe5e$useContext)($49319ee1285aa241$var$SubmenuTriggerContext);\n let { submenuTriggerProps: submenuTriggerProps, submenuProps: submenuProps, popoverProps: popoverProps } = (0, $7xe5e$useSubmenuTrigger)({\n parentMenuRef: parentMenuRef,\n submenuRef: submenuRef,\n delay: props.delay,\n shouldUseVirtualFocus: shouldUseVirtualFocus\n }, submenuTriggerState, itemRef);\n return /*#__PURE__*/ (0, $7xe5e$react).createElement((0, $7230ffa83bc0c2cf$export$2881499e37b75b9a), {\n values: [\n [\n $49319ee1285aa241$var$MenuItemContext,\n {\n ...submenuTriggerProps,\n onAction: undefined,\n ref: itemRef\n }\n ],\n [\n $49319ee1285aa241$export$c7e742effb1c51e2,\n {\n ref: submenuRef,\n ...submenuProps\n }\n ],\n [\n (0, $f2ff30fde7b014be$export$d2f961adcb0afbe),\n submenuTriggerState\n ],\n [\n (0, $542a13ca2fa5b484$export$9b9a0cd73afb7ca4),\n {\n trigger: 'SubmenuTrigger',\n triggerRef: itemRef,\n placement: 'end top',\n 'aria-labelledby': submenuProps['aria-labelledby'],\n ...popoverProps\n }\n ]\n ]\n }, /*#__PURE__*/ (0, $7xe5e$react).createElement(CollectionBranch, {\n collection: state.collection,\n parent: item\n }), props.children[1]);\n}, (props)=>props.children[0]);\nconst $49319ee1285aa241$export$d9b273488cd8ce6f = /*#__PURE__*/ (0, $7xe5e$forwardRef)(function Menu(props, ref) {\n [props, ref] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, $49319ee1285aa241$export$c7e742effb1c51e2);\n // Delay rendering the actual menu until we have the collection so that auto focus works properly.\n return /*#__PURE__*/ (0, $7xe5e$react).createElement((0, $7xe5e$CollectionBuilder), {\n content: /*#__PURE__*/ (0, $7xe5e$react).createElement((0, $7xe5e$Collection), props)\n }, (collection)=>/*#__PURE__*/ (0, $7xe5e$react).createElement($49319ee1285aa241$var$MenuInner, {\n props: props,\n collection: collection,\n menuRef: ref\n }));\n});\nfunction $49319ee1285aa241$var$MenuInner({ props: props, collection: collection, menuRef: ref }) {\n [props, ref] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, (0, $4b38b5b75ecc6208$export$b0d3ecf7112093a7));\n let { filter: filter, ...autocompleteMenuProps } = props;\n let filteredCollection = (0, $7xe5e$useMemo)(()=>filter ? collection.filter(filter) : collection, [\n collection,\n filter\n ]);\n let state = (0, $7xe5e$useTreeState)({\n ...props,\n collection: filteredCollection,\n children: undefined\n });\n let triggerState = (0, $7xe5e$useContext)($49319ee1285aa241$export$795aec4671cbae19);\n let { isVirtualized: isVirtualized, CollectionRoot: CollectionRoot } = (0, $7xe5e$useContext)((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5));\n let { menuProps: menuProps } = (0, $7xe5e$useMenu)({\n ...props,\n isVirtualized: isVirtualized,\n onClose: props.onClose || triggerState?.close\n }, state, ref);\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...props,\n children: undefined,\n defaultClassName: 'react-aria-Menu',\n values: {\n isEmpty: state.collection.size === 0\n }\n });\n let emptyState = null;\n if (state.collection.size === 0 && props.renderEmptyState) emptyState = /*#__PURE__*/ (0, $7xe5e$react).createElement(\"div\", {\n role: \"menuitem\",\n style: {\n display: 'contents'\n }\n }, props.renderEmptyState());\n let DOMProps = (0, $7xe5e$filterDOMProps)(props, {\n global: true\n });\n return /*#__PURE__*/ (0, $7xe5e$react).createElement((0, $7xe5e$FocusScope), null, /*#__PURE__*/ (0, $7xe5e$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div, {\n ...(0, $7xe5e$mergeProps)(DOMProps, renderProps, menuProps),\n ref: ref,\n slot: props.slot || undefined,\n \"data-empty\": state.collection.size === 0 || undefined,\n onScroll: props.onScroll\n }, /*#__PURE__*/ (0, $7xe5e$react).createElement((0, $7230ffa83bc0c2cf$export$2881499e37b75b9a), {\n values: [\n [\n $49319ee1285aa241$export$24aad8519b95b41b,\n state\n ],\n [\n (0, $e28ab3efe3e87743$export$6615d83f6de245ce),\n {\n elementType: 'div'\n }\n ],\n [\n (0, $263ab7fc0f95ccdb$export$d40e14dec8b060a8),\n {\n name: 'MenuSection',\n render: $49319ee1285aa241$var$MenuSectionInner\n }\n ],\n [\n $49319ee1285aa241$var$SubmenuTriggerContext,\n {\n parentMenuRef: ref,\n shouldUseVirtualFocus: autocompleteMenuProps?.shouldUseVirtualFocus\n }\n ],\n [\n $49319ee1285aa241$var$MenuItemContext,\n {\n shouldCloseOnSelect: props.shouldCloseOnSelect\n }\n ],\n [\n (0, $4b38b5b75ecc6208$export$b0d3ecf7112093a7),\n null\n ],\n [\n (0, $4b38b5b75ecc6208$export$698f465ec27e93df),\n null\n ],\n [\n $49319ee1285aa241$var$SelectionManagerContext,\n state.selectionManager\n ],\n /* Ensure root MenuTriggerState is defined, in case Menu is rendered outside a MenuTrigger. */ /* We assume the context can never change between defined and undefined. */ /* eslint-disable-next-line react-hooks/rules-of-hooks */ [\n $49319ee1285aa241$export$795aec4671cbae19,\n triggerState ?? (0, $7xe5e$useMenuTriggerState)({})\n ]\n ]\n }, /*#__PURE__*/ (0, $7xe5e$react).createElement((0, $792f28e438b9ad5f$export$758399f318e6385a), null, /*#__PURE__*/ (0, $7xe5e$react).createElement(CollectionRoot, {\n collection: state.collection,\n persistedKeys: (0, $263ab7fc0f95ccdb$export$90e00781bc59d8f9)(state.selectionManager.focusedKey),\n scrollRef: ref\n }))), emptyState));\n}\n// A subclass of SelectionManager that forwards focus-related properties to the parent,\n// but has its own local selection state.\nclass $49319ee1285aa241$var$GroupSelectionManager extends (0, $7xe5e$SelectionManager) {\n constructor(parent, state){\n super(parent.collection, state);\n this.parent = parent;\n }\n get focusedKey() {\n return this.parent.focusedKey;\n }\n get isFocused() {\n return this.parent.isFocused;\n }\n setFocusedKey(key, childFocusStrategy) {\n return this.parent.setFocusedKey(key, childFocusStrategy);\n }\n setFocused(isFocused) {\n this.parent.setFocused(isFocused);\n }\n get childFocusStrategy() {\n return this.parent.childFocusStrategy;\n }\n}\nfunction $49319ee1285aa241$var$MenuSectionInner(props, ref, section, className = 'react-aria-MenuSection') {\n let state = (0, $7xe5e$useContext)($49319ee1285aa241$export$24aad8519b95b41b);\n let { CollectionBranch: CollectionBranch } = (0, $7xe5e$useContext)((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5));\n let [headingRef, heading] = (0, $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8)();\n let { headingProps: headingProps, groupProps: groupProps } = (0, $7xe5e$useMenuSection)({\n heading: heading,\n 'aria-label': section.props['aria-label'] ?? undefined\n });\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...props,\n id: undefined,\n children: undefined,\n defaultClassName: className,\n className: section.props?.className,\n style: section.props?.style,\n values: undefined\n });\n let parent = (0, $7xe5e$useContext)($49319ee1285aa241$var$SelectionManagerContext);\n let selectionState = (0, $7xe5e$useMultipleSelectionState)(props);\n let manager = props.selectionMode != null ? new $49319ee1285aa241$var$GroupSelectionManager(parent, selectionState) : parent;\n let closeOnSelect = (0, $7230ffa83bc0c2cf$export$fabf2dc03a41866e)($49319ee1285aa241$var$MenuItemContext)?.shouldCloseOnSelect;\n let DOMProps = (0, $7xe5e$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.id;\n return /*#__PURE__*/ (0, $7xe5e$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).section, {\n ...(0, $7xe5e$mergeProps)(DOMProps, renderProps, groupProps),\n ref: ref\n }, /*#__PURE__*/ (0, $7xe5e$react).createElement((0, $7230ffa83bc0c2cf$export$2881499e37b75b9a), {\n values: [\n [\n (0, $53e61d82d8b8611d$export$e0e4026c12a8bdbb),\n {\n ...headingProps,\n ref: headingRef\n }\n ],\n [\n $49319ee1285aa241$var$SelectionManagerContext,\n manager\n ],\n [\n $49319ee1285aa241$var$MenuItemContext,\n {\n shouldCloseOnSelect: props.shouldCloseOnSelect ?? closeOnSelect\n }\n ]\n ]\n }, /*#__PURE__*/ (0, $7xe5e$react).createElement(CollectionBranch, {\n collection: state.collection,\n parent: section\n })));\n}\nconst $49319ee1285aa241$export$4b1545b4f2016d26 = /*#__PURE__*/ (0, $7xe5e$createBranchComponent)((0, $7xe5e$SectionNode), $49319ee1285aa241$var$MenuSectionInner);\nconst $49319ee1285aa241$var$MenuItemContext = /*#__PURE__*/ (0, $7xe5e$createContext)(null);\nconst $49319ee1285aa241$export$2ce376c2cc3355c8 = /*#__PURE__*/ (0, $7xe5e$createLeafComponent)((0, $7xe5e$ItemNode), function MenuItem(props, forwardedRef, item) {\n [props, forwardedRef] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, forwardedRef, $49319ee1285aa241$var$MenuItemContext);\n let id = (0, $7230ffa83bc0c2cf$export$fabf2dc03a41866e)($49319ee1285aa241$var$MenuItemContext)?.id;\n let state = (0, $7xe5e$useContext)($49319ee1285aa241$export$24aad8519b95b41b);\n let ref = (0, $7xe5e$useObjectRef)(forwardedRef);\n let selectionManager = (0, $7xe5e$useContext)($49319ee1285aa241$var$SelectionManagerContext);\n let { isVirtualized: isVirtualized } = (0, $7xe5e$useContext)((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5));\n let { menuItemProps: menuItemProps, labelProps: labelProps, descriptionProps: descriptionProps, keyboardShortcutProps: keyboardShortcutProps, ...states } = (0, $7xe5e$useMenuItem)({\n ...props,\n id: id,\n key: item.key,\n selectionManager: selectionManager,\n isVirtualized: isVirtualized\n }, state, ref);\n let { hoverProps: hoverProps, isHovered: isHovered } = (0, $7xe5e$useHover)({\n isDisabled: states.isDisabled\n });\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...props,\n id: undefined,\n children: item.rendered,\n defaultClassName: 'react-aria-MenuItem',\n values: {\n ...states,\n isHovered: isHovered,\n isFocusVisible: states.isFocusVisible,\n selectionMode: selectionManager.selectionMode,\n selectionBehavior: selectionManager.selectionBehavior,\n hasSubmenu: !!props['aria-haspopup'],\n isOpen: props['aria-expanded'] === 'true'\n }\n });\n let ElementType = props.href ? (0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).a : (0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div;\n let DOMProps = (0, $7xe5e$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.id;\n delete DOMProps.onClick;\n return /*#__PURE__*/ (0, $7xe5e$react).createElement(ElementType, {\n ...(0, $7xe5e$mergeProps)(DOMProps, renderProps, menuItemProps, hoverProps),\n ref: ref,\n \"data-disabled\": states.isDisabled || undefined,\n \"data-hovered\": isHovered || undefined,\n \"data-focused\": states.isFocused || undefined,\n \"data-focus-visible\": states.isFocusVisible || undefined,\n \"data-pressed\": states.isPressed || undefined,\n \"data-selected\": states.isSelected || undefined,\n \"data-selection-mode\": selectionManager.selectionMode === 'none' ? undefined : selectionManager.selectionMode,\n \"data-has-submenu\": !!props['aria-haspopup'] || undefined,\n \"data-open\": props['aria-expanded'] === 'true' || undefined\n }, /*#__PURE__*/ (0, $7xe5e$react).createElement((0, $7230ffa83bc0c2cf$export$2881499e37b75b9a), {\n values: [\n [\n (0, $efe09c6d1c304b50$export$9afb8bc826b033ea),\n {\n slots: {\n [(0, $7230ffa83bc0c2cf$export$c62b8e45d58ddad9)]: labelProps,\n label: labelProps,\n description: descriptionProps\n }\n }\n ],\n [\n (0, $650bea62ab5f5f0f$export$744d98a3b8a94e1c),\n keyboardShortcutProps\n ],\n [\n (0, $91fe5e721c7f36c1$export$c9549807523555e0),\n {\n isSelected: states.isSelected\n }\n ]\n ]\n }, renderProps.children));\n});\n\n\nexport {$49319ee1285aa241$export$c7e742effb1c51e2 as MenuContext, $49319ee1285aa241$export$24aad8519b95b41b as MenuStateContext, $49319ee1285aa241$export$795aec4671cbae19 as RootMenuTriggerStateContext, $49319ee1285aa241$export$27d2ad3c5815583e as MenuTrigger, $49319ee1285aa241$export$ecabc99eeffab7ca as SubmenuTrigger, $49319ee1285aa241$export$d9b273488cd8ce6f as Menu, $49319ee1285aa241$export$4b1545b4f2016d26 as MenuSection, $49319ee1285aa241$export$2ce376c2cc3355c8 as MenuItem};\n//# sourceMappingURL=Menu.mjs.map\n","import {filterDOMProps as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f} from \"../utils/filterDOMProps.mjs\";\nimport {focusSafely as $f192c2f16961cbe0$export$80f3e147d781571c} from \"../interactions/focusSafely.mjs\";\nimport {getActiveElement as $23f2114a1b82827e$export$cd4e5573fbe2b576, isFocusWithin as $23f2114a1b82827e$export$b4f377a2b6254582} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {useOverlayFocusContain as $d7a937236970dc7f$export$14c98a7594375490} from \"../overlays/Overlay.mjs\";\nimport {useSlotId as $390e54f620492c70$export$b4cc09c592e8fdb8} from \"../utils/useId.mjs\";\nimport {useRef as $8glMc$useRef, useEffect as $8glMc$useEffect} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\nfunction $13150e6629d46e45$export$d55e7ee900f34e93(props, ref) {\n let { role: role = 'dialog' } = props;\n let titleId = (0, $390e54f620492c70$export$b4cc09c592e8fdb8)();\n titleId = props['aria-label'] ? undefined : titleId;\n let isRefocusing = (0, $8glMc$useRef)(false);\n // Focus the dialog itself on mount, unless a child element is already focused.\n (0, $8glMc$useEffect)(()=>{\n if (ref.current && !(0, $23f2114a1b82827e$export$b4f377a2b6254582)(ref.current)) {\n (0, $f192c2f16961cbe0$export$80f3e147d781571c)(ref.current);\n // Safari on iOS does not move the VoiceOver cursor to the dialog\n // or announce that it has opened until it has rendered. A workaround\n // is to wait for half a second, then blur and re-focus the dialog.\n let timeout = setTimeout(()=>{\n // Check that the dialog is still focused, or focused was lost to the body.\n if ((0, $23f2114a1b82827e$export$cd4e5573fbe2b576)() === ref.current || (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)() === document.body) {\n isRefocusing.current = true;\n if (ref.current) {\n ref.current.blur();\n (0, $f192c2f16961cbe0$export$80f3e147d781571c)(ref.current);\n }\n isRefocusing.current = false;\n }\n }, 500);\n return ()=>{\n clearTimeout(timeout);\n };\n }\n }, [\n ref\n ]);\n (0, $d7a937236970dc7f$export$14c98a7594375490)();\n // Warn in dev mode if the dialog has no accessible title.\n // This catches a common mistake where useDialog and useOverlayTriggerState\n // are used in the same component, causing the title element to not be\n // in the DOM when useSlotId queries for it.\n // Check the DOM element directly since aria-labelledby may be added by\n // wrapper components (e.g. RAC Dialog uses trigger ID as a fallback).\n let hasWarned = (0, $8glMc$useRef)(false);\n (0, $8glMc$useEffect)(()=>{\n if (process.env.NODE_ENV !== 'production' && !hasWarned.current && ref.current) {\n let el = ref.current;\n let hasAriaLabel = el.hasAttribute('aria-label');\n let hasAriaLabelledby = el.hasAttribute('aria-labelledby');\n if (!hasAriaLabel && !hasAriaLabelledby) {\n console.warn(\"A dialog must have a title for accessibility. Either provide an aria-label or aria-labelledby prop, or render a heading element inside the dialog.\");\n hasWarned.current = true;\n }\n }\n });\n // We do not use aria-modal due to a Safari bug which forces the first focusable element to be focused\n // on mount when inside an iframe, no matter which element we programmatically focus.\n // See https://bugs.webkit.org/show_bug.cgi?id=211934.\n // useModal sets aria-hidden on all elements outside the dialog, so the dialog will behave as a modal\n // even without aria-modal on the dialog itself.\n return {\n dialogProps: {\n ...(0, $8e9d2fae0ecb9001$export$457c3d6518dd4c6f)(props, {\n labelable: true\n }),\n role: role,\n tabIndex: -1,\n 'aria-labelledby': props['aria-labelledby'] || titleId,\n // Prevent blur events from reaching useOverlay, which may cause\n // popovers to close. Since focus is contained within the dialog,\n // we don't want this to occur due to the above useEffect.\n onBlur: (e)=>{\n if (isRefocusing.current) e.stopPropagation();\n }\n },\n titleProps: {\n id: titleId\n }\n };\n}\n\n\nexport {$13150e6629d46e45$export$d55e7ee900f34e93 as useDialog};\n//# sourceMappingURL=useDialog.mjs.map\n","import {ButtonContext as $7705c033048f6da7$export$24d547caef80ccd1} from \"./Button.mjs\";\nimport {DEFAULT_SLOT as $7230ffa83bc0c2cf$export$c62b8e45d58ddad9, dom as $7230ffa83bc0c2cf$export$df3a06d6289f983e, Provider as $7230ffa83bc0c2cf$export$2881499e37b75b9a, useContextProps as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, useRenderProps as $7230ffa83bc0c2cf$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport {HeadingContext as $2ec61d1d4f780267$export$d688439359537581} from \"./Heading.mjs\";\nimport {PopoverContext as $542a13ca2fa5b484$export$9b9a0cd73afb7ca4} from \"./Popover.mjs\";\nimport {RootMenuTriggerStateContext as $49319ee1285aa241$export$795aec4671cbae19} from \"./Menu.mjs\";\nimport {useDialog as $gV8PY$useDialog} from \"react-aria/useDialog\";\nimport {filterDOMProps as $gV8PY$filterDOMProps} from \"react-aria/filterDOMProps\";\nimport {mergeProps as $gV8PY$mergeProps} from \"react-aria/mergeProps\";\nimport {PressResponder as $gV8PY$PressResponder} from \"react-aria/private/interactions/PressResponder\";\nimport $gV8PY$react, {createContext as $gV8PY$createContext, useRef as $gV8PY$useRef, forwardRef as $gV8PY$forwardRef, useContext as $gV8PY$useContext} from \"react\";\nimport {useId as $gV8PY$useId} from \"react-aria/useId\";\nimport {useMenuTriggerState as $gV8PY$useMenuTriggerState} from \"react-stately/useMenuTriggerState\";\nimport {useOverlayTrigger as $gV8PY$useOverlayTrigger} from \"react-aria/useOverlayTrigger\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\n\n\n\nconst $f2ff30fde7b014be$export$8b93a07348a7730c = /*#__PURE__*/ (0, $gV8PY$createContext)(null);\nconst $f2ff30fde7b014be$export$d2f961adcb0afbe = /*#__PURE__*/ (0, $gV8PY$createContext)(null);\nfunction $f2ff30fde7b014be$export$2e1e1122cf0cba88(props) {\n // Use useMenuTriggerState instead of useOverlayTriggerState in case a menu is embedded in the dialog.\n // This is needed to handle submenus.\n let state = (0, $gV8PY$useMenuTriggerState)(props);\n let buttonRef = (0, $gV8PY$useRef)(null);\n let { triggerProps: triggerProps, overlayProps: overlayProps } = (0, $gV8PY$useOverlayTrigger)({\n type: 'dialog'\n }, state, buttonRef);\n // Label dialog by the trigger as a fallback if there is no title slot.\n // This is done in RAC instead of hooks because otherwise we cannot distinguish\n // between context and props. Normally aria-labelledby overrides the title\n // but when sent by context we want the title to win.\n triggerProps.id = (0, $gV8PY$useId)();\n overlayProps['aria-labelledby'] = triggerProps.id;\n return /*#__PURE__*/ (0, $gV8PY$react).createElement((0, $7230ffa83bc0c2cf$export$2881499e37b75b9a), {\n values: [\n [\n $f2ff30fde7b014be$export$d2f961adcb0afbe,\n state\n ],\n [\n (0, $49319ee1285aa241$export$795aec4671cbae19),\n state\n ],\n [\n $f2ff30fde7b014be$export$8b93a07348a7730c,\n overlayProps\n ],\n [\n (0, $542a13ca2fa5b484$export$9b9a0cd73afb7ca4),\n {\n trigger: 'DialogTrigger',\n triggerRef: buttonRef,\n 'aria-labelledby': overlayProps['aria-labelledby']\n }\n ]\n ]\n }, /*#__PURE__*/ (0, $gV8PY$react).createElement((0, $gV8PY$PressResponder), {\n ...triggerProps,\n ref: buttonRef,\n isPressed: state.isOpen\n }, props.children));\n}\nconst $f2ff30fde7b014be$export$3ddf2d174ce01153 = /*#__PURE__*/ (0, $gV8PY$forwardRef)(function Dialog(props, ref) {\n let originalAriaLabelledby = props['aria-labelledby'];\n [props, ref] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, $f2ff30fde7b014be$export$8b93a07348a7730c);\n let { dialogProps: dialogProps, titleProps: titleProps } = (0, $gV8PY$useDialog)({\n ...props,\n // Only pass aria-labelledby from props, not context.\n // Context is used as a fallback below.\n 'aria-labelledby': originalAriaLabelledby\n }, ref);\n let state = (0, $gV8PY$useContext)($f2ff30fde7b014be$export$d2f961adcb0afbe);\n if (!dialogProps['aria-label'] && !dialogProps['aria-labelledby']) {\n // If aria-labelledby exists on props, we know it came from context.\n // Use that as a fallback in case there is no title slot.\n if (props['aria-labelledby']) dialogProps['aria-labelledby'] = props['aria-labelledby'];\n else if (process.env.NODE_ENV !== 'production') console.warn('If a Dialog does not contain a <Heading slot=\"title\">, it must have an aria-label or aria-labelledby attribute for accessibility.');\n }\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n defaultClassName: 'react-aria-Dialog',\n className: props.className,\n style: props.style,\n children: props.children,\n values: {\n close: state?.close || (()=>{})\n }\n });\n let DOMProps = (0, $gV8PY$filterDOMProps)(props, {\n global: true\n });\n return /*#__PURE__*/ (0, $gV8PY$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).section, {\n ...(0, $gV8PY$mergeProps)(DOMProps, renderProps, dialogProps),\n render: props.render,\n ref: ref,\n slot: props.slot || undefined\n }, /*#__PURE__*/ (0, $gV8PY$react).createElement((0, $7230ffa83bc0c2cf$export$2881499e37b75b9a), {\n values: [\n [\n (0, $2ec61d1d4f780267$export$d688439359537581),\n {\n slots: {\n [(0, $7230ffa83bc0c2cf$export$c62b8e45d58ddad9)]: {},\n title: {\n ...titleProps,\n level: 2\n }\n }\n }\n ],\n [\n (0, $7705c033048f6da7$export$24d547caef80ccd1),\n {\n slots: {\n [(0, $7230ffa83bc0c2cf$export$c62b8e45d58ddad9)]: {},\n close: {\n onPress: ()=>state?.close()\n }\n }\n }\n ]\n ]\n }, renderProps.children));\n});\n\n\nexport {$f2ff30fde7b014be$export$8b93a07348a7730c as DialogContext, $f2ff30fde7b014be$export$d2f961adcb0afbe as OverlayTriggerStateContext, $f2ff30fde7b014be$export$2e1e1122cf0cba88 as DialogTrigger, $f2ff30fde7b014be$export$3ddf2d174ce01153 as Dialog};\n//# sourceMappingURL=Dialog.mjs.map\n","import {useLocale as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7} from \"./I18nProvider.mjs\";\nimport {useMemo as $1mob3$useMemo} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $b4eb6eb8d15fb21e$export$a2f47a3d2973640(options = {}) {\n let { locale: locale } = (0, $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7)();\n return (0, $1mob3$useMemo)(()=>new Intl.ListFormat(locale, options), [\n locale,\n options\n ]);\n}\n\n\nexport {$b4eb6eb8d15fb21e$export$a2f47a3d2973640 as useListFormatter};\n//# sourceMappingURL=useListFormatter.mjs.map\n","var $fb15c364d68571a9$exports = {};\n$fb15c364d68571a9$exports = {\n \"deselectedItem\": (args)=>`${args.item} \\u{63A}\\u{64A}\\u{631} \\u{627}\\u{644}\\u{645}\\u{62D}\\u{62F}\\u{62F}`,\n \"longPressToSelect\": `\\u{627}\\u{636}\\u{63A}\\u{637} \\u{645}\\u{637}\\u{648}\\u{644}\\u{64B}\\u{627} \\u{644}\\u{644}\\u{62F}\\u{62E}\\u{648}\\u{644} \\u{625}\\u{644}\\u{649} \\u{648}\\u{636}\\u{639} \\u{627}\\u{644}\\u{62A}\\u{62D}\\u{62F}\\u{64A}\\u{62F}.`,\n \"select\": `\\u{62A}\\u{62D}\\u{62F}\\u{64A}\\u{62F}`,\n \"selectedAll\": `\\u{62C}\\u{645}\\u{64A}\\u{639} \\u{627}\\u{644}\\u{639}\\u{646}\\u{627}\\u{635}\\u{631} \\u{627}\\u{644}\\u{645}\\u{62D}\\u{62F}\\u{62F}\\u{629}.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `\\u{644}\\u{645} \\u{64A}\\u{62A}\\u{645} \\u{62A}\\u{62D}\\u{62F}\\u{64A}\\u{62F} \\u{639}\\u{646}\\u{627}\\u{635}\\u{631}`,\n one: ()=>`${formatter.number(args.count)} \\u{639}\\u{646}\\u{635}\\u{631} \\u{645}\\u{62D}\\u{62F}\\u{62F}`,\n other: ()=>`${formatter.number(args.count)} \\u{639}\\u{646}\\u{635}\\u{631} \\u{645}\\u{62D}\\u{62F}\\u{62F}`\n })}.`,\n \"selectedItem\": (args)=>`${args.item} \\u{627}\\u{644}\\u{645}\\u{62D}\\u{62F}\\u{62F}`\n};\n\n\nexport {$fb15c364d68571a9$exports as default};\n//# sourceMappingURL=ar-AE.mjs.map\n","var $7749cb6d5493e4f5$exports = {};\n$7749cb6d5493e4f5$exports = {\n \"deselectedItem\": (args)=>`${args.item} \\u{43D}\\u{435} \\u{435} \\u{438}\\u{437}\\u{431}\\u{440}\\u{430}\\u{43D}.`,\n \"longPressToSelect\": `\\u{41D}\\u{430}\\u{442}\\u{438}\\u{441}\\u{43D}\\u{435}\\u{442}\\u{435} \\u{438} \\u{437}\\u{430}\\u{434}\\u{440}\\u{44A}\\u{436}\\u{442}\\u{435} \\u{437}\\u{430} \\u{434}\\u{430} \\u{432}\\u{43B}\\u{435}\\u{437}\\u{435}\\u{442}\\u{435} \\u{432} \\u{438}\\u{437}\\u{431}\\u{438}\\u{440}\\u{430}\\u{442}\\u{435}\\u{43B}\\u{435}\\u{43D} \\u{440}\\u{435}\\u{436}\\u{438}\\u{43C}.`,\n \"select\": `\\u{418}\\u{437}\\u{431}\\u{435}\\u{440}\\u{435}\\u{442}\\u{435}`,\n \"selectedAll\": `\\u{412}\\u{441}\\u{438}\\u{447}\\u{43A}\\u{438} \\u{435}\\u{43B}\\u{435}\\u{43C}\\u{435}\\u{43D}\\u{442}\\u{438} \\u{441}\\u{430} \\u{438}\\u{437}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{438}.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `\\u{41D}\\u{44F}\\u{43C}\\u{430} \\u{438}\\u{437}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{438} \\u{435}\\u{43B}\\u{435}\\u{43C}\\u{435}\\u{43D}\\u{442}\\u{438}`,\n one: ()=>`${formatter.number(args.count)} \\u{438}\\u{437}\\u{431}\\u{440}\\u{430}\\u{43D} \\u{435}\\u{43B}\\u{435}\\u{43C}\\u{435}\\u{43D}\\u{442}`,\n other: ()=>`${formatter.number(args.count)} \\u{438}\\u{437}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{438} \\u{435}\\u{43B}\\u{435}\\u{43C}\\u{435}\\u{43D}\\u{442}\\u{438}`\n })}.`,\n \"selectedItem\": (args)=>`${args.item} \\u{438}\\u{437}\\u{431}\\u{440}\\u{430}\\u{43D}.`\n};\n\n\nexport {$7749cb6d5493e4f5$exports as default};\n//# sourceMappingURL=bg-BG.mjs.map\n","var $b8323ca0b03a61c7$exports = {};\n$b8323ca0b03a61c7$exports = {\n \"deselectedItem\": (args)=>`Polo\\u{17E}ka ${args.item} nen\\xed vybr\\xe1na.`,\n \"longPressToSelect\": `Dlouh\\xfdm stisknut\\xedm p\\u{159}ejdete do re\\u{17E}imu v\\xfdb\\u{11B}ru.`,\n \"select\": `Vybrat`,\n \"selectedAll\": `Vybr\\xe1ny v\\u{161}echny polo\\u{17E}ky.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `Nevybr\\xe1ny \\u{17E}\\xe1dn\\xe9 polo\\u{17E}ky`,\n one: ()=>`Vybr\\xe1na ${formatter.number(args.count)} polo\\u{17E}ka`,\n other: ()=>`Vybr\\xe1no ${formatter.number(args.count)} polo\\u{17E}ek`\n })}.`,\n \"selectedItem\": (args)=>`Vybr\\xe1na polo\\u{17E}ka ${args.item}.`\n};\n\n\nexport {$b8323ca0b03a61c7$exports as default};\n//# sourceMappingURL=cs-CZ.mjs.map\n","var $1057bd2d9ffb71b2$exports = {};\n$1057bd2d9ffb71b2$exports = {\n \"deselectedItem\": (args)=>`${args.item} ikke valgt.`,\n \"longPressToSelect\": `Lav et langt tryk for at aktivere valgtilstand.`,\n \"select\": `V\\xe6lg`,\n \"selectedAll\": `Alle elementer valgt.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `Ingen elementer valgt`,\n one: ()=>`${formatter.number(args.count)} element valgt`,\n other: ()=>`${formatter.number(args.count)} elementer valgt`\n })}.`,\n \"selectedItem\": (args)=>`${args.item} valgt.`\n};\n\n\nexport {$1057bd2d9ffb71b2$exports as default};\n//# sourceMappingURL=da-DK.mjs.map\n","var $b4106780a48d8be8$exports = {};\n$b4106780a48d8be8$exports = {\n \"deselectedItem\": (args)=>`${args.item} nicht ausgew\\xe4hlt.`,\n \"longPressToSelect\": `Gedr\\xfcckt halten, um Auswahlmodus zu \\xf6ffnen.`,\n \"select\": `Ausw\\xe4hlen`,\n \"selectedAll\": `Alle Elemente ausgew\\xe4hlt.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `Keine Elemente ausgew\\xe4hlt`,\n one: ()=>`${formatter.number(args.count)} Element ausgew\\xe4hlt`,\n other: ()=>`${formatter.number(args.count)} Elemente ausgew\\xe4hlt`\n })}.`,\n \"selectedItem\": (args)=>`${args.item} ausgew\\xe4hlt.`\n};\n\n\nexport {$b4106780a48d8be8$exports as default};\n//# sourceMappingURL=de-DE.mjs.map\n","var $4518bc1dcc9420a7$exports = {};\n$4518bc1dcc9420a7$exports = {\n \"deselectedItem\": (args)=>`\\u{394}\\u{3B5}\\u{3BD} \\u{3B5}\\u{3C0}\\u{3B9}\\u{3BB}\\u{3AD}\\u{3C7}\\u{3B8}\\u{3B7}\\u{3BA}\\u{3B5} \\u{3C4}\\u{3BF} \\u{3C3}\\u{3C4}\\u{3BF}\\u{3B9}\\u{3C7}\\u{3B5}\\u{3AF}\\u{3BF} ${args.item}.`,\n \"longPressToSelect\": `\\u{3A0}\\u{3B1}\\u{3C4}\\u{3AE}\\u{3C3}\\u{3C4}\\u{3B5} \\u{3C0}\\u{3B1}\\u{3C1}\\u{3B1}\\u{3C4}\\u{3B5}\\u{3C4}\\u{3B1}\\u{3BC}\\u{3AD}\\u{3BD}\\u{3B1} \\u{3B3}\\u{3B9}\\u{3B1} \\u{3BD}\\u{3B1} \\u{3BC}\\u{3C0}\\u{3B5}\\u{3AF}\\u{3C4}\\u{3B5} \\u{3C3}\\u{3B5} \\u{3BB}\\u{3B5}\\u{3B9}\\u{3C4}\\u{3BF}\\u{3C5}\\u{3C1}\\u{3B3}\\u{3AF}\\u{3B1} \\u{3B5}\\u{3C0}\\u{3B9}\\u{3BB}\\u{3BF}\\u{3B3}\\u{3AE}\\u{3C2}.`,\n \"select\": `\\u{395}\\u{3C0}\\u{3B9}\\u{3BB}\\u{3BF}\\u{3B3}\\u{3AE}`,\n \"selectedAll\": `\\u{395}\\u{3C0}\\u{3B9}\\u{3BB}\\u{3AD}\\u{3C7}\\u{3B8}\\u{3B7}\\u{3BA}\\u{3B1}\\u{3BD} \\u{3CC}\\u{3BB}\\u{3B1} \\u{3C4}\\u{3B1} \\u{3C3}\\u{3C4}\\u{3BF}\\u{3B9}\\u{3C7}\\u{3B5}\\u{3AF}\\u{3B1}.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `\\u{394}\\u{3B5}\\u{3BD} \\u{3B5}\\u{3C0}\\u{3B9}\\u{3BB}\\u{3AD}\\u{3C7}\\u{3B8}\\u{3B7}\\u{3BA}\\u{3B1}\\u{3BD} \\u{3C3}\\u{3C4}\\u{3BF}\\u{3B9}\\u{3C7}\\u{3B5}\\u{3AF}\\u{3B1}`,\n one: ()=>`\\u{395}\\u{3C0}\\u{3B9}\\u{3BB}\\u{3AD}\\u{3C7}\\u{3B8}\\u{3B7}\\u{3BA}\\u{3B5} ${formatter.number(args.count)} \\u{3C3}\\u{3C4}\\u{3BF}\\u{3B9}\\u{3C7}\\u{3B5}\\u{3AF}\\u{3BF}`,\n other: ()=>`\\u{395}\\u{3C0}\\u{3B9}\\u{3BB}\\u{3AD}\\u{3C7}\\u{3B8}\\u{3B7}\\u{3BA}\\u{3B1}\\u{3BD} ${formatter.number(args.count)} \\u{3C3}\\u{3C4}\\u{3BF}\\u{3B9}\\u{3C7}\\u{3B5}\\u{3AF}\\u{3B1}`\n })}.`,\n \"selectedItem\": (args)=>`\\u{395}\\u{3C0}\\u{3B9}\\u{3BB}\\u{3AD}\\u{3C7}\\u{3B8}\\u{3B7}\\u{3BA}\\u{3B5} \\u{3C4}\\u{3BF} \\u{3C3}\\u{3C4}\\u{3BF}\\u{3B9}\\u{3C7}\\u{3B5}\\u{3AF}\\u{3BF} ${args.item}.`\n};\n\n\nexport {$4518bc1dcc9420a7$exports as default};\n//# sourceMappingURL=el-GR.mjs.map\n","var $f9f5656778ebfd2d$exports = {};\n$f9f5656778ebfd2d$exports = {\n \"deselectedItem\": (args)=>`${args.item} not selected.`,\n \"select\": `Select`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `No items selected`,\n one: ()=>`${formatter.number(args.count)} item selected`,\n other: ()=>`${formatter.number(args.count)} items selected`\n })}.`,\n \"selectedAll\": `All items selected.`,\n \"selectedItem\": (args)=>`${args.item} selected.`,\n \"longPressToSelect\": `Long press to enter selection mode.`\n};\n\n\nexport {$f9f5656778ebfd2d$exports as default};\n//# sourceMappingURL=en-US.mjs.map\n","var $ad6f2bd08698bcd3$exports = {};\n$ad6f2bd08698bcd3$exports = {\n \"deselectedItem\": (args)=>`${args.item} no seleccionado.`,\n \"longPressToSelect\": `Mantenga pulsado para abrir el modo de selecci\\xf3n.`,\n \"select\": `Seleccionar`,\n \"selectedAll\": `Todos los elementos seleccionados.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `Ning\\xfan elemento seleccionado`,\n one: ()=>`${formatter.number(args.count)} elemento seleccionado`,\n other: ()=>`${formatter.number(args.count)} elementos seleccionados`\n })}.`,\n \"selectedItem\": (args)=>`${args.item} seleccionado.`\n};\n\n\nexport {$ad6f2bd08698bcd3$exports as default};\n//# sourceMappingURL=es-ES.mjs.map\n","var $12275897f225851d$exports = {};\n$12275897f225851d$exports = {\n \"deselectedItem\": (args)=>`${args.item} pole valitud.`,\n \"longPressToSelect\": `Valikure\\u{17E}iimi sisenemiseks vajutage pikalt.`,\n \"select\": `Vali`,\n \"selectedAll\": `K\\xf5ik \\xfcksused valitud.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `\\xdcksusi pole valitud`,\n one: ()=>`${formatter.number(args.count)} \\xfcksus valitud`,\n other: ()=>`${formatter.number(args.count)} \\xfcksust valitud`\n })}.`,\n \"selectedItem\": (args)=>`${args.item} valitud.`\n};\n\n\nexport {$12275897f225851d$exports as default};\n//# sourceMappingURL=et-EE.mjs.map\n","var $0277e7f5fe6f1bff$exports = {};\n$0277e7f5fe6f1bff$exports = {\n \"deselectedItem\": (args)=>`Kohdetta ${args.item} ei valittu.`,\n \"longPressToSelect\": `Siirry valintatilaan painamalla pitk\\xe4\\xe4n.`,\n \"select\": `Valitse`,\n \"selectedAll\": `Kaikki kohteet valittu.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `Ei yht\\xe4\\xe4n kohdetta valittu`,\n one: ()=>`${formatter.number(args.count)} kohde valittu`,\n other: ()=>`${formatter.number(args.count)} kohdetta valittu`\n })}.`,\n \"selectedItem\": (args)=>`${args.item} valittu.`\n};\n\n\nexport {$0277e7f5fe6f1bff$exports as default};\n//# sourceMappingURL=fi-FI.mjs.map\n","var $8bd200b116581189$exports = {};\n$8bd200b116581189$exports = {\n \"deselectedItem\": (args)=>`${args.item} non s\\xe9lectionn\\xe9.`,\n \"longPressToSelect\": `Appuyez de mani\\xe8re prolong\\xe9e pour passer en mode de s\\xe9lection.`,\n \"select\": `S\\xe9lectionner`,\n \"selectedAll\": `Tous les \\xe9l\\xe9ments s\\xe9lectionn\\xe9s.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `Aucun \\xe9l\\xe9ment s\\xe9lectionn\\xe9`,\n one: ()=>`${formatter.number(args.count)} \\xe9l\\xe9ment s\\xe9lectionn\\xe9`,\n other: ()=>`${formatter.number(args.count)} \\xe9l\\xe9ments s\\xe9lectionn\\xe9s`\n })}.`,\n \"selectedItem\": (args)=>`${args.item} s\\xe9lectionn\\xe9.`\n};\n\n\nexport {$8bd200b116581189$exports as default};\n//# sourceMappingURL=fr-FR.mjs.map\n","var $5cad20d2058d9ff4$exports = {};\n$5cad20d2058d9ff4$exports = {\n \"deselectedItem\": (args)=>`${args.item} \\u{5DC}\\u{5D0} \\u{5E0}\\u{5D1}\\u{5D7}\\u{5E8}.`,\n \"longPressToSelect\": `\\u{5D4}\\u{5E7}\\u{5E9}\\u{5D4} \\u{5D0}\\u{5E8}\\u{5D5}\\u{5DB}\\u{5D4} \\u{5DC}\\u{5DB}\\u{5E0}\\u{5D9}\\u{5E1}\\u{5D4} \\u{5DC}\\u{5DE}\\u{5E6}\\u{5D1} \\u{5D1}\\u{5D7}\\u{5D9}\\u{5E8}\\u{5D4}.`,\n \"select\": `\\u{5D1}\\u{5D7}\\u{5E8}`,\n \"selectedAll\": `\\u{5DB}\\u{5DC} \\u{5D4}\\u{5E4}\\u{5E8}\\u{5D9}\\u{5D8}\\u{5D9}\\u{5DD} \\u{5E0}\\u{5D1}\\u{5D7}\\u{5E8}\\u{5D5}.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `\\u{5DC}\\u{5D0} \\u{5E0}\\u{5D1}\\u{5D7}\\u{5E8}\\u{5D5} \\u{5E4}\\u{5E8}\\u{5D9}\\u{5D8}\\u{5D9}\\u{5DD}`,\n one: ()=>`\\u{5E4}\\u{5E8}\\u{5D9}\\u{5D8} ${formatter.number(args.count)} \\u{5E0}\\u{5D1}\\u{5D7}\\u{5E8}`,\n other: ()=>`${formatter.number(args.count)} \\u{5E4}\\u{5E8}\\u{5D9}\\u{5D8}\\u{5D9}\\u{5DD} \\u{5E0}\\u{5D1}\\u{5D7}\\u{5E8}\\u{5D5}`\n })}.`,\n \"selectedItem\": (args)=>`${args.item} \\u{5E0}\\u{5D1}\\u{5D7}\\u{5E8}.`\n};\n\n\nexport {$5cad20d2058d9ff4$exports as default};\n//# sourceMappingURL=he-IL.mjs.map\n","var $4dea078d6dac13bd$exports = {};\n$4dea078d6dac13bd$exports = {\n \"deselectedItem\": (args)=>`Stavka ${args.item} nije odabrana.`,\n \"longPressToSelect\": `Dugo pritisnite za ulazak u na\\u{10D}in odabira.`,\n \"select\": `Odaberite`,\n \"selectedAll\": `Odabrane su sve stavke.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `Nije odabrana nijedna stavka`,\n one: ()=>`Odabrana je ${formatter.number(args.count)} stavka`,\n other: ()=>`Odabrano je ${formatter.number(args.count)} stavki`\n })}.`,\n \"selectedItem\": (args)=>`Stavka ${args.item} je odabrana.`\n};\n\n\nexport {$4dea078d6dac13bd$exports as default};\n//# sourceMappingURL=hr-HR.mjs.map\n","var $7def316a905ee012$exports = {};\n$7def316a905ee012$exports = {\n \"deselectedItem\": (args)=>`${args.item} nincs kijel\\xf6lve.`,\n \"longPressToSelect\": `Nyomja hosszan a kijel\\xf6l\\xe9shez.`,\n \"select\": `Kijel\\xf6l\\xe9s`,\n \"selectedAll\": `Az \\xf6sszes elem kijel\\xf6lve.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `Egy elem sincs kijel\\xf6lve`,\n one: ()=>`${formatter.number(args.count)} elem kijel\\xf6lve`,\n other: ()=>`${formatter.number(args.count)} elem kijel\\xf6lve`\n })}.`,\n \"selectedItem\": (args)=>`${args.item} kijel\\xf6lve.`\n};\n\n\nexport {$7def316a905ee012$exports as default};\n//# sourceMappingURL=hu-HU.mjs.map\n","var $46cdc5c69a76d239$exports = {};\n$46cdc5c69a76d239$exports = {\n \"deselectedItem\": (args)=>`${args.item} non selezionato.`,\n \"longPressToSelect\": `Premi a lungo per passare alla modalit\\xe0 di selezione.`,\n \"select\": `Seleziona`,\n \"selectedAll\": `Tutti gli elementi selezionati.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `Nessun elemento selezionato`,\n one: ()=>`${formatter.number(args.count)} elemento selezionato`,\n other: ()=>`${formatter.number(args.count)} elementi selezionati`\n })}.`,\n \"selectedItem\": (args)=>`${args.item} selezionato.`\n};\n\n\nexport {$46cdc5c69a76d239$exports as default};\n//# sourceMappingURL=it-IT.mjs.map\n","var $60e52d4279bf66f4$exports = {};\n$60e52d4279bf66f4$exports = {\n \"deselectedItem\": (args)=>`${args.item} \\u{304C}\\u{9078}\\u{629E}\\u{3055}\\u{308C}\\u{3066}\\u{3044}\\u{307E}\\u{305B}\\u{3093}\\u{3002}`,\n \"longPressToSelect\": `\\u{9577}\\u{62BC}\\u{3057}\\u{3057}\\u{3066}\\u{9078}\\u{629E}\\u{30E2}\\u{30FC}\\u{30C9}\\u{3092}\\u{958B}\\u{304D}\\u{307E}\\u{3059}\\u{3002}`,\n \"select\": `\\u{9078}\\u{629E}`,\n \"selectedAll\": `\\u{3059}\\u{3079}\\u{3066}\\u{306E}\\u{9805}\\u{76EE}\\u{3092}\\u{9078}\\u{629E}\\u{3057}\\u{307E}\\u{3057}\\u{305F}\\u{3002}`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `\\u{9805}\\u{76EE}\\u{304C}\\u{9078}\\u{629E}\\u{3055}\\u{308C}\\u{3066}\\u{3044}\\u{307E}\\u{305B}\\u{3093}`,\n one: ()=>`${formatter.number(args.count)} \\u{9805}\\u{76EE}\\u{3092}\\u{9078}\\u{629E}\\u{3057}\\u{307E}\\u{3057}\\u{305F}`,\n other: ()=>`${formatter.number(args.count)} \\u{9805}\\u{76EE}\\u{3092}\\u{9078}\\u{629E}\\u{3057}\\u{307E}\\u{3057}\\u{305F}`\n })}\\u{3002}`,\n \"selectedItem\": (args)=>`${args.item} \\u{3092}\\u{9078}\\u{629E}\\u{3057}\\u{307E}\\u{3057}\\u{305F}\\u{3002}`\n};\n\n\nexport {$60e52d4279bf66f4$exports as default};\n//# sourceMappingURL=ja-JP.mjs.map\n","var $7b2d0b5f51ff5e7b$exports = {};\n$7b2d0b5f51ff5e7b$exports = {\n \"deselectedItem\": (args)=>`${args.item}\\u{C774}(\\u{AC00}) \\u{C120}\\u{D0DD}\\u{B418}\\u{C9C0} \\u{C54A}\\u{C558}\\u{C2B5}\\u{B2C8}\\u{B2E4}.`,\n \"longPressToSelect\": `\\u{C120}\\u{D0DD} \\u{BAA8}\\u{B4DC}\\u{B85C} \\u{B4E4}\\u{C5B4}\\u{AC00}\\u{B824}\\u{BA74} \\u{AE38}\\u{AC8C} \\u{B204}\\u{B974}\\u{C2ED}\\u{C2DC}\\u{C624}.`,\n \"select\": `\\u{C120}\\u{D0DD}`,\n \"selectedAll\": `\\u{BAA8}\\u{B4E0} \\u{D56D}\\u{BAA9}\\u{C774} \\u{C120}\\u{D0DD}\\u{B418}\\u{C5C8}\\u{C2B5}\\u{B2C8}\\u{B2E4}.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `\\u{C120}\\u{D0DD}\\u{B41C} \\u{D56D}\\u{BAA9}\\u{C774} \\u{C5C6}\\u{C2B5}\\u{B2C8}\\u{B2E4}`,\n one: ()=>`${formatter.number(args.count)}\\u{AC1C} \\u{D56D}\\u{BAA9}\\u{C774} \\u{C120}\\u{D0DD}\\u{B418}\\u{C5C8}\\u{C2B5}\\u{B2C8}\\u{B2E4}`,\n other: ()=>`${formatter.number(args.count)}\\u{AC1C} \\u{D56D}\\u{BAA9}\\u{C774} \\u{C120}\\u{D0DD}\\u{B418}\\u{C5C8}\\u{C2B5}\\u{B2C8}\\u{B2E4}`\n })}.`,\n \"selectedItem\": (args)=>`${args.item}\\u{C774}(\\u{AC00}) \\u{C120}\\u{D0DD}\\u{B418}\\u{C5C8}\\u{C2B5}\\u{B2C8}\\u{B2E4}.`\n};\n\n\nexport {$7b2d0b5f51ff5e7b$exports as default};\n//# sourceMappingURL=ko-KR.mjs.map\n","var $443ed3f53077cf91$exports = {};\n$443ed3f53077cf91$exports = {\n \"deselectedItem\": (args)=>`${args.item} nepasirinkta.`,\n \"longPressToSelect\": `Nor\\u{117}dami \\u{12F}jungti pasirinkimo re\\u{17E}im\\u{105}, paspauskite ir palaikykite.`,\n \"select\": `Pasirinkti`,\n \"selectedAll\": `Pasirinkti visi elementai.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `Nepasirinktas n\\u{117} vienas elementas`,\n one: ()=>`Pasirinktas ${formatter.number(args.count)} elementas`,\n other: ()=>`Pasirinkta element\\u{173}: ${formatter.number(args.count)}`\n })}.`,\n \"selectedItem\": (args)=>`Pasirinkta: ${args.item}.`\n};\n\n\nexport {$443ed3f53077cf91$exports as default};\n//# sourceMappingURL=lt-LT.mjs.map\n","var $d928ba4f7f4d579a$exports = {};\n$d928ba4f7f4d579a$exports = {\n \"deselectedItem\": (args)=>`Vienums ${args.item} nav atlas\\u{12B}ts.`,\n \"longPressToSelect\": `Ilgi turiet nospiestu. lai iesl\\u{113}gtu atlases re\\u{17E}\\u{12B}mu.`,\n \"select\": `Atlas\\u{12B}t`,\n \"selectedAll\": `Atlas\\u{12B}ti visi vienumi.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `Nav atlas\\u{12B}ts neviens vienums`,\n one: ()=>`Atlas\\u{12B}to vienumu skaits: ${formatter.number(args.count)}`,\n other: ()=>`Atlas\\u{12B}to vienumu skaits: ${formatter.number(args.count)}`\n })}.`,\n \"selectedItem\": (args)=>`Atlas\\u{12B}ts vienums ${args.item}.`\n};\n\n\nexport {$d928ba4f7f4d579a$exports as default};\n//# sourceMappingURL=lv-LV.mjs.map\n","var $b26dcf15e26dc4ab$exports = {};\n$b26dcf15e26dc4ab$exports = {\n \"deselectedItem\": (args)=>`${args.item} er ikke valgt.`,\n \"longPressToSelect\": `Bruk et langt trykk for \\xe5 g\\xe5 inn i valgmodus.`,\n \"select\": `Velg`,\n \"selectedAll\": `Alle elementer er valgt.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `Ingen elementer er valgt`,\n one: ()=>`${formatter.number(args.count)} element er valgt`,\n other: ()=>`${formatter.number(args.count)} elementer er valgt`\n })}.`,\n \"selectedItem\": (args)=>`${args.item} er valgt.`\n};\n\n\nexport {$b26dcf15e26dc4ab$exports as default};\n//# sourceMappingURL=nb-NO.mjs.map\n","var $c294aade45cced8f$exports = {};\n$c294aade45cced8f$exports = {\n \"deselectedItem\": (args)=>`${args.item} niet geselecteerd.`,\n \"longPressToSelect\": `Druk lang om de selectiemodus te openen.`,\n \"select\": `Selecteren`,\n \"selectedAll\": `Alle items geselecteerd.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `Geen items geselecteerd`,\n one: ()=>`${formatter.number(args.count)} item geselecteerd`,\n other: ()=>`${formatter.number(args.count)} items geselecteerd`\n })}.`,\n \"selectedItem\": (args)=>`${args.item} geselecteerd.`\n};\n\n\nexport {$c294aade45cced8f$exports as default};\n//# sourceMappingURL=nl-NL.mjs.map\n","var $42f088f90073466a$exports = {};\n$42f088f90073466a$exports = {\n \"deselectedItem\": (args)=>`Nie zaznaczono ${args.item}.`,\n \"longPressToSelect\": `Naci\\u{15B}nij i przytrzymaj, aby wej\\u{15B}\\u{107} do trybu wyboru.`,\n \"select\": `Zaznacz`,\n \"selectedAll\": `Wszystkie zaznaczone elementy.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `Nie zaznaczono \\u{17C}adnych element\\xf3w`,\n one: ()=>`${formatter.number(args.count)} zaznaczony element`,\n other: ()=>`${formatter.number(args.count)} zaznaczonych element\\xf3w`\n })}.`,\n \"selectedItem\": (args)=>`Zaznaczono ${args.item}.`\n};\n\n\nexport {$42f088f90073466a$exports as default};\n//# sourceMappingURL=pl-PL.mjs.map\n","var $2cbb462c3af29b3f$exports = {};\n$2cbb462c3af29b3f$exports = {\n \"deselectedItem\": (args)=>`${args.item} n\\xe3o selecionado.`,\n \"longPressToSelect\": `Mantenha pressionado para entrar no modo de sele\\xe7\\xe3o.`,\n \"select\": `Selecionar`,\n \"selectedAll\": `Todos os itens selecionados.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `Nenhum item selecionado`,\n one: ()=>`${formatter.number(args.count)} item selecionado`,\n other: ()=>`${formatter.number(args.count)} itens selecionados`\n })}.`,\n \"selectedItem\": (args)=>`${args.item} selecionado.`\n};\n\n\nexport {$2cbb462c3af29b3f$exports as default};\n//# sourceMappingURL=pt-BR.mjs.map\n","var $bb732f27f34b6026$exports = {};\n$bb732f27f34b6026$exports = {\n \"deselectedItem\": (args)=>`${args.item} n\\xe3o selecionado.`,\n \"longPressToSelect\": `Prima continuamente para entrar no modo de sele\\xe7\\xe3o.`,\n \"select\": `Selecionar`,\n \"selectedAll\": `Todos os itens selecionados.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `Nenhum item selecionado`,\n one: ()=>`${formatter.number(args.count)} item selecionado`,\n other: ()=>`${formatter.number(args.count)} itens selecionados`\n })}.`,\n \"selectedItem\": (args)=>`${args.item} selecionado.`\n};\n\n\nexport {$bb732f27f34b6026$exports as default};\n//# sourceMappingURL=pt-PT.mjs.map\n","var $3a80dba563c8a09f$exports = {};\n$3a80dba563c8a09f$exports = {\n \"deselectedItem\": (args)=>`${args.item} neselectat.`,\n \"longPressToSelect\": `Ap\\u{103}sa\\u{21B}i lung pentru a intra \\xeen modul de selectare.`,\n \"select\": `Selectare`,\n \"selectedAll\": `Toate elementele selectate.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `Niciun element selectat`,\n one: ()=>`${formatter.number(args.count)} element selectat`,\n other: ()=>`${formatter.number(args.count)} elemente selectate`\n })}.`,\n \"selectedItem\": (args)=>`${args.item} selectat.`\n};\n\n\nexport {$3a80dba563c8a09f$exports as default};\n//# sourceMappingURL=ro-RO.mjs.map\n","var $a0d888b9e3d893ba$exports = {};\n$a0d888b9e3d893ba$exports = {\n \"deselectedItem\": (args)=>`${args.item} \\u{43D}\\u{435} \\u{432}\\u{44B}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{43E}.`,\n \"longPressToSelect\": `\\u{41D}\\u{430}\\u{436}\\u{43C}\\u{438}\\u{442}\\u{435} \\u{438} \\u{443}\\u{434}\\u{435}\\u{440}\\u{436}\\u{438}\\u{432}\\u{430}\\u{439}\\u{442}\\u{435} \\u{434}\\u{43B}\\u{44F} \\u{432}\\u{445}\\u{43E}\\u{434}\\u{430} \\u{432} \\u{440}\\u{435}\\u{436}\\u{438}\\u{43C} \\u{432}\\u{44B}\\u{431}\\u{43E}\\u{440}\\u{430}.`,\n \"select\": `\\u{412}\\u{44B}\\u{431}\\u{440}\\u{430}\\u{442}\\u{44C}`,\n \"selectedAll\": `\\u{412}\\u{44B}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{44B} \\u{432}\\u{441}\\u{435} \\u{44D}\\u{43B}\\u{435}\\u{43C}\\u{435}\\u{43D}\\u{442}\\u{44B}.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `\\u{41D}\\u{435}\\u{442} \\u{432}\\u{44B}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{43D}\\u{44B}\\u{445} \\u{44D}\\u{43B}\\u{435}\\u{43C}\\u{435}\\u{43D}\\u{442}\\u{43E}\\u{432}`,\n one: ()=>`${formatter.number(args.count)} \\u{44D}\\u{43B}\\u{435}\\u{43C}\\u{435}\\u{43D}\\u{442} \\u{432}\\u{44B}\\u{431}\\u{440}\\u{430}\\u{43D}`,\n other: ()=>`${formatter.number(args.count)} \\u{44D}\\u{43B}\\u{435}\\u{43C}\\u{435}\\u{43D}\\u{442}\\u{43E}\\u{432} \\u{432}\\u{44B}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{43E}`\n })}.`,\n \"selectedItem\": (args)=>`${args.item} \\u{432}\\u{44B}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{43E}.`\n};\n\n\nexport {$a0d888b9e3d893ba$exports as default};\n//# sourceMappingURL=ru-RU.mjs.map\n","var $5ebe5685fb9fdcb3$exports = {};\n$5ebe5685fb9fdcb3$exports = {\n \"deselectedItem\": (args)=>`Nevybrat\\xe9 polo\\u{17E}ky: ${args.item}.`,\n \"longPressToSelect\": `Dlh\\u{161}\\xedm stla\\u{10D}en\\xedm prejdite do re\\u{17E}imu v\\xfdberu.`,\n \"select\": `Vybra\\u{165}`,\n \"selectedAll\": `V\\u{161}etky vybrat\\xe9 polo\\u{17E}ky.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `\\u{17D}iadne vybrat\\xe9 polo\\u{17E}ky`,\n one: ()=>`${formatter.number(args.count)} vybrat\\xe1 polo\\u{17E}ka`,\n other: ()=>`Po\\u{10D}et vybrat\\xfdch polo\\u{17E}iek:${formatter.number(args.count)}`\n })}.`,\n \"selectedItem\": (args)=>`Vybrat\\xe9 polo\\u{17E}ky: ${args.item}.`\n};\n\n\nexport {$5ebe5685fb9fdcb3$exports as default};\n//# sourceMappingURL=sk-SK.mjs.map\n","var $6a03e4d478040fbc$exports = {};\n$6a03e4d478040fbc$exports = {\n \"deselectedItem\": (args)=>`Element ${args.item} ni izbran.`,\n \"longPressToSelect\": `Za izbirni na\\u{10D}in pritisnite in dlje \\u{10D}asa dr\\u{17E}ite.`,\n \"select\": `Izberite`,\n \"selectedAll\": `Vsi elementi so izbrani.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `Noben element ni izbran`,\n one: ()=>`${formatter.number(args.count)} element je izbran`,\n other: ()=>`${formatter.number(args.count)} elementov je izbranih`\n })}.`,\n \"selectedItem\": (args)=>`Element ${args.item} je izbran.`\n};\n\n\nexport {$6a03e4d478040fbc$exports as default};\n//# sourceMappingURL=sl-SI.mjs.map\n","var $eba5103b21433a13$exports = {};\n$eba5103b21433a13$exports = {\n \"deselectedItem\": (args)=>`${args.item} nije izabrano.`,\n \"longPressToSelect\": `Dugo pritisnite za ulazak u re\\u{17E}im biranja.`,\n \"select\": `Izaberite`,\n \"selectedAll\": `Izabrane su sve stavke.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `Nije izabrana nijedna stavka`,\n one: ()=>`Izabrana je ${formatter.number(args.count)} stavka`,\n other: ()=>`Izabrano je ${formatter.number(args.count)} stavki`\n })}.`,\n \"selectedItem\": (args)=>`${args.item} je izabrano.`\n};\n\n\nexport {$eba5103b21433a13$exports as default};\n//# sourceMappingURL=sr-SP.mjs.map\n","var $ca04e7102e830455$exports = {};\n$ca04e7102e830455$exports = {\n \"deselectedItem\": (args)=>`${args.item} ej markerat.`,\n \"longPressToSelect\": `Tryck l\\xe4nge n\\xe4r du vill \\xf6ppna v\\xe4ljarl\\xe4ge.`,\n \"select\": `Markera`,\n \"selectedAll\": `Alla markerade objekt.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `Inga markerade objekt`,\n one: ()=>`${formatter.number(args.count)} markerat objekt`,\n other: ()=>`${formatter.number(args.count)} markerade objekt`\n })}.`,\n \"selectedItem\": (args)=>`${args.item} markerat.`\n};\n\n\nexport {$ca04e7102e830455$exports as default};\n//# sourceMappingURL=sv-SE.mjs.map\n","var $d7b534ebde677c3f$exports = {};\n$d7b534ebde677c3f$exports = {\n \"deselectedItem\": (args)=>`${args.item} se\\xe7ilmedi.`,\n \"longPressToSelect\": `Se\\xe7im moduna girmek i\\xe7in uzun bas\\u{131}n.`,\n \"select\": `Se\\xe7`,\n \"selectedAll\": `T\\xfcm \\xf6geler se\\xe7ildi.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `Hi\\xe7bir \\xf6ge se\\xe7ilmedi`,\n one: ()=>`${formatter.number(args.count)} \\xf6ge se\\xe7ildi`,\n other: ()=>`${formatter.number(args.count)} \\xf6ge se\\xe7ildi`\n })}.`,\n \"selectedItem\": (args)=>`${args.item} se\\xe7ildi.`\n};\n\n\nexport {$d7b534ebde677c3f$exports as default};\n//# sourceMappingURL=tr-TR.mjs.map\n","var $6bfd9245cbb46b69$exports = {};\n$6bfd9245cbb46b69$exports = {\n \"deselectedItem\": (args)=>`${args.item} \\u{43D}\\u{435} \\u{432}\\u{438}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{43E}.`,\n \"longPressToSelect\": `\\u{412}\\u{438}\\u{43A}\\u{43E}\\u{43D}\\u{430}\\u{439}\\u{442}\\u{435} \\u{434}\\u{43E}\\u{432}\\u{433}\\u{435} \\u{43D}\\u{430}\\u{442}\\u{438}\\u{441}\\u{43D}\\u{435}\\u{43D}\\u{43D}\\u{44F}, \\u{449}\\u{43E}\\u{431} \\u{43F}\\u{435}\\u{440}\\u{435}\\u{439}\\u{442}\\u{438} \\u{432} \\u{440}\\u{435}\\u{436}\\u{438}\\u{43C} \\u{432}\\u{438}\\u{431}\\u{43E}\\u{440}\\u{443}.`,\n \"select\": `\\u{412}\\u{438}\\u{431}\\u{440}\\u{430}\\u{442}\\u{438}`,\n \"selectedAll\": `\\u{423}\\u{441}\\u{456} \\u{435}\\u{43B}\\u{435}\\u{43C}\\u{435}\\u{43D}\\u{442}\\u{438} \\u{432}\\u{438}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{43E}.`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `\\u{416}\\u{43E}\\u{434}\\u{43D}\\u{438}\\u{445} \\u{435}\\u{43B}\\u{435}\\u{43C}\\u{435}\\u{43D}\\u{442}\\u{456}\\u{432} \\u{43D}\\u{435} \\u{432}\\u{438}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{43E}`,\n one: ()=>`${formatter.number(args.count)} \\u{435}\\u{43B}\\u{435}\\u{43C}\\u{435}\\u{43D}\\u{442} \\u{432}\\u{438}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{43E}`,\n other: ()=>`\\u{412}\\u{438}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{43E} \\u{435}\\u{43B}\\u{435}\\u{43C}\\u{435}\\u{43D}\\u{442}\\u{456}\\u{432}: ${formatter.number(args.count)}`\n })}.`,\n \"selectedItem\": (args)=>`${args.item} \\u{432}\\u{438}\\u{431}\\u{440}\\u{430}\\u{43D}\\u{43E}.`\n};\n\n\nexport {$6bfd9245cbb46b69$exports as default};\n//# sourceMappingURL=uk-UA.mjs.map\n","var $e2dc74d09d9623e5$exports = {};\n$e2dc74d09d9623e5$exports = {\n \"deselectedItem\": (args)=>`\\u{672A}\\u{9009}\\u{62E9} ${args.item}\\u{3002}`,\n \"longPressToSelect\": `\\u{957F}\\u{6309}\\u{4EE5}\\u{8FDB}\\u{5165}\\u{9009}\\u{62E9}\\u{6A21}\\u{5F0F}\\u{3002}`,\n \"select\": `\\u{9009}\\u{62E9}`,\n \"selectedAll\": `\\u{5DF2}\\u{9009}\\u{62E9}\\u{6240}\\u{6709}\\u{9879}\\u{76EE}\\u{3002}`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `\\u{672A}\\u{9009}\\u{62E9}\\u{9879}\\u{76EE}`,\n one: ()=>`\\u{5DF2}\\u{9009}\\u{62E9} ${formatter.number(args.count)} \\u{4E2A}\\u{9879}\\u{76EE}`,\n other: ()=>`\\u{5DF2}\\u{9009}\\u{62E9} ${formatter.number(args.count)} \\u{4E2A}\\u{9879}\\u{76EE}`\n })}\\u{3002}`,\n \"selectedItem\": (args)=>`\\u{5DF2}\\u{9009}\\u{62E9} ${args.item}\\u{3002}`\n};\n\n\nexport {$e2dc74d09d9623e5$exports as default};\n//# sourceMappingURL=zh-CN.mjs.map\n","var $1eb4dc0eb641ddfa$exports = {};\n$1eb4dc0eb641ddfa$exports = {\n \"deselectedItem\": (args)=>`\\u{672A}\\u{9078}\\u{53D6}\\u{300C}${args.item}\\u{300D}\\u{3002}`,\n \"longPressToSelect\": `\\u{9577}\\u{6309}\\u{4EE5}\\u{9032}\\u{5165}\\u{9078}\\u{64C7}\\u{6A21}\\u{5F0F}\\u{3002}`,\n \"select\": `\\u{9078}\\u{53D6}`,\n \"selectedAll\": `\\u{5DF2}\\u{9078}\\u{53D6}\\u{6240}\\u{6709}\\u{9805}\\u{76EE}\\u{3002}`,\n \"selectedCount\": (args, formatter)=>`${formatter.plural(args.count, {\n \"=0\": `\\u{672A}\\u{9078}\\u{53D6}\\u{4EFB}\\u{4F55}\\u{9805}\\u{76EE}`,\n one: ()=>`\\u{5DF2}\\u{9078}\\u{53D6} ${formatter.number(args.count)} \\u{500B}\\u{9805}\\u{76EE}`,\n other: ()=>`\\u{5DF2}\\u{9078}\\u{53D6} ${formatter.number(args.count)} \\u{500B}\\u{9805}\\u{76EE}`\n })}\\u{3002}`,\n \"selectedItem\": (args)=>`\\u{5DF2}\\u{9078}\\u{53D6}\\u{300C}${args.item}\\u{300D}\\u{3002}`\n};\n\n\nexport {$1eb4dc0eb641ddfa$exports as default};\n//# sourceMappingURL=zh-TW.mjs.map\n","import $1WZhY$intlgridarAEmjs from \"../intl/grid/ar-AE.mjs\";\nimport $1WZhY$intlgridbgBGmjs from \"../intl/grid/bg-BG.mjs\";\nimport $1WZhY$intlgridcsCZmjs from \"../intl/grid/cs-CZ.mjs\";\nimport $1WZhY$intlgriddaDKmjs from \"../intl/grid/da-DK.mjs\";\nimport $1WZhY$intlgriddeDEmjs from \"../intl/grid/de-DE.mjs\";\nimport $1WZhY$intlgridelGRmjs from \"../intl/grid/el-GR.mjs\";\nimport $1WZhY$intlgridenUSmjs from \"../intl/grid/en-US.mjs\";\nimport $1WZhY$intlgridesESmjs from \"../intl/grid/es-ES.mjs\";\nimport $1WZhY$intlgridetEEmjs from \"../intl/grid/et-EE.mjs\";\nimport $1WZhY$intlgridfiFImjs from \"../intl/grid/fi-FI.mjs\";\nimport $1WZhY$intlgridfrFRmjs from \"../intl/grid/fr-FR.mjs\";\nimport $1WZhY$intlgridheILmjs from \"../intl/grid/he-IL.mjs\";\nimport $1WZhY$intlgridhrHRmjs from \"../intl/grid/hr-HR.mjs\";\nimport $1WZhY$intlgridhuHUmjs from \"../intl/grid/hu-HU.mjs\";\nimport $1WZhY$intlgriditITmjs from \"../intl/grid/it-IT.mjs\";\nimport $1WZhY$intlgridjaJPmjs from \"../intl/grid/ja-JP.mjs\";\nimport $1WZhY$intlgridkoKRmjs from \"../intl/grid/ko-KR.mjs\";\nimport $1WZhY$intlgridltLTmjs from \"../intl/grid/lt-LT.mjs\";\nimport $1WZhY$intlgridlvLVmjs from \"../intl/grid/lv-LV.mjs\";\nimport $1WZhY$intlgridnbNOmjs from \"../intl/grid/nb-NO.mjs\";\nimport $1WZhY$intlgridnlNLmjs from \"../intl/grid/nl-NL.mjs\";\nimport $1WZhY$intlgridplPLmjs from \"../intl/grid/pl-PL.mjs\";\nimport $1WZhY$intlgridptBRmjs from \"../intl/grid/pt-BR.mjs\";\nimport $1WZhY$intlgridptPTmjs from \"../intl/grid/pt-PT.mjs\";\nimport $1WZhY$intlgridroROmjs from \"../intl/grid/ro-RO.mjs\";\nimport $1WZhY$intlgridruRUmjs from \"../intl/grid/ru-RU.mjs\";\nimport $1WZhY$intlgridskSKmjs from \"../intl/grid/sk-SK.mjs\";\nimport $1WZhY$intlgridslSImjs from \"../intl/grid/sl-SI.mjs\";\nimport $1WZhY$intlgridsrSPmjs from \"../intl/grid/sr-SP.mjs\";\nimport $1WZhY$intlgridsvSEmjs from \"../intl/grid/sv-SE.mjs\";\nimport $1WZhY$intlgridtrTRmjs from \"../intl/grid/tr-TR.mjs\";\nimport $1WZhY$intlgridukUAmjs from \"../intl/grid/uk-UA.mjs\";\nimport $1WZhY$intlgridzhCNmjs from \"../intl/grid/zh-CN.mjs\";\nimport $1WZhY$intlgridzhTWmjs from \"../intl/grid/zh-TW.mjs\";\n\nvar $f0d3402d161c642d$exports = {};\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n$f0d3402d161c642d$exports = {\n \"ar-AE\": $1WZhY$intlgridarAEmjs,\n \"bg-BG\": $1WZhY$intlgridbgBGmjs,\n \"cs-CZ\": $1WZhY$intlgridcsCZmjs,\n \"da-DK\": $1WZhY$intlgriddaDKmjs,\n \"de-DE\": $1WZhY$intlgriddeDEmjs,\n \"el-GR\": $1WZhY$intlgridelGRmjs,\n \"en-US\": $1WZhY$intlgridenUSmjs,\n \"es-ES\": $1WZhY$intlgridesESmjs,\n \"et-EE\": $1WZhY$intlgridetEEmjs,\n \"fi-FI\": $1WZhY$intlgridfiFImjs,\n \"fr-FR\": $1WZhY$intlgridfrFRmjs,\n \"he-IL\": $1WZhY$intlgridheILmjs,\n \"hr-HR\": $1WZhY$intlgridhrHRmjs,\n \"hu-HU\": $1WZhY$intlgridhuHUmjs,\n \"it-IT\": $1WZhY$intlgriditITmjs,\n \"ja-JP\": $1WZhY$intlgridjaJPmjs,\n \"ko-KR\": $1WZhY$intlgridkoKRmjs,\n \"lt-LT\": $1WZhY$intlgridltLTmjs,\n \"lv-LV\": $1WZhY$intlgridlvLVmjs,\n \"nb-NO\": $1WZhY$intlgridnbNOmjs,\n \"nl-NL\": $1WZhY$intlgridnlNLmjs,\n \"pl-PL\": $1WZhY$intlgridplPLmjs,\n \"pt-BR\": $1WZhY$intlgridptBRmjs,\n \"pt-PT\": $1WZhY$intlgridptPTmjs,\n \"ro-RO\": $1WZhY$intlgridroROmjs,\n \"ru-RU\": $1WZhY$intlgridruRUmjs,\n \"sk-SK\": $1WZhY$intlgridskSKmjs,\n \"sl-SI\": $1WZhY$intlgridslSImjs,\n \"sr-SP\": $1WZhY$intlgridsrSPmjs,\n \"sv-SE\": $1WZhY$intlgridsvSEmjs,\n \"tr-TR\": $1WZhY$intlgridtrTRmjs,\n \"uk-UA\": $1WZhY$intlgridukUAmjs,\n \"zh-CN\": $1WZhY$intlgridzhCNmjs,\n \"zh-TW\": $1WZhY$intlgridzhTWmjs\n};\n\n\nexport {$f0d3402d161c642d$exports as default};\n//# sourceMappingURL=intlStrings.mjs.map\n","import {announce as $a46cf152bb926da5$export$a9b970dcc4ae71a9} from \"../live-announcer/LiveAnnouncer.mjs\";\nimport $dKyQQ$intlStringsmjs from \"./intlStrings.mjs\";\nimport {useLocalizedStringFormatter as $cf2482eff2eeeec2$export$f12b703ca79dfbb1} from \"../i18n/useLocalizedStringFormatter.mjs\";\nimport {useUpdateEffect as $3c71b1595a147f24$export$496315a1608d9602} from \"../utils/useUpdateEffect.mjs\";\nimport {useRef as $dKyQQ$useRef, useCallback as $dKyQQ$useCallback} from \"react\";\n\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\nfunction $2b2556a8276954c1$export$137e594ef3218a10(props, state) {\n let { getRowText: getRowText = (key)=>state.collection.getTextValue?.(key) ?? state.collection.getItem(key)?.textValue } = props;\n let stringFormatter = (0, $cf2482eff2eeeec2$export$f12b703ca79dfbb1)((0, ($parcel$interopDefault($dKyQQ$intlStringsmjs))), '@react-aria/grid');\n // Many screen readers do not announce when items in a grid are selected/deselected.\n // We do this using an ARIA live region.\n let selection = state.selectionManager.rawSelection;\n let lastSelection = (0, $dKyQQ$useRef)(selection);\n let announceSelectionChange = (0, $dKyQQ$useCallback)(()=>{\n if (!state.selectionManager.isFocused || selection === lastSelection.current) {\n lastSelection.current = selection;\n return;\n }\n let addedKeys = $2b2556a8276954c1$var$diffSelection(selection, lastSelection.current);\n let removedKeys = $2b2556a8276954c1$var$diffSelection(lastSelection.current, selection);\n // If adding or removing a single row from the selection, announce the name of that item.\n let isReplace = state.selectionManager.selectionBehavior === 'replace';\n let messages = [];\n if (state.selectionManager.selectedKeys.size === 1 && isReplace) {\n let firstKey = state.selectionManager.selectedKeys.keys().next().value;\n if (firstKey != null && state.collection.getItem(firstKey)) {\n let currentSelectionText = getRowText(firstKey);\n if (currentSelectionText) messages.push(stringFormatter.format('selectedItem', {\n item: currentSelectionText\n }));\n }\n } else if (addedKeys.size === 1 && removedKeys.size === 0) {\n let firstKey = addedKeys.keys().next().value;\n if (firstKey != null) {\n let addedText = getRowText(firstKey);\n if (addedText) messages.push(stringFormatter.format('selectedItem', {\n item: addedText\n }));\n }\n } else if (removedKeys.size === 1 && addedKeys.size === 0) {\n let firstKey = removedKeys.keys().next().value;\n if (firstKey != null && state.collection.getItem(firstKey)) {\n let removedText = getRowText(firstKey);\n if (removedText) messages.push(stringFormatter.format('deselectedItem', {\n item: removedText\n }));\n }\n }\n // Announce how many items are selected, except when selecting the first item.\n if (state.selectionManager.selectionMode === 'multiple') {\n if (messages.length === 0 || selection === 'all' || selection.size > 1 || lastSelection.current === 'all' || lastSelection.current?.size > 1) messages.push(selection === 'all' ? stringFormatter.format('selectedAll') : stringFormatter.format('selectedCount', {\n count: selection.size\n }));\n }\n if (messages.length > 0) (0, $a46cf152bb926da5$export$a9b970dcc4ae71a9)(messages.join(' '));\n lastSelection.current = selection;\n }, [\n selection,\n state.selectionManager.selectedKeys,\n state.selectionManager.isFocused,\n state.selectionManager.selectionBehavior,\n state.selectionManager.selectionMode,\n state.collection,\n getRowText,\n stringFormatter\n ]);\n // useUpdateEffect will handle using useEffectEvent, no need to stabilize anything on this end\n (0, $3c71b1595a147f24$export$496315a1608d9602)(()=>{\n if (state.selectionManager.isFocused) announceSelectionChange();\n else {\n // Wait a frame in case the collection is about to become focused (e.g. on mouse down).\n let raf = requestAnimationFrame(announceSelectionChange);\n return ()=>cancelAnimationFrame(raf);\n }\n }, [\n selection,\n state.selectionManager.isFocused\n ]);\n}\nfunction $2b2556a8276954c1$var$diffSelection(a, b) {\n let res = new Set();\n if (a === 'all' || b === 'all') return res;\n for (let key of a.keys())if (!b.has(key)) res.add(key);\n return res;\n}\n\n\nexport {$2b2556a8276954c1$export$137e594ef3218a10 as useGridSelectionAnnouncement};\n//# sourceMappingURL=useGridSelectionAnnouncement.mjs.map\n","import {getFocusableTreeWalker as $535772f9d2c1f38d$export$2d6ec8fc375ceafa} from \"./FocusScope.mjs\";\nimport {useLayoutEffect as $c4867b2f328c2698$export$e5c5a5f917a5871c} from \"../utils/useLayoutEffect.mjs\";\nimport {useState as $Pt4LU$useState} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nfunction $bf14c9739fda2eb3$export$eac1895992b9f3d6(ref, options) {\n let isDisabled = options?.isDisabled;\n let [hasTabbableChild, setHasTabbableChild] = (0, $Pt4LU$useState)(false);\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n if (ref?.current && !isDisabled) {\n let update = ()=>{\n if (ref.current) {\n let walker = (0, $535772f9d2c1f38d$export$2d6ec8fc375ceafa)(ref.current, {\n tabbable: true\n });\n setHasTabbableChild(!!walker.nextNode());\n }\n };\n update();\n // Update when new elements are inserted, or the tabIndex/disabled attribute updates.\n let observer = new MutationObserver(update);\n observer.observe(ref.current, {\n subtree: true,\n childList: true,\n attributes: true,\n attributeFilter: [\n 'tabIndex',\n 'disabled'\n ]\n });\n return ()=>{\n // Disconnect mutation observer when a React update occurs on the top-level component\n // so we update synchronously after re-rendering. Otherwise React will emit act warnings\n // in tests since mutation observers fire asynchronously. The mutation observer is necessary\n // so we also update if a child component re-renders and adds/removes something tabbable.\n observer.disconnect();\n };\n }\n });\n return isDisabled ? false : hasTabbableChild;\n}\n\n\nexport {$bf14c9739fda2eb3$export$eac1895992b9f3d6 as useHasTabbableChild};\n//# sourceMappingURL=useHasTabbableChild.mjs.map\n","import $cK8Ie$intlStringsmjs from \"./intlStrings.mjs\";\nimport {useDescription as $121970af65029459$export$f8aeda7b10753fa1} from \"../utils/useDescription.mjs\";\nimport {useInteractionModality as $8f5a2122b0992be3$export$98e20ec92f614cfe} from \"../interactions/useFocusVisible.mjs\";\nimport {useLocalizedStringFormatter as $cf2482eff2eeeec2$export$f12b703ca79dfbb1} from \"../i18n/useLocalizedStringFormatter.mjs\";\nimport {useMemo as $cK8Ie$useMemo} from \"react\";\n\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n/*\n * Copyright 2021 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\nfunction $40ae3c60ef0e2e61$export$be42ebdab07ae4c2(props) {\n let stringFormatter = (0, $cf2482eff2eeeec2$export$f12b703ca79dfbb1)((0, ($parcel$interopDefault($cK8Ie$intlStringsmjs))), '@react-aria/grid');\n let modality = (0, $8f5a2122b0992be3$export$98e20ec92f614cfe)();\n // null is the default if the user hasn't interacted with the table at all yet or the rest of the page\n let shouldLongPress = (modality === 'pointer' || modality === 'virtual' || modality == null) && typeof window !== 'undefined' && 'ontouchstart' in window;\n let interactionDescription = (0, $cK8Ie$useMemo)(()=>{\n let selectionMode = props.selectionManager.selectionMode;\n let selectionBehavior = props.selectionManager.selectionBehavior;\n let message;\n if (shouldLongPress) message = stringFormatter.format('longPressToSelect');\n return selectionBehavior === 'replace' && selectionMode !== 'none' && props.hasItemActions ? message : undefined;\n }, [\n props.selectionManager.selectionMode,\n props.selectionManager.selectionBehavior,\n props.hasItemActions,\n stringFormatter,\n shouldLongPress\n ]);\n let descriptionProps = (0, $121970af65029459$export$f8aeda7b10753fa1)(interactionDescription);\n return descriptionProps;\n}\n\n\nexport {$40ae3c60ef0e2e61$export$be42ebdab07ae4c2 as useHighlightSelectionDescription};\n//# sourceMappingURL=useHighlightSelectionDescription.mjs.map\n","import $iU8zV$intlStringsmjs from \"./intlStrings.mjs\";\nimport {useId as $390e54f620492c70$export$f680877a34711e37} from \"../utils/useId.mjs\";\nimport {useLocalizedStringFormatter as $cf2482eff2eeeec2$export$f12b703ca79dfbb1} from \"../i18n/useLocalizedStringFormatter.mjs\";\n\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n\n\n\nfunction $575d7acf5e0b35f6$export$70e2eed1a92976ad(props, state) {\n let { key: key } = props;\n let manager = state.selectionManager;\n let checkboxId = (0, $390e54f620492c70$export$f680877a34711e37)();\n let isDisabled = !state.selectionManager.canSelectItem(key);\n let isSelected = state.selectionManager.isSelected(key);\n // Checkbox should always toggle selection, regardless of selectionBehavior.\n let onChange = ()=>manager.toggleSelection(key);\n const stringFormatter = (0, $cf2482eff2eeeec2$export$f12b703ca79dfbb1)((0, ($parcel$interopDefault($iU8zV$intlStringsmjs))), '@react-aria/grid');\n return {\n checkboxProps: {\n id: checkboxId,\n 'aria-label': stringFormatter.format('select'),\n isSelected: isSelected,\n isDisabled: isDisabled,\n onChange: onChange\n }\n };\n}\n\n\nexport {$575d7acf5e0b35f6$export$70e2eed1a92976ad as useGridSelectionCheckbox};\n//# sourceMappingURL=useGridSelectionCheckbox.mjs.map\n","import {ariaHideOutside as $58196c8d6a1f38fc$export$1c3ebcada18427bf} from \"./ariaHideOutside.mjs\";\nimport {useOverlay as $77844860df94ba23$export$ea8f71083e90600f} from \"./useOverlay.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {useOverlayFocusContain as $d7a937236970dc7f$export$14c98a7594375490} from \"./Overlay.mjs\";\nimport {usePreventScroll as $0644e3663365bfe5$export$ee0f7cc6afcd1c18} from \"./usePreventScroll.mjs\";\nimport {useEffect as $22yBd$useEffect} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\nfunction $5698867baeb53f4e$export$dbc0f175b25fb0fb(props, state, ref) {\n let { overlayProps: overlayProps, underlayProps: underlayProps } = (0, $77844860df94ba23$export$ea8f71083e90600f)({\n ...props,\n isOpen: state.isOpen,\n onClose: state.close\n }, ref);\n (0, $0644e3663365bfe5$export$ee0f7cc6afcd1c18)({\n isDisabled: !state.isOpen\n });\n (0, $d7a937236970dc7f$export$14c98a7594375490)();\n (0, $22yBd$useEffect)(()=>{\n if (state.isOpen && ref.current) return (0, $58196c8d6a1f38fc$export$1c3ebcada18427bf)([\n ref.current\n ], {\n shouldUseInert: true\n });\n }, [\n state.isOpen,\n ref\n ]);\n return {\n modalProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(overlayProps),\n underlayProps: underlayProps\n };\n}\n\n\nexport {$5698867baeb53f4e$export$dbc0f175b25fb0fb as useModalOverlay};\n//# sourceMappingURL=useModalOverlay.mjs.map\n","import {getActiveElement as $23f2114a1b82827e$export$cd4e5573fbe2b576, getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29} from \"./shadowdom/DOMFunctions.mjs\";\nimport {isIOS as $2add3ce32c6007eb$export$fedb369cb70207f1} from \"./platform.mjs\";\nimport {useIsSSR as $c7eafbbe1ea5834e$export$535bd6ca7f90a273} from \"../ssr/SSRProvider.mjs\";\nimport {willOpenKeyboard as $bb39c0fc1c19b34c$export$c57958e35f31ed73} from \"./keyboard.mjs\";\nimport {useState as $99N2Z$useState, useEffect as $99N2Z$useEffect} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\nlet $6066a2c586ade9e1$var$visualViewport = typeof document !== 'undefined' && window.visualViewport;\nfunction $6066a2c586ade9e1$export$d699905dd57c73ca() {\n let isSSR = (0, $c7eafbbe1ea5834e$export$535bd6ca7f90a273)();\n let [size, setSize] = (0, $99N2Z$useState)(()=>isSSR ? {\n width: 0,\n height: 0\n } : $6066a2c586ade9e1$var$getViewportSize());\n (0, $99N2Z$useEffect)(()=>{\n let updateSize = (newSize)=>{\n setSize((size)=>{\n if (newSize.width === size.width && newSize.height === size.height) return size;\n return newSize;\n });\n };\n // Use visualViewport api to track available height even on iOS virtual keyboard opening\n let onResize = ()=>{\n // Ignore updates when zoomed.\n if ($6066a2c586ade9e1$var$visualViewport && $6066a2c586ade9e1$var$visualViewport.scale > 1) return;\n updateSize($6066a2c586ade9e1$var$getViewportSize());\n };\n // When closing the keyboard, iOS does not fire the visual viewport resize event until the animation is complete.\n // We can anticipate this and resize early by handling the blur event and using the layout size.\n let frame;\n let onBlur = (e)=>{\n if ($6066a2c586ade9e1$var$visualViewport && $6066a2c586ade9e1$var$visualViewport.scale > 1) return;\n if ((0, $bb39c0fc1c19b34c$export$c57958e35f31ed73)((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) // Wait one frame to see if a new element gets focused.\n frame = requestAnimationFrame(()=>{\n let activeElement = (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)();\n if (!activeElement || !(0, $bb39c0fc1c19b34c$export$c57958e35f31ed73)(activeElement)) updateSize({\n width: document.documentElement.clientWidth,\n height: document.documentElement.clientHeight\n });\n });\n };\n updateSize($6066a2c586ade9e1$var$getViewportSize());\n if ((0, $2add3ce32c6007eb$export$fedb369cb70207f1)()) window.addEventListener('blur', onBlur, true);\n if (!$6066a2c586ade9e1$var$visualViewport) window.addEventListener('resize', onResize);\n else $6066a2c586ade9e1$var$visualViewport.addEventListener('resize', onResize);\n return ()=>{\n cancelAnimationFrame(frame);\n if ((0, $2add3ce32c6007eb$export$fedb369cb70207f1)()) window.removeEventListener('blur', onBlur, true);\n if (!$6066a2c586ade9e1$var$visualViewport) window.removeEventListener('resize', onResize);\n else $6066a2c586ade9e1$var$visualViewport.removeEventListener('resize', onResize);\n };\n }, []);\n return size;\n}\n/**\n * Get the viewport size without the scrollbar.\n */ function $6066a2c586ade9e1$var$getViewportSize() {\n return {\n // Multiply by the visualViewport scale to get the \"natural\" size, unaffected by pinch zooming.\n width: $6066a2c586ade9e1$var$visualViewport ? // the visual viewport and the document element to ensure that the scrollbar width is always excluded.\n // See: https://github.com/w3c/csswg-drafts/issues/8099\n Math.min($6066a2c586ade9e1$var$visualViewport.width * $6066a2c586ade9e1$var$visualViewport.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,\n height: $6066a2c586ade9e1$var$visualViewport ? $6066a2c586ade9e1$var$visualViewport.height * $6066a2c586ade9e1$var$visualViewport.scale : document.documentElement.clientHeight\n };\n}\n\n\nexport {$6066a2c586ade9e1$export$d699905dd57c73ca as useViewportSize};\n//# sourceMappingURL=useViewportSize.mjs.map\n","import {dom as $7230ffa83bc0c2cf$export$df3a06d6289f983e, Provider as $7230ffa83bc0c2cf$export$2881499e37b75b9a, useContextProps as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, useRenderProps as $7230ffa83bc0c2cf$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport {OverlayTriggerStateContext as $f2ff30fde7b014be$export$d2f961adcb0afbe} from \"./Dialog.mjs\";\nimport {useModalOverlay as $gJBoF$useModalOverlay} from \"react-aria/useModalOverlay\";\nimport {Overlay as $gJBoF$Overlay, DismissButton as $gJBoF$DismissButton} from \"react-aria/Overlay\";\nimport {filterDOMProps as $gJBoF$filterDOMProps} from \"react-aria/filterDOMProps\";\nimport {isScrollable as $gJBoF$isScrollable} from \"react-aria/private/utils/isScrollable\";\nimport {mergeProps as $gJBoF$mergeProps} from \"react-aria/mergeProps\";\nimport {mergeRefs as $gJBoF$mergeRefs} from \"react-aria/mergeRefs\";\nimport {useOverlayTriggerState as $gJBoF$useOverlayTriggerState} from \"react-stately/useOverlayTriggerState\";\nimport $gJBoF$react, {createContext as $gJBoF$createContext, forwardRef as $gJBoF$forwardRef, useContext as $gJBoF$useContext, useRef as $gJBoF$useRef, useMemo as $gJBoF$useMemo} from \"react\";\nimport {useExitAnimation as $gJBoF$useExitAnimation, useEnterAnimation as $gJBoF$useEnterAnimation} from \"react-aria/private/utils/animation\";\nimport {useIsSSR as $gJBoF$useIsSSR} from \"react-aria/SSRProvider\";\nimport {useObjectRef as $gJBoF$useObjectRef} from \"react-aria/useObjectRef\";\nimport {useViewportSize as $gJBoF$useViewportSize} from \"react-aria/private/utils/useViewportSize\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\n\n\n\n\nconst $8b8d26808cb8cb53$export$ab57792b9b6974a6 = /*#__PURE__*/ (0, $gJBoF$createContext)(null);\nconst $8b8d26808cb8cb53$var$InternalModalContext = /*#__PURE__*/ (0, $gJBoF$createContext)(null);\nconst $8b8d26808cb8cb53$export$2b77a92f1a5ad772 = /*#__PURE__*/ (0, $gJBoF$forwardRef)(function Modal(props, ref) {\n let ctx = (0, $gJBoF$useContext)($8b8d26808cb8cb53$var$InternalModalContext);\n if (ctx) {\n if (process.env.NODE_ENV !== 'production' && (props.onOpenChange || props.defaultOpen !== undefined || props.isOpen !== undefined)) {\n // create a list of props that are passed in but not allowed when using an external ModalOverlay\n const invalidSet = new Set([\n 'isDismissable',\n 'isKeyboardDismissDisabled',\n 'isOpen',\n 'defaultOpen',\n 'onOpenChange',\n 'isEntering',\n 'isExiting',\n 'UNSTABLE_portalContainer',\n 'shouldCloseOnInteractOutside'\n ]);\n const invalidProps = Object.keys(props).filter((key)=>invalidSet.has(key));\n console.warn(`This modal is already wrapped in a ModalOverlay, props [${invalidProps.join(', ')}] should be placed on the ModalOverlay instead.`);\n }\n return /*#__PURE__*/ (0, $gJBoF$react).createElement($8b8d26808cb8cb53$var$ModalContent, {\n ...props,\n modalRef: ref\n }, props.children);\n }\n let { isDismissable: isDismissable, isKeyboardDismissDisabled: isKeyboardDismissDisabled, isOpen: isOpen, defaultOpen: defaultOpen, onOpenChange: onOpenChange, children: children, isEntering: isEntering, isExiting: isExiting, UNSTABLE_portalContainer: UNSTABLE_portalContainer, shouldCloseOnInteractOutside: shouldCloseOnInteractOutside, ...otherProps } = props;\n return /*#__PURE__*/ (0, $gJBoF$react).createElement($8b8d26808cb8cb53$export$8948f78d83984c69, {\n isDismissable: isDismissable,\n isKeyboardDismissDisabled: isKeyboardDismissDisabled,\n isOpen: isOpen,\n defaultOpen: defaultOpen,\n onOpenChange: onOpenChange,\n isEntering: isEntering,\n isExiting: isExiting,\n UNSTABLE_portalContainer: UNSTABLE_portalContainer,\n shouldCloseOnInteractOutside: shouldCloseOnInteractOutside\n }, /*#__PURE__*/ (0, $gJBoF$react).createElement($8b8d26808cb8cb53$var$ModalContent, {\n ...otherProps,\n modalRef: ref\n }, children));\n});\nfunction $8b8d26808cb8cb53$var$ModalOverlayWithForwardRef(props, ref) {\n [props, ref] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, $8b8d26808cb8cb53$export$ab57792b9b6974a6);\n let contextState = (0, $gJBoF$useContext)((0, $f2ff30fde7b014be$export$d2f961adcb0afbe));\n let localState = (0, $gJBoF$useOverlayTriggerState)(props);\n let state = props.isOpen != null || props.defaultOpen != null || !contextState ? localState : contextState;\n if (state === contextState) {\n if (process.env.NODE_ENV !== 'production' && (props.onOpenChange || props.defaultOpen !== undefined || props.isOpen !== undefined)) console.warn('This modals state is controlled by a trigger, place onOpenChange on the trigger instead.');\n }\n let objectRef = (0, $gJBoF$useObjectRef)(ref);\n let modalRef = (0, $gJBoF$useRef)(null);\n let isOverlayExiting = (0, $gJBoF$useExitAnimation)(objectRef, state.isOpen);\n let isModalExiting = (0, $gJBoF$useExitAnimation)(modalRef, state.isOpen);\n let isExiting = isOverlayExiting || isModalExiting || props.isExiting || false;\n let isSSR = (0, $gJBoF$useIsSSR)();\n if (!state.isOpen && !isExiting || isSSR) return null;\n return /*#__PURE__*/ (0, $gJBoF$react).createElement($8b8d26808cb8cb53$var$ModalOverlayInner, {\n ...props,\n state: state,\n isExiting: isExiting,\n overlayRef: objectRef,\n modalRef: modalRef\n });\n}\nconst $8b8d26808cb8cb53$export$8948f78d83984c69 = /*#__PURE__*/ (0, $gJBoF$forwardRef)($8b8d26808cb8cb53$var$ModalOverlayWithForwardRef);\nfunction $8b8d26808cb8cb53$var$ModalOverlayInner({ UNSTABLE_portalContainer: UNSTABLE_portalContainer, ...props }) {\n let modalRef = props.modalRef;\n let { state: state } = props;\n let { modalProps: modalProps, underlayProps: underlayProps } = (0, $gJBoF$useModalOverlay)(props, state, modalRef);\n let entering = (0, $gJBoF$useEnterAnimation)(props.overlayRef) || props.isEntering || false;\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...props,\n defaultClassName: 'react-aria-ModalOverlay',\n values: {\n isEntering: entering,\n isExiting: props.isExiting,\n state: state\n }\n });\n let viewport = (0, $gJBoF$useViewportSize)();\n let pageWidth = undefined;\n let pageHeight = undefined;\n if (typeof document !== 'undefined') {\n let scrollingElement = (0, $gJBoF$isScrollable)(document.body) ? document.body : document.scrollingElement || document.documentElement;\n // Prevent Firefox from adding scrollbars when the page has a fractional width/height.\n let fractionalWidthDifference = scrollingElement.getBoundingClientRect().width % 1;\n let fractionalHeightDifference = scrollingElement.getBoundingClientRect().height % 1;\n pageWidth = scrollingElement.scrollWidth - fractionalWidthDifference;\n pageHeight = scrollingElement.scrollHeight - fractionalHeightDifference;\n }\n let style = {\n ...renderProps.style,\n '--visual-viewport-width': viewport.width + 'px',\n '--visual-viewport-height': viewport.height + 'px',\n '--page-width': pageWidth !== undefined ? pageWidth + 'px' : undefined,\n '--page-height': pageHeight !== undefined ? pageHeight + 'px' : undefined\n };\n return /*#__PURE__*/ (0, $gJBoF$react).createElement((0, $gJBoF$Overlay), {\n isExiting: props.isExiting,\n portalContainer: UNSTABLE_portalContainer\n }, /*#__PURE__*/ (0, $gJBoF$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div, {\n ...(0, $gJBoF$mergeProps)((0, $gJBoF$filterDOMProps)(props, {\n global: true\n }), underlayProps),\n ...renderProps,\n style: style,\n ref: props.overlayRef,\n \"data-entering\": entering || undefined,\n \"data-exiting\": props.isExiting || undefined\n }, /*#__PURE__*/ (0, $gJBoF$react).createElement((0, $7230ffa83bc0c2cf$export$2881499e37b75b9a), {\n values: [\n [\n $8b8d26808cb8cb53$var$InternalModalContext,\n {\n modalProps: modalProps,\n modalRef: modalRef,\n isExiting: props.isExiting,\n isDismissable: props.isDismissable\n }\n ],\n [\n (0, $f2ff30fde7b014be$export$d2f961adcb0afbe),\n state\n ]\n ]\n }, renderProps.children)));\n}\nfunction $8b8d26808cb8cb53$var$ModalContent(props) {\n let { modalProps: modalProps, modalRef: modalRef, isExiting: isExiting, isDismissable: isDismissable } = (0, $gJBoF$useContext)($8b8d26808cb8cb53$var$InternalModalContext);\n let state = (0, $gJBoF$useContext)((0, $f2ff30fde7b014be$export$d2f961adcb0afbe));\n let mergedRefs = (0, $gJBoF$useMemo)(()=>(0, $gJBoF$mergeRefs)(props.modalRef, modalRef), [\n props.modalRef,\n modalRef\n ]);\n let ref = (0, $gJBoF$useObjectRef)(mergedRefs);\n let entering = (0, $gJBoF$useEnterAnimation)(ref);\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...props,\n defaultClassName: 'react-aria-Modal',\n values: {\n isEntering: entering,\n isExiting: isExiting,\n state: state\n }\n });\n return /*#__PURE__*/ (0, $gJBoF$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div, {\n ...(0, $gJBoF$mergeProps)((0, $gJBoF$filterDOMProps)(props, {\n global: true\n }), modalProps),\n ...renderProps,\n ref: ref,\n \"data-entering\": entering || undefined,\n \"data-exiting\": isExiting || undefined\n }, isDismissable && /*#__PURE__*/ (0, $gJBoF$react).createElement((0, $gJBoF$DismissButton), {\n onDismiss: state.close\n }), renderProps.children);\n}\n\n\nexport {$8b8d26808cb8cb53$export$ab57792b9b6974a6 as ModalContext, $8b8d26808cb8cb53$export$2b77a92f1a5ad772 as Modal, $8b8d26808cb8cb53$export$8948f78d83984c69 as ModalOverlay};\n//# sourceMappingURL=Modal.mjs.map\n","var $144b40583c9847c5$exports = {};\n$144b40583c9847c5$exports = {\n \"Clear search\": `\\u{645}\\u{633}\\u{62D} \\u{627}\\u{644}\\u{628}\\u{62D}\\u{62B}`\n};\n\n\nexport {$144b40583c9847c5$exports as default};\n//# sourceMappingURL=ar-AE.mjs.map\n","var $f7ac89ad9c1c6708$exports = {};\n$f7ac89ad9c1c6708$exports = {\n \"Clear search\": `\\u{418}\\u{437}\\u{447}\\u{438}\\u{441}\\u{442}\\u{432}\\u{430}\\u{43D}\\u{435} \\u{43D}\\u{430} \\u{442}\\u{44A}\\u{440}\\u{441}\\u{435}\\u{43D}\\u{435}`\n};\n\n\nexport {$f7ac89ad9c1c6708$exports as default};\n//# sourceMappingURL=bg-BG.mjs.map\n","var $b5d80d3b86cad359$exports = {};\n$b5d80d3b86cad359$exports = {\n \"Clear search\": `Vymazat hled\\xe1n\\xed`\n};\n\n\nexport {$b5d80d3b86cad359$exports as default};\n//# sourceMappingURL=cs-CZ.mjs.map\n","var $7bc76068ce4c3b7e$exports = {};\n$7bc76068ce4c3b7e$exports = {\n \"Clear search\": `Ryd s\\xf8gning`\n};\n\n\nexport {$7bc76068ce4c3b7e$exports as default};\n//# sourceMappingURL=da-DK.mjs.map\n","var $ccd90980ce76d396$exports = {};\n$ccd90980ce76d396$exports = {\n \"Clear search\": `Suche zur\\xfccksetzen`\n};\n\n\nexport {$ccd90980ce76d396$exports as default};\n//# sourceMappingURL=de-DE.mjs.map\n","var $ad9b187d34fdd225$exports = {};\n$ad9b187d34fdd225$exports = {\n \"Clear search\": `\\u{391}\\u{3C0}\\u{3B1}\\u{3BB}\\u{3BF}\\u{3B9}\\u{3C6}\\u{3AE} \\u{3B1}\\u{3BD}\\u{3B1}\\u{3B6}\\u{3AE}\\u{3C4}\\u{3B7}\\u{3C3}\\u{3B7}\\u{3C2}`\n};\n\n\nexport {$ad9b187d34fdd225$exports as default};\n//# sourceMappingURL=el-GR.mjs.map\n","var $0b5fc13def2a30c7$exports = {};\n$0b5fc13def2a30c7$exports = {\n \"Clear search\": `Clear search`\n};\n\n\nexport {$0b5fc13def2a30c7$exports as default};\n//# sourceMappingURL=en-US.mjs.map\n","var $e35f8fb6c3f9e97c$exports = {};\n$e35f8fb6c3f9e97c$exports = {\n \"Clear search\": `Borrar b\\xfasqueda`\n};\n\n\nexport {$e35f8fb6c3f9e97c$exports as default};\n//# sourceMappingURL=es-ES.mjs.map\n","var $40e49c6c9e6fa358$exports = {};\n$40e49c6c9e6fa358$exports = {\n \"Clear search\": `T\\xfchjenda otsing`\n};\n\n\nexport {$40e49c6c9e6fa358$exports as default};\n//# sourceMappingURL=et-EE.mjs.map\n","var $a4988accc5a2bbb9$exports = {};\n$a4988accc5a2bbb9$exports = {\n \"Clear search\": `Tyhjenn\\xe4 haku`\n};\n\n\nexport {$a4988accc5a2bbb9$exports as default};\n//# sourceMappingURL=fi-FI.mjs.map\n","var $edce3ce0bbac84b4$exports = {};\n$edce3ce0bbac84b4$exports = {\n \"Clear search\": `Effacer la recherche`\n};\n\n\nexport {$edce3ce0bbac84b4$exports as default};\n//# sourceMappingURL=fr-FR.mjs.map\n","var $879d66a4ec6ff3f5$exports = {};\n$879d66a4ec6ff3f5$exports = {\n \"Clear search\": `\\u{5E0}\\u{5E7}\\u{5D4} \\u{5D7}\\u{5D9}\\u{5E4}\\u{5D5}\\u{5E9}`\n};\n\n\nexport {$879d66a4ec6ff3f5$exports as default};\n//# sourceMappingURL=he-IL.mjs.map\n","var $c1852d2398baa2ff$exports = {};\n$c1852d2398baa2ff$exports = {\n \"Clear search\": `Obri\\u{161}i pretragu`\n};\n\n\nexport {$c1852d2398baa2ff$exports as default};\n//# sourceMappingURL=hr-HR.mjs.map\n","var $970538d6c6329605$exports = {};\n$970538d6c6329605$exports = {\n \"Clear search\": `Keres\\xe9s t\\xf6rl\\xe9se`\n};\n\n\nexport {$970538d6c6329605$exports as default};\n//# sourceMappingURL=hu-HU.mjs.map\n","var $508544fa08cae44d$exports = {};\n$508544fa08cae44d$exports = {\n \"Clear search\": `Cancella ricerca`\n};\n\n\nexport {$508544fa08cae44d$exports as default};\n//# sourceMappingURL=it-IT.mjs.map\n","var $e6be46486a51c27f$exports = {};\n$e6be46486a51c27f$exports = {\n \"Clear search\": `\\u{691C}\\u{7D22}\\u{3092}\\u{30AF}\\u{30EA}\\u{30A2}`\n};\n\n\nexport {$e6be46486a51c27f$exports as default};\n//# sourceMappingURL=ja-JP.mjs.map\n","var $aca782271fda5aaa$exports = {};\n$aca782271fda5aaa$exports = {\n \"Clear search\": `\\u{AC80}\\u{C0C9} \\u{C9C0}\\u{C6B0}\\u{AE30}`\n};\n\n\nexport {$aca782271fda5aaa$exports as default};\n//# sourceMappingURL=ko-KR.mjs.map\n","var $3bf9ad93c1aad52f$exports = {};\n$3bf9ad93c1aad52f$exports = {\n \"Clear search\": `I\\u{161}valyti ie\\u{161}k\\u{105}`\n};\n\n\nexport {$3bf9ad93c1aad52f$exports as default};\n//# sourceMappingURL=lt-LT.mjs.map\n","var $f648321ae94b8ad5$exports = {};\n$f648321ae94b8ad5$exports = {\n \"Clear search\": `Not\\u{12B}r\\u{12B}t mekl\\u{113}\\u{161}anu`\n};\n\n\nexport {$f648321ae94b8ad5$exports as default};\n//# sourceMappingURL=lv-LV.mjs.map\n","var $656f1a37422df52a$exports = {};\n$656f1a37422df52a$exports = {\n \"Clear search\": `T\\xf8m s\\xf8k`\n};\n\n\nexport {$656f1a37422df52a$exports as default};\n//# sourceMappingURL=nb-NO.mjs.map\n","var $82eacc9a6cad8168$exports = {};\n$82eacc9a6cad8168$exports = {\n \"Clear search\": `Zoekactie wissen`\n};\n\n\nexport {$82eacc9a6cad8168$exports as default};\n//# sourceMappingURL=nl-NL.mjs.map\n","var $9af183cfb2cb9094$exports = {};\n$9af183cfb2cb9094$exports = {\n \"Clear search\": `Wyczy\\u{15B}\\u{107} zawarto\\u{15B}\\u{107} wyszukiwania`\n};\n\n\nexport {$9af183cfb2cb9094$exports as default};\n//# sourceMappingURL=pl-PL.mjs.map\n","var $53e95c7b6521e26c$exports = {};\n$53e95c7b6521e26c$exports = {\n \"Clear search\": `Limpar pesquisa`\n};\n\n\nexport {$53e95c7b6521e26c$exports as default};\n//# sourceMappingURL=pt-BR.mjs.map\n","var $ab35ca149e74c27f$exports = {};\n$ab35ca149e74c27f$exports = {\n \"Clear search\": `Limpar pesquisa`\n};\n\n\nexport {$ab35ca149e74c27f$exports as default};\n//# sourceMappingURL=pt-PT.mjs.map\n","var $09af5659fa5d1530$exports = {};\n$09af5659fa5d1530$exports = {\n \"Clear search\": `\\u{15E}terge\\u{163}i c\\u{103}utarea`\n};\n\n\nexport {$09af5659fa5d1530$exports as default};\n//# sourceMappingURL=ro-RO.mjs.map\n","var $bab267b77ddeadf8$exports = {};\n$bab267b77ddeadf8$exports = {\n \"Clear search\": `\\u{41E}\\u{447}\\u{438}\\u{441}\\u{442}\\u{438}\\u{442}\\u{44C} \\u{43F}\\u{43E}\\u{438}\\u{441}\\u{43A}`\n};\n\n\nexport {$bab267b77ddeadf8$exports as default};\n//# sourceMappingURL=ru-RU.mjs.map\n","var $c42af7093d2ec3f7$exports = {};\n$c42af7093d2ec3f7$exports = {\n \"Clear search\": `Vymaza\\u{165} vyh\\u{13E}ad\\xe1vanie`\n};\n\n\nexport {$c42af7093d2ec3f7$exports as default};\n//# sourceMappingURL=sk-SK.mjs.map\n","var $79a999abfc605712$exports = {};\n$79a999abfc605712$exports = {\n \"Clear search\": `Po\\u{10D}isti iskanje`\n};\n\n\nexport {$79a999abfc605712$exports as default};\n//# sourceMappingURL=sl-SI.mjs.map\n","var $9790b582a4a31826$exports = {};\n$9790b582a4a31826$exports = {\n \"Clear search\": `Obri\\u{161}i pretragu`\n};\n\n\nexport {$9790b582a4a31826$exports as default};\n//# sourceMappingURL=sr-SP.mjs.map\n","var $f09c5845c732c7f4$exports = {};\n$f09c5845c732c7f4$exports = {\n \"Clear search\": `Rensa s\\xf6kning`\n};\n\n\nexport {$f09c5845c732c7f4$exports as default};\n//# sourceMappingURL=sv-SE.mjs.map\n","var $22573d5058bf9ea8$exports = {};\n$22573d5058bf9ea8$exports = {\n \"Clear search\": `Aramay\\u{131} temizle`\n};\n\n\nexport {$22573d5058bf9ea8$exports as default};\n//# sourceMappingURL=tr-TR.mjs.map\n","var $211addb72c816ef7$exports = {};\n$211addb72c816ef7$exports = {\n \"Clear search\": `\\u{41E}\\u{447}\\u{438}\\u{441}\\u{442}\\u{438}\\u{442}\\u{438} \\u{43F}\\u{43E}\\u{448}\\u{443}\\u{43A}`\n};\n\n\nexport {$211addb72c816ef7$exports as default};\n//# sourceMappingURL=uk-UA.mjs.map\n","var $8eeb1c35d0764ab5$exports = {};\n$8eeb1c35d0764ab5$exports = {\n \"Clear search\": `\\u{6E05}\\u{9664}\\u{641C}\\u{7D22}`\n};\n\n\nexport {$8eeb1c35d0764ab5$exports as default};\n//# sourceMappingURL=zh-CN.mjs.map\n","var $d63da6b1e3b1db3a$exports = {};\n$d63da6b1e3b1db3a$exports = {\n \"Clear search\": `\\u{6E05}\\u{9664}\\u{641C}\\u{5C0B}\\u{689D}\\u{4EF6}`\n};\n\n\nexport {$d63da6b1e3b1db3a$exports as default};\n//# sourceMappingURL=zh-TW.mjs.map\n","import $dHW54$intlsearchfieldarAEmjs from \"../intl/searchfield/ar-AE.mjs\";\nimport $dHW54$intlsearchfieldbgBGmjs from \"../intl/searchfield/bg-BG.mjs\";\nimport $dHW54$intlsearchfieldcsCZmjs from \"../intl/searchfield/cs-CZ.mjs\";\nimport $dHW54$intlsearchfielddaDKmjs from \"../intl/searchfield/da-DK.mjs\";\nimport $dHW54$intlsearchfielddeDEmjs from \"../intl/searchfield/de-DE.mjs\";\nimport $dHW54$intlsearchfieldelGRmjs from \"../intl/searchfield/el-GR.mjs\";\nimport $dHW54$intlsearchfieldenUSmjs from \"../intl/searchfield/en-US.mjs\";\nimport $dHW54$intlsearchfieldesESmjs from \"../intl/searchfield/es-ES.mjs\";\nimport $dHW54$intlsearchfieldetEEmjs from \"../intl/searchfield/et-EE.mjs\";\nimport $dHW54$intlsearchfieldfiFImjs from \"../intl/searchfield/fi-FI.mjs\";\nimport $dHW54$intlsearchfieldfrFRmjs from \"../intl/searchfield/fr-FR.mjs\";\nimport $dHW54$intlsearchfieldheILmjs from \"../intl/searchfield/he-IL.mjs\";\nimport $dHW54$intlsearchfieldhrHRmjs from \"../intl/searchfield/hr-HR.mjs\";\nimport $dHW54$intlsearchfieldhuHUmjs from \"../intl/searchfield/hu-HU.mjs\";\nimport $dHW54$intlsearchfielditITmjs from \"../intl/searchfield/it-IT.mjs\";\nimport $dHW54$intlsearchfieldjaJPmjs from \"../intl/searchfield/ja-JP.mjs\";\nimport $dHW54$intlsearchfieldkoKRmjs from \"../intl/searchfield/ko-KR.mjs\";\nimport $dHW54$intlsearchfieldltLTmjs from \"../intl/searchfield/lt-LT.mjs\";\nimport $dHW54$intlsearchfieldlvLVmjs from \"../intl/searchfield/lv-LV.mjs\";\nimport $dHW54$intlsearchfieldnbNOmjs from \"../intl/searchfield/nb-NO.mjs\";\nimport $dHW54$intlsearchfieldnlNLmjs from \"../intl/searchfield/nl-NL.mjs\";\nimport $dHW54$intlsearchfieldplPLmjs from \"../intl/searchfield/pl-PL.mjs\";\nimport $dHW54$intlsearchfieldptBRmjs from \"../intl/searchfield/pt-BR.mjs\";\nimport $dHW54$intlsearchfieldptPTmjs from \"../intl/searchfield/pt-PT.mjs\";\nimport $dHW54$intlsearchfieldroROmjs from \"../intl/searchfield/ro-RO.mjs\";\nimport $dHW54$intlsearchfieldruRUmjs from \"../intl/searchfield/ru-RU.mjs\";\nimport $dHW54$intlsearchfieldskSKmjs from \"../intl/searchfield/sk-SK.mjs\";\nimport $dHW54$intlsearchfieldslSImjs from \"../intl/searchfield/sl-SI.mjs\";\nimport $dHW54$intlsearchfieldsrSPmjs from \"../intl/searchfield/sr-SP.mjs\";\nimport $dHW54$intlsearchfieldsvSEmjs from \"../intl/searchfield/sv-SE.mjs\";\nimport $dHW54$intlsearchfieldtrTRmjs from \"../intl/searchfield/tr-TR.mjs\";\nimport $dHW54$intlsearchfieldukUAmjs from \"../intl/searchfield/uk-UA.mjs\";\nimport $dHW54$intlsearchfieldzhCNmjs from \"../intl/searchfield/zh-CN.mjs\";\nimport $dHW54$intlsearchfieldzhTWmjs from \"../intl/searchfield/zh-TW.mjs\";\n\nvar $cb1bf3901ab9f046$exports = {};\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n$cb1bf3901ab9f046$exports = {\n \"ar-AE\": $dHW54$intlsearchfieldarAEmjs,\n \"bg-BG\": $dHW54$intlsearchfieldbgBGmjs,\n \"cs-CZ\": $dHW54$intlsearchfieldcsCZmjs,\n \"da-DK\": $dHW54$intlsearchfielddaDKmjs,\n \"de-DE\": $dHW54$intlsearchfielddeDEmjs,\n \"el-GR\": $dHW54$intlsearchfieldelGRmjs,\n \"en-US\": $dHW54$intlsearchfieldenUSmjs,\n \"es-ES\": $dHW54$intlsearchfieldesESmjs,\n \"et-EE\": $dHW54$intlsearchfieldetEEmjs,\n \"fi-FI\": $dHW54$intlsearchfieldfiFImjs,\n \"fr-FR\": $dHW54$intlsearchfieldfrFRmjs,\n \"he-IL\": $dHW54$intlsearchfieldheILmjs,\n \"hr-HR\": $dHW54$intlsearchfieldhrHRmjs,\n \"hu-HU\": $dHW54$intlsearchfieldhuHUmjs,\n \"it-IT\": $dHW54$intlsearchfielditITmjs,\n \"ja-JP\": $dHW54$intlsearchfieldjaJPmjs,\n \"ko-KR\": $dHW54$intlsearchfieldkoKRmjs,\n \"lt-LT\": $dHW54$intlsearchfieldltLTmjs,\n \"lv-LV\": $dHW54$intlsearchfieldlvLVmjs,\n \"nb-NO\": $dHW54$intlsearchfieldnbNOmjs,\n \"nl-NL\": $dHW54$intlsearchfieldnlNLmjs,\n \"pl-PL\": $dHW54$intlsearchfieldplPLmjs,\n \"pt-BR\": $dHW54$intlsearchfieldptBRmjs,\n \"pt-PT\": $dHW54$intlsearchfieldptPTmjs,\n \"ro-RO\": $dHW54$intlsearchfieldroROmjs,\n \"ru-RU\": $dHW54$intlsearchfieldruRUmjs,\n \"sk-SK\": $dHW54$intlsearchfieldskSKmjs,\n \"sl-SI\": $dHW54$intlsearchfieldslSImjs,\n \"sr-SP\": $dHW54$intlsearchfieldsrSPmjs,\n \"sv-SE\": $dHW54$intlsearchfieldsvSEmjs,\n \"tr-TR\": $dHW54$intlsearchfieldtrTRmjs,\n \"uk-UA\": $dHW54$intlsearchfieldukUAmjs,\n \"zh-CN\": $dHW54$intlsearchfieldzhCNmjs,\n \"zh-TW\": $dHW54$intlsearchfieldzhTWmjs\n};\n\n\nexport {$cb1bf3901ab9f046$exports as default};\n//# sourceMappingURL=intlStrings.mjs.map\n","import {useTextField as $054f71d2330da2e3$export$712718f7aec83d5} from \"../textfield/useTextField.mjs\";\nimport {chain as $a4e76a5424781910$export$e08e3b67e392101e} from \"../utils/chain.mjs\";\nimport $kb1Sb$intlStringsmjs from \"./intlStrings.mjs\";\nimport {useLocalizedStringFormatter as $cf2482eff2eeeec2$export$f12b703ca79dfbb1} from \"../i18n/useLocalizedStringFormatter.mjs\";\n\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\nfunction $44614525ec969a63$export$9bb30bbe003b82e0(props, state, inputRef) {\n let stringFormatter = (0, $cf2482eff2eeeec2$export$f12b703ca79dfbb1)((0, ($parcel$interopDefault($kb1Sb$intlStringsmjs))), '@react-aria/searchfield');\n let { isDisabled: isDisabled, isReadOnly: isReadOnly, onSubmit: onSubmit, onClear: onClear, type: type = 'search' } = props;\n let onKeyDown = (e)=>{\n const key = e.key;\n if (key === 'Enter' && (isDisabled || isReadOnly)) e.preventDefault();\n if (isDisabled || isReadOnly) return;\n // for backward compatibility;\n // otherwise, \"Enter\" on an input would trigger a form submit, the default browser behavior\n if (key === 'Enter' && onSubmit) {\n e.preventDefault();\n onSubmit(state.value);\n }\n if (key === 'Escape') {\n // Also check the inputRef value for the case where the value was set directly on the input element instead of going through\n // the hook\n if (state.value === '' && (!inputRef.current || inputRef.current.value === '')) e.continuePropagation();\n else {\n e.preventDefault();\n state.setValue('');\n if (onClear) onClear();\n }\n }\n };\n let onClearButtonClick = ()=>{\n state.setValue('');\n if (onClear) onClear();\n };\n let onPressStart = ()=>{\n // this is in PressStart for mobile so that touching the clear button doesn't remove focus from\n // the input and close the keyboard\n inputRef.current?.focus();\n };\n let { labelProps: labelProps, inputProps: inputProps, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps, ...validation } = (0, $054f71d2330da2e3$export$712718f7aec83d5)({\n ...props,\n value: state.value,\n onChange: state.setValue,\n onKeyDown: !isReadOnly ? (0, $a4e76a5424781910$export$e08e3b67e392101e)(onKeyDown, props.onKeyDown) : props.onKeyDown,\n type: type\n }, inputRef);\n return {\n labelProps: labelProps,\n inputProps: {\n ...inputProps,\n // already handled by useSearchFieldState\n defaultValue: undefined\n },\n clearButtonProps: {\n 'aria-label': stringFormatter.format('Clear search'),\n excludeFromTabOrder: true,\n preventFocusOnPress: true,\n isDisabled: isDisabled || isReadOnly,\n onPress: onClearButtonClick,\n onPressStart: onPressStart\n },\n descriptionProps: descriptionProps,\n errorMessageProps: errorMessageProps,\n ...validation\n };\n}\n\n\nexport {$44614525ec969a63$export$9bb30bbe003b82e0 as useSearchField};\n//# sourceMappingURL=useSearchField.mjs.map\n","import {useControlledState as $3e6197669829fe11$export$40bfa8c7b0832715} from \"../utils/useControlledState.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nfunction $56baeede9f35e022$export$3f8be18b0f41eaf2(props) {\n let [value, setValue] = (0, $3e6197669829fe11$export$40bfa8c7b0832715)($56baeede9f35e022$var$toString(props.value), $56baeede9f35e022$var$toString(props.defaultValue) || '', props.onChange);\n return {\n value: value,\n setValue: setValue\n };\n}\nfunction $56baeede9f35e022$var$toString(val) {\n if (val == null) return;\n return val.toString();\n}\n\n\nexport {$56baeede9f35e022$export$3f8be18b0f41eaf2 as useSearchFieldState};\n//# sourceMappingURL=useSearchFieldState.mjs.map\n","import {ButtonContext as $7705c033048f6da7$export$24d547caef80ccd1} from \"./Button.mjs\";\nimport {dom as $7230ffa83bc0c2cf$export$df3a06d6289f983e, Provider as $7230ffa83bc0c2cf$export$2881499e37b75b9a, removeDataAttributes as $7230ffa83bc0c2cf$export$ef03459518577ad4, useContextProps as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, useRenderProps as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, useSlot as $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8, useSlottedContext as $7230ffa83bc0c2cf$export$fabf2dc03a41866e} from \"./utils.mjs\";\nimport {FieldErrorContext as $1f3c3b1a70cec653$export$ff05c3ac10437e03} from \"./FieldError.mjs\";\nimport {FieldInputContext as $4b38b5b75ecc6208$export$698f465ec27e93df} from \"./Autocomplete.mjs\";\nimport {FormContext as $cdaed739b1139372$export$c24727297075ec6a} from \"./Form.mjs\";\nimport {GroupContext as $3a442827418ebe87$export$f9c6924e160136d1} from \"./Group.mjs\";\nimport {InputContext as $41fb335299a4a39e$export$37fb8590cf2c088c} from \"./Input.mjs\";\nimport {LabelContext as $43a3b93638fe5db9$export$75b6ee27786ba447} from \"./Label.mjs\";\nimport {TextContext as $efe09c6d1c304b50$export$9afb8bc826b033ea} from \"./Text.mjs\";\nimport {useSearchField as $gpBJB$useSearchField} from \"react-aria/useSearchField\";\nimport {createHideableComponent as $gpBJB$createHideableComponent} from \"react-aria/private/collections/Hidden\";\nimport {filterDOMProps as $gpBJB$filterDOMProps} from \"react-aria/filterDOMProps\";\nimport $gpBJB$react, {createContext as $gpBJB$createContext, useRef as $gpBJB$useRef} from \"react\";\nimport {useSearchFieldState as $gpBJB$useSearchFieldState} from \"react-stately/useSearchFieldState\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\n\n\n\n\nconst $29a5029ff43c9612$export$d1c4e4c63cb03a11 = /*#__PURE__*/ (0, $gpBJB$createContext)(null);\nconst $29a5029ff43c9612$export$b94867ecbd698f21 = /*#__PURE__*/ (0, $gpBJB$createHideableComponent)(function SearchField(props, ref) {\n [props, ref] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, $29a5029ff43c9612$export$d1c4e4c63cb03a11);\n let { validationBehavior: formValidationBehavior } = (0, $7230ffa83bc0c2cf$export$fabf2dc03a41866e)((0, $cdaed739b1139372$export$c24727297075ec6a)) || {};\n let validationBehavior = props.validationBehavior ?? formValidationBehavior ?? 'native';\n let inputRef = (0, $gpBJB$useRef)(null);\n [props, inputRef] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, inputRef, (0, $4b38b5b75ecc6208$export$698f465ec27e93df));\n let [labelRef, label] = (0, $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8)(!props['aria-label'] && !props['aria-labelledby']);\n let state = (0, $gpBJB$useSearchFieldState)({\n ...props,\n validationBehavior: validationBehavior\n });\n let { labelProps: labelProps, inputProps: inputProps, clearButtonProps: clearButtonProps, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps, ...validation } = (0, $gpBJB$useSearchField)({\n ...(0, $7230ffa83bc0c2cf$export$ef03459518577ad4)(props),\n label: label,\n validationBehavior: validationBehavior\n }, state, inputRef);\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...props,\n values: {\n isEmpty: state.value === '',\n isDisabled: props.isDisabled || false,\n isInvalid: validation.isInvalid || false,\n isReadOnly: props.isReadOnly || false,\n isRequired: props.isRequired || false,\n state: state\n },\n defaultClassName: 'react-aria-SearchField'\n });\n let DOMProps = (0, $gpBJB$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.id;\n return /*#__PURE__*/ (0, $gpBJB$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div, {\n ...DOMProps,\n ...renderProps,\n ref: ref,\n slot: props.slot || undefined,\n \"data-empty\": state.value === '' || undefined,\n \"data-disabled\": props.isDisabled || undefined,\n \"data-invalid\": validation.isInvalid || undefined,\n \"data-readonly\": props.isReadOnly || undefined,\n \"data-required\": props.isRequired || undefined\n }, /*#__PURE__*/ (0, $gpBJB$react).createElement((0, $7230ffa83bc0c2cf$export$2881499e37b75b9a), {\n values: [\n [\n (0, $43a3b93638fe5db9$export$75b6ee27786ba447),\n {\n ...labelProps,\n ref: labelRef\n }\n ],\n [\n (0, $41fb335299a4a39e$export$37fb8590cf2c088c),\n {\n ...inputProps,\n ref: inputRef\n }\n ],\n [\n (0, $7705c033048f6da7$export$24d547caef80ccd1),\n clearButtonProps\n ],\n [\n (0, $efe09c6d1c304b50$export$9afb8bc826b033ea),\n {\n slots: {\n description: descriptionProps,\n errorMessage: errorMessageProps\n }\n }\n ],\n [\n (0, $3a442827418ebe87$export$f9c6924e160136d1),\n {\n isInvalid: validation.isInvalid,\n isDisabled: props.isDisabled || false\n }\n ],\n [\n (0, $1f3c3b1a70cec653$export$ff05c3ac10437e03),\n validation\n ]\n ]\n }, renderProps.children));\n});\n\n\nexport {$29a5029ff43c9612$export$d1c4e4c63cb03a11 as SearchFieldContext, $29a5029ff43c9612$export$b94867ecbd698f21 as SearchField};\n//# sourceMappingURL=SearchField.mjs.map\n","import {chain as $a4e76a5424781910$export$e08e3b67e392101e} from \"../utils/chain.mjs\";\nimport {filterDOMProps as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f} from \"../utils/filterDOMProps.mjs\";\nimport {ListKeyboardDelegate as $ae8f8d98b2b18f2f$export$a05409b8bb224a5a} from \"../selection/ListKeyboardDelegate.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {nodeContains as $23f2114a1b82827e$export$4282f70798064fe0} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {setInteractionModality as $8f5a2122b0992be3$export$8397ddfc504fdb9a} from \"../interactions/useFocusVisible.mjs\";\nimport {useCollator as $673d46fce3e5717d$export$a16aca283550c30d} from \"../i18n/useCollator.mjs\";\nimport {useField as $191c9b6d48a0a4e2$export$294aa081a6c6f55d} from \"../label/useField.mjs\";\nimport {useId as $390e54f620492c70$export$f680877a34711e37} from \"../utils/useId.mjs\";\nimport {useMenuTrigger as $f19b83c1486f45cc$export$dc9c12ed27dd1b49} from \"../menu/useMenuTrigger.mjs\";\nimport {useTypeSelect as $f5a4a9a3486154da$export$e32c88dfddc6e1d8} from \"../selection/useTypeSelect.mjs\";\nimport {useMemo as $dmsVn$useMemo} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\n\n\nconst $c0a45cd074520508$export$703601b7e90536f8 = new WeakMap();\nfunction $c0a45cd074520508$export$e64b2f635402ca43(props, state, ref) {\n let { keyboardDelegate: keyboardDelegate, isDisabled: isDisabled, isRequired: isRequired, name: name, form: form, validationBehavior: validationBehavior = 'aria' } = props;\n // By default, a KeyboardDelegate is provided which uses the DOM to query layout information (e.g. for page up/page down).\n // When virtualized, the layout object will be passed in as a prop and override this.\n let collator = (0, $673d46fce3e5717d$export$a16aca283550c30d)({\n usage: 'search',\n sensitivity: 'base'\n });\n let delegate = (0, $dmsVn$useMemo)(()=>keyboardDelegate || new (0, $ae8f8d98b2b18f2f$export$a05409b8bb224a5a)(state.collection, state.disabledKeys, ref, collator), [\n keyboardDelegate,\n state.collection,\n state.disabledKeys,\n collator,\n ref\n ]);\n let { menuTriggerProps: menuTriggerProps, menuProps: menuProps } = (0, $f19b83c1486f45cc$export$dc9c12ed27dd1b49)({\n isDisabled: isDisabled,\n type: 'listbox'\n }, state, ref);\n let onKeyDown = (e)=>{\n if (state.selectionManager.selectionMode === 'multiple') return;\n switch(e.key){\n case 'ArrowLeft':\n {\n // prevent scrolling containers\n e.preventDefault();\n let key = state.selectedKey != null ? delegate.getKeyAbove?.(state.selectedKey) : delegate.getFirstKey?.();\n if (key != null) state.setSelectedKey(key);\n break;\n }\n case 'ArrowRight':\n {\n // prevent scrolling containers\n e.preventDefault();\n let key = state.selectedKey != null ? delegate.getKeyBelow?.(state.selectedKey) : delegate.getFirstKey?.();\n if (key != null) state.setSelectedKey(key);\n break;\n }\n }\n };\n let { typeSelectProps: typeSelectProps } = (0, $f5a4a9a3486154da$export$e32c88dfddc6e1d8)({\n keyboardDelegate: delegate,\n selectionManager: state.selectionManager,\n onTypeSelect (key) {\n state.setSelectedKey(key);\n }\n });\n let { isInvalid: isInvalid, validationErrors: validationErrors, validationDetails: validationDetails } = state.displayValidation;\n let { labelProps: labelProps, fieldProps: fieldProps, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps } = (0, $191c9b6d48a0a4e2$export$294aa081a6c6f55d)({\n ...props,\n labelElementType: 'span',\n isInvalid: isInvalid,\n errorMessage: props.errorMessage || validationErrors\n });\n typeSelectProps.onKeyDown = typeSelectProps.onKeyDownCapture;\n delete typeSelectProps.onKeyDownCapture;\n if (state.selectionManager.selectionMode === 'multiple') typeSelectProps = {};\n let domProps = (0, $8e9d2fae0ecb9001$export$457c3d6518dd4c6f)(props, {\n labelable: true\n });\n let triggerProps = (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(typeSelectProps, menuTriggerProps, fieldProps);\n let valueId = (0, $390e54f620492c70$export$f680877a34711e37)();\n $c0a45cd074520508$export$703601b7e90536f8.set(state, {\n isDisabled: isDisabled,\n isRequired: isRequired,\n name: name,\n form: form,\n validationBehavior: validationBehavior\n });\n return {\n labelProps: {\n ...labelProps,\n onClick: ()=>{\n if (!props.isDisabled) {\n ref.current?.focus();\n // Show the focus ring so the user knows where focus went\n (0, $8f5a2122b0992be3$export$8397ddfc504fdb9a)('keyboard');\n }\n }\n },\n triggerProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(domProps, {\n ...triggerProps,\n isDisabled: isDisabled,\n onKeyDown: (0, $a4e76a5424781910$export$e08e3b67e392101e)(triggerProps.onKeyDown, onKeyDown, props.onKeyDown),\n onKeyUp: props.onKeyUp,\n 'aria-labelledby': [\n valueId,\n triggerProps['aria-labelledby'],\n triggerProps['aria-label'] && !triggerProps['aria-labelledby'] ? triggerProps.id : null\n ].filter(Boolean).join(' '),\n onFocus (e) {\n if (state.isFocused) return;\n if (props.onFocus) props.onFocus(e);\n if (props.onFocusChange) props.onFocusChange(true);\n state.setFocused(true);\n },\n onBlur (e) {\n if (state.isOpen) return;\n if (props.onBlur) props.onBlur(e);\n if (props.onFocusChange) props.onFocusChange(false);\n state.setFocused(false);\n }\n }),\n valueProps: {\n id: valueId\n },\n menuProps: {\n ...menuProps,\n autoFocus: state.focusStrategy || true,\n shouldSelectOnPressUp: true,\n shouldFocusOnHover: true,\n disallowEmptySelection: true,\n linkBehavior: 'selection',\n onBlur: (e)=>{\n if ((0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, e.relatedTarget)) return;\n if (props.onBlur) props.onBlur(e);\n if (props.onFocusChange) props.onFocusChange(false);\n state.setFocused(false);\n },\n 'aria-labelledby': [\n fieldProps['aria-labelledby'],\n triggerProps['aria-label'] && !fieldProps['aria-labelledby'] ? triggerProps.id : null\n ].filter(Boolean).join(' ')\n },\n descriptionProps: descriptionProps,\n errorMessageProps: errorMessageProps,\n isInvalid: isInvalid,\n validationErrors: validationErrors,\n validationDetails: validationDetails,\n hiddenSelectProps: {\n isDisabled: isDisabled,\n name: name,\n label: props.label,\n state: state,\n triggerRef: ref,\n form: form\n }\n };\n}\n\n\nexport {$c0a45cd074520508$export$703601b7e90536f8 as selectData, $c0a45cd074520508$export$e64b2f635402ca43 as useSelect};\n//# sourceMappingURL=useSelect.mjs.map\n","import {getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {selectData as $c0a45cd074520508$export$703601b7e90536f8} from \"./useSelect.mjs\";\nimport {useFormReset as $3274bf1495747a7b$export$5add1d006293d136} from \"../utils/useFormReset.mjs\";\nimport {useFormValidation as $860f7da480e22816$export$b8473d3665f3a75a} from \"../form/useFormValidation.mjs\";\nimport {useVisuallyHidden as $ea3928288112382f$export$a966af930f325cab} from \"../visually-hidden/VisuallyHidden.mjs\";\nimport $8AqU6$react, {useCallback as $8AqU6$useCallback, useRef as $8AqU6$useRef} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\nfunction $b046d185a4525d56$export$f809e80f58e251d1(props, state, triggerRef) {\n let data = (0, $c0a45cd074520508$export$703601b7e90536f8).get(state) || {};\n let { autoComplete: autoComplete, name: name = data.name, form: form = data.form, isDisabled: isDisabled = data.isDisabled } = props;\n let { validationBehavior: validationBehavior, isRequired: isRequired } = data;\n let { visuallyHiddenProps: visuallyHiddenProps } = (0, $ea3928288112382f$export$a966af930f325cab)({\n style: {\n // Prevent page scrolling.\n position: 'fixed',\n top: 0,\n left: 0\n }\n });\n (0, $3274bf1495747a7b$export$5add1d006293d136)(props.selectRef, state.defaultValue, state.setValue);\n (0, $860f7da480e22816$export$b8473d3665f3a75a)({\n validationBehavior: validationBehavior,\n focus: ()=>triggerRef.current?.focus()\n }, state, props.selectRef);\n let setValue = state.setValue;\n let onChange = (0, $8AqU6$useCallback)((e)=>{\n let eventTarget = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e);\n if (eventTarget.multiple) setValue(Array.from(eventTarget.selectedOptions, (option)=>option.value));\n else setValue(e.currentTarget.value);\n }, [\n setValue\n ]);\n // In Safari, the <select> cannot have `display: none` or `hidden` for autofill to work.\n // In Firefox, there must be a <label> to identify the <select> whereas other browsers\n // seem to identify it just by surrounding text.\n // The solution is to use <VisuallyHidden> to hide the elements, which clips the elements to a\n // 1px rectangle. In addition, we hide from screen readers with aria-hidden, and make the <select>\n // non tabbable with tabIndex={-1}.\n return {\n containerProps: {\n ...visuallyHiddenProps,\n 'aria-hidden': true,\n // @ts-ignore\n ['data-react-aria-prevent-focus']: true,\n // @ts-ignore\n ['data-a11y-ignore']: 'aria-hidden-focus'\n },\n inputProps: {\n style: {\n display: 'none'\n }\n },\n selectProps: {\n tabIndex: -1,\n autoComplete: autoComplete,\n disabled: isDisabled,\n multiple: state.selectionManager.selectionMode === 'multiple',\n required: validationBehavior === 'native' && isRequired,\n name: name,\n form: form,\n value: state.value ?? '',\n onChange: onChange,\n onInput: onChange\n }\n };\n}\nfunction $b046d185a4525d56$export$cbd84cdb2e668835(props) {\n let { state: state, triggerRef: triggerRef, label: label, name: name, form: form, isDisabled: isDisabled } = props;\n let selectRef = (0, $8AqU6$useRef)(null);\n let inputRef = (0, $8AqU6$useRef)(null);\n let { containerProps: containerProps, selectProps: selectProps } = $b046d185a4525d56$export$f809e80f58e251d1({\n ...props,\n selectRef: state.collection.size <= 300 ? selectRef : inputRef\n }, state, triggerRef);\n let values = Array.isArray(state.value) ? state.value : [\n state.value\n ];\n // If used in a <form>, use a hidden input so the value can be submitted to a server.\n // If the collection isn't too big, use a hidden <select> element for this so that browser\n // autofill will work. Otherwise, use an <input type=\"hidden\">.\n if (state.collection.size <= 300) return /*#__PURE__*/ (0, $8AqU6$react).createElement(\"div\", {\n ...containerProps,\n \"data-testid\": \"hidden-select-container\"\n }, /*#__PURE__*/ (0, $8AqU6$react).createElement(\"label\", null, label, /*#__PURE__*/ (0, $8AqU6$react).createElement(\"select\", {\n ...selectProps,\n ref: selectRef\n }, /*#__PURE__*/ (0, $8AqU6$react).createElement(\"option\", {\n value: \"\",\n label: '\\u00A0'\n }, '\\u00A0'), [\n ...state.collection.getKeys()\n ].map((key)=>{\n let item = state.collection.getItem(key);\n if (item && item.type === 'item') return /*#__PURE__*/ (0, $8AqU6$react).createElement(\"option\", {\n key: item.key,\n value: item.key\n }, item.textValue);\n }), state.collection.size === 0 && name && values.map((value, i)=>/*#__PURE__*/ (0, $8AqU6$react).createElement(\"option\", {\n key: i,\n value: value ?? ''\n })))));\n else if (name) {\n let data = (0, $c0a45cd074520508$export$703601b7e90536f8).get(state) || {};\n let { validationBehavior: validationBehavior } = data;\n // Always render at least one hidden input to ensure required form submission.\n if (values.length === 0) values = [\n null\n ];\n let res = values.map((value, i)=>{\n let inputProps = {\n type: 'hidden',\n autoComplete: selectProps.autoComplete,\n name: name,\n form: form,\n disabled: isDisabled,\n value: value ?? ''\n };\n if (validationBehavior === 'native') // Use a hidden <input type=\"text\"> rather than <input type=\"hidden\">\n // so that an empty value blocks HTML form submission when the field is required.\n return /*#__PURE__*/ (0, $8AqU6$react).createElement(\"input\", {\n key: i,\n ...inputProps,\n ref: i === 0 ? inputRef : null,\n style: {\n display: 'none'\n },\n type: \"text\",\n required: i === 0 ? selectProps.required : false,\n onChange: ()=>{\n /** Ignore react warning. */ }\n });\n return /*#__PURE__*/ (0, $8AqU6$react).createElement(\"input\", {\n key: i,\n ...inputProps,\n ref: i === 0 ? inputRef : null\n });\n });\n return /*#__PURE__*/ (0, $8AqU6$react).createElement((0, $8AqU6$react).Fragment, null, res);\n }\n return null;\n}\n\n\nexport {$b046d185a4525d56$export$f809e80f58e251d1 as useHiddenSelect, $b046d185a4525d56$export$cbd84cdb2e668835 as HiddenSelect};\n//# sourceMappingURL=HiddenSelect.mjs.map\n","import {useFormValidationState as $fd2148440a13ec26$export$fc1a364ae1f3ff10} from \"../form/useFormValidationState.mjs\";\nimport {useListState as $b14b6f590b50af39$export$2f645645f7bca764} from \"../list/useListState.mjs\";\nimport {useOverlayTriggerState as $f11fb0bcf1b2687a$export$61c6a8c84e605fb6} from \"../overlays/useOverlayTriggerState.mjs\";\nimport {useControlledState as $3e6197669829fe11$export$40bfa8c7b0832715} from \"../utils/useControlledState.mjs\";\nimport {useState as $5t5rb$useState, useMemo as $5t5rb$useMemo} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\nfunction $29256f53a2edafe9$export$5159ec8b34d4ec12(props) {\n let { selectionMode: selectionMode = 'single', shouldCloseOnSelect: shouldCloseOnSelect = selectionMode === 'single' } = props;\n let triggerState = (0, $f11fb0bcf1b2687a$export$61c6a8c84e605fb6)(props);\n let [focusStrategy, setFocusStrategy] = (0, $5t5rb$useState)(null);\n let defaultValue = (0, $5t5rb$useMemo)(()=>{\n return props.defaultValue !== undefined ? props.defaultValue : selectionMode === 'single' ? props.defaultSelectedKey ?? null : [];\n }, [\n props.defaultValue,\n props.defaultSelectedKey,\n selectionMode\n ]);\n let value = (0, $5t5rb$useMemo)(()=>{\n return props.value !== undefined ? props.value : selectionMode === 'single' ? props.selectedKey : undefined;\n }, [\n props.value,\n props.selectedKey,\n selectionMode\n ]);\n let [controlledValue, setControlledValue] = (0, $3e6197669829fe11$export$40bfa8c7b0832715)(value, defaultValue, props.onChange);\n // Only display the first selected item if in single selection mode but the value is an array.\n let displayValue = selectionMode === 'single' && Array.isArray(controlledValue) ? controlledValue[0] : controlledValue;\n let setValue = (value)=>{\n if (selectionMode === 'single') {\n let key = Array.isArray(value) ? value[0] ?? null : value;\n setControlledValue(key);\n if (key !== displayValue) props.onSelectionChange?.(key);\n } else {\n let keys = [];\n if (Array.isArray(value)) keys = value;\n else if (value != null) keys = [\n value\n ];\n setControlledValue(keys);\n }\n };\n let listState = (0, $b14b6f590b50af39$export$2f645645f7bca764)({\n ...props,\n selectionMode: selectionMode,\n disallowEmptySelection: selectionMode === 'single',\n allowDuplicateSelectionEvents: true,\n selectedKeys: (0, $5t5rb$useMemo)(()=>$29256f53a2edafe9$var$convertValue(displayValue), [\n displayValue\n ]),\n onSelectionChange: (keys)=>{\n // impossible, but TS doesn't know that\n if (keys === 'all') return;\n if (selectionMode === 'single') {\n let key = keys.values().next().value ?? null;\n setValue(key);\n } else setValue([\n ...keys\n ]);\n if (shouldCloseOnSelect) triggerState.close();\n validationState.commitValidation();\n }\n });\n let selectedKey = listState.selectionManager.firstSelectedKey;\n let selectedItems = (0, $5t5rb$useMemo)(()=>{\n return [\n ...listState.selectionManager.selectedKeys\n ].map((key)=>listState.collection.getItem(key)).filter((item)=>item != null);\n }, [\n listState.selectionManager.selectedKeys,\n listState.collection\n ]);\n let validationState = (0, $fd2148440a13ec26$export$fc1a364ae1f3ff10)({\n ...props,\n value: Array.isArray(displayValue) && displayValue.length === 0 ? null : displayValue\n });\n let [isFocused, setFocused] = (0, $5t5rb$useState)(false);\n let [initialValue] = (0, $5t5rb$useState)(displayValue);\n return {\n ...validationState,\n ...listState,\n ...triggerState,\n value: displayValue,\n defaultValue: defaultValue ?? initialValue,\n setValue: setValue,\n selectedKey: selectedKey,\n setSelectedKey: setValue,\n selectedItem: selectedItems[0] ?? null,\n selectedItems: selectedItems,\n defaultSelectedKey: props.defaultSelectedKey ?? (props.selectionMode === 'single' ? initialValue : null),\n focusStrategy: focusStrategy,\n open (focusStrategy = null) {\n // Don't open if the collection is empty.\n if (listState.collection.size !== 0 || props.allowsEmptyCollection) {\n setFocusStrategy(focusStrategy);\n triggerState.open();\n }\n },\n toggle (focusStrategy = null) {\n if (listState.collection.size !== 0 || props.allowsEmptyCollection) {\n setFocusStrategy(focusStrategy);\n triggerState.toggle();\n }\n },\n isFocused: isFocused,\n setFocused: setFocused\n };\n}\nfunction $29256f53a2edafe9$var$convertValue(value) {\n if (value === undefined) return undefined;\n if (value === null) return [];\n return Array.isArray(value) ? value : [\n value\n ];\n}\n\n\nexport {$29256f53a2edafe9$export$5159ec8b34d4ec12 as useSelectState};\n//# sourceMappingURL=useSelectState.mjs.map\n","import {ButtonContext as $7705c033048f6da7$export$24d547caef80ccd1} from \"./Button.mjs\";\nimport {dom as $7230ffa83bc0c2cf$export$df3a06d6289f983e, Provider as $7230ffa83bc0c2cf$export$2881499e37b75b9a, removeDataAttributes as $7230ffa83bc0c2cf$export$ef03459518577ad4, useContextProps as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, useRenderProps as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, useSlot as $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8, useSlottedContext as $7230ffa83bc0c2cf$export$fabf2dc03a41866e} from \"./utils.mjs\";\nimport {FieldErrorContext as $1f3c3b1a70cec653$export$ff05c3ac10437e03} from \"./FieldError.mjs\";\nimport {FormContext as $cdaed739b1139372$export$c24727297075ec6a} from \"./Form.mjs\";\nimport $2l4Cq$intlStringsmjs from \"./intlStrings.mjs\";\nimport {LabelContext as $43a3b93638fe5db9$export$75b6ee27786ba447} from \"./Label.mjs\";\nimport {ListBoxContext as $928221da08ecbc62$export$7ff8f37d2d81a48d, ListStateContext as $928221da08ecbc62$export$7c5906fe4f1f2af2} from \"./ListBox.mjs\";\nimport {OverlayTriggerStateContext as $f2ff30fde7b014be$export$d2f961adcb0afbe} from \"./Dialog.mjs\";\nimport {PopoverContext as $542a13ca2fa5b484$export$9b9a0cd73afb7ca4} from \"./Popover.mjs\";\nimport {TextContext as $efe09c6d1c304b50$export$9afb8bc826b033ea} from \"./Text.mjs\";\nimport {useSelect as $2l4Cq$useSelect, HiddenSelect as $2l4Cq$HiddenSelect} from \"react-aria/useSelect\";\nimport {CollectionBuilder as $2l4Cq$CollectionBuilder} from \"react-aria/CollectionBuilder\";\nimport {createHideableComponent as $2l4Cq$createHideableComponent} from \"react-aria/private/collections/Hidden\";\nimport {filterDOMProps as $2l4Cq$filterDOMProps} from \"react-aria/filterDOMProps\";\nimport {mergeProps as $2l4Cq$mergeProps} from \"react-aria/mergeProps\";\nimport $2l4Cq$react, {createContext as $2l4Cq$createContext, useMemo as $2l4Cq$useMemo, useRef as $2l4Cq$useRef, useContext as $2l4Cq$useContext, Fragment as $2l4Cq$Fragment} from \"react\";\nimport {useSelectState as $2l4Cq$useSelectState} from \"react-stately/useSelectState\";\nimport {useFocusRing as $2l4Cq$useFocusRing} from \"react-aria/useFocusRing\";\nimport {useListFormatter as $2l4Cq$useListFormatter} from \"react-aria/useListFormatter\";\nimport {useLocalizedStringFormatter as $2l4Cq$useLocalizedStringFormatter} from \"react-aria/useLocalizedStringFormatter\";\n\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nconst $c8bb816105474884$export$7540cee5be7dc19b = /*#__PURE__*/ (0, $2l4Cq$createContext)(null);\nconst $c8bb816105474884$export$ef445b55be0601bd = /*#__PURE__*/ (0, $2l4Cq$createContext)(null);\nconst $c8bb816105474884$export$ef9b1a59e592288f = /*#__PURE__*/ (0, $2l4Cq$createHideableComponent)(function Select(props, ref) {\n [props, ref] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, $c8bb816105474884$export$7540cee5be7dc19b);\n let { children: children, isDisabled: isDisabled = false, isInvalid: isInvalid = false, isRequired: isRequired = false } = props;\n let content = (0, $2l4Cq$useMemo)(()=>typeof children === 'function' ? children({\n isOpen: false,\n isDisabled: isDisabled,\n isInvalid: isInvalid,\n isRequired: isRequired,\n isFocused: false,\n isFocusVisible: false,\n defaultChildren: null\n }) : children, [\n children,\n isDisabled,\n isInvalid,\n isRequired\n ]);\n return /*#__PURE__*/ (0, $2l4Cq$react).createElement((0, $2l4Cq$CollectionBuilder), {\n content: content\n }, (collection)=>/*#__PURE__*/ (0, $2l4Cq$react).createElement($c8bb816105474884$var$SelectInner, {\n props: props,\n collection: collection,\n selectRef: ref\n }));\n});\n// Contexts to clear inside the popover.\nconst $c8bb816105474884$var$CLEAR_CONTEXTS = [\n (0, $43a3b93638fe5db9$export$75b6ee27786ba447),\n (0, $7705c033048f6da7$export$24d547caef80ccd1),\n (0, $efe09c6d1c304b50$export$9afb8bc826b033ea)\n];\nfunction $c8bb816105474884$var$SelectInner({ props: props, selectRef: ref, collection: collection }) {\n let { validationBehavior: formValidationBehavior } = (0, $7230ffa83bc0c2cf$export$fabf2dc03a41866e)((0, $cdaed739b1139372$export$c24727297075ec6a)) || {};\n let validationBehavior = props.validationBehavior ?? formValidationBehavior ?? 'native';\n let state = (0, $2l4Cq$useSelectState)({\n ...props,\n collection: collection,\n children: undefined,\n validationBehavior: validationBehavior\n });\n let { isFocusVisible: isFocusVisible, focusProps: focusProps } = (0, $2l4Cq$useFocusRing)({\n within: true\n });\n // Get props for child elements from useSelect\n let buttonRef = (0, $2l4Cq$useRef)(null);\n let [labelRef, label] = (0, $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8)(!props['aria-label'] && !props['aria-labelledby']);\n let { labelProps: labelProps, triggerProps: triggerProps, valueProps: valueProps, menuProps: menuProps, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps, hiddenSelectProps: hiddenSelectProps, ...validation } = (0, $2l4Cq$useSelect)({\n ...(0, $7230ffa83bc0c2cf$export$ef03459518577ad4)(props),\n label: label,\n validationBehavior: validationBehavior\n }, state, buttonRef);\n // Only expose a subset of state to renderProps function to avoid infinite render loop\n let renderPropsState = (0, $2l4Cq$useMemo)(()=>({\n isOpen: state.isOpen,\n isFocused: state.isFocused,\n isFocusVisible: isFocusVisible,\n isDisabled: props.isDisabled || false,\n isInvalid: validation.isInvalid || false,\n isRequired: props.isRequired || false\n }), [\n state.isOpen,\n state.isFocused,\n isFocusVisible,\n props.isDisabled,\n validation.isInvalid,\n props.isRequired\n ]);\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...props,\n values: renderPropsState,\n defaultClassName: 'react-aria-Select'\n });\n let DOMProps = (0, $2l4Cq$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.id;\n let scrollRef = (0, $2l4Cq$useRef)(null);\n return /*#__PURE__*/ (0, $2l4Cq$react).createElement((0, $7230ffa83bc0c2cf$export$2881499e37b75b9a), {\n values: [\n [\n $c8bb816105474884$export$7540cee5be7dc19b,\n props\n ],\n [\n $c8bb816105474884$export$ef445b55be0601bd,\n state\n ],\n [\n $c8bb816105474884$export$f8f745c04421623f,\n valueProps\n ],\n [\n (0, $43a3b93638fe5db9$export$75b6ee27786ba447),\n {\n ...labelProps,\n ref: labelRef,\n elementType: 'span'\n }\n ],\n [\n (0, $7705c033048f6da7$export$24d547caef80ccd1),\n {\n ...triggerProps,\n ref: buttonRef,\n isPressed: state.isOpen,\n autoFocus: props.autoFocus\n }\n ],\n [\n (0, $f2ff30fde7b014be$export$d2f961adcb0afbe),\n state\n ],\n [\n (0, $542a13ca2fa5b484$export$9b9a0cd73afb7ca4),\n {\n trigger: 'Select',\n triggerRef: buttonRef,\n scrollRef: scrollRef,\n placement: 'bottom start',\n 'aria-labelledby': menuProps['aria-labelledby'],\n clearContexts: $c8bb816105474884$var$CLEAR_CONTEXTS\n }\n ],\n [\n (0, $928221da08ecbc62$export$7ff8f37d2d81a48d),\n {\n ...menuProps,\n ref: scrollRef\n }\n ],\n [\n (0, $928221da08ecbc62$export$7c5906fe4f1f2af2),\n state\n ],\n [\n (0, $efe09c6d1c304b50$export$9afb8bc826b033ea),\n {\n slots: {\n description: descriptionProps,\n errorMessage: errorMessageProps\n }\n }\n ],\n [\n (0, $1f3c3b1a70cec653$export$ff05c3ac10437e03),\n validation\n ]\n ]\n }, /*#__PURE__*/ (0, $2l4Cq$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div, {\n ...(0, $2l4Cq$mergeProps)(DOMProps, renderProps, focusProps),\n ref: ref,\n slot: props.slot || undefined,\n \"data-focused\": state.isFocused || undefined,\n \"data-focus-visible\": isFocusVisible || undefined,\n \"data-open\": state.isOpen || undefined,\n \"data-disabled\": props.isDisabled || undefined,\n \"data-invalid\": validation.isInvalid || undefined,\n \"data-required\": props.isRequired || undefined\n }, renderProps.children, /*#__PURE__*/ (0, $2l4Cq$react).createElement((0, $2l4Cq$HiddenSelect), {\n ...hiddenSelectProps,\n autoComplete: props.autoComplete\n })));\n}\nconst $c8bb816105474884$export$f8f745c04421623f = /*#__PURE__*/ (0, $2l4Cq$createContext)(null);\nconst $c8bb816105474884$export$e288731fd71264f0 = /*#__PURE__*/ (0, $2l4Cq$createHideableComponent)(function SelectValue(props, ref) {\n [props, ref] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, $c8bb816105474884$export$f8f745c04421623f);\n let state = (0, $2l4Cq$useContext)($c8bb816105474884$export$ef445b55be0601bd);\n let { placeholder: placeholder } = (0, $7230ffa83bc0c2cf$export$fabf2dc03a41866e)($c8bb816105474884$export$7540cee5be7dc19b);\n let rendered = state.selectedItems.map((item)=>{\n let rendered = item.props?.children;\n // If the selected item has a function as a child, we need to call it to render to React.JSX.\n if (typeof rendered === 'function') {\n let fn = rendered;\n rendered = fn({\n isHovered: false,\n isPressed: false,\n isSelected: false,\n isFocused: false,\n isFocusVisible: false,\n isDisabled: false,\n selectionMode: 'single',\n selectionBehavior: 'toggle'\n });\n }\n return rendered;\n });\n let formatter = (0, $2l4Cq$useListFormatter)();\n let textValue = (0, $2l4Cq$useMemo)(()=>state.selectedItems.map((item)=>item?.textValue), [\n state.selectedItems\n ]);\n let selectionMode = state.selectionManager.selectionMode;\n let selectedText = (0, $2l4Cq$useMemo)(()=>selectionMode === 'single' ? textValue[0] ?? '' : formatter.format(textValue), [\n selectionMode,\n formatter,\n textValue\n ]);\n let defaultChildren = (0, $2l4Cq$useMemo)(()=>{\n if (selectionMode === 'single') return rendered[0];\n let parts = formatter.formatToParts(textValue);\n if (parts.length === 0) return null;\n let index = 0;\n return parts.map((part)=>{\n if (part.type === 'element') return /*#__PURE__*/ (0, $2l4Cq$react).createElement((0, $2l4Cq$Fragment), {\n key: index\n }, rendered[index++]);\n else return part.value;\n });\n }, [\n selectionMode,\n formatter,\n textValue,\n rendered\n ]);\n let stringFormatter = (0, $2l4Cq$useLocalizedStringFormatter)((0, ($parcel$interopDefault($2l4Cq$intlStringsmjs))), 'react-aria-components');\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...props,\n defaultChildren: defaultChildren ?? placeholder ?? stringFormatter.format('selectPlaceholder'),\n defaultClassName: 'react-aria-SelectValue',\n values: {\n selectedItem: state.selectedItems[0]?.value ?? null,\n selectedItems: (0, $2l4Cq$useMemo)(()=>state.selectedItems.map((item)=>item.value ?? null), [\n state.selectedItems\n ]),\n selectedText: selectedText,\n isPlaceholder: state.selectedItems.length === 0,\n state: state\n }\n });\n let DOMProps = (0, $2l4Cq$filterDOMProps)(props, {\n global: true\n });\n return /*#__PURE__*/ (0, $2l4Cq$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).span, {\n ref: ref,\n ...DOMProps,\n ...renderProps,\n \"data-placeholder\": state.selectedItems.length === 0 || undefined\n }, /*#__PURE__*/ (0, $2l4Cq$react).createElement((0, $efe09c6d1c304b50$export$9afb8bc826b033ea).Provider, {\n value: undefined\n }, renderProps.children));\n});\n\n\nexport {$c8bb816105474884$export$7540cee5be7dc19b as SelectContext, $c8bb816105474884$export$ef445b55be0601bd as SelectStateContext, $c8bb816105474884$export$ef9b1a59e592288f as Select, $c8bb816105474884$export$f8f745c04421623f as SelectValueContext, $c8bb816105474884$export$e288731fd71264f0 as SelectValue};\n//# sourceMappingURL=Select.mjs.map\n","const $808d92ba0ee34db1$var$X_SWITCH_THRESHOLD = 10;\nconst $808d92ba0ee34db1$var$Y_SWITCH_THRESHOLD = 5;\nclass $808d92ba0ee34db1$export$82c13862611c034e {\n setup(delegate, state, direction) {\n this.delegate = delegate;\n this.state = state;\n this.direction = direction;\n }\n getDropTargetFromPoint(x, y, isValidDropTarget) {\n let baseTarget = this.delegate.getDropTargetFromPoint(x, y, isValidDropTarget);\n if (!baseTarget || baseTarget.type === 'root') return baseTarget;\n return this.resolveDropTarget(baseTarget, x, y, isValidDropTarget);\n }\n resolveDropTarget(target, x, y, isValidDropTarget) {\n let tracking = this.pointerTracking;\n // Calculate movement directions\n let deltaY = y - tracking.lastY;\n let deltaX = x - tracking.lastX;\n let currentYMovement = tracking.yDirection;\n let currentXMovement = tracking.xDirection;\n if (Math.abs(deltaY) > $808d92ba0ee34db1$var$Y_SWITCH_THRESHOLD) {\n currentYMovement = deltaY > 0 ? 'down' : 'up';\n tracking.yDirection = currentYMovement;\n tracking.lastY = y;\n }\n if (Math.abs(deltaX) > $808d92ba0ee34db1$var$X_SWITCH_THRESHOLD) {\n currentXMovement = deltaX > 0 ? 'right' : 'left';\n tracking.xDirection = currentXMovement;\n tracking.lastX = x;\n }\n // Normalize to 'after'\n if (target.dropPosition === 'before') {\n let keyBefore = this.state.collection.getKeyBefore(target.key);\n while(keyBefore != null){\n let node = this.state.collection.getItem(keyBefore);\n if (node?.type === 'item') break;\n keyBefore = node?.parentKey ?? null;\n }\n if (keyBefore != null) {\n let convertedTarget = {\n type: 'item',\n key: keyBefore,\n dropPosition: 'after'\n };\n if (isValidDropTarget(convertedTarget)) target = convertedTarget;\n }\n }\n let potentialTargets = this.getPotentialTargets(target, isValidDropTarget);\n if (potentialTargets.length === 0) return {\n type: 'root'\n };\n let resolvedItemTarget;\n if (potentialTargets.length > 1) resolvedItemTarget = this.selectTarget(potentialTargets, target, x, y, currentYMovement, currentXMovement);\n else {\n resolvedItemTarget = potentialTargets[0];\n // Reset boundary context since we're not in a boundary case\n tracking.boundaryContext = null;\n }\n return resolvedItemTarget;\n }\n // Returns potential targets for an ambiguous drop position (e.g. after the last child of a parent, or after the parent itself)\n // Ordered by level, from innermost to outermost.\n getPotentialTargets(originalTarget, isValidDropTarget) {\n if (originalTarget.dropPosition === 'on') return [\n originalTarget\n ];\n let target = originalTarget;\n let collection = this.state.collection;\n let currentItem = collection.getItem(target.key);\n while(currentItem && currentItem?.type !== 'item' && currentItem.nextKey != null){\n target.key = currentItem.nextKey;\n currentItem = collection.getItem(currentItem.nextKey);\n }\n let potentialTargets = [\n target\n ];\n // If target has children and is expanded, use \"before first child\"\n if (currentItem && currentItem.hasChildNodes && this.state.expandedKeys.has(currentItem.key) && collection.getChildren && target.dropPosition === 'after') {\n // Find the first item child (traverse keys directly instead of using collection.getChildren, which may only include cells).\n let firstChildItemNode = currentItem.firstChildKey != null ? collection.getItem(currentItem.firstChildKey) : null;\n while(firstChildItemNode && firstChildItemNode.type !== 'item')firstChildItemNode = firstChildItemNode.nextKey != null ? collection.getItem(firstChildItemNode.nextKey) : null;\n if (firstChildItemNode?.type === 'item') {\n const beforeFirstChildTarget = {\n type: 'item',\n key: firstChildItemNode.key,\n dropPosition: 'before'\n };\n if (isValidDropTarget(beforeFirstChildTarget)) return [\n beforeFirstChildTarget\n ];\n else return [];\n }\n }\n if (currentItem?.nextKey != null) return [\n originalTarget\n ];\n // Walk up the parent chain to find ancestors that are the last child at their level\n let parentKey = currentItem?.parentKey;\n let ancestorTargets = [];\n while(parentKey != null){\n let parentItem = collection.getItem(parentKey);\n let nextItem = parentItem?.nextKey != null ? collection.getItem(parentItem.nextKey) : null;\n let isLastChildAtLevel = !nextItem || nextItem.parentKey !== parentKey;\n if (isLastChildAtLevel) {\n let afterParentTarget = {\n type: 'item',\n key: parentKey,\n dropPosition: 'after'\n };\n if (isValidDropTarget(afterParentTarget)) ancestorTargets.push(afterParentTarget);\n if (nextItem) break;\n }\n parentKey = parentItem?.parentKey;\n }\n if (ancestorTargets.length > 0) potentialTargets.push(...ancestorTargets);\n // Handle converting \"after\" to \"before next\" for non-ambiguous cases\n if (potentialTargets.length === 1) {\n let nextKey = collection.getKeyAfter(target.key);\n let nextNode = nextKey != null ? collection.getItem(nextKey) : null;\n if (nextKey != null && nextNode && currentItem && nextNode.level != null && currentItem.level != null && nextNode.level > currentItem.level) {\n let beforeTarget = {\n type: 'item',\n key: nextKey,\n dropPosition: 'before'\n };\n if (isValidDropTarget(beforeTarget)) return [\n beforeTarget\n ];\n }\n }\n return potentialTargets.filter(isValidDropTarget);\n }\n selectTarget(potentialTargets, originalTarget, x, y, currentYMovement, currentXMovement) {\n if (potentialTargets.length < 2) return potentialTargets[0];\n let tracking = this.pointerTracking;\n let currentItem = this.state.collection.getItem(originalTarget.key);\n let parentKey = currentItem?.parentKey;\n if (parentKey == null) return potentialTargets[0];\n // More than 1 potential target - use Y for initial target, then X for switching levels\n // Initialize boundary context if needed\n if (!tracking.boundaryContext || tracking.boundaryContext.parentKey !== parentKey) {\n // If entering from below, start with outer-most\n let initialTargetIndex = tracking.yDirection === 'up' ? potentialTargets.length - 1 : 0;\n tracking.boundaryContext = {\n parentKey: parentKey,\n preferredTargetIndex: initialTargetIndex,\n lastSwitchY: y,\n lastSwitchX: x\n };\n }\n let boundaryContext = tracking.boundaryContext;\n let distanceFromLastXSwitch = Math.abs(x - boundaryContext.lastSwitchX);\n let distanceFromLastYSwitch = Math.abs(y - boundaryContext.lastSwitchY);\n // Switch between targets based on Y movement\n if (distanceFromLastYSwitch > $808d92ba0ee34db1$var$Y_SWITCH_THRESHOLD && currentYMovement) {\n let currentIndex = boundaryContext.preferredTargetIndex || 0;\n if (currentYMovement === 'down' && currentIndex === 0) // Moving down from inner-most, switch to outer-most\n boundaryContext.preferredTargetIndex = potentialTargets.length - 1;\n else if (currentYMovement === 'up' && currentIndex === potentialTargets.length - 1) // Moving up from outer-most, switch to inner-most\n boundaryContext.preferredTargetIndex = 0;\n // Reset x tracking so that moving diagonally doesn't cause flickering.\n tracking.xDirection = null;\n }\n // X movement controls level selection\n if (distanceFromLastXSwitch > $808d92ba0ee34db1$var$X_SWITCH_THRESHOLD && currentXMovement) {\n let currentTargetIndex = boundaryContext.preferredTargetIndex || 0;\n if (currentXMovement === 'left') {\n if (this.direction === 'ltr') // LTR: left = move to higher level in tree (increase index)\n {\n if (currentTargetIndex < potentialTargets.length - 1) {\n boundaryContext.preferredTargetIndex = currentTargetIndex + 1;\n boundaryContext.lastSwitchX = x;\n }\n } else // RTL: left = move to lower level in tree (decrease index)\n if (currentTargetIndex > 0) {\n boundaryContext.preferredTargetIndex = currentTargetIndex - 1;\n boundaryContext.lastSwitchX = x;\n }\n } else if (currentXMovement === 'right') {\n if (this.direction === 'ltr') // LTR: right = move to lower level in tree (decrease index)\n {\n if (currentTargetIndex > 0) {\n boundaryContext.preferredTargetIndex = currentTargetIndex - 1;\n boundaryContext.lastSwitchX = x;\n }\n } else // RTL: right = move to higher level in tree (increase index)\n if (currentTargetIndex < potentialTargets.length - 1) {\n boundaryContext.preferredTargetIndex = currentTargetIndex + 1;\n boundaryContext.lastSwitchX = x;\n }\n }\n // Reset y tracking so that moving diagonally doesn't cause flickering.\n tracking.yDirection = null;\n }\n let targetIndex = Math.max(0, Math.min(boundaryContext.preferredTargetIndex || 0, potentialTargets.length - 1));\n return potentialTargets[targetIndex];\n }\n constructor(){\n this.delegate = null;\n this.state = null;\n this.direction = 'ltr';\n this.pointerTracking = {\n lastY: 0,\n lastX: 0,\n yDirection: null,\n xDirection: null,\n boundaryContext: null\n };\n }\n}\n\n\nexport {$808d92ba0ee34db1$export$82c13862611c034e as TreeDropTargetDelegate};\n//# sourceMappingURL=TreeDropTargetDelegate.mjs.map\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ class $22f4441660dfbf05$export$de3fdf6493c353d {\n constructor(opts){\n this.keyMap = new Map();\n this.keyMap = new Map();\n this.columnCount = opts?.columnCount;\n this.rows = [];\n let visit = (node)=>{\n // If the node is the same object as the previous node for the same key,\n // we can skip this node and its children. We always visit columns though,\n // because we depend on order to build the columns array.\n let prevNode = this.keyMap.get(node.key);\n if (opts.visitNode) node = opts.visitNode(node);\n this.keyMap.set(node.key, node);\n let childKeys = new Set();\n let last = null;\n let rowHasCellWithColSpan = false;\n if (node.type === 'item') {\n for (let child of node.childNodes)if (child.props?.colSpan !== undefined) {\n rowHasCellWithColSpan = true;\n break;\n }\n }\n for (let child of node.childNodes){\n if (child.type === 'cell' && rowHasCellWithColSpan) {\n child.colspan = child.props?.colSpan;\n child.colSpan = child.props?.colSpan;\n child.colIndex = !last ? child.index : (last.colIndex ?? last.index) + (last.colSpan ?? 1);\n }\n if (child.type === 'cell' && child.parentKey == null) // if child is a cell parent key isn't already established by the collection, match child node to parent row\n child.parentKey = node.key;\n childKeys.add(child.key);\n if (last) {\n last.nextKey = child.key;\n child.prevKey = last.key;\n } else child.prevKey = null;\n visit(child);\n last = child;\n }\n if (last) last.nextKey = null;\n // Remove deleted nodes and their children from the key map\n if (prevNode) {\n for (let child of prevNode.childNodes)if (!childKeys.has(child.key)) remove(child);\n }\n };\n let remove = (node)=>{\n this.keyMap.delete(node.key);\n for (let child of node.childNodes)if (this.keyMap.get(child.key) === child) remove(child);\n };\n let last = null;\n for (let [i, node] of opts.items.entries()){\n let rowNode = {\n ...node,\n level: node.level ?? 0,\n key: node.key ?? 'row-' + i,\n type: node.type ?? 'row',\n value: node.value ?? null,\n hasChildNodes: true,\n childNodes: [\n ...node.childNodes\n ],\n rendered: node.rendered,\n textValue: node.textValue ?? '',\n index: node.index ?? i\n };\n if (last) {\n last.nextKey = rowNode.key;\n rowNode.prevKey = last.key;\n } else rowNode.prevKey = null;\n this.rows.push(rowNode);\n visit(rowNode);\n last = rowNode;\n }\n if (last) last.nextKey = null;\n }\n *[Symbol.iterator]() {\n yield* [\n ...this.rows\n ];\n }\n get size() {\n return [\n ...this.rows\n ].length;\n }\n getKeys() {\n return this.keyMap.keys();\n }\n getKeyBefore(key) {\n let node = this.keyMap.get(key);\n return node ? node.prevKey ?? null : null;\n }\n getKeyAfter(key) {\n let node = this.keyMap.get(key);\n return node ? node.nextKey ?? null : null;\n }\n getFirstKey() {\n return [\n ...this.rows\n ][0]?.key;\n }\n getLastKey() {\n let rows = [\n ...this.rows\n ];\n return rows[rows.length - 1]?.key;\n }\n getItem(key) {\n return this.keyMap.get(key) ?? null;\n }\n at(idx) {\n const keys = [\n ...this.getKeys()\n ];\n return this.getItem(keys[idx]);\n }\n getChildren(key) {\n let node = this.keyMap.get(key);\n return node?.childNodes || [];\n }\n}\n\n\nexport {$22f4441660dfbf05$export$de3fdf6493c353d as GridCollection};\n//# sourceMappingURL=GridCollection.mjs.map\n","import {getFirstItem as $cd5ea4b915021f1d$export$fbdeaa6a76694f71, getLastItem as $cd5ea4b915021f1d$export$7475b2c64539e4cf} from \"../collections/getChildNodes.mjs\";\nimport {GridCollection as $22f4441660dfbf05$export$de3fdf6493c353d} from \"../grid/GridCollection.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nconst $3b14a8cc70843920$var$ROW_HEADER_COLUMN_KEY = 'row-header-column-' + Math.random().toString(36).slice(2);\nlet $3b14a8cc70843920$var$ROW_HEADER_COLUMN_KEY_DRAG = 'row-header-column-' + Math.random().toString(36).slice(2);\nwhile($3b14a8cc70843920$var$ROW_HEADER_COLUMN_KEY === $3b14a8cc70843920$var$ROW_HEADER_COLUMN_KEY_DRAG)$3b14a8cc70843920$var$ROW_HEADER_COLUMN_KEY_DRAG = 'row-header-column-' + Math.random().toString(36).slice(2);\nfunction $3b14a8cc70843920$export$7c127db850d4e81e(keyMap, columnNodes) {\n if (columnNodes.length === 0) return [];\n let columns = [];\n let seen = new Map();\n for (let column of columnNodes){\n let parentKey = column.parentKey;\n let col = [\n column\n ];\n while(parentKey != null){\n let parent = keyMap.get(parentKey);\n if (!parent) break;\n // If we've already seen this parent, than it is shared\n // with a previous column. If the current column is taller\n // than the previous column, than we need to shift the parent\n // in the previous column so it's level with the current column.\n if (seen.has(parent)) {\n parent.colSpan ??= 0;\n parent.colSpan++;\n parent.colspan = parent.colSpan;\n let { column: column, index: index } = seen.get(parent);\n if (index > col.length) break;\n for(let i = index; i < col.length; i++)column.splice(i, 0, null);\n // Adjust shifted indices\n for(let i = col.length; i < column.length; i++)// eslint-disable-next-line max-depth\n if (column[i] && seen.has(column[i])) seen.get(column[i]).index = i;\n } else {\n parent.colSpan = 1;\n parent.colspan = 1;\n col.push(parent);\n seen.set(parent, {\n column: col,\n index: col.length - 1\n });\n }\n parentKey = parent.parentKey;\n }\n columns.push(col);\n column.index = columns.length - 1;\n }\n let maxLength = Math.max(...columns.map((c)=>c.length));\n let headerRows = Array(maxLength).fill(0).map(()=>[]);\n // Convert columns into rows.\n let colIndex = 0;\n for (let column of columns){\n let i = maxLength - 1;\n for (let item of column){\n if (item) {\n // Fill the space up until the current column with a placeholder\n let row = headerRows[i];\n let rowLength = row.reduce((p, c)=>p + (c.colSpan ?? 1), 0);\n if (rowLength < colIndex) {\n let placeholder = {\n type: 'placeholder',\n key: 'placeholder-' + item.key,\n colspan: colIndex - rowLength,\n colSpan: colIndex - rowLength,\n index: rowLength,\n value: null,\n rendered: null,\n level: i,\n hasChildNodes: false,\n childNodes: [],\n textValue: ''\n };\n // eslint-disable-next-line max-depth\n if (row.length > 0) {\n row[row.length - 1].nextKey = placeholder.key;\n placeholder.prevKey = row[row.length - 1].key;\n }\n row.push(placeholder);\n }\n if (row.length > 0) {\n row[row.length - 1].nextKey = item.key;\n item.prevKey = row[row.length - 1].key;\n }\n item.level = i;\n item.colIndex = colIndex;\n row.push(item);\n }\n i--;\n }\n colIndex++;\n }\n // Add placeholders at the end of each row that is shorter than the maximum\n let i = 0;\n for (let row of headerRows){\n let rowLength = row.reduce((p, c)=>p + (c.colSpan ?? 1), 0);\n if (rowLength < columnNodes.length) {\n let placeholder = {\n type: 'placeholder',\n key: 'placeholder-' + row[row.length - 1].key,\n colSpan: columnNodes.length - rowLength,\n colspan: columnNodes.length - rowLength,\n index: rowLength,\n value: null,\n rendered: null,\n level: i,\n hasChildNodes: false,\n childNodes: [],\n textValue: '',\n prevKey: row[row.length - 1].key\n };\n row.push(placeholder);\n }\n i++;\n }\n return headerRows.map((childNodes, index)=>{\n let row = {\n type: 'headerrow',\n key: 'headerrow-' + index,\n index: index,\n value: null,\n rendered: null,\n level: 0,\n hasChildNodes: true,\n childNodes: childNodes,\n textValue: ''\n };\n return row;\n });\n}\nclass $3b14a8cc70843920$export$596e1b2e2cf93690 extends (0, $22f4441660dfbf05$export$de3fdf6493c353d) {\n constructor(nodes, prev, opts){\n let rowHeaderColumnKeys = new Set();\n let body = null;\n let columns = [];\n // Add cell for selection checkboxes if needed.\n if (opts?.showSelectionCheckboxes) {\n let rowHeaderColumn = {\n type: 'column',\n key: $3b14a8cc70843920$var$ROW_HEADER_COLUMN_KEY,\n value: null,\n textValue: '',\n level: 0,\n index: opts?.showDragButtons ? 1 : 0,\n hasChildNodes: false,\n rendered: null,\n childNodes: [],\n props: {\n isSelectionCell: true\n }\n };\n columns.unshift(rowHeaderColumn);\n }\n // Add cell for drag buttons if needed.\n if (opts?.showDragButtons) {\n let rowHeaderColumn = {\n type: 'column',\n key: $3b14a8cc70843920$var$ROW_HEADER_COLUMN_KEY_DRAG,\n value: null,\n textValue: '',\n level: 0,\n index: 0,\n hasChildNodes: false,\n rendered: null,\n childNodes: [],\n props: {\n isDragButtonCell: true\n }\n };\n columns.unshift(rowHeaderColumn);\n }\n let rows = [];\n let columnKeyMap = new Map();\n let visit = (node)=>{\n switch(node.type){\n case 'body':\n body = node;\n break;\n case 'column':\n columnKeyMap.set(node.key, node);\n if (!node.hasChildNodes) {\n columns.push(node);\n if (node.props.isRowHeader) rowHeaderColumnKeys.add(node.key);\n }\n break;\n case 'item':\n rows.push(node);\n return; // do not go into childNodes\n }\n for (let child of node.childNodes)visit(child);\n };\n for (let node of nodes)visit(node);\n let headerRows = $3b14a8cc70843920$export$7c127db850d4e81e(columnKeyMap, columns);\n headerRows.forEach((row, i)=>rows.splice(i, 0, row));\n super({\n columnCount: columns.length,\n items: rows,\n visitNode: (node)=>{\n node.column = columns[node.index];\n return node;\n }\n }), this._size = 0;\n this.columns = columns;\n this.rowHeaderColumnKeys = rowHeaderColumnKeys;\n this.body = body;\n this.headerRows = headerRows;\n this._size = [\n ...body.childNodes\n ].length;\n // Default row header column to the first one.\n if (this.rowHeaderColumnKeys.size === 0) {\n let col = this.columns.find((column)=>!column.props?.isDragButtonCell && !column.props?.isSelectionCell);\n if (col) this.rowHeaderColumnKeys.add(col.key);\n }\n }\n *[Symbol.iterator]() {\n yield* this.body.childNodes;\n }\n get size() {\n return this._size;\n }\n getKeys() {\n return this.keyMap.keys();\n }\n getKeyBefore(key) {\n let node = this.keyMap.get(key);\n return node?.prevKey ?? null;\n }\n getKeyAfter(key) {\n let node = this.keyMap.get(key);\n return node?.nextKey ?? null;\n }\n getFirstKey() {\n return (0, $cd5ea4b915021f1d$export$fbdeaa6a76694f71)(this.body.childNodes)?.key ?? null;\n }\n getLastKey() {\n return (0, $cd5ea4b915021f1d$export$7475b2c64539e4cf)(this.body.childNodes)?.key ?? null;\n }\n getItem(key) {\n if (key === this.body.key) return this.body;\n return this.keyMap.get(key) ?? null;\n }\n at(idx) {\n const keys = [\n ...this.getKeys()\n ];\n return this.getItem(keys[idx]);\n }\n getChildren(key) {\n if (key === this.body.key) return this.body.childNodes;\n let node = this.getItem(key);\n if (node?.type === 'item') return [\n ...node.childNodes\n ].filter((n)=>n.type === 'cell');\n return super.getChildren(key);\n }\n getTextValue(key) {\n let row = this.getItem(key);\n if (!row) return '';\n // If the row has a textValue, use that.\n if (row.textValue) return row.textValue;\n // Otherwise combine the text of each of the row header columns.\n let rowHeaderColumnKeys = this.rowHeaderColumnKeys;\n if (rowHeaderColumnKeys) {\n let text = [];\n for (let cell of row.childNodes){\n let column = this.columns[cell.index];\n if (rowHeaderColumnKeys.has(column.key) && cell.textValue) text.push(cell.textValue);\n if (text.length === rowHeaderColumnKeys.size) break;\n }\n return text.join(' ');\n }\n return '';\n }\n}\n\n\nexport {$3b14a8cc70843920$export$7c127db850d4e81e as buildHeaderRows, $3b14a8cc70843920$export$596e1b2e2cf93690 as TableCollection};\n//# sourceMappingURL=TableCollection.mjs.map\n","/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ function $56195eeda89edca1$export$1994a077b98ee0d5(width) {\n return width != null && (!isNaN(width) || String(width).match(/^(\\d+)(?=%$)/) !== null);\n}\nfunction $56195eeda89edca1$export$9078bad4c3934604(width) {\n if (!width || typeof width === 'number') return 1;\n let match = width.match(/^(.+)(?=fr$)/);\n // if width is the incorrect format, just default it to a 1fr\n if (!match) {\n if (process.env.NODE_ENV !== 'production') console.warn(`width: ${width} is not a supported format, width should be a number (ex. 150), percentage (ex. '50%') or fr unit (ex. '2fr')`, \"defaulting to '1fr'\");\n return 1;\n }\n return parseFloat(match[0]);\n}\nfunction $56195eeda89edca1$export$7bbad27896f7ae9f(width, tableWidth) {\n if (typeof width === 'string') {\n let match = width.match(/^(\\d+)(?=%$)/);\n if (!match) throw new Error('Only percentages or numbers are supported for static column widths');\n return tableWidth * (parseFloat(match[0]) / 100);\n }\n return width;\n}\nfunction $56195eeda89edca1$export$59185c62a7544aa0(maxWidth, tableWidth) {\n return maxWidth != null ? $56195eeda89edca1$export$7bbad27896f7ae9f(maxWidth, tableWidth) : Number.MAX_SAFE_INTEGER;\n}\nfunction $56195eeda89edca1$export$f556054ce4358701(minWidth, tableWidth) {\n return minWidth != null ? $56195eeda89edca1$export$7bbad27896f7ae9f(minWidth, tableWidth) : 0;\n}\nfunction $56195eeda89edca1$export$55d50dc687385491(availableWidth, columns, changedColumns, getDefaultWidth, getDefaultMinWidth) {\n let hasNonFrozenItems = false;\n let flexItems = columns.map((column, index)=>{\n let width = changedColumns.get(column.key) != null ? changedColumns.get(column.key) ?? '1fr' : column.width ?? column.defaultWidth ?? getDefaultWidth?.(index) ?? '1fr';\n let frozen = false;\n let baseSize = 0;\n let flex = 0;\n let targetMainSize = 0;\n if ($56195eeda89edca1$export$1994a077b98ee0d5(width)) {\n baseSize = $56195eeda89edca1$export$7bbad27896f7ae9f(width, availableWidth);\n frozen = true;\n } else {\n flex = $56195eeda89edca1$export$9078bad4c3934604(width);\n if (flex <= 0) frozen = true;\n }\n let min = $56195eeda89edca1$export$f556054ce4358701(column.minWidth ?? getDefaultMinWidth?.(index) ?? 0, availableWidth);\n let max = $56195eeda89edca1$export$59185c62a7544aa0(column.maxWidth, availableWidth);\n let hypotheticalMainSize = Math.max(min, Math.min(baseSize, max));\n // 9.7.1\n // We don't make use of flex basis, it's always 0, so we are always in 'grow' mode.\n // 9.7.2\n if (frozen) targetMainSize = hypotheticalMainSize;\n else if (baseSize > hypotheticalMainSize) {\n frozen = true;\n targetMainSize = hypotheticalMainSize;\n }\n // 9.7.3\n if (!frozen) hasNonFrozenItems = true;\n return {\n frozen: frozen,\n baseSize: baseSize,\n hypotheticalMainSize: hypotheticalMainSize,\n min: min,\n max: max,\n flex: flex,\n targetMainSize: targetMainSize,\n violation: 0\n };\n });\n // 9.7.4\n // 9.7.4.a\n while(hasNonFrozenItems){\n // 9.7.4.b\n /**\n * Calculate the remaining free space as for initial free space,\n * above (9.7.3). If the sum of the unfrozen flex items’ flex factors is\n * less than one, multiply the initial free space by this sum (of flex factors).\n * If the magnitude of this value is less than the magnitude of\n * the remaining free space, use this as the remaining free space.\n */ let usedWidth = 0;\n let flexFactors = 0;\n flexItems.forEach((item)=>{\n if (item.frozen) usedWidth += item.targetMainSize;\n else {\n usedWidth += item.baseSize;\n flexFactors += item.flex;\n }\n });\n let remainingFreeSpace = availableWidth - usedWidth;\n // we only support integer FR's, and because of hasNonFrozenItems, we know that flexFactors > 0\n // so no need to check for flexFactors < 1\n // 9.7.4.c\n /**\n * If the remaining free space is zero\n * - Do nothing.\n * Else // remember, we're always in grow mode\n * - Find the ratio of the item’s flex grow factor to the\n * sum of the flex grow factors of all unfrozen items on\n * the line. Set the item’s target main size to its flex\n * base size plus a fraction of the remaining free space\n * proportional to the ratio.\n */ if (remainingFreeSpace > 0) flexItems.forEach((item)=>{\n if (!item.frozen) {\n let ratio = item.flex / flexFactors;\n item.targetMainSize = item.baseSize + ratio * remainingFreeSpace;\n }\n });\n // 9.7.4.d\n /**\n * Fix min/max violations. Clamp each non-frozen item’s\n * target main size by its used min and max main sizes\n * and floor its content-box size at zero. If the item’s\n * target main size was made smaller by this, it’s a max\n * violation. If the item’s target main size was made\n * larger by this, it’s a min violation.\n */ let totalViolation = 0;\n flexItems.forEach((item)=>{\n item.violation = 0;\n if (!item.frozen) {\n let { min: min, max: max, targetMainSize: targetMainSize } = item;\n item.targetMainSize = Math.max(min, Math.min(targetMainSize, max));\n item.violation = item.targetMainSize - targetMainSize;\n totalViolation += item.violation;\n }\n });\n // 9.7.4.e\n /**\n * Freeze over-flexed items. The total violation is the\n * sum of the adjustments from the previous step\n * ∑(clamped size - unclamped size). If the total violation is:\n * Zero\n * - Freeze all items.\n *\n * Positive\n * - Freeze all the items with min violations.\n *\n * Negative\n * - Freeze all the items with max violations.\n */ hasNonFrozenItems = false;\n flexItems.forEach((item)=>{\n if (totalViolation === 0 || Math.sign(totalViolation) === Math.sign(item.violation)) item.frozen = true;\n else if (!item.frozen) hasNonFrozenItems = true;\n });\n }\n return $56195eeda89edca1$var$cascadeRounding(flexItems);\n}\nfunction $56195eeda89edca1$var$cascadeRounding(flexItems) {\n /*\n Given an array of floats that sum to an integer, this rounds the floats\n and returns an array of integers with the same sum.\n */ let fpTotal = 0;\n let intTotal = 0;\n let roundedArray = [];\n flexItems.forEach(function(item) {\n let float = item.targetMainSize;\n let integer = Math.round(float + fpTotal) - intTotal;\n fpTotal += float;\n intTotal += integer;\n roundedArray.push(integer);\n });\n return roundedArray;\n}\n\n\nexport {$56195eeda89edca1$export$1994a077b98ee0d5 as isStatic, $56195eeda89edca1$export$9078bad4c3934604 as parseFractionalUnit, $56195eeda89edca1$export$7bbad27896f7ae9f as parseStaticWidth, $56195eeda89edca1$export$59185c62a7544aa0 as getMaxWidth, $56195eeda89edca1$export$f556054ce4358701 as getMinWidth, $56195eeda89edca1$export$55d50dc687385491 as calculateColumnSizes};\n//# sourceMappingURL=TableUtils.mjs.map\n","import {calculateColumnSizes as $56195eeda89edca1$export$55d50dc687385491, getMaxWidth as $56195eeda89edca1$export$59185c62a7544aa0, getMinWidth as $56195eeda89edca1$export$f556054ce4358701} from \"./TableUtils.mjs\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nclass $245263de035f5da5$export$7ff77a162970b30e {\n constructor(options){\n this.columnWidths = new Map();\n this.columnMinWidths = new Map();\n this.columnMaxWidths = new Map();\n this.getDefaultWidth = options?.getDefaultWidth ?? (()=>'1fr');\n this.getDefaultMinWidth = options?.getDefaultMinWidth ?? (()=>75);\n }\n /**\n * Takes an array of columns and splits it into 2 maps of columns with controlled and columns with\n * uncontrolled widths.\n */ splitColumnsIntoControlledAndUncontrolled(columns) {\n return columns.reduce((acc, col)=>{\n if (col.props.width != null) acc[0].set(col.key, col);\n else acc[1].set(col.key, col);\n return acc;\n }, [\n new Map(),\n new Map()\n ]);\n }\n /** Takes uncontrolled and controlled widths and joins them into a single Map. */ recombineColumns(columns, uncontrolledWidths, uncontrolledColumns, controlledColumns) {\n return new Map(columns.map((col)=>{\n if (uncontrolledColumns.has(col.key)) return [\n col.key,\n uncontrolledWidths.get(col.key)\n ];\n else return [\n col.key,\n controlledColumns.get(col.key).props.width\n ];\n }));\n }\n /** Used to make an initial Map of the uncontrolled widths based on default widths. */ getInitialUncontrolledWidths(uncontrolledColumns) {\n return new Map(Array.from(uncontrolledColumns).map(([key, col])=>[\n key,\n col.props.defaultWidth ?? this.getDefaultWidth?.(col) ?? '1fr'\n ]));\n }\n getColumnWidth(key) {\n return this.columnWidths.get(key) ?? 0;\n }\n getColumnMinWidth(key) {\n return this.columnMinWidths.get(key) ?? 0;\n }\n getColumnMaxWidth(key) {\n return this.columnMaxWidths.get(key) ?? 0;\n }\n resizeColumnWidth(collection, uncontrolledWidths, col, width) {\n let prevColumnWidths = this.columnWidths;\n let freeze = true;\n let newWidths = new Map();\n width = Math.max(this.getColumnMinWidth(col), Math.min(this.getColumnMaxWidth(col), Math.floor(width)));\n collection.columns.forEach((column)=>{\n if (column.key === col) {\n newWidths.set(column.key, width);\n freeze = false;\n } else if (freeze) // freeze columns to the left to their previous pixel value\n newWidths.set(column.key, prevColumnWidths.get(column.key) ?? 0);\n else newWidths.set(column.key, column.props.width ?? uncontrolledWidths.get(column.key));\n });\n return newWidths;\n }\n buildColumnWidths(tableWidth, collection, widths) {\n this.columnWidths = new Map();\n this.columnMinWidths = new Map();\n this.columnMaxWidths = new Map();\n // initial layout or table/window resizing\n let columnWidths = (0, $56195eeda89edca1$export$55d50dc687385491)(tableWidth, collection.columns.map((col)=>({\n ...col.props,\n key: col.key\n })), widths, (i)=>this.getDefaultWidth(collection.columns[i]), (i)=>this.getDefaultMinWidth(collection.columns[i]));\n // columns going in will be the same order as the columns coming out\n columnWidths.forEach((width, index)=>{\n let key = collection.columns[index].key;\n let column = collection.columns[index];\n this.columnWidths.set(key, width);\n this.columnMinWidths.set(key, (0, $56195eeda89edca1$export$f556054ce4358701)(column.props.minWidth ?? this.getDefaultMinWidth(column), tableWidth));\n this.columnMaxWidths.set(key, (0, $56195eeda89edca1$export$59185c62a7544aa0)(column.props.maxWidth, tableWidth));\n });\n return this.columnWidths;\n }\n}\n\n\nexport {$245263de035f5da5$export$7ff77a162970b30e as TableColumnLayout};\n//# sourceMappingURL=TableColumnLayout.mjs.map\n","import {TableColumnLayout as $245263de035f5da5$export$7ff77a162970b30e} from \"./TableColumnLayout.mjs\";\nimport {useState as $iePE6$useState, useMemo as $iePE6$useMemo, useCallback as $iePE6$useCallback} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $f6cebac1c03d2516$export$cb895dcf85db1319(props, state) {\n let { getDefaultWidth: getDefaultWidth, getDefaultMinWidth: getDefaultMinWidth, tableWidth: tableWidth = 0 } = props;\n let [resizingColumn, setResizingColumn] = (0, $iePE6$useState)(null);\n let columnLayout = (0, $iePE6$useMemo)(()=>new (0, $245263de035f5da5$export$7ff77a162970b30e)({\n getDefaultWidth: getDefaultWidth,\n getDefaultMinWidth: getDefaultMinWidth\n }), [\n getDefaultWidth,\n getDefaultMinWidth\n ]);\n let [controlledColumns, uncontrolledColumns] = (0, $iePE6$useMemo)(()=>columnLayout.splitColumnsIntoControlledAndUncontrolled(state.collection.columns), [\n state.collection.columns,\n columnLayout\n ]);\n // uncontrolled column widths\n let [uncontrolledWidths, setUncontrolledWidths] = (0, $iePE6$useState)(()=>columnLayout.getInitialUncontrolledWidths(uncontrolledColumns));\n // Update uncontrolled widths if the columns changed.\n let [lastColumns, setLastColumns] = (0, $iePE6$useState)(state.collection.columns);\n if (state.collection.columns !== lastColumns) {\n if (state.collection.columns.length !== lastColumns.length || state.collection.columns.some((c, i)=>c.key !== lastColumns[i].key)) {\n let newUncontrolledWidths = columnLayout.getInitialUncontrolledWidths(uncontrolledColumns);\n setUncontrolledWidths(newUncontrolledWidths);\n }\n setLastColumns(state.collection.columns);\n }\n // combine columns back into one map that maintains same order as the columns\n let colWidths = (0, $iePE6$useMemo)(()=>columnLayout.recombineColumns(state.collection.columns, uncontrolledWidths, uncontrolledColumns, controlledColumns), [\n state.collection.columns,\n uncontrolledWidths,\n uncontrolledColumns,\n controlledColumns,\n columnLayout\n ]);\n let startResize = (0, $iePE6$useCallback)((key)=>{\n setResizingColumn(key);\n }, [\n setResizingColumn\n ]);\n let updateResizedColumns = (0, $iePE6$useCallback)((key, width)=>{\n let newSizes = columnLayout.resizeColumnWidth(state.collection, uncontrolledWidths, key, width);\n let map = new Map(Array.from(uncontrolledColumns).map(([key])=>[\n key,\n newSizes.get(key)\n ]));\n map.set(key, width);\n setUncontrolledWidths(map);\n return newSizes;\n }, [\n uncontrolledColumns,\n setUncontrolledWidths,\n columnLayout,\n state.collection,\n uncontrolledWidths\n ]);\n let endResize = (0, $iePE6$useCallback)(()=>{\n setResizingColumn(null);\n }, [\n setResizingColumn\n ]);\n let columnWidths = (0, $iePE6$useMemo)(()=>columnLayout.buildColumnWidths(tableWidth, state.collection, colWidths), [\n tableWidth,\n state.collection,\n colWidths,\n columnLayout\n ]);\n return (0, $iePE6$useMemo)(()=>({\n resizingColumn: resizingColumn,\n updateResizedColumns: updateResizedColumns,\n startResize: startResize,\n endResize: endResize,\n getColumnWidth: (key)=>columnLayout.getColumnWidth(key),\n getColumnMinWidth: (key)=>columnLayout.getColumnMinWidth(key),\n getColumnMaxWidth: (key)=>columnLayout.getColumnMaxWidth(key),\n tableState: state,\n columnWidths: columnWidths\n }), [\n columnLayout,\n columnWidths,\n resizingColumn,\n updateResizedColumns,\n startResize,\n endResize,\n state\n ]);\n}\n\n\nexport {$f6cebac1c03d2516$export$cb895dcf85db1319 as useTableColumnResizeState};\n//# sourceMappingURL=useTableColumnResizeState.mjs.map\n","import {getChildNodes as $cd5ea4b915021f1d$export$1005530eda016c13, getFirstItem as $cd5ea4b915021f1d$export$fbdeaa6a76694f71, getLastItem as $cd5ea4b915021f1d$export$7475b2c64539e4cf} from \"../collections/getChildNodes.mjs\";\nimport {useMultipleSelectionState as $60f19cefd567a3e4$export$253fe78d46329472} from \"../selection/useMultipleSelectionState.mjs\";\nimport {SelectionManager as $4a07ac835f260f78$export$6c8a5aaad13c9852} from \"../selection/SelectionManager.mjs\";\nimport {useMemo as $974D5$useMemo, useRef as $974D5$useRef, useEffect as $974D5$useEffect} from \"react\";\n\n\n\n\n\nfunction $183b79a1dd6664c1$export$4007ac09ff9c68ed(props) {\n let { collection: collection, focusMode: focusMode } = props;\n // eslint-disable-next-line react-hooks/rules-of-hooks\n let selectionState = props.UNSAFE_selectionState || (0, $60f19cefd567a3e4$export$253fe78d46329472)(props);\n let disabledKeys = (0, $974D5$useMemo)(()=>props.disabledKeys ? new Set(props.disabledKeys) : new Set(), [\n props.disabledKeys\n ]);\n let setFocusedKey = selectionState.setFocusedKey;\n selectionState.setFocusedKey = (key, child)=>{\n // If focusMode is cell and an item is focused, focus a child cell instead.\n if (focusMode === 'cell' && key != null) {\n let item = collection.getItem(key);\n if (item?.type === 'item') {\n let children = (0, $cd5ea4b915021f1d$export$1005530eda016c13)(item, collection);\n if (child === 'last') key = (0, $cd5ea4b915021f1d$export$7475b2c64539e4cf)(children)?.key ?? null;\n else key = (0, $cd5ea4b915021f1d$export$fbdeaa6a76694f71)(children)?.key ?? null;\n }\n }\n setFocusedKey(key, child);\n };\n let selectionManager = (0, $974D5$useMemo)(()=>new (0, $4a07ac835f260f78$export$6c8a5aaad13c9852)(collection, selectionState), [\n collection,\n selectionState\n ]);\n // Reset focused key if that item is deleted from the collection.\n const cachedCollection = (0, $974D5$useRef)(null);\n (0, $974D5$useEffect)(()=>{\n if (selectionState.focusedKey != null && cachedCollection.current && !collection.getItem(selectionState.focusedKey)) {\n const node = cachedCollection.current.getItem(selectionState.focusedKey);\n const parentNode = node?.parentKey != null && (node.type === 'cell' || node.type === 'rowheader' || node.type === 'column') ? cachedCollection.current.getItem(node.parentKey) : node;\n if (!parentNode) {\n selectionState.setFocusedKey(null);\n return;\n }\n const cachedRows = cachedCollection.current.rows;\n const rows = collection.rows;\n const diff = cachedRows.length - rows.length;\n let index = Math.min(diff > 1 ? Math.max(parentNode.index - diff + 1, 0) : parentNode.index, rows.length - 1);\n let newRow = null;\n while(index >= 0){\n if (!selectionManager.isDisabled(rows[index].key) && rows[index].type !== 'headerrow') {\n newRow = rows[index];\n break;\n }\n // Find next, not disabled row.\n if (index < rows.length - 1) index++;\n else {\n if (index > parentNode.index) index = parentNode.index;\n index--;\n }\n }\n if (newRow) {\n const childNodes = newRow.hasChildNodes ? [\n ...(0, $cd5ea4b915021f1d$export$1005530eda016c13)(newRow, collection)\n ] : [];\n const keyToFocus = newRow.hasChildNodes && parentNode !== node && node && node.index < childNodes.length ? childNodes[node.index].key : newRow.key;\n selectionState.setFocusedKey(keyToFocus);\n } else selectionState.setFocusedKey(null);\n }\n cachedCollection.current = collection;\n }, [\n collection,\n selectionManager,\n selectionState,\n selectionState.focusedKey\n ]);\n return {\n collection: collection,\n disabledKeys: disabledKeys,\n isKeyboardNavigationDisabled: false,\n selectionManager: selectionManager\n };\n}\n\n\nexport {$183b79a1dd6664c1$export$4007ac09ff9c68ed as useGridState};\n//# sourceMappingURL=useGridState.mjs.map\n","import {useGridState as $183b79a1dd6664c1$export$4007ac09ff9c68ed} from \"../grid/useGridState.mjs\";\nimport {TableCollection as $3b14a8cc70843920$export$596e1b2e2cf93690} from \"./TableCollection.mjs\";\nimport {useCollection as $d03379b88399b8c5$export$6cd28814d92fa9c9} from \"../collections/useCollection.mjs\";\nimport {useControlledState as $3e6197669829fe11$export$40bfa8c7b0832715} from \"../utils/useControlledState.mjs\";\nimport {useState as $5on2X$useState, useMemo as $5on2X$useMemo, useCallback as $5on2X$useCallback} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\nconst $178a7f94e1b4b497$var$OPPOSITE_SORT_DIRECTION = {\n ascending: 'descending',\n descending: 'ascending'\n};\nfunction $178a7f94e1b4b497$export$907bcc6c48325fd6(props) {\n let [isKeyboardNavigationDisabled, setKeyboardNavigationDisabled] = (0, $5on2X$useState)(false);\n let { selectionMode: selectionMode = 'none', showSelectionCheckboxes: showSelectionCheckboxes, showDragButtons: showDragButtons, treeColumn: treeColumn = null } = props;\n let context = (0, $5on2X$useMemo)(()=>({\n showSelectionCheckboxes: showSelectionCheckboxes && selectionMode !== 'none',\n showDragButtons: showDragButtons,\n selectionMode: selectionMode,\n columns: []\n }), // eslint-disable-next-line react-hooks/exhaustive-deps\n [\n props.children,\n showSelectionCheckboxes,\n selectionMode,\n showDragButtons\n ]);\n let collection = (0, $d03379b88399b8c5$export$6cd28814d92fa9c9)(props, (0, $5on2X$useCallback)((nodes)=>new (0, $3b14a8cc70843920$export$596e1b2e2cf93690)(nodes, null, context), [\n context\n ]), context);\n let { disabledKeys: disabledKeys, selectionManager: selectionManager } = (0, $183b79a1dd6664c1$export$4007ac09ff9c68ed)({\n ...props,\n collection: collection,\n disabledBehavior: props.disabledBehavior || 'selection'\n });\n let [expandedKeys, setExpandedKeys] = (0, $3e6197669829fe11$export$40bfa8c7b0832715)(props.expandedKeys ? new Set(props.expandedKeys) : undefined, props.defaultExpandedKeys ? new Set(props.defaultExpandedKeys) : new Set(), props.onExpandedChange);\n return {\n collection: collection,\n disabledKeys: disabledKeys,\n selectionManager: selectionManager,\n showSelectionCheckboxes: props.showSelectionCheckboxes || false,\n sortDescriptor: props.sortDescriptor ?? null,\n isKeyboardNavigationDisabled: collection.size === 0 || isKeyboardNavigationDisabled,\n setKeyboardNavigationDisabled: setKeyboardNavigationDisabled,\n sort (columnKey, direction) {\n props.onSortChange?.({\n column: columnKey,\n direction: direction ?? (props.sortDescriptor?.column === columnKey ? $178a7f94e1b4b497$var$OPPOSITE_SORT_DIRECTION[props.sortDescriptor.direction] : 'ascending')\n });\n },\n expandedKeys: expandedKeys,\n toggleKey (key) {\n setExpandedKeys((keys)=>{\n let newKeys = new Set(keys);\n if (newKeys.has(key)) newKeys.delete(key);\n else newKeys.add(key);\n return newKeys;\n });\n },\n treeColumn: treeColumn\n };\n}\nfunction $178a7f94e1b4b497$export$31447e17397b15c2(state, filterFn) {\n let collection = (0, $5on2X$useMemo)(()=>filterFn ? state.collection.filter(filterFn) : state.collection, [\n state.collection,\n filterFn\n ]);\n let selectionManager = state.selectionManager.withCollection(collection);\n // TODO: handle focus key reset? That logic is in useGridState\n return {\n ...state,\n collection: collection,\n selectionManager: selectionManager\n };\n}\n\n\nexport {$178a7f94e1b4b497$export$907bcc6c48325fd6 as useTableState, $178a7f94e1b4b497$export$31447e17397b15c2 as UNSTABLE_useFilteredTableState};\n//# sourceMappingURL=useTableState.mjs.map\n","import {DOMLayoutDelegate as $a83747cc3f035330$export$8f5ed9ff9f511381} from \"../selection/DOMLayoutDelegate.mjs\";\nimport {getChildNodes as $94u1a$getChildNodes, getLastItem as $94u1a$getLastItem, getFirstItem as $94u1a$getFirstItem, getNthItem as $94u1a$getNthItem} from \"react-stately/private/collections/getChildNodes\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nclass $c7bb87e55e1ab755$export$de9feff04fda126e {\n constructor(options){\n this.collection = options.collection;\n this.disabledKeys = options.disabledKeys;\n this.disabledBehavior = options.disabledBehavior || 'all';\n this.direction = options.direction;\n this.collator = options.collator;\n if (!options.layout && !options.ref) throw new Error('Either a layout or a ref must be specified.');\n this.layoutDelegate = options.layoutDelegate || (options.layout ? new $c7bb87e55e1ab755$var$DeprecatedLayoutDelegate(options.layout) : new (0, $a83747cc3f035330$export$8f5ed9ff9f511381)(options.ref));\n this.focusMode = options.focusMode ?? 'row';\n }\n isCell(node) {\n return node.type === 'cell';\n }\n isRow(node) {\n return node.type === 'row' || node.type === 'item';\n }\n isDisabled(item) {\n return this.disabledBehavior === 'all' && (item.props?.isDisabled || this.disabledKeys.has(item.key)) && item.props?.disabledBehavior !== 'selection';\n }\n findPreviousKey(fromKey, pred, includeDisabled = false) {\n let key = fromKey != null ? this.collection.getKeyBefore(fromKey) : this.collection.getLastKey();\n while(key != null){\n let item = this.collection.getItem(key);\n if (!item) return null;\n if ((includeDisabled || !this.isDisabled(item)) && (!pred || pred(item))) return key;\n key = this.collection.getKeyBefore(key);\n }\n return null;\n }\n findNextKey(fromKey, pred, includeDisabled = false) {\n let key = fromKey != null ? this.collection.getKeyAfter(fromKey) : this.collection.getFirstKey();\n while(key != null){\n let item = this.collection.getItem(key);\n if (!item) return null;\n if ((includeDisabled || !this.isDisabled(item)) && (!pred || pred(item))) return key;\n key = this.collection.getKeyAfter(key);\n if (key == null) return null;\n }\n return null;\n }\n getKeyForItemInRowByIndex(key, index = 0) {\n if (index < 0) return null;\n let item = this.collection.getItem(key);\n if (!item) return null;\n let i = 0;\n for (let child of (0, $94u1a$getChildNodes)(item, this.collection)){\n if (child.colSpan && child.colSpan + i > index) return child.key ?? null;\n if (child.colSpan) i = i + child.colSpan - 1;\n if (i === index) return child.key ?? null;\n i++;\n }\n return null;\n }\n getKeyBelow(fromKey, options) {\n let key = fromKey;\n let startItem = this.collection.getItem(key);\n if (!startItem) return null;\n // If focus was on a cell, start searching from the parent row\n if (this.isCell(startItem)) key = startItem.parentKey ?? null;\n if (key == null) return null;\n // Find the next item\n key = this.findNextKey(key, (item)=>item.type === 'item', options?.includeDisabled);\n if (key != null) {\n // If focus was on a cell, focus the cell with the same index in the next row.\n if (this.isCell(startItem)) {\n let startIndex = startItem.colIndex ? startItem.colIndex : startItem.index;\n return this.getKeyForItemInRowByIndex(key, startIndex);\n }\n // Otherwise, focus the next row\n if (this.focusMode === 'row') return key;\n }\n return null;\n }\n getKeyAbove(fromKey, options) {\n let key = fromKey;\n let startItem = this.collection.getItem(key);\n if (!startItem) return null;\n // If focus is on a cell, start searching from the parent row\n if (this.isCell(startItem)) key = startItem.parentKey ?? null;\n if (key == null) return null;\n // Find the previous item\n key = this.findPreviousKey(key, (item)=>item.type === 'item', options?.includeDisabled);\n if (key != null) {\n // If focus was on a cell, focus the cell with the same index in the previous row.\n if (this.isCell(startItem)) {\n let startIndex = startItem.colIndex ? startItem.colIndex : startItem.index;\n return this.getKeyForItemInRowByIndex(key, startIndex);\n }\n // Otherwise, focus the previous row\n if (this.focusMode === 'row') return key;\n }\n return null;\n }\n getKeyRightOf(key) {\n let item = this.collection.getItem(key);\n if (!item) return null;\n // If focus is on a row, focus the first child cell.\n if (this.isRow(item)) {\n let children = (0, $94u1a$getChildNodes)(item, this.collection);\n return (this.direction === 'rtl' ? (0, $94u1a$getLastItem)(children)?.key : (0, $94u1a$getFirstItem)(children)?.key) ?? null;\n }\n // If focus is on a cell, focus the next cell if any,\n // otherwise focus the parent row.\n if (this.isCell(item) && item.parentKey != null) {\n let parent = this.collection.getItem(item.parentKey);\n if (!parent) return null;\n let children = (0, $94u1a$getChildNodes)(parent, this.collection);\n let next = (this.direction === 'rtl' ? (0, $94u1a$getNthItem)(children, item.index - 1) : (0, $94u1a$getNthItem)(children, item.index + 1)) ?? null;\n if (next) return next.key ?? null;\n // focus row only if focusMode is set to row\n if (this.focusMode === 'row') return item.parentKey ?? null;\n return (this.direction === 'rtl' ? this.getFirstKey(key) : this.getLastKey(key)) ?? null;\n }\n return null;\n }\n getKeyLeftOf(key) {\n let item = this.collection.getItem(key);\n if (!item) return null;\n // If focus is on a row, focus the last child cell.\n if (this.isRow(item)) {\n let children = (0, $94u1a$getChildNodes)(item, this.collection);\n return (this.direction === 'rtl' ? (0, $94u1a$getFirstItem)(children)?.key : (0, $94u1a$getLastItem)(children)?.key) ?? null;\n }\n // If focus is on a cell, focus the previous cell if any,\n // otherwise focus the parent row.\n if (this.isCell(item) && item.parentKey != null) {\n let parent = this.collection.getItem(item.parentKey);\n if (!parent) return null;\n let children = (0, $94u1a$getChildNodes)(parent, this.collection);\n let prev = (this.direction === 'rtl' ? (0, $94u1a$getNthItem)(children, item.index + 1) : (0, $94u1a$getNthItem)(children, item.index - 1)) ?? null;\n if (prev) return prev.key ?? null;\n // focus row only if focusMode is set to row\n if (this.focusMode === 'row') return item.parentKey ?? null;\n return (this.direction === 'rtl' ? this.getLastKey(key) : this.getFirstKey(key)) ?? null;\n }\n return null;\n }\n getFirstKey(fromKey, global) {\n let key = fromKey ?? null;\n let item;\n if (key != null) {\n item = this.collection.getItem(key);\n if (!item) return null;\n // If global flag is not set, and a cell is currently focused,\n // move focus to the first cell in the parent row.\n if (this.isCell(item) && !global && item.parentKey != null) {\n let parent = this.collection.getItem(item.parentKey);\n if (!parent) return null;\n return (0, $94u1a$getFirstItem)((0, $94u1a$getChildNodes)(parent, this.collection))?.key ?? null;\n }\n }\n // Find the first row\n key = this.findNextKey(undefined, (item)=>item.type === 'item');\n // If global flag is set (or if focus mode is cell), focus the first cell in the first row.\n if (key != null && (item && this.isCell(item) && global || this.focusMode === 'cell')) {\n let item = this.collection.getItem(key);\n if (!item) return null;\n key = (0, $94u1a$getFirstItem)((0, $94u1a$getChildNodes)(item, this.collection))?.key ?? null;\n }\n // Otherwise, focus the row itself.\n return key;\n }\n getLastKey(fromKey, global) {\n let key = fromKey ?? null;\n let item;\n if (key != null) {\n item = this.collection.getItem(key);\n if (!item) return null;\n // If global flag is not set, and a cell is currently focused,\n // move focus to the last cell in the parent row.\n if (this.isCell(item) && !global && item.parentKey != null) {\n let parent = this.collection.getItem(item.parentKey);\n if (!parent) return null;\n let children = (0, $94u1a$getChildNodes)(parent, this.collection);\n return (0, $94u1a$getLastItem)(children)?.key ?? null;\n }\n }\n // Find the last row\n key = this.findPreviousKey(undefined, (item)=>item.type === 'item');\n // If global flag is set (or if focus mode is cell), focus the last cell in the last row.\n if (key != null && (item && this.isCell(item) && global || this.focusMode === 'cell')) {\n let item = this.collection.getItem(key);\n if (!item) return null;\n let children = (0, $94u1a$getChildNodes)(item, this.collection);\n key = (0, $94u1a$getLastItem)(children)?.key ?? null;\n }\n // Otherwise, focus the row itself.\n return key;\n }\n getKeyPageAbove(fromKey) {\n let key = fromKey;\n let itemRect = this.layoutDelegate.getItemRect(key);\n if (!itemRect) return null;\n let pageY = Math.max(0, itemRect.y + itemRect.height - this.layoutDelegate.getVisibleRect().height);\n while(itemRect && itemRect.y > pageY && key != null){\n key = this.getKeyAbove(key) ?? null;\n if (key == null) break;\n itemRect = this.layoutDelegate.getItemRect(key);\n }\n return key;\n }\n getKeyPageBelow(fromKey) {\n let key = fromKey;\n let itemRect = this.layoutDelegate.getItemRect(key);\n if (!itemRect) return null;\n let pageHeight = this.layoutDelegate.getVisibleRect().height;\n let pageY = Math.min(this.layoutDelegate.getContentSize().height, itemRect.y + pageHeight);\n while(itemRect && itemRect.y + itemRect.height < pageY){\n let nextKey = this.getKeyBelow(key);\n // If nextKey is undefined, we've reached the last row already\n if (nextKey == null) break;\n itemRect = this.layoutDelegate.getItemRect(nextKey);\n key = nextKey;\n }\n return key;\n }\n getKeyForSearch(search, fromKey) {\n let key = fromKey ?? null;\n if (!this.collator) return null;\n let collection = this.collection;\n key = fromKey ?? this.getFirstKey();\n if (key == null) return null;\n // If the starting key is a cell, search from its parent row.\n let startItem = collection.getItem(key);\n if (!startItem) return null;\n if (startItem.type === 'cell') key = startItem.parentKey ?? null;\n let hasWrapped = false;\n while(key != null){\n let item = collection.getItem(key);\n if (!item) return null;\n // check row text value for match\n if (item.textValue) {\n let substring = item.textValue.slice(0, search.length);\n if (this.collator.compare(substring, search) === 0) {\n if (this.isRow(item) && this.focusMode === 'cell') return (0, $94u1a$getFirstItem)((0, $94u1a$getChildNodes)(item, this.collection))?.key ?? null;\n return item.key;\n }\n }\n key = this.findNextKey(key, (item)=>item.type === 'item');\n // Wrap around when reaching the end of the collection\n if (key == null && !hasWrapped) {\n key = this.getFirstKey();\n hasWrapped = true;\n }\n }\n return null;\n }\n}\nclass $c7bb87e55e1ab755$var$DeprecatedLayoutDelegate {\n constructor(layout){\n this.layout = layout;\n }\n getContentSize() {\n return this.layout.getContentSize();\n }\n getItemRect(key) {\n return this.layout.getLayoutInfo(key)?.rect || null;\n }\n getVisibleRect() {\n return this.layout.virtualizer.visibleRect;\n }\n}\n\n\nexport {$c7bb87e55e1ab755$export$de9feff04fda126e as GridKeyboardDelegate};\n//# sourceMappingURL=GridKeyboardDelegate.mjs.map\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ const $90a81c508a5c0de1$export$e6235c0d09b995d0 = new WeakMap();\n\n\nexport {$90a81c508a5c0de1$export$e6235c0d09b995d0 as gridMap};\n//# sourceMappingURL=utils.mjs.map\n","import {filterDOMProps as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f} from \"../utils/filterDOMProps.mjs\";\nimport {getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29, nodeContains as $23f2114a1b82827e$export$4282f70798064fe0} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {GridKeyboardDelegate as $c7bb87e55e1ab755$export$de9feff04fda126e} from \"./GridKeyboardDelegate.mjs\";\nimport {gridMap as $90a81c508a5c0de1$export$e6235c0d09b995d0} from \"./utils.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {useCollator as $673d46fce3e5717d$export$a16aca283550c30d} from \"../i18n/useCollator.mjs\";\nimport {useGridSelectionAnnouncement as $2b2556a8276954c1$export$137e594ef3218a10} from \"./useGridSelectionAnnouncement.mjs\";\nimport {useHasTabbableChild as $bf14c9739fda2eb3$export$eac1895992b9f3d6} from \"../focus/useHasTabbableChild.mjs\";\nimport {useHighlightSelectionDescription as $40ae3c60ef0e2e61$export$be42ebdab07ae4c2} from \"./useHighlightSelectionDescription.mjs\";\nimport {useId as $390e54f620492c70$export$f680877a34711e37} from \"../utils/useId.mjs\";\nimport {useLocale as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7} from \"../i18n/I18nProvider.mjs\";\nimport {useSelectableCollection as $d667c2af82d35a98$export$d6daf82dcd84e87c} from \"../selection/useSelectableCollection.mjs\";\nimport {useMemo as $1jEUe$useMemo, useCallback as $1jEUe$useCallback} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\n\n\n\nfunction $e9c0503d101e30f9$export$f6b86a04e5d66d90(props, state, ref) {\n let { isVirtualized: isVirtualized, disallowTypeAhead: disallowTypeAhead, keyboardDelegate: keyboardDelegate, focusMode: focusMode, scrollRef: scrollRef, getRowText: getRowText, onRowAction: onRowAction, onCellAction: onCellAction, escapeKeyBehavior: escapeKeyBehavior = 'clearSelection', shouldSelectOnPressUp: shouldSelectOnPressUp } = props;\n let { selectionManager: manager } = state;\n if (!props['aria-label'] && !props['aria-labelledby']) console.warn('An aria-label or aria-labelledby prop is required for accessibility.');\n // By default, a KeyboardDelegate is provided which uses the DOM to query layout information (e.g. for page up/page down).\n // When virtualized, the layout object will be passed in as a prop and override this.\n let collator = (0, $673d46fce3e5717d$export$a16aca283550c30d)({\n usage: 'search',\n sensitivity: 'base'\n });\n let { direction: direction } = (0, $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7)();\n let disabledBehavior = state.selectionManager.disabledBehavior;\n let delegate = (0, $1jEUe$useMemo)(()=>keyboardDelegate || new (0, $c7bb87e55e1ab755$export$de9feff04fda126e)({\n collection: state.collection,\n disabledKeys: state.disabledKeys,\n disabledBehavior: disabledBehavior,\n ref: ref,\n direction: direction,\n collator: collator,\n focusMode: focusMode\n }), [\n keyboardDelegate,\n state.collection,\n state.disabledKeys,\n disabledBehavior,\n ref,\n direction,\n collator,\n focusMode\n ]);\n let { collectionProps: collectionProps } = (0, $d667c2af82d35a98$export$d6daf82dcd84e87c)({\n ref: ref,\n selectionManager: manager,\n keyboardDelegate: delegate,\n isVirtualized: isVirtualized,\n scrollRef: scrollRef,\n disallowTypeAhead: disallowTypeAhead,\n escapeKeyBehavior: escapeKeyBehavior\n });\n let id = (0, $390e54f620492c70$export$f680877a34711e37)(props.id);\n (0, $90a81c508a5c0de1$export$e6235c0d09b995d0).set(state, {\n keyboardDelegate: delegate,\n actions: {\n onRowAction: onRowAction,\n onCellAction: onCellAction\n },\n shouldSelectOnPressUp: shouldSelectOnPressUp\n });\n let descriptionProps = (0, $40ae3c60ef0e2e61$export$be42ebdab07ae4c2)({\n selectionManager: manager,\n hasItemActions: !!(onRowAction || onCellAction)\n });\n let domProps = (0, $8e9d2fae0ecb9001$export$457c3d6518dd4c6f)(props, {\n labelable: true\n });\n let onFocus = (0, $1jEUe$useCallback)((e)=>{\n if (manager.isFocused) {\n // If a focus event bubbled through a portal, reset focus state.\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) manager.setFocused(false);\n return;\n }\n // Focus events can bubble through portals. Ignore these events.\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n manager.setFocused(true);\n }, [\n manager\n ]);\n // Continue to track collection focused state even if keyboard navigation is disabled\n let navDisabledHandlers = (0, $1jEUe$useMemo)(()=>({\n onBlur: collectionProps.onBlur,\n onFocus: onFocus\n }), [\n onFocus,\n collectionProps.onBlur\n ]);\n let hasTabbableChild = (0, $bf14c9739fda2eb3$export$eac1895992b9f3d6)(ref, {\n isDisabled: state.collection.size !== 0\n });\n let gridProps = (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(domProps, {\n role: 'grid',\n id: id,\n 'aria-multiselectable': manager.selectionMode === 'multiple' ? 'true' : undefined\n }, state.isKeyboardNavigationDisabled ? navDisabledHandlers : collectionProps, // If collection is empty, make sure the grid is tabbable unless there is a child tabbable element.\n state.collection.size === 0 && {\n tabIndex: hasTabbableChild ? -1 : 0\n } || undefined, descriptionProps);\n if (isVirtualized) {\n gridProps['aria-rowcount'] = state.collection.size;\n gridProps['aria-colcount'] = state.collection.columnCount;\n }\n (0, $2b2556a8276954c1$export$137e594ef3218a10)({\n getRowText: getRowText\n }, state);\n return {\n gridProps: gridProps\n };\n}\n\n\nexport {$e9c0503d101e30f9$export$f6b86a04e5d66d90 as useGrid};\n//# sourceMappingURL=useGrid.mjs.map\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ const $cf56c58f505db99a$export$552312adfd451dab = new WeakMap();\nfunction $cf56c58f505db99a$var$normalizeKey(key) {\n if (typeof key === 'string') return key.replace(/\\s*/g, '');\n return '' + key;\n}\nfunction $cf56c58f505db99a$export$37cd4213f2ad742e(state, columnKey) {\n let gridId = $cf56c58f505db99a$export$552312adfd451dab.get(state);\n if (!gridId) throw new Error('Unknown grid');\n return `${gridId}-${$cf56c58f505db99a$var$normalizeKey(columnKey)}`;\n}\nfunction $cf56c58f505db99a$export$19baff3266315d44(state, rowKey, columnKey) {\n let gridId = $cf56c58f505db99a$export$552312adfd451dab.get(state);\n if (!gridId) throw new Error('Unknown grid');\n return `${gridId}-${$cf56c58f505db99a$var$normalizeKey(rowKey)}-${$cf56c58f505db99a$var$normalizeKey(columnKey)}`;\n}\nfunction $cf56c58f505db99a$export$85069b70317f543(state, rowKey) {\n // A row is labelled by it's row headers.\n return [\n ...state.collection.rowHeaderColumnKeys\n ].map((columnKey)=>$cf56c58f505db99a$export$19baff3266315d44(state, rowKey, columnKey)).join(' ');\n}\n\n\nexport {$cf56c58f505db99a$export$552312adfd451dab as gridIds, $cf56c58f505db99a$export$37cd4213f2ad742e as getColumnHeaderId, $cf56c58f505db99a$export$19baff3266315d44 as getCellId, $cf56c58f505db99a$export$85069b70317f543 as getRowLabelledBy};\n//# sourceMappingURL=utils.mjs.map\n","var $a10cd6e667253061$exports = {};\n$a10cd6e667253061$exports = {\n \"ascending\": `\\u{62A}\\u{635}\\u{627}\\u{639}\\u{62F}\\u{64A}`,\n \"ascendingSort\": (args)=>`\\u{62A}\\u{631}\\u{62A}\\u{64A}\\u{628} \\u{62D}\\u{633}\\u{628} \\u{627}\\u{644}\\u{639}\\u{645}\\u{648}\\u{62F} ${args.columnName} \\u{628}\\u{62A}\\u{631}\\u{62A}\\u{64A}\\u{628} \\u{62A}\\u{635}\\u{627}\\u{639}\\u{62F}\\u{64A}`,\n \"columnSize\": (args)=>`${args.value} \\u{628}\\u{627}\\u{644}\\u{628}\\u{643}\\u{633}\\u{644}`,\n \"descending\": `\\u{62A}\\u{646}\\u{627}\\u{632}\\u{644}\\u{64A}`,\n \"descendingSort\": (args)=>`\\u{62A}\\u{631}\\u{62A}\\u{64A}\\u{628} \\u{62D}\\u{633}\\u{628} \\u{627}\\u{644}\\u{639}\\u{645}\\u{648}\\u{62F} ${args.columnName} \\u{628}\\u{62A}\\u{631}\\u{62A}\\u{64A}\\u{628} \\u{62A}\\u{646}\\u{627}\\u{632}\\u{644}\\u{64A}`,\n \"resizerDescription\": `\\u{627}\\u{636}\\u{63A}\\u{637} \\u{639}\\u{644}\\u{649} \\u{645}\\u{641}\\u{62A}\\u{627}\\u{62D} Enter \\u{644}\\u{628}\\u{62F}\\u{621} \\u{62A}\\u{63A}\\u{64A}\\u{64A}\\u{631} \\u{627}\\u{644}\\u{62D}\\u{62C}\\u{645}`,\n \"select\": `\\u{62A}\\u{62D}\\u{62F}\\u{64A}\\u{62F}`,\n \"selectAll\": `\\u{62A}\\u{62D}\\u{62F}\\u{64A}\\u{62F} \\u{627}\\u{644}\\u{643}\\u{644}`,\n \"sortable\": `\\u{639}\\u{645}\\u{648}\\u{62F} \\u{642}\\u{627}\\u{628}\\u{644} \\u{644}\\u{644}\\u{62A}\\u{631}\\u{62A}\\u{64A}\\u{628}`,\n \"collapse\": `\\u{637}\\u{64A}`,\n \"expand\": `\\u{62A}\\u{645}\\u{62F}\\u{64A}\\u{62F}`\n};\n\n\nexport {$a10cd6e667253061$exports as default};\n//# sourceMappingURL=ar-AE.mjs.map\n","var $f833f49c391c486d$exports = {};\n$f833f49c391c486d$exports = {\n \"ascending\": `\\u{432}\\u{44A}\\u{437}\\u{445}\\u{43E}\\u{434}\\u{44F}\\u{449}`,\n \"ascendingSort\": (args)=>`\\u{441}\\u{43E}\\u{440}\\u{442}\\u{438}\\u{440}\\u{430}\\u{43D}\\u{43E} \\u{43F}\\u{43E} \\u{43A}\\u{43E}\\u{43B}\\u{43E}\\u{43D}\\u{430} ${args.columnName} \\u{432}\\u{44A}\\u{432} \\u{432}\\u{44A}\\u{437}\\u{445}\\u{43E}\\u{434}\\u{44F}\\u{449} \\u{440}\\u{435}\\u{434}`,\n \"columnSize\": (args)=>`${args.value} \\u{43F}\\u{438}\\u{43A}\\u{441}\\u{435}\\u{43B}\\u{430}`,\n \"descending\": `\\u{43D}\\u{438}\\u{437}\\u{445}\\u{43E}\\u{434}\\u{44F}\\u{449}`,\n \"descendingSort\": (args)=>`\\u{441}\\u{43E}\\u{440}\\u{442}\\u{438}\\u{440}\\u{430}\\u{43D}\\u{43E} \\u{43F}\\u{43E} \\u{43A}\\u{43E}\\u{43B}\\u{43E}\\u{43D}\\u{430} ${args.columnName} \\u{432} \\u{43D}\\u{438}\\u{437}\\u{445}\\u{43E}\\u{434}\\u{44F}\\u{449} \\u{440}\\u{435}\\u{434}`,\n \"resizerDescription\": `\\u{41D}\\u{430}\\u{442}\\u{438}\\u{441}\\u{43D}\\u{435}\\u{442}\\u{435} \\u{201E}Enter\\u{201C}, \\u{437}\\u{430} \\u{434}\\u{430} \\u{437}\\u{430}\\u{43F}\\u{43E}\\u{447}\\u{43D}\\u{435}\\u{442}\\u{435} \\u{434}\\u{430} \\u{43F}\\u{440}\\u{435}\\u{43E}\\u{440}\\u{430}\\u{437}\\u{43C}\\u{435}\\u{440}\\u{44F}\\u{432}\\u{430}\\u{442}\\u{435}`,\n \"select\": `\\u{418}\\u{437}\\u{431}\\u{435}\\u{440}\\u{435}\\u{442}\\u{435}`,\n \"selectAll\": `\\u{418}\\u{437}\\u{431}\\u{435}\\u{440}\\u{435}\\u{442}\\u{435} \\u{432}\\u{441}\\u{438}\\u{447}\\u{43A}\\u{43E}`,\n \"sortable\": `\\u{441}\\u{43E}\\u{440}\\u{442}\\u{438}\\u{440}\\u{430}\\u{449}\\u{430} \\u{43A}\\u{43E}\\u{43B}\\u{43E}\\u{43D}\\u{430}`,\n \"collapse\": `\\u{421}\\u{432}\\u{438}\\u{432}\\u{430}\\u{43D}\\u{435}`,\n \"expand\": `\\u{420}\\u{430}\\u{437}\\u{448}\\u{438}\\u{440}\\u{44F}\\u{432}\\u{430}\\u{43D}\\u{435}`\n};\n\n\nexport {$f833f49c391c486d$exports as default};\n//# sourceMappingURL=bg-BG.mjs.map\n","var $e1d51bb8289599c0$exports = {};\n$e1d51bb8289599c0$exports = {\n \"ascending\": `vzestupn\\u{11B}`,\n \"ascendingSort\": (args)=>`\\u{159}azeno vzestupn\\u{11B} podle sloupce ${args.columnName}`,\n \"columnSize\": (args)=>`${args.value} pixel\\u{16F}`,\n \"descending\": `sestupn\\u{11B}`,\n \"descendingSort\": (args)=>`\\u{159}azeno sestupn\\u{11B} podle sloupce ${args.columnName}`,\n \"resizerDescription\": `Stisknut\\xedm kl\\xe1vesy Enter za\\u{10D}nete m\\u{11B}nit velikost`,\n \"select\": `Vybrat`,\n \"selectAll\": `Vybrat v\\u{161}e`,\n \"sortable\": `sloupec s mo\\u{17E}nost\\xed \\u{159}azen\\xed`,\n \"collapse\": `Sbalit`,\n \"expand\": `Rozt\\xe1hnout`\n};\n\n\nexport {$e1d51bb8289599c0$exports as default};\n//# sourceMappingURL=cs-CZ.mjs.map\n","var $4969ddadcdabd0a2$exports = {};\n$4969ddadcdabd0a2$exports = {\n \"ascending\": `stigende`,\n \"ascendingSort\": (args)=>`sorteret efter kolonne ${args.columnName} i stigende r\\xe6kkef\\xf8lge`,\n \"columnSize\": (args)=>`${args.value} pixels`,\n \"descending\": `faldende`,\n \"descendingSort\": (args)=>`sorteret efter kolonne ${args.columnName} i faldende r\\xe6kkef\\xf8lge`,\n \"resizerDescription\": `Tryk p\\xe5 Enter for at \\xe6ndre st\\xf8rrelse`,\n \"select\": `V\\xe6lg`,\n \"selectAll\": `V\\xe6lg alle`,\n \"sortable\": `sorterbar kolonne`,\n \"collapse\": `Skjul`,\n \"expand\": `Udvid`\n};\n\n\nexport {$4969ddadcdabd0a2$exports as default};\n//# sourceMappingURL=da-DK.mjs.map\n","var $c364d2816a375361$exports = {};\n$c364d2816a375361$exports = {\n \"ascending\": `aufsteigend`,\n \"ascendingSort\": (args)=>`sortiert nach Spalte ${args.columnName} in aufsteigender Reihenfolge`,\n \"columnSize\": (args)=>`${args.value} Pixel`,\n \"descending\": `absteigend`,\n \"descendingSort\": (args)=>`sortiert nach Spalte ${args.columnName} in absteigender Reihenfolge`,\n \"resizerDescription\": `Eingabetaste zum Starten der Gr\\xf6\\xdfen\\xe4nderung dr\\xfccken`,\n \"select\": `Ausw\\xe4hlen`,\n \"selectAll\": `Alles ausw\\xe4hlen`,\n \"sortable\": `sortierbare Spalte`,\n \"collapse\": `Reduzieren`,\n \"expand\": `Erweitern`\n};\n\n\nexport {$c364d2816a375361$exports as default};\n//# sourceMappingURL=de-DE.mjs.map\n","var $0df507a20cd3de68$exports = {};\n$0df507a20cd3de68$exports = {\n \"ascending\": `\\u{3B1}\\u{3CD}\\u{3BE}\\u{3BF}\\u{3C5}\\u{3C3}\\u{3B1}`,\n \"ascendingSort\": (args)=>`\\u{3B4}\\u{3B9}\\u{3B1}\\u{3BB}\\u{3BF}\\u{3B3}\\u{3AE} \\u{3B1}\\u{3BD}\\u{3AC} \\u{3C3}\\u{3C4}\\u{3AE}\\u{3BB}\\u{3B7} ${args.columnName} \\u{3C3}\\u{3B5} \\u{3B1}\\u{3CD}\\u{3BE}\\u{3BF}\\u{3C5}\\u{3C3}\\u{3B1} \\u{3C3}\\u{3B5}\\u{3B9}\\u{3C1}\\u{3AC}`,\n \"columnSize\": (args)=>`${args.value} pixel`,\n \"descending\": `\\u{3C6}\\u{3B8}\\u{3AF}\\u{3BD}\\u{3BF}\\u{3C5}\\u{3C3}\\u{3B1}`,\n \"descendingSort\": (args)=>`\\u{3B4}\\u{3B9}\\u{3B1}\\u{3BB}\\u{3BF}\\u{3B3}\\u{3AE} \\u{3B1}\\u{3BD}\\u{3AC} \\u{3C3}\\u{3C4}\\u{3AE}\\u{3BB}\\u{3B7} ${args.columnName} \\u{3C3}\\u{3B5} \\u{3C6}\\u{3B8}\\u{3AF}\\u{3BD}\\u{3BF}\\u{3C5}\\u{3C3}\\u{3B1} \\u{3C3}\\u{3B5}\\u{3B9}\\u{3C1}\\u{3AC}`,\n \"resizerDescription\": `\\u{3A0}\\u{3B1}\\u{3C4}\\u{3AE}\\u{3C3}\\u{3C4}\\u{3B5} Enter \\u{3B3}\\u{3B9}\\u{3B1} \\u{3AD}\\u{3BD}\\u{3B1}\\u{3C1}\\u{3BE}\\u{3B7} \\u{3C4}\\u{3B7}\\u{3C2} \\u{3B1}\\u{3BB}\\u{3BB}\\u{3B1}\\u{3B3}\\u{3AE}\\u{3C2} \\u{3BC}\\u{3B5}\\u{3B3}\\u{3AD}\\u{3B8}\\u{3BF}\\u{3C5}\\u{3C2}`,\n \"select\": `\\u{395}\\u{3C0}\\u{3B9}\\u{3BB}\\u{3BF}\\u{3B3}\\u{3AE}`,\n \"selectAll\": `\\u{395}\\u{3C0}\\u{3B9}\\u{3BB}\\u{3BF}\\u{3B3}\\u{3AE} \\u{3CC}\\u{3BB}\\u{3C9}\\u{3BD}`,\n \"sortable\": `\\u{3A3}\\u{3C4}\\u{3AE}\\u{3BB}\\u{3B7} \\u{3B4}\\u{3B9}\\u{3B1}\\u{3BB}\\u{3BF}\\u{3B3}\\u{3AE}\\u{3C2}`,\n \"collapse\": `\\u{3A3}\\u{3CD}\\u{3BC}\\u{3C0}\\u{3C4}\\u{3C5}\\u{3BE}\\u{3B7}`,\n \"expand\": `\\u{391}\\u{3BD}\\u{3AC}\\u{3C0}\\u{3C4}\\u{3C5}\\u{3BE}\\u{3B7}`\n};\n\n\nexport {$0df507a20cd3de68$exports as default};\n//# sourceMappingURL=el-GR.mjs.map\n","var $160d566c570091e8$exports = {};\n$160d566c570091e8$exports = {\n \"select\": `Select`,\n \"selectAll\": `Select All`,\n \"sortable\": `sortable column`,\n \"ascending\": `ascending`,\n \"descending\": `descending`,\n \"ascendingSort\": (args)=>`sorted by column ${args.columnName} in ascending order`,\n \"descendingSort\": (args)=>`sorted by column ${args.columnName} in descending order`,\n \"columnSize\": (args)=>`${args.value} pixels`,\n \"resizerDescription\": `Press Enter to start resizing`,\n \"expand\": `Expand`,\n \"collapse\": `Collapse`\n};\n\n\nexport {$160d566c570091e8$exports as default};\n//# sourceMappingURL=en-US.mjs.map\n","var $d4414c84e6d49dbd$exports = {};\n$d4414c84e6d49dbd$exports = {\n \"ascending\": `ascendente`,\n \"ascendingSort\": (args)=>`ordenado por columna ${args.columnName} en sentido ascendente`,\n \"columnSize\": (args)=>`${args.value} p\\xedxeles`,\n \"descending\": `descendente`,\n \"descendingSort\": (args)=>`ordenado por columna ${args.columnName} en orden descendente`,\n \"resizerDescription\": `Pulse Intro para empezar a redimensionar`,\n \"select\": `Seleccionar`,\n \"selectAll\": `Seleccionar todos`,\n \"sortable\": `columna ordenable`,\n \"collapse\": `Contraer`,\n \"expand\": `Ampliar`\n};\n\n\nexport {$d4414c84e6d49dbd$exports as default};\n//# sourceMappingURL=es-ES.mjs.map\n","var $ec636463074d0694$exports = {};\n$ec636463074d0694$exports = {\n \"ascending\": `t\\xf5usev j\\xe4rjestus`,\n \"ascendingSort\": (args)=>`sorditud veeru j\\xe4rgi ${args.columnName} t\\xf5usvas j\\xe4rjestuses`,\n \"columnSize\": (args)=>`${args.value} pikslit`,\n \"descending\": `laskuv j\\xe4rjestus`,\n \"descendingSort\": (args)=>`sorditud veeru j\\xe4rgi ${args.columnName} laskuvas j\\xe4rjestuses`,\n \"resizerDescription\": `Suuruse muutmise alustamiseks vajutage klahvi Enter`,\n \"select\": `Vali`,\n \"selectAll\": `Vali k\\xf5ik`,\n \"sortable\": `sorditav veerg`,\n \"collapse\": `Ahenda`,\n \"expand\": `Laienda`\n};\n\n\nexport {$ec636463074d0694$exports as default};\n//# sourceMappingURL=et-EE.mjs.map\n","var $b9af5cacb30118d3$exports = {};\n$b9af5cacb30118d3$exports = {\n \"ascending\": `nouseva`,\n \"ascendingSort\": (args)=>`lajiteltu sarakkeen ${args.columnName} mukaan nousevassa j\\xe4rjestyksess\\xe4`,\n \"columnSize\": (args)=>`${args.value} pikseli\\xe4`,\n \"descending\": `laskeva`,\n \"descendingSort\": (args)=>`lajiteltu sarakkeen ${args.columnName} mukaan laskevassa j\\xe4rjestyksess\\xe4`,\n \"resizerDescription\": `Aloita koon muutos painamalla Enter-n\\xe4pp\\xe4int\\xe4`,\n \"select\": `Valitse`,\n \"selectAll\": `Valitse kaikki`,\n \"sortable\": `lajiteltava sarake`,\n \"collapse\": `Pienenn\\xe4`,\n \"expand\": `Laajenna`\n};\n\n\nexport {$b9af5cacb30118d3$exports as default};\n//# sourceMappingURL=fi-FI.mjs.map\n","var $5d623a6b4bfba620$exports = {};\n$5d623a6b4bfba620$exports = {\n \"ascending\": `croissant`,\n \"ascendingSort\": (args)=>`tri\\xe9 en fonction de la colonne\\xa0${args.columnName} par ordre croissant`,\n \"columnSize\": (args)=>`${args.value}\\xa0pixels`,\n \"descending\": `d\\xe9croissant`,\n \"descendingSort\": (args)=>`tri\\xe9 en fonction de la colonne\\xa0${args.columnName} par ordre d\\xe9croissant`,\n \"resizerDescription\": `Appuyez sur Entr\\xe9e pour commencer le redimensionnement.`,\n \"select\": `S\\xe9lectionner`,\n \"selectAll\": `S\\xe9lectionner tout`,\n \"sortable\": `colonne triable`,\n \"collapse\": `R\\xe9duire`,\n \"expand\": `D\\xe9velopper`\n};\n\n\nexport {$5d623a6b4bfba620$exports as default};\n//# sourceMappingURL=fr-FR.mjs.map\n","var $d3538834bc29f0e4$exports = {};\n$d3538834bc29f0e4$exports = {\n \"ascending\": `\\u{5E2}\\u{5D5}\\u{5DC}\\u{5D4}`,\n \"ascendingSort\": (args)=>`\\u{5DE}\\u{5D5}\\u{5D9}\\u{5DF} \\u{5DC}\\u{5E4}\\u{5D9} \\u{5E2}\\u{5DE}\\u{5D5}\\u{5D3}\\u{5D4} ${args.columnName} \\u{5D1}\\u{5E1}\\u{5D3}\\u{5E8} \\u{5E2}\\u{5D5}\\u{5DC}\\u{5D4}`,\n \"columnSize\": (args)=>`${args.value} \\u{5E4}\\u{5D9}\\u{5E7}\\u{5E1}\\u{5DC}\\u{5D9}\\u{5DD}`,\n \"descending\": `\\u{5D9}\\u{5D5}\\u{5E8}\\u{5D3}`,\n \"descendingSort\": (args)=>`\\u{5DE}\\u{5D5}\\u{5D9}\\u{5DF} \\u{5DC}\\u{5E4}\\u{5D9} \\u{5E2}\\u{5DE}\\u{5D5}\\u{5D3}\\u{5D4} ${args.columnName} \\u{5D1}\\u{5E1}\\u{5D3}\\u{5E8} \\u{5D9}\\u{5D5}\\u{5E8}\\u{5D3}`,\n \"resizerDescription\": `\\u{5D4}\\u{5E7}\\u{5E9} Enter \\u{5DB}\\u{5D3}\\u{5D9} \\u{5DC}\\u{5E9}\\u{5E0}\\u{5D5}\\u{5EA} \\u{5D0}\\u{5EA} \\u{5D4}\\u{5D2}\\u{5D5}\\u{5D3}\\u{5DC}`,\n \"select\": `\\u{5D1}\\u{5D7}\\u{5E8}`,\n \"selectAll\": `\\u{5D1}\\u{5D7}\\u{5E8} \\u{5D4}\\u{5DB}\\u{5D5}\\u{5DC}`,\n \"sortable\": `\\u{5E2}\\u{5DE}\\u{5D5}\\u{5D3}\\u{5D4} \\u{5E9}\\u{5E0}\\u{5D9}\\u{5EA}\\u{5DF} \\u{5DC}\\u{5DE}\\u{5D9}\\u{5D9}\\u{5DF}`,\n \"collapse\": `\\u{5DB}\\u{5D5}\\u{5D5}\\u{5E5}`,\n \"expand\": `\\u{5D4}\\u{5E8}\\u{5D7}\\u{5D1}`\n};\n\n\nexport {$d3538834bc29f0e4$exports as default};\n//# sourceMappingURL=he-IL.mjs.map\n","var $ff234028e319d566$exports = {};\n$ff234028e319d566$exports = {\n \"ascending\": `rastu\\u{107}i`,\n \"ascendingSort\": (args)=>`razvrstano po stupcima ${args.columnName} rastu\\u{107}em redoslijedom`,\n \"columnSize\": (args)=>`${args.value} piksela`,\n \"descending\": `padaju\\u{107}i`,\n \"descendingSort\": (args)=>`razvrstano po stupcima ${args.columnName} padaju\\u{107}im redoslijedom`,\n \"resizerDescription\": `Pritisnite Enter da biste zapo\\u{10D}eli promenu veli\\u{10D}ine`,\n \"select\": `Odaberite`,\n \"selectAll\": `Odaberite sve`,\n \"sortable\": `stupac koji se mo\\u{17E}e razvrstati`,\n \"collapse\": `Sa\\u{17E}mi`,\n \"expand\": `Pro\\u{161}iri`\n};\n\n\nexport {$ff234028e319d566$exports as default};\n//# sourceMappingURL=hr-HR.mjs.map\n","var $a460605373fc3c6e$exports = {};\n$a460605373fc3c6e$exports = {\n \"ascending\": `n\\xf6vekv\\u{151}`,\n \"ascendingSort\": (args)=>`rendezve a(z) ${args.columnName} oszlop szerint, n\\xf6vekv\\u{151} sorrendben`,\n \"columnSize\": (args)=>`${args.value} k\\xe9ppont`,\n \"descending\": `cs\\xf6kken\\u{151}`,\n \"descendingSort\": (args)=>`rendezve a(z) ${args.columnName} oszlop szerint, cs\\xf6kken\\u{151} sorrendben`,\n \"resizerDescription\": `Nyomja le az Enter billenty\\u{171}t az \\xe1tm\\xe9retez\\xe9s megkezd\\xe9s\\xe9hez`,\n \"select\": `Kijel\\xf6l\\xe9s`,\n \"selectAll\": `\\xd6sszes kijel\\xf6l\\xe9se`,\n \"sortable\": `rendezend\\u{151} oszlop`,\n \"collapse\": `\\xd6sszecsuk\\xe1s`,\n \"expand\": `Kibont\\xe1s`\n};\n\n\nexport {$a460605373fc3c6e$exports as default};\n//# sourceMappingURL=hu-HU.mjs.map\n","var $08adf0fa2daf2795$exports = {};\n$08adf0fa2daf2795$exports = {\n \"ascending\": `crescente`,\n \"ascendingSort\": (args)=>`in ordine crescente in base alla colonna ${args.columnName}`,\n \"columnSize\": (args)=>`${args.value} pixel`,\n \"descending\": `decrescente`,\n \"descendingSort\": (args)=>`in ordine decrescente in base alla colonna ${args.columnName}`,\n \"resizerDescription\": `Premi Invio per iniziare a ridimensionare`,\n \"select\": `Seleziona`,\n \"selectAll\": `Seleziona tutto`,\n \"sortable\": `colonna ordinabile`,\n \"collapse\": `Comprimi`,\n \"expand\": `Espandi`\n};\n\n\nexport {$08adf0fa2daf2795$exports as default};\n//# sourceMappingURL=it-IT.mjs.map\n","var $f0df77706c7c9d19$exports = {};\n$f0df77706c7c9d19$exports = {\n \"ascending\": `\\u{6607}\\u{9806}`,\n \"ascendingSort\": (args)=>`\\u{5217} ${args.columnName} \\u{3092}\\u{6607}\\u{9806}\\u{3067}\\u{4E26}\\u{3079}\\u{66FF}\\u{3048}`,\n \"columnSize\": (args)=>`${args.value} \\u{30D4}\\u{30AF}\\u{30BB}\\u{30EB}`,\n \"descending\": `\\u{964D}\\u{9806}`,\n \"descendingSort\": (args)=>`\\u{5217} ${args.columnName} \\u{3092}\\u{964D}\\u{9806}\\u{3067}\\u{4E26}\\u{3079}\\u{66FF}\\u{3048}`,\n \"resizerDescription\": `Enter \\u{30AD}\\u{30FC}\\u{3092}\\u{62BC}\\u{3057}\\u{3066}\\u{30B5}\\u{30A4}\\u{30BA}\\u{5909}\\u{66F4}\\u{3092}\\u{958B}\\u{59CB}`,\n \"select\": `\\u{9078}\\u{629E}`,\n \"selectAll\": `\\u{3059}\\u{3079}\\u{3066}\\u{9078}\\u{629E}`,\n \"sortable\": `\\u{4E26}\\u{3079}\\u{66FF}\\u{3048}\\u{53EF}\\u{80FD}\\u{306A}\\u{5217}`,\n \"collapse\": `\\u{6298}\\u{308A}\\u{305F}\\u{305F}\\u{3080}`,\n \"expand\": `\\u{5C55}\\u{958B}`\n};\n\n\nexport {$f0df77706c7c9d19$exports as default};\n//# sourceMappingURL=ja-JP.mjs.map\n","var $e5ac4371cd150188$exports = {};\n$e5ac4371cd150188$exports = {\n \"ascending\": `\\u{C624}\\u{B984}\\u{CC28}\\u{C21C}`,\n \"ascendingSort\": (args)=>`${args.columnName} \\u{C5F4}\\u{C744} \\u{AE30}\\u{C900}\\u{C73C}\\u{B85C} \\u{C624}\\u{B984}\\u{CC28}\\u{C21C}\\u{C73C}\\u{B85C} \\u{C815}\\u{B82C}\\u{B428}`,\n \"columnSize\": (args)=>`${args.value} \\u{D53D}\\u{C140}`,\n \"descending\": `\\u{B0B4}\\u{B9BC}\\u{CC28}\\u{C21C}`,\n \"descendingSort\": (args)=>`${args.columnName} \\u{C5F4}\\u{C744} \\u{AE30}\\u{C900}\\u{C73C}\\u{B85C} \\u{B0B4}\\u{B9BC}\\u{CC28}\\u{C21C}\\u{C73C}\\u{B85C} \\u{C815}\\u{B82C}\\u{B428}`,\n \"resizerDescription\": `\\u{D06C}\\u{AE30} \\u{C870}\\u{C815}\\u{C744} \\u{C2DC}\\u{C791}\\u{D558}\\u{B824}\\u{BA74} Enter\\u{B97C} \\u{B204}\\u{B974}\\u{C138}\\u{C694}.`,\n \"select\": `\\u{C120}\\u{D0DD}`,\n \"selectAll\": `\\u{BAA8}\\u{B450} \\u{C120}\\u{D0DD}`,\n \"sortable\": `\\u{C815}\\u{B82C} \\u{AC00}\\u{B2A5}\\u{D55C} \\u{C5F4}`,\n \"collapse\": `\\u{C811}\\u{AE30}`,\n \"expand\": `\\u{D3BC}\\u{CE58}\\u{AE30}`\n};\n\n\nexport {$e5ac4371cd150188$exports as default};\n//# sourceMappingURL=ko-KR.mjs.map\n","var $f47edc2cbf755d2f$exports = {};\n$f47edc2cbf755d2f$exports = {\n \"ascending\": `did\\u{117}jan\\u{10D}ia tvarka`,\n \"ascendingSort\": (args)=>`surikiuota pagal stulpel\\u{12F} ${args.columnName} did\\u{117}jan\\u{10D}ia tvarka`,\n \"columnSize\": (args)=>`${args.value} piks.`,\n \"descending\": `ma\\u{17E}\\u{117}jan\\u{10D}ia tvarka`,\n \"descendingSort\": (args)=>`surikiuota pagal stulpel\\u{12F} ${args.columnName} ma\\u{17E}\\u{117}jan\\u{10D}ia tvarka`,\n \"resizerDescription\": `Paspauskite \\u{201E}Enter\\u{201C}, kad prad\\u{117}tum\\u{117}te keisti dyd\\u{12F}`,\n \"select\": `Pasirinkti`,\n \"selectAll\": `Pasirinkti visk\\u{105}`,\n \"sortable\": `rikiuojamas stulpelis`,\n \"collapse\": `Sutraukti`,\n \"expand\": `I\\u{161}skleisti`\n};\n\n\nexport {$f47edc2cbf755d2f$exports as default};\n//# sourceMappingURL=lt-LT.mjs.map\n","var $be90ff34dfb20f33$exports = {};\n$be90ff34dfb20f33$exports = {\n \"ascending\": `augo\\u{161}\\u{101} sec\\u{12B}b\\u{101}`,\n \"ascendingSort\": (args)=>`k\\u{101}rtots p\\u{113}c kolonnas ${args.columnName} augo\\u{161}\\u{101} sec\\u{12B}b\\u{101}`,\n \"columnSize\": (args)=>`${args.value} pikse\\u{13C}i`,\n \"descending\": `dilsto\\u{161}\\u{101} sec\\u{12B}b\\u{101}`,\n \"descendingSort\": (args)=>`k\\u{101}rtots p\\u{113}c kolonnas ${args.columnName} dilsto\\u{161}\\u{101} sec\\u{12B}b\\u{101}`,\n \"resizerDescription\": `Nospiediet Enter, lai s\\u{101}ktu izm\\u{113}ru main\\u{12B}\\u{161}anu`,\n \"select\": `Atlas\\u{12B}t`,\n \"selectAll\": `Atlas\\u{12B}t visu`,\n \"sortable\": `k\\u{101}rtojam\\u{101} kolonna`,\n \"collapse\": `Sak\\u{13C}aut`,\n \"expand\": `Izv\\u{113}rst`\n};\n\n\nexport {$be90ff34dfb20f33$exports as default};\n//# sourceMappingURL=lv-LV.mjs.map\n","var $41302606c501089a$exports = {};\n$41302606c501089a$exports = {\n \"ascending\": `stigende`,\n \"ascendingSort\": (args)=>`sortert etter kolonne ${args.columnName} i stigende rekkef\\xf8lge`,\n \"columnSize\": (args)=>`${args.value} piksler`,\n \"descending\": `synkende`,\n \"descendingSort\": (args)=>`sortert etter kolonne ${args.columnName} i synkende rekkef\\xf8lge`,\n \"resizerDescription\": `Trykk p\\xe5 Enter for \\xe5 starte st\\xf8rrelsesendring`,\n \"select\": `Velg`,\n \"selectAll\": `Velg alle`,\n \"sortable\": `kolonne som kan sorteres`,\n \"collapse\": `Skjul`,\n \"expand\": `Utvid`\n};\n\n\nexport {$41302606c501089a$exports as default};\n//# sourceMappingURL=nb-NO.mjs.map\n","var $3a8ceb4ed1945141$exports = {};\n$3a8ceb4ed1945141$exports = {\n \"ascending\": `oplopend`,\n \"ascendingSort\": (args)=>`gesorteerd in oplopende volgorde in kolom ${args.columnName}`,\n \"columnSize\": (args)=>`${args.value} pixels`,\n \"descending\": `aflopend`,\n \"descendingSort\": (args)=>`gesorteerd in aflopende volgorde in kolom ${args.columnName}`,\n \"resizerDescription\": `Druk op Enter om het formaat te wijzigen`,\n \"select\": `Selecteren`,\n \"selectAll\": `Alles selecteren`,\n \"sortable\": `sorteerbare kolom`,\n \"collapse\": `Samenvouwen`,\n \"expand\": `Uitvouwen`\n};\n\n\nexport {$3a8ceb4ed1945141$exports as default};\n//# sourceMappingURL=nl-NL.mjs.map\n","var $ea686931ac732950$exports = {};\n$ea686931ac732950$exports = {\n \"ascending\": `rosn\\u{105}co`,\n \"ascendingSort\": (args)=>`posortowano wed\\u{142}ug kolumny ${args.columnName} w porz\\u{105}dku rosn\\u{105}cym`,\n \"columnSize\": (args)=>`Liczba pikseli: ${args.value}`,\n \"descending\": `malej\\u{105}co`,\n \"descendingSort\": (args)=>`posortowano wed\\u{142}ug kolumny ${args.columnName} w porz\\u{105}dku malej\\u{105}cym`,\n \"resizerDescription\": `Naci\\u{15B}nij Enter, aby rozpocz\\u{105}\\u{107} zmienianie rozmiaru`,\n \"select\": `Zaznacz`,\n \"selectAll\": `Zaznacz wszystko`,\n \"sortable\": `kolumna z mo\\u{17C}liwo\\u{15B}ci\\u{105} sortowania`,\n \"collapse\": `Zwi\\u{144}`,\n \"expand\": `Rozwi\\u{144}`\n};\n\n\nexport {$ea686931ac732950$exports as default};\n//# sourceMappingURL=pl-PL.mjs.map\n","var $0427088f367c2e58$exports = {};\n$0427088f367c2e58$exports = {\n \"ascending\": `crescente`,\n \"ascendingSort\": (args)=>`classificado pela coluna ${args.columnName} em ordem crescente`,\n \"columnSize\": (args)=>`${args.value} pixels`,\n \"descending\": `decrescente`,\n \"descendingSort\": (args)=>`classificado pela coluna ${args.columnName} em ordem decrescente`,\n \"resizerDescription\": `Pressione Enter para come\\xe7ar a redimensionar`,\n \"select\": `Selecionar`,\n \"selectAll\": `Selecionar tudo`,\n \"sortable\": `coluna classific\\xe1vel`,\n \"collapse\": `Recolher`,\n \"expand\": `Expandir`\n};\n\n\nexport {$0427088f367c2e58$exports as default};\n//# sourceMappingURL=pt-BR.mjs.map\n","var $3cc20af1f1f186ed$exports = {};\n$3cc20af1f1f186ed$exports = {\n \"ascending\": `ascendente`,\n \"ascendingSort\": (args)=>`Ordenar por coluna ${args.columnName} em ordem ascendente`,\n \"columnSize\": (args)=>`${args.value} pixels`,\n \"descending\": `descendente`,\n \"descendingSort\": (args)=>`Ordenar por coluna ${args.columnName} em ordem descendente`,\n \"resizerDescription\": `Prima Enter para iniciar o redimensionamento`,\n \"select\": `Selecionar`,\n \"selectAll\": `Selecionar tudo`,\n \"sortable\": `Coluna orden\\xe1vel`,\n \"collapse\": `Colapsar`,\n \"expand\": `Expandir`\n};\n\n\nexport {$3cc20af1f1f186ed$exports as default};\n//# sourceMappingURL=pt-PT.mjs.map\n","var $e965f1ac9c7323c6$exports = {};\n$e965f1ac9c7323c6$exports = {\n \"ascending\": `cresc\\u{103}toare`,\n \"ascendingSort\": (args)=>`sortate dup\\u{103} coloana ${args.columnName} \\xeen ordine cresc\\u{103}toare`,\n \"columnSize\": (args)=>`${args.value} pixeli`,\n \"descending\": `descresc\\u{103}toare`,\n \"descendingSort\": (args)=>`sortate dup\\u{103} coloana ${args.columnName} \\xeen ordine descresc\\u{103}toare`,\n \"resizerDescription\": `Ap\\u{103}sa\\u{21B}i pe Enter pentru a \\xeencepe redimensionarea`,\n \"select\": `Selectare`,\n \"selectAll\": `Selectare total\\u{103}`,\n \"sortable\": `coloan\\u{103} sortabil\\u{103}`,\n \"collapse\": `Restr\\xe2nge\\u{21B}i`,\n \"expand\": `Extinde\\u{21B}i`\n};\n\n\nexport {$e965f1ac9c7323c6$exports as default};\n//# sourceMappingURL=ro-RO.mjs.map\n","var $9ff37df8122f4c31$exports = {};\n$9ff37df8122f4c31$exports = {\n \"ascending\": `\\u{432}\\u{43E}\\u{437}\\u{440}\\u{430}\\u{441}\\u{442}\\u{430}\\u{43D}\\u{438}\\u{435}`,\n \"ascendingSort\": (args)=>`\\u{441}\\u{43E}\\u{440}\\u{442}\\u{438}\\u{440}\\u{43E}\\u{432}\\u{430}\\u{442}\\u{44C} \\u{441}\\u{442}\\u{43E}\\u{43B}\\u{431}\\u{435}\\u{446} ${args.columnName} \\u{432} \\u{43F}\\u{43E}\\u{440}\\u{44F}\\u{434}\\u{43A}\\u{435} \\u{432}\\u{43E}\\u{437}\\u{440}\\u{430}\\u{441}\\u{442}\\u{430}\\u{43D}\\u{438}\\u{44F}`,\n \"columnSize\": (args)=>`${args.value} \\u{43F}\\u{438}\\u{43A}\\u{441}.`,\n \"descending\": `\\u{443}\\u{431}\\u{44B}\\u{432}\\u{430}\\u{43D}\\u{438}\\u{435}`,\n \"descendingSort\": (args)=>`\\u{441}\\u{43E}\\u{440}\\u{442}\\u{438}\\u{440}\\u{43E}\\u{432}\\u{430}\\u{442}\\u{44C} \\u{441}\\u{442}\\u{43E}\\u{43B}\\u{431}\\u{435}\\u{446} ${args.columnName} \\u{432} \\u{43F}\\u{43E}\\u{440}\\u{44F}\\u{434}\\u{43A}\\u{435} \\u{443}\\u{431}\\u{44B}\\u{432}\\u{430}\\u{43D}\\u{438}\\u{44F}`,\n \"resizerDescription\": `\\u{41D}\\u{430}\\u{436}\\u{43C}\\u{438}\\u{442}\\u{435} \\u{43A}\\u{43B}\\u{430}\\u{432}\\u{438}\\u{448}\\u{443} Enter \\u{434}\\u{43B}\\u{44F} \\u{43D}\\u{430}\\u{447}\\u{430}\\u{43B}\\u{430} \\u{438}\\u{437}\\u{43C}\\u{435}\\u{43D}\\u{435}\\u{43D}\\u{438}\\u{44F} \\u{440}\\u{430}\\u{437}\\u{43C}\\u{435}\\u{440}\\u{43E}\\u{432}`,\n \"select\": `\\u{412}\\u{44B}\\u{431}\\u{440}\\u{430}\\u{442}\\u{44C}`,\n \"selectAll\": `\\u{412}\\u{44B}\\u{431}\\u{440}\\u{430}\\u{442}\\u{44C} \\u{432}\\u{441}\\u{435}`,\n \"sortable\": `\\u{441}\\u{43E}\\u{440}\\u{442}\\u{438}\\u{440}\\u{443}\\u{435}\\u{43C}\\u{44B}\\u{439} \\u{441}\\u{442}\\u{43E}\\u{43B}\\u{431}\\u{435}\\u{446}`,\n \"collapse\": `\\u{421}\\u{432}\\u{435}\\u{440}\\u{43D}\\u{443}\\u{442}\\u{44C}`,\n \"expand\": `\\u{420}\\u{430}\\u{437}\\u{432}\\u{435}\\u{440}\\u{43D}\\u{443}\\u{442}\\u{44C}`\n};\n\n\nexport {$9ff37df8122f4c31$exports as default};\n//# sourceMappingURL=ru-RU.mjs.map\n","var $e19dad5c3f0832dd$exports = {};\n$e19dad5c3f0832dd$exports = {\n \"ascending\": `vzostupne`,\n \"ascendingSort\": (args)=>`zoraden\\xe9 zostupne pod\\u{13E}a st\\u{13A}pca ${args.columnName}`,\n \"columnSize\": (args)=>`Po\\u{10D}et pixelov: ${args.value}`,\n \"descending\": `zostupne`,\n \"descendingSort\": (args)=>`zoraden\\xe9 zostupne pod\\u{13E}a st\\u{13A}pca ${args.columnName}`,\n \"resizerDescription\": `Stla\\u{10D}en\\xedm kl\\xe1vesu Enter za\\u{10D}nete zmenu ve\\u{13E}kosti`,\n \"select\": `Vybra\\u{165}`,\n \"selectAll\": `Vybra\\u{165} v\\u{161}etko`,\n \"sortable\": `zoradite\\u{13E}n\\xfd st\\u{13A}pec`,\n \"collapse\": `Zbali\\u{165}`,\n \"expand\": `Rozbali\\u{165}`\n};\n\n\nexport {$e19dad5c3f0832dd$exports as default};\n//# sourceMappingURL=sk-SK.mjs.map\n","var $a034c26f08723019$exports = {};\n$a034c26f08723019$exports = {\n \"ascending\": `nara\\u{161}\\u{10D}ajo\\u{10D}e`,\n \"ascendingSort\": (args)=>`razvr\\u{161}\\u{10D}eno po stolpcu ${args.columnName} v nara\\u{161}\\u{10D}ajo\\u{10D}em vrstnem redu`,\n \"columnSize\": (args)=>`${args.value} slikovnih pik`,\n \"descending\": `padajo\\u{10D}e`,\n \"descendingSort\": (args)=>`razvr\\u{161}\\u{10D}eno po stolpcu ${args.columnName} v padajo\\u{10D}em vrstnem redu`,\n \"resizerDescription\": `Pritisnite tipko Enter da za\\u{10D}nete spreminjati velikost`,\n \"select\": `Izberite`,\n \"selectAll\": `Izberite vse`,\n \"sortable\": `razvrstljivi stolpec`,\n \"collapse\": `Strni`,\n \"expand\": `Raz\\u{161}iri`\n};\n\n\nexport {$a034c26f08723019$exports as default};\n//# sourceMappingURL=sl-SI.mjs.map\n","var $0656e59894541e33$exports = {};\n$0656e59894541e33$exports = {\n \"ascending\": `rastu\\u{107}i`,\n \"ascendingSort\": (args)=>`sortirano po kolonama ${args.columnName} rastu\\u{107}im redosledom`,\n \"columnSize\": (args)=>`${args.value} piksela`,\n \"descending\": `padaju\\u{107}i`,\n \"descendingSort\": (args)=>`sortirano po kolonama ${args.columnName} padaju\\u{107}im redosledom`,\n \"resizerDescription\": `Pritisnite Enter da biste zapo\\u{10D}eli promenu veli\\u{10D}ine`,\n \"select\": `Izaberite`,\n \"selectAll\": `Izaberite sve`,\n \"sortable\": `kolona koja se mo\\u{17E}e sortirati`,\n \"collapse\": ` Skupi`,\n \"expand\": `Pro\\u{161}iri`\n};\n\n\nexport {$0656e59894541e33$exports as default};\n//# sourceMappingURL=sr-SP.mjs.map\n","var $d28c154af217b83d$exports = {};\n$d28c154af217b83d$exports = {\n \"ascending\": `stigande`,\n \"ascendingSort\": (args)=>`sorterat p\\xe5 kolumn ${args.columnName} i stigande ordning`,\n \"columnSize\": (args)=>`${args.value} pixlar`,\n \"descending\": `fallande`,\n \"descendingSort\": (args)=>`sorterat p\\xe5 kolumn ${args.columnName} i fallande ordning`,\n \"resizerDescription\": `Tryck p\\xe5 Retur f\\xf6r att b\\xf6rja \\xe4ndra storlek`,\n \"select\": `Markera`,\n \"selectAll\": `Markera allt`,\n \"sortable\": `sorterbar kolumn`,\n \"collapse\": `D\\xf6lj`,\n \"expand\": `Expandera`\n};\n\n\nexport {$d28c154af217b83d$exports as default};\n//# sourceMappingURL=sv-SE.mjs.map\n","var $7ffc8c16cb887a33$exports = {};\n$7ffc8c16cb887a33$exports = {\n \"ascending\": `artan s\\u{131}rada`,\n \"ascendingSort\": (args)=>`${args.columnName} s\\xfctuna g\\xf6re artan d\\xfczende s\\u{131}rala`,\n \"columnSize\": (args)=>`${args.value} piksel`,\n \"descending\": `azalan s\\u{131}rada`,\n \"descendingSort\": (args)=>`${args.columnName} s\\xfctuna g\\xf6re azalan d\\xfczende s\\u{131}rala`,\n \"resizerDescription\": `Yeniden boyutland\\u{131}rmak i\\xe7in Enter'a bas\\u{131}n`,\n \"select\": `Se\\xe7`,\n \"selectAll\": `T\\xfcm\\xfcn\\xfc Se\\xe7`,\n \"sortable\": `S\\u{131}ralanabilir s\\xfctun`,\n \"collapse\": `Daralt`,\n \"expand\": `Geni\\u{15F}let`\n};\n\n\nexport {$7ffc8c16cb887a33$exports as default};\n//# sourceMappingURL=tr-TR.mjs.map\n","var $408719d7344ddfb6$exports = {};\n$408719d7344ddfb6$exports = {\n \"ascending\": `\\u{432}\\u{438}\\u{441}\\u{445}\\u{456}\\u{434}\\u{43D}\\u{438}\\u{439}`,\n \"ascendingSort\": (args)=>`\\u{432}\\u{456}\\u{434}\\u{441}\\u{43E}\\u{440}\\u{442}\\u{43E}\\u{432}\\u{430}\\u{43D}\\u{43E} \\u{437}\\u{430} \\u{441}\\u{442}\\u{43E}\\u{432}\\u{43F}\\u{446}\\u{435}\\u{43C} ${args.columnName} \\u{443} \\u{432}\\u{438}\\u{441}\\u{445}\\u{456}\\u{434}\\u{43D}\\u{43E}\\u{43C}\\u{443} \\u{43F}\\u{43E}\\u{440}\\u{44F}\\u{434}\\u{43A}\\u{443}`,\n \"columnSize\": (args)=>`${args.value} \\u{43F}\\u{456}\\u{43A}\\u{441}.`,\n \"descending\": `\\u{43D}\\u{438}\\u{437}\\u{445}\\u{456}\\u{434}\\u{43D}\\u{438}\\u{439}`,\n \"descendingSort\": (args)=>`\\u{432}\\u{456}\\u{434}\\u{441}\\u{43E}\\u{440}\\u{442}\\u{43E}\\u{432}\\u{430}\\u{43D}\\u{43E} \\u{437}\\u{430} \\u{441}\\u{442}\\u{43E}\\u{432}\\u{43F}\\u{446}\\u{435}\\u{43C} ${args.columnName} \\u{443} \\u{43D}\\u{438}\\u{437}\\u{445}\\u{456}\\u{434}\\u{43D}\\u{43E}\\u{43C}\\u{443} \\u{43F}\\u{43E}\\u{440}\\u{44F}\\u{434}\\u{43A}\\u{443}`,\n \"resizerDescription\": `\\u{41D}\\u{430}\\u{442}\\u{438}\\u{441}\\u{43D}\\u{456}\\u{442}\\u{44C} Enter, \\u{449}\\u{43E}\\u{431} \\u{43F}\\u{43E}\\u{447}\\u{430}\\u{442}\\u{438} \\u{437}\\u{43C}\\u{456}\\u{43D}\\u{443} \\u{440}\\u{43E}\\u{437}\\u{43C}\\u{456}\\u{440}\\u{443}`,\n \"select\": `\\u{412}\\u{438}\\u{431}\\u{440}\\u{430}\\u{442}\\u{438}`,\n \"selectAll\": `\\u{412}\\u{438}\\u{431}\\u{440}\\u{430}\\u{442}\\u{438} \\u{432}\\u{441}\\u{435}`,\n \"sortable\": `\\u{441}\\u{43E}\\u{440}\\u{442}\\u{443}\\u{432}\\u{430}\\u{43B}\\u{44C}\\u{43D}\\u{438}\\u{439} \\u{441}\\u{442}\\u{43E}\\u{432}\\u{43F}\\u{435}\\u{446}\\u{44C}`,\n \"collapse\": `\\u{417}\\u{433}\\u{43E}\\u{440}\\u{43D}\\u{443}\\u{442}\\u{438}`,\n \"expand\": `\\u{420}\\u{43E}\\u{437}\\u{433}\\u{43E}\\u{440}\\u{43D}\\u{443}\\u{442}\\u{438}`\n};\n\n\nexport {$408719d7344ddfb6$exports as default};\n//# sourceMappingURL=uk-UA.mjs.map\n","var $8138b1e3892af333$exports = {};\n$8138b1e3892af333$exports = {\n \"ascending\": `\\u{5347}\\u{5E8F}`,\n \"ascendingSort\": (args)=>`\\u{6309}\\u{5217} ${args.columnName} \\u{5347}\\u{5E8F}\\u{6392}\\u{5E8F}`,\n \"columnSize\": (args)=>`${args.value} \\u{50CF}\\u{7D20}`,\n \"descending\": `\\u{964D}\\u{5E8F}`,\n \"descendingSort\": (args)=>`\\u{6309}\\u{5217} ${args.columnName} \\u{964D}\\u{5E8F}\\u{6392}\\u{5E8F}`,\n \"resizerDescription\": `\\u{6309}\\u{201C}\\u{8F93}\\u{5165}\\u{201D}\\u{952E}\\u{5F00}\\u{59CB}\\u{8C03}\\u{6574}\\u{5927}\\u{5C0F}\\u{3002}`,\n \"select\": `\\u{9009}\\u{62E9}`,\n \"selectAll\": `\\u{5168}\\u{9009}`,\n \"sortable\": `\\u{53EF}\\u{6392}\\u{5E8F}\\u{7684}\\u{5217}`,\n \"collapse\": `\\u{6298}\\u{53E0}`,\n \"expand\": `\\u{6269}\\u{5C55}`\n};\n\n\nexport {$8138b1e3892af333$exports as default};\n//# sourceMappingURL=zh-CN.mjs.map\n","var $819032430b9f61a9$exports = {};\n$819032430b9f61a9$exports = {\n \"ascending\": `\\u{905E}\\u{589E}`,\n \"ascendingSort\": (args)=>`\\u{5DF2}\\u{4F9D}\\u{64DA}\\u{300C}${args.columnName}\\u{300D}\\u{6B04}\\u{905E}\\u{589E}\\u{6392}\\u{5E8F}`,\n \"columnSize\": (args)=>`${args.value} \\u{50CF}\\u{7D20}`,\n \"descending\": `\\u{905E}\\u{6E1B}`,\n \"descendingSort\": (args)=>`\\u{5DF2}\\u{4F9D}\\u{64DA}\\u{300C}${args.columnName}\\u{300D}\\u{6B04}\\u{905E}\\u{6E1B}\\u{6392}\\u{5E8F}`,\n \"resizerDescription\": `\\u{6309} Enter \\u{9375}\\u{4EE5}\\u{958B}\\u{59CB}\\u{8ABF}\\u{6574}\\u{5927}\\u{5C0F}`,\n \"select\": `\\u{9078}\\u{53D6}`,\n \"selectAll\": `\\u{5168}\\u{9078}`,\n \"sortable\": `\\u{53EF}\\u{6392}\\u{5E8F}\\u{7684}\\u{6B04}`,\n \"collapse\": `\\u{6536}\\u{5408}`,\n \"expand\": `\\u{5C55}\\u{958B}`\n};\n\n\nexport {$819032430b9f61a9$exports as default};\n//# sourceMappingURL=zh-TW.mjs.map\n","import $kjgIr$intltablearAEmjs from \"../intl/table/ar-AE.mjs\";\nimport $kjgIr$intltablebgBGmjs from \"../intl/table/bg-BG.mjs\";\nimport $kjgIr$intltablecsCZmjs from \"../intl/table/cs-CZ.mjs\";\nimport $kjgIr$intltabledaDKmjs from \"../intl/table/da-DK.mjs\";\nimport $kjgIr$intltabledeDEmjs from \"../intl/table/de-DE.mjs\";\nimport $kjgIr$intltableelGRmjs from \"../intl/table/el-GR.mjs\";\nimport $kjgIr$intltableenUSmjs from \"../intl/table/en-US.mjs\";\nimport $kjgIr$intltableesESmjs from \"../intl/table/es-ES.mjs\";\nimport $kjgIr$intltableetEEmjs from \"../intl/table/et-EE.mjs\";\nimport $kjgIr$intltablefiFImjs from \"../intl/table/fi-FI.mjs\";\nimport $kjgIr$intltablefrFRmjs from \"../intl/table/fr-FR.mjs\";\nimport $kjgIr$intltableheILmjs from \"../intl/table/he-IL.mjs\";\nimport $kjgIr$intltablehrHRmjs from \"../intl/table/hr-HR.mjs\";\nimport $kjgIr$intltablehuHUmjs from \"../intl/table/hu-HU.mjs\";\nimport $kjgIr$intltableitITmjs from \"../intl/table/it-IT.mjs\";\nimport $kjgIr$intltablejaJPmjs from \"../intl/table/ja-JP.mjs\";\nimport $kjgIr$intltablekoKRmjs from \"../intl/table/ko-KR.mjs\";\nimport $kjgIr$intltableltLTmjs from \"../intl/table/lt-LT.mjs\";\nimport $kjgIr$intltablelvLVmjs from \"../intl/table/lv-LV.mjs\";\nimport $kjgIr$intltablenbNOmjs from \"../intl/table/nb-NO.mjs\";\nimport $kjgIr$intltablenlNLmjs from \"../intl/table/nl-NL.mjs\";\nimport $kjgIr$intltableplPLmjs from \"../intl/table/pl-PL.mjs\";\nimport $kjgIr$intltableptBRmjs from \"../intl/table/pt-BR.mjs\";\nimport $kjgIr$intltableptPTmjs from \"../intl/table/pt-PT.mjs\";\nimport $kjgIr$intltableroROmjs from \"../intl/table/ro-RO.mjs\";\nimport $kjgIr$intltableruRUmjs from \"../intl/table/ru-RU.mjs\";\nimport $kjgIr$intltableskSKmjs from \"../intl/table/sk-SK.mjs\";\nimport $kjgIr$intltableslSImjs from \"../intl/table/sl-SI.mjs\";\nimport $kjgIr$intltablesrSPmjs from \"../intl/table/sr-SP.mjs\";\nimport $kjgIr$intltablesvSEmjs from \"../intl/table/sv-SE.mjs\";\nimport $kjgIr$intltabletrTRmjs from \"../intl/table/tr-TR.mjs\";\nimport $kjgIr$intltableukUAmjs from \"../intl/table/uk-UA.mjs\";\nimport $kjgIr$intltablezhCNmjs from \"../intl/table/zh-CN.mjs\";\nimport $kjgIr$intltablezhTWmjs from \"../intl/table/zh-TW.mjs\";\n\nvar $b0fbbc5fdcc6603a$exports = {};\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n$b0fbbc5fdcc6603a$exports = {\n \"ar-AE\": $kjgIr$intltablearAEmjs,\n \"bg-BG\": $kjgIr$intltablebgBGmjs,\n \"cs-CZ\": $kjgIr$intltablecsCZmjs,\n \"da-DK\": $kjgIr$intltabledaDKmjs,\n \"de-DE\": $kjgIr$intltabledeDEmjs,\n \"el-GR\": $kjgIr$intltableelGRmjs,\n \"en-US\": $kjgIr$intltableenUSmjs,\n \"es-ES\": $kjgIr$intltableesESmjs,\n \"et-EE\": $kjgIr$intltableetEEmjs,\n \"fi-FI\": $kjgIr$intltablefiFImjs,\n \"fr-FR\": $kjgIr$intltablefrFRmjs,\n \"he-IL\": $kjgIr$intltableheILmjs,\n \"hr-HR\": $kjgIr$intltablehrHRmjs,\n \"hu-HU\": $kjgIr$intltablehuHUmjs,\n \"it-IT\": $kjgIr$intltableitITmjs,\n \"ja-JP\": $kjgIr$intltablejaJPmjs,\n \"ko-KR\": $kjgIr$intltablekoKRmjs,\n \"lt-LT\": $kjgIr$intltableltLTmjs,\n \"lv-LV\": $kjgIr$intltablelvLVmjs,\n \"nb-NO\": $kjgIr$intltablenbNOmjs,\n \"nl-NL\": $kjgIr$intltablenlNLmjs,\n \"pl-PL\": $kjgIr$intltableplPLmjs,\n \"pt-BR\": $kjgIr$intltableptBRmjs,\n \"pt-PT\": $kjgIr$intltableptPTmjs,\n \"ro-RO\": $kjgIr$intltableroROmjs,\n \"ru-RU\": $kjgIr$intltableruRUmjs,\n \"sk-SK\": $kjgIr$intltableskSKmjs,\n \"sl-SI\": $kjgIr$intltableslSImjs,\n \"sr-SP\": $kjgIr$intltablesrSPmjs,\n \"sv-SE\": $kjgIr$intltablesvSEmjs,\n \"tr-TR\": $kjgIr$intltabletrTRmjs,\n \"uk-UA\": $kjgIr$intltableukUAmjs,\n \"zh-CN\": $kjgIr$intltablezhCNmjs,\n \"zh-TW\": $kjgIr$intltablezhTWmjs\n};\n\n\nexport {$b0fbbc5fdcc6603a$exports as default};\n//# sourceMappingURL=intlStrings.mjs.map\n","import {GridKeyboardDelegate as $c7bb87e55e1ab755$export$de9feff04fda126e} from \"../grid/GridKeyboardDelegate.mjs\";\nimport {getFirstItem as $3P3vF$getFirstItem, getChildNodes as $3P3vF$getChildNodes} from \"react-stately/private/collections/getChildNodes\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nclass $0048eb146240e3fa$export$da43f8f5cb04028d extends (0, $c7bb87e55e1ab755$export$de9feff04fda126e) {\n isCell(node) {\n return node.type === 'cell' || node.type === 'rowheader' || node.type === 'column';\n }\n getKeyBelow(key, options) {\n let startItem = this.collection.getItem(key);\n if (!startItem) return null;\n // If focus was on a column, then focus the first child column if any,\n // or find the corresponding cell in the first row.\n if (startItem.type === 'column') {\n let child = (0, $3P3vF$getFirstItem)((0, $3P3vF$getChildNodes)(startItem, this.collection));\n if (child) return child.key;\n let firstKey = this.getFirstKey();\n if (firstKey == null) return null;\n let firstItem = this.collection.getItem(firstKey);\n if (!firstItem) return null;\n return super.getKeyForItemInRowByIndex(firstKey, startItem.index);\n }\n return super.getKeyBelow(key, options);\n }\n getKeyAbove(key, options) {\n let startItem = this.collection.getItem(key);\n if (!startItem) return null;\n // If focus was on a column, focus the parent column if any\n if (startItem.type === 'column') {\n let parent = startItem.parentKey != null ? this.collection.getItem(startItem.parentKey) : null;\n if (parent && parent.type === 'column') return parent.key;\n return null;\n }\n // only return above row key if not header row\n let superKey = super.getKeyAbove(key, options);\n let superItem = superKey != null ? this.collection.getItem(superKey) : null;\n if (superItem && superItem.type !== 'headerrow') return superKey;\n // If no item was found, and focus was on a cell, then focus the\n // corresponding column header.\n if (this.isCell(startItem)) return this.collection.columns[startItem.index].key;\n // If focus was on a row, then focus the first column header.\n return this.collection.columns[0].key;\n }\n findNextColumnKey(column) {\n // Search following columns\n let key = this.findNextKey(column.key, (item)=>item.type === 'column');\n if (key != null) return key;\n // Wrap around to the first column\n let row = this.collection.headerRows[column.level];\n for (let item of (0, $3P3vF$getChildNodes)(row, this.collection)){\n if (item.type === 'column') return item.key;\n }\n return null;\n }\n findPreviousColumnKey(column) {\n // Search previous columns\n let key = this.findPreviousKey(column.key, (item)=>item.type === 'column');\n if (key != null) return key;\n // Wrap around to the last column\n let row = this.collection.headerRows[column.level];\n let childNodes = [\n ...(0, $3P3vF$getChildNodes)(row, this.collection)\n ];\n for(let i = childNodes.length - 1; i >= 0; i--){\n let item = childNodes[i];\n if (item.type === 'column') return item.key;\n }\n return null;\n }\n getKeyRightOf(key) {\n let item = this.collection.getItem(key);\n if (!item) return null;\n // If focus was on a column, then focus the next column\n if (item.type === 'column') return this.direction === 'rtl' ? this.findPreviousColumnKey(item) : this.findNextColumnKey(item);\n return super.getKeyRightOf(key);\n }\n getKeyLeftOf(key) {\n let item = this.collection.getItem(key);\n if (!item) return null;\n // If focus was on a column, then focus the previous column\n if (item.type === 'column') return this.direction === 'rtl' ? this.findNextColumnKey(item) : this.findPreviousColumnKey(item);\n return super.getKeyLeftOf(key);\n }\n getKeyForSearch(search, fromKey) {\n if (!this.collator) return null;\n let collection = this.collection;\n let key = fromKey ?? this.getFirstKey();\n if (key == null) return null;\n // If the starting key is a cell, search from its parent row.\n let startItem = collection.getItem(key);\n if (startItem?.type === 'cell') key = startItem.parentKey ?? null;\n let hasWrapped = false;\n while(key != null){\n let item = collection.getItem(key);\n if (!item) return null;\n if (item.textValue) {\n let substring = item.textValue.slice(0, search.length);\n if (this.collator.compare(substring, search) === 0) return item.key;\n }\n // Check each of the row header cells in this row for a match\n for (let cell of (0, $3P3vF$getChildNodes)(item, this.collection)){\n let column = collection.columns[cell.index];\n if (collection.rowHeaderColumnKeys.has(column.key) && cell.textValue) {\n let substring = cell.textValue.slice(0, search.length);\n if (this.collator.compare(substring, search) === 0) {\n // If we started on a cell, end on the matching cell. Otherwise, end on the row.\n let fromItem = fromKey != null ? collection.getItem(fromKey) : startItem;\n return fromItem?.type === 'cell' ? cell.key : item.key;\n }\n }\n }\n key = this.getKeyBelow(key);\n // Wrap around when reaching the end of the collection\n if (key == null && !hasWrapped) {\n key = this.getFirstKey();\n hasWrapped = true;\n }\n }\n return null;\n }\n}\n\n\nexport {$0048eb146240e3fa$export$da43f8f5cb04028d as TableKeyboardDelegate};\n//# sourceMappingURL=TableKeyboardDelegate.mjs.map\n","import {announce as $a46cf152bb926da5$export$a9b970dcc4ae71a9} from \"../live-announcer/LiveAnnouncer.mjs\";\nimport {useGrid as $e9c0503d101e30f9$export$f6b86a04e5d66d90} from \"../grid/useGrid.mjs\";\nimport {gridIds as $cf56c58f505db99a$export$552312adfd451dab} from \"./utils.mjs\";\nimport $djswP$intlStringsmjs from \"./intlStrings.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {TableKeyboardDelegate as $0048eb146240e3fa$export$da43f8f5cb04028d} from \"./TableKeyboardDelegate.mjs\";\nimport {useCollator as $673d46fce3e5717d$export$a16aca283550c30d} from \"../i18n/useCollator.mjs\";\nimport {useDescription as $121970af65029459$export$f8aeda7b10753fa1} from \"../utils/useDescription.mjs\";\nimport {useId as $390e54f620492c70$export$f680877a34711e37} from \"../utils/useId.mjs\";\nimport {useLocale as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7} from \"../i18n/I18nProvider.mjs\";\nimport {useLocalizedStringFormatter as $cf2482eff2eeeec2$export$f12b703ca79dfbb1} from \"../i18n/useLocalizedStringFormatter.mjs\";\nimport {useUpdateEffect as $3c71b1595a147f24$export$496315a1608d9602} from \"../utils/useUpdateEffect.mjs\";\nimport {useMemo as $djswP$useMemo} from \"react\";\n\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\n\n\n\nfunction $fb95af427cd4e876$export$25bceaac3c7e4dc7(props, state, ref) {\n let { keyboardDelegate: keyboardDelegate, isVirtualized: isVirtualized, layoutDelegate: layoutDelegate, layout: layout } = props;\n // By default, a KeyboardDelegate is provided which uses the DOM to query layout information (e.g. for page up/page down).\n // When virtualized, the layout object will be passed in as a prop and override this.\n let collator = (0, $673d46fce3e5717d$export$a16aca283550c30d)({\n usage: 'search',\n sensitivity: 'base'\n });\n let { direction: direction } = (0, $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7)();\n let disabledBehavior = state.selectionManager.disabledBehavior;\n let delegate = (0, $djswP$useMemo)(()=>keyboardDelegate || new (0, $0048eb146240e3fa$export$da43f8f5cb04028d)({\n collection: state.collection,\n disabledKeys: state.disabledKeys,\n disabledBehavior: disabledBehavior,\n ref: ref,\n direction: direction,\n collator: collator,\n layoutDelegate: layoutDelegate,\n layout: layout\n }), [\n keyboardDelegate,\n state.collection,\n state.disabledKeys,\n disabledBehavior,\n ref,\n direction,\n collator,\n layoutDelegate,\n layout\n ]);\n let id = (0, $390e54f620492c70$export$f680877a34711e37)(props.id);\n (0, $cf56c58f505db99a$export$552312adfd451dab).set(state, id);\n let { gridProps: gridProps } = (0, $e9c0503d101e30f9$export$f6b86a04e5d66d90)({\n ...props,\n id: id,\n keyboardDelegate: delegate\n }, state, ref);\n // Override to include header rows\n if (isVirtualized) gridProps['aria-rowcount'] = state.collection.size + state.collection.headerRows.length;\n if (state.treeColumn != null) gridProps.role = 'treegrid';\n let { column: column, direction: sortDirection } = state.sortDescriptor || {};\n let stringFormatter = (0, $cf2482eff2eeeec2$export$f12b703ca79dfbb1)((0, ($parcel$interopDefault($djswP$intlStringsmjs))), '@react-aria/table');\n let sortDescription = (0, $djswP$useMemo)(()=>{\n let columnName = state.collection.columns.find((c)=>c.key === column)?.textValue ?? '';\n return sortDirection && column ? stringFormatter.format(`${sortDirection}Sort`, {\n columnName: columnName\n }) : undefined;\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n sortDirection,\n column,\n state.collection.columns\n ]);\n let descriptionProps = (0, $121970af65029459$export$f8aeda7b10753fa1)(sortDescription);\n // Only announce after initial render, tabbing to the table will tell you the initial sort info already\n (0, $3c71b1595a147f24$export$496315a1608d9602)(()=>{\n if (sortDescription) (0, $a46cf152bb926da5$export$a9b970dcc4ae71a9)(sortDescription, 'assertive', 500);\n }, [\n sortDescription\n ]);\n return {\n gridProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(gridProps, descriptionProps, {\n // merge sort description with long press information\n 'aria-describedby': [\n descriptionProps['aria-describedby'],\n gridProps['aria-describedby']\n ].filter(Boolean).join(' ')\n })\n };\n}\n\n\nexport {$fb95af427cd4e876$export$25bceaac3c7e4dc7 as useTable};\n//# sourceMappingURL=useTable.mjs.map\n","import {focusSafely as $f192c2f16961cbe0$export$80f3e147d781571c} from \"../interactions/focusSafely.mjs\";\nimport {getActiveElement as $23f2114a1b82827e$export$cd4e5573fbe2b576, getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29, isFocusWithin as $23f2114a1b82827e$export$b4f377a2b6254582, nodeContains as $23f2114a1b82827e$export$4282f70798064fe0} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {getFocusableTreeWalker as $535772f9d2c1f38d$export$2d6ec8fc375ceafa} from \"../focus/FocusScope.mjs\";\nimport {getScrollParent as $3578607fe3d4b096$export$cfa2225e87938781} from \"../utils/getScrollParent.mjs\";\nimport {gridMap as $90a81c508a5c0de1$export$e6235c0d09b995d0} from \"./utils.mjs\";\nimport {isFocusVisible as $8f5a2122b0992be3$export$b9b3dfddab17db27} from \"../interactions/useFocusVisible.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {scrollIntoViewport as $51a3e22a5186a962$export$c826860796309d1b} from \"../utils/scrollIntoView.mjs\";\nimport {useLocale as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7} from \"../i18n/I18nProvider.mjs\";\nimport {useSelectableItem as $f6ba6936bfd098a0$export$ecf600387e221c37} from \"../selection/useSelectableItem.mjs\";\nimport {useRef as $jAbxn$useRef} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\n\nfunction $a4d729ad50b8576a$export$c7e10bfc0c59f67c(props, state, ref) {\n let { node: node, isVirtualized: isVirtualized, focusMode: focusMode = 'child', shouldSelectOnPressUp: shouldSelectOnPressUp, onAction: onAction } = props;\n let { direction: direction } = (0, $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7)();\n let { keyboardDelegate: keyboardDelegate, actions: { onCellAction: onCellAction } } = (0, $90a81c508a5c0de1$export$e6235c0d09b995d0).get(state);\n // We need to track the key of the item at the time it was last focused so that we force\n // focus to go to the item when the DOM node is reused for a different item in a virtualizer.\n let keyWhenFocused = (0, $jAbxn$useRef)(null);\n // Handles focusing the cell. If there is a focusable child,\n // it is focused, otherwise the cell itself is focused.\n let focus = ()=>{\n if (ref.current) {\n let treeWalker = (0, $535772f9d2c1f38d$export$2d6ec8fc375ceafa)(ref.current);\n if (focusMode === 'child') {\n // If focus is already on a focusable child within the cell, early return so we don't shift focus\n if ((0, $23f2114a1b82827e$export$b4f377a2b6254582)(ref.current) && ref.current !== (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)()) return;\n let focusable = state.selectionManager.childFocusStrategy === 'last' ? $a4d729ad50b8576a$var$last(treeWalker) : treeWalker.firstChild();\n if (focusable) {\n (0, $f192c2f16961cbe0$export$80f3e147d781571c)(focusable);\n return;\n }\n }\n if (keyWhenFocused.current != null && node.key !== keyWhenFocused.current || !(0, $23f2114a1b82827e$export$b4f377a2b6254582)(ref.current)) (0, $f192c2f16961cbe0$export$80f3e147d781571c)(ref.current);\n }\n };\n let { itemProps: itemProps, isPressed: isPressed } = (0, $f6ba6936bfd098a0$export$ecf600387e221c37)({\n selectionManager: state.selectionManager,\n key: node.key,\n ref: ref,\n isVirtualized: isVirtualized,\n focus: focus,\n shouldSelectOnPressUp: shouldSelectOnPressUp,\n onAction: onCellAction ? ()=>onCellAction(node.key) : onAction,\n isDisabled: state.collection.size === 0\n });\n let onKeyDownCapture = (e)=>{\n let activeElement = (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)();\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e)) || state.isKeyboardNavigationDisabled || !ref.current || !activeElement) return;\n let walker = (0, $535772f9d2c1f38d$export$2d6ec8fc375ceafa)(ref.current);\n walker.currentNode = activeElement;\n switch(e.key){\n case 'ArrowLeft':\n {\n // Find the next focusable element within the cell.\n let focusable = direction === 'rtl' ? walker.nextNode() : walker.previousNode();\n // Don't focus the cell itself if focusMode is \"child\"\n if (focusMode === 'child' && focusable === ref.current) focusable = null;\n e.preventDefault();\n e.stopPropagation();\n if (focusable) {\n (0, $f192c2f16961cbe0$export$80f3e147d781571c)(focusable);\n (0, $51a3e22a5186a962$export$c826860796309d1b)(focusable, {\n containingElement: (0, $3578607fe3d4b096$export$cfa2225e87938781)(ref.current)\n });\n } else {\n // If there is no next focusable child, then move to the next cell to the left of this one.\n // This will be handled by useSelectableCollection. However, if there is no cell to the left\n // of this one, only one column, and the grid doesn't focus rows, then the next key will be the\n // same as this one. In that case we need to handle focusing either the cell or the first/last\n // child, depending on the focus mode.\n let prev = keyboardDelegate.getKeyLeftOf?.(node.key);\n if (prev !== node.key) {\n // We prevent the capturing event from reaching children of the cell, e.g. pickers.\n // We want arrow keys to navigate to the next cell instead. We need to re-dispatch\n // the event from a higher parent so it still bubbles and gets handled by useSelectableCollection.\n ref.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));\n break;\n }\n if (focusMode === 'cell' && direction === 'rtl') {\n (0, $f192c2f16961cbe0$export$80f3e147d781571c)(ref.current);\n (0, $51a3e22a5186a962$export$c826860796309d1b)(ref.current, {\n containingElement: (0, $3578607fe3d4b096$export$cfa2225e87938781)(ref.current)\n });\n } else {\n walker.currentNode = ref.current;\n focusable = direction === 'rtl' ? walker.firstChild() : $a4d729ad50b8576a$var$last(walker);\n if (focusable) {\n (0, $f192c2f16961cbe0$export$80f3e147d781571c)(focusable);\n (0, $51a3e22a5186a962$export$c826860796309d1b)(focusable, {\n containingElement: (0, $3578607fe3d4b096$export$cfa2225e87938781)(ref.current)\n });\n }\n }\n }\n break;\n }\n case 'ArrowRight':\n {\n let focusable = direction === 'rtl' ? walker.previousNode() : walker.nextNode();\n if (focusMode === 'child' && focusable === ref.current) focusable = null;\n e.preventDefault();\n e.stopPropagation();\n if (focusable) {\n (0, $f192c2f16961cbe0$export$80f3e147d781571c)(focusable);\n (0, $51a3e22a5186a962$export$c826860796309d1b)(focusable, {\n containingElement: (0, $3578607fe3d4b096$export$cfa2225e87938781)(ref.current)\n });\n } else {\n let next = keyboardDelegate.getKeyRightOf?.(node.key);\n if (next !== node.key) {\n // We prevent the capturing event from reaching children of the cell, e.g. pickers.\n // We want arrow keys to navigate to the next cell instead. We need to re-dispatch\n // the event from a higher parent so it still bubbles and gets handled by useSelectableCollection.\n ref.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));\n break;\n }\n if (focusMode === 'cell' && direction === 'ltr') {\n (0, $f192c2f16961cbe0$export$80f3e147d781571c)(ref.current);\n (0, $51a3e22a5186a962$export$c826860796309d1b)(ref.current, {\n containingElement: (0, $3578607fe3d4b096$export$cfa2225e87938781)(ref.current)\n });\n } else {\n walker.currentNode = ref.current;\n focusable = direction === 'rtl' ? $a4d729ad50b8576a$var$last(walker) : walker.firstChild();\n if (focusable) {\n (0, $f192c2f16961cbe0$export$80f3e147d781571c)(focusable);\n (0, $51a3e22a5186a962$export$c826860796309d1b)(focusable, {\n containingElement: (0, $3578607fe3d4b096$export$cfa2225e87938781)(ref.current)\n });\n }\n }\n }\n break;\n }\n case 'ArrowUp':\n case 'ArrowDown':\n // Prevent this event from reaching cell children, e.g. menu buttons. We want arrow keys to navigate\n // to the cell above/below instead. We need to re-dispatch the event from a higher parent so it still\n // bubbles and gets handled by useSelectableCollection.\n if (!e.altKey && (0, $23f2114a1b82827e$export$4282f70798064fe0)(ref.current, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) {\n e.stopPropagation();\n e.preventDefault();\n ref.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));\n }\n break;\n }\n };\n // Grid cells can have focusable elements inside them. In this case, focus should\n // be marshalled to that element rather than focusing the cell itself.\n let onFocus = (e)=>{\n keyWhenFocused.current = node.key;\n if ((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e) !== ref.current) {\n // useSelectableItem only handles setting the focused key when\n // the focused element is the gridcell itself. We also want to\n // set the focused key when a child element receives focus.\n // If focus is currently visible (e.g. the user is navigating with the keyboard),\n // then skip this. We want to restore focus to the previously focused row/cell\n // in that case since the table should act like a single tab stop.\n if (!(0, $8f5a2122b0992be3$export$b9b3dfddab17db27)()) state.selectionManager.setFocusedKey(node.key);\n return;\n }\n // If the cell itself is focused, wait a frame so that focus finishes propagatating\n // up to the tree, and move focus to a focusable child if possible.\n requestAnimationFrame(()=>{\n if (focusMode === 'child' && (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)() === ref.current) focus();\n });\n };\n let gridCellProps = (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(itemProps, {\n role: 'gridcell',\n onKeyDownCapture: onKeyDownCapture,\n 'aria-colspan': node.colSpan,\n 'aria-colindex': node.colIndex != null ? node.colIndex + 1 : undefined,\n colSpan: isVirtualized ? undefined : node.colSpan,\n onFocus: onFocus\n });\n if (isVirtualized) gridCellProps['aria-colindex'] = (node.colIndex ?? node.index) + 1; // aria-colindex is 1-based\n // When pressing with a pointer and cell selection is not enabled, usePress will be applied to the\n // row rather than the cell. However, when the row is draggable, usePress cannot preventDefault\n // on pointer down, so the browser will try to focus the cell which has a tabIndex applied.\n // To avoid this, remove the tabIndex from the cell briefly on pointer down.\n if (shouldSelectOnPressUp && gridCellProps.tabIndex != null && gridCellProps.onPointerDown == null) gridCellProps.onPointerDown = (e)=>{\n let el = e.currentTarget;\n let tabindex = el.getAttribute('tabindex');\n el.removeAttribute('tabindex');\n requestAnimationFrame(()=>{\n if (tabindex != null) el.setAttribute('tabindex', tabindex);\n });\n };\n return {\n gridCellProps: gridCellProps,\n isPressed: isPressed\n };\n}\nfunction $a4d729ad50b8576a$var$last(walker) {\n let next = null;\n let last = null;\n do {\n last = walker.lastChild();\n if (last) next = last;\n }while (last);\n return next;\n}\n\n\nexport {$a4d729ad50b8576a$export$c7e10bfc0c59f67c as useGridCell};\n//# sourceMappingURL=useGridCell.mjs.map\n","import {getColumnHeaderId as $cf56c58f505db99a$export$37cd4213f2ad742e} from \"./utils.mjs\";\nimport $cBFAV$intlStringsmjs from \"./intlStrings.mjs\";\nimport {isAndroid as $2add3ce32c6007eb$export$a11b0059900ceec8} from \"../utils/platform.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {useDescription as $121970af65029459$export$f8aeda7b10753fa1} from \"../utils/useDescription.mjs\";\nimport {useFocusable as $d1116acdf220c2da$export$4c014de7c8940b4c} from \"../interactions/useFocusable.mjs\";\nimport {useGridCell as $a4d729ad50b8576a$export$c7e10bfc0c59f67c} from \"../grid/useGridCell.mjs\";\nimport {useLocalizedStringFormatter as $cf2482eff2eeeec2$export$f12b703ca79dfbb1} from \"../i18n/useLocalizedStringFormatter.mjs\";\nimport {usePress as $d27d541f9569d26d$export$45712eceda6fad21} from \"../interactions/usePress.mjs\";\nimport {useEffect as $cBFAV$useEffect} from \"react\";\n\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\nfunction $7354db473d14c864$export$9514819a8c81e960(props, state, ref) {\n let { node: node } = props;\n let allowsSorting = node.props.allowsSorting;\n // if there are no focusable children, the column header will focus the cell\n let { gridCellProps: gridCellProps } = (0, $a4d729ad50b8576a$export$c7e10bfc0c59f67c)({\n ...props,\n focusMode: 'child'\n }, state, ref);\n let isSelectionCellDisabled = node.props.isSelectionCell && state.selectionManager.selectionMode === 'single';\n let { pressProps: pressProps, isPressed: isPressed } = (0, $d27d541f9569d26d$export$45712eceda6fad21)({\n isDisabled: !allowsSorting || isSelectionCellDisabled,\n onPress () {\n state.sort(node.key);\n },\n ref: ref\n });\n // Needed to pick up the focusable context, enabling things like Tooltips for example\n let { focusableProps: focusableProps } = (0, $d1116acdf220c2da$export$4c014de7c8940b4c)({}, ref);\n let ariaSort = undefined;\n let isSortedColumn = state.sortDescriptor?.column === node.key;\n let sortDirection = state.sortDescriptor?.direction;\n // aria-sort not supported in Android Talkback\n if (node.props.allowsSorting && !(0, $2add3ce32c6007eb$export$a11b0059900ceec8)()) ariaSort = isSortedColumn ? sortDirection : 'none';\n let stringFormatter = (0, $cf2482eff2eeeec2$export$f12b703ca79dfbb1)((0, ($parcel$interopDefault($cBFAV$intlStringsmjs))), '@react-aria/table');\n let sortDescription;\n if (allowsSorting) {\n sortDescription = `${stringFormatter.format('sortable')}`;\n // Android Talkback doesn't support aria-sort so we add sort order details to the aria-described by here\n if (isSortedColumn && sortDirection && (0, $2add3ce32c6007eb$export$a11b0059900ceec8)()) sortDescription = `${sortDescription}, ${stringFormatter.format(sortDirection)}`;\n }\n let descriptionProps = (0, $121970af65029459$export$f8aeda7b10753fa1)(sortDescription);\n let shouldDisableFocus = state.collection.size === 0;\n (0, $cBFAV$useEffect)(()=>{\n if (shouldDisableFocus && state.selectionManager.focusedKey === node.key) state.selectionManager.setFocusedKey(null);\n }, [\n shouldDisableFocus,\n state.selectionManager,\n node.key\n ]);\n return {\n columnHeaderProps: {\n ...(0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(focusableProps, gridCellProps, pressProps, descriptionProps, // If the table is empty, make all column headers untabbable\n shouldDisableFocus ? {\n tabIndex: -1\n } : null),\n role: 'columnheader',\n id: (0, $cf56c58f505db99a$export$37cd4213f2ad742e)(state, node.key),\n 'aria-colspan': node.colSpan && node.colSpan > 1 ? node.colSpan : undefined,\n 'aria-sort': ariaSort\n },\n isPressed: isPressed\n };\n}\n\n\nexport {$7354db473d14c864$export$9514819a8c81e960 as useTableColumnHeader};\n//# sourceMappingURL=useTableColumnHeader.mjs.map\n","import {chain as $a4e76a5424781910$export$e08e3b67e392101e} from \"../utils/chain.mjs\";\nimport {gridMap as $90a81c508a5c0de1$export$e6235c0d09b995d0} from \"./utils.mjs\";\nimport {useSelectableItem as $f6ba6936bfd098a0$export$ecf600387e221c37} from \"../selection/useSelectableItem.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nfunction $6b16276e8bbdaf8e$export$96357d5a73f686fa(props, state, ref) {\n let { node: node, isVirtualized: isVirtualized, shouldSelectOnPressUp: shouldSelectOnPressUp, onAction: onAction } = props;\n let { actions: actions, shouldSelectOnPressUp: gridShouldSelectOnPressUp } = (0, $90a81c508a5c0de1$export$e6235c0d09b995d0).get(state);\n let onRowAction = actions.onRowAction ? ()=>actions.onRowAction?.(node.key) : onAction;\n let { itemProps: itemProps, ...states } = (0, $f6ba6936bfd098a0$export$ecf600387e221c37)({\n selectionManager: state.selectionManager,\n key: node.key,\n ref: ref,\n isVirtualized: isVirtualized,\n shouldSelectOnPressUp: gridShouldSelectOnPressUp || shouldSelectOnPressUp,\n onAction: onRowAction || node?.props?.onAction ? (0, $a4e76a5424781910$export$e08e3b67e392101e)(node?.props?.onAction, onRowAction) : undefined,\n isDisabled: state.collection.size === 0\n });\n let isSelected = state.selectionManager.isSelected(node.key);\n let rowProps = {\n role: 'row',\n 'aria-selected': state.selectionManager.selectionMode !== 'none' ? isSelected : undefined,\n 'aria-disabled': states.isDisabled || undefined,\n ...itemProps\n };\n if (isVirtualized) rowProps['aria-rowindex'] = node.index + 1; // aria-rowindex is 1 based\n return {\n rowProps: rowProps,\n ...states\n };\n}\n\n\nexport {$6b16276e8bbdaf8e$export$96357d5a73f686fa as useGridRow};\n//# sourceMappingURL=useGridRow.mjs.map\n","import {getRowLabelledBy as $cf56c58f505db99a$export$85069b70317f543} from \"./utils.mjs\";\nimport {useGridRow as $6b16276e8bbdaf8e$export$96357d5a73f686fa} from \"../grid/useGridRow.mjs\";\nimport $eezcW$intlStringsmjs from \"./intlStrings.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {useLabels as $e8ac3c3f5d4bae7f$export$d6875122194c7b44} from \"../utils/useLabels.mjs\";\nimport {useLocale as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7} from \"../i18n/I18nProvider.mjs\";\nimport {useLocalizedStringFormatter as $cf2482eff2eeeec2$export$f12b703ca79dfbb1} from \"../i18n/useLocalizedStringFormatter.mjs\";\nimport {useSyntheticLinkProps as $caaf0dd3060ed57c$export$bdc77b0c0a3a85d6} from \"../utils/openLink.mjs\";\n\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\nconst $d5954d038bf91c37$var$EXPANSION_KEYS = {\n expand: {\n ltr: 'ArrowRight',\n rtl: 'ArrowLeft'\n },\n collapse: {\n ltr: 'ArrowLeft',\n rtl: 'ArrowRight'\n }\n};\nfunction $d5954d038bf91c37$export$7f2f6ae19e707aa5(props, state, ref) {\n let { node: node, isVirtualized: isVirtualized } = props;\n let { rowProps: rowProps, ...states } = (0, $6b16276e8bbdaf8e$export$96357d5a73f686fa)(props, state, ref);\n let { direction: direction } = (0, $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7)();\n if (isVirtualized && state.treeColumn == null) rowProps['aria-rowindex'] = node.index + 1 + state.collection.headerRows.length; // aria-rowindex is 1 based\n else delete rowProps['aria-rowindex'];\n let isExpanded = state.treeColumn != null && (state.expandedKeys === 'all' || state.expandedKeys.has(node.key));\n let stringFormatter = (0, $cf2482eff2eeeec2$export$f12b703ca79dfbb1)((0, ($parcel$interopDefault($eezcW$intlStringsmjs))), '@react-aria/table');\n let labelProps = (0, $e8ac3c3f5d4bae7f$export$d6875122194c7b44)({\n 'aria-label': isExpanded ? stringFormatter.format('collapse') : stringFormatter.format('expand'),\n 'aria-labelledby': (0, $cf56c58f505db99a$export$85069b70317f543)(state, node.key)\n });\n let treeGridRowProps = {};\n let expandButtonProps = {};\n if (state.treeColumn != null) {\n let treeNode = state.collection.getItem(node.key);\n if (treeNode != null) {\n let lastChild = $d5954d038bf91c37$var$getLastChild(state.collection, node);\n let hasChildRows = treeNode.props?.hasChildRows || treeNode.props?.UNSTABLE_childItems || lastChild?.type !== 'cell';\n let parent = state.collection.getItem(node.parentKey);\n let isParentBody = parent.type === 'tablebody' || parent.type === 'body';\n let lastSibling = $d5954d038bf91c37$var$getLastChild(state.collection, parent);\n while(lastSibling && lastSibling.type !== 'item' && lastSibling.prevKey != null)lastSibling = state.collection.getItem(lastSibling.prevKey);\n treeGridRowProps = {\n onKeyDown: (e)=>{\n if (e.key === $d5954d038bf91c37$var$EXPANSION_KEYS['expand'][direction] && state.selectionManager.focusedKey === treeNode.key && hasChildRows && state.expandedKeys !== 'all' && !state.expandedKeys.has(treeNode.key)) {\n state.toggleKey(treeNode.key);\n e.stopPropagation();\n } else if (e.key === $d5954d038bf91c37$var$EXPANSION_KEYS['collapse'][direction] && state.selectionManager.focusedKey === treeNode.key) {\n if (state.expandedKeys !== 'all') {\n if (hasChildRows && state.expandedKeys.has(treeNode.key)) {\n state.toggleKey(treeNode.key);\n e.stopPropagation();\n } else if (!state.expandedKeys.has(treeNode.key) && treeNode.parentKey != null && treeNode.level > 0) {\n // Item is a leaf or already collapsed, move focus to parent\n state.selectionManager.setFocusedKey(treeNode.parentKey);\n e.stopPropagation();\n }\n } else if (state.expandedKeys === 'all') {\n state.toggleKey(treeNode.key);\n e.stopPropagation();\n }\n }\n },\n 'aria-expanded': hasChildRows ? state.expandedKeys === 'all' || state.expandedKeys.has(node.key) : undefined,\n 'aria-level': treeNode.level + 1,\n 'aria-posinset': treeNode.index - (isParentBody ? 0 : state.collection.columnCount) + 1,\n 'aria-setsize': lastSibling.index - (isParentBody ? 0 : state.collection.columnCount) + 1\n };\n expandButtonProps = {\n isDisabled: states.isDisabled,\n onPress: ()=>{\n if (!states.isDisabled) {\n state.toggleKey(node.key);\n state.selectionManager.setFocused(true);\n state.selectionManager.setFocusedKey(node.key);\n }\n },\n excludeFromTabOrder: true,\n preventFocusOnPress: true,\n // @ts-ignore\n 'data-react-aria-prevent-focus': true,\n ...labelProps\n };\n }\n }\n let syntheticLinkProps = (0, $caaf0dd3060ed57c$export$bdc77b0c0a3a85d6)(node.props);\n let linkProps = states.hasAction ? syntheticLinkProps : {};\n return {\n rowProps: {\n ...(0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(rowProps, treeGridRowProps, linkProps),\n 'aria-labelledby': (0, $cf56c58f505db99a$export$85069b70317f543)(state, node.key)\n },\n expandButtonProps: expandButtonProps,\n ...states\n };\n}\nfunction $d5954d038bf91c37$var$getLastChild(collection, node) {\n if ('lastChildKey' in node) return node.lastChildKey != null ? collection.getItem(node.lastChildKey) : null;\n else return Array.from(node.childNodes).findLast((item)=>item.parentKey === node.key);\n}\n\n\nexport {$d5954d038bf91c37$export$7f2f6ae19e707aa5 as useTableRow};\n//# sourceMappingURL=useTableRow.mjs.map\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ function $b79421b14039b021$export$1b95a7d2d517b841(props, state, // eslint-disable-next-line @typescript-eslint/no-unused-vars\nref) {\n let { node: node, isVirtualized: isVirtualized } = props;\n let rowProps = {\n role: 'row'\n };\n if (isVirtualized && state.treeColumn == null) rowProps['aria-rowindex'] = node.index + 1; // aria-rowindex is 1 based\n return {\n rowProps: rowProps\n };\n}\n\n\nexport {$b79421b14039b021$export$1b95a7d2d517b841 as useTableHeaderRow};\n//# sourceMappingURL=useTableHeaderRow.mjs.map\n","import {getCellId as $cf56c58f505db99a$export$19baff3266315d44} from \"./utils.mjs\";\nimport {useGridCell as $a4d729ad50b8576a$export$c7e10bfc0c59f67c} from \"../grid/useGridCell.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $059e6e023d86289a$export$49571c903d73624c(props, state, ref) {\n let { gridCellProps: gridCellProps, isPressed: isPressed } = (0, $a4d729ad50b8576a$export$c7e10bfc0c59f67c)(props, state, ref);\n let columnKey = props.node.column?.key;\n if (columnKey != null && state.collection.rowHeaderColumnKeys.has(columnKey)) {\n gridCellProps.role = 'rowheader';\n gridCellProps.id = (0, $cf56c58f505db99a$export$19baff3266315d44)(state, props.node.parentKey, columnKey);\n }\n return {\n gridCellProps: gridCellProps,\n isPressed: isPressed\n };\n}\n\n\nexport {$059e6e023d86289a$export$49571c903d73624c as useTableCell};\n//# sourceMappingURL=useTableCell.mjs.map\n","import {getRowLabelledBy as $cf56c58f505db99a$export$85069b70317f543} from \"./utils.mjs\";\nimport $f3C2Q$intlStringsmjs from \"./intlStrings.mjs\";\nimport {useGridSelectionCheckbox as $575d7acf5e0b35f6$export$70e2eed1a92976ad} from \"../grid/useGridSelectionCheckbox.mjs\";\nimport {useLocalizedStringFormatter as $cf2482eff2eeeec2$export$f12b703ca79dfbb1} from \"../i18n/useLocalizedStringFormatter.mjs\";\n\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\nfunction $9f1626ae989538fb$export$16ea7f650bd7c1bb(props, state) {\n let { key: key } = props;\n const { checkboxProps: checkboxProps } = (0, $575d7acf5e0b35f6$export$70e2eed1a92976ad)(props, state);\n return {\n checkboxProps: {\n ...checkboxProps,\n 'aria-labelledby': `${checkboxProps.id} ${(0, $cf56c58f505db99a$export$85069b70317f543)(state, key)}`\n }\n };\n}\nfunction $9f1626ae989538fb$export$1003db6a7e384b99(state) {\n let { isEmpty: isEmpty, isSelectAll: isSelectAll, selectionMode: selectionMode } = state.selectionManager;\n const stringFormatter = (0, $cf2482eff2eeeec2$export$f12b703ca79dfbb1)((0, ($parcel$interopDefault($f3C2Q$intlStringsmjs))), '@react-aria/table');\n return {\n checkboxProps: {\n 'aria-label': stringFormatter.format(selectionMode === 'single' ? 'select' : 'selectAll'),\n isSelected: isSelectAll,\n isDisabled: selectionMode !== 'multiple' || state.collection.size === 0 || state.collection.rows.length === 1 && state.collection.rows[0].type === 'loader',\n isIndeterminate: !isEmpty && !isSelectAll,\n onChange: ()=>state.selectionManager.toggleSelectAll()\n }\n };\n}\n\n\nexport {$9f1626ae989538fb$export$16ea7f650bd7c1bb as useTableSelectionCheckbox, $9f1626ae989538fb$export$1003db6a7e384b99 as useTableSelectAllCheckbox};\n//# sourceMappingURL=useTableSelectionCheckbox.mjs.map\n","import {focusSafely as $f192c2f16961cbe0$export$80f3e147d781571c} from \"../interactions/focusSafely.mjs\";\nimport {getActiveElement as $23f2114a1b82827e$export$cd4e5573fbe2b576, getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {getColumnHeaderId as $cf56c58f505db99a$export$37cd4213f2ad742e} from \"./utils.mjs\";\nimport $jgovN$intlStringsmjs from \"./intlStrings.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {useDescription as $121970af65029459$export$f8aeda7b10753fa1} from \"../utils/useDescription.mjs\";\nimport {useEffectEvent as $fe16bffc7a557bf0$export$7f54fc3180508a52} from \"../utils/useEffectEvent.mjs\";\nimport {useId as $390e54f620492c70$export$f680877a34711e37} from \"../utils/useId.mjs\";\nimport {useInteractionModality as $8f5a2122b0992be3$export$98e20ec92f614cfe} from \"../interactions/useFocusVisible.mjs\";\nimport {useKeyboard as $8296dad1a4c5e0dc$export$8f71654801c2f7cd} from \"../interactions/useKeyboard.mjs\";\nimport {useLocale as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7} from \"../i18n/I18nProvider.mjs\";\nimport {useLocalizedStringFormatter as $cf2482eff2eeeec2$export$f12b703ca79dfbb1} from \"../i18n/useLocalizedStringFormatter.mjs\";\nimport {useMove as $1dfdc54e7eb53ba0$export$36da96379f79f245} from \"../interactions/useMove.mjs\";\nimport {usePress as $d27d541f9569d26d$export$45712eceda6fad21} from \"../interactions/usePress.mjs\";\nimport {useVisuallyHidden as $ea3928288112382f$export$a966af930f325cab} from \"../visually-hidden/VisuallyHidden.mjs\";\nimport {useRef as $jgovN$useRef, useCallback as $jgovN$useCallback, useEffect as $jgovN$useEffect} from \"react\";\n\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction $963a203da37f9c8f$export$52994e973806c219(props, state, ref) {\n let { column: item, triggerRef: triggerRef, isDisabled: isDisabled, onResizeStart: onResizeStart, onResize: onResize, onResizeEnd: onResizeEnd, 'aria-label': ariaLabel } = props;\n const stringFormatter = (0, $cf2482eff2eeeec2$export$f12b703ca79dfbb1)((0, ($parcel$interopDefault($jgovN$intlStringsmjs))), '@react-aria/table');\n let id = (0, $390e54f620492c70$export$f680877a34711e37)();\n let isResizing = state.resizingColumn === item.key;\n let isResizingRef = (0, $jgovN$useRef)(isResizing);\n let lastSize = (0, $jgovN$useRef)(null);\n let wasFocusedOnResizeStart = (0, $jgovN$useRef)(false);\n let editModeEnabled = state.tableState.isKeyboardNavigationDisabled;\n let { direction: direction } = (0, $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7)();\n let startResize = (0, $jgovN$useCallback)((item)=>{\n if (!isResizingRef.current) {\n lastSize.current = state.updateResizedColumns(item.key, state.getColumnWidth(item.key));\n state.startResize(item.key);\n state.tableState.setKeyboardNavigationDisabled(true);\n onResizeStart?.(lastSize.current);\n }\n isResizingRef.current = true;\n }, [\n state,\n onResizeStart\n ]);\n let resize = (0, $jgovN$useCallback)((item, newWidth)=>{\n let sizes = state.updateResizedColumns(item.key, newWidth);\n onResize?.(sizes);\n lastSize.current = sizes;\n }, [\n state,\n onResize\n ]);\n let endResize = (0, $jgovN$useCallback)((item)=>{\n if (isResizingRef.current) {\n if (lastSize.current == null) lastSize.current = state.updateResizedColumns(item.key, state.getColumnWidth(item.key));\n state.endResize();\n state.tableState.setKeyboardNavigationDisabled(false);\n onResizeEnd?.(lastSize.current);\n isResizingRef.current = false;\n if (triggerRef?.current && !wasFocusedOnResizeStart.current) // switch focus back to the column header unless the resizer was already focused when resizing started.\n (0, $f192c2f16961cbe0$export$80f3e147d781571c)(triggerRef.current);\n }\n lastSize.current = null;\n }, [\n state,\n triggerRef,\n onResizeEnd\n ]);\n let { keyboardProps: keyboardProps } = (0, $8296dad1a4c5e0dc$export$8f71654801c2f7cd)({\n onKeyDown: (e)=>{\n if (editModeEnabled) {\n if (e.key === 'Escape' || e.key === 'Enter' || e.key === ' ' || e.key === 'Tab') {\n e.preventDefault();\n endResize(item);\n }\n } else {\n // Continue propagation on keydown events so they still bubbles to useSelectableCollection and are handled there\n e.continuePropagation();\n if (e.key === 'Enter') startResize(item);\n }\n }\n });\n const columnResizeWidthRef = (0, $jgovN$useRef)(0);\n const { moveProps: moveProps } = (0, $1dfdc54e7eb53ba0$export$36da96379f79f245)({\n onMoveStart () {\n columnResizeWidthRef.current = state.getColumnWidth(item.key);\n startResize(item);\n },\n onMove (e) {\n let { deltaX: deltaX, deltaY: deltaY, pointerType: pointerType } = e;\n if (direction === 'rtl') deltaX *= -1;\n if (pointerType === 'keyboard') {\n if (deltaY !== 0 && deltaX === 0) deltaX = deltaY * -1;\n deltaX *= 10;\n }\n // if moving up/down only, no need to resize\n if (deltaX !== 0) {\n columnResizeWidthRef.current += deltaX;\n resize(item, columnResizeWidthRef.current);\n }\n },\n onMoveEnd (e) {\n let { pointerType: pointerType } = e;\n columnResizeWidthRef.current = 0;\n if (pointerType === 'mouse' || pointerType === 'touch' && wasFocusedOnResizeStart.current) endResize(item);\n }\n });\n let onKeyDown = (0, $jgovN$useCallback)((e)=>{\n if (editModeEnabled) moveProps.onKeyDown?.(e);\n }, [\n editModeEnabled,\n moveProps\n ]);\n let min = Math.floor(state.getColumnMinWidth(item.key));\n let max = Math.floor(state.getColumnMaxWidth(item.key));\n if (max === Infinity) max = Number.MAX_SAFE_INTEGER;\n let value = Math.floor(state.getColumnWidth(item.key));\n let modality = (0, $8f5a2122b0992be3$export$98e20ec92f614cfe)();\n if (modality === 'virtual' && typeof window !== 'undefined' && 'ontouchstart' in window) modality = 'touch';\n let description = triggerRef?.current == null && (modality === 'keyboard' || modality === 'virtual') && !isResizing ? stringFormatter.format('resizerDescription') : undefined;\n let descriptionProps = (0, $121970af65029459$export$f8aeda7b10753fa1)(description);\n let ariaProps = {\n 'aria-label': ariaLabel,\n 'aria-orientation': 'horizontal',\n 'aria-labelledby': `${id} ${(0, $cf56c58f505db99a$export$37cd4213f2ad742e)(state.tableState, item.key)}`,\n 'aria-valuetext': stringFormatter.format('columnSize', {\n value: value\n }),\n type: 'range',\n min: min,\n max: max,\n value: value,\n ...descriptionProps\n };\n const focusInput = (0, $jgovN$useCallback)(()=>{\n if (ref.current) (0, $f192c2f16961cbe0$export$80f3e147d781571c)(ref.current);\n }, [\n ref\n ]);\n let resizingColumn = state.resizingColumn;\n let prevResizingColumn = (0, $jgovN$useRef)(null);\n let startResizeEvent = (0, $fe16bffc7a557bf0$export$7f54fc3180508a52)(startResize);\n (0, $jgovN$useEffect)(()=>{\n if (prevResizingColumn.current !== resizingColumn && resizingColumn != null && resizingColumn === item.key) {\n wasFocusedOnResizeStart.current = (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)() === ref.current;\n startResizeEvent(item);\n // Delay focusing input until Android Chrome's delayed click after touchend happens: https://bugs.chromium.org/p/chromium/issues/detail?id=1150073\n let timeout = setTimeout(()=>focusInput(), 0);\n // VoiceOver on iOS has problems focusing the input from a menu.\n let VOTimeout = setTimeout(focusInput, 400);\n return ()=>{\n clearTimeout(timeout);\n clearTimeout(VOTimeout);\n };\n }\n prevResizingColumn.current = resizingColumn;\n }, [\n resizingColumn,\n item,\n focusInput,\n ref\n ]);\n let onChange = (e)=>{\n let currentWidth = state.getColumnWidth(item.key);\n let nextValue = parseFloat((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e).value);\n if (nextValue > currentWidth) nextValue = currentWidth + 10;\n else nextValue = currentWidth - 10;\n resize(item, nextValue);\n };\n let { pressProps: pressProps } = (0, $d27d541f9569d26d$export$45712eceda6fad21)({\n preventFocusOnPress: true,\n onPressStart: (e)=>{\n if (e.ctrlKey || e.altKey || e.metaKey || e.shiftKey || e.pointerType === 'keyboard') return;\n if (e.pointerType === 'virtual' && state.resizingColumn != null) {\n endResize(item);\n return;\n }\n // Sometimes onPress won't trigger for quick taps on mobile so we want to focus the input so blurring away\n // can cancel resize mode for us.\n focusInput();\n // If resizer is always visible, mobile screenreader user can access the visually hidden resizer directly and thus we don't need\n // to handle a virtual click to start the resizer.\n if (e.pointerType !== 'virtual') startResize(item);\n },\n onPress: (e)=>{\n if ((e.pointerType === 'touch' && wasFocusedOnResizeStart.current || e.pointerType === 'mouse') && state.resizingColumn != null) endResize(item);\n }\n });\n let { visuallyHiddenProps: visuallyHiddenProps } = (0, $ea3928288112382f$export$a966af930f325cab)();\n return {\n resizerProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(keyboardProps, {\n ...moveProps,\n onKeyDown: onKeyDown\n }, pressProps, {\n style: {\n touchAction: 'none'\n }\n }),\n inputProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(visuallyHiddenProps, {\n id: id,\n onBlur: ()=>{\n endResize(item);\n },\n onChange: onChange,\n disabled: isDisabled\n }, ariaProps),\n isResizing: isResizing\n };\n}\n\n\nexport {$963a203da37f9c8f$export$52994e973806c219 as useTableColumnResize};\n//# sourceMappingURL=useTableColumnResize.mjs.map\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ function $9364b4956b51a42c$export$d3037f5d3f3e51bf() {\n return {\n rowGroupProps: {\n role: 'rowgroup'\n }\n };\n}\n\n\nexport {$9364b4956b51a42c$export$d3037f5d3f3e51bf as useGridRowGroup};\n//# sourceMappingURL=useGridRowGroup.mjs.map\n","import {useGridRowGroup as $9364b4956b51a42c$export$d3037f5d3f3e51bf} from \"../grid/useGridRowGroup.mjs\";\n\n/*\n * Copyright 2026 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nfunction $a88c5fd7483f9127$export$6fb1613bd7b28198() {\n return (0, $9364b4956b51a42c$export$d3037f5d3f3e51bf)();\n}\n\n\nexport {$a88c5fd7483f9127$export$6fb1613bd7b28198 as useTableRowGroup};\n//# sourceMappingURL=useTableRowGroup.mjs.map\n","import {ButtonContext as $7705c033048f6da7$export$24d547caef80ccd1} from \"./Button.mjs\";\nimport {CheckboxContext as $ed8ccb2e23e76301$export$b085522c77523c51, CheckboxFieldContext as $ed8ccb2e23e76301$export$c32003b803b6c22e} from \"./Checkbox.mjs\";\nimport {DEFAULT_SLOT as $7230ffa83bc0c2cf$export$c62b8e45d58ddad9, dom as $7230ffa83bc0c2cf$export$df3a06d6289f983e, Provider as $7230ffa83bc0c2cf$export$2881499e37b75b9a, useContextProps as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, useRenderProps as $7230ffa83bc0c2cf$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport {CollectionRendererContext as $263ab7fc0f95ccdb$export$4feb769f8ddf26c5, DefaultCollectionRenderer as $263ab7fc0f95ccdb$export$a164736487e3f0ae} from \"./Collection.mjs\";\nimport {DragAndDropContext as $f9554a667e4f0374$export$d188a835a7bc5783, DropIndicatorContext as $f9554a667e4f0374$export$f55761759794cf55, useDndPersistedKeys as $f9554a667e4f0374$export$d1e8e3fbb7461f6, useRenderDropIndicator as $f9554a667e4f0374$export$971707d8a129a1f7} from \"./DragAndDrop.mjs\";\nimport {FieldInputContext as $4b38b5b75ecc6208$export$698f465ec27e93df, SelectableCollectionContext as $4b38b5b75ecc6208$export$b0d3ecf7112093a7} from \"./Autocomplete.mjs\";\nimport $8WNJc$intlStringsmjs from \"./intlStrings.mjs\";\nimport {SelectionIndicatorContext as $91fe5e721c7f36c1$export$c9549807523555e0} from \"./SelectionIndicator.mjs\";\nimport {SharedElementTransition as $792f28e438b9ad5f$export$758399f318e6385a} from \"./SharedElementTransition.mjs\";\nimport {TreeDropTargetDelegate as $808d92ba0ee34db1$export$82c13862611c034e} from \"./TreeDropTargetDelegate.mjs\";\nimport {BaseCollection as $8WNJc$BaseCollection, CollectionNode as $8WNJc$CollectionNode, FilterableNode as $8WNJc$FilterableNode, LoaderNode as $8WNJc$LoaderNode} from \"react-aria/private/collections/BaseCollection\";\nimport {buildHeaderRows as $8WNJc$buildHeaderRows} from \"react-stately/private/table/TableCollection\";\nimport {Collection as $8WNJc$Collection} from \"react-aria/Collection\";\nimport {CollectionBuilder as $8WNJc$CollectionBuilder, createBranchComponent as $8WNJc$createBranchComponent, createLeafComponent as $8WNJc$createLeafComponent} from \"react-aria/CollectionBuilder\";\nimport {filterDOMProps as $8WNJc$filterDOMProps} from \"react-aria/filterDOMProps\";\nimport {FocusScope as $8WNJc$FocusScope} from \"react-aria/FocusScope\";\nimport {inertValue as $8WNJc$inertValue} from \"react-aria/private/utils/inertValue\";\nimport {isScrollable as $8WNJc$isScrollable} from \"react-aria/private/utils/isScrollable\";\nimport {ListKeyboardDelegate as $8WNJc$ListKeyboardDelegate} from \"react-aria/ListKeyboardDelegate\";\nimport {useLoadMoreSentinel as $8WNJc$useLoadMoreSentinel} from \"react-aria/private/utils/useLoadMoreSentinel\";\nimport {mergeProps as $8WNJc$mergeProps} from \"react-aria/mergeProps\";\nimport {mergeRefs as $8WNJc$mergeRefs} from \"react-aria/mergeRefs\";\nimport $8WNJc$react, {createContext as $8WNJc$createContext, forwardRef as $8WNJc$forwardRef, useRef as $8WNJc$useRef, useState as $8WNJc$useState, useMemo as $8WNJc$useMemo, useContext as $8WNJc$useContext, useEffect as $8WNJc$useEffect, useCallback as $8WNJc$useCallback} from \"react\";\nimport $8WNJc$reactdom from \"react-dom\";\nimport {useTableColumnResizeState as $8WNJc$useTableColumnResizeState, useTableState as $8WNJc$useTableState, UNSTABLE_useFilteredTableState as $8WNJc$UNSTABLE_useFilteredTableState} from \"react-stately/useTableState\";\nimport {useCachedChildren as $8WNJc$useCachedChildren} from \"react-aria/private/collections/useCachedChildren\";\nimport {useControlledState as $8WNJc$useControlledState} from \"react-stately/useControlledState\";\nimport {useFocusRing as $8WNJc$useFocusRing} from \"react-aria/useFocusRing\";\nimport {useHover as $8WNJc$useHover} from \"react-aria/useHover\";\nimport {useLayoutEffect as $8WNJc$useLayoutEffect} from \"react-aria/private/utils/useLayoutEffect\";\nimport {useLocale as $8WNJc$useLocale} from \"react-aria/I18nProvider\";\nimport {useLocalizedStringFormatter as $8WNJc$useLocalizedStringFormatter} from \"react-aria/useLocalizedStringFormatter\";\nimport {useMultipleSelectionState as $8WNJc$useMultipleSelectionState} from \"react-stately/useMultipleSelectionState\";\nimport {useObjectRef as $8WNJc$useObjectRef} from \"react-aria/useObjectRef\";\nimport {useResizeObserver as $8WNJc$useResizeObserver} from \"react-aria/private/utils/useResizeObserver\";\nimport {useTable as $8WNJc$useTable, useTableRowGroup as $8WNJc$useTableRowGroup, useTableHeaderRow as $8WNJc$useTableHeaderRow, useTableSelectAllCheckbox as $8WNJc$useTableSelectAllCheckbox, useTableColumnHeader as $8WNJc$useTableColumnHeader, useTableColumnResize as $8WNJc$useTableColumnResize, useTableRow as $8WNJc$useTableRow, useTableSelectionCheckbox as $8WNJc$useTableSelectionCheckbox, useTableCell as $8WNJc$useTableCell} from \"react-aria/useTable\";\nimport {useVisuallyHidden as $8WNJc$useVisuallyHidden} from \"react-aria/VisuallyHidden\";\n\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nclass $76d00c5a4edb230a$var$TableCollection extends (0, $8WNJc$BaseCollection) {\n withExpandedKeys(expandedKeys) {\n let collection = this.clone();\n collection.expandedKeys = expandedKeys;\n collection.frozen = this.frozen;\n collection.rows = Array.from(collection.getRows());\n return collection;\n }\n addNode(node) {\n super.addNode(node);\n this.columnsDirty ||= node.type === 'column';\n if (node.type === 'tableheader') this.head = node;\n }\n getRows() {\n let rows = [];\n for (let child of this)if (child.type === 'tablebody' || child.type === 'tablefooter') rows.push(...this.getChildren(child.key));\n return rows;\n }\n // backward compatibility\n get body() {\n for (let child of this){\n if (child.type === 'tablebody') return child;\n }\n return new $76d00c5a4edb230a$var$TableBodyNode(-2);\n }\n commit(firstKey, lastKey, isSSR = false) {\n this.updateColumns(isSSR);\n this.firstKey = firstKey;\n this.lastKey = lastKey;\n this.rows = [];\n for (let row of this.getRows()){\n let lastChildKey = row.lastChildKey;\n if (lastChildKey != null) {\n let lastCell = this.getItem(lastChildKey);\n while(lastCell && lastCell.type !== 'cell')lastCell = lastCell.prevKey != null ? this.getItem(lastCell.prevKey) : null;\n if (lastCell) {\n let numberOfCellsInRow = (lastCell.colIndex ?? lastCell.index) + (lastCell.colSpan ?? 1);\n if (numberOfCellsInRow !== this.columns.length && !isSSR) throw new Error(`Cell count must match column count. Found ${numberOfCellsInRow} cells and ${this.columns.length} columns.`);\n }\n }\n this.rows.push(row);\n }\n super.commit(firstKey, lastKey, isSSR);\n }\n updateColumns(isSSR) {\n if (!this.columnsDirty) return;\n this.rowHeaderColumnKeys = new Set();\n this.columns = [];\n let columnKeyMap = new Map();\n let visit = (node)=>{\n switch(node.type){\n case 'column':\n columnKeyMap.set(node.key, node);\n if (!node.hasChildNodes) {\n node.index = this.columns.length;\n this.columns.push(node);\n if (node.props.isRowHeader) this.rowHeaderColumnKeys.add(node.key);\n }\n break;\n }\n for (let child of this.getChildren(node.key))visit(child);\n };\n for (let node of this.getChildren(this.head.key))visit(node);\n this.headerRows = (0, $8WNJc$buildHeaderRows)(columnKeyMap, this.columns);\n this.columnsDirty = false;\n if (this.rowHeaderColumnKeys.size === 0 && this.columns.length > 0 && !isSSR) throw new Error('A table must have at least one Column with the isRowHeader prop set to true');\n }\n get columnCount() {\n return this.columns.length;\n }\n *[Symbol.iterator]() {\n let key = this.firstKey;\n while(key != null){\n let node = this.getItem(key);\n if (node) yield node;\n key = node?.nextKey ?? null;\n }\n }\n getFirstKey() {\n for (let child of this){\n if (child.type === 'tablebody') return child.firstChildKey ?? null;\n }\n return null;\n }\n getLastKey() {\n let key = this.lastKey;\n if (key == null) return null;\n let node = this.getItem(key);\n while(node?.lastChildKey != null && (node.type !== 'item' || this.expandedKeys.has(node.key)))node = this.getItem(node.lastChildKey);\n return node?.key;\n }\n getKeyAfter(key) {\n let node = this.getItem(key);\n if (node?.type === 'column') return node.nextKey ?? null;\n if (!node) return null;\n // If this is an expanded item, return the first child item if any.\n if (node.type === 'item' && node.firstChildKey != null && this.expandedKeys.has(node.key)) {\n let child = this.getItem(node.firstChildKey);\n while(child){\n if (child.type === 'item') return child.key;\n child = child.nextKey != null ? this.getItem(child.nextKey) : null;\n }\n }\n return super.getKeyAfter(key);\n }\n getKeyBefore(key) {\n let node = this.getItem(key);\n if (node?.type === 'column') return node.prevKey ?? null;\n if (!node) return null;\n let k = null;\n if (node.prevKey != null) {\n node = this.getItem(node.prevKey);\n // Traverse to the deepest expanded child.\n while(node && (node.type !== 'item' || this.expandedKeys.has(node.key)) && node.lastChildKey != null)node = this.getItem(node.lastChildKey);\n k = node?.key ?? null;\n }\n if (k == null) k = node.parentKey;\n if (k != null && this.getItem(k)?.type === 'tableheader') return null;\n return k;\n }\n getChildren(key) {\n let item = this.getItem(key);\n if (!item) for (let row of this.headerRows){\n if (row.key === key) return row.childNodes;\n }\n // Flatten all rows into the body.\n let self = this;\n if (item?.type === 'tablebody' || item?.type === 'tablefooter') return {\n *[Symbol.iterator] () {\n let firstKey = item.firstChildKey;\n let node = firstKey != null ? self.getItem(firstKey) : null;\n while(node){\n yield node;\n let key = self.getKeyAfter(node.key);\n node = key != null ? self.getItem(key) : null;\n if (node && node.parentKey === item.parentKey) break;\n }\n }\n };\n return {\n *[Symbol.iterator] () {\n let parent = self.getItem(key);\n let node = parent?.firstChildKey != null ? self.getItem(parent.firstChildKey) : null;\n while(node){\n yield node;\n node = node.nextKey != null ? self.getItem(node.nextKey) : null;\n // Return only cells as children of rows (nested rows are flattened into the body).\n if (parent?.type === 'item' && node?.type !== 'cell') break;\n }\n }\n };\n }\n clone() {\n let collection = super.clone();\n collection.headerRows = this.headerRows;\n collection.columns = this.columns;\n collection.rows = this.rows;\n collection.rowHeaderColumnKeys = this.rowHeaderColumnKeys;\n collection.head = this.head;\n return collection;\n }\n getTextValue(key) {\n let row = this.getItem(key);\n if (!row) return '';\n // If the row has a textValue, use that.\n if (row.textValue) return row.textValue;\n // Otherwise combine the text of each of the row header columns.\n let rowHeaderColumnKeys = this.rowHeaderColumnKeys;\n let text = [];\n for (let cell of this.getChildren(key)){\n let column = this.columns[cell.index];\n if (rowHeaderColumnKeys.has(column.key) && cell.textValue) text.push(cell.textValue);\n if (text.length === rowHeaderColumnKeys.size) break;\n }\n return text.join(' ');\n }\n constructor(...args){\n super(...args), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = new Set(), this.head = new $76d00c5a4edb230a$var$TableHeaderNode(-1), this.columnsDirty = true, this.expandedKeys = new Set();\n }\n}\nconst $76d00c5a4edb230a$var$ResizableTableContainerContext = /*#__PURE__*/ (0, $8WNJc$createContext)(null);\nconst $76d00c5a4edb230a$export$7063e69b8a954175 = /*#__PURE__*/ (0, $8WNJc$forwardRef)(function ResizableTableContainer(props, ref) {\n let containerRef = (0, $8WNJc$useObjectRef)(ref);\n let tableRef = (0, $8WNJc$useRef)(null);\n let scrollRef = (0, $8WNJc$useRef)(null);\n let [width, setWidth] = (0, $8WNJc$useState)(0);\n (0, $8WNJc$useLayoutEffect)(()=>{\n // Walk up the DOM from the Table to the ResizableTableContainer and stop\n // when we reach the first scrollable element. This is what we'll measure\n // to determine column widths (important due to width of scrollbars).\n // This will usually be the ResizableTableContainer for native tables, and\n // the Table itself for virtualized tables.\n let table = tableRef.current;\n while(table && table !== containerRef.current && !(0, $8WNJc$isScrollable)(table))table = table.parentElement;\n scrollRef.current = table;\n }, [\n containerRef\n ]);\n (0, $8WNJc$useResizeObserver)({\n ref: scrollRef,\n box: 'border-box',\n onResize () {\n setWidth(scrollRef.current?.clientWidth ?? 0);\n }\n });\n (0, $8WNJc$useLayoutEffect)(()=>{\n setWidth(scrollRef.current?.clientWidth ?? 0);\n }, []);\n let ctx = (0, $8WNJc$useMemo)(()=>({\n tableRef: tableRef,\n scrollRef: scrollRef,\n tableWidth: width,\n useTableColumnResizeState: $8WNJc$useTableColumnResizeState,\n onResizeStart: props.onResizeStart,\n onResize: props.onResize,\n onResizeEnd: props.onResizeEnd\n }), [\n tableRef,\n width,\n props.onResizeStart,\n props.onResize,\n props.onResizeEnd\n ]);\n return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div, {\n render: props.render,\n ...(0, $8WNJc$filterDOMProps)(props, {\n global: true\n }),\n ref: containerRef,\n className: props.className || 'react-aria-ResizableTableContainer',\n style: props.style,\n onScroll: props.onScroll\n }, /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$ResizableTableContainerContext.Provider, {\n value: ctx\n }, props.children));\n});\nconst $76d00c5a4edb230a$export$93e4b0b2cc49b648 = /*#__PURE__*/ (0, $8WNJc$createContext)(null);\nconst $76d00c5a4edb230a$export$38de1cb0526c21fb = /*#__PURE__*/ (0, $8WNJc$createContext)(null);\nconst $76d00c5a4edb230a$export$a2680a798823803c = /*#__PURE__*/ (0, $8WNJc$createContext)(null);\nconst $76d00c5a4edb230a$export$54ec01a60f47d33d = /*#__PURE__*/ (0, $8WNJc$forwardRef)(function Table(props, ref) {\n [props, ref] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, $76d00c5a4edb230a$export$93e4b0b2cc49b648);\n // Separate selection state so we have access to it from collection components via useTableOptions.\n let selectionState = (0, $8WNJc$useMultipleSelectionState)(props);\n let { selectionBehavior: selectionBehavior, selectionMode: selectionMode, disallowEmptySelection: disallowEmptySelection } = selectionState;\n let hasDragHooks = !!props.dragAndDropHooks?.useDraggableCollectionState;\n let ctx = (0, $8WNJc$useMemo)(()=>({\n selectionBehavior: selectionMode === 'none' ? null : selectionBehavior,\n selectionMode: selectionMode,\n disallowEmptySelection: disallowEmptySelection,\n allowsDragging: hasDragHooks\n }), [\n selectionBehavior,\n selectionMode,\n disallowEmptySelection,\n hasDragHooks\n ]);\n let content = /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$TableOptionsContext.Provider, {\n value: ctx\n }, /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $8WNJc$Collection), props));\n return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $8WNJc$CollectionBuilder), {\n content: content,\n createCollection: ()=>new $76d00c5a4edb230a$var$TableCollection()\n }, (collection)=>/*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$TableInner, {\n props: props,\n forwardedRef: ref,\n selectionState: selectionState,\n collection: collection\n }));\n});\nlet $76d00c5a4edb230a$var$TableElementType = /*#__PURE__*/ (0, $8WNJc$forwardRef)(function TableElementType(props, ref) {\n let { isVirtualized: isVirtualized } = (0, $8WNJc$useContext)((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5));\n if (isVirtualized) return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div, {\n ...props,\n ref: ref\n });\n return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).table, {\n ...props,\n ref: ref\n });\n});\nconst $76d00c5a4edb230a$var$EXPANSION_KEYS = {\n expand: {\n ltr: 'ArrowRight',\n rtl: 'ArrowLeft'\n },\n collapse: {\n ltr: 'ArrowLeft',\n rtl: 'ArrowRight'\n }\n};\nfunction $76d00c5a4edb230a$var$TableInner({ props: props, forwardedRef: ref, selectionState: selectionState, collection: collection }) {\n [props, ref] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, (0, $4b38b5b75ecc6208$export$b0d3ecf7112093a7));\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n let { shouldUseVirtualFocus: shouldUseVirtualFocus, disallowTypeAhead: disallowTypeAhead, filter: filter, ...DOMCollectionProps } = props;\n let tableContainerContext = (0, $8WNJc$useContext)($76d00c5a4edb230a$var$ResizableTableContainerContext);\n ref = (0, $8WNJc$useObjectRef)((0, $8WNJc$useMemo)(()=>(0, $8WNJc$mergeRefs)(ref, tableContainerContext?.tableRef), [\n ref,\n tableContainerContext?.tableRef\n ]));\n let [expandedKeys, setExpandedKeys] = (0, $8WNJc$useControlledState)(props.expandedKeys ? new Set(props.expandedKeys) : undefined, props.defaultExpandedKeys ? new Set(props.defaultExpandedKeys) : new Set(), props.onExpandedChange);\n collection = (0, $8WNJc$useMemo)(()=>collection.withExpandedKeys(expandedKeys), [\n collection,\n expandedKeys\n ]);\n let tableState = (0, $8WNJc$useTableState)({\n ...DOMCollectionProps,\n collection: collection,\n children: undefined,\n UNSAFE_selectionState: selectionState,\n expandedKeys: expandedKeys,\n onExpandedChange: setExpandedKeys\n });\n let filteredState = (0, $8WNJc$UNSTABLE_useFilteredTableState)(tableState, filter);\n let { isVirtualized: isVirtualized, layoutDelegate: layoutDelegate, dropTargetDelegate: ctxDropTargetDelegate, CollectionRoot: CollectionRoot } = (0, $8WNJc$useContext)((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5));\n let { dragAndDropHooks: dragAndDropHooks } = props;\n let { gridProps: gridProps } = (0, $8WNJc$useTable)({\n ...DOMCollectionProps,\n layoutDelegate: layoutDelegate,\n isVirtualized: isVirtualized\n }, filteredState, ref);\n let selectionManager = filteredState.selectionManager;\n let hasDragHooks = !!dragAndDropHooks?.useDraggableCollectionState;\n let hasDropHooks = !!dragAndDropHooks?.useDroppableCollectionState;\n let dragHooksProvided = (0, $8WNJc$useRef)(hasDragHooks);\n let dropHooksProvided = (0, $8WNJc$useRef)(hasDropHooks);\n (0, $8WNJc$useEffect)(()=>{\n if (process.env.NODE_ENV === 'production') return;\n if (dragHooksProvided.current !== hasDragHooks) console.warn('Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.');\n if (dropHooksProvided.current !== hasDropHooks) console.warn('Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.');\n }, [\n hasDragHooks,\n hasDropHooks\n ]);\n let dragState = undefined;\n let dropState = undefined;\n let droppableCollection = undefined;\n let isRootDropTarget = false;\n let dragPreview = null;\n let preview = (0, $8WNJc$useRef)(null);\n let { direction: direction } = (0, $8WNJc$useLocale)();\n let [treeDropTargetDelegate] = (0, $8WNJc$useState)(()=>new (0, $808d92ba0ee34db1$export$82c13862611c034e)());\n if (hasDragHooks && dragAndDropHooks) {\n dragState = dragAndDropHooks.useDraggableCollectionState({\n collection: filteredState.collection,\n selectionManager: selectionManager,\n preview: dragAndDropHooks.renderDragPreview ? preview : undefined\n });\n dragAndDropHooks.useDraggableCollection({}, dragState, ref);\n let DragPreview = dragAndDropHooks.DragPreview;\n dragPreview = dragAndDropHooks.renderDragPreview ? /*#__PURE__*/ (0, $8WNJc$react).createElement(DragPreview, {\n ref: preview\n }, dragAndDropHooks.renderDragPreview) : null;\n }\n if (hasDropHooks && dragAndDropHooks) {\n dropState = dragAndDropHooks.useDroppableCollectionState({\n collection: filteredState.collection,\n selectionManager: selectionManager\n });\n let keyboardDelegate = new (0, $8WNJc$ListKeyboardDelegate)({\n collection: filteredState.collection,\n disabledKeys: selectionManager.disabledKeys,\n disabledBehavior: selectionManager.disabledBehavior,\n ref: ref,\n layoutDelegate: layoutDelegate\n });\n let dropTargetDelegate = dragAndDropHooks.dropTargetDelegate || ctxDropTargetDelegate || new dragAndDropHooks.ListDropTargetDelegate(collection.rows, ref);\n treeDropTargetDelegate.setup(dropTargetDelegate, tableState, direction);\n droppableCollection = dragAndDropHooks.useDroppableCollection({\n keyboardDelegate: keyboardDelegate,\n dropTargetDelegate: treeDropTargetDelegate,\n onDropActivate: (e)=>{\n // Expand collapsed item when dragging over. For keyboard, allow collapsing.\n if (e.target.type === 'item') {\n let key = e.target.key;\n let item = tableState.collection.getItem(key);\n let isExpanded = expandedKeys.has(key);\n if (item && item.hasChildNodes && (!isExpanded || dragAndDropHooks?.isVirtualDragging?.())) tableState.toggleKey(key);\n }\n },\n onKeyDown: (e)=>{\n let target = dropState?.target;\n if (target && target.type === 'item' && target.dropPosition === 'on') {\n let item = tableState.collection.getItem(target.key);\n if (e.key === $76d00c5a4edb230a$var$EXPANSION_KEYS['expand'][direction] && item?.hasChildNodes && !tableState.expandedKeys.has(target.key)) tableState.toggleKey(target.key);\n else if (e.key === $76d00c5a4edb230a$var$EXPANSION_KEYS['collapse'][direction] && item?.hasChildNodes && tableState.expandedKeys.has(target.key)) tableState.toggleKey(target.key);\n }\n }\n }, dropState, ref);\n isRootDropTarget = dropState.isDropTarget({\n type: 'root'\n });\n }\n let { focusProps: focusProps, isFocused: isFocused, isFocusVisible: isFocusVisible } = (0, $8WNJc$useFocusRing)();\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...props,\n children: undefined,\n defaultClassName: 'react-aria-Table',\n values: {\n isDropTarget: isRootDropTarget,\n isFocused: isFocused,\n isFocusVisible: isFocusVisible,\n state: filteredState\n }\n });\n let isListDraggable = !!(hasDragHooks && !dragState?.isDisabled);\n let style = renderProps.style;\n let layoutState = null;\n if (tableContainerContext) {\n layoutState = tableContainerContext.useTableColumnResizeState({\n tableWidth: tableContainerContext.tableWidth\n }, filteredState);\n if (!isVirtualized) style = {\n ...style,\n tableLayout: 'fixed',\n // due to https://bugzilla.mozilla.org/show_bug.cgi?id=1959353, we can't use \"fit-content\".\n // Causes the table columns to grow to fill the available space in Firefox, ignoring user set column widths\n width: 'min-content'\n };\n }\n let DOMProps = (0, $8WNJc$filterDOMProps)(props, {\n global: true\n });\n return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$2881499e37b75b9a), {\n values: [\n [\n $76d00c5a4edb230a$export$38de1cb0526c21fb,\n filteredState\n ],\n [\n $76d00c5a4edb230a$export$a2680a798823803c,\n layoutState\n ],\n [\n (0, $f9554a667e4f0374$export$d188a835a7bc5783),\n {\n dragAndDropHooks: dragAndDropHooks,\n dragState: dragState,\n dropState: dropState\n }\n ],\n [\n (0, $f9554a667e4f0374$export$f55761759794cf55),\n {\n render: $76d00c5a4edb230a$var$TableDropIndicatorWrapper\n }\n ],\n [\n (0, $4b38b5b75ecc6208$export$b0d3ecf7112093a7),\n null\n ],\n [\n (0, $4b38b5b75ecc6208$export$698f465ec27e93df),\n null\n ]\n ]\n }, /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $8WNJc$FocusScope), null, /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$TableElementType, {\n ...(0, $8WNJc$mergeProps)(DOMProps, renderProps, gridProps, focusProps, droppableCollection?.collectionProps),\n style: style,\n ref: ref,\n slot: props.slot || undefined,\n onScroll: props.onScroll,\n \"data-allows-dragging\": isListDraggable || undefined,\n \"data-drop-target\": isRootDropTarget || undefined,\n \"data-focused\": isFocused || undefined,\n \"data-focus-visible\": isFocusVisible || undefined\n }, /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $792f28e438b9ad5f$export$758399f318e6385a), null, /*#__PURE__*/ (0, $8WNJc$react).createElement(CollectionRoot, {\n collection: filteredState.collection,\n scrollRef: tableContainerContext?.scrollRef ?? ref,\n persistedKeys: (0, $f9554a667e4f0374$export$d1e8e3fbb7461f6)(selectionManager, dragAndDropHooks, dropState)\n })))), dragPreview);\n}\nconst $76d00c5a4edb230a$var$TableOptionsContext = /*#__PURE__*/ (0, $8WNJc$createContext)(null);\nfunction $76d00c5a4edb230a$export$fddc468cd8cb4db9() {\n return (0, $8WNJc$useContext)($76d00c5a4edb230a$var$TableOptionsContext);\n}\nclass $76d00c5a4edb230a$var$TableHeaderNode extends (0, $8WNJc$CollectionNode) {\n static{\n this.type = 'tableheader';\n }\n}\nlet $76d00c5a4edb230a$var$THeadElementType = /*#__PURE__*/ (0, $8WNJc$forwardRef)(function THeadElementType(props, ref) {\n let { isVirtualized: isVirtualized } = (0, $8WNJc$useContext)((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5));\n if (isVirtualized) return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div, {\n ...props,\n ref: ref\n });\n return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).thead, {\n ...props,\n ref: ref\n });\n});\nconst $76d00c5a4edb230a$export$f850895b287ef28e = /*#__PURE__*/ (0, $8WNJc$createBranchComponent)($76d00c5a4edb230a$var$TableHeaderNode, (props, ref)=>{\n let collection = (0, $8WNJc$useContext)($76d00c5a4edb230a$export$38de1cb0526c21fb).collection;\n let headerRows = (0, $8WNJc$useCachedChildren)({\n items: collection.headerRows,\n children: (0, $8WNJc$useCallback)((item)=>{\n switch(item.type){\n case 'headerrow':\n return /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$TableHeaderRow, {\n item: item\n });\n default:\n throw new Error('Unsupported node type in TableHeader: ' + item.type);\n }\n }, [])\n });\n let { rowGroupProps: rowGroupProps } = (0, $8WNJc$useTableRowGroup)();\n let { hoverProps: hoverProps, isHovered: isHovered } = (0, $8WNJc$useHover)({\n onHoverStart: props.onHoverStart,\n onHoverChange: props.onHoverChange,\n onHoverEnd: props.onHoverEnd\n });\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...props,\n children: undefined,\n defaultClassName: 'react-aria-TableHeader',\n values: {\n isHovered: isHovered\n }\n });\n return /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$THeadElementType, {\n ...(0, $8WNJc$mergeProps)((0, $8WNJc$filterDOMProps)(props, {\n global: true\n }), rowGroupProps, hoverProps),\n ...renderProps,\n ref: ref,\n \"data-hovered\": isHovered || undefined\n }, headerRows);\n}, (props)=>/*#__PURE__*/ (0, $8WNJc$react).createElement((0, $8WNJc$Collection), {\n dependencies: props.dependencies,\n items: props.columns\n }, props.children));\nlet $76d00c5a4edb230a$var$TableHeaderRowElementType = /*#__PURE__*/ (0, $8WNJc$forwardRef)(function TableHeaderRowElementType(props, ref) {\n let { isVirtualized: isVirtualized } = (0, $8WNJc$useContext)((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5));\n if (isVirtualized) return /*#__PURE__*/ (0, $8WNJc$react).createElement(\"div\", {\n ...props,\n ref: ref\n });\n return /*#__PURE__*/ (0, $8WNJc$react).createElement(\"tr\", {\n ...props,\n ref: ref\n });\n});\nfunction $76d00c5a4edb230a$var$TableHeaderRow({ item: item }) {\n let ref = (0, $8WNJc$useRef)(null);\n let state = (0, $8WNJc$useContext)($76d00c5a4edb230a$export$38de1cb0526c21fb);\n let { isVirtualized: isVirtualized, CollectionBranch: CollectionBranch } = (0, $8WNJc$useContext)((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5));\n let { rowProps: rowProps } = (0, $8WNJc$useTableHeaderRow)({\n node: item,\n isVirtualized: isVirtualized\n }, state, ref);\n let { checkboxProps: checkboxProps } = (0, $8WNJc$useTableSelectAllCheckbox)(state);\n return /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$TableHeaderRowElementType, {\n ...rowProps,\n ref: ref\n }, /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$2881499e37b75b9a), {\n values: [\n [\n (0, $ed8ccb2e23e76301$export$b085522c77523c51),\n {\n slots: {\n selection: checkboxProps\n }\n }\n ],\n [\n (0, $ed8ccb2e23e76301$export$c32003b803b6c22e),\n {\n slots: {\n selection: checkboxProps\n }\n }\n ]\n ]\n }, /*#__PURE__*/ (0, $8WNJc$react).createElement(CollectionBranch, {\n collection: state.collection,\n parent: item\n })));\n}\nclass $76d00c5a4edb230a$var$TableColumnNode extends (0, $8WNJc$CollectionNode) {\n static{\n this.type = 'column';\n }\n}\nlet $76d00c5a4edb230a$var$ColumnElementType = /*#__PURE__*/ (0, $8WNJc$forwardRef)(function ColumnElementType(props, ref) {\n let { isVirtualized: isVirtualized } = (0, $8WNJc$useContext)((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5));\n if (isVirtualized) return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div, {\n ...props,\n ref: ref\n });\n return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).th, {\n ...props,\n ref: ref\n });\n});\nconst $76d00c5a4edb230a$export$816b5d811295e6bc = /*#__PURE__*/ (0, $8WNJc$createLeafComponent)($76d00c5a4edb230a$var$TableColumnNode, (props, forwardedRef, column)=>{\n let ref = (0, $8WNJc$useObjectRef)(forwardedRef);\n let state = (0, $8WNJc$useContext)($76d00c5a4edb230a$export$38de1cb0526c21fb);\n let { isVirtualized: isVirtualized } = (0, $8WNJc$useContext)((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5));\n let { columnHeaderProps: columnHeaderProps, isPressed: isPressed } = (0, $8WNJc$useTableColumnHeader)({\n node: column,\n isVirtualized: isVirtualized\n }, state, ref);\n let { isFocused: isFocused, isFocusVisible: isFocusVisible, focusProps: focusProps } = (0, $8WNJc$useFocusRing)();\n let layoutState = (0, $8WNJc$useContext)($76d00c5a4edb230a$export$a2680a798823803c);\n let isResizing = false;\n if (layoutState) isResizing = layoutState.resizingColumn === column.key;\n else if (process.env.NODE_ENV !== 'production') {\n for(let prop in [\n 'width',\n 'defaultWidth',\n 'minWidth',\n 'maxWidth'\n ])if (prop in column.props) console.warn(`The ${prop} prop on a <Column> only applies when a <Table> is wrapped in a <ResizableTableContainer>. If you aren't using column resizing, you can set the width of a column with CSS.`);\n }\n let { hoverProps: hoverProps, isHovered: isHovered } = (0, $8WNJc$useHover)({\n isDisabled: !props.allowsSorting\n });\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...props,\n id: undefined,\n children: column.rendered,\n defaultClassName: 'react-aria-Column',\n values: {\n isHovered: isHovered,\n isPressed: isPressed,\n isFocused: isFocused,\n isFocusVisible: isFocusVisible,\n allowsSorting: column.props.allowsSorting,\n sortDirection: state.sortDescriptor?.column === column.key ? state.sortDescriptor.direction : undefined,\n isResizing: isResizing,\n startResize: ()=>{\n if (layoutState) {\n layoutState.startResize(column.key);\n state.setKeyboardNavigationDisabled(true);\n } else throw new Error('Wrap your <Table> in a <ResizableTableContainer> to enable column resizing');\n },\n sort: (direction)=>{\n state.sort(column.key, direction);\n }\n }\n });\n let style = renderProps.style;\n if (layoutState) style = {\n ...style,\n width: layoutState.getColumnWidth(column.key)\n };\n let DOMProps = (0, $8WNJc$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.id;\n return /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$ColumnElementType, {\n ...(0, $8WNJc$mergeProps)(DOMProps, columnHeaderProps, focusProps, hoverProps),\n ...renderProps,\n style: style,\n ref: ref,\n \"data-hovered\": isHovered || undefined,\n \"data-pressed\": isPressed || undefined,\n \"data-focused\": isFocused || undefined,\n \"data-focus-visible\": isFocusVisible || undefined,\n \"data-resizing\": isResizing || undefined,\n \"data-allows-sorting\": column.props.allowsSorting || undefined,\n \"data-sort-direction\": state.sortDescriptor?.column === column.key ? state.sortDescriptor.direction : undefined\n }, /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$2881499e37b75b9a), {\n values: [\n [\n $76d00c5a4edb230a$var$ColumnResizerContext,\n {\n column: column,\n triggerRef: ref\n }\n ],\n [\n (0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5),\n (0, $263ab7fc0f95ccdb$export$a164736487e3f0ae)\n ]\n ]\n }, renderProps.children));\n});\nconst $76d00c5a4edb230a$var$ColumnResizerContext = /*#__PURE__*/ (0, $8WNJc$createContext)(null);\nconst $76d00c5a4edb230a$export$ee689e97a7664bfd = /*#__PURE__*/ (0, $8WNJc$forwardRef)(function ColumnResizer(props, ref) {\n let layoutState = (0, $8WNJc$useContext)($76d00c5a4edb230a$export$a2680a798823803c);\n if (!layoutState) throw new Error('Wrap your <Table> in a <ResizableTableContainer> to enable column resizing');\n let stringFormatter = (0, $8WNJc$useLocalizedStringFormatter)((0, ($parcel$interopDefault($8WNJc$intlStringsmjs))), 'react-aria-components');\n let { onResizeStart: onResizeStart, onResize: onResize, onResizeEnd: onResizeEnd } = (0, $8WNJc$useContext)($76d00c5a4edb230a$var$ResizableTableContainerContext);\n let { column: column, triggerRef: triggerRef } = (0, $8WNJc$useContext)($76d00c5a4edb230a$var$ColumnResizerContext);\n let inputRef = (0, $8WNJc$useRef)(null);\n let { resizerProps: resizerProps, inputProps: inputProps, isResizing: isResizing } = (0, $8WNJc$useTableColumnResize)({\n column: column,\n 'aria-label': props['aria-label'] || stringFormatter.format('tableResizer'),\n onResizeStart: onResizeStart,\n onResize: onResize,\n onResizeEnd: onResizeEnd,\n triggerRef: triggerRef\n }, layoutState, inputRef);\n let { focusProps: focusProps, isFocused: isFocused, isFocusVisible: isFocusVisible } = (0, $8WNJc$useFocusRing)();\n let { hoverProps: hoverProps, isHovered: isHovered } = (0, $8WNJc$useHover)(props);\n let isEResizable = layoutState.getColumnMinWidth(column.key) >= layoutState.getColumnWidth(column.key);\n let isWResizable = layoutState.getColumnMaxWidth(column.key) <= layoutState.getColumnWidth(column.key);\n let { direction: direction } = (0, $8WNJc$useLocale)();\n let resizableDirection = 'both';\n if (isEResizable) resizableDirection = direction === 'rtl' ? 'right' : 'left';\n else if (isWResizable) resizableDirection = direction === 'rtl' ? 'left' : 'right';\n else resizableDirection = 'both';\n let objectRef = (0, $8WNJc$useObjectRef)(ref);\n let [cursor, setCursor] = (0, $8WNJc$useState)('');\n (0, $8WNJc$useEffect)(()=>{\n if (!objectRef.current) return;\n let style = window.getComputedStyle(objectRef.current);\n setCursor(style.cursor);\n }, [\n objectRef,\n resizableDirection\n ]);\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...props,\n defaultClassName: 'react-aria-ColumnResizer',\n values: {\n isFocused: isFocused,\n isFocusVisible: isFocusVisible,\n isResizing: isResizing,\n isHovered: isHovered,\n resizableDirection: resizableDirection\n }\n });\n let [isMouseDown, setMouseDown] = (0, $8WNJc$useState)(false);\n let onPointerDown = (e)=>{\n if (e.pointerType === 'mouse') setMouseDown(true);\n };\n if (!isResizing && isMouseDown) setMouseDown(false);\n let DOMProps = (0, $8WNJc$filterDOMProps)(props, {\n global: true\n });\n return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div, {\n ref: objectRef,\n role: \"presentation\",\n ...(0, $8WNJc$mergeProps)(DOMProps, renderProps, resizerProps, {\n onPointerDown: onPointerDown\n }, hoverProps),\n \"data-hovered\": isHovered || undefined,\n \"data-focused\": isFocused || undefined,\n \"data-focus-visible\": isFocusVisible || undefined,\n \"data-resizing\": isResizing || undefined,\n \"data-resizable-direction\": resizableDirection\n }, renderProps.children, /*#__PURE__*/ (0, $8WNJc$react).createElement(\"input\", {\n ref: inputRef,\n ...(0, $8WNJc$mergeProps)(inputProps, focusProps)\n }), isResizing && isMouseDown && /*#__PURE__*/ (0, $8WNJc$reactdom).createPortal(/*#__PURE__*/ (0, $8WNJc$react).createElement(\"div\", {\n style: {\n position: 'fixed',\n top: 0,\n left: 0,\n bottom: 0,\n right: 0,\n cursor: cursor\n }\n }), document.body));\n});\nclass $76d00c5a4edb230a$var$TableBodyNode extends (0, $8WNJc$FilterableNode) {\n static{\n this.type = 'tablebody';\n }\n}\nlet $76d00c5a4edb230a$var$TableBodyElementType = /*#__PURE__*/ (0, $8WNJc$forwardRef)(function TableBodyElementType(props, ref) {\n let { isVirtualized: isVirtualized } = (0, $8WNJc$useContext)((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5));\n if (isVirtualized) return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div, {\n ...props,\n ref: ref\n });\n return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).tbody, {\n ...props,\n ref: ref\n });\n});\nconst $76d00c5a4edb230a$export$76ccd210b9029917 = /*#__PURE__*/ (0, $8WNJc$createBranchComponent)($76d00c5a4edb230a$var$TableBodyNode, (props, ref, node)=>{\n let state = (0, $8WNJc$useContext)($76d00c5a4edb230a$export$38de1cb0526c21fb);\n let { isVirtualized: isVirtualized } = (0, $8WNJc$useContext)((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5));\n let collection = state.collection;\n let { CollectionBranch: CollectionBranch } = (0, $8WNJc$useContext)((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5));\n let { dragAndDropHooks: dragAndDropHooks, dropState: dropState } = (0, $8WNJc$useContext)((0, $f9554a667e4f0374$export$d188a835a7bc5783));\n let isDroppable = !!dragAndDropHooks?.useDroppableCollectionState && !dropState?.isDisabled;\n let isRootDropTarget = isDroppable && !!dropState && (dropState.isDropTarget({\n type: 'root'\n }) ?? false);\n let isEmpty = collection.size === 0;\n let renderValues = {\n isDropTarget: isRootDropTarget,\n isEmpty: isEmpty\n };\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...props,\n id: undefined,\n children: undefined,\n defaultClassName: 'react-aria-TableBody',\n values: renderValues\n });\n let emptyState;\n let numColumns = collection.columnCount;\n if (isEmpty && props.renderEmptyState && state) {\n let rowProps = {};\n let rowHeaderProps = {};\n let style = {};\n if (isVirtualized) {\n rowHeaderProps['aria-colspan'] = numColumns;\n style = {\n display: 'contents'\n };\n } else rowHeaderProps['colSpan'] = numColumns;\n emptyState = /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$TableRowElementType, {\n role: \"row\",\n ...rowProps,\n style: style\n }, /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$TableCellElementType, {\n role: \"rowheader\",\n ...rowHeaderProps,\n style: style\n }, props.renderEmptyState(renderValues)));\n }\n let { rowGroupProps: rowGroupProps } = (0, $8WNJc$useTableRowGroup)();\n let DOMProps = (0, $8WNJc$filterDOMProps)(props, {\n global: true\n });\n // TODO: TableBody doesn't support being the scrollable body of the table yet, to revisit if needed. Would need to\n // call useLoadMore here and walk up the DOM to the nearest scrollable element to set scrollRef\n return /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$TableBodyElementType, {\n ...(0, $8WNJc$mergeProps)(DOMProps, renderProps, rowGroupProps),\n ref: ref,\n \"data-empty\": isEmpty || undefined\n }, isDroppable && /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$RootDropIndicator, null), /*#__PURE__*/ (0, $8WNJc$react).createElement(CollectionBranch, {\n collection: collection,\n parent: node,\n renderDropIndicator: (0, $f9554a667e4f0374$export$971707d8a129a1f7)(dragAndDropHooks, dropState)\n }), emptyState);\n});\nclass $76d00c5a4edb230a$var$TableFooterNode extends (0, $8WNJc$FilterableNode) {\n static{\n this.type = 'tablefooter';\n }\n}\nlet $76d00c5a4edb230a$var$TableFooterElementType = /*#__PURE__*/ (0, $8WNJc$forwardRef)(function TableFooterElementType(props, ref) {\n let { isVirtualized: isVirtualized } = (0, $8WNJc$useContext)((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5));\n if (isVirtualized) return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div, {\n ...props,\n ref: ref\n });\n return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).tfoot, {\n ...props,\n ref: ref\n });\n});\nconst $76d00c5a4edb230a$export$1f116082bba1f9a8 = /*#__PURE__*/ (0, $8WNJc$createBranchComponent)($76d00c5a4edb230a$var$TableFooterNode, (props, ref, node)=>{\n let state = (0, $8WNJc$useContext)($76d00c5a4edb230a$export$38de1cb0526c21fb);\n let collection = state.collection;\n let { CollectionBranch: CollectionBranch } = (0, $8WNJc$useContext)((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5));\n let { dragAndDropHooks: dragAndDropHooks, dropState: dropState } = (0, $8WNJc$useContext)((0, $f9554a667e4f0374$export$d188a835a7bc5783));\n let { rowGroupProps: rowGroupProps } = (0, $8WNJc$useTableRowGroup)();\n let DOMProps = (0, $8WNJc$filterDOMProps)(props, {\n global: true\n });\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n style: props.style,\n className: props.className,\n defaultClassName: 'react-aria-TableFooter',\n values: {}\n });\n return /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$TableFooterElementType, {\n ...(0, $8WNJc$mergeProps)(DOMProps, renderProps, rowGroupProps),\n ref: ref\n }, /*#__PURE__*/ (0, $8WNJc$react).createElement(CollectionBranch, {\n collection: collection,\n parent: node,\n renderDropIndicator: (0, $f9554a667e4f0374$export$971707d8a129a1f7)(dragAndDropHooks, dropState)\n }));\n});\nconst $76d00c5a4edb230a$export$1a75e308b53225a6 = /*#__PURE__*/ (0, $8WNJc$createContext)({\n isFocusVisibleWithinRow: false\n});\nclass $76d00c5a4edb230a$var$TableRowNode extends (0, $8WNJc$CollectionNode) {\n static{\n this.type = 'item';\n }\n filter(collection, newCollection, filterFn) {\n let cells = collection.getChildren(this.key);\n for (let cell of cells)if (filterFn(cell.textValue, cell)) {\n let clone = this.clone();\n newCollection.addDescendants(clone, collection);\n return clone;\n }\n return null;\n }\n}\nlet $76d00c5a4edb230a$var$TableRowElementType = /*#__PURE__*/ (0, $8WNJc$forwardRef)(function TableRowElementType(props, ref) {\n let { isVirtualized: isVirtualized } = (0, $8WNJc$useContext)((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5));\n if (isVirtualized) return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div, {\n ...props,\n ref: ref\n });\n return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).tr, {\n ...props,\n ref: ref\n });\n});\nconst $76d00c5a4edb230a$export$b59bdbef9ce70de2 = /*#__PURE__*/ (0, $8WNJc$createBranchComponent)($76d00c5a4edb230a$var$TableRowNode, (props, forwardedRef, item)=>{\n let ref = (0, $8WNJc$useObjectRef)(forwardedRef);\n let state = (0, $8WNJc$useContext)($76d00c5a4edb230a$export$38de1cb0526c21fb);\n let { dragAndDropHooks: dragAndDropHooks, dragState: dragState, dropState: dropState } = (0, $8WNJc$useContext)((0, $f9554a667e4f0374$export$d188a835a7bc5783));\n let { isVirtualized: isVirtualized, CollectionBranch: CollectionBranch } = (0, $8WNJc$useContext)((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5));\n let isDraggable = dragState && !(dragState.isDisabled || dragState.selectionManager.isDisabled(item.key));\n let { rowProps: rowProps, expandButtonProps: expandButtonProps, ...states } = (0, $8WNJc$useTableRow)({\n node: item,\n shouldSelectOnPressUp: !!dragState,\n isVirtualized: isVirtualized\n }, state, ref);\n let { isFocused: isFocused, isFocusVisible: isFocusVisible, focusProps: focusProps } = (0, $8WNJc$useFocusRing)();\n let { isFocusVisible: isFocusVisibleWithin, focusProps: focusWithinProps } = (0, $8WNJc$useFocusRing)({\n within: true\n });\n let { hoverProps: hoverProps, isHovered: isHovered } = (0, $8WNJc$useHover)({\n // because of https://bugs.webkit.org/show_bug.cgi?id=214609, supporting hover styles when a item is ONLY isDraggable\n // results in hover styles sticking around after a reorder/drop operation...\n isDisabled: !states.allowsSelection && !states.hasAction && !isDraggable,\n onHoverStart: props.onHoverStart,\n onHoverChange: props.onHoverChange,\n onHoverEnd: props.onHoverEnd\n });\n let { checkboxProps: checkboxProps } = (0, $8WNJc$useTableSelectionCheckbox)({\n key: item.key\n }, state);\n let draggableItem = undefined;\n if (dragState && dragAndDropHooks) draggableItem = dragAndDropHooks.useDraggableItem({\n key: item.key,\n hasDragButton: true\n }, dragState);\n let dropIndicator = undefined;\n let dropIndicatorRef = (0, $8WNJc$useRef)(null);\n let { visuallyHiddenProps: visuallyHiddenProps } = (0, $8WNJc$useVisuallyHidden)();\n if (dropState && dragAndDropHooks) dropIndicator = dragAndDropHooks.useDropIndicator({\n target: {\n type: 'item',\n key: item.key,\n dropPosition: 'on'\n }\n }, dropState, dropIndicatorRef);\n let dragButtonRef = (0, $8WNJc$useRef)(null);\n (0, $8WNJc$useEffect)(()=>{\n if (dragState && !dragButtonRef.current && process.env.NODE_ENV !== 'production') console.warn('Draggable items in a Table must contain a <Button slot=\"drag\"> element so that keyboard and screen reader users can drag them.');\n // eslint-disable-next-line\n }, []);\n let isDragging = dragState && dragState.isDragging(item.key);\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n let { children: _, ...restProps } = props;\n let hasChildItems = props.hasChildItems || state.collection.getItem(item.lastChildKey)?.type !== 'cell';\n let isExpanded = hasChildItems && state.expandedKeys.has(item.key);\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...restProps,\n id: undefined,\n defaultClassName: 'react-aria-Row',\n defaultStyle: {\n // @ts-ignore\n '--table-row-level': item.level + 1\n },\n values: {\n ...states,\n state: state,\n isHovered: isHovered,\n isFocused: isFocused,\n isFocusVisible: isFocusVisible,\n selectionMode: state.selectionManager.selectionMode,\n selectionBehavior: state.selectionManager.selectionBehavior,\n isDragging: isDragging,\n isDropTarget: dropIndicator?.isDropTarget,\n isFocusVisibleWithin: isFocusVisibleWithin,\n id: item.key,\n hasChildItems: hasChildItems,\n isExpanded: isExpanded,\n level: item.level + 1\n }\n });\n let DOMProps = (0, $8WNJc$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.id;\n delete DOMProps.onClick;\n return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $8WNJc$react).Fragment, null, dropIndicator && !dropIndicator.isHidden && /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$TableRowElementType, {\n role: \"row\",\n style: {\n height: 0\n }\n }, /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$TableCellElementType, {\n role: \"gridcell\",\n colSpan: state.collection.columnCount,\n style: {\n padding: 0\n }\n }, /*#__PURE__*/ (0, $8WNJc$react).createElement(\"div\", {\n role: \"button\",\n ...visuallyHiddenProps,\n ...dropIndicator.dropIndicatorProps,\n ref: dropIndicatorRef\n }))), /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$TableRowElementType, {\n ...(0, $8WNJc$mergeProps)(DOMProps, renderProps, rowProps, focusProps, hoverProps, draggableItem?.dragProps, focusWithinProps),\n ref: ref,\n \"data-disabled\": states.isDisabled || undefined,\n \"data-selected\": states.isSelected || undefined,\n \"data-hovered\": isHovered || undefined,\n \"data-focused\": states.isFocused || undefined,\n \"data-focus-visible\": isFocusVisible || undefined,\n \"data-pressed\": states.isPressed || undefined,\n \"data-dragging\": isDragging || undefined,\n \"data-drop-target\": dropIndicator?.isDropTarget || undefined,\n \"data-selection-mode\": state.selectionManager.selectionMode === 'none' ? undefined : state.selectionManager.selectionMode,\n \"data-focus-visible-within\": isFocusVisibleWithin || undefined,\n \"data-expanded\": isExpanded || undefined,\n \"data-has-child-items\": hasChildItems || undefined,\n \"data-level\": item.level + 1\n }, /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$2881499e37b75b9a), {\n values: [\n [\n (0, $ed8ccb2e23e76301$export$b085522c77523c51),\n {\n slots: {\n [(0, $7230ffa83bc0c2cf$export$c62b8e45d58ddad9)]: {},\n selection: checkboxProps\n }\n }\n ],\n [\n (0, $ed8ccb2e23e76301$export$c32003b803b6c22e),\n {\n slots: {\n [(0, $7230ffa83bc0c2cf$export$c62b8e45d58ddad9)]: {},\n selection: checkboxProps\n }\n }\n ],\n [\n (0, $7705c033048f6da7$export$24d547caef80ccd1),\n {\n slots: {\n [(0, $7230ffa83bc0c2cf$export$c62b8e45d58ddad9)]: {},\n chevron: expandButtonProps,\n drag: {\n ...draggableItem?.dragButtonProps,\n ref: dragButtonRef,\n style: {\n pointerEvents: 'none'\n }\n }\n }\n }\n ],\n [\n (0, $91fe5e721c7f36c1$export$c9549807523555e0),\n {\n isSelected: states.isSelected\n }\n ],\n [\n $76d00c5a4edb230a$export$1a75e308b53225a6,\n {\n isFocusVisibleWithinRow: isFocusVisibleWithin\n }\n ]\n ]\n }, /*#__PURE__*/ (0, $8WNJc$react).createElement(CollectionBranch, {\n collection: state.collection,\n parent: item\n }))));\n}, (props)=>{\n if (props.id == null && typeof props.children === 'function') throw new Error('No id detected for the Row element. The Row element requires a id to be provided to it when the cells are rendered dynamically.');\n let dependencies = [\n props.value\n ].concat(props.dependencies);\n return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $8WNJc$Collection), {\n dependencies: dependencies,\n items: props.columns,\n idScope: props.id\n }, props.children);\n});\nclass $76d00c5a4edb230a$var$TableCellNode extends (0, $8WNJc$CollectionNode) {\n static{\n this.type = 'cell';\n }\n}\nlet $76d00c5a4edb230a$var$TableCellElementType = /*#__PURE__*/ (0, $8WNJc$forwardRef)(function TableCellElementType(props, ref) {\n let { isVirtualized: isVirtualized } = (0, $8WNJc$useContext)((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5));\n if (isVirtualized) return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div, {\n ...props,\n ref: ref\n });\n return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).td, {\n ...props,\n ref: ref\n });\n});\nconst $76d00c5a4edb230a$export$f6f0c3fe4ec306ea = /*#__PURE__*/ (0, $8WNJc$createLeafComponent)($76d00c5a4edb230a$var$TableCellNode, (props, forwardedRef, cell)=>{\n let ref = (0, $8WNJc$useObjectRef)(forwardedRef);\n let state = (0, $8WNJc$useContext)($76d00c5a4edb230a$export$38de1cb0526c21fb);\n let { dragState: dragState } = (0, $8WNJc$useContext)((0, $f9554a667e4f0374$export$d188a835a7bc5783));\n let { isVirtualized: isVirtualized } = (0, $8WNJc$useContext)((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5));\n cell.column = state.collection.columns[cell.index];\n let { gridCellProps: gridCellProps, isPressed: isPressed } = (0, $8WNJc$useTableCell)({\n node: cell,\n shouldSelectOnPressUp: !!dragState,\n isVirtualized: isVirtualized\n }, state, ref);\n let { isFocused: isFocused, isFocusVisible: isFocusVisible, focusProps: focusProps } = (0, $8WNJc$useFocusRing)();\n let { hoverProps: hoverProps, isHovered: isHovered } = (0, $8WNJc$useHover)({});\n let { isFocusVisibleWithinRow: isFocusVisibleWithinRow } = (0, $8WNJc$useContext)($76d00c5a4edb230a$export$1a75e308b53225a6);\n let isSelected = cell.parentKey != null ? state.selectionManager.isSelected(cell.parentKey) : false;\n // colIndex is null, when there is so span, falling back to using the index\n let columnIndex = cell.colIndex || cell.index;\n let row = state.collection.getItem(cell.parentKey);\n let hasChildItems = row.props.hasChildItems || state.collection.getItem(row.lastChildKey)?.type !== 'cell';\n let isExpanded = hasChildItems && state.expandedKeys.has(cell.parentKey);\n let isDisabled = state.selectionManager.isDisabled(cell.parentKey);\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...props,\n id: undefined,\n defaultClassName: 'react-aria-Cell',\n values: {\n isFocused: isFocused,\n isFocusVisible: isFocusVisible,\n isFocusVisibleWithinRow: isFocusVisibleWithinRow,\n isPressed: isPressed,\n isHovered: isHovered,\n isSelected: isSelected,\n id: cell.key,\n columnIndex: columnIndex,\n hasChildItems: hasChildItems,\n isExpanded: isExpanded,\n isDisabled: isDisabled,\n level: row.level + 1,\n isTreeColumn: cell.column.key === state.treeColumn\n }\n });\n let DOMProps = (0, $8WNJc$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.id;\n return /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$TableCellElementType, {\n ...(0, $8WNJc$mergeProps)(DOMProps, renderProps, gridCellProps, focusProps, hoverProps),\n ref: ref,\n \"data-focused\": isFocused || undefined,\n \"data-focus-visible\": isFocusVisible || undefined,\n \"data-focus-visible-within-row\": isFocusVisibleWithinRow || undefined,\n \"data-pressed\": isPressed || undefined,\n \"data-selected\": isSelected || undefined,\n \"data-column-index\": columnIndex,\n \"data-expanded\": isExpanded || undefined,\n \"data-has-child-items\": hasChildItems || undefined,\n \"data-level\": row.level + 1,\n \"data-tree-column\": cell.column.key === state.treeColumn || undefined,\n \"data-disabled\": isDisabled || undefined\n }, /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5).Provider, {\n value: (0, $263ab7fc0f95ccdb$export$a164736487e3f0ae)\n }, renderProps.children));\n});\nfunction $76d00c5a4edb230a$var$TableDropIndicatorWrapper(props, ref) {\n ref = (0, $8WNJc$useObjectRef)(ref);\n let { dragAndDropHooks: dragAndDropHooks, dropState: dropState } = (0, $8WNJc$useContext)((0, $f9554a667e4f0374$export$d188a835a7bc5783));\n let buttonRef = (0, $8WNJc$useRef)(null);\n let { dropIndicatorProps: dropIndicatorProps, isHidden: isHidden, isDropTarget: isDropTarget } = dragAndDropHooks.useDropIndicator(props, dropState, buttonRef);\n if (isHidden) return null;\n let level = dropState && props.target.type === 'item' ? (dropState.collection.getItem(props.target.key)?.level || 0) + 1 : 1;\n return /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$TableDropIndicatorForwardRef, {\n ...props,\n dropIndicatorProps: dropIndicatorProps,\n isDropTarget: isDropTarget,\n buttonRef: buttonRef,\n level: level,\n ref: ref\n });\n}\nlet $76d00c5a4edb230a$var$TableDropIndicatorRowElementType = /*#__PURE__*/ (0, $8WNJc$forwardRef)(function TableDropIndicatorRowElementType(props, ref) {\n let { isVirtualized: isVirtualized } = (0, $8WNJc$useContext)((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5));\n if (isVirtualized) return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div, {\n ...props,\n ref: ref\n });\n return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).tr, {\n ...props,\n ref: ref\n });\n});\nlet $76d00c5a4edb230a$var$TableDropIndicatorTDElementType = /*#__PURE__*/ (0, $8WNJc$forwardRef)(function TableDropIndicatorTDElementType(props, ref) {\n let { isVirtualized: isVirtualized } = (0, $8WNJc$useContext)((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5));\n if (isVirtualized) return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div, {\n ...props,\n ref: ref\n });\n return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).td, {\n ...props,\n ref: ref\n });\n});\nfunction $76d00c5a4edb230a$var$TableDropIndicator(props, ref) {\n let { dropIndicatorProps: dropIndicatorProps, isDropTarget: isDropTarget, buttonRef: buttonRef, level: level, ...otherProps } = props;\n let state = (0, $8WNJc$useContext)($76d00c5a4edb230a$export$38de1cb0526c21fb);\n let { visuallyHiddenProps: visuallyHiddenProps } = (0, $8WNJc$useVisuallyHidden)();\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...otherProps,\n defaultClassName: 'react-aria-DropIndicator',\n defaultStyle: {\n // @ts-ignore\n '--table-row-level': level + 1\n },\n values: {\n isDropTarget: isDropTarget\n }\n });\n return /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$TableDropIndicatorRowElementType, {\n ...(0, $8WNJc$filterDOMProps)(props, {\n global: true\n }),\n ...renderProps,\n role: \"row\",\n ref: ref,\n \"data-drop-target\": isDropTarget || undefined,\n \"aria-level\": level\n }, /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$TableDropIndicatorTDElementType, {\n role: \"gridcell\",\n colSpan: state.collection.columnCount,\n style: {\n padding: 0\n }\n }, /*#__PURE__*/ (0, $8WNJc$react).createElement(\"div\", {\n ...visuallyHiddenProps,\n role: \"button\",\n ...dropIndicatorProps,\n ref: buttonRef\n }), renderProps.children));\n}\nconst $76d00c5a4edb230a$var$TableDropIndicatorForwardRef = /*#__PURE__*/ (0, $8WNJc$forwardRef)($76d00c5a4edb230a$var$TableDropIndicator);\nfunction $76d00c5a4edb230a$var$RootDropIndicator() {\n let state = (0, $8WNJc$useContext)($76d00c5a4edb230a$export$38de1cb0526c21fb);\n let { dragAndDropHooks: dragAndDropHooks, dropState: dropState } = (0, $8WNJc$useContext)((0, $f9554a667e4f0374$export$d188a835a7bc5783));\n let ref = (0, $8WNJc$useRef)(null);\n let { dropIndicatorProps: dropIndicatorProps } = dragAndDropHooks.useDropIndicator({\n target: {\n type: 'root'\n }\n }, dropState, ref);\n let isDropTarget = dropState.isDropTarget({\n type: 'root'\n });\n let { visuallyHiddenProps: visuallyHiddenProps } = (0, $8WNJc$useVisuallyHidden)();\n if (!isDropTarget && dropIndicatorProps['aria-hidden']) return null;\n return /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$TableRowElementType, {\n role: \"row\",\n \"aria-hidden\": dropIndicatorProps['aria-hidden'],\n style: {\n height: 0\n }\n }, /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$TableCellElementType, {\n role: \"gridcell\",\n colSpan: state.collection.columnCount,\n style: {\n padding: 0\n }\n }, /*#__PURE__*/ (0, $8WNJc$react).createElement(\"div\", {\n role: \"button\",\n ...visuallyHiddenProps,\n ...dropIndicatorProps,\n ref: ref\n })));\n}\nconst $76d00c5a4edb230a$export$8f5bea0338ed243c = (0, $8WNJc$createLeafComponent)((0, $8WNJc$LoaderNode), function TableLoadingIndicator(props, ref, item) {\n let state = (0, $8WNJc$useContext)($76d00c5a4edb230a$export$38de1cb0526c21fb);\n let { isVirtualized: isVirtualized } = (0, $8WNJc$useContext)((0, $263ab7fc0f95ccdb$export$4feb769f8ddf26c5));\n let { isLoading: isLoading, onLoadMore: onLoadMore, scrollOffset: scrollOffset, ...otherProps } = props;\n let numColumns = state.collection.columns.length;\n let sentinelRef = (0, $8WNJc$useRef)(null);\n let memoedLoadMoreProps = (0, $8WNJc$useMemo)(()=>({\n onLoadMore: onLoadMore,\n collection: state?.collection,\n sentinelRef: sentinelRef,\n scrollOffset: scrollOffset\n }), [\n onLoadMore,\n scrollOffset,\n state?.collection\n ]);\n (0, $8WNJc$useLoadMoreSentinel)(memoedLoadMoreProps, sentinelRef);\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...otherProps,\n id: undefined,\n children: item.rendered,\n defaultClassName: 'react-aria-TableLoadingIndicator',\n defaultStyle: {\n // @ts-ignore\n '--table-row-level': item.level + 1\n },\n values: undefined\n });\n let rowProps = {};\n let rowHeaderProps = {};\n let style = {};\n if (isVirtualized) {\n // For now don't include aria-rowindex on loader since they aren't keyboard focusable\n // Arguably shouldn't include them ever since it might be confusing to the user to include the loaders as part of the\n // row count\n rowHeaderProps['aria-colspan'] = numColumns;\n style = {\n display: 'contents'\n };\n } else rowHeaderProps['colSpan'] = numColumns;\n return /*#__PURE__*/ (0, $8WNJc$react).createElement((0, $8WNJc$react).Fragment, null, /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$TableRowElementType, {\n style: {\n height: 0\n },\n inert: (0, $8WNJc$inertValue)(true)\n }, /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$TableCellElementType, {\n style: {\n padding: 0,\n border: 0\n }\n }, /*#__PURE__*/ (0, $8WNJc$react).createElement(\"div\", {\n \"data-testid\": \"loadMoreSentinel\",\n ref: sentinelRef,\n style: {\n position: 'relative',\n height: 1,\n width: 1\n }\n }))), isLoading && renderProps.children && /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$TableRowElementType, {\n ...(0, $8WNJc$mergeProps)((0, $8WNJc$filterDOMProps)(props, {\n global: true\n }), rowProps),\n ...renderProps,\n role: \"row\",\n ref: ref,\n \"aria-level\": item.level + 1,\n \"data-level\": item.level + 1\n }, /*#__PURE__*/ (0, $8WNJc$react).createElement($76d00c5a4edb230a$var$TableCellElementType, {\n role: \"rowheader\",\n ...rowHeaderProps,\n style: style\n }, renderProps.children)));\n});\n\n\nexport {$76d00c5a4edb230a$export$7063e69b8a954175 as ResizableTableContainer, $76d00c5a4edb230a$export$93e4b0b2cc49b648 as TableContext, $76d00c5a4edb230a$export$38de1cb0526c21fb as TableStateContext, $76d00c5a4edb230a$export$a2680a798823803c as TableColumnResizeStateContext, $76d00c5a4edb230a$export$54ec01a60f47d33d as Table, $76d00c5a4edb230a$export$fddc468cd8cb4db9 as useTableOptions, $76d00c5a4edb230a$export$f850895b287ef28e as TableHeader, $76d00c5a4edb230a$export$816b5d811295e6bc as Column, $76d00c5a4edb230a$export$ee689e97a7664bfd as ColumnResizer, $76d00c5a4edb230a$export$76ccd210b9029917 as TableBody, $76d00c5a4edb230a$export$1f116082bba1f9a8 as TableFooter, $76d00c5a4edb230a$export$1a75e308b53225a6 as RowFocusContext, $76d00c5a4edb230a$export$b59bdbef9ce70de2 as Row, $76d00c5a4edb230a$export$f6f0c3fe4ec306ea as Cell, $76d00c5a4edb230a$export$8f5bea0338ed243c as TableLoadMoreItem};\n//# sourceMappingURL=Table.mjs.map\n","import {dom as $7230ffa83bc0c2cf$export$df3a06d6289f983e, useContextProps as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, useRenderProps as $7230ffa83bc0c2cf$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport {mergeProps as $8MsPE$mergeProps} from \"react-aria/mergeProps\";\nimport $8MsPE$react, {createContext as $8MsPE$createContext, forwardRef as $8MsPE$forwardRef} from \"react\";\nimport {useFocusRing as $8MsPE$useFocusRing} from \"react-aria/useFocusRing\";\nimport {useHover as $8MsPE$useHover} from \"react-aria/useHover\";\n\n\n\n\n\n\nconst $bd263d78e9bf3c56$export$2dc6166a7e65358c = /*#__PURE__*/ (0, $8MsPE$createContext)({});\nlet $bd263d78e9bf3c56$var$filterHoverProps = (props)=>{\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n let { onHoverStart: onHoverStart, onHoverChange: onHoverChange, onHoverEnd: onHoverEnd, ...otherProps } = props;\n return otherProps;\n};\nconst $bd263d78e9bf3c56$export$f5c9f3c2c4054eec = /*#__PURE__*/ (0, $8MsPE$forwardRef)(function TextArea(props, ref) {\n [props, ref] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, $bd263d78e9bf3c56$export$2dc6166a7e65358c);\n let { hoverProps: hoverProps, isHovered: isHovered } = (0, $8MsPE$useHover)(props);\n let { isFocused: isFocused, isFocusVisible: isFocusVisible, focusProps: focusProps } = (0, $8MsPE$useFocusRing)({\n isTextInput: true,\n autoFocus: props.autoFocus\n });\n let isInvalid = !!props['aria-invalid'] && props['aria-invalid'] !== 'false';\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...props,\n values: {\n isHovered: isHovered,\n isFocused: isFocused,\n isFocusVisible: isFocusVisible,\n isDisabled: props.disabled || false,\n isInvalid: isInvalid\n },\n defaultClassName: 'react-aria-TextArea'\n });\n return /*#__PURE__*/ (0, $8MsPE$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).textarea, {\n ...(0, $8MsPE$mergeProps)($bd263d78e9bf3c56$var$filterHoverProps(props), focusProps, hoverProps),\n ...renderProps,\n ref: ref,\n \"data-focused\": isFocused || undefined,\n \"data-disabled\": props.disabled || undefined,\n \"data-hovered\": isHovered || undefined,\n \"data-focus-visible\": isFocusVisible || undefined,\n \"data-invalid\": isInvalid || undefined\n });\n});\n\n\nexport {$bd263d78e9bf3c56$export$2dc6166a7e65358c as TextAreaContext, $bd263d78e9bf3c56$export$f5c9f3c2c4054eec as TextArea};\n//# sourceMappingURL=TextArea.mjs.map\n","import {dom as $7230ffa83bc0c2cf$export$df3a06d6289f983e, Provider as $7230ffa83bc0c2cf$export$2881499e37b75b9a, removeDataAttributes as $7230ffa83bc0c2cf$export$ef03459518577ad4, useContextProps as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, useRenderProps as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, useSlot as $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8, useSlottedContext as $7230ffa83bc0c2cf$export$fabf2dc03a41866e} from \"./utils.mjs\";\nimport {FieldErrorContext as $1f3c3b1a70cec653$export$ff05c3ac10437e03} from \"./FieldError.mjs\";\nimport {FieldInputContext as $4b38b5b75ecc6208$export$698f465ec27e93df} from \"./Autocomplete.mjs\";\nimport {FormContext as $cdaed739b1139372$export$c24727297075ec6a} from \"./Form.mjs\";\nimport {GroupContext as $3a442827418ebe87$export$f9c6924e160136d1} from \"./Group.mjs\";\nimport {InputContext as $41fb335299a4a39e$export$37fb8590cf2c088c} from \"./Input.mjs\";\nimport {LabelContext as $43a3b93638fe5db9$export$75b6ee27786ba447} from \"./Label.mjs\";\nimport {TextAreaContext as $bd263d78e9bf3c56$export$2dc6166a7e65358c} from \"./TextArea.mjs\";\nimport {TextContext as $efe09c6d1c304b50$export$9afb8bc826b033ea} from \"./Text.mjs\";\nimport {useTextField as $hlfBT$useTextField} from \"react-aria/useTextField\";\nimport {createHideableComponent as $hlfBT$createHideableComponent} from \"react-aria/private/collections/Hidden\";\nimport {filterDOMProps as $hlfBT$filterDOMProps} from \"react-aria/filterDOMProps\";\nimport $hlfBT$react, {createContext as $hlfBT$createContext, useRef as $hlfBT$useRef, useState as $hlfBT$useState, useCallback as $hlfBT$useCallback} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\n\n\n\nconst $b8dcdc58eeae0d40$export$2129e27b3ef0d483 = /*#__PURE__*/ (0, $hlfBT$createContext)(null);\nconst $b8dcdc58eeae0d40$export$2c73285ae9390cec = /*#__PURE__*/ (0, $hlfBT$createHideableComponent)(function TextField(props, ref) {\n [props, ref] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, $b8dcdc58eeae0d40$export$2129e27b3ef0d483);\n let { validationBehavior: formValidationBehavior } = (0, $7230ffa83bc0c2cf$export$fabf2dc03a41866e)((0, $cdaed739b1139372$export$c24727297075ec6a)) || {};\n let validationBehavior = props.validationBehavior ?? formValidationBehavior ?? 'native';\n let inputRef = (0, $hlfBT$useRef)(null);\n [props, inputRef] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, inputRef, (0, $4b38b5b75ecc6208$export$698f465ec27e93df));\n let [labelRef, label] = (0, $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8)(!props['aria-label'] && !props['aria-labelledby']);\n let [inputElementType, setInputElementType] = (0, $hlfBT$useState)('input');\n let { labelProps: labelProps, inputProps: inputProps, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps, ...validation } = (0, $hlfBT$useTextField)({\n ...(0, $7230ffa83bc0c2cf$export$ef03459518577ad4)(props),\n inputElementType: inputElementType,\n label: label,\n validationBehavior: validationBehavior\n }, inputRef);\n // Intercept setting the input ref so we can determine what kind of element we have.\n // useTextField uses this to determine what props to include.\n let inputOrTextAreaRef = (0, $hlfBT$useCallback)((el)=>{\n inputRef.current = el;\n if (el) setInputElementType(el instanceof HTMLTextAreaElement ? 'textarea' : 'input');\n }, [\n inputRef\n ]);\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...props,\n values: {\n isDisabled: props.isDisabled || false,\n isInvalid: validation.isInvalid,\n isReadOnly: props.isReadOnly || false,\n isRequired: props.isRequired || false\n },\n defaultClassName: 'react-aria-TextField'\n });\n let DOMProps = (0, $hlfBT$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.id;\n return /*#__PURE__*/ (0, $hlfBT$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).div, {\n ...DOMProps,\n ...renderProps,\n ref: ref,\n slot: props.slot || undefined,\n \"data-disabled\": props.isDisabled || undefined,\n \"data-invalid\": validation.isInvalid || undefined,\n \"data-readonly\": props.isReadOnly || undefined,\n \"data-required\": props.isRequired || undefined\n }, /*#__PURE__*/ (0, $hlfBT$react).createElement((0, $7230ffa83bc0c2cf$export$2881499e37b75b9a), {\n values: [\n [\n (0, $43a3b93638fe5db9$export$75b6ee27786ba447),\n {\n ...labelProps,\n ref: labelRef\n }\n ],\n [\n (0, $41fb335299a4a39e$export$37fb8590cf2c088c),\n {\n ...inputProps,\n ref: inputOrTextAreaRef\n }\n ],\n [\n (0, $bd263d78e9bf3c56$export$2dc6166a7e65358c),\n {\n ...inputProps,\n ref: inputOrTextAreaRef\n }\n ],\n [\n (0, $3a442827418ebe87$export$f9c6924e160136d1),\n {\n role: 'presentation',\n isInvalid: validation.isInvalid,\n isDisabled: props.isDisabled || false\n }\n ],\n [\n (0, $efe09c6d1c304b50$export$9afb8bc826b033ea),\n {\n slots: {\n description: descriptionProps,\n errorMessage: errorMessageProps\n }\n }\n ],\n [\n (0, $1f3c3b1a70cec653$export$ff05c3ac10437e03),\n validation\n ]\n ]\n }, renderProps.children));\n});\n\n\nexport {$b8dcdc58eeae0d40$export$2129e27b3ef0d483 as TextFieldContext, $b8dcdc58eeae0d40$export$2c73285ae9390cec as TextField};\n//# sourceMappingURL=TextField.mjs.map\n","/**\n * Concatenates two arrays faster than the array spread operator.\n */\nconst concatArrays = (array1, array2) => {\n // Pre-allocate for better V8 optimization\n const combinedArray = new Array(array1.length + array2.length);\n for (let i = 0; i < array1.length; i++) {\n combinedArray[i] = array1[i];\n }\n for (let i = 0; i < array2.length; i++) {\n combinedArray[array1.length + i] = array2[i];\n }\n return combinedArray;\n};\n\n// Factory function ensures consistent object shapes\nconst createClassValidatorObject = (classGroupId, validator) => ({\n classGroupId,\n validator\n});\n// Factory ensures consistent ClassPartObject shape\nconst createClassPartObject = (nextPart = new Map(), validators = null, classGroupId) => ({\n nextPart,\n validators,\n classGroupId\n});\nconst CLASS_PART_SEPARATOR = '-';\nconst EMPTY_CONFLICTS = [];\n// I use two dots here because one dot is used as prefix for class groups in plugins\nconst ARBITRARY_PROPERTY_PREFIX = 'arbitrary..';\nconst createClassGroupUtils = config => {\n const classMap = createClassMap(config);\n const {\n conflictingClassGroups,\n conflictingClassGroupModifiers\n } = config;\n const getClassGroupId = className => {\n if (className.startsWith('[') && className.endsWith(']')) {\n return getGroupIdForArbitraryProperty(className);\n }\n const classParts = className.split(CLASS_PART_SEPARATOR);\n // Classes like `-inset-1` produce an empty string as first classPart. We assume that classes for negative values are used correctly and skip it.\n const startIndex = classParts[0] === '' && classParts.length > 1 ? 1 : 0;\n return getGroupRecursive(classParts, startIndex, classMap);\n };\n const getConflictingClassGroupIds = (classGroupId, hasPostfixModifier) => {\n if (hasPostfixModifier) {\n const modifierConflicts = conflictingClassGroupModifiers[classGroupId];\n const baseConflicts = conflictingClassGroups[classGroupId];\n if (modifierConflicts) {\n if (baseConflicts) {\n // Merge base conflicts with modifier conflicts\n return concatArrays(baseConflicts, modifierConflicts);\n }\n // Only modifier conflicts\n return modifierConflicts;\n }\n // Fall back to without postfix if no modifier conflicts\n return baseConflicts || EMPTY_CONFLICTS;\n }\n return conflictingClassGroups[classGroupId] || EMPTY_CONFLICTS;\n };\n return {\n getClassGroupId,\n getConflictingClassGroupIds\n };\n};\nconst getGroupRecursive = (classParts, startIndex, classPartObject) => {\n const classPathsLength = classParts.length - startIndex;\n if (classPathsLength === 0) {\n return classPartObject.classGroupId;\n }\n const currentClassPart = classParts[startIndex];\n const nextClassPartObject = classPartObject.nextPart.get(currentClassPart);\n if (nextClassPartObject) {\n const result = getGroupRecursive(classParts, startIndex + 1, nextClassPartObject);\n if (result) return result;\n }\n const validators = classPartObject.validators;\n if (validators === null) {\n return undefined;\n }\n // Build classRest string efficiently by joining from startIndex onwards\n const classRest = startIndex === 0 ? classParts.join(CLASS_PART_SEPARATOR) : classParts.slice(startIndex).join(CLASS_PART_SEPARATOR);\n const validatorsLength = validators.length;\n for (let i = 0; i < validatorsLength; i++) {\n const validatorObj = validators[i];\n if (validatorObj.validator(classRest)) {\n return validatorObj.classGroupId;\n }\n }\n return undefined;\n};\n/**\n * Get the class group ID for an arbitrary property.\n *\n * @param className - The class name to get the group ID for. Is expected to be string starting with `[` and ending with `]`.\n */\nconst getGroupIdForArbitraryProperty = className => className.slice(1, -1).indexOf(':') === -1 ? undefined : (() => {\n const content = className.slice(1, -1);\n const colonIndex = content.indexOf(':');\n const property = content.slice(0, colonIndex);\n return property ? ARBITRARY_PROPERTY_PREFIX + property : undefined;\n})();\n/**\n * Exported for testing only\n */\nconst createClassMap = config => {\n const {\n theme,\n classGroups\n } = config;\n return processClassGroups(classGroups, theme);\n};\n// Split into separate functions to maintain monomorphic call sites\nconst processClassGroups = (classGroups, theme) => {\n const classMap = createClassPartObject();\n for (const classGroupId in classGroups) {\n const group = classGroups[classGroupId];\n processClassesRecursively(group, classMap, classGroupId, theme);\n }\n return classMap;\n};\nconst processClassesRecursively = (classGroup, classPartObject, classGroupId, theme) => {\n const len = classGroup.length;\n for (let i = 0; i < len; i++) {\n const classDefinition = classGroup[i];\n processClassDefinition(classDefinition, classPartObject, classGroupId, theme);\n }\n};\n// Split into separate functions for each type to maintain monomorphic call sites\nconst processClassDefinition = (classDefinition, classPartObject, classGroupId, theme) => {\n if (typeof classDefinition === 'string') {\n processStringDefinition(classDefinition, classPartObject, classGroupId);\n return;\n }\n if (typeof classDefinition === 'function') {\n processFunctionDefinition(classDefinition, classPartObject, classGroupId, theme);\n return;\n }\n processObjectDefinition(classDefinition, classPartObject, classGroupId, theme);\n};\nconst processStringDefinition = (classDefinition, classPartObject, classGroupId) => {\n const classPartObjectToEdit = classDefinition === '' ? classPartObject : getPart(classPartObject, classDefinition);\n classPartObjectToEdit.classGroupId = classGroupId;\n};\nconst processFunctionDefinition = (classDefinition, classPartObject, classGroupId, theme) => {\n if (isThemeGetter(classDefinition)) {\n processClassesRecursively(classDefinition(theme), classPartObject, classGroupId, theme);\n return;\n }\n if (classPartObject.validators === null) {\n classPartObject.validators = [];\n }\n classPartObject.validators.push(createClassValidatorObject(classGroupId, classDefinition));\n};\nconst processObjectDefinition = (classDefinition, classPartObject, classGroupId, theme) => {\n const entries = Object.entries(classDefinition);\n const len = entries.length;\n for (let i = 0; i < len; i++) {\n const [key, value] = entries[i];\n processClassesRecursively(value, getPart(classPartObject, key), classGroupId, theme);\n }\n};\nconst getPart = (classPartObject, path) => {\n let current = classPartObject;\n const parts = path.split(CLASS_PART_SEPARATOR);\n const len = parts.length;\n for (let i = 0; i < len; i++) {\n const part = parts[i];\n let next = current.nextPart.get(part);\n if (!next) {\n next = createClassPartObject();\n current.nextPart.set(part, next);\n }\n current = next;\n }\n return current;\n};\n// Type guard maintains monomorphic check\nconst isThemeGetter = func => 'isThemeGetter' in func && func.isThemeGetter === true;\n\n// LRU cache implementation using plain objects for simplicity\nconst createLruCache = maxCacheSize => {\n if (maxCacheSize < 1) {\n return {\n get: () => undefined,\n set: () => {}\n };\n }\n let cacheSize = 0;\n let cache = Object.create(null);\n let previousCache = Object.create(null);\n const update = (key, value) => {\n cache[key] = value;\n cacheSize++;\n if (cacheSize > maxCacheSize) {\n cacheSize = 0;\n previousCache = cache;\n cache = Object.create(null);\n }\n };\n return {\n get(key) {\n let value = cache[key];\n if (value !== undefined) {\n return value;\n }\n if ((value = previousCache[key]) !== undefined) {\n update(key, value);\n return value;\n }\n },\n set(key, value) {\n if (key in cache) {\n cache[key] = value;\n } else {\n update(key, value);\n }\n }\n };\n};\nconst IMPORTANT_MODIFIER = '!';\nconst MODIFIER_SEPARATOR = ':';\nconst EMPTY_MODIFIERS = [];\n// Pre-allocated result object shape for consistency\nconst createResultObject = (modifiers, hasImportantModifier, baseClassName, maybePostfixModifierPosition, isExternal) => ({\n modifiers,\n hasImportantModifier,\n baseClassName,\n maybePostfixModifierPosition,\n isExternal\n});\nconst createParseClassName = config => {\n const {\n prefix,\n experimentalParseClassName\n } = config;\n /**\n * Parse class name into parts.\n *\n * Inspired by `splitAtTopLevelOnly` used in Tailwind CSS\n * @see https://github.com/tailwindlabs/tailwindcss/blob/v3.2.2/src/util/splitAtTopLevelOnly.js\n */\n let parseClassName = className => {\n // Use simple array with push for better performance\n const modifiers = [];\n let bracketDepth = 0;\n let parenDepth = 0;\n let modifierStart = 0;\n let postfixModifierPosition;\n const len = className.length;\n for (let index = 0; index < len; index++) {\n const currentCharacter = className[index];\n if (bracketDepth === 0 && parenDepth === 0) {\n if (currentCharacter === MODIFIER_SEPARATOR) {\n modifiers.push(className.slice(modifierStart, index));\n modifierStart = index + 1;\n continue;\n }\n if (currentCharacter === '/') {\n postfixModifierPosition = index;\n continue;\n }\n }\n if (currentCharacter === '[') bracketDepth++;else if (currentCharacter === ']') bracketDepth--;else if (currentCharacter === '(') parenDepth++;else if (currentCharacter === ')') parenDepth--;\n }\n const baseClassNameWithImportantModifier = modifiers.length === 0 ? className : className.slice(modifierStart);\n // Inline important modifier check\n let baseClassName = baseClassNameWithImportantModifier;\n let hasImportantModifier = false;\n if (baseClassNameWithImportantModifier.endsWith(IMPORTANT_MODIFIER)) {\n baseClassName = baseClassNameWithImportantModifier.slice(0, -1);\n hasImportantModifier = true;\n } else if (\n /**\n * In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.\n * @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864\n */\n baseClassNameWithImportantModifier.startsWith(IMPORTANT_MODIFIER)) {\n baseClassName = baseClassNameWithImportantModifier.slice(1);\n hasImportantModifier = true;\n }\n const maybePostfixModifierPosition = postfixModifierPosition && postfixModifierPosition > modifierStart ? postfixModifierPosition - modifierStart : undefined;\n return createResultObject(modifiers, hasImportantModifier, baseClassName, maybePostfixModifierPosition);\n };\n if (prefix) {\n const fullPrefix = prefix + MODIFIER_SEPARATOR;\n const parseClassNameOriginal = parseClassName;\n parseClassName = className => className.startsWith(fullPrefix) ? parseClassNameOriginal(className.slice(fullPrefix.length)) : createResultObject(EMPTY_MODIFIERS, false, className, undefined, true);\n }\n if (experimentalParseClassName) {\n const parseClassNameOriginal = parseClassName;\n parseClassName = className => experimentalParseClassName({\n className,\n parseClassName: parseClassNameOriginal\n });\n }\n return parseClassName;\n};\n\n/**\n * Sorts modifiers according to following schema:\n * - Predefined modifiers are sorted alphabetically\n * - When an arbitrary variant appears, it must be preserved which modifiers are before and after it\n */\nconst createSortModifiers = config => {\n // Pre-compute weights for all known modifiers for O(1) comparison\n const modifierWeights = new Map();\n // Assign weights to sensitive modifiers (highest priority, but preserve order)\n config.orderSensitiveModifiers.forEach((mod, index) => {\n modifierWeights.set(mod, 1000000 + index); // High weights for sensitive mods\n });\n return modifiers => {\n const result = [];\n let currentSegment = [];\n // Process modifiers in one pass\n for (let i = 0; i < modifiers.length; i++) {\n const modifier = modifiers[i];\n // Check if modifier is sensitive (starts with '[' or in orderSensitiveModifiers)\n const isArbitrary = modifier[0] === '[';\n const isOrderSensitive = modifierWeights.has(modifier);\n if (isArbitrary || isOrderSensitive) {\n // Sort and flush current segment alphabetically\n if (currentSegment.length > 0) {\n currentSegment.sort();\n result.push(...currentSegment);\n currentSegment = [];\n }\n result.push(modifier);\n } else {\n // Regular modifier - add to current segment for batch sorting\n currentSegment.push(modifier);\n }\n }\n // Sort and add any remaining segment items\n if (currentSegment.length > 0) {\n currentSegment.sort();\n result.push(...currentSegment);\n }\n return result;\n };\n};\nconst createConfigUtils = config => ({\n cache: createLruCache(config.cacheSize),\n parseClassName: createParseClassName(config),\n sortModifiers: createSortModifiers(config),\n postfixLookupClassGroupIds: createPostfixLookupClassGroupIds(config),\n ...createClassGroupUtils(config)\n});\nconst createPostfixLookupClassGroupIds = config => {\n const lookup = Object.create(null);\n const classGroupIds = config.postfixLookupClassGroups;\n if (classGroupIds) {\n for (let i = 0; i < classGroupIds.length; i++) {\n lookup[classGroupIds[i]] = true;\n }\n }\n return lookup;\n};\nconst SPLIT_CLASSES_REGEX = /\\s+/;\nconst mergeClassList = (classList, configUtils) => {\n const {\n parseClassName,\n getClassGroupId,\n getConflictingClassGroupIds,\n sortModifiers,\n postfixLookupClassGroupIds\n } = configUtils;\n /**\n * Set of classGroupIds in following format:\n * `{importantModifier}{variantModifiers}{classGroupId}`\n * @example 'float'\n * @example 'hover:focus:bg-color'\n * @example 'md:!pr'\n */\n const classGroupsInConflict = [];\n const classNames = classList.trim().split(SPLIT_CLASSES_REGEX);\n let result = '';\n for (let index = classNames.length - 1; index >= 0; index -= 1) {\n const originalClassName = classNames[index];\n const {\n isExternal,\n modifiers,\n hasImportantModifier,\n baseClassName,\n maybePostfixModifierPosition\n } = parseClassName(originalClassName);\n if (isExternal) {\n result = originalClassName + (result.length > 0 ? ' ' + result : result);\n continue;\n }\n let hasPostfixModifier = !!maybePostfixModifierPosition;\n let classGroupId;\n if (hasPostfixModifier) {\n const baseClassNameWithoutPostfix = baseClassName.substring(0, maybePostfixModifierPosition);\n classGroupId = getClassGroupId(baseClassNameWithoutPostfix);\n const classGroupIdWithPostfix = classGroupId && postfixLookupClassGroupIds[classGroupId] ? getClassGroupId(baseClassName) : undefined;\n if (classGroupIdWithPostfix && classGroupIdWithPostfix !== classGroupId) {\n classGroupId = classGroupIdWithPostfix;\n hasPostfixModifier = false;\n }\n } else {\n classGroupId = getClassGroupId(baseClassName);\n }\n if (!classGroupId) {\n if (!hasPostfixModifier) {\n // Not a Tailwind class\n result = originalClassName + (result.length > 0 ? ' ' + result : result);\n continue;\n }\n classGroupId = getClassGroupId(baseClassName);\n if (!classGroupId) {\n // Not a Tailwind class\n result = originalClassName + (result.length > 0 ? ' ' + result : result);\n continue;\n }\n hasPostfixModifier = false;\n }\n // Fast path: skip sorting for empty or single modifier\n const variantModifier = modifiers.length === 0 ? '' : modifiers.length === 1 ? modifiers[0] : sortModifiers(modifiers).join(':');\n const modifierId = hasImportantModifier ? variantModifier + IMPORTANT_MODIFIER : variantModifier;\n const classId = modifierId + classGroupId;\n if (classGroupsInConflict.indexOf(classId) > -1) {\n // Tailwind class omitted due to conflict\n continue;\n }\n classGroupsInConflict.push(classId);\n const conflictGroups = getConflictingClassGroupIds(classGroupId, hasPostfixModifier);\n for (let i = 0; i < conflictGroups.length; ++i) {\n const group = conflictGroups[i];\n classGroupsInConflict.push(modifierId + group);\n }\n // Tailwind class not in conflict\n result = originalClassName + (result.length > 0 ? ' ' + result : result);\n }\n return result;\n};\n\n/**\n * The code in this file is copied from https://github.com/lukeed/clsx and modified to suit the needs of tailwind-merge better.\n *\n * Specifically:\n * - Runtime code from https://github.com/lukeed/clsx/blob/v1.2.1/src/index.js\n * - TypeScript types from https://github.com/lukeed/clsx/blob/v1.2.1/clsx.d.ts\n *\n * Original code has MIT license: Copyright (c) Luke Edwards <luke.edwards05@gmail.com> (lukeed.com)\n */\nconst twJoin = (...classLists) => {\n let index = 0;\n let argument;\n let resolvedValue;\n let string = '';\n while (index < classLists.length) {\n if (argument = classLists[index++]) {\n if (resolvedValue = toValue(argument)) {\n string && (string += ' ');\n string += resolvedValue;\n }\n }\n }\n return string;\n};\nconst toValue = mix => {\n // Fast path for strings\n if (typeof mix === 'string') {\n return mix;\n }\n let resolvedValue;\n let string = '';\n for (let k = 0; k < mix.length; k++) {\n if (mix[k]) {\n if (resolvedValue = toValue(mix[k])) {\n string && (string += ' ');\n string += resolvedValue;\n }\n }\n }\n return string;\n};\nconst createTailwindMerge = (createConfigFirst, ...createConfigRest) => {\n let configUtils;\n let cacheGet;\n let cacheSet;\n let functionToCall;\n const initTailwindMerge = classList => {\n const config = createConfigRest.reduce((previousConfig, createConfigCurrent) => createConfigCurrent(previousConfig), createConfigFirst());\n configUtils = createConfigUtils(config);\n cacheGet = configUtils.cache.get;\n cacheSet = configUtils.cache.set;\n functionToCall = tailwindMerge;\n return tailwindMerge(classList);\n };\n const tailwindMerge = classList => {\n const cachedResult = cacheGet(classList);\n if (cachedResult) {\n return cachedResult;\n }\n const result = mergeClassList(classList, configUtils);\n cacheSet(classList, result);\n return result;\n };\n functionToCall = initTailwindMerge;\n return (...args) => functionToCall(twJoin(...args));\n};\nconst fallbackThemeArr = [];\nconst fromTheme = key => {\n const themeGetter = theme => theme[key] || fallbackThemeArr;\n themeGetter.isThemeGetter = true;\n return themeGetter;\n};\nconst arbitraryValueRegex = /^\\[(?:(\\w[\\w-]*):)?(.+)\\]$/i;\nconst arbitraryVariableRegex = /^\\((?:(\\w[\\w-]*):)?(.+)\\)$/i;\nconst fractionRegex = /^\\d+(?:\\.\\d+)?\\/\\d+(?:\\.\\d+)?$/;\nconst tshirtUnitRegex = /^(\\d+(\\.\\d+)?)?(xs|sm|md|lg|xl)$/;\nconst lengthUnitRegex = /\\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\\b(calc|min|max|clamp)\\(.+\\)|^0$/;\nconst colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\\(.+\\)$/;\n// Shadow always begins with x and y offset separated by underscore optionally prepended by inset\nconst shadowRegex = /^(inset_)?-?((\\d+)?\\.?(\\d+)[a-z]+|0)_-?((\\d+)?\\.?(\\d+)[a-z]+|0)/;\nconst imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\\(.+\\)$/;\nconst isFraction = value => fractionRegex.test(value);\nconst isNumber = value => !!value && !Number.isNaN(Number(value));\nconst isInteger = value => !!value && Number.isInteger(Number(value));\nconst isPercent = value => value.endsWith('%') && isNumber(value.slice(0, -1));\nconst isTshirtSize = value => tshirtUnitRegex.test(value);\nconst isAny = () => true;\nconst isLengthOnly = value =>\n// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.\n// For example, `hsl(0 0% 0%)` would be classified as a length without this check.\n// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.\nlengthUnitRegex.test(value) && !colorFunctionRegex.test(value);\nconst isNever = () => false;\nconst isShadow = value => shadowRegex.test(value);\nconst isImage = value => imageRegex.test(value);\nconst isAnyNonArbitrary = value => !isArbitraryValue(value) && !isArbitraryVariable(value);\nconst isNamedContainerQuery = value => value.startsWith('@container') && (value[10] === '/' && value[11] !== undefined || value[11] === 's' && value[16] !== undefined && value.startsWith('-size/', 10) || value[11] === 'n' && value[18] !== undefined && value.startsWith('-normal/', 10));\nconst isArbitrarySize = value => getIsArbitraryValue(value, isLabelSize, isNever);\nconst isArbitraryValue = value => arbitraryValueRegex.test(value);\nconst isArbitraryLength = value => getIsArbitraryValue(value, isLabelLength, isLengthOnly);\nconst isArbitraryNumber = value => getIsArbitraryValue(value, isLabelNumber, isNumber);\nconst isArbitraryWeight = value => getIsArbitraryValue(value, isLabelWeight, isAny);\nconst isArbitraryFamilyName = value => getIsArbitraryValue(value, isLabelFamilyName, isNever);\nconst isArbitraryPosition = value => getIsArbitraryValue(value, isLabelPosition, isNever);\nconst isArbitraryImage = value => getIsArbitraryValue(value, isLabelImage, isImage);\nconst isArbitraryShadow = value => getIsArbitraryValue(value, isLabelShadow, isShadow);\nconst isArbitraryVariable = value => arbitraryVariableRegex.test(value);\nconst isArbitraryVariableLength = value => getIsArbitraryVariable(value, isLabelLength);\nconst isArbitraryVariableFamilyName = value => getIsArbitraryVariable(value, isLabelFamilyName);\nconst isArbitraryVariablePosition = value => getIsArbitraryVariable(value, isLabelPosition);\nconst isArbitraryVariableSize = value => getIsArbitraryVariable(value, isLabelSize);\nconst isArbitraryVariableImage = value => getIsArbitraryVariable(value, isLabelImage);\nconst isArbitraryVariableShadow = value => getIsArbitraryVariable(value, isLabelShadow, true);\nconst isArbitraryVariableWeight = value => getIsArbitraryVariable(value, isLabelWeight, true);\n// Helpers\nconst getIsArbitraryValue = (value, testLabel, testValue) => {\n const result = arbitraryValueRegex.exec(value);\n if (result) {\n if (result[1]) {\n return testLabel(result[1]);\n }\n return testValue(result[2]);\n }\n return false;\n};\nconst getIsArbitraryVariable = (value, testLabel, shouldMatchNoLabel = false) => {\n const result = arbitraryVariableRegex.exec(value);\n if (result) {\n if (result[1]) {\n return testLabel(result[1]);\n }\n return shouldMatchNoLabel;\n }\n return false;\n};\n// Labels\nconst isLabelPosition = label => label === 'position' || label === 'percentage';\nconst isLabelImage = label => label === 'image' || label === 'url';\nconst isLabelSize = label => label === 'length' || label === 'size' || label === 'bg-size';\nconst isLabelLength = label => label === 'length';\nconst isLabelNumber = label => label === 'number';\nconst isLabelFamilyName = label => label === 'family-name';\nconst isLabelWeight = label => label === 'number' || label === 'weight';\nconst isLabelShadow = label => label === 'shadow';\nconst validators = /*#__PURE__*/Object.defineProperty({\n __proto__: null,\n isAny,\n isAnyNonArbitrary,\n isArbitraryFamilyName,\n isArbitraryImage,\n isArbitraryLength,\n isArbitraryNumber,\n isArbitraryPosition,\n isArbitraryShadow,\n isArbitrarySize,\n isArbitraryValue,\n isArbitraryVariable,\n isArbitraryVariableFamilyName,\n isArbitraryVariableImage,\n isArbitraryVariableLength,\n isArbitraryVariablePosition,\n isArbitraryVariableShadow,\n isArbitraryVariableSize,\n isArbitraryVariableWeight,\n isArbitraryWeight,\n isFraction,\n isInteger,\n isNamedContainerQuery,\n isNumber,\n isPercent,\n isTshirtSize\n}, Symbol.toStringTag, {\n value: 'Module'\n});\nconst getDefaultConfig = () => {\n /**\n * Theme getters for theme variable namespaces\n * @see https://tailwindcss.com/docs/theme#theme-variable-namespaces\n */\n /***/\n const themeColor = fromTheme('color');\n const themeFont = fromTheme('font');\n const themeText = fromTheme('text');\n const themeFontWeight = fromTheme('font-weight');\n const themeTracking = fromTheme('tracking');\n const themeLeading = fromTheme('leading');\n const themeBreakpoint = fromTheme('breakpoint');\n const themeContainer = fromTheme('container');\n const themeSpacing = fromTheme('spacing');\n const themeRadius = fromTheme('radius');\n const themeShadow = fromTheme('shadow');\n const themeInsetShadow = fromTheme('inset-shadow');\n const themeTextShadow = fromTheme('text-shadow');\n const themeDropShadow = fromTheme('drop-shadow');\n const themeBlur = fromTheme('blur');\n const themePerspective = fromTheme('perspective');\n const themeAspect = fromTheme('aspect');\n const themeEase = fromTheme('ease');\n const themeAnimate = fromTheme('animate');\n /**\n * Helpers to avoid repeating the same scales\n *\n * We use functions that create a new array every time they're called instead of static arrays.\n * This ensures that users who modify any scale by mutating the array (e.g. with `array.push(element)`) don't accidentally mutate arrays in other parts of the config.\n */\n /***/\n const scaleBreak = () => ['auto', 'avoid', 'all', 'avoid-page', 'page', 'left', 'right', 'column'];\n const scalePosition = () => ['center', 'top', 'bottom', 'left', 'right', 'top-left',\n // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378\n 'left-top', 'top-right',\n // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378\n 'right-top', 'bottom-right',\n // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378\n 'right-bottom', 'bottom-left',\n // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378\n 'left-bottom'];\n const scalePositionWithArbitrary = () => [...scalePosition(), isArbitraryVariable, isArbitraryValue];\n const scaleOverflow = () => ['auto', 'hidden', 'clip', 'visible', 'scroll'];\n const scaleOverscroll = () => ['auto', 'contain', 'none'];\n const scaleUnambiguousSpacing = () => [isArbitraryVariable, isArbitraryValue, themeSpacing];\n const scaleInset = () => [isFraction, 'full', 'auto', ...scaleUnambiguousSpacing()];\n const scaleGridTemplateColsRows = () => [isInteger, 'none', 'subgrid', isArbitraryVariable, isArbitraryValue];\n const scaleGridColRowStartAndEnd = () => ['auto', {\n span: ['full', isInteger, isArbitraryVariable, isArbitraryValue]\n }, isInteger, isArbitraryVariable, isArbitraryValue];\n const scaleGridColRowStartOrEnd = () => [isInteger, 'auto', isArbitraryVariable, isArbitraryValue];\n const scaleGridAutoColsRows = () => ['auto', 'min', 'max', 'fr', isArbitraryVariable, isArbitraryValue];\n const scaleAlignPrimaryAxis = () => ['start', 'end', 'center', 'between', 'around', 'evenly', 'stretch', 'baseline', 'center-safe', 'end-safe'];\n const scaleAlignSecondaryAxis = () => ['start', 'end', 'center', 'stretch', 'center-safe', 'end-safe'];\n const scaleMargin = () => ['auto', ...scaleUnambiguousSpacing()];\n const scaleSizing = () => [isFraction, 'auto', 'full', 'dvw', 'dvh', 'lvw', 'lvh', 'svw', 'svh', 'min', 'max', 'fit', ...scaleUnambiguousSpacing()];\n const scaleSizingInline = () => [isFraction, 'screen', 'full', 'dvw', 'lvw', 'svw', 'min', 'max', 'fit', ...scaleUnambiguousSpacing()];\n const scaleSizingBlock = () => [isFraction, 'screen', 'full', 'lh', 'dvh', 'lvh', 'svh', 'min', 'max', 'fit', ...scaleUnambiguousSpacing()];\n const scaleColor = () => [themeColor, isArbitraryVariable, isArbitraryValue];\n const scaleBgPosition = () => [...scalePosition(), isArbitraryVariablePosition, isArbitraryPosition, {\n position: [isArbitraryVariable, isArbitraryValue]\n }];\n const scaleBgRepeat = () => ['no-repeat', {\n repeat: ['', 'x', 'y', 'space', 'round']\n }];\n const scaleBgSize = () => ['auto', 'cover', 'contain', isArbitraryVariableSize, isArbitrarySize, {\n size: [isArbitraryVariable, isArbitraryValue]\n }];\n const scaleGradientStopPosition = () => [isPercent, isArbitraryVariableLength, isArbitraryLength];\n const scaleRadius = () => [\n // Deprecated since Tailwind CSS v4.0.0\n '', 'none', 'full', themeRadius, isArbitraryVariable, isArbitraryValue];\n const scaleBorderWidth = () => ['', isNumber, isArbitraryVariableLength, isArbitraryLength];\n const scaleLineStyle = () => ['solid', 'dashed', 'dotted', 'double'];\n const scaleBlendMode = () => ['normal', 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'color-dodge', 'color-burn', 'hard-light', 'soft-light', 'difference', 'exclusion', 'hue', 'saturation', 'color', 'luminosity'];\n const scaleMaskImagePosition = () => [isNumber, isPercent, isArbitraryVariablePosition, isArbitraryPosition];\n const scaleBlur = () => [\n // Deprecated since Tailwind CSS v4.0.0\n '', 'none', themeBlur, isArbitraryVariable, isArbitraryValue];\n const scaleRotate = () => ['none', isNumber, isArbitraryVariable, isArbitraryValue];\n const scaleScale = () => ['none', isNumber, isArbitraryVariable, isArbitraryValue];\n const scaleSkew = () => [isNumber, isArbitraryVariable, isArbitraryValue];\n const scaleTranslate = () => [isFraction, 'full', ...scaleUnambiguousSpacing()];\n return {\n cacheSize: 500,\n theme: {\n animate: ['spin', 'ping', 'pulse', 'bounce'],\n aspect: ['video'],\n blur: [isTshirtSize],\n breakpoint: [isTshirtSize],\n color: [isAny],\n container: [isTshirtSize],\n 'drop-shadow': [isTshirtSize],\n ease: ['in', 'out', 'in-out'],\n font: [isAnyNonArbitrary],\n 'font-weight': ['thin', 'extralight', 'light', 'normal', 'medium', 'semibold', 'bold', 'extrabold', 'black'],\n 'inset-shadow': [isTshirtSize],\n leading: ['none', 'tight', 'snug', 'normal', 'relaxed', 'loose'],\n perspective: ['dramatic', 'near', 'normal', 'midrange', 'distant', 'none'],\n radius: [isTshirtSize],\n shadow: [isTshirtSize],\n spacing: ['px', isNumber],\n text: [isTshirtSize],\n 'text-shadow': [isTshirtSize],\n tracking: ['tighter', 'tight', 'normal', 'wide', 'wider', 'widest']\n },\n classGroups: {\n // --------------\n // --- Layout ---\n // --------------\n /**\n * Aspect Ratio\n * @see https://tailwindcss.com/docs/aspect-ratio\n */\n aspect: [{\n aspect: ['auto', 'square', isFraction, isArbitraryValue, isArbitraryVariable, themeAspect]\n }],\n /**\n * Container\n * @see https://tailwindcss.com/docs/container\n * @deprecated since Tailwind CSS v4.0.0\n */\n container: ['container'],\n /**\n * Container Type\n * @see https://tailwindcss.com/docs/responsive-design#container-queries\n */\n 'container-type': [{\n '@container': ['', 'normal', 'size', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Container Name\n * @see https://tailwindcss.com/docs/responsive-design#named-containers\n */\n 'container-named': [isNamedContainerQuery],\n /**\n * Columns\n * @see https://tailwindcss.com/docs/columns\n */\n columns: [{\n columns: [isNumber, isArbitraryValue, isArbitraryVariable, themeContainer]\n }],\n /**\n * Break After\n * @see https://tailwindcss.com/docs/break-after\n */\n 'break-after': [{\n 'break-after': scaleBreak()\n }],\n /**\n * Break Before\n * @see https://tailwindcss.com/docs/break-before\n */\n 'break-before': [{\n 'break-before': scaleBreak()\n }],\n /**\n * Break Inside\n * @see https://tailwindcss.com/docs/break-inside\n */\n 'break-inside': [{\n 'break-inside': ['auto', 'avoid', 'avoid-page', 'avoid-column']\n }],\n /**\n * Box Decoration Break\n * @see https://tailwindcss.com/docs/box-decoration-break\n */\n 'box-decoration': [{\n 'box-decoration': ['slice', 'clone']\n }],\n /**\n * Box Sizing\n * @see https://tailwindcss.com/docs/box-sizing\n */\n box: [{\n box: ['border', 'content']\n }],\n /**\n * Display\n * @see https://tailwindcss.com/docs/display\n */\n display: ['block', 'inline-block', 'inline', 'flex', 'inline-flex', 'table', 'inline-table', 'table-caption', 'table-cell', 'table-column', 'table-column-group', 'table-footer-group', 'table-header-group', 'table-row-group', 'table-row', 'flow-root', 'grid', 'inline-grid', 'contents', 'list-item', 'hidden'],\n /**\n * Screen Reader Only\n * @see https://tailwindcss.com/docs/display#screen-reader-only\n */\n sr: ['sr-only', 'not-sr-only'],\n /**\n * Floats\n * @see https://tailwindcss.com/docs/float\n */\n float: [{\n float: ['right', 'left', 'none', 'start', 'end']\n }],\n /**\n * Clear\n * @see https://tailwindcss.com/docs/clear\n */\n clear: [{\n clear: ['left', 'right', 'both', 'none', 'start', 'end']\n }],\n /**\n * Isolation\n * @see https://tailwindcss.com/docs/isolation\n */\n isolation: ['isolate', 'isolation-auto'],\n /**\n * Object Fit\n * @see https://tailwindcss.com/docs/object-fit\n */\n 'object-fit': [{\n object: ['contain', 'cover', 'fill', 'none', 'scale-down']\n }],\n /**\n * Object Position\n * @see https://tailwindcss.com/docs/object-position\n */\n 'object-position': [{\n object: scalePositionWithArbitrary()\n }],\n /**\n * Overflow\n * @see https://tailwindcss.com/docs/overflow\n */\n overflow: [{\n overflow: scaleOverflow()\n }],\n /**\n * Overflow X\n * @see https://tailwindcss.com/docs/overflow\n */\n 'overflow-x': [{\n 'overflow-x': scaleOverflow()\n }],\n /**\n * Overflow Y\n * @see https://tailwindcss.com/docs/overflow\n */\n 'overflow-y': [{\n 'overflow-y': scaleOverflow()\n }],\n /**\n * Overscroll Behavior\n * @see https://tailwindcss.com/docs/overscroll-behavior\n */\n overscroll: [{\n overscroll: scaleOverscroll()\n }],\n /**\n * Overscroll Behavior X\n * @see https://tailwindcss.com/docs/overscroll-behavior\n */\n 'overscroll-x': [{\n 'overscroll-x': scaleOverscroll()\n }],\n /**\n * Overscroll Behavior Y\n * @see https://tailwindcss.com/docs/overscroll-behavior\n */\n 'overscroll-y': [{\n 'overscroll-y': scaleOverscroll()\n }],\n /**\n * Position\n * @see https://tailwindcss.com/docs/position\n */\n position: ['static', 'fixed', 'absolute', 'relative', 'sticky'],\n /**\n * Inset\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n inset: [{\n inset: scaleInset()\n }],\n /**\n * Inset Inline\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n 'inset-x': [{\n 'inset-x': scaleInset()\n }],\n /**\n * Inset Block\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n 'inset-y': [{\n 'inset-y': scaleInset()\n }],\n /**\n * Inset Inline Start\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n * @todo class group will be renamed to `inset-s` in next major release\n */\n start: [{\n 'inset-s': scaleInset(),\n /**\n * @deprecated since Tailwind CSS v4.2.0 in favor of `inset-s-*` utilities.\n * @see https://github.com/tailwindlabs/tailwindcss/pull/19613\n */\n start: scaleInset()\n }],\n /**\n * Inset Inline End\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n * @todo class group will be renamed to `inset-e` in next major release\n */\n end: [{\n 'inset-e': scaleInset(),\n /**\n * @deprecated since Tailwind CSS v4.2.0 in favor of `inset-e-*` utilities.\n * @see https://github.com/tailwindlabs/tailwindcss/pull/19613\n */\n end: scaleInset()\n }],\n /**\n * Inset Block Start\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n 'inset-bs': [{\n 'inset-bs': scaleInset()\n }],\n /**\n * Inset Block End\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n 'inset-be': [{\n 'inset-be': scaleInset()\n }],\n /**\n * Top\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n top: [{\n top: scaleInset()\n }],\n /**\n * Right\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n right: [{\n right: scaleInset()\n }],\n /**\n * Bottom\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n bottom: [{\n bottom: scaleInset()\n }],\n /**\n * Left\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n left: [{\n left: scaleInset()\n }],\n /**\n * Visibility\n * @see https://tailwindcss.com/docs/visibility\n */\n visibility: ['visible', 'invisible', 'collapse'],\n /**\n * Z-Index\n * @see https://tailwindcss.com/docs/z-index\n */\n z: [{\n z: [isInteger, 'auto', isArbitraryVariable, isArbitraryValue]\n }],\n // ------------------------\n // --- Flexbox and Grid ---\n // ------------------------\n /**\n * Flex Basis\n * @see https://tailwindcss.com/docs/flex-basis\n */\n basis: [{\n basis: [isFraction, 'full', 'auto', themeContainer, ...scaleUnambiguousSpacing()]\n }],\n /**\n * Flex Direction\n * @see https://tailwindcss.com/docs/flex-direction\n */\n 'flex-direction': [{\n flex: ['row', 'row-reverse', 'col', 'col-reverse']\n }],\n /**\n * Flex Wrap\n * @see https://tailwindcss.com/docs/flex-wrap\n */\n 'flex-wrap': [{\n flex: ['nowrap', 'wrap', 'wrap-reverse']\n }],\n /**\n * Flex\n * @see https://tailwindcss.com/docs/flex\n */\n flex: [{\n flex: [isNumber, isFraction, 'auto', 'initial', 'none', isArbitraryValue]\n }],\n /**\n * Flex Grow\n * @see https://tailwindcss.com/docs/flex-grow\n */\n grow: [{\n grow: ['', isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Flex Shrink\n * @see https://tailwindcss.com/docs/flex-shrink\n */\n shrink: [{\n shrink: ['', isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Order\n * @see https://tailwindcss.com/docs/order\n */\n order: [{\n order: [isInteger, 'first', 'last', 'none', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Grid Template Columns\n * @see https://tailwindcss.com/docs/grid-template-columns\n */\n 'grid-cols': [{\n 'grid-cols': scaleGridTemplateColsRows()\n }],\n /**\n * Grid Column Start / End\n * @see https://tailwindcss.com/docs/grid-column\n */\n 'col-start-end': [{\n col: scaleGridColRowStartAndEnd()\n }],\n /**\n * Grid Column Start\n * @see https://tailwindcss.com/docs/grid-column\n */\n 'col-start': [{\n 'col-start': scaleGridColRowStartOrEnd()\n }],\n /**\n * Grid Column End\n * @see https://tailwindcss.com/docs/grid-column\n */\n 'col-end': [{\n 'col-end': scaleGridColRowStartOrEnd()\n }],\n /**\n * Grid Template Rows\n * @see https://tailwindcss.com/docs/grid-template-rows\n */\n 'grid-rows': [{\n 'grid-rows': scaleGridTemplateColsRows()\n }],\n /**\n * Grid Row Start / End\n * @see https://tailwindcss.com/docs/grid-row\n */\n 'row-start-end': [{\n row: scaleGridColRowStartAndEnd()\n }],\n /**\n * Grid Row Start\n * @see https://tailwindcss.com/docs/grid-row\n */\n 'row-start': [{\n 'row-start': scaleGridColRowStartOrEnd()\n }],\n /**\n * Grid Row End\n * @see https://tailwindcss.com/docs/grid-row\n */\n 'row-end': [{\n 'row-end': scaleGridColRowStartOrEnd()\n }],\n /**\n * Grid Auto Flow\n * @see https://tailwindcss.com/docs/grid-auto-flow\n */\n 'grid-flow': [{\n 'grid-flow': ['row', 'col', 'dense', 'row-dense', 'col-dense']\n }],\n /**\n * Grid Auto Columns\n * @see https://tailwindcss.com/docs/grid-auto-columns\n */\n 'auto-cols': [{\n 'auto-cols': scaleGridAutoColsRows()\n }],\n /**\n * Grid Auto Rows\n * @see https://tailwindcss.com/docs/grid-auto-rows\n */\n 'auto-rows': [{\n 'auto-rows': scaleGridAutoColsRows()\n }],\n /**\n * Gap\n * @see https://tailwindcss.com/docs/gap\n */\n gap: [{\n gap: scaleUnambiguousSpacing()\n }],\n /**\n * Gap X\n * @see https://tailwindcss.com/docs/gap\n */\n 'gap-x': [{\n 'gap-x': scaleUnambiguousSpacing()\n }],\n /**\n * Gap Y\n * @see https://tailwindcss.com/docs/gap\n */\n 'gap-y': [{\n 'gap-y': scaleUnambiguousSpacing()\n }],\n /**\n * Justify Content\n * @see https://tailwindcss.com/docs/justify-content\n */\n 'justify-content': [{\n justify: [...scaleAlignPrimaryAxis(), 'normal']\n }],\n /**\n * Justify Items\n * @see https://tailwindcss.com/docs/justify-items\n */\n 'justify-items': [{\n 'justify-items': [...scaleAlignSecondaryAxis(), 'normal']\n }],\n /**\n * Justify Self\n * @see https://tailwindcss.com/docs/justify-self\n */\n 'justify-self': [{\n 'justify-self': ['auto', ...scaleAlignSecondaryAxis()]\n }],\n /**\n * Align Content\n * @see https://tailwindcss.com/docs/align-content\n */\n 'align-content': [{\n content: ['normal', ...scaleAlignPrimaryAxis()]\n }],\n /**\n * Align Items\n * @see https://tailwindcss.com/docs/align-items\n */\n 'align-items': [{\n items: [...scaleAlignSecondaryAxis(), {\n baseline: ['', 'last']\n }]\n }],\n /**\n * Align Self\n * @see https://tailwindcss.com/docs/align-self\n */\n 'align-self': [{\n self: ['auto', ...scaleAlignSecondaryAxis(), {\n baseline: ['', 'last']\n }]\n }],\n /**\n * Place Content\n * @see https://tailwindcss.com/docs/place-content\n */\n 'place-content': [{\n 'place-content': scaleAlignPrimaryAxis()\n }],\n /**\n * Place Items\n * @see https://tailwindcss.com/docs/place-items\n */\n 'place-items': [{\n 'place-items': [...scaleAlignSecondaryAxis(), 'baseline']\n }],\n /**\n * Place Self\n * @see https://tailwindcss.com/docs/place-self\n */\n 'place-self': [{\n 'place-self': ['auto', ...scaleAlignSecondaryAxis()]\n }],\n // Spacing\n /**\n * Padding\n * @see https://tailwindcss.com/docs/padding\n */\n p: [{\n p: scaleUnambiguousSpacing()\n }],\n /**\n * Padding Inline\n * @see https://tailwindcss.com/docs/padding\n */\n px: [{\n px: scaleUnambiguousSpacing()\n }],\n /**\n * Padding Block\n * @see https://tailwindcss.com/docs/padding\n */\n py: [{\n py: scaleUnambiguousSpacing()\n }],\n /**\n * Padding Inline Start\n * @see https://tailwindcss.com/docs/padding\n */\n ps: [{\n ps: scaleUnambiguousSpacing()\n }],\n /**\n * Padding Inline End\n * @see https://tailwindcss.com/docs/padding\n */\n pe: [{\n pe: scaleUnambiguousSpacing()\n }],\n /**\n * Padding Block Start\n * @see https://tailwindcss.com/docs/padding\n */\n pbs: [{\n pbs: scaleUnambiguousSpacing()\n }],\n /**\n * Padding Block End\n * @see https://tailwindcss.com/docs/padding\n */\n pbe: [{\n pbe: scaleUnambiguousSpacing()\n }],\n /**\n * Padding Top\n * @see https://tailwindcss.com/docs/padding\n */\n pt: [{\n pt: scaleUnambiguousSpacing()\n }],\n /**\n * Padding Right\n * @see https://tailwindcss.com/docs/padding\n */\n pr: [{\n pr: scaleUnambiguousSpacing()\n }],\n /**\n * Padding Bottom\n * @see https://tailwindcss.com/docs/padding\n */\n pb: [{\n pb: scaleUnambiguousSpacing()\n }],\n /**\n * Padding Left\n * @see https://tailwindcss.com/docs/padding\n */\n pl: [{\n pl: scaleUnambiguousSpacing()\n }],\n /**\n * Margin\n * @see https://tailwindcss.com/docs/margin\n */\n m: [{\n m: scaleMargin()\n }],\n /**\n * Margin Inline\n * @see https://tailwindcss.com/docs/margin\n */\n mx: [{\n mx: scaleMargin()\n }],\n /**\n * Margin Block\n * @see https://tailwindcss.com/docs/margin\n */\n my: [{\n my: scaleMargin()\n }],\n /**\n * Margin Inline Start\n * @see https://tailwindcss.com/docs/margin\n */\n ms: [{\n ms: scaleMargin()\n }],\n /**\n * Margin Inline End\n * @see https://tailwindcss.com/docs/margin\n */\n me: [{\n me: scaleMargin()\n }],\n /**\n * Margin Block Start\n * @see https://tailwindcss.com/docs/margin\n */\n mbs: [{\n mbs: scaleMargin()\n }],\n /**\n * Margin Block End\n * @see https://tailwindcss.com/docs/margin\n */\n mbe: [{\n mbe: scaleMargin()\n }],\n /**\n * Margin Top\n * @see https://tailwindcss.com/docs/margin\n */\n mt: [{\n mt: scaleMargin()\n }],\n /**\n * Margin Right\n * @see https://tailwindcss.com/docs/margin\n */\n mr: [{\n mr: scaleMargin()\n }],\n /**\n * Margin Bottom\n * @see https://tailwindcss.com/docs/margin\n */\n mb: [{\n mb: scaleMargin()\n }],\n /**\n * Margin Left\n * @see https://tailwindcss.com/docs/margin\n */\n ml: [{\n ml: scaleMargin()\n }],\n /**\n * Space Between X\n * @see https://tailwindcss.com/docs/margin#adding-space-between-children\n */\n 'space-x': [{\n 'space-x': scaleUnambiguousSpacing()\n }],\n /**\n * Space Between X Reverse\n * @see https://tailwindcss.com/docs/margin#adding-space-between-children\n */\n 'space-x-reverse': ['space-x-reverse'],\n /**\n * Space Between Y\n * @see https://tailwindcss.com/docs/margin#adding-space-between-children\n */\n 'space-y': [{\n 'space-y': scaleUnambiguousSpacing()\n }],\n /**\n * Space Between Y Reverse\n * @see https://tailwindcss.com/docs/margin#adding-space-between-children\n */\n 'space-y-reverse': ['space-y-reverse'],\n // --------------\n // --- Sizing ---\n // --------------\n /**\n * Size\n * @see https://tailwindcss.com/docs/width#setting-both-width-and-height\n */\n size: [{\n size: scaleSizing()\n }],\n /**\n * Inline Size\n * @see https://tailwindcss.com/docs/width\n */\n 'inline-size': [{\n inline: ['auto', ...scaleSizingInline()]\n }],\n /**\n * Min-Inline Size\n * @see https://tailwindcss.com/docs/min-width\n */\n 'min-inline-size': [{\n 'min-inline': ['auto', ...scaleSizingInline()]\n }],\n /**\n * Max-Inline Size\n * @see https://tailwindcss.com/docs/max-width\n */\n 'max-inline-size': [{\n 'max-inline': ['none', ...scaleSizingInline()]\n }],\n /**\n * Block Size\n * @see https://tailwindcss.com/docs/height\n */\n 'block-size': [{\n block: ['auto', ...scaleSizingBlock()]\n }],\n /**\n * Min-Block Size\n * @see https://tailwindcss.com/docs/min-height\n */\n 'min-block-size': [{\n 'min-block': ['auto', ...scaleSizingBlock()]\n }],\n /**\n * Max-Block Size\n * @see https://tailwindcss.com/docs/max-height\n */\n 'max-block-size': [{\n 'max-block': ['none', ...scaleSizingBlock()]\n }],\n /**\n * Width\n * @see https://tailwindcss.com/docs/width\n */\n w: [{\n w: [themeContainer, 'screen', ...scaleSizing()]\n }],\n /**\n * Min-Width\n * @see https://tailwindcss.com/docs/min-width\n */\n 'min-w': [{\n 'min-w': [themeContainer, 'screen', /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */\n 'none', ...scaleSizing()]\n }],\n /**\n * Max-Width\n * @see https://tailwindcss.com/docs/max-width\n */\n 'max-w': [{\n 'max-w': [themeContainer, 'screen', 'none', /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */\n 'prose', /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */\n {\n screen: [themeBreakpoint]\n }, ...scaleSizing()]\n }],\n /**\n * Height\n * @see https://tailwindcss.com/docs/height\n */\n h: [{\n h: ['screen', 'lh', ...scaleSizing()]\n }],\n /**\n * Min-Height\n * @see https://tailwindcss.com/docs/min-height\n */\n 'min-h': [{\n 'min-h': ['screen', 'lh', 'none', ...scaleSizing()]\n }],\n /**\n * Max-Height\n * @see https://tailwindcss.com/docs/max-height\n */\n 'max-h': [{\n 'max-h': ['screen', 'lh', ...scaleSizing()]\n }],\n // ------------------\n // --- Typography ---\n // ------------------\n /**\n * Font Size\n * @see https://tailwindcss.com/docs/font-size\n */\n 'font-size': [{\n text: ['base', themeText, isArbitraryVariableLength, isArbitraryLength]\n }],\n /**\n * Font Smoothing\n * @see https://tailwindcss.com/docs/font-smoothing\n */\n 'font-smoothing': ['antialiased', 'subpixel-antialiased'],\n /**\n * Font Style\n * @see https://tailwindcss.com/docs/font-style\n */\n 'font-style': ['italic', 'not-italic'],\n /**\n * Font Weight\n * @see https://tailwindcss.com/docs/font-weight\n */\n 'font-weight': [{\n font: [themeFontWeight, isArbitraryVariableWeight, isArbitraryWeight]\n }],\n /**\n * Font Stretch\n * @see https://tailwindcss.com/docs/font-stretch\n */\n 'font-stretch': [{\n 'font-stretch': ['ultra-condensed', 'extra-condensed', 'condensed', 'semi-condensed', 'normal', 'semi-expanded', 'expanded', 'extra-expanded', 'ultra-expanded', isPercent, isArbitraryValue]\n }],\n /**\n * Font Family\n * @see https://tailwindcss.com/docs/font-family\n */\n 'font-family': [{\n font: [isArbitraryVariableFamilyName, isArbitraryFamilyName, themeFont]\n }],\n /**\n * Font Feature Settings\n * @see https://tailwindcss.com/docs/font-feature-settings\n */\n 'font-features': [{\n 'font-features': [isArbitraryValue]\n }],\n /**\n * Font Variant Numeric\n * @see https://tailwindcss.com/docs/font-variant-numeric\n */\n 'fvn-normal': ['normal-nums'],\n /**\n * Font Variant Numeric\n * @see https://tailwindcss.com/docs/font-variant-numeric\n */\n 'fvn-ordinal': ['ordinal'],\n /**\n * Font Variant Numeric\n * @see https://tailwindcss.com/docs/font-variant-numeric\n */\n 'fvn-slashed-zero': ['slashed-zero'],\n /**\n * Font Variant Numeric\n * @see https://tailwindcss.com/docs/font-variant-numeric\n */\n 'fvn-figure': ['lining-nums', 'oldstyle-nums'],\n /**\n * Font Variant Numeric\n * @see https://tailwindcss.com/docs/font-variant-numeric\n */\n 'fvn-spacing': ['proportional-nums', 'tabular-nums'],\n /**\n * Font Variant Numeric\n * @see https://tailwindcss.com/docs/font-variant-numeric\n */\n 'fvn-fraction': ['diagonal-fractions', 'stacked-fractions'],\n /**\n * Letter Spacing\n * @see https://tailwindcss.com/docs/letter-spacing\n */\n tracking: [{\n tracking: [themeTracking, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Line Clamp\n * @see https://tailwindcss.com/docs/line-clamp\n */\n 'line-clamp': [{\n 'line-clamp': [isNumber, 'none', isArbitraryVariable, isArbitraryNumber]\n }],\n /**\n * Line Height\n * @see https://tailwindcss.com/docs/line-height\n */\n leading: [{\n leading: [/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */\n themeLeading, ...scaleUnambiguousSpacing()]\n }],\n /**\n * List Style Image\n * @see https://tailwindcss.com/docs/list-style-image\n */\n 'list-image': [{\n 'list-image': ['none', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * List Style Position\n * @see https://tailwindcss.com/docs/list-style-position\n */\n 'list-style-position': [{\n list: ['inside', 'outside']\n }],\n /**\n * List Style Type\n * @see https://tailwindcss.com/docs/list-style-type\n */\n 'list-style-type': [{\n list: ['disc', 'decimal', 'none', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Text Alignment\n * @see https://tailwindcss.com/docs/text-align\n */\n 'text-alignment': [{\n text: ['left', 'center', 'right', 'justify', 'start', 'end']\n }],\n /**\n * Placeholder Color\n * @deprecated since Tailwind CSS v3.0.0\n * @see https://v3.tailwindcss.com/docs/placeholder-color\n */\n 'placeholder-color': [{\n placeholder: scaleColor()\n }],\n /**\n * Text Color\n * @see https://tailwindcss.com/docs/text-color\n */\n 'text-color': [{\n text: scaleColor()\n }],\n /**\n * Text Decoration\n * @see https://tailwindcss.com/docs/text-decoration\n */\n 'text-decoration': ['underline', 'overline', 'line-through', 'no-underline'],\n /**\n * Text Decoration Style\n * @see https://tailwindcss.com/docs/text-decoration-style\n */\n 'text-decoration-style': [{\n decoration: [...scaleLineStyle(), 'wavy']\n }],\n /**\n * Text Decoration Thickness\n * @see https://tailwindcss.com/docs/text-decoration-thickness\n */\n 'text-decoration-thickness': [{\n decoration: [isNumber, 'from-font', 'auto', isArbitraryVariable, isArbitraryLength]\n }],\n /**\n * Text Decoration Color\n * @see https://tailwindcss.com/docs/text-decoration-color\n */\n 'text-decoration-color': [{\n decoration: scaleColor()\n }],\n /**\n * Text Underline Offset\n * @see https://tailwindcss.com/docs/text-underline-offset\n */\n 'underline-offset': [{\n 'underline-offset': [isNumber, 'auto', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Text Transform\n * @see https://tailwindcss.com/docs/text-transform\n */\n 'text-transform': ['uppercase', 'lowercase', 'capitalize', 'normal-case'],\n /**\n * Text Overflow\n * @see https://tailwindcss.com/docs/text-overflow\n */\n 'text-overflow': ['truncate', 'text-ellipsis', 'text-clip'],\n /**\n * Text Wrap\n * @see https://tailwindcss.com/docs/text-wrap\n */\n 'text-wrap': [{\n text: ['wrap', 'nowrap', 'balance', 'pretty']\n }],\n /**\n * Text Indent\n * @see https://tailwindcss.com/docs/text-indent\n */\n indent: [{\n indent: scaleUnambiguousSpacing()\n }],\n /**\n * Tab Size\n * @see https://tailwindcss.com/docs/tab-size\n */\n 'tab-size': [{\n tab: [isInteger, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Vertical Alignment\n * @see https://tailwindcss.com/docs/vertical-align\n */\n 'vertical-align': [{\n align: ['baseline', 'top', 'middle', 'bottom', 'text-top', 'text-bottom', 'sub', 'super', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Whitespace\n * @see https://tailwindcss.com/docs/whitespace\n */\n whitespace: [{\n whitespace: ['normal', 'nowrap', 'pre', 'pre-line', 'pre-wrap', 'break-spaces']\n }],\n /**\n * Word Break\n * @see https://tailwindcss.com/docs/word-break\n */\n break: [{\n break: ['normal', 'words', 'all', 'keep']\n }],\n /**\n * Overflow Wrap\n * @see https://tailwindcss.com/docs/overflow-wrap\n */\n wrap: [{\n wrap: ['break-word', 'anywhere', 'normal']\n }],\n /**\n * Hyphens\n * @see https://tailwindcss.com/docs/hyphens\n */\n hyphens: [{\n hyphens: ['none', 'manual', 'auto']\n }],\n /**\n * Content\n * @see https://tailwindcss.com/docs/content\n */\n content: [{\n content: ['none', isArbitraryVariable, isArbitraryValue]\n }],\n // -------------------\n // --- Backgrounds ---\n // -------------------\n /**\n * Background Attachment\n * @see https://tailwindcss.com/docs/background-attachment\n */\n 'bg-attachment': [{\n bg: ['fixed', 'local', 'scroll']\n }],\n /**\n * Background Clip\n * @see https://tailwindcss.com/docs/background-clip\n */\n 'bg-clip': [{\n 'bg-clip': ['border', 'padding', 'content', 'text']\n }],\n /**\n * Background Origin\n * @see https://tailwindcss.com/docs/background-origin\n */\n 'bg-origin': [{\n 'bg-origin': ['border', 'padding', 'content']\n }],\n /**\n * Background Position\n * @see https://tailwindcss.com/docs/background-position\n */\n 'bg-position': [{\n bg: scaleBgPosition()\n }],\n /**\n * Background Repeat\n * @see https://tailwindcss.com/docs/background-repeat\n */\n 'bg-repeat': [{\n bg: scaleBgRepeat()\n }],\n /**\n * Background Size\n * @see https://tailwindcss.com/docs/background-size\n */\n 'bg-size': [{\n bg: scaleBgSize()\n }],\n /**\n * Background Image\n * @see https://tailwindcss.com/docs/background-image\n */\n 'bg-image': [{\n bg: ['none', {\n linear: [{\n to: ['t', 'tr', 'r', 'br', 'b', 'bl', 'l', 'tl']\n }, isInteger, isArbitraryVariable, isArbitraryValue],\n radial: ['', isArbitraryVariable, isArbitraryValue],\n conic: [isInteger, isArbitraryVariable, isArbitraryValue]\n }, isArbitraryVariableImage, isArbitraryImage]\n }],\n /**\n * Background Color\n * @see https://tailwindcss.com/docs/background-color\n */\n 'bg-color': [{\n bg: scaleColor()\n }],\n /**\n * Gradient Color Stops From Position\n * @see https://tailwindcss.com/docs/gradient-color-stops\n */\n 'gradient-from-pos': [{\n from: scaleGradientStopPosition()\n }],\n /**\n * Gradient Color Stops Via Position\n * @see https://tailwindcss.com/docs/gradient-color-stops\n */\n 'gradient-via-pos': [{\n via: scaleGradientStopPosition()\n }],\n /**\n * Gradient Color Stops To Position\n * @see https://tailwindcss.com/docs/gradient-color-stops\n */\n 'gradient-to-pos': [{\n to: scaleGradientStopPosition()\n }],\n /**\n * Gradient Color Stops From\n * @see https://tailwindcss.com/docs/gradient-color-stops\n */\n 'gradient-from': [{\n from: scaleColor()\n }],\n /**\n * Gradient Color Stops Via\n * @see https://tailwindcss.com/docs/gradient-color-stops\n */\n 'gradient-via': [{\n via: scaleColor()\n }],\n /**\n * Gradient Color Stops To\n * @see https://tailwindcss.com/docs/gradient-color-stops\n */\n 'gradient-to': [{\n to: scaleColor()\n }],\n // ---------------\n // --- Borders ---\n // ---------------\n /**\n * Border Radius\n * @see https://tailwindcss.com/docs/border-radius\n */\n rounded: [{\n rounded: scaleRadius()\n }],\n /**\n * Border Radius Start\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-s': [{\n 'rounded-s': scaleRadius()\n }],\n /**\n * Border Radius End\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-e': [{\n 'rounded-e': scaleRadius()\n }],\n /**\n * Border Radius Top\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-t': [{\n 'rounded-t': scaleRadius()\n }],\n /**\n * Border Radius Right\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-r': [{\n 'rounded-r': scaleRadius()\n }],\n /**\n * Border Radius Bottom\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-b': [{\n 'rounded-b': scaleRadius()\n }],\n /**\n * Border Radius Left\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-l': [{\n 'rounded-l': scaleRadius()\n }],\n /**\n * Border Radius Start Start\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-ss': [{\n 'rounded-ss': scaleRadius()\n }],\n /**\n * Border Radius Start End\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-se': [{\n 'rounded-se': scaleRadius()\n }],\n /**\n * Border Radius End End\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-ee': [{\n 'rounded-ee': scaleRadius()\n }],\n /**\n * Border Radius End Start\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-es': [{\n 'rounded-es': scaleRadius()\n }],\n /**\n * Border Radius Top Left\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-tl': [{\n 'rounded-tl': scaleRadius()\n }],\n /**\n * Border Radius Top Right\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-tr': [{\n 'rounded-tr': scaleRadius()\n }],\n /**\n * Border Radius Bottom Right\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-br': [{\n 'rounded-br': scaleRadius()\n }],\n /**\n * Border Radius Bottom Left\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-bl': [{\n 'rounded-bl': scaleRadius()\n }],\n /**\n * Border Width\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w': [{\n border: scaleBorderWidth()\n }],\n /**\n * Border Width Inline\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-x': [{\n 'border-x': scaleBorderWidth()\n }],\n /**\n * Border Width Block\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-y': [{\n 'border-y': scaleBorderWidth()\n }],\n /**\n * Border Width Inline Start\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-s': [{\n 'border-s': scaleBorderWidth()\n }],\n /**\n * Border Width Inline End\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-e': [{\n 'border-e': scaleBorderWidth()\n }],\n /**\n * Border Width Block Start\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-bs': [{\n 'border-bs': scaleBorderWidth()\n }],\n /**\n * Border Width Block End\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-be': [{\n 'border-be': scaleBorderWidth()\n }],\n /**\n * Border Width Top\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-t': [{\n 'border-t': scaleBorderWidth()\n }],\n /**\n * Border Width Right\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-r': [{\n 'border-r': scaleBorderWidth()\n }],\n /**\n * Border Width Bottom\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-b': [{\n 'border-b': scaleBorderWidth()\n }],\n /**\n * Border Width Left\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-l': [{\n 'border-l': scaleBorderWidth()\n }],\n /**\n * Divide Width X\n * @see https://tailwindcss.com/docs/border-width#between-children\n */\n 'divide-x': [{\n 'divide-x': scaleBorderWidth()\n }],\n /**\n * Divide Width X Reverse\n * @see https://tailwindcss.com/docs/border-width#between-children\n */\n 'divide-x-reverse': ['divide-x-reverse'],\n /**\n * Divide Width Y\n * @see https://tailwindcss.com/docs/border-width#between-children\n */\n 'divide-y': [{\n 'divide-y': scaleBorderWidth()\n }],\n /**\n * Divide Width Y Reverse\n * @see https://tailwindcss.com/docs/border-width#between-children\n */\n 'divide-y-reverse': ['divide-y-reverse'],\n /**\n * Border Style\n * @see https://tailwindcss.com/docs/border-style\n */\n 'border-style': [{\n border: [...scaleLineStyle(), 'hidden', 'none']\n }],\n /**\n * Divide Style\n * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style\n */\n 'divide-style': [{\n divide: [...scaleLineStyle(), 'hidden', 'none']\n }],\n /**\n * Border Color\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color': [{\n border: scaleColor()\n }],\n /**\n * Border Color Inline\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-x': [{\n 'border-x': scaleColor()\n }],\n /**\n * Border Color Block\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-y': [{\n 'border-y': scaleColor()\n }],\n /**\n * Border Color Inline Start\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-s': [{\n 'border-s': scaleColor()\n }],\n /**\n * Border Color Inline End\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-e': [{\n 'border-e': scaleColor()\n }],\n /**\n * Border Color Block Start\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-bs': [{\n 'border-bs': scaleColor()\n }],\n /**\n * Border Color Block End\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-be': [{\n 'border-be': scaleColor()\n }],\n /**\n * Border Color Top\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-t': [{\n 'border-t': scaleColor()\n }],\n /**\n * Border Color Right\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-r': [{\n 'border-r': scaleColor()\n }],\n /**\n * Border Color Bottom\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-b': [{\n 'border-b': scaleColor()\n }],\n /**\n * Border Color Left\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-l': [{\n 'border-l': scaleColor()\n }],\n /**\n * Divide Color\n * @see https://tailwindcss.com/docs/divide-color\n */\n 'divide-color': [{\n divide: scaleColor()\n }],\n /**\n * Outline Style\n * @see https://tailwindcss.com/docs/outline-style\n */\n 'outline-style': [{\n outline: [...scaleLineStyle(), 'none', 'hidden']\n }],\n /**\n * Outline Offset\n * @see https://tailwindcss.com/docs/outline-offset\n */\n 'outline-offset': [{\n 'outline-offset': [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Outline Width\n * @see https://tailwindcss.com/docs/outline-width\n */\n 'outline-w': [{\n outline: ['', isNumber, isArbitraryVariableLength, isArbitraryLength]\n }],\n /**\n * Outline Color\n * @see https://tailwindcss.com/docs/outline-color\n */\n 'outline-color': [{\n outline: scaleColor()\n }],\n // ---------------\n // --- Effects ---\n // ---------------\n /**\n * Box Shadow\n * @see https://tailwindcss.com/docs/box-shadow\n */\n shadow: [{\n shadow: [\n // Deprecated since Tailwind CSS v4.0.0\n '', 'none', themeShadow, isArbitraryVariableShadow, isArbitraryShadow]\n }],\n /**\n * Box Shadow Color\n * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color\n */\n 'shadow-color': [{\n shadow: scaleColor()\n }],\n /**\n * Inset Box Shadow\n * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow\n */\n 'inset-shadow': [{\n 'inset-shadow': ['none', themeInsetShadow, isArbitraryVariableShadow, isArbitraryShadow]\n }],\n /**\n * Inset Box Shadow Color\n * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color\n */\n 'inset-shadow-color': [{\n 'inset-shadow': scaleColor()\n }],\n /**\n * Ring Width\n * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring\n */\n 'ring-w': [{\n ring: scaleBorderWidth()\n }],\n /**\n * Ring Width Inset\n * @see https://v3.tailwindcss.com/docs/ring-width#inset-rings\n * @deprecated since Tailwind CSS v4.0.0\n * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158\n */\n 'ring-w-inset': ['ring-inset'],\n /**\n * Ring Color\n * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color\n */\n 'ring-color': [{\n ring: scaleColor()\n }],\n /**\n * Ring Offset Width\n * @see https://v3.tailwindcss.com/docs/ring-offset-width\n * @deprecated since Tailwind CSS v4.0.0\n * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158\n */\n 'ring-offset-w': [{\n 'ring-offset': [isNumber, isArbitraryLength]\n }],\n /**\n * Ring Offset Color\n * @see https://v3.tailwindcss.com/docs/ring-offset-color\n * @deprecated since Tailwind CSS v4.0.0\n * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158\n */\n 'ring-offset-color': [{\n 'ring-offset': scaleColor()\n }],\n /**\n * Inset Ring Width\n * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring\n */\n 'inset-ring-w': [{\n 'inset-ring': scaleBorderWidth()\n }],\n /**\n * Inset Ring Color\n * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color\n */\n 'inset-ring-color': [{\n 'inset-ring': scaleColor()\n }],\n /**\n * Text Shadow\n * @see https://tailwindcss.com/docs/text-shadow\n */\n 'text-shadow': [{\n 'text-shadow': ['none', themeTextShadow, isArbitraryVariableShadow, isArbitraryShadow]\n }],\n /**\n * Text Shadow Color\n * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color\n */\n 'text-shadow-color': [{\n 'text-shadow': scaleColor()\n }],\n /**\n * Opacity\n * @see https://tailwindcss.com/docs/opacity\n */\n opacity: [{\n opacity: [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Mix Blend Mode\n * @see https://tailwindcss.com/docs/mix-blend-mode\n */\n 'mix-blend': [{\n 'mix-blend': [...scaleBlendMode(), 'plus-darker', 'plus-lighter']\n }],\n /**\n * Background Blend Mode\n * @see https://tailwindcss.com/docs/background-blend-mode\n */\n 'bg-blend': [{\n 'bg-blend': scaleBlendMode()\n }],\n /**\n * Mask Clip\n * @see https://tailwindcss.com/docs/mask-clip\n */\n 'mask-clip': [{\n 'mask-clip': ['border', 'padding', 'content', 'fill', 'stroke', 'view']\n }, 'mask-no-clip'],\n /**\n * Mask Composite\n * @see https://tailwindcss.com/docs/mask-composite\n */\n 'mask-composite': [{\n mask: ['add', 'subtract', 'intersect', 'exclude']\n }],\n /**\n * Mask Image\n * @see https://tailwindcss.com/docs/mask-image\n */\n 'mask-image-linear-pos': [{\n 'mask-linear': [isNumber]\n }],\n 'mask-image-linear-from-pos': [{\n 'mask-linear-from': scaleMaskImagePosition()\n }],\n 'mask-image-linear-to-pos': [{\n 'mask-linear-to': scaleMaskImagePosition()\n }],\n 'mask-image-linear-from-color': [{\n 'mask-linear-from': scaleColor()\n }],\n 'mask-image-linear-to-color': [{\n 'mask-linear-to': scaleColor()\n }],\n 'mask-image-t-from-pos': [{\n 'mask-t-from': scaleMaskImagePosition()\n }],\n 'mask-image-t-to-pos': [{\n 'mask-t-to': scaleMaskImagePosition()\n }],\n 'mask-image-t-from-color': [{\n 'mask-t-from': scaleColor()\n }],\n 'mask-image-t-to-color': [{\n 'mask-t-to': scaleColor()\n }],\n 'mask-image-r-from-pos': [{\n 'mask-r-from': scaleMaskImagePosition()\n }],\n 'mask-image-r-to-pos': [{\n 'mask-r-to': scaleMaskImagePosition()\n }],\n 'mask-image-r-from-color': [{\n 'mask-r-from': scaleColor()\n }],\n 'mask-image-r-to-color': [{\n 'mask-r-to': scaleColor()\n }],\n 'mask-image-b-from-pos': [{\n 'mask-b-from': scaleMaskImagePosition()\n }],\n 'mask-image-b-to-pos': [{\n 'mask-b-to': scaleMaskImagePosition()\n }],\n 'mask-image-b-from-color': [{\n 'mask-b-from': scaleColor()\n }],\n 'mask-image-b-to-color': [{\n 'mask-b-to': scaleColor()\n }],\n 'mask-image-l-from-pos': [{\n 'mask-l-from': scaleMaskImagePosition()\n }],\n 'mask-image-l-to-pos': [{\n 'mask-l-to': scaleMaskImagePosition()\n }],\n 'mask-image-l-from-color': [{\n 'mask-l-from': scaleColor()\n }],\n 'mask-image-l-to-color': [{\n 'mask-l-to': scaleColor()\n }],\n 'mask-image-x-from-pos': [{\n 'mask-x-from': scaleMaskImagePosition()\n }],\n 'mask-image-x-to-pos': [{\n 'mask-x-to': scaleMaskImagePosition()\n }],\n 'mask-image-x-from-color': [{\n 'mask-x-from': scaleColor()\n }],\n 'mask-image-x-to-color': [{\n 'mask-x-to': scaleColor()\n }],\n 'mask-image-y-from-pos': [{\n 'mask-y-from': scaleMaskImagePosition()\n }],\n 'mask-image-y-to-pos': [{\n 'mask-y-to': scaleMaskImagePosition()\n }],\n 'mask-image-y-from-color': [{\n 'mask-y-from': scaleColor()\n }],\n 'mask-image-y-to-color': [{\n 'mask-y-to': scaleColor()\n }],\n 'mask-image-radial': [{\n 'mask-radial': [isArbitraryVariable, isArbitraryValue]\n }],\n 'mask-image-radial-from-pos': [{\n 'mask-radial-from': scaleMaskImagePosition()\n }],\n 'mask-image-radial-to-pos': [{\n 'mask-radial-to': scaleMaskImagePosition()\n }],\n 'mask-image-radial-from-color': [{\n 'mask-radial-from': scaleColor()\n }],\n 'mask-image-radial-to-color': [{\n 'mask-radial-to': scaleColor()\n }],\n 'mask-image-radial-shape': [{\n 'mask-radial': ['circle', 'ellipse']\n }],\n 'mask-image-radial-size': [{\n 'mask-radial': [{\n closest: ['side', 'corner'],\n farthest: ['side', 'corner']\n }]\n }],\n 'mask-image-radial-pos': [{\n 'mask-radial-at': scalePosition()\n }],\n 'mask-image-conic-pos': [{\n 'mask-conic': [isNumber]\n }],\n 'mask-image-conic-from-pos': [{\n 'mask-conic-from': scaleMaskImagePosition()\n }],\n 'mask-image-conic-to-pos': [{\n 'mask-conic-to': scaleMaskImagePosition()\n }],\n 'mask-image-conic-from-color': [{\n 'mask-conic-from': scaleColor()\n }],\n 'mask-image-conic-to-color': [{\n 'mask-conic-to': scaleColor()\n }],\n /**\n * Mask Mode\n * @see https://tailwindcss.com/docs/mask-mode\n */\n 'mask-mode': [{\n mask: ['alpha', 'luminance', 'match']\n }],\n /**\n * Mask Origin\n * @see https://tailwindcss.com/docs/mask-origin\n */\n 'mask-origin': [{\n 'mask-origin': ['border', 'padding', 'content', 'fill', 'stroke', 'view']\n }],\n /**\n * Mask Position\n * @see https://tailwindcss.com/docs/mask-position\n */\n 'mask-position': [{\n mask: scaleBgPosition()\n }],\n /**\n * Mask Repeat\n * @see https://tailwindcss.com/docs/mask-repeat\n */\n 'mask-repeat': [{\n mask: scaleBgRepeat()\n }],\n /**\n * Mask Size\n * @see https://tailwindcss.com/docs/mask-size\n */\n 'mask-size': [{\n mask: scaleBgSize()\n }],\n /**\n * Mask Type\n * @see https://tailwindcss.com/docs/mask-type\n */\n 'mask-type': [{\n 'mask-type': ['alpha', 'luminance']\n }],\n /**\n * Mask Image\n * @see https://tailwindcss.com/docs/mask-image\n */\n 'mask-image': [{\n mask: ['none', isArbitraryVariable, isArbitraryValue]\n }],\n // ---------------\n // --- Filters ---\n // ---------------\n /**\n * Filter\n * @see https://tailwindcss.com/docs/filter\n */\n filter: [{\n filter: [\n // Deprecated since Tailwind CSS v3.0.0\n '', 'none', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Blur\n * @see https://tailwindcss.com/docs/blur\n */\n blur: [{\n blur: scaleBlur()\n }],\n /**\n * Brightness\n * @see https://tailwindcss.com/docs/brightness\n */\n brightness: [{\n brightness: [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Contrast\n * @see https://tailwindcss.com/docs/contrast\n */\n contrast: [{\n contrast: [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Drop Shadow\n * @see https://tailwindcss.com/docs/drop-shadow\n */\n 'drop-shadow': [{\n 'drop-shadow': [\n // Deprecated since Tailwind CSS v4.0.0\n '', 'none', themeDropShadow, isArbitraryVariableShadow, isArbitraryShadow]\n }],\n /**\n * Drop Shadow Color\n * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color\n */\n 'drop-shadow-color': [{\n 'drop-shadow': scaleColor()\n }],\n /**\n * Grayscale\n * @see https://tailwindcss.com/docs/grayscale\n */\n grayscale: [{\n grayscale: ['', isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Hue Rotate\n * @see https://tailwindcss.com/docs/hue-rotate\n */\n 'hue-rotate': [{\n 'hue-rotate': [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Invert\n * @see https://tailwindcss.com/docs/invert\n */\n invert: [{\n invert: ['', isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Saturate\n * @see https://tailwindcss.com/docs/saturate\n */\n saturate: [{\n saturate: [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Sepia\n * @see https://tailwindcss.com/docs/sepia\n */\n sepia: [{\n sepia: ['', isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Backdrop Filter\n * @see https://tailwindcss.com/docs/backdrop-filter\n */\n 'backdrop-filter': [{\n 'backdrop-filter': [\n // Deprecated since Tailwind CSS v3.0.0\n '', 'none', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Backdrop Blur\n * @see https://tailwindcss.com/docs/backdrop-blur\n */\n 'backdrop-blur': [{\n 'backdrop-blur': scaleBlur()\n }],\n /**\n * Backdrop Brightness\n * @see https://tailwindcss.com/docs/backdrop-brightness\n */\n 'backdrop-brightness': [{\n 'backdrop-brightness': [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Backdrop Contrast\n * @see https://tailwindcss.com/docs/backdrop-contrast\n */\n 'backdrop-contrast': [{\n 'backdrop-contrast': [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Backdrop Grayscale\n * @see https://tailwindcss.com/docs/backdrop-grayscale\n */\n 'backdrop-grayscale': [{\n 'backdrop-grayscale': ['', isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Backdrop Hue Rotate\n * @see https://tailwindcss.com/docs/backdrop-hue-rotate\n */\n 'backdrop-hue-rotate': [{\n 'backdrop-hue-rotate': [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Backdrop Invert\n * @see https://tailwindcss.com/docs/backdrop-invert\n */\n 'backdrop-invert': [{\n 'backdrop-invert': ['', isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Backdrop Opacity\n * @see https://tailwindcss.com/docs/backdrop-opacity\n */\n 'backdrop-opacity': [{\n 'backdrop-opacity': [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Backdrop Saturate\n * @see https://tailwindcss.com/docs/backdrop-saturate\n */\n 'backdrop-saturate': [{\n 'backdrop-saturate': [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Backdrop Sepia\n * @see https://tailwindcss.com/docs/backdrop-sepia\n */\n 'backdrop-sepia': [{\n 'backdrop-sepia': ['', isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n // --------------\n // --- Tables ---\n // --------------\n /**\n * Border Collapse\n * @see https://tailwindcss.com/docs/border-collapse\n */\n 'border-collapse': [{\n border: ['collapse', 'separate']\n }],\n /**\n * Border Spacing\n * @see https://tailwindcss.com/docs/border-spacing\n */\n 'border-spacing': [{\n 'border-spacing': scaleUnambiguousSpacing()\n }],\n /**\n * Border Spacing X\n * @see https://tailwindcss.com/docs/border-spacing\n */\n 'border-spacing-x': [{\n 'border-spacing-x': scaleUnambiguousSpacing()\n }],\n /**\n * Border Spacing Y\n * @see https://tailwindcss.com/docs/border-spacing\n */\n 'border-spacing-y': [{\n 'border-spacing-y': scaleUnambiguousSpacing()\n }],\n /**\n * Table Layout\n * @see https://tailwindcss.com/docs/table-layout\n */\n 'table-layout': [{\n table: ['auto', 'fixed']\n }],\n /**\n * Caption Side\n * @see https://tailwindcss.com/docs/caption-side\n */\n caption: [{\n caption: ['top', 'bottom']\n }],\n // ---------------------------------\n // --- Transitions and Animation ---\n // ---------------------------------\n /**\n * Transition Property\n * @see https://tailwindcss.com/docs/transition-property\n */\n transition: [{\n transition: ['', 'all', 'colors', 'opacity', 'shadow', 'transform', 'none', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Transition Behavior\n * @see https://tailwindcss.com/docs/transition-behavior\n */\n 'transition-behavior': [{\n transition: ['normal', 'discrete']\n }],\n /**\n * Transition Duration\n * @see https://tailwindcss.com/docs/transition-duration\n */\n duration: [{\n duration: [isNumber, 'initial', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Transition Timing Function\n * @see https://tailwindcss.com/docs/transition-timing-function\n */\n ease: [{\n ease: ['linear', 'initial', themeEase, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Transition Delay\n * @see https://tailwindcss.com/docs/transition-delay\n */\n delay: [{\n delay: [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Animation\n * @see https://tailwindcss.com/docs/animation\n */\n animate: [{\n animate: ['none', themeAnimate, isArbitraryVariable, isArbitraryValue]\n }],\n // ------------------\n // --- Transforms ---\n // ------------------\n /**\n * Backface Visibility\n * @see https://tailwindcss.com/docs/backface-visibility\n */\n backface: [{\n backface: ['hidden', 'visible']\n }],\n /**\n * Perspective\n * @see https://tailwindcss.com/docs/perspective\n */\n perspective: [{\n perspective: [themePerspective, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Perspective Origin\n * @see https://tailwindcss.com/docs/perspective-origin\n */\n 'perspective-origin': [{\n 'perspective-origin': scalePositionWithArbitrary()\n }],\n /**\n * Rotate\n * @see https://tailwindcss.com/docs/rotate\n */\n rotate: [{\n rotate: scaleRotate()\n }],\n /**\n * Rotate X\n * @see https://tailwindcss.com/docs/rotate\n */\n 'rotate-x': [{\n 'rotate-x': scaleRotate()\n }],\n /**\n * Rotate Y\n * @see https://tailwindcss.com/docs/rotate\n */\n 'rotate-y': [{\n 'rotate-y': scaleRotate()\n }],\n /**\n * Rotate Z\n * @see https://tailwindcss.com/docs/rotate\n */\n 'rotate-z': [{\n 'rotate-z': scaleRotate()\n }],\n /**\n * Scale\n * @see https://tailwindcss.com/docs/scale\n */\n scale: [{\n scale: scaleScale()\n }],\n /**\n * Scale X\n * @see https://tailwindcss.com/docs/scale\n */\n 'scale-x': [{\n 'scale-x': scaleScale()\n }],\n /**\n * Scale Y\n * @see https://tailwindcss.com/docs/scale\n */\n 'scale-y': [{\n 'scale-y': scaleScale()\n }],\n /**\n * Scale Z\n * @see https://tailwindcss.com/docs/scale\n */\n 'scale-z': [{\n 'scale-z': scaleScale()\n }],\n /**\n * Scale 3D\n * @see https://tailwindcss.com/docs/scale\n */\n 'scale-3d': ['scale-3d'],\n /**\n * Skew\n * @see https://tailwindcss.com/docs/skew\n */\n skew: [{\n skew: scaleSkew()\n }],\n /**\n * Skew X\n * @see https://tailwindcss.com/docs/skew\n */\n 'skew-x': [{\n 'skew-x': scaleSkew()\n }],\n /**\n * Skew Y\n * @see https://tailwindcss.com/docs/skew\n */\n 'skew-y': [{\n 'skew-y': scaleSkew()\n }],\n /**\n * Transform\n * @see https://tailwindcss.com/docs/transform\n */\n transform: [{\n transform: [isArbitraryVariable, isArbitraryValue, '', 'none', 'gpu', 'cpu']\n }],\n /**\n * Transform Origin\n * @see https://tailwindcss.com/docs/transform-origin\n */\n 'transform-origin': [{\n origin: scalePositionWithArbitrary()\n }],\n /**\n * Transform Style\n * @see https://tailwindcss.com/docs/transform-style\n */\n 'transform-style': [{\n transform: ['3d', 'flat']\n }],\n /**\n * Translate\n * @see https://tailwindcss.com/docs/translate\n */\n translate: [{\n translate: scaleTranslate()\n }],\n /**\n * Translate X\n * @see https://tailwindcss.com/docs/translate\n */\n 'translate-x': [{\n 'translate-x': scaleTranslate()\n }],\n /**\n * Translate Y\n * @see https://tailwindcss.com/docs/translate\n */\n 'translate-y': [{\n 'translate-y': scaleTranslate()\n }],\n /**\n * Translate Z\n * @see https://tailwindcss.com/docs/translate\n */\n 'translate-z': [{\n 'translate-z': scaleTranslate()\n }],\n /**\n * Translate None\n * @see https://tailwindcss.com/docs/translate\n */\n 'translate-none': ['translate-none'],\n /**\n * Zoom\n * @see https://tailwindcss.com/docs/zoom\n */\n zoom: [{\n zoom: [isInteger, isArbitraryVariable, isArbitraryValue]\n }],\n // ---------------------\n // --- Interactivity ---\n // ---------------------\n /**\n * Accent Color\n * @see https://tailwindcss.com/docs/accent-color\n */\n accent: [{\n accent: scaleColor()\n }],\n /**\n * Appearance\n * @see https://tailwindcss.com/docs/appearance\n */\n appearance: [{\n appearance: ['none', 'auto']\n }],\n /**\n * Caret Color\n * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities\n */\n 'caret-color': [{\n caret: scaleColor()\n }],\n /**\n * Color Scheme\n * @see https://tailwindcss.com/docs/color-scheme\n */\n 'color-scheme': [{\n scheme: ['normal', 'dark', 'light', 'light-dark', 'only-dark', 'only-light']\n }],\n /**\n * Cursor\n * @see https://tailwindcss.com/docs/cursor\n */\n cursor: [{\n cursor: ['auto', 'default', 'pointer', 'wait', 'text', 'move', 'help', 'not-allowed', 'none', 'context-menu', 'progress', 'cell', 'crosshair', 'vertical-text', 'alias', 'copy', 'no-drop', 'grab', 'grabbing', 'all-scroll', 'col-resize', 'row-resize', 'n-resize', 'e-resize', 's-resize', 'w-resize', 'ne-resize', 'nw-resize', 'se-resize', 'sw-resize', 'ew-resize', 'ns-resize', 'nesw-resize', 'nwse-resize', 'zoom-in', 'zoom-out', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Field Sizing\n * @see https://tailwindcss.com/docs/field-sizing\n */\n 'field-sizing': [{\n 'field-sizing': ['fixed', 'content']\n }],\n /**\n * Pointer Events\n * @see https://tailwindcss.com/docs/pointer-events\n */\n 'pointer-events': [{\n 'pointer-events': ['auto', 'none']\n }],\n /**\n * Resize\n * @see https://tailwindcss.com/docs/resize\n */\n resize: [{\n resize: ['none', '', 'y', 'x']\n }],\n /**\n * Scroll Behavior\n * @see https://tailwindcss.com/docs/scroll-behavior\n */\n 'scroll-behavior': [{\n scroll: ['auto', 'smooth']\n }],\n /**\n * Scrollbar Thumb Color\n * @see https://tailwindcss.com/docs/scrollbar-color\n */\n 'scrollbar-thumb-color': [{\n 'scrollbar-thumb': scaleColor()\n }],\n /**\n * Scrollbar Track Color\n * @see https://tailwindcss.com/docs/scrollbar-color\n */\n 'scrollbar-track-color': [{\n 'scrollbar-track': scaleColor()\n }],\n /**\n * Scrollbar Gutter\n * @see https://tailwindcss.com/docs/scrollbar-gutter\n */\n 'scrollbar-gutter': [{\n 'scrollbar-gutter': ['auto', 'stable', 'both']\n }],\n /**\n * Scrollbar Width\n * @see https://tailwindcss.com/docs/scrollbar-width\n */\n 'scrollbar-w': [{\n scrollbar: ['auto', 'thin', 'none']\n }],\n /**\n * Scroll Margin\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-m': [{\n 'scroll-m': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Margin Inline\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-mx': [{\n 'scroll-mx': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Margin Block\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-my': [{\n 'scroll-my': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Margin Inline Start\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-ms': [{\n 'scroll-ms': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Margin Inline End\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-me': [{\n 'scroll-me': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Margin Block Start\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-mbs': [{\n 'scroll-mbs': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Margin Block End\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-mbe': [{\n 'scroll-mbe': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Margin Top\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-mt': [{\n 'scroll-mt': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Margin Right\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-mr': [{\n 'scroll-mr': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Margin Bottom\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-mb': [{\n 'scroll-mb': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Margin Left\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-ml': [{\n 'scroll-ml': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-p': [{\n 'scroll-p': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding Inline\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-px': [{\n 'scroll-px': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding Block\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-py': [{\n 'scroll-py': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding Inline Start\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-ps': [{\n 'scroll-ps': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding Inline End\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-pe': [{\n 'scroll-pe': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding Block Start\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-pbs': [{\n 'scroll-pbs': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding Block End\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-pbe': [{\n 'scroll-pbe': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding Top\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-pt': [{\n 'scroll-pt': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding Right\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-pr': [{\n 'scroll-pr': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding Bottom\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-pb': [{\n 'scroll-pb': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding Left\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-pl': [{\n 'scroll-pl': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Snap Align\n * @see https://tailwindcss.com/docs/scroll-snap-align\n */\n 'snap-align': [{\n snap: ['start', 'end', 'center', 'align-none']\n }],\n /**\n * Scroll Snap Stop\n * @see https://tailwindcss.com/docs/scroll-snap-stop\n */\n 'snap-stop': [{\n snap: ['normal', 'always']\n }],\n /**\n * Scroll Snap Type\n * @see https://tailwindcss.com/docs/scroll-snap-type\n */\n 'snap-type': [{\n snap: ['none', 'x', 'y', 'both']\n }],\n /**\n * Scroll Snap Type Strictness\n * @see https://tailwindcss.com/docs/scroll-snap-type\n */\n 'snap-strictness': [{\n snap: ['mandatory', 'proximity']\n }],\n /**\n * Touch Action\n * @see https://tailwindcss.com/docs/touch-action\n */\n touch: [{\n touch: ['auto', 'none', 'manipulation']\n }],\n /**\n * Touch Action X\n * @see https://tailwindcss.com/docs/touch-action\n */\n 'touch-x': [{\n 'touch-pan': ['x', 'left', 'right']\n }],\n /**\n * Touch Action Y\n * @see https://tailwindcss.com/docs/touch-action\n */\n 'touch-y': [{\n 'touch-pan': ['y', 'up', 'down']\n }],\n /**\n * Touch Action Pinch Zoom\n * @see https://tailwindcss.com/docs/touch-action\n */\n 'touch-pz': ['touch-pinch-zoom'],\n /**\n * User Select\n * @see https://tailwindcss.com/docs/user-select\n */\n select: [{\n select: ['none', 'text', 'all', 'auto']\n }],\n /**\n * Will Change\n * @see https://tailwindcss.com/docs/will-change\n */\n 'will-change': [{\n 'will-change': ['auto', 'scroll', 'contents', 'transform', isArbitraryVariable, isArbitraryValue]\n }],\n // -----------\n // --- SVG ---\n // -----------\n /**\n * Fill\n * @see https://tailwindcss.com/docs/fill\n */\n fill: [{\n fill: ['none', ...scaleColor()]\n }],\n /**\n * Stroke Width\n * @see https://tailwindcss.com/docs/stroke-width\n */\n 'stroke-w': [{\n stroke: [isNumber, isArbitraryVariableLength, isArbitraryLength, isArbitraryNumber]\n }],\n /**\n * Stroke\n * @see https://tailwindcss.com/docs/stroke\n */\n stroke: [{\n stroke: ['none', ...scaleColor()]\n }],\n // ---------------------\n // --- Accessibility ---\n // ---------------------\n /**\n * Forced Color Adjust\n * @see https://tailwindcss.com/docs/forced-color-adjust\n */\n 'forced-color-adjust': [{\n 'forced-color-adjust': ['auto', 'none']\n }]\n },\n conflictingClassGroups: {\n 'container-named': ['container-type'],\n overflow: ['overflow-x', 'overflow-y'],\n overscroll: ['overscroll-x', 'overscroll-y'],\n inset: ['inset-x', 'inset-y', 'inset-bs', 'inset-be', 'start', 'end', 'top', 'right', 'bottom', 'left'],\n 'inset-x': ['right', 'left'],\n 'inset-y': ['top', 'bottom'],\n flex: ['basis', 'grow', 'shrink'],\n gap: ['gap-x', 'gap-y'],\n p: ['px', 'py', 'ps', 'pe', 'pbs', 'pbe', 'pt', 'pr', 'pb', 'pl'],\n px: ['pr', 'pl'],\n py: ['pt', 'pb'],\n m: ['mx', 'my', 'ms', 'me', 'mbs', 'mbe', 'mt', 'mr', 'mb', 'ml'],\n mx: ['mr', 'ml'],\n my: ['mt', 'mb'],\n size: ['w', 'h'],\n 'font-size': ['leading'],\n 'fvn-normal': ['fvn-ordinal', 'fvn-slashed-zero', 'fvn-figure', 'fvn-spacing', 'fvn-fraction'],\n 'fvn-ordinal': ['fvn-normal'],\n 'fvn-slashed-zero': ['fvn-normal'],\n 'fvn-figure': ['fvn-normal'],\n 'fvn-spacing': ['fvn-normal'],\n 'fvn-fraction': ['fvn-normal'],\n 'line-clamp': ['display', 'overflow'],\n rounded: ['rounded-s', 'rounded-e', 'rounded-t', 'rounded-r', 'rounded-b', 'rounded-l', 'rounded-ss', 'rounded-se', 'rounded-ee', 'rounded-es', 'rounded-tl', 'rounded-tr', 'rounded-br', 'rounded-bl'],\n 'rounded-s': ['rounded-ss', 'rounded-es'],\n 'rounded-e': ['rounded-se', 'rounded-ee'],\n 'rounded-t': ['rounded-tl', 'rounded-tr'],\n 'rounded-r': ['rounded-tr', 'rounded-br'],\n 'rounded-b': ['rounded-br', 'rounded-bl'],\n 'rounded-l': ['rounded-tl', 'rounded-bl'],\n 'border-spacing': ['border-spacing-x', 'border-spacing-y'],\n 'border-w': ['border-w-x', 'border-w-y', 'border-w-s', 'border-w-e', 'border-w-bs', 'border-w-be', 'border-w-t', 'border-w-r', 'border-w-b', 'border-w-l'],\n 'border-w-x': ['border-w-r', 'border-w-l'],\n 'border-w-y': ['border-w-t', 'border-w-b'],\n 'border-color': ['border-color-x', 'border-color-y', 'border-color-s', 'border-color-e', 'border-color-bs', 'border-color-be', 'border-color-t', 'border-color-r', 'border-color-b', 'border-color-l'],\n 'border-color-x': ['border-color-r', 'border-color-l'],\n 'border-color-y': ['border-color-t', 'border-color-b'],\n translate: ['translate-x', 'translate-y', 'translate-none'],\n 'translate-none': ['translate', 'translate-x', 'translate-y', 'translate-z'],\n 'scroll-m': ['scroll-mx', 'scroll-my', 'scroll-ms', 'scroll-me', 'scroll-mbs', 'scroll-mbe', 'scroll-mt', 'scroll-mr', 'scroll-mb', 'scroll-ml'],\n 'scroll-mx': ['scroll-mr', 'scroll-ml'],\n 'scroll-my': ['scroll-mt', 'scroll-mb'],\n 'scroll-p': ['scroll-px', 'scroll-py', 'scroll-ps', 'scroll-pe', 'scroll-pbs', 'scroll-pbe', 'scroll-pt', 'scroll-pr', 'scroll-pb', 'scroll-pl'],\n 'scroll-px': ['scroll-pr', 'scroll-pl'],\n 'scroll-py': ['scroll-pt', 'scroll-pb'],\n touch: ['touch-x', 'touch-y', 'touch-pz'],\n 'touch-x': ['touch'],\n 'touch-y': ['touch'],\n 'touch-pz': ['touch']\n },\n conflictingClassGroupModifiers: {\n 'font-size': ['leading']\n },\n postfixLookupClassGroups: ['container-type'],\n orderSensitiveModifiers: ['*', '**', 'after', 'backdrop', 'before', 'details-content', 'file', 'first-letter', 'first-line', 'marker', 'placeholder', 'selection']\n };\n};\n\n/**\n * @param baseConfig Config where other config will be merged into. This object will be mutated.\n * @param configExtension Partial config to merge into the `baseConfig`.\n */\nconst mergeConfigs = (baseConfig, {\n cacheSize,\n prefix,\n experimentalParseClassName,\n extend = {},\n override = {}\n}) => {\n overrideProperty(baseConfig, 'cacheSize', cacheSize);\n overrideProperty(baseConfig, 'prefix', prefix);\n overrideProperty(baseConfig, 'experimentalParseClassName', experimentalParseClassName);\n overrideConfigProperties(baseConfig.theme, override.theme);\n overrideConfigProperties(baseConfig.classGroups, override.classGroups);\n overrideConfigProperties(baseConfig.conflictingClassGroups, override.conflictingClassGroups);\n overrideConfigProperties(baseConfig.conflictingClassGroupModifiers, override.conflictingClassGroupModifiers);\n overrideProperty(baseConfig, 'postfixLookupClassGroups', override.postfixLookupClassGroups);\n overrideProperty(baseConfig, 'orderSensitiveModifiers', override.orderSensitiveModifiers);\n mergeConfigProperties(baseConfig.theme, extend.theme);\n mergeConfigProperties(baseConfig.classGroups, extend.classGroups);\n mergeConfigProperties(baseConfig.conflictingClassGroups, extend.conflictingClassGroups);\n mergeConfigProperties(baseConfig.conflictingClassGroupModifiers, extend.conflictingClassGroupModifiers);\n mergeArrayProperties(baseConfig, extend, 'postfixLookupClassGroups');\n mergeArrayProperties(baseConfig, extend, 'orderSensitiveModifiers');\n return baseConfig;\n};\nconst overrideProperty = (baseObject, overrideKey, overrideValue) => {\n if (overrideValue !== undefined) {\n baseObject[overrideKey] = overrideValue;\n }\n};\nconst overrideConfigProperties = (baseObject, overrideObject) => {\n if (overrideObject) {\n for (const key in overrideObject) {\n overrideProperty(baseObject, key, overrideObject[key]);\n }\n }\n};\nconst mergeConfigProperties = (baseObject, mergeObject) => {\n if (mergeObject) {\n for (const key in mergeObject) {\n mergeArrayProperties(baseObject, mergeObject, key);\n }\n }\n};\nconst mergeArrayProperties = (baseObject, mergeObject, key) => {\n const mergeValue = mergeObject[key];\n if (mergeValue !== undefined) {\n baseObject[key] = baseObject[key] ? baseObject[key].concat(mergeValue) : mergeValue;\n }\n};\nconst extendTailwindMerge = (configExtension, ...createConfig) => typeof configExtension === 'function' ? createTailwindMerge(getDefaultConfig, configExtension, ...createConfig) : createTailwindMerge(() => mergeConfigs(getDefaultConfig(), configExtension), ...createConfig);\nconst twMerge = /*#__PURE__*/createTailwindMerge(getDefaultConfig);\nexport { createTailwindMerge, extendTailwindMerge, fromTheme, getDefaultConfig, mergeConfigs, twJoin, twMerge, validators };\n//# sourceMappingURL=bundle-mjs.mjs.map\n","import { type ClassValue, clsx } from \"clsx\";\nimport { extendTailwindMerge } from \"tailwind-merge\";\n\nconst customTwMerge = extendTailwindMerge({\n prefix: \"nm:\",\n});\n\nexport function cn(...inputs: ClassValue[]) {\n return customTwMerge(clsx(inputs));\n}\n","import * as React from \"react\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport {\n Button as AriaButton,\n composeRenderProps,\n type ButtonProps as AriaButtonProps,\n} from \"react-aria-components\";\n\nimport { cn } from \"@/lib/utils\";\n\nconst buttonVariants = cva(\n [\n // Base Styles\n \"nm:font-btn nm:text-btn nm:inline-flex nm:items-center nm:justify-center nm:whitespace-nowrap nm:ring-offset-background nm:transition-colors\",\n // Disabled State\n \"nm:data-disabled:pointer-events-none nm:data-disabled:bg-btn-bg-disabled nm:data-disabled:text-btn-fg-disabled\",\n // Focus Visible State\n \"nm:data-focus-visible:outline-none nm:data-focus-visible:ring-2 nm:data-focus-visible:ring-ring nm:data-focus-visible:ring-offset-2\",\n // Resets\n \"nm:focus-visible:outline-none\",\n // Cursor pointer\n \"nm:cursor-pointer\",\n ],\n {\n variants: {\n variant: {\n default:\n \"nm:bg-btn-primary-bg nm:text-btn-primary-fg nm:data-hovered:opacity-90\",\n destructive:\n \" nm:bg-btn-destructive-bg nm:text-btn-destructive-fg nm:border nm:border-btn-destructive-border nm:data-hovered:bg-btn-destructive-bg-hover nm:data-hovered:text-btn-destructive-fg-hover nm:data-hovered:opacity-btn-destructive-hover nm:data-pressed:scale-btn-destructive-active\",\n outline:\n \"nm:border nm:border-btn-outline-border nm:bg-btn-outline-bg nm:text-btn-outline-fg nm:data-hovered:bg-accent nm:data-hovered:text-accent-foreground\",\n secondary:\n \"nm:bg-btn-secondary-bg nm:text-btn-secondary-fg nm:data-hovered:bg-btn-secondary-bg-hover nm:data-hovered:text-btn-secondary-fg-hover\",\n ghost:\n \"nm:data-hovered:bg-accent nm:data-hovered:text-accent-foreground\",\n link: \"nm:text-primary nm:underline-offset-4 nm:data-hovered:underline\",\n },\n size: {\n default: \"nm:h-10 nm:px-4 nm:py-2 nm:rounded-md\",\n sm: \"nm:h-9 nm:rounded-btn-sm nm:px-btn-sm-x nm:py-btn-sm-y\",\n md: \"nm:h-10 nm:rounded-btn-md nm:px-btn-md-x nm:py-btn-md-y\",\n lg: \"nm:h-11 nm:px-8 nm:py-2 nm:rounded-lg\",\n icon: \"nm:h-10 nm:w-10\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n size: \"default\",\n },\n }\n);\n\ninterface ButtonProps\n extends AriaButtonProps,\n VariantProps<typeof buttonVariants> {}\n\nconst Button = React.forwardRef<HTMLButtonElement, ButtonProps>(\n ({ className, variant, size, ...props }, ref) => {\n return (\n <AriaButton\n ref={ref}\n {...props}\n className={composeRenderProps(className, (className) =>\n cn(\n buttonVariants({\n variant,\n size,\n className,\n })\n )\n )}\n />\n );\n }\n);\n\nButton.displayName = \"Button\";\n\nexport { Button, buttonVariants };\nexport type { ButtonProps };\n","import { cva, type VariantProps } from \"class-variance-authority\";\nimport {\n FieldError as AriaFieldError,\n FieldErrorProps as AriaFieldErrorProps,\n Group as AriaGroup,\n GroupProps as AriaGroupProps,\n Label as AriaLabel,\n LabelProps as AriaLabelProps,\n Text as AriaText,\n TextProps as AriaTextProps,\n composeRenderProps,\n} from \"react-aria-components\";\n\nimport { cn } from \"@/lib/utils\";\n\nconst labelVariants = cva([\n /* Typography - Using Design Tokens */\n \"nm:text-textfield-label nm:font-textfield-label nm:leading-textfield-label\",\n /* Colors */\n \"nm:text-textfield-label-fg\",\n /* Disabled */\n \"nm:data-disabled:cursor-not-allowed nm:data-disabled:opacity-70 nm:data-disabled:text-textfield-label-disabled-fg\",\n /* Invalid */\n \"group-nm:data-[invalid]:text-textfield-label-error-fg\",\n]);\n\nconst Label = ({ className, ...props }: AriaLabelProps) => (\n <AriaLabel className={cn(labelVariants(), className)} {...props} />\n);\n\nfunction FormDescription({ className, ...props }: AriaTextProps) {\n return (\n <AriaText\n className={cn(\n \"nm:text-textfield-helper nm:font-textfield-helper nm:leading-textfield-helper nm:text-textfield-helper-fg\",\n className\n )}\n {...props}\n slot=\"description\"\n />\n );\n}\n\nfunction FieldError({ className, ...props }: AriaFieldErrorProps) {\n return (\n <AriaFieldError\n className={cn(\n \"nm:text-textfield-helper nm:font-textfield-helper nm:leading-textfield-helper nm:text-textfield-helper-error-fg\",\n className\n )}\n {...props}\n />\n );\n}\n\nconst fieldGroupVariants = cva(\"\", {\n variants: {\n variant: {\n default: [\n /* Layout */\n \"nm:relative nm:flex nm:w-full nm:items-center nm:overflow-hidden\",\n /* Sizing - Using Design Tokens */\n \"nm:h-textfield-group-height nm:px-textfield-group-x\",\n /* Typography - Using Design Tokens */\n \"nm:text-textfield\",\n /* Border & Radius - Using Design Tokens */\n \"nm:rounded-textfield-group nm:border\",\n /* Colors - Base Styles */\n \"nm:border-textfield-border nm:bg-textfield-bg\",\n /* Effects */\n \"nm:ring-offset-background\",\n /* Focus Within */\n \"nm:data-focus-within:outline-none nm:data-focus-within:ring-2 nm:data-focus-within:ring-textfield-focus-ring nm:data-focus-within:ring-offset-2\",\n /* Disabled */\n \"nm:data-disabled:opacity-50 nm:data-disabled:bg-textfield-disabled-bg\",\n ],\n ghost: \"\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n },\n});\n\ninterface GroupProps\n extends AriaGroupProps,\n VariantProps<typeof fieldGroupVariants> {}\n\nfunction FieldGroup({ className, variant, ...props }: GroupProps) {\n return (\n <AriaGroup\n className={composeRenderProps(className, (className) =>\n cn(fieldGroupVariants({ variant }), className)\n )}\n {...props}\n />\n );\n}\n\nexport {\n Label,\n labelVariants,\n FieldGroup,\n fieldGroupVariants,\n FieldError,\n FormDescription,\n};\n","\"use client\";\n\nimport * as React from \"react\";\nimport {\n Input as AriaInput,\n InputProps as AriaInputProps,\n TextArea as AriaTextArea,\n TextAreaProps as AriaTextAreaProps,\n TextField as AriaTextField,\n TextFieldProps as AriaTextFieldProps,\n ValidationResult as AriaValidationResult,\n composeRenderProps,\n Text,\n} from \"react-aria-components\";\n\nimport { cn } from \"@/lib/utils\";\n\nimport { FieldError, Label } from \"./Field\";\n\nconst TextField = AriaTextField;\n\nexport interface InputProps extends AriaInputProps {\n className?: AriaInputProps[\"className\"];\n}\nconst Input = ({ className, ...props }: InputProps) => {\n return (\n <AriaInput\n className={composeRenderProps(className, (className) =>\n cn(\n /* Layout & Display */\n \"nm:flex nm:w-full\",\n /* Sizing */\n \"nm:h-11 nm:px-3 nm:py-3\",\n /* Typography */\n \"nm:text-base nm:font-normal nm:leading-normal\",\n /* Border & Radius */\n \"nm:rounded nm:border\",\n /* Colors - Base State */\n \"nm:border-neutral-300 nm:text-foreground nm:bg-white\",\n /* Effects */\n \"nm:ring-offset-background nm:transition-colors\",\n /* File Input Reset */\n \"nm:file:border-0 nm:file:bg-transparent nm:file:text-sm nm:file:font-medium\",\n /* Placeholder */\n \"nm:placeholder:opacity-100 nm:placeholder:text-muted-foreground\",\n /* Disabled State */\n \"nm:data-disabled:cursor-not-allowed nm:data-disabled:opacity-50 nm:data-disabled:bg-muted nm:data-disabled:text-muted-foreground nm:data-disabled:border-neutral-200\",\n /* Focused State */\n \"nm:data-focused:outline-none nm:data-focused:ring-2 nm:data-focused:ring-blue-500 nm:data-focused:ring-offset-2 nm:data-focused:bg-white nm:data-focused:text-foreground nm:data-focused:border-blue-500\",\n /* Resets */\n \"nm:focus-visible:outline-none\",\n className\n )\n )}\n {...props}\n />\n );\n};\n\nconst TextArea = ({ className, ...props }: AriaTextAreaProps) => {\n return (\n <AriaTextArea\n className={composeRenderProps(className, (className) =>\n cn(\n /* Layout & Display */\n \"nm:flex nm:w-full\",\n /* Sizing */\n \"nm:min-h-20 nm:px-3 nm:py-3\",\n /* Typography */\n \"nm:text-base nm:font-normal nm:leading-normal\",\n /* Border & Radius */\n \"nm:rounded nm:border\",\n /* Colors - Base State */\n \"nm:border-neutral-300 nm:text-foreground nm:bg-white\",\n /* Effects */\n \"nm:ring-offset-background nm:transition-colors\",\n /* Placeholder */\n \"nm:placeholder:opacity-100 nm:placeholder:text-muted-foreground\",\n /* Focused State */\n \"nm:data-focused:outline-none nm:data-focused:ring-2 nm:data-focused:ring-blue-500 nm:data-focused:ring-offset-2 nm:data-focused:bg-white nm:data-focused:text-foreground nm:data-focused:border-blue-500\",\n /* Disabled State */\n \"nm:data-disabled:cursor-not-allowed nm:data-disabled:opacity-50 nm:data-disabled:bg-muted nm:data-disabled:text-muted-foreground nm:data-disabled:border-neutral-200\",\n /* Resets */\n \"nm:focus-visible:outline-none\",\n className\n )\n )}\n {...props}\n />\n );\n};\n\ninterface WrappedFieldProps extends AriaTextFieldProps {\n label?: string;\n description?: string;\n errorMessage?: string | ((validation: AriaValidationResult) => string);\n textArea?: boolean;\n placeholder?: string;\n}\n\nfunction WrappedField({\n label,\n description,\n errorMessage,\n textArea,\n className,\n placeholder,\n ...props\n}: WrappedFieldProps) {\n return (\n <TextField\n className={composeRenderProps(className, (className) =>\n cn(\"nm:font-sans nm:group nm:flex nm:flex-col nm:gap-2\", className)\n )}\n {...props}\n >\n <Label>{label}</Label>\n {textArea ? (\n <TextArea placeholder={placeholder} />\n ) : (\n <Input placeholder={placeholder} />\n )}\n {description && (\n <Text\n className=\"nm:text-sm nm:font-normal nm:leading-normal nm:text-muted-foreground\"\n slot=\"description\"\n >\n {description}\n </Text>\n )}\n <FieldError>{errorMessage}</FieldError>\n </TextField>\n );\n}\n\nexport { Input, TextField, WrappedField, TextArea };\nexport type { WrappedFieldProps };\n","/**\n * @license lucide-react v1.17.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nconst mergeClasses = (...classes) => classes.filter((className, index, array) => {\n return Boolean(className) && className.trim() !== \"\" && array.indexOf(className) === index;\n}).join(\" \").trim();\n\nexport { mergeClasses };\n//# sourceMappingURL=mergeClasses.mjs.map\n","/**\n * @license lucide-react v1.17.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nconst toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, \"$1-$2\").toLowerCase();\n\nexport { toKebabCase };\n//# sourceMappingURL=toKebabCase.mjs.map\n","/**\n * @license lucide-react v1.17.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nconst toCamelCase = (string) => string.replace(\n /^([A-Z])|[\\s-_]+(\\w)/g,\n (match, p1, p2) => p2 ? p2.toUpperCase() : p1.toLowerCase()\n);\n\nexport { toCamelCase };\n//# sourceMappingURL=toCamelCase.mjs.map\n","/**\n * @license lucide-react v1.17.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport { toCamelCase } from './toCamelCase.mjs';\n\nconst toPascalCase = (string) => {\n const camelCase = toCamelCase(string);\n return camelCase.charAt(0).toUpperCase() + camelCase.slice(1);\n};\n\nexport { toPascalCase };\n//# sourceMappingURL=toPascalCase.mjs.map\n","/**\n * @license lucide-react v1.17.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nvar defaultAttributes = {\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n stroke: \"currentColor\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n};\n\nexport { defaultAttributes as default };\n//# sourceMappingURL=defaultAttributes.mjs.map\n","/**\n * @license lucide-react v1.17.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nconst hasA11yProp = (props) => {\n for (const prop in props) {\n if (prop.startsWith(\"aria-\") || prop === \"role\" || prop === \"title\") {\n return true;\n }\n }\n return false;\n};\n\nexport { hasA11yProp };\n//# sourceMappingURL=hasA11yProp.mjs.map\n","\"use strict\";\n\"use client\";\n/**\n * @license lucide-react v1.17.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport { createContext, useContext, useMemo, createElement } from 'react';\n\nconst LucideContext = createContext({});\nfunction LucideProvider({\n children,\n size,\n color,\n strokeWidth,\n absoluteStrokeWidth,\n className\n}) {\n const value = useMemo(\n () => ({\n size,\n color,\n strokeWidth,\n absoluteStrokeWidth,\n className\n }),\n [size, color, strokeWidth, absoluteStrokeWidth, className]\n );\n return createElement(LucideContext.Provider, { value }, children);\n}\nconst useLucideContext = () => useContext(LucideContext);\n\nexport { LucideProvider, useLucideContext };\n//# sourceMappingURL=context.mjs.map\n","\"use strict\";\n\"use client\";\n/**\n * @license lucide-react v1.17.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport { forwardRef, createElement } from 'react';\nimport defaultAttributes from './defaultAttributes.mjs';\nimport { hasA11yProp } from './shared/src/utils/hasA11yProp.mjs';\nimport { mergeClasses } from './shared/src/utils/mergeClasses.mjs';\nimport { useLucideContext } from './context.mjs';\n\nconst Icon = forwardRef(\n ({ color, size, strokeWidth, absoluteStrokeWidth, className = \"\", children, iconNode, ...rest }, ref) => {\n const {\n size: contextSize = 24,\n strokeWidth: contextStrokeWidth = 2,\n absoluteStrokeWidth: contextAbsoluteStrokeWidth = false,\n color: contextColor = \"currentColor\",\n className: contextClass = \"\"\n } = useLucideContext() ?? {};\n const calculatedStrokeWidth = absoluteStrokeWidth ?? contextAbsoluteStrokeWidth ? Number(strokeWidth ?? contextStrokeWidth) * 24 / Number(size ?? contextSize) : strokeWidth ?? contextStrokeWidth;\n return createElement(\n \"svg\",\n {\n ref,\n ...defaultAttributes,\n width: size ?? contextSize ?? defaultAttributes.width,\n height: size ?? contextSize ?? defaultAttributes.height,\n stroke: color ?? contextColor,\n strokeWidth: calculatedStrokeWidth,\n className: mergeClasses(\"lucide\", contextClass, className),\n ...!children && !hasA11yProp(rest) && { \"aria-hidden\": \"true\" },\n ...rest\n },\n [\n ...iconNode.map(([tag, attrs]) => createElement(tag, attrs)),\n ...Array.isArray(children) ? children : [children]\n ]\n );\n }\n);\n\nexport { Icon as default };\n//# sourceMappingURL=Icon.mjs.map\n","/**\n * @license lucide-react v1.17.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport { forwardRef, createElement } from 'react';\nimport { mergeClasses } from './shared/src/utils/mergeClasses.mjs';\nimport { toKebabCase } from './shared/src/utils/toKebabCase.mjs';\nimport { toPascalCase } from './shared/src/utils/toPascalCase.mjs';\nimport Icon from './Icon.mjs';\n\nconst createLucideIcon = (iconName, iconNode) => {\n const Component = forwardRef(\n ({ className, ...props }, ref) => createElement(Icon, {\n ref,\n iconNode,\n className: mergeClasses(\n `lucide-${toKebabCase(toPascalCase(iconName))}`,\n `lucide-${iconName}`,\n className\n ),\n ...props\n })\n );\n Component.displayName = toPascalCase(iconName);\n return Component;\n};\n\nexport { createLucideIcon as default };\n//# sourceMappingURL=createLucideIcon.mjs.map\n","/**\n * @license lucide-react v1.17.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.mjs';\n\nconst __iconNode = [\n [\"path\", { d: \"m21 16-4 4-4-4\", key: \"f6ql7i\" }],\n [\"path\", { d: \"M17 20V4\", key: \"1ejh1v\" }],\n [\"path\", { d: \"m3 8 4-4 4 4\", key: \"11wl7u\" }],\n [\"path\", { d: \"M7 4v16\", key: \"1glfcx\" }]\n];\nconst ArrowUpDown = createLucideIcon(\"arrow-up-down\", __iconNode);\n\nexport { __iconNode, ArrowUpDown as default };\n//# sourceMappingURL=arrow-up-down.mjs.map\n","/**\n * @license lucide-react v1.17.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.mjs';\n\nconst __iconNode = [[\"path\", { d: \"M20 6 9 17l-5-5\", key: \"1gmf2c\" }]];\nconst Check = createLucideIcon(\"check\", __iconNode);\n\nexport { __iconNode, Check as default };\n//# sourceMappingURL=check.mjs.map\n","/**\n * @license lucide-react v1.17.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.mjs';\n\nconst __iconNode = [[\"path\", { d: \"m6 9 6 6 6-6\", key: \"qrunsl\" }]];\nconst ChevronDown = createLucideIcon(\"chevron-down\", __iconNode);\n\nexport { __iconNode, ChevronDown as default };\n//# sourceMappingURL=chevron-down.mjs.map\n","/**\n * @license lucide-react v1.17.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.mjs';\n\nconst __iconNode = [[\"path\", { d: \"m9 18 6-6-6-6\", key: \"mthhwq\" }]];\nconst ChevronRight = createLucideIcon(\"chevron-right\", __iconNode);\n\nexport { __iconNode, ChevronRight as default };\n//# sourceMappingURL=chevron-right.mjs.map\n","/**\n * @license lucide-react v1.17.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.mjs';\n\nconst __iconNode = [[\"circle\", { cx: \"12\", cy: \"12\", r: \"10\", key: \"1mglay\" }]];\nconst Circle = createLucideIcon(\"circle\", __iconNode);\n\nexport { __iconNode, Circle as default };\n//# sourceMappingURL=circle.mjs.map\n","/**\n * @license lucide-react v1.17.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.mjs';\n\nconst __iconNode = [[\"path\", { d: \"M5 12h14\", key: \"1ays0h\" }]];\nconst Minus = createLucideIcon(\"minus\", __iconNode);\n\nexport { __iconNode, Minus as default };\n//# sourceMappingURL=minus.mjs.map\n","/**\n * @license lucide-react v1.17.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.mjs';\n\nconst __iconNode = [\n [\"path\", { d: \"m21 21-4.34-4.34\", key: \"14j7rj\" }],\n [\"circle\", { cx: \"11\", cy: \"11\", r: \"8\", key: \"4ej97u\" }]\n];\nconst Search = createLucideIcon(\"search\", __iconNode);\n\nexport { __iconNode, Search as default };\n//# sourceMappingURL=search.mjs.map\n","/**\n * @license lucide-react v1.17.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.mjs';\n\nconst __iconNode = [\n [\"path\", { d: \"M18 6 6 18\", key: \"1bl5f8\" }],\n [\"path\", { d: \"m6 6 12 12\", key: \"d8bk6v\" }]\n];\nconst X = createLucideIcon(\"x\", __iconNode);\n\nexport { __iconNode, X as default };\n//# sourceMappingURL=x.mjs.map\n","\"use client\";\n\nimport { SearchIcon, XIcon } from \"lucide-react\";\nimport {\n Button as AriaButton,\n ButtonProps as AriaButtonProps,\n Group as AriaGroup,\n GroupProps as AriaGroupProps,\n Input as AriaInput,\n InputProps as AriaInputProps,\n SearchField as AriaSearchField,\n SearchFieldProps as AriaSearchFieldProps,\n ValidationResult as AriaValidationResult,\n composeRenderProps,\n Text,\n} from \"react-aria-components\";\n\nimport { cn } from \"@/lib/utils\";\n\nimport { FieldError, FieldGroup, Label } from \"../textfield/Field\";\n\nfunction SearchField({ className, ...props }: AriaSearchFieldProps) {\n return (\n <AriaSearchField\n className={composeRenderProps(className, (className) =>\n cn(\"group\", className)\n )}\n {...props}\n />\n );\n}\n\nfunction SearchFieldInput({ className, ...props }: AriaInputProps) {\n return (\n <AriaInput\n className={composeRenderProps(className, (className) =>\n cn(\n \"nm:min-w-0 nm:flex-1 nm:bg-searchfield-bg nm:text-searchfield-fg nm:px-2 nm:py-1.5 nm:outline nm:outline-0 nm:placeholder:text-searchfield-placeholder nm:[&::-webkit-search-cancel-button]:hidden\",\n className\n )\n )}\n {...props}\n />\n );\n}\n\nfunction SearchFieldGroup({ className, ...props }: AriaGroupProps) {\n return (\n <AriaGroup\n className={composeRenderProps(className, (className) =>\n cn(\n \"nm:flex nm:h-10 nm:w-full nm:items-center nm:overflow-hidden nm:rounded-md nm:border nm:border-searchfield-border nm:bg-searchfield-bg nm:text-searchfield-fg nm:px-3 nm:py-2 nm:text-sm nm:ring-offset-background\",\n /* Focus Within */\n \"nm:data-[focus-within]:outline-none nm:data-[focus-within]:ring-2 nm:data-[focus-within]:ring-searchfield-ring nm:data-[focus-within]:ring-offset-2\",\n /* Disabled */\n \"nm:data-[disabled]:opacity-50\",\n className\n )\n )}\n {...props}\n />\n );\n}\n\nfunction SearchFieldClear({ className, ...props }: AriaButtonProps) {\n return (\n <AriaButton\n className={composeRenderProps(className, (className) =>\n cn(\n \"nm:mr-1 nm:rounded-sm nm:opacity-70 nm:ring-offset-background nm:transition-opacity\",\n /* Hover */\n \"nm:data-[hovered]:opacity-100\",\n /* Disabled */\n \"nm:data-[disabled]:pointer-events-none\",\n /* Empty */\n \"group-nm:data-[empty]:invisible\",\n className\n )\n )}\n {...props}\n />\n );\n}\n\ninterface ComposedSearchFieldProps extends AriaSearchFieldProps {\n label?: string;\n description?: string;\n errorMessage?: string | ((validation: AriaValidationResult) => string);\n}\n\nfunction ComposedSearchField({\n label,\n description,\n className,\n errorMessage,\n ...props\n}: ComposedSearchFieldProps) {\n return (\n <SearchField\n className={composeRenderProps(className, (className) =>\n cn(\"group nm:flex nm:flex-col nm:gap-2\", className)\n )}\n {...props}\n >\n <Label>{label}</Label>\n <FieldGroup>\n <SearchIcon\n aria-hidden\n className=\"nm:size-4 nm:text-searchfield-icon-fg\"\n />\n <SearchFieldInput placeholder=\"Search...\" />\n <SearchFieldClear>\n <XIcon aria-hidden className=\"nm:size-4\" />\n </SearchFieldClear>\n </FieldGroup>\n {description && (\n <Text\n className=\"nm:text-sm nm:text-muted-foreground\"\n slot=\"description\"\n >\n {description}\n </Text>\n )}\n <FieldError>{errorMessage}</FieldError>\n </SearchField>\n );\n}\n\nexport {\n SearchField,\n SearchFieldGroup,\n SearchFieldInput,\n SearchFieldClear,\n ComposedSearchField,\n};\nexport type { ComposedSearchFieldProps };\n","import * as React from \"react\";\nimport {\n Dialog as AriaDialog,\n DialogProps as AriaDialogProps,\n DialogTrigger as AriaDialogTrigger,\n Popover as AriaPopover,\n PopoverProps as AriaPopoverProps,\n composeRenderProps,\n} from \"react-aria-components\";\n\nimport { cn } from \"@/lib/utils\";\n\nconst PopoverTrigger = AriaDialogTrigger;\n\nconst Popover = ({ className, offset = 4, ...props }: AriaPopoverProps) => (\n <AriaPopover\n offset={offset}\n className={composeRenderProps(className, (className) =>\n cn(\n /* Layout & Display */\n \"nm:outline-none\",\n /* Z-Index - Using Design Token */\n \"nm:z-popover\",\n /* Border & Radius - Using Design Tokens */\n \"nm:rounded-popover nm:border nm:border-popover-border\",\n /* Colors - Using Design Tokens */\n \"nm:bg-popover-bg nm:text-popover-fg\",\n /* Shadow - Using Design Token */\n \"nm:shadow-popover\",\n /* Entering */\n \"nm:data-entering:animate-in nm:data-entering:fade-in-0 nm:data-entering:zoom-in-95\",\n /* Exiting */\n \"nm:data-exiting:animate-out nm:data-exiting:fade-out-0 nm:data-exiting:zoom-out-95\",\n /* Placement */\n \"nm:data-[placement=bottom]:slide-in-from-top-2 nm:data-[placement=left]:slide-in-from-right-2 nm:data-[placement=right]:slide-in-from-left-2 nm:data-[placement=top]:slide-in-from-bottom-2\",\n className\n )\n )}\n {...props}\n />\n);\n\nfunction PopoverDialog({ className, ...props }: AriaDialogProps) {\n return (\n <AriaDialog\n className={cn(\n /* Layout & Display */\n \"nm:outline-0\",\n /* Spacing - Using Design Tokens */\n \"nm:p-popover-dialog nm:gap-popover-dialog-gap\",\n /* Sizing - Using Design Tokens */\n \"nm:min-w-popover-dialog-min-width nm:max-w-popover-dialog-max-width nm:min-h-popover-dialog-min-height nm:max-h-popover-dialog-max-height\",\n /* Colors - Using Design Tokens */\n \"nm:bg-popover-dialog-bg nm:text-popover-dialog-fg\",\n /* Border - Using Design Tokens */\n \"nm:rounded-popover-dialog nm:border-popover-dialog-border\",\n /* Shadow - Using Design Token */\n \"nm:shadow-popover-dialog\",\n className\n )}\n {...props}\n />\n );\n}\n\nexport { Popover, PopoverTrigger, PopoverDialog };\n","\"use client\";\n\nimport * as React from \"react\";\nimport { Check, Minus } from \"lucide-react\";\nimport {\n CheckboxButton as AriaCheckboxButton,\n CheckboxField as AriaCheckboxField,\n CheckboxGroup as AriaCheckboxGroup,\n CheckboxGroupProps as AriaCheckboxGroupProps,\n ValidationResult as AriaValidationResult,\n composeRenderProps,\n Text,\n type CheckboxFieldProps as AriaCheckboxFieldProps,\n} from \"react-aria-components\";\n\nimport { cn } from \"@/lib/utils\";\n\nimport { FieldError, Label } from \"../textfield/Field\";\n\nconst CheckboxGroup = AriaCheckboxGroup;\n\ninterface CheckboxProps extends AriaCheckboxFieldProps {\n description?: string;\n errorMessage?: string | ((validation: AriaValidationResult) => string);\n}\n\nconst Checkbox = ({\n className,\n children,\n description,\n errorMessage,\n ...props\n}: CheckboxProps) => (\n <AriaCheckboxField\n className={composeRenderProps(className, (className) =>\n cn(\n /* Layout — stacks the control above optional description/error */\n \"nm:flex nm:flex-col nm:gap-1\",\n /* Disabled */\n \"nm:data-disabled:cursor-not-allowed nm:data-disabled:opacity-70\",\n className\n )\n )}\n {...props}\n >\n <AriaCheckboxButton className=\"group/checkbox nm:flex nm:items-center nm:gap-x-2\">\n {composeRenderProps(children, (children, renderProps) => (\n <>\n <div\n className={cn(\n \"nm:flex nm:size-4 nm:shrink-0 nm:items-center nm:justify-center nm:rounded-sm nm:border nm:border-primary nm:text-current nm:ring-offset-background\",\n /* Focus Visible */\n \"nm:group-data-focus-visible/checkbox:outline-none nm:group-data-focus-visible/checkbox:ring-2 nm:group-data-focus-visible/checkbox:ring-ring nm:group-data-focus-visible/checkbox:ring-offset-2\",\n /* Selected */\n \"nm:group-data-indeterminate/checkbox:bg-primary nm:group-data-selected/checkbox:bg-primary nm:group-data-indeterminate/checkbox:text-primary-foreground nm:group-data-selected/checkbox:text-primary-foreground\",\n /* Disabled */\n \"nm:group-data-disabled/checkbox:cursor-not-allowed nm:group-data-disabled/checkbox:opacity-50\",\n /* Invalid */\n \"nm:group-data-invalid/checkbox:border-destructive nm:group-data-invalid/checkbox:group-data-selected/checkbox:bg-destructive nm:group-data-invalid/checkbox:group-data-selected/checkbox:text-destructive-foreground\",\n /* Resets */\n \"nm:focus:outline-none nm:focus-visible:outline-none\"\n )}\n >\n {renderProps.isIndeterminate ? (\n <Minus className=\"nm:size-4\" />\n ) : renderProps.isSelected ? (\n <Check className=\"nm:size-4\" />\n ) : null}\n </div>\n {children}\n </>\n ))}\n </AriaCheckboxButton>\n {description && (\n <Text className=\"nm:text-sm nm:text-muted-foreground\" slot=\"description\">\n {description}\n </Text>\n )}\n <FieldError>{errorMessage}</FieldError>\n </AriaCheckboxField>\n);\n\ninterface ComposedCheckboxGroupProps extends AriaCheckboxGroupProps {\n label?: string;\n description?: string;\n errorMessage?: string | ((validation: AriaValidationResult) => string);\n}\n\nfunction ComposedCheckboxGroup({\n label,\n description,\n errorMessage,\n className,\n children,\n ...props\n}: ComposedCheckboxGroupProps) {\n return (\n <CheckboxGroup\n className={composeRenderProps(className, (className) =>\n cn(\"group nm:flex nm:flex-col nm:gap-2\", className)\n )}\n {...props}\n >\n {composeRenderProps(children, (children) => (\n <>\n <Label>{label}</Label>\n {children}\n {description && (\n <Text\n className=\"nm:text-sm nm:text-muted-foreground\"\n slot=\"description\"\n >\n {description}\n </Text>\n )}\n <FieldError>{errorMessage}</FieldError>\n </>\n ))}\n </CheckboxGroup>\n );\n}\n\nexport { Checkbox, CheckboxGroup, ComposedCheckboxGroup };\nexport type { CheckboxProps, ComposedCheckboxGroupProps };\n","import { ArrowUpDown } from \"lucide-react\";\nimport {\n Cell as AriaCell,\n Column as AriaColumn,\n ColumnProps as AriaColumnProps,\n ResizableTableContainer as AriaResizableTableContainer,\n Row as AriaRow,\n Table as AriaTable,\n TableBody as AriaTableBody,\n TableHeader as AriaTableHeader,\n CellProps,\n ColumnResizer,\n composeRenderProps,\n Group,\n RowProps,\n TableBodyProps,\n TableHeaderProps,\n TableProps,\n} from \"react-aria-components\";\n\nimport { cn } from \"@/lib/utils\";\n\nconst ResizableTableContainer = AriaResizableTableContainer;\n\nconst Table = ({ className, ...props }: TableProps) => (\n <AriaTable\n className={composeRenderProps(className, (className) =>\n cn(\n /* Layout */\n \"nm:w-full nm:caption-bottom\",\n /* Typography */\n \"nm:text-sm nm:leading-5\",\n /* Focus Ring */\n \"nm:-outline-offset-2 nm:data-focus-visible:outline-ring\",\n className\n )\n )}\n {...props}\n />\n);\n\nconst TableHeader = <T extends object>({\n className,\n ...props\n}: TableHeaderProps<T>) => (\n <AriaTableHeader\n className={composeRenderProps(className, (className) =>\n cn(\n /* Border */\n \"nm:[&_tr]:border-b nm:[&_tr]:border-neutral-200\",\n className\n )\n )}\n {...props}\n />\n);\n\nexport interface ColumnProps extends AriaColumnProps {\n isResizable?: boolean;\n}\n\nconst Column = ({ className, children, ...props }: ColumnProps) => (\n <AriaColumn\n className={composeRenderProps(className, (className) =>\n cn(\n /* Sizing */\n \"nm:h-12\",\n /* Spacing - Using Design Tokens */\n \"nm:px-table-column-x nm:py-table-column-y\",\n /* Typography */\n \"nm:text-left nm:align-middle nm:font-medium nm:text-muted-foreground\",\n /* Focus Ring */\n \"nm:-outline-offset-2 nm:data-focus-visible:outline-ring\",\n className\n )\n )}\n {...props}\n >\n {composeRenderProps(children, (children, { allowsSorting }) => (\n <div className=\"nm:flex nm:items-center\">\n <Group\n role=\"presentation\"\n tabIndex={-1}\n className={cn(\n /* Layout */\n \"nm:flex nm:flex-1 nm:items-center nm:overflow-hidden\",\n /* Sizing & Spacing */\n \"nm:h-10 nm:gap-1 nm:rounded-md nm:px-4\",\n /* Sortable Hover State */\n allowsSorting &&\n \"nm:p-2 nm:data-hovered:bg-accent nm:data-hovered:text-accent-foreground\",\n /* Focus Ring */\n \"nm:focus-visible:outline-none nm:data-focus-visible:-outline-offset-2 nm:data-focus-visible:outline-ring nm:[&:has([slot=selection])]:pr-0\"\n )}\n >\n <span className=\"nm:truncate\">{children}</span>\n {allowsSorting && <ArrowUpDown className=\"nm:ml-2 nm:size-4\" />}\n </Group>\n {props.isResizable && (\n <ColumnResizer className=\"nm:box-content nm:h-5 nm:w-px nm:translate-x-2 nm:cursor-col-resize nm:rounded-sm nm:bg-muted-foreground nm:bg-clip-content nm:px-2 nm:py-0 nm:focus-visible:outline-none nm:data-resizing:w-0.5 nm:data-resizing:bg-primary nm:data-resizing:pl-1.5 nm:data-focus-visible:ring-1 nm:data-focus-visible:ring-ring\" />\n )}\n </div>\n ))}\n </AriaColumn>\n);\n\nconst TableBody = <T extends object>({\n className,\n ...props\n}: TableBodyProps<T>) => (\n <AriaTableBody\n className={composeRenderProps(className, (className) =>\n cn(\n /* Focus Ring */\n \"nm:-outline-offset-2 nm:data-focus-visible:outline-ring\",\n /* Empty State */\n \"nm:data-empty:h-24 nm:data-empty:text-center\",\n /* Last Row Border */\n \"nm:[&_tr:last-child]:border-0\",\n className\n )\n )}\n {...props}\n />\n);\n\nconst Row = <T extends object>({ className, ...props }: RowProps<T>) => (\n <AriaRow\n className={composeRenderProps(className, (className) =>\n cn(\n /* Border - Using Design Token */\n \"nm:border-b nm:border-b-table-row-border-color\",\n /* Transition */\n \"nm:transition-colors\",\n /* States */\n \"nm:data-hovered:bg-muted/50 nm:data-selected:bg-muted\",\n /* Focus Ring */\n \"nm:-outline-offset-2 nm:data-focus-visible:outline-ring\",\n className\n )\n )}\n {...props}\n />\n);\n\nconst Cell = ({ className, ...props }: CellProps) => (\n <AriaCell\n className={composeRenderProps(className, (className) =>\n cn(\n /* Spacing - Using Design Token */\n \"nm:px-table-cell-x nm:py-table-cell-y\",\n /* Alignment */\n \"nm:align-middle\",\n /* Focus Ring */\n \"nm:-outline-offset-2 nm:data-focus-visible:outline-ring\",\n /* Checkbox Cell */\n \"nm:[&:has([role=checkbox])]:pr-0\",\n className\n )\n )}\n {...props}\n />\n);\n\nexport {\n Table,\n TableHeader,\n Column,\n TableBody,\n Row,\n Cell,\n ResizableTableContainer,\n};\n","import { Check } from \"lucide-react\";\nimport {\n Collection as AriaCollection,\n Header as AriaHeader,\n ListBox as AriaListBox,\n ListBoxItem as AriaListBoxItem,\n ListBoxItemProps as AriaListBoxItemProps,\n ListBoxProps as AriaListBoxProps,\n ListBoxSection as AriaListBoxSection,\n composeRenderProps,\n} from \"react-aria-components\";\n\nimport { cn } from \"@/lib/utils\";\n\nconst ListBoxSection = AriaListBoxSection;\n\nconst ListBoxCollection = AriaCollection;\n\nfunction ListBox<T extends object>({\n className,\n ...props\n}: AriaListBoxProps<T>) {\n return (\n <AriaListBox\n className={composeRenderProps(className, (className) =>\n cn(\n className,\n \"nm:group nm:overflow-auto nm:rounded-md nm:border nm:border-listbox-border nm:bg-listbox-bg nm:p-1 nm:text-listbox-fg nm:shadow-md nm:outline-none\",\n /* Empty */\n \"nm:data-empty:p-6 nm:data-empty:text-center nm:data-empty:text-sm\"\n )\n )}\n {...props}\n />\n );\n}\n\nconst ListBoxItem = <T extends object>({\n className,\n children,\n ...props\n}: AriaListBoxItemProps<T>) => {\n return (\n <AriaListBoxItem\n textValue={\n props.textValue || (typeof children === \"string\" ? children : undefined)\n }\n className={composeRenderProps(className, (className) =>\n cn(\n \"nm:relative nm:flex nm:w-full nm:cursor-default nm:select-none nm:items-center nm:rounded-sm nm:px-2 nm:py-1.5 nm:text-sm nm:text-listbox-item-fg nm:outline-none\",\n /* Disabled */\n \"nm:data-disabled:pointer-events-none nm:data-disabled:opacity-50\",\n /* Focus */\n \"nm:data-focused:bg-listbox-item-focused-bg nm:data-focused:text-listbox-item-focused-fg\",\n /* Hover */\n \"nm:data-hovered:bg-listbox-item-hovered-bg nm:data-hovered:text-listbox-item-hovered-fg\",\n /* Selection Mode */\n \"nm:data-selection-mode:pl-8\",\n className\n )\n )}\n {...props}\n >\n {composeRenderProps(children, (children, renderProps) => (\n <>\n {renderProps.isSelected && (\n <span className=\"nm:absolute nm:left-2 nm:flex nm:size-4 nm:items-center nm:justify-center\">\n <Check className=\"nm:size-4\" />\n </span>\n )}\n {children}\n </>\n ))}\n </AriaListBoxItem>\n );\n};\n\nfunction ListBoxHeader({\n className,\n ...props\n}: React.ComponentProps<typeof AriaHeader>) {\n return (\n <AriaHeader\n className={cn(\n \"nm:py-1.5 nm:pl-8 nm:pr-2 nm:text-sm nm:font-semibold\",\n className\n )}\n {...props}\n />\n );\n}\n\nexport {\n ListBox,\n ListBoxItem,\n ListBoxHeader,\n ListBoxSection,\n ListBoxCollection,\n};\n","import { ChevronDown } from \"lucide-react\";\nimport {\n Button as AriaButton,\n ButtonProps as AriaButtonProps,\n ListBox as AriaListBox,\n ListBoxProps as AriaListBoxProps,\n PopoverProps as AriaPopoverProps,\n Select as AriaSelect,\n SelectProps as AriaSelectProps,\n SelectValue as AriaSelectValue,\n SelectValueProps as AriaSelectValueProps,\n ValidationResult as AriaValidationResult,\n composeRenderProps,\n Text,\n} from \"react-aria-components\";\n\nimport { cn } from \"@/lib/utils\";\n\nimport { FieldError, Label } from \"@/components/textfield/Field\";\nimport {\n ListBoxCollection,\n ListBoxHeader,\n ListBoxItem,\n ListBoxSection,\n} from \"@/components/list-box/List-box\";\nimport { Popover } from \"@/components/popover/Popover\";\n\nconst Select = AriaSelect;\n\nconst SelectItem = ListBoxItem;\n\nconst SelectHeader = ListBoxHeader;\n\nconst SelectSection = ListBoxSection;\n\nconst SelectCollection = ListBoxCollection;\n\nconst SelectValue = <T extends object>({\n className,\n ...props\n}: AriaSelectValueProps<T>) => (\n <AriaSelectValue\n className={composeRenderProps(className, (className) =>\n cn(\n \"nm:line-clamp-1 nm:data-[placeholder]:text-select-placeholder-fg\",\n /* Description */\n \"nm:[&>[slot=description]]:hidden\",\n className\n )\n )}\n {...props}\n />\n);\n\nconst SelectTrigger = ({ className, children, ...props }: AriaButtonProps) => (\n <AriaButton\n className={composeRenderProps(className, (className) =>\n cn(\n \"nm:flex nm:h-10 nm:w-full nm:items-center nm:justify-between nm:rounded-md nm:border nm:border-select-trigger-border nm:bg-select-trigger-bg nm:text-select-trigger-fg nm:px-3 nm:py-2 nm:text-sm nm:ring-offset-background\",\n /* Disabled */\n \"nm:data-[disabled]:cursor-not-allowed nm:data-[disabled]:opacity-50\",\n /* Focused */\n \"nm:data-[focus-visible]:outline-none nm:data-[focus-visible]:ring-2 nm:data-[focus-visible]:ring-select-trigger-ring nm:data-[focus-visible]:ring-offset-2\",\n /* Resets */\n \"nm:focus-visible:outline-none\",\n className\n )\n )}\n {...props}\n >\n {composeRenderProps(children, (children) => (\n <>\n {children}\n <ChevronDown aria-hidden=\"true\" className=\"nm:size-4 nm:opacity-50\" />\n </>\n ))}\n </AriaButton>\n);\n\nconst SelectPopover = ({ className, ...props }: AriaPopoverProps) => (\n <Popover\n className={composeRenderProps(className, (className) =>\n cn(\"nm:w-[--trigger-width]\", className)\n )}\n {...props}\n />\n);\n\nconst SelectListBox = <T extends object>({\n className,\n ...props\n}: AriaListBoxProps<T>) => (\n <AriaListBox\n className={composeRenderProps(className, (className) =>\n cn(\n \"nm:max-h-[inherit] nm:overflow-auto nm:p-1 nm:outline-none [clip-path:inset(0_0_0_0_round_calc(var(--radius)-2px))]\",\n className\n )\n )}\n {...props}\n />\n);\n\ninterface ComposedSelectProps<T extends object>\n extends Omit<AriaSelectProps<T>, \"children\"> {\n label?: string;\n description?: string;\n errorMessage?: string | ((validation: AriaValidationResult) => string);\n items?: Iterable<T>;\n children: React.ReactNode | ((item: T) => React.ReactNode);\n}\n\nfunction ComposedSelect<T extends object>({\n label,\n description,\n errorMessage,\n children,\n className,\n items,\n ...props\n}: ComposedSelectProps<T>) {\n return (\n <Select\n className={composeRenderProps(className, (className) =>\n cn(\"nm:group nm:flex nm:flex-col nm:gap-2\", className)\n )}\n {...props}\n >\n <Label>{label}</Label>\n <SelectTrigger>\n <SelectValue />\n </SelectTrigger>\n {description && (\n <Text\n className=\"nm:text-sm nm:text-muted-foreground\"\n slot=\"description\"\n >\n {description}\n </Text>\n )}\n <FieldError>{errorMessage}</FieldError>\n <SelectPopover>\n <SelectListBox items={items}>{children}</SelectListBox>\n </SelectPopover>\n </Select>\n );\n}\n\nexport {\n Select,\n SelectValue,\n SelectTrigger,\n SelectItem,\n SelectPopover,\n SelectHeader,\n SelectListBox,\n SelectSection,\n SelectCollection,\n ComposedSelect,\n};\nexport type { ComposedSelectProps };\n","import * as React from \"react\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport { X } from \"lucide-react\";\nimport {\n Button as AriaButton,\n Dialog as AriaDialog,\n DialogProps as AriaDialogProps,\n DialogTrigger as AriaDialogTrigger,\n Heading as AriaHeading,\n HeadingProps as AriaHeadingProps,\n Modal as AriaModal,\n ModalOverlay as AriaModalOverlay,\n ModalOverlayProps as AriaModalOverlayProps,\n composeRenderProps,\n} from \"react-aria-components\";\n\nimport { cn } from \"@/lib/utils\";\n\nconst Dialog = AriaDialog;\n\nconst sheetVariants = cva(\n [\n \"nm:fixed nm:z-50 nm:gap-4 nm:bg-background nm:shadow-lg nm:transition nm:ease-in-out\",\n /* Entering */\n \"data-[entering]:nm:duration-500 data-[entering]:nm:animate-in\",\n /* Exiting */\n \"data-[exiting]:nm:duration-300 data-[exiting]:nm:animate-out\",\n ],\n {\n variants: {\n side: {\n top: \"nm:inset-x-0 nm:top-0 nm:border-b data-[entering]:nm:slide-in-from-top data-[exiting]:nm:slide-out-to-top\",\n bottom:\n \"nm:inset-x-0 nm:bottom-0 nm:border-t data-[entering]:nm:slide-in-from-bottom data-[exiting]:nm:slide-out-to-bottom\",\n left: \"nm:inset-y-0 nm:left-0 nm:h-full nm:w-3/4 nm:border-r data-[entering]:nm:slide-in-from-left data-[exiting]:nm:slide-out-to-left sm:nm:max-w-sm\",\n right:\n \"nm:inset-y-0 nm:right-0 nm:h-full nm:w-3/4 nm:border-l data-[entering]:nm:slide-in-from-right data-[exiting]:nm:slide-out-to-right sm:nm:max-w-sm\",\n },\n },\n }\n);\n\nconst DialogTrigger = AriaDialogTrigger;\n\nconst DialogOverlay = ({\n className,\n isDismissable = true,\n ...props\n}: AriaModalOverlayProps) => (\n <AriaModalOverlay\n isDismissable={isDismissable}\n className={composeRenderProps(className, (className) =>\n cn(\n \"nm:fixed nm:inset-0 nm:z-50 nm:bg-black/80\",\n /* Exiting */\n \"data-[exiting]:nm:duration-300 data-[exiting]:nm:animate-out data-[exiting]:nm:fade-out-0\",\n /* Entering */\n \"data-[entering]:nm:animate-in data-[entering]:nm:fade-in-0\",\n className\n )\n )}\n {...props}\n />\n);\n\ninterface DialogContentProps\n extends Omit<React.ComponentProps<typeof AriaModal>, \"children\">,\n VariantProps<typeof sheetVariants> {\n children?: AriaDialogProps[\"children\"];\n role?: AriaDialogProps[\"role\"];\n closeButton?: boolean;\n}\n\nconst DialogContent = ({\n className,\n children,\n side,\n role,\n closeButton = true,\n ...props\n}: DialogContentProps) => (\n <AriaModal\n className={composeRenderProps(className, (className) =>\n cn(\n side\n ? sheetVariants({ side, className: \"nm:h-full nm:p-6\" })\n : \"nm:fixed nm:left-[50vw] nm:top-1/2 nm:z-50 nm:w-full nm:max-w-lg nm:-translate-x-1/2 nm:-translate-y-1/2 nm:border nm:bg-background nm:p-6 nm:shadow-lg nm:duration-200 data-[exiting]:nm:duration-300 data-[entering]:nm:animate-in data-[exiting]:nm:animate-out data-[entering]:nm:fade-in-0 data-[exiting]:nm:fade-out-0 data-[entering]:nm:zoom-in-95 data-[exiting]:nm:zoom-out-95 data-[entering]:nm:slide-in-from-left-1/2 data-[entering]:nm:slide-in-from-top-[48%] data-[exiting]:nm:slide-out-to-left-1/2 data-[exiting]:nm:slide-out-to-top-[48%] sm:nm:rounded-lg md:nm:w-full\",\n className\n )\n )}\n {...props}\n >\n <AriaDialog\n role={role}\n className={cn(\n !side && \"nm:grid nm:h-full nm:gap-4\",\n \"nm:h-full nm:outline-none\"\n )}\n >\n {composeRenderProps(children, (children, renderProps) => (\n <>\n {children}\n {closeButton && (\n <AriaButton\n onPress={renderProps.close}\n className=\"nm:absolute nm:right-4 nm:top-4 nm:rounded-sm nm:opacity-70 nm:ring-offset-background nm:transition-opacity data-[disabled]:nm:pointer-events-none data-[entering]:nm:bg-accent data-[entering]:nm:text-muted-foreground data-[hovered]:nm:opacity-100 data-[focused]:nm:outline-none data-[focused]:nm:ring-2 data-[focused]:nm:ring-ring data-[focused]:nm:ring-offset-2\"\n >\n <X className=\"nm:size-4\" />\n <span className=\"nm:sr-only\">Close</span>\n </AriaButton>\n )}\n </>\n ))}\n </AriaDialog>\n </AriaModal>\n);\n\nconst DialogHeader = ({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn(\n \"nm:flex nm:flex-col nm:space-y-1.5 nm:text-center sm:nm:text-left\",\n className\n )}\n {...props}\n />\n);\n\nconst DialogFooter = ({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn(\n \"nm:flex nm:flex-col-reverse sm:nm:flex-row sm:nm:justify-end sm:nm:space-x-2\",\n className\n )}\n {...props}\n />\n);\n\nconst DialogTitle = ({ className, ...props }: AriaHeadingProps) => (\n <AriaHeading\n slot=\"title\"\n className={cn(\n \"nm:text-lg nm:font-semibold nm:leading-none nm:tracking-tight\",\n className\n )}\n {...props}\n />\n);\n\nconst DialogDescription = ({\n className,\n ...props\n}: React.HTMLAttributes<HTMLParagraphElement>) => (\n <p\n className={cn(\n \"nm:flex nm:flex-col nm:space-y-1.5 nm:text-center sm:nm:text-left\",\n className\n )}\n {...props}\n />\n);\n\nexport {\n Dialog,\n DialogOverlay,\n DialogTrigger,\n DialogContent,\n DialogDescription,\n DialogHeader,\n DialogFooter,\n DialogTitle,\n};\nexport type { DialogContentProps };\n","\"use client\";\n\nimport * as React from \"react\";\nimport { VariantProps } from \"class-variance-authority\";\nimport { Check, ChevronRight, Circle } from \"lucide-react\";\nimport {\n Header as AriaHeader,\n Keyboard as AriaKeyboard,\n Menu as AriaMenu,\n MenuItem as AriaMenuItem,\n MenuItemProps as AriaMenuItemProps,\n MenuProps as AriaMenuProps,\n MenuSection as AriaMenuSection,\n MenuTrigger as AriaMenuTrigger,\n MenuTriggerProps as AriaMenuTriggerProps,\n Separator as AriaSeparator,\n SeparatorProps as AriaSeparatorProps,\n SubmenuTrigger as AriaSubmenuTrigger,\n composeRenderProps,\n PopoverProps,\n} from \"react-aria-components\";\n\nimport { cn } from \"@/lib/utils\";\n\nimport { Button, buttonVariants } from \"../button/Button\";\nimport { ListBoxCollection } from \"../list-box/List-box\";\nimport { SelectPopover } from \"../select/Select\";\n\nconst MenuTrigger = AriaMenuTrigger;\n\nconst MenuSubTrigger = AriaSubmenuTrigger;\n\nconst MenuSection = AriaMenuSection;\n\nconst MenuCollection = ListBoxCollection;\n\nfunction MenuPopover({ className, ...props }: PopoverProps) {\n return (\n <SelectPopover\n className={composeRenderProps(className, (className) =>\n cn(\"nm:w-auto\", className)\n )}\n {...props}\n />\n );\n}\n\nconst Menu = <T extends object>({ className, ...props }: AriaMenuProps<T>) => (\n <AriaMenu\n className={cn(\n \"nm:max-h-[inherit] nm:overflow-auto nm:rounded-md nm:p-1 nm:outline-0 [clip-path:inset(0_0_0_0_round_calc(var(--radius)-2px))]\",\n className\n )}\n {...props}\n />\n);\n\nconst MenuItem = ({ children, className, ...props }: AriaMenuItemProps) => (\n <AriaMenuItem\n textValue={\n props.textValue || (typeof children === \"string\" ? children : undefined)\n }\n className={composeRenderProps(className, (className) =>\n cn(\n \"nm:relative nm:flex nm:cursor-default nm:select-none nm:items-center nm:gap-2 nm:rounded-sm nm:px-2 nm:py-1.5 nm:text-sm nm:outline-none nm:transition-colors\",\n /* Disabled */\n \"data-[disabled]:nm:pointer-events-none data-[disabled]:nm:opacity-50\",\n /* Focused */\n \"data-[focused]:nm:bg-accent data-[focused]:nm:text-accent-foreground \",\n /* Selection Mode */\n \"data-[selection-mode]:nm:pl-8\",\n className\n )\n )}\n {...props}\n >\n {composeRenderProps(children, (children, renderProps) => (\n <>\n <span className=\"nm:absolute nm:left-2 nm:flex nm:size-4 nm:items-center nm:justify-center\">\n {renderProps.isSelected && (\n <>\n {renderProps.selectionMode == \"single\" && (\n <Circle className=\"nm:size-2 nm:fill-current\" />\n )}\n {renderProps.selectionMode == \"multiple\" && (\n <Check className=\"nm:size-4\" />\n )}\n </>\n )}\n </span>\n\n {children}\n\n {renderProps.hasSubmenu && (\n <ChevronRight className=\"nm:ml-auto nm:size-4\" />\n )}\n </>\n ))}\n </AriaMenuItem>\n);\n\ninterface MenuHeaderProps extends React.ComponentProps<typeof AriaHeader> {\n inset?: boolean;\n separator?: boolean;\n}\n\nconst MenuHeader = ({\n className,\n inset,\n separator = true,\n ...props\n}: MenuHeaderProps) => (\n <AriaHeader\n className={cn(\n \"nm:px-3 nm:py-1.5 nm:text-sm nm:font-semibold\",\n inset && \"nm:pl-8\",\n separator && \"nm:-mx-1 nm:mb-1 nm:border-b nm:border-b-border nm:pb-2.5\",\n className\n )}\n {...props}\n />\n);\n\nconst MenuSeparator = ({ className, ...props }: AriaSeparatorProps) => (\n <AriaSeparator\n className={cn(\"nm:-mx-1 nm:my-1 nm:h-px nm:bg-muted\", className)}\n {...props}\n />\n);\n\nconst MenuKeyboard = ({\n className,\n ...props\n}: React.ComponentProps<typeof AriaKeyboard>) => {\n return (\n <AriaKeyboard\n className={cn(\n \"nm:ml-auto nm:text-xs nm:tracking-widest nm:opacity-60\",\n className\n )}\n {...props}\n />\n );\n};\ninterface MenuWrapperProps<T>\n extends AriaMenuProps<T>,\n VariantProps<typeof buttonVariants>,\n Omit<AriaMenuTriggerProps, \"children\"> {\n label?: string;\n}\nfunction MenuWrapper<T extends object>({\n label,\n children,\n variant,\n size,\n ...props\n}: MenuWrapperProps<T>) {\n return (\n <MenuTrigger {...props}>\n <Button variant={variant} size={size}>\n {label}\n </Button>\n <MenuPopover className=\"nm:min-w-[--trigger-width]\">\n <Menu {...props}>{children}</Menu>\n </MenuPopover>\n </MenuTrigger>\n );\n}\n\nexport {\n MenuTrigger,\n Menu,\n MenuPopover,\n MenuItem,\n MenuHeader,\n MenuSeparator,\n MenuKeyboard,\n MenuSection,\n MenuSubTrigger,\n MenuCollection,\n MenuWrapper,\n};\nexport type { MenuHeaderProps, MenuWrapperProps };\n"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,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,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436],"mappings":"wtBAAA,SAAS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