@marimo-team/islands 0.17.2 → 0.17.4

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 (582) hide show
  1. package/dist/{Combination-De9yoNY5.js → Combination-DrSsMSEB.js} +860 -816
  2. package/dist/{ConnectedDataExplorerComponent-DuvpJOKp.js → ConnectedDataExplorerComponent-DY9cADKc.js} +2282 -2232
  3. package/dist/{ImageComparisonComponent--etUl2pp.js → ImageComparisonComponent-CJvR7Qzp.js} +3 -2
  4. package/dist/{_baseIsEqual-BFlyFUxC.js → _baseIsEqual-DbBiwJP8.js} +1 -1
  5. package/dist/{_basePickBy-gCCvtjgp.js → _basePickBy-ChFDiIEt.js} +3 -3
  6. package/dist/{_baseProperty-BuqBC0Ie.js → _baseProperty-Bf09f9Ee.js} +5 -5
  7. package/dist/_baseUniq-D5kohCWB.js +59 -0
  8. package/dist/any-language-editor-Bs2c1bKU.js +156 -0
  9. package/dist/apl-Bp8pgLcx.js +4 -0
  10. package/dist/{arc-C_O2hc-b.js → arc-DM-UhhIs.js} +2 -2
  11. package/dist/architecture-O4VJ6CD3-SVEfQWDz.js +24 -0
  12. package/dist/{architectureDiagram-W76B3OCA-CrK99pJi.js → architectureDiagram-W76B3OCA-GKSiVAlH.js} +41 -38
  13. package/dist/asciiarmor-IoNSjDv9.js +4 -0
  14. package/dist/asn1-B1GnbkOF.js +4 -0
  15. package/dist/{blockDiagram-QIGZ2CNN-BJOEyO6w.js → blockDiagram-QIGZ2CNN-wX8KWoV2.js} +30 -29
  16. package/dist/brainfuck-TRxEs4B5.js +4 -0
  17. package/dist/{button-ADXOb_gX.js → button-B8zS4Mtw.js} +5 -4
  18. package/dist/{c4Diagram-FPNF74CW-7Pz_X9wF.js → c4Diagram-FPNF74CW-Ns4C9pNn.js} +12 -12
  19. package/dist/{channel-X-wRUxX6.js → channel-Dgla_oqe.js} +1 -1
  20. package/dist/{check-COlaG7Ss.js → check-BZnPxXnd.js} +1 -1
  21. package/dist/{chunk-3AY6CYHV-BQH2fFpA.js → chunk-3AY6CYHV-HfZ-8MFM.js} +10 -10
  22. package/dist/{chunk-4BX2VUAB-D-QtDCKM.js → chunk-4BX2VUAB-CV5cUTmw.js} +1 -1
  23. package/dist/{chunk-4KMFLZZN-BirZvvJS.js → chunk-4KMFLZZN-Cbgb64pE.js} +17 -18
  24. package/dist/{chunk-55IACEB6-DjtPYZKs.js → chunk-55IACEB6--aEkhs1O.js} +1 -1
  25. package/dist/{chunk-6OXUPJBA-CTnnqlzw.js → chunk-6OXUPJBA-DQZp24uZ.js} +7 -7
  26. package/dist/{chunk-7GE3RBXV-CT47hCrL.js → chunk-7GE3RBXV-D0K_8mbM.js} +1 -1
  27. package/dist/{chunk-ABZYJK2D-B6ZsU6SR.js → chunk-ABZYJK2D-BwKkjFgF.js} +3 -3
  28. package/dist/{chunk-BN7GFLIU-DYWEsrG4.js → chunk-BN7GFLIU-93ktvOI2.js} +1 -1
  29. package/dist/{chunk-CVBHYZKI-BuzDGXz0.js → chunk-CVBHYZKI-tTpx9vm_.js} +1 -1
  30. package/dist/{chunk-CXMOBAN2-Bas2S5w1.js → chunk-CXMOBAN2-CagHnxl1.js} +6 -6
  31. package/dist/{chunk-EXTU4WIE-DXwNSukz.js → chunk-EXTU4WIE-Ve2vgn5X.js} +2 -2
  32. package/dist/{chunk-FMBD7UC4-CYKEpuPr.js → chunk-FMBD7UC4-CCvcIQpJ.js} +1 -1
  33. package/dist/{chunk-JA3XYJ7Z-DcxfkcDC.js → chunk-JA3XYJ7Z-CrQC4eYr.js} +4 -4
  34. package/dist/{chunk-JEIROHC2-C01ZIcIG.js → chunk-JEIROHC2-tuJLHPKk.js} +1 -1
  35. package/dist/{chunk-K7UQS3LO-CmbT97MV.js → chunk-K7UQS3LO-BzsTVREe.js} +7 -7
  36. package/dist/{chunk-KMC2YHZD-D64m-1E1.js → chunk-KMC2YHZD-CdKOlVi0.js} +1 -1
  37. package/dist/{chunk-QN33PNHL-DjB0j8Dr.js → chunk-QN33PNHL-CbdYySGk.js} +2 -2
  38. package/dist/{chunk-QYVHNE3D-VA4W4oxG.js → chunk-QYVHNE3D-BDj4udRH.js} +2 -2
  39. package/dist/{chunk-QZHKN3VN-KT0fl3Em.js → chunk-QZHKN3VN-E6VBm6ir.js} +1 -1
  40. package/dist/{chunk-S3R3BYOJ-C5zmcMvn.js → chunk-S3R3BYOJ-DuumGJ4u.js} +6 -6
  41. package/dist/{chunk-T44TD3VJ-BMOgu-Hk.js → chunk-T44TD3VJ-Bc-UhG4i.js} +1 -1
  42. package/dist/{chunk-TVAH2DTR-eKm8SKnH.js → chunk-TVAH2DTR-s8skdWqT.js} +6 -6
  43. package/dist/{chunk-TZMSLE5B-CQxFRiI2.js → chunk-TZMSLE5B-CUfRRoFb.js} +3 -3
  44. package/dist/{chunk-WFRQ32O7-Dg51o277.js → chunk-WFRQ32O7-BquRwCCj.js} +1 -1
  45. package/dist/{chunk-WFWHJNB7-DVLO98ge.js → chunk-WFWHJNB7-CHl0gCzu.js} +1 -1
  46. package/dist/{chunk-XRWGC2XP-UNFKdWQh.js → chunk-XRWGC2XP-CoSEoOcO.js} +1 -1
  47. package/dist/{chunk-ZPAFE4SF-DbCSwfLK.js → chunk-ZPAFE4SF-Bf1fn8cY.js} +1 -1
  48. package/dist/classDiagram-KNZD7YFC-ONLi1fgN.js +40 -0
  49. package/dist/classDiagram-v2-RKCZMP56-Ceij_i8m.js +40 -0
  50. package/dist/{clike-CytFO-kN.js → clike-Cbszc5XU.js} +1 -1
  51. package/dist/clojure-BNTL3o8Z.js +4 -0
  52. package/dist/{clone-CCgVUJ6x.js → clone-DE59DFkY.js} +1 -1
  53. package/dist/cmake-Bp6uEjiS.js +4 -0
  54. package/dist/cobol-CtS_R__A.js +4 -0
  55. package/dist/coffeescript-D5u5aYAu.js +4 -0
  56. package/dist/commonlisp-BvLWy9eh.js +4 -0
  57. package/dist/compiler-runtime-5MdCVm0X.js +13 -0
  58. package/dist/{constants-BaCMVd12.js → constants-BlvmN57i.js} +3 -3
  59. package/dist/{copy-GNcK40wy.js → copy-bxQOKABs.js} +2 -2
  60. package/dist/{cose-bilkent-S5V4N54A-BnvuJG6Y.js → cose-bilkent-S5V4N54A-DZE8LVzQ.js} +3 -3
  61. package/dist/crystal-CaTWnt-Z.js +4 -0
  62. package/dist/css-BMUPibQH.js +5 -0
  63. package/dist/cypher-PopjPg_G.js +4 -0
  64. package/dist/d-Ds7bO8W5.js +4 -0
  65. package/dist/{dagre-5GWH7T2D-rn7tZYaQ.js → dagre-5GWH7T2D-g2ShbPGy.js} +39 -37
  66. package/dist/{dagre-Bghq6VKO.js → dagre-TBn9HZB0.js} +14 -13
  67. package/dist/{data-grid-overlay-editor-B4_Caieu.js → data-grid-overlay-editor-BuhjNOgs.js} +4 -4
  68. package/dist/{diagram-N5W7TBWH-lbF94o-g.js → diagram-N5W7TBWH-BYhyeV0B.js} +44 -41
  69. package/dist/{diagram-QEK2KX5R-CKBhSzsO.js → diagram-QEK2KX5R-CiuUIBpl.js} +38 -35
  70. package/dist/{diagram-S2PKOQOG-161_1f53.js → diagram-S2PKOQOG-D0Z2Q5P-.js} +38 -35
  71. package/dist/diff-C_xR-pxD.js +4 -0
  72. package/dist/{dist-BSyYM1Gi.js → dist-7CqcJssH.js} +6 -6
  73. package/dist/{dist-C9-uHBqC.js → dist-8v4BI_h_.js} +1 -1
  74. package/dist/{dist-71jYYbWP.js → dist-B3CNaJau.js} +2 -2
  75. package/dist/dist-B9JCXzyv.js +6 -0
  76. package/dist/{dist-DzJem5xc.js → dist-BMhv6XDi.js} +1 -1
  77. package/dist/{dist-CWh5ZwcC.js → dist-BYS0EtbC.js} +2 -2
  78. package/dist/{dist-BaPjLM6s.js → dist-BgsDu-bU.js} +1 -1
  79. package/dist/{dist-CNAkUyxv.js → dist-BxmsyHv5.js} +1 -1
  80. package/dist/{dist-CWqB4bg8.js → dist-C02gS--y.js} +3 -3
  81. package/dist/{dist-C76MUPD3.js → dist-C5Iu9a3-.js} +2 -2
  82. package/dist/{dist-DxESp2-T.js → dist-C5Ns3q-m.js} +3 -3
  83. package/dist/dist-C6QrJGYr.js +10 -0
  84. package/dist/{dist-BAqp4Vtl.js → dist-CBu8cgzz.js} +8 -4
  85. package/dist/dist-CFZ32udY.js +6 -0
  86. package/dist/{dist-DaTVdKJa.js → dist-CXimnGhI.js} +2 -2
  87. package/dist/{dist-CtOeHDJp.js → dist-CawOxmKh.js} +5 -5
  88. package/dist/dist-CmgxQNWN.js +10 -0
  89. package/dist/dist-Cr6Cu8sC.js +6 -0
  90. package/dist/{dist-BBhmkni2.js → dist-CxRajUZ6.js} +1 -1
  91. package/dist/{dist-CPNnKuPh.js → dist-D08oiinq.js} +12 -10
  92. package/dist/{dist-BNRdMfJH.js → dist-D4LUTYHc.js} +2 -2
  93. package/dist/{dist-C2IEc8og.js → dist-DGKjHTv9.js} +5 -5
  94. package/dist/{dist-4dtbqf8A.js → dist-DGnWQOnS.js} +3 -3
  95. package/dist/{dist-BqdQPWpQ.js → dist-DSDOMDNR.js} +2 -2
  96. package/dist/{dist-_4cudra1.js → dist-DTNqkRGE.js} +3 -3
  97. package/dist/{dist-28HYzERB.js → dist-D_GkrgWD.js} +2 -2
  98. package/dist/{dist-Cw0F6l-7.js → dist-DbHWFmjZ.js} +1 -1
  99. package/dist/{dist-B_wjJqqS.js → dist-Dh7gw0Ay.js} +2 -2
  100. package/dist/{dist-B8Pbw5ln.js → dist-DiO9ni9a.js} +2 -2
  101. package/dist/{dist-BYHiiJB-.js → dist-DlSZED-1.js} +2 -2
  102. package/dist/{dist-Da046MhT.js → dist-DvsjKDQ4.js} +1 -1
  103. package/dist/{dist-O0zVziwn.js → dist-DzKKEoge.js} +3 -3
  104. package/dist/{dist-CwZcC4om.js → dist-HKzG1oF6.js} +1 -1
  105. package/dist/{dist-CJb8EiFO.js → dist-K_AqLCfS.js} +3 -3
  106. package/dist/dist-NxHLuq7w.js +6 -0
  107. package/dist/dist-S2JcqPPB.js +12 -0
  108. package/dist/{dist-CNvMOZu9.js → dist-XkGsOiy0.js} +2 -2
  109. package/dist/{dist-Drf3cyIW.js → dist-_tHnp24J.js} +3 -3
  110. package/dist/{dist-xLN9qCAp.js → dist-eSnWVS11.js} +3 -3
  111. package/dist/dist-hcPlrsR9.js +6 -0
  112. package/dist/{dist-DlK420ke.js → dist-owpR56zn.js} +1 -1
  113. package/dist/dist-poXa8G8m.js +6 -0
  114. package/dist/{dist-CTIyD_KU.js → dist-qGpLTiEi.js} +3 -3
  115. package/dist/{dockerfile-Cmlcqk35.js → dockerfile-CWWeWT3z.js} +1 -1
  116. package/dist/dtd-CGRYzaHQ.js +4 -0
  117. package/dist/dylan-Ctfki5HL.js +4 -0
  118. package/dist/ecl--gmEivzz.js +4 -0
  119. package/dist/eiffel-o31DRAP-.js +4 -0
  120. package/dist/elm-Dqa6TVIh.js +4 -0
  121. package/dist/{erDiagram-AWTI2OKA-BU7Qig7n.js → erDiagram-AWTI2OKA-BeadFjpg.js} +25 -25
  122. package/dist/erlang-BtVO_vQG.js +4 -0
  123. package/dist/error-banner-B7LmpmGT.js +1013 -0
  124. package/dist/{esm-Oo8OvZ6m.js → esm-CQIOyi5v.js} +579 -564
  125. package/dist/{factor-BZnBK3CG.js → factor-7tQNNEWF.js} +1 -1
  126. package/dist/factor-CNLvRc__.js +5 -0
  127. package/dist/{flowDiagram-PVAE7QVJ-JKJebWeY.js → flowDiagram-PVAE7QVJ-GgklUvqn.js} +27 -27
  128. package/dist/{formats-DOEuF6TR.js → formats-kyFd0DPJ.js} +23 -22
  129. package/dist/forth-Bp2zDfH-.js +4 -0
  130. package/dist/fortran-B3A-KieX.js +4 -0
  131. package/dist/{ganttDiagram-OWAHRB6G-BvWRfg05.js → ganttDiagram-OWAHRB6G-D5wYR6WK.js} +17 -17
  132. package/dist/gas-_Xt_kGOG.js +4 -0
  133. package/dist/gherkin-DzZpg8Ls.js +4 -0
  134. package/dist/gitGraph-ZV4HHKMB-DFGD7PPm.js +24 -0
  135. package/dist/{gitGraphDiagram-NY62KEGX-VEJJBf5L.js → gitGraphDiagram-NY62KEGX-DCwA-g9b.js} +38 -35
  136. package/dist/{glide-data-editor-Bne10icG.js → glide-data-editor-1bUl_mRe.js} +515 -515
  137. package/dist/graphlib-R11f1son.js +228 -0
  138. package/dist/groovy-BtD10jRQ.js +4 -0
  139. package/dist/haskell-C-JVWnIV.js +4 -0
  140. package/dist/haxe-Del5TcJQ.js +5 -0
  141. package/dist/idl-BLlRatde.js +4 -0
  142. package/dist/info-63CPKGFF-eZyiEu_4.js +24 -0
  143. package/dist/infoDiagram-STP46IZ2-CUr2vZlE.js +48 -0
  144. package/dist/{isEmpty-Do_v2sls.js → isEmpty-CIFmGKJN.js} +2 -2
  145. package/dist/isString-BsphYkXQ.js +9 -0
  146. package/dist/{isSymbol-CtkA8Y0a.js → isSymbol-BnxbuvDK.js} +1 -1
  147. package/dist/javascript-Bm7QL4E3.js +5 -0
  148. package/dist/jinja2-BxbImxq2.js +4 -0
  149. package/dist/{journeyDiagram-BIP6EPQ6-CsgEQgxh.js → journeyDiagram-BIP6EPQ6-DtjQC_m1.js} +10 -10
  150. package/dist/jsx-runtime-CvL6gNI-.js +22 -0
  151. package/dist/julia-DV1Vz9mw.js +4 -0
  152. package/dist/{kanban-definition-6OIFK2YF-Bi8Ete2P.js → kanban-definition-6OIFK2YF-U3q5gvb8.js} +19 -19
  153. package/dist/{katex-C-g3rKKt.js → katex-BWgzyQrl.js} +1 -1
  154. package/dist/{label-BiVIU_wb.js → label-Wr-xTlW7.js} +463 -453
  155. package/dist/{line-B7-GoF1m.js → line-C7OvOvNm.js} +3 -3
  156. package/dist/{linear-DeGGALuc.js → linear-CgANSWNu.js} +4 -4
  157. package/dist/livescript-9UMSMMrl.js +4 -0
  158. package/dist/{loader-BBqwtZWj.js → loader-Dj9XWZTh.js} +164 -4
  159. package/dist/lua-Bcbc7wWe.js +4 -0
  160. package/dist/main.js +40727 -41561
  161. package/dist/mathematica-DG4QUwYU.js +4 -0
  162. package/dist/mbox--auqAoPc.js +4 -0
  163. package/dist/{memoize-D7eDkf3R.js → memoize-XkDn33QI.js} +1 -1
  164. package/dist/{merge-C_6cGM6o.js → merge-dMlizkC5.js} +1 -1
  165. package/dist/{mermaid-BmtvsZ2m.js → mermaid-DIjoC4T4.js} +67 -66
  166. package/dist/{mermaid-parser.core-geyG_6o0.js → mermaid-parser.core-B433qyUL.js} +8 -8
  167. package/dist/{mhchem-OhAaJ0fA.js → mhchem-1x4KnXMF.js} +1 -1
  168. package/dist/min-WjLsUjBa.js +89 -0
  169. package/dist/{mindmap-definition-Q6HEUPPD-B-wmX1oG.js → mindmap-definition-Q6HEUPPD-LFgV4R8y.js} +24 -24
  170. package/dist/mirc-9dVcMicH.js +4 -0
  171. package/dist/mllike-Di9N4E3Q.js +6 -0
  172. package/dist/modelica-S3adENkL.js +4 -0
  173. package/dist/mscgen-DAG0zH4w.js +6 -0
  174. package/dist/mumps-afzuy08D.js +4 -0
  175. package/dist/{now-DumxsrcX.js → now-8WTe-KKa.js} +1 -1
  176. package/dist/nsis-Bzwy0lPH.js +5 -0
  177. package/dist/{nsis-D4bLR_Y1.js → nsis-CFb2Zrib.js} +1 -1
  178. package/dist/ntriples-D9oM8s3v.js +4 -0
  179. package/dist/{number-overlay-editor-D6r-48ka.js → number-overlay-editor-DYjnpjXo.js} +2 -2
  180. package/dist/octave-BMLCk2qM.js +4 -0
  181. package/dist/{once-3OSMKEsL.js → once-rI5AYku5.js} +1 -1
  182. package/dist/{ordinal-DpEbSVPc.js → ordinal-pQYxWJYN.js} +1 -1
  183. package/dist/oz-CX5JTWTK.js +4 -0
  184. package/dist/packet-HUATNLJX-BvWMmF9U.js +24 -0
  185. package/dist/pascal-BeZmsfFX.js +4 -0
  186. package/dist/perl-CZ_HryPN.js +4 -0
  187. package/dist/pie-WTHONI2E-BCXZJKz0.js +24 -0
  188. package/dist/{pieDiagram-ADFJNKIX-C3GvPNUL.js → pieDiagram-ADFJNKIX-CsZmho0o.js} +43 -40
  189. package/dist/pig-OPEEOu6V.js +4 -0
  190. package/dist/powershell-DyR-5LnA.js +4 -0
  191. package/dist/{precisionRound-7YYJq2rW.js → precisionRound-DMLkFNYv.js} +1 -1
  192. package/dist/properties-Cl4tecfb.js +4 -0
  193. package/dist/protobuf-B8X247vV.js +4 -0
  194. package/dist/pug-Kmpa-Pbv.js +5 -0
  195. package/dist/{pug-Dv3gE36O.js → pug-ZDYeT34w.js} +1 -1
  196. package/dist/puppet-Pl07qkSO.js +4 -0
  197. package/dist/python-DQgTXBpp.js +5 -0
  198. package/dist/q-D7uiP00h.js +4 -0
  199. package/dist/{quadrantDiagram-LMRXKWRM-DPXwGNVa.js → quadrantDiagram-LMRXKWRM-CY6GTOgM.js} +8 -8
  200. package/dist/r-DbUoToEd.js +4 -0
  201. package/dist/radar-NJJJXTRR-8kjOeCwx.js +24 -0
  202. package/dist/{range-CIbLpsrs.js → range-CTMc_Qhu.js} +3 -3
  203. package/dist/{react-plotly-DYyvxcRD.js → react-plotly-Cs07wkly.js} +2 -2
  204. package/dist/react-vega-B9eMrRW1.js +32035 -0
  205. package/dist/react-vega-DM3e8kar.js +25 -0
  206. package/dist/reduce-C-jV7KRY.js +268 -0
  207. package/dist/{requirementDiagram-4UW4RH46-Cs3Hqnm0.js → requirementDiagram-4UW4RH46-CfLWneBF.js} +24 -24
  208. package/dist/rpm-BjQFZZ1e.js +5 -0
  209. package/dist/ruby-BXpop5ZX.js +4 -0
  210. package/dist/{sankeyDiagram-GR3RE2ED-Be1d_Xf7.js → sankeyDiagram-GR3RE2ED-Dkxfzm6f.js} +7 -7
  211. package/dist/sas-CzFr9Hlz.js +4 -0
  212. package/dist/scheme-C6QRPvcm.js +4 -0
  213. package/dist/{sequenceDiagram-C3RYC4MD-lbtovKTa.js → sequenceDiagram-C3RYC4MD-hSi31Kfa.js} +14 -14
  214. package/dist/shell-Bs7FrcsL.js +4 -0
  215. package/dist/sieve-D39XRya9.js +4 -0
  216. package/dist/{slides-component-BoeQU7-s.js → slides-component-Ct11erUn.js} +9 -8
  217. package/dist/smalltalk-CdAwDOFE.js +4 -0
  218. package/dist/sparql-DsDWhEhN.js +4 -0
  219. package/dist/spec-rqRnkIf4.js +1256 -0
  220. package/dist/{src-BTqT1mA1.js → src-CKr0QbVy.js} +1 -1
  221. package/dist/{stateDiagram-KXAO66HF-BmbR-Rol.js → stateDiagram-KXAO66HF-DJsLA_DN.js} +42 -40
  222. package/dist/stateDiagram-v2-UMBNRL4Z-D-p_ngHt.js +39 -0
  223. package/dist/{step-2RJrMSSG.js → step-BsM8YHun.js} +1 -1
  224. package/dist/stex-DvqvBdH8.js +5 -0
  225. package/dist/style.css +1 -1
  226. package/dist/stylus-DxzxWmvV.js +4 -0
  227. package/dist/swift-DTC4Wg4z.js +4 -0
  228. package/dist/tcl-DantlS-i.js +4 -0
  229. package/dist/textile-pOphaahD.js +4 -0
  230. package/dist/{time-BB30r1tK.js → time-U9NHhrDC.js} +4 -4
  231. package/dist/{timeline-definition-XQNQX7LJ-1mv5caPW.js → timeline-definition-XQNQX7LJ-rojWjX6M.js} +7 -7
  232. package/dist/{toNumber-D3Ystr3y.js → toNumber-CUG0Hyhp.js} +2 -2
  233. package/dist/{toString-CbuxCRDG.js → toString-CT4n1k2E.js} +2 -2
  234. package/dist/toml-hgYsPM5p.js +4 -0
  235. package/dist/treemap-75Q7IDZK-Do1WIR9v.js +24 -0
  236. package/dist/troff-BwevrEUZ.js +4 -0
  237. package/dist/{dtd-RplB6hDg.js → ttcn-C5gJcxta.js} +2 -2
  238. package/dist/ttcn-cfg-CPKlfqST.js +4 -0
  239. package/dist/turtle-EH0lMhMf.js +4 -0
  240. package/dist/{types-BPohCsA7.js → types-Bt7p5SYB.js} +1028 -1038
  241. package/dist/uniq-DgSyegN3.js +8 -0
  242. package/dist/{useAsyncData-DHBqeb9a.js → useAsyncData-Dp2V69OV.js} +3 -3
  243. package/dist/{useIframeCapabilities-BEvvwlwt.js → useIframeCapabilities-B9u0SmJ4.js} +2 -2
  244. package/dist/{useTheme-CnMbo-iq.js → useTheme-D7vlj42b.js} +4 -4
  245. package/dist/vb-DNk7gts-.js +4 -0
  246. package/dist/vbscript-znK_5PUS.js +4 -0
  247. package/dist/vega-component-C58Jk3ub.js +633 -0
  248. package/dist/{vega-loader.browser.module-CFMtdrNw.js → vega-loader.browser-BK7-IO9k.js} +91 -99
  249. package/dist/velocity-DmPhlhdp.js +4 -0
  250. package/dist/verilog-CePnwf4S.js +4 -0
  251. package/dist/vhdl-Ckdh8uiO.js +4 -0
  252. package/dist/webidl-8N8qbzRd.js +4 -0
  253. package/dist/xquery-Cocyk-z0.js +4 -0
  254. package/dist/{xychartDiagram-6GGTOJPD-njc-naaw.js → xychartDiagram-6GGTOJPD-CiC1eONZ.js} +23 -23
  255. package/dist/yacas-CPmShRg-.js +4 -0
  256. package/dist/z80-B500UaFh.js +4 -0
  257. package/package.json +12 -9
  258. package/src/components/ai/ai-provider-icon.tsx +2 -1
  259. package/src/components/app-config/constants.ts +25 -1
  260. package/src/components/charts/lazy.tsx +7 -0
  261. package/src/components/charts/tooltip.ts +5 -0
  262. package/src/components/charts/types.ts +8 -0
  263. package/src/components/chat/acp/__tests__/state.test.ts +0 -13
  264. package/src/components/chat/acp/agent-panel.tsx +7 -1
  265. package/src/components/chat/acp/agent-selector.tsx +5 -0
  266. package/src/components/chat/acp/blocks.tsx +51 -8
  267. package/src/components/chat/acp/state.ts +8 -2
  268. package/src/components/chat/acp/thread.tsx +10 -3
  269. package/src/components/chat/chat-panel.tsx +7 -1
  270. package/src/components/data-table/__tests__/__snapshots__/chart-spec-model.test.ts.snap +473 -184
  271. package/src/components/data-table/__tests__/chart-spec-model.test.ts +32 -28
  272. package/src/components/data-table/charts/__tests__/__snapshots__/spec-snapshot.test.ts.snap +1 -1
  273. package/src/components/data-table/charts/__tests__/altair-generator.test.ts +162 -0
  274. package/src/components/data-table/charts/__tests__/spec-snapshot.test.ts +1 -1
  275. package/src/components/data-table/charts/__tests__/spec.test.ts +145 -6
  276. package/src/components/data-table/charts/chart-spec/altair-generator.ts +6 -1
  277. package/src/components/data-table/charts/chart-spec/encodings.ts +11 -7
  278. package/src/components/data-table/charts/chart-spec/spec.ts +9 -8
  279. package/src/components/data-table/charts/chart-spec/tooltips.ts +4 -3
  280. package/src/components/data-table/charts/chart-spec/types.ts +1 -1
  281. package/src/components/data-table/charts/chart-spec/utils.ts +23 -0
  282. package/src/components/data-table/charts/components/form-fields.tsx +2 -2
  283. package/src/components/data-table/charts/constants.ts +7 -3
  284. package/src/components/data-table/charts/lazy-chart.tsx +15 -11
  285. package/src/components/data-table/charts/types.ts +6 -14
  286. package/src/components/data-table/column-summary/chart-spec-model.tsx +112 -269
  287. package/src/components/data-table/column-summary/column-summary.tsx +12 -12
  288. package/src/components/data-table/column-summary/legacy-chart-spec.ts +78 -2
  289. package/src/components/data-table/column-summary/utils.ts +1 -1
  290. package/src/components/datasources/__tests__/utils.test.ts +339 -138
  291. package/src/components/datasources/column-preview.tsx +9 -9
  292. package/src/components/datasources/datasources.tsx +4 -0
  293. package/src/components/datasources/utils.ts +94 -4
  294. package/src/components/editor/Output.tsx +9 -6
  295. package/src/components/editor/ai/ai-completion-editor.tsx +2 -2
  296. package/src/components/editor/code/readonly-diff.tsx +4 -0
  297. package/src/components/editor/output/ConsoleOutput.tsx +14 -11
  298. package/src/components/editor/renderers/slides-layout/types.ts +1 -1
  299. package/src/components/tracing/tracing-spec.ts +2 -2
  300. package/src/components/tracing/tracing.test.tsx +1 -1
  301. package/src/components/tracing/tracing.tsx +57 -74
  302. package/src/components/tracing/utils.ts +22 -0
  303. package/src/components/ui/query-param-preserving-link.tsx +48 -0
  304. package/src/core/ai/context/providers/__tests__/cell-output.test.ts +12 -1
  305. package/src/core/ai/context/providers/cell-output.ts +2 -8
  306. package/src/core/ai/tools/__tests__/run-cells-tool.test.ts +1 -1
  307. package/src/core/ai/tools/edit-notebook-tool.ts +15 -7
  308. package/src/core/ai/tools/run-cells-tool.ts +60 -26
  309. package/src/core/cells/ids.ts +1 -1
  310. package/src/core/codemirror/language/__tests__/extension.test.ts +6 -12
  311. package/src/core/codemirror/language/__tests__/markdown.test.ts +23 -36
  312. package/src/core/codemirror/language/languages/python.ts +40 -6
  313. package/src/core/codemirror/language/languages/sql/completion-store.ts +2 -2
  314. package/src/core/codemirror/language/languages/sql/sql.ts +14 -0
  315. package/src/core/codemirror/language/languages/sql/utils.ts +54 -3
  316. package/src/core/codemirror/lsp/notebook-lsp.ts +52 -4
  317. package/src/core/codemirror/lsp/transports.ts +3 -0
  318. package/src/core/datasets/__tests__/data-source.test.ts +6 -0
  319. package/src/core/datasets/data-source-connections.ts +1 -0
  320. package/src/core/dom/__tests__/outline.test.ts +43 -0
  321. package/src/core/dom/outline.ts +1 -1
  322. package/src/core/islands/main.ts +2 -0
  323. package/src/core/lsp/__tests__/transport.test.ts +57 -0
  324. package/src/core/lsp/transport.ts +16 -0
  325. package/src/css/md.css +6 -0
  326. package/src/plugins/core/RenderHTML.tsx +26 -0
  327. package/src/plugins/core/__test__/sanitize.test.ts +27 -0
  328. package/src/plugins/core/sanitize.ts +9 -2
  329. package/src/plugins/impl/DataTablePlugin.tsx +21 -27
  330. package/src/plugins/impl/data-explorer/ConnectedDataExplorerComponent.tsx +26 -22
  331. package/src/plugins/impl/data-explorer/functions/function.ts +1 -2
  332. package/src/plugins/impl/data-explorer/functions/types.ts +65 -14
  333. package/src/plugins/impl/data-explorer/queries/queries.ts +9 -9
  334. package/src/plugins/impl/data-explorer/queries/types.ts +23 -5
  335. package/src/plugins/impl/data-frames/DataFramePlugin.tsx +2 -1
  336. package/src/plugins/impl/vega/__tests__/__snapshots__/make-selectable.test.ts.snap +2309 -0
  337. package/src/plugins/impl/vega/__tests__/encodings.test.ts +93 -0
  338. package/src/plugins/impl/vega/__tests__/make-selectable.test.ts +621 -0
  339. package/src/plugins/impl/vega/__tests__/params.test.ts +121 -1
  340. package/src/plugins/impl/vega/encodings.ts +16 -2
  341. package/src/plugins/impl/vega/make-selectable.ts +339 -10
  342. package/src/plugins/impl/vega/params.ts +76 -14
  343. package/src/plugins/impl/vega/types.ts +32 -13
  344. package/src/plugins/impl/vega/vega-component.tsx +74 -26
  345. package/src/plugins/impl/vega/vega.css +1 -0
  346. package/src/stories/__fixtures__/vega.ts +1 -1
  347. package/src/utils/arrays.ts +16 -0
  348. package/dist/_baseUniq-CKN9mEDq.js +0 -324
  349. package/dist/any-language-editor-Du2Q_6IK.js +0 -156
  350. package/dist/apl-CUm2DGqh.js +0 -4
  351. package/dist/architecture-O4VJ6CD3-PFw3eFBY.js +0 -21
  352. package/dist/asciiarmor-lqJ78U01.js +0 -4
  353. package/dist/asn1-CjwpSTlW.js +0 -4
  354. package/dist/brainfuck-ClvDI1dq.js +0 -4
  355. package/dist/classDiagram-KNZD7YFC-HUFFxNdk.js +0 -40
  356. package/dist/classDiagram-v2-RKCZMP56-Dw7Acmuf.js +0 -40
  357. package/dist/clojure-8GefCgPe.js +0 -4
  358. package/dist/cmake-yAhT9H0F.js +0 -4
  359. package/dist/cobol-BmltueOY.js +0 -4
  360. package/dist/coffeescript-C7KEQBcH.js +0 -4
  361. package/dist/commonlisp-CNbiJRU-.js +0 -4
  362. package/dist/crystal-OdjZZ8bc.js +0 -4
  363. package/dist/css-DhTxMmL_.js +0 -5
  364. package/dist/cypher-CgN8E3YI.js +0 -4
  365. package/dist/d-g41sJcBC.js +0 -4
  366. package/dist/diff-ViRYYhhg.js +0 -4
  367. package/dist/dist-BfJO8Bm9.js +0 -12
  368. package/dist/dist-CLuF3AtO.js +0 -6
  369. package/dist/dist-CU04U4NL.js +0 -10
  370. package/dist/dist-DNUT6b47.js +0 -6
  371. package/dist/dist-DbAb2sY7.js +0 -6
  372. package/dist/dist-DiDFQ2Rk.js +0 -6
  373. package/dist/dist-SNAyAOJ-.js +0 -6
  374. package/dist/dist-cbW5xJNV.js +0 -6
  375. package/dist/dist-h8eGLSbK.js +0 -10
  376. package/dist/dylan-BX8KJufP.js +0 -4
  377. package/dist/ecl-CWtLaNMH.js +0 -4
  378. package/dist/eiffel-C-mlZPMn.js +0 -4
  379. package/dist/elm-CWp06vcb.js +0 -4
  380. package/dist/erlang-pfp22AZM.js +0 -4
  381. package/dist/error-banner-BAWlXn49.js +0 -1012
  382. package/dist/esm-B2pocBPL.js +0 -26
  383. package/dist/esm-YVnxJqkD.js +0 -33066
  384. package/dist/factor-CEn53jua.js +0 -5
  385. package/dist/forth-CL8vu_y8.js +0 -4
  386. package/dist/fortran-DsmXkYtE.js +0 -4
  387. package/dist/gas-mYt9Rtlx.js +0 -4
  388. package/dist/gherkin-DHNCKBNj.js +0 -4
  389. package/dist/gitGraph-ZV4HHKMB-Cpd6k0O8.js +0 -21
  390. package/dist/graphlib-DRS8CrjA.js +0 -227
  391. package/dist/groovy-DzRtOS5a.js +0 -4
  392. package/dist/haskell-Bl9iT_Mp.js +0 -4
  393. package/dist/haxe-DqA0ED6k.js +0 -5
  394. package/dist/idl-WU2hil4i.js +0 -4
  395. package/dist/info-63CPKGFF-CG-xzUJo.js +0 -21
  396. package/dist/infoDiagram-STP46IZ2-zoRBGoup.js +0 -45
  397. package/dist/javascript-QY2BGJeV.js +0 -5
  398. package/dist/jinja2-Czleq7Sk.js +0 -4
  399. package/dist/jsx-runtime-DZyWJV5b.js +0 -31
  400. package/dist/julia-Dru3Qi0y.js +0 -4
  401. package/dist/livescript-Dxqi_HLT.js +0 -4
  402. package/dist/lua-ByH1cUQZ.js +0 -4
  403. package/dist/mathematica-CWJIFuES.js +0 -4
  404. package/dist/mbox-qhPIGaUI.js +0 -4
  405. package/dist/min-Dwa_NbP6.js +0 -93
  406. package/dist/mirc-yYcXhXBY.js +0 -4
  407. package/dist/mllike-BfT_Nl9x.js +0 -6
  408. package/dist/modelica-lVDtz1Rm.js +0 -4
  409. package/dist/mscgen-DvwdD1QJ.js +0 -6
  410. package/dist/mumps-BiY3GwKd.js +0 -4
  411. package/dist/nsis-Dk18Sq_4.js +0 -5
  412. package/dist/ntriples-Cj-8VqKF.js +0 -4
  413. package/dist/octave-BgFAaYjU.js +0 -4
  414. package/dist/oz-IsEG1I1m.js +0 -4
  415. package/dist/packet-HUATNLJX-Cafuo3IG.js +0 -21
  416. package/dist/pascal-BVf7FtIE.js +0 -4
  417. package/dist/perl-BM0-y4mZ.js +0 -4
  418. package/dist/pie-WTHONI2E-BE0pHBwB.js +0 -21
  419. package/dist/pig-CLBjzQmc.js +0 -4
  420. package/dist/powershell-B_qvE33J.js +0 -4
  421. package/dist/properties-CUTpsH2y.js +0 -4
  422. package/dist/protobuf-DqCP8a-0.js +0 -4
  423. package/dist/pug-BvexKkw4.js +0 -5
  424. package/dist/puppet-CoIi0R3f.js +0 -4
  425. package/dist/python-C-11-YMh.js +0 -5
  426. package/dist/q-CCVgEip7.js +0 -4
  427. package/dist/r-CIdR0Sfs.js +0 -4
  428. package/dist/radar-NJJJXTRR-0adgjw0u.js +0 -21
  429. package/dist/rpm-Dwvm039g.js +0 -5
  430. package/dist/ruby-DpTnO5gb.js +0 -4
  431. package/dist/sas-CK9boxgv.js +0 -4
  432. package/dist/scheme-Y1aYL-Qq.js +0 -4
  433. package/dist/shell-D3eXGsHd.js +0 -4
  434. package/dist/sieve-BdwSFdWJ.js +0 -4
  435. package/dist/smalltalk-BTYJquCm.js +0 -4
  436. package/dist/sparql-CYF0g4Cc.js +0 -4
  437. package/dist/stateDiagram-v2-UMBNRL4Z-DdJ7qVWc.js +0 -39
  438. package/dist/stex-CyWhoWHt.js +0 -5
  439. package/dist/stylus-BBiKaI2h.js +0 -4
  440. package/dist/swift-COb15qFR.js +0 -4
  441. package/dist/tcl-Jik1LXu9.js +0 -4
  442. package/dist/textile-BFHPD3wr.js +0 -4
  443. package/dist/toml-Brp9fBXs.js +0 -4
  444. package/dist/treemap-75Q7IDZK-CyBT8_Wh.js +0 -21
  445. package/dist/troff-CcZRW4vg.js +0 -4
  446. package/dist/tslib.es6-3ZL768sZ.js +0 -49
  447. package/dist/ttcn-Bz_6ifRd.js +0 -4
  448. package/dist/ttcn-cfg-v-yi2rKc.js +0 -4
  449. package/dist/turtle-CDOsZYhB.js +0 -4
  450. package/dist/useDateFormatter-BkbjKw83.js +0 -543
  451. package/dist/vb-CL7fRwRw.js +0 -4
  452. package/dist/vbscript-CR2xfxpw.js +0 -4
  453. package/dist/vega-component-BfFcXZxw.js +0 -465
  454. package/dist/velocity-CfuZoxPt.js +0 -4
  455. package/dist/verilog-CySTkzw_.js +0 -4
  456. package/dist/vhdl-Dvcd8KHW.js +0 -4
  457. package/dist/webidl-tbJt7sKk.js +0 -4
  458. package/dist/xquery-DJQVztyc.js +0 -4
  459. package/dist/yacas-BbgBReEH.js +0 -4
  460. package/dist/z80-DPyb8VGz.js +0 -4
  461. /package/dist/{_arrayReduce-Cd9xQjbl.js → _arrayReduce-CmsTTAw1.js} +0 -0
  462. /package/dist/{_baseSlice-CE9WsQZm.js → _baseSlice-CAnpEJwx.js} +0 -0
  463. /package/dist/{_hasUnicode-DkEebvtD.js → _hasUnicode-CbmCTPAa.js} +0 -0
  464. /package/dist/{apl-aGhy11IM.js → apl-Css595_H.js} +0 -0
  465. /package/dist/{array-DYSXIreg.js → array-D3smvOQ_.js} +0 -0
  466. /package/dist/{asciiarmor-DJKJ3Gkn.js → asciiarmor-BTCuJwxh.js} +0 -0
  467. /package/dist/{asn1-C6f5IeNs.js → asn1-DXjhS5QI.js} +0 -0
  468. /package/dist/{asterisk-DB1poX9_.js → asterisk-5HlmsIaw.js} +0 -0
  469. /package/dist/{brainfuck-Ch9vjun0.js → brainfuck--WlEc-iG.js} +0 -0
  470. /package/dist/{chunk-57QY23SG-BpXU7ph4.js → chunk-57QY23SG-D7ymhFFp.js} +0 -0
  471. /package/dist/{click-outside-container-2BH589Bq.js → click-outside-container-DSVM9sZw.js} +0 -0
  472. /package/dist/{clike-Bc2PZzZQ.js → clike-DDIJB_R8.js} +0 -0
  473. /package/dist/{clojure-B_lpr3zt.js → clojure-Z-GPBZyY.js} +0 -0
  474. /package/dist/{cmake-DaocNF4I.js → cmake-DncBqspt.js} +0 -0
  475. /package/dist/{cobol-suTPtt7c.js → cobol-DqUe0gl7.js} +0 -0
  476. /package/dist/{coffeescript-CPLIvtqJ.js → coffeescript-CH5_OO0H.js} +0 -0
  477. /package/dist/{colors-BXlG8Lmz.js → colors-DQmMCNWX.js} +0 -0
  478. /package/dist/{common-keywords-Bhll7O3b.js → common-keywords-CAEsQSF5.js} +0 -0
  479. /package/dist/{commonlisp-BqM3qFK7.js → commonlisp-UmhR9BfE.js} +0 -0
  480. /package/dist/{crystal-AsSFu4ke.js → crystal-5Sqf7MXt.js} +0 -0
  481. /package/dist/{css-Df7Sdeyh.js → css-bDybSxwf.js} +0 -0
  482. /package/dist/{cypher-CaVKL6Gu.js → cypher-PIeAFhrd.js} +0 -0
  483. /package/dist/{cytoscape.esm-BFEMljQI.js → cytoscape.esm-DclyBJ4D.js} +0 -0
  484. /package/dist/{d-DCGWK7NQ.js → d-Bd8EVRQt.js} +0 -0
  485. /package/dist/{defaultLocale-Cto8YOmX.js → defaultLocale-BPzjWfXP.js} +0 -0
  486. /package/dist/{defaultLocale-CYgZlqDF.js → defaultLocale-Om7Wxg5c.js} +0 -0
  487. /package/dist/{diff-CsxOM4Tr.js → diff-CAQdgtD6.js} +0 -0
  488. /package/dist/{dtd-Dwr0Jmks.js → dtd-eKW3pZj_.js} +0 -0
  489. /package/dist/{duckdb-keywords-7wAWf848.js → duckdb-keywords-BC3kWZZM.js} +0 -0
  490. /package/dist/{dylan-A7-ZBSey.js → dylan-CIO7R9Tr.js} +0 -0
  491. /package/dist/{ebnf-9_SaGDUz.js → ebnf-Pr4a9I6n.js} +0 -0
  492. /package/dist/{ecl-BzJVIQDc.js → ecl-BqYW-aOJ.js} +0 -0
  493. /package/dist/{eiffel-CO9eC_Op.js → eiffel-BOKM91eM.js} +0 -0
  494. /package/dist/{elm-CVAWj8SB.js → elm-3sobs3PV.js} +0 -0
  495. /package/dist/{emotion-is-prop-valid.esm-C3Yi5GQt.js → emotion-is-prop-valid.esm-Cm1uulbm.js} +0 -0
  496. /package/dist/{erlang-DWbZP546.js → erlang-C5EBzhP1.js} +0 -0
  497. /package/dist/{esm-AtKNNGYO.js → esm-CopBBL2y.js} +0 -0
  498. /package/dist/{fcl-CM9t2iay.js → fcl-Brh8s8q_.js} +0 -0
  499. /package/dist/{forth-BTYqUuu3.js → forth-DneRHr4K.js} +0 -0
  500. /package/dist/{fortran-DgAjHcCq.js → fortran-DsdmZbwQ.js} +0 -0
  501. /package/dist/{gas-BjDSWPZd.js → gas-DaoJ65Z9.js} +0 -0
  502. /package/dist/{gherkin-ClRqqpKv.js → gherkin-DUP_UlW-.js} +0 -0
  503. /package/dist/{groovy-BzNjnc8x.js → groovy-Rvyan8yX.js} +0 -0
  504. /package/dist/{haskell-DLdk34Jq.js → haskell-DIvpY54L.js} +0 -0
  505. /package/dist/{haxe-l6gaY_IS.js → haxe-Da_5bBNs.js} +0 -0
  506. /package/dist/{http-6Qg7z_h2.js → http-CMvcwl3E.js} +0 -0
  507. /package/dist/{idl-hlWT4D26.js → idl-DvL3aO0N.js} +0 -0
  508. /package/dist/{init-tZ42Torz.js → init-BNp5RczD.js} +0 -0
  509. /package/dist/{invariant-D3JoRb4I.js → invariant-Cl2wkkjN.js} +0 -0
  510. /package/dist/{isArrayLikeObject-DU5MCuQM.js → isArrayLikeObject-1qkWxZbL.js} +0 -0
  511. /package/dist/{javascript-DGukg1sB.js → javascript-DoyAP8vn.js} +0 -0
  512. /package/dist/{jinja2-DI5k_Er3.js → jinja2-Veqp7mFj.js} +0 -0
  513. /package/dist/{julia-BvDZDiIT.js → julia-Gi684CX7.js} +0 -0
  514. /package/dist/{katex-DgfMWJY9.js → katex-U6RPAuWM.js} +0 -0
  515. /package/dist/{livescript-2YMQfkfI.js → livescript-BKj_Zhvo.js} +0 -0
  516. /package/dist/{lua-DIUrQRfA.js → lua-CDA7hreG.js} +0 -0
  517. /package/dist/{main-BMTpe7M0.js → main-63eIj2Yx.js} +0 -0
  518. /package/dist/{marked.esm-DkVwEwtO.js → marked.esm-DE8HU3tw.js} +0 -0
  519. /package/dist/{math-qsHyz2Eo.js → math-C2iLT5gz.js} +0 -0
  520. /package/dist/{mathematica-Dqmg_BwL.js → mathematica-GWfSHReY.js} +0 -0
  521. /package/dist/{mbox-Cng-P-F1.js → mbox-Dwsrc4Ak.js} +0 -0
  522. /package/dist/{mirc-CNDqOVhQ.js → mirc-B2JE5ype.js} +0 -0
  523. /package/dist/{mllike-C1n2UDyX.js → mllike-BkBh4PFX.js} +0 -0
  524. /package/dist/{modelica-QqQC2pFj.js → modelica-C0hNlKgR.js} +0 -0
  525. /package/dist/{mscgen-C3fl8uhp.js → mscgen-DWWpdZnb.js} +0 -0
  526. /package/dist/{mumps-BeCUbMej.js → mumps-CMePAlSe.js} +0 -0
  527. /package/dist/{nginx-ejv7DsBz.js → nginx-GurZbX0E.js} +0 -0
  528. /package/dist/{node-sql-parser-CoPWN4hn.js → node-sql-parser-IKID_dZE.js} +0 -0
  529. /package/dist/{ntriples-CUgUpcma.js → ntriples-BnE6tX0Y.js} +0 -0
  530. /package/dist/{octave-BD652tGl.js → octave-Dfu3PmNP.js} +0 -0
  531. /package/dist/{oz-DrRsFa0K.js → oz-DqNpAjpZ.js} +0 -0
  532. /package/dist/{pascal-hpcx9sVn.js → pascal-GP_8jbNL.js} +0 -0
  533. /package/dist/{path-Bbv2tLY1.js → path-BeMi_1Je.js} +0 -0
  534. /package/dist/{perl-DW8XHeFc.js → perl-DUDEqQOD.js} +0 -0
  535. /package/dist/{pig-Cv7Nxbfo.js → pig-Csr4LnKs.js} +0 -0
  536. /package/dist/{powershell-Dr7WZMDU.js → powershell-Cw4tDKZx.js} +0 -0
  537. /package/dist/{prop-types-Bd16OEUP.js → prop-types-CzOfzj9N.js} +0 -0
  538. /package/dist/{properties-D-qJDXAM.js → properties-CUhUGfHR.js} +0 -0
  539. /package/dist/{protobuf-B48QZbd3.js → protobuf-CPZe957V.js} +0 -0
  540. /package/dist/{puppet-15JDyiY2.js → puppet-BP1AOwo6.js} +0 -0
  541. /package/dist/{purify.es-CrfFzTyi.js → purify.es-CDFkadZl.js} +0 -0
  542. /package/dist/{python-DWkQA94h.js → python-BMcMimC3.js} +0 -0
  543. /package/dist/{q-BzRpKgfd.js → q-BNfSHUci.js} +0 -0
  544. /package/dist/{r-dcNRe_Q8.js → r-DiJzLRZc.js} +0 -0
  545. /package/dist/{range-CQvYp_qE.js → range-sX2tw-Jz.js} +0 -0
  546. /package/dist/{react-dom-CpBooCbY.js → react-dom-BTjywDxo.js} +0 -0
  547. /package/dist/{rpm-Djl3Dsf1.js → rpm-CywAxCKo.js} +0 -0
  548. /package/dist/{ruby-Dd2CZTip.js → ruby-B0a4mSSU.js} +0 -0
  549. /package/dist/{sas-DYF5_Iqu.js → sas-DTh30wZQ.js} +0 -0
  550. /package/dist/{scheme-YtWcji1H.js → scheme-CsOlAIFf.js} +0 -0
  551. /package/dist/{shell-C3uC3Y0Z.js → shell-7w75P-tg.js} +0 -0
  552. /package/dist/{sieve-DHB17sQG.js → sieve-BphUEMa4.js} +0 -0
  553. /package/dist/{simple-mode-BMmwP_vI.js → simple-mode-BcThS5Pa.js} +0 -0
  554. /package/dist/{smalltalk-Y5v1Np3H.js → smalltalk-CHwdNey_.js} +0 -0
  555. /package/dist/{solr-DvRJLlRD.js → solr-CuWbYJLt.js} +0 -0
  556. /package/dist/{sparql-BEt3GJwM.js → sparql-BtwCqUvT.js} +0 -0
  557. /package/dist/{spreadsheet-Dp4B9_rc.js → spreadsheet-C1JzeuKn.js} +0 -0
  558. /package/dist/{sql-DBsUs8nQ.js → sql-wv_2DQzf.js} +0 -0
  559. /package/dist/{stex-C6-x52ei.js → stex-BmcrV7cx.js} +0 -0
  560. /package/dist/{stylus-DroA8via.js → stylus-SVJ7TGPh.js} +0 -0
  561. /package/dist/{swift-DR0x1ESK.js → swift-f7KaABxm.js} +0 -0
  562. /package/dist/{tcl-BeuTFc_c.js → tcl-CbTFkeHJ.js} +0 -0
  563. /package/dist/{textile-C0ikhHN3.js → textile-CFn6QLRy.js} +0 -0
  564. /package/dist/{tiddlywiki-C_2Nvsgu.js → tiddlywiki-DBhMcdVM.js} +0 -0
  565. /package/dist/{tiki-CKQlhmQQ.js → tiki-CqcXr_YN.js} +0 -0
  566. /package/dist/{timer-CcUhugb0.js → timer-ly0jlpkr.js} +0 -0
  567. /package/dist/{toml-BqNUJWRI.js → toml-YgDIoI1n.js} +0 -0
  568. /package/dist/{treemap-BYLUKIzA.js → treemap-D5sUCpbF.js} +0 -0
  569. /package/dist/{troff-DkK0f2ZH.js → troff-CIp_4RXg.js} +0 -0
  570. /package/dist/{ttcn-Bf8vrg-_.js → ttcn-Yn_uOBYK.js} +0 -0
  571. /package/dist/{ttcn-cfg-DjCKzd95.js → ttcn-cfg-BVum2rmM.js} +0 -0
  572. /package/dist/{turtle-SSc84S9m.js → turtle-BeWx-YoQ.js} +0 -0
  573. /package/dist/{vb-CQ6DC3cL.js → vb-DKEmSA_2.js} +0 -0
  574. /package/dist/{vbscript-Dw0gFssg.js → vbscript-BPsxuP0n.js} +0 -0
  575. /package/dist/{velocity-BvJQyBmj.js → velocity-ycm1NvlO.js} +0 -0
  576. /package/dist/{verilog-CKGAvQjj.js → verilog-ogjm0Ytr.js} +0 -0
  577. /package/dist/{vhdl-B40_x6fM.js → vhdl-BvjyOM9y.js} +0 -0
  578. /package/dist/{webidl-Bi9hczCv.js → webidl-QdwcTYEu.js} +0 -0
  579. /package/dist/{xquery-DwWUXvP3.js → xquery-BErHIIc-.js} +0 -0
  580. /package/dist/{yacas-ClUs0mmH.js → yacas-BBBJNs0h.js} +0 -0
  581. /package/dist/{z80-DPC4UGzR.js → z80-nG9RRukG.js} +0 -0
  582. /package/dist/{zod-mAEs2ITo.js → zod-0AbTN3Cg.js} +0 -0
