@ryuzaki13/react-foundation-ui 3.11.0 → 3.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (297) hide show
  1. package/dist/chunks/{TextEditorLexicalClient-Cj6yjCGm.js → TextEditorLexicalClient-apy-Cugj.js} +101 -101
  2. package/dist/chunks/{TextEditorLexicalClient-Cj6yjCGm.js.map → TextEditorLexicalClient-apy-Cugj.js.map} +1 -1
  3. package/dist/styles.css +1 -1
  4. package/dist/text-editor/TextEditorLexicalViewer.d.ts +10 -0
  5. package/dist/text-editor/TextEditorLexicalViewer.d.ts.map +1 -0
  6. package/dist/text-editor/index.d.ts +1 -0
  7. package/dist/text-editor/index.d.ts.map +1 -1
  8. package/dist/text-editor/index.js +298 -7
  9. package/dist/text-editor/index.js.map +1 -1
  10. package/dist/text-editor/lib/viewer/getTextEditorViewerElementStyle.d.ts +5 -0
  11. package/dist/text-editor/lib/viewer/getTextEditorViewerElementStyle.d.ts.map +1 -0
  12. package/dist/text-editor/lib/viewer/parseTextEditorViewerDocument.d.ts +4 -0
  13. package/dist/text-editor/lib/viewer/parseTextEditorViewerDocument.d.ts.map +1 -0
  14. package/dist/text-editor/lib/viewer/resolveTextEditorViewerLink.d.ts +3 -0
  15. package/dist/text-editor/lib/viewer/resolveTextEditorViewerLink.d.ts.map +1 -0
  16. package/dist/text-editor/model/textEditorViewerTypes.d.ts +58 -0
  17. package/dist/text-editor/model/textEditorViewerTypes.d.ts.map +1 -0
  18. package/dist/text-editor/ui/viewer/TextEditorViewerNode.d.ts +7 -0
  19. package/dist/text-editor/ui/viewer/TextEditorViewerNode.d.ts.map +1 -0
  20. package/dist/text-editor/ui/viewer/TextEditorViewerText.d.ts +8 -0
  21. package/dist/text-editor/ui/viewer/TextEditorViewerText.d.ts.map +1 -0
  22. package/package.json +1 -1
  23. package/storybook-static/assets/{Badge-CVgLMAJT.js → Badge-Dn4r-dgK.js} +1 -1
  24. package/storybook-static/assets/{Badge.stories-KeadkKsz.js → Badge.stories-C8jgD6Tm.js} +1 -1
  25. package/storybook-static/assets/{BadgeList-_jBtMkE3.js → BadgeList-DoZGQ7qG.js} +1 -1
  26. package/storybook-static/assets/{BarcodeScannerDialog.stories-J9XDExKK.js → BarcodeScannerDialog.stories-SWsYyoae.js} +1 -1
  27. package/storybook-static/assets/{Button-C-uRygWz.js → Button-BHqigqOj.js} +1 -1
  28. package/storybook-static/assets/{Button-DegBPiAl.js → Button-DLYgesJU.js} +1 -1
  29. package/storybook-static/assets/{Button.stories-Ds4zCq_9.js → Button.stories-B-YCCpsv.js} +1 -1
  30. package/storybook-static/assets/{CalendarView-iyr_ipPy.js → CalendarView-DC9-KqBg.js} +1 -1
  31. package/storybook-static/assets/{CheckBox-nBqHJGY9.js → CheckBox-A1DE9OKH.js} +1 -1
  32. package/storybook-static/assets/{CheckBox-B0zrARHA.js → CheckBox-BhDEikPn.js} +1 -1
  33. package/storybook-static/assets/{CheckBox.stories-CxO9FwA7.js → CheckBox.stories-CCwPabOj.js} +1 -1
  34. package/storybook-static/assets/{Color-6AOWCN3U-Dzuzn5Yr.js → Color-6AOWCN3U-CZ7Lqth4.js} +1 -1
  35. package/storybook-static/assets/{ContextMenu-BC5OXqVj.js → ContextMenu-C7QDzxj5.js} +1 -1
  36. package/storybook-static/assets/{ContextMenu-CnZu58rQ.js → ContextMenu-snDFBA5B.js} +1 -1
  37. package/storybook-static/assets/{ContextMenu.stories-CPdTdVV7.js → ContextMenu.stories-DmQHbLWt.js} +1 -1
  38. package/storybook-static/assets/{DateInput-B5j7kofa.js → DateInput-BkVJLdmV.js} +1 -1
  39. package/storybook-static/assets/{DateInput-CuYe4WXO.js → DateInput-DLOTW8zG.js} +1 -1
  40. package/storybook-static/assets/{DateInput.stories-C4ZaIPUG.js → DateInput.stories-DNMVE7-m.js} +1 -1
  41. package/storybook-static/assets/{DateRangePresetSelect-Cg6yPY0K.js → DateRangePresetSelect-Aswl3yfO.js} +1 -1
  42. package/storybook-static/assets/{DateRangePresetSelect-CbDK9t1J.js → DateRangePresetSelect-FZ5Wqp5Q.js} +1 -1
  43. package/storybook-static/assets/{DateRangePresetSelect.stories-DPWUHjXu.js → DateRangePresetSelect.stories-D7j1ye-X.js} +1 -1
  44. package/storybook-static/assets/{DeprecatedMultiSelect-DkGsEVRD.js → DeprecatedMultiSelect-BrU5iHiB.js} +1 -1
  45. package/storybook-static/assets/{DeprecatedMultiSelect-DCReLsN-.js → DeprecatedMultiSelect-DZm42dZe.js} +1 -1
  46. package/storybook-static/assets/{DeprecatedMultiSelect.stories-tbYFDSML.js → DeprecatedMultiSelect.stories-DX5gJVg8.js} +1 -1
  47. package/storybook-static/assets/{Detail-CtVpK6xU.js → Detail-Dm2OB35c.js} +1 -1
  48. package/storybook-static/assets/{Detail.stories-zAQfXGuT.js → Detail.stories-ChjIDw9R.js} +1 -1
  49. package/storybook-static/assets/{Dialog-B9ltl4hS.js → Dialog-5Bjs3MIP.js} +1 -1
  50. package/storybook-static/assets/{Dialog-JetMtpYt.js → Dialog-CppiFu4m.js} +1 -1
  51. package/storybook-static/assets/{Dialog.stories-tJymN3yq.js → Dialog.stories-DNKVgKJf.js} +1 -1
  52. package/storybook-static/assets/{Disclosure-j-RCrVFs.js → Disclosure-B_rE1zlW.js} +1 -1
  53. package/storybook-static/assets/{Disclosure.stories-4Jj2XNlo.js → Disclosure.stories-ATxKR5IU.js} +1 -1
  54. package/storybook-static/assets/{DisclosureGroup-CM7GlGI4.js → DisclosureGroup-ClweT22a.js} +1 -1
  55. package/storybook-static/assets/{DocsRenderer-JROSPFPF-DevtpZi5.js → DocsRenderer-JROSPFPF-m7QPTTWT.js} +1 -1
  56. package/storybook-static/assets/{DropZone-Bwo7NG5D.js → DropZone-C6Qx5YnY.js} +1 -1
  57. package/storybook-static/assets/{DropZone-CPrhOtX-.js → DropZone-CEnjaRlb.js} +1 -1
  58. package/storybook-static/assets/{DropZone.stories-VyNhIaxw.js → DropZone.stories-8b7TFwCV.js} +1 -1
  59. package/storybook-static/assets/{DropdownMenu-DMWZzFK1.js → DropdownMenu-BvqYqsyj.js} +1 -1
  60. package/storybook-static/assets/{ExpandableActionPanel-DmKB3xVB.js → ExpandableActionPanel-DfZA1lTx.js} +1 -1
  61. package/storybook-static/assets/{ExpandableActionPanel.stories-Kh_OSEIl.js → ExpandableActionPanel.stories-Bq2XMot-.js} +1 -1
  62. package/storybook-static/assets/{Flex-BZKhuaao.js → Flex-BFGhhseF.js} +1 -1
  63. package/storybook-static/assets/{Flex.stories-CrHxjVCH.js → Flex.stories-Ct2TXMNG.js} +1 -1
  64. package/storybook-static/assets/{FlexContainer-DGc37vCr.js → FlexContainer-DNTMFsKB.js} +1 -1
  65. package/storybook-static/assets/{FlexItem-DYv72TvP.js → FlexItem-DdZg96Tw.js} +1 -1
  66. package/storybook-static/assets/{FloatingPopover-Bd3b1U8c.js → FloatingPopover-Qm2OYQyi.js} +1 -1
  67. package/storybook-static/assets/{FloatingWindows.stories-Cs_i092m.js → FloatingWindows.stories-DSXleet4.js} +1 -1
  68. package/storybook-static/assets/{FormattedTableCell-CdlWquoj.js → FormattedTableCell-Cfdl2sgg.js} +1 -1
  69. package/storybook-static/assets/{Grid-DUcSdqsI.js → Grid-DF06uQ48.js} +1 -1
  70. package/storybook-static/assets/{Grid-DIKudfVu.js → Grid-DlctIqYo.js} +1 -1
  71. package/storybook-static/assets/{Grid.stories-sZUaIp7v.js → Grid.stories-CqMEpZ8C.js} +1 -1
  72. package/storybook-static/assets/{GridContainer-C5r-VTTG.js → GridContainer-BlkGC1Ti.js} +1 -1
  73. package/storybook-static/assets/{ImageCropper.stories-Bk3SF90a.js → ImageCropper.stories-GlDzLRHa.js} +1 -1
  74. package/storybook-static/assets/{ImageRenderer-CM-YetP0.js → ImageRenderer-DKVKzwts.js} +1 -1
  75. package/storybook-static/assets/{ImageRenderer.stories-CMqKyVuX.js → ImageRenderer.stories-D5Ot_LFG.js} +1 -1
  76. package/storybook-static/assets/{ImageView.stories-9IjWDUev.js → ImageView.stories-t9WED3jc.js} +1 -1
  77. package/storybook-static/assets/{ImageViewer.stories-D-Zzvzh3.js → ImageViewer.stories-CTLSla9v.js} +2 -2
  78. package/storybook-static/assets/{ImageViewerRuntime-BRWmVnG3.js → ImageViewerRuntime-B0a-Sycn.js} +1 -1
  79. package/storybook-static/assets/{Input-YuUUu0DD.js → Input-C-RwifM5.js} +1 -1
  80. package/storybook-static/assets/{Input-BaEhNNL0.js → Input-L7KSl95J.js} +1 -1
  81. package/storybook-static/assets/{Input.stories-CoJY4vR8.js → Input.stories-RZ8DST5q.js} +1 -1
  82. package/storybook-static/assets/{InputDateTime-CPlDTMTI.js → InputDateTime-C3SMAFaX.js} +1 -1
  83. package/storybook-static/assets/{InputDateTime.stories-DaOA4pFM.js → InputDateTime.stories-Bo76yqgM.js} +1 -1
  84. package/storybook-static/assets/{InputFile-D2HPvbt_.js → InputFile-ByiVAcXi.js} +1 -1
  85. package/storybook-static/assets/{InputFile-7PMO3B4Q.js → InputFile-DeMKgRCz.js} +1 -1
  86. package/storybook-static/assets/{InputFile.stories-CD4sJtXF.js → InputFile.stories-C2xolZZp.js} +1 -1
  87. package/storybook-static/assets/{InputFiles-DwgBtqPe.js → InputFiles-D2X5XwMg.js} +1 -1
  88. package/storybook-static/assets/{InputFiles-DSOs_hpc.js → InputFiles-DW_A7HZQ.js} +1 -1
  89. package/storybook-static/assets/{InputFiles.stories-B2zPOUXW.js → InputFiles.stories-Cy4lGiDs.js} +1 -1
  90. package/storybook-static/assets/{InputFilesList-DWtH6HFC.js → InputFilesList-D-T9k_qj.js} +1 -1
  91. package/storybook-static/assets/{InputImage-Cke0I8XV.js → InputImage-COyE-G8n.js} +1 -1
  92. package/storybook-static/assets/{InputImage-CnTU-bKF.js → InputImage-VviyVqWs.js} +1 -1
  93. package/storybook-static/assets/{InputImage.stories-CadyFqUh.js → InputImage.stories-C7PZBPak.js} +1 -1
  94. package/storybook-static/assets/{InteractiveComponents-cNgymLXT.js → InteractiveComponents-DsXWc2Ba.js} +1 -1
  95. package/storybook-static/assets/{InteractiveComponents.stories-c5kIdj-d.js → InteractiveComponents.stories-xzIOC6VP.js} +1 -1
  96. package/storybook-static/assets/{LayoutPicker-u5tv4tmF.js → LayoutPicker-CEe3rtKw.js} +1 -1
  97. package/storybook-static/assets/{LayoutPicker-BydBdeCh.js → LayoutPicker-DqauomnH.js} +1 -1
  98. package/storybook-static/assets/{LayoutPicker.stories-ZcTgJxX5.js → LayoutPicker.stories-DZS4nX4W.js} +1 -1
  99. package/storybook-static/assets/{Listbox-CaBDvhDA.js → Listbox-DMBqQzvF.js} +1 -1
  100. package/storybook-static/assets/{Listbox-CzmfAAEG.js → Listbox-DcoYj_fu.js} +1 -1
  101. package/storybook-static/assets/{Listbox.stories-B_tFWmxp.js → Listbox.stories-CiEKNklg.js} +1 -1
  102. package/storybook-static/assets/{Modal-CIptTLdh.js → Modal-B2NdQSX-.js} +1 -1
  103. package/storybook-static/assets/{Modal-DIJuHLSp.js → Modal-XzWN4rYg.js} +1 -1
  104. package/storybook-static/assets/{Modal.stories-BAh1Lzf0.js → Modal.stories-DiO0SJb6.js} +1 -1
  105. package/storybook-static/assets/{ModalManagerProvider-DH2lt3jw.js → ModalManagerProvider-CXZWFJBk.js} +1 -1
  106. package/storybook-static/assets/{MultiSelect-CbcU2Cam.js → MultiSelect-Bdo1Sjz8.js} +1 -1
  107. package/storybook-static/assets/{MultiSelect-OPkS-VFp.js → MultiSelect-CIrw0Nez.js} +1 -1
  108. package/storybook-static/assets/{MultiSelect.stories-jghnBwe0.js → MultiSelect.stories-DsYsvZRr.js} +1 -1
  109. package/storybook-static/assets/{MultiSelectCore-AgK9lN-8.js → MultiSelectCore-DVlr9xCh.js} +1 -1
  110. package/storybook-static/assets/{NoData-CRi9NzcI.js → NoData-D0rf5MW3.js} +1 -1
  111. package/storybook-static/assets/{NotificationsHost-C8sCDEzY.js → NotificationsHost-BQZaAM-V.js} +1 -1
  112. package/storybook-static/assets/{NotificationsHost.stories-BxpWtMHl.js → NotificationsHost.stories-DwymJZby.js} +1 -1
  113. package/storybook-static/assets/{ODataMultiSelect-Cjptiw3k.js → ODataMultiSelect-DMSWI6tE.js} +1 -1
  114. package/storybook-static/assets/{ODataMultiSelect.stories-B-tBcHkU.js → ODataMultiSelect.stories-B3zztIBx.js} +1 -1
  115. package/storybook-static/assets/{ODataSelect-BdVlf2WW.js → ODataSelect-C7HWF4Mk.js} +1 -1
  116. package/storybook-static/assets/{ODataSelect.stories-DZv8DgW4.js → ODataSelect.stories-BTqluN2n.js} +1 -1
  117. package/storybook-static/assets/{ODataTreeMultiSelect-B83uLKnT.js → ODataTreeMultiSelect-D1C46tO1.js} +1 -1
  118. package/storybook-static/assets/{ODataTreeMultiSelect.stories-k92VjXYz.js → ODataTreeMultiSelect.stories-Cau6yuzj.js} +1 -1
  119. package/storybook-static/assets/{ODataTreeSelect-CkZeBBoA.js → ODataTreeSelect-DjieOI9n.js} +1 -1
  120. package/storybook-static/assets/{ODataTreeSelect.stories-COweaWEr.js → ODataTreeSelect.stories-C2QXdt7d.js} +1 -1
  121. package/storybook-static/assets/{OneStepScroller-dD9RSWvg.js → OneStepScroller-srOmxRQp.js} +1 -1
  122. package/storybook-static/assets/{Option-lTkoUcHa.js → Option-7XzYAa1X.js} +1 -1
  123. package/storybook-static/assets/{OptionButton-Bt6YtqRZ.js → OptionButton-De2RG5bE.js} +1 -1
  124. package/storybook-static/assets/{OptionContent-C7Zoef1L.js → OptionContent-J_mD8o8Q.js} +1 -1
  125. package/storybook-static/assets/{OptionContentContainer-xpO-es_t.js → OptionContentContainer-BMe8XiaH.js} +1 -1
  126. package/storybook-static/assets/{PeriodSelect-CmGjITS0.js → PeriodSelect-BanQI_dT.js} +1 -1
  127. package/storybook-static/assets/{PeriodSelect-DkGZmPFu.js → PeriodSelect-DffdZHTx.js} +1 -1
  128. package/storybook-static/assets/{PeriodSelect.stories-BxkZen1s.js → PeriodSelect.stories-D_mZIvPa.js} +1 -1
  129. package/storybook-static/assets/{PickerField-vwGcXNU3.js → PickerField-BiRCrEVk.js} +1 -1
  130. package/storybook-static/assets/{PickerTriggerActions-BVO2pwu2.js → PickerTriggerActions-SYQofxvL.js} +1 -1
  131. package/storybook-static/assets/{Popover-DU0wD6MT.js → Popover-CyFO9TsF.js} +1 -1
  132. package/storybook-static/assets/{Popover-PRWJVARx.js → Popover-DVLKhPpI.js} +1 -1
  133. package/storybook-static/assets/{Popover.stories-CXKDCIfT.js → Popover.stories-z-_6ttYX.js} +1 -1
  134. package/storybook-static/assets/{PresetRangeDateInput-B1oR9Z-A.js → PresetRangeDateInput-CNwYUovX.js} +1 -1
  135. package/storybook-static/assets/{PresetRangeDateInput-DUcxF5lh.js → PresetRangeDateInput-DusPRYOo.js} +1 -1
  136. package/storybook-static/assets/{PresetRangeDateInput.stories-CAPHV6_P.js → PresetRangeDateInput.stories-C_o_VW2j.js} +1 -1
  137. package/storybook-static/assets/{PresetSelect-Hrow5Qbz.js → PresetSelect-CV3zwYQR.js} +1 -1
  138. package/storybook-static/assets/{README-DnpmMCNN.js → README-0xXSqDp8.js} +1 -1
  139. package/storybook-static/assets/{README-AWtoYOeO.js → README-2-1qM_na.js} +1 -1
  140. package/storybook-static/assets/{README-O1ww7U1S.js → README-4aHWePja.js} +1 -1
  141. package/storybook-static/assets/{README-C8-H1dVZ.js → README-7eESTN29.js} +1 -1
  142. package/storybook-static/assets/{README-BLog3wnj.js → README-B5zjJGVN.js} +1 -1
  143. package/storybook-static/assets/{README-JrppLPED.js → README-BG0ZHFMO.js} +1 -1
  144. package/storybook-static/assets/{README-CF5B-uBm.js → README-BJ0oZ6IK.js} +1 -1
  145. package/storybook-static/assets/{README-DUVORqie.js → README-BaVIhvx2.js} +1 -1
  146. package/storybook-static/assets/{README-BCBBtU0T.js → README-BdSEAONV.js} +1 -1
  147. package/storybook-static/assets/{README-CDq7upsw.js → README-BgG12pti.js} +1 -1
  148. package/storybook-static/assets/{README-FJ4JNfan.js → README-BggXgUKF.js} +1 -1
  149. package/storybook-static/assets/{README-BPOSX1IH.js → README-BjBW3_iS.js} +1 -1
  150. package/storybook-static/assets/{README-COzEPNJ8.js → README-Bjq-bxH1.js} +1 -1
  151. package/storybook-static/assets/{README-BIHT1kGT.js → README-BmcSs4kj.js} +1 -1
  152. package/storybook-static/assets/{README-C_hI3IVn.js → README-Bn7kAPLQ.js} +1 -1
  153. package/storybook-static/assets/{README-CTbRRHIT.js → README-BoQbGA96.js} +1 -1
  154. package/storybook-static/assets/{README-DjM1av8U.js → README-BwUFmp9h.js} +1 -1
  155. package/storybook-static/assets/{README-CxBqJjI3.js → README-BwvDtGJp.js} +1 -1
  156. package/storybook-static/assets/{README-SkcZXYo1.js → README-BxC_3EeL.js} +1 -1
  157. package/storybook-static/assets/{README-mq6pyk4G.js → README-C-U-dI9P.js} +1 -1
  158. package/storybook-static/assets/{README-Cb_U_ZYK.js → README-C-e2RqTI.js} +1 -1
  159. package/storybook-static/assets/{README-BB_tSzAG.js → README-C3-4o6yH.js} +1 -1
  160. package/storybook-static/assets/{README-Xu3cmYZg.js → README-CFpsye1R.js} +1 -1
  161. package/storybook-static/assets/{README-MUzkojYd.js → README-CJG1QnZ8.js} +1 -1
  162. package/storybook-static/assets/{README-zelg96nd.js → README-Cc67rRzO.js} +1 -1
  163. package/storybook-static/assets/{README-bcnh89ek.js → README-CgHkf8AZ.js} +1 -1
  164. package/storybook-static/assets/{README-diVWU6bQ.js → README-CjwjADv4.js} +1 -1
  165. package/storybook-static/assets/{README-CRfg4Opx.js → README-CtA0tP_V.js} +1 -1
  166. package/storybook-static/assets/{README-DA8e0atn.js → README-D0SwEPQG.js} +1 -1
  167. package/storybook-static/assets/{README-De02nG6s.js → README-D0eHrEQF.js} +1 -1
  168. package/storybook-static/assets/{README-CdDd6nD8.js → README-D8bNkmba.js} +1 -1
  169. package/storybook-static/assets/{README-UfCsOg0n.js → README-DCP4ywXT.js} +1 -1
  170. package/storybook-static/assets/{README-CGalXaw7.js → README-DEHjbK77.js} +1 -1
  171. package/storybook-static/assets/{README-BEUQd7JO.js → README-DHXjeQQR.js} +1 -1
  172. package/storybook-static/assets/{README-D_iA9J4Q.js → README-DJsEoOXI.js} +1 -1
  173. package/storybook-static/assets/{README-JqCoy91R.js → README-DWfKideq.js} +1 -1
  174. package/storybook-static/assets/{README-CbCzYjzO.js → README-DZD6wqGT.js} +1 -1
  175. package/storybook-static/assets/{README-DYjyXvbd.js → README-D_V-SEnq.js} +1 -1
  176. package/storybook-static/assets/{README-CF79JAmm.js → README-DkEysBXh.js} +1 -1
  177. package/storybook-static/assets/{README-BDdhvdKa.js → README-DuB9PiOM.js} +1 -1
  178. package/storybook-static/assets/{README-CDYORt73.js → README-Duk1AG16.js} +1 -1
  179. package/storybook-static/assets/{README-DmT1wyUb.js → README-DwC2gAZg.js} +1 -1
  180. package/storybook-static/assets/{README-Cu3r4RYC.js → README-MX6_MwDQ.js} +1 -1
  181. package/storybook-static/assets/{README-CHgqsGMV.js → README-TaumiOmj.js} +1 -1
  182. package/storybook-static/assets/{README-BwSjP1rm.js → README-_ysKMvAx.js} +1 -1
  183. package/storybook-static/assets/{README-w3_FegOo.js → README-b_q7W3j3.js} +1 -1
  184. package/storybook-static/assets/{README-CRk_ElRL.js → README-gE_kxplo.js} +1 -1
  185. package/storybook-static/assets/{README-o-a96Aib.js → README-gjTa9tZ_.js} +1 -1
  186. package/storybook-static/assets/{README-D0EguYwa.js → README-p62MFS5g.js} +1 -1
  187. package/storybook-static/assets/{README-ctVjdbq7.js → README-swRdnv1f.js} +1 -1
  188. package/storybook-static/assets/{README-BCXjh3I1.js → README-x--9qFul.js} +1 -1
  189. package/storybook-static/assets/{README-BJXCE3us.js → README-xDqMMO8-.js} +1 -1
  190. package/storybook-static/assets/{README-f5UPnPkY.js → README-xWo3G40o.js} +1 -1
  191. package/storybook-static/assets/{RadioButton-BztQMLNR.js → RadioButton-B6x2_7or.js} +1 -1
  192. package/storybook-static/assets/{RadioButton-DUOPHyRt.js → RadioButton-CBABLSvE.js} +1 -1
  193. package/storybook-static/assets/{RadioButton.stories-BOE5cGej.js → RadioButton.stories-DLd7EmuZ.js} +1 -1
  194. package/storybook-static/assets/{RadioGroup-CDqbnv4J.js → RadioGroup-CIaXj3zQ.js} +1 -1
  195. package/storybook-static/assets/{RadioGroup-QICEWbjz.js → RadioGroup-Ce5Irxz3.js} +1 -1
  196. package/storybook-static/assets/{RadioGroup.stories-f2qU7hhM.js → RadioGroup.stories-DKhMElyC.js} +1 -1
  197. package/storybook-static/assets/{ResponsiveLayoutPreview-BWBLsr8u.js → ResponsiveLayoutPreview-Bcojizl4.js} +1 -1
  198. package/storybook-static/assets/{Scrollable-CAnjXb6_.js → Scrollable-B5e-IEe8.js} +1 -1
  199. package/storybook-static/assets/{Scrollable-Cc641kuG.js → Scrollable-BfCUp0BO.js} +1 -1
  200. package/storybook-static/assets/{Scrollable.stories-ZQT-1f1f.js → Scrollable.stories-B4IMoipT.js} +1 -1
  201. package/storybook-static/assets/{Select-D6RLm9D5.js → Select-CdjYSSyG.js} +1 -1
  202. package/storybook-static/assets/{Select-BeoH_3V4.js → Select-DYHUwcLE.js} +1 -1
  203. package/storybook-static/assets/{Select.stories-DI6pVDzi.js → Select.stories-BuaXB6qE.js} +1 -1
  204. package/storybook-static/assets/{Separator-De9vEg4j.js → Separator-CS6gkWSA.js} +1 -1
  205. package/storybook-static/assets/{Separator-tkZoR8Ft.js → Separator-D45blL6r.js} +1 -1
  206. package/storybook-static/assets/{Separator.stories-CGZrsdLJ.js → Separator.stories-C2GzCEGW.js} +1 -1
  207. package/storybook-static/assets/{SerializableSelect-BWgkYLIe.js → SerializableSelect-7raamiuG.js} +1 -1
  208. package/storybook-static/assets/{SerializableSelect.stories-BfGg_SmN.js → SerializableSelect.stories-CD0e6DQk.js} +1 -1
  209. package/storybook-static/assets/{ShimmerText-D1ygdKrh.js → ShimmerText-DkiewbBe.js} +1 -1
  210. package/storybook-static/assets/{ShimmerText.stories-D5AB85Hj.js → ShimmerText.stories-DrXMcGDO.js} +1 -1
  211. package/storybook-static/assets/{SingleDateTimeInput-C2O-fXgE.js → SingleDateTimeInput-BTIgqxH7.js} +1 -1
  212. package/storybook-static/assets/{SingleDateTimeInput-Bf2RpSbC.js → SingleDateTimeInput-Dj_VSvfb.js} +1 -1
  213. package/storybook-static/assets/{SingleDateTimeInput.stories-BUbSA1UY.js → SingleDateTimeInput.stories-CnYFrOUX.js} +1 -1
  214. package/storybook-static/assets/{Slider-BhfM7XZ9.js → Slider-CLE5MSJr.js} +1 -1
  215. package/storybook-static/assets/{Slider-CVPKS3XB.js → Slider-D4wvDQDc.js} +1 -1
  216. package/storybook-static/assets/{Slider.stories-C6ZUJc4b.js → Slider.stories-Cbz3RilT.js} +1 -1
  217. package/storybook-static/assets/{SliderInput-MMUGLDDl.js → SliderInput-AC9oLjGF.js} +1 -1
  218. package/storybook-static/assets/{SliderInput-PwHeDeo2.js → SliderInput-DbyDo3fR.js} +1 -1
  219. package/storybook-static/assets/{SliderInput.stories-zBDRonPh.js → SliderInput.stories-69pRH0Uk.js} +1 -1
  220. package/storybook-static/assets/{Sortable-BKNLJGIe.js → Sortable-E3DirII-.js} +1 -1
  221. package/storybook-static/assets/{Sortable.stories-CLY263mj.js → Sortable.stories-BbmTcem4.js} +1 -1
  222. package/storybook-static/assets/{Splitter-PyZco_V_.js → Splitter-DbaIQk2G.js} +1 -1
  223. package/storybook-static/assets/{Splitter.stories-CY3Itq_G.js → Splitter.stories-HntpFa6w.js} +1 -1
  224. package/storybook-static/assets/{StateSelect-DfUif3cG.js → StateSelect-8r4Qlf4Y.js} +1 -1
  225. package/storybook-static/assets/{StateSelect-BlEIRWer.js → StateSelect-C7ZIrgDB.js} +1 -1
  226. package/storybook-static/assets/{StateSelect.stories-ClSYkdz8.js → StateSelect.stories-CfUJCQGE.js} +1 -1
  227. package/storybook-static/assets/{StatusIndicator-CL-WMBHT.js → StatusIndicator-IqUZ24rN.js} +1 -1
  228. package/storybook-static/assets/{StatusIndicator.stories-BbpEocDe.js → StatusIndicator.stories-DhKREzk8.js} +1 -1
  229. package/storybook-static/assets/{StringToggle.stories-0r9TfflS.js → StringToggle.stories-BOC_AuIw.js} +1 -1
  230. package/storybook-static/assets/{Switch-AoVSoc9P.js → Switch-58npo6H_.js} +1 -1
  231. package/storybook-static/assets/{Switch-HAWn3D1c.js → Switch-C4wfyH7_.js} +1 -1
  232. package/storybook-static/assets/{Switch.stories-D1VJIWsC.js → Switch.stories-BpABAFmv.js} +1 -1
  233. package/storybook-static/assets/{Table-CyX8frK4.js → Table-RAMtWu9C.js} +1 -1
  234. package/storybook-static/assets/{Table.stories-DoGpFMZB.js → Table.stories-Cth_AbDh.js} +1 -1
  235. package/storybook-static/assets/{TableEditor.stories-Mh6q2awx.js → TableEditor.stories-IfJyun1v.js} +1 -1
  236. package/storybook-static/assets/{Tabs-BZfNXmy0.js → Tabs-CX67nGv0.js} +1 -1
  237. package/storybook-static/assets/{Tabs.stories-C9L4pJDb.js → Tabs.stories-6wO9Pmly.js} +1 -1
  238. package/storybook-static/assets/{TabsBox-qRCIBtqi.js → TabsBox-QKS_MMQ0.js} +1 -1
  239. package/storybook-static/assets/{TagInput-CPB6lb2J.js → TagInput-R6ANDdvh.js} +1 -1
  240. package/storybook-static/assets/{TagInput.stories-CT6B8CVV.js → TagInput.stories-DAyX89-l.js} +1 -1
  241. package/storybook-static/assets/{Text-AbSWZQO3.js → Text-D3vBpXH0.js} +1 -1
  242. package/storybook-static/assets/TextEditorLexicalViewer-DRQG2UON.css +1 -0
  243. package/storybook-static/assets/TextEditorLexicalViewer.stories-RdypWNwx.js +66 -0
  244. package/storybook-static/assets/{Textarea-Bz9O1y1I.js → Textarea-BPtHeqrt.js} +1 -1
  245. package/storybook-static/assets/{Textarea-BY51Li7J.js → Textarea-Cio32hA3.js} +1 -1
  246. package/storybook-static/assets/{Textarea.stories-CJbv3jrK.js → Textarea.stories-DDVaU3Ho.js} +1 -1
  247. package/storybook-static/assets/{TimePanel-Wn5lUiwx.js → TimePanel-e1drsuDA.js} +1 -1
  248. package/storybook-static/assets/{TimePanel.stories-dF5kTdp1.js → TimePanel.stories-Dze9jjtv.js} +1 -1
  249. package/storybook-static/assets/{Toggle-CUO99pvo.js → Toggle-BuLJ3UR_.js} +1 -1
  250. package/storybook-static/assets/{Toggle-BpDn9f6k.js → Toggle-D8UQ_CuL.js} +1 -1
  251. package/storybook-static/assets/{Toggle.stories-T1Hk_etn.js → Toggle.stories-0wuia83j.js} +1 -1
  252. package/storybook-static/assets/{TreeMultiSelect-DEsECkRj.js → TreeMultiSelect-Ciy9H9Q3.js} +1 -1
  253. package/storybook-static/assets/{TreeMultiSelect-bqQExCm8.js → TreeMultiSelect-QWOfniqX.js} +1 -1
  254. package/storybook-static/assets/{TreeMultiSelect.stories-DyK7bWZu.js → TreeMultiSelect.stories-C5bKUKLA.js} +1 -1
  255. package/storybook-static/assets/{TreePickerBase-BCbV37dL.js → TreePickerBase-DAld1sj1.js} +1 -1
  256. package/storybook-static/assets/{TreeSelect-Cepr58wS.js → TreeSelect-ANFeSIqw.js} +1 -1
  257. package/storybook-static/assets/{TreeSelect-CTvlmF81.js → TreeSelect-DKUJycNd.js} +1 -1
  258. package/storybook-static/assets/{TreeSelect.stories-RVPMBCd_.js → TreeSelect.stories-BJErYrTv.js} +1 -1
  259. package/storybook-static/assets/{TreeTable-DznOmuAD.js → TreeTable-DcyUjVXj.js} +1 -1
  260. package/storybook-static/assets/{TreeTable.stories-Lx2ImfgC.js → TreeTable.stories-BnyxdNPz.js} +1 -1
  261. package/storybook-static/assets/{blocks-u0CCD6I1.js → blocks-Bn1nLfdu.js} +4 -4
  262. package/storybook-static/assets/{check-CHvYWZD5.js → check-DTcQ3CsH.js} +1 -1
  263. package/storybook-static/assets/{chevron-down-DqHAghNU.js → chevron-down-CRBjmU7w.js} +1 -1
  264. package/storybook-static/assets/{chevron-left-Bj7vIyg-.js → chevron-left-CBPOblch.js} +1 -1
  265. package/storybook-static/assets/{chevron-right-BUqG0v39.js → chevron-right-Bryg2EIf.js} +1 -1
  266. package/storybook-static/assets/{chunk-W22LQPXL-BSczDjJT.js → chunk-W22LQPXL-44DPZKTZ.js} +1 -1
  267. package/storybook-static/assets/{circle-alert-DXUFM6uc.js → circle-alert-DviK8puL.js} +1 -1
  268. package/storybook-static/assets/{circle-check-0x9vHUU_.js → circle-check-B1-l7Oh4.js} +1 -1
  269. package/storybook-static/assets/{contextMenu-D8PjjiwD.js → contextMenu-DtHQnSjw.js} +1 -1
  270. package/storybook-static/assets/{download-15Eb3eUj.js → download-BuLQijJq.js} +1 -1
  271. package/storybook-static/assets/{floating-ui.react-CypKyrM4.js → floating-ui.react-iTaFJp98.js} +1 -1
  272. package/storybook-static/assets/{foundationApi-dmPNotab.js → foundationApi-Bjw5h-ru.js} +1 -1
  273. package/storybook-static/assets/{foundationLib-CyrgF87o.js → foundationLib-BcePCYWP.js} +1 -1
  274. package/storybook-static/assets/{hooks-DM8_3IU2.js → hooks-CiUB_4kG.js} +1 -1
  275. package/storybook-static/assets/{iframe-BmGorvhi.js → iframe-BvendKJ_.js} +4 -4
  276. package/storybook-static/assets/iframe-BzGX4Usd.js +1 -0
  277. package/storybook-static/assets/{info-HMSnCOw2.js → info-Dq-9oYHd.js} +1 -1
  278. package/storybook-static/assets/{isRecord-DXDTW-jA-DtM9YD3V.js → isRecord-DXDTW-jA-CMenzszF.js} +1 -1
  279. package/storybook-static/assets/odata-f2MNATrV.js +1 -0
  280. package/storybook-static/assets/{odataStoryFixtures-DiC-gXoK.js → odataStoryFixtures-BaKh8qyu.js} +1 -1
  281. package/storybook-static/assets/{react-BLxZ0fqY.js → react-B6cO4JYx.js} +1 -1
  282. package/storybook-static/assets/{refresh-cw-Obk3FkLO.js → refresh-cw-DmxZlsqm.js} +1 -1
  283. package/storybook-static/assets/{settings-2-BQ2LYeiA.js → settings-2-CBuqWUWt.js} +1 -1
  284. package/storybook-static/assets/{sortable-BrLDYUp8.js → sortable-BkTzd-5v.js} +1 -1
  285. package/storybook-static/assets/{syntaxhighlighter-QEQV7K2Y-JUCJEf5U.js → syntaxhighlighter-QEQV7K2Y-h6bhL7V7.js} +1 -1
  286. package/storybook-static/assets/{trash-2-CzXfDl_F.js → trash-2-wTK0eWnF.js} +1 -1
  287. package/storybook-static/assets/{triangle-alert-Ww2Tuzxk.js → triangle-alert-CD0VXyGn.js} +1 -1
  288. package/storybook-static/assets/{useODataSelectBase-DIZSERuU.js → useODataSelectBase-keqr2Q3a.js} +1 -1
  289. package/storybook-static/assets/{useODataTreeData-DLgIiNMG.js → useODataTreeData-BLDGoADN.js} +1 -1
  290. package/storybook-static/assets/{usePickerQuery-BZ1Hrn2J.js → usePickerQuery-BA8NMnw6.js} +1 -1
  291. package/storybook-static/assets/{usePickerTriggerController-BIarg6M4.js → usePickerTriggerController-Ceb5Hrtf.js} +1 -1
  292. package/storybook-static/assets/{x-BmlmEU-a.js → x-CsG3nxct.js} +1 -1
  293. package/storybook-static/iframe.html +2 -2
  294. package/storybook-static/index.json +1 -1
  295. package/storybook-static/project.json +1 -1
  296. package/storybook-static/assets/iframe-WuXBbC_P.js +0 -1
  297. package/storybook-static/assets/odata-DLogt0PY.js +0 -1
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./theming-BgT2grXK.js","./rolldown-runtime-DkW27tQK.js","./react-BZJXY1be.js","./chunk-IMSF75WX-CGYlPTyG.js","./chunk-DRQKCCAG-DvsmU7ha.js","./syntaxhighlighter-QEQV7K2Y-JUCJEf5U.js","./chunk-W22LQPXL-BSczDjJT.js","./iframe-BmGorvhi.js","./preload-helper-wdlQj8DP.js","./chunk-KJHJLCBK-yRlRMfNs.js","./iframe-CfHCpaxi.css","./react-dom-BzEl8usk.js","./chunk-242VQQM5-bHL6qIJq.js","./formatter-L2YTDE3Q-CRGuSxAF.js","./WithTooltip-CDUNV5IS-mFMh6Qcu.js","./Color-6AOWCN3U-Dzuzn5Yr.js","./chunk-QQBDHPVZ-DC5n6Pix.js"])))=>i.map(i=>d[i]);
2
- import{a as e,n as t,r as n,t as r}from"./rolldown-runtime-DkW27tQK.js";import{n as i,t as a}from"./preload-helper-wdlQj8DP.js";import{t as o}from"./react-BZJXY1be.js";import{a as s,c,d as l,g as u,h as d,i as f,l as p,m,n as h,o as g,p as _,r as v,s as y,t as b,u as x}from"./chunk-KJHJLCBK-yRlRMfNs.js";import{a as S,i as C,n as w,o as T,t as E}from"./chunk-IMSF75WX-CGYlPTyG.js";import{c as D,d as O,f as k,l as A,n as j,p as M,u as ee}from"./iframe-BmGorvhi.js";import{i as te,t as ne}from"./react-Bl2r1tuC.js";import{n as re,r as ie,t as ae}from"./chunk-QQBDHPVZ-DC5n6Pix.js";import{a as oe,n as se,o as ce,r as le}from"./chunk-W22LQPXL-BSczDjJT.js";import{C as ue,S as de,_ as fe,a as pe,b as me,c as he,f as ge,g as _e,h as ve,i as ye,l as be,m as xe,n as Se,o as Ce,p as we,r as Te,s as Ee,t as De,u as N,v as Oe,w as ke,x as Ae,y as je}from"./theming-BgT2grXK.js";import{n as Me,t as Ne}from"./chunk-DRQKCCAG-DvsmU7ha.js";import{t as Pe}from"./react-dom-BzEl8usk.js";import{t as Fe}from"./chunk-242VQQM5-bHL6qIJq.js";import{t as Ie}from"./shim-DlYORV19.js";function Le(){try{return!!globalThis.__vitest_browser__||!!globalThis.window?.navigator?.userAgent?.match(/StorybookTestRunner/)}catch{return!1}}var P,Re,ze,Be,Ve,He,Ue,We,Ge,Ke,qe,Je,Ye,Xe,Ze,Qe,$e,et,tt,nt,rt,it,at,ot,st;function ct(){return(ct=t((()=>{P=e(o(),1),Re=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{d:`M6 3.5a.5.5 0 01.5.5v1.5H8a.5.5 0 010 1H6.5V8a.5.5 0 01-1 0V6.5H4a.5.5 0 010-1h1.5V4a.5.5 0 01.5-.5z`,fill:e}),P.createElement(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z`,fill:e}))),ze=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{d:`M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z`,fill:e}),P.createElement(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M6 11.5c1.35 0 2.587-.487 3.544-1.294a.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 106 11.5zm0-1a4.5 4.5 0 100-9 4.5 4.5 0 000 9z`,fill:e}))),Be=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{d:`M1.5 2.837V1.5a.5.5 0 00-1 0V4a.5.5 0 00.5.5h2.5a.5.5 0 000-1H2.258a4.5 4.5 0 11-.496 4.016.5.5 0 10-.942.337 5.502 5.502 0 008.724 2.353.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 101.5 2.837z`,fill:e}))),Ve=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{d:`M10.139 8.725l1.36-1.323a.568.568 0 00.151-.54.534.534 0 00-.377-.396l-2.705-.708 2.22-4.976a.568.568 0 00-.15-.666.497.497 0 00-.648.008L5.464 4.05l.708.71 2.848-2.47-1.64 3.677.697.697 2.164.567-.81.787.708.708zM2.523 6.6a.566.566 0 00-.177.544.534.534 0 00.382.41l2.782.721-1.494 5.013a.563.563 0 00.217.627.496.496 0 00.629-.06l3.843-3.736-.708-.707-2.51 2.44 1.137-3.814-.685-.685-2.125-.55.844-.731-.71-.71L2.524 6.6zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11z`,fill:e}))),He=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{d:`M4 5.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7.5a.5.5 0 000 1h5a.5.5 0 000-1h-5zM4 10.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5z`,fill:e}),P.createElement(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M1.5 0a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V3.207a.5.5 0 00-.146-.353L10.146.146A.5.5 0 009.793 0H1.5zM2 1h7.5v2a.5.5 0 00.5.5h2V13H2V1z`,fill:e}))),Ue=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 15`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M11.746.07A.5.5 0 0011.5.003h-6a.5.5 0 00-.5.5v2.5H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h8a.5.5 0 00.5-.5v-2.5h4.5a.5.5 0 00.5-.5v-8a.498.498 0 00-.15-.357L11.857.154a.506.506 0 00-.11-.085zM9 10.003h4v-7h-1.5a.5.5 0 01-.5-.5v-1.5H6v2h.5a.5.5 0 01.357.15L8.85 5.147c.093.09.15.217.15.357v4.5zm-8-6v9h7v-7H6.5a.5.5 0 01-.5-.5v-1.5H1z`,fill:e}))),We=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{d:`M8.982 1.632a.5.5 0 00-.964-.263l-3 11a.5.5 0 10.964.263l3-11zM3.32 3.616a.5.5 0 01.064.704L1.151 7l2.233 2.68a.5.5 0 11-.768.64l-2.5-3a.5.5 0 010-.64l2.5-3a.5.5 0 01.704-.064zM10.68 3.616a.5.5 0 00-.064.704L12.849 7l-2.233 2.68a.5.5 0 00.768.64l2.5-3a.5.5 0 000-.64l-2.5-3a.5.5 0 00-.704-.064z`,fill:e}))),Ge=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M13.854 2.146l-2-2a.5.5 0 00-.708 0l-1.5 1.5-8.995 8.995a.499.499 0 00-.143.268L.012 13.39a.495.495 0 00.135.463.5.5 0 00.462.134l2.482-.496a.495.495 0 00.267-.143l8.995-8.995 1.5-1.5a.5.5 0 000-.708zM12 3.293l.793-.793L11.5 1.207 10.707 2 12 3.293zm-2-.586L1.707 11 3 12.293 11.293 4 10 2.707zM1.137 12.863l.17-.849.679.679-.849.17z`,fill:e}))),Ke=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{d:`M11.146 2.146a.5.5 0 11.707.707L7.708 7l4.147 4.146a.5.5 0 11-.707.707L7 7.708l-4.146 4.147a.5.5 0 01-.707-.708L6.293 7 2.147 2.853a.5.5 0 11.707-.707L7 6.293l4.146-4.147z`,fill:e}))),qe=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{d:`M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z`,fill:e}),P.createElement(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z`,fill:e}))),Je=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{d:`M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z`,fill:e}),P.createElement(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z`,fill:e}))),Ye=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{d:`M9.854 4.146a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z`,fill:e}),P.createElement(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z`,fill:e}))),Xe=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M7 14A7 7 0 107 0a7 7 0 000 14zm2.854-9.854a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z`,fill:e}))),Ze=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{d:`M11.841 2.159a2.25 2.25 0 00-3.182 0l-2.5 2.5a2.25 2.25 0 000 3.182.5.5 0 01-.707.707 3.25 3.25 0 010-4.596l2.5-2.5a3.25 3.25 0 014.596 4.596l-2.063 2.063a4.27 4.27 0 00-.094-1.32l1.45-1.45a2.25 2.25 0 000-3.182z`,fill:e}),P.createElement(`path`,{d:`M3.61 7.21c-.1-.434-.132-.88-.095-1.321L1.452 7.952a3.25 3.25 0 104.596 4.596l2.5-2.5a3.25 3.25 0 000-4.596.5.5 0 00-.707.707 2.25 2.25 0 010 3.182l-2.5 2.5A2.25 2.25 0 112.159 8.66l1.45-1.45z`,fill:e}))),Qe=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{d:`M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1v-4.5a.5.5 0 00-1 0v4.5H2v-10h4.5a.5.5 0 000-1H2z`,fill:e}),P.createElement(`path`,{d:`M7.354 7.357L12 2.711v1.793a.5.5 0 001 0v-3a.5.5 0 00-.5-.5h-3a.5.5 0 100 1h1.793L6.646 6.65a.5.5 0 10.708.707z`,fill:e}))),$e=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{d:`M1.146 4.604l5.5 5.5a.5.5 0 00.708 0l5.5-5.5a.5.5 0 00-.708-.708L7 9.043 1.854 3.896a.5.5 0 10-.708.708z`,fill:e}))),et=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{d:`M11.104 7.354l-5.5 5.5a.5.5 0 01-.708-.708L10.043 7 4.896 1.854a.5.5 0 11.708-.708l5.5 5.5a.5.5 0 010 .708z`,fill:e}))),tt=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{d:`M3.854 9.104a.5.5 0 11-.708-.708l3.5-3.5a.5.5 0 01.708 0l3.5 3.5a.5.5 0 01-.708.708L7 5.957 3.854 9.104z`,fill:e}))),nt=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{d:`M3.854 4.896a.5.5 0 10-.708.708l3.5 3.5a.5.5 0 00.708 0l3.5-3.5a.5.5 0 00-.708-.708L7 8.043 3.854 4.896z`,fill:e}))),rt=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M9.104 10.146a.5.5 0 01-.708.708l-3.5-3.5a.5.5 0 010-.708l3.5-3.5a.5.5 0 11.708.708L5.957 7l3.147 3.146z`,fill:e}))),it=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M4.896 10.146a.5.5 0 00.708.708l3.5-3.5a.5.5 0 000-.708l-3.5-3.5a.5.5 0 10-.708.708L8.043 7l-3.147 3.146z`,fill:e}))),at=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{d:`M1.146 3.854a.5.5 0 010-.708l2-2a.5.5 0 11.708.708L2.707 3h6.295A4 4 0 019 11H3a.5.5 0 010-1h6a3 3 0 100-6H2.707l1.147 1.146a.5.5 0 11-.708.708l-2-2z`,fill:e}))),ot=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{d:`M5.5 1A.5.5 0 005 .5H2a.5.5 0 000 1h1.535a6.502 6.502 0 002.383 11.91.5.5 0 10.165-.986A5.502 5.502 0 014.5 2.1V4a.5.5 0 001 0V1.353a.5.5 0 000-.023V1zM7.507 1a.5.5 0 01.576-.41 6.502 6.502 0 012.383 11.91H12a.5.5 0 010 1H9a.5.5 0 01-.5-.5v-3a.5.5 0 011 0v1.9A5.5 5.5 0 007.917 1.576.5.5 0 017.507 1z`,fill:e}))),st=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{d:`M7.092.5H7a6.5 6.5 0 106.41 7.583.5.5 0 10-.986-.166A5.495 5.495 0 017 12.5a5.5 5.5 0 010-11h.006a5.5 5.5 0 014.894 3H10a.5.5 0 000 1h3a.5.5 0 00.5-.5V2a.5.5 0 00-1 0v1.535A6.495 6.495 0 007.092.5z`,fill:e})))})))()}function lt({code:e,category:t}){return`SB_${t}_${String(e).padStart(4,`0`)}`}function ut(e){if(/^(?!.*storybook\.js\.org)|[?&]ref=error\b/.test(e))return e;try{let t=new URL(e);return t.searchParams.set(`ref`,`error`),t.toString()}catch{return e}}var dt;function ft(){return(ft=t((()=>{dt=class e extends Error{constructor(t){super(e.getFullMessage(t),t.cause===void 0?void 0:{cause:t.cause}),this.data={},this.fromStorybook=!0,this.isHandledError=!1,this.subErrors=[],this.category=t.category,this.documentation=t.documentation??!1,this.code=t.code,this.isHandledError=t.isHandledError??!1,this.name=t.name,this.subErrors=t.subErrors??[]}get fullErrorCode(){return lt({code:this.code,category:this.category})}get name(){let e=this._name||this.constructor.name;return`${this.fullErrorCode} (${e})`}set name(e){this._name=e}static getFullMessage({documentation:e,code:t,category:n,message:r}){let i;return e===!0?i=`https://storybook.js.org/error/${lt({code:t,category:n})}?ref=error`:typeof e==`string`?i=ut(e):Array.isArray(e)&&(i=`
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./theming-BgT2grXK.js","./rolldown-runtime-DkW27tQK.js","./react-BZJXY1be.js","./chunk-IMSF75WX-CGYlPTyG.js","./chunk-DRQKCCAG-DvsmU7ha.js","./syntaxhighlighter-QEQV7K2Y-h6bhL7V7.js","./chunk-W22LQPXL-44DPZKTZ.js","./iframe-BvendKJ_.js","./preload-helper-wdlQj8DP.js","./chunk-KJHJLCBK-yRlRMfNs.js","./iframe-CfHCpaxi.css","./react-dom-BzEl8usk.js","./chunk-242VQQM5-bHL6qIJq.js","./formatter-L2YTDE3Q-CRGuSxAF.js","./WithTooltip-CDUNV5IS-mFMh6Qcu.js","./Color-6AOWCN3U-CZ7Lqth4.js","./chunk-QQBDHPVZ-DC5n6Pix.js"])))=>i.map(i=>d[i]);
2
+ import{a as e,n as t,r as n,t as r}from"./rolldown-runtime-DkW27tQK.js";import{n as i,t as a}from"./preload-helper-wdlQj8DP.js";import{t as o}from"./react-BZJXY1be.js";import{a as s,c,d as l,g as u,h as d,i as f,l as p,m,n as h,o as g,p as _,r as v,s as y,t as b,u as x}from"./chunk-KJHJLCBK-yRlRMfNs.js";import{a as S,i as C,n as w,o as T,t as E}from"./chunk-IMSF75WX-CGYlPTyG.js";import{c as D,d as O,f as k,l as A,n as j,p as M,u as ee}from"./iframe-BvendKJ_.js";import{i as te,t as ne}from"./react-Bl2r1tuC.js";import{n as re,r as ie,t as ae}from"./chunk-QQBDHPVZ-DC5n6Pix.js";import{a as oe,n as se,o as ce,r as le}from"./chunk-W22LQPXL-44DPZKTZ.js";import{C as ue,S as de,_ as fe,a as pe,b as me,c as he,f as ge,g as _e,h as ve,i as ye,l as be,m as xe,n as Se,o as Ce,p as we,r as Te,s as Ee,t as De,u as N,v as Oe,w as ke,x as Ae,y as je}from"./theming-BgT2grXK.js";import{n as Me,t as Ne}from"./chunk-DRQKCCAG-DvsmU7ha.js";import{t as Pe}from"./react-dom-BzEl8usk.js";import{t as Fe}from"./chunk-242VQQM5-bHL6qIJq.js";import{t as Ie}from"./shim-DlYORV19.js";function Le(){try{return!!globalThis.__vitest_browser__||!!globalThis.window?.navigator?.userAgent?.match(/StorybookTestRunner/)}catch{return!1}}var P,Re,ze,Be,Ve,He,Ue,We,Ge,Ke,qe,Je,Ye,Xe,Ze,Qe,$e,et,tt,nt,rt,it,at,ot,st;function ct(){return(ct=t((()=>{P=e(o(),1),Re=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{d:`M6 3.5a.5.5 0 01.5.5v1.5H8a.5.5 0 010 1H6.5V8a.5.5 0 01-1 0V6.5H4a.5.5 0 010-1h1.5V4a.5.5 0 01.5-.5z`,fill:e}),P.createElement(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z`,fill:e}))),ze=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{d:`M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z`,fill:e}),P.createElement(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M6 11.5c1.35 0 2.587-.487 3.544-1.294a.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 106 11.5zm0-1a4.5 4.5 0 100-9 4.5 4.5 0 000 9z`,fill:e}))),Be=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{d:`M1.5 2.837V1.5a.5.5 0 00-1 0V4a.5.5 0 00.5.5h2.5a.5.5 0 000-1H2.258a4.5 4.5 0 11-.496 4.016.5.5 0 10-.942.337 5.502 5.502 0 008.724 2.353.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 101.5 2.837z`,fill:e}))),Ve=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{d:`M10.139 8.725l1.36-1.323a.568.568 0 00.151-.54.534.534 0 00-.377-.396l-2.705-.708 2.22-4.976a.568.568 0 00-.15-.666.497.497 0 00-.648.008L5.464 4.05l.708.71 2.848-2.47-1.64 3.677.697.697 2.164.567-.81.787.708.708zM2.523 6.6a.566.566 0 00-.177.544.534.534 0 00.382.41l2.782.721-1.494 5.013a.563.563 0 00.217.627.496.496 0 00.629-.06l3.843-3.736-.708-.707-2.51 2.44 1.137-3.814-.685-.685-2.125-.55.844-.731-.71-.71L2.524 6.6zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11z`,fill:e}))),He=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{d:`M4 5.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7.5a.5.5 0 000 1h5a.5.5 0 000-1h-5zM4 10.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5z`,fill:e}),P.createElement(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M1.5 0a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V3.207a.5.5 0 00-.146-.353L10.146.146A.5.5 0 009.793 0H1.5zM2 1h7.5v2a.5.5 0 00.5.5h2V13H2V1z`,fill:e}))),Ue=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 15`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M11.746.07A.5.5 0 0011.5.003h-6a.5.5 0 00-.5.5v2.5H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h8a.5.5 0 00.5-.5v-2.5h4.5a.5.5 0 00.5-.5v-8a.498.498 0 00-.15-.357L11.857.154a.506.506 0 00-.11-.085zM9 10.003h4v-7h-1.5a.5.5 0 01-.5-.5v-1.5H6v2h.5a.5.5 0 01.357.15L8.85 5.147c.093.09.15.217.15.357v4.5zm-8-6v9h7v-7H6.5a.5.5 0 01-.5-.5v-1.5H1z`,fill:e}))),We=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{d:`M8.982 1.632a.5.5 0 00-.964-.263l-3 11a.5.5 0 10.964.263l3-11zM3.32 3.616a.5.5 0 01.064.704L1.151 7l2.233 2.68a.5.5 0 11-.768.64l-2.5-3a.5.5 0 010-.64l2.5-3a.5.5 0 01.704-.064zM10.68 3.616a.5.5 0 00-.064.704L12.849 7l-2.233 2.68a.5.5 0 00.768.64l2.5-3a.5.5 0 000-.64l-2.5-3a.5.5 0 00-.704-.064z`,fill:e}))),Ge=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M13.854 2.146l-2-2a.5.5 0 00-.708 0l-1.5 1.5-8.995 8.995a.499.499 0 00-.143.268L.012 13.39a.495.495 0 00.135.463.5.5 0 00.462.134l2.482-.496a.495.495 0 00.267-.143l8.995-8.995 1.5-1.5a.5.5 0 000-.708zM12 3.293l.793-.793L11.5 1.207 10.707 2 12 3.293zm-2-.586L1.707 11 3 12.293 11.293 4 10 2.707zM1.137 12.863l.17-.849.679.679-.849.17z`,fill:e}))),Ke=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{d:`M11.146 2.146a.5.5 0 11.707.707L7.708 7l4.147 4.146a.5.5 0 11-.707.707L7 7.708l-4.146 4.147a.5.5 0 01-.707-.708L6.293 7 2.147 2.853a.5.5 0 11.707-.707L7 6.293l4.146-4.147z`,fill:e}))),qe=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{d:`M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z`,fill:e}),P.createElement(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z`,fill:e}))),Je=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{d:`M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z`,fill:e}),P.createElement(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z`,fill:e}))),Ye=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{d:`M9.854 4.146a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z`,fill:e}),P.createElement(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z`,fill:e}))),Xe=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M7 14A7 7 0 107 0a7 7 0 000 14zm2.854-9.854a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z`,fill:e}))),Ze=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{d:`M11.841 2.159a2.25 2.25 0 00-3.182 0l-2.5 2.5a2.25 2.25 0 000 3.182.5.5 0 01-.707.707 3.25 3.25 0 010-4.596l2.5-2.5a3.25 3.25 0 014.596 4.596l-2.063 2.063a4.27 4.27 0 00-.094-1.32l1.45-1.45a2.25 2.25 0 000-3.182z`,fill:e}),P.createElement(`path`,{d:`M3.61 7.21c-.1-.434-.132-.88-.095-1.321L1.452 7.952a3.25 3.25 0 104.596 4.596l2.5-2.5a3.25 3.25 0 000-4.596.5.5 0 00-.707.707 2.25 2.25 0 010 3.182l-2.5 2.5A2.25 2.25 0 112.159 8.66l1.45-1.45z`,fill:e}))),Qe=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{d:`M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1v-4.5a.5.5 0 00-1 0v4.5H2v-10h4.5a.5.5 0 000-1H2z`,fill:e}),P.createElement(`path`,{d:`M7.354 7.357L12 2.711v1.793a.5.5 0 001 0v-3a.5.5 0 00-.5-.5h-3a.5.5 0 100 1h1.793L6.646 6.65a.5.5 0 10.708.707z`,fill:e}))),$e=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{d:`M1.146 4.604l5.5 5.5a.5.5 0 00.708 0l5.5-5.5a.5.5 0 00-.708-.708L7 9.043 1.854 3.896a.5.5 0 10-.708.708z`,fill:e}))),et=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{d:`M11.104 7.354l-5.5 5.5a.5.5 0 01-.708-.708L10.043 7 4.896 1.854a.5.5 0 11.708-.708l5.5 5.5a.5.5 0 010 .708z`,fill:e}))),tt=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{d:`M3.854 9.104a.5.5 0 11-.708-.708l3.5-3.5a.5.5 0 01.708 0l3.5 3.5a.5.5 0 01-.708.708L7 5.957 3.854 9.104z`,fill:e}))),nt=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{d:`M3.854 4.896a.5.5 0 10-.708.708l3.5 3.5a.5.5 0 00.708 0l3.5-3.5a.5.5 0 00-.708-.708L7 8.043 3.854 4.896z`,fill:e}))),rt=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M9.104 10.146a.5.5 0 01-.708.708l-3.5-3.5a.5.5 0 010-.708l3.5-3.5a.5.5 0 11.708.708L5.957 7l3.147 3.146z`,fill:e}))),it=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M4.896 10.146a.5.5 0 00.708.708l3.5-3.5a.5.5 0 000-.708l-3.5-3.5a.5.5 0 10-.708.708L8.043 7l-3.147 3.146z`,fill:e}))),at=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{d:`M1.146 3.854a.5.5 0 010-.708l2-2a.5.5 0 11.708.708L2.707 3h6.295A4 4 0 019 11H3a.5.5 0 010-1h6a3 3 0 100-6H2.707l1.147 1.146a.5.5 0 11-.708.708l-2-2z`,fill:e}))),ot=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{d:`M5.5 1A.5.5 0 005 .5H2a.5.5 0 000 1h1.535a6.502 6.502 0 002.383 11.91.5.5 0 10.165-.986A5.502 5.502 0 014.5 2.1V4a.5.5 0 001 0V1.353a.5.5 0 000-.023V1zM7.507 1a.5.5 0 01.576-.41 6.502 6.502 0 012.383 11.91H12a.5.5 0 010 1H9a.5.5 0 01-.5-.5v-3a.5.5 0 011 0v1.9A5.5 5.5 0 007.917 1.576.5.5 0 017.507 1z`,fill:e}))),st=P.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>P.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},P.createElement(`path`,{d:`M7.092.5H7a6.5 6.5 0 106.41 7.583.5.5 0 10-.986-.166A5.495 5.495 0 017 12.5a5.5 5.5 0 010-11h.006a5.5 5.5 0 014.894 3H10a.5.5 0 000 1h3a.5.5 0 00.5-.5V2a.5.5 0 00-1 0v1.535A6.495 6.495 0 007.092.5z`,fill:e})))})))()}function lt({code:e,category:t}){return`SB_${t}_${String(e).padStart(4,`0`)}`}function ut(e){if(/^(?!.*storybook\.js\.org)|[?&]ref=error\b/.test(e))return e;try{let t=new URL(e);return t.searchParams.set(`ref`,`error`),t.toString()}catch{return e}}var dt;function ft(){return(ft=t((()=>{dt=class e extends Error{constructor(t){super(e.getFullMessage(t),t.cause===void 0?void 0:{cause:t.cause}),this.data={},this.fromStorybook=!0,this.isHandledError=!1,this.subErrors=[],this.category=t.category,this.documentation=t.documentation??!1,this.code=t.code,this.isHandledError=t.isHandledError??!1,this.name=t.name,this.subErrors=t.subErrors??[]}get fullErrorCode(){return lt({code:this.code,category:this.category})}get name(){let e=this._name||this.constructor.name;return`${this.fullErrorCode} (${e})`}set name(e){this._name=e}static getFullMessage({documentation:e,code:t,category:n,message:r}){let i;return e===!0?i=`https://storybook.js.org/error/${lt({code:t,category:n})}?ref=error`:typeof e==`string`?i=ut(e):Array.isArray(e)&&(i=`
3
3
  ${e.map(e=>` - ${ut(e)}`).join(`
4
4
  `)}`),`${r}${i==null?``:`
5
5
 
@@ -196,7 +196,7 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
196
196
  * {
197
197
  overscroll-behavior: contain;
198
198
  }
199
- }`,document.head.prepend(r);let i=n=>{if(!(n.touches.length===2||t)){if(!e||e===document.documentElement||e===document.body){n.preventDefault();return}e.scrollHeight===e.clientHeight&&e.scrollWidth===e.clientWidth&&n.preventDefault()}},a=e=>{let t=e.target,n=e.relatedTarget;n&&_C(n)?(n.focus({preventScroll:!0}),qE(n,_C(t))):n||(t.parentElement?.closest(`[tabindex]`))?.focus({preventScroll:!0})},o=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(e){let t=document.activeElement!=null&&_C(document.activeElement);o.call(this,{...e,preventScroll:!0}),(!e||!e.preventScroll)&&qE(this,t)};let s=AS(KE(document,`touchstart`,n,{passive:!1,capture:!0}),KE(document,`touchmove`,i,{passive:!1,capture:!0}),KE(document,`blur`,a,!0));return()=>{s(),r.remove(),HTMLElement.prototype.focus=o}}function GE(e,t,n){let r=e.style[t];return e.style[t]=n,()=>{e.style[t]=r}}function KE(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function qE(e,t){t||!IF?JE(e):IF.addEventListener(`resize`,()=>JE(e),{once:!0})}function JE(e){let t=document.scrollingElement||document.documentElement,n=e;for(;n&&n!==t;){let e=mC(n);if(e!==document.documentElement&&e!==document.body&&e!==n){let t=e.getBoundingClientRect(),r=n.getBoundingClientRect();if(r.top<t.top||r.bottom>t.top+n.clientHeight){let n=t.bottom;IF&&(n=Math.min(n,IF.offsetTop+IF.height));let i=r.top-t.top-((n-t.top)/2-r.height/2);e.scrollTo({top:Math.max(0,Math.min(e.scrollHeight-e.clientHeight,e.scrollTop+i)),behavior:`smooth`})}}n=e.parentElement}}function YE(){return(0,nA.useContext)(zF)??{}}function XE(e){let{children:t}=e,n=(0,rA.useContext)(BF),[r,i]=(0,rA.useState)(0),a=(0,rA.useMemo)(()=>({parent:n,modalCount:r,addModal(){i(e=>e+1),n&&n.addModal()},removeModal(){i(e=>e-1),n&&n.removeModal()}}),[n,r]);return rA.createElement(BF.Provider,{value:a},t)}function ZE(){let e=(0,rA.useContext)(BF);return{modalProviderProps:{"aria-hidden":e&&e.modalCount>0?!0:void 0}}}function QE(e){let{modalProviderProps:t}=ZE();return rA.createElement(`div`,{"data-overlay-container":!0,...e,...t})}function $E(e){return rA.createElement(XE,null,rA.createElement(QE,e))}function eD(e){let t=ES(),{portalContainer:n=t?null:document.body,...r}=e,{getContainer:i}=YE();if(!e.portalContainer&&i&&(n=i()),rA.useEffect(()=>{if(n?.closest(`[data-overlay-container]`))throw Error(`An OverlayContainer must not be inside another container. Please change the portalContainer prop.`)},[n]),!n)return null;let a=rA.createElement($E,r);return iA.createPortal(a,n)}function tD(e={}){let{style:t,isFocusable:n}=e,[r,i]=(0,oA.useState)(!1),{focusWithinProps:a}=Tw({isDisabled:!n,onFocusWithinChange:e=>i(e)}),o=(0,oA.useMemo)(()=>r?t:t?{...SI,...t}:SI,[r]);return{visuallyHiddenProps:{...a,style:o}}}function nD(e){let{children:t,elementType:n=`div`,isFocusable:r,style:i,...a}=e,{visuallyHiddenProps:o}=tD(e);return oA.createElement(n,R(a,o),t)}function rD(e){return e&&e.__esModule?e.default:e}function iD(e){let{onDismiss:t,...n}=e,r=oC(n,iE(rD(xI),`@react-aria/overlays`).format(`dismiss`)),i=()=>{t&&t()};return aA.createElement(nD,null,aA.createElement(`button`,{...r,tabIndex:-1,onClick:i,style:{width:1,height:1}}))}function aD(e,t){let n=$M(e?.[0]),r=t instanceof n.Element?{root:t}:t,i=r?.root??document.body,a=r?.shouldUseInert&&CI,o=new Set(e),s=new Set,c=e=>a&&e instanceof n.HTMLElement?e.inert:e.getAttribute(`aria-hidden`)===`true`,l=(e,t)=>{a&&e instanceof n.HTMLElement?e.inert=t:t?e.setAttribute(`aria-hidden`,`true`):(e.removeAttribute(`aria-hidden`),e instanceof n.HTMLElement&&(e.inert=!1))},u=e=>{for(let t of e.querySelectorAll(`[data-live-announcer], [data-react-aria-top-layer]`))o.add(t);let t=e=>{if(s.has(e)||o.has(e)||e.parentElement&&s.has(e.parentElement)&&e.parentElement.getAttribute(`role`)!==`row`)return NodeFilter.FILTER_REJECT;for(let t of o)if(e.contains(t))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:t}),r=t(e);if(r===NodeFilter.FILTER_ACCEPT&&d(e),r!==NodeFilter.FILTER_REJECT){let e=n.nextNode();for(;e!=null;)d(e),e=n.nextNode()}},d=e=>{let t=wI.get(e)??0;c(e)&&t===0||(t===0&&l(e,!0),s.add(e),wI.set(e,t+1))};TI.length&&TI[TI.length-1].disconnect(),u(i);let f=new MutationObserver(e=>{for(let t of e)if(t.type===`childList`&&![...o,...s].some(e=>e.contains(t.target)))for(let e of t.addedNodes)(e instanceof HTMLElement||e instanceof SVGElement)&&(e.dataset.liveAnnouncer===`true`||e.dataset.reactAriaTopLayer===`true`)?o.add(e):e instanceof Element&&u(e)});f.observe(i,{childList:!0,subtree:!0});let p={visibleNodes:o,hiddenNodes:s,observe(){f.observe(i,{childList:!0,subtree:!0})},disconnect(){f.disconnect()}};return TI.push(p),()=>{f.disconnect();for(let e of s){let t=wI.get(e);t!=null&&(t===1?(l(e,!1),wI.delete(e)):wI.set(e,t-1))}p===TI[TI.length-1]?(TI.pop(),TI.length&&TI[TI.length-1].observe()):TI.splice(TI.indexOf(p),1)}}function oD(e){let t=TI[TI.length-1];if(t&&!t.visibleNodes.has(e))return t.visibleNodes.add(e),()=>{t.visibleNodes.delete(e)}}function sD(e,t){let{triggerRef:n,popoverRef:r,groupRef:i,isNonModal:a,isKeyboardDismissDisabled:o,shouldCloseOnInteractOutside:s,...c}=e,l=c.trigger===`SubmenuTrigger`,{overlayProps:u,underlayProps:d}=BE({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!a||l,isKeyboardDismissDisabled:o,shouldCloseOnInteractOutside:s},i??r),{overlayProps:f,arrowProps:p,placement:m,triggerAnchorPoint:h}=lE({...c,targetRef:n,overlayRef:r,isOpen:t.isOpen,onClose:a&&!l?t.close:null});return HE({isDisabled:a||!t.isOpen}),(0,sA.useEffect)(()=>{if(t.isOpen&&r.current)return a?oD(i?.current??r.current):aD([i?.current??r.current],{shouldUseInert:!0})},[a,t.isOpen,r,i]),{popoverProps:R(u,f),arrowProps:p,underlayProps:d,placement:m,triggerAnchorPoint:h}}function cD(e){let t=ES(),{portalContainer:n=t?null:document.body,isExiting:r}=e,[i,a]=(0,cA.useState)(!1),o=(0,cA.useMemo)(()=>({contain:i,setContain:a}),[i,a]),{getContainer:s}=YE();if(!e.portalContainer&&s&&(n=s()),!n)return null;let c=e.children;return e.disableFocusManagement||(c=cA.createElement(fE,{restoreFocus:!0,contain:(e.shouldContainFocus||i)&&!r},c)),c=cA.createElement(EI.Provider,{value:o},cA.createElement(ww,null,c)),lA.createPortal(c,n)}function lD(){let e=(0,cA.useContext)(EI)?.setContain;U(()=>{e?.(!0)},[e])}function uD(e,t,n){let{overlayProps:r,underlayProps:i}=BE({...e,isOpen:t.isOpen,onClose:t.close},n);return HE({isDisabled:!t.isOpen}),lD(),(0,uA.useEffect)(()=>{if(t.isOpen&&n.current)return aD([n.current],{shouldUseInert:!0})},[t.isOpen,n]),{modalProps:R(r),underlayProps:i}}function dD(e){let[t,n]=FC(e.isOpen,e.defaultOpen||!1,e.onOpenChange);return{isOpen:t,setOpen:n,open:(0,fA.useCallback)(()=>{n(!0)},[n]),close:(0,fA.useCallback)(()=>{n(!1)},[n]),toggle:(0,fA.useCallback)(()=>{n(!t)},[n,t])}}function fD(e={}){let{delay:t=DI,closeDelay:n=OI}=e,{isOpen:r,open:i,close:a}=dD(e),o=(0,dA.useMemo)(()=>`${++AI}`,[]),s=(0,dA.useRef)(null),c=(0,dA.useRef)(a),l=()=>{kI[o]=f},u=()=>{for(let e in kI)e!==o&&(kI[e](!0),delete kI[e])},d=()=>{s.current&&clearTimeout(s.current),s.current=null,u(),l(),jI=!0,i(),MI&&=(clearTimeout(MI),null),NI&&=(clearTimeout(NI),null)},f=e=>{e||n<=0?(s.current&&clearTimeout(s.current),s.current=null,c.current()):s.current||=setTimeout(()=>{s.current=null,c.current()},n),MI&&=(clearTimeout(MI),null),jI&&(NI&&clearTimeout(NI),NI=setTimeout(()=>{delete kI[o],NI=null,jI=!1},Math.max(OI,n)))},p=()=>{u(),l(),!r&&!MI&&!jI?MI=setTimeout(()=>{MI=null,jI=!0,d()},t):r||d()};return(0,dA.useEffect)(()=>{c.current=a},[a]),(0,dA.useEffect)(()=>()=>{s.current&&clearTimeout(s.current),kI[o]&&delete kI[o]},[o]),{isOpen:r,open:e=>{!e&&t>0&&!s.current?p():d()},close:f}}function pD(e){let t=fD(e),n=(0,pA.useRef)(null),{triggerProps:r,tooltipProps:i}=zw(e,t,n);return pA.createElement(Nw,{values:[[PI,t],[FI,{...i,triggerRef:n}]]},pA.createElement(eP,{...r,ref:n},e.children))}function mD(e){let t=(0,pA.useContext)(PI),n=(0,pA.useRef)(null),{overlayProps:r,arrowProps:i,placement:a,triggerAnchorPoint:o}=lE({placement:e.placement||`top`,targetRef:e.triggerRef,overlayRef:e.tooltipRef,arrowRef:n,offset:e.offset,crossOffset:e.crossOffset,isOpen:t.isOpen,arrowBoundaryOffset:e.arrowBoundaryOffset,shouldFlip:e.shouldFlip,containerPadding:e.containerPadding,onClose:()=>t.close(!0)}),s=EC(e.tooltipRef,!!a)||e.isEntering||!1,c=Pw({...e,defaultClassName:`react-aria-Tooltip`,values:{placement:a,isEntering:s,isExiting:e.isExiting,state:t}});e=R(e,r);let{tooltipProps:l}=Rw(e,t),u=VS(e,{global:!0});return pA.createElement(`div`,{...R(u,c,l),ref:e.tooltipRef,style:{...r.style,"--trigger-anchor-point":o?`${o.x}px ${o.y}px`:void 0,...c.style},"data-placement":a??void 0,"data-entering":s||void 0,"data-exiting":e.isExiting||void 0},pA.createElement(cP.Provider,{value:{...i,placement:a,ref:n}},c.children))}function hD(e=``){let t=e.toLowerCase().trim().replace(/\s+/g,`-`);return{ariaDescriptionAttrs:{"aria-describedby":e?t:void 0},AriaDescription:()=>e?hA.createElement(`span`,{id:t,hidden:!0},e):null}}function gD(e){let t=e=>typeof window<`u`&&window.matchMedia(e).matches,[n,r]=(0,xA.useState)(t(e));function i(){r(t(e))}return(0,xA.useEffect)(()=>{let t=window.matchMedia(e);return i(),t.addEventListener(`change`,i),()=>{t.removeEventListener(`change`,i)}},[e]),n}function _D({container:e,portalSelector:t,children:n,width:r,height:i,ariaLabel:a,dismissOnClickOutside:o=!0,dismissOnEscape:s=!0,className:c,open:l,onEscapeKeyDown:u,onInteractOutside:d,onOpenChange:f,defaultOpen:p,transitionDuration:m=200,variant:h=`dialog`,...g}){let _;(a===void 0||a===``)&&(_=`ariaLabel`,_L("The `ariaLabel` prop on `Modal` will become mandatory in Storybook 11.")),u!==void 0&&(_=`onEscapeKeyDown`,_L("The `onEscapeKeyDown` prop is deprecated and will be removed in Storybook 11. Use `dismissOnEscape` instead.")),d!==void 0&&(_=`onInteractOutside`,_L("The `onInteractOutside` prop is deprecated and will be removed in Storybook 11. Use `dismissOnInteractOutside` instead."));let v=(0,yA.useRef)(null),[{status:y,isMounted:b},x]=TL({timeout:gD(`(prefers-reduced-motion: reduce)`)?0:m,mountOnEnter:!0,unmountOnExit:!0}),S=dD({isOpen:l||b,defaultOpen:p,onOpenChange:e=>{x(e),f?.(e)}}),C=()=>{S.close()},{modalProps:w,underlayProps:T}=uD({isDismissable:o,isKeyboardDismissDisabled:!0,shouldCloseOnInteractOutside:d?e=>{let t=new MouseEvent(`click`,{bubbles:!0,cancelable:!0,relatedTarget:e});return d(t),!t.defaultPrevented}:void 0},S,v);if((0,yA.useEffect)(()=>{let e=l??p??!1;e&&!b?x(!0):!e&&b&&x(!1)},[l,p,b,x]),(0,yA.useEffect)(()=>{b&&(l||p)&&f?.(!0)},[b]),(0,yA.useEffect)(()=>{if(b&&(l||p)&&v.current)return aD([v.current],{shouldUseInert:!0})},[b,l,p,v]),!b||y===`exited`||y===`unmounted`)return null;let E=R(w,{onKeyDown:e=>{e.key===`Escape`?s&&(u?.(e.nativeEvent),e.nativeEvent.defaultPrevented||C()):w.onKeyDown?.(e)}}),D=e??(t?document.querySelector(t):void 0);return yA.createElement(cD,{disableFocusManagement:!0,portalContainer:D||void 0},yA.createElement(fE,{restoreFocus:!0,contain:!0,autoFocus:!0},yA.createElement(zL,{$status:y,$transitionDuration:m,...T}),yA.createElement(`div`,{role:`dialog`,"aria-label":a,ref:v,...E},yA.createElement($L.Provider,{value:{close:C}},yA.createElement(`div`,{tabIndex:-1},yA.createElement(BL,{"data-deprecated":_,$variant:h,$status:y,$transitionDuration:m,className:c,width:r,height:i,...g},n))))))}function vD(e,t){var n=(0,DA.useRef)(null),r=(0,DA.useRef)(null);r.current=t;var i=(0,DA.useRef)(null);(0,DA.useEffect)(function(){a()});var a=(0,DA.useCallback)(function(){var t=i.current,a=r.current,o=t||(a?a instanceof Element?a:a.current:null);n.current&&n.current.element===o&&n.current.subscriber===e||(n.current&&n.current.cleanup&&n.current.cleanup(),n.current={element:o,subscriber:e,cleanup:o?e(o):void 0})},[e]);return(0,DA.useEffect)(function(){return function(){n.current&&n.current.cleanup&&(n.current.cleanup(),n.current=null)}},[]),(0,DA.useCallback)(function(e){i.current=e,a()},[a])}function yD(e,t,n){return e[t]?e[t][0]?e[t][0][n]:e[t][n]:t===`contentBoxSize`?e.contentRect[n===`inlineSize`?`width`:`height`]:void 0}function bD(e){e===void 0&&(e={});var t=e.onResize,n=(0,DA.useRef)(void 0);n.current=t;var r=e.round||Math.round,i=(0,DA.useRef)(),a=(0,DA.useState)({width:void 0,height:void 0}),o=a[0],s=a[1],c=(0,DA.useRef)(!1);(0,DA.useEffect)(function(){return c.current=!1,function(){c.current=!0}},[]);var l=(0,DA.useRef)({width:void 0,height:void 0}),u=vD((0,DA.useCallback)(function(t){return(!i.current||i.current.box!==e.box||i.current.round!==r)&&(i.current={box:e.box,round:r,instance:new ResizeObserver(function(t){var i=t[0],a=e.box===`border-box`?`borderBoxSize`:e.box===`device-pixel-content-box`?`devicePixelContentBoxSize`:`contentBoxSize`,o=yD(i,a,`inlineSize`),u=yD(i,a,`blockSize`),d=o?r(o):void 0,f=u?r(u):void 0;if(l.current.width!==d||l.current.height!==f){var p={width:d,height:f};l.current.width=d,l.current.height=f,n.current?n.current(p):c.current||s(p)}})}),i.current.instance.observe(t,{box:e.box}),function(){i.current&&i.current.instance.unobserve(t)}},[e.box,r]),e.ref);return(0,DA.useMemo)(function(){return{ref:u,width:o.width,height:o.height}},[u,o.width,o.height])}function xD({centered:e,scale:t,children:n}){let r=(0,EA.useRef)(null),[i,a]=(0,EA.useState)(0),o=(0,EA.useCallback)(({height:e})=>{e&&a(e/t)},[t]);return(0,EA.useEffect)(()=>{r.current&&a(r.current.getBoundingClientRect().height)},[t]),bD({ref:r,onResize:o}),EA.createElement(eR,{centered:e,scale:t,elementHeight:i},EA.createElement(`div`,{ref:r,className:`innerZoomElementWrapper`},n))}function SD(e,t,n,r){n===void 0&&(n=1),r===void 0&&(r=1/0),LR||(LR=document.createElement(`textarea`),LR.setAttribute(`tabindex`,`-1`),LR.setAttribute(`aria-hidden`,`true`),IR(LR)),LR.parentNode===null&&document.body.appendChild(LR);var i=e.paddingSize,a=e.borderSize,o=e.sizingStyle,s=o.boxSizing;Object.keys(o).forEach(function(e){var t=e;LR.style[t]=o[t]}),IR(LR),LR.value=t;var c=RR(LR,e);LR.value=t,c=RR(LR,e),LR.value=`x`;var l=LR.scrollHeight-i,u=l*n;s===`border-box`&&(u=u+i+a),c=Math.max(u,c);var d=l*r;return s===`border-box`&&(d=d+i+a),c=Math.min(d,c),[c,l]}function CD(e,t,n){var r=jR(n);LA.useLayoutEffect(function(){var n=function(e){return r.current(e)};if(e)return e.addEventListener(t,n),function(){return e.removeEventListener(t,n)}},[])}function wD(e){return e==null||typeof e==`string`||typeof e==`number`||typeof e==`boolean`||typeof e==`symbol`}function TD(e){return{...e,type:`option`,value:OD(e.value)}}function ED(e){return`type`in e&&e.type===`reset`?e:TD(e)}function DD(e){if(e!==iz)return e}function OD(e){return e===void 0?iz:e}function kD(e,{value:t}){return`${e}-opt-${String(t)??`sb-reset`}`}function AD(e,t){return t===void 0?[]:wD(t)?e.filter(e=>e.value===t).map(TD):e.filter(e=>t.some(t=>e.value===t)).map(TD)}function jD(e,t,n,r){if(n==null)return[null,null];let i=null,a=null,o=e.getItem(n);for(;o!=null;){let n=o.filter(e,t,r);n!=null&&(n.nextKey=null,a&&(n.prevKey=a.key,a.nextKey=n.key),i??=n,t.addNode(n),a=n),o=o.nextKey?e.getItem(o.nextKey):null}if(a&&a.type===`separator`){let e=a.prevKey;t.removeNode(a.key),e?(a=t.getItem(e),a.nextKey=null):a=null}return[i?.key??null,a?.key??null]}function MD(e){let{children:t,items:n,idScope:r,addIdAndValue:i,dependencies:a=[]}=e,o=(0,WA.useMemo)(()=>new WeakMap,a);return(0,WA.useMemo)(()=>{if(n&&typeof t==`function`){let e=[];for(let a of n){let n=o.get(a);if(!n){n=t(a);let e=n.props.id??a.key??a.id;if(e==null)throw Error(`Could not determine key for item`);r&&(e=r+`:`+e),n=(0,WA.cloneElement)(n,i?{key:e,id:e,value:a}:{key:e}),o.set(a,n)}e.push(n)}return e}if(typeof t!=`function`)return t},[t,n,o,r,i])}function ND(e){if((0,GA.useContext)(Sz))return GA.createElement(GA.Fragment,null,e.children);let t=GA.createElement(Sz.Provider,{value:!0},e.children);return GA.createElement(`template`,{"data-react-aria-hidden":!0},t)}function PD(e){let t=(t,n)=>(0,GA.useContext)(Sz)?null:e(t,n);return t.displayName=e.displayName||e.name,(0,GA.forwardRef)(t)}function FD(){return(0,GA.useContext)(Sz)}function ID(e){if((0,V.useContext)(wz))return e.content;let{collection:t,document:n}=zD(e.createCollection);return V.createElement(V.Fragment,null,V.createElement(ND,null,V.createElement(wz.Provider,{value:n},e.content)),V.createElement(LD,{render:e.children,collection:t}))}function LD({collection:e,render:t}){return t(e)}function RD(e,t,n){let r=ES(),i=(0,V.useRef)(r);i.current=r;let a=(0,V.useCallback)(()=>i.current?n():t(),[t,n]);return(0,qA.useSyncExternalStore)(e,a)}function zD(e){let[t]=(0,V.useState)(()=>new xz(e?.()||new vz)),n=Tz((0,V.useCallback)(e=>t.subscribe(e),[t]),(0,V.useCallback)(()=>{let e=t.getCollection();return t.isSSR&&t.resetAfterSSR(),e},[t]),(0,V.useCallback)(()=>(t.isSSR=!0,t.getCollection()),[t]));return U(()=>(t.isMounted=!0,()=>{t.isMounted=!1}),[t]),{collection:n,document:t}}function BD(e){var t;return t=class extends fz{},t.type=e,t}function VD(e,t,n,r,i,a){typeof e==`string`&&(e=BD(e));let o=(0,V.useCallback)(i=>{i?.setProps(t,n,e,r,a)},[t,n,r,a,e]),s=(0,V.useContext)(Ez);if(s){let o=s.ownerDocument.nodesByProps.get(t);return o||(o=s.ownerDocument.createElement(e.type),o.setProps(t,n,e,r,a),s.appendChild(o),s.ownerDocument.updateCollection(),s.ownerDocument.nodesByProps.set(t,o)),i?V.createElement(Ez.Provider,{value:o},i):null}return V.createElement(e.type,{ref:o},i)}function HD(e,t){let n=({node:e})=>t(e.props,e.props.ref,e),r=(0,V.forwardRef)((r,i)=>{let a=(0,V.useContext)($N);if(!(0,V.useContext)(Cz)){if(t.length>=3)throw Error(t.name+` cannot be rendered outside a collection.`);return t(r,i)}return VD(e,r,i,`children`in r?r.children:null,null,e=>V.createElement($N.Provider,{value:a},V.createElement(n,{node:e})))});return r.displayName=t.name,r}function UD(e,t,n=WD){let r=({node:e})=>t(e.props,e.props.ref,e),i=(0,V.forwardRef)((t,i)=>VD(e,t,i,null,n(t),e=>V.createElement(r,{node:e}))??V.createElement(V.Fragment,null));return i.displayName=t.name,i}function WD(e){return MD({...e,addIdAndValue:!0})}function GD(e){let t=(0,V.useContext)(Dz),n=(t?.dependencies||[]).concat(e.dependencies),r=e.idScope||t?.idScope,i=WD({...e,idScope:r,dependencies:n});return(0,V.useContext)(wz)&&(i=V.createElement(KD,null,i)),t=(0,V.useMemo)(()=>({dependencies:n,idScope:r}),[r,...n]),V.createElement(Dz.Provider,{value:t},i)}function KD({children:e}){let t=(0,V.useContext)(wz),n=(0,V.useMemo)(()=>V.createElement(wz.Provider,{value:null},V.createElement(Cz.Provider,{value:!0},e)),[e]);return ES()?V.createElement(Ez.Provider,{value:t},n):(0,KA.createPortal)(n,t)}function qD(e){let{id:t,label:n,"aria-labelledby":r,"aria-label":i,labelElementType:a=`label`}=e;t=DS(t);let o=DS(),s={};n&&(r=r?`${o} ${r}`:o,s={id:o,htmlFor:a===`label`?t:void 0});let c=oC({id:t,"aria-label":i,"aria-labelledby":r});return{labelProps:s,fieldProps:c}}function JD(e){let{value:t=0,minValue:n=0,maxValue:r=100,valueLabel:i,isIndeterminate:a,formatOptions:o={style:`percent`}}=e,s=VS(e,{labelable:!0}),{labelProps:c,fieldProps:l}=qD({...e,labelElementType:`span`});t=IC(t,n,r);let u=(t-n)/(r-n),d=sE(o);if(!a&&!i){let e=o.style===`percent`?u:t;i=d.format(e)}return{progressBarProps:R(s,{...l,"aria-valuenow":a?void 0:t,"aria-valuemin":n,"aria-valuemax":r,"aria-valuetext":a?void 0:i,role:`progressbar`}),labelProps:c}}function YD(e,t){let{elementType:n=`button`,isDisabled:r,onPress:i,onPressStart:a,onPressEnd:o,onPressUp:s,onPressChange:c,preventFocusOnPress:l,allowFocusWhenDisabled:u,onClick:d,href:f,target:p,rel:m,type:h=`button`}=e,g;g=n===`button`?{type:h,disabled:r,form:e.form,formAction:e.formAction,formEncType:e.formEncType,formMethod:e.formMethod,formNoValidate:e.formNoValidate,formTarget:e.formTarget,name:e.name,value:e.value}:{role:`button`,href:n===`a`&&!r?f:void 0,target:n===`a`?p:void 0,type:n===`input`?h:void 0,disabled:n===`input`?r:void 0,"aria-disabled":!r||n===`input`?void 0:r,rel:n===`a`?m:void 0};let{pressProps:_,isPressed:v}=ZC({onPressStart:a,onPressEnd:o,onPressChange:c,onPress:i,onPressUp:s,onClick:d,isDisabled:r,preventFocusOnPress:l,ref:t}),{focusableProps:y}=Cw(e,t);u&&(y.tabIndex=r?-1:y.tabIndex);let b=R(y,_,VS(e,{labelable:!0}));return{isPressed:v,buttonProps:R(g,b,{"aria-haspopup":e[`aria-haspopup`],"aria-expanded":e[`aria-expanded`],"aria-controls":e[`aria-controls`],"aria-pressed":e[`aria-pressed`],"aria-current":e[`aria-current`],"aria-disabled":e[`aria-disabled`]})}}function XD(e){return e.isPending&&(e.onPress=void 0,e.onPressStart=void 0,e.onPressEnd=void 0,e.onPressChange=void 0,e.onPressUp=void 0,e.onKeyDown=void 0,e.onKeyUp=void 0,e.onClick=void 0,e.href=void 0),e}function ZD({state:e,isExiting:t,UNSTABLE_portalContainer:n,clearContexts:r,...i}){let a=(0,ZA.useRef)(null),o=(0,ZA.useRef)(null),s=(0,ZA.useContext)(Mz),c=s&&i.trigger===`SubmenuTrigger`,{popoverProps:l,underlayProps:u,arrowProps:d,placement:f,triggerAnchorPoint:p}=sD({...i,offset:i.offset??8,arrowRef:a,groupRef:c?s:o},e),m=i.popoverRef,h=EC(m,!!f)||i.isEntering||!1,g=Pw({...i,defaultClassName:`react-aria-Popover`,values:{trigger:i.trigger||null,placement:f,isEntering:h,isExiting:t}}),_=!i.isNonModal||i.trigger===`SubmenuTrigger`,[v,y]=(0,ZA.useState)(!1);U(()=>{m.current&&y(_&&!m.current.querySelector(`[role=dialog]`))},[m,_]),(0,ZA.useEffect)(()=>{v&&i.trigger!==`SubmenuTrigger`&&m.current&&!m.current.contains(document.activeElement)&&vw(m.current)},[v,m,i.trigger]);let b=(0,ZA.useMemo)(()=>{let e=g.children;if(r)for(let t of r)e=ZA.createElement(t.Provider,{value:null},e);return e},[g.children,r]),x={...l.style,"--trigger-anchor-point":p?`${p.x}px ${p.y}px`:void 0,...g.style},S=ZA.createElement(`div`,{...R(VS(i,{global:!0}),l),...g,role:v?`dialog`:void 0,tabIndex:v?-1:void 0,"aria-label":i[`aria-label`],"aria-labelledby":i[`aria-labelledby`],ref:m,slot:i.slot||void 0,style:x,dir:i.dir,"data-trigger":i.trigger,"data-placement":f,"data-entering":h||void 0,"data-exiting":t||void 0},!i.isNonModal&&ZA.createElement(iD,{onDismiss:e.close}),ZA.createElement(cP.Provider,{value:{...d,placement:f,ref:a}},b),ZA.createElement(iD,{onDismiss:e.close}));return c?ZA.createElement(cD,{...i,shouldContainFocus:v,isExiting:t,portalContainer:n??s?.current??void 0},S):ZA.createElement(cD,{...i,shouldContainFocus:v,isExiting:t,portalContainer:n},!i.isNonModal&&e.isOpen&&ZA.createElement(`div`,{"data-testid":`underlay`,...u,style:{position:`fixed`,inset:0}}),ZA.createElement(`div`,{ref:o,style:{display:`contents`}},ZA.createElement(Mz.Provider,{value:o},S)))}function QD(e,t,n){return MD({items:t?e.getChildren(t.key):e,dependencies:[n],children(t){let r=t.render(t);return!n||t.type!==`item`?r:QA.createElement(QA.Fragment,null,n({type:`item`,key:t.key,dropPosition:`before`}),r,$D(e,t,n))}})}function $D(e,t,n){let r=t.key,i=e.getKeyAfter(r),a=i==null?null:e.getItem(i);for(;a!=null&&a.type!==`item`;)i=e.getKeyAfter(a.key),a=i==null?null:e.getItem(i);let o=t.nextKey==null?null:e.getItem(t.nextKey);for(;o!=null&&o.type!==`item`;)o=o.nextKey==null?null:e.getItem(o.nextKey);let s=[];if(o==null){let r=t;for(;r&&(!a||r.parentKey!==a.parentKey&&a.level<r.level);){let t=n({type:`item`,key:r.key,dropPosition:`after`});(0,QA.isValidElement)(t)&&s.push((0,QA.cloneElement)(t,{key:`${r.key}-after`})),r=r.parentKey==null?null:e.getItem(r.parentKey)}}return s}function eO(e){return(0,QA.useMemo)(()=>e==null?null:new Set([e]),[e])}function tO(e){let t=VS(e,{labelable:!0}),n;return e.orientation===`vertical`&&(n=`vertical`),e.elementType===`hr`?{separatorProps:t}:{separatorProps:{...t,role:`separator`,"aria-orientation":n}}}function nO(e){return hN()?e.altKey:e.ctrlKey}function rO(e,t){let n=`[data-key="${CSS.escape(String(t))}"]`,r=e.current?.dataset.collection;return r&&(n=`[data-collection="${CSS.escape(r)}"]${n}`),e.current?.querySelector(n)}function iO(e){let t=DS();return Wz.set(e,t),t}function aO(e){return Wz.get(e)}function oO(e){let{keyboardDelegate:t,selectionManager:n,onTypeSelect:r}=e,i=(0,rj.useRef)({search:``,timeout:void 0}).current;return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?e=>{let a=sO(e.key);if(!(!a||e.ctrlKey||e.metaKey||!e.currentTarget.contains(e.target)||i.search.length===0&&a===` `)){if(a===` `&&i.search.trim().length>0&&(e.preventDefault(),`continuePropagation`in e||e.stopPropagation()),i.search+=a,t.getKeyForSearch!=null){let e=t.getKeyForSearch(i.search,n.focusedKey);e??=t.getKeyForSearch(i.search),e!=null&&(n.setFocusedKey(e),r&&r(e))}clearTimeout(i.timeout),i.timeout=setTimeout(()=>{i.search=``},Gz)}}:void 0}}}function sO(e){return e.length===1||!/^[A-Z]/i.test(e)?e:``}function cO(e){let{selectionManager:t,keyboardDelegate:n,ref:r,autoFocus:i=!1,shouldFocusWrap:a=!1,disallowEmptySelection:o=!1,disallowSelectAll:s=!1,escapeKeyBehavior:c=`clearSelection`,selectOnFocus:l=t.selectionBehavior===`replace`,disallowTypeAhead:u=!1,shouldUseVirtualFocus:d,allowsTabNavigation:f=!1,isVirtualized:p,scrollRef:m=r,linkBehavior:h=`action`}=e,{direction:g}=oT(),_=YS(),v=e=>{var i;if(e.altKey&&e.key===`Tab`&&e.preventDefault(),!((i=r.current)!=null&&i.contains(e.target)))return;let u=(n,i)=>{if(n!=null){if(t.isLink(n)&&h===`selection`&&l&&!nO(e)){(0,ij.flushSync)(()=>{t.setFocusedKey(n,i)});let a=rO(r,n),o=t.getItemProps(n);a&&_.open(a,e,o.href,o.routerOptions);return}if(t.setFocusedKey(n,i),t.isLink(n)&&h===`override`)return;e.shiftKey&&t.selectionMode===`multiple`?t.extendSelection(n):l&&!nO(e)&&t.replaceSelection(n)}};switch(e.key){case`ArrowDown`:if(n.getKeyBelow){let r=t.focusedKey==null?n.getFirstKey?.call(n):n.getKeyBelow?.call(n,t.focusedKey);r==null&&a&&(r=n.getFirstKey?.call(n,t.focusedKey)),r!=null&&(e.preventDefault(),u(r))}break;case`ArrowUp`:if(n.getKeyAbove){let r=t.focusedKey==null?n.getLastKey?.call(n):n.getKeyAbove?.call(n,t.focusedKey);r==null&&a&&(r=n.getLastKey?.call(n,t.focusedKey)),r!=null&&(e.preventDefault(),u(r))}break;case`ArrowLeft`:if(n.getKeyLeftOf){let r=t.focusedKey==null?null:n.getKeyLeftOf?.call(n,t.focusedKey);r==null&&a&&(r=g===`rtl`?n.getFirstKey?.call(n,t.focusedKey):n.getLastKey?.call(n,t.focusedKey)),r!=null&&(e.preventDefault(),u(r,g===`rtl`?`first`:`last`))}break;case`ArrowRight`:if(n.getKeyRightOf){let r=t.focusedKey==null?null:n.getKeyRightOf?.call(n,t.focusedKey);r==null&&a&&(r=g===`rtl`?n.getLastKey?.call(n,t.focusedKey):n.getFirstKey?.call(n,t.focusedKey)),r!=null&&(e.preventDefault(),u(r,g===`rtl`?`last`:`first`))}break;case`Home`:if(n.getFirstKey){if(t.focusedKey===null&&e.shiftKey)return;e.preventDefault();let r=n.getFirstKey(t.focusedKey,gC(e));t.setFocusedKey(r),r!=null&&(gC(e)&&e.shiftKey&&t.selectionMode===`multiple`?t.extendSelection(r):l&&t.replaceSelection(r))}break;case`End`:if(n.getLastKey){if(t.focusedKey===null&&e.shiftKey)return;e.preventDefault();let r=n.getLastKey(t.focusedKey,gC(e));t.setFocusedKey(r),r!=null&&(gC(e)&&e.shiftKey&&t.selectionMode===`multiple`?t.extendSelection(r):l&&t.replaceSelection(r))}break;case`PageDown`:if(n.getKeyPageBelow&&t.focusedKey!=null){let r=n.getKeyPageBelow(t.focusedKey);r!=null&&(e.preventDefault(),u(r))}break;case`PageUp`:if(n.getKeyPageAbove&&t.focusedKey!=null){let r=n.getKeyPageAbove(t.focusedKey);r!=null&&(e.preventDefault(),u(r))}break;case`a`:gC(e)&&t.selectionMode===`multiple`&&s!==!0&&(e.preventDefault(),t.selectAll());break;case`Escape`:c===`clearSelection`&&!o&&t.selectedKeys.size!==0&&(e.stopPropagation(),e.preventDefault(),t.clearSelection());break;case`Tab`:if(!f){if(e.shiftKey)r.current.focus();else{let e=jE(r.current,{tabbable:!0}),t,n;do n=e.lastChild(),n&&(t=n);while(n);t&&!t.contains(document.activeElement)&&HS(t)}break}}},y=(0,aj.useRef)({top:0,left:0});yC(m,`scroll`,p?void 0:()=>{y.current={top:m.current?.scrollTop??0,left:m.current?.scrollLeft??0}});let b=e=>{if(t.isFocused){e.currentTarget.contains(e.target)||t.setFocused(!1);return}if(e.currentTarget.contains(e.target)){if(t.setFocused(!0),t.focusedKey==null){let r=e=>{e!=null&&(t.setFocusedKey(e),l&&!t.isSelected(e)&&t.replaceSelection(e))},i=e.relatedTarget;i&&e.currentTarget.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_FOLLOWING?r(t.lastSelectedKey??n.getLastKey?.call(n)):r(t.firstSelectedKey??n.getFirstKey?.call(n))}else!p&&m.current&&(m.current.scrollTop=y.current.top,m.current.scrollLeft=y.current.left);if(t.focusedKey!=null&&m.current){let e=rO(r,t.focusedKey);e instanceof HTMLElement&&(!e.contains(document.activeElement)&&!d&&HS(e),mw()===`keyboard`&&SC(e,{containingElement:r.current}))}}},x=e=>{e.currentTarget.contains(e.relatedTarget)||t.setFocused(!1)},S=(0,aj.useRef)(!1);yC(r,ON,d?e=>{let{detail:n}=e;e.stopPropagation(),t.setFocused(!0),n?.focusStrategy===`first`&&(S.current=!0)}:void 0);let C=cC(()=>{let e=n.getFirstKey?.call(n)??null;if(e==null){let e=tN();IE(r.current),RE(e,null),t.collection.size>0&&(S.current=!1)}else t.setFocusedKey(e),S.current=!1});lC(()=>{S.current&&C()},[t.collection,C]);let w=cC(()=>{t.collection.size>0&&(S.current=!1)});lC(()=>{w()},[t.focusedKey,w]),yC(r,DN,d?e=>{var n;e.stopPropagation(),t.setFocused(!1),(n=e.detail)!=null&&n.clearFocusKey&&t.setFocusedKey(null)}:void 0);let T=(0,aj.useRef)(i),E=(0,aj.useRef)(!1);(0,aj.useEffect)(()=>{if(T.current){let e=null;i===`first`&&(e=n.getFirstKey?.call(n)??null),i===`last`&&(e=n.getLastKey?.call(n)??null);let a=t.selectedKeys;if(a.size){for(let n of a)if(t.canSelectItem(n)){e=n;break}}t.setFocused(!0),t.setFocusedKey(e),e==null&&!d&&r.current&&vw(r.current),t.collection.size>0&&(T.current=!1,E.current=!0)}});let D=(0,aj.useRef)(t.focusedKey),O=(0,aj.useRef)(null);(0,aj.useEffect)(()=>{if(t.isFocused&&t.focusedKey!=null&&(t.focusedKey!==D.current||E.current)&&m.current&&r.current){let e=mw(),n=rO(r,t.focusedKey);if(!(n instanceof HTMLElement))return;(e===`keyboard`||E.current)&&(O.current&&cancelAnimationFrame(O.current),O.current=requestAnimationFrame(()=>{m.current&&(bC(m.current,n),e!==`virtual`&&SC(n,{containingElement:r.current}))}))}!d&&t.isFocused&&t.focusedKey==null&&D.current!=null&&r.current&&vw(r.current),D.current=t.focusedKey,E.current=!1}),(0,aj.useEffect)(()=>()=>{O.current&&cancelAnimationFrame(O.current)},[]),yC(r,`react-aria-focus-scope-restore`,e=>{e.preventDefault(),t.setFocused(!0)});let k={onKeyDown:v,onFocus:b,onBlur:x,onMouseDown(e){m.current===e.target&&e.preventDefault()}},{typeSelectProps:A}=oO({keyboardDelegate:n,selectionManager:t});u||(k=R(A,k));let j;d||(j=t.focusedKey==null?0:-1);let M=iO(t.collection);return{collectionProps:R(k,{tabIndex:j,"data-collection":M})}}function lO(e){let{id:t,selectionManager:n,key:r,ref:i,shouldSelectOnPressUp:a,shouldUseVirtualFocus:o,focus:s,isDisabled:c,onAction:l,allowsDifferentPressOrigin:u,linkBehavior:d=`action`}=e,f=YS();t=DS(t);let p=e=>{if(e.pointerType===`keyboard`&&nO(e))n.toggleSelection(r);else{if(n.selectionMode===`none`)return;if(n.isLink(r)){if(d===`selection`&&i.current){let t=n.getItemProps(r);f.open(i.current,e,t.href,t.routerOptions),n.setSelectedKeys(n.selectedKeys);return}if(d===`override`||d===`none`)return}n.selectionMode===`single`?n.isSelected(r)&&!n.disallowEmptySelection?n.toggleSelection(r):n.replaceSelection(r):e&&e.shiftKey?n.extendSelection(r):n.selectionBehavior===`toggle`||e&&(gC(e)||e.pointerType===`touch`||e.pointerType===`virtual`)?n.toggleSelection(r):n.replaceSelection(r)}};(0,oj.useEffect)(()=>{r===n.focusedKey&&n.isFocused&&(o?IE(i.current):s?s():document.activeElement!==i.current&&i.current&&vw(i.current))},[i,r,n.focusedKey,n.childFocusStrategy,n.isFocused,o]),c||=n.isDisabled(r);let m={};!o&&!c?m={tabIndex:r===n.focusedKey?0:-1,onFocus(e){e.target===i.current&&n.setFocusedKey(r)}}:c&&(m.onMouseDown=e=>{e.preventDefault()});let h=n.isLink(r)&&d===`override`,g=l&&e.UNSTABLE_itemBehavior===`action`,_=n.isLink(r)&&d!==`selection`&&d!==`none`,v=!c&&n.canSelectItem(r)&&!h&&!g,y=(l||_)&&!c,b=y&&(n.selectionBehavior===`replace`?!v:!v||n.isEmpty),x=y&&v&&n.selectionBehavior===`replace`,S=b||x,C=(0,oj.useRef)(null),w=S&&v,T=(0,oj.useRef)(!1),E=(0,oj.useRef)(!1),D=n.getItemProps(r),O=e=>{if(l){var t;l(),(t=i.current)==null||t.dispatchEvent(new CustomEvent(`react-aria-item-action`,{bubbles:!0}))}_&&i.current&&f.open(i.current,e,D.href,D.routerOptions)},k={ref:i};if(a?(k.onPressStart=e=>{C.current=e.pointerType,T.current=w,e.pointerType===`keyboard`&&(!S||dO())&&p(e)},u?(k.onPressUp=b?void 0:e=>{e.pointerType===`mouse`&&v&&p(e)},k.onPress=b?O:e=>{e.pointerType!==`keyboard`&&e.pointerType!==`mouse`&&v&&p(e)}):k.onPress=e=>{if(b||x&&e.pointerType!==`mouse`){if(e.pointerType===`keyboard`&&!uO())return;O(e)}else e.pointerType!==`keyboard`&&v&&p(e)}):(k.onPressStart=e=>{C.current=e.pointerType,T.current=w,E.current=b,v&&(e.pointerType===`mouse`&&!b||e.pointerType===`keyboard`&&(!y||dO()))&&p(e)},k.onPress=e=>{(e.pointerType===`touch`||e.pointerType===`pen`||e.pointerType===`virtual`||e.pointerType===`keyboard`&&S&&uO()||e.pointerType===`mouse`&&E.current)&&(S?O(e):v&&p(e))}),m[`data-collection`]=aO(n.collection),m[`data-key`]=r,k.preventFocusOnPress=o,o&&(k=R(k,{onPressStart(e){e.pointerType!==`touch`&&(n.setFocused(!0),n.setFocusedKey(r))},onPress(e){e.pointerType===`touch`&&(n.setFocused(!0),n.setFocusedKey(r))}})),D)for(let e of[`onPressStart`,`onPressEnd`,`onPressChange`,`onPress`,`onPressUp`,`onClick`])D[e]&&(k[e]=AS(k[e],D[e]));let{pressProps:A,isPressed:j}=ZC(k),M=x?e=>{C.current===`mouse`&&(e.stopPropagation(),e.preventDefault(),O(e))}:void 0,{longPressProps:ee}=Mw({isDisabled:!w,onLongPress(e){e.pointerType===`touch`&&(p(e),n.setSelectionBehavior(`toggle`))}}),te=e=>{C.current===`touch`&&T.current&&e.preventDefault()},ne=d!==`none`&&n.isLink(r)?e=>{ZS.isOpening||e.preventDefault()}:void 0;return{itemProps:R(m,v||b||o&&!c?A:{},w?ee:{},{onDoubleClick:M,onDragStartCapture:te,onClick:ne,id:t},o?{onMouseDown:e=>e.preventDefault()}:void 0),isPressed:j,isSelected:n.isSelected(r),isFocused:n.isFocused&&n.focusedKey===r,isDisabled:c,allowsSelection:v,hasAction:S}}function uO(){return window.event?.key===`Enter`}function dO(){let e=window.event;return e?.key===` `||e?.code===`Space`}function fO(e){let{selectionManager:t,collection:n,disabledKeys:r,ref:i,keyboardDelegate:a,layoutDelegate:o}=e,s=cE({usage:`search`,sensitivity:`base`}),c=t.disabledBehavior,l=(0,sj.useMemo)(()=>a||new qz({collection:n,disabledKeys:r,disabledBehavior:c,ref:i,collator:s,layoutDelegate:o}),[a,o,n,r,i,s,c]),{collectionProps:u}=cO({...e,ref:i,selectionManager:t,keyboardDelegate:l});return{listProps:u}}function pO(e,t,n){let{shouldFocusWrap:r=!0,onKeyDown:i,onKeyUp:a,...o}=e;!e[`aria-label`]&&e[`aria-labelledby`];let s=VS(e,{labelable:!0}),{listProps:c}=fO({...o,ref:n,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,shouldFocusWrap:r,linkBehavior:`override`});return Uz.set(t,{onClose:e.onClose,onAction:e.onAction,shouldUseVirtualFocus:e.shouldUseVirtualFocus}),{menuProps:R(s,{onKeyDown:i,onKeyUp:a},{role:`menu`,...c,onKeyDown:t=>{var n;(t.key!==`Escape`||e.shouldUseVirtualFocus)&&((n=c.onKeyDown)==null||n.call(c,t))}})}}function mO(e){return null}function hO(e){return e.hasChildItems==null?!!(e.childItems||e.title&&cj.Children.count(e.children)>0):e.hasChildItems}function gO(e){let t=[],n=null;return{*[Symbol.iterator](){for(let e of t)yield e;n||=e();for(let e of n)t.push(e),yield e}}}function _O(e,t){if(e&&t)return n=>e(t(n));if(e)return e;if(t)return t}function vO(e){return e[0].toUpperCase()+e.slice(1)}function yO(e,t,n){let r=(0,uj.useMemo)(()=>new Yz,[]),{children:i,items:a,collection:o}=e;return(0,uj.useMemo)(()=>o||t(r.build({children:i,items:a},n)),[r,i,a,o,n,t])}function bO(e,t){return typeof t.getChildren==`function`?t.getChildren(e.key):e.childNodes}function xO(e){return SO(e,0)}function SO(e,t){if(t<0)return;let n=0;for(let r of e){if(n===t)return r;n++}}function CO(e,t,n){if(t.parentKey===n.parentKey)return t.index-n.index;let r=[...wO(e,t),t],i=[...wO(e,n),n],a=r.slice(0,i.length).findIndex((e,t)=>e!==i[t]);return a===-1?r.findIndex(e=>e===n)>=0?1:(i.findIndex(e=>e===t),-1):(t=r[a],n=i[a],t.index-n.index)}function wO(e,t){let n=[],r=t;for(;r?.parentKey!=null;)r=e.getItem(r.parentKey),r&&n.unshift(r);return n}function TO(e){let t=Xz.get(e);if(t!=null)return t;let n=0,r=t=>{for(let i of t)i.type===`section`?r(bO(i,e)):i.type===`item`&&n++};return r(e),Xz.set(e,n),n}function EO(e,t,n){let{id:r,key:i,closeOnSelect:a,isVirtualized:o,"aria-haspopup":s,onPressStart:c,onPressUp:l,onPress:u,onPressChange:d,onPressEnd:f,onClick:p,onHoverStart:m,onHoverChange:h,onHoverEnd:g,onKeyDown:_,onKeyUp:v,onFocus:y,onFocusChange:b,onBlur:x,selectionManager:S=t.selectionManager}=e,C=!!s,w=C&&e[`aria-expanded`]===`true`,T=e.isDisabled??S.isDisabled(i),E=e.isSelected??S.isSelected(i),D=Uz.get(t),O=t.collection.getItem(i),k=e.onClose||D.onClose,A=YS(),j=()=>{var t;if(!C&&(O!=null&&(t=O.props)!=null&&t.onAction?O.props.onAction():e.onAction&&e.onAction(i),D.onAction)){let e=D.onAction;e(i)}},M=`menuitem`;C||(S.selectionMode===`single`?M=`menuitemradio`:S.selectionMode===`multiple`&&(M=`menuitemcheckbox`));let ee=kS(),te=kS(),ne=kS(),re={id:r,"aria-disabled":T||void 0,role:M,"aria-label":e[`aria-label`],"aria-labelledby":ee,"aria-describedby":[te,ne].filter(Boolean).join(` `)||void 0,"aria-controls":e[`aria-controls`],"aria-haspopup":s,"aria-expanded":e[`aria-expanded`]};S.selectionMode!==`none`&&!C&&(re[`aria-checked`]=E),o&&(re[`aria-posinset`]=O?.index,re[`aria-setsize`]=TO(t.collection));let ie=(0,dj.useRef)(!1),ae=e=>{d?.(e),ie.current=e},oe=(0,dj.useRef)(null),se=e=>{e.pointerType!==`keyboard`&&(oe.current={pointerType:e.pointerType}),e.pointerType===`mouse`&&(ie.current||e.target.click()),l?.(e)},ce=e=>{p?.(e),j(),tC(e,A,O.props.href,O?.props.routerOptions);let t=oe.current?.pointerType===`keyboard`?oe.current?.key===`Enter`||S.selectionMode===`none`||S.isLink(i):S.selectionMode!==`multiple`||S.isLink(i);t=a??t,k&&!C&&t&&k(),oe.current=null},{itemProps:le,isFocused:ue}=lO({id:r,selectionManager:S,key:i,ref:n,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:`none`,shouldUseVirtualFocus:D.shouldUseVirtualFocus}),{pressProps:de,isPressed:fe}=ZC({onPressStart:c,onPress:u,onPressUp:se,onPressChange:ae,onPressEnd:f,isDisabled:T}),{hoverProps:pe}=kw({isDisabled:T,onHoverStart(e){!pw()&&!(w&&s)&&(S.setFocused(!0),S.setFocusedKey(i)),m?.(e)},onHoverChange:h,onHoverEnd:g}),{keyboardProps:me}=xw({onKeyDown:e=>{if(e.repeat){e.continuePropagation();return}switch(e.key){case` `:oe.current={pointerType:`keyboard`,key:` `},e.target.click();break;case`Enter`:oe.current={pointerType:`keyboard`,key:`Enter`},e.target.tagName!==`A`&&e.target.click();break;default:C||e.continuePropagation(),_?.(e)}},onKeyUp:v}),{focusProps:he}=yw({onBlur:x,onFocus:y,onFocusChange:b}),ge=VS(O?.props);delete ge.id;let _e=eC(O?.props);return{menuItemProps:{...re,...R(ge,_e,C?{onFocus:le.onFocus,"data-collection":le[`data-collection`],"data-key":le[`data-key`]}:le,de,pe,me,he,D.shouldUseVirtualFocus||C?{onMouseDown:e=>e.preventDefault()}:void 0,T?void 0:{onClick:ce}),tabIndex:le.tabIndex!=null&&w&&!D.shouldUseVirtualFocus?-1:le.tabIndex},labelProps:{id:ee},descriptionProps:{id:te},keyboardShortcutProps:{id:ne},isFocused:ue,isFocusVisible:ue&&S.isFocused&&pw()&&!w,isSelected:E,isPressed:fe,isDisabled:T}}function DO(e){let{heading:t,"aria-label":n}=e,r=DS();return{itemProps:{role:`presentation`},headingProps:t?{id:r,role:`presentation`}:{},groupProps:{role:`group`,"aria-label":n,"aria-labelledby":t?r:void 0}}}function OO(e){let{menuRef:t,submenuRef:n,isOpen:r,isDisabled:i}=e,a=(0,fj.useRef)(void 0),o=(0,fj.useRef)(void 0),s=(0,fj.useRef)(0),c=(0,fj.useRef)(void 0),l=(0,fj.useRef)(void 0),u=(0,fj.useRef)(void 0),d=(0,fj.useRef)(2),[f,p]=(0,fj.useState)(!1);dC({ref:n,onResize:()=>{n.current&&(o.current=n.current.getBoundingClientRect(),u.current=void 0)}});let m=()=>{p(!1),d.current=Zz,a.current=void 0},h=hw(),g=cC(e=>{f&&e.preventDefault()});(0,fj.useEffect)(()=>{f&&t.current?t.current.style.pointerEvents=`none`:t.current.style.pointerEvents=``},[t,f]),(0,fj.useEffect)(()=>{let e=n.current,f=t.current;if(i||!e||!r||h!==`pointer`||!f){m();return}o.current=e.getBoundingClientRect();let _=e=>{if(e.pointerType===`touch`||e.pointerType===`pen`)return;let t=Date.now();if(t-s.current<Qz)return;clearTimeout(c.current),clearTimeout(l.current);let{clientX:n,clientY:r}=e;if(!a.current){a.current={x:n,y:r};return}if(!o.current)return;if(u.current||=n>o.current.right?`left`:`right`,n<f.getBoundingClientRect().left||n>f.getBoundingClientRect().right||r<f.getBoundingClientRect().top||r>f.getBoundingClientRect().bottom){m();return}let i=a.current.x,h=a.current.y,g=u.current===`right`?o.current.left-i:i-o.current.right,_=Math.atan2(h-o.current.top,g)+eB,v=Math.atan2(h-o.current.bottom,g)-eB,y=Math.atan2(h-r,u.current===`left`?-(n-i):n-i),b=y<_&&y>v;d.current=b?Math.min(d.current+1,Zz):Math.max(d.current-1,0),d.current>=Zz?p(!0):p(!1),s.current=t,a.current={x:n,y:r},b&&(c.current=setTimeout(()=>{m(),l.current=setTimeout(()=>{let e=document.elementFromPoint(n,r);e&&f.contains(e)&&e.dispatchEvent(new PointerEvent(`pointerover`,{bubbles:!0,cancelable:!0}))},100)},$z))};return window.addEventListener(`pointermove`,_),window.addEventListener(`pointerdown`,g,!0),()=>{window.removeEventListener(`pointermove`,_),window.removeEventListener(`pointerdown`,g,!0),clearTimeout(c.current),clearTimeout(l.current),d.current=Zz}},[i,r,t,h,p,g,n])}function kO(e,t,n){let{parentMenuRef:r,submenuRef:i,type:a=`menu`,isDisabled:o,delay:s=200,shouldUseVirtualFocus:c}=e,l=DS(),u=DS(),{direction:d}=oT(),f=(0,pj.useRef)(void 0),p=(0,pj.useCallback)(()=>{f.current&&=(clearTimeout(f.current),void 0)},[f]),m=cC(e=>{p(),t.open(e)}),h=cC(()=>{p(),t.close()});U(()=>()=>{p()},[p]);let g={id:u,"aria-labelledby":l,submenuLevel:t.submenuLevel,...a===`menu`&&{onClose:t.closeAll,autoFocus:t.focusStrategy??void 0,onKeyDown:e=>{if(e.currentTarget.contains(document.activeElement))switch(e.key){case`ArrowLeft`:d===`ltr`&&e.currentTarget.contains(e.target)&&(e.preventDefault(),e.stopPropagation(),h(),!c&&n.current&&HS(n.current));break;case`ArrowRight`:d===`rtl`&&e.currentTarget.contains(e.target)&&(e.preventDefault(),e.stopPropagation(),h(),!c&&n.current&&HS(n.current));break;case`Escape`:var t;(t=i.current)!=null&&t.contains(e.target)&&(e.stopPropagation(),h(),!c&&n.current&&HS(n.current))}}}};return yC(r,`focusin`,e=>{var i;t.isOpen&&(i=r.current)!=null&&i.contains(e.target)&&e.target!==n.current&&h()}),OO({menuRef:r,submenuRef:i,isOpen:t.isOpen,isDisabled:o}),{submenuTriggerProps:{id:l,"aria-controls":t.isOpen?u:void 0,"aria-haspopup":o?void 0:a,"aria-expanded":t.isOpen?`true`:`false`,onPressStart:e=>{!o&&(e.pointerType===`virtual`||e.pointerType===`keyboard`)&&m(`first`)},onPress:e=>{!o&&(e.pointerType===`touch`||e.pointerType===`mouse`)&&m()},onHoverChange:e=>{o||(e&&!t.isOpen?f.current||=setTimeout(()=>{m()},s):e||p())},onKeyDown:e=>{switch(e.key){case`ArrowRight`:o||(d===`ltr`?(e.preventDefault(),t.isOpen||m(`first`),a===`menu`&&i?.current&&document.activeElement===n?.current&&HS(i.current)):t.isOpen?h():e.continuePropagation());break;case`ArrowLeft`:o||(d===`rtl`?(e.preventDefault(),t.isOpen||m(`first`),a===`menu`&&i?.current&&document.activeElement===n?.current&&HS(i.current)):t.isOpen?h():e.continuePropagation());break;default:e.continuePropagation()}},isOpen:t.isOpen},submenuProps:g,popoverProps:{isNonModal:!0,shouldCloseOnInteractOutside:e=>e!==n.current}}}function AO(e){let t=dD(e),[n,r]=(0,mj.useState)(null),[i,a]=(0,mj.useState)([]),o=()=>{a([]),t.close()};return{focusStrategy:n,...t,open(e=null){r(e),t.open()},toggle(e=null){r(e),t.toggle()},close(){o()},expandedKeysStack:i,openSubmenu:(e,t)=>{a(n=>t>n.length?n:[...n.slice(0,t),e])},closeSubmenu:(e,t)=>{a(n=>n[t]===e?n.slice(0,t):n)}}}function jO(e,t){let{triggerKey:n}=e,{expandedKeysStack:r,openSubmenu:i,closeSubmenu:a,close:o}=t,[s]=(0,hj.useState)(r?.length),c=(0,hj.useMemo)(()=>r[s]===n,[r,n,s]),[l,u]=(0,hj.useState)(null),d=(0,hj.useCallback)(e=>{u(e??null),i(n,s)},[i,s,n]),f=(0,hj.useCallback)(()=>{u(null),a(n,s)},[a,s,n]),p=(0,hj.useCallback)(e=>{u(e??null),c?f():d(e)},[f,d,c]);return(0,hj.useMemo)(()=>({focusStrategy:l,isOpen:c,open:d,close:f,closeAll:o,submenuLevel:s,setOpen:()=>{},toggle:p}),[c,d,f,o,l,p,s])}function MO(e,t){if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}function NO(e){let{selectionMode:t=`none`,disallowEmptySelection:n=!1,allowDuplicateSelectionEvents:r,selectionBehavior:i=`toggle`,disabledBehavior:a=`all`}=e,o=(0,gj.useRef)(!1),[,s]=(0,gj.useState)(!1),c=(0,gj.useRef)(null),l=(0,gj.useRef)(null),[,u]=(0,gj.useState)(null),[d,f]=FC((0,gj.useMemo)(()=>PO(e.selectedKeys),[e.selectedKeys]),(0,gj.useMemo)(()=>PO(e.defaultSelectedKeys,new nB),[e.defaultSelectedKeys]),e.onSelectionChange),p=(0,gj.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[m,h]=(0,gj.useState)(i);i===`replace`&&m===`toggle`&&typeof d==`object`&&d.size===0&&h(`replace`);let g=(0,gj.useRef)(i);return(0,gj.useEffect)(()=>{i!==g.current&&(h(i),g.current=i)},[i]),{selectionMode:t,disallowEmptySelection:n,selectionBehavior:m,setSelectionBehavior:h,get isFocused(){return o.current},setFocused(e){o.current=e,s(e)},get focusedKey(){return c.current},get childFocusStrategy(){return l.current},setFocusedKey(e,t=`first`){c.current=e,l.current=t,u(e)},selectedKeys:d,setSelectedKeys(e){(r||!MO(e,d))&&f(e)},disabledKeys:p,disabledBehavior:a}}function PO(e,t){return e?e===`all`?`all`:new nB(e):t}function FO(e){let{onExpandedChange:t}=e,[n,r]=FC(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,t),i=NO(e),a=(0,_j.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),o=yO(e,(0,_j.useCallback)(e=>new tB(e,{expandedKeys:n}),[n]),null);return(0,_j.useEffect)(()=>{i.focusedKey!=null&&!o.getItem(i.focusedKey)&&i.setFocusedKey(null)},[o,i.focusedKey]),{collection:o,expandedKeys:n,disabledKeys:a,toggleKey:e=>{r(IO(n,e))},setExpandedKeys:r,selectionManager:new rB(o,i)}}function IO(e,t){let n=new Set(e);return n.has(t)?n.delete(t):n.add(t),n}function LO({props:e,collection:t,menuRef:n}){[e,n]=Iw(e,n,Lz);let{filter:r,...i}=e,a=(0,H.useMemo)(()=>r?t.filter(r):t,[t,r]),o=FO({...e,collection:a,children:void 0}),s=(0,H.useContext)(oB),{isVirtualized:c,CollectionRoot:l}=(0,H.useContext)(Iz),{menuProps:u}=pO({...e,isVirtualized:c,onClose:e.onClose||s?.close},o,n),d=Pw({defaultClassName:`react-aria-Menu`,className:e.className,style:e.style,values:{isEmpty:o.collection.size===0}}),f=null;o.collection.size===0&&e.renderEmptyState&&(f=H.createElement(`div`,{role:`menuitem`,style:{display:`contents`}},e.renderEmptyState()));let p=VS(e,{global:!0});return H.createElement(fE,null,H.createElement(`div`,{...R(p,d,u),ref:n,slot:e.slot||void 0,"data-empty":o.collection.size===0||void 0,onScroll:e.onScroll},H.createElement(Nw,{values:[[aB,o],[Vz,{elementType:`div`}],[Pz,{name:`MenuSection`,render:RO}],[cB,{parentMenuRef:n,shouldUseVirtualFocus:i?.shouldUseVirtualFocus}],[dB,null],[Lz,null],[Rz,null],[sB,o.selectionManager],[oB,s??AO({})]]},H.createElement(l,{collection:o.collection,persistedKeys:eO(o.selectionManager.focusedKey),scrollRef:n})),f))}function RO(e,t,n,r=`react-aria-MenuSection`){let i=(0,H.useContext)(aB),{CollectionBranch:a}=(0,H.useContext)(Iz),[o,s]=Lw(),{headingProps:c,groupProps:l}=DO({heading:s,"aria-label":n.props[`aria-label`]??void 0}),u=Pw({defaultClassName:r,className:n.props?.className,style:n.props?.style,values:{}}),d=(0,H.useContext)(sB),f=NO(e),p=e.selectionMode==null?d:new uB(d,f),m=VS(e,{global:!0});return delete m.id,H.createElement(`section`,{...R(m,u,l),ref:t},H.createElement(Nw,{values:[[zz,{...c,ref:o}],[sB,p]]},H.createElement(a,{collection:i.collection,parent:n})))}function zO(e,t){let{role:n=`dialog`}=e,r=kS();r=e[`aria-label`]?void 0:r;let i=(0,vj.useRef)(!1);return(0,vj.useEffect)(()=>{if(t.current&&!t.current.contains(document.activeElement)){vw(t.current);let e=setTimeout(()=>{(document.activeElement===t.current||document.activeElement===document.body)&&(i.current=!0,t.current&&(t.current.blur(),vw(t.current)),i.current=!1)},500);return()=>{clearTimeout(e)}}},[t]),lD(),{dialogProps:{...VS(e,{labelable:!0}),role:n,tabIndex:-1,"aria-labelledby":e[`aria-labelledby`]||r,onBlur:e=>{i.current&&e.stopPropagation()}},titleProps:{id:r}}}function BO(e){let t=AO(e),n=(0,yj.useRef)(null),{triggerProps:r,overlayProps:i}=VE({type:`dialog`},t,n),[a,o]=(0,yj.useState)(null);return dC({ref:n,onResize:(0,yj.useCallback)(()=>{n.current&&o(n.current.offsetWidth+`px`)},[n])}),r.id=DS(),i[`aria-labelledby`]=r.id,yj.createElement(Nw,{values:[[pB,t],[oB,t],[fB,i],[jz,{trigger:`DialogTrigger`,triggerRef:n,"aria-labelledby":i[`aria-labelledby`],style:{"--trigger-width":a}}]]},yj.createElement(rP,{...r,ref:n,isPressed:t.isOpen},e.children))}function VO({children:e,...t},n){let r={props:t,ref:n};if(UB(r))return Ej.createElement(`a`,{ref:r.ref,...r.props},e);if(WB(r))return Ej.createElement(`button`,{ref:r.ref,type:`button`,...r.props},e);throw Error(`invalid props`)}function HO(e){rV("The `useList` tabs hook is deprecated. Use `TabsView` instead.");let t=(0,kj.useRef)(),n=(0,kj.useRef)(),r=(0,kj.useRef)(new Map),{width:i=1}=bD({ref:t}),[a,o]=(0,kj.useState)(e),[s,c]=(0,kj.useState)([]),l=(0,kj.useRef)(e),u=(0,kj.useCallback)(({menuName:e,actions:t})=>{let i=s.some(({active:e})=>e),[a,o]=(0,kj.useState)(!1);return kj.createElement(kj.Fragment,null,kj.createElement(mB,{ariaLabel:`Additional tabs`,visible:a,onVisibleChange:o,placement:`bottom`,popover:kj.createElement(MB,{links:s.map(({title:e,id:n,color:r,active:i})=>({id:n,title:e,color:r,active:i,onClick:e=>{e.preventDefault(),t.onSelect(n)}}))})},kj.createElement(aV,{id:`addons-menu-button`,ref:n,active:i,preActive:a,style:{visibility:s.length?`visible`:`hidden`},"aria-hidden":!s.length,className:`tabbutton`,type:`button`,role:`tab`},e,kj.createElement(iV,{className:`addon-collapsible-icon`,isActive:i||a}))),s.map(({title:e,id:t,color:n},i)=>{let a=`index-${i}`;return kj.createElement(qB,{id:`tabbutton-${sh(t)??a}`,style:{visibility:`hidden`},"aria-hidden":!0,tabIndex:-1,ref:e=>{r.current.set(t,e)},className:`tabbutton`,type:`button`,key:t,textColor:n,role:`tab`},e)}))},[s]),d=(0,kj.useCallback)(()=>{if(!t.current||!n.current)return;let{x:i,width:u}=t.current.getBoundingClientRect(),{width:d}=n.current.getBoundingClientRect(),f=s.length?i+u-d:i+u,p=[],m=0,h=e.filter(e=>{let{id:t}=e,n=r.current.get(t),{width:a=0}=n?.getBoundingClientRect()||{},o=i+m+a>f;return(!o||!n)&&p.push(e),m+=a,o});(p.length!==a.length||l.current!==e)&&(o(p),c(h),l.current=e)},[s.length,e,a]);return(0,kj.useLayoutEffect)(d,[d,i]),{tabRefs:r,addonsRef:n,tabBarRef:t,visibleList:a,invisibleList:s,AddonTab:u}}function UO(e,t){let{"aria-label":n,"aria-labelledby":r,orientation:i=`horizontal`}=e,[a,o]=(0,jj.useState)(!1);U(()=>{var e;o(!!(t.current&&(e=t.current.parentElement)!=null&&e.closest(`[role="toolbar"]`)))});let{direction:s}=oT(),c=s===`rtl`&&i===`horizontal`,l=ME(t),u=e=>{if(e.currentTarget.contains(e.target)){if(i===`horizontal`&&e.key===`ArrowRight`||i===`vertical`&&e.key===`ArrowDown`)c?l.focusPrevious():l.focusNext();else if(i===`horizontal`&&e.key===`ArrowLeft`||i===`vertical`&&e.key===`ArrowUp`)c?l.focusNext():l.focusPrevious();else if(e.key===`Tab`){e.stopPropagation(),d.current=document.activeElement,e.shiftKey?l.focusFirst():l.focusLast();return}else return;e.stopPropagation(),e.preventDefault()}},d=(0,jj.useRef)(null),f=e=>{!e.currentTarget.contains(e.relatedTarget)&&!d.current&&(d.current=e.target)},p=e=>{var n;if(d.current&&!e.currentTarget.contains(e.relatedTarget)&&(n=t.current)!=null&&n.contains(e.target)){var r;(r=d.current)==null||r.focus(),d.current=null}};return{toolbarProps:{...VS(e,{labelable:!0}),role:a?`group`:`toolbar`,"aria-orientation":i,"aria-label":n,"aria-labelledby":n==null?r:void 0,onKeyDownCapture:a?void 0:u,onFocusCapture:a?void 0:p,onBlurCapture:a?void 0:f}}}function WO(e,t,n){return e?(typeof t==`string`&&(t=t.replace(/\s+/g,``)),`${_V.get(e)}-${n}-${t}`):``}function GO(e,t,n){let{key:r,isDisabled:i,shouldSelectOnPressUp:a}=e,{selectionManager:o,selectedKey:s}=t,c=r===s,l=i||t.isDisabled||t.selectionManager.isDisabled(r),{itemProps:u,isPressed:d}=lO({selectionManager:o,key:r,ref:n,isDisabled:l,shouldSelectOnPressUp:a,linkBehavior:`selection`}),f=WO(t,r,`tab`),p=WO(t,r,`tabpanel`),{tabIndex:m}=u,h=t.collection.getItem(r),g=VS(h?.props,{labelable:!0});delete g.id;let _=eC(h?.props),{focusableProps:v}=Cw({isDisabled:l},n);return{tabProps:R(g,v,_,u,{id:f,"aria-selected":c,"aria-disabled":l||void 0,"aria-controls":c?p:void 0,tabIndex:l?void 0:m,role:`tab`}),isSelected:c,isDisabled:l,isPressed:d}}function KO(e,t,n){let r=FE(n)?void 0:0,i=WO(t,e.id??t?.selectedKey,`tabpanel`);return{tabPanelProps:R(oC({...e,id:i,"aria-labelledby":WO(t,t?.selectedKey,`tab`)}),{tabIndex:r,role:`tabpanel`,"aria-describedby":e[`aria-describedby`],"aria-details":e[`aria-details`]})}}function qO(e,t,n){let{orientation:r=`horizontal`,keyboardActivation:i=`automatic`}=e,{collection:a,selectionManager:o,disabledKeys:s}=t,{direction:c}=oT(),{collectionProps:l}=cO({ref:n,selectionManager:o,keyboardDelegate:(0,Nj.useMemo)(()=>new vV(a,c,r,s),[a,s,r,c]),selectOnFocus:i===`automatic`,disallowEmptySelection:!0,scrollRef:n,linkBehavior:`selection`}),u=DS();return _V.set(t,u),{tabListProps:{...R(l,oC({...e,id:u})),role:`tablist`,"aria-orientation":r,tabIndex:void 0}}}function JO(e){let{filter:t,layoutDelegate:n}=e,r=NO(e),i=(0,Ij.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=yO(e,(0,Ij.useCallback)(e=>t?new AV(t(e)):new AV(e),[t]),(0,Ij.useMemo)(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning])),o=(0,Ij.useMemo)(()=>new rB(a,r,{layoutDelegate:n}),[a,r,n]);return YO(a,o),{collection:a,disabledKeys:i,selectionManager:o}}function YO(e,t){let n=(0,Ij.useRef)(null);(0,Ij.useEffect)(()=>{if(t.focusedKey!=null&&!e.getItem(t.focusedKey)&&n.current){let r=n.current.getItem(t.focusedKey),i=[...n.current.getKeys()].map(e=>{let t=n.current.getItem(e);return t?.type===`item`?t:null}).filter(e=>e!==null),a=[...e.getKeys()].map(t=>{let n=e.getItem(t);return n?.type===`item`?n:null}).filter(e=>e!==null),o=(i?.length??0)-(a?.length??0),s=Math.min(o>1?Math.max((r?.index??0)-o+1,0):r?.index??0,(a?.length??0)-1),c=null,l=!1;for(;s>=0;){if(!t.isDisabled(a[s].key)){c=a[s];break}s<a.length-1&&!l?s++:(l=!0,s>(r?.index??0)&&(s=r?.index??0),s--)}t.setFocusedKey(c?c.key:null)}n.current=e},[e,t])}function XO(e){let[t,n]=FC(e.selectedKey,e.defaultSelectedKey??null,e.onSelectionChange),r=(0,Lj.useMemo)(()=>t==null?[]:[t],[t]),{collection:i,disabledKeys:a,selectionManager:o}=JO({...e,selectionMode:`single`,disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:r,onSelectionChange:r=>{if(r===`all`)return;let i=r.values().next().value??null;i===t&&e.onSelectionChange&&e.onSelectionChange(i),n(i)}});return{collection:i,disabledKeys:a,selectionManager:o,selectedKey:t,setSelectedKey:n,selectedItem:t==null?null:i.getItem(t)}}function ZO(e){let t=XO({...e,onSelectionChange:e.onSelectionChange?t=>{var n;t!=null&&((n=e.onSelectionChange)==null||n.call(e,t))}:void 0,suppressTextValueWarning:!0,defaultSelectedKey:e.defaultSelectedKey??QO(e.collection,e.disabledKeys?new Set(e.disabledKeys):new Set)??void 0}),{selectionManager:n,collection:r,selectedKey:i}=t,a=(0,Rj.useRef)(i);return(0,Rj.useEffect)(()=>{let o=i;e.selectedKey==null&&(n.isEmpty||o==null||!r.getItem(o))&&(o=QO(r,t.disabledKeys),o!=null&&n.setSelectedKeys([o])),(o!=null&&n.focusedKey==null||!n.isFocused&&o!==a.current)&&n.setFocusedKey(o),a.current=o}),{...t,isDisabled:e.isDisabled||!1}}function QO(e,t){let n=null;if(e){var r,i,a,o;for(n=e.getFirstKey();n!=null&&(t.has(n)||(i=e.getItem(n))!=null&&(r=i.props)!=null&&r.isDisabled)&&n!==e.getLastKey();)n=e.getKeyAfter(n);n!=null&&(t.has(n)||(o=e.getItem(n))!=null&&(a=o.props)!=null&&a.isDisabled)&&n===e.getLastKey()&&(n=e.getFirstKey())}return n}function $O({props:e,tabsRef:t,collection:n}){let{orientation:r=`horizontal`}=e,i=ZO({...e,collection:n,children:void 0}),{focusProps:a,isFocused:o,isFocusVisible:s}=PE({within:!0}),c=(0,zj.useMemo)(()=>({orientation:r,isFocusWithin:o,isFocusVisible:s}),[r,o,s]),l=Pw({...e,defaultClassName:`react-aria-Tabs`,values:c}),u=VS(e,{global:!0});return zj.createElement(`div`,{...R(u,l,a),ref:t,slot:e.slot||void 0,"data-focused":o||void 0,"data-orientation":r,"data-focus-visible":s||void 0,"data-disabled":i.isDisabled||void 0},zj.createElement(Nw,{values:[[IV,e],[LV,i]]},l.children))}function ek({props:e,forwardedRef:t}){let n=(0,zj.useContext)(LV),{CollectionRoot:r}=(0,zj.useContext)(Iz),{orientation:i=`horizontal`,keyboardActivation:a=`automatic`}=Fw(IV),o=sC(t),{tabListProps:s}=qO({...e,orientation:i,keyboardActivation:a},n,o),c=Pw({...e,children:null,defaultClassName:`react-aria-TabList`,values:{orientation:i,state:n}}),l=VS(e,{global:!0});return delete l.id,zj.createElement(`div`,{...R(l,c,s),ref:o,"data-orientation":i||void 0},zj.createElement(r,{collection:n.collection,persistedKeys:eO(n.selectionManager.focusedKey)}))}var tk,nk,rk,ik,ak,ok,sk,ck,lk,uk,dk,fk,pk,mk,hk,gk,_k,vk,yk,bk,xk,Sk,Ck,wk,Tk,Ek,Dk,Ok,kk,Ak,jk,Mk,Nk,Pk,Fk,Ik,Lk,Rk,zk,Bk,Vk,Hk,Uk,Wk,Gk,Kk,qk,Jk,Yk,Xk,Zk,Qk,$k,eA,tA,nA,rA,iA,aA,oA,sA,cA,lA,uA,dA,fA,pA,mA,hA,gA,_A,vA,yA,bA,xA,SA,CA,wA,TA,EA,DA,OA,kA,B,AA,jA,MA,NA,PA,FA,IA,LA,RA,zA,BA,VA,HA,UA,WA,GA,KA,V,qA,JA,YA,XA,ZA,QA,$A,ej,tj,nj,rj,ij,aj,oj,sj,cj,lj,uj,dj,fj,pj,mj,hj,gj,_j,H,vj,yj,bj,xj,Sj,Cj,wj,Tj,Ej,Dj,Oj,kj,Aj,jj,Mj,Nj,Pj,Fj,Ij,Lj,Rj,zj,Bj,Vj,Hj,Uj,Wj,Gj,Kj,qj,Jj,Yj,Xj,Zj,Qj,$j,eM,tM,nM,rM,iM,aM,oM,sM,cM,lM,uM,dM,fM,pM,mM,hM,gM,_M,vM,yM,bM,xM,SM,CM,wM,TM,EM,DM,OM,kM,AM,jM,MM,NM,PM,FM,IM,LM,RM,zM,BM,VM,HM,UM,WM,U,GM,KM,qM,JM,YM,XM,ZM,QM,W,$M,eN,tN,nN,rN,iN,aN,oN,sN,cN,lN,uN,dN,fN,pN,mN,hN,gN,_N,vN,yN,bN,xN,SN,CN,wN,TN,EN,DN,ON,kN,AN,jN,MN,NN,PN,FN,IN,LN,RN,zN,BN,VN,HN,UN,WN,GN,KN,qN,JN,YN,XN,ZN,QN,$N,eP,tP,nP,rP,iP,aP,oP,sP,cP,lP,uP,dP,fP,pP,mP,hP,gP,_P,vP,yP,bP,xP,SP,CP,G,wP,TP,EP,DP,K,OP,kP,AP,jP,MP,NP,PP,FP,IP,LP,RP,zP,BP,VP,HP,UP,WP,GP,KP,qP,JP,YP,XP,ZP,QP,$P,eF,tF,nF,rF,iF,aF,oF,sF,cF,lF,uF,dF,fF,pF,mF,hF,gF,_F,vF,yF,bF,xF,SF,CF,wF,TF,EF,DF,OF,kF,AF,jF,MF,NF,PF,FF,IF,LF,RF,zF,BF,VF,HF,UF,WF,GF,KF,qF,JF,YF,XF,ZF,QF,$F,eI,tI,nI,rI,iI,aI,oI,sI,cI,lI,uI,dI,fI,pI,mI,hI,gI,_I,vI,yI,bI,xI,SI,CI,wI,TI,EI,DI,OI,kI,AI,jI,MI,NI,PI,FI,II,LI,RI,zI,BI,VI,HI,UI,WI,GI,KI,qI,JI,YI,XI,ZI,QI,$I,eL,tL,nL,rL,iL,aL,oL,sL,cL,lL,uL,dL,fL,pL,mL,hL,gL,_L,vL,yL,bL,xL,SL,CL,wL,TL,EL,DL,OL,kL,AL,jL,ML,NL,PL,FL,IL,LL,RL,zL,BL,VL,HL,UL,WL,GL,KL,qL,JL,YL,XL,ZL,QL,$L,eR,tR,nR,rR,iR,aR,oR,sR,cR,lR,uR,dR,fR,pR,mR,hR,gR,_R,vR,yR,bR,xR,SR,CR,wR,TR,ER,DR,OR,kR,AR,jR,MR,NR,PR,FR,IR,LR,RR,zR,BR,VR,HR,UR,WR,GR,KR,qR,JR,YR,XR,ZR,QR,$R,ez,tz,nz,rz,iz,az,oz,sz,cz,lz,uz,dz,fz,pz,mz,hz,gz,_z,vz,yz,bz,xz,Sz,Cz,wz,Tz,Ez,Dz,Oz,kz,Az,jz,Mz,Nz,Pz,Fz,Iz,Lz,Rz,zz,Bz,Vz,Hz,Uz,Wz,Gz,Kz,qz,Jz,Yz,Xz,Zz,Qz,$z,eB,tB,nB,rB,iB,aB,oB,sB,cB,lB,uB,dB,fB,pB,mB,hB,gB,_B,vB,yB,bB,xB,SB,CB,wB,TB,EB,DB,OB,kB,AB,jB,MB,NB,PB,FB,IB,LB,RB,zB,BB,VB,HB,UB,WB,GB,KB,qB,JB,YB,XB,ZB,QB,$B,eV,tV,nV,rV,iV,aV,oV,sV,cV,lV,uV,dV,fV,pV,mV,hV,gV,_V,vV,yV,bV,xV,SV,CV,wV,TV,EV,DV,OV,kV,AV,jV,MV,NV,PV,FV,IV,LV,RV,zV,BV,VV,HV,UV,WV,GV,KV,qV,JV,YV,XV,ZV,QV,$V,eH,tH,nH;function rH(){return(rH=t((()=>{le(),ce(),de(),Ne(),S(),tk=o(),nk=e(o(),1),pe(),rk=e(o(),1),ik=e(o(),1),ak=e(o(),1),o(),ok=e(o(),1),ct(),sk=e(o(),1),ck=e(o(),1),lk=e(o(),1),o(),uk=j(),iS(),dk=e(o(),1),fk=e(o(),1),pk=e(o(),1),mk=e(o(),1),hk=o(),gk=o(),_k=e(o(),1),vk=e(o(),1),o(),yk=o(),bk=o(),xk=e(o(),1),o(),Sk=o(),Ck=o(),o(),wk=o(),Tk=o(),o(),o(),o(),o(),Ek=o(),Dk=Pe(),Ok=o(),kk=e(o(),1),Ak=o(),jk=e(o(),1),Pe(),Mk=o(),Nk=o(),Pk=o(),Fk=e(o(),1),Ik=e(o(),1),Lk=e(o(),1),Rk=o(),zk=o(),Bk=o(),o(),o(),Vk=o(),Hk=e(o(),1),Uk=e(o(),1),Wk=o(),Gk=o(),Kk=o(),qk=o(),Jk=e(o(),1),o(),Yk=o(),o(),o(),Xk=o(),o(),Zk=e(o(),1),Qk=o(),o(),$k=o(),eA=o(),tA=o(),nA=e(o(),1),rA=e(o(),1),iA=e(Pe(),1),aA=e(o(),1),oA=e(o(),1),sA=o(),cA=e(o(),1),lA=e(Pe(),1),uA=o(),dA=o(),fA=o(),pA=e(o(),1),mA=e(o(),1),hA=e(o(),1),gA=e(o(),1),_A=e(o(),1),vA=e(o(),1),yA=e(o(),1),bA=o(),o(),xA=o(),SA=e(o(),1),CA=o(),wA=e(o(),1),TA=e(o(),1),o(),o(),EA=e(o(),1),DA=o(),OA=e(o(),1),kA=e(o(),1),B=e(o(),1),AA=e(o(),1),jA=e(o(),1),MA=e(o(),1),NA=o(),PA=e(o(),1),FA=e(o(),1),IA=e(o(),1),LA=e(o(),1),RA=e(o(),1),zA=o(),BA=e(o(),1),VA=e(o(),1),HA=e(o(),1),UA=e(o(),1),WA=o(),GA=e(o(),1),KA=Pe(),V=e(o(),1),qA=Ie(),JA=e(o(),1),YA=e(o(),1),o(),XA=e(o(),1),ZA=e(o(),1),QA=e(o(),1),$A=o(),ej=e(o(),1),tj=e(o(),1),nj=e(o(),1),rj=o(),ij=Pe(),aj=o(),oj=o(),sj=o(),cj=e(o(),1),o(),lj=e(o(),1),uj=o(),dj=o(),fj=o(),pj=o(),mj=o(),hj=o(),gj=o(),_j=o(),H=e(o(),1),vj=o(),yj=e(o(),1),bj=e(o(),1),xj=e(o(),1),o(),Sj=e(o(),1),Cj=e(o(),1),wj=e(o(),1),uh(),Tj=e(o(),1),Ej=e(o(),1),Dj=e(o(),1),Oj=e(o(),1),kj=e(o(),1),o(),o(),Aj=e(o(),1),jj=o(),Mj=e(o(),1),Nj=o(),Pj=e(o(),1),Fj=e(o(),1),Ij=o(),Lj=o(),Rj=o(),o(),zj=e(o(),1),o(),o(),o(),o(),o(),Bj=e(o(),1),o(),o(),i(),Vj=({...e},t)=>{let n=[e.class,e.className];return delete e.class,e.className=[`sbdocs`,`sbdocs-${t}`,...n].filter(Boolean).join(` `),e},Hj=({theme:e})=>({margin:`20px 0 8px`,padding:0,cursor:`text`,position:`relative`,color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:`none`},"& tt, & code":{fontSize:`inherit`}}),Uj=({theme:e})=>({lineHeight:1,margin:`0 2px`,padding:`3px 5px`,whiteSpace:`nowrap`,borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base===`light`?`1px solid hsl(0 0 0 / 0.05)`:`1px solid hsl(0 0 100 / 0.05)`,color:e.color.defaultText,backgroundColor:e.base===`light`?`hsl(0 0 0 / 0.01)`:`hsl(0 0 100 / 0.02)`}),Wj=({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:`antialiased`,MozOsxFontSmoothing:`grayscale`,WebkitTapHighlightColor:`rgba(0, 0, 0, 0)`,WebkitOverflowScrolling:`touch`}),Gj={margin:`16px 0`},Kj=N.div(Wj),qj=({href:e=``,...t})=>{let n=/^\//.test(e)?`./?path=${e}`:e,r=/^#.*/.test(e)?`_self`:`_top`;return rk.createElement(`a`,{href:n,target:r,...t})},Jj=N(qj)(({theme:e})=>({...Wj({theme:e}),fontSize:`inherit`,lineHeight:`24px`,color:e.color.secondary,textDecoration:`underline`,textDecorationThickness:`0.03125rem`,textUnderlineOffset:`0.11em`,"&.absent":{color:`#cc0000`},"&.anchor":{display:`block`,paddingLeft:30,marginLeft:-30,cursor:`pointer`,position:`absolute`,top:0,left:0,bottom:0,textDecoration:`none`},"&.anchor:hover, &.anchor:focus":{textDecoration:`underline`},"& code":{color:`inherit`,textDecoration:`underline`,textDecorationThickness:`0.03125rem`,paddingLeft:0,paddingRight:0,"&::before":{content:`"\\00a0"`,fontSize:`0.5em`},"&::after":{content:`"\\00a0"`,fontSize:`0.5em`}}})),Yj=N.blockquote(({theme:e})=>({...Wj({theme:e}),...Gj,borderLeft:`4px solid ${e.color.medium}`,padding:`0 15px`,color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}})),Xj=[],Zj=null,Qj=(0,ak.lazy)(async()=>{let{SyntaxHighlighter:e}=await a(async()=>{let{SyntaxHighlighter:e}=await import(`./syntaxhighlighter-QEQV7K2Y-JUCJEf5U.js`);return{SyntaxHighlighter:e}},__vite__mapDeps([5,1,2,3,6,7,8,9,10,0,4,11,12]),import.meta.url);return Xj.length>0&&(Xj.forEach(t=>{e.registerLanguage(...t)}),Xj=[]),Zj===null&&(Zj=e),{default:t=>ak.createElement(e,{...t})}}),$j=(0,ak.lazy)(async()=>{let[{SyntaxHighlighter:e},{formatter:t}]=await Promise.all([a(()=>import(`./syntaxhighlighter-QEQV7K2Y-JUCJEf5U.js`),__vite__mapDeps([5,1,2,3,6,7,8,9,10,0,4,11,12]),import.meta.url),a(()=>import(`./formatter-L2YTDE3Q-CRGuSxAF.js`),__vite__mapDeps([13,1,3,4]),import.meta.url)]);return Xj.length>0&&(Xj.forEach(t=>{e.registerLanguage(...t)}),Xj=[]),Zj===null&&(Zj=e),{default:n=>ak.createElement(e,{...n,formatter:t})}}),eM=e=>ak.createElement(ak.Suspense,{fallback:ak.createElement(`div`,null)},e.format===!1?ak.createElement(Qj,{...e}):ak.createElement($j,{...e})),eM.registerLanguage=(...e)=>{if(Zj!==null){Zj.registerLanguage(...e);return}Xj.push(e)},tM=e=>typeof e==`string`,nM=/[\n\r]/g,rM=N.code(({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:`antialiased`,MozOsxFontSmoothing:`grayscale`,display:`inline-block`,paddingLeft:2,paddingRight:2,verticalAlign:`baseline`,color:`inherit`,...Uj({theme:e})})),iM=N(eM)(({theme:e})=>({fontFamily:e.typography.fonts.mono,fontSize:`${e.typography.size.s2-1}px`,lineHeight:`19px`,margin:`25px 0 40px`,borderRadius:e.appBorderRadius,boxShadow:e.base===`light`?`rgba(0, 0, 0, 0.10) 0 1px 3px 0`:`rgba(0, 0, 0, 0.20) 0 2px 5px 0`,"pre.prismjs":{padding:20,background:`inherit`}})),aM=({className:e,children:t,...n})=>{let r=(e||``).match(/lang-(\S+)/),i=ik.Children.toArray(t);return i.filter(tM).some(e=>e.match(nM))?ik.createElement(iM,{bordered:!0,copyable:!0,language:r?.[1]??`text`,format:!1,...n},t):ik.createElement(rM,{...n,className:e},i)},oM=N.dl(({theme:e})=>({...Wj({theme:e}),...Gj,padding:0,"& dt":{fontSize:`14px`,fontWeight:`bold`,fontStyle:`italic`,padding:0,margin:`16px 0 4px`},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:`0 0 16px`,padding:`0 15px`},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}})),sM=N.div(Wj),cM=N.h1(({theme:e})=>({...Wj({theme:e}),...Hj({theme:e}),fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold})),lM=N.h2(({theme:e})=>({...Wj({theme:e}),...Hj({theme:e}),fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`})),uM=N.h3(({theme:e})=>({...Wj({theme:e}),...Hj({theme:e}),fontSize:`${e.typography.size.m1}px`})),dM=N.h4(({theme:e})=>({...Wj({theme:e}),...Hj({theme:e}),fontSize:`${e.typography.size.s3}px`})),fM=N.h5(({theme:e})=>({...Wj({theme:e}),...Hj({theme:e}),fontSize:`${e.typography.size.s2}px`})),pM=N.h6(({theme:e})=>({...Wj({theme:e}),...Hj({theme:e}),fontSize:`${e.typography.size.s2}px`,color:e.color.dark})),mM=N.hr(({theme:e})=>({border:`0 none`,borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0})),hM=N.img({maxWidth:`100%`}),gM=N.li(({theme:e})=>({...Wj({theme:e}),fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:`24px`,"& + li":{marginTop:`.25em`},"& ul, & ol":{marginTop:`.25em`,marginBottom:0},"& code":Uj({theme:e})})),_M={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},vM=N.ol(({theme:e})=>({...Wj({theme:e}),...Gj,..._M,listStyle:`decimal`})),yM=N.p(({theme:e})=>({...Wj({theme:e}),...Gj,fontSize:e.typography.size.s2,lineHeight:`24px`,color:e.color.defaultText,"& code":Uj({theme:e})})),bM=N.pre(({theme:e})=>({...Wj({theme:e}),...Gj,fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:`antialiased`,MozOsxFontSmoothing:`grayscale`,lineHeight:`18px`,padding:`11px 1rem`,whiteSpace:`pre-wrap`,color:`inherit`,borderRadius:3,margin:`1rem 0`,"&:not(.prismjs)":{background:`transparent`,border:`none`,borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:`pre-wrap`,color:`inherit`,fontSize:`13px`,lineHeight:`19px`,code:{color:`inherit`,fontSize:`inherit`}},"& code":{whiteSpace:`pre`},"& code, & tt":{border:`none`}})),xM=N.span(({theme:e})=>({...Wj({theme:e}),"&.frame":{display:`block`,overflow:`hidden`,"& > span":{border:`1px solid ${e.color.medium}`,display:`block`,float:`left`,overflow:`hidden`,margin:`13px 0 0`,padding:7,width:`auto`},"& span img":{display:`block`,float:`left`},"& span span":{clear:`both`,color:e.color.darkest,display:`block`,padding:`5px 0 0`}},"&.align-center":{display:`block`,overflow:`hidden`,clear:`both`,"& > span":{display:`block`,overflow:`hidden`,margin:`13px auto 0`,textAlign:`center`},"& span img":{margin:`0 auto`,textAlign:`center`}},"&.align-right":{display:`block`,overflow:`hidden`,clear:`both`,"& > span":{display:`block`,overflow:`hidden`,margin:`13px 0 0`,textAlign:`right`},"& span img":{margin:0,textAlign:`right`}},"&.float-left":{display:`block`,marginRight:13,overflow:`hidden`,float:`left`,"& span":{margin:`13px 0 0`}},"&.float-right":{display:`block`,marginLeft:13,overflow:`hidden`,float:`right`,"& > span":{display:`block`,overflow:`hidden`,margin:`13px auto 0`,textAlign:`right`}}})),SM=N.title(Uj),CM=N.table(({theme:e})=>({...Wj({theme:e}),...Gj,fontSize:e.typography.size.s2,lineHeight:`24px`,padding:0,borderCollapse:`collapse`,"& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base===`dark`?e.color.darker:e.color.lighter},"& tr th":{fontWeight:`bold`,color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:`6px 13px`},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:`6px 13px`},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}})),wM={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},TM=N.ul(({theme:e})=>({...Wj({theme:e}),...Gj,...wM,listStyle:`disc`})),EM={h1:e=>nk.createElement(cM,{...Vj(e,`h1`)}),h2:e=>nk.createElement(lM,{...Vj(e,`h2`)}),h3:e=>nk.createElement(uM,{...Vj(e,`h3`)}),h4:e=>nk.createElement(dM,{...Vj(e,`h4`)}),h5:e=>nk.createElement(fM,{...Vj(e,`h5`)}),h6:e=>nk.createElement(pM,{...Vj(e,`h6`)}),pre:e=>nk.createElement(bM,{...Vj(e,`pre`)}),a:e=>nk.createElement(Jj,{...Vj(e,`a`)}),hr:e=>nk.createElement(mM,{...Vj(e,`hr`)}),dl:e=>nk.createElement(oM,{...Vj(e,`dl`)}),blockquote:e=>nk.createElement(Yj,{...Vj(e,`blockquote`)}),table:e=>nk.createElement(CM,{...Vj(e,`table`)}),img:e=>nk.createElement(hM,{...Vj(e,`img`)}),div:e=>nk.createElement(sM,{...Vj(e,`div`)}),span:e=>nk.createElement(xM,{...Vj(e,`span`)}),li:e=>nk.createElement(gM,{...Vj(e,`li`)}),ul:e=>nk.createElement(TM,{...Vj(e,`ul`)}),ol:e=>nk.createElement(vM,{...Vj(e,`ol`)}),p:e=>nk.createElement(yM,{...Vj(e,`p`)}),code:e=>nk.createElement(aM,{...Vj(e,`code`)}),tt:e=>nk.createElement(SM,{...Vj(e,`tt`)}),resetwrapper:e=>nk.createElement(Kj,{...Vj(e,`resetwrapper`)})},N.div(({theme:e,compact:t})=>({display:`inline-flex`,alignItems:`center`,justifyContent:`center`,fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:`12px`,minWidth:20,borderRadius:20,padding:t?`4px 7px`:`4px 10px`}),{svg:{height:12,width:12,marginRight:4,marginTop:-2,path:{fill:`currentColor`}}},({theme:e,status:t})=>{switch(t){case`critical`:return{color:e.fgColor.critical,background:e.bgColor.critical,boxShadow:`inset 0 0 0 1px ${e.borderColor.critical}`};case`negative`:return{color:e.fgColor.negative,background:e.bgColor.negative,boxShadow:`inset 0 0 0 1px ${e.borderColor.negative}`};case`warning`:return{color:e.fgColor.warning,background:e.bgColor.warning,boxShadow:`inset 0 0 0 1px ${e.borderColor.warning}`};case`neutral`:return{color:e.fgColor.muted,background:e.base===`dark`?e.barBg:e.background.app,boxShadow:`inset 0 0 0 1px ${Ae(.8,e.textMutedColor)}`};case`positive`:return{color:e.fgColor.positive,background:e.bgColor.positive,boxShadow:`inset 0 0 0 1px ${e.borderColor.positive}`};case`active`:return{color:e.base===`light`?je(.1,e.color.secondary):e.color.secondary,background:e.background.hoverable,boxShadow:`inset 0 0 0 1px ${Ae(.9,e.color.secondary)}`};default:return{}}}),{deprecate:DM}=__STORYBOOK_MODULE_CLIENT_LOGGER__,OM=0,kM=e=>e.button===OM&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey,AM=(e,t)=>{kM(e)&&(e.preventDefault(),t(e))},jM=N.span(({withArrow:e})=>e?{"> svg:last-of-type":{height:`0.7em`,width:`0.7em`,marginRight:0,marginLeft:`0.25em`,bottom:`auto`,verticalAlign:`inherit`}}:{},({containsIcon:e})=>e?{svg:{height:`1em`,width:`1em`,verticalAlign:`middle`,position:`relative`,bottom:0,marginRight:0}}:{}),MM=N.a(({theme:e})=>({display:`inline-block`,transition:`all 150ms ease-out`,textDecoration:`none`,color:e.color.secondary,"&:hover, &:focus":{cursor:`pointer`,color:je(.07,e.color.secondary),"svg path:not([fill])":{fill:je(.07,e.color.secondary)}},"&:active":{color:je(.1,e.color.secondary),"svg path:not([fill])":{fill:je(.1,e.color.secondary)}},svg:{display:`inline-block`,height:`1em`,width:`1em`,verticalAlign:`text-top`,position:`relative`,bottom:`-0.125em`,marginRight:`0.4em`,"& path":{fill:e.color.secondary}}}),({theme:e,secondary:t,tertiary:n})=>{let r;return t&&(r=[e.textMutedColor,e.color.secondary,e.color.secondary]),n&&(r=[e.color.dark,e.color.secondary,e.color.secondary]),r?{color:r[0],"svg path:not([fill])":{fill:r[0]},"&:hover":{color:r[1],"svg path:not([fill])":{fill:r[1]}},"&:active":{color:r[2],"svg path:not([fill])":{fill:r[2]}}}:{}},({nochrome:e})=>e?{color:`inherit`,"&:hover, &:active":{color:`inherit`,textDecoration:`underline`}}:{},({theme:e,inverse:t})=>t?{color:e.color.lightest,":not([fill])":{fill:e.color.lightest},"&:hover":{color:e.color.lighter,"svg path:not([fill])":{fill:e.color.lighter}},"&:active":{color:e.color.light,"svg path:not([fill])":{fill:e.color.light}}}:{},({isButton:e,theme:t})=>e?{border:0,borderRadius:t.input.borderRadius,background:`none`,padding:0,fontSize:`inherit`,lineHeight:`inherit`,"&:focus-visible":{outline:`2px solid ${t.color.secondary}`,outlineOffset:2,zIndex:`1`}}:{}),NM=(0,ok.forwardRef)(({cancel:e=!0,children:t,onClick:n=void 0,withArrow:r=!1,containsIcon:i=!1,className:a=void 0,isButton:o=void 0,href:s,...c},l)=>(o!==void 0&&DM("Link: `isButton` is deprecated and will be removed in Storybook 11. Links without a `href` are automatically rendered as buttons."),ok.createElement(MM,{as:s?`a`:`button`,href:s,...c,ref:l,isButton:!s||o===!0,onClick:n&&e?e=>AM(e,n):n,className:a},ok.createElement(jM,{withArrow:r,containsIcon:i},t,r&&ok.createElement(et,null))))),NM.displayName=`Link`,N.div(({theme:e})=>({fontSize:`${e.typography.size.s2}px`,lineHeight:`1.6`,h1:{fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},h2:{fontSize:`${e.typography.size.m2}px`,borderBottom:`1px solid ${e.appBorderColor}`},h3:{fontSize:`${e.typography.size.m1}px`},h4:{fontSize:`${e.typography.size.s3}px`},h5:{fontSize:`${e.typography.size.s2}px`},h6:{fontSize:`${e.typography.size.s2}px`,color:e.color.dark},"pre:not(.prismjs)":{background:`transparent`,border:`none`,borderRadius:0,padding:0,margin:0},"pre pre, pre.prismjs":{padding:15,margin:0,whiteSpace:`pre-wrap`,color:`inherit`,fontSize:`13px`,lineHeight:`19px`},"pre pre code, pre.prismjs code":{color:`inherit`,fontSize:`inherit`},"pre code":{margin:0,padding:0,whiteSpace:`pre`,border:`none`,background:`transparent`},"pre code, pre tt":{backgroundColor:`transparent`,border:`none`},"body > *:first-of-type":{marginTop:`0 !important`},"body > *:last-child":{marginBottom:`0 !important`},a:{color:e.color.secondary,textDecoration:`underline`,textDecorationThickness:`0.03125rem`,textUnderlineOffset:`0.11em`,"& code":{color:`inherit`,textDecoration:`underline`,textDecorationThickness:`0.03125rem`,paddingLeft:0,paddingRight:0,"&::before":{content:`"\\00a0"`,fontSize:`0.5em`},"&::after":{content:`"\\00a0"`,fontSize:`0.5em`}}},"a.absent":{color:`#cc0000`},"a.anchor":{display:`block`,paddingLeft:30,marginLeft:-30,cursor:`pointer`,position:`absolute`,top:0,left:0,bottom:0,textDecoration:`none`},"&.anchor:hover, &.anchor:focus":{textDecoration:`underline`},"h1, h2, h3, h4, h5, h6":{margin:`20px 0 10px`,padding:0,cursor:`text`,position:`relative`,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:`none`},"& tt, & code":{fontSize:`inherit`}},"h1:first-of-type + h2":{marginTop:0,paddingTop:0},"p, blockquote, ul, ol, dl, li, table, pre":{margin:`15px 0`},hr:{border:`0 none`,borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},"body > h1:first-of-type, body > h2:first-of-type, body > h3:first-of-type, body > h4:first-of-type, body > h5:first-of-type, body > h6:first-of-type":{marginTop:0,paddingTop:0},"body > h1:first-of-type + h2":{marginTop:0,paddingTop:0},"a:first-of-type h1, a:first-of-type h2, a:first-of-type h3, a:first-of-type h4, a:first-of-type h5, a:first-of-type h6":{marginTop:0,paddingTop:0},"h1 p, h2 p, h3 p, h4 p, h5 p, h6 p":{marginTop:0},"li p.first":{display:`inline-block`},"ul, ol":{paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},dl:{padding:0},"dl dt":{fontSize:`14px`,fontWeight:`bold`,fontStyle:`italic`,margin:`0 0 15px`,padding:`0 15px`,"&:first-of-type":{padding:0},"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},blockquote:{borderLeft:`4px solid ${e.color.medium}`,padding:`0 15px`,color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},table:{padding:0,borderCollapse:`collapse`,"& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:`white`,margin:0,padding:0,"& th":{fontWeight:`bold`,border:`1px solid ${e.appBorderColor}`,textAlign:`left`,margin:0,padding:`6px 13px`},"& td":{border:`1px solid ${e.appBorderColor}`,textAlign:`left`,margin:0,padding:`6px 13px`},"&:nth-of-type(2n)":{backgroundColor:e.color.lighter},"& th :first-of-type, & td :first-of-type":{marginTop:0},"& th :last-child, & td :last-child":{marginBottom:0}}},img:{maxWidth:`100%`},"span.frame":{display:`block`,overflow:`hidden`,"& > span":{border:`1px solid ${e.color.medium}`,display:`block`,float:`left`,overflow:`hidden`,margin:`13px 0 0`,padding:7,width:`auto`},"& span img":{display:`block`,float:`left`},"& span span":{clear:`both`,color:e.color.darkest,display:`block`,padding:`5px 0 0`}},"span.align-center":{display:`block`,overflow:`hidden`,clear:`both`,"& > span":{display:`block`,overflow:`hidden`,margin:`13px auto 0`,textAlign:`center`},"& span img":{margin:`0 auto`,textAlign:`center`}},"span.align-right":{display:`block`,overflow:`hidden`,clear:`both`,"& > span":{display:`block`,overflow:`hidden`,margin:`13px 0 0`,textAlign:`right`},"& span img":{margin:0,textAlign:`right`}},"span.float-left":{display:`block`,marginRight:13,overflow:`hidden`,float:`left`,"& span":{margin:`13px 0 0`}},"span.float-right":{display:`block`,marginLeft:13,overflow:`hidden`,float:`right`,"& > span":{display:`block`,overflow:`hidden`,margin:`13px auto 0`,textAlign:`right`}},"code, tt":{margin:`0 2px`,padding:`0 5px`,whiteSpace:`nowrap`,border:`1px solid ${e.color.mediumlight}`,backgroundColor:e.color.lighter,borderRadius:3,color:e.base===`dark`?e.color.darkest:e.color.dark}})),{global:PM}=__STORYBOOK_MODULE_GLOBAL__,{document:FM,window:IM}=PM,{deprecate:LM}=__STORYBOOK_MODULE_CLIENT_LOGGER__,RM=Symbol.for(`react.lazy`),zM=lk.use,BM=pS(`Slot`),VM=Symbol(`radix.slottable`),hS(`Slottable`),HM=N.div(({theme:e})=>({fontFamily:e.typography.fonts.base,padding:`2px 6px`,lineHeight:`16px`,fontSize:10,fontWeight:e.typography.weight.bold,color:e.color.lightest,boxShadow:`0 0 5px 0 rgba(0, 0, 0, 0.3)`,borderRadius:4,whiteSpace:`nowrap`,pointerEvents:`none`,zIndex:-1,background:e.base===`light`?`rgba(60, 60, 60, 0.9)`:`rgba(0, 0, 0, 0.95)`})),UM=({note:e,...t})=>fk.createElement(HM,{...t},e),{deprecate:WM}=__STORYBOOK_MODULE_CLIENT_LOGGER__,U=typeof document<`u`?mk.useLayoutEffect:()=>{},GM={prefix:String(Math.round(Math.random()*1e10)),current:0},KM=_k.createContext(GM),qM=_k.createContext(!1),typeof window<`u`&&window.document&&window.document.createElement,JM=new WeakMap,YM=typeof _k.useId==`function`?SS:xS,XM=!!(typeof window<`u`&&window.document&&window.document.createElement),ZM=new Map,typeof FinalizationRegistry<`u`&&(QM=new FinalizationRegistry(e=>{ZM.delete(e)})),W=e=>e?.ownerDocument??document,$M=e=>e&&`window`in e&&e.window===e?e:W(e).defaultView||window,eN=!1,tN=(e=document)=>{var t;if(!NS())return e.activeElement;let n=e.activeElement;for(;n&&`shadowRoot`in n&&(t=n.shadowRoot)!=null&&t.activeElement;)n=n.shadowRoot.activeElement;return n},nN=class{get currentNode(){return this._currentNode}set currentNode(e){if(!PS(this.root,e))throw Error(`Cannot set currentNode to a node that is not contained by the root node.`);let t=[],n=e,r=e;for(this._currentNode=e;n&&n!==this.root;)if(n.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let e=n,i=this._doc.createTreeWalker(e,this.whatToShow,{acceptNode:this._acceptNode});t.push(i),i.currentNode=r,this._currentSetFor.add(i),n=r=e.host}else n=n.parentNode;let i=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});t.push(i),i.currentNode=r,this._currentSetFor.add(i),this._walkerStack=t}get doc(){return this._doc}firstChild(){let e=this.currentNode,t=this.nextNode();return PS(e,t)?(t&&(this.currentNode=t),t):(this.currentNode=e,null)}lastChild(){let e=this._walkerStack[0].lastChild();return e&&(this.currentNode=e),e}nextNode(){let e=this._walkerStack[0].nextNode();if(e){if(e.shadowRoot){var t;let n;if(typeof this.filter==`function`?n=this.filter(e):(t=this.filter)!=null&&t.acceptNode&&(n=this.filter.acceptNode(e)),n===NodeFilter.FILTER_ACCEPT)return this.currentNode=e,e;let r=this.nextNode();return r&&(this.currentNode=r),r}return e&&(this.currentNode=e),e}if(this._walkerStack.length>1){this._walkerStack.shift();let e=this.nextNode();return e&&(this.currentNode=e),e}return null}previousNode(){let e=this._walkerStack[0];if(e.currentNode===e.root){if(this._currentSetFor.has(e)){if(this._currentSetFor.delete(e),this._walkerStack.length>1){this._walkerStack.shift();let e=this.previousNode();return e&&(this.currentNode=e),e}return null}return null}let t=e.previousNode();if(t){if(t.shadowRoot){var n;let e;if(typeof this.filter==`function`?e=this.filter(t):(n=this.filter)!=null&&n.acceptNode&&(e=this.filter.acceptNode(t)),e===NodeFilter.FILTER_ACCEPT)return t&&(this.currentNode=t),t;let r=this.lastChild();return r&&(this.currentNode=r),r}return t&&(this.currentNode=t),t}if(this._walkerStack.length>1){this._walkerStack.shift();let e=this.previousNode();return e&&(this.currentNode=e),e}return null}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}constructor(e,t,n,r){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=e=>{if(e.nodeType===Node.ELEMENT_NODE){let n=e.shadowRoot;if(n){let e=this._doc.createTreeWalker(n,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(e),NodeFilter.FILTER_ACCEPT}var t;if(typeof this.filter==`function`)return this.filter(e);if((t=this.filter)!=null&&t.acceptNode)return this.filter.acceptNode(e);if(this.filter===null)return NodeFilter.FILTER_ACCEPT}return NodeFilter.FILTER_SKIP},this._doc=e,this.root=t,this.filter=r??null,this.whatToShow=n??NodeFilter.SHOW_ALL,this._currentNode=t,this._walkerStack.unshift(e.createTreeWalker(t,n,this._acceptNode));let i=t.shadowRoot;if(i){let e=this._doc.createTreeWalker(i,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(e)}}},rN=RS,iN=new Set([`id`]),aN=new Set([`aria-label`,`aria-labelledby`,`aria-describedby`,`aria-details`]),oN=new Set([`href`,`hrefLang`,`target`,`rel`,`download`,`ping`,`referrerPolicy`]),sN=new Set([`dir`,`lang`,`hidden`,`inert`,`translate`]),cN=new Set(`onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart`.split(`.`)),lN=/^(data-.*)$/,uN=null,dN=JS(function(){return qS(/^Mac/i)}),fN=JS(function(){return qS(/^iPhone/i)}),pN=JS(function(){return qS(/^iPad/i)||dN()&&navigator.maxTouchPoints>1}),mN=JS(function(){return fN()||pN()}),hN=JS(function(){return dN()||mN()}),gN=JS(function(){return KS(/AppleWebKit/i)&&!_N()}),_N=JS(function(){return KS(/Chrome/i)}),vN=JS(function(){return KS(/Android/i)}),yN=JS(function(){return KS(/Firefox/i)}),bN=(0,vk.createContext)({isNative:!0,open:$S,useHref:e=>e}),ZS.isOpening=!1,xN=new Map,SN=new Set,typeof document<`u`&&(document.readyState===`loading`?document.addEventListener(`DOMContentLoaded`,nC):nC()),CN=xk.useInsertionEffect??U,wN=new Set([`checkbox`,`radio`,`range`,`color`,`file`,`image`,`button`,`submit`,`reset`]),typeof document<`u`&&window.visualViewport,TN=0,EN=new Map,DN=`react-aria-clear-focus`,ON=`react-aria-focus`,kN=typeof Element<`u`&&`checkVisibility`in Element.prototype,AN=[`input:not([disabled]):not([type=hidden])`,`select:not([disabled])`,`textarea:not([disabled])`,`button:not([disabled])`,`a[href]`,`area[href]`,`summary`,`iframe`,`object`,`embed`,`audio[controls]`,`video[controls]`,`[contenteditable]:not([contenteditable^="false"])`,`permission`],jN=AN.join(`:not([hidden]),`)+`,[tabindex]:not([disabled]):not([hidden])`,AN.push(`[tabindex]:not([tabindex="-1"]):not([disabled])`),MN=AN.join(`:not([hidden]):not([tabindex="-1"]),`),NN=typeof document<`u`?kk.useInsertionEffect??kk.useLayoutEffect:()=>{},PN=!1,FN=`default`,IN=``,LN=new WeakMap,RN=jk.createContext({register:()=>{}}),RN.displayName=`PressResponderContext`,zN=new WeakMap,BN=class{continuePropagation(){YC(this,zN,!1)}get shouldStopPropagation(){return GC(this,zN)}constructor(e,t,n,r){qC(this,zN,{writable:!0,value:void 0}),YC(this,zN,!0);let i=(r?.target??n.currentTarget)?.getBoundingClientRect(),a,o=0,s,c=null;n.clientX!=null&&n.clientY!=null&&(s=n.clientX,c=n.clientY),i&&(s!=null&&c!=null?(a=s-i.left,o=c-i.top):(a=i.width/2,o=i.height/2)),this.type=e,this.pointerType=t,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey,this.x=a,this.y=o}},VN=Symbol(`linkClicked`),HN=`react-aria-pressable-style`,UN=`data-react-aria-pressable`,WN=new Set([`checkbox`,`radio`,`range`,`color`,`file`,`image`,`button`,`submit`,`reset`]),GN=null,KN=new Set,qN=new Map,JN=!1,YN=!1,XN={Tab:!0,Escape:!0},ZN=(e,t)=>{let n=$M(e),r=W(e);t&&r.removeEventListener(`DOMContentLoaded`,t),qN.has(n)&&(n.HTMLElement.prototype.focus=qN.get(n).focus,r.removeEventListener(`keydown`,ow,!0),r.removeEventListener(`keyup`,ow,!0),r.removeEventListener(`click`,cw,!0),n.removeEventListener(`focus`,lw,!0),n.removeEventListener(`blur`,uw,!1),typeof PointerEvent<`u`&&(r.removeEventListener(`pointerdown`,sw,!0),r.removeEventListener(`pointermove`,sw,!0),r.removeEventListener(`pointerup`,sw,!0)),qN.delete(n))},typeof document<`u`&&fw(),QN=new Set([`checkbox`,`radio`,`range`,`color`,`file`,`image`,`button`,`submit`,`reset`]),$N=Fk.createContext(null),eP=Fk.forwardRef(function(e,t){let{children:n,...r}=e,i=sC(t),a={...r,ref:i};return Fk.createElement($N.Provider,{value:a},n)}),tP=(0,Fk.forwardRef)(({children:e,...t},n)=>{n=sC(n);let{focusableProps:r}=Cw(t,n),i=Fk.Children.only(e);(0,Fk.useEffect)(()=>{},[n,t.isDisabled]);let a=i.props.ref;return Fk.cloneElement(i,{...R(r,i.props),ref:zS(a,n)})}),nP=Ik.forwardRef(({children:e,...t},n)=>{n=sC(n);let{pressProps:r}=ZC({...t,ref:n}),{focusableProps:i}=Cw(t,n),a=Ik.Children.only(e);(0,Ik.useEffect)(()=>{},[n,t.isDisabled]);let o=a.props.ref;return Ik.cloneElement(a,{...R(r,i,a.props),ref:zS(o,n)})}),rP=Lk.forwardRef(({children:e,...t},n)=>{let r=(0,Lk.useRef)(!1),i=(0,Lk.useContext)(RN);n=sC(n||i?.ref);let a=R(i||{},{...t,ref:n,register(){r.current=!0,i&&i.register()}});return fC(i,n),(0,Lk.useEffect)(()=>{r.current||=!0},[]),Lk.createElement(RN.Provider,{value:a},e)}),iP=!1,aP=0,oP=500,sP=Symbol(`default`),cP=(0,Uk.createContext)({placement:`bottom`}),(0,Uk.forwardRef)(function(e,t){[e,t]=Iw(e,t,cP);let n=e.placement,r={position:`absolute`,transform:n===`top`||n===`bottom`?`translateX(-50%)`:`translateY(-50%)`};n!=null&&(r[n]=`100%`);let i=Pw({...e,defaultClassName:`react-aria-OverlayArrow`,values:{placement:n}});i.style&&Object.keys(i.style).forEach(e=>i.style[e]===void 0&&delete i.style[e]);let a=VS(e);return Uk.createElement(`div`,{...a,...i,style:{...r,...i.style},ref:t,"data-placement":n})}),lP={top:`top`,bottom:`top`,left:`left`,right:`left`},uP={top:`bottom`,bottom:`top`,left:`right`,right:`left`},dP={top:`left`,left:`top`},fP={top:`height`,left:`width`},pP={width:`totalWidth`,height:`totalHeight`},mP={},hP=typeof document<`u`?window.visualViewport:null,gP=new WeakMap,_P=new Set([`Arab`,`Syrc`,`Samr`,`Mand`,`Thaa`,`Mend`,`Nkoo`,`Adlm`,`Rohg`,`Hebr`]),vP=new Set([`ae`,`ar`,`arc`,`bcc`,`bqi`,`ckb`,`dv`,`fa`,`glk`,`he`,`ku`,`mzn`,`nqo`,`pnb`,`ps`,`sd`,`ug`,`ur`,`yi`]),yP=Symbol.for(`react-aria.i18n.locale`),bP=rT(),xP=new Set,SP=Jk.createContext(null),CP=function(e,t){return CP=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},CP(e,t)},G=function(){return G=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},G.apply(this,arguments)},wP=function(){return JSON.stringify(arguments)},TP=(function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(e){return this.cache[e]},e.prototype.set=function(e,t){this.cache[e]=t},e})(),EP={create:function(){return new TP}},DP={variadic:gT,monadic:_T},(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]=`EXPECT_ARGUMENT_CLOSING_BRACE`,e[e.EMPTY_ARGUMENT=2]=`EMPTY_ARGUMENT`,e[e.MALFORMED_ARGUMENT=3]=`MALFORMED_ARGUMENT`,e[e.EXPECT_ARGUMENT_TYPE=4]=`EXPECT_ARGUMENT_TYPE`,e[e.INVALID_ARGUMENT_TYPE=5]=`INVALID_ARGUMENT_TYPE`,e[e.EXPECT_ARGUMENT_STYLE=6]=`EXPECT_ARGUMENT_STYLE`,e[e.INVALID_NUMBER_SKELETON=7]=`INVALID_NUMBER_SKELETON`,e[e.INVALID_DATE_TIME_SKELETON=8]=`INVALID_DATE_TIME_SKELETON`,e[e.EXPECT_NUMBER_SKELETON=9]=`EXPECT_NUMBER_SKELETON`,e[e.EXPECT_DATE_TIME_SKELETON=10]=`EXPECT_DATE_TIME_SKELETON`,e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]=`UNCLOSED_QUOTE_IN_ARGUMENT_STYLE`,e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]=`EXPECT_SELECT_ARGUMENT_OPTIONS`,e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]=`EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE`,e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]=`INVALID_PLURAL_ARGUMENT_OFFSET_VALUE`,e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]=`EXPECT_SELECT_ARGUMENT_SELECTOR`,e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]=`EXPECT_PLURAL_ARGUMENT_SELECTOR`,e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]=`EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT`,e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]=`EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT`,e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]=`INVALID_PLURAL_ARGUMENT_SELECTOR`,e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]=`DUPLICATE_PLURAL_ARGUMENT_SELECTOR`,e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]=`DUPLICATE_SELECT_ARGUMENT_SELECTOR`,e[e.MISSING_OTHER_CLAUSE=22]=`MISSING_OTHER_CLAUSE`,e[e.INVALID_TAG=23]=`INVALID_TAG`,e[e.INVALID_TAG_NAME=25]=`INVALID_TAG_NAME`,e[e.UNMATCHED_CLOSING_TAG=26]=`UNMATCHED_CLOSING_TAG`,e[e.UNCLOSED_TAG=27]=`UNCLOSED_TAG`})(K||={}),(function(e){e[e.literal=0]=`literal`,e[e.argument=1]=`argument`,e[e.number=2]=`number`,e[e.date=3]=`date`,e[e.time=4]=`time`,e[e.select=5]=`select`,e[e.plural=6]=`plural`,e[e.pound=7]=`pound`,e[e.tag=8]=`tag`})(OP||={}),(function(e){e[e.number=0]=`number`,e[e.dateTime=1]=`dateTime`})(kP||={}),AP=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,jP=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,MP=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,NP=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,PP=/^(@+)?(\+|#+)?[rs]?$/g,FP=/(\*)(0+)|(#+)(0+)|(0+)/g,IP=/^(0+)$/,LP={"001":[`H`,`h`],419:[`h`,`H`,`hB`,`hb`],AC:[`H`,`h`,`hb`,`hB`],AD:[`H`,`hB`],AE:[`h`,`hB`,`hb`,`H`],AF:[`H`,`hb`,`hB`,`h`],AG:[`h`,`hb`,`H`,`hB`],AI:[`H`,`h`,`hb`,`hB`],AL:[`h`,`H`,`hB`],AM:[`H`,`hB`],AO:[`H`,`hB`],AR:[`h`,`H`,`hB`,`hb`],AS:[`h`,`H`],AT:[`H`,`hB`],AU:[`h`,`hb`,`H`,`hB`],AW:[`H`,`hB`],AX:[`H`],AZ:[`H`,`hB`,`h`],BA:[`H`,`hB`,`h`],BB:[`h`,`hb`,`H`,`hB`],BD:[`h`,`hB`,`H`],BE:[`H`,`hB`],BF:[`H`,`hB`],BG:[`H`,`hB`,`h`],BH:[`h`,`hB`,`hb`,`H`],BI:[`H`,`h`],BJ:[`H`,`hB`],BL:[`H`,`hB`],BM:[`h`,`hb`,`H`,`hB`],BN:[`hb`,`hB`,`h`,`H`],BO:[`h`,`H`,`hB`,`hb`],BQ:[`H`],BR:[`H`,`hB`],BS:[`h`,`hb`,`H`,`hB`],BT:[`h`,`H`],BW:[`H`,`h`,`hb`,`hB`],BY:[`H`,`h`],BZ:[`H`,`h`,`hb`,`hB`],CA:[`h`,`hb`,`H`,`hB`],CC:[`H`,`h`,`hb`,`hB`],CD:[`hB`,`H`],CF:[`H`,`h`,`hB`],CG:[`H`,`hB`],CH:[`H`,`hB`,`h`],CI:[`H`,`hB`],CK:[`H`,`h`,`hb`,`hB`],CL:[`h`,`H`,`hB`,`hb`],CM:[`H`,`h`,`hB`],CN:[`H`,`hB`,`hb`,`h`],CO:[`h`,`H`,`hB`,`hb`],CP:[`H`],CR:[`h`,`H`,`hB`,`hb`],CU:[`h`,`H`,`hB`,`hb`],CV:[`H`,`hB`],CW:[`H`,`hB`],CX:[`H`,`h`,`hb`,`hB`],CY:[`h`,`H`,`hb`,`hB`],CZ:[`H`],DE:[`H`,`hB`],DG:[`H`,`h`,`hb`,`hB`],DJ:[`h`,`H`],DK:[`H`],DM:[`h`,`hb`,`H`,`hB`],DO:[`h`,`H`,`hB`,`hb`],DZ:[`h`,`hB`,`hb`,`H`],EA:[`H`,`h`,`hB`,`hb`],EC:[`h`,`H`,`hB`,`hb`],EE:[`H`,`hB`],EG:[`h`,`hB`,`hb`,`H`],EH:[`h`,`hB`,`hb`,`H`],ER:[`h`,`H`],ES:[`H`,`hB`,`h`,`hb`],ET:[`hB`,`hb`,`h`,`H`],FI:[`H`],FJ:[`h`,`hb`,`H`,`hB`],FK:[`H`,`h`,`hb`,`hB`],FM:[`h`,`hb`,`H`,`hB`],FO:[`H`,`h`],FR:[`H`,`hB`],GA:[`H`,`hB`],GB:[`H`,`h`,`hb`,`hB`],GD:[`h`,`hb`,`H`,`hB`],GE:[`H`,`hB`,`h`],GF:[`H`,`hB`],GG:[`H`,`h`,`hb`,`hB`],GH:[`h`,`H`],GI:[`H`,`h`,`hb`,`hB`],GL:[`H`,`h`],GM:[`h`,`hb`,`H`,`hB`],GN:[`H`,`hB`],GP:[`H`,`hB`],GQ:[`H`,`hB`,`h`,`hb`],GR:[`h`,`H`,`hb`,`hB`],GT:[`h`,`H`,`hB`,`hb`],GU:[`h`,`hb`,`H`,`hB`],GW:[`H`,`hB`],GY:[`h`,`hb`,`H`,`hB`],HK:[`h`,`hB`,`hb`,`H`],HN:[`h`,`H`,`hB`,`hb`],HR:[`H`,`hB`],HU:[`H`,`h`],IC:[`H`,`h`,`hB`,`hb`],ID:[`H`],IE:[`H`,`h`,`hb`,`hB`],IL:[`H`,`hB`],IM:[`H`,`h`,`hb`,`hB`],IN:[`h`,`H`],IO:[`H`,`h`,`hb`,`hB`],IQ:[`h`,`hB`,`hb`,`H`],IR:[`hB`,`H`],IS:[`H`],IT:[`H`,`hB`],JE:[`H`,`h`,`hb`,`hB`],JM:[`h`,`hb`,`H`,`hB`],JO:[`h`,`hB`,`hb`,`H`],JP:[`H`,`K`,`h`],KE:[`hB`,`hb`,`H`,`h`],KG:[`H`,`h`,`hB`,`hb`],KH:[`hB`,`h`,`H`,`hb`],KI:[`h`,`hb`,`H`,`hB`],KM:[`H`,`h`,`hB`,`hb`],KN:[`h`,`hb`,`H`,`hB`],KP:[`h`,`H`,`hB`,`hb`],KR:[`h`,`H`,`hB`,`hb`],KW:[`h`,`hB`,`hb`,`H`],KY:[`h`,`hb`,`H`,`hB`],KZ:[`H`,`hB`],LA:[`H`,`hb`,`hB`,`h`],LB:[`h`,`hB`,`hb`,`H`],LC:[`h`,`hb`,`H`,`hB`],LI:[`H`,`hB`,`h`],LK:[`H`,`h`,`hB`,`hb`],LR:[`h`,`hb`,`H`,`hB`],LS:[`h`,`H`],LT:[`H`,`h`,`hb`,`hB`],LU:[`H`,`h`,`hB`],LV:[`H`,`hB`,`hb`,`h`],LY:[`h`,`hB`,`hb`,`H`],MA:[`H`,`h`,`hB`,`hb`],MC:[`H`,`hB`],MD:[`H`,`hB`],ME:[`H`,`hB`,`h`],MF:[`H`,`hB`],MG:[`H`,`h`],MH:[`h`,`hb`,`H`,`hB`],MK:[`H`,`h`,`hb`,`hB`],ML:[`H`],MM:[`hB`,`hb`,`H`,`h`],MN:[`H`,`h`,`hb`,`hB`],MO:[`h`,`hB`,`hb`,`H`],MP:[`h`,`hb`,`H`,`hB`],MQ:[`H`,`hB`],MR:[`h`,`hB`,`hb`,`H`],MS:[`H`,`h`,`hb`,`hB`],MT:[`H`,`h`],MU:[`H`,`h`],MV:[`H`,`h`],MW:[`h`,`hb`,`H`,`hB`],MX:[`h`,`H`,`hB`,`hb`],MY:[`hb`,`hB`,`h`,`H`],MZ:[`H`,`hB`],NA:[`h`,`H`,`hB`,`hb`],NC:[`H`,`hB`],NE:[`H`],NF:[`H`,`h`,`hb`,`hB`],NG:[`H`,`h`,`hb`,`hB`],NI:[`h`,`H`,`hB`,`hb`],NL:[`H`,`hB`],NO:[`H`,`h`],NP:[`H`,`h`,`hB`],NR:[`H`,`h`,`hb`,`hB`],NU:[`H`,`h`,`hb`,`hB`],NZ:[`h`,`hb`,`H`,`hB`],OM:[`h`,`hB`,`hb`,`H`],PA:[`h`,`H`,`hB`,`hb`],PE:[`h`,`H`,`hB`,`hb`],PF:[`H`,`h`,`hB`],PG:[`h`,`H`],PH:[`h`,`hB`,`hb`,`H`],PK:[`h`,`hB`,`H`],PL:[`H`,`h`],PM:[`H`,`hB`],PN:[`H`,`h`,`hb`,`hB`],PR:[`h`,`H`,`hB`,`hb`],PS:[`h`,`hB`,`hb`,`H`],PT:[`H`,`hB`],PW:[`h`,`H`],PY:[`h`,`H`,`hB`,`hb`],QA:[`h`,`hB`,`hb`,`H`],RE:[`H`,`hB`],RO:[`H`,`hB`],RS:[`H`,`hB`,`h`],RU:[`H`],RW:[`H`,`h`],SA:[`h`,`hB`,`hb`,`H`],SB:[`h`,`hb`,`H`,`hB`],SC:[`H`,`h`,`hB`],SD:[`h`,`hB`,`hb`,`H`],SE:[`H`],SG:[`h`,`hb`,`H`,`hB`],SH:[`H`,`h`,`hb`,`hB`],SI:[`H`,`hB`],SJ:[`H`],SK:[`H`],SL:[`h`,`hb`,`H`,`hB`],SM:[`H`,`h`,`hB`],SN:[`H`,`h`,`hB`],SO:[`h`,`H`],SR:[`H`,`hB`],SS:[`h`,`hb`,`H`,`hB`],ST:[`H`,`hB`],SV:[`h`,`H`,`hB`,`hb`],SX:[`H`,`h`,`hb`,`hB`],SY:[`h`,`hB`,`hb`,`H`],SZ:[`h`,`hb`,`H`,`hB`],TA:[`H`,`h`,`hb`,`hB`],TC:[`h`,`hb`,`H`,`hB`],TD:[`h`,`H`,`hB`],TF:[`H`,`h`,`hB`],TG:[`H`,`hB`],TH:[`H`,`h`],TJ:[`H`,`h`],TL:[`H`,`hB`,`hb`,`h`],TM:[`H`,`h`],TN:[`h`,`hB`,`hb`,`H`],TO:[`h`,`H`],TR:[`H`,`hB`],TT:[`h`,`hb`,`H`,`hB`],TW:[`hB`,`hb`,`h`,`H`],TZ:[`hB`,`hb`,`H`,`h`],UA:[`H`,`hB`,`h`],UG:[`hB`,`hb`,`H`,`h`],UM:[`h`,`hb`,`H`,`hB`],US:[`h`,`hb`,`H`,`hB`],UY:[`h`,`H`,`hB`,`hb`],UZ:[`H`,`hB`,`h`],VA:[`H`,`h`,`hB`],VC:[`h`,`hb`,`H`,`hB`],VE:[`h`,`H`,`hB`,`hb`],VG:[`h`,`hb`,`H`,`hB`],VI:[`h`,`hb`,`H`,`hB`],VN:[`H`,`h`],VU:[`h`,`H`],WF:[`H`,`hB`],WS:[`h`,`H`],XK:[`H`,`hB`,`h`],YE:[`h`,`hB`,`hb`,`H`],YT:[`H`,`hB`],ZA:[`H`,`h`,`hb`,`hB`],ZM:[`h`,`hb`,`H`,`hB`],ZW:[`H`,`h`],"af-ZA":[`H`,`h`,`hB`,`hb`],"ar-001":[`h`,`hB`,`hb`,`H`],"ca-ES":[`H`,`h`,`hB`],"en-001":[`h`,`hb`,`H`,`hB`],"en-HK":[`h`,`hb`,`H`,`hB`],"en-IL":[`H`,`h`,`hb`,`hB`],"en-MY":[`h`,`hb`,`H`,`hB`],"es-BR":[`H`,`h`,`hB`,`hb`],"es-ES":[`H`,`h`,`hB`,`hb`],"es-GQ":[`H`,`h`,`hB`,`hb`],"fr-CA":[`H`,`h`,`hB`],"gl-ES":[`H`,`h`,`hB`],"gu-IN":[`hB`,`hb`,`h`,`H`],"hi-IN":[`hB`,`h`,`H`],"it-CH":[`H`,`h`,`hB`],"it-IT":[`H`,`h`,`hB`],"kn-IN":[`hB`,`h`,`H`],"ml-IN":[`hB`,`h`,`H`],"mr-IN":[`hB`,`hb`,`h`,`H`],"pa-IN":[`hB`,`hb`,`h`,`H`],"ta-IN":[`hB`,`h`,`hb`,`H`],"te-IN":[`hB`,`h`,`H`],"zu-ZA":[`H`,`hB`,`hb`,`h`]},RP=RegExp(`^${AP.source}*`),zP=RegExp(`${AP.source}*\$`),BP=!!String.prototype.startsWith&&`_a`.startsWith(`a`,1),VP=!!String.fromCodePoint,HP=!!Object.fromEntries,UP=!!String.prototype.codePointAt,WP=!!String.prototype.trimStart,GP=!!String.prototype.trimEnd,KP=Number.isSafeInteger?Number.isSafeInteger:function(e){return typeof e==`number`&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},qP=!0;try{JP=zT(`([^\\p{White_Space}\\p{Pattern_Syntax}]*)`,`yu`),qP=JP.exec(`a`)?.[0]===`a`}catch{qP=!1}YP=BP?(function(e,t,n){return e.startsWith(t,n)}):(function(e,t,n){return e.slice(n,n+t.length)===t}),XP=VP?String.fromCodePoint:(function(){for(var e=[...arguments],t=``,n=e.length,r=0,i;n>r;){if(i=e[r++],i>1114111)throw RangeError(i+` is not a valid code point`);t+=i<65536?String.fromCharCode(i):String.fromCharCode(((i-=65536)>>10)+55296,i%1024+56320)}return t}),ZP=HP?Object.fromEntries:(function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],a=i[0];t[a]=i[1]}return t}),QP=UP?(function(e,t){return e.codePointAt(t)}):(function(e,t){var n=e.length;if(!(t<0||t>=n)){var r=e.charCodeAt(t),i;return r<55296||r>56319||t+1===n||(i=e.charCodeAt(t+1))<56320||i>57343?r:(r-55296<<10)+(i-56320)+65536}}),$P=WP?(function(e){return e.trimStart()}):(function(e){return e.replace(RP,``)}),eF=GP?(function(e){return e.trimEnd()}):(function(e){return e.replace(zP,``)}),qP?(nF=zT(`([^\\p{White_Space}\\p{Pattern_Syntax}]*)`,`yu`),tF=function(e,t){return nF.lastIndex=t,nF.exec(e)[1]??``}):tF=function(e,t){for(var n=[];;){var r=QP(e,t);if(r===void 0||UT(r)||WT(r))break;n.push(r),t+=r>=65536?2:1}return XP.apply(void 0,n)},rF=(function(){function e(e,t){t===void 0&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error(`parser can only be used once`);return this.parseMessage(0,``,!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i=this.char();if(i===123){var a=this.parseArgument(e,n);if(a.err)return a;r.push(a.val)}else{if(i===125&&e>0)break;if(i===35&&(t===`plural`||t===`selectordinal`)){var o=this.clonePosition();this.bump(),r.push({type:OP.pound,location:z(o,this.clonePosition())})}else if(i===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(K.UNMATCHED_CLOSING_TAG,z(this.clonePosition(),this.clonePosition()))}else if(i===60&&!this.ignoreTag&&BT(this.peek()||0)){var a=this.parseTag(e,t);if(a.err)return a;r.push(a.val)}else{var a=this.parseLiteral(e,t);if(a.err)return a;r.push(a.val)}}}return{val:r,err:null}},e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf(`/>`))return{val:{type:OP.literal,value:`<${r}/>`,location:z(n,this.clonePosition())},err:null};if(this.bumpIf(`>`)){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var a=i.val,o=this.clonePosition();if(this.bumpIf(`</`)){if(this.isEOF()||!BT(this.char()))return this.error(K.INVALID_TAG,z(o,this.clonePosition()));var s=this.clonePosition();return r===this.parseTagName()?(this.bumpSpace(),this.bumpIf(`>`)?{val:{type:OP.tag,value:r,children:a,location:z(n,this.clonePosition())},err:null}:this.error(K.INVALID_TAG,z(o,this.clonePosition()))):this.error(K.UNMATCHED_CLOSING_TAG,z(s,this.clonePosition()))}return this.error(K.UNCLOSED_TAG,z(n,this.clonePosition()))}return this.error(K.INVALID_TAG,z(n,this.clonePosition()))},e.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&HT(this.char());)this.bump();return this.message.slice(e,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r=``;;){var i=this.tryParseQuote(t);if(i){r+=i;continue}var a=this.tryParseUnquoted(e,t);if(a){r+=a;continue}var o=this.tryParseLeftAngleBracket();if(o){r+=o;continue}break}var s=z(n,this.clonePosition());return{val:{type:OP.literal,value:r,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!VT(this.peek()||0))?(this.bump(),`<`):null},e.prototype.tryParseQuote=function(e){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),`'`;case 123:case 60:case 62:case 125:break;case 35:if(e===`plural`||e===`selectordinal`)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39){if(this.peek()===39)t.push(39),this.bump();else{this.bump();break}}else t.push(n);this.bump()}return XP.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(t===`plural`||t===`selectordinal`)||n===125&&e>0?null:(this.bump(),XP(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(K.EXPECT_ARGUMENT_CLOSING_BRACE,z(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(K.EMPTY_ARGUMENT,z(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(K.MALFORMED_ARGUMENT,z(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(K.EXPECT_ARGUMENT_CLOSING_BRACE,z(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:OP.argument,value:r,location:z(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(K.EXPECT_ARGUMENT_CLOSING_BRACE,z(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(K.MALFORMED_ARGUMENT,z(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=tF(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:z(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,r){var i=this.clonePosition(),a=this.parseIdentifierIfPossible().value,o=this.clonePosition();switch(a){case``:return this.error(K.EXPECT_ARGUMENT_TYPE,z(i,o));case`number`:case`date`:case`time`:this.bumpSpace();var s=null;if(this.bumpIf(`,`)){this.bumpSpace();var c=this.clonePosition(),l=this.parseSimpleArgStyleIfPossible();if(l.err)return l;var u=eF(l.val);if(u.length===0)return this.error(K.EXPECT_ARGUMENT_STYLE,z(this.clonePosition(),this.clonePosition()));s={style:u,styleLocation:z(c,this.clonePosition())}}var d=this.tryParseArgumentClose(r);if(d.err)return d;var f=z(r,this.clonePosition());if(s&&YP(s?.style,`::`,0)){var p=$P(s.style.slice(2));if(a===`number`){var l=this.parseNumberSkeletonFromString(p,s.styleLocation);return l.err?l:{val:{type:OP.number,value:n,location:f,style:l.val},err:null}}if(p.length===0)return this.error(K.EXPECT_DATE_TIME_SKELETON,f);var m=p;this.locale&&(m=LT(p,this.locale));var u={type:kP.dateTime,pattern:m,location:s.styleLocation,parsedOptions:this.shouldParseSkeletons?kT(m):{}};return{val:{type:a===`date`?OP.date:OP.time,value:n,location:f,style:u},err:null}}return{val:{type:a===`number`?OP.number:a===`date`?OP.date:OP.time,value:n,location:f,style:s?.style??null},err:null};case`plural`:case`selectordinal`:case`select`:var h=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(`,`))return this.error(K.EXPECT_SELECT_ARGUMENT_OPTIONS,z(h,G({},h)));this.bumpSpace();var g=this.parseIdentifierIfPossible(),_=0;if(a!==`select`&&g.value===`offset`){if(!this.bumpIf(`:`))return this.error(K.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,z(this.clonePosition(),this.clonePosition()));this.bumpSpace();var l=this.tryParseDecimalInteger(K.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,K.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(l.err)return l;this.bumpSpace(),g=this.parseIdentifierIfPossible(),_=l.val}var v=this.tryParsePluralOrSelectOptions(e,a,t,g);if(v.err)return v;var d=this.tryParseArgumentClose(r);if(d.err)return d;var y=z(r,this.clonePosition());return a===`select`?{val:{type:OP.select,value:n,options:ZP(v.val),location:y},err:null}:{val:{type:OP.plural,value:n,options:ZP(v.val),offset:_,pluralType:a===`plural`?`cardinal`:`ordinal`,location:y},err:null};default:return this.error(K.INVALID_ARGUMENT_TYPE,z(i,o))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||this.char()!==125?this.error(K.EXPECT_ARGUMENT_CLOSING_BRACE,z(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil(`'`))return this.error(K.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,z(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(e>0)--e;else return{val:this.message.slice(t.offset,this.offset()),err:null};break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=AT(e)}catch{return this.error(K.INVALID_NUMBER_SKELETON,t)}return{val:{type:kP.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?IT(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i,a=!1,o=[],s=new Set,c=r.value,l=r.location;;){if(c.length===0){var u=this.clonePosition();if(t!==`select`&&this.bumpIf(`=`)){var d=this.tryParseDecimalInteger(K.EXPECT_PLURAL_ARGUMENT_SELECTOR,K.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;l=z(u,this.clonePosition()),c=this.message.slice(u.offset,this.offset())}else break}if(s.has(c))return this.error(t===`select`?K.DUPLICATE_SELECT_ARGUMENT_SELECTOR:K.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);c===`other`&&(a=!0),this.bumpSpace();var f=this.clonePosition();if(!this.bumpIf(`{`))return this.error(t===`select`?K.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:K.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,z(this.clonePosition(),this.clonePosition()));var p=this.parseMessage(e+1,t,n);if(p.err)return p;var m=this.tryParseArgumentClose(f);if(m.err)return m;o.push([c,{value:p.val,location:z(f,this.clonePosition())}]),s.add(c),this.bumpSpace(),i=this.parseIdentifierIfPossible(),c=i.value,l=i.location}return o.length===0?this.error(t===`select`?K.EXPECT_SELECT_ARGUMENT_SELECTOR:K.EXPECT_PLURAL_ARGUMENT_SELECTOR,z(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(K.MISSING_OTHER_CLAUSE,z(this.clonePosition(),this.clonePosition())):{val:o,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf(`+`)||this.bumpIf(`-`)&&(n=-1);for(var i=!1,a=0;!this.isEOF();){var o=this.char();if(o>=48&&o<=57)i=!0,a=a*10+(o-48),this.bump();else break}var s=z(r,this.clonePosition());return i?(a*=n,KP(a)?{val:a,err:null}:this.error(t,s)):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error(`out of bound`);var t=QP(this.message,e);if(t===void 0)throw Error(`Offset ${e} is at invalid UTF-16 code unit boundary`);return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();e===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(YP(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),n=this.message.indexOf(e,t);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error(`targetOffset ${e} must be greater than or equal to the current offset ${this.offset()}`);for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error(`targetOffset ${e} is at invalid UTF-16 code unit boundary`);if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&UT(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset();return this.message.charCodeAt(t+(e>=65536?2:1))??null},e})(),(function(e){e.MISSING_VALUE=`MISSING_VALUE`,e.INVALID_VALUE=`INVALID_VALUE`,e.MISSING_INTL_API=`MISSING_INTL_API`})(iF||={}),aF=(function(e){sT(t,e);function t(t,n,r){var i=e.call(this,t)||this;return i.code=n,i.originalMessage=r,i}return t.prototype.toString=function(){return`[formatjs Error: ${this.code}] ${this.message}`},t})(Error),oF=(function(e){sT(t,e);function t(t,n,r,i){return e.call(this,`Invalid values for "${t}": "${n}". Options are "${Object.keys(r).join(`", "`)}"`,iF.INVALID_VALUE,i)||this}return t})(aF),sF=(function(e){sT(t,e);function t(t,n,r){return e.call(this,`Value for "${t}" must be of type ${n}`,iF.INVALID_VALUE,r)||this}return t})(aF),cF=(function(e){sT(t,e);function t(t,n){return e.call(this,`The intl string context variable "${t}" was not provided to the string "${n}"`,iF.MISSING_VALUE,n)||this}return t})(aF),(function(e){e[e.literal=0]=`literal`,e[e.object=1]=`object`})(lF||={}),(function(){function e(t,n,r,i){n===void 0&&(n=e.defaultLocale);var a=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=a.formatToParts(e);if(t.length===1)return t[0].value;var n=t.reduce(function(e,t){return!e.length||t.type!==lF.literal||typeof e[e.length-1]!=`string`?e.push(t.value):e[e.length-1]+=t.value,e},[]);return n.length<=1?n[0]||``:n},this.formatToParts=function(e){return YT(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){return{locale:a.resolvedLocale?.toString()||Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),typeof t==`string`){if(this.message=t,!e.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var o=i||{};o.formatters;var s=cT(o,[`formatters`]);this.ast=e.__parse(t,G(G({},s),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw TypeError(`A message must be provided as a String or AST.`);this.formats=ZT(e.formats,r),this.formatters=i&&i.formatters||$T(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||=new Intl.NumberFormat().resolvedOptions().locale,e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){if(!(typeof Intl.Locale>`u`)){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale(typeof e==`string`?e:e[0])}},e.__parse=KT,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:`currency`},percent:{style:`percent`}},date:{short:{month:`numeric`,day:`numeric`,year:`2-digit`},medium:{month:`short`,day:`numeric`,year:`numeric`},long:{month:`long`,day:`numeric`,year:`numeric`},full:{weekday:`long`,month:`long`,day:`numeric`,year:`numeric`}},time:{short:{hour:`numeric`,minute:`numeric`},medium:{hour:`numeric`,minute:`numeric`,second:`numeric`},long:{hour:`numeric`,minute:`numeric`,second:`numeric`,timeZoneName:`short`},full:{hour:`numeric`,minute:`numeric`,second:`numeric`,timeZoneName:`short`}}},e})(),uF=Symbol.for(`react-aria.i18n.locale`),dF=Symbol.for(`react-aria.i18n.strings`),pF=class e{getStringForLocale(e,t){let n=this.getStringsForLocale(t)[e];if(!n)throw Error(`Could not find intl message ${e} in ${t} locale`);return n}getStringsForLocale(e){let t=this.strings[e];return t||(t=eE(e,this.strings,this.defaultLocale),this.strings[e]=t),t}static getGlobalDictionaryForPackage(t){if(typeof window>`u`)return null;let n=window[uF];if(fF===void 0){let t=window[dF];if(!t)return null;fF={};for(let r in t)fF[r]=new e({[n]:t[r]},n)}let r=fF?.[t];if(!r)throw Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return r}constructor(e,t=`en-US`){this.strings=Object.fromEntries(Object.entries(e).filter(([,e])=>e)),this.defaultLocale=t}},mF=new Map,hF=new Map,gF=class{format(e,t){let n=this.strings.getStringForLocale(e,this.locale);return typeof n==`function`?n(t,this):n}plural(e,t,n=`cardinal`){let r=t[`=`+e];if(r)return typeof r==`function`?r():r;let i=this.locale+`:`+n,a=mF.get(i);return a||(a=new Intl.PluralRules(this.locale,{type:n}),mF.set(i,a)),r=t[a.select(e)]||t.other,typeof r==`function`?r():r}number(e){let t=hF.get(this.locale);return t||(t=new Intl.NumberFormat(this.locale),hF.set(this.locale,t)),t.format(e)}select(e,t){let n=e[t]||e.other;return typeof n==`function`?n():n}constructor(e,t){this.locale=e,this.strings=t}},_F=new WeakMap,vF=1080,yF=24*vF,bF=29,xF=12*vF+793,bF*yF+xF,SF=new Map,CF=!1;try{CF=new Intl.NumberFormat(`de-DE`,{signDisplay:`exceptZero`}).resolvedOptions().signDisplay===`exceptZero`}catch{}wF=!1;try{wF=new Intl.NumberFormat(`de-DE`,{style:`unit`,unit:`degree`}).resolvedOptions().style===`unit`}catch{}if(TF={degree:{narrow:{default:`°`,"ja-JP":` 度`,"zh-TW":`度`,"sl-SI":` °`}}},EF=class{format(e){let t=``;if(t=!CF&&this.options.signDisplay!=null?oE(this.numberFormatter,this.options.signDisplay,e):this.numberFormatter.format(e),this.options.style===`unit`&&!wF){let{unit:e,unitDisplay:n=`short`,locale:r}=this.resolvedOptions();if(!e)return t;let i=TF[e]?.[n];t+=i[r]||i.default}return t}formatToParts(e){return this.numberFormatter.formatToParts(e)}formatRange(e,t){if(typeof this.numberFormatter.formatRange==`function`)return this.numberFormatter.formatRange(e,t);if(t<e)throw RangeError(`End date must be >= start date`);return`${this.format(e)} \u2013 ${this.format(t)}`}formatRangeToParts(e,t){if(typeof this.numberFormatter.formatRangeToParts==`function`)return this.numberFormatter.formatRangeToParts(e,t);if(t<e)throw RangeError(`End date must be >= start date`);let n=this.numberFormatter.formatToParts(e),r=this.numberFormatter.formatToParts(t);return[...n.map(e=>({...e,source:`startRange`})),{type:`literal`,value:` – `,source:`shared`},...r.map(e=>({...e,source:`endRange`}))]}resolvedOptions(){let e=this.numberFormatter.resolvedOptions();return!CF&&this.options.signDisplay!=null&&(e={...e,signDisplay:this.options.signDisplay}),!wF&&this.options.style===`unit`&&(e={...e,style:`unit`,unit:this.options.unit,unitDisplay:this.options.unitDisplay}),e}constructor(e,t={}){this.numberFormatter=aE(e,t),this.options=t}},DF=new Map,OF=typeof document<`u`?window.visualViewport:null,kF=Zk.createContext(null),AF=`react-aria-focus-scope-restore`,jF=null,MF=class e{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,n){let r=this.fastMap.get(t??null);if(!r)return;let i=new NF({scopeRef:e});r.addChild(i),i.parent=r,this.fastMap.set(e,i),n&&(i.nodeToRestore=n)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(e===null)return;let t=this.fastMap.get(e);if(!t)return;let n=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&yE(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let r=t.children;n&&(n.removeChild(t),r.size>0&&r.forEach(e=>n&&n.addChild(e))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(e.scopeRef!=null&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){let t=new e;for(let e of this.traverse())t.addTreeNode(e.scopeRef,e.parent?.scopeRef??null,e.nodeToRestore);return t}constructor(){this.fastMap=new Map,this.root=new NF({scopeRef:null}),this.fastMap.set(null,this.root)}},NF=class{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}},PF=new MF,FF=[],IF=typeof document<`u`&&window.visualViewport,LF=0,zF=(0,nA.createContext)({}),BF=rA.createContext(null),VF={},VF={dismiss:`تجاهل`},HF={},HF={dismiss:`Отхвърляне`},UF={},UF={dismiss:`Odstranit`},WF={},WF={dismiss:`Luk`},GF={},GF={dismiss:`Schließen`},KF={},KF={dismiss:`Απόρριψη`},qF={},qF={dismiss:`Dismiss`},JF={},JF={dismiss:`Descartar`},YF={},YF={dismiss:`Lõpeta`},XF={},XF={dismiss:`Hylkää`},ZF={},ZF={dismiss:`Rejeter`},QF={},QF={dismiss:`התעלם`},$F={},$F={dismiss:`Odbaci`},eI={},eI={dismiss:`Elutasítás`},tI={},tI={dismiss:`Ignora`},nI={},nI={dismiss:`閉じる`},rI={},rI={dismiss:`무시`},iI={},iI={dismiss:`Atmesti`},aI={},aI={dismiss:`Nerādīt`},oI={},oI={dismiss:`Lukk`},sI={},sI={dismiss:`Negeren`},cI={},cI={dismiss:`Zignoruj`},lI={},lI={dismiss:`Descartar`},uI={},uI={dismiss:`Dispensar`},dI={},dI={dismiss:`Revocare`},fI={},fI={dismiss:`Пропустить`},pI={},pI={dismiss:`Zrušiť`},mI={},mI={dismiss:`Opusti`},hI={},hI={dismiss:`Odbaci`},gI={},gI={dismiss:`Avvisa`},_I={},_I={dismiss:`Kapat`},vI={},vI={dismiss:`Скасувати`},yI={},yI={dismiss:`取消`},bI={},bI={dismiss:`關閉`},xI={},xI={"ar-AE":VF,"bg-BG":HF,"cs-CZ":UF,"da-DK":WF,"de-DE":GF,"el-GR":KF,"en-US":qF,"es-ES":JF,"et-EE":YF,"fi-FI":XF,"fr-FR":ZF,"he-IL":QF,"hr-HR":$F,"hu-HU":eI,"it-IT":tI,"ja-JP":nI,"ko-KR":rI,"lt-LT":iI,"lv-LV":aI,"nb-NO":oI,"nl-NL":sI,"pl-PL":cI,"pt-BR":lI,"pt-PT":uI,"ro-RO":dI,"ru-RU":fI,"sk-SK":pI,"sl-SI":mI,"sr-SP":hI,"sv-SE":gI,"tr-TR":_I,"uk-UA":vI,"zh-CN":yI,"zh-TW":bI},SI={border:0,clip:`rect(0 0 0 0)`,clipPath:`inset(50%)`,height:`1px`,margin:`-1px`,overflow:`hidden`,padding:0,position:`absolute`,width:`1px`,whiteSpace:`nowrap`},CI=typeof HTMLElement<`u`&&`inert`in HTMLElement.prototype,wI=new WeakMap,TI=[],EI=cA.createContext(null),DI=1500,OI=500,kI={},AI=0,jI=!1,MI=null,NI=null,PI=(0,pA.createContext)(null),FI=(0,pA.createContext)(null),II=(0,pA.forwardRef)(function({UNSTABLE_portalContainer:e,...t},n){[t,n]=Iw(t,n,FI);let r=(0,pA.useContext)(PI),i=fD(t),a=t.isOpen!=null||t.defaultOpen!=null||!r?i:r,o=DC(n,a.isOpen)||t.isExiting||!1;return!a.isOpen&&!o?null:pA.createElement(eD,{portalContainer:e},pA.createElement(mD,{...t,tooltipRef:n,isExiting:o}))}),LI=C(Me(),1),RI=(0,LI.default)(1e3)(e=>e===`left-end`?`left bottom`:e===`right-end`?`right bottom`:e===`left-start`?`left top`:e===`right-start`?`right top`:e.replace(`-`,` `)),N.div({width:500,height:500,paddingTop:100,overflowY:`scroll`,background:`#eee`,position:`relative`}),zI=(0,mA.forwardRef)((e,t)=>mA.createElement(`button`,{...e,ref:t,style:{width:120,height:50,margin:10}})),zI.displayName=`Trigger`,BI=({triggerOnFocusOnly:e=!1,placement:t=`top`,offset:n=8,tooltip:r,children:i,defaultVisible:a,startOpen:o,delayShow:s=400,delayHide:c=200,visible:l,onVisibleChange:u,...d})=>{let f=RI(t),p=pk.Children.only(i);o!==void 0&&WM("The `startOpen` prop is deprecated. Please use `defaultVisible` instead.");let[m,h]=(0,pk.useState)(a??o??!1),g=(0,pk.useCallback)(e=>{h(e),u?.(e)},[u]);return pk.createElement(pD,{delay:s,closeDelay:c,isOpen:l??m,onOpenChange:g,trigger:e?`focus`:void 0,...d},pk.createElement(tP,null,pk.cloneElement(p,{"aria-describedby":null})),pk.createElement(II,{"data-testid":`tooltip`,placement:f,offset:n,onOpenChange:g,style:{outline:`none`},...d},r))},VI=({children:e,disableAllTooltips:t,shortcut:n,tooltip:r})=>{let i=(0,dk.useMemo)(()=>{let e=document?.body?.getAttribute(`data-shortcuts-enabled`)!==`false`;if(!(!r&&(!n||!e)))return[r,n&&e&&`[${rb(n)}]`].filter(Boolean).join(` `)},[n,r]);return i?dk.createElement(BI,{placement:`top`,tooltip:dk.createElement(UM,{note:i}),visible:!t&&void 0},e):dk.createElement(dk.Fragment,null,e)},VI.displayName=`InteractiveTooltipWrapper`,HI=(0,ck.forwardRef)(({as:e=`button`,asChild:t=!1,animation:n=`none`,size:r=`small`,appearance:i=`default`,variant:a=`outline`,padding:o=`medium`,disabled:s=!1,readOnly:c=!1,active:l,onClick:u,ariaLabel:d,ariaDescription:f=void 0,tooltip:p=void 0,shortcut:m=void 0,disableAllTooltips:h=!1,...g},_)=>{let v=t?BM:e,y;!c&&(d===void 0||d===``)&&(y=`ariaLabel`,LM(`The 'ariaLabel' prop on 'Button' will become mandatory in Storybook 11. Buttons with text content should set 'ariaLabel={false}' to indicate that they are accessible as-is. Buttons without text content must provide a meaningful 'ariaLabel' for accessibility. The button content is: ${g.children}.`)),l!==void 0&&(y=`active`,LM("The `active` prop on `Button` is deprecated and will be removed in Storybook 11. Use specialized components like `ToggleButton` or `Select` instead."));let{ariaDescriptionAttrs:b,AriaDescription:x}=hD(f),S=(0,ck.useMemo)(()=>m?ib(m):void 0,[m]),[C,w]=(0,ck.useState)(!1);return(0,ck.useEffect)(()=>{let e=setTimeout(()=>{C&&w(!1)},1e3);return()=>clearTimeout(e)},[C]),ck.createElement(ck.Fragment,null,ck.createElement(VI,{disableAllTooltips:h,shortcut:m,tooltip:p||(d===!1?void 0:d)},ck.createElement(UI,{"data-deprecated":y,as:v,ref:_,appearance:i,variant:a,size:r,padding:o,$disabled:s||c,"aria-disabled":s||c?`true`:void 0,readOnly:c,active:l,animating:C,animation:n,onClick:s||c?void 0:e=>{u&&u(e),n!==`none`&&w(!0)},"aria-label":!c&&d!==!1?d:void 0,"aria-keyshortcuts":c?void 0:S,...c?{}:b,...g})),ck.createElement(x,null))}),HI.displayName=`Button`,UI=N(`button`,{shouldForwardProp:e=>Ce(e)})(({theme:e,appearance:t,variant:n,size:r,$disabled:i,readOnly:a,active:o,animating:s,animation:c=`none`,padding:l})=>{let u=t===`agentic`?{foreground:e.fgColor.agentic,background:e.bgColor.agentic,outline:e.borderColor.agentic}:{foreground:e.color.secondary,background:e.button.background,outline:e.button.border};return{border:0,cursor:a?`inherit`:i?`not-allowed`:`pointer`,display:`inline-flex`,gap:`6px`,alignItems:`center`,justifyContent:`center`,overflow:`hidden`,padding:l===`none`?0:l===`small`&&r===`small`?`0 7px`:l===`small`&&r===`medium`?`0 9px`:r===`small`?`0 10px`:r===`medium`?`0 12px`:0,height:r===`small`?`28px`:`32px`,position:`relative`,textAlign:`center`,textDecoration:`none`,transitionProperty:`background, box-shadow`,transitionDuration:`150ms`,transitionTimingFunction:`ease-out`,verticalAlign:`top`,whiteSpace:`nowrap`,userSelect:`none`,opacity:i&&!a?.5:1,margin:0,fontSize:`${e.typography.size.s1}px`,fontWeight:e.typography.weight.bold,lineHeight:`1`,background:n===`solid`?e.base===`light`?u.foreground:je(.18,u.foreground):n===`outline`?u.background:n===`ghost`&&o?Ae(.93,t===`agentic`?e.bgColor.agentic:e.barSelectedColor):`transparent`,color:n===`solid`?e.color.lightest:n===`outline`?t===`agentic`?e.fgColor.agentic:e.input.color:n===`ghost`&&o?e.base===`light`?je(.1,u.foreground):u.foreground:n===`ghost`?e.textMutedColor:e.input.color,boxShadow:n===`outline`?`${u.outline} 0 0 0 1px inset`:`none`,borderRadius:e.input.borderRadius,flexShrink:0,...!a&&{"&:hover":{color:n===`ghost`?u.foreground:void 0,background:(()=>{let t=u.foreground;return n===`solid`&&(t=e.base===`light`?me(.1,u.foreground):je(.3,u.foreground)),n===`outline`&&(t=u.background),n===`ghost`?Ae(.86,u.foreground):e.base===`light`?je(.02,t):me(.03,t)})()},"&:active":{color:n===`ghost`?u.foreground:void 0,background:(()=>{let r=u.foreground;return n===`solid`&&(r=u.foreground),n===`outline`&&(r=u.background),n===`ghost`?t===`agentic`?e.bgColor.agentic:e.background.hoverable:e.base===`light`?je(.02,r):me(.03,r)})()},"&:focus-visible":{outline:`2px solid ${ue(u.foreground,1)}`,outlineOffset:2,zIndex:`1`},".sb-bar &:focus-visible, .sb-list &:focus-visible":{outlineOffset:0}},"> svg":{flex:`0 0 auto`,animation:s&&c!==`none`?`${e.animation[c]} 1000ms ease-out`:``}}}),WI=(0,ck.forwardRef)((e,t)=>(LM("`IconButton` is deprecated and will be removed in Storybook 11, use `Button` instead."),ck.createElement(HI,{ref:t,...e,"data-deprecated":`IconButton`}))),WI.displayName=`IconButton`,GI=(0,gA.forwardRef)(({pressed:e,...t},n)=>gA.createElement(KI,{role:`switch`,"aria-checked":e,ref:n,pressed:e,...t})),GI.displayName=`ToggleButton`,KI=N(HI)(({theme:e,variant:t=`outline`,pressed:n})=>({...n?{...t===`solid`?{background:e.base===`lighten`?je(.1,e.color.secondary):je(.2,e.color.secondary)}:{},...t===`outline`?{background:Ae(.94,e.barSelectedColor),boxShadow:`${e.barSelectedColor} 0 0 0 1px inset`,color:e.barSelectedColor}:{},...t===`ghost`?{background:Ae(.93,e.barSelectedColor),color:e.base===`light`?je(.1,e.color.secondary):e.color.secondary}:{}}:{}})),qI=N.li(({active:e,theme:t})=>({display:`flex`,alignItems:`center`,justifyContent:`space-between`,flex:`0 0 auto`,overflow:`hidden`,minHeight:32,gap:4,fontSize:t.typography.size.s1,fontWeight:e?t.typography.weight.bold:t.typography.weight.regular,color:e?`var(--listbox-item-active-color)`:t.color.defaultText,"--listbox-item-active-color":t.base===`light`?je(.1,t.color.secondary):t.color.secondary,"--listbox-item-muted-color":e?`var(--listbox-item-active-color)`:t.color.mediumdark,'&[aria-disabled="true"]':{opacity:.5,cursor:`not-allowed`},'&[aria-selected="true"]':{color:`var(--listbox-item-active-color)`,fontWeight:t.typography.weight.bold,"--listbox-item-muted-color":`var(--listbox-item-active-color)`},"&:not(:hover, :has(:focus-visible)) :not(input) + input":{position:`absolute`,opacity:0},'&[role="option"]':{cursor:`pointer`,borderRadius:t.input.borderRadius,outlineOffset:-2,padding:`0 9px`,gap:8,"&:hover":{background:Ae(.86,t.color.secondary)},"&:focus-visible":{outline:`2px solid ${t.color.secondary}`}},"@supports (interpolate-size: allow-keywords)":{interpolateSize:`allow-keywords`,transitionBehavior:`allow-discrete`,transitionDuration:`var(--transition-duration, 0.2s)`,transitionProperty:`opacity, block-size, content-visibility`},"@media (prefers-reduced-motion: reduce)":{transition:`none`}}),({transitionStatus:e})=>{switch(e){case`preEnter`:case`exiting`:case`exited`:return{opacity:0,blockSize:0,contentVisibility:`hidden`};default:return{opacity:1,blockSize:`auto`,contentVisibility:`visible`}}}),JI=N(qI)(({targetId:e})=>({gap:0,[`& [data-target-id="${e}"]`]:{inlineSize:`auto`,marginLeft:4,opacity:1,"@supports (interpolate-size: allow-keywords)":{interpolateSize:`allow-keywords`,transitionProperty:`inline-size, margin-left, opacity, padding-inline`,transitionDuration:`var(--transition-duration, 0.2s)`}},[`&:not(:hover, :has(:focus-visible)) [data-target-id="${e}"]`]:{inlineSize:0,marginLeft:0,opacity:0,paddingInline:0}})),YI=N(HI)(({size:e})=>({gap:e===`small`?6:8,"&:focus-visible":{outlineOffset:-2}})),XI=N(GI)({"&:focus-visible":{outlineOffset:-2}}),ZI=(0,sk.forwardRef)(function({padding:e=`small`,size:t=`medium`,variant:n=`ghost`,...r},i){return sk.createElement(YI,{...r,variant:n,padding:e,size:t,ref:i})}),QI=(0,sk.forwardRef)(function({padding:e=`small`,size:t=`medium`,variant:n=`ghost`,...r},i){return sk.createElement(XI,{...r,variant:n,padding:e,size:t,ref:i})}),$I=N(ZI)(({theme:e})=>({height:`auto`,minHeight:32,flex:`0 1 100%`,textAlign:`start`,justifyContent:`space-between`,fontWeight:`inherit`,color:`inherit`,"&:hover":{color:`inherit`},"& input:enabled:focus-visible":{outline:`none`},"&:has(input:focus-visible)":{outline:`2px solid ${e.color.secondary}`,outlineOffset:-2}})),eL=e=>sk.createElement($I,{as:`a`,...e}),tL=N.div(({theme:e})=>({display:`flex`,flexDirection:`column`,justifyContent:`center`,flexGrow:1,minWidth:0,padding:`8px 0`,lineHeight:`16px`,"& > *":{margin:0,whiteSpace:`normal`},"& > span":{overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`},"& small":{fontSize:`inherit`,color:e.textMutedColor},"&:first-child":{paddingLeft:8},"&:last-child":{paddingRight:8},'button > &:first-child, [role="option"] > &:first-child':{paddingLeft:0},'button > &:last-child, [role="option"] > &:last-child':{paddingRight:0}})),nL=N.div({display:`flex`,alignItems:`center`,justifyContent:`center`,flex:`0 0 14px`,width:14,height:14,color:`var(--listbox-item-muted-color)`}),rL=Object.assign(N.ul(({theme:e,onClick:t})=>({listStyle:`none`,margin:0,padding:4,cursor:t?`pointer`:`default`,"& + *":{borderTop:`1px solid ${e.appBorderColor}`}})),{Item:qI,HoverItem:JI,Button:ZI,Toggle:QI,Action:$I,Link:eL,Text:tL,Icon:nL}),iL=N.div(({collapsed:e=!1})=>({blockSize:e?0:`auto`,contentVisibility:e?`hidden`:`visible`,transform:e?`translateY(-10px)`:`translateY(0)`,opacity:+!e,overflow:`hidden`,"@supports (interpolate-size: allow-keywords)":{interpolateSize:`allow-keywords`,transition:`all var(--transition-duration, 0.2s)`,transitionBehavior:`allow-discrete`},"@media (prefers-reduced-motion: reduce)":{transition:`none`}})),Object.assign(function({children:e,summary:t,collapsed:n,disabled:r,initialCollapsed:i,storageKey:a,state:o,...s}){let c=oL({collapsed:n,disabled:r,initialCollapsed:i,storageKey:a}),l=o||c;return _A.createElement(_A.Fragment,null,typeof t==`function`?t(l):t,_A.createElement(iL,{...s,id:l.contentId,collapsed:l.isCollapsed,"aria-hidden":l.isCollapsed},typeof e==`function`?e(l):e))},{Content:iL}),aL=(e,t)=>{let[n,r]=(0,_A.useState)(()=>{try{return JSON.parse(sessionStorage.getItem(e))??t}catch{return t}});return(0,_A.useEffect)(()=>{try{e&&sessionStorage.setItem(e,JSON.stringify(n))}catch{}},[e,n]),[n,r]},oL=({collapsed:e,disabled:t,initialCollapsed:n=e,storageKey:r})=>{let[i,a]=aL(r&&`useCollapsible:${r}`,!!n);(0,_A.useEffect)(()=>{e!==void 0&&a(e)},[e,a]);let o=(0,_A.useCallback)(e=>{e?.stopPropagation(),t||a(e=>!e)},[t,a]),s=DS();return{contentId:s,isCollapsed:i,isDisabled:!!t,setCollapsed:a,toggleCollapsed:o,toggleProps:{disabled:t,onClick:o,"aria-controls":s,"aria-expanded":!i}}},sL=(e,t)=>t&&t in e?e[t]:void 0,cL=(e,t)=>sL(e.fgColor,t)??sL(e.color,t),lL=(e,t,n)=>sL(e.borderColor,t)??sL(e.color,n),uL=(e,t)=>sL(e.bgColor,t)??e.background.content,dL=(e,t)=>{let n=uL(e,t);return`linear-gradient(${n}, ${n}), ${e.background.content}`},fL=Ee({"0%":{opacity:0},"5%":{opacity:1},"25%":{opacity:1},"30%":{opacity:0}}),pL=Ee({"0%":{transform:`rotate(0deg)`},"10%":{transform:`rotate(20deg)`},"40%":{transform:`rotate(170deg)`},"50%":{transform:`rotate(180deg)`},"60%":{transform:`rotate(190deg)`},"90%":{transform:`rotate(340deg)`},"100%":{transform:`rotate(360deg)`}}),mL=Ee({to:{backgroundPositionX:`36%`}}),hL=N.div(({color:e,theme:t})=>({color:cL(t,e),borderRadius:t.appBorderRadius,background:dL(t,e),position:`relative`})),gL=N.div(({animation:e=`none`,color:t,outlineColor:n=t,theme:r})=>({position:`relative`,width:`100%`,padding:1,overflow:`hidden`,backgroundColor:uL(r,t),borderRadius:r.appBorderRadius+1,boxShadow:`inset 0 0 0 1px ${e===`none`&&lL(r,t,n)||r.appBorderColor}, var(--card-box-shadow, transparent 0 0)`,transition:`box-shadow 1s`,"@supports (interpolate-size: allow-keywords)":{interpolateSize:`allow-keywords`,transition:`all var(--transition-duration, 0.2s), box-shadow 1s`,transitionBehavior:`allow-discrete`},"@media (prefers-reduced-motion: reduce)":{transition:`box-shadow 1s`},"&:before":{content:`""`,display:e===`none`?`none`:`block`,position:`absolute`,left:0,top:0,width:`100%`,height:`100%`,opacity:1,...e===`rainbow`&&{animation:`${mL} 10s infinite linear, ${fL} 60s infinite linear`,backgroundImage:`linear-gradient(45deg,rgb(234, 0, 0),rgb(255, 157, 0),rgb(255, 208, 0),rgb(0, 172, 0),rgb(0, 166, 255),rgb(181, 0, 181), rgb(234, 0, 0),rgb(255, 157, 0),rgb(255, 208, 0),rgb(0, 172, 0),rgb(0, 166, 255),rgb(181, 0, 181))`,backgroundSize:`1000%`,backgroundPositionX:`100%`},...e===`spin`&&{left:`50%`,top:`50%`,marginLeft:`calc(max(100vw, 100vh) * -0.5)`,marginTop:`calc(max(100vw, 100vh) * -0.5)`,height:`max(100vw, 100vh)`,width:`max(100vw, 100vh)`,animation:`${pL} 5s linear infinite`,backgroundImage:n===`negative`?`conic-gradient(transparent 90deg, #FC521F 150deg, #FFAE00 210deg, transparent 270deg)`:n===`agentic`?r.base===`dark`?`conic-gradient(transparent 90deg, rgba(114,58,166,0.65) 150deg, rgba(157,98,214,0.6) 210deg, transparent 270deg)`:`conic-gradient(transparent 90deg, #b6a7ff 150deg, #d8aeff 210deg, transparent 270deg)`:`conic-gradient(transparent 90deg, #029CFD 150deg, #37D5D3 210deg, transparent 270deg)`}}})),Object.assign((0,vA.forwardRef)(function({outlineAnimation:e=`none`,color:t,outlineColor:n,outlineAttrs:r={},...i},a){return vA.createElement(gL,{animation:e,color:t,outlineColor:n,ref:a,...r},vA.createElement(hL,{color:t,...i}))}),{Content:hL,Outline:gL}),{deprecate:_L}=__STORYBOOK_MODULE_CLIENT_LOGGER__,vL=[`preEnter`,`entering`,`entered`,`preExit`,`exiting`,`exited`,`unmounted`],yL=e=>({_s:e,status:vL[e],isEnter:e<3,isMounted:e!==6,isResolved:e===2||e>4}),bL=e=>e?6:5,xL=(e,t)=>{switch(e){case 1:case 0:return 2;case 4:case 3:return bL(t)}},SL=e=>typeof e==`object`?[e.enter,e.exit]:[e,e],CL=(e,t)=>setTimeout(()=>{isNaN(document.body.offsetTop)||e(t+1)},0),wL=(e,t,n,r,i)=>{clearTimeout(r.current);let a=yL(e);t(a),n.current=a,i&&i({current:a})},TL=({enter:e=!0,exit:t=!0,preEnter:n,preExit:r,timeout:i,initialEntered:a,mountOnEnter:o,unmountOnExit:s,onStateChange:c}={})=>{let[l,u]=(0,bA.useState)(()=>yL(a?2:bL(o))),d=(0,bA.useRef)(l),f=(0,bA.useRef)(),[p,m]=SL(i),h=(0,bA.useCallback)(()=>{let e=xL(d.current._s,s);e&&wL(e,u,d,f,c)},[c,s]);return[l,(0,bA.useCallback)(i=>{let a=e=>{switch(wL(e,u,d,f,c),e){case 1:p>=0&&(f.current=setTimeout(h,p));break;case 4:m>=0&&(f.current=setTimeout(h,m));break;case 0:case 3:f.current=CL(a,e)}},o=d.current.isEnter;typeof i!=`boolean`&&(i=!o),i?!o&&a(e?+!n:2):o&&a(t?r?3:4:bL(s))},[h,c,e,t,n,r,p,m,s]),h]},EL={},w(EL,{Actions:()=>XL,Close:()=>VL,CloseButton:()=>UL,Col:()=>KL,Container:()=>BL,Content:()=>WL,Description:()=>YL,Dialog:()=>HL,Error:()=>QL,ErrorWrapper:()=>ZL,Header:()=>qL,Overlay:()=>zL,Row:()=>GL,Title:()=>JL}),{deprecate:DL}=__STORYBOOK_MODULE_CLIENT_LOGGER__,(0,CA.createContext)(null),(0,CA.createContext)(null),(0,CA.createContext)(null),(0,CA.createContext)(null),(0,CA.createContext)(null),OL=(0,CA.createContext)({}),kL=(0,wA.forwardRef)(function(e,t){[e,t]=Iw(e,t,OL);let{children:n,level:r=3,className:i,...a}=e,o=`h${r}`;return wA.createElement(o,{...a,ref:t,className:i??`react-aria-Heading`},n)}),AL=(0,TA.createContext)({}),jL=(0,TA.forwardRef)(function(e,t){[e,t]=Iw(e,t,AL);let{elementType:n=`span`,...r}=e;return TA.createElement(n,{className:`react-aria-Text`,...r,ref:t})}),ML=Ee({from:{opacity:0},to:{opacity:1}}),NL=Ee({from:{opacity:1},to:{opacity:0}}),PL=Ee({from:{maxHeight:0},to:{}}),FL=Ee({from:{opacity:0,transform:`translate(-50%, -50%) scale(0.9)`},to:{opacity:1,transform:`translate(-50%, -50%) scale(1)`}}),IL=Ee({from:{opacity:1,transform:`translate(-50%, -50%) scale(1)`},to:{opacity:0,transform:`translate(-50%, -50%) scale(0.9)`}}),LL=Ee({from:{opacity:0,maxHeight:`0px`},to:{opacity:1,maxHeight:`80vh`}}),RL=Ee({from:{opacity:1,maxHeight:`80vh`},to:{opacity:0,maxHeight:`0px`}}),zL=N.div(({$status:e,$transitionDuration:t})=>({backdropFilter:`blur(24px)`,background:`rgba(0, 0, 0, 0.4)`,position:`absolute`,inset:0,width:`100%`,height:`100%`,zIndex:1e5,"@media (prefers-reduced-motion: no-preference)":{animation:e===`exiting`||e===`preExit`?`${NL} ${t}ms`:`${ML} ${t}ms`,animationFillMode:`forwards`}})),BL=N.div(({theme:e})=>({backgroundColor:e.background.bar,borderRadius:6,boxShadow:`0px 4px 67px 0px #00000040`,position:`absolute`,overflow:`auto`,zIndex:1e5,"&:focus-visible":{outline:`none`}}),({theme:e,width:t,height:n,$variant:r,$status:i,$transitionDuration:a})=>r===`dialog`?{top:`50%`,left:`50%`,width:t??740,height:n??`auto`,maxWidth:`calc(100% - 40px)`,maxHeight:`85vh`,"@media (prefers-reduced-motion: no-preference)":{willChange:`transform, opacity`,animationTimingFunction:`cubic-bezier(0.32, 0.72, 0, 1)`,animation:i===`exiting`||i===`preExit`?`${IL} ${a}ms`:`${FL} ${a}ms`,animationFillMode:`forwards !important`},"@media (prefers-reduced-motion: reduce)":{transform:`translate(-50%, -50%) scale(1)`}}:{bottom:`0`,left:`0`,right:`0`,borderRadius:`10px 10px 0 0`,overflow:`hidden`,width:t??`100%`,height:n??`80%`,maxWidth:`100%`,background:e.background.content,"@supports (interpolate-size: allow-keywords)":{interpolateSize:`allow-keywords`},"@media (prefers-reduced-motion: no-preference)":{animationTimingFunction:`cubic-bezier(.9,.16,.77,.64)`,animation:i===`exiting`||i===`preExit`?`${RL} ${a}ms`:`${LL} ${a}ms`,animationFillMode:`forwards !important`}}),VL=({asChild:e,children:t,onClick:n,...r})=>{let{close:i}=(0,SA.useContext)($L);if(e&&SA.isValidElement(t)){let e=e=>{n?.(e),t.props.onClick?.(e),i?.()};return SA.cloneElement(t,{...r,onClick:e})}return SA.createElement(HI,{type:`button`,padding:`small`,ariaLabel:`Close modal`,variant:`ghost`,shortcut:[`Escape`],onClick:i},SA.createElement(Ke,null))},HL={Close:()=>(DL(`Modal.Dialog.Close is deprecated, please use Modal.Close instead.`),SA.createElement(VL,{"data-deprecated":`Modal.Dialog.Close`}))},UL=({ariaLabel:e,...t})=>(DL(`Modal.CloseButton is deprecated, please use Modal.Close instead.`),SA.createElement(VL,{asChild:!0},SA.createElement(HI,{ariaLabel:e||`Close`,"data-deprecated":`Modal.CloseButton`,...t},SA.createElement(Ke,null)))),WL=N.div({display:`flex`,flexDirection:`column`,margin:16,gap:16}),GL=N.div({display:`flex`,justifyContent:`space-between`,gap:16}),KL=N.div({display:`flex`,flexDirection:`column`,gap:4}),qL=({hasClose:e=!0,onClose:t,...n})=>SA.createElement(GL,null,SA.createElement(KL,{...n}),e&&SA.createElement(VL,{onClick:t})),JL=N(e=>SA.createElement(kL,{level:2,...e}))(({theme:e})=>({margin:0,fontSize:e.typography.size.s3,fontWeight:e.typography.weight.bold})),YL=N(jL)(({theme:e})=>({position:`relative`,zIndex:1,margin:0,fontSize:e.typography.size.s2})),XL=N.div({display:`flex`,flexDirection:`row-reverse`,gap:8}),ZL=N.div(({theme:e})=>({maxHeight:100,overflow:`auto`,"@media (prefers-reduced-motion: no-preference)":{animation:`${PL} 300ms, ${ML} 300ms`},backgroundColor:e.background.critical,color:e.color.lightest,fontSize:e.typography.size.s2,"& > div":{position:`relative`,padding:`8px 16px`}})),QL=({children:e,...t})=>SA.createElement(ZL,{...t},SA.createElement(`div`,null,e)),$L=(0,yA.createContext)({}),Object.assign(_D,EL),N.div(({theme:e,col:t,row:n=1})=>t?{display:`inline-block`,verticalAlign:`inherit`,"& > *":{marginLeft:t*e.layoutMargin,verticalAlign:`inherit`},[`& > *:first-child${ye}`]:{marginLeft:0}}:{"& > *":{marginTop:n*e.layoutMargin},[`& > *:first-child${ye}`]:{marginTop:0}},({theme:e,outer:t,col:n,row:r})=>{switch(!0){case!!(t&&n):return{marginLeft:t*e.layoutMargin,marginRight:t*e.layoutMargin};case!!(t&&r):return{marginTop:t*e.layoutMargin,marginBottom:t*e.layoutMargin};default:return{}}}),N.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),N.div(),N.div(({theme:e})=>({padding:30,textAlign:`center`,color:e.color.defaultText,fontSize:e.typography.size.s2-1})),eR=N.div(({centered:e=!1,scale:t=1,elementHeight:n})=>({height:n||`auto`,transformOrigin:e?`center top`:`left top`,transform:`scale(${1/t})`})),tR=class extends OA.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{iFrameRef:e}=this.props;this.iframe=e.current}shouldComponentUpdate(e){let{scale:t,active:n}=this.props;return t!==e.scale&&this.setIframeInnerZoom(e.scale),n!==e.active&&this.iframe.setAttribute(`data-is-storybook`,e.active?`true`:`false`),e.children.props.src!==this.props.children.props.src}setIframeInnerZoom(e){try{Object.assign(this.iframe.contentDocument.body.style,{width:`${1/e*100}%`,height:`${1/e*100}%`,transform:`scale(${e})`,transformOrigin:`top left`})}catch{this.setIframeZoom(e)}}setIframeZoom(e){Object.assign(this.iframe.style,{width:`${1/e*100}%`,height:`${1/e*100}%`,transform:`scale(${e})`,transformOrigin:`top left`})}render(){let{children:e}=this.props;return OA.createElement(OA.Fragment,null,e)}},nR={Element:xD,IFrame:tR},{global:rR}=__STORYBOOK_MODULE_GLOBAL__,{document:iR}=rR,aR=N.strong(({theme:e})=>({color:e.color.orange})),oR=N.strong(({theme:e})=>({color:e.color.ancillary,textDecoration:`underline`})),sR=N.em(({theme:e})=>({color:e.textMutedColor})),cR=/(Error): (.*)\n/,lR=/at (?:(.*) )?\(?(.+)\)?/,uR=/([^@]+)?(?:\/<)?@(.+)?/,dR=/([^@]+)?@(.+)?/,fR=({error:e})=>{if(!e)return kA.createElement(kA.Fragment,null,`This error has no stack or message`);if(!e.stack)return kA.createElement(kA.Fragment,null,e.message||`This error has no stack or message`);let t=e.stack.toString();t&&e.message&&!t.includes(e.message)&&(t=`Error: ${e.message}
199
+ }`,document.head.prepend(r);let i=n=>{if(!(n.touches.length===2||t)){if(!e||e===document.documentElement||e===document.body){n.preventDefault();return}e.scrollHeight===e.clientHeight&&e.scrollWidth===e.clientWidth&&n.preventDefault()}},a=e=>{let t=e.target,n=e.relatedTarget;n&&_C(n)?(n.focus({preventScroll:!0}),qE(n,_C(t))):n||(t.parentElement?.closest(`[tabindex]`))?.focus({preventScroll:!0})},o=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(e){let t=document.activeElement!=null&&_C(document.activeElement);o.call(this,{...e,preventScroll:!0}),(!e||!e.preventScroll)&&qE(this,t)};let s=AS(KE(document,`touchstart`,n,{passive:!1,capture:!0}),KE(document,`touchmove`,i,{passive:!1,capture:!0}),KE(document,`blur`,a,!0));return()=>{s(),r.remove(),HTMLElement.prototype.focus=o}}function GE(e,t,n){let r=e.style[t];return e.style[t]=n,()=>{e.style[t]=r}}function KE(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function qE(e,t){t||!IF?JE(e):IF.addEventListener(`resize`,()=>JE(e),{once:!0})}function JE(e){let t=document.scrollingElement||document.documentElement,n=e;for(;n&&n!==t;){let e=mC(n);if(e!==document.documentElement&&e!==document.body&&e!==n){let t=e.getBoundingClientRect(),r=n.getBoundingClientRect();if(r.top<t.top||r.bottom>t.top+n.clientHeight){let n=t.bottom;IF&&(n=Math.min(n,IF.offsetTop+IF.height));let i=r.top-t.top-((n-t.top)/2-r.height/2);e.scrollTo({top:Math.max(0,Math.min(e.scrollHeight-e.clientHeight,e.scrollTop+i)),behavior:`smooth`})}}n=e.parentElement}}function YE(){return(0,nA.useContext)(zF)??{}}function XE(e){let{children:t}=e,n=(0,rA.useContext)(BF),[r,i]=(0,rA.useState)(0),a=(0,rA.useMemo)(()=>({parent:n,modalCount:r,addModal(){i(e=>e+1),n&&n.addModal()},removeModal(){i(e=>e-1),n&&n.removeModal()}}),[n,r]);return rA.createElement(BF.Provider,{value:a},t)}function ZE(){let e=(0,rA.useContext)(BF);return{modalProviderProps:{"aria-hidden":e&&e.modalCount>0?!0:void 0}}}function QE(e){let{modalProviderProps:t}=ZE();return rA.createElement(`div`,{"data-overlay-container":!0,...e,...t})}function $E(e){return rA.createElement(XE,null,rA.createElement(QE,e))}function eD(e){let t=ES(),{portalContainer:n=t?null:document.body,...r}=e,{getContainer:i}=YE();if(!e.portalContainer&&i&&(n=i()),rA.useEffect(()=>{if(n?.closest(`[data-overlay-container]`))throw Error(`An OverlayContainer must not be inside another container. Please change the portalContainer prop.`)},[n]),!n)return null;let a=rA.createElement($E,r);return iA.createPortal(a,n)}function tD(e={}){let{style:t,isFocusable:n}=e,[r,i]=(0,oA.useState)(!1),{focusWithinProps:a}=Tw({isDisabled:!n,onFocusWithinChange:e=>i(e)}),o=(0,oA.useMemo)(()=>r?t:t?{...SI,...t}:SI,[r]);return{visuallyHiddenProps:{...a,style:o}}}function nD(e){let{children:t,elementType:n=`div`,isFocusable:r,style:i,...a}=e,{visuallyHiddenProps:o}=tD(e);return oA.createElement(n,R(a,o),t)}function rD(e){return e&&e.__esModule?e.default:e}function iD(e){let{onDismiss:t,...n}=e,r=oC(n,iE(rD(xI),`@react-aria/overlays`).format(`dismiss`)),i=()=>{t&&t()};return aA.createElement(nD,null,aA.createElement(`button`,{...r,tabIndex:-1,onClick:i,style:{width:1,height:1}}))}function aD(e,t){let n=$M(e?.[0]),r=t instanceof n.Element?{root:t}:t,i=r?.root??document.body,a=r?.shouldUseInert&&CI,o=new Set(e),s=new Set,c=e=>a&&e instanceof n.HTMLElement?e.inert:e.getAttribute(`aria-hidden`)===`true`,l=(e,t)=>{a&&e instanceof n.HTMLElement?e.inert=t:t?e.setAttribute(`aria-hidden`,`true`):(e.removeAttribute(`aria-hidden`),e instanceof n.HTMLElement&&(e.inert=!1))},u=e=>{for(let t of e.querySelectorAll(`[data-live-announcer], [data-react-aria-top-layer]`))o.add(t);let t=e=>{if(s.has(e)||o.has(e)||e.parentElement&&s.has(e.parentElement)&&e.parentElement.getAttribute(`role`)!==`row`)return NodeFilter.FILTER_REJECT;for(let t of o)if(e.contains(t))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:t}),r=t(e);if(r===NodeFilter.FILTER_ACCEPT&&d(e),r!==NodeFilter.FILTER_REJECT){let e=n.nextNode();for(;e!=null;)d(e),e=n.nextNode()}},d=e=>{let t=wI.get(e)??0;c(e)&&t===0||(t===0&&l(e,!0),s.add(e),wI.set(e,t+1))};TI.length&&TI[TI.length-1].disconnect(),u(i);let f=new MutationObserver(e=>{for(let t of e)if(t.type===`childList`&&![...o,...s].some(e=>e.contains(t.target)))for(let e of t.addedNodes)(e instanceof HTMLElement||e instanceof SVGElement)&&(e.dataset.liveAnnouncer===`true`||e.dataset.reactAriaTopLayer===`true`)?o.add(e):e instanceof Element&&u(e)});f.observe(i,{childList:!0,subtree:!0});let p={visibleNodes:o,hiddenNodes:s,observe(){f.observe(i,{childList:!0,subtree:!0})},disconnect(){f.disconnect()}};return TI.push(p),()=>{f.disconnect();for(let e of s){let t=wI.get(e);t!=null&&(t===1?(l(e,!1),wI.delete(e)):wI.set(e,t-1))}p===TI[TI.length-1]?(TI.pop(),TI.length&&TI[TI.length-1].observe()):TI.splice(TI.indexOf(p),1)}}function oD(e){let t=TI[TI.length-1];if(t&&!t.visibleNodes.has(e))return t.visibleNodes.add(e),()=>{t.visibleNodes.delete(e)}}function sD(e,t){let{triggerRef:n,popoverRef:r,groupRef:i,isNonModal:a,isKeyboardDismissDisabled:o,shouldCloseOnInteractOutside:s,...c}=e,l=c.trigger===`SubmenuTrigger`,{overlayProps:u,underlayProps:d}=BE({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!a||l,isKeyboardDismissDisabled:o,shouldCloseOnInteractOutside:s},i??r),{overlayProps:f,arrowProps:p,placement:m,triggerAnchorPoint:h}=lE({...c,targetRef:n,overlayRef:r,isOpen:t.isOpen,onClose:a&&!l?t.close:null});return HE({isDisabled:a||!t.isOpen}),(0,sA.useEffect)(()=>{if(t.isOpen&&r.current)return a?oD(i?.current??r.current):aD([i?.current??r.current],{shouldUseInert:!0})},[a,t.isOpen,r,i]),{popoverProps:R(u,f),arrowProps:p,underlayProps:d,placement:m,triggerAnchorPoint:h}}function cD(e){let t=ES(),{portalContainer:n=t?null:document.body,isExiting:r}=e,[i,a]=(0,cA.useState)(!1),o=(0,cA.useMemo)(()=>({contain:i,setContain:a}),[i,a]),{getContainer:s}=YE();if(!e.portalContainer&&s&&(n=s()),!n)return null;let c=e.children;return e.disableFocusManagement||(c=cA.createElement(fE,{restoreFocus:!0,contain:(e.shouldContainFocus||i)&&!r},c)),c=cA.createElement(EI.Provider,{value:o},cA.createElement(ww,null,c)),lA.createPortal(c,n)}function lD(){let e=(0,cA.useContext)(EI)?.setContain;U(()=>{e?.(!0)},[e])}function uD(e,t,n){let{overlayProps:r,underlayProps:i}=BE({...e,isOpen:t.isOpen,onClose:t.close},n);return HE({isDisabled:!t.isOpen}),lD(),(0,uA.useEffect)(()=>{if(t.isOpen&&n.current)return aD([n.current],{shouldUseInert:!0})},[t.isOpen,n]),{modalProps:R(r),underlayProps:i}}function dD(e){let[t,n]=FC(e.isOpen,e.defaultOpen||!1,e.onOpenChange);return{isOpen:t,setOpen:n,open:(0,fA.useCallback)(()=>{n(!0)},[n]),close:(0,fA.useCallback)(()=>{n(!1)},[n]),toggle:(0,fA.useCallback)(()=>{n(!t)},[n,t])}}function fD(e={}){let{delay:t=DI,closeDelay:n=OI}=e,{isOpen:r,open:i,close:a}=dD(e),o=(0,dA.useMemo)(()=>`${++AI}`,[]),s=(0,dA.useRef)(null),c=(0,dA.useRef)(a),l=()=>{kI[o]=f},u=()=>{for(let e in kI)e!==o&&(kI[e](!0),delete kI[e])},d=()=>{s.current&&clearTimeout(s.current),s.current=null,u(),l(),jI=!0,i(),MI&&=(clearTimeout(MI),null),NI&&=(clearTimeout(NI),null)},f=e=>{e||n<=0?(s.current&&clearTimeout(s.current),s.current=null,c.current()):s.current||=setTimeout(()=>{s.current=null,c.current()},n),MI&&=(clearTimeout(MI),null),jI&&(NI&&clearTimeout(NI),NI=setTimeout(()=>{delete kI[o],NI=null,jI=!1},Math.max(OI,n)))},p=()=>{u(),l(),!r&&!MI&&!jI?MI=setTimeout(()=>{MI=null,jI=!0,d()},t):r||d()};return(0,dA.useEffect)(()=>{c.current=a},[a]),(0,dA.useEffect)(()=>()=>{s.current&&clearTimeout(s.current),kI[o]&&delete kI[o]},[o]),{isOpen:r,open:e=>{!e&&t>0&&!s.current?p():d()},close:f}}function pD(e){let t=fD(e),n=(0,pA.useRef)(null),{triggerProps:r,tooltipProps:i}=zw(e,t,n);return pA.createElement(Nw,{values:[[PI,t],[FI,{...i,triggerRef:n}]]},pA.createElement(eP,{...r,ref:n},e.children))}function mD(e){let t=(0,pA.useContext)(PI),n=(0,pA.useRef)(null),{overlayProps:r,arrowProps:i,placement:a,triggerAnchorPoint:o}=lE({placement:e.placement||`top`,targetRef:e.triggerRef,overlayRef:e.tooltipRef,arrowRef:n,offset:e.offset,crossOffset:e.crossOffset,isOpen:t.isOpen,arrowBoundaryOffset:e.arrowBoundaryOffset,shouldFlip:e.shouldFlip,containerPadding:e.containerPadding,onClose:()=>t.close(!0)}),s=EC(e.tooltipRef,!!a)||e.isEntering||!1,c=Pw({...e,defaultClassName:`react-aria-Tooltip`,values:{placement:a,isEntering:s,isExiting:e.isExiting,state:t}});e=R(e,r);let{tooltipProps:l}=Rw(e,t),u=VS(e,{global:!0});return pA.createElement(`div`,{...R(u,c,l),ref:e.tooltipRef,style:{...r.style,"--trigger-anchor-point":o?`${o.x}px ${o.y}px`:void 0,...c.style},"data-placement":a??void 0,"data-entering":s||void 0,"data-exiting":e.isExiting||void 0},pA.createElement(cP.Provider,{value:{...i,placement:a,ref:n}},c.children))}function hD(e=``){let t=e.toLowerCase().trim().replace(/\s+/g,`-`);return{ariaDescriptionAttrs:{"aria-describedby":e?t:void 0},AriaDescription:()=>e?hA.createElement(`span`,{id:t,hidden:!0},e):null}}function gD(e){let t=e=>typeof window<`u`&&window.matchMedia(e).matches,[n,r]=(0,xA.useState)(t(e));function i(){r(t(e))}return(0,xA.useEffect)(()=>{let t=window.matchMedia(e);return i(),t.addEventListener(`change`,i),()=>{t.removeEventListener(`change`,i)}},[e]),n}function _D({container:e,portalSelector:t,children:n,width:r,height:i,ariaLabel:a,dismissOnClickOutside:o=!0,dismissOnEscape:s=!0,className:c,open:l,onEscapeKeyDown:u,onInteractOutside:d,onOpenChange:f,defaultOpen:p,transitionDuration:m=200,variant:h=`dialog`,...g}){let _;(a===void 0||a===``)&&(_=`ariaLabel`,_L("The `ariaLabel` prop on `Modal` will become mandatory in Storybook 11.")),u!==void 0&&(_=`onEscapeKeyDown`,_L("The `onEscapeKeyDown` prop is deprecated and will be removed in Storybook 11. Use `dismissOnEscape` instead.")),d!==void 0&&(_=`onInteractOutside`,_L("The `onInteractOutside` prop is deprecated and will be removed in Storybook 11. Use `dismissOnInteractOutside` instead."));let v=(0,yA.useRef)(null),[{status:y,isMounted:b},x]=TL({timeout:gD(`(prefers-reduced-motion: reduce)`)?0:m,mountOnEnter:!0,unmountOnExit:!0}),S=dD({isOpen:l||b,defaultOpen:p,onOpenChange:e=>{x(e),f?.(e)}}),C=()=>{S.close()},{modalProps:w,underlayProps:T}=uD({isDismissable:o,isKeyboardDismissDisabled:!0,shouldCloseOnInteractOutside:d?e=>{let t=new MouseEvent(`click`,{bubbles:!0,cancelable:!0,relatedTarget:e});return d(t),!t.defaultPrevented}:void 0},S,v);if((0,yA.useEffect)(()=>{let e=l??p??!1;e&&!b?x(!0):!e&&b&&x(!1)},[l,p,b,x]),(0,yA.useEffect)(()=>{b&&(l||p)&&f?.(!0)},[b]),(0,yA.useEffect)(()=>{if(b&&(l||p)&&v.current)return aD([v.current],{shouldUseInert:!0})},[b,l,p,v]),!b||y===`exited`||y===`unmounted`)return null;let E=R(w,{onKeyDown:e=>{e.key===`Escape`?s&&(u?.(e.nativeEvent),e.nativeEvent.defaultPrevented||C()):w.onKeyDown?.(e)}}),D=e??(t?document.querySelector(t):void 0);return yA.createElement(cD,{disableFocusManagement:!0,portalContainer:D||void 0},yA.createElement(fE,{restoreFocus:!0,contain:!0,autoFocus:!0},yA.createElement(zL,{$status:y,$transitionDuration:m,...T}),yA.createElement(`div`,{role:`dialog`,"aria-label":a,ref:v,...E},yA.createElement($L.Provider,{value:{close:C}},yA.createElement(`div`,{tabIndex:-1},yA.createElement(BL,{"data-deprecated":_,$variant:h,$status:y,$transitionDuration:m,className:c,width:r,height:i,...g},n))))))}function vD(e,t){var n=(0,DA.useRef)(null),r=(0,DA.useRef)(null);r.current=t;var i=(0,DA.useRef)(null);(0,DA.useEffect)(function(){a()});var a=(0,DA.useCallback)(function(){var t=i.current,a=r.current,o=t||(a?a instanceof Element?a:a.current:null);n.current&&n.current.element===o&&n.current.subscriber===e||(n.current&&n.current.cleanup&&n.current.cleanup(),n.current={element:o,subscriber:e,cleanup:o?e(o):void 0})},[e]);return(0,DA.useEffect)(function(){return function(){n.current&&n.current.cleanup&&(n.current.cleanup(),n.current=null)}},[]),(0,DA.useCallback)(function(e){i.current=e,a()},[a])}function yD(e,t,n){return e[t]?e[t][0]?e[t][0][n]:e[t][n]:t===`contentBoxSize`?e.contentRect[n===`inlineSize`?`width`:`height`]:void 0}function bD(e){e===void 0&&(e={});var t=e.onResize,n=(0,DA.useRef)(void 0);n.current=t;var r=e.round||Math.round,i=(0,DA.useRef)(),a=(0,DA.useState)({width:void 0,height:void 0}),o=a[0],s=a[1],c=(0,DA.useRef)(!1);(0,DA.useEffect)(function(){return c.current=!1,function(){c.current=!0}},[]);var l=(0,DA.useRef)({width:void 0,height:void 0}),u=vD((0,DA.useCallback)(function(t){return(!i.current||i.current.box!==e.box||i.current.round!==r)&&(i.current={box:e.box,round:r,instance:new ResizeObserver(function(t){var i=t[0],a=e.box===`border-box`?`borderBoxSize`:e.box===`device-pixel-content-box`?`devicePixelContentBoxSize`:`contentBoxSize`,o=yD(i,a,`inlineSize`),u=yD(i,a,`blockSize`),d=o?r(o):void 0,f=u?r(u):void 0;if(l.current.width!==d||l.current.height!==f){var p={width:d,height:f};l.current.width=d,l.current.height=f,n.current?n.current(p):c.current||s(p)}})}),i.current.instance.observe(t,{box:e.box}),function(){i.current&&i.current.instance.unobserve(t)}},[e.box,r]),e.ref);return(0,DA.useMemo)(function(){return{ref:u,width:o.width,height:o.height}},[u,o.width,o.height])}function xD({centered:e,scale:t,children:n}){let r=(0,EA.useRef)(null),[i,a]=(0,EA.useState)(0),o=(0,EA.useCallback)(({height:e})=>{e&&a(e/t)},[t]);return(0,EA.useEffect)(()=>{r.current&&a(r.current.getBoundingClientRect().height)},[t]),bD({ref:r,onResize:o}),EA.createElement(eR,{centered:e,scale:t,elementHeight:i},EA.createElement(`div`,{ref:r,className:`innerZoomElementWrapper`},n))}function SD(e,t,n,r){n===void 0&&(n=1),r===void 0&&(r=1/0),LR||(LR=document.createElement(`textarea`),LR.setAttribute(`tabindex`,`-1`),LR.setAttribute(`aria-hidden`,`true`),IR(LR)),LR.parentNode===null&&document.body.appendChild(LR);var i=e.paddingSize,a=e.borderSize,o=e.sizingStyle,s=o.boxSizing;Object.keys(o).forEach(function(e){var t=e;LR.style[t]=o[t]}),IR(LR),LR.value=t;var c=RR(LR,e);LR.value=t,c=RR(LR,e),LR.value=`x`;var l=LR.scrollHeight-i,u=l*n;s===`border-box`&&(u=u+i+a),c=Math.max(u,c);var d=l*r;return s===`border-box`&&(d=d+i+a),c=Math.min(d,c),[c,l]}function CD(e,t,n){var r=jR(n);LA.useLayoutEffect(function(){var n=function(e){return r.current(e)};if(e)return e.addEventListener(t,n),function(){return e.removeEventListener(t,n)}},[])}function wD(e){return e==null||typeof e==`string`||typeof e==`number`||typeof e==`boolean`||typeof e==`symbol`}function TD(e){return{...e,type:`option`,value:OD(e.value)}}function ED(e){return`type`in e&&e.type===`reset`?e:TD(e)}function DD(e){if(e!==iz)return e}function OD(e){return e===void 0?iz:e}function kD(e,{value:t}){return`${e}-opt-${String(t)??`sb-reset`}`}function AD(e,t){return t===void 0?[]:wD(t)?e.filter(e=>e.value===t).map(TD):e.filter(e=>t.some(t=>e.value===t)).map(TD)}function jD(e,t,n,r){if(n==null)return[null,null];let i=null,a=null,o=e.getItem(n);for(;o!=null;){let n=o.filter(e,t,r);n!=null&&(n.nextKey=null,a&&(n.prevKey=a.key,a.nextKey=n.key),i??=n,t.addNode(n),a=n),o=o.nextKey?e.getItem(o.nextKey):null}if(a&&a.type===`separator`){let e=a.prevKey;t.removeNode(a.key),e?(a=t.getItem(e),a.nextKey=null):a=null}return[i?.key??null,a?.key??null]}function MD(e){let{children:t,items:n,idScope:r,addIdAndValue:i,dependencies:a=[]}=e,o=(0,WA.useMemo)(()=>new WeakMap,a);return(0,WA.useMemo)(()=>{if(n&&typeof t==`function`){let e=[];for(let a of n){let n=o.get(a);if(!n){n=t(a);let e=n.props.id??a.key??a.id;if(e==null)throw Error(`Could not determine key for item`);r&&(e=r+`:`+e),n=(0,WA.cloneElement)(n,i?{key:e,id:e,value:a}:{key:e}),o.set(a,n)}e.push(n)}return e}if(typeof t!=`function`)return t},[t,n,o,r,i])}function ND(e){if((0,GA.useContext)(Sz))return GA.createElement(GA.Fragment,null,e.children);let t=GA.createElement(Sz.Provider,{value:!0},e.children);return GA.createElement(`template`,{"data-react-aria-hidden":!0},t)}function PD(e){let t=(t,n)=>(0,GA.useContext)(Sz)?null:e(t,n);return t.displayName=e.displayName||e.name,(0,GA.forwardRef)(t)}function FD(){return(0,GA.useContext)(Sz)}function ID(e){if((0,V.useContext)(wz))return e.content;let{collection:t,document:n}=zD(e.createCollection);return V.createElement(V.Fragment,null,V.createElement(ND,null,V.createElement(wz.Provider,{value:n},e.content)),V.createElement(LD,{render:e.children,collection:t}))}function LD({collection:e,render:t}){return t(e)}function RD(e,t,n){let r=ES(),i=(0,V.useRef)(r);i.current=r;let a=(0,V.useCallback)(()=>i.current?n():t(),[t,n]);return(0,qA.useSyncExternalStore)(e,a)}function zD(e){let[t]=(0,V.useState)(()=>new xz(e?.()||new vz)),n=Tz((0,V.useCallback)(e=>t.subscribe(e),[t]),(0,V.useCallback)(()=>{let e=t.getCollection();return t.isSSR&&t.resetAfterSSR(),e},[t]),(0,V.useCallback)(()=>(t.isSSR=!0,t.getCollection()),[t]));return U(()=>(t.isMounted=!0,()=>{t.isMounted=!1}),[t]),{collection:n,document:t}}function BD(e){var t;return t=class extends fz{},t.type=e,t}function VD(e,t,n,r,i,a){typeof e==`string`&&(e=BD(e));let o=(0,V.useCallback)(i=>{i?.setProps(t,n,e,r,a)},[t,n,r,a,e]),s=(0,V.useContext)(Ez);if(s){let o=s.ownerDocument.nodesByProps.get(t);return o||(o=s.ownerDocument.createElement(e.type),o.setProps(t,n,e,r,a),s.appendChild(o),s.ownerDocument.updateCollection(),s.ownerDocument.nodesByProps.set(t,o)),i?V.createElement(Ez.Provider,{value:o},i):null}return V.createElement(e.type,{ref:o},i)}function HD(e,t){let n=({node:e})=>t(e.props,e.props.ref,e),r=(0,V.forwardRef)((r,i)=>{let a=(0,V.useContext)($N);if(!(0,V.useContext)(Cz)){if(t.length>=3)throw Error(t.name+` cannot be rendered outside a collection.`);return t(r,i)}return VD(e,r,i,`children`in r?r.children:null,null,e=>V.createElement($N.Provider,{value:a},V.createElement(n,{node:e})))});return r.displayName=t.name,r}function UD(e,t,n=WD){let r=({node:e})=>t(e.props,e.props.ref,e),i=(0,V.forwardRef)((t,i)=>VD(e,t,i,null,n(t),e=>V.createElement(r,{node:e}))??V.createElement(V.Fragment,null));return i.displayName=t.name,i}function WD(e){return MD({...e,addIdAndValue:!0})}function GD(e){let t=(0,V.useContext)(Dz),n=(t?.dependencies||[]).concat(e.dependencies),r=e.idScope||t?.idScope,i=WD({...e,idScope:r,dependencies:n});return(0,V.useContext)(wz)&&(i=V.createElement(KD,null,i)),t=(0,V.useMemo)(()=>({dependencies:n,idScope:r}),[r,...n]),V.createElement(Dz.Provider,{value:t},i)}function KD({children:e}){let t=(0,V.useContext)(wz),n=(0,V.useMemo)(()=>V.createElement(wz.Provider,{value:null},V.createElement(Cz.Provider,{value:!0},e)),[e]);return ES()?V.createElement(Ez.Provider,{value:t},n):(0,KA.createPortal)(n,t)}function qD(e){let{id:t,label:n,"aria-labelledby":r,"aria-label":i,labelElementType:a=`label`}=e;t=DS(t);let o=DS(),s={};n&&(r=r?`${o} ${r}`:o,s={id:o,htmlFor:a===`label`?t:void 0});let c=oC({id:t,"aria-label":i,"aria-labelledby":r});return{labelProps:s,fieldProps:c}}function JD(e){let{value:t=0,minValue:n=0,maxValue:r=100,valueLabel:i,isIndeterminate:a,formatOptions:o={style:`percent`}}=e,s=VS(e,{labelable:!0}),{labelProps:c,fieldProps:l}=qD({...e,labelElementType:`span`});t=IC(t,n,r);let u=(t-n)/(r-n),d=sE(o);if(!a&&!i){let e=o.style===`percent`?u:t;i=d.format(e)}return{progressBarProps:R(s,{...l,"aria-valuenow":a?void 0:t,"aria-valuemin":n,"aria-valuemax":r,"aria-valuetext":a?void 0:i,role:`progressbar`}),labelProps:c}}function YD(e,t){let{elementType:n=`button`,isDisabled:r,onPress:i,onPressStart:a,onPressEnd:o,onPressUp:s,onPressChange:c,preventFocusOnPress:l,allowFocusWhenDisabled:u,onClick:d,href:f,target:p,rel:m,type:h=`button`}=e,g;g=n===`button`?{type:h,disabled:r,form:e.form,formAction:e.formAction,formEncType:e.formEncType,formMethod:e.formMethod,formNoValidate:e.formNoValidate,formTarget:e.formTarget,name:e.name,value:e.value}:{role:`button`,href:n===`a`&&!r?f:void 0,target:n===`a`?p:void 0,type:n===`input`?h:void 0,disabled:n===`input`?r:void 0,"aria-disabled":!r||n===`input`?void 0:r,rel:n===`a`?m:void 0};let{pressProps:_,isPressed:v}=ZC({onPressStart:a,onPressEnd:o,onPressChange:c,onPress:i,onPressUp:s,onClick:d,isDisabled:r,preventFocusOnPress:l,ref:t}),{focusableProps:y}=Cw(e,t);u&&(y.tabIndex=r?-1:y.tabIndex);let b=R(y,_,VS(e,{labelable:!0}));return{isPressed:v,buttonProps:R(g,b,{"aria-haspopup":e[`aria-haspopup`],"aria-expanded":e[`aria-expanded`],"aria-controls":e[`aria-controls`],"aria-pressed":e[`aria-pressed`],"aria-current":e[`aria-current`],"aria-disabled":e[`aria-disabled`]})}}function XD(e){return e.isPending&&(e.onPress=void 0,e.onPressStart=void 0,e.onPressEnd=void 0,e.onPressChange=void 0,e.onPressUp=void 0,e.onKeyDown=void 0,e.onKeyUp=void 0,e.onClick=void 0,e.href=void 0),e}function ZD({state:e,isExiting:t,UNSTABLE_portalContainer:n,clearContexts:r,...i}){let a=(0,ZA.useRef)(null),o=(0,ZA.useRef)(null),s=(0,ZA.useContext)(Mz),c=s&&i.trigger===`SubmenuTrigger`,{popoverProps:l,underlayProps:u,arrowProps:d,placement:f,triggerAnchorPoint:p}=sD({...i,offset:i.offset??8,arrowRef:a,groupRef:c?s:o},e),m=i.popoverRef,h=EC(m,!!f)||i.isEntering||!1,g=Pw({...i,defaultClassName:`react-aria-Popover`,values:{trigger:i.trigger||null,placement:f,isEntering:h,isExiting:t}}),_=!i.isNonModal||i.trigger===`SubmenuTrigger`,[v,y]=(0,ZA.useState)(!1);U(()=>{m.current&&y(_&&!m.current.querySelector(`[role=dialog]`))},[m,_]),(0,ZA.useEffect)(()=>{v&&i.trigger!==`SubmenuTrigger`&&m.current&&!m.current.contains(document.activeElement)&&vw(m.current)},[v,m,i.trigger]);let b=(0,ZA.useMemo)(()=>{let e=g.children;if(r)for(let t of r)e=ZA.createElement(t.Provider,{value:null},e);return e},[g.children,r]),x={...l.style,"--trigger-anchor-point":p?`${p.x}px ${p.y}px`:void 0,...g.style},S=ZA.createElement(`div`,{...R(VS(i,{global:!0}),l),...g,role:v?`dialog`:void 0,tabIndex:v?-1:void 0,"aria-label":i[`aria-label`],"aria-labelledby":i[`aria-labelledby`],ref:m,slot:i.slot||void 0,style:x,dir:i.dir,"data-trigger":i.trigger,"data-placement":f,"data-entering":h||void 0,"data-exiting":t||void 0},!i.isNonModal&&ZA.createElement(iD,{onDismiss:e.close}),ZA.createElement(cP.Provider,{value:{...d,placement:f,ref:a}},b),ZA.createElement(iD,{onDismiss:e.close}));return c?ZA.createElement(cD,{...i,shouldContainFocus:v,isExiting:t,portalContainer:n??s?.current??void 0},S):ZA.createElement(cD,{...i,shouldContainFocus:v,isExiting:t,portalContainer:n},!i.isNonModal&&e.isOpen&&ZA.createElement(`div`,{"data-testid":`underlay`,...u,style:{position:`fixed`,inset:0}}),ZA.createElement(`div`,{ref:o,style:{display:`contents`}},ZA.createElement(Mz.Provider,{value:o},S)))}function QD(e,t,n){return MD({items:t?e.getChildren(t.key):e,dependencies:[n],children(t){let r=t.render(t);return!n||t.type!==`item`?r:QA.createElement(QA.Fragment,null,n({type:`item`,key:t.key,dropPosition:`before`}),r,$D(e,t,n))}})}function $D(e,t,n){let r=t.key,i=e.getKeyAfter(r),a=i==null?null:e.getItem(i);for(;a!=null&&a.type!==`item`;)i=e.getKeyAfter(a.key),a=i==null?null:e.getItem(i);let o=t.nextKey==null?null:e.getItem(t.nextKey);for(;o!=null&&o.type!==`item`;)o=o.nextKey==null?null:e.getItem(o.nextKey);let s=[];if(o==null){let r=t;for(;r&&(!a||r.parentKey!==a.parentKey&&a.level<r.level);){let t=n({type:`item`,key:r.key,dropPosition:`after`});(0,QA.isValidElement)(t)&&s.push((0,QA.cloneElement)(t,{key:`${r.key}-after`})),r=r.parentKey==null?null:e.getItem(r.parentKey)}}return s}function eO(e){return(0,QA.useMemo)(()=>e==null?null:new Set([e]),[e])}function tO(e){let t=VS(e,{labelable:!0}),n;return e.orientation===`vertical`&&(n=`vertical`),e.elementType===`hr`?{separatorProps:t}:{separatorProps:{...t,role:`separator`,"aria-orientation":n}}}function nO(e){return hN()?e.altKey:e.ctrlKey}function rO(e,t){let n=`[data-key="${CSS.escape(String(t))}"]`,r=e.current?.dataset.collection;return r&&(n=`[data-collection="${CSS.escape(r)}"]${n}`),e.current?.querySelector(n)}function iO(e){let t=DS();return Wz.set(e,t),t}function aO(e){return Wz.get(e)}function oO(e){let{keyboardDelegate:t,selectionManager:n,onTypeSelect:r}=e,i=(0,rj.useRef)({search:``,timeout:void 0}).current;return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?e=>{let a=sO(e.key);if(!(!a||e.ctrlKey||e.metaKey||!e.currentTarget.contains(e.target)||i.search.length===0&&a===` `)){if(a===` `&&i.search.trim().length>0&&(e.preventDefault(),`continuePropagation`in e||e.stopPropagation()),i.search+=a,t.getKeyForSearch!=null){let e=t.getKeyForSearch(i.search,n.focusedKey);e??=t.getKeyForSearch(i.search),e!=null&&(n.setFocusedKey(e),r&&r(e))}clearTimeout(i.timeout),i.timeout=setTimeout(()=>{i.search=``},Gz)}}:void 0}}}function sO(e){return e.length===1||!/^[A-Z]/i.test(e)?e:``}function cO(e){let{selectionManager:t,keyboardDelegate:n,ref:r,autoFocus:i=!1,shouldFocusWrap:a=!1,disallowEmptySelection:o=!1,disallowSelectAll:s=!1,escapeKeyBehavior:c=`clearSelection`,selectOnFocus:l=t.selectionBehavior===`replace`,disallowTypeAhead:u=!1,shouldUseVirtualFocus:d,allowsTabNavigation:f=!1,isVirtualized:p,scrollRef:m=r,linkBehavior:h=`action`}=e,{direction:g}=oT(),_=YS(),v=e=>{var i;if(e.altKey&&e.key===`Tab`&&e.preventDefault(),!((i=r.current)!=null&&i.contains(e.target)))return;let u=(n,i)=>{if(n!=null){if(t.isLink(n)&&h===`selection`&&l&&!nO(e)){(0,ij.flushSync)(()=>{t.setFocusedKey(n,i)});let a=rO(r,n),o=t.getItemProps(n);a&&_.open(a,e,o.href,o.routerOptions);return}if(t.setFocusedKey(n,i),t.isLink(n)&&h===`override`)return;e.shiftKey&&t.selectionMode===`multiple`?t.extendSelection(n):l&&!nO(e)&&t.replaceSelection(n)}};switch(e.key){case`ArrowDown`:if(n.getKeyBelow){let r=t.focusedKey==null?n.getFirstKey?.call(n):n.getKeyBelow?.call(n,t.focusedKey);r==null&&a&&(r=n.getFirstKey?.call(n,t.focusedKey)),r!=null&&(e.preventDefault(),u(r))}break;case`ArrowUp`:if(n.getKeyAbove){let r=t.focusedKey==null?n.getLastKey?.call(n):n.getKeyAbove?.call(n,t.focusedKey);r==null&&a&&(r=n.getLastKey?.call(n,t.focusedKey)),r!=null&&(e.preventDefault(),u(r))}break;case`ArrowLeft`:if(n.getKeyLeftOf){let r=t.focusedKey==null?null:n.getKeyLeftOf?.call(n,t.focusedKey);r==null&&a&&(r=g===`rtl`?n.getFirstKey?.call(n,t.focusedKey):n.getLastKey?.call(n,t.focusedKey)),r!=null&&(e.preventDefault(),u(r,g===`rtl`?`first`:`last`))}break;case`ArrowRight`:if(n.getKeyRightOf){let r=t.focusedKey==null?null:n.getKeyRightOf?.call(n,t.focusedKey);r==null&&a&&(r=g===`rtl`?n.getLastKey?.call(n,t.focusedKey):n.getFirstKey?.call(n,t.focusedKey)),r!=null&&(e.preventDefault(),u(r,g===`rtl`?`last`:`first`))}break;case`Home`:if(n.getFirstKey){if(t.focusedKey===null&&e.shiftKey)return;e.preventDefault();let r=n.getFirstKey(t.focusedKey,gC(e));t.setFocusedKey(r),r!=null&&(gC(e)&&e.shiftKey&&t.selectionMode===`multiple`?t.extendSelection(r):l&&t.replaceSelection(r))}break;case`End`:if(n.getLastKey){if(t.focusedKey===null&&e.shiftKey)return;e.preventDefault();let r=n.getLastKey(t.focusedKey,gC(e));t.setFocusedKey(r),r!=null&&(gC(e)&&e.shiftKey&&t.selectionMode===`multiple`?t.extendSelection(r):l&&t.replaceSelection(r))}break;case`PageDown`:if(n.getKeyPageBelow&&t.focusedKey!=null){let r=n.getKeyPageBelow(t.focusedKey);r!=null&&(e.preventDefault(),u(r))}break;case`PageUp`:if(n.getKeyPageAbove&&t.focusedKey!=null){let r=n.getKeyPageAbove(t.focusedKey);r!=null&&(e.preventDefault(),u(r))}break;case`a`:gC(e)&&t.selectionMode===`multiple`&&s!==!0&&(e.preventDefault(),t.selectAll());break;case`Escape`:c===`clearSelection`&&!o&&t.selectedKeys.size!==0&&(e.stopPropagation(),e.preventDefault(),t.clearSelection());break;case`Tab`:if(!f){if(e.shiftKey)r.current.focus();else{let e=jE(r.current,{tabbable:!0}),t,n;do n=e.lastChild(),n&&(t=n);while(n);t&&!t.contains(document.activeElement)&&HS(t)}break}}},y=(0,aj.useRef)({top:0,left:0});yC(m,`scroll`,p?void 0:()=>{y.current={top:m.current?.scrollTop??0,left:m.current?.scrollLeft??0}});let b=e=>{if(t.isFocused){e.currentTarget.contains(e.target)||t.setFocused(!1);return}if(e.currentTarget.contains(e.target)){if(t.setFocused(!0),t.focusedKey==null){let r=e=>{e!=null&&(t.setFocusedKey(e),l&&!t.isSelected(e)&&t.replaceSelection(e))},i=e.relatedTarget;i&&e.currentTarget.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_FOLLOWING?r(t.lastSelectedKey??n.getLastKey?.call(n)):r(t.firstSelectedKey??n.getFirstKey?.call(n))}else!p&&m.current&&(m.current.scrollTop=y.current.top,m.current.scrollLeft=y.current.left);if(t.focusedKey!=null&&m.current){let e=rO(r,t.focusedKey);e instanceof HTMLElement&&(!e.contains(document.activeElement)&&!d&&HS(e),mw()===`keyboard`&&SC(e,{containingElement:r.current}))}}},x=e=>{e.currentTarget.contains(e.relatedTarget)||t.setFocused(!1)},S=(0,aj.useRef)(!1);yC(r,ON,d?e=>{let{detail:n}=e;e.stopPropagation(),t.setFocused(!0),n?.focusStrategy===`first`&&(S.current=!0)}:void 0);let C=cC(()=>{let e=n.getFirstKey?.call(n)??null;if(e==null){let e=tN();IE(r.current),RE(e,null),t.collection.size>0&&(S.current=!1)}else t.setFocusedKey(e),S.current=!1});lC(()=>{S.current&&C()},[t.collection,C]);let w=cC(()=>{t.collection.size>0&&(S.current=!1)});lC(()=>{w()},[t.focusedKey,w]),yC(r,DN,d?e=>{var n;e.stopPropagation(),t.setFocused(!1),(n=e.detail)!=null&&n.clearFocusKey&&t.setFocusedKey(null)}:void 0);let T=(0,aj.useRef)(i),E=(0,aj.useRef)(!1);(0,aj.useEffect)(()=>{if(T.current){let e=null;i===`first`&&(e=n.getFirstKey?.call(n)??null),i===`last`&&(e=n.getLastKey?.call(n)??null);let a=t.selectedKeys;if(a.size){for(let n of a)if(t.canSelectItem(n)){e=n;break}}t.setFocused(!0),t.setFocusedKey(e),e==null&&!d&&r.current&&vw(r.current),t.collection.size>0&&(T.current=!1,E.current=!0)}});let D=(0,aj.useRef)(t.focusedKey),O=(0,aj.useRef)(null);(0,aj.useEffect)(()=>{if(t.isFocused&&t.focusedKey!=null&&(t.focusedKey!==D.current||E.current)&&m.current&&r.current){let e=mw(),n=rO(r,t.focusedKey);if(!(n instanceof HTMLElement))return;(e===`keyboard`||E.current)&&(O.current&&cancelAnimationFrame(O.current),O.current=requestAnimationFrame(()=>{m.current&&(bC(m.current,n),e!==`virtual`&&SC(n,{containingElement:r.current}))}))}!d&&t.isFocused&&t.focusedKey==null&&D.current!=null&&r.current&&vw(r.current),D.current=t.focusedKey,E.current=!1}),(0,aj.useEffect)(()=>()=>{O.current&&cancelAnimationFrame(O.current)},[]),yC(r,`react-aria-focus-scope-restore`,e=>{e.preventDefault(),t.setFocused(!0)});let k={onKeyDown:v,onFocus:b,onBlur:x,onMouseDown(e){m.current===e.target&&e.preventDefault()}},{typeSelectProps:A}=oO({keyboardDelegate:n,selectionManager:t});u||(k=R(A,k));let j;d||(j=t.focusedKey==null?0:-1);let M=iO(t.collection);return{collectionProps:R(k,{tabIndex:j,"data-collection":M})}}function lO(e){let{id:t,selectionManager:n,key:r,ref:i,shouldSelectOnPressUp:a,shouldUseVirtualFocus:o,focus:s,isDisabled:c,onAction:l,allowsDifferentPressOrigin:u,linkBehavior:d=`action`}=e,f=YS();t=DS(t);let p=e=>{if(e.pointerType===`keyboard`&&nO(e))n.toggleSelection(r);else{if(n.selectionMode===`none`)return;if(n.isLink(r)){if(d===`selection`&&i.current){let t=n.getItemProps(r);f.open(i.current,e,t.href,t.routerOptions),n.setSelectedKeys(n.selectedKeys);return}if(d===`override`||d===`none`)return}n.selectionMode===`single`?n.isSelected(r)&&!n.disallowEmptySelection?n.toggleSelection(r):n.replaceSelection(r):e&&e.shiftKey?n.extendSelection(r):n.selectionBehavior===`toggle`||e&&(gC(e)||e.pointerType===`touch`||e.pointerType===`virtual`)?n.toggleSelection(r):n.replaceSelection(r)}};(0,oj.useEffect)(()=>{r===n.focusedKey&&n.isFocused&&(o?IE(i.current):s?s():document.activeElement!==i.current&&i.current&&vw(i.current))},[i,r,n.focusedKey,n.childFocusStrategy,n.isFocused,o]),c||=n.isDisabled(r);let m={};!o&&!c?m={tabIndex:r===n.focusedKey?0:-1,onFocus(e){e.target===i.current&&n.setFocusedKey(r)}}:c&&(m.onMouseDown=e=>{e.preventDefault()});let h=n.isLink(r)&&d===`override`,g=l&&e.UNSTABLE_itemBehavior===`action`,_=n.isLink(r)&&d!==`selection`&&d!==`none`,v=!c&&n.canSelectItem(r)&&!h&&!g,y=(l||_)&&!c,b=y&&(n.selectionBehavior===`replace`?!v:!v||n.isEmpty),x=y&&v&&n.selectionBehavior===`replace`,S=b||x,C=(0,oj.useRef)(null),w=S&&v,T=(0,oj.useRef)(!1),E=(0,oj.useRef)(!1),D=n.getItemProps(r),O=e=>{if(l){var t;l(),(t=i.current)==null||t.dispatchEvent(new CustomEvent(`react-aria-item-action`,{bubbles:!0}))}_&&i.current&&f.open(i.current,e,D.href,D.routerOptions)},k={ref:i};if(a?(k.onPressStart=e=>{C.current=e.pointerType,T.current=w,e.pointerType===`keyboard`&&(!S||dO())&&p(e)},u?(k.onPressUp=b?void 0:e=>{e.pointerType===`mouse`&&v&&p(e)},k.onPress=b?O:e=>{e.pointerType!==`keyboard`&&e.pointerType!==`mouse`&&v&&p(e)}):k.onPress=e=>{if(b||x&&e.pointerType!==`mouse`){if(e.pointerType===`keyboard`&&!uO())return;O(e)}else e.pointerType!==`keyboard`&&v&&p(e)}):(k.onPressStart=e=>{C.current=e.pointerType,T.current=w,E.current=b,v&&(e.pointerType===`mouse`&&!b||e.pointerType===`keyboard`&&(!y||dO()))&&p(e)},k.onPress=e=>{(e.pointerType===`touch`||e.pointerType===`pen`||e.pointerType===`virtual`||e.pointerType===`keyboard`&&S&&uO()||e.pointerType===`mouse`&&E.current)&&(S?O(e):v&&p(e))}),m[`data-collection`]=aO(n.collection),m[`data-key`]=r,k.preventFocusOnPress=o,o&&(k=R(k,{onPressStart(e){e.pointerType!==`touch`&&(n.setFocused(!0),n.setFocusedKey(r))},onPress(e){e.pointerType===`touch`&&(n.setFocused(!0),n.setFocusedKey(r))}})),D)for(let e of[`onPressStart`,`onPressEnd`,`onPressChange`,`onPress`,`onPressUp`,`onClick`])D[e]&&(k[e]=AS(k[e],D[e]));let{pressProps:A,isPressed:j}=ZC(k),M=x?e=>{C.current===`mouse`&&(e.stopPropagation(),e.preventDefault(),O(e))}:void 0,{longPressProps:ee}=Mw({isDisabled:!w,onLongPress(e){e.pointerType===`touch`&&(p(e),n.setSelectionBehavior(`toggle`))}}),te=e=>{C.current===`touch`&&T.current&&e.preventDefault()},ne=d!==`none`&&n.isLink(r)?e=>{ZS.isOpening||e.preventDefault()}:void 0;return{itemProps:R(m,v||b||o&&!c?A:{},w?ee:{},{onDoubleClick:M,onDragStartCapture:te,onClick:ne,id:t},o?{onMouseDown:e=>e.preventDefault()}:void 0),isPressed:j,isSelected:n.isSelected(r),isFocused:n.isFocused&&n.focusedKey===r,isDisabled:c,allowsSelection:v,hasAction:S}}function uO(){return window.event?.key===`Enter`}function dO(){let e=window.event;return e?.key===` `||e?.code===`Space`}function fO(e){let{selectionManager:t,collection:n,disabledKeys:r,ref:i,keyboardDelegate:a,layoutDelegate:o}=e,s=cE({usage:`search`,sensitivity:`base`}),c=t.disabledBehavior,l=(0,sj.useMemo)(()=>a||new qz({collection:n,disabledKeys:r,disabledBehavior:c,ref:i,collator:s,layoutDelegate:o}),[a,o,n,r,i,s,c]),{collectionProps:u}=cO({...e,ref:i,selectionManager:t,keyboardDelegate:l});return{listProps:u}}function pO(e,t,n){let{shouldFocusWrap:r=!0,onKeyDown:i,onKeyUp:a,...o}=e;!e[`aria-label`]&&e[`aria-labelledby`];let s=VS(e,{labelable:!0}),{listProps:c}=fO({...o,ref:n,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,shouldFocusWrap:r,linkBehavior:`override`});return Uz.set(t,{onClose:e.onClose,onAction:e.onAction,shouldUseVirtualFocus:e.shouldUseVirtualFocus}),{menuProps:R(s,{onKeyDown:i,onKeyUp:a},{role:`menu`,...c,onKeyDown:t=>{var n;(t.key!==`Escape`||e.shouldUseVirtualFocus)&&((n=c.onKeyDown)==null||n.call(c,t))}})}}function mO(e){return null}function hO(e){return e.hasChildItems==null?!!(e.childItems||e.title&&cj.Children.count(e.children)>0):e.hasChildItems}function gO(e){let t=[],n=null;return{*[Symbol.iterator](){for(let e of t)yield e;n||=e();for(let e of n)t.push(e),yield e}}}function _O(e,t){if(e&&t)return n=>e(t(n));if(e)return e;if(t)return t}function vO(e){return e[0].toUpperCase()+e.slice(1)}function yO(e,t,n){let r=(0,uj.useMemo)(()=>new Yz,[]),{children:i,items:a,collection:o}=e;return(0,uj.useMemo)(()=>o||t(r.build({children:i,items:a},n)),[r,i,a,o,n,t])}function bO(e,t){return typeof t.getChildren==`function`?t.getChildren(e.key):e.childNodes}function xO(e){return SO(e,0)}function SO(e,t){if(t<0)return;let n=0;for(let r of e){if(n===t)return r;n++}}function CO(e,t,n){if(t.parentKey===n.parentKey)return t.index-n.index;let r=[...wO(e,t),t],i=[...wO(e,n),n],a=r.slice(0,i.length).findIndex((e,t)=>e!==i[t]);return a===-1?r.findIndex(e=>e===n)>=0?1:(i.findIndex(e=>e===t),-1):(t=r[a],n=i[a],t.index-n.index)}function wO(e,t){let n=[],r=t;for(;r?.parentKey!=null;)r=e.getItem(r.parentKey),r&&n.unshift(r);return n}function TO(e){let t=Xz.get(e);if(t!=null)return t;let n=0,r=t=>{for(let i of t)i.type===`section`?r(bO(i,e)):i.type===`item`&&n++};return r(e),Xz.set(e,n),n}function EO(e,t,n){let{id:r,key:i,closeOnSelect:a,isVirtualized:o,"aria-haspopup":s,onPressStart:c,onPressUp:l,onPress:u,onPressChange:d,onPressEnd:f,onClick:p,onHoverStart:m,onHoverChange:h,onHoverEnd:g,onKeyDown:_,onKeyUp:v,onFocus:y,onFocusChange:b,onBlur:x,selectionManager:S=t.selectionManager}=e,C=!!s,w=C&&e[`aria-expanded`]===`true`,T=e.isDisabled??S.isDisabled(i),E=e.isSelected??S.isSelected(i),D=Uz.get(t),O=t.collection.getItem(i),k=e.onClose||D.onClose,A=YS(),j=()=>{var t;if(!C&&(O!=null&&(t=O.props)!=null&&t.onAction?O.props.onAction():e.onAction&&e.onAction(i),D.onAction)){let e=D.onAction;e(i)}},M=`menuitem`;C||(S.selectionMode===`single`?M=`menuitemradio`:S.selectionMode===`multiple`&&(M=`menuitemcheckbox`));let ee=kS(),te=kS(),ne=kS(),re={id:r,"aria-disabled":T||void 0,role:M,"aria-label":e[`aria-label`],"aria-labelledby":ee,"aria-describedby":[te,ne].filter(Boolean).join(` `)||void 0,"aria-controls":e[`aria-controls`],"aria-haspopup":s,"aria-expanded":e[`aria-expanded`]};S.selectionMode!==`none`&&!C&&(re[`aria-checked`]=E),o&&(re[`aria-posinset`]=O?.index,re[`aria-setsize`]=TO(t.collection));let ie=(0,dj.useRef)(!1),ae=e=>{d?.(e),ie.current=e},oe=(0,dj.useRef)(null),se=e=>{e.pointerType!==`keyboard`&&(oe.current={pointerType:e.pointerType}),e.pointerType===`mouse`&&(ie.current||e.target.click()),l?.(e)},ce=e=>{p?.(e),j(),tC(e,A,O.props.href,O?.props.routerOptions);let t=oe.current?.pointerType===`keyboard`?oe.current?.key===`Enter`||S.selectionMode===`none`||S.isLink(i):S.selectionMode!==`multiple`||S.isLink(i);t=a??t,k&&!C&&t&&k(),oe.current=null},{itemProps:le,isFocused:ue}=lO({id:r,selectionManager:S,key:i,ref:n,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:`none`,shouldUseVirtualFocus:D.shouldUseVirtualFocus}),{pressProps:de,isPressed:fe}=ZC({onPressStart:c,onPress:u,onPressUp:se,onPressChange:ae,onPressEnd:f,isDisabled:T}),{hoverProps:pe}=kw({isDisabled:T,onHoverStart(e){!pw()&&!(w&&s)&&(S.setFocused(!0),S.setFocusedKey(i)),m?.(e)},onHoverChange:h,onHoverEnd:g}),{keyboardProps:me}=xw({onKeyDown:e=>{if(e.repeat){e.continuePropagation();return}switch(e.key){case` `:oe.current={pointerType:`keyboard`,key:` `},e.target.click();break;case`Enter`:oe.current={pointerType:`keyboard`,key:`Enter`},e.target.tagName!==`A`&&e.target.click();break;default:C||e.continuePropagation(),_?.(e)}},onKeyUp:v}),{focusProps:he}=yw({onBlur:x,onFocus:y,onFocusChange:b}),ge=VS(O?.props);delete ge.id;let _e=eC(O?.props);return{menuItemProps:{...re,...R(ge,_e,C?{onFocus:le.onFocus,"data-collection":le[`data-collection`],"data-key":le[`data-key`]}:le,de,pe,me,he,D.shouldUseVirtualFocus||C?{onMouseDown:e=>e.preventDefault()}:void 0,T?void 0:{onClick:ce}),tabIndex:le.tabIndex!=null&&w&&!D.shouldUseVirtualFocus?-1:le.tabIndex},labelProps:{id:ee},descriptionProps:{id:te},keyboardShortcutProps:{id:ne},isFocused:ue,isFocusVisible:ue&&S.isFocused&&pw()&&!w,isSelected:E,isPressed:fe,isDisabled:T}}function DO(e){let{heading:t,"aria-label":n}=e,r=DS();return{itemProps:{role:`presentation`},headingProps:t?{id:r,role:`presentation`}:{},groupProps:{role:`group`,"aria-label":n,"aria-labelledby":t?r:void 0}}}function OO(e){let{menuRef:t,submenuRef:n,isOpen:r,isDisabled:i}=e,a=(0,fj.useRef)(void 0),o=(0,fj.useRef)(void 0),s=(0,fj.useRef)(0),c=(0,fj.useRef)(void 0),l=(0,fj.useRef)(void 0),u=(0,fj.useRef)(void 0),d=(0,fj.useRef)(2),[f,p]=(0,fj.useState)(!1);dC({ref:n,onResize:()=>{n.current&&(o.current=n.current.getBoundingClientRect(),u.current=void 0)}});let m=()=>{p(!1),d.current=Zz,a.current=void 0},h=hw(),g=cC(e=>{f&&e.preventDefault()});(0,fj.useEffect)(()=>{f&&t.current?t.current.style.pointerEvents=`none`:t.current.style.pointerEvents=``},[t,f]),(0,fj.useEffect)(()=>{let e=n.current,f=t.current;if(i||!e||!r||h!==`pointer`||!f){m();return}o.current=e.getBoundingClientRect();let _=e=>{if(e.pointerType===`touch`||e.pointerType===`pen`)return;let t=Date.now();if(t-s.current<Qz)return;clearTimeout(c.current),clearTimeout(l.current);let{clientX:n,clientY:r}=e;if(!a.current){a.current={x:n,y:r};return}if(!o.current)return;if(u.current||=n>o.current.right?`left`:`right`,n<f.getBoundingClientRect().left||n>f.getBoundingClientRect().right||r<f.getBoundingClientRect().top||r>f.getBoundingClientRect().bottom){m();return}let i=a.current.x,h=a.current.y,g=u.current===`right`?o.current.left-i:i-o.current.right,_=Math.atan2(h-o.current.top,g)+eB,v=Math.atan2(h-o.current.bottom,g)-eB,y=Math.atan2(h-r,u.current===`left`?-(n-i):n-i),b=y<_&&y>v;d.current=b?Math.min(d.current+1,Zz):Math.max(d.current-1,0),d.current>=Zz?p(!0):p(!1),s.current=t,a.current={x:n,y:r},b&&(c.current=setTimeout(()=>{m(),l.current=setTimeout(()=>{let e=document.elementFromPoint(n,r);e&&f.contains(e)&&e.dispatchEvent(new PointerEvent(`pointerover`,{bubbles:!0,cancelable:!0}))},100)},$z))};return window.addEventListener(`pointermove`,_),window.addEventListener(`pointerdown`,g,!0),()=>{window.removeEventListener(`pointermove`,_),window.removeEventListener(`pointerdown`,g,!0),clearTimeout(c.current),clearTimeout(l.current),d.current=Zz}},[i,r,t,h,p,g,n])}function kO(e,t,n){let{parentMenuRef:r,submenuRef:i,type:a=`menu`,isDisabled:o,delay:s=200,shouldUseVirtualFocus:c}=e,l=DS(),u=DS(),{direction:d}=oT(),f=(0,pj.useRef)(void 0),p=(0,pj.useCallback)(()=>{f.current&&=(clearTimeout(f.current),void 0)},[f]),m=cC(e=>{p(),t.open(e)}),h=cC(()=>{p(),t.close()});U(()=>()=>{p()},[p]);let g={id:u,"aria-labelledby":l,submenuLevel:t.submenuLevel,...a===`menu`&&{onClose:t.closeAll,autoFocus:t.focusStrategy??void 0,onKeyDown:e=>{if(e.currentTarget.contains(document.activeElement))switch(e.key){case`ArrowLeft`:d===`ltr`&&e.currentTarget.contains(e.target)&&(e.preventDefault(),e.stopPropagation(),h(),!c&&n.current&&HS(n.current));break;case`ArrowRight`:d===`rtl`&&e.currentTarget.contains(e.target)&&(e.preventDefault(),e.stopPropagation(),h(),!c&&n.current&&HS(n.current));break;case`Escape`:var t;(t=i.current)!=null&&t.contains(e.target)&&(e.stopPropagation(),h(),!c&&n.current&&HS(n.current))}}}};return yC(r,`focusin`,e=>{var i;t.isOpen&&(i=r.current)!=null&&i.contains(e.target)&&e.target!==n.current&&h()}),OO({menuRef:r,submenuRef:i,isOpen:t.isOpen,isDisabled:o}),{submenuTriggerProps:{id:l,"aria-controls":t.isOpen?u:void 0,"aria-haspopup":o?void 0:a,"aria-expanded":t.isOpen?`true`:`false`,onPressStart:e=>{!o&&(e.pointerType===`virtual`||e.pointerType===`keyboard`)&&m(`first`)},onPress:e=>{!o&&(e.pointerType===`touch`||e.pointerType===`mouse`)&&m()},onHoverChange:e=>{o||(e&&!t.isOpen?f.current||=setTimeout(()=>{m()},s):e||p())},onKeyDown:e=>{switch(e.key){case`ArrowRight`:o||(d===`ltr`?(e.preventDefault(),t.isOpen||m(`first`),a===`menu`&&i?.current&&document.activeElement===n?.current&&HS(i.current)):t.isOpen?h():e.continuePropagation());break;case`ArrowLeft`:o||(d===`rtl`?(e.preventDefault(),t.isOpen||m(`first`),a===`menu`&&i?.current&&document.activeElement===n?.current&&HS(i.current)):t.isOpen?h():e.continuePropagation());break;default:e.continuePropagation()}},isOpen:t.isOpen},submenuProps:g,popoverProps:{isNonModal:!0,shouldCloseOnInteractOutside:e=>e!==n.current}}}function AO(e){let t=dD(e),[n,r]=(0,mj.useState)(null),[i,a]=(0,mj.useState)([]),o=()=>{a([]),t.close()};return{focusStrategy:n,...t,open(e=null){r(e),t.open()},toggle(e=null){r(e),t.toggle()},close(){o()},expandedKeysStack:i,openSubmenu:(e,t)=>{a(n=>t>n.length?n:[...n.slice(0,t),e])},closeSubmenu:(e,t)=>{a(n=>n[t]===e?n.slice(0,t):n)}}}function jO(e,t){let{triggerKey:n}=e,{expandedKeysStack:r,openSubmenu:i,closeSubmenu:a,close:o}=t,[s]=(0,hj.useState)(r?.length),c=(0,hj.useMemo)(()=>r[s]===n,[r,n,s]),[l,u]=(0,hj.useState)(null),d=(0,hj.useCallback)(e=>{u(e??null),i(n,s)},[i,s,n]),f=(0,hj.useCallback)(()=>{u(null),a(n,s)},[a,s,n]),p=(0,hj.useCallback)(e=>{u(e??null),c?f():d(e)},[f,d,c]);return(0,hj.useMemo)(()=>({focusStrategy:l,isOpen:c,open:d,close:f,closeAll:o,submenuLevel:s,setOpen:()=>{},toggle:p}),[c,d,f,o,l,p,s])}function MO(e,t){if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}function NO(e){let{selectionMode:t=`none`,disallowEmptySelection:n=!1,allowDuplicateSelectionEvents:r,selectionBehavior:i=`toggle`,disabledBehavior:a=`all`}=e,o=(0,gj.useRef)(!1),[,s]=(0,gj.useState)(!1),c=(0,gj.useRef)(null),l=(0,gj.useRef)(null),[,u]=(0,gj.useState)(null),[d,f]=FC((0,gj.useMemo)(()=>PO(e.selectedKeys),[e.selectedKeys]),(0,gj.useMemo)(()=>PO(e.defaultSelectedKeys,new nB),[e.defaultSelectedKeys]),e.onSelectionChange),p=(0,gj.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[m,h]=(0,gj.useState)(i);i===`replace`&&m===`toggle`&&typeof d==`object`&&d.size===0&&h(`replace`);let g=(0,gj.useRef)(i);return(0,gj.useEffect)(()=>{i!==g.current&&(h(i),g.current=i)},[i]),{selectionMode:t,disallowEmptySelection:n,selectionBehavior:m,setSelectionBehavior:h,get isFocused(){return o.current},setFocused(e){o.current=e,s(e)},get focusedKey(){return c.current},get childFocusStrategy(){return l.current},setFocusedKey(e,t=`first`){c.current=e,l.current=t,u(e)},selectedKeys:d,setSelectedKeys(e){(r||!MO(e,d))&&f(e)},disabledKeys:p,disabledBehavior:a}}function PO(e,t){return e?e===`all`?`all`:new nB(e):t}function FO(e){let{onExpandedChange:t}=e,[n,r]=FC(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,t),i=NO(e),a=(0,_j.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),o=yO(e,(0,_j.useCallback)(e=>new tB(e,{expandedKeys:n}),[n]),null);return(0,_j.useEffect)(()=>{i.focusedKey!=null&&!o.getItem(i.focusedKey)&&i.setFocusedKey(null)},[o,i.focusedKey]),{collection:o,expandedKeys:n,disabledKeys:a,toggleKey:e=>{r(IO(n,e))},setExpandedKeys:r,selectionManager:new rB(o,i)}}function IO(e,t){let n=new Set(e);return n.has(t)?n.delete(t):n.add(t),n}function LO({props:e,collection:t,menuRef:n}){[e,n]=Iw(e,n,Lz);let{filter:r,...i}=e,a=(0,H.useMemo)(()=>r?t.filter(r):t,[t,r]),o=FO({...e,collection:a,children:void 0}),s=(0,H.useContext)(oB),{isVirtualized:c,CollectionRoot:l}=(0,H.useContext)(Iz),{menuProps:u}=pO({...e,isVirtualized:c,onClose:e.onClose||s?.close},o,n),d=Pw({defaultClassName:`react-aria-Menu`,className:e.className,style:e.style,values:{isEmpty:o.collection.size===0}}),f=null;o.collection.size===0&&e.renderEmptyState&&(f=H.createElement(`div`,{role:`menuitem`,style:{display:`contents`}},e.renderEmptyState()));let p=VS(e,{global:!0});return H.createElement(fE,null,H.createElement(`div`,{...R(p,d,u),ref:n,slot:e.slot||void 0,"data-empty":o.collection.size===0||void 0,onScroll:e.onScroll},H.createElement(Nw,{values:[[aB,o],[Vz,{elementType:`div`}],[Pz,{name:`MenuSection`,render:RO}],[cB,{parentMenuRef:n,shouldUseVirtualFocus:i?.shouldUseVirtualFocus}],[dB,null],[Lz,null],[Rz,null],[sB,o.selectionManager],[oB,s??AO({})]]},H.createElement(l,{collection:o.collection,persistedKeys:eO(o.selectionManager.focusedKey),scrollRef:n})),f))}function RO(e,t,n,r=`react-aria-MenuSection`){let i=(0,H.useContext)(aB),{CollectionBranch:a}=(0,H.useContext)(Iz),[o,s]=Lw(),{headingProps:c,groupProps:l}=DO({heading:s,"aria-label":n.props[`aria-label`]??void 0}),u=Pw({defaultClassName:r,className:n.props?.className,style:n.props?.style,values:{}}),d=(0,H.useContext)(sB),f=NO(e),p=e.selectionMode==null?d:new uB(d,f),m=VS(e,{global:!0});return delete m.id,H.createElement(`section`,{...R(m,u,l),ref:t},H.createElement(Nw,{values:[[zz,{...c,ref:o}],[sB,p]]},H.createElement(a,{collection:i.collection,parent:n})))}function zO(e,t){let{role:n=`dialog`}=e,r=kS();r=e[`aria-label`]?void 0:r;let i=(0,vj.useRef)(!1);return(0,vj.useEffect)(()=>{if(t.current&&!t.current.contains(document.activeElement)){vw(t.current);let e=setTimeout(()=>{(document.activeElement===t.current||document.activeElement===document.body)&&(i.current=!0,t.current&&(t.current.blur(),vw(t.current)),i.current=!1)},500);return()=>{clearTimeout(e)}}},[t]),lD(),{dialogProps:{...VS(e,{labelable:!0}),role:n,tabIndex:-1,"aria-labelledby":e[`aria-labelledby`]||r,onBlur:e=>{i.current&&e.stopPropagation()}},titleProps:{id:r}}}function BO(e){let t=AO(e),n=(0,yj.useRef)(null),{triggerProps:r,overlayProps:i}=VE({type:`dialog`},t,n),[a,o]=(0,yj.useState)(null);return dC({ref:n,onResize:(0,yj.useCallback)(()=>{n.current&&o(n.current.offsetWidth+`px`)},[n])}),r.id=DS(),i[`aria-labelledby`]=r.id,yj.createElement(Nw,{values:[[pB,t],[oB,t],[fB,i],[jz,{trigger:`DialogTrigger`,triggerRef:n,"aria-labelledby":i[`aria-labelledby`],style:{"--trigger-width":a}}]]},yj.createElement(rP,{...r,ref:n,isPressed:t.isOpen},e.children))}function VO({children:e,...t},n){let r={props:t,ref:n};if(UB(r))return Ej.createElement(`a`,{ref:r.ref,...r.props},e);if(WB(r))return Ej.createElement(`button`,{ref:r.ref,type:`button`,...r.props},e);throw Error(`invalid props`)}function HO(e){rV("The `useList` tabs hook is deprecated. Use `TabsView` instead.");let t=(0,kj.useRef)(),n=(0,kj.useRef)(),r=(0,kj.useRef)(new Map),{width:i=1}=bD({ref:t}),[a,o]=(0,kj.useState)(e),[s,c]=(0,kj.useState)([]),l=(0,kj.useRef)(e),u=(0,kj.useCallback)(({menuName:e,actions:t})=>{let i=s.some(({active:e})=>e),[a,o]=(0,kj.useState)(!1);return kj.createElement(kj.Fragment,null,kj.createElement(mB,{ariaLabel:`Additional tabs`,visible:a,onVisibleChange:o,placement:`bottom`,popover:kj.createElement(MB,{links:s.map(({title:e,id:n,color:r,active:i})=>({id:n,title:e,color:r,active:i,onClick:e=>{e.preventDefault(),t.onSelect(n)}}))})},kj.createElement(aV,{id:`addons-menu-button`,ref:n,active:i,preActive:a,style:{visibility:s.length?`visible`:`hidden`},"aria-hidden":!s.length,className:`tabbutton`,type:`button`,role:`tab`},e,kj.createElement(iV,{className:`addon-collapsible-icon`,isActive:i||a}))),s.map(({title:e,id:t,color:n},i)=>{let a=`index-${i}`;return kj.createElement(qB,{id:`tabbutton-${sh(t)??a}`,style:{visibility:`hidden`},"aria-hidden":!0,tabIndex:-1,ref:e=>{r.current.set(t,e)},className:`tabbutton`,type:`button`,key:t,textColor:n,role:`tab`},e)}))},[s]),d=(0,kj.useCallback)(()=>{if(!t.current||!n.current)return;let{x:i,width:u}=t.current.getBoundingClientRect(),{width:d}=n.current.getBoundingClientRect(),f=s.length?i+u-d:i+u,p=[],m=0,h=e.filter(e=>{let{id:t}=e,n=r.current.get(t),{width:a=0}=n?.getBoundingClientRect()||{},o=i+m+a>f;return(!o||!n)&&p.push(e),m+=a,o});(p.length!==a.length||l.current!==e)&&(o(p),c(h),l.current=e)},[s.length,e,a]);return(0,kj.useLayoutEffect)(d,[d,i]),{tabRefs:r,addonsRef:n,tabBarRef:t,visibleList:a,invisibleList:s,AddonTab:u}}function UO(e,t){let{"aria-label":n,"aria-labelledby":r,orientation:i=`horizontal`}=e,[a,o]=(0,jj.useState)(!1);U(()=>{var e;o(!!(t.current&&(e=t.current.parentElement)!=null&&e.closest(`[role="toolbar"]`)))});let{direction:s}=oT(),c=s===`rtl`&&i===`horizontal`,l=ME(t),u=e=>{if(e.currentTarget.contains(e.target)){if(i===`horizontal`&&e.key===`ArrowRight`||i===`vertical`&&e.key===`ArrowDown`)c?l.focusPrevious():l.focusNext();else if(i===`horizontal`&&e.key===`ArrowLeft`||i===`vertical`&&e.key===`ArrowUp`)c?l.focusNext():l.focusPrevious();else if(e.key===`Tab`){e.stopPropagation(),d.current=document.activeElement,e.shiftKey?l.focusFirst():l.focusLast();return}else return;e.stopPropagation(),e.preventDefault()}},d=(0,jj.useRef)(null),f=e=>{!e.currentTarget.contains(e.relatedTarget)&&!d.current&&(d.current=e.target)},p=e=>{var n;if(d.current&&!e.currentTarget.contains(e.relatedTarget)&&(n=t.current)!=null&&n.contains(e.target)){var r;(r=d.current)==null||r.focus(),d.current=null}};return{toolbarProps:{...VS(e,{labelable:!0}),role:a?`group`:`toolbar`,"aria-orientation":i,"aria-label":n,"aria-labelledby":n==null?r:void 0,onKeyDownCapture:a?void 0:u,onFocusCapture:a?void 0:p,onBlurCapture:a?void 0:f}}}function WO(e,t,n){return e?(typeof t==`string`&&(t=t.replace(/\s+/g,``)),`${_V.get(e)}-${n}-${t}`):``}function GO(e,t,n){let{key:r,isDisabled:i,shouldSelectOnPressUp:a}=e,{selectionManager:o,selectedKey:s}=t,c=r===s,l=i||t.isDisabled||t.selectionManager.isDisabled(r),{itemProps:u,isPressed:d}=lO({selectionManager:o,key:r,ref:n,isDisabled:l,shouldSelectOnPressUp:a,linkBehavior:`selection`}),f=WO(t,r,`tab`),p=WO(t,r,`tabpanel`),{tabIndex:m}=u,h=t.collection.getItem(r),g=VS(h?.props,{labelable:!0});delete g.id;let _=eC(h?.props),{focusableProps:v}=Cw({isDisabled:l},n);return{tabProps:R(g,v,_,u,{id:f,"aria-selected":c,"aria-disabled":l||void 0,"aria-controls":c?p:void 0,tabIndex:l?void 0:m,role:`tab`}),isSelected:c,isDisabled:l,isPressed:d}}function KO(e,t,n){let r=FE(n)?void 0:0,i=WO(t,e.id??t?.selectedKey,`tabpanel`);return{tabPanelProps:R(oC({...e,id:i,"aria-labelledby":WO(t,t?.selectedKey,`tab`)}),{tabIndex:r,role:`tabpanel`,"aria-describedby":e[`aria-describedby`],"aria-details":e[`aria-details`]})}}function qO(e,t,n){let{orientation:r=`horizontal`,keyboardActivation:i=`automatic`}=e,{collection:a,selectionManager:o,disabledKeys:s}=t,{direction:c}=oT(),{collectionProps:l}=cO({ref:n,selectionManager:o,keyboardDelegate:(0,Nj.useMemo)(()=>new vV(a,c,r,s),[a,s,r,c]),selectOnFocus:i===`automatic`,disallowEmptySelection:!0,scrollRef:n,linkBehavior:`selection`}),u=DS();return _V.set(t,u),{tabListProps:{...R(l,oC({...e,id:u})),role:`tablist`,"aria-orientation":r,tabIndex:void 0}}}function JO(e){let{filter:t,layoutDelegate:n}=e,r=NO(e),i=(0,Ij.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=yO(e,(0,Ij.useCallback)(e=>t?new AV(t(e)):new AV(e),[t]),(0,Ij.useMemo)(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning])),o=(0,Ij.useMemo)(()=>new rB(a,r,{layoutDelegate:n}),[a,r,n]);return YO(a,o),{collection:a,disabledKeys:i,selectionManager:o}}function YO(e,t){let n=(0,Ij.useRef)(null);(0,Ij.useEffect)(()=>{if(t.focusedKey!=null&&!e.getItem(t.focusedKey)&&n.current){let r=n.current.getItem(t.focusedKey),i=[...n.current.getKeys()].map(e=>{let t=n.current.getItem(e);return t?.type===`item`?t:null}).filter(e=>e!==null),a=[...e.getKeys()].map(t=>{let n=e.getItem(t);return n?.type===`item`?n:null}).filter(e=>e!==null),o=(i?.length??0)-(a?.length??0),s=Math.min(o>1?Math.max((r?.index??0)-o+1,0):r?.index??0,(a?.length??0)-1),c=null,l=!1;for(;s>=0;){if(!t.isDisabled(a[s].key)){c=a[s];break}s<a.length-1&&!l?s++:(l=!0,s>(r?.index??0)&&(s=r?.index??0),s--)}t.setFocusedKey(c?c.key:null)}n.current=e},[e,t])}function XO(e){let[t,n]=FC(e.selectedKey,e.defaultSelectedKey??null,e.onSelectionChange),r=(0,Lj.useMemo)(()=>t==null?[]:[t],[t]),{collection:i,disabledKeys:a,selectionManager:o}=JO({...e,selectionMode:`single`,disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:r,onSelectionChange:r=>{if(r===`all`)return;let i=r.values().next().value??null;i===t&&e.onSelectionChange&&e.onSelectionChange(i),n(i)}});return{collection:i,disabledKeys:a,selectionManager:o,selectedKey:t,setSelectedKey:n,selectedItem:t==null?null:i.getItem(t)}}function ZO(e){let t=XO({...e,onSelectionChange:e.onSelectionChange?t=>{var n;t!=null&&((n=e.onSelectionChange)==null||n.call(e,t))}:void 0,suppressTextValueWarning:!0,defaultSelectedKey:e.defaultSelectedKey??QO(e.collection,e.disabledKeys?new Set(e.disabledKeys):new Set)??void 0}),{selectionManager:n,collection:r,selectedKey:i}=t,a=(0,Rj.useRef)(i);return(0,Rj.useEffect)(()=>{let o=i;e.selectedKey==null&&(n.isEmpty||o==null||!r.getItem(o))&&(o=QO(r,t.disabledKeys),o!=null&&n.setSelectedKeys([o])),(o!=null&&n.focusedKey==null||!n.isFocused&&o!==a.current)&&n.setFocusedKey(o),a.current=o}),{...t,isDisabled:e.isDisabled||!1}}function QO(e,t){let n=null;if(e){var r,i,a,o;for(n=e.getFirstKey();n!=null&&(t.has(n)||(i=e.getItem(n))!=null&&(r=i.props)!=null&&r.isDisabled)&&n!==e.getLastKey();)n=e.getKeyAfter(n);n!=null&&(t.has(n)||(o=e.getItem(n))!=null&&(a=o.props)!=null&&a.isDisabled)&&n===e.getLastKey()&&(n=e.getFirstKey())}return n}function $O({props:e,tabsRef:t,collection:n}){let{orientation:r=`horizontal`}=e,i=ZO({...e,collection:n,children:void 0}),{focusProps:a,isFocused:o,isFocusVisible:s}=PE({within:!0}),c=(0,zj.useMemo)(()=>({orientation:r,isFocusWithin:o,isFocusVisible:s}),[r,o,s]),l=Pw({...e,defaultClassName:`react-aria-Tabs`,values:c}),u=VS(e,{global:!0});return zj.createElement(`div`,{...R(u,l,a),ref:t,slot:e.slot||void 0,"data-focused":o||void 0,"data-orientation":r,"data-focus-visible":s||void 0,"data-disabled":i.isDisabled||void 0},zj.createElement(Nw,{values:[[IV,e],[LV,i]]},l.children))}function ek({props:e,forwardedRef:t}){let n=(0,zj.useContext)(LV),{CollectionRoot:r}=(0,zj.useContext)(Iz),{orientation:i=`horizontal`,keyboardActivation:a=`automatic`}=Fw(IV),o=sC(t),{tabListProps:s}=qO({...e,orientation:i,keyboardActivation:a},n,o),c=Pw({...e,children:null,defaultClassName:`react-aria-TabList`,values:{orientation:i,state:n}}),l=VS(e,{global:!0});return delete l.id,zj.createElement(`div`,{...R(l,c,s),ref:o,"data-orientation":i||void 0},zj.createElement(r,{collection:n.collection,persistedKeys:eO(n.selectionManager.focusedKey)}))}var tk,nk,rk,ik,ak,ok,sk,ck,lk,uk,dk,fk,pk,mk,hk,gk,_k,vk,yk,bk,xk,Sk,Ck,wk,Tk,Ek,Dk,Ok,kk,Ak,jk,Mk,Nk,Pk,Fk,Ik,Lk,Rk,zk,Bk,Vk,Hk,Uk,Wk,Gk,Kk,qk,Jk,Yk,Xk,Zk,Qk,$k,eA,tA,nA,rA,iA,aA,oA,sA,cA,lA,uA,dA,fA,pA,mA,hA,gA,_A,vA,yA,bA,xA,SA,CA,wA,TA,EA,DA,OA,kA,B,AA,jA,MA,NA,PA,FA,IA,LA,RA,zA,BA,VA,HA,UA,WA,GA,KA,V,qA,JA,YA,XA,ZA,QA,$A,ej,tj,nj,rj,ij,aj,oj,sj,cj,lj,uj,dj,fj,pj,mj,hj,gj,_j,H,vj,yj,bj,xj,Sj,Cj,wj,Tj,Ej,Dj,Oj,kj,Aj,jj,Mj,Nj,Pj,Fj,Ij,Lj,Rj,zj,Bj,Vj,Hj,Uj,Wj,Gj,Kj,qj,Jj,Yj,Xj,Zj,Qj,$j,eM,tM,nM,rM,iM,aM,oM,sM,cM,lM,uM,dM,fM,pM,mM,hM,gM,_M,vM,yM,bM,xM,SM,CM,wM,TM,EM,DM,OM,kM,AM,jM,MM,NM,PM,FM,IM,LM,RM,zM,BM,VM,HM,UM,WM,U,GM,KM,qM,JM,YM,XM,ZM,QM,W,$M,eN,tN,nN,rN,iN,aN,oN,sN,cN,lN,uN,dN,fN,pN,mN,hN,gN,_N,vN,yN,bN,xN,SN,CN,wN,TN,EN,DN,ON,kN,AN,jN,MN,NN,PN,FN,IN,LN,RN,zN,BN,VN,HN,UN,WN,GN,KN,qN,JN,YN,XN,ZN,QN,$N,eP,tP,nP,rP,iP,aP,oP,sP,cP,lP,uP,dP,fP,pP,mP,hP,gP,_P,vP,yP,bP,xP,SP,CP,G,wP,TP,EP,DP,K,OP,kP,AP,jP,MP,NP,PP,FP,IP,LP,RP,zP,BP,VP,HP,UP,WP,GP,KP,qP,JP,YP,XP,ZP,QP,$P,eF,tF,nF,rF,iF,aF,oF,sF,cF,lF,uF,dF,fF,pF,mF,hF,gF,_F,vF,yF,bF,xF,SF,CF,wF,TF,EF,DF,OF,kF,AF,jF,MF,NF,PF,FF,IF,LF,RF,zF,BF,VF,HF,UF,WF,GF,KF,qF,JF,YF,XF,ZF,QF,$F,eI,tI,nI,rI,iI,aI,oI,sI,cI,lI,uI,dI,fI,pI,mI,hI,gI,_I,vI,yI,bI,xI,SI,CI,wI,TI,EI,DI,OI,kI,AI,jI,MI,NI,PI,FI,II,LI,RI,zI,BI,VI,HI,UI,WI,GI,KI,qI,JI,YI,XI,ZI,QI,$I,eL,tL,nL,rL,iL,aL,oL,sL,cL,lL,uL,dL,fL,pL,mL,hL,gL,_L,vL,yL,bL,xL,SL,CL,wL,TL,EL,DL,OL,kL,AL,jL,ML,NL,PL,FL,IL,LL,RL,zL,BL,VL,HL,UL,WL,GL,KL,qL,JL,YL,XL,ZL,QL,$L,eR,tR,nR,rR,iR,aR,oR,sR,cR,lR,uR,dR,fR,pR,mR,hR,gR,_R,vR,yR,bR,xR,SR,CR,wR,TR,ER,DR,OR,kR,AR,jR,MR,NR,PR,FR,IR,LR,RR,zR,BR,VR,HR,UR,WR,GR,KR,qR,JR,YR,XR,ZR,QR,$R,ez,tz,nz,rz,iz,az,oz,sz,cz,lz,uz,dz,fz,pz,mz,hz,gz,_z,vz,yz,bz,xz,Sz,Cz,wz,Tz,Ez,Dz,Oz,kz,Az,jz,Mz,Nz,Pz,Fz,Iz,Lz,Rz,zz,Bz,Vz,Hz,Uz,Wz,Gz,Kz,qz,Jz,Yz,Xz,Zz,Qz,$z,eB,tB,nB,rB,iB,aB,oB,sB,cB,lB,uB,dB,fB,pB,mB,hB,gB,_B,vB,yB,bB,xB,SB,CB,wB,TB,EB,DB,OB,kB,AB,jB,MB,NB,PB,FB,IB,LB,RB,zB,BB,VB,HB,UB,WB,GB,KB,qB,JB,YB,XB,ZB,QB,$B,eV,tV,nV,rV,iV,aV,oV,sV,cV,lV,uV,dV,fV,pV,mV,hV,gV,_V,vV,yV,bV,xV,SV,CV,wV,TV,EV,DV,OV,kV,AV,jV,MV,NV,PV,FV,IV,LV,RV,zV,BV,VV,HV,UV,WV,GV,KV,qV,JV,YV,XV,ZV,QV,$V,eH,tH,nH;function rH(){return(rH=t((()=>{le(),ce(),de(),Ne(),S(),tk=o(),nk=e(o(),1),pe(),rk=e(o(),1),ik=e(o(),1),ak=e(o(),1),o(),ok=e(o(),1),ct(),sk=e(o(),1),ck=e(o(),1),lk=e(o(),1),o(),uk=j(),iS(),dk=e(o(),1),fk=e(o(),1),pk=e(o(),1),mk=e(o(),1),hk=o(),gk=o(),_k=e(o(),1),vk=e(o(),1),o(),yk=o(),bk=o(),xk=e(o(),1),o(),Sk=o(),Ck=o(),o(),wk=o(),Tk=o(),o(),o(),o(),o(),Ek=o(),Dk=Pe(),Ok=o(),kk=e(o(),1),Ak=o(),jk=e(o(),1),Pe(),Mk=o(),Nk=o(),Pk=o(),Fk=e(o(),1),Ik=e(o(),1),Lk=e(o(),1),Rk=o(),zk=o(),Bk=o(),o(),o(),Vk=o(),Hk=e(o(),1),Uk=e(o(),1),Wk=o(),Gk=o(),Kk=o(),qk=o(),Jk=e(o(),1),o(),Yk=o(),o(),o(),Xk=o(),o(),Zk=e(o(),1),Qk=o(),o(),$k=o(),eA=o(),tA=o(),nA=e(o(),1),rA=e(o(),1),iA=e(Pe(),1),aA=e(o(),1),oA=e(o(),1),sA=o(),cA=e(o(),1),lA=e(Pe(),1),uA=o(),dA=o(),fA=o(),pA=e(o(),1),mA=e(o(),1),hA=e(o(),1),gA=e(o(),1),_A=e(o(),1),vA=e(o(),1),yA=e(o(),1),bA=o(),o(),xA=o(),SA=e(o(),1),CA=o(),wA=e(o(),1),TA=e(o(),1),o(),o(),EA=e(o(),1),DA=o(),OA=e(o(),1),kA=e(o(),1),B=e(o(),1),AA=e(o(),1),jA=e(o(),1),MA=e(o(),1),NA=o(),PA=e(o(),1),FA=e(o(),1),IA=e(o(),1),LA=e(o(),1),RA=e(o(),1),zA=o(),BA=e(o(),1),VA=e(o(),1),HA=e(o(),1),UA=e(o(),1),WA=o(),GA=e(o(),1),KA=Pe(),V=e(o(),1),qA=Ie(),JA=e(o(),1),YA=e(o(),1),o(),XA=e(o(),1),ZA=e(o(),1),QA=e(o(),1),$A=o(),ej=e(o(),1),tj=e(o(),1),nj=e(o(),1),rj=o(),ij=Pe(),aj=o(),oj=o(),sj=o(),cj=e(o(),1),o(),lj=e(o(),1),uj=o(),dj=o(),fj=o(),pj=o(),mj=o(),hj=o(),gj=o(),_j=o(),H=e(o(),1),vj=o(),yj=e(o(),1),bj=e(o(),1),xj=e(o(),1),o(),Sj=e(o(),1),Cj=e(o(),1),wj=e(o(),1),uh(),Tj=e(o(),1),Ej=e(o(),1),Dj=e(o(),1),Oj=e(o(),1),kj=e(o(),1),o(),o(),Aj=e(o(),1),jj=o(),Mj=e(o(),1),Nj=o(),Pj=e(o(),1),Fj=e(o(),1),Ij=o(),Lj=o(),Rj=o(),o(),zj=e(o(),1),o(),o(),o(),o(),o(),Bj=e(o(),1),o(),o(),i(),Vj=({...e},t)=>{let n=[e.class,e.className];return delete e.class,e.className=[`sbdocs`,`sbdocs-${t}`,...n].filter(Boolean).join(` `),e},Hj=({theme:e})=>({margin:`20px 0 8px`,padding:0,cursor:`text`,position:`relative`,color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:`none`},"& tt, & code":{fontSize:`inherit`}}),Uj=({theme:e})=>({lineHeight:1,margin:`0 2px`,padding:`3px 5px`,whiteSpace:`nowrap`,borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base===`light`?`1px solid hsl(0 0 0 / 0.05)`:`1px solid hsl(0 0 100 / 0.05)`,color:e.color.defaultText,backgroundColor:e.base===`light`?`hsl(0 0 0 / 0.01)`:`hsl(0 0 100 / 0.02)`}),Wj=({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:`antialiased`,MozOsxFontSmoothing:`grayscale`,WebkitTapHighlightColor:`rgba(0, 0, 0, 0)`,WebkitOverflowScrolling:`touch`}),Gj={margin:`16px 0`},Kj=N.div(Wj),qj=({href:e=``,...t})=>{let n=/^\//.test(e)?`./?path=${e}`:e,r=/^#.*/.test(e)?`_self`:`_top`;return rk.createElement(`a`,{href:n,target:r,...t})},Jj=N(qj)(({theme:e})=>({...Wj({theme:e}),fontSize:`inherit`,lineHeight:`24px`,color:e.color.secondary,textDecoration:`underline`,textDecorationThickness:`0.03125rem`,textUnderlineOffset:`0.11em`,"&.absent":{color:`#cc0000`},"&.anchor":{display:`block`,paddingLeft:30,marginLeft:-30,cursor:`pointer`,position:`absolute`,top:0,left:0,bottom:0,textDecoration:`none`},"&.anchor:hover, &.anchor:focus":{textDecoration:`underline`},"& code":{color:`inherit`,textDecoration:`underline`,textDecorationThickness:`0.03125rem`,paddingLeft:0,paddingRight:0,"&::before":{content:`"\\00a0"`,fontSize:`0.5em`},"&::after":{content:`"\\00a0"`,fontSize:`0.5em`}}})),Yj=N.blockquote(({theme:e})=>({...Wj({theme:e}),...Gj,borderLeft:`4px solid ${e.color.medium}`,padding:`0 15px`,color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}})),Xj=[],Zj=null,Qj=(0,ak.lazy)(async()=>{let{SyntaxHighlighter:e}=await a(async()=>{let{SyntaxHighlighter:e}=await import(`./syntaxhighlighter-QEQV7K2Y-h6bhL7V7.js`);return{SyntaxHighlighter:e}},__vite__mapDeps([5,1,2,3,6,7,8,9,10,0,4,11,12]),import.meta.url);return Xj.length>0&&(Xj.forEach(t=>{e.registerLanguage(...t)}),Xj=[]),Zj===null&&(Zj=e),{default:t=>ak.createElement(e,{...t})}}),$j=(0,ak.lazy)(async()=>{let[{SyntaxHighlighter:e},{formatter:t}]=await Promise.all([a(()=>import(`./syntaxhighlighter-QEQV7K2Y-h6bhL7V7.js`),__vite__mapDeps([5,1,2,3,6,7,8,9,10,0,4,11,12]),import.meta.url),a(()=>import(`./formatter-L2YTDE3Q-CRGuSxAF.js`),__vite__mapDeps([13,1,3,4]),import.meta.url)]);return Xj.length>0&&(Xj.forEach(t=>{e.registerLanguage(...t)}),Xj=[]),Zj===null&&(Zj=e),{default:n=>ak.createElement(e,{...n,formatter:t})}}),eM=e=>ak.createElement(ak.Suspense,{fallback:ak.createElement(`div`,null)},e.format===!1?ak.createElement(Qj,{...e}):ak.createElement($j,{...e})),eM.registerLanguage=(...e)=>{if(Zj!==null){Zj.registerLanguage(...e);return}Xj.push(e)},tM=e=>typeof e==`string`,nM=/[\n\r]/g,rM=N.code(({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:`antialiased`,MozOsxFontSmoothing:`grayscale`,display:`inline-block`,paddingLeft:2,paddingRight:2,verticalAlign:`baseline`,color:`inherit`,...Uj({theme:e})})),iM=N(eM)(({theme:e})=>({fontFamily:e.typography.fonts.mono,fontSize:`${e.typography.size.s2-1}px`,lineHeight:`19px`,margin:`25px 0 40px`,borderRadius:e.appBorderRadius,boxShadow:e.base===`light`?`rgba(0, 0, 0, 0.10) 0 1px 3px 0`:`rgba(0, 0, 0, 0.20) 0 2px 5px 0`,"pre.prismjs":{padding:20,background:`inherit`}})),aM=({className:e,children:t,...n})=>{let r=(e||``).match(/lang-(\S+)/),i=ik.Children.toArray(t);return i.filter(tM).some(e=>e.match(nM))?ik.createElement(iM,{bordered:!0,copyable:!0,language:r?.[1]??`text`,format:!1,...n},t):ik.createElement(rM,{...n,className:e},i)},oM=N.dl(({theme:e})=>({...Wj({theme:e}),...Gj,padding:0,"& dt":{fontSize:`14px`,fontWeight:`bold`,fontStyle:`italic`,padding:0,margin:`16px 0 4px`},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:`0 0 16px`,padding:`0 15px`},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}})),sM=N.div(Wj),cM=N.h1(({theme:e})=>({...Wj({theme:e}),...Hj({theme:e}),fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold})),lM=N.h2(({theme:e})=>({...Wj({theme:e}),...Hj({theme:e}),fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`})),uM=N.h3(({theme:e})=>({...Wj({theme:e}),...Hj({theme:e}),fontSize:`${e.typography.size.m1}px`})),dM=N.h4(({theme:e})=>({...Wj({theme:e}),...Hj({theme:e}),fontSize:`${e.typography.size.s3}px`})),fM=N.h5(({theme:e})=>({...Wj({theme:e}),...Hj({theme:e}),fontSize:`${e.typography.size.s2}px`})),pM=N.h6(({theme:e})=>({...Wj({theme:e}),...Hj({theme:e}),fontSize:`${e.typography.size.s2}px`,color:e.color.dark})),mM=N.hr(({theme:e})=>({border:`0 none`,borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0})),hM=N.img({maxWidth:`100%`}),gM=N.li(({theme:e})=>({...Wj({theme:e}),fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:`24px`,"& + li":{marginTop:`.25em`},"& ul, & ol":{marginTop:`.25em`,marginBottom:0},"& code":Uj({theme:e})})),_M={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},vM=N.ol(({theme:e})=>({...Wj({theme:e}),...Gj,..._M,listStyle:`decimal`})),yM=N.p(({theme:e})=>({...Wj({theme:e}),...Gj,fontSize:e.typography.size.s2,lineHeight:`24px`,color:e.color.defaultText,"& code":Uj({theme:e})})),bM=N.pre(({theme:e})=>({...Wj({theme:e}),...Gj,fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:`antialiased`,MozOsxFontSmoothing:`grayscale`,lineHeight:`18px`,padding:`11px 1rem`,whiteSpace:`pre-wrap`,color:`inherit`,borderRadius:3,margin:`1rem 0`,"&:not(.prismjs)":{background:`transparent`,border:`none`,borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:`pre-wrap`,color:`inherit`,fontSize:`13px`,lineHeight:`19px`,code:{color:`inherit`,fontSize:`inherit`}},"& code":{whiteSpace:`pre`},"& code, & tt":{border:`none`}})),xM=N.span(({theme:e})=>({...Wj({theme:e}),"&.frame":{display:`block`,overflow:`hidden`,"& > span":{border:`1px solid ${e.color.medium}`,display:`block`,float:`left`,overflow:`hidden`,margin:`13px 0 0`,padding:7,width:`auto`},"& span img":{display:`block`,float:`left`},"& span span":{clear:`both`,color:e.color.darkest,display:`block`,padding:`5px 0 0`}},"&.align-center":{display:`block`,overflow:`hidden`,clear:`both`,"& > span":{display:`block`,overflow:`hidden`,margin:`13px auto 0`,textAlign:`center`},"& span img":{margin:`0 auto`,textAlign:`center`}},"&.align-right":{display:`block`,overflow:`hidden`,clear:`both`,"& > span":{display:`block`,overflow:`hidden`,margin:`13px 0 0`,textAlign:`right`},"& span img":{margin:0,textAlign:`right`}},"&.float-left":{display:`block`,marginRight:13,overflow:`hidden`,float:`left`,"& span":{margin:`13px 0 0`}},"&.float-right":{display:`block`,marginLeft:13,overflow:`hidden`,float:`right`,"& > span":{display:`block`,overflow:`hidden`,margin:`13px auto 0`,textAlign:`right`}}})),SM=N.title(Uj),CM=N.table(({theme:e})=>({...Wj({theme:e}),...Gj,fontSize:e.typography.size.s2,lineHeight:`24px`,padding:0,borderCollapse:`collapse`,"& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base===`dark`?e.color.darker:e.color.lighter},"& tr th":{fontWeight:`bold`,color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:`6px 13px`},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:`6px 13px`},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}})),wM={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},TM=N.ul(({theme:e})=>({...Wj({theme:e}),...Gj,...wM,listStyle:`disc`})),EM={h1:e=>nk.createElement(cM,{...Vj(e,`h1`)}),h2:e=>nk.createElement(lM,{...Vj(e,`h2`)}),h3:e=>nk.createElement(uM,{...Vj(e,`h3`)}),h4:e=>nk.createElement(dM,{...Vj(e,`h4`)}),h5:e=>nk.createElement(fM,{...Vj(e,`h5`)}),h6:e=>nk.createElement(pM,{...Vj(e,`h6`)}),pre:e=>nk.createElement(bM,{...Vj(e,`pre`)}),a:e=>nk.createElement(Jj,{...Vj(e,`a`)}),hr:e=>nk.createElement(mM,{...Vj(e,`hr`)}),dl:e=>nk.createElement(oM,{...Vj(e,`dl`)}),blockquote:e=>nk.createElement(Yj,{...Vj(e,`blockquote`)}),table:e=>nk.createElement(CM,{...Vj(e,`table`)}),img:e=>nk.createElement(hM,{...Vj(e,`img`)}),div:e=>nk.createElement(sM,{...Vj(e,`div`)}),span:e=>nk.createElement(xM,{...Vj(e,`span`)}),li:e=>nk.createElement(gM,{...Vj(e,`li`)}),ul:e=>nk.createElement(TM,{...Vj(e,`ul`)}),ol:e=>nk.createElement(vM,{...Vj(e,`ol`)}),p:e=>nk.createElement(yM,{...Vj(e,`p`)}),code:e=>nk.createElement(aM,{...Vj(e,`code`)}),tt:e=>nk.createElement(SM,{...Vj(e,`tt`)}),resetwrapper:e=>nk.createElement(Kj,{...Vj(e,`resetwrapper`)})},N.div(({theme:e,compact:t})=>({display:`inline-flex`,alignItems:`center`,justifyContent:`center`,fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:`12px`,minWidth:20,borderRadius:20,padding:t?`4px 7px`:`4px 10px`}),{svg:{height:12,width:12,marginRight:4,marginTop:-2,path:{fill:`currentColor`}}},({theme:e,status:t})=>{switch(t){case`critical`:return{color:e.fgColor.critical,background:e.bgColor.critical,boxShadow:`inset 0 0 0 1px ${e.borderColor.critical}`};case`negative`:return{color:e.fgColor.negative,background:e.bgColor.negative,boxShadow:`inset 0 0 0 1px ${e.borderColor.negative}`};case`warning`:return{color:e.fgColor.warning,background:e.bgColor.warning,boxShadow:`inset 0 0 0 1px ${e.borderColor.warning}`};case`neutral`:return{color:e.fgColor.muted,background:e.base===`dark`?e.barBg:e.background.app,boxShadow:`inset 0 0 0 1px ${Ae(.8,e.textMutedColor)}`};case`positive`:return{color:e.fgColor.positive,background:e.bgColor.positive,boxShadow:`inset 0 0 0 1px ${e.borderColor.positive}`};case`active`:return{color:e.base===`light`?je(.1,e.color.secondary):e.color.secondary,background:e.background.hoverable,boxShadow:`inset 0 0 0 1px ${Ae(.9,e.color.secondary)}`};default:return{}}}),{deprecate:DM}=__STORYBOOK_MODULE_CLIENT_LOGGER__,OM=0,kM=e=>e.button===OM&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey,AM=(e,t)=>{kM(e)&&(e.preventDefault(),t(e))},jM=N.span(({withArrow:e})=>e?{"> svg:last-of-type":{height:`0.7em`,width:`0.7em`,marginRight:0,marginLeft:`0.25em`,bottom:`auto`,verticalAlign:`inherit`}}:{},({containsIcon:e})=>e?{svg:{height:`1em`,width:`1em`,verticalAlign:`middle`,position:`relative`,bottom:0,marginRight:0}}:{}),MM=N.a(({theme:e})=>({display:`inline-block`,transition:`all 150ms ease-out`,textDecoration:`none`,color:e.color.secondary,"&:hover, &:focus":{cursor:`pointer`,color:je(.07,e.color.secondary),"svg path:not([fill])":{fill:je(.07,e.color.secondary)}},"&:active":{color:je(.1,e.color.secondary),"svg path:not([fill])":{fill:je(.1,e.color.secondary)}},svg:{display:`inline-block`,height:`1em`,width:`1em`,verticalAlign:`text-top`,position:`relative`,bottom:`-0.125em`,marginRight:`0.4em`,"& path":{fill:e.color.secondary}}}),({theme:e,secondary:t,tertiary:n})=>{let r;return t&&(r=[e.textMutedColor,e.color.secondary,e.color.secondary]),n&&(r=[e.color.dark,e.color.secondary,e.color.secondary]),r?{color:r[0],"svg path:not([fill])":{fill:r[0]},"&:hover":{color:r[1],"svg path:not([fill])":{fill:r[1]}},"&:active":{color:r[2],"svg path:not([fill])":{fill:r[2]}}}:{}},({nochrome:e})=>e?{color:`inherit`,"&:hover, &:active":{color:`inherit`,textDecoration:`underline`}}:{},({theme:e,inverse:t})=>t?{color:e.color.lightest,":not([fill])":{fill:e.color.lightest},"&:hover":{color:e.color.lighter,"svg path:not([fill])":{fill:e.color.lighter}},"&:active":{color:e.color.light,"svg path:not([fill])":{fill:e.color.light}}}:{},({isButton:e,theme:t})=>e?{border:0,borderRadius:t.input.borderRadius,background:`none`,padding:0,fontSize:`inherit`,lineHeight:`inherit`,"&:focus-visible":{outline:`2px solid ${t.color.secondary}`,outlineOffset:2,zIndex:`1`}}:{}),NM=(0,ok.forwardRef)(({cancel:e=!0,children:t,onClick:n=void 0,withArrow:r=!1,containsIcon:i=!1,className:a=void 0,isButton:o=void 0,href:s,...c},l)=>(o!==void 0&&DM("Link: `isButton` is deprecated and will be removed in Storybook 11. Links without a `href` are automatically rendered as buttons."),ok.createElement(MM,{as:s?`a`:`button`,href:s,...c,ref:l,isButton:!s||o===!0,onClick:n&&e?e=>AM(e,n):n,className:a},ok.createElement(jM,{withArrow:r,containsIcon:i},t,r&&ok.createElement(et,null))))),NM.displayName=`Link`,N.div(({theme:e})=>({fontSize:`${e.typography.size.s2}px`,lineHeight:`1.6`,h1:{fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},h2:{fontSize:`${e.typography.size.m2}px`,borderBottom:`1px solid ${e.appBorderColor}`},h3:{fontSize:`${e.typography.size.m1}px`},h4:{fontSize:`${e.typography.size.s3}px`},h5:{fontSize:`${e.typography.size.s2}px`},h6:{fontSize:`${e.typography.size.s2}px`,color:e.color.dark},"pre:not(.prismjs)":{background:`transparent`,border:`none`,borderRadius:0,padding:0,margin:0},"pre pre, pre.prismjs":{padding:15,margin:0,whiteSpace:`pre-wrap`,color:`inherit`,fontSize:`13px`,lineHeight:`19px`},"pre pre code, pre.prismjs code":{color:`inherit`,fontSize:`inherit`},"pre code":{margin:0,padding:0,whiteSpace:`pre`,border:`none`,background:`transparent`},"pre code, pre tt":{backgroundColor:`transparent`,border:`none`},"body > *:first-of-type":{marginTop:`0 !important`},"body > *:last-child":{marginBottom:`0 !important`},a:{color:e.color.secondary,textDecoration:`underline`,textDecorationThickness:`0.03125rem`,textUnderlineOffset:`0.11em`,"& code":{color:`inherit`,textDecoration:`underline`,textDecorationThickness:`0.03125rem`,paddingLeft:0,paddingRight:0,"&::before":{content:`"\\00a0"`,fontSize:`0.5em`},"&::after":{content:`"\\00a0"`,fontSize:`0.5em`}}},"a.absent":{color:`#cc0000`},"a.anchor":{display:`block`,paddingLeft:30,marginLeft:-30,cursor:`pointer`,position:`absolute`,top:0,left:0,bottom:0,textDecoration:`none`},"&.anchor:hover, &.anchor:focus":{textDecoration:`underline`},"h1, h2, h3, h4, h5, h6":{margin:`20px 0 10px`,padding:0,cursor:`text`,position:`relative`,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:`none`},"& tt, & code":{fontSize:`inherit`}},"h1:first-of-type + h2":{marginTop:0,paddingTop:0},"p, blockquote, ul, ol, dl, li, table, pre":{margin:`15px 0`},hr:{border:`0 none`,borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},"body > h1:first-of-type, body > h2:first-of-type, body > h3:first-of-type, body > h4:first-of-type, body > h5:first-of-type, body > h6:first-of-type":{marginTop:0,paddingTop:0},"body > h1:first-of-type + h2":{marginTop:0,paddingTop:0},"a:first-of-type h1, a:first-of-type h2, a:first-of-type h3, a:first-of-type h4, a:first-of-type h5, a:first-of-type h6":{marginTop:0,paddingTop:0},"h1 p, h2 p, h3 p, h4 p, h5 p, h6 p":{marginTop:0},"li p.first":{display:`inline-block`},"ul, ol":{paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},dl:{padding:0},"dl dt":{fontSize:`14px`,fontWeight:`bold`,fontStyle:`italic`,margin:`0 0 15px`,padding:`0 15px`,"&:first-of-type":{padding:0},"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},blockquote:{borderLeft:`4px solid ${e.color.medium}`,padding:`0 15px`,color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},table:{padding:0,borderCollapse:`collapse`,"& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:`white`,margin:0,padding:0,"& th":{fontWeight:`bold`,border:`1px solid ${e.appBorderColor}`,textAlign:`left`,margin:0,padding:`6px 13px`},"& td":{border:`1px solid ${e.appBorderColor}`,textAlign:`left`,margin:0,padding:`6px 13px`},"&:nth-of-type(2n)":{backgroundColor:e.color.lighter},"& th :first-of-type, & td :first-of-type":{marginTop:0},"& th :last-child, & td :last-child":{marginBottom:0}}},img:{maxWidth:`100%`},"span.frame":{display:`block`,overflow:`hidden`,"& > span":{border:`1px solid ${e.color.medium}`,display:`block`,float:`left`,overflow:`hidden`,margin:`13px 0 0`,padding:7,width:`auto`},"& span img":{display:`block`,float:`left`},"& span span":{clear:`both`,color:e.color.darkest,display:`block`,padding:`5px 0 0`}},"span.align-center":{display:`block`,overflow:`hidden`,clear:`both`,"& > span":{display:`block`,overflow:`hidden`,margin:`13px auto 0`,textAlign:`center`},"& span img":{margin:`0 auto`,textAlign:`center`}},"span.align-right":{display:`block`,overflow:`hidden`,clear:`both`,"& > span":{display:`block`,overflow:`hidden`,margin:`13px 0 0`,textAlign:`right`},"& span img":{margin:0,textAlign:`right`}},"span.float-left":{display:`block`,marginRight:13,overflow:`hidden`,float:`left`,"& span":{margin:`13px 0 0`}},"span.float-right":{display:`block`,marginLeft:13,overflow:`hidden`,float:`right`,"& > span":{display:`block`,overflow:`hidden`,margin:`13px auto 0`,textAlign:`right`}},"code, tt":{margin:`0 2px`,padding:`0 5px`,whiteSpace:`nowrap`,border:`1px solid ${e.color.mediumlight}`,backgroundColor:e.color.lighter,borderRadius:3,color:e.base===`dark`?e.color.darkest:e.color.dark}})),{global:PM}=__STORYBOOK_MODULE_GLOBAL__,{document:FM,window:IM}=PM,{deprecate:LM}=__STORYBOOK_MODULE_CLIENT_LOGGER__,RM=Symbol.for(`react.lazy`),zM=lk.use,BM=pS(`Slot`),VM=Symbol(`radix.slottable`),hS(`Slottable`),HM=N.div(({theme:e})=>({fontFamily:e.typography.fonts.base,padding:`2px 6px`,lineHeight:`16px`,fontSize:10,fontWeight:e.typography.weight.bold,color:e.color.lightest,boxShadow:`0 0 5px 0 rgba(0, 0, 0, 0.3)`,borderRadius:4,whiteSpace:`nowrap`,pointerEvents:`none`,zIndex:-1,background:e.base===`light`?`rgba(60, 60, 60, 0.9)`:`rgba(0, 0, 0, 0.95)`})),UM=({note:e,...t})=>fk.createElement(HM,{...t},e),{deprecate:WM}=__STORYBOOK_MODULE_CLIENT_LOGGER__,U=typeof document<`u`?mk.useLayoutEffect:()=>{},GM={prefix:String(Math.round(Math.random()*1e10)),current:0},KM=_k.createContext(GM),qM=_k.createContext(!1),typeof window<`u`&&window.document&&window.document.createElement,JM=new WeakMap,YM=typeof _k.useId==`function`?SS:xS,XM=!!(typeof window<`u`&&window.document&&window.document.createElement),ZM=new Map,typeof FinalizationRegistry<`u`&&(QM=new FinalizationRegistry(e=>{ZM.delete(e)})),W=e=>e?.ownerDocument??document,$M=e=>e&&`window`in e&&e.window===e?e:W(e).defaultView||window,eN=!1,tN=(e=document)=>{var t;if(!NS())return e.activeElement;let n=e.activeElement;for(;n&&`shadowRoot`in n&&(t=n.shadowRoot)!=null&&t.activeElement;)n=n.shadowRoot.activeElement;return n},nN=class{get currentNode(){return this._currentNode}set currentNode(e){if(!PS(this.root,e))throw Error(`Cannot set currentNode to a node that is not contained by the root node.`);let t=[],n=e,r=e;for(this._currentNode=e;n&&n!==this.root;)if(n.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let e=n,i=this._doc.createTreeWalker(e,this.whatToShow,{acceptNode:this._acceptNode});t.push(i),i.currentNode=r,this._currentSetFor.add(i),n=r=e.host}else n=n.parentNode;let i=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});t.push(i),i.currentNode=r,this._currentSetFor.add(i),this._walkerStack=t}get doc(){return this._doc}firstChild(){let e=this.currentNode,t=this.nextNode();return PS(e,t)?(t&&(this.currentNode=t),t):(this.currentNode=e,null)}lastChild(){let e=this._walkerStack[0].lastChild();return e&&(this.currentNode=e),e}nextNode(){let e=this._walkerStack[0].nextNode();if(e){if(e.shadowRoot){var t;let n;if(typeof this.filter==`function`?n=this.filter(e):(t=this.filter)!=null&&t.acceptNode&&(n=this.filter.acceptNode(e)),n===NodeFilter.FILTER_ACCEPT)return this.currentNode=e,e;let r=this.nextNode();return r&&(this.currentNode=r),r}return e&&(this.currentNode=e),e}if(this._walkerStack.length>1){this._walkerStack.shift();let e=this.nextNode();return e&&(this.currentNode=e),e}return null}previousNode(){let e=this._walkerStack[0];if(e.currentNode===e.root){if(this._currentSetFor.has(e)){if(this._currentSetFor.delete(e),this._walkerStack.length>1){this._walkerStack.shift();let e=this.previousNode();return e&&(this.currentNode=e),e}return null}return null}let t=e.previousNode();if(t){if(t.shadowRoot){var n;let e;if(typeof this.filter==`function`?e=this.filter(t):(n=this.filter)!=null&&n.acceptNode&&(e=this.filter.acceptNode(t)),e===NodeFilter.FILTER_ACCEPT)return t&&(this.currentNode=t),t;let r=this.lastChild();return r&&(this.currentNode=r),r}return t&&(this.currentNode=t),t}if(this._walkerStack.length>1){this._walkerStack.shift();let e=this.previousNode();return e&&(this.currentNode=e),e}return null}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}constructor(e,t,n,r){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=e=>{if(e.nodeType===Node.ELEMENT_NODE){let n=e.shadowRoot;if(n){let e=this._doc.createTreeWalker(n,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(e),NodeFilter.FILTER_ACCEPT}var t;if(typeof this.filter==`function`)return this.filter(e);if((t=this.filter)!=null&&t.acceptNode)return this.filter.acceptNode(e);if(this.filter===null)return NodeFilter.FILTER_ACCEPT}return NodeFilter.FILTER_SKIP},this._doc=e,this.root=t,this.filter=r??null,this.whatToShow=n??NodeFilter.SHOW_ALL,this._currentNode=t,this._walkerStack.unshift(e.createTreeWalker(t,n,this._acceptNode));let i=t.shadowRoot;if(i){let e=this._doc.createTreeWalker(i,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(e)}}},rN=RS,iN=new Set([`id`]),aN=new Set([`aria-label`,`aria-labelledby`,`aria-describedby`,`aria-details`]),oN=new Set([`href`,`hrefLang`,`target`,`rel`,`download`,`ping`,`referrerPolicy`]),sN=new Set([`dir`,`lang`,`hidden`,`inert`,`translate`]),cN=new Set(`onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart`.split(`.`)),lN=/^(data-.*)$/,uN=null,dN=JS(function(){return qS(/^Mac/i)}),fN=JS(function(){return qS(/^iPhone/i)}),pN=JS(function(){return qS(/^iPad/i)||dN()&&navigator.maxTouchPoints>1}),mN=JS(function(){return fN()||pN()}),hN=JS(function(){return dN()||mN()}),gN=JS(function(){return KS(/AppleWebKit/i)&&!_N()}),_N=JS(function(){return KS(/Chrome/i)}),vN=JS(function(){return KS(/Android/i)}),yN=JS(function(){return KS(/Firefox/i)}),bN=(0,vk.createContext)({isNative:!0,open:$S,useHref:e=>e}),ZS.isOpening=!1,xN=new Map,SN=new Set,typeof document<`u`&&(document.readyState===`loading`?document.addEventListener(`DOMContentLoaded`,nC):nC()),CN=xk.useInsertionEffect??U,wN=new Set([`checkbox`,`radio`,`range`,`color`,`file`,`image`,`button`,`submit`,`reset`]),typeof document<`u`&&window.visualViewport,TN=0,EN=new Map,DN=`react-aria-clear-focus`,ON=`react-aria-focus`,kN=typeof Element<`u`&&`checkVisibility`in Element.prototype,AN=[`input:not([disabled]):not([type=hidden])`,`select:not([disabled])`,`textarea:not([disabled])`,`button:not([disabled])`,`a[href]`,`area[href]`,`summary`,`iframe`,`object`,`embed`,`audio[controls]`,`video[controls]`,`[contenteditable]:not([contenteditable^="false"])`,`permission`],jN=AN.join(`:not([hidden]),`)+`,[tabindex]:not([disabled]):not([hidden])`,AN.push(`[tabindex]:not([tabindex="-1"]):not([disabled])`),MN=AN.join(`:not([hidden]):not([tabindex="-1"]),`),NN=typeof document<`u`?kk.useInsertionEffect??kk.useLayoutEffect:()=>{},PN=!1,FN=`default`,IN=``,LN=new WeakMap,RN=jk.createContext({register:()=>{}}),RN.displayName=`PressResponderContext`,zN=new WeakMap,BN=class{continuePropagation(){YC(this,zN,!1)}get shouldStopPropagation(){return GC(this,zN)}constructor(e,t,n,r){qC(this,zN,{writable:!0,value:void 0}),YC(this,zN,!0);let i=(r?.target??n.currentTarget)?.getBoundingClientRect(),a,o=0,s,c=null;n.clientX!=null&&n.clientY!=null&&(s=n.clientX,c=n.clientY),i&&(s!=null&&c!=null?(a=s-i.left,o=c-i.top):(a=i.width/2,o=i.height/2)),this.type=e,this.pointerType=t,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey,this.x=a,this.y=o}},VN=Symbol(`linkClicked`),HN=`react-aria-pressable-style`,UN=`data-react-aria-pressable`,WN=new Set([`checkbox`,`radio`,`range`,`color`,`file`,`image`,`button`,`submit`,`reset`]),GN=null,KN=new Set,qN=new Map,JN=!1,YN=!1,XN={Tab:!0,Escape:!0},ZN=(e,t)=>{let n=$M(e),r=W(e);t&&r.removeEventListener(`DOMContentLoaded`,t),qN.has(n)&&(n.HTMLElement.prototype.focus=qN.get(n).focus,r.removeEventListener(`keydown`,ow,!0),r.removeEventListener(`keyup`,ow,!0),r.removeEventListener(`click`,cw,!0),n.removeEventListener(`focus`,lw,!0),n.removeEventListener(`blur`,uw,!1),typeof PointerEvent<`u`&&(r.removeEventListener(`pointerdown`,sw,!0),r.removeEventListener(`pointermove`,sw,!0),r.removeEventListener(`pointerup`,sw,!0)),qN.delete(n))},typeof document<`u`&&fw(),QN=new Set([`checkbox`,`radio`,`range`,`color`,`file`,`image`,`button`,`submit`,`reset`]),$N=Fk.createContext(null),eP=Fk.forwardRef(function(e,t){let{children:n,...r}=e,i=sC(t),a={...r,ref:i};return Fk.createElement($N.Provider,{value:a},n)}),tP=(0,Fk.forwardRef)(({children:e,...t},n)=>{n=sC(n);let{focusableProps:r}=Cw(t,n),i=Fk.Children.only(e);(0,Fk.useEffect)(()=>{},[n,t.isDisabled]);let a=i.props.ref;return Fk.cloneElement(i,{...R(r,i.props),ref:zS(a,n)})}),nP=Ik.forwardRef(({children:e,...t},n)=>{n=sC(n);let{pressProps:r}=ZC({...t,ref:n}),{focusableProps:i}=Cw(t,n),a=Ik.Children.only(e);(0,Ik.useEffect)(()=>{},[n,t.isDisabled]);let o=a.props.ref;return Ik.cloneElement(a,{...R(r,i,a.props),ref:zS(o,n)})}),rP=Lk.forwardRef(({children:e,...t},n)=>{let r=(0,Lk.useRef)(!1),i=(0,Lk.useContext)(RN);n=sC(n||i?.ref);let a=R(i||{},{...t,ref:n,register(){r.current=!0,i&&i.register()}});return fC(i,n),(0,Lk.useEffect)(()=>{r.current||=!0},[]),Lk.createElement(RN.Provider,{value:a},e)}),iP=!1,aP=0,oP=500,sP=Symbol(`default`),cP=(0,Uk.createContext)({placement:`bottom`}),(0,Uk.forwardRef)(function(e,t){[e,t]=Iw(e,t,cP);let n=e.placement,r={position:`absolute`,transform:n===`top`||n===`bottom`?`translateX(-50%)`:`translateY(-50%)`};n!=null&&(r[n]=`100%`);let i=Pw({...e,defaultClassName:`react-aria-OverlayArrow`,values:{placement:n}});i.style&&Object.keys(i.style).forEach(e=>i.style[e]===void 0&&delete i.style[e]);let a=VS(e);return Uk.createElement(`div`,{...a,...i,style:{...r,...i.style},ref:t,"data-placement":n})}),lP={top:`top`,bottom:`top`,left:`left`,right:`left`},uP={top:`bottom`,bottom:`top`,left:`right`,right:`left`},dP={top:`left`,left:`top`},fP={top:`height`,left:`width`},pP={width:`totalWidth`,height:`totalHeight`},mP={},hP=typeof document<`u`?window.visualViewport:null,gP=new WeakMap,_P=new Set([`Arab`,`Syrc`,`Samr`,`Mand`,`Thaa`,`Mend`,`Nkoo`,`Adlm`,`Rohg`,`Hebr`]),vP=new Set([`ae`,`ar`,`arc`,`bcc`,`bqi`,`ckb`,`dv`,`fa`,`glk`,`he`,`ku`,`mzn`,`nqo`,`pnb`,`ps`,`sd`,`ug`,`ur`,`yi`]),yP=Symbol.for(`react-aria.i18n.locale`),bP=rT(),xP=new Set,SP=Jk.createContext(null),CP=function(e,t){return CP=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},CP(e,t)},G=function(){return G=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},G.apply(this,arguments)},wP=function(){return JSON.stringify(arguments)},TP=(function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(e){return this.cache[e]},e.prototype.set=function(e,t){this.cache[e]=t},e})(),EP={create:function(){return new TP}},DP={variadic:gT,monadic:_T},(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]=`EXPECT_ARGUMENT_CLOSING_BRACE`,e[e.EMPTY_ARGUMENT=2]=`EMPTY_ARGUMENT`,e[e.MALFORMED_ARGUMENT=3]=`MALFORMED_ARGUMENT`,e[e.EXPECT_ARGUMENT_TYPE=4]=`EXPECT_ARGUMENT_TYPE`,e[e.INVALID_ARGUMENT_TYPE=5]=`INVALID_ARGUMENT_TYPE`,e[e.EXPECT_ARGUMENT_STYLE=6]=`EXPECT_ARGUMENT_STYLE`,e[e.INVALID_NUMBER_SKELETON=7]=`INVALID_NUMBER_SKELETON`,e[e.INVALID_DATE_TIME_SKELETON=8]=`INVALID_DATE_TIME_SKELETON`,e[e.EXPECT_NUMBER_SKELETON=9]=`EXPECT_NUMBER_SKELETON`,e[e.EXPECT_DATE_TIME_SKELETON=10]=`EXPECT_DATE_TIME_SKELETON`,e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]=`UNCLOSED_QUOTE_IN_ARGUMENT_STYLE`,e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]=`EXPECT_SELECT_ARGUMENT_OPTIONS`,e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]=`EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE`,e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]=`INVALID_PLURAL_ARGUMENT_OFFSET_VALUE`,e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]=`EXPECT_SELECT_ARGUMENT_SELECTOR`,e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]=`EXPECT_PLURAL_ARGUMENT_SELECTOR`,e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]=`EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT`,e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]=`EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT`,e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]=`INVALID_PLURAL_ARGUMENT_SELECTOR`,e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]=`DUPLICATE_PLURAL_ARGUMENT_SELECTOR`,e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]=`DUPLICATE_SELECT_ARGUMENT_SELECTOR`,e[e.MISSING_OTHER_CLAUSE=22]=`MISSING_OTHER_CLAUSE`,e[e.INVALID_TAG=23]=`INVALID_TAG`,e[e.INVALID_TAG_NAME=25]=`INVALID_TAG_NAME`,e[e.UNMATCHED_CLOSING_TAG=26]=`UNMATCHED_CLOSING_TAG`,e[e.UNCLOSED_TAG=27]=`UNCLOSED_TAG`})(K||={}),(function(e){e[e.literal=0]=`literal`,e[e.argument=1]=`argument`,e[e.number=2]=`number`,e[e.date=3]=`date`,e[e.time=4]=`time`,e[e.select=5]=`select`,e[e.plural=6]=`plural`,e[e.pound=7]=`pound`,e[e.tag=8]=`tag`})(OP||={}),(function(e){e[e.number=0]=`number`,e[e.dateTime=1]=`dateTime`})(kP||={}),AP=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,jP=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,MP=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,NP=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,PP=/^(@+)?(\+|#+)?[rs]?$/g,FP=/(\*)(0+)|(#+)(0+)|(0+)/g,IP=/^(0+)$/,LP={"001":[`H`,`h`],419:[`h`,`H`,`hB`,`hb`],AC:[`H`,`h`,`hb`,`hB`],AD:[`H`,`hB`],AE:[`h`,`hB`,`hb`,`H`],AF:[`H`,`hb`,`hB`,`h`],AG:[`h`,`hb`,`H`,`hB`],AI:[`H`,`h`,`hb`,`hB`],AL:[`h`,`H`,`hB`],AM:[`H`,`hB`],AO:[`H`,`hB`],AR:[`h`,`H`,`hB`,`hb`],AS:[`h`,`H`],AT:[`H`,`hB`],AU:[`h`,`hb`,`H`,`hB`],AW:[`H`,`hB`],AX:[`H`],AZ:[`H`,`hB`,`h`],BA:[`H`,`hB`,`h`],BB:[`h`,`hb`,`H`,`hB`],BD:[`h`,`hB`,`H`],BE:[`H`,`hB`],BF:[`H`,`hB`],BG:[`H`,`hB`,`h`],BH:[`h`,`hB`,`hb`,`H`],BI:[`H`,`h`],BJ:[`H`,`hB`],BL:[`H`,`hB`],BM:[`h`,`hb`,`H`,`hB`],BN:[`hb`,`hB`,`h`,`H`],BO:[`h`,`H`,`hB`,`hb`],BQ:[`H`],BR:[`H`,`hB`],BS:[`h`,`hb`,`H`,`hB`],BT:[`h`,`H`],BW:[`H`,`h`,`hb`,`hB`],BY:[`H`,`h`],BZ:[`H`,`h`,`hb`,`hB`],CA:[`h`,`hb`,`H`,`hB`],CC:[`H`,`h`,`hb`,`hB`],CD:[`hB`,`H`],CF:[`H`,`h`,`hB`],CG:[`H`,`hB`],CH:[`H`,`hB`,`h`],CI:[`H`,`hB`],CK:[`H`,`h`,`hb`,`hB`],CL:[`h`,`H`,`hB`,`hb`],CM:[`H`,`h`,`hB`],CN:[`H`,`hB`,`hb`,`h`],CO:[`h`,`H`,`hB`,`hb`],CP:[`H`],CR:[`h`,`H`,`hB`,`hb`],CU:[`h`,`H`,`hB`,`hb`],CV:[`H`,`hB`],CW:[`H`,`hB`],CX:[`H`,`h`,`hb`,`hB`],CY:[`h`,`H`,`hb`,`hB`],CZ:[`H`],DE:[`H`,`hB`],DG:[`H`,`h`,`hb`,`hB`],DJ:[`h`,`H`],DK:[`H`],DM:[`h`,`hb`,`H`,`hB`],DO:[`h`,`H`,`hB`,`hb`],DZ:[`h`,`hB`,`hb`,`H`],EA:[`H`,`h`,`hB`,`hb`],EC:[`h`,`H`,`hB`,`hb`],EE:[`H`,`hB`],EG:[`h`,`hB`,`hb`,`H`],EH:[`h`,`hB`,`hb`,`H`],ER:[`h`,`H`],ES:[`H`,`hB`,`h`,`hb`],ET:[`hB`,`hb`,`h`,`H`],FI:[`H`],FJ:[`h`,`hb`,`H`,`hB`],FK:[`H`,`h`,`hb`,`hB`],FM:[`h`,`hb`,`H`,`hB`],FO:[`H`,`h`],FR:[`H`,`hB`],GA:[`H`,`hB`],GB:[`H`,`h`,`hb`,`hB`],GD:[`h`,`hb`,`H`,`hB`],GE:[`H`,`hB`,`h`],GF:[`H`,`hB`],GG:[`H`,`h`,`hb`,`hB`],GH:[`h`,`H`],GI:[`H`,`h`,`hb`,`hB`],GL:[`H`,`h`],GM:[`h`,`hb`,`H`,`hB`],GN:[`H`,`hB`],GP:[`H`,`hB`],GQ:[`H`,`hB`,`h`,`hb`],GR:[`h`,`H`,`hb`,`hB`],GT:[`h`,`H`,`hB`,`hb`],GU:[`h`,`hb`,`H`,`hB`],GW:[`H`,`hB`],GY:[`h`,`hb`,`H`,`hB`],HK:[`h`,`hB`,`hb`,`H`],HN:[`h`,`H`,`hB`,`hb`],HR:[`H`,`hB`],HU:[`H`,`h`],IC:[`H`,`h`,`hB`,`hb`],ID:[`H`],IE:[`H`,`h`,`hb`,`hB`],IL:[`H`,`hB`],IM:[`H`,`h`,`hb`,`hB`],IN:[`h`,`H`],IO:[`H`,`h`,`hb`,`hB`],IQ:[`h`,`hB`,`hb`,`H`],IR:[`hB`,`H`],IS:[`H`],IT:[`H`,`hB`],JE:[`H`,`h`,`hb`,`hB`],JM:[`h`,`hb`,`H`,`hB`],JO:[`h`,`hB`,`hb`,`H`],JP:[`H`,`K`,`h`],KE:[`hB`,`hb`,`H`,`h`],KG:[`H`,`h`,`hB`,`hb`],KH:[`hB`,`h`,`H`,`hb`],KI:[`h`,`hb`,`H`,`hB`],KM:[`H`,`h`,`hB`,`hb`],KN:[`h`,`hb`,`H`,`hB`],KP:[`h`,`H`,`hB`,`hb`],KR:[`h`,`H`,`hB`,`hb`],KW:[`h`,`hB`,`hb`,`H`],KY:[`h`,`hb`,`H`,`hB`],KZ:[`H`,`hB`],LA:[`H`,`hb`,`hB`,`h`],LB:[`h`,`hB`,`hb`,`H`],LC:[`h`,`hb`,`H`,`hB`],LI:[`H`,`hB`,`h`],LK:[`H`,`h`,`hB`,`hb`],LR:[`h`,`hb`,`H`,`hB`],LS:[`h`,`H`],LT:[`H`,`h`,`hb`,`hB`],LU:[`H`,`h`,`hB`],LV:[`H`,`hB`,`hb`,`h`],LY:[`h`,`hB`,`hb`,`H`],MA:[`H`,`h`,`hB`,`hb`],MC:[`H`,`hB`],MD:[`H`,`hB`],ME:[`H`,`hB`,`h`],MF:[`H`,`hB`],MG:[`H`,`h`],MH:[`h`,`hb`,`H`,`hB`],MK:[`H`,`h`,`hb`,`hB`],ML:[`H`],MM:[`hB`,`hb`,`H`,`h`],MN:[`H`,`h`,`hb`,`hB`],MO:[`h`,`hB`,`hb`,`H`],MP:[`h`,`hb`,`H`,`hB`],MQ:[`H`,`hB`],MR:[`h`,`hB`,`hb`,`H`],MS:[`H`,`h`,`hb`,`hB`],MT:[`H`,`h`],MU:[`H`,`h`],MV:[`H`,`h`],MW:[`h`,`hb`,`H`,`hB`],MX:[`h`,`H`,`hB`,`hb`],MY:[`hb`,`hB`,`h`,`H`],MZ:[`H`,`hB`],NA:[`h`,`H`,`hB`,`hb`],NC:[`H`,`hB`],NE:[`H`],NF:[`H`,`h`,`hb`,`hB`],NG:[`H`,`h`,`hb`,`hB`],NI:[`h`,`H`,`hB`,`hb`],NL:[`H`,`hB`],NO:[`H`,`h`],NP:[`H`,`h`,`hB`],NR:[`H`,`h`,`hb`,`hB`],NU:[`H`,`h`,`hb`,`hB`],NZ:[`h`,`hb`,`H`,`hB`],OM:[`h`,`hB`,`hb`,`H`],PA:[`h`,`H`,`hB`,`hb`],PE:[`h`,`H`,`hB`,`hb`],PF:[`H`,`h`,`hB`],PG:[`h`,`H`],PH:[`h`,`hB`,`hb`,`H`],PK:[`h`,`hB`,`H`],PL:[`H`,`h`],PM:[`H`,`hB`],PN:[`H`,`h`,`hb`,`hB`],PR:[`h`,`H`,`hB`,`hb`],PS:[`h`,`hB`,`hb`,`H`],PT:[`H`,`hB`],PW:[`h`,`H`],PY:[`h`,`H`,`hB`,`hb`],QA:[`h`,`hB`,`hb`,`H`],RE:[`H`,`hB`],RO:[`H`,`hB`],RS:[`H`,`hB`,`h`],RU:[`H`],RW:[`H`,`h`],SA:[`h`,`hB`,`hb`,`H`],SB:[`h`,`hb`,`H`,`hB`],SC:[`H`,`h`,`hB`],SD:[`h`,`hB`,`hb`,`H`],SE:[`H`],SG:[`h`,`hb`,`H`,`hB`],SH:[`H`,`h`,`hb`,`hB`],SI:[`H`,`hB`],SJ:[`H`],SK:[`H`],SL:[`h`,`hb`,`H`,`hB`],SM:[`H`,`h`,`hB`],SN:[`H`,`h`,`hB`],SO:[`h`,`H`],SR:[`H`,`hB`],SS:[`h`,`hb`,`H`,`hB`],ST:[`H`,`hB`],SV:[`h`,`H`,`hB`,`hb`],SX:[`H`,`h`,`hb`,`hB`],SY:[`h`,`hB`,`hb`,`H`],SZ:[`h`,`hb`,`H`,`hB`],TA:[`H`,`h`,`hb`,`hB`],TC:[`h`,`hb`,`H`,`hB`],TD:[`h`,`H`,`hB`],TF:[`H`,`h`,`hB`],TG:[`H`,`hB`],TH:[`H`,`h`],TJ:[`H`,`h`],TL:[`H`,`hB`,`hb`,`h`],TM:[`H`,`h`],TN:[`h`,`hB`,`hb`,`H`],TO:[`h`,`H`],TR:[`H`,`hB`],TT:[`h`,`hb`,`H`,`hB`],TW:[`hB`,`hb`,`h`,`H`],TZ:[`hB`,`hb`,`H`,`h`],UA:[`H`,`hB`,`h`],UG:[`hB`,`hb`,`H`,`h`],UM:[`h`,`hb`,`H`,`hB`],US:[`h`,`hb`,`H`,`hB`],UY:[`h`,`H`,`hB`,`hb`],UZ:[`H`,`hB`,`h`],VA:[`H`,`h`,`hB`],VC:[`h`,`hb`,`H`,`hB`],VE:[`h`,`H`,`hB`,`hb`],VG:[`h`,`hb`,`H`,`hB`],VI:[`h`,`hb`,`H`,`hB`],VN:[`H`,`h`],VU:[`h`,`H`],WF:[`H`,`hB`],WS:[`h`,`H`],XK:[`H`,`hB`,`h`],YE:[`h`,`hB`,`hb`,`H`],YT:[`H`,`hB`],ZA:[`H`,`h`,`hb`,`hB`],ZM:[`h`,`hb`,`H`,`hB`],ZW:[`H`,`h`],"af-ZA":[`H`,`h`,`hB`,`hb`],"ar-001":[`h`,`hB`,`hb`,`H`],"ca-ES":[`H`,`h`,`hB`],"en-001":[`h`,`hb`,`H`,`hB`],"en-HK":[`h`,`hb`,`H`,`hB`],"en-IL":[`H`,`h`,`hb`,`hB`],"en-MY":[`h`,`hb`,`H`,`hB`],"es-BR":[`H`,`h`,`hB`,`hb`],"es-ES":[`H`,`h`,`hB`,`hb`],"es-GQ":[`H`,`h`,`hB`,`hb`],"fr-CA":[`H`,`h`,`hB`],"gl-ES":[`H`,`h`,`hB`],"gu-IN":[`hB`,`hb`,`h`,`H`],"hi-IN":[`hB`,`h`,`H`],"it-CH":[`H`,`h`,`hB`],"it-IT":[`H`,`h`,`hB`],"kn-IN":[`hB`,`h`,`H`],"ml-IN":[`hB`,`h`,`H`],"mr-IN":[`hB`,`hb`,`h`,`H`],"pa-IN":[`hB`,`hb`,`h`,`H`],"ta-IN":[`hB`,`h`,`hb`,`H`],"te-IN":[`hB`,`h`,`H`],"zu-ZA":[`H`,`hB`,`hb`,`h`]},RP=RegExp(`^${AP.source}*`),zP=RegExp(`${AP.source}*\$`),BP=!!String.prototype.startsWith&&`_a`.startsWith(`a`,1),VP=!!String.fromCodePoint,HP=!!Object.fromEntries,UP=!!String.prototype.codePointAt,WP=!!String.prototype.trimStart,GP=!!String.prototype.trimEnd,KP=Number.isSafeInteger?Number.isSafeInteger:function(e){return typeof e==`number`&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},qP=!0;try{JP=zT(`([^\\p{White_Space}\\p{Pattern_Syntax}]*)`,`yu`),qP=JP.exec(`a`)?.[0]===`a`}catch{qP=!1}YP=BP?(function(e,t,n){return e.startsWith(t,n)}):(function(e,t,n){return e.slice(n,n+t.length)===t}),XP=VP?String.fromCodePoint:(function(){for(var e=[...arguments],t=``,n=e.length,r=0,i;n>r;){if(i=e[r++],i>1114111)throw RangeError(i+` is not a valid code point`);t+=i<65536?String.fromCharCode(i):String.fromCharCode(((i-=65536)>>10)+55296,i%1024+56320)}return t}),ZP=HP?Object.fromEntries:(function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],a=i[0];t[a]=i[1]}return t}),QP=UP?(function(e,t){return e.codePointAt(t)}):(function(e,t){var n=e.length;if(!(t<0||t>=n)){var r=e.charCodeAt(t),i;return r<55296||r>56319||t+1===n||(i=e.charCodeAt(t+1))<56320||i>57343?r:(r-55296<<10)+(i-56320)+65536}}),$P=WP?(function(e){return e.trimStart()}):(function(e){return e.replace(RP,``)}),eF=GP?(function(e){return e.trimEnd()}):(function(e){return e.replace(zP,``)}),qP?(nF=zT(`([^\\p{White_Space}\\p{Pattern_Syntax}]*)`,`yu`),tF=function(e,t){return nF.lastIndex=t,nF.exec(e)[1]??``}):tF=function(e,t){for(var n=[];;){var r=QP(e,t);if(r===void 0||UT(r)||WT(r))break;n.push(r),t+=r>=65536?2:1}return XP.apply(void 0,n)},rF=(function(){function e(e,t){t===void 0&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error(`parser can only be used once`);return this.parseMessage(0,``,!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i=this.char();if(i===123){var a=this.parseArgument(e,n);if(a.err)return a;r.push(a.val)}else{if(i===125&&e>0)break;if(i===35&&(t===`plural`||t===`selectordinal`)){var o=this.clonePosition();this.bump(),r.push({type:OP.pound,location:z(o,this.clonePosition())})}else if(i===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(K.UNMATCHED_CLOSING_TAG,z(this.clonePosition(),this.clonePosition()))}else if(i===60&&!this.ignoreTag&&BT(this.peek()||0)){var a=this.parseTag(e,t);if(a.err)return a;r.push(a.val)}else{var a=this.parseLiteral(e,t);if(a.err)return a;r.push(a.val)}}}return{val:r,err:null}},e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf(`/>`))return{val:{type:OP.literal,value:`<${r}/>`,location:z(n,this.clonePosition())},err:null};if(this.bumpIf(`>`)){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var a=i.val,o=this.clonePosition();if(this.bumpIf(`</`)){if(this.isEOF()||!BT(this.char()))return this.error(K.INVALID_TAG,z(o,this.clonePosition()));var s=this.clonePosition();return r===this.parseTagName()?(this.bumpSpace(),this.bumpIf(`>`)?{val:{type:OP.tag,value:r,children:a,location:z(n,this.clonePosition())},err:null}:this.error(K.INVALID_TAG,z(o,this.clonePosition()))):this.error(K.UNMATCHED_CLOSING_TAG,z(s,this.clonePosition()))}return this.error(K.UNCLOSED_TAG,z(n,this.clonePosition()))}return this.error(K.INVALID_TAG,z(n,this.clonePosition()))},e.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&HT(this.char());)this.bump();return this.message.slice(e,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r=``;;){var i=this.tryParseQuote(t);if(i){r+=i;continue}var a=this.tryParseUnquoted(e,t);if(a){r+=a;continue}var o=this.tryParseLeftAngleBracket();if(o){r+=o;continue}break}var s=z(n,this.clonePosition());return{val:{type:OP.literal,value:r,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!VT(this.peek()||0))?(this.bump(),`<`):null},e.prototype.tryParseQuote=function(e){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),`'`;case 123:case 60:case 62:case 125:break;case 35:if(e===`plural`||e===`selectordinal`)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39){if(this.peek()===39)t.push(39),this.bump();else{this.bump();break}}else t.push(n);this.bump()}return XP.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(t===`plural`||t===`selectordinal`)||n===125&&e>0?null:(this.bump(),XP(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(K.EXPECT_ARGUMENT_CLOSING_BRACE,z(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(K.EMPTY_ARGUMENT,z(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(K.MALFORMED_ARGUMENT,z(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(K.EXPECT_ARGUMENT_CLOSING_BRACE,z(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:OP.argument,value:r,location:z(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(K.EXPECT_ARGUMENT_CLOSING_BRACE,z(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(K.MALFORMED_ARGUMENT,z(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=tF(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:z(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,r){var i=this.clonePosition(),a=this.parseIdentifierIfPossible().value,o=this.clonePosition();switch(a){case``:return this.error(K.EXPECT_ARGUMENT_TYPE,z(i,o));case`number`:case`date`:case`time`:this.bumpSpace();var s=null;if(this.bumpIf(`,`)){this.bumpSpace();var c=this.clonePosition(),l=this.parseSimpleArgStyleIfPossible();if(l.err)return l;var u=eF(l.val);if(u.length===0)return this.error(K.EXPECT_ARGUMENT_STYLE,z(this.clonePosition(),this.clonePosition()));s={style:u,styleLocation:z(c,this.clonePosition())}}var d=this.tryParseArgumentClose(r);if(d.err)return d;var f=z(r,this.clonePosition());if(s&&YP(s?.style,`::`,0)){var p=$P(s.style.slice(2));if(a===`number`){var l=this.parseNumberSkeletonFromString(p,s.styleLocation);return l.err?l:{val:{type:OP.number,value:n,location:f,style:l.val},err:null}}if(p.length===0)return this.error(K.EXPECT_DATE_TIME_SKELETON,f);var m=p;this.locale&&(m=LT(p,this.locale));var u={type:kP.dateTime,pattern:m,location:s.styleLocation,parsedOptions:this.shouldParseSkeletons?kT(m):{}};return{val:{type:a===`date`?OP.date:OP.time,value:n,location:f,style:u},err:null}}return{val:{type:a===`number`?OP.number:a===`date`?OP.date:OP.time,value:n,location:f,style:s?.style??null},err:null};case`plural`:case`selectordinal`:case`select`:var h=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(`,`))return this.error(K.EXPECT_SELECT_ARGUMENT_OPTIONS,z(h,G({},h)));this.bumpSpace();var g=this.parseIdentifierIfPossible(),_=0;if(a!==`select`&&g.value===`offset`){if(!this.bumpIf(`:`))return this.error(K.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,z(this.clonePosition(),this.clonePosition()));this.bumpSpace();var l=this.tryParseDecimalInteger(K.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,K.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(l.err)return l;this.bumpSpace(),g=this.parseIdentifierIfPossible(),_=l.val}var v=this.tryParsePluralOrSelectOptions(e,a,t,g);if(v.err)return v;var d=this.tryParseArgumentClose(r);if(d.err)return d;var y=z(r,this.clonePosition());return a===`select`?{val:{type:OP.select,value:n,options:ZP(v.val),location:y},err:null}:{val:{type:OP.plural,value:n,options:ZP(v.val),offset:_,pluralType:a===`plural`?`cardinal`:`ordinal`,location:y},err:null};default:return this.error(K.INVALID_ARGUMENT_TYPE,z(i,o))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||this.char()!==125?this.error(K.EXPECT_ARGUMENT_CLOSING_BRACE,z(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil(`'`))return this.error(K.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,z(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(e>0)--e;else return{val:this.message.slice(t.offset,this.offset()),err:null};break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=AT(e)}catch{return this.error(K.INVALID_NUMBER_SKELETON,t)}return{val:{type:kP.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?IT(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i,a=!1,o=[],s=new Set,c=r.value,l=r.location;;){if(c.length===0){var u=this.clonePosition();if(t!==`select`&&this.bumpIf(`=`)){var d=this.tryParseDecimalInteger(K.EXPECT_PLURAL_ARGUMENT_SELECTOR,K.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;l=z(u,this.clonePosition()),c=this.message.slice(u.offset,this.offset())}else break}if(s.has(c))return this.error(t===`select`?K.DUPLICATE_SELECT_ARGUMENT_SELECTOR:K.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);c===`other`&&(a=!0),this.bumpSpace();var f=this.clonePosition();if(!this.bumpIf(`{`))return this.error(t===`select`?K.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:K.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,z(this.clonePosition(),this.clonePosition()));var p=this.parseMessage(e+1,t,n);if(p.err)return p;var m=this.tryParseArgumentClose(f);if(m.err)return m;o.push([c,{value:p.val,location:z(f,this.clonePosition())}]),s.add(c),this.bumpSpace(),i=this.parseIdentifierIfPossible(),c=i.value,l=i.location}return o.length===0?this.error(t===`select`?K.EXPECT_SELECT_ARGUMENT_SELECTOR:K.EXPECT_PLURAL_ARGUMENT_SELECTOR,z(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(K.MISSING_OTHER_CLAUSE,z(this.clonePosition(),this.clonePosition())):{val:o,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf(`+`)||this.bumpIf(`-`)&&(n=-1);for(var i=!1,a=0;!this.isEOF();){var o=this.char();if(o>=48&&o<=57)i=!0,a=a*10+(o-48),this.bump();else break}var s=z(r,this.clonePosition());return i?(a*=n,KP(a)?{val:a,err:null}:this.error(t,s)):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error(`out of bound`);var t=QP(this.message,e);if(t===void 0)throw Error(`Offset ${e} is at invalid UTF-16 code unit boundary`);return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();e===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(YP(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),n=this.message.indexOf(e,t);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error(`targetOffset ${e} must be greater than or equal to the current offset ${this.offset()}`);for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error(`targetOffset ${e} is at invalid UTF-16 code unit boundary`);if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&UT(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset();return this.message.charCodeAt(t+(e>=65536?2:1))??null},e})(),(function(e){e.MISSING_VALUE=`MISSING_VALUE`,e.INVALID_VALUE=`INVALID_VALUE`,e.MISSING_INTL_API=`MISSING_INTL_API`})(iF||={}),aF=(function(e){sT(t,e);function t(t,n,r){var i=e.call(this,t)||this;return i.code=n,i.originalMessage=r,i}return t.prototype.toString=function(){return`[formatjs Error: ${this.code}] ${this.message}`},t})(Error),oF=(function(e){sT(t,e);function t(t,n,r,i){return e.call(this,`Invalid values for "${t}": "${n}". Options are "${Object.keys(r).join(`", "`)}"`,iF.INVALID_VALUE,i)||this}return t})(aF),sF=(function(e){sT(t,e);function t(t,n,r){return e.call(this,`Value for "${t}" must be of type ${n}`,iF.INVALID_VALUE,r)||this}return t})(aF),cF=(function(e){sT(t,e);function t(t,n){return e.call(this,`The intl string context variable "${t}" was not provided to the string "${n}"`,iF.MISSING_VALUE,n)||this}return t})(aF),(function(e){e[e.literal=0]=`literal`,e[e.object=1]=`object`})(lF||={}),(function(){function e(t,n,r,i){n===void 0&&(n=e.defaultLocale);var a=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=a.formatToParts(e);if(t.length===1)return t[0].value;var n=t.reduce(function(e,t){return!e.length||t.type!==lF.literal||typeof e[e.length-1]!=`string`?e.push(t.value):e[e.length-1]+=t.value,e},[]);return n.length<=1?n[0]||``:n},this.formatToParts=function(e){return YT(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){return{locale:a.resolvedLocale?.toString()||Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),typeof t==`string`){if(this.message=t,!e.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var o=i||{};o.formatters;var s=cT(o,[`formatters`]);this.ast=e.__parse(t,G(G({},s),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw TypeError(`A message must be provided as a String or AST.`);this.formats=ZT(e.formats,r),this.formatters=i&&i.formatters||$T(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||=new Intl.NumberFormat().resolvedOptions().locale,e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){if(!(typeof Intl.Locale>`u`)){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale(typeof e==`string`?e:e[0])}},e.__parse=KT,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:`currency`},percent:{style:`percent`}},date:{short:{month:`numeric`,day:`numeric`,year:`2-digit`},medium:{month:`short`,day:`numeric`,year:`numeric`},long:{month:`long`,day:`numeric`,year:`numeric`},full:{weekday:`long`,month:`long`,day:`numeric`,year:`numeric`}},time:{short:{hour:`numeric`,minute:`numeric`},medium:{hour:`numeric`,minute:`numeric`,second:`numeric`},long:{hour:`numeric`,minute:`numeric`,second:`numeric`,timeZoneName:`short`},full:{hour:`numeric`,minute:`numeric`,second:`numeric`,timeZoneName:`short`}}},e})(),uF=Symbol.for(`react-aria.i18n.locale`),dF=Symbol.for(`react-aria.i18n.strings`),pF=class e{getStringForLocale(e,t){let n=this.getStringsForLocale(t)[e];if(!n)throw Error(`Could not find intl message ${e} in ${t} locale`);return n}getStringsForLocale(e){let t=this.strings[e];return t||(t=eE(e,this.strings,this.defaultLocale),this.strings[e]=t),t}static getGlobalDictionaryForPackage(t){if(typeof window>`u`)return null;let n=window[uF];if(fF===void 0){let t=window[dF];if(!t)return null;fF={};for(let r in t)fF[r]=new e({[n]:t[r]},n)}let r=fF?.[t];if(!r)throw Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return r}constructor(e,t=`en-US`){this.strings=Object.fromEntries(Object.entries(e).filter(([,e])=>e)),this.defaultLocale=t}},mF=new Map,hF=new Map,gF=class{format(e,t){let n=this.strings.getStringForLocale(e,this.locale);return typeof n==`function`?n(t,this):n}plural(e,t,n=`cardinal`){let r=t[`=`+e];if(r)return typeof r==`function`?r():r;let i=this.locale+`:`+n,a=mF.get(i);return a||(a=new Intl.PluralRules(this.locale,{type:n}),mF.set(i,a)),r=t[a.select(e)]||t.other,typeof r==`function`?r():r}number(e){let t=hF.get(this.locale);return t||(t=new Intl.NumberFormat(this.locale),hF.set(this.locale,t)),t.format(e)}select(e,t){let n=e[t]||e.other;return typeof n==`function`?n():n}constructor(e,t){this.locale=e,this.strings=t}},_F=new WeakMap,vF=1080,yF=24*vF,bF=29,xF=12*vF+793,bF*yF+xF,SF=new Map,CF=!1;try{CF=new Intl.NumberFormat(`de-DE`,{signDisplay:`exceptZero`}).resolvedOptions().signDisplay===`exceptZero`}catch{}wF=!1;try{wF=new Intl.NumberFormat(`de-DE`,{style:`unit`,unit:`degree`}).resolvedOptions().style===`unit`}catch{}if(TF={degree:{narrow:{default:`°`,"ja-JP":` 度`,"zh-TW":`度`,"sl-SI":` °`}}},EF=class{format(e){let t=``;if(t=!CF&&this.options.signDisplay!=null?oE(this.numberFormatter,this.options.signDisplay,e):this.numberFormatter.format(e),this.options.style===`unit`&&!wF){let{unit:e,unitDisplay:n=`short`,locale:r}=this.resolvedOptions();if(!e)return t;let i=TF[e]?.[n];t+=i[r]||i.default}return t}formatToParts(e){return this.numberFormatter.formatToParts(e)}formatRange(e,t){if(typeof this.numberFormatter.formatRange==`function`)return this.numberFormatter.formatRange(e,t);if(t<e)throw RangeError(`End date must be >= start date`);return`${this.format(e)} \u2013 ${this.format(t)}`}formatRangeToParts(e,t){if(typeof this.numberFormatter.formatRangeToParts==`function`)return this.numberFormatter.formatRangeToParts(e,t);if(t<e)throw RangeError(`End date must be >= start date`);let n=this.numberFormatter.formatToParts(e),r=this.numberFormatter.formatToParts(t);return[...n.map(e=>({...e,source:`startRange`})),{type:`literal`,value:` – `,source:`shared`},...r.map(e=>({...e,source:`endRange`}))]}resolvedOptions(){let e=this.numberFormatter.resolvedOptions();return!CF&&this.options.signDisplay!=null&&(e={...e,signDisplay:this.options.signDisplay}),!wF&&this.options.style===`unit`&&(e={...e,style:`unit`,unit:this.options.unit,unitDisplay:this.options.unitDisplay}),e}constructor(e,t={}){this.numberFormatter=aE(e,t),this.options=t}},DF=new Map,OF=typeof document<`u`?window.visualViewport:null,kF=Zk.createContext(null),AF=`react-aria-focus-scope-restore`,jF=null,MF=class e{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,n){let r=this.fastMap.get(t??null);if(!r)return;let i=new NF({scopeRef:e});r.addChild(i),i.parent=r,this.fastMap.set(e,i),n&&(i.nodeToRestore=n)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(e===null)return;let t=this.fastMap.get(e);if(!t)return;let n=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&yE(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let r=t.children;n&&(n.removeChild(t),r.size>0&&r.forEach(e=>n&&n.addChild(e))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(e.scopeRef!=null&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){let t=new e;for(let e of this.traverse())t.addTreeNode(e.scopeRef,e.parent?.scopeRef??null,e.nodeToRestore);return t}constructor(){this.fastMap=new Map,this.root=new NF({scopeRef:null}),this.fastMap.set(null,this.root)}},NF=class{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}},PF=new MF,FF=[],IF=typeof document<`u`&&window.visualViewport,LF=0,zF=(0,nA.createContext)({}),BF=rA.createContext(null),VF={},VF={dismiss:`تجاهل`},HF={},HF={dismiss:`Отхвърляне`},UF={},UF={dismiss:`Odstranit`},WF={},WF={dismiss:`Luk`},GF={},GF={dismiss:`Schließen`},KF={},KF={dismiss:`Απόρριψη`},qF={},qF={dismiss:`Dismiss`},JF={},JF={dismiss:`Descartar`},YF={},YF={dismiss:`Lõpeta`},XF={},XF={dismiss:`Hylkää`},ZF={},ZF={dismiss:`Rejeter`},QF={},QF={dismiss:`התעלם`},$F={},$F={dismiss:`Odbaci`},eI={},eI={dismiss:`Elutasítás`},tI={},tI={dismiss:`Ignora`},nI={},nI={dismiss:`閉じる`},rI={},rI={dismiss:`무시`},iI={},iI={dismiss:`Atmesti`},aI={},aI={dismiss:`Nerādīt`},oI={},oI={dismiss:`Lukk`},sI={},sI={dismiss:`Negeren`},cI={},cI={dismiss:`Zignoruj`},lI={},lI={dismiss:`Descartar`},uI={},uI={dismiss:`Dispensar`},dI={},dI={dismiss:`Revocare`},fI={},fI={dismiss:`Пропустить`},pI={},pI={dismiss:`Zrušiť`},mI={},mI={dismiss:`Opusti`},hI={},hI={dismiss:`Odbaci`},gI={},gI={dismiss:`Avvisa`},_I={},_I={dismiss:`Kapat`},vI={},vI={dismiss:`Скасувати`},yI={},yI={dismiss:`取消`},bI={},bI={dismiss:`關閉`},xI={},xI={"ar-AE":VF,"bg-BG":HF,"cs-CZ":UF,"da-DK":WF,"de-DE":GF,"el-GR":KF,"en-US":qF,"es-ES":JF,"et-EE":YF,"fi-FI":XF,"fr-FR":ZF,"he-IL":QF,"hr-HR":$F,"hu-HU":eI,"it-IT":tI,"ja-JP":nI,"ko-KR":rI,"lt-LT":iI,"lv-LV":aI,"nb-NO":oI,"nl-NL":sI,"pl-PL":cI,"pt-BR":lI,"pt-PT":uI,"ro-RO":dI,"ru-RU":fI,"sk-SK":pI,"sl-SI":mI,"sr-SP":hI,"sv-SE":gI,"tr-TR":_I,"uk-UA":vI,"zh-CN":yI,"zh-TW":bI},SI={border:0,clip:`rect(0 0 0 0)`,clipPath:`inset(50%)`,height:`1px`,margin:`-1px`,overflow:`hidden`,padding:0,position:`absolute`,width:`1px`,whiteSpace:`nowrap`},CI=typeof HTMLElement<`u`&&`inert`in HTMLElement.prototype,wI=new WeakMap,TI=[],EI=cA.createContext(null),DI=1500,OI=500,kI={},AI=0,jI=!1,MI=null,NI=null,PI=(0,pA.createContext)(null),FI=(0,pA.createContext)(null),II=(0,pA.forwardRef)(function({UNSTABLE_portalContainer:e,...t},n){[t,n]=Iw(t,n,FI);let r=(0,pA.useContext)(PI),i=fD(t),a=t.isOpen!=null||t.defaultOpen!=null||!r?i:r,o=DC(n,a.isOpen)||t.isExiting||!1;return!a.isOpen&&!o?null:pA.createElement(eD,{portalContainer:e},pA.createElement(mD,{...t,tooltipRef:n,isExiting:o}))}),LI=C(Me(),1),RI=(0,LI.default)(1e3)(e=>e===`left-end`?`left bottom`:e===`right-end`?`right bottom`:e===`left-start`?`left top`:e===`right-start`?`right top`:e.replace(`-`,` `)),N.div({width:500,height:500,paddingTop:100,overflowY:`scroll`,background:`#eee`,position:`relative`}),zI=(0,mA.forwardRef)((e,t)=>mA.createElement(`button`,{...e,ref:t,style:{width:120,height:50,margin:10}})),zI.displayName=`Trigger`,BI=({triggerOnFocusOnly:e=!1,placement:t=`top`,offset:n=8,tooltip:r,children:i,defaultVisible:a,startOpen:o,delayShow:s=400,delayHide:c=200,visible:l,onVisibleChange:u,...d})=>{let f=RI(t),p=pk.Children.only(i);o!==void 0&&WM("The `startOpen` prop is deprecated. Please use `defaultVisible` instead.");let[m,h]=(0,pk.useState)(a??o??!1),g=(0,pk.useCallback)(e=>{h(e),u?.(e)},[u]);return pk.createElement(pD,{delay:s,closeDelay:c,isOpen:l??m,onOpenChange:g,trigger:e?`focus`:void 0,...d},pk.createElement(tP,null,pk.cloneElement(p,{"aria-describedby":null})),pk.createElement(II,{"data-testid":`tooltip`,placement:f,offset:n,onOpenChange:g,style:{outline:`none`},...d},r))},VI=({children:e,disableAllTooltips:t,shortcut:n,tooltip:r})=>{let i=(0,dk.useMemo)(()=>{let e=document?.body?.getAttribute(`data-shortcuts-enabled`)!==`false`;if(!(!r&&(!n||!e)))return[r,n&&e&&`[${rb(n)}]`].filter(Boolean).join(` `)},[n,r]);return i?dk.createElement(BI,{placement:`top`,tooltip:dk.createElement(UM,{note:i}),visible:!t&&void 0},e):dk.createElement(dk.Fragment,null,e)},VI.displayName=`InteractiveTooltipWrapper`,HI=(0,ck.forwardRef)(({as:e=`button`,asChild:t=!1,animation:n=`none`,size:r=`small`,appearance:i=`default`,variant:a=`outline`,padding:o=`medium`,disabled:s=!1,readOnly:c=!1,active:l,onClick:u,ariaLabel:d,ariaDescription:f=void 0,tooltip:p=void 0,shortcut:m=void 0,disableAllTooltips:h=!1,...g},_)=>{let v=t?BM:e,y;!c&&(d===void 0||d===``)&&(y=`ariaLabel`,LM(`The 'ariaLabel' prop on 'Button' will become mandatory in Storybook 11. Buttons with text content should set 'ariaLabel={false}' to indicate that they are accessible as-is. Buttons without text content must provide a meaningful 'ariaLabel' for accessibility. The button content is: ${g.children}.`)),l!==void 0&&(y=`active`,LM("The `active` prop on `Button` is deprecated and will be removed in Storybook 11. Use specialized components like `ToggleButton` or `Select` instead."));let{ariaDescriptionAttrs:b,AriaDescription:x}=hD(f),S=(0,ck.useMemo)(()=>m?ib(m):void 0,[m]),[C,w]=(0,ck.useState)(!1);return(0,ck.useEffect)(()=>{let e=setTimeout(()=>{C&&w(!1)},1e3);return()=>clearTimeout(e)},[C]),ck.createElement(ck.Fragment,null,ck.createElement(VI,{disableAllTooltips:h,shortcut:m,tooltip:p||(d===!1?void 0:d)},ck.createElement(UI,{"data-deprecated":y,as:v,ref:_,appearance:i,variant:a,size:r,padding:o,$disabled:s||c,"aria-disabled":s||c?`true`:void 0,readOnly:c,active:l,animating:C,animation:n,onClick:s||c?void 0:e=>{u&&u(e),n!==`none`&&w(!0)},"aria-label":!c&&d!==!1?d:void 0,"aria-keyshortcuts":c?void 0:S,...c?{}:b,...g})),ck.createElement(x,null))}),HI.displayName=`Button`,UI=N(`button`,{shouldForwardProp:e=>Ce(e)})(({theme:e,appearance:t,variant:n,size:r,$disabled:i,readOnly:a,active:o,animating:s,animation:c=`none`,padding:l})=>{let u=t===`agentic`?{foreground:e.fgColor.agentic,background:e.bgColor.agentic,outline:e.borderColor.agentic}:{foreground:e.color.secondary,background:e.button.background,outline:e.button.border};return{border:0,cursor:a?`inherit`:i?`not-allowed`:`pointer`,display:`inline-flex`,gap:`6px`,alignItems:`center`,justifyContent:`center`,overflow:`hidden`,padding:l===`none`?0:l===`small`&&r===`small`?`0 7px`:l===`small`&&r===`medium`?`0 9px`:r===`small`?`0 10px`:r===`medium`?`0 12px`:0,height:r===`small`?`28px`:`32px`,position:`relative`,textAlign:`center`,textDecoration:`none`,transitionProperty:`background, box-shadow`,transitionDuration:`150ms`,transitionTimingFunction:`ease-out`,verticalAlign:`top`,whiteSpace:`nowrap`,userSelect:`none`,opacity:i&&!a?.5:1,margin:0,fontSize:`${e.typography.size.s1}px`,fontWeight:e.typography.weight.bold,lineHeight:`1`,background:n===`solid`?e.base===`light`?u.foreground:je(.18,u.foreground):n===`outline`?u.background:n===`ghost`&&o?Ae(.93,t===`agentic`?e.bgColor.agentic:e.barSelectedColor):`transparent`,color:n===`solid`?e.color.lightest:n===`outline`?t===`agentic`?e.fgColor.agentic:e.input.color:n===`ghost`&&o?e.base===`light`?je(.1,u.foreground):u.foreground:n===`ghost`?e.textMutedColor:e.input.color,boxShadow:n===`outline`?`${u.outline} 0 0 0 1px inset`:`none`,borderRadius:e.input.borderRadius,flexShrink:0,...!a&&{"&:hover":{color:n===`ghost`?u.foreground:void 0,background:(()=>{let t=u.foreground;return n===`solid`&&(t=e.base===`light`?me(.1,u.foreground):je(.3,u.foreground)),n===`outline`&&(t=u.background),n===`ghost`?Ae(.86,u.foreground):e.base===`light`?je(.02,t):me(.03,t)})()},"&:active":{color:n===`ghost`?u.foreground:void 0,background:(()=>{let r=u.foreground;return n===`solid`&&(r=u.foreground),n===`outline`&&(r=u.background),n===`ghost`?t===`agentic`?e.bgColor.agentic:e.background.hoverable:e.base===`light`?je(.02,r):me(.03,r)})()},"&:focus-visible":{outline:`2px solid ${ue(u.foreground,1)}`,outlineOffset:2,zIndex:`1`},".sb-bar &:focus-visible, .sb-list &:focus-visible":{outlineOffset:0}},"> svg":{flex:`0 0 auto`,animation:s&&c!==`none`?`${e.animation[c]} 1000ms ease-out`:``}}}),WI=(0,ck.forwardRef)((e,t)=>(LM("`IconButton` is deprecated and will be removed in Storybook 11, use `Button` instead."),ck.createElement(HI,{ref:t,...e,"data-deprecated":`IconButton`}))),WI.displayName=`IconButton`,GI=(0,gA.forwardRef)(({pressed:e,...t},n)=>gA.createElement(KI,{role:`switch`,"aria-checked":e,ref:n,pressed:e,...t})),GI.displayName=`ToggleButton`,KI=N(HI)(({theme:e,variant:t=`outline`,pressed:n})=>({...n?{...t===`solid`?{background:e.base===`lighten`?je(.1,e.color.secondary):je(.2,e.color.secondary)}:{},...t===`outline`?{background:Ae(.94,e.barSelectedColor),boxShadow:`${e.barSelectedColor} 0 0 0 1px inset`,color:e.barSelectedColor}:{},...t===`ghost`?{background:Ae(.93,e.barSelectedColor),color:e.base===`light`?je(.1,e.color.secondary):e.color.secondary}:{}}:{}})),qI=N.li(({active:e,theme:t})=>({display:`flex`,alignItems:`center`,justifyContent:`space-between`,flex:`0 0 auto`,overflow:`hidden`,minHeight:32,gap:4,fontSize:t.typography.size.s1,fontWeight:e?t.typography.weight.bold:t.typography.weight.regular,color:e?`var(--listbox-item-active-color)`:t.color.defaultText,"--listbox-item-active-color":t.base===`light`?je(.1,t.color.secondary):t.color.secondary,"--listbox-item-muted-color":e?`var(--listbox-item-active-color)`:t.color.mediumdark,'&[aria-disabled="true"]':{opacity:.5,cursor:`not-allowed`},'&[aria-selected="true"]':{color:`var(--listbox-item-active-color)`,fontWeight:t.typography.weight.bold,"--listbox-item-muted-color":`var(--listbox-item-active-color)`},"&:not(:hover, :has(:focus-visible)) :not(input) + input":{position:`absolute`,opacity:0},'&[role="option"]':{cursor:`pointer`,borderRadius:t.input.borderRadius,outlineOffset:-2,padding:`0 9px`,gap:8,"&:hover":{background:Ae(.86,t.color.secondary)},"&:focus-visible":{outline:`2px solid ${t.color.secondary}`}},"@supports (interpolate-size: allow-keywords)":{interpolateSize:`allow-keywords`,transitionBehavior:`allow-discrete`,transitionDuration:`var(--transition-duration, 0.2s)`,transitionProperty:`opacity, block-size, content-visibility`},"@media (prefers-reduced-motion: reduce)":{transition:`none`}}),({transitionStatus:e})=>{switch(e){case`preEnter`:case`exiting`:case`exited`:return{opacity:0,blockSize:0,contentVisibility:`hidden`};default:return{opacity:1,blockSize:`auto`,contentVisibility:`visible`}}}),JI=N(qI)(({targetId:e})=>({gap:0,[`& [data-target-id="${e}"]`]:{inlineSize:`auto`,marginLeft:4,opacity:1,"@supports (interpolate-size: allow-keywords)":{interpolateSize:`allow-keywords`,transitionProperty:`inline-size, margin-left, opacity, padding-inline`,transitionDuration:`var(--transition-duration, 0.2s)`}},[`&:not(:hover, :has(:focus-visible)) [data-target-id="${e}"]`]:{inlineSize:0,marginLeft:0,opacity:0,paddingInline:0}})),YI=N(HI)(({size:e})=>({gap:e===`small`?6:8,"&:focus-visible":{outlineOffset:-2}})),XI=N(GI)({"&:focus-visible":{outlineOffset:-2}}),ZI=(0,sk.forwardRef)(function({padding:e=`small`,size:t=`medium`,variant:n=`ghost`,...r},i){return sk.createElement(YI,{...r,variant:n,padding:e,size:t,ref:i})}),QI=(0,sk.forwardRef)(function({padding:e=`small`,size:t=`medium`,variant:n=`ghost`,...r},i){return sk.createElement(XI,{...r,variant:n,padding:e,size:t,ref:i})}),$I=N(ZI)(({theme:e})=>({height:`auto`,minHeight:32,flex:`0 1 100%`,textAlign:`start`,justifyContent:`space-between`,fontWeight:`inherit`,color:`inherit`,"&:hover":{color:`inherit`},"& input:enabled:focus-visible":{outline:`none`},"&:has(input:focus-visible)":{outline:`2px solid ${e.color.secondary}`,outlineOffset:-2}})),eL=e=>sk.createElement($I,{as:`a`,...e}),tL=N.div(({theme:e})=>({display:`flex`,flexDirection:`column`,justifyContent:`center`,flexGrow:1,minWidth:0,padding:`8px 0`,lineHeight:`16px`,"& > *":{margin:0,whiteSpace:`normal`},"& > span":{overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`},"& small":{fontSize:`inherit`,color:e.textMutedColor},"&:first-child":{paddingLeft:8},"&:last-child":{paddingRight:8},'button > &:first-child, [role="option"] > &:first-child':{paddingLeft:0},'button > &:last-child, [role="option"] > &:last-child':{paddingRight:0}})),nL=N.div({display:`flex`,alignItems:`center`,justifyContent:`center`,flex:`0 0 14px`,width:14,height:14,color:`var(--listbox-item-muted-color)`}),rL=Object.assign(N.ul(({theme:e,onClick:t})=>({listStyle:`none`,margin:0,padding:4,cursor:t?`pointer`:`default`,"& + *":{borderTop:`1px solid ${e.appBorderColor}`}})),{Item:qI,HoverItem:JI,Button:ZI,Toggle:QI,Action:$I,Link:eL,Text:tL,Icon:nL}),iL=N.div(({collapsed:e=!1})=>({blockSize:e?0:`auto`,contentVisibility:e?`hidden`:`visible`,transform:e?`translateY(-10px)`:`translateY(0)`,opacity:+!e,overflow:`hidden`,"@supports (interpolate-size: allow-keywords)":{interpolateSize:`allow-keywords`,transition:`all var(--transition-duration, 0.2s)`,transitionBehavior:`allow-discrete`},"@media (prefers-reduced-motion: reduce)":{transition:`none`}})),Object.assign(function({children:e,summary:t,collapsed:n,disabled:r,initialCollapsed:i,storageKey:a,state:o,...s}){let c=oL({collapsed:n,disabled:r,initialCollapsed:i,storageKey:a}),l=o||c;return _A.createElement(_A.Fragment,null,typeof t==`function`?t(l):t,_A.createElement(iL,{...s,id:l.contentId,collapsed:l.isCollapsed,"aria-hidden":l.isCollapsed},typeof e==`function`?e(l):e))},{Content:iL}),aL=(e,t)=>{let[n,r]=(0,_A.useState)(()=>{try{return JSON.parse(sessionStorage.getItem(e))??t}catch{return t}});return(0,_A.useEffect)(()=>{try{e&&sessionStorage.setItem(e,JSON.stringify(n))}catch{}},[e,n]),[n,r]},oL=({collapsed:e,disabled:t,initialCollapsed:n=e,storageKey:r})=>{let[i,a]=aL(r&&`useCollapsible:${r}`,!!n);(0,_A.useEffect)(()=>{e!==void 0&&a(e)},[e,a]);let o=(0,_A.useCallback)(e=>{e?.stopPropagation(),t||a(e=>!e)},[t,a]),s=DS();return{contentId:s,isCollapsed:i,isDisabled:!!t,setCollapsed:a,toggleCollapsed:o,toggleProps:{disabled:t,onClick:o,"aria-controls":s,"aria-expanded":!i}}},sL=(e,t)=>t&&t in e?e[t]:void 0,cL=(e,t)=>sL(e.fgColor,t)??sL(e.color,t),lL=(e,t,n)=>sL(e.borderColor,t)??sL(e.color,n),uL=(e,t)=>sL(e.bgColor,t)??e.background.content,dL=(e,t)=>{let n=uL(e,t);return`linear-gradient(${n}, ${n}), ${e.background.content}`},fL=Ee({"0%":{opacity:0},"5%":{opacity:1},"25%":{opacity:1},"30%":{opacity:0}}),pL=Ee({"0%":{transform:`rotate(0deg)`},"10%":{transform:`rotate(20deg)`},"40%":{transform:`rotate(170deg)`},"50%":{transform:`rotate(180deg)`},"60%":{transform:`rotate(190deg)`},"90%":{transform:`rotate(340deg)`},"100%":{transform:`rotate(360deg)`}}),mL=Ee({to:{backgroundPositionX:`36%`}}),hL=N.div(({color:e,theme:t})=>({color:cL(t,e),borderRadius:t.appBorderRadius,background:dL(t,e),position:`relative`})),gL=N.div(({animation:e=`none`,color:t,outlineColor:n=t,theme:r})=>({position:`relative`,width:`100%`,padding:1,overflow:`hidden`,backgroundColor:uL(r,t),borderRadius:r.appBorderRadius+1,boxShadow:`inset 0 0 0 1px ${e===`none`&&lL(r,t,n)||r.appBorderColor}, var(--card-box-shadow, transparent 0 0)`,transition:`box-shadow 1s`,"@supports (interpolate-size: allow-keywords)":{interpolateSize:`allow-keywords`,transition:`all var(--transition-duration, 0.2s), box-shadow 1s`,transitionBehavior:`allow-discrete`},"@media (prefers-reduced-motion: reduce)":{transition:`box-shadow 1s`},"&:before":{content:`""`,display:e===`none`?`none`:`block`,position:`absolute`,left:0,top:0,width:`100%`,height:`100%`,opacity:1,...e===`rainbow`&&{animation:`${mL} 10s infinite linear, ${fL} 60s infinite linear`,backgroundImage:`linear-gradient(45deg,rgb(234, 0, 0),rgb(255, 157, 0),rgb(255, 208, 0),rgb(0, 172, 0),rgb(0, 166, 255),rgb(181, 0, 181), rgb(234, 0, 0),rgb(255, 157, 0),rgb(255, 208, 0),rgb(0, 172, 0),rgb(0, 166, 255),rgb(181, 0, 181))`,backgroundSize:`1000%`,backgroundPositionX:`100%`},...e===`spin`&&{left:`50%`,top:`50%`,marginLeft:`calc(max(100vw, 100vh) * -0.5)`,marginTop:`calc(max(100vw, 100vh) * -0.5)`,height:`max(100vw, 100vh)`,width:`max(100vw, 100vh)`,animation:`${pL} 5s linear infinite`,backgroundImage:n===`negative`?`conic-gradient(transparent 90deg, #FC521F 150deg, #FFAE00 210deg, transparent 270deg)`:n===`agentic`?r.base===`dark`?`conic-gradient(transparent 90deg, rgba(114,58,166,0.65) 150deg, rgba(157,98,214,0.6) 210deg, transparent 270deg)`:`conic-gradient(transparent 90deg, #b6a7ff 150deg, #d8aeff 210deg, transparent 270deg)`:`conic-gradient(transparent 90deg, #029CFD 150deg, #37D5D3 210deg, transparent 270deg)`}}})),Object.assign((0,vA.forwardRef)(function({outlineAnimation:e=`none`,color:t,outlineColor:n,outlineAttrs:r={},...i},a){return vA.createElement(gL,{animation:e,color:t,outlineColor:n,ref:a,...r},vA.createElement(hL,{color:t,...i}))}),{Content:hL,Outline:gL}),{deprecate:_L}=__STORYBOOK_MODULE_CLIENT_LOGGER__,vL=[`preEnter`,`entering`,`entered`,`preExit`,`exiting`,`exited`,`unmounted`],yL=e=>({_s:e,status:vL[e],isEnter:e<3,isMounted:e!==6,isResolved:e===2||e>4}),bL=e=>e?6:5,xL=(e,t)=>{switch(e){case 1:case 0:return 2;case 4:case 3:return bL(t)}},SL=e=>typeof e==`object`?[e.enter,e.exit]:[e,e],CL=(e,t)=>setTimeout(()=>{isNaN(document.body.offsetTop)||e(t+1)},0),wL=(e,t,n,r,i)=>{clearTimeout(r.current);let a=yL(e);t(a),n.current=a,i&&i({current:a})},TL=({enter:e=!0,exit:t=!0,preEnter:n,preExit:r,timeout:i,initialEntered:a,mountOnEnter:o,unmountOnExit:s,onStateChange:c}={})=>{let[l,u]=(0,bA.useState)(()=>yL(a?2:bL(o))),d=(0,bA.useRef)(l),f=(0,bA.useRef)(),[p,m]=SL(i),h=(0,bA.useCallback)(()=>{let e=xL(d.current._s,s);e&&wL(e,u,d,f,c)},[c,s]);return[l,(0,bA.useCallback)(i=>{let a=e=>{switch(wL(e,u,d,f,c),e){case 1:p>=0&&(f.current=setTimeout(h,p));break;case 4:m>=0&&(f.current=setTimeout(h,m));break;case 0:case 3:f.current=CL(a,e)}},o=d.current.isEnter;typeof i!=`boolean`&&(i=!o),i?!o&&a(e?+!n:2):o&&a(t?r?3:4:bL(s))},[h,c,e,t,n,r,p,m,s]),h]},EL={},w(EL,{Actions:()=>XL,Close:()=>VL,CloseButton:()=>UL,Col:()=>KL,Container:()=>BL,Content:()=>WL,Description:()=>YL,Dialog:()=>HL,Error:()=>QL,ErrorWrapper:()=>ZL,Header:()=>qL,Overlay:()=>zL,Row:()=>GL,Title:()=>JL}),{deprecate:DL}=__STORYBOOK_MODULE_CLIENT_LOGGER__,(0,CA.createContext)(null),(0,CA.createContext)(null),(0,CA.createContext)(null),(0,CA.createContext)(null),(0,CA.createContext)(null),OL=(0,CA.createContext)({}),kL=(0,wA.forwardRef)(function(e,t){[e,t]=Iw(e,t,OL);let{children:n,level:r=3,className:i,...a}=e,o=`h${r}`;return wA.createElement(o,{...a,ref:t,className:i??`react-aria-Heading`},n)}),AL=(0,TA.createContext)({}),jL=(0,TA.forwardRef)(function(e,t){[e,t]=Iw(e,t,AL);let{elementType:n=`span`,...r}=e;return TA.createElement(n,{className:`react-aria-Text`,...r,ref:t})}),ML=Ee({from:{opacity:0},to:{opacity:1}}),NL=Ee({from:{opacity:1},to:{opacity:0}}),PL=Ee({from:{maxHeight:0},to:{}}),FL=Ee({from:{opacity:0,transform:`translate(-50%, -50%) scale(0.9)`},to:{opacity:1,transform:`translate(-50%, -50%) scale(1)`}}),IL=Ee({from:{opacity:1,transform:`translate(-50%, -50%) scale(1)`},to:{opacity:0,transform:`translate(-50%, -50%) scale(0.9)`}}),LL=Ee({from:{opacity:0,maxHeight:`0px`},to:{opacity:1,maxHeight:`80vh`}}),RL=Ee({from:{opacity:1,maxHeight:`80vh`},to:{opacity:0,maxHeight:`0px`}}),zL=N.div(({$status:e,$transitionDuration:t})=>({backdropFilter:`blur(24px)`,background:`rgba(0, 0, 0, 0.4)`,position:`absolute`,inset:0,width:`100%`,height:`100%`,zIndex:1e5,"@media (prefers-reduced-motion: no-preference)":{animation:e===`exiting`||e===`preExit`?`${NL} ${t}ms`:`${ML} ${t}ms`,animationFillMode:`forwards`}})),BL=N.div(({theme:e})=>({backgroundColor:e.background.bar,borderRadius:6,boxShadow:`0px 4px 67px 0px #00000040`,position:`absolute`,overflow:`auto`,zIndex:1e5,"&:focus-visible":{outline:`none`}}),({theme:e,width:t,height:n,$variant:r,$status:i,$transitionDuration:a})=>r===`dialog`?{top:`50%`,left:`50%`,width:t??740,height:n??`auto`,maxWidth:`calc(100% - 40px)`,maxHeight:`85vh`,"@media (prefers-reduced-motion: no-preference)":{willChange:`transform, opacity`,animationTimingFunction:`cubic-bezier(0.32, 0.72, 0, 1)`,animation:i===`exiting`||i===`preExit`?`${IL} ${a}ms`:`${FL} ${a}ms`,animationFillMode:`forwards !important`},"@media (prefers-reduced-motion: reduce)":{transform:`translate(-50%, -50%) scale(1)`}}:{bottom:`0`,left:`0`,right:`0`,borderRadius:`10px 10px 0 0`,overflow:`hidden`,width:t??`100%`,height:n??`80%`,maxWidth:`100%`,background:e.background.content,"@supports (interpolate-size: allow-keywords)":{interpolateSize:`allow-keywords`},"@media (prefers-reduced-motion: no-preference)":{animationTimingFunction:`cubic-bezier(.9,.16,.77,.64)`,animation:i===`exiting`||i===`preExit`?`${RL} ${a}ms`:`${LL} ${a}ms`,animationFillMode:`forwards !important`}}),VL=({asChild:e,children:t,onClick:n,...r})=>{let{close:i}=(0,SA.useContext)($L);if(e&&SA.isValidElement(t)){let e=e=>{n?.(e),t.props.onClick?.(e),i?.()};return SA.cloneElement(t,{...r,onClick:e})}return SA.createElement(HI,{type:`button`,padding:`small`,ariaLabel:`Close modal`,variant:`ghost`,shortcut:[`Escape`],onClick:i},SA.createElement(Ke,null))},HL={Close:()=>(DL(`Modal.Dialog.Close is deprecated, please use Modal.Close instead.`),SA.createElement(VL,{"data-deprecated":`Modal.Dialog.Close`}))},UL=({ariaLabel:e,...t})=>(DL(`Modal.CloseButton is deprecated, please use Modal.Close instead.`),SA.createElement(VL,{asChild:!0},SA.createElement(HI,{ariaLabel:e||`Close`,"data-deprecated":`Modal.CloseButton`,...t},SA.createElement(Ke,null)))),WL=N.div({display:`flex`,flexDirection:`column`,margin:16,gap:16}),GL=N.div({display:`flex`,justifyContent:`space-between`,gap:16}),KL=N.div({display:`flex`,flexDirection:`column`,gap:4}),qL=({hasClose:e=!0,onClose:t,...n})=>SA.createElement(GL,null,SA.createElement(KL,{...n}),e&&SA.createElement(VL,{onClick:t})),JL=N(e=>SA.createElement(kL,{level:2,...e}))(({theme:e})=>({margin:0,fontSize:e.typography.size.s3,fontWeight:e.typography.weight.bold})),YL=N(jL)(({theme:e})=>({position:`relative`,zIndex:1,margin:0,fontSize:e.typography.size.s2})),XL=N.div({display:`flex`,flexDirection:`row-reverse`,gap:8}),ZL=N.div(({theme:e})=>({maxHeight:100,overflow:`auto`,"@media (prefers-reduced-motion: no-preference)":{animation:`${PL} 300ms, ${ML} 300ms`},backgroundColor:e.background.critical,color:e.color.lightest,fontSize:e.typography.size.s2,"& > div":{position:`relative`,padding:`8px 16px`}})),QL=({children:e,...t})=>SA.createElement(ZL,{...t},SA.createElement(`div`,null,e)),$L=(0,yA.createContext)({}),Object.assign(_D,EL),N.div(({theme:e,col:t,row:n=1})=>t?{display:`inline-block`,verticalAlign:`inherit`,"& > *":{marginLeft:t*e.layoutMargin,verticalAlign:`inherit`},[`& > *:first-child${ye}`]:{marginLeft:0}}:{"& > *":{marginTop:n*e.layoutMargin},[`& > *:first-child${ye}`]:{marginTop:0}},({theme:e,outer:t,col:n,row:r})=>{switch(!0){case!!(t&&n):return{marginLeft:t*e.layoutMargin,marginRight:t*e.layoutMargin};case!!(t&&r):return{marginTop:t*e.layoutMargin,marginBottom:t*e.layoutMargin};default:return{}}}),N.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),N.div(),N.div(({theme:e})=>({padding:30,textAlign:`center`,color:e.color.defaultText,fontSize:e.typography.size.s2-1})),eR=N.div(({centered:e=!1,scale:t=1,elementHeight:n})=>({height:n||`auto`,transformOrigin:e?`center top`:`left top`,transform:`scale(${1/t})`})),tR=class extends OA.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{iFrameRef:e}=this.props;this.iframe=e.current}shouldComponentUpdate(e){let{scale:t,active:n}=this.props;return t!==e.scale&&this.setIframeInnerZoom(e.scale),n!==e.active&&this.iframe.setAttribute(`data-is-storybook`,e.active?`true`:`false`),e.children.props.src!==this.props.children.props.src}setIframeInnerZoom(e){try{Object.assign(this.iframe.contentDocument.body.style,{width:`${1/e*100}%`,height:`${1/e*100}%`,transform:`scale(${e})`,transformOrigin:`top left`})}catch{this.setIframeZoom(e)}}setIframeZoom(e){Object.assign(this.iframe.style,{width:`${1/e*100}%`,height:`${1/e*100}%`,transform:`scale(${e})`,transformOrigin:`top left`})}render(){let{children:e}=this.props;return OA.createElement(OA.Fragment,null,e)}},nR={Element:xD,IFrame:tR},{global:rR}=__STORYBOOK_MODULE_GLOBAL__,{document:iR}=rR,aR=N.strong(({theme:e})=>({color:e.color.orange})),oR=N.strong(({theme:e})=>({color:e.color.ancillary,textDecoration:`underline`})),sR=N.em(({theme:e})=>({color:e.textMutedColor})),cR=/(Error): (.*)\n/,lR=/at (?:(.*) )?\(?(.+)\)?/,uR=/([^@]+)?(?:\/<)?@(.+)?/,dR=/([^@]+)?@(.+)?/,fR=({error:e})=>{if(!e)return kA.createElement(kA.Fragment,null,`This error has no stack or message`);if(!e.stack)return kA.createElement(kA.Fragment,null,e.message||`This error has no stack or message`);let t=e.stack.toString();t&&e.message&&!t.includes(e.message)&&(t=`Error: ${e.message}
200
200
 
201
201
  ${t}`);let n=t.match(cR);if(!n)return kA.createElement(kA.Fragment,null,t);let[,r,i]=n,[,...a]=t.split(/\n/).slice(1).map(e=>{let t=e.match(lR)||e.match(uR)||e.match(dR);return t?{name:(t[1]||``).replace(`/<`,``),location:t[2].replace(iR.location.origin,``)}:null}).filter(Boolean);return kA.createElement(kA.Fragment,null,kA.createElement(`span`,null,r),`: `,kA.createElement(aR,null,i),kA.createElement(`br`,null),a.map((e,t)=>e?.name?kA.createElement(kA.Fragment,{key:t},` `,`at `,kA.createElement(oR,null,e.name),` (`,kA.createElement(sR,null,e.location),`)`,kA.createElement(`br`,null)):kA.createElement(kA.Fragment,{key:t},` `,`at `,kA.createElement(sR,null,e?.location),kA.createElement(`br`,null))))},pR=N.input(({theme:e})=>({appearance:`none`,backgroundColor:e.input.background,border:`1px solid ${e.base===`dark`?`hsl(0 0 100 / 0.4)`:`hsl(0 0 0 / 0.44)`}`,borderRadius:2,display:`grid`,flexShrink:0,height:14,margin:0,placeContent:`center`,transition:`background-color 0.1s`,width:14,"&:enabled":{cursor:`pointer`},"&:disabled":{backgroundColor:`transparent`,borderColor:e.input.border},"&:disabled:checked, &:disabled:indeterminate":{backgroundColor:e.base===`dark`?we.dark:e.color.mediumdark},"&:checked, &:indeterminate":{border:`none`,backgroundColor:we.secondary},"&:checked::before":{content:`""`,width:14,height:14,background:`no-repeat center url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='m3 7 2.5 2.5L11 4'/%3E%3C/svg%3E")`},"&:indeterminate::before":{content:`""`,width:8,height:2,background:`white`},"&:enabled:focus-visible":{outline:`2px solid ${e.color.secondary}`,outlineOffset:2}})),mR=e=>AA.createElement(pR,{...e,type:`checkbox`}),hR=N.label(({theme:e})=>({display:`flex`,borderBottom:`1px solid ${e.appBorderColor}`,margin:`0 15px`,padding:`8px 0`,"&:last-child":{marginBottom:`3rem`}})),gR=N.span(({theme:e})=>({minWidth:100,fontWeight:e.typography.weight.bold,marginRight:15,display:`flex`,justifyContent:`flex-start`,alignItems:`center`,lineHeight:`16px`})),_R=({label:e,children:t,...n})=>jA.createElement(hR,{...n},e?jA.createElement(gR,null,jA.createElement(`span`,null,e)):null,t),vR=(({size:e})=>{switch(e){case`100%`:return{width:`100%`};case`flex`:return{flex:1};default:return{display:`inline`}}}),yR=(({align:e})=>{switch(e){case`end`:return{textAlign:`right`};case`center`:return{textAlign:`center`};default:return{textAlign:`left`}}}),bR=(({valid:e,theme:t})=>{switch(e){case`valid`:return{boxShadow:`${t.color.positive} 0 0 0 1px inset !important`};case`error`:return{boxShadow:`${t.color.negative} 0 0 0 1px inset !important`};case`warn`:return{boxShadow:`${t.color.warning} 0 0 0 1px inset`};default:return{}}}),xR={appearance:`none`,border:`0 none`,boxSizing:`inherit`,display:`block`,margin:` 0`,background:`transparent`,padding:0,fontSize:`inherit`,position:`relative`},SR=(({theme:e})=>({...xR,transition:`box-shadow 200ms ease-out, opacity 200ms ease-out`,color:e.input.color||`inherit`,background:e.input.background,boxShadow:`${e.input.border} 0 0 0 1px inset`,borderRadius:e.input.borderRadius,fontSize:e.typography.size.s2-1,lineHeight:`20px`,padding:`6px 10px`,boxSizing:`border-box`,height:32,'&[type="file"]':{height:`auto`},"&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:`none`,"@media (forced-colors: active)":{outline:`1px solid highlight`}},'&[disabled], &[aria-disabled="true"]':{background:e.base===`light`?e.color.lighter:`transparent`,cursor:`not-allowed`},"&:-webkit-autofill":{WebkitBoxShadow:`0 0 0 3em ${e.color.lightest} inset`},"&::placeholder":{color:e.textMutedColor,opacity:1}})),CR=N.div({position:`relative`,width:`100%`}),wR=N.div(({theme:e})=>({position:`absolute`,left:0,right:0,top:0,bottom:0,display:`flex`,alignItems:`center`,pointerEvents:`none`,overflow:`hidden`,color:e.textMutedColor,"span:first-of-type":{opacity:0}}),e=>{let{fontSize:t,lineHeight:n,padding:r}=SR(e);return{fontSize:t,lineHeight:n,padding:r}}),TR=Object.assign(N((0,NA.forwardRef)(function({size:e,valid:t,align:n,value:r,suffix:i,...a},o){let s=DS();return MA.createElement(CR,null,MA.createElement(`input`,{...a,value:r,ref:o,"aria-describedby":i?s:void 0}),i&&MA.createElement(wR,{"aria-hidden":!0},MA.createElement(`span`,null,r),MA.createElement(`span`,{id:s},i)))}))(SR,vR,yR,bR,{minHeight:32,width:`100%`}),{displayName:`Input`}),ER=N.input(({theme:e})=>({appearance:`none`,backgroundColor:e.input.background,border:`1px solid ${e.base===`dark`?`hsl(0 0 100 / 0.4)`:`hsl(0 0 0 / 0.44)`}`,borderRadius:8,display:`grid`,flexShrink:0,height:16,margin:-1,placeContent:`center`,transition:`background-color 0.1s`,width:16,"&:enabled":{cursor:`pointer`},"&:disabled":{backgroundColor:`transparent`,borderColor:e.input.border},"&:disabled:checked":{backgroundColor:e.base===`dark`?we.dark:e.color.mediumdark,borderColor:e.base===`dark`?we.dark:e.color.mediumdark},"&:checked":{backgroundColor:we.secondary,borderColor:we.secondary,boxShadow:`inset 0 0 0 2px ${e.input.background}`},"&:enabled:focus-visible":{outline:`2px solid ${e.color.secondary}`,outlineOffset:2}})),DR=e=>PA.createElement(ER,{...e,type:`radio`}),OR=N.select(vR,({theme:e})=>({appearance:`none`,background:`calc(100% - 12px) center no-repeat url("data:image/svg+xml,%3Csvg width='8' height='4' viewBox='0 0 8 4' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.30303 0.196815C1.13566 0.0294472 0.864304 0.0294472 0.696937 0.196815C0.529569 0.364182 0.529569 0.635539 0.696937 0.802906L3.69694 3.80291C3.8643 3.97027 4.13566 3.97027 4.30303 3.80291L7.30303 0.802906C7.4704 0.635539 7.4704 0.364182 7.30303 0.196815C7.13566 0.0294473 6.8643 0.0294473 6.69694 0.196815L3.99998 2.89377L1.30303 0.196815Z' fill='%2373828C'/%3E%3C/svg%3E%0A")`,backgroundSize:10,padding:`6px 30px 6px 10px`,"@supports (appearance: base-select)":{appearance:`base-select`,background:e.input.background,padding:`6px 10px`},transition:`box-shadow 200ms ease-out, opacity 200ms ease-out`,color:e.input.color||`inherit`,boxShadow:`${e.input.border} 0 0 0 1px inset`,borderRadius:e.input.borderRadius,fontSize:e.typography.size.s2-1,lineHeight:`20px`,boxSizing:`border-box`,border:`none`,cursor:`pointer`,"& > button":{display:`flex`,alignItems:`center`,justifyContent:`space-between`,width:`100%`,gap:8,"& > svg":{width:14,height:14,color:e.textMutedColor}},"&:has(option:not([hidden]):checked)":{color:e.color.defaultText},"&:focus-visible, &:focus-within":{outline:`none`,boxShadow:`${e.color.secondary} 0 0 0 1px inset`},"&::picker-icon":{display:`none`},"&::picker(select)":{appearance:`base-select`,border:`1px solid ${e.input.border}`,padding:4,marginTop:4,background:e.base===`light`?_e(e.background.app):e.background.app,filter:`
202
202
  drop-shadow(0 5px 5px rgba(0,0,0,0.05))
@@ -268,7 +268,7 @@ ${t}`);let n=t.match(cR);if(!n)return kA.createElement(kA.Fragment,null,t);let[,
268
268
  ${mU(.02,e.input.background)} 100%)`:`linear-gradient(to right,
269
269
  ${e.color.green} 0%, ${e.color.green} ${(r-t)/(n-t)*100}%,
270
270
  ${hU(.02,e.input.background)} ${(r-t)/(n-t)*100}%,
271
- ${hU(.02,e.input.background)} 100%)`,borderRadius:6,boxShadow:`${e.base==`dark`?`hsl(0 0 100 / 0.4)`:`hsl(0 0 0 / 0.44)`} 0 0 0 1px inset`,cursor:i?`not-allowed`:`pointer`,height:6,width:`100%`},o={borderColor:kH(e.color.secondary,.4)},s={width:16,height:16,borderRadius:50,cursor:i?`not-allowed`:`grab`,background:e.input.background,border:`1px solid ${e.base==`dark`?`hsl(0 0 100 / 0.4)`:`hsl(0 0 0 / 0.44)`}`,boxShadow:e.base===`light`?`0 1px 3px 0px ${kH(e.appBorderColor,.2)}`:`unset`,transition:`all 150ms ease-out`},c={background:`${mU(.05,e.input.background)}`,transform:`scale3d(1.1, 1.1, 1.1) translateY(-1px)`,transition:`all 50ms ease-out`},l={background:`${e.input.background}`,transform:`scale3d(1, 1, 1) translateY(0px)`},u={borderColor:e.color.secondary,boxShadow:e.base===`light`?`0 0px 5px 0px ${e.color.secondary}`:`unset`};return{appearance:`none`,backgroundColor:`transparent`,width:`100%`,"&::-webkit-slider-runnable-track":a,"&::-moz-range-track":a,"&::-ms-track":{...a,color:`transparent`},"&::-moz-range-thumb":{...s,"&:hover":c,"&:active":l},"&::-webkit-slider-thumb":{...s,marginTop:`-6px`,appearance:`none`,"&:hover":c,"&:active":l},"&::-ms-thumb":{...s,marginTop:0,"&:hover":c,"&:active":l},"&:focus":{outline:`none`,"&::-webkit-slider-runnable-track":o,"&::-moz-range-track":o,"&::-ms-track":o,"&::-webkit-slider-thumb":u,"&::-moz-range-thumb":u,"&::-ms-thumb":u},"&::-ms-fill-lower":{borderRadius:6},"&::-ms-fill-upper":{borderRadius:6},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:`0`}}}}),kX=N.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:`nowrap`,fontFeatureSettings:`tnum`,fontVariantNumeric:`tabular-nums`}),AX=N(kX)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:`right`,flexShrink:0})),jX=N.div(({readOnly:e})=>({display:`flex`,alignItems:`center`,width:`100%`,opacity:e?.5:1})),MX=({name:e,storyId:t,controlsId:n,value:r,onChange:i,min:a=0,max:o=100,step:s=1,onBlur:c,onFocus:l,argType:u,required:d})=>{let f=e=>{i(bY(e.target.value))},p=r!==void 0,m=(0,yK.useMemo)(()=>vW(s),[s]),h=!!u?.table?.readonly,g=ae(e,t,n);return yK.createElement(jX,{readOnly:h},yK.createElement(`label`,{htmlFor:g,className:`sb-sr-only`},e),yK.createElement(kX,null,a),yK.createElement(OX,{id:g,type:`range`,disabled:h,onChange:f,"aria-required":d||void 0,name:e,min:a,max:o,step:s,onFocus:l,onBlur:c,value:r??a}),yK.createElement(AX,{numberOFDecimalsPlaces:m,max:o},p?r.toFixed(m):`--`,` / `,o))},NX=N.label({display:`flex`}),PX=N.div(({isMaxed:e})=>({marginLeft:`0.75rem`,paddingTop:`0.35rem`,color:e?`red`:void 0})),FX=({name:e,storyId:t,controlsId:n,value:r,onChange:i,onFocus:a,onBlur:o,maxLength:s,argType:c,required:l})=>{let u=e=>{i(e.target.value)},d=!!c?.table?.readonly,[f,p]=(0,bK.useState)(!1),m=(0,bK.useCallback)(()=>{i(``),p(!0)},[p]);if(r===void 0)return bK.createElement(HI,{ariaLabel:!1,variant:`outline`,size:`medium`,disabled:d,id:re(e,t,n),onClick:m},`Set string`);let h=typeof r==`string`;return bK.createElement(NX,null,bK.createElement(QR.Textarea,{id:ae(e,t,n),maxLength:s,onChange:u,disabled:d,size:`flex`,placeholder:`Edit string...`,autoFocus:f,"aria-required":l||void 0,valid:h?void 0:`error`,name:e,value:h?r:``,onFocus:a,onBlur:o}),s&&bK.createElement(PX,{isMaxed:r?.length===s},r?.length??0,` / `,s))},IX=N(QR.Input)({padding:10}),LX=({onChange:e,name:t,storyId:n,controlsId:r,accept:i=`image/*`,value:a,argType:o,required:s})=>{let c=(0,xK.useRef)(null),l=o?.control?.readOnly;function u(t){t.target.files&&(e(Array.from(t.target.files).map(e=>URL.createObjectURL(e))),yW(a||[]))}(0,xK.useEffect)(()=>{a==null&&c.current&&(c.current.value=``)},[a,t]);let d=ae(t,n,r);return xK.createElement(xK.Fragment,null,xK.createElement(`label`,{htmlFor:d,className:`sb-sr-only`},t),xK.createElement(IX,{ref:c,id:d,type:`file`,name:t,multiple:!0,disabled:l,onChange:u,accept:i,"aria-required":s||void 0,size:`flex`}))},RX=(0,lK.lazy)(()=>a(()=>import(`./Color-6AOWCN3U-Dzuzn5Yr.js`),__vite__mapDeps([15,1,2,7,8,9,3,10,16,0,4]),import.meta.url)),zX=e=>lK.createElement(lK.Suspense,{fallback:lK.createElement(`div`,null)},lK.createElement(RX,{...e})),BX={array:DX,object:DX,boolean:dY,color:zX,date:vY,number:SY,check:GY,"inline-check":GY,radio:GY,"inline-radio":GY,select:GY,"multi-select":GY,range:MX,text:FX,file:LX},VX=()=>cK.createElement(cK.Fragment,null,`-`),HX=({row:e,arg:t,updateArgs:n,isRequired:r,storyId:i,controlsId:a})=>{let{key:o,control:s}=e,[c,l]=(0,cK.useState)(!1),[u,d]=(0,cK.useState)({value:t});(0,cK.useEffect)(()=>{c||d({value:t})},[c,t]);let f=(0,cK.useCallback)(e=>(d({value:e}),n({[o]:e}),e),[n,o]),p=(0,cK.useCallback)(()=>l(!1),[]),m=(0,cK.useCallback)(()=>l(!0),[]);if(!s||s.disable)return s?.disable!==!0&&e?.type?.name!==`function`?cK.createElement(cK.Fragment,null,cK.createElement(`span`,{className:`sbdocs sbdocs-argcontrol-setup`},cK.createElement(NM,{href:`https://storybook.js.org/docs/essentials/controls?ref=ui`,target:`_blank`,withArrow:!0},`Setup controls`)),cK.createElement(`span`,{className:`sbdocs sbdocs-argcontrol-placeholder`},cK.createElement(VX,null))):cK.createElement(VX,null);let h={name:o,storyId:i,controlsId:a,argType:e,value:u.value,required:r,onChange:f,onBlur:p,onFocus:m},g=BX[s.type]||VX;return cK.createElement(g,{...h,...s,controlType:s.type})},UX=N.table(({theme:e})=>({"&&":{borderCollapse:`collapse`,borderSpacing:0,border:`none`,tr:{border:`none !important`,background:`none`},"td, th":{padding:0,border:`none`,width:`auto!important`},marginTop:0,marginBottom:0,"th:first-of-type, td:first-of-type":{paddingLeft:0},"th:last-of-type, td:last-of-type":{paddingRight:0},td:{paddingTop:0,paddingBottom:4,"&:not(:first-of-type)":{paddingLeft:10,paddingRight:0}},tbody:{boxShadow:`none`,border:`none`},code:Uj({theme:e}),div:{span:{fontWeight:`bold`}},"& code":{margin:0,display:`inline-block`,fontSize:e.typography.size.s1}}})),WX=({tags:e})=>{let t=(e.params||[]).filter(e=>e.description),n=t.length!==0,r=e.deprecated!=null,i=e.returns!=null&&e.returns.description!=null;return!n&&!i&&!r?null:SK.createElement(SK.Fragment,null,SK.createElement(UX,null,SK.createElement(`tbody`,null,r&&SK.createElement(`tr`,{key:`deprecated`},SK.createElement(`td`,{colSpan:2},SK.createElement(`strong`,null,`Deprecated`),`: `,e.deprecated?.toString())),n&&t.map(e=>SK.createElement(`tr`,{key:e.name},SK.createElement(`td`,null,SK.createElement(`code`,null,e.name)),SK.createElement(`td`,null,e.description))),i&&SK.createElement(`tr`,{key:`returns`},SK.createElement(`td`,null,SK.createElement(`code`,null,`Returns`)),SK.createElement(`td`,null,e.returns?.description)))))},GX=8,KX=N.div(({isExpanded:e})=>({display:`flex`,flexDirection:e?`column`:`row`,flexWrap:`wrap`,alignItems:`flex-start`,marginBottom:`-4px`,minWidth:100})),qX=N.details({display:`flex`,flexDirection:`column`,summary:{order:2},"summary::-webkit-details-marker":{display:`none`},"summary::marker":{content:`none`}}),JX=N.div({display:`flex`,flexDirection:`column`,flexWrap:`wrap`,alignItems:`flex-start`}),YX=N.span(Uj,({theme:e,simple:t=!1})=>({flex:`0 0 auto`,fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,wordBreak:`break-word`,whiteSpace:`normal`,maxWidth:`100%`,margin:0,marginRight:`4px`,marginBottom:`4px`,paddingTop:`2px`,paddingBottom:`2px`,lineHeight:`13px`,...t&&{background:`transparent`,border:`0 none`,paddingLeft:0}})),XX=N.summary(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,cursor:`pointer`,lineHeight:`normal`,margin:`0 0 4px`,padding:`1px 6px`,background:`none`,border:`none`})),ZX=N.button(Uj,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:`nowrap`,display:`flex`,alignItems:`center`,cursor:`pointer`,"&:hover":{border:e.base===`light`?`1px solid hsl(0 0 0 / 0.15)`:`1px solid hsl(0 0 100 / 0.15)`},"&:focus-visible":{outline:`2px solid ${e.color.secondary}`,outlineOffset:`2px`}})),QX=N.div(({theme:e})=>({minWidth:200,maxWidth:800,paddingRight:16,fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,boxSizing:`content-box`,"& code":{padding:`0 !important`}})),$X=N(tt)({marginLeft:4}),eZ=N(nt)({marginLeft:4}),tZ=()=>CK.createElement(`span`,null,`-`),nZ=({text:e,simple:t})=>CK.createElement(YX,{simple:t},e),rZ=e=>e?bW(e.split(`|`).map(e=>e.trim())):[e],iZ=e=>e.slice(0,GX).map(e=>CK.createElement(nZ,{key:e,text:e===``?`""`:e})),aZ=e=>e.slice(GX).map(e=>CK.createElement(nZ,{key:e,text:e===``?`""`:e})),oZ=({value:e,initialExpandedArgs:t})=>{let{summary:n,detail:r}=e,[i,a]=(0,CK.useState)(!1),[o,s]=(0,CK.useState)(t||!1);if(n==null)return null;let c=typeof n.toString==`function`?n.toString():n;if(r==null){if(/[(){}[\]<>]/.test(c))return CK.createElement(nZ,{text:c});let e=rZ(c),t=e.length;return t>GX?CK.createElement(KX,{isExpanded:o},iZ(e),CK.createElement(qX,{open:o,onToggle:e=>s(e.currentTarget.open)},CK.createElement(JX,null,aZ(e)),CK.createElement(XX,{role:`button`},o?`Show less...`:`Show ${t-GX} more...`))):CK.createElement(KX,null,iZ(e))}return CK.createElement(mB,{ariaLabel:`Arg value details`,placement:`bottom`,visible:i,onVisibleChange:e=>{a(e)},hasCloseButton:!0,popover:CK.createElement(QX,null,CK.createElement(eM,{language:`jsx`,format:!1},r))},CK.createElement(ZX,{className:`sbdocs-expandable`},CK.createElement(`span`,null,c),i?CK.createElement($X,null):CK.createElement(eZ,null)))},sZ=({value:e,initialExpandedArgs:t})=>e==null?CK.createElement(tZ,null):CK.createElement(oZ,{value:e,initialExpandedArgs:t}),cZ=N.span({fontWeight:`bold`}),lZ=N.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:`help`})),uZ=N.div(({theme:e})=>({"&&":{p:{margin:`0 0 10px 0`},a:{color:e.color.secondary}},code:{...Uj({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:`inline-block`},"& pre > code":{whiteSpace:`pre-wrap`}})),dZ=N.div(({theme:e,hasDescription:t})=>({color:e.base===`light`?vU(.1,e.color.defaultText):vU(.2,e.color.defaultText),marginTop:t?4:0})),fZ=N.div(({theme:e,hasDescription:t})=>({color:e.base===`light`?vU(.1,e.color.defaultText):vU(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),pZ=N.td(({expandable:e})=>({paddingLeft:e?`40px !important`:`20px !important`})),mZ=N.tr({"span.sbdocs-argcontrol-setup":{...he},"&:hover, &:focus-within":{"span.sbdocs-argcontrol-setup":{...be},"span.sbdocs-argcontrol-placeholder":{...he}}}),hZ=e=>e&&{summary:typeof e==`string`?e:e.name},gZ=e=>{let{row:t,updateArgs:n,compact:r,expandable:i,initialExpandedArgs:a,docsLang:o}=e,{name:s,description:c}=t,l=t.table||{},u=l.type||hZ(t.type),d=l.defaultValue||t.defaultValue,f=t.type?.required,p=c!=null&&c!==``;return oK.createElement(mZ,null,oK.createElement(pZ,{expandable:i??!1},oK.createElement(cZ,null,s),f?oK.createElement(lZ,{"aria-hidden":!0,title:`Required`},`*`):null),r?null:oK.createElement(`td`,null,p&&oK.createElement(uZ,{lang:o},oK.createElement(sY,null,c)),l.jsDocTags==null?oK.createElement(dZ,{hasDescription:p},oK.createElement(sZ,{value:u,initialExpandedArgs:a})):oK.createElement(oK.Fragment,null,oK.createElement(fZ,{hasDescription:p},oK.createElement(sZ,{value:u,initialExpandedArgs:a})),oK.createElement(WX,{tags:l.jsDocTags}))),r?null:oK.createElement(`td`,null,oK.createElement(sZ,{value:d,initialExpandedArgs:a})),n?oK.createElement(`td`,null,oK.createElement(HX,{...e,isRequired:!!f})):null)},_Z=N.div(({inAddonPanel:e,theme:t})=>({height:e?`100%`:`auto`,display:`flex`,border:e?`none`:`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:`center`,justifyContent:`center`,flexDirection:`column`,gap:15,background:t.background.content})),vZ=N.div(({theme:e})=>({display:`flex`,fontSize:e.typography.size.s2-1,gap:25})),yZ=({inAddonPanel:e})=>{let[t,n]=(0,wK.useState)(!0);return(0,wK.useEffect)(()=>{let e=setTimeout(()=>{n(!1)},100);return()=>clearTimeout(e)},[]),t?null:wK.createElement(_Z,{inAddonPanel:e},wK.createElement($B,{title:`This story has no controls`,description:wK.createElement(wK.Fragment,null,`Storybook couldn't find or generate any controls for this story. Define`,` `,wK.createElement(`code`,null,`args`),` or `,wK.createElement(`code`,null,`argTypes`),`, or configure docgen to let Storybook generate controls automatically.`),footer:wK.createElement(vZ,null,wK.createElement(NM,{href:`https://storybook.js.org/docs/essentials/controls?ref=ui`,target:`_blank`,withArrow:!0},wK.createElement(He,null),` Read docs`))}))},bZ=N($e)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base===`light`?vU(.25,e.color.defaultText):vU(.3,e.color.defaultText),border:`none`,display:`inline-block`})),xZ=N(et)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base===`light`?vU(.25,e.color.defaultText):vU(.3,e.color.defaultText),border:`none`,display:`inline-block`})),SZ=N.span(({theme:e})=>({display:`flex`,lineHeight:`20px`,alignItems:`center`})),CZ=N.td(({theme:e})=>({position:`relative`,letterSpacing:`0.35em`,textTransform:`uppercase`,fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base===`light`?vU(.4,e.color.defaultText):vU(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),wZ=N.td(({theme:e})=>({position:`relative`,fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),TZ=N.td({position:`relative`}),EZ=N.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${hU(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:`row-resize`}})),DZ=N.button({background:`none`,border:`none`,padding:`0`,font:`inherit`,position:`absolute`,top:0,bottom:0,left:0,right:0,height:`100%`,width:`100%`,color:`transparent`,cursor:`row-resize !important`}),OZ=({level:e=`section`,label:t,children:n,initialExpanded:r=!0,colSpan:i=3})=>{let[a,o]=(0,TK.useState)(r),s=e===`subsection`?wZ:CZ,c=n?.length||0,l=e===`subsection`?`${c} item${c===1?``:`s`}`:``,u=`${a?`Hide`:`Show`} ${e===`subsection`?c:t} item${c===1?``:`s`}`;return TK.createElement(TK.Fragment,null,TK.createElement(EZ,{title:u},TK.createElement(s,{colSpan:1},TK.createElement(DZ,{onClick:e=>o(!a),tabIndex:0},u),TK.createElement(SZ,null,a?TK.createElement(bZ,null):TK.createElement(xZ,null),t)),TK.createElement(TZ,{colSpan:i-1},TK.createElement(DZ,{onClick:e=>o(!a),tabIndex:-1,style:{outline:`none`}},u),a?null:l)),a?n:null)},kZ=N.div(({theme:e})=>({width:`100%`,borderSpacing:0,color:e.color.defaultText})),AZ=N.div(({theme:e})=>({display:`flex`,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),jZ=N.div(({position:e,theme:t})=>{let n={display:`flex`,flexDirection:`column`,gap:5,padding:`10px 15px`,alignItems:`flex-start`};switch(e){case`first`:return{...n,width:`25%`,paddingLeft:20};case`second`:return{...n,width:`35%`};case`third`:return{...n,width:`15%`};case`last`:return{...n,width:`25%`,paddingRight:20}}}),MZ=N.div(({theme:e,width:t,height:n})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||`100%`,height:n||16,borderRadius:3})),NZ=()=>X.createElement(kZ,null,X.createElement(AZ,null,X.createElement(jZ,{position:`first`},X.createElement(MZ,{width:`60%`})),X.createElement(jZ,{position:`second`},X.createElement(MZ,{width:`30%`})),X.createElement(jZ,{position:`third`},X.createElement(MZ,{width:`60%`})),X.createElement(jZ,{position:`last`},X.createElement(MZ,{width:`60%`}))),X.createElement(AZ,null,X.createElement(jZ,{position:`first`},X.createElement(MZ,{width:`60%`})),X.createElement(jZ,{position:`second`},X.createElement(MZ,{width:`80%`}),X.createElement(MZ,{width:`30%`})),X.createElement(jZ,{position:`third`},X.createElement(MZ,{width:`60%`})),X.createElement(jZ,{position:`last`},X.createElement(MZ,{width:`60%`}))),X.createElement(AZ,null,X.createElement(jZ,{position:`first`},X.createElement(MZ,{width:`60%`})),X.createElement(jZ,{position:`second`},X.createElement(MZ,{width:`80%`}),X.createElement(MZ,{width:`30%`})),X.createElement(jZ,{position:`third`},X.createElement(MZ,{width:`60%`})),X.createElement(jZ,{position:`last`},X.createElement(MZ,{width:`60%`}))),X.createElement(AZ,null,X.createElement(jZ,{position:`first`},X.createElement(MZ,{width:`60%`})),X.createElement(jZ,{position:`second`},X.createElement(MZ,{width:`80%`}),X.createElement(MZ,{width:`30%`})),X.createElement(jZ,{position:`third`},X.createElement(MZ,{width:`60%`})),X.createElement(jZ,{position:`last`},X.createElement(MZ,{width:`60%`})))),PZ=N.table(({theme:e,compact:t,inAddonPanel:n,inTabPanel:r})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:`none`,verticalAlign:`top`,textOverflow:`ellipsis`},fontSize:e.typography.size.s2-1,lineHeight:`19px`,textAlign:`left`,width:`100%`,marginTop:n?0:25,marginBottom:n?0:40,"thead th:first-of-type, td:first-of-type":{width:`25%`},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:`35%`}},"td:nth-of-type(3)":{...t?null:{width:`15%`}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:`25%`}},th:{color:e.textMutedColor,paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:`10px`,paddingBottom:`10px`,"&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginInline:n||r?0:1,paddingInline:r?3:0,tbody:{...n?null:{filter:e.base===`light`?`drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))`:`drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))`},"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`},...n?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}}},"@media (forced-colors: active)":{tbody:{filter:`none`,"> tr > *":{borderColor:`CanvasText`}}}}})),FZ=N.div({position:`relative`}),IZ=N.div({position:`absolute`,right:22,top:10}),LZ=N(HI)({margin:`-4px -12px -4px 0`}),RZ={alpha:(e,t)=>(e.name??``).localeCompare(t.name??``),requiredFirst:(e,t)=>+!!t.type?.required-!!e.type?.required||(e.name??``).localeCompare(t.name??``),none:null},zZ=(e,t)=>{let n={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return n;Object.entries(e).forEach(([e,t])=>{let{category:r,subcategory:i}=t?.table||{};if(r){let a=n.sections[r]||{ungrouped:[],subsections:{}};if(!i)a.ungrouped.push({key:e,...t});else{let n=a.subsections[i]||[];n.push({key:e,...t}),a.subsections[i]=n}n.sections[r]=a}else if(i){let r=n.ungroupedSubsections[i]||[];r.push({key:e,...t}),n.ungroupedSubsections[i]=r}else n.ungrouped.push({key:e,...t})});let r=RZ[t],i=e=>r?Object.keys(e).reduce((t,n)=>({...t,[n]:e[n].sort(r)}),{}):e;return{ungrouped:r?n.ungrouped.sort(r):n.ungrouped,ungroupedSubsections:i(n.ungroupedSubsections),sections:Object.keys(n.sections).reduce((e,t)=>({...e,[t]:{ungrouped:r?n.sections[t].ungrouped.sort(r):n.sections[t].ungrouped,subsections:i(n.sections[t].subsections)}}),{})}},BZ=(e,t,n)=>{try{return tm(e,t,n)}catch(e){return bq.warn(e.message),!1}},VZ=e=>{let{updateArgs:t,resetArgs:n,compact:r,inAddonPanel:i,inTabPanel:a,initialExpandedArgs:o,sort:s=`none`,isLoading:c,storyId:l,controlsId:u,docsLang:d}=e,{rows:f,args:p,globals:m}=`rows`in e?e:{rows:void 0,args:void 0,globals:void 0},h=(0,q.useRef)(!1),[g,_]=(0,q.useState)(!1);(0,q.useEffect)(()=>{h.current=!1,_(!1)},[p]);let v=(0,q.useCallback)(()=>{!h.current&&n&&(h.current=!0,_(!0),n())},[n]);if(`error`in e){let{error:t}=e;return q.createElement(bU,null,t,`\xA0`,q.createElement(NM,{href:`http://storybook.js.org/docs/?ref=ui`,target:`_blank`,withArrow:!0},q.createElement(He,null),` Read the docs`))}if(c)return q.createElement(NZ,null);let y=zZ(LU(f||{},e=>!e?.table?.disable&&BZ(e,p||{},m||{})),s),b=y.ungrouped.length===0,x=Object.entries(y.sections).length===0,S=Object.entries(y.ungroupedSubsections).length===0;if(b&&x&&S)return q.createElement(yZ,{inAddonPanel:i});let C=1;t&&(C+=1),r||(C+=2);let w=Object.keys(y.sections).length>0,T={updateArgs:t,compact:r,inAddonPanel:i,initialExpandedArgs:o,storyId:l,controlsId:u};return q.createElement(Kj,null,q.createElement(FZ,null,t&&!c&&n&&q.createElement(IZ,null,q.createElement(LZ,{variant:`ghost`,padding:`small`,onClick:v,disabled:g,ariaLabel:g?`Resetting controls...`:`Reset controls`,lang:`en`},q.createElement(at,null))),q.createElement(PZ,{compact:r,inAddonPanel:i,inTabPanel:a,className:`docblock-argstable sb-unstyled`,lang:`en`},q.createElement(`thead`,{className:`docblock-argstable-head`},q.createElement(`tr`,null,q.createElement(`th`,null,q.createElement(`span`,null,`Name`)),r?null:q.createElement(`th`,null,q.createElement(`span`,null,`Description`)),r?null:q.createElement(`th`,null,q.createElement(`span`,null,`Default`)),t?q.createElement(`th`,null,q.createElement(`span`,null,`Control`)):null)),q.createElement(`tbody`,{className:`docblock-argstable-body`},y.ungrouped.map(e=>q.createElement(gZ,{key:e.key,row:e,arg:p&&p[e.key],docsLang:d,...T})),Object.entries(y.ungroupedSubsections).map(([e,t])=>q.createElement(OZ,{key:e,label:e,level:`subsection`,colSpan:C},t.map(e=>q.createElement(gZ,{key:e.key,row:e,arg:p&&p[e.key],expandable:w,...T})))),Object.entries(y.sections).map(([e,t])=>q.createElement(OZ,{key:e,label:e,level:`section`,colSpan:C},t.ungrouped.map(e=>q.createElement(gZ,{key:e.key,row:e,arg:p&&p[e.key],...T})),Object.entries(t.subsections).map(([e,t])=>q.createElement(OZ,{key:e,label:e,level:`subsection`,colSpan:C},t.map(e=>q.createElement(gZ,{key:e.key,row:e,arg:p&&p[e.key],expandable:w,...T}))))))))))},HZ=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,UZ=600,WZ=N.h1(({theme:e})=>({...Wj({theme:e}),color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:`32px`,[`@media (min-width: ${UZ}px)`]:{fontSize:e.typography.size.l1,lineHeight:`36px`,marginBottom:`16px`}})),GZ=N.h2(({theme:e})=>({...Wj({theme:e}),fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:`20px`,borderBottom:`none`,marginBottom:15,[`@media (min-width: ${UZ}px)`]:{fontSize:e.typography.size.m1,lineHeight:`28px`,marginBottom:24},color:vU(.25,e.color.defaultText)})),KZ=N.div(({theme:e})=>{let t={fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:`antialiased`,MozOsxFontSmoothing:`grayscale`,WebkitTapHighlightColor:`rgba(0, 0, 0, 0)`,WebkitOverflowScrolling:`touch`},n={margin:`20px 0 8px`,padding:0,cursor:`text`,position:`relative`,color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:`none`},"& code":{fontSize:`inherit`}},r={lineHeight:1,margin:`0 2px`,padding:`3px 5px`,whiteSpace:`nowrap`,borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base===`light`?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base===`light`?vU(.1,e.color.defaultText):vU(.3,e.color.defaultText),backgroundColor:e.base===`light`?e.color.lighter:e.color.border};return{maxWidth:1e3,width:`100%`,minWidth:0,flex:1,[HZ(`a`)]:{...t,fontSize:`inherit`,lineHeight:`24px`,color:e.color.secondary,textDecoration:`underline`,textDecorationThickness:`0.03125rem`,textUnderlineOffset:`0.11em`,"&.absent":{color:`#cc0000`},"&.anchor":{display:`block`,paddingLeft:30,marginLeft:-30,cursor:`pointer`,position:`absolute`,top:0,left:0,bottom:0,textDecoration:`none`},"&.anchor:hover, &.anchor:focus":{textDecoration:`underline`}},[HZ(`blockquote`)]:{...t,margin:`16px 0`,borderLeft:`4px solid ${e.color.medium}`,padding:`0 15px`,color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},[HZ(`div`)]:t,[HZ(`dl`)]:{...t,margin:`16px 0`,padding:0,"& dt":{fontSize:`14px`,fontWeight:`bold`,fontStyle:`italic`,padding:0,margin:`16px 0 4px`},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:`0 0 16px`,padding:`0 15px`},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}},[HZ(`h1`)]:{...t,...n,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[HZ(`h2`)]:{...t,...n,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[HZ(`h3`)]:{...t,...n,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[HZ(`h4`)]:{...t,...n,fontSize:`${e.typography.size.s3}px`},[HZ(`h5`)]:{...t,...n,fontSize:`${e.typography.size.s2}px`},[HZ(`h6`)]:{...t,...n,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[HZ(`hr`)]:{border:`0 none`,borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[HZ(`img`)]:{maxWidth:`100%`},[HZ(`li`)]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:`24px`,"& + li":{marginTop:`.25em`},"& ul, & ol":{marginTop:`.25em`,marginBottom:0},"& code":r},[HZ(`ol`)]:{...t,margin:`16px 0`,paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[HZ(`p`)]:{...t,margin:`16px 0`,fontSize:e.typography.size.s2,lineHeight:`24px`,color:e.color.defaultText,"& code":r},[HZ(`pre`)]:{...t,fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:`antialiased`,MozOsxFontSmoothing:`grayscale`,lineHeight:`18px`,padding:`11px 1rem`,whiteSpace:`pre-wrap`,color:`inherit`,borderRadius:3,margin:`1rem 0`,"&:not(.prismjs)":{background:`transparent`,border:`none`,borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:`pre-wrap`,color:`inherit`,fontSize:`13px`,lineHeight:`19px`,code:{color:`inherit`,fontSize:`inherit`}},"& code":{whiteSpace:`pre`},"& code, & tt":{border:`none`}},[HZ(`span`)]:{...t,"&.frame":{display:`block`,overflow:`hidden`,"& > span":{border:`1px solid ${e.color.medium}`,display:`block`,float:`left`,overflow:`hidden`,margin:`13px 0 0`,padding:7,width:`auto`},"& span img":{display:`block`,float:`left`},"& span span":{clear:`both`,color:e.color.darkest,display:`block`,padding:`5px 0 0`}},"&.align-center":{display:`block`,overflow:`hidden`,clear:`both`,"& > span":{display:`block`,overflow:`hidden`,margin:`13px auto 0`,textAlign:`center`},"& span img":{margin:`0 auto`,textAlign:`center`}},"&.align-right":{display:`block`,overflow:`hidden`,clear:`both`,"& > span":{display:`block`,overflow:`hidden`,margin:`13px 0 0`,textAlign:`right`},"& span img":{margin:0,textAlign:`right`}},"&.float-left":{display:`block`,marginRight:13,overflow:`hidden`,float:`left`,"& span":{margin:`13px 0 0`}},"&.float-right":{display:`block`,marginLeft:13,overflow:`hidden`,float:`right`,"& > span":{display:`block`,overflow:`hidden`,margin:`13px auto 0`,textAlign:`right`}}},[HZ(`table`)]:{...t,margin:`16px 0`,fontSize:e.typography.size.s2,lineHeight:`24px`,padding:0,borderCollapse:`collapse`,"& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base===`dark`?e.color.darker:e.color.lighter},"& tr th":{fontWeight:`bold`,color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:`6px 13px`},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:`6px 13px`},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}},[HZ(`ul`)]:{...t,margin:`16px 0`,paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:`disc`}}}),qZ=N.div(({theme:e})=>({background:e.background.content,display:`flex`,flexDirection:`row-reverse`,justifyContent:`center`,padding:`4rem 40px`,minHeight:`100vh`,boxSizing:`border-box`,gap:`3rem`,[`@media (min-width: ${UZ}px)`]:{}})),JZ=({children:e,toc:t,lang:n=`en`})=>EK.createElement(qZ,{className:`sbdocs sbdocs-wrapper`},t,EK.createElement(KZ,{className:`sbdocs sbdocs-content`,lang:n},e)),{logger:YZ}=__STORYBOOK_MODULE_CLIENT_LOGGER__,XZ=typeof document<`u`?DK.useLayoutEffect:()=>{},ZZ={prefix:String(Math.round(Math.random()*1e10)),current:0},QZ=kK.createContext(ZZ),$Z=kK.createContext(!1),typeof window<`u`&&window.document&&window.document.createElement,eQ=new WeakMap,tQ=typeof kK.useId==`function`?CW:SW,nQ=!!(typeof window<`u`&&window.document&&window.document.createElement),rQ=new Map,typeof FinalizationRegistry<`u`&&(iQ=new FinalizationRegistry(e=>{rQ.delete(e)})),aQ=null,oQ=FW(function(){return PW(/^Mac/i)}),sQ=FW(function(){return PW(/^iPad/i)||oQ()&&navigator.maxTouchPoints>1}),cQ=FW(function(){return NW(/AppleWebKit/i)&&!lQ()}),lQ=FW(function(){return NW(/Chrome/i)}),uQ=FW(function(){return NW(/Firefox/i)}),(0,AK.createContext)({isNative:!0,open:RW,useHref:e=>e}),IW.isOpening=!1,dQ=new Map,fQ=new Set,typeof document<`u`&&(document.readyState===`loading`?document.addEventListener(`DOMContentLoaded`,zW):zW()),jK.useInsertionEffect,typeof document<`u`&&window.visualViewport,typeof Element<`u`&&`checkVisibility`in Element.prototype,pQ=[`input:not([disabled]):not([type=hidden])`,`select:not([disabled])`,`textarea:not([disabled])`,`button:not([disabled])`,`a[href]`,`area[href]`,`summary`,`iframe`,`object`,`embed`,`audio[controls]`,`video[controls]`,`[contenteditable]:not([contenteditable^="false"])`,`permission`],pQ.join(`:not([hidden]),`)+``,pQ.push(`[tabindex]:not([tabindex="-1"]):not([disabled])`),pQ.join(`:not([hidden]):not([tabindex="-1"]),`),typeof document<`u`&&(MK.useInsertionEffect??MK.useLayoutEffect),globalThis&&globalThis.__DOCS_CONTEXT__===void 0&&(globalThis.__DOCS_CONTEXT__=(0,NK.createContext)(null),globalThis.__DOCS_CONTEXT__.displayName=`DocsContext`),mQ=globalThis?globalThis.__DOCS_CONTEXT__:(0,NK.createContext)(null),{InvalidBlockOfPropError:hQ}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__,gQ=Symbol(`mdxWrappedBlock`),_Q=IK.createContext(null),vQ=(e,t)=>{let n=r=>{let i=IK.useContext(_Q),a=te()[e];if(i?.has(e)||a===n)return IK.createElement(t,{...r});if(a){let t=new Set(i??[]);return t.add(e),IK.createElement(_Q.Provider,{value:t},IK.createElement(a,{...r}))}return IK.createElement(t,{...r})};return n.displayName=e,n[gQ]=!0,n},yQ=(e,t)=>{let{of:n,meta:r}=e;if(`of`in e&&n===void 0)throw new hQ;return r&&t.referenceMeta(r,!1),t.resolveOf(n||`story`,[`story`]).story.id},bQ=(e,t,n)=>{let{parameters:r={}}=t||{},{docs:i={}}=r,a=i.story||{};return i.disable?null:e.inline??a.inline??!1?{story:t,inline:!0,height:e.height??a.height,autoplay:e.autoplay??a.autoplay??!1,forceInitialArgs:!!e.__forceInitialArgs,primary:!!e.__primary,renderStoryToElement:n.renderStoryToElement}:{story:t,inline:!1,height:e.height??a.height??a.iframeHeight??`100px`,primary:!!e.__primary}},xQ=(e={__forceInitialArgs:!1,__primary:!1})=>{let t=(0,PK.useContext)(mQ),n=BW(yQ(e,t),t);if(!n)return PK.createElement(NQ,null);let r=bQ(e,n,t);return r?PK.createElement(MQ,{...r}):null},SQ=vQ(`Story`,xQ),CQ=e=>({borderRadius:e.appBorderRadius,background:e.background.content,boxShadow:e.base===`light`?`rgba(0, 0, 0, 0.10) 0 1px 3px 0`:`rgba(0, 0, 0, 0.20) 0 2px 5px 0`,border:`1px solid ${e.appBorderColor}`}),wQ=(e,t={})=>{let[n,r]=(globalThis.PREVIEW_URL||`iframe.html`).split(`?`),i=new URLSearchParams(r||``);return Object.entries(t).forEach(([e,t])=>{i.set(e,t)}),i.set(`id`,e),`${n}?${i.toString()}`},{window:TQ}=globalThis,EQ=class extends RK.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{id:e}=this.props;this.iframe=TQ.document.getElementById(e)}shouldComponentUpdate(e){let{scale:t}=e;return t!==this.props.scale&&this.setIframeBodyStyle({width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:`top left`}),!1}setIframeBodyStyle(e){return Object.assign(this.iframe.contentDocument.body.style,e)}render(){let{id:e,title:t,src:n,allowFullScreen:r,scale:i,...a}=this.props;return RK.createElement(`iframe`,{id:e,title:t,src:n,...r?{allow:`fullscreen`}:{},loading:`lazy`,...a})}},DQ=(0,zK.createContext)({scale:1}),OQ=({story:e,primary:t})=>`story--${e.id}${t?`--primary`:``}`,kQ=e=>{let t=(0,LK.useRef)(),[n,r]=(0,LK.useState)(!0),[i,a]=(0,LK.useState)(),{story:o,height:s,autoplay:c,forceInitialArgs:l,renderStoryToElement:u}=e;return(0,LK.useEffect)(()=>{if(!(o&&t.current))return()=>{};let e=t.current,n=u(o,e,{showMain:()=>{},showError:({title:e,description:t})=>a(Error(`${e} - ${t}`)),showException:e=>a(e)},{autoplay:c,forceInitialArgs:l});return r(!1),()=>{Promise.resolve().then(()=>n())}},[c,u,o]),i?LK.createElement(`pre`,null,LK.createElement(fR,{error:i})):LK.createElement(LK.Fragment,null,s?LK.createElement(`style`,null,`#${OQ(e)} { min-height: ${s}; transform: translateZ(0); overflow: auto }`):null,n&&LK.createElement(NQ,null),LK.createElement(`div`,{ref:t,id:`${OQ(e)}-inner`,"data-name":o.name,lang:o.parameters?.htmlLang||`en`}))},AQ=({story:e,height:t=`500px`})=>LK.createElement(`div`,{style:{width:`100%`,height:t}},LK.createElement(DQ.Consumer,null,({scale:t})=>LK.createElement(EQ,{key:`iframe`,id:`iframe--${e.id}`,title:e.name,src:wQ(e.id,{viewMode:`story`}),allowFullScreen:!0,scale:t,style:{width:`100%`,height:`100%`,border:`0 none`}}))),jQ=N.strong(({theme:e})=>({color:e.color.orange})),MQ=e=>{let{inline:t,story:n}=e;return t&&!e.autoplay&&n.usesMount?LK.createElement(jQ,null,`This story mounts inside of play. Set`,` `,LK.createElement(`a`,{href:`https://storybook.js.org/docs/api/doc-blocks/doc-block-story?ref=ui#autoplay`},`autoplay`),` `,`to true to view this story.`):LK.createElement(`div`,{id:OQ(e),className:`sb-story sb-unstyled`,"data-story-block":`true`},t?LK.createElement(kQ,{...e}):LK.createElement(AQ,{...e}))},NQ=()=>LK.createElement(QV,null),PQ=N(gV)({position:`absolute`,left:0,right:0,top:0,transition:`transform .2s linear`,display:`flex`,alignItems:`center`}),FQ=N.div({display:`flex`,alignItems:`center`,gap:4}),IQ=N.div(({theme:e})=>({width:14,height:14,borderRadius:2,margin:`0 7px`,backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),LQ=({isLoading:e,storyId:t,zoom:n,resetZoom:r,onReloadStory:i,...a})=>BK.createElement(PQ,{innerStyle:{gap:4,paddingInline:7,justifyContent:`space-between`},lang:`en`,...a},BK.createElement(FQ,{key:`left`},e?[1,2,3].map(e=>BK.createElement(IQ,{key:e})):BK.createElement(BK.Fragment,null,i&&BK.createElement(HI,{padding:`small`,variant:`ghost`,key:`reload`,onClick:i,ariaLabel:`Reload story`},BK.createElement(ot,null)),BK.createElement(HI,{padding:`small`,variant:`ghost`,key:`zoomin`,onClick:e=>{e.preventDefault(),n(.8)},ariaLabel:`Zoom in`},BK.createElement(Re,null)),BK.createElement(HI,{padding:`small`,variant:`ghost`,key:`zoomout`,onClick:e=>{e.preventDefault(),n(1.25)},ariaLabel:`Zoom out`},BK.createElement(ze,null)),BK.createElement(HI,{padding:`small`,variant:`ghost`,key:`zoomreset`,onClick:e=>{e.preventDefault(),r()},ariaLabel:`Reset zoom`},BK.createElement(Be,null)))),e?BK.createElement(FQ,{key:`right`},BK.createElement(IQ,null)):t&&BK.createElement(FQ,{key:`right`},BK.createElement(HI,{asChild:!0,padding:`small`,variant:`ghost`,key:`opener`,ariaLabel:`Open canvas in new tab`},BK.createElement(`a`,{href:wQ(t),target:`_blank`,rel:`noopener noreferrer`},BK.createElement(Qe,null))))),RQ=N.div(({isColumn:e,columns:t,layout:n})=>({display:e||!t?`block`:`flex`,position:`relative`,flexWrap:`wrap`,overflow:`auto`,flexDirection:e?`column`:`row`,"& .innerZoomElementWrapper > *":e?{width:n===`fullscreen`?`100%`:`calc(100% - 20px)`,display:`block`}:{maxWidth:n===`fullscreen`?`100%`:`calc(100% - 20px)`,display:`inline-block`}}),({layout:e=`padded`,inline:t})=>e===`centered`||e===`padded`?{padding:t?`32px 22px`:`0px`,"& .innerZoomElementWrapper > *":{width:`auto`,border:`8px solid transparent!important`}}:{},({layout:e=`padded`,inline:t})=>e===`centered`&&t?{display:`flex`,justifyContent:`center`,justifyItems:`center`,alignContent:`center`,alignItems:`center`}:{},({columns:e})=>e&&e>1?{".innerZoomElementWrapper > *":{minWidth:`calc(100% / ${e} - 20px)`}}:{}),zQ=N(LB)({marginTop:-40,marginBottom:40}),BQ=N(TU)(({theme:e})=>({margin:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:e.appBorderRadius,borderBottomRightRadius:e.appBorderRadius,border:`none`,background:e.base===`light`?`rgba(0, 0, 0, 0.85)`:mU(.05,e.background.content),color:e.color.lightest,button:{background:e.base===`light`?`rgba(0, 0, 0, 0.85)`:mU(.05,e.background.content)}})),VQ=N.div(({theme:e})=>({position:`relative`,overflow:`hidden`,margin:`25px 0 40px`,...CQ(e),"h3 + &":{marginTop:`16px`}}),({withToolbar:e})=>e&&{paddingTop:40}),HQ=N(LQ)({position:`absolute`,top:0,left:0,right:0,height:40}),UQ=2e3,WQ=({isLoading:e,isColumn:t,columns:n,children:r,withSource:i,withToolbar:o=!1,isExpanded:s=!1,additionalActions:c,className:l,layout:u=`padded`,inline:d=!1,onReloadStory:f,...p})=>{let[m,h]=(0,Z.useState)(s),[g,_]=(0,Z.useState)(null),[v,y]=(0,Z.useState)(1),b=(0,Z.useMemo)(()=>c?[...c]:[],[c]),x=OW(),S=[l,`sbdocs`,`sbdocs-preview`,`sb-unstyled`],C=(0,Z.useContext)(mQ),w=(0,Z.useCallback)(async e=>{let{createCopyToClipboardFunction:t}=await a(async()=>{let{createCopyToClipboardFunction:e}=await Promise.resolve().then(()=>(rH(),aS));return{createCopyToClipboardFunction:e}},void 0,import.meta.url);await t()(e)},[]),T=(0,Z.useCallback)(async()=>{try{await w(i?.code??``),_(`Copied!`)}catch(e){YZ.error(e),_(`Copy error!`)}globalThis.window.setTimeout(()=>_(null),UQ)},[w,i?.code]),E=HW(r),D=!!(i&&i.error),O=!!(i&&!i.error);return Z.createElement(Z.Fragment,null,Z.createElement(VQ,{withSource:i,withToolbar:o,...p,className:S.join(` `)},o&&Z.createElement(HQ,{isLoading:e,border:!0,zoom:e=>y(v*e),resetZoom:()=>y(1),storyId:!e&&E?yQ(E,C):void 0,onReloadStory:f}),Z.createElement(DQ.Provider,{value:{scale:v}},Z.createElement(RQ,{isColumn:t||!Array.isArray(r),columns:n,layout:u,inline:d,className:`docs-story`},Z.createElement(nR.Element,{centered:u===`centered`,scale:d?v:1},Array.isArray(r)?r.map((e,t)=>Z.createElement(`div`,{key:t},e)):Z.createElement(`div`,null,r)))),O&&m&&Z.createElement(`div`,{id:x},Z.createElement(BQ,{...i,dark:!0,copyable:!1}))),(i||b.length>0)&&Z.createElement(zQ,{className:`sbdocs sbdocs-preview-actions`,innerStyle:{paddingInline:0}},D&&Z.createElement(HI,{lang:`en`,ariaLabel:!1,disabled:!0,variant:`ghost`,className:`docblock-code-toggle docblock-code-toggle--disabled`},Z.createElement(We,null),` No code available`),O&&Z.createElement(Z.Fragment,null,Z.createElement(GI,{lang:`en`,ariaLabel:!1,pressed:m,"aria-expanded":m,"aria-controls":x,onClick:()=>h(!m),variant:`ghost`,className:`docblock-code-toggle${m?` docblock-code-toggle--expanded`:``}`},Z.createElement(We,null),` `,m?`Hide code`:`Show code`),Z.createElement(HI,{lang:`en`,ariaLabel:!1,variant:`ghost`,onClick:T},Z.createElement(Ue,null),` `,g??`Copy code`)),b.map(({title:e,ariaLabel:t,className:n,onClick:r,disabled:i},a)=>Z.createElement(HI,{key:a,ariaLabel:t??!1,className:n,onClick:r,disabled:!!i,variant:`ghost`},e))))},N(WQ)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}})),GQ=N(FV)({height:`fit-content`}),KQ=({tabs:e,...t})=>{let n=Object.entries(e);if(n.length===1)return VK.createElement(VZ,{...n[0][1],...t});let r=n.map(([e,n],r)=>{let i=r===0?t:{sort:t.sort,docsLang:t.docsLang};return{id:`prop_table_div_${e}`,title:e,children:VK.createElement(VZ,{inTabPanel:!0,...n,...i})}});return VK.createElement(GQ,{tabs:r})},N.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base===`light`?vU(.4,e.color.defaultText):vU(.6,e.color.defaultText)})),N.div({overflow:`hidden`,whiteSpace:`nowrap`,textOverflow:`ellipsis`}),N.div({display:`flex`,flexDirection:`row`,alignItems:`baseline`,"&:not(:last-child)":{marginBottom:`1rem`}}),N.div(Wj,({theme:e})=>({...CQ(e),margin:`25px 0 40px`,padding:`30px 20px`})),N.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText})),N.div(({theme:e})=>({color:vU(.3,e.color.defaultText)})),N.div({flex:`0 0 30%`,lineHeight:`20px`,marginTop:5}),N.div(({theme:e})=>({flex:1,textAlign:`center`,fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:`hidden`,color:vU(.3,e.color.defaultText),"> div":{display:`inline-block`,overflow:`hidden`,maxWidth:`100%`,textOverflow:`ellipsis`},span:{display:`block`,marginTop:2}})),N.div({display:`flex`,flexDirection:`row`}),N.div(({background:e})=>({position:`relative`,flex:1,"&::before":{position:`absolute`,top:0,left:0,width:`100%`,height:`100%`,background:e,content:`""`}})),N.div(({theme:e})=>({...CQ(e),display:`flex`,flexDirection:`row`,height:50,marginBottom:5,overflow:`hidden`,backgroundColor:`white`,backgroundImage:`repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)`,backgroundClip:`padding-box`})),N.div({display:`flex`,flexDirection:`column`,flex:1,position:`relative`,marginBottom:30}),N.div({flex:1,display:`flex`,flexDirection:`row`}),N.div({display:`flex`,alignItems:`flex-start`}),N.div({flex:`0 0 30%`}),N.div({flex:1}),N.div(({theme:e})=>({display:`flex`,flexDirection:`row`,alignItems:`center`,paddingBottom:20,fontWeight:e.typography.weight.bold,color:vU(.3,e.color.defaultText)})),N.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:`20px`,display:`flex`,flexDirection:`column`})),N.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s1,color:e.color.defaultText,marginLeft:10,lineHeight:1.2,display:`-webkit-box`,overflow:`hidden`,wordBreak:`break-word`,textOverflow:`ellipsis`,WebkitLineClamp:2,WebkitBoxOrient:`vertical`})),N.div(({theme:e})=>({...CQ(e),overflow:`hidden`,height:40,width:40,display:`flex`,alignItems:`center`,justifyContent:`center`,flex:`none`,"> img, > svg":{width:20,height:20}})),N.div({display:`inline-flex`,flexDirection:`row`,alignItems:`center`,width:`100%`}),N.div({display:`grid`,gridTemplateColumns:`repeat(auto-fill, minmax(140px, 1fr))`,gridGap:`8px 16px`,gridAutoFlow:`row dense`,gridAutoRows:50}),{NAVIGATE_URL:qQ}=__STORYBOOK_MODULE_CORE_EVENTS__,JQ={tocSelector:`.js-toc`,tocElement:null,contentSelector:`.js-toc-content`,contentElement:null,headingSelector:`h1, h2, h3`,ignoreSelector:`.js-toc-ignore`,hasInnerContainers:!1,linkClass:`toc-link`,extraLinkClasses:``,activeLinkClass:`is-active-link`,listClass:`toc-list`,extraListClasses:``,isCollapsedClass:`is-collapsed`,collapsibleClass:`is-collapsible`,listItemClass:`toc-list-item`,activeListItemClass:`is-active-li`,collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(e){},headingsOffset:1,enableUrlHashUpdateOnScroll:!1,scrollHandlerType:`auto`,scrollHandlerTimeout:50,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:`is-position-fixed`,fixedSidebarOffset:`auto`,includeHtml:!1,includeTitleTags:!1,onClick:function(e){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:``,disableTocScrollSync:!1,tocScrollingWrapper:null,tocScrollOffset:30,bottomModeThreshold:30},Q={},e$=Object.prototype.hasOwnProperty,t$={destroy:YW,init:JW,refresh:XW},n$=N.aside(()=>({width:`10rem`,"@media (max-width: 768px)":{display:`none`}})),r$=N.nav(({theme:e})=>({position:`fixed`,bottom:0,top:0,width:`10rem`,paddingTop:`4rem`,paddingBottom:`2rem`,overflowY:`auto`,fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,WebkitFontSmoothing:`antialiased`,MozOsxFontSmoothing:`grayscale`,WebkitTapHighlightColor:`rgba(0, 0, 0, 0)`,WebkitOverflowScrolling:`touch`,"& *":{boxSizing:`border-box`},"& > .toc-wrapper > .toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`}}},"& .toc-list-item":{position:`relative`,listStyleType:`none`,marginLeft:20,paddingTop:3,paddingBottom:3},"& .toc-list-item::before":{content:`""`,position:`absolute`,height:`100%`,top:0,left:0,transform:`translateX(calc(-2px - 20px))`,borderLeft:`solid 2px ${e.color.mediumdark}`,opacity:0,transition:`opacity 0.2s`},"& .toc-list-item.is-active-li::before":{opacity:1},"& .toc-list-item > a":{color:e.color.defaultText,textDecoration:`none`},"& .toc-list-item.is-active-li > a":{fontWeight:600,color:e.color.secondary,textDecoration:`none`}})),i$=N.p(({theme:e})=>({fontWeight:600,fontSize:`0.875em`,color:e.color.defaultText,textTransform:`uppercase`,marginBottom:10})),a$=({headingId:e,title:t})=>typeof t==`string`||!t?HK.createElement(i$,{as:`h2`,id:e,className:t?``:`sb-sr-only`,lang:t?void 0:`en`},t||`Table of contents`):HK.createElement(`div`,{id:e},t),o$=({title:e,disable:t,headingSelector:n,contentsSelector:r,ignoreSelector:i,unsafeTocbotOptions:a,channel:o,className:s})=>{(0,HK.useEffect)(()=>{if(t)return()=>{};let e={tocSelector:`.toc-wrapper`,contentSelector:r??`.sbdocs-content`,headingSelector:n??`h3`,ignoreSelector:i??`.docs-story *, .skip-toc`,headingsOffset:40,scrollSmoothOffset:-40,orderedList:!1,onClick:e=>{if(e.preventDefault(),e.currentTarget instanceof HTMLAnchorElement){let[,t]=e.currentTarget.href.split(`#`);t&&o.emit(qQ,`#${t}`)}},...a},s=setTimeout(()=>t$.init(e),100);return()=>{clearTimeout(s),t$.destroy()}},[o,t,i,r,n,a]);let c=`table-of-contents`;return HK.createElement(n$,{className:s},t?null:HK.createElement(r$,{"aria-labelledby":c},HK.createElement(a$,{headingId:c,title:e}),HK.createElement(`div`,{className:`toc-wrapper`})))},s$=e=>`anchor--${e}`,c$=({storyId:e,children:t})=>UK.createElement(`div`,{id:s$(e),className:`sb-anchor`},t),{InvalidBlockOfPropError:l$}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__,{filterArgTypes:u$}=__STORYBOOK_MODULE_PREVIEW_API__,{getService:d$}=__STORYBOOK_MODULE_PREVIEW_API__,f$=(e,t)=>(0,qK.useContext)(mQ).resolveOf(e,t),p$=e=>e.split(`-`).map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(``),m$=e=>{if(e)return typeof e==`string`?e.includes(`-`)?p$(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name},h$=e=>{let{argTypes:t,parameters:n,component:r,subcomponents:i,filterProps:a}=dG(e);return t?fG({mainName:m$(r),mainRows:t,subcomponentRows:cG(i,n),docsLang:n?.docs?.lang,...a}):null},g$=e=>{let{argTypes:t,parameters:n,componentId:r,storyId:i,initialArgs:a,filterProps:o,component:s}=dG(e),{rows:c,isInitialLoading:l}=lG({componentId:r,storyId:i,parameters:n,initialArgs:a,customArgTypes:t});return l?WK.createElement(VZ,{isLoading:!0}):c?fG({mainName:m$(s)??c.serviceComponentName,mainRows:c.mainRows,subcomponentRows:c.subcomponentRows,docsLang:n?.docs?.lang,...o}):null},_$=e=>globalThis.FEATURES?.experimentalDocgenServer?WK.createElement(g$,{...e}):WK.createElement(h$,{...e}),v$=vQ(`ArgTypes`,_$),{FORCE_REMOUNT:y$}=__STORYBOOK_MODULE_CORE_EVENTS__,{InvalidBlockOfPropError:b$}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__,{InvalidBlockOfPropError:x$}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__,S$=Object.create,C$=Object.defineProperty,w$=Object.getOwnPropertyDescriptor,T$=Object.getOwnPropertyNames,E$=Object.getPrototypeOf,D$=Object.prototype.hasOwnProperty,$=(e,t)=>function(){return t||(0,e[T$(e)[0]])((t={exports:{}}).exports,t),t.exports},O$=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let i of T$(t))!D$.call(e,i)&&i!==n&&C$(e,i,{get:()=>t[i],enumerable:!(r=w$(t,i))||r.enumerable});return e},k$=(e,t,n)=>(n=e==null?{}:S$(E$(e)),O$(t||!e||!e.__esModule?C$(n,`default`,{value:e,enumerable:!0}):n,e)),A$=[`bubbles`,`cancelBubble`,`cancelable`,`composed`,`currentTarget`,`defaultPrevented`,`eventPhase`,`isTrusted`,`returnValue`,`srcElement`,`target`,`timeStamp`,`type`],j$=[`detail`],M$=$({"node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js"(e,t){t.exports=Object}}),N$=$({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js"(e,t){t.exports=Error}}),P$=$({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js"(e,t){t.exports=EvalError}}),F$=$({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js"(e,t){t.exports=RangeError}}),I$=$({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js"(e,t){t.exports=ReferenceError}}),L$=$({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js"(e,t){t.exports=SyntaxError}}),R$=$({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js"(e,t){t.exports=TypeError}}),z$=$({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js"(e,t){t.exports=URIError}}),B$=$({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js"(e,t){t.exports=Math.abs}}),V$=$({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js"(e,t){t.exports=Math.floor}}),H$=$({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js"(e,t){t.exports=Math.max}}),U$=$({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js"(e,t){t.exports=Math.min}}),W$=$({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js"(e,t){t.exports=Math.pow}}),G$=$({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js"(e,t){t.exports=Math.round}}),K$=$({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js"(e,t){t.exports=Number.isNaN||function(e){return e!==e}}}),q$=$({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js"(e,t){var n=K$();t.exports=function(e){return n(e)||e===0?e:e<0?-1:1}}}),J$=$({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js"(e,t){t.exports=Object.getOwnPropertyDescriptor}}),Y$=$({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js"(e,t){var n=J$();if(n)try{n([],`length`)}catch{n=null}t.exports=n}}),X$=$({"node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js"(e,t){var n=Object.defineProperty||!1;if(n)try{n({},`a`,{value:1})}catch{n=!1}t.exports=n}}),Z$=$({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js"(e,t){t.exports=function(){if(typeof Symbol!=`function`||typeof Object.getOwnPropertySymbols!=`function`)return!1;if(typeof Symbol.iterator==`symbol`)return!0;var e={},t=Symbol(`test`),n=Object(t);if(typeof t==`string`||Object.prototype.toString.call(t)!==`[object Symbol]`||Object.prototype.toString.call(n)!==`[object Symbol]`)return!1;var r=42;for(var i in e[t]=r,e)return!1;if(typeof Object.keys==`function`&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames==`function`&&Object.getOwnPropertyNames(e).length!==0)return!1;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor==`function`){var o=Object.getOwnPropertyDescriptor(e,t);if(o.value!==r||o.enumerable!==!0)return!1}return!0}}}),Q$=$({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js"(e,t){var n=typeof Symbol<`u`&&Symbol,r=Z$();t.exports=function(){return typeof n!=`function`||typeof Symbol!=`function`||typeof n(`foo`)!=`symbol`||typeof Symbol(`bar`)!=`symbol`?!1:r()}}}),$$=$({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js"(e,t){t.exports=typeof Reflect<`u`&&Reflect.getPrototypeOf||null}}),e1=$({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js"(e,t){t.exports=M$().getPrototypeOf||null}}),t1=$({"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js"(e,t){var n=Object.prototype.toString,r=Math.max,i=`[object Function]`,a=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var i=0;i<t.length;i+=1)n[i+e.length]=t[i];return n},o=function(e,t){for(var n=[],r=t||0,i=0;r<e.length;r+=1,i+=1)n[i]=e[r];return n},s=function(e,t){for(var n=``,r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n};t.exports=function(e){var t=this;if(typeof t!=`function`||n.apply(t)!==i)throw TypeError(`Function.prototype.bind called on incompatible `+t);for(var c=o(arguments,1),l,u=function(){if(this instanceof l){var n=t.apply(this,a(c,arguments));return Object(n)===n?n:this}return t.apply(e,a(c,arguments))},d=r(0,t.length-c.length),f=[],p=0;p<d;p++)f[p]=`$`+p;if(l=Function(`binder`,`return function (`+s(f,`,`)+`){ return binder.apply(this,arguments); }`)(u),t.prototype){var m=function(){};m.prototype=t.prototype,l.prototype=new m,m.prototype=null}return l}}}),n1=$({"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"(e,t){var n=t1();t.exports=Function.prototype.bind||n}}),r1=$({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js"(e,t){t.exports=Function.prototype.call}}),i1=$({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js"(e,t){t.exports=Function.prototype.apply}}),a1=$({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js"(e,t){t.exports=typeof Reflect<`u`&&Reflect&&Reflect.apply}}),o1=$({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js"(e,t){var n=n1(),r=i1(),i=r1();t.exports=a1()||n.call(i,r)}}),s1=$({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js"(e,t){var n=n1(),r=R$(),i=r1(),a=o1();t.exports=function(e){if(e.length<1||typeof e[0]!=`function`)throw new r(`a function is required`);return a(n,i,e)}}}),c1=$({"node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js"(e,t){var n=s1(),r=Y$(),i;try{i=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!=`object`||!(`code`in e)||e.code!==`ERR_PROTO_ACCESS`)throw e}var a=!!i&&r&&r(Object.prototype,`__proto__`),o=Object,s=o.getPrototypeOf;t.exports=a&&typeof a.get==`function`?n([a.get]):typeof s==`function`&&(function(e){return s(e==null?e:o(e))})}}),l1=$({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js"(e,t){var n=$$(),r=e1(),i=c1();t.exports=n?function(e){return n(e)}:r?function(e){if(!e||typeof e!=`object`&&typeof e!=`function`)throw TypeError(`getProto: not an object`);return r(e)}:i?function(e){return i(e)}:null}}),u1=$({"node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js"(e,t){var n=Function.prototype.call,r=Object.prototype.hasOwnProperty;t.exports=n1().call(n,r)}}),d1=$({"node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js"(e,t){var n,r=M$(),i=N$(),a=P$(),o=F$(),s=I$(),c=L$(),l=R$(),u=z$(),d=B$(),f=V$(),p=H$(),m=U$(),h=W$(),g=G$(),_=q$(),v=Function,y=function(e){try{return v(`"use strict"; return (`+e+`).constructor;`)()}catch{}},b=Y$(),x=X$(),S=function(){throw new l},C=b?(function(){try{return arguments.callee,S}catch{try{return b(arguments,`callee`).get}catch{return S}}})():S,w=Q$()(),T=l1(),E=e1(),D=$$(),O=i1(),k=r1(),A={},j=typeof Uint8Array>`u`||!T?n:T(Uint8Array),M={__proto__:null,"%AggregateError%":typeof AggregateError>`u`?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>`u`?n:ArrayBuffer,"%ArrayIteratorPrototype%":w&&T?T([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":A,"%AsyncGenerator%":A,"%AsyncGeneratorFunction%":A,"%AsyncIteratorPrototype%":A,"%Atomics%":typeof Atomics>`u`?n:Atomics,"%BigInt%":typeof BigInt>`u`?n:BigInt,"%BigInt64Array%":typeof BigInt64Array>`u`?n:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>`u`?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>`u`?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":a,"%Float16Array%":typeof Float16Array>`u`?n:Float16Array,"%Float32Array%":typeof Float32Array>`u`?n:Float32Array,"%Float64Array%":typeof Float64Array>`u`?n:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>`u`?n:FinalizationRegistry,"%Function%":v,"%GeneratorFunction%":A,"%Int8Array%":typeof Int8Array>`u`?n:Int8Array,"%Int16Array%":typeof Int16Array>`u`?n:Int16Array,"%Int32Array%":typeof Int32Array>`u`?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":w&&T?T(T([][Symbol.iterator]())):n,"%JSON%":typeof JSON==`object`?JSON:n,"%Map%":typeof Map>`u`?n:Map,"%MapIteratorPrototype%":typeof Map>`u`||!w||!T?n:T(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":r,"%Object.getOwnPropertyDescriptor%":b,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>`u`?n:Promise,"%Proxy%":typeof Proxy>`u`?n:Proxy,"%RangeError%":o,"%ReferenceError%":s,"%Reflect%":typeof Reflect>`u`?n:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>`u`?n:Set,"%SetIteratorPrototype%":typeof Set>`u`||!w||!T?n:T(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>`u`?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":w&&T?T(``[Symbol.iterator]()):n,"%Symbol%":w?Symbol:n,"%SyntaxError%":c,"%ThrowTypeError%":C,"%TypedArray%":j,"%TypeError%":l,"%Uint8Array%":typeof Uint8Array>`u`?n:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>`u`?n:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>`u`?n:Uint16Array,"%Uint32Array%":typeof Uint32Array>`u`?n:Uint32Array,"%URIError%":u,"%WeakMap%":typeof WeakMap>`u`?n:WeakMap,"%WeakRef%":typeof WeakRef>`u`?n:WeakRef,"%WeakSet%":typeof WeakSet>`u`?n:WeakSet,"%Function.prototype.call%":k,"%Function.prototype.apply%":O,"%Object.defineProperty%":x,"%Object.getPrototypeOf%":E,"%Math.abs%":d,"%Math.floor%":f,"%Math.max%":p,"%Math.min%":m,"%Math.pow%":h,"%Math.round%":g,"%Math.sign%":_,"%Reflect.getPrototypeOf%":D};if(T)try{null.error}catch(e){ee=T(T(e)),M[`%Error.prototype%`]=ee}var ee,te=function e(t){var n;if(t===`%AsyncFunction%`)n=y(`async function () {}`);else if(t===`%GeneratorFunction%`)n=y(`function* () {}`);else if(t===`%AsyncGeneratorFunction%`)n=y(`async function* () {}`);else if(t===`%AsyncGenerator%`){var r=e(`%AsyncGeneratorFunction%`);r&&(n=r.prototype)}else if(t===`%AsyncIteratorPrototype%`){var i=e(`%AsyncGenerator%`);i&&T&&(n=T(i.prototype))}return M[t]=n,n},ne={__proto__:null,"%ArrayBufferPrototype%":[`ArrayBuffer`,`prototype`],"%ArrayPrototype%":[`Array`,`prototype`],"%ArrayProto_entries%":[`Array`,`prototype`,`entries`],"%ArrayProto_forEach%":[`Array`,`prototype`,`forEach`],"%ArrayProto_keys%":[`Array`,`prototype`,`keys`],"%ArrayProto_values%":[`Array`,`prototype`,`values`],"%AsyncFunctionPrototype%":[`AsyncFunction`,`prototype`],"%AsyncGenerator%":[`AsyncGeneratorFunction`,`prototype`],"%AsyncGeneratorPrototype%":[`AsyncGeneratorFunction`,`prototype`,`prototype`],"%BooleanPrototype%":[`Boolean`,`prototype`],"%DataViewPrototype%":[`DataView`,`prototype`],"%DatePrototype%":[`Date`,`prototype`],"%ErrorPrototype%":[`Error`,`prototype`],"%EvalErrorPrototype%":[`EvalError`,`prototype`],"%Float32ArrayPrototype%":[`Float32Array`,`prototype`],"%Float64ArrayPrototype%":[`Float64Array`,`prototype`],"%FunctionPrototype%":[`Function`,`prototype`],"%Generator%":[`GeneratorFunction`,`prototype`],"%GeneratorPrototype%":[`GeneratorFunction`,`prototype`,`prototype`],"%Int8ArrayPrototype%":[`Int8Array`,`prototype`],"%Int16ArrayPrototype%":[`Int16Array`,`prototype`],"%Int32ArrayPrototype%":[`Int32Array`,`prototype`],"%JSONParse%":[`JSON`,`parse`],"%JSONStringify%":[`JSON`,`stringify`],"%MapPrototype%":[`Map`,`prototype`],"%NumberPrototype%":[`Number`,`prototype`],"%ObjectPrototype%":[`Object`,`prototype`],"%ObjProto_toString%":[`Object`,`prototype`,`toString`],"%ObjProto_valueOf%":[`Object`,`prototype`,`valueOf`],"%PromisePrototype%":[`Promise`,`prototype`],"%PromiseProto_then%":[`Promise`,`prototype`,`then`],"%Promise_all%":[`Promise`,`all`],"%Promise_reject%":[`Promise`,`reject`],"%Promise_resolve%":[`Promise`,`resolve`],"%RangeErrorPrototype%":[`RangeError`,`prototype`],"%ReferenceErrorPrototype%":[`ReferenceError`,`prototype`],"%RegExpPrototype%":[`RegExp`,`prototype`],"%SetPrototype%":[`Set`,`prototype`],"%SharedArrayBufferPrototype%":[`SharedArrayBuffer`,`prototype`],"%StringPrototype%":[`String`,`prototype`],"%SymbolPrototype%":[`Symbol`,`prototype`],"%SyntaxErrorPrototype%":[`SyntaxError`,`prototype`],"%TypedArrayPrototype%":[`TypedArray`,`prototype`],"%TypeErrorPrototype%":[`TypeError`,`prototype`],"%Uint8ArrayPrototype%":[`Uint8Array`,`prototype`],"%Uint8ClampedArrayPrototype%":[`Uint8ClampedArray`,`prototype`],"%Uint16ArrayPrototype%":[`Uint16Array`,`prototype`],"%Uint32ArrayPrototype%":[`Uint32Array`,`prototype`],"%URIErrorPrototype%":[`URIError`,`prototype`],"%WeakMapPrototype%":[`WeakMap`,`prototype`],"%WeakSetPrototype%":[`WeakSet`,`prototype`]},re=n1(),ie=u1(),ae=re.call(k,Array.prototype.concat),oe=re.call(O,Array.prototype.splice),se=re.call(k,String.prototype.replace),ce=re.call(k,String.prototype.slice),le=re.call(k,RegExp.prototype.exec),ue=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,de=/\\(\\)?/g,fe=function(e){var t=ce(e,0,1),n=ce(e,-1);if(t===`%`&&n!==`%`)throw new c("invalid intrinsic syntax, expected closing `%`");if(n===`%`&&t!==`%`)throw new c("invalid intrinsic syntax, expected opening `%`");var r=[];return se(e,ue,function(e,t,n,i){r[r.length]=n?se(i,de,`$1`):t||e}),r},pe=function(e,t){var n=e,r;if(ie(ne,n)&&(r=ne[n],n=`%`+r[0]+`%`),ie(M,n)){var i=M[n];if(i===A&&(i=te(n)),typeof i>`u`&&!t)throw new l(`intrinsic `+e+` exists, but is not available. Please file an issue!`);return{alias:r,name:n,value:i}}throw new c(`intrinsic `+e+` does not exist!`)};t.exports=function(e,t){if(typeof e!=`string`||e.length===0)throw new l(`intrinsic name must be a non-empty string`);if(arguments.length>1&&typeof t!=`boolean`)throw new l(`"allowMissing" argument must be a boolean`);if(le(/^%?[^%]*%?$/,e)===null)throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=fe(e),r=n.length>0?n[0]:``,i=pe(`%`+r+`%`,t),a=i.name,o=i.value,s=!1,u=i.alias;u&&(r=u[0],oe(n,ae([0,1],u)));for(var d=1,f=!0;d<n.length;d+=1){var p=n[d],m=ce(p,0,1),h=ce(p,-1);if((m===`"`||m===`'`||m==="`"||h===`"`||h===`'`||h==="`")&&m!==h)throw new c(`property names with quotes must have matching quotes`);if((p===`constructor`||!f)&&(s=!0),r+=`.`+p,a=`%`+r+`%`,ie(M,a))o=M[a];else if(o!=null){if(!(p in o)){if(!t)throw new l(`base intrinsic for `+e+` exists, but the property is not available.`);return}if(b&&d+1>=n.length){var g=b(o,p);f=!!g,o=f&&`get`in g&&!(`originalValue`in g.get)?g.get:o[p]}else f=ie(o,p),o=o[p];f&&!s&&(M[a]=o)}}return o}}}),f1=$({"node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js"(e,t){var n=d1(),r=s1(),i=r([n(`%String.prototype.indexOf%`)]);t.exports=function(e,t){var a=n(e,!!t);return typeof a==`function`&&i(e,`.prototype.`)>-1?r([a]):a}}}),p1=$({"node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js"(e,t){var n=Z$();t.exports=function(){return n()&&!!Symbol.toStringTag}}}),m1=$({"node_modules/.pnpm/is-regex@1.2.1/node_modules/is-regex/index.js"(e,t){var n=f1(),r=p1()(),i=u1(),a=Y$(),o;r?(s=n(`RegExp.prototype.exec`),c={},l=function(){throw c},u={toString:l,valueOf:l},typeof Symbol.toPrimitive==`symbol`&&(u[Symbol.toPrimitive]=l),o=function(e){if(!e||typeof e!=`object`)return!1;var t=a(e,`lastIndex`);if(!(t&&i(t,`value`)))return!1;try{s(e,u)}catch(e){return e===c}}):(d=n(`Object.prototype.toString`),f=`[object RegExp]`,o=function(e){return!e||typeof e!=`object`&&typeof e!=`function`?!1:d(e)===f});var s,c,l,u,d,f;t.exports=o}}),h1=$({"node_modules/.pnpm/is-function@1.0.2/node_modules/is-function/index.js"(e,t){t.exports=r;var n=Object.prototype.toString;function r(e){if(!e)return!1;var t=n.call(e);return t===`[object Function]`||typeof e==`function`&&t!==`[object RegExp]`||typeof window<`u`&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)}}}),g1=$({"node_modules/.pnpm/safe-regex-test@1.1.0/node_modules/safe-regex-test/index.js"(e,t){var n=f1(),r=m1(),i=n(`RegExp.prototype.exec`),a=R$();t.exports=function(e){if(!r(e))throw new a("`regex` must be a RegExp");return function(t){return i(e,t)!==null}}}}),_1=$({"node_modules/.pnpm/is-symbol@1.1.1/node_modules/is-symbol/index.js"(e,t){var n=f1(),r=n(`Object.prototype.toString`),i=Q$()(),a=g1();i?(o=n(`Symbol.prototype.toString`),s=a(/^Symbol\(.*\)$/),c=function(e){return typeof e.valueOf()==`symbol`&&s(o(e))},t.exports=function(e){if(typeof e==`symbol`)return!0;if(!e||typeof e!=`object`||r(e)!==`[object Symbol]`)return!1;try{return c(e)}catch{return!1}}):t.exports=function(e){return!1};var o,s,c}}),v1=k$(m1()),y1=k$(h1()),b1=k$(_1()),x1=typeof global==`object`&&global&&global.Object===Object&&global,S1=typeof self==`object`&&self&&self.Object===Object&&self,C1=x1||S1||Function(`return this`)(),w1=C1.Symbol,T1=Object.prototype,E1=T1.hasOwnProperty,D1=T1.toString,O1=w1?w1.toStringTag:void 0,k1=hG,A1=Object.prototype.toString,j1=gG,M1=`[object Null]`,N1=`[object Undefined]`,P1=w1?w1.toStringTag:void 0,F1=_G,I1=w1?w1.prototype:void 0,I1&&I1.toString,L1=vG,R1=`[object AsyncFunction]`,z1=`[object Function]`,B1=`[object GeneratorFunction]`,V1=`[object Proxy]`,H1=yG,U1=C1[`__core-js_shared__`],W1=(function(){var e=/[^.]+$/.exec(U1&&U1.keys&&U1.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``})(),G1=bG,K1=Function.prototype.toString,q1=xG,J1=/[\\^$.*+?()[\]{}|]/g,Y1=/^\[object .+?Constructor\]$/,X1=Function.prototype,Z1=Object.prototype,Q1=X1.toString,$1=Z1.hasOwnProperty,e0=RegExp(`^`+Q1.call($1).replace(J1,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`),t0=SG,n0=CG,r0=wG,i0=TG,a0=r0(Object,`create`),o0=EG,s0=DG,c0=`__lodash_hash_undefined__`,l0=Object.prototype.hasOwnProperty,u0=OG,d0=Object.prototype.hasOwnProperty,f0=kG,p0=`__lodash_hash_undefined__`,m0=AG,jG.prototype.clear=o0,jG.prototype.delete=s0,jG.prototype.get=u0,jG.prototype.has=f0,jG.prototype.set=m0,h0=jG,g0=MG,_0=NG,v0=Array.prototype.splice,y0=PG,b0=FG,x0=IG,S0=LG,RG.prototype.clear=g0,RG.prototype.delete=y0,RG.prototype.get=b0,RG.prototype.has=x0,RG.prototype.set=S0,C0=RG,w0=r0(C1,`Map`),T0=zG,E0=BG,D0=VG,O0=HG,k0=UG,A0=WG,j0=GG,KG.prototype.clear=T0,KG.prototype.delete=O0,KG.prototype.get=k0,KG.prototype.has=A0,KG.prototype.set=j0,M0=KG,N0=`Expected a function`,qG.Cache=M0,P0=qG,F0=500,I0=JG,L0=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,R0=/\\(\\)?/g,I0(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(``),e.replace(L0,function(e,n,r,i){t.push(r?i.replace(R0,`$1`):n||e)}),t}),z0=mG,B0=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,V0=function(e){let t,n,r,i;return function(a,o){try{if(a===``)return i=[],t=new Map([[o,`[]`]]),n=new Map,r=[],o;let s=n.get(this)||this;for(;r.length&&s!==r[0];)r.shift(),i.pop();if(typeof o==`boolean`)return o;if(o===void 0)return e.allowUndefined?`_undefined_`:void 0;if(o===null)return null;if(typeof o==`number`)return o===-1/0?`_-Infinity_`:o===1/0?`_Infinity_`:Number.isNaN(o)?`_NaN_`:o;if(typeof o==`bigint`)return`_bigint_${o.toString()}`;if(typeof o==`string`)return B0.test(o)?e.allowDate?`_date_${o}`:void 0:o;if((0,v1.default)(o))return e.allowRegExp?`_regexp_${o.flags}|${o.source}`:void 0;if((0,y1.default)(o))return;if((0,b1.default)(o)){if(!e.allowSymbol)return;let t=Symbol.keyFor(o);return t===void 0?`_symbol_${o.toString().slice(7,-1)}`:`_gsymbol_${t}`}if(r.length>=e.maxDepth)return Array.isArray(o)?`[Array(${o.length})]`:`[Object]`;if(o===this)return`_duplicate_${JSON.stringify(i)}`;if(o instanceof Error&&e.allowError)return{__isConvertedError__:!0,errorProperties:{...o.cause?{cause:o.cause}:{},...o,name:o.name,message:o.message,stack:o.stack,"_constructor-name_":o.constructor.name}};if(o?.constructor?.name&&o.constructor.name!==`Object`&&!Array.isArray(o)){let e=t.get(o);if(!e){let e={__isClassInstance__:!0,__className__:o.constructor.name,...Object.getOwnPropertyNames(o).reduce((e,t)=>{try{e[t]=o[t]}catch{}return e},{})};return i.push(a),r.unshift(e),t.set(o,JSON.stringify(i)),o!==e&&n.set(o,e),e}return`_duplicate_${e}`}let c=t.get(o);if(!c){let e=Array.isArray(o)?o:YG(o);return i.push(a),r.unshift(e),t.set(o,JSON.stringify(i)),o!==e&&n.set(o,e),e}return`_duplicate_${c}`}catch{return}}},H0={maxDepth:10,space:void 0,allowRegExp:!0,allowDate:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0},U0=(e,t={})=>{let n={...H0,...t};return JSON.stringify(YG(e),V0(n),t.space)},W0=(0,XK.createContext)({sources:{}}),G0=`--unknown--`,K0=({children:e,channel:t})=>{let[n,r]=(0,XK.useState)({});return(0,XK.useEffect)(()=>{let e=(e,t=null,n=!1)=>{let{id:i,args:a=void 0,source:o,format:s}=typeof e==`string`?{id:e,source:t,format:n}:e,c=a?XG(a):G0;r(e=>({...e,[i]:{...e[i],[c]:{code:o||``,format:s}}}))};return t.on(D,e),()=>t.off(D,e)},[]),XK.createElement(W0.Provider,{value:{sources:n}},e)},{getService:q0}=__STORYBOOK_MODULE_PREVIEW_API__,J0={sources:{}},Y0=(e,t,n)=>{let{sources:r}=n,i=r?.[e];return i?.[XG(t)]||i?.[`--unknown--`]||{code:``}},X0=({snippet:e,serviceSnippet:t,storyContext:n,typeFromProps:r,transformFromProps:i})=>{let a=n.parameters??{},{__isArgsStory:o}=a,s=a.docs?.source||{},c=r||s.type||A.AUTO,l=t||e,u=c===A.DYNAMIC||c===A.AUTO&&l&&o?l:s.originalSource||``,d=i??s.transform,f=d?eK(u,d,n):u;return s.code===void 0?f:s.code},Z0=(e,t,n,r=``)=>{let{of:i}=e,a=(0,YK.useMemo)(()=>{if(i)return t.resolveOf(i,[`story`]).story;try{return t.storyById()}catch{}},[t,i]),o=a?t.getStoryContext(a):{},s=e.__forceInitialArgs?o.initialArgs:o.unmappedArgs,c=a?Y0(a.id,s,n):null,l=X0({snippet:c?c.code:``,serviceSnippet:r,storyContext:{...o,args:s},typeFromProps:e.type,transformFromProps:e.transform});if(`of`in e&&i===void 0)throw new x$;let u=a?.parameters?.docs?.source||{},d=e.format,f=e.language??u.language??`jsx`,p=e.dark??u.dark??!1;return e.code===void 0&&!a?{error:`Oh no! The source is not available.`}:e.code===void 0?(d=c?.format??!0,{code:l,format:d,language:f,dark:p}):{code:e.code,format:d,language:f,dark:p}},Q0=({storyId:e,docsContext:t,sourceContext:n,...r})=>{let i=Z0(r,t,n,$G(e).data??``);return YK.createElement(TU,{...i})},$0=e=>{let{of:t}=e,n=(0,YK.useContext)(W0),r=(0,YK.useContext)(mQ),i=(0,YK.useMemo)(()=>{if(t)return r.resolveOf(t,[`story`]).story;try{return r.storyById()}catch{}},[r,t]);if(globalThis.FEATURES?.experimentalDocgenServer&&i?.id)return YK.createElement(Q0,{...e,docsContext:r,sourceContext:n,storyId:i.id});let a=Z0(e,r,n);return YK.createElement(TU,{...a})},e2=e=>{let t=Z0(e,(0,YK.useContext)(mQ),J0);return YK.createElement(TU,{...t})},t2=e=>e.code===void 0?YK.createElement($0,{...e}):YK.createElement(e2,{...e}),vQ(`Source`,t2),n2=e=>{let t=(0,JK.useContext)(mQ),n=(0,JK.useContext)(W0),{of:r,source:i}=e;if(`of`in e&&r===void 0)throw new b$;let{story:a}=f$(r||`story`,[`story`]),o=Z0({...i,...r&&{of:r}},t,n),s=e.layout??a.parameters.layout??a.parameters.docs?.canvas?.layout??`padded`,c=e.withToolbar??a.parameters.docs?.canvas?.withToolbar??!1,l=e.additionalActions??a.parameters.docs?.canvas?.additionalActions,u=e.sourceState??a.parameters.docs?.canvas?.sourceState??`hidden`,d=e.className??a.parameters.docs?.canvas?.className,f=e.story?.inline??a.parameters?.docs?.story?.inline??!1,p=(0,JK.useCallback)(()=>{t.channel.emit(y$,{storyId:a.id})},[t.channel,a.id]);return JK.createElement(WQ,{withSource:u===`none`?void 0:o,isExpanded:u===`shown`,withToolbar:c,additionalActions:l,className:d,layout:s,inline:f,onReloadStory:f?p:void 0},JK.createElement(SQ,{of:r||a.moduleExport,meta:e.meta,...e.story}))},r2=vQ(`Canvas`,n2),{filterArgTypes:i2}=__STORYBOOK_MODULE_PREVIEW_API__,{RESET_STORY_ARGS:a2,STORY_ARGS_UPDATED:o2,UPDATE_STORY_ARGS:s2}=__STORYBOOK_MODULE_CORE_EVENTS__,c2=(e,t)=>{let n=l2(e,t);if(!n)throw Error(`No result when story was defined`);return n},l2=(e,t)=>{let n=e?t.getStoryContext(e):{args:{}},{id:r}=e||{id:`none`},[i,a]=(0,eq.useState)(n.args);(0,eq.useEffect)(()=>{let e=e=>{e.storyId===r&&a(e.args)};return t.channel.on(o2,e),()=>t.channel.off(o2,e)},[r,t.channel]);let o=(0,eq.useCallback)(e=>t.channel.emit(s2,{storyId:r,updatedArgs:e}),[r,t.channel]),s=(0,eq.useCallback)(e=>t.channel.emit(a2,{storyId:r,argNames:e}),[r,t.channel]);return e&&[i,o,s]},{GLOBALS_UPDATED:u2}=__STORYBOOK_MODULE_CORE_EVENTS__,d2=(e,t)=>{let n=t.getStoryContext(e),[r,i]=(0,tq.useState)(n.globals);return(0,tq.useEffect)(()=>{let e=e=>{i(e.globals)};return t.channel.on(u2,e),()=>t.channel.off(u2,e)},[t.channel]),[r]},{Tag:f2}=__STORYBOOK_MODULE_PREVIEW_API__,p2=()=>{let e=(0,nq.useContext)(mQ),t=e.componentStories();return e.filterByAutodocs===!1?t[0]:t.find(e=>e.tags.includes(f2.AUTODOCS))},m2=({mainName:e=`Story`,mainRows:t,subcomponentRows:n,include:r,exclude:i,sort:a,storyId:o,controlsId:s,args:c,globals:l,updateArgs:u,resetArgs:d,docsLang:f})=>{let p=i2(t,r,i);if(Object.keys(n).length===0)return Object.keys(p).length>0||Object.keys(c).length>0?$K.createElement(VZ,{storyId:o,controlsId:s,rows:p,sort:a,args:c,globals:l,updateArgs:u,resetArgs:d,docsLang:f}):null;let m={[e]:{rows:p,sort:a},...Object.fromEntries(Object.entries(n).map(([e,t])=>[e,{rows:i2(t,r,i),sort:a}]))};return $K.createElement(KQ,{tabs:m,sort:a,args:c,globals:l,updateArgs:u,resetArgs:d,storyId:o,controlsId:s,docsLang:f})},h2=({story:e,context:t,...n})=>{let{parameters:r,argTypes:i,component:a,subcomponents:o}=e,s=tK(e,n),c=nK(e,t);return i?$K.createElement(m2,{mainName:m$(a)||`Story`,mainRows:i,subcomponentRows:cG(o,r),...s,storyId:e.id,...c,docsLang:r?.docs?.lang}):null},g2=({story:e,context:t,...n})=>{let{parameters:r,argTypes:i,component:a}=e,o=tK(e,n),s=nK(e,t),{rows:c,isInitialLoading:l}=lG({componentId:e.id.split(`--`)[0],storyId:e.id,parameters:r,initialArgs:e.initialArgs,customArgTypes:i});return l?$K.createElement(VZ,{isLoading:!0}):c?$K.createElement(m2,{mainName:m$(a)??c.serviceComponentName,mainRows:c.mainRows,subcomponentRows:c.subcomponentRows,...o,storyId:e.id,...s,docsLang:r?.docs?.lang}):null},_2=e=>{let{of:t}=e,n=(0,$K.useContext)(mQ),r=p2(),i=t?n.resolveOf(t,[`story`]).story:r;if(!i)return null;let a={...e,story:i,context:n};return globalThis.FEATURES?.experimentalDocgenServer?$K.createElement(g2,{...a}):$K.createElement(h2,{...a})},v2=vQ(`Controls`,_2),{InvalidBlockOfPropError:y2}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__,{NAVIGATE_URL:b2}=__STORYBOOK_MODULE_CORE_EVENTS__,{document:x2}=globalThis,S2=({className:e,children:t,...n})=>{if(typeof e!=`string`&&(typeof t!=`string`||!t.match(/[\n\r]/g)))return aq.createElement(aM,null,t);let r=e&&e.split(`-`);return aq.createElement(TU,{language:r&&r[1]||`text`,format:!1,code:t,...n})},C2=tH.a,w2=({hash:e,children:t})=>{let n=(0,aq.useContext)(mQ);return aq.createElement(C2,{href:e,target:`_self`,onClick:t=>{let r=e.substring(1);x2.getElementById(r)&&rK(n,e)}},t)},T2=e=>{let{href:t,target:n,children:r,...i}=e,a=(0,aq.useContext)(mQ);return!t||n===`_blank`||/^https?:\/\//.test(t)?aq.createElement(C2,{...e}):t.startsWith(`#`)?aq.createElement(w2,{hash:t},r):aq.createElement(C2,{href:t,onClick:e=>{e.button===0&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&(e.preventDefault(),rK(a,e.currentTarget.getAttribute(`href`)||``))},target:n,...i},r)},E2=[`h1`,`h2`,`h3`,`h4`,`h5`,`h6`],D2=E2.reduce((e,t)=>({...e,[t]:N(t)({})}),{}),O2=N.span({display:`block`,position:`relative`,"& svg":{visibility:`hidden`},"&:hover svg, &:focus-within svg":{visibility:`visible`}}),k2=N.span({position:`absolute`,top:`50%`,right:`100%`,lineHeight:`inherit`,paddingRight:`8px`,"&&":{marginTop:-14},color:`inherit`,"& a":{color:`inherit`,textDecoration:`none`}}),N.span({}),A2=({as:e,id:t,children:n,...r})=>{let i=(0,aq.useContext)(mQ),a=D2[e],o=`#${t}`;return aq.createElement(a,{id:t,...r},aq.createElement(O2,{className:`sb-unstyled`},aq.createElement(k2,null,aq.createElement(HI,{asChild:!0,variant:`ghost`,size:`small`,padding:`small`,ariaLabel:`Copy heading URL to address bar`},aq.createElement(`a`,{href:o,target:`_self`,onClick:e=>{e.preventDefault(),x2.getElementById(t)&&rK(i,o)}},aq.createElement(Ze,null)))),n))},j2=e=>{let{as:t,id:n,children:r,...i}=e;if(n)return aq.createElement(A2,{as:t,id:n,...i},r);let a=t,{as:o,...s}=e;return aq.createElement(a,{...Vj(s,t)})},M2=E2.reduce((e,t)=>({...e,[t]:e=>aq.createElement(j2,{as:t,...e})}),{}),N2=e=>{if(!e.children)return null;if(typeof e.children!=`string`)throw Error(DU`The Markdown block only accepts children as a single string, but children were of type: '${typeof e.children}'
271
+ ${hU(.02,e.input.background)} 100%)`,borderRadius:6,boxShadow:`${e.base==`dark`?`hsl(0 0 100 / 0.4)`:`hsl(0 0 0 / 0.44)`} 0 0 0 1px inset`,cursor:i?`not-allowed`:`pointer`,height:6,width:`100%`},o={borderColor:kH(e.color.secondary,.4)},s={width:16,height:16,borderRadius:50,cursor:i?`not-allowed`:`grab`,background:e.input.background,border:`1px solid ${e.base==`dark`?`hsl(0 0 100 / 0.4)`:`hsl(0 0 0 / 0.44)`}`,boxShadow:e.base===`light`?`0 1px 3px 0px ${kH(e.appBorderColor,.2)}`:`unset`,transition:`all 150ms ease-out`},c={background:`${mU(.05,e.input.background)}`,transform:`scale3d(1.1, 1.1, 1.1) translateY(-1px)`,transition:`all 50ms ease-out`},l={background:`${e.input.background}`,transform:`scale3d(1, 1, 1) translateY(0px)`},u={borderColor:e.color.secondary,boxShadow:e.base===`light`?`0 0px 5px 0px ${e.color.secondary}`:`unset`};return{appearance:`none`,backgroundColor:`transparent`,width:`100%`,"&::-webkit-slider-runnable-track":a,"&::-moz-range-track":a,"&::-ms-track":{...a,color:`transparent`},"&::-moz-range-thumb":{...s,"&:hover":c,"&:active":l},"&::-webkit-slider-thumb":{...s,marginTop:`-6px`,appearance:`none`,"&:hover":c,"&:active":l},"&::-ms-thumb":{...s,marginTop:0,"&:hover":c,"&:active":l},"&:focus":{outline:`none`,"&::-webkit-slider-runnable-track":o,"&::-moz-range-track":o,"&::-ms-track":o,"&::-webkit-slider-thumb":u,"&::-moz-range-thumb":u,"&::-ms-thumb":u},"&::-ms-fill-lower":{borderRadius:6},"&::-ms-fill-upper":{borderRadius:6},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:`0`}}}}),kX=N.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:`nowrap`,fontFeatureSettings:`tnum`,fontVariantNumeric:`tabular-nums`}),AX=N(kX)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:`right`,flexShrink:0})),jX=N.div(({readOnly:e})=>({display:`flex`,alignItems:`center`,width:`100%`,opacity:e?.5:1})),MX=({name:e,storyId:t,controlsId:n,value:r,onChange:i,min:a=0,max:o=100,step:s=1,onBlur:c,onFocus:l,argType:u,required:d})=>{let f=e=>{i(bY(e.target.value))},p=r!==void 0,m=(0,yK.useMemo)(()=>vW(s),[s]),h=!!u?.table?.readonly,g=ae(e,t,n);return yK.createElement(jX,{readOnly:h},yK.createElement(`label`,{htmlFor:g,className:`sb-sr-only`},e),yK.createElement(kX,null,a),yK.createElement(OX,{id:g,type:`range`,disabled:h,onChange:f,"aria-required":d||void 0,name:e,min:a,max:o,step:s,onFocus:l,onBlur:c,value:r??a}),yK.createElement(AX,{numberOFDecimalsPlaces:m,max:o},p?r.toFixed(m):`--`,` / `,o))},NX=N.label({display:`flex`}),PX=N.div(({isMaxed:e})=>({marginLeft:`0.75rem`,paddingTop:`0.35rem`,color:e?`red`:void 0})),FX=({name:e,storyId:t,controlsId:n,value:r,onChange:i,onFocus:a,onBlur:o,maxLength:s,argType:c,required:l})=>{let u=e=>{i(e.target.value)},d=!!c?.table?.readonly,[f,p]=(0,bK.useState)(!1),m=(0,bK.useCallback)(()=>{i(``),p(!0)},[p]);if(r===void 0)return bK.createElement(HI,{ariaLabel:!1,variant:`outline`,size:`medium`,disabled:d,id:re(e,t,n),onClick:m},`Set string`);let h=typeof r==`string`;return bK.createElement(NX,null,bK.createElement(QR.Textarea,{id:ae(e,t,n),maxLength:s,onChange:u,disabled:d,size:`flex`,placeholder:`Edit string...`,autoFocus:f,"aria-required":l||void 0,valid:h?void 0:`error`,name:e,value:h?r:``,onFocus:a,onBlur:o}),s&&bK.createElement(PX,{isMaxed:r?.length===s},r?.length??0,` / `,s))},IX=N(QR.Input)({padding:10}),LX=({onChange:e,name:t,storyId:n,controlsId:r,accept:i=`image/*`,value:a,argType:o,required:s})=>{let c=(0,xK.useRef)(null),l=o?.control?.readOnly;function u(t){t.target.files&&(e(Array.from(t.target.files).map(e=>URL.createObjectURL(e))),yW(a||[]))}(0,xK.useEffect)(()=>{a==null&&c.current&&(c.current.value=``)},[a,t]);let d=ae(t,n,r);return xK.createElement(xK.Fragment,null,xK.createElement(`label`,{htmlFor:d,className:`sb-sr-only`},t),xK.createElement(IX,{ref:c,id:d,type:`file`,name:t,multiple:!0,disabled:l,onChange:u,accept:i,"aria-required":s||void 0,size:`flex`}))},RX=(0,lK.lazy)(()=>a(()=>import(`./Color-6AOWCN3U-CZ7Lqth4.js`),__vite__mapDeps([15,1,2,7,8,9,3,10,16,0,4]),import.meta.url)),zX=e=>lK.createElement(lK.Suspense,{fallback:lK.createElement(`div`,null)},lK.createElement(RX,{...e})),BX={array:DX,object:DX,boolean:dY,color:zX,date:vY,number:SY,check:GY,"inline-check":GY,radio:GY,"inline-radio":GY,select:GY,"multi-select":GY,range:MX,text:FX,file:LX},VX=()=>cK.createElement(cK.Fragment,null,`-`),HX=({row:e,arg:t,updateArgs:n,isRequired:r,storyId:i,controlsId:a})=>{let{key:o,control:s}=e,[c,l]=(0,cK.useState)(!1),[u,d]=(0,cK.useState)({value:t});(0,cK.useEffect)(()=>{c||d({value:t})},[c,t]);let f=(0,cK.useCallback)(e=>(d({value:e}),n({[o]:e}),e),[n,o]),p=(0,cK.useCallback)(()=>l(!1),[]),m=(0,cK.useCallback)(()=>l(!0),[]);if(!s||s.disable)return s?.disable!==!0&&e?.type?.name!==`function`?cK.createElement(cK.Fragment,null,cK.createElement(`span`,{className:`sbdocs sbdocs-argcontrol-setup`},cK.createElement(NM,{href:`https://storybook.js.org/docs/essentials/controls?ref=ui`,target:`_blank`,withArrow:!0},`Setup controls`)),cK.createElement(`span`,{className:`sbdocs sbdocs-argcontrol-placeholder`},cK.createElement(VX,null))):cK.createElement(VX,null);let h={name:o,storyId:i,controlsId:a,argType:e,value:u.value,required:r,onChange:f,onBlur:p,onFocus:m},g=BX[s.type]||VX;return cK.createElement(g,{...h,...s,controlType:s.type})},UX=N.table(({theme:e})=>({"&&":{borderCollapse:`collapse`,borderSpacing:0,border:`none`,tr:{border:`none !important`,background:`none`},"td, th":{padding:0,border:`none`,width:`auto!important`},marginTop:0,marginBottom:0,"th:first-of-type, td:first-of-type":{paddingLeft:0},"th:last-of-type, td:last-of-type":{paddingRight:0},td:{paddingTop:0,paddingBottom:4,"&:not(:first-of-type)":{paddingLeft:10,paddingRight:0}},tbody:{boxShadow:`none`,border:`none`},code:Uj({theme:e}),div:{span:{fontWeight:`bold`}},"& code":{margin:0,display:`inline-block`,fontSize:e.typography.size.s1}}})),WX=({tags:e})=>{let t=(e.params||[]).filter(e=>e.description),n=t.length!==0,r=e.deprecated!=null,i=e.returns!=null&&e.returns.description!=null;return!n&&!i&&!r?null:SK.createElement(SK.Fragment,null,SK.createElement(UX,null,SK.createElement(`tbody`,null,r&&SK.createElement(`tr`,{key:`deprecated`},SK.createElement(`td`,{colSpan:2},SK.createElement(`strong`,null,`Deprecated`),`: `,e.deprecated?.toString())),n&&t.map(e=>SK.createElement(`tr`,{key:e.name},SK.createElement(`td`,null,SK.createElement(`code`,null,e.name)),SK.createElement(`td`,null,e.description))),i&&SK.createElement(`tr`,{key:`returns`},SK.createElement(`td`,null,SK.createElement(`code`,null,`Returns`)),SK.createElement(`td`,null,e.returns?.description)))))},GX=8,KX=N.div(({isExpanded:e})=>({display:`flex`,flexDirection:e?`column`:`row`,flexWrap:`wrap`,alignItems:`flex-start`,marginBottom:`-4px`,minWidth:100})),qX=N.details({display:`flex`,flexDirection:`column`,summary:{order:2},"summary::-webkit-details-marker":{display:`none`},"summary::marker":{content:`none`}}),JX=N.div({display:`flex`,flexDirection:`column`,flexWrap:`wrap`,alignItems:`flex-start`}),YX=N.span(Uj,({theme:e,simple:t=!1})=>({flex:`0 0 auto`,fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,wordBreak:`break-word`,whiteSpace:`normal`,maxWidth:`100%`,margin:0,marginRight:`4px`,marginBottom:`4px`,paddingTop:`2px`,paddingBottom:`2px`,lineHeight:`13px`,...t&&{background:`transparent`,border:`0 none`,paddingLeft:0}})),XX=N.summary(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,cursor:`pointer`,lineHeight:`normal`,margin:`0 0 4px`,padding:`1px 6px`,background:`none`,border:`none`})),ZX=N.button(Uj,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:`nowrap`,display:`flex`,alignItems:`center`,cursor:`pointer`,"&:hover":{border:e.base===`light`?`1px solid hsl(0 0 0 / 0.15)`:`1px solid hsl(0 0 100 / 0.15)`},"&:focus-visible":{outline:`2px solid ${e.color.secondary}`,outlineOffset:`2px`}})),QX=N.div(({theme:e})=>({minWidth:200,maxWidth:800,paddingRight:16,fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,boxSizing:`content-box`,"& code":{padding:`0 !important`}})),$X=N(tt)({marginLeft:4}),eZ=N(nt)({marginLeft:4}),tZ=()=>CK.createElement(`span`,null,`-`),nZ=({text:e,simple:t})=>CK.createElement(YX,{simple:t},e),rZ=e=>e?bW(e.split(`|`).map(e=>e.trim())):[e],iZ=e=>e.slice(0,GX).map(e=>CK.createElement(nZ,{key:e,text:e===``?`""`:e})),aZ=e=>e.slice(GX).map(e=>CK.createElement(nZ,{key:e,text:e===``?`""`:e})),oZ=({value:e,initialExpandedArgs:t})=>{let{summary:n,detail:r}=e,[i,a]=(0,CK.useState)(!1),[o,s]=(0,CK.useState)(t||!1);if(n==null)return null;let c=typeof n.toString==`function`?n.toString():n;if(r==null){if(/[(){}[\]<>]/.test(c))return CK.createElement(nZ,{text:c});let e=rZ(c),t=e.length;return t>GX?CK.createElement(KX,{isExpanded:o},iZ(e),CK.createElement(qX,{open:o,onToggle:e=>s(e.currentTarget.open)},CK.createElement(JX,null,aZ(e)),CK.createElement(XX,{role:`button`},o?`Show less...`:`Show ${t-GX} more...`))):CK.createElement(KX,null,iZ(e))}return CK.createElement(mB,{ariaLabel:`Arg value details`,placement:`bottom`,visible:i,onVisibleChange:e=>{a(e)},hasCloseButton:!0,popover:CK.createElement(QX,null,CK.createElement(eM,{language:`jsx`,format:!1},r))},CK.createElement(ZX,{className:`sbdocs-expandable`},CK.createElement(`span`,null,c),i?CK.createElement($X,null):CK.createElement(eZ,null)))},sZ=({value:e,initialExpandedArgs:t})=>e==null?CK.createElement(tZ,null):CK.createElement(oZ,{value:e,initialExpandedArgs:t}),cZ=N.span({fontWeight:`bold`}),lZ=N.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:`help`})),uZ=N.div(({theme:e})=>({"&&":{p:{margin:`0 0 10px 0`},a:{color:e.color.secondary}},code:{...Uj({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:`inline-block`},"& pre > code":{whiteSpace:`pre-wrap`}})),dZ=N.div(({theme:e,hasDescription:t})=>({color:e.base===`light`?vU(.1,e.color.defaultText):vU(.2,e.color.defaultText),marginTop:t?4:0})),fZ=N.div(({theme:e,hasDescription:t})=>({color:e.base===`light`?vU(.1,e.color.defaultText):vU(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),pZ=N.td(({expandable:e})=>({paddingLeft:e?`40px !important`:`20px !important`})),mZ=N.tr({"span.sbdocs-argcontrol-setup":{...he},"&:hover, &:focus-within":{"span.sbdocs-argcontrol-setup":{...be},"span.sbdocs-argcontrol-placeholder":{...he}}}),hZ=e=>e&&{summary:typeof e==`string`?e:e.name},gZ=e=>{let{row:t,updateArgs:n,compact:r,expandable:i,initialExpandedArgs:a,docsLang:o}=e,{name:s,description:c}=t,l=t.table||{},u=l.type||hZ(t.type),d=l.defaultValue||t.defaultValue,f=t.type?.required,p=c!=null&&c!==``;return oK.createElement(mZ,null,oK.createElement(pZ,{expandable:i??!1},oK.createElement(cZ,null,s),f?oK.createElement(lZ,{"aria-hidden":!0,title:`Required`},`*`):null),r?null:oK.createElement(`td`,null,p&&oK.createElement(uZ,{lang:o},oK.createElement(sY,null,c)),l.jsDocTags==null?oK.createElement(dZ,{hasDescription:p},oK.createElement(sZ,{value:u,initialExpandedArgs:a})):oK.createElement(oK.Fragment,null,oK.createElement(fZ,{hasDescription:p},oK.createElement(sZ,{value:u,initialExpandedArgs:a})),oK.createElement(WX,{tags:l.jsDocTags}))),r?null:oK.createElement(`td`,null,oK.createElement(sZ,{value:d,initialExpandedArgs:a})),n?oK.createElement(`td`,null,oK.createElement(HX,{...e,isRequired:!!f})):null)},_Z=N.div(({inAddonPanel:e,theme:t})=>({height:e?`100%`:`auto`,display:`flex`,border:e?`none`:`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:`center`,justifyContent:`center`,flexDirection:`column`,gap:15,background:t.background.content})),vZ=N.div(({theme:e})=>({display:`flex`,fontSize:e.typography.size.s2-1,gap:25})),yZ=({inAddonPanel:e})=>{let[t,n]=(0,wK.useState)(!0);return(0,wK.useEffect)(()=>{let e=setTimeout(()=>{n(!1)},100);return()=>clearTimeout(e)},[]),t?null:wK.createElement(_Z,{inAddonPanel:e},wK.createElement($B,{title:`This story has no controls`,description:wK.createElement(wK.Fragment,null,`Storybook couldn't find or generate any controls for this story. Define`,` `,wK.createElement(`code`,null,`args`),` or `,wK.createElement(`code`,null,`argTypes`),`, or configure docgen to let Storybook generate controls automatically.`),footer:wK.createElement(vZ,null,wK.createElement(NM,{href:`https://storybook.js.org/docs/essentials/controls?ref=ui`,target:`_blank`,withArrow:!0},wK.createElement(He,null),` Read docs`))}))},bZ=N($e)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base===`light`?vU(.25,e.color.defaultText):vU(.3,e.color.defaultText),border:`none`,display:`inline-block`})),xZ=N(et)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base===`light`?vU(.25,e.color.defaultText):vU(.3,e.color.defaultText),border:`none`,display:`inline-block`})),SZ=N.span(({theme:e})=>({display:`flex`,lineHeight:`20px`,alignItems:`center`})),CZ=N.td(({theme:e})=>({position:`relative`,letterSpacing:`0.35em`,textTransform:`uppercase`,fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base===`light`?vU(.4,e.color.defaultText):vU(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),wZ=N.td(({theme:e})=>({position:`relative`,fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),TZ=N.td({position:`relative`}),EZ=N.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${hU(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:`row-resize`}})),DZ=N.button({background:`none`,border:`none`,padding:`0`,font:`inherit`,position:`absolute`,top:0,bottom:0,left:0,right:0,height:`100%`,width:`100%`,color:`transparent`,cursor:`row-resize !important`}),OZ=({level:e=`section`,label:t,children:n,initialExpanded:r=!0,colSpan:i=3})=>{let[a,o]=(0,TK.useState)(r),s=e===`subsection`?wZ:CZ,c=n?.length||0,l=e===`subsection`?`${c} item${c===1?``:`s`}`:``,u=`${a?`Hide`:`Show`} ${e===`subsection`?c:t} item${c===1?``:`s`}`;return TK.createElement(TK.Fragment,null,TK.createElement(EZ,{title:u},TK.createElement(s,{colSpan:1},TK.createElement(DZ,{onClick:e=>o(!a),tabIndex:0},u),TK.createElement(SZ,null,a?TK.createElement(bZ,null):TK.createElement(xZ,null),t)),TK.createElement(TZ,{colSpan:i-1},TK.createElement(DZ,{onClick:e=>o(!a),tabIndex:-1,style:{outline:`none`}},u),a?null:l)),a?n:null)},kZ=N.div(({theme:e})=>({width:`100%`,borderSpacing:0,color:e.color.defaultText})),AZ=N.div(({theme:e})=>({display:`flex`,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),jZ=N.div(({position:e,theme:t})=>{let n={display:`flex`,flexDirection:`column`,gap:5,padding:`10px 15px`,alignItems:`flex-start`};switch(e){case`first`:return{...n,width:`25%`,paddingLeft:20};case`second`:return{...n,width:`35%`};case`third`:return{...n,width:`15%`};case`last`:return{...n,width:`25%`,paddingRight:20}}}),MZ=N.div(({theme:e,width:t,height:n})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||`100%`,height:n||16,borderRadius:3})),NZ=()=>X.createElement(kZ,null,X.createElement(AZ,null,X.createElement(jZ,{position:`first`},X.createElement(MZ,{width:`60%`})),X.createElement(jZ,{position:`second`},X.createElement(MZ,{width:`30%`})),X.createElement(jZ,{position:`third`},X.createElement(MZ,{width:`60%`})),X.createElement(jZ,{position:`last`},X.createElement(MZ,{width:`60%`}))),X.createElement(AZ,null,X.createElement(jZ,{position:`first`},X.createElement(MZ,{width:`60%`})),X.createElement(jZ,{position:`second`},X.createElement(MZ,{width:`80%`}),X.createElement(MZ,{width:`30%`})),X.createElement(jZ,{position:`third`},X.createElement(MZ,{width:`60%`})),X.createElement(jZ,{position:`last`},X.createElement(MZ,{width:`60%`}))),X.createElement(AZ,null,X.createElement(jZ,{position:`first`},X.createElement(MZ,{width:`60%`})),X.createElement(jZ,{position:`second`},X.createElement(MZ,{width:`80%`}),X.createElement(MZ,{width:`30%`})),X.createElement(jZ,{position:`third`},X.createElement(MZ,{width:`60%`})),X.createElement(jZ,{position:`last`},X.createElement(MZ,{width:`60%`}))),X.createElement(AZ,null,X.createElement(jZ,{position:`first`},X.createElement(MZ,{width:`60%`})),X.createElement(jZ,{position:`second`},X.createElement(MZ,{width:`80%`}),X.createElement(MZ,{width:`30%`})),X.createElement(jZ,{position:`third`},X.createElement(MZ,{width:`60%`})),X.createElement(jZ,{position:`last`},X.createElement(MZ,{width:`60%`})))),PZ=N.table(({theme:e,compact:t,inAddonPanel:n,inTabPanel:r})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:`none`,verticalAlign:`top`,textOverflow:`ellipsis`},fontSize:e.typography.size.s2-1,lineHeight:`19px`,textAlign:`left`,width:`100%`,marginTop:n?0:25,marginBottom:n?0:40,"thead th:first-of-type, td:first-of-type":{width:`25%`},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:`35%`}},"td:nth-of-type(3)":{...t?null:{width:`15%`}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:`25%`}},th:{color:e.textMutedColor,paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:`10px`,paddingBottom:`10px`,"&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginInline:n||r?0:1,paddingInline:r?3:0,tbody:{...n?null:{filter:e.base===`light`?`drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))`:`drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))`},"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`},...n?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}}},"@media (forced-colors: active)":{tbody:{filter:`none`,"> tr > *":{borderColor:`CanvasText`}}}}})),FZ=N.div({position:`relative`}),IZ=N.div({position:`absolute`,right:22,top:10}),LZ=N(HI)({margin:`-4px -12px -4px 0`}),RZ={alpha:(e,t)=>(e.name??``).localeCompare(t.name??``),requiredFirst:(e,t)=>+!!t.type?.required-!!e.type?.required||(e.name??``).localeCompare(t.name??``),none:null},zZ=(e,t)=>{let n={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return n;Object.entries(e).forEach(([e,t])=>{let{category:r,subcategory:i}=t?.table||{};if(r){let a=n.sections[r]||{ungrouped:[],subsections:{}};if(!i)a.ungrouped.push({key:e,...t});else{let n=a.subsections[i]||[];n.push({key:e,...t}),a.subsections[i]=n}n.sections[r]=a}else if(i){let r=n.ungroupedSubsections[i]||[];r.push({key:e,...t}),n.ungroupedSubsections[i]=r}else n.ungrouped.push({key:e,...t})});let r=RZ[t],i=e=>r?Object.keys(e).reduce((t,n)=>({...t,[n]:e[n].sort(r)}),{}):e;return{ungrouped:r?n.ungrouped.sort(r):n.ungrouped,ungroupedSubsections:i(n.ungroupedSubsections),sections:Object.keys(n.sections).reduce((e,t)=>({...e,[t]:{ungrouped:r?n.sections[t].ungrouped.sort(r):n.sections[t].ungrouped,subsections:i(n.sections[t].subsections)}}),{})}},BZ=(e,t,n)=>{try{return tm(e,t,n)}catch(e){return bq.warn(e.message),!1}},VZ=e=>{let{updateArgs:t,resetArgs:n,compact:r,inAddonPanel:i,inTabPanel:a,initialExpandedArgs:o,sort:s=`none`,isLoading:c,storyId:l,controlsId:u,docsLang:d}=e,{rows:f,args:p,globals:m}=`rows`in e?e:{rows:void 0,args:void 0,globals:void 0},h=(0,q.useRef)(!1),[g,_]=(0,q.useState)(!1);(0,q.useEffect)(()=>{h.current=!1,_(!1)},[p]);let v=(0,q.useCallback)(()=>{!h.current&&n&&(h.current=!0,_(!0),n())},[n]);if(`error`in e){let{error:t}=e;return q.createElement(bU,null,t,`\xA0`,q.createElement(NM,{href:`http://storybook.js.org/docs/?ref=ui`,target:`_blank`,withArrow:!0},q.createElement(He,null),` Read the docs`))}if(c)return q.createElement(NZ,null);let y=zZ(LU(f||{},e=>!e?.table?.disable&&BZ(e,p||{},m||{})),s),b=y.ungrouped.length===0,x=Object.entries(y.sections).length===0,S=Object.entries(y.ungroupedSubsections).length===0;if(b&&x&&S)return q.createElement(yZ,{inAddonPanel:i});let C=1;t&&(C+=1),r||(C+=2);let w=Object.keys(y.sections).length>0,T={updateArgs:t,compact:r,inAddonPanel:i,initialExpandedArgs:o,storyId:l,controlsId:u};return q.createElement(Kj,null,q.createElement(FZ,null,t&&!c&&n&&q.createElement(IZ,null,q.createElement(LZ,{variant:`ghost`,padding:`small`,onClick:v,disabled:g,ariaLabel:g?`Resetting controls...`:`Reset controls`,lang:`en`},q.createElement(at,null))),q.createElement(PZ,{compact:r,inAddonPanel:i,inTabPanel:a,className:`docblock-argstable sb-unstyled`,lang:`en`},q.createElement(`thead`,{className:`docblock-argstable-head`},q.createElement(`tr`,null,q.createElement(`th`,null,q.createElement(`span`,null,`Name`)),r?null:q.createElement(`th`,null,q.createElement(`span`,null,`Description`)),r?null:q.createElement(`th`,null,q.createElement(`span`,null,`Default`)),t?q.createElement(`th`,null,q.createElement(`span`,null,`Control`)):null)),q.createElement(`tbody`,{className:`docblock-argstable-body`},y.ungrouped.map(e=>q.createElement(gZ,{key:e.key,row:e,arg:p&&p[e.key],docsLang:d,...T})),Object.entries(y.ungroupedSubsections).map(([e,t])=>q.createElement(OZ,{key:e,label:e,level:`subsection`,colSpan:C},t.map(e=>q.createElement(gZ,{key:e.key,row:e,arg:p&&p[e.key],expandable:w,...T})))),Object.entries(y.sections).map(([e,t])=>q.createElement(OZ,{key:e,label:e,level:`section`,colSpan:C},t.ungrouped.map(e=>q.createElement(gZ,{key:e.key,row:e,arg:p&&p[e.key],...T})),Object.entries(t.subsections).map(([e,t])=>q.createElement(OZ,{key:e,label:e,level:`subsection`,colSpan:C},t.map(e=>q.createElement(gZ,{key:e.key,row:e,arg:p&&p[e.key],expandable:w,...T}))))))))))},HZ=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,UZ=600,WZ=N.h1(({theme:e})=>({...Wj({theme:e}),color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:`32px`,[`@media (min-width: ${UZ}px)`]:{fontSize:e.typography.size.l1,lineHeight:`36px`,marginBottom:`16px`}})),GZ=N.h2(({theme:e})=>({...Wj({theme:e}),fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:`20px`,borderBottom:`none`,marginBottom:15,[`@media (min-width: ${UZ}px)`]:{fontSize:e.typography.size.m1,lineHeight:`28px`,marginBottom:24},color:vU(.25,e.color.defaultText)})),KZ=N.div(({theme:e})=>{let t={fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:`antialiased`,MozOsxFontSmoothing:`grayscale`,WebkitTapHighlightColor:`rgba(0, 0, 0, 0)`,WebkitOverflowScrolling:`touch`},n={margin:`20px 0 8px`,padding:0,cursor:`text`,position:`relative`,color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:`none`},"& code":{fontSize:`inherit`}},r={lineHeight:1,margin:`0 2px`,padding:`3px 5px`,whiteSpace:`nowrap`,borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base===`light`?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base===`light`?vU(.1,e.color.defaultText):vU(.3,e.color.defaultText),backgroundColor:e.base===`light`?e.color.lighter:e.color.border};return{maxWidth:1e3,width:`100%`,minWidth:0,flex:1,[HZ(`a`)]:{...t,fontSize:`inherit`,lineHeight:`24px`,color:e.color.secondary,textDecoration:`underline`,textDecorationThickness:`0.03125rem`,textUnderlineOffset:`0.11em`,"&.absent":{color:`#cc0000`},"&.anchor":{display:`block`,paddingLeft:30,marginLeft:-30,cursor:`pointer`,position:`absolute`,top:0,left:0,bottom:0,textDecoration:`none`},"&.anchor:hover, &.anchor:focus":{textDecoration:`underline`}},[HZ(`blockquote`)]:{...t,margin:`16px 0`,borderLeft:`4px solid ${e.color.medium}`,padding:`0 15px`,color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},[HZ(`div`)]:t,[HZ(`dl`)]:{...t,margin:`16px 0`,padding:0,"& dt":{fontSize:`14px`,fontWeight:`bold`,fontStyle:`italic`,padding:0,margin:`16px 0 4px`},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:`0 0 16px`,padding:`0 15px`},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}},[HZ(`h1`)]:{...t,...n,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[HZ(`h2`)]:{...t,...n,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[HZ(`h3`)]:{...t,...n,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[HZ(`h4`)]:{...t,...n,fontSize:`${e.typography.size.s3}px`},[HZ(`h5`)]:{...t,...n,fontSize:`${e.typography.size.s2}px`},[HZ(`h6`)]:{...t,...n,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[HZ(`hr`)]:{border:`0 none`,borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[HZ(`img`)]:{maxWidth:`100%`},[HZ(`li`)]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:`24px`,"& + li":{marginTop:`.25em`},"& ul, & ol":{marginTop:`.25em`,marginBottom:0},"& code":r},[HZ(`ol`)]:{...t,margin:`16px 0`,paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[HZ(`p`)]:{...t,margin:`16px 0`,fontSize:e.typography.size.s2,lineHeight:`24px`,color:e.color.defaultText,"& code":r},[HZ(`pre`)]:{...t,fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:`antialiased`,MozOsxFontSmoothing:`grayscale`,lineHeight:`18px`,padding:`11px 1rem`,whiteSpace:`pre-wrap`,color:`inherit`,borderRadius:3,margin:`1rem 0`,"&:not(.prismjs)":{background:`transparent`,border:`none`,borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:`pre-wrap`,color:`inherit`,fontSize:`13px`,lineHeight:`19px`,code:{color:`inherit`,fontSize:`inherit`}},"& code":{whiteSpace:`pre`},"& code, & tt":{border:`none`}},[HZ(`span`)]:{...t,"&.frame":{display:`block`,overflow:`hidden`,"& > span":{border:`1px solid ${e.color.medium}`,display:`block`,float:`left`,overflow:`hidden`,margin:`13px 0 0`,padding:7,width:`auto`},"& span img":{display:`block`,float:`left`},"& span span":{clear:`both`,color:e.color.darkest,display:`block`,padding:`5px 0 0`}},"&.align-center":{display:`block`,overflow:`hidden`,clear:`both`,"& > span":{display:`block`,overflow:`hidden`,margin:`13px auto 0`,textAlign:`center`},"& span img":{margin:`0 auto`,textAlign:`center`}},"&.align-right":{display:`block`,overflow:`hidden`,clear:`both`,"& > span":{display:`block`,overflow:`hidden`,margin:`13px 0 0`,textAlign:`right`},"& span img":{margin:0,textAlign:`right`}},"&.float-left":{display:`block`,marginRight:13,overflow:`hidden`,float:`left`,"& span":{margin:`13px 0 0`}},"&.float-right":{display:`block`,marginLeft:13,overflow:`hidden`,float:`right`,"& > span":{display:`block`,overflow:`hidden`,margin:`13px auto 0`,textAlign:`right`}}},[HZ(`table`)]:{...t,margin:`16px 0`,fontSize:e.typography.size.s2,lineHeight:`24px`,padding:0,borderCollapse:`collapse`,"& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base===`dark`?e.color.darker:e.color.lighter},"& tr th":{fontWeight:`bold`,color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:`6px 13px`},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:`6px 13px`},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}},[HZ(`ul`)]:{...t,margin:`16px 0`,paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:`disc`}}}),qZ=N.div(({theme:e})=>({background:e.background.content,display:`flex`,flexDirection:`row-reverse`,justifyContent:`center`,padding:`4rem 40px`,minHeight:`100vh`,boxSizing:`border-box`,gap:`3rem`,[`@media (min-width: ${UZ}px)`]:{}})),JZ=({children:e,toc:t,lang:n=`en`})=>EK.createElement(qZ,{className:`sbdocs sbdocs-wrapper`},t,EK.createElement(KZ,{className:`sbdocs sbdocs-content`,lang:n},e)),{logger:YZ}=__STORYBOOK_MODULE_CLIENT_LOGGER__,XZ=typeof document<`u`?DK.useLayoutEffect:()=>{},ZZ={prefix:String(Math.round(Math.random()*1e10)),current:0},QZ=kK.createContext(ZZ),$Z=kK.createContext(!1),typeof window<`u`&&window.document&&window.document.createElement,eQ=new WeakMap,tQ=typeof kK.useId==`function`?CW:SW,nQ=!!(typeof window<`u`&&window.document&&window.document.createElement),rQ=new Map,typeof FinalizationRegistry<`u`&&(iQ=new FinalizationRegistry(e=>{rQ.delete(e)})),aQ=null,oQ=FW(function(){return PW(/^Mac/i)}),sQ=FW(function(){return PW(/^iPad/i)||oQ()&&navigator.maxTouchPoints>1}),cQ=FW(function(){return NW(/AppleWebKit/i)&&!lQ()}),lQ=FW(function(){return NW(/Chrome/i)}),uQ=FW(function(){return NW(/Firefox/i)}),(0,AK.createContext)({isNative:!0,open:RW,useHref:e=>e}),IW.isOpening=!1,dQ=new Map,fQ=new Set,typeof document<`u`&&(document.readyState===`loading`?document.addEventListener(`DOMContentLoaded`,zW):zW()),jK.useInsertionEffect,typeof document<`u`&&window.visualViewport,typeof Element<`u`&&`checkVisibility`in Element.prototype,pQ=[`input:not([disabled]):not([type=hidden])`,`select:not([disabled])`,`textarea:not([disabled])`,`button:not([disabled])`,`a[href]`,`area[href]`,`summary`,`iframe`,`object`,`embed`,`audio[controls]`,`video[controls]`,`[contenteditable]:not([contenteditable^="false"])`,`permission`],pQ.join(`:not([hidden]),`)+``,pQ.push(`[tabindex]:not([tabindex="-1"]):not([disabled])`),pQ.join(`:not([hidden]):not([tabindex="-1"]),`),typeof document<`u`&&(MK.useInsertionEffect??MK.useLayoutEffect),globalThis&&globalThis.__DOCS_CONTEXT__===void 0&&(globalThis.__DOCS_CONTEXT__=(0,NK.createContext)(null),globalThis.__DOCS_CONTEXT__.displayName=`DocsContext`),mQ=globalThis?globalThis.__DOCS_CONTEXT__:(0,NK.createContext)(null),{InvalidBlockOfPropError:hQ}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__,gQ=Symbol(`mdxWrappedBlock`),_Q=IK.createContext(null),vQ=(e,t)=>{let n=r=>{let i=IK.useContext(_Q),a=te()[e];if(i?.has(e)||a===n)return IK.createElement(t,{...r});if(a){let t=new Set(i??[]);return t.add(e),IK.createElement(_Q.Provider,{value:t},IK.createElement(a,{...r}))}return IK.createElement(t,{...r})};return n.displayName=e,n[gQ]=!0,n},yQ=(e,t)=>{let{of:n,meta:r}=e;if(`of`in e&&n===void 0)throw new hQ;return r&&t.referenceMeta(r,!1),t.resolveOf(n||`story`,[`story`]).story.id},bQ=(e,t,n)=>{let{parameters:r={}}=t||{},{docs:i={}}=r,a=i.story||{};return i.disable?null:e.inline??a.inline??!1?{story:t,inline:!0,height:e.height??a.height,autoplay:e.autoplay??a.autoplay??!1,forceInitialArgs:!!e.__forceInitialArgs,primary:!!e.__primary,renderStoryToElement:n.renderStoryToElement}:{story:t,inline:!1,height:e.height??a.height??a.iframeHeight??`100px`,primary:!!e.__primary}},xQ=(e={__forceInitialArgs:!1,__primary:!1})=>{let t=(0,PK.useContext)(mQ),n=BW(yQ(e,t),t);if(!n)return PK.createElement(NQ,null);let r=bQ(e,n,t);return r?PK.createElement(MQ,{...r}):null},SQ=vQ(`Story`,xQ),CQ=e=>({borderRadius:e.appBorderRadius,background:e.background.content,boxShadow:e.base===`light`?`rgba(0, 0, 0, 0.10) 0 1px 3px 0`:`rgba(0, 0, 0, 0.20) 0 2px 5px 0`,border:`1px solid ${e.appBorderColor}`}),wQ=(e,t={})=>{let[n,r]=(globalThis.PREVIEW_URL||`iframe.html`).split(`?`),i=new URLSearchParams(r||``);return Object.entries(t).forEach(([e,t])=>{i.set(e,t)}),i.set(`id`,e),`${n}?${i.toString()}`},{window:TQ}=globalThis,EQ=class extends RK.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{id:e}=this.props;this.iframe=TQ.document.getElementById(e)}shouldComponentUpdate(e){let{scale:t}=e;return t!==this.props.scale&&this.setIframeBodyStyle({width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:`top left`}),!1}setIframeBodyStyle(e){return Object.assign(this.iframe.contentDocument.body.style,e)}render(){let{id:e,title:t,src:n,allowFullScreen:r,scale:i,...a}=this.props;return RK.createElement(`iframe`,{id:e,title:t,src:n,...r?{allow:`fullscreen`}:{},loading:`lazy`,...a})}},DQ=(0,zK.createContext)({scale:1}),OQ=({story:e,primary:t})=>`story--${e.id}${t?`--primary`:``}`,kQ=e=>{let t=(0,LK.useRef)(),[n,r]=(0,LK.useState)(!0),[i,a]=(0,LK.useState)(),{story:o,height:s,autoplay:c,forceInitialArgs:l,renderStoryToElement:u}=e;return(0,LK.useEffect)(()=>{if(!(o&&t.current))return()=>{};let e=t.current,n=u(o,e,{showMain:()=>{},showError:({title:e,description:t})=>a(Error(`${e} - ${t}`)),showException:e=>a(e)},{autoplay:c,forceInitialArgs:l});return r(!1),()=>{Promise.resolve().then(()=>n())}},[c,u,o]),i?LK.createElement(`pre`,null,LK.createElement(fR,{error:i})):LK.createElement(LK.Fragment,null,s?LK.createElement(`style`,null,`#${OQ(e)} { min-height: ${s}; transform: translateZ(0); overflow: auto }`):null,n&&LK.createElement(NQ,null),LK.createElement(`div`,{ref:t,id:`${OQ(e)}-inner`,"data-name":o.name,lang:o.parameters?.htmlLang||`en`}))},AQ=({story:e,height:t=`500px`})=>LK.createElement(`div`,{style:{width:`100%`,height:t}},LK.createElement(DQ.Consumer,null,({scale:t})=>LK.createElement(EQ,{key:`iframe`,id:`iframe--${e.id}`,title:e.name,src:wQ(e.id,{viewMode:`story`}),allowFullScreen:!0,scale:t,style:{width:`100%`,height:`100%`,border:`0 none`}}))),jQ=N.strong(({theme:e})=>({color:e.color.orange})),MQ=e=>{let{inline:t,story:n}=e;return t&&!e.autoplay&&n.usesMount?LK.createElement(jQ,null,`This story mounts inside of play. Set`,` `,LK.createElement(`a`,{href:`https://storybook.js.org/docs/api/doc-blocks/doc-block-story?ref=ui#autoplay`},`autoplay`),` `,`to true to view this story.`):LK.createElement(`div`,{id:OQ(e),className:`sb-story sb-unstyled`,"data-story-block":`true`},t?LK.createElement(kQ,{...e}):LK.createElement(AQ,{...e}))},NQ=()=>LK.createElement(QV,null),PQ=N(gV)({position:`absolute`,left:0,right:0,top:0,transition:`transform .2s linear`,display:`flex`,alignItems:`center`}),FQ=N.div({display:`flex`,alignItems:`center`,gap:4}),IQ=N.div(({theme:e})=>({width:14,height:14,borderRadius:2,margin:`0 7px`,backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),LQ=({isLoading:e,storyId:t,zoom:n,resetZoom:r,onReloadStory:i,...a})=>BK.createElement(PQ,{innerStyle:{gap:4,paddingInline:7,justifyContent:`space-between`},lang:`en`,...a},BK.createElement(FQ,{key:`left`},e?[1,2,3].map(e=>BK.createElement(IQ,{key:e})):BK.createElement(BK.Fragment,null,i&&BK.createElement(HI,{padding:`small`,variant:`ghost`,key:`reload`,onClick:i,ariaLabel:`Reload story`},BK.createElement(ot,null)),BK.createElement(HI,{padding:`small`,variant:`ghost`,key:`zoomin`,onClick:e=>{e.preventDefault(),n(.8)},ariaLabel:`Zoom in`},BK.createElement(Re,null)),BK.createElement(HI,{padding:`small`,variant:`ghost`,key:`zoomout`,onClick:e=>{e.preventDefault(),n(1.25)},ariaLabel:`Zoom out`},BK.createElement(ze,null)),BK.createElement(HI,{padding:`small`,variant:`ghost`,key:`zoomreset`,onClick:e=>{e.preventDefault(),r()},ariaLabel:`Reset zoom`},BK.createElement(Be,null)))),e?BK.createElement(FQ,{key:`right`},BK.createElement(IQ,null)):t&&BK.createElement(FQ,{key:`right`},BK.createElement(HI,{asChild:!0,padding:`small`,variant:`ghost`,key:`opener`,ariaLabel:`Open canvas in new tab`},BK.createElement(`a`,{href:wQ(t),target:`_blank`,rel:`noopener noreferrer`},BK.createElement(Qe,null))))),RQ=N.div(({isColumn:e,columns:t,layout:n})=>({display:e||!t?`block`:`flex`,position:`relative`,flexWrap:`wrap`,overflow:`auto`,flexDirection:e?`column`:`row`,"& .innerZoomElementWrapper > *":e?{width:n===`fullscreen`?`100%`:`calc(100% - 20px)`,display:`block`}:{maxWidth:n===`fullscreen`?`100%`:`calc(100% - 20px)`,display:`inline-block`}}),({layout:e=`padded`,inline:t})=>e===`centered`||e===`padded`?{padding:t?`32px 22px`:`0px`,"& .innerZoomElementWrapper > *":{width:`auto`,border:`8px solid transparent!important`}}:{},({layout:e=`padded`,inline:t})=>e===`centered`&&t?{display:`flex`,justifyContent:`center`,justifyItems:`center`,alignContent:`center`,alignItems:`center`}:{},({columns:e})=>e&&e>1?{".innerZoomElementWrapper > *":{minWidth:`calc(100% / ${e} - 20px)`}}:{}),zQ=N(LB)({marginTop:-40,marginBottom:40}),BQ=N(TU)(({theme:e})=>({margin:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:e.appBorderRadius,borderBottomRightRadius:e.appBorderRadius,border:`none`,background:e.base===`light`?`rgba(0, 0, 0, 0.85)`:mU(.05,e.background.content),color:e.color.lightest,button:{background:e.base===`light`?`rgba(0, 0, 0, 0.85)`:mU(.05,e.background.content)}})),VQ=N.div(({theme:e})=>({position:`relative`,overflow:`hidden`,margin:`25px 0 40px`,...CQ(e),"h3 + &":{marginTop:`16px`}}),({withToolbar:e})=>e&&{paddingTop:40}),HQ=N(LQ)({position:`absolute`,top:0,left:0,right:0,height:40}),UQ=2e3,WQ=({isLoading:e,isColumn:t,columns:n,children:r,withSource:i,withToolbar:o=!1,isExpanded:s=!1,additionalActions:c,className:l,layout:u=`padded`,inline:d=!1,onReloadStory:f,...p})=>{let[m,h]=(0,Z.useState)(s),[g,_]=(0,Z.useState)(null),[v,y]=(0,Z.useState)(1),b=(0,Z.useMemo)(()=>c?[...c]:[],[c]),x=OW(),S=[l,`sbdocs`,`sbdocs-preview`,`sb-unstyled`],C=(0,Z.useContext)(mQ),w=(0,Z.useCallback)(async e=>{let{createCopyToClipboardFunction:t}=await a(async()=>{let{createCopyToClipboardFunction:e}=await Promise.resolve().then(()=>(rH(),aS));return{createCopyToClipboardFunction:e}},void 0,import.meta.url);await t()(e)},[]),T=(0,Z.useCallback)(async()=>{try{await w(i?.code??``),_(`Copied!`)}catch(e){YZ.error(e),_(`Copy error!`)}globalThis.window.setTimeout(()=>_(null),UQ)},[w,i?.code]),E=HW(r),D=!!(i&&i.error),O=!!(i&&!i.error);return Z.createElement(Z.Fragment,null,Z.createElement(VQ,{withSource:i,withToolbar:o,...p,className:S.join(` `)},o&&Z.createElement(HQ,{isLoading:e,border:!0,zoom:e=>y(v*e),resetZoom:()=>y(1),storyId:!e&&E?yQ(E,C):void 0,onReloadStory:f}),Z.createElement(DQ.Provider,{value:{scale:v}},Z.createElement(RQ,{isColumn:t||!Array.isArray(r),columns:n,layout:u,inline:d,className:`docs-story`},Z.createElement(nR.Element,{centered:u===`centered`,scale:d?v:1},Array.isArray(r)?r.map((e,t)=>Z.createElement(`div`,{key:t},e)):Z.createElement(`div`,null,r)))),O&&m&&Z.createElement(`div`,{id:x},Z.createElement(BQ,{...i,dark:!0,copyable:!1}))),(i||b.length>0)&&Z.createElement(zQ,{className:`sbdocs sbdocs-preview-actions`,innerStyle:{paddingInline:0}},D&&Z.createElement(HI,{lang:`en`,ariaLabel:!1,disabled:!0,variant:`ghost`,className:`docblock-code-toggle docblock-code-toggle--disabled`},Z.createElement(We,null),` No code available`),O&&Z.createElement(Z.Fragment,null,Z.createElement(GI,{lang:`en`,ariaLabel:!1,pressed:m,"aria-expanded":m,"aria-controls":x,onClick:()=>h(!m),variant:`ghost`,className:`docblock-code-toggle${m?` docblock-code-toggle--expanded`:``}`},Z.createElement(We,null),` `,m?`Hide code`:`Show code`),Z.createElement(HI,{lang:`en`,ariaLabel:!1,variant:`ghost`,onClick:T},Z.createElement(Ue,null),` `,g??`Copy code`)),b.map(({title:e,ariaLabel:t,className:n,onClick:r,disabled:i},a)=>Z.createElement(HI,{key:a,ariaLabel:t??!1,className:n,onClick:r,disabled:!!i,variant:`ghost`},e))))},N(WQ)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}})),GQ=N(FV)({height:`fit-content`}),KQ=({tabs:e,...t})=>{let n=Object.entries(e);if(n.length===1)return VK.createElement(VZ,{...n[0][1],...t});let r=n.map(([e,n],r)=>{let i=r===0?t:{sort:t.sort,docsLang:t.docsLang};return{id:`prop_table_div_${e}`,title:e,children:VK.createElement(VZ,{inTabPanel:!0,...n,...i})}});return VK.createElement(GQ,{tabs:r})},N.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base===`light`?vU(.4,e.color.defaultText):vU(.6,e.color.defaultText)})),N.div({overflow:`hidden`,whiteSpace:`nowrap`,textOverflow:`ellipsis`}),N.div({display:`flex`,flexDirection:`row`,alignItems:`baseline`,"&:not(:last-child)":{marginBottom:`1rem`}}),N.div(Wj,({theme:e})=>({...CQ(e),margin:`25px 0 40px`,padding:`30px 20px`})),N.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText})),N.div(({theme:e})=>({color:vU(.3,e.color.defaultText)})),N.div({flex:`0 0 30%`,lineHeight:`20px`,marginTop:5}),N.div(({theme:e})=>({flex:1,textAlign:`center`,fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:`hidden`,color:vU(.3,e.color.defaultText),"> div":{display:`inline-block`,overflow:`hidden`,maxWidth:`100%`,textOverflow:`ellipsis`},span:{display:`block`,marginTop:2}})),N.div({display:`flex`,flexDirection:`row`}),N.div(({background:e})=>({position:`relative`,flex:1,"&::before":{position:`absolute`,top:0,left:0,width:`100%`,height:`100%`,background:e,content:`""`}})),N.div(({theme:e})=>({...CQ(e),display:`flex`,flexDirection:`row`,height:50,marginBottom:5,overflow:`hidden`,backgroundColor:`white`,backgroundImage:`repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)`,backgroundClip:`padding-box`})),N.div({display:`flex`,flexDirection:`column`,flex:1,position:`relative`,marginBottom:30}),N.div({flex:1,display:`flex`,flexDirection:`row`}),N.div({display:`flex`,alignItems:`flex-start`}),N.div({flex:`0 0 30%`}),N.div({flex:1}),N.div(({theme:e})=>({display:`flex`,flexDirection:`row`,alignItems:`center`,paddingBottom:20,fontWeight:e.typography.weight.bold,color:vU(.3,e.color.defaultText)})),N.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:`20px`,display:`flex`,flexDirection:`column`})),N.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s1,color:e.color.defaultText,marginLeft:10,lineHeight:1.2,display:`-webkit-box`,overflow:`hidden`,wordBreak:`break-word`,textOverflow:`ellipsis`,WebkitLineClamp:2,WebkitBoxOrient:`vertical`})),N.div(({theme:e})=>({...CQ(e),overflow:`hidden`,height:40,width:40,display:`flex`,alignItems:`center`,justifyContent:`center`,flex:`none`,"> img, > svg":{width:20,height:20}})),N.div({display:`inline-flex`,flexDirection:`row`,alignItems:`center`,width:`100%`}),N.div({display:`grid`,gridTemplateColumns:`repeat(auto-fill, minmax(140px, 1fr))`,gridGap:`8px 16px`,gridAutoFlow:`row dense`,gridAutoRows:50}),{NAVIGATE_URL:qQ}=__STORYBOOK_MODULE_CORE_EVENTS__,JQ={tocSelector:`.js-toc`,tocElement:null,contentSelector:`.js-toc-content`,contentElement:null,headingSelector:`h1, h2, h3`,ignoreSelector:`.js-toc-ignore`,hasInnerContainers:!1,linkClass:`toc-link`,extraLinkClasses:``,activeLinkClass:`is-active-link`,listClass:`toc-list`,extraListClasses:``,isCollapsedClass:`is-collapsed`,collapsibleClass:`is-collapsible`,listItemClass:`toc-list-item`,activeListItemClass:`is-active-li`,collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(e){},headingsOffset:1,enableUrlHashUpdateOnScroll:!1,scrollHandlerType:`auto`,scrollHandlerTimeout:50,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:`is-position-fixed`,fixedSidebarOffset:`auto`,includeHtml:!1,includeTitleTags:!1,onClick:function(e){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:``,disableTocScrollSync:!1,tocScrollingWrapper:null,tocScrollOffset:30,bottomModeThreshold:30},Q={},e$=Object.prototype.hasOwnProperty,t$={destroy:YW,init:JW,refresh:XW},n$=N.aside(()=>({width:`10rem`,"@media (max-width: 768px)":{display:`none`}})),r$=N.nav(({theme:e})=>({position:`fixed`,bottom:0,top:0,width:`10rem`,paddingTop:`4rem`,paddingBottom:`2rem`,overflowY:`auto`,fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,WebkitFontSmoothing:`antialiased`,MozOsxFontSmoothing:`grayscale`,WebkitTapHighlightColor:`rgba(0, 0, 0, 0)`,WebkitOverflowScrolling:`touch`,"& *":{boxSizing:`border-box`},"& > .toc-wrapper > .toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`}}},"& .toc-list-item":{position:`relative`,listStyleType:`none`,marginLeft:20,paddingTop:3,paddingBottom:3},"& .toc-list-item::before":{content:`""`,position:`absolute`,height:`100%`,top:0,left:0,transform:`translateX(calc(-2px - 20px))`,borderLeft:`solid 2px ${e.color.mediumdark}`,opacity:0,transition:`opacity 0.2s`},"& .toc-list-item.is-active-li::before":{opacity:1},"& .toc-list-item > a":{color:e.color.defaultText,textDecoration:`none`},"& .toc-list-item.is-active-li > a":{fontWeight:600,color:e.color.secondary,textDecoration:`none`}})),i$=N.p(({theme:e})=>({fontWeight:600,fontSize:`0.875em`,color:e.color.defaultText,textTransform:`uppercase`,marginBottom:10})),a$=({headingId:e,title:t})=>typeof t==`string`||!t?HK.createElement(i$,{as:`h2`,id:e,className:t?``:`sb-sr-only`,lang:t?void 0:`en`},t||`Table of contents`):HK.createElement(`div`,{id:e},t),o$=({title:e,disable:t,headingSelector:n,contentsSelector:r,ignoreSelector:i,unsafeTocbotOptions:a,channel:o,className:s})=>{(0,HK.useEffect)(()=>{if(t)return()=>{};let e={tocSelector:`.toc-wrapper`,contentSelector:r??`.sbdocs-content`,headingSelector:n??`h3`,ignoreSelector:i??`.docs-story *, .skip-toc`,headingsOffset:40,scrollSmoothOffset:-40,orderedList:!1,onClick:e=>{if(e.preventDefault(),e.currentTarget instanceof HTMLAnchorElement){let[,t]=e.currentTarget.href.split(`#`);t&&o.emit(qQ,`#${t}`)}},...a},s=setTimeout(()=>t$.init(e),100);return()=>{clearTimeout(s),t$.destroy()}},[o,t,i,r,n,a]);let c=`table-of-contents`;return HK.createElement(n$,{className:s},t?null:HK.createElement(r$,{"aria-labelledby":c},HK.createElement(a$,{headingId:c,title:e}),HK.createElement(`div`,{className:`toc-wrapper`})))},s$=e=>`anchor--${e}`,c$=({storyId:e,children:t})=>UK.createElement(`div`,{id:s$(e),className:`sb-anchor`},t),{InvalidBlockOfPropError:l$}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__,{filterArgTypes:u$}=__STORYBOOK_MODULE_PREVIEW_API__,{getService:d$}=__STORYBOOK_MODULE_PREVIEW_API__,f$=(e,t)=>(0,qK.useContext)(mQ).resolveOf(e,t),p$=e=>e.split(`-`).map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(``),m$=e=>{if(e)return typeof e==`string`?e.includes(`-`)?p$(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name},h$=e=>{let{argTypes:t,parameters:n,component:r,subcomponents:i,filterProps:a}=dG(e);return t?fG({mainName:m$(r),mainRows:t,subcomponentRows:cG(i,n),docsLang:n?.docs?.lang,...a}):null},g$=e=>{let{argTypes:t,parameters:n,componentId:r,storyId:i,initialArgs:a,filterProps:o,component:s}=dG(e),{rows:c,isInitialLoading:l}=lG({componentId:r,storyId:i,parameters:n,initialArgs:a,customArgTypes:t});return l?WK.createElement(VZ,{isLoading:!0}):c?fG({mainName:m$(s)??c.serviceComponentName,mainRows:c.mainRows,subcomponentRows:c.subcomponentRows,docsLang:n?.docs?.lang,...o}):null},_$=e=>globalThis.FEATURES?.experimentalDocgenServer?WK.createElement(g$,{...e}):WK.createElement(h$,{...e}),v$=vQ(`ArgTypes`,_$),{FORCE_REMOUNT:y$}=__STORYBOOK_MODULE_CORE_EVENTS__,{InvalidBlockOfPropError:b$}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__,{InvalidBlockOfPropError:x$}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__,S$=Object.create,C$=Object.defineProperty,w$=Object.getOwnPropertyDescriptor,T$=Object.getOwnPropertyNames,E$=Object.getPrototypeOf,D$=Object.prototype.hasOwnProperty,$=(e,t)=>function(){return t||(0,e[T$(e)[0]])((t={exports:{}}).exports,t),t.exports},O$=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let i of T$(t))!D$.call(e,i)&&i!==n&&C$(e,i,{get:()=>t[i],enumerable:!(r=w$(t,i))||r.enumerable});return e},k$=(e,t,n)=>(n=e==null?{}:S$(E$(e)),O$(t||!e||!e.__esModule?C$(n,`default`,{value:e,enumerable:!0}):n,e)),A$=[`bubbles`,`cancelBubble`,`cancelable`,`composed`,`currentTarget`,`defaultPrevented`,`eventPhase`,`isTrusted`,`returnValue`,`srcElement`,`target`,`timeStamp`,`type`],j$=[`detail`],M$=$({"node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js"(e,t){t.exports=Object}}),N$=$({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js"(e,t){t.exports=Error}}),P$=$({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js"(e,t){t.exports=EvalError}}),F$=$({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js"(e,t){t.exports=RangeError}}),I$=$({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js"(e,t){t.exports=ReferenceError}}),L$=$({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js"(e,t){t.exports=SyntaxError}}),R$=$({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js"(e,t){t.exports=TypeError}}),z$=$({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js"(e,t){t.exports=URIError}}),B$=$({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js"(e,t){t.exports=Math.abs}}),V$=$({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js"(e,t){t.exports=Math.floor}}),H$=$({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js"(e,t){t.exports=Math.max}}),U$=$({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js"(e,t){t.exports=Math.min}}),W$=$({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js"(e,t){t.exports=Math.pow}}),G$=$({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js"(e,t){t.exports=Math.round}}),K$=$({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js"(e,t){t.exports=Number.isNaN||function(e){return e!==e}}}),q$=$({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js"(e,t){var n=K$();t.exports=function(e){return n(e)||e===0?e:e<0?-1:1}}}),J$=$({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js"(e,t){t.exports=Object.getOwnPropertyDescriptor}}),Y$=$({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js"(e,t){var n=J$();if(n)try{n([],`length`)}catch{n=null}t.exports=n}}),X$=$({"node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js"(e,t){var n=Object.defineProperty||!1;if(n)try{n({},`a`,{value:1})}catch{n=!1}t.exports=n}}),Z$=$({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js"(e,t){t.exports=function(){if(typeof Symbol!=`function`||typeof Object.getOwnPropertySymbols!=`function`)return!1;if(typeof Symbol.iterator==`symbol`)return!0;var e={},t=Symbol(`test`),n=Object(t);if(typeof t==`string`||Object.prototype.toString.call(t)!==`[object Symbol]`||Object.prototype.toString.call(n)!==`[object Symbol]`)return!1;var r=42;for(var i in e[t]=r,e)return!1;if(typeof Object.keys==`function`&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames==`function`&&Object.getOwnPropertyNames(e).length!==0)return!1;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor==`function`){var o=Object.getOwnPropertyDescriptor(e,t);if(o.value!==r||o.enumerable!==!0)return!1}return!0}}}),Q$=$({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js"(e,t){var n=typeof Symbol<`u`&&Symbol,r=Z$();t.exports=function(){return typeof n!=`function`||typeof Symbol!=`function`||typeof n(`foo`)!=`symbol`||typeof Symbol(`bar`)!=`symbol`?!1:r()}}}),$$=$({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js"(e,t){t.exports=typeof Reflect<`u`&&Reflect.getPrototypeOf||null}}),e1=$({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js"(e,t){t.exports=M$().getPrototypeOf||null}}),t1=$({"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js"(e,t){var n=Object.prototype.toString,r=Math.max,i=`[object Function]`,a=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var i=0;i<t.length;i+=1)n[i+e.length]=t[i];return n},o=function(e,t){for(var n=[],r=t||0,i=0;r<e.length;r+=1,i+=1)n[i]=e[r];return n},s=function(e,t){for(var n=``,r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n};t.exports=function(e){var t=this;if(typeof t!=`function`||n.apply(t)!==i)throw TypeError(`Function.prototype.bind called on incompatible `+t);for(var c=o(arguments,1),l,u=function(){if(this instanceof l){var n=t.apply(this,a(c,arguments));return Object(n)===n?n:this}return t.apply(e,a(c,arguments))},d=r(0,t.length-c.length),f=[],p=0;p<d;p++)f[p]=`$`+p;if(l=Function(`binder`,`return function (`+s(f,`,`)+`){ return binder.apply(this,arguments); }`)(u),t.prototype){var m=function(){};m.prototype=t.prototype,l.prototype=new m,m.prototype=null}return l}}}),n1=$({"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"(e,t){var n=t1();t.exports=Function.prototype.bind||n}}),r1=$({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js"(e,t){t.exports=Function.prototype.call}}),i1=$({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js"(e,t){t.exports=Function.prototype.apply}}),a1=$({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js"(e,t){t.exports=typeof Reflect<`u`&&Reflect&&Reflect.apply}}),o1=$({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js"(e,t){var n=n1(),r=i1(),i=r1();t.exports=a1()||n.call(i,r)}}),s1=$({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js"(e,t){var n=n1(),r=R$(),i=r1(),a=o1();t.exports=function(e){if(e.length<1||typeof e[0]!=`function`)throw new r(`a function is required`);return a(n,i,e)}}}),c1=$({"node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js"(e,t){var n=s1(),r=Y$(),i;try{i=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!=`object`||!(`code`in e)||e.code!==`ERR_PROTO_ACCESS`)throw e}var a=!!i&&r&&r(Object.prototype,`__proto__`),o=Object,s=o.getPrototypeOf;t.exports=a&&typeof a.get==`function`?n([a.get]):typeof s==`function`&&(function(e){return s(e==null?e:o(e))})}}),l1=$({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js"(e,t){var n=$$(),r=e1(),i=c1();t.exports=n?function(e){return n(e)}:r?function(e){if(!e||typeof e!=`object`&&typeof e!=`function`)throw TypeError(`getProto: not an object`);return r(e)}:i?function(e){return i(e)}:null}}),u1=$({"node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js"(e,t){var n=Function.prototype.call,r=Object.prototype.hasOwnProperty;t.exports=n1().call(n,r)}}),d1=$({"node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js"(e,t){var n,r=M$(),i=N$(),a=P$(),o=F$(),s=I$(),c=L$(),l=R$(),u=z$(),d=B$(),f=V$(),p=H$(),m=U$(),h=W$(),g=G$(),_=q$(),v=Function,y=function(e){try{return v(`"use strict"; return (`+e+`).constructor;`)()}catch{}},b=Y$(),x=X$(),S=function(){throw new l},C=b?(function(){try{return arguments.callee,S}catch{try{return b(arguments,`callee`).get}catch{return S}}})():S,w=Q$()(),T=l1(),E=e1(),D=$$(),O=i1(),k=r1(),A={},j=typeof Uint8Array>`u`||!T?n:T(Uint8Array),M={__proto__:null,"%AggregateError%":typeof AggregateError>`u`?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>`u`?n:ArrayBuffer,"%ArrayIteratorPrototype%":w&&T?T([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":A,"%AsyncGenerator%":A,"%AsyncGeneratorFunction%":A,"%AsyncIteratorPrototype%":A,"%Atomics%":typeof Atomics>`u`?n:Atomics,"%BigInt%":typeof BigInt>`u`?n:BigInt,"%BigInt64Array%":typeof BigInt64Array>`u`?n:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>`u`?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>`u`?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":a,"%Float16Array%":typeof Float16Array>`u`?n:Float16Array,"%Float32Array%":typeof Float32Array>`u`?n:Float32Array,"%Float64Array%":typeof Float64Array>`u`?n:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>`u`?n:FinalizationRegistry,"%Function%":v,"%GeneratorFunction%":A,"%Int8Array%":typeof Int8Array>`u`?n:Int8Array,"%Int16Array%":typeof Int16Array>`u`?n:Int16Array,"%Int32Array%":typeof Int32Array>`u`?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":w&&T?T(T([][Symbol.iterator]())):n,"%JSON%":typeof JSON==`object`?JSON:n,"%Map%":typeof Map>`u`?n:Map,"%MapIteratorPrototype%":typeof Map>`u`||!w||!T?n:T(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":r,"%Object.getOwnPropertyDescriptor%":b,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>`u`?n:Promise,"%Proxy%":typeof Proxy>`u`?n:Proxy,"%RangeError%":o,"%ReferenceError%":s,"%Reflect%":typeof Reflect>`u`?n:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>`u`?n:Set,"%SetIteratorPrototype%":typeof Set>`u`||!w||!T?n:T(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>`u`?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":w&&T?T(``[Symbol.iterator]()):n,"%Symbol%":w?Symbol:n,"%SyntaxError%":c,"%ThrowTypeError%":C,"%TypedArray%":j,"%TypeError%":l,"%Uint8Array%":typeof Uint8Array>`u`?n:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>`u`?n:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>`u`?n:Uint16Array,"%Uint32Array%":typeof Uint32Array>`u`?n:Uint32Array,"%URIError%":u,"%WeakMap%":typeof WeakMap>`u`?n:WeakMap,"%WeakRef%":typeof WeakRef>`u`?n:WeakRef,"%WeakSet%":typeof WeakSet>`u`?n:WeakSet,"%Function.prototype.call%":k,"%Function.prototype.apply%":O,"%Object.defineProperty%":x,"%Object.getPrototypeOf%":E,"%Math.abs%":d,"%Math.floor%":f,"%Math.max%":p,"%Math.min%":m,"%Math.pow%":h,"%Math.round%":g,"%Math.sign%":_,"%Reflect.getPrototypeOf%":D};if(T)try{null.error}catch(e){ee=T(T(e)),M[`%Error.prototype%`]=ee}var ee,te=function e(t){var n;if(t===`%AsyncFunction%`)n=y(`async function () {}`);else if(t===`%GeneratorFunction%`)n=y(`function* () {}`);else if(t===`%AsyncGeneratorFunction%`)n=y(`async function* () {}`);else if(t===`%AsyncGenerator%`){var r=e(`%AsyncGeneratorFunction%`);r&&(n=r.prototype)}else if(t===`%AsyncIteratorPrototype%`){var i=e(`%AsyncGenerator%`);i&&T&&(n=T(i.prototype))}return M[t]=n,n},ne={__proto__:null,"%ArrayBufferPrototype%":[`ArrayBuffer`,`prototype`],"%ArrayPrototype%":[`Array`,`prototype`],"%ArrayProto_entries%":[`Array`,`prototype`,`entries`],"%ArrayProto_forEach%":[`Array`,`prototype`,`forEach`],"%ArrayProto_keys%":[`Array`,`prototype`,`keys`],"%ArrayProto_values%":[`Array`,`prototype`,`values`],"%AsyncFunctionPrototype%":[`AsyncFunction`,`prototype`],"%AsyncGenerator%":[`AsyncGeneratorFunction`,`prototype`],"%AsyncGeneratorPrototype%":[`AsyncGeneratorFunction`,`prototype`,`prototype`],"%BooleanPrototype%":[`Boolean`,`prototype`],"%DataViewPrototype%":[`DataView`,`prototype`],"%DatePrototype%":[`Date`,`prototype`],"%ErrorPrototype%":[`Error`,`prototype`],"%EvalErrorPrototype%":[`EvalError`,`prototype`],"%Float32ArrayPrototype%":[`Float32Array`,`prototype`],"%Float64ArrayPrototype%":[`Float64Array`,`prototype`],"%FunctionPrototype%":[`Function`,`prototype`],"%Generator%":[`GeneratorFunction`,`prototype`],"%GeneratorPrototype%":[`GeneratorFunction`,`prototype`,`prototype`],"%Int8ArrayPrototype%":[`Int8Array`,`prototype`],"%Int16ArrayPrototype%":[`Int16Array`,`prototype`],"%Int32ArrayPrototype%":[`Int32Array`,`prototype`],"%JSONParse%":[`JSON`,`parse`],"%JSONStringify%":[`JSON`,`stringify`],"%MapPrototype%":[`Map`,`prototype`],"%NumberPrototype%":[`Number`,`prototype`],"%ObjectPrototype%":[`Object`,`prototype`],"%ObjProto_toString%":[`Object`,`prototype`,`toString`],"%ObjProto_valueOf%":[`Object`,`prototype`,`valueOf`],"%PromisePrototype%":[`Promise`,`prototype`],"%PromiseProto_then%":[`Promise`,`prototype`,`then`],"%Promise_all%":[`Promise`,`all`],"%Promise_reject%":[`Promise`,`reject`],"%Promise_resolve%":[`Promise`,`resolve`],"%RangeErrorPrototype%":[`RangeError`,`prototype`],"%ReferenceErrorPrototype%":[`ReferenceError`,`prototype`],"%RegExpPrototype%":[`RegExp`,`prototype`],"%SetPrototype%":[`Set`,`prototype`],"%SharedArrayBufferPrototype%":[`SharedArrayBuffer`,`prototype`],"%StringPrototype%":[`String`,`prototype`],"%SymbolPrototype%":[`Symbol`,`prototype`],"%SyntaxErrorPrototype%":[`SyntaxError`,`prototype`],"%TypedArrayPrototype%":[`TypedArray`,`prototype`],"%TypeErrorPrototype%":[`TypeError`,`prototype`],"%Uint8ArrayPrototype%":[`Uint8Array`,`prototype`],"%Uint8ClampedArrayPrototype%":[`Uint8ClampedArray`,`prototype`],"%Uint16ArrayPrototype%":[`Uint16Array`,`prototype`],"%Uint32ArrayPrototype%":[`Uint32Array`,`prototype`],"%URIErrorPrototype%":[`URIError`,`prototype`],"%WeakMapPrototype%":[`WeakMap`,`prototype`],"%WeakSetPrototype%":[`WeakSet`,`prototype`]},re=n1(),ie=u1(),ae=re.call(k,Array.prototype.concat),oe=re.call(O,Array.prototype.splice),se=re.call(k,String.prototype.replace),ce=re.call(k,String.prototype.slice),le=re.call(k,RegExp.prototype.exec),ue=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,de=/\\(\\)?/g,fe=function(e){var t=ce(e,0,1),n=ce(e,-1);if(t===`%`&&n!==`%`)throw new c("invalid intrinsic syntax, expected closing `%`");if(n===`%`&&t!==`%`)throw new c("invalid intrinsic syntax, expected opening `%`");var r=[];return se(e,ue,function(e,t,n,i){r[r.length]=n?se(i,de,`$1`):t||e}),r},pe=function(e,t){var n=e,r;if(ie(ne,n)&&(r=ne[n],n=`%`+r[0]+`%`),ie(M,n)){var i=M[n];if(i===A&&(i=te(n)),typeof i>`u`&&!t)throw new l(`intrinsic `+e+` exists, but is not available. Please file an issue!`);return{alias:r,name:n,value:i}}throw new c(`intrinsic `+e+` does not exist!`)};t.exports=function(e,t){if(typeof e!=`string`||e.length===0)throw new l(`intrinsic name must be a non-empty string`);if(arguments.length>1&&typeof t!=`boolean`)throw new l(`"allowMissing" argument must be a boolean`);if(le(/^%?[^%]*%?$/,e)===null)throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=fe(e),r=n.length>0?n[0]:``,i=pe(`%`+r+`%`,t),a=i.name,o=i.value,s=!1,u=i.alias;u&&(r=u[0],oe(n,ae([0,1],u)));for(var d=1,f=!0;d<n.length;d+=1){var p=n[d],m=ce(p,0,1),h=ce(p,-1);if((m===`"`||m===`'`||m==="`"||h===`"`||h===`'`||h==="`")&&m!==h)throw new c(`property names with quotes must have matching quotes`);if((p===`constructor`||!f)&&(s=!0),r+=`.`+p,a=`%`+r+`%`,ie(M,a))o=M[a];else if(o!=null){if(!(p in o)){if(!t)throw new l(`base intrinsic for `+e+` exists, but the property is not available.`);return}if(b&&d+1>=n.length){var g=b(o,p);f=!!g,o=f&&`get`in g&&!(`originalValue`in g.get)?g.get:o[p]}else f=ie(o,p),o=o[p];f&&!s&&(M[a]=o)}}return o}}}),f1=$({"node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js"(e,t){var n=d1(),r=s1(),i=r([n(`%String.prototype.indexOf%`)]);t.exports=function(e,t){var a=n(e,!!t);return typeof a==`function`&&i(e,`.prototype.`)>-1?r([a]):a}}}),p1=$({"node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js"(e,t){var n=Z$();t.exports=function(){return n()&&!!Symbol.toStringTag}}}),m1=$({"node_modules/.pnpm/is-regex@1.2.1/node_modules/is-regex/index.js"(e,t){var n=f1(),r=p1()(),i=u1(),a=Y$(),o;r?(s=n(`RegExp.prototype.exec`),c={},l=function(){throw c},u={toString:l,valueOf:l},typeof Symbol.toPrimitive==`symbol`&&(u[Symbol.toPrimitive]=l),o=function(e){if(!e||typeof e!=`object`)return!1;var t=a(e,`lastIndex`);if(!(t&&i(t,`value`)))return!1;try{s(e,u)}catch(e){return e===c}}):(d=n(`Object.prototype.toString`),f=`[object RegExp]`,o=function(e){return!e||typeof e!=`object`&&typeof e!=`function`?!1:d(e)===f});var s,c,l,u,d,f;t.exports=o}}),h1=$({"node_modules/.pnpm/is-function@1.0.2/node_modules/is-function/index.js"(e,t){t.exports=r;var n=Object.prototype.toString;function r(e){if(!e)return!1;var t=n.call(e);return t===`[object Function]`||typeof e==`function`&&t!==`[object RegExp]`||typeof window<`u`&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)}}}),g1=$({"node_modules/.pnpm/safe-regex-test@1.1.0/node_modules/safe-regex-test/index.js"(e,t){var n=f1(),r=m1(),i=n(`RegExp.prototype.exec`),a=R$();t.exports=function(e){if(!r(e))throw new a("`regex` must be a RegExp");return function(t){return i(e,t)!==null}}}}),_1=$({"node_modules/.pnpm/is-symbol@1.1.1/node_modules/is-symbol/index.js"(e,t){var n=f1(),r=n(`Object.prototype.toString`),i=Q$()(),a=g1();i?(o=n(`Symbol.prototype.toString`),s=a(/^Symbol\(.*\)$/),c=function(e){return typeof e.valueOf()==`symbol`&&s(o(e))},t.exports=function(e){if(typeof e==`symbol`)return!0;if(!e||typeof e!=`object`||r(e)!==`[object Symbol]`)return!1;try{return c(e)}catch{return!1}}):t.exports=function(e){return!1};var o,s,c}}),v1=k$(m1()),y1=k$(h1()),b1=k$(_1()),x1=typeof global==`object`&&global&&global.Object===Object&&global,S1=typeof self==`object`&&self&&self.Object===Object&&self,C1=x1||S1||Function(`return this`)(),w1=C1.Symbol,T1=Object.prototype,E1=T1.hasOwnProperty,D1=T1.toString,O1=w1?w1.toStringTag:void 0,k1=hG,A1=Object.prototype.toString,j1=gG,M1=`[object Null]`,N1=`[object Undefined]`,P1=w1?w1.toStringTag:void 0,F1=_G,I1=w1?w1.prototype:void 0,I1&&I1.toString,L1=vG,R1=`[object AsyncFunction]`,z1=`[object Function]`,B1=`[object GeneratorFunction]`,V1=`[object Proxy]`,H1=yG,U1=C1[`__core-js_shared__`],W1=(function(){var e=/[^.]+$/.exec(U1&&U1.keys&&U1.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``})(),G1=bG,K1=Function.prototype.toString,q1=xG,J1=/[\\^$.*+?()[\]{}|]/g,Y1=/^\[object .+?Constructor\]$/,X1=Function.prototype,Z1=Object.prototype,Q1=X1.toString,$1=Z1.hasOwnProperty,e0=RegExp(`^`+Q1.call($1).replace(J1,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`),t0=SG,n0=CG,r0=wG,i0=TG,a0=r0(Object,`create`),o0=EG,s0=DG,c0=`__lodash_hash_undefined__`,l0=Object.prototype.hasOwnProperty,u0=OG,d0=Object.prototype.hasOwnProperty,f0=kG,p0=`__lodash_hash_undefined__`,m0=AG,jG.prototype.clear=o0,jG.prototype.delete=s0,jG.prototype.get=u0,jG.prototype.has=f0,jG.prototype.set=m0,h0=jG,g0=MG,_0=NG,v0=Array.prototype.splice,y0=PG,b0=FG,x0=IG,S0=LG,RG.prototype.clear=g0,RG.prototype.delete=y0,RG.prototype.get=b0,RG.prototype.has=x0,RG.prototype.set=S0,C0=RG,w0=r0(C1,`Map`),T0=zG,E0=BG,D0=VG,O0=HG,k0=UG,A0=WG,j0=GG,KG.prototype.clear=T0,KG.prototype.delete=O0,KG.prototype.get=k0,KG.prototype.has=A0,KG.prototype.set=j0,M0=KG,N0=`Expected a function`,qG.Cache=M0,P0=qG,F0=500,I0=JG,L0=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,R0=/\\(\\)?/g,I0(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(``),e.replace(L0,function(e,n,r,i){t.push(r?i.replace(R0,`$1`):n||e)}),t}),z0=mG,B0=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,V0=function(e){let t,n,r,i;return function(a,o){try{if(a===``)return i=[],t=new Map([[o,`[]`]]),n=new Map,r=[],o;let s=n.get(this)||this;for(;r.length&&s!==r[0];)r.shift(),i.pop();if(typeof o==`boolean`)return o;if(o===void 0)return e.allowUndefined?`_undefined_`:void 0;if(o===null)return null;if(typeof o==`number`)return o===-1/0?`_-Infinity_`:o===1/0?`_Infinity_`:Number.isNaN(o)?`_NaN_`:o;if(typeof o==`bigint`)return`_bigint_${o.toString()}`;if(typeof o==`string`)return B0.test(o)?e.allowDate?`_date_${o}`:void 0:o;if((0,v1.default)(o))return e.allowRegExp?`_regexp_${o.flags}|${o.source}`:void 0;if((0,y1.default)(o))return;if((0,b1.default)(o)){if(!e.allowSymbol)return;let t=Symbol.keyFor(o);return t===void 0?`_symbol_${o.toString().slice(7,-1)}`:`_gsymbol_${t}`}if(r.length>=e.maxDepth)return Array.isArray(o)?`[Array(${o.length})]`:`[Object]`;if(o===this)return`_duplicate_${JSON.stringify(i)}`;if(o instanceof Error&&e.allowError)return{__isConvertedError__:!0,errorProperties:{...o.cause?{cause:o.cause}:{},...o,name:o.name,message:o.message,stack:o.stack,"_constructor-name_":o.constructor.name}};if(o?.constructor?.name&&o.constructor.name!==`Object`&&!Array.isArray(o)){let e=t.get(o);if(!e){let e={__isClassInstance__:!0,__className__:o.constructor.name,...Object.getOwnPropertyNames(o).reduce((e,t)=>{try{e[t]=o[t]}catch{}return e},{})};return i.push(a),r.unshift(e),t.set(o,JSON.stringify(i)),o!==e&&n.set(o,e),e}return`_duplicate_${e}`}let c=t.get(o);if(!c){let e=Array.isArray(o)?o:YG(o);return i.push(a),r.unshift(e),t.set(o,JSON.stringify(i)),o!==e&&n.set(o,e),e}return`_duplicate_${c}`}catch{return}}},H0={maxDepth:10,space:void 0,allowRegExp:!0,allowDate:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0},U0=(e,t={})=>{let n={...H0,...t};return JSON.stringify(YG(e),V0(n),t.space)},W0=(0,XK.createContext)({sources:{}}),G0=`--unknown--`,K0=({children:e,channel:t})=>{let[n,r]=(0,XK.useState)({});return(0,XK.useEffect)(()=>{let e=(e,t=null,n=!1)=>{let{id:i,args:a=void 0,source:o,format:s}=typeof e==`string`?{id:e,source:t,format:n}:e,c=a?XG(a):G0;r(e=>({...e,[i]:{...e[i],[c]:{code:o||``,format:s}}}))};return t.on(D,e),()=>t.off(D,e)},[]),XK.createElement(W0.Provider,{value:{sources:n}},e)},{getService:q0}=__STORYBOOK_MODULE_PREVIEW_API__,J0={sources:{}},Y0=(e,t,n)=>{let{sources:r}=n,i=r?.[e];return i?.[XG(t)]||i?.[`--unknown--`]||{code:``}},X0=({snippet:e,serviceSnippet:t,storyContext:n,typeFromProps:r,transformFromProps:i})=>{let a=n.parameters??{},{__isArgsStory:o}=a,s=a.docs?.source||{},c=r||s.type||A.AUTO,l=t||e,u=c===A.DYNAMIC||c===A.AUTO&&l&&o?l:s.originalSource||``,d=i??s.transform,f=d?eK(u,d,n):u;return s.code===void 0?f:s.code},Z0=(e,t,n,r=``)=>{let{of:i}=e,a=(0,YK.useMemo)(()=>{if(i)return t.resolveOf(i,[`story`]).story;try{return t.storyById()}catch{}},[t,i]),o=a?t.getStoryContext(a):{},s=e.__forceInitialArgs?o.initialArgs:o.unmappedArgs,c=a?Y0(a.id,s,n):null,l=X0({snippet:c?c.code:``,serviceSnippet:r,storyContext:{...o,args:s},typeFromProps:e.type,transformFromProps:e.transform});if(`of`in e&&i===void 0)throw new x$;let u=a?.parameters?.docs?.source||{},d=e.format,f=e.language??u.language??`jsx`,p=e.dark??u.dark??!1;return e.code===void 0&&!a?{error:`Oh no! The source is not available.`}:e.code===void 0?(d=c?.format??!0,{code:l,format:d,language:f,dark:p}):{code:e.code,format:d,language:f,dark:p}},Q0=({storyId:e,docsContext:t,sourceContext:n,...r})=>{let i=Z0(r,t,n,$G(e).data??``);return YK.createElement(TU,{...i})},$0=e=>{let{of:t}=e,n=(0,YK.useContext)(W0),r=(0,YK.useContext)(mQ),i=(0,YK.useMemo)(()=>{if(t)return r.resolveOf(t,[`story`]).story;try{return r.storyById()}catch{}},[r,t]);if(globalThis.FEATURES?.experimentalDocgenServer&&i?.id)return YK.createElement(Q0,{...e,docsContext:r,sourceContext:n,storyId:i.id});let a=Z0(e,r,n);return YK.createElement(TU,{...a})},e2=e=>{let t=Z0(e,(0,YK.useContext)(mQ),J0);return YK.createElement(TU,{...t})},t2=e=>e.code===void 0?YK.createElement($0,{...e}):YK.createElement(e2,{...e}),vQ(`Source`,t2),n2=e=>{let t=(0,JK.useContext)(mQ),n=(0,JK.useContext)(W0),{of:r,source:i}=e;if(`of`in e&&r===void 0)throw new b$;let{story:a}=f$(r||`story`,[`story`]),o=Z0({...i,...r&&{of:r}},t,n),s=e.layout??a.parameters.layout??a.parameters.docs?.canvas?.layout??`padded`,c=e.withToolbar??a.parameters.docs?.canvas?.withToolbar??!1,l=e.additionalActions??a.parameters.docs?.canvas?.additionalActions,u=e.sourceState??a.parameters.docs?.canvas?.sourceState??`hidden`,d=e.className??a.parameters.docs?.canvas?.className,f=e.story?.inline??a.parameters?.docs?.story?.inline??!1,p=(0,JK.useCallback)(()=>{t.channel.emit(y$,{storyId:a.id})},[t.channel,a.id]);return JK.createElement(WQ,{withSource:u===`none`?void 0:o,isExpanded:u===`shown`,withToolbar:c,additionalActions:l,className:d,layout:s,inline:f,onReloadStory:f?p:void 0},JK.createElement(SQ,{of:r||a.moduleExport,meta:e.meta,...e.story}))},r2=vQ(`Canvas`,n2),{filterArgTypes:i2}=__STORYBOOK_MODULE_PREVIEW_API__,{RESET_STORY_ARGS:a2,STORY_ARGS_UPDATED:o2,UPDATE_STORY_ARGS:s2}=__STORYBOOK_MODULE_CORE_EVENTS__,c2=(e,t)=>{let n=l2(e,t);if(!n)throw Error(`No result when story was defined`);return n},l2=(e,t)=>{let n=e?t.getStoryContext(e):{args:{}},{id:r}=e||{id:`none`},[i,a]=(0,eq.useState)(n.args);(0,eq.useEffect)(()=>{let e=e=>{e.storyId===r&&a(e.args)};return t.channel.on(o2,e),()=>t.channel.off(o2,e)},[r,t.channel]);let o=(0,eq.useCallback)(e=>t.channel.emit(s2,{storyId:r,updatedArgs:e}),[r,t.channel]),s=(0,eq.useCallback)(e=>t.channel.emit(a2,{storyId:r,argNames:e}),[r,t.channel]);return e&&[i,o,s]},{GLOBALS_UPDATED:u2}=__STORYBOOK_MODULE_CORE_EVENTS__,d2=(e,t)=>{let n=t.getStoryContext(e),[r,i]=(0,tq.useState)(n.globals);return(0,tq.useEffect)(()=>{let e=e=>{i(e.globals)};return t.channel.on(u2,e),()=>t.channel.off(u2,e)},[t.channel]),[r]},{Tag:f2}=__STORYBOOK_MODULE_PREVIEW_API__,p2=()=>{let e=(0,nq.useContext)(mQ),t=e.componentStories();return e.filterByAutodocs===!1?t[0]:t.find(e=>e.tags.includes(f2.AUTODOCS))},m2=({mainName:e=`Story`,mainRows:t,subcomponentRows:n,include:r,exclude:i,sort:a,storyId:o,controlsId:s,args:c,globals:l,updateArgs:u,resetArgs:d,docsLang:f})=>{let p=i2(t,r,i);if(Object.keys(n).length===0)return Object.keys(p).length>0||Object.keys(c).length>0?$K.createElement(VZ,{storyId:o,controlsId:s,rows:p,sort:a,args:c,globals:l,updateArgs:u,resetArgs:d,docsLang:f}):null;let m={[e]:{rows:p,sort:a},...Object.fromEntries(Object.entries(n).map(([e,t])=>[e,{rows:i2(t,r,i),sort:a}]))};return $K.createElement(KQ,{tabs:m,sort:a,args:c,globals:l,updateArgs:u,resetArgs:d,storyId:o,controlsId:s,docsLang:f})},h2=({story:e,context:t,...n})=>{let{parameters:r,argTypes:i,component:a,subcomponents:o}=e,s=tK(e,n),c=nK(e,t);return i?$K.createElement(m2,{mainName:m$(a)||`Story`,mainRows:i,subcomponentRows:cG(o,r),...s,storyId:e.id,...c,docsLang:r?.docs?.lang}):null},g2=({story:e,context:t,...n})=>{let{parameters:r,argTypes:i,component:a}=e,o=tK(e,n),s=nK(e,t),{rows:c,isInitialLoading:l}=lG({componentId:e.id.split(`--`)[0],storyId:e.id,parameters:r,initialArgs:e.initialArgs,customArgTypes:i});return l?$K.createElement(VZ,{isLoading:!0}):c?$K.createElement(m2,{mainName:m$(a)??c.serviceComponentName,mainRows:c.mainRows,subcomponentRows:c.subcomponentRows,...o,storyId:e.id,...s,docsLang:r?.docs?.lang}):null},_2=e=>{let{of:t}=e,n=(0,$K.useContext)(mQ),r=p2(),i=t?n.resolveOf(t,[`story`]).story:r;if(!i)return null;let a={...e,story:i,context:n};return globalThis.FEATURES?.experimentalDocgenServer?$K.createElement(g2,{...a}):$K.createElement(h2,{...a})},v2=vQ(`Controls`,_2),{InvalidBlockOfPropError:y2}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__,{NAVIGATE_URL:b2}=__STORYBOOK_MODULE_CORE_EVENTS__,{document:x2}=globalThis,S2=({className:e,children:t,...n})=>{if(typeof e!=`string`&&(typeof t!=`string`||!t.match(/[\n\r]/g)))return aq.createElement(aM,null,t);let r=e&&e.split(`-`);return aq.createElement(TU,{language:r&&r[1]||`text`,format:!1,code:t,...n})},C2=tH.a,w2=({hash:e,children:t})=>{let n=(0,aq.useContext)(mQ);return aq.createElement(C2,{href:e,target:`_self`,onClick:t=>{let r=e.substring(1);x2.getElementById(r)&&rK(n,e)}},t)},T2=e=>{let{href:t,target:n,children:r,...i}=e,a=(0,aq.useContext)(mQ);return!t||n===`_blank`||/^https?:\/\//.test(t)?aq.createElement(C2,{...e}):t.startsWith(`#`)?aq.createElement(w2,{hash:t},r):aq.createElement(C2,{href:t,onClick:e=>{e.button===0&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&(e.preventDefault(),rK(a,e.currentTarget.getAttribute(`href`)||``))},target:n,...i},r)},E2=[`h1`,`h2`,`h3`,`h4`,`h5`,`h6`],D2=E2.reduce((e,t)=>({...e,[t]:N(t)({})}),{}),O2=N.span({display:`block`,position:`relative`,"& svg":{visibility:`hidden`},"&:hover svg, &:focus-within svg":{visibility:`visible`}}),k2=N.span({position:`absolute`,top:`50%`,right:`100%`,lineHeight:`inherit`,paddingRight:`8px`,"&&":{marginTop:-14},color:`inherit`,"& a":{color:`inherit`,textDecoration:`none`}}),N.span({}),A2=({as:e,id:t,children:n,...r})=>{let i=(0,aq.useContext)(mQ),a=D2[e],o=`#${t}`;return aq.createElement(a,{id:t,...r},aq.createElement(O2,{className:`sb-unstyled`},aq.createElement(k2,null,aq.createElement(HI,{asChild:!0,variant:`ghost`,size:`small`,padding:`small`,ariaLabel:`Copy heading URL to address bar`},aq.createElement(`a`,{href:o,target:`_self`,onClick:e=>{e.preventDefault(),x2.getElementById(t)&&rK(i,o)}},aq.createElement(Ze,null)))),n))},j2=e=>{let{as:t,id:n,children:r,...i}=e;if(n)return aq.createElement(A2,{as:t,id:n,...i},r);let a=t,{as:o,...s}=e;return aq.createElement(a,{...Vj(s,t)})},M2=E2.reduce((e,t)=>({...e,[t]:e=>aq.createElement(j2,{as:t,...e})}),{}),N2=e=>{if(!e.children)return null;if(typeof e.children!=`string`)throw Error(DU`The Markdown block only accepts children as a single string, but children were of type: '${typeof e.children}'
272
272
  This is often caused by not wrapping the child in a template string.
273
273
 
274
274
  This is invalid: