@techdocs/cli 1.11.1 → 1.11.2-next.0

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.
Files changed (66) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/embedded-app/.config-schema.json +1967 -1200
  3. package/dist/embedded-app/index.html +1 -1
  4. package/dist/embedded-app/index.html.tmpl +1 -1
  5. package/dist/embedded-app/static/123.bcb96abf.chunk.js +2 -0
  6. package/dist/embedded-app/static/123.bcb96abf.chunk.js.map +1 -0
  7. package/dist/embedded-app/static/1659.fe3e020b.chunk.js +2 -0
  8. package/dist/embedded-app/static/1659.fe3e020b.chunk.js.map +1 -0
  9. package/dist/embedded-app/static/3641.2f6dbbcb.chunk.js +2 -0
  10. package/dist/embedded-app/static/3641.2f6dbbcb.chunk.js.map +1 -0
  11. package/dist/embedded-app/static/3641.3641.9c1b1a2e.css +2 -0
  12. package/dist/embedded-app/static/3641.3641.9c1b1a2e.css.map +1 -0
  13. package/dist/embedded-app/static/4587.9946f651.chunk.js +2 -0
  14. package/dist/embedded-app/static/4587.9946f651.chunk.js.map +1 -0
  15. package/dist/embedded-app/static/{5443.fa47af87.chunk.js → 5443.835e027f.chunk.js} +2 -2
  16. package/dist/embedded-app/static/{5443.fa47af87.chunk.js.map → 5443.835e027f.chunk.js.map} +1 -1
  17. package/dist/embedded-app/static/{3939.3939.44355183.css → 5954.5954.8056ed76.css} +1 -1
  18. package/dist/embedded-app/static/{3939.3939.44355183.css.map → 5954.5954.8056ed76.css.map} +1 -1
  19. package/dist/embedded-app/static/5954.f0710c0b.chunk.js +2 -0
  20. package/dist/embedded-app/static/5954.f0710c0b.chunk.js.map +1 -0
  21. package/dist/embedded-app/static/{4815.b2bde1a3.chunk.js → 7213.e2116c72.chunk.js} +2 -2
  22. package/dist/embedded-app/static/7213.e2116c72.chunk.js.map +1 -0
  23. package/dist/embedded-app/static/{7226.8c68c3d3.chunk.js → 7226.07a43ca6.chunk.js} +2 -2
  24. package/dist/embedded-app/static/7226.07a43ca6.chunk.js.map +1 -0
  25. package/dist/embedded-app/static/{7477.a970d20a.chunk.js → 7227.69beafef.chunk.js} +5 -5
  26. package/dist/embedded-app/static/7227.69beafef.chunk.js.map +1 -0
  27. package/dist/embedded-app/static/{main.728cdf6e.css → main.2a45aed3.css} +2 -2
  28. package/dist/embedded-app/static/main.2a45aed3.css.map +1 -0
  29. package/dist/embedded-app/static/main.3aa6c085.js +523 -0
  30. package/dist/embedded-app/static/main.3aa6c085.js.map +1 -0
  31. package/dist/embedded-app/static/{module-material-ui.972bd852.js → module-material-ui.0bea4977.js} +2 -2
  32. package/dist/embedded-app/static/module-material-ui.0bea4977.js.map +1 -0
  33. package/dist/embedded-app/static/module-react-aria-components.edebf589.js +2 -0
  34. package/dist/embedded-app/static/module-react-aria-components.edebf589.js.map +1 -0
  35. package/dist/embedded-app/static/module-react-aria.84a78dd1.js +13 -0
  36. package/dist/embedded-app/static/module-react-aria.84a78dd1.js.map +1 -0
  37. package/dist/embedded-app/static/{module-react-stately.97fc37eb.js → module-react-stately.3db88231.js} +2 -2
  38. package/dist/embedded-app/static/module-react-stately.3db88231.js.map +1 -0
  39. package/dist/embedded-app/static/module-remixicon.4e40b5b6.js +2 -0
  40. package/dist/embedded-app/static/{module-remixicon.0feb7353.js.map → module-remixicon.4e40b5b6.js.map} +1 -1
  41. package/dist/embedded-app/static/{runtime.8fda57a9.js → runtime.9fcbc8ae.js} +2 -2
  42. package/dist/embedded-app/static/runtime.9fcbc8ae.js.map +1 -0
  43. package/dist/package.json.cjs.js +1 -1
  44. package/package.json +7 -7
  45. package/dist/embedded-app/static/123.59719fa4.chunk.js +0 -2
  46. package/dist/embedded-app/static/123.59719fa4.chunk.js.map +0 -1
  47. package/dist/embedded-app/static/1659.6b3694d1.chunk.js +0 -2
  48. package/dist/embedded-app/static/1659.6b3694d1.chunk.js.map +0 -1
  49. package/dist/embedded-app/static/3939.265160c5.chunk.js +0 -2
  50. package/dist/embedded-app/static/3939.265160c5.chunk.js.map +0 -1
  51. package/dist/embedded-app/static/4587.baab3514.chunk.js +0 -2
  52. package/dist/embedded-app/static/4587.baab3514.chunk.js.map +0 -1
  53. package/dist/embedded-app/static/4815.b2bde1a3.chunk.js.map +0 -1
  54. package/dist/embedded-app/static/7226.8c68c3d3.chunk.js.map +0 -1
  55. package/dist/embedded-app/static/7477.a970d20a.chunk.js.map +0 -1
  56. package/dist/embedded-app/static/main.728cdf6e.css.map +0 -1
  57. package/dist/embedded-app/static/main.fbc1b502.js +0 -523
  58. package/dist/embedded-app/static/main.fbc1b502.js.map +0 -1
  59. package/dist/embedded-app/static/module-material-ui.972bd852.js.map +0 -1
  60. package/dist/embedded-app/static/module-react-aria-components.ab7cc6df.js +0 -2
  61. package/dist/embedded-app/static/module-react-aria-components.ab7cc6df.js.map +0 -1
  62. package/dist/embedded-app/static/module-react-aria.e3e38de1.js +0 -13
  63. package/dist/embedded-app/static/module-react-aria.e3e38de1.js.map +0 -1
  64. package/dist/embedded-app/static/module-react-stately.97fc37eb.js.map +0 -1
  65. package/dist/embedded-app/static/module-remixicon.0feb7353.js +0 -2
  66. package/dist/embedded-app/static/runtime.8fda57a9.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static/module-react-aria.84a78dd1.js","sources":["webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/autocomplete/intlStrings.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/autocomplete/ar-AE.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/autocomplete/bg-BG.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/autocomplete/cs-CZ.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/autocomplete/da-DK.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/autocomplete/de-DE.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/autocomplete/el-GR.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/autocomplete/en-US.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/autocomplete/es-ES.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/autocomplete/et-EE.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/autocomplete/fi-FI.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/autocomplete/fr-FR.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/autocomplete/he-IL.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/autocomplete/hr-HR.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/autocomplete/hu-HU.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/autocomplete/it-IT.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/autocomplete/ja-JP.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/autocomplete/ko-KR.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/autocomplete/lt-LT.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/autocomplete/lv-LV.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/autocomplete/nb-NO.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/autocomplete/nl-NL.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/autocomplete/pl-PL.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/autocomplete/pt-BR.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/autocomplete/pt-PT.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/autocomplete/ro-RO.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/autocomplete/ru-RU.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/autocomplete/sk-SK.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/autocomplete/sl-SI.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/autocomplete/sr-SP.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/autocomplete/sv-SE.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/autocomplete/tr-TR.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/autocomplete/uk-UA.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/autocomplete/zh-CN.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/autocomplete/zh-TW.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/autocomplete/useAutocomplete.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/breadcrumbs/intlStrings.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/breadcrumbs/ar-AE.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/breadcrumbs/bg-BG.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/breadcrumbs/cs-CZ.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/breadcrumbs/da-DK.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/breadcrumbs/de-DE.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/breadcrumbs/el-GR.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/breadcrumbs/en-US.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/breadcrumbs/es-ES.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/breadcrumbs/et-EE.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/breadcrumbs/fi-FI.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/breadcrumbs/fr-FR.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/breadcrumbs/he-IL.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/breadcrumbs/hr-HR.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/breadcrumbs/hu-HU.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/breadcrumbs/it-IT.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/breadcrumbs/ja-JP.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/breadcrumbs/ko-KR.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/breadcrumbs/lt-LT.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/breadcrumbs/lv-LV.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/breadcrumbs/nb-NO.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/breadcrumbs/nl-NL.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/breadcrumbs/pl-PL.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/breadcrumbs/pt-BR.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/breadcrumbs/pt-PT.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/breadcrumbs/ro-RO.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/breadcrumbs/ru-RU.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/breadcrumbs/sk-SK.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/breadcrumbs/sl-SI.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/breadcrumbs/sr-SP.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/breadcrumbs/sv-SE.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/breadcrumbs/tr-TR.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/breadcrumbs/uk-UA.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/breadcrumbs/zh-CN.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/breadcrumbs/zh-TW.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/breadcrumbs/useBreadcrumbs.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/button/useButton.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/collections/BaseCollection.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/collections/Document.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/collections/CollectionBuilder.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/collections/Hidden.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/collections/useCachedChildren.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/dialog/useDialog.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/disclosure/useDisclosure.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/focus/FocusScope.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/focus/useFocusRing.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/focus/useHasTabbableChild.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/focus/virtualFocus.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/form/useFormValidation.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/i18n/utils.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/i18n/useDefaultLocale.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/i18n/I18nProvider.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/i18n/useCollator.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/i18n/useLocalizedStringFormatter.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/interactions/PressResponder.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/interactions/context.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/interactions/focusSafely.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/interactions/useFocus.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/interactions/useFocusable.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/interactions/useHover.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/interactions/useInteractOutside.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/interactions/createEventHandler.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/interactions/useKeyboard.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/interactions/useLongPress.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/interactions/textSelection.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/interactions/usePress.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/interactions/utils.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/label/useField.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/label/useLabel.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/link/useLink.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/listbox/useListBox.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/listbox/useListBoxSection.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/listbox/useOption.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/listbox/utils.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/live-announcer/LiveAnnouncer.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/menu/useMenu.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/menu/useMenuItem.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/menu/useMenuSection.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/menu/intlStrings.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/menu/ar-AE.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/menu/bg-BG.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/menu/cs-CZ.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/menu/da-DK.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/menu/de-DE.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/menu/el-GR.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/menu/en-US.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/menu/es-ES.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/menu/et-EE.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/menu/fi-FI.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/menu/fr-FR.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/menu/he-IL.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/menu/hr-HR.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/menu/hu-HU.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/menu/it-IT.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/menu/ja-JP.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/menu/ko-KR.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/menu/lt-LT.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/menu/lv-LV.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/menu/nb-NO.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/menu/nl-NL.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/menu/pl-PL.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/menu/pt-BR.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/menu/pt-PT.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/menu/ro-RO.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/menu/ru-RU.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/menu/sk-SK.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/menu/sl-SI.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/menu/sr-SP.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/menu/sv-SE.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/menu/tr-TR.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/menu/uk-UA.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/menu/zh-CN.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/menu/zh-TW.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/menu/useMenuTrigger.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/overlays/useOverlayTrigger.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/menu/utils.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/overlays/ar-AE.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/overlays/intlStrings.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/overlays/da-DK.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/overlays/de-DE.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/overlays/el-GR.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/overlays/en-US.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/overlays/es-ES.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/overlays/et-EE.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/overlays/he-IL.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/overlays/it-IT.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/overlays/DismissButton.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/overlays/Overlay.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/overlays/PortalProvider.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/overlays/ariaHideOutside.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/overlays/useCloseOnScroll.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/overlays/useModal.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/overlays/useOverlay.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/overlays/calculatePosition.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/overlays/useOverlayPosition.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/overlays/usePopover.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/overlays/usePreventScroll.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/progress/useProgressBar.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/i18n/useNumberFormatter.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/searchfield/intlStrings.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/searchfield/ar-AE.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/searchfield/bg-BG.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/searchfield/cs-CZ.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/searchfield/da-DK.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/searchfield/de-DE.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/searchfield/el-GR.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/searchfield/en-US.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/searchfield/es-ES.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/searchfield/et-EE.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/searchfield/fi-FI.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/searchfield/fr-FR.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/searchfield/he-IL.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/searchfield/hr-HR.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/searchfield/hu-HU.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/searchfield/it-IT.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/searchfield/ja-JP.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/searchfield/ko-KR.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/searchfield/lt-LT.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/searchfield/lv-LV.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/searchfield/nb-NO.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/searchfield/nl-NL.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/searchfield/pl-PL.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/searchfield/pt-BR.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/searchfield/pt-PT.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/searchfield/ro-RO.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/searchfield/ru-RU.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/searchfield/sk-SK.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/searchfield/sl-SI.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/searchfield/sr-SP.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/searchfield/sv-SE.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/searchfield/tr-TR.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/searchfield/uk-UA.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/searchfield/zh-CN.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/searchfield/zh-TW.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/searchfield/useSearchField.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/textfield/useTextField.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/selection/ListKeyboardDelegate.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/selection/useSelectableCollection.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/selection/useSelectableItem.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/selection/useSelectableList.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/selection/useTypeSelect.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/selection/utils.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/separator/useSeparator.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/ssr/SSRProvider.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/tabs/useTab.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/tabs/useTabList.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/tabs/useTabPanel.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/tabs/utils.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/toast/ar-AE.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/toast/intlStrings.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/toast/bg-BG.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/toast/cs-CZ.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/toast/da-DK.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/toast/de-DE.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/toast/el-GR.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/toast/en-US.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/toast/es-ES.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/toast/et-EE.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/toast/fi-FI.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/toast/fr-FR.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/toast/he-IL.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/toast/hr-HR.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/toast/hu-HU.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/toast/it-IT.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/toast/ja-JP.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/toast/ko-KR.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/toast/lt-LT.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/toast/lv-LV.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/toast/nb-NO.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/toast/nl-NL.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/toast/pl-PL.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/toast/pt-BR.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/toast/pt-PT.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/toast/ro-RO.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/toast/ru-RU.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/toast/sk-SK.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/toast/sl-SI.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/toast/sr-SP.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/toast/sv-SE.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/toast/tr-TR.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/toast/uk-UA.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/toast/zh-CN.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/intl/toast/zh-TW.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/toast/useToast.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/landmark/useLandmark.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/toast/useToastRegion.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/tooltip/useTooltip.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/tooltip/useTooltipTrigger.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/utils/animation.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/utils/chain.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/utils/constants.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/utils/domHelpers.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/utils/filterDOMProps.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/utils/focusWithoutScrolling.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/utils/getNonce.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/utils/getScrollParent.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/utils/inertValue.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/utils/isElementVisible.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/utils/isFocusable.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/utils/isScrollable.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/utils/keyboard.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/utils/mergeProps.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/utils/mergeRefs.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/utils/openLink.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/utils/platform.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/utils/runAfterTransition.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/utils/getScrollParents.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/utils/scrollIntoView.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/utils/useDescription.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/utils/useEffectEvent.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/utils/useEvent.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/utils/useFormReset.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/utils/useId.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/utils/useValueEffect.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/utils/useLabels.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/utils/useLayoutEffect.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/utils/useObjectRef.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/utils/useResizeObserver.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/utils/useSyncRef.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/utils/useViewportSize.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/virtualizer/utils.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/virtualizer/ScrollView.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/virtualizer/VirtualizerItem.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/virtualizer/useVirtualizerItem.mjs","webpack://techdocs-cli-embedded-app/../../node_modules/react-aria/dist/private/visually-hidden/VisuallyHidden.mjs"],"sourcesContent":["import $3gLSz$intlautocompletearAEmjs from \"../intl/autocomplete/ar-AE.mjs\";\nimport $3gLSz$intlautocompletebgBGmjs from \"../intl/autocomplete/bg-BG.mjs\";\nimport $3gLSz$intlautocompletecsCZmjs from \"../intl/autocomplete/cs-CZ.mjs\";\nimport $3gLSz$intlautocompletedaDKmjs from \"../intl/autocomplete/da-DK.mjs\";\nimport $3gLSz$intlautocompletedeDEmjs from \"../intl/autocomplete/de-DE.mjs\";\nimport $3gLSz$intlautocompleteelGRmjs from \"../intl/autocomplete/el-GR.mjs\";\nimport $3gLSz$intlautocompleteenUSmjs from \"../intl/autocomplete/en-US.mjs\";\nimport $3gLSz$intlautocompleteesESmjs from \"../intl/autocomplete/es-ES.mjs\";\nimport $3gLSz$intlautocompleteetEEmjs from \"../intl/autocomplete/et-EE.mjs\";\nimport $3gLSz$intlautocompletefiFImjs from \"../intl/autocomplete/fi-FI.mjs\";\nimport $3gLSz$intlautocompletefrFRmjs from \"../intl/autocomplete/fr-FR.mjs\";\nimport $3gLSz$intlautocompleteheILmjs from \"../intl/autocomplete/he-IL.mjs\";\nimport $3gLSz$intlautocompletehrHRmjs from \"../intl/autocomplete/hr-HR.mjs\";\nimport $3gLSz$intlautocompletehuHUmjs from \"../intl/autocomplete/hu-HU.mjs\";\nimport $3gLSz$intlautocompleteitITmjs from \"../intl/autocomplete/it-IT.mjs\";\nimport $3gLSz$intlautocompletejaJPmjs from \"../intl/autocomplete/ja-JP.mjs\";\nimport $3gLSz$intlautocompletekoKRmjs from \"../intl/autocomplete/ko-KR.mjs\";\nimport $3gLSz$intlautocompleteltLTmjs from \"../intl/autocomplete/lt-LT.mjs\";\nimport $3gLSz$intlautocompletelvLVmjs from \"../intl/autocomplete/lv-LV.mjs\";\nimport $3gLSz$intlautocompletenbNOmjs from \"../intl/autocomplete/nb-NO.mjs\";\nimport $3gLSz$intlautocompletenlNLmjs from \"../intl/autocomplete/nl-NL.mjs\";\nimport $3gLSz$intlautocompleteplPLmjs from \"../intl/autocomplete/pl-PL.mjs\";\nimport $3gLSz$intlautocompleteptBRmjs from \"../intl/autocomplete/pt-BR.mjs\";\nimport $3gLSz$intlautocompleteptPTmjs from \"../intl/autocomplete/pt-PT.mjs\";\nimport $3gLSz$intlautocompleteroROmjs from \"../intl/autocomplete/ro-RO.mjs\";\nimport $3gLSz$intlautocompleteruRUmjs from \"../intl/autocomplete/ru-RU.mjs\";\nimport $3gLSz$intlautocompleteskSKmjs from \"../intl/autocomplete/sk-SK.mjs\";\nimport $3gLSz$intlautocompleteslSImjs from \"../intl/autocomplete/sl-SI.mjs\";\nimport $3gLSz$intlautocompletesrSPmjs from \"../intl/autocomplete/sr-SP.mjs\";\nimport $3gLSz$intlautocompletesvSEmjs from \"../intl/autocomplete/sv-SE.mjs\";\nimport $3gLSz$intlautocompletetrTRmjs from \"../intl/autocomplete/tr-TR.mjs\";\nimport $3gLSz$intlautocompleteukUAmjs from \"../intl/autocomplete/uk-UA.mjs\";\nimport $3gLSz$intlautocompletezhCNmjs from \"../intl/autocomplete/zh-CN.mjs\";\nimport $3gLSz$intlautocompletezhTWmjs from \"../intl/autocomplete/zh-TW.mjs\";\n\nvar $f4ee495ec2e82b79$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$f4ee495ec2e82b79$exports = {\n \"ar-AE\": $3gLSz$intlautocompletearAEmjs,\n \"bg-BG\": $3gLSz$intlautocompletebgBGmjs,\n \"cs-CZ\": $3gLSz$intlautocompletecsCZmjs,\n \"da-DK\": $3gLSz$intlautocompletedaDKmjs,\n \"de-DE\": $3gLSz$intlautocompletedeDEmjs,\n \"el-GR\": $3gLSz$intlautocompleteelGRmjs,\n \"en-US\": $3gLSz$intlautocompleteenUSmjs,\n \"es-ES\": $3gLSz$intlautocompleteesESmjs,\n \"et-EE\": $3gLSz$intlautocompleteetEEmjs,\n \"fi-FI\": $3gLSz$intlautocompletefiFImjs,\n \"fr-FR\": $3gLSz$intlautocompletefrFRmjs,\n \"he-IL\": $3gLSz$intlautocompleteheILmjs,\n \"hr-HR\": $3gLSz$intlautocompletehrHRmjs,\n \"hu-HU\": $3gLSz$intlautocompletehuHUmjs,\n \"it-IT\": $3gLSz$intlautocompleteitITmjs,\n \"ja-JP\": $3gLSz$intlautocompletejaJPmjs,\n \"ko-KR\": $3gLSz$intlautocompletekoKRmjs,\n \"lt-LT\": $3gLSz$intlautocompleteltLTmjs,\n \"lv-LV\": $3gLSz$intlautocompletelvLVmjs,\n \"nb-NO\": $3gLSz$intlautocompletenbNOmjs,\n \"nl-NL\": $3gLSz$intlautocompletenlNLmjs,\n \"pl-PL\": $3gLSz$intlautocompleteplPLmjs,\n \"pt-BR\": $3gLSz$intlautocompleteptBRmjs,\n \"pt-PT\": $3gLSz$intlautocompleteptPTmjs,\n \"ro-RO\": $3gLSz$intlautocompleteroROmjs,\n \"ru-RU\": $3gLSz$intlautocompleteruRUmjs,\n \"sk-SK\": $3gLSz$intlautocompleteskSKmjs,\n \"sl-SI\": $3gLSz$intlautocompleteslSImjs,\n \"sr-SP\": $3gLSz$intlautocompletesrSPmjs,\n \"sv-SE\": $3gLSz$intlautocompletesvSEmjs,\n \"tr-TR\": $3gLSz$intlautocompletetrTRmjs,\n \"uk-UA\": $3gLSz$intlautocompleteukUAmjs,\n \"zh-CN\": $3gLSz$intlautocompletezhCNmjs,\n \"zh-TW\": $3gLSz$intlautocompletezhTWmjs\n};\n\n\nexport {$f4ee495ec2e82b79$exports as default};\n//# sourceMappingURL=intlStrings.mjs.map\n","var $18e231809643ee60$exports = {};\n$18e231809643ee60$exports = {\n \"collectionLabel\": `\\u{645}\\u{642}\\u{62A}\\u{631}\\u{62D}\\u{627}\\u{62A}`\n};\n\n\nexport {$18e231809643ee60$exports as default};\n//# sourceMappingURL=ar-AE.mjs.map\n","var $efe95218d340c8fc$exports = {};\n$efe95218d340c8fc$exports = {\n \"collectionLabel\": `\\u{41F}\\u{440}\\u{435}\\u{434}\\u{43B}\\u{43E}\\u{436}\\u{435}\\u{43D}\\u{438}\\u{44F}`\n};\n\n\nexport {$efe95218d340c8fc$exports as default};\n//# sourceMappingURL=bg-BG.mjs.map\n","var $0e28f2b8b6d36dfd$exports = {};\n$0e28f2b8b6d36dfd$exports = {\n \"collectionLabel\": `N\\xe1vrhy`\n};\n\n\nexport {$0e28f2b8b6d36dfd$exports as default};\n//# sourceMappingURL=cs-CZ.mjs.map\n","var $a2115d90ea08917b$exports = {};\n$a2115d90ea08917b$exports = {\n \"collectionLabel\": `Forslag`\n};\n\n\nexport {$a2115d90ea08917b$exports as default};\n//# sourceMappingURL=da-DK.mjs.map\n","var $2006053c58f5ea3d$exports = {};\n$2006053c58f5ea3d$exports = {\n \"collectionLabel\": `Empfehlungen`\n};\n\n\nexport {$2006053c58f5ea3d$exports as default};\n//# sourceMappingURL=de-DE.mjs.map\n","var $a6ca37a0a86010d1$exports = {};\n$a6ca37a0a86010d1$exports = {\n \"collectionLabel\": `\\u{3A0}\\u{3C1}\\u{3BF}\\u{3C4}\\u{3AC}\\u{3C3}\\u{3B5}\\u{3B9}\\u{3C2}`\n};\n\n\nexport {$a6ca37a0a86010d1$exports as default};\n//# sourceMappingURL=el-GR.mjs.map\n","var $9dd2209c22b301e2$exports = {};\n$9dd2209c22b301e2$exports = {\n \"collectionLabel\": `Suggestions`\n};\n\n\nexport {$9dd2209c22b301e2$exports as default};\n//# sourceMappingURL=en-US.mjs.map\n","var $aeaf8a1d8cee2bf2$exports = {};\n$aeaf8a1d8cee2bf2$exports = {\n \"collectionLabel\": `Sugerencias`\n};\n\n\nexport {$aeaf8a1d8cee2bf2$exports as default};\n//# sourceMappingURL=es-ES.mjs.map\n","var $fd75d77379af10ab$exports = {};\n$fd75d77379af10ab$exports = {\n \"collectionLabel\": `Soovitused`\n};\n\n\nexport {$fd75d77379af10ab$exports as default};\n//# sourceMappingURL=et-EE.mjs.map\n","var $605efe37fc0917d3$exports = {};\n$605efe37fc0917d3$exports = {\n \"collectionLabel\": `Ehdotukset`\n};\n\n\nexport {$605efe37fc0917d3$exports as default};\n//# sourceMappingURL=fi-FI.mjs.map\n","var $6e034876d49a8abb$exports = {};\n$6e034876d49a8abb$exports = {\n \"collectionLabel\": `Suggestions`\n};\n\n\nexport {$6e034876d49a8abb$exports as default};\n//# sourceMappingURL=fr-FR.mjs.map\n","var $360057ace2262932$exports = {};\n$360057ace2262932$exports = {\n \"collectionLabel\": `\\u{5D4}\\u{5E6}\\u{5E2}\\u{5D5}\\u{5EA}`\n};\n\n\nexport {$360057ace2262932$exports as default};\n//# sourceMappingURL=he-IL.mjs.map\n","var $52731caf9b0efb5b$exports = {};\n$52731caf9b0efb5b$exports = {\n \"collectionLabel\": `Prijedlozi`\n};\n\n\nexport {$52731caf9b0efb5b$exports as default};\n//# sourceMappingURL=hr-HR.mjs.map\n","var $63160cfb5ee507f0$exports = {};\n$63160cfb5ee507f0$exports = {\n \"collectionLabel\": `Javaslatok`\n};\n\n\nexport {$63160cfb5ee507f0$exports as default};\n//# sourceMappingURL=hu-HU.mjs.map\n","var $b542014dd6f00ba1$exports = {};\n$b542014dd6f00ba1$exports = {\n \"collectionLabel\": `Suggerimenti`\n};\n\n\nexport {$b542014dd6f00ba1$exports as default};\n//# sourceMappingURL=it-IT.mjs.map\n","var $4b247c3a68c0be9b$exports = {};\n$4b247c3a68c0be9b$exports = {\n \"collectionLabel\": `\\u{5019}\\u{88DC}`\n};\n\n\nexport {$4b247c3a68c0be9b$exports as default};\n//# sourceMappingURL=ja-JP.mjs.map\n","var $8209822dd94e7701$exports = {};\n$8209822dd94e7701$exports = {\n \"collectionLabel\": `\\u{C81C}\\u{C548}`\n};\n\n\nexport {$8209822dd94e7701$exports as default};\n//# sourceMappingURL=ko-KR.mjs.map\n","var $4e4f59529c29e701$exports = {};\n$4e4f59529c29e701$exports = {\n \"collectionLabel\": `Pasi\\u{16B}lymai`\n};\n\n\nexport {$4e4f59529c29e701$exports as default};\n//# sourceMappingURL=lt-LT.mjs.map\n","var $6fa8837a63df4f12$exports = {};\n$6fa8837a63df4f12$exports = {\n \"collectionLabel\": `Ieteikumi`\n};\n\n\nexport {$6fa8837a63df4f12$exports as default};\n//# sourceMappingURL=lv-LV.mjs.map\n","var $ec41eb3cc4866d2c$exports = {};\n$ec41eb3cc4866d2c$exports = {\n \"collectionLabel\": `Forslag`\n};\n\n\nexport {$ec41eb3cc4866d2c$exports as default};\n//# sourceMappingURL=nb-NO.mjs.map\n","var $2b35eba0f962bae7$exports = {};\n$2b35eba0f962bae7$exports = {\n \"collectionLabel\": `Suggesties`\n};\n\n\nexport {$2b35eba0f962bae7$exports as default};\n//# sourceMappingURL=nl-NL.mjs.map\n","var $e59b93b4e4946a8d$exports = {};\n$e59b93b4e4946a8d$exports = {\n \"collectionLabel\": `Sugestie`\n};\n\n\nexport {$e59b93b4e4946a8d$exports as default};\n//# sourceMappingURL=pl-PL.mjs.map\n","var $1299194a1aff68b3$exports = {};\n$1299194a1aff68b3$exports = {\n \"collectionLabel\": `Sugest\\xf5es`\n};\n\n\nexport {$1299194a1aff68b3$exports as default};\n//# sourceMappingURL=pt-BR.mjs.map\n","var $364e0798cc413123$exports = {};\n$364e0798cc413123$exports = {\n \"collectionLabel\": `Sugest\\xf5es`\n};\n\n\nexport {$364e0798cc413123$exports as default};\n//# sourceMappingURL=pt-PT.mjs.map\n","var $8d6b4a0f50df4fc5$exports = {};\n$8d6b4a0f50df4fc5$exports = {\n \"collectionLabel\": `Sugestii`\n};\n\n\nexport {$8d6b4a0f50df4fc5$exports as default};\n//# sourceMappingURL=ro-RO.mjs.map\n","var $f8e62fab04776d30$exports = {};\n$f8e62fab04776d30$exports = {\n \"collectionLabel\": `\\u{41F}\\u{440}\\u{435}\\u{434}\\u{43B}\\u{43E}\\u{436}\\u{435}\\u{43D}\\u{438}\\u{44F}`\n};\n\n\nexport {$f8e62fab04776d30$exports as default};\n//# sourceMappingURL=ru-RU.mjs.map\n","var $535c41866ee7cefd$exports = {};\n$535c41866ee7cefd$exports = {\n \"collectionLabel\": `N\\xe1vrhy`\n};\n\n\nexport {$535c41866ee7cefd$exports as default};\n//# sourceMappingURL=sk-SK.mjs.map\n","var $cc1bf99c20c38a3a$exports = {};\n$cc1bf99c20c38a3a$exports = {\n \"collectionLabel\": `Predlogi`\n};\n\n\nexport {$cc1bf99c20c38a3a$exports as default};\n//# sourceMappingURL=sl-SI.mjs.map\n","var $a5b1f2a26d35179f$exports = {};\n$a5b1f2a26d35179f$exports = {\n \"collectionLabel\": `Predlozi`\n};\n\n\nexport {$a5b1f2a26d35179f$exports as default};\n//# sourceMappingURL=sr-SP.mjs.map\n","var $25a3025fd66e8119$exports = {};\n$25a3025fd66e8119$exports = {\n \"collectionLabel\": `F\\xf6rslag`\n};\n\n\nexport {$25a3025fd66e8119$exports as default};\n//# sourceMappingURL=sv-SE.mjs.map\n","var $3a93a0373b3c5cc8$exports = {};\n$3a93a0373b3c5cc8$exports = {\n \"collectionLabel\": `\\xd6neriler`\n};\n\n\nexport {$3a93a0373b3c5cc8$exports as default};\n//# sourceMappingURL=tr-TR.mjs.map\n","var $e53d39a7f163580b$exports = {};\n$e53d39a7f163580b$exports = {\n \"collectionLabel\": `\\u{41F}\\u{440}\\u{43E}\\u{43F}\\u{43E}\\u{437}\\u{438}\\u{446}\\u{456}\\u{457}`\n};\n\n\nexport {$e53d39a7f163580b$exports as default};\n//# sourceMappingURL=uk-UA.mjs.map\n","var $e00b505c063926a4$exports = {};\n$e00b505c063926a4$exports = {\n \"collectionLabel\": `\\u{5EFA}\\u{8BAE}`\n};\n\n\nexport {$e00b505c063926a4$exports as default};\n//# sourceMappingURL=zh-CN.mjs.map\n","var $00beea4d53fc8dba$exports = {};\n$00beea4d53fc8dba$exports = {\n \"collectionLabel\": `\\u{5EFA}\\u{8B70}`\n};\n\n\nexport {$00beea4d53fc8dba$exports as default};\n//# sourceMappingURL=zh-TW.mjs.map\n","import {CLEAR_FOCUS_EVENT as $8b2399d051d06d4c$export$447a38995de2c711, FOCUS_EVENT as $8b2399d051d06d4c$export$831c820ad60f9d12} from \"../utils/constants.mjs\";\nimport {dispatchVirtualBlur as $b72f3f7b3b5f42c6$export$6c5dc7e81d2cc29a, dispatchVirtualFocus as $b72f3f7b3b5f42c6$export$2b35b76d2e30e129, getVirtuallyFocusedElement as $b72f3f7b3b5f42c6$export$759df0d867455a91, moveVirtualFocus as $b72f3f7b3b5f42c6$export$76e4e37e5339496d} from \"../focus/virtualFocus.mjs\";\nimport {getActiveElement as $23f2114a1b82827e$export$cd4e5573fbe2b576, getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {getInteractionModality as $8f5a2122b0992be3$export$630ff653c5ada6a9, getPointerType as $8f5a2122b0992be3$export$887a228355cf7d95} from \"../interactions/useFocusVisible.mjs\";\nimport {getOwnerDocument as $d447af545b77c9f1$export$b204af158042fbac} from \"../utils/domHelpers.mjs\";\nimport $7qCLe$intlStringsmjs from \"./intlStrings.mjs\";\nimport {isAndroid as $2add3ce32c6007eb$export$a11b0059900ceec8, isIOS as $2add3ce32c6007eb$export$fedb369cb70207f1} from \"../utils/platform.mjs\";\nimport {isCtrlKeyPressed as $bb39c0fc1c19b34c$export$16792effe837dba3} from \"../utils/keyboard.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {mergeRefs as $4064df0d6f9620e1$export$c9058316764c140e} from \"../utils/mergeRefs.mjs\";\nimport {useEffectEvent as $fe16bffc7a557bf0$export$7f54fc3180508a52} from \"../utils/useEffectEvent.mjs\";\nimport {useEvent as $600b3cf69ae46262$export$90fc3a17d93f704c} from \"../utils/useEvent.mjs\";\nimport {useId as $390e54f620492c70$export$f680877a34711e37} from \"../utils/useId.mjs\";\nimport {useLabels as $e8ac3c3f5d4bae7f$export$d6875122194c7b44} from \"../utils/useLabels.mjs\";\nimport {useLayoutEffect as $c4867b2f328c2698$export$e5c5a5f917a5871c} from \"../utils/useLayoutEffect.mjs\";\nimport {useLocalizedStringFormatter as $cf2482eff2eeeec2$export$f12b703ca79dfbb1} from \"../i18n/useLocalizedStringFormatter.mjs\";\nimport {useObjectRef as $03e8ab2d84d7657a$export$4338b53315abf666} from \"../utils/useObjectRef.mjs\";\nimport {useRef as $7qCLe$useRef, useState as $7qCLe$useState, useEffect as $7qCLe$useEffect, useCallback as $7qCLe$useCallback, useMemo as $7qCLe$useMemo} from \"react\";\n\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\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\n\n\n\n\n\n\n\n\n\nfunction $134103e19bdfd846$export$1e40b3ca02d92d21(props, state) {\n let { inputRef: inputRef, collectionRef: collectionRef, filter: filter, disableAutoFocusFirst: disableAutoFocusFirst = false, disableVirtualFocus: disableVirtualFocus = false } = props;\n let collectionId = (0, $390e54f620492c70$export$f680877a34711e37)();\n let timeout = (0, $7qCLe$useRef)(undefined);\n let delayNextActiveDescendant = (0, $7qCLe$useRef)(false);\n let queuedActiveDescendant = (0, $7qCLe$useRef)(null);\n // For mobile screen readers, we don't want virtual focus, instead opting to disable FocusScope's restoreFocus and manually\n // moving focus back to the subtriggers\n let isMobileScreenReader = (0, $8f5a2122b0992be3$export$630ff653c5ada6a9)() === 'virtual' && ((0, $2add3ce32c6007eb$export$fedb369cb70207f1)() || (0, $2add3ce32c6007eb$export$a11b0059900ceec8)());\n let [shouldUseVirtualFocus, setShouldUseVirtualFocus] = (0, $7qCLe$useState)(!isMobileScreenReader && !disableVirtualFocus);\n // Tracks if a collection has been connected to the autocomplete. If false, we don't want to add various attributes to the autocomplete input\n // since it isn't attached to a filterable collection (e.g. Tabs)\n let [hasCollection, setHasCollection] = (0, $7qCLe$useState)(false);\n (0, $7qCLe$useEffect)(()=>{\n return ()=>clearTimeout(timeout.current);\n }, []);\n let updateActiveDescendantEvent = (0, $fe16bffc7a557bf0$export$7f54fc3180508a52)((e)=>{\n // Ensure input is focused if the user clicks on the collection directly.\n // don't trigger on touch so that mobile keyboard doesnt appear when tapping on options\n if (!e.isTrusted && shouldUseVirtualFocus && inputRef.current && (0, $23f2114a1b82827e$export$cd4e5573fbe2b576)((0, $d447af545b77c9f1$export$b204af158042fbac)(inputRef.current)) !== inputRef.current && (0, $8f5a2122b0992be3$export$887a228355cf7d95)() !== 'touch') inputRef.current.focus();\n let target = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e);\n if (e.isTrusted || !target || queuedActiveDescendant.current === target.id) return;\n clearTimeout(timeout.current);\n if (target !== collectionRef.current) {\n if (delayNextActiveDescendant.current) {\n queuedActiveDescendant.current = target.id;\n timeout.current = setTimeout(()=>{\n state.setFocusedNodeId(target.id);\n }, 500);\n } else {\n queuedActiveDescendant.current = target.id;\n state.setFocusedNodeId(target.id);\n }\n } else if (queuedActiveDescendant.current && !document.getElementById(queuedActiveDescendant.current)) {\n // If we recieve a focus event refocusing the collection, either we have newly refocused the input and are waiting for the\n // wrapped collection to refocus the previously focused node if any OR\n // we are in a state where we've filtered to such a point that there aren't any matching items in the collection to focus.\n // In this case we want to clear tracked item if any and clear active descendant\n queuedActiveDescendant.current = null;\n state.setFocusedNodeId(null);\n }\n delayNextActiveDescendant.current = false;\n });\n let [collectionNode, setCollectionNode] = (0, $7qCLe$useState)(null);\n let callbackRef = (0, $7qCLe$useCallback)((node)=>{\n setCollectionNode(node);\n if (node != null) {\n // If useSelectableCollection isn't passed shouldUseVirtualFocus even when useAutocomplete provides it\n // that means the collection doesn't support it (e.g. Table). If that is the case, we need to disable it here regardless\n // of what the user's provided so that the input doesn't recieve the onKeyDown and autocomplete props.\n if (node.getAttribute('tabindex') != null) setShouldUseVirtualFocus(false);\n setHasCollection(true);\n } else setHasCollection(false);\n }, []);\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n if (collectionNode != null) // When typing forward, we want to delay the setting of active descendant to not interrupt the native screen reader announcement\n // of the letter you just typed. If we recieve another focus event then we clear the queued update\n collectionNode.addEventListener('focusin', updateActiveDescendantEvent);\n return ()=>{\n collectionNode?.removeEventListener('focusin', updateActiveDescendantEvent);\n };\n }, [\n collectionNode\n ]);\n // Make sure to memo so that React doesn't keep registering a new event listeners on every rerender of the wrapped collection\n let mergedCollectionRef = (0, $03e8ab2d84d7657a$export$4338b53315abf666)((0, $7qCLe$useMemo)(()=>(0, $4064df0d6f9620e1$export$c9058316764c140e)(collectionRef, callbackRef), [\n collectionRef,\n callbackRef\n ]));\n let focusFirstItem = (0, $7qCLe$useCallback)(()=>{\n delayNextActiveDescendant.current = true;\n collectionRef.current?.dispatchEvent(new CustomEvent((0, $8b2399d051d06d4c$export$831c820ad60f9d12), {\n cancelable: true,\n bubbles: true,\n detail: {\n focusStrategy: 'first'\n }\n }));\n }, [\n collectionRef\n ]);\n let clearVirtualFocus = (0, $7qCLe$useCallback)((clearFocusKey)=>{\n (0, $b72f3f7b3b5f42c6$export$76e4e37e5339496d)((0, $23f2114a1b82827e$export$cd4e5573fbe2b576)());\n queuedActiveDescendant.current = null;\n state.setFocusedNodeId(null);\n let clearFocusEvent = new CustomEvent((0, $8b2399d051d06d4c$export$447a38995de2c711), {\n cancelable: true,\n bubbles: true,\n detail: {\n clearFocusKey: clearFocusKey\n }\n });\n clearTimeout(timeout.current);\n delayNextActiveDescendant.current = false;\n collectionRef.current?.dispatchEvent(clearFocusEvent);\n }, [\n collectionRef,\n state\n ]);\n let lastInputType = (0, $7qCLe$useRef)('');\n (0, $600b3cf69ae46262$export$90fc3a17d93f704c)(inputRef, 'input', (e)=>{\n let { inputType: inputType } = e;\n lastInputType.current = inputType;\n });\n let onChange = (value)=>{\n // Tell wrapped collection to focus the first element in the list when typing forward and to clear focused key when modifying the text via\n // copy paste/backspacing/undo/redo for screen reader announcements\n if (lastInputType.current === 'insertText' && !disableAutoFocusFirst) focusFirstItem();\n else if (lastInputType.current && (lastInputType.current.includes('insert') || lastInputType.current.includes('delete') || lastInputType.current.includes('history'))) {\n clearVirtualFocus(true);\n // If onChange was triggered before the timeout actually updated the activedescendant, we need to fire\n // our own dispatchVirtualFocus so focusVisible gets reapplied on the input\n if ((0, $b72f3f7b3b5f42c6$export$759df0d867455a91)(document) === inputRef.current) (0, $b72f3f7b3b5f42c6$export$2b35b76d2e30e129)(inputRef.current, null);\n }\n state.setInputValue(value);\n };\n let keyDownTarget = (0, $7qCLe$useRef)(null);\n // For textfield specific keydown operations\n let onKeyDown = (e)=>{\n keyDownTarget.current = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e);\n if (e.nativeEvent.isComposing) return;\n let focusedNodeId = queuedActiveDescendant.current;\n if (focusedNodeId !== null && (0, $d447af545b77c9f1$export$b204af158042fbac)(inputRef.current).getElementById(focusedNodeId) == null) {\n // if the focused id doesn't exist in document, then we need to clear the tracked focused node, otherwise\n // we will be attempting to fire key events on a non-existing node instead of trying to focus the newly swapped wrapped collection.\n // This can happen if you are swapping out the Autocomplete wrapped collection component like in the docs search.\n queuedActiveDescendant.current = null;\n focusedNodeId = null;\n }\n switch(e.key){\n case 'a':\n if ((0, $bb39c0fc1c19b34c$export$16792effe837dba3)(e)) return;\n break;\n case 'Escape':\n // Early return for Escape here so it doesn't leak the Escape event from the simulated collection event below and\n // close the dialog prematurely. Ideally that should be up to the discretion of the input element hence the check\n // for isPropagationStopped\n if (e.isDefaultPrevented()) return;\n break;\n case ' ':\n // Space shouldn't trigger onAction so early return.\n return;\n case 'Tab':\n // Don't propogate Tab down to the collection, otherwise we will try to focus the collection via useSelectableCollection's Tab handler (aka shift tab logic)\n // We want FocusScope to handle Tab if one exists (aka sub dialog), so special casepropogate\n if ('continuePropagation' in e) e.continuePropagation();\n return;\n case 'Home':\n case 'End':\n case 'PageDown':\n case 'PageUp':\n case 'ArrowUp':\n case 'ArrowDown':\n case 'ArrowRight':\n case 'ArrowLeft':\n {\n if ((e.key === 'Home' || e.key === 'End') && focusedNodeId == null && e.shiftKey) return;\n // If there is text within the input field, we'll want continue propagating events down\n // to the wrapped collection if there is a focused node so that a user can continue moving the\n // virtual focus. However, if the user doesn't have a focus in the collection, just move the text\n // cursor instead. They can move focus down into the collection via down/up arrow if need be\n if ((e.key === 'ArrowRight' || e.key === 'ArrowLeft') && state.inputValue.length > 0) {\n if (focusedNodeId == null) {\n if (!e.isPropagationStopped()) e.stopPropagation();\n return;\n }\n break;\n }\n // Prevent these keys from moving the text cursor in the input\n e.preventDefault();\n // Move virtual focus into the wrapped collection\n let focusCollection = new CustomEvent((0, $8b2399d051d06d4c$export$831c820ad60f9d12), {\n cancelable: true,\n bubbles: true\n });\n collectionRef.current?.dispatchEvent(focusCollection);\n break;\n }\n }\n // Emulate the keyboard events that happen in the input field in the wrapped collection. This is for triggering things like onAction via Enter\n // or moving focus from one item to another. Stop propagation on the input event if it isn't already stopped so it doesn't leak out. For events\n // like ESC, the dispatched event below will bubble out of the collection and be stopped if handled by useSelectableCollection, otherwise will bubble\n // as expected\n if (!e.isPropagationStopped()) e.stopPropagation();\n let shouldPerformDefaultAction = true;\n if (collectionRef.current !== null) {\n if (focusedNodeId == null) shouldPerformDefaultAction = collectionRef.current?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)) || false;\n else {\n let item = document.getElementById(focusedNodeId);\n if (item) shouldPerformDefaultAction = item?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)) || false;\n }\n }\n if (shouldPerformDefaultAction) switch(e.key){\n case 'ArrowLeft':\n case 'ArrowRight':\n // Clear the activedescendant so NVDA announcements aren't interrupted but retain the focused key in the collection so the\n // user's keyboard navigation restarts from where they left off\n clearVirtualFocus();\n break;\n case 'Enter':\n // Trigger click action on item when Enter key was pressed.\n if (focusedNodeId != null) {\n let item = document.getElementById(focusedNodeId);\n item?.dispatchEvent(new PointerEvent('click', e.nativeEvent));\n }\n break;\n }\n else // TODO: check if we can do this, want to stop textArea from using its default Enter behavior so items are properly triggered\n e.preventDefault();\n };\n let onKeyUpCapture = (0, $fe16bffc7a557bf0$export$7f54fc3180508a52)((e)=>{\n // Dispatch simulated key up events for things like triggering links in listbox\n // Make sure to stop the propagation of the input keyup event so that the simulated keyup/down pair\n // is detected by usePress instead of the original keyup originating from the input\n if ((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e) === keyDownTarget.current) {\n e.stopImmediatePropagation();\n let focusedNodeId = queuedActiveDescendant.current;\n if (focusedNodeId == null) collectionRef.current?.dispatchEvent(new KeyboardEvent(e.type, e));\n else {\n let item = document.getElementById(focusedNodeId);\n item?.dispatchEvent(new KeyboardEvent(e.type, e));\n }\n }\n });\n (0, $7qCLe$useEffect)(()=>{\n document.addEventListener('keyup', onKeyUpCapture, true);\n return ()=>{\n document.removeEventListener('keyup', onKeyUpCapture, true);\n };\n }, []);\n let stringFormatter = (0, $cf2482eff2eeeec2$export$f12b703ca79dfbb1)((0, ($parcel$interopDefault($7qCLe$intlStringsmjs))), '@react-aria/autocomplete');\n let collectionProps = (0, $e8ac3c3f5d4bae7f$export$d6875122194c7b44)({\n id: collectionId,\n 'aria-label': stringFormatter.format('collectionLabel')\n });\n let filterFn = (0, $7qCLe$useCallback)((nodeTextValue, node)=>{\n if (filter) return filter(nodeTextValue, state.inputValue, node);\n return true;\n }, [\n state.inputValue,\n filter\n ]);\n // Be sure to clear/restore the virtual + collection focus when blurring/refocusing the field so we only show the\n // focus ring on the virtually focused collection when are actually interacting with the Autocomplete\n let onBlur = (e)=>{\n if (!e.isTrusted) return;\n let lastFocusedNode = queuedActiveDescendant.current ? document.getElementById(queuedActiveDescendant.current) : null;\n if (lastFocusedNode) (0, $b72f3f7b3b5f42c6$export$6c5dc7e81d2cc29a)(lastFocusedNode, e.relatedTarget);\n };\n let onFocus = (e)=>{\n if (!e.isTrusted) return;\n let curFocusedNode = queuedActiveDescendant.current ? document.getElementById(queuedActiveDescendant.current) : null;\n if (curFocusedNode) {\n let target = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e);\n queueMicrotask(()=>{\n // instead of focusing the last focused node, just focus the collection instead and have the collection handle what item to focus via useSelectableCollection/Item\n (0, $b72f3f7b3b5f42c6$export$6c5dc7e81d2cc29a)(target, collectionRef.current);\n (0, $b72f3f7b3b5f42c6$export$2b35b76d2e30e129)(collectionRef.current, target);\n });\n }\n };\n // Clicking back into the input can happen after focus moved elsewhere in the dialog, while\n // virtual focus is still on an option. Clear virtual focus on pointer down so mouse\n // interactions restore the input state before the click's focus handling runs.\n // Touch is excluded because touch interactions should not move focus back to the input.\n let onPointerDown = (e)=>{\n if (e.button !== 0 || e.pointerType === 'touch' || queuedActiveDescendant.current == null || inputRef.current == null) return;\n if ((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e) === inputRef.current) clearVirtualFocus();\n };\n // Only apply the autocomplete specific behaviors if the collection component wrapped by it is actually\n // being filtered/allows filtering by the Autocomplete.\n let inputProps = {\n value: state.inputValue,\n onChange: onChange\n };\n let virtualFocusProps = {\n onKeyDown: onKeyDown,\n 'aria-activedescendant': state.focusedNodeId ?? undefined,\n onBlur: onBlur,\n onFocus: onFocus,\n onPointerDown: onPointerDown\n };\n if (hasCollection) inputProps = {\n ...inputProps,\n ...shouldUseVirtualFocus && virtualFocusProps,\n enterKeyHint: 'go',\n 'aria-controls': collectionId,\n // TODO: readd proper logic for completionMode = complete (aria-autocomplete: both)\n 'aria-autocomplete': 'list',\n // This disable's iOS's autocorrect suggestions, since the autocomplete provides its own suggestions.\n autoCorrect: 'off',\n // This disable's the macOS Safari spell check auto corrections.\n spellCheck: 'false',\n autoComplete: 'off'\n };\n return {\n inputProps: inputProps,\n collectionProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(collectionProps, {\n shouldUseVirtualFocus: shouldUseVirtualFocus,\n disallowTypeAhead: shouldUseVirtualFocus\n }),\n collectionRef: mergedCollectionRef,\n filter: filter != null ? filterFn : undefined\n };\n}\n\n\nexport {$134103e19bdfd846$export$1e40b3ca02d92d21 as useAutocomplete};\n//# sourceMappingURL=useAutocomplete.mjs.map\n","import $jTU4t$intlbreadcrumbsarAEmjs from \"../intl/breadcrumbs/ar-AE.mjs\";\nimport $jTU4t$intlbreadcrumbsbgBGmjs from \"../intl/breadcrumbs/bg-BG.mjs\";\nimport $jTU4t$intlbreadcrumbscsCZmjs from \"../intl/breadcrumbs/cs-CZ.mjs\";\nimport $jTU4t$intlbreadcrumbsdaDKmjs from \"../intl/breadcrumbs/da-DK.mjs\";\nimport $jTU4t$intlbreadcrumbsdeDEmjs from \"../intl/breadcrumbs/de-DE.mjs\";\nimport $jTU4t$intlbreadcrumbselGRmjs from \"../intl/breadcrumbs/el-GR.mjs\";\nimport $jTU4t$intlbreadcrumbsenUSmjs from \"../intl/breadcrumbs/en-US.mjs\";\nimport $jTU4t$intlbreadcrumbsesESmjs from \"../intl/breadcrumbs/es-ES.mjs\";\nimport $jTU4t$intlbreadcrumbsetEEmjs from \"../intl/breadcrumbs/et-EE.mjs\";\nimport $jTU4t$intlbreadcrumbsfiFImjs from \"../intl/breadcrumbs/fi-FI.mjs\";\nimport $jTU4t$intlbreadcrumbsfrFRmjs from \"../intl/breadcrumbs/fr-FR.mjs\";\nimport $jTU4t$intlbreadcrumbsheILmjs from \"../intl/breadcrumbs/he-IL.mjs\";\nimport $jTU4t$intlbreadcrumbshrHRmjs from \"../intl/breadcrumbs/hr-HR.mjs\";\nimport $jTU4t$intlbreadcrumbshuHUmjs from \"../intl/breadcrumbs/hu-HU.mjs\";\nimport $jTU4t$intlbreadcrumbsitITmjs from \"../intl/breadcrumbs/it-IT.mjs\";\nimport $jTU4t$intlbreadcrumbsjaJPmjs from \"../intl/breadcrumbs/ja-JP.mjs\";\nimport $jTU4t$intlbreadcrumbskoKRmjs from \"../intl/breadcrumbs/ko-KR.mjs\";\nimport $jTU4t$intlbreadcrumbsltLTmjs from \"../intl/breadcrumbs/lt-LT.mjs\";\nimport $jTU4t$intlbreadcrumbslvLVmjs from \"../intl/breadcrumbs/lv-LV.mjs\";\nimport $jTU4t$intlbreadcrumbsnbNOmjs from \"../intl/breadcrumbs/nb-NO.mjs\";\nimport $jTU4t$intlbreadcrumbsnlNLmjs from \"../intl/breadcrumbs/nl-NL.mjs\";\nimport $jTU4t$intlbreadcrumbsplPLmjs from \"../intl/breadcrumbs/pl-PL.mjs\";\nimport $jTU4t$intlbreadcrumbsptBRmjs from \"../intl/breadcrumbs/pt-BR.mjs\";\nimport $jTU4t$intlbreadcrumbsptPTmjs from \"../intl/breadcrumbs/pt-PT.mjs\";\nimport $jTU4t$intlbreadcrumbsroROmjs from \"../intl/breadcrumbs/ro-RO.mjs\";\nimport $jTU4t$intlbreadcrumbsruRUmjs from \"../intl/breadcrumbs/ru-RU.mjs\";\nimport $jTU4t$intlbreadcrumbsskSKmjs from \"../intl/breadcrumbs/sk-SK.mjs\";\nimport $jTU4t$intlbreadcrumbsslSImjs from \"../intl/breadcrumbs/sl-SI.mjs\";\nimport $jTU4t$intlbreadcrumbssrSPmjs from \"../intl/breadcrumbs/sr-SP.mjs\";\nimport $jTU4t$intlbreadcrumbssvSEmjs from \"../intl/breadcrumbs/sv-SE.mjs\";\nimport $jTU4t$intlbreadcrumbstrTRmjs from \"../intl/breadcrumbs/tr-TR.mjs\";\nimport $jTU4t$intlbreadcrumbsukUAmjs from \"../intl/breadcrumbs/uk-UA.mjs\";\nimport $jTU4t$intlbreadcrumbszhCNmjs from \"../intl/breadcrumbs/zh-CN.mjs\";\nimport $jTU4t$intlbreadcrumbszhTWmjs from \"../intl/breadcrumbs/zh-TW.mjs\";\n\nvar $fd96f54c158931cf$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$fd96f54c158931cf$exports = {\n \"ar-AE\": $jTU4t$intlbreadcrumbsarAEmjs,\n \"bg-BG\": $jTU4t$intlbreadcrumbsbgBGmjs,\n \"cs-CZ\": $jTU4t$intlbreadcrumbscsCZmjs,\n \"da-DK\": $jTU4t$intlbreadcrumbsdaDKmjs,\n \"de-DE\": $jTU4t$intlbreadcrumbsdeDEmjs,\n \"el-GR\": $jTU4t$intlbreadcrumbselGRmjs,\n \"en-US\": $jTU4t$intlbreadcrumbsenUSmjs,\n \"es-ES\": $jTU4t$intlbreadcrumbsesESmjs,\n \"et-EE\": $jTU4t$intlbreadcrumbsetEEmjs,\n \"fi-FI\": $jTU4t$intlbreadcrumbsfiFImjs,\n \"fr-FR\": $jTU4t$intlbreadcrumbsfrFRmjs,\n \"he-IL\": $jTU4t$intlbreadcrumbsheILmjs,\n \"hr-HR\": $jTU4t$intlbreadcrumbshrHRmjs,\n \"hu-HU\": $jTU4t$intlbreadcrumbshuHUmjs,\n \"it-IT\": $jTU4t$intlbreadcrumbsitITmjs,\n \"ja-JP\": $jTU4t$intlbreadcrumbsjaJPmjs,\n \"ko-KR\": $jTU4t$intlbreadcrumbskoKRmjs,\n \"lt-LT\": $jTU4t$intlbreadcrumbsltLTmjs,\n \"lv-LV\": $jTU4t$intlbreadcrumbslvLVmjs,\n \"nb-NO\": $jTU4t$intlbreadcrumbsnbNOmjs,\n \"nl-NL\": $jTU4t$intlbreadcrumbsnlNLmjs,\n \"pl-PL\": $jTU4t$intlbreadcrumbsplPLmjs,\n \"pt-BR\": $jTU4t$intlbreadcrumbsptBRmjs,\n \"pt-PT\": $jTU4t$intlbreadcrumbsptPTmjs,\n \"ro-RO\": $jTU4t$intlbreadcrumbsroROmjs,\n \"ru-RU\": $jTU4t$intlbreadcrumbsruRUmjs,\n \"sk-SK\": $jTU4t$intlbreadcrumbsskSKmjs,\n \"sl-SI\": $jTU4t$intlbreadcrumbsslSImjs,\n \"sr-SP\": $jTU4t$intlbreadcrumbssrSPmjs,\n \"sv-SE\": $jTU4t$intlbreadcrumbssvSEmjs,\n \"tr-TR\": $jTU4t$intlbreadcrumbstrTRmjs,\n \"uk-UA\": $jTU4t$intlbreadcrumbsukUAmjs,\n \"zh-CN\": $jTU4t$intlbreadcrumbszhCNmjs,\n \"zh-TW\": $jTU4t$intlbreadcrumbszhTWmjs\n};\n\n\nexport {$fd96f54c158931cf$exports as default};\n//# sourceMappingURL=intlStrings.mjs.map\n","var $487db6faca3494c5$exports = {};\n$487db6faca3494c5$exports = {\n \"breadcrumbs\": `\\u{639}\\u{646}\\u{627}\\u{635}\\u{631} \\u{627}\\u{644}\\u{648}\\u{627}\\u{62C}\\u{647}\\u{629}`\n};\n\n\nexport {$487db6faca3494c5$exports as default};\n//# sourceMappingURL=ar-AE.mjs.map\n","var $02afdaf6eedc1651$exports = {};\n$02afdaf6eedc1651$exports = {\n \"breadcrumbs\": `\\u{422}\\u{440}\\u{43E}\\u{445}\\u{438} \\u{445}\\u{43B}\\u{44F}\\u{431}`\n};\n\n\nexport {$02afdaf6eedc1651$exports as default};\n//# sourceMappingURL=bg-BG.mjs.map\n","var $44818ec984fbda74$exports = {};\n$44818ec984fbda74$exports = {\n \"breadcrumbs\": `Popis cesty`\n};\n\n\nexport {$44818ec984fbda74$exports as default};\n//# sourceMappingURL=cs-CZ.mjs.map\n","var $bd2b9d1b2cbc6238$exports = {};\n$bd2b9d1b2cbc6238$exports = {\n \"breadcrumbs\": `Br\\xf8dkrummer`\n};\n\n\nexport {$bd2b9d1b2cbc6238$exports as default};\n//# sourceMappingURL=da-DK.mjs.map\n","var $ec25778fcc632081$exports = {};\n$ec25778fcc632081$exports = {\n \"breadcrumbs\": `Breadcrumbs`\n};\n\n\nexport {$ec25778fcc632081$exports as default};\n//# sourceMappingURL=de-DE.mjs.map\n","var $8f3062061aa45e2f$exports = {};\n$8f3062061aa45e2f$exports = {\n \"breadcrumbs\": `\\u{3A0}\\u{3BB}\\u{3BF}\\u{3B7}\\u{3B3}\\u{3AE}\\u{3C3}\\u{3B5}\\u{3B9}\\u{3C2} breadcrumb`\n};\n\n\nexport {$8f3062061aa45e2f$exports as default};\n//# sourceMappingURL=el-GR.mjs.map\n","var $db0f279d17aa8dba$exports = {};\n$db0f279d17aa8dba$exports = {\n \"breadcrumbs\": `Breadcrumbs`\n};\n\n\nexport {$db0f279d17aa8dba$exports as default};\n//# sourceMappingURL=en-US.mjs.map\n","var $a885cd759057f2ab$exports = {};\n$a885cd759057f2ab$exports = {\n \"breadcrumbs\": `Migas de pan`\n};\n\n\nexport {$a885cd759057f2ab$exports as default};\n//# sourceMappingURL=es-ES.mjs.map\n","var $5b807d2c6052d8dd$exports = {};\n$5b807d2c6052d8dd$exports = {\n \"breadcrumbs\": `Lingiread`\n};\n\n\nexport {$5b807d2c6052d8dd$exports as default};\n//# sourceMappingURL=et-EE.mjs.map\n","var $cb63ea5c57289e6c$exports = {};\n$cb63ea5c57289e6c$exports = {\n \"breadcrumbs\": `Navigointilinkit`\n};\n\n\nexport {$cb63ea5c57289e6c$exports as default};\n//# sourceMappingURL=fi-FI.mjs.map\n","var $033defe7e90b6d7a$exports = {};\n$033defe7e90b6d7a$exports = {\n \"breadcrumbs\": `Chemin de navigation`\n};\n\n\nexport {$033defe7e90b6d7a$exports as default};\n//# sourceMappingURL=fr-FR.mjs.map\n","var $10e8c1ecf47ad433$exports = {};\n$10e8c1ecf47ad433$exports = {\n \"breadcrumbs\": `\\u{5E9}\\u{5D1}\\u{5D9}\\u{5DC}\\u{5D9} \\u{5E0}\\u{5D9}\\u{5D5}\\u{5D5}\\u{5D8}`\n};\n\n\nexport {$10e8c1ecf47ad433$exports as default};\n//# sourceMappingURL=he-IL.mjs.map\n","var $67fbf548bee75f33$exports = {};\n$67fbf548bee75f33$exports = {\n \"breadcrumbs\": `Navigacijski putovi`\n};\n\n\nexport {$67fbf548bee75f33$exports as default};\n//# sourceMappingURL=hr-HR.mjs.map\n","var $88924f3e26506958$exports = {};\n$88924f3e26506958$exports = {\n \"breadcrumbs\": `Morzsamen\\xfc`\n};\n\n\nexport {$88924f3e26506958$exports as default};\n//# sourceMappingURL=hu-HU.mjs.map\n","var $73413cafa385c285$exports = {};\n$73413cafa385c285$exports = {\n \"breadcrumbs\": `Breadcrumb`\n};\n\n\nexport {$73413cafa385c285$exports as default};\n//# sourceMappingURL=it-IT.mjs.map\n","var $c2a645e4089e9749$exports = {};\n$c2a645e4089e9749$exports = {\n \"breadcrumbs\": `\\u{30D1}\\u{30F3}\\u{304F}\\u{305A}\\u{30EA}\\u{30B9}\\u{30C8}`\n};\n\n\nexport {$c2a645e4089e9749$exports as default};\n//# sourceMappingURL=ja-JP.mjs.map\n","var $2f008f619b8c5b27$exports = {};\n$2f008f619b8c5b27$exports = {\n \"breadcrumbs\": `\\u{D0D0}\\u{C0C9} \\u{D45C}\\u{C2DC}`\n};\n\n\nexport {$2f008f619b8c5b27$exports as default};\n//# sourceMappingURL=ko-KR.mjs.map\n","var $fdb4abd522d45b2b$exports = {};\n$fdb4abd522d45b2b$exports = {\n \"breadcrumbs\": `Nar\\u{161}ymo kelias`\n};\n\n\nexport {$fdb4abd522d45b2b$exports as default};\n//# sourceMappingURL=lt-LT.mjs.map\n","var $d700c23c0c1b247b$exports = {};\n$d700c23c0c1b247b$exports = {\n \"breadcrumbs\": `Atpaka\\u{13C}ce\\u{13C}i`\n};\n\n\nexport {$d700c23c0c1b247b$exports as default};\n//# sourceMappingURL=lv-LV.mjs.map\n","var $501df0ce1a709e1f$exports = {};\n$501df0ce1a709e1f$exports = {\n \"breadcrumbs\": `Navigasjonsstier`\n};\n\n\nexport {$501df0ce1a709e1f$exports as default};\n//# sourceMappingURL=nb-NO.mjs.map\n","var $4c962c1e2098dc65$exports = {};\n$4c962c1e2098dc65$exports = {\n \"breadcrumbs\": `Broodkruimels`\n};\n\n\nexport {$4c962c1e2098dc65$exports as default};\n//# sourceMappingURL=nl-NL.mjs.map\n","var $b806487b79a47647$exports = {};\n$b806487b79a47647$exports = {\n \"breadcrumbs\": `Struktura nawigacyjna`\n};\n\n\nexport {$b806487b79a47647$exports as default};\n//# sourceMappingURL=pl-PL.mjs.map\n","var $3701354d5ce12450$exports = {};\n$3701354d5ce12450$exports = {\n \"breadcrumbs\": `Caminho detalhado`\n};\n\n\nexport {$3701354d5ce12450$exports as default};\n//# sourceMappingURL=pt-BR.mjs.map\n","var $9020b37a983f18c7$exports = {};\n$9020b37a983f18c7$exports = {\n \"breadcrumbs\": `Categorias`\n};\n\n\nexport {$9020b37a983f18c7$exports as default};\n//# sourceMappingURL=pt-PT.mjs.map\n","var $b581497e2cb602cb$exports = {};\n$b581497e2cb602cb$exports = {\n \"breadcrumbs\": `Miez de p\\xe2ine`\n};\n\n\nexport {$b581497e2cb602cb$exports as default};\n//# sourceMappingURL=ro-RO.mjs.map\n","var $989ef7aae85fac12$exports = {};\n$989ef7aae85fac12$exports = {\n \"breadcrumbs\": `\\u{41D}\\u{430}\\u{432}\\u{438}\\u{433}\\u{430}\\u{446}\\u{438}\\u{44F}`\n};\n\n\nexport {$989ef7aae85fac12$exports as default};\n//# sourceMappingURL=ru-RU.mjs.map\n","var $d1d42e963e7060c9$exports = {};\n$d1d42e963e7060c9$exports = {\n \"breadcrumbs\": `Naviga\\u{10D}n\\xe9 prvky Breadcrumbs`\n};\n\n\nexport {$d1d42e963e7060c9$exports as default};\n//# sourceMappingURL=sk-SK.mjs.map\n","var $35f163cf34011e4d$exports = {};\n$35f163cf34011e4d$exports = {\n \"breadcrumbs\": `Drobtine`\n};\n\n\nexport {$35f163cf34011e4d$exports as default};\n//# sourceMappingURL=sl-SI.mjs.map\n","var $5d32d81e97bfe96a$exports = {};\n$5d32d81e97bfe96a$exports = {\n \"breadcrumbs\": `Putanje navigacije`\n};\n\n\nexport {$5d32d81e97bfe96a$exports as default};\n//# sourceMappingURL=sr-SP.mjs.map\n","var $8eb872c6e0dc69c6$exports = {};\n$8eb872c6e0dc69c6$exports = {\n \"breadcrumbs\": `S\\xf6kv\\xe4gar`\n};\n\n\nexport {$8eb872c6e0dc69c6$exports as default};\n//# sourceMappingURL=sv-SE.mjs.map\n","var $82fcf897ec5f2bf0$exports = {};\n$82fcf897ec5f2bf0$exports = {\n \"breadcrumbs\": `\\u{130}\\xe7erik haritalar\\u{131}`\n};\n\n\nexport {$82fcf897ec5f2bf0$exports as default};\n//# sourceMappingURL=tr-TR.mjs.map\n","var $c42af6159e6cf5c7$exports = {};\n$c42af6159e6cf5c7$exports = {\n \"breadcrumbs\": `\\u{41D}\\u{430}\\u{432}\\u{456}\\u{433}\\u{430}\\u{446}\\u{456}\\u{439}\\u{43D}\\u{430} \\u{441}\\u{442}\\u{435}\\u{436}\\u{43A}\\u{430}`\n};\n\n\nexport {$c42af6159e6cf5c7$exports as default};\n//# sourceMappingURL=uk-UA.mjs.map\n","var $a9a6dc20ff9e364d$exports = {};\n$a9a6dc20ff9e364d$exports = {\n \"breadcrumbs\": `\\u{5BFC}\\u{822A}\\u{680F}`\n};\n\n\nexport {$a9a6dc20ff9e364d$exports as default};\n//# sourceMappingURL=zh-CN.mjs.map\n","var $c561931cbd544a49$exports = {};\n$c561931cbd544a49$exports = {\n \"breadcrumbs\": `\\u{5C0E}\\u{89BD}\\u{5217}`\n};\n\n\nexport {$c561931cbd544a49$exports as default};\n//# sourceMappingURL=zh-TW.mjs.map\n","import {filterDOMProps as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f} from \"../utils/filterDOMProps.mjs\";\nimport $Ae0XH$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\nfunction $77c29a73b36f1605$export$8cefe241bd876ca0(props) {\n let { 'aria-label': ariaLabel, ...otherProps } = props;\n let strings = (0, $cf2482eff2eeeec2$export$f12b703ca79dfbb1)((0, ($parcel$interopDefault($Ae0XH$intlStringsmjs))), '@react-aria/breadcrumbs');\n return {\n navProps: {\n ...(0, $8e9d2fae0ecb9001$export$457c3d6518dd4c6f)(otherProps, {\n labelable: true\n }),\n 'aria-label': ariaLabel || strings.format('breadcrumbs')\n }\n };\n}\n\n\nexport {$77c29a73b36f1605$export$8cefe241bd876ca0 as useBreadcrumbs};\n//# sourceMappingURL=useBreadcrumbs.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","/*\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 // eslint-disable-next-line @typescript-eslint/no-unused-vars\n filter(collection, newCollection, 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 ? 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) {\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 {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 rulesdir/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)=>/*#__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 }), [\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 $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","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 // Invalidate the cache whenever the parent value changes.\n // eslint-disable-next-line react-hooks/exhaustive-deps\n let cache = (0, $2NO26$useMemo)(()=>new WeakMap(), dependencies);\n return (0, $2NO26$useMemo)(()=>{\n if (items && typeof children === 'function') {\n let res = [];\n for (let item of items){\n let rendered = cache.get(item);\n if (!rendered) {\n rendered = children(item);\n // @ts-ignore\n let key = rendered.props.id ?? item.key ?? item.id;\n if (key == null) throw new Error('Could not determine key for item');\n if (idScope != null && rendered.props.id == null) key = idScope + ':' + key;\n // Note: only works if wrapped Item passes through id...\n rendered = (0, $2NO26$cloneElement)(rendered, addIdAndValue ? {\n key: key,\n id: key,\n value: item\n } : {\n key: key\n });\n cache.set(item, 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}\n\n\nexport {$a80bd3e9349588e7$export$727c8fc270210f13 as useCachedChildren};\n//# sourceMappingURL=useCachedChildren.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 {useEvent as $600b3cf69ae46262$export$90fc3a17d93f704c} from \"../utils/useEvent.mjs\";\nimport {useId as $390e54f620492c70$export$f680877a34711e37} from \"../utils/useId.mjs\";\nimport {useIsSSR as $c7eafbbe1ea5834e$export$535bd6ca7f90a273} from \"../ssr/SSRProvider.mjs\";\nimport {useLayoutEffect as $c4867b2f328c2698$export$e5c5a5f917a5871c} from \"../utils/useLayoutEffect.mjs\";\nimport {flushSync as $cbhof$flushSync} from \"react-dom\";\nimport {useRef as $cbhof$useRef, useCallback as $cbhof$useCallback, useEffect as $cbhof$useEffect} 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\n\nfunction $89a3495b7d82e671$export$6e3e27031a30522f(props, state, ref) {\n let { isDisabled: isDisabled } = props;\n let triggerId = (0, $390e54f620492c70$export$f680877a34711e37)();\n let panelId = (0, $390e54f620492c70$export$f680877a34711e37)();\n let isSSR = (0, $c7eafbbe1ea5834e$export$535bd6ca7f90a273)();\n let raf = (0, $cbhof$useRef)(null);\n let handleBeforeMatch = (0, $cbhof$useCallback)(()=>{\n // Wait a frame to revert browser's removal of hidden attribute\n raf.current = requestAnimationFrame(()=>{\n if (ref.current) ref.current.setAttribute('hidden', 'until-found');\n });\n // Force sync state update\n (0, $cbhof$flushSync)(()=>{\n state.toggle();\n });\n }, [\n ref,\n state\n ]);\n // @ts-ignore https://github.com/facebook/react/pull/24741\n (0, $600b3cf69ae46262$export$90fc3a17d93f704c)(ref, 'beforematch', handleBeforeMatch);\n let isExpandedRef = (0, $cbhof$useRef)(null);\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n // Cancel any pending RAF to prevent stale updates\n if (raf.current) cancelAnimationFrame(raf.current);\n if (ref.current && !isSSR) {\n let panel = ref.current;\n if (isExpandedRef.current == null || typeof panel.getAnimations !== 'function') {\n // On initial render (and in tests), set attributes without animation.\n if (state.isExpanded) {\n panel.removeAttribute('hidden');\n panel.style.setProperty('--disclosure-panel-width', 'auto');\n panel.style.setProperty('--disclosure-panel-height', 'auto');\n } else {\n panel.setAttribute('hidden', 'until-found');\n panel.style.setProperty('--disclosure-panel-width', '0px');\n panel.style.setProperty('--disclosure-panel-height', '0px');\n }\n } else if (state.isExpanded !== isExpandedRef.current) {\n if (state.isExpanded) {\n panel.removeAttribute('hidden');\n // Set the width and height as pixels so they can be animated.\n panel.style.setProperty('--disclosure-panel-width', panel.scrollWidth + 'px');\n panel.style.setProperty('--disclosure-panel-height', panel.scrollHeight + 'px');\n Promise.all(panel.getAnimations().map((a)=>a.finished)).then(()=>{\n // After the animations complete, switch back to auto so the content can resize.\n panel.style.setProperty('--disclosure-panel-width', 'auto');\n panel.style.setProperty('--disclosure-panel-height', 'auto');\n }).catch(()=>{});\n } else {\n panel.style.setProperty('--disclosure-panel-width', panel.scrollWidth + 'px');\n panel.style.setProperty('--disclosure-panel-height', panel.scrollHeight + 'px');\n // Force style re-calculation to trigger animations.\n window.getComputedStyle(panel).height;\n // Animate to zero size.\n panel.style.setProperty('--disclosure-panel-width', '0px');\n panel.style.setProperty('--disclosure-panel-height', '0px');\n // Wait for animations to apply the hidden attribute.\n Promise.all(panel.getAnimations().map((a)=>a.finished)).then(()=>panel.setAttribute('hidden', 'until-found')).catch(()=>{});\n }\n }\n isExpandedRef.current = state.isExpanded;\n }\n }, [\n isDisabled,\n ref,\n state.isExpanded,\n isSSR\n ]);\n (0, $cbhof$useEffect)(()=>{\n return ()=>{\n if (raf.current) cancelAnimationFrame(raf.current);\n };\n }, []);\n return {\n buttonProps: {\n id: triggerId,\n 'aria-expanded': state.isExpanded,\n 'aria-controls': panelId,\n onPress: (e)=>{\n if (!isDisabled && e.pointerType !== 'keyboard') state.toggle();\n },\n isDisabled: isDisabled,\n onPressStart (e) {\n if (e.pointerType === 'keyboard' && !isDisabled) state.toggle();\n }\n },\n panelProps: {\n id: panelId,\n // This can be overridden at the panel element level.\n role: 'group',\n 'aria-labelledby': triggerId,\n 'aria-hidden': !state.isExpanded,\n hidden: isSSR ? !state.isExpanded : undefined\n }\n };\n}\n\n\nexport {$89a3495b7d82e671$export$6e3e27031a30522f as useDisclosure};\n//# sourceMappingURL=useDisclosure.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 && treeNode.scopeRef.current && $535772f9d2c1f38d$export$d06fae2ee68b101e.getTreeNode(treeNode.scopeRef)) {\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 {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 {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 {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","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","/*\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 // @ts-ignore - this was implemented as a property by some browsers before it was standardized as a function.\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getTextInfo\n let textInfo = 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] || 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","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 {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 {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 $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 {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","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 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 keys pressed) so that\n * 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 {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 {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 {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 {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","/*\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 {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 {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 {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, useMemo as $fL2C6$useMemo, useEffect as $fL2C6$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\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 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 {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","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 {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","import {filterDOMProps as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f} from \"../utils/filterDOMProps.mjs\";\nimport {handleLinkClick as $caaf0dd3060ed57c$export$13aea1a3cb5e3f1f, useLinkProps as $caaf0dd3060ed57c$export$7e924b3091a3bd18, useRouter as $caaf0dd3060ed57c$export$9a302a45f65d0572} from \"../utils/openLink.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\n\nfunction $40d752843fab8930$export$dcf14c9974fe2767(props, ref) {\n let { elementType: elementType = 'a', onPress: onPress, onPressStart: onPressStart, onPressEnd: onPressEnd, onClick: onClick, isDisabled: isDisabled, ...otherProps } = props;\n let linkProps = {};\n if (elementType !== 'a') linkProps = {\n role: 'link',\n tabIndex: !isDisabled ? 0 : undefined\n };\n let { focusableProps: focusableProps } = (0, $d1116acdf220c2da$export$4c014de7c8940b4c)(props, ref);\n let { pressProps: pressProps, isPressed: isPressed } = (0, $d27d541f9569d26d$export$45712eceda6fad21)({\n onPress: onPress,\n onPressStart: onPressStart,\n onPressEnd: onPressEnd,\n onClick: onClick,\n isDisabled: isDisabled,\n ref: ref\n });\n let domProps = (0, $8e9d2fae0ecb9001$export$457c3d6518dd4c6f)(otherProps, {\n labelable: true\n });\n let interactionHandlers = (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(focusableProps, pressProps);\n let router = (0, $caaf0dd3060ed57c$export$9a302a45f65d0572)();\n let routerLinkProps = (0, $caaf0dd3060ed57c$export$7e924b3091a3bd18)(props);\n return {\n isPressed: isPressed,\n linkProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(domProps, routerLinkProps, {\n ...interactionHandlers,\n ...linkProps,\n 'aria-disabled': isDisabled || undefined,\n 'aria-current': props['aria-current'],\n onClick: (e)=>{\n pressProps.onClick?.(e);\n (0, $caaf0dd3060ed57c$export$13aea1a3cb5e3f1f)(e, router, props.href, props.routerOptions);\n }\n })\n };\n}\n\n\nexport {$40d752843fab8930$export$dcf14c9974fe2767 as useLink};\n//# sourceMappingURL=useLink.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 {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 {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","/*\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","/*\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 // @ts-ignore\n if (!(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 {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 $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","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 {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","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","/*\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","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","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","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 $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 {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 $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 {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 {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 {useIsSSR as $c7eafbbe1ea5834e$export$535bd6ca7f90a273} from \"../ssr/SSRProvider.mjs\";\nimport {useUNSAFE_PortalContext as $72abaeab4d80592f$export$9fc1347d4195ccb3} from \"./PortalProvider.mjs\";\nimport $eXzCv$react, {useContext as $eXzCv$useContext, useState as $eXzCv$useState, useMemo as $eXzCv$useMemo, useEffect as $eXzCv$useEffect} from \"react\";\nimport $eXzCv$reactdom from \"react-dom\";\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 $c07df45195231803$var$Context = /*#__PURE__*/ (0, $eXzCv$react).createContext(null);\nfunction $c07df45195231803$export$178405afcd8c5eb(props) {\n let { children: children } = props;\n let parent = (0, $eXzCv$useContext)($c07df45195231803$var$Context);\n let [modalCount, setModalCount] = (0, $eXzCv$useState)(0);\n let context = (0, $eXzCv$useMemo)(()=>({\n parent: parent,\n modalCount: modalCount,\n addModal () {\n setModalCount((count)=>count + 1);\n if (parent) parent.addModal();\n },\n removeModal () {\n setModalCount((count)=>count - 1);\n if (parent) parent.removeModal();\n }\n }), [\n parent,\n modalCount\n ]);\n return /*#__PURE__*/ (0, $eXzCv$react).createElement($c07df45195231803$var$Context.Provider, {\n value: context\n }, children);\n}\nfunction $c07df45195231803$export$d9aaed4c3ece1bc0() {\n let context = (0, $eXzCv$useContext)($c07df45195231803$var$Context);\n return {\n modalProviderProps: {\n 'aria-hidden': context && context.modalCount > 0 ? true : undefined\n }\n };\n}\n/**\n * Creates a root node that will be aria-hidden if there are other modals open.\n */ function $c07df45195231803$var$OverlayContainerDOM(props) {\n let { modalProviderProps: modalProviderProps } = $c07df45195231803$export$d9aaed4c3ece1bc0();\n return /*#__PURE__*/ (0, $eXzCv$react).createElement(\"div\", {\n \"data-overlay-container\": true,\n ...props,\n ...modalProviderProps\n });\n}\nfunction $c07df45195231803$export$bf688221f59024e5(props) {\n return /*#__PURE__*/ (0, $eXzCv$react).createElement($c07df45195231803$export$178405afcd8c5eb, null, /*#__PURE__*/ (0, $eXzCv$react).createElement($c07df45195231803$var$OverlayContainerDOM, props));\n}\nfunction $c07df45195231803$export$b47c3594eab58386(props) {\n let isSSR = (0, $c7eafbbe1ea5834e$export$535bd6ca7f90a273)();\n let { portalContainer: portalContainer = isSSR ? null : document.body, ...rest } = props;\n let { getContainer: getContainer } = (0, $72abaeab4d80592f$export$9fc1347d4195ccb3)();\n if (!props.portalContainer && getContainer) portalContainer = getContainer();\n (0, $eXzCv$react).useEffect(()=>{\n if (portalContainer?.closest('[data-overlay-container]')) throw new Error('An OverlayContainer must not be inside another container. Please change the portalContainer prop.');\n }, [\n portalContainer\n ]);\n if (!portalContainer) return null;\n let contents = /*#__PURE__*/ (0, $eXzCv$react).createElement($c07df45195231803$export$bf688221f59024e5, rest);\n return /*#__PURE__*/ (0, $eXzCv$reactdom).createPortal(contents, portalContainer);\n}\nfunction $c07df45195231803$export$33ffd74ebf07f060(options) {\n // Add aria-hidden to all parent providers on mount, and restore on unmount.\n let context = (0, $eXzCv$useContext)($c07df45195231803$var$Context);\n if (!context) throw new Error('Modal is not contained within a provider');\n (0, $eXzCv$useEffect)(()=>{\n if (options?.isDisabled || !context || !context.parent) return;\n // The immediate context is from the provider containing this modal, so we only\n // want to trigger aria-hidden on its parents not on the modal provider itself.\n context.parent.addModal();\n return ()=>{\n if (context && context.parent) context.parent.removeModal();\n };\n }, [\n context,\n context.parent,\n options?.isDisabled\n ]);\n return {\n modalProps: {\n 'data-ismodal': !options?.isDisabled\n }\n };\n}\n\n\nexport {$c07df45195231803$export$178405afcd8c5eb as ModalProvider, $c07df45195231803$export$d9aaed4c3ece1bc0 as useModalProvider, $c07df45195231803$export$bf688221f59024e5 as OverlayProvider, $c07df45195231803$export$b47c3594eab58386 as OverlayContainer, $c07df45195231803$export$33ffd74ebf07f060 as useModal};\n//# sourceMappingURL=useModal.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 {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 {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' ? // We want the distance between the top of the overlay to the bottom of the boundary\n 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 + .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 {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 {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","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 {filterDOMProps as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f} from \"../utils/filterDOMProps.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {useLabel as $0beb20c9744a2065$export$8467354a121f1b9f} from \"../label/useLabel.mjs\";\nimport {useNumberFormatter as $bd90acf18e792be6$export$b7a616150fdb9f44} from \"../i18n/useNumberFormatter.mjs\";\nimport {clamp as $l5EBy$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\n\n\nfunction $723aca2821613fe7$export$ed5abd763a836edc(props) {\n let { value: value = 0, minValue: minValue = 0, maxValue: maxValue = 100, valueLabel: valueLabel, isIndeterminate: isIndeterminate, formatOptions: formatOptions = {\n style: 'percent'\n } } = props;\n let domProps = (0, $8e9d2fae0ecb9001$export$457c3d6518dd4c6f)(props, {\n labelable: true\n });\n let { labelProps: labelProps, fieldProps: fieldProps } = (0, $0beb20c9744a2065$export$8467354a121f1b9f)({\n ...props,\n // Progress bar is not an HTML input element so it\n // shouldn't be labeled by a <label> element.\n labelElementType: 'span'\n });\n value = (0, $l5EBy$clamp)(value, minValue, maxValue);\n let percentage = (value - minValue) / (maxValue - minValue);\n let formatter = (0, $bd90acf18e792be6$export$b7a616150fdb9f44)(formatOptions);\n if (!isIndeterminate && !valueLabel) {\n let valueToFormat = formatOptions.style === 'percent' ? percentage : value;\n valueLabel = formatter.format(valueToFormat);\n }\n return {\n progressBarProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(domProps, {\n ...fieldProps,\n 'aria-valuenow': isIndeterminate ? undefined : value,\n 'aria-valuemin': minValue,\n 'aria-valuemax': maxValue,\n 'aria-valuetext': isIndeterminate ? undefined : valueLabel,\n role: 'progressbar'\n }),\n labelProps: labelProps\n };\n}\n\n\nexport {$723aca2821613fe7$export$ed5abd763a836edc as useProgressBar};\n//# sourceMappingURL=useProgressBar.mjs.map\n","import {useLocale as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7} from \"./I18nProvider.mjs\";\nimport {NumberFormatter as $gaUhm$NumberFormatter} from \"@internationalized/number\";\nimport {useMemo as $gaUhm$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 $bd90acf18e792be6$export$b7a616150fdb9f44(options = {}) {\n let { locale: locale } = (0, $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7)();\n return (0, $gaUhm$useMemo)(()=>new (0, $gaUhm$NumberFormatter)(locale, options), [\n locale,\n options\n ]);\n}\n\n\nexport {$bd90acf18e792be6$export$b7a616150fdb9f44 as useNumberFormatter};\n//# sourceMappingURL=useNumberFormatter.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","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 {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 {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","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));\n }\n findNextNonDisabled(key, getNext) {\n let nextKey = key;\n while(nextKey != null){\n let item = this.collection.getItem(nextKey);\n if (item?.type === 'item' && !this.isDisabled(item)) return nextKey;\n nextKey = getNext(nextKey);\n }\n return null;\n }\n getNextKey(key) {\n let nextKey = key;\n nextKey = this.collection.getKeyAfter(nextKey);\n return this.findNextNonDisabled(nextKey, (key)=>this.collection.getKeyAfter(key));\n }\n getPreviousKey(key) {\n let nextKey = key;\n nextKey = this.collection.getKeyBefore(nextKey);\n return this.findNextNonDisabled(nextKey, (key)=>this.collection.getKeyBefore(key));\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) {\n if (this.layout === 'grid' && this.orientation === 'vertical') return this.findKey(key, (key)=>this.getNextKey(key), this.isSameRow);\n else return this.getNextKey(key);\n }\n getKeyAbove(key) {\n if (this.layout === 'grid' && this.orientation === 'vertical') return this.findKey(key, (key)=>this.getPreviousKey(key), this.isSameRow);\n else return this.getPreviousKey(key);\n }\n getNextColumn(key, right) {\n return right ? this.getPreviousKey(key) : this.getNextKey(key);\n }\n getKeyRightOf(key) {\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));\n }\n if (this.layout === 'grid') {\n if (this.orientation === 'vertical') return this.getNextColumn(key, this.direction === 'rtl');\n else return this.findKey(key, (key)=>this.getNextColumn(key, this.direction === 'rtl'), this.isSameColumn);\n } else if (this.orientation === 'horizontal') return this.getNextColumn(key, this.direction === 'rtl');\n return null;\n }\n getKeyLeftOf(key) {\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));\n }\n if (this.layout === 'grid') {\n if (this.orientation === 'vertical') return this.getNextColumn(key, this.direction === 'ltr');\n else return this.findKey(key, (key)=>this.getNextColumn(key, this.direction === 'ltr'), this.isSameColumn);\n } else if (this.orientation === 'horizontal') return this.getNextColumn(key, this.direction === 'ltr');\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 {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 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 {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","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 {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 {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 {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 $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 rulesdir/useLayoutEffectRule\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 rulesdir/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 // @ts-ignore\n let currentOwner = (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 rulesdir/pure-render\n ref.current = ++ctx.current;\n }\n // eslint-disable-next-line rulesdir/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 {filterDOMProps as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f} from \"../utils/filterDOMProps.mjs\";\nimport {generateId as $a251981b23baaa12$export$567fc7097e064344} from \"./utils.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {useFocusable as $d1116acdf220c2da$export$4c014de7c8940b4c} from \"../interactions/useFocusable.mjs\";\nimport {useLinkProps as $caaf0dd3060ed57c$export$7e924b3091a3bd18} from \"../utils/openLink.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\n\n\n\nfunction $1b6fa05bad3d7740$export$fdf4756d5b8ef90a(props, state, ref) {\n let { key: key, isDisabled: propsDisabled, shouldSelectOnPressUp: shouldSelectOnPressUp } = props;\n let { selectionManager: manager, selectedKey: selectedKey } = state;\n let isSelected = key === selectedKey;\n let isDisabled = propsDisabled || state.isDisabled || state.selectionManager.isDisabled(key);\n let item = state.collection.getItem(key);\n let { itemProps: itemProps, isPressed: isPressed } = (0, $f6ba6936bfd098a0$export$ecf600387e221c37)({\n selectionManager: manager,\n key: key,\n ref: ref,\n isDisabled: isDisabled,\n // Link tabs should behave like native anchors (navigate on press up)\n // This avoids reopening beforeunload dialogs when browsers replay\n // queued pointer enter/leave events after cancellation.\n shouldSelectOnPressUp: shouldSelectOnPressUp ?? item?.props.href != null,\n linkBehavior: 'selection'\n });\n let tabId = (0, $a251981b23baaa12$export$567fc7097e064344)(state, key, 'tab');\n let tabPanelId = (0, $a251981b23baaa12$export$567fc7097e064344)(state, key, 'tabpanel');\n let { tabIndex: tabIndex } = itemProps;\n let domProps = (0, $8e9d2fae0ecb9001$export$457c3d6518dd4c6f)(item?.props, {\n labelable: true\n });\n delete domProps.id;\n let linkProps = (0, $caaf0dd3060ed57c$export$7e924b3091a3bd18)(item?.props);\n let { focusableProps: focusableProps } = (0, $d1116acdf220c2da$export$4c014de7c8940b4c)({\n ...item?.props,\n isDisabled: isDisabled\n }, ref);\n return {\n tabProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(domProps, focusableProps, linkProps, itemProps, {\n id: tabId,\n 'aria-selected': isSelected,\n 'aria-disabled': isDisabled || undefined,\n 'aria-controls': isSelected ? tabPanelId : undefined,\n tabIndex: isDisabled ? undefined : tabIndex,\n role: 'tab'\n }),\n isSelected: isSelected,\n isDisabled: isDisabled,\n isPressed: isPressed\n };\n}\n\n\nexport {$1b6fa05bad3d7740$export$fdf4756d5b8ef90a as useTab};\n//# sourceMappingURL=useTab.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 $a226bee26c88efd7$export$15010ca3c1abe90b {\n constructor(collection, direction, orientation, disabledKeys = new Set()){\n this.collection = collection;\n this.flipDirection = direction === 'rtl' && orientation === 'horizontal';\n this.disabledKeys = disabledKeys;\n this.tabDirection = orientation === 'horizontal';\n }\n getKeyLeftOf(key) {\n if (this.flipDirection) return this.getNextKey(key);\n return this.getPreviousKey(key);\n }\n getKeyRightOf(key) {\n if (this.flipDirection) return this.getPreviousKey(key);\n return this.getNextKey(key);\n }\n isDisabled(key) {\n return this.disabledKeys.has(key) || !!this.collection.getItem(key)?.props?.isDisabled;\n }\n getFirstKey() {\n let key = this.collection.getFirstKey();\n if (key != null && this.isDisabled(key)) key = this.getNextKey(key);\n return key;\n }\n getLastKey() {\n let key = this.collection.getLastKey();\n if (key != null && this.isDisabled(key)) key = this.getPreviousKey(key);\n return key;\n }\n getKeyAbove(key) {\n if (this.tabDirection) return null;\n return this.getPreviousKey(key);\n }\n getKeyBelow(key) {\n if (this.tabDirection) return null;\n return this.getNextKey(key);\n }\n getNextKey(startKey) {\n let key = startKey;\n do {\n key = this.collection.getKeyAfter(key);\n if (key == null) key = this.collection.getFirstKey();\n }while (key != null && this.isDisabled(key));\n return key;\n }\n getPreviousKey(startKey) {\n let key = startKey;\n do {\n key = this.collection.getKeyBefore(key);\n if (key == null) key = this.collection.getLastKey();\n }while (key != null && this.isDisabled(key));\n return key;\n }\n}\n\n\nexport {$a226bee26c88efd7$export$15010ca3c1abe90b as TabsKeyboardDelegate};\n//# sourceMappingURL=TabsKeyboardDelegate.mjs.map\n","import {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {tabsIds as $a251981b23baaa12$export$c5f62239608282b6} from \"./utils.mjs\";\nimport {TabsKeyboardDelegate as $a226bee26c88efd7$export$15010ca3c1abe90b} from \"./TabsKeyboardDelegate.mjs\";\nimport {useId as $390e54f620492c70$export$f680877a34711e37} from \"../utils/useId.mjs\";\nimport {useLabels as $e8ac3c3f5d4bae7f$export$d6875122194c7b44} from \"../utils/useLabels.mjs\";\nimport {useLocale as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7} from \"../i18n/I18nProvider.mjs\";\nimport {useSelectableCollection as $d667c2af82d35a98$export$d6daf82dcd84e87c} from \"../selection/useSelectableCollection.mjs\";\nimport {useMemo as $4mYNK$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\nfunction $83428e53deb13caf$export$773e389e644c5874(props, state, ref) {\n let { orientation: orientation = 'horizontal', keyboardActivation: keyboardActivation = 'automatic' } = props;\n let { collection: collection, selectionManager: manager, disabledKeys: disabledKeys } = state;\n let { direction: direction } = (0, $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7)();\n let delegate = (0, $4mYNK$useMemo)(()=>new (0, $a226bee26c88efd7$export$15010ca3c1abe90b)(collection, direction, orientation, disabledKeys), [\n collection,\n disabledKeys,\n orientation,\n direction\n ]);\n let { collectionProps: collectionProps } = (0, $d667c2af82d35a98$export$d6daf82dcd84e87c)({\n ref: ref,\n selectionManager: manager,\n keyboardDelegate: delegate,\n selectOnFocus: keyboardActivation === 'automatic',\n disallowEmptySelection: true,\n scrollRef: ref,\n linkBehavior: 'selection'\n });\n // Compute base id for all tabs\n let tabsId = (0, $390e54f620492c70$export$f680877a34711e37)();\n (0, $a251981b23baaa12$export$c5f62239608282b6).set(state, tabsId);\n let tabListLabelProps = (0, $e8ac3c3f5d4bae7f$export$d6875122194c7b44)({\n ...props,\n id: tabsId\n });\n return {\n tabListProps: {\n ...(0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(collectionProps, tabListLabelProps),\n role: 'tablist',\n 'aria-orientation': orientation,\n tabIndex: undefined\n }\n };\n}\n\n\nexport {$83428e53deb13caf$export$773e389e644c5874 as useTabList};\n//# sourceMappingURL=useTabList.mjs.map\n","import {generateId as $a251981b23baaa12$export$567fc7097e064344} from \"./utils.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {useHasTabbableChild as $bf14c9739fda2eb3$export$eac1895992b9f3d6} from \"../focus/useHasTabbableChild.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\n\n\nfunction $7d951241dadd72e4$export$fae0121b5afe572d(props, state, ref) {\n // The tabpanel should have tabIndex=0 when there are no tabbable elements within it.\n // Otherwise, tabbing from the focused tab should go directly to the first tabbable element\n // within the tabpanel.\n let tabIndex = (0, $bf14c9739fda2eb3$export$eac1895992b9f3d6)(ref) ? undefined : 0;\n const id = (0, $a251981b23baaa12$export$567fc7097e064344)(state, props.id ?? state?.selectedKey, 'tabpanel');\n const tabPanelProps = (0, $e8ac3c3f5d4bae7f$export$d6875122194c7b44)({\n ...props,\n id: id,\n 'aria-labelledby': (0, $a251981b23baaa12$export$567fc7097e064344)(state, state?.selectedKey, 'tab')\n });\n return {\n tabPanelProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(tabPanelProps, {\n tabIndex: tabIndex,\n role: 'tabpanel',\n 'aria-describedby': props['aria-describedby'],\n 'aria-details': props['aria-details']\n })\n };\n}\n\n\nexport {$7d951241dadd72e4$export$fae0121b5afe572d as useTabPanel};\n//# sourceMappingURL=useTabPanel.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 $a251981b23baaa12$export$c5f62239608282b6 = new WeakMap();\nfunction $a251981b23baaa12$export$567fc7097e064344(state, key, role) {\n if (!state) // this case should only happen in the first render before the tabs are registered\n return '';\n if (typeof key === 'string') key = key.replace(/\\s+/g, '');\n let baseId = $a251981b23baaa12$export$c5f62239608282b6.get(state);\n if (process.env.NODE_ENV !== 'production' && !baseId) console.error('There is no tab id, please check if you have rendered the tab panel before the tab list.');\n return `${baseId}-${role}-${key}`;\n}\n\n\nexport {$a251981b23baaa12$export$c5f62239608282b6 as tabsIds, $a251981b23baaa12$export$567fc7097e064344 as generateId};\n//# sourceMappingURL=utils.mjs.map\n","var $309fd0c1bad03077$exports = {};\n$309fd0c1bad03077$exports = {\n \"close\": `\\u{625}\\u{63A}\\u{644}\\u{627}\\u{642}`,\n \"notifications\": (args, formatter)=>`${formatter.plural(args.count, {\n one: ()=>`${formatter.number(args.count)} \\u{625}\\u{634}\\u{639}\\u{627}\\u{631}`,\n other: ()=>`${formatter.number(args.count)} \\u{625}\\u{634}\\u{639}\\u{627}\\u{631}\\u{627}\\u{62A}`\n })}.`\n};\n\n\nexport {$309fd0c1bad03077$exports as default};\n//# sourceMappingURL=ar-AE.mjs.map\n","import $1jmnO$intltoastarAEmjs from \"../intl/toast/ar-AE.mjs\";\nimport $1jmnO$intltoastbgBGmjs from \"../intl/toast/bg-BG.mjs\";\nimport $1jmnO$intltoastcsCZmjs from \"../intl/toast/cs-CZ.mjs\";\nimport $1jmnO$intltoastdaDKmjs from \"../intl/toast/da-DK.mjs\";\nimport $1jmnO$intltoastdeDEmjs from \"../intl/toast/de-DE.mjs\";\nimport $1jmnO$intltoastelGRmjs from \"../intl/toast/el-GR.mjs\";\nimport $1jmnO$intltoastenUSmjs from \"../intl/toast/en-US.mjs\";\nimport $1jmnO$intltoastesESmjs from \"../intl/toast/es-ES.mjs\";\nimport $1jmnO$intltoastetEEmjs from \"../intl/toast/et-EE.mjs\";\nimport $1jmnO$intltoastfiFImjs from \"../intl/toast/fi-FI.mjs\";\nimport $1jmnO$intltoastfrFRmjs from \"../intl/toast/fr-FR.mjs\";\nimport $1jmnO$intltoastheILmjs from \"../intl/toast/he-IL.mjs\";\nimport $1jmnO$intltoasthrHRmjs from \"../intl/toast/hr-HR.mjs\";\nimport $1jmnO$intltoasthuHUmjs from \"../intl/toast/hu-HU.mjs\";\nimport $1jmnO$intltoastitITmjs from \"../intl/toast/it-IT.mjs\";\nimport $1jmnO$intltoastjaJPmjs from \"../intl/toast/ja-JP.mjs\";\nimport $1jmnO$intltoastkoKRmjs from \"../intl/toast/ko-KR.mjs\";\nimport $1jmnO$intltoastltLTmjs from \"../intl/toast/lt-LT.mjs\";\nimport $1jmnO$intltoastlvLVmjs from \"../intl/toast/lv-LV.mjs\";\nimport $1jmnO$intltoastnbNOmjs from \"../intl/toast/nb-NO.mjs\";\nimport $1jmnO$intltoastnlNLmjs from \"../intl/toast/nl-NL.mjs\";\nimport $1jmnO$intltoastplPLmjs from \"../intl/toast/pl-PL.mjs\";\nimport $1jmnO$intltoastptBRmjs from \"../intl/toast/pt-BR.mjs\";\nimport $1jmnO$intltoastptPTmjs from \"../intl/toast/pt-PT.mjs\";\nimport $1jmnO$intltoastroROmjs from \"../intl/toast/ro-RO.mjs\";\nimport $1jmnO$intltoastruRUmjs from \"../intl/toast/ru-RU.mjs\";\nimport $1jmnO$intltoastskSKmjs from \"../intl/toast/sk-SK.mjs\";\nimport $1jmnO$intltoastslSImjs from \"../intl/toast/sl-SI.mjs\";\nimport $1jmnO$intltoastsrSPmjs from \"../intl/toast/sr-SP.mjs\";\nimport $1jmnO$intltoastsvSEmjs from \"../intl/toast/sv-SE.mjs\";\nimport $1jmnO$intltoasttrTRmjs from \"../intl/toast/tr-TR.mjs\";\nimport $1jmnO$intltoastukUAmjs from \"../intl/toast/uk-UA.mjs\";\nimport $1jmnO$intltoastzhCNmjs from \"../intl/toast/zh-CN.mjs\";\nimport $1jmnO$intltoastzhTWmjs from \"../intl/toast/zh-TW.mjs\";\n\nvar $f3e1a27213f96b5b$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$f3e1a27213f96b5b$exports = {\n \"ar-AE\": $1jmnO$intltoastarAEmjs,\n \"bg-BG\": $1jmnO$intltoastbgBGmjs,\n \"cs-CZ\": $1jmnO$intltoastcsCZmjs,\n \"da-DK\": $1jmnO$intltoastdaDKmjs,\n \"de-DE\": $1jmnO$intltoastdeDEmjs,\n \"el-GR\": $1jmnO$intltoastelGRmjs,\n \"en-US\": $1jmnO$intltoastenUSmjs,\n \"es-ES\": $1jmnO$intltoastesESmjs,\n \"et-EE\": $1jmnO$intltoastetEEmjs,\n \"fi-FI\": $1jmnO$intltoastfiFImjs,\n \"fr-FR\": $1jmnO$intltoastfrFRmjs,\n \"he-IL\": $1jmnO$intltoastheILmjs,\n \"hr-HR\": $1jmnO$intltoasthrHRmjs,\n \"hu-HU\": $1jmnO$intltoasthuHUmjs,\n \"it-IT\": $1jmnO$intltoastitITmjs,\n \"ja-JP\": $1jmnO$intltoastjaJPmjs,\n \"ko-KR\": $1jmnO$intltoastkoKRmjs,\n \"lt-LT\": $1jmnO$intltoastltLTmjs,\n \"lv-LV\": $1jmnO$intltoastlvLVmjs,\n \"nb-NO\": $1jmnO$intltoastnbNOmjs,\n \"nl-NL\": $1jmnO$intltoastnlNLmjs,\n \"pl-PL\": $1jmnO$intltoastplPLmjs,\n \"pt-BR\": $1jmnO$intltoastptBRmjs,\n \"pt-PT\": $1jmnO$intltoastptPTmjs,\n \"ro-RO\": $1jmnO$intltoastroROmjs,\n \"ru-RU\": $1jmnO$intltoastruRUmjs,\n \"sk-SK\": $1jmnO$intltoastskSKmjs,\n \"sl-SI\": $1jmnO$intltoastslSImjs,\n \"sr-SP\": $1jmnO$intltoastsrSPmjs,\n \"sv-SE\": $1jmnO$intltoastsvSEmjs,\n \"tr-TR\": $1jmnO$intltoasttrTRmjs,\n \"uk-UA\": $1jmnO$intltoastukUAmjs,\n \"zh-CN\": $1jmnO$intltoastzhCNmjs,\n \"zh-TW\": $1jmnO$intltoastzhTWmjs\n};\n\n\nexport {$f3e1a27213f96b5b$exports as default};\n//# sourceMappingURL=intlStrings.mjs.map\n","var $3f3688cb824d41f0$exports = {};\n$3f3688cb824d41f0$exports = {\n \"close\": `\\u{417}\\u{430}\\u{442}\\u{432}\\u{43E}\\u{440}\\u{438}`,\n \"notifications\": (args, formatter)=>`${formatter.plural(args.count, {\n one: ()=>`${formatter.number(args.count)} \\u{438}\\u{437}\\u{432}\\u{435}\\u{441}\\u{442}\\u{438}\\u{435}`,\n other: ()=>`${formatter.number(args.count)} \\u{438}\\u{437}\\u{432}\\u{435}\\u{441}\\u{442}\\u{438}\\u{44F}`\n })}.`\n};\n\n\nexport {$3f3688cb824d41f0$exports as default};\n//# sourceMappingURL=bg-BG.mjs.map\n","var $710968c2c3e0117a$exports = {};\n$710968c2c3e0117a$exports = {\n \"close\": `Zav\\u{159}\\xedt`,\n \"notifications\": (args, formatter)=>`${formatter.plural(args.count, {\n one: ()=>`${formatter.number(args.count)} ozn\\xe1men\\xed`,\n other: ()=>`${formatter.number(args.count)} ozn\\xe1men\\xed`\n })}.`\n};\n\n\nexport {$710968c2c3e0117a$exports as default};\n//# sourceMappingURL=cs-CZ.mjs.map\n","var $5bef37433078ced1$exports = {};\n$5bef37433078ced1$exports = {\n \"close\": `Luk`,\n \"notifications\": (args, formatter)=>`${formatter.plural(args.count, {\n one: ()=>`${formatter.number(args.count)} besked`,\n other: ()=>`${formatter.number(args.count)} beskeder`\n })}.`\n};\n\n\nexport {$5bef37433078ced1$exports as default};\n//# sourceMappingURL=da-DK.mjs.map\n","var $066f8d2af3654af5$exports = {};\n$066f8d2af3654af5$exports = {\n \"close\": `Schlie\\xdfen`,\n \"notifications\": (args, formatter)=>`${formatter.plural(args.count, {\n one: ()=>`${formatter.number(args.count)} Benachrichtigung`,\n other: ()=>`${formatter.number(args.count)} Benachrichtigungen`\n })}.`\n};\n\n\nexport {$066f8d2af3654af5$exports as default};\n//# sourceMappingURL=de-DE.mjs.map\n","var $1a89dde8179860ab$exports = {};\n$1a89dde8179860ab$exports = {\n \"close\": `\\u{39A}\\u{3BB}\\u{3B5}\\u{3AF}\\u{3C3}\\u{3B9}\\u{3BC}\\u{3BF}`,\n \"notifications\": (args, formatter)=>`${formatter.plural(args.count, {\n one: ()=>`${formatter.number(args.count)} \\u{3B5}\\u{3B9}\\u{3B4}\\u{3BF}\\u{3C0}\\u{3BF}\\u{3AF}\\u{3B7}\\u{3C3}\\u{3B7}`,\n other: ()=>`${formatter.number(args.count)} \\u{3B5}\\u{3B9}\\u{3B4}\\u{3BF}\\u{3C0}\\u{3BF}\\u{3B9}\\u{3AE}\\u{3C3}\\u{3B5}\\u{3B9}\\u{3C2}`\n })}.`\n};\n\n\nexport {$1a89dde8179860ab$exports as default};\n//# sourceMappingURL=el-GR.mjs.map\n","var $7380b0fb0752f400$exports = {};\n$7380b0fb0752f400$exports = {\n \"close\": `Close`,\n \"notifications\": (args, formatter)=>`${formatter.plural(args.count, {\n one: ()=>`${formatter.number(args.count)} notification`,\n other: ()=>`${formatter.number(args.count)} notifications`\n })}.`\n};\n\n\nexport {$7380b0fb0752f400$exports as default};\n//# sourceMappingURL=en-US.mjs.map\n","var $94a7d66dc3893f24$exports = {};\n$94a7d66dc3893f24$exports = {\n \"close\": `Cerrar`,\n \"notifications\": (args, formatter)=>`${formatter.plural(args.count, {\n one: ()=>`${formatter.number(args.count)} notificaci\\xf3n`,\n other: ()=>`${formatter.number(args.count)} notificaciones`\n })}.`\n};\n\n\nexport {$94a7d66dc3893f24$exports as default};\n//# sourceMappingURL=es-ES.mjs.map\n","var $347a4a6b5e1d25ae$exports = {};\n$347a4a6b5e1d25ae$exports = {\n \"close\": `Sule`,\n \"notifications\": (args, formatter)=>`${formatter.plural(args.count, {\n one: ()=>`${formatter.number(args.count)} teatis`,\n other: ()=>`${formatter.number(args.count)} teatist`\n })}.`\n};\n\n\nexport {$347a4a6b5e1d25ae$exports as default};\n//# sourceMappingURL=et-EE.mjs.map\n","var $32e8bbc2ee9e0249$exports = {};\n$32e8bbc2ee9e0249$exports = {\n \"close\": `Sulje`,\n \"notifications\": (args, formatter)=>`${formatter.plural(args.count, {\n one: ()=>`${formatter.number(args.count)} ilmoitus`,\n other: ()=>`${formatter.number(args.count)} ilmoitusta`\n })}.`\n};\n\n\nexport {$32e8bbc2ee9e0249$exports as default};\n//# sourceMappingURL=fi-FI.mjs.map\n","var $d5d67247e4ef589b$exports = {};\n$d5d67247e4ef589b$exports = {\n \"close\": `Fermer`,\n \"notifications\": (args, formatter)=>`${formatter.plural(args.count, {\n one: ()=>`${formatter.number(args.count)} notification`,\n other: ()=>`${formatter.number(args.count)} notifications`\n })}.`\n};\n\n\nexport {$d5d67247e4ef589b$exports as default};\n//# sourceMappingURL=fr-FR.mjs.map\n","var $3708737a8c6025ba$exports = {};\n$3708737a8c6025ba$exports = {\n \"close\": `\\u{5E1}\\u{5D2}\\u{5D5}\\u{5E8}`,\n \"notifications\": (args, formatter)=>`${formatter.plural(args.count, {\n one: ()=>`${formatter.number(args.count)} \\u{5D4}\\u{5EA}\\u{5E8}\\u{5D0}\\u{5D4}`,\n other: ()=>`${formatter.number(args.count)} \\u{5D4}\\u{5EA}\\u{5E8}\\u{5D0}\\u{5D5}\\u{5EA}`\n })}.`\n};\n\n\nexport {$3708737a8c6025ba$exports as default};\n//# sourceMappingURL=he-IL.mjs.map\n","var $6696aa30d131c66b$exports = {};\n$6696aa30d131c66b$exports = {\n \"close\": `Zatvori`,\n \"notifications\": (args, formatter)=>`${formatter.plural(args.count, {\n one: ()=>`${formatter.number(args.count)} obavijest`,\n other: ()=>`${formatter.number(args.count)} obavijesti`\n })}.`\n};\n\n\nexport {$6696aa30d131c66b$exports as default};\n//# sourceMappingURL=hr-HR.mjs.map\n","var $8d0d4739a5ca5496$exports = {};\n$8d0d4739a5ca5496$exports = {\n \"close\": `Bez\\xe1r\\xe1s`,\n \"notifications\": (args, formatter)=>`${formatter.plural(args.count, {\n one: ()=>`${formatter.number(args.count)} \\xe9rtes\\xedt\\xe9s`,\n other: ()=>`${formatter.number(args.count)} \\xe9rtes\\xedt\\xe9s`\n })}.`\n};\n\n\nexport {$8d0d4739a5ca5496$exports as default};\n//# sourceMappingURL=hu-HU.mjs.map\n","var $a43e0625847b3238$exports = {};\n$a43e0625847b3238$exports = {\n \"close\": `Chiudi`,\n \"notifications\": (args, formatter)=>`${formatter.plural(args.count, {\n one: ()=>`${formatter.number(args.count)} notifica`,\n other: ()=>`${formatter.number(args.count)} notifiche`\n })}.`\n};\n\n\nexport {$a43e0625847b3238$exports as default};\n//# sourceMappingURL=it-IT.mjs.map\n","var $eafdd9095a82d231$exports = {};\n$eafdd9095a82d231$exports = {\n \"close\": `\\u{9589}\\u{3058}\\u{308B}`,\n \"notifications\": (args, formatter)=>`${formatter.plural(args.count, {\n one: ()=>`${formatter.number(args.count)} \\u{500B}\\u{306E}\\u{901A}\\u{77E5}`,\n other: ()=>`${formatter.number(args.count)} \\u{500B}\\u{306E}\\u{901A}\\u{77E5}`\n })}\\u{3002}`\n};\n\n\nexport {$eafdd9095a82d231$exports as default};\n//# sourceMappingURL=ja-JP.mjs.map\n","var $db05ee9d485703ed$exports = {};\n$db05ee9d485703ed$exports = {\n \"close\": `\\u{B2EB}\\u{AE30}`,\n \"notifications\": (args, formatter)=>`${formatter.plural(args.count, {\n one: ()=>`${formatter.number(args.count)}\\u{AC1C} \\u{C54C}\\u{B9BC}`,\n other: ()=>`${formatter.number(args.count)}\\u{AC1C} \\u{C54C}\\u{B9BC}`\n })}.`\n};\n\n\nexport {$db05ee9d485703ed$exports as default};\n//# sourceMappingURL=ko-KR.mjs.map\n","var $59200d24148e983c$exports = {};\n$59200d24148e983c$exports = {\n \"close\": `U\\u{17E}daryti`,\n \"notifications\": (args, formatter)=>`${formatter.plural(args.count, {\n one: ()=>`${formatter.number(args.count)} prane\\u{161}imas`,\n other: ()=>`${formatter.number(args.count)} prane\\u{161}imai`\n })}.`\n};\n\n\nexport {$59200d24148e983c$exports as default};\n//# sourceMappingURL=lt-LT.mjs.map\n","var $ec93d97ef3e4f3e7$exports = {};\n$ec93d97ef3e4f3e7$exports = {\n \"close\": `Aizv\\u{113}rt`,\n \"notifications\": (args, formatter)=>`${formatter.plural(args.count, {\n one: ()=>`${formatter.number(args.count)} pazi\\u{146}ojums`,\n other: ()=>`${formatter.number(args.count)} pazi\\u{146}ojumi`\n })}.`\n};\n\n\nexport {$ec93d97ef3e4f3e7$exports as default};\n//# sourceMappingURL=lv-LV.mjs.map\n","var $9f456ba1a43de04c$exports = {};\n$9f456ba1a43de04c$exports = {\n \"close\": `Lukk`,\n \"notifications\": (args, formatter)=>`${formatter.plural(args.count, {\n one: ()=>`${formatter.number(args.count)} varsling`,\n other: ()=>`${formatter.number(args.count)} varsler`\n })}.`\n};\n\n\nexport {$9f456ba1a43de04c$exports as default};\n//# sourceMappingURL=nb-NO.mjs.map\n","var $d84e3ed61b9b8a27$exports = {};\n$d84e3ed61b9b8a27$exports = {\n \"close\": `Sluiten`,\n \"notifications\": (args, formatter)=>`${formatter.plural(args.count, {\n one: ()=>`${formatter.number(args.count)} melding`,\n other: ()=>`${formatter.number(args.count)} meldingen`\n })}.`\n};\n\n\nexport {$d84e3ed61b9b8a27$exports as default};\n//# sourceMappingURL=nl-NL.mjs.map\n","var $d8f3766a47e6ab9b$exports = {};\n$d8f3766a47e6ab9b$exports = {\n \"close\": `Zamknij`,\n \"notifications\": (args, formatter)=>`${formatter.plural(args.count, {\n one: ()=>`${formatter.number(args.count)} powiadomienie`,\n few: ()=>`${formatter.number(args.count)} powiadomienia`,\n many: ()=>`${formatter.number(args.count)} powiadomie\\u{144}`,\n other: ()=>`${formatter.number(args.count)} powiadomienia`\n })}.`\n};\n\n\nexport {$d8f3766a47e6ab9b$exports as default};\n//# sourceMappingURL=pl-PL.mjs.map\n","var $183cacea4b9be557$exports = {};\n$183cacea4b9be557$exports = {\n \"close\": `Fechar`,\n \"notifications\": (args, formatter)=>`${formatter.plural(args.count, {\n one: ()=>`${formatter.number(args.count)} notifica\\xe7\\xe3o`,\n other: ()=>`${formatter.number(args.count)} notifica\\xe7\\xf5es`\n })}.`\n};\n\n\nexport {$183cacea4b9be557$exports as default};\n//# sourceMappingURL=pt-BR.mjs.map\n","var $07d656fdc0f49208$exports = {};\n$07d656fdc0f49208$exports = {\n \"close\": `Fechar`,\n \"notifications\": (args, formatter)=>`${formatter.plural(args.count, {\n one: ()=>`${formatter.number(args.count)} notifica\\xe7\\xe3o`,\n other: ()=>`${formatter.number(args.count)} notifica\\xe7\\xf5es`\n })}.`\n};\n\n\nexport {$07d656fdc0f49208$exports as default};\n//# sourceMappingURL=pt-PT.mjs.map\n","var $5383fbac59264ffa$exports = {};\n$5383fbac59264ffa$exports = {\n \"close\": `\\xcenchide\\u{163}i`,\n \"notifications\": (args, formatter)=>`${formatter.plural(args.count, {\n one: ()=>`${formatter.number(args.count)} notificare`,\n other: ()=>`${formatter.number(args.count)} notific\\u{103}ri`\n })}.`\n};\n\n\nexport {$5383fbac59264ffa$exports as default};\n//# sourceMappingURL=ro-RO.mjs.map\n","var $403703b7176cf786$exports = {};\n$403703b7176cf786$exports = {\n \"close\": `\\u{417}\\u{430}\\u{43A}\\u{440}\\u{44B}\\u{442}\\u{44C}`,\n \"notifications\": (args, formatter)=>`${formatter.plural(args.count, {\n one: ()=>`${formatter.number(args.count)} \\u{443}\\u{432}\\u{435}\\u{434}\\u{43E}\\u{43C}\\u{43B}\\u{435}\\u{43D}\\u{438}\\u{435}`,\n other: ()=>`${formatter.number(args.count)} \\u{443}\\u{432}\\u{435}\\u{434}\\u{43E}\\u{43C}\\u{43B}\\u{435}\\u{43D}\\u{438}\\u{44F}`\n })}.`\n};\n\n\nexport {$403703b7176cf786$exports as default};\n//# sourceMappingURL=ru-RU.mjs.map\n","var $4e49c7d7e3a86269$exports = {};\n$4e49c7d7e3a86269$exports = {\n \"close\": `Zatvori\\u{165}`,\n \"notifications\": (args, formatter)=>`${formatter.plural(args.count, {\n one: ()=>`${formatter.number(args.count)} ozn\\xe1menie`,\n few: ()=>`${formatter.number(args.count)} ozn\\xe1menia`,\n other: ()=>`${formatter.number(args.count)} ozn\\xe1men\\xed`\n })}.`\n};\n\n\nexport {$4e49c7d7e3a86269$exports as default};\n//# sourceMappingURL=sk-SK.mjs.map\n","var $d5720ca22d188058$exports = {};\n$d5720ca22d188058$exports = {\n \"close\": `Zapri`,\n \"notifications\": (args, formatter)=>`${formatter.plural(args.count, {\n one: ()=>`${formatter.number(args.count)} obvestilo`,\n two: ()=>`${formatter.number(args.count)} obvestili`,\n few: ()=>`${formatter.number(args.count)} obvestila`,\n other: ()=>`${formatter.number(args.count)} obvestil`\n })}.`\n};\n\n\nexport {$d5720ca22d188058$exports as default};\n//# sourceMappingURL=sl-SI.mjs.map\n","var $096ecba971fbf4b7$exports = {};\n$096ecba971fbf4b7$exports = {\n \"close\": `Zatvori`,\n \"notifications\": (args, formatter)=>`${formatter.plural(args.count, {\n one: ()=>`${formatter.number(args.count)} obave\\u{161}tenje`,\n other: ()=>`${formatter.number(args.count)} obave\\u{161}tenja`\n })}.`\n};\n\n\nexport {$096ecba971fbf4b7$exports as default};\n//# sourceMappingURL=sr-SP.mjs.map\n","var $c95907e6aed76e0f$exports = {};\n$c95907e6aed76e0f$exports = {\n \"close\": `St\\xe4ng`,\n \"notifications\": (args, formatter)=>`${formatter.plural(args.count, {\n one: ()=>`${formatter.number(args.count)} meddelande`,\n other: ()=>`${formatter.number(args.count)} meddelanden`\n })}.`\n};\n\n\nexport {$c95907e6aed76e0f$exports as default};\n//# sourceMappingURL=sv-SE.mjs.map\n","var $04d09c082f380fd0$exports = {};\n$04d09c082f380fd0$exports = {\n \"close\": `Kapat`,\n \"notifications\": (args, formatter)=>`${formatter.plural(args.count, {\n one: ()=>`${formatter.number(args.count)} bildirim`,\n other: ()=>`${formatter.number(args.count)} bildirim`\n })}.`\n};\n\n\nexport {$04d09c082f380fd0$exports as default};\n//# sourceMappingURL=tr-TR.mjs.map\n","var $e12d694c6770027d$exports = {};\n$e12d694c6770027d$exports = {\n \"close\": `\\u{417}\\u{430}\\u{43A}\\u{440}\\u{438}\\u{442}\\u{438}`,\n \"notifications\": (args, formatter)=>`${formatter.plural(args.count, {\n one: ()=>`${formatter.number(args.count)} \\u{441}\\u{43F}\\u{43E}\\u{432}\\u{456}\\u{449}\\u{435}\\u{43D}\\u{43D}\\u{44F}`,\n other: ()=>`${formatter.number(args.count)} \\u{441}\\u{43F}\\u{43E}\\u{432}\\u{456}\\u{449}\\u{435}\\u{43D}\\u{43D}\\u{44F}`\n })}.`\n};\n\n\nexport {$e12d694c6770027d$exports as default};\n//# sourceMappingURL=uk-UA.mjs.map\n","var $e52ebae3753139c8$exports = {};\n$e52ebae3753139c8$exports = {\n \"close\": `\\u{5173}\\u{95ED}`,\n \"notifications\": (args, formatter)=>`${formatter.plural(args.count, {\n one: ()=>`${formatter.number(args.count)} \\u{4E2A}\\u{901A}\\u{77E5}`,\n other: ()=>`${formatter.number(args.count)} \\u{4E2A}\\u{901A}\\u{77E5}`\n })}\\u{3002}`\n};\n\n\nexport {$e52ebae3753139c8$exports as default};\n//# sourceMappingURL=zh-CN.mjs.map\n","var $9b0863f15a26a58c$exports = {};\n$9b0863f15a26a58c$exports = {\n \"close\": `\\u{95DC}\\u{9589}`,\n \"notifications\": (args, formatter)=>`${formatter.plural(args.count, {\n one: ()=>`${formatter.number(args.count)} \\u{500B}\\u{901A}\\u{77E5}`,\n other: ()=>`${formatter.number(args.count)} \\u{500B}\\u{901A}\\u{77E5}`\n })}\\u{3002}`\n};\n\n\nexport {$9b0863f15a26a58c$exports as default};\n//# sourceMappingURL=zh-TW.mjs.map\n","import {filterDOMProps as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f} from \"../utils/filterDOMProps.mjs\";\nimport $57MXN$intlStringsmjs from \"./intlStrings.mjs\";\nimport {useId as $390e54f620492c70$export$f680877a34711e37, useSlotId as $390e54f620492c70$export$b4cc09c592e8fdb8} from \"../utils/useId.mjs\";\nimport {useLayoutEffect as $c4867b2f328c2698$export$e5c5a5f917a5871c} from \"../utils/useLayoutEffect.mjs\";\nimport {useLocalizedStringFormatter as $cf2482eff2eeeec2$export$f12b703ca79dfbb1} from \"../i18n/useLocalizedStringFormatter.mjs\";\nimport {useEffect as $57MXN$useEffect, useState as $57MXN$useState} 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\nfunction $e9b287e97f25ea01$export$a407b657d3044108(props, state, ref) {\n let { key: key, timer: timer, timeout: timeout } = props.toast;\n (0, $57MXN$useEffect)(()=>{\n if (timer == null || timeout == null) return;\n timer.reset(timeout);\n return ()=>{\n timer.pause();\n };\n }, [\n timer,\n timeout\n ]);\n let titleId = (0, $390e54f620492c70$export$f680877a34711e37)();\n let descriptionId = (0, $390e54f620492c70$export$b4cc09c592e8fdb8)();\n let stringFormatter = (0, $cf2482eff2eeeec2$export$f12b703ca79dfbb1)((0, ($parcel$interopDefault($57MXN$intlStringsmjs))), '@react-aria/toast');\n // This is required for NVDA announcements, without it NVDA will NOT announce the toast when it appears.\n // Originally was tied to animationStart/End via https://github.com/adobe/react-spectrum/pull/6223/commits/e22e319df64958e822ab7cd9685e96818cae9ba5\n // but toasts don't always have animations.\n let [isVisible, setIsVisible] = (0, $57MXN$useState)(false);\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n setIsVisible(true);\n }, []);\n let toastProps = (0, $8e9d2fae0ecb9001$export$457c3d6518dd4c6f)(props, {\n labelable: true\n });\n return {\n toastProps: {\n ...toastProps,\n role: 'alertdialog',\n 'aria-modal': 'false',\n 'aria-labelledby': props['aria-labelledby'] || titleId,\n 'aria-describedby': props['aria-describedby'] || descriptionId,\n tabIndex: 0\n },\n contentProps: {\n role: 'alert',\n 'aria-atomic': 'true',\n 'aria-hidden': isVisible ? undefined : 'true'\n },\n titleProps: {\n id: titleId\n },\n descriptionProps: {\n id: descriptionId\n },\n closeButtonProps: {\n 'aria-label': stringFormatter.format('close'),\n onPress: ()=>state.close(key)\n }\n };\n}\n\n\nexport {$e9b287e97f25ea01$export$a407b657d3044108 as useToast};\n//# sourceMappingURL=useToast.mjs.map\n","import {getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29, nodeContains as $23f2114a1b82827e$export$4282f70798064fe0} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {useLayoutEffect as $c4867b2f328c2698$export$e5c5a5f917a5871c} from \"../utils/useLayoutEffect.mjs\";\nimport {useState as $8r6Ck$useState, useCallback as $8r6Ck$useCallback, useEffect as $8r6Ck$useEffect} from \"react\";\nimport {useSyncExternalStore as $8r6Ck$useSyncExternalStore} from \"use-sync-external-store/shim/index.js\";\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// Increment this version number whenever the\n// LandmarkManagerApi or Landmark interfaces change.\nconst $6b88d4883d4c7fe3$var$LANDMARK_API_VERSION = 1;\n// Symbol under which the singleton landmark manager instance is attached to the document.\nconst $6b88d4883d4c7fe3$var$landmarkSymbol = Symbol.for('react-aria-landmark-manager');\nfunction $6b88d4883d4c7fe3$var$subscribe(fn) {\n document.addEventListener('react-aria-landmark-manager-change', fn);\n return ()=>document.removeEventListener('react-aria-landmark-manager-change', fn);\n}\nfunction $6b88d4883d4c7fe3$var$getLandmarkManager() {\n if (typeof document === 'undefined') return null;\n // Reuse an existing instance if it has the same or greater version.\n let instance = document[$6b88d4883d4c7fe3$var$landmarkSymbol];\n if (instance && instance.version >= $6b88d4883d4c7fe3$var$LANDMARK_API_VERSION) return instance;\n // Otherwise, create a new instance and dispatch an event so anything using the existing\n // instance updates and re-registers their landmarks with the new one.\n document[$6b88d4883d4c7fe3$var$landmarkSymbol] = new $6b88d4883d4c7fe3$var$LandmarkManager();\n document.dispatchEvent(new CustomEvent('react-aria-landmark-manager-change'));\n return document[$6b88d4883d4c7fe3$var$landmarkSymbol];\n}\n// Subscribes a React component to the current landmark manager instance.\nfunction $6b88d4883d4c7fe3$var$useLandmarkManager() {\n return (0, $8r6Ck$useSyncExternalStore)($6b88d4883d4c7fe3$var$subscribe, $6b88d4883d4c7fe3$var$getLandmarkManager, $6b88d4883d4c7fe3$var$getLandmarkManager);\n}\nclass $6b88d4883d4c7fe3$var$LandmarkManager {\n constructor(){\n this.landmarks = [];\n this.isListening = false;\n this.refCount = 0;\n this.version = $6b88d4883d4c7fe3$var$LANDMARK_API_VERSION;\n this.f6Handler = this.f6Handler.bind(this);\n this.focusinHandler = this.focusinHandler.bind(this);\n this.focusoutHandler = this.focusoutHandler.bind(this);\n }\n setupIfNeeded() {\n if (this.isListening) return;\n document.addEventListener('keydown', this.f6Handler, {\n capture: true\n });\n document.addEventListener('focusin', this.focusinHandler, {\n capture: true\n });\n document.addEventListener('focusout', this.focusoutHandler, {\n capture: true\n });\n this.isListening = true;\n }\n teardownIfNeeded() {\n if (!this.isListening || this.landmarks.length > 0 || this.refCount > 0) return;\n document.removeEventListener('keydown', this.f6Handler, {\n capture: true\n });\n document.removeEventListener('focusin', this.focusinHandler, {\n capture: true\n });\n document.removeEventListener('focusout', this.focusoutHandler, {\n capture: true\n });\n this.isListening = false;\n }\n focusLandmark(landmark, direction) {\n this.landmarks.find((l)=>l.ref.current === landmark)?.focus?.(direction);\n }\n /**\n * Return set of landmarks with a specific role.\n */ getLandmarksByRole(role) {\n return new Set(this.landmarks.filter((l)=>l.role === role));\n }\n /**\n * Return first landmark with a specific role.\n */ getLandmarkByRole(role) {\n return this.landmarks.find((l)=>l.role === role);\n }\n addLandmark(newLandmark) {\n this.setupIfNeeded();\n if (this.landmarks.find((landmark)=>landmark.ref === newLandmark.ref) || !newLandmark.ref.current) return;\n if (this.landmarks.filter((landmark)=>landmark.role === 'main').length > 1 && process.env.NODE_ENV !== 'production') console.error('Page can contain no more than one landmark with the role \"main\".');\n if (this.landmarks.length === 0) {\n this.landmarks = [\n newLandmark\n ];\n this.checkLabels(newLandmark.role);\n return;\n }\n // Binary search to insert new landmark based on position in document relative to existing landmarks.\n // https://developer.mozilla.org/en-US/docs/Web/API/Node/compareDocumentPosition\n let start = 0;\n let end = this.landmarks.length - 1;\n while(start <= end){\n let mid = Math.floor((start + end) / 2);\n let comparedPosition = newLandmark.ref.current.compareDocumentPosition(this.landmarks[mid].ref.current);\n let isNewAfterExisting = Boolean(comparedPosition & Node.DOCUMENT_POSITION_PRECEDING || comparedPosition & Node.DOCUMENT_POSITION_CONTAINS);\n if (isNewAfterExisting) start = mid + 1;\n else end = mid - 1;\n }\n this.landmarks.splice(start, 0, newLandmark);\n this.checkLabels(newLandmark.role);\n }\n updateLandmark(landmark) {\n let index = this.landmarks.findIndex((l)=>l.ref === landmark.ref);\n if (index >= 0) {\n this.landmarks[index] = {\n ...this.landmarks[index],\n ...landmark\n };\n this.checkLabels(this.landmarks[index].role);\n }\n }\n removeLandmark(ref) {\n this.landmarks = this.landmarks.filter((landmark)=>landmark.ref !== ref);\n this.teardownIfNeeded();\n }\n /**\n * Warn if there are 2+ landmarks with the same role but no label.\n * Labels for landmarks with the same role must also be unique.\n *\n * See https://www.w3.org/WAI/ARIA/apg/practices/landmark-regions/.\n */ checkLabels(role) {\n let landmarksWithRole = this.getLandmarksByRole(role);\n if (landmarksWithRole.size > 1) {\n let duplicatesWithoutLabel = [\n ...landmarksWithRole\n ].filter((landmark)=>!landmark.label);\n if (duplicatesWithoutLabel.length > 0 && process.env.NODE_ENV !== 'production') console.warn(`Page contains more than one landmark with the '${role}' role. If two or more landmarks on a page share the same role, all must be labeled with an aria-label or aria-labelledby attribute: `, duplicatesWithoutLabel.map((landmark)=>landmark.ref.current));\n else if (process.env.NODE_ENV !== 'production') {\n let labels = [\n ...landmarksWithRole\n ].map((landmark)=>landmark.label);\n let duplicateLabels = labels.filter((item, index)=>labels.indexOf(item) !== index);\n duplicateLabels.forEach((label)=>{\n console.warn(`Page contains more than one landmark with the '${role}' role and '${label}' label. If two or more landmarks on a page share the same role, they must have unique labels: `, [\n ...landmarksWithRole\n ].filter((landmark)=>landmark.label === label).map((landmark)=>landmark.ref.current));\n });\n }\n }\n }\n /**\n * Get the landmark that is the closest parent in the DOM.\n * Returns undefined if no parent is a landmark.\n */ closestLandmark(element) {\n let landmarkMap = new Map(this.landmarks.map((l)=>[\n l.ref.current,\n l\n ]));\n let currentElement = element;\n while(currentElement && !landmarkMap.has(currentElement) && currentElement !== document.body && currentElement.parentElement)currentElement = currentElement.parentElement;\n return landmarkMap.get(currentElement);\n }\n /**\n * Gets the next landmark, in DOM focus order, or previous if backwards is specified.\n * If last landmark, next should be the first landmark.\n * If not inside a landmark, will return first landmark.\n * Returns undefined if there are no landmarks.\n */ getNextLandmark(element, { backward: backward }) {\n let currentLandmark = this.closestLandmark(element);\n let nextLandmarkIndex = backward ? this.landmarks.length - 1 : 0;\n if (currentLandmark) nextLandmarkIndex = this.landmarks.indexOf(currentLandmark) + (backward ? -1 : 1);\n let wrapIfNeeded = ()=>{\n // When we reach the end of the landmark sequence, fire a custom event that can be listened for by applications.\n // If this event is canceled, we return immediately. This can be used to implement landmark navigation across iframes.\n if (nextLandmarkIndex < 0) {\n if (!element.dispatchEvent(new CustomEvent('react-aria-landmark-navigation', {\n detail: {\n direction: 'backward'\n },\n bubbles: true,\n cancelable: true\n }))) return true;\n nextLandmarkIndex = this.landmarks.length - 1;\n } else if (nextLandmarkIndex >= this.landmarks.length) {\n if (!element.dispatchEvent(new CustomEvent('react-aria-landmark-navigation', {\n detail: {\n direction: 'forward'\n },\n bubbles: true,\n cancelable: true\n }))) return true;\n nextLandmarkIndex = 0;\n }\n if (nextLandmarkIndex < 0 || nextLandmarkIndex >= this.landmarks.length) return true;\n return false;\n };\n if (wrapIfNeeded()) return undefined;\n // Skip over hidden landmarks.\n let i = nextLandmarkIndex;\n while(this.landmarks[nextLandmarkIndex].ref.current?.closest('[aria-hidden=true]')){\n nextLandmarkIndex += backward ? -1 : 1;\n if (wrapIfNeeded()) return undefined;\n if (nextLandmarkIndex === i) break;\n }\n return this.landmarks[nextLandmarkIndex];\n }\n /**\n * Look at next landmark. If an element was previously focused inside, restore focus there.\n * If not, focus the landmark itself.\n * If no landmarks at all, or none with focusable elements, don't move focus.\n */ f6Handler(e) {\n if (e.key === 'F6') {\n // If alt key pressed, focus main landmark, otherwise navigate forward or backward based on shift key.\n let handled = e.altKey ? this.focusMain() : this.navigate((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e), e.shiftKey);\n if (handled) {\n e.preventDefault();\n e.stopPropagation();\n }\n }\n }\n focusMain() {\n let main = this.getLandmarkByRole('main');\n if (main && main.ref.current && main.ref.current.isConnected) {\n this.focusLandmark(main.ref.current, 'forward');\n return true;\n }\n return false;\n }\n navigate(from, backward) {\n let nextLandmark = this.getNextLandmark(from, {\n backward: backward\n });\n if (!nextLandmark) return false;\n // If something was previously focused in the next landmark, then return focus to it\n if (nextLandmark.lastFocused) {\n let lastFocused = nextLandmark.lastFocused;\n if ((0, $23f2114a1b82827e$export$4282f70798064fe0)(document.body, lastFocused)) {\n lastFocused.focus();\n return true;\n }\n }\n // Otherwise, focus the landmark itself\n if (nextLandmark.ref.current && nextLandmark.ref.current.isConnected) {\n this.focusLandmark(nextLandmark.ref.current, backward ? 'backward' : 'forward');\n return true;\n }\n return false;\n }\n /**\n * Sets lastFocused for a landmark, if focus is moved within that landmark.\n * Lets the last focused landmark know it was blurred if something else is focused.\n */ focusinHandler(e) {\n let currentLandmark = this.closestLandmark((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e));\n if (currentLandmark && currentLandmark.ref.current !== (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e)) this.updateLandmark({\n ref: currentLandmark.ref,\n lastFocused: (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e)\n });\n let previousFocusedElement = e.relatedTarget;\n if (previousFocusedElement) {\n let closestPreviousLandmark = this.closestLandmark(previousFocusedElement);\n if (closestPreviousLandmark && closestPreviousLandmark.ref.current === previousFocusedElement) closestPreviousLandmark.blur();\n }\n }\n /**\n * Track if the focus is lost to the body. If it is, do cleanup on the landmark that last had focus.\n */ focusoutHandler(e) {\n let previousFocusedElement = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e);\n let nextFocusedElement = e.relatedTarget;\n // the === document seems to be a jest thing for focus to go there on generic blur event such as landmark.blur();\n // browsers appear to send focus instead to document.body and the relatedTarget is null when that happens\n if (!nextFocusedElement || nextFocusedElement === document) {\n let closestPreviousLandmark = this.closestLandmark(previousFocusedElement);\n if (closestPreviousLandmark && closestPreviousLandmark.ref.current === previousFocusedElement) closestPreviousLandmark.blur();\n }\n }\n createLandmarkController() {\n let instance = this;\n instance.refCount++;\n instance.setupIfNeeded();\n return {\n navigate (direction, opts) {\n let element = opts?.from || document.activeElement;\n return instance.navigate(element, direction === 'backward');\n },\n focusNext (opts) {\n let element = opts?.from || document.activeElement;\n return instance.navigate(element, false);\n },\n focusPrevious (opts) {\n let element = opts?.from || document.activeElement;\n return instance.navigate(element, true);\n },\n focusMain () {\n return instance.focusMain();\n },\n dispose () {\n if (instance) {\n instance.refCount--;\n instance.teardownIfNeeded();\n instance = null;\n }\n }\n };\n }\n registerLandmark(landmark) {\n if (this.landmarks.find((l)=>l.ref === landmark.ref)) this.updateLandmark(landmark);\n else this.addLandmark(landmark);\n return ()=>this.removeLandmark(landmark.ref);\n }\n}\nfunction $6b88d4883d4c7fe3$export$a8e2debc6521490c() {\n // Get the current landmark manager and create a controller using it.\n let instance = $6b88d4883d4c7fe3$var$getLandmarkManager();\n let controller = instance?.createLandmarkController();\n let unsubscribe = $6b88d4883d4c7fe3$var$subscribe(()=>{\n // If the landmark manager changes, dispose the old\n // controller and create a new one.\n controller?.dispose();\n instance = $6b88d4883d4c7fe3$var$getLandmarkManager();\n controller = instance?.createLandmarkController();\n });\n // Return a wrapper that proxies requests to the current controller instance.\n return {\n navigate (direction, opts) {\n return controller.navigate(direction, opts);\n },\n focusNext (opts) {\n return controller.focusNext(opts);\n },\n focusPrevious (opts) {\n return controller.focusPrevious(opts);\n },\n focusMain () {\n return controller.focusMain();\n },\n dispose () {\n controller?.dispose();\n unsubscribe();\n controller = undefined;\n instance = null;\n }\n };\n}\nfunction $6b88d4883d4c7fe3$export$4cc632584fd87fae(props, ref) {\n const { role: role, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, focus: focus } = props;\n let manager = $6b88d4883d4c7fe3$var$useLandmarkManager();\n let label = ariaLabel || ariaLabelledby;\n let [isLandmarkFocused, setIsLandmarkFocused] = (0, $8r6Ck$useState)(false);\n let defaultFocus = (0, $8r6Ck$useCallback)(()=>{\n setIsLandmarkFocused(true);\n }, [\n setIsLandmarkFocused\n ]);\n let blur = (0, $8r6Ck$useCallback)(()=>{\n setIsLandmarkFocused(false);\n }, [\n setIsLandmarkFocused\n ]);\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n if (manager) return manager.registerLandmark({\n ref: ref,\n label: label,\n role: role,\n focus: focus || defaultFocus,\n blur: blur\n });\n }, [\n manager,\n label,\n ref,\n role,\n focus,\n defaultFocus,\n blur\n ]);\n (0, $8r6Ck$useEffect)(()=>{\n if (isLandmarkFocused) ref.current?.focus();\n }, [\n isLandmarkFocused,\n ref\n ]);\n return {\n landmarkProps: {\n role: role,\n tabIndex: isLandmarkFocused ? -1 : undefined,\n 'aria-label': ariaLabel,\n 'aria-labelledby': ariaLabelledby\n }\n };\n}\n\n\nexport {$6b88d4883d4c7fe3$export$a8e2debc6521490c as UNSTABLE_createLandmarkController, $6b88d4883d4c7fe3$export$4cc632584fd87fae as useLandmark};\n//# sourceMappingURL=useLandmark.mjs.map\n","import {focusWithoutScrolling as $1969ac565cfec8d0$export$de79e2c695e052f3} from \"../utils/focusWithoutScrolling.mjs\";\nimport {getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {getInteractionModality as $8f5a2122b0992be3$export$630ff653c5ada6a9} from \"../interactions/useFocusVisible.mjs\";\nimport $7pO52$intlStringsmjs from \"./intlStrings.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {useFocusWithin as $2c9edc598a03d523$export$420e68273165f4ec} from \"../interactions/useFocusWithin.mjs\";\nimport {useHover as $e969f22b6713ca4a$export$ae780daf29e6d456} from \"../interactions/useHover.mjs\";\nimport {useLandmark as $6b88d4883d4c7fe3$export$4cc632584fd87fae} from \"../landmark/useLandmark.mjs\";\nimport {useLayoutEffect as $c4867b2f328c2698$export$e5c5a5f917a5871c} from \"../utils/useLayoutEffect.mjs\";\nimport {useLocalizedStringFormatter as $cf2482eff2eeeec2$export$f12b703ca79dfbb1} from \"../i18n/useLocalizedStringFormatter.mjs\";\nimport {useRef as $7pO52$useRef, useCallback as $7pO52$useCallback, useEffect as $7pO52$useEffect} from \"react\";\n\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\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\n\n\n\n\n\n\nfunction $17a75c27599f3197$export$b8cbbb20a51697de(props, state, ref) {\n let stringFormatter = (0, $cf2482eff2eeeec2$export$f12b703ca79dfbb1)((0, ($parcel$interopDefault($7pO52$intlStringsmjs))), '@react-aria/toast');\n let { landmarkProps: landmarkProps } = (0, $6b88d4883d4c7fe3$export$4cc632584fd87fae)({\n role: 'region',\n 'aria-label': props['aria-label'] || stringFormatter.format('notifications', {\n count: state.visibleToasts.length\n })\n }, ref);\n let isHovered = (0, $7pO52$useRef)(false);\n let isFocused = (0, $7pO52$useRef)(false);\n let updateTimers = (0, $7pO52$useCallback)(()=>{\n if (isHovered.current || isFocused.current) state.pauseAll();\n else state.resumeAll();\n }, [\n state\n ]);\n let { hoverProps: hoverProps } = (0, $e969f22b6713ca4a$export$ae780daf29e6d456)({\n onHoverStart: ()=>{\n isHovered.current = true;\n updateTimers();\n },\n onHoverEnd: ()=>{\n isHovered.current = false;\n updateTimers();\n }\n });\n // Manage focus within the toast region.\n // If a focused containing toast is removed, move focus to the next toast, or the previous toast if there is no next toast.\n let toasts = (0, $7pO52$useRef)([]);\n let prevVisibleToasts = (0, $7pO52$useRef)(state.visibleToasts);\n let focusedToast = (0, $7pO52$useRef)(null);\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n // If no toast has focus, then don't do anything.\n if (focusedToast.current === -1 || state.visibleToasts.length === 0 || !ref.current) {\n toasts.current = [];\n prevVisibleToasts.current = state.visibleToasts;\n return;\n }\n toasts.current = [\n ...ref.current.querySelectorAll('[role=\"alertdialog\"]')\n ];\n // If the visible toasts haven't changed, we don't need to do anything.\n if (prevVisibleToasts.current.length === state.visibleToasts.length && state.visibleToasts.every((t, i)=>t.key === prevVisibleToasts.current[i].key)) {\n prevVisibleToasts.current = state.visibleToasts;\n return;\n }\n // Get a list of all toasts by index and add info if they are removed.\n let allToasts = prevVisibleToasts.current.map((t, i)=>({\n ...t,\n i: i,\n isRemoved: !state.visibleToasts.some((t2)=>t.key === t2.key)\n }));\n let removedFocusedToastIndex = allToasts.findIndex((t)=>t.i === focusedToast.current && t.isRemoved);\n // If the focused toast was removed, focus the next or previous toast.\n if (removedFocusedToastIndex > -1) {\n // In pointer modality, move focus out of the toast region.\n // Otherwise auto-dismiss timers will appear \"stuck\".\n if ((0, $8f5a2122b0992be3$export$630ff653c5ada6a9)() === 'pointer' && lastFocused.current?.isConnected) (0, $1969ac565cfec8d0$export$de79e2c695e052f3)(lastFocused.current);\n else {\n let i = 0;\n let nextToast;\n let prevToast;\n while(i <= removedFocusedToastIndex){\n if (!allToasts[i].isRemoved) prevToast = Math.max(0, i - 1);\n i++;\n }\n while(i < allToasts.length){\n if (!allToasts[i].isRemoved) {\n nextToast = i - 1;\n break;\n }\n i++;\n }\n // in the case where it's one toast at a time, both will be undefined, but we know the index must be 0\n if (prevToast === undefined && nextToast === undefined) prevToast = 0;\n // prioritize going to newer toasts\n if (prevToast >= 0 && prevToast < toasts.current.length) (0, $1969ac565cfec8d0$export$de79e2c695e052f3)(toasts.current[prevToast]);\n else if (nextToast >= 0 && nextToast < toasts.current.length) (0, $1969ac565cfec8d0$export$de79e2c695e052f3)(toasts.current[nextToast]);\n }\n }\n prevVisibleToasts.current = state.visibleToasts;\n }, [\n state.visibleToasts,\n ref\n ]);\n let lastFocused = (0, $7pO52$useRef)(null);\n let { focusWithinProps: focusWithinProps } = (0, $2c9edc598a03d523$export$420e68273165f4ec)({\n onFocusWithin: (e)=>{\n isFocused.current = true;\n lastFocused.current = e.relatedTarget;\n updateTimers();\n },\n onBlurWithin: ()=>{\n isFocused.current = false;\n lastFocused.current = null;\n updateTimers();\n }\n });\n // When the number of visible toasts becomes 0 or the region unmounts,\n // restore focus to the last element that had focus before the user moved focus\n // into the region. FocusScope restore focus doesn't update whenever the focus\n // moves in, it only happens once, so we correct it.\n // Because we're in a hook, we can't control if the user unmounts or not.\n (0, $7pO52$useEffect)(()=>{\n if (state.visibleToasts.length === 0 && lastFocused.current?.isConnected) {\n if ((0, $8f5a2122b0992be3$export$630ff653c5ada6a9)() === 'pointer') (0, $1969ac565cfec8d0$export$de79e2c695e052f3)(lastFocused.current);\n else lastFocused.current.focus();\n lastFocused.current = null;\n }\n }, [\n ref,\n state.visibleToasts.length\n ]);\n (0, $7pO52$useEffect)(()=>{\n return ()=>{\n if (lastFocused.current?.isConnected) {\n if ((0, $8f5a2122b0992be3$export$630ff653c5ada6a9)() === 'pointer') (0, $1969ac565cfec8d0$export$de79e2c695e052f3)(lastFocused.current);\n else lastFocused.current.focus();\n lastFocused.current = null;\n }\n };\n }, [\n ref\n ]);\n return {\n regionProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(landmarkProps, hoverProps, focusWithinProps, {\n tabIndex: -1,\n // Mark the toast region as a \"top layer\", so that it:\n // - is not aria-hidden when opening an overlay\n // - allows focus even outside a containing focus scope\n // - doesn’t dismiss overlays when clicking on it, even though it is outside\n // @ts-ignore\n 'data-react-aria-top-layer': true,\n // listen to focus events separate from focuswithin because that will only fire once\n // and we need to follow all focus changes\n onFocus: (e)=>{\n let target = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e).closest('[role=\"alertdialog\"]');\n focusedToast.current = toasts.current.findIndex((t)=>t === target);\n },\n onBlur: ()=>{\n focusedToast.current = -1;\n }\n })\n };\n}\n\n\nexport {$17a75c27599f3197$export$b8cbbb20a51697de as useToastRegion};\n//# sourceMappingURL=useToastRegion.mjs.map\n","import {filterDOMProps as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f} from \"../utils/filterDOMProps.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {useHover as $e969f22b6713ca4a$export$ae780daf29e6d456} from \"../interactions/useHover.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 $8c383cffc84c9982$export$1c4b08e0eca38426(props, state) {\n let domProps = (0, $8e9d2fae0ecb9001$export$457c3d6518dd4c6f)(props, {\n labelable: true\n });\n let { hoverProps: hoverProps } = (0, $e969f22b6713ca4a$export$ae780daf29e6d456)({\n onHoverStart: ()=>state?.open(true),\n onHoverEnd: ()=>state?.close()\n });\n return {\n tooltipProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(domProps, hoverProps, {\n role: 'tooltip'\n })\n };\n}\n\n\nexport {$8c383cffc84c9982$export$1c4b08e0eca38426 as useTooltip};\n//# sourceMappingURL=useTooltip.mjs.map\n","import {getInteractionModality as $8f5a2122b0992be3$export$630ff653c5ada6a9, isFocusVisible as $8f5a2122b0992be3$export$b9b3dfddab17db27} from \"../interactions/useFocusVisible.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 {useId as $390e54f620492c70$export$f680877a34711e37} from \"../utils/useId.mjs\";\nimport {useRef as $t8vQD$useRef, useEffect as $t8vQD$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 $85908aa8a35f0fac$export$a6da6c504e4bba8b(props, state, ref) {\n let { isDisabled: isDisabled, trigger: trigger, shouldCloseOnPress: shouldCloseOnPress = true } = props;\n let tooltipId = (0, $390e54f620492c70$export$f680877a34711e37)();\n let isHovered = (0, $t8vQD$useRef)(false);\n let isFocused = (0, $t8vQD$useRef)(false);\n let handleShow = ()=>{\n if (isHovered.current || isFocused.current) state.open(isFocused.current);\n };\n let handleHide = (immediate)=>{\n if (!isHovered.current && !isFocused.current) state.close(immediate);\n };\n (0, $t8vQD$useEffect)(()=>{\n let onKeyDown = (e)=>{\n if (ref && ref.current) // Escape after clicking something can give it keyboard focus\n // dismiss tooltip on esc key press\n {\n if (e.key === 'Escape') {\n e.stopPropagation();\n state.close(true);\n }\n }\n };\n if (state.isOpen) {\n document.addEventListener('keydown', onKeyDown, true);\n return ()=>{\n document.removeEventListener('keydown', onKeyDown, true);\n };\n }\n }, [\n ref,\n state\n ]);\n let onHoverStart = ()=>{\n if (trigger === 'focus') return;\n // In chrome, if you hover a trigger, then another element obscures it, due to keyboard\n // interactions for example, hover will end. When hover is restored after that element disappears,\n // focus moves on for example, then the tooltip will reopen. We check the modality to know if the hover\n // is the result of moving the mouse.\n if ((0, $8f5a2122b0992be3$export$630ff653c5ada6a9)() === 'pointer') isHovered.current = true;\n else isHovered.current = false;\n handleShow();\n };\n let onHoverEnd = ()=>{\n if (trigger === 'focus') return;\n // no matter how the trigger is left, we should close the tooltip\n isFocused.current = false;\n isHovered.current = false;\n handleHide();\n };\n let onPressStart = ()=>{\n // if shouldCloseOnPress is false, we should not close the tooltip\n if (!shouldCloseOnPress) return;\n // no matter how the trigger is pressed, we should close the tooltip\n isFocused.current = false;\n isHovered.current = false;\n handleHide(true);\n };\n let onFocus = ()=>{\n let isVisible = (0, $8f5a2122b0992be3$export$b9b3dfddab17db27)();\n if (isVisible) {\n isFocused.current = true;\n handleShow();\n }\n };\n let onBlur = ()=>{\n isFocused.current = false;\n isHovered.current = false;\n handleHide(true);\n };\n let { hoverProps: hoverProps } = (0, $e969f22b6713ca4a$export$ae780daf29e6d456)({\n isDisabled: isDisabled,\n onHoverStart: onHoverStart,\n onHoverEnd: onHoverEnd\n });\n let { focusableProps: focusableProps } = (0, $d1116acdf220c2da$export$4c014de7c8940b4c)({\n isDisabled: isDisabled,\n onFocus: onFocus,\n onBlur: onBlur\n }, ref);\n return {\n triggerProps: {\n 'aria-describedby': state.isOpen ? tooltipId : undefined,\n ...(0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(focusableProps, hoverProps, {\n onPointerDown: onPressStart,\n onKeyDown: onPressStart\n }),\n tabIndex: undefined\n },\n tooltipProps: {\n id: tooltipId\n }\n };\n}\n\n\nexport {$85908aa8a35f0fac$export$a6da6c504e4bba8b as useTooltipTrigger};\n//# sourceMappingURL=useTooltipTrigger.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","/*\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","/*\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 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 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","/*\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 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 {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 {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","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","/*\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 {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 {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 {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","/*\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 {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 return {\n href: props?.href ? href : undefined,\n target: props?.target,\n rel: props?.rel,\n download: props?.download,\n ping: props?.ping,\n referrerPolicy: props?.referrerPolicy\n };\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","/*\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 {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 {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 do {\n if ((0, $901761b40e390936$export$2bb74740c4e19def)(node, checkForOverflow)) parentElements.push(node);\n node = node.parentElement;\n }while (node && node !== root);\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 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 = parseInt(itemStyle.scrollMarginTop, 10) || 0;\n let scrollMarginBottom = parseInt(itemStyle.scrollMarginBottom, 10) || 0;\n let scrollMarginLeft = parseInt(itemStyle.scrollMarginLeft, 10) || 0;\n let scrollMarginRight = parseInt(itemStyle.scrollMarginRight, 10) || 0;\n let scrollPaddingTop = parseInt(viewStyle.scrollPaddingTop, 10) || 0;\n let scrollPaddingBottom = parseInt(viewStyle.scrollPaddingBottom, 10) || 0;\n let scrollPaddingLeft = parseInt(viewStyle.scrollPaddingLeft, 10) || 0;\n let scrollPaddingRight = parseInt(viewStyle.scrollPaddingRight, 10) || 0;\n let borderTopWidth = parseInt(viewStyle.borderTopWidth, 10) || 0;\n let borderBottomWidth = parseInt(viewStyle.borderBottomWidth, 10) || 0;\n let borderLeftWidth = parseInt(viewStyle.borderLeftWidth, 10) || 0;\n let borderRightWidth = parseInt(viewStyle.borderRightWidth, 10) || 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.offsetWidth - scrollView.clientWidth - scrollBarOffsetX;\n let scrollBarHeight = scrollView.offsetHeight - scrollView.clientHeight - scrollBarOffsetY;\n let scrollPortTop = viewTop + borderTopWidth + scrollPaddingTop;\n let scrollPortBottom = viewBottom - borderBottomWidth - scrollPaddingBottom - scrollBarHeight;\n let scrollPortLeft = viewLeft + borderLeftWidth + scrollPaddingLeft;\n let scrollPortRight = viewRight - 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 for (let scrollParent of scrollParents)$51a3e22a5186a962$export$53a0910f038337bd(scrollParent, containingElement, {\n block: 'center',\n inline: 'center'\n });\n }\n }\n }\n}\n\n\nexport {$51a3e22a5186a962$export$53a0910f038337bd as scrollIntoView, $51a3e22a5186a962$export$c826860796309d1b as scrollIntoViewport};\n//# sourceMappingURL=scrollIntoView.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 {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 {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 {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 {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 {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 {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","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 {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","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 {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 {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 {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 {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) context.ref.current = null;\n };\n }\n });\n}\n\n\nexport {$b7115c395c64f7b5$export$4debdb1a3f0fa79e as useSyncRef};\n//# sourceMappingURL=useSyncRef.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 ? 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","/*\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 */ let $3db4938a3baa5776$var$cachedRTLResult = null;\nfunction $3db4938a3baa5776$export$faf7630257ad4304(recalculate = false) {\n if ($3db4938a3baa5776$var$cachedRTLResult === null || recalculate) {\n const outerDiv = document.createElement('div');\n const outerStyle = outerDiv.style;\n outerStyle.width = '50px';\n outerStyle.height = '50px';\n outerStyle.overflow = 'scroll';\n outerStyle.direction = 'rtl';\n const innerDiv = document.createElement('div');\n const innerStyle = innerDiv.style;\n innerStyle.width = '100px';\n innerStyle.height = '100px';\n outerDiv.appendChild(innerDiv);\n document.body.appendChild(outerDiv);\n if (outerDiv.scrollLeft > 0) $3db4938a3baa5776$var$cachedRTLResult = 'positive-descending';\n else {\n outerDiv.scrollLeft = 1;\n if (outerDiv.scrollLeft === 0) $3db4938a3baa5776$var$cachedRTLResult = 'negative';\n else $3db4938a3baa5776$var$cachedRTLResult = 'positive-ascending';\n }\n document.body.removeChild(outerDiv);\n return $3db4938a3baa5776$var$cachedRTLResult;\n }\n return $3db4938a3baa5776$var$cachedRTLResult;\n}\nfunction $3db4938a3baa5776$export$1389d168952b34b5(node, direction) {\n let { scrollLeft: scrollLeft } = node;\n // scrollLeft in rtl locales differs across browsers, so normalize.\n // See comment by getRTLOffsetType below for details.\n if (direction === 'rtl') {\n let { scrollWidth: scrollWidth, clientWidth: clientWidth } = node;\n switch($3db4938a3baa5776$export$faf7630257ad4304()){\n case 'negative':\n scrollLeft = -scrollLeft;\n break;\n case 'positive-descending':\n scrollLeft = scrollWidth - clientWidth - scrollLeft;\n break;\n }\n }\n return scrollLeft;\n}\nfunction $3db4938a3baa5776$export$ed5fd5ffe5ab0ac(node, direction, scrollLeft) {\n if (direction === 'rtl') switch($3db4938a3baa5776$export$faf7630257ad4304()){\n case 'negative':\n scrollLeft = -scrollLeft;\n break;\n case 'positive-ascending':\n break;\n default:\n {\n const { clientWidth: clientWidth, scrollWidth: scrollWidth } = node;\n scrollLeft = scrollWidth - clientWidth - scrollLeft;\n break;\n }\n }\n node.scrollLeft = scrollLeft;\n}\n\n\nexport {$3db4938a3baa5776$export$faf7630257ad4304 as getRTLOffsetType, $3db4938a3baa5776$export$1389d168952b34b5 as getScrollLeft, $3db4938a3baa5776$export$ed5fd5ffe5ab0ac as setScrollLeft};\n//# sourceMappingURL=utils.mjs.map\n","import {getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29, nodeContains as $23f2114a1b82827e$export$4282f70798064fe0} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {getScrollLeft as $3db4938a3baa5776$export$1389d168952b34b5} from \"./utils.mjs\";\nimport {useEffectEvent as $fe16bffc7a557bf0$export$7f54fc3180508a52} from \"../utils/useEffectEvent.mjs\";\nimport {useLayoutEffect as $c4867b2f328c2698$export$e5c5a5f917a5871c} from \"../utils/useLayoutEffect.mjs\";\nimport {useLocale as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7} from \"../i18n/I18nProvider.mjs\";\nimport {useObjectRef as $03e8ab2d84d7657a$export$4338b53315abf666} from \"../utils/useObjectRef.mjs\";\nimport {useResizeObserver as $970072cf4b13fde3$export$683480f191c0e3ea} from \"../utils/useResizeObserver.mjs\";\nimport {flushSync as $3rdQQ$flushSync} from \"react-dom\";\nimport {Point as $3rdQQ$Point, Size as $3rdQQ$Size, Rect as $3rdQQ$Rect} from \"react-stately/useVirtualizerState\";\nimport $3rdQQ$react, {useRef as $3rdQQ$useRef, useCallback as $3rdQQ$useCallback, useState as $3rdQQ$useState, useEffect as $3rdQQ$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 */ // @ts-ignore\n\n\n\n\n\n\n\n\n\n\nfunction $d83ca946696b1300$var$ScrollView(props, ref) {\n ref = (0, $03e8ab2d84d7657a$export$4338b53315abf666)(ref);\n let { scrollViewProps: scrollViewProps, contentProps: contentProps } = $d83ca946696b1300$export$2ea0c4974da4731b(props, ref);\n return /*#__PURE__*/ (0, $3rdQQ$react).createElement(\"div\", {\n role: \"presentation\",\n ...scrollViewProps,\n ref: ref\n }, /*#__PURE__*/ (0, $3rdQQ$react).createElement(\"div\", contentProps, props.children));\n}\nconst $d83ca946696b1300$export$5665e3d6be6adea = /*#__PURE__*/ (0, $3rdQQ$react).forwardRef($d83ca946696b1300$var$ScrollView);\nfunction $d83ca946696b1300$export$2ea0c4974da4731b(props, ref) {\n let { contentSize: contentSize, onVisibleRectChange: onVisibleRectChange, onSizeChange: onSizeChange, innerStyle: innerStyle, onScrollStart: onScrollStart, onScrollEnd: onScrollEnd, scrollDirection: scrollDirection = 'both', onScroll: onScrollProp, allowsWindowScrolling: allowsWindowScrolling, ...otherProps } = props;\n let state = (0, $3rdQQ$useRef)({\n // Internal scroll position of the scroll view.\n scrollPosition: new (0, $3rdQQ$Point)(),\n // Size of the scroll view.\n size: new (0, $3rdQQ$Size)(),\n // Offset of the scroll view relative to the window viewport.\n viewportOffset: new (0, $3rdQQ$Point)(),\n // Size of the window viewport.\n viewportSize: new (0, $3rdQQ$Size)(),\n scrollEndTime: 0,\n scrollTimeout: null,\n isScrolling: false,\n lastVisibleRect: new (0, $3rdQQ$Rect)()\n }).current;\n let { direction: direction } = (0, $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7)();\n let updateVisibleRect = (0, $3rdQQ$useCallback)(()=>{\n // Intersect the window viewport with the scroll view itself to find the actual visible rectangle.\n // This allows virtualized components to have unbounded height but still virtualize when scrolled with the page.\n // While there may be other scrollable elements between the <body> and the scroll view, we do not take\n // their sizes into account for performance reasons. Their scroll positions are accounted for in viewportOffset\n // though (due to getBoundingClientRect). This may result in more rows than absolutely necessary being rendered,\n // but no more than the entire height of the viewport which is good enough for virtualization use cases.\n let visibleRect = allowsWindowScrolling ? new (0, $3rdQQ$Rect)(state.viewportOffset.x + state.scrollPosition.x, state.viewportOffset.y + state.scrollPosition.y, Math.max(0, Math.min(state.size.width - state.viewportOffset.x, state.viewportSize.width)), Math.max(0, Math.min(state.size.height - state.viewportOffset.y, state.viewportSize.height))) : new (0, $3rdQQ$Rect)(state.scrollPosition.x, state.scrollPosition.y, state.size.width, state.size.height);\n // Don't emit updates if the visible area is zero and the last emitted area was also zero.\n if (visibleRect.area > 0 || state.lastVisibleRect.area > 0) {\n onVisibleRectChange(visibleRect);\n state.lastVisibleRect = visibleRect;\n }\n }, [\n state,\n allowsWindowScrolling,\n onVisibleRectChange\n ]);\n let [isScrolling, setScrolling] = (0, $3rdQQ$useState)(false);\n let onScroll = (0, $3rdQQ$useCallback)((e)=>{\n let target = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e);\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(target, ref.current)) return;\n if (onScrollProp && target === ref.current) onScrollProp(e);\n if (target !== ref.current) {\n // An ancestor element or the window was scrolled. Update the position of the scroll view relative to the viewport.\n let boundingRect = ref.current.getBoundingClientRect();\n let x = boundingRect.x < 0 ? -boundingRect.x : 0;\n let y = boundingRect.y < 0 ? -boundingRect.y : 0;\n if (x === state.viewportOffset.x && y === state.viewportOffset.y) return;\n state.viewportOffset = new (0, $3rdQQ$Point)(x, y);\n } else {\n // The scroll view itself was scrolled. Update the local scroll position.\n // Prevent rubber band scrolling from shaking when scrolling out of bounds\n let scrollTop = target.scrollTop;\n let scrollLeft = (0, $3db4938a3baa5776$export$1389d168952b34b5)(target, direction);\n state.scrollPosition = new (0, $3rdQQ$Point)(Math.max(0, Math.min(scrollLeft, contentSize.width - state.size.width)), Math.max(0, Math.min(scrollTop, contentSize.height - state.size.height)));\n }\n (0, $3rdQQ$flushSync)(()=>{\n updateVisibleRect();\n if (!state.isScrolling) {\n state.isScrolling = true;\n setScrolling(true);\n // Pause typekit MutationObserver during scrolling.\n window.dispatchEvent(new Event('tk.disconnect-observer'));\n if (onScrollStart) onScrollStart();\n }\n // So we don't constantly call clearTimeout and setTimeout,\n // keep track of the current timeout time and only reschedule\n // the timer when it is getting close.\n let now = Date.now();\n if (state.scrollEndTime <= now + 50) {\n state.scrollEndTime = now + 300;\n if (state.scrollTimeout != null) clearTimeout(state.scrollTimeout);\n state.scrollTimeout = setTimeout(()=>{\n state.isScrolling = false;\n setScrolling(false);\n state.scrollTimeout = null;\n window.dispatchEvent(new Event('tk.connect-observer'));\n if (onScrollEnd) onScrollEnd();\n }, 300);\n }\n });\n }, [\n onScrollProp,\n ref,\n direction,\n state,\n contentSize,\n updateVisibleRect,\n onScrollStart,\n onScrollEnd\n ]);\n // Attach a document-level capturing scroll listener so we can account for scrollable ancestors.\n (0, $3rdQQ$useEffect)(()=>{\n document.addEventListener('scroll', onScroll, true);\n return ()=>document.removeEventListener('scroll', onScroll, true);\n }, [\n onScroll\n ]);\n (0, $3rdQQ$useEffect)(()=>{\n return ()=>{\n if (state.scrollTimeout != null) clearTimeout(state.scrollTimeout);\n if (state.isScrolling) window.dispatchEvent(new Event('tk.connect-observer'));\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n let isUpdatingSize = (0, $3rdQQ$useRef)(false);\n let updateSize = (0, $3rdQQ$useCallback)((flush)=>{\n let dom = ref.current;\n if (!dom || isUpdatingSize.current) return;\n // Prevent reentrancy when resize observer fires, triggers re-layout that results in\n // content size update, causing below layout effect to fire. This avoids infinite loops.\n isUpdatingSize.current = true;\n let isTestEnv = process.env.NODE_ENV === 'test' && !process.env.VIRT_ON;\n let isClientWidthMocked = Object.getOwnPropertyNames(window.HTMLElement.prototype).includes('clientWidth');\n let isClientHeightMocked = Object.getOwnPropertyNames(window.HTMLElement.prototype).includes('clientHeight');\n let clientWidth = dom.clientWidth;\n let clientHeight = dom.clientHeight;\n let w = isTestEnv && !isClientWidthMocked ? Infinity : clientWidth;\n let h = isTestEnv && !isClientHeightMocked ? Infinity : clientHeight;\n // Update the window viewport size.\n let viewportWidth = window.innerWidth;\n let viewportHeight = window.innerHeight;\n let viewportSizeChanged = state.viewportSize.width !== viewportWidth || state.viewportSize.height !== viewportHeight;\n if (viewportSizeChanged) state.viewportSize = new (0, $3rdQQ$Size)(viewportWidth, viewportHeight);\n if (state.size.width !== w || state.size.height !== h || viewportSizeChanged) {\n state.size = new (0, $3rdQQ$Size)(w, h);\n flush(()=>{\n updateVisibleRect();\n onSizeChange?.(state.size);\n });\n // If the clientWidth or clientHeight changed, scrollbars appeared or disappeared as\n // a result of the layout update. In this case, re-layout again to account for the\n // adjusted space. In very specific cases this might result in the scrollbars disappearing\n // again, resulting in extra padding. We stop after a maximum of two layout passes to avoid\n // an infinite loop. This matches how browsers behavior with native CSS grid layout.\n if (!isTestEnv && clientWidth !== dom.clientWidth || clientHeight !== dom.clientHeight) {\n state.size = new (0, $3rdQQ$Size)(dom.clientWidth, dom.clientHeight);\n flush(()=>{\n updateVisibleRect();\n onSizeChange?.(state.size);\n });\n }\n }\n isUpdatingSize.current = false;\n }, [\n ref,\n state,\n updateVisibleRect,\n onSizeChange\n ]);\n let updateSizeEvent = (0, $fe16bffc7a557bf0$export$7f54fc3180508a52)(updateSize);\n // Track the size of the entire window viewport, which is used to bound the size of the virtualizer's visible rectangle.\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n // Initialize viewportRect before updating size for the first time.\n state.viewportSize = new (0, $3rdQQ$Size)(window.innerWidth, window.innerHeight);\n let onWindowResize = ()=>{\n updateSizeEvent((0, $3rdQQ$flushSync));\n };\n window.addEventListener('resize', onWindowResize);\n return ()=>window.removeEventListener('resize', onWindowResize);\n }, [\n state\n ]);\n // Update visible rect when the content size changes, in case scrollbars need to appear or disappear.\n let lastContentSize = (0, $3rdQQ$useRef)(null);\n let [update, setUpdate] = (0, $3rdQQ$useState)({});\n // We only contain a call to setState in here for testing environments.\n // eslint-disable-next-line react-hooks/exhaustive-deps\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n if (!isUpdatingSize.current && (lastContentSize.current == null || !contentSize.equals(lastContentSize.current))) {\n // React doesn't allow flushSync inside effects, so queue a microtask.\n // We also need to wait until all refs are set (e.g. when passing a ref down from a parent).\n // If we are in an `act` environment, update immediately without a microtask so you don't need\n // to mock timers in tests. In this case, the update is synchronous already.\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 // @ts-ignore\n if (typeof IS_REACT_ACT_ENVIRONMENT === 'boolean' ? IS_REACT_ACT_ENVIRONMENT : typeof jest !== 'undefined') {\n // This is so we update size in a separate render but within the same act. Needs to be setState instead of refs\n // due to strict mode.\n setUpdate({});\n lastContentSize.current = contentSize;\n return;\n } else queueMicrotask(()=>updateSizeEvent((0, $3rdQQ$flushSync)));\n }\n lastContentSize.current = contentSize;\n });\n // Will only run in tests, needs to be in separate effect so it is properly run in the next render in strict mode.\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n updateSizeEvent((fn)=>fn());\n }, [\n update\n ]);\n let onResize = (0, $3rdQQ$useCallback)(()=>{\n updateSize((0, $3rdQQ$flushSync));\n }, [\n updateSize\n ]);\n // Watch border-box instead of of content-box so that we don't go into\n // an infinite loop when scrollbars appear or disappear.\n (0, $970072cf4b13fde3$export$683480f191c0e3ea)({\n ref: ref,\n box: 'border-box',\n onResize: onResize\n });\n let style = {\n // Reset padding so that relative positioning works correctly. Padding will be done in JS layout.\n padding: 0,\n ...otherProps.style\n };\n if (scrollDirection === 'horizontal') {\n style.overflowX = 'auto';\n style.overflowY = 'hidden';\n } else if (scrollDirection === 'vertical' || contentSize.width === state.size.width) {\n // Set overflow-x: hidden if content size is equal to the width of the scroll view.\n // This prevents horizontal scrollbars from flickering during resizing due to resize observer\n // firing slower than the frame rate, which may cause an infinite re-render loop.\n style.overflowY = 'auto';\n style.overflowX = 'hidden';\n } else style.overflow = 'auto';\n innerStyle = {\n width: Number.isFinite(contentSize.width) ? contentSize.width : undefined,\n height: Number.isFinite(contentSize.height) ? contentSize.height : undefined,\n pointerEvents: isScrolling ? 'none' : 'auto',\n position: 'relative',\n ...innerStyle\n };\n return {\n isScrolling: isScrolling,\n scrollViewProps: {\n ...otherProps,\n style: style\n },\n contentProps: {\n role: 'presentation',\n style: innerStyle\n }\n };\n}\n\n\nexport {$d83ca946696b1300$export$2ea0c4974da4731b as useScrollView, $d83ca946696b1300$export$5665e3d6be6adea as ScrollView};\n//# sourceMappingURL=ScrollView.mjs.map\n","import {useLocale as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7} from \"../i18n/I18nProvider.mjs\";\nimport {useVirtualizerItem as $cd3854145620ec6a$export$1da781778207e0a2} from \"./useVirtualizerItem.mjs\";\nimport $26odF$react, {useRef as $26odF$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 $6c92e9e346cd7b1c$export$6796df8ba7398521(props) {\n let { style: style, className: className, layoutInfo: layoutInfo, virtualizer: virtualizer, parent: parent, children: children } = props;\n let { direction: direction } = (0, $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7)();\n let ref = (0, $26odF$useRef)(null);\n (0, $cd3854145620ec6a$export$1da781778207e0a2)({\n layoutInfo: layoutInfo,\n virtualizer: virtualizer,\n ref: ref\n });\n return /*#__PURE__*/ (0, $26odF$react).createElement(\"div\", {\n role: \"presentation\",\n ref: ref,\n className: className,\n style: {\n ...$6c92e9e346cd7b1c$export$1481e64fbe01b8b3(layoutInfo, direction, parent),\n ...style\n }\n }, children);\n}\nlet $6c92e9e346cd7b1c$var$cache = new WeakMap();\nfunction $6c92e9e346cd7b1c$export$1481e64fbe01b8b3(layoutInfo, dir, parent) {\n let xProperty = dir === 'rtl' ? 'right' : 'left';\n let cached = $6c92e9e346cd7b1c$var$cache.get(layoutInfo);\n if (cached && cached[xProperty] != null) {\n if (!parent) return cached;\n // Invalidate if the parent position changed.\n let top = layoutInfo.rect.y - parent.rect.y;\n let x = layoutInfo.rect.x - parent.rect.x;\n if (cached.top === top && cached[xProperty] === x) return cached;\n }\n let rectStyles = {\n // TODO: For layoutInfos that are sticky that have parents with overflow visible, their \"top\" will be relative to the to the nearest scrolling container\n // which WON'T be the parent since the parent has overflow visible. This means we shouldn't offset the height by the parent's position\n // Not 100% about this change here since it is quite ambigious what the scrolling container maybe and how its top is positioned with respect to the\n // calculated layoutInfo.y here\n top: layoutInfo.rect.y - (parent && !(parent.allowOverflow && layoutInfo.isSticky) ? parent.rect.y : 0),\n [xProperty]: layoutInfo.rect.x - (parent && !(parent.allowOverflow && layoutInfo.isSticky) ? parent.rect.x : 0),\n width: layoutInfo.rect.width,\n height: layoutInfo.rect.height\n };\n // Get rid of any non finite values since they aren't valid css values\n Object.entries(rectStyles).forEach(([key, value])=>{\n if (!Number.isFinite(value)) rectStyles[key] = undefined;\n });\n let style = {\n position: layoutInfo.isSticky ? 'sticky' : 'absolute',\n // Sticky elements are positioned in normal document flow. Display inline-block so that they don't push other sticky columns onto the following rows.\n display: layoutInfo.isSticky ? 'inline-block' : undefined,\n overflow: layoutInfo.allowOverflow ? 'visible' : 'hidden',\n opacity: layoutInfo.opacity,\n zIndex: layoutInfo.zIndex,\n transform: layoutInfo.transform ?? undefined,\n contain: 'size layout style',\n ...rectStyles\n };\n $6c92e9e346cd7b1c$var$cache.set(layoutInfo, style);\n return style;\n}\n\n\nexport {$6c92e9e346cd7b1c$export$6796df8ba7398521 as VirtualizerItem, $6c92e9e346cd7b1c$export$1481e64fbe01b8b3 as layoutInfoToStyle};\n//# sourceMappingURL=VirtualizerItem.mjs.map\n","import {useLayoutEffect as $c4867b2f328c2698$export$e5c5a5f917a5871c} from \"../utils/useLayoutEffect.mjs\";\nimport {Size as $8najZ$Size} from \"react-stately/useVirtualizerState\";\nimport {useCallback as $8najZ$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 $cd3854145620ec6a$export$1da781778207e0a2(options) {\n let { layoutInfo: layoutInfo, virtualizer: virtualizer, ref: ref } = options;\n let key = layoutInfo?.key;\n let updateSize = (0, $8najZ$useCallback)(()=>{\n if (key != null && ref.current) {\n let size = $cd3854145620ec6a$var$getSize(ref.current);\n virtualizer.updateItemSize(key, size);\n }\n }, [\n virtualizer,\n key,\n ref\n ]);\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n if (layoutInfo?.estimatedSize) updateSize();\n });\n return {\n updateSize: updateSize\n };\n}\nfunction $cd3854145620ec6a$var$getSize(node) {\n // Reset height before measuring so we get the intrinsic size\n let height = node.style.height;\n node.style.height = '';\n let size = new (0, $8najZ$Size)(node.scrollWidth, node.scrollHeight);\n node.style.height = height;\n return size;\n}\n\n\nexport {$cd3854145620ec6a$export$1da781778207e0a2 as useVirtualizerItem};\n//# sourceMappingURL=useVirtualizerItem.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"],"names":["clearTimeout","e","setTimeout","document","CustomEvent","KeyboardEvent","n","PointerEvent","t","queueMicrotask","s","Error","Symbol","Map","r","value","Set","WeakMap","i","HTMLTemplateElement","Object","h","requestAnimationFrame","cancelAnimationFrame","Promise","window","a","Element","Node","NodeFilter","Array","CSS","MutationObserver","FocusEvent","MessagePort","navigator","Intl","c","o","arguments","HTMLInputElement","HTMLTextAreaElement","HTMLElement","parseInt","SVGElement","MouseEvent","HTMLButtonElement","HTMLSelectElement","Boolean","Number","IS_REACT_ACT_ENVIRONMENT","jest","d","Math","v","String","CSSTransition","p","globalThis","location","HTMLAnchorElement","FinalizationRegistry","IntersectionObserver","Event","Date"],"mappings":"iNAmCI,EAA4B,CAAC,EAmCjC,EAA4B,CACxB,QCtEwB,CACxB,gBAAmB,SACvB,EDqEI,QEvEwB,CACxB,gBAAmB,aACvB,EFsEI,QGxEwB,CACxB,gBAAmB,WACvB,EHuEI,QIzEwB,CACxB,gBAAmB,SACvB,EJwEI,QK1EwB,CACxB,gBAAmB,cACvB,ELyEI,QM3EwB,CACxB,gBAAmB,WACvB,EN0EI,QO5EwB,CACxB,gBAAmB,aACvB,EP2EI,QQ7EwB,CACxB,gBAAmB,aACvB,ER4EI,QS9EwB,CACxB,gBAAmB,YACvB,ET6EI,QU/EwB,CACxB,gBAAmB,YACvB,EV8EI,QWhFwB,CACxB,gBAAmB,aACvB,EX+EI,QYjFwB,CACxB,gBAAmB,OACvB,EZgFI,QalFwB,CACxB,gBAAmB,YACvB,EbiFI,QcnFwB,CAC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