@baseline-ui/core 3.9.0 → 3.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (319) hide show
  1. package/dist/Accordion.mjs +1 -1
  2. package/dist/ActionButton.mjs +1 -1
  3. package/dist/ActionGroup.mjs +1 -1
  4. package/dist/ActionIconButton.mjs +1 -1
  5. package/dist/Actionable.mjs +1 -1
  6. package/dist/AlertDialog.mjs +1 -1
  7. package/dist/AudioPlayer.mjs +1 -1
  8. package/dist/Breadcrumbs.mjs +1 -1
  9. package/dist/ButtonSelect.mjs +1 -1
  10. package/dist/Calendar.mjs +1 -1
  11. package/dist/Checkbox.mjs +1 -1
  12. package/dist/ColorInput.mjs +1 -1
  13. package/dist/ColorSwatch.mjs +1 -1
  14. package/dist/ColorSwatchPicker.mjs +1 -1
  15. package/dist/ComboBox.mjs +1 -1
  16. package/dist/DateField.mjs +1 -1
  17. package/dist/Dialog.mjs +1 -1
  18. package/dist/Disclosure.mjs +1 -1
  19. package/dist/DomNodeRenderer.mjs +1 -1
  20. package/dist/Drawer.mjs +1 -1
  21. package/dist/Editor.mjs +1 -1
  22. package/dist/FileInput.mjs +1 -1
  23. package/dist/FileList.css +1 -1
  24. package/dist/FileList.mjs +1 -1
  25. package/dist/FileUploader.mjs +1 -1
  26. package/dist/FrameProvider.mjs +1 -1
  27. package/dist/FreehandCanvas.mjs +1 -1
  28. package/dist/GridList.mjs +1 -1
  29. package/dist/Group.mjs +1 -1
  30. package/dist/Icon.mjs +1 -1
  31. package/dist/Image.mjs +1 -1
  32. package/dist/ImageDropZone.mjs +1 -1
  33. package/dist/ImageGallery.mjs +1 -1
  34. package/dist/InlineAlert.mjs +1 -1
  35. package/dist/InlineToolbar.mjs +2 -2
  36. package/dist/Kbd.mjs +1 -1
  37. package/dist/Link.mjs +1 -1
  38. package/dist/ListBox.mjs +1 -1
  39. package/dist/Markdown.css +1 -1
  40. package/dist/Markdown.mjs +1 -1
  41. package/dist/Menu.mjs +1 -1
  42. package/dist/MessageFormat.mjs +1 -1
  43. package/dist/Modal.mjs +1 -1
  44. package/dist/NumberInput.mjs +1 -1
  45. package/dist/Pagination.mjs +1 -1
  46. package/dist/Panel.mjs +1 -1
  47. package/dist/PointPicker.mjs +1 -1
  48. package/dist/Popover.mjs +1 -1
  49. package/dist/Portal.mjs +1 -1
  50. package/dist/Preview.mjs +1 -1
  51. package/dist/ProgressBar.mjs +1 -1
  52. package/dist/ProgressSpinner.mjs +1 -1
  53. package/dist/RadioGroup.css +1 -1
  54. package/dist/RadioGroup.mjs +1 -1
  55. package/dist/Reaction.mjs +1 -1
  56. package/dist/ScrollControlButton.css +1 -1
  57. package/dist/ScrollControlButton.mjs +1 -1
  58. package/dist/SearchInput.mjs +1 -1
  59. package/dist/Select.mjs +1 -1
  60. package/dist/Slider.mjs +1 -1
  61. package/dist/Stepper.mjs +1 -1
  62. package/dist/Switch.mjs +1 -1
  63. package/dist/Table.mjs +1 -1
  64. package/dist/Tabs.mjs +1 -1
  65. package/dist/Tag.mjs +1 -1
  66. package/dist/TagGroup.mjs +1 -1
  67. package/dist/TaggedPagination.mjs +1 -1
  68. package/dist/Text.mjs +1 -1
  69. package/dist/TextInput.mjs +1 -1
  70. package/dist/ThemeProvider.mjs +1 -1
  71. package/dist/TimeField.mjs +1 -1
  72. package/dist/Toast.mjs +1 -1
  73. package/dist/ToggleButton.mjs +1 -1
  74. package/dist/ToggleIconButton.mjs +1 -1
  75. package/dist/Toolbar.mjs +1 -1
  76. package/dist/Tooltip.mjs +1 -1
  77. package/dist/TreeView.mjs +1 -1
  78. package/dist/UNSAFE_ListBox.mjs +1 -1
  79. package/dist/Virtualizer.mjs +1 -1
  80. package/dist/{chunk-E3TD3EJQ.mjs → chunk-23OLSA2X.mjs} +2 -2
  81. package/dist/{chunk-X6K4M542.mjs → chunk-24WOG72O.mjs} +2 -2
  82. package/dist/{chunk-YK3KAPIK.mjs → chunk-2CFMM7MZ.mjs} +2 -2
  83. package/dist/{chunk-WSRXTVYB.mjs → chunk-2KRVQJDA.mjs} +2 -2
  84. package/dist/{chunk-SCJ3RG7B.mjs → chunk-2MNK24YJ.mjs} +1 -1
  85. package/dist/{chunk-3PBFSDMT.mjs → chunk-2PTLJDIT.mjs} +1 -1
  86. package/dist/{chunk-YSQ3YHJN.mjs → chunk-2TMQUHHU.mjs} +1 -1
  87. package/dist/chunk-3A7ZISTE.mjs +10 -0
  88. package/dist/{chunk-DOFT4BQH.mjs → chunk-3EFE2WAJ.mjs} +1 -1
  89. package/dist/{chunk-CKUHFL5G.mjs → chunk-3HJAQJWA.mjs} +1 -1
  90. package/dist/chunk-3IHIKAT4.mjs +10 -0
  91. package/dist/chunk-3JHXI33A.mjs +10 -0
  92. package/dist/chunk-3K6XNSYE.mjs +10 -0
  93. package/dist/chunk-3LS73XVI.mjs +10 -0
  94. package/dist/chunk-3P25UGHE.mjs +10 -0
  95. package/dist/{chunk-BFW26T6V.mjs → chunk-43U6RZ5C.mjs} +2 -2
  96. package/dist/{chunk-54MWEZUP.mjs → chunk-46UWKP7W.mjs} +1 -1
  97. package/dist/chunk-4CMATAQ2.mjs +10 -0
  98. package/dist/{chunk-F3EOLTFM.mjs → chunk-4FN6UAXD.mjs} +1 -1
  99. package/dist/{chunk-NWYRVUTX.mjs → chunk-4Y5IKZSW.mjs} +1 -1
  100. package/dist/{chunk-ZRD2DMEX.mjs → chunk-5B6263RO.mjs} +13 -13
  101. package/dist/{chunk-WAPBLICF.mjs → chunk-5NVCSLXT.mjs} +1 -1
  102. package/dist/{chunk-OBEPT4LR.mjs → chunk-5YV74V36.mjs} +1 -1
  103. package/dist/{chunk-VWSTMBQK.mjs → chunk-64Y62MDR.mjs} +2 -2
  104. package/dist/{chunk-IVM5IBQS.mjs → chunk-6DVKR25T.mjs} +1 -1
  105. package/dist/{chunk-ADEALCJB.mjs → chunk-6IK2TDLH.mjs} +2 -2
  106. package/dist/{chunk-ES3IQZSH.mjs → chunk-6V7S5IG5.mjs} +2 -2
  107. package/dist/chunk-6VKIT2PF.mjs +10 -0
  108. package/dist/{chunk-NTUW55EB.mjs → chunk-7EOAYPSZ.mjs} +2 -2
  109. package/dist/{chunk-LZEZW5RE.mjs → chunk-7LQTLZJ5.mjs} +2 -2
  110. package/dist/{chunk-IOHULFEP.mjs → chunk-A4PXU7GU.mjs} +2 -2
  111. package/dist/chunk-A52PIXOO.mjs +10 -0
  112. package/dist/chunk-AANAI2XF.mjs +10 -0
  113. package/dist/{chunk-UQJB6AGO.mjs → chunk-AB7LDKP2.mjs} +1 -1
  114. package/dist/{chunk-BPLTQDXX.mjs → chunk-ACHYZYVA.mjs} +2 -2
  115. package/dist/{chunk-JB3UIJ3I.mjs → chunk-AFJ3QV2Q.mjs} +2 -2
  116. package/dist/{chunk-NQVTVL24.mjs → chunk-AIG23SN5.mjs} +2 -2
  117. package/dist/chunk-ASIKCQC6.mjs +10 -0
  118. package/dist/{chunk-DV72V6NI.mjs → chunk-AU3GNNEG.mjs} +2 -2
  119. package/dist/{chunk-45EAFDOZ.mjs → chunk-AYBI4SQV.mjs} +1 -1
  120. package/dist/chunk-BJHDL2HH.mjs +10 -0
  121. package/dist/chunk-BNWDQ4KX.mjs +10 -0
  122. package/dist/{chunk-QSFRMY47.mjs → chunk-BPXZ6J5G.mjs} +1 -1
  123. package/dist/{chunk-2UDXAKWA.mjs → chunk-C6TD53KY.mjs} +2 -2
  124. package/dist/chunk-CBQO7JUC.mjs +11 -0
  125. package/dist/{chunk-LN2NT32E.mjs → chunk-CE2W5D44.mjs} +1 -1
  126. package/dist/{chunk-UR42GQO4.mjs → chunk-CEUVH4UZ.mjs} +1 -1
  127. package/dist/chunk-CGBI7OB5.mjs +10 -0
  128. package/dist/chunk-CMM5JW7L.mjs +10 -0
  129. package/dist/chunk-CPX5CB4L.mjs +10 -0
  130. package/dist/{chunk-HMAVZPRE.mjs → chunk-CRNJAQPI.mjs} +1 -1
  131. package/dist/chunk-DIMNDTFC.mjs +10 -0
  132. package/dist/{chunk-KADD66HZ.mjs → chunk-DNZMQ7EA.mjs} +2 -2
  133. package/dist/{chunk-RFCTQQMD.mjs → chunk-DP76DMVO.mjs} +1 -1
  134. package/dist/{chunk-DZFNVFYT.mjs → chunk-EGSNIMDP.mjs} +1 -1
  135. package/dist/chunk-EHIGJYGW.mjs +10 -0
  136. package/dist/{chunk-U6M2GCPD.mjs → chunk-EJGGWOY5.mjs} +1 -1
  137. package/dist/chunk-EKRT3PPK.mjs +10 -0
  138. package/dist/{chunk-FDDB7QNQ.mjs → chunk-ELW6SXDM.mjs} +1 -1
  139. package/dist/{chunk-YQFS4UHL.mjs → chunk-EPWWEFTP.mjs} +1 -1
  140. package/dist/{chunk-VDUFLHKK.mjs → chunk-EYKQGC4O.mjs} +2 -2
  141. package/dist/{chunk-PLRUMLNB.mjs → chunk-FFPJBDWH.mjs} +1 -1
  142. package/dist/{chunk-KFJE5ZBK.mjs → chunk-G2IYZES5.mjs} +1 -1
  143. package/dist/chunk-G2RVM2KB.mjs +10 -0
  144. package/dist/{chunk-AALXW5AP.mjs → chunk-GAKWWL3Y.mjs} +1 -1
  145. package/dist/chunk-GHKMHXQ3.mjs +10 -0
  146. package/dist/{chunk-VYBJ36ZR.mjs → chunk-GJVQMTGA.mjs} +1 -1
  147. package/dist/chunk-GKPZBTRE.mjs +10 -0
  148. package/dist/{chunk-TN7FPPGM.mjs → chunk-GZTF5YE3.mjs} +1 -1
  149. package/dist/{chunk-RXADOJLS.mjs → chunk-HI56YXPJ.mjs} +2 -2
  150. package/dist/{chunk-R7Y36JCO.mjs → chunk-HOG4QRLG.mjs} +1 -1
  151. package/dist/chunk-HOV7MM7M.mjs +10 -0
  152. package/dist/{chunk-XKNL5LSL.mjs → chunk-HOZPCWCF.mjs} +2 -2
  153. package/dist/{chunk-IBBDZQPO.mjs → chunk-HVSDXCZP.mjs} +2 -2
  154. package/dist/{chunk-64ZD4EKW.mjs → chunk-I4F5NJUI.mjs} +1 -1
  155. package/dist/{chunk-DLJHL4V7.mjs → chunk-I5YPTKMM.mjs} +2 -2
  156. package/dist/chunk-IHCKLMWD.mjs +10 -0
  157. package/dist/chunk-IIYP5UE7.mjs +10 -0
  158. package/dist/{chunk-GXQQZWIP.mjs → chunk-IQ3Z6ZO2.mjs} +1 -1
  159. package/dist/{chunk-3COKCTB2.mjs → chunk-J4T6TE7V.mjs} +2 -2
  160. package/dist/{chunk-OS6PVCFX.mjs → chunk-JANI446W.mjs} +1 -1
  161. package/dist/{chunk-6MTVNQKW.mjs → chunk-JGKBJHX2.mjs} +1 -1
  162. package/dist/chunk-JQSZFPWJ.mjs +10 -0
  163. package/dist/{chunk-IDIZSV2Y.mjs → chunk-JYWJE6L5.mjs} +2 -2
  164. package/dist/{chunk-ARMWQYH2.mjs → chunk-KDNT54DP.mjs} +2 -2
  165. package/dist/{chunk-KMSNBINF.mjs → chunk-L42WN3AP.mjs} +2 -2
  166. package/dist/{chunk-SY24O432.mjs → chunk-L4MQCPRT.mjs} +3 -3
  167. package/dist/chunk-L7GYT3MC.mjs +10 -0
  168. package/dist/{chunk-6CSP66NI.mjs → chunk-LGE4377M.mjs} +1 -1
  169. package/dist/chunk-LJAVEZ2H.mjs +10 -0
  170. package/dist/{chunk-JDDA4R2D.mjs → chunk-LJM26E7W.mjs} +1 -1
  171. package/dist/chunk-LNEOOIXS.mjs +10 -0
  172. package/dist/{chunk-VSGVHATE.mjs → chunk-LPHX7UMQ.mjs} +1 -1
  173. package/dist/{chunk-L6ISOTLH.mjs → chunk-LZOXWIAS.mjs} +2 -2
  174. package/dist/{chunk-W3YUV7IF.mjs → chunk-M3NJURGR.mjs} +1 -1
  175. package/dist/{chunk-IIBBR266.mjs → chunk-MMLAKHLR.mjs} +3 -3
  176. package/dist/{chunk-Z7JRM3NW.mjs → chunk-MQCTOCK2.mjs} +2 -2
  177. package/dist/{chunk-X34RHNLT.mjs → chunk-NIAMDJYU.mjs} +2 -2
  178. package/dist/{chunk-WD2TPSZV.mjs → chunk-NIGOM3FD.mjs} +1 -1
  179. package/dist/{chunk-6NUHEJGL.mjs → chunk-NOTKA3RL.mjs} +1 -1
  180. package/dist/chunk-NYH6JQMA.mjs +10 -0
  181. package/dist/{chunk-SZNDCHMJ.mjs → chunk-OFEX3RHY.mjs} +1 -1
  182. package/dist/{chunk-GLIN7JAI.mjs → chunk-OJIOLYTM.mjs} +1 -1
  183. package/dist/chunk-OWXMAVXI.mjs +10 -0
  184. package/dist/chunk-OY57K37D.mjs +10 -0
  185. package/dist/{chunk-OO3ZVB2T.mjs → chunk-OYE6VSTU.mjs} +2 -2
  186. package/dist/{chunk-GIUNLLWW.mjs → chunk-P3RRGPNM.mjs} +2 -2
  187. package/dist/{chunk-GPT4DR4P.mjs → chunk-PGDGNOYE.mjs} +1 -1
  188. package/dist/{chunk-DPFX25HC.mjs → chunk-PITIJLE3.mjs} +1 -1
  189. package/dist/{chunk-RSKKEGJZ.mjs → chunk-PPGEEMZ2.mjs} +2 -2
  190. package/dist/{chunk-UKBBSYRC.mjs → chunk-PTL6NSYA.mjs} +2 -2
  191. package/dist/chunk-PV4E7XDP.mjs +10 -0
  192. package/dist/chunk-PZBJGZ57.mjs +10 -0
  193. package/dist/chunk-Q5SN5AQT.mjs +10 -0
  194. package/dist/{chunk-EISLHUT5.mjs → chunk-Q7BJGV4I.mjs} +1 -1
  195. package/dist/{chunk-R5JHN4X6.mjs → chunk-QDMG3P5Z.mjs} +1 -1
  196. package/dist/{chunk-RE7ZGPOY.mjs → chunk-QMFL5BMI.mjs} +1 -1
  197. package/dist/{chunk-JTGVIAOK.mjs → chunk-QMP72J5L.mjs} +1 -1
  198. package/dist/chunk-QMSBDXK6.mjs +10 -0
  199. package/dist/{chunk-JIGOXUY4.mjs → chunk-QPWBJW2X.mjs} +1 -1
  200. package/dist/{chunk-67QIBKUN.mjs → chunk-QRLUWOGW.mjs} +1 -1
  201. package/dist/{chunk-FTV6OWMI.mjs → chunk-QSNYILCF.mjs} +2 -2
  202. package/dist/chunk-QVXIFV7W.mjs +10 -0
  203. package/dist/{chunk-M7BCIQ2J.mjs → chunk-QYU7CWJD.mjs} +1 -1
  204. package/dist/{chunk-JC22ELJM.mjs → chunk-RGWXVYDG.mjs} +1 -1
  205. package/dist/{chunk-N4NDPTX6.mjs → chunk-RKPWFZB4.mjs} +1 -1
  206. package/dist/chunk-RM64ROGL.mjs +10 -0
  207. package/dist/{chunk-CIOPWCOS.mjs → chunk-RPV3UUIN.mjs} +2 -2
  208. package/dist/chunk-RS7TRDRM.mjs +10 -0
  209. package/dist/{chunk-CHBF3XQ6.mjs → chunk-S2MA4MRM.mjs} +1 -1
  210. package/dist/chunk-S3LWWMMQ.mjs +10 -0
  211. package/dist/{chunk-WID7IWNC.mjs → chunk-SL5Q4NLV.mjs} +1 -1
  212. package/dist/{chunk-A63HMTSM.mjs → chunk-SMPF53W4.mjs} +1 -1
  213. package/dist/{chunk-5MR5L5JZ.mjs → chunk-SQPWV3OX.mjs} +2 -2
  214. package/dist/chunk-ST3TDAOP.mjs +10 -0
  215. package/dist/{chunk-ENUU2IVX.mjs → chunk-SUJD4QFW.mjs} +1 -1
  216. package/dist/{chunk-OKEXEU3C.mjs → chunk-T7K4WI76.mjs} +1 -1
  217. package/dist/{chunk-DFMPVQM3.mjs → chunk-TJDL7HT5.mjs} +2 -2
  218. package/dist/{chunk-SI7LO2L4.mjs → chunk-TK33MBDB.mjs} +1 -1
  219. package/dist/{chunk-BK3RBPST.mjs → chunk-TLUB6FCT.mjs} +1 -1
  220. package/dist/{chunk-UBC32WQB.mjs → chunk-TMGB4HZ7.mjs} +1 -1
  221. package/dist/{chunk-ALMW6S4I.mjs → chunk-TQMBJFQC.mjs} +2 -2
  222. package/dist/{chunk-E6DZSC2G.mjs → chunk-TUSG5ZRW.mjs} +2 -2
  223. package/dist/{chunk-D2NVLRIU.mjs → chunk-TZSRU3GG.mjs} +1 -1
  224. package/dist/{chunk-WXILHRBE.mjs → chunk-U5XI3CZD.mjs} +1 -1
  225. package/dist/chunk-U6W7D7TT.mjs +10 -0
  226. package/dist/chunk-UC6WAEPH.mjs +10 -0
  227. package/dist/{chunk-TGLVJRZE.mjs → chunk-UXAMVDQ4.mjs} +1 -1
  228. package/dist/chunk-V2C4UDOC.mjs +10 -0
  229. package/dist/{chunk-5LGYS5CZ.mjs → chunk-V3DTS6FF.mjs} +1 -1
  230. package/dist/{chunk-AC44TKUI.mjs → chunk-V6ZIMZ53.mjs} +1 -1
  231. package/dist/{chunk-B5NICAFU.mjs → chunk-VGBHKFW7.mjs} +1 -1
  232. package/dist/{chunk-BSFG32AL.mjs → chunk-VOWLLVPD.mjs} +2 -2
  233. package/dist/chunk-W4DOEGYH.mjs +10 -0
  234. package/dist/chunk-WJBURR7M.mjs +10 -0
  235. package/dist/{chunk-MUQR2YER.mjs → chunk-WN4QRMX6.mjs} +2 -2
  236. package/dist/chunk-WSDEMATI.mjs +10 -0
  237. package/dist/{chunk-UPOQXYUI.mjs → chunk-XDORZSJQ.mjs} +1 -1
  238. package/dist/{chunk-6HTOSJOJ.mjs → chunk-Y5LEKSMM.mjs} +1 -1
  239. package/dist/{chunk-3JOOFCEF.mjs → chunk-YI5VNFT4.mjs} +2 -2
  240. package/dist/{chunk-PQIDCA7P.mjs → chunk-YYOOJMQZ.mjs} +1 -1
  241. package/dist/chunk-ZNZBHN2V.mjs +10 -0
  242. package/dist/chunk-ZOCNDYUQ.mjs +10 -0
  243. package/dist/{chunk-E2VXJPSE.mjs → chunk-ZRPR4V5U.mjs} +1 -1
  244. package/dist/chunk-ZY3ZKJVD.mjs +10 -0
  245. package/dist/{chunk-4PZGQTXE.mjs → chunk-ZZGRLSEK.mjs} +2 -2
  246. package/dist/hooks/useCommitEffect.mjs +1 -0
  247. package/dist/hooks/useDevice.mjs +1 -1
  248. package/dist/hooks/useI18n.mjs +1 -1
  249. package/dist/hooks/useIntersectionObserver.mjs +1 -1
  250. package/dist/hooks/useLiveInteractionModality.mjs +1 -1
  251. package/dist/hooks/useLocalStorage.mjs +1 -1
  252. package/dist/hooks/useMedia.mjs +1 -1
  253. package/dist/hooks/useMutationObserver.mjs +1 -1
  254. package/dist/hooks/usePortalContainer.mjs +1 -1
  255. package/dist/hooks/usePreventFocus.mjs +1 -1
  256. package/dist/hooks/useResizeObserver.mjs +1 -1
  257. package/dist/hooks/useTextSelection.mjs +1 -1
  258. package/dist/hooks/useUndoRedo.mjs +1 -1
  259. package/dist/index.css +1 -1
  260. package/dist/index.d.ts +116 -40
  261. package/dist/index.js +22 -22
  262. package/dist/index.mjs +1 -1
  263. package/dist/react-aria.mjs +1 -1
  264. package/dist/utils/dom.mjs +1 -1
  265. package/dist/utils/isInShadowDOM.mjs +1 -1
  266. package/dist/utils/keyboards.mjs +1 -1
  267. package/dist/utils/objects.mjs +1 -1
  268. package/package.json +5 -5
  269. package/sbom.json +13 -13
  270. package/dist/chunk-25NW6ZEB.mjs +0 -10
  271. package/dist/chunk-2O4HB7UL.mjs +0 -10
  272. package/dist/chunk-35AM4QEA.mjs +0 -10
  273. package/dist/chunk-3V4W6OGG.mjs +0 -10
  274. package/dist/chunk-4HOAPQDQ.mjs +0 -10
  275. package/dist/chunk-5GZAORDK.mjs +0 -10
  276. package/dist/chunk-6LFOODXI.mjs +0 -10
  277. package/dist/chunk-6PBBHYCA.mjs +0 -10
  278. package/dist/chunk-B3W7VMJR.mjs +0 -10
  279. package/dist/chunk-C4XJOYAW.mjs +0 -10
  280. package/dist/chunk-D6AOHRAV.mjs +0 -10
  281. package/dist/chunk-DHZKZ3AV.mjs +0 -10
  282. package/dist/chunk-DRQHSYY3.mjs +0 -10
  283. package/dist/chunk-DZJTPX2G.mjs +0 -10
  284. package/dist/chunk-F4YBUGLD.mjs +0 -10
  285. package/dist/chunk-G76NJ3IU.mjs +0 -10
  286. package/dist/chunk-HNKEI45D.mjs +0 -10
  287. package/dist/chunk-INHZHYOF.mjs +0 -10
  288. package/dist/chunk-J7BCMF23.mjs +0 -10
  289. package/dist/chunk-JVD752FA.mjs +0 -10
  290. package/dist/chunk-JXJZIKEY.mjs +0 -10
  291. package/dist/chunk-K276BGP2.mjs +0 -10
  292. package/dist/chunk-KBLJ34QI.mjs +0 -10
  293. package/dist/chunk-KMZ3YVPE.mjs +0 -10
  294. package/dist/chunk-L5H5GE3H.mjs +0 -10
  295. package/dist/chunk-LHLY432N.mjs +0 -10
  296. package/dist/chunk-LXZOYBTL.mjs +0 -10
  297. package/dist/chunk-MPJXTZ6L.mjs +0 -10
  298. package/dist/chunk-MZIQ27JP.mjs +0 -10
  299. package/dist/chunk-NN6HKMC4.mjs +0 -10
  300. package/dist/chunk-NYNS3UDR.mjs +0 -10
  301. package/dist/chunk-OAOIUNNG.mjs +0 -10
  302. package/dist/chunk-OMCGORTH.mjs +0 -10
  303. package/dist/chunk-P6LYION6.mjs +0 -10
  304. package/dist/chunk-PJINRIA6.mjs +0 -10
  305. package/dist/chunk-PSUZMSD3.mjs +0 -10
  306. package/dist/chunk-Q3FYMLAA.mjs +0 -10
  307. package/dist/chunk-QVFGEXDU.mjs +0 -10
  308. package/dist/chunk-SYA6LAFU.mjs +0 -10
  309. package/dist/chunk-TEQHGF4G.mjs +0 -10
  310. package/dist/chunk-UCRJ3AR5.mjs +0 -10
  311. package/dist/chunk-UI4SJCQU.mjs +0 -10
  312. package/dist/chunk-V6DZG4PM.mjs +0 -11
  313. package/dist/chunk-VKWXATZ3.mjs +0 -10
  314. package/dist/chunk-VNJDCKLQ.mjs +0 -10
  315. package/dist/chunk-VQ45RUYJ.mjs +0 -10
  316. package/dist/chunk-VQHI3ZCW.mjs +0 -10
  317. package/dist/chunk-WBOFQ4BH.mjs +0 -10
  318. package/dist/chunk-XC5H4EVW.mjs +0 -10
  319. package/dist/chunk-Z7UPVYL5.mjs +0 -10
@@ -1,4 +1,4 @@
1
- import {a as a$6}from'./chunk-SVV6DLJH.mjs';import {a as a$l}from'./chunk-UPOQXYUI.mjs';import {a as a$b,b as b$6}from'./chunk-SYA6LAFU.mjs';import {c as c$8,b as b$b}from'./chunk-BK3RBPST.mjs';import {a as a$8,b as b$5,g,e as e$2,d,f,h as h$2}from'./chunk-PLRUMLNB.mjs';import {b,c as c$1}from'./chunk-TEQHGF4G.mjs';import {b as b$3,a as a$o}from'./chunk-64ZD4EKW.mjs';import {c as c$7,d as d$4}from'./chunk-VQ45RUYJ.mjs';import {l,i,p,k,h as h$1,j,n,d as d$1,g as g$1,a as a$i,b as b$9}from'./chunk-NWYRVUTX.mjs';import {a as a$4,g as g$2,c as c$6,e as e$3,b as b$a,f as f$2,d as d$5}from'./chunk-ZQOR4LCM.mjs';import {a as a$j}from'./chunk-JC22ELJM.mjs';import {a as a$m}from'./chunk-GPT4DR4P.mjs';import {a as a$9,d as d$6}from'./chunk-D2NVLRIU.mjs';import {a as a$g}from'./chunk-USMC34OO.mjs';import {b as b$7}from'./chunk-KG2EHFYA.mjs';import {b as b$2}from'./chunk-N2XGJKZG.mjs';import {a as a$d}from'./chunk-DLJHL4V7.mjs';import {a as a$e}from'./chunk-NQIZ3U7Q.mjs';import {h,e as e$1,c,b as b$4,a as a$f}from'./chunk-NYNS3UDR.mjs';import {a as a$h}from'./chunk-JJG67M2S.mjs';import {e,k as k$1,l as l$1,c as c$4}from'./chunk-OS6PVCFX.mjs';import {a as a$2,d as d$2,f as f$3,b as b$d}from'./chunk-A63HMTSM.mjs';import {a as a$k}from'./chunk-QSFRMY47.mjs';import {a as a$5}from'./chunk-FPM5UJRF.mjs';import {a as a$7}from'./chunk-FDDB7QNQ.mjs';import {c as c$5}from'./chunk-QVFGEXDU.mjs';import {a as a$a}from'./chunk-LRFFL765.mjs';import {i as i$1,j as j$1,f as f$1,b as b$c}from'./chunk-NQVTVL24.mjs';import {d as d$3}from'./chunk-IIBBR266.mjs';import {a}from'./chunk-RT4LMB6X.mjs';import {l as l$2,u,q}from'./chunk-SCJ3RG7B.mjs';import {b as b$1,c as c$2,a as a$n}from'./chunk-PJINRIA6.mjs';import {a as a$3}from'./chunk-SVIYLH7R.mjs';import {a as a$1,c as c$3}from'./chunk-35AM4QEA.mjs';import {b as b$8,a as a$c,i as i$2,h as h$3,j as j$2,m}from'./chunk-TYOEGCPS.mjs';import {createContext,forwardRef,useRef,useState,useMemo,useContext,useEffect,useCallback}from'react';import ro from'react-dom';import {jsx,jsxs,Fragment}from'react/jsx-runtime';/**
1
+ import {a as a$6}from'./chunk-SVV6DLJH.mjs';import {a as a$l}from'./chunk-XDORZSJQ.mjs';import {a as a$b,b as b$5}from'./chunk-BJHDL2HH.mjs';import {c as c$7,b as b$a}from'./chunk-TLUB6FCT.mjs';import {a as a$8,b as b$4,g,e as e$2,d,f as f$1,h as h$2}from'./chunk-FFPJBDWH.mjs';import {b,c as c$1}from'./chunk-DIMNDTFC.mjs';import {b as b$2,a as a$n}from'./chunk-I4F5NJUI.mjs';import {c as c$6,d as d$4}from'./chunk-ST3TDAOP.mjs';import {l,i,p,k,h as h$1,j,n,d as d$1,g as g$2,a as a$i,b as b$8}from'./chunk-4Y5IKZSW.mjs';import {a as a$4,g as g$3,c as c$5,e as e$3,b as b$9,f as f$3,d as d$5}from'./chunk-ZQOR4LCM.mjs';import {a as a$j}from'./chunk-RGWXVYDG.mjs';import {a as a$m}from'./chunk-PGDGNOYE.mjs';import {a as a$9,d as d$6}from'./chunk-TZSRU3GG.mjs';import {a as a$g}from'./chunk-USMC34OO.mjs';import {b as b$6}from'./chunk-KG2EHFYA.mjs';import {b as b$1}from'./chunk-N2XGJKZG.mjs';import {a as a$d}from'./chunk-I5YPTKMM.mjs';import {a as a$e}from'./chunk-NQIZ3U7Q.mjs';import {h,e as e$1,c,b as b$3,a as a$f}from'./chunk-EKRT3PPK.mjs';import {a as a$h}from'./chunk-JJG67M2S.mjs';import {e,k as k$1,l as l$1,c as c$3}from'./chunk-JANI446W.mjs';import {a as a$2,d as d$2,f as f$4,b as b$c}from'./chunk-SMPF53W4.mjs';import {a as a$k}from'./chunk-BPXZ6J5G.mjs';import {a as a$5}from'./chunk-FPM5UJRF.mjs';import {a as a$7}from'./chunk-ELW6SXDM.mjs';import {c as c$4}from'./chunk-PV4E7XDP.mjs';import {a as a$a}from'./chunk-LRFFL765.mjs';import {i as i$1,j as j$1,f as f$2,b as b$b}from'./chunk-AIG23SN5.mjs';import {d as d$3}from'./chunk-MMLAKHLR.mjs';import {a}from'./chunk-RT4LMB6X.mjs';import {l as l$2,u,q}from'./chunk-2MNK24YJ.mjs';import {a as a$1,f,g as g$1,c as c$2,e as e$4}from'./chunk-V2C4UDOC.mjs';import {a as a$3}from'./chunk-SVIYLH7R.mjs';import {b as b$7,a as a$c,i as i$2,h as h$3,j as j$2,m}from'./chunk-TYOEGCPS.mjs';import {createContext,forwardRef,useRef,useState,useMemo,useContext,useEffect,useCallback}from'react';import ro from'react-dom';import {jsx,jsxs,Fragment}from'react/jsx-runtime';/**
2
2
  * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
3
  *
4
4
  * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
@@ -7,4 +7,4 @@ import {a as a$6}from'./chunk-SVV6DLJH.mjs';import {a as a$l}from'./chunk-UPOQXY
7
7
  * This notice may not be removed from this file.
8
8
  *
9
9
  */
