@commercetools/nimbus 0.0.0-canary-20250821080039 → 0.0.0-canary-20250821130546

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 (417) hide show
  1. package/dist/checkbox.d.ts +8 -6
  2. package/dist/chunks/{Button-Dbso0-qF.es.js → Button-C-yUWwZg.es.js} +4 -4
  3. package/dist/chunks/{Button-Dbso0-qF.es.js.map → Button-C-yUWwZg.es.js.map} +1 -1
  4. package/dist/chunks/{Button-BLV4Eycw.cjs.js → Button-DQ_WkLNH.cjs.js} +2 -2
  5. package/dist/chunks/{Button-BLV4Eycw.cjs.js.map → Button-DQ_WkLNH.cjs.js.map} +1 -1
  6. package/dist/chunks/Collection-BsItrctR.cjs.js +18 -0
  7. package/dist/chunks/Collection-BsItrctR.cjs.js.map +1 -0
  8. package/dist/chunks/Collection-DFZhstai.es.js +1896 -0
  9. package/dist/chunks/Collection-DFZhstai.es.js.map +1 -0
  10. package/dist/chunks/DateField-D-KvZd-Q.cjs.js +2 -0
  11. package/dist/chunks/{DateField-iMlYFknq.cjs.js.map → DateField-D-KvZd-Q.cjs.js.map} +1 -1
  12. package/dist/chunks/{DateField-pv0EoMnC.es.js → DateField-m1BUGo8i.es.js} +31 -30
  13. package/dist/chunks/{DateField-pv0EoMnC.es.js.map → DateField-m1BUGo8i.es.js.map} +1 -1
  14. package/dist/chunks/DatePicker-BQ6EfAU2.cjs.js +2 -0
  15. package/dist/chunks/{DatePicker-DhT2ekYj.cjs.js.map → DatePicker-BQ6EfAU2.cjs.js.map} +1 -1
  16. package/dist/chunks/{DatePicker-COZaw7tZ.es.js → DatePicker-ByWwypbW.es.js} +33 -31
  17. package/dist/chunks/{DatePicker-COZaw7tZ.es.js.map → DatePicker-ByWwypbW.es.js.map} +1 -1
  18. package/dist/chunks/Dialog-B4OIDU7t.cjs.js +2 -0
  19. package/dist/chunks/{Dialog-CptyD9rP.cjs.js.map → Dialog-B4OIDU7t.cjs.js.map} +1 -1
  20. package/dist/chunks/{Dialog-zk-xJfoo.es.js → Dialog-DNPIKkGE.es.js} +106 -104
  21. package/dist/chunks/{Dialog-zk-xJfoo.es.js.map → Dialog-DNPIKkGE.es.js.map} +1 -1
  22. package/dist/chunks/DragAndDrop-ChYb3tCX.es.js +81 -0
  23. package/dist/chunks/DragAndDrop-ChYb3tCX.es.js.map +1 -0
  24. package/dist/chunks/DragAndDrop-cOfUfFj8.cjs.js +2 -0
  25. package/dist/chunks/DragAndDrop-cOfUfFj8.cjs.js.map +1 -0
  26. package/dist/chunks/FieldError-CXcEMuBf.es.js +6 -0
  27. package/dist/chunks/FieldError-CXcEMuBf.es.js.map +1 -0
  28. package/dist/chunks/FieldError-DyGFfqST.cjs.js +2 -0
  29. package/dist/chunks/FieldError-DyGFfqST.cjs.js.map +1 -0
  30. package/dist/chunks/{FocusScope-GecpDnRx.cjs.js → FocusScope-B78iFLeF.cjs.js} +2 -2
  31. package/dist/chunks/{FocusScope-GecpDnRx.cjs.js.map → FocusScope-B78iFLeF.cjs.js.map} +1 -1
  32. package/dist/chunks/{FocusScope-DqjrxokF.es.js → FocusScope-C1Aw7j9H.es.js} +7 -7
  33. package/dist/chunks/{FocusScope-DqjrxokF.es.js.map → FocusScope-C1Aw7j9H.es.js.map} +1 -1
  34. package/dist/chunks/Form-BuOomA4T.cjs.js +2 -0
  35. package/dist/chunks/Form-BuOomA4T.cjs.js.map +1 -0
  36. package/dist/chunks/Form-CXcEMuBf.es.js +6 -0
  37. package/dist/chunks/Form-CXcEMuBf.es.js.map +1 -0
  38. package/dist/chunks/{Group-NyoRRxUI.cjs.js → Group-KVM7Xnxu.cjs.js} +2 -2
  39. package/dist/chunks/{Group-NyoRRxUI.cjs.js.map → Group-KVM7Xnxu.cjs.js.map} +1 -1
  40. package/dist/chunks/{Group-BrHhkg3Q.es.js → Group-kT8-3NGT.es.js} +3 -3
  41. package/dist/chunks/{Group-BrHhkg3Q.es.js.map → Group-kT8-3NGT.es.js.map} +1 -1
  42. package/dist/chunks/{Heading-P3M5XVwg.cjs.js → Heading-CQJ-3eon.cjs.js} +2 -2
  43. package/dist/chunks/{Heading-P3M5XVwg.cjs.js.map → Heading-CQJ-3eon.cjs.js.map} +1 -1
  44. package/dist/chunks/{Heading-6PRCde4r.es.js → Heading-DMBCkz0y.es.js} +10 -10
  45. package/dist/chunks/{Heading-6PRCde4r.es.js.map → Heading-DMBCkz0y.es.js.map} +1 -1
  46. package/dist/chunks/{Input-3b57jDmV.cjs.js → Input-93z9WR_a.cjs.js} +2 -2
  47. package/dist/chunks/{Input-3b57jDmV.cjs.js.map → Input-93z9WR_a.cjs.js.map} +1 -1
  48. package/dist/chunks/{Input-DEUFE8kQ.es.js → Input-C4REHQYD.es.js} +3 -3
  49. package/dist/chunks/{Input-DEUFE8kQ.es.js.map → Input-C4REHQYD.es.js.map} +1 -1
  50. package/dist/chunks/ListBox-B8Tz7EWS.es.js +615 -0
  51. package/dist/chunks/ListBox-B8Tz7EWS.es.js.map +1 -0
  52. package/dist/chunks/ListBox-CzZFXtHY.cjs.js +2 -0
  53. package/dist/chunks/ListBox-CzZFXtHY.cjs.js.map +1 -0
  54. package/dist/chunks/OverlayArrow-BD-oGsXg.es.js +452 -0
  55. package/dist/chunks/OverlayArrow-BD-oGsXg.es.js.map +1 -0
  56. package/dist/chunks/OverlayArrow-aq8OInch.cjs.js +2 -0
  57. package/dist/chunks/OverlayArrow-aq8OInch.cjs.js.map +1 -0
  58. package/dist/chunks/RSPContexts-B4yvXuBR.es.js +7 -0
  59. package/dist/chunks/{RSPContexts-AkhSBHGO.es.js.map → RSPContexts-B4yvXuBR.es.js.map} +1 -1
  60. package/dist/chunks/RSPContexts-CkSl9jRK.cjs.js +2 -0
  61. package/dist/chunks/{RSPContexts-CIAIlAKH.cjs.js.map → RSPContexts-CkSl9jRK.cjs.js.map} +1 -1
  62. package/dist/chunks/Separator-BUmWfQvi.es.js +573 -0
  63. package/dist/chunks/Separator-BUmWfQvi.es.js.map +1 -0
  64. package/dist/chunks/Separator-DBLZ41YB.cjs.js +2 -0
  65. package/dist/chunks/Separator-DBLZ41YB.cjs.js.map +1 -0
  66. package/dist/chunks/{TextArea-DfONO55t.cjs.js → TextArea-Cc0cDaeu.cjs.js} +2 -2
  67. package/dist/chunks/{TextArea-DfONO55t.cjs.js.map → TextArea-Cc0cDaeu.cjs.js.map} +1 -1
  68. package/dist/chunks/{TextArea-D31Tyn5f.es.js → TextArea-DIyosEKy.es.js} +3 -3
  69. package/dist/chunks/{TextArea-D31Tyn5f.es.js.map → TextArea-DIyosEKy.es.js.map} +1 -1
  70. package/dist/chunks/{ToggleButton-CgYoKWXE.cjs.js → ToggleButton-BbM5Zv6q.cjs.js} +2 -2
  71. package/dist/chunks/{ToggleButton-CgYoKWXE.cjs.js.map → ToggleButton-BbM5Zv6q.cjs.js.map} +1 -1
  72. package/dist/chunks/{ToggleButton-BwfjgdrS.es.js → ToggleButton-CgbTgCVi.es.js} +5 -5
  73. package/dist/chunks/{ToggleButton-BwfjgdrS.es.js.map → ToggleButton-CgbTgCVi.es.js.map} +1 -1
  74. package/dist/chunks/{VisuallyHidden-Cry3ILzH.cjs.js → VisuallyHidden-B4l0wZHw.cjs.js} +2 -2
  75. package/dist/chunks/{VisuallyHidden-Cry3ILzH.cjs.js.map → VisuallyHidden-B4l0wZHw.cjs.js.map} +1 -1
  76. package/dist/chunks/{VisuallyHidden-vWWAOaeB.es.js → VisuallyHidden-C38kRNm0.es.js} +2 -2
  77. package/dist/chunks/{VisuallyHidden-vWWAOaeB.es.js.map → VisuallyHidden-C38kRNm0.es.js.map} +1 -1
  78. package/dist/chunks/{accordion-BzVLPw0m.es.js → accordion-B_MC1ZEv.es.js} +3 -3
  79. package/dist/chunks/{accordion-BzVLPw0m.es.js.map → accordion-B_MC1ZEv.es.js.map} +1 -1
  80. package/dist/chunks/{accordion-CqVqPnnk.cjs.js → accordion-C9-YyEB4.cjs.js} +2 -2
  81. package/dist/chunks/{accordion-CqVqPnnk.cjs.js.map → accordion-C9-YyEB4.cjs.js.map} +1 -1
  82. package/dist/chunks/{alert-BjlXzvt9.es.js → alert-CgDrQdgE.es.js} +2 -2
  83. package/dist/chunks/{alert-BjlXzvt9.es.js.map → alert-CgDrQdgE.es.js.map} +1 -1
  84. package/dist/chunks/{alert-7fGS6Jtp.cjs.js → alert-DwDLsZeH.cjs.js} +2 -2
  85. package/dist/chunks/{alert-7fGS6Jtp.cjs.js.map → alert-DwDLsZeH.cjs.js.map} +1 -1
  86. package/dist/chunks/{button-CuhF1g5I.es.js → button-BCYZ1Ki2.es.js} +4 -4
  87. package/dist/chunks/{button-CuhF1g5I.es.js.map → button-BCYZ1Ki2.es.js.map} +1 -1
  88. package/dist/chunks/{button-DQVmtZsI.cjs.js → button-IGP--12e.cjs.js} +2 -2
  89. package/dist/chunks/{button-DQVmtZsI.cjs.js.map → button-IGP--12e.cjs.js.map} +1 -1
  90. package/dist/chunks/{calendar-CX2aTMuK.cjs.js → calendar-B3NlJSCo.cjs.js} +2 -2
  91. package/dist/chunks/{calendar-CX2aTMuK.cjs.js.map → calendar-B3NlJSCo.cjs.js.map} +1 -1
  92. package/dist/chunks/{calendar-Cgb94GBg.es.js → calendar-D3A1ryrp.es.js} +8 -8
  93. package/dist/chunks/{calendar-Cgb94GBg.es.js.map → calendar-D3A1ryrp.es.js.map} +1 -1
  94. package/dist/chunks/{card-DR7vGEKx.cjs.js → card-4i9NTJKM.cjs.js} +2 -2
  95. package/dist/chunks/{card-DR7vGEKx.cjs.js.map → card-4i9NTJKM.cjs.js.map} +1 -1
  96. package/dist/chunks/{card-DTunB9ZY.es.js → card-D1BUuNzg.es.js} +2 -2
  97. package/dist/chunks/{card-DTunB9ZY.es.js.map → card-D1BUuNzg.es.js.map} +1 -1
  98. package/dist/chunks/checkbox-DVb0qX6x.cjs.js +2 -0
  99. package/dist/chunks/checkbox-DVb0qX6x.cjs.js.map +1 -0
  100. package/dist/chunks/checkbox-DlYjw56x.es.js +219 -0
  101. package/dist/chunks/checkbox-DlYjw56x.es.js.map +1 -0
  102. package/dist/chunks/{combobox-1Kzme-cs.es.js → combobox-BWjVkgOn.es.js} +666 -663
  103. package/dist/chunks/{combobox-1Kzme-cs.es.js.map → combobox-BWjVkgOn.es.js.map} +1 -1
  104. package/dist/chunks/combobox-C3foptTP.cjs.js +2 -0
  105. package/dist/chunks/{combobox-9_6OFmgk.cjs.js.map → combobox-C3foptTP.cjs.js.map} +1 -1
  106. package/dist/chunks/data-table-BRjRsTel.cjs.js +2 -0
  107. package/dist/chunks/data-table-BRjRsTel.cjs.js.map +1 -0
  108. package/dist/chunks/data-table-DR210vqX.es.js +3912 -0
  109. package/dist/chunks/data-table-DR210vqX.es.js.map +1 -0
  110. package/dist/chunks/{date-input-BiNLEpfR.cjs.js → date-input-BFHLRnBr.cjs.js} +2 -2
  111. package/dist/chunks/{date-input-BiNLEpfR.cjs.js.map → date-input-BFHLRnBr.cjs.js.map} +1 -1
  112. package/dist/chunks/{date-input-DU74Qqxa.es.js → date-input-tNUDaNSO.es.js} +4 -4
  113. package/dist/chunks/{date-input-DU74Qqxa.es.js.map → date-input-tNUDaNSO.es.js.map} +1 -1
  114. package/dist/chunks/{date-picker-BU4NVftG.cjs.js → date-picker-GqOazmSZ.cjs.js} +2 -2
  115. package/dist/chunks/{date-picker-BU4NVftG.cjs.js.map → date-picker-GqOazmSZ.cjs.js.map} +1 -1
  116. package/dist/chunks/{date-picker-D6h7NeRV.es.js → date-picker-J6nYu3zN.es.js} +12 -12
  117. package/dist/chunks/{date-picker-D6h7NeRV.es.js.map → date-picker-J6nYu3zN.es.js.map} +1 -1
  118. package/dist/chunks/{date-range-picker-BhWMCCGo.cjs.js → date-range-picker-D_gkG0on.cjs.js} +2 -2
  119. package/dist/chunks/{date-range-picker-BhWMCCGo.cjs.js.map → date-range-picker-D_gkG0on.cjs.js.map} +1 -1
  120. package/dist/chunks/{date-range-picker-DouNAx8F.es.js → date-range-picker-DxIXHOC2.es.js} +12 -12
  121. package/dist/chunks/{date-range-picker-DouNAx8F.es.js.map → date-range-picker-DxIXHOC2.es.js.map} +1 -1
  122. package/dist/chunks/{extractStyleProps-DV7dej9J.es.js → extractStyleProps-BEa9kwlY.es.js} +2 -2
  123. package/dist/chunks/{extractStyleProps-DV7dej9J.es.js.map → extractStyleProps-BEa9kwlY.es.js.map} +1 -1
  124. package/dist/chunks/{focusSafely-IqPqYGW2.cjs.js → focusSafely-CpzfaUTO.cjs.js} +2 -2
  125. package/dist/chunks/{focusSafely-IqPqYGW2.cjs.js.map → focusSafely-CpzfaUTO.cjs.js.map} +1 -1
  126. package/dist/chunks/{focusSafely-Z_llPDi1.es.js → focusSafely-Di2ArC9L.es.js} +3 -3
  127. package/dist/chunks/{focusSafely-Z_llPDi1.es.js.map → focusSafely-Di2ArC9L.es.js.map} +1 -1
  128. package/dist/chunks/{form-field-DyC1BwgL.es.js → form-field-B1vOlQXH.es.js} +3 -3
  129. package/dist/chunks/{form-field-DyC1BwgL.es.js.map → form-field-B1vOlQXH.es.js.map} +1 -1
  130. package/dist/chunks/{form-field-CtS2lThW.cjs.js → form-field-CM_uSyZr.cjs.js} +2 -2
  131. package/dist/chunks/{form-field-CtS2lThW.cjs.js.map → form-field-CM_uSyZr.cjs.js.map} +1 -1
  132. package/dist/chunks/{group-C-AOBEBA.es.js → group-BQeamedA.es.js} +2 -2
  133. package/dist/chunks/{group-C-AOBEBA.es.js.map → group-BQeamedA.es.js.map} +1 -1
  134. package/dist/chunks/{group-BlwUrhBo.cjs.js → group-BwSwp_8B.cjs.js} +2 -2
  135. package/dist/chunks/{group-BlwUrhBo.cjs.js.map → group-BwSwp_8B.cjs.js.map} +1 -1
  136. package/dist/chunks/{icon-button-eAxeO5Sy.es.js → icon-button-DhmHHVhL.es.js} +2 -2
  137. package/dist/chunks/{icon-button-eAxeO5Sy.es.js.map → icon-button-DhmHHVhL.es.js.map} +1 -1
  138. package/dist/chunks/{icon-button-Dz81DR3X.cjs.js → icon-button-KMr_sm5y.cjs.js} +2 -2
  139. package/dist/chunks/{icon-button-Dz81DR3X.cjs.js.map → icon-button-KMr_sm5y.cjs.js.map} +1 -1
  140. package/dist/chunks/{icon-toggle-button-JIH-oYkL.es.js → icon-toggle-button-Dfzrgtgw.es.js} +2 -2
  141. package/dist/chunks/{icon-toggle-button-JIH-oYkL.es.js.map → icon-toggle-button-Dfzrgtgw.es.js.map} +1 -1
  142. package/dist/chunks/{icon-toggle-button-C0lscD-H.cjs.js → icon-toggle-button-p3GT9QUC.cjs.js} +2 -2
  143. package/dist/chunks/{icon-toggle-button-C0lscD-H.cjs.js.map → icon-toggle-button-p3GT9QUC.cjs.js.map} +1 -1
  144. package/dist/chunks/{index-BbFVxNB8.es.js → index-BDmBxsjm.es.js} +3 -18
  145. package/dist/chunks/index-BDmBxsjm.es.js.map +1 -0
  146. package/dist/chunks/index-XyB4gGC8.cjs.js.map +1 -1
  147. package/dist/chunks/intlStrings-Cd44R5hT.es.js +279 -0
  148. package/dist/chunks/intlStrings-Cd44R5hT.es.js.map +1 -0
  149. package/dist/chunks/intlStrings-ClBuC6xN.cjs.js +2 -0
  150. package/dist/chunks/intlStrings-ClBuC6xN.cjs.js.map +1 -0
  151. package/dist/chunks/{link-sv3Y9kiL.cjs.js → link-B2cOAxZz.cjs.js} +2 -2
  152. package/dist/chunks/{link-sv3Y9kiL.cjs.js.map → link-B2cOAxZz.cjs.js.map} +1 -1
  153. package/dist/chunks/{link-ghRc-njF.es.js → link-DteZUB4U.es.js} +4 -4
  154. package/dist/chunks/{link-ghRc-njF.es.js.map → link-DteZUB4U.es.js.map} +1 -1
  155. package/dist/chunks/{make-element-focusable-ZJARjxxy.es.js → make-element-focusable-_FWEyVtG.es.js} +2 -2
  156. package/dist/chunks/{make-element-focusable-ZJARjxxy.es.js.map → make-element-focusable-_FWEyVtG.es.js.map} +1 -1
  157. package/dist/chunks/{make-element-focusable-DH5D8RT_.cjs.js → make-element-focusable-fn-8kTQK.cjs.js} +2 -2
  158. package/dist/chunks/{make-element-focusable-DH5D8RT_.cjs.js.map → make-element-focusable-fn-8kTQK.cjs.js.map} +1 -1
  159. package/dist/chunks/{multiline-text-input-C92pFhFJ.es.js → multiline-text-input-BfG35UfF.es.js} +4 -4
  160. package/dist/chunks/{multiline-text-input-C92pFhFJ.es.js.map → multiline-text-input-BfG35UfF.es.js.map} +1 -1
  161. package/dist/chunks/{multiline-text-input-CyuK_OFR.cjs.js → multiline-text-input-ChVzVZob.cjs.js} +2 -2
  162. package/dist/chunks/{multiline-text-input-CyuK_OFR.cjs.js.map → multiline-text-input-ChVzVZob.cjs.js.map} +1 -1
  163. package/dist/chunks/{nimbus-provider-ayl_l7xS.es.js → nimbus-provider-DEQVQ5ZH.es.js} +3 -3
  164. package/dist/chunks/{nimbus-provider-ayl_l7xS.es.js.map → nimbus-provider-DEQVQ5ZH.es.js.map} +1 -1
  165. package/dist/chunks/{number-input-B1dhdihJ.cjs.js → number-input-9hCQtXai.cjs.js} +2 -2
  166. package/dist/chunks/{number-input-B1dhdihJ.cjs.js.map → number-input-9hCQtXai.cjs.js.map} +1 -1
  167. package/dist/chunks/{number-input-CW2-kmte.es.js → number-input-Kj7uy8Kj.es.js} +53 -53
  168. package/dist/chunks/{number-input-CW2-kmte.es.js.map → number-input-Kj7uy8Kj.es.js.map} +1 -1
  169. package/dist/chunks/{openLink-UGin_Dml.es.js → openLink-Ctl0AdAy.es.js} +2 -2
  170. package/dist/chunks/{openLink-UGin_Dml.es.js.map → openLink-Ctl0AdAy.es.js.map} +1 -1
  171. package/dist/chunks/{password-input-Cu0dFS1a.es.js → password-input-B5jaUzRa.es.js} +4 -4
  172. package/dist/chunks/{password-input-Cu0dFS1a.es.js.map → password-input-B5jaUzRa.es.js.map} +1 -1
  173. package/dist/chunks/{password-input-JB8O_D-h.cjs.js → password-input-Bw0E-ejz.cjs.js} +2 -2
  174. package/dist/chunks/{password-input-JB8O_D-h.cjs.js.map → password-input-Bw0E-ejz.cjs.js.map} +1 -1
  175. package/dist/chunks/{platform-BuOpbxqC.es.js → platform-Z5fvtFmM.es.js} +3 -3
  176. package/dist/chunks/{platform-BuOpbxqC.es.js.map → platform-Z5fvtFmM.es.js.map} +1 -1
  177. package/dist/chunks/{progress-bar-CUa2a1GW.es.js → progress-bar-BkJEnG2U.es.js} +2 -2
  178. package/dist/chunks/{progress-bar-CUa2a1GW.es.js.map → progress-bar-BkJEnG2U.es.js.map} +1 -1
  179. package/dist/chunks/{radio-input-Dm2vi4Tr.es.js → radio-input-BX3XjxCZ.es.js} +18 -17
  180. package/dist/chunks/{radio-input-Dm2vi4Tr.es.js.map → radio-input-BX3XjxCZ.es.js.map} +1 -1
  181. package/dist/chunks/radio-input-D3ePwO1n.cjs.js +2 -0
  182. package/dist/chunks/{radio-input-ks3uMIHH.cjs.js.map → radio-input-D3ePwO1n.cjs.js.map} +1 -1
  183. package/dist/chunks/{range-calendar-BPr3OzhD.es.js → range-calendar-BgJMo6pU.es.js} +8 -8
  184. package/dist/chunks/{range-calendar-BPr3OzhD.es.js.map → range-calendar-BgJMo6pU.es.js.map} +1 -1
  185. package/dist/chunks/{range-calendar-p93X9--W.cjs.js → range-calendar-Bk_im2QK.cjs.js} +2 -2
  186. package/dist/chunks/{range-calendar-p93X9--W.cjs.js.map → range-calendar-Bk_im2QK.cjs.js.map} +1 -1
  187. package/dist/chunks/{scrollIntoView-DBSz0DQ7.es.js → scrollIntoView-BYF_8_6g.es.js} +5 -5
  188. package/dist/chunks/{scrollIntoView-DBSz0DQ7.es.js.map → scrollIntoView-BYF_8_6g.es.js.map} +1 -1
  189. package/dist/chunks/select-DUhCYblF.cjs.js +2 -0
  190. package/dist/chunks/select-DUhCYblF.cjs.js.map +1 -0
  191. package/dist/chunks/select-N8FpTFMk.es.js +560 -0
  192. package/dist/chunks/select-N8FpTFMk.es.js.map +1 -0
  193. package/dist/chunks/split-button-CIHXMvxD.cjs.js +2 -0
  194. package/dist/chunks/{split-button-CcDW5RoK.cjs.js.map → split-button-CIHXMvxD.cjs.js.map} +1 -1
  195. package/dist/chunks/{split-button-CD_Lc9Zk.es.js → split-button-CyEM3H65.es.js} +32 -31
  196. package/dist/chunks/{split-button-CD_Lc9Zk.es.js.map → split-button-CyEM3H65.es.js.map} +1 -1
  197. package/dist/chunks/{switch-xIG_-I0g.es.js → switch-B4gRcARZ.es.js} +6 -6
  198. package/dist/chunks/{switch-xIG_-I0g.es.js.map → switch-B4gRcARZ.es.js.map} +1 -1
  199. package/dist/chunks/{switch-Crc8nVlW.cjs.js → switch-C3AG1gUR.cjs.js} +2 -2
  200. package/dist/chunks/{switch-Crc8nVlW.cjs.js.map → switch-C3AG1gUR.cjs.js.map} +1 -1
  201. package/dist/chunks/tag-group-BE8wfvqd.es.js +768 -0
  202. package/dist/chunks/tag-group-BE8wfvqd.es.js.map +1 -0
  203. package/dist/chunks/tag-group-BYQkpbiY.cjs.js +2 -0
  204. package/dist/chunks/tag-group-BYQkpbiY.cjs.js.map +1 -0
  205. package/dist/chunks/{text-input-Co1vIdZ4.es.js → text-input-ClB8DzCK.es.js} +5 -5
  206. package/dist/chunks/{text-input-Co1vIdZ4.es.js.map → text-input-ClB8DzCK.es.js.map} +1 -1
  207. package/dist/chunks/{text-input-C-OhJndO.cjs.js → text-input-DnS2RVDs.cjs.js} +2 -2
  208. package/dist/chunks/{text-input-C-OhJndO.cjs.js.map → text-input-DnS2RVDs.cjs.js.map} +1 -1
  209. package/dist/chunks/{time-input-DBhELOKp.cjs.js → time-input-BWkx15sb.cjs.js} +2 -2
  210. package/dist/chunks/{time-input-DBhELOKp.cjs.js.map → time-input-BWkx15sb.cjs.js.map} +1 -1
  211. package/dist/chunks/{time-input-Qllp0HZz.es.js → time-input-DWx_NjPa.es.js} +3 -3
  212. package/dist/chunks/{time-input-Qllp0HZz.es.js.map → time-input-DWx_NjPa.es.js.map} +1 -1
  213. package/dist/chunks/{toggle-button-DS19vPrG.es.js → toggle-button-CuDtxD_c.es.js} +4 -4
  214. package/dist/chunks/{toggle-button-DS19vPrG.es.js.map → toggle-button-CuDtxD_c.es.js.map} +1 -1
  215. package/dist/chunks/{toggle-button-DY1owmQc.cjs.js → toggle-button-PE5251Fm.cjs.js} +2 -2
  216. package/dist/chunks/{toggle-button-DY1owmQc.cjs.js.map → toggle-button-PE5251Fm.cjs.js.map} +1 -1
  217. package/dist/chunks/{toggle-button-group-BWIvUU_4.cjs.js → toggle-button-group-B2G_b7h8.cjs.js} +2 -2
  218. package/dist/chunks/{toggle-button-group-BWIvUU_4.cjs.js.map → toggle-button-group-B2G_b7h8.cjs.js.map} +1 -1
  219. package/dist/chunks/{toggle-button-group-CgjXp8XN.es.js → toggle-button-group-CXrwjOF0.es.js} +2 -2
  220. package/dist/chunks/{toggle-button-group-CgjXp8XN.es.js.map → toggle-button-group-CXrwjOF0.es.js.map} +1 -1
  221. package/dist/chunks/{toolbar-CjHj5fIX.cjs.js → toolbar-BxIQI626.cjs.js} +2 -2
  222. package/dist/chunks/{toolbar-CjHj5fIX.cjs.js.map → toolbar-BxIQI626.cjs.js.map} +1 -1
  223. package/dist/chunks/{toolbar-DLScuBdf.es.js → toolbar-D2CqoZzL.es.js} +4 -4
  224. package/dist/chunks/{toolbar-DLScuBdf.es.js.map → toolbar-D2CqoZzL.es.js.map} +1 -1
  225. package/dist/chunks/{tooltip-Q46epl2a.es.js → tooltip-Ya7L6lQR.es.js} +5 -5
  226. package/dist/chunks/{tooltip-Q46epl2a.es.js.map → tooltip-Ya7L6lQR.es.js.map} +1 -1
  227. package/dist/chunks/{tooltip-BB7ooTKa.cjs.js → tooltip-fOhxG4pp.cjs.js} +2 -2
  228. package/dist/chunks/{tooltip-BB7ooTKa.cjs.js.map → tooltip-fOhxG4pp.cjs.js.map} +1 -1
  229. package/dist/chunks/{useButton-DlcUcB98.es.js → useButton-Cgkz8UEs.es.js} +3 -3
  230. package/dist/chunks/{useButton-DlcUcB98.es.js.map → useButton-Cgkz8UEs.es.js.map} +1 -1
  231. package/dist/chunks/{useButton-hi3sM3Ce.cjs.js → useButton-D3BedLtL.cjs.js} +2 -2
  232. package/dist/chunks/{useButton-hi3sM3Ce.cjs.js.map → useButton-D3BedLtL.cjs.js.map} +1 -1
  233. package/dist/chunks/{useDateFormatter-kmlij37M.es.js → useDateFormatter-D9HBAX1w.es.js} +2 -2
  234. package/dist/chunks/{useDateFormatter-kmlij37M.es.js.map → useDateFormatter-D9HBAX1w.es.js.map} +1 -1
  235. package/dist/chunks/{useDateFormatter-Dw7VGiwz.cjs.js → useDateFormatter-G9oGkNG5.cjs.js} +2 -2
  236. package/dist/chunks/{useDateFormatter-Dw7VGiwz.cjs.js.map → useDateFormatter-G9oGkNG5.cjs.js.map} +1 -1
  237. package/dist/chunks/{useFocus-CXfPnJ5G.cjs.js → useFocus-BcBbbuWU.cjs.js} +2 -2
  238. package/dist/chunks/{useFocus-CXfPnJ5G.cjs.js.map → useFocus-BcBbbuWU.cjs.js.map} +1 -1
  239. package/dist/chunks/{useFocus-BvGvYIan.es.js → useFocus-CeI1jbl8.es.js} +2 -2
  240. package/dist/chunks/{useFocus-BvGvYIan.es.js.map → useFocus-CeI1jbl8.es.js.map} +1 -1
  241. package/dist/chunks/{useFocusRing-C1vq7lTw.es.js → useFocusRing-D8cwV0EM.es.js} +4 -4
  242. package/dist/chunks/{useFocusRing-C1vq7lTw.es.js.map → useFocusRing-D8cwV0EM.es.js.map} +1 -1
  243. package/dist/chunks/{useFocusRing-ixPPR18r.cjs.js → useFocusRing-DRIoF592.cjs.js} +2 -2
  244. package/dist/chunks/{useFocusRing-ixPPR18r.cjs.js.map → useFocusRing-DRIoF592.cjs.js.map} +1 -1
  245. package/dist/chunks/{useFocusVisible-BvNyuIMJ.es.js → useFocusVisible-C5ivHvqm.es.js} +3 -3
  246. package/dist/chunks/{useFocusVisible-BvNyuIMJ.es.js.map → useFocusVisible-C5ivHvqm.es.js.map} +1 -1
  247. package/dist/chunks/{useFocusVisible-ofYjJ-l6.cjs.js → useFocusVisible-bRnVksaU.cjs.js} +2 -2
  248. package/dist/chunks/{useFocusVisible-ofYjJ-l6.cjs.js.map → useFocusVisible-bRnVksaU.cjs.js.map} +1 -1
  249. package/dist/chunks/{useFocusWithin-Bf2suIR7.cjs.js → useFocusWithin-i-cVKYQ8.cjs.js} +2 -2
  250. package/dist/chunks/{useFocusWithin-Bf2suIR7.cjs.js.map → useFocusWithin-i-cVKYQ8.cjs.js.map} +1 -1
  251. package/dist/chunks/{useFocusWithin-s8WR5xWD.es.js → useFocusWithin-yfiHuOEs.es.js} +2 -2
  252. package/dist/chunks/{useFocusWithin-s8WR5xWD.es.js.map → useFocusWithin-yfiHuOEs.es.js.map} +1 -1
  253. package/dist/chunks/{useFocusable-9nZX8LFj.es.js → useFocusable-BghVNiQU.es.js} +3 -3
  254. package/dist/chunks/{useFocusable-9nZX8LFj.es.js.map → useFocusable-BghVNiQU.es.js.map} +1 -1
  255. package/dist/chunks/{useFocusable-lxn-toA4.cjs.js → useFocusable-avM9w6OE.cjs.js} +2 -2
  256. package/dist/chunks/{useFocusable-lxn-toA4.cjs.js.map → useFocusable-avM9w6OE.cjs.js.map} +1 -1
  257. package/dist/chunks/{useFormValidation-YmZxjLYm.es.js → useFormValidation-DJMNbIhx.es.js} +2 -2
  258. package/dist/chunks/{useFormValidation-YmZxjLYm.es.js.map → useFormValidation-DJMNbIhx.es.js.map} +1 -1
  259. package/dist/chunks/{useFormValidation-Cuj--965.cjs.js → useFormValidation-DJy_cdgv.cjs.js} +2 -2
  260. package/dist/chunks/{useFormValidation-Cuj--965.cjs.js.map → useFormValidation-DJy_cdgv.cjs.js.map} +1 -1
  261. package/dist/chunks/useHighlightSelectionDescription-DAR8wV79.es.js +598 -0
  262. package/dist/chunks/useHighlightSelectionDescription-DAR8wV79.es.js.map +1 -0
  263. package/dist/chunks/useHighlightSelectionDescription-DPwy1mkw.cjs.js +2 -0
  264. package/dist/chunks/useHighlightSelectionDescription-DPwy1mkw.cjs.js.map +1 -0
  265. package/dist/chunks/{useHover-CS1E3DZy.cjs.js → useHover-BlZx5CU2.cjs.js} +2 -2
  266. package/dist/chunks/{useHover-CS1E3DZy.cjs.js.map → useHover-BlZx5CU2.cjs.js.map} +1 -1
  267. package/dist/chunks/{useHover-D4cqdNG6.es.js → useHover-cJOf02TT.es.js} +2 -2
  268. package/dist/chunks/{useHover-D4cqdNG6.es.js.map → useHover-cJOf02TT.es.js.map} +1 -1
  269. package/dist/chunks/{usePress-CHQHbwut.es.js → usePress-BquTSwUd.es.js} +9 -7
  270. package/dist/chunks/{usePress-CHQHbwut.es.js.map → usePress-BquTSwUd.es.js.map} +1 -1
  271. package/dist/chunks/{usePress-EAB51g0R.cjs.js → usePress-D8F1U6qk.cjs.js} +3 -3
  272. package/dist/chunks/{usePress-EAB51g0R.cjs.js.map → usePress-D8F1U6qk.cjs.js.map} +1 -1
  273. package/dist/chunks/useResizeObserver-Dx-vDLiW.cjs.js +2 -0
  274. package/dist/chunks/useResizeObserver-Dx-vDLiW.cjs.js.map +1 -0
  275. package/dist/chunks/useResizeObserver-FIPBIG5S.es.js +32 -0
  276. package/dist/chunks/useResizeObserver-FIPBIG5S.es.js.map +1 -0
  277. package/dist/chunks/{useSingleSelectListState-C0yvvGsR.cjs.js → useSingleSelectListState-BpAVpRdZ.cjs.js} +2 -2
  278. package/dist/chunks/{useSingleSelectListState-C0yvvGsR.cjs.js.map → useSingleSelectListState-BpAVpRdZ.cjs.js.map} +1 -1
  279. package/dist/chunks/{useSingleSelectListState-uzLHyabs.es.js → useSingleSelectListState-CiK-JkEX.es.js} +2 -2
  280. package/dist/chunks/{useSingleSelectListState-uzLHyabs.es.js.map → useSingleSelectListState-CiK-JkEX.es.js.map} +1 -1
  281. package/dist/chunks/{useTextField-MxjVF2Cs.cjs.js → useTextField-Cv1jQqUp.cjs.js} +2 -2
  282. package/dist/chunks/{useTextField-MxjVF2Cs.cjs.js.map → useTextField-Cv1jQqUp.cjs.js.map} +1 -1
  283. package/dist/chunks/{useTextField-Dxspe3Dd.es.js → useTextField-Doh-sQHP.es.js} +4 -4
  284. package/dist/chunks/{useTextField-Dxspe3Dd.es.js.map → useTextField-Doh-sQHP.es.js.map} +1 -1
  285. package/dist/chunks/{useToggle-CTG3hkKx.cjs.js → useToggle-BK36AEko.cjs.js} +2 -2
  286. package/dist/chunks/{useToggle-CTG3hkKx.cjs.js.map → useToggle-BK36AEko.cjs.js.map} +1 -1
  287. package/dist/chunks/{useToggle-CCq_jSTE.es.js → useToggle-DcdigPKG.es.js} +3 -3
  288. package/dist/chunks/{useToggle-CCq_jSTE.es.js.map → useToggle-DcdigPKG.es.js.map} +1 -1
  289. package/dist/chunks/{useToolbar-Be7EMzF5.es.js → useToolbar-CYJ2PbtO.es.js} +2 -2
  290. package/dist/chunks/{useToolbar-Be7EMzF5.es.js.map → useToolbar-CYJ2PbtO.es.js.map} +1 -1
  291. package/dist/chunks/{useToolbar-Dx3B5fDy.cjs.js → useToolbar-D3B8DvbF.cjs.js} +2 -2
  292. package/dist/chunks/{useToolbar-Dx3B5fDy.cjs.js.map → useToolbar-D3B8DvbF.cjs.js.map} +1 -1
  293. package/dist/chunks/utils-BHVnNfaH.cjs.js +2 -0
  294. package/dist/chunks/{utils-JGx-H9sJ.cjs.js.map → utils-BHVnNfaH.cjs.js.map} +1 -1
  295. package/dist/chunks/{utils-BlXAWjB_.es.js → utils-Gg3iiYhl.es.js} +38 -34
  296. package/dist/chunks/{utils-BlXAWjB_.es.js.map → utils-Gg3iiYhl.es.js.map} +1 -1
  297. package/dist/chunks/{visually-hidden-DxNUFbOh.cjs.js → visually-hidden-Uhh-2Y-q.cjs.js} +2 -2
  298. package/dist/chunks/{visually-hidden-DxNUFbOh.cjs.js.map → visually-hidden-Uhh-2Y-q.cjs.js.map} +1 -1
  299. package/dist/chunks/{visually-hidden-Cr2DdJfv.es.js → visually-hidden-vh07nrZa.es.js} +2 -2
  300. package/dist/chunks/{visually-hidden-Cr2DdJfv.es.js.map → visually-hidden-vh07nrZa.es.js.map} +1 -1
  301. package/dist/components/accordion.cjs +1 -1
  302. package/dist/components/accordion.es.js +1 -1
  303. package/dist/components/alert.cjs +1 -1
  304. package/dist/components/alert.es.js +1 -1
  305. package/dist/components/button.cjs +1 -1
  306. package/dist/components/button.es.js +1 -1
  307. package/dist/components/calendar.cjs +1 -1
  308. package/dist/components/calendar.es.js +1 -1
  309. package/dist/components/card.cjs +1 -1
  310. package/dist/components/card.es.js +1 -1
  311. package/dist/components/checkbox.cjs +1 -1
  312. package/dist/components/checkbox.es.js +1 -1
  313. package/dist/components/combobox.cjs +1 -1
  314. package/dist/components/combobox.es.js +1 -1
  315. package/dist/components/components.cjs +1 -1
  316. package/dist/components/components.es.js +122 -108
  317. package/dist/components/components.es.js.map +1 -1
  318. package/dist/components/data-table.cjs +2 -0
  319. package/dist/components/data-table.cjs.map +1 -0
  320. package/dist/components/data-table.es.js +17 -0
  321. package/dist/components/data-table.es.js.map +1 -0
  322. package/dist/components/date-input.cjs +1 -1
  323. package/dist/components/date-input.es.js +1 -1
  324. package/dist/components/date-picker.cjs +1 -1
  325. package/dist/components/date-picker.es.js +1 -1
  326. package/dist/components/date-range-picker.cjs +1 -1
  327. package/dist/components/date-range-picker.es.js +1 -1
  328. package/dist/components/form-field.cjs +1 -1
  329. package/dist/components/form-field.es.js +1 -1
  330. package/dist/components/group.cjs +1 -1
  331. package/dist/components/group.es.js +1 -1
  332. package/dist/components/icon-button.cjs +1 -1
  333. package/dist/components/icon-button.es.js +1 -1
  334. package/dist/components/icon-toggle-button.cjs +1 -1
  335. package/dist/components/icon-toggle-button.es.js +1 -1
  336. package/dist/components/link.cjs +1 -1
  337. package/dist/components/link.es.js +1 -1
  338. package/dist/components/multiline-text-input.cjs +1 -1
  339. package/dist/components/multiline-text-input.es.js +1 -1
  340. package/dist/components/nimbus-provider.es.js +1 -1
  341. package/dist/components/number-input.cjs +1 -1
  342. package/dist/components/number-input.es.js +1 -1
  343. package/dist/components/password-input.cjs +1 -1
  344. package/dist/components/password-input.es.js +1 -1
  345. package/dist/components/progress-bar.es.js +1 -1
  346. package/dist/components/radio-input.cjs +1 -1
  347. package/dist/components/radio-input.es.js +1 -1
  348. package/dist/components/range-calendar.cjs +1 -1
  349. package/dist/components/range-calendar.es.js +1 -1
  350. package/dist/components/select.cjs +1 -1
  351. package/dist/components/select.es.js +1 -1
  352. package/dist/components/split-button.cjs +1 -1
  353. package/dist/components/split-button.es.js +1 -1
  354. package/dist/components/switch.cjs +1 -1
  355. package/dist/components/switch.es.js +1 -1
  356. package/dist/components/tag-group.cjs +1 -1
  357. package/dist/components/tag-group.es.js +1 -1
  358. package/dist/components/text-input.cjs +1 -1
  359. package/dist/components/text-input.es.js +1 -1
  360. package/dist/components/time-input.cjs +1 -1
  361. package/dist/components/time-input.es.js +1 -1
  362. package/dist/components/toggle-button-group.cjs +1 -1
  363. package/dist/components/toggle-button-group.es.js +1 -1
  364. package/dist/components/toggle-button.cjs +1 -1
  365. package/dist/components/toggle-button.es.js +1 -1
  366. package/dist/components/toolbar.cjs +1 -1
  367. package/dist/components/toolbar.es.js +1 -1
  368. package/dist/components/tooltip.cjs +1 -1
  369. package/dist/components/tooltip.es.js +2 -2
  370. package/dist/components/visually-hidden.cjs +1 -1
  371. package/dist/components/visually-hidden.es.js +1 -1
  372. package/dist/components.d.ts +258 -5
  373. package/dist/data-table.d.ts +268 -0
  374. package/dist/index.cjs +1 -1
  375. package/dist/index.cjs.map +1 -1
  376. package/dist/index.d.ts +258 -5
  377. package/dist/index.es.js +285 -407
  378. package/dist/index.es.js.map +1 -1
  379. package/package.json +6 -6
  380. package/dist/chunks/DateField-iMlYFknq.cjs.js +0 -2
  381. package/dist/chunks/DatePicker-DhT2ekYj.cjs.js +0 -2
  382. package/dist/chunks/Dialog-CptyD9rP.cjs.js +0 -2
  383. package/dist/chunks/Form-amb1SjpT.cjs.js +0 -2
  384. package/dist/chunks/Form-amb1SjpT.cjs.js.map +0 -1
  385. package/dist/chunks/Form-yBl0QZl8.es.js +0 -7
  386. package/dist/chunks/Form-yBl0QZl8.es.js.map +0 -1
  387. package/dist/chunks/ListBox-CWStps80.es.js +0 -662
  388. package/dist/chunks/ListBox-CWStps80.es.js.map +0 -1
  389. package/dist/chunks/ListBox-s8tRtwA0.cjs.js +0 -2
  390. package/dist/chunks/ListBox-s8tRtwA0.cjs.js.map +0 -1
  391. package/dist/chunks/OverlayArrow-BuwEfnJ_.es.js +0 -479
  392. package/dist/chunks/OverlayArrow-BuwEfnJ_.es.js.map +0 -1
  393. package/dist/chunks/OverlayArrow-C5Ymp9MC.cjs.js +0 -2
  394. package/dist/chunks/OverlayArrow-C5Ymp9MC.cjs.js.map +0 -1
  395. package/dist/chunks/RSPContexts-AkhSBHGO.es.js +0 -6
  396. package/dist/chunks/RSPContexts-CIAIlAKH.cjs.js +0 -2
  397. package/dist/chunks/Separator-DOmXRTmt.cjs.js +0 -18
  398. package/dist/chunks/Separator-DOmXRTmt.cjs.js.map +0 -1
  399. package/dist/chunks/Separator-jqT9Eof_.es.js +0 -2435
  400. package/dist/chunks/Separator-jqT9Eof_.es.js.map +0 -1
  401. package/dist/chunks/checkbox-Ci8-0C_9.cjs.js +0 -2
  402. package/dist/chunks/checkbox-Ci8-0C_9.cjs.js.map +0 -1
  403. package/dist/chunks/checkbox-CjpbV9HI.es.js +0 -90
  404. package/dist/chunks/checkbox-CjpbV9HI.es.js.map +0 -1
  405. package/dist/chunks/combobox-9_6OFmgk.cjs.js +0 -2
  406. package/dist/chunks/index-BbFVxNB8.es.js.map +0 -1
  407. package/dist/chunks/radio-input-ks3uMIHH.cjs.js +0 -2
  408. package/dist/chunks/select-DZ-oIsVV.cjs.js +0 -2
  409. package/dist/chunks/select-DZ-oIsVV.cjs.js.map +0 -1
  410. package/dist/chunks/select-sJlm2NT8.es.js +0 -831
  411. package/dist/chunks/select-sJlm2NT8.es.js.map +0 -1
  412. package/dist/chunks/split-button-CcDW5RoK.cjs.js +0 -2
  413. package/dist/chunks/tag-group-Dw0sYuC6.es.js +0 -1351
  414. package/dist/chunks/tag-group-Dw0sYuC6.es.js.map +0 -1
  415. package/dist/chunks/tag-group-lc7cj8fj.cjs.js +0 -2
  416. package/dist/chunks/tag-group-lc7cj8fj.cjs.js.map +0 -1
  417. package/dist/chunks/utils-JGx-H9sJ.cjs.js +0 -2