@@ -1,13 +1,16 @@
1
1
  import { s as __toESM } from "./chunk-DgPTj83v.js";
2
2
  import { t as require_react } from "./react-DHL_F5hS.js";
3
- import { n as require_compiler_runtime, t as require_jsx_runtime } from "./jsx-runtime-DZyWJV5b.js";
4
- import { C as useCallbackRef, D as createContextScope, O as composeEventHandlers, S as DismissableLayer, _ as Root2$1, b as useId, c as StyleNamespace, d as useControllableState, g as Content, h as Arrow, i as useFocusGuards, k as createLucideIcon, m as Anchor, n as hideOthers, o as withFullScreenAsRoot, p as Portal, r as FocusScope, s as withSmartCollisionBoundary, t as Combination_default, u as VISUALLY_HIDDEN_STYLES, v as createPopperScope, w as Primitive, x as useLayoutEffect2 } from "./Combination-De9yoNY5.js";
5
- import { t as Check } from "./check-COlaG7Ss.js";
6
- import { d as cn, l as useComposedRefs, o as createSlot, r as cva, u as Events } from "./button-ADXOb_gX.js";
7
- import { t as require_react_dom } from "./react-dom-CpBooCbY.js";
8
- import { t as toString_default } from "./toString-CbuxCRDG.js";
9
- import { t as _baseSlice_default } from "./_baseSlice-CE9WsQZm.js";
10
- import { t as _hasUnicode_default } from "./_hasUnicode-DkEebvtD.js";
3
+ import { t as require_compiler_runtime } from "./compiler-runtime-5MdCVm0X.js";
4
+ import { A as createLucideIcon, C as DismissableLayer, O as createContextScope, S as useLayoutEffect2, T as Primitive, _ as Content, c as withSmartCollisionBoundary, d as VISUALLY_HIDDEN_STYLES, f as useControllableState, g as Arrow, h as Anchor, i as useFocusGuards, k as composeEventHandlers, l as StyleNamespace, m as Portal, n as hideOthers, r as FocusScope, s as withFullScreenAsRoot, t as Combination_default, v as Root2$1, w as useCallbackRef, x as useId, y as createPopperScope } from "./Combination-DrSsMSEB.js";
5
+ import { t as Check } from "./check-BZnPxXnd.js";
6
+ import { d as cn, l as useComposedRefs, o as createSlot, r as cva, u as Events } from "./button-B8zS4Mtw.js";
7
+ import { s as Logger } from "./hotkeys-DVxFjl2s.js";
8
+ import { t as require_jsx_runtime } from "./jsx-runtime-CvL6gNI-.js";
9
+ import { t as require_react_dom } from "./react-dom-BTjywDxo.js";
10
+ import { t as toString_default } from "./toString-CT4n1k2E.js";
11
+ import { t as _baseSlice_default } from "./_baseSlice-CAnpEJwx.js";
12
+ import { t as _hasUnicode_default } from "./_hasUnicode-CbmCTPAa.js";
13
+ import { t as invariant } from "./invariant-Cl2wkkjN.js";
11
14
  var ChevronDown = createLucideIcon("chevron-down", [["path", {
12
15
  d: "m6 9 6 6 6-6",
13
16
  key: "qrunsl"
@@ -20,7 +23,247 @@ var ChevronDown = createLucideIcon("chevron-down", [["path", {
20
23
  }], ["path", {
21
24
  d: "m6 6 12 12",
22
25
  key: "d8bk6v"
23
- }]]);
26
+ }]]), import_react = /* @__PURE__ */ __toESM(require_react(), 1), $b5e257d569688ac6$var$defaultContext = {
27
+ prefix: String(Math.round(Math.random() * 1e10)),
28
+ current: 0
29
+ }, $b5e257d569688ac6$var$SSRContext = /* @__PURE__ */ import_react.createContext($b5e257d569688ac6$var$defaultContext), $b5e257d569688ac6$var$IsSSRContext = /* @__PURE__ */ import_react.createContext(false);
30
+ typeof window < "u" && window.document && window.document.createElement;
31
+ var $b5e257d569688ac6$var$componentIds = /* @__PURE__ */ new WeakMap();
32
+ function $b5e257d569688ac6$var$useCounter(e = false) {
33
+ var _a, _b;
34
+ let i = (0, import_react.useContext)($b5e257d569688ac6$var$SSRContext), a = (0, import_react.useRef)(null);
35
+ if (a.current === null && !e) {
36
+ let e2 = (_b = (_a = import_react.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED) == null ? void 0 : _a.ReactCurrentOwner) == null ? void 0 : _b.current;
37
+ if (e2) {
38
+ let a2 = $b5e257d569688ac6$var$componentIds.get(e2);
39
+ a2 == null ? $b5e257d569688ac6$var$componentIds.set(e2, {
40
+ id: i.current,
41
+ state: e2.memoizedState
42
+ }) : e2.memoizedState !== a2.state && (i.current = a2.id, $b5e257d569688ac6$var$componentIds.delete(e2));
43
+ }
44
+ a.current = ++i.current;
45
+ }
46
+ return a.current;
47
+ }
48
+ function $b5e257d569688ac6$var$useLegacySSRSafeId(e) {
49
+ let i = (0, import_react.useContext)($b5e257d569688ac6$var$SSRContext), a = $b5e257d569688ac6$var$useCounter(!!e), o = `react-aria${i.prefix}`;
50
+ return e || `${o}-${a}`;
51
+ }
52
+ function $b5e257d569688ac6$var$useModernSSRSafeId(e) {
53
+ let i = import_react.useId(), [a] = (0, import_react.useState)($b5e257d569688ac6$export$535bd6ca7f90a273()), o = a ? "react-aria" : `react-aria${$b5e257d569688ac6$var$defaultContext.prefix}`;
54
+ return e || `${o}-${i}`;
55
+ }
56
+ var $b5e257d569688ac6$export$619500959fc48b26 = typeof import_react.useId == "function" ? $b5e257d569688ac6$var$useModernSSRSafeId : $b5e257d569688ac6$var$useLegacySSRSafeId;
57
+ function $b5e257d569688ac6$var$getSnapshot() {
58
+ return false;
59
+ }
60
+ function $b5e257d569688ac6$var$getServerSnapshot() {
61
+ return true;
62
+ }
63
+ function $b5e257d569688ac6$var$subscribe(e) {
64
+ return () => {
65
+ };
66
+ }
67
+ function $b5e257d569688ac6$export$535bd6ca7f90a273() {
68
+ return typeof import_react.useSyncExternalStore == "function" ? import_react.useSyncExternalStore($b5e257d569688ac6$var$subscribe, $b5e257d569688ac6$var$getSnapshot, $b5e257d569688ac6$var$getServerSnapshot) : (0, import_react.useContext)($b5e257d569688ac6$var$IsSSRContext);
69
+ }
70
+ var $148a7a147e38ea7f$var$RTL_SCRIPTS = /* @__PURE__ */ new Set([
71
+ "Arab",
72
+ "Syrc",
73
+ "Samr",
74
+ "Mand",
75
+ "Thaa",
76
+ "Mend",
77
+ "Nkoo",
78
+ "Adlm",
79
+ "Rohg",
80
+ "Hebr"
81
+ ]), $148a7a147e38ea7f$var$RTL_LANGS = /* @__PURE__ */ new Set([
82
+ "ae",
83
+ "ar",
84
+ "arc",
85
+ "bcc",
86
+ "bqi",
87
+ "ckb",
88
+ "dv",
89
+ "fa",
90
+ "glk",
91
+ "he",
92
+ "ku",
93
+ "mzn",
94
+ "nqo",
95
+ "pnb",
96
+ "ps",
97
+ "sd",
98
+ "ug",
99
+ "ur",
100
+ "yi"
101
+ ]);
102
+ function $148a7a147e38ea7f$export$702d680b21cbd764(e) {
103
+ if (Intl.Locale) {
104
+ let i2 = new Intl.Locale(e).maximize(), a = typeof i2.getTextInfo == "function" ? i2.getTextInfo() : i2.textInfo;
105
+ if (a) return a.direction === "rtl";
106
+ if (i2.script) return $148a7a147e38ea7f$var$RTL_SCRIPTS.has(i2.script);
107
+ }
108
+ let i = e.split("-")[0];
109
+ return $148a7a147e38ea7f$var$RTL_LANGS.has(i);
110
+ }
111
+ var $1e5a04cdaf7d1af8$var$localeSymbol = Symbol.for("react-aria.i18n.locale");
112
+ function $1e5a04cdaf7d1af8$export$f09106e7c6677ec5() {
113
+ let e = typeof window < "u" && window[$1e5a04cdaf7d1af8$var$localeSymbol] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";
114
+ try {
115
+ Intl.DateTimeFormat.supportedLocalesOf([e]);
116
+ } catch {
117
+ e = "en-US";
118
+ }
119
+ return {
120
+ locale: e,
121
+ direction: $148a7a147e38ea7f$export$702d680b21cbd764(e) ? "rtl" : "ltr"
122
+ };
123
+ }
124
+ var $1e5a04cdaf7d1af8$var$currentLocale = $1e5a04cdaf7d1af8$export$f09106e7c6677ec5(), $1e5a04cdaf7d1af8$var$listeners = /* @__PURE__ */ new Set();
125
+ function $1e5a04cdaf7d1af8$var$updateLocale() {
126
+ $1e5a04cdaf7d1af8$var$currentLocale = $1e5a04cdaf7d1af8$export$f09106e7c6677ec5();
127
+ for (let e of $1e5a04cdaf7d1af8$var$listeners) e($1e5a04cdaf7d1af8$var$currentLocale);
128
+ }
129
+ function $1e5a04cdaf7d1af8$export$188ec29ebc2bdc3a() {
130
+ let e = $b5e257d569688ac6$export$535bd6ca7f90a273(), [i, a] = (0, import_react.useState)($1e5a04cdaf7d1af8$var$currentLocale);
131
+ return (0, import_react.useEffect)(() => ($1e5a04cdaf7d1af8$var$listeners.size === 0 && window.addEventListener("languagechange", $1e5a04cdaf7d1af8$var$updateLocale), $1e5a04cdaf7d1af8$var$listeners.add(a), () => {
132
+ $1e5a04cdaf7d1af8$var$listeners.delete(a), $1e5a04cdaf7d1af8$var$listeners.size === 0 && window.removeEventListener("languagechange", $1e5a04cdaf7d1af8$var$updateLocale);
133
+ }), []), e ? {
134
+ locale: "en-US",
135
+ direction: "ltr"
136
+ } : i;
137
+ }
138
+ var $18f2051aff69b9bf$var$I18nContext = /* @__PURE__ */ import_react.createContext(null);
139
+ function $18f2051aff69b9bf$var$I18nProviderWithLocale(e) {
140
+ let { locale: i, children: a } = e, o = import_react.useMemo(() => ({
141
+ locale: i,
142
+ direction: $148a7a147e38ea7f$export$702d680b21cbd764(i) ? "rtl" : "ltr"
143
+ }), [i]);
144
+ return /* @__PURE__ */ import_react.createElement($18f2051aff69b9bf$var$I18nContext.Provider, { value: o }, a);
145
+ }
146
+ function $18f2051aff69b9bf$var$I18nProviderWithDefaultLocale(e) {
147
+ let { children: i } = e, a = $1e5a04cdaf7d1af8$export$188ec29ebc2bdc3a();
148
+ return /* @__PURE__ */ import_react.createElement($18f2051aff69b9bf$var$I18nContext.Provider, { value: a }, i);
149
+ }
150
+ function $18f2051aff69b9bf$export$a54013f0d02a8f82(e) {
151
+ let { locale: i, children: a } = e;
152
+ return i ? /* @__PURE__ */ import_react.createElement($18f2051aff69b9bf$var$I18nProviderWithLocale, {
153
+ locale: i,
154
+ children: a
155
+ }) : /* @__PURE__ */ import_react.createElement($18f2051aff69b9bf$var$I18nProviderWithDefaultLocale, { children: a });
156
+ }
157
+ function $18f2051aff69b9bf$export$43bb16f9c6d9e3f7() {
158
+ let e = $1e5a04cdaf7d1af8$export$188ec29ebc2bdc3a();
159
+ return (0, import_react.useContext)($18f2051aff69b9bf$var$I18nContext) || e;
160
+ }
161
+ var $488c6ddbf4ef74c2$var$formatterCache = /* @__PURE__ */ new Map(), $488c6ddbf4ef74c2$var$supportsSignDisplay = false;
162
+ try {
163
+ $488c6ddbf4ef74c2$var$supportsSignDisplay = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";
164
+ } catch {
165
+ }
166
+ var $488c6ddbf4ef74c2$var$supportsUnit = false;
167
+ try {
168
+ $488c6ddbf4ef74c2$var$supportsUnit = new Intl.NumberFormat("de-DE", {
169
+ style: "unit",
170
+ unit: "degree"
171
+ }).resolvedOptions().style === "unit";
172
+ } catch {
173
+ }
174
+ var $488c6ddbf4ef74c2$var$UNITS = { degree: { narrow: {
175
+ default: "\xB0",
176
+ "ja-JP": " \u5EA6",
177
+ "zh-TW": "\u5EA6",
178
+ "sl-SI": " \xB0"
179
+ } } }, $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5 = class {
180
+ format(e) {
181
+ var _a;
182
+ let i = "";
183
+ if (i = !$488c6ddbf4ef74c2$var$supportsSignDisplay && this.options.signDisplay != null ? $488c6ddbf4ef74c2$export$711b50b3c525e0f2(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), this.options.style === "unit" && !$488c6ddbf4ef74c2$var$supportsUnit) {
184
+ let { unit: e2, unitDisplay: a = "short", locale: o } = this.resolvedOptions();
185
+ if (!e2) return i;
186
+ let s = (_a = $488c6ddbf4ef74c2$var$UNITS[e2]) == null ? void 0 : _a[a];
187
+ i += s[o] || s.default;
188
+ }
189
+ return i;
190
+ }
191
+ formatToParts(e) {
192
+ return this.numberFormatter.formatToParts(e);
193
+ }
194
+ formatRange(e, i) {
195
+ if (typeof this.numberFormatter.formatRange == "function") return this.numberFormatter.formatRange(e, i);
196
+ if (i < e) throw RangeError("End date must be >= start date");
197
+ return `${this.format(e)} \u2013 ${this.format(i)}`;
198
+ }
199
+ formatRangeToParts(e, i) {
200
+ if (typeof this.numberFormatter.formatRangeToParts == "function") return this.numberFormatter.formatRangeToParts(e, i);
201
+ if (i < e) throw RangeError("End date must be >= start date");
202
+ let a = this.numberFormatter.formatToParts(e), o = this.numberFormatter.formatToParts(i);
203
+ return [
204
+ ...a.map((e2) => ({
205
+ ...e2,
206
+ source: "startRange"
207
+ })),
208
+ {
209
+ type: "literal",
210
+ value: " \u2013 ",
211
+ source: "shared"
212
+ },
213
+ ...o.map((e2) => ({
214
+ ...e2,
215
+ source: "endRange"
216
+ }))
217
+ ];
218
+ }
219
+ resolvedOptions() {
220
+ let e = this.numberFormatter.resolvedOptions();
221
+ return !$488c6ddbf4ef74c2$var$supportsSignDisplay && this.options.signDisplay != null && (e = {
222
+ ...e,
223
+ signDisplay: this.options.signDisplay
224
+ }), !$488c6ddbf4ef74c2$var$supportsUnit && this.options.style === "unit" && (e = {
225
+ ...e,
226
+ style: "unit",
227
+ unit: this.options.unit,
228
+ unitDisplay: this.options.unitDisplay
229
+ }), e;
230
+ }
231
+ constructor(e, i = {}) {
232
+ this.numberFormatter = $488c6ddbf4ef74c2$var$getCachedNumberFormatter(e, i), this.options = i;
233
+ }
234
+ };
235
+ function $488c6ddbf4ef74c2$var$getCachedNumberFormatter(e, i = {}) {
236
+ var _a;
237
+ let { numberingSystem: a } = i;
238
+ if (a && e.includes("-nu-") && (e.includes("-u-") || (e += "-u-"), e += `-nu-${a}`), i.style === "unit" && !$488c6ddbf4ef74c2$var$supportsUnit) {
239
+ let { unit: e2, unitDisplay: a2 = "short" } = i;
240
+ if (!e2) throw Error('unit option must be provided with style: "unit"');
241
+ if (!((_a = $488c6ddbf4ef74c2$var$UNITS[e2]) == null ? void 0 : _a[a2])) throw Error(`Unsupported unit ${e2} with unitDisplay = ${a2}`);
242
+ i = {
243
+ ...i,
244
+ style: "decimal"
245
+ };
246
+ }
247
+ let o = e + (i ? Object.entries(i).sort((e2, i2) => e2[0] < i2[0] ? -1 : 1).join() : "");
248
+ if ($488c6ddbf4ef74c2$var$formatterCache.has(o)) return $488c6ddbf4ef74c2$var$formatterCache.get(o);
249
+ let s = new Intl.NumberFormat(e, i);
250
+ return $488c6ddbf4ef74c2$var$formatterCache.set(o, s), s;
251
+ }
252
+ function $488c6ddbf4ef74c2$export$711b50b3c525e0f2(e, i, a) {
253
+ if (i === "auto") return e.format(a);
254
+ if (i === "never") return e.format(Math.abs(a));
255
+ {
256
+ let o = false;
257
+ if (i === "always" ? o = a > 0 || Object.is(a, 0) : i === "exceptZero" && (Object.is(a, -0) || Object.is(a, 0) ? a = Math.abs(a) : o = a > 0), o) {
258
+ let i2 = e.format(-a), o2 = e.format(a), s = i2.replace(o2, "").replace(/\u200e|\u061C/, "");
259
+ return [...s].length !== 1 && console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"), i2.replace(o2, "!!!").replace(s, "+").replace("!!!", o2);
260
+ } else return e.format(a);
261
+ }
262
+ }
263
+ function $a916eb452884faea$export$b7a616150fdb9f44(e = {}) {
264
+ let { locale: i } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7();
265
+ return (0, import_react.useMemo)(() => new $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5(i, e), [i, e]);
266
+ }
24
267
  function castSlice(e, i, a) {
25
268
  var o = e.length;
26
269
  return a = a === void 0 ? o : a, !i && a >= o ? e : _baseSlice_default(e, i, a);
@@ -55,7 +298,13 @@ function createCaseFirst(e) {
55
298
  return o[e]() + s;
56
299
  };
57
300
  }
