@ngrok/mantle 0.94.0 → 0.95.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 (615) hide show
  1. package/README.md +11 -2
  2. package/dist/CaretDown-MgTrjdYK.js +1 -0
  3. package/dist/CaretLeft-CZIqCyEF.js +1 -0
  4. package/dist/CaretRight-BKz4JHCI.js +1 -0
  5. package/dist/Check-C5a1hX4x.js +1 -0
  6. package/dist/CheckCircle-Bi4tSau6.js +1 -0
  7. package/dist/CircleNotch-BKE0NAIr.js +1 -0
  8. package/dist/Copy-BYWMO6PW.js +1 -0
  9. package/dist/Desktop-BaSlSeg2.js +1 -0
  10. package/dist/Eye-C38LQkZ_.js +1 -0
  11. package/dist/EyeClosed-BvOq-W8o.js +1 -0
  12. package/dist/FileText-CqAezJDn.js +1 -0
  13. package/dist/Info-weHV1B4q.js +1 -0
  14. package/dist/MagnifyingGlass-DCAoDH5_.js +1 -0
  15. package/dist/Megaphone-Cir2KHXa.js +1 -0
  16. package/dist/Minus-KBzmC4_K.js +1 -0
  17. package/dist/Moon-hn_oivM6.js +1 -0
  18. package/dist/Plus-D90-H9Ei.js +1 -0
  19. package/dist/Question-BhvEyO0K.js +1 -0
  20. package/dist/SidebarSimple-BXKgNz4l.js +1 -0
  21. package/dist/SortAscending-CEk4rgu_.js +1 -0
  22. package/dist/SortDescending-C0cE7hpU.js +1 -0
  23. package/dist/Sun-C3SaXdLl.js +1 -0
  24. package/dist/Terminal-aKZ6Y9Lk.js +1 -0
  25. package/dist/Warning-DTwF27_O.js +1 -0
  26. package/dist/WarningDiamond-BwpdVJ34.js +1 -0
  27. package/dist/X-BPGjP4b6.js +1 -0
  28. package/dist/accordion-BmDXs1-q.js +1 -0
  29. package/dist/accordion-NpJz3Uer.js +1 -0
  30. package/dist/accordion-parts.d.ts +268 -0
  31. package/dist/accordion-parts.js +1 -0
  32. package/dist/accordion.d.ts +8 -359
  33. package/dist/accordion.js +1 -1
  34. package/dist/agent.json +464 -92
  35. package/dist/alert-DCGSrVTa.js +1 -0
  36. package/dist/{alert-HffaioZM.d.ts → alert-Dz541Ve9.d.ts} +10 -196
  37. package/dist/alert-center-Bb39SBqJ.js +1 -0
  38. package/dist/alert-center-CGBbqO-y.d.ts +391 -0
  39. package/dist/alert-center-parts.d.ts +6 -0
  40. package/dist/alert-center-parts.js +1 -0
  41. package/dist/alert-center.d.ts +9 -590
  42. package/dist/alert-center.js +1 -1
  43. package/dist/alert-dialog-CtKnvX5N.js +1 -0
  44. package/dist/alert-dialog-parts.d.ts +569 -0
  45. package/dist/alert-dialog-parts.js +1 -0
  46. package/dist/alert-dialog.d.ts +3 -1054
  47. package/dist/alert-dialog.js +1 -1
  48. package/dist/alert-parts.d.ts +6 -0
  49. package/dist/alert-parts.js +1 -0
  50. package/dist/alert.d.ts +43 -1
  51. package/dist/alert.js +1 -1
  52. package/dist/anchor-DW5_Gb-1.js +1 -0
  53. package/dist/anchor.d.ts +6 -6
  54. package/dist/anchor.js +1 -1
  55. package/dist/app-layout-D7kwv9su.js +1 -0
  56. package/dist/app-layout-k6UjK30v.d.ts +1167 -0
  57. package/dist/app-layout-parts.d.ts +6 -0
  58. package/dist/app-layout-parts.js +1 -0
  59. package/dist/app-layout.d.ts +98 -1883
  60. package/dist/app-layout.js +1 -1
  61. package/dist/area-chart-C6lKu7Un.d.ts +390 -0
  62. package/dist/area-chart-SAaGaZFD.js +1 -0
  63. package/dist/area-chart-parts.d.ts +6 -0
  64. package/dist/area-chart-parts.js +1 -0
  65. package/dist/area-chart.d.ts +6 -581
  66. package/dist/area-chart.js +1 -1
  67. package/dist/avatar-BMZ81f_5.js +1 -0
  68. package/dist/avatar-Ti8GKSnS.d.ts +201 -0
  69. package/dist/avatar-parts.d.ts +6 -0
  70. package/dist/avatar-parts.js +1 -0
  71. package/dist/avatar.d.ts +5 -277
  72. package/dist/avatar.js +1 -1
  73. package/dist/badge.d.ts +10 -9
  74. package/dist/badge.js +1 -1
  75. package/dist/bar-chart-C0Ra1ZpG.js +1 -0
  76. package/dist/bar-chart-Cb5fA8V7.d.ts +386 -0
  77. package/dist/bar-chart-parts.d.ts +6 -0
  78. package/dist/bar-chart-parts.js +1 -0
  79. package/dist/bar-chart.d.ts +4 -583
  80. package/dist/bar-chart.js +1 -1
  81. package/dist/behaviors-BW8RjkkS.js +1 -0
  82. package/dist/behaviors-BbOq5SFv.js +1 -0
  83. package/dist/behaviors-C7R7ZIoN.js +1 -0
  84. package/dist/behaviors-CHF5PT3C.js +1 -0
  85. package/dist/behaviors-CSZQSSfL.js +1 -0
  86. package/dist/behaviors-CcjvGa0d.js +1 -0
  87. package/dist/behaviors-CnarRd47.js +1 -0
  88. package/dist/behaviors-CoNi6Rd-.js +1 -0
  89. package/dist/behaviors-D9VIyDk1.js +1 -0
  90. package/dist/behaviors-DHVC34f9.js +1 -0
  91. package/dist/behaviors-DkCIgQ8w.js +1 -0
  92. package/dist/behaviors-Mkc_HjTB.js +1 -0
  93. package/dist/breadcrumb-CAzq3SlR.js +1 -0
  94. package/dist/breadcrumb-parts.d.ts +287 -0
  95. package/dist/breadcrumb-parts.js +1 -0
  96. package/dist/breadcrumb.d.ts +65 -555
  97. package/dist/breadcrumb.js +1 -1
  98. package/dist/browser-only-CokCtIvB.js +1 -0
  99. package/dist/browser-only-ymFoM3Ya.js +1 -0
  100. package/dist/browser-only.js +1 -1
  101. package/dist/button-Bqm7U0OC.js +1 -0
  102. package/dist/{button-K0pKc3GN.d.ts → button-C6-6TecO.d.ts} +5 -5
  103. package/dist/{button-BGwOPjGV.d.ts → button-CL17Dxza.d.ts} +28 -25
  104. package/dist/button-CRCiBPEF.js +1 -0
  105. package/dist/{button-Cgf2IcEC.d.ts → button-CRMoQyum.d.ts} +27 -28
  106. package/dist/button-Cr2iY2cI.js +1 -0
  107. package/dist/button-DhoE-BbZ.js +1 -0
  108. package/dist/button.d.ts +3 -3
  109. package/dist/button.js +1 -1
  110. package/dist/calendar-DQtapcSC.js +1 -0
  111. package/dist/calendar.d.ts +1 -1
  112. package/dist/calendar.js +1 -1
  113. package/dist/card-DbtGVKyo.d.ts +129 -0
  114. package/dist/card-parts.d.ts +6 -0
  115. package/dist/card-parts.js +1 -0
  116. package/dist/card.d.ts +3 -228
  117. package/dist/card.js +1 -1
  118. package/dist/centered-layout-parts.d.ts +169 -0
  119. package/dist/centered-layout-parts.js +1 -0
  120. package/dist/centered-layout.d.ts +3 -300
  121. package/dist/centered-layout.js +1 -1
  122. package/dist/chart-B0n2xyYi.js +1 -0
  123. package/dist/chart-BPsMxs1f.js +1 -0
  124. package/dist/chart-BmZoTjRu.js +1 -0
  125. package/dist/chart-Bybyh2Dc.js +1 -0
  126. package/dist/chart-CACfdGlp.d.ts +86 -0
  127. package/dist/chart-CBQJUTIX.js +1 -0
  128. package/dist/chart-Cb0MBaZx.js +1 -0
  129. package/dist/chart-CmMcfDmv.js +1 -0
  130. package/dist/chart-Dlp9FidW.js +2 -0
  131. package/dist/{chart-jitNqimS.d.ts → chart-XvStK-oM.d.ts} +23 -99
  132. package/dist/chart-wTwYzUMJ.js +1 -0
  133. package/dist/checkbox-DH7WFfuR.js +1 -0
  134. package/dist/checkbox-DsVXD96X.js +1 -0
  135. package/dist/checkbox-TX74-Iep.js +1 -0
  136. package/dist/checkbox-group-parts.d.ts +197 -0
  137. package/dist/checkbox-group-parts.js +1 -0
  138. package/dist/checkbox.d.ts +60 -9
  139. package/dist/checkbox.js +1 -1
  140. package/dist/choice-BekuLm-b.d.ts +217 -0
  141. package/dist/choice-DGI8VNR9.d.ts +1 -0
  142. package/dist/choice-PDT386cc.js +1 -0
  143. package/dist/choice-parts.d.ts +7 -0
  144. package/dist/choice-parts.js +1 -0
  145. package/dist/choice.d.ts +63 -1
  146. package/dist/choice.js +1 -1
  147. package/dist/code-UKPv6LVP.js +1 -0
  148. package/dist/{code-block-W3kWPxCJ.js → code-block-B-xD4_RW.js} +1 -1
  149. package/dist/code-block-B7XPzZnp.js +1 -0
  150. package/dist/code-block-BXXceNVo.js +1 -0
  151. package/dist/code-block-C7uzLs8t.js +1 -0
  152. package/dist/{code-block-BGdV4Yty.d.ts → code-block-Cs1Lcmdr.d.ts} +82 -253
  153. package/dist/code-block-Erv7wuWW.d.ts +173 -0
  154. package/dist/code-block-parts.d.ts +380 -0
  155. package/dist/code-block-parts.js +1 -0
  156. package/dist/code-block.d.ts +66 -693
  157. package/dist/code-block.js +6 -6
  158. package/dist/code-block_highlight-utils.d.ts +2 -1
  159. package/dist/code-block_highlight-utils.js +1 -1
  160. package/dist/code.d.ts +4 -4
  161. package/dist/code.js +1 -1
  162. package/dist/combobox-6LXe1cLx.js +1 -0
  163. package/dist/combobox-parts.d.ts +303 -0
  164. package/dist/combobox-parts.js +1 -0
  165. package/dist/combobox.d.ts +5 -468
  166. package/dist/combobox.js +1 -1
  167. package/dist/command-B8L-zjGt.js +1 -0
  168. package/dist/command-CCMWCjAK.js +1 -0
  169. package/dist/command-VKj84zAX.d.ts +859 -0
  170. package/dist/command-cbgO9CiG.js +1 -0
  171. package/dist/command-parts.d.ts +6 -0
  172. package/dist/command-parts.js +1 -0
  173. package/dist/command.d.ts +91 -1135
  174. package/dist/command.js +1 -1
  175. package/dist/compose-refs-BdRUneoc.js +1 -0
  176. package/dist/compose-refs-Ce1vWUz0.js +1 -0
  177. package/dist/cx-CfAFHj5_.js +73 -0
  178. package/dist/cx-DhYnQ07J.js +1 -0
  179. package/dist/cx.d.ts +23 -17
  180. package/dist/cx.js +1 -1
  181. package/dist/{data-slot-B-LqAcBB.d.ts → data-slot-BW8KQ9Xo.d.ts} +2 -2
  182. package/dist/data-table-C-FgaN3_.js +1 -0
  183. package/dist/data-table-Cw9dUo1w.js +1 -0
  184. package/dist/data-table-CwqrMtp0.js +1 -0
  185. package/dist/data-table-GUbt8mzo.d.ts +38 -0
  186. package/dist/data-table-parts.d.ts +763 -0
  187. package/dist/data-table-parts.js +1 -0
  188. package/dist/data-table.d.ts +21 -1217
  189. package/dist/data-table.js +1 -1
  190. package/dist/description-list-CjcKOOnr.d.ts +110 -0
  191. package/dist/description-list-parts.d.ts +6 -0
  192. package/dist/description-list-parts.js +1 -0
  193. package/dist/description-list.d.ts +3 -183
  194. package/dist/description-list.js +1 -1
  195. package/dist/dialog-4Ed3U7hz.js +1 -0
  196. package/dist/dialog-BDb_obii.d.ts +166 -0
  197. package/dist/dialog-BaR9D58J.js +1 -0
  198. package/dist/dialog-BkNxAcol.d.ts +467 -0
  199. package/dist/dialog-DSYuhFD5.js +1 -0
  200. package/dist/dialog-fXMCxM9W.js +1 -0
  201. package/dist/dialog-parts.d.ts +6 -0
  202. package/dist/dialog-parts.js +1 -0
  203. package/dist/dialog.d.ts +88 -2
  204. package/dist/dialog.js +1 -1
  205. package/dist/dropdown-menu-BuluRn0Z.js +1 -0
  206. package/dist/dropdown-menu-CDXlp0QT.d.ts +507 -0
  207. package/dist/dropdown-menu-parts.d.ts +6 -0
  208. package/dist/dropdown-menu-parts.js +1 -0
  209. package/dist/dropdown-menu.d.ts +57 -1
  210. package/dist/dropdown-menu.js +1 -1
  211. package/dist/empty-parts.d.ts +120 -0
  212. package/dist/empty-parts.js +1 -0
  213. package/dist/empty.d.ts +2 -216
  214. package/dist/empty.js +1 -1
  215. package/dist/field-BRYypbjO.js +1 -0
  216. package/dist/field-BVMx7HoG.js +1 -0
  217. package/dist/field-BwCq1b9R.js +1 -0
  218. package/dist/field-CYAaNexp.js +1 -0
  219. package/dist/field-DRHAcM1s.js +1 -0
  220. package/dist/field-parts.d.ts +767 -0
  221. package/dist/field-parts.js +1 -0
  222. package/dist/field.d.ts +21 -1201
  223. package/dist/field.js +1 -1
  224. package/dist/flag.d.ts +3 -3
  225. package/dist/flag.js +1 -1
  226. package/dist/float-C_vwTtzU.js +1 -0
  227. package/dist/float-JmSzKDHd.js +1 -0
  228. package/dist/float-OhVY3cf4.js +1 -0
  229. package/dist/hooks-B-Cd15iL.js +1 -0
  230. package/dist/hooks-BP_uqBsI.js +1 -0
  231. package/dist/hooks-BeLOGKwE.js +1 -0
  232. package/dist/hooks-BsOjpTgs.js +1 -0
  233. package/dist/hooks-BybaGF7O.js +1 -0
  234. package/dist/hooks-C9b-2wGy.js +1 -0
  235. package/dist/hooks-CMmpICCH.js +1 -0
  236. package/dist/hooks-CUYIUcp6.js +1 -0
  237. package/dist/hooks-DKbOd_pQ.js +1 -0
  238. package/dist/hooks-DejuqCNF.js +1 -0
  239. package/dist/hooks-GsDfo7Zl.js +1 -0
  240. package/dist/hooks-PsYFJkz2.js +1 -0
  241. package/dist/hooks-lDz_S9UG.js +1 -0
  242. package/dist/hooks.d.ts +126 -17
  243. package/dist/hooks.js +1 -1
  244. package/dist/hover-card-BEC5EQiH.js +1 -0
  245. package/dist/hover-card-parts.d.ts +160 -0
  246. package/dist/hover-card-parts.js +1 -0
  247. package/dist/hover-card.d.ts +9 -281
  248. package/dist/hover-card.js +1 -1
  249. package/dist/{icon-CgNqu-fl.d.ts → icon--purqHRo.d.ts} +1 -1
  250. package/dist/icon-0RoVrpGj.js +1 -0
  251. package/dist/icon-BSGMvJ0W.js +1 -0
  252. package/dist/icon-DIiKxRTh.js +1 -0
  253. package/dist/{icon-DXDyhy2N.d.ts → icon-Dqn_LLrR.d.ts} +2 -2
  254. package/dist/{icon-NYvyyRMG.d.ts → icon-KTcDR4--.d.ts} +2 -2
  255. package/dist/icon.d.ts +3 -3
  256. package/dist/icon.js +1 -1
  257. package/dist/icons-CVgj9Whd.js +1 -0
  258. package/dist/icons-D_4cZaL1.js +1 -0
  259. package/dist/icons-DucrvIOa.js +1 -0
  260. package/dist/icons.d.ts +2 -2
  261. package/dist/icons.js +1 -1
  262. package/dist/{in-view-B3nMAzfE.d.ts → in-view-C_daNafg.d.ts} +4 -23
  263. package/dist/{index-KJ06KK6t.d.ts → index-CCkilmv8.d.ts} +1 -1
  264. package/dist/input-83xaPZWK.js +1 -0
  265. package/dist/input-B78ah4AB.js +1 -0
  266. package/dist/{input-q8o5uMhW.d.ts → input-Bvpu3ruQ.d.ts} +2 -2
  267. package/dist/input.d.ts +5 -5
  268. package/dist/input.js +1 -1
  269. package/dist/kbd-Bz_Rbpv8.js +1 -0
  270. package/dist/kbd.d.ts +5 -5
  271. package/dist/kbd.js +1 -1
  272. package/dist/{label-r2sJcSQ4.d.ts → label-DZpKu3Pu.d.ts} +8 -8
  273. package/dist/label-DmkAp9xI.js +1 -0
  274. package/dist/label.d.ts +1 -1
  275. package/dist/label.js +1 -1
  276. package/dist/layer-container-DDOZJ0fn.js +1 -0
  277. package/dist/layer-container.d.ts +11 -3
  278. package/dist/layer-container.js +1 -1
  279. package/dist/line-chart-CBL7eCqF.js +1 -0
  280. package/dist/line-chart-CIDFDkyb.d.ts +380 -0
  281. package/dist/line-chart-parts.d.ts +6 -0
  282. package/dist/line-chart-parts.js +1 -0
  283. package/dist/line-chart.d.ts +5 -569
  284. package/dist/line-chart.js +1 -1
  285. package/dist/list-CC3Pi__V.js +1 -0
  286. package/dist/list-Cx4KNfgC.d.ts +286 -0
  287. package/dist/list-FiFQJ0BU.js +1 -0
  288. package/dist/list-parts.d.ts +6 -0
  289. package/dist/list-parts.js +1 -0
  290. package/dist/list.d.ts +9 -406
  291. package/dist/list.js +1 -1
  292. package/dist/live-region-78gbKwlB.js +1 -0
  293. package/dist/live-region.d.ts +2 -2
  294. package/dist/live-region.js +1 -1
  295. package/dist/llms.txt +50 -26
  296. package/dist/main-9d96oUPG.js +1 -0
  297. package/dist/main.d.ts +1 -1
  298. package/dist/main.js +1 -1
  299. package/dist/mantle.css +1304 -910
  300. package/dist/media-object-parts.d.ts +65 -0
  301. package/dist/media-object-parts.js +1 -0
  302. package/dist/media-object.d.ts +5 -121
  303. package/dist/media-object.js +1 -1
  304. package/dist/migrations/0017-select-owned-behavior.yml +117 -0
  305. package/dist/migrations/0018-combobox-owned-behavior.yml +1661 -0
  306. package/dist/migrations/0019-multi-select-owned-behavior.yml +1414 -0
  307. package/dist/migrations/0020-native-floats.yml +823 -0
  308. package/dist/migrations/0021-native-radio-group.yml +397 -0
  309. package/dist/migrations/0024-command-owned-behavior.yml +66 -0
  310. package/dist/migrations/0026-native-dropdown-menu.yml +351 -0
  311. package/dist/migrations/0029-data-attribute-contract.yml +1707 -0
  312. package/dist/migrations/0030-between-variant.yml +1954 -0
  313. package/dist/multi-select-parts.d.ts +487 -0
  314. package/dist/multi-select-parts.js +1 -0
  315. package/dist/multi-select-qC0BuYKD.js +1 -0
  316. package/dist/multi-select.d.ts +6 -803
  317. package/dist/multi-select.js +1 -1
  318. package/dist/otp-input-LPdkb_Fg.js +1 -0
  319. package/dist/otp-input-parts.d.ts +211 -0
  320. package/dist/otp-input-parts.js +1 -0
  321. package/dist/otp-input-zl6MVio6.js +1 -0
  322. package/dist/otp-input.d.ts +11 -252
  323. package/dist/otp-input.js +1 -1
  324. package/dist/overlay-prompt-BIzMQvx7.js +1 -0
  325. package/dist/overlay-prompt-CDnhSoPJ.js +1 -0
  326. package/dist/overlay-prompt.d.ts +57 -0
  327. package/dist/overlay-prompt.js +1 -0
  328. package/dist/pagination-B2ESEbMI.d.ts +171 -0
  329. package/dist/pagination-CxaLKZcE.js +1 -0
  330. package/dist/pagination-Df1gTCN-.js +1 -0
  331. package/dist/pagination-cursor-pagination-parts.d.ts +6 -0
  332. package/dist/pagination-cursor-pagination-parts.js +1 -0
  333. package/dist/pagination.d.ts +39 -304
  334. package/dist/pagination.js +1 -1
  335. package/dist/popover-DOd6zLvE.d.ts +226 -0
  336. package/dist/popover-DWvHbepV.js +1 -0
  337. package/dist/popover-parts.d.ts +6 -0
  338. package/dist/popover-parts.js +1 -0
  339. package/dist/popover.d.ts +60 -2
  340. package/dist/popover.js +1 -1
  341. package/dist/position-Cv3XpSur.d.ts +5 -0
  342. package/dist/progress-BE0c8GW8.js +1 -0
  343. package/dist/progress-ZhFJhv9u.js +1 -0
  344. package/dist/progress-bar-parts.d.ts +86 -0
  345. package/dist/progress-bar-parts.js +1 -0
  346. package/dist/progress-donut-parts.d.ts +94 -0
  347. package/dist/progress-donut-parts.js +1 -0
  348. package/dist/progress-mJQMhxMX.js +1 -0
  349. package/dist/progress-zDpT3TY4.d.ts +2 -0
  350. package/dist/progress.d.ts +4 -268
  351. package/dist/progress.js +1 -1
  352. package/dist/qr-code-0zh10iIE.d.ts +148 -0
  353. package/dist/qr-code-BOOubA9x.js +1 -0
  354. package/dist/qr-code-D8tBKtjP.js +1 -0
  355. package/dist/qr-code-DzJjumoc.d.ts +46 -0
  356. package/dist/qr-code-encoder.browser.d.ts +15 -0
  357. package/dist/qr-code-encoder.browser.js +1 -0
  358. package/dist/qr-code-encoder.d.ts +15 -0
  359. package/dist/qr-code-encoder.js +1 -0
  360. package/dist/qr-code-parts.d.ts +6 -0
  361. package/dist/qr-code-parts.js +1 -0
  362. package/dist/qr-code.d.ts +4 -227
  363. package/dist/qr-code.js +1 -1
  364. package/dist/query-C0e5VYNp.d.ts +440 -0
  365. package/dist/query-V5NifJGs.js +1 -0
  366. package/dist/query-filter.d.ts +6 -6
  367. package/dist/query-filter.js +1 -1
  368. package/dist/query-parts.d.ts +6 -0
  369. package/dist/query-parts.js +1 -0
  370. package/dist/query.d.ts +5 -634
  371. package/dist/query.js +1 -1
  372. package/dist/radio-group-B9jtIbV1.d.ts +39 -0
  373. package/dist/radio-group-BliblUqe.js +1 -0
  374. package/dist/radio-group-f3ThXQCx.js +1 -0
  375. package/dist/radio-group-parts.d.ts +249 -0
  376. package/dist/radio-group-parts.js +1 -0
  377. package/dist/radio-group-zA5DjlLg.js +1 -0
  378. package/dist/radio-group.d.ts +7 -399
  379. package/dist/radio-group.js +1 -1
  380. package/dist/sandbar-Cm2yMjEZ.js +1 -0
  381. package/dist/sandbar-DU4wpKRc.d.ts +345 -0
  382. package/dist/sandbar-parts.d.ts +6 -0
  383. package/dist/sandbar-parts.js +1 -0
  384. package/dist/sandbar.d.ts +6 -441
  385. package/dist/sandbar.js +1 -1
  386. package/dist/sandboxed-on-click-Cg3lewoG.js +1 -0
  387. package/dist/sandboxed-on-click-DOw_Jkhk.js +1 -0
  388. package/dist/sandboxed-on-click.d.ts +1 -1
  389. package/dist/sandboxed-on-click.js +1 -1
  390. package/dist/scatter-plot-1vFxkpjT.js +1 -0
  391. package/dist/scatter-plot-D25jLIVw.d.ts +388 -0
  392. package/dist/scatter-plot-parts.d.ts +6 -0
  393. package/dist/scatter-plot-parts.js +1 -0
  394. package/dist/scatter-plot.d.ts +5 -575
  395. package/dist/scatter-plot.js +1 -1
  396. package/dist/segmented-control-DuiDPKDZ.js +1 -0
  397. package/dist/segmented-control-parts.d.ts +72 -0
  398. package/dist/segmented-control-parts.js +1 -0
  399. package/dist/segmented-control.d.ts +4 -100
  400. package/dist/segmented-control.js +1 -1
  401. package/dist/select-08IEtypH.js +1 -0
  402. package/dist/select-DM2wWfOO.d.ts +478 -0
  403. package/dist/select-parts.d.ts +6 -0
  404. package/dist/select-parts.js +1 -0
  405. package/dist/select.d.ts +63 -1
  406. package/dist/select.js +1 -1
  407. package/dist/selectable-list-Ax5F2Gz1.js +1 -0
  408. package/dist/selectable-list-CyLc3EEt.d.ts +407 -0
  409. package/dist/selectable-list-GcpbbRM1.js +1 -0
  410. package/dist/selectable-list-parts.d.ts +6 -0
  411. package/dist/selectable-list-parts.js +1 -0
  412. package/dist/selectable-list.d.ts +7 -647
  413. package/dist/selectable-list.js +1 -1
  414. package/dist/separator-BB1ohsjn.js +1 -0
  415. package/dist/{separator-QfH0ot5K.d.ts → separator-BzHNVyyv.d.ts} +2 -2
  416. package/dist/separator.d.ts +1 -1
  417. package/dist/separator.js +1 -1
  418. package/dist/sheet-5JgxVaWC.js +1 -0
  419. package/dist/sheet-parts.d.ts +732 -0
  420. package/dist/sheet-parts.js +1 -0
  421. package/dist/sheet-qYPi5MP8.js +1 -0
  422. package/dist/sheet.d.ts +11 -1208
  423. package/dist/sheet.js +1 -1
  424. package/dist/sidebar-CsC9fyPL.js +1 -0
  425. package/dist/sidebar-OBA7L42d.d.ts +1480 -0
  426. package/dist/sidebar-parts.d.ts +6 -0
  427. package/dist/sidebar-parts.js +1 -0
  428. package/dist/sidebar.d.ts +108 -2518
  429. package/dist/sidebar.js +1 -1
  430. package/dist/skeleton-DB0oQyAx.js +1 -0
  431. package/dist/skeleton.d.ts +5 -5
  432. package/dist/skeleton.js +1 -1
  433. package/dist/skip-to-main-link-BGhAWSqB.js +1 -0
  434. package/dist/skip-to-main-link.d.ts +1 -1
  435. package/dist/skip-to-main-link.js +1 -1
  436. package/dist/slider-YlBozcPQ.js +1 -0
  437. package/dist/slider.d.ts +150 -16
  438. package/dist/slider.js +1 -1
  439. package/dist/slot-5ZSmrISx.d.ts +19 -0
  440. package/dist/slot-BxngGBJ2.js +1 -0
  441. package/dist/slot-CBcGhRdV.js +1 -0
  442. package/dist/slot-tuk2J6bY.d.ts +50 -0
  443. package/dist/slot.d.ts +1 -1
  444. package/dist/slot.js +1 -1
  445. package/dist/source-all.css +5 -1
  446. package/dist/split-button-DvJHD7cZ.js +1 -0
  447. package/dist/split-button-parts.d.ts +178 -0
  448. package/dist/split-button-parts.js +1 -0
  449. package/dist/split-button.d.ts +2 -314
  450. package/dist/split-button.js +1 -1
  451. package/dist/strata-parts.d.ts +256 -0
  452. package/dist/strata-parts.js +1 -0
  453. package/dist/strata.d.ts +6 -495
  454. package/dist/strata.js +1 -1
  455. package/dist/{suggestions-NkqYTT49.d.ts → suggestions-BJeGvwDa.d.ts} +7 -7
  456. package/dist/switch-DajWYrq3.js +1 -0
  457. package/dist/switch.d.ts +37 -5
  458. package/dist/switch.js +1 -1
  459. package/dist/{table-rWiVWEgB.d.ts → table-C2KnE83u.d.ts} +6 -445
  460. package/dist/table-DJHK48-8.js +1 -0
  461. package/dist/table-parts.d.ts +6 -0
  462. package/dist/table-parts.js +1 -0
  463. package/dist/table.d.ts +81 -1
  464. package/dist/table.js +1 -1
  465. package/dist/tabs-36-4SlRo.js +1 -0
  466. package/dist/tabs-CC_HAqr4.d.ts +193 -0
  467. package/dist/tabs-DayeszXP.js +1 -0
  468. package/dist/tabs-headless-tabs-parts.d.ts +6 -0
  469. package/dist/tabs-headless-tabs-parts.js +1 -0
  470. package/dist/tabs-parts.d.ts +237 -0
  471. package/dist/tabs-parts.js +1 -0
  472. package/dist/tabs.d.ts +43 -420
  473. package/dist/tabs.js +1 -1
  474. package/dist/text-area-D29JTaZg.js +1 -0
  475. package/dist/text-area.d.ts +2 -2
  476. package/dist/text-area.js +1 -1
  477. package/dist/theme-D6rP5Fy8.js +1 -0
  478. package/dist/theme-switcher-PKMCyJxT.js +1 -0
  479. package/dist/theme-switcher.d.ts +26 -22
  480. package/dist/theme-switcher.js +1 -1
  481. package/dist/theme-xoFnLba6.js +1 -0
  482. package/dist/theme.d.ts +84 -77
  483. package/dist/theme.js +1 -1
  484. package/dist/time-zone-CpWYKHdp.js +1 -0
  485. package/dist/time-zone-DZ4hUJ8K.js +1 -0
  486. package/dist/time-zone.d.ts +190 -0
  487. package/dist/time-zone.js +1 -0
  488. package/dist/toast-BJZ__22c.js +1 -0
  489. package/dist/toast-Cb9IN-6e.d.ts +185 -0
  490. package/dist/toast-DM_oq-3E.js +1 -0
  491. package/dist/toast-parts.d.ts +6 -0
  492. package/dist/toast-parts.js +1 -0
  493. package/dist/toast.d.ts +7 -256
  494. package/dist/toast.js +1 -1
  495. package/dist/tokens.dark.json +3026 -0
  496. package/dist/tokens.json +4867 -0
  497. package/dist/tokens.resolver.json +37 -0
  498. package/dist/tooltip-D4HZn19B.js +1 -0
  499. package/dist/tooltip-DP6Lz6jv.d.ts +180 -0
  500. package/dist/tooltip-Uy-kz0rK.d.ts +1 -0
  501. package/dist/tooltip-parts.d.ts +7 -0
  502. package/dist/tooltip-parts.js +1 -0
  503. package/dist/tooltip.d.ts +57 -1
  504. package/dist/tooltip.js +1 -1
  505. package/dist/truncated-text-B5u2AlNg.js +1 -0
  506. package/dist/truncated-text-BoXHP-cD.js +1 -0
  507. package/dist/truncated-text.d.ts +4 -6
  508. package/dist/truncated-text.js +1 -1
  509. package/dist/types.d.ts +1 -1
  510. package/dist/types.js +1 -1
  511. package/dist/typography-C2BmSH12.d.ts +148 -0
  512. package/dist/typography-parts.d.ts +6 -0
  513. package/dist/typography-parts.js +1 -0
  514. package/dist/typography.d.ts +52 -0
  515. package/dist/typography.js +1 -0
  516. package/dist/use-combobox-OhIEVioc.d.ts +23 -0
  517. package/dist/use-float-WEqqhXBE.d.ts +18 -0
  518. package/dist/use-listbox-D4uIonSN.d.ts +1 -0
  519. package/dist/utils-BN3rwHzz.js +1 -0
  520. package/dist/utils-BlLYcYik.js +1 -0
  521. package/dist/utils-C4astHJG.js +1 -0
  522. package/dist/utils-CPSttKPD.js +1 -0
  523. package/dist/{copy-to-clipboard-DInu78k_.js → utils-Dd83caRw.js} +1 -1
  524. package/dist/utils.d.ts +1 -1
  525. package/dist/utils.js +1 -1
  526. package/dist/visually-hidden.d.ts +2 -2
  527. package/dist/visually-hidden.js +1 -1
  528. package/dist/well.d.ts +2 -2
  529. package/dist/well.js +1 -1
  530. package/dist/world-map-BDd3N_Ap.d.ts +424 -0
  531. package/dist/world-map-D3c8Pq-h.js +1 -0
  532. package/dist/world-map-parts.d.ts +6 -0
  533. package/dist/world-map-parts.js +1 -0
  534. package/dist/world-map-t9U-IMKS.js +1 -0
  535. package/dist/world-map.d.ts +80 -0
  536. package/dist/world-map.js +1 -0
  537. package/package.json +30 -19
  538. package/dist/alert-CH99Rw-R.js +0 -1
  539. package/dist/anchor-CgcbWEUs.js +0 -1
  540. package/dist/browser-only-BTSrYWLj.js +0 -1
  541. package/dist/button-69InNC_m.js +0 -1
  542. package/dist/button-BQZ6eoD3.js +0 -1
  543. package/dist/button-BWGUuWnu.js +0 -1
  544. package/dist/button-Cu9e3SM7.js +0 -1
  545. package/dist/chart-BO9EwQ60.js +0 -1
  546. package/dist/chart-CE5Uaqz9.js +0 -1
  547. package/dist/chart-DCTGGlWL.js +0 -1
  548. package/dist/chart-DudCw24t.js +0 -2
  549. package/dist/checkbox-CS504fKk.js +0 -1
  550. package/dist/choice-BwfmbepO.d.ts +0 -405
  551. package/dist/choice-uyYccm0A.js +0 -1
  552. package/dist/clsx-DUGZgXfJ.js +0 -1
  553. package/dist/clsx-Dj3RWZ2l.js +0 -1
  554. package/dist/code-DUJzSl4K.js +0 -1
  555. package/dist/compose-refs-sFdxsL7k.js +0 -1
  556. package/dist/cx-CK7o_rVv.js +0 -1
  557. package/dist/dialog-B9JAGy_x.d.ts +0 -28
  558. package/dist/dialog-CsugEt2A.js +0 -1
  559. package/dist/dialog-DD5H3EH1.d.ts +0 -942
  560. package/dist/dropdown-menu-DHdgaw4P.js +0 -1
  561. package/dist/dropdown-menu-DmDxYPde.d.ts +0 -775
  562. package/dist/field-Bihblt8U.js +0 -1
  563. package/dist/field-CPvjazWN.js +0 -1
  564. package/dist/icon-BudQMD2S.js +0 -1
  565. package/dist/icon-kK0c-POG.js +0 -1
  566. package/dist/icons-4JA-SGfv.js +0 -1
  567. package/dist/icons-CDLz5lpI.js +0 -1
  568. package/dist/icons-CSwTVV2m.js +0 -1
  569. package/dist/input-DHovzBjS.js +0 -1
  570. package/dist/input-DQyN6gN0.js +0 -1
  571. package/dist/interactive-target-BXScNeOr.js +0 -1
  572. package/dist/kbd-CLHsJ99p.js +0 -1
  573. package/dist/label-DmDwzPD8.js +0 -1
  574. package/dist/layer-container-kEQiE4zV.js +0 -1
  575. package/dist/list-CO_yLdln.js +0 -1
  576. package/dist/live-region-DQ1QLv3L.js +0 -1
  577. package/dist/main-CC1L9IsH.js +0 -1
  578. package/dist/popover-BhTFutCz.d.ts +0 -1
  579. package/dist/popover-DxOqLKxy.js +0 -1
  580. package/dist/popover-lwkwWcRW.d.ts +0 -291
  581. package/dist/primitive-Dz9Al-us.js +0 -1
  582. package/dist/radio-group-jj2abc0t.js +0 -1
  583. package/dist/radio-group-sLz5AA9I.d.ts +0 -27
  584. package/dist/sandboxed-on-click-C7pPu-2M.js +0 -1
  585. package/dist/select-BqmpVJJT.d.ts +0 -890
  586. package/dist/select-C6Su0dU0.js +0 -1
  587. package/dist/separator-DfzxVutO.js +0 -1
  588. package/dist/shake-DL6WhMXM.js +0 -1
  589. package/dist/sheet-Bd2LIhzF.js +0 -1
  590. package/dist/skeleton-DBpI-ko5.js +0 -1
  591. package/dist/slot-D12N_fZJ.d.ts +0 -67
  592. package/dist/slot-DdYN1L1C.js +0 -1
  593. package/dist/table-CFHiDBW8.js +0 -1
  594. package/dist/theme-DdZgLvKH.js +0 -1
  595. package/dist/tooltip-CpK3XTor.d.ts +0 -283
  596. package/dist/tooltip-b6oiTaWq.js +0 -1
  597. package/dist/use-breakpoint--mo7kr9d.js +0 -1
  598. package/dist/use-callback-ref-BvVyI5K1.js +0 -1
  599. package/dist/use-copy-to-clipboard-Dy_0Qzb7.js +0 -1
  600. package/dist/use-inert-siblings-CNmNuS2h.js +0 -1
  601. package/dist/use-is-apple-platform-D4nifHMx.js +0 -1
  602. package/dist/use-is-hydrated-after-paint-r9Cl2mGp.js +0 -1
  603. package/dist/use-isomorphic-layout-effect-CLSmHzo4.js +0 -1
  604. package/dist/use-matches-media-query-m860lols.js +0 -1
  605. package/dist/use-prefers-reduced-motion-CU6mWmOe.js +0 -1
  606. package/dist/use-swipe-to-dismiss-i__cTF2v.js +0 -1
  607. /package/dist/{suggestions-Ciz2vaJO.js → query-filter-Ciz2vaJO.js} +0 -0
  608. /package/dist/{radio-group-HDVxTNPi.js → sidebar-HDVxTNPi.js} +0 -0
  609. /package/dist/{direction-CvDpql3O.js → sorting-CvDpql3O.js} +0 -0
  610. /package/dist/{booleanish-BfvnW6vy.js → types-BfvnW6vy.js} +0 -0
  611. /package/dist/{css-properties-D85fCNV3.js → types-D85fCNV3.js} +0 -0
  612. /package/dist/{alternate-announcement-BkH4bOKp.js → utils-BkH4bOKp.js} +0 -0
  613. /package/dist/{in-view-Dxv_GrUU.js → utils-Dxv_GrUU.js} +0 -0
  614. /package/dist/{data-slot-EM6s2WEU.js → utils-EM6s2WEU.js} +0 -0
  615. /package/dist/{cookie-ca4g5CKp.js → utils-ca4g5CKp.js} +0 -0