@@ -0,0 +1,81 @@
1
+ import { $ as x } from "./scrollIntoView-BYF_8_6g.es.js";
2
+ import { d as m, c as y } from "./mergeProps-B_9syxhT.es.js";
3
+ import v, { useRef as K, version as I, createContext as b, useCallback as M, forwardRef as V, useMemo as w, useContext as L } from "react";
4
+ function T(i, e) {
5
+ let { collection: n, onLoadMore: r, scrollOffset: c = 1 } = i, u = K(null), l = m((o) => {
6
+ for (let a of o)
7
+ a.isIntersecting && r && r();
8
+ });
9
+ y(() => (e.current && (u.current = new IntersectionObserver(l, {
10
+ root: x(e?.current),
11
+ rootMargin: `0px ${100 * c}% ${100 * c}% ${100 * c}%`
12
+ }), u.current.observe(e.current)), () => {
13
+ u.current && u.current.disconnect();
14
+ }), [
15
+ n,
16
+ l,
17
+ e,
18
+ c
19
+ ]);
20
+ }
21
+ function h(i) {
22
+ const e = I.split(".");
23
+ return parseInt(e[0], 10) >= 19 ? i : i ? "true" : void 0;
24
+ }
25
+ const D = /* @__PURE__ */ b({}), O = /* @__PURE__ */ b(null), C = /* @__PURE__ */ V(function(e, n) {
26
+ let { render: r } = L(O);
27
+ return /* @__PURE__ */ v.createElement(v.Fragment, null, r(e, n));
28
+ });
29
+ function F(i, e) {
30
+ var n;
31
+ let r = i?.renderDropIndicator, c = i == null || (n = i.isVirtualDragging) === null || n === void 0 ? void 0 : n.call(i), u = M((l) => {
32
+ if (c || e?.isDropTarget(l)) return r ? r(l) : /* @__PURE__ */ v.createElement(C, {
33
+ target: l
34
+ });
35
+ }, [
36
+ e?.target,
37
+ c,
38
+ r
39
+ ]);
40
+ return i?.useDropIndicator ? u : void 0;
41
+ }
42
+ function P(i, e, n) {
43
+ var r, c;
44
+ let u = i.focusedKey, l = null;
45
+ if (!(e == null || (r = e.isVirtualDragging) === null || r === void 0) && r.call(e) && (n == null || (c = n.target) === null || c === void 0 ? void 0 : c.type) === "item" && (l = n.target.key, n.target.dropPosition === "after")) {
46
+ let t = n.collection.getKeyAfter(l), $ = null;
47
+ if (t != null) {
48
+ var o, a;
49
+ let g = (a = (o = n.collection.getItem(l)) === null || o === void 0 ? void 0 : o.level) !== null && a !== void 0 ? a : 0;
50
+ for (; t; ) {
51
+ let s = n.collection.getItem(t);
52
+ if (!s) break;
53
+ if (s.type !== "item") {
54
+ t = n.collection.getKeyAfter(t);
55
+ continue;
56
+ }
57
+ var f;
58
+ if (((f = s.level) !== null && f !== void 0 ? f : 0) <= g) break;
59
+ $ = t, t = n.collection.getKeyAfter(t);
60
+ }
61
+ }
62
+ var d;
63
+ l = (d = t ?? $) !== null && d !== void 0 ? d : l;
64
+ }
65
+ return w(() => new Set([
66
+ u,
67
+ l
68
+ ].filter((t) => t != null)), [
69
+ u,
70
+ l
71
+ ]);
72
+ }
73
+ export {
74
+ D as $,
75
+ F as a,
76
+ O as b,
77
+ P as c,
78
+ T as d,
79
+ h as e
80
+ };
81
+ //# sourceMappingURL=DragAndDrop-ChYb3tCX.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DragAndDrop-ChYb3tCX.es.js","sources":["../../../../node_modules/.pnpm/@react-aria+utils@3.30.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/useLoadMoreSentinel.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.30.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/inertValue.mjs","../../../../node_modules/.pnpm/react-aria-components@1.11.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/DragAndDrop.mjs"],"sourcesContent":["import {getScrollParent as $62d8ded9296f3872$export$cfa2225e87938781} from \"./getScrollParent.mjs\";\nimport {useEffectEvent as $8ae05eaa5c114e9c$export$7f54fc3180508a52} from \"./useEffectEvent.mjs\";\nimport {useLayoutEffect as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport {useRef as $7FoZl$useRef} from \"react\";\n\n/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\nfunction $a5fa973c1850dd36$export$ccaea96c28e8b9e7(props, ref) {\n let { collection: collection, onLoadMore: onLoadMore, scrollOffset: scrollOffset = 1 } = props;\n let sentinelObserver = (0, $7FoZl$useRef)(null);\n let triggerLoadMore = (0, $8ae05eaa5c114e9c$export$7f54fc3180508a52)((entries)=>{\n // Use \"isIntersecting\" over an equality check of 0 since it seems like there is cases where\n // a intersection ratio of 0 can be reported when isIntersecting is actually true\n for (let entry of entries)// Note that this will be called if the collection changes, even if onLoadMore was already called and is being processed.\n // Up to user discretion as to how to handle these multiple onLoadMore calls\n if (entry.isIntersecting && onLoadMore) onLoadMore();\n });\n (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(()=>{\n if (ref.current) {\n // Tear down and set up a new IntersectionObserver when the collection changes so that we can properly trigger additional loadMores if there is room for more items\n // Need to do this tear down and set up since using a large rootMargin will mean the observer's callback isn't called even when scrolling the item into view beause its visibility hasn't actually changed\n // https://codesandbox.io/p/sandbox/magical-swanson-dhgp89?file=%2Fsrc%2FApp.js%3A21%2C21\n sentinelObserver.current = new IntersectionObserver(triggerLoadMore, {\n root: (0, $62d8ded9296f3872$export$cfa2225e87938781)(ref === null || ref === void 0 ? void 0 : ref.current),\n rootMargin: `0px ${100 * scrollOffset}% ${100 * scrollOffset}% ${100 * scrollOffset}%`\n });\n sentinelObserver.current.observe(ref.current);\n }\n return ()=>{\n if (sentinelObserver.current) sentinelObserver.current.disconnect();\n };\n }, [\n collection,\n triggerLoadMore,\n ref,\n scrollOffset\n ]);\n}\n\n\nexport {$a5fa973c1850dd36$export$ccaea96c28e8b9e7 as useLoadMoreSentinel};\n//# sourceMappingURL=useLoadMoreSentinel.module.js.map\n","import {version as $iulvE$version} from \"react\";\n\n\nfunction $cdc5a6778b766db2$export$a9d04c5684123369(value) {\n const pieces = (0, $iulvE$version).split('.');\n const major = parseInt(pieces[0], 10);\n if (major >= 19) return value;\n // compatibility with React < 19\n return value ? 'true' : undefined;\n}\n\n\nexport {$cdc5a6778b766db2$export$a9d04c5684123369 as inertValue};\n//# sourceMappingURL=inertValue.module.js.map\n","import $f3JOg$react, {createContext as $f3JOg$createContext, forwardRef as $f3JOg$forwardRef, useContext as $f3JOg$useContext, useCallback as $f3JOg$useCallback, useMemo as $f3JOg$useMemo} from \"react\";\n\n/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nconst $612b8eb6cb90e02d$export$d188a835a7bc5783 = /*#__PURE__*/ (0, $f3JOg$createContext)({});\nconst $612b8eb6cb90e02d$export$f55761759794cf55 = /*#__PURE__*/ (0, $f3JOg$createContext)(null);\nconst $612b8eb6cb90e02d$export$62ed72bc21f6b8a6 = /*#__PURE__*/ (0, $f3JOg$forwardRef)(function DropIndicator(props, ref) {\n let { render: render } = (0, $f3JOg$useContext)($612b8eb6cb90e02d$export$f55761759794cf55);\n return /*#__PURE__*/ (0, $f3JOg$react).createElement((0, $f3JOg$react).Fragment, null, render(props, ref));\n});\nfunction $612b8eb6cb90e02d$export$971707d8a129a1f7(dragAndDropHooks, dropState) {\n var _dragAndDropHooks_isVirtualDragging;\n let renderDropIndicator = dragAndDropHooks === null || dragAndDropHooks === void 0 ? void 0 : dragAndDropHooks.renderDropIndicator;\n let isVirtualDragging = dragAndDropHooks === null || dragAndDropHooks === void 0 ? void 0 : (_dragAndDropHooks_isVirtualDragging = dragAndDropHooks.isVirtualDragging) === null || _dragAndDropHooks_isVirtualDragging === void 0 ? void 0 : _dragAndDropHooks_isVirtualDragging.call(dragAndDropHooks);\n let fn = (0, $f3JOg$useCallback)((target)=>{\n // Only show drop indicators when virtual dragging or this is the current drop target.\n if (isVirtualDragging || (dropState === null || dropState === void 0 ? void 0 : dropState.isDropTarget(target))) return renderDropIndicator ? renderDropIndicator(target) : /*#__PURE__*/ (0, $f3JOg$react).createElement($612b8eb6cb90e02d$export$62ed72bc21f6b8a6, {\n target: target\n });\n // We invalidate whenever the target changes.\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n dropState === null || dropState === void 0 ? void 0 : dropState.target,\n isVirtualDragging,\n renderDropIndicator\n ]);\n return (dragAndDropHooks === null || dragAndDropHooks === void 0 ? void 0 : dragAndDropHooks.useDropIndicator) ? fn : undefined;\n}\nfunction $612b8eb6cb90e02d$export$d1e8e3fbb7461f6(selectionManager, dragAndDropHooks, dropState) {\n var _dragAndDropHooks_isVirtualDragging, _dropState_target;\n // Persist the focused key and the drop target key.\n let focusedKey = selectionManager.focusedKey;\n let dropTargetKey = null;\n if ((dragAndDropHooks === null || dragAndDropHooks === void 0 ? void 0 : (_dragAndDropHooks_isVirtualDragging = dragAndDropHooks.isVirtualDragging) === null || _dragAndDropHooks_isVirtualDragging === void 0 ? void 0 : _dragAndDropHooks_isVirtualDragging.call(dragAndDropHooks)) && (dropState === null || dropState === void 0 ? void 0 : (_dropState_target = dropState.target) === null || _dropState_target === void 0 ? void 0 : _dropState_target.type) === 'item') {\n dropTargetKey = dropState.target.key;\n if (dropState.target.dropPosition === 'after') {\n // Normalize to the \"before\" drop position since we only render those to the DOM.\n let nextKey = dropState.collection.getKeyAfter(dropTargetKey);\n let lastDescendantKey = null;\n if (nextKey != null) {\n var _dropState_collection_getItem;\n var _dropState_collection_getItem_level;\n let targetLevel = (_dropState_collection_getItem_level = (_dropState_collection_getItem = dropState.collection.getItem(dropTargetKey)) === null || _dropState_collection_getItem === void 0 ? void 0 : _dropState_collection_getItem.level) !== null && _dropState_collection_getItem_level !== void 0 ? _dropState_collection_getItem_level : 0;\n // Skip over any rows that are descendants of the target (\"after\" position should be after all children)\n while(nextKey){\n let node = dropState.collection.getItem(nextKey);\n // eslint-disable-next-line max-depth\n if (!node) break;\n // Skip over non-item nodes (e.g., loaders) since they can't be drop targets.\n // eslint-disable-next-line max-depth\n if (node.type !== 'item') {\n nextKey = dropState.collection.getKeyAfter(nextKey);\n continue;\n }\n var _node_level;\n // Stop once we find an item at the same level or higher\n // eslint-disable-next-line max-depth\n if (((_node_level = node.level) !== null && _node_level !== void 0 ? _node_level : 0) <= targetLevel) break;\n lastDescendantKey = nextKey;\n nextKey = dropState.collection.getKeyAfter(nextKey);\n }\n }\n var _ref;\n // If nextKey is null (end of collection), use the last descendant\n dropTargetKey = (_ref = nextKey !== null && nextKey !== void 0 ? nextKey : lastDescendantKey) !== null && _ref !== void 0 ? _ref : dropTargetKey;\n }\n }\n return (0, $f3JOg$useMemo)(()=>{\n return new Set([\n focusedKey,\n dropTargetKey\n ].filter((k)=>k != null));\n }, [\n focusedKey,\n dropTargetKey\n ]);\n}\n\n\nexport {$612b8eb6cb90e02d$export$d188a835a7bc5783 as DragAndDropContext, $612b8eb6cb90e02d$export$f55761759794cf55 as DropIndicatorContext, $612b8eb6cb90e02d$export$62ed72bc21f6b8a6 as DropIndicator, $612b8eb6cb90e02d$export$971707d8a129a1f7 as useRenderDropIndicator, $612b8eb6cb90e02d$export$d1e8e3fbb7461f6 as useDndPersistedKeys};\n//# sourceMappingURL=DragAndDrop.module.js.map\n"],"names":["$a5fa973c1850dd36$export$ccaea96c28e8b9e7","props","ref","collection","onLoadMore","scrollOffset","sentinelObserver","$7FoZl$useRef","triggerLoadMore","$8ae05eaa5c114e9c$export$7f54fc3180508a52","entries","entry","$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c","$62d8ded9296f3872$export$cfa2225e87938781","$cdc5a6778b766db2$export$a9d04c5684123369","value","pieces","$iulvE$version","$612b8eb6cb90e02d$export$d188a835a7bc5783","$f3JOg$createContext","$612b8eb6cb90e02d$export$f55761759794cf55","$612b8eb6cb90e02d$export$62ed72bc21f6b8a6","$f3JOg$forwardRef","render","$f3JOg$useContext","$f3JOg$react","$612b8eb6cb90e02d$export$971707d8a129a1f7","dragAndDropHooks","dropState","_dragAndDropHooks_isVirtualDragging","renderDropIndicator","isVirtualDragging","fn","$f3JOg$useCallback","target","$612b8eb6cb90e02d$export$d1e8e3fbb7461f6","selectionManager","_dropState_target","focusedKey","dropTargetKey","nextKey","lastDescendantKey","_dropState_collection_getItem","_dropState_collection_getItem_level","targetLevel","node","_node_level","_ref","$f3JOg$useMemo","k"],"mappings":"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","x_google_ignoreList":[0,1,2]}
@@ -0,0 +1,2 @@
1
+ "use strict";const y=require("./scrollIntoView-BzIqpHLO.cjs.js"),s=require("./mergeProps-BA5Cwf5w.cjs.js"),u=require("react");function K(t,e){let{collection:n,onLoadMore:c,scrollOffset:l=1}=t,o=u.useRef(null),r=s.$8ae05eaa5c114e9c$export$7f54fc3180508a52(a=>{for(let $ of a)$.isIntersecting&&c&&c()});s.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>(e.current&&(o.current=new IntersectionObserver(r,{root:y.$62d8ded9296f3872$export$cfa2225e87938781(e?.current),rootMargin:`0px ${100*l}% ${100*l}% ${100*l}%`}),o.current.observe(e.current)),()=>{o.current&&o.current.disconnect()}),[n,r,e,l])}function m(t){const e=u.version.split(".");return parseInt(e[0],10)>=19?t:t?"true":void 0}const I=u.createContext({}),x=u.createContext(null),V=u.forwardRef(function(e,n){let{render:c}=u.useContext(x);return u.createElement(u.Fragment,null,c(e,n))});function w(t,e){var n;let c=t?.renderDropIndicator,l=t==null||(n=t.isVirtualDragging)===null||n===void 0?void 0:n.call(t),o=u.useCallback(r=>{if(l||e?.isDropTarget(r))return c?c(r):u.createElement(V,{target:r})},[e?.target,l,c]);return t?.useDropIndicator?o:void 0}function M(t,e,n){var c,l;let o=t.focusedKey,r=null;if(!(e==null||(c=e.isVirtualDragging)===null||c===void 0)&&c.call(e)&&(n==null||(l=n.target)===null||l===void 0?void 0:l.type)==="item"&&(r=n.target.key,n.target.dropPosition==="after")){let i=n.collection.getKeyAfter(r),v=null;if(i!=null){var a,$;let g=($=(a=n.collection.getItem(r))===null||a===void 0?void 0:a.level)!==null&&$!==void 0?$:0;for(;i;){let d=n.collection.getItem(i);if(!d)break;if(d.type!=="item"){i=n.collection.getKeyAfter(i);continue}var b;if(((b=d.level)!==null&&b!==void 0?b:0)<=g)break;v=i,i=n.collection.getKeyAfter(i)}}var f;r=(f=i??v)!==null&&f!==void 0?f:r}return u.useMemo(()=>new Set([o,r].filter(i=>i!=null)),[o,r])}exports.$612b8eb6cb90e02d$export$971707d8a129a1f7=w;exports.$612b8eb6cb90e02d$export$d188a835a7bc5783=I;exports.$612b8eb6cb90e02d$export$d1e8e3fbb7461f6=M;exports.$612b8eb6cb90e02d$export$f55761759794cf55=x;exports.$a5fa973c1850dd36$export$ccaea96c28e8b9e7=K;exports.$cdc5a6778b766db2$export$a9d04c5684123369=m;
2
+ //# sourceMappingURL=DragAndDrop-cOfUfFj8.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DragAndDrop-cOfUfFj8.cjs.js","sources":["../../../../node_modules/.pnpm/@react-aria+utils@3.30.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/useLoadMoreSentinel.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.30.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/inertValue.mjs","../../../../node_modules/.pnpm/react-aria-components@1.11.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/DragAndDrop.mjs"],"sourcesContent":["import {getScrollParent as $62d8ded9296f3872$export$cfa2225e87938781} from \"./getScrollParent.mjs\";\nimport {useEffectEvent as $8ae05eaa5c114e9c$export$7f54fc3180508a52} from \"./useEffectEvent.mjs\";\nimport {useLayoutEffect as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport {useRef as $7FoZl$useRef} from \"react\";\n\n/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\nfunction $a5fa973c1850dd36$export$ccaea96c28e8b9e7(props, ref) {\n let { collection: collection, onLoadMore: onLoadMore, scrollOffset: scrollOffset = 1 } = props;\n let sentinelObserver = (0, $7FoZl$useRef)(null);\n let triggerLoadMore = (0, $8ae05eaa5c114e9c$export$7f54fc3180508a52)((entries)=>{\n // Use \"isIntersecting\" over an equality check of 0 since it seems like there is cases where\n // a intersection ratio of 0 can be reported when isIntersecting is actually true\n for (let entry of entries)// Note that this will be called if the collection changes, even if onLoadMore was already called and is being processed.\n // Up to user discretion as to how to handle these multiple onLoadMore calls\n if (entry.isIntersecting && onLoadMore) onLoadMore();\n });\n (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(()=>{\n if (ref.current) {\n // Tear down and set up a new IntersectionObserver when the collection changes so that we can properly trigger additional loadMores if there is room for more items\n // Need to do this tear down and set up since using a large rootMargin will mean the observer's callback isn't called even when scrolling the item into view beause its visibility hasn't actually changed\n // https://codesandbox.io/p/sandbox/magical-swanson-dhgp89?file=%2Fsrc%2FApp.js%3A21%2C21\n sentinelObserver.current = new IntersectionObserver(triggerLoadMore, {\n root: (0, $62d8ded9296f3872$export$cfa2225e87938781)(ref === null || ref === void 0 ? void 0 : ref.current),\n rootMargin: `0px ${100 * scrollOffset}% ${100 * scrollOffset}% ${100 * scrollOffset}%`\n });\n sentinelObserver.current.observe(ref.current);\n }\n return ()=>{\n if (sentinelObserver.current) sentinelObserver.current.disconnect();\n };\n }, [\n collection,\n triggerLoadMore,\n ref,\n scrollOffset\n ]);\n}\n\n\nexport {$a5fa973c1850dd36$export$ccaea96c28e8b9e7 as useLoadMoreSentinel};\n//# sourceMappingURL=useLoadMoreSentinel.module.js.map\n","import {version as $iulvE$version} from \"react\";\n\n\nfunction $cdc5a6778b766db2$export$a9d04c5684123369(value) {\n const pieces = (0, $iulvE$version).split('.');\n const major = parseInt(pieces[0], 10);\n if (major >= 19) return value;\n // compatibility with React < 19\n return value ? 'true' : undefined;\n}\n\n\nexport {$cdc5a6778b766db2$export$a9d04c5684123369 as inertValue};\n//# sourceMappingURL=inertValue.module.js.map\n","import $f3JOg$react, {createContext as $f3JOg$createContext, forwardRef as $f3JOg$forwardRef, useContext as $f3JOg$useContext, useCallback as $f3JOg$useCallback, useMemo as $f3JOg$useMemo} from \"react\";\n\n/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nconst $612b8eb6cb90e02d$export$d188a835a7bc5783 = /*#__PURE__*/ (0, $f3JOg$createContext)({});\nconst $612b8eb6cb90e02d$export$f55761759794cf55 = /*#__PURE__*/ (0, $f3JOg$createContext)(null);\nconst $612b8eb6cb90e02d$export$62ed72bc21f6b8a6 = /*#__PURE__*/ (0, $f3JOg$forwardRef)(function DropIndicator(props, ref) {\n let { render: render } = (0, $f3JOg$useContext)($612b8eb6cb90e02d$export$f55761759794cf55);\n return /*#__PURE__*/ (0, $f3JOg$react).createElement((0, $f3JOg$react).Fragment, null, render(props, ref));\n});\nfunction $612b8eb6cb90e02d$export$971707d8a129a1f7(dragAndDropHooks, dropState) {\n var _dragAndDropHooks_isVirtualDragging;\n let renderDropIndicator = dragAndDropHooks === null || dragAndDropHooks === void 0 ? void 0 : dragAndDropHooks.renderDropIndicator;\n let isVirtualDragging = dragAndDropHooks === null || dragAndDropHooks === void 0 ? void 0 : (_dragAndDropHooks_isVirtualDragging = dragAndDropHooks.isVirtualDragging) === null || _dragAndDropHooks_isVirtualDragging === void 0 ? void 0 : _dragAndDropHooks_isVirtualDragging.call(dragAndDropHooks);\n let fn = (0, $f3JOg$useCallback)((target)=>{\n // Only show drop indicators when virtual dragging or this is the current drop target.\n if (isVirtualDragging || (dropState === null || dropState === void 0 ? void 0 : dropState.isDropTarget(target))) return renderDropIndicator ? renderDropIndicator(target) : /*#__PURE__*/ (0, $f3JOg$react).createElement($612b8eb6cb90e02d$export$62ed72bc21f6b8a6, {\n target: target\n });\n // We invalidate whenever the target changes.\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n dropState === null || dropState === void 0 ? void 0 : dropState.target,\n isVirtualDragging,\n renderDropIndicator\n ]);\n return (dragAndDropHooks === null || dragAndDropHooks === void 0 ? void 0 : dragAndDropHooks.useDropIndicator) ? fn : undefined;\n}\nfunction $612b8eb6cb90e02d$export$d1e8e3fbb7461f6(selectionManager, dragAndDropHooks, dropState) {\n var _dragAndDropHooks_isVirtualDragging, _dropState_target;\n // Persist the focused key and the drop target key.\n let focusedKey = selectionManager.focusedKey;\n let dropTargetKey = null;\n if ((dragAndDropHooks === null || dragAndDropHooks === void 0 ? void 0 : (_dragAndDropHooks_isVirtualDragging = dragAndDropHooks.isVirtualDragging) === null || _dragAndDropHooks_isVirtualDragging === void 0 ? void 0 : _dragAndDropHooks_isVirtualDragging.call(dragAndDropHooks)) && (dropState === null || dropState === void 0 ? void 0 : (_dropState_target = dropState.target) === null || _dropState_target === void 0 ? void 0 : _dropState_target.type) === 'item') {\n dropTargetKey = dropState.target.key;\n if (dropState.target.dropPosition === 'after') {\n // Normalize to the \"before\" drop position since we only render those to the DOM.\n let nextKey = dropState.collection.getKeyAfter(dropTargetKey);\n let lastDescendantKey = null;\n if (nextKey != null) {\n var _dropState_collection_getItem;\n var _dropState_collection_getItem_level;\n let targetLevel = (_dropState_collection_getItem_level = (_dropState_collection_getItem = dropState.collection.getItem(dropTargetKey)) === null || _dropState_collection_getItem === void 0 ? void 0 : _dropState_collection_getItem.level) !== null && _dropState_collection_getItem_level !== void 0 ? _dropState_collection_getItem_level : 0;\n // Skip over any rows that are descendants of the target (\"after\" position should be after all children)\n while(nextKey){\n let node = dropState.collection.getItem(nextKey);\n // eslint-disable-next-line max-depth\n if (!node) break;\n // Skip over non-item nodes (e.g., loaders) since they can't be drop targets.\n // eslint-disable-next-line max-depth\n if (node.type !== 'item') {\n nextKey = dropState.collection.getKeyAfter(nextKey);\n continue;\n }\n var _node_level;\n // Stop once we find an item at the same level or higher\n // eslint-disable-next-line max-depth\n if (((_node_level = node.level) !== null && _node_level !== void 0 ? _node_level : 0) <= targetLevel) break;\n lastDescendantKey = nextKey;\n nextKey = dropState.collection.getKeyAfter(nextKey);\n }\n }\n var _ref;\n // If nextKey is null (end of collection), use the last descendant\n dropTargetKey = (_ref = nextKey !== null && nextKey !== void 0 ? nextKey : lastDescendantKey) !== null && _ref !== void 0 ? _ref : dropTargetKey;\n }\n }\n return (0, $f3JOg$useMemo)(()=>{\n return new Set([\n focusedKey,\n dropTargetKey\n ].filter((k)=>k != null));\n }, [\n focusedKey,\n dropTargetKey\n ]);\n}\n\n\nexport {$612b8eb6cb90e02d$export$d188a835a7bc5783 as DragAndDropContext, $612b8eb6cb90e02d$export$f55761759794cf55 as DropIndicatorContext, $612b8eb6cb90e02d$export$62ed72bc21f6b8a6 as DropIndicator, $612b8eb6cb90e02d$export$971707d8a129a1f7 as useRenderDropIndicator, $612b8eb6cb90e02d$export$d1e8e3fbb7461f6 as useDndPersistedKeys};\n//# sourceMappingURL=DragAndDrop.module.js.map\n"],"names":["$a5fa973c1850dd36$export$ccaea96c28e8b9e7","props","ref","collection","onLoadMore","scrollOffset","sentinelObserver","$7FoZl$useRef","triggerLoadMore","$8ae05eaa5c114e9c$export$7f54fc3180508a52","entries","entry","$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c","$62d8ded9296f3872$export$cfa2225e87938781","$cdc5a6778b766db2$export$a9d04c5684123369","value","pieces","$iulvE$version","$612b8eb6cb90e02d$export$d188a835a7bc5783","$f3JOg$createContext","$612b8eb6cb90e02d$export$f55761759794cf55","$612b8eb6cb90e02d$export$62ed72bc21f6b8a6","$f3JOg$forwardRef","render","$f3JOg$useContext","$f3JOg$react","$612b8eb6cb90e02d$export$971707d8a129a1f7","dragAndDropHooks","dropState","_dragAndDropHooks_isVirtualDragging","renderDropIndicator","isVirtualDragging","fn","$f3JOg$useCallback","target","$612b8eb6cb90e02d$export$d1e8e3fbb7461f6","selectionManager","_dropState_target","focusedKey","dropTargetKey","nextKey","lastDescendantKey","_dropState_collection_getItem","_dropState_collection_getItem_level","targetLevel","node","_node_level","_ref","$f3JOg$useMemo","k"],"mappings":"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","x_google_ignoreList":[0,1,2]}
@@ -0,0 +1,6 @@
1
+ import { createContext as e } from "react";
2
+ const o = /* @__PURE__ */ e(null);
3
+ export {
4
+ o as $
5
+ };
6
+ //# sourceMappingURL=FieldError-CXcEMuBf.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FieldError-CXcEMuBf.es.js","sources":["../../../../node_modules/.pnpm/react-aria-components@1.11.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/FieldError.mjs"],"sourcesContent":["import {useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport {Text as $514c0188e459b4c0$export$5f1af8db9871e1d6} from \"./Text.mjs\";\nimport {filterDOMProps as $hnYyE$filterDOMProps} from \"@react-aria/utils\";\nimport $hnYyE$react, {createContext as $hnYyE$createContext, forwardRef as $hnYyE$forwardRef, useContext as $hnYyE$useContext} from \"react\";\n\n/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\nconst $ee014567cb39d3f0$export$ff05c3ac10437e03 = /*#__PURE__*/ (0, $hnYyE$createContext)(null);\nconst $ee014567cb39d3f0$export$f551688fc98f2e09 = /*#__PURE__*/ (0, $hnYyE$forwardRef)(function FieldError(props, ref) {\n let validation = (0, $hnYyE$useContext)($ee014567cb39d3f0$export$ff05c3ac10437e03);\n if (!(validation === null || validation === void 0 ? void 0 : validation.isInvalid)) return null;\n return /*#__PURE__*/ (0, $hnYyE$react).createElement($ee014567cb39d3f0$var$FieldErrorInner, {\n ...props,\n ref: ref\n });\n});\nconst $ee014567cb39d3f0$var$FieldErrorInner = /*#__PURE__*/ (0, $hnYyE$forwardRef)((props, ref)=>{\n let validation = (0, $hnYyE$useContext)($ee014567cb39d3f0$export$ff05c3ac10437e03);\n let domProps = (0, $hnYyE$filterDOMProps)(props, {\n global: true\n });\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n defaultClassName: 'react-aria-FieldError',\n defaultChildren: validation.validationErrors.length === 0 ? undefined : validation.validationErrors.join(' '),\n values: validation\n });\n if (renderProps.children == null) return null;\n return /*#__PURE__*/ (0, $hnYyE$react).createElement((0, $514c0188e459b4c0$export$5f1af8db9871e1d6), {\n slot: \"errorMessage\",\n ...domProps,\n ...renderProps,\n ref: ref\n });\n});\n\n\nexport {$ee014567cb39d3f0$export$ff05c3ac10437e03 as FieldErrorContext, $ee014567cb39d3f0$export$f551688fc98f2e09 as FieldError};\n//# sourceMappingURL=FieldError.module.js.map\n"],"names":["$ee014567cb39d3f0$export$ff05c3ac10437e03","$hnYyE$createContext"],"mappings":";AAmBK,MAACA,IAA8DC,gBAAAA,EAAsB,IAAI;","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ "use strict";const e=require("react"),c=e.createContext(null);exports.$ee014567cb39d3f0$export$ff05c3ac10437e03=c;
2
+ //# sourceMappingURL=FieldError-DyGFfqST.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FieldError-DyGFfqST.cjs.js","sources":["../../../../node_modules/.pnpm/react-aria-components@1.11.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/FieldError.mjs"],"sourcesContent":["import {useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport {Text as $514c0188e459b4c0$export$5f1af8db9871e1d6} from \"./Text.mjs\";\nimport {filterDOMProps as $hnYyE$filterDOMProps} from \"@react-aria/utils\";\nimport $hnYyE$react, {createContext as $hnYyE$createContext, forwardRef as $hnYyE$forwardRef, useContext as $hnYyE$useContext} from \"react\";\n\n/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\nconst $ee014567cb39d3f0$export$ff05c3ac10437e03 = /*#__PURE__*/ (0, $hnYyE$createContext)(null);\nconst $ee014567cb39d3f0$export$f551688fc98f2e09 = /*#__PURE__*/ (0, $hnYyE$forwardRef)(function FieldError(props, ref) {\n let validation = (0, $hnYyE$useContext)($ee014567cb39d3f0$export$ff05c3ac10437e03);\n if (!(validation === null || validation === void 0 ? void 0 : validation.isInvalid)) return null;\n return /*#__PURE__*/ (0, $hnYyE$react).createElement($ee014567cb39d3f0$var$FieldErrorInner, {\n ...props,\n ref: ref\n });\n});\nconst $ee014567cb39d3f0$var$FieldErrorInner = /*#__PURE__*/ (0, $hnYyE$forwardRef)((props, ref)=>{\n let validation = (0, $hnYyE$useContext)($ee014567cb39d3f0$export$ff05c3ac10437e03);\n let domProps = (0, $hnYyE$filterDOMProps)(props, {\n global: true\n });\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n defaultClassName: 'react-aria-FieldError',\n defaultChildren: validation.validationErrors.length === 0 ? undefined : validation.validationErrors.join(' '),\n values: validation\n });\n if (renderProps.children == null) return null;\n return /*#__PURE__*/ (0, $hnYyE$react).createElement((0, $514c0188e459b4c0$export$5f1af8db9871e1d6), {\n slot: \"errorMessage\",\n ...domProps,\n ...renderProps,\n ref: ref\n });\n});\n\n\nexport {$ee014567cb39d3f0$export$ff05c3ac10437e03 as FieldErrorContext, $ee014567cb39d3f0$export$f551688fc98f2e09 as FieldError};\n//# sourceMappingURL=FieldError.module.js.map\n"],"names":["$ee014567cb39d3f0$export$ff05c3ac10437e03","$hnYyE$createContext"],"mappings":"sCAmBMA,EAA8DC,EAAAA,cAAsB,IAAI","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const s=require("./utils-JGx-H9sJ.cjs.js"),T=require("./mergeProps-BA5Cwf5w.cjs.js"),I=require("./platform-BDLy2vDY.cjs.js"),q=require("./useFocusVisible-ofYjJ-l6.cjs.js"),z=require("./focusSafely-IqPqYGW2.cjs.js"),N=require("react");class U{get currentNode(){return this._currentNode}set currentNode(e){if(!s.$d4ee10de306f2510$export$4282f70798064fe0(this.root,e))throw new Error("Cannot set currentNode to a node that is not contained by the root node.");const t=[];let n=e,o=e;for(this._currentNode=e;n&&n!==this.root;)if(n.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const d=n,a=this._doc.createTreeWalker(d,this.whatToShow,{acceptNode:this._acceptNode});t.push(a),a.currentNode=o,this._currentSetFor.add(a),n=o=d.host}else n=n.parentNode;const c=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});t.push(c),c.currentNode=o,this._currentSetFor.add(c),this._walkerStack=t}get doc(){return this._doc}firstChild(){let e=this.currentNode,t=this.nextNode();return s.$d4ee10de306f2510$export$4282f70798064fe0(e,t)?(t&&(this.currentNode=t),t):(this.currentNode=e,null)}lastChild(){let t=this._walkerStack[0].lastChild();return t&&(this.currentNode=t),t}nextNode(){const e=this._walkerStack[0].nextNode();if(e){if(e.shadowRoot){var t;let o;if(typeof this.filter=="function"?o=this.filter(e):!((t=this.filter)===null||t===void 0)&&t.acceptNode&&(o=this.filter.acceptNode(e)),o===NodeFilter.FILTER_ACCEPT)return this.currentNode=e,e;let c=this.nextNode();return c&&(this.currentNode=c),c}return e&&(this.currentNode=e),e}else if(this._walkerStack.length>1){this._walkerStack.shift();let n=this.nextNode();return n&&(this.currentNode=n),n}else return null}previousNode(){const e=this._walkerStack[0];if(e.currentNode===e.root){if(this._currentSetFor.has(e))if(this._currentSetFor.delete(e),this._walkerStack.length>1){this._walkerStack.shift();let o=this.previousNode();return o&&(this.currentNode=o),o}else return null;return null}const t=e.previousNode();if(t){if(t.shadowRoot){var n;let c;if(typeof this.filter=="function"?c=this.filter(t):!((n=this.filter)===null||n===void 0)&&n.acceptNode&&(c=this.filter.acceptNode(t)),c===NodeFilter.FILTER_ACCEPT)return t&&(this.currentNode=t),t;let d=this.lastChild();return d&&(this.currentNode=d),d}return t&&(this.currentNode=t),t}else if(this._walkerStack.length>1){this._walkerStack.shift();let o=this.previousNode();return o&&(this.currentNode=o),o}else return null}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}constructor(e,t,n,o){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=d=>{if(d.nodeType===Node.ELEMENT_NODE){const b=d.shadowRoot;if(b){const i=this._doc.createTreeWalker(b,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(i),NodeFilter.FILTER_ACCEPT}else{var a;if(typeof this.filter=="function")return this.filter(d);if(!((a=this.filter)===null||a===void 0)&&a.acceptNode)return this.filter.acceptNode(d);if(this.filter===null)return NodeFilter.FILTER_ACCEPT}}return NodeFilter.FILTER_SKIP},this._doc=e,this.root=t,this.filter=o??null,this.whatToShow=n??NodeFilter.SHOW_ALL,this._currentNode=t,this._walkerStack.unshift(e.createTreeWalker(t,n,this._acceptNode));const c=t.shadowRoot;if(c){const d=this._doc.createTreeWalker(c,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(d)}}}function J(r,e,t,n){return s.$f4e2df6bd15f8569$export$98658e8c59125e6a()?new U(r,e,t,n):r.createTreeWalker(e,t,n)}const A=N.createContext(null),y="react-aria-focus-scope-restore";let p=null;function H(r){let{children:e,contain:t,restoreFocus:n,autoFocus:o}=r,c=N.useRef(null),d=N.useRef(null),a=N.useRef([]),{parentNode:b}=N.useContext(A)||{},i=N.useMemo(()=>new L({scopeRef:a}),[a]);T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{let f=b||h.root;if(h.getTreeNode(f.scopeRef)&&p&&!R(p,f.scopeRef)){let $=h.getTreeNode(p);$&&(f=$)}f.addChild(i),h.addNode(i)},[i,b]),T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{let f=h.getTreeNode(a);f&&(f.contain=!!t)},[t]),T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{var f;let $=(f=c.current)===null||f===void 0?void 0:f.nextSibling,v=[],g=F=>F.stopPropagation();for(;$&&$!==d.current;)v.push($),$.addEventListener(y,g),$=$.nextSibling;return a.current=v,()=>{for(let F of v)F.removeEventListener(y,g)}},[e]),X(a,n,t),G(a,t),Y(a,n,t),Q(a,o),N.useEffect(()=>{const f=s.$d4ee10de306f2510$export$cd4e5573fbe2b576(s.$431fbd86ca7dc216$export$b204af158042fbac(a.current?a.current[0]:void 0));let $=null;if(w(f,a.current)){for(let v of h.traverse())v.scopeRef&&w(f,v.scopeRef.current)&&($=v);$===h.getTreeNode(a)&&(p=$.scopeRef)}},[a]),T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>()=>{var f,$,v;let g=(v=($=h.getTreeNode(a))===null||$===void 0||(f=$.parent)===null||f===void 0?void 0:f.scopeRef)!==null&&v!==void 0?v:null;(a===p||R(a,p))&&(!g||h.getTreeNode(g))&&(p=g),h.removeTreeNode(a)},[a]);let u=N.useMemo(()=>V(a),[]),l=N.useMemo(()=>({focusManager:u,parentNode:i}),[i,u]);return N.createElement(A.Provider,{value:l},N.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:c}),e,N.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:d}))}function V(r){return{focusNext(e={}){let t=r.current,{from:n,tabbable:o,wrap:c,accept:d}=e;var a;let b=n||s.$d4ee10de306f2510$export$cd4e5573fbe2b576(s.$431fbd86ca7dc216$export$b204af158042fbac((a=t[0])!==null&&a!==void 0?a:void 0)),i=t[0].previousElementSibling,u=k(t),l=E(u,{tabbable:o,accept:d},t);l.currentNode=w(b,t)?b:i;let f=l.nextNode();return!f&&c&&(l.currentNode=i,f=l.nextNode()),f&&x(f,!0),f},focusPrevious(e={}){let t=r.current,{from:n,tabbable:o,wrap:c,accept:d}=e;var a;let b=n||s.$d4ee10de306f2510$export$cd4e5573fbe2b576(s.$431fbd86ca7dc216$export$b204af158042fbac((a=t[0])!==null&&a!==void 0?a:void 0)),i=t[t.length-1].nextElementSibling,u=k(t),l=E(u,{tabbable:o,accept:d},t);l.currentNode=w(b,t)?b:i;let f=l.previousNode();return!f&&c&&(l.currentNode=i,f=l.previousNode()),f&&x(f,!0),f},focusFirst(e={}){let t=r.current,{tabbable:n,accept:o}=e,c=k(t),d=E(c,{tabbable:n,accept:o},t);d.currentNode=t[0].previousElementSibling;let a=d.nextNode();return a&&x(a,!0),a},focusLast(e={}){let t=r.current,{tabbable:n,accept:o}=e,c=k(t),d=E(c,{tabbable:n,accept:o},t);d.currentNode=t[t.length-1].nextElementSibling;let a=d.previousNode();return a&&x(a,!0),a}}}function k(r){return r[0].parentElement}function S(r){let e=h.getTreeNode(p);for(;e&&e.scopeRef!==r;){if(e.contain)return!1;e=e.parent}return!0}function B(r){if(r.checked)return!0;let e=[];if(!r.form)e=[...s.$431fbd86ca7dc216$export$b204af158042fbac(r).querySelectorAll(`input[type="radio"][name="${CSS.escape(r.name)}"]`)].filter(c=>!c.form);else{var t,n;let c=(n=r.form)===null||n===void 0||(t=n.elements)===null||t===void 0?void 0:t.namedItem(r.name);e=[...c??[]]}return e?!e.some(c=>c.checked):!1}function G(r,e){let t=N.useRef(void 0),n=N.useRef(void 0);T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{let o=r.current;if(!e){n.current&&(cancelAnimationFrame(n.current),n.current=void 0);return}const c=s.$431fbd86ca7dc216$export$b204af158042fbac(o?o[0]:void 0);let d=i=>{if(i.key!=="Tab"||i.altKey||i.ctrlKey||i.metaKey||!S(r)||i.isComposing)return;let u=s.$d4ee10de306f2510$export$cd4e5573fbe2b576(c),l=r.current;if(!l||!w(u,l))return;let f=k(l),$=E(f,{tabbable:!0},l);if(!u)return;$.currentNode=u;let v=i.shiftKey?$.previousNode():$.nextNode();v||($.currentNode=i.shiftKey?l[l.length-1].nextElementSibling:l[0].previousElementSibling,v=i.shiftKey?$.previousNode():$.nextNode()),i.preventDefault(),v&&x(v,!0)},a=i=>{(!p||R(p,r))&&w(s.$d4ee10de306f2510$export$e58f029f0fbfdb29(i),r.current)?(p=r,t.current=s.$d4ee10de306f2510$export$e58f029f0fbfdb29(i)):S(r)&&!m(s.$d4ee10de306f2510$export$e58f029f0fbfdb29(i),r)?t.current?t.current.focus():p&&p.current&&C(p.current):S(r)&&(t.current=s.$d4ee10de306f2510$export$e58f029f0fbfdb29(i))},b=i=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{let u=q.$507fabe10e71c6fb$export$630ff653c5ada6a9(),l=(u==="virtual"||u===null)&&I.$c87311424ea30a05$export$a11b0059900ceec8()&&I.$c87311424ea30a05$export$6446a186d09e379e(),f=s.$d4ee10de306f2510$export$cd4e5573fbe2b576(c);if(!l&&f&&S(r)&&!m(f,r)){p=r;let v=s.$d4ee10de306f2510$export$e58f029f0fbfdb29(i);if(v&&v.isConnected){var $;t.current=v,($=t.current)===null||$===void 0||$.focus()}else p.current&&C(p.current)}})};return c.addEventListener("keydown",d,!1),c.addEventListener("focusin",a,!1),o?.forEach(i=>i.addEventListener("focusin",a,!1)),o?.forEach(i=>i.addEventListener("focusout",b,!1)),()=>{c.removeEventListener("keydown",d,!1),c.removeEventListener("focusin",a,!1),o?.forEach(i=>i.removeEventListener("focusin",a,!1)),o?.forEach(i=>i.removeEventListener("focusout",b,!1))}},[r,e]),T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n])}function D(r){return m(r)}function w(r,e){return!r||!e?!1:e.some(t=>t.contains(r))}function m(r,e=null){if(r instanceof Element&&r.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:t}of h.traverse(h.getTreeNode(e)))if(t&&w(r,t.current))return!0;return!1}function j(r){return m(r,p)}function R(r,e){var t;let n=(t=h.getTreeNode(e))===null||t===void 0?void 0:t.parent;for(;n;){if(n.scopeRef===r)return!0;n=n.parent}return!1}function x(r,e=!1){if(r!=null&&!e)try{(0,z.$3ad3f6e1647bc98d$export$80f3e147d781571c)(r)}catch{}else if(r!=null)try{r.focus()}catch{}}function W(r,e=!0){let t=r[0].previousElementSibling,n=k(r),o=E(n,{tabbable:e},r);o.currentNode=t;let c=o.nextNode();return e&&!c&&(n=k(r),o=E(n,{tabbable:!1},r),o.currentNode=t,c=o.nextNode()),c}function C(r,e=!0){x(W(r,e))}function Q(r,e){const t=N.useRef(e);N.useEffect(()=>{if(t.current){p=r;const n=s.$431fbd86ca7dc216$export$b204af158042fbac(r.current?r.current[0]:void 0);!w(s.$d4ee10de306f2510$export$cd4e5573fbe2b576(n),p.current)&&r.current&&C(r.current)}t.current=!1},[r])}function X(r,e,t){T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{if(e||t)return;let n=r.current;const o=s.$431fbd86ca7dc216$export$b204af158042fbac(n?n[0]:void 0);let c=d=>{let a=s.$d4ee10de306f2510$export$e58f029f0fbfdb29(d);w(a,r.current)?p=r:D(a)||(p=null)};return o.addEventListener("focusin",c,!1),n?.forEach(d=>d.addEventListener("focusin",c,!1)),()=>{o.removeEventListener("focusin",c,!1),n?.forEach(d=>d.removeEventListener("focusin",c,!1))}},[r,e,t])}function P(r){let e=h.getTreeNode(p);for(;e&&e.scopeRef!==r;){if(e.nodeToRestore)return!1;e=e.parent}return e?.scopeRef===r}function Y(r,e,t){const n=N.useRef(typeof document<"u"?s.$d4ee10de306f2510$export$cd4e5573fbe2b576(s.$431fbd86ca7dc216$export$b204af158042fbac(r.current?r.current[0]:void 0)):null);T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{let o=r.current;const c=s.$431fbd86ca7dc216$export$b204af158042fbac(o?o[0]:void 0);if(!e||t)return;let d=()=>{(!p||R(p,r))&&w(s.$d4ee10de306f2510$export$cd4e5573fbe2b576(c),r.current)&&(p=r)};return c.addEventListener("focusin",d,!1),o?.forEach(a=>a.addEventListener("focusin",d,!1)),()=>{c.removeEventListener("focusin",d,!1),o?.forEach(a=>a.removeEventListener("focusin",d,!1))}},[r,t]),T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{const o=s.$431fbd86ca7dc216$export$b204af158042fbac(r.current?r.current[0]:void 0);if(!e)return;let c=d=>{if(d.key!=="Tab"||d.altKey||d.ctrlKey||d.metaKey||!S(r)||d.isComposing)return;let a=o.activeElement;if(!m(a,r)||!P(r))return;let b=h.getTreeNode(r);if(!b)return;let i=b.nodeToRestore,u=E(o.body,{tabbable:!0});u.currentNode=a;let l=d.shiftKey?u.previousNode():u.nextNode();if((!i||!i.isConnected||i===o.body)&&(i=void 0,b.nodeToRestore=void 0),(!l||!m(l,r))&&i){u.currentNode=i;do l=d.shiftKey?u.previousNode():u.nextNode();while(m(l,r));d.preventDefault(),d.stopPropagation(),l?x(l,!0):D(i)?x(i,!0):a.blur()}};return t||o.addEventListener("keydown",c,!0),()=>{t||o.removeEventListener("keydown",c,!0)}},[r,e,t]),T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{const o=s.$431fbd86ca7dc216$export$b204af158042fbac(r.current?r.current[0]:void 0);if(!e)return;let c=h.getTreeNode(r);if(c){var d;return c.nodeToRestore=(d=n.current)!==null&&d!==void 0?d:void 0,()=>{let a=h.getTreeNode(r);if(!a)return;let b=a.nodeToRestore,i=s.$d4ee10de306f2510$export$cd4e5573fbe2b576(o);if(e&&b&&(i&&m(i,r)||i===o.body&&P(r))){let u=h.clone();requestAnimationFrame(()=>{if(o.activeElement===o.body){let l=u.getTreeNode(r);for(;l;){if(l.nodeToRestore&&l.nodeToRestore.isConnected){K(l.nodeToRestore);return}l=l.parent}for(l=u.getTreeNode(r);l;){if(l.scopeRef&&l.scopeRef.current&&h.getTreeNode(l.scopeRef)){let f=W(l.scopeRef.current,!0);K(f);return}l=l.parent}}})}}}},[r,e])}function K(r){r.dispatchEvent(new CustomEvent(y,{bubbles:!0,cancelable:!0}))&&x(r)}function E(r,e,t){let n=e?.tabbable?s.$b4b717babfbb907b$export$bebd5a1431fec25d:s.$b4b717babfbb907b$export$4c063cf1350e6fed,o=r?.nodeType===Node.ELEMENT_NODE?r:null,c=s.$431fbd86ca7dc216$export$b204af158042fbac(o),d=J(c,r||c,NodeFilter.SHOW_ELEMENT,{acceptNode(a){var b;return!(e==null||(b=e.from)===null||b===void 0)&&b.contains(a)||e?.tabbable&&a.tagName==="INPUT"&&a.getAttribute("type")==="radio"&&(!B(a)||d.currentNode.tagName==="INPUT"&&d.currentNode.type==="radio"&&d.currentNode.name===a.name)?NodeFilter.FILTER_REJECT:n(a)&&(!t||w(a,t))&&(!e?.accept||e.accept(a))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return e?.from&&(d.currentNode=e.from),d}function Z(r,e={}){return{focusNext(t={}){let n=r.current;if(!n)return null;let{from:o,tabbable:c=e.tabbable,wrap:d=e.wrap,accept:a=e.accept}=t,b=o||s.$d4ee10de306f2510$export$cd4e5573fbe2b576(s.$431fbd86ca7dc216$export$b204af158042fbac(n)),i=E(n,{tabbable:c,accept:a});n.contains(b)&&(i.currentNode=b);let u=i.nextNode();return!u&&d&&(i.currentNode=n,u=i.nextNode()),u&&x(u,!0),u},focusPrevious(t=e){let n=r.current;if(!n)return null;let{from:o,tabbable:c=e.tabbable,wrap:d=e.wrap,accept:a=e.accept}=t,b=o||s.$d4ee10de306f2510$export$cd4e5573fbe2b576(s.$431fbd86ca7dc216$export$b204af158042fbac(n)),i=E(n,{tabbable:c,accept:a});if(n.contains(b))i.currentNode=b;else{let l=_(i);return l&&x(l,!0),l??null}let u=i.previousNode();if(!u&&d){i.currentNode=n;let l=_(i);if(!l)return null;u=l}return u&&x(u,!0),u??null},focusFirst(t=e){let n=r.current;if(!n)return null;let{tabbable:o=e.tabbable,accept:c=e.accept}=t,a=E(n,{tabbable:o,accept:c}).nextNode();return a&&x(a,!0),a},focusLast(t=e){let n=r.current;if(!n)return null;let{tabbable:o=e.tabbable,accept:c=e.accept}=t,d=E(n,{tabbable:o,accept:c}),a=_(d);return a&&x(a,!0),a??null}}}function _(r){let e,t;do t=r.lastChild(),t&&(e=t);while(t);return e}class M{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,n){let o=this.fastMap.get(t??null);if(!o)return;let c=new L({scopeRef:e});o.addChild(c),c.parent=o,this.fastMap.set(e,c),n&&(c.nodeToRestore=n)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(e===null)return;let t=this.fastMap.get(e);if(!t)return;let n=t.parent;for(let c of this.traverse())c!==t&&t.nodeToRestore&&c.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&w(c.nodeToRestore,t.scopeRef.current)&&(c.nodeToRestore=t.nodeToRestore);let o=t.children;n&&(n.removeChild(t),o.size>0&&o.forEach(c=>n&&n.addChild(c))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(e.scopeRef!=null&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){var e;let t=new M;var n;for(let o of this.traverse())t.addTreeNode(o.scopeRef,(n=(e=o.parent)===null||e===void 0?void 0:e.scopeRef)!==null&&n!==void 0?n:null,o.nodeToRestore);return t}constructor(){this.fastMap=new Map,this.root=new L({scopeRef:null}),this.fastMap.set(null,this.root)}}class L{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}}let h=new M;exports.$9bf71ea28793e738$export$1258395f99bf9cbf=j;exports.$9bf71ea28793e738$export$20e40289641fbbb6=H;exports.$9bf71ea28793e738$export$2d6ec8fc375ceafa=E;exports.$9bf71ea28793e738$export$c5251b9e124bf29=Z;
2
- //# sourceMappingURL=FocusScope-GecpDnRx.cjs.js.map
1
+ "use strict";const s=require("./utils-BHVnNfaH.cjs.js"),T=require("./mergeProps-BA5Cwf5w.cjs.js"),I=require("./platform-BDLy2vDY.cjs.js"),q=require("./useFocusVisible-bRnVksaU.cjs.js"),z=require("./focusSafely-CpzfaUTO.cjs.js"),N=require("react");class U{get currentNode(){return this._currentNode}set currentNode(e){if(!s.$d4ee10de306f2510$export$4282f70798064fe0(this.root,e))throw new Error("Cannot set currentNode to a node that is not contained by the root node.");const t=[];let n=e,o=e;for(this._currentNode=e;n&&n!==this.root;)if(n.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const d=n,a=this._doc.createTreeWalker(d,this.whatToShow,{acceptNode:this._acceptNode});t.push(a),a.currentNode=o,this._currentSetFor.add(a),n=o=d.host}else n=n.parentNode;const c=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});t.push(c),c.currentNode=o,this._currentSetFor.add(c),this._walkerStack=t}get doc(){return this._doc}firstChild(){let e=this.currentNode,t=this.nextNode();return s.$d4ee10de306f2510$export$4282f70798064fe0(e,t)?(t&&(this.currentNode=t),t):(this.currentNode=e,null)}lastChild(){let t=this._walkerStack[0].lastChild();return t&&(this.currentNode=t),t}nextNode(){const e=this._walkerStack[0].nextNode();if(e){if(e.shadowRoot){var t;let o;if(typeof this.filter=="function"?o=this.filter(e):!((t=this.filter)===null||t===void 0)&&t.acceptNode&&(o=this.filter.acceptNode(e)),o===NodeFilter.FILTER_ACCEPT)return this.currentNode=e,e;let c=this.nextNode();return c&&(this.currentNode=c),c}return e&&(this.currentNode=e),e}else if(this._walkerStack.length>1){this._walkerStack.shift();let n=this.nextNode();return n&&(this.currentNode=n),n}else return null}previousNode(){const e=this._walkerStack[0];if(e.currentNode===e.root){if(this._currentSetFor.has(e))if(this._currentSetFor.delete(e),this._walkerStack.length>1){this._walkerStack.shift();let o=this.previousNode();return o&&(this.currentNode=o),o}else return null;return null}const t=e.previousNode();if(t){if(t.shadowRoot){var n;let c;if(typeof this.filter=="function"?c=this.filter(t):!((n=this.filter)===null||n===void 0)&&n.acceptNode&&(c=this.filter.acceptNode(t)),c===NodeFilter.FILTER_ACCEPT)return t&&(this.currentNode=t),t;let d=this.lastChild();return d&&(this.currentNode=d),d}return t&&(this.currentNode=t),t}else if(this._walkerStack.length>1){this._walkerStack.shift();let o=this.previousNode();return o&&(this.currentNode=o),o}else return null}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}constructor(e,t,n,o){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=d=>{if(d.nodeType===Node.ELEMENT_NODE){const b=d.shadowRoot;if(b){const i=this._doc.createTreeWalker(b,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(i),NodeFilter.FILTER_ACCEPT}else{var a;if(typeof this.filter=="function")return this.filter(d);if(!((a=this.filter)===null||a===void 0)&&a.acceptNode)return this.filter.acceptNode(d);if(this.filter===null)return NodeFilter.FILTER_ACCEPT}}return NodeFilter.FILTER_SKIP},this._doc=e,this.root=t,this.filter=o??null,this.whatToShow=n??NodeFilter.SHOW_ALL,this._currentNode=t,this._walkerStack.unshift(e.createTreeWalker(t,n,this._acceptNode));const c=t.shadowRoot;if(c){const d=this._doc.createTreeWalker(c,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(d)}}}function J(r,e,t,n){return s.$f4e2df6bd15f8569$export$98658e8c59125e6a()?new U(r,e,t,n):r.createTreeWalker(e,t,n)}const A=N.createContext(null),y="react-aria-focus-scope-restore";let p=null;function H(r){let{children:e,contain:t,restoreFocus:n,autoFocus:o}=r,c=N.useRef(null),d=N.useRef(null),a=N.useRef([]),{parentNode:b}=N.useContext(A)||{},i=N.useMemo(()=>new L({scopeRef:a}),[a]);T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{let f=b||h.root;if(h.getTreeNode(f.scopeRef)&&p&&!R(p,f.scopeRef)){let $=h.getTreeNode(p);$&&(f=$)}f.addChild(i),h.addNode(i)},[i,b]),T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{let f=h.getTreeNode(a);f&&(f.contain=!!t)},[t]),T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{var f;let $=(f=c.current)===null||f===void 0?void 0:f.nextSibling,v=[],g=F=>F.stopPropagation();for(;$&&$!==d.current;)v.push($),$.addEventListener(y,g),$=$.nextSibling;return a.current=v,()=>{for(let F of v)F.removeEventListener(y,g)}},[e]),X(a,n,t),G(a,t),Y(a,n,t),Q(a,o),N.useEffect(()=>{const f=s.$d4ee10de306f2510$export$cd4e5573fbe2b576(s.$431fbd86ca7dc216$export$b204af158042fbac(a.current?a.current[0]:void 0));let $=null;if(w(f,a.current)){for(let v of h.traverse())v.scopeRef&&w(f,v.scopeRef.current)&&($=v);$===h.getTreeNode(a)&&(p=$.scopeRef)}},[a]),T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>()=>{var f,$,v;let g=(v=($=h.getTreeNode(a))===null||$===void 0||(f=$.parent)===null||f===void 0?void 0:f.scopeRef)!==null&&v!==void 0?v:null;(a===p||R(a,p))&&(!g||h.getTreeNode(g))&&(p=g),h.removeTreeNode(a)},[a]);let u=N.useMemo(()=>V(a),[]),l=N.useMemo(()=>({focusManager:u,parentNode:i}),[i,u]);return N.createElement(A.Provider,{value:l},N.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:c}),e,N.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:d}))}function V(r){return{focusNext(e={}){let t=r.current,{from:n,tabbable:o,wrap:c,accept:d}=e;var a;let b=n||s.$d4ee10de306f2510$export$cd4e5573fbe2b576(s.$431fbd86ca7dc216$export$b204af158042fbac((a=t[0])!==null&&a!==void 0?a:void 0)),i=t[0].previousElementSibling,u=k(t),l=E(u,{tabbable:o,accept:d},t);l.currentNode=w(b,t)?b:i;let f=l.nextNode();return!f&&c&&(l.currentNode=i,f=l.nextNode()),f&&x(f,!0),f},focusPrevious(e={}){let t=r.current,{from:n,tabbable:o,wrap:c,accept:d}=e;var a;let b=n||s.$d4ee10de306f2510$export$cd4e5573fbe2b576(s.$431fbd86ca7dc216$export$b204af158042fbac((a=t[0])!==null&&a!==void 0?a:void 0)),i=t[t.length-1].nextElementSibling,u=k(t),l=E(u,{tabbable:o,accept:d},t);l.currentNode=w(b,t)?b:i;let f=l.previousNode();return!f&&c&&(l.currentNode=i,f=l.previousNode()),f&&x(f,!0),f},focusFirst(e={}){let t=r.current,{tabbable:n,accept:o}=e,c=k(t),d=E(c,{tabbable:n,accept:o},t);d.currentNode=t[0].previousElementSibling;let a=d.nextNode();return a&&x(a,!0),a},focusLast(e={}){let t=r.current,{tabbable:n,accept:o}=e,c=k(t),d=E(c,{tabbable:n,accept:o},t);d.currentNode=t[t.length-1].nextElementSibling;let a=d.previousNode();return a&&x(a,!0),a}}}function k(r){return r[0].parentElement}function S(r){let e=h.getTreeNode(p);for(;e&&e.scopeRef!==r;){if(e.contain)return!1;e=e.parent}return!0}function B(r){if(r.checked)return!0;let e=[];if(!r.form)e=[...s.$431fbd86ca7dc216$export$b204af158042fbac(r).querySelectorAll(`input[type="radio"][name="${CSS.escape(r.name)}"]`)].filter(c=>!c.form);else{var t,n;let c=(n=r.form)===null||n===void 0||(t=n.elements)===null||t===void 0?void 0:t.namedItem(r.name);e=[...c??[]]}return e?!e.some(c=>c.checked):!1}function G(r,e){let t=N.useRef(void 0),n=N.useRef(void 0);T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{let o=r.current;if(!e){n.current&&(cancelAnimationFrame(n.current),n.current=void 0);return}const c=s.$431fbd86ca7dc216$export$b204af158042fbac(o?o[0]:void 0);let d=i=>{if(i.key!=="Tab"||i.altKey||i.ctrlKey||i.metaKey||!S(r)||i.isComposing)return;let u=s.$d4ee10de306f2510$export$cd4e5573fbe2b576(c),l=r.current;if(!l||!w(u,l))return;let f=k(l),$=E(f,{tabbable:!0},l);if(!u)return;$.currentNode=u;let v=i.shiftKey?$.previousNode():$.nextNode();v||($.currentNode=i.shiftKey?l[l.length-1].nextElementSibling:l[0].previousElementSibling,v=i.shiftKey?$.previousNode():$.nextNode()),i.preventDefault(),v&&x(v,!0)},a=i=>{(!p||R(p,r))&&w(s.$d4ee10de306f2510$export$e58f029f0fbfdb29(i),r.current)?(p=r,t.current=s.$d4ee10de306f2510$export$e58f029f0fbfdb29(i)):S(r)&&!m(s.$d4ee10de306f2510$export$e58f029f0fbfdb29(i),r)?t.current?t.current.focus():p&&p.current&&C(p.current):S(r)&&(t.current=s.$d4ee10de306f2510$export$e58f029f0fbfdb29(i))},b=i=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{let u=q.$507fabe10e71c6fb$export$630ff653c5ada6a9(),l=(u==="virtual"||u===null)&&I.$c87311424ea30a05$export$a11b0059900ceec8()&&I.$c87311424ea30a05$export$6446a186d09e379e(),f=s.$d4ee10de306f2510$export$cd4e5573fbe2b576(c);if(!l&&f&&S(r)&&!m(f,r)){p=r;let v=s.$d4ee10de306f2510$export$e58f029f0fbfdb29(i);if(v&&v.isConnected){var $;t.current=v,($=t.current)===null||$===void 0||$.focus()}else p.current&&C(p.current)}})};return c.addEventListener("keydown",d,!1),c.addEventListener("focusin",a,!1),o?.forEach(i=>i.addEventListener("focusin",a,!1)),o?.forEach(i=>i.addEventListener("focusout",b,!1)),()=>{c.removeEventListener("keydown",d,!1),c.removeEventListener("focusin",a,!1),o?.forEach(i=>i.removeEventListener("focusin",a,!1)),o?.forEach(i=>i.removeEventListener("focusout",b,!1))}},[r,e]),T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n])}function D(r){return m(r)}function w(r,e){return!r||!e?!1:e.some(t=>t.contains(r))}function m(r,e=null){if(r instanceof Element&&r.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:t}of h.traverse(h.getTreeNode(e)))if(t&&w(r,t.current))return!0;return!1}function j(r){return m(r,p)}function R(r,e){var t;let n=(t=h.getTreeNode(e))===null||t===void 0?void 0:t.parent;for(;n;){if(n.scopeRef===r)return!0;n=n.parent}return!1}function x(r,e=!1){if(r!=null&&!e)try{(0,z.$3ad3f6e1647bc98d$export$80f3e147d781571c)(r)}catch{}else if(r!=null)try{r.focus()}catch{}}function W(r,e=!0){let t=r[0].previousElementSibling,n=k(r),o=E(n,{tabbable:e},r);o.currentNode=t;let c=o.nextNode();return e&&!c&&(n=k(r),o=E(n,{tabbable:!1},r),o.currentNode=t,c=o.nextNode()),c}function C(r,e=!0){x(W(r,e))}function Q(r,e){const t=N.useRef(e);N.useEffect(()=>{if(t.current){p=r;const n=s.$431fbd86ca7dc216$export$b204af158042fbac(r.current?r.current[0]:void 0);!w(s.$d4ee10de306f2510$export$cd4e5573fbe2b576(n),p.current)&&r.current&&C(r.current)}t.current=!1},[r])}function X(r,e,t){T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{if(e||t)return;let n=r.current;const o=s.$431fbd86ca7dc216$export$b204af158042fbac(n?n[0]:void 0);let c=d=>{let a=s.$d4ee10de306f2510$export$e58f029f0fbfdb29(d);w(a,r.current)?p=r:D(a)||(p=null)};return o.addEventListener("focusin",c,!1),n?.forEach(d=>d.addEventListener("focusin",c,!1)),()=>{o.removeEventListener("focusin",c,!1),n?.forEach(d=>d.removeEventListener("focusin",c,!1))}},[r,e,t])}function P(r){let e=h.getTreeNode(p);for(;e&&e.scopeRef!==r;){if(e.nodeToRestore)return!1;e=e.parent}return e?.scopeRef===r}function Y(r,e,t){const n=N.useRef(typeof document<"u"?s.$d4ee10de306f2510$export$cd4e5573fbe2b576(s.$431fbd86ca7dc216$export$b204af158042fbac(r.current?r.current[0]:void 0)):null);T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{let o=r.current;const c=s.$431fbd86ca7dc216$export$b204af158042fbac(o?o[0]:void 0);if(!e||t)return;let d=()=>{(!p||R(p,r))&&w(s.$d4ee10de306f2510$export$cd4e5573fbe2b576(c),r.current)&&(p=r)};return c.addEventListener("focusin",d,!1),o?.forEach(a=>a.addEventListener("focusin",d,!1)),()=>{c.removeEventListener("focusin",d,!1),o?.forEach(a=>a.removeEventListener("focusin",d,!1))}},[r,t]),T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{const o=s.$431fbd86ca7dc216$export$b204af158042fbac(r.current?r.current[0]:void 0);if(!e)return;let c=d=>{if(d.key!=="Tab"||d.altKey||d.ctrlKey||d.metaKey||!S(r)||d.isComposing)return;let a=o.activeElement;if(!m(a,r)||!P(r))return;let b=h.getTreeNode(r);if(!b)return;let i=b.nodeToRestore,u=E(o.body,{tabbable:!0});u.currentNode=a;let l=d.shiftKey?u.previousNode():u.nextNode();if((!i||!i.isConnected||i===o.body)&&(i=void 0,b.nodeToRestore=void 0),(!l||!m(l,r))&&i){u.currentNode=i;do l=d.shiftKey?u.previousNode():u.nextNode();while(m(l,r));d.preventDefault(),d.stopPropagation(),l?x(l,!0):D(i)?x(i,!0):a.blur()}};return t||o.addEventListener("keydown",c,!0),()=>{t||o.removeEventListener("keydown",c,!0)}},[r,e,t]),T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{const o=s.$431fbd86ca7dc216$export$b204af158042fbac(r.current?r.current[0]:void 0);if(!e)return;let c=h.getTreeNode(r);if(c){var d;return c.nodeToRestore=(d=n.current)!==null&&d!==void 0?d:void 0,()=>{let a=h.getTreeNode(r);if(!a)return;let b=a.nodeToRestore,i=s.$d4ee10de306f2510$export$cd4e5573fbe2b576(o);if(e&&b&&(i&&m(i,r)||i===o.body&&P(r))){let u=h.clone();requestAnimationFrame(()=>{if(o.activeElement===o.body){let l=u.getTreeNode(r);for(;l;){if(l.nodeToRestore&&l.nodeToRestore.isConnected){K(l.nodeToRestore);return}l=l.parent}for(l=u.getTreeNode(r);l;){if(l.scopeRef&&l.scopeRef.current&&h.getTreeNode(l.scopeRef)){let f=W(l.scopeRef.current,!0);K(f);return}l=l.parent}}})}}}},[r,e])}function K(r){r.dispatchEvent(new CustomEvent(y,{bubbles:!0,cancelable:!0}))&&x(r)}function E(r,e,t){let n=e?.tabbable?s.$b4b717babfbb907b$export$bebd5a1431fec25d:s.$b4b717babfbb907b$export$4c063cf1350e6fed,o=r?.nodeType===Node.ELEMENT_NODE?r:null,c=s.$431fbd86ca7dc216$export$b204af158042fbac(o),d=J(c,r||c,NodeFilter.SHOW_ELEMENT,{acceptNode(a){var b;return!(e==null||(b=e.from)===null||b===void 0)&&b.contains(a)||e?.tabbable&&a.tagName==="INPUT"&&a.getAttribute("type")==="radio"&&(!B(a)||d.currentNode.tagName==="INPUT"&&d.currentNode.type==="radio"&&d.currentNode.name===a.name)?NodeFilter.FILTER_REJECT:n(a)&&(!t||w(a,t))&&(!e?.accept||e.accept(a))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return e?.from&&(d.currentNode=e.from),d}function Z(r,e={}){return{focusNext(t={}){let n=r.current;if(!n)return null;let{from:o,tabbable:c=e.tabbable,wrap:d=e.wrap,accept:a=e.accept}=t,b=o||s.$d4ee10de306f2510$export$cd4e5573fbe2b576(s.$431fbd86ca7dc216$export$b204af158042fbac(n)),i=E(n,{tabbable:c,accept:a});n.contains(b)&&(i.currentNode=b);let u=i.nextNode();return!u&&d&&(i.currentNode=n,u=i.nextNode()),u&&x(u,!0),u},focusPrevious(t=e){let n=r.current;if(!n)return null;let{from:o,tabbable:c=e.tabbable,wrap:d=e.wrap,accept:a=e.accept}=t,b=o||s.$d4ee10de306f2510$export$cd4e5573fbe2b576(s.$431fbd86ca7dc216$export$b204af158042fbac(n)),i=E(n,{tabbable:c,accept:a});if(n.contains(b))i.currentNode=b;else{let l=_(i);return l&&x(l,!0),l??null}let u=i.previousNode();if(!u&&d){i.currentNode=n;let l=_(i);if(!l)return null;u=l}return u&&x(u,!0),u??null},focusFirst(t=e){let n=r.current;if(!n)return null;let{tabbable:o=e.tabbable,accept:c=e.accept}=t,a=E(n,{tabbable:o,accept:c}).nextNode();return a&&x(a,!0),a},focusLast(t=e){let n=r.current;if(!n)return null;let{tabbable:o=e.tabbable,accept:c=e.accept}=t,d=E(n,{tabbable:o,accept:c}),a=_(d);return a&&x(a,!0),a??null}}}function _(r){let e,t;do t=r.lastChild(),t&&(e=t);while(t);return e}class M{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,n){let o=this.fastMap.get(t??null);if(!o)return;let c=new L({scopeRef:e});o.addChild(c),c.parent=o,this.fastMap.set(e,c),n&&(c.nodeToRestore=n)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(e===null)return;let t=this.fastMap.get(e);if(!t)return;let n=t.parent;for(let c of this.traverse())c!==t&&t.nodeToRestore&&c.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&w(c.nodeToRestore,t.scopeRef.current)&&(c.nodeToRestore=t.nodeToRestore);let o=t.children;n&&(n.removeChild(t),o.size>0&&o.forEach(c=>n&&n.addChild(c))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(e.scopeRef!=null&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){var e;let t=new M;var n;for(let o of this.traverse())t.addTreeNode(o.scopeRef,(n=(e=o.parent)===null||e===void 0?void 0:e.scopeRef)!==null&&n!==void 0?n:null,o.nodeToRestore);return t}constructor(){this.fastMap=new Map,this.root=new L({scopeRef:null}),this.fastMap.set(null,this.root)}}class L{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}}let h=new M;exports.$9bf71ea28793e738$export$1258395f99bf9cbf=j;exports.$9bf71ea28793e738$export$20e40289641fbbb6=H;exports.$9bf71ea28793e738$export$2d6ec8fc375ceafa=E;exports.$9bf71ea28793e738$export$c5251b9e124bf29=Z;
2
+ //# sourceMappingURL=FocusScope-B78iFLeF.cjs.js.map