@commercetools/nimbus 0.0.0-canary-20250922155413 → 0.0.0-canary-20250924083846

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 (164) hide show
  1. package/dist/chunks/Button-BtJHe9xY.cjs.js.map +1 -1
  2. package/dist/chunks/Button-CNBS3n5a.es.js.map +1 -1
  3. package/dist/chunks/DateField-Dm2Qlhbk.es.js.map +1 -1
  4. package/dist/chunks/DateField-rweHHCKR.cjs.js.map +1 -1
  5. package/dist/chunks/{DatePicker-e_53Dtsm.cjs.js → DatePicker-BYhiEF2C.cjs.js} +2 -2
  6. package/dist/chunks/{DatePicker-e_53Dtsm.cjs.js.map → DatePicker-BYhiEF2C.cjs.js.map} +1 -1
  7. package/dist/chunks/{DatePicker-kvQcWFTq.es.js → DatePicker-C4UN4l9t.es.js} +2 -2
  8. package/dist/chunks/{DatePicker-kvQcWFTq.es.js.map → DatePicker-C4UN4l9t.es.js.map} +1 -1
  9. package/dist/chunks/{Dialog-K19USc7c.cjs.js → Dialog-32GmWneq.cjs.js} +2 -2
  10. package/dist/chunks/{Dialog-K19USc7c.cjs.js.map → Dialog-32GmWneq.cjs.js.map} +1 -1
  11. package/dist/chunks/{Dialog-BH-H4BEe.es.js → Dialog-CpUyTYgL.es.js} +4 -4
  12. package/dist/chunks/{Dialog-BH-H4BEe.es.js.map → Dialog-CpUyTYgL.es.js.map} +1 -1
  13. package/dist/chunks/DragAndDrop-ChYb3tCX.es.js.map +1 -1
  14. package/dist/chunks/DragAndDrop-cOfUfFj8.cjs.js.map +1 -1
  15. package/dist/chunks/FieldError-CXcEMuBf.es.js.map +1 -1
  16. package/dist/chunks/FieldError-DyGFfqST.cjs.js.map +1 -1
  17. package/dist/chunks/Form-BuOomA4T.cjs.js.map +1 -1
  18. package/dist/chunks/Form-CXcEMuBf.es.js.map +1 -1
  19. package/dist/chunks/Group-Cfixd-fh.es.js.map +1 -1
  20. package/dist/chunks/Group-MdeByg6t.cjs.js.map +1 -1
  21. package/dist/chunks/{Header-zz3aj0c7.cjs.js → Header-C0mOQKWH.cjs.js} +2 -2
  22. package/dist/chunks/{Header-zz3aj0c7.cjs.js.map → Header-C0mOQKWH.cjs.js.map} +1 -1
  23. package/dist/chunks/{Header-Bi219Q1R.es.js → Header-CRiZqLJU.es.js} +3 -3
  24. package/dist/chunks/{Header-Bi219Q1R.es.js.map → Header-CRiZqLJU.es.js.map} +1 -1
  25. package/dist/chunks/Heading-BaW6t55l.cjs.js.map +1 -1
  26. package/dist/chunks/Heading-DEfy_f01.es.js.map +1 -1
  27. package/dist/chunks/Hidden-CNJIJ63M.cjs.js.map +1 -1
  28. package/dist/chunks/Hidden-j3Lbt7xL.es.js.map +1 -1
  29. package/dist/chunks/Input-BiHwUBo4.es.js.map +1 -1
  30. package/dist/chunks/Input-HBDt7LmM.cjs.js.map +1 -1
  31. package/dist/chunks/Keyboard-Clnp4zAC.es.js.map +1 -1
  32. package/dist/chunks/Keyboard-rYf2KxZN.cjs.js.map +1 -1
  33. package/dist/chunks/Label-B2YyCdLl.es.js.map +1 -1
  34. package/dist/chunks/Label-BgrYyYXn.cjs.js.map +1 -1
  35. package/dist/chunks/{ListBox-BHUS7cW2.cjs.js → ListBox-DW2g6DgQ.cjs.js} +2 -2
  36. package/dist/chunks/{ListBox-BHUS7cW2.cjs.js.map → ListBox-DW2g6DgQ.cjs.js.map} +1 -1
  37. package/dist/chunks/{ListBox-DKAR_w69.es.js → ListBox-Vxd1SXUB.es.js} +4 -4
  38. package/dist/chunks/{ListBox-DKAR_w69.es.js.map → ListBox-Vxd1SXUB.es.js.map} +1 -1
  39. package/dist/chunks/OverlayArrow-CYjyBtg8.cjs.js.map +1 -1
  40. package/dist/chunks/OverlayArrow-sJzRZNbO.es.js.map +1 -1
  41. package/dist/chunks/ProgressBar-BA3sLh1k.cjs.js.map +1 -1
  42. package/dist/chunks/ProgressBar-DjaUQI7N.es.js.map +1 -1
  43. package/dist/chunks/RSPContexts-B4yvXuBR.es.js.map +1 -1
  44. package/dist/chunks/RSPContexts-CkSl9jRK.cjs.js.map +1 -1
  45. package/dist/chunks/{SelectionManager-BgUVI3vz.es.js → SelectionManager-BCXBpjO4.es.js} +2 -2
  46. package/dist/chunks/{SelectionManager-BgUVI3vz.es.js.map → SelectionManager-BCXBpjO4.es.js.map} +1 -1
  47. package/dist/chunks/{SelectionManager-CmUHDDN6.cjs.js → SelectionManager-CZSEfn4s.cjs.js} +2 -2
  48. package/dist/chunks/{SelectionManager-CmUHDDN6.cjs.js.map → SelectionManager-CZSEfn4s.cjs.js.map} +1 -1
  49. package/dist/chunks/Separator-DQ53Zxpp.cjs.js +18 -0
  50. package/dist/chunks/Separator-DQ53Zxpp.cjs.js.map +1 -0
  51. package/dist/chunks/{Separator-CuZ-VIh8.es.js → Separator-Qp4OCFiC.es.js} +275 -277
  52. package/dist/chunks/Separator-Qp4OCFiC.es.js.map +1 -0
  53. package/dist/chunks/Text-BWSfeB9p.cjs.js.map +1 -1
  54. package/dist/chunks/Text-DOcU1ycg.es.js.map +1 -1
  55. package/dist/chunks/TextArea-BmpgvS0R.es.js.map +1 -1
  56. package/dist/chunks/TextArea-D3FFXnUy.cjs.js.map +1 -1
  57. package/dist/chunks/ToggleButton-C3JL0pgD.es.js.map +1 -1
  58. package/dist/chunks/ToggleButton-CPAdPTCr.cjs.js.map +1 -1
  59. package/dist/chunks/accordion-CSSdv9jZ.es.js.map +1 -1
  60. package/dist/chunks/accordion-xYvGyXy-.cjs.js.map +1 -1
  61. package/dist/chunks/checkbox-Bv0NXUyX.cjs.js.map +1 -1
  62. package/dist/chunks/checkbox-CdSHDZgM.es.js.map +1 -1
  63. package/dist/chunks/{combobox-Dmn2vxIz.es.js → combobox-C1LdL2D0.es.js} +228 -229
  64. package/dist/chunks/combobox-C1LdL2D0.es.js.map +1 -0
  65. package/dist/chunks/{combobox-C9pPDZQn.cjs.js → combobox-uCNxpE7-.cjs.js} +2 -2
  66. package/dist/chunks/combobox-uCNxpE7-.cjs.js.map +1 -0
  67. package/dist/chunks/{data-table-DIsDZ5JZ.cjs.js → data-table-BBgNLX1F.cjs.js} +2 -2
  68. package/dist/chunks/{data-table-DIsDZ5JZ.cjs.js.map → data-table-BBgNLX1F.cjs.js.map} +1 -1
  69. package/dist/chunks/{data-table-CBr4TLyH.es.js → data-table-D3e1Jwo7.es.js} +4 -4
  70. package/dist/chunks/{data-table-CBr4TLyH.es.js.map → data-table-D3e1Jwo7.es.js.map} +1 -1
  71. package/dist/chunks/{date-picker-_7Gh_ROw.cjs.js → date-picker-Bb3NXrgg.cjs.js} +2 -2
  72. package/dist/chunks/{date-picker-_7Gh_ROw.cjs.js.map → date-picker-Bb3NXrgg.cjs.js.map} +1 -1
  73. package/dist/chunks/{date-picker-BVrTKhZ_.es.js → date-picker-Bic1MCyC.es.js} +3 -3
  74. package/dist/chunks/{date-picker-BVrTKhZ_.es.js.map → date-picker-Bic1MCyC.es.js.map} +1 -1
  75. package/dist/chunks/{date-range-picker-D7pPpSEj.cjs.js → date-range-picker-C8Qvuf85.cjs.js} +2 -2
  76. package/dist/chunks/{date-range-picker-D7pPpSEj.cjs.js.map → date-range-picker-C8Qvuf85.cjs.js.map} +1 -1
  77. package/dist/chunks/{date-range-picker-D55giMLZ.es.js → date-range-picker-D4jLAymc.es.js} +3 -3
  78. package/dist/chunks/{date-range-picker-D55giMLZ.es.js.map → date-range-picker-D4jLAymc.es.js.map} +1 -1
  79. package/dist/chunks/{form-field-DHvafAwV.cjs.js → form-field-D2DlhLF_.cjs.js} +2 -2
  80. package/dist/chunks/{form-field-DHvafAwV.cjs.js.map → form-field-D2DlhLF_.cjs.js.map} +1 -1
  81. package/dist/chunks/{form-field-DIUXRuTp.es.js → form-field-DY3B_1tq.es.js} +2 -2
  82. package/dist/chunks/{form-field-DIUXRuTp.es.js.map → form-field-DY3B_1tq.es.js.map} +1 -1
  83. package/dist/chunks/intlStrings-Cd44R5hT.es.js.map +1 -1
  84. package/dist/chunks/intlStrings-ClBuC6xN.cjs.js.map +1 -1
  85. package/dist/chunks/{menu-cYj3HcOe.cjs.js → menu-Bfk7xGk8.cjs.js} +2 -2
  86. package/dist/chunks/{menu-cYj3HcOe.cjs.js.map → menu-Bfk7xGk8.cjs.js.map} +1 -1
  87. package/dist/chunks/{menu-D5UbPSbm.es.js → menu-Dfwew0Go.es.js} +4 -4
  88. package/dist/chunks/{menu-D5UbPSbm.es.js.map → menu-Dfwew0Go.es.js.map} +1 -1
  89. package/dist/chunks/{money-input-CtG9FJDJ.es.js → money-input-B2X3PtKX.es.js} +2 -2
  90. package/dist/chunks/{money-input-CtG9FJDJ.es.js.map → money-input-B2X3PtKX.es.js.map} +1 -1
  91. package/dist/chunks/{money-input-DXpiO23i.cjs.js → money-input-BFhtaiLG.cjs.js} +2 -2
  92. package/dist/chunks/{money-input-DXpiO23i.cjs.js.map → money-input-BFhtaiLG.cjs.js.map} +1 -1
  93. package/dist/chunks/{pagination-BM1xkmu9.cjs.js → pagination-Dis-nnBy.cjs.js} +2 -2
  94. package/dist/chunks/{pagination-BM1xkmu9.cjs.js.map → pagination-Dis-nnBy.cjs.js.map} +1 -1
  95. package/dist/chunks/{pagination-C5bOKHnF.es.js → pagination-ZXOMcPAB.es.js} +2 -2
  96. package/dist/chunks/{pagination-C5bOKHnF.es.js.map → pagination-ZXOMcPAB.es.js.map} +1 -1
  97. package/dist/chunks/radio-input-CBsoUt1S.es.js.map +1 -1
  98. package/dist/chunks/radio-input-D7oHngVQ.cjs.js.map +1 -1
  99. package/dist/chunks/{rich-text-input-CxWC-yrf.cjs.js → rich-text-input-3MgAtZuL.cjs.js} +2 -2
  100. package/dist/chunks/{rich-text-input-CxWC-yrf.cjs.js.map → rich-text-input-3MgAtZuL.cjs.js.map} +1 -1
  101. package/dist/chunks/{rich-text-input-YYPcexom.es.js → rich-text-input-C8bdPxGb.es.js} +3 -3
  102. package/dist/chunks/{rich-text-input-YYPcexom.es.js.map → rich-text-input-C8bdPxGb.es.js.map} +1 -1
  103. package/dist/chunks/{select-DA6mGi-n.cjs.js → select-C1SC1XAp.cjs.js} +2 -2
  104. package/dist/chunks/{select-DA6mGi-n.cjs.js.map → select-C1SC1XAp.cjs.js.map} +1 -1
  105. package/dist/chunks/{select-Bj9NNlBG.es.js → select-DpHmAHrs.es.js} +7 -7
  106. package/dist/chunks/{select-Bj9NNlBG.es.js.map → select-DpHmAHrs.es.js.map} +1 -1
  107. package/dist/chunks/{separator-CoMx0Mmv.cjs.js → separator-BGepaXda.cjs.js} +2 -2
  108. package/dist/chunks/{separator-CoMx0Mmv.cjs.js.map → separator-BGepaXda.cjs.js.map} +1 -1
  109. package/dist/chunks/{separator-BBcK9ROS.es.js → separator-BSLmXG3h.es.js} +2 -2
  110. package/dist/chunks/{separator-BBcK9ROS.es.js.map → separator-BSLmXG3h.es.js.map} +1 -1
  111. package/dist/chunks/{split-button-C5RRpvG-.es.js → split-button-BxfsI-af.es.js} +2 -2
  112. package/dist/chunks/{split-button-C5RRpvG-.es.js.map → split-button-BxfsI-af.es.js.map} +1 -1
  113. package/dist/chunks/{split-button-DS-OCnNN.cjs.js → split-button-D8Zq-S4o.cjs.js} +2 -2
  114. package/dist/chunks/{split-button-DS-OCnNN.cjs.js.map → split-button-D8Zq-S4o.cjs.js.map} +1 -1
  115. package/dist/chunks/{tag-group-BfVRqsqw.cjs.js → tag-group-3ESWulAU.cjs.js} +2 -2
  116. package/dist/chunks/{tag-group-BfVRqsqw.cjs.js.map → tag-group-3ESWulAU.cjs.js.map} +1 -1
  117. package/dist/chunks/{tag-group-Bs6sb_ky.es.js → tag-group-CnStbH_k.es.js} +5 -5
  118. package/dist/chunks/{tag-group-Bs6sb_ky.es.js.map → tag-group-CnStbH_k.es.js.map} +1 -1
  119. package/dist/chunks/toolbar-BZFjOgau.es.js.map +1 -1
  120. package/dist/chunks/toolbar-CRak3D0J.cjs.js.map +1 -1
  121. package/dist/chunks/tooltip-B1YdruCE.es.js.map +1 -1
  122. package/dist/chunks/tooltip-g8-hEdZp.cjs.js.map +1 -1
  123. package/dist/chunks/{useSingleSelectListState-C-E1yca1.cjs.js → useSingleSelectListState-BjYKH0pH.cjs.js} +2 -2
  124. package/dist/chunks/{useSingleSelectListState-C-E1yca1.cjs.js.map → useSingleSelectListState-BjYKH0pH.cjs.js.map} +1 -1
  125. package/dist/chunks/{useSingleSelectListState-CdPCvWTv.es.js → useSingleSelectListState-BsnptkyP.es.js} +2 -2
  126. package/dist/chunks/{useSingleSelectListState-CdPCvWTv.es.js.map → useSingleSelectListState-BsnptkyP.es.js.map} +1 -1
  127. package/dist/chunks/utils-BHdR5Nww.cjs.js.map +1 -1
  128. package/dist/chunks/utils-BkdW_cdL.es.js.map +1 -1
  129. package/dist/components/combobox.cjs +1 -1
  130. package/dist/components/combobox.es.js +1 -1
  131. package/dist/components/components.cjs +1 -1
  132. package/dist/components/components.es.js +13 -13
  133. package/dist/components/data-table.cjs +1 -1
  134. package/dist/components/data-table.es.js +1 -1
  135. package/dist/components/date-picker.cjs +1 -1
  136. package/dist/components/date-picker.es.js +1 -1
  137. package/dist/components/date-range-picker.cjs +1 -1
  138. package/dist/components/date-range-picker.es.js +1 -1
  139. package/dist/components/form-field.cjs +1 -1
  140. package/dist/components/form-field.es.js +1 -1
  141. package/dist/components/money-input.cjs +1 -1
  142. package/dist/components/money-input.es.js +1 -1
  143. package/dist/components/pagination.cjs +1 -1
  144. package/dist/components/pagination.es.js +1 -1
  145. package/dist/components/popover.cjs +1 -1
  146. package/dist/components/popover.es.js +1 -1
  147. package/dist/components/rich-text-input.cjs +1 -1
  148. package/dist/components/rich-text-input.es.js +1 -1
  149. package/dist/components/select.cjs +1 -1
  150. package/dist/components/select.es.js +1 -1
  151. package/dist/components/separator.cjs +1 -1
  152. package/dist/components/separator.es.js +1 -1
  153. package/dist/components/split-button.cjs +1 -1
  154. package/dist/components/split-button.es.js +1 -1
  155. package/dist/components/tag-group.cjs +1 -1
  156. package/dist/components/tag-group.es.js +1 -1
  157. package/dist/index.cjs +1 -1
  158. package/dist/index.es.js +14 -14
  159. package/package.json +17 -17
  160. package/dist/chunks/Separator-CTkcgvBE.cjs.js +0 -18
  161. package/dist/chunks/Separator-CTkcgvBE.cjs.js.map +0 -1
  162. package/dist/chunks/Separator-CuZ-VIh8.es.js.map +0 -1
  163. package/dist/chunks/combobox-C9pPDZQn.cjs.js.map +0 -1
  164. package/dist/chunks/combobox-Dmn2vxIz.es.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"toolbar-CRak3D0J.cjs.js","sources":["../../../../node_modules/.pnpm/react-aria-components@1.12.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/Toolbar.mjs","../../src/components/toolbar/toolbar.slots.tsx","../../src/components/toolbar/toolbar.tsx"],"sourcesContent":["import {useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415, useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport {useToolbar as $8qPHH$useToolbar} from \"@react-aria/toolbar\";\nimport {filterDOMProps as $8qPHH$filterDOMProps, mergeProps as $8qPHH$mergeProps} from \"@react-aria/utils\";\nimport $8qPHH$react, {createContext as $8qPHH$createContext, forwardRef as $8qPHH$forwardRef} from \"react\";\n\n/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\nconst $13c3c67164f4d5be$export$6311e7ab80ef752f = /*#__PURE__*/ (0, $8qPHH$createContext)({});\nconst $13c3c67164f4d5be$export$4c260019440d418f = /*#__PURE__*/ (0, $8qPHH$forwardRef)(function Toolbar(props, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $13c3c67164f4d5be$export$6311e7ab80ef752f);\n let { toolbarProps: toolbarProps } = (0, $8qPHH$useToolbar)(props, ref);\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n values: {\n orientation: props.orientation || 'horizontal'\n },\n defaultClassName: 'react-aria-Toolbar'\n });\n let DOMProps = (0, $8qPHH$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.id;\n return /*#__PURE__*/ (0, $8qPHH$react).createElement(\"div\", {\n ...(0, $8qPHH$mergeProps)(DOMProps, renderProps, toolbarProps),\n ref: ref,\n slot: props.slot || undefined,\n \"data-orientation\": props.orientation || 'horizontal'\n }, renderProps.children);\n});\n\n\nexport {$13c3c67164f4d5be$export$6311e7ab80ef752f as ToolbarContext, $13c3c67164f4d5be$export$4c260019440d418f as Toolbar};\n//# sourceMappingURL=Toolbar.module.js.map\n","import {\n type HTMLChakraProps,\n createRecipeContext,\n type RecipeProps,\n type UnstyledProp,\n} from \"@chakra-ui/react\";\nimport { toolbarRecipe } from \"./toolbar.recipe\";\n\nconst { withContext } = createRecipeContext({\n recipe: toolbarRecipe,\n});\n\n/**\n * Base recipe props interface that combines Chakra UI's recipe props\n * with the unstyled prop option for the toolbar recipe.\n */\ninterface ToolbarRecipeProps\n extends RecipeProps<typeof toolbarRecipe>,\n UnstyledProp {}\n\n/**\n * Root props interface that extends Chakra's HTML props with our recipe props.\n * This creates a complete set of props for the root element, combining\n * HTML attributes, Chakra's styling system, and our custom recipe props.\n */\nexport interface ToolbarSlotProps\n extends Omit<HTMLChakraProps<\"div\", ToolbarRecipeProps>, \"translate\"> {\n translate?: \"yes\" | \"no\";\n}\n\n/**\n * Slot component that provides the styling context for the Group component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const ToolbarRoot = withContext<HTMLDivElement, ToolbarSlotProps>(\"div\");\n","import { ToolbarRoot } from \"./toolbar.slots.tsx\";\nimport type { ToolbarComponent, ToolbarProps } from \"./toolbar.types.ts\";\nimport {\n useBreakpointValue,\n useChakraContext,\n useRecipe,\n} from \"@chakra-ui/react\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\nimport { toolbarRecipe } from \"./toolbar.recipe.ts\";\nimport { Toolbar as RaToolbar } from \"react-aria-components\";\n\nexport const Toolbar: ToolbarComponent = ({\n ref: forwardedRef,\n orientation = \"horizontal\",\n ...props\n}: ToolbarProps) => {\n const recipe = useRecipe({ recipe: toolbarRecipe });\n const [recipeProps, variantFreeProps] = recipe.splitVariantProps({\n orientation,\n ...props,\n });\n const [styleProps, functionalProps] = extractStyleProps(variantFreeProps);\n\n const sysCtx = useChakraContext();\n\n // The react-aria Toolbar does not support responsive values for the\n // `orientation` prop. We normalize `orientation` to a string\n // (\"horizontal\" or \"vertical\") using `system.normalizeValue` and\n // `useBreakpointValue` to ensure a concrete value is passed.\n\n const normalizedOrientation = sysCtx.normalizeValue(orientation);\n const computedOrientation: \"horizontal\" | \"vertical\" =\n useBreakpointValue(normalizedOrientation) ?? \"horizontal\";\n\n return (\n <ToolbarRoot\n orientation={orientation}\n {...recipeProps}\n {...styleProps}\n asChild\n >\n <RaToolbar\n ref={forwardedRef}\n orientation={computedOrientation}\n {...functionalProps}\n />\n </ToolbarRoot>\n );\n};\n"],"names":["$13c3c67164f4d5be$export$6311e7ab80ef752f","$8qPHH$createContext","$13c3c67164f4d5be$export$4c260019440d418f","$8qPHH$forwardRef","props","ref","$64fa3d84918910a7$export$29f1550f4b0d4415","toolbarProps","$8qPHH$useToolbar","renderProps","$64fa3d84918910a7$export$4d86445c2cf5e3","DOMProps","$8qPHH$filterDOMProps","$8qPHH$react","$8qPHH$mergeProps","withContext","createRecipeContext","toolbarRecipe","ToolbarRoot","Toolbar","forwardedRef","orientation","recipe","useRecipe","recipeProps","variantFreeProps","styleProps","functionalProps","extractStyleProps","normalizedOrientation","useChakraContext","computedOrientation","useBreakpointValue","jsx","RaToolbar"],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Z,GAAGJ,CAAA,CAAA,CACN,CAAA,CAGN","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"toolbar-CRak3D0J.cjs.js","sources":["../../../../node_modules/.pnpm/react-aria-components@1.12.2_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/Toolbar.mjs","../../src/components/toolbar/toolbar.slots.tsx","../../src/components/toolbar/toolbar.tsx"],"sourcesContent":["import {useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415, useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport {useToolbar as $8qPHH$useToolbar} from \"@react-aria/toolbar\";\nimport {filterDOMProps as $8qPHH$filterDOMProps, mergeProps as $8qPHH$mergeProps} from \"@react-aria/utils\";\nimport $8qPHH$react, {createContext as $8qPHH$createContext, forwardRef as $8qPHH$forwardRef} from \"react\";\n\n/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\nconst $13c3c67164f4d5be$export$6311e7ab80ef752f = /*#__PURE__*/ (0, $8qPHH$createContext)({});\nconst $13c3c67164f4d5be$export$4c260019440d418f = /*#__PURE__*/ (0, $8qPHH$forwardRef)(function Toolbar(props, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $13c3c67164f4d5be$export$6311e7ab80ef752f);\n let { toolbarProps: toolbarProps } = (0, $8qPHH$useToolbar)(props, ref);\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n values: {\n orientation: props.orientation || 'horizontal'\n },\n defaultClassName: 'react-aria-Toolbar'\n });\n let DOMProps = (0, $8qPHH$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.id;\n return /*#__PURE__*/ (0, $8qPHH$react).createElement(\"div\", {\n ...(0, $8qPHH$mergeProps)(DOMProps, renderProps, toolbarProps),\n ref: ref,\n slot: props.slot || undefined,\n \"data-orientation\": props.orientation || 'horizontal'\n }, renderProps.children);\n});\n\n\nexport {$13c3c67164f4d5be$export$6311e7ab80ef752f as ToolbarContext, $13c3c67164f4d5be$export$4c260019440d418f as Toolbar};\n//# sourceMappingURL=Toolbar.module.js.map\n","import {\n type HTMLChakraProps,\n createRecipeContext,\n type RecipeProps,\n type UnstyledProp,\n} from \"@chakra-ui/react\";\nimport { toolbarRecipe } from \"./toolbar.recipe\";\n\nconst { withContext } = createRecipeContext({\n recipe: toolbarRecipe,\n});\n\n/**\n * Base recipe props interface that combines Chakra UI's recipe props\n * with the unstyled prop option for the toolbar recipe.\n */\ninterface ToolbarRecipeProps\n extends RecipeProps<typeof toolbarRecipe>,\n UnstyledProp {}\n\n/**\n * Root props interface that extends Chakra's HTML props with our recipe props.\n * This creates a complete set of props for the root element, combining\n * HTML attributes, Chakra's styling system, and our custom recipe props.\n */\nexport interface ToolbarSlotProps\n extends Omit<HTMLChakraProps<\"div\", ToolbarRecipeProps>, \"translate\"> {\n translate?: \"yes\" | \"no\";\n}\n\n/**\n * Slot component that provides the styling context for the Group component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const ToolbarRoot = withContext<HTMLDivElement, ToolbarSlotProps>(\"div\");\n","import { ToolbarRoot } from \"./toolbar.slots.tsx\";\nimport type { ToolbarComponent, ToolbarProps } from \"./toolbar.types.ts\";\nimport {\n useBreakpointValue,\n useChakraContext,\n useRecipe,\n} from \"@chakra-ui/react\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\nimport { toolbarRecipe } from \"./toolbar.recipe.ts\";\nimport { Toolbar as RaToolbar } from \"react-aria-components\";\n\nexport const Toolbar: ToolbarComponent = ({\n ref: forwardedRef,\n orientation = \"horizontal\",\n ...props\n}: ToolbarProps) => {\n const recipe = useRecipe({ recipe: toolbarRecipe });\n const [recipeProps, variantFreeProps] = recipe.splitVariantProps({\n orientation,\n ...props,\n });\n const [styleProps, functionalProps] = extractStyleProps(variantFreeProps);\n\n const sysCtx = useChakraContext();\n\n // The react-aria Toolbar does not support responsive values for the\n // `orientation` prop. We normalize `orientation` to a string\n // (\"horizontal\" or \"vertical\") using `system.normalizeValue` and\n // `useBreakpointValue` to ensure a concrete value is passed.\n\n const normalizedOrientation = sysCtx.normalizeValue(orientation);\n const computedOrientation: \"horizontal\" | \"vertical\" =\n useBreakpointValue(normalizedOrientation) ?? \"horizontal\";\n\n return (\n <ToolbarRoot\n orientation={orientation}\n {...recipeProps}\n {...styleProps}\n asChild\n >\n <RaToolbar\n ref={forwardedRef}\n orientation={computedOrientation}\n {...functionalProps}\n />\n </ToolbarRoot>\n );\n};\n"],"names":["$13c3c67164f4d5be$export$6311e7ab80ef752f","$8qPHH$createContext","$13c3c67164f4d5be$export$4c260019440d418f","$8qPHH$forwardRef","props","ref","$64fa3d84918910a7$export$29f1550f4b0d4415","toolbarProps","$8qPHH$useToolbar","renderProps","$64fa3d84918910a7$export$4d86445c2cf5e3","DOMProps","$8qPHH$filterDOMProps","$8qPHH$react","$8qPHH$mergeProps","withContext","createRecipeContext","toolbarRecipe","ToolbarRoot","Toolbar","forwardedRef","orientation","recipe","useRecipe","recipeProps","variantFreeProps","styleProps","functionalProps","extractStyleProps","normalizedOrientation","useChakraContext","computedOrientation","useBreakpointValue","jsx","RaToolbar"],"mappings":"gWAmBMA,EAA8DC,EAAAA,cAAsB,EAAE,EACtFC,EAA8DC,EAAAA,WAAmB,SAAiBC,EAAOC,EAAK,CAChH,CAACD,EAAOC,CAAG,EAAQC,EAAAA,0CAA2CF,EAAOC,EAAKL,CAAyC,EACnH,GAAI,CAAE,aAAcO,CAAY,EAASC,EAAAA,yCAAmBJ,EAAOC,CAAG,EAClEI,EAAkBC,0CAAyC,CAC3D,GAAGN,EACH,OAAQ,CACJ,YAAaA,EAAM,aAAe,YAC9C,EACQ,iBAAkB,oBAC1B,CAAK,EACGO,EAAeC,EAAAA,0CAAuBR,EAAO,CAC7C,OAAQ,EAChB,CAAK,EACD,cAAOO,EAAS,GACSE,EAAc,cAAc,MAAO,CACxD,GAAOC,EAAAA,0CAAmBH,EAAUF,EAAaF,CAAY,EAC7D,IAAKF,EACL,KAAMD,EAAM,MAAQ,OACpB,mBAAoBA,EAAM,aAAe,YACjD,EAAOK,EAAY,QAAQ,CAC3B,CAAC,EChCK,CAAE,YAAAM,CAAA,EAAgBC,sBAAoB,CAC1C,OAAQC,EAAAA,aACV,CAAC,EAwBYC,EAAcH,EAA8C,KAAK,ECvBjEI,EAA4B,CAAC,CACxC,IAAKC,EACL,YAAAC,EAAc,aACd,GAAGjB,CACL,IAAoB,CAClB,MAAMkB,EAASC,EAAAA,UAAU,CAAE,OAAQN,EAAAA,cAAe,EAC5C,CAACO,EAAaC,CAAgB,EAAIH,EAAO,kBAAkB,CAC/D,YAAAD,EACA,GAAGjB,CAAA,CACJ,EACK,CAACsB,EAAYC,CAAe,EAAIC,EAAAA,kBAAkBH,CAAgB,EASlEI,EAPSC,EAAAA,iBAAA,EAOsB,eAAeT,CAAW,EACzDU,EACJC,EAAAA,mBAAmBH,CAAqB,GAAK,aAE/C,OACEI,EAAAA,IAACf,EAAA,CACC,YAAAG,EACC,GAAGG,EACH,GAAGE,EACJ,QAAO,GAEP,SAAAO,EAAAA,IAACC,EAAA,CACC,IAAKd,EACL,YAAaW,EACZ,GAAGJ,CAAA,CAAA,CACN,CAAA,CAGN","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip-B1YdruCE.es.js","sources":["../../../../node_modules/.pnpm/@react-aria+overlays@3.29.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/overlays/dist/useModal.mjs","../../../../node_modules/.pnpm/@react-aria+tooltip@3.8.7_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/tooltip/dist/useTooltip.mjs","../../../../node_modules/.pnpm/@react-aria+tooltip@3.8.7_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/tooltip/dist/useTooltipTrigger.mjs","../../../../node_modules/.pnpm/@react-stately+tooltip@3.5.7_react@19.1.0/node_modules/@react-stately/tooltip/dist/useTooltipTriggerState.mjs","../../../../node_modules/.pnpm/react-aria-components@1.12.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/Tooltip.mjs","../../src/components/tooltip/components/tooltip.root.tsx","../../src/components/tooltip/tooltip.slots.ts","../../src/components/tooltip/components/tooltip.content.tsx","../../src/components/tooltip/tooltip.tsx"],"sourcesContent":["import {useUNSAFE_PortalContext as $96b38030c423d352$export$9fc1347d4195ccb3} from \"./PortalProvider.mjs\";\nimport $4AOtR$react, {useContext as $4AOtR$useContext, useState as $4AOtR$useState, useMemo as $4AOtR$useMemo, useEffect as $4AOtR$useEffect} from \"react\";\nimport $4AOtR$reactdom from \"react-dom\";\nimport {useIsSSR as $4AOtR$useIsSSR} from \"@react-aria/ssr\";\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 $f57aed4a881a3485$var$Context = /*#__PURE__*/ (0, $4AOtR$react).createContext(null);\nfunction $f57aed4a881a3485$export$178405afcd8c5eb(props) {\n let { children: children } = props;\n let parent = (0, $4AOtR$useContext)($f57aed4a881a3485$var$Context);\n let [modalCount, setModalCount] = (0, $4AOtR$useState)(0);\n let context = (0, $4AOtR$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, $4AOtR$react).createElement($f57aed4a881a3485$var$Context.Provider, {\n value: context\n }, children);\n}\nfunction $f57aed4a881a3485$export$d9aaed4c3ece1bc0() {\n let context = (0, $4AOtR$useContext)($f57aed4a881a3485$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 $f57aed4a881a3485$var$OverlayContainerDOM(props) {\n let { modalProviderProps: modalProviderProps } = $f57aed4a881a3485$export$d9aaed4c3ece1bc0();\n return /*#__PURE__*/ (0, $4AOtR$react).createElement(\"div\", {\n \"data-overlay-container\": true,\n ...props,\n ...modalProviderProps\n });\n}\nfunction $f57aed4a881a3485$export$bf688221f59024e5(props) {\n return /*#__PURE__*/ (0, $4AOtR$react).createElement($f57aed4a881a3485$export$178405afcd8c5eb, null, /*#__PURE__*/ (0, $4AOtR$react).createElement($f57aed4a881a3485$var$OverlayContainerDOM, props));\n}\nfunction $f57aed4a881a3485$export$b47c3594eab58386(props) {\n let isSSR = (0, $4AOtR$useIsSSR)();\n let { portalContainer: portalContainer = isSSR ? null : document.body, ...rest } = props;\n let { getContainer: getContainer } = (0, $96b38030c423d352$export$9fc1347d4195ccb3)();\n if (!props.portalContainer && getContainer) portalContainer = getContainer();\n (0, $4AOtR$react).useEffect(()=>{\n if (portalContainer === null || portalContainer === void 0 ? void 0 : 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, $4AOtR$react).createElement($f57aed4a881a3485$export$bf688221f59024e5, rest);\n return /*#__PURE__*/ (0, $4AOtR$reactdom).createPortal(contents, portalContainer);\n}\nfunction $f57aed4a881a3485$export$33ffd74ebf07f060(options) {\n // Add aria-hidden to all parent providers on mount, and restore on unmount.\n let context = (0, $4AOtR$useContext)($f57aed4a881a3485$var$Context);\n if (!context) throw new Error('Modal is not contained within a provider');\n (0, $4AOtR$useEffect)(()=>{\n if ((options === null || options === void 0 ? void 0 : 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 === null || options === void 0 ? void 0 : options.isDisabled\n ]);\n return {\n modalProps: {\n 'data-ismodal': !(options === null || options === void 0 ? void 0 : options.isDisabled)\n }\n };\n}\n\n\nexport {$f57aed4a881a3485$export$178405afcd8c5eb as ModalProvider, $f57aed4a881a3485$export$d9aaed4c3ece1bc0 as useModalProvider, $f57aed4a881a3485$export$bf688221f59024e5 as OverlayProvider, $f57aed4a881a3485$export$b47c3594eab58386 as OverlayContainer, $f57aed4a881a3485$export$33ffd74ebf07f060 as useModal};\n//# sourceMappingURL=useModal.module.js.map\n","import {filterDOMProps as $kwmr2$filterDOMProps, mergeProps as $kwmr2$mergeProps} from \"@react-aria/utils\";\nimport {useHover as $kwmr2$useHover} from \"@react-aria/interactions\";\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 $326e436e94273fe1$export$1c4b08e0eca38426(props, state) {\n let domProps = (0, $kwmr2$filterDOMProps)(props, {\n labelable: true\n });\n let { hoverProps: hoverProps } = (0, $kwmr2$useHover)({\n onHoverStart: ()=>state === null || state === void 0 ? void 0 : state.open(true),\n onHoverEnd: ()=>state === null || state === void 0 ? void 0 : state.close()\n });\n return {\n tooltipProps: (0, $kwmr2$mergeProps)(domProps, hoverProps, {\n role: 'tooltip'\n })\n };\n}\n\n\nexport {$326e436e94273fe1$export$1c4b08e0eca38426 as useTooltip};\n//# sourceMappingURL=useTooltip.module.js.map\n","import {getInteractionModality as $6VwSn$getInteractionModality, isFocusVisible as $6VwSn$isFocusVisible, useHover as $6VwSn$useHover, useFocusable as $6VwSn$useFocusable} from \"@react-aria/interactions\";\nimport {useId as $6VwSn$useId, mergeProps as $6VwSn$mergeProps} from \"@react-aria/utils\";\nimport {useRef as $6VwSn$useRef, useEffect as $6VwSn$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 $4e1b34546679e357$export$a6da6c504e4bba8b(props, state, ref) {\n let { isDisabled: isDisabled, trigger: trigger } = props;\n let tooltipId = (0, $6VwSn$useId)();\n let isHovered = (0, $6VwSn$useRef)(false);\n let isFocused = (0, $6VwSn$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, $6VwSn$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, $6VwSn$getInteractionModality)() === '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 // 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, $6VwSn$isFocusVisible)();\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, $6VwSn$useHover)({\n isDisabled: isDisabled,\n onHoverStart: onHoverStart,\n onHoverEnd: onHoverEnd\n });\n let { focusableProps: focusableProps } = (0, $6VwSn$useFocusable)({\n isDisabled: isDisabled,\n onFocus: onFocus,\n onBlur: onBlur\n }, ref);\n return {\n triggerProps: {\n 'aria-describedby': state.isOpen ? tooltipId : undefined,\n ...(0, $6VwSn$mergeProps)(focusableProps, hoverProps, {\n onPointerDown: onPressStart,\n onKeyDown: onPressStart\n }),\n tabIndex: undefined\n },\n tooltipProps: {\n id: tooltipId\n }\n };\n}\n\n\nexport {$4e1b34546679e357$export$a6da6c504e4bba8b as useTooltipTrigger};\n//# sourceMappingURL=useTooltipTrigger.module.js.map\n","import {useMemo as $50cCT$useMemo, useRef as $50cCT$useRef, useEffect as $50cCT$useEffect} from \"react\";\nimport {useOverlayTriggerState as $50cCT$useOverlayTriggerState} from \"@react-stately/overlays\";\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 $8796f90736e175cb$var$TOOLTIP_DELAY = 1500; // this seems to be a 1.5 second delay, check with design\nconst $8796f90736e175cb$var$TOOLTIP_COOLDOWN = 500;\nlet $8796f90736e175cb$var$tooltips = {};\nlet $8796f90736e175cb$var$tooltipId = 0;\nlet $8796f90736e175cb$var$globalWarmedUp = false;\nlet $8796f90736e175cb$var$globalWarmUpTimeout = null;\nlet $8796f90736e175cb$var$globalCooldownTimeout = null;\nfunction $8796f90736e175cb$export$4d40659c25ecb50b(props = {}) {\n let { delay: delay = $8796f90736e175cb$var$TOOLTIP_DELAY, closeDelay: closeDelay = $8796f90736e175cb$var$TOOLTIP_COOLDOWN } = props;\n let { isOpen: isOpen, open: open, close: close } = (0, $50cCT$useOverlayTriggerState)(props);\n let id = (0, $50cCT$useMemo)(()=>`${++$8796f90736e175cb$var$tooltipId}`, []);\n let closeTimeout = (0, $50cCT$useRef)(null);\n let closeCallback = (0, $50cCT$useRef)(close);\n let ensureTooltipEntry = ()=>{\n $8796f90736e175cb$var$tooltips[id] = hideTooltip;\n };\n let closeOpenTooltips = ()=>{\n for(let hideTooltipId in $8796f90736e175cb$var$tooltips)if (hideTooltipId !== id) {\n $8796f90736e175cb$var$tooltips[hideTooltipId](true);\n delete $8796f90736e175cb$var$tooltips[hideTooltipId];\n }\n };\n let showTooltip = ()=>{\n if (closeTimeout.current) clearTimeout(closeTimeout.current);\n closeTimeout.current = null;\n closeOpenTooltips();\n ensureTooltipEntry();\n $8796f90736e175cb$var$globalWarmedUp = true;\n open();\n if ($8796f90736e175cb$var$globalWarmUpTimeout) {\n clearTimeout($8796f90736e175cb$var$globalWarmUpTimeout);\n $8796f90736e175cb$var$globalWarmUpTimeout = null;\n }\n if ($8796f90736e175cb$var$globalCooldownTimeout) {\n clearTimeout($8796f90736e175cb$var$globalCooldownTimeout);\n $8796f90736e175cb$var$globalCooldownTimeout = null;\n }\n };\n let hideTooltip = (immediate)=>{\n if (immediate || closeDelay <= 0) {\n if (closeTimeout.current) clearTimeout(closeTimeout.current);\n closeTimeout.current = null;\n closeCallback.current();\n } else if (!closeTimeout.current) closeTimeout.current = setTimeout(()=>{\n closeTimeout.current = null;\n closeCallback.current();\n }, closeDelay);\n if ($8796f90736e175cb$var$globalWarmUpTimeout) {\n clearTimeout($8796f90736e175cb$var$globalWarmUpTimeout);\n $8796f90736e175cb$var$globalWarmUpTimeout = null;\n }\n if ($8796f90736e175cb$var$globalWarmedUp) {\n if ($8796f90736e175cb$var$globalCooldownTimeout) clearTimeout($8796f90736e175cb$var$globalCooldownTimeout);\n $8796f90736e175cb$var$globalCooldownTimeout = setTimeout(()=>{\n delete $8796f90736e175cb$var$tooltips[id];\n $8796f90736e175cb$var$globalCooldownTimeout = null;\n $8796f90736e175cb$var$globalWarmedUp = false;\n }, Math.max($8796f90736e175cb$var$TOOLTIP_COOLDOWN, closeDelay));\n }\n };\n let warmupTooltip = ()=>{\n closeOpenTooltips();\n ensureTooltipEntry();\n if (!isOpen && !$8796f90736e175cb$var$globalWarmUpTimeout && !$8796f90736e175cb$var$globalWarmedUp) $8796f90736e175cb$var$globalWarmUpTimeout = setTimeout(()=>{\n $8796f90736e175cb$var$globalWarmUpTimeout = null;\n $8796f90736e175cb$var$globalWarmedUp = true;\n showTooltip();\n }, delay);\n else if (!isOpen) showTooltip();\n };\n (0, $50cCT$useEffect)(()=>{\n closeCallback.current = close;\n }, [\n close\n ]);\n (0, $50cCT$useEffect)(()=>{\n return ()=>{\n if (closeTimeout.current) clearTimeout(closeTimeout.current);\n let tooltip = $8796f90736e175cb$var$tooltips[id];\n if (tooltip) delete $8796f90736e175cb$var$tooltips[id];\n };\n }, [\n id\n ]);\n return {\n isOpen: isOpen,\n open: (immediate)=>{\n if (!immediate && delay > 0 && !closeTimeout.current) warmupTooltip();\n else showTooltip();\n },\n close: hideTooltip\n };\n}\n\n\nexport {$8796f90736e175cb$export$4d40659c25ecb50b as useTooltipTriggerState};\n//# sourceMappingURL=useTooltipTriggerState.module.js.map\n","import {Provider as $64fa3d84918910a7$export$2881499e37b75b9a, useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415, useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport {OverlayArrowContext as $44f671af83e7d9e0$export$2de4954e8ae13b9f} from \"./OverlayArrow.mjs\";\nimport {useTooltipTrigger as $cCslV$useTooltipTrigger, OverlayContainer as $cCslV$OverlayContainer, useOverlayPosition as $cCslV$useOverlayPosition, mergeProps as $cCslV$mergeProps, useTooltip as $cCslV$useTooltip} from \"react-aria\";\nimport {useExitAnimation as $cCslV$useExitAnimation, useEnterAnimation as $cCslV$useEnterAnimation, filterDOMProps as $cCslV$filterDOMProps} from \"@react-aria/utils\";\nimport {FocusableProvider as $cCslV$FocusableProvider} from \"@react-aria/focus\";\nimport {useTooltipTriggerState as $cCslV$useTooltipTriggerState} from \"react-stately\";\nimport $cCslV$react, {createContext as $cCslV$createContext, useRef as $cCslV$useRef, forwardRef as $cCslV$forwardRef, useContext as $cCslV$useContext} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\nconst $4e3b923658d69c60$export$7a7623236eec67fa = /*#__PURE__*/ (0, $cCslV$createContext)(null);\nconst $4e3b923658d69c60$export$39ae08fa83328b12 = /*#__PURE__*/ (0, $cCslV$createContext)(null);\nfunction $4e3b923658d69c60$export$8c610744efcf8a1d(props) {\n let state = (0, $cCslV$useTooltipTriggerState)(props);\n let ref = (0, $cCslV$useRef)(null);\n let { triggerProps: triggerProps, tooltipProps: tooltipProps } = (0, $cCslV$useTooltipTrigger)(props, state, ref);\n return /*#__PURE__*/ (0, $cCslV$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n $4e3b923658d69c60$export$7a7623236eec67fa,\n state\n ],\n [\n $4e3b923658d69c60$export$39ae08fa83328b12,\n {\n ...tooltipProps,\n triggerRef: ref\n }\n ]\n ]\n }, /*#__PURE__*/ (0, $cCslV$react).createElement((0, $cCslV$FocusableProvider), {\n ...triggerProps,\n ref: ref\n }, props.children));\n}\nconst $4e3b923658d69c60$export$28c660c63b792dea = /*#__PURE__*/ (0, $cCslV$forwardRef)(function Tooltip({ UNSTABLE_portalContainer: UNSTABLE_portalContainer, ...props }, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $4e3b923658d69c60$export$39ae08fa83328b12);\n let contextState = (0, $cCslV$useContext)($4e3b923658d69c60$export$7a7623236eec67fa);\n let localState = (0, $cCslV$useTooltipTriggerState)(props);\n let state = props.isOpen != null || props.defaultOpen != null || !contextState ? localState : contextState;\n let isExiting = (0, $cCslV$useExitAnimation)(ref, state.isOpen) || props.isExiting || false;\n if (!state.isOpen && !isExiting) return null;\n return /*#__PURE__*/ (0, $cCslV$react).createElement((0, $cCslV$OverlayContainer), {\n portalContainer: UNSTABLE_portalContainer\n }, /*#__PURE__*/ (0, $cCslV$react).createElement($4e3b923658d69c60$var$TooltipInner, {\n ...props,\n tooltipRef: ref,\n isExiting: isExiting\n }));\n});\nfunction $4e3b923658d69c60$var$TooltipInner(props) {\n let state = (0, $cCslV$useContext)($4e3b923658d69c60$export$7a7623236eec67fa);\n let arrowRef = (0, $cCslV$useRef)(null);\n let { overlayProps: overlayProps, arrowProps: arrowProps, placement: placement, triggerAnchorPoint: triggerAnchorPoint } = (0, $cCslV$useOverlayPosition)({\n placement: props.placement || 'top',\n targetRef: props.triggerRef,\n overlayRef: props.tooltipRef,\n arrowRef: arrowRef,\n offset: props.offset,\n crossOffset: props.crossOffset,\n isOpen: state.isOpen,\n arrowBoundaryOffset: props.arrowBoundaryOffset,\n shouldFlip: props.shouldFlip,\n containerPadding: props.containerPadding,\n onClose: ()=>state.close(true)\n });\n let isEntering = (0, $cCslV$useEnterAnimation)(props.tooltipRef, !!placement) || props.isEntering || false;\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n defaultClassName: 'react-aria-Tooltip',\n values: {\n placement: placement,\n isEntering: isEntering,\n isExiting: props.isExiting,\n state: state\n }\n });\n props = (0, $cCslV$mergeProps)(props, overlayProps);\n let { tooltipProps: tooltipProps } = (0, $cCslV$useTooltip)(props, state);\n let DOMProps = (0, $cCslV$filterDOMProps)(props, {\n global: true\n });\n return /*#__PURE__*/ (0, $cCslV$react).createElement(\"div\", {\n ...(0, $cCslV$mergeProps)(DOMProps, renderProps, tooltipProps),\n ref: props.tooltipRef,\n style: {\n ...overlayProps.style,\n '--trigger-anchor-point': triggerAnchorPoint ? `${triggerAnchorPoint.x}px ${triggerAnchorPoint.y}px` : undefined,\n ...renderProps.style\n },\n \"data-placement\": placement !== null && placement !== void 0 ? placement : undefined,\n \"data-entering\": isEntering || undefined,\n \"data-exiting\": props.isExiting || undefined\n }, /*#__PURE__*/ (0, $cCslV$react).createElement((0, $44f671af83e7d9e0$export$2de4954e8ae13b9f).Provider, {\n value: {\n ...arrowProps,\n placement: placement,\n ref: arrowRef\n }\n }, renderProps.children));\n}\n\n\nexport {$4e3b923658d69c60$export$7a7623236eec67fa as TooltipTriggerStateContext, $4e3b923658d69c60$export$39ae08fa83328b12 as TooltipContext, $4e3b923658d69c60$export$8c610744efcf8a1d as TooltipTrigger, $4e3b923658d69c60$export$28c660c63b792dea as Tooltip};\n//# sourceMappingURL=Tooltip.module.js.map\n","import React from \"react\";\nimport { TooltipTrigger } from \"react-aria-components\";\nimport type { TooltipTriggerComponentProps } from \"react-aria-components\";\n\n/**\n * # Tooltip\n *\n * A contextual popup that displays a description for an element.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/feedback/tooltip}\n */\nexport function TooltipRoot({\n // Match delays to current ui-kit tooltip\n delay = 300,\n closeDelay = 200,\n ...props\n}: TooltipTriggerComponentProps) {\n // Note: In React 19, ref forwarding is automatic for function components\n // The ref should be placed on the trigger element directly when needed\n return <TooltipTrigger delay={delay} closeDelay={closeDelay} {...props} />;\n}\n\nTooltipRoot.displayName = \"Tooltip.Root\";\n","import {\n type HTMLChakraProps,\n type RecipeProps,\n type UnstyledProp,\n createRecipeContext,\n} from \"@chakra-ui/react/styled-system\";\n\nimport { type TooltipProps as RATooltipProps } from \"react-aria-components\";\n\nimport { tooltipRecipe } from \"./tooltip.recipe\";\n\n/**\n * Base recipe props interface that combines Chakra UI's recipe props\n */\ninterface TooltipRecipeProps extends RecipeProps<\"div\">, UnstyledProp {}\n\n/**\n * Root props interface that extends Chakra's HTML props with our recipe props.\n * This creates a complete set of props for the root element, combining\n * HTML attributes, Chakra's styling system, and our custom recipe props.\n */\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface TooltipRootProps\n extends HTMLChakraProps<\"div\", TooltipRecipeProps> {}\n\nconst { withContext } = createRecipeContext({ recipe: tooltipRecipe });\n\n/**\n * Root component that provides the styling context for the Tooltip component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const TooltipRootSlot = withContext<\n HTMLDivElement,\n TooltipRootProps & RATooltipProps\n>(\"div\");\n","import { Tooltip as RATooltip } from \"react-aria-components\";\nimport { TooltipRootSlot } from \"../tooltip.slots\";\nimport type { TooltipProps } from \"../tooltip.types\";\n\n/**\n * TooltipContent\n * ============================================================\n * A contextual popup that displays a description for an element, uses `Tooltip` component from `react-aria-components`.\n *\n * Features:\n * - allows forwarding refs to the underlying DOM element\n * - accepts all native html 'HTMLDivElement' attributes (including aria- & data-attributes)\n * - allows overriding styles by using style-props\n *\n * Further Context:\n * - [React Aria Components Tooltip Documentation](https://react-spectrum.adobe.com/react-aria/Tooltip.html)\n * - [ARIA Tooltip Pattern](https://www.w3.org/TR/wai-aria-1.2/#tooltip)\n */\nexport function TooltipContent({\n children,\n placement = \"bottom\",\n ref,\n ...props\n}: TooltipProps & { ref?: React.Ref<HTMLDivElement> }) {\n return (\n <TooltipRootSlot ref={ref} asChild {...props}>\n <RATooltip placement={placement} {...props}>\n {children}\n </RATooltip>\n </TooltipRootSlot>\n );\n}\n\nTooltipContent.displayName = \"Tooltip.Content\";\n","import { TooltipRoot } from \"./components/tooltip.root\";\nimport { TooltipContent } from \"./components/tooltip.content\";\n\n// Exports for internal use by react-docgen\nexport { TooltipRoot as _TooltipRoot, TooltipContent as _TooltipContent };\n\n// Export compound component object\nexport const Tooltip = {\n Root: TooltipRoot,\n Content: TooltipContent,\n};\n"],"names":["$f57aed4a881a3485$var$Context","$4AOtR$react","$f57aed4a881a3485$export$178405afcd8c5eb","props","children","parent","$4AOtR$useContext","modalCount","setModalCount","$4AOtR$useState","context","$4AOtR$useMemo","count","$f57aed4a881a3485$export$d9aaed4c3ece1bc0","$f57aed4a881a3485$var$OverlayContainerDOM","modalProviderProps","$f57aed4a881a3485$export$bf688221f59024e5","$f57aed4a881a3485$export$b47c3594eab58386","isSSR","$4AOtR$useIsSSR","portalContainer","rest","getContainer","$96b38030c423d352$export$9fc1347d4195ccb3","contents","$4AOtR$reactdom","$326e436e94273fe1$export$1c4b08e0eca38426","state","domProps","$kwmr2$filterDOMProps","hoverProps","$kwmr2$useHover","$kwmr2$mergeProps","$4e1b34546679e357$export$a6da6c504e4bba8b","ref","isDisabled","trigger","tooltipId","$6VwSn$useId","isHovered","$6VwSn$useRef","isFocused","handleShow","handleHide","immediate","$6VwSn$useEffect","onKeyDown","e","onHoverStart","$6VwSn$getInteractionModality","onHoverEnd","onPressStart","onFocus","$6VwSn$isFocusVisible","onBlur","$6VwSn$useHover","focusableProps","$6VwSn$useFocusable","$6VwSn$mergeProps","$8796f90736e175cb$var$TOOLTIP_DELAY","$8796f90736e175cb$var$TOOLTIP_COOLDOWN","$8796f90736e175cb$var$tooltips","$8796f90736e175cb$var$tooltipId","$8796f90736e175cb$var$globalWarmedUp","$8796f90736e175cb$var$globalWarmUpTimeout","$8796f90736e175cb$var$globalCooldownTimeout","$8796f90736e175cb$export$4d40659c25ecb50b","delay","closeDelay","isOpen","open","close","$50cCT$useOverlayTriggerState","id","$50cCT$useMemo","closeTimeout","$50cCT$useRef","closeCallback","ensureTooltipEntry","hideTooltip","closeOpenTooltips","hideTooltipId","showTooltip","warmupTooltip","$50cCT$useEffect","$4e3b923658d69c60$export$7a7623236eec67fa","$cCslV$createContext","$4e3b923658d69c60$export$39ae08fa83328b12","$4e3b923658d69c60$export$8c610744efcf8a1d","$cCslV$useTooltipTriggerState","$cCslV$useRef","triggerProps","tooltipProps","$cCslV$useTooltipTrigger","$cCslV$react","$64fa3d84918910a7$export$2881499e37b75b9a","$cCslV$FocusableProvider","$4e3b923658d69c60$export$28c660c63b792dea","$cCslV$forwardRef","UNSTABLE_portalContainer","$64fa3d84918910a7$export$29f1550f4b0d4415","contextState","$cCslV$useContext","localState","isExiting","$cCslV$useExitAnimation","$cCslV$OverlayContainer","$4e3b923658d69c60$var$TooltipInner","arrowRef","overlayProps","arrowProps","placement","triggerAnchorPoint","$cCslV$useOverlayPosition","isEntering","$cCslV$useEnterAnimation","renderProps","$64fa3d84918910a7$export$4d86445c2cf5e3","$cCslV$mergeProps","$cCslV$useTooltip","DOMProps","$cCslV$filterDOMProps","$44f671af83e7d9e0$export$2de4954e8ae13b9f","TooltipRoot","jsx","TooltipTrigger","withContext","createRecipeContext","tooltipRecipe","TooltipRootSlot","TooltipContent","RATooltip","Tooltip"],"mappings":";;;;;;;;;;;;;AAmBA,MAAMA,IAAkDC,gBAAAA,EAAc,cAAc,IAAI;AACxF,SAASC,GAAyCC,GAAO;AACrD,MAAI,EAAE,UAAUC,EAAQ,IAAKD,GACzBE,IAAaC,EAAmBN,CAA6B,GAC7D,CAACO,GAAYC,CAAa,IAAQC,EAAiB,CAAC,GACpDC,IAAcC,EAAgB,OAAK;AAAA,IAC/B,QAAQN;AAAA,IACR,YAAYE;AAAA,IACZ,WAAY;AACR,MAAAC,EAAc,CAACI,MAAQA,IAAQ,CAAC,GAC5BP,KAAQA,EAAO,SAAQ;AAAA,IAC/B;AAAA,IACA,cAAe;AACX,MAAAG,EAAc,CAACI,MAAQA,IAAQ,CAAC,GAC5BP,KAAQA,EAAO,YAAW;AAAA,IAClC;AAAA,EACZ,IAAY;AAAA,IACJA;AAAA,IACAE;AAAA,EACR,CAAK;AACD,SAAyBN,gBAAAA,EAAc,cAAcD,EAA8B,UAAU;AAAA,IACzF,OAAOU;AAAA,EACf,GAAON,CAAQ;AACf;AACA,SAASS,KAA4C;AACjD,MAAIH,IAAcJ,EAAmBN,CAA6B;AAClE,SAAO;AAAA,IACH,oBAAoB;AAAA,MAChB,eAAeU,KAAWA,EAAQ,aAAa,IAAI,KAAO;AAAA,IACtE;AAAA,EACA;AACA;AAGI,SAASI,GAA0CX,GAAO;AAC1D,MAAI,EAAE,oBAAoBY,EAAkB,IAAKF,GAAyC;AAC1F,SAAyBZ,gBAAAA,EAAc,cAAc,OAAO;AAAA,IACxD,0BAA0B;AAAA,IAC1B,GAAGE;AAAA,IACH,GAAGY;AAAA,EACX,CAAK;AACL;AACA,SAASC,GAA0Cb,GAAO;AACtD,SAAyBF,gBAAAA,EAAc,cAAcC,IAA0C,MAAwBD,gBAAA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,EAAY,QAAQ,CAAC;AAC5B;ACxGO,SAASO,EAAY;AAAA;AAAA,EAE1B,OAAAxD,IAAQ;AAAA,EACR,YAAAC,IAAa;AAAA,EACb,GAAGjE;AACL,GAAiC;AAG/B,SAAO,gBAAAyH,EAACC,IAAA,EAAe,OAAA1D,GAAc,YAAAC,GAAyB,GAAGjE,GAAO;AAC1E;AAEAwH,EAAY,cAAc;ACG1B,MAAM,EAAE,aAAAG,GAAA,IAAgB,gBAAAC,GAAoB,EAAE,QAAQC,IAAe,GAMxDC,KAAkB,gBAAAH,GAG7B,KAAK;AChBA,SAASI,EAAe;AAAA,EAC7B,UAAA9H;AAAA,EACA,WAAA2G,IAAY;AAAA,EACZ,KAAA7E;AAAA,EACA,GAAG/B;AACL,GAAuD;AACrD,SACE,gBAAAyH,EAACK,IAAA,EAAgB,KAAA/F,GAAU,SAAO,IAAE,GAAG/B,GACrC,UAAA,gBAAAyH,EAACO,IAAA,EAAU,WAAApB,GAAuB,GAAG5G,GAClC,UAAAC,GACH,GACF;AAEJ;AAEA8H,EAAe,cAAc;AC1BtB,MAAME,KAAU;AAAA,EACrB,MAAMT;AAAA,EACN,SAASO;AACX;","x_google_ignoreList":[0,1,2,3,4]}