58
- var upperFirst_default = createCaseFirst("toUpperCase"), import_react = /* @__PURE__ */ __toESM(require_react(), 1);
301
+ var upperFirst_default = createCaseFirst("toUpperCase");
302
+ function assertNever(e) {
303
+ invariant(false, `Unexpected object: ${e}`);
304
+ }
305
+ function logNever(e) {
306
+ return Logger.warn(`Unexpected object: ${JSON.stringify(e)}`), e;
307
+ }
59
308
  function usePrevious(e) {
60
309
  let i = import_react.useRef({
61
310
  value: e,
@@ -137,7 +386,7 @@ var import_react_dom = /* @__PURE__ */ __toESM(require_react_dom(), 1), OPEN_KEY
137
386
  "ArrowUp",
138
387
  "ArrowDown"
139
388
  ], SELECTION_KEYS = [" ", "Enter"], SELECT_NAME = "Select", [Collection, useCollection, createCollectionScope] = createCollection(SELECT_NAME), [createSelectContext, createSelectScope] = createContextScope(SELECT_NAME, [createCollectionScope, createPopperScope]), usePopperScope = createPopperScope(), [SelectProvider, useSelectContext] = createSelectContext(SELECT_NAME), [SelectNativeOptionsProvider, useSelectNativeOptionsContext] = createSelectContext(SELECT_NAME), Select$1 = (e) => {
140
- let { __scopeSelect: i, children: a, open: o, defaultOpen: s, onOpenChange: c, value: l, defaultValue: u, onValueChange: p, dir: h, name: g, autoComplete: _, disabled: v, required: y, form: b } = e, x = usePopperScope(i), [S, C] = import_react.useState(null), [w, T] = import_react.useState(null), [E, D] = import_react.useState(false), O = useDirection(h), [k, A] = useControllableState({
389
+ let { __scopeSelect: i, children: a, open: o, defaultOpen: s, onOpenChange: c, value: l, defaultValue: u, onValueChange: d, dir: f, name: p, autoComplete: h, disabled: g, required: _, form: v } = e, y = usePopperScope(i), [b, x] = import_react.useState(null), [S, C] = import_react.useState(null), [w, E] = import_react.useState(false), O = useDirection(f), [k, A] = useControllableState({
141
390
  prop: o,
142
391
  defaultProp: s ?? false,
143
392
  onChange: c,
@@ -145,20 +394,20 @@ var import_react_dom = /* @__PURE__ */ __toESM(require_react_dom(), 1), OPEN_KEY
145
394
  }), [j, M] = useControllableState({
146
395
  prop: l,
147
396
  defaultProp: u,
148
- onChange: p,
397
+ onChange: d,
149
398
  caller: SELECT_NAME
150
- }), N = import_react.useRef(null), P = S ? b || !!S.closest("form") : true, [F, I] = import_react.useState(/* @__PURE__ */ new Set()), L = Array.from(F).map((e2) => e2.props.value).join(";");
399
+ }), N = import_react.useRef(null), P = b ? v || !!b.closest("form") : true, [F, I] = import_react.useState(/* @__PURE__ */ new Set()), L = Array.from(F).map((e2) => e2.props.value).join(";");
151
400
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Root2$1, {
152
- ...x,
401
+ ...y,
153
402
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(SelectProvider, {
154
- required: y,
403
+ required: _,
155
404
  scope: i,
156
- trigger: S,
157
- onTriggerChange: C,
158
- valueNode: w,
159
- onValueNodeChange: T,
160
- valueNodeHasChildren: E,
161
- onValueNodeHasChildrenChange: D,
405
+ trigger: b,
406
+ onTriggerChange: x,
407
+ valueNode: S,
408
+ onValueNodeChange: C,
409
+ valueNodeHasChildren: w,
410
+ onValueNodeHasChildrenChange: E,
162
411
  contentId: useId(),
163
412
  value: j,
164
413
  onValueChange: M,
@@ -166,7 +415,7 @@ var import_react_dom = /* @__PURE__ */ __toESM(require_react_dom(), 1), OPEN_KEY
166
415
  onOpenChange: A,
167
416
  dir: O,
168
417
  triggerPointerDownPosRef: N,
169
- disabled: v,
418
+ disabled: g,
170
419
  children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Collection.Provider, {
171
420
  scope: i,
172
421
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectNativeOptionsProvider, {
@@ -184,14 +433,14 @@ var import_react_dom = /* @__PURE__ */ __toESM(require_react_dom(), 1), OPEN_KEY
184
433
  })
185
434
  }), P ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(SelectBubbleInput, {
186
435
  "aria-hidden": true,
187
- required: y,
436
+ required: _,
188
437
  tabIndex: -1,
189
- name: g,
190
- autoComplete: _,
438
+ name: p,
439
+ autoComplete: h,
191
440
  value: j,
192
441
  onChange: (e2) => M(e2.target.value),
193
- disabled: v,
194
- form: b,
442
+ disabled: g,
443
+ form: v,
195
444
  children: [j === void 0 ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("option", { value: "" }) : null, Array.from(F)]
196
445
  }, L) : null]
197
446
  })
@@ -199,11 +448,11 @@ var import_react_dom = /* @__PURE__ */ __toESM(require_react_dom(), 1), OPEN_KEY
199
448
  };