@@ -1 +0,0 @@
1
- import{n as e}from"./compose-refs-sFdxsL7k.js";import{t}from"./cx-CK7o_rVv.js";import{t as n}from"./data-slot-EM6s2WEU.js";import{i as r}from"./layer-container-kEQiE4zV.js";import{t as i}from"./field-Bihblt8U.js";import{a,r as o}from"./field-CPvjazWN.js";import{t as s}from"./icon-kK0c-POG.js";import{n as c}from"./separator-DfzxVutO.js";import{c as l}from"react/compiler-runtime";import{CaretDownIcon as u}from"@phosphor-icons/react/CaretDown";import{createContext as d,useContext as f}from"react";import{jsx as p,jsxs as m}from"react/jsx-runtime";import{Slottable as h}from"@radix-ui/react-slot";import{CheckIcon as g}from"@phosphor-icons/react/Check";import{CaretUpIcon as _}from"@phosphor-icons/react/CaretUp";import{Content as v,Group as y,Icon as b,Item as x,ItemIndicator as S,ItemText as C,Label as w,Portal as T,Root as E,ScrollDownButton as D,ScrollUpButton as O,Trigger as k,Value as A,Viewport as j}from"@radix-ui/react-select";const M=d({}),N=e=>{let t=l(26),n,r,i,a,o,s,c,u,d;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],u=t[8],d=t[9]):({"aria-invalid":n,children:r,id:i,validation:d,onBlur:a,onValueChange:s,onChange:o,ref:u,...c}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=u,t[9]=d);let f;t[10]!==n||t[11]!==i||t[12]!==a||t[13]!==u||t[14]!==d?(f={"aria-invalid":n,id:i,validation:d,onBlur:a,ref:u},t[10]=n,t[11]=i,t[12]=a,t[13]=u,t[14]=d,t[15]=f):f=t[15];let m=f,h;t[16]!==o||t[17]!==s?(h=e=>{o?.(e),s?.(e)},t[16]=o,t[17]=s,t[18]=h):h=t[18];let g;t[19]!==r||t[20]!==m?(g=/* @__PURE__ */ p(M.Provider,{value:m,children:r}),t[19]=r,t[20]=m,t[21]=g):g=t[21];let _;return t[22]!==c||t[23]!==h||t[24]!==g?(_=/* @__PURE__ */ p(E,{...c,onValueChange:h,children:g}),t[22]=c,t[23]=h,t[24]=g,t[25]=_):_=t[25],_},P=e=>{let r=l(14),i,a,o,s;r[0]===e?(i=r[1],a=r[2],o=r[3],s=r[4]):({className:i,"data-slot":a,ref:s,...o}=e,r[0]=e,r[1]=i,r[2]=a,r[3]=o,r[4]=s);let c;r[5]===a?c=r[6]:(c=n(a,`select-group`),r[5]=a,r[6]=c);let u;r[7]===i?u=r[8]:(u=t(`space-y-px`,i),r[7]=i,r[8]=u);let d;return r[9]!==o||r[10]!==s||r[11]!==c||r[12]!==u?(d=/* @__PURE__ */ p(y,{ref:s,"data-slot":c,className:u,...o}),r[9]=o,r[10]=s,r[11]=c,r[12]=u,r[13]=d):d=r[13],d},F=e=>{let t=l(21),r,i,a,o,s,c;t[0]===e?(r=t[1],i=t[2],a=t[3],o=t[4],s=t[5],c=t[6]):({asChild:r,children:i,"data-slot":a,placeholder:o,ref:c,...s}=e,t[0]=e,t[1]=r,t[2]=i,t[3]=a,t[4]=o,t[5]=s,t[6]=c);let u;t[7]===a?u=t[8]:(u=n(a,`select-value`),t[7]=a,t[8]=u);let d;t[9]===o?d=t[10]:(d=o!=null&&/* @__PURE__ */ p(`span`,{"data-slot":`select-placeholder`,className:`contents`,children:o}),t[9]=o,t[10]=d);let f;t[11]!==r||t[12]!==i?(f=r||i==null?i:/* @__PURE__ */ p(`span`,{"data-slot":`select-value-label`,className:`contents`,children:i}),t[11]=r,t[12]=i,t[13]=f):f=t[13];let m;return t[14]!==r||t[15]!==s||t[16]!==c||t[17]!==u||t[18]!==d||t[19]!==f?(m=/* @__PURE__ */ p(A,{ref:c,asChild:r,"data-slot":u,placeholder:d,...s,children:f}),t[14]=r,t[15]=s,t[16]=c,t[17]=u,t[18]=d,t[19]=f,t[20]=m):m=t[20],m},I=r=>{let c=l(36),d,g,_,v,y,x,S,C,w;c[0]===r?(d=c[1],g=c[2],_=c[3],v=c[4],y=c[5],x=c[6],S=c[7],C=c[8],w=c[9]):({"aria-invalid":d,className:_,children:g,"data-slot":v,id:x,onBlur:y,ref:w,validation:S,...C}=r,c[0]=r,c[1]=d,c[2]=g,c[3]=_,c[4]=v,c[5]=y,c[6]=x,c[7]=S,c[8]=C,c[9]=w);let T=f(M),E=f(i),D=e(w,T.ref),O=a(),A=E?E[`aria-invalid`]:T[`aria-invalid`]??d,j=T.validation??S??O,N;c[10]!==A||c[11]!==j?(N=o({"aria-invalid":A,validation:j}),c[10]=A,c[11]=j,c[12]=N):N=c[12];let{ariaInvalid:P,validation:F}=N,I=E?E.id:T.id??x,L;c[13]===v?L=c[14]:(L=n(v,`select-trigger`),c[13]=v,c[14]=L);let R;c[15]===_?R=c[16]:(R=t(`h-9 text-sm`,`border-form bg-form text-strong font-sans placeholder:text-placeholder hover:bg-form-hover hover:text-strong flex w-full items-center justify-between gap-1.5 rounded-md border px-3 py-2 disabled:pointer-events-none disabled:opacity-50`,`[&>[data-slot=select-trigger-label]>span]:line-clamp-1 [&>[data-slot=select-trigger-label]>span]:text-left`,`hover:border-neutral-400`,`focus:outline-hidden focus:ring-4 aria-expanded:ring-4`,`focus:border-accent-600 focus:ring-focus-accent aria-expanded:border-accent-600 aria-expanded:ring-focus-accent`,`data-validation-success:border-success-600 data-validation-success:focus:border-success-600 data-validation-success:focus:ring-focus-success data-validation-success:aria-expanded:border-success-600 data-validation-success:aria-expanded:ring-focus-success`,`data-validation-warning:border-warning-600 data-validation-warning:focus:border-warning-600 data-validation-warning:focus:ring-focus-warning data-validation-warning:aria-expanded:border-warning-600 data-validation-warning:aria-expanded:ring-focus-warning`,`data-validation-error:border-danger-600 data-validation-error:focus:border-danger-600 data-validation-error:focus:ring-focus-danger data-validation-error:aria-expanded:border-danger-600 data-validation-error:aria-expanded:ring-focus-danger motion-safe:data-validation-error:animate-shake`,_),c[15]=_,c[16]=R);let z=F||void 0,V;c[17]!==T||c[18]!==y?(V=e=>{y?.(e),T.onBlur?.(e)},c[17]=T,c[18]=y,c[19]=V):V=c[19];let H;c[20]===E?H=c[21]:(H=E?{"aria-describedby":E[`aria-describedby`],"aria-errormessage":E[`aria-errormessage`]}:void 0,c[20]=E,c[21]=H);let U;c[22]===g?U=c[23]:(U=/* @__PURE__ */ p(h,{child:g,children:B}),c[22]=g,c[23]=U);let W;c[24]===Symbol.for(`react.memo_cache_sentinel`)?(W=/* @__PURE__ */ p(b,{asChild:!0,children:/* @__PURE__ */ p(s,{svg:/* @__PURE__ */ p(u,{weight:`bold`}),className:`size-4`})}),c[24]=W):W=c[24];let G;return c[25]!==P||c[26]!==I||c[27]!==C||c[28]!==L||c[29]!==R||c[30]!==z||c[31]!==V||c[32]!==H||c[33]!==U||c[34]!==D?(G=/* @__PURE__ */ m(k,{"data-slot":L,className:R,"data-validation":z,id:I,ref:D,...C,onBlur:V,...H,"aria-invalid":P,children:[U,W]}),c[25]=P,c[26]=I,c[27]=C,c[28]=L,c[29]=R,c[30]=z,c[31]=V,c[32]=H,c[33]=U,c[34]=D,c[35]=G):G=c[35],G},L=e=>{let n=l(11),r,i,a;n[0]===e?(r=n[1],i=n[2],a=n[3]):({className:r,ref:a,...i}=e,n[0]=e,n[1]=r,n[2]=i,n[3]=a);let o;n[4]===r?o=n[5]:(o=t(`flex cursor-default items-center justify-center py-1`,r),n[4]=r,n[5]=o);let c;n[6]===Symbol.for(`react.memo_cache_sentinel`)?(c=/* @__PURE__ */ p(s,{svg:/* @__PURE__ */ p(_,{weight:`bold`}),className:`size-4`}),n[6]=c):c=n[6];let u;return n[7]!==i||n[8]!==a||n[9]!==o?(u=/* @__PURE__ */ p(O,{ref:a,className:o,...i,children:c}),n[7]=i,n[8]=a,n[9]=o,n[10]=u):u=n[10],u},R=e=>{let n=l(11),r,i,a;n[0]===e?(r=n[1],i=n[2],a=n[3]):({className:r,ref:a,...i}=e,n[0]=e,n[1]=r,n[2]=i,n[3]=a);let o;n[4]===r?o=n[5]:(o=t(`flex cursor-default items-center justify-center py-1`,r),n[4]=r,n[5]=o);let c;n[6]===Symbol.for(`react.memo_cache_sentinel`)?(c=/* @__PURE__ */ p(s,{svg:/* @__PURE__ */ p(u,{weight:`bold`}),className:`size-4`}),n[6]=c):c=n[6];let d;return n[7]!==i||n[8]!==a||n[9]!==o?(d=/* @__PURE__ */ p(D,{ref:a,className:o,...i,children:c}),n[7]=i,n[8]=a,n[9]=o,n[10]=d):d=n[10],d},z={Root:N,Content:e=>{let i=l(31),a,o,s,c,u,d,f;i[0]===e?(a=i[1],o=i[2],s=i[3],c=i[4],u=i[5],d=i[6],f=i[7]):({className:o,children:a,"data-slot":s,position:d,ref:u,width:f,...c}=e,i[0]=e,i[1]=a,i[2]=o,i[3]=s,i[4]=c,i[5]=u,i[6]=d,i[7]=f);let h=d===void 0?`popper`:d,g=f===void 0?`trigger`:f,_=r(),y;i[8]===s?y=i[9]:(y=n(s,`select-content`),i[8]=s,i[9]=y);let b=h===`popper`&&`data-side-bottom:translate-y-2 data-side-left:-translate-x-2 data-side-right:translate-x-2 data-side-top:-translate-y-2 max-h-(--radix-select-content-available-height)`,x=g===`trigger`&&`w-(--radix-select-trigger-width)`,S;i[10]!==o||i[11]!==b||i[12]!==x?(S=t(`border-popover data-side-bottom:slide-in-from-top-1 data-side-left:slide-in-from-right-1 data-side-right:slide-in-from-left-1 data-side-top:slide-in-from-bottom-1 data-side-bottom:slide-out-to-top-1 data-side-left:slide-out-to-right-1 data-side-right:slide-out-to-left-1 data-side-top:slide-out-to-bottom-1 duration-200 ease-out-strong data-state-closed:duration-150 data-state-closed:animate-out data-state-closed:fade-out-0 data-state-closed:zoom-out-95 data-state-open:animate-in data-state-open:fade-in-0 data-state-open:zoom-in-95 motion-reduce:animate-none! relative z-50 max-h-96 min-w-32 overflow-hidden rounded-md border shadow-md`,`bg-popover font-sans`,b,x,o),i[10]=o,i[11]=b,i[12]=x,i[13]=S):S=i[13];let C;i[14]===Symbol.for(`react.memo_cache_sentinel`)?(C=/* @__PURE__ */ p(L,{}),i[14]=C):C=i[14];let w=h===`popper`&&`h-(--radix-select-trigger-height) w-full`,E;i[15]===w?E=i[16]:(E=t(`p-1 space-y-px`,w),i[15]=w,i[16]=E);let D;i[17]!==a||i[18]!==E?(D=/* @__PURE__ */ p(j,{className:E,children:a}),i[17]=a,i[18]=E,i[19]=D):D=i[19];let O;i[20]===Symbol.for(`react.memo_cache_sentinel`)?(O=/* @__PURE__ */ p(R,{}),i[20]=O):O=i[20];let k;i[21]!==h||i[22]!==c||i[23]!==u||i[24]!==D||i[25]!==y||i[26]!==S?(k=/* @__PURE__ */ m(v,{ref:u,"data-slot":y,className:S,position:h,...c,children:[C,D,O]}),i[21]=h,i[22]=c,i[23]=u,i[24]=D,i[25]=y,i[26]=S,i[27]=k):k=i[27];let A;return i[28]!==_||i[29]!==k?(A=/* @__PURE__ */ p(T,{container:_,children:k}),i[28]=_,i[29]=k,i[30]=A):A=i[30],A},Group:P,Item:e=>{let r=l(28),i,a,o,c,u,d,f;r[0]===e?(i=r[1],a=r[2],o=r[3],c=r[4],u=r[5],d=r[6],f=r[7]):({className:a,children:i,"data-slot":o,icon:c,ref:d,translate:f,...u}=e,r[0]=e,r[1]=i,r[2]=a,r[3]=o,r[4]=c,r[5]=u,r[6]=d,r[7]=f);let _;r[8]===o?_=r[9]:(_=n(o,`select-item`),r[8]=o,r[9]=_);let v;r[10]===a?v=r[11]:(v=t(`relative flex gap-2 w-full cursor-pointer select-none items-center rounded-md py-1.5 pl-2 pr-8 text-strong text-sm outline-hidden`,`focus:bg-active-menu-item`,`data-disabled:pointer-events-none data-disabled:opacity-50`,`data-state-checked:bg-selected-menu-item`,`focus:data-state-checked:bg-active-selected-menu-item`,a),r[10]=a,r[11]=v);let y;r[12]===c?y=r[13]:(y=c&&/* @__PURE__ */ p(s,{svg:c}),r[12]=c,r[13]=y);let b;r[14]===f?b=r[15]:(b=e=>/* @__PURE__ */ p(C,{children:/* @__PURE__ */ p(`span`,{"data-slot":`select-item-label`,className:`contents`,translate:f,children:e})}),r[14]=f,r[15]=b);let w;r[16]!==i||r[17]!==b?(w=/* @__PURE__ */ p(h,{child:i,children:b}),r[16]=i,r[17]=b,r[18]=w):w=r[18];let T;r[19]===Symbol.for(`react.memo_cache_sentinel`)?(T=/* @__PURE__ */ p(S,{className:`absolute right-2 flex h-3.5 w-3.5 items-center justify-center`,children:/* @__PURE__ */ p(s,{svg:/* @__PURE__ */ p(g,{weight:`bold`}),className:`size-4 text-accent-600`})}),r[19]=T):T=r[19];let E;return r[20]!==u||r[21]!==d||r[22]!==_||r[23]!==v||r[24]!==y||r[25]!==w||r[26]!==f?(E=/* @__PURE__ */ m(x,{ref:d,"data-slot":_,translate:f,className:v,...u,children:[y,w,T]}),r[20]=u,r[21]=d,r[22]=_,r[23]=v,r[24]=y,r[25]=w,r[26]=f,r[27]=E):E=r[27],E},Label:e=>{let r=l(14),i,a,o,s;r[0]===e?(i=r[1],a=r[2],o=r[3],s=r[4]):({className:i,"data-slot":a,ref:s,...o}=e,r[0]=e,r[1]=i,r[2]=a,r[3]=o,r[4]=s);let c;r[5]===a?c=r[6]:(c=n(a,`select-label`),r[5]=a,r[6]=c);let u;r[7]===i?u=r[8]:(u=t(`px-2 py-1.5 text-sm font-medium`,i),r[7]=i,r[8]=u);let d;return r[9]!==o||r[10]!==s||r[11]!==c||r[12]!==u?(d=/* @__PURE__ */ p(w,{ref:s,"data-slot":c,className:u,...o}),r[9]=o,r[10]=s,r[11]=c,r[12]=u,r[13]=d):d=r[13],d},Separator:e=>{let r=l(14),i,a,o,s;r[0]===e?(i=r[1],a=r[2],o=r[3],s=r[4]):({className:i,"data-slot":a,ref:s,...o}=e,r[0]=e,r[1]=i,r[2]=a,r[3]=o,r[4]=s);let u;r[5]===a?u=r[6]:(u=n(a,`select-separator`),r[5]=a,r[6]=u);let d;r[7]===i?d=r[8]:(d=t(`-mx-1 my-1 h-px w-auto`,i),r[7]=i,r[8]=d);let f;return r[9]!==o||r[10]!==s||r[11]!==u||r[12]!==d?(f=/* @__PURE__ */ p(c,{ref:s,"data-slot":u,className:d,...o}),r[9]=o,r[10]=s,r[11]=u,r[12]=d,r[13]=f):f=r[13],f},Trigger:I,Value:F};function B(e){return/* @__PURE__ */ p(`span`,{"data-slot":`select-trigger-label`,className:`contents`,children:e})}export{z as t};
@@ -1 +0,0 @@
1
- import{t as e}from"./cx-CK7o_rVv.js";import{t}from"./data-slot-EM6s2WEU.js";import{t as n}from"./slot-DdYN1L1C.js";import{c as r}from"react/compiler-runtime";import{createContext as i,useContext as a}from"react";import{jsx as o}from"react/jsx-runtime";const s=[`horizontal`,`vertical`],c=i({}),l={orientation:`horizontal`},u=i=>{let a=r(16),s,u,d,f,p;a[0]===i?(s=a[1],u=a[2],d=a[3],f=a[4],p=a[5]):({"data-slot":f,className:d,children:u,asChild:s,...p}=i,a[0]=i,a[1]=s,a[2]=u,a[3]=d,a[4]=f,a[5]=p);let m=s?n:`div`,h;a[6]===f?h=a[7]:(h=t(f,`horizontal-separator-group`),a[6]=f,a[7]=h);let g;a[8]===d?g=a[9]:(g=e(`group flex items-center gap-2 [&>*:not([data-separator])]:shrink-0`,d),a[8]=d,a[9]=g);let _;return a[10]!==m||a[11]!==u||a[12]!==p||a[13]!==h||a[14]!==g?(_=/* @__PURE__ */ o(c.Provider,{value:l,children:/* @__PURE__ */ o(m,{"data-slot":h,"data-horizontal-separator-group":!0,className:g,...p,children:u})}),a[10]=m,a[11]=u,a[12]=p,a[13]=h,a[14]=g,a[15]=_):_=a[15],_},d=i=>{let s=r(32),l,u,d,p,m,h,g,_;s[0]===i?(l=s[1],u=s[2],d=s[3],p=s[4],m=s[5],h=s[6],g=s[7],_=s[8]):({"data-slot":d,asChild:g,children:l,className:u,orientation:p,ref:h,semantic:_,...m}=i,s[0]=i,s[1]=l,s[2]=u,s[3]=d,s[4]=p,s[5]=m,s[6]=h,s[7]=g,s[8]=_);let v=g!==void 0&&g,y=_!==void 0&&_,b=v?n:`div`,x=a(c),S;s[9]!==x.orientation||s[10]!==p?(S=x.orientation??(f(p)?p:`horizontal`),s[9]=x.orientation,s[10]=p,s[11]=S):S=s[11];let C=S,w=C===`vertical`?C:void 0,T;s[12]!==w||s[13]!==y?(T=y?{"aria-orientation":w,role:`separator`}:{role:`none`},s[12]=w,s[13]=y,s[14]=T):T=s[14];let E=T,D;s[15]===d?D=s[16]:(D=t(d,`separator`),s[15]=d,s[16]=D);let O=C===`horizontal`?`h-px w-full group-data-horizontal-separator-group:flex-1`:`h-full w-px`,k;s[17]!==u||s[18]!==O?(k=e(`separator`,`bg-separator shrink-0`,O,u),s[17]=u,s[18]=O,s[19]=k):k=s[19];let A;s[20]!==v||s[21]!==l?(A=v?{children:l}:{},s[20]=v,s[21]=l,s[22]=A):A=s[22];let j;return s[23]!==b||s[24]!==C||s[25]!==m||s[26]!==h||s[27]!==E||s[28]!==D||s[29]!==k||s[30]!==A?(j=/* @__PURE__ */ o(b,{"data-slot":D,className:k,"data-orientation":C,"data-separator":!0,...E,ref:h,...A,...m}),s[23]=b,s[24]=C,s[25]=m,s[26]=h,s[27]=E,s[28]=D,s[29]=k,s[30]=A,s[31]=j):j=s[31],j};function f(e){return typeof e==`string`&&s.some(t=>t===e)}export{d as n,u as t};
@@ -1 +0,0 @@
1
- import{t as e}from"./use-prefers-reduced-motion-CU6mWmOe.js";function t(t){if(e()||typeof t.getAnimations!=`function`)return;let r=n(t);if(r!=null){r.currentTime=0;return}t.setAttribute(`data-shake`,``);let i=n(t),a=()=>t.removeAttribute(`data-shake`);i==null?a():i.finished.then(a,a)}function n(e){return e.getAnimations().find(e=>e instanceof CSSAnimation&&e.animationName===`shake`)}export{t};
@@ -1 +0,0 @@
1
- import{t as e}from"./cx-CK7o_rVv.js";import{t}from"./data-slot-EM6s2WEU.js";import{t as n}from"./layer-container-kEQiE4zV.js";import{t as r}from"./button-BWGUuWnu.js";import{a as i,c as a,i as o,l as s,n as c,o as l,r as u,s as d,t as f}from"./primitive-Dz9Al-us.js";import{c as p}from"react/compiler-runtime";import{jsx as m,jsxs as h}from"react/jsx-runtime";import{XIcon as g}from"@phosphor-icons/react/X";import{cva as _}from"class-variance-authority";const v=s();function y(){return v(void 0)}const b=e=>{let t=p(3),n=y(),r;return t[0]!==e||t[1]!==n?(r=/* @__PURE__ */ m(l,{...e,...n}),t[0]=e,t[1]=n,t[2]=r):r=t[2],r},x=e=>{let t=p(3),n=y(),r;return t[0]!==e||t[1]!==n?(r=/* @__PURE__ */ m(a,{...e,...n}),t[0]=e,t[1]=n,t[2]=r):r=t[2],r},S=e=>{let t=p(3),n=y(),r;return t[0]!==e||t[1]!==n?(r=/* @__PURE__ */ m(f,{...e,...n}),t[0]=e,t[1]=n,t[2]=r):r=t[2],r},C=e=>{let t=p(3),n=y(),r;return t[0]!==e||t[1]!==n?(r=/* @__PURE__ */ m(i,{...e,...n}),t[0]=e,t[1]=n,t[2]=r):r=t[2],r},w=n=>{let r=p(15),i,a,s,c;r[0]===n?(i=r[1],a=r[2],s=r[3],c=r[4]):({"data-slot":a,className:i,ref:c,...s}=n,r[0]=n,r[1]=i,r[2]=a,r[3]=s,r[4]=c);let l=y(),u;r[5]===a?u=r[6]:(u=t(a,`sheet-overlay`),r[5]=a,r[6]=u);let d;r[7]===i?d=r[8]:(d=e(`bg-overlay data-state-closed:animate-out data-state-closed:fade-out-0 data-state-open:animate-in data-state-open:fade-in-0 duration-200 ease-out-strong data-state-closed:duration-150 fixed inset-0 z-60 backdrop-blur-xs`,i),r[7]=i,r[8]=d);let f;return r[9]!==s||r[10]!==c||r[11]!==l||r[12]!==u||r[13]!==d?(f=/* @__PURE__ */ m(o,{"data-slot":u,className:d,...s,...l,ref:c}),r[9]=s,r[10]=c,r[11]=l,r[12]=u,r[13]=d,r[14]=f):f=r[14],f},T=_(`bg-dialog border-dialog inset-y-0 h-full w-full fixed flex flex-col shadow-lg outline-hidden focus-within:outline-hidden data-state-closed:animate-out data-state-open:animate-in duration-200 ease-out-strong data-state-closed:duration-150 motion-reduce:animate-none!`,{variants:{side:{left:`data-state-closed:slide-out-to-left data-state-open:slide-in-from-left left-0 border-r`,right:`data-state-closed:slide-out-to-right data-state-open:slide-in-from-right right-0 border-l`}},defaultVariants:{side:`right`}}),E={Root:b,Actions:n=>{let r=p(16),i,a,o,s,c;r[0]===n?(i=r[1],a=r[2],o=r[3],s=r[4],c=r[5]):({"data-slot":o,children:i,className:a,ref:c,...s}=n,r[0]=n,r[1]=i,r[2]=a,r[3]=o,r[4]=s,r[5]=c);let l;r[6]===o?l=r[7]:(l=t(o,`sheet-actions`),r[6]=o,r[7]=l);let u;r[8]===a?u=r[9]:(u=e(`flex h-full items-center gap-2`,a),r[8]=a,r[9]=u);let d;return r[10]!==i||r[11]!==s||r[12]!==c||r[13]!==l||r[14]!==u?(d=/* @__PURE__ */ m(`div`,{"data-slot":l,className:u,...s,ref:c,children:i}),r[10]=i,r[11]=s,r[12]=c,r[13]=l,r[14]=u,r[15]=d):d=r[15],d},Body:n=>{let r=p(12),i,a,o;r[0]===n?(i=r[1],a=r[2],o=r[3]):({"data-slot":a,className:i,...o}=n,r[0]=n,r[1]=i,r[2]=a,r[3]=o);let s;r[4]===a?s=r[5]:(s=t(a,`sheet-body`),r[4]=a,r[5]=s);let c;r[6]===i?c=r[7]:(c=e(`scrollbar scrollbar-gutter-stable text-body flex-1 overflow-y-auto p-6`,i),r[6]=i,r[7]=c);let l;return r[8]!==o||r[9]!==s||r[10]!==c?(l=/* @__PURE__ */ m(`div`,{"data-slot":s,className:c,...o}),r[8]=o,r[9]=s,r[10]=c,r[11]=l):l=r[11],l},Close:S,CloseIconButton:e=>{let n=p(22),i,a,o,s,c,l,u;n[0]===e?(i=n[1],a=n[2],o=n[3],s=n[4],c=n[5],l=n[6],u=n[7]):({"data-slot":i,size:o,type:s,label:c,appearance:l,intent:u,...a}=e,n[0]=e,n[1]=i,n[2]=a,n[3]=o,n[4]=s,n[5]=c,n[6]=l,n[7]=u);let d=o===void 0?`md`:o,h=s===void 0?`button`:s,_=c===void 0?`Close Sheet`:c,v=l===void 0?`ghost`:l,b=u===void 0?`neutral`:u,x=y(),S;n[8]===i?S=n[9]:(S=t(i,`sheet-close-icon-button`),n[8]=i,n[9]=S);let C;n[10]===Symbol.for(`react.memo_cache_sentinel`)?(C=/* @__PURE__ */ m(g,{}),n[10]=C):C=n[10];let w;n[11]!==v||n[12]!==b||n[13]!==_||n[14]!==a||n[15]!==d||n[16]!==S||n[17]!==h?(w=/* @__PURE__ */ m(r,{"data-slot":S,appearance:v,icon:C,intent:b,label:_,size:d,type:h,...a}),n[11]=v,n[12]=b,n[13]=_,n[14]=a,n[15]=d,n[16]=S,n[17]=h,n[18]=w):w=n[18];let T;return n[19]!==x||n[20]!==w?(T=/* @__PURE__ */ m(f,{asChild:!0,...x,children:w}),n[19]=x,n[20]=w,n[21]=T):T=n[21],T},Content:r=>{let i=p(22),a,o,s,l,u,d,f;i[0]===r?(a=i[1],o=i[2],s=i[3],l=i[4],u=i[5],d=i[6],f=i[7]):({"data-slot":s,children:a,className:o,preferredWidth:d,side:f,ref:u,...l}=r,i[0]=r,i[1]=a,i[2]=o,i[3]=s,i[4]=l,i[5]=u,i[6]=d,i[7]=f);let g=d===void 0?`sm:max-w-120`:d,_=f===void 0?`right`:f,v=y(),b;i[8]===Symbol.for(`react.memo_cache_sentinel`)?(b=/* @__PURE__ */ m(w,{}),i[8]=b):b=i[8];let x;i[9]===s?x=i[10]:(x=t(s,`sheet-content`),i[9]=s,i[10]=x);let S;i[11]!==o||i[12]!==g||i[13]!==_?(S=e(T({side:_}),g,o),i[11]=o,i[12]=g,i[13]=_,i[14]=S):S=i[14];let E;return i[15]!==a||i[16]!==l||i[17]!==u||i[18]!==v||i[19]!==x||i[20]!==S?(E=/* @__PURE__ */ h(C,{children:[b,/* @__PURE__ */ m(n,{"data-slot":`sheet-positioner`,className:`fixed z-60 motion-safe:not-has-[>[data-mantle-modal-content][data-state=open]]:animate-exit-hold`,children:/* @__PURE__ */ m(c,{"data-slot":x,"data-mantle-modal-content":!0,className:S,ref:u,...l,...v,children:a})})]}),i[15]=a,i[16]=l,i[17]=u,i[18]=v,i[19]=x,i[20]=S,i[21]=E):E=i[21],E},Description:n=>{let r=p(15),i,a,o,s;r[0]===n?(i=r[1],a=r[2],o=r[3],s=r[4]):({"data-slot":a,className:i,ref:s,...o}=n,r[0]=n,r[1]=i,r[2]=a,r[3]=o,r[4]=s);let c=y(),l;r[5]===a?l=r[6]:(l=t(a,`sheet-description`),r[5]=a,r[6]=l);let d;r[7]===i?d=r[8]:(d=e(`text-body text-sm`,i),r[7]=i,r[8]=d);let f;return r[9]!==o||r[10]!==s||r[11]!==c||r[12]!==l||r[13]!==d?(f=/* @__PURE__ */ m(u,{"data-slot":l,ref:s,className:d,...o,...c}),r[9]=o,r[10]=s,r[11]=c,r[12]=l,r[13]=d,r[14]=f):f=r[14],f},Footer:n=>{let r=p(12),i,a,o;r[0]===n?(i=r[1],a=r[2],o=r[3]):({"data-slot":a,className:i,...o}=n,r[0]=n,r[1]=i,r[2]=a,r[3]=o);let s;r[4]===a?s=r[5]:(s=t(a,`sheet-footer`),r[4]=a,r[5]=s);let c;r[6]===i?c=r[7]:(c=e(`border-dialog-muted flex shrink-0 justify-end gap-2 border-t px-6 py-2.5`,i),r[6]=i,r[7]=c);let l;return r[8]!==o||r[9]!==s||r[10]!==c?(l=/* @__PURE__ */ m(`div`,{"data-slot":s,className:c,...o}),r[8]=o,r[9]=s,r[10]=c,r[11]=l):l=r[11],l},Header:n=>{let r=p(12),i,a,o;r[0]===n?(i=r[1],a=r[2],o=r[3]):({"data-slot":a,className:i,...o}=n,r[0]=n,r[1]=i,r[2]=a,r[3]=o);let s;r[4]===a?s=r[5]:(s=t(a,`sheet-header`),r[4]=a,r[5]=s);let c;r[6]===i?c=r[7]:(c=e(`border-dialog-muted flex shrink-0 flex-col gap-2 border-b py-4 pl-6 pr-4`,`has-[.icon-button]:pr-4`,i),r[6]=i,r[7]=c);let l;return r[8]!==o||r[9]!==s||r[10]!==c?(l=/* @__PURE__ */ m(`div`,{"data-slot":s,className:c,...o}),r[8]=o,r[9]=s,r[10]=c,r[11]=l):l=r[11],l},Title:n=>{let r=p(15),i,a,o,s;r[0]===n?(i=r[1],a=r[2],o=r[3],s=r[4]):({"data-slot":a,className:i,ref:s,...o}=n,r[0]=n,r[1]=i,r[2]=a,r[3]=o,r[4]=s);let c=y(),l;r[5]===a?l=r[6]:(l=t(a,`sheet-title`),r[5]=a,r[6]=l);let u;r[7]===i?u=r[8]:(u=e(`text-strong flex-1 truncate text-lg font-medium`,i),r[7]=i,r[8]=u);let f;return r[9]!==o||r[10]!==s||r[11]!==c||r[12]!==l||r[13]!==u?(f=/* @__PURE__ */ m(d,{"data-slot":l,ref:s,className:u,...o,...c}),r[9]=o,r[10]=s,r[11]=c,r[12]=l,r[13]=u,r[14]=f):f=r[14],f},TitleGroup:n=>{let r=p(16),i,a,o,s,c;r[0]===n?(i=r[1],a=r[2],o=r[3],s=r[4],c=r[5]):({"data-slot":o,children:i,className:a,ref:c,...s}=n,r[0]=n,r[1]=i,r[2]=a,r[3]=o,r[4]=s,r[5]=c);let l;r[6]===o?l=r[7]:(l=t(o,`sheet-title-group`),r[6]=o,r[7]=l);let u;r[8]===a?u=r[9]:(u=e(`flex items-center justify-between gap-2`,a),r[8]=a,r[9]=u);let d;return r[10]!==i||r[11]!==s||r[12]!==c||r[13]!==l||r[14]!==u?(d=/* @__PURE__ */ m(`div`,{"data-slot":l,className:u,...s,ref:c,children:i}),r[10]=i,r[11]=s,r[12]=c,r[13]=l,r[14]=u,r[15]=d):d=r[15],d},Trigger:x};export{E as t};
@@ -1 +0,0 @@
1
- import{t as e}from"./cx-CK7o_rVv.js";import{t}from"./data-slot-EM6s2WEU.js";import{t as n}from"./slot-DdYN1L1C.js";import{c as r}from"react/compiler-runtime";import{jsx as i}from"react/jsx-runtime";const a=a=>{let o=r(16),s,c,l,u,d;o[0]===a?(s=o[1],c=o[2],l=o[3],u=o[4],d=o[5]):({"data-slot":c,asChild:d,className:s,ref:u,...l}=a,o[0]=a,o[1]=s,o[2]=c,o[3]=l,o[4]=u,o[5]=d);let f=d!==void 0&&d?n:`div`,p;o[6]===c?p=o[7]:(p=t(c,`skeleton`),o[6]=c,o[7]=p);let m;o[8]===s?m=o[9]:(m=e(`h-4 animate-pulse rounded-md bg-gray-300/25 dark:bg-gray-950/10`,s),o[8]=s,o[9]=m);let h;return o[10]!==f||o[11]!==l||o[12]!==u||o[13]!==p||o[14]!==m?(h=/* @__PURE__ */ i(f,{"data-slot":p,"aria-hidden":!0,className:m,ref:u,...l}),o[10]=f,o[11]=l,o[12]=u,o[13]=p,o[14]=m,o[15]=h):h=o[15],h};export{a as t};
@@ -1,67 +0,0 @@
1
- import { t as WithStyleProps } from "./with-style-props-CuT30s0W.js";
2
- import { t as WithDataSlot } from "./data-slot-B-LqAcBB.js";
3
- import { CSSProperties, ComponentProps, HTMLAttributes } from "react";
4
- /**
5
- * A `className` or `style` the child resolves itself, from state only the child
6
- * knows — react-router's `NavLink` calls it with
7
- * `{ isActive, isPending, isTransitioning }`, another component with something else
8
- * entirely. `Slot` never invents arguments for one and never inspects them; it
9
- * forwards the ones the child supplied, so they are typed `unknown`.
10
- */
11
- type RenderProp<TValue> = (...args: unknown[]) => TValue | undefined;
12
- /**
13
- * Radix's `Slot`, retyped to carry a composed render prop. `createSlot`'s props
14
- * generic is Radix's own way to type a slot whose child is not a DOM element; it
15
- * replaces the default `HTMLAttributes` rather than extending it, so the DOM
16
- * attributes are re-added here minus the two props composed above.
17
- */
18
- declare const SlotPrimitive: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLElement>, "className" | "style"> & WithDataSlot & {
19
- className?: string | RenderProp<string>;
20
- style?: CSSProperties | RenderProp<CSSProperties>;
21
- } & {
22
- children?: import("react").ReactNode | undefined;
23
- } & import("react").RefAttributes<HTMLElement>>;
24
- /**
25
- * `Slot`'s own `className` and `style` stay plain values. A render prop is only
26
- * meaningful on the child that knows how to call it, so accepting one here would
27
- * admit a value nothing ever resolves.
28
- */
29
- type Props = Omit<ComponentProps<typeof SlotPrimitive>, "className" | "style"> & WithStyleProps;
30
- /**
31
- * Merges its props onto its immediate child. This is useful for creating
32
- * components that can be rendered as different elements. Automatically merges
33
- * className props using `cx` for proper Tailwind class handling, and
34
- * concatenates `data-slot` values in DOM order (the composing parent's slot
35
- * chain first, then the child's own) so `asChild` composition accumulates the
36
- * whole slot chain instead of one side clobbering the other.
37
- *
38
- * A child that resolves its own `className` or `style` from state only it knows —
39
- * react-router's `NavLink`, whose `className` may be `({ isActive }) => …` — keeps
40
- * that behavior: the merge composes a function of the same shape, which forwards
41
- * the child's arguments to the child's function and merges the resolved value with
42
- * the slot's classes or style. `Slot` never calls it, so it needs to know nothing
43
- * about the arguments:
44
- *
45
- * ```tsx
46
- * <Sidebar.ItemButton asChild>
47
- * <NavLink className={({ isActive }) => (isActive ? "font-medium" : undefined)} to="/endpoints">
48
- * Endpoints
49
- * </NavLink>
50
- * </Sidebar.ItemButton>
51
- * ```
52
- *
53
- * A function `children` is forwarded to the child as-is.
54
- *
55
- * @useWhen Merge the props of a part onto its one child element, to build an `asChild` prop.
56
- *
57
- * @see https://mantle.ngrok.com/components/primitives/slot
58
- *
59
- * @example
60
- * ```tsx
61
- * <Slot className="custom-class">
62
- * <a href="/">Home</a>
63
- * </Slot>
64
- * ```
65
- */
66
- declare const Slot: ({ children, className, "data-slot": dataSlot, ref, style, ...props }: Props) => string | number | bigint | boolean | import("react").JSX.Element | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | Iterable<import("react").ReactNode> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ReactPortal | null | undefined> | null | undefined;
67
- export { Slot as t };
@@ -1 +0,0 @@
1
- import{t as e}from"./cx-CK7o_rVv.js";import{t}from"./data-slot-EM6s2WEU.js";import{c as n}from"react/compiler-runtime";import{Children as r,createElement as i,isValidElement as a}from"react";import{jsx as o}from"react/jsx-runtime";import{createSlot as s}from"@radix-ui/react-slot";const c=s(`Slot`);function l(t,n){return typeof n==`function`?(...r)=>e(t,n(...r)):e(t,n)}function u(e,t){return typeof t==`function`?(...n)=>({...e,...t(...n)}):e==null?t:t==null?e:{...e,...t}}const d=e=>{let s=n(36),d,f,p,m,h,g;if(s[0]===e?(d=s[1],f=s[2],p=s[3],m=s[4],h=s[5],g=s[6]):({children:d,className:f,"data-slot":p,ref:h,style:g,...m}=e,s[0]=e,s[1]=d,s[2]=f,s[3]=p,s[4]=m,s[5]=h,s[6]=g),!a(d)){let e;return s[7]===d?e=s[8]:(e=r.only(d),s[7]=d,s[8]=e),e}let _,v,y,b,x,S;if(s[9]!==d.key||s[10]!==d.props||s[11]!==d.type||s[12]!==f||s[13]!==p||s[14]!==m||s[15]!==h||s[16]!==g){let{className:e,style:n,"data-slot":r,...a}=d.props,o=t(p,r);_=c,v=h,y=m,s[23]!==e||s[24]!==f?(b=l(f,e),s[23]=e,s[24]=f,s[25]=b):b=s[25],s[26]!==n||s[27]!==g?(x=u(g,n),s[26]=n,s[27]=g,s[28]=x):x=s[28],S=i(d.type,{...a,...o!=null&&{"data-slot":o},key:d.key??void 0}),s[9]=d.key,s[10]=d.props,s[11]=d.type,s[12]=f,s[13]=p,s[14]=m,s[15]=h,s[16]=g,s[17]=_,s[18]=v,s[19]=y,s[20]=b,s[21]=x,s[22]=S}else _=s[17],v=s[18],y=s[19],b=s[20],x=s[21],S=s[22];let C;return s[29]!==_||s[30]!==v||s[31]!==y||s[32]!==b||s[33]!==x||s[34]!==S?(C=/* @__PURE__ */ o(_,{ref:v,...y,className:b,style:x,children:S}),s[29]=_,s[30]=v,s[31]=y,s[32]=b,s[33]=x,s[34]=S,s[35]=C):C=s[35],C};export{d as t};
@@ -1 +0,0 @@
1
- import{n as e}from"./compose-refs-sFdxsL7k.js";import{t}from"./cx-CK7o_rVv.js";import{t as n}from"./data-slot-EM6s2WEU.js";import{c as r}from"react/compiler-runtime";import{useLayoutEffect as i,useRef as a,useState as o}from"react";import{jsx as s}from"react/jsx-runtime";import{flushSync as c}from"react-dom";const l={Body:e=>{let i=r(16),a,o,c,l,u;i[0]===e?(a=i[1],o=i[2],c=i[3],l=i[4],u=i[5]):({"data-slot":c,children:a,className:o,ref:u,...l}=e,i[0]=e,i[1]=a,i[2]=o,i[3]=c,i[4]=l,i[5]=u);let d;i[6]===c?d=i[7]:(d=n(c,`table-body`),i[6]=c,i[7]=d);let f;i[8]===o?f=i[9]:(f=t(`[&>tr+tr>*]:border-t [&>tr+tr>*]:border-card-muted`,`text-body`,`[&>tr]:bg-card [&>tr]:not-only:hover:bg-card-hover [&>tr]:not-only:has-focus-visible:bg-card-hover`,o),i[8]=o,i[9]=f);let p;return i[10]!==a||i[11]!==l||i[12]!==u||i[13]!==d||i[14]!==f?(p=/* @__PURE__ */ s(`tbody`,{"data-slot":d,className:f,ref:u,...l,children:a}),i[10]=a,i[11]=l,i[12]=u,i[13]=d,i[14]=f,i[15]=p):p=i[15],p},Caption:e=>{let i=r(16),a,o,c,l,u;i[0]===e?(a=i[1],o=i[2],c=i[3],l=i[4],u=i[5]):({"data-slot":c,children:a,className:o,ref:u,...l}=e,i[0]=e,i[1]=a,i[2]=o,i[3]=c,i[4]=l,i[5]=u);let d;i[6]===c?d=i[7]:(d=n(c,`table-caption`),i[6]=c,i[7]=d);let f;i[8]===o?f=i[9]:(f=t(`py-4 text-sm text-gray-500`,`border-t border-card-muted`,o),i[8]=o,i[9]=f);let p;return i[10]!==a||i[11]!==l||i[12]!==u||i[13]!==d||i[14]!==f?(p=/* @__PURE__ */ s(`caption`,{"data-slot":d,ref:u,className:f,...l,children:a}),i[10]=a,i[11]=l,i[12]=u,i[13]=d,i[14]=f,i[15]=p):p=i[15],p},Cell:e=>{let i=r(16),a,o,c,l,u;i[0]===e?(a=i[1],o=i[2],c=i[3],l=i[4],u=i[5]):({"data-slot":c,children:a,className:o,ref:u,...l}=e,i[0]=e,i[1]=a,i[2]=o,i[3]=c,i[4]=l,i[5]=u);let d;i[6]===c?d=i[7]:(d=n(c,`table-cell`),i[6]=c,i[7]=d);let f;i[8]===o?f=i[9]:(f=t(`p-3 align-middle has-[[role=checkbox]]:pr-0 font-mono text-mono`,o),i[8]=o,i[9]=f);let p;return i[10]!==a||i[11]!==l||i[12]!==u||i[13]!==d||i[14]!==f?(p=/* @__PURE__ */ s(`td`,{"data-slot":d,ref:u,className:f,...l,children:a}),i[10]=a,i[11]=l,i[12]=u,i[13]=d,i[14]=f,i[15]=p):p=i[15],p},Element:e=>{let i=r(16),a,o,c,l,u;i[0]===e?(a=i[1],o=i[2],c=i[3],l=i[4],u=i[5]):({"data-slot":c,children:a,className:o,ref:u,...l}=e,i[0]=e,i[1]=a,i[2]=o,i[3]=c,i[4]=l,i[5]=u);let d;i[6]===c?d=i[7]:(d=n(c,`table-element`),i[6]=c,i[7]=d);let f;i[8]===o?f=i[9]:(f=t(`table-auto border-separate border-spacing-0 caption-bottom w-full min-w-full text-left`,o),i[8]=o,i[9]=f);let p;return i[10]!==a||i[11]!==l||i[12]!==u||i[13]!==d||i[14]!==f?(p=/* @__PURE__ */ s(`table`,{"data-slot":d,ref:u,className:f,...l,children:a}),i[10]=a,i[11]=l,i[12]=u,i[13]=d,i[14]=f,i[15]=p):p=i[15],p},Foot:e=>{let i=r(16),a,o,c,l,u;i[0]===e?(a=i[1],o=i[2],c=i[3],l=i[4],u=i[5]):({"data-slot":c,children:a,className:o,ref:u,...l}=e,i[0]=e,i[1]=a,i[2]=o,i[3]=c,i[4]=l,i[5]=u);let d;i[6]===c?d=i[7]:(d=n(c,`table-foot`),i[6]=c,i[7]=d);let f;i[8]===o?f=i[9]:(f=t(`font-medium text-body`,`[&>tr:first-child>*]:border-t [&>tr:first-child>*]:border-card-muted`,`[&>tr+tr>*]:border-t [&>tr+tr>*]:border-card-muted`,`[&>tr]:bg-gray-50/50 [&>tr]:hover:bg-card-hover`,o),i[8]=o,i[9]=f);let p;return i[10]!==a||i[11]!==l||i[12]!==u||i[13]!==d||i[14]!==f?(p=/* @__PURE__ */ s(`tfoot`,{"data-slot":d,ref:u,className:f,...l,children:a}),i[10]=a,i[11]=l,i[12]=u,i[13]=d,i[14]=f,i[15]=p):p=i[15],p},Head:e=>{let i=r(16),a,o,c,l,u;i[0]===e?(a=i[1],o=i[2],c=i[3],l=i[4],u=i[5]):({"data-slot":c,children:a,className:o,ref:u,...l}=e,i[0]=e,i[1]=a,i[2]=o,i[3]=c,i[4]=l,i[5]=u);let d;i[6]===c?d=i[7]:(d=n(c,`table-head`),i[6]=c,i[7]=d);let f;i[8]===o?f=i[9]:(f=t(`[&>tr:last-child>*]:border-b [&>tr:last-child>*]:border-card-muted`,`[&>tr+tr>*]:border-t [&>tr+tr>*]:border-card-muted`,`text-muted bg-base`,`[&>tr]:bg-base`,o),i[8]=o,i[9]=f);let p;return i[10]!==a||i[11]!==l||i[12]!==u||i[13]!==d||i[14]!==f?(p=/* @__PURE__ */ s(`thead`,{"data-slot":d,ref:u,className:f,...l,children:a}),i[10]=a,i[11]=l,i[12]=u,i[13]=d,i[14]=f,i[15]=p):p=i[15],p},Header:e=>{let i=r(18),a,o,c,l,u,d;i[0]===e?(a=i[1],o=i[2],c=i[3],l=i[4],u=i[5],d=i[6]):({"data-slot":c,children:a,className:o,ref:u,scope:d,...l}=e,i[0]=e,i[1]=a,i[2]=o,i[3]=c,i[4]=l,i[5]=u,i[6]=d);let f=d===void 0?`col`:d,p;i[7]===c?p=i[8]:(p=n(c,`table-header`),i[7]=c,i[8]=p);let m;i[9]===o?m=i[10]:(m=t(`h-11 px-3 text-left align-middle text-sm font-medium has-[[role=checkbox]]:pr-0`,o),i[9]=o,i[10]=m);let h;return i[11]!==a||i[12]!==l||i[13]!==u||i[14]!==f||i[15]!==p||i[16]!==m?(h=/* @__PURE__ */ s(`th`,{"data-slot":p,ref:u,scope:f,className:m,...l,children:a}),i[11]=a,i[12]=l,i[13]=u,i[14]=f,i[15]=p,i[16]=m,i[17]=h):h=i[17],h},Root:i=>{let a=r(22),o,c,l,d,f;a[0]===i?(o=a[1],c=a[2],l=a[3],d=a[4],f=a[5]):({"data-slot":l,children:o,className:c,ref:f,...d}=i,a[0]=i,a[1]=o,a[2]=c,a[3]=l,a[4]=d,a[5]=f);let p=u(),m=e(p.ref,f),h;a[6]===l?h=a[7]:(h=n(l,`table`),a[6]=l,a[7]=h);let g;a[8]===c?g=a[9]:(g=t(`group/table relative w-full overflow-hidden rounded-lg border border-card bg-white dark:bg-gray-100`,c),a[8]=c,a[9]=g);let _=p.state.hasOverflow&&!p.state.scrolledToEnd||void 0,v=p.state.hasOverflow,y=p.state.hasOverflow&&p.state.scrolledToEnd,b;a[10]===Symbol.for(`react.memo_cache_sentinel`)?(b=t(`scrollbar scroll-fade-x overflow-x-auto overflow-y-clip overscroll-x-none`,`has-data-mantle-table-sticky-right:[--_fade-right:black]`),a[10]=b):b=a[10];let x;a[11]!==o||a[12]!==m?(x=/* @__PURE__ */ s(`div`,{className:b,ref:m,children:o}),a[11]=o,a[12]=m,a[13]=x):x=a[13];let S;return a[14]!==p.state.hasOverflow||a[15]!==d||a[16]!==h||a[17]!==g||a[18]!==_||a[19]!==y||a[20]!==x?(S=/* @__PURE__ */ s(`div`,{"data-slot":h,className:g,"data-sticky-active":_,"data-x-overflow":v,"data-x-scroll-end":y,...d,children:x}),a[14]=p.state.hasOverflow,a[15]=d,a[16]=h,a[17]=g,a[18]=_,a[19]=y,a[20]=x,a[21]=S):S=a[21],S},Row:e=>{let t=r(12),i,a,o,c;t[0]===e?(i=t[1],a=t[2],o=t[3],c=t[4]):({"data-slot":a,children:i,ref:c,...o}=e,t[0]=e,t[1]=i,t[2]=a,t[3]=o,t[4]=c);let l;t[5]===a?l=t[6]:(l=n(a,`table-row`),t[5]=a,t[6]=l);let u;return t[7]!==i||t[8]!==o||t[9]!==c||t[10]!==l?(u=/* @__PURE__ */ s(`tr`,{"data-slot":l,ref:c,...o,children:i}),t[7]=i,t[8]=o,t[9]=c,t[10]=l,t[11]=u):u=t[11],u}};function u(){let e=r(5),t=a(null),n;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(n={hasOverflow:!1,scrolledToStart:!0,scrolledToEnd:!1},e[0]=n):n=e[0];let[s,l]=o(n),u,d;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(u=()=>{let e=t.current;if(!e)return;let n=0,r=()=>{let t=e.scrollWidth>e.clientWidth,n=e.scrollLeft<1,r=Math.abs(e.scrollWidth-e.scrollLeft-e.clientWidth)<1;l(e=>e.hasOverflow!==t||e.scrolledToStart!==n||e.scrolledToEnd!==r?{hasOverflow:t,scrolledToStart:n,scrolledToEnd:r}:e)},i=()=>{n===0&&(n=requestAnimationFrame(()=>{n=0,r()}))},a=new ResizeObserver(()=>{c(r)});a.observe(e);let o=new MutationObserver(i);return o.observe(e,{childList:!0,subtree:!0}),e.addEventListener(`scroll`,i,{passive:!0}),()=>{cancelAnimationFrame(n),a.disconnect(),o.disconnect(),e.removeEventListener(`scroll`,i)}},d=[],e[1]=u,e[2]=d):(u=e[1],d=e[2]),i(u,d);let f;return e[3]===s?f=e[4]:(f={ref:t,state:s},e[3]=s,e[4]=f),f}export{l as t};
@@ -1 +0,0 @@
1
- import{t as e}from"./use-matches-media-query-m860lols.js";import{n as t,t as n}from"./cookie-ca4g5CKp.js";import{t as r}from"./cx-CK7o_rVv.js";import{n as i}from"./browser-only-BTSrYWLj.js";import{t as a}from"./use-prefers-reduced-motion-CU6mWmOe.js";import{c as o}from"react/compiler-runtime";import{createContext as s,useContext as c,useEffect as l,useRef as u,useState as d}from"react";import f from"tiny-invariant";import{jsx as p}from"react/jsx-runtime";import{flushSync as m}from"react-dom";let h=null;function g(e,{origin:t}={}){if(typeof document.startViewTransition!=`function`||a()||document.visibilityState!==`visible`){e();return}if(h!=null){h.skipTransition(),h.updateCallbackDone.finally(()=>_(e));return}let n=document.documentElement,r={width:window.innerWidth,height:window.innerHeight},i=S(x(t,r),r),o=y(),s=[n,...document.querySelectorAll(`[data-slot~="dialog-overlay"], [data-slot~="dialog-content"], [data-slot~="dialog-positioner"], [data-slot~="dropdown-menu-content"], [data-slot~="dropdown-menu-sub-content"]`)];for(let e of s)e.dataset.themeTransition=``;let c=document.startViewTransition(()=>{o&&(n.dataset.themeTransitionMany=``),_(e)});h=c;function l(e){if(e.target!==n)return;c.skipTransition();let t=document.elementFromPoint(e.clientX,e.clientY);t!=null&&t!==n&&t.dispatchEvent(new MouseEvent(`click`,e))}document.addEventListener(`click`,l,{capture:!0});let u=c.ready.then(()=>n.animate({clipPath:[i.from,i.to]},{duration:400,easing:`ease-out`,pseudoElement:`::view-transition-new(root)`}),()=>void 0),d=async()=>{(await u)?.cancel(),document.removeEventListener(`click`,l,{capture:!0}),h=null,delete n.dataset.themeTransitionMany;for(let e of s)delete e.dataset.themeTransition};c.finished.finally(()=>{d()})}function _(e){if(m(e),!document.documentElement.hasAttribute(`data-theme-transition-many`))for(let e of document.getAnimations())e instanceof CSSTransition&&!v(e)&&e.cancel()}function v(e){return(e.effect instanceof KeyframeEffect?e.effect.target:null)?.parentElement?.closest(`[data-slot~="theme-switcher"], [data-slot~="theme-switcher-icon"]`)!=null}function y(){let e=document.getElementsByTagName(`*`),t=Math.max(1,Math.floor(e.length/256)),n=0;for(let r=0;r<e.length;r+=t){let i=e[r+Math.floor(Math.random()*t)];i!=null&&b(i)&&(n+=1)}return n*t>2e3}function b(e){return getComputedStyle(e).transitionDuration.split(`,`).some(e=>Number.parseFloat(e)>0)}function x(e,t){let n=document.activeElement,r=e??(n!=null&&n!==document.body?n:void 0);return r==null?{left:t.width/2,top:t.height/2,width:0,height:0}:r.getBoundingClientRect()}function S(e,t){let n=e.left+e.width/2,r=e.top+e.height/2,i=Math.hypot(Math.max(n,t.width-n),Math.max(r,t.height-r)),a=`at ${n}px ${r}px`;return{from:`circle(0px ${a})`,to:`circle(${Math.round(i*100)/100}px ${a})`}}const C=[`light`,`dark`],w=[`system`,...C],T=e=>e;function E(e){return typeof e==`string`&&w.some(t=>t===e)}const ee=e=>e;function D(e){return typeof e==`string`&&C.some(t=>t===e)}function O({theme:e,prefersDarkMode:t}){let n=t?`dark`:`light`,r=(e===`system`?n:e)===`dark`?`light`:`dark`;return r===n?`system`:r}const k=`(prefers-color-scheme: dark)`,A=`mantle-ui-theme`,j=`system`,M={system:`system`,light:`light`,dark:`dark`,"light-high-contrast":`light`,"dark-high-contrast":`dark`},N=s(null),P=s(void 0);function F(e){let n=o(19),{children:r,forceTheme:a,ssrCookie:s}=e,c;n[0]!==a||n[1]!==s?(c=()=>{let e=K({cookie:i()?Q()??s:s});return L(e,{forceTheme:a}),e},n[0]=a,n[1]=s,n[2]=c):c=n[2];let[f,m]=d(c),h=u(null),_,v;n[3]!==a||n[4]!==s?(_=()=>{let e=function(){let e=K({cookie:Q()??s});m(e),L(e,{forceTheme:a})};e();let n=t(Q(),A);n!=null&&!E(n)&&Object.hasOwn(M,n)&&$(K({cookie:Q()}));try{`BroadcastChannel`in window&&(h.current=new BroadcastChannel(A),h.current.addEventListener(`message`,e))}catch{}let r=function(t){t.key===`${A}__ping`&&e()};window.addEventListener(`storage`,r);let i=window.matchMedia(k),o=function(){e()},c=function(){document.visibilityState===`visible`&&e()};return i.addEventListener(`change`,o),window.addEventListener(`pageshow`,o),document.addEventListener(`visibilitychange`,c),()=>{window.removeEventListener(`storage`,r),i.removeEventListener(`change`,o),window.removeEventListener(`pageshow`,o),document.removeEventListener(`visibilitychange`,c),te(h.current),h.current=null}},v=[a,s],n[3]=a,n[4]=s,n[5]=_,n[6]=v):(_=n[5],v=n[6]),l(_,v);let y;n[7]!==a||n[8]!==f?(y=(e,t)=>{let{origin:n}=t===void 0?{}:t,r=()=>{if(typeof e!=`function`)return e;let t=document.documentElement.dataset.theme;return e(E(t)?t:f)},i=()=>{let e=r();$(e),m(e),L(e,{forceTheme:a}),J(e,{broadcastChannel:h.current,pingKey:`${A}__ping`})},o=window.matchMedia(k).matches;(a??z(r(),{prefersDarkMode:o}))===document.documentElement.dataset.appliedTheme?i():g(i,{origin:n})},n[7]=a,n[8]=f,n[9]=y):y=n[9];let b;n[10]!==y||n[11]!==f?(b=[f,y],n[10]=y,n[11]=f,n[12]=b):b=n[12];let x=b,S;n[13]!==r||n[14]!==x?(S=/* @__PURE__ */ p(N.Provider,{value:x,children:r}),n[13]=r,n[14]=x,n[15]=S):S=n[15];let C;return n[16]!==a||n[17]!==S?(C=/* @__PURE__ */ p(P.Provider,{value:a,children:S}),n[16]=a,n[17]=S,n[18]=C):C=n[18],C}function I(){let e=c(N);return f(e,`useTheme must be used within a ThemeProvider`),e}function L(e,{forceTheme:t}={}){if(!i())return;let n=window.document.documentElement,r=window.matchMedia(k).matches,a=t??z(e,{prefersDarkMode:r}),o=n.dataset.theme,s=n.dataset.appliedTheme,c=E(o)?o:void 0,l=D(s)?s:void 0;(c!==e||l!==a)&&(n.classList.remove(...C),n.classList.add(a),n.dataset.theme=e,n.dataset.appliedTheme=a)}function R(){if(!i())return{appliedTheme:void 0,theme:void 0};let e=window.document.documentElement,t=E(e.dataset.theme)?e.dataset.theme:void 0;return{appliedTheme:D(e.dataset.appliedTheme)?e.dataset.appliedTheme:void 0,theme:t}}function z(e,{prefersDarkMode:t}){return e===`system`?t?`dark`:`light`:e}function B(){let t=o(4),n=c(N),r=V(),i=n==null?`system`:n[0],a=e(k),s;return t[0]!==r||t[1]!==a||t[2]!==i?(s=r??z(i,{prefersDarkMode:a}),t[0]=r,t[1]=a,t[2]=i,t[3]=s):s=t[3],s}function V(){return c(P)}function H({storageKey:e,themeByCookieValue:t,forceTheme:n}){let r=`system`;try{let n=document.cookie.split(`;`).map(e=>e.trim()).find(t=>t.startsWith(`${e}=`)),i=decodeURIComponent(n?.slice(e.length+1)??``);Object.hasOwn(t,i)&&(r=t[i]??`system`)}catch{}let i=matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`;n==null?r!==`system`&&(i=r):i=n;let a=document.documentElement;a.classList.remove(`light`,`dark`),a.classList.add(i),a.dataset.theme=r,a.dataset.appliedTheme=i}function U(e){let t={storageKey:A,themeByCookieValue:M,forceTheme:e};return`(${H.toString()})(${JSON.stringify(t)})`}const W=e=>{let t=o(7),{forceTheme:n,nonce:r}=e,i;t[0]===n?i=t[1]:(i=U(n),t[0]=n,t[1]=i);let a;t[2]===i?a=t[3]:(a={__html:i},t[2]=i,t[3]=a);let s;return t[4]!==r||t[5]!==a?(s=/* @__PURE__ */ p(`script`,{dangerouslySetInnerHTML:a,nonce:r,suppressHydrationWarning:!0}),t[4]=r,t[5]=a,t[6]=s):s=t[6],s};function G(e){let t=o(17),n;t[0]===e?n=t[1]:(n=e===void 0?{}:e,t[0]=e,t[1]=n);let a=n,s;t[2]===a?s=t[3]:(s=a??{},t[2]=a,t[3]=s);let{className:c,forceTheme:l,ssrCookie:u}=s,d=c===void 0?``:c,f,p;if(i()){let e;if(t[7]!==u){let n=window.matchMedia(k).matches;f=K({cookie:Q()??u}),e=z(f,{prefersDarkMode:n}),t[7]=u,t[8]=e,t[9]=f}else e=t[8],f=t[9];p=e}else{let e;t[4]===u?(e=t[5],f=t[6]):(f=K({cookie:u}),e=z(f,{prefersDarkMode:!1}),t[4]=u,t[5]=e,t[6]=f),p=e}let m=l??p,h;t[10]!==m||t[11]!==d?(h=r(d,m),t[10]=m,t[11]=d,t[12]=h):h=t[12];let g;return t[13]!==m||t[14]!==f||t[15]!==h?(g={className:h,"data-applied-theme":m,"data-theme":f},t[13]=m,t[14]=f,t[15]=h,t[16]=g):g=t[16],g}function K({cookie:e}){if(!e)return j;let n=t(e,A);return n==null||!Object.hasOwn(M,n)?j:M[n]??j}function q(e){return n(e,A)}function J(e,t){let{broadcastChannel:n,pingKey:r}=t;try{if(n){n.postMessage({theme:e,timestamp:Date.now()});return}}catch{}try{localStorage.setItem(r,JSON.stringify({theme:e,timestamp:Date.now()}))}catch{}}const Y=[`ngrok.com`,`ngrok.ai`];function X(e){let t=Y.find(t=>e===t||e.endsWith(`.${t}`));return t==null?void 0:`.${t}`}function Z(e){let t=/* @__PURE__ */ new Date;t.setFullYear(t.getFullYear()+1);let{hostname:n,protocol:r}=window.location,i=X(n),a=i==null?``:`; domain=${i}`,o=r===`https:`?`; Secure`:``;return`${A}=${encodeURIComponent(e)}; expires=${t.toUTCString()}; path=/${a}; SameSite=Lax${o}`}function Q(){try{return document.cookie}catch{return}}function $(e){if(i())try{document.cookie=Z(e)}catch{}}function te(e){if(e!=null)try{e.close()}catch{}}export{w as _,U as a,V as c,ee as d,T as f,C as g,E as h,K as i,G as l,D as m,F as n,R as o,O as p,q as r,B as s,W as t,I as u};
@@ -1,283 +0,0 @@
1
- import { t as WithDataSlot } from "./data-slot-B-LqAcBB.js";
2
- import { ComponentProps, ComponentPropsWithoutRef } from "react";
3
- import { Content as Content$1, Provider, Root as Root$1, Trigger as Trigger$1 } from "@radix-ui/react-tooltip";
4
- /**
5
- * Wraps your app to set shared global behavior for your tooltips, such
6
- * as consistent delay and hover settings. Mount exactly one instance, preferably
7
- * at the root of your app. A nested provider applies its own timing props to its
8
- * subtree. It also tracks `skipDelayDuration` separately, so a pointer that moves
9
- * from one provider's trigger to the other's waits the delay again. Children
10
- * render `Tooltip.Root` / `Tooltip.Trigger` / `Tooltip.Content` trees as usual.
11
- *
12
- * @see https://mantle.ngrok.com/components/overlays/tooltip#tooltipprovider
13
- *
14
- * @example
15
- * ```tsx
16
- * <TooltipProvider>
17
- * <Tooltip.Root>
18
- * <Tooltip.Trigger asChild>
19
- * <Button type="button" appearance="outlined" intent="neutral">
20
- * Hover me
21
- * </Button>
22
- * </Tooltip.Trigger>
23
- * <Tooltip.Content>
24
- * This is a tooltip
25
- * </Tooltip.Content>
26
- * </Tooltip.Root>
27
- * </TooltipProvider>
28
- * ```
29
- */
30
- declare const TooltipProvider: ({ delayDuration, ...props }: ComponentPropsWithoutRef<typeof Provider>) => import("react").JSX.Element;
31
- /**
32
- * A popup that displays information related to an element when the element receives keyboard focus or the mouse hovers over it.
33
- * This is the root, stateful component that manages the open/closed state of
34
- * the tooltip. Wrap your app in `TooltipProvider` when you want shared
35
- * app-wide delay and hover settings.
36
- *
37
- * `Tooltip.Content` renders at Tailwind `z-50`, Mantle's float tier. When
38
- * composed inside an open `Dialog`, `AlertDialog`, or `Sheet`, it portals into
39
- * that overlay's positioner and paints above the overlay that owns it. Outside
40
- * every overlay, it portals to `document.body`, below the overlay tier
41
- * (`z-60`). When sibling floats share a container, the most recently mounted
42
- * float paints on top.
43
- *
44
- * @see https://mantle.ngrok.com/components/overlays/tooltip#tooltiproot
45
- *
46
- * @example
47
- * ```tsx
48
- * <Tooltip.Root>
49
- * <Tooltip.Trigger asChild>
50
- * <Button type="button" appearance="outlined" intent="neutral">
51
- * Hover me
52
- * </Button>
53
- * </Tooltip.Trigger>
54
- * <Tooltip.Content>
55
- * This is a tooltip
56
- * </Tooltip.Content>
57
- * </Tooltip.Root>
58
- * ```
59
- */
60
- declare function Root(props: ComponentProps<typeof Root$1>): import("react").JSX.Element;
61
- /**
62
- * The trigger button that opens the tooltip.
63
- *
64
- * @see https://mantle.ngrok.com/components/overlays/tooltip#tooltiptrigger
65
- *
66
- * @example
67
- * ```tsx
68
- * <Tooltip.Root>
69
- * <Tooltip.Trigger asChild>
70
- * <Button type="button" appearance="outlined" intent="neutral">
71
- * Hover me
72
- * </Button>
73
- * </Tooltip.Trigger>
74
- * <Tooltip.Content>
75
- * This is a tooltip
76
- * </Tooltip.Content>
77
- * </Tooltip.Root>
78
- * ```
79
- */
80
- declare function Trigger({ "data-slot": dataSlot, ...props }: ComponentProps<typeof Trigger$1> & WithDataSlot): import("react").JSX.Element;
81
- /**
82
- * Props for `Tooltip.Content`. `asChild` is omitted: the content renders its own
83
- * arrow next to `children`, so a slot would receive more than one element and
84
- * throw. A `data-slot` from a composing part joins ahead of `tooltip-content`.
85
- */
86
- type TooltipContentProps = Omit<ComponentProps<typeof Content$1>, "asChild"> & WithDataSlot;
87
- /**
88
- * The content to render inside the tooltip.
89
- *
90
- * `Tooltip.Content` renders at Tailwind `z-50`, Mantle's float tier. When
91
- * composed inside an open `Dialog`, `AlertDialog`, or `Sheet`, it portals into
92
- * that overlay's positioner and paints above the overlay that owns it. Outside
93
- * every overlay, it portals to `document.body`, below the overlay tier
94
- * (`z-60`). When sibling floats share a container, the most recently mounted
95
- * float paints on top.
96
- *
97
- * **Structure.** `children` render inside a
98
- * `<div data-slot="tooltip-label">`. The arrow is a permanent element sibling,
99
- * so without the wrapper a bare text body is never a lone child: a browser
100
- * translation engine reparents that text node, and the removal React runs when
101
- * the body changes shape or goes away throws. The wrapper is a `<div>` because a
102
- * tooltip body is often a `<p>`, which a `<span>` may not contain. It is
103
- * `display: contents`, so it adds no box and every child of the body stays a
104
- * layout child of the surface.
105
- *
106
- * **Data attributes:**
107
- *
108
- * | Data Attribute | Value | Description |
109
- * | ---------------- | -------------------------------------------------- | ------------------------------------------------- |
110
- * | `data-slot` | `"tooltip-content"` | On the tooltip surface, with any composing part's chain ahead of it. |
111
- * | `data-slot` | `"tooltip-label"` | On the `<div>` wrapping `children`. |
112
- * | `data-state` | `"delayed-open"` \| `"instant-open"` \| `"closed"` | The open state Radix stamps on the surface. |
113
- * | `data-side` | `"top"` \| `"right"` \| `"bottom"` \| `"left"` | Which side of the trigger the surface resolved to. |
114
- *
115
- * @see https://mantle.ngrok.com/components/overlays/tooltip#tooltipcontent
116
- *
117
- * @example
118
- * ```tsx
119
- * <Tooltip.Root>
120
- * <Tooltip.Trigger asChild>
121
- * <Button type="button" appearance="outlined" intent="neutral">
122
- * Hover me
123
- * </Button>
124
- * </Tooltip.Trigger>
125
- * <Tooltip.Content>
126
- * This is a tooltip
127
- * </Tooltip.Content>
128
- * </Tooltip.Root>
129
- * ```
130
- */
131
- declare const Content: ({ children, className, "data-slot": dataSlot, ref, sideOffset, ...props }: TooltipContentProps) => import("react").JSX.Element;
132
- /**
133
- * A popup that displays information related to an element when the element receives keyboard focus or the mouse hovers over it.
134
- *
135
- * Use `Tooltip` to show a short, non-essential label or hint when the user
136
- * hovers or focuses an element — e.g., the meaning of an icon button, a
137
- * keyboard shortcut, or a brief explanation. Tooltips are NON-INTERACTIVE:
138
- * do not put buttons, links, or form controls inside one. Per the WAI-ARIA
139
- * tooltip pattern, tooltips never receive focus, so interactive content
140
- * inside them is unreachable for keyboard users. For interactive overlay
141
- * content (forms, settings, color pickers), use `Popover`. For non-essential
142
- * preview cards (user/repo previews, link previews), use `HoverCard`.
143
- *
144
- * Mount a `<TooltipProvider>` once at the app root when you want shared
145
- * tooltip behavior such as consistent delay and hover settings.
146
- *
147
- * `Tooltip.Content` renders at Tailwind `z-50`, Mantle's float tier. When
148
- * composed inside an open `Dialog`, `AlertDialog`, or `Sheet`, it portals into
149
- * that overlay's positioner and paints above the overlay that owns it. Outside
150
- * every overlay, it portals to `document.body`, below the overlay tier
151
- * (`z-60`). When sibling floats share a container, the most recently mounted
152
- * float paints on top.
153
- *
154
- * @useWhen Show a short, non-interactive hint for an element on hover or focus, such as the meaning
155
- * of an icon button.
156
- *
157
- * @siblings
158
- * - `Popover`: the content is interactive, such as a form or a settings menu.
159
- * - `HoverCard`: the content is a rich preview of a link.
160
- *
161
- * @see https://mantle.ngrok.com/components/overlays/tooltip
162
- * @see https://www.w3.org/WAI/ARIA/apg/patterns/tooltip/
163
- *
164
- * @example
165
- * Composition:
166
- * ```
167
- * Tooltip.Root
168
- * ├── Tooltip.Trigger
169
- * └── Tooltip.Content
170
- * ```
171
- *
172
- * @example
173
- * ```tsx
174
- * <Tooltip.Root>
175
- * <Tooltip.Trigger asChild>
176
- * <Button type="button" appearance="outlined" intent="neutral">
177
- * Hover me
178
- * </Button>
179
- * </Tooltip.Trigger>
180
- * <Tooltip.Content>
181
- * This is a tooltip
182
- * </Tooltip.Content>
183
- * </Tooltip.Root>
184
- * ```
185
- */
186
- declare const Tooltip: {
187
- /**
188
- * A popup that displays information related to an element when the element receives keyboard focus or the mouse hovers over it.
189
- * This is the root, stateful component that manages the open/closed state of
190
- * the tooltip. Wrap your app in `TooltipProvider` when you want shared
191
- * app-wide delay and hover settings.
192
- *
193
- * `Tooltip.Content` renders at Tailwind `z-50`, Mantle's float tier. When
194
- * composed inside an open `Dialog`, `AlertDialog`, or `Sheet`, it portals into
195
- * that overlay's positioner and paints above the overlay that owns it. Outside
196
- * every overlay, it portals to `document.body`, below the overlay tier
197
- * (`z-60`). When sibling floats share a container, the most recently mounted
198
- * float paints on top.
199
- *
200
- * @see https://mantle.ngrok.com/components/overlays/tooltip#tooltiproot
201
- *
202
- * @example
203
- * ```tsx
204
- * <Tooltip.Root>
205
- * <Tooltip.Trigger asChild>
206
- * <Button type="button" appearance="outlined" intent="neutral">
207
- * Hover me
208
- * </Button>
209
- * </Tooltip.Trigger>
210
- * <Tooltip.Content>
211
- * This is a tooltip
212
- * </Tooltip.Content>
213
- * </Tooltip.Root>
214
- * ```
215
- */
216
- readonly Root: typeof Root;
217
- /**
218
- * The content to render inside the tooltip.
219
- *
220
- * `Tooltip.Content` renders at Tailwind `z-50`, Mantle's float tier. When
221
- * composed inside an open `Dialog`, `AlertDialog`, or `Sheet`, it portals into
222
- * that overlay's positioner and paints above the overlay that owns it. Outside
223
- * every overlay, it portals to `document.body`, below the overlay tier
224
- * (`z-60`). When sibling floats share a container, the most recently mounted
225
- * float paints on top.
226
- *
227
- * **Structure.** `children` render inside a
228
- * `<div data-slot="tooltip-label">`. The arrow is a permanent element sibling,
229
- * so without the wrapper a bare text body is never a lone child: a browser
230
- * translation engine reparents that text node, and the removal React runs when
231
- * the body changes shape or goes away throws. The wrapper is a `<div>` because a
232
- * tooltip body is often a `<p>`, which a `<span>` may not contain. It is
233
- * `display: contents`, so it adds no box and every child of the body stays a
234
- * layout child of the surface.
235
- *
236
- * **Data attributes:**
237
- *
238
- * | Data Attribute | Value | Description |
239
- * | ---------------- | -------------------------------------------------- | ------------------------------------------------- |
240
- * | `data-slot` | `"tooltip-content"` | On the tooltip surface, with any composing part's chain ahead of it. |
241
- * | `data-slot` | `"tooltip-label"` | On the `<div>` wrapping `children`. |
242
- * | `data-state` | `"delayed-open"` \| `"instant-open"` \| `"closed"` | The open state Radix stamps on the surface. |
243
- * | `data-side` | `"top"` \| `"right"` \| `"bottom"` \| `"left"` | Which side of the trigger the surface resolved to. |
244
- *
245
- * @see https://mantle.ngrok.com/components/overlays/tooltip#tooltipcontent
246
- *
247
- * @example
248
- * ```tsx
249
- * <Tooltip.Root>
250
- * <Tooltip.Trigger asChild>
251
- * <Button type="button" appearance="outlined" intent="neutral">
252
- * Hover me
253
- * </Button>
254
- * </Tooltip.Trigger>
255
- * <Tooltip.Content>
256
- * This is a tooltip
257
- * </Tooltip.Content>
258
- * </Tooltip.Root>
259
- * ```
260
- */
261
- readonly Content: typeof Content;
262
- /**
263
- * The trigger button that opens the tooltip.
264
- *
265
- * @see https://mantle.ngrok.com/components/overlays/tooltip#tooltiptrigger
266
- *
267
- * @example
268
- * ```tsx
269
- * <Tooltip.Root>
270
- * <Tooltip.Trigger asChild>
271
- * <Button type="button" appearance="outlined" intent="neutral">
272
- * Hover me
273
- * </Button>
274
- * </Tooltip.Trigger>
275
- * <Tooltip.Content>
276
- * This is a tooltip
277
- * </Tooltip.Content>
278
- * </Tooltip.Root>
279
- * ```
280
- */
281
- readonly Trigger: typeof Trigger;
282
- };
283
- export { TooltipProvider as n, Tooltip as t };
@@ -1 +0,0 @@
1
- import{t as e}from"./cx-CK7o_rVv.js";import{t}from"./data-slot-EM6s2WEU.js";import{i as n}from"./layer-container-kEQiE4zV.js";import{c as r}from"react/compiler-runtime";import{jsx as i,jsxs as a}from"react/jsx-runtime";import{Arrow as o,Content as s,Portal as c,Provider as l,Root as u,Trigger as d}from"@radix-ui/react-tooltip";const f=e=>{let t=r(6),n,a;t[0]===e?(n=t[1],a=t[2]):({delayDuration:a,...n}=e,t[0]=e,t[1]=n,t[2]=a);let o=(a===void 0?0:a)??0,s;return t[3]!==n||t[4]!==o?(s=/* @__PURE__ */ i(l,{delayDuration:o,...n}),t[3]=n,t[4]=o,t[5]=s):s=t[5],s};function p(e){let t=r(2),n;return t[0]===e?n=t[1]:(n=/* @__PURE__ */ i(u,{...e}),t[0]=e,t[1]=n),n}function m(e){let n=r(8),a,o;n[0]===e?(a=n[1],o=n[2]):({"data-slot":a,...o}=e,n[0]=e,n[1]=a,n[2]=o);let s;n[3]===a?s=n[4]:(s=t(a,`tooltip-trigger`),n[3]=a,n[4]=s);let c;return n[5]!==o||n[6]!==s?(c=/* @__PURE__ */ i(d,{"data-slot":s,...o}),n[5]=o,n[6]=s,n[7]=c):c=n[7],c}const h={Root:p,Content:l=>{let u=r(24),d,f,p,m,h,g;u[0]===l?(d=u[1],f=u[2],p=u[3],m=u[4],h=u[5],g=u[6]):({children:d,className:f,"data-slot":p,ref:h,sideOffset:g,...m}=l,u[0]=l,u[1]=d,u[2]=f,u[3]=p,u[4]=m,u[5]=h,u[6]=g);let _=g===void 0?4:g,v=n(),y;u[7]===f?y=u[8]:(y=e(`bg-tooltip text-tooltip animate-in fade-in-0 zoom-in-95 data-side-bottom:slide-in-from-top-1 data-side-left:slide-in-from-right-1 data-side-right:slide-in-from-left-1 data-side-top:slide-in-from-bottom-1 data-side-bottom:slide-out-to-top-1 data-side-left:slide-out-to-right-1 data-side-right:slide-out-to-left-1 data-side-top:slide-out-to-bottom-1 duration-200 ease-out-strong data-state-closed:duration-150 motion-reduce:animate-none! data-state-closed:animate-out data-state-closed:fade-out-0 data-state-closed:zoom-out-95 z-50 max-w-72 overflow-visible wrap-break-word rounded-md px-3 py-1.5 text-sm font-sans shadow`,f),u[7]=f,u[8]=y);let b;u[9]===p?b=u[10]:(b=t(p,`tooltip-content`),u[9]=p,u[10]=b);let x;u[11]===d?x=u[12]:(x=/* @__PURE__ */ i(`div`,{"data-slot":`tooltip-label`,className:`contents`,children:d}),u[11]=d,u[12]=x);let S;u[13]===Symbol.for(`react.memo_cache_sentinel`)?(S=/* @__PURE__ */ i(o,{asChild:!0,children:/* @__PURE__ */ i(`div`,{className:`bg-tooltip z-50 size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-xs`})}),u[13]=S):S=u[13];let C;u[14]!==m||u[15]!==h||u[16]!==_||u[17]!==y||u[18]!==b||u[19]!==x?(C=/* @__PURE__ */ a(s,{className:y,"data-slot":b,ref:h,sideOffset:_,...m,children:[x,S]}),u[14]=m,u[15]=h,u[16]=_,u[17]=y,u[18]=b,u[19]=x,u[20]=C):C=u[20];let w;return u[21]!==v||u[22]!==C?(w=/* @__PURE__ */ i(c,{container:v,children:C}),u[21]=v,u[22]=C,u[23]=w):w=u[23],w},Trigger:m};export{f as n,h as t};
@@ -1 +0,0 @@
1
- import{c as e}from"react/compiler-runtime";import{useSyncExternalStore as t}from"react";const n=[`2xl`,`xl`,`lg`,`md`,`sm`,`xs`,`2xs`],r=[`default`,...n];function i(){return t(b,x,a)}function a(){return`default`}function o(n){let r=e(4),i;r[0]===n?i=r[1]:(i=C(n),r[0]=n,r[1]=i);let a;return r[2]===n?a=r[3]:(a=T(n),r[2]=n,r[3]=a),t(i,a,s)}function s(){return!1}const c={"2xl":`(min-width: 96rem)`,xl:`(min-width: 80rem)`,lg:`(min-width: 64rem)`,md:`(min-width: 48rem)`,sm:`(min-width: 40rem)`,xs:`(min-width: 30rem)`,"2xs":`(min-width: 22.5rem)`},l={"2xl":`(max-width: 95.99rem)`,xl:`(max-width: 79.99rem)`,lg:`(max-width: 63.99rem)`,md:`(max-width: 47.99rem)`,sm:`(max-width: 39.99rem)`,xs:`(max-width: 29.99rem)`,"2xs":`(max-width: 22.49rem)`};let u=null,d=null;function f(){return u||={"2xl":window.matchMedia(c[`2xl`]),xl:window.matchMedia(c.xl),lg:window.matchMedia(c.lg),md:window.matchMedia(c.md),sm:window.matchMedia(c.sm),xs:window.matchMedia(c.xs),"2xs":window.matchMedia(c[`2xs`])},u}function p(e){return d||={"2xl":window.matchMedia(l[`2xl`]),xl:window.matchMedia(l.xl),lg:window.matchMedia(l.lg),md:window.matchMedia(l.md),sm:window.matchMedia(l.sm),xs:window.matchMedia(l.xs),"2xs":window.matchMedia(l[`2xs`])},d[e]}let m=`default`;const h=/* @__PURE__ */ new Set;let g=!1;function _(){let e=f();for(let t of n)if(e[t].matches)return t;return`default`}let v=!1;function y(){v||(v=!0,requestAnimationFrame(()=>{v=!1;let e=_();if(e!==m){m=e;for(let e of h)e()}}))}function b(e){if(h.add(e),!g){g=!0;let e=f();m=_();for(let t of Object.values(e))t.addEventListener(`change`,y)}return e(),()=>{if(h.delete(e),h.size===0&&g){g=!1;let e=f();for(let t of Object.values(e))t.removeEventListener(`change`,y)}}}function x(){return g||(m=_()),m}const S=/* @__PURE__ */ new Map;function C(e){let t=S.get(e);return t||(t=t=>{let n=p(e),r=!1,i=()=>{r||(r=!0,requestAnimationFrame(()=>{r=!1,t()}))};return n.addEventListener(`change`,i),()=>{n.removeEventListener(`change`,i)}},S.set(e,t),t)}const w=/* @__PURE__ */ new Map;function T(e){let t=w.get(e);return t||(t=()=>p(e).matches,w.set(e,t),t)}export{i as n,o as r,r as t};
@@ -1 +0,0 @@
1
- import{c as e}from"react/compiler-runtime";import{useEffect as t,useRef as n}from"react";function r(r){let i=e(3),a=n(r),o;i[0]===r?o=i[1]:(o=()=>{a.current=r},i[0]=r,i[1]=o),t(o);let s;return i[2]===Symbol.for(`react.memo_cache_sentinel`)?(s=(...e)=>{let t=e;return a.current?.(...t)},i[2]=s):s=i[2],s}export{r as t};
@@ -1 +0,0 @@
1
- import{t as e}from"./copy-to-clipboard-DInu78k_.js";function t(){return e}export{t};
@@ -1 +0,0 @@
1
- import{t as e}from"./alert-DO00UiQe.js";import{c as t}from"react/compiler-runtime";import{useEffect as n,useLayoutEffect as r}from"react";function i({tabStops:e,current:t,backwards:n}){let r=e[0],i=e[e.length-1];if(r==null||i==null)return null;let a=e.findIndex(e=>e===t);if(a!==-1)return n?a===0?i:null:a===e.length-1?r:null;if(t==null)return n?i:r;if(n){let n=e.filter(e=>(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)!==0);return n[n.length-1]??i}return e.find(e=>(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING)!==0)??r}function a(r,a){let o=t(6),s;o[0]===a?s=o[1]:(s=a===void 0?{}:a,o[0]=a,o[1]=s);let{active:c}=s,l=c===void 0||c,u,d;o[2]!==l||o[3]!==r?(u=()=>{let t=r.current;if(!l||t==null)return;let n=!t.hasAttribute(`tabindex`);n&&(t.tabIndex=-1);let a=0,o=60,s=()=>{if(t.contains(document.activeElement))return;let[n]=e(t);(n??t).focus(),--o,!t.contains(document.activeElement)&&o>0&&(a=requestAnimationFrame(s))};s();let c=n=>{if(n.key!==`Tab`||n.defaultPrevented||!(n.target instanceof Node)||!t.contains(n.target))return;let r=e(t);if(r.length===0){n.preventDefault();return}let a=i({tabStops:r,current:document.activeElement,backwards:n.shiftKey});a!=null&&(n.preventDefault(),a.focus())};return document.addEventListener(`keydown`,c),()=>{cancelAnimationFrame(a),document.removeEventListener(`keydown`,c),n&&t.removeAttribute(`tabindex`)}},d=[l,r],o[2]=l,o[3]=r,o[4]=u,o[5]=d):(u=o[4],d=o[5]),n(u,d)}function o(e,n){let i=t(6),a;i[0]===n?a=i[1]:(a=n===void 0?{}:n,i[0]=n,i[1]=a);let{active:o}=a,c=o===void 0||o,l,u;i[2]!==c||i[3]!==e?(l=()=>{let t=e.current;if(c&&t!=null)return s(t)},u=[c,e],i[2]=c,i[3]=e,i[4]=l,i[5]=u):(l=i[4],u=i[5]),r(l,u)}function s(e){let t=e.parentElement;if(t==null)return;let n=/* @__PURE__ */ new Set,r=()=>{for(let r of t.children)r!==e&&r instanceof HTMLElement&&!r.inert&&(r.inert=!0,n.add(r))};r();let i=new MutationObserver(r);return i.observe(t,{childList:!0}),()=>{i.disconnect();for(let e of n)e.inert=!1}}export{a as n,o as t};
@@ -1 +0,0 @@
1
- import{n as e}from"./browser-only-BTSrYWLj.js";import{useSyncExternalStore as t}from"react";function n(e){return`userAgentData`in e}function r(){if(!e())return!1;let t=``;return n(navigator)&&(t=navigator.userAgentData.platform??``),t||=navigator.platform||navigator.userAgent||``,/mac|iphone|ipad|ipod/i.test(t)}function i(){return()=>{}}function a(){return!1}function o(){return t(i,r,a)}export{r as n,o as t};
@@ -1 +0,0 @@
1
- import{c as e}from"react/compiler-runtime";import{useEffect as t,useState as n}from"react";function r(){let r=e(2),[i,a]=n(!1),o,s;return r[0]===Symbol.for(`react.memo_cache_sentinel`)?(o=()=>{let e=requestAnimationFrame(()=>{a(!0)});return()=>{cancelAnimationFrame(e)}},s=[],r[0]=o,r[1]=s):(o=r[0],s=r[1]),t(o,s),i}export{r as t};
@@ -1 +0,0 @@
1
- import{n as e}from"./browser-only-BTSrYWLj.js";import{useEffect as t,useLayoutEffect as n}from"react";const r=e()?n:t;export{r as t};
@@ -1 +0,0 @@
1
- import{c as e}from"react/compiler-runtime";import{useRef as t,useSyncExternalStore as n}from"react";function r(r){let a=e(6),o=t(null),s;a[0]===r?s=a[1]:(s=()=>((o.current==null||o.current.query!==r)&&(o.current={query:r,list:window.matchMedia(r)}),o.current.list),a[0]=r,a[1]=s);let c=s,l;a[2]===c?l=a[3]:(l=e=>{let t=c();return t.addEventListener(`change`,e),()=>{t.removeEventListener(`change`,e)}},a[2]=c,a[3]=l);let u=l,d;return a[4]===c?d=a[5]:(d=()=>c().matches,a[4]=c,a[5]=d),n(u,d,i)}function i(){return!1}export{r as t};
@@ -1 +0,0 @@
1
- import{n as e}from"./browser-only-BTSrYWLj.js";import{t}from"./use-matches-media-query-m860lols.js";const n=`(prefers-reduced-motion: no-preference)`;function r(){return!e()||!window.matchMedia(n).matches}function i(){return!t(n)}export{i as n,r as t};
@@ -1 +0,0 @@
1
- import{c as e}from"react/compiler-runtime";import{useEffect as t,useLayoutEffect as n,useRef as r}from"react";function i({offset:e,size:t,velocity:n,threshold:r,flickVelocity:i}){return e>0&&(e>=t*r||n>=i)}function a(e,t){return t<=0?0:(1-1/(.55*e/t+1))*t}function o(e,t){switch(t){case`right`:return e.clientX;case`left`:return-e.clientX;case`down`:return e.clientY;case`up`:return-e.clientY}}function s(e,t){return t===`left`||t===`right`?e.clientY:e.clientX}function c(e,t){switch(t){case`right`:return`${e}px`;case`left`:return`${-e}px`;case`down`:return`0 ${e}px`;case`up`:return`0 ${-e}px`}}function l(e,t,n){e.property===`flex-basis`?e.target.style.flexBasis=`${e.size-t}px`:e.target.style.translate=c(t,n)}function u(e){e.target.style.removeProperty(`transition`),e.target.style.removeProperty(e.property===`flex-basis`?`flex-basis`:`translate`)}function d(c,d){let f=e(5),p=r(d),m;f[0]===d?m=f[1]:(m=()=>{p.current=d},f[0]=d,f[1]=m),n(m);let h,g;f[2]===c?(h=f[3],g=f[4]):(h=()=>{let e=c.current;if(e==null)return;let t=null,n=!1,r=()=>{document.removeEventListener(`pointermove`,d),document.removeEventListener(`pointerup`,f),document.removeEventListener(`pointercancel`,f),t=null},d=e=>{let{direction:n}=p.current,i=n===void 0?`right`:n;if(t==null||e.pointerId!==t.pointerId)return;let c=o(e,i),u=c-t.start;if(!t.dragging){let n=Math.abs(s(e,i)-t.crossStart);if(n>=8&&n>Math.abs(u)){r();return}if(Math.abs(u)<8)return;t.dragging=!0,t.target.style.transition=`none`}let d=e.timeStamp-t.lastTime;d>0&&(t.velocity=(c-t.last)/d),t.last=c,t.lastTime=e.timeStamp,t.offset=Math.max(0,u);let f=u>=0?u:-a(-u,t.size);l(t,f,i)},f=e=>{let{onDismiss:a,threshold:o,flickVelocity:s}=p.current,c=o===void 0?.25:o,l=s===void 0?.4:s;if(t==null||e.pointerId!==t.pointerId)return;let d=t;if(r(),!d.dragging||(n=!0,window.setTimeout(()=>{n=!1},0),u(d),e.type===`pointercancel`))return;let f=e.timeStamp-d.lastTime>100?0:d.velocity;i({...d,velocity:f,threshold:c,flickVelocity:l})&&a()},m=n=>{let{active:r,direction:i,property:a,target:c}=p.current,l=r===void 0||r,u=i===void 0?`right`:i,m=a===void 0?`translate`:a;if(!(typeof l==`function`?l():l)||!n.isPrimary||n.button!==0||t!=null)return;let h=c?.current??e,g=h.getBoundingClientRect(),_=o(n,u);t={target:h,property:typeof m==`function`?m():m,pointerId:n.pointerId,start:_,crossStart:s(n,u),size:u===`left`||u===`right`?g.width:g.height,dragging:!1,last:_,lastTime:n.timeStamp,velocity:0,offset:0},document.addEventListener(`pointermove`,d),document.addEventListener(`pointerup`,f),document.addEventListener(`pointercancel`,f)},h=e=>{n&&(n=!1,e.preventDefault(),e.stopPropagation())};return e.addEventListener(`pointerdown`,m),e.addEventListener(`click`,h,!0),()=>{t?.dragging&&u(t),r(),e.removeEventListener(`pointerdown`,m),e.removeEventListener(`click`,h,!0)}},g=[c],f[2]=c,f[3]=h,f[4]=g),t(h,g)}export{d as n,a as t};
File without changes
File without changes