1
+ {"version":3,"file":"tooltip-B1YdruCE.es.js","sources":["../../../../node_modules/.pnpm/@react-aria+overlays@3.29.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/overlays/dist/useModal.mjs","../../../../node_modules/.pnpm/@react-aria+tooltip@3.8.7_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/tooltip/dist/useTooltip.mjs","../../../../node_modules/.pnpm/@react-aria+tooltip@3.8.7_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/tooltip/dist/useTooltipTrigger.mjs","../../../../node_modules/.pnpm/@react-stately+tooltip@3.5.7_react@19.1.0/node_modules/@react-stately/tooltip/dist/useTooltipTriggerState.mjs","../../../../node_modules/.pnpm/react-aria-components@1.12.2_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/Tooltip.mjs","../../src/components/tooltip/components/tooltip.root.tsx","../../src/components/tooltip/tooltip.slots.ts","../../src/components/tooltip/components/tooltip.content.tsx","../../src/components/tooltip/tooltip.tsx"],"sourcesContent":["import {useUNSAFE_PortalContext as $96b38030c423d352$export$9fc1347d4195ccb3} from \"./PortalProvider.mjs\";\nimport $4AOtR$react, {useContext as $4AOtR$useContext, useState as $4AOtR$useState, useMemo as $4AOtR$useMemo, useEffect as $4AOtR$useEffect} from \"react\";\nimport $4AOtR$reactdom from \"react-dom\";\nimport {useIsSSR as $4AOtR$useIsSSR} from \"@react-aria/ssr\";\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 $f57aed4a881a3485$var$Context = /*#__PURE__*/ (0, $4AOtR$react).createContext(null);\nfunction $f57aed4a881a3485$export$178405afcd8c5eb(props) {\n let { children: children } = props;\n let parent = (0, $4AOtR$useContext)($f57aed4a881a3485$var$Context);\n let [modalCount, setModalCount] = (0, $4AOtR$useState)(0);\n let context = (0, $4AOtR$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, $4AOtR$react).createElement($f57aed4a881a3485$var$Context.Provider, {\n value: context\n }, children);\n}\nfunction $f57aed4a881a3485$export$d9aaed4c3ece1bc0() {\n let context = (0, $4AOtR$useContext)($f57aed4a881a3485$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 $f57aed4a881a3485$var$OverlayContainerDOM(props) {\n let { modalProviderProps: modalProviderProps } = $f57aed4a881a3485$export$d9aaed4c3ece1bc0();\n return /*#__PURE__*/ (0, $4AOtR$react).createElement(\"div\", {\n \"data-overlay-container\": true,\n ...props,\n ...modalProviderProps\n });\n}\nfunction $f57aed4a881a3485$export$bf688221f59024e5(props) {\n return /*#__PURE__*/ (0, $4AOtR$react).createElement($f57aed4a881a3485$export$178405afcd8c5eb, null, /*#__PURE__*/ (0, $4AOtR$react).createElement($f57aed4a881a3485$var$OverlayContainerDOM, props));\n}\nfunction $f57aed4a881a3485$export$b47c3594eab58386(props) {\n let isSSR = (0, $4AOtR$useIsSSR)();\n let { portalContainer: portalContainer = isSSR ? null : document.body, ...rest } = props;\n let { getContainer: getContainer } = (0, $96b38030c423d352$export$9fc1347d4195ccb3)();\n if (!props.portalContainer && getContainer) portalContainer = getContainer();\n (0, $4AOtR$react).useEffect(()=>{\n if (portalContainer === null || portalContainer === void 0 ? void 0 : 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, $4AOtR$react).createElement($f57aed4a881a3485$export$bf688221f59024e5, rest);\n return /*#__PURE__*/ (0, $4AOtR$reactdom).createPortal(contents, portalContainer);\n}\nfunction $f57aed4a881a3485$export$33ffd74ebf07f060(options) {\n // Add aria-hidden to all parent providers on mount, and restore on unmount.\n let context = (0, $4AOtR$useContext)($f57aed4a881a3485$var$Context);\n if (!context) throw new Error('Modal is not contained within a provider');\n (0, $4AOtR$useEffect)(()=>{\n if ((options === null || options === void 0 ? void 0 : 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 === null || options === void 0 ? void 0 : options.isDisabled\n ]);\n return {\n modalProps: {\n 'data-ismodal': !(options === null || options === void 0 ? void 0 : options.isDisabled)\n }\n };\n}\n\n\nexport {$f57aed4a881a3485$export$178405afcd8c5eb as ModalProvider, $f57aed4a881a3485$export$d9aaed4c3ece1bc0 as useModalProvider, $f57aed4a881a3485$export$bf688221f59024e5 as OverlayProvider, $f57aed4a881a3485$export$b47c3594eab58386 as OverlayContainer, $f57aed4a881a3485$export$33ffd74ebf07f060 as useModal};\n//# sourceMappingURL=useModal.module.js.map\n","import {filterDOMProps as $kwmr2$filterDOMProps, mergeProps as $kwmr2$mergeProps} from \"@react-aria/utils\";\nimport {useHover as $kwmr2$useHover} from \"@react-aria/interactions\";\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 $326e436e94273fe1$export$1c4b08e0eca38426(props, state) {\n let domProps = (0, $kwmr2$filterDOMProps)(props, {\n labelable: true\n });\n let { hoverProps: hoverProps } = (0, $kwmr2$useHover)({\n onHoverStart: ()=>state === null || state === void 0 ? void 0 : state.open(true),\n onHoverEnd: ()=>state === null || state === void 0 ? void 0 : state.close()\n });\n return {\n tooltipProps: (0, $kwmr2$mergeProps)(domProps, hoverProps, {\n role: 'tooltip'\n })\n };\n}\n\n\nexport {$326e436e94273fe1$export$1c4b08e0eca38426 as useTooltip};\n//# sourceMappingURL=useTooltip.module.js.map\n","import {getInteractionModality as $6VwSn$getInteractionModality, isFocusVisible as $6VwSn$isFocusVisible, useHover as $6VwSn$useHover, useFocusable as $6VwSn$useFocusable} from \"@react-aria/interactions\";\nimport {useId as $6VwSn$useId, mergeProps as $6VwSn$mergeProps} from \"@react-aria/utils\";\nimport {useRef as $6VwSn$useRef, useEffect as $6VwSn$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 $4e1b34546679e357$export$a6da6c504e4bba8b(props, state, ref) {\n let { isDisabled: isDisabled, trigger: trigger } = props;\n let tooltipId = (0, $6VwSn$useId)();\n let isHovered = (0, $6VwSn$useRef)(false);\n let isFocused = (0, $6VwSn$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, $6VwSn$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, $6VwSn$getInteractionModality)() === '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 // 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, $6VwSn$isFocusVisible)();\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, $6VwSn$useHover)({\n isDisabled: isDisabled,\n onHoverStart: onHoverStart,\n onHoverEnd: onHoverEnd\n });\n let { focusableProps: focusableProps } = (0, $6VwSn$useFocusable)({\n isDisabled: isDisabled,\n onFocus: onFocus,\n onBlur: onBlur\n }, ref);\n return {\n triggerProps: {\n 'aria-describedby': state.isOpen ? tooltipId : undefined,\n ...(0, $6VwSn$mergeProps)(focusableProps, hoverProps, {\n onPointerDown: onPressStart,\n onKeyDown: onPressStart\n }),\n tabIndex: undefined\n },\n tooltipProps: {\n id: tooltipId\n }\n };\n}\n\n\nexport {$4e1b34546679e357$export$a6da6c504e4bba8b as useTooltipTrigger};\n//# sourceMappingURL=useTooltipTrigger.module.js.map\n","import {useMemo as $50cCT$useMemo, useRef as $50cCT$useRef, useEffect as $50cCT$useEffect} from \"react\";\nimport {useOverlayTriggerState as $50cCT$useOverlayTriggerState} from \"@react-stately/overlays\";\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 $8796f90736e175cb$var$TOOLTIP_DELAY = 1500; // this seems to be a 1.5 second delay, check with design\nconst $8796f90736e175cb$var$TOOLTIP_COOLDOWN = 500;\nlet $8796f90736e175cb$var$tooltips = {};\nlet $8796f90736e175cb$var$tooltipId = 0;\nlet $8796f90736e175cb$var$globalWarmedUp = false;\nlet $8796f90736e175cb$var$globalWarmUpTimeout = null;\nlet $8796f90736e175cb$var$globalCooldownTimeout = null;\nfunction $8796f90736e175cb$export$4d40659c25ecb50b(props = {}) {\n let { delay: delay = $8796f90736e175cb$var$TOOLTIP_DELAY, closeDelay: closeDelay = $8796f90736e175cb$var$TOOLTIP_COOLDOWN } = props;\n let { isOpen: isOpen, open: open, close: close } = (0, $50cCT$useOverlayTriggerState)(props);\n let id = (0, $50cCT$useMemo)(()=>`${++$8796f90736e175cb$var$tooltipId}`, []);\n let closeTimeout = (0, $50cCT$useRef)(null);\n let closeCallback = (0, $50cCT$useRef)(close);\n let ensureTooltipEntry = ()=>{\n $8796f90736e175cb$var$tooltips[id] = hideTooltip;\n };\n let closeOpenTooltips = ()=>{\n for(let hideTooltipId in $8796f90736e175cb$var$tooltips)if (hideTooltipId !== id) {\n $8796f90736e175cb$var$tooltips[hideTooltipId](true);\n delete $8796f90736e175cb$var$tooltips[hideTooltipId];\n }\n };\n let showTooltip = ()=>{\n if (closeTimeout.current) clearTimeout(closeTimeout.current);\n closeTimeout.current = null;\n closeOpenTooltips();\n ensureTooltipEntry();\n $8796f90736e175cb$var$globalWarmedUp = true;\n open();\n if ($8796f90736e175cb$var$globalWarmUpTimeout) {\n clearTimeout($8796f90736e175cb$var$globalWarmUpTimeout);\n $8796f90736e175cb$var$globalWarmUpTimeout = null;\n }\n if ($8796f90736e175cb$var$globalCooldownTimeout) {\n clearTimeout($8796f90736e175cb$var$globalCooldownTimeout);\n $8796f90736e175cb$var$globalCooldownTimeout = null;\n }\n };\n let hideTooltip = (immediate)=>{\n if (immediate || closeDelay <= 0) {\n if (closeTimeout.current) clearTimeout(closeTimeout.current);\n closeTimeout.current = null;\n closeCallback.current();\n } else if (!closeTimeout.current) closeTimeout.current = setTimeout(()=>{\n closeTimeout.current = null;\n closeCallback.current();\n }, closeDelay);\n if ($8796f90736e175cb$var$globalWarmUpTimeout) {\n clearTimeout($8796f90736e175cb$var$globalWarmUpTimeout);\n $8796f90736e175cb$var$globalWarmUpTimeout = null;\n }\n if ($8796f90736e175cb$var$globalWarmedUp) {\n if ($8796f90736e175cb$var$globalCooldownTimeout) clearTimeout($8796f90736e175cb$var$globalCooldownTimeout);\n $8796f90736e175cb$var$globalCooldownTimeout = setTimeout(()=>{\n delete $8796f90736e175cb$var$tooltips[id];\n $8796f90736e175cb$var$globalCooldownTimeout = null;\n $8796f90736e175cb$var$globalWarmedUp = false;\n }, Math.max($8796f90736e175cb$var$TOOLTIP_COOLDOWN, closeDelay));\n }\n };\n let warmupTooltip = ()=>{\n closeOpenTooltips();\n ensureTooltipEntry();\n if (!isOpen && !$8796f90736e175cb$var$globalWarmUpTimeout && !$8796f90736e175cb$var$globalWarmedUp) $8796f90736e175cb$var$globalWarmUpTimeout = setTimeout(()=>{\n $8796f90736e175cb$var$globalWarmUpTimeout = null;\n $8796f90736e175cb$var$globalWarmedUp = true;\n showTooltip();\n }, delay);\n else if (!isOpen) showTooltip();\n };\n (0, $50cCT$useEffect)(()=>{\n closeCallback.current = close;\n }, [\n close\n ]);\n (0, $50cCT$useEffect)(()=>{\n return ()=>{\n if (closeTimeout.current) clearTimeout(closeTimeout.current);\n let tooltip = $8796f90736e175cb$var$tooltips[id];\n if (tooltip) delete $8796f90736e175cb$var$tooltips[id];\n };\n }, [\n id\n ]);\n return {\n isOpen: isOpen,\n open: (immediate)=>{\n if (!immediate && delay > 0 && !closeTimeout.current) warmupTooltip();\n else showTooltip();\n },\n close: hideTooltip\n };\n}\n\n\nexport {$8796f90736e175cb$export$4d40659c25ecb50b as useTooltipTriggerState};\n//# sourceMappingURL=useTooltipTriggerState.module.js.map\n","import {Provider as $64fa3d84918910a7$export$2881499e37b75b9a, useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415, useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport {OverlayArrowContext as $44f671af83e7d9e0$export$2de4954e8ae13b9f} from \"./OverlayArrow.mjs\";\nimport {useTooltipTrigger as $cCslV$useTooltipTrigger, OverlayContainer as $cCslV$OverlayContainer, useOverlayPosition as $cCslV$useOverlayPosition, mergeProps as $cCslV$mergeProps, useTooltip as $cCslV$useTooltip} from \"react-aria\";\nimport {useExitAnimation as $cCslV$useExitAnimation, useEnterAnimation as $cCslV$useEnterAnimation, filterDOMProps as $cCslV$filterDOMProps} from \"@react-aria/utils\";\nimport {FocusableProvider as $cCslV$FocusableProvider} from \"@react-aria/focus\";\nimport {useTooltipTriggerState as $cCslV$useTooltipTriggerState} from \"react-stately\";\nimport $cCslV$react, {createContext as $cCslV$createContext, useRef as $cCslV$useRef, forwardRef as $cCslV$forwardRef, useContext as $cCslV$useContext} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\nconst $4e3b923658d69c60$export$7a7623236eec67fa = /*#__PURE__*/ (0, $cCslV$createContext)(null);\nconst $4e3b923658d69c60$export$39ae08fa83328b12 = /*#__PURE__*/ (0, $cCslV$createContext)(null);\nfunction $4e3b923658d69c60$export$8c610744efcf8a1d(props) {\n let state = (0, $cCslV$useTooltipTriggerState)(props);\n let ref = (0, $cCslV$useRef)(null);\n let { triggerProps: triggerProps, tooltipProps: tooltipProps } = (0, $cCslV$useTooltipTrigger)(props, state, ref);\n return /*#__PURE__*/ (0, $cCslV$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n $4e3b923658d69c60$export$7a7623236eec67fa,\n state\n ],\n [\n $4e3b923658d69c60$export$39ae08fa83328b12,\n {\n ...tooltipProps,\n triggerRef: ref\n }\n ]\n ]\n }, /*#__PURE__*/ (0, $cCslV$react).createElement((0, $cCslV$FocusableProvider), {\n ...triggerProps,\n ref: ref\n }, props.children));\n}\nconst $4e3b923658d69c60$export$28c660c63b792dea = /*#__PURE__*/ (0, $cCslV$forwardRef)(function Tooltip({ UNSTABLE_portalContainer: UNSTABLE_portalContainer, ...props }, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $4e3b923658d69c60$export$39ae08fa83328b12);\n let contextState = (0, $cCslV$useContext)($4e3b923658d69c60$export$7a7623236eec67fa);\n let localState = (0, $cCslV$useTooltipTriggerState)(props);\n let state = props.isOpen != null || props.defaultOpen != null || !contextState ? localState : contextState;\n let isExiting = (0, $cCslV$useExitAnimation)(ref, state.isOpen) || props.isExiting || false;\n if (!state.isOpen && !isExiting) return null;\n return /*#__PURE__*/ (0, $cCslV$react).createElement((0, $cCslV$OverlayContainer), {\n portalContainer: UNSTABLE_portalContainer\n }, /*#__PURE__*/ (0, $cCslV$react).createElement($4e3b923658d69c60$var$TooltipInner, {\n ...props,\n tooltipRef: ref,\n isExiting: isExiting\n }));\n});\nfunction $4e3b923658d69c60$var$TooltipInner(props) {\n let state = (0, $cCslV$useContext)($4e3b923658d69c60$export$7a7623236eec67fa);\n let arrowRef = (0, $cCslV$useRef)(null);\n let { overlayProps: overlayProps, arrowProps: arrowProps, placement: placement, triggerAnchorPoint: triggerAnchorPoint } = (0, $cCslV$useOverlayPosition)({\n placement: props.placement || 'top',\n targetRef: props.triggerRef,\n overlayRef: props.tooltipRef,\n arrowRef: arrowRef,\n offset: props.offset,\n crossOffset: props.crossOffset,\n isOpen: state.isOpen,\n arrowBoundaryOffset: props.arrowBoundaryOffset,\n shouldFlip: props.shouldFlip,\n containerPadding: props.containerPadding,\n onClose: ()=>state.close(true)\n });\n let isEntering = (0, $cCslV$useEnterAnimation)(props.tooltipRef, !!placement) || props.isEntering || false;\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n defaultClassName: 'react-aria-Tooltip',\n values: {\n placement: placement,\n isEntering: isEntering,\n isExiting: props.isExiting,\n state: state\n }\n });\n props = (0, $cCslV$mergeProps)(props, overlayProps);\n let { tooltipProps: tooltipProps } = (0, $cCslV$useTooltip)(props, state);\n let DOMProps = (0, $cCslV$filterDOMProps)(props, {\n global: true\n });\n return /*#__PURE__*/ (0, $cCslV$react).createElement(\"div\", {\n ...(0, $cCslV$mergeProps)(DOMProps, renderProps, tooltipProps),\n ref: props.tooltipRef,\n style: {\n ...overlayProps.style,\n '--trigger-anchor-point': triggerAnchorPoint ? `${triggerAnchorPoint.x}px ${triggerAnchorPoint.y}px` : undefined,\n ...renderProps.style\n },\n \"data-placement\": placement !== null && placement !== void 0 ? placement : undefined,\n \"data-entering\": isEntering || undefined,\n \"data-exiting\": props.isExiting || undefined\n }, /*#__PURE__*/ (0, $cCslV$react).createElement((0, $44f671af83e7d9e0$export$2de4954e8ae13b9f).Provider, {\n value: {\n ...arrowProps,\n placement: placement,\n ref: arrowRef\n }\n }, renderProps.children));\n}\n\n\nexport {$4e3b923658d69c60$export$7a7623236eec67fa as TooltipTriggerStateContext, $4e3b923658d69c60$export$39ae08fa83328b12 as TooltipContext, $4e3b923658d69c60$export$8c610744efcf8a1d as TooltipTrigger, $4e3b923658d69c60$export$28c660c63b792dea as Tooltip};\n//# sourceMappingURL=Tooltip.module.js.map\n","import React from \"react\";\nimport { TooltipTrigger } from \"react-aria-components\";\nimport type { TooltipTriggerComponentProps } from \"react-aria-components\";\n\n/**\n * # Tooltip\n *\n * A contextual popup that displays a description for an element.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/feedback/tooltip}\n */\nexport function TooltipRoot({\n // Match delays to current ui-kit tooltip\n delay = 300,\n closeDelay = 200,\n ...props\n}: TooltipTriggerComponentProps) {\n // Note: In React 19, ref forwarding is automatic for function components\n // The ref should be placed on the trigger element directly when needed\n return <TooltipTrigger delay={delay} closeDelay={closeDelay} {...props} />;\n}\n\nTooltipRoot.displayName = \"Tooltip.Root\";\n","import {\n type HTMLChakraProps,\n type RecipeProps,\n type UnstyledProp,\n createRecipeContext,\n} from \"@chakra-ui/react/styled-system\";\n\nimport { type TooltipProps as RATooltipProps } from \"react-aria-components\";\n\nimport { tooltipRecipe } from \"./tooltip.recipe\";\n\n/**\n * Base recipe props interface that combines Chakra UI's recipe props\n */\ninterface TooltipRecipeProps extends RecipeProps<\"div\">, UnstyledProp {}\n\n/**\n * Root props interface that extends Chakra's HTML props with our recipe props.\n * This creates a complete set of props for the root element, combining\n * HTML attributes, Chakra's styling system, and our custom recipe props.\n */\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface TooltipRootProps\n extends HTMLChakraProps<\"div\", TooltipRecipeProps> {}\n\nconst { withContext } = createRecipeContext({ recipe: tooltipRecipe });\n\n/**\n * Root component that provides the styling context for the Tooltip component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const TooltipRootSlot = withContext<\n HTMLDivElement,\n TooltipRootProps & RATooltipProps\n>(\"div\");\n","import { Tooltip as RATooltip } from \"react-aria-components\";\nimport { TooltipRootSlot } from \"../tooltip.slots\";\nimport type { TooltipProps } from \"../tooltip.types\";\n\n/**\n * TooltipContent\n * ============================================================\n * A contextual popup that displays a description for an element, uses `Tooltip` component from `react-aria-components`.\n *\n * Features:\n * - allows forwarding refs to the underlying DOM element\n * - accepts all native html 'HTMLDivElement' attributes (including aria- & data-attributes)\n * - allows overriding styles by using style-props\n *\n * Further Context:\n * - [React Aria Components Tooltip Documentation](https://react-spectrum.adobe.com/react-aria/Tooltip.html)\n * - [ARIA Tooltip Pattern](https://www.w3.org/TR/wai-aria-1.2/#tooltip)\n */\nexport function TooltipContent({\n children,\n placement = \"bottom\",\n ref,\n ...props\n}: TooltipProps & { ref?: React.Ref<HTMLDivElement> }) {\n return (\n <TooltipRootSlot ref={ref} asChild {...props}>\n <RATooltip placement={placement} {...props}>\n {children}\n </RATooltip>\n </TooltipRootSlot>\n );\n}\n\nTooltipContent.displayName = \"Tooltip.Content\";\n","import { TooltipRoot } from \"./components/tooltip.root\";\nimport { TooltipContent } from \"./components/tooltip.content\";\n\n// Exports for internal use by react-docgen\nexport { TooltipRoot as _TooltipRoot, TooltipContent as _TooltipContent };\n\n// Export compound component object\nexport const Tooltip = {\n Root: TooltipRoot,\n Content: TooltipContent,\n};\n"],"names":["$f57aed4a881a3485$var$Context","$4AOtR$react","$f57aed4a881a3485$export$178405afcd8c5eb","props","children","parent","$4AOtR$useContext","modalCount","setModalCount","$4AOtR$useState","context","$4AOtR$useMemo","count","$f57aed4a881a3485$export$d9aaed4c3ece1bc0","$f57aed4a881a3485$var$OverlayContainerDOM","modalProviderProps","$f57aed4a881a3485$export$bf688221f59024e5","$f57aed4a881a3485$export$b47c3594eab58386","isSSR","$4AOtR$useIsSSR","portalContainer","rest","getContainer","$96b38030c423d352$export$9fc1347d4195ccb3","contents","$4AOtR$reactdom","$326e436e94273fe1$export$1c4b08e0eca38426","state","domProps","$kwmr2$filterDOMProps","hoverProps","$kwmr2$useHover","$kwmr2$mergeProps","$4e1b34546679e357$export$a6da6c504e4bba8b","ref","isDisabled","trigger","tooltipId","$6VwSn$useId","isHovered","$6VwSn$useRef","isFocused","handleShow","handleHide","immediate","$6VwSn$useEffect","onKeyDown","e","onHoverStart","$6VwSn$getInteractionModality","onHoverEnd","onPressStart","onFocus","$6VwSn$isFocusVisible","onBlur","$6VwSn$useHover","focusableProps","$6VwSn$useFocusable","$6VwSn$mergeProps","$8796f90736e175cb$var$TOOLTIP_DELAY","$8796f90736e175cb$var$TOOLTIP_COOLDOWN","$8796f90736e175cb$var$tooltips","$8796f90736e175cb$var$tooltipId","$8796f90736e175cb$var$globalWarmedUp","$8796f90736e175cb$var$globalWarmUpTimeout","$8796f90736e175cb$var$globalCooldownTimeout","$8796f90736e175cb$export$4d40659c25ecb50b","delay","closeDelay","isOpen","open","close","$50cCT$useOverlayTriggerState","id","$50cCT$useMemo","closeTimeout","$50cCT$useRef","closeCallback","ensureTooltipEntry","hideTooltip","closeOpenTooltips","hideTooltipId","showTooltip","warmupTooltip","$50cCT$useEffect","$4e3b923658d69c60$export$7a7623236eec67fa","$cCslV$createContext","$4e3b923658d69c60$export$39ae08fa83328b12","$4e3b923658d69c60$export$8c610744efcf8a1d","$cCslV$useTooltipTriggerState","$cCslV$useRef","triggerProps","tooltipProps","$cCslV$useTooltipTrigger","$cCslV$react","$64fa3d84918910a7$export$2881499e37b75b9a","$cCslV$FocusableProvider","$4e3b923658d69c60$export$28c660c63b792dea","$cCslV$forwardRef","UNSTABLE_portalContainer","$64fa3d84918910a7$export$29f1550f4b0d4415","contextState","$cCslV$useContext","localState","isExiting","$cCslV$useExitAnimation","$cCslV$OverlayContainer","$4e3b923658d69c60$var$TooltipInner","arrowRef","overlayProps","arrowProps","placement","triggerAnchorPoint","$cCslV$useOverlayPosition","isEntering","$cCslV$useEnterAnimation","renderProps","$64fa3d84918910a7$export$4d86445c2cf5e3","$cCslV$mergeProps","$cCslV$useTooltip","DOMProps","$cCslV$filterDOMProps","$44f671af83e7d9e0$export$2de4954e8ae13b9f","TooltipRoot","jsx","TooltipTrigger","withContext","createRecipeContext","tooltipRecipe","TooltipRootSlot","TooltipContent","RATooltip","Tooltip"],"mappings":";;;;;;;;;;;;;AAmBA,MAAMA,IAAkDC,gBAAAA,EAAc,cAAc,IAAI;AACxF,SAASC,GAAyCC,GAAO;AACrD,MAAI,EAAE,UAAUC,EAAQ,IAAKD,GACzBE,IAAaC,EAAmBN,CAA6B,GAC7D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AQC,IAAe,GAMxDC,KAAkB,gBAAAH,GAG7B,KAAK;AChBA,SAASI,EAAe;AAAA,EAC7B,UAAA9H;AAAA,EACA,WAAA2G,IAAY;AAAA,EACZ,KAAA7E;AAAA,EACA,GAAG/B;AACL,GAAuD;AACrD,SACE,gBAAAyH,EAACK,IAAA,EAAgB,KAAA/F,GAAU,SAAO,IAAE,GAAG/B,GACrC,UAAA,gBAAAyH,EAACO,IAAA,EAAU,WAAApB,GAAuB,GAAG5G,GAClC,UAAAC,GACH,GACF;AAEJ;AAEA8H,EAAe,cAAc;AC1BtB,MAAME,KAAU;AAAA,EACrB,MAAMT;AAAA,EACN,SAASO;AACX;","x_google_ignoreList":[0,1,2,3,4]}
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip-g8-hEdZp.cjs.js","sources":["../../../../node_modules/.pnpm/@react-aria+overlays@3.29.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/overlays/dist/useModal.mjs","../../../../node_modules/.pnpm/@react-aria+tooltip@3.8.7_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/tooltip/dist/useTooltip.mjs","../../../../node_modules/.pnpm/@react-aria+tooltip@3.8.7_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/tooltip/dist/useTooltipTrigger.mjs","../../../../node_modules/.pnpm/@react-stately+tooltip@3.5.7_react@19.1.0/node_modules/@react-stately/tooltip/dist/useTooltipTriggerState.mjs","../../../../node_modules/.pnpm/react-aria-components@1.12.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/Tooltip.mjs","../../src/components/tooltip/components/tooltip.root.tsx","../../src/components/tooltip/tooltip.slots.ts","../../src/components/tooltip/components/tooltip.content.tsx","../../src/components/tooltip/tooltip.tsx"],"sourcesContent":["import {useUNSAFE_PortalContext as $96b38030c423d352$export$9fc1347d4195ccb3} from \"./PortalProvider.mjs\";\nimport $4AOtR$react, {useContext as $4AOtR$useContext, useState as $4AOtR$useState, useMemo as $4AOtR$useMemo, useEffect as $4AOtR$useEffect} from \"react\";\nimport $4AOtR$reactdom from \"react-dom\";\nimport {useIsSSR as $4AOtR$useIsSSR} from \"@react-aria/ssr\";\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 $f57aed4a881a3485$var$Context = /*#__PURE__*/ (0, $4AOtR$react).createContext(null);\nfunction $f57aed4a881a3485$export$178405afcd8c5eb(props) {\n let { children: children } = props;\n let parent = (0, $4AOtR$useContext)($f57aed4a881a3485$var$Context);\n let [modalCount, setModalCount] = (0, $4AOtR$useState)(0);\n let context = (0, $4AOtR$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, $4AOtR$react).createElement($f57aed4a881a3485$var$Context.Provider, {\n value: context\n }, children);\n}\nfunction $f57aed4a881a3485$export$d9aaed4c3ece1bc0() {\n let context = (0, $4AOtR$useContext)($f57aed4a881a3485$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 $f57aed4a881a3485$var$OverlayContainerDOM(props) {\n let { modalProviderProps: modalProviderProps } = $f57aed4a881a3485$export$d9aaed4c3ece1bc0();\n return /*#__PURE__*/ (0, $4AOtR$react).createElement(\"div\", {\n \"data-overlay-container\": true,\n ...props,\n ...modalProviderProps\n });\n}\nfunction $f57aed4a881a3485$export$bf688221f59024e5(props) {\n return /*#__PURE__*/ (0, $4AOtR$react).createElement($f57aed4a881a3485$export$178405afcd8c5eb, null, /*#__PURE__*/ (0, $4AOtR$react).createElement($f57aed4a881a3485$var$OverlayContainerDOM, props));\n}\nfunction $f57aed4a881a3485$export$b47c3594eab58386(props) {\n let isSSR = (0, $4AOtR$useIsSSR)();\n let { portalContainer: portalContainer = isSSR ? null : document.body, ...rest } = props;\n let { getContainer: getContainer } = (0, $96b38030c423d352$export$9fc1347d4195ccb3)();\n if (!props.portalContainer && getContainer) portalContainer = getContainer();\n (0, $4AOtR$react).useEffect(()=>{\n if (portalContainer === null || portalContainer === void 0 ? void 0 : 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, $4AOtR$react).createElement($f57aed4a881a3485$export$bf688221f59024e5, rest);\n return /*#__PURE__*/ (0, $4AOtR$reactdom).createPortal(contents, portalContainer);\n}\nfunction $f57aed4a881a3485$export$33ffd74ebf07f060(options) {\n // Add aria-hidden to all parent providers on mount, and restore on unmount.\n let context = (0, $4AOtR$useContext)($f57aed4a881a3485$var$Context);\n if (!context) throw new Error('Modal is not contained within a provider');\n (0, $4AOtR$useEffect)(()=>{\n if ((options === null || options === void 0 ? void 0 : 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 === null || options === void 0 ? void 0 : options.isDisabled\n ]);\n return {\n modalProps: {\n 'data-ismodal': !(options === null || options === void 0 ? void 0 : options.isDisabled)\n }\n };\n}\n\n\nexport {$f57aed4a881a3485$export$178405afcd8c5eb as ModalProvider, $f57aed4a881a3485$export$d9aaed4c3ece1bc0 as useModalProvider, $f57aed4a881a3485$export$bf688221f59024e5 as OverlayProvider, $f57aed4a881a3485$export$b47c3594eab58386 as OverlayContainer, $f57aed4a881a3485$export$33ffd74ebf07f060 as useModal};\n//# sourceMappingURL=useModal.module.js.map\n","import {filterDOMProps as $kwmr2$filterDOMProps, mergeProps as $kwmr2$mergeProps} from \"@react-aria/utils\";\nimport {useHover as $kwmr2$useHover} from \"@react-aria/interactions\";\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 $326e436e94273fe1$export$1c4b08e0eca38426(props, state) {\n let domProps = (0, $kwmr2$filterDOMProps)(props, {\n labelable: true\n });\n let { hoverProps: hoverProps } = (0, $kwmr2$useHover)({\n onHoverStart: ()=>state === null || state === void 0 ? void 0 : state.open(true),\n onHoverEnd: ()=>state === null || state === void 0 ? void 0 : state.close()\n });\n return {\n tooltipProps: (0, $kwmr2$mergeProps)(domProps, hoverProps, {\n role: 'tooltip'\n })\n };\n}\n\n\nexport {$326e436e94273fe1$export$1c4b08e0eca38426 as useTooltip};\n//# sourceMappingURL=useTooltip.module.js.map\n","import {getInteractionModality as $6VwSn$getInteractionModality, isFocusVisible as $6VwSn$isFocusVisible, useHover as $6VwSn$useHover, useFocusable as $6VwSn$useFocusable} from \"@react-aria/interactions\";\nimport {useId as $6VwSn$useId, mergeProps as $6VwSn$mergeProps} from \"@react-aria/utils\";\nimport {useRef as $6VwSn$useRef, useEffect as $6VwSn$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 $4e1b34546679e357$export$a6da6c504e4bba8b(props, state, ref) {\n let { isDisabled: isDisabled, trigger: trigger } = props;\n let tooltipId = (0, $6VwSn$useId)();\n let isHovered = (0, $6VwSn$useRef)(false);\n let isFocused = (0, $6VwSn$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, $6VwSn$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, $6VwSn$getInteractionModality)() === '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 // 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, $6VwSn$isFocusVisible)();\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, $6VwSn$useHover)({\n isDisabled: isDisabled,\n onHoverStart: onHoverStart,\n onHoverEnd: onHoverEnd\n });\n let { focusableProps: focusableProps } = (0, $6VwSn$useFocusable)({\n isDisabled: isDisabled,\n onFocus: onFocus,\n onBlur: onBlur\n }, ref);\n return {\n triggerProps: {\n 'aria-describedby': state.isOpen ? tooltipId : undefined,\n ...(0, $6VwSn$mergeProps)(focusableProps, hoverProps, {\n onPointerDown: onPressStart,\n onKeyDown: onPressStart\n }),\n tabIndex: undefined\n },\n tooltipProps: {\n id: tooltipId\n }\n };\n}\n\n\nexport {$4e1b34546679e357$export$a6da6c504e4bba8b as useTooltipTrigger};\n//# sourceMappingURL=useTooltipTrigger.module.js.map\n","import {useMemo as $50cCT$useMemo, useRef as $50cCT$useRef, useEffect as $50cCT$useEffect} from \"react\";\nimport {useOverlayTriggerState as $50cCT$useOverlayTriggerState} from \"@react-stately/overlays\";\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 $8796f90736e175cb$var$TOOLTIP_DELAY = 1500; // this seems to be a 1.5 second delay, check with design\nconst $8796f90736e175cb$var$TOOLTIP_COOLDOWN = 500;\nlet $8796f90736e175cb$var$tooltips = {};\nlet $8796f90736e175cb$var$tooltipId = 0;\nlet $8796f90736e175cb$var$globalWarmedUp = false;\nlet $8796f90736e175cb$var$globalWarmUpTimeout = null;\nlet $8796f90736e175cb$var$globalCooldownTimeout = null;\nfunction $8796f90736e175cb$export$4d40659c25ecb50b(props = {}) {\n let { delay: delay = $8796f90736e175cb$var$TOOLTIP_DELAY, closeDelay: closeDelay = $8796f90736e175cb$var$TOOLTIP_COOLDOWN } = props;\n let { isOpen: isOpen, open: open, close: close } = (0, $50cCT$useOverlayTriggerState)(props);\n let id = (0, $50cCT$useMemo)(()=>`${++$8796f90736e175cb$var$tooltipId}`, []);\n let closeTimeout = (0, $50cCT$useRef)(null);\n let closeCallback = (0, $50cCT$useRef)(close);\n let ensureTooltipEntry = ()=>{\n $8796f90736e175cb$var$tooltips[id] = hideTooltip;\n };\n let closeOpenTooltips = ()=>{\n for(let hideTooltipId in $8796f90736e175cb$var$tooltips)if (hideTooltipId !== id) {\n $8796f90736e175cb$var$tooltips[hideTooltipId](true);\n delete $8796f90736e175cb$var$tooltips[hideTooltipId];\n }\n };\n let showTooltip = ()=>{\n if (closeTimeout.current) clearTimeout(closeTimeout.current);\n closeTimeout.current = null;\n closeOpenTooltips();\n ensureTooltipEntry();\n $8796f90736e175cb$var$globalWarmedUp = true;\n open();\n if ($8796f90736e175cb$var$globalWarmUpTimeout) {\n clearTimeout($8796f90736e175cb$var$globalWarmUpTimeout);\n $8796f90736e175cb$var$globalWarmUpTimeout = null;\n }\n if ($8796f90736e175cb$var$globalCooldownTimeout) {\n clearTimeout($8796f90736e175cb$var$globalCooldownTimeout);\n $8796f90736e175cb$var$globalCooldownTimeout = null;\n }\n };\n let hideTooltip = (immediate)=>{\n if (immediate || closeDelay <= 0) {\n if (closeTimeout.current) clearTimeout(closeTimeout.current);\n closeTimeout.current = null;\n closeCallback.current();\n } else if (!closeTimeout.current) closeTimeout.current = setTimeout(()=>{\n closeTimeout.current = null;\n closeCallback.current();\n }, closeDelay);\n if ($8796f90736e175cb$var$globalWarmUpTimeout) {\n clearTimeout($8796f90736e175cb$var$globalWarmUpTimeout);\n $8796f90736e175cb$var$globalWarmUpTimeout = null;\n }\n if ($8796f90736e175cb$var$globalWarmedUp) {\n if ($8796f90736e175cb$var$globalCooldownTimeout) clearTimeout($8796f90736e175cb$var$globalCooldownTimeout);\n $8796f90736e175cb$var$globalCooldownTimeout = setTimeout(()=>{\n delete $8796f90736e175cb$var$tooltips[id];\n $8796f90736e175cb$var$globalCooldownTimeout = null;\n $8796f90736e175cb$var$globalWarmedUp = false;\n }, Math.max($8796f90736e175cb$var$TOOLTIP_COOLDOWN, closeDelay));\n }\n };\n let warmupTooltip = ()=>{\n closeOpenTooltips();\n ensureTooltipEntry();\n if (!isOpen && !$8796f90736e175cb$var$globalWarmUpTimeout && !$8796f90736e175cb$var$globalWarmedUp) $8796f90736e175cb$var$globalWarmUpTimeout = setTimeout(()=>{\n $8796f90736e175cb$var$globalWarmUpTimeout = null;\n $8796f90736e175cb$var$globalWarmedUp = true;\n showTooltip();\n }, delay);\n else if (!isOpen) showTooltip();\n };\n (0, $50cCT$useEffect)(()=>{\n closeCallback.current = close;\n }, [\n close\n ]);\n (0, $50cCT$useEffect)(()=>{\n return ()=>{\n if (closeTimeout.current) clearTimeout(closeTimeout.current);\n let tooltip = $8796f90736e175cb$var$tooltips[id];\n if (tooltip) delete $8796f90736e175cb$var$tooltips[id];\n };\n }, [\n id\n ]);\n return {\n isOpen: isOpen,\n open: (immediate)=>{\n if (!immediate && delay > 0 && !closeTimeout.current) warmupTooltip();\n else showTooltip();\n },\n close: hideTooltip\n };\n}\n\n\nexport {$8796f90736e175cb$export$4d40659c25ecb50b as useTooltipTriggerState};\n//# sourceMappingURL=useTooltipTriggerState.module.js.map\n","import {Provider as $64fa3d84918910a7$export$2881499e37b75b9a, useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415, useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport {OverlayArrowContext as $44f671af83e7d9e0$export$2de4954e8ae13b9f} from \"./OverlayArrow.mjs\";\nimport {useTooltipTrigger as $cCslV$useTooltipTrigger, OverlayContainer as $cCslV$OverlayContainer, useOverlayPosition as $cCslV$useOverlayPosition, mergeProps as $cCslV$mergeProps, useTooltip as $cCslV$useTooltip} from \"react-aria\";\nimport {useExitAnimation as $cCslV$useExitAnimation, useEnterAnimation as $cCslV$useEnterAnimation, filterDOMProps as $cCslV$filterDOMProps} from \"@react-aria/utils\";\nimport {FocusableProvider as $cCslV$FocusableProvider} from \"@react-aria/focus\";\nimport {useTooltipTriggerState as $cCslV$useTooltipTriggerState} from \"react-stately\";\nimport $cCslV$react, {createContext as $cCslV$createContext, useRef as $cCslV$useRef, forwardRef as $cCslV$forwardRef, useContext as $cCslV$useContext} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\nconst $4e3b923658d69c60$export$7a7623236eec67fa = /*#__PURE__*/ (0, $cCslV$createContext)(null);\nconst $4e3b923658d69c60$export$39ae08fa83328b12 = /*#__PURE__*/ (0, $cCslV$createContext)(null);\nfunction $4e3b923658d69c60$export$8c610744efcf8a1d(props) {\n let state = (0, $cCslV$useTooltipTriggerState)(props);\n let ref = (0, $cCslV$useRef)(null);\n let { triggerProps: triggerProps, tooltipProps: tooltipProps } = (0, $cCslV$useTooltipTrigger)(props, state, ref);\n return /*#__PURE__*/ (0, $cCslV$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n $4e3b923658d69c60$export$7a7623236eec67fa,\n state\n ],\n [\n $4e3b923658d69c60$export$39ae08fa83328b12,\n {\n ...tooltipProps,\n triggerRef: ref\n }\n ]\n ]\n }, /*#__PURE__*/ (0, $cCslV$react).createElement((0, $cCslV$FocusableProvider), {\n ...triggerProps,\n ref: ref\n }, props.children));\n}\nconst $4e3b923658d69c60$export$28c660c63b792dea = /*#__PURE__*/ (0, $cCslV$forwardRef)(function Tooltip({ UNSTABLE_portalContainer: UNSTABLE_portalContainer, ...props }, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $4e3b923658d69c60$export$39ae08fa83328b12);\n let contextState = (0, $cCslV$useContext)($4e3b923658d69c60$export$7a7623236eec67fa);\n let localState = (0, $cCslV$useTooltipTriggerState)(props);\n let state = props.isOpen != null || props.defaultOpen != null || !contextState ? localState : contextState;\n let isExiting = (0, $cCslV$useExitAnimation)(ref, state.isOpen) || props.isExiting || false;\n if (!state.isOpen && !isExiting) return null;\n return /*#__PURE__*/ (0, $cCslV$react).createElement((0, $cCslV$OverlayContainer), {\n portalContainer: UNSTABLE_portalContainer\n }, /*#__PURE__*/ (0, $cCslV$react).createElement($4e3b923658d69c60$var$TooltipInner, {\n ...props,\n tooltipRef: ref,\n isExiting: isExiting\n }));\n});\nfunction $4e3b923658d69c60$var$TooltipInner(props) {\n let state = (0, $cCslV$useContext)($4e3b923658d69c60$export$7a7623236eec67fa);\n let arrowRef = (0, $cCslV$useRef)(null);\n let { overlayProps: overlayProps, arrowProps: arrowProps, placement: placement, triggerAnchorPoint: triggerAnchorPoint } = (0, $cCslV$useOverlayPosition)({\n placement: props.placement || 'top',\n targetRef: props.triggerRef,\n overlayRef: props.tooltipRef,\n arrowRef: arrowRef,\n offset: props.offset,\n crossOffset: props.crossOffset,\n isOpen: state.isOpen,\n arrowBoundaryOffset: props.arrowBoundaryOffset,\n shouldFlip: props.shouldFlip,\n containerPadding: props.containerPadding,\n onClose: ()=>state.close(true)\n });\n let isEntering = (0, $cCslV$useEnterAnimation)(props.tooltipRef, !!placement) || props.isEntering || false;\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n defaultClassName: 'react-aria-Tooltip',\n values: {\n placement: placement,\n isEntering: isEntering,\n isExiting: props.isExiting,\n state: state\n }\n });\n props = (0, $cCslV$mergeProps)(props, overlayProps);\n let { tooltipProps: tooltipProps } = (0, $cCslV$useTooltip)(props, state);\n let DOMProps = (0, $cCslV$filterDOMProps)(props, {\n global: true\n });\n return /*#__PURE__*/ (0, $cCslV$react).createElement(\"div\", {\n ...(0, $cCslV$mergeProps)(DOMProps, renderProps, tooltipProps),\n ref: props.tooltipRef,\n style: {\n ...overlayProps.style,\n '--trigger-anchor-point': triggerAnchorPoint ? `${triggerAnchorPoint.x}px ${triggerAnchorPoint.y}px` : undefined,\n ...renderProps.style\n },\n \"data-placement\": placement !== null && placement !== void 0 ? placement : undefined,\n \"data-entering\": isEntering || undefined,\n \"data-exiting\": props.isExiting || undefined\n }, /*#__PURE__*/ (0, $cCslV$react).createElement((0, $44f671af83e7d9e0$export$2de4954e8ae13b9f).Provider, {\n value: {\n ...arrowProps,\n placement: placement,\n ref: arrowRef\n }\n }, renderProps.children));\n}\n\n\nexport {$4e3b923658d69c60$export$7a7623236eec67fa as TooltipTriggerStateContext, $4e3b923658d69c60$export$39ae08fa83328b12 as TooltipContext, $4e3b923658d69c60$export$8c610744efcf8a1d as TooltipTrigger, $4e3b923658d69c60$export$28c660c63b792dea as Tooltip};\n//# sourceMappingURL=Tooltip.module.js.map\n","import React from \"react\";\nimport { TooltipTrigger } from \"react-aria-components\";\nimport type { TooltipTriggerComponentProps } from \"react-aria-components\";\n\n/**\n * # Tooltip\n *\n * A contextual popup that displays a description for an element.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/feedback/tooltip}\n */\nexport function TooltipRoot({\n // Match delays to current ui-kit tooltip\n delay = 300,\n closeDelay = 200,\n ...props\n}: TooltipTriggerComponentProps) {\n // Note: In React 19, ref forwarding is automatic for function components\n // The ref should be placed on the trigger element directly when needed\n return <TooltipTrigger delay={delay} closeDelay={closeDelay} {...props} />;\n}\n\nTooltipRoot.displayName = \"Tooltip.Root\";\n","import {\n type HTMLChakraProps,\n type RecipeProps,\n type UnstyledProp,\n createRecipeContext,\n} from \"@chakra-ui/react/styled-system\";\n\nimport { type TooltipProps as RATooltipProps } from \"react-aria-components\";\n\nimport { tooltipRecipe } from \"./tooltip.recipe\";\n\n/**\n * Base recipe props interface that combines Chakra UI's recipe props\n */\ninterface TooltipRecipeProps extends RecipeProps<\"div\">, UnstyledProp {}\n\n/**\n * Root props interface that extends Chakra's HTML props with our recipe props.\n * This creates a complete set of props for the root element, combining\n * HTML attributes, Chakra's styling system, and our custom recipe props.\n */\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface TooltipRootProps\n extends HTMLChakraProps<\"div\", TooltipRecipeProps> {}\n\nconst { withContext } = createRecipeContext({ recipe: tooltipRecipe });\n\n/**\n * Root component that provides the styling context for the Tooltip component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const TooltipRootSlot = withContext<\n HTMLDivElement,\n TooltipRootProps & RATooltipProps\n>(\"div\");\n","import { Tooltip as RATooltip } from \"react-aria-components\";\nimport { TooltipRootSlot } from \"../tooltip.slots\";\nimport type { TooltipProps } from \"../tooltip.types\";\n\n/**\n * TooltipContent\n * ============================================================\n * A contextual popup that displays a description for an element, uses `Tooltip` component from `react-aria-components`.\n *\n * Features:\n * - allows forwarding refs to the underlying DOM element\n * - accepts all native html 'HTMLDivElement' attributes (including aria- & data-attributes)\n * - allows overriding styles by using style-props\n *\n * Further Context:\n * - [React Aria Components Tooltip Documentation](https://react-spectrum.adobe.com/react-aria/Tooltip.html)\n * - [ARIA Tooltip Pattern](https://www.w3.org/TR/wai-aria-1.2/#tooltip)\n */\nexport function TooltipContent({\n children,\n placement = \"bottom\",\n ref,\n ...props\n}: TooltipProps & { ref?: React.Ref<HTMLDivElement> }) {\n return (\n <TooltipRootSlot ref={ref} asChild {...props}>\n <RATooltip placement={placement} {...props}>\n {children}\n </RATooltip>\n </TooltipRootSlot>\n );\n}\n\nTooltipContent.displayName = \"Tooltip.Content\";\n","import { TooltipRoot } from \"./components/tooltip.root\";\nimport { TooltipContent } from \"./components/tooltip.content\";\n\n// Exports for internal use by react-docgen\nexport { TooltipRoot as _TooltipRoot, TooltipContent as _TooltipContent };\n\n// Export compound component object\nexport const Tooltip = {\n Root: TooltipRoot,\n Content: TooltipContent,\n};\n"],"names":["$f57aed4a881a3485$var$Context","$4AOtR$react","$f57aed4a881a3485$export$178405afcd8c5eb","props","children","parent","$4AOtR$useContext","modalCount","setModalCount","$4AOtR$useState","context","$4AOtR$useMemo","count","$f57aed4a881a3485$export$d9aaed4c3ece1bc0","$f57aed4a881a3485$var$OverlayContainerDOM","modalProviderProps","$f57aed4a881a3485$export$bf688221f59024e5","$f57aed4a881a3485$export$b47c3594eab58386","isSSR","$4AOtR$useIsSSR","portalContainer","rest","getContainer","$96b38030c423d352$export$9fc1347d4195ccb3","contents","$4AOtR$reactdom","$326e436e94273fe1$export$1c4b08e0eca38426","state","domProps","$kwmr2$filterDOMProps","hoverProps","$kwmr2$useHover","$kwmr2$mergeProps","$4e1b34546679e357$export$a6da6c504e4bba8b","ref","isDisabled","trigger","tooltipId","$6VwSn$useId","isHovered","$6VwSn$useRef","isFocused","handleShow","handleHide","immediate","$6VwSn$useEffect","onKeyDown","e","onHoverStart","$6VwSn$getInteractionModality","onHoverEnd","onPressStart","onFocus","$6VwSn$isFocusVisible","onBlur","$6VwSn$useHover","focusableProps","$6VwSn$useFocusable","$6VwSn$mergeProps","$8796f90736e175cb$var$TOOLTIP_DELAY","$8796f90736e175cb$var$TOOLTIP_COOLDOWN","$8796f90736e175cb$var$tooltips","$8796f90736e175cb$var$tooltipId","$8796f90736e175cb$var$globalWarmedUp","$8796f90736e175cb$var$globalWarmUpTimeout","$8796f90736e175cb$var$globalCooldownTimeout","$8796f90736e175cb$export$4d40659c25ecb50b","delay","closeDelay","isOpen","open","close","$50cCT$useOverlayTriggerState","id","$50cCT$useMemo","closeTimeout","$50cCT$useRef","closeCallback","ensureTooltipEntry","hideTooltip","closeOpenTooltips","hideTooltipId","showTooltip","warmupTooltip","$50cCT$useEffect","$4e3b923658d69c60$export$7a7623236eec67fa","$cCslV$createContext","$4e3b923658d69c60$export$39ae08fa83328b12","$4e3b923658d69c60$export$8c610744efcf8a1d","$cCslV$useTooltipTriggerState","$cCslV$useRef","triggerProps","tooltipProps","$cCslV$useTooltipTrigger","$cCslV$react","$64fa3d84918910a7$export$2881499e37b75b9a","$cCslV$FocusableProvider","$4e3b923658d69c60$export$28c660c63b792dea","$cCslV$forwardRef","UNSTABLE_portalContainer","$64fa3d84918910a7$export$29f1550f4b0d4415","contextState","$cCslV$useContext","localState","isExiting","$cCslV$useExitAnimation","$cCslV$OverlayContainer","$4e3b923658d69c60$var$TooltipInner","arrowRef","overlayProps","arrowProps","placement","triggerAnchorPoint","$cCslV$useOverlayPosition","isEntering","$cCslV$useEnterAnimation","renderProps","$64fa3d84918910a7$export$4d86445c2cf5e3","$cCslV$mergeProps","$cCslV$useTooltip","DOMProps","$cCslV$filterDOMProps","$44f671af83e7d9e0$export$2de4954e8ae13b9f","TooltipRoot","jsx","TooltipTrigger","withContext","createRecipeContext","tooltipRecipe","TooltipRootSlot","TooltipContent","RATooltip","Tooltip"],"mappings":"6gBAmBMA,EAAkDC,EAAc,cAAc,IAAI,EACxF,SAASC,EAAyCC,EAAO,CACrD,GAAI,CAAE,SAAUC,CAAQ,EAAKD,EACzBE,EAAaC,EAAAA,WAAmBN,CAA6B,EAC7D,CAACO,EAAYC,CAAa,EAAQC,EAAAA,SAAiB,CAAC,EACpDC,EAAcC,EAAAA,QAAgB,KAAK,CAC/B,OAAQN,EACR,WAAYE,EACZ,UAAY,CACRC,EAAeI,GAAQA,EAAQ,CAAC,EAC5BP,GAAQA,EAAO,SAAQ,CAC/B,EACA,aAAe,CACXG,EAAeI,GAAQA,EAAQ,CAAC,EAC5BP,GAAQA,EAAO,YAAW,CAClC,CACZ,GAAY,CACJA,EACAE,CACR,CAAK,EACD,OAAyB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MxDC,GAAkBH,GAG7B,KAAK,EChBA,SAASI,EAAe,CAC7B,SAAA9H,EACA,UAAA2G,EAAY,SACZ,IAAA7E,EACA,GAAG/B,CACL,EAAuD,CACrD,OACEyH,EAAAA,IAACK,GAAA,CAAgB,IAAA/F,EAAU,QAAO,GAAE,GAAG/B,EACrC,SAAAyH,EAAAA,IAACO,EAAA,CAAU,UAAApB,EAAuB,GAAG5G,EAClC,SAAAC,EACH,EACF,CAEJ,CAEA8H,EAAe,YAAc,kBC1BtB,MAAME,GAAU,CACrB,KAAMT,EACN,QAASO,CACX","x_google_ignoreList":[0,1,2,3,4]}
1
+ {"version":3,"file":"tooltip-g8-hEdZp.cjs.js","sources":["../../../../node_modules/.pnpm/@react-aria+overlays@3.29.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/overlays/dist/useModal.mjs","../../../../node_modules/.pnpm/@react-aria+tooltip@3.8.7_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/tooltip/dist/useTooltip.mjs","../../../../node_modules/.pnpm/@react-aria+tooltip@3.8.7_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/tooltip/dist/useTooltipTrigger.mjs","../../../../node_modules/.pnpm/@react-stately+tooltip@3.5.7_react@19.1.0/node_modules/@react-stately/tooltip/dist/useTooltipTriggerState.mjs","../../../../node_modules/.pnpm/react-aria-components@1.12.2_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/Tooltip.mjs","../../src/components/tooltip/components/tooltip.root.tsx","../../src/components/tooltip/tooltip.slots.ts","../../src/components/tooltip/components/tooltip.content.tsx","../../src/components/tooltip/tooltip.tsx"],"sourcesContent":["import {useUNSAFE_PortalContext as $96b38030c423d352$export$9fc1347d4195ccb3} from \"./PortalProvider.mjs\";\nimport $4AOtR$react, {useContext as $4AOtR$useContext, useState as $4AOtR$useState, useMemo as $4AOtR$useMemo, useEffect as $4AOtR$useEffect} from \"react\";\nimport $4AOtR$reactdom from \"react-dom\";\nimport {useIsSSR as $4AOtR$useIsSSR} from \"@react-aria/ssr\";\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 $f57aed4a881a3485$var$Context = /*#__PURE__*/ (0, $4AOtR$react).createContext(null);\nfunction $f57aed4a881a3485$export$178405afcd8c5eb(props) {\n let { children: children } = props;\n let parent = (0, $4AOtR$useContext)($f57aed4a881a3485$var$Context);\n let [modalCount, setModalCount] = (0, $4AOtR$useState)(0);\n let context = (0, $4AOtR$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, $4AOtR$react).createElement($f57aed4a881a3485$var$Context.Provider, {\n value: context\n }, children);\n}\nfunction $f57aed4a881a3485$export$d9aaed4c3ece1bc0() {\n let context = (0, $4AOtR$useContext)($f57aed4a881a3485$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 $f57aed4a881a3485$var$OverlayContainerDOM(props) {\n let { modalProviderProps: modalProviderProps } = $f57aed4a881a3485$export$d9aaed4c3ece1bc0();\n return /*#__PURE__*/ (0, $4AOtR$react).createElement(\"div\", {\n \"data-overlay-container\": true,\n ...props,\n ...modalProviderProps\n });\n}\nfunction $f57aed4a881a3485$export$bf688221f59024e5(props) {\n return /*#__PURE__*/ (0, $4AOtR$react).createElement($f57aed4a881a3485$export$178405afcd8c5eb, null, /*#__PURE__*/ (0, $4AOtR$react).createElement($f57aed4a881a3485$var$OverlayContainerDOM, props));\n}\nfunction $f57aed4a881a3485$export$b47c3594eab58386(props) {\n let isSSR = (0, $4AOtR$useIsSSR)();\n let { portalContainer: portalContainer = isSSR ? null : document.body, ...rest } = props;\n let { getContainer: getContainer } = (0, $96b38030c423d352$export$9fc1347d4195ccb3)();\n if (!props.portalContainer && getContainer) portalContainer = getContainer();\n (0, $4AOtR$react).useEffect(()=>{\n if (portalContainer === null || portalContainer === void 0 ? void 0 : 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, $4AOtR$react).createElement($f57aed4a881a3485$export$bf688221f59024e5, rest);\n return /*#__PURE__*/ (0, $4AOtR$reactdom).createPortal(contents, portalContainer);\n}\nfunction $f57aed4a881a3485$export$33ffd74ebf07f060(options) {\n // Add aria-hidden to all parent providers on mount, and restore on unmount.\n let context = (0, $4AOtR$useContext)($f57aed4a881a3485$var$Context);\n if (!context) throw new Error('Modal is not contained within a provider');\n (0, $4AOtR$useEffect)(()=>{\n if ((options === null || options === void 0 ? void 0 : 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 === null || options === void 0 ? void 0 : options.isDisabled\n ]);\n return {\n modalProps: {\n 'data-ismodal': !(options === null || options === void 0 ? void 0 : options.isDisabled)\n }\n };\n}\n\n\nexport {$f57aed4a881a3485$export$178405afcd8c5eb as ModalProvider, $f57aed4a881a3485$export$d9aaed4c3ece1bc0 as useModalProvider, $f57aed4a881a3485$export$bf688221f59024e5 as OverlayProvider, $f57aed4a881a3485$export$b47c3594eab58386 as OverlayContainer, $f57aed4a881a3485$export$33ffd74ebf07f060 as useModal};\n//# sourceMappingURL=useModal.module.js.map\n","import {filterDOMProps as $kwmr2$filterDOMProps, mergeProps as $kwmr2$mergeProps} from \"@react-aria/utils\";\nimport {useHover as $kwmr2$useHover} from \"@react-aria/interactions\";\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 $326e436e94273fe1$export$1c4b08e0eca38426(props, state) {\n let domProps = (0, $kwmr2$filterDOMProps)(props, {\n labelable: true\n });\n let { hoverProps: hoverProps } = (0, $kwmr2$useHover)({\n onHoverStart: ()=>state === null || state === void 0 ? void 0 : state.open(true),\n onHoverEnd: ()=>state === null || state === void 0 ? void 0 : state.close()\n });\n return {\n tooltipProps: (0, $kwmr2$mergeProps)(domProps, hoverProps, {\n role: 'tooltip'\n })\n };\n}\n\n\nexport {$326e436e94273fe1$export$1c4b08e0eca38426 as useTooltip};\n//# sourceMappingURL=useTooltip.module.js.map\n","import {getInteractionModality as $6VwSn$getInteractionModality, isFocusVisible as $6VwSn$isFocusVisible, useHover as $6VwSn$useHover, useFocusable as $6VwSn$useFocusable} from \"@react-aria/interactions\";\nimport {useId as $6VwSn$useId, mergeProps as $6VwSn$mergeProps} from \"@react-aria/utils\";\nimport {useRef as $6VwSn$useRef, useEffect as $6VwSn$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 $4e1b34546679e357$export$a6da6c504e4bba8b(props, state, ref) {\n let { isDisabled: isDisabled, trigger: trigger } = props;\n let tooltipId = (0, $6VwSn$useId)();\n let isHovered = (0, $6VwSn$useRef)(false);\n let isFocused = (0, $6VwSn$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, $6VwSn$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, $6VwSn$getInteractionModality)() === '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 // 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, $6VwSn$isFocusVisible)();\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, $6VwSn$useHover)({\n isDisabled: isDisabled,\n onHoverStart: onHoverStart,\n onHoverEnd: onHoverEnd\n });\n let { focusableProps: focusableProps } = (0, $6VwSn$useFocusable)({\n isDisabled: isDisabled,\n onFocus: onFocus,\n onBlur: onBlur\n }, ref);\n return {\n triggerProps: {\n 'aria-describedby': state.isOpen ? tooltipId : undefined,\n ...(0, $6VwSn$mergeProps)(focusableProps, hoverProps, {\n onPointerDown: onPressStart,\n onKeyDown: onPressStart\n }),\n tabIndex: undefined\n },\n tooltipProps: {\n id: tooltipId\n }\n };\n}\n\n\nexport {$4e1b34546679e357$export$a6da6c504e4bba8b as useTooltipTrigger};\n//# sourceMappingURL=useTooltipTrigger.module.js.map\n","import {useMemo as $50cCT$useMemo, useRef as $50cCT$useRef, useEffect as $50cCT$useEffect} from \"react\";\nimport {useOverlayTriggerState as $50cCT$useOverlayTriggerState} from \"@react-stately/overlays\";\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 $8796f90736e175cb$var$TOOLTIP_DELAY = 1500; // this seems to be a 1.5 second delay, check with design\nconst $8796f90736e175cb$var$TOOLTIP_COOLDOWN = 500;\nlet $8796f90736e175cb$var$tooltips = {};\nlet $8796f90736e175cb$var$tooltipId = 0;\nlet $8796f90736e175cb$var$globalWarmedUp = false;\nlet $8796f90736e175cb$var$globalWarmUpTimeout = null;\nlet $8796f90736e175cb$var$globalCooldownTimeout = null;\nfunction $8796f90736e175cb$export$4d40659c25ecb50b(props = {}) {\n let { delay: delay = $8796f90736e175cb$var$TOOLTIP_DELAY, closeDelay: closeDelay = $8796f90736e175cb$var$TOOLTIP_COOLDOWN } = props;\n let { isOpen: isOpen, open: open, close: close } = (0, $50cCT$useOverlayTriggerState)(props);\n let id = (0, $50cCT$useMemo)(()=>`${++$8796f90736e175cb$var$tooltipId}`, []);\n let closeTimeout = (0, $50cCT$useRef)(null);\n let closeCallback = (0, $50cCT$useRef)(close);\n let ensureTooltipEntry = ()=>{\n $8796f90736e175cb$var$tooltips[id] = hideTooltip;\n };\n let closeOpenTooltips = ()=>{\n for(let hideTooltipId in $8796f90736e175cb$var$tooltips)if (hideTooltipId !== id) {\n $8796f90736e175cb$var$tooltips[hideTooltipId](true);\n delete $8796f90736e175cb$var$tooltips[hideTooltipId];\n }\n };\n let showTooltip = ()=>{\n if (closeTimeout.current) clearTimeout(closeTimeout.current);\n closeTimeout.current = null;\n closeOpenTooltips();\n ensureTooltipEntry();\n $8796f90736e175cb$var$globalWarmedUp = true;\n open();\n if ($8796f90736e175cb$var$globalWarmUpTimeout) {\n clearTimeout($8796f90736e175cb$var$globalWarmUpTimeout);\n $8796f90736e175cb$var$globalWarmUpTimeout = null;\n }\n if ($8796f90736e175cb$var$globalCooldownTimeout) {\n clearTimeout($8796f90736e175cb$var$globalCooldownTimeout);\n $8796f90736e175cb$var$globalCooldownTimeout = null;\n }\n };\n let hideTooltip = (immediate)=>{\n if (immediate || closeDelay <= 0) {\n if (closeTimeout.current) clearTimeout(closeTimeout.current);\n closeTimeout.current = null;\n closeCallback.current();\n } else if (!closeTimeout.current) closeTimeout.current = setTimeout(()=>{\n closeTimeout.current = null;\n closeCallback.current();\n }, closeDelay);\n if ($8796f90736e175cb$var$globalWarmUpTimeout) {\n clearTimeout($8796f90736e175cb$var$globalWarmUpTimeout);\n $8796f90736e175cb$var$globalWarmUpTimeout = null;\n }\n if ($8796f90736e175cb$var$globalWarmedUp) {\n if ($8796f90736e175cb$var$globalCooldownTimeout) clearTimeout($8796f90736e175cb$var$globalCooldownTimeout);\n $8796f90736e175cb$var$globalCooldownTimeout = setTimeout(()=>{\n delete $8796f90736e175cb$var$tooltips[id];\n $8796f90736e175cb$var$globalCooldownTimeout = null;\n $8796f90736e175cb$var$globalWarmedUp = false;\n }, Math.max($8796f90736e175cb$var$TOOLTIP_COOLDOWN, closeDelay));\n }\n };\n let warmupTooltip = ()=>{\n closeOpenTooltips();\n ensureTooltipEntry();\n if (!isOpen && !$8796f90736e175cb$var$globalWarmUpTimeout && !$8796f90736e175cb$var$globalWarmedUp) $8796f90736e175cb$var$globalWarmUpTimeout = setTimeout(()=>{\n $8796f90736e175cb$var$globalWarmUpTimeout = null;\n $8796f90736e175cb$var$globalWarmedUp = true;\n showTooltip();\n }, delay);\n else if (!isOpen) showTooltip();\n };\n (0, $50cCT$useEffect)(()=>{\n closeCallback.current = close;\n }, [\n close\n ]);\n (0, $50cCT$useEffect)(()=>{\n return ()=>{\n if (closeTimeout.current) clearTimeout(closeTimeout.current);\n let tooltip = $8796f90736e175cb$var$tooltips[id];\n if (tooltip) delete $8796f90736e175cb$var$tooltips[id];\n };\n }, [\n id\n ]);\n return {\n isOpen: isOpen,\n open: (immediate)=>{\n if (!immediate && delay > 0 && !closeTimeout.current) warmupTooltip();\n else showTooltip();\n },\n close: hideTooltip\n };\n}\n\n\nexport {$8796f90736e175cb$export$4d40659c25ecb50b as useTooltipTriggerState};\n//# sourceMappingURL=useTooltipTriggerState.module.js.map\n","import {Provider as $64fa3d84918910a7$export$2881499e37b75b9a, useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415, useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport {OverlayArrowContext as $44f671af83e7d9e0$export$2de4954e8ae13b9f} from \"./OverlayArrow.mjs\";\nimport {useTooltipTrigger as $cCslV$useTooltipTrigger, OverlayContainer as $cCslV$OverlayContainer, useOverlayPosition as $cCslV$useOverlayPosition, mergeProps as $cCslV$mergeProps, useTooltip as $cCslV$useTooltip} from \"react-aria\";\nimport {useExitAnimation as $cCslV$useExitAnimation, useEnterAnimation as $cCslV$useEnterAnimation, filterDOMProps as $cCslV$filterDOMProps} from \"@react-aria/utils\";\nimport {FocusableProvider as $cCslV$FocusableProvider} from \"@react-aria/focus\";\nimport {useTooltipTriggerState as $cCslV$useTooltipTriggerState} from \"react-stately\";\nimport $cCslV$react, {createContext as $cCslV$createContext, useRef as $cCslV$useRef, forwardRef as $cCslV$forwardRef, useContext as $cCslV$useContext} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\nconst $4e3b923658d69c60$export$7a7623236eec67fa = /*#__PURE__*/ (0, $cCslV$createContext)(null);\nconst $4e3b923658d69c60$export$39ae08fa83328b12 = /*#__PURE__*/ (0, $cCslV$createContext)(null);\nfunction $4e3b923658d69c60$export$8c610744efcf8a1d(props) {\n let state = (0, $cCslV$useTooltipTriggerState)(props);\n let ref = (0, $cCslV$useRef)(null);\n let { triggerProps: triggerProps, tooltipProps: tooltipProps } = (0, $cCslV$useTooltipTrigger)(props, state, ref);\n return /*#__PURE__*/ (0, $cCslV$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n $4e3b923658d69c60$export$7a7623236eec67fa,\n state\n ],\n [\n $4e3b923658d69c60$export$39ae08fa83328b12,\n {\n ...tooltipProps,\n triggerRef: ref\n }\n ]\n ]\n }, /*#__PURE__*/ (0, $cCslV$react).createElement((0, $cCslV$FocusableProvider), {\n ...triggerProps,\n ref: ref\n }, props.children));\n}\nconst $4e3b923658d69c60$export$28c660c63b792dea = /*#__PURE__*/ (0, $cCslV$forwardRef)(function Tooltip({ UNSTABLE_portalContainer: UNSTABLE_portalContainer, ...props }, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $4e3b923658d69c60$export$39ae08fa83328b12);\n let contextState = (0, $cCslV$useContext)($4e3b923658d69c60$export$7a7623236eec67fa);\n let localState = (0, $cCslV$useTooltipTriggerState)(props);\n let state = props.isOpen != null || props.defaultOpen != null || !contextState ? localState : contextState;\n let isExiting = (0, $cCslV$useExitAnimation)(ref, state.isOpen) || props.isExiting || false;\n if (!state.isOpen && !isExiting) return null;\n return /*#__PURE__*/ (0, $cCslV$react).createElement((0, $cCslV$OverlayContainer), {\n portalContainer: UNSTABLE_portalContainer\n }, /*#__PURE__*/ (0, $cCslV$react).createElement($4e3b923658d69c60$var$TooltipInner, {\n ...props,\n tooltipRef: ref,\n isExiting: isExiting\n }));\n});\nfunction $4e3b923658d69c60$var$TooltipInner(props) {\n let state = (0, $cCslV$useContext)($4e3b923658d69c60$export$7a7623236eec67fa);\n let arrowRef = (0, $cCslV$useRef)(null);\n let { overlayProps: overlayProps, arrowProps: arrowProps, placement: placement, triggerAnchorPoint: triggerAnchorPoint } = (0, $cCslV$useOverlayPosition)({\n placement: props.placement || 'top',\n targetRef: props.triggerRef,\n overlayRef: props.tooltipRef,\n arrowRef: arrowRef,\n offset: props.offset,\n crossOffset: props.crossOffset,\n isOpen: state.isOpen,\n arrowBoundaryOffset: props.arrowBoundaryOffset,\n shouldFlip: props.shouldFlip,\n containerPadding: props.containerPadding,\n onClose: ()=>state.close(true)\n });\n let isEntering = (0, $cCslV$useEnterAnimation)(props.tooltipRef, !!placement) || props.isEntering || false;\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n defaultClassName: 'react-aria-Tooltip',\n values: {\n placement: placement,\n isEntering: isEntering,\n isExiting: props.isExiting,\n state: state\n }\n });\n props = (0, $cCslV$mergeProps)(props, overlayProps);\n let { tooltipProps: tooltipProps } = (0, $cCslV$useTooltip)(props, state);\n let DOMProps = (0, $cCslV$filterDOMProps)(props, {\n global: true\n });\n return /*#__PURE__*/ (0, $cCslV$react).createElement(\"div\", {\n ...(0, $cCslV$mergeProps)(DOMProps, renderProps, tooltipProps),\n ref: props.tooltipRef,\n style: {\n ...overlayProps.style,\n '--trigger-anchor-point': triggerAnchorPoint ? `${triggerAnchorPoint.x}px ${triggerAnchorPoint.y}px` : undefined,\n ...renderProps.style\n },\n \"data-placement\": placement !== null && placement !== void 0 ? placement : undefined,\n \"data-entering\": isEntering || undefined,\n \"data-exiting\": props.isExiting || undefined\n }, /*#__PURE__*/ (0, $cCslV$react).createElement((0, $44f671af83e7d9e0$export$2de4954e8ae13b9f).Provider, {\n value: {\n ...arrowProps,\n placement: placement,\n ref: arrowRef\n }\n }, renderProps.children));\n}\n\n\nexport {$4e3b923658d69c60$export$7a7623236eec67fa as TooltipTriggerStateContext, $4e3b923658d69c60$export$39ae08fa83328b12 as TooltipContext, $4e3b923658d69c60$export$8c610744efcf8a1d as TooltipTrigger, $4e3b923658d69c60$export$28c660c63b792dea as Tooltip};\n//# sourceMappingURL=Tooltip.module.js.map\n","import React from \"react\";\nimport { TooltipTrigger } from \"react-aria-components\";\nimport type { TooltipTriggerComponentProps } from \"react-aria-components\";\n\n/**\n * # Tooltip\n *\n * A contextual popup that displays a description for an element.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/feedback/tooltip}\n */\nexport function TooltipRoot({\n // Match delays to current ui-kit tooltip\n delay = 300,\n closeDelay = 200,\n ...props\n}: TooltipTriggerComponentProps) {\n // Note: In React 19, ref forwarding is automatic for function components\n // The ref should be placed on the trigger element directly when needed\n return <TooltipTrigger delay={delay} closeDelay={closeDelay} {...props} />;\n}\n\nTooltipRoot.displayName = \"Tooltip.Root\";\n","import {\n type HTMLChakraProps,\n type RecipeProps,\n type UnstyledProp,\n createRecipeContext,\n} from \"@chakra-ui/react/styled-system\";\n\nimport { type TooltipProps as RATooltipProps } from \"react-aria-components\";\n\nimport { tooltipRecipe } from \"./tooltip.recipe\";\n\n/**\n * Base recipe props interface that combines Chakra UI's recipe props\n */\ninterface TooltipRecipeProps extends RecipeProps<\"div\">, UnstyledProp {}\n\n/**\n * Root props interface that extends Chakra's HTML props with our recipe props.\n * This creates a complete set of props for the root element, combining\n * HTML attributes, Chakra's styling system, and our custom recipe props.\n */\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface TooltipRootProps\n extends HTMLChakraProps<\"div\", TooltipRecipeProps> {}\n\nconst { withContext } = createRecipeContext({ recipe: tooltipRecipe });\n\n/**\n * Root component that provides the styling context for the Tooltip component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const TooltipRootSlot = withContext<\n HTMLDivElement,\n TooltipRootProps & RATooltipProps\n>(\"div\");\n","import { Tooltip as RATooltip } from \"react-aria-components\";\nimport { TooltipRootSlot } from \"../tooltip.slots\";\nimport type { TooltipProps } from \"../tooltip.types\";\n\n/**\n * TooltipContent\n * ============================================================\n * A contextual popup that displays a description for an element, uses `Tooltip` component from `react-aria-components`.\n *\n * Features:\n * - allows forwarding refs to the underlying DOM element\n * - accepts all native html 'HTMLDivElement' attributes (including aria- & data-attributes)\n * - allows overriding styles by using style-props\n *\n * Further Context:\n * - [React Aria Components Tooltip Documentation](https://react-spectrum.adobe.com/react-aria/Tooltip.html)\n * - [ARIA Tooltip Pattern](https://www.w3.org/TR/wai-aria-1.2/#tooltip)\n */\nexport function TooltipContent({\n children,\n placement = \"bottom\",\n ref,\n ...props\n}: TooltipProps & { ref?: React.Ref<HTMLDivElement> }) {\n return (\n <TooltipRootSlot ref={ref} asChild {...props}>\n <RATooltip placement={placement} {...props}>\n {children}\n </RATooltip>\n </TooltipRootSlot>\n );\n}\n\nTooltipContent.displayName = \"Tooltip.Content\";\n","import { TooltipRoot } from \"./components/tooltip.root\";\nimport { TooltipContent } from \"./components/tooltip.content\";\n\n// Exports for internal use by react-docgen\nexport { TooltipRoot as _TooltipRoot, TooltipContent as _TooltipContent };\n\n// Export compound component object\nexport const Tooltip = {\n Root: TooltipRoot,\n Content: TooltipContent,\n};\n"],"names":["$f57aed4a881a3485$var$Context","$4AOtR$react","$f57aed4a881a3485$export$178405afcd8c5eb","props","children","parent","$4AOtR$useContext","modalCount","setModalCount","$4AOtR$useState","context","$4AOtR$useMemo","count","$f57aed4a881a3485$export$d9aaed4c3ece1bc0","$f57aed4a881a3485$var$OverlayContainerDOM","modalProviderProps","$f57aed4a881a3485$export$bf688221f59024e5","$f57aed4a881a3485$export$b47c3594eab58386","isSSR","$4AOtR$useIsSSR","portalContainer","rest","getContainer","$96b38030c423d352$export$9fc1347d4195ccb3","contents","$4AOtR$reactdom","$326e436e94273fe1$export$1c4b08e0eca38426","state","domProps","$kwmr2$filterDOMProps","hoverProps","$kwmr2$useHover","$kwmr2$mergeProps","$4e1b34546679e357$export$a6da6c504e4bba8b","ref","isDisabled","trigger","tooltipId","$6VwSn$useId","isHovered","$6VwSn$useRef","isFocused","handleShow","handleHide","immediate","$6VwSn$useEffect","onKeyDown","e","onHoverStart","$6VwSn$getInteractionModality","onHoverEnd","onPressStart","onFocus","$6VwSn$isFocusVisible","onBlur","$6VwSn$useHover","focusableProps","$6VwSn$useFocusable","$6VwSn$mergeProps","$8796f90736e175cb$var$TOOLTIP_DELAY","$8796f90736e175cb$var$TOOLTIP_COOLDOWN","$8796f90736e175cb$var$tooltips","$8796f90736e175cb$var$tooltipId","$8796f90736e175cb$var$globalWarmedUp","$8796f90736e175cb$var$globalWarmUpTimeout","$8796f90736e175cb$var$globalCooldownTimeout","$8796f90736e175cb$export$4d40659c25ecb50b","delay","closeDelay","isOpen","open","close","$50cCT$useOverlayTriggerState","id","$50cCT$useMemo","closeTimeout","$50cCT$useRef","closeCallback","ensureTooltipEntry","hideTooltip","closeOpenTooltips","hideTooltipId","showTooltip","warmupTooltip","$50cCT$useEffect","$4e3b923658d69c60$export$7a7623236eec67fa","$cCslV$createContext","$4e3b923658d69c60$export$39ae08fa83328b12","$4e3b923658d69c60$export$8c610744efcf8a1d","$cCslV$useTooltipTriggerState","$cCslV$useRef","triggerProps","tooltipProps","$cCslV$useTooltipTrigger","$cCslV$react","$64fa3d84918910a7$export$2881499e37b75b9a","$cCslV$FocusableProvider","$4e3b923658d69c60$export$28c660c63b792dea","$cCslV$forwardRef","UNSTABLE_portalContainer","$64fa3d84918910a7$export$29f1550f4b0d4415","contextState","$cCslV$useContext","localState","isExiting","$cCslV$useExitAnimation","$cCslV$OverlayContainer","$4e3b923658d69c60$var$TooltipInner","arrowRef","overlayProps","arrowProps","placement","triggerAnchorPoint","$cCslV$useOverlayPosition","isEntering","$cCslV$useEnterAnimation","renderProps","$64fa3d84918910a7$export$4d86445c2cf5e3","$cCslV$mergeProps","$cCslV$useTooltip","DOMProps","$cCslV$filterDOMProps","$44f671af83e7d9e0$export$2de4954e8ae13b9f","TooltipRoot","jsx","TooltipTrigger","withContext","createRecipeContext","tooltipRecipe","TooltipRootSlot","TooltipContent","RATooltip","Tooltip"],"mappings":"6gBAmBMA,EAAkDC,EAAc,cAAc,IAAI,EACxF,SAASC,EAAyCC,EAAO,CACrD,GAAI,CAAE,SAAUC,CAAQ,EAAKD,EACzBE,EAAaC,EAAAA,WAAmBN,CAA6B,EAC7D,CAACO,EAAYC,CAAa,EAAQC,EAAAA,SAAiB,CAAC,EACpDC,EAAcC,EAAAA,QAAgB,KAAK,CAC/B,OAAQN,EACR,WAAYE,EACZ,UAAY,CACRC,EAAeI,GAAQA,EAAQ,CAAC,EAC5BP,GAAQA,EAAO,SAAQ,CAC/B,EACA,aAAe,CACXG,EAAeI,GAAQA,EAAQ,CAAC,EAC5BP,GAAQA,EAAO,YAAW,CAClC,CACZ,GAAY,CACJA,EACAE,CACR,CAAK,EACD,OAAyBN,EAAc,cAAcD,EAA8B,SAAU,CACzF,MAAOU,CACf,EAAON,CAAQ,CACf,CACA,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A2G,EAAY,SACZ,IAAA7E,EACA,GAAG/B,CACL,EAAuD,CACrD,OACEyH,EAAAA,IAACK,GAAA,CAAgB,IAAA/F,EAAU,QAAO,GAAE,GAAG/B,EACrC,SAAAyH,EAAAA,IAACO,EAAA,CAAU,UAAApB,EAAuB,GAAG5G,EAClC,SAAAC,EACH,EACF,CAEJ,CAEA8H,EAAe,YAAc,kBC1BtB,MAAME,GAAU,CACrB,KAAMT,EACN,QAASO,CACX","x_google_ignoreList":[0,1,2,3,4]}
@@ -1,2 +1,2 @@
1
- "use strict";const f=require("./ListBox-BHUS7cW2.cjs.js"),y=require("./useControlledState-D0L6S_5r.cjs.js"),b=require("react");function K(l){var t;let[e,a]=y.$458b0a5536c1a7cf$export$40bfa8c7b0832715(l.selectedKey,(t=l.defaultSelectedKey)!==null&&t!==void 0?t:null,l.onSelectionChange),s=b.useMemo(()=>e!=null?[e]:[],[e]),{collection:o,disabledKeys:i,selectionManager:u}=f.$e72dd72e1c76a225$export$2f645645f7bca764({...l,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:s,onSelectionChange:d=>{if(d==="all")return;var n;let c=(n=d.values().next().value)!==null&&n!==void 0?n:null;c===e&&l.onSelectionChange&&l.onSelectionChange(c),a(c)}}),r=e!=null?o.getItem(e):null;return{collection:o,disabledKeys:i,selectionManager:u,selectedKey:e,setSelectedKey:a,selectedItem:r}}exports.$a0d645289fe9b86b$export$e7f05e985daf4b5f=K;
2
- //# sourceMappingURL=useSingleSelectListState-C-E1yca1.cjs.js.map
1
+ "use strict";const f=require("./ListBox-DW2g6DgQ.cjs.js"),y=require("./useControlledState-D0L6S_5r.cjs.js"),b=require("react");function K(l){var t;let[e,a]=y.$458b0a5536c1a7cf$export$40bfa8c7b0832715(l.selectedKey,(t=l.defaultSelectedKey)!==null&&t!==void 0?t:null,l.onSelectionChange),s=b.useMemo(()=>e!=null?[e]:[],[e]),{collection:o,disabledKeys:i,selectionManager:u}=f.$e72dd72e1c76a225$export$2f645645f7bca764({...l,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:s,onSelectionChange:d=>{if(d==="all")return;var n;let c=(n=d.values().next().value)!==null&&n!==void 0?n:null;c===e&&l.onSelectionChange&&l.onSelectionChange(c),a(c)}}),r=e!=null?o.getItem(e):null;return{collection:o,disabledKeys:i,selectionManager:u,selectedKey:e,setSelectedKey:a,selectedItem:r}}exports.$a0d645289fe9b86b$export$e7f05e985daf4b5f=K;
2
+ //# sourceMappingURL=useSingleSelectListState-BjYKH0pH.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useSingleSelectListState-C-E1yca1.cjs.js","sources":["../../../../node_modules/.pnpm/@react-stately+list@3.13.0_react@19.1.0/node_modules/@react-stately/list/dist/useSingleSelectListState.mjs"],"sourcesContent":["import {useListState as $e72dd72e1c76a225$export$2f645645f7bca764} from \"./useListState.mjs\";\nimport {useControlledState as $eBozH$useControlledState} from \"@react-stately/utils\";\nimport {useMemo as $eBozH$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 $a0d645289fe9b86b$export$e7f05e985daf4b5f(props) {\n var _props_defaultSelectedKey;\n let [selectedKey, setSelectedKey] = (0, $eBozH$useControlledState)(props.selectedKey, (_props_defaultSelectedKey = props.defaultSelectedKey) !== null && _props_defaultSelectedKey !== void 0 ? _props_defaultSelectedKey : null, props.onSelectionChange);\n let selectedKeys = (0, $eBozH$useMemo)(()=>selectedKey != null ? [\n selectedKey\n ] : [], [\n selectedKey\n ]);\n let { collection: collection, disabledKeys: disabledKeys, selectionManager: selectionManager } = (0, $e72dd72e1c76a225$export$2f645645f7bca764)({\n ...props,\n selectionMode: 'single',\n disallowEmptySelection: true,\n allowDuplicateSelectionEvents: true,\n selectedKeys: selectedKeys,\n onSelectionChange: (keys)=>{\n // impossible, but TS doesn't know that\n if (keys === 'all') return;\n var _keys_values_next_value;\n let key = (_keys_values_next_value = keys.values().next().value) !== null && _keys_values_next_value !== void 0 ? _keys_values_next_value : null;\n // Always fire onSelectionChange, even if the key is the same\n // as the current key (useControlledState does not).\n if (key === selectedKey && props.onSelectionChange) props.onSelectionChange(key);\n setSelectedKey(key);\n }\n });\n let selectedItem = selectedKey != null ? collection.getItem(selectedKey) : null;\n return {\n collection: collection,\n disabledKeys: disabledKeys,\n selectionManager: selectionManager,\n selectedKey: selectedKey,\n setSelectedKey: setSelectedKey,\n selectedItem: selectedItem\n };\n}\n\n\nexport {$a0d645289fe9b86b$export$e7f05e985daf4b5f as useSingleSelectListState};\n//# sourceMappingURL=useSingleSelectListState.module.js.map\n"],"names":["$a0d645289fe9b86b$export$e7f05e985daf4b5f","props","_props_defaultSelectedKey","selectedKey","setSelectedKey","$eBozH$useControlledState","selectedKeys","$eBozH$useMemo","collection","disabledKeys","selectionManager","$e72dd72e1c76a225$export$2f645645f7bca764","keys","_keys_values_next_value","key","selectedItem"],"mappings":"+HAiBA,SAASA,EAA0CC,EAAO,CACtD,IAAIC,EACJ,GAAI,CAACC,EAAaC,CAAc,EAAQC,EAAAA,0CAA2BJ,EAAM,aAAcC,EAA4BD,EAAM,sBAAwB,MAAQC,IAA8B,OAASA,EAA4B,KAAMD,EAAM,iBAAiB,EACrPK,EAAmBC,EAAAA,QAAgB,IAAIJ,GAAe,KAAO,CACzDA,CACZ,EAAY,GAAI,CACRA,CACR,CAAK,EACG,CAAE,WAAYK,EAAY,aAAcC,EAAc,iBAAkBC,GAAyBC,4CAA2C,CAC5I,GAAGV,EACH,cAAe,SACf,uBAAwB,GACxB,8BAA+B,GAC/B,aAAcK,EACd,kBAAoBM,GAAO,CAEvB,GAAIA,IAAS,MAAO,OACpB,IAAIC,EACJ,IAAIC,GAAOD,EAA0BD,EAAK,OAAM,EAAG,OAAO,SAAW,MAAQC,IAA4B,OAASA,EAA0B,KAGxIC,IAAQX,GAAeF,EAAM,mBAAmBA,EAAM,kBAAkBa,CAAG,EAC/EV,EAAeU,CAAG,CACtB,CACR,CAAK,EACGC,EAAeZ,GAAe,KAAOK,EAAW,QAAQL,CAAW,EAAI,KAC3E,MAAO,CACH,WAAYK,EACZ,aAAcC,EACd,iBAAkBC,EAClB,YAAaP,EACb,eAAgBC,EAChB,aAAcW,CACtB,CACA","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"useSingleSelectListState-BjYKH0pH.cjs.js","sources":["../../../../node_modules/.pnpm/@react-stately+list@3.13.0_react@19.1.0/node_modules/@react-stately/list/dist/useSingleSelectListState.mjs"],"sourcesContent":["import {useListState as $e72dd72e1c76a225$export$2f645645f7bca764} from \"./useListState.mjs\";\nimport {useControlledState as $eBozH$useControlledState} from \"@react-stately/utils\";\nimport {useMemo as $eBozH$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 $a0d645289fe9b86b$export$e7f05e985daf4b5f(props) {\n var _props_defaultSelectedKey;\n let [selectedKey, setSelectedKey] = (0, $eBozH$useControlledState)(props.selectedKey, (_props_defaultSelectedKey = props.defaultSelectedKey) !== null && _props_defaultSelectedKey !== void 0 ? _props_defaultSelectedKey : null, props.onSelectionChange);\n let selectedKeys = (0, $eBozH$useMemo)(()=>selectedKey != null ? [\n selectedKey\n ] : [], [\n selectedKey\n ]);\n let { collection: collection, disabledKeys: disabledKeys, selectionManager: selectionManager } = (0, $e72dd72e1c76a225$export$2f645645f7bca764)({\n ...props,\n selectionMode: 'single',\n disallowEmptySelection: true,\n allowDuplicateSelectionEvents: true,\n selectedKeys: selectedKeys,\n onSelectionChange: (keys)=>{\n // impossible, but TS doesn't know that\n if (keys === 'all') return;\n var _keys_values_next_value;\n let key = (_keys_values_next_value = keys.values().next().value) !== null && _keys_values_next_value !== void 0 ? _keys_values_next_value : null;\n // Always fire onSelectionChange, even if the key is the same\n // as the current key (useControlledState does not).\n if (key === selectedKey && props.onSelectionChange) props.onSelectionChange(key);\n setSelectedKey(key);\n }\n });\n let selectedItem = selectedKey != null ? collection.getItem(selectedKey) : null;\n return {\n collection: collection,\n disabledKeys: disabledKeys,\n selectionManager: selectionManager,\n selectedKey: selectedKey,\n setSelectedKey: setSelectedKey,\n selectedItem: selectedItem\n };\n}\n\n\nexport {$a0d645289fe9b86b$export$e7f05e985daf4b5f as useSingleSelectListState};\n//# sourceMappingURL=useSingleSelectListState.module.js.map\n"],"names":["$a0d645289fe9b86b$export$e7f05e985daf4b5f","props","_props_defaultSelectedKey","selectedKey","setSelectedKey","$eBozH$useControlledState","selectedKeys","$eBozH$useMemo","collection","disabledKeys","selectionManager","$e72dd72e1c76a225$export$2f645645f7bca764","keys","_keys_values_next_value","key","selectedItem"],"mappings":"+HAiBA,SAASA,EAA0CC,EAAO,CACtD,IAAIC,EACJ,GAAI,CAACC,EAAaC,CAAc,EAAQC,EAAAA,0CAA2BJ,EAAM,aAAcC,EAA4BD,EAAM,sBAAwB,MAAQC,IAA8B,OAASA,EAA4B,KAAMD,EAAM,iBAAiB,EACrPK,EAAmBC,EAAAA,QAAgB,IAAIJ,GAAe,KAAO,CACzDA,CACZ,EAAY,GAAI,CACRA,CACR,CAAK,EACG,CAAE,WAAYK,EAAY,aAAcC,EAAc,iBAAkBC,GAAyBC,4CAA2C,CAC5I,GAAGV,EACH,cAAe,SACf,uBAAwB,GACxB,8BAA+B,GAC/B,aAAcK,EACd,kBAAoBM,GAAO,CAEvB,GAAIA,IAAS,MAAO,OACpB,IAAIC,EACJ,IAAIC,GAAOD,EAA0BD,EAAK,OAAM,EAAG,OAAO,SAAW,MAAQC,IAA4B,OAASA,EAA0B,KAGxIC,IAAQX,GAAeF,EAAM,mBAAmBA,EAAM,kBAAkBa,CAAG,EAC/EV,EAAeU,CAAG,CACtB,CACR,CAAK,EACGC,EAAeZ,GAAe,KAAOK,EAAW,QAAQL,CAAW,EAAI,KAC3E,MAAO,CACH,WAAYK,EACZ,aAAcC,EACd,iBAAkBC,EAClB,YAAaP,EACb,eAAgBC,EAChB,aAAcW,CACtB,CACA","x_google_ignoreList":[0]}
@@ -1,4 +1,4 @@
1
- import { $ as f } from "./ListBox-DKAR_w69.es.js";
1
+ import { $ as f } from "./ListBox-Vxd1SXUB.es.js";
2
2
  import { $ as y } from "./useControlledState-u436Wbp1.es.js";