200
449
  Select$1.displayName = SELECT_NAME;
201
450
  var TRIGGER_NAME = "SelectTrigger", SelectTrigger$1 = import_react.forwardRef((e, i) => {
202
- let { __scopeSelect: a, disabled: o = false, ...s } = e, c = usePopperScope(a), u = useSelectContext(TRIGGER_NAME, a), d = u.disabled || o, f = useComposedRefs(i, u.onTriggerChange), p = useCollection(a), m = import_react.useRef("touch"), [h, g, _] = useTypeaheadSearch((e2) => {
203
- let i2 = p().filter((e3) => !e3.disabled), a2 = findNextItem(i2, e2, i2.find((e3) => e3.value === u.value));
204
- a2 !== void 0 && u.onValueChange(a2.value);
205
- }), v = (e2) => {
206
- d || (u.onOpenChange(true), _()), e2 && (u.triggerPointerDownPosRef.current = {
451
+ let { __scopeSelect: a, disabled: o = false, ...s } = e, c = usePopperScope(a), l = useSelectContext(TRIGGER_NAME, a), d = l.disabled || o, f = useComposedRefs(i, l.onTriggerChange), p = useCollection(a), m = import_react.useRef("touch"), [h, _, y] = useTypeaheadSearch((e2) => {
452
+ let i2 = p().filter((e3) => !e3.disabled), a2 = findNextItem(i2, e2, i2.find((e3) => e3.value === l.value));
453
+ a2 !== void 0 && l.onValueChange(a2.value);
454
+ }), b = (e2) => {
455
+ d || (l.onOpenChange(true), y()), e2 && (l.triggerPointerDownPosRef.current = {
207
456
  x: Math.round(e2.pageX),
208
457
  y: Math.round(e2.pageY)
209
458
  });
@@ -214,42 +463,42 @@ var TRIGGER_NAME = "SelectTrigger", SelectTrigger$1 = import_react.forwardRef((e
214
463
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Primitive.button, {
215
464
  type: "button",
216
465
  role: "combobox",
217
- "aria-controls": u.contentId,
218
- "aria-expanded": u.open,
219
- "aria-required": u.required,
466
+ "aria-controls": l.contentId,
467
+ "aria-expanded": l.open,
468
+ "aria-required": l.required,
220
469
  "aria-autocomplete": "none",
221
- dir: u.dir,
222
- "data-state": u.open ? "open" : "closed",
470
+ dir: l.dir,
471
+ "data-state": l.open ? "open" : "closed",
223
472
  disabled: d,
224
473
  "data-disabled": d ? "" : void 0,
225
- "data-placeholder": shouldShowPlaceholder(u.value) ? "" : void 0,
474
+ "data-placeholder": shouldShowPlaceholder(l.value) ? "" : void 0,
226
475
  ...s,
227
476
  ref: f,
228
477
  onClick: composeEventHandlers(s.onClick, (e2) => {
229
- e2.currentTarget.focus(), m.current !== "mouse" && v(e2);
478
+ e2.currentTarget.focus(), m.current !== "mouse" && b(e2);
230
479
  }),
231
480
  onPointerDown: composeEventHandlers(s.onPointerDown, (e2) => {
232
481
  m.current = e2.pointerType;
233
482
  let i2 = e2.target;
234
- i2.hasPointerCapture(e2.pointerId) && i2.releasePointerCapture(e2.pointerId), e2.button === 0 && e2.ctrlKey === false && e2.pointerType === "mouse" && (v(e2), e2.preventDefault());
483
+ i2.hasPointerCapture(e2.pointerId) && i2.releasePointerCapture(e2.pointerId), e2.button === 0 && e2.ctrlKey === false && e2.pointerType === "mouse" && (b(e2), e2.preventDefault());
235
484
  }),
236
485
  onKeyDown: composeEventHandlers(s.onKeyDown, (e2) => {
237
486
  let i2 = h.current !== "";
238
- !(e2.ctrlKey || e2.altKey || e2.metaKey) && e2.key.length === 1 && g(e2.key), !(i2 && e2.key === " ") && OPEN_KEYS.includes(e2.key) && (v(), e2.preventDefault());
487
+ !(e2.ctrlKey || e2.altKey || e2.metaKey) && e2.key.length === 1 && _(e2.key), !(i2 && e2.key === " ") && OPEN_KEYS.includes(e2.key) && (b(), e2.preventDefault());
239
488
  })
240
489
  })
241
490
  });
242
491
  });
243
492
  SelectTrigger$1.displayName = TRIGGER_NAME;
244
493
  var VALUE_NAME = "SelectValue", SelectValue$1 = import_react.forwardRef((e, i) => {
245
- let { __scopeSelect: a, className: o, style: s, children: c, placeholder: l = "", ...u } = e, d = useSelectContext(VALUE_NAME, a), { onValueNodeHasChildrenChange: f } = d, p = c !== void 0, m = useComposedRefs(i, d.onValueNodeChange);
494
+ let { __scopeSelect: a, className: o, style: s, children: c, placeholder: d = "", ...f } = e, p = useSelectContext(VALUE_NAME, a), { onValueNodeHasChildrenChange: m } = p, h = c !== void 0, g = useComposedRefs(i, p.onValueNodeChange);
246
495
  return useLayoutEffect2(() => {
247
- f(p);
248
- }, [f, p]), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Primitive.span, {
249
- ...u,
250
- ref: m,
496
+ m(h);
497
+ }, [m, h]), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Primitive.span, {
498
+ ...f,
499
+ ref: g,
251
500
  style: { pointerEvents: "none" },
252
- children: shouldShowPlaceholder(d.value) ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, { children: l }) : c
501
+ children: shouldShowPlaceholder(p.value) ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, { children: d }) : c
253
502
  });
254
503
  });
