efficient-shell 12.2.0 → 12.4.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 (321) hide show
  1. package/README.md +40 -1
  2. package/dist/{Browser-UK645CZ3.js → Browser-Z4Q2NDFT.js} +15 -15
  3. package/dist/Calculator-AHBFZ4EN.js +29 -0
  4. package/dist/{CurrencyConverter-XNWE5MQW.js → CurrencyConverter-PZYRBADV.js} +6 -6
  5. package/dist/Files-EX6JA4CJ.js +121 -0
  6. package/dist/{Notepad-JP52QKUC.js → Notepad-U4OSPCX3.js} +12 -12
  7. package/dist/PdfViewer-GUXUWGMG.js +1 -0
  8. package/dist/{PomodoroTimer-SBV43YX6.js → PomodoroTimer-WGN2KNSB.js} +68 -68
  9. package/dist/{Preview-TKEDKVNI.js → Preview-JGRBT3EM.js} +56 -56
  10. package/dist/Sidebar-F7HHC5GY.js +44 -0
  11. package/dist/{Stock-GODZPUR3.js → Stock-5GEEDQVT.js} +3 -3
  12. package/dist/{Weather-2IIV4CFT.js → Weather-WMQQXWHH.js} +17 -17
  13. package/dist/{WorldClock-JW4MLMCB.js → WorldClock-IK3WTHVW.js} +7 -7
  14. package/dist/ai/index.d.ts +9 -1
  15. package/dist/ai/index.js +79 -79
  16. package/dist/apps/ImageAnnotator.d.ts +21 -0
  17. package/dist/apps/ImageAnnotator.js +2 -0
  18. package/dist/apps/index.js +1 -1
  19. package/dist/bin/media-host-check.js +1 -1
  20. package/dist/bin/ui-check.js +1 -1
  21. package/dist/brand.css +1 -1
  22. package/dist/charts/BoxPlotChart.js +1 -1
  23. package/dist/charts/CandlestickChart.js +1 -1
  24. package/dist/charts/CartesianPlot.js +1 -1
  25. package/dist/charts/ChartTooltip.js +1 -1
  26. package/dist/charts/ChordChart.js +1 -1
  27. package/dist/charts/ColumnChart.js +1 -1
  28. package/dist/charts/FlowChart.d.ts +25 -0
  29. package/dist/charts/FlowChart.js +2 -0
  30. package/dist/charts/FunnelChart.js +1 -1
  31. package/dist/charts/HeatmapChart.js +1 -1
  32. package/dist/charts/HistogramChart.js +1 -1
  33. package/dist/charts/PieChart.js +1 -1
  34. package/dist/charts/RadarChart.js +1 -1
  35. package/dist/charts/RadialBarChart.js +1 -1
  36. package/dist/charts/RangeChart.js +1 -1
  37. package/dist/charts/SankeyChart.js +1 -1
  38. package/dist/charts/ScatterChart.js +1 -1
  39. package/dist/charts/SpecChart.js +1 -1
  40. package/dist/charts/SunburstChart.js +1 -1
  41. package/dist/charts/TimeSeriesChart.js +1 -1
  42. package/dist/charts/TreemapChart.js +1 -1
  43. package/dist/charts/WaterfallChart.js +1 -1
  44. package/dist/charts/flowSpec.d.ts +94 -0
  45. package/dist/charts/flowSpec.js +1 -0
  46. package/dist/{chunk-NZYI4XV5.js → chunk-2BMGV6DE.js} +5 -5
  47. package/dist/chunk-2YRLRMZH.js +23 -0
  48. package/dist/{chunk-VFBBGLRA.js → chunk-3LTZ4N46.js} +13 -13
  49. package/dist/{chunk-BXZSLRNO.js → chunk-3PWI5IH7.js} +14 -14
  50. package/dist/{chunk-AJ5NU7UH.js → chunk-3UHTHQGK.js} +8 -8
  51. package/dist/{chunk-FOTDGSY5.js → chunk-45IVWLKF.js} +1 -1
  52. package/dist/{chunk-ZUBTNUVE.js → chunk-4ZUV6WQT.js} +1 -1
  53. package/dist/{chunk-SX5CSXZO.js → chunk-525O4AUQ.js} +2 -2
  54. package/dist/{chunk-CC42UKIT.js → chunk-54K2ADBT.js} +1 -1
  55. package/dist/chunk-56GGBTAD.js +3 -0
  56. package/dist/{chunk-DKUF7BD5.js → chunk-57YY4J6T.js} +1 -1
  57. package/dist/{chunk-L75RBQFH.js → chunk-5JUG74UR.js} +1 -1
  58. package/dist/{chunk-I7H3OIYX.js → chunk-5MO5JBBK.js} +1 -1
  59. package/dist/{chunk-7EK7JNR4.js → chunk-62275PI2.js} +1 -1
  60. package/dist/{chunk-LUSIZ2BK.js → chunk-6BATVJBA.js} +14 -14
  61. package/dist/{chunk-YRZP7JN4.js → chunk-6C4T3HRB.js} +18 -18
  62. package/dist/{chunk-VZLYB5LX.js → chunk-6DZGOGB2.js} +1 -1
  63. package/dist/{chunk-JCUG572K.js → chunk-6JDR6T4U.js} +1 -1
  64. package/dist/{chunk-QN56R4V4.js → chunk-6U25ELYF.js} +1 -1
  65. package/dist/{chunk-GRB4LKZC.js → chunk-75MSXRFY.js} +5 -5
  66. package/dist/{chunk-GFBQ53WN.js → chunk-7HIHQR3X.js} +1 -1
  67. package/dist/{chunk-UDL2A2GT.js → chunk-7RRJPNYN.js} +3 -3
  68. package/dist/{chunk-IRZ6XM5A.js → chunk-A4KQKN32.js} +1 -1
  69. package/dist/chunk-A6WZF65N.js +22 -0
  70. package/dist/{chunk-ACNDPAAT.js → chunk-AAIUJJDQ.js} +1 -1
  71. package/dist/chunk-BG2OL3MO.js +7 -0
  72. package/dist/{chunk-7ZYEDXZX.js → chunk-BGJMDP6J.js} +1 -1
  73. package/dist/{chunk-6XC3XX7F.js → chunk-BKKKIHHV.js} +5 -5
  74. package/dist/{chunk-MKP2HSWX.js → chunk-BQ5CRQYR.js} +3 -3
  75. package/dist/chunk-BTFBXZS2.js +1 -0
  76. package/dist/chunk-BUGTNNZQ.js +15 -0
  77. package/dist/chunk-C57PNNAW.js +13 -0
  78. package/dist/{chunk-ZACNIKIQ.js → chunk-C5LBNLFJ.js} +1 -1
  79. package/dist/chunk-CAXOKGMB.js +27 -0
  80. package/dist/{chunk-WGLHB6WE.js → chunk-CJH2BGXY.js} +1 -1
  81. package/dist/chunk-CURXYF2R.js +9 -0
  82. package/dist/{chunk-ZRLWE3JM.js → chunk-DANLBFBD.js} +1 -1
  83. package/dist/{chunk-DU5IBIZQ.js → chunk-DFYXIW4O.js} +1 -1
  84. package/dist/{chunk-GZJ5F7SB.js → chunk-DJ2XDBAO.js} +5 -5
  85. package/dist/{chunk-UDJLRTQB.js → chunk-DNLRUZGS.js} +1 -1
  86. package/dist/{chunk-J5ISQYVM.js → chunk-DPUM3H5N.js} +1 -1
  87. package/dist/{chunk-5THF6BJS.js → chunk-DW45EZHA.js} +2 -2
  88. package/dist/{chunk-LLBH6PHE.js → chunk-EB2UE6ZR.js} +1 -1
  89. package/dist/{chunk-XBDHRMQI.js → chunk-EEVLRCMA.js} +8 -8
  90. package/dist/{chunk-Z43XVU2P.js → chunk-EIY6YGEZ.js} +1 -1
  91. package/dist/{chunk-5F6KJAF3.js → chunk-EUUCNDIS.js} +16 -16
  92. package/dist/{chunk-5PP435FL.js → chunk-EYPKBJYG.js} +1 -1
  93. package/dist/chunk-FAERBT6Y.js +1 -0
  94. package/dist/{chunk-YKHAI5IZ.js → chunk-FLTPVFKA.js} +1 -1
  95. package/dist/chunk-FPYABAOX.js +69 -0
  96. package/dist/chunk-FVZXRGVM.js +8 -0
  97. package/dist/{chunk-GJJKWGBX.js → chunk-G7I255HN.js} +10 -10
  98. package/dist/{chunk-2YBJQUYQ.js → chunk-GEXETMGL.js} +1 -1
  99. package/dist/chunk-GUIJCTFJ.js +8 -0
  100. package/dist/chunk-GZQD6IBV.js +5 -0
  101. package/dist/{chunk-VW7W6LCV.js → chunk-H6PFTU3L.js} +1 -1
  102. package/dist/chunk-H7HRYFRQ.js +14 -0
  103. package/dist/{chunk-SCCAMJB4.js → chunk-HE767CVB.js} +1 -1
  104. package/dist/{chunk-EEVKJJ5S.js → chunk-I5BS6AP6.js} +4 -4
  105. package/dist/chunk-I5CSYOOZ.js +28 -0
  106. package/dist/{chunk-HB2XXIQG.js → chunk-I64TVNHS.js} +6 -6
  107. package/dist/{chunk-BFA5U5JF.js → chunk-IFQXTIMY.js} +12 -12
  108. package/dist/chunk-IHPAYSTJ.js +8 -0
  109. package/dist/{chunk-QTMRW6DK.js → chunk-IXBKWVEP.js} +1 -1
  110. package/dist/{chunk-TTSZSLQL.js → chunk-J53LQWWY.js} +1 -1
  111. package/dist/chunk-JM2IQC4J.js +11 -0
  112. package/dist/{chunk-FZM3ZPW3.js → chunk-JPNAEN53.js} +1 -1
  113. package/dist/{chunk-S4FPYCUU.js → chunk-JQBVSPF5.js} +3 -3
  114. package/dist/{chunk-CRU2BNEM.js → chunk-KDTL6VEC.js} +3 -3
  115. package/dist/{chunk-CKURTHGW.js → chunk-KQDSAN75.js} +1 -1
  116. package/dist/{chunk-2XQOK3CT.js → chunk-KUEYOJBN.js} +2 -2
  117. package/dist/{chunk-ORLQUGIN.js → chunk-LCC3NXQX.js} +6 -6
  118. package/dist/{chunk-7JGR7WPD.js → chunk-LFYZ7NQ4.js} +3 -3
  119. package/dist/{chunk-ONYPN3JY.js → chunk-LGK47SEN.js} +11 -11
  120. package/dist/chunk-M54OL3YR.js +2 -0
  121. package/dist/chunk-MGW7SX53.js +11 -0
  122. package/dist/{chunk-VGWYAYHB.js → chunk-MOMOZVOW.js} +3 -3
  123. package/dist/{chunk-2DOMIOYR.js → chunk-N442GPRJ.js} +1 -1
  124. package/dist/{chunk-BXZNMSTZ.js → chunk-N6Q7HNAH.js} +1 -1
  125. package/dist/{chunk-RXHTIJ64.js → chunk-N7JX27JE.js} +1 -1
  126. package/dist/{chunk-ZYFBV4C7.js → chunk-N7YHXL2F.js} +2 -2
  127. package/dist/{chunk-27XV4TAU.js → chunk-ND5IZ37V.js} +5 -5
  128. package/dist/{chunk-2OMM2AG3.js → chunk-NEAT7BIP.js} +1 -1
  129. package/dist/{chunk-ESDWHHQY.js → chunk-NEYHBQLG.js} +3 -3
  130. package/dist/{chunk-CRB5GM4W.js → chunk-NIBE57KV.js} +1 -1
  131. package/dist/{chunk-NHBDLW52.js → chunk-NS37Y5CN.js} +3 -3
  132. package/dist/chunk-OLVKHYHV.js +9 -0
  133. package/dist/{chunk-FWUXYNWF.js → chunk-OY3JH66O.js} +4 -4
  134. package/dist/{chunk-DSHEOC2O.js → chunk-PIWC3CAC.js} +1 -1
  135. package/dist/chunk-PMJMYH5O.js +5 -0
  136. package/dist/{chunk-PXIP246B.js → chunk-PT77FC5X.js} +1 -1
  137. package/dist/chunk-PVXX77MY.js +6 -0
  138. package/dist/{chunk-HS4EWT6L.js → chunk-QIUIP6YZ.js} +2 -2
  139. package/dist/{chunk-NJN5IKWO.js → chunk-QQ2LDC6C.js} +1 -1
  140. package/dist/{chunk-FAIHSCOG.js → chunk-RBMZSZOH.js} +1 -1
  141. package/dist/{chunk-5V6SA77P.js → chunk-RFKCSRJX.js} +5 -5
  142. package/dist/chunk-RJ3J4BLH.js +1 -0
  143. package/dist/{chunk-63QLZYMN.js → chunk-RNQBWWYR.js} +3 -3
  144. package/dist/{chunk-N5KO2IHG.js → chunk-RQDVAUXD.js} +4 -4
  145. package/dist/{chunk-B5OYS65L.js → chunk-RVQUSPXC.js} +1 -1
  146. package/dist/chunk-SBZCJNNP.js +11 -0
  147. package/dist/{chunk-RDKIYORS.js → chunk-SYZLS2JA.js} +1 -1
  148. package/dist/chunk-TQWLJ5VM.js +7 -0
  149. package/dist/{chunk-RM74EAMV.js → chunk-TS36J7RW.js} +2 -2
  150. package/dist/{chunk-ANSQT5ZS.js → chunk-TTQ7K4AJ.js} +1 -1
  151. package/dist/{chunk-AQULCKKZ.js → chunk-UDHJTQBA.js} +11 -11
  152. package/dist/chunk-UDVQORQM.js +19 -0
  153. package/dist/chunk-UGOJLNYR.js +1 -0
  154. package/dist/{chunk-MRFNJZRR.js → chunk-UIWGVOFH.js} +8 -4
  155. package/dist/chunk-UJJXWLHE.js +2 -0
  156. package/dist/{chunk-CF4YOJUQ.js → chunk-UPTKROT7.js} +9 -9
  157. package/dist/{chunk-7F4U43YN.js → chunk-UVBX5LEU.js} +4 -4
  158. package/dist/{chunk-M7DFM2N7.js → chunk-UWF45S5L.js} +61 -61
  159. package/dist/chunk-VIOILTE4.js +13 -0
  160. package/dist/{chunk-HTDZ3XAJ.js → chunk-VWQNCYGQ.js} +8 -8
  161. package/dist/{chunk-CTW2OKYS.js → chunk-VYMM2BPX.js} +2 -2
  162. package/dist/{chunk-HNQKXOFU.js → chunk-WCPAQHHA.js} +1 -1
  163. package/dist/{chunk-36VIGB6J.js → chunk-WDQI3FV6.js} +6 -6
  164. package/dist/{chunk-CENTHUBD.js → chunk-WUGQAZMC.js} +6 -6
  165. package/dist/{chunk-XQUXL75F.js → chunk-X32TVINY.js} +1 -1
  166. package/dist/{chunk-QBD7V4TK.js → chunk-XK4SMAVR.js} +1 -1
  167. package/dist/{chunk-ZG3RF2VE.js → chunk-XK4U5MAS.js} +3 -3
  168. package/dist/{chunk-JCTOQOVO.js → chunk-XMH2JOZ2.js} +1 -1
  169. package/dist/{chunk-TE6R53YD.js → chunk-XWFLIGDQ.js} +1 -1
  170. package/dist/{chunk-LOEOCZCN.js → chunk-Y4RERPFN.js} +1 -1
  171. package/dist/chunk-YMAU4EIK.js +9 -0
  172. package/dist/{chunk-XARBHOEZ.js → chunk-YRJJKF5H.js} +1 -1
  173. package/dist/{chunk-VQPZDZ3R.js → chunk-YU6KOO6O.js} +4 -4
  174. package/dist/chunk-YZR4T5FZ.js +7 -0
  175. package/dist/{chunk-NC36LJCA.js → chunk-ZB2H2JJ2.js} +4 -4
  176. package/dist/{chunk-FLYOI6EW.js → chunk-ZOZEQZUA.js} +1 -1
  177. package/dist/data/DataTable.js +1 -1
  178. package/dist/data/EntityList.js +1 -1
  179. package/dist/data/Kanban.js +1 -1
  180. package/dist/data/ListLoadError.js +1 -1
  181. package/dist/data/ResizableTable.js +1 -1
  182. package/dist/format/index.js +1 -1
  183. package/dist/forms/AlignmentGrid.js +1 -1
  184. package/dist/forms/BorderInput.js +1 -1
  185. package/dist/forms/BrandAssetEditor.js +1 -1
  186. package/dist/forms/Button.js +1 -1
  187. package/dist/forms/Calendar.js +1 -1
  188. package/dist/forms/ColorPicker.js +1 -1
  189. package/dist/forms/ComposerAttachments.js +1 -1
  190. package/dist/forms/CornersInput.js +1 -1
  191. package/dist/forms/DatePicker.js +1 -1
  192. package/dist/forms/DateRangePicker.js +1 -1
  193. package/dist/forms/DisplayChips.js +1 -1
  194. package/dist/forms/FilePicker.js +1 -1
  195. package/dist/forms/IconButton.js +1 -1
  196. package/dist/forms/IconPicker.js +1 -1
  197. package/dist/forms/Input.js +1 -1
  198. package/dist/forms/InputNumber.js +1 -1
  199. package/dist/forms/LinkPicker.js +1 -1
  200. package/dist/forms/MediaLibrary.js +1 -1
  201. package/dist/forms/MediaUploadField.js +1 -1
  202. package/dist/forms/MediaUploadGrid.js +1 -1
  203. package/dist/forms/MediaUsedInList.js +1 -1
  204. package/dist/forms/NumericKeypad.js +1 -1
  205. package/dist/forms/PictureTiles.js +1 -1
  206. package/dist/forms/PositionInput.js +1 -1
  207. package/dist/forms/RenameField.js +1 -1
  208. package/dist/forms/Segmented.js +1 -1
  209. package/dist/forms/Select.js +1 -1
  210. package/dist/forms/SidesInput.js +1 -1
  211. package/dist/forms/Slider.js +1 -1
  212. package/dist/forms/Snippet.js +1 -1
  213. package/dist/forms/SplitButton.js +1 -1
  214. package/dist/forms/TagInput.js +1 -1
  215. package/dist/forms/TextToolbar.js +1 -1
  216. package/dist/forms/WidthsBar.js +1 -1
  217. package/dist/forms/mediaLibraryMenu.js +1 -1
  218. package/dist/forms/textAlign.js +1 -1
  219. package/dist/icons/efficient-glyphs.js +1 -1
  220. package/dist/icons/efficient-looks.js +1 -1
  221. package/dist/icons/efficient.js +1 -1
  222. package/dist/icons/index.js +1 -1
  223. package/dist/icons/looks/map.js +1 -1
  224. package/dist/icons/payment.js +1 -1
  225. package/dist/icons/sets.js +1 -1
  226. package/dist/index.d.ts +4 -19
  227. package/dist/index.js +666 -666
  228. package/dist/map/index.js +3 -3
  229. package/dist/markdown/index.js +1 -1
  230. package/dist/page-tabs/index.js +5 -5
  231. package/dist/pdf/index.js +1 -1
  232. package/dist/shell/AppUpdateBanner.js +1 -1
  233. package/dist/shell/Banner.js +1 -1
  234. package/dist/shell/Breadcrumbs.js +1 -1
  235. package/dist/shell/ColoredBadge.js +1 -1
  236. package/dist/shell/ConfirmDialog.js +1 -1
  237. package/dist/shell/ContextMenu.js +1 -1
  238. package/dist/shell/Dialog.js +1 -1
  239. package/dist/shell/Drawer.js +1 -1
  240. package/dist/shell/DropdownMenu.js +1 -1
  241. package/dist/shell/EditableGrid.js +1 -1
  242. package/dist/shell/EmptyState.js +1 -1
  243. package/dist/shell/GlobalSearch.js +1 -1
  244. package/dist/shell/HelpCenter.js +1 -1
  245. package/dist/shell/IconRail.js +1 -1
  246. package/dist/shell/ImageLightbox.js +1 -1
  247. package/dist/shell/ItemCount.js +1 -1
  248. package/dist/shell/LanguageSelect.js +1 -1
  249. package/dist/shell/Markdown.js +1 -1
  250. package/dist/shell/PageHeader.js +1 -1
  251. package/dist/shell/Popover.js +1 -1
  252. package/dist/shell/PopupMenu.js +1 -1
  253. package/dist/shell/ProductionTimeline.js +1 -1
  254. package/dist/shell/ResizeHandle.js +1 -1
  255. package/dist/shell/Result.js +1 -1
  256. package/dist/shell/SearchableSelect.js +1 -1
  257. package/dist/shell/SettingReset.js +1 -1
  258. package/dist/shell/SettingRow.js +1 -1
  259. package/dist/shell/SidebarLayout.js +1 -1
  260. package/dist/shell/SidebarNav.js +1 -1
  261. package/dist/shell/SortableList.js +1 -1
  262. package/dist/shell/StatusBadge.js +1 -1
  263. package/dist/shell/StepChain.js +1 -1
  264. package/dist/shell/Stepper.js +1 -1
  265. package/dist/shell/Tabs.js +1 -1
  266. package/dist/shell/Tooltip.js +1 -1
  267. package/dist/shell/TopNav.js +1 -1
  268. package/dist/shell/TransferProgress.js +1 -1
  269. package/dist/shell/Tree.js +1 -1
  270. package/dist/shell/discardGuard.js +1 -1
  271. package/dist/telemetry/index.js +1 -1
  272. package/dist/templates/AuthScreen.js +1 -1
  273. package/dist/templates/ChatTemplate.js +1 -1
  274. package/dist/templates/CheckoutTemplate.js +1 -1
  275. package/dist/templates/DashboardTemplate.js +1 -1
  276. package/dist/templates/DataTablePage.js +1 -1
  277. package/dist/templates/EmailTemplate.js +1 -1
  278. package/dist/templates/ErrorBoundary.js +1 -1
  279. package/dist/templates/FormLayoutPage.js +1 -1
  280. package/dist/templates/GalleryTemplate.js +1 -1
  281. package/dist/ui/index.d.ts +3 -0
  282. package/dist/ui/index.js +1 -1
  283. package/dist/ui.css +10 -0
  284. package/dist/version.js +1 -1
  285. package/package.json +1 -1
  286. package/dist/Calculator-6XGTP5OQ.js +0 -29
  287. package/dist/Files-LVZNO6EQ.js +0 -121
  288. package/dist/PdfViewer-ZI3QOG4G.js +0 -1
  289. package/dist/Sidebar-XVVZJ7PR.js +0 -44
  290. package/dist/chunk-2T7MZ77B.js +0 -3
  291. package/dist/chunk-4RTDZSGH.js +0 -27
  292. package/dist/chunk-56ESGDIC.js +0 -5
  293. package/dist/chunk-5N6AC3LN.js +0 -15
  294. package/dist/chunk-A2ZEGD2S.js +0 -11
  295. package/dist/chunk-AJO55X66.js +0 -6
  296. package/dist/chunk-BD4OHYQB.js +0 -13
  297. package/dist/chunk-BPECY7I7.js +0 -13
  298. package/dist/chunk-CQCMJHDM.js +0 -9
  299. package/dist/chunk-CWTY4GTU.js +0 -5
  300. package/dist/chunk-EOVXFXVV.js +0 -2
  301. package/dist/chunk-FEJFGFPF.js +0 -8
  302. package/dist/chunk-FUUJJ7OH.js +0 -7
  303. package/dist/chunk-GGSPY3Q4.js +0 -23
  304. package/dist/chunk-GIUX7WUS.js +0 -7
  305. package/dist/chunk-GMLGR4R6.js +0 -8
  306. package/dist/chunk-HFDSKCPL.js +0 -1
  307. package/dist/chunk-HGZZXA2N.js +0 -9
  308. package/dist/chunk-HICNRXYB.js +0 -11
  309. package/dist/chunk-HY3JYAUH.js +0 -19
  310. package/dist/chunk-KHVECW4M.js +0 -7
  311. package/dist/chunk-LE5LWALR.js +0 -1
  312. package/dist/chunk-LJJSFJA2.js +0 -69
  313. package/dist/chunk-NPQBJJLP.js +0 -9
  314. package/dist/chunk-PKNHSZWK.js +0 -8
  315. package/dist/chunk-UE54EN4C.js +0 -2
  316. package/dist/chunk-UVEHJRPE.js +0 -1
  317. package/dist/chunk-VPYD7UJM.js +0 -22
  318. package/dist/chunk-WD3I7AEZ.js +0 -14
  319. package/dist/chunk-YAD7TML2.js +0 -28
  320. /package/dist/{chunk-C4XV42QP.js → chunk-2762IAB7.js} +0 -0
  321. /package/dist/{chunk-MXK7A6ZM.js → chunk-T75VCE6K.js} +0 -0