3
3
  import { useMemo as K } from "react";
4
4
  function S(l) {
@@ -32,4 +32,4 @@ function S(l) {
32
32
  export {
33
33
  S as $
34
34
  };
35
- //# sourceMappingURL=useSingleSelectListState-CdPCvWTv.es.js.map
35
+ //# sourceMappingURL=useSingleSelectListState-BsnptkyP.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useSingleSelectListState-CdPCvWTv.es.js","sources":["../../../../node_modules/.pnpm/@react-stately+list@3.13.0_react@19.1.0/node_modules/@react-stately/list/dist/useSingleSelectListState.mjs"],"sourcesContent":["import {useListState as $e72dd72e1c76a225$export$2f645645f7bca764} from \"./useListState.mjs\";\nimport {useControlledState as $eBozH$useControlledState} from \"@react-stately/utils\";\nimport {useMemo as $eBozH$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 $a0d645289fe9b86b$export$e7f05e985daf4b5f(props) {\n var _props_defaultSelectedKey;\n let [selectedKey, setSelectedKey] = (0, $eBozH$useControlledState)(props.selectedKey, (_props_defaultSelectedKey = props.defaultSelectedKey) !== null && _props_defaultSelectedKey !== void 0 ? _props_defaultSelectedKey : null, props.onSelectionChange);\n let selectedKeys = (0, $eBozH$useMemo)(()=>selectedKey != null ? [\n selectedKey\n ] : [], [\n selectedKey\n ]);\n let { collection: collection, disabledKeys: disabledKeys, selectionManager: selectionManager } = (0, $e72dd72e1c76a225$export$2f645645f7bca764)({\n ...props,\n selectionMode: 'single',\n disallowEmptySelection: true,\n allowDuplicateSelectionEvents: true,\n selectedKeys: selectedKeys,\n onSelectionChange: (keys)=>{\n // impossible, but TS doesn't know that\n if (keys === 'all') return;\n var _keys_values_next_value;\n let key = (_keys_values_next_value = keys.values().next().value) !== null && _keys_values_next_value !== void 0 ? _keys_values_next_value : null;\n // Always fire onSelectionChange, even if the key is the same\n // as the current key (useControlledState does not).\n if (key === selectedKey && props.onSelectionChange) props.onSelectionChange(key);\n setSelectedKey(key);\n }\n });\n let selectedItem = selectedKey != null ? collection.getItem(selectedKey) : null;\n return {\n collection: collection,\n disabledKeys: disabledKeys,\n selectionManager: selectionManager,\n selectedKey: selectedKey,\n setSelectedKey: setSelectedKey,\n selectedItem: selectedItem\n };\n}\n\n\nexport {$a0d645289fe9b86b$export$e7f05e985daf4b5f as useSingleSelectListState};\n//# sourceMappingURL=useSingleSelectListState.module.js.map\n"],"names":["$a0d645289fe9b86b$export$e7f05e985daf4b5f","props","_props_defaultSelectedKey","selectedKey","setSelectedKey","$eBozH$useControlledState","selectedKeys","$eBozH$useMemo","collection","disabledKeys","selectionManager","$e72dd72e1c76a225$export$2f645645f7bca764","keys","_keys_values_next_value","key","selectedItem"],"mappings":";;;AAiBA,SAASA,EAA0CC,GAAO;AACtD,MAAIC;AACJ,MAAI,CAACC,GAAaC,CAAc,IAAQC,EAA2BJ,EAAM,cAAcC,IAA4BD,EAAM,wBAAwB,QAAQC,MAA8B,SAASA,IAA4B,MAAMD,EAAM,iBAAiB,GACrPK,IAAmBC,EAAgB,MAAIJ,KAAe,OAAO;AAAA,IACzDA;AAAA,EACZ,IAAY,IAAI;AAAA,IACRA;AAAA,EACR,CAAK,GACG,EAAE,YAAYK,GAAY,cAAcC,GAAc,kBAAkBC,MAAyBC,EAA2C;AAAA,IAC5I,GAAGV;AAAA,IACH,eAAe;AAAA,IACf,wBAAwB;AAAA,IACxB,+BAA+B;AAAA,IAC/B,cAAcK;AAAA,IACd,mBAAmB,CAACM,MAAO;AAEvB,UAAIA,MAAS,MAAO;AACpB,UAAIC;AACJ,UAAIC,KAAOD,IAA0BD,EAAK,OAAM,EAAG,OAAO,WAAW,QAAQC,MAA4B,SAASA,IAA0B;AAG5I,MAAIC,MAAQX,KAAeF,EAAM,qBAAmBA,EAAM,kBAAkBa,CAAG,GAC/EV,EAAeU,CAAG;AAAA,IACtB;AAAA,EACR,CAAK,GACGC,IAAeZ,KAAe,OAAOK,EAAW,QAAQL,CAAW,IAAI;AAC3E,SAAO;AAAA,IACH,YAAYK;AAAA,IACZ,cAAcC;AAAA,IACd,kBAAkBC;AAAA,IAClB,aAAaP;AAAA,IACb,gBAAgBC;AAAA,IAChB,cAAcW;AAAA,EACtB;AACA;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"useSingleSelectListState-BsnptkyP.es.js","sources":["../../../../node_modules/.pnpm/@react-stately+list@3.13.0_react@19.1.0/node_modules/@react-stately/list/dist/useSingleSelectListState.mjs"],"sourcesContent":["import {useListState as $e72dd72e1c76a225$export$2f645645f7bca764} from \"./useListState.mjs\";\nimport {useControlledState as $eBozH$useControlledState} from \"@react-stately/utils\";\nimport {useMemo as $eBozH$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 $a0d645289fe9b86b$export$e7f05e985daf4b5f(props) {\n var _props_defaultSelectedKey;\n let [selectedKey, setSelectedKey] = (0, $eBozH$useControlledState)(props.selectedKey, (_props_defaultSelectedKey = props.defaultSelectedKey) !== null && _props_defaultSelectedKey !== void 0 ? _props_defaultSelectedKey : null, props.onSelectionChange);\n let selectedKeys = (0, $eBozH$useMemo)(()=>selectedKey != null ? [\n selectedKey\n ] : [], [\n selectedKey\n ]);\n let { collection: collection, disabledKeys: disabledKeys, selectionManager: selectionManager } = (0, $e72dd72e1c76a225$export$2f645645f7bca764)({\n ...props,\n selectionMode: 'single',\n disallowEmptySelection: true,\n allowDuplicateSelectionEvents: true,\n selectedKeys: selectedKeys,\n onSelectionChange: (keys)=>{\n // impossible, but TS doesn't know that\n if (keys === 'all') return;\n var _keys_values_next_value;\n let key = (_keys_values_next_value = keys.values().next().value) !== null && _keys_values_next_value !== void 0 ? _keys_values_next_value : null;\n // Always fire onSelectionChange, even if the key is the same\n // as the current key (useControlledState does not).\n if (key === selectedKey && props.onSelectionChange) props.onSelectionChange(key);\n setSelectedKey(key);\n }\n });\n let selectedItem = selectedKey != null ? collection.getItem(selectedKey) : null;\n return {\n collection: collection,\n disabledKeys: disabledKeys,\n selectionManager: selectionManager,\n selectedKey: selectedKey,\n setSelectedKey: setSelectedKey,\n selectedItem: selectedItem\n };\n}\n\n\nexport {$a0d645289fe9b86b$export$e7f05e985daf4b5f as useSingleSelectListState};\n//# sourceMappingURL=useSingleSelectListState.module.js.map\n"],"names":["$a0d645289fe9b86b$export$e7f05e985daf4b5f","props","_props_defaultSelectedKey","selectedKey","setSelectedKey","$eBozH$useControlledState","selectedKeys","$eBozH$useMemo","collection","disabledKeys","selectionManager","$e72dd72e1c76a225$export$2f645645f7bca764","keys","_keys_values_next_value","key","selectedItem"],"mappings":";;;AAiBA,SAASA,EAA0CC,GAAO;AACtD,MAAIC;AACJ,MAAI,CAACC,GAAaC,CAAc,IAAQC,EAA2BJ,EAAM,cAAcC,IAA4BD,EAAM,wBAAwB,QAAQC,MAA8B,SAASA,IAA4B,MAAMD,EAAM,iBAAiB,GACrPK,IAAmBC,EAAgB,MAAIJ,KAAe,OAAO;AAAA,IACzDA;AAAA,EACZ,IAAY,IAAI;AAAA,IACRA;AAAA,EACR,CAAK,GACG,EAAE,YAAYK,GAAY,cAAcC,GAAc,kBAAkBC,MAAyBC,EAA2C;AAAA,IAC5I,GAAGV;AAAA,IACH,eAAe;AAAA,IACf,wBAAwB;AAAA,IACxB,+BAA+B;AAAA,IAC/B,cAAcK;AAAA,IACd,mBAAmB,CAACM,MAAO;AAEvB,UAAIA,MAAS,MAAO;AACpB,UAAIC;AACJ,UAAIC,KAAOD,IAA0BD,EAAK,OAAM,EAAG,OAAO,WAAW,QAAQC,MAA4B,SAASA,IAA0B;AAG5I,MAAIC,MAAQX,KAAeF,EAAM,qBAAmBA,EAAM,kBAAkBa,CAAG,GAC/EV,EAAeU,CAAG;AAAA,IACtB;AAAA,EACR,CAAK,GACGC,IAAeZ,KAAe,OAAOK,EAAW,QAAQL,CAAW,IAAI;AAC3E,SAAO;AAAA,IACH,YAAYK;AAAA,IACZ,cAAcC;AAAA,IACd,kBAAkBC;AAAA,IAClB,aAAaP;AAAA,IACb,gBAAgBC;AAAA,IAChB,cAAcW;AAAA,EACtB;AACA;","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"utils-BHdR5Nww.cjs.js","sources":["../../../../node_modules/.pnpm/@react-aria+utils@3.30.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/mergeRefs.mjs","../../../../node_modules/.pnpm/react-aria-components@1.12.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/utils.mjs"],"sourcesContent":["/*\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 $5dc95899b306f630$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 = $5dc95899b306f630$var$setRef(ref, value);\n hasCleanup || (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 $5dc95899b306f630$var$setRef(refs[i], null);\n });\n };\n };\n}\nfunction $5dc95899b306f630$var$setRef(ref, value) {\n if (typeof ref === 'function') return ref(value);\n else if (ref != null) ref.current = value;\n}\n\n\nexport {$5dc95899b306f630$export$c9058316764c140e as mergeRefs};\n//# sourceMappingURL=mergeRefs.module.js.map\n","import {useObjectRef as $iETbY$useObjectRef, mergeRefs as $iETbY$mergeRefs, mergeProps as $iETbY$mergeProps, useLayoutEffect as $iETbY$useLayoutEffect} from \"@react-aria/utils\";\nimport $iETbY$react, {useMemo as $iETbY$useMemo, useContext as $iETbY$useContext, useState as $iETbY$useState, useRef as $iETbY$useRef, useCallback as $iETbY$useCallback} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nconst $64fa3d84918910a7$export$c62b8e45d58ddad9 = Symbol('default');\nfunction $64fa3d84918910a7$export$2881499e37b75b9a({ values: values, children: children }) {\n for (let [Context, value] of values)// @ts-ignore\n children = /*#__PURE__*/ (0, $iETbY$react).createElement(Context.Provider, {\n value: value\n }, children);\n return children;\n}\nfunction $64fa3d84918910a7$export$4d86445c2cf5e3(props) {\n let { className: className, style: style, children: children, defaultClassName: defaultClassName, defaultChildren: defaultChildren, defaultStyle: defaultStyle, values: values } = props;\n return (0, $iETbY$useMemo)(()=>{\n let computedClassName;\n let computedStyle;\n let computedChildren;\n if (typeof className === 'function') computedClassName = className({\n ...values,\n defaultClassName: defaultClassName\n });\n else computedClassName = className;\n if (typeof style === 'function') computedStyle = style({\n ...values,\n defaultStyle: defaultStyle || {}\n });\n else computedStyle = style;\n if (typeof children === 'function') computedChildren = children({\n ...values,\n defaultChildren: defaultChildren\n });\n else if (children == null) computedChildren = defaultChildren;\n else computedChildren = children;\n return {\n className: computedClassName !== null && computedClassName !== void 0 ? computedClassName : defaultClassName,\n style: computedStyle || defaultStyle ? {\n ...defaultStyle,\n ...computedStyle\n } : undefined,\n children: computedChildren !== null && computedChildren !== void 0 ? computedChildren : defaultChildren,\n 'data-rac': ''\n };\n }, [\n className,\n style,\n children,\n defaultClassName,\n defaultChildren,\n defaultStyle,\n values\n ]);\n}\nfunction $64fa3d84918910a7$export$c245e6201fed2f75(// https://stackoverflow.com/questions/60898079/typescript-type-t-or-function-t-usage\nvalue, wrap) {\n return (renderProps)=>wrap(typeof value === 'function' ? value(renderProps) : value, renderProps);\n}\nfunction $64fa3d84918910a7$export$fabf2dc03a41866e(context, slot) {\n let ctx = (0, $iETbY$useContext)(context);\n if (slot === null) // An explicit `null` slot means don't use context.\n return null;\n if (ctx && typeof ctx === 'object' && 'slots' in ctx && ctx.slots) {\n let slotKey = slot || $64fa3d84918910a7$export$c62b8e45d58ddad9;\n if (!ctx.slots[slotKey]) {\n let availableSlots = new Intl.ListFormat().format(Object.keys(ctx.slots).map((p)=>`\"${p}\"`));\n let errorMessage = slot ? `Invalid slot \"${slot}\".` : 'A slot prop is required.';\n throw new Error(`${errorMessage} Valid slot names are ${availableSlots}.`);\n }\n return ctx.slots[slotKey];\n }\n // @ts-ignore\n return ctx;\n}\nfunction $64fa3d84918910a7$export$29f1550f4b0d4415(props, ref, context) {\n let ctx = $64fa3d84918910a7$export$fabf2dc03a41866e(context, props.slot) || {};\n // @ts-ignore - TS says \"Type 'unique symbol' cannot be used as an index type.\" but not sure why.\n let { ref: contextRef, ...contextProps } = ctx;\n let mergedRef = (0, $iETbY$useObjectRef)((0, $iETbY$useMemo)(()=>(0, $iETbY$mergeRefs)(ref, contextRef), [\n ref,\n contextRef\n ]));\n let mergedProps = (0, $iETbY$mergeProps)(contextProps, props);\n // mergeProps does not merge `style`. Adding this there might be a breaking change.\n if ('style' in contextProps && contextProps.style && 'style' in props && props.style) {\n if (typeof contextProps.style === 'function' || typeof props.style === 'function') // @ts-ignore\n mergedProps.style = (renderProps)=>{\n let contextStyle = typeof contextProps.style === 'function' ? contextProps.style(renderProps) : contextProps.style;\n let defaultStyle = {\n ...renderProps.defaultStyle,\n ...contextStyle\n };\n let style = typeof props.style === 'function' ? props.style({\n ...renderProps,\n defaultStyle: defaultStyle\n }) : props.style;\n return {\n ...defaultStyle,\n ...style\n };\n };\n else // @ts-ignore\n mergedProps.style = {\n ...contextProps.style,\n ...props.style\n };\n }\n return [\n mergedProps,\n mergedRef\n ];\n}\nfunction $64fa3d84918910a7$export$9d4c57ee4c6ffdd8(initialState = true) {\n // Initial state is typically based on the parent having an aria-label or aria-labelledby.\n // If it does, this value should be false so that we don't update the state and cause a rerender when we go through the layoutEffect\n let [hasSlot, setHasSlot] = (0, $iETbY$useState)(initialState);\n let hasRun = (0, $iETbY$useRef)(false);\n // A callback ref which will run when the slotted element mounts.\n // This should happen before the useLayoutEffect below.\n let ref = (0, $iETbY$useCallback)((el)=>{\n hasRun.current = true;\n setHasSlot(!!el);\n }, []);\n // If the callback hasn't been called, then reset to false.\n (0, $iETbY$useLayoutEffect)(()=>{\n if (!hasRun.current) setHasSlot(false);\n }, []);\n return [\n ref,\n hasSlot\n ];\n}\nfunction $64fa3d84918910a7$export$ef03459518577ad4(props) {\n const prefix = /^(data-.*)$/;\n let filteredProps = {};\n for(const prop in props)if (!prefix.test(prop)) filteredProps[prop] = props[prop];\n return filteredProps;\n}\n\n\nexport {$64fa3d84918910a7$export$c62b8e45d58ddad9 as DEFAULT_SLOT, $64fa3d84918910a7$export$2881499e37b75b9a as Provider, $64fa3d84918910a7$export$4d86445c2cf5e3 as useRenderProps, $64fa3d84918910a7$export$c245e6201fed2f75 as composeRenderProps, $64fa3d84918910a7$export$fabf2dc03a41866e as useSlottedContext, $64fa3d84918910a7$export$29f1550f4b0d4415 as useContextProps, $64fa3d84918910a7$export$9d4c57ee4c6ffdd8 as useSlot, $64fa3d84918910a7$export$ef03459518577ad4 as removeDataAttributes};\n//# sourceMappingURL=utils.module.js.map\n"],"names":["$5dc95899b306f630$export$c9058316764c140e","refs","value","hasCleanup","cleanups","ref","cleanup","$5dc95899b306f630$var$setRef","i","$64fa3d84918910a7$export$c62b8e45d58ddad9","$64fa3d84918910a7$export$2881499e37b75b9a","values","children","Context","$iETbY$react","$64fa3d84918910a7$export$4d86445c2cf5e3","props","className","style","defaultClassName","defaultChildren","defaultStyle","$iETbY$useMemo","computedClassName","computedStyle","computedChildren","$64fa3d84918910a7$export$fabf2dc03a41866e","context","slot","ctx","$iETbY$useContext","slotKey","availableSlots","p","errorMessage","$64fa3d84918910a7$export$29f1550f4b0d4415","contextRef","contextProps","mergedRef","$iETbY$useObjectRef","$iETbY$mergeRefs","mergedProps","$iETbY$mergeProps","renderProps","contextStyle","$64fa3d84918910a7$export$9d4c57ee4c6ffdd8","initialState","hasSlot","setHasSlot","$iETbY$useState","hasRun","$iETbY$useRef","$iETbY$useCallback","el","$iETbY$useLayoutEffect","$64fa3d84918910a7$export$ef03459518577ad4","prefix","filteredProps","prop"],"mappings":"4HAUI,SAASA,KAA6CC,EAAM,CAC5D,OAAIA,EAAK,SAAW,GAAKA,EAAK,CAAC,EAAUA,EAAK,CAAC,EACvCC,GAAQ,CACZ,IAAIC,EAAa,GACjB,MAAMC,EAAWH,EAAK,IAAKI,GAAM,CAC7B,MAAMC,EAAUC,EAA6BF,EAAKH,CAAK,EACvD,OAAAC,IAAeA,EAAa,OAAOG,GAAW,YACvCA,CACX,CAAC,EACD,GAAIH,EAAY,MAAO,IAAI,CACvBC,EAAS,QAAQ,CAACE,EAASE,IAAI,CACvB,OAAOF,GAAY,WAAYA,EAAO,EACrCC,EAA6BN,EAAKO,CAAC,EAAG,IAAI,CACnD,CAAC,CACL,CACJ,CACJ,CACA,SAASD,EAA6BF,EAAKH,EAAO,CAC9C,GAAI,OAAOG,GAAQ,WAAY,OAAOA,EAAIH,CAAK,EACtCG,GAAO,OAAMA,EAAI,QAAUH,EACxC,CCfK,MAACO,EAA4C,OAAO,SAAS,EAClE,SAASC,EAA0C,CAAE,OAAQC,EAAQ,SAAUC,CAAQ,EAAI,CACvF,OAAS,CAACC,EAASX,CAAK,IAAKS,EAC7BC,EAA6BE,EAAc,cAAcD,EAAQ,SAAU,CACvE,MAAOX,CACf,EAAOU,CAAQ,EACX,OAAOA,CACX,CACA,SAASG,EAAwCC,EAAO,CACpD,GAAI,CAAE,UAAWC,EAAW,MAAOC,EAAO,SAAUN,EAAU,iBAAkBO,EAAkB,gBAAiBC,EAAiB,aAAcC,EAAc,OAAQV,CAAM,EAAKK,EACnL,O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CAAI,GAChF,OAAOD,CACX","x_google_ignoreList":[0,1]}
1
+ {"version":3,"file":"utils-BHdR5Nww.cjs.js","sources":["../../../../node_modules/.pnpm/@react-aria+utils@3.30.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/mergeRefs.mjs","../../../../node_modules/.pnpm/react-aria-components@1.12.2_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/utils.mjs"],"sourcesContent":["/*\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 $5dc95899b306f630$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 = $5dc95899b306f630$var$setRef(ref, value);\n hasCleanup || (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 $5dc95899b306f630$var$setRef(refs[i], null);\n });\n };\n };\n}\nfunction $5dc95899b306f630$var$setRef(ref, value) {\n if (typeof ref === 'function') return ref(value);\n else if (ref != null) ref.current = value;\n}\n\n\nexport {$5dc95899b306f630$export$c9058316764c140e as mergeRefs};\n//# sourceMappingURL=mergeRefs.module.js.map\n","import {useObjectRef as $iETbY$useObjectRef, mergeRefs as $iETbY$mergeRefs, mergeProps as $iETbY$mergeProps, useLayoutEffect as $iETbY$useLayoutEffect} from \"@react-aria/utils\";\nimport $iETbY$react, {useMemo as $iETbY$useMemo, useContext as $iETbY$useContext, useState as $iETbY$useState, useRef as $iETbY$useRef, useCallback as $iETbY$useCallback} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nconst $64fa3d84918910a7$export$c62b8e45d58ddad9 = Symbol('default');\nfunction $64fa3d84918910a7$export$2881499e37b75b9a({ values: values, children: children }) {\n for (let [Context, value] of values)// @ts-ignore\n children = /*#__PURE__*/ (0, $iETbY$react).createElement(Context.Provider, {\n value: value\n }, children);\n return children;\n}\nfunction $64fa3d84918910a7$export$4d86445c2cf5e3(props) {\n let { className: className, style: style, children: children, defaultClassName: defaultClassName, defaultChildren: defaultChildren, defaultStyle: defaultStyle, values: values } = props;\n return (0, $iETbY$useMemo)(()=>{\n let computedClassName;\n let computedStyle;\n let computedChildren;\n if (typeof className === 'function') computedClassName = className({\n ...values,\n defaultClassName: defaultClassName\n });\n else computedClassName = className;\n if (typeof style === 'function') computedStyle = style({\n ...values,\n defaultStyle: defaultStyle || {}\n });\n else computedStyle = style;\n if (typeof children === 'function') computedChildren = children({\n ...values,\n defaultChildren: defaultChildren\n });\n else if (children == null) computedChildren = defaultChildren;\n else computedChildren = children;\n return {\n className: computedClassName !== null && computedClassName !== void 0 ? computedClassName : defaultClassName,\n style: computedStyle || defaultStyle ? {\n ...defaultStyle,\n ...computedStyle\n } : undefined,\n children: computedChildren !== null && computedChildren !== void 0 ? computedChildren : defaultChildren,\n 'data-rac': ''\n };\n }, [\n className,\n style,\n children,\n defaultClassName,\n defaultChildren,\n defaultStyle,\n values\n ]);\n}\nfunction $64fa3d84918910a7$export$c245e6201fed2f75(// https://stackoverflow.com/questions/60898079/typescript-type-t-or-function-t-usage\nvalue, wrap) {\n return (renderProps)=>wrap(typeof value === 'function' ? value(renderProps) : value, renderProps);\n}\nfunction $64fa3d84918910a7$export$fabf2dc03a41866e(context, slot) {\n let ctx = (0, $iETbY$useContext)(context);\n if (slot === null) // An explicit `null` slot means don't use context.\n return null;\n if (ctx && typeof ctx === 'object' && 'slots' in ctx && ctx.slots) {\n let slotKey = slot || $64fa3d84918910a7$export$c62b8e45d58ddad9;\n if (!ctx.slots[slotKey]) {\n let availableSlots = new Intl.ListFormat().format(Object.keys(ctx.slots).map((p)=>`\"${p}\"`));\n let errorMessage = slot ? `Invalid slot \"${slot}\".` : 'A slot prop is required.';\n throw new Error(`${errorMessage} Valid slot names are ${availableSlots}.`);\n }\n return ctx.slots[slotKey];\n }\n // @ts-ignore\n return ctx;\n}\nfunction $64fa3d84918910a7$export$29f1550f4b0d4415(props, ref, context) {\n let ctx = $64fa3d84918910a7$export$fabf2dc03a41866e(context, props.slot) || {};\n // @ts-ignore - TS says \"Type 'unique symbol' cannot be used as an index type.\" but not sure why.\n let { ref: contextRef, ...contextProps } = ctx;\n let mergedRef = (0, $iETbY$useObjectRef)((0, $iETbY$useMemo)(()=>(0, $iETbY$mergeRefs)(ref, contextRef), [\n ref,\n contextRef\n ]));\n let mergedProps = (0, $iETbY$mergeProps)(contextProps, props);\n // mergeProps does not merge `style`. Adding this there might be a breaking change.\n if ('style' in contextProps && contextProps.style && 'style' in props && props.style) {\n if (typeof contextProps.style === 'function' || typeof props.style === 'function') // @ts-ignore\n mergedProps.style = (renderProps)=>{\n let contextStyle = typeof contextProps.style === 'function' ? contextProps.style(renderProps) : contextProps.style;\n let defaultStyle = {\n ...renderProps.defaultStyle,\n ...contextStyle\n };\n let style = typeof props.style === 'function' ? props.style({\n ...renderProps,\n defaultStyle: defaultStyle\n }) : props.style;\n return {\n ...defaultStyle,\n ...style\n };\n };\n else // @ts-ignore\n mergedProps.style = {\n ...contextProps.style,\n ...props.style\n };\n }\n return [\n mergedProps,\n mergedRef\n ];\n}\nfunction $64fa3d84918910a7$export$9d4c57ee4c6ffdd8(initialState = true) {\n // Initial state is typically based on the parent having an aria-label or aria-labelledby.\n // If it does, this value should be false so that we don't update the state and cause a rerender when we go through the layoutEffect\n let [hasSlot, setHasSlot] = (0, $iETbY$useState)(initialState);\n let hasRun = (0, $iETbY$useRef)(false);\n // A callback ref which will run when the slotted element mounts.\n // This should happen before the useLayoutEffect below.\n let ref = (0, $iETbY$useCallback)((el)=>{\n hasRun.current = true;\n setHasSlot(!!el);\n }, []);\n // If the callback hasn't been called, then reset to false.\n (0, $iETbY$useLayoutEffect)(()=>{\n if (!hasRun.current) setHasSlot(false);\n }, []);\n return [\n ref,\n hasSlot\n ];\n}\nfunction $64fa3d84918910a7$export$ef03459518577ad4(props) {\n const prefix = /^(data-.*)$/;\n let filteredProps = {};\n for(const prop in props)if (!prefix.test(prop)) filteredProps[prop] = props[prop];\n return filteredProps;\n}\n\n\nexport {$64fa3d84918910a7$export$c62b8e45d58ddad9 as DEFAULT_SLOT, $64fa3d84918910a7$export$2881499e37b75b9a as Provider, $64fa3d84918910a7$export$4d86445c2cf5e3 as useRenderProps, $64fa3d84918910a7$export$c245e6201fed2f75 as composeRenderProps, $64fa3d84918910a7$export$fabf2dc03a41866e as useSlottedContext, $64fa3d84918910a7$export$29f1550f4b0d4415 as useContextProps, $64fa3d84918910a7$export$9d4c57ee4c6ffdd8 as useSlot, $64fa3d84918910a7$export$ef03459518577ad4 as removeDataAttributes};\n//# sourceMappingURL=utils.module.js.map\n"],"names":["$5dc95899b306f630$export$c9058316764c140e","refs","value","hasCleanup","cleanups","ref","cleanup","$5dc95899b306f630$var$setRef","i","$64fa3d84918910a7$export$c62b8e45d58ddad9","$64fa3d84918910a7$export$2881499e37b75b9a","values","children","Context","$iETbY$react","$64fa3d84918910a7$export$4d86445c2cf5e3","props","className","style","defaultClassName","defaultChildren","defaultStyle","$iETbY$useMemo","computedClassName","computedStyle","computedChildren","$64fa3d84918910a7$export$fabf2dc03a41866e","context","slot","ctx","$iETbY$useContext","slotKey","availableSlots","p","errorMessage","$64fa3d84918910a7$export$29f1550f4b0d4415","contextRef","contextProps","mergedRef","$iETbY$useObjectRef","$iETbY$mergeRefs","mergedProps","$iETbY$mergeProps","renderProps","contextStyle","$64fa3d84918910a7$export$9d4c57ee4c6ffdd8","initialState","hasSlot","setHasSlot","$iETbY$useState","hasRun","$iETbY$useRef","$iETbY$useCallback","el","$iETbY$useLayoutEffect","$64fa3d84918910a7$export$ef03459518577ad4","prefix","filteredProps","prop"],"mappings":"4HAUI,SAASA,KAA6CC,EAAM,CAC5D,OAAIA,EAAK,SAAW,GAAKA,EAAK,CAAC,EAAUA,EAAK,CAAC,EACvCC,GAAQ,CACZ,IAAIC,EAAa,GACjB,MAAMC,EAAWH,EAAK,IAAKI,GAAM,CAC7B,MAAMC,EAAUC,EAA6BF,EAAKH,CAAK,EACvD,OAAAC,IAAeA,EAAa,OAAOG,GAAW,YACvCA,CACX,CAAC,EACD,GAAIH,EAAY,MAAO,IAAI,CACvBC,EAAS,QAAQ,CAACE,EAASE,IAAI,CACvB,OAAOF,GAAY,WAAYA,EAAO,EACrCC,EAA6BN,EAAKO,CAAC,EAAG,IAAI,CACnD,CAAC,CACL,CACJ,CACJ,CACA,SAASD,EAA6BF,EAAKH,EAAO,CAC9C,GAAI,OAAOG,GAAQ,WAAY,OAAOA,EAAIH,CAAK,EACtCG,GAAO,OAAMA,EAAI,QAAUH,EACxC,CCfK,MAACO,EAA4C,OAAO,SAAS,EAClE,SAASC,EAA0C,CAAE,OAAQC,EAAQ,SAAUC,CAAQ,EAAI,CACvF,OAAS,CAACC,EAASX,CAAK,IAAKS,EAC7BC,EAA6BE,EAAc,cAAcD,EAAQ,SAAU,CACvE,MAAOX,CACf,EAAOU,CAAQ,EACX,OAAOA,CACX,CACA,SAASG,EAAwCC,EAAO,CACpD,GAAI,CAAE,UAAWC,EAAW,MAAOC,EAAO,SAAUN,EAA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