255
504
  SelectValue$1.displayName = VALUE_NAME;
@@ -289,13 +538,13 @@ var CONTENT_NAME = "SelectContent", SelectContent$1 = import_react.forwardRef((e
289
538
  });
290
539
  SelectContent$1.displayName = CONTENT_NAME;
291
540
  var CONTENT_MARGIN = 10, [SelectContentProvider, useSelectContentContext] = createSelectContext(CONTENT_NAME), CONTENT_IMPL_NAME = "SelectContentImpl", Slot = createSlot("SelectContent.RemoveScroll"), SelectContentImpl = import_react.forwardRef((e, i) => {
292
- let { __scopeSelect: a, position: o = "item-aligned", onCloseAutoFocus: s, onEscapeKeyDown: c, onPointerDownOutside: d, side: f, sideOffset: p, align: m, alignOffset: h, arrowPadding: g, collisionBoundary: v, collisionPadding: y, sticky: x, hideWhenDetached: S, avoidCollisions: w, ...E } = e, D = useSelectContext(CONTENT_NAME, a), [O, k] = import_react.useState(null), [A, j] = import_react.useState(null), N = useComposedRefs(i, (e2) => k(e2)), [P, F] = import_react.useState(null), [I, L] = import_react.useState(null), R = useCollection(a), [z, B] = import_react.useState(false), V = import_react.useRef(false);
541
+ let { __scopeSelect: a, position: o = "item-aligned", onCloseAutoFocus: c, onEscapeKeyDown: l, onPointerDownOutside: u, side: d, sideOffset: f, align: p, alignOffset: m, arrowPadding: h, collisionBoundary: g, collisionPadding: y, sticky: b, hideWhenDetached: C, avoidCollisions: T, ...E } = e, D = useSelectContext(CONTENT_NAME, a), [O, k] = import_react.useState(null), [A, M] = import_react.useState(null), N = useComposedRefs(i, (e2) => k(e2)), [P, F] = import_react.useState(null), [I, L] = import_react.useState(null), R = useCollection(a), [z, B] = import_react.useState(false), V = import_react.useRef(false);
293
542
  import_react.useEffect(() => {
294
543
  if (O) return hideOthers(O);
295
544
  }, [O]), useFocusGuards();
296
545
  let H = import_react.useCallback((e2) => {
297
- let [i2, ...a2] = R().map((e3) => e3.ref.current), [o2] = a2.slice(-1), s2 = document.activeElement;
298
- for (let a3 of e2) if (a3 === s2 || (a3 == null ? void 0 : a3.scrollIntoView({ block: "nearest" }), a3 === i2 && A && (A.scrollTop = 0), a3 === o2 && A && (A.scrollTop = A.scrollHeight), a3 == null ? void 0 : a3.focus(), document.activeElement !== s2)) return;
546
+ let [i2, ...a2] = R().map((e3) => e3.ref.current), [o2] = a2.slice(-1), s = document.activeElement;
547
+ for (let a3 of e2) if (a3 === s || (a3 == null ? void 0 : a3.scrollIntoView({ block: "nearest" }), a3 === i2 && A && (A.scrollTop = 0), a3 === o2 && A && (A.scrollTop = A.scrollHeight), a3 == null ? void 0 : a3.focus(), document.activeElement !== s)) return;
299
548
  }, [R, A]), U = import_react.useCallback(() => H([P, O]), [
300
549
  H,
301
550
  P,
@@ -346,22 +595,22 @@ var CONTENT_MARGIN = 10, [SelectContentProvider, useSelectContentContext] = crea
346
595
  let o2 = !V.current && !a2;
347
596
  (D.value !== void 0 && D.value === i2 || o2) && L(e2);
348
597
  }, [D.value]), Q = o === "popper" ? SelectPopperPosition : SelectItemAlignedPosition, $ = Q === SelectPopperPosition ? {
349
- side: f,
350
- sideOffset: p,
351
- align: m,
352
- alignOffset: h,
353
- arrowPadding: g,
354
- collisionBoundary: v,
598
+ side: d,
599
+ sideOffset: f,
600
+ align: p,
601
+ alignOffset: m,
602
+ arrowPadding: h,
603
+ collisionBoundary: g,
355
604
  collisionPadding: y,
356
- sticky: x,
357
- hideWhenDetached: S,
358
- avoidCollisions: w
605
+ sticky: b,
606
+ hideWhenDetached: C,
607
+ avoidCollisions: T
359
608
  } : {};
360
609
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectContentProvider, {
361
610
  scope: a,
362
611
  content: O,
363
612
  viewport: A,
364
- onViewportChange: j,
613
+ onViewportChange: M,
365
614
  itemRefCallback: J,
366
615
  selectedItem: P,
367
616
  onItemLeave: Y,
@@ -380,15 +629,15 @@ var CONTENT_MARGIN = 10, [SelectContentProvider, useSelectContentContext] = crea
380
629
  onMountAutoFocus: (e2) => {
381
630
  e2.preventDefault();
382
631
  },
383
- onUnmountAutoFocus: composeEventHandlers(s, (e2) => {
632
+ onUnmountAutoFocus: composeEventHandlers(c, (e2) => {
384
633
  var _a;
385
634
  (_a = D.trigger) == null ? void 0 : _a.focus({ preventScroll: true }), e2.preventDefault();
386
635
  }),
387
636
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DismissableLayer, {
388
637
  asChild: true,
389
638
  disableOutsidePointerEvents: true,
390
- onEscapeKeyDown: c,
391
- onPointerDownOutside: d,
639
+ onEscapeKeyDown: l,
640
+ onPointerDownOutside: u,
392
641
  onFocusOutside: (e2) => e2.preventDefault(),
393
642
  onDismiss: () => D.onOpenChange(false),
394
643
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Q, {
@@ -431,64 +680,64 @@ var CONTENT_MARGIN = 10, [SelectContentProvider, useSelectContentContext] = crea
431
680
  });
432
681
  SelectContentImpl.displayName = CONTENT_IMPL_NAME;
433
682
  var ITEM_ALIGNED_POSITION_NAME = "SelectItemAlignedPosition", SelectItemAlignedPosition = import_react.forwardRef((e, i) => {
434
- let { __scopeSelect: a, onPlaced: o, ...s } = e, c = useSelectContext(CONTENT_NAME, a), l = useSelectContentContext(CONTENT_NAME, a), [u, d] = import_react.useState(null), [f, p] = import_react.useState(null), m = useComposedRefs(i, (e2) => p(e2)), h = useCollection(a), g = import_react.useRef(false), _ = import_react.useRef(true), { viewport: v, selectedItem: y, selectedItemText: b, focusSelectedItem: x } = l, S = import_react.useCallback(() => {
435
- if (c.trigger && c.valueNode && u && f && v && y && b) {
436
- let e2 = c.trigger.getBoundingClientRect(), i2 = f.getBoundingClientRect(), a2 = c.valueNode.getBoundingClientRect(), s2 = b.getBoundingClientRect();
683
+ let { __scopeSelect: a, onPlaced: o, ...s } = e, c = useSelectContext(CONTENT_NAME, a), d = useSelectContentContext(CONTENT_NAME, a), [f, p] = import_react.useState(null), [m, h] = import_react.useState(null), g = useComposedRefs(i, (e2) => h(e2)), _ = useCollection(a), v = import_react.useRef(false), y = import_react.useRef(true), { viewport: b, selectedItem: x, selectedItemText: S, focusSelectedItem: C } = d, w = import_react.useCallback(() => {
684
+ if (c.trigger && c.valueNode && f && m && b && x && S) {
685
+ let e2 = c.trigger.getBoundingClientRect(), i2 = m.getBoundingClientRect(), a2 = c.valueNode.getBoundingClientRect(), s2 = S.getBoundingClientRect();
437
686
  if (c.dir !== "rtl") {
438
- let o2 = s2.left - i2.left, c2 = a2.left - o2, l3 = e2.left - c2, d3 = e2.width + l3, f2 = Math.max(d3, i2.width), p3 = window.innerWidth - CONTENT_MARGIN, m3 = clamp(c2, [CONTENT_MARGIN, Math.max(CONTENT_MARGIN, p3 - f2)]);
439
- u.style.minWidth = d3 + "px", u.style.left = m3 + "px";
687
+ let o2 = s2.left - i2.left, c2 = a2.left - o2, l2 = e2.left - c2, u2 = e2.width + l2, d3 = Math.max(u2, i2.width), p3 = window.innerWidth - CONTENT_MARGIN, m2 = clamp(c2, [CONTENT_MARGIN, Math.max(CONTENT_MARGIN, p3 - d3)]);
688
+ f.style.minWidth = u2 + "px", f.style.left = m2 + "px";
440
689
  } else {
441
- let o2 = i2.right - s2.right, c2 = window.innerWidth - a2.right - o2, l3 = window.innerWidth - e2.right - c2, d3 = e2.width + l3, f2 = Math.max(d3, i2.width), p3 = window.innerWidth - CONTENT_MARGIN, m3 = clamp(c2, [CONTENT_MARGIN, Math.max(CONTENT_MARGIN, p3 - f2)]);
442
- u.style.minWidth = d3 + "px", u.style.right = m3 + "px";
690
+ let o2 = i2.right - s2.right, c2 = window.innerWidth - a2.right - o2, l2 = window.innerWidth - e2.right - c2, u2 = e2.width + l2, d3 = Math.max(u2, i2.width), p3 = window.innerWidth - CONTENT_MARGIN, m2 = clamp(c2, [CONTENT_MARGIN, Math.max(CONTENT_MARGIN, p3 - d3)]);
691
+ f.style.minWidth = u2 + "px", f.style.right = m2 + "px";
443
692
  }
444
- let l2 = h(), d2 = window.innerHeight - CONTENT_MARGIN * 2, p2 = v.scrollHeight, m2 = window.getComputedStyle(f), _2 = parseInt(m2.borderTopWidth, 10), x2 = parseInt(m2.paddingTop, 10), S2 = parseInt(m2.borderBottomWidth, 10), C2 = parseInt(m2.paddingBottom, 10), w2 = _2 + x2 + p2 + C2 + S2, T = Math.min(y.offsetHeight * 5, w2), E = window.getComputedStyle(v), D = parseInt(E.paddingTop, 10), O = parseInt(E.paddingBottom, 10), k = e2.top + e2.height / 2 - CONTENT_MARGIN, A = d2 - k, j = y.offsetHeight / 2, M = y.offsetTop + j, N = _2 + x2 + M, P = w2 - N;
693
+ let l = _(), u = window.innerHeight - CONTENT_MARGIN * 2, d2 = b.scrollHeight, p2 = window.getComputedStyle(m), h2 = parseInt(p2.borderTopWidth, 10), g2 = parseInt(p2.paddingTop, 10), y2 = parseInt(p2.borderBottomWidth, 10), C2 = parseInt(p2.paddingBottom, 10), w2 = h2 + g2 + d2 + C2 + y2, T2 = Math.min(x.offsetHeight * 5, w2), E2 = window.getComputedStyle(b), D = parseInt(E2.paddingTop, 10), O = parseInt(E2.paddingBottom, 10), k = e2.top + e2.height / 2 - CONTENT_MARGIN, A = u - k, j = x.offsetHeight / 2, M = x.offsetTop + j, N = h2 + g2 + M, P = w2 - N;
445
694
  if (N <= k) {
446
- let e3 = l2.length > 0 && y === l2[l2.length - 1].ref.current;
447
- u.style.bottom = "0px";
448
- let i3 = f.clientHeight - v.offsetTop - v.offsetHeight, a3 = N + Math.max(A, j + (e3 ? O : 0) + i3 + S2);
449
- u.style.height = a3 + "px";
695
+ let e3 = l.length > 0 && x === l[l.length - 1].ref.current;
696
+ f.style.bottom = "0px";
697
+ let i3 = m.clientHeight - b.offsetTop - b.offsetHeight, a3 = N + Math.max(A, j + (e3 ? O : 0) + i3 + y2);
698
+ f.style.height = a3 + "px";
450
699
  } else {
451
- let e3 = l2.length > 0 && y === l2[0].ref.current;
452
- u.style.top = "0px";
453
- let i3 = Math.max(k, _2 + v.offsetTop + (e3 ? D : 0) + j) + P;
454
- u.style.height = i3 + "px", v.scrollTop = N - k + v.offsetTop;
700
+ let e3 = l.length > 0 && x === l[0].ref.current;
701
+ f.style.top = "0px";
702
+ let i3 = Math.max(k, h2 + b.offsetTop + (e3 ? D : 0) + j) + P;
703
+ f.style.height = i3 + "px", b.scrollTop = N - k + b.offsetTop;
455
704
  }
456
- u.style.margin = `${CONTENT_MARGIN}px 0`, u.style.minHeight = T + "px", u.style.maxHeight = d2 + "px", o == null ? void 0 : o(), requestAnimationFrame(() => g.current = true);
705
+ f.style.margin = `${CONTENT_MARGIN}px 0`, f.style.minHeight = T2 + "px", f.style.maxHeight = u + "px", o == null ? void 0 : o(), requestAnimationFrame(() => v.current = true);
457
706
  }
458
707
  }, [
459
- h,
708
+ _,
460
709
  c.trigger,
461
710
  c.valueNode,
462
- u,
463
711
  f,
464
- v,
465
- y,
712
+ m,
466
713
  b,
714
+ x,
715
+ S,
467
716
  c.dir,
468
717
  o
469
718
  ]);
470
- useLayoutEffect2(() => S(), [S]);
471
- let [C, w] = import_react.useState();
719
+ useLayoutEffect2(() => w(), [w]);
720
+ let [T, E] = import_react.useState();
472
721
  return useLayoutEffect2(() => {
473
- f && w(window.getComputedStyle(f).zIndex);
474
- }, [f]), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectViewportProvider, {
722
+ m && E(window.getComputedStyle(m).zIndex);
723
+ }, [m]), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectViewportProvider, {
475
724
  scope: a,
476
- contentWrapper: u,
477
- shouldExpandOnScrollRef: g,
725
+ contentWrapper: f,
726
+ shouldExpandOnScrollRef: v,
478
727
  onScrollButtonChange: import_react.useCallback((e2) => {
479
- e2 && _.current === true && (S(), x == null ? void 0 : x(), _.current = false);
480
- }, [S, x]),
728
+ e2 && y.current === true && (w(), C == null ? void 0 : C(), y.current = false);
729
+ }, [w, C]),
481
730
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
482
- ref: d,
731
+ ref: p,
483
732
  style: {
484
733
  display: "flex",
485
734
  flexDirection: "column",
486
735
  position: "fixed",
487
- zIndex: C
736
+ zIndex: T
488
737
  },
489
738
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Primitive.div, {
490
739
  ...s,
491
- ref: m,
740
+ ref: g,
492
741
  style: {
493
742
  boxSizing: "border-box",
494
743
  maxHeight: "100%",
@@ -520,7 +769,7 @@ var POPPER_POSITION_NAME = "SelectPopperPosition", SelectPopperPosition = import
520
769
  });
521
770
  SelectPopperPosition.displayName = POPPER_POSITION_NAME;
522
771
  var [SelectViewportProvider, useSelectViewportContext] = createSelectContext(CONTENT_NAME, {}), VIEWPORT_NAME = "SelectViewport", SelectViewport = import_react.forwardRef((e, i) => {
523
- let { __scopeSelect: a, nonce: o, ...s } = e, c = useSelectContentContext(VIEWPORT_NAME, a), u = useSelectViewportContext(VIEWPORT_NAME, a), d = useComposedRefs(i, c.onViewportChange), f = import_react.useRef(0);
772
+ let { __scopeSelect: a, nonce: o, ...s } = e, c = useSelectContentContext(VIEWPORT_NAME, a), l = useSelectViewportContext(VIEWPORT_NAME, a), d = useComposedRefs(i, c.onViewportChange), f = import_react.useRef(0);
524
773
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("style", {
525
774
  dangerouslySetInnerHTML: { __html: "[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}" },
526
775
  nonce: o
@@ -538,14 +787,14 @@ var [SelectViewportProvider, useSelectViewportContext] = createSelectContext(CON
538
787
  ...s.style
539
788
  },
540
789
  onScroll: composeEventHandlers(s.onScroll, (e2) => {
541
- let i2 = e2.currentTarget, { contentWrapper: a2, shouldExpandOnScrollRef: o2 } = u;
790
+ let i2 = e2.currentTarget, { contentWrapper: a2, shouldExpandOnScrollRef: o2 } = l;
542
791
  if ((o2 == null ? void 0 : o2.current) && a2) {
543
792
  let e3 = Math.abs(f.current - i2.scrollTop);
544
793
  if (e3 > 0) {
545
- let o3 = window.innerHeight - CONTENT_MARGIN * 2, s2 = parseFloat(a2.style.minHeight), c2 = parseFloat(a2.style.height), l = Math.max(s2, c2);
546
- if (l < o3) {
547
- let s3 = l + e3, c3 = Math.min(o3, s3), u2 = s3 - c3;
548
- a2.style.height = c3 + "px", a2.style.bottom === "0px" && (i2.scrollTop = u2 > 0 ? u2 : 0, a2.style.justifyContent = "flex-end");
794
+ let o3 = window.innerHeight - CONTENT_MARGIN * 2, s2 = parseFloat(a2.style.minHeight), c2 = parseFloat(a2.style.height), l2 = Math.max(s2, c2);
795
+ if (l2 < o3) {
796
+ let s3 = l2 + e3, c3 = Math.min(o3, s3), u = s3 - c3;
797
+ a2.style.height = c3 + "px", a2.style.bottom === "0px" && (i2.scrollTop = u > 0 ? u : 0, a2.style.justifyContent = "flex-end");
549
798
  }
550
799
  }
551
800
  }
@@ -579,9 +828,9 @@ var LABEL_NAME = "SelectLabel", SelectLabel$1 = import_react.forwardRef((e, i) =
579
828
  });
580
829
  SelectLabel$1.displayName = LABEL_NAME;
581
830
  var ITEM_NAME = "SelectItem", [SelectItemContextProvider, useSelectItemContext] = createSelectContext(ITEM_NAME), SelectItem$1 = import_react.forwardRef((e, i) => {
582
- let { __scopeSelect: a, value: o, disabled: s = false, textValue: c, ...u } = e, d = useSelectContext(ITEM_NAME, a), p = useSelectContentContext(ITEM_NAME, a), m = d.value === o, [h, g] = import_react.useState(c ?? ""), [_, v] = import_react.useState(false), y = useComposedRefs(i, (e2) => {
831
+ let { __scopeSelect: a, value: o, disabled: s = false, textValue: c, ...l } = e, d = useSelectContext(ITEM_NAME, a), f = useSelectContentContext(ITEM_NAME, a), p = d.value === o, [m, h] = import_react.useState(c ?? ""), [g, _] = import_react.useState(false), y = useComposedRefs(i, (e2) => {
583
832
  var _a;
584
- return (_a = p.itemRefCallback) == null ? void 0 : _a.call(p, e2, o, s);
833
+ return (_a = f.itemRefCallback) == null ? void 0 : _a.call(f, e2, o, s);
585
834
  }), b = useId(), x = import_react.useRef("touch"), S = () => {
586
835
  s || (d.onValueChange(o), d.onOpenChange(false));
587
836
  };
@@ -591,48 +840,48 @@ var ITEM_NAME = "SelectItem", [SelectItemContextProvider, useSelectItemContext]
591
840
  value: o,
592
841
  disabled: s,
593
842
  textId: b,
594
- isSelected: m,
843
+ isSelected: p,
595
844
  onItemTextChange: import_react.useCallback((e2) => {
596
- g((i2) => i2 || ((e2 == null ? void 0 : e2.textContent) ?? "").trim());
845
+ h((i2) => i2 || ((e2 == null ? void 0 : e2.textContent) ?? "").trim());
597
846
  }, []),
598
847
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Collection.ItemSlot, {
599
848
  scope: a,
600
849
  value: o,
601
850
  disabled: s,
602
- textValue: h,
851
+ textValue: m,
603
852
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Primitive.div, {
604
853
  role: "option",
605
854
  "aria-labelledby": b,
606
- "data-highlighted": _ ? "" : void 0,
607
- "aria-selected": m && _,
608
- "data-state": m ? "checked" : "unchecked",
855
+ "data-highlighted": g ? "" : void 0,
856
+ "aria-selected": p && g,
857
+ "data-state": p ? "checked" : "unchecked",
609
858
  "aria-disabled": s || void 0,
610
859
  "data-disabled": s ? "" : void 0,
611
860
  tabIndex: s ? void 0 : -1,
612
- ...u,
861
+ ...l,
613
862
  ref: y,
614
- onFocus: composeEventHandlers(u.onFocus, () => v(true)),
615
- onBlur: composeEventHandlers(u.onBlur, () => v(false)),
616
- onClick: composeEventHandlers(u.onClick, () => {
863
+ onFocus: composeEventHandlers(l.onFocus, () => _(true)),
864
+ onBlur: composeEventHandlers(l.onBlur, () => _(false)),
865
+ onClick: composeEventHandlers(l.onClick, () => {
617
866
  x.current !== "mouse" && S();
618
867
  }),
619
- onPointerUp: composeEventHandlers(u.onPointerUp, () => {
868
+ onPointerUp: composeEventHandlers(l.onPointerUp, () => {
620
869
  x.current === "mouse" && S();
621
870
  }),
622
- onPointerDown: composeEventHandlers(u.onPointerDown, (e2) => {
871
+ onPointerDown: composeEventHandlers(l.onPointerDown, (e2) => {
623
872
  x.current = e2.pointerType;
624
873
  }),
625
- onPointerMove: composeEventHandlers(u.onPointerMove, (e2) => {
874
+ onPointerMove: composeEventHandlers(l.onPointerMove, (e2) => {
626
875
  var _a;
627
- x.current = e2.pointerType, s ? (_a = p.onItemLeave) == null ? void 0 : _a.call(p) : x.current === "mouse" && e2.currentTarget.focus({ preventScroll: true });
876
+ x.current = e2.pointerType, s ? (_a = f.onItemLeave) == null ? void 0 : _a.call(f) : x.current === "mouse" && e2.currentTarget.focus({ preventScroll: true });
628
877
  }),
629
- onPointerLeave: composeEventHandlers(u.onPointerLeave, (e2) => {
878
+ onPointerLeave: composeEventHandlers(l.onPointerLeave, (e2) => {
630
879
  var _a;
631
- e2.currentTarget === document.activeElement && ((_a = p.onItemLeave) == null ? void 0 : _a.call(p));
880
+ e2.currentTarget === document.activeElement && ((_a = f.onItemLeave) == null ? void 0 : _a.call(f));
632
881
  }),
633
- onKeyDown: composeEventHandlers(u.onKeyDown, (e2) => {
882
+ onKeyDown: composeEventHandlers(l.onKeyDown, (e2) => {
634
883
  var _a;
635
- ((_a = p.searchRef) == null ? void 0 : _a.current) !== "" && e2.key === " " || (SELECTION_KEYS.includes(e2.key) && S(), e2.key === " " && e2.preventDefault());
884
+ ((_a = f.searchRef) == null ? void 0 : _a.current) !== "" && e2.key === " " || (SELECTION_KEYS.includes(e2.key) && S(), e2.key === " " && e2.preventDefault());
636
885
  })
637
886
  })
638
887
  })
@@ -640,27 +889,27 @@ var ITEM_NAME = "SelectItem", [SelectItemContextProvider, useSelectItemContext]
640
889
  });
641
890
  SelectItem$1.displayName = ITEM_NAME;
642
891
  var ITEM_TEXT_NAME = "SelectItemText", SelectItemText = import_react.forwardRef((e, i) => {
643
- let { __scopeSelect: a, className: o, style: s, ...c } = e, l = useSelectContext(ITEM_TEXT_NAME, a), u = useSelectContentContext(ITEM_TEXT_NAME, a), d = useSelectItemContext(ITEM_TEXT_NAME, a), f = useSelectNativeOptionsContext(ITEM_TEXT_NAME, a), [p, m] = import_react.useState(null), h = useComposedRefs(i, (e2) => m(e2), d.onItemTextChange, (e2) => {
892
+ let { __scopeSelect: a, className: o, style: s, ...c } = e, d = useSelectContext(ITEM_TEXT_NAME, a), f = useSelectContentContext(ITEM_TEXT_NAME, a), p = useSelectItemContext(ITEM_TEXT_NAME, a), m = useSelectNativeOptionsContext(ITEM_TEXT_NAME, a), [h, g] = import_react.useState(null), _ = useComposedRefs(i, (e2) => g(e2), p.onItemTextChange, (e2) => {
644
893
  var _a;
645
- return (_a = u.itemTextRefCallback) == null ? void 0 : _a.call(u, e2, d.value, d.disabled);
646
- }), g = p == null ? void 0 : p.textContent, _ = import_react.useMemo(() => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("option", {
647
- value: d.value,
648
- disabled: d.disabled,
649
- children: g
650
- }, d.value), [
651
- d.disabled,
652
- d.value,
653
- g
654
- ]), { onNativeOptionAdd: v, onNativeOptionRemove: y } = f;
655
- return useLayoutEffect2(() => (v(_), () => y(_)), [
656
- v,
657
- y,
658
- _
894
+ return (_a = f.itemTextRefCallback) == null ? void 0 : _a.call(f, e2, p.value, p.disabled);
895
+ }), v = h == null ? void 0 : h.textContent, y = import_react.useMemo(() => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("option", {
896
+ value: p.value,
897
+ disabled: p.disabled,
898
+ children: v
899
+ }, p.value), [
900
+ p.disabled,
901
+ p.value,
902
+ v
903
+ ]), { onNativeOptionAdd: b, onNativeOptionRemove: x } = m;
904
+ return useLayoutEffect2(() => (b(y), () => x(y)), [
905
+ b,
906
+ x,
907
+ y
659
908
  ]), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Primitive.span, {
660
- id: d.textId,
909
+ id: p.textId,
661
910
  ...c,
662
- ref: h
663
- }), d.isSelected && l.valueNode && !l.valueNodeHasChildren ? import_react_dom.createPortal(c.children, l.valueNode) : null] });
911
+ ref: _
912
+ }), p.isSelected && d.valueNode && !d.valueNodeHasChildren ? import_react_dom.createPortal(c.children, d.valueNode) : null] });
664
913
  });
665
914
  SelectItemText.displayName = ITEM_TEXT_NAME;
666
915
  var ITEM_INDICATOR_NAME = "SelectItemIndicator", SelectItemIndicator = import_react.forwardRef((e, i) => {
@@ -673,7 +922,7 @@ var ITEM_INDICATOR_NAME = "SelectItemIndicator", SelectItemIndicator = import_re
673
922
  });
674
923
  SelectItemIndicator.displayName = ITEM_INDICATOR_NAME;
675
924
  var SCROLL_UP_BUTTON_NAME = "SelectScrollUpButton", SelectScrollUpButton = import_react.forwardRef((e, i) => {
676
- let a = useSelectContentContext(SCROLL_UP_BUTTON_NAME, e.__scopeSelect), o = useSelectViewportContext(SCROLL_UP_BUTTON_NAME, e.__scopeSelect), [s, c] = import_react.useState(false), l = useComposedRefs(i, o.onScrollButtonChange);
925
+ let a = useSelectContentContext(SCROLL_UP_BUTTON_NAME, e.__scopeSelect), o = useSelectViewportContext(SCROLL_UP_BUTTON_NAME, e.__scopeSelect), [s, c] = import_react.useState(false), u = useComposedRefs(i, o.onScrollButtonChange);
677
926
  return useLayoutEffect2(() => {
678
927
  if (a.viewport && a.isPositioned) {
679
928
  let e2 = function() {
@@ -683,7 +932,7 @@ var SCROLL_UP_BUTTON_NAME = "SelectScrollUpButton", SelectScrollUpButton = impor
683
932
  }
684
933
  }, [a.viewport, a.isPositioned]), s ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectScrollButtonImpl, {
685
934
  ...e,
686
- ref: l,
935
+ ref: u,
687
936
  onAutoScroll: () => {
688
937
  let { viewport: e2, selectedItem: i2 } = a;
689
938
  e2 && i2 && (e2.scrollTop -= i2.offsetHeight);
@@ -692,7 +941,7 @@ var SCROLL_UP_BUTTON_NAME = "SelectScrollUpButton", SelectScrollUpButton = impor
692
941
  });
693
942
  SelectScrollUpButton.displayName = SCROLL_UP_BUTTON_NAME;
694
943
  var SCROLL_DOWN_BUTTON_NAME = "SelectScrollDownButton", SelectScrollDownButton = import_react.forwardRef((e, i) => {
695
- let a = useSelectContentContext(SCROLL_DOWN_BUTTON_NAME, e.__scopeSelect), o = useSelectViewportContext(SCROLL_DOWN_BUTTON_NAME, e.__scopeSelect), [s, c] = import_react.useState(false), l = useComposedRefs(i, o.onScrollButtonChange);
944
+ let a = useSelectContentContext(SCROLL_DOWN_BUTTON_NAME, e.__scopeSelect), o = useSelectViewportContext(SCROLL_DOWN_BUTTON_NAME, e.__scopeSelect), [s, c] = import_react.useState(false), u = useComposedRefs(i, o.onScrollButtonChange);
696
945
  return useLayoutEffect2(() => {
697
946
  if (a.viewport && a.isPositioned) {
698
947
  let e2 = function() {
@@ -703,7 +952,7 @@ var SCROLL_DOWN_BUTTON_NAME = "SelectScrollDownButton", SelectScrollDownButton =
703
952
  }
704
953
  }, [a.viewport, a.isPositioned]), s ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectScrollButtonImpl, {
705
954
  ...e,
706
- ref: l,
955
+ ref: u,
707
956
  onAutoScroll: () => {
708
957
  let { viewport: e2, selectedItem: i2 } = a;
709
958
  e2 && i2 && (e2.scrollTop += i2.offsetHeight);
@@ -712,13 +961,13 @@ var SCROLL_DOWN_BUTTON_NAME = "SelectScrollDownButton", SelectScrollDownButton =
712
961
  });
713
962
  SelectScrollDownButton.displayName = SCROLL_DOWN_BUTTON_NAME;
714
963
  var SelectScrollButtonImpl = import_react.forwardRef((e, i) => {
715
- let { __scopeSelect: a, onAutoScroll: o, ...s } = e, c = useSelectContentContext("SelectScrollButton", a), u = import_react.useRef(null), d = useCollection(a), f = import_react.useCallback(() => {
716
- u.current !== null && (window.clearInterval(u.current), u.current = null);
964
+ let { __scopeSelect: a, onAutoScroll: o, ...s } = e, c = useSelectContentContext("SelectScrollButton", a), d = import_react.useRef(null), f = useCollection(a), p = import_react.useCallback(() => {
965
+ d.current !== null && (window.clearInterval(d.current), d.current = null);
717
966
  }, []);
718
- return import_react.useEffect(() => () => f(), [f]), useLayoutEffect2(() => {
967
+ return import_react.useEffect(() => () => p(), [p]), useLayoutEffect2(() => {
719
968
  var _a, _b;
720
- (_b = (_a = d().find((e2) => e2.ref.current === document.activeElement)) == null ? void 0 : _a.ref.current) == null ? void 0 : _b.scrollIntoView({ block: "nearest" });
721
- }, [d]), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Primitive.div, {
969
+ (_b = (_a = f().find((e2) => e2.ref.current === document.activeElement)) == null ? void 0 : _a.ref.current) == null ? void 0 : _b.scrollIntoView({ block: "nearest" });
970
+ }, [f]), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Primitive.div, {
722
971
  "aria-hidden": true,
723
972
  ...s,
724
973
  ref: i,
@@ -727,14 +976,14 @@ var SelectScrollButtonImpl = import_react.forwardRef((e, i) => {
727
976
  ...s.style
728
977
  },
729
978
  onPointerDown: composeEventHandlers(s.onPointerDown, () => {
730
- u.current === null && (u.current = window.setInterval(o, 50));
979
+ d.current === null && (d.current = window.setInterval(o, 50));
731
980
  }),
732
981
  onPointerMove: composeEventHandlers(s.onPointerMove, () => {
733
982
  var _a;
734
- (_a = c.onItemLeave) == null ? void 0 : _a.call(c), u.current === null && (u.current = window.setInterval(o, 50));
983
+ (_a = c.onItemLeave) == null ? void 0 : _a.call(c), d.current === null && (d.current = window.setInterval(o, 50));
735
984
  }),
736
985
  onPointerLeave: composeEventHandlers(s.onPointerLeave, () => {
737
- f();
986
+ p();
738
987
  })
739
988
  });
740
989
  }), SEPARATOR_NAME = "SelectSeparator", SelectSeparator$1 = import_react.forwardRef((e, i) => {
@@ -780,18 +1029,18 @@ function shouldShowPlaceholder(e) {
780
1029
  return e === "" || e === void 0;
781
1030
  }
782
1031
  function useTypeaheadSearch(e) {
783
- let i = useCallbackRef(e), a = import_react.useRef(""), o = import_react.useRef(0), c = import_react.useCallback((e2) => {
784
- let s = a.current + e2;
785
- i(s), (function e3(i2) {
1032
+ let i = useCallbackRef(e), a = import_react.useRef(""), o = import_react.useRef(0), s = import_react.useCallback((e2) => {
1033
+ let s2 = a.current + e2;
1034
+ i(s2), (function e3(i2) {
786
1035
  a.current = i2, window.clearTimeout(o.current), i2 !== "" && (o.current = window.setTimeout(() => e3(""), 1e3));
787
- })(s);
788
- }, [i]), l = import_react.useCallback(() => {
1036
+ })(s2);
1037
+ }, [i]), c = import_react.useCallback(() => {
789
1038
  a.current = "", window.clearTimeout(o.current);
790
1039
  }, []);
791
1040
  return import_react.useEffect(() => () => window.clearTimeout(o.current), []), [
792
1041
  a,
793
- c,
794
- l
1042
+ s,
1043
+ c
795
1044
  ];
796
1045
  }
797
1046
  function findNextItem(e, i, a) {
@@ -884,35 +1133,35 @@ var InternalSelectContent = withSmartCollisionBoundary(Content2), SelectContent
884
1133
  a[0] === e ? (o = a[1], s = a[2], c = a[3], l = a[4]) : ({ className: s, children: o, position: l, ...c } = e, a[0] = e, a[1] = o, a[2] = s, a[3] = c, a[4] = l);
885
1134
  let u = l === void 0 ? "popper" : l, d = u === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1", f;
886
1135
  a[5] !== s || a[6] !== d ? (f = cn("max-h-[300px] relative z-50 min-w-32 overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", d, s), a[5] = s, a[6] = d, a[7] = f) : f = a[7];
887
- let m;
888
- a[8] === Symbol.for("react.memo_cache_sentinel") ? (m = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ScrollUpButton, {
1136
+ let p;
1137
+ a[8] === Symbol.for("react.memo_cache_sentinel") ? (p = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ScrollUpButton, {
889
1138
  className: "flex items-center justify-center h-[20px] bg-background text-muted-foreground cursor-default",
890
1139
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChevronUp, { className: "h-4 w-4" })
891
- }), a[8] = m) : m = a[8];
892
- let h = u === "popper" && "h-(--radix-select-trigger-height) w-full min-w-(--radix-select-trigger-width)", g;
893
- a[9] === h ? g = a[10] : (g = cn("p-1", h), a[9] = h, a[10] = g);
894
- let _;
895
- a[11] !== o || a[12] !== g ? (_ = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Viewport, {
896
- className: g,
1140
+ }), a[8] = p) : p = a[8];
1141
+ let m = u === "popper" && "h-(--radix-select-trigger-height) w-full min-w-(--radix-select-trigger-width)", h;
1142
+ a[9] === m ? h = a[10] : (h = cn("p-1", m), a[9] = m, a[10] = h);
1143
+ let g;
1144
+ a[11] !== o || a[12] !== h ? (g = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Viewport, {
1145
+ className: h,
897
1146
  children: o
898
- }), a[11] = o, a[12] = g, a[13] = _) : _ = a[13];
899
- let v;
900
- a[14] === Symbol.for("react.memo_cache_sentinel") ? (v = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ScrollDownButton, {
1147
+ }), a[11] = o, a[12] = h, a[13] = g) : g = a[13];
1148
+ let _;
1149
+ a[14] === Symbol.for("react.memo_cache_sentinel") ? (_ = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ScrollDownButton, {
901
1150
  className: "flex items-center justify-center h-[20px] bg-background text-muted-foreground cursor-default",
902
1151
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChevronDown, { className: "h-4 w-4 opacity-50" })
903
- }), a[14] = v) : v = a[14];
904
- let y;
905
- return a[15] !== u || a[16] !== c || a[17] !== i || a[18] !== f || a[19] !== _ ? (y = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectPortal, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(StyleNamespace, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(InternalSelectContent, {
1152
+ }), a[14] = _) : _ = a[14];
1153
+ let v;
1154
+ return a[15] !== u || a[16] !== c || a[17] !== i || a[18] !== f || a[19] !== g ? (v = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectPortal, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(StyleNamespace, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(InternalSelectContent, {
906
1155
  ref: i,
907
1156
  className: f,
908
1157
  position: u,
909
1158
  ...c,
910
1159
  children: [
911
- m,
912
- _,
913
- v
1160
+ p,
1161
+ g,
1162
+ _
914
1163
  ]
915
- }) }) }), a[15] = u, a[16] = c, a[17] = i, a[18] = f, a[19] = _, a[20] = y) : y = a[20], y;
1164
+ }) }) }), a[15] = u, a[16] = c, a[17] = i, a[18] = f, a[19] = g, a[20] = v) : v = a[20], v;
916
1165
  });
917
1166
  SelectContent.displayName = Content2.displayName;
918
1167
  var SelectLabel = import_react.forwardRef((e, i) => {
@@ -970,247 +1219,6 @@ var SelectSeparator = import_react.forwardRef((e, i) => {
970
1219
  }), a[5] = s, a[6] = i, a[7] = c, a[8] = l) : l = a[8], l;
971
1220
  });
972
1221
  SelectSeparator.displayName = Separator.displayName;
973
- var $b5e257d569688ac6$var$defaultContext = {
974
- prefix: String(Math.round(Math.random() * 1e10)),
975
- current: 0
976
- }, $b5e257d569688ac6$var$SSRContext = /* @__PURE__ */ import_react.createContext($b5e257d569688ac6$var$defaultContext), $b5e257d569688ac6$var$IsSSRContext = /* @__PURE__ */ import_react.createContext(false);
977
- typeof window < "u" && window.document && window.document.createElement;
978
- var $b5e257d569688ac6$var$componentIds = /* @__PURE__ */ new WeakMap();
979
- function $b5e257d569688ac6$var$useCounter(e = false) {
980
- var _a, _b;
981
- let i = (0, import_react.useContext)($b5e257d569688ac6$var$SSRContext), a = (0, import_react.useRef)(null);
982
- if (a.current === null && !e) {
983
- let e2 = (_b = (_a = import_react.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED) == null ? void 0 : _a.ReactCurrentOwner) == null ? void 0 : _b.current;
984
- if (e2) {
985
- let a2 = $b5e257d569688ac6$var$componentIds.get(e2);
986
- a2 == null ? $b5e257d569688ac6$var$componentIds.set(e2, {
987
- id: i.current,
988
- state: e2.memoizedState
989
- }) : e2.memoizedState !== a2.state && (i.current = a2.id, $b5e257d569688ac6$var$componentIds.delete(e2));
990
- }
991
- a.current = ++i.current;
992
- }
993
- return a.current;
994
- }
995
- function $b5e257d569688ac6$var$useLegacySSRSafeId(e) {
996
- let i = (0, import_react.useContext)($b5e257d569688ac6$var$SSRContext), a = $b5e257d569688ac6$var$useCounter(!!e), o = `react-aria${i.prefix}`;
997
- return e || `${o}-${a}`;
998
- }
999
- function $b5e257d569688ac6$var$useModernSSRSafeId(e) {
1000
- let i = import_react.useId(), [a] = (0, import_react.useState)($b5e257d569688ac6$export$535bd6ca7f90a273()), o = a ? "react-aria" : `react-aria${$b5e257d569688ac6$var$defaultContext.prefix}`;
1001
- return e || `${o}-${i}`;
1002
- }
1003
- var $b5e257d569688ac6$export$619500959fc48b26 = typeof import_react.useId == "function" ? $b5e257d569688ac6$var$useModernSSRSafeId : $b5e257d569688ac6$var$useLegacySSRSafeId;
1004
- function $b5e257d569688ac6$var$getSnapshot() {
1005
- return false;
1006
- }
1007
- function $b5e257d569688ac6$var$getServerSnapshot() {
1008
- return true;
1009
- }
1010
- function $b5e257d569688ac6$var$subscribe(e) {
1011
- return () => {
1012
- };
1013
- }
1014
- function $b5e257d569688ac6$export$535bd6ca7f90a273() {
1015
- return typeof import_react.useSyncExternalStore == "function" ? import_react.useSyncExternalStore($b5e257d569688ac6$var$subscribe, $b5e257d569688ac6$var$getSnapshot, $b5e257d569688ac6$var$getServerSnapshot) : (0, import_react.useContext)($b5e257d569688ac6$var$IsSSRContext);
1016
- }
1017
- var $148a7a147e38ea7f$var$RTL_SCRIPTS = /* @__PURE__ */ new Set([
1018
- "Arab",
1019
- "Syrc",
1020
- "Samr",
1021
- "Mand",
1022
- "Thaa",
1023
- "Mend",
1024
- "Nkoo",
1025
- "Adlm",
1026
- "Rohg",
1027
- "Hebr"
1028
- ]), $148a7a147e38ea7f$var$RTL_LANGS = /* @__PURE__ */ new Set([
1029
- "ae",
1030
- "ar",
1031
- "arc",
1032
- "bcc",
1033
- "bqi",
1034
- "ckb",
1035
- "dv",
1036
- "fa",
1037
- "glk",
1038
- "he",
1039
- "ku",
1040
- "mzn",
1041
- "nqo",
1042
- "pnb",
1043
- "ps",
1044
- "sd",
1045
- "ug",
1046
- "ur",
1047
- "yi"
1048
- ]);
1049
- function $148a7a147e38ea7f$export$702d680b21cbd764(e) {
1050
- if (Intl.Locale) {
1051
- let i2 = new Intl.Locale(e).maximize(), a = typeof i2.getTextInfo == "function" ? i2.getTextInfo() : i2.textInfo;
1052
- if (a) return a.direction === "rtl";
1053
- if (i2.script) return $148a7a147e38ea7f$var$RTL_SCRIPTS.has(i2.script);
1054
- }
1055
- let i = e.split("-")[0];
1056
- return $148a7a147e38ea7f$var$RTL_LANGS.has(i);
1057
- }
1058
- var $1e5a04cdaf7d1af8$var$localeSymbol = Symbol.for("react-aria.i18n.locale");
1059
- function $1e5a04cdaf7d1af8$export$f09106e7c6677ec5() {
1060
- let e = typeof window < "u" && window[$1e5a04cdaf7d1af8$var$localeSymbol] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";
1061
- try {
1062
- Intl.DateTimeFormat.supportedLocalesOf([e]);
1063
- } catch {
1064
- e = "en-US";
1065
- }
1066
- return {
1067
- locale: e,
1068
- direction: $148a7a147e38ea7f$export$702d680b21cbd764(e) ? "rtl" : "ltr"
1069
- };
1070
- }
1071
- var $1e5a04cdaf7d1af8$var$currentLocale = $1e5a04cdaf7d1af8$export$f09106e7c6677ec5(), $1e5a04cdaf7d1af8$var$listeners = /* @__PURE__ */ new Set();
1072
- function $1e5a04cdaf7d1af8$var$updateLocale() {
1073
- $1e5a04cdaf7d1af8$var$currentLocale = $1e5a04cdaf7d1af8$export$f09106e7c6677ec5();
1074
- for (let e of $1e5a04cdaf7d1af8$var$listeners) e($1e5a04cdaf7d1af8$var$currentLocale);
1075
- }
1076
- function $1e5a04cdaf7d1af8$export$188ec29ebc2bdc3a() {
1077
- let e = $b5e257d569688ac6$export$535bd6ca7f90a273(), [i, a] = (0, import_react.useState)($1e5a04cdaf7d1af8$var$currentLocale);
1078
- return (0, import_react.useEffect)(() => ($1e5a04cdaf7d1af8$var$listeners.size === 0 && window.addEventListener("languagechange", $1e5a04cdaf7d1af8$var$updateLocale), $1e5a04cdaf7d1af8$var$listeners.add(a), () => {
1079
- $1e5a04cdaf7d1af8$var$listeners.delete(a), $1e5a04cdaf7d1af8$var$listeners.size === 0 && window.removeEventListener("languagechange", $1e5a04cdaf7d1af8$var$updateLocale);
1080
- }), []), e ? {
1081
- locale: "en-US",
1082
- direction: "ltr"
1083
- } : i;
1084
- }
1085
- var $18f2051aff69b9bf$var$I18nContext = /* @__PURE__ */ import_react.createContext(null);
1086
- function $18f2051aff69b9bf$var$I18nProviderWithLocale(e) {
1087
- let { locale: i, children: a } = e, o = import_react.useMemo(() => ({
1088
- locale: i,
1089
- direction: $148a7a147e38ea7f$export$702d680b21cbd764(i) ? "rtl" : "ltr"
1090
- }), [i]);
1091
- return /* @__PURE__ */ import_react.createElement($18f2051aff69b9bf$var$I18nContext.Provider, { value: o }, a);
1092
- }
1093
- function $18f2051aff69b9bf$var$I18nProviderWithDefaultLocale(e) {
1094
- let { children: i } = e, a = $1e5a04cdaf7d1af8$export$188ec29ebc2bdc3a();
1095
- return /* @__PURE__ */ import_react.createElement($18f2051aff69b9bf$var$I18nContext.Provider, { value: a }, i);
1096
- }
1097
- function $18f2051aff69b9bf$export$a54013f0d02a8f82(e) {
1098
- let { locale: i, children: a } = e;
1099
- return i ? /* @__PURE__ */ import_react.createElement($18f2051aff69b9bf$var$I18nProviderWithLocale, {
1100
- locale: i,
1101
- children: a
1102
- }) : /* @__PURE__ */ import_react.createElement($18f2051aff69b9bf$var$I18nProviderWithDefaultLocale, { children: a });
1103
- }
1104
- function $18f2051aff69b9bf$export$43bb16f9c6d9e3f7() {
1105
- let e = $1e5a04cdaf7d1af8$export$188ec29ebc2bdc3a();
1106
- return (0, import_react.useContext)($18f2051aff69b9bf$var$I18nContext) || e;
1107
- }
1108
- var $488c6ddbf4ef74c2$var$formatterCache = /* @__PURE__ */ new Map(), $488c6ddbf4ef74c2$var$supportsSignDisplay = false;
1109
- try {
1110
- $488c6ddbf4ef74c2$var$supportsSignDisplay = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";
1111
- } catch {
1112
- }
1113
- var $488c6ddbf4ef74c2$var$supportsUnit = false;
1114
- try {
1115
- $488c6ddbf4ef74c2$var$supportsUnit = new Intl.NumberFormat("de-DE", {
1116
- style: "unit",
1117
- unit: "degree"
1118
- }).resolvedOptions().style === "unit";
1119
- } catch {
1120
- }
1121
- var $488c6ddbf4ef74c2$var$UNITS = { degree: { narrow: {
1122
- default: "\xB0",
1123
- "ja-JP": " \u5EA6",
1124
- "zh-TW": "\u5EA6",
1125
- "sl-SI": " \xB0"
1126
- } } }, $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5 = class {
1127
- format(e) {
1128
- var _a;
1129
- let i = "";
1130
- if (i = !$488c6ddbf4ef74c2$var$supportsSignDisplay && this.options.signDisplay != null ? $488c6ddbf4ef74c2$export$711b50b3c525e0f2(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), this.options.style === "unit" && !$488c6ddbf4ef74c2$var$supportsUnit) {
1131
- let { unit: e2, unitDisplay: a = "short", locale: o } = this.resolvedOptions();
1132
- if (!e2) return i;
1133
- let s = (_a = $488c6ddbf4ef74c2$var$UNITS[e2]) == null ? void 0 : _a[a];
1134
- i += s[o] || s.default;
1135
- }
1136
- return i;
1137
- }
1138
- formatToParts(e) {
1139
- return this.numberFormatter.formatToParts(e);
1140
- }
1141
- formatRange(e, i) {
1142
- if (typeof this.numberFormatter.formatRange == "function") return this.numberFormatter.formatRange(e, i);
1143
- if (i < e) throw RangeError("End date must be >= start date");
1144
- return `${this.format(e)} \u2013 ${this.format(i)}`;
1145
- }
1146
- formatRangeToParts(e, i) {
1147
- if (typeof this.numberFormatter.formatRangeToParts == "function") return this.numberFormatter.formatRangeToParts(e, i);
1148
- if (i < e) throw RangeError("End date must be >= start date");
1149
- let a = this.numberFormatter.formatToParts(e), o = this.numberFormatter.formatToParts(i);
1150
- return [
1151
- ...a.map((e2) => ({
1152
- ...e2,
1153
- source: "startRange"
1154
- })),
1155
- {
1156
- type: "literal",
1157
- value: " \u2013 ",
1158
- source: "shared"
1159
- },
1160
- ...o.map((e2) => ({
1161
- ...e2,
1162
- source: "endRange"
1163
- }))
1164
- ];
1165
- }
1166
- resolvedOptions() {
1167
- let e = this.numberFormatter.resolvedOptions();
1168
- return !$488c6ddbf4ef74c2$var$supportsSignDisplay && this.options.signDisplay != null && (e = {
1169
- ...e,
1170
- signDisplay: this.options.signDisplay
1171
- }), !$488c6ddbf4ef74c2$var$supportsUnit && this.options.style === "unit" && (e = {
1172
- ...e,
1173
- style: "unit",
1174
- unit: this.options.unit,
1175
- unitDisplay: this.options.unitDisplay
1176
- }), e;
1177
- }
1178
- constructor(e, i = {}) {
1179
- this.numberFormatter = $488c6ddbf4ef74c2$var$getCachedNumberFormatter(e, i), this.options = i;
1180
- }
1181
- };
1182
- function $488c6ddbf4ef74c2$var$getCachedNumberFormatter(e, i = {}) {
1183
- var _a;
1184
- let { numberingSystem: a } = i;
1185
- if (a && e.includes("-nu-") && (e.includes("-u-") || (e += "-u-"), e += `-nu-${a}`), i.style === "unit" && !$488c6ddbf4ef74c2$var$supportsUnit) {
1186
- let { unit: e2, unitDisplay: a2 = "short" } = i;
1187
- if (!e2) throw Error('unit option must be provided with style: "unit"');
1188
- if (!((_a = $488c6ddbf4ef74c2$var$UNITS[e2]) == null ? void 0 : _a[a2])) throw Error(`Unsupported unit ${e2} with unitDisplay = ${a2}`);
1189
- i = {
1190
- ...i,
1191
- style: "decimal"
1192
- };
1193
- }
1194
- let o = e + (i ? Object.entries(i).sort((e2, i2) => e2[0] < i2[0] ? -1 : 1).join() : "");
1195
- if ($488c6ddbf4ef74c2$var$formatterCache.has(o)) return $488c6ddbf4ef74c2$var$formatterCache.get(o);
1196
- let s = new Intl.NumberFormat(e, i);
1197
- return $488c6ddbf4ef74c2$var$formatterCache.set(o, s), s;
1198
- }
1199
- function $488c6ddbf4ef74c2$export$711b50b3c525e0f2(e, i, a) {
1200
- if (i === "auto") return e.format(a);
1201
- if (i === "never") return e.format(Math.abs(a));
1202
- {
1203
- let o = false;
1204
- if (i === "always" ? o = a > 0 || Object.is(a, 0) : i === "exceptZero" && (Object.is(a, -0) || Object.is(a, 0) ? a = Math.abs(a) : o = a > 0), o) {
1205
- let i2 = e.format(-a), o2 = e.format(a), s = i2.replace(o2, "").replace(/\u200e|\u061C/, "");
1206
- return [...s].length !== 1 && console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"), i2.replace(o2, "!!!").replace(s, "+").replace("!!!", o2);
1207
- } else return e.format(a);
1208
- }
1209
- }
1210
- function $a916eb452884faea$export$b7a616150fdb9f44(e = {}) {
1211
- let { locale: i } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7();
1212
- return (0, import_react.useMemo)(() => new $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5(i, e), [i, e]);
1213
- }
1214
1222
  var NAME = "Label", Label$1 = import_react.forwardRef((e, i) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Primitive.label, {
1215
1223
  ...e,
1216
1224
  ref: i,
@@ -1234,41 +1242,43 @@ var Root = Label$1, import_compiler_runtime = /* @__PURE__ */ __toESM(require_co
1234
1242
  });
1235
1243
  Label.displayName = Root.displayName;
1236
1244
  export {
1237
- clamp as A,
1238
- menuLabelVariants as C,
1239
- Trigger as D,
1240
- Icon as E,
1241
- X as F,
1242
- ChevronUp as I,
1243
- ChevronDown as L,
1244
- useOnUnmount as M,
1245
- usePrevious as N,
1246
- useDirection as O,
1247
- upperFirst_default as P,
1248
- menuItemVariants as S,
1249
- menuSubTriggerVariants as T,
1250
- selectStyles as _,
1251
- $18f2051aff69b9bf$export$a54013f0d02a8f82 as a,
1252
- menuControlCheckVariants as b,
1253
- Select as c,
1254
- SelectItem as d,
1255
- SelectLabel as f,
1256
- NativeSelect as g,
1257
- SelectValue as h,
1258
- $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 as i,
1259
- useOnMount as j,
1260
- createCollection as k,
1261
- SelectContent as l,
1262
- SelectTrigger as m,
1263
- $a916eb452884faea$export$b7a616150fdb9f44 as n,
1264
- $b5e257d569688ac6$export$535bd6ca7f90a273 as o,
1265
- SelectSeparator as p,
1266
- $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5 as r,
1267
- $b5e257d569688ac6$export$619500959fc48b26 as s,
1245
+ upperFirst_default as A,
1246
+ createCollection as C,
1247
+ usePrevious as D,
1248
+ useOnUnmount as E,
1249
+ $b5e257d569688ac6$export$535bd6ca7f90a273 as F,
1250
+ $b5e257d569688ac6$export$619500959fc48b26 as I,
1251
+ X as L,
1252
+ $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5 as M,
1253
+ $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 as N,
1254
+ assertNever as O,
1255
+ $18f2051aff69b9bf$export$a54013f0d02a8f82 as P,
1256
+ ChevronUp as R,
1257
+ useDirection as S,
1258
+ useOnMount as T,
1259
+ menuLabelVariants as _,
1260
+ SelectItem as a,
1261
+ Icon as b,
1262
+ SelectTrigger as c,
1263
+ selectStyles as d,
1264
+ MENU_ITEM_DISABLED as f,
1265
+ menuItemVariants as g,
1266
+ menuControlVariants as h,
1267
+ SelectGroup as i,
1268
+ $a916eb452884faea$export$b7a616150fdb9f44 as j,
1269
+ logNever as k,
1270
+ SelectValue as l,
1271
+ menuControlCheckVariants as m,
1272
+ Select as n,
1273
+ SelectLabel as o,
1274
+ menuContentCommon as p,
1275
+ SelectContent as r,
1276
+ SelectSeparator as s,
1268
1277
  Label as t,
1269
- SelectGroup as u,
1270
- MENU_ITEM_DISABLED as v,
1271
- menuSeparatorVariants as w,
1272
- menuControlVariants as x,
1273
- menuContentCommon as y
1278
+ NativeSelect as u,
1279
+ menuSeparatorVariants as v,
1280
+ clamp as w,
1281
+ Trigger as x,
1282
+ menuSubTriggerVariants as y,
1283
+ ChevronDown as z
1274
1284
  };