@@ -1,27 +0,0 @@
1
- import{Dialog as e}from"./chunk-CWTY4GTU.js";import{buttonClasses as t}from"./chunk-UQYNPYF4.js";import{Icon as r}from"./chunk-MRFNJZRR.js";import{useShellStrings as n,splitAround as o}from"./chunk-43MCNASD.js";import{createContext as l,useContext as i,useState as s,useRef as a,useCallback as c,useEffect as u}from"react";import{jsxs as d,jsx as m,Fragment as h}from"react/jsx-runtime";var f=l(()=>Promise.resolve(!1)),b=()=>i(f),g=()=>Promise.resolve(!1),p=e=>g(e),v=()=>Promise.resolve(!1),y=e=>v(e),x=()=>Promise.resolve(null),N=e=>x(e),k={danger:{icon:"text-red-600 bg-red-100",button:t({variant:"danger"})},warning:{icon:"text-yellow-600 bg-yellow-100",button:t({variant:"warning"})},info:{icon:"text-blue-600 bg-accent-tint-strong",button:t({variant:"primary"})}},w=t({variant:"secondary"}),C=t({variant:"primary"}),L="w-full rounded-md border border-line-strong h-8 px-3 text-sm";function P(){/* @__PURE__ */
2
- return m(r,{name:"warning",className:"h-5 w-5",strokeWidth:1.5,"aria-hidden":"true"})}function j(){/* @__PURE__ */
3
- return m(r,{name:"close",className:"h-5 w-5",strokeWidth:1.5,"aria-hidden":"true"})}function F({children:t}){const[r,l]=s(!1),[i,b]=s({message:""}),[p,y]=s(0),N=a(),F=a(null),T=a(0),E=a([]),W=a(null),$=a(null),D=c(e=>{F.current=e.id,N.current=e.resolve,y(e.id),b(e.options),l(!0)},[]),R=c(e=>{const t="string"==typeof e?{message:e}:e;return new Promise(e=>{const r={id:++T.current,options:t,resolve:e};null===F.current?D(r):E.current.push(r)})},[D]),[Y,K]=s(!1),[M,U]=s({message:""}),[A,G]=s(""),J=a(),Q=c(e=>(U(e),G(""),K(!0),new Promise(e=>{J.current=e})),[]),[S,V]=s(!1),[Z,q]=s({}),[z,B]=s(""),H=a(),I=c(e=>{const t="string"==typeof e?{message:e}:e;return q(t),B(t.defaultValue??""),V(!0),new Promise(e=>{H.current=e})},[]);u(()=>{g=R,v=Q,x=I},[R,Q,I]);const O=(e,t)=>{if(F.current!==e)return;const r=N.current,n=E.current.shift();n?D(n):(F.current=null,N.current=void 0,l(!1)),r?.(t)},X=e=>{K(!1),G(""),J.current?.(e)},_=e=>{if(e){const e=z.trim();if(!e&&!Z.allowEmpty)return V(!1),void H.current?.(null);V(!1),H.current?.(e)}else V(!1),H.current?.(null)},ee=i.variant||(i.confirmLabel?.toLowerCase().includes("delete")||i.message.toLowerCase().includes("delete")?"danger":"info"),te=k[ee],re=k["warning"===M.variant?"warning":"danger"],ne=M.confirmWord,oe=null==ne||A===ne,le=n().dialog,[ie,se]=o(le.typeToConfirm);/* @__PURE__ */
4
- return d(f.Provider,{value:R,children:[t,
5
- /* @__PURE__ */m(e,{open:r,onClose:()=>O(p,!1),initialFocus:W,footer:/* @__PURE__ */d(h,{children:[
6
- /* @__PURE__ */m("button",{ref:W,type:"button",onClick:()=>O(p,!1),className:w,children:i.cancelLabel||le.cancel}),
7
- /* @__PURE__ */m("button",{type:"button",onClick:()=>O(p,!0),className:te.button,children:i.confirmLabel||le.ok})]}),children:/* @__PURE__ */d("div",{className:"flex gap-4",children:[
8
- /* @__PURE__ */m("div",{className:`shrink-0 w-10 h-10 rounded-full flex items-center justify-center ${te.icon}`,children:/* @__PURE__ */m(P,{})}),
9
- /* @__PURE__ */d("div",{className:"flex-1",children:[
10
- /* @__PURE__ */m("h2",{className:"text-base font-semibold text-gray-900",children:i.title||le.confirmTitle}),
11
- /* @__PURE__ */m("p",{className:"mt-2 text-sm text-gray-600",children:i.message})]})]})}),
12
- /* @__PURE__ */d(e,{open:Y,onClose:()=>X(!1),initialFocus:null!=ne?void 0:$,footer:/* @__PURE__ */d(h,{children:[
13
- /* @__PURE__ */m("button",{ref:$,type:"button",onClick:()=>X(!1),className:w,children:M.cancelLabel||le.destructiveCancel}),
14
- /* @__PURE__ */m("button",{type:"button",onClick:()=>X(!0),disabled:!oe,className:re.button,children:ne??M.confirmLabel??le.destructiveConfirm})]}),children:[
15
- /* @__PURE__ */m("button",{type:"button",onClick:()=>X(!1),"aria-label":le.close,className:"absolute right-4 top-4 rounded-md p-1 text-gray-400 hover:bg-gray-100 hover:text-gray-600",children:/* @__PURE__ */m(j,{})}),
16
- /* @__PURE__ */d("div",{className:"flex gap-4",children:[
17
- /* @__PURE__ */m("div",{className:`shrink-0 w-10 h-10 rounded-full flex items-center justify-center ${re.icon}`,children:/* @__PURE__ */m(P,{})}),
18
- /* @__PURE__ */d("div",{className:"flex-1",children:[
19
- /* @__PURE__ */m("h2",{className:"text-base font-semibold text-gray-900 pr-6",children:M.title||le.destructiveTitle}),
20
- /* @__PURE__ */m("p",{className:"mt-2 text-sm text-gray-600",children:M.message}),null!=ne&&/* @__PURE__ */d(h,{children:[
21
- /* @__PURE__ */d("p",{className:"mt-3 text-sm text-gray-700",children:[ie,
22
- /* @__PURE__ */m("kbd",{className:"rounded border border-line-strong bg-surface-sunken px-2 py-0.5 text-xs font-bold text-red-600 font-mono",children:ne}),se]}),
23
- /* @__PURE__ */m("input",{autoFocus:!0,type:"text",value:A,onChange:e=>G(e.target.value),onKeyDown:e=>{"Enter"===e.key&&A===ne&&X(!0)},placeholder:ne,className:`mt-2 ${L} focus:border-red-500`})]})]})]})]}),
24
- /* @__PURE__ */d(e,{open:S,onClose:()=>_(!1),title:Z.title||le.promptTitle,footer:/* @__PURE__ */d(h,{children:[
25
- /* @__PURE__ */m("button",{type:"button",onClick:()=>_(!1),className:w,children:Z.cancelLabel||le.cancel}),
26
- /* @__PURE__ */m("button",{type:"button",onClick:()=>_(!0),disabled:!Z.allowEmpty&&!z.trim(),className:C,children:Z.confirmLabel||le.ok})]}),children:[Z.message&&/* @__PURE__ */m("p",{className:"text-sm text-gray-600",children:Z.message}),
27
- /* @__PURE__ */m("input",{autoFocus:!0,type:"text",value:z,onChange:e=>B(e.target.value),onKeyDown:e=>{"Enter"===e.key?_(!0):"Escape"===e.key&&_(!1)},onFocus:e=>e.target.select(),placeholder:Z.placeholder,className:`mt-3 ${L} focus:border-blue-500 rosh-focus-ring focus-visible:ring-1 focus-visible:ring-[color:var(--rosh-focus-ring-accent)]`})]})]})}export{F as ConfirmProvider,p as confirm,y as confirmDestructive,N as prompt,b as useConfirm};
@@ -1,5 +0,0 @@
1
- import{DropdownMenu as e}from"./chunk-FUUJJ7OH.js";import{inputClasses as r,PLACEHOLDER_INK as n}from"./chunk-AYZY3YNC.js";import{IconButton_default as t}from"./chunk-LE5LWALR.js";import{iconButtonClasses as i}from"./chunk-UQYNPYF4.js";import{Tooltip as a}from"./chunk-NJN5IKWO.js";import{forwardRef as s}from"react";import{jsx as o,jsxs as l}from"react/jsx-runtime";var c={sm:"sm",md:"sm",lg:"md",touch:"touch-sm"},m={sm:"pr-8",md:"pr-8",lg:"pr-10",touch:"pr-12"};function p({children:e}){/* @__PURE__ */
2
- return o("span",{className:"absolute right-1 top-1/2 flex -translate-y-1/2 items-center gap-1",children:e})}function d({action:e,size:r="md"}){/* @__PURE__ */
3
- return o(h,{action:e,size:c[r]})}var u=["","pr-8","pr-16"];function h({action:r,size:n}){const{label:s,icon:l,onClick:c,menu:m}=r;/* @__PURE__ */
4
- return o(a,{content:s,describe:!1,children:m?/* @__PURE__ */o(e,{"aria-label":s,trigger:l,items:m,triggerClassName:i({size:n})}):/* @__PURE__ */o(t,{"aria-label":s,size:n,onClick:c,children:l})})}var f=s(function({invalid:e,leftIcon:t,rightAdornment:i,endAction:a,size:s,className:c="",readOnly:u,...h},f){const N=s??"md",g=`${t?"pl-10":""} ${a?m[N]:i?"pr-10":""}`.trim(),v=
5
- /* @__PURE__ */o("input",{ref:f,"aria-invalid":e||void 0,readOnly:u,className:r({invalid:e,size:s,readOnly:u,className:[g,c].filter(Boolean).join(" ")}),...h});return t||i||a?/* @__PURE__ */l("div",{className:"relative",children:[t&&/* @__PURE__ */o("span",{className:`pointer-events-none absolute left-3 top-1/2 -translate-y-1/2 ${n}`,children:t}),v,a?/* @__PURE__ */o(p,{children:/* @__PURE__ */o(d,{action:a,size:N})}):i&&/* @__PURE__ */o("span",{className:"absolute right-3 top-1/2 -translate-y-1/2 text-gray-400",children:i})]}):v});export{u as END_ACTIONS_PAD,c as INPUT_END_ACTION_SIZE,d as InputEndActionButton,p as InputEndActionSlot,f as Input_default};
@@ -1,15 +0,0 @@
1
- import{AccessibleTable as e}from"./chunk-5PP435FL.js";import{polygonPoints as t}from"./chunk-VFC6QUEN.js";import{ChartDefs as r,maskId as l}from"./chunk-465RRWBY.js";import{useHighlight as a}from"./chunk-CNYAHYE6.js";import{ChartTooltip as o}from"./chunk-36VIGB6J.js";import{angleScale as n}from"./chunk-2JWPNR2U.js";import{CHART_INK as i,resolveSeriesColorWithin as s}from"./chunk-TZFACUMR.js";import{useShellStrings as m,useShellLocale as c}from"./chunk-43MCNASD.js";import{formatPlain as h}from"./chunk-C3QOHMR6.js";import{useId as p,useState as u}from"react";import{jsx as d,jsxs as f}from"react/jsx-runtime";var k=3,g=e=>`${e.map(([e,t],r)=>`${0===r?"M":"L"}${e.toFixed(2)},${t.toFixed(2)}`).join(" ")} Z`;function x({axes:k,series:x,size:y=300,mode:b="area",grid:v="polygon",rings:M=4,formatValue:N,animate:j=!0,className:$,emptyLabel:C}){const F=m().charts,W=c(),w=N??(e=>h(e,W)),A=C??F.nothingToCompare,L=p(),[R,z]=u(null),{highlighted:B}=a(),E=x;if(k.length<3||0===E.length)/* @__PURE__ */
2
- return d("p",{className:`text-sm text-gray-500 ${$??""}`,children:A});const P=y/2,S=y/2,T=y/2-46,U=n(k.length),V=k.map((e,t)=>null!=e.max&&Number.isFinite(e.max)&&e.max>0?e.max:Math.max(1,...E.map(e=>e.values[t]??0).filter(Number.isFinite))),Y=(e,t)=>{const r=Math.max(0,Math.min(1,t/V[e])),l=U.center(e)-U.step/2;return[P+T*r*Math.cos(l),S+T*r*Math.sin(l)]},H=(e,t)=>null!==R?R!==e:null!==B&&B!==t,J=null!==R?E[R]:void 0;/* @__PURE__ */
3
- return f("div",{className:`relative ${$??""}`,children:[
4
- /* @__PURE__ */f("svg",{width:"100%",height:y,viewBox:`0 0 ${y} ${y}`,role:"img","aria-labelledby":L,onMouseLeave:()=>z(null),children:[
5
- /* @__PURE__ */d("title",{id:L,children:F.acrossMeasures(E.map(e=>e.label),k.length)}),Array.from({length:M},(e,r)=>{const l=T*(r+1)/M;return"circle"===v?/* @__PURE__ */d("circle",{cx:P,cy:S,r:l,fill:"none",stroke:i.grid,strokeWidth:1},r):/* @__PURE__ */d("path",{d:g(t(P,S,l,k.length)),fill:"none",stroke:i.grid,strokeWidth:1},r)}),k.map((e,t)=>{const[r,l]=Y(t,V[t]);/* @__PURE__ */
6
- return f("g",{children:[
7
- /* @__PURE__ */d("line",{x1:P,y1:S,x2:r,y2:l,stroke:i.grid,strokeWidth:1}),
8
- /* @__PURE__ */d("text",{x:P+(T+18)*Math.cos(U.center(t)-U.step/2),y:S+(T+18)*Math.sin(U.center(t)-U.step/2)+4,textAnchor:"middle",fontSize:11,fill:i.label,children:e.label})]},e.key)}),
9
- /* @__PURE__ */d(r,{id:L,reveal:!!j&&"center-out"}),E.map((e,t)=>{const r=s(t,3,e.color,e.tone),a=k.map((t,r)=>Y(r,e.values[r]??0));/* @__PURE__ */
10
- return f("g",{opacity:H(t,e.key)?.3:1,onMouseEnter:()=>z(t),mask:j?`url(#${l(L)})`:void 0,children:["area"===b&&/* @__PURE__ */d("path",{d:g(a),fill:r,fillOpacity:.18,stroke:"none"}),
11
- /* @__PURE__ */d("path",{d:g(a),fill:"none",stroke:r,strokeWidth:2,strokeLinejoin:"round"}),a.map(([e,t],l)=>/* @__PURE__ */d("circle",{cx:e,cy:t,r:3.5,fill:r,stroke:i.surface,strokeWidth:1.5},l))]},e.key)})]}),J&&/* @__PURE__ */d("div",{className:"pointer-events-none absolute top-2 left-2 z-10",children:/* @__PURE__ */d(o,{title:J.label,rows:k.map((e,t)=>({key:e.key,label:e.label,color:s(R,3,J.color,J.tone),value:w(J.values[t]??0)}))})}),
12
- /* @__PURE__ */d("ul",{className:"m-0 mt-3 grid gap-1 p-0",style:{gridTemplateColumns:"repeat(auto-fit,minmax(140px,1fr))"},children:E.map((e,t)=>/* @__PURE__ */f("li",{className:"flex list-none items-center gap-2 text-xs text-gray-600",children:[
13
- /* @__PURE__ */d("span",{className:"h-2.5 w-2.5 shrink-0 rounded-sm",style:{backgroundColor:s(t,3,e.color,e.tone)}}),
14
- /* @__PURE__ */d("span",{className:"flex-1 truncate",children:e.label})]},e.key))}),
15
- /* @__PURE__ */d(e,{caption:F.acrossMeasures(E.map(e=>e.label),k.length),head:[F.tableSeries,...k.map(e=>e.label)],rows:E.map(e=>[e.label,...k.map((t,r)=>w(e.values[r]??0))])})]})}export{k as RADAR_SERIES_CAP,x as RadarChart};
@@ -1,11 +0,0 @@
1
- import{LIGHTBOX_PICTURE_FIT as e,ZoomableImage as t}from"./chunk-CGUMJZUB.js";import{isVideoUrl as r,mediaFileName as n}from"./chunk-QBD7V4TK.js";import{dialogA11y as o}from"./chunk-VWGWZY7A.js";import{useDismissPopupsOnOpen as a}from"./chunk-7QSDPSXP.js";import{useFocusTrap as l,useScrollLock as i}from"./chunk-CDAJKLGL.js";import{Button_default as c}from"./chunk-EOVXFXVV.js";import{buttonClasses as s}from"./chunk-UQYNPYF4.js";import{Icon as m}from"./chunk-MRFNJZRR.js";import{Z_LAYERS as u}from"./chunk-62LW225J.js";import{useHydrated as d}from"./chunk-D65T4H6J.js";import{registerModalEscapeInterceptor as f}from"./chunk-TWVUQUUD.js";import{useShellStrings as h}from"./chunk-43MCNASD.js";import{useRef as p,useState as x,useCallback as b,useEffect as k}from"react";import{createPortal as g}from"react-dom";import{jsx as v,jsxs as w,Fragment as N}from"react/jsx-runtime";var y=/\.(pdf|docx?|xlsx?|pptx?|csv|txt|zip|rar|7z|dwg|dxf|stp|step|igs|iges)(?:[?#]|$)/i;function j(e){return e.kind?e.kind:r(e.url)?"video":y.test(e.url)?"file":"image"}var C="flex items-center justify-center rounded-full bg-black/60 text-on-accent hover:bg-black/80 rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-solid)]",D=e=>e.stopPropagation();function A({images:r,startIndex:y=0,onClose:A,onIndexChange:F,onOpenFile:L}){const U=h().lightbox,V=d(),$=p(null),z=p(null),[J,R]=x(y),I=r.length,M=V&&I>0,P=b(e=>{if(I<2)return;const t=((J+e)%I+I)%I;R(t),F?.(t)},[J,I,F]);if(a(M),l($,M,z),i(M),k(()=>{if(M)return f(()=>(A(),!0),()=>$.current)},[M,A]),k(()=>{if(!M)return;const e=e=>{"ArrowLeft"!==e.key&&"ArrowRight"!==e.key||e.target?.closest?.("video")||(e.preventDefault(),P("ArrowRight"===e.key?1:-1))};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[M,P]),!M)return null;const Q=r[Math.min(J,I-1)],W=j(Q),E=Q.caption||n(Q.url);let G;return G="video"===W?/* @__PURE__ */v("video",{src:Q.url,controls:!0,playsInline:!0,"aria-label":E,onClick:D,className:`${e} rounded-lg bg-black`}):"file"===W?/* @__PURE__ */w("div",{onClick:D,className:"flex max-w-[calc(100vw-144px)] flex-col items-center gap-3 rounded-lg bg-surface px-10 py-8 text-center text-ink-faint",children:[
2
- /* @__PURE__ */v(m,{name:"document","aria-hidden":"true",className:"h-10 w-10"}),
3
- /* @__PURE__ */v("span",{className:"max-w-[60ch] break-all text-sm font-medium text-ink",children:E}),L?/* @__PURE__ */v(c,{size:"sm",onClick:()=>L(Q),children:U.openFile}):/* @__PURE__ */v("a",{href:Q.url,target:"_blank",rel:"noopener noreferrer",className:s({size:"sm"}),children:U.openFile})]}):/* @__PURE__ */v(t,{src:Q.url,alt:E,className:`${e} object-contain`,frameClassName:"rounded-lg"}),g(
4
- /* @__PURE__ */w("div",{ref:$,...o({role:"dialog",modal:!0,label:U.label}),"data-lightbox-backdrop":"",className:"fixed inset-0 flex items-center justify-center bg-black/80",style:{zIndex:u.overlay},onClick:A,children:[G,
5
- /* @__PURE__ */w("div",{className:"absolute right-4 top-4 flex items-center gap-2",onClick:D,children:[
6
- /* @__PURE__ */v("span",{className:"rounded bg-black/60 px-2 py-1 text-xs text-on-accent tabular-nums",children:U.counter(J+1,I)}),
7
- /* @__PURE__ */v("button",{ref:z,type:"button",onClick:A,"aria-label":U.close,className:`${C} h-8 w-8`,children:/* @__PURE__ */v(m,{name:"close","aria-hidden":"true",className:"h-4 w-4"})})]}),I>1&&/* @__PURE__ */w(N,{children:[
8
- /* @__PURE__ */v("button",{type:"button",onClick:e=>{D(e),P(-1)},"aria-label":U.previous,className:`${C} absolute left-4 top-1/2 h-10 w-10 -translate-y-1/2`,children:/* @__PURE__ */v(m,{name:"chevron-left","aria-hidden":"true",className:"h-5 w-5"})}),
9
- /* @__PURE__ */v("button",{type:"button",onClick:e=>{D(e),P(1)},"aria-label":U.next,className:`${C} absolute right-4 top-1/2 h-10 w-10 -translate-y-1/2`,children:/* @__PURE__ */v(m,{name:"chevron-right","aria-hidden":"true",className:"h-5 w-5"})})]}),
10
- /* @__PURE__ */w("div",{className:"absolute inset-x-18 bottom-4 flex items-center justify-center gap-3",onClick:D,children:[
11
- /* @__PURE__ */v("span",{className:"min-w-0 break-words text-center text-sm text-on-accent/85",children:E}),"file"!==W&&/* @__PURE__ */v("a",{href:Q.url,target:"_blank",rel:"noopener noreferrer",className:"flex-none text-xs font-medium text-on-accent/70 underline decoration-on-accent/30 underline-offset-2 hover:text-on-accent",children:U.openOriginal})]})]}),document.body)}export{A as ImageLightbox,j as lightboxKind};
@@ -1,6 +0,0 @@
1
- import{TEXT_ALIGNS as e,textAlignWords as l,textAlignIcon as r}from"./chunk-VW7W6LCV.js";import{IconButton_default as a}from"./chunk-LE5LWALR.js";import{Icon as o}from"./chunk-MRFNJZRR.js";import{Tooltip as n}from"./chunk-NJN5IKWO.js";import{useShellStrings as s}from"./chunk-43MCNASD.js";import{jsx as i,jsxs as t,Fragment as d}from"react/jsx-runtime";var c=e=>e.preventDefault(),u=e=>null!=e&&!1!==e,h=["bold","italic","underline","strike","link","sup","sub","code"];function p(e,l,r){const a={ArrowRight:1,ArrowDown:1,ArrowLeft:-1,ArrowUp:-1,Home:"first",End:"last"}[e.key];if(void 0===a||0===l.length)return;const o=[...e.currentTarget.querySelectorAll('[role="radio"]')],n=o.findIndex(l=>l===e.target||l.contains(e.target));if(n<0)return;e.preventDefault();const s=o.length,i="first"===a?0:"last"===a?s-1:(n+a+s)%s;o[i].disabled||(r(l[i]),o[i].focus())}function b(e,l){const r=["bold","italic","underline","strike"].filter(l=>e.has(l)).length;return{color:r,link:r+(l?1:0)}}function m(e,l,r,a){const o=h.filter(l=>"link"!==l&&e.has(l)).length+(l?1:0);return r&&0!==o?a>0?"paragraph":"words":null}function w({offered:l,color:r,last:a,alignment:o,list:n,letterCase:s,clear:i}){let t=h.filter(e=>l.has(e)).length+(r?1:0)+(u(a)?1:0),d=(o?e.filter(e=>o.allow.includes(e)).length:0)+(n&&l.has("bullet")?1:0)+(n&&l.has("number")?1:0)+(l.has("quote")?1:0)+(s?3:0);const c=m(l,r,i,d);return"paragraph"===c&&(d+=1),"words"===c&&(t+=1),{words:t>0,paragraph:d>0,oneRow:t>0&&d>0&&t+1+d<=9,flow:t>0&&d>0&&t+1+d>9&&t<=7,cells:{words:t,paragraph:d}}}function g(e,l){/* @__PURE__ */
2
- return i(n,{content:e,children:l},l.key??void 0)}function f({offered:n,pressed:h,onMark:f,color:k,linkOpen:v=!1,last:N,alignment:C,list:M,letterCase:D,clear:x,disabled:y=!1,"aria-label":L,windows:R,className:A="",layout:j="grid"}){const q=s().textToolbar,I=w({offered:n,color:k,last:N,alignment:C,list:M,letterCase:D,clear:x});if(!I.words&&!I.paragraph)return null;const S=m(n,k,x,I.cells.paragraph),$=(e,l="")=>`rosh-tb-btn${e?" is-on":""}${l?` ${l}`:""}`,B=(e,l,r,o)=>n.has(e)?g(l,/* @__PURE__ */i(a,"link"===e?{pressed:v,className:$(v),"aria-label":l,"aria-haspopup":"dialog","aria-expanded":v,"aria-keyshortcuts":o,disabled:y,onMouseDown:c,onClick:()=>f(e),children:r}:{className:$(Boolean(h[e])),"aria-label":l,"aria-pressed":Boolean(h[e]),"aria-keyshortcuts":o,disabled:y,onMouseDown:c,onClick:()=>f(e),children:r},e)):null,K=l(q),W=e.map(e=>[e,K[e],r(e)]),T=C?e.filter(e=>C.allow.includes(e)):[],U=C&&T.includes(C.value)?C.value:T[0],E=[["none",q.caseNone,/* @__PURE__ */i(o,{name:"case-normal"})],["upper",q.caseUpper,/* @__PURE__ */i(o,{name:"case-upper"})],["lower",q.caseLower,/* @__PURE__ */i(o,{name:"case-lower"})]],J=x&&S?g(q.clear,/* @__PURE__ */i(a,{className:$(!1),"aria-label":q.clear,disabled:y,onMouseDown:c,onClick:x.onClear,children:/* @__PURE__ */i(o,{name:"revert"})},"clear")):null,O=/* @__PURE__ */t(d,{children:[B("bold",q.bold,/* @__PURE__ */i(o,{name:"bold"}),"Meta+B"),B("italic",q.italic,/* @__PURE__ */i(o,{name:"italic"}),"Meta+I"),B("underline",q.underline,/* @__PURE__ */i(o,{name:"underline"}),"Meta+U"),B("strike",q.strike,/* @__PURE__ */i(o,{name:"strike"})),k?g(q.color,/* @__PURE__ */i(a,{pressed:k.open,className:$(k.open,"rosh-tb-color"),"aria-label":q.color,"aria-haspopup":"dialog","aria-expanded":k.open,disabled:y,style:k.run?{"--rosh-tb-run":k.run}:void 0,onMouseDown:c,onClick:k.onToggle,children:/* @__PURE__ */i(o,{name:"text-color"})},"color")):null,B("link",q.link,/* @__PURE__ */i(o,{name:"link"}),"Meta+K"),B("sup",q.sup,/* @__PURE__ */i(o,{name:"superscript"})),B("sub",q.sub,/* @__PURE__ */i(o,{name:"subscript"})),B("code",q.code,/* @__PURE__ */i(o,{name:"code"})),u(N)?N:null,"words"===S?J:null]}),V=/* @__PURE__ */t(d,{children:[C&&T.length>0?/* @__PURE__ */i("div",{className:"rosh-tb-group",role:"radiogroup","aria-label":q.alignment,onKeyDown:e=>p(e,T,e=>C.onChange(e)),children:W.map(([e,l,r])=>C.allow.includes(e)?g(l,/* @__PURE__ */i(a,{role:"radio",pressed:C.value===e,className:$(C.value===e),"aria-checked":C.value===e,"aria-label":l,tabIndex:e===U?0:-1,disabled:y||C.disabled,onMouseDown:c,onClick:()=>C.onChange(e),children:r},e)):null)}):null,M&&n.has("bullet")?g(q.bullet,/* @__PURE__ */i(a,{className:$("bullet"===M.pressed),"aria-label":q.bullet,"aria-pressed":"bullet"===M.pressed,disabled:y,onMouseDown:c,onClick:()=>M.onList("bullet"),children:/* @__PURE__ */i(o,{name:"list"})},"bullet")):null,M&&n.has("number")?g(q.number,/* @__PURE__ */i(a,{className:$("number"===M.pressed),"aria-label":q.number,"aria-pressed":"number"===M.pressed,disabled:y,onMouseDown:c,onClick:()=>M.onList("number"),children:/* @__PURE__ */i(o,{name:"numbered-list"})},"number")):null,B("quote",q.quote,/* @__PURE__ */i(o,{name:"quote"})),D?/* @__PURE__ */i("div",{className:"rosh-tb-group",role:"radiogroup","aria-label":q.letterCase,onKeyDown:e=>p(e,E.map(([e])=>e),e=>D.onChange(e)),children:E.map(([e,l,r])=>g(l,/* @__PURE__ */i(a,{role:"radio",pressed:D.value===e,className:$(D.value===e),"aria-checked":D.value===e,"aria-label":l,tabIndex:e===(D.value||"none")?0:-1,disabled:y||D.disabled,onMouseDown:c,onClick:()=>D.onChange(D.value===e?"":e),children:r},e)))}):null,"paragraph"===S?J:null]}),F="row"===j,H=F?" is-row":I.flow?" is-flow":I.oneRow?" is-one-row":I.words&&void 0===N&&"words"!==S?" is-eight":"",Z=b(n,Boolean(k)),z={"--rosh-tb-color-col":String(Z.color),"--rosh-tb-link-col":String(Z.link),...F?{"--rosh-tb-cells":String(I.cells.words+I.cells.paragraph),"--rosh-tb-groupgap":I.words&&I.paragraph?"var(--space-8, 0.5rem)":"0px"}:{}};let G;return G=F?/* @__PURE__ */t("div",{className:"rosh-tb-row is-row",children:[I.words?/* @__PURE__ */i("div",{className:"rosh-tb-words",children:O}):null,I.paragraph?/* @__PURE__ */i("div",{className:"rosh-tb-para",children:V}):null]}):I.flow?/* @__PURE__ */t("div",{className:"rosh-tb-row is-flow",children:[O,
3
- /* @__PURE__ */i("span",{className:"rosh-tb-flowgap","aria-hidden":"true"}),V]}):I.oneRow?/* @__PURE__ */t("div",{className:"rosh-tb-row is-one-row",children:[
4
- /* @__PURE__ */i("div",{className:"rosh-tb-words",children:O}),
5
- /* @__PURE__ */i("div",{className:"rosh-tb-para",children:V})]}):/* @__PURE__ */t(d,{children:[I.words?/* @__PURE__ */i("div",{className:"rosh-tb-row"+(void 0===N&&"words"!==S?" is-eight":""),children:O}):null,I.paragraph?/* @__PURE__ */i("div",{className:"rosh-tb-row",children:V}):null]}),/* @__PURE__ */t("div",{className:`rosh-tb-wrap${H} ${A}`.trim(),style:z,children:[
6
- /* @__PURE__ */i("div",{className:"rosh-tb",role:"toolbar","aria-label":L??q.formatting,children:G}),R]})}export{f as TextToolbar,w as textToolbarRows,b as textToolbarWindowColumns};
@@ -1,13 +0,0 @@
1
- import{nextEnabledIndex as e}from"./chunk-EO5RLFRX.js";import{flattenOptionItems as t,filterOptionItems as n,optionMatches as r,groupedRows as l,OptionCheck as o,OptionSublabel as i}from"./chunk-GFBQ53WN.js";import{END_ACTIONS_PAD as a,InputEndActionSlot as s,InputEndActionButton as c}from"./chunk-56ESGDIC.js";import{INPUT_BASE_ON as u,INPUT_BASE as d}from"./chunk-AYZY3YNC.js";import{Button_default as h}from"./chunk-EOVXFXVV.js";import{Icon as p}from"./chunk-MRFNJZRR.js";import{LoadingSpinner as m}from"./chunk-R2VKEMZH.js";import{Tooltip as f}from"./chunk-NJN5IKWO.js";import{onOverlayOpen as b}from"./chunk-PGN5ME7B.js";import{Z_LAYERS as g}from"./chunk-62LW225J.js";import{useDropdownPosition as v,MENU_MAX_HEIGHT as w}from"./chunk-GLUJS42B.js";import{useBrowserLayoutEffect as y}from"./chunk-D65T4H6J.js";import{GLASS_DIVIDER as x,glassStyle as k}from"./chunk-5FYDNH4Y.js";import{registerModalEscapeInterceptor as N}from"./chunk-TWVUQUUD.js";import{useShellStrings as j}from"./chunk-43MCNASD.js";import{useState as $,useId as D,useRef as C,useMemo as S,useEffect as W}from"react";import{createPortal as R}from"react-dom";import{jsxs as F,jsx as M}from"react/jsx-runtime";function E(e,t){const n=e.length;if(0===n||t(e.join(", ")))return{shown:n,cut:!1};if(1===n)return{shown:1,cut:!0};let r=0;for(let l=1;l<n&&t(`${e.slice(0,l).join(", ")} +${n-l}`);l+=1)r=l;return{shown:r,cut:!1}}var z=["right-2","right-8","right-16"],A=[8,32,64];function L(L){const{options:O,placeholder:T,emptyOptionLabel:I,className:B="",disabled:H,id:J,filter:U=!1,allowFreeText:V=!1,freeTextOption:Y,onSearchChange:G,loading:K=!1,error:X,onRetry:Z,rightAdornment:Q,endAction:P,renderOption:q,clearable:_=!0,"aria-label":ee,"aria-labelledby":te,"aria-describedby":ne}=L,re=!0===L.multiple,le=L.multiple?L.value:L.value?[L.value]:[],oe=L.multiple?"":L.value,ie=e=>{L.multiple?L.onChange(e):L.onChange(e[0]??"")},ae=le.length>0,se=U&&ae&&!H,ce=re||U,ue=null!=Y,de=V||ue,[he,pe]=$(!1),[me,fe]=$(-1),be=D(),ge=J??`${be}-input`,ve=`${be}-listbox`,we=e=>`${be}-opt-${e}`,[ye,xe]=$(""),ke=j(),Ne=I??ke.select.none,je=e=>{xe(e),fe(-1),G?.(e)},$e=C(null),De=C(null),Ce=C(null),Se=C(null),We=C(he);We.current=he;const Re=C(!1),Fe=e=>{We.current&&(We.current=!1,e&&V&&!ue&&et&&(re?le.includes(et)||ie([...le,et]):et!==oe&&ie([et])),pe(!1),je(""))},Me=(e,t)=>{if(!e.disabled){if(re)return ie(le.includes(e.value)?le.filter(t=>t!==e.value):[...le,e.value]),void(e===tt?je(""):fe(t));ie([e.value]),Fe(!1)}},[Ee,ze]=$(null);y(()=>{if(!Q||he)return void ze(null);const e=Se.current?.offsetWidth??0;ze(e?e+A[He]+6:null)});const Ae=v(De,he,ce?{popupRef:Ce}:{matchTriggerWidth:!0}),Le=S(()=>t(O),[O]),Oe=le.join("\0"),Te=S(()=>{const e=[],t=/* @__PURE__ */new Set;for(const n of Le)le.includes(n.value)&&!t.has(n.value)&&(t.add(n.value),e.push(n.label));if(de)for(const n of le)t.has(n)||e.push(n);return e},[Le,Oe,de]),Ie=Te.join(", "),Be=_&&ae&&!H,He=(Be?1:0)+(P?1:0),[Je,Ue]=$(null),Ve=C(null),Ye=C(""),Ge=C(()=>{});Ge.current=()=>{const e=De.current,t=Ve.current;if(!re||!e||!t)return;const n=getComputedStyle(e),r=e.clientWidth-(parseFloat(n.paddingLeft)||0)-(parseFloat(n.paddingRight)||0),l=[n.fontStyle,n.fontWeight,n.fontSize,n.fontFamily,n.letterSpacing].join("|"),o=`${r}|${l}|${Te.join("\0")}`;if(o===Ye.current)return;Ye.current=o;let i=null;r>0&&Te.length>0&&(t.style.fontStyle=n.fontStyle,t.style.fontWeight=n.fontWeight,t.style.fontSize=n.fontSize,t.style.fontFamily=n.fontFamily,t.style.letterSpacing=n.letterSpacing,i=E(Te,e=>(t.textContent=e,t.getBoundingClientRect().width<=r)),t.textContent=""),Ue(e=>e?.shown===i?.shown&&e?.cut===i?.cut?e:i)},y(()=>{Ge.current()}),W(()=>{const e=De.current;if(!re||!e||"undefined"==typeof ResizeObserver)return;const t=new ResizeObserver(()=>Ge.current());return t.observe(e),()=>t.disconnect()},[re]);const Ke=Te.length,Xe=!re||!Je||Je.shown>=Ke?Ie:0===Je.shown?ke.select.selectedCount(Ke):`${Te.slice(0,Je.shown).join(", ")} +${Ke-Je.shown}`,Ze=re&&null!==Je&&(Je.shown<Ke||Je.cut),Qe=he&&ae&&ce;W(()=>{if(!he)return;const e=e=>{const t=e.target;$e.current?.contains(t)||Ce.current?.contains(t)||Fe(!0)};document.addEventListener("mousedown",e);const t=b(()=>Fe(!0));return()=>{document.removeEventListener("mousedown",e),t()}},[he,V,ye,Oe,L.onChange]),W(()=>{if(he)return N(e=>!("Escape"!==e.key||!We.current)&&(Fe(!1),De.current?.blur(),!0),()=>Ce.current)},[he]);const Pe=S(()=>{const e=/* @__PURE__ */new Set;return n(O,t=>!e.has(t.value)&&(e.add(t.value),!0))},[O]),qe=S(()=>{if(G)return Pe;const e=ye.trim().toLowerCase();return e?n(Pe,t=>r(t,e)):Pe},[Pe,ye,G]),_e=S(()=>t(qe),[qe]),et=ye.trim(),tt=S(()=>ue&&et?Le.some(e=>e.label===et)||le.includes(et)?null:{value:et,label:et}:null,[ue,et,Le,Oe]),nt=S(()=>tt?[..._e,tt]:_e,[_e,tt]);/* @__PURE__ */
2
- return F("div",{ref:$e,className:"relative group",onBlur:e=>{const t=e.relatedTarget;t&&($e.current?.contains(t)||Ce.current?.contains(t))||Re.current||document.activeElement!==De.current&&Fe(!0)},children:[(rt=/* @__PURE__ */M("input",{id:ge,ref:De,type:"text",autoComplete:"off",role:"combobox","aria-expanded":he,"aria-haspopup":"listbox","aria-autocomplete":"list","aria-controls":he?ve:void 0,"aria-activedescendant":he&&me>=0&&me<nt.length?we(me):void 0,"aria-label":te?void 0:ee,"aria-labelledby":te,"aria-describedby":ne,value:he?ye:Xe,onChange:e=>{je(e.target.value),pe(!0)},onFocus:()=>{H||(je(""),pe(!0))},onKeyDown:t=>{if("ArrowDown"===t.key||"ArrowUp"===t.key){if(H)return;if(t.preventDefault(),!he)return void pe(!0);if(0===nt.length)return;const n="ArrowDown"===t.key?1:-1;return void fe(t=>e(nt,t,n))}"Enter"===t.key?(t.preventDefault(),he&&me>=0&&me<nt.length?Me(nt[me],me):1!==_e.length||_e[0].disabled?V&&!ue&&et&&(re?(le.includes(et)||ie([...le,et]),je("")):(ie([et]),Fe(!1),De.current?.blur())):Me(_e[0],0)):"Escape"===t.key?(Fe(!1),De.current?.blur()):"Tab"===t.key&&Fe(!0)},placeholder:Qe?Xe:T||Ne,className:`${se?u:d} ${B} ${a[He]}${H?"bg-surface-sunken text-ink-faintest cursor-not-allowed":""} truncate${Qe?" rosh-field-shows-choice":""}`,style:Ee?{paddingRight:Ee}:void 0,disabled:H}),re?/* @__PURE__ */M(f,{content:!he&&Ze?Ie:null,className:"block",children:rt}):rt),re&&
3
- /* @__PURE__ */M("div",{"aria-hidden":"true",className:"pointer-events-none invisible absolute left-0 top-0 h-0 w-0 overflow-hidden",children:/* @__PURE__ */M("span",{ref:Ve,className:"whitespace-pre"})}),He>0&&
4
- /* @__PURE__ */F(s,{children:[Be&&
5
- /* @__PURE__ */M("span",{onMouseDown:e=>e.preventDefault(),className:"flex opacity-0 transition-opacity group-hover:opacity-100 focus-within:opacity-100",children:/* @__PURE__ */M(c,{action:{label:ke.select.clear,icon:/* @__PURE__ */M(p,{name:"close"}),onClick:()=>{ie([]),Fe(!1)}}})}),P&&/* @__PURE__ */M("span",{onMouseDown:e=>e.preventDefault(),className:"flex",children:/* @__PURE__ */M(c,{action:P})})]}),Q&&!he&&/* @__PURE__ */M("div",{ref:Se,className:`absolute top-1/2 -translate-y-1/2 ${z[He]} flex items-center gap-1 flex-nowrap justify-end pointer-events-none`,children:Q}),he&&R(
6
- /* @__PURE__ */F("div",{ref:Ce,onMouseDownCapture:()=>{Re.current=!0,setTimeout(()=>{Re.current=!1},0)},className:"fixed rounded-(--radius-popup) overflow-hidden",style:{zIndex:g.popup,left:Ae?.left,right:Ae?.right,top:Ae?.top,bottom:Ae?.bottom,minWidth:Ae?.minWidth,width:Ae?.width,...ce&&{maxWidth:Ae?.maxWidth},visibility:Ae?void 0:"hidden",...k()},children:[re&&ae&&_&&!H&&
7
- /* @__PURE__ */M("button",{type:"button",tabIndex:-1,onMouseDown:e=>{e.preventDefault(),ie([])},className:`block w-full text-left px-3 min-h-(--row-height-menu) py-2 leading-5 text-sm text-gray-600 hover:bg-row-hover border-b ${x}`,children:ke.select.clearAll}),K?
8
- /* @__PURE__ */M(m,{size:"sm",padding:"py-2",label:ke.search.searching}):X?/* @__PURE__ */F("div",{role:"alert",className:"flex items-center gap-2 px-3 py-2 text-sm text-red-600",children:[
9
- /* @__PURE__ */M("span",{className:"min-w-0 flex-1",children:X}),Z&&/* @__PURE__ */M(h,{variant:"link",size:"sm",onMouseDown:e=>e.preventDefault(),onClick:Z,className:"shrink-0",children:ke.list.retry})]}):null,
10
- /* @__PURE__ */F("div",{id:ve,role:nt.length?"listbox":void 0,"aria-labelledby":nt.length?te??(ee?void 0:ge):void 0,"aria-label":nt.length&&!te?ee:void 0,"aria-multiselectable":!(!nt.length||!re)||void 0,className:"overflow-y-auto",style:{maxHeight:Ae?.maxHeight??w},children:[0===nt.length?K||X?null:/* @__PURE__ */M("p",{className:"px-3 py-3 text-sm text-ink-faintest text-center",children:ke.select.noMatches}):0===_e.length?null:l(qe,(e,t)=>{const n=le.includes(e.value);/* @__PURE__ */
11
- return F("button",{id:we(t),type:"button",role:"option","aria-selected":n,"aria-disabled":e.disabled||void 0,tabIndex:-1,onMouseDown:n=>{(e.disabled||re)&&n.preventDefault(),Me(e,t)},className:"w-full overflow-hidden text-left px-3 min-h-(--row-height-menu) py-2 text-sm flex items-center justify-between gap-2 whitespace-nowrap "+(e.disabled?"cursor-not-allowed text-gray-400":`hover:bg-gray-50 ${n?"text-blue-600 font-medium":"text-gray-700"} ${t===me?"bg-gray-100":n?"bg-blue-50/50":""}`),children:[re&&/* @__PURE__ */M(o,{selected:n}),
12
- /* @__PURE__ */M("span",{className:`min-w-0 ${ce?"flex-auto":"flex-1"} truncate`,children:q?q(e,{selected:n,active:t===me}):e.label}),e.sublabel&&/* @__PURE__ */M(i,{grows:ce,children:e.sublabel})]},e.value)},be),tt&&Y&&
13
- /* @__PURE__ */M("button",{id:we(_e.length),type:"button",role:"option","aria-selected":!1,tabIndex:-1,onMouseDown:e=>{re&&e.preventDefault(),Me(tt,_e.length)},className:`w-full overflow-hidden text-left px-3 min-h-(--row-height-menu) py-2 text-sm flex items-center gap-2 whitespace-nowrap text-ink hover:bg-row-hover ${_e.length?`border-t ${x}`:""} ${me===_e.length?"bg-gray-100":""}`,children:/* @__PURE__ */M("span",{className:"min-w-0 flex-1 truncate",children:Y(tt.value)})},`${be}-typed`)]})]}),document.body)]});var rt}export{L as SearchableSelect,E as fitChoice};
@@ -1,13 +0,0 @@
1
- import{copyToClipboard as e,selectionAt as t}from"./chunk-PH3P54QQ.js";import{ResizableTable as n}from"./chunk-BXZSLRNO.js";import{useTableNav as r}from"./chunk-ATMJ5ZPK.js";import{escapeHtml as o}from"./chunk-G6DKCCWH.js";import{Checkbox_default as l}from"./chunk-CGZBDI6C.js";import{ListFooter as i}from"./chunk-4H5NTMOF.js";import{ListLoadError as a}from"./chunk-XARBHOEZ.js";import{LoadingSpinner as c}from"./chunk-SCGBCBXP.js";import{toast_default as d}from"./chunk-TRWHVG3A.js";import{PopupMenu as s,PopupMenuLabel as h,PopupMenuItem as m,PopupMenuDivider as u}from"./chunk-BFA5U5JF.js";import{keepsNativeMenu as p}from"./chunk-5QFPTDQF.js";import{LoadingSpinner as f}from"./chunk-R2VKEMZH.js";import{shellHttp as g}from"./chunk-STKJA4PV.js";import{useShellStrings as y}from"./chunk-43MCNASD.js";import{useState as k,useRef as b}from"react";import{jsx as x,Fragment as w,jsxs as C}from"react/jsx-runtime";function j(e){return Array.from(e.children).filter(e=>void 0!==e.dataset?.colKey&&"_select"!==e.dataset.colKey)}function v(e){return("string"==typeof e.innerText?e.innerText:e.textContent??"").replace(/\s+/g," ").trim()}function S(S){const{items:R,isLoading:N,emptyState:L,totalCount:T,isError:$,onRetry:A,errorTitle:M,errorMessage:P,tableId:F,columns:E,renderCell:K,getRowId:B=e=>e.id,sort:H,onSort:D,selected:O,setSelected:U,onRowClick:I,onRowHover:W,getRowClassName:Z,footerLabel:G,footerExtra:J,sentinelRef:Q,isFetchingNextPage:X,saveDefaultPerms:_,exportEndpoint:V,exportFilename:z="export.csv",contextActions:q}=S,[Y,ee]=k(null),te=b(null),ne=y(),re=ne.entityList,oe=e=>{U(t=>{const n=new Set(t),r=B(e);return n.has(r)?n.delete(r):n.add(r),n})},le=()=>{U(e=>{const t=R.map(B),n=new Set(e);return t.every(t=>e.has(t))?t.forEach(e=>n.delete(e)):t.forEach(e=>n.add(e)),n})},ie=r(R,I,oe,le,(e,t)=>{U(n=>{const r=new Set(n);for(let n=e;n<=t;n++)r.add(B(R[n]));return r})},te),ae=R.filter(e=>O.has(B(e))),ce=()=>{const e=[...te.current?.querySelectorAll("tr[data-row-idx]")??[]].filter(e=>{const t=R[Number(e.dataset.rowIdx)];return void 0!==t&&O.has(B(t))}),t=e.length?j(e[0]).map(e=>e.dataset.colKey??""):[],n=new Map(E.map(e=>[e.key,e.label]));return{keys:t,header:t.map(e=>n.get(e)??e),body:e.map(e=>j(e).map(v))}},de=()=>{ee(null);const{header:t,body:n}=ce();if(!n.length)return;const r=[t,...n].map(e=>e.join("\t")).join("\n"),l="<table><thead><tr>"+t.map(e=>`<th>${o(e)}</th>`).join("")+"</tr></thead><tbody>"+n.map(e=>`<tr>${e.map(e=>`<td>${o(e)}</td>`).join("")}</tr>`).join("")+"</tbody></table>";e(re.copiedRows(n.length),r,l)},se=async()=>{ee(null);const e=ae.map(B);if(!e.length||!V)return;const t=new URLSearchParams({ids:e.join(",")}),n=(()=>{const e=new Map(E.map(e=>[e.key,e.exportLabel??e.label]));try{const t=localStorage.getItem(`col-config-${F}`);if(t){const n=JSON.parse(t).filter(t=>!t.hidden&&"_select"!==t.key&&e.has(t.key)).map(t=>`${t.key}|${e.get(t.key)}`);if(n.length)return n.join(",")}}catch{}return E.filter(e=>!e.defaultHidden).map(e=>`${e.key}|${e.exportLabel??e.label}`).join(",")})();n&&t.set("cols",n);const r=V.includes("?")?"&":"?";try{const n=await g.get(`${V}${r}${t}`,{responseType:"blob"}),o=window.URL.createObjectURL(new Blob([n.data],{type:"text/csv"})),l=document.createElement("a");l.href=o,l.download=z,l.click(),window.URL.revokeObjectURL(o);const i=n.headers??{},a=Number(i["x-row-count"]);if("true"===String(i["x-truncated"]))return void d.notify(Number.isFinite(a)?re.exportTruncated(a,e.length):re.exportTruncatedUnknown(e.length));d.success(re.exported(e.length))}catch{d.error(re.exportFailed)}};if(N)/* @__PURE__ */return x(c,{});if($&&0===R.length)/* @__PURE__ */
2
- return x(a,{title:M,message:P,onRetry:A});if(0===R.length)/* @__PURE__ */return x(w,{children:L});const he=R.length>0&&ae.length===R.length,me=ae.length>0&&!he,ue=O.size-ae.length,pe=[{key:"_select",label:"",defaultWidth:52,minWidth:52,headerNode:/* @__PURE__ */x(l,{"aria-label":ne.table.selectAll,checked:he,indeterminate:me,onChange:le,style:{height:14,width:14}})},...E],fe=/* @__PURE__ */x(i,{selectedCount:ae.length,hiddenSelectedCount:ue,loadedCount:R.length,totalCount:T,label:G,isFetchingMore:X,extra:J}),ge=Q?/* @__PURE__ */C(w,{children:[
3
- /* @__PURE__ */x("div",{ref:Q}),X&&/* @__PURE__ */x(f,{size:"sm",padding:"py-3",label:ne.list.loadingMore})]}):void 0;let ye=null;if(Y){const{x:t,y:n,item:r,text:o,firstColumn:l}=Y,i=q?q(ae):[],a=ae.length,c=()=>ee(null),d=void 0!==T&&T>R.length;ye=/* @__PURE__ */C(s,{portal:!0,style:{left:t,top:n},onClose:c,minWidth:210,children:[
4
- /* @__PURE__ */x(h,{children:ue>0?ne.list.selectedNotShown(a,ue):ne.list.selected(a)}),
5
- /* @__PURE__ */x(m,{className:"font-medium",onClick:()=>{c(),I(r)},children:re.open}),
6
- /* @__PURE__ */x(u,{}),o&&/* @__PURE__ */x(m,{onClick:()=>{c(),e(re.copiedText,o.text,o.html)},children:re.copy}),l&&/* @__PURE__ */x(m,{onClick:()=>(t=>{ee(null);const{keys:n,body:r}=ce(),o=n.indexOf(t.key);o<0||!r.length||e(t.label,r.map(e=>e[o]).join("\n"))})(l),children:re.copyColumn(l.label)}),
7
- /* @__PURE__ */x(m,{disabled:0===a,onClick:de,children:re.copyRows(a)}),V&&/* @__PURE__ */x(m,{onClick:se,children:re.exportSelected}),i.map((e,t)=>/* @__PURE__ */C("div",{children:[(e.divider||0===t)&&/* @__PURE__ */x(u,{}),
8
- /* @__PURE__ */x(m,{danger:e.danger,disabled:e.disabled,onClick:()=>{c(),e.onClick(ae)},children:e.label})]},t)),
9
- /* @__PURE__ */x(u,{}),!he&&/* @__PURE__ */x(m,{onClick:()=>{c(),U(e=>/* @__PURE__ */new Set([...e,...R.map(B)]))},children:d?re.selectAllLoaded(R.length):re.selectAll}),
10
- /* @__PURE__ */x(m,{onClick:()=>{c(),U(/* @__PURE__ */new Set)},children:re.clearSelection}),A&&/* @__PURE__ */x(m,{onClick:()=>{c(),A()},children:re.refresh})]})}/* @__PURE__ */
11
- return C("div",{className:"flex-1 flex flex-col mb-1 bg-white rounded-lg shadow overflow-hidden",children:[
12
- /* @__PURE__ */x("div",{className:"flex-1 min-h-0 flex flex-col",children:/* @__PURE__ */x(n,{tableId:F,columns:pe,sort:H,onSort:D,footer:fe,afterBody:ge,saveDefaultPerms:_,children:e=>/* @__PURE__ */x("tbody",{ref:te,className:"divide-y divide-gray-100",children:R.map((n,r)=>{const o=B(n);/* @__PURE__ */
13
- return x("tr",{"data-row-idx":r,className:`cursor-pointer ${ie===r?"bg-blue-50 ring-1 ring-inset ring-blue-300":O.has(o)?"bg-blue-50 hover:bg-blue-100":"hover:bg-gray-50"} ${Z?.(n)??""}`,onClick:()=>I(n),onContextMenu:e=>((e,n)=>{if(e.shiftKey||p(e.target))return;e.preventDefault();const r=B(n);O.has(r)||U(/* @__PURE__ */new Set([r]));const o=j(e.currentTarget)[0]?.dataset.colKey,l=o?E.find(e=>e.key===o)?.label:void 0;ee({x:e.clientX,y:e.clientY,item:n,text:t(e.target),firstColumn:o&&l?{key:o,label:l}:null})})(e,n),onMouseEnter:W?()=>W(n):void 0,children:e.map(e=>/* @__PURE__ */x("td",{"data-col-key":e.key,className:"px-4 py-3 whitespace-nowrap text-sm overflow-hidden",children:"_select"===e.key?/* @__PURE__ */x(l,{"aria-label":ne.table.selectRow,checked:O.has(o),onChange:()=>oe(n),onClick:e=>e.stopPropagation(),style:{height:14,width:14}}):K(n,e.key)},e.key))},o)})})})}),ye]})}export{S as EntityList};
@@ -1,9 +0,0 @@
1
- import{ImageFocusPoint as e}from"./chunk-53EW4M5S.js";import{Segmented as a}from"./chunk-S4FPYCUU.js";import{FormField as i}from"./chunk-6KBDNYRW.js";import{isVideoUrl as t,mediaPromptLine as o,mediaFileName as r,FilenameBadge as n,BusyOverlay as l,UploadGlyph as s,dropzoneClass as c,zoneFocusClass as d}from"./chunk-QBD7V4TK.js";import{TransferProgress as u}from"./chunk-HNQKXOFU.js";import{useFileIntake as m,FileIntakeAlert as h}from"./chunk-7KIDOIPY.js";import{Icon as p}from"./chunk-MRFNJZRR.js";import{useShellStrings as b}from"./chunk-43MCNASD.js";import{useState as g,useRef as v,useEffect as f,useId as y}from"react";import{jsxs as k,jsx as N,Fragment as j}from"react/jsx-runtime";var x=["flex h-8 items-center justify-center rounded-(--radius-control) text-(--status-on-solid)","not-disabled:hover:bg-white/10 disabled:cursor-not-allowed disabled:opacity-60","rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-solid)]"].join(" ");function w({value:w,onChange:L,onPick:R,onFile:F,label:U,hint:C,error:O,required:P,className:$,accept:z="image/*",maxSizeBytes:K,fit:S="cover",height:B=112,placeholder:D,cta:H,acceptHint:I,showFilename:q=!0,allowReplace:M=!0,allowRemove:W=!0,replaceLabel:Y,removeLabel:A,busy:Q=!1,busyLabel:V,choosingLabel:_,pickFailedLabel:E,progress:J,disabled:T=!1,kind:X,onKindChange:Z,focus:G,onFocusChange:ee,focusLabel:ae}){const ie=b().media,te=H??ie.cta,oe=X??(/video/.test(z)&&!/image/.test(z)?"video":"image"),re="string"==typeof A&&A?A:ie.remove,[ne,le]=g(!1),[se,ce]=g(!1),de=v(!0);f(()=>()=>{de.current=!1},[]);const ue=Q||ne,me=ne&&!Q?_??ie.choosing:V??ie.uploading,he=O??(se?E??ie.pickFailed:void 0),pe=e=>{if(!R)return;ce(!1);const a=R(e);a&&"function"==typeof a.then&&(le(!0),a.then(e=>{de.current&&(le(!1),"string"==typeof e&&e&&L(e))},()=>{de.current&&(le(!1),ce(!0))}))},be=y(),ge=v(null),[ve,fe]=g(null);f(()=>()=>{ge.current&&URL.revokeObjectURL(ge.current)},[]);const ye=T||ue,ke=!!w&&(t(w,z)||w===ve),Ne=D??o(z,ie),je=Y??(ke||"video"===oe?ie.changeVideo:ie.changeImage),xe=e=>{R?pe(e):F?F(e):(e=>{ge.current&&URL.revokeObjectURL(ge.current);const a=URL.createObjectURL(e);ge.current=a,fe(e.type.startsWith("video/")?a:null),L(a)})(e)},we=m({accept:z,maxSizeBytes:K,acceptHint:I,multiple:!1,disabled:ye,onAccept:([e])=>xe(e)}),{dragOver:Le}=we,Re=()=>{ye||(R?pe():we.open())},Fe=w?r(w):"",Ue=!ke&&!!ee,Ce=T||!M&&!W?null:/* @__PURE__ */k("div",{"data-media-bar":"",className:["absolute inset-x-0 bottom-0 flex items-center gap-1 p-1 text-(--status-on-solid)","opacity-0 transition-opacity duration-(--motion-fast)","group-hover/media:opacity-100 group-focus-within/media:opacity-100 [@media(hover:none)]:opacity-100"].join(" "),style:{background:"var(--rosh-media-scrim-button)"},children:[M&&/* @__PURE__ */k("button",{id:Ue?void 0:be,type:"button","aria-labelledby":`${be}-change`,onClick:()=>Re(),disabled:ue,className:`min-w-0 flex-1 gap-1 px-2 text-sm font-medium ${x}`,children:[
2
- /* @__PURE__ */N(p,{name:"swap","aria-hidden":"true",className:"h-4 w-4 shrink-0"}),
3
- /* @__PURE__ */N("span",{id:`${be}-change`,className:"truncate",children:je})]}),W&&/* @__PURE__ */N("button",{type:"button","aria-label":re,onClick:()=>{ge.current&&(URL.revokeObjectURL(ge.current),ge.current=null),fe(null),L("")},disabled:ue,className:`ml-auto w-8 shrink-0 ${x}`,children:/* @__PURE__ */N(p,{name:"trash","aria-hidden":"true",className:"h-4 w-4"})})]}),Oe=/* @__PURE__ */k("div",{...we.zoneProps,"data-media-frame":"",className:["group/media relative overflow-hidden rounded-(--radius-control) border transition-colors",Ue?"":"bg-gray-100",Le?"border-blue-500":"border-line"].join(" "),style:Ue?void 0:{height:B},children:[Ue?
4
- /* @__PURE__ */N(e,{value:G??"",onChange:e=>ee?.(e),label:ae??ie.focus,image:w,hint:null,id:be,disabled:ye,className:"[&_[data-image-focus-picture]]:rounded-none [&_[data-image-focus-picture]]:border-0"}):ke?/* @__PURE__ */N("video",{src:w??void 0,muted:!0,playsInline:!0,preload:"metadata","aria-label":Fe||void 0,className:"h-full w-full",style:{objectFit:S}}):/* @__PURE__ */N("img",{src:w??void 0,alt:Fe,className:"h-full w-full",style:{objectFit:S,objectPosition:G||void 0}}),q&&w&&/* @__PURE__ */N(n,{children:Fe}),Ce,ue&&/* @__PURE__ */N(l,{label:me,progress:J,rounded:"rounded-md"})]}),Pe=/* @__PURE__ */N("button",{type:"button",id:be,onClick:()=>Re(),disabled:ye,"aria-label":"string"==typeof Ne?Ne:ie.upload,"aria-busy":ue||void 0,"aria-invalid":!!he||void 0,"aria-required":P||void 0,"aria-describedby":he?`${be}-error`:C?`${be}-hint`:void 0,...we.zoneProps,className:c(Le,ye,d(ye)),style:{minHeight:B},children:ue?/* @__PURE__ */N(u,{state:"busy",verb:me,pct:J}):/* @__PURE__ */k(j,{children:[
5
- /* @__PURE__ */N("span",{className:"text-ink-faintest",children:/* @__PURE__ */N(s,{})}),
6
- /* @__PURE__ */N("span",{className:"px-3 text-xs text-ink-faint",children:Ne}),
7
- /* @__PURE__ */N("span",{className:"text-sm font-medium text-blue-600",children:te}),I&&/* @__PURE__ */N("span",{className:"text-xs text-ink-faintest",children:I})]})});/* @__PURE__ */
8
- return k(i,{label:U,htmlFor:be,hint:C,error:he,required:P,className:$,children:[Z&&/* @__PURE__ */N("div",{"data-media-kind":"",className:"mb-2",children:/* @__PURE__ */N(a,{value:oe,onChange:e=>Z(e),options:[{value:"image",label:ie.image,icon:/* @__PURE__ */N(p,{name:"image","aria-hidden":"true",className:"h-4 w-4"}),disabled:ye},{value:"video",label:ie.video,icon:/* @__PURE__ */N(p,{name:"play","aria-hidden":"true",className:"h-4 w-4"}),disabled:ye}],block:!0,size:"md",label:"string"==typeof U&&U?U:ie.upload})}),w?Oe:Pe,!R&&/* @__PURE__ */N("input",{...we.inputProps}),
9
- /* @__PURE__ */N(h,{rejections:we.rejections})]})}export{w as MediaUploadField};
@@ -1,5 +0,0 @@
1
- import{useOverlayTarget as e,usePopupAnchor as r,usePanelPosition as i,OverlayLayerProvider as t}from"./chunk-3DVNXNTF.js";import{useDiscardGuard as l}from"./chunk-C4XV42QP.js";import{dialogA11y as a}from"./chunk-VWGWZY7A.js";import{useDismissPopupsOnOpen as o}from"./chunk-7QSDPSXP.js";import{useFocusTrap as n,useScrollLock as s}from"./chunk-CDAJKLGL.js";import{Icon as d}from"./chunk-MRFNJZRR.js";import{Z_LAYERS as c}from"./chunk-62LW225J.js";import{useHydrated as m}from"./chunk-D65T4H6J.js";import{registerModalEscapeInterceptor as u}from"./chunk-TWVUQUUD.js";import{useShellStrings as p}from"./chunk-43MCNASD.js";import{useRef as f,useId as h,useState as x,useEffect as v}from"react";import{createPortal as b}from"react-dom";import{jsxs as y,Fragment as g,jsx as k}from"react/jsx-runtime";var N={sm:"max-w-sm",md:"max-w-md",lg:"max-w-lg",xl:"max-w-4xl","2xl":"max-w-6xl"};function j({open:j,onClose:w,title:C,description:D,role:W="dialog",children:J,footer:L,blocking:T=!1,size:V="md",aside:A=!1,dirty:F=!1,initialFocus:P,"aria-label":Q,"aria-labelledby":R,"aria-describedby":S,className:U=""}){const X=f(null),$=h(),z=h(),G=!T,I=h(),M=p().dialog,Z=e(m()),[B,H]=x(null),K=l({open:j,dirty:F,onClose:w,title:C,layer:B}),Y=f(null),q=r(j&&null!==Z,Y),E=i(q,X);if(o(j),n(X,j&&null!==Z,P),s(j),v(()=>{if(j)return u(()=>(T||K(),!0),()=>X.current)},[j,T,K]),!j||!Z)return null;/* @__PURE__ */
2
- return y(g,{children:[/* @__PURE__ */k("span",{ref:Y,hidden:!0,"data-popup-anchor":""}),b(
3
- /* @__PURE__ */k(t,{value:B,children:/* @__PURE__ */y("div",{ref:H,className:"fixed inset-0"+(A?" pointer-events-none opacity-0":""),style:{zIndex:c.overlay},role:"presentation","data-overlay-layer":"","data-aside":A?"":void 0,children:[
4
- /* @__PURE__ */k("div",{className:"fixed inset-0 bg-black/30","aria-hidden":"true"}),
5
- /* @__PURE__ */k("div",{className:q?"fixed inset-0":"fixed inset-0 flex items-center justify-center p-4",onClick:T?void 0:e=>{e.target===e.currentTarget&&K()},children:/* @__PURE__ */y("div",{ref:X,"data-popup-panel":"",style:q?{left:E?.left??0,top:E?.top??0,visibility:E?void 0:"hidden"}:void 0,...a({role:W,modal:!0,titleId:C?I:void 0,labelledBy:R,label:Q}),"aria-describedby":S??(D?z:J?$:void 0),className:`${q?"absolute max-h-[calc(100%-2rem)] w-[calc(100%-2rem)]":"relative max-h-full w-full"} ${N[V]} overflow-y-auto overscroll-contain rounded-(--radius-card) bg-white p-6 shadow-xl ${U}`.trim(),children:[C&&/* @__PURE__ */k("h2",{id:I,className:(G?"pr-8 ":"")+"text-base font-semibold text-gray-900",children:C}),D&&/* @__PURE__ */k("p",{id:z,className:((C?"mt-1":G?"pr-8":"")+" text-sm text-gray-500").trim(),children:D}),J&&/* @__PURE__ */k("div",{id:$,className:"mt-2 text-sm text-gray-600",children:J}),L&&/* @__PURE__ */k("div",{className:"mt-6 flex flex-wrap justify-end gap-3",children:L}),G&&/* @__PURE__ */k("button",{type:"button",onClick:K,"aria-label":M.close,className:"absolute right-3 top-3 rounded-(--radius-control) p-1 text-gray-400 hover:bg-gray-100 hover:text-gray-600 rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-solid)]",children:/* @__PURE__ */k(d,{name:"close",className:"h-5 w-5",strokeWidth:"2",strokeLinecap:"round","aria-hidden":"true"})})]})})]})}),Z)]})}export{j as Dialog};
@@ -1,2 +0,0 @@
1
- import{buttonClasses as e}from"./chunk-UQYNPYF4.js";import{isAriaDisabled as a,swallowPress as r,describedByWith as i,OffWithReason as s}from"./chunk-TE6R53YD.js";import{SpinnerRing as l}from"./chunk-R2VKEMZH.js";import{forwardRef as d,useId as n}from"react";import{jsxs as t,jsx as c}from"react/jsx-runtime";var o=d(function({variant:d="primary",size:o="md",loading:m=!1,leftIcon:p,rightIcon:b,block:f=!1,disabled:u,type:h="button",children:k,className:x="",disabledReason:N,onClick:y,pressed:v,"aria-disabled":g,"aria-describedby":j,...R},Y){const w=n(),z=u||m,C=null!=N&&""!==N,E=z&&C,I=!z&&a(g),D=I&&C,F=E||D?w:void 0,H=/* @__PURE__ */t("button",{ref:Y,type:h,disabled:z,"aria-busy":m||void 0,"aria-disabled":!!I||g,"aria-describedby":i(j,F),onClick:I?r:y,className:e({variant:d,size:o,block:f,pressed:v??(!0===R["aria-pressed"]||"true"===R["aria-pressed"]),className:x}),...R,children:[m?/* @__PURE__ */c(l,{className:"h-3.5 w-3.5",ink:""}):p,k,!m&&b]});return D?/* @__PURE__ */c(s,{reason:N,id:w,block:f,children:H}):E?/* @__PURE__ */t("span",{className:f?"flex w-full flex-col gap-1":"inline-flex flex-col items-start gap-1",children:[H,
2
- /* @__PURE__ */c("span",{id:F,className:"text-xs text-red-600",children:N})]}):H});export{o as Button_default};
@@ -1,8 +0,0 @@
1
- import{optionMatches as e,OptionSublabel as t}from"./chunk-GFBQ53WN.js";import{inputClasses as n}from"./chunk-AYZY3YNC.js";import{GROUP_COLORS as o}from"./chunk-FZM3ZPW3.js";import{Tooltip as r}from"./chunk-NJN5IKWO.js";import{onOverlayOpen as l}from"./chunk-PGN5ME7B.js";import{Z_LAYERS as i}from"./chunk-62LW225J.js";import{useDropdownPosition as s,POPUP_MAX_WIDTH as a,MENU_MAX_HEIGHT as c}from"./chunk-GLUJS42B.js";import{glassStyle as u}from"./chunk-5FYDNH4Y.js";import{useShellStrings as d}from"./chunk-43MCNASD.js";import{useState as m,useRef as h,useMemo as p,useEffect as f}from"react";import{createPortal as v}from"react-dom";import{jsxs as g,jsx as x,Fragment as b}from"react/jsx-runtime";var w={accent:{chip:"inline-flex max-w-full items-center gap-1 rounded bg-accent-tint px-2 py-0.5 text-xs font-medium text-blue-700",remove:"text-blue-400 hover:text-red-500 rosh-focus-ring focus-visible:ring-1 focus-visible:ring-[color:var(--rosh-focus-ring-deep)] rounded leading-none"},danger:{chip:`inline-flex max-w-full items-center gap-1 rounded ${o.danger} px-2 py-0.5 text-xs font-medium`,remove:"text-current opacity-70 hover:opacity-100 rosh-focus-ring focus-visible:ring-1 focus-visible:ring-[color:var(--rosh-focus-ring-deep)] rounded leading-none"}};function y({value:o,onChange:y,options:N=[],placeholder:k,allowFreeText:j=!1,invalid:C,disabled:D,id:L,className:W="",tone:M,tooltip:E,split:F}){const[Y,$]=m(!1),[B,S]=m(""),G=d(),H=h(null),I=h(null),J=h(null),Z=s(H,Y),A=e=>N.find(t=>t.value===e)?.label??e,K=p(()=>{const t=new Set(o),n=[],r=B.trim().toLowerCase();for(const o of N)t.has(o.value)||(t.add(o.value),r&&!e(o,r)||n.push(o));return n},[N,o,B]),P=e=>{const t=[...o];for(const n of e){const e=n.trim();if(!e)continue;const o=e.toLowerCase(),r=N.find(t=>t.value===e||t.label.toLowerCase()===o)?.value,l=r??(j?e:null);l&&!t.includes(l)&&t.push(l)}t.length!==o.length&&y(t)},T=e=>{e&&!o.includes(e)?(y([...o,e]),S("")):S("")},z=e=>y(o.filter(t=>t!==e)),O=()=>{const e=B.trim();if(F&&e)return P(e.split(F)),void S("");j&&e?T(e):S("")},Q=h(()=>{});Q.current=()=>{O(),$(!1)},f(()=>{if(!Y)return;const e=e=>{const t=e.target;H.current?.contains(t)||J.current?.contains(t)||(O(),$(!1))};document.addEventListener("mousedown",e);const t=l(()=>Q.current());return()=>{document.removeEventListener("mousedown",e),t()}});const U=N.length>0;/* @__PURE__ */
2
- return g("div",{ref:H,className:"relative",children:[
3
- /* @__PURE__ */g("div",{onMouseDown:e=>{D||e.target.closest("button")||(e.preventDefault(),I.current?.focus())},className:n({invalid:C,multiline:!0,className:`flex flex-wrap items-center gap-1 cursor-text focus-within:border-blue-400 has-focus-visible:ring-2 has-focus-visible:ring-[color:var(--rosh-focus-ring)] ${D?"bg-gray-50 cursor-not-allowed":""} ${W}`}),children:[o.map(e=>{const t=M?.(e),n=w[t??"accent"],o=/* @__PURE__ */g("span",{"data-tone":t,className:n.chip,children:[
4
- /* @__PURE__ */x("span",{className:"truncate",children:A(e)}),!D&&/* @__PURE__ */x("button",{type:"button","aria-label":G.select.removeItem?.(A(e))??`${G.select.remove} ${A(e)}`,onClick:()=>z(e),className:n.remove,children:"×"})]},e),l=E?.(e);return null==l?o:/* @__PURE__ */x(r,{content:l,className:"relative inline-flex max-w-full",children:o},e)}),
5
- /* @__PURE__ */x("input",{id:L,ref:I,type:"text",autoComplete:"off",role:"combobox","aria-expanded":Y&&U,"aria-invalid":C||void 0,disabled:D,value:B,placeholder:0===o.length?k:void 0,onChange:e=>{(e=>{if(F){const t=e.split(F);if(t.length>1)return P(t.slice(0,-1)),void S(t[t.length-1])}S(e)})(e.target.value),$(!0)},onFocus:()=>{!D&&U&&$(!0)},onKeyDown:t=>{if("Enter"===t.key||","===t.key&&j){t.preventDefault();const n=B.trim(),o=n?K.filter(t=>e(t,n.toLowerCase())):[];1===o.length?T(o[0].value):O()}else"Backspace"===t.key&&""===B&&o.length>0?z(o[o.length-1]):"Escape"===t.key?($(!1),S(""),I.current?.blur()):"Tab"===t.key&&(O(),$(!1))},className:"min-w-[8ch] flex-1 border-none bg-transparent p-0 text-sm text-ink-strong placeholder:text-[color:var(--ink-placeholder)] rosh-focus-ring focus-visible:ring-0 disabled:cursor-not-allowed"})]}),Y&&U&&v(
6
- /* @__PURE__ */x("div",{ref:J,className:"fixed rounded-(--radius-popup) overflow-hidden",style:{zIndex:i.popup,left:Z?.left,right:Z?.right,top:Z?.top,bottom:Z?.bottom,minWidth:Z?.minWidth,maxWidth:Z?.maxWidth??a,width:"max-content",visibility:Z?void 0:"hidden",...u()},children:/* @__PURE__ */x("div",{className:"overflow-y-auto",style:{maxHeight:Z?.maxHeight??c},children:0===K.length?/* @__PURE__ */x("p",{className:"px-3 py-3 text-sm text-gray-400 text-center",children:N.length>0&&o.length>=N.length?G.select.allSelected:G.select.noMatches}):K.map(e=>/* @__PURE__ */x("button",{type:"button",onMouseDown:t=>{t.preventDefault(),T(e.value)},className:e.sublabel?"w-full text-left px-3 min-h-(--row-height-menu) py-2 text-sm hover:bg-row-hover text-ink whitespace-nowrap flex items-center justify-between gap-3":"w-full text-left px-3 min-h-(--row-height-menu) py-2 leading-5 text-sm hover:bg-row-hover text-ink whitespace-nowrap",children:e.sublabel?/* @__PURE__ */g(b,{children:[
7
- /* @__PURE__ */x("span",{className:"min-w-0 truncate",children:e.label}),
8
- /* @__PURE__ */x(t,{grows:!0,children:e.sublabel})]}):e.label},e.value))})}),document.body)]})}export{y as TagInput};
@@ -1,7 +0,0 @@
1
- import{isFocusableEntry as e,menuStatusIds as t,renderMenuEntries as r}from"./chunk-LLBH6PHE.js";import{useTabLayer as n,focusableIn as o}from"./chunk-CDAJKLGL.js";import{PopupMenu as i,PopupMenuDivider as a}from"./chunk-BFA5U5JF.js";import{onOverlayOpen as l}from"./chunk-PGN5ME7B.js";import{Z_LAYERS as s}from"./chunk-62LW225J.js";import{placeMenu as d,popupBounds as c,followAnchor as u}from"./chunk-GLUJS42B.js";import{useBrowserLayoutEffect as p}from"./chunk-D65T4H6J.js";import{registerModalEscapeInterceptor as f}from"./chunk-TWVUQUUD.js";import{useState as m,useRef as h,useId as g,useCallback as v,useEffect as b}from"react";import{jsxs as y,jsx as x}from"react/jsx-runtime";var k=/(^|[\s:])!?z-/,w={paddingLeft:"var(--menu-padding-x, 1rem)",paddingRight:"var(--menu-padding-x, 1rem)",paddingTop:"0.25rem",paddingBottom:"0.25rem"};function D({trigger:D,items:L,align:j="end",side:A="bottom","aria-label":E,className:C="",triggerClassName:H,menuClassName:K="",minWidth:S=180,linkAs:W,disabled:$,id:N,"aria-describedby":U,"aria-disabled":B=!1,onOpenChange:T,footer:J,footerLabel:I}){const[q,G]=m(!1),[M,P]=m(-1),z=h(null),F=h(null),R=h(null),O=h(null),Q=h(null),V=null!=J&&!1!==J,Y=h({text:"",at:0}),X=g(),Z=g(),_=N??Z,ee=h(T);ee.current=T;const te=h(q);te.current=q;const re=v(e=>{G(!1),te.current&&(te.current=!1,ee.current?.(!1)),e&&F.current?.focus()},[]),ne=(t,r)=>{const n=L.length;for(let o=0;o<n;o+=1){const i=((t+r*o)%n+n)%n;if(e(L[i]))return i}return-1},oe=()=>R.current?.closest("[data-popup-menu-tree]")??null;b(()=>{if(!q)return;const e=e=>{const t=e.target;if(z.current?.contains(t)||oe()?.contains(t))return;const r=oe()?.getAttribute("data-popup-menu-tree"),n=t.closest?.("[data-popup-menu-tree]");r&&n?.getAttribute("data-popup-menu-tree")===r||re(!1)};document.addEventListener("pointerdown",e,!0);const t=l(()=>re(!1));return()=>{document.removeEventListener("pointerdown",e,!0),t()}},[q,re]);const ie=v(()=>{const e=oe(),t=F.current;if(!e||!t)return;const r=e.style;r.left="0px",r.top="0px",r.maxWidth="none",r.maxHeight="none";const n={width:e.offsetWidth,height:e.offsetHeight},o=d({trigger:t.getBoundingClientRect(),menu:n,bounds:c(t),align:j,side:A});r.left=`${o.left}px`,r.top=`${o.top}px`,r.maxWidth=`${o.maxWidth}px`,r.maxHeight=`${o.maxHeight}px`,r.overflowY=n.height>o.maxHeight?"auto":"",e.dataset.side=o.side,e.dataset.align=j},[j,A]);p(()=>{q&&ie()}),b(()=>{if(q)return u(()=>F.current,ie)},[q,ie]),b(()=>{if(!q)return;const t=R.current,r=e(L[M])?t?.querySelector(`[data-dropdown-index="${M}"]`):null;(r??t)?.focus({preventScroll:!0})},[q,M]),b(()=>{if(q)return f(e=>"Escape"===e.key&&(re(!0),!0),()=>O.current)},[q,re]),n(O,q&&V);const ae=h(null),le=e=>"first"===e?ne(0,1):ne(L.length-1,-1),se=e=>{P(le(e)),G(!0),te.current||(te.current=!0,ae.current=e,T?.(!0))};p(()=>{const e=ae.current;if(!q||!e)return;ae.current=null;const t=le(e);t!==M&&P(t)});const de=t(L,X),ce="function"==typeof J?J({close:()=>re(!0)}):J,ue={...k.test(K)?{}:{zIndex:s.popup},minWidth:S};/* @__PURE__ */
2
- return y("div",{ref:z,className:`relative inline-flex ${C}`.trim(),children:[
3
- /* @__PURE__ */x("button",{ref:F,id:_,type:"button","aria-haspopup":"menu","aria-expanded":q,"aria-controls":q?X:void 0,"aria-label":E,"aria-describedby":U,"aria-disabled":B||void 0,disabled:$,onClick:()=>{B||(q?re(!1):se("first"))},onKeyDown:e=>{B||("ArrowDown"===e.key||"Enter"===e.key||" "===e.key?(e.preventDefault(),se("first")):"ArrowUp"===e.key&&(e.preventDefault(),se("last")))},className:H??"inline-flex items-center justify-center rounded-(--radius-control) text-gray-600 transition-colors not-disabled:not-aria-disabled:hover:bg-gray-100 not-disabled:not-aria-disabled:hover:text-ink-strongest rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-solid)] disabled:cursor-not-allowed disabled:opacity-60 "+(E?"h-8 min-w-8 px-0":"h-8 min-w-8 gap-2 px-3"),children:D}),q&&
4
- /* @__PURE__ */x(i,{portal:!0,className:K,style:ue,children:/* @__PURE__ */y("div",{ref:O,children:[
5
- /* @__PURE__ */x("div",{ref:R,id:X,role:"menu","aria-orientation":"vertical","aria-label":E,"aria-labelledby":E?void 0:_,"aria-describedby":de,tabIndex:-1,onKeyDown:t=>{if(!t.target.closest?.("[data-popup-submenu-panel]")||"Tab"===t.key)if("ArrowDown"===t.key)t.preventDefault(),P(ne(M+1,1));else if("ArrowUp"===t.key)t.preventDefault(),P(ne(M-1,-1));else if("Home"===t.key)t.preventDefault(),P(ne(0,1));else if("End"===t.key)t.preventDefault(),P(ne(L.length-1,-1));else if("Tab"===t.key){t.preventDefault();const e=!t.shiftKey&&Q.current?o(Q.current)[0]:void 0;e?e.focus({preventScroll:!0}):re(!0)}else if(" "===t.key){const e=t.target;e.matches?.("a[href]")&&(t.preventDefault(),e.click())}else 1!==t.key.length||t.ctrlKey||t.metaKey||t.altKey||(t=>{const r=Date.now(),n=t.key.toLowerCase(),o=r-Y.current.at<500?Y.current.text+n:n;Y.current={text:o,at:r};const i=[...o].every(e=>e===o[0]),a=i?o[0]:o,l=i?M+1:Math.max(M,0),s=R.current,d=L.length;for(let r=0;r<d;r+=1){const n=((l+r)%d+d)%d;if(e(L[n])&&(s?.querySelector(`[data-dropdown-index="${n}"]`)?.textContent?.trim().toLowerCase()??"").startsWith(a))return t.preventDefault(),void P(n)}})(t)},children:r(L,{menuId:X,choose:e=>{e.disabled||(re(!0),e.onSelect())},toggle:e=>{e.disabled||e.onSelect()},followLink:()=>re(!0),rowProps:(e,t)=>({"data-dropdown-index":e,tabIndex:e===M?0:-1,onMouseEnter:()=>{t.disabled||Q.current?.contains(document.activeElement)||P(e)}}),linkAs:W})}),V&&/* @__PURE__ */y("div",{ref:Q,role:"group","aria-label":I,"data-dropdown-footer":"",onKeyDown:e=>{const t=Q.current;if("Tab"!==e.key||!t||!t.contains(e.target))return;const r=o(t),n=document.activeElement;if(e.shiftKey){if(r.length>0&&n!==r[0])return;e.preventDefault();const t=R.current?.querySelector(`[data-dropdown-index="${M}"]`);return void(t??R.current)?.focus({preventScroll:!0})}r.length>0&&n!==r[r.length-1]||(e.preventDefault(),re(!0))},children:[
6
- /* @__PURE__ */x("div",{"aria-hidden":"true",children:/* @__PURE__ */x(a,{})}),
7
- /* @__PURE__ */x("div",{style:w,children:ce})]})]})})]})}export{D as DropdownMenu};
@@ -1,23 +0,0 @@
1
- import{Calendar as e}from"./chunk-ONYPN3JY.js";import{toDateKey as t,fromDateKey as r,toMonthKey as n}from"./chunk-2HMNOLKX.js";import{END_ACTIONS_PAD as a,InputEndActionSlot as o,InputEndActionButton as l}from"./chunk-56ESGDIC.js";import{FILTER_ON as i,FILTER_ON_INK as s,FILTER_OFF as c}from"./chunk-AYZY3YNC.js";import{calendarNames as d}from"./chunk-Y3JW2GW5.js";import{pad2 as m}from"./chunk-LF27WIN2.js";import{buttonClasses as u}from"./chunk-UQYNPYF4.js";import{Icon as h}from"./chunk-MRFNJZRR.js";import{onOverlayOpen as p}from"./chunk-PGN5ME7B.js";import{Z_LAYERS as f}from"./chunk-62LW225J.js";import{useDropdownPosition as g}from"./chunk-GLUJS42B.js";import{useBrowserLayoutEffect as b}from"./chunk-D65T4H6J.js";import{glassStyle as x}from"./chunk-5FYDNH4Y.js";import{useShellStrings as v,useShellLocale as y}from"./chunk-43MCNASD.js";import{useState as w,useRef as N,useId as k,useEffect as C}from"react";import{createPortal as M}from"react-dom";import{jsxs as D,Fragment as j,jsx as W}from"react/jsx-runtime";var $=["last2Weeks","lastMonth","last3Months","last6Months","last12Months"],Y=t;function F(e,r){const n=r.getFullYear(),a=r.getMonth(),o=new Date(n,a,r.getDate()),l=new Date(n,a,0),i=e=>new Date(n,a-e,1);switch(e){case"last2Weeks":return{from:t(new Date(n,a,r.getDate()-14)),to:t(o)};case"lastMonth":return{from:t(i(1)),to:t(l)};case"last3Months":return{from:t(i(3)),to:t(l)};case"last6Months":return{from:t(i(6)),to:t(l)};case"last12Months":return{from:t(i(12)),to:t(l)}}}function S(e,t,r){const a=n(e);return t&&a<t.slice(0,7)?t.slice(0,7):r&&a>r.slice(0,7)?r.slice(0,7):a}function O(e){const t=r(e);return t?`${m(t.getDate())}/${m(t.getMonth()+1)}/${t.getFullYear()}`:e}var H=/* @__PURE__ */new Map;function L({from:t,to:n,onChange:m,formatDisplay:Y,clearable:L,required:R=!1,name:J,id:B,"aria-labelledby":E,"aria-label":G,weekStartsOn:T,placeholder:A,fullWidth:I=!1,min:U,max:q,disabled:P=!1,allowOpenEnd:Z=!1}){const z=v().dateRange,K=y(),Q=Y??(K?function(e){let t=H.get(e);t||(t=new Intl.DateTimeFormat(e,{year:"numeric",month:"2-digit",day:"2-digit",timeZone:"UTC",calendar:"gregory"}),H.set(e,t));const n=t;return e=>{const t=r(e);return t?n.format(new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate()))):e}}(K):O),V=A??z.placeholder,X=L??!R,[_,ee]=w(!1),[te,re]=w(t),[ne,ae]=w(n),[oe,le]=w(null),[ie,se]=w("from"),ce=N(null),de=N(null),me=N(null),ue=k(),he=k(),pe=k(),[fe,ge]=w(!1),be=g(ce,_,{preferredMaxWidth:520,preferredMaxHeight:fe?720:560,popupRef:me}),xe=N(null),ve=N(null),[ye,we]=w(!0);b(()=>{const e=ve.current;if(!_||!fe||!e)return;const t=getComputedStyle(e).gridTemplateColumns.split(" ").filter(Boolean).length||1,r=parseFloat(getComputedStyle(e).columnGap)||0,n=(e.clientWidth-r*(t-1))/t,a=Math.max(...Array.from(e.querySelectorAll("[data-preset-measure]"),e=>e.offsetWidth))+24+2<=n+.5;a!==ye&&we(a)});const Ne=N(null);b(()=>{const e=me.current;if(!_||!be||!e)return;const t=getComputedStyle(e),r=be.maxWidth-(e.offsetWidth-e.clientWidth)-parseFloat(t.paddingLeft)-parseFloat(t.paddingRight);if(fe)null!==Ne.current&&Ne.current<=r&&ge(!1);else{const e=xe.current?.offsetWidth??0;if(0===e)return;Ne.current=e,e>r+.5&&ge(!0)}});const[ke,Ce]=w(!1);b(()=>{const e=!!B&&(de.current?.labels?.length??0)>0;e!==ke&&Ce(e)});const Me=!!G||!!E||ke,De=/* @__PURE__ */new Date,[je,We]=w(()=>t?t.slice(0,7):S(De,U,q)),$e=$.filter(e=>((e,t,r)=>(!t||e.from>=t)&&(!r||e.to<=r))(F(e,De),U,q)),Ye=e=>e?Q(e):"";C(()=>{if(!_)return;const e=e=>{const t=e.target;ce.current?.contains(t)||me.current?.contains(t)||ee(!1)};document.addEventListener("mousedown",e);const t=p(()=>ee(!1));return()=>{document.removeEventListener("mousedown",e),t()}},[_]),C(()=>{P&&ee(!1)},[P]);const Fe=()=>{m("",""),ee(!1)},Se=X&&!P&&Boolean(t||n),Oe=t&&n?`${Ye(t)} — ${Ye(n)}`:t?z.fromOnly(Ye(t)):n?z.toOnly(Ye(n)):"",He=d(K),Le=e=>{const t=r(e);return t?He.longDate(t.getFullYear(),t.getMonth(),t.getDate()):e},Re=t&&n?z.range(Le(t),Le(n)):t?z.fromOnly(Le(t)):n?z.toOnly(Le(n)):V,Je=e=>fe?"h-8 w-full min-w-0 truncate rounded-(--radius-control) border px-3 text-sm transition-colors "+(oe===e?"border-blue-300 bg-accent-tint text-blue-700 font-medium":"border-line text-ink hover:bg-row-hover"):"h-8 text-left px-3 text-sm rounded-(--radius-control) transition-colors "+(oe===e?"bg-accent-tint text-blue-700 font-medium":"text-ink hover:bg-row-hover"),Be=/* @__PURE__ */D(j,{children:[$e.map(e=>/* @__PURE__ */W("button",{type:"button",onClick:()=>(e=>{if("Custom"===e)return;const t=F(e,De);re(t.from),ae(t.to),le(e),We(t.from.slice(0,7))})(e),className:Je(e),"aria-label":fe?z[e]:void 0,children:fe?ye?z[e]:z[`${e}Short`]:z[e]},e)),
2
- /* @__PURE__ */W("button",{type:"button",onClick:()=>le("Custom"),className:Je("Custom"),children:z.custom})]}),Ee=(e,t)=>Z?/* @__PURE__ */W("button",{type:"button","data-range-end":e,"aria-pressed":ie===e,onClick:()=>se(e),className:"flex items-center gap-2 whitespace-nowrap rounded rosh-focus-ring",children:t}):/* @__PURE__ */W("div",{className:"flex items-center gap-2 whitespace-nowrap",children:t}),Ge=e=>Z&&ie===e?" ring-1 ring-blue-400":"",Te=
3
- /* @__PURE__ */W(e,{mode:"range",min:U,max:q,value:te||null,endValue:ne||null,month:je,onMonthChange:We,onSelect:e=>{le("Custom"),Z?"from"===ie?(ne&&e>ne?(re(ne),ae(e)):re(e),se("to")):te&&e<te?(ae(te),re(e)):ae(e):!te||te&&ne?(re(e),ae("")):e<te?(ae(te),re(e)):ae(e)},weekStartsOn:T,"aria-label":z.dialog});/* @__PURE__ */
4
- return D("div",{className:"relative"+(I?" w-full":""),ref:ce,children:[
5
- /* @__PURE__ */D("div",{className:`relative ${I?"flex w-full":"inline-flex"} h-8 items-center gap-2 border rounded-lg px-3 ${Se?a[1]:""} text-sm focus-within:border-blue-500 has-focus-visible:ring-1 has-focus-visible:ring-[color:var(--rosh-focus-ring-deep)] ${t||n?`${i} ${s}`:c}${P?" cursor-not-allowed opacity-60":""}`,children:[
6
- /* @__PURE__ */D("button",{ref:de,type:"button",onClick:()=>{P||(re(t),ae(n),le(null),se(t&&!n?"to":"from"),We(t?t.slice(0,7):S(De,U,q)),ee(!0))},"aria-haspopup":"dialog","aria-expanded":_,id:B,disabled:P||void 0,"aria-label":G,"aria-labelledby":E,"aria-describedby":[Me?he:void 0,R?pe:void 0].filter(Boolean).join(" ")||void 0,"aria-controls":_?ue:void 0,className:"inline-flex items-center gap-2 rosh-focus-ring"+(I?" min-w-0 flex-1 justify-start":""),children:[
7
- /* @__PURE__ */W(h,{name:"date",className:"w-4 h-4 shrink-0",strokeWidth:"2","aria-hidden":"true"}),
8
- /* @__PURE__ */W("span",{className:"truncate",children:Oe||V})]}),Se&&/* @__PURE__ */W(o,{children:/* @__PURE__ */W(l,{action:{label:z.clearRange,icon:/* @__PURE__ */W(h,{name:"close"}),onClick:Fe}})})]}),Me&&/* @__PURE__ */W("span",{id:he,className:"sr-only",children:Re}),R&&/* @__PURE__ */W("span",{id:pe,className:"sr-only",children:z.required}),J&&/* @__PURE__ */D(j,{children:[
9
- /* @__PURE__ */W("input",{type:"hidden",name:J.from,value:t,disabled:P||void 0}),
10
- /* @__PURE__ */W("input",{type:"hidden",name:J.to,value:n,disabled:P||void 0})]}),_&&M(
11
- /* @__PURE__ */D("div",{ref:me,id:ue,role:"dialog","aria-label":z.dialog,"data-layout":fe?"stacked":"side",className:"fixed rounded-(--radius-popup) p-4",style:{zIndex:f.popup,left:be?.left,right:be?.right,top:be?.top,bottom:be?.bottom,width:fe&&be?be.maxWidth:"max-content",maxWidth:be?.maxWidth,maxHeight:be?.maxHeight,overflowY:"auto",visibility:be?void 0:"hidden",...x()},children:[
12
- /* @__PURE__ */D("div",{className:fe?"mb-3 flex flex-wrap items-center gap-x-4 gap-y-2":"flex items-center gap-3 mb-3",children:[Ee("from",/* @__PURE__ */D(j,{children:[
13
- /* @__PURE__ */W("span",{className:"text-xs font-medium text-gray-500",children:z.from}),
14
- /* @__PURE__ */W("span",{className:`text-sm px-2 py-1 rounded border min-w-[90px] ${te?"border-blue-300 bg-accent-tint text-blue-700":"border-line bg-surface-sunken text-ink-faintest"}${Ge("from")}`,children:te?Ye(te):z.start})]})),!fe&&/* @__PURE__ */W("span",{className:"text-gray-300",children:"—"}),Ee("to",/* @__PURE__ */D(j,{children:[
15
- /* @__PURE__ */W("span",{className:"text-xs font-medium text-gray-500",children:z.to}),
16
- /* @__PURE__ */W("span",{className:`text-sm px-2 py-1 rounded border min-w-[90px] ${ne?"border-blue-300 bg-accent-tint text-blue-700":"border-line bg-surface-sunken text-ink-faintest"}${Ge("to")}`,children:ne?Ye(ne):z.end})]}))]}),fe?/* @__PURE__ */D(j,{children:[$e.length>0&&/* @__PURE__ */D("div",{className:"mb-3 @container",children:[!ye&&/* @__PURE__ */W("p",{"aria-hidden":"true",className:"mb-1 text-xs font-medium text-ink-faint",children:z.lastHeading}),
17
- /* @__PURE__ */D("div",{ref:ve,className:"relative grid grid-cols-2 gap-2 @min-[320px]:grid-cols-3",children:[Be,$e.map(e=>/* @__PURE__ */W("span",{"data-preset-measure":"","aria-hidden":"true",className:"invisible absolute left-0 top-0 whitespace-nowrap text-sm",children:z[e]},e))]})]}),
18
- /* @__PURE__ */W("div",{className:"w-full",children:Te})]}):
19
- /* @__PURE__ */D("div",{ref:xe,className:"flex w-max gap-4",children:[
20
- /* @__PURE__ */W("div",{className:"w-64",children:Te}),$e.length>0&&/* @__PURE__ */W("div",{className:"border-l border-gray-200 pl-4 flex flex-col gap-1 min-w-[130px]",children:Be})]}),
21
- /* @__PURE__ */D("div",{className:"flex flex-wrap justify-end gap-2 mt-4 pt-3 border-t border-gray-200",children:[X&&/* @__PURE__ */W("button",{type:"button",onClick:Fe,className:u({variant:"ghost"}),children:z.clear}),
22
- /* @__PURE__ */W("button",{type:"button",onClick:()=>ee(!1),className:u({variant:"secondary"}),children:z.cancel}),
23
- /* @__PURE__ */W("button",{type:"button",onClick:()=>{m(te,ne),ee(!1)},disabled:Z?!te&&!ne:!te||!ne,className:u({variant:"primary"}),children:z.apply})]})]}),document.body)]})}export{L as DateRangePicker,F as presetRange,Y as toISODate};
@@ -1,7 +0,0 @@
1
- import{squarify as e}from"./chunk-46BYGPGD.js";import{AccessibleTable as t}from"./chunk-5PP435FL.js";import{useHighlight as l}from"./chunk-CNYAHYE6.js";import{ChartTooltip as a}from"./chunk-36VIGB6J.js";import{usePlotWidth as r}from"./chunk-MAFUXCPZ.js";import{resolveSeriesColor as i,CHART_INK as o}from"./chunk-TZFACUMR.js";import{useShellStrings as n,useShellLocale as m}from"./chunk-43MCNASD.js";import{formatPlain as h}from"./chunk-C3QOHMR6.js";import{useRef as c,useState as u}from"react";import{jsx as s,jsxs as f}from"react/jsx-runtime";function p({items:p,height:d=320,width:v,gap:x=2,radius:g=3,formatValue:y,color:k,className:b,emptyLabel:j}){const M=n().charts,w=m(),N=y??(e=>h(e,w)),$=j??M.nothingToBreakDown,C=c(null),A=r(C),B=v??A,[F,P]=u(null),{highlighted:z}=l(),D=e(p,B,d);if(0===D.length)/* @__PURE__ */
2
- return s("div",{className:b,ref:C,children:/* @__PURE__ */s("p",{className:"py-8 text-center text-sm text-gray-500",children:$})});const G=k??i(0),L=Math.max(...D.map(e=>e.value),1),S=e=>34+e/L*62,V=e=>`color-mix(in oklab, ${G} ${S(e).toFixed(0)}%, ${o.surface})`,Y=e=>S(e)>=55?o.surface:o.label,E=F??z,H=F?D.find(e=>e.key===F):void 0;/* @__PURE__ */
3
- return f("div",{className:`relative ${b??""}`,ref:C,children:[
4
- /* @__PURE__ */s("svg",{width:"100%",height:d,viewBox:`0 0 ${B} ${d}`,role:"img","aria-label":M.treemap(p.length),onMouseLeave:()=>P(null),children:D.map(e=>{const t=Math.max(0,e.width-x),l=Math.max(0,e.height-x),a=t>6.2*e.label.length+12&&l>30,r=a&&l>44;/* @__PURE__ */
5
- return f("g",{opacity:E&&E!==e.key?.55:1,onMouseEnter:()=>P(e.key),children:[
6
- /* @__PURE__ */s("rect",{x:e.x+x/2,y:e.y+x/2,width:t,height:l,rx:g,fill:V(e.value)}),a&&/* @__PURE__ */s("text",{x:e.x+x/2+8,y:e.y+x/2+18,fontSize:12,fontWeight:600,fill:Y(e.value),children:e.label}),r&&/* @__PURE__ */s("text",{x:e.x+x/2+8,y:e.y+x/2+34,fontSize:11,fill:Y(e.value),fillOpacity:.85,style:{fontVariantNumeric:"tabular-nums"},children:N(e.value)})]},e.key)})}),H&&/* @__PURE__ */s("div",{className:"pointer-events-none absolute top-2 left-2 z-10",children:/* @__PURE__ */s(a,{title:H.label,rows:[{key:"value",label:M.value,color:V(H.value),value:N(H.value)}]})}),
7
- /* @__PURE__ */s(t,{caption:M.treemap(p.length),head:[M.tableItem,M.value],rows:D.map(e=>[e.label,N(e.value)])})]})}export{p as TreemapChart};
@@ -1,8 +0,0 @@
1
- import{AccessibleTable as t}from"./chunk-5PP435FL.js";import{arcPath as e}from"./chunk-VFC6QUEN.js";import{useHighlight as o}from"./chunk-CNYAHYE6.js";import{ChartTooltip as n}from"./chunk-36VIGB6J.js";import{CHART_INK as r,resolveSeriesColor as a}from"./chunk-TZFACUMR.js";import{useShellStrings as l,useShellLocale as i}from"./chunk-43MCNASD.js";import{formatPlain as s}from"./chunk-C3QOHMR6.js";import{useState as c}from"react";import{jsx as d,jsxs as m}from"react/jsx-runtime";function h(t,e,o,n){const r=(t,o)=>{const n=e[t]?.[o];return"number"==typeof n&&Number.isFinite(n)?n:0},a=t.map((e,o)=>t.reduce((t,e,n)=>t+r(o,n)+r(n,o),0)),l=Math.max(2,o),i=t.length>l,s=i?t.map((t,e)=>e).sort((t,e)=>a[e]-a[t]).slice(0,l-1).sort((t,e)=>t-e):t.map((t,e)=>e),c=new Map(s.map((t,e)=>[t,e])),d=i?s.length:-1,m=i?[...s.map(e=>t[e]),n]:[...t],h=m.map(()=>m.map(()=>0));let u=0;t.forEach((e,o)=>t.forEach((t,e)=>{const n=c.get(o)??d,a=c.get(e)??d;n!==d||a!==d?h[n][a]+=r(o,e):u+=r(o,e)}));const f=m.map((t,e)=>m.reduce((t,o,n)=>t+h[e][n]+h[n][e],0));return d>=0&&(f[d]+=u),{labels:m,matrix:h,totals:f,otherIndex:d,foldedCount:i?t.length-s.length:0}}function u({labels:u,matrix:f,size:p=340,maxNodes:x=8,padAngle:g=.04,arcWidth:b=12,formatValue:k,className:v,emptyLabel:M}){const $=l().charts,w=i(),N=k??(t=>s(t,w)),j=M??$.noFlows,[y,F]=c(null),{highlighted:C}=o(),E=h(u,f,x,$.other),{labels:A,matrix:I,otherIndex:z,foldedCount:L}=E,P=(t,e)=>I[t]?.[e]??0,O=t=>t===z?r.muted:a(t),Q=E.totals,V=A.map((t,e)=>e).sort((t,e)=>Q[e]-Q[t]),B=V.reduce((t,e)=>t+Q[e],0);if(B<=0)/* @__PURE__ */return d("p",{className:`text-sm text-gray-500 ${v??""}`,children:j});const H=p/2,R=p/2,S=p/2-44,T=S-b,U=g*V.length,W=/* @__PURE__ */new Map;let Y=-Math.PI/2;V.forEach((t,e)=>{const o=Q[t]/B*(2*Math.PI-U);W.set(t,{start:Y,end:Y+o,slot:e}),Y+=o+g});const D=/* @__PURE__ */new Map,G=[];for(const t of V)for(const e of V){const o=P(t,e);if(o<=0)continue;const n=W.get(t),r=o/Math.max(1,Q[t])*(n.end-n.start),a=D.get(t)??0;D.set(t,a+r),G.push({from:t,to:e,value:o,a:n.start+a+r/2,b:W.get(e).start+(W.get(e).end-W.get(e).start)/2})}const J=(t,e)=>[H+e*Math.cos(t),R+e*Math.sin(t)],Z="arc"===y?.kind?y.index:void 0,q="ribbon"===y?.kind?G[y.index]:void 0;/* @__PURE__ */
2
- return m("div",{className:`relative ${v??""}`,children:[
3
- /* @__PURE__ */m("svg",{width:"100%",height:p,viewBox:`0 0 ${p} ${p}`,role:"img","aria-label":$.chord(V.length),onMouseLeave:()=>F(null),children:[G.map((t,e)=>{const[o,n]=J(t.a,T),[r,a]=J(t.b,T),l=O(t.from),i=((t,e)=>y?"ribbon"===y.kind?y.index===e:y.index===t.from||y.index===t.to:null!==C?A[t.from]===C||A[t.to]===C:null)(t,e);/* @__PURE__ */
4
- return d("path",{d:`M${o},${n} Q${H},${R} ${r},${a}`,fill:"none",stroke:l,strokeWidth:Math.max(1,t.value/B*p*.9),strokeOpacity:null===i||i?.34:.07,strokeLinecap:"round",onMouseEnter:()=>F({kind:"ribbon",index:e})},`${A[t.from]}→${A[t.to]}`)}),V.map(t=>{const o=W.get(t),n=(o.start+o.end)/2,[a,l]=J(n,S+16),i=(t=>y?"arc"===y.kind?y.index===t:G[y.index].from===t||G[y.index].to===t:null!==C?A[t]===C:null)(t);/* @__PURE__ */
5
- return m("g",{onMouseEnter:()=>F({kind:"arc",index:t}),children:[
6
- /* @__PURE__ */d("path",{d:e(H,R,T,S,o.start,o.end),fill:O(t),fillOpacity:null===i||i?1:.45}),
7
- /* @__PURE__ */d("text",{x:a,y:l+4,fontSize:11,fill:r.label,textAnchor:Math.cos(n)>.15?"start":Math.cos(n)<-.15?"end":"middle",children:A[t]})]},t)})]}),L>0&&/* @__PURE__ */d("p",{className:"mt-1 text-xs text-ink-faint",children:$.chordFolded(L)}),void 0!==Z&&/* @__PURE__ */d("div",{className:"pointer-events-none absolute top-2 left-2 z-10",children:/* @__PURE__ */d(n,{title:A[Z],rows:[{key:"total",label:$.totalFlow,color:O(Z),value:N(Q[Z])}]})}),q&&/* @__PURE__ */d("div",{className:"pointer-events-none absolute top-2 left-2 z-10",children:/* @__PURE__ */d(n,{title:`${A[q.from]} → ${A[q.to]}`,rows:[{key:"value",label:$.flow,color:O(q.from),value:N(q.value)}]})}),
8
- /* @__PURE__ */d(t,{caption:$.chord(V.length),head:[$.tableFrom,$.tableTo,$.value],rows:G.map(t=>[A[t.from],A[t.to],N(t.value)])})]})}export{u as ChordChart,h as foldChord};
@@ -1 +0,0 @@
1
- import{WrapSolidIcon as r}from"./chunk-YBRJR7NV.js";import{WrenchMiniIcon as o}from"./chunk-BWDHO77A.js";import{WrenchScrewdriverMiniIcon as m}from"./chunk-HWGKMEYA.js";import{WrenchScrewdriverSolidIcon as t}from"./chunk-H7AHH7OB.js";import{WrenchSolidIcon as c}from"./chunk-A25YVGAG.js";import{ZoomInMiniIcon as i}from"./chunk-NPCWLBMK.js";import{ZoomInSolidIcon as n}from"./chunk-4H2J5UAB.js";import{WidthSolidIcon as s}from"./chunk-W6FRXR6X.js";import{WindowMiniIcon as p}from"./chunk-CNVF67ZV.js";import{WindowSolidIcon as u}from"./chunk-QBRE4MH3.js";import{WindowsMiniIcon as h}from"./chunk-YMECORJ4.js";import{WindowsSolidIcon as k}from"./chunk-XHRWQU2N.js";import{WordsFromMiniIcon as f}from"./chunk-BEKDLU25.js";import{WordsFromSolidIcon as e}from"./chunk-2MQ7ESMH.js";import{WrapMiniIcon as j}from"./chunk-NLGDN36O.js";import{WalletSolidIcon as a}from"./chunk-RLQAX5HN.js";import{WarningMiniIcon as l}from"./chunk-KHXH44V6.js";import{WarningSolidIcon as d}from"./chunk-TAXDMCNG.js";import{WeightMiniIcon as b}from"./chunk-7MBI6K4M.js";import{WeightSolidIcon as Q}from"./chunk-JH4N2AGC.js";import{WidgetsMiniIcon as C}from"./chunk-K3ZBIFDS.js";import{WidgetsSolidIcon as F}from"./chunk-C7WCAKSH.js";import{WidthMiniIcon as N}from"./chunk-B4GBUSE5.js";import{VAlignSolidIcon as J}from"./chunk-64KV2YO3.js";import{VerifiedMiniIcon as M}from"./chunk-FJXQQ6N4.js";import{VerifiedSolidIcon as K}from"./chunk-C6CI7XH7.js";import{VideoOffMiniIcon as R}from"./chunk-PNVFIQXD.js";import{VideoOffSolidIcon as U}from"./chunk-F75KLDZK.js";import{ViewColumnsMiniIcon as D}from"./chunk-KAUUQEZJ.js";import{ViewColumnsSolidIcon as H}from"./chunk-ZN5SU4ZI.js";import{WalletMiniIcon as P}from"./chunk-ITCE6WFF.js";import{TyreSolidIcon as X}from"./chunk-IF34QPCV.js";import{UnderlineMiniIcon as L}from"./chunk-23YM7DOW.js";import{UnderlineSolidIcon as Z}from"./chunk-R2KCOXZR.js";import{UndoMiniIcon as G}from"./chunk-O5EP2UNP.js";import{UndoSolidIcon as g}from"./chunk-T2IC4IQA.js";import{UploadMiniIcon as A}from"./chunk-2NYCHHEX.js";import{UploadSolidIcon as W}from"./chunk-LDY4RXO4.js";import{VAlignMiniIcon as E}from"./chunk-E5XQWSQG.js";import{TruckAltIcon as Y}from"./chunk-MWG5QRHE.js";import{TruckMiniIcon as T}from"./chunk-JCKOSJNI.js";import{TruckSolidIcon as B}from"./chunk-GYA54DB2.js";import{TvMiniIcon as I}from"./chunk-BQ7RNIBA.js";import{TvSolidIcon as O}from"./chunk-RVA6HGDB.js";import{TypeMiniIcon as S}from"./chunk-3VZEPYAX.js";import{TypeSolidIcon as V}from"./chunk-RH6C435W.js";import{TyreMiniIcon as w}from"./chunk-PPRJBW5Y.js";import{TextValueMiniIcon as y}from"./chunk-5XNZORBY.js";import{TextValueSolidIcon as x}from"./chunk-GKAI5SDL.js";import{TextureMiniIcon as v}from"./chunk-VRGZFJZD.js";import{TextureSolidIcon as q}from"./chunk-2AGTZHGD.js";import{TrashAlt2Icon as z}from"./chunk-TEEDZ5O4.js";import{TrashAltIcon as $}from"./chunk-X65IANDK.js";import{TrashMiniIcon as _}from"./chunk-J5VO23W3.js";import{TrashSolidIcon as rr}from"./chunk-GPFBERFF.js";import{TelephoneMiniIcon as or}from"./chunk-MLXDPEBV.js";import{TelephoneSolidIcon as mr}from"./chunk-JQSK5ICA.js";import{TextColorMiniIcon as tr}from"./chunk-3WUQ5V4J.js";import{TextColorSolidIcon as cr}from"./chunk-TGNRZLQ6.js";import{TextSizeMiniIcon as ir}from"./chunk-2BAQ3XFD.js";import{TextSizeSolidIcon as nr}from"./chunk-MU4OIOPU.js";import{TextSmallMiniIcon as sr}from"./chunk-QK4B7MO3.js";import{TextSmallSolidIcon as pr}from"./chunk-245SGQC7.js";import{TagAltIcon as ur}from"./chunk-HXWCDHZQ.js";import{TagMiniIcon as hr}from"./chunk-GGGXLQHC.js";import{TagSolidIcon as kr}from"./chunk-QDHVUIZV.js";import{TargetAltIcon as fr}from"./chunk-V5DSMUZ5.js";import{TargetMiniIcon as er}from"./chunk-5VRVT4LR.js";import{TargetSolidIcon as jr}from"./chunk-LNFKNTO5.js";import{TeamMiniIcon as ar}from"./chunk-ZV5P54O4.js";import{TeamSolidIcon as lr}from"./chunk-ETF6W3D4.js";import{SwapMiniIcon as dr}from"./chunk-FZMJ5JVX.js";import{SwapSolidIcon as br}from"./chunk-LO2ENELN.js";import{TableMiniIcon as Qr}from"./chunk-7IQQIDI6.js";import{TableSolidIcon as Cr}from"./chunk-QJ3LE7LI.js";import{TabletMiniIcon as Fr}from"./chunk-7R5JBLPI.js";import{TabletSolidIcon as Nr}from"./chunk-IU7ZRR62.js";import{TabsMiniIcon as Jr}from"./chunk-B6RQI2PT.js";import{TabsSolidIcon as Mr}from"./chunk-5UZYIM2W.js";import{StylesMiniIcon as Kr}from"./chunk-FEN2DONX.js";import{StylesSolidIcon as Rr}from"./chunk-B3Q46H2J.js";import{SubscriptMiniIcon as Ur}from"./chunk-KRWISESU.js";import{SubscriptSolidIcon as Dr}from"./chunk-O3QFU4CP.js";import{SunMiniIcon as Hr}from"./chunk-7MOGLM4M.js";import{SunSolidIcon as Pr}from"./chunk-K6ZPLG4O.js";import{SuperscriptMiniIcon as Xr}from"./chunk-YPBEGKV2.js";import{SuperscriptSolidIcon as Lr}from"./chunk-5GJ3SFHP.js";import{StopCircleMiniIcon as Zr}from"./chunk-XRIX6MVS.js";import{StopCircleSolidIcon as Gr}from"./chunk-AQT5PBEU.js";import{StoreBuildingStorefront20SolidIcon as gr}from"./chunk-FXD73VOY.js";import{StoreMiniIcon as Ar}from"./chunk-5HCC7MZN.js";import{StoreSolidIcon as Wr}from"./chunk-V3W6W42X.js";import{StrikeMiniIcon as Er}from"./chunk-5GHSWXWB.js";import{StrikeSolidIcon as Yr}from"./chunk-VUOJMDQ6.js";import{StylesAltIcon as Tr}from"./chunk-PP3H5YGZ.js";import{StateMiniIcon as Br}from"./chunk-WFYZJFS5.js";import{StateSolidIcon as Ir}from"./chunk-2TO2GMVS.js";import{StatusCircleMiniIcon as Or}from"./chunk-TB3CFNVI.js";import{StatusCircleSolidIcon as Sr}from"./chunk-RAE4CUCY.js";import{StatusDotMiniIcon as Vr}from"./chunk-LKN4NT7H.js";import{StatusDotSolidIcon as wr}from"./chunk-6GLBW3FE.js";import{StickyMiniIcon as yr}from"./chunk-RL3ZIR6L.js";import{StickySolidIcon as xr}from"./chunk-CAMDJDKT.js";import{SpecTableSolidIcon as vr}from"./chunk-NZYJ6XYT.js";import{SplitMiniIcon as qr}from"./chunk-6PRAEXF6.js";import{SplitSolidIcon as zr}from"./chunk-YOVMFAN3.js";import{SquareMiniIcon as $r}from"./chunk-WQ2IFM6M.js";import{SquareSolidIcon as _r}from"./chunk-BPWBA2RM.js";import{StarAltIcon as ro}from"./chunk-TTX2XZKP.js";import{StarMiniIcon as oo}from"./chunk-RWHVEPNG.js";import{StarSolidIcon as mo}from"./chunk-635BD6WX.js";import{SparklesAlt2Icon as to}from"./chunk-NCLIZZXL.js";import{SparklesAlt3Icon as co}from"./chunk-FEUIWJ7S.js";import{SparklesAltIcon as io}from"./chunk-UWNP5QOF.js";import{SparklesMiniIcon as no}from"./chunk-WNO4AZ67.js";import{SparklesSolidIcon as so}from"./chunk-NA5HW2RQ.js";import{SpeakerWaveMiniIcon as po}from"./chunk-QNIEDFX6.js";import{SpeakerWaveSolidIcon as uo}from"./chunk-DJNK34UK.js";import{SpecTableMiniIcon as ho}from"./chunk-FUY6TO6Z.js";import{SlidePickerDotsSolidIcon as ko}from"./chunk-PZIPTTVL.js";import{SlidePickerNumbersMiniIcon as fo}from"./chunk-K5UTUJXX.js";import{SlidePickerNumbersSolidIcon as eo}from"./chunk-CNQOWIKL.js";import{SlidePickerSquaresMiniIcon as jo}from"./chunk-A7ILTGAE.js";import{SlidePickerSquaresSolidIcon as ao}from"./chunk-DI3CJOO2.js";import{SortAltIcon as lo}from"./chunk-US4TTHEN.js";import{SortMiniIcon as bo}from"./chunk-SI37ODJF.js";import{SortSolidIcon as Qo}from"./chunk-ZUG2JNG4.js";import{SlideArrowsRoundSolidIcon as Co}from"./chunk-PSYTC7V2.js";import{SlideArrowsSquareMiniIcon as Fo}from"./chunk-EDEHD47C.js";import{SlideArrowsSquareSolidIcon as No}from"./chunk-P66ED5XN.js";import{SlidePickerBarMiniIcon as Jo}from"./chunk-BJ2LKUME.js";import{SlidePickerBarSolidIcon as Mo}from"./chunk-SZGTWSN4.js";import{SlidePickerCardsMiniIcon as Ko}from"./chunk-EUQXQRXY.js";import{SlidePickerCardsSolidIcon as Ro}from"./chunk-D6RYGKV5.js";import{SlidePickerDotsMiniIcon as Uo}from"./chunk-3VYVPN23.js";import{SidesEachSolidIcon as Do}from"./chunk-OR2SSAWP.js";import{SignalMiniIcon as Ho}from"./chunk-PYAU2NDD.js";import{SignalSlashMiniIcon as Po}from"./chunk-MIMLD6G4.js";import{SignalSlashSolidIcon as Xo}from"./chunk-PLQ23Q7Y.js";import{SignalSolidIcon as Lo}from"./chunk-QTPYKXY7.js";import{SitemapMiniIcon as Zo}from"./chunk-TCWYMY7R.js";import{SitemapSolidIcon as Go}from"./chunk-P4KZQYYO.js";import{SlideArrowsRoundMiniIcon as go}from"./chunk-3LSEVWUJ.js";import{ShareSolidIcon as Ao}from"./chunk-ZFF7W6EF.js";import{SharedMiniIcon as Wo}from"./chunk-LKRQXIOG.js";import{SharedSolidIcon as Eo}from"./chunk-YKDKVSAL.js";import{ShieldCheckMiniIcon as Yo}from"./chunk-6UNMFTXG.js";import{ShieldCheckSolidIcon as To}from"./chunk-A2NRNSJU.js";import{ShieldExclamationMiniIcon as Bo}from"./chunk-FB4GEVTA.js";import{ShieldExclamationSolidIcon as Io}from"./chunk-LZ44UTPP.js";import{SidesEachMiniIcon as Oo}from"./chunk-CNTQKS7H.js";import{SettingsSolidIcon as So}from"./chunk-HMPU4WRV.js";import{ShadowMiniIcon as Vo}from"./chunk-JQFMEYOH.js";import{ShadowSolidIcon as wo}from"./chunk-Z6DPC6LY.js";import{ShapeEllipseMiniIcon as yo}from"./chunk-HGJLQXQZ.js";import{ShapeEllipseSolidIcon as xo}from"./chunk-J7YSGSYX.js";import{ShapeRectMiniIcon as vo}from"./chunk-7MTKB2PI.js";import{ShapeRectSolidIcon as qo}from"./chunk-R3SLDJJX.js";import{ShareMiniIcon as zo}from"./chunk-HWEV5X53.js";import{SendSolidIcon as $o}from"./chunk-2L3JB5JJ.js";import{SeparatorSlashMiniIcon as _o}from"./chunk-TGXO3CDO.js";import{SeparatorSlashSolidIcon as rm}from"./chunk-YJ5IHIAI.js";import{SeparatorTriangleMiniIcon as om}from"./chunk-MUXGWDEH.js";import{SeparatorTriangleSolidIcon as mm}from"./chunk-B3CN55UI.js";import{ServerMiniIcon as tm}from"./chunk-7J7SBMPE.js";import{ServerSolidIcon as cm}from"./chunk-TMPZ5QYR.js";import{SettingsMiniIcon as im}from"./chunk-PJ74S7TQ.js";import{SearchAltIcon as nm}from"./chunk-VZZXQM7D.js";import{SearchMiniIcon as sm}from"./chunk-RFQT33IG.js";import{SearchSolidIcon as pm}from"./chunk-D7AJ7HNA.js";import{SelectAllMiniIcon as um}from"./chunk-XG4LYLHC.js";import{SelectAllSolidIcon as hm}from"./chunk-5FXHHPQN.js";import{SendAlt2Icon as km}from"./chunk-I3TMILZC.js";import{SendAltIcon as fm}from"./chunk-AZADIQCQ.js";import{SendMiniIcon as em}from"./chunk-SLALNIKU.js";import{RotateMiniIcon as jm}from"./chunk-AZ6PTN7Z.js";import{RotateSolidIcon as am}from"./chunk-FMFFO3XW.js";import{ScaleAltIcon as lm}from"./chunk-WJEFJ7DO.js";import{ScaleMiniIcon as dm}from"./chunk-AKR2GM4I.js";import{ScaleSolidIcon as bm}from"./chunk-TGQ6FVOC.js";import{ScrollPointMiniIcon as Qm}from"./chunk-BGYKEPGH.js";import{ScrollPointSolidIcon as Cm}from"./chunk-R2L5KKWD.js";import{SearchAlt2Icon as Fm}from"./chunk-USRR3ATA.js";import{ReplyAllMiniIcon as Nm}from"./chunk-PF5CU4SO.js";import{ReplyAllSolidIcon as Jm}from"./chunk-S6HJCIO4.js";import{ReplyMiniIcon as Mm}from"./chunk-ITCRUSSN.js";import{ReplySolidIcon as Km}from"./chunk-QRZVIG54.js";import{RevertMiniIcon as Rm}from"./chunk-TKQLPIHD.js";import{RevertSolidIcon as Um}from"./chunk-B2JHVAJZ.js";import{RobotMiniIcon as Dm}from"./chunk-2QBUM6BF.js";import{RobotSolidIcon as Hm}from"./chunk-BTMPF6TU.js";import{RedoMiniIcon as Pm}from"./chunk-RJNAXMDD.js";import{RedoSolidIcon as Xm}from"./chunk-CITR3NCQ.js";import{RefreshAltIcon as Lm}from"./chunk-BXPQQPS4.js";import{RefreshArrowPathRoundedSquareIcon as Zm}from"./chunk-7BDQSYOD.js";import{RefreshMiniIcon as Gm}from"./chunk-DQVYLBH3.js";import{RefreshSolidIcon as gm}from"./chunk-OD57KLTH.js";import{RemoveMiniIcon as Am}from"./chunk-LC5WQDNZ.js";import{RemoveSolidIcon as Wm}from"./chunk-DZGAUI3P.js";import{RadiusMiniIcon as Em}from"./chunk-7I2GL4XB.js";import{RadiusSolidIcon as Ym}from"./chunk-SGGFUPQS.js";import{ReceiptMiniIcon as Tm}from"./chunk-3FF7CTUA.js";import{ReceiptPercentMiniIcon as Bm}from"./chunk-CM6DG7CZ.js";import{ReceiptPercentSolidIcon as Im}from"./chunk-IXXEASEQ.js";import{ReceiptRefundMiniIcon as Om}from"./chunk-6JWPIRCB.js";import{ReceiptRefundSolidIcon as Sm}from"./chunk-4PXK463M.js";import{ReceiptSolidIcon as Vm}from"./chunk-P6NGK7DM.js";import{ProductSizeSolidIcon as wm}from"./chunk-Y4GH6UXZ.js";import{ProductSolidIcon as ym}from"./chunk-AYYN74HD.js";import{ProgressMiniIcon as xm}from"./chunk-Q3OTCQTQ.js";import{ProgressSolidIcon as vm}from"./chunk-3V5UT7A2.js";import{QuoteMiniIcon as qm}from"./chunk-63LZCLNR.js";import{QuoteSolidIcon as zm}from"./chunk-K3JGLNOQ.js";import{RadioDotMiniIcon as $m}from"./chunk-WRWINFV3.js";import{RadioDotSolidIcon as _m}from"./chunk-VKPCYU5H.js";import{PresentationChartBarMiniIcon as rt}from"./chunk-7BMSC5QE.js";import{PresentationChartBarSolidIcon as ot}from"./chunk-V56PZIS2.js";import{PrintMiniIcon as mt}from"./chunk-AODSAT7N.js";import{PrintSolidIcon as tt}from"./chunk-HLMTKW5H.js";import{ProductFieldMiniIcon as ct}from"./chunk-WICGNE5J.js";import{ProductFieldSolidIcon as it}from"./chunk-AFHJNVJU.js";import{ProductMiniIcon as nt}from"./chunk-M2STINJB.js";import{ProductSizeMiniIcon as st}from"./chunk-WOWXRIRW.js";import{PlacementSolidIcon as pt}from"./chunk-74DQMIJU.js";import{PlayAltIcon as ut}from"./chunk-ZPQFONMR.js";import{PlayMiniIcon as ht}from"./chunk-CCJHCLQD.js";import{PlaySolidIcon as kt}from"./chunk-DPCVWEGT.js";import{PlusMinusMiniIcon as ft}from"./chunk-T2SS7VMR.js";import{PlusMinusSolidIcon as et}from"./chunk-6QBEAJ3X.js";import{PowerMiniIcon as jt}from"./chunk-ETIZX4ZX.js";import{PowerSolidIcon as at}from"./chunk-TXEFPHTL.js";import{PercentMiniIcon as lt}from"./chunk-2LKEZNEE.js";import{PercentSolidIcon as dt}from"./chunk-CQYBRFCN.js";import{PhoneAltIcon as bt}from"./chunk-W2SGPRYG.js";import{PhoneHiddenMiniIcon as Qt}from"./chunk-J4BNHZMC.js";import{PhoneHiddenSolidIcon as Ct}from"./chunk-3CWD4INC.js";import{PhoneMiniIcon as Ft}from"./chunk-KRUKB4JE.js";import{PhoneSolidIcon as Nt}from"./chunk-H6OCWYYU.js";import{PlacementMiniIcon as Jt}from"./chunk-OXHG752A.js";import{PasteStyleSolidIcon as Mt}from"./chunk-NOQIPVD5.js";import{PauseMiniIcon as Kt}from"./chunk-E4XFHQTO.js";import{PauseSolidIcon as Rt}from"./chunk-I2BTP4ZC.js";import{PenMiniIcon as Ut}from"./chunk-75CPAMIK.js";import{PenSolidIcon as Dt}from"./chunk-MZNR3WCA.js";import{PeopleMiniIcon as Ht}from"./chunk-MJ3GUAXH.js";import{PeopleSolidIcon as Pt}from"./chunk-TDACYSKV.js";import{PeopleUserGroupIcon as Xt}from"./chunk-3GU54QB6.js";import{PaletteSolidIcon as Lt}from"./chunk-DL3K4PF4.js";import{PanelLeftMiniIcon as Zt}from"./chunk-XSCG6YG7.js";import{PanelLeftSolidIcon as Gt}from"./chunk-XWU6QN2V.js";import{PanelRightMiniIcon as gt}from"./chunk-FU44ZZBE.js";import{PanelRightSolidIcon as At}from"./chunk-3EVMVYVF.js";import{ParagraphSpacingMiniIcon as Wt}from"./chunk-W6DUHOAN.js";import{ParagraphSpacingSolidIcon as Et}from"./chunk-GD3YLOFZ.js";import{PasteStyleMiniIcon as Yt}from"./chunk-X5KVM2JY.js";import{PaddingXMiniIcon as Tt}from"./chunk-M3FDLEVB.js";import{PaddingXSolidIcon as Bt}from"./chunk-C4GY2IS5.js";import{PaddingYMiniIcon as It}from"./chunk-FLY5B6BV.js";import{PaddingYSolidIcon as Ot}from"./chunk-ZVZB4MEK.js";import{PageAltIcon as St}from"./chunk-CPPPRWOF.js";import{PageMiniIcon as Vt}from"./chunk-XXFO33EC.js";import{PageSolidIcon as wt}from"./chunk-SMJFGTEP.js";import{PaletteMiniIcon as yt}from"./chunk-BAFB2V5R.js";import{PaddingLeftMiniIcon as xt}from"./chunk-FGQ7HFAL.js";import{PaddingLeftRightMiniIcon as vt}from"./chunk-RF4AWGBX.js";import{PaddingLeftRightSolidIcon as qt}from"./chunk-6QAID2KD.js";import{PaddingLeftSolidIcon as zt}from"./chunk-KMRK6TJC.js";import{PaddingRightMiniIcon as $t}from"./chunk-JWZ7SK3Z.js";import{PaddingRightSolidIcon as _t}from"./chunk-IABLIRK6.js";import{PaddingTopMiniIcon as rc}from"./chunk-AAQPYX4I.js";import{PaddingTopSolidIcon as oc}from"./chunk-SE2ECAWN.js";import{PackageMiniIcon as mc}from"./chunk-FCD2THL6.js";import{PackageOpenMiniIcon as tc}from"./chunk-J5NXZAWD.js";import{PackageOpenSolidIcon as cc}from"./chunk-6STWX56B.js";import{PackageSolidIcon as ic}from"./chunk-PRU52B5T.js";import{PaddingAllMiniIcon as nc}from"./chunk-R54WVPDX.js";import{PaddingAllSolidIcon as sc}from"./chunk-QJG66TT3.js";import{PaddingBottomMiniIcon as pc}from"./chunk-NXBHLJD4.js";import{PaddingBottomSolidIcon as uc}from"./chunk-MQBMKV2M.js";import{NudgeYMiniIcon as hc}from"./chunk-EEG3KMP7.js";import{NudgeYSolidIcon as kc}from"./chunk-P5SVBGLG.js";import{NumberedListMiniIcon as fc}from"./chunk-FD7UBG5P.js";import{NumberedListSolidIcon as ec}from"./chunk-3K6RM3K4.js";import{OpacityMiniIcon as jc}from"./chunk-JMOGUE7F.js";import{OpacitySolidIcon as ac}from"./chunk-FCD4WTIN.js";import{OwnTextMiniIcon as lc}from"./chunk-62BDLWEO.js";import{OwnTextSolidIcon as dc}from"./chunk-5OY3AUEX.js";import{NoSymbolMiniIcon as bc}from"./chunk-WQBLFKPH.js";import{NoSymbolSolidIcon as Qc}from"./chunk-JEWUFDX5.js";import{NoteMiniIcon as Cc}from"./chunk-MRWH3KJB.js";import{NoteSolidIcon as Fc}from"./chunk-QNV4E2MF.js";import{NudgeMiniIcon as Nc}from"./chunk-REICDZNN.js";import{NudgeSolidIcon as Jc}from"./chunk-3MRB7UZY.js";import{NudgeXMiniIcon as Mc}from"./chunk-HJUK5AAM.js";import{NudgeXSolidIcon as Kc}from"./chunk-KRWKHI7S.js";import{MoneyMiniIcon as Rc}from"./chunk-6MSDX7MQ.js";import{MoneySolidIcon as Uc}from"./chunk-RJCUFIE5.js";import{MoonMiniIcon as Dc}from"./chunk-V75MYG5O.js";import{MoonSolidIcon as Hc}from"./chunk-24FKIIDR.js";import{MoreMiniIcon as Pc}from"./chunk-42MDVHXS.js";import{MoreSolidIcon as Xc}from"./chunk-PP5JQCTZ.js";import{MoreVerticalMiniIcon as Lc}from"./chunk-J6YBNXVN.js";import{MoreVerticalSolidIcon as Zc}from"./chunk-OSZDQ3VV.js";import{MegaphoneMiniIcon as Gc}from"./chunk-DQ6CYYYH.js";import{MegaphoneSolidIcon as gc}from"./chunk-7KJMS4EK.js";import{MenuMiniIcon as Ac}from"./chunk-MNIIBF52.js";import{MenuSolidIcon as Wc}from"./chunk-AFXOAFL6.js";import{MetaMiniIcon as Ec}from"./chunk-JG2LTXO7.js";import{MetaSolidIcon as Yc}from"./chunk-ADCP4ZQP.js";import{MicrophoneMiniIcon as Tc}from"./chunk-ICL6KE32.js";import{MicrophoneSolidIcon as Bc}from"./chunk-QWWV6GSR.js";import{MediaLayoutInsetMiniIcon as Ic}from"./chunk-PAYYAWU5.js";import{MediaLayoutInsetSolidIcon as Oc}from"./chunk-RJU7XFKX.js";import{MediaLayoutSideBySideMiniIcon as Sc}from"./chunk-PYG3MKYD.js";import{MediaLayoutSideBySideSolidIcon as Vc}from"./chunk-77DNZFAR.js";import{MediaLayoutStackedMiniIcon as wc}from"./chunk-GMTEWQTC.js";import{MediaLayoutStackedSolidIcon as yc}from"./chunk-4D5UAMG5.js";import{MediaMiniIcon as xc}from"./chunk-RWVM2VHF.js";import{MediaSolidIcon as vc}from"./chunk-3UFUOKBM.js";import{LogoutSolidIcon as qc}from"./chunk-2AQMIXH3.js";import{LoopMiniIcon as zc}from"./chunk-Z7TJ5Y7T.js";import{LoopSolidIcon as $c}from"./chunk-XMTGZI2O.js";import{MapAltIcon as _c}from"./chunk-XA7YZO2P.js";import{MapMiniIcon as ri}from"./chunk-Q2QIUERP.js";import{MapSolidIcon as oi}from"./chunk-4EOR3CJ4.js";import{MediaLayoutBigTwoMiniIcon as mi}from"./chunk-RI5VRHG4.js";import{MediaLayoutBigTwoSolidIcon as ti}from"./chunk-4QNSHURB.js";import{LocationMiniIcon as ci}from"./chunk-K7WJNXIJ.js";import{LocationSolidIcon as ii}from"./chunk-BZOV7GJL.js";import{LockAltIcon as ni}from"./chunk-IQKD7UCZ.js";import{LockMiniIcon as si}from"./chunk-EIUHOEDP.js";import{LockSolidIcon as pi}from"./chunk-URXAYQ23.js";import{LogoMiniIcon as ui}from"./chunk-AS4OCCP3.js";import{LogoSolidIcon as hi}from"./chunk-4LBNEX4V.js";import{LogoutMiniIcon as ki}from"./chunk-GV3GNYL6.js";import{ListAltIcon as fi}from"./chunk-ITBPRBKS.js";import{ListFormatMiniIcon as ei}from"./chunk-UDN6USR5.js";import{ListFormatSolidIcon as ji}from"./chunk-LWDJ4GEH.js";import{ListMiniIcon as ai}from"./chunk-7OKXT3VY.js";import{ListNoneMiniIcon as li}from"./chunk-GRABRP2G.js";import{ListNoneSolidIcon as di}from"./chunk-HQOSD5GN.js";import{ListQueueListIcon as bi}from"./chunk-CYQSFWYF.js";import{ListSolidIcon as Qi}from"./chunk-PZZWHWBB.js";import{LineStyleMiniIcon as Ci}from"./chunk-Z4KOPOJX.js";import{LineStyleSolidIcon as Fi}from"./chunk-KUCKME7A.js";import{LinkMiniIcon as Ni}from"./chunk-KLZWTEB5.js";import{LinkSlashMiniIcon as Ji}from"./chunk-325KLGZI.js";import{LinkSlashSolidIcon as Mi}from"./chunk-QL4RGGFN.js";import{LinkSolidIcon as Ki}from"./chunk-WM6WESXC.js";import{ListAlt2Icon as Ri}from"./chunk-7B4Y4XCN.js";import{ListAlt3Icon as Ui}from"./chunk-ACCOL2XR.js";import{LineDashedMiniIcon as Di}from"./chunk-UTJSSJXU.js";import{LineDashedSolidIcon as Hi}from"./chunk-JTKLHXQE.js";import{LineDottedMiniIcon as Pi}from"./chunk-Z7SR7VQR.js";import{LineDottedSolidIcon as Xi}from"./chunk-DUPPQQ35.js";import{LineSolidMiniIcon as Li}from"./chunk-H46XIWYV.js";import{LineSolidSolidIcon as Zi}from"./chunk-XO4FAIL5.js";import{LineSpacingMiniIcon as Gi}from"./chunk-SP6GJ3Y4.js";import{LineSpacingSolidIcon as gi}from"./chunk-CNITIX2S.js";import{LayoutMiniIcon as Ai}from"./chunk-TUODSC47.js";import{LayoutSolidIcon as Wi}from"./chunk-AU3GQT25.js";import{LetterSpacingMiniIcon as Ei}from"./chunk-RYOPAJXK.js";import{LetterSpacingSolidIcon as Yi}from"./chunk-FSLICZMD.js";import{LightbulbMiniIcon as Ti}from"./chunk-LMLLHS4Q.js";import{LightbulbSolidIcon as Bi}from"./chunk-DFJLONGS.js";import{LineBetweenMiniIcon as Ii}from"./chunk-DZC74CKM.js";import{LineBetweenSolidIcon as Oi}from"./chunk-MMYYXHNL.js";import{ItalicSolidIcon as Si}from"./chunk-CMYQL6WU.js";import{KeyMiniIcon as Vi}from"./chunk-TQITZXNM.js";import{KeySolidIcon as wi}from"./chunk-B7FO24I2.js";import{LayersAltIcon as yi}from"./chunk-SUSN7BUA.js";import{LayersMiniIcon as xi}from"./chunk-VPJZX7GH.js";import{LayersRectangleStackIcon as vi}from"./chunk-Q2YQ2EN2.js";import{LayersSolidIcon as qi}from"./chunk-UBBP5Q2C.js";import{LayoutAltIcon as zi}from"./chunk-PYXW6GXA.js";import{ImagesSolidIcon as $i}from"./chunk-Y7BG7B64.js";import{InboxAltIcon as _i}from"./chunk-BFJ4RYCD.js";import{InboxMiniIcon as rn}from"./chunk-QRSDMC5W.js";import{InboxSolidIcon as on}from"./chunk-EESYQSYA.js";import{InfoAltIcon as mn}from"./chunk-U5423MQC.js";import{InfoMiniIcon as tn}from"./chunk-UMKNAPC2.js";import{InfoSolidIcon as cn}from"./chunk-ZU6L5U5X.js";import{ItalicMiniIcon as nn}from"./chunk-JDGZNXOM.js";import{IdentificationMiniIcon as sn}from"./chunk-MX26PZGW.js";import{IdentificationSolidIcon as pn}from"./chunk-ELWJR6D5.js";import{ImageAltIcon as un}from"./chunk-4NT5O3CF.js";import{ImageMiniIcon as hn}from"./chunk-22AYA6IH.js";import{ImageOffMiniIcon as kn}from"./chunk-ZLFF5JQG.js";import{ImageOffSolidIcon as fn}from"./chunk-M7N7XLUK.js";import{ImageSolidIcon as en}from"./chunk-HULBQOQ4.js";import{ImagesMiniIcon as jn}from"./chunk-5P6EYV7K.js";import{HoverZoomMiniIcon as an}from"./chunk-UCWJA6LT.js";import{HoverZoomSolidIcon as ln}from"./chunk-PJW3BL27.js";import{IconAfterTextMiniIcon as dn}from"./chunk-O5MCB756.js";import{IconAfterTextSolidIcon as bn}from"./chunk-H4SQVPCY.js";import{IconAtEndMiniIcon as Qn}from"./chunk-VRBDSUV5.js";import{IconAtEndSolidIcon as Cn}from"./chunk-MJ6SYTFL.js";import{IconBeforeTextMiniIcon as Fn}from"./chunk-C6FIA3VB.js";import{IconBeforeTextSolidIcon as Nn}from"./chunk-FMSIKEE3.js";import{HoverMiniIcon as Jn}from"./chunk-VMKJJFZB.js";import{HoverNextImageMiniIcon as Mn}from"./chunk-FIZKXNCZ.js";import{HoverNextImageSolidIcon as Kn}from"./chunk-XGAXRNZS.js";import{HoverNoneMiniIcon as Rn}from"./chunk-APLKFBJH.js";import{HoverNoneSolidIcon as Un}from"./chunk-5X4DBMS6.js";import{HoverRotateMiniIcon as Dn}from"./chunk-IABSP2GJ.js";import{HoverRotateSolidIcon as Hn}from"./chunk-QHUGCISZ.js";import{HoverSolidIcon as Pn}from"./chunk-J3EF3LJU.js";import{HelpOffSolidIcon as Xn}from"./chunk-NCZDQBQ4.js";import{HelpSolidIcon as Ln}from"./chunk-TBRNYDMF.js";import{HexagonMiniIcon as Zn}from"./chunk-WGFQSFHX.js";import{HexagonSolidIcon as Gn}from"./chunk-OZ2GH2H7.js";import{HomeMiniIcon as gn}from"./chunk-DOA6QPPR.js";import{HomeSolidIcon as An}from"./chunk-XKTLIGRL.js";import{HoverLiftMiniIcon as Wn}from"./chunk-MIOL4CDN.js";import{HoverLiftSolidIcon as En}from"./chunk-KLHUKAD3.js";import{HeadquartersMiniIcon as Yn}from"./chunk-7HBLOYWQ.js";import{HeadquartersSolidIcon as Tn}from"./chunk-2SFKU2B2.js";import{HeartMiniIcon as Bn}from"./chunk-RT6AI5I7.js";import{HeartSolidIcon as In}from"./chunk-BBY7MNDN.js";import{HeightMiniIcon as On}from"./chunk-5AQ6KQSD.js";import{HeightSolidIcon as Sn}from"./chunk-QTQNZMIC.js";import{HelpMiniIcon as Vn}from"./chunk-LRY6HMOO.js";import{HelpOffMiniIcon as wn}from"./chunk-Z3ZZ7IKK.js";import{GroundMiniIcon as yn}from"./chunk-DBWIOWPM.js";import{GroundSolidIcon as xn}from"./chunk-MFFIF7AB.js";import{HandMiniIcon as vn}from"./chunk-7E3RNMRR.js";import{HandSolidIcon as qn}from"./chunk-6R4YB7K3.js";import{HandThumbUpMiniIcon as zn}from"./chunk-ITHJW2KQ.js";import{HandThumbUpSolidIcon as $n}from"./chunk-A5ONCCD3.js";import{HashMiniIcon as _n}from"./chunk-BZDWR4KD.js";import{HashSolidIcon as rs}from"./chunk-UXPHLHBG.js";import{GiftMiniIcon as os}from"./chunk-WHNWFXTB.js";import{GiftSolidIcon as ms}from"./chunk-QHY3TU27.js";import{GlobeAltIcon as ts}from"./chunk-24KAXH2Q.js";import{GlobeMiniIcon as cs}from"./chunk-H6ARFO7R.js";import{GlobeSolidIcon as is}from"./chunk-AV5NET7T.js";import{GridAltIcon as ns}from"./chunk-CEYIPCMH.js";import{GridMiniIcon as ss}from"./chunk-NHDIBRV7.js";import{GridSolidIcon as ps}from"./chunk-IYZTC7VC.js";import{ForwardMiniIcon as us}from"./chunk-JKHFESAR.js";import{ForwardSolidIcon as hs}from"./chunk-4E5LJBKT.js";import{FullWidthMiniIcon as ks}from"./chunk-ORKNUTVU.js";import{FullWidthSolidIcon as fs}from"./chunk-D46DMMOR.js";import{GapMiniIcon as es}from"./chunk-UAB5A3AI.js";import{GapSolidIcon as js}from"./chunk-TBMPFURE.js";import{GemMiniIcon as as}from"./chunk-HPR54EP7.js";import{GemSolidIcon as ls}from"./chunk-D5CO7TAN.js";import{FlagSolidIcon as ds}from"./chunk-SWYJ3FKU.js";import{FolderAltIcon as bs}from"./chunk-ZEXLGKAK.js";import{FolderMiniIcon as Qs}from"./chunk-KKVQPJI3.js";import{FolderOpenMiniIcon as Cs}from"./chunk-NU3WUIAM.js";import{FolderOpenSolidIcon as Fs}from"./chunk-W2JSPWW2.js";import{FolderPlusMiniIcon as Ns}from"./chunk-2ZIX7XRY.js";import{FolderPlusSolidIcon as Js}from"./chunk-Y43FUWQ2.js";import{FolderSolidIcon as Ms}from"./chunk-MEUDPC32.js";import{FilterMiniIcon as Ks}from"./chunk-3QPIARDX.js";import{FilterSolidIcon as Rs}from"./chunk-IDHWRHBE.js";import{FinishMiniIcon as Us}from"./chunk-SSNT2D3M.js";import{FinishSolidIcon as Ds}from"./chunk-465F75NG.js";import{FireMiniIcon as Hs}from"./chunk-XWNYSMBG.js";import{FireSolidIcon as Ps}from"./chunk-MHCYAUWZ.js";import{FlagAltIcon as Xs}from"./chunk-22FCQMKM.js";import{FlagMiniIcon as Ls}from"./chunk-I7IJ3CFC.js";import{ExternalMiniIcon as Zs}from"./chunk-XEBHXPOE.js";import{ExternalSolidIcon as Gs}from"./chunk-Y4YWLKCV.js";import{EyeMiniIcon as gs}from"./chunk-UNOUO3JN.js";import{EyeOffMiniIcon as As}from"./chunk-GBPUVNSN.js";import{EyeOffSolidIcon as Ws}from"./chunk-6FC6PZU4.js";import{EyeSolidIcon as Es}from"./chunk-IIDWSVS5.js";import{FaceSmileMiniIcon as Ys}from"./chunk-4GBFZNYZ.js";import{FaceSmileSolidIcon as Ts}from"./chunk-EHE6TM43.js";import{EraserMiniIcon as Bs}from"./chunk-2O2LJV7Q.js";import{EraserSolidIcon as Is}from"./chunk-LXMTX7NE.js";import{ErrorMiniIcon as Os}from"./chunk-WZ76TDXU.js";import{ErrorSolidIcon as Ss}from"./chunk-CT6I7VFU.js";import{ExpandMiniIcon as Vs}from"./chunk-YRGKL2JP.js";import{ExpandSolidIcon as ws}from"./chunk-3H25EPZU.js";import{ExternalAlt2Icon as ys}from"./chunk-VQJ4CKDU.js";import{ExternalAltIcon as xs}from"./chunk-OJFBIBPI.js";import{EditMiniIcon as vs}from"./chunk-HTXTUUBJ.js";import{EditPencilSquareIcon as qs}from"./chunk-HPWGEKEJ.js";import{EditSolidIcon as zs}from"./chunk-IXYWZ667.js";import{EmailAltIcon as $s}from"./chunk-NYKBG5JF.js";import{EmailMiniIcon as _s}from"./chunk-CYLOWGUD.js";import{EmailSolidIcon as rp}from"./chunk-RL7LVMCC.js";import{EnterMiniIcon as op}from"./chunk-ALDGSODF.js";import{EnterSolidIcon as mp}from"./chunk-26LO7XCK.js";import{DropSolidIcon as tp}from"./chunk-BOLX5THX.js";import{DuplicateAltIcon as cp}from"./chunk-VRXSAWR2.js";import{DuplicateMiniIcon as ip}from"./chunk-PWONWGNZ.js";import{DuplicateSolidIcon as np}from"./chunk-OTUO4L3W.js";import{DurationMiniIcon as sp}from"./chunk-44QWF5X2.js";import{DurationSolidIcon as pp}from"./chunk-PGKNWSSC.js";import{EditAlt2Icon as up}from"./chunk-UOSU63FV.js";import{EditAltIcon as hp}from"./chunk-W4EHFZ7Z.js";import{DotSolidIcon as kp}from"./chunk-YN5G6G3E.js";import{DownloadAltIcon as fp}from"./chunk-SOQGJH2H.js";import{DownloadMiniIcon as ep}from"./chunk-NOMPZRDT.js";import{DownloadSolidIcon as jp}from"./chunk-T6GW556F.js";import{DragAltIcon as ap}from"./chunk-4PYQMQQ6.js";import{DragMiniIcon as lp}from"./chunk-JFKFJPLE.js";import{DragSolidIcon as dp}from"./chunk-TPMOTUTN.js";import{DropMiniIcon as bp}from"./chunk-6LSFDCSH.js";import{DocumentMagnifyingGlassMiniIcon as Qp}from"./chunk-T6ZWKFPU.js";import{DocumentMagnifyingGlassSolidIcon as Cp}from"./chunk-MN74RSSD.js";import{DocumentMiniIcon as Fp}from"./chunk-PHWEOFEG.js";import{DocumentSolidIcon as Np}from"./chunk-TFRIWTDA.js";import{DollarAltIcon as Jp}from"./chunk-FPFP6LPK.js";import{DollarMiniIcon as Mp}from"./chunk-6MHC2ZMP.js";import{DollarSolidIcon as Kp}from"./chunk-KTVER4CP.js";import{DotMiniIcon as Rp}from"./chunk-Z4EJ2MNK.js";import{DirectionMiniIcon as Up}from"./chunk-CFQZ2UJM.js";import{DirectionSolidIcon as Dp}from"./chunk-QKSOCPA2.js";import{DocumentAlt2Icon as Hp}from"./chunk-W6ZAUD5E.js";import{DocumentAltIcon as Pp}from"./chunk-VOC5AK66.js";import{DocumentCheckAltIcon as Xp}from"./chunk-VYDLQ3TB.js";import{DocumentCheckMiniIcon as Lp}from"./chunk-RIQGDM3S.js";import{DocumentCheckSolidIcon as Zp}from"./chunk-CTN6J6MI.js";import{DocumentDocumentIcon as Gp}from"./chunk-HZSE3AMP.js";import{DateSolidIcon as gp}from"./chunk-7R623GIR.js";import{DesktopAltIcon as Ap}from"./chunk-4X2F4CV3.js";import{DesktopMiniIcon as Wp}from"./chunk-SNLTAYYR.js";import{DesktopSolidIcon as Ep}from"./chunk-MFKHQ5K2.js";import{DetachMiniIcon as Yp}from"./chunk-4YARHVZH.js";import{DetachSolidIcon as Tp}from"./chunk-LV2YFFA6.js";import{DiagramMiniIcon as Bp}from"./chunk-WVJSPRDR.js";import{DiagramSolidIcon as Ip}from"./chunk-BOHPJXNM.js";import{CropYSolidIcon as Op}from"./chunk-6NLKMHX6.js";import{CubeTransparentMiniIcon as Sp}from"./chunk-PON7R7AU.js";import{CubeTransparentSolidIcon as Vp}from"./chunk-X26UU4VQ.js";import{CursorClickMiniIcon as wp}from"./chunk-S6VIYZ2J.js";import{CursorClickSolidIcon as yp}from"./chunk-BYDXJORJ.js";import{CursorMiniIcon as xp}from"./chunk-23E6AHJY.js";import{CursorSolidIcon as vp}from"./chunk-4UCO62M5.js";import{DateMiniIcon as qp}from"./chunk-QFDGSQQE.js";import{CropLeftSolidIcon as zp}from"./chunk-2MBDZMZM.js";import{CropMiniIcon as $p}from"./chunk-GKUHMQ4N.js";import{CropRightMiniIcon as _p}from"./chunk-KIYTUOVN.js";import{CropRightSolidIcon as ru}from"./chunk-7F65BNHY.js";import{CropSolidIcon as ou}from"./chunk-WNM2AMCR.js";import{CropTopMiniIcon as mu}from"./chunk-KO5PBMCF.js";import{CropTopSolidIcon as tu}from"./chunk-PWONLQFF.js";import{CropYMiniIcon as cu}from"./chunk-D5EXIRJF.js";import{CornerSolidIcon as iu}from"./chunk-IHFHX3JS.js";import{CountUpMiniIcon as nu}from"./chunk-RRVBOD2U.js";import{CountUpSolidIcon as su}from"./chunk-I5VYOWIX.js";import{CropBottomMiniIcon as pu}from"./chunk-BXDYFSP4.js";import{CropBottomSolidIcon as uu}from"./chunk-QM5DFN7Z.js";import{CropLeftMiniIcon as hu}from"./chunk-RA5GR626.js";import{CropLeftRightMiniIcon as ku}from"./chunk-JTPBPEYK.js";import{CropLeftRightSolidIcon as fu}from"./chunk-USYTN7PE.js";import{CopyAltIcon as eu}from"./chunk-76MY6SHR.js";import{CopyMiniIcon as ju}from"./chunk-COL533ZT.js";import{CopySolidIcon as au}from"./chunk-R2AU7OKI.js";import{CopyStyleMiniIcon as lu}from"./chunk-FDF6AGVQ.js";import{CopyStyleSolidIcon as du}from"./chunk-XLTCCVAS.js";import{CopyToPageMiniIcon as bu}from"./chunk-CUH3B5XK.js";import{CopyToPageSolidIcon as Qu}from"./chunk-XQQVYYP6.js";import{CornerMiniIcon as Cu}from"./chunk-FY2CQ5OZ.js";import{CompanySolidIcon as Fu}from"./chunk-7DVL5EM2.js";import{ComposeMiniIcon as Nu}from"./chunk-Q6DH4T7K.js";import{ComposeSolidIcon as Ju}from"./chunk-YPAX3OVJ.js";import{ContrastMiniIcon as Mu}from"./chunk-VZEQGTG6.js";import{ContrastSolidIcon as Ku}from"./chunk-GVMMJWNK.js";import{CopiedMiniIcon as Ru}from"./chunk-FVZBMQQG.js";import{CopiedSolidIcon as Uu}from"./chunk-6NM4VNUK.js";import{CopyAlt2Icon as Du}from"./chunk-6OVMOQXY.js";import{CollapseSolidIcon as Hu}from"./chunk-MFZS4XH4.js";import{ColumnGapMiniIcon as Pu}from"./chunk-EBH2ETZL.js";import{ColumnGapSolidIcon as Xu}from"./chunk-4CGNDOUU.js";import{ColumnWidthsMiniIcon as Lu}from"./chunk-7CQR2P4D.js";import{ColumnWidthsSolidIcon as Zu}from"./chunk-V2ILLLXT.js";import{ColumnsMiniIcon as Gu}from"./chunk-KU75RLJS.js";import{ColumnsSolidIcon as gu}from"./chunk-VEPD5TDQ.js";import{CompanyMiniIcon as Au}from"./chunk-BXRX5WJC.js";import{CloudPauseMiniIcon as Wu}from"./chunk-SIILHHPE.js";import{CloudPauseSolidIcon as Eu}from"./chunk-5KQTZ4UE.js";import{CloudSlashMiniIcon as Yu}from"./chunk-4YYHXX5L.js";import{CloudSlashSolidIcon as Tu}from"./chunk-IDA6A4QV.js";import{CloudSolidIcon as Bu}from"./chunk-LVL7SQQE.js";import{CodeMiniIcon as Iu}from"./chunk-EY7ITVLB.js";import{CodeSolidIcon as Ou}from"./chunk-QF2QYWLO.js";import{CollapseMiniIcon as Su}from"./chunk-KMGORP5N.js";import{CloudAlertSolidIcon as Vu}from"./chunk-FWNFAW7P.js";import{CloudArrowUpMiniIcon as wu}from"./chunk-6RY7OKVQ.js";import{CloudArrowUpSolidIcon as yu}from"./chunk-2NRMCUOW.js";import{CloudCheckMiniIcon as xu}from"./chunk-ZV4FB43H.js";import{CloudCheckSolidIcon as vu}from"./chunk-EAI3RF4X.js";import{CloudDownloadMiniIcon as qu}from"./chunk-NFQTAYIZ.js";import{CloudDownloadSolidIcon as zu}from"./chunk-5ATA7ZH4.js";import{CloudMiniIcon as $u}from"./chunk-OZ7YWV63.js";import{ClockMiniIcon as _u}from"./chunk-J4FL4OCW.js";import{ClockSolidIcon as rh}from"./chunk-DORDAZGF.js";import{CloseCircleAltIcon as oh}from"./chunk-TQYPYM4F.js";import{CloseCircleMiniIcon as mh}from"./chunk-6AKTE47Z.js";import{CloseCircleSolidIcon as th}from"./chunk-MNJH3BVA.js";import{CloseMiniIcon as ch}from"./chunk-44CXUHIL.js";import{CloseSolidIcon as ih}from"./chunk-AHVWJJCK.js";import{CloudAlertMiniIcon as nh}from"./chunk-BXS2D2KK.js";import{CircleStackMiniIcon as sh}from"./chunk-AD7JPCLJ.js";import{CircleStackSolidIcon as ph}from"./chunk-OSFWNBI3.js";import{ClearMarksMiniIcon as uh}from"./chunk-DSFPJYO5.js";import{ClearMarksSolidIcon as hh}from"./chunk-S4WC23JS.js";import{ClipboardDocumentListMiniIcon as kh}from"./chunk-HGOWLHKZ.js";import{ClipboardDocumentListSolidIcon as fh}from"./chunk-7BPQPIJJ.js";import{ClipboardMiniIcon as eh}from"./chunk-IUUJEV6I.js";import{ClipboardSolidIcon as jh}from"./chunk-XS4PWQSN.js";import{ChevronLeftMiniIcon as ah}from"./chunk-EFP2VLXY.js";import{ChevronLeftSolidIcon as lh}from"./chunk-53JU3XAC.js";import{ChevronRightMiniIcon as dh}from"./chunk-7BLIJJRB.js";import{ChevronRightSolidIcon as bh}from"./chunk-PZVDRXTL.js";import{ChevronUpDownMiniIcon as Qh}from"./chunk-6USSSR3X.js";import{ChevronUpDownSolidIcon as Ch}from"./chunk-TGS7NZ4S.js";import{ChevronUpMiniIcon as Fh}from"./chunk-R7F2DMKZ.js";import{ChevronUpSolidIcon as Nh}from"./chunk-UGUQC2CY.js";import{CheckboxMiniIcon as Jh}from"./chunk-NBDXKLRS.js";import{CheckboxSolidIcon as Mh}from"./chunk-MP32KR6I.js";import{ChevronDoubleLeftMiniIcon as Kh}from"./chunk-HFZYDG4H.js";import{ChevronDoubleLeftSolidIcon as Rh}from"./chunk-ESYW3ZJ3.js";import{ChevronDoubleRightMiniIcon as Uh}from"./chunk-5KV4BIYG.js";import{ChevronDoubleRightSolidIcon as Dh}from"./chunk-2B2HGWZR.js";import{ChevronDownMiniIcon as Hh}from"./chunk-LRWOR3LD.js";import{ChevronDownSolidIcon as Ph}from"./chunk-5YPYINMS.js";import{ChatBubbleOvalLeftEllipsisSolidIcon as Xh}from"./chunk-5ONLEJND.js";import{ChatMiniIcon as Lh}from"./chunk-TZALPJLH.js";import{ChatSolidIcon as Zh}from"./chunk-WVWIQLSO.js";import{CheckAltIcon as Gh}from"./chunk-66B4UUBJ.js";import{CheckCircleMiniIcon as gh}from"./chunk-HW23QCM6.js";import{CheckCircleSolidIcon as Ah}from"./chunk-4AHAFRLQ.js";import{CheckMiniIcon as Wh}from"./chunk-PZVZQAT7.js";import{CheckSolidIcon as Eh}from"./chunk-CL3TM57T.js";import{ChartLineMiniIcon as Yh}from"./chunk-3AOH4Y5Q.js";import{ChartLineSolidIcon as Th}from"./chunk-H4D64QWB.js";import{ChartMiniIcon as Bh}from"./chunk-6MK2ZRMR.js";import{ChartSolidIcon as Ih}from"./chunk-WSGRNF7K.js";import{ChatAltIcon as Oh}from"./chunk-A5M37IYD.js";import{ChatBubbleLeftRightMiniIcon as Sh}from"./chunk-EMFPDUC5.js";import{ChatBubbleLeftRightSolidIcon as Vh}from"./chunk-FJCROBEY.js";import{ChatBubbleOvalLeftEllipsisMiniIcon as wh}from"./chunk-WKQDQ6PX.js";import{CaseNormalSolidIcon as yh}from"./chunk-EWO3CHRK.js";import{CaseSolidIcon as xh}from"./chunk-AJS6MGSR.js";import{CaseUpperMiniIcon as vh}from"./chunk-BTKR3L6T.js";import{CaseUpperSolidIcon as qh}from"./chunk-C6PK7DPK.js";import{ChartBarMiniIcon as zh}from"./chunk-PTAWGNOP.js";import{ChartBarSolidIcon as $h}from"./chunk-JKZBUZJL.js";import{ChartBarSquareMiniIcon as _h}from"./chunk-O4VLKJH6.js";import{ChartBarSquareSolidIcon as rk}from"./chunk-WMHMEL4M.js";import{CartMiniIcon as ok}from"./chunk-SQ3LMAD7.js";import{CartSolidIcon as mk}from"./chunk-5OB5G4ER.js";import{CaseCapitalizedMiniIcon as tk}from"./chunk-LGLWUWLG.js";import{CaseCapitalizedSolidIcon as ck}from"./chunk-COBVYQJ5.js";import{CaseLowerMiniIcon as ik}from"./chunk-6PBWS4U2.js";import{CaseLowerSolidIcon as nk}from"./chunk-BTWIDDUX.js";import{CaseMiniIcon as sk}from"./chunk-7NYUPAF2.js";import{CaseNormalMiniIcon as pk}from"./chunk-K553VJKG.js";import{CaptionSolidIcon as uk}from"./chunk-625GKS5W.js";import{CarMiniIcon as hk}from"./chunk-HZWDLCON.js";import{CarSolidIcon as kk}from"./chunk-SJAGP7O5.js";import{CardPaymentAlt2Icon as fk}from"./chunk-2ASZVLNP.js";import{CardPaymentAltIcon as ek}from"./chunk-DMALV6HL.js";import{CardPaymentMiniIcon as jk}from"./chunk-USDDEC5E.js";import{CardPaymentSolidIcon as ak}from"./chunk-VEWTFCLT.js";import{CartAltIcon as lk}from"./chunk-EBIWBHDT.js";import{CalculatorSolidIcon as dk}from"./chunk-VCJ4TFNW.js";import{CalendarAlt2Icon as bk}from"./chunk-7C6NKEWV.js";import{CalendarAltIcon as Qk}from"./chunk-JANKMZGF.js";import{CalendarMiniIcon as Ck}from"./chunk-KCE2CIH7.js";import{CalendarSolidIcon as Fk}from"./chunk-UM7ENABX.js";import{CameraMiniIcon as Nk}from"./chunk-JFKV3HGY.js";import{CameraSolidIcon as Jk}from"./chunk-CLKX4AYI.js";import{CaptionMiniIcon as Mk}from"./chunk-QAQ7AWOR.js";import{BuildingLibrarySolidIcon as Kk}from"./chunk-Z2AQ3XB3.js";import{BuildingOffice2MiniIcon as Rk}from"./chunk-TC7LOFWX.js";import{BuildingOffice2SolidIcon as Uk}from"./chunk-UC5NQ7J6.js";import{ButtonIconMiniIcon as Dk}from"./chunk-JT54HCG7.js";import{ButtonIconSolidIcon as Hk}from"./chunk-LQ2WXJLJ.js";import{ButtonMiniIcon as Pk}from"./chunk-I4AFC5T6.js";import{ButtonSolidIcon as Xk}from"./chunk-BQGZ5XPF.js";import{CalculatorMiniIcon as Lk}from"./chunk-A53BUHOH.js";import{BrandYoutubeSolidIcon as Zk}from"./chunk-UKC6VJE4.js";import{BreadcrumbMiniIcon as Gk}from"./chunk-SDECOPY3.js";import{BreadcrumbSolidIcon as gk}from"./chunk-KLAGP4GV.js";import{BriefcaseMiniIcon as Ak}from"./chunk-IRZBGVTB.js";import{BriefcaseSolidIcon as Wk}from"./chunk-XS4HBMDN.js";import{BugMiniIcon as Ek}from"./chunk-R2DAQH2T.js";import{BugSolidIcon as Yk}from"./chunk-YVLE5OZR.js";import{BuildingLibraryMiniIcon as Tk}from"./chunk-TH4CJHHG.js";import{BrandTiktokSolidIcon as Bk}from"./chunk-W5DLG5T2.js";import{BrandWechatOutlineIcon as Ik}from"./chunk-YKKMR5DU.js";import{BrandWechatSolidIcon as Ok}from"./chunk-474G67EG.js";import{BrandWhatsappOutlineIcon as Sk}from"./chunk-NFMDU4EJ.js";import{BrandWhatsappSolidIcon as Vk}from"./chunk-URWQO4KB.js";import{BrandXOutlineIcon as wk}from"./chunk-2UCDJCGZ.js";import{BrandXSolidIcon as yk}from"./chunk-FEVWWOGL.js";import{BrandYoutubeOutlineIcon as xk}from"./chunk-RBXMTHOT.js";import{BrandLineSolidIcon as vk}from"./chunk-CAUWHLN7.js";import{BrandLinkedinOutlineIcon as qk}from"./chunk-6I7EODFJ.js";import{BrandLinkedinSolidIcon as zk}from"./chunk-BXQYRG7P.js";import{BrandPinterestOutlineIcon as $k}from"./chunk-ROUTBYMG.js";import{BrandPinterestSolidIcon as _k}from"./chunk-FOXMWLVS.js";import{BrandTelegramOutlineIcon as rf}from"./chunk-YVULGIDQ.js";import{BrandTelegramSolidIcon as of}from"./chunk-NTWI7EGJ.js";import{BrandTiktokOutlineIcon as mf}from"./chunk-T3NJAOJL.js";import{BoxYStretchSolidIcon as tf}from"./chunk-3FGPFDDK.js";import{BracesMiniIcon as cf}from"./chunk-G5T4NYFR.js";import{BracesSolidIcon as nf}from"./chunk-AHTA7QXO.js";import{BrandFacebookOutlineIcon as sf}from"./chunk-5KZ4WKUI.js";import{BrandFacebookSolidIcon as pf}from"./chunk-OKRAYHGW.js";import{BrandInstagramOutlineIcon as uf}from"./chunk-MTZUYC4Y.js";import{BrandInstagramSolidIcon as hf}from"./chunk-LQD7K7HK.js";import{BrandLineOutlineIcon as kf}from"./chunk-EQPVQY5E.js";import{BoxYBetweenSolidIcon as ff}from"./chunk-UO6GQPT3.js";import{BoxYCenterMiniIcon as ef}from"./chunk-JNSMBHNH.js";import{BoxYCenterSolidIcon as jf}from"./chunk-W33HIHEP.js";import{BoxYEndMiniIcon as af}from"./chunk-IS6FC32P.js";import{BoxYEndSolidIcon as lf}from"./chunk-H62WUDPO.js";import{BoxYStartMiniIcon as df}from"./chunk-TSP7UFQB.js";import{BoxYStartSolidIcon as bf}from"./chunk-6LNNBA3T.js";import{BoxYStretchMiniIcon as Qf}from"./chunk-TQ2M7V4E.js";import{BoxXCenterSolidIcon as Cf}from"./chunk-HFAOJ4OJ.js";import{BoxXEndMiniIcon as Ff}from"./chunk-K5VNHEVL.js";import{BoxXEndSolidIcon as Nf}from"./chunk-FMHHOXML.js";import{BoxXStartMiniIcon as Jf}from"./chunk-NQJL6B67.js";import{BoxXStartSolidIcon as Mf}from"./chunk-T2FITGKQ.js";import{BoxXStretchMiniIcon as Kf}from"./chunk-GFYIVFX2.js";import{BoxXStretchSolidIcon as Rf}from"./chunk-NLUSV66Z.js";import{BoxYBetweenMiniIcon as Uf}from"./chunk-NO6DG2IV.js";import{BorderTopSolidIcon as Df}from"./chunk-G3OIMKEO.js";import{BoxItemAlignmentMiniIcon as Hf}from"./chunk-O3UL2XW5.js";import{BoxItemAlignmentSolidIcon as Pf}from"./chunk-E5G2RURY.js";import{BoxJustifyMiniIcon as Xf}from"./chunk-QRTRKWCZ.js";import{BoxJustifySolidIcon as Lf}from"./chunk-S5IAQ7ZS.js";import{BoxXBetweenMiniIcon as Zf}from"./chunk-ESDSE6HY.js";import{BoxXBetweenSolidIcon as Gf}from"./chunk-6CBF7UQ2.js";import{BoxXCenterMiniIcon as gf}from"./chunk-GZ7XQBCG.js";import{BorderAllSolidIcon as Af}from"./chunk-BVZSNZO2.js";import{BorderBottomMiniIcon as Wf}from"./chunk-UNETPVQD.js";import{BorderBottomSolidIcon as Ef}from"./chunk-EQJFKRK5.js";import{BorderLeftMiniIcon as Yf}from"./chunk-GWXTRUSZ.js";import{BorderLeftSolidIcon as Tf}from"./chunk-BLTHZSWG.js";import{BorderRightMiniIcon as Bf}from"./chunk-6KGMGZHE.js";import{BorderRightSolidIcon as If}from"./chunk-U7Y6VI2V.js";import{BorderTopMiniIcon as Of}from"./chunk-SJ23KTCO.js";import{BoltSolidIcon as Sf}from"./chunk-RLUX7UZ3.js";import{BookOpenMiniIcon as Vf}from"./chunk-MDEYAVX5.js";import{BookOpenSolidIcon as wf}from"./chunk-KNIHHEZ6.js";import{BookmarkMiniIcon as yf}from"./chunk-PJZ4TOFR.js";import{BookmarkSolidIcon as xf}from"./chunk-GVSGP4P3.js";import{BookmarkSquareMiniIcon as vf}from"./chunk-YH4GOPT3.js";import{BookmarkSquareSolidIcon as qf}from"./chunk-ERKFGC5C.js";import{BorderAllMiniIcon as zf}from"./chunk-QKEJNJSJ.js";import{BlockTextSolidIcon as $f}from"./chunk-IADBERII.js";import{BlockVideoMiniIcon as _f}from"./chunk-ZMYTKXYP.js";import{BlockVideoSolidIcon as re}from"./chunk-X6IMHWDH.js";import{BlogPostMiniIcon as oe}from"./chunk-D2VXCCQV.js";import{BlogPostSolidIcon as me}from"./chunk-ADILLUBC.js";import{BoldMiniIcon as te}from"./chunk-OZIHC6LT.js";import{BoldSolidIcon as ce}from"./chunk-JTECQPFZ.js";import{BoltMiniIcon as ie}from"./chunk-WD2PAOXY.js";import{BlockLayeredImagesSolidIcon as ne}from"./chunk-KW7DKURL.js";import{BlockProductTitleMiniIcon as se}from"./chunk-5C56H7RM.js";import{BlockProductTitleSolidIcon as pe}from"./chunk-VK4OK5MQ.js";import{BlockSectionMiniIcon as ue}from"./chunk-OONUEZIW.js";import{BlockSectionSolidIcon as he}from"./chunk-5L3MHRXQ.js";import{BlockSpacerMiniIcon as ke}from"./chunk-S2PKAWDA.js";import{BlockSpacerSolidIcon as fe}from"./chunk-K6ZY2PQV.js";import{BlockTextMiniIcon as ee}from"./chunk-7YJ6QRFY.js";import{BlockCouponSolidIcon as je}from"./chunk-LBJQOR7U.js";import{BlockDividerMiniIcon as ae}from"./chunk-ZMON54V2.js";import{BlockDividerSolidIcon as le}from"./chunk-6PAEECEY.js";import{BlockFooterMiniIcon as de}from"./chunk-7WLRGQU2.js";import{BlockFooterSolidIcon as be}from"./chunk-KN6Z3QSE.js";import{BlockHeadingMiniIcon as Qe}from"./chunk-KHSTQGAQ.js";import{BlockHeadingSolidIcon as Ce}from"./chunk-6OPE4Z6S.js";import{BlockLayeredImagesMiniIcon as Fe}from"./chunk-G2KSTEIR.js";import{BlackAndWhiteSolidIcon as Ne}from"./chunk-OOCJAWJB.js";import{BlockBadgeMiniIcon as Je}from"./chunk-TNM6UGRR.js";import{BlockBadgeSolidIcon as Me}from"./chunk-CDXABHGL.js";import{BlockBannerMiniIcon as Ke}from"./chunk-H2FH3U4E.js";import{BlockBannerSolidIcon as Re}from"./chunk-GIU6VXJB.js";import{BlockBoxMiniIcon as Ue}from"./chunk-DIM5ZZ5Y.js";import{BlockBoxSolidIcon as De}from"./chunk-3RVAJR6Y.js";import{BlockCouponMiniIcon as He}from"./chunk-JZEQTZRG.js";import{BellAltIcon as Pe}from"./chunk-FXTYVMSO.js";import{BellMiniIcon as Xe}from"./chunk-VZSPQOIL.js";import{BellPlusMiniIcon as Le}from"./chunk-7FKABCZX.js";import{BellPlusSolidIcon as Ze}from"./chunk-TNMTBNFE.js";import{BellSolidIcon as Ge}from"./chunk-D5KZHQUQ.js";import{BillingMiniIcon as ge}from"./chunk-NMZH7XRX.js";import{BillingSolidIcon as Ae}from"./chunk-GIDCFJFJ.js";import{BlackAndWhiteMiniIcon as We}from"./chunk-LHKI2VJW.js";import{Bars3BottomLeftMiniIcon as Ee}from"./chunk-YIURRPQ7.js";import{Bars3BottomLeftSolidIcon as Ye}from"./chunk-UO5KVL7C.js";import{BatteryMiniIcon as Te}from"./chunk-M4PBEZVP.js";import{BatterySolidIcon as Be}from"./chunk-L2NH35JL.js";import{BeakerMiniIcon as Ie}from"./chunk-Y4HNZVNW.js";import{BeakerSolidIcon as Oe}from"./chunk-XAYE2WUP.js";import{BellAlertMiniIcon as Se}from"./chunk-YS5B33PA.js";import{BellAlertSolidIcon as Ve}from"./chunk-NQ74ZNNG.js";import{AtSymbolSolidIcon as we}from"./chunk-UYZAW4XK.js";import{AttachAltIcon as ye}from"./chunk-7AUFUC7S.js";import{AttachMiniIcon as xe}from"./chunk-3ZCQPEQB.js";import{AttachSolidIcon as ve}from"./chunk-F3HV52IQ.js";import{BackgroundMiniIcon as qe}from"./chunk-GJLJDWP2.js";import{BackgroundSolidIcon as ze}from"./chunk-E25DJCZX.js";import{BagMiniIcon as $e}from"./chunk-3UXCHN2Y.js";import{BagSolidIcon as _e}from"./chunk-B64SQUAI.js";import{ArrowTrendingDownSolidIcon as rj}from"./chunk-KQHNX5WQ.js";import{ArrowTrendingUpMiniIcon as oj}from"./chunk-C7PJ2BFZ.js";import{ArrowTrendingUpSolidIcon as mj}from"./chunk-WRVHXP72.js";import{ArrowUpMiniIcon as tj}from"./chunk-NPMGJBVE.js";import{ArrowUpRightMiniIcon as cj}from"./chunk-DCQS3CY7.js";import{ArrowUpRightSolidIcon as ij}from"./chunk-SANX3GBB.js";import{ArrowUpSolidIcon as nj}from"./chunk-OOXD67PN.js";import{AtSymbolMiniIcon as sj}from"./chunk-MM4WJHXO.js";import{ArrowLeftEndOnRectangleSolidIcon as pj}from"./chunk-H3CZUUUV.js";import{ArrowLeftMiniIcon as uj}from"./chunk-XK2TKHHU.js";import{ArrowLeftSolidIcon as hj}from"./chunk-XQFFEQNA.js";import{ArrowLongRightMiniIcon as kj}from"./chunk-WDNMERJD.js";import{ArrowLongRightSolidIcon as fj}from"./chunk-2LCAJKJM.js";import{ArrowRightMiniIcon as ej}from"./chunk-L5VJEUNL.js";import{ArrowRightSolidIcon as jj}from"./chunk-QEXKJWAA.js";import{ArrowTrendingDownMiniIcon as aj}from"./chunk-IW3H2NIS.js";import{AnimationSolidIcon as lj}from"./chunk-RLY6QGCY.js";import{AppsMiniIcon as dj}from"./chunk-C5FRN2MO.js";import{AppsSolidIcon as bj}from"./chunk-KKBQRMEQ.js";import{ArchiveBoxMiniIcon as Qj}from"./chunk-CVWRL3SR.js";import{ArchiveBoxSolidIcon as Cj}from"./chunk-DSRZ22NW.js";import{ArrowDownMiniIcon as Fj}from"./chunk-UEETKW2R.js";import{ArrowDownSolidIcon as Nj}from"./chunk-BUA6AISP.js";import{ArrowLeftEndOnRectangleMiniIcon as Jj}from"./chunk-6SGFZZNU.js";import{AlignRightSolidIcon as Mj}from"./chunk-DP7WVTGQ.js";import{AlignSeparateMiniIcon as Kj}from"./chunk-LSSZLU65.js";import{AlignSeparateSolidIcon as Rj}from"./chunk-MKS6YLYR.js";import{AlignmentMiniIcon as Uj}from"./chunk-GCR66E4S.js";import{AlignmentSolidIcon as Dj}from"./chunk-3LG5YFCK.js";import{AnchorMiniIcon as Hj}from"./chunk-ZRPTWML6.js";import{AnchorSolidIcon as Pj}from"./chunk-SRX7THEC.js";import{AnimationMiniIcon as Xj}from"./chunk-4ZI75XUP.js";import{AdjustSolidIcon as Lj}from"./chunk-FFTCTT6J.js";import{AlignCenterMiniIcon as Zj}from"./chunk-CJWPYYJZ.js";import{AlignCenterSolidIcon as Gj}from"./chunk-7U6KJNZ2.js";import{AlignJustifyMiniIcon as gj}from"./chunk-UI2XKCNM.js";import{AlignJustifySolidIcon as Aj}from"./chunk-IQAFZJO5.js";import{AlignLeftMiniIcon as Wj}from"./chunk-DOBDKX3N.js";import{AlignLeftSolidIcon as Ej}from"./chunk-UBS44QNF.js";import{AlignRightMiniIcon as Yj}from"./chunk-JHTRFNOJ.js";import{AccountUserCircleIcon as Tj}from"./chunk-3OIQSCGM.js";import{AddCircleMiniIcon as Bj}from"./chunk-DFAIY54I.js";import{AddCircleSolidIcon as Ij}from"./chunk-DTLKYF45.js";import{AddMiniIcon as Oj}from"./chunk-PMAX5YW2.js";import{AddPersonMiniIcon as Sj}from"./chunk-77USZ3CH.js";import{AddPersonSolidIcon as Vj}from"./chunk-EJ7CUJUL.js";import{AddSolidIcon as wj}from"./chunk-SSYXGVCW.js";import{AdjustMiniIcon as yj}from"./chunk-MUUIDQKX.js";import{AcademicCapSolidIcon as xj}from"./chunk-4XM7JDQT.js";import{AccentMiniIcon as vj}from"./chunk-FA6U6ZML.js";import{AccentSolidIcon as qj}from"./chunk-ZTN72H54.js";import{AccountAltIcon as zj}from"./chunk-EYBN5UBA.js";import{AccountCircleMiniIcon as $j}from"./chunk-ONJKQ4F4.js";import{AccountCircleSolidIcon as _j}from"./chunk-PMP4MCXR.js";import{AccountMiniIcon as ra}from"./chunk-VHGJTJ5C.js";import{AccountSolidIcon as oa}from"./chunk-LMF4FIGQ.js";import{AcademicCapMiniIcon as ma}from"./chunk-JSGNZTYP.js";var ta=["alt","alt-2","alt-3","arrow-path-rounded-square","building-storefront-20-solid","document","mini","outline","pencil-square","queue-list","rectangle-stack","solid","user-circle","user-group"],ca={name:"efficient",label:"Efficient",icons:{},looks:{alt:{account:zj,attach:ye,bell:Pe,"block-image":un,"block-included-list":fi,calendar:Qk,"calendar-check":Qk,"card-payment":ek,cart:lk,category:bs,chat:Oh,check:Gh,"close-circle":oh,copy:eu,dashboard:ns,desktop:Ap,document:Pp,"document-check":Xp,dollar:Jp,download:fp,drag:ap,duplicate:cp,edit:hp,email:$s,external:xs,flag:Xs,folder:bs,globe:ts,grid:ns,image:un,inbox:_i,info:mn,layers:yi,layout:zi,list:fi,lock:ni,map:_c,page:St,"paint-brush":Tr,phone:bt,play:ut,"rectangle-group":zi,refresh:Lm,rename:hp,scale:lm,"scroll-text":Pp,search:nm,send:fm,sort:lo,sparkles:io,star:ro,styles:Tr,tag:ur,target:fr,title:Xs,trash:$,truck:Y,wheel:fr},"alt-2":{"block-included-list":Ri,calendar:bk,"calendar-check":bk,"card-payment":fk,copy:Du,document:Hp,edit:up,external:ys,list:Ri,rename:up,"scroll-text":Hp,search:Fm,send:km,sparkles:to,trash:z},"alt-3":{"block-included-list":Ui,list:Ui,sparkles:co},"arrow-path-rounded-square":{refresh:Zm},"building-storefront-20-solid":{store:gr},document:{document:Gp,"scroll-text":Gp},mini:{"academic-cap":ma,accent:vj,account:ra,"account-circle":$j,add:Oj,"add-circle":Bj,"add-person":Sj,adjust:yj,"align-center":Zj,"align-justify":gj,"align-left":Wj,"align-right":Yj,"align-separate":Kj,alignment:Uj,anchor:Hj,animation:Xj,apps:dj,"archive-box":Qj,arrow:ej,"arrow-down":Fj,"arrow-left":uj,"arrow-left-end-on-rectangle":Jj,"arrow-long-right":kj,"arrow-right":ej,"arrow-trending-down":aj,"arrow-trending-up":oj,"arrow-up":tj,"arrow-up-right":cj,"at-symbol":sj,attach:xe,background:qe,bag:$e,bank:Tk,"bars-3-bottom-left":Ee,battery:Te,beaker:Ie,bell:Xe,"bell-alert":Se,"bell-plus":Le,billing:ge,"black-and-white":We,"block-badge":Je,"block-banner":Ke,"block-box":Ue,"block-button":Pk,"block-column":Gu,"block-coupon":He,"block-divider":ae,"block-footer":de,"block-heading":Qe,"block-image":hn,"block-included-list":ai,"block-layered-images":Fe,"block-product":nt,"block-product-title":se,"block-section":ue,"block-social":zo,"block-spacer":ke,"block-text":ee,"block-video":_f,"blog-post":oe,bold:te,bolt:ie,"book-open":Vf,bookmark:yf,"bookmark-square":vf,"border-all":zf,"border-bottom":Wf,"border-left":Yf,"border-right":Bf,"border-top":Of,"box-item-alignment":Hf,"box-justify":Xf,"box-x-between":Zf,"box-x-center":gf,"box-x-end":Ff,"box-x-start":Jf,"box-x-stretch":Kf,"box-y-between":Uf,"box-y-center":ef,"box-y-end":af,"box-y-start":df,"box-y-stretch":Qf,braces:cf,breadcrumb:Gk,briefcase:Ak,bug:Ek,"bug-ant":Ek,"building-library":Tk,"building-office-2":Rk,button:Pk,"button-arrow":ej,"button-icon":Dk,calculator:Lk,calendar:Ck,"calendar-check":Ck,camera:Nk,caption:Mk,car:hk,"card-payment":jk,caret:Hh,cart:ok,case:sk,"case-capitalized":tk,"case-lower":ik,"case-normal":pk,"case-upper":vh,category:Qs,chart:Bh,"chart-bar":zh,"chart-bar-square":_h,"chart-line":Yh,chat:Lh,"chat-bubble-left-right":Sh,"chat-bubble-oval-left-ellipsis":wh,check:Wh,"check-circle":gh,checkbox:Jh,chevron:Hh,"chevron-double":Uh,"chevron-double-left":Kh,"chevron-double-right":Uh,"chevron-down":Hh,"chevron-left":ah,"chevron-right":dh,"chevron-up":Fh,"chevron-up-down":Qh,"circle-stack":sh,"clear-marks":uh,clipboard:eh,"clipboard-check":Ru,"clipboard-document-list":kh,"clipboard-list":kh,clock:_u,close:ch,"close-circle":mh,cloud:$u,"cloud-alert":nh,"cloud-arrow-up":wu,"cloud-check":xu,"cloud-download":qu,"cloud-pause":Wu,"cloud-slash":Yu,code:Iu,"code-bracket":Iu,collapse:Su,"collapse-all":Su,"column-gap":Pu,"column-widths":Lu,columns:Gu,company:Au,compose:Nu,contrast:Mu,cookie:sh,copied:Ru,copy:ju,"copy-style":lu,"copy-to-page":bu,corner:Cu,"count-up":nu,crop:$p,"crop-bottom":pu,"crop-left":hu,"crop-left-right":ku,"crop-right":_p,"crop-top":mu,"crop-y":cu,"cube-transparent":Sp,cursor:xp,"cursor-arrow-rays":wp,"cursor-click":wp,dashboard:ss,date:qp,desktop:Wp,detach:Yp,diagram:Bp,direction:Up,"direction-down":Fj,"direction-left":uj,"direction-right":ej,"direction-up":tj,document:Fp,"document-check":Lp,"document-magnifying-glass":Qp,dollar:Mp,dot:Rp,download:ep,drag:lp,drop:bp,duplicate:ip,duration:sp,edit:vs,email:_s,enter:op,eraser:Bs,error:Os,expand:Vs,external:Zs,eye:gs,"eye-off":As,"face-smile":Ys,filter:Ks,finish:Us,fire:Hs,flag:Ls,folder:Qs,"folder-open":Cs,"folder-plus":Ns,forward:us,"full-width":ks,gap:es,gem:as,gift:os,globe:cs,grid:ss,ground:yn,hand:vn,"hand-thumb-up":zn,hash:_n,headquarters:Yn,heart:Bn,height:On,help:Vn,"help-off":wn,hexagon:Zn,home:gn,hover:Jn,"hover-lift":Wn,"hover-next-image":Mn,"hover-none":Rn,"hover-rotate":Dn,"hover-zoom":an,"icon-after-text":dn,"icon-at-end":Qn,"icon-before-text":Fn,identification:sn,image:hn,"image-off":kn,images:jn,inbox:rn,info:tn,italic:nn,key:Vi,layers:xi,layout:Ai,"letter-spacing":Ei,lightbulb:Ti,"line-between":Ii,"line-dashed":Di,"line-dotted":Pi,"line-solid":Li,"line-spacing":Gi,"line-style":Ci,link:Ni,"link-slash":Ji,list:ai,"list-format":ei,"list-none":li,location:ci,lock:si,logo:ui,logout:ki,loop:zc,map:ri,media:xc,"media-layout-big-two":mi,"media-layout-inset":Ic,"media-layout-side-by-side":Sc,"media-layout-stacked":wc,megaphone:Gc,menu:Ac,meta:Ec,microphone:Tc,money:Rc,moon:Dc,more:Pc,"more-vertical":Lc,"move-down":Fj,"move-up":tj,newspaper:oe,"no-symbol":bc,note:Cc,nudge:Nc,"nudge-x":Mc,"nudge-y":hc,"numbered-list":fc,opacity:jc,"own-text":lc,package:mc,"package-open":tc,"padding-all":nc,"padding-bottom":pc,"padding-left":xt,"padding-left-right":vt,"padding-right":$t,"padding-top":rc,"padding-x":Tt,"padding-y":It,page:Vt,"paint-brush":Kr,palette:yt,"panel-left":Zt,"panel-right":gt,"paragraph-spacing":Wt,parcel:mc,paste:eh,"paste-style":Yt,pause:Kt,pen:Ut,people:Ht,percent:lt,phone:Ft,"phone-hidden":Qt,placement:Jt,play:ht,"plus-minus":ft,power:jt,"presentation-chart-bar":rt,print:mt,product:nt,"product-field":ct,"product-size":st,progress:xm,quote:qm,"radio-dot":$m,radius:Em,receipt:Tm,"receipt-percent":Bm,"receipt-refund":Om,"rectangle-group":Ai,redo:Pm,refresh:Gm,remove:Am,"remove-circle":Am,rename:vs,reply:Mm,"reply-all":Nm,revert:Rm,robot:Dm,rotate:jm,scale:dm,"scroll-point":Qm,"scroll-text":Fp,search:sm,"select-all":um,send:em,"separator-slash":_o,"separator-triangle":om,server:tm,settings:im,shadow:Vo,"shape-ellipse":yo,"shape-rect":vo,share:zo,shared:Wo,"shield-check":Yo,"shield-exclamation":Bo,"sides-each":Oo,signal:Ho,"signal-slash":Po,sitemap:Zo,"slide-arrows-bare":dh,"slide-arrows-round":go,"slide-arrows-square":Fo,"slide-picker-bar":Jo,"slide-picker-cards":Ko,"slide-picker-dots":Uo,"slide-picker-numbers":fo,"slide-picker-squares":jo,sort:bo,sparkles:no,speaker:po,"speaker-wave":po,"spec-table":ho,split:qr,square:$r,star:oo,state:Br,"status-circle":Or,"status-dot":Vr,sticky:yr,"stop-circle":Zr,store:Ar,strike:Er,styles:Kr,subscript:Ur,"success-burst":M,sun:Hr,superscript:Xr,swap:dr,swatch:Us,table:Qr,tablet:Fr,tabs:Jr,tag:hr,target:er,team:ar,telephone:or,template:yf,"text-color":tr,"text-lines":Ee,"text-size":ir,"text-small":sr,"text-value":y,texture:v,theme:Us,ticket:He,title:Ls,trash:_,trigger:ie,truck:T,tv:I,type:S,tyre:w,underline:L,undo:G,upload:A,"v-align":E,verified:M,"video-off":R,"view-columns":D,wallet:P,warning:l,weight:b,wheel:er,widgets:C,width:N,window:p,windows:h,"words-from":f,wrap:j,wrench:o,"wrench-screwdriver":m,"zoom-in":i},outline:{"brand-facebook":sf,"brand-instagram":uf,"brand-line":kf,"brand-linkedin":qk,"brand-pinterest":$k,"brand-telegram":rf,"brand-tiktok":mf,"brand-wechat":Ik,"brand-whatsapp":Sk,"brand-x":wk,"brand-youtube":xk},"pencil-square":{edit:qs,rename:qs},"queue-list":{"block-included-list":bi,list:bi},"rectangle-stack":{layers:vi},solid:{"academic-cap":xj,accent:qj,account:oa,"account-circle":_j,add:wj,"add-circle":Ij,"add-person":Vj,adjust:Lj,"align-center":Gj,"align-justify":Aj,"align-left":Ej,"align-right":Mj,"align-separate":Rj,alignment:Dj,anchor:Pj,animation:lj,apps:bj,"archive-box":Cj,arrow:jj,"arrow-down":Nj,"arrow-left":hj,"arrow-left-end-on-rectangle":pj,"arrow-long-right":fj,"arrow-right":jj,"arrow-trending-down":rj,"arrow-trending-up":mj,"arrow-up":nj,"arrow-up-right":ij,"at-symbol":we,attach:ve,background:ze,bag:_e,bank:Kk,"bars-3-bottom-left":Ye,battery:Be,beaker:Oe,bell:Ge,"bell-alert":Ve,"bell-plus":Ze,billing:Ae,"black-and-white":Ne,"block-badge":Me,"block-banner":Re,"block-box":De,"block-button":Xk,"block-column":gu,"block-coupon":je,"block-divider":le,"block-footer":be,"block-heading":Ce,"block-image":en,"block-included-list":Qi,"block-layered-images":ne,"block-product":ym,"block-product-title":pe,"block-section":he,"block-social":Ao,"block-spacer":fe,"block-text":$f,"block-video":re,"blog-post":me,bold:ce,bolt:Sf,"book-open":wf,bookmark:xf,"bookmark-square":qf,"border-all":Af,"border-bottom":Ef,"border-left":Tf,"border-right":If,"border-top":Df,"box-item-alignment":Pf,"box-justify":Lf,"box-x-between":Gf,"box-x-center":Cf,"box-x-end":Nf,"box-x-start":Mf,"box-x-stretch":Rf,"box-y-between":ff,"box-y-center":jf,"box-y-end":lf,"box-y-start":bf,"box-y-stretch":tf,braces:nf,breadcrumb:gk,briefcase:Wk,bug:Yk,"bug-ant":Yk,"building-library":Kk,"building-office-2":Uk,button:Xk,"button-arrow":jj,"button-icon":Hk,calculator:dk,calendar:Fk,"calendar-check":Fk,camera:Jk,caption:uk,car:kk,"card-payment":ak,caret:Ph,cart:mk,case:xh,"case-capitalized":ck,"case-lower":nk,"case-normal":yh,"case-upper":qh,category:Ms,chart:Ih,"chart-bar":$h,"chart-bar-square":rk,"chart-line":Th,chat:Zh,"chat-bubble-left-right":Vh,"chat-bubble-oval-left-ellipsis":Xh,check:Eh,"check-circle":Ah,checkbox:Mh,chevron:Ph,"chevron-double":Dh,"chevron-double-left":Rh,"chevron-double-right":Dh,"chevron-down":Ph,"chevron-left":lh,"chevron-right":bh,"chevron-up":Nh,"chevron-up-down":Ch,"circle-stack":ph,"clear-marks":hh,clipboard:jh,"clipboard-check":Uu,"clipboard-document-list":fh,"clipboard-list":fh,clock:rh,close:ih,"close-circle":th,cloud:Bu,"cloud-alert":Vu,"cloud-arrow-up":yu,"cloud-check":vu,"cloud-download":zu,"cloud-pause":Eu,"cloud-slash":Tu,code:Ou,"code-bracket":Ou,collapse:Hu,"collapse-all":Hu,"column-gap":Xu,"column-widths":Zu,columns:gu,company:Fu,compose:Ju,contrast:Ku,cookie:ph,copied:Uu,copy:au,"copy-style":du,"copy-to-page":Qu,corner:iu,"count-up":su,crop:ou,"crop-bottom":uu,"crop-left":zp,"crop-left-right":fu,"crop-right":ru,"crop-top":tu,"crop-y":Op,"cube-transparent":Vp,cursor:vp,"cursor-arrow-rays":yp,"cursor-click":yp,dashboard:ps,date:gp,desktop:Ep,detach:Tp,diagram:Ip,direction:Dp,"direction-down":Nj,"direction-left":hj,"direction-right":jj,"direction-up":nj,document:Np,"document-check":Zp,"document-magnifying-glass":Cp,dollar:Kp,dot:kp,download:jp,drag:dp,drop:tp,duplicate:np,duration:pp,edit:zs,email:rp,enter:mp,eraser:Is,error:Ss,expand:ws,external:Gs,eye:Es,"eye-off":Ws,"face-smile":Ts,filter:Rs,finish:Ds,fire:Ps,flag:ds,folder:Ms,"folder-open":Fs,"folder-plus":Js,forward:hs,"full-width":fs,gap:js,gem:ls,gift:ms,globe:is,grid:ps,ground:xn,hand:qn,"hand-thumb-up":$n,hash:rs,headquarters:Tn,heart:In,height:Sn,help:Ln,"help-off":Xn,hexagon:Gn,home:An,hover:Pn,"hover-lift":En,"hover-next-image":Kn,"hover-none":Un,"hover-rotate":Hn,"hover-zoom":ln,"icon-after-text":bn,"icon-at-end":Cn,"icon-before-text":Nn,identification:pn,image:en,"image-off":fn,images:$i,inbox:on,info:cn,italic:Si,key:wi,layers:qi,layout:Wi,"letter-spacing":Yi,lightbulb:Bi,"line-between":Oi,"line-dashed":Hi,"line-dotted":Xi,"line-solid":Zi,"line-spacing":gi,"line-style":Fi,link:Ki,"link-slash":Mi,list:Qi,"list-format":ji,"list-none":di,location:ii,lock:pi,logo:hi,logout:qc,loop:$c,map:oi,media:vc,"media-layout-big-two":ti,"media-layout-inset":Oc,"media-layout-side-by-side":Vc,"media-layout-stacked":yc,megaphone:gc,menu:Wc,meta:Yc,microphone:Bc,money:Uc,moon:Hc,more:Xc,"more-vertical":Zc,"move-down":Nj,"move-up":nj,newspaper:me,"no-symbol":Qc,note:Fc,nudge:Jc,"nudge-x":Kc,"nudge-y":kc,"numbered-list":ec,opacity:ac,"own-text":dc,package:ic,"package-open":cc,"padding-all":sc,"padding-bottom":uc,"padding-left":zt,"padding-left-right":qt,"padding-right":_t,"padding-top":oc,"padding-x":Bt,"padding-y":Ot,page:wt,"paint-brush":Rr,palette:Lt,"panel-left":Gt,"panel-right":At,"paragraph-spacing":Et,parcel:ic,paste:jh,"paste-style":Mt,pause:Rt,pen:Dt,people:Pt,percent:dt,phone:Nt,"phone-hidden":Ct,placement:pt,play:kt,"plus-minus":et,power:at,"presentation-chart-bar":ot,print:tt,product:ym,"product-field":it,"product-size":wm,progress:vm,quote:zm,"radio-dot":_m,radius:Ym,receipt:Vm,"receipt-percent":Im,"receipt-refund":Sm,"rectangle-group":Wi,redo:Xm,refresh:gm,remove:Wm,"remove-circle":Wm,rename:zs,reply:Km,"reply-all":Jm,revert:Um,robot:Hm,rotate:am,scale:bm,"scroll-point":Cm,"scroll-text":Np,search:pm,"select-all":hm,send:$o,"separator-slash":rm,"separator-triangle":mm,server:cm,settings:So,shadow:wo,"shape-ellipse":xo,"shape-rect":qo,share:Ao,shared:Eo,"shield-check":To,"shield-exclamation":Io,"sides-each":Do,signal:Lo,"signal-slash":Xo,sitemap:Go,"slide-arrows-bare":bh,"slide-arrows-round":Co,"slide-arrows-square":No,"slide-picker-bar":Mo,"slide-picker-cards":Ro,"slide-picker-dots":ko,"slide-picker-numbers":eo,"slide-picker-squares":ao,sort:Qo,sparkles:so,speaker:uo,"speaker-wave":uo,"spec-table":vr,split:zr,square:_r,star:mo,state:Ir,"status-circle":Sr,"status-dot":wr,sticky:xr,"stop-circle":Gr,store:Wr,strike:Yr,styles:Rr,subscript:Dr,"success-burst":K,sun:Pr,superscript:Lr,swap:br,swatch:Ds,table:Cr,tablet:Nr,tabs:Mr,tag:kr,target:jr,team:lr,telephone:mr,template:xf,"text-color":cr,"text-lines":Ye,"text-size":nr,"text-small":pr,"text-value":x,texture:q,theme:Ds,ticket:je,title:ds,trash:rr,trigger:Sf,truck:B,tv:O,type:V,tyre:X,underline:Z,undo:g,upload:W,"v-align":J,verified:K,"video-off":U,"view-columns":H,wallet:a,warning:d,weight:Q,wheel:jr,widgets:F,width:s,window:u,windows:k,"words-from":e,wrap:r,wrench:c,"wrench-screwdriver":t,"zoom-in":n,"brand-facebook":pf,"brand-instagram":hf,"brand-line":vk,"brand-linkedin":zk,"brand-pinterest":_k,"brand-telegram":of,"brand-tiktok":Bk,"brand-wechat":Ok,"brand-whatsapp":Vk,"brand-x":yk,"brand-youtube":Zk},"user-circle":{account:Tj},"user-group":{people:Xt}}};export{ta as efficientLookNames,ca as efficientLooks};
@@ -1,9 +0,0 @@
1
- import{Calendar as e}from"./chunk-ONYPN3JY.js";import{fromDateKey as t,toDateKey as r}from"./chunk-2HMNOLKX.js";import{inputClasses as a,PLACEHOLDER_INK as n}from"./chunk-AYZY3YNC.js";import{calendarNames as i}from"./chunk-Y3JW2GW5.js";import{Icon as o}from"./chunk-MRFNJZRR.js";import{onOverlayOpen as l}from"./chunk-PGN5ME7B.js";import{Z_LAYERS as s}from"./chunk-62LW225J.js";import{useDropdownPosition as d}from"./chunk-GLUJS42B.js";import{useBrowserLayoutEffect as u}from"./chunk-D65T4H6J.js";import{registerModalEscapeInterceptor as c}from"./chunk-TWVUQUUD.js";import{useShellStrings as m,useShellLocale as b}from"./chunk-43MCNASD.js";import{forwardRef as f,useState as p,useRef as h,useId as v,useEffect as g}from"react";import{createPortal as y}from"react-dom";import{jsx as N,jsxs as x}from"react/jsx-runtime";var k=/^\d{4}-\d{2}-\d{2}$/,j=/^(aria|data)-/,w=/* @__PURE__ */new Set(["aria-invalid","aria-required"]);function D(e){if(null==e||""===e)return"";if(e instanceof Date)return Number.isNaN(e.getTime())?"":r(e);if(k.test(e))return e;const t=new Date(e);return Number.isNaN(t.getTime())?"":r(t)}function F(e,r){const a=t(e);return a?r.longDate(a.getFullYear(),a.getMonth(),a.getDate()):""}var C=f(function({value:f,onChange:k,min:C,max:W,invalid:Y,size:B,native:J,weekStartsOn:O,className:S="","aria-label":$,"aria-describedby":q,"aria-labelledby":E,id:L,name:M,disabled:z,placeholder:I,required:R,clearable:T,form:U,title:G,tabIndex:P,autoFocus:A,onFocus:H,onBlur:Z,...K},Q){const V=T??!R,X=D(f),_=D(C),ee=D(W),te=m().datePicker,re=b(),ae=i(re),[ne,ie]=p(!1),oe=h(null),le=h(null),se=h(null),de=v(),ue=v(),ce=v(),me=d(le,ne,{popupRef:se}),[be,fe]=p(!1);u(()=>{const e=!!L&&(le.current?.labels?.length??0)>0;e!==be&&fe(e)});const pe=!$&&(!!E||be);if(g(()=>{if(!ne)return;const e=e=>{const t=e.target;oe.current?.contains(t)||se.current?.contains(t)||ie(!1)};document.addEventListener("pointerdown",e,!0);const t=l(()=>ie(!1));return()=>{document.removeEventListener("pointerdown",e,!0),t()}},[ne]),g(()=>{if(ne)return c(e=>"Escape"===e.key&&(ie(!1),le.current?.focus(),!0),()=>se.current)},[ne]),J)/* @__PURE__ */
2
- return N("input",{ref:Q,type:"date",lang:re,id:L,name:M,disabled:z,"aria-label":$,"aria-describedby":q,"aria-invalid":Y||void 0,value:X,min:_||void 0,max:ee||void 0,onChange:e=>k?.(t(e.target.value)),className:a({invalid:Y,size:B,className:S}),"aria-labelledby":E,required:R,form:U,title:G,tabIndex:P,autoFocus:A,onFocus:H,onBlur:Z,...K});const he=Object.fromEntries(Object.entries(K).filter(([e])=>j.test(e)&&!w.has(e))),ve=K["aria-required"],ge=!!R||!0===ve||"true"===ve,ye=[pe?ue:void 0,ge?ce:void 0,q].filter(Boolean).join(" ")||void 0,Ne=r(/* @__PURE__ */new Date),xe=(!_||Ne>=_)&&(!ee||Ne<=ee),ke=I??te.placeholder;/* @__PURE__ */
3
- return x("div",{ref:oe,className:"relative",children:[
4
- /* @__PURE__ */N("input",{ref:Q,type:"hidden",name:M,form:U,value:X}),
5
- /* @__PURE__ */x("button",{ref:le,type:"button",...he,id:L,disabled:z,title:G,tabIndex:P,autoFocus:A,onFocus:H,onBlur:Z,"aria-haspopup":"dialog","aria-expanded":ne,"aria-controls":ne?de:void 0,"aria-labelledby":E,"aria-describedby":ye,"aria-label":$?`${$}${X?`, ${F(X,ae)}`:""}`:void 0,onClick:()=>ie(e=>!e),className:`${a({invalid:Y,size:B,className:S})} flex items-center justify-between text-left`,children:[
6
- /* @__PURE__ */N("span",{className:X?"text-ink-strongest":n,children:X?F(X,ae):ke}),
7
- /* @__PURE__ */N(o,{name:"date",className:`h-4 w-4 shrink-0 ${n}`,strokeWidth:"1.75","aria-hidden":"true"})]}),pe&&/* @__PURE__ */N("span",{id:ue,className:"sr-only",children:X?F(X,ae):ke}),ge&&/* @__PURE__ */N("span",{id:ce,className:"sr-only",children:te.required}),ne&&y(
8
- /* @__PURE__ */x("div",{ref:se,id:de,role:"dialog","aria-label":$??te.dialog,className:"fixed w-72 rounded-xl border border-gray-200 bg-white p-3 shadow-lg",style:{zIndex:s.popup,left:me?.left,right:me?.right,top:me?.top,bottom:me?.bottom,maxWidth:me?.maxWidth,visibility:me?void 0:"hidden"},children:[
9
- /* @__PURE__ */N(e,{value:X||null,min:_||null,max:ee||null,weekStartsOn:O,onSelect:e=>{ie(!1),le.current?.focus(),k?.(t(e))}}),(V||xe)&&/* @__PURE__ */x("div",{className:"mt-2 flex justify-between border-t border-gray-100 pt-2",children:[V&&/* @__PURE__ */N("button",{type:"button",onClick:()=>{ie(!1),le.current?.focus(),k?.(null)},className:"rounded-(--radius-control) px-2 py-1 text-sm text-gray-500 hover:bg-gray-100 hover:text-gray-700",children:te.clear}),xe&&/* @__PURE__ */N("button",{type:"button",onClick:()=>{ie(!1),le.current?.focus(),k?.(/* @__PURE__ */new Date)},className:"ml-auto rounded-(--radius-control) px-2 py-1 text-sm font-medium text-blue-600 hover:bg-blue-50",children:te.today})]})]}),document.body)]})});export{C as DatePicker_default};