10
- var $e=class{keyMap=new Map;columnCount;rows;constructor(e){this.keyMap=new Map,this.columnCount=e?.columnCount,this.rows=[];let l=n=>{let i=this.keyMap.get(n.key);e.visitNode&&(n=e.visitNode(n)),this.keyMap.set(n.key,n);let d=new Set,a=null,u=false;if(n.type==="item"){for(let c of n.childNodes)if(c.props?.colSpan!==void 0){u=true;break}}for(let c of n.childNodes)c.type==="cell"&&u&&(c.colspan=c.props?.colSpan,c.colSpan=c.props?.colSpan,c.colIndex=a?(a.colIndex??a.index)+(a.colSpan??1):c.index),c.type==="cell"&&c.parentKey==null&&(c.parentKey=n.key),d.add(c.key),a?(a.nextKey=c.key,c.prevKey=a.key):c.prevKey=null,l(c),a=c;if(a&&(a.nextKey=null),i)for(let c of i.childNodes)d.has(c.key)||o(c);},o=n=>{this.keyMap.delete(n.key);for(let i of n.childNodes)this.keyMap.get(i.key)===i&&o(i);},r=null;for(let[n,i]of e.items.entries()){let d={...i,level:i.level??0,key:i.key??"row-"+n,type:i.type??"row",value:i.value??null,hasChildNodes:true,childNodes:[...i.childNodes],rendered:i.rendered,textValue:i.textValue??"",index:i.index??n};r?(r.nextKey=d.key,d.prevKey=r.key):d.prevKey=null,this.rows.push(d),l(d),r=d;}r&&(r.nextKey=null);}*[Symbol.iterator](){yield*[...this.rows];}get size(){return [...this.rows].length}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let l=this.keyMap.get(e);return l?l.prevKey??null:null}getKeyAfter(e){let l=this.keyMap.get(e);return l?l.nextKey??null:null}getFirstKey(){return [...this.rows][0]?.key}getLastKey(){let e=[...this.rows];return e[e.length-1]?.key}getItem(e){return this.keyMap.get(e)??null}at(e){let l=[...this.getKeys()];return this.getItem(l[e])}getChildren(e){return this.keyMap.get(e)?.childNodes||[]}};var Rl="row-header-column-"+Math.random().toString(36).slice(2),ut="row-header-column-"+Math.random().toString(36).slice(2);for(;Rl===ut;)ut="row-header-column-"+Math.random().toString(36).slice(2);function je(t,e){if(e.length===0)return [];let l=[],o=new Map;for(let a of e){let u=a.parentKey,c=[a];for(;u!=null;){let s=t.get(u);if(!s)break;if(o.has(s)){s.colSpan??=0,s.colSpan++,s.colspan=s.colSpan;let{column:b,index:f}=o.get(s);if(f>c.length)break;for(let p=f;p<c.length;p++)b.splice(p,0,null);for(let p=c.length;p<b.length;p++)b[p]&&o.has(b[p])&&(o.get(b[p]).index=p);}else s.colSpan=1,s.colspan=1,c.push(s),o.set(s,{column:c,index:c.length-1});u=s.parentKey;}l.push(c),a.index=l.length-1;}let r=Math.max(...l.map(a=>a.length)),n=Array(r).fill(0).map(()=>[]),i=0;for(let a of l){let u=r-1;for(let c of a){if(c){let s=n[u],b=s.reduce((f,p)=>f+(p.colSpan??1),0);if(b<i){let f={type:"placeholder",key:"placeholder-"+c.key,colspan:i-b,colSpan:i-b,index:b,value:null,rendered:null,level:u,hasChildNodes:false,childNodes:[],textValue:""};s.length>0&&(s[s.length-1].nextKey=f.key,f.prevKey=s[s.length-1].key),s.push(f);}s.length>0&&(s[s.length-1].nextKey=c.key,c.prevKey=s[s.length-1].key),c.level=u,c.colIndex=i,s.push(c);}u--;}i++;}let d=0;for(let a of n){let u=a.reduce((c,s)=>c+(s.colSpan??1),0);if(u<e.length){let c={type:"placeholder",key:"placeholder-"+a[a.length-1].key,colSpan:e.length-u,colspan:e.length-u,index:u,value:null,rendered:null,level:d,hasChildNodes:false,childNodes:[],textValue:"",prevKey:a[a.length-1].key};a.push(c);}d++;}return n.map((a,u)=>({type:"headerrow",key:"headerrow-"+u,index:u,value:null,rendered:null,level:0,hasChildNodes:true,childNodes:a,textValue:""}))}var Re=class extends $e{headerRows;columns;rowHeaderColumnKeys;body;_size=0;constructor(e,l,o){let r=new Set,n=null,i=[];if(o?.showSelectionCheckboxes){let s={type:"column",key:Rl,value:null,textValue:"",level:0,index:o?.showDragButtons?1:0,hasChildNodes:false,rendered:null,childNodes:[],props:{isSelectionCell:true}};i.unshift(s);}if(o?.showDragButtons){let s={type:"column",key:ut,value:null,textValue:"",level:0,index:0,hasChildNodes:false,rendered:null,childNodes:[],props:{isDragButtonCell:true}};i.unshift(s);}let d=[],a=new Map,u=s=>{switch(s.type){case "body":n=s;break;case "column":a.set(s.key,s),s.hasChildNodes||(i.push(s),s.props.isRowHeader&&r.add(s.key));break;case "item":d.push(s);return}for(let b of s.childNodes)u(b);};for(let s of e)u(s);let c=je(a,i);if(c.forEach((s,b)=>d.splice(b,0,s)),super({columnCount:i.length,items:d,visitNode:s=>(s.column=i[s.index],s)}),this.columns=i,this.rowHeaderColumnKeys=r,this.body=n,this.headerRows=c,this._size=[...n.childNodes].length,this.rowHeaderColumnKeys.size===0){let s=this.columns.find(b=>!b.props?.isDragButtonCell&&!b.props?.isSelectionCell);s&&this.rowHeaderColumnKeys.add(s.key);}}*[Symbol.iterator](){yield*this.body.childNodes;}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){return this.keyMap.get(e)?.prevKey??null}getKeyAfter(e){return this.keyMap.get(e)?.nextKey??null}getFirstKey(){return c$6(this.body.childNodes)?.key??null}getLastKey(){return e$3(this.body.childNodes)?.key??null}getItem(e){return e===this.body.key?this.body:this.keyMap.get(e)??null}at(e){let l=[...this.getKeys()];return this.getItem(l[e])}getChildren(e){if(e===this.body.key)return this.body.childNodes;let l=this.getItem(e);return l?.type==="item"?[...l.childNodes].filter(o=>o.type==="cell"):super.getChildren(e)}getTextValue(e){let l=this.getItem(e);if(!l)return "";if(l.textValue)return l.textValue;let o=this.rowHeaderColumnKeys;if(o){let r=[];for(let n of l.childNodes){let i=this.columns[n.index];if(o.has(i.key)&&n.textValue&&r.push(n.textValue),r.length===o.size)break}return r.join(" ")}return ""}};var Kl={"ar-AE":{colorSwatchPicker:"\u062A\u063A\u064A\u064A\u0631\u0627\u062A \u0627\u0644\u0623\u0644\u0648\u0627\u0646",dropzoneLabel:"DropZone",selectPlaceholder:"\u062D\u062F\u062F \u0639\u0646\u0635\u0631\u064B\u0627",tableResizer:"\u0623\u062F\u0627\u0629 \u062A\u063A\u064A\u064A\u0631 \u0627\u0644\u062D\u062C\u0645"},"bg-BG":{colorSwatchPicker:"\u0426\u0432\u0435\u0442\u043E\u0432\u0438 \u043C\u043E\u0441\u0442\u0440\u0438",dropzoneLabel:"DropZone",selectPlaceholder:"\u0418\u0437\u0431\u0435\u0440\u0435\u0442\u0435 \u043F\u0440\u0435\u0434\u043C\u0435\u0442",tableResizer:"\u041F\u0440\u0435\u043E\u0440\u0430\u0437\u043C\u0435\u0440\u0438\u0442\u0435\u043B"},"cs-CZ":{colorSwatchPicker:"Vzorky barev",dropzoneLabel:"M\xEDsto pro p\u0159eta\u017Een\xED",selectPlaceholder:"Vyberte polo\u017Eku",tableResizer:"Zm\u011Bna velikosti"},"da-DK":{colorSwatchPicker:"Farvepr\xF8ver",dropzoneLabel:"DropZone",selectPlaceholder:"V\xE6lg et element",tableResizer:"St\xF8rrelses\xE6ndring"},"de-DE":{colorSwatchPicker:"Farbfelder",dropzoneLabel:"Ablegebereich",selectPlaceholder:"Element w\xE4hlen",tableResizer:"Gr\xF6\xDFenanpassung"},"el-GR":{colorSwatchPicker:"\u03A7\u03C1\u03C9\u03BC\u03B1\u03C4\u03B9\u03BA\u03AC \u03B4\u03B5\u03AF\u03B3\u03BC\u03B1\u03C4\u03B1",dropzoneLabel:"DropZone",selectPlaceholder:"\u0395\u03C0\u03B9\u03BB\u03AD\u03BE\u03C4\u03B5 \u03AD\u03BD\u03B1 \u03B1\u03BD\u03C4\u03B9\u03BA\u03B5\u03AF\u03BC\u03B5\u03BD\u03BF",tableResizer:"\u0391\u03BB\u03BB\u03B1\u03B3\u03AE \u03BC\u03B5\u03B3\u03AD\u03B8\u03BF\u03C5\u03C2"},"en-US":{selectPlaceholder:"Select an item",tableResizer:"Resizer",dropzoneLabel:"DropZone",colorSwatchPicker:"Color swatches"},"es-ES":{colorSwatchPicker:"Muestras de colores",dropzoneLabel:"DropZone",selectPlaceholder:"Seleccionar un art\xEDculo",tableResizer:"Cambiador de tama\xF1o"},"et-EE":{colorSwatchPicker:"V\xE4rvin\xE4idised",dropzoneLabel:"DropZone",selectPlaceholder:"Valige \xFCksus",tableResizer:"Suuruse muutja"},"fi-FI":{colorSwatchPicker:"V\xE4rimallit",dropzoneLabel:"DropZone",selectPlaceholder:"Valitse kohde",tableResizer:"Koon muuttaja"},"fr-FR":{colorSwatchPicker:"\xC9chantillons de couleurs",dropzoneLabel:"DropZone",selectPlaceholder:"S\xE9lectionner un \xE9l\xE9ment",tableResizer:"Redimensionneur"},"he-IL":{colorSwatchPicker:"\u05D3\u05D5\u05D2\u05DE\u05D9\u05D5\u05EA \u05E6\u05D1\u05E2",dropzoneLabel:"DropZone",selectPlaceholder:"\u05D1\u05D7\u05E8 \u05E4\u05E8\u05D9\u05D8",tableResizer:"\u05E9\u05D9\u05E0\u05D5\u05D9 \u05D2\u05D5\u05D3\u05DC"},"hr-HR":{colorSwatchPicker:"Uzorci boja",dropzoneLabel:"Zona spu\u0161tanja",selectPlaceholder:"Odaberite stavku",tableResizer:"Promjena veli\u010Dine"},"hu-HU":{colorSwatchPicker:"Sz\xEDnt\xE1rak",dropzoneLabel:"DropZone",selectPlaceholder:"V\xE1lasszon ki egy elemet",tableResizer:"\xC1tm\xE9retez\u0151"},"it-IT":{colorSwatchPicker:"Campioni di colore",dropzoneLabel:"Zona di rilascio",selectPlaceholder:"Seleziona un elemento",tableResizer:"Ridimensionamento"},"ja-JP":{colorSwatchPicker:"\u30AB\u30E9\u30FC\u30B9\u30A6\u30A9\u30C3\u30C1",dropzoneLabel:"\u30C9\u30ED\u30C3\u30D7\u30BE\u30FC\u30F3",selectPlaceholder:"\u9805\u76EE\u3092\u9078\u629E",tableResizer:"\u30B5\u30A4\u30BA\u5909\u66F4\u30C4\u30FC\u30EB"},"ko-KR":{colorSwatchPicker:"\uC0C9\uC0C1 \uACAC\uBCF8",dropzoneLabel:"\uB4DC\uB86D \uC601\uC5ED",selectPlaceholder:"\uD56D\uBAA9 \uC120\uD0DD",tableResizer:"\uD06C\uAE30 \uC870\uC815\uAE30"},"lt-LT":{colorSwatchPicker:"Spalv\u0173 pavyzd\u017Eiai",dropzoneLabel:"\u201EDropZone\u201C",selectPlaceholder:"Pasirinkite element\u0105",tableResizer:"Dyd\u017Eio keitiklis"},"lv-LV":{colorSwatchPicker:"Kr\u0101su paraugi",dropzoneLabel:"DropZone",selectPlaceholder:"Izv\u0113l\u0113ties vienumu",tableResizer:"Izm\u0113ra main\u012Bt\u0101js"},"nb-NO":{colorSwatchPicker:"Fargekart",dropzoneLabel:"Droppsone",selectPlaceholder:"Velg et element",tableResizer:"St\xF8rrelsesendrer"},"nl-NL":{colorSwatchPicker:"kleurstalen",dropzoneLabel:"DropZone",selectPlaceholder:"Selecteer een item",tableResizer:"Resizer"},"pl-PL":{colorSwatchPicker:"Pr\xF3bki kolor\xF3w",dropzoneLabel:"Strefa upuszczania",selectPlaceholder:"Wybierz element",tableResizer:"Zmiana rozmiaru"},"pt-BR":{colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"},"pt-PT":{colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"},"ro-RO":{colorSwatchPicker:"Specimene de culoare",dropzoneLabel:"Zon\u0103 de plasare",selectPlaceholder:"Selecta\u021Bi un element",tableResizer:"Instrument de redimensionare"},"ru-RU":{colorSwatchPicker:"\u0426\u0432\u0435\u0442\u043E\u0432\u044B\u0435 \u043E\u0431\u0440\u0430\u0437\u0446\u044B",dropzoneLabel:"DropZone",selectPlaceholder:"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442",tableResizer:"\u0421\u0440\u0435\u0434\u0441\u0442\u0432\u043E \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u0440\u0430\u0437\u043C\u0435\u0440\u0430"},"sk-SK":{colorSwatchPicker:"Vzorkovn\xEDky farieb",dropzoneLabel:"DropZone",selectPlaceholder:"Vyberte polo\u017Eku",tableResizer:"N\xE1stroj na zmenu ve\u013Ekosti"},"sl-SI":{colorSwatchPicker:"Barvne palete",dropzoneLabel:"DropZone",selectPlaceholder:"Izberite element",tableResizer:"Spreminjanje velikosti"},"sr-SP":{colorSwatchPicker:"Uzorci boje",dropzoneLabel:"DropZone",selectPlaceholder:"Izaberite stavku",tableResizer:"Promena veli\u010Dine"},"sv-SE":{colorSwatchPicker:"F\xE4rgrutor",dropzoneLabel:"DropZone",selectPlaceholder:"V\xE4lj en artikel",tableResizer:"Storleks\xE4ndrare"},"tr-TR":{colorSwatchPicker:"Renk \xF6rnekleri",dropzoneLabel:"B\u0131rakma B\xF6lgesi",selectPlaceholder:"Bir \xF6\u011Fe se\xE7in",tableResizer:"Yeniden boyutland\u0131r\u0131c\u0131"},"uk-UA":{colorSwatchPicker:"\u0417\u0440\u0430\u0437\u043A\u0438 \u043A\u043E\u043B\u044C\u043E\u0440\u0456\u0432",dropzoneLabel:"DropZone",selectPlaceholder:"\u0412\u0438\u0431\u0435\u0440\u0456\u0442\u044C \u0435\u043B\u0435\u043C\u0435\u043D\u0442",tableResizer:"\u0417\u0430\u0441\u0456\u0431 \u0437\u043C\u0456\u043D\u0435\u043D\u043D\u044F \u0440\u043E\u0437\u043C\u0456\u0440\u0443"},"zh-CN":{colorSwatchPicker:"\u989C\u8272\u8272\u677F",dropzoneLabel:"\u653E\u7F6E\u533A\u57DF",selectPlaceholder:"\u9009\u62E9\u4E00\u4E2A\u9879\u76EE",tableResizer:"\u5C3A\u5BF8\u8C03\u6574\u5668"},"zh-TW":{colorSwatchPicker:"\u8272\u7968",dropzoneLabel:"\u653E\u7F6E\u5340",selectPlaceholder:"\u9078\u53D6\u9805\u76EE",tableResizer:"\u5927\u5C0F\u8ABF\u6574\u5668"}};function jl(t){return t!=null&&(!isNaN(t)||String(t).match(/^(\d+)(?=%$)/)!==null)}function Ul(t){if(!t||typeof t=="number")return 1;let e=t.match(/^(.+)(?=fr$)/);return e?parseFloat(e[0]):(process.env.NODE_ENV!=="production"&&console.warn(`width: ${t} is not a supported format, width should be a number (ex. 150), percentage (ex. '50%') or fr unit (ex. '2fr')`,"defaulting to '1fr'"),1)}function mt(t,e){if(typeof t=="string"){let l=t.match(/^(\d+)(?=%$)/);if(!l)throw new Error("Only percentages or numbers are supported for static column widths");return e*(parseFloat(l[0])/100)}return t}function pt(t,e){return t!=null?mt(t,e):Number.MAX_SAFE_INTEGER}function bt(t,e){return t!=null?mt(t,e):0}function Dl(t,e,l,o,r){let n=t,i=Math.floor(t),d=t-i>0;t=i;let a=false,u=e.map((s,b)=>{let f=l.get(s.key)!=null?l.get(s.key)??"1fr":s.width??s.defaultWidth??o?.(b)??"1fr",p=false,m=0,T=0,g=0;jl(f)?(m=mt(f,t),p=true):(T=Ul(f),T<=0&&(p=true));let w=bt(s.minWidth??r?.(b)??0,t),S=pt(s.maxWidth,t),C=Math.max(w,Math.min(m,S));return p?g=C:m>C&&(p=true,g=C),p||(a=true),{frozen:p,baseSize:m,hypotheticalMainSize:C,min:w,max:S,flex:T,targetMainSize:g,violation:0}});for(;a;){let s=0,b=0;u.forEach(m=>{m.frozen?s+=m.targetMainSize:(s+=m.baseSize,b+=m.flex);});let f=t-s;f>0&&u.forEach(m=>{if(!m.frozen){let T=m.flex/b;m.targetMainSize=m.baseSize+T*f;}});let p=0;u.forEach(m=>{if(m.violation=0,!m.frozen){let{min:T,max:g,targetMainSize:w}=m;m.targetMainSize=Math.max(T,Math.min(w,g)),m.violation=m.targetMainSize-w,p+=m.violation;}}),a=false,u.forEach(m=>{p===0||Math.sign(p)===Math.sign(m.violation)?m.frozen=true:m.frozen||(a=true);});}let c=Zl(u);if(d&&c.length>0){let s=n.toString().split(".")[1],b=c[c.length-1].toString();c[c.length-1]=+(b+"."+s);}return c}function Zl(t){let e=0,l=0,o=[];return t.forEach(function(r){let n=r.targetMainSize,i=Math.round(n+e)-l;e+=n,l+=i,o.push(i);}),o}var Ue=class{getDefaultWidth;getDefaultMinWidth;columnWidths=new Map;columnMinWidths=new Map;columnMaxWidths=new Map;constructor(e){this.getDefaultWidth=e?.getDefaultWidth??(()=>"1fr"),this.getDefaultMinWidth=e?.getDefaultMinWidth??(()=>75);}splitColumnsIntoControlledAndUncontrolled(e){return e.reduce((l,o)=>(o.props.width!=null?l[0].set(o.key,o):l[1].set(o.key,o),l),[new Map,new Map])}recombineColumns(e,l,o,r){return new Map(e.map(n=>o.has(n.key)?[n.key,l.get(n.key)]:[n.key,r.get(n.key).props.width]))}getInitialUncontrolledWidths(e){return new Map(Array.from(e).map(([l,o])=>[l,o.props.defaultWidth??this.getDefaultWidth?.(o)??"1fr"]))}getColumnWidth(e){return this.columnWidths.get(e)??0}getColumnMinWidth(e){return this.columnMinWidths.get(e)??0}getColumnMaxWidth(e){return this.columnMaxWidths.get(e)??0}resizeColumnWidth(e,l,o,r){let n=this.columnWidths,i=true,d=new Map;return r=Math.max(this.getColumnMinWidth(o),Math.min(this.getColumnMaxWidth(o),Math.floor(r))),e.columns.forEach(a=>{a.key===o?(d.set(a.key,r),i=false):i?d.set(a.key,n.get(a.key)??0):d.set(a.key,a.props.width??l.get(a.key));}),d}buildColumnWidths(e,l,o){return this.columnWidths=new Map,this.columnMinWidths=new Map,this.columnMaxWidths=new Map,Dl(e,l.columns.map(n=>({...n.props,key:n.key})),o,n=>this.getDefaultWidth(l.columns[n]),n=>this.getDefaultMinWidth(l.columns[n])).forEach((n,i)=>{let d=l.columns[i].key,a=l.columns[i];this.columnWidths.set(d,n),this.columnMinWidths.set(d,bt(a.props.minWidth??this.getDefaultMinWidth(a),e)),this.columnMaxWidths.set(d,pt(a.props.maxWidth,e));}),this.columnWidths}};function ht(t,e){let{getDefaultWidth:l,getDefaultMinWidth:o,tableWidth:r=0}=t,[n,i]=useState(null),d=useMemo(()=>new Ue({getDefaultWidth:l,getDefaultMinWidth:o}),[l,o]),[a,u]=useMemo(()=>d.splitColumnsIntoControlledAndUncontrolled(e.collection.columns),[e.collection.columns,d]),[c,s]=useState(()=>d.getInitialUncontrolledWidths(u)),[b,f]=useState(e.collection.columns);if(e.collection.columns!==b){if(e.collection.columns.length!==b.length||e.collection.columns.some((S,C)=>S.key!==b[C].key)){let S=d.getInitialUncontrolledWidths(u);s(S);}f(e.collection.columns);}let p=useMemo(()=>d.recombineColumns(e.collection.columns,c,u,a),[e.collection.columns,c,u,a,d]),m=useCallback(S=>{i(S);},[i]),T=useCallback((S,C)=>{let D=d.resizeColumnWidth(e.collection,c,S,C),P=new Map(Array.from(u).map(([h])=>[h,D.get(h)]));return P.set(S,C),s(P),D},[u,s,d,e.collection,c]),g=useCallback(()=>{i(null);},[i]),w=useMemo(()=>d.buildColumnWidths(r,e.collection,p),[r,e.collection,p,d]);return useMemo(()=>({resizingColumn:n,updateResizedColumns:T,startResize:m,endResize:g,getColumnWidth:S=>d.getColumnWidth(S),getColumnMinWidth:S=>d.getColumnMinWidth(S),getColumnMaxWidth:S=>d.getColumnMaxWidth(S),tableState:e,columnWidths:w}),[d,w,n,T,m,g,e])}function Ml(t){let{collection:e,focusMode:l}=t,o=t.UNSAFE_selectionState||a$4(t),r=useMemo(()=>t.disabledKeys?new Set(t.disabledKeys):new Set,[t.disabledKeys]),n=o.setFocusedKey;o.setFocusedKey=(a,u)=>{if(l==="cell"&&a!=null){let c=e.getItem(a);if(c?.type==="item"){let s=b$a(c,e);u==="last"?a=e$3(s)?.key??null:a=c$6(s)?.key??null;}}n(a,u);};let i=useMemo(()=>new f$2(e,o),[e,o]),d=useRef(null);return useEffect(()=>{if(o.focusedKey!=null&&d.current&&!e.getItem(o.focusedKey)){let a=d.current.getItem(o.focusedKey),u=a?.parentKey!=null&&(a.type==="cell"||a.type==="rowheader"||a.type==="column")?d.current.getItem(a.parentKey):a;if(!u){o.setFocusedKey(null);return}let c=d.current.rows,s=e.rows,b=c.length-s.length,f=Math.min(b>1?Math.max(u.index-b+1,0):u.index,s.length-1),p=null;for(let m=Math.max(0,f);m<s.length;m++)if(!i.isDisabled(s[m].key)&&s[m].type!=="headerrow"){p=s[m];break}if(p===null){for(let m=f-1;m>=0;m--)if(!i.isDisabled(s[m].key)&&s[m].type!=="headerrow"){p=s[m];break}}if(p){let m=p.hasChildNodes?[...b$a(p,e)]:[],T=p.hasChildNodes&&u!==a&&a&&a.index<m.length?m[a.index].key:p.key;o.setFocusedKey(T);}else o.setFocusedKey(null);}d.current=e;},[e,i,o,o.focusedKey]),{collection:e,disabledKeys:r,isKeyboardNavigationDisabled:false,selectionManager:i}}var Jl={ascending:"descending",descending:"ascending"};function gt(t){let[e,l]=useState(false),{selectionMode:o="none",showSelectionCheckboxes:r,showDragButtons:n,treeColumn:i=null}=t,d=useMemo(()=>({showSelectionCheckboxes:r&&o!=="none",showDragButtons:n,selectionMode:o,columns:[]}),[t.children,r,o,n]),a=g$2(t,useCallback(f=>new Re(f,null,d),[d]),d),{disabledKeys:u,selectionManager:c}=Ml({...t,collection:a,disabledBehavior:t.disabledBehavior||"selection"}),[s,b]=a$5(t.expandedKeys?new Set(t.expandedKeys):void 0,t.defaultExpandedKeys?new Set(t.defaultExpandedKeys):new Set,t.onExpandedChange);return {collection:a,disabledKeys:u,selectionManager:c,showSelectionCheckboxes:t.showSelectionCheckboxes||false,sortDescriptor:t.sortDescriptor??null,isKeyboardNavigationDisabled:a.size===0||e,setKeyboardNavigationDisabled:l,sort(f,p){t.onSortChange?.({column:f,direction:p??(t.sortDescriptor?.column===f?Jl[t.sortDescriptor.direction]:"ascending")});},expandedKeys:s,toggleKey(f){b(p=>{let m=new Set(p);return m.has(f)?m.delete(f):m.add(f),m});},treeColumn:i}}function Tt(t,e){let l=useMemo(()=>e?t.collection.filter(e):t.collection,[t.collection,e]),o=t.selectionManager.withCollection(l);return {...t,collection:l,selectionManager:o}}var he=class{collection;disabledKeys;disabledBehavior;direction;collator;layoutDelegate;focusMode;constructor(e){if(this.collection=e.collection,this.disabledKeys=e.disabledKeys,this.disabledBehavior=e.disabledBehavior||"all",this.direction=e.direction,this.collator=e.collator,!e.layout&&!e.ref)throw new Error("Either a layout or a ref must be specified.");this.layoutDelegate=e.layoutDelegate||(e.layout?new St(e.layout):new a$o(e.ref)),this.focusMode=e.focusMode??"row";}isCell(e){return e.type==="cell"}isRow(e){return e.type==="row"||e.type==="item"}isDisabled(e){return this.disabledBehavior==="all"&&(e.props?.isDisabled||this.disabledKeys.has(e.key))&&e.props?.disabledBehavior!=="selection"}findPreviousKey(e,l,o=false){let r=e!=null?this.collection.getKeyBefore(e):this.collection.getLastKey();for(;r!=null;){let n=this.collection.getItem(r);if(!n)return null;if((o||!this.isDisabled(n))&&(!l||l(n)))return r;r=this.collection.getKeyBefore(r);}return null}findNextKey(e,l,o=false){let r=e!=null?this.collection.getKeyAfter(e):this.collection.getFirstKey();for(;r!=null;){let n=this.collection.getItem(r);if(!n)return null;if((o||!this.isDisabled(n))&&(!l||l(n)))return r;if(r=this.collection.getKeyAfter(r),r==null)return null}return null}getKeyForItemInRowByIndex(e,l=0){if(l<0)return null;let o=this.collection.getItem(e);if(!o)return null;let r=0;for(let n of b$a(o,this.collection)){if(n.colSpan&&n.colSpan+r>l||(n.colSpan&&(r=r+n.colSpan-1),r===l))return n.key??null;r++;}return null}getKeyBelow(e,l){let o=e,r=this.collection.getItem(o);if(!r||(this.isCell(r)&&(o=r.parentKey??null),o==null))return null;if(o=this.findNextKey(o,n=>n.type==="item",l?.includeDisabled),o!=null){if(this.isCell(r)){let n=r.colIndex?r.colIndex:r.index;return this.getKeyForItemInRowByIndex(o,n)}if(this.focusMode==="row")return o}return null}getKeyAbove(e,l){let o=e,r=this.collection.getItem(o);if(!r||(this.isCell(r)&&(o=r.parentKey??null),o==null))return null;if(o=this.findPreviousKey(o,n=>n.type==="item",l?.includeDisabled),o!=null){if(this.isCell(r)){let n=r.colIndex?r.colIndex:r.index;return this.getKeyForItemInRowByIndex(o,n)}if(this.focusMode==="row")return o}return null}getKeyRightOf(e){let l=this.collection.getItem(e);if(!l)return null;if(this.isRow(l)){let o=b$a(l,this.collection);return (this.direction==="rtl"?e$3(o)?.key:c$6(o)?.key)??null}if(this.isCell(l)&&l.parentKey!=null){let o=this.collection.getItem(l.parentKey);if(!o)return null;let r=b$a(o,this.collection),n=(this.direction==="rtl"?d$5(r,l.index-1):d$5(r,l.index+1))??null;return n?n.key??null:this.focusMode==="row"?l.parentKey??null:(this.direction==="rtl"?this.getFirstKey(e):this.getLastKey(e))??null}return null}getKeyLeftOf(e){let l=this.collection.getItem(e);if(!l)return null;if(this.isRow(l)){let o=b$a(l,this.collection);return (this.direction==="rtl"?c$6(o)?.key:e$3(o)?.key)??null}if(this.isCell(l)&&l.parentKey!=null){let o=this.collection.getItem(l.parentKey);if(!o)return null;let r=b$a(o,this.collection),n=(this.direction==="rtl"?d$5(r,l.index+1):d$5(r,l.index-1))??null;return n?n.key??null:this.focusMode==="row"?l.parentKey??null:(this.direction==="rtl"?this.getLastKey(e):this.getFirstKey(e))??null}return null}getFirstKey(e,l){let o=e??null,r;if(o!=null){if(r=this.collection.getItem(o),!r)return null;if(this.isCell(r)&&!l&&r.parentKey!=null){let n=this.collection.getItem(r.parentKey);return n?c$6(b$a(n,this.collection))?.key??null:null}}if(o=this.findNextKey(void 0,n=>n.type==="item"),o!=null&&(r&&this.isCell(r)&&l||this.focusMode==="cell")){let n=this.collection.getItem(o);if(!n)return null;o=c$6(b$a(n,this.collection))?.key??null;}return o}getLastKey(e,l){let o=e??null,r;if(o!=null){if(r=this.collection.getItem(o),!r)return null;if(this.isCell(r)&&!l&&r.parentKey!=null){let n=this.collection.getItem(r.parentKey);if(!n)return null;let i=b$a(n,this.collection);return e$3(i)?.key??null}}if(o=this.findPreviousKey(void 0,n=>n.type==="item"),o!=null&&(r&&this.isCell(r)&&l||this.focusMode==="cell")){let n=this.collection.getItem(o);if(!n)return null;let i=b$a(n,this.collection);o=e$3(i)?.key??null;}return o}getKeyPageAbove(e){let l=e,o=this.layoutDelegate.getItemRect(l);if(!o)return null;let r=Math.max(0,o.y+o.height-this.layoutDelegate.getVisibleRect().height);for(;o&&o.y>r&&l!=null&&(l=this.getKeyAbove(l)??null,l!=null);)o=this.layoutDelegate.getItemRect(l);return l}getKeyPageBelow(e){let l=e,o=this.layoutDelegate.getItemRect(l);if(!o)return null;let r=this.layoutDelegate.getVisibleRect().height,n=Math.min(this.layoutDelegate.getContentSize().height,o.y+r);for(;o&&o.y+o.height<n;){let i=this.getKeyBelow(l);if(i==null)break;o=this.layoutDelegate.getItemRect(i),l=i;}return l}getKeyForSearch(e,l){let o=l??null;if(!this.collator)return null;let r=this.collection;if(o=l??this.getFirstKey(),o==null)return null;let n=r.getItem(o);if(!n)return null;n.type==="cell"&&(o=n.parentKey??null);let i=false;for(;o!=null;){let d=r.getItem(o);if(!d)return null;if(d.textValue){let a=d.textValue.slice(0,e.length);if(this.collator.compare(a,e)===0)return this.isRow(d)&&this.focusMode==="cell"?c$6(b$a(d,this.collection))?.key??null:d.key}o=this.findNextKey(o,a=>a.type==="item"),o==null&&!i&&(o=this.getFirstKey(),i=true);}return null}},St=class{layout;constructor(e){this.layout=e;}getContentSize(){return this.layout.getContentSize()}getItemRect(e){return this.layout.getLayoutInfo(e)?.rect||null}getVisibleRect(){return this.layout.virtualizer.visibleRect}};var ge=new WeakMap;function Il(t,e,l){let{isVirtualized:o,disallowTypeAhead:r,keyboardDelegate:n,focusMode:i,scrollRef:d,getRowText:a,onRowAction:u,onCellAction:c,escapeKeyBehavior:s="clearSelection",shouldSelectOnPressUp:b,keyboardNavigationBehavior:f="arrow"}=t,{selectionManager:p}=e;!t["aria-label"]&&!t["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let m=a$g({usage:"search",sensitivity:"base"}),{direction:T}=b$2(),g=e.selectionManager.disabledBehavior,w=useMemo(()=>n||new he({collection:e.collection,disabledKeys:e.disabledKeys,disabledBehavior:g,ref:l,direction:T,collator:m,focusMode:i}),[n,e.collection,e.disabledKeys,g,l,T,m,i]),{collectionProps:S}=c$7({ref:l,selectionManager:p,keyboardDelegate:w,isVirtualized:o,scrollRef:d,disallowTypeAhead:r,escapeKeyBehavior:s}),C=c$3(t.id);ge.set(e,{keyboardDelegate:w,actions:{onRowAction:u,onCellAction:c},shouldSelectOnPressUp:b,keyboardNavigationBehavior:f});let D=c$8({selectionManager:p,hasItemActions:!!(u||c),ref:l}),P=a$3(t,{labelable:true}),h=useCallback(N=>{if(p.isFocused){h$3(N.currentTarget,j$2(N))||p.setFocused(false);return}h$3(N.currentTarget,j$2(N))&&p.setFocused(true);},[p]),R=useMemo(()=>({onBlur:S.onBlur,onFocus:h}),[h,S.onBlur]),x=a$m(l,{isDisabled:e.collection.size!==0}),v=c$2(P,{role:"grid",id:C,"aria-multiselectable":p.selectionMode==="multiple"?"true":void 0},e.isKeyboardNavigationDisabled?R:S,e.collection.size===0&&{tabIndex:x?-1:0}||void 0,D);return o&&(v["aria-rowcount"]=e.collection.size,v["aria-colcount"]=e.collection.columnCount),b$b({getRowText:a},e),{gridProps:v}}var Ze=new WeakMap;function Ct(t){return typeof t=="string"?t.replace(/\s*/g,""):""+t}function _e(t,e){let l=Ze.get(t);if(!l)throw new Error("Unknown grid");return `${l}-${Ct(e)}`}function wt(t,e,l){let o=Ze.get(t);if(!o)throw new Error("Unknown grid");return `${o}-${Ct(e)}-${Ct(l)}`}function De(t,e){return [...t.collection.rowHeaderColumnKeys].map(l=>wt(t,e,l)).join(" ")}var J={"ar-AE":{ascending:"\u062A\u0635\u0627\u0639\u062F\u064A",ascendingSort:t=>`\u062A\u0631\u062A\u064A\u0628 \u062D\u0633\u0628 \u0627\u0644\u0639\u0645\u0648\u062F ${t.columnName} \u0628\u062A\u0631\u062A\u064A\u0628 \u062A\u0635\u0627\u0639\u062F\u064A`,collapse:"\u0637\u064A",columnSize:t=>`${t.value} \u0628\u0627\u0644\u0628\u0643\u0633\u0644`,descending:"\u062A\u0646\u0627\u0632\u0644\u064A",descendingSort:t=>`\u062A\u0631\u062A\u064A\u0628 \u062D\u0633\u0628 \u0627\u0644\u0639\u0645\u0648\u062F ${t.columnName} \u0628\u062A\u0631\u062A\u064A\u0628 \u062A\u0646\u0627\u0632\u0644\u064A`,expand:"\u062A\u0645\u062F\u064A\u062F",resizerDescription:"\u0627\u0636\u063A\u0637 \u0639\u0644\u0649 \u0645\u0641\u062A\u0627\u062D Enter \u0644\u0628\u062F\u0621 \u062A\u063A\u064A\u064A\u0631 \u0627\u0644\u062D\u062C\u0645",select:"\u062A\u062D\u062F\u064A\u062F",selectAll:"\u062A\u062D\u062F\u064A\u062F \u0627\u0644\u0643\u0644",sortable:"\u0639\u0645\u0648\u062F \u0642\u0627\u0628\u0644 \u0644\u0644\u062A\u0631\u062A\u064A\u0628"},"bg-BG":{ascending:"\u0432\u044A\u0437\u0445\u043E\u0434\u044F\u0449",ascendingSort:t=>`\u0441\u043E\u0440\u0442\u0438\u0440\u0430\u043D\u043E \u043F\u043E \u043A\u043E\u043B\u043E\u043D\u0430 ${t.columnName} \u0432\u044A\u0432 \u0432\u044A\u0437\u0445\u043E\u0434\u044F\u0449 \u0440\u0435\u0434`,collapse:"\u0421\u0432\u0438\u0432\u0430\u043D\u0435",columnSize:t=>`${t.value} \u043F\u0438\u043A\u0441\u0435\u043B\u0430`,descending:"\u043D\u0438\u0437\u0445\u043E\u0434\u044F\u0449",descendingSort:t=>`\u0441\u043E\u0440\u0442\u0438\u0440\u0430\u043D\u043E \u043F\u043E \u043A\u043E\u043B\u043E\u043D\u0430 ${t.columnName} \u0432 \u043D\u0438\u0437\u0445\u043E\u0434\u044F\u0449 \u0440\u0435\u0434`,expand:"\u0420\u0430\u0437\u0448\u0438\u0440\u044F\u0432\u0430\u043D\u0435",resizerDescription:"\u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u201EEnter\u201C, \u0437\u0430 \u0434\u0430 \u0437\u0430\u043F\u043E\u0447\u043D\u0435\u0442\u0435 \u0434\u0430 \u043F\u0440\u0435\u043E\u0440\u0430\u0437\u043C\u0435\u0440\u044F\u0432\u0430\u0442\u0435",select:"\u0418\u0437\u0431\u0435\u0440\u0435\u0442\u0435",selectAll:"\u0418\u0437\u0431\u0435\u0440\u0435\u0442\u0435 \u0432\u0441\u0438\u0447\u043A\u043E",sortable:"\u0441\u043E\u0440\u0442\u0438\u0440\u0430\u0449\u0430 \u043A\u043E\u043B\u043E\u043D\u0430"},"cs-CZ":{ascending:"vzestupn\u011B",ascendingSort:t=>`\u0159azeno vzestupn\u011B podle sloupce ${t.columnName}`,collapse:"Sbalit",columnSize:t=>`${t.value} pixel\u016F`,descending:"sestupn\u011B",descendingSort:t=>`\u0159azeno sestupn\u011B podle sloupce ${t.columnName}`,expand:"Rozt\xE1hnout",resizerDescription:"Stisknut\xEDm kl\xE1vesy Enter za\u010Dnete m\u011Bnit velikost",select:"Vybrat",selectAll:"Vybrat v\u0161e",sortable:"sloupec s mo\u017Enost\xED \u0159azen\xED"},"da-DK":{ascending:"stigende",ascendingSort:t=>`sorteret efter kolonne ${t.columnName} i stigende r\xE6kkef\xF8lge`,collapse:"Skjul",columnSize:t=>`${t.value} pixels`,descending:"faldende",descendingSort:t=>`sorteret efter kolonne ${t.columnName} i faldende r\xE6kkef\xF8lge`,expand:"Udvid",resizerDescription:"Tryk p\xE5 Enter for at \xE6ndre st\xF8rrelse",select:"V\xE6lg",selectAll:"V\xE6lg alle",sortable:"sorterbar kolonne"},"de-DE":{ascending:"aufsteigend",ascendingSort:t=>`sortiert nach Spalte ${t.columnName} in aufsteigender Reihenfolge`,collapse:"Reduzieren",columnSize:t=>`${t.value} Pixel`,descending:"absteigend",descendingSort:t=>`sortiert nach Spalte ${t.columnName} in absteigender Reihenfolge`,expand:"Erweitern",resizerDescription:"Eingabetaste zum Starten der Gr\xF6\xDFen\xE4nderung dr\xFCcken",select:"Ausw\xE4hlen",selectAll:"Alles ausw\xE4hlen",sortable:"sortierbare Spalte"},"el-GR":{ascending:"\u03B1\u03CD\u03BE\u03BF\u03C5\u03C3\u03B1",ascendingSort:t=>`\u03B4\u03B9\u03B1\u03BB\u03BF\u03B3\u03AE \u03B1\u03BD\u03AC \u03C3\u03C4\u03AE\u03BB\u03B7 ${t.columnName} \u03C3\u03B5 \u03B1\u03CD\u03BE\u03BF\u03C5\u03C3\u03B1 \u03C3\u03B5\u03B9\u03C1\u03AC`,collapse:"\u03A3\u03CD\u03BC\u03C0\u03C4\u03C5\u03BE\u03B7",columnSize:t=>`${t.value} pixel`,descending:"\u03C6\u03B8\u03AF\u03BD\u03BF\u03C5\u03C3\u03B1",descendingSort:t=>`\u03B4\u03B9\u03B1\u03BB\u03BF\u03B3\u03AE \u03B1\u03BD\u03AC \u03C3\u03C4\u03AE\u03BB\u03B7 ${t.columnName} \u03C3\u03B5 \u03C6\u03B8\u03AF\u03BD\u03BF\u03C5\u03C3\u03B1 \u03C3\u03B5\u03B9\u03C1\u03AC`,expand:"\u0391\u03BD\u03AC\u03C0\u03C4\u03C5\u03BE\u03B7",resizerDescription:"\u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 Enter \u03B3\u03B9\u03B1 \u03AD\u03BD\u03B1\u03C1\u03BE\u03B7 \u03C4\u03B7\u03C2 \u03B1\u03BB\u03BB\u03B1\u03B3\u03AE\u03C2 \u03BC\u03B5\u03B3\u03AD\u03B8\u03BF\u03C5\u03C2",select:"\u0395\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE",selectAll:"\u0395\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE \u03CC\u03BB\u03C9\u03BD",sortable:"\u03A3\u03C4\u03AE\u03BB\u03B7 \u03B4\u03B9\u03B1\u03BB\u03BF\u03B3\u03AE\u03C2"},"en-US":{select:"Select",selectAll:"Select All",sortable:"sortable column",ascending:"ascending",descending:"descending",ascendingSort:t=>`sorted by column ${t.columnName} in ascending order`,descendingSort:t=>`sorted by column ${t.columnName} in descending order`,columnSize:t=>`${t.value} pixels`,resizerDescription:"Press Enter to start resizing",expand:"Expand",collapse:"Collapse"},"es-ES":{ascending:"ascendente",ascendingSort:t=>`ordenado por columna ${t.columnName} en sentido ascendente`,collapse:"Contraer",columnSize:t=>`${t.value} p\xEDxeles`,descending:"descendente",descendingSort:t=>`ordenado por columna ${t.columnName} en orden descendente`,expand:"Ampliar",resizerDescription:"Pulse Intro para empezar a redimensionar",select:"Seleccionar",selectAll:"Seleccionar todos",sortable:"columna ordenable"},"et-EE":{ascending:"t\xF5usev j\xE4rjestus",ascendingSort:t=>`sorditud veeru j\xE4rgi ${t.columnName} t\xF5usvas j\xE4rjestuses`,collapse:"Ahenda",columnSize:t=>`${t.value} pikslit`,descending:"laskuv j\xE4rjestus",descendingSort:t=>`sorditud veeru j\xE4rgi ${t.columnName} laskuvas j\xE4rjestuses`,expand:"Laienda",resizerDescription:"Suuruse muutmise alustamiseks vajutage klahvi Enter",select:"Vali",selectAll:"Vali k\xF5ik",sortable:"sorditav veerg"},"fi-FI":{ascending:"nouseva",ascendingSort:t=>`lajiteltu sarakkeen ${t.columnName} mukaan nousevassa j\xE4rjestyksess\xE4`,collapse:"Pienenn\xE4",columnSize:t=>`${t.value} pikseli\xE4`,descending:"laskeva",descendingSort:t=>`lajiteltu sarakkeen ${t.columnName} mukaan laskevassa j\xE4rjestyksess\xE4`,expand:"Laajenna",resizerDescription:"Aloita koon muutos painamalla Enter-n\xE4pp\xE4int\xE4",select:"Valitse",selectAll:"Valitse kaikki",sortable:"lajiteltava sarake"},"fr-FR":{ascending:"croissant",ascendingSort:t=>`tri\xE9 en fonction de la colonne\xA0${t.columnName} par ordre croissant`,collapse:"R\xE9duire",columnSize:t=>`${t.value}\xA0pixels`,descending:"d\xE9croissant",descendingSort:t=>`tri\xE9 en fonction de la colonne\xA0${t.columnName} par ordre d\xE9croissant`,expand:"D\xE9velopper",resizerDescription:"Appuyez sur Entr\xE9e pour commencer le redimensionnement.",select:"S\xE9lectionner",selectAll:"S\xE9lectionner tout",sortable:"colonne triable"},"he-IL":{ascending:"\u05E2\u05D5\u05DC\u05D4",ascendingSort:t=>`\u05DE\u05D5\u05D9\u05DF \u05DC\u05E4\u05D9 \u05E2\u05DE\u05D5\u05D3\u05D4 ${t.columnName} \u05D1\u05E1\u05D3\u05E8 \u05E2\u05D5\u05DC\u05D4`,collapse:"\u05DB\u05D5\u05D5\u05E5",columnSize:t=>`${t.value} \u05E4\u05D9\u05E7\u05E1\u05DC\u05D9\u05DD`,descending:"\u05D9\u05D5\u05E8\u05D3",descendingSort:t=>`\u05DE\u05D5\u05D9\u05DF \u05DC\u05E4\u05D9 \u05E2\u05DE\u05D5\u05D3\u05D4 ${t.columnName} \u05D1\u05E1\u05D3\u05E8 \u05D9\u05D5\u05E8\u05D3`,expand:"\u05D4\u05E8\u05D7\u05D1",resizerDescription:"\u05D4\u05E7\u05E9 Enter \u05DB\u05D3\u05D9 \u05DC\u05E9\u05E0\u05D5\u05EA \u05D0\u05EA \u05D4\u05D2\u05D5\u05D3\u05DC",select:"\u05D1\u05D7\u05E8",selectAll:"\u05D1\u05D7\u05E8 \u05D4\u05DB\u05D5\u05DC",sortable:"\u05E2\u05DE\u05D5\u05D3\u05D4 \u05E9\u05E0\u05D9\u05EA\u05DF \u05DC\u05DE\u05D9\u05D9\u05DF"},"hr-HR":{ascending:"rastu\u0107i",ascendingSort:t=>`razvrstano po stupcima ${t.columnName} rastu\u0107em redoslijedom`,collapse:"Sa\u017Emi",columnSize:t=>`${t.value} piksela`,descending:"padaju\u0107i",descendingSort:t=>`razvrstano po stupcima ${t.columnName} padaju\u0107im redoslijedom`,expand:"Pro\u0161iri",resizerDescription:"Pritisnite Enter da biste zapo\u010Deli promenu veli\u010Dine",select:"Odaberite",selectAll:"Odaberite sve",sortable:"stupac koji se mo\u017Ee razvrstati"},"hu-HU":{ascending:"n\xF6vekv\u0151",ascendingSort:t=>`rendezve a(z) ${t.columnName} oszlop szerint, n\xF6vekv\u0151 sorrendben`,collapse:"\xD6sszecsuk\xE1s",columnSize:t=>`${t.value} k\xE9ppont`,descending:"cs\xF6kken\u0151",descendingSort:t=>`rendezve a(z) ${t.columnName} oszlop szerint, cs\xF6kken\u0151 sorrendben`,expand:"Kibont\xE1s",resizerDescription:"Nyomja le az Enter billenty\u0171t az \xE1tm\xE9retez\xE9s megkezd\xE9s\xE9hez",select:"Kijel\xF6l\xE9s",selectAll:"\xD6sszes kijel\xF6l\xE9se",sortable:"rendezend\u0151 oszlop"},"it-IT":{ascending:"crescente",ascendingSort:t=>`in ordine crescente in base alla colonna ${t.columnName}`,collapse:"Comprimi",columnSize:t=>`${t.value} pixel`,descending:"decrescente",descendingSort:t=>`in ordine decrescente in base alla colonna ${t.columnName}`,expand:"Espandi",resizerDescription:"Premi Invio per iniziare a ridimensionare",select:"Seleziona",selectAll:"Seleziona tutto",sortable:"colonna ordinabile"},"ja-JP":{ascending:"\u6607\u9806",ascendingSort:t=>`\u5217 ${t.columnName} \u3092\u6607\u9806\u3067\u4E26\u3079\u66FF\u3048`,collapse:"\u6298\u308A\u305F\u305F\u3080",columnSize:t=>`${t.value} \u30D4\u30AF\u30BB\u30EB`,descending:"\u964D\u9806",descendingSort:t=>`\u5217 ${t.columnName} \u3092\u964D\u9806\u3067\u4E26\u3079\u66FF\u3048`,expand:"\u5C55\u958B",resizerDescription:"Enter \u30AD\u30FC\u3092\u62BC\u3057\u3066\u30B5\u30A4\u30BA\u5909\u66F4\u3092\u958B\u59CB",select:"\u9078\u629E",selectAll:"\u3059\u3079\u3066\u9078\u629E",sortable:"\u4E26\u3079\u66FF\u3048\u53EF\u80FD\u306A\u5217"},"ko-KR":{ascending:"\uC624\uB984\uCC28\uC21C",ascendingSort:t=>`${t.columnName} \uC5F4\uC744 \uAE30\uC900\uC73C\uB85C \uC624\uB984\uCC28\uC21C\uC73C\uB85C \uC815\uB82C\uB428`,collapse:"\uC811\uAE30",columnSize:t=>`${t.value} \uD53D\uC140`,descending:"\uB0B4\uB9BC\uCC28\uC21C",descendingSort:t=>`${t.columnName} \uC5F4\uC744 \uAE30\uC900\uC73C\uB85C \uB0B4\uB9BC\uCC28\uC21C\uC73C\uB85C \uC815\uB82C\uB428`,expand:"\uD3BC\uCE58\uAE30",resizerDescription:"\uD06C\uAE30 \uC870\uC815\uC744 \uC2DC\uC791\uD558\uB824\uBA74 Enter\uB97C \uB204\uB974\uC138\uC694.",select:"\uC120\uD0DD",selectAll:"\uBAA8\uB450 \uC120\uD0DD",sortable:"\uC815\uB82C \uAC00\uB2A5\uD55C \uC5F4"},"lt-LT":{ascending:"did\u0117jan\u010Dia tvarka",ascendingSort:t=>`surikiuota pagal stulpel\u012F ${t.columnName} did\u0117jan\u010Dia tvarka`,collapse:"Sutraukti",columnSize:t=>`${t.value} piks.`,descending:"ma\u017E\u0117jan\u010Dia tvarka",descendingSort:t=>`surikiuota pagal stulpel\u012F ${t.columnName} ma\u017E\u0117jan\u010Dia tvarka`,expand:"I\u0161skleisti",resizerDescription:"Paspauskite \u201EEnter\u201C, kad prad\u0117tum\u0117te keisti dyd\u012F",select:"Pasirinkti",selectAll:"Pasirinkti visk\u0105",sortable:"rikiuojamas stulpelis"},"lv-LV":{ascending:"augo\u0161\u0101 sec\u012Bb\u0101",ascendingSort:t=>`k\u0101rtots p\u0113c kolonnas ${t.columnName} augo\u0161\u0101 sec\u012Bb\u0101`,collapse:"Sak\u013Caut",columnSize:t=>`${t.value} pikse\u013Ci`,descending:"dilsto\u0161\u0101 sec\u012Bb\u0101",descendingSort:t=>`k\u0101rtots p\u0113c kolonnas ${t.columnName} dilsto\u0161\u0101 sec\u012Bb\u0101`,expand:"Izv\u0113rst",resizerDescription:"Nospiediet Enter, lai s\u0101ktu izm\u0113ru main\u012B\u0161anu",select:"Atlas\u012Bt",selectAll:"Atlas\u012Bt visu",sortable:"k\u0101rtojam\u0101 kolonna"},"nb-NO":{ascending:"stigende",ascendingSort:t=>`sortert etter kolonne ${t.columnName} i stigende rekkef\xF8lge`,collapse:"Skjul",columnSize:t=>`${t.value} piksler`,descending:"synkende",descendingSort:t=>`sortert etter kolonne ${t.columnName} i synkende rekkef\xF8lge`,expand:"Utvid",resizerDescription:"Trykk p\xE5 Enter for \xE5 starte st\xF8rrelsesendring",select:"Velg",selectAll:"Velg alle",sortable:"kolonne som kan sorteres"},"nl-NL":{ascending:"oplopend",ascendingSort:t=>`gesorteerd in oplopende volgorde in kolom ${t.columnName}`,collapse:"Samenvouwen",columnSize:t=>`${t.value} pixels`,descending:"aflopend",descendingSort:t=>`gesorteerd in aflopende volgorde in kolom ${t.columnName}`,expand:"Uitvouwen",resizerDescription:"Druk op Enter om het formaat te wijzigen",select:"Selecteren",selectAll:"Alles selecteren",sortable:"sorteerbare kolom"},"pl-PL":{ascending:"rosn\u0105co",ascendingSort:t=>`posortowano wed\u0142ug kolumny ${t.columnName} w porz\u0105dku rosn\u0105cym`,collapse:"Zwi\u0144",columnSize:t=>`Liczba pikseli: ${t.value}`,descending:"malej\u0105co",descendingSort:t=>`posortowano wed\u0142ug kolumny ${t.columnName} w porz\u0105dku malej\u0105cym`,expand:"Rozwi\u0144",resizerDescription:"Naci\u015Bnij Enter, aby rozpocz\u0105\u0107 zmienianie rozmiaru",select:"Zaznacz",selectAll:"Zaznacz wszystko",sortable:"kolumna z mo\u017Cliwo\u015Bci\u0105 sortowania"},"pt-BR":{ascending:"crescente",ascendingSort:t=>`classificado pela coluna ${t.columnName} em ordem crescente`,collapse:"Recolher",columnSize:t=>`${t.value} pixels`,descending:"decrescente",descendingSort:t=>`classificado pela coluna ${t.columnName} em ordem decrescente`,expand:"Expandir",resizerDescription:"Pressione Enter para come\xE7ar a redimensionar",select:"Selecionar",selectAll:"Selecionar tudo",sortable:"coluna classific\xE1vel"},"pt-PT":{ascending:"ascendente",ascendingSort:t=>`Ordenar por coluna ${t.columnName} em ordem ascendente`,collapse:"Colapsar",columnSize:t=>`${t.value} pixels`,descending:"descendente",descendingSort:t=>`Ordenar por coluna ${t.columnName} em ordem descendente`,expand:"Expandir",resizerDescription:"Prima Enter para iniciar o redimensionamento",select:"Selecionar",selectAll:"Selecionar tudo",sortable:"Coluna orden\xE1vel"},"ro-RO":{ascending:"cresc\u0103toare",ascendingSort:t=>`sortate dup\u0103 coloana ${t.columnName} \xEEn ordine cresc\u0103toare`,collapse:"Restr\xE2nge\u021Bi",columnSize:t=>`${t.value} pixeli`,descending:"descresc\u0103toare",descendingSort:t=>`sortate dup\u0103 coloana ${t.columnName} \xEEn ordine descresc\u0103toare`,expand:"Extinde\u021Bi",resizerDescription:"Ap\u0103sa\u021Bi pe Enter pentru a \xEEncepe redimensionarea",select:"Selectare",selectAll:"Selectare total\u0103",sortable:"coloan\u0103 sortabil\u0103"},"ru-RU":{ascending:"\u0432\u043E\u0437\u0440\u0430\u0441\u0442\u0430\u043D\u0438\u0435",ascendingSort:t=>`\u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0442\u043E\u043B\u0431\u0435\u0446 ${t.columnName} \u0432 \u043F\u043E\u0440\u044F\u0434\u043A\u0435 \u0432\u043E\u0437\u0440\u0430\u0441\u0442\u0430\u043D\u0438\u044F`,collapse:"\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C",columnSize:t=>`${t.value} \u043F\u0438\u043A\u0441.`,descending:"\u0443\u0431\u044B\u0432\u0430\u043D\u0438\u0435",descendingSort:t=>`\u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0442\u043E\u043B\u0431\u0435\u0446 ${t.columnName} \u0432 \u043F\u043E\u0440\u044F\u0434\u043A\u0435 \u0443\u0431\u044B\u0432\u0430\u043D\u0438\u044F`,expand:"\u0420\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C",resizerDescription:"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0443 Enter \u0434\u043B\u044F \u043D\u0430\u0447\u0430\u043B\u0430 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u0440\u0430\u0437\u043C\u0435\u0440\u043E\u0432",select:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C",selectAll:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0432\u0441\u0435",sortable:"\u0441\u043E\u0440\u0442\u0438\u0440\u0443\u0435\u043C\u044B\u0439 \u0441\u0442\u043E\u043B\u0431\u0435\u0446"},"sk-SK":{ascending:"vzostupne",ascendingSort:t=>`zoraden\xE9 zostupne pod\u013Ea st\u013Apca ${t.columnName}`,collapse:"Zbali\u0165",columnSize:t=>`Po\u010Det pixelov: ${t.value}`,descending:"zostupne",descendingSort:t=>`zoraden\xE9 zostupne pod\u013Ea st\u013Apca ${t.columnName}`,expand:"Rozbali\u0165",resizerDescription:"Stla\u010Den\xEDm kl\xE1vesu Enter za\u010Dnete zmenu ve\u013Ekosti",select:"Vybra\u0165",selectAll:"Vybra\u0165 v\u0161etko",sortable:"zoradite\u013En\xFD st\u013Apec"},"sl-SI":{ascending:"nara\u0161\u010Dajo\u010De",ascendingSort:t=>`razvr\u0161\u010Deno po stolpcu ${t.columnName} v nara\u0161\u010Dajo\u010Dem vrstnem redu`,collapse:"Strni",columnSize:t=>`${t.value} slikovnih pik`,descending:"padajo\u010De",descendingSort:t=>`razvr\u0161\u010Deno po stolpcu ${t.columnName} v padajo\u010Dem vrstnem redu`,expand:"Raz\u0161iri",resizerDescription:"Pritisnite tipko Enter da za\u010Dnete spreminjati velikost",select:"Izberite",selectAll:"Izberite vse",sortable:"razvrstljivi stolpec"},"sr-SP":{ascending:"rastu\u0107i",ascendingSort:t=>`sortirano po kolonama ${t.columnName} rastu\u0107im redosledom`,collapse:"Skupi",columnSize:t=>`${t.value} piksela`,descending:"padaju\u0107i",descendingSort:t=>`sortirano po kolonama ${t.columnName} padaju\u0107im redosledom`,expand:"Pro\u0161iri",resizerDescription:"Pritisnite Enter da biste zapo\u010Deli promenu veli\u010Dine",select:"Izaberite",selectAll:"Izaberite sve",sortable:"kolona koja se mo\u017Ee sortirati"},"sv-SE":{ascending:"stigande",ascendingSort:t=>`sorterat p\xE5 kolumn ${t.columnName} i stigande ordning`,collapse:"D\xF6lj",columnSize:t=>`${t.value} pixlar`,descending:"fallande",descendingSort:t=>`sorterat p\xE5 kolumn ${t.columnName} i fallande ordning`,expand:"Expandera",resizerDescription:"Tryck p\xE5 Retur f\xF6r att b\xF6rja \xE4ndra storlek",select:"Markera",selectAll:"Markera allt",sortable:"sorterbar kolumn"},"tr-TR":{ascending:"artan s\u0131rada",ascendingSort:t=>`${t.columnName} s\xFCtuna g\xF6re artan d\xFCzende s\u0131rala`,collapse:"Daralt",columnSize:t=>`${t.value} piksel`,descending:"azalan s\u0131rada",descendingSort:t=>`${t.columnName} s\xFCtuna g\xF6re azalan d\xFCzende s\u0131rala`,expand:"Geni\u015Flet",resizerDescription:"Yeniden boyutland\u0131rmak i\xE7in Enter'a bas\u0131n",select:"Se\xE7",selectAll:"T\xFCm\xFCn\xFC Se\xE7",sortable:"S\u0131ralanabilir s\xFCtun"},"uk-UA":{ascending:"\u0432\u0438\u0441\u0445\u0456\u0434\u043D\u0438\u0439",ascendingSort:t=>`\u0432\u0456\u0434\u0441\u043E\u0440\u0442\u043E\u0432\u0430\u043D\u043E \u0437\u0430 \u0441\u0442\u043E\u0432\u043F\u0446\u0435\u043C ${t.columnName} \u0443 \u0432\u0438\u0441\u0445\u0456\u0434\u043D\u043E\u043C\u0443 \u043F\u043E\u0440\u044F\u0434\u043A\u0443`,collapse:"\u0417\u0433\u043E\u0440\u043D\u0443\u0442\u0438",columnSize:t=>`${t.value} \u043F\u0456\u043A\u0441.`,descending:"\u043D\u0438\u0437\u0445\u0456\u0434\u043D\u0438\u0439",descendingSort:t=>`\u0432\u0456\u0434\u0441\u043E\u0440\u0442\u043E\u0432\u0430\u043D\u043E \u0437\u0430 \u0441\u0442\u043E\u0432\u043F\u0446\u0435\u043C ${t.columnName} \u0443 \u043D\u0438\u0437\u0445\u0456\u0434\u043D\u043E\u043C\u0443 \u043F\u043E\u0440\u044F\u0434\u043A\u0443`,expand:"\u0420\u043E\u0437\u0433\u043E\u0440\u043D\u0443\u0442\u0438",resizerDescription:"\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C Enter, \u0449\u043E\u0431 \u043F\u043E\u0447\u0430\u0442\u0438 \u0437\u043C\u0456\u043D\u0443 \u0440\u043E\u0437\u043C\u0456\u0440\u0443",select:"\u0412\u0438\u0431\u0440\u0430\u0442\u0438",selectAll:"\u0412\u0438\u0431\u0440\u0430\u0442\u0438 \u0432\u0441\u0435",sortable:"\u0441\u043E\u0440\u0442\u0443\u0432\u0430\u043B\u044C\u043D\u0438\u0439 \u0441\u0442\u043E\u0432\u043F\u0435\u0446\u044C"},"zh-CN":{ascending:"\u5347\u5E8F",ascendingSort:t=>`\u6309\u5217 ${t.columnName} \u5347\u5E8F\u6392\u5E8F`,collapse:"\u6298\u53E0",columnSize:t=>`${t.value} \u50CF\u7D20`,descending:"\u964D\u5E8F",descendingSort:t=>`\u6309\u5217 ${t.columnName} \u964D\u5E8F\u6392\u5E8F`,expand:"\u6269\u5C55",resizerDescription:"\u6309 Enter \u5F00\u59CB\u8C03\u6574\u5927\u5C0F\u3002",select:"\u9009\u62E9",selectAll:"\u5168\u9009",sortable:"\u53EF\u6392\u5E8F\u7684\u5217"},"zh-TW":{ascending:"\u905E\u589E",ascendingSort:t=>`\u5DF2\u4F9D\u64DA\u300C${t.columnName}\u300D\u6B04\u905E\u589E\u6392\u5E8F`,collapse:"\u6536\u5408",columnSize:t=>`${t.value} \u50CF\u7D20`,descending:"\u905E\u6E1B",descendingSort:t=>`\u5DF2\u4F9D\u64DA\u300C${t.columnName}\u300D\u6B04\u905E\u6E1B\u6392\u5E8F`,expand:"\u5C55\u958B",resizerDescription:"\u6309 Enter \u9375\u4EE5\u958B\u59CB\u8ABF\u6574\u5927\u5C0F",select:"\u9078\u53D6",selectAll:"\u5168\u9078",sortable:"\u53EF\u6392\u5E8F\u7684\u6B04"}};var Ye=class extends he{isCell(e){return e.type==="cell"||e.type==="rowheader"||e.type==="column"}getKeyBelow(e,l){let o=this.collection.getItem(e);if(!o)return null;if(o.type==="column"){let r=c$6(b$a(o,this.collection));if(r)return r.key;let n=this.getFirstKey();return n==null||!this.collection.getItem(n)?null:super.getKeyForItemInRowByIndex(n,o.index)}return super.getKeyBelow(e,l)}getKeyAbove(e,l){let o=this.collection.getItem(e);if(!o)return null;if(o.type==="column"){let i=o.parentKey!=null?this.collection.getItem(o.parentKey):null;return i&&i.type==="column"?i.key:null}let r=super.getKeyAbove(e,l),n=r!=null?this.collection.getItem(r):null;return n&&n.type!=="headerrow"?r:this.isCell(o)?this.collection.columns[o.index].key:this.collection.columns[0].key}findNextColumnKey(e){let l=this.findNextKey(e.key,r=>r.type==="column");if(l!=null)return l;let o=this.collection.headerRows[e.level];for(let r of b$a(o,this.collection))if(r.type==="column")return r.key;return null}findPreviousColumnKey(e){let l=this.findPreviousKey(e.key,n=>n.type==="column");if(l!=null)return l;let o=this.collection.headerRows[e.level],r=[...b$a(o,this.collection)];for(let n=r.length-1;n>=0;n--){let i=r[n];if(i.type==="column")return i.key}return null}getKeyRightOf(e){let l=this.collection.getItem(e);return l?l.type==="column"?this.direction==="rtl"?this.findPreviousColumnKey(l):this.findNextColumnKey(l):super.getKeyRightOf(e):null}getKeyLeftOf(e){let l=this.collection.getItem(e);return l?l.type==="column"?this.direction==="rtl"?this.findNextColumnKey(l):this.findPreviousColumnKey(l):super.getKeyLeftOf(e):null}getKeyForSearch(e,l){if(!this.collator)return null;let o=this.collection,r=l??this.getFirstKey();if(r==null)return null;let n=o.getItem(r);n?.type==="cell"&&(r=n.parentKey??null);let i=false;for(;r!=null;){let d=o.getItem(r);if(!d)return null;if(d.textValue){let a=d.textValue.slice(0,e.length);if(this.collator.compare(a,e)===0)return d.key}for(let a of b$a(d,this.collection)){let u=o.columns[a.index];if(o.rowHeaderColumnKeys.has(u.key)&&a.textValue){let c=a.textValue.slice(0,e.length);if(this.collator.compare(c,e)===0)return (l!=null?o.getItem(l):n)?.type==="cell"?a.key:d.key}}r=this.getKeyBelow(r),r==null&&!i&&(r=this.getFirstKey(),i=true);}return null}};function xt(t,e,l){let{keyboardDelegate:o,isVirtualized:r,layoutDelegate:n,layout:i}=t,d=a$g({usage:"search",sensitivity:"base"}),{direction:a}=b$2(),u=e.selectionManager.disabledBehavior,c=useMemo(()=>o||new Ye({collection:e.collection,disabledKeys:e.disabledKeys,disabledBehavior:u,ref:l,direction:a,collator:d,layoutDelegate:n,layout:i}),[o,e.collection,e.disabledKeys,u,l,a,d,n,i]),s=c$3(t.id);Ze.set(e,s);let{gridProps:b}=Il({...t,id:s,keyboardDelegate:c},e,l);r&&(b["aria-rowcount"]=e.collection.size+e.collection.headerRows.length),e.treeColumn!=null&&(b.role="treegrid");let{column:f,direction:p}=e.sortDescriptor||{},m=b$7(J,"@react-aria/table"),T=useMemo(()=>{let w=e.collection.columns.find(S=>S.key===f)?.textValue??"";return p&&f?m.format(`${p}Sort`,{columnName:w}):void 0},[p,f,e.collection.columns]),g=d$2(T,l);return c$4(()=>{T&&a$h(T,"assertive",500);},[T]),{gridProps:c$2(b,g,{"aria-describedby":[g["aria-describedby"],b["aria-describedby"]].filter(Boolean).join(" ")})}}function Xe(t,e,l){let{node:o,isVirtualized:r,focusMode:n,allowsArrowNavigation:i,shouldSelectOnPressUp:d,onAction:a}=t,{direction:u}=b$2(),{keyboardDelegate:c,actions:{onCellAction:s},keyboardNavigationBehavior:b}=ge.get(e),f=n??(b==="tab"?"cell":"child"),p=useRef(null),m$1=useRef(null),T=()=>{if(l.current){let h=d$6(l.current);if(f==="child"){let R=i$2(a$c(l.current));if(m(l.current)&&l.current!==R)return;let x=a$c(l.current);if(!R||R===x.body||R===l.current){let j=m$1.current;if(j&&p.current===o.key&&h$3(l.current,j)){i$1(j);return}}let N=e.selectionManager.childFocusStrategy==="last"?kt(h):h.firstChild();if(N){i$1(N);return}}(p.current!=null&&o.key!==p.current||!m(l.current))&&i$1(l.current);}},{itemProps:g,isPressed:w}=d$4({selectionManager:e.selectionManager,key:o.key,ref:l,isVirtualized:r,focus:T,shouldSelectOnPressUp:d,onAction:s?()=>s(o.key):a,isDisabled:e.collection.size===0}),S=h=>{let R=i$2(a$c(l.current));if(!h$3(h.currentTarget,j$2(h))||e.isKeyboardNavigationDisabled||!l.current||!R)return;let x=d$6(l.current);switch(x.currentNode=R,h.key){case "ArrowLeft":{let v=u==="rtl"?x.nextNode():x.previousNode();if(f==="child"&&v===l.current&&(v=null),h.preventDefault(),h.stopPropagation(),v)i$1(v),f$3(v,{containingElement:b$d(l.current)});else {if(c.getKeyLeftOf?.(o.key)!==o.key){l.current.parentElement?.dispatchEvent(new KeyboardEvent(h.nativeEvent.type,h.nativeEvent));break}f==="cell"&&u==="rtl"?(i$1(l.current),f$3(l.current,{containingElement:b$d(l.current)})):(x.currentNode=l.current,v=u==="rtl"?x.firstChild():kt(x),v&&(i$1(v),f$3(v,{containingElement:b$d(l.current)})));}break}case "ArrowRight":{let v=u==="rtl"?x.previousNode():x.nextNode();if(f==="child"&&v===l.current&&(v=null),h.preventDefault(),h.stopPropagation(),v)i$1(v),f$3(v,{containingElement:b$d(l.current)});else {if(c.getKeyRightOf?.(o.key)!==o.key){l.current.parentElement?.dispatchEvent(new KeyboardEvent(h.nativeEvent.type,h.nativeEvent));break}f==="cell"&&u==="ltr"?(i$1(l.current),f$3(l.current,{containingElement:b$d(l.current)})):(x.currentNode=l.current,v=u==="rtl"?kt(x):x.firstChild(),v&&(i$1(v),f$3(v,{containingElement:b$d(l.current)})));}break}case "ArrowUp":case "ArrowDown":!h.altKey&&h$3(l.current,j$2(h))&&(h.stopPropagation(),h.preventDefault(),l.current.parentElement?.dispatchEvent(new KeyboardEvent(h.nativeEvent.type,h.nativeEvent)));break}},C=h=>{let R=i$2(a$c(l.current));if(!(!h$3(h.currentTarget,j$2(h))||e.isKeyboardNavigationDisabled||!l.current||!R)){if(b==="tab"&&j$2(h)!==l.current&&h.key!=="Tab"){h.stopPropagation();return}switch(h.key){case "Tab":if(b==="tab"){let x=d$6(l.current,{tabbable:true});x.currentNode=R,(h.shiftKey?x.previousNode():x.nextNode())&&h.stopPropagation();}}}},D=h=>{if(p.current=o.key,j$2(h)!==l.current){let R=j$2(h);l.current&&h$3(l.current,R)&&(m$1.current=R),b$c()||e.selectionManager.setFocusedKey(o.key);return}f==="child"&&h.relatedTarget&&h$3(l.current,h.relatedTarget)||requestAnimationFrame(()=>{f==="child"&&i$2(a$c(l.current))===l.current&&T();});},P=c$2(g,{role:"gridcell",onKeyDownCapture:b!=="tab"||i?S:void 0,onKeyDown:b==="tab"?C:void 0,"aria-colspan":o.colSpan,"aria-colindex":o.colIndex!=null?o.colIndex+1:void 0,colSpan:r?void 0:o.colSpan,onFocus:D,...f==="child"&&b==="tab"?{tabIndex:-1}:{}});return r&&(P["aria-colindex"]=(o.colIndex??o.index)+1),d&&P.tabIndex!=null&&P.onPointerDown==null&&(P.onPointerDown=h=>{let R=h.currentTarget,x=R.getAttribute("tabindex");R.removeAttribute("tabindex"),requestAnimationFrame(()=>{x!=null&&R.setAttribute("tabindex",x);});}),{gridCellProps:P,isPressed:w}}function kt(t){let e=null,l=null;do l=t.lastChild(),l&&(e=l);while(l);return e}function vt(t,e,l){let{node:o}=t,r=o.props.allowsSorting,{gridCellProps:n}=Xe({focusMode:"child",...t},e,l),i=o.props.isSelectionCell&&e.selectionManager.selectionMode==="single",{pressProps:d,isPressed:a}=d$3({isDisabled:!r||i,onPress(){e.sort(o.key);},ref:l}),{focusableProps:u}=c$5({},l),c,s=e.sortDescriptor?.column===o.key,b=e.sortDescriptor?.direction;o.props.allowsSorting&&!l$2()&&(c=s?b:"none");let f=b$7(J,"@react-aria/table"),p;r&&(p=`${f.format("sortable")}`,s&&b&&l$2()&&(p=`${p}, ${f.format(b)}`));let m=d$2(p,l),T=e.collection.size===0;return useEffect(()=>{T&&e.selectionManager.focusedKey===o.key&&e.selectionManager.setFocusedKey(null);},[T,e.selectionManager,o.key]),{columnHeaderProps:{...c$2(u,n,d,m,T?{tabIndex:-1}:null),role:"columnheader",id:_e(e,o.key),"aria-colspan":o.colSpan&&o.colSpan>1?o.colSpan:void 0,"aria-sort":c},isPressed:a}}function Ll(t,e,l){let{node:o,isVirtualized:r,shouldSelectOnPressUp:n,onAction:i}=t,{actions:d,shouldSelectOnPressUp:a}=ge.get(e),u=d.onRowAction?()=>d.onRowAction?.(o.key):i,{itemProps:c,...s}=d$4({selectionManager:e.selectionManager,key:o.key,ref:l,isVirtualized:r,shouldSelectOnPressUp:a||n,onAction:u||o?.props?.onAction?a$n(o?.props?.onAction,u):void 0,isDisabled:e.collection.size===0}),b=e.selectionManager.isSelected(o.key),f={role:"row","aria-selected":e.selectionManager.selectionMode!=="none"?b:void 0,"aria-disabled":s.isDisabled||void 0,...c};return r&&(f["aria-rowindex"]=o.index+1),{rowProps:f,...s}}var Fl={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function zt(t,e,l){let{node:o,isVirtualized:r}=t,{rowProps:n,...i}=Ll(t,e,l),{direction:d}=b$2();r&&e.treeColumn==null?n["aria-rowindex"]=o.index+1+e.collection.headerRows.length:delete n["aria-rowindex"];let a=e.treeColumn!=null&&(e.expandedKeys==="all"||e.expandedKeys.has(o.key)),u=b$7(J,"@react-aria/table"),c=a$k({"aria-label":a?u.format("collapse"):u.format("expand"),"aria-labelledby":De(e,o.key)}),s={},b={};if(e.treeColumn!=null){let m=e.collection.getItem(o.key);if(m!=null){let T=Hl(e.collection,o),g=m.props?.hasChildRows||m.props?.UNSTABLE_childItems||T?.type!=="cell",w=e.collection.getItem(o.parentKey),S=w.type==="tablebody"||w.type==="body",C=Hl(e.collection,w);for(;C&&C.type!=="item"&&C.prevKey!=null;)C=e.collection.getItem(C.prevKey);s={onKeyDown:D=>{D.key===Fl.expand[d]&&e.selectionManager.focusedKey===m.key&&g&&e.expandedKeys!=="all"&&!e.expandedKeys.has(m.key)?(e.toggleKey(m.key),D.stopPropagation()):D.key===Fl.collapse[d]&&e.selectionManager.focusedKey===m.key&&(e.expandedKeys!=="all"?g&&e.expandedKeys.has(m.key)?(e.toggleKey(m.key),D.stopPropagation()):!e.expandedKeys.has(m.key)&&m.parentKey!=null&&m.level>0&&(e.selectionManager.setFocusedKey(m.parentKey),D.stopPropagation()):e.expandedKeys==="all"&&(e.toggleKey(m.key),D.stopPropagation()));},"aria-expanded":g?e.expandedKeys==="all"||e.expandedKeys.has(o.key):void 0,"aria-level":m.level+1,"aria-posinset":m.index-(S?0:e.collection.columnCount)+1,"aria-setsize":C.index-(S?0:e.collection.columnCount)+1},b={isDisabled:i.isDisabled,onPress:()=>{i.isDisabled||(e.toggleKey(o.key),e.selectionManager.setFocused(true),e.selectionManager.setFocusedKey(o.key));},excludeFromTabOrder:true,preventFocusOnPress:true,"data-react-aria-prevent-focus":true,...c};}}let f=q(o.props),p=i.hasAction?f:{};return {rowProps:{...c$2(n,s,p),"aria-labelledby":De(e,o.key)},expandButtonProps:b,...i}}function Hl(t,e){return "lastChildKey"in e?e.lastChildKey!=null?t.getItem(e.lastChildKey):null:Array.from(e.childNodes).findLast(l=>l.parentKey===e.key)}function Rt(t,e,l){let{node:o,isVirtualized:r}=t,n={role:"row"};return r&&e.treeColumn==null&&(n["aria-rowindex"]=o.index+1),{rowProps:n}}function Kt(t,e,l){let{gridCellProps:o,isPressed:r}=Xe(t,e,l),n=t.node.column?.key;return n!=null&&e.collection.rowHeaderColumnKeys.has(n)&&(o.role="rowheader",o.id=wt(e,t.node.parentKey,n)),{gridCellProps:o,isPressed:r}}function Dt(t,e){let{key:l}=t,{checkboxProps:o}=a$l(t,e);return {checkboxProps:{...o,"aria-labelledby":`${o.id} ${De(e,l)}`}}}function Pt(t){let{isEmpty:e,isSelectAll:l,selectionMode:o}=t.selectionManager;return {checkboxProps:{"aria-label":b$7(J,"@react-aria/table").format(o==="single"?"select":"selectAll"),isSelected:l,isDisabled:o!=="multiple"||t.collection.size===0||t.collection.rows.length===1&&t.collection.rows[0].type==="loader",isIndeterminate:!e&&!l,onChange:()=>t.selectionManager.toggleSelectAll()}}}function Mt(t,e,l){let{column:o,triggerRef:r,isDisabled:n,onResizeStart:i,onResize:d,onResizeEnd:a,"aria-label":u$1}=t,c=b$7(J,"@react-aria/table"),s=c$3(),b=e.resizingColumn===o.key,f=useRef(b),p=useRef(null),m=useRef(false),T=e.tableState.isKeyboardNavigationDisabled,[g,w]=useState(false),{direction:S}=b$2(),C=useCallback(z=>{f.current||(p.current=e.updateResizedColumns(z.key,e.getColumnWidth(z.key)),e.startResize(z.key),e.tableState.setKeyboardNavigationDisabled(true),i?.(p.current)),f.current=true;},[e,i]),D=useCallback((z,K)=>{let G=e.updateResizedColumns(z.key,K);d?.(G),p.current=G;},[e,d]),P=useCallback(z=>{f.current&&(p.current==null&&(p.current=e.updateResizedColumns(z.key,e.getColumnWidth(z.key))),e.endResize(),e.tableState.setKeyboardNavigationDisabled(false),a?.(p.current),f.current=false,r?.current&&!m.current&&i$1(r.current)),p.current=null;},[e,r,a]),h=()=>{if(T){P(o);return}return false},{keyboardProps:R}=j$1({shortcuts:{Escape:()=>h(),Enter:()=>{T?P(o):C(o);}," ":()=>h(),Tab:()=>h()}}),x=useRef(0),{moveProps:v}=a$j({onMoveStart(z){x.current=e.getColumnWidth(o.key),z.pointerType==="mouse"&&w(true),C(o);},onMove(z){let{deltaX:K,deltaY:G,pointerType:lt}=z;S==="rtl"&&(K*=-1),lt==="keyboard"&&(G!==0&&K===0&&(K=G*-1),K*=10),K!==0&&(x.current+=K,D(o,x.current));},onMoveEnd(z){let{pointerType:K}=z;x.current=0,w(false),(K==="mouse"||K==="touch"&&m.current)&&P(o);}}),N=useCallback(z=>{T&&v.onKeyDown?.(z);},[T,v]),j=Math.floor(e.getColumnMinWidth(o.key)),U=Math.floor(e.getColumnMaxWidth(o.key));U===1/0&&(U=Number.MAX_SAFE_INTEGER);let Z=Math.floor(e.getColumnWidth(o.key)),_=f$1();_==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(_="touch");let we=r?.current==null&&(_==="keyboard"||_==="virtual")&&!b?c.format("resizerDescription"):void 0,te=d$2(we),oe={"aria-label":u$1,"aria-orientation":"horizontal","aria-labelledby":`${s} ${_e(e.tableState,o.key)}`,"aria-valuetext":c.format("columnSize",{value:Z}),type:"range",min:j,max:U,value:Z,...te},re=useCallback(()=>{l.current&&i$1(l.current);},[l]),ne=e.resizingColumn,me=useRef(null),Ee=u(C);useEffect(()=>{if(me.current!==ne&&ne!=null&&ne===o.key){m.current=i$2(a$c(l.current))===l.current,Ee(o);let z=setTimeout(()=>re(),0),K=setTimeout(re,400);return ()=>{clearTimeout(z),clearTimeout(K);}}me.current=ne;},[ne,o,re,l]);let et=z=>{let K=e.getColumnWidth(o.key),G=parseFloat(j$2(z).value);G>K?G=K+10:G=K-10,D(o,G);},{pressProps:xe}=d$3({preventFocusOnPress:true,onPressStart:z=>{if(!(z.ctrlKey||z.altKey||z.metaKey||z.shiftKey||z.pointerType==="keyboard")){if(z.pointerType==="virtual"&&e.resizingColumn!=null){P(o);return}re(),z.pointerType!=="virtual"&&C(o);}},onPress:z=>{(z.pointerType==="touch"&&m.current||z.pointerType==="mouse")&&e.resizingColumn!=null&&P(o);}}),{visuallyHiddenProps:tt}=a$d();return {resizerProps:c$2(R,{...v,onKeyDown:N},xe,{style:{touchAction:"none"}}),inputProps:c$2(tt,{id:s,onBlur:()=>{P(o);},onChange:et,disabled:n},oe),isResizing:b,isMouseResizing:g}}function Ol(){return {rowGroupProps:{role:"rowgroup"}}}function qe(){return Ol()}var Nt=class extends g$1{headerRows=[];columns=[];rows=[];rowHeaderColumnKeys=new Set;head=new Je(-1);columnsDirty=true;expandedKeys=new Set;withExpandedKeys(e){let l=this.clone();return l.expandedKeys=e,l.frozen=this.frozen,l.rows=Array.from(l.getRows()),l}addNode(e){super.addNode(e),this.columnsDirty||=e.type==="column",e.type==="tableheader"&&(this.head=e);}getRows(){let e=[];for(let l of this)(l.type==="tablebody"||l.type==="tablefooter")&&e.push(...this.getChildren(l.key));return e}get body(){for(let e of this)if(e.type==="tablebody")return e;return new Qe(-2)}commit(e,l,o=false){this.updateColumns(o),this.firstKey=e,this.lastKey=l,this.rows=[];for(let r of this.getRows()){let n=r.lastChildKey;if(n!=null){let i=this.getItem(n);for(;i&&i.type!=="cell";)i=i.prevKey!=null?this.getItem(i.prevKey):null;if(i){let d=(i.colIndex??i.index)+(i.colSpan??1);if(d!==this.columns.length&&!o)throw new Error(`Cell count must match column count. Found ${d} cells and ${this.columns.length} columns.`)}}this.rows.push(r);}super.commit(e,l,o);}updateColumns(e){if(!this.columnsDirty)return;this.rowHeaderColumnKeys=new Set,this.columns=[];let l=new Map,o=r=>{r.type==="column"&&(l.set(r.key,r),r.hasChildNodes||(r.index=this.columns.length,this.columns.push(r),r.props.isRowHeader&&this.rowHeaderColumnKeys.add(r.key)));for(let n of this.getChildren(r.key))o(n);};for(let r of this.getChildren(this.head.key))o(r);if(this.headerRows=je(l,this.columns),this.columnsDirty=false,this.rowHeaderColumnKeys.size===0&&this.columns.length>0&&!e)throw new Error("A table must have at least one Column with the isRowHeader prop set to true")}get columnCount(){return this.columns.length}*[Symbol.iterator](){let e=this.firstKey;for(;e!=null;){let l=this.getItem(e);l&&(yield l),e=l?.nextKey??null;}}getFirstKey(){for(let e of this)if(e.type==="tablebody")return e.firstChildKey??null;return null}getLastKey(){let e=this.lastKey;if(e==null)return null;let l=this.getItem(e);for(;l?.lastChildKey!=null&&(l.type!=="item"||this.expandedKeys.has(l.key));)l=this.getItem(l.lastChildKey);return l?.key}getKeyAfter(e){let l=this.getItem(e);if(l?.type==="column")return l.nextKey??null;if(!l)return null;if(l.type==="item"&&l.firstChildKey!=null&&this.expandedKeys.has(l.key)){let o=this.getItem(l.firstChildKey);for(;o;){if(o.type==="item")return o.key;o=o.nextKey!=null?this.getItem(o.nextKey):null;}}return super.getKeyAfter(e)}getKeyBefore(e){let l=this.getItem(e);if(l?.type==="column")return l.prevKey??null;if(!l)return null;let o=null;if(l.prevKey!=null){for(l=this.getItem(l.prevKey);l&&(l.type!=="item"||this.expandedKeys.has(l.key))&&l.lastChildKey!=null;)l=this.getItem(l.lastChildKey);o=l?.key??null;}return o==null&&(o=l.parentKey),o!=null&&this.getItem(o)?.type==="tableheader"?null:o}getChildren(e){let l=this.getItem(e);if(!l){for(let r of this.headerRows)if(r.key===e)return r.childNodes}let o=this;return l?.type==="tablebody"||l?.type==="tablefooter"?{*[Symbol.iterator](){let r=l.firstChildKey,n=r!=null?o.getItem(r):null;for(;n;){yield n;let i=o.getKeyAfter(n.key);if(n=i!=null?o.getItem(i):null,n&&n.parentKey===l.parentKey)break}}}:{*[Symbol.iterator](){let r=o.getItem(e),n=r?.firstChildKey!=null?o.getItem(r.firstChildKey):null;for(;n&&(yield n,n=n.nextKey!=null?o.getItem(n.nextKey):null,!(r?.type==="item"&&n?.type!=="cell")););}}}clone(){let e=super.clone();return e.headerRows=this.headerRows,e.columns=this.columns,e.rows=this.rows,e.rowHeaderColumnKeys=this.rowHeaderColumnKeys,e.head=this.head,e}getTextValue(e){let l=this.getItem(e);if(!l)return "";if(l.textValue)return l.textValue;let o=this.rowHeaderColumnKeys,r=[];for(let n of this.getChildren(e)){let i=this.columns[n.index];if(o.has(i.key)&&n.textValue&&r.push(n.textValue),r.length===o.size)break}return r.join(" ")}},Ft=createContext(null);forwardRef(function(e$1,l){let o=a(l),r=useRef(null),n=useRef(null),[i,d]=useState(0);a$1(()=>{let u=r.current;for(;u&&u!==o.current&&!a$2(u);)u=u.parentElement;n.current=u;},[o]),e({ref:n,box:"border-box",onResize(){d(n.current?.clientWidth??0);}}),a$1(()=>{d(n.current?.clientWidth??0);},[]);let a$4=useMemo(()=>({tableRef:r,scrollRef:n,tableWidth:i,useTableColumnResizeState:ht,onResizeStart:e$1.onResizeStart,onResize:e$1.onResize,onResizeEnd:e$1.onResizeEnd}),[r,i,e$1.onResizeStart,e$1.onResize,e$1.onResizeEnd]);return jsx(h.div,{render:e$1.render,...a$3(e$1,{global:true}),ref:o,className:e$1.className||"react-aria-ResizableTableContainer",style:e$1.style,onScroll:e$1.onScroll,children:jsx(Ft.Provider,{value:a$4,children:e$1.children})})});var no=createContext(null),Q=createContext(null),Ht=createContext(null),xa=forwardRef(function(e,l$1){[e,l$1]=e$1(e,l$1,no);let o=a$4(e),{selectionBehavior:r,selectionMode:n,disallowEmptySelection:i$1}=o,d=!!e.dragAndDropHooks?.useDraggableCollectionState,a=useMemo(()=>({selectionBehavior:n==="none"?null:r,selectionMode:n,disallowEmptySelection:i$1,allowsDragging:d}),[r,n,i$1,d]),u=jsx(so.Provider,{value:a,children:jsx(l,{...e})});return jsx(i,{content:u,createCollection:()=>new Nt,children:c=>jsx(ao,{props:e,forwardedRef:l$1,selectionState:o,collection:c})})}),io=forwardRef(function(e,l){let{isVirtualized:o}=useContext(p);return o?jsx(h.div,{...e,ref:l}):jsx(h.table,{...e,ref:l})}),Vl={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function ao({props:t,forwardedRef:e,selectionState:l,collection:o}){[t,e]=e$1(t,e,b);let{shouldUseVirtualFocus:r,disallowTypeAhead:n,filter:i,...d}=t,a$1=useContext(Ft);e=a(useMemo(()=>b$1(e,a$1?.tableRef),[e,a$1?.tableRef]));let[u,c$3]=a$5(t.expandedKeys?new Set(t.expandedKeys):void 0,t.defaultExpandedKeys?new Set(t.defaultExpandedKeys):new Set,t.onExpandedChange);o=useMemo(()=>o.withExpandedKeys(u),[o,u]);let s=gt({...d,collection:o,children:void 0,UNSAFE_selectionState:l,expandedKeys:u,onExpandedChange:c$3}),b$6=Tt(s,i),{isVirtualized:f,layoutDelegate:p$1,dropTargetDelegate:m,CollectionRoot:T}=useContext(p),{dragAndDropHooks:g$1}=t,{gridProps:w}=xt({...d,layoutDelegate:p$1,isVirtualized:f},b$6,e),S=b$6.selectionManager,C=!!g$1?.useDraggableCollectionState,D=!!g$1?.useDroppableCollectionState,P=useRef(C),h=useRef(D);useEffect(()=>{process.env.NODE_ENV!=="production"&&(P.current!==C&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),h.current!==D&&console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."));},[C,D]);let R,x,v,N=false,j=null,U=useRef(null),{direction:Z}=b$2(),[_]=useState(()=>new a$6);if(C&&g$1){R=g$1.useDraggableCollectionState({collection:b$6.collection,selectionManager:S,preview:g$1.renderDragPreview?U:void 0}),g$1.useDraggableCollection({},R,e);let xe=g$1.DragPreview;j=g$1.renderDragPreview?jsx(xe,{ref:U,children:g$1.renderDragPreview}):null;}if(D&&g$1){x=g$1.useDroppableCollectionState({collection:b$6.collection,selectionManager:S});let xe=new b$3({collection:b$6.collection,disabledKeys:S.disabledKeys,disabledBehavior:S.disabledBehavior,ref:e,layoutDelegate:p$1}),tt=g$1.dropTargetDelegate||m||new g$1.ListDropTargetDelegate(o.rows,e);_.setup(tt,s,Z),v=g$1.useDroppableCollection({keyboardDelegate:xe,dropTargetDelegate:_,onDropActivate:z=>{if(z.target.type==="item"){let K=z.target.key,G=s.collection.getItem(K),lt=u.has(K);G&&G.hasChildNodes&&(!lt||g$1?.isVirtualDragging?.())&&s.toggleKey(K);}},onKeyDown:z=>{let K=x?.target;if(K&&K.type==="item"&&K.dropPosition==="on"){let G=s.collection.getItem(K.key);(z.key===Vl.expand[Z]&&G?.hasChildNodes&&!s.expandedKeys.has(K.key)||z.key===Vl.collapse[Z]&&G?.hasChildNodes&&s.expandedKeys.has(K.key))&&s.toggleKey(K.key);}}},x,e),N=x.isDropTarget({type:"root"});}let{focusProps:we,isFocused:te,isFocusVisible:oe}=a$7(),re=c({...t,children:void 0,defaultClassName:"react-aria-Table",values:{isDropTarget:N,isFocused:te,isFocusVisible:oe,state:b$6}}),ne=!!(C&&!R?.isDisabled),me=re.style,Ee=null;a$1&&(Ee=a$1.useTableColumnResizeState({tableWidth:a$1.tableWidth},b$6),f||(me={...me,tableLayout:"fixed",width:"min-content"}));let et=a$3(t,{global:true});return jsxs(b$4,{values:[[Q,b$6],[Ht,Ee],[a$8,{dragAndDropHooks:g$1,dragState:R,dropState:x}],[b$5,{render:fo}],[b,null],[c$1,null]],children:[jsx(a$9,{children:jsx(io,{...c$2(et,re,w,we,v?.collectionProps),style:me,ref:e,slot:t.slot||void 0,onScroll:t.onScroll,"data-allows-dragging":ne||void 0,"data-drop-target":N||void 0,"data-focused":te||void 0,"data-focus-visible":oe||void 0,children:jsx(g,{children:jsx(T,{collection:b$6.collection,scrollRef:a$1?.scrollRef??e,persistedKeys:e$2(S,g$1,x)})})})}),j]})}var so=createContext(null);var Je=class extends a$i{static type="tableheader"},co=forwardRef(function(e,l){let{isVirtualized:o}=useContext(p);return o?jsx(h.div,{...e,ref:l}):jsx(h.thead,{...e,ref:l})}),ka=k(Je,(t,e)=>{let l=useContext(Q).collection,o=h$1({items:l.headerRows,children:useCallback(a=>{if(a.type==="headerrow")return jsx(mo,{item:a});throw new Error("Unsupported node type in TableHeader: "+a.type)},[])}),{rowGroupProps:r}=qe(),{hoverProps:n,isHovered:i}=a$a({onHoverStart:t.onHoverStart,onHoverChange:t.onHoverChange,onHoverEnd:t.onHoverEnd}),d=c({...t,children:void 0,defaultClassName:"react-aria-TableHeader",values:{isHovered:i}});return jsx(co,{...c$2(a$3(t,{global:true}),r,n),...d,ref:e,"data-hovered":i||void 0,children:o})},t=>jsx(l,{dependencies:t.dependencies,items:t.columns,children:t.children})),uo=forwardRef(function(e,l){let{isVirtualized:o}=useContext(p);return o?jsx("div",{...e,ref:l}):jsx("tr",{...e,ref:l})});function mo({item:t}){let e=useRef(null),l=useContext(Q),{isVirtualized:o,CollectionBranch:r}=useContext(p),{rowProps:n}=Rt({node:t,isVirtualized:o},l),{checkboxProps:i}=Pt(l);return jsx(uo,{...n,ref:e,children:jsx(b$4,{values:[[a$b,{slots:{selection:i}}],[b$6,{slots:{selection:i}}]],children:jsx(r,{collection:l.collection,parent:t})})})}var Et=class extends a$i{static type="column"},po=forwardRef(function(e,l){let{isVirtualized:o}=useContext(p);return o?jsx(h.div,{...e,ref:l}):jsx(h.th,{...e,ref:l})}),va=j(Et,(t,e,l)=>{let o=a(e),r=useContext(Q),{isVirtualized:n$1}=useContext(p),{columnHeaderProps:i,isPressed:d}=vt({node:l,isVirtualized:n$1,focusMode:t.focusMode,allowsArrowNavigation:t.allowsArrowNavigation},r,o),{isFocused:a$1,isFocusVisible:u,focusProps:c$1}=a$7(),s=useContext(Ht),b=false;if(s)b=s.resizingColumn===l.key;else if(process.env.NODE_ENV!=="production")for(let w in ["width","defaultWidth","minWidth","maxWidth"])w in l.props&&console.warn(`The ${w} prop on a <Column> only applies when a <Table> is wrapped in a <ResizableTableContainer>. If you aren't using column resizing, you can set the width of a column with CSS.`);let{hoverProps:f,isHovered:p$1}=a$a({isDisabled:!t.allowsSorting}),m=c({...t,id:void 0,children:l.rendered,defaultClassName:"react-aria-Column",values:{isHovered:p$1,isPressed:d,isFocused:a$1,isFocusVisible:u,allowsSorting:l.props.allowsSorting,sortDirection:r.sortDescriptor?.column===l.key?r.sortDescriptor.direction:void 0,isResizing:b,startResize:()=>{if(s)s.startResize(l.key),r.setKeyboardNavigationDisabled(true);else throw new Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing")},sort:w=>{r.sort(l.key,w);}}}),T=m.style;s&&(T={...T,width:s.getColumnWidth(l.key)});let g=a$3(t,{global:true});return delete g.id,jsx(po,{...c$2(g,i,c$1,f),...m,style:T,ref:o,"data-hovered":p$1||void 0,"data-pressed":d||void 0,"data-focused":a$1||void 0,"data-focus-visible":u||void 0,"data-resizing":b||void 0,"data-allows-sorting":l.props.allowsSorting||void 0,"data-sort-direction":r.sortDescriptor?.column===l.key?r.sortDescriptor.direction:void 0,children:jsx(b$4,{values:[[Wl,{column:l,triggerRef:o}],[p,n]],children:m.children})})}),Wl=createContext(null);forwardRef(function(e,l){let o=useContext(Ht);if(!o)throw new Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing");let r=b$7(Kl,"react-aria-components"),{onResizeStart:n,onResize:i,onResizeEnd:d}=useContext(Ft),{column:a$1,triggerRef:u}=useContext(Wl),c$1=useRef(null),{resizerProps:s,inputProps:b,isResizing:f,isMouseResizing:p}=Mt({column:a$1,"aria-label":e["aria-label"]||r.format("tableResizer"),onResizeStart:n,onResize:i,onResizeEnd:d,triggerRef:u},o,c$1),{focusProps:m,isFocused:T,isFocusVisible:g}=a$7(),{hoverProps:w,isHovered:S}=a$a(e),C=o.getColumnMinWidth(a$1.key)>=o.getColumnWidth(a$1.key),D=o.getColumnMaxWidth(a$1.key)<=o.getColumnWidth(a$1.key),{direction:P}=b$2(),h$1="both";C?h$1=P==="rtl"?"right":"left":D?h$1=P==="rtl"?"left":"right":h$1="both";let R=a(l),[x,v]=useState("");useEffect(()=>{if(!R.current)return;let U=b$8(R.current).getComputedStyle(R.current);v(U.cursor);},[R,h$1]);let N=c({...e,defaultClassName:"react-aria-ColumnResizer",values:{isFocused:T,isFocusVisible:g,isResizing:f,isHovered:S,resizableDirection:h$1}}),j=a$3(e,{global:true});return jsxs(h.div,{ref:R,role:"presentation",...c$2(j,N,s,w),"data-hovered":S||void 0,"data-focused":T||void 0,"data-focus-visible":g||void 0,"data-resizing":f||void 0,"data-resizable-direction":h$1,children:[N.children,jsx("input",{ref:c$1,...c$2(b,m)}),f&&p&&ro.createPortal(jsx("div",{style:{position:"fixed",top:0,left:0,bottom:0,right:0,cursor:x},"data-testid":"cursor-overlay"}),a$c(R.current).body)]})});var Qe=class extends b$9{static type="tablebody"},bo=forwardRef(function(e,l){let{isVirtualized:o}=useContext(p);return o?jsx(h.div,{...e,ref:l}):jsx(h.tbody,{...e,ref:l})}),Ra=k(Qe,(t,e,l)=>{let o=useContext(Q),{isVirtualized:r}=useContext(p),n=o.collection,{CollectionBranch:i}=useContext(p),{dragAndDropHooks:d$1,dropState:a}=useContext(a$8),u=!!d$1?.useDroppableCollectionState&&!a?.isDisabled,c$1=u&&!!a&&(a.isDropTarget({type:"root"})??false),s=n.size===0,b={isDropTarget:c$1,isEmpty:s},f=c({...t,id:void 0,children:void 0,defaultClassName:"react-aria-TableBody",values:b}),p$1,m=n.columnCount;if(s&&t.renderEmptyState&&o){let w={},S={},C={};r?(S["aria-colspan"]=m,C={display:"contents"}):S.colSpan=m,p$1=jsx(Te,{role:"row",...w,style:C,children:jsx(Se,{role:"rowheader",...S,style:C,children:t.renderEmptyState(b)})});}let{rowGroupProps:T}=qe(),g=a$3(t,{global:true});return jsxs(bo,{...c$2(g,f,T),ref:e,"data-empty":s||void 0,children:[u&&jsx(So,{}),jsx(i,{collection:n,parent:l,renderDropIndicator:d(d$1,a)}),p$1]})});forwardRef(function(e,l){let{isVirtualized:o}=useContext(p);return o?jsx(h.div,{...e,ref:l}):jsx(h.tfoot,{...e,ref:l})});var Bl=createContext({isFocusVisibleWithinRow:false}),It=class extends a$i{static type="item";filter(e,l,o){let r=e.getChildren(this.key);for(let n of r)if(o(n.textValue,n)){let i=this.clone();return l.addDescendants(i,e),i}return null}},Te=forwardRef(function(e,l){let{isVirtualized:o}=useContext(p);return o?jsx(h.div,{...e,ref:l}):jsx(h.tr,{...e,ref:l})}),Da=k(It,(t,e,l)=>{let o=a(e),r=useContext(Q),{dragAndDropHooks:n,dragState:i,dropState:d}=useContext(a$8),{isVirtualized:a$1,CollectionBranch:u}=useContext(p),c$1=i&&!(i.isDisabled||i.selectionManager.isDisabled(l.key)),{rowProps:s,expandButtonProps:b,...f$1}=zt({node:l,shouldSelectOnPressUp:!!i,isVirtualized:a$1},r,o),{isFocused:p$1,isFocusVisible:m,focusProps:T}=a$7(),{isFocusVisible:g,focusProps:w}=a$7({within:true}),{hoverProps:S,isHovered:C}=a$a({isDisabled:!f$1.allowsSelection&&!f$1.hasAction&&!c$1,onHoverStart:t.onHoverStart,onHoverChange:t.onHoverChange,onHoverEnd:t.onHoverEnd}),{checkboxProps:D}=Dt({key:l.key},r),P;i&&n&&(P=n.useDraggableItem({key:l.key,hasDragButton:true},i,o));let h,R=useRef(null),{visuallyHiddenProps:x}=a$d();d&&n&&(h=n.useDropIndicator({target:{type:"item",key:l.key,dropPosition:"on"}},d,R));let v=useRef(null);useEffect(()=>{i&&!v.current&&process.env.NODE_ENV!=="production"&&console.warn('Draggable items in a Table must contain a <Button slot="drag"> element so that keyboard and screen reader users can drag them.');},[]);let N=i&&i.isDragging(l.key),{children:j,...U}=t,Z=t.hasChildItems||r.collection.getItem(l.lastChildKey)?.type!=="cell",_=Z&&r.expandedKeys.has(l.key),we=c({...U,id:void 0,defaultClassName:"react-aria-Row",defaultStyle:{"--table-row-level":l.level+1},values:{...f$1,state:r,isHovered:C,isFocused:p$1,isFocusVisible:m,selectionMode:r.selectionManager.selectionMode,selectionBehavior:r.selectionManager.selectionBehavior,isDragging:N,isDropTarget:h?.isDropTarget,isFocusVisibleWithin:g,id:l.key,hasChildItems:Z,isExpanded:_,level:l.level+1}}),te=a$3(t,{global:true});delete te.id,delete te.onClick;let oe=f(P,n,o);return jsxs(Fragment,{children:[h&&!h.isHidden&&jsx(Te,{role:"row",style:{height:0},children:jsx(Se,{role:"gridcell",colSpan:r.collection.columnCount,style:{padding:0},children:jsx("div",{role:"button",...x,...h.dropIndicatorProps,ref:R})})}),jsx(Te,{...c$2(te,we,s,T,S,oe.itemProps,w),ref:o,"data-disabled":f$1.isDisabled||void 0,"data-selected":f$1.isSelected||void 0,"data-hovered":C||void 0,"data-focused":f$1.isFocused||void 0,"data-focus-visible":m||void 0,"data-pressed":f$1.isPressed||void 0,"data-dragging":N||void 0,"data-drop-target":h?.isDropTarget||void 0,"data-selection-mode":r.selectionManager.selectionMode==="none"?void 0:r.selectionManager.selectionMode,"data-focus-visible-within":g||void 0,"data-expanded":_||void 0,"data-has-child-items":Z||void 0,"data-level":l.level+1,children:jsx(b$4,{values:[[a$b,{slots:{[a$f]:{},selection:D}}],[b$6,{slots:{[a$f]:{},selection:D}}],[a$e,{slots:{[a$f]:{},chevron:b,drag:{...oe.dragButtonProps,ref:v}}}],[h$2,{isSelected:f$1.isSelected}],[Bl,{isFocusVisibleWithinRow:g}]],children:jsx(u,{collection:r.collection,parent:l})})})]})},t=>{if(t.id==null&&typeof t.children=="function")throw new Error("No id detected for the Row element. The Row element requires a id to be provided to it when the cells are rendered dynamically.");let e=[t.value].concat(t.dependencies);return jsx(l,{dependencies:e,items:t.columns,idScope:t.id,children:t.children})}),At=class extends a$i{static type="cell"},Se=forwardRef(function(e,l){let{isVirtualized:o}=useContext(p);return o?jsx(h.div,{...e,ref:l}):jsx(h.td,{...e,ref:l})}),Pa=j(At,(t,e,l)=>{let o=a(e),r=useContext(Q),{dragState:n$1}=useContext(a$8),{isVirtualized:i}=useContext(p);l.column=r.collection.columns[l.index];let{gridCellProps:d,isPressed:a$1}=Kt({node:l,shouldSelectOnPressUp:!!n$1,isVirtualized:i,focusMode:t.focusMode,allowsArrowNavigation:t.allowsArrowNavigation},r,o),{isFocused:u,isFocusVisible:c$1,focusProps:s}=a$7(),{hoverProps:b,isHovered:f}=a$a({}),{isFocusVisibleWithinRow:p$1}=useContext(Bl),m=l.parentKey!=null?r.selectionManager.isSelected(l.parentKey):false,T=l.colIndex||l.index,g=r.collection.getItem(l.parentKey),w=g.props.hasChildItems||r.collection.getItem(g.lastChildKey)?.type!=="cell",S=w&&r.expandedKeys.has(l.parentKey),C=r.selectionManager.isDisabled(l.parentKey),D=c({...t,id:void 0,defaultClassName:"react-aria-Cell",values:{isFocused:u,isFocusVisible:c$1,isFocusVisibleWithinRow:p$1,isPressed:a$1,isHovered:f,isSelected:m,id:l.key,columnIndex:T,hasChildItems:w,isExpanded:S,isDisabled:C,level:g.level+1,isTreeColumn:l.column.key===r.treeColumn}}),P=a$3(t,{global:true});return delete P.id,jsx(Se,{...c$2(P,D,d,s,b),ref:o,"data-focused":u||void 0,"data-focus-visible":c$1||void 0,"data-focus-visible-within-row":p$1||void 0,"data-pressed":a$1||void 0,"data-selected":m||void 0,"data-column-index":T,"data-expanded":S||void 0,"data-has-child-items":w||void 0,"data-level":g.level+1,"data-tree-column":l.column.key===r.treeColumn||void 0,"data-disabled":C||void 0,children:jsx(p.Provider,{value:n,children:D.children})})});function fo(t,e){e=a(e);let{dragAndDropHooks:l,dropState:o}=useContext(a$8),r=useRef(null),{dropIndicatorProps:n,isHidden:i,isDropTarget:d}=l.useDropIndicator(t,o,r);if(i)return null;let a$1=o&&t.target.type==="item"?(o.collection.getItem(t.target.key)?.level||0)+1:1;return jsx(To,{...t,dropIndicatorProps:n,isDropTarget:d,buttonRef:r,level:a$1,ref:e})}var yo=forwardRef(function(e,l){let{isVirtualized:o}=useContext(p);return o?jsx(h.div,{...e,ref:l}):jsx(h.tr,{...e,ref:l})}),ho=forwardRef(function(e,l){let{isVirtualized:o}=useContext(p);return o?jsx(h.div,{...e,ref:l}):jsx(h.td,{...e,ref:l})});function go(t,e){let{dropIndicatorProps:l,isDropTarget:o,buttonRef:r,level:n,...i}=t,d=useContext(Q),{visuallyHiddenProps:a}=a$d(),u=c({...i,defaultClassName:"react-aria-DropIndicator",defaultStyle:{"--table-row-level":n+1},values:{isDropTarget:o}});return jsx(yo,{...a$3(t,{global:true}),...u,role:"row",ref:e,"data-drop-target":o||void 0,"aria-level":n,children:jsxs(ho,{role:"gridcell",colSpan:d.collection.columnCount,style:{padding:0},children:[jsx("div",{...a,role:"button",...l,ref:r}),u.children]})})}var To=forwardRef(go);function So(){let t=useContext(Q),{dragAndDropHooks:e,dropState:l}=useContext(a$8),o=useRef(null),{dropIndicatorProps:r}=e.useDropIndicator({target:{type:"root"}},l,o),n=l.isDropTarget({type:"root"}),{visuallyHiddenProps:i}=a$d();return !n&&r["aria-hidden"]?null:jsx(Te,{role:"row","aria-hidden":r["aria-hidden"],style:{height:0},children:jsx(Se,{role:"gridcell",colSpan:t.collection.columnCount,style:{padding:0},children:jsx("div",{role:"button",...i,...r,ref:o})})})}var Ma=j(d$1,function(e,l,o){let r=useContext(Q),{isVirtualized:n}=useContext(p),{isLoading:i,onLoadMore:d,scrollOffset:a,...u}=e,c$1=r.collection.columns.length,s=useRef(null),b=useMemo(()=>({onLoadMore:d,collection:r?.collection,sentinelRef:s,scrollOffset:a}),[d,a,r?.collection]);k$1(b,s);let f=c({...u,id:void 0,children:o.rendered,defaultClassName:"react-aria-TableLoadingIndicator",defaultStyle:{"--table-row-level":o.level+1},values:void 0}),p$1={},m={},T={};return n?(m["aria-colspan"]=c$1,T={display:"contents"}):m.colSpan=c$1,jsxs(Fragment,{children:[jsx(Te,{style:{height:0},inert:l$1(true),children:jsx(Se,{style:{padding:0,border:0},children:jsx("div",{"data-testid":"loadMoreSentinel",ref:s,style:{position:"relative",height:1,width:1}})})}),i&&f.children&&jsx(Te,{...c$2(a$3(e,{global:true}),p$1),...f,role:"row",ref:l,"aria-level":o.level+1,"data-level":o.level+1,children:jsx(Se,{role:"rowheader",...m,style:T,children:f.children})})]})});export{Ue as a,Ht as b,xa as c,ka as d,va as e,Ra as f,Da as g,Pa as h,Ma as i};
10
+ var $e=class{keyMap=new Map;columnCount;rows;constructor(e){this.keyMap=new Map,this.columnCount=e?.columnCount,this.rows=[];let l=n=>{let i=this.keyMap.get(n.key);e.visitNode&&(n=e.visitNode(n)),this.keyMap.set(n.key,n);let d=new Set,a=null,u=false;if(n.type==="item"){for(let c of n.childNodes)if(c.props?.colSpan!==void 0){u=true;break}}for(let c of n.childNodes)c.type==="cell"&&u&&(c.colspan=c.props?.colSpan,c.colSpan=c.props?.colSpan,c.colIndex=a?(a.colIndex??a.index)+(a.colSpan??1):c.index),c.type==="cell"&&c.parentKey==null&&(c.parentKey=n.key),d.add(c.key),a?(a.nextKey=c.key,c.prevKey=a.key):c.prevKey=null,l(c),a=c;if(a&&(a.nextKey=null),i)for(let c of i.childNodes)d.has(c.key)||o(c);},o=n=>{this.keyMap.delete(n.key);for(let i of n.childNodes)this.keyMap.get(i.key)===i&&o(i);},r=null;for(let[n,i]of e.items.entries()){let d={...i,level:i.level??0,key:i.key??"row-"+n,type:i.type??"row",value:i.value??null,hasChildNodes:true,childNodes:[...i.childNodes],rendered:i.rendered,textValue:i.textValue??"",index:i.index??n};r?(r.nextKey=d.key,d.prevKey=r.key):d.prevKey=null,this.rows.push(d),l(d),r=d;}r&&(r.nextKey=null);}*[Symbol.iterator](){yield*[...this.rows];}get size(){return [...this.rows].length}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let l=this.keyMap.get(e);return l?l.prevKey??null:null}getKeyAfter(e){let l=this.keyMap.get(e);return l?l.nextKey??null:null}getFirstKey(){return [...this.rows][0]?.key}getLastKey(){let e=[...this.rows];return e[e.length-1]?.key}getItem(e){return this.keyMap.get(e)??null}at(e){let l=[...this.getKeys()];return this.getItem(l[e])}getChildren(e){return this.keyMap.get(e)?.childNodes||[]}};var Rl="row-header-column-"+Math.random().toString(36).slice(2),ut="row-header-column-"+Math.random().toString(36).slice(2);for(;Rl===ut;)ut="row-header-column-"+Math.random().toString(36).slice(2);function je(t,e){if(e.length===0)return [];let l=[],o=new Map;for(let a of e){let u=a.parentKey,c=[a];for(;u!=null;){let s=t.get(u);if(!s)break;if(o.has(s)){s.colSpan??=0,s.colSpan++,s.colspan=s.colSpan;let{column:b,index:f}=o.get(s);if(f>c.length)break;for(let p=f;p<c.length;p++)b.splice(p,0,null);for(let p=c.length;p<b.length;p++)b[p]&&o.has(b[p])&&(o.get(b[p]).index=p);}else s.colSpan=1,s.colspan=1,c.push(s),o.set(s,{column:c,index:c.length-1});u=s.parentKey;}l.push(c),a.index=l.length-1;}let r=Math.max(...l.map(a=>a.length)),n=Array(r).fill(0).map(()=>[]),i=0;for(let a of l){let u=r-1;for(let c of a){if(c){let s=n[u],b=s.reduce((f,p)=>f+(p.colSpan??1),0);if(b<i){let f={type:"placeholder",key:"placeholder-"+c.key,colspan:i-b,colSpan:i-b,index:b,value:null,rendered:null,level:u,hasChildNodes:false,childNodes:[],textValue:""};s.length>0&&(s[s.length-1].nextKey=f.key,f.prevKey=s[s.length-1].key),s.push(f);}s.length>0&&(s[s.length-1].nextKey=c.key,c.prevKey=s[s.length-1].key),c.level=u,c.colIndex=i,s.push(c);}u--;}i++;}let d=0;for(let a of n){let u=a.reduce((c,s)=>c+(s.colSpan??1),0);if(u<e.length){let c={type:"placeholder",key:"placeholder-"+a[a.length-1].key,colSpan:e.length-u,colspan:e.length-u,index:u,value:null,rendered:null,level:d,hasChildNodes:false,childNodes:[],textValue:"",prevKey:a[a.length-1].key};a.push(c);}d++;}return n.map((a,u)=>({type:"headerrow",key:"headerrow-"+u,index:u,value:null,rendered:null,level:0,hasChildNodes:true,childNodes:a,textValue:""}))}var Re=class extends $e{headerRows;columns;rowHeaderColumnKeys;body;_size=0;constructor(e,l,o){let r=new Set,n=null,i=[];if(o?.showSelectionCheckboxes){let s={type:"column",key:Rl,value:null,textValue:"",level:0,index:o?.showDragButtons?1:0,hasChildNodes:false,rendered:null,childNodes:[],props:{isSelectionCell:true}};i.unshift(s);}if(o?.showDragButtons){let s={type:"column",key:ut,value:null,textValue:"",level:0,index:0,hasChildNodes:false,rendered:null,childNodes:[],props:{isDragButtonCell:true}};i.unshift(s);}let d=[],a=new Map,u=s=>{switch(s.type){case "body":n=s;break;case "column":a.set(s.key,s),s.hasChildNodes||(i.push(s),s.props.isRowHeader&&r.add(s.key));break;case "item":d.push(s);return}for(let b of s.childNodes)u(b);};for(let s of e)u(s);let c=je(a,i);if(c.forEach((s,b)=>d.splice(b,0,s)),super({columnCount:i.length,items:d,visitNode:s=>(s.column=i[s.index],s)}),this.columns=i,this.rowHeaderColumnKeys=r,this.body=n,this.headerRows=c,this._size=[...n.childNodes].length,this.rowHeaderColumnKeys.size===0){let s=this.columns.find(b=>!b.props?.isDragButtonCell&&!b.props?.isSelectionCell);s&&this.rowHeaderColumnKeys.add(s.key);}}*[Symbol.iterator](){yield*this.body.childNodes;}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){return this.keyMap.get(e)?.prevKey??null}getKeyAfter(e){return this.keyMap.get(e)?.nextKey??null}getFirstKey(){return c$5(this.body.childNodes)?.key??null}getLastKey(){return e$3(this.body.childNodes)?.key??null}getItem(e){return e===this.body.key?this.body:this.keyMap.get(e)??null}at(e){let l=[...this.getKeys()];return this.getItem(l[e])}getChildren(e){if(e===this.body.key)return this.body.childNodes;let l=this.getItem(e);return l?.type==="item"?[...l.childNodes].filter(o=>o.type==="cell"):super.getChildren(e)}getTextValue(e){let l=this.getItem(e);if(!l)return "";if(l.textValue)return l.textValue;let o=this.rowHeaderColumnKeys;if(o){let r=[];for(let n of l.childNodes){let i=this.columns[n.index];if(o.has(i.key)&&n.textValue&&r.push(n.textValue),r.length===o.size)break}return r.join(" ")}return ""}};var Kl={"ar-AE":{colorSwatchPicker:"\u062A\u063A\u064A\u064A\u0631\u0627\u062A \u0627\u0644\u0623\u0644\u0648\u0627\u0646",dropzoneLabel:"DropZone",selectPlaceholder:"\u062D\u062F\u062F \u0639\u0646\u0635\u0631\u064B\u0627",tableResizer:"\u0623\u062F\u0627\u0629 \u062A\u063A\u064A\u064A\u0631 \u0627\u0644\u062D\u062C\u0645"},"bg-BG":{colorSwatchPicker:"\u0426\u0432\u0435\u0442\u043E\u0432\u0438 \u043C\u043E\u0441\u0442\u0440\u0438",dropzoneLabel:"DropZone",selectPlaceholder:"\u0418\u0437\u0431\u0435\u0440\u0435\u0442\u0435 \u043F\u0440\u0435\u0434\u043C\u0435\u0442",tableResizer:"\u041F\u0440\u0435\u043E\u0440\u0430\u0437\u043C\u0435\u0440\u0438\u0442\u0435\u043B"},"cs-CZ":{colorSwatchPicker:"Vzorky barev",dropzoneLabel:"M\xEDsto pro p\u0159eta\u017Een\xED",selectPlaceholder:"Vyberte polo\u017Eku",tableResizer:"Zm\u011Bna velikosti"},"da-DK":{colorSwatchPicker:"Farvepr\xF8ver",dropzoneLabel:"DropZone",selectPlaceholder:"V\xE6lg et element",tableResizer:"St\xF8rrelses\xE6ndring"},"de-DE":{colorSwatchPicker:"Farbfelder",dropzoneLabel:"Ablegebereich",selectPlaceholder:"Element w\xE4hlen",tableResizer:"Gr\xF6\xDFenanpassung"},"el-GR":{colorSwatchPicker:"\u03A7\u03C1\u03C9\u03BC\u03B1\u03C4\u03B9\u03BA\u03AC \u03B4\u03B5\u03AF\u03B3\u03BC\u03B1\u03C4\u03B1",dropzoneLabel:"DropZone",selectPlaceholder:"\u0395\u03C0\u03B9\u03BB\u03AD\u03BE\u03C4\u03B5 \u03AD\u03BD\u03B1 \u03B1\u03BD\u03C4\u03B9\u03BA\u03B5\u03AF\u03BC\u03B5\u03BD\u03BF",tableResizer:"\u0391\u03BB\u03BB\u03B1\u03B3\u03AE \u03BC\u03B5\u03B3\u03AD\u03B8\u03BF\u03C5\u03C2"},"en-US":{selectPlaceholder:"Select an item",tableResizer:"Resizer",dropzoneLabel:"DropZone",colorSwatchPicker:"Color swatches"},"es-ES":{colorSwatchPicker:"Muestras de colores",dropzoneLabel:"DropZone",selectPlaceholder:"Seleccionar un art\xEDculo",tableResizer:"Cambiador de tama\xF1o"},"et-EE":{colorSwatchPicker:"V\xE4rvin\xE4idised",dropzoneLabel:"DropZone",selectPlaceholder:"Valige \xFCksus",tableResizer:"Suuruse muutja"},"fi-FI":{colorSwatchPicker:"V\xE4rimallit",dropzoneLabel:"DropZone",selectPlaceholder:"Valitse kohde",tableResizer:"Koon muuttaja"},"fr-FR":{colorSwatchPicker:"\xC9chantillons de couleurs",dropzoneLabel:"DropZone",selectPlaceholder:"S\xE9lectionner un \xE9l\xE9ment",tableResizer:"Redimensionneur"},"he-IL":{colorSwatchPicker:"\u05D3\u05D5\u05D2\u05DE\u05D9\u05D5\u05EA \u05E6\u05D1\u05E2",dropzoneLabel:"DropZone",selectPlaceholder:"\u05D1\u05D7\u05E8 \u05E4\u05E8\u05D9\u05D8",tableResizer:"\u05E9\u05D9\u05E0\u05D5\u05D9 \u05D2\u05D5\u05D3\u05DC"},"hr-HR":{colorSwatchPicker:"Uzorci boja",dropzoneLabel:"Zona spu\u0161tanja",selectPlaceholder:"Odaberite stavku",tableResizer:"Promjena veli\u010Dine"},"hu-HU":{colorSwatchPicker:"Sz\xEDnt\xE1rak",dropzoneLabel:"DropZone",selectPlaceholder:"V\xE1lasszon ki egy elemet",tableResizer:"\xC1tm\xE9retez\u0151"},"it-IT":{colorSwatchPicker:"Campioni di colore",dropzoneLabel:"Zona di rilascio",selectPlaceholder:"Seleziona un elemento",tableResizer:"Ridimensionamento"},"ja-JP":{colorSwatchPicker:"\u30AB\u30E9\u30FC\u30B9\u30A6\u30A9\u30C3\u30C1",dropzoneLabel:"\u30C9\u30ED\u30C3\u30D7\u30BE\u30FC\u30F3",selectPlaceholder:"\u9805\u76EE\u3092\u9078\u629E",tableResizer:"\u30B5\u30A4\u30BA\u5909\u66F4\u30C4\u30FC\u30EB"},"ko-KR":{colorSwatchPicker:"\uC0C9\uC0C1 \uACAC\uBCF8",dropzoneLabel:"\uB4DC\uB86D \uC601\uC5ED",selectPlaceholder:"\uD56D\uBAA9 \uC120\uD0DD",tableResizer:"\uD06C\uAE30 \uC870\uC815\uAE30"},"lt-LT":{colorSwatchPicker:"Spalv\u0173 pavyzd\u017Eiai",dropzoneLabel:"\u201EDropZone\u201C",selectPlaceholder:"Pasirinkite element\u0105",tableResizer:"Dyd\u017Eio keitiklis"},"lv-LV":{colorSwatchPicker:"Kr\u0101su paraugi",dropzoneLabel:"DropZone",selectPlaceholder:"Izv\u0113l\u0113ties vienumu",tableResizer:"Izm\u0113ra main\u012Bt\u0101js"},"nb-NO":{colorSwatchPicker:"Fargekart",dropzoneLabel:"Droppsone",selectPlaceholder:"Velg et element",tableResizer:"St\xF8rrelsesendrer"},"nl-NL":{colorSwatchPicker:"kleurstalen",dropzoneLabel:"DropZone",selectPlaceholder:"Selecteer een item",tableResizer:"Resizer"},"pl-PL":{colorSwatchPicker:"Pr\xF3bki kolor\xF3w",dropzoneLabel:"Strefa upuszczania",selectPlaceholder:"Wybierz element",tableResizer:"Zmiana rozmiaru"},"pt-BR":{colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"},"pt-PT":{colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"},"ro-RO":{colorSwatchPicker:"Specimene de culoare",dropzoneLabel:"Zon\u0103 de plasare",selectPlaceholder:"Selecta\u021Bi un element",tableResizer:"Instrument de redimensionare"},"ru-RU":{colorSwatchPicker:"\u0426\u0432\u0435\u0442\u043E\u0432\u044B\u0435 \u043E\u0431\u0440\u0430\u0437\u0446\u044B",dropzoneLabel:"DropZone",selectPlaceholder:"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442",tableResizer:"\u0421\u0440\u0435\u0434\u0441\u0442\u0432\u043E \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u0440\u0430\u0437\u043C\u0435\u0440\u0430"},"sk-SK":{colorSwatchPicker:"Vzorkovn\xEDky farieb",dropzoneLabel:"DropZone",selectPlaceholder:"Vyberte polo\u017Eku",tableResizer:"N\xE1stroj na zmenu ve\u013Ekosti"},"sl-SI":{colorSwatchPicker:"Barvne palete",dropzoneLabel:"DropZone",selectPlaceholder:"Izberite element",tableResizer:"Spreminjanje velikosti"},"sr-SP":{colorSwatchPicker:"Uzorci boje",dropzoneLabel:"DropZone",selectPlaceholder:"Izaberite stavku",tableResizer:"Promena veli\u010Dine"},"sv-SE":{colorSwatchPicker:"F\xE4rgrutor",dropzoneLabel:"DropZone",selectPlaceholder:"V\xE4lj en artikel",tableResizer:"Storleks\xE4ndrare"},"tr-TR":{colorSwatchPicker:"Renk \xF6rnekleri",dropzoneLabel:"B\u0131rakma B\xF6lgesi",selectPlaceholder:"Bir \xF6\u011Fe se\xE7in",tableResizer:"Yeniden boyutland\u0131r\u0131c\u0131"},"uk-UA":{colorSwatchPicker:"\u0417\u0440\u0430\u0437\u043A\u0438 \u043A\u043E\u043B\u044C\u043E\u0440\u0456\u0432",dropzoneLabel:"DropZone",selectPlaceholder:"\u0412\u0438\u0431\u0435\u0440\u0456\u0442\u044C \u0435\u043B\u0435\u043C\u0435\u043D\u0442",tableResizer:"\u0417\u0430\u0441\u0456\u0431 \u0437\u043C\u0456\u043D\u0435\u043D\u043D\u044F \u0440\u043E\u0437\u043C\u0456\u0440\u0443"},"zh-CN":{colorSwatchPicker:"\u989C\u8272\u8272\u677F",dropzoneLabel:"\u653E\u7F6E\u533A\u57DF",selectPlaceholder:"\u9009\u62E9\u4E00\u4E2A\u9879\u76EE",tableResizer:"\u5C3A\u5BF8\u8C03\u6574\u5668"},"zh-TW":{colorSwatchPicker:"\u8272\u7968",dropzoneLabel:"\u653E\u7F6E\u5340",selectPlaceholder:"\u9078\u53D6\u9805\u76EE",tableResizer:"\u5927\u5C0F\u8ABF\u6574\u5668"}};function jl(t){return t!=null&&(!isNaN(t)||String(t).match(/^(\d+)(?=%$)/)!==null)}function Ul(t){if(!t||typeof t=="number")return 1;let e=t.match(/^(.+)(?=fr$)/);return e?parseFloat(e[0]):(process.env.NODE_ENV!=="production"&&console.warn(`width: ${t} is not a supported format, width should be a number (ex. 150), percentage (ex. '50%') or fr unit (ex. '2fr')`,"defaulting to '1fr'"),1)}function mt(t,e){if(typeof t=="string"){let l=t.match(/^(\d+)(?=%$)/);if(!l)throw new Error("Only percentages or numbers are supported for static column widths");return e*(parseFloat(l[0])/100)}return t}function pt(t,e){return t!=null?mt(t,e):Number.MAX_SAFE_INTEGER}function bt(t,e){return t!=null?mt(t,e):0}function Dl(t,e,l,o,r){let n=t,i=Math.floor(t),d=t-i>0;t=i;let a=false,u=e.map((s,b)=>{let f=l.get(s.key)!=null?l.get(s.key)??"1fr":s.width??s.defaultWidth??o?.(b)??"1fr",p=false,m=0,T=0,g=0;jl(f)?(m=mt(f,t),p=true):(T=Ul(f),T<=0&&(p=true));let w=bt(s.minWidth??r?.(b)??0,t),S=pt(s.maxWidth,t),C=Math.max(w,Math.min(m,S));return p?g=C:m>C&&(p=true,g=C),p||(a=true),{frozen:p,baseSize:m,hypotheticalMainSize:C,min:w,max:S,flex:T,targetMainSize:g,violation:0}});for(;a;){let s=0,b=0;u.forEach(m=>{m.frozen?s+=m.targetMainSize:(s+=m.baseSize,b+=m.flex);});let f=t-s;f>0&&u.forEach(m=>{if(!m.frozen){let T=m.flex/b;m.targetMainSize=m.baseSize+T*f;}});let p=0;u.forEach(m=>{if(m.violation=0,!m.frozen){let{min:T,max:g,targetMainSize:w}=m;m.targetMainSize=Math.max(T,Math.min(w,g)),m.violation=m.targetMainSize-w,p+=m.violation;}}),a=false,u.forEach(m=>{p===0||Math.sign(p)===Math.sign(m.violation)?m.frozen=true:m.frozen||(a=true);});}let c=Zl(u);if(d&&c.length>0){let s=n.toString().split(".")[1],b=c[c.length-1].toString();c[c.length-1]=+(b+"."+s);}return c}function Zl(t){let e=0,l=0,o=[];return t.forEach(function(r){let n=r.targetMainSize,i=Math.round(n+e)-l;e+=n,l+=i,o.push(i);}),o}var Ue=class{getDefaultWidth;getDefaultMinWidth;columnWidths=new Map;columnMinWidths=new Map;columnMaxWidths=new Map;constructor(e){this.getDefaultWidth=e?.getDefaultWidth??(()=>"1fr"),this.getDefaultMinWidth=e?.getDefaultMinWidth??(()=>75);}splitColumnsIntoControlledAndUncontrolled(e){return e.reduce((l,o)=>(o.props.width!=null?l[0].set(o.key,o):l[1].set(o.key,o),l),[new Map,new Map])}recombineColumns(e,l,o,r){return new Map(e.map(n=>o.has(n.key)?[n.key,l.get(n.key)]:[n.key,r.get(n.key).props.width]))}getInitialUncontrolledWidths(e){return new Map(Array.from(e).map(([l,o])=>[l,o.props.defaultWidth??this.getDefaultWidth?.(o)??"1fr"]))}getColumnWidth(e){return this.columnWidths.get(e)??0}getColumnMinWidth(e){return this.columnMinWidths.get(e)??0}getColumnMaxWidth(e){return this.columnMaxWidths.get(e)??0}resizeColumnWidth(e,l,o,r){let n=this.columnWidths,i=true,d=new Map;return r=Math.max(this.getColumnMinWidth(o),Math.min(this.getColumnMaxWidth(o),Math.floor(r))),e.columns.forEach(a=>{a.key===o?(d.set(a.key,r),i=false):i?d.set(a.key,n.get(a.key)??0):d.set(a.key,a.props.width??l.get(a.key));}),d}buildColumnWidths(e,l,o){return this.columnWidths=new Map,this.columnMinWidths=new Map,this.columnMaxWidths=new Map,Dl(e,l.columns.map(n=>({...n.props,key:n.key})),o,n=>this.getDefaultWidth(l.columns[n]),n=>this.getDefaultMinWidth(l.columns[n])).forEach((n,i)=>{let d=l.columns[i].key,a=l.columns[i];this.columnWidths.set(d,n),this.columnMinWidths.set(d,bt(a.props.minWidth??this.getDefaultMinWidth(a),e)),this.columnMaxWidths.set(d,pt(a.props.maxWidth,e));}),this.columnWidths}};function ht(t,e){let{getDefaultWidth:l,getDefaultMinWidth:o,tableWidth:r=0}=t,[n,i]=useState(null),d=useMemo(()=>new Ue({getDefaultWidth:l,getDefaultMinWidth:o}),[l,o]),[a,u]=useMemo(()=>d.splitColumnsIntoControlledAndUncontrolled(e.collection.columns),[e.collection.columns,d]),[c,s]=useState(()=>d.getInitialUncontrolledWidths(u)),[b,f]=useState(e.collection.columns);if(e.collection.columns!==b){if(e.collection.columns.length!==b.length||e.collection.columns.some((S,C)=>S.key!==b[C].key)){let S=d.getInitialUncontrolledWidths(u);s(S);}f(e.collection.columns);}let p=useMemo(()=>d.recombineColumns(e.collection.columns,c,u,a),[e.collection.columns,c,u,a,d]),m=useCallback(S=>{i(S);},[i]),T=useCallback((S,C)=>{let D=d.resizeColumnWidth(e.collection,c,S,C),P=new Map(Array.from(u).map(([h])=>[h,D.get(h)]));return P.set(S,C),s(P),D},[u,s,d,e.collection,c]),g=useCallback(()=>{i(null);},[i]),w=useMemo(()=>d.buildColumnWidths(r,e.collection,p),[r,e.collection,p,d]);return useMemo(()=>({resizingColumn:n,updateResizedColumns:T,startResize:m,endResize:g,getColumnWidth:S=>d.getColumnWidth(S),getColumnMinWidth:S=>d.getColumnMinWidth(S),getColumnMaxWidth:S=>d.getColumnMaxWidth(S),tableState:e,columnWidths:w}),[d,w,n,T,m,g,e])}function Ml(t){let{collection:e,focusMode:l}=t,o=t.UNSAFE_selectionState||a$4(t),r=useMemo(()=>t.disabledKeys?new Set(t.disabledKeys):new Set,[t.disabledKeys]),n=o.setFocusedKey;o.setFocusedKey=(a,u)=>{if(l==="cell"&&a!=null){let c=e.getItem(a);if(c?.type==="item"){let s=b$9(c,e);u==="last"?a=e$3(s)?.key??null:a=c$5(s)?.key??null;}}n(a,u);};let i=useMemo(()=>new f$3(e,o),[e,o]),d=useRef(null);return useEffect(()=>{if(o.focusedKey!=null&&d.current&&!e.getItem(o.focusedKey)){let a=d.current.getItem(o.focusedKey),u=a?.parentKey!=null&&(a.type==="cell"||a.type==="rowheader"||a.type==="column")?d.current.getItem(a.parentKey):a;if(!u){o.setFocusedKey(null);return}let c=d.current.rows,s=e.rows,b=c.length-s.length,f=Math.min(b>1?Math.max(u.index-b+1,0):u.index,s.length-1),p=null;for(let m=Math.max(0,f);m<s.length;m++)if(!i.isDisabled(s[m].key)&&s[m].type!=="headerrow"){p=s[m];break}if(p===null){for(let m=f-1;m>=0;m--)if(!i.isDisabled(s[m].key)&&s[m].type!=="headerrow"){p=s[m];break}}if(p){let m=p.hasChildNodes?[...b$9(p,e)]:[],T=p.hasChildNodes&&u!==a&&a&&a.index<m.length?m[a.index].key:p.key;o.setFocusedKey(T);}else o.setFocusedKey(null);}d.current=e;},[e,i,o,o.focusedKey]),{collection:e,disabledKeys:r,isKeyboardNavigationDisabled:false,selectionManager:i}}var Jl={ascending:"descending",descending:"ascending"};function gt(t){let[e,l]=useState(false),{selectionMode:o="none",showSelectionCheckboxes:r,showDragButtons:n,treeColumn:i=null}=t,d=useMemo(()=>({showSelectionCheckboxes:r&&o!=="none",showDragButtons:n,selectionMode:o,columns:[]}),[t.children,r,o,n]),a=g$3(t,useCallback(f=>new Re(f,null,d),[d]),d),{disabledKeys:u,selectionManager:c}=Ml({...t,collection:a,disabledBehavior:t.disabledBehavior||"selection"}),[s,b]=a$5(t.expandedKeys?new Set(t.expandedKeys):void 0,t.defaultExpandedKeys?new Set(t.defaultExpandedKeys):new Set,t.onExpandedChange);return {collection:a,disabledKeys:u,selectionManager:c,showSelectionCheckboxes:t.showSelectionCheckboxes||false,sortDescriptor:t.sortDescriptor??null,isKeyboardNavigationDisabled:a.size===0||e,setKeyboardNavigationDisabled:l,sort(f,p){t.onSortChange?.({column:f,direction:p??(t.sortDescriptor?.column===f?Jl[t.sortDescriptor.direction]:"ascending")});},expandedKeys:s,toggleKey(f){b(p=>{let m=new Set(p);return m.has(f)?m.delete(f):m.add(f),m});},treeColumn:i}}function Tt(t,e){let l=useMemo(()=>e?t.collection.filter(e):t.collection,[t.collection,e]),o=t.selectionManager.withCollection(l);return {...t,collection:l,selectionManager:o}}var he=class{collection;disabledKeys;disabledBehavior;direction;collator;layoutDelegate;focusMode;constructor(e){if(this.collection=e.collection,this.disabledKeys=e.disabledKeys,this.disabledBehavior=e.disabledBehavior||"all",this.direction=e.direction,this.collator=e.collator,!e.layout&&!e.ref)throw new Error("Either a layout or a ref must be specified.");this.layoutDelegate=e.layoutDelegate||(e.layout?new St(e.layout):new a$n(e.ref)),this.focusMode=e.focusMode??"row";}isCell(e){return e.type==="cell"}isRow(e){return e.type==="row"||e.type==="item"}isDisabled(e){return this.disabledBehavior==="all"&&(e.props?.isDisabled||this.disabledKeys.has(e.key))&&e.props?.disabledBehavior!=="selection"}findPreviousKey(e,l,o=false){let r=e!=null?this.collection.getKeyBefore(e):this.collection.getLastKey();for(;r!=null;){let n=this.collection.getItem(r);if(!n)return null;if((o||!this.isDisabled(n))&&(!l||l(n)))return r;r=this.collection.getKeyBefore(r);}return null}findNextKey(e,l,o=false){let r=e!=null?this.collection.getKeyAfter(e):this.collection.getFirstKey();for(;r!=null;){let n=this.collection.getItem(r);if(!n)return null;if((o||!this.isDisabled(n))&&(!l||l(n)))return r;if(r=this.collection.getKeyAfter(r),r==null)return null}return null}getKeyForItemInRowByIndex(e,l=0){if(l<0)return null;let o=this.collection.getItem(e);if(!o)return null;let r=0;for(let n of b$9(o,this.collection)){if(n.colSpan&&n.colSpan+r>l||(n.colSpan&&(r=r+n.colSpan-1),r===l))return n.key??null;r++;}return null}getKeyBelow(e,l){let o=e,r=this.collection.getItem(o);if(!r||(this.isCell(r)&&(o=r.parentKey??null),o==null))return null;if(o=this.findNextKey(o,n=>n.type==="item",l?.includeDisabled),o!=null){if(this.isCell(r)){let n=r.colIndex?r.colIndex:r.index;return this.getKeyForItemInRowByIndex(o,n)}if(this.focusMode==="row")return o}return null}getKeyAbove(e,l){let o=e,r=this.collection.getItem(o);if(!r||(this.isCell(r)&&(o=r.parentKey??null),o==null))return null;if(o=this.findPreviousKey(o,n=>n.type==="item",l?.includeDisabled),o!=null){if(this.isCell(r)){let n=r.colIndex?r.colIndex:r.index;return this.getKeyForItemInRowByIndex(o,n)}if(this.focusMode==="row")return o}return null}getKeyRightOf(e){let l=this.collection.getItem(e);if(!l)return null;if(this.isRow(l)){let o=b$9(l,this.collection);return (this.direction==="rtl"?e$3(o)?.key:c$5(o)?.key)??null}if(this.isCell(l)&&l.parentKey!=null){let o=this.collection.getItem(l.parentKey);if(!o)return null;let r=b$9(o,this.collection),n=(this.direction==="rtl"?d$5(r,l.index-1):d$5(r,l.index+1))??null;return n?n.key??null:this.focusMode==="row"?l.parentKey??null:(this.direction==="rtl"?this.getFirstKey(e):this.getLastKey(e))??null}return null}getKeyLeftOf(e){let l=this.collection.getItem(e);if(!l)return null;if(this.isRow(l)){let o=b$9(l,this.collection);return (this.direction==="rtl"?c$5(o)?.key:e$3(o)?.key)??null}if(this.isCell(l)&&l.parentKey!=null){let o=this.collection.getItem(l.parentKey);if(!o)return null;let r=b$9(o,this.collection),n=(this.direction==="rtl"?d$5(r,l.index+1):d$5(r,l.index-1))??null;return n?n.key??null:this.focusMode==="row"?l.parentKey??null:(this.direction==="rtl"?this.getLastKey(e):this.getFirstKey(e))??null}return null}getFirstKey(e,l){let o=e??null,r;if(o!=null){if(r=this.collection.getItem(o),!r)return null;if(this.isCell(r)&&!l&&r.parentKey!=null){let n=this.collection.getItem(r.parentKey);return n?c$5(b$9(n,this.collection))?.key??null:null}}if(o=this.findNextKey(void 0,n=>n.type==="item"),o!=null&&(r&&this.isCell(r)&&l||this.focusMode==="cell")){let n=this.collection.getItem(o);if(!n)return null;o=c$5(b$9(n,this.collection))?.key??null;}return o}getLastKey(e,l){let o=e??null,r;if(o!=null){if(r=this.collection.getItem(o),!r)return null;if(this.isCell(r)&&!l&&r.parentKey!=null){let n=this.collection.getItem(r.parentKey);if(!n)return null;let i=b$9(n,this.collection);return e$3(i)?.key??null}}if(o=this.findPreviousKey(void 0,n=>n.type==="item"),o!=null&&(r&&this.isCell(r)&&l||this.focusMode==="cell")){let n=this.collection.getItem(o);if(!n)return null;let i=b$9(n,this.collection);o=e$3(i)?.key??null;}return o}getKeyPageAbove(e){let l=e,o=this.layoutDelegate.getItemRect(l);if(!o)return null;let r=Math.max(0,o.y+o.height-this.layoutDelegate.getVisibleRect().height);for(;o&&o.y>r&&l!=null&&(l=this.getKeyAbove(l)??null,l!=null);)o=this.layoutDelegate.getItemRect(l);return l}getKeyPageBelow(e){let l=e,o=this.layoutDelegate.getItemRect(l);if(!o)return null;let r=this.layoutDelegate.getVisibleRect().height,n=Math.min(this.layoutDelegate.getContentSize().height,o.y+r);for(;o&&o.y+o.height<n;){let i=this.getKeyBelow(l);if(i==null)break;o=this.layoutDelegate.getItemRect(i),l=i;}return l}getKeyForSearch(e,l){let o=l??null;if(!this.collator)return null;let r=this.collection;if(o=l??this.getFirstKey(),o==null)return null;let n=r.getItem(o);if(!n)return null;n.type==="cell"&&(o=n.parentKey??null);let i=false;for(;o!=null;){let d=r.getItem(o);if(!d)return null;if(d.textValue){let a=d.textValue.slice(0,e.length);if(this.collator.compare(a,e)===0)return this.isRow(d)&&this.focusMode==="cell"?c$5(b$9(d,this.collection))?.key??null:d.key}o=this.findNextKey(o,a=>a.type==="item"),o==null&&!i&&(o=this.getFirstKey(),i=true);}return null}},St=class{layout;constructor(e){this.layout=e;}getContentSize(){return this.layout.getContentSize()}getItemRect(e){return this.layout.getLayoutInfo(e)?.rect||null}getVisibleRect(){return this.layout.virtualizer.visibleRect}};var ge=new WeakMap;function Il(t,e,l){let{isVirtualized:o,disallowTypeAhead:r,keyboardDelegate:n,focusMode:i,scrollRef:d,getRowText:a,onRowAction:u,onCellAction:c,escapeKeyBehavior:s="clearSelection",shouldSelectOnPressUp:b,keyboardNavigationBehavior:f="arrow"}=t,{selectionManager:p}=e;!t["aria-label"]&&!t["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let m=a$g({usage:"search",sensitivity:"base"}),{direction:T}=b$1(),g=e.selectionManager.disabledBehavior,w=useMemo(()=>n||new he({collection:e.collection,disabledKeys:e.disabledKeys,disabledBehavior:g,ref:l,direction:T,collator:m,focusMode:i}),[n,e.collection,e.disabledKeys,g,l,T,m,i]),{collectionProps:S}=c$6({ref:l,selectionManager:p,keyboardDelegate:w,isVirtualized:o,scrollRef:d,disallowTypeAhead:r,escapeKeyBehavior:s}),C=c$2(t.id);ge.set(e,{keyboardDelegate:w,actions:{onRowAction:u,onCellAction:c},shouldSelectOnPressUp:b,keyboardNavigationBehavior:f});let D=c$7({selectionManager:p,hasItemActions:!!(u||c),ref:l}),P=a$3(t,{labelable:true}),h=useCallback(N=>{if(p.isFocused){h$3(N.currentTarget,j$2(N))||p.setFocused(false);return}h$3(N.currentTarget,j$2(N))&&p.setFocused(true);},[p]),R=useMemo(()=>({onBlur:S.onBlur,onFocus:h}),[h,S.onBlur]),x=a$m(l,{isDisabled:e.collection.size!==0}),v=g$1(P,{role:"grid",id:C,"aria-multiselectable":p.selectionMode==="multiple"?"true":void 0},e.isKeyboardNavigationDisabled?R:S,e.collection.size===0&&{tabIndex:x?-1:0}||void 0,D);return o&&(v["aria-rowcount"]=e.collection.size,v["aria-colcount"]=e.collection.columnCount),b$a({getRowText:a},e),{gridProps:v}}var Ze=new WeakMap;function Ct(t){return typeof t=="string"?t.replace(/\s*/g,""):""+t}function _e(t,e){let l=Ze.get(t);if(!l)throw new Error("Unknown grid");return `${l}-${Ct(e)}`}function wt(t,e,l){let o=Ze.get(t);if(!o)throw new Error("Unknown grid");return `${o}-${Ct(e)}-${Ct(l)}`}function De(t,e){return [...t.collection.rowHeaderColumnKeys].map(l=>wt(t,e,l)).join(" ")}var J={"ar-AE":{ascending:"\u062A\u0635\u0627\u0639\u062F\u064A",ascendingSort:t=>`\u062A\u0631\u062A\u064A\u0628 \u062D\u0633\u0628 \u0627\u0644\u0639\u0645\u0648\u062F ${t.columnName} \u0628\u062A\u0631\u062A\u064A\u0628 \u062A\u0635\u0627\u0639\u062F\u064A`,collapse:"\u0637\u064A",columnSize:t=>`${t.value} \u0628\u0627\u0644\u0628\u0643\u0633\u0644`,descending:"\u062A\u0646\u0627\u0632\u0644\u064A",descendingSort:t=>`\u062A\u0631\u062A\u064A\u0628 \u062D\u0633\u0628 \u0627\u0644\u0639\u0645\u0648\u062F ${t.columnName} \u0628\u062A\u0631\u062A\u064A\u0628 \u062A\u0646\u0627\u0632\u0644\u064A`,expand:"\u062A\u0645\u062F\u064A\u062F",resizerDescription:"\u0627\u0636\u063A\u0637 \u0639\u0644\u0649 \u0645\u0641\u062A\u0627\u062D Enter \u0644\u0628\u062F\u0621 \u062A\u063A\u064A\u064A\u0631 \u0627\u0644\u062D\u062C\u0645",select:"\u062A\u062D\u062F\u064A\u062F",selectAll:"\u062A\u062D\u062F\u064A\u062F \u0627\u0644\u0643\u0644",sortable:"\u0639\u0645\u0648\u062F \u0642\u0627\u0628\u0644 \u0644\u0644\u062A\u0631\u062A\u064A\u0628"},"bg-BG":{ascending:"\u0432\u044A\u0437\u0445\u043E\u0434\u044F\u0449",ascendingSort:t=>`\u0441\u043E\u0440\u0442\u0438\u0440\u0430\u043D\u043E \u043F\u043E \u043A\u043E\u043B\u043E\u043D\u0430 ${t.columnName} \u0432\u044A\u0432 \u0432\u044A\u0437\u0445\u043E\u0434\u044F\u0449 \u0440\u0435\u0434`,collapse:"\u0421\u0432\u0438\u0432\u0430\u043D\u0435",columnSize:t=>`${t.value} \u043F\u0438\u043A\u0441\u0435\u043B\u0430`,descending:"\u043D\u0438\u0437\u0445\u043E\u0434\u044F\u0449",descendingSort:t=>`\u0441\u043E\u0440\u0442\u0438\u0440\u0430\u043D\u043E \u043F\u043E \u043A\u043E\u043B\u043E\u043D\u0430 ${t.columnName} \u0432 \u043D\u0438\u0437\u0445\u043E\u0434\u044F\u0449 \u0440\u0435\u0434`,expand:"\u0420\u0430\u0437\u0448\u0438\u0440\u044F\u0432\u0430\u043D\u0435",resizerDescription:"\u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u201EEnter\u201C, \u0437\u0430 \u0434\u0430 \u0437\u0430\u043F\u043E\u0447\u043D\u0435\u0442\u0435 \u0434\u0430 \u043F\u0440\u0435\u043E\u0440\u0430\u0437\u043C\u0435\u0440\u044F\u0432\u0430\u0442\u0435",select:"\u0418\u0437\u0431\u0435\u0440\u0435\u0442\u0435",selectAll:"\u0418\u0437\u0431\u0435\u0440\u0435\u0442\u0435 \u0432\u0441\u0438\u0447\u043A\u043E",sortable:"\u0441\u043E\u0440\u0442\u0438\u0440\u0430\u0449\u0430 \u043A\u043E\u043B\u043E\u043D\u0430"},"cs-CZ":{ascending:"vzestupn\u011B",ascendingSort:t=>`\u0159azeno vzestupn\u011B podle sloupce ${t.columnName}`,collapse:"Sbalit",columnSize:t=>`${t.value} pixel\u016F`,descending:"sestupn\u011B",descendingSort:t=>`\u0159azeno sestupn\u011B podle sloupce ${t.columnName}`,expand:"Rozt\xE1hnout",resizerDescription:"Stisknut\xEDm kl\xE1vesy Enter za\u010Dnete m\u011Bnit velikost",select:"Vybrat",selectAll:"Vybrat v\u0161e",sortable:"sloupec s mo\u017Enost\xED \u0159azen\xED"},"da-DK":{ascending:"stigende",ascendingSort:t=>`sorteret efter kolonne ${t.columnName} i stigende r\xE6kkef\xF8lge`,collapse:"Skjul",columnSize:t=>`${t.value} pixels`,descending:"faldende",descendingSort:t=>`sorteret efter kolonne ${t.columnName} i faldende r\xE6kkef\xF8lge`,expand:"Udvid",resizerDescription:"Tryk p\xE5 Enter for at \xE6ndre st\xF8rrelse",select:"V\xE6lg",selectAll:"V\xE6lg alle",sortable:"sorterbar kolonne"},"de-DE":{ascending:"aufsteigend",ascendingSort:t=>`sortiert nach Spalte ${t.columnName} in aufsteigender Reihenfolge`,collapse:"Reduzieren",columnSize:t=>`${t.value} Pixel`,descending:"absteigend",descendingSort:t=>`sortiert nach Spalte ${t.columnName} in absteigender Reihenfolge`,expand:"Erweitern",resizerDescription:"Eingabetaste zum Starten der Gr\xF6\xDFen\xE4nderung dr\xFCcken",select:"Ausw\xE4hlen",selectAll:"Alles ausw\xE4hlen",sortable:"sortierbare Spalte"},"el-GR":{ascending:"\u03B1\u03CD\u03BE\u03BF\u03C5\u03C3\u03B1",ascendingSort:t=>`\u03B4\u03B9\u03B1\u03BB\u03BF\u03B3\u03AE \u03B1\u03BD\u03AC \u03C3\u03C4\u03AE\u03BB\u03B7 ${t.columnName} \u03C3\u03B5 \u03B1\u03CD\u03BE\u03BF\u03C5\u03C3\u03B1 \u03C3\u03B5\u03B9\u03C1\u03AC`,collapse:"\u03A3\u03CD\u03BC\u03C0\u03C4\u03C5\u03BE\u03B7",columnSize:t=>`${t.value} pixel`,descending:"\u03C6\u03B8\u03AF\u03BD\u03BF\u03C5\u03C3\u03B1",descendingSort:t=>`\u03B4\u03B9\u03B1\u03BB\u03BF\u03B3\u03AE \u03B1\u03BD\u03AC \u03C3\u03C4\u03AE\u03BB\u03B7 ${t.columnName} \u03C3\u03B5 \u03C6\u03B8\u03AF\u03BD\u03BF\u03C5\u03C3\u03B1 \u03C3\u03B5\u03B9\u03C1\u03AC`,expand:"\u0391\u03BD\u03AC\u03C0\u03C4\u03C5\u03BE\u03B7",resizerDescription:"\u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 Enter \u03B3\u03B9\u03B1 \u03AD\u03BD\u03B1\u03C1\u03BE\u03B7 \u03C4\u03B7\u03C2 \u03B1\u03BB\u03BB\u03B1\u03B3\u03AE\u03C2 \u03BC\u03B5\u03B3\u03AD\u03B8\u03BF\u03C5\u03C2",select:"\u0395\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE",selectAll:"\u0395\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE \u03CC\u03BB\u03C9\u03BD",sortable:"\u03A3\u03C4\u03AE\u03BB\u03B7 \u03B4\u03B9\u03B1\u03BB\u03BF\u03B3\u03AE\u03C2"},"en-US":{select:"Select",selectAll:"Select All",sortable:"sortable column",ascending:"ascending",descending:"descending",ascendingSort:t=>`sorted by column ${t.columnName} in ascending order`,descendingSort:t=>`sorted by column ${t.columnName} in descending order`,columnSize:t=>`${t.value} pixels`,resizerDescription:"Press Enter to start resizing",expand:"Expand",collapse:"Collapse"},"es-ES":{ascending:"ascendente",ascendingSort:t=>`ordenado por columna ${t.columnName} en sentido ascendente`,collapse:"Contraer",columnSize:t=>`${t.value} p\xEDxeles`,descending:"descendente",descendingSort:t=>`ordenado por columna ${t.columnName} en orden descendente`,expand:"Ampliar",resizerDescription:"Pulse Intro para empezar a redimensionar",select:"Seleccionar",selectAll:"Seleccionar todos",sortable:"columna ordenable"},"et-EE":{ascending:"t\xF5usev j\xE4rjestus",ascendingSort:t=>`sorditud veeru j\xE4rgi ${t.columnName} t\xF5usvas j\xE4rjestuses`,collapse:"Ahenda",columnSize:t=>`${t.value} pikslit`,descending:"laskuv j\xE4rjestus",descendingSort:t=>`sorditud veeru j\xE4rgi ${t.columnName} laskuvas j\xE4rjestuses`,expand:"Laienda",resizerDescription:"Suuruse muutmise alustamiseks vajutage klahvi Enter",select:"Vali",selectAll:"Vali k\xF5ik",sortable:"sorditav veerg"},"fi-FI":{ascending:"nouseva",ascendingSort:t=>`lajiteltu sarakkeen ${t.columnName} mukaan nousevassa j\xE4rjestyksess\xE4`,collapse:"Pienenn\xE4",columnSize:t=>`${t.value} pikseli\xE4`,descending:"laskeva",descendingSort:t=>`lajiteltu sarakkeen ${t.columnName} mukaan laskevassa j\xE4rjestyksess\xE4`,expand:"Laajenna",resizerDescription:"Aloita koon muutos painamalla Enter-n\xE4pp\xE4int\xE4",select:"Valitse",selectAll:"Valitse kaikki",sortable:"lajiteltava sarake"},"fr-FR":{ascending:"croissant",ascendingSort:t=>`tri\xE9 en fonction de la colonne\xA0${t.columnName} par ordre croissant`,collapse:"R\xE9duire",columnSize:t=>`${t.value}\xA0pixels`,descending:"d\xE9croissant",descendingSort:t=>`tri\xE9 en fonction de la colonne\xA0${t.columnName} par ordre d\xE9croissant`,expand:"D\xE9velopper",resizerDescription:"Appuyez sur Entr\xE9e pour commencer le redimensionnement.",select:"S\xE9lectionner",selectAll:"S\xE9lectionner tout",sortable:"colonne triable"},"he-IL":{ascending:"\u05E2\u05D5\u05DC\u05D4",ascendingSort:t=>`\u05DE\u05D5\u05D9\u05DF \u05DC\u05E4\u05D9 \u05E2\u05DE\u05D5\u05D3\u05D4 ${t.columnName} \u05D1\u05E1\u05D3\u05E8 \u05E2\u05D5\u05DC\u05D4`,collapse:"\u05DB\u05D5\u05D5\u05E5",columnSize:t=>`${t.value} \u05E4\u05D9\u05E7\u05E1\u05DC\u05D9\u05DD`,descending:"\u05D9\u05D5\u05E8\u05D3",descendingSort:t=>`\u05DE\u05D5\u05D9\u05DF \u05DC\u05E4\u05D9 \u05E2\u05DE\u05D5\u05D3\u05D4 ${t.columnName} \u05D1\u05E1\u05D3\u05E8 \u05D9\u05D5\u05E8\u05D3`,expand:"\u05D4\u05E8\u05D7\u05D1",resizerDescription:"\u05D4\u05E7\u05E9 Enter \u05DB\u05D3\u05D9 \u05DC\u05E9\u05E0\u05D5\u05EA \u05D0\u05EA \u05D4\u05D2\u05D5\u05D3\u05DC",select:"\u05D1\u05D7\u05E8",selectAll:"\u05D1\u05D7\u05E8 \u05D4\u05DB\u05D5\u05DC",sortable:"\u05E2\u05DE\u05D5\u05D3\u05D4 \u05E9\u05E0\u05D9\u05EA\u05DF \u05DC\u05DE\u05D9\u05D9\u05DF"},"hr-HR":{ascending:"rastu\u0107i",ascendingSort:t=>`razvrstano po stupcima ${t.columnName} rastu\u0107em redoslijedom`,collapse:"Sa\u017Emi",columnSize:t=>`${t.value} piksela`,descending:"padaju\u0107i",descendingSort:t=>`razvrstano po stupcima ${t.columnName} padaju\u0107im redoslijedom`,expand:"Pro\u0161iri",resizerDescription:"Pritisnite Enter da biste zapo\u010Deli promenu veli\u010Dine",select:"Odaberite",selectAll:"Odaberite sve",sortable:"stupac koji se mo\u017Ee razvrstati"},"hu-HU":{ascending:"n\xF6vekv\u0151",ascendingSort:t=>`rendezve a(z) ${t.columnName} oszlop szerint, n\xF6vekv\u0151 sorrendben`,collapse:"\xD6sszecsuk\xE1s",columnSize:t=>`${t.value} k\xE9ppont`,descending:"cs\xF6kken\u0151",descendingSort:t=>`rendezve a(z) ${t.columnName} oszlop szerint, cs\xF6kken\u0151 sorrendben`,expand:"Kibont\xE1s",resizerDescription:"Nyomja le az Enter billenty\u0171t az \xE1tm\xE9retez\xE9s megkezd\xE9s\xE9hez",select:"Kijel\xF6l\xE9s",selectAll:"\xD6sszes kijel\xF6l\xE9se",sortable:"rendezend\u0151 oszlop"},"it-IT":{ascending:"crescente",ascendingSort:t=>`in ordine crescente in base alla colonna ${t.columnName}`,collapse:"Comprimi",columnSize:t=>`${t.value} pixel`,descending:"decrescente",descendingSort:t=>`in ordine decrescente in base alla colonna ${t.columnName}`,expand:"Espandi",resizerDescription:"Premi Invio per iniziare a ridimensionare",select:"Seleziona",selectAll:"Seleziona tutto",sortable:"colonna ordinabile"},"ja-JP":{ascending:"\u6607\u9806",ascendingSort:t=>`\u5217 ${t.columnName} \u3092\u6607\u9806\u3067\u4E26\u3079\u66FF\u3048`,collapse:"\u6298\u308A\u305F\u305F\u3080",columnSize:t=>`${t.value} \u30D4\u30AF\u30BB\u30EB`,descending:"\u964D\u9806",descendingSort:t=>`\u5217 ${t.columnName} \u3092\u964D\u9806\u3067\u4E26\u3079\u66FF\u3048`,expand:"\u5C55\u958B",resizerDescription:"Enter \u30AD\u30FC\u3092\u62BC\u3057\u3066\u30B5\u30A4\u30BA\u5909\u66F4\u3092\u958B\u59CB",select:"\u9078\u629E",selectAll:"\u3059\u3079\u3066\u9078\u629E",sortable:"\u4E26\u3079\u66FF\u3048\u53EF\u80FD\u306A\u5217"},"ko-KR":{ascending:"\uC624\uB984\uCC28\uC21C",ascendingSort:t=>`${t.columnName} \uC5F4\uC744 \uAE30\uC900\uC73C\uB85C \uC624\uB984\uCC28\uC21C\uC73C\uB85C \uC815\uB82C\uB428`,collapse:"\uC811\uAE30",columnSize:t=>`${t.value} \uD53D\uC140`,descending:"\uB0B4\uB9BC\uCC28\uC21C",descendingSort:t=>`${t.columnName} \uC5F4\uC744 \uAE30\uC900\uC73C\uB85C \uB0B4\uB9BC\uCC28\uC21C\uC73C\uB85C \uC815\uB82C\uB428`,expand:"\uD3BC\uCE58\uAE30",resizerDescription:"\uD06C\uAE30 \uC870\uC815\uC744 \uC2DC\uC791\uD558\uB824\uBA74 Enter\uB97C \uB204\uB974\uC138\uC694.",select:"\uC120\uD0DD",selectAll:"\uBAA8\uB450 \uC120\uD0DD",sortable:"\uC815\uB82C \uAC00\uB2A5\uD55C \uC5F4"},"lt-LT":{ascending:"did\u0117jan\u010Dia tvarka",ascendingSort:t=>`surikiuota pagal stulpel\u012F ${t.columnName} did\u0117jan\u010Dia tvarka`,collapse:"Sutraukti",columnSize:t=>`${t.value} piks.`,descending:"ma\u017E\u0117jan\u010Dia tvarka",descendingSort:t=>`surikiuota pagal stulpel\u012F ${t.columnName} ma\u017E\u0117jan\u010Dia tvarka`,expand:"I\u0161skleisti",resizerDescription:"Paspauskite \u201EEnter\u201C, kad prad\u0117tum\u0117te keisti dyd\u012F",select:"Pasirinkti",selectAll:"Pasirinkti visk\u0105",sortable:"rikiuojamas stulpelis"},"lv-LV":{ascending:"augo\u0161\u0101 sec\u012Bb\u0101",ascendingSort:t=>`k\u0101rtots p\u0113c kolonnas ${t.columnName} augo\u0161\u0101 sec\u012Bb\u0101`,collapse:"Sak\u013Caut",columnSize:t=>`${t.value} pikse\u013Ci`,descending:"dilsto\u0161\u0101 sec\u012Bb\u0101",descendingSort:t=>`k\u0101rtots p\u0113c kolonnas ${t.columnName} dilsto\u0161\u0101 sec\u012Bb\u0101`,expand:"Izv\u0113rst",resizerDescription:"Nospiediet Enter, lai s\u0101ktu izm\u0113ru main\u012B\u0161anu",select:"Atlas\u012Bt",selectAll:"Atlas\u012Bt visu",sortable:"k\u0101rtojam\u0101 kolonna"},"nb-NO":{ascending:"stigende",ascendingSort:t=>`sortert etter kolonne ${t.columnName} i stigende rekkef\xF8lge`,collapse:"Skjul",columnSize:t=>`${t.value} piksler`,descending:"synkende",descendingSort:t=>`sortert etter kolonne ${t.columnName} i synkende rekkef\xF8lge`,expand:"Utvid",resizerDescription:"Trykk p\xE5 Enter for \xE5 starte st\xF8rrelsesendring",select:"Velg",selectAll:"Velg alle",sortable:"kolonne som kan sorteres"},"nl-NL":{ascending:"oplopend",ascendingSort:t=>`gesorteerd in oplopende volgorde in kolom ${t.columnName}`,collapse:"Samenvouwen",columnSize:t=>`${t.value} pixels`,descending:"aflopend",descendingSort:t=>`gesorteerd in aflopende volgorde in kolom ${t.columnName}`,expand:"Uitvouwen",resizerDescription:"Druk op Enter om het formaat te wijzigen",select:"Selecteren",selectAll:"Alles selecteren",sortable:"sorteerbare kolom"},"pl-PL":{ascending:"rosn\u0105co",ascendingSort:t=>`posortowano wed\u0142ug kolumny ${t.columnName} w porz\u0105dku rosn\u0105cym`,collapse:"Zwi\u0144",columnSize:t=>`Liczba pikseli: ${t.value}`,descending:"malej\u0105co",descendingSort:t=>`posortowano wed\u0142ug kolumny ${t.columnName} w porz\u0105dku malej\u0105cym`,expand:"Rozwi\u0144",resizerDescription:"Naci\u015Bnij Enter, aby rozpocz\u0105\u0107 zmienianie rozmiaru",select:"Zaznacz",selectAll:"Zaznacz wszystko",sortable:"kolumna z mo\u017Cliwo\u015Bci\u0105 sortowania"},"pt-BR":{ascending:"crescente",ascendingSort:t=>`classificado pela coluna ${t.columnName} em ordem crescente`,collapse:"Recolher",columnSize:t=>`${t.value} pixels`,descending:"decrescente",descendingSort:t=>`classificado pela coluna ${t.columnName} em ordem decrescente`,expand:"Expandir",resizerDescription:"Pressione Enter para come\xE7ar a redimensionar",select:"Selecionar",selectAll:"Selecionar tudo",sortable:"coluna classific\xE1vel"},"pt-PT":{ascending:"ascendente",ascendingSort:t=>`Ordenar por coluna ${t.columnName} em ordem ascendente`,collapse:"Colapsar",columnSize:t=>`${t.value} pixels`,descending:"descendente",descendingSort:t=>`Ordenar por coluna ${t.columnName} em ordem descendente`,expand:"Expandir",resizerDescription:"Prima Enter para iniciar o redimensionamento",select:"Selecionar",selectAll:"Selecionar tudo",sortable:"Coluna orden\xE1vel"},"ro-RO":{ascending:"cresc\u0103toare",ascendingSort:t=>`sortate dup\u0103 coloana ${t.columnName} \xEEn ordine cresc\u0103toare`,collapse:"Restr\xE2nge\u021Bi",columnSize:t=>`${t.value} pixeli`,descending:"descresc\u0103toare",descendingSort:t=>`sortate dup\u0103 coloana ${t.columnName} \xEEn ordine descresc\u0103toare`,expand:"Extinde\u021Bi",resizerDescription:"Ap\u0103sa\u021Bi pe Enter pentru a \xEEncepe redimensionarea",select:"Selectare",selectAll:"Selectare total\u0103",sortable:"coloan\u0103 sortabil\u0103"},"ru-RU":{ascending:"\u0432\u043E\u0437\u0440\u0430\u0441\u0442\u0430\u043D\u0438\u0435",ascendingSort:t=>`\u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0442\u043E\u043B\u0431\u0435\u0446 ${t.columnName} \u0432 \u043F\u043E\u0440\u044F\u0434\u043A\u0435 \u0432\u043E\u0437\u0440\u0430\u0441\u0442\u0430\u043D\u0438\u044F`,collapse:"\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C",columnSize:t=>`${t.value} \u043F\u0438\u043A\u0441.`,descending:"\u0443\u0431\u044B\u0432\u0430\u043D\u0438\u0435",descendingSort:t=>`\u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0442\u043E\u043B\u0431\u0435\u0446 ${t.columnName} \u0432 \u043F\u043E\u0440\u044F\u0434\u043A\u0435 \u0443\u0431\u044B\u0432\u0430\u043D\u0438\u044F`,expand:"\u0420\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C",resizerDescription:"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0443 Enter \u0434\u043B\u044F \u043D\u0430\u0447\u0430\u043B\u0430 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u0440\u0430\u0437\u043C\u0435\u0440\u043E\u0432",select:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C",selectAll:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0432\u0441\u0435",sortable:"\u0441\u043E\u0440\u0442\u0438\u0440\u0443\u0435\u043C\u044B\u0439 \u0441\u0442\u043E\u043B\u0431\u0435\u0446"},"sk-SK":{ascending:"vzostupne",ascendingSort:t=>`zoraden\xE9 zostupne pod\u013Ea st\u013Apca ${t.columnName}`,collapse:"Zbali\u0165",columnSize:t=>`Po\u010Det pixelov: ${t.value}`,descending:"zostupne",descendingSort:t=>`zoraden\xE9 zostupne pod\u013Ea st\u013Apca ${t.columnName}`,expand:"Rozbali\u0165",resizerDescription:"Stla\u010Den\xEDm kl\xE1vesu Enter za\u010Dnete zmenu ve\u013Ekosti",select:"Vybra\u0165",selectAll:"Vybra\u0165 v\u0161etko",sortable:"zoradite\u013En\xFD st\u013Apec"},"sl-SI":{ascending:"nara\u0161\u010Dajo\u010De",ascendingSort:t=>`razvr\u0161\u010Deno po stolpcu ${t.columnName} v nara\u0161\u010Dajo\u010Dem vrstnem redu`,collapse:"Strni",columnSize:t=>`${t.value} slikovnih pik`,descending:"padajo\u010De",descendingSort:t=>`razvr\u0161\u010Deno po stolpcu ${t.columnName} v padajo\u010Dem vrstnem redu`,expand:"Raz\u0161iri",resizerDescription:"Pritisnite tipko Enter da za\u010Dnete spreminjati velikost",select:"Izberite",selectAll:"Izberite vse",sortable:"razvrstljivi stolpec"},"sr-SP":{ascending:"rastu\u0107i",ascendingSort:t=>`sortirano po kolonama ${t.columnName} rastu\u0107im redosledom`,collapse:"Skupi",columnSize:t=>`${t.value} piksela`,descending:"padaju\u0107i",descendingSort:t=>`sortirano po kolonama ${t.columnName} padaju\u0107im redosledom`,expand:"Pro\u0161iri",resizerDescription:"Pritisnite Enter da biste zapo\u010Deli promenu veli\u010Dine",select:"Izaberite",selectAll:"Izaberite sve",sortable:"kolona koja se mo\u017Ee sortirati"},"sv-SE":{ascending:"stigande",ascendingSort:t=>`sorterat p\xE5 kolumn ${t.columnName} i stigande ordning`,collapse:"D\xF6lj",columnSize:t=>`${t.value} pixlar`,descending:"fallande",descendingSort:t=>`sorterat p\xE5 kolumn ${t.columnName} i fallande ordning`,expand:"Expandera",resizerDescription:"Tryck p\xE5 Retur f\xF6r att b\xF6rja \xE4ndra storlek",select:"Markera",selectAll:"Markera allt",sortable:"sorterbar kolumn"},"tr-TR":{ascending:"artan s\u0131rada",ascendingSort:t=>`${t.columnName} s\xFCtuna g\xF6re artan d\xFCzende s\u0131rala`,collapse:"Daralt",columnSize:t=>`${t.value} piksel`,descending:"azalan s\u0131rada",descendingSort:t=>`${t.columnName} s\xFCtuna g\xF6re azalan d\xFCzende s\u0131rala`,expand:"Geni\u015Flet",resizerDescription:"Yeniden boyutland\u0131rmak i\xE7in Enter'a bas\u0131n",select:"Se\xE7",selectAll:"T\xFCm\xFCn\xFC Se\xE7",sortable:"S\u0131ralanabilir s\xFCtun"},"uk-UA":{ascending:"\u0432\u0438\u0441\u0445\u0456\u0434\u043D\u0438\u0439",ascendingSort:t=>`\u0432\u0456\u0434\u0441\u043E\u0440\u0442\u043E\u0432\u0430\u043D\u043E \u0437\u0430 \u0441\u0442\u043E\u0432\u043F\u0446\u0435\u043C ${t.columnName} \u0443 \u0432\u0438\u0441\u0445\u0456\u0434\u043D\u043E\u043C\u0443 \u043F\u043E\u0440\u044F\u0434\u043A\u0443`,collapse:"\u0417\u0433\u043E\u0440\u043D\u0443\u0442\u0438",columnSize:t=>`${t.value} \u043F\u0456\u043A\u0441.`,descending:"\u043D\u0438\u0437\u0445\u0456\u0434\u043D\u0438\u0439",descendingSort:t=>`\u0432\u0456\u0434\u0441\u043E\u0440\u0442\u043E\u0432\u0430\u043D\u043E \u0437\u0430 \u0441\u0442\u043E\u0432\u043F\u0446\u0435\u043C ${t.columnName} \u0443 \u043D\u0438\u0437\u0445\u0456\u0434\u043D\u043E\u043C\u0443 \u043F\u043E\u0440\u044F\u0434\u043A\u0443`,expand:"\u0420\u043E\u0437\u0433\u043E\u0440\u043D\u0443\u0442\u0438",resizerDescription:"\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C Enter, \u0449\u043E\u0431 \u043F\u043E\u0447\u0430\u0442\u0438 \u0437\u043C\u0456\u043D\u0443 \u0440\u043E\u0437\u043C\u0456\u0440\u0443",select:"\u0412\u0438\u0431\u0440\u0430\u0442\u0438",selectAll:"\u0412\u0438\u0431\u0440\u0430\u0442\u0438 \u0432\u0441\u0435",sortable:"\u0441\u043E\u0440\u0442\u0443\u0432\u0430\u043B\u044C\u043D\u0438\u0439 \u0441\u0442\u043E\u0432\u043F\u0435\u0446\u044C"},"zh-CN":{ascending:"\u5347\u5E8F",ascendingSort:t=>`\u6309\u5217 ${t.columnName} \u5347\u5E8F\u6392\u5E8F`,collapse:"\u6298\u53E0",columnSize:t=>`${t.value} \u50CF\u7D20`,descending:"\u964D\u5E8F",descendingSort:t=>`\u6309\u5217 ${t.columnName} \u964D\u5E8F\u6392\u5E8F`,expand:"\u6269\u5C55",resizerDescription:"\u6309 Enter \u5F00\u59CB\u8C03\u6574\u5927\u5C0F\u3002",select:"\u9009\u62E9",selectAll:"\u5168\u9009",sortable:"\u53EF\u6392\u5E8F\u7684\u5217"},"zh-TW":{ascending:"\u905E\u589E",ascendingSort:t=>`\u5DF2\u4F9D\u64DA\u300C${t.columnName}\u300D\u6B04\u905E\u589E\u6392\u5E8F`,collapse:"\u6536\u5408",columnSize:t=>`${t.value} \u50CF\u7D20`,descending:"\u905E\u6E1B",descendingSort:t=>`\u5DF2\u4F9D\u64DA\u300C${t.columnName}\u300D\u6B04\u905E\u6E1B\u6392\u5E8F`,expand:"\u5C55\u958B",resizerDescription:"\u6309 Enter \u9375\u4EE5\u958B\u59CB\u8ABF\u6574\u5927\u5C0F",select:"\u9078\u53D6",selectAll:"\u5168\u9078",sortable:"\u53EF\u6392\u5E8F\u7684\u6B04"}};var Ye=class extends he{isCell(e){return e.type==="cell"||e.type==="rowheader"||e.type==="column"}getKeyBelow(e,l){let o=this.collection.getItem(e);if(!o)return null;if(o.type==="column"){let r=c$5(b$9(o,this.collection));if(r)return r.key;let n=this.getFirstKey();return n==null||!this.collection.getItem(n)?null:super.getKeyForItemInRowByIndex(n,o.index)}return super.getKeyBelow(e,l)}getKeyAbove(e,l){let o=this.collection.getItem(e);if(!o)return null;if(o.type==="column"){let i=o.parentKey!=null?this.collection.getItem(o.parentKey):null;return i&&i.type==="column"?i.key:null}let r=super.getKeyAbove(e,l),n=r!=null?this.collection.getItem(r):null;return n&&n.type!=="headerrow"?r:this.isCell(o)?this.collection.columns[o.index].key:this.collection.columns[0].key}findNextColumnKey(e){let l=this.findNextKey(e.key,r=>r.type==="column");if(l!=null)return l;let o=this.collection.headerRows[e.level];for(let r of b$9(o,this.collection))if(r.type==="column")return r.key;return null}findPreviousColumnKey(e){let l=this.findPreviousKey(e.key,n=>n.type==="column");if(l!=null)return l;let o=this.collection.headerRows[e.level],r=[...b$9(o,this.collection)];for(let n=r.length-1;n>=0;n--){let i=r[n];if(i.type==="column")return i.key}return null}getKeyRightOf(e){let l=this.collection.getItem(e);return l?l.type==="column"?this.direction==="rtl"?this.findPreviousColumnKey(l):this.findNextColumnKey(l):super.getKeyRightOf(e):null}getKeyLeftOf(e){let l=this.collection.getItem(e);return l?l.type==="column"?this.direction==="rtl"?this.findNextColumnKey(l):this.findPreviousColumnKey(l):super.getKeyLeftOf(e):null}getKeyForSearch(e,l){if(!this.collator)return null;let o=this.collection,r=l??this.getFirstKey();if(r==null)return null;let n=o.getItem(r);n?.type==="cell"&&(r=n.parentKey??null);let i=false;for(;r!=null;){let d=o.getItem(r);if(!d)return null;if(d.textValue){let a=d.textValue.slice(0,e.length);if(this.collator.compare(a,e)===0)return d.key}for(let a of b$9(d,this.collection)){let u=o.columns[a.index];if(o.rowHeaderColumnKeys.has(u.key)&&a.textValue){let c=a.textValue.slice(0,e.length);if(this.collator.compare(c,e)===0)return (l!=null?o.getItem(l):n)?.type==="cell"?a.key:d.key}}r=this.getKeyBelow(r),r==null&&!i&&(r=this.getFirstKey(),i=true);}return null}};function xt(t,e,l){let{keyboardDelegate:o,isVirtualized:r,layoutDelegate:n,layout:i}=t,d=a$g({usage:"search",sensitivity:"base"}),{direction:a}=b$1(),u=e.selectionManager.disabledBehavior,c=useMemo(()=>o||new Ye({collection:e.collection,disabledKeys:e.disabledKeys,disabledBehavior:u,ref:l,direction:a,collator:d,layoutDelegate:n,layout:i}),[o,e.collection,e.disabledKeys,u,l,a,d,n,i]),s=c$2(t.id);Ze.set(e,s);let{gridProps:b}=Il({...t,id:s,keyboardDelegate:c},e,l);r&&(b["aria-rowcount"]=e.collection.size+e.collection.headerRows.length),e.treeColumn!=null&&(b.role="treegrid");let{column:f,direction:p}=e.sortDescriptor||{},m=b$6(J,"@react-aria/table"),T=useMemo(()=>{let w=e.collection.columns.find(S=>S.key===f)?.textValue??"";return p&&f?m.format(`${p}Sort`,{columnName:w}):void 0},[p,f,e.collection.columns]),g=d$2(T,l);return c$3(()=>{T&&a$h(T,"assertive",500);},[T]),{gridProps:g$1(b,g,{"aria-describedby":[g["aria-describedby"],b["aria-describedby"]].filter(Boolean).join(" ")})}}function Xe(t,e,l){let{node:o,isVirtualized:r,focusMode:n,allowsArrowNavigation:i,shouldSelectOnPressUp:d,onAction:a}=t,{direction:u}=b$1(),{keyboardDelegate:c,actions:{onCellAction:s},keyboardNavigationBehavior:b}=ge.get(e),f=n??(b==="tab"?"cell":"child"),p=useRef(null),m$1=useRef(null),T=()=>{if(l.current){let h=d$6(l.current);if(f==="child"){let R=i$2(a$c(l.current));if(m(l.current)&&l.current!==R)return;let x=a$c(l.current);if(!R||R===x.body||R===l.current){let j=m$1.current;if(j&&p.current===o.key&&h$3(l.current,j)){i$1(j);return}}let N=e.selectionManager.childFocusStrategy==="last"?kt(h):h.firstChild();if(N){i$1(N);return}}(p.current!=null&&o.key!==p.current||!m(l.current))&&i$1(l.current);}},{itemProps:g,isPressed:w}=d$4({selectionManager:e.selectionManager,key:o.key,ref:l,isVirtualized:r,focus:T,shouldSelectOnPressUp:d,onAction:s?()=>s(o.key):a,isDisabled:e.collection.size===0}),S=h=>{let R=i$2(a$c(l.current));if(!h$3(h.currentTarget,j$2(h))||e.isKeyboardNavigationDisabled||!l.current||!R)return;let x=d$6(l.current);switch(x.currentNode=R,h.key){case "ArrowLeft":{let v=u==="rtl"?x.nextNode():x.previousNode();if(f==="child"&&v===l.current&&(v=null),h.preventDefault(),h.stopPropagation(),v)i$1(v),f$4(v,{containingElement:b$c(l.current)});else {if(c.getKeyLeftOf?.(o.key)!==o.key){l.current.parentElement?.dispatchEvent(new KeyboardEvent(h.nativeEvent.type,h.nativeEvent));break}f==="cell"&&u==="rtl"?(i$1(l.current),f$4(l.current,{containingElement:b$c(l.current)})):(x.currentNode=l.current,v=u==="rtl"?x.firstChild():kt(x),v&&(i$1(v),f$4(v,{containingElement:b$c(l.current)})));}break}case "ArrowRight":{let v=u==="rtl"?x.previousNode():x.nextNode();if(f==="child"&&v===l.current&&(v=null),h.preventDefault(),h.stopPropagation(),v)i$1(v),f$4(v,{containingElement:b$c(l.current)});else {if(c.getKeyRightOf?.(o.key)!==o.key){l.current.parentElement?.dispatchEvent(new KeyboardEvent(h.nativeEvent.type,h.nativeEvent));break}f==="cell"&&u==="ltr"?(i$1(l.current),f$4(l.current,{containingElement:b$c(l.current)})):(x.currentNode=l.current,v=u==="rtl"?kt(x):x.firstChild(),v&&(i$1(v),f$4(v,{containingElement:b$c(l.current)})));}break}case "ArrowUp":case "ArrowDown":!h.altKey&&h$3(l.current,j$2(h))&&(h.stopPropagation(),h.preventDefault(),l.current.parentElement?.dispatchEvent(new KeyboardEvent(h.nativeEvent.type,h.nativeEvent)));break}},C=h=>{let R=i$2(a$c(l.current));if(!(!h$3(h.currentTarget,j$2(h))||e.isKeyboardNavigationDisabled||!l.current||!R)){if(b==="tab"&&j$2(h)!==l.current&&h.key!=="Tab"){h.stopPropagation();return}switch(h.key){case "Tab":if(b==="tab"){let x=d$6(l.current,{tabbable:true});x.currentNode=R,(h.shiftKey?x.previousNode():x.nextNode())&&h.stopPropagation();}}}},D=h=>{if(p.current=o.key,j$2(h)!==l.current){let R=j$2(h);l.current&&h$3(l.current,R)&&(m$1.current=R),b$b()||e.selectionManager.setFocusedKey(o.key);return}f==="child"&&h.relatedTarget&&h$3(l.current,h.relatedTarget)||requestAnimationFrame(()=>{f==="child"&&i$2(a$c(l.current))===l.current&&T();});},P=g$1(g,{role:"gridcell",onKeyDownCapture:b!=="tab"||i?S:void 0,onKeyDown:b==="tab"?C:void 0,"aria-colspan":o.colSpan,"aria-colindex":o.colIndex!=null?o.colIndex+1:void 0,colSpan:r?void 0:o.colSpan,onFocus:D,...f==="child"&&b==="tab"?{tabIndex:-1}:{}});return r&&(P["aria-colindex"]=(o.colIndex??o.index)+1),d&&P.tabIndex!=null&&P.onPointerDown==null&&(P.onPointerDown=h=>{let R=h.currentTarget,x=R.getAttribute("tabindex");R.removeAttribute("tabindex"),requestAnimationFrame(()=>{x!=null&&R.setAttribute("tabindex",x);});}),{gridCellProps:P,isPressed:w}}function kt(t){let e=null,l=null;do l=t.lastChild(),l&&(e=l);while(l);return e}function vt(t,e,l){let{node:o}=t,r=o.props.allowsSorting,{gridCellProps:n}=Xe({focusMode:"child",...t},e,l),i=o.props.isSelectionCell&&e.selectionManager.selectionMode==="single",{pressProps:d,isPressed:a}=d$3({isDisabled:!r||i,onPress(){e.sort(o.key);},ref:l}),{focusableProps:u}=c$4({},l),c,s=e.sortDescriptor?.column===o.key,b=e.sortDescriptor?.direction;o.props.allowsSorting&&!l$2()&&(c=s?b:"none");let f=b$6(J,"@react-aria/table"),p;r&&(p=`${f.format("sortable")}`,s&&b&&l$2()&&(p=`${p}, ${f.format(b)}`));let m=d$2(p,l),T=e.collection.size===0;return useEffect(()=>{T&&e.selectionManager.focusedKey===o.key&&e.selectionManager.setFocusedKey(null);},[T,e.selectionManager,o.key]),{columnHeaderProps:{...g$1(u,n,d,m,T?{tabIndex:-1}:null),role:"columnheader",id:_e(e,o.key),"aria-colspan":o.colSpan&&o.colSpan>1?o.colSpan:void 0,"aria-sort":c},isPressed:a}}function Ll(t,e,l){let{node:o,isVirtualized:r,shouldSelectOnPressUp:n,onAction:i}=t,{actions:d,shouldSelectOnPressUp:a}=ge.get(e),u=d.onRowAction?()=>d.onRowAction?.(o.key):i,{itemProps:c,...s}=d$4({selectionManager:e.selectionManager,key:o.key,ref:l,isVirtualized:r,shouldSelectOnPressUp:a||n,onAction:u||o?.props?.onAction?e$4(o?.props?.onAction,u):void 0,isDisabled:e.collection.size===0}),b=e.selectionManager.isSelected(o.key),f={role:"row","aria-selected":e.selectionManager.selectionMode!=="none"?b:void 0,"aria-disabled":s.isDisabled||void 0,...c};return r&&(f["aria-rowindex"]=o.index+1),{rowProps:f,...s}}var Fl={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function zt(t,e,l){let{node:o,isVirtualized:r}=t,{rowProps:n,...i}=Ll(t,e,l),{direction:d}=b$1();r&&e.treeColumn==null?n["aria-rowindex"]=o.index+1+e.collection.headerRows.length:delete n["aria-rowindex"];let a=e.treeColumn!=null&&(e.expandedKeys==="all"||e.expandedKeys.has(o.key)),u=b$6(J,"@react-aria/table"),c=a$k({"aria-label":a?u.format("collapse"):u.format("expand"),"aria-labelledby":De(e,o.key)}),s={},b={};if(e.treeColumn!=null){let m=e.collection.getItem(o.key);if(m!=null){let T=Hl(e.collection,o),g=m.props?.hasChildRows||m.props?.UNSTABLE_childItems||T?.type!=="cell",w=e.collection.getItem(o.parentKey),S=w.type==="tablebody"||w.type==="body",C=Hl(e.collection,w);for(;C&&C.type!=="item"&&C.prevKey!=null;)C=e.collection.getItem(C.prevKey);s={onKeyDown:D=>{D.key===Fl.expand[d]&&e.selectionManager.focusedKey===m.key&&g&&e.expandedKeys!=="all"&&!e.expandedKeys.has(m.key)?(e.toggleKey(m.key),D.stopPropagation()):D.key===Fl.collapse[d]&&e.selectionManager.focusedKey===m.key&&(e.expandedKeys!=="all"?g&&e.expandedKeys.has(m.key)?(e.toggleKey(m.key),D.stopPropagation()):!e.expandedKeys.has(m.key)&&m.parentKey!=null&&m.level>0&&(e.selectionManager.setFocusedKey(m.parentKey),D.stopPropagation()):e.expandedKeys==="all"&&(e.toggleKey(m.key),D.stopPropagation()));},"aria-expanded":g?e.expandedKeys==="all"||e.expandedKeys.has(o.key):void 0,"aria-level":m.level+1,"aria-posinset":m.index-(S?0:e.collection.columnCount)+1,"aria-setsize":C.index-(S?0:e.collection.columnCount)+1},b={isDisabled:i.isDisabled,onPress:()=>{i.isDisabled||(e.toggleKey(o.key),e.selectionManager.setFocused(true),e.selectionManager.setFocusedKey(o.key));},excludeFromTabOrder:true,preventFocusOnPress:true,"data-react-aria-prevent-focus":true,...c};}}let f=q(o.props),p=i.hasAction?f:{};return {rowProps:{...g$1(n,s,p),"aria-labelledby":De(e,o.key)},expandButtonProps:b,...i}}function Hl(t,e){return "lastChildKey"in e?e.lastChildKey!=null?t.getItem(e.lastChildKey):null:Array.from(e.childNodes).findLast(l=>l.parentKey===e.key)}function Rt(t,e,l){let{node:o,isVirtualized:r}=t,n={role:"row"};return r&&e.treeColumn==null&&(n["aria-rowindex"]=o.index+1),{rowProps:n}}function Kt(t,e,l){let{gridCellProps:o,isPressed:r}=Xe(t,e,l),n=t.node.column?.key;return n!=null&&e.collection.rowHeaderColumnKeys.has(n)&&(o.role="rowheader",o.id=wt(e,t.node.parentKey,n)),{gridCellProps:o,isPressed:r}}function Dt(t,e){let{key:l}=t,{checkboxProps:o}=a$l(t,e);return {checkboxProps:{...o,"aria-labelledby":`${o.id} ${De(e,l)}`}}}function Pt(t){let{isEmpty:e,isSelectAll:l,selectionMode:o}=t.selectionManager;return {checkboxProps:{"aria-label":b$6(J,"@react-aria/table").format(o==="single"?"select":"selectAll"),isSelected:l,isDisabled:o!=="multiple"||t.collection.size===0||t.collection.rows.length===1&&t.collection.rows[0].type==="loader",isIndeterminate:!e&&!l,onChange:()=>t.selectionManager.toggleSelectAll()}}}function Mt(t,e,l){let{column:o,triggerRef:r,isDisabled:n,onResizeStart:i,onResize:d,onResizeEnd:a,"aria-label":u$1}=t,c=b$6(J,"@react-aria/table"),s=c$2(),b=e.resizingColumn===o.key,f=useRef(b),p=useRef(null),m=useRef(false),T=e.tableState.isKeyboardNavigationDisabled,[g,w]=useState(false),{direction:S}=b$1(),C=useCallback(z=>{f.current||(p.current=e.updateResizedColumns(z.key,e.getColumnWidth(z.key)),e.startResize(z.key),e.tableState.setKeyboardNavigationDisabled(true),i?.(p.current)),f.current=true;},[e,i]),D=useCallback((z,K)=>{let G=e.updateResizedColumns(z.key,K);d?.(G),p.current=G;},[e,d]),P=useCallback(z=>{f.current&&(p.current==null&&(p.current=e.updateResizedColumns(z.key,e.getColumnWidth(z.key))),e.endResize(),e.tableState.setKeyboardNavigationDisabled(false),a?.(p.current),f.current=false,r?.current&&!m.current&&i$1(r.current)),p.current=null;},[e,r,a]),h=()=>{if(T){P(o);return}return false},{keyboardProps:R}=j$1({shortcuts:{Escape:()=>h(),Enter:()=>{T?P(o):C(o);}," ":()=>h(),Tab:()=>h()}}),x=useRef(0),{moveProps:v}=a$j({onMoveStart(z){x.current=e.getColumnWidth(o.key),z.pointerType==="mouse"&&w(true),C(o);},onMove(z){let{deltaX:K,deltaY:G,pointerType:lt}=z;S==="rtl"&&(K*=-1),lt==="keyboard"&&(G!==0&&K===0&&(K=G*-1),K*=10),K!==0&&(x.current+=K,D(o,x.current));},onMoveEnd(z){let{pointerType:K}=z;x.current=0,w(false),(K==="mouse"||K==="touch"&&m.current)&&P(o);}}),N=useCallback(z=>{T&&v.onKeyDown?.(z);},[T,v]),j=Math.floor(e.getColumnMinWidth(o.key)),U=Math.floor(e.getColumnMaxWidth(o.key));U===1/0&&(U=Number.MAX_SAFE_INTEGER);let Z=Math.floor(e.getColumnWidth(o.key)),_=f$2();_==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(_="touch");let we=r?.current==null&&(_==="keyboard"||_==="virtual")&&!b?c.format("resizerDescription"):void 0,te=d$2(we),oe={"aria-label":u$1,"aria-orientation":"horizontal","aria-labelledby":`${s} ${_e(e.tableState,o.key)}`,"aria-valuetext":c.format("columnSize",{value:Z}),type:"range",min:j,max:U,value:Z,...te},re=useCallback(()=>{l.current&&i$1(l.current);},[l]),ne=e.resizingColumn,me=useRef(null),Ee=u(C);useEffect(()=>{if(me.current!==ne&&ne!=null&&ne===o.key){m.current=i$2(a$c(l.current))===l.current,Ee(o);let z=setTimeout(()=>re(),0),K=setTimeout(re,400);return ()=>{clearTimeout(z),clearTimeout(K);}}me.current=ne;},[ne,o,re,l]);let et=z=>{let K=e.getColumnWidth(o.key),G=parseFloat(j$2(z).value);G>K?G=K+10:G=K-10,D(o,G);},{pressProps:xe}=d$3({preventFocusOnPress:true,onPressStart:z=>{if(!(z.ctrlKey||z.altKey||z.metaKey||z.shiftKey||z.pointerType==="keyboard")){if(z.pointerType==="virtual"&&e.resizingColumn!=null){P(o);return}re(),z.pointerType!=="virtual"&&C(o);}},onPress:z=>{(z.pointerType==="touch"&&m.current||z.pointerType==="mouse")&&e.resizingColumn!=null&&P(o);}}),{visuallyHiddenProps:tt}=a$d();return {resizerProps:g$1(R,{...v,onKeyDown:N},xe,{style:{touchAction:"none"}}),inputProps:g$1(tt,{id:s,onBlur:()=>{P(o);},onChange:et,disabled:n},oe),isResizing:b,isMouseResizing:g}}function Ol(){return {rowGroupProps:{role:"rowgroup"}}}function qe(){return Ol()}var Nt=class extends g$2{headerRows=[];columns=[];rows=[];rowHeaderColumnKeys=new Set;head=new Je(-1);columnsDirty=true;expandedKeys=new Set;withExpandedKeys(e){let l=this.clone();return l.expandedKeys=e,l.frozen=this.frozen,l.rows=Array.from(l.getRows()),l}addNode(e){super.addNode(e),this.columnsDirty||=e.type==="column",e.type==="tableheader"&&(this.head=e);}getRows(){let e=[];for(let l of this)(l.type==="tablebody"||l.type==="tablefooter")&&e.push(...this.getChildren(l.key));return e}get body(){for(let e of this)if(e.type==="tablebody")return e;return new Qe(-2)}commit(e,l,o=false){this.updateColumns(o),this.firstKey=e,this.lastKey=l,this.rows=[];for(let r of this.getRows()){let n=r.lastChildKey;if(n!=null){let i=this.getItem(n);for(;i&&i.type!=="cell";)i=i.prevKey!=null?this.getItem(i.prevKey):null;if(i){let d=(i.colIndex??i.index)+(i.colSpan??1);if(d!==this.columns.length&&!o)throw new Error(`Cell count must match column count. Found ${d} cells and ${this.columns.length} columns.`)}}this.rows.push(r);}super.commit(e,l,o);}updateColumns(e){if(!this.columnsDirty)return;this.rowHeaderColumnKeys=new Set,this.columns=[];let l=new Map,o=r=>{r.type==="column"&&(l.set(r.key,r),r.hasChildNodes||(r.index=this.columns.length,this.columns.push(r),r.props.isRowHeader&&this.rowHeaderColumnKeys.add(r.key)));for(let n of this.getChildren(r.key))o(n);};for(let r of this.getChildren(this.head.key))o(r);if(this.headerRows=je(l,this.columns),this.columnsDirty=false,this.rowHeaderColumnKeys.size===0&&this.columns.length>0&&!e)throw new Error("A table must have at least one Column with the isRowHeader prop set to true")}get columnCount(){return this.columns.length}*[Symbol.iterator](){let e=this.firstKey;for(;e!=null;){let l=this.getItem(e);l&&(yield l),e=l?.nextKey??null;}}getFirstKey(){for(let e of this)if(e.type==="tablebody")return e.firstChildKey??null;return null}getLastKey(){let e=this.lastKey;if(e==null)return null;let l=this.getItem(e);for(;l?.lastChildKey!=null&&(l.type!=="item"||this.expandedKeys.has(l.key));)l=this.getItem(l.lastChildKey);return l?.key}getKeyAfter(e){let l=this.getItem(e);if(l?.type==="column")return l.nextKey??null;if(!l)return null;if(l.type==="item"&&l.firstChildKey!=null&&this.expandedKeys.has(l.key)){let o=this.getItem(l.firstChildKey);for(;o;){if(o.type==="item")return o.key;o=o.nextKey!=null?this.getItem(o.nextKey):null;}}return super.getKeyAfter(e)}getKeyBefore(e){let l=this.getItem(e);if(l?.type==="column")return l.prevKey??null;if(!l)return null;let o=null;if(l.prevKey!=null){for(l=this.getItem(l.prevKey);l&&(l.type!=="item"||this.expandedKeys.has(l.key))&&l.lastChildKey!=null;)l=this.getItem(l.lastChildKey);o=l?.key??null;}return o==null&&(o=l.parentKey),o!=null&&this.getItem(o)?.type==="tableheader"?null:o}getChildren(e){let l=this.getItem(e);if(!l){for(let r of this.headerRows)if(r.key===e)return r.childNodes}let o=this;return l?.type==="tablebody"||l?.type==="tablefooter"?{*[Symbol.iterator](){let r=l.firstChildKey,n=r!=null?o.getItem(r):null;for(;n;){yield n;let i=o.getKeyAfter(n.key);if(n=i!=null?o.getItem(i):null,n&&n.parentKey===l.parentKey)break}}}:{*[Symbol.iterator](){let r=o.getItem(e),n=r?.firstChildKey!=null?o.getItem(r.firstChildKey):null;for(;n&&(yield n,n=n.nextKey!=null?o.getItem(n.nextKey):null,!(r?.type==="item"&&n?.type!=="cell")););}}}clone(){let e=super.clone();return e.headerRows=this.headerRows,e.columns=this.columns,e.rows=this.rows,e.rowHeaderColumnKeys=this.rowHeaderColumnKeys,e.head=this.head,e}getTextValue(e){let l=this.getItem(e);if(!l)return "";if(l.textValue)return l.textValue;let o=this.rowHeaderColumnKeys,r=[];for(let n of this.getChildren(e)){let i=this.columns[n.index];if(o.has(i.key)&&n.textValue&&r.push(n.textValue),r.length===o.size)break}return r.join(" ")}},Ft=createContext(null);forwardRef(function(e$1,l){let o=a(l),r=useRef(null),n=useRef(null),[i,d]=useState(0);a$1(()=>{let u=r.current;for(;u&&u!==o.current&&!a$2(u);)u=u.parentElement;n.current=u;},[o]),e({ref:n,box:"border-box",onResize(){d(n.current?.clientWidth??0);}}),a$1(()=>{d(n.current?.clientWidth??0);},[]);let a$4=useMemo(()=>({tableRef:r,scrollRef:n,tableWidth:i,useTableColumnResizeState:ht,onResizeStart:e$1.onResizeStart,onResize:e$1.onResize,onResizeEnd:e$1.onResizeEnd}),[r,i,e$1.onResizeStart,e$1.onResize,e$1.onResizeEnd]);return jsx(h.div,{render:e$1.render,...a$3(e$1,{global:true}),ref:o,className:e$1.className||"react-aria-ResizableTableContainer",style:e$1.style,onScroll:e$1.onScroll,children:jsx(Ft.Provider,{value:a$4,children:e$1.children})})});var no=createContext(null),Q=createContext(null),Ht=createContext(null),xa=forwardRef(function(e,l$1){[e,l$1]=e$1(e,l$1,no);let o=a$4(e),{selectionBehavior:r,selectionMode:n,disallowEmptySelection:i$1}=o,d=!!e.dragAndDropHooks?.useDraggableCollectionState,a=useMemo(()=>({selectionBehavior:n==="none"?null:r,selectionMode:n,disallowEmptySelection:i$1,allowsDragging:d}),[r,n,i$1,d]),u=jsx(so.Provider,{value:a,children:jsx(l,{...e})});return jsx(i,{content:u,createCollection:()=>new Nt,children:c=>jsx(ao,{props:e,forwardedRef:l$1,selectionState:o,collection:c})})}),io=forwardRef(function(e,l){let{isVirtualized:o}=useContext(p);return o?jsx(h.div,{...e,ref:l}):jsx(h.table,{...e,ref:l})}),Vl={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function ao({props:t,forwardedRef:e,selectionState:l,collection:o}){[t,e]=e$1(t,e,b);let{shouldUseVirtualFocus:r,disallowTypeAhead:n,filter:i,...d}=t,a$1=useContext(Ft);e=a(useMemo(()=>f(e,a$1?.tableRef),[e,a$1?.tableRef]));let[u,c$2]=a$5(t.expandedKeys?new Set(t.expandedKeys):void 0,t.defaultExpandedKeys?new Set(t.defaultExpandedKeys):new Set,t.onExpandedChange);o=useMemo(()=>o.withExpandedKeys(u),[o,u]);let s=gt({...d,collection:o,children:void 0,UNSAFE_selectionState:l,expandedKeys:u,onExpandedChange:c$2}),b$5=Tt(s,i),{isVirtualized:f$1,layoutDelegate:p$1,dropTargetDelegate:m,CollectionRoot:T}=useContext(p),{dragAndDropHooks:g$2}=t,{gridProps:w}=xt({...d,layoutDelegate:p$1,isVirtualized:f$1},b$5,e),S=b$5.selectionManager,C=!!g$2?.useDraggableCollectionState,D=!!g$2?.useDroppableCollectionState,P=useRef(C),h=useRef(D);useEffect(()=>{process.env.NODE_ENV!=="production"&&(P.current!==C&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),h.current!==D&&console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."));},[C,D]);let R,x,v,N=false,j=null,U=useRef(null),{direction:Z}=b$1(),[_]=useState(()=>new a$6);if(C&&g$2){R=g$2.useDraggableCollectionState({collection:b$5.collection,selectionManager:S,preview:g$2.renderDragPreview?U:void 0}),g$2.useDraggableCollection({},R,e);let xe=g$2.DragPreview;j=g$2.renderDragPreview?jsx(xe,{ref:U,children:g$2.renderDragPreview}):null;}if(D&&g$2){x=g$2.useDroppableCollectionState({collection:b$5.collection,selectionManager:S});let xe=new b$2({collection:b$5.collection,disabledKeys:S.disabledKeys,disabledBehavior:S.disabledBehavior,ref:e,layoutDelegate:p$1}),tt=g$2.dropTargetDelegate||m||new g$2.ListDropTargetDelegate(o.rows,e);_.setup(tt,s,Z),v=g$2.useDroppableCollection({keyboardDelegate:xe,dropTargetDelegate:_,onDropActivate:z=>{if(z.target.type==="item"){let K=z.target.key,G=s.collection.getItem(K),lt=u.has(K);G&&G.hasChildNodes&&(!lt||g$2?.isVirtualDragging?.())&&s.toggleKey(K);}},onKeyDown:z=>{let K=x?.target;if(K&&K.type==="item"&&K.dropPosition==="on"){let G=s.collection.getItem(K.key);(z.key===Vl.expand[Z]&&G?.hasChildNodes&&!s.expandedKeys.has(K.key)||z.key===Vl.collapse[Z]&&G?.hasChildNodes&&s.expandedKeys.has(K.key))&&s.toggleKey(K.key);}}},x,e),N=x.isDropTarget({type:"root"});}let{focusProps:we,isFocused:te,isFocusVisible:oe}=a$7(),re=c({...t,children:void 0,defaultClassName:"react-aria-Table",values:{isDropTarget:N,isFocused:te,isFocusVisible:oe,state:b$5}}),ne=!!(C&&!R?.isDisabled),me=re.style,Ee=null;a$1&&(Ee=a$1.useTableColumnResizeState({tableWidth:a$1.tableWidth},b$5),f$1||(me={...me,tableLayout:"fixed",width:"min-content"}));let et=a$3(t,{global:true});return jsxs(b$3,{values:[[Q,b$5],[Ht,Ee],[a$8,{dragAndDropHooks:g$2,dragState:R,dropState:x}],[b$4,{render:fo}],[b,null],[c$1,null]],children:[jsx(a$9,{children:jsx(io,{...g$1(et,re,w,we,v?.collectionProps),style:me,ref:e,slot:t.slot||void 0,onScroll:t.onScroll,"data-allows-dragging":ne||void 0,"data-drop-target":N||void 0,"data-focused":te||void 0,"data-focus-visible":oe||void 0,children:jsx(g,{children:jsx(T,{collection:b$5.collection,scrollRef:a$1?.scrollRef??e,persistedKeys:e$2(S,g$2,x)})})})}),j]})}var so=createContext(null);var Je=class extends a$i{static type="tableheader"},co=forwardRef(function(e,l){let{isVirtualized:o}=useContext(p);return o?jsx(h.div,{...e,ref:l}):jsx(h.thead,{...e,ref:l})}),ka=k(Je,(t,e)=>{let l=useContext(Q).collection,o=h$1({items:l.headerRows,children:useCallback(a=>{if(a.type==="headerrow")return jsx(mo,{item:a});throw new Error("Unsupported node type in TableHeader: "+a.type)},[])}),{rowGroupProps:r}=qe(),{hoverProps:n,isHovered:i}=a$a({onHoverStart:t.onHoverStart,onHoverChange:t.onHoverChange,onHoverEnd:t.onHoverEnd}),d=c({...t,children:void 0,defaultClassName:"react-aria-TableHeader",values:{isHovered:i}});return jsx(co,{...g$1(a$3(t,{global:true}),r,n),...d,ref:e,"data-hovered":i||void 0,children:o})},t=>jsx(l,{dependencies:t.dependencies,items:t.columns,children:t.children})),uo=forwardRef(function(e,l){let{isVirtualized:o}=useContext(p);return o?jsx("div",{...e,ref:l}):jsx("tr",{...e,ref:l})});function mo({item:t}){let e=useRef(null),l=useContext(Q),{isVirtualized:o,CollectionBranch:r}=useContext(p),{rowProps:n}=Rt({node:t,isVirtualized:o},l),{checkboxProps:i}=Pt(l);return jsx(uo,{...n,ref:e,children:jsx(b$3,{values:[[a$b,{slots:{selection:i}}],[b$5,{slots:{selection:i}}]],children:jsx(r,{collection:l.collection,parent:t})})})}var Et=class extends a$i{static type="column"},po=forwardRef(function(e,l){let{isVirtualized:o}=useContext(p);return o?jsx(h.div,{...e,ref:l}):jsx(h.th,{...e,ref:l})}),va=j(Et,(t,e,l)=>{let o=a(e),r=useContext(Q),{isVirtualized:n$1}=useContext(p),{columnHeaderProps:i,isPressed:d}=vt({node:l,isVirtualized:n$1,focusMode:t.focusMode,allowsArrowNavigation:t.allowsArrowNavigation},r,o),{isFocused:a$1,isFocusVisible:u,focusProps:c$1}=a$7(),s=useContext(Ht),b=false;if(s)b=s.resizingColumn===l.key;else if(process.env.NODE_ENV!=="production")for(let w in ["width","defaultWidth","minWidth","maxWidth"])w in l.props&&console.warn(`The ${w} prop on a <Column> only applies when a <Table> is wrapped in a <ResizableTableContainer>. If you aren't using column resizing, you can set the width of a column with CSS.`);let{hoverProps:f,isHovered:p$1}=a$a({isDisabled:!t.allowsSorting}),m=c({...t,id:void 0,children:l.rendered,defaultClassName:"react-aria-Column",values:{isHovered:p$1,isPressed:d,isFocused:a$1,isFocusVisible:u,allowsSorting:l.props.allowsSorting,sortDirection:r.sortDescriptor?.column===l.key?r.sortDescriptor.direction:void 0,isResizing:b,startResize:()=>{if(s)s.startResize(l.key),r.setKeyboardNavigationDisabled(true);else throw new Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing")},sort:w=>{r.sort(l.key,w);}}}),T=m.style;s&&(T={...T,width:s.getColumnWidth(l.key)});let g=a$3(t,{global:true});return delete g.id,jsx(po,{...g$1(g,i,c$1,f),...m,style:T,ref:o,"data-hovered":p$1||void 0,"data-pressed":d||void 0,"data-focused":a$1||void 0,"data-focus-visible":u||void 0,"data-resizing":b||void 0,"data-allows-sorting":l.props.allowsSorting||void 0,"data-sort-direction":r.sortDescriptor?.column===l.key?r.sortDescriptor.direction:void 0,children:jsx(b$3,{values:[[Wl,{column:l,triggerRef:o}],[p,n]],children:m.children})})}),Wl=createContext(null);forwardRef(function(e,l){let o=useContext(Ht);if(!o)throw new Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing");let r=b$6(Kl,"react-aria-components"),{onResizeStart:n,onResize:i,onResizeEnd:d}=useContext(Ft),{column:a$1,triggerRef:u}=useContext(Wl),c$1=useRef(null),{resizerProps:s,inputProps:b,isResizing:f,isMouseResizing:p}=Mt({column:a$1,"aria-label":e["aria-label"]||r.format("tableResizer"),onResizeStart:n,onResize:i,onResizeEnd:d,triggerRef:u},o,c$1),{focusProps:m,isFocused:T,isFocusVisible:g}=a$7(),{hoverProps:w,isHovered:S}=a$a(e),C=o.getColumnMinWidth(a$1.key)>=o.getColumnWidth(a$1.key),D=o.getColumnMaxWidth(a$1.key)<=o.getColumnWidth(a$1.key),{direction:P}=b$1(),h$1="both";C?h$1=P==="rtl"?"right":"left":D?h$1=P==="rtl"?"left":"right":h$1="both";let R=a(l),[x,v]=useState("");useEffect(()=>{if(!R.current)return;let U=b$7(R.current).getComputedStyle(R.current);v(U.cursor);},[R,h$1]);let N=c({...e,defaultClassName:"react-aria-ColumnResizer",values:{isFocused:T,isFocusVisible:g,isResizing:f,isHovered:S,resizableDirection:h$1}}),j=a$3(e,{global:true});return jsxs(h.div,{ref:R,role:"presentation",...g$1(j,N,s,w),"data-hovered":S||void 0,"data-focused":T||void 0,"data-focus-visible":g||void 0,"data-resizing":f||void 0,"data-resizable-direction":h$1,children:[N.children,jsx("input",{ref:c$1,...g$1(b,m)}),f&&p&&ro.createPortal(jsx("div",{style:{position:"fixed",top:0,left:0,bottom:0,right:0,cursor:x},"data-testid":"cursor-overlay"}),a$c(R.current).body)]})});var Qe=class extends b$8{static type="tablebody"},bo=forwardRef(function(e,l){let{isVirtualized:o}=useContext(p);return o?jsx(h.div,{...e,ref:l}):jsx(h.tbody,{...e,ref:l})}),Ra=k(Qe,(t,e,l)=>{let o=useContext(Q),{isVirtualized:r}=useContext(p),n=o.collection,{CollectionBranch:i}=useContext(p),{dragAndDropHooks:d$1,dropState:a}=useContext(a$8),u=!!d$1?.useDroppableCollectionState&&!a?.isDisabled,c$1=u&&!!a&&(a.isDropTarget({type:"root"})??false),s=n.size===0,b={isDropTarget:c$1,isEmpty:s},f=c({...t,id:void 0,children:void 0,defaultClassName:"react-aria-TableBody",values:b}),p$1,m=n.columnCount;if(s&&t.renderEmptyState&&o){let w={},S={},C={};r?(S["aria-colspan"]=m,C={display:"contents"}):S.colSpan=m,p$1=jsx(Te,{role:"row",...w,style:C,children:jsx(Se,{role:"rowheader",...S,style:C,children:t.renderEmptyState(b)})});}let{rowGroupProps:T}=qe(),g=a$3(t,{global:true});return jsxs(bo,{...g$1(g,f,T),ref:e,"data-empty":s||void 0,children:[u&&jsx(So,{}),jsx(i,{collection:n,parent:l,renderDropIndicator:d(d$1,a)}),p$1]})});forwardRef(function(e,l){let{isVirtualized:o}=useContext(p);return o?jsx(h.div,{...e,ref:l}):jsx(h.tfoot,{...e,ref:l})});var Bl=createContext({isFocusVisibleWithinRow:false}),It=class extends a$i{static type="item";filter(e,l,o){let r=e.getChildren(this.key);for(let n of r)if(o(n.textValue,n)){let i=this.clone();return l.addDescendants(i,e),i}return null}},Te=forwardRef(function(e,l){let{isVirtualized:o}=useContext(p);return o?jsx(h.div,{...e,ref:l}):jsx(h.tr,{...e,ref:l})}),Da=k(It,(t,e,l)=>{let o=a(e),r=useContext(Q),{dragAndDropHooks:n,dragState:i,dropState:d}=useContext(a$8),{isVirtualized:a$1,CollectionBranch:u}=useContext(p),c$1=i&&!(i.isDisabled||i.selectionManager.isDisabled(l.key)),{rowProps:s,expandButtonProps:b,...f}=zt({node:l,shouldSelectOnPressUp:!!i,isVirtualized:a$1},r,o),{isFocused:p$1,isFocusVisible:m,focusProps:T}=a$7(),{isFocusVisible:g,focusProps:w}=a$7({within:true}),{hoverProps:S,isHovered:C}=a$a({isDisabled:!f.allowsSelection&&!f.hasAction&&!c$1,onHoverStart:t.onHoverStart,onHoverChange:t.onHoverChange,onHoverEnd:t.onHoverEnd}),{checkboxProps:D}=Dt({key:l.key},r),P;i&&n&&(P=n.useDraggableItem({key:l.key,hasDragButton:true},i,o));let h,R=useRef(null),{visuallyHiddenProps:x}=a$d();d&&n&&(h=n.useDropIndicator({target:{type:"item",key:l.key,dropPosition:"on"}},d,R));let v=useRef(null);useEffect(()=>{i&&!v.current&&process.env.NODE_ENV!=="production"&&console.warn('Draggable items in a Table must contain a <Button slot="drag"> element so that keyboard and screen reader users can drag them.');},[]);let N=i&&i.isDragging(l.key),{children:j,...U}=t,Z=t.hasChildItems||r.collection.getItem(l.lastChildKey)?.type!=="cell",_=Z&&r.expandedKeys.has(l.key),we=c({...U,id:void 0,defaultClassName:"react-aria-Row",defaultStyle:{"--table-row-level":l.level+1},values:{...f,state:r,isHovered:C,isFocused:p$1,isFocusVisible:m,selectionMode:r.selectionManager.selectionMode,selectionBehavior:r.selectionManager.selectionBehavior,isDragging:N,isDropTarget:h?.isDropTarget,isFocusVisibleWithin:g,id:l.key,hasChildItems:Z,isExpanded:_,level:l.level+1}}),te=a$3(t,{global:true});delete te.id,delete te.onClick;let oe=f$1(P,n,o);return jsxs(Fragment,{children:[h&&!h.isHidden&&jsx(Te,{role:"row",style:{height:0},children:jsx(Se,{role:"gridcell",colSpan:r.collection.columnCount,style:{padding:0},children:jsx("div",{role:"button",...x,...h.dropIndicatorProps,ref:R})})}),jsx(Te,{...g$1(te,we,s,T,S,oe.itemProps,w),ref:o,"data-disabled":f.isDisabled||void 0,"data-selected":f.isSelected||void 0,"data-hovered":C||void 0,"data-focused":f.isFocused||void 0,"data-focus-visible":m||void 0,"data-pressed":f.isPressed||void 0,"data-dragging":N||void 0,"data-drop-target":h?.isDropTarget||void 0,"data-selection-mode":r.selectionManager.selectionMode==="none"?void 0:r.selectionManager.selectionMode,"data-focus-visible-within":g||void 0,"data-expanded":_||void 0,"data-has-child-items":Z||void 0,"data-level":l.level+1,children:jsx(b$3,{values:[[a$b,{slots:{[a$f]:{},selection:D}}],[b$5,{slots:{[a$f]:{},selection:D}}],[a$e,{slots:{[a$f]:{},chevron:b,drag:{...oe.dragButtonProps,ref:v}}}],[h$2,{isSelected:f.isSelected}],[Bl,{isFocusVisibleWithinRow:g}]],children:jsx(u,{collection:r.collection,parent:l})})})]})},t=>{if(t.id==null&&typeof t.children=="function")throw new Error("No id detected for the Row element. The Row element requires a id to be provided to it when the cells are rendered dynamically.");let e=[t.value].concat(t.dependencies);return jsx(l,{dependencies:e,items:t.columns,idScope:t.id,children:t.children})}),At=class extends a$i{static type="cell"},Se=forwardRef(function(e,l){let{isVirtualized:o}=useContext(p);return o?jsx(h.div,{...e,ref:l}):jsx(h.td,{...e,ref:l})}),Pa=j(At,(t,e,l)=>{let o=a(e),r=useContext(Q),{dragState:n$1}=useContext(a$8),{isVirtualized:i}=useContext(p);l.column=r.collection.columns[l.index];let{gridCellProps:d,isPressed:a$1}=Kt({node:l,shouldSelectOnPressUp:!!n$1,isVirtualized:i,focusMode:t.focusMode,allowsArrowNavigation:t.allowsArrowNavigation},r,o),{isFocused:u,isFocusVisible:c$1,focusProps:s}=a$7(),{hoverProps:b,isHovered:f}=a$a({}),{isFocusVisibleWithinRow:p$1}=useContext(Bl),m=l.parentKey!=null?r.selectionManager.isSelected(l.parentKey):false,T=l.colIndex||l.index,g=r.collection.getItem(l.parentKey),w=g.props.hasChildItems||r.collection.getItem(g.lastChildKey)?.type!=="cell",S=w&&r.expandedKeys.has(l.parentKey),C=r.selectionManager.isDisabled(l.parentKey),D=c({...t,id:void 0,defaultClassName:"react-aria-Cell",values:{isFocused:u,isFocusVisible:c$1,isFocusVisibleWithinRow:p$1,isPressed:a$1,isHovered:f,isSelected:m,id:l.key,columnIndex:T,hasChildItems:w,isExpanded:S,isDisabled:C,level:g.level+1,isTreeColumn:l.column.key===r.treeColumn}}),P=a$3(t,{global:true});return delete P.id,jsx(Se,{...g$1(P,D,d,s,b),ref:o,"data-focused":u||void 0,"data-focus-visible":c$1||void 0,"data-focus-visible-within-row":p$1||void 0,"data-pressed":a$1||void 0,"data-selected":m||void 0,"data-column-index":T,"data-expanded":S||void 0,"data-has-child-items":w||void 0,"data-level":g.level+1,"data-tree-column":l.column.key===r.treeColumn||void 0,"data-disabled":C||void 0,children:jsx(p.Provider,{value:n,children:D.children})})});function fo(t,e){e=a(e);let{dragAndDropHooks:l,dropState:o}=useContext(a$8),r=useRef(null),{dropIndicatorProps:n,isHidden:i,isDropTarget:d}=l.useDropIndicator(t,o,r);if(i)return null;let a$1=o&&t.target.type==="item"?(o.collection.getItem(t.target.key)?.level||0)+1:1;return jsx(To,{...t,dropIndicatorProps:n,isDropTarget:d,buttonRef:r,level:a$1,ref:e})}var yo=forwardRef(function(e,l){let{isVirtualized:o}=useContext(p);return o?jsx(h.div,{...e,ref:l}):jsx(h.tr,{...e,ref:l})}),ho=forwardRef(function(e,l){let{isVirtualized:o}=useContext(p);return o?jsx(h.div,{...e,ref:l}):jsx(h.td,{...e,ref:l})});function go(t,e){let{dropIndicatorProps:l,isDropTarget:o,buttonRef:r,level:n,...i}=t,d=useContext(Q),{visuallyHiddenProps:a}=a$d(),u=c({...i,defaultClassName:"react-aria-DropIndicator",defaultStyle:{"--table-row-level":n+1},values:{isDropTarget:o}});return jsx(yo,{...a$3(t,{global:true}),...u,role:"row",ref:e,"data-drop-target":o||void 0,"aria-level":n,children:jsxs(ho,{role:"gridcell",colSpan:d.collection.columnCount,style:{padding:0},children:[jsx("div",{...a,role:"button",...l,ref:r}),u.children]})})}var To=forwardRef(go);function So(){let t=useContext(Q),{dragAndDropHooks:e,dropState:l}=useContext(a$8),o=useRef(null),{dropIndicatorProps:r}=e.useDropIndicator({target:{type:"root"}},l,o),n=l.isDropTarget({type:"root"}),{visuallyHiddenProps:i}=a$d();return !n&&r["aria-hidden"]?null:jsx(Te,{role:"row","aria-hidden":r["aria-hidden"],style:{height:0},children:jsx(Se,{role:"gridcell",colSpan:t.collection.columnCount,style:{padding:0},children:jsx("div",{role:"button",...i,...r,ref:o})})})}var Ma=j(d$1,function(e,l,o){let r=useContext(Q),{isVirtualized:n}=useContext(p),{isLoading:i,onLoadMore:d,scrollOffset:a,...u}=e,c$1=r.collection.columns.length,s=useRef(null),b=useMemo(()=>({onLoadMore:d,collection:r?.collection,sentinelRef:s,scrollOffset:a}),[d,a,r?.collection]);k$1(b,s);let f=c({...u,id:void 0,children:o.rendered,defaultClassName:"react-aria-TableLoadingIndicator",defaultStyle:{"--table-row-level":o.level+1},values:void 0}),p$1={},m={},T={};return n?(m["aria-colspan"]=c$1,T={display:"contents"}):m.colSpan=c$1,jsxs(Fragment,{children:[jsx(Te,{style:{height:0},inert:l$1(true),children:jsx(Se,{style:{padding:0,border:0},children:jsx("div",{"data-testid":"loadMoreSentinel",ref:s,style:{position:"relative",height:1,width:1}})})}),i&&f.children&&jsx(Te,{...g$1(a$3(e,{global:true}),p$1),...f,role:"row",ref:l,"aria-level":o.level+1,"data-level":o.level+1,children:jsx(Se,{role:"rowheader",...m,style:T,children:f.children})})]})});export{Ue as a,Ht as b,xa as c,ka as d,va as e,Ra as f,Da as g,Pa as h,Ma as i};
@@ -1,4 +1,4 @@
1
- import {a}from'./chunk-WD2TPSZV.mjs';import {c as c$1}from'./chunk-D2NVLRIU.mjs';import {a as a$4,b as b$2}from'./chunk-3COKCTB2.mjs';import {g,h as h$1}from'./chunk-OS6PVCFX.mjs';import {a as a$5,b as b$3}from'./chunk-A63HMTSM.mjs';import {b}from'./chunk-3PBFSDMT.mjs';import {j as j$1}from'./chunk-NQVTVL24.mjs';import {b as b$1}from'./chunk-GOCBU65X.mjs';import {h,j as j$2}from'./chunk-SCJ3RG7B.mjs';import {a as a$3}from'./chunk-PJINRIA6.mjs';import {a as a$1}from'./chunk-35AM4QEA.mjs';import {a as a$2,f,e,j as j$3,b as b$4,i}from'./chunk-TYOEGCPS.mjs';import {useRef,useEffect}from'react';/**
1
+ import {a}from'./chunk-NIGOM3FD.mjs';import {c as c$1}from'./chunk-TZSRU3GG.mjs';import {a as a$3,b as b$2}from'./chunk-J4T6TE7V.mjs';import {g,h as h$1}from'./chunk-JANI446W.mjs';import {a as a$4,b as b$3}from'./chunk-SMPF53W4.mjs';import {b}from'./chunk-2PTLJDIT.mjs';import {j as j$1}from'./chunk-AIG23SN5.mjs';import {b as b$1}from'./chunk-GOCBU65X.mjs';import {h,j as j$2}from'./chunk-2MNK24YJ.mjs';import {a as a$1,e}from'./chunk-V2C4UDOC.mjs';import {a as a$2,f,e as e$1,j as j$3,b as b$4,i}from'./chunk-TYOEGCPS.mjs';import {useRef,useEffect}from'react';/**
2
2
  * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
3
  *
4
4
  * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
@@ -7,9 +7,9 @@ import {a}from'./chunk-WD2TPSZV.mjs';import {c as c$1}from'./chunk-D2NVLRIU.mjs'
7
7
  * This notice may not be removed from this file.
8
8
  *
9
9
  */
10
- var c=[];function Y(e,l){let{onClose:o,shouldCloseOnBlur:r,isOpen:t,isDismissable:n=false,isKeyboardDismissDisabled:i=false,shouldCloseOnInteractOutside:s}=e,f=useRef();useEffect(()=>{if(t&&!c.includes(l))return c.push(l),()=>{let a=c.indexOf(l);a>=0&&c.splice(a,1);}},[t,l]);let m=()=>{c[c.length-1]===l&&o&&o();},d=a=>{let M=c[c.length-1];f.current=M,(!s||s(j$3(a)))&&M===l&&a.stopPropagation();},u=a=>{(!s||s(j$3(a)))&&(c[c.length-1]===l&&a.stopPropagation(),f.current===l&&m()),f.current=void 0;},{keyboardProps:b$1}=j$1({shortcuts:{Escape:()=>{if(!i){m();return}return false}}});a({ref:l,onInteractOutside:n&&t?u:void 0,onInteractOutsideStart:d});let{focusWithinProps:g}=b({isDisabled:!r,onBlurWithin:a=>{!a.relatedTarget||c$1(a.relatedTarget)||(!s||s(a.relatedTarget))&&o?.();}});return {overlayProps:{...b$1,...g},underlayProps:{}}}var E=new WeakMap;function ce(e={},l){let{isDisabled:o,root:r,UNSTABLE_overrideFocus:t}=e;a$1(()=>{if(o)return;let n=r?.ownerDocument??a$2(l?.current),i=E.get(n);return i||(i={count:0},E.set(n,i)),i.count++,i.count===1&&(h()&&j$2()?i.restore=U(n):i.restore=G(r??n.documentElement,t)),()=>{let s=E.get(n);s&&(s.count--,s.count===0&&(s.restore?.(),E.delete(n)));}},[o,r,t]);}function G(e,l){let o=e.ownerDocument,t=(o.defaultView??window).innerWidth-e.clientWidth,n=e===o.documentElement;return a$3(n&&t>0&&("scrollbarGutter"in e.style?f(e,"scrollbar-gutter","stable"):f(e,"padding-right",`${t}px`)),f(e,"overflow","hidden"),l&&k(o),l&&g()&&j(o))}function U(e$1){let l=f(e$1.documentElement,"overflow","hidden"),o,r=false,t=d=>{let u=j$3(d);o=a$5(u,true)?u:b$3(u,true),r=false;let b=u.ownerDocument.defaultView.getSelection();b&&!b.isCollapsed&&b.containsNode(u,true)&&(r=true);let g=b$4(u);d.composedPath().some(a=>a instanceof g.HTMLInputElement&&a.type==="range")&&(r=true),"selectionStart"in u&&"selectionEnd"in u&&u.selectionStart<u.selectionEnd&&i(a$2(u))===u&&(r=true);},n=e$1.createElement("style"),i$1=b$1(e$1);i$1&&(n.nonce=i$1),n.textContent=`
10
+ var c=[];function Y(e,l){let{onClose:o,shouldCloseOnBlur:r,isOpen:t,isDismissable:n=false,isKeyboardDismissDisabled:i=false,shouldCloseOnInteractOutside:s}=e,f=useRef();useEffect(()=>{if(t&&!c.includes(l))return c.push(l),()=>{let a=c.indexOf(l);a>=0&&c.splice(a,1);}},[t,l]);let m=()=>{c[c.length-1]===l&&o&&o();},d=a=>{let M=c[c.length-1];f.current=M,(!s||s(j$3(a)))&&M===l&&a.stopPropagation();},u=a=>{(!s||s(j$3(a)))&&(c[c.length-1]===l&&a.stopPropagation(),f.current===l&&m()),f.current=void 0;},{keyboardProps:b$1}=j$1({shortcuts:{Escape:()=>{if(!i){m();return}return false}}});a({ref:l,onInteractOutside:n&&t?u:void 0,onInteractOutsideStart:d});let{focusWithinProps:g}=b({isDisabled:!r,onBlurWithin:a=>{!a.relatedTarget||c$1(a.relatedTarget)||(!s||s(a.relatedTarget))&&o?.();}});return {overlayProps:{...b$1,...g},underlayProps:{}}}var E=new WeakMap;function ce(e={},l){let{isDisabled:o,root:r,UNSTABLE_overrideFocus:t}=e;a$1(()=>{if(o)return;let n=r?.ownerDocument??a$2(l?.current),i=E.get(n);return i||(i={count:0},E.set(n,i)),i.count++,i.count===1&&(h()&&j$2()?i.restore=U(n):i.restore=G(r??n.documentElement,t)),()=>{let s=E.get(n);s&&(s.count--,s.count===0&&(s.restore?.(),E.delete(n)));}},[o,r,t]);}function G(e$1,l){let o=e$1.ownerDocument,t=(o.defaultView??window).innerWidth-e$1.clientWidth,n=e$1===o.documentElement;return e(n&&t>0&&("scrollbarGutter"in e$1.style?f(e$1,"scrollbar-gutter","stable"):f(e$1,"padding-right",`${t}px`)),f(e$1,"overflow","hidden"),l&&k(o),l&&g()&&j(o))}function U(e$2){let l=f(e$2.documentElement,"overflow","hidden"),o,r=false,t=d=>{let u=j$3(d);o=a$4(u,true)?u:b$3(u,true),r=false;let b=u.ownerDocument.defaultView.getSelection();b&&!b.isCollapsed&&b.containsNode(u,true)&&(r=true);let g=b$4(u);d.composedPath().some(a=>a instanceof g.HTMLInputElement&&a.type==="range")&&(r=true),"selectionStart"in u&&"selectionEnd"in u&&u.selectionStart<u.selectionEnd&&i(a$2(u))===u&&(r=true);},n=e$2.createElement("style"),i$1=b$1(e$2);i$1&&(n.nonce=i$1),n.textContent=`
11
11
  @layer {
12
12
  * {
13
13
  overscroll-behavior: contain;
14
14
  }
15
- }`.trim(),e$1.head.prepend(n);let s=d=>{if(!(d.touches.length===2||r)){if(!o||o===e$1.documentElement||o===e$1.body){d.preventDefault();return}o.scrollHeight===o.clientHeight&&o.scrollWidth===o.clientWidth&&d.preventDefault();}},f$1=k(e$1),m=a$3(e(e$1,"touchstart",t,{passive:false,capture:true}),e(e$1,"touchmove",s,{passive:false,capture:true}),j(e$1));return ()=>{l(),m(),n.remove(),f$1();}}function j(e$1){return e(e$1,"blur",o=>{let r=j$3(o),t=o.relatedTarget;t&&h$1(t)?t.focus():t||r.parentElement?.closest("[tabindex]")?.focus({preventScroll:true});},true)}function k(e){let l=e.defaultView??window,o=l.HTMLElement.prototype.focus;return Reflect.defineProperty(l.HTMLElement.prototype,"focus",{configurable:true,writable:true,value:function(r){if(o.call(this,{...r,preventScroll:true}),!r||!r.preventScroll){let t=()=>{i(e)===this&&_(this,e);};a$4(n=>n?t():b$2(()=>t()));}}}),()=>{Reflect.defineProperty(l.HTMLElement.prototype,"focus",{configurable:true,writable:true,value:o});}}function _(e,l){let o=l.scrollingElement||l.documentElement,r=e;for(;r&&r!==o&&r.isConnected;){let t=b$3(r);if(t!==l.documentElement&&t!==l.body&&t!==r){let n=t.getBoundingClientRect(),i=r.getBoundingClientRect();if(i.top<n.top||i.bottom>n.top+r.clientHeight){let s=n.bottom,f=l.defaultView?.visualViewport;f&&(s=Math.min(s,f.offsetTop+f.height));let m=i.top-n.top-((s-n.top)/2-i.height/2);t.scrollTo({top:Math.max(0,Math.min(t.scrollHeight-t.clientHeight,t.scrollTop+m)),behavior:"smooth"});}}r=t.parentElement;}}export{Y as a,ce as b};
15
+ }`.trim(),e$2.head.prepend(n);let s=d=>{if(!(d.touches.length===2||r)){if(!o||o===e$2.documentElement||o===e$2.body){d.preventDefault();return}o.scrollHeight===o.clientHeight&&o.scrollWidth===o.clientWidth&&d.preventDefault();}},f$1=k(e$2),m=e(e$1(e$2,"touchstart",t,{passive:false,capture:true}),e$1(e$2,"touchmove",s,{passive:false,capture:true}),j(e$2));return ()=>{l(),m(),n.remove(),f$1();}}function j(e){return e$1(e,"blur",o=>{let r=j$3(o),t=o.relatedTarget;t&&h$1(t)?t.focus():t||r.parentElement?.closest("[tabindex]")?.focus({preventScroll:true});},true)}function k(e){let l=e.defaultView??window,o=l.HTMLElement.prototype.focus;return Reflect.defineProperty(l.HTMLElement.prototype,"focus",{configurable:true,writable:true,value:function(r){if(o.call(this,{...r,preventScroll:true}),!r||!r.preventScroll){let t=()=>{i(e)===this&&_(this,e);};a$3(n=>n?t():b$2(()=>t()));}}}),()=>{Reflect.defineProperty(l.HTMLElement.prototype,"focus",{configurable:true,writable:true,value:o});}}function _(e,l){let o=l.scrollingElement||l.documentElement,r=e;for(;r&&r!==o&&r.isConnected;){let t=b$3(r);if(t!==l.documentElement&&t!==l.body&&t!==r){let n=t.getBoundingClientRect(),i=r.getBoundingClientRect();if(i.top<n.top||i.bottom>n.top+r.clientHeight){let s=n.bottom,f=l.defaultView?.visualViewport;f&&(s=Math.min(s,f.offsetTop+f.height));let m=i.top-n.top-((s-n.top)/2-i.height/2);t.scrollTo({top:Math.max(0,Math.min(t.scrollHeight-t.clientHeight,t.scrollTop+m)),behavior:"smooth"});}}r=t.parentElement;}}export{Y as a,ce as b};
@@ -0,0 +1,10 @@
1
+ import {a as a$1}from'./chunk-WSDEMATI.mjs';import {a as a$3}from'./chunk-5IC46G5J.mjs';import {a as a$5,b as b$1}from'./chunk-BIDNNBRG.mjs';import {b,c}from'./chunk-CPX5CB4L.mjs';import {a as a$2}from'./chunk-NQIZ3U7Q.mjs';import {e}from'./chunk-EKRT3PPK.mjs';import {a as a$4}from'./chunk-3K6XNSYE.mjs';import {a}from'./chunk-RT4LMB6X.mjs';import {f,g}from'./chunk-V2C4UDOC.mjs';import {a as a$6}from'./chunk-4QEH5CGK.mjs';import {CaretDownIcon}from'@baseline-ui/icons/8';import k,{useEffect}from'react';import {jsx,jsxs}from'react/jsx-runtime';/**
2
+ * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
+ *
4
+ * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
5
+ * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
6
+ * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
7
+ * This notice may not be removed from this file.
8
+ *
9
+ */
10
+ var K={xxs:8,xs:12,sm:16,md:20,lg:24},D=k.forwardRef((t,a$2)=>{let o=a(a$2),{tooltipProps:n}=b(t,o);return n?jsx(a$1,{...n,children:jsx(u,{...t,ref:o})}):jsx(u,{...t,ref:o})});D.displayName="ActionIconButton";var u=k.forwardRef((t,a)=>{let[o,n]=e(t,a,a$2),{className:i,style:s,icon:_,size:m="md",variant:p="primary",UNSAFE_isVisuallyInteractiveOnly:r,elementType:f$1=r?"div":"button",isExcludedFromRovingFocus:b,isDisabled:l,dragProps:H,"data-block-id":V,"data-block-class":M,"aria-label":c$1,"aria-labelledby":d,slot:X,...I}=o,{draggable:U,onDragStart:h,onDrag:w,onDragEnd:z}=o;useEffect(()=>{!c$1&&!d&&!r&&a$3("ActionIconButton:missingLabel","An `ActionIconButton` requires an aria-label or aria-labelledby prop.");},[c$1,d,r]);let{buttonProps:q,isPressed:G,ref:W,isFocusVisible:y,isFocused:Y,isHovered:A,uiStateOptions:B}=c({...I,"aria-label":c$1,"aria-labelledby":d,isDisabled:l,excludeFromTabOrder:I.excludeFromTabOrder??b,elementType:f$1}),Z=a$4({"data-block-id":V,"data-block-class":M,"data-focused":Y,"data-focus-visible":y,"data-disabled":l,"data-hovered":A,"data-pressed":G,"data-bui-avoid-focus":b});return jsxs(f$1,{...g(q,Z,H,{draggable:U,onDragStart:h,onDrag:w,onDragEnd:z}),className:a$6(b$1({variant:p,size:m,isDisabled:!!l,isFocusVisible:y,isHovered:A}),"BaselineUI-ActionIconButton",typeof i=="function"?i(B):i),ref:f(n,W),style:typeof s=="function"?s(B):s,...r&&{tabIndex:void 0,role:void 0,"aria-label":void 0,"aria-labelledby":void 0,"aria-disabled":void 0},children:[jsx(_,{role:"presentation",size:K[m]}),p==="popover"&&jsx(CaretDownIcon,{size:8,className:a$5})]})});u.displayName="ActionIconButtonCore";export{D as a};
@@ -1,4 +1,4 @@
1
- import {a as a$2}from'./chunk-DIL5HL6K.mjs';import {a as a$1}from'./chunk-VQHI3ZCW.mjs';import {a}from'./chunk-VDUFLHKK.mjs';import {jsx}from'react/jsx-runtime';/**
1
+ import {a as a$2}from'./chunk-DIL5HL6K.mjs';import {a as a$1}from'./chunk-WSDEMATI.mjs';import {a}from'./chunk-EYKQGC4O.mjs';import {jsx}from'react/jsx-runtime';/**
2
2
  * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
3
  *
4
4
  * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
@@ -0,0 +1,10 @@
1
+ import {a as a$5,b as b$2,e}from'./chunk-X5Z54UUE.mjs';import {a as a$1}from'./chunk-TQMBJFQC.mjs';import {a as a$4}from'./chunk-3K6XNSYE.mjs';import {a as a$2}from'./chunk-ELW6SXDM.mjs';import {a as a$3}from'./chunk-LRFFL765.mjs';import {f}from'./chunk-AIG23SN5.mjs';import {f as f$1,g}from'./chunk-V2C4UDOC.mjs';import {a,b}from'./chunk-TYOEGCPS.mjs';import {b as b$1}from'./chunk-RMUV6NJJ.mjs';import {a as a$6}from'./chunk-4QEH5CGK.mjs';import {ArrowDownCircleFilledIcon}from'@baseline-ui/icons/16';import {AnimatePresence,motion}from'motion/react';import s,{useCallback,useEffect}from'react';import {jsxs,Fragment,jsx}from'react/jsx-runtime';/**
2
+ * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
+ *
4
+ * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
5
+ * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
6
+ * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
7
+ * This notice may not be removed from this file.
8
+ *
9
+ */
10
+ var q="_8kqf970 _1yep5z6q4 _1yep5z6q5 _1yep5z6q6 _1yep5z6mm _1yep5z6mn _1yep5z6mo _1yep5z6oy _1yep5z6oz _1yep5z6p0 _1yep5z615r _1yep5z615s _1yep5z615t _1yep5z6160 _1yep5z6161 _1yep5z6162 _1yep5z616i _1yep5z616j _1yep5z616k _1yep5z6zp _1yep5z6vy _1yep5z6vz _1yep5z6w0 _1yep5z618o _1yep5z610h";var M=2;function F(e){let{body:o}=e,a=b(o).getComputedStyle(o).overflowY;return a==="auto"||a==="scroll"?{eventTarget:o,scrollElement:o}:{eventTarget:e,scrollElement:e.scrollingElement??e.documentElement}}var D=s.forwardRef(({className:e$1,style:o,hideForKeyboard:a$7,scrollRef:r,label:N,delay:d=1500,smoothScroll:O=true,"data-block-id":X,"data-block-class":U},V)=>{let g$1=s.useRef(null),c=s.useRef(null),W=f(),[j,_]=s.useState(false),m=useCallback(()=>r?.current??F(a(c.current)).scrollElement,[r]),n=useCallback(()=>{let t=m();return b(t).getComputedStyle(t).flexDirection==="column-reverse"?t.scrollTop+M>=0:t.scrollTop+t.clientHeight+M>=t.scrollHeight},[m]),G=b$1(),[J,v]=s.useState(()=>G||r?true:n()),{buttonProps:K,isPressed:Q}=a$1({onPress:()=>{let t=m();t.scrollTo({top:t.scrollHeight,behavior:O?"smooth":"auto"});}},g$1),{focusProps:Z,isFocused:$,isFocusVisible:z}=a$2(),{hoverProps:tt,isHovered:b$3}=a$3({}),et=a$4({"data-block-id":X,"data-block-class":U,"data-pressed":Q,"data-focus-visible":z,"data-hovered":b$3,"data-focused":$});return useEffect(()=>{v(n());},[n]),useEffect(()=>{let t=F(a(c.current)),l=r?.current??t.eventTarget,ot="onscrollend"in b(r?.current??t.scrollElement),u,p=()=>{clearTimeout(u),u=setTimeout(()=>{_(false),v(n());},d);},S=()=>{_(true),ot||p();};return l.addEventListener("scroll",S),l.addEventListener("scrollend",p),()=>{clearTimeout(u),l.removeEventListener("scroll",S),l.removeEventListener("scrollend",p);}},[r,d,n]),jsxs(Fragment,{children:[jsx("span",{hidden:true,ref:c}),jsx(AnimatePresence,{initial:false,children:(!a$7||W!=="keyboard")&&!j&&!J?jsxs(motion.button,{initial:{opacity:0,transform:"translateX(-50%) translateY(10px)"},animate:{opacity:1,transform:"translateX(-50%) translateY(0)"},exit:{opacity:0,transform:"translateX(-50%) translateY(10px)"},transition:{duration:.3},...g(K,Z,tt,et),className:a$6(q,b$2({isFocusVisible:z,variant:"high-contrast",isHovered:b$3}),e({variant:"high-contrast"}),"BaselineUI-ScrollControlButton",e$1),style:o,ref:f$1(V,g$1),children:[jsx(ArrowDownCircleFilledIcon,{size:16,className:a$5({variant:"high-contrast"})}),N]}):null})]})});D.displayName="ScrollControlButton";export{D as a};
@@ -1,4 +1,4 @@
1
- import {j,l,m,k,o,i,h}from'./chunk-OO3ZVB2T.mjs';import {a as a$3}from'./chunk-2UDXAKWA.mjs';import {a as a$2}from'./chunk-KCHAWPUN.mjs';import {b}from'./chunk-GIUNLLWW.mjs';import {a}from'./chunk-5LGYS5CZ.mjs';import {e}from'./chunk-NYNS3UDR.mjs';import {a as a$1}from'./chunk-4QEH5CGK.mjs';import z,{useEffect,useContext}from'react';import {jsxs,jsx}from'react/jsx-runtime';/**
1
+ import {j,l,m,k,o,i,h}from'./chunk-OYE6VSTU.mjs';import {a as a$3}from'./chunk-C6TD53KY.mjs';import {a as a$2}from'./chunk-KCHAWPUN.mjs';import {b}from'./chunk-P3RRGPNM.mjs';import {a}from'./chunk-V3DTS6FF.mjs';import {e}from'./chunk-EKRT3PPK.mjs';import {a as a$1}from'./chunk-4QEH5CGK.mjs';import z,{useEffect,useContext}from'react';import {jsxs,jsx}from'react/jsx-runtime';/**
2
2
  * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
3
  *
4
4
  * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW