@televet/kibble-ui 4.0.1 → 5.0.0-beta.hotfix.1

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 (897) hide show
  1. package/dist/chunks/alert.types-BKSqs9qY.js +2 -0
  2. package/dist/chunks/alert.types-BKSqs9qY.js.map +1 -0
  3. package/dist/chunks/alert.types-C_ygg7fh.js +141 -0
  4. package/dist/chunks/alert.types-C_ygg7fh.js.map +1 -0
  5. package/dist/chunks/anatomy-BkGk10kB.js +2 -0
  6. package/dist/chunks/anatomy-BkGk10kB.js.map +1 -0
  7. package/dist/chunks/anatomy-zd4ecEFD.js +280 -0
  8. package/dist/chunks/anatomy-zd4ecEFD.js.map +1 -0
  9. package/dist/chunks/avatar.component-B1HGlwVW.js +2 -0
  10. package/dist/chunks/avatar.component-B1HGlwVW.js.map +1 -0
  11. package/dist/chunks/avatar.component-C-365mx3.js +404 -0
  12. package/dist/chunks/avatar.component-C-365mx3.js.map +1 -0
  13. package/dist/chunks/avatar.records-CxLCvZfG.js +2 -0
  14. package/dist/chunks/avatar.records-CxLCvZfG.js.map +1 -0
  15. package/dist/chunks/{index-Cv06PsSJ.js → avatar.records-EoZmO3VR.js} +21 -13
  16. package/dist/chunks/avatar.records-EoZmO3VR.js.map +1 -0
  17. package/dist/chunks/avatarGroup.component-B-ZOhj7i.js +75 -0
  18. package/dist/chunks/avatarGroup.component-B-ZOhj7i.js.map +1 -0
  19. package/dist/chunks/avatarGroup.component-CTBfGiSm.js +2 -0
  20. package/dist/chunks/avatarGroup.component-CTBfGiSm.js.map +1 -0
  21. package/dist/chunks/button.component-BO6oee_V.js +69 -0
  22. package/dist/chunks/button.component-BO6oee_V.js.map +1 -0
  23. package/dist/chunks/button.component-DjdgBXDC.js +2 -0
  24. package/dist/chunks/button.component-DjdgBXDC.js.map +1 -0
  25. package/dist/chunks/button.recipe-Bb0lptGi.js +613 -0
  26. package/dist/chunks/button.recipe-Bb0lptGi.js.map +1 -0
  27. package/dist/chunks/button.recipe-flk0XJTS.js +2 -0
  28. package/dist/chunks/button.recipe-flk0XJTS.js.map +1 -0
  29. package/dist/chunks/button.types-3lHElsln.js +2 -0
  30. package/dist/chunks/button.types-3lHElsln.js.map +1 -0
  31. package/dist/chunks/{button.types-BKXZNvN1.js → button.types-C9PpvmYR.js} +14 -9
  32. package/dist/chunks/button.types-C9PpvmYR.js.map +1 -0
  33. package/dist/chunks/buttonGroup.component-CowJsbr7.js +2 -0
  34. package/dist/chunks/buttonGroup.component-CowJsbr7.js.map +1 -0
  35. package/dist/chunks/buttonGroup.component-DUK2FgFn.js +70 -0
  36. package/dist/chunks/buttonGroup.component-DUK2FgFn.js.map +1 -0
  37. package/dist/chunks/calendar.component-CHIhplfO.js +18 -0
  38. package/dist/chunks/calendar.component-CHIhplfO.js.map +1 -0
  39. package/dist/chunks/calendar.component-tOoK1NrU.js +2 -0
  40. package/dist/chunks/calendar.component-tOoK1NrU.js.map +1 -0
  41. package/dist/chunks/card.component-B1AznjWF.js +55 -0
  42. package/dist/chunks/card.component-B1AznjWF.js.map +1 -0
  43. package/dist/chunks/card.component-BmBiYbMV.js +2 -0
  44. package/dist/chunks/card.component-BmBiYbMV.js.map +1 -0
  45. package/dist/chunks/center-Dmlzv1BW.js +20 -0
  46. package/dist/chunks/center-Dmlzv1BW.js.map +1 -0
  47. package/dist/chunks/center-kk61ArhQ.js +2 -0
  48. package/dist/chunks/center-kk61ArhQ.js.map +1 -0
  49. package/dist/chunks/characterCounter.component-CKDigkoD.js +2 -0
  50. package/dist/chunks/characterCounter.component-CKDigkoD.js.map +1 -0
  51. package/dist/chunks/characterCounter.component-Ch3P3GqC.js +82 -0
  52. package/dist/chunks/characterCounter.component-Ch3P3GqC.js.map +1 -0
  53. package/dist/chunks/{checkbox.anatomy-DC8fJdkY.js → checkbox.anatomy-BzZ0IkUF.js} +22 -22
  54. package/dist/chunks/{checkbox.anatomy-DC8fJdkY.js.map → checkbox.anatomy-BzZ0IkUF.js.map} +1 -1
  55. package/dist/chunks/{checkbox.anatomy-BNdLT4Qf.js → checkbox.anatomy-DM39E2Q9.js} +2 -2
  56. package/dist/chunks/{checkbox.anatomy-BNdLT4Qf.js.map → checkbox.anatomy-DM39E2Q9.js.map} +1 -1
  57. package/dist/chunks/checkbox.component-CiA3Z1zR.js +2 -0
  58. package/dist/chunks/{checkbox.component-DNOkXggb.js.map → checkbox.component-CiA3Z1zR.js.map} +1 -1
  59. package/dist/chunks/checkbox.component-DE35wBj-.js +269 -0
  60. package/dist/chunks/{checkbox.component-Dhjcu89D.js.map → checkbox.component-DE35wBj-.js.map} +1 -1
  61. package/dist/chunks/checkboxGroup.component-BGBd-roJ.js +2 -0
  62. package/dist/chunks/checkboxGroup.component-BGBd-roJ.js.map +1 -0
  63. package/dist/chunks/checkboxGroup.component-CYwGlktu.js +53 -0
  64. package/dist/chunks/checkboxGroup.component-CYwGlktu.js.map +1 -0
  65. package/dist/chunks/{config-B3QABP1-.js → config-Djkl1N81.js} +4 -4
  66. package/dist/chunks/{config-B3QABP1-.js.map → config-Djkl1N81.js.map} +1 -1
  67. package/dist/chunks/conversationCard.component-BrDGshOG.js +2 -0
  68. package/dist/chunks/conversationCard.component-BrDGshOG.js.map +1 -0
  69. package/dist/chunks/conversationCard.component-CMdqD3yN.js +331 -0
  70. package/dist/chunks/conversationCard.component-CMdqD3yN.js.map +1 -0
  71. package/dist/chunks/{create-recipe-context-CrEKmpj8.js → create-recipe-context-DfQ-MTih.js} +9 -9
  72. package/dist/chunks/{create-recipe-context-CrEKmpj8.js.map → create-recipe-context-DfQ-MTih.js.map} +1 -1
  73. package/dist/chunks/create-slot-recipe-context-D_FXDJGp.js +104 -0
  74. package/dist/chunks/create-slot-recipe-context-D_FXDJGp.js.map +1 -0
  75. package/dist/chunks/create-slot-recipe-context-HXE1VazG.js +2 -0
  76. package/dist/chunks/create-slot-recipe-context-HXE1VazG.js.map +1 -0
  77. package/dist/chunks/datePicker.component-C6cD1_HR.js +2 -0
  78. package/dist/chunks/datePicker.component-C6cD1_HR.js.map +1 -0
  79. package/dist/chunks/datePicker.component-eHU7IZgC.js +166 -0
  80. package/dist/chunks/datePicker.component-eHU7IZgC.js.map +1 -0
  81. package/dist/chunks/datePicker.provider-BWHE-9FA.js +3009 -0
  82. package/dist/chunks/datePicker.provider-BWHE-9FA.js.map +1 -0
  83. package/dist/chunks/datePicker.provider-DgarjPPd.js +15 -0
  84. package/dist/chunks/datePicker.provider-DgarjPPd.js.map +1 -0
  85. package/dist/chunks/dateTimePicker.component-Byjxg2lJ.js +317 -0
  86. package/dist/chunks/dateTimePicker.component-Byjxg2lJ.js.map +1 -0
  87. package/dist/chunks/dateTimePicker.component-REz9iX4S.js +2 -0
  88. package/dist/chunks/dateTimePicker.component-REz9iX4S.js.map +1 -0
  89. package/dist/chunks/{dialog-C51vaoYf.js → dialog-B9jifvV4.js} +37 -36
  90. package/dist/chunks/{dialog-C51vaoYf.js.map → dialog-B9jifvV4.js.map} +1 -1
  91. package/dist/chunks/dialog-CZFwddWp.js +2 -0
  92. package/dist/chunks/{dialog-BPhjKQkb.js.map → dialog-CZFwddWp.js.map} +1 -1
  93. package/dist/chunks/divider.component-BX3zyB7O.js +2 -0
  94. package/dist/chunks/divider.component-BX3zyB7O.js.map +1 -0
  95. package/dist/chunks/divider.component-CFOh4Nw3.js +45 -0
  96. package/dist/chunks/divider.component-CFOh4Nw3.js.map +1 -0
  97. package/dist/chunks/divider.types-6MEkMNbx.js +7 -0
  98. package/dist/chunks/divider.types-6MEkMNbx.js.map +1 -0
  99. package/dist/chunks/divider.types-DBNcs0IR.js +2 -0
  100. package/dist/chunks/divider.types-DBNcs0IR.js.map +1 -0
  101. package/dist/chunks/{empty-BU2EAux9.js → empty-DNH84khx.js} +3 -3
  102. package/dist/chunks/{empty-BU2EAux9.js.map → empty-DNH84khx.js.map} +1 -1
  103. package/dist/chunks/field.anatomy-Bhj7Mlr7.js +2 -0
  104. package/dist/chunks/field.anatomy-Bhj7Mlr7.js.map +1 -0
  105. package/dist/chunks/field.anatomy-C37GEr2p.js +16 -0
  106. package/dist/chunks/field.anatomy-C37GEr2p.js.map +1 -0
  107. package/dist/chunks/{format-BRt-TIiQ.js → format-CK7Imh-5.js} +2 -2
  108. package/dist/chunks/{format-BRt-TIiQ.js.map → format-CK7Imh-5.js.map} +1 -1
  109. package/dist/chunks/{format-DgHM6wFr.js → format-CqTHHSak.js} +3 -1
  110. package/dist/chunks/{format-DgHM6wFr.js.map → format-CqTHHSak.js.map} +1 -1
  111. package/dist/chunks/grid-item-BmCSQ38y.js +78 -0
  112. package/dist/chunks/grid-item-BmCSQ38y.js.map +1 -0
  113. package/dist/chunks/grid-item-CH3dbZHL.js +2 -0
  114. package/dist/chunks/grid-item-CH3dbZHL.js.map +1 -0
  115. package/dist/chunks/heading.component-7ikcgDco.js +18 -0
  116. package/dist/chunks/heading.component-7ikcgDco.js.map +1 -0
  117. package/dist/chunks/heading.component-DMAQO_-m.js +2 -0
  118. package/dist/chunks/heading.component-DMAQO_-m.js.map +1 -0
  119. package/dist/chunks/{icon-button-5UcFiA_W.js → icon-button-CcZMCNUJ.js} +3 -3
  120. package/dist/chunks/{icon-button-5UcFiA_W.js.map → icon-button-CcZMCNUJ.js.map} +1 -1
  121. package/dist/chunks/icon.component-B1hr5lLa.js +2 -0
  122. package/dist/chunks/icon.component-B1hr5lLa.js.map +1 -0
  123. package/dist/chunks/icon.component-PV_nHBId.js +32 -0
  124. package/dist/chunks/icon.component-PV_nHBId.js.map +1 -0
  125. package/dist/chunks/{icons-DQ5FafZQ.js → icons-CoSqruIn.js} +5 -5
  126. package/dist/chunks/{icons-DQ5FafZQ.js.map → icons-CoSqruIn.js.map} +1 -1
  127. package/dist/chunks/index-B-OGBT0w.js +2 -0
  128. package/dist/chunks/{index-BEfEzWJx.js.map → index-B-OGBT0w.js.map} +1 -1
  129. package/dist/chunks/index-B3xJnxjd.js +371 -0
  130. package/dist/chunks/index-B3xJnxjd.js.map +1 -0
  131. package/dist/chunks/index-BFUdiDZp.js +2 -0
  132. package/dist/chunks/{index-2glJ2faJ.js.map → index-BFUdiDZp.js.map} +1 -1
  133. package/dist/chunks/{index-CVJXrcei.js → index-BGd_2-DY.js} +29 -27
  134. package/dist/chunks/{index-CVJXrcei.js.map → index-BGd_2-DY.js.map} +1 -1
  135. package/dist/chunks/index-BXv9lkZC.js +4 -0
  136. package/dist/chunks/index-BXv9lkZC.js.map +1 -0
  137. package/dist/chunks/index-BbZjRFzg.js +265 -0
  138. package/dist/chunks/index-BbZjRFzg.js.map +1 -0
  139. package/dist/chunks/{index-CYXurbh4.js → index-BgFImxxe.js} +27 -25
  140. package/dist/chunks/{index-CYXurbh4.js.map → index-BgFImxxe.js.map} +1 -1
  141. package/dist/chunks/index-BoulS5Zg.js +2 -0
  142. package/dist/chunks/index-BoulS5Zg.js.map +1 -0
  143. package/dist/chunks/index-BrJtqTzN.js +4115 -0
  144. package/dist/chunks/index-BrJtqTzN.js.map +1 -0
  145. package/dist/chunks/index-C9UYIjEB.js +1584 -0
  146. package/dist/chunks/index-C9UYIjEB.js.map +1 -0
  147. package/dist/chunks/index-CQURjLlA.js +3 -0
  148. package/dist/chunks/index-CQURjLlA.js.map +1 -0
  149. package/dist/chunks/{index-BXJJKHzT.js → index-CbVKVxMW.js} +54 -52
  150. package/dist/chunks/{index-BXJJKHzT.js.map → index-CbVKVxMW.js.map} +1 -1
  151. package/dist/chunks/{index-CWhDtS-n.js → index-Cxrrsmf-.js} +17 -16
  152. package/dist/chunks/{index-CWhDtS-n.js.map → index-Cxrrsmf-.js.map} +1 -1
  153. package/dist/chunks/{index-BZBgTxer.js → index-D0DKQnEK.js} +11 -11
  154. package/dist/chunks/{index-BZBgTxer.js.map → index-D0DKQnEK.js.map} +1 -1
  155. package/dist/chunks/index-D1RhzPVz.js +984 -0
  156. package/dist/chunks/index-D1RhzPVz.js.map +1 -0
  157. package/dist/chunks/index-D3Q0mQNf.js +325 -0
  158. package/dist/chunks/index-D3Q0mQNf.js.map +1 -0
  159. package/dist/chunks/index-D6HBfqAu.js +2 -0
  160. package/dist/chunks/index-D6HBfqAu.js.map +1 -0
  161. package/dist/chunks/index-D6c4fMjg.js +2 -0
  162. package/dist/chunks/index-D6c4fMjg.js.map +1 -0
  163. package/dist/chunks/{index-CfqoBQoP.js → index-D7QT9KIZ.js} +9 -9
  164. package/dist/chunks/{index-CfqoBQoP.js.map → index-D7QT9KIZ.js.map} +1 -1
  165. package/dist/chunks/{index-WYcfOUFA.js → index-DIszpWqO.js} +2 -2
  166. package/dist/chunks/{index-WYcfOUFA.js.map → index-DIszpWqO.js.map} +1 -1
  167. package/dist/chunks/{index-D0HCo_Ly.js → index-DLe40do7.js} +2 -2
  168. package/dist/chunks/{index-D0HCo_Ly.js.map → index-DLe40do7.js.map} +1 -1
  169. package/dist/chunks/index-DS4KlAkI.js +371 -0
  170. package/dist/chunks/index-DS4KlAkI.js.map +1 -0
  171. package/dist/chunks/{index-nNZWP0FQ.js → index-DTVestnf.js} +2 -2
  172. package/dist/chunks/{index-nNZWP0FQ.js.map → index-DTVestnf.js.map} +1 -1
  173. package/dist/chunks/index-DVyODQn6.js +8 -0
  174. package/dist/chunks/index-DVyODQn6.js.map +1 -0
  175. package/dist/chunks/index-D_vndwae.js +3 -0
  176. package/dist/chunks/index-D_vndwae.js.map +1 -0
  177. package/dist/chunks/index-DfzXSlq1.js +2477 -0
  178. package/dist/chunks/index-DfzXSlq1.js.map +1 -0
  179. package/dist/chunks/{index-BhSvtzbY.js → index-QVc_GVoE.js} +13 -13
  180. package/dist/chunks/{index-BhSvtzbY.js.map → index-QVc_GVoE.js.map} +1 -1
  181. package/dist/chunks/index-Ts8g8jZd.js +2 -0
  182. package/dist/chunks/index-Ts8g8jZd.js.map +1 -0
  183. package/dist/chunks/index-_913FPya.js +2 -0
  184. package/dist/chunks/{index-A_vmTNU7.js.map → index-_913FPya.js.map} +1 -1
  185. package/dist/chunks/index-fHSGm2nC.js +1044 -0
  186. package/dist/chunks/index-fHSGm2nC.js.map +1 -0
  187. package/dist/chunks/{index-eNFIsSpE.js → index-kpOEHtZZ.js} +2 -2
  188. package/dist/chunks/{index-eNFIsSpE.js.map → index-kpOEHtZZ.js.map} +1 -1
  189. package/dist/chunks/index-rSq6Bry6.js +2 -0
  190. package/dist/chunks/{index-DAI6_P9H.js.map → index-rSq6Bry6.js.map} +1 -1
  191. package/dist/chunks/{index-BhPrz8Zu.js → index-wV4hG2vI.js} +19 -19
  192. package/dist/chunks/{index-BhPrz8Zu.js.map → index-wV4hG2vI.js.map} +1 -1
  193. package/dist/chunks/index-yh2QitBe.js +2 -0
  194. package/dist/chunks/index-yh2QitBe.js.map +1 -0
  195. package/dist/chunks/input-group-CFelIL63.js +78 -0
  196. package/dist/chunks/input-group-CFelIL63.js.map +1 -0
  197. package/dist/chunks/input-group-DUdSDk4o.js +2 -0
  198. package/dist/chunks/input-group-DUdSDk4o.js.map +1 -0
  199. package/dist/chunks/isToday-BgNkHh5t.js +2 -0
  200. package/dist/chunks/isToday-BgNkHh5t.js.map +1 -0
  201. package/dist/chunks/isToday-iCYsPDMT.js +23 -0
  202. package/dist/chunks/isToday-iCYsPDMT.js.map +1 -0
  203. package/dist/chunks/link.component--URNKuK2.js +44 -0
  204. package/dist/chunks/link.component--URNKuK2.js.map +1 -0
  205. package/dist/chunks/link.component-_YXG8MDq.js +2 -0
  206. package/dist/chunks/link.component-_YXG8MDq.js.map +1 -0
  207. package/dist/chunks/{list-D22V_L58.js → list-DTRn3TmT.js} +2 -2
  208. package/dist/chunks/{list-D22V_L58.js.map → list-DTRn3TmT.js.map} +1 -1
  209. package/dist/chunks/{list-DwRM9eA_.js → list-v83ZN2MC.js} +2 -2
  210. package/dist/chunks/{list-DwRM9eA_.js.map → list-v83ZN2MC.js.map} +1 -1
  211. package/dist/chunks/logo.types-88a31xCx.js +2 -0
  212. package/dist/chunks/logo.types-88a31xCx.js.map +1 -0
  213. package/dist/chunks/logo.types-C5GwpHjM.js +51 -0
  214. package/dist/chunks/logo.types-C5GwpHjM.js.map +1 -0
  215. package/dist/chunks/menu.component-D4-4xRDj.js +2 -0
  216. package/dist/chunks/menu.component-D4-4xRDj.js.map +1 -0
  217. package/dist/chunks/menu.component-DwTen8Uv.js +704 -0
  218. package/dist/chunks/menu.component-DwTen8Uv.js.map +1 -0
  219. package/dist/chunks/modal.types-74os4Bqi.js +2 -0
  220. package/dist/chunks/modal.types-74os4Bqi.js.map +1 -0
  221. package/dist/chunks/modal.types-B0rK6xJy.js +115 -0
  222. package/dist/chunks/modal.types-B0rK6xJy.js.map +1 -0
  223. package/dist/chunks/{notificationCounter.component-Lu4_Owvr.js → notificationCounter.component-BexkISUl.js} +37 -18
  224. package/dist/chunks/notificationCounter.component-BexkISUl.js.map +1 -0
  225. package/dist/chunks/notificationCounter.component-DJpUXeXm.js +2 -0
  226. package/dist/chunks/notificationCounter.component-DJpUXeXm.js.map +1 -0
  227. package/dist/chunks/numberInput.component-DIABzNV6.js +2 -0
  228. package/dist/chunks/numberInput.component-DIABzNV6.js.map +1 -0
  229. package/dist/chunks/numberInput.component-RCwUUzmH.js +227 -0
  230. package/dist/chunks/numberInput.component-RCwUUzmH.js.map +1 -0
  231. package/dist/chunks/picture.component-BA2hgdZy.js +2 -0
  232. package/dist/chunks/picture.component-BA2hgdZy.js.map +1 -0
  233. package/dist/chunks/picture.component-DzdHIFN_.js +28 -0
  234. package/dist/chunks/picture.component-DzdHIFN_.js.map +1 -0
  235. package/dist/chunks/pinInput.types-BCzsoF9r.js +2 -0
  236. package/dist/chunks/{pinInput.types-Cqm1Px5l.js.map → pinInput.types-BCzsoF9r.js.map} +1 -1
  237. package/dist/chunks/pinInput.types-CcaAN6P2.js +155 -0
  238. package/dist/chunks/{pinInput.types-CcN0aX_i.js.map → pinInput.types-CcaAN6P2.js.map} +1 -1
  239. package/dist/chunks/popover-C7aj8Iwj.js +2 -0
  240. package/dist/chunks/popover-C7aj8Iwj.js.map +1 -0
  241. package/dist/chunks/popover-pd70xkY_.js +111 -0
  242. package/dist/chunks/popover-pd70xkY_.js.map +1 -0
  243. package/dist/chunks/popover-root-provider-CZDbUJ2K.js +2 -0
  244. package/dist/chunks/{popover-root-provider-ZB5BcrXn.js.map → popover-root-provider-CZDbUJ2K.js.map} +1 -1
  245. package/dist/chunks/popover-root-provider-DR0Iuda1.js +44 -0
  246. package/dist/chunks/{popover-root-provider-CkW1eCBQ.js.map → popover-root-provider-DR0Iuda1.js.map} +1 -1
  247. package/dist/chunks/popover.component-BBp_5m8e.js +2 -0
  248. package/dist/chunks/popover.component-BBp_5m8e.js.map +1 -0
  249. package/dist/chunks/popover.component-DEOUdSu3.js +220 -0
  250. package/dist/chunks/popover.component-DEOUdSu3.js.map +1 -0
  251. package/dist/chunks/popover.recipe-B9bkpDfc.js +126 -0
  252. package/dist/chunks/popover.recipe-B9bkpDfc.js.map +1 -0
  253. package/dist/chunks/popover.recipe-Czy8Aeft.js +2 -0
  254. package/dist/chunks/popover.recipe-Czy8Aeft.js.map +1 -0
  255. package/dist/chunks/popover.types-CQJj3uOX.js +7 -0
  256. package/dist/chunks/popover.types-CQJj3uOX.js.map +1 -0
  257. package/dist/chunks/popover.types-ChA9ccQ2.js +2 -0
  258. package/dist/chunks/popover.types-ChA9ccQ2.js.map +1 -0
  259. package/dist/chunks/progress-value-text-CFVhPKYk.js +2 -0
  260. package/dist/chunks/progress-value-text-CFVhPKYk.js.map +1 -0
  261. package/dist/chunks/progress-value-text-DZkUF2cO.js +58 -0
  262. package/dist/chunks/progress-value-text-DZkUF2cO.js.map +1 -0
  263. package/dist/chunks/radioGroup.types-C7A8mLMz.js +2 -0
  264. package/dist/chunks/radioGroup.types-C7A8mLMz.js.map +1 -0
  265. package/dist/chunks/radioGroup.types-DJ68ERdO.js +228 -0
  266. package/dist/chunks/radioGroup.types-DJ68ERdO.js.map +1 -0
  267. package/dist/chunks/radiomark-Cj0NEJeE.js +2 -0
  268. package/dist/chunks/radiomark-Cj0NEJeE.js.map +1 -0
  269. package/dist/chunks/radiomark-DdwVpBDT.js +22 -0
  270. package/dist/chunks/radiomark-DdwVpBDT.js.map +1 -0
  271. package/dist/chunks/radiomark.component-D_7wT5VA.js +11 -0
  272. package/dist/chunks/radiomark.component-D_7wT5VA.js.map +1 -0
  273. package/dist/chunks/radiomark.component-YJNr68s7.js +2 -0
  274. package/dist/chunks/radiomark.component-YJNr68s7.js.map +1 -0
  275. package/dist/chunks/rating-group-CfwdAW9a.js +133 -0
  276. package/dist/chunks/rating-group-CfwdAW9a.js.map +1 -0
  277. package/dist/chunks/rating-group-D8QA23q6.js +2 -0
  278. package/dist/chunks/rating-group-D8QA23q6.js.map +1 -0
  279. package/dist/chunks/rating.component-BsuGbcxP.js +2 -0
  280. package/dist/chunks/rating.component-BsuGbcxP.js.map +1 -0
  281. package/dist/chunks/rating.component-ChzcvUl6.js +70 -0
  282. package/dist/chunks/rating.component-ChzcvUl6.js.map +1 -0
  283. package/dist/chunks/ratingDots.component-CVjSZ9JJ.js +2 -0
  284. package/dist/chunks/ratingDots.component-CVjSZ9JJ.js.map +1 -0
  285. package/dist/chunks/ratingDots.component-D9WQGVcj.js +147 -0
  286. package/dist/chunks/ratingDots.component-D9WQGVcj.js.map +1 -0
  287. package/dist/chunks/{render-strategy-CfHUEDVm.js → render-strategy-kPh1pd2U.js} +2 -2
  288. package/dist/chunks/{render-strategy-CfHUEDVm.js.map → render-strategy-kPh1pd2U.js.map} +1 -1
  289. package/dist/chunks/{render-strategy-Dr73HbQf.js → render-strategy-munDZLwL.js} +2 -2
  290. package/dist/chunks/{render-strategy-Dr73HbQf.js.map → render-strategy-munDZLwL.js.map} +1 -1
  291. package/dist/chunks/select.component-B4mAPqzN.js +1099 -0
  292. package/dist/chunks/select.component-B4mAPqzN.js.map +1 -0
  293. package/dist/chunks/select.component-CCNxMGvb.js +2 -0
  294. package/dist/chunks/select.component-CCNxMGvb.js.map +1 -0
  295. package/dist/chunks/{sortableList.component-vxiA7bvr.js → sortableList.component-BlwtnxVj.js} +3 -3
  296. package/dist/chunks/{sortableList.component-vxiA7bvr.js.map → sortableList.component-BlwtnxVj.js.map} +1 -1
  297. package/dist/chunks/{sortableList.component-i4dJ9oHN.js → sortableList.component-XfURY7C2.js} +384 -379
  298. package/dist/chunks/{sortableList.component-i4dJ9oHN.js.map → sortableList.component-XfURY7C2.js.map} +1 -1
  299. package/dist/chunks/spinner-B9ytCKVs.js +8 -0
  300. package/dist/chunks/{spinner-C31ZWQmA.js.map → spinner-B9ytCKVs.js.map} +1 -1
  301. package/dist/chunks/{spinner.component-DPYj17HK.js → spinner.component-B3dkvoO9.js} +53 -45
  302. package/dist/chunks/spinner.component-B3dkvoO9.js.map +1 -0
  303. package/dist/chunks/spinner.component-DuW1_IWM.js +2 -0
  304. package/dist/chunks/spinner.component-DuW1_IWM.js.map +1 -0
  305. package/dist/chunks/styledAvatar.types-CcP-Vl9c.js +2 -0
  306. package/dist/chunks/styledAvatar.types-CcP-Vl9c.js.map +1 -0
  307. package/dist/chunks/styledAvatar.types-cR6PNPxA.js +69 -0
  308. package/dist/chunks/styledAvatar.types-cR6PNPxA.js.map +1 -0
  309. package/dist/chunks/swatch.types-AZLB8OWG.js +2 -0
  310. package/dist/chunks/swatch.types-AZLB8OWG.js.map +1 -0
  311. package/dist/chunks/{swatch.types-CXlghcLw.js → swatch.types-CkrkMi11.js} +21 -20
  312. package/dist/chunks/swatch.types-CkrkMi11.js.map +1 -0
  313. package/dist/chunks/switch.component-CgzCLoTB.js +2 -0
  314. package/dist/chunks/{switch.component-Cke7O8gk.js.map → switch.component-CgzCLoTB.js.map} +1 -1
  315. package/dist/chunks/switch.component-CpV7mnhR.js +155 -0
  316. package/dist/chunks/{switch.component-C88jBbo_.js.map → switch.component-CpV7mnhR.js.map} +1 -1
  317. package/dist/chunks/{tab.types-DCkus0y2.js → tab.types-DaJfFBvr.js} +136 -117
  318. package/dist/chunks/{tab.types-DCkus0y2.js.map → tab.types-DaJfFBvr.js.map} +1 -1
  319. package/dist/chunks/tab.types-DwPEP_5N.js +2 -0
  320. package/dist/chunks/{tab.types-DpmXyw5C.js.map → tab.types-DwPEP_5N.js.map} +1 -1
  321. package/dist/chunks/tag.component-B7V76XfM.js +84 -0
  322. package/dist/chunks/tag.component-B7V76XfM.js.map +1 -0
  323. package/dist/chunks/tag.component-C98Wf07v.js +2 -0
  324. package/dist/chunks/tag.component-C98Wf07v.js.map +1 -0
  325. package/dist/chunks/tagBlock.component-BGEvRu81.js +2 -0
  326. package/dist/chunks/tagBlock.component-BGEvRu81.js.map +1 -0
  327. package/dist/chunks/tagBlock.component-Cor6eakc.js +170 -0
  328. package/dist/chunks/tagBlock.component-Cor6eakc.js.map +1 -0
  329. package/dist/chunks/text.component-CdTyTFds.js +12 -0
  330. package/dist/chunks/text.component-CdTyTFds.js.map +1 -0
  331. package/dist/chunks/text.component-CeioUl0G.js +2 -0
  332. package/dist/chunks/text.component-CeioUl0G.js.map +1 -0
  333. package/dist/chunks/textInput.component-BC0Hi8R_.js +108 -0
  334. package/dist/chunks/textInput.component-BC0Hi8R_.js.map +1 -0
  335. package/dist/chunks/textInput.component-C1vwy6pL.js +2 -0
  336. package/dist/chunks/textInput.component-C1vwy6pL.js.map +1 -0
  337. package/dist/chunks/textarea.component-D15hA9Jb.js +2 -0
  338. package/dist/chunks/{textarea.component-Dk2IMKkr.js.map → textarea.component-D15hA9Jb.js.map} +1 -1
  339. package/dist/chunks/textarea.component-axjxiv82.js +96 -0
  340. package/dist/chunks/{textarea.component-BYexywy1.js.map → textarea.component-axjxiv82.js.map} +1 -1
  341. package/dist/chunks/{theme.provider-w_I9S10D.js → theme.provider-BD7qyu-B.js} +1405 -1339
  342. package/dist/chunks/theme.provider-BD7qyu-B.js.map +1 -0
  343. package/dist/chunks/theme.provider-DFwAy7tr.js +28 -0
  344. package/dist/chunks/theme.provider-DFwAy7tr.js.map +1 -0
  345. package/dist/chunks/timePicker.component-Cz2XxVL6.js +2 -0
  346. package/dist/chunks/timePicker.component-Cz2XxVL6.js.map +1 -0
  347. package/dist/chunks/timePicker.component-u34pHrzr.js +220 -0
  348. package/dist/chunks/timePicker.component-u34pHrzr.js.map +1 -0
  349. package/dist/chunks/timeRange.component-BiA1VWQ8.js +19 -0
  350. package/dist/chunks/timeRange.component-BiA1VWQ8.js.map +1 -0
  351. package/dist/chunks/timeRange.component-tU_nCTmS.js +2 -0
  352. package/dist/chunks/timeRange.component-tU_nCTmS.js.map +1 -0
  353. package/dist/chunks/timestamp.component-DBmc7D23.js +36 -0
  354. package/dist/chunks/timestamp.component-DBmc7D23.js.map +1 -0
  355. package/dist/chunks/timestamp.component-DYZHgaas.js +2 -0
  356. package/dist/chunks/timestamp.component-DYZHgaas.js.map +1 -0
  357. package/dist/chunks/toaster.records-CDSkoMuU.js +2 -0
  358. package/dist/chunks/{toaster.records-eCXbM85Z.js.map → toaster.records-CDSkoMuU.js.map} +1 -1
  359. package/dist/chunks/{toaster.records-oryzm5Go.js → toaster.records-Cb3hbtuY.js} +103 -102
  360. package/dist/chunks/{toaster.records-oryzm5Go.js.map → toaster.records-Cb3hbtuY.js.map} +1 -1
  361. package/dist/chunks/tooltip.component-BkFDi5yK.js +2 -0
  362. package/dist/chunks/{tooltip.component-CATpCSkf.js.map → tooltip.component-BkFDi5yK.js.map} +1 -1
  363. package/dist/chunks/{tooltip.component-mjdP7nPN.js → tooltip.component-C_NS-AoH.js} +126 -103
  364. package/dist/chunks/{tooltip.component-mjdP7nPN.js.map → tooltip.component-C_NS-AoH.js.map} +1 -1
  365. package/dist/chunks/{typography.records-CpYV1kns.js → typography.records-BEd2lI_g.js} +10 -22
  366. package/dist/chunks/typography.records-BEd2lI_g.js.map +1 -0
  367. package/dist/chunks/typography.records-Cg_lT1Z3.js +2 -0
  368. package/dist/chunks/typography.records-Cg_lT1Z3.js.map +1 -0
  369. package/dist/chunks/{use-field-context-BTxME29X.js → use-field-context-Cm29IQ7H.js} +2 -2
  370. package/dist/chunks/{use-field-context-BTxME29X.js.map → use-field-context-Cm29IQ7H.js.map} +1 -1
  371. package/dist/chunks/{use-field-context-RQeEcNpb.js → use-field-context-DrC9mrDd.js} +2 -2
  372. package/dist/chunks/{use-field-context-RQeEcNpb.js.map → use-field-context-DrC9mrDd.js.map} +1 -1
  373. package/dist/chunks/use-locale-context-Bw4Gg9Z0.js +738 -0
  374. package/dist/chunks/use-locale-context-Bw4Gg9Z0.js.map +1 -0
  375. package/dist/chunks/use-locale-context-ym21RUxU.js +22 -0
  376. package/dist/chunks/use-locale-context-ym21RUxU.js.map +1 -0
  377. package/dist/chunks/useIconTextSizeMap-BK-pUrQv.js.map +1 -1
  378. package/dist/chunks/useIconTextSizeMap-BXmABb54.js.map +1 -1
  379. package/dist/chunks/withFormControl-DePFf9SY.js +367 -0
  380. package/dist/chunks/withFormControl-DePFf9SY.js.map +1 -0
  381. package/dist/chunks/withFormControl-wZA87Sd4.js +2 -0
  382. package/dist/chunks/withFormControl-wZA87Sd4.js.map +1 -0
  383. package/dist/chunks/withTruncation-DE3FFPE7.js +2 -0
  384. package/dist/chunks/withTruncation-DE3FFPE7.js.map +1 -0
  385. package/dist/chunks/withTruncation-DTCfQ2yk.js +92 -0
  386. package/dist/chunks/withTruncation-DTCfQ2yk.js.map +1 -0
  387. package/dist/chunks/{wrap-CRNL4bE6.js → wrap-Cu5ZEseD.js} +2 -2
  388. package/dist/chunks/{wrap-CRNL4bE6.js.map → wrap-Cu5ZEseD.js.map} +1 -1
  389. package/dist/cjs/chakra/index.cjs +2 -2
  390. package/dist/cjs/chakra/index.cjs.map +1 -1
  391. package/dist/cjs/components/Alert/index.cjs +1 -1
  392. package/dist/cjs/components/Avatar/index.cjs +1 -1
  393. package/dist/cjs/components/AvatarGroup/index.cjs +1 -1
  394. package/dist/cjs/components/Button/index.cjs +1 -1
  395. package/dist/cjs/components/ButtonGroup/index.cjs +1 -1
  396. package/dist/cjs/components/Calendar/index.cjs +2 -0
  397. package/dist/cjs/components/Calendar/index.cjs.map +1 -0
  398. package/dist/cjs/components/Card/index.cjs +1 -1
  399. package/dist/cjs/components/CharacterCounter/index.cjs +1 -1
  400. package/dist/cjs/components/Checkbox/index.cjs +1 -1
  401. package/dist/cjs/components/CheckboxGroup/index.cjs +1 -1
  402. package/dist/cjs/components/ConversationCard/index.cjs +1 -1
  403. package/dist/cjs/components/DatePicker/index.cjs +1 -1
  404. package/dist/cjs/components/DateTimePicker/index.cjs +2 -0
  405. package/dist/cjs/components/DateTimePicker/index.cjs.map +1 -0
  406. package/dist/cjs/components/Divider/index.cjs +1 -1
  407. package/dist/cjs/components/Heading/index.cjs +1 -1
  408. package/dist/cjs/components/Icon/generated/index.cjs +1 -1
  409. package/dist/cjs/components/Icon/generated/index.cjs.map +1 -1
  410. package/dist/cjs/components/Icon/index.cjs +1 -1
  411. package/dist/cjs/components/Link/index.cjs +1 -1
  412. package/dist/cjs/components/Logo/index.cjs +1 -1
  413. package/dist/cjs/components/Menu/index.cjs +1 -1
  414. package/dist/cjs/components/Modal/index.cjs +1 -1
  415. package/dist/cjs/components/NotificationCounter/index.cjs +1 -1
  416. package/dist/cjs/components/NumberInput/index.cjs +2 -0
  417. package/dist/cjs/components/NumberInput/index.cjs.map +1 -0
  418. package/dist/cjs/components/Picture/index.cjs +1 -1
  419. package/dist/cjs/components/PinInput/index.cjs +1 -1
  420. package/dist/cjs/components/Popover/index.cjs +1 -1
  421. package/dist/cjs/components/Progress/index.cjs +2 -0
  422. package/dist/cjs/components/Progress/index.cjs.map +1 -0
  423. package/dist/cjs/components/RadioGroup/index.cjs +1 -1
  424. package/dist/cjs/components/Radiomark/index.cjs +2 -0
  425. package/dist/cjs/components/Radiomark/index.cjs.map +1 -0
  426. package/dist/cjs/components/Rating/index.cjs +2 -0
  427. package/dist/cjs/components/Rating/index.cjs.map +1 -0
  428. package/dist/cjs/components/RatingDots/index.cjs +1 -1
  429. package/dist/cjs/components/Select/index.cjs +1 -1
  430. package/dist/cjs/components/SortableList/index.cjs +1 -1
  431. package/dist/cjs/components/Spinner/index.cjs +1 -1
  432. package/dist/cjs/components/StyledAvatar/index.cjs +1 -1
  433. package/dist/cjs/components/Swatch/index.cjs +1 -1
  434. package/dist/cjs/components/Switch/index.cjs +1 -1
  435. package/dist/cjs/components/Tabs/index.cjs +1 -1
  436. package/dist/cjs/components/Tag/index.cjs +1 -1
  437. package/dist/cjs/components/TagBlock/index.cjs +1 -1
  438. package/dist/cjs/components/Text/index.cjs +1 -1
  439. package/dist/cjs/components/TextInput/index.cjs +1 -1
  440. package/dist/cjs/components/Textarea/index.cjs +1 -1
  441. package/dist/cjs/components/TimePicker/index.cjs +1 -1
  442. package/dist/cjs/components/TimeRange/index.cjs +1 -1
  443. package/dist/cjs/components/Timestamp/index.cjs +1 -1
  444. package/dist/cjs/components/Toast/index.cjs +1 -1
  445. package/dist/cjs/components/Toast/index.cjs.map +1 -1
  446. package/dist/cjs/components/Tooltip/index.cjs +1 -1
  447. package/dist/cjs/components/index.cjs +1 -1
  448. package/dist/cjs/hooks/useBreakpoint/index.cjs.map +1 -1
  449. package/dist/cjs/hooks/useColorMode/index.cjs.map +1 -1
  450. package/dist/cjs/hooks/useColorModeValue/index.cjs.map +1 -1
  451. package/dist/cjs/hooks/useDeviceType/index.cjs.map +1 -1
  452. package/dist/cjs/index.cjs +1 -1
  453. package/dist/cjs/theme/index.cjs +1 -1
  454. package/dist/cjs/theme/semanticTokens/index.cjs +1 -1
  455. package/dist/cjs/theme/semanticTokens/index.cjs.map +1 -1
  456. package/dist/esm/chakra/index.js +1682 -1997
  457. package/dist/esm/chakra/index.js.map +1 -1
  458. package/dist/esm/components/Alert/index.js +1 -1
  459. package/dist/esm/components/Avatar/index.js +1 -1
  460. package/dist/esm/components/AvatarGroup/index.js +1 -1
  461. package/dist/esm/components/Button/index.js +2 -2
  462. package/dist/esm/components/ButtonGroup/index.js +1 -1
  463. package/dist/esm/components/Calendar/index.js +5 -0
  464. package/dist/esm/components/Calendar/index.js.map +1 -0
  465. package/dist/esm/components/Card/index.js +1 -1
  466. package/dist/esm/components/CharacterCounter/index.js +1 -1
  467. package/dist/esm/components/Checkbox/index.js +1 -1
  468. package/dist/esm/components/CheckboxGroup/index.js +1 -1
  469. package/dist/esm/components/ConversationCard/index.js +1 -1
  470. package/dist/esm/components/DatePicker/index.js +4 -3
  471. package/dist/esm/components/DatePicker/index.js.map +1 -1
  472. package/dist/esm/components/DateTimePicker/index.js +7 -0
  473. package/dist/esm/components/DateTimePicker/index.js.map +1 -0
  474. package/dist/esm/components/Divider/index.js +6 -5
  475. package/dist/esm/components/Divider/index.js.map +1 -1
  476. package/dist/esm/components/Heading/index.js +1 -1
  477. package/dist/esm/components/Icon/generated/index.js +556 -342
  478. package/dist/esm/components/Icon/generated/index.js.map +1 -1
  479. package/dist/esm/components/Icon/index.js +1 -1
  480. package/dist/esm/components/Link/index.js +1 -1
  481. package/dist/esm/components/Logo/index.js +1 -1
  482. package/dist/esm/components/Menu/index.js +1 -1
  483. package/dist/esm/components/Modal/index.js +1 -1
  484. package/dist/esm/components/NotificationCounter/index.js +1 -1
  485. package/dist/esm/components/NumberInput/index.js +5 -0
  486. package/dist/esm/components/NumberInput/index.js.map +1 -0
  487. package/dist/esm/components/Picture/index.js +1 -1
  488. package/dist/esm/components/PinInput/index.js +1 -1
  489. package/dist/esm/components/Popover/index.js +2 -2
  490. package/dist/esm/components/Progress/index.js +57 -0
  491. package/dist/esm/components/Progress/index.js.map +1 -0
  492. package/dist/esm/components/RadioGroup/index.js +1 -1
  493. package/dist/esm/components/Radiomark/index.js +5 -0
  494. package/dist/esm/components/Radiomark/index.js.map +1 -0
  495. package/dist/esm/components/Rating/index.js +5 -0
  496. package/dist/esm/components/Rating/index.js.map +1 -0
  497. package/dist/esm/components/RatingDots/index.js +1 -1
  498. package/dist/esm/components/Select/index.js +1 -1
  499. package/dist/esm/components/SortableList/index.js +1 -1
  500. package/dist/esm/components/Spinner/index.js +1 -1
  501. package/dist/esm/components/StyledAvatar/index.js +1 -1
  502. package/dist/esm/components/Swatch/index.js +1 -1
  503. package/dist/esm/components/Switch/index.js +1 -1
  504. package/dist/esm/components/Tabs/index.js +1 -1
  505. package/dist/esm/components/Tag/index.js +1 -1
  506. package/dist/esm/components/TagBlock/index.js +1 -1
  507. package/dist/esm/components/Text/index.js +1 -1
  508. package/dist/esm/components/TextInput/index.js +1 -1
  509. package/dist/esm/components/Textarea/index.js +1 -1
  510. package/dist/esm/components/TimePicker/index.js +1 -1
  511. package/dist/esm/components/TimeRange/index.js +1 -1
  512. package/dist/esm/components/Timestamp/index.js +1 -1
  513. package/dist/esm/components/Toast/index.js +26 -23
  514. package/dist/esm/components/Toast/index.js.map +1 -1
  515. package/dist/esm/components/Tooltip/index.js +1 -1
  516. package/dist/esm/components/index.js +131 -117
  517. package/dist/esm/components/index.js.map +1 -1
  518. package/dist/esm/hooks/useBreakpoint/index.js.map +1 -1
  519. package/dist/esm/hooks/useColorMode/index.js.map +1 -1
  520. package/dist/esm/hooks/useColorModeValue/index.js.map +1 -1
  521. package/dist/esm/hooks/useDeviceType/index.js.map +1 -1
  522. package/dist/esm/index.js +148 -134
  523. package/dist/esm/index.js.map +1 -1
  524. package/dist/esm/theme/index.js +1 -1
  525. package/dist/esm/theme/semanticTokens/index.js +4 -4
  526. package/dist/esm/theme/semanticTokens/index.js.map +1 -1
  527. package/dist/types/chakra/index.d.ts +2 -4
  528. package/dist/types/components/Alert/alert.component.d.ts +28 -1
  529. package/dist/types/components/Alert/alert.recipe.d.ts +3 -2
  530. package/dist/types/components/Alert/components/AlertButton/alertButton.component.d.ts +12 -1
  531. package/dist/types/components/Avatar/avatar.component.d.ts +30 -2
  532. package/dist/types/components/Avatar/avatar.recipe.d.ts +3 -2
  533. package/dist/types/components/Avatar/avatar.records.d.ts +2 -0
  534. package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.component.d.ts +9 -1
  535. package/dist/types/components/Avatar/components/AvatarRemoveButton/avatarRemoveButton.component.d.ts +15 -6
  536. package/dist/types/components/Avatar/components/AvatarTooltipTriggerWrapper/avatarTooltipTriggerWrapper.component.d.ts +2 -0
  537. package/dist/types/components/AvatarGroup/avatarGroup.component.d.ts +27 -3
  538. package/dist/types/components/Button/button.component.d.ts +14 -1
  539. package/dist/types/components/Button/button.recipe.d.ts +3 -1
  540. package/dist/types/components/Button/button.types.d.ts +2 -2
  541. package/dist/types/components/ButtonGroup/buttonGroup.component.d.ts +12 -1
  542. package/dist/types/components/Calendar/calendar.component.d.ts +19 -0
  543. package/dist/types/components/Calendar/index.d.ts +1 -0
  544. package/dist/types/components/Card/card.component.d.ts +41 -1
  545. package/dist/types/components/CharacterCounter/characterCounter.component.d.ts +9 -1
  546. package/dist/types/components/Checkbox/checkbox.component.d.ts +19 -2
  547. package/dist/types/components/Checkbox/checkbox.recipe.d.ts +3 -2
  548. package/dist/types/components/Checkbox/checkbox.types.d.ts +4 -0
  549. package/dist/types/components/Checkbox/index.d.ts +1 -0
  550. package/dist/types/components/CheckboxGroup/checkboxGroup.component.d.ts +12 -2
  551. package/dist/types/components/ConversationCard/components/ConversationCardAvatarGroup/conversationCardAvatarGroup.component.d.ts +11 -1
  552. package/dist/types/components/ConversationCard/components/ConversationCardButtons/conversationCardButtons.component.d.ts +22 -1
  553. package/dist/types/components/ConversationCard/components/ConversationCardContent/conversationCardContent.component.d.ts +8 -1
  554. package/dist/types/components/ConversationCard/components/ConversationCardFooter/conversationCardFooter.component.d.ts +8 -1
  555. package/dist/types/components/ConversationCard/components/ConversationCardHeader/conversationCardHeader.component.d.ts +12 -1
  556. package/dist/types/components/ConversationCard/components/ConversationCardTags/conversationCardTags.component.d.ts +7 -1
  557. package/dist/types/components/ConversationCard/conversationCard.component.d.ts +29 -1
  558. package/dist/types/components/DatePicker/components/DatePickerCalendar/datePickerCalendar.component.d.ts +10 -1
  559. package/dist/types/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.component.d.ts +11 -1
  560. package/dist/types/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.recipe.d.ts +5 -4
  561. package/dist/types/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.types.d.ts +1 -1
  562. package/dist/types/components/DatePicker/components/DatePickerFooter/datePickerFooter.component.d.ts +9 -0
  563. package/dist/types/components/DatePicker/components/DatePickerHeader/datePickerHeader.component.d.ts +15 -1
  564. package/dist/types/components/DatePicker/components/DatePickerInput/datePickerInput.component.d.ts +6 -1
  565. package/dist/types/components/DatePicker/components/DatePickerMonth/datePickerCalendarMonth.component.d.ts +11 -1
  566. package/dist/types/components/DatePicker/context/datePicker.context.d.ts +3 -0
  567. package/dist/types/components/DatePicker/context/datePicker.provider.d.ts +10 -1
  568. package/dist/types/components/DatePicker/datePicker.component.d.ts +25 -11
  569. package/dist/types/components/DatePicker/datePicker.types.d.ts +18 -0
  570. package/dist/types/components/DatePicker/hooks/useComputeCornerRoundingFlags.d.ts +10 -0
  571. package/dist/types/components/DatePicker/utils/getDayVariant.d.ts +12 -0
  572. package/dist/types/components/DateTimePicker/components/DateTimePickerCustomView/dateTimePickerCustomView.component.d.ts +7 -0
  573. package/dist/types/components/DateTimePicker/components/DateTimePickerQuickOptions/dateTimePickerQuickOptions.component.d.ts +14 -0
  574. package/dist/types/components/DateTimePicker/components/DateTimePickerRangeSelector/dateTimePickerRangeSelector.component.d.ts +10 -0
  575. package/dist/types/components/DateTimePicker/dateTimePicker.component.d.ts +33 -0
  576. package/dist/types/components/DateTimePicker/dateTimePicker.records.d.ts +8 -0
  577. package/dist/types/components/DateTimePicker/dateTimePicker.types.d.ts +11 -0
  578. package/dist/types/components/DateTimePicker/index.d.ts +2 -0
  579. package/dist/types/components/DateTimePicker/utils/quickOptions.d.ts +13 -0
  580. package/dist/types/components/Divider/divider.component.d.ts +7 -2
  581. package/dist/types/components/Heading/heading.component.d.ts +12 -0
  582. package/dist/types/components/Icon/generated/Backspace.d.ts +10 -0
  583. package/dist/types/components/Icon/generated/CaretLeft.d.ts +10 -0
  584. package/dist/types/components/Icon/generated/CheckList.d.ts +10 -0
  585. package/dist/types/components/Icon/generated/Globe.d.ts +10 -0
  586. package/dist/types/components/Icon/generated/InputAlt.d.ts +10 -0
  587. package/dist/types/components/Icon/generated/LightBulb.d.ts +10 -0
  588. package/dist/types/components/Icon/generated/SelectDropDown.d.ts +10 -0
  589. package/dist/types/components/Icon/generated/TextArea.d.ts +10 -0
  590. package/dist/types/components/Icon/generated/TextBlock.d.ts +10 -0
  591. package/dist/types/components/Icon/generated/index.d.ts +1 -1
  592. package/dist/types/components/Icon/icon.component.d.ts +10 -0
  593. package/dist/types/components/Link/components/LinkIcon/linkIcon.component.d.ts +7 -0
  594. package/dist/types/components/Link/link.component.d.ts +19 -0
  595. package/dist/types/components/Logo/logo.component.d.ts +14 -1
  596. package/dist/types/components/Menu/components/MenuButton/menuButton.component.d.ts +22 -0
  597. package/dist/types/components/Menu/components/MenuItem/menuItem.component.d.ts +34 -5
  598. package/dist/types/components/Menu/components/MenuList/menuList.types.d.ts +18 -0
  599. package/dist/types/components/Menu/components/MenuToggleButtons/menuToggleButtons.component.d.ts +17 -0
  600. package/dist/types/components/Menu/index.d.ts +4 -0
  601. package/dist/types/components/Menu/menu.component.d.ts +22 -19
  602. package/dist/types/components/Menu/menu.recipe.d.ts +1 -1
  603. package/dist/types/components/Menu/menu.types.d.ts +17 -0
  604. package/dist/types/components/Modal/components/ModalFooter/modalFooter.component.d.ts +24 -1
  605. package/dist/types/components/Modal/modal.component.d.ts +46 -1
  606. package/dist/types/components/Modal/modal.recipe.d.ts +2 -2
  607. package/dist/types/components/NotificationCounter/notificationCounter.component.d.ts +19 -1
  608. package/dist/types/components/NotificationCounter/notificationCounter.records.d.ts +5 -0
  609. package/dist/types/components/NumberInput/index.d.ts +2 -0
  610. package/dist/types/components/NumberInput/numberInput.component.d.ts +40 -0
  611. package/dist/types/components/NumberInput/numberInput.recipe.d.ts +21 -0
  612. package/dist/types/components/NumberInput/numberInput.types.d.ts +4 -0
  613. package/dist/types/components/Picture/picture.component.d.ts +9 -1
  614. package/dist/types/components/PinInput/pinInput.component.d.ts +19 -1
  615. package/dist/types/components/PinInput/pinInput.recipe.d.ts +1 -1
  616. package/dist/types/components/Popover/components/PopoverFooter/popoverFooter.component.d.ts +26 -1
  617. package/dist/types/components/Popover/components/PopoverHeader/popoverHeader.component.d.ts +19 -1
  618. package/dist/types/components/Popover/popover.component.d.ts +45 -2
  619. package/dist/types/components/Popover/popover.recipe.d.ts +4 -3
  620. package/dist/types/components/Popover/popover.types.d.ts +1 -1
  621. package/dist/types/components/Progress/index.d.ts +2 -0
  622. package/dist/types/components/Progress/progress.component.d.ts +26 -0
  623. package/dist/types/components/Progress/progress.recipe.d.ts +38 -0
  624. package/dist/types/components/Progress/progress.types.d.ts +9 -0
  625. package/dist/types/components/RadioGroup/components/Radio/radio.component.d.ts +15 -0
  626. package/dist/types/components/RadioGroup/radioGroup.component.d.ts +22 -2
  627. package/dist/types/components/RadioGroup/radioGroup.recipe.d.ts +4 -2
  628. package/dist/types/components/Radiomark/index.d.ts +1 -0
  629. package/dist/types/components/Radiomark/radiomark.component.d.ts +12 -0
  630. package/dist/types/components/Radiomark/radiomark.recipe.d.ts +2 -0
  631. package/dist/types/components/Rating/index.d.ts +1 -0
  632. package/dist/types/components/Rating/rating.component.d.ts +37 -0
  633. package/dist/types/components/Rating/rating.recipe.d.ts +10 -0
  634. package/dist/types/components/RatingDots/components/RatingDot/ratingDot.component.d.ts +10 -1
  635. package/dist/types/components/RatingDots/ratingDots.component.d.ts +12 -0
  636. package/dist/types/components/Select/components/SelectItemContent/selectItemContent.component.d.ts +6 -0
  637. package/dist/types/components/Select/components/SelectTrigger/selectTrigger.component.d.ts +7 -2
  638. package/dist/types/components/Select/select.component.d.ts +53 -3
  639. package/dist/types/components/Select/select.types.d.ts +3 -0
  640. package/dist/types/components/SortableList/components/SortableListDragHandle/sortableListDragHandle.component.d.ts +1 -1
  641. package/dist/types/components/SortableList/components/SortableListItem/sortableListItem.component.d.ts +13 -1
  642. package/dist/types/components/SortableList/sortableList.component.d.ts +13 -1
  643. package/dist/types/components/Spinner/spinner.component.d.ts +28 -2
  644. package/dist/types/components/Spinner/spinner.recipe.d.ts +16 -1
  645. package/dist/types/components/StyledAvatar/styledAvatar.component.d.ts +10 -1
  646. package/dist/types/components/StyledAvatar/styledAvatar.types.d.ts +1 -1
  647. package/dist/types/components/Swatch/swatch.component.d.ts +10 -1
  648. package/dist/types/components/Switch/switch.component.d.ts +15 -0
  649. package/dist/types/components/Switch/switch.recipe.d.ts +3 -2
  650. package/dist/types/components/Tabs/components/Tab/tab.component.d.ts +14 -1
  651. package/dist/types/components/Tabs/tabs.component.d.ts +17 -2
  652. package/dist/types/components/Tabs/tabs.recipe.d.ts +3 -2
  653. package/dist/types/components/Tag/tag.component.d.ts +31 -0
  654. package/dist/types/components/Tag/tag.recipe.d.ts +3 -2
  655. package/dist/types/components/TagBlock/tagBlock.component.d.ts +34 -1
  656. package/dist/types/components/Text/text.component.d.ts +13 -0
  657. package/dist/types/components/TextInput/textInput.component.d.ts +28 -0
  658. package/dist/types/components/Textarea/textarea.component.d.ts +13 -0
  659. package/dist/types/components/TimePicker/components/TimeList/timeList.component.d.ts +10 -1
  660. package/dist/types/components/TimePicker/components/TimeOption/timeOption.component.d.ts +9 -1
  661. package/dist/types/components/TimePicker/timePicker.component.d.ts +19 -1
  662. package/dist/types/components/TimeRange/timeRange.component.d.ts +12 -1
  663. package/dist/types/components/Timestamp/timestamp.component.d.ts +18 -1
  664. package/dist/types/components/Toast/components/ToastAction/toastAction.component.d.ts +12 -1
  665. package/dist/types/components/Toast/components/Toaster/toaster.component.d.ts +6 -1
  666. package/dist/types/components/Toast/toast.component.d.ts +19 -1
  667. package/dist/types/components/Toast/toast.recipe.d.ts +3 -2
  668. package/dist/types/components/Toast/toast.types.d.ts +13 -0
  669. package/dist/types/components/Toast/useToast.d.ts +5 -0
  670. package/dist/types/components/Tooltip/tooltip.component.d.ts +26 -0
  671. package/dist/types/components/Tooltip/tooltip.recipe.d.ts +10 -1
  672. package/dist/types/components/index.d.ts +5 -0
  673. package/dist/types/hocs/withFormControl/withFormControl.d.ts +44 -0
  674. package/dist/types/hocs/withTruncation.d.ts +8 -0
  675. package/dist/types/hooks/useBreakpoint/index.d.ts +4 -0
  676. package/dist/types/hooks/useColorMode/index.d.ts +39 -0
  677. package/dist/types/hooks/useColorModeValue/index.d.ts +6 -0
  678. package/dist/types/hooks/useDeviceType/index.d.ts +4 -0
  679. package/dist/types/hooks/useIconTextSizeMap.d.ts +5 -0
  680. package/dist/types/shared/components/withVariantStory.d.ts +6 -0
  681. package/dist/types/shared/types/index.d.ts +1 -0
  682. package/dist/types/theme/providers/theme.provider.d.ts +1 -0
  683. package/dist/types/theme/recipes/List/list.recipe.d.ts +14 -0
  684. package/dist/types/theme/recipes/Table/table.recipe.d.ts +29 -0
  685. package/dist/types/theme/semanticTokens/semanticTokens.config.d.ts +91 -82
  686. package/dist/types/theme/semanticTokens/semanticTokens.records.d.ts +182 -164
  687. package/dist/types/theme/semanticTokens/semanticTokens.types.d.ts +4 -3
  688. package/dist/types/theme/tokens/sizes/sizes.config.d.ts +2 -2
  689. package/dist/types/theme/tokens/zIndices/zIndices.config.d.ts +10 -10
  690. package/package.json +21 -18
  691. package/dist/chunks/alert.types-De_IDZNV.js +0 -2
  692. package/dist/chunks/alert.types-De_IDZNV.js.map +0 -1
  693. package/dist/chunks/alert.types-NkOwCG0-.js +0 -139
  694. package/dist/chunks/alert.types-NkOwCG0-.js.map +0 -1
  695. package/dist/chunks/avatar.component-CqFsGMt6.js +0 -2
  696. package/dist/chunks/avatar.component-CqFsGMt6.js.map +0 -1
  697. package/dist/chunks/avatar.component-lHszPWEi.js +0 -394
  698. package/dist/chunks/avatar.component-lHszPWEi.js.map +0 -1
  699. package/dist/chunks/avatarGroup.component-BPYIE5NT.js +0 -2
  700. package/dist/chunks/avatarGroup.component-BPYIE5NT.js.map +0 -1
  701. package/dist/chunks/avatarGroup.component-EFxRAKiJ.js +0 -67
  702. package/dist/chunks/avatarGroup.component-EFxRAKiJ.js.map +0 -1
  703. package/dist/chunks/button.component-BE20YKDd.js +0 -67
  704. package/dist/chunks/button.component-BE20YKDd.js.map +0 -1
  705. package/dist/chunks/button.component-DAv5WxDc.js +0 -2
  706. package/dist/chunks/button.component-DAv5WxDc.js.map +0 -1
  707. package/dist/chunks/button.recipe-7PSQJbyz.js +0 -2
  708. package/dist/chunks/button.recipe-7PSQJbyz.js.map +0 -1
  709. package/dist/chunks/button.recipe-ClmsjdZI.js +0 -910
  710. package/dist/chunks/button.recipe-ClmsjdZI.js.map +0 -1
  711. package/dist/chunks/button.types-BKXZNvN1.js.map +0 -1
  712. package/dist/chunks/button.types-Bl1awbi0.js +0 -2
  713. package/dist/chunks/button.types-Bl1awbi0.js.map +0 -1
  714. package/dist/chunks/buttonGroup.component-CQBXYOhq.js +0 -2
  715. package/dist/chunks/buttonGroup.component-CQBXYOhq.js.map +0 -1
  716. package/dist/chunks/buttonGroup.component-CheBkHw6.js +0 -68
  717. package/dist/chunks/buttonGroup.component-CheBkHw6.js.map +0 -1
  718. package/dist/chunks/card.component-BZxC19F_.js +0 -2
  719. package/dist/chunks/card.component-BZxC19F_.js.map +0 -1
  720. package/dist/chunks/card.component-DJcYzMX1.js +0 -58
  721. package/dist/chunks/card.component-DJcYzMX1.js.map +0 -1
  722. package/dist/chunks/characterCounter.component-C6ZwdIiA.js +0 -84
  723. package/dist/chunks/characterCounter.component-C6ZwdIiA.js.map +0 -1
  724. package/dist/chunks/characterCounter.component-D0ccCiBG.js +0 -2
  725. package/dist/chunks/characterCounter.component-D0ccCiBG.js.map +0 -1
  726. package/dist/chunks/checkbox.component-DNOkXggb.js +0 -260
  727. package/dist/chunks/checkbox.component-Dhjcu89D.js +0 -2
  728. package/dist/chunks/checkboxGroup.component-BNKJqMKi.js +0 -52
  729. package/dist/chunks/checkboxGroup.component-BNKJqMKi.js.map +0 -1
  730. package/dist/chunks/checkboxGroup.component-M-nvlAbK.js +0 -2
  731. package/dist/chunks/checkboxGroup.component-M-nvlAbK.js.map +0 -1
  732. package/dist/chunks/conversationCard.component-BRJbMpwH.js +0 -2
  733. package/dist/chunks/conversationCard.component-BRJbMpwH.js.map +0 -1
  734. package/dist/chunks/conversationCard.component-DmSuBQ4_.js +0 -330
  735. package/dist/chunks/conversationCard.component-DmSuBQ4_.js.map +0 -1
  736. package/dist/chunks/create-slot-recipe-context-CViypfwB.js +0 -2
  737. package/dist/chunks/create-slot-recipe-context-CViypfwB.js.map +0 -1
  738. package/dist/chunks/create-slot-recipe-context-CrlT_nGQ.js +0 -97
  739. package/dist/chunks/create-slot-recipe-context-CrlT_nGQ.js.map +0 -1
  740. package/dist/chunks/datePicker.component-BOsFZiDy.js +0 -15
  741. package/dist/chunks/datePicker.component-BOsFZiDy.js.map +0 -1
  742. package/dist/chunks/datePicker.component-Dzh4WccC.js +0 -3019
  743. package/dist/chunks/datePicker.component-Dzh4WccC.js.map +0 -1
  744. package/dist/chunks/dialog-BPhjKQkb.js +0 -2
  745. package/dist/chunks/divider.types-Dht8eAh4.js +0 -2
  746. package/dist/chunks/divider.types-Dht8eAh4.js.map +0 -1
  747. package/dist/chunks/divider.types-ZN_wlva7.js +0 -47
  748. package/dist/chunks/divider.types-ZN_wlva7.js.map +0 -1
  749. package/dist/chunks/grid-item-DPdTp_nI.js +0 -94
  750. package/dist/chunks/grid-item-DPdTp_nI.js.map +0 -1
  751. package/dist/chunks/grid-item-qnuioQmr.js +0 -2
  752. package/dist/chunks/grid-item-qnuioQmr.js.map +0 -1
  753. package/dist/chunks/heading.component-C_cdAGTd.js +0 -2
  754. package/dist/chunks/heading.component-C_cdAGTd.js.map +0 -1
  755. package/dist/chunks/heading.component-SiJnYLOw.js +0 -12
  756. package/dist/chunks/heading.component-SiJnYLOw.js.map +0 -1
  757. package/dist/chunks/icon.component-Bhnf2n1O.js +0 -2
  758. package/dist/chunks/icon.component-Bhnf2n1O.js.map +0 -1
  759. package/dist/chunks/icon.component-C5bgxAD2.js +0 -32
  760. package/dist/chunks/icon.component-C5bgxAD2.js.map +0 -1
  761. package/dist/chunks/index-2glJ2faJ.js +0 -2
  762. package/dist/chunks/index-7Jpijbq_.js +0 -3
  763. package/dist/chunks/index-7Jpijbq_.js.map +0 -1
  764. package/dist/chunks/index-A_vmTNU7.js +0 -2
  765. package/dist/chunks/index-BEfEzWJx.js +0 -2
  766. package/dist/chunks/index-Bm5QBNWR.js +0 -8190
  767. package/dist/chunks/index-Bm5QBNWR.js.map +0 -1
  768. package/dist/chunks/index-Cv06PsSJ.js.map +0 -1
  769. package/dist/chunks/index-DA90Dqf9.js +0 -1362
  770. package/dist/chunks/index-DA90Dqf9.js.map +0 -1
  771. package/dist/chunks/index-DAI6_P9H.js +0 -2
  772. package/dist/chunks/index-DMcwHRZ5.js +0 -11
  773. package/dist/chunks/index-DMcwHRZ5.js.map +0 -1
  774. package/dist/chunks/index-jnwdAJ25.js +0 -2
  775. package/dist/chunks/index-jnwdAJ25.js.map +0 -1
  776. package/dist/chunks/link.component-CvR5CbiT.js +0 -36
  777. package/dist/chunks/link.component-CvR5CbiT.js.map +0 -1
  778. package/dist/chunks/link.component-yUJIJbIP.js +0 -2
  779. package/dist/chunks/link.component-yUJIJbIP.js.map +0 -1
  780. package/dist/chunks/logo.types-DF4eLSR9.js +0 -45
  781. package/dist/chunks/logo.types-DF4eLSR9.js.map +0 -1
  782. package/dist/chunks/logo.types-Zt-yfFAQ.js +0 -2
  783. package/dist/chunks/logo.types-Zt-yfFAQ.js.map +0 -1
  784. package/dist/chunks/menu.component-DylZiPAE.js +0 -2
  785. package/dist/chunks/menu.component-DylZiPAE.js.map +0 -1
  786. package/dist/chunks/menu.component-xhHsHlGT.js +0 -599
  787. package/dist/chunks/menu.component-xhHsHlGT.js.map +0 -1
  788. package/dist/chunks/modal.types-CBos7aXO.js +0 -2
  789. package/dist/chunks/modal.types-CBos7aXO.js.map +0 -1
  790. package/dist/chunks/modal.types-CkQIOPTa.js +0 -95
  791. package/dist/chunks/modal.types-CkQIOPTa.js.map +0 -1
  792. package/dist/chunks/notificationCounter.component-Lu4_Owvr.js.map +0 -1
  793. package/dist/chunks/notificationCounter.component-gp2ULnY_.js +0 -2
  794. package/dist/chunks/notificationCounter.component-gp2ULnY_.js.map +0 -1
  795. package/dist/chunks/picture.component-CKK-SMvr.js +0 -22
  796. package/dist/chunks/picture.component-CKK-SMvr.js.map +0 -1
  797. package/dist/chunks/picture.component-CR6e0wRG.js +0 -2
  798. package/dist/chunks/picture.component-CR6e0wRG.js.map +0 -1
  799. package/dist/chunks/pinInput.types-CcN0aX_i.js +0 -145
  800. package/dist/chunks/pinInput.types-Cqm1Px5l.js +0 -2
  801. package/dist/chunks/popover-root-provider-CkW1eCBQ.js +0 -43
  802. package/dist/chunks/popover-root-provider-ZB5BcrXn.js +0 -2
  803. package/dist/chunks/popover.component-BjS13k9K.js +0 -2
  804. package/dist/chunks/popover.component-BjS13k9K.js.map +0 -1
  805. package/dist/chunks/popover.component-C4WKxh4d.js +0 -196
  806. package/dist/chunks/popover.component-C4WKxh4d.js.map +0 -1
  807. package/dist/chunks/popover.recipe-Bx25Jhgs.js +0 -2
  808. package/dist/chunks/popover.recipe-Bx25Jhgs.js.map +0 -1
  809. package/dist/chunks/popover.recipe-C2nbfvL6.js +0 -241
  810. package/dist/chunks/popover.recipe-C2nbfvL6.js.map +0 -1
  811. package/dist/chunks/popover.types-BF2KRf_I.js +0 -2
  812. package/dist/chunks/popover.types-BF2KRf_I.js.map +0 -1
  813. package/dist/chunks/popover.types-D1O-Ehsz.js +0 -7
  814. package/dist/chunks/popover.types-D1O-Ehsz.js.map +0 -1
  815. package/dist/chunks/radioGroup.types-CZA7RcAn.js +0 -2
  816. package/dist/chunks/radioGroup.types-CZA7RcAn.js.map +0 -1
  817. package/dist/chunks/radioGroup.types-Dld5lmgo.js +0 -231
  818. package/dist/chunks/radioGroup.types-Dld5lmgo.js.map +0 -1
  819. package/dist/chunks/ratingDots.component-DcrCudac.js +0 -2
  820. package/dist/chunks/ratingDots.component-DcrCudac.js.map +0 -1
  821. package/dist/chunks/ratingDots.component-G4GMWvFy.js +0 -138
  822. package/dist/chunks/ratingDots.component-G4GMWvFy.js.map +0 -1
  823. package/dist/chunks/select.component-BTWHWvZV.js +0 -1058
  824. package/dist/chunks/select.component-BTWHWvZV.js.map +0 -1
  825. package/dist/chunks/select.component-Dyc1yQPO.js +0 -2
  826. package/dist/chunks/select.component-Dyc1yQPO.js.map +0 -1
  827. package/dist/chunks/spinner-C31ZWQmA.js +0 -8
  828. package/dist/chunks/spinner.component-CVVOuFka.js +0 -2
  829. package/dist/chunks/spinner.component-CVVOuFka.js.map +0 -1
  830. package/dist/chunks/spinner.component-DPYj17HK.js.map +0 -1
  831. package/dist/chunks/styledAvatar.types-CMpyDxAM.js +0 -2
  832. package/dist/chunks/styledAvatar.types-CMpyDxAM.js.map +0 -1
  833. package/dist/chunks/styledAvatar.types-CS07Zk7c.js +0 -51
  834. package/dist/chunks/styledAvatar.types-CS07Zk7c.js.map +0 -1
  835. package/dist/chunks/swatch.types-CXlghcLw.js.map +0 -1
  836. package/dist/chunks/swatch.types-jaI0KFHU.js +0 -2
  837. package/dist/chunks/swatch.types-jaI0KFHU.js.map +0 -1
  838. package/dist/chunks/switch.component-C88jBbo_.js +0 -2
  839. package/dist/chunks/switch.component-Cke7O8gk.js +0 -154
  840. package/dist/chunks/tab.types-DpmXyw5C.js +0 -2
  841. package/dist/chunks/tag.component-79aRVI7u.js +0 -82
  842. package/dist/chunks/tag.component-79aRVI7u.js.map +0 -1
  843. package/dist/chunks/tag.component-CAWh9OYa.js +0 -2
  844. package/dist/chunks/tag.component-CAWh9OYa.js.map +0 -1
  845. package/dist/chunks/tagBlock.component-Dn7coOgp.js +0 -2
  846. package/dist/chunks/tagBlock.component-Dn7coOgp.js.map +0 -1
  847. package/dist/chunks/tagBlock.component-vLA90b5S.js +0 -169
  848. package/dist/chunks/tagBlock.component-vLA90b5S.js.map +0 -1
  849. package/dist/chunks/text.component-CHpMvCFa.js +0 -2
  850. package/dist/chunks/text.component-CHpMvCFa.js.map +0 -1
  851. package/dist/chunks/text.component-D9w-u_dB.js +0 -12
  852. package/dist/chunks/text.component-D9w-u_dB.js.map +0 -1
  853. package/dist/chunks/textInput.component-Dpxb2RI-.js +0 -169
  854. package/dist/chunks/textInput.component-Dpxb2RI-.js.map +0 -1
  855. package/dist/chunks/textInput.component-Dx_Ktcmr.js +0 -2
  856. package/dist/chunks/textInput.component-Dx_Ktcmr.js.map +0 -1
  857. package/dist/chunks/textarea.component-BYexywy1.js +0 -2
  858. package/dist/chunks/textarea.component-Dk2IMKkr.js +0 -79
  859. package/dist/chunks/theme.provider-XYBMZJTB.js +0 -28
  860. package/dist/chunks/theme.provider-XYBMZJTB.js.map +0 -1
  861. package/dist/chunks/theme.provider-w_I9S10D.js.map +0 -1
  862. package/dist/chunks/timePicker.component-Bbd3BOA6.js +0 -209
  863. package/dist/chunks/timePicker.component-Bbd3BOA6.js.map +0 -1
  864. package/dist/chunks/timePicker.component-DcNgUFGj.js +0 -2
  865. package/dist/chunks/timePicker.component-DcNgUFGj.js.map +0 -1
  866. package/dist/chunks/timeRange.component-BBhPc2LP.js +0 -18
  867. package/dist/chunks/timeRange.component-BBhPc2LP.js.map +0 -1
  868. package/dist/chunks/timeRange.component-Bb-xDHWT.js +0 -2
  869. package/dist/chunks/timeRange.component-Bb-xDHWT.js.map +0 -1
  870. package/dist/chunks/timestamp.component-CrY5t68x.js +0 -2
  871. package/dist/chunks/timestamp.component-CrY5t68x.js.map +0 -1
  872. package/dist/chunks/timestamp.component-m0FTjlAi.js +0 -51
  873. package/dist/chunks/timestamp.component-m0FTjlAi.js.map +0 -1
  874. package/dist/chunks/toaster.records-eCXbM85Z.js +0 -2
  875. package/dist/chunks/tooltip.component-CATpCSkf.js +0 -2
  876. package/dist/chunks/typography.records-CpYV1kns.js.map +0 -1
  877. package/dist/chunks/typography.records-Dbw3sz4i.js +0 -2
  878. package/dist/chunks/typography.records-Dbw3sz4i.js.map +0 -1
  879. package/dist/chunks/use-locale-context-CazVZ4Kg.js +0 -2315
  880. package/dist/chunks/use-locale-context-CazVZ4Kg.js.map +0 -1
  881. package/dist/chunks/use-locale-context-Dv7DQ_mn.js +0 -22
  882. package/dist/chunks/use-locale-context-Dv7DQ_mn.js.map +0 -1
  883. package/dist/chunks/use-slot-recipe-8liupslO.js +0 -2
  884. package/dist/chunks/use-slot-recipe-8liupslO.js.map +0 -1
  885. package/dist/chunks/use-slot-recipe-DhtQ1j_5.js +0 -13
  886. package/dist/chunks/use-slot-recipe-DhtQ1j_5.js.map +0 -1
  887. package/dist/chunks/withFormControl-BdiccBy5.js +0 -2
  888. package/dist/chunks/withFormControl-BdiccBy5.js.map +0 -1
  889. package/dist/chunks/withFormControl-CRXVopOk.js +0 -361
  890. package/dist/chunks/withFormControl-CRXVopOk.js.map +0 -1
  891. package/dist/chunks/withTruncation-C9XLf_j6.js +0 -67
  892. package/dist/chunks/withTruncation-C9XLf_j6.js.map +0 -1
  893. package/dist/chunks/withTruncation-Ddr3jvAO.js +0 -2
  894. package/dist/chunks/withTruncation-Ddr3jvAO.js.map +0 -1
  895. package/dist/types/components/Menu/components/MenuButton/menuButton.components.d.ts +0 -9
  896. package/dist/types/components/Menu/components/MenuToggleButtons/menuToggleButtons.d.ts +0 -10
  897. package/dist/types/shared/utils/argTypes.d.ts +0 -6
@@ -1,6 +1,6 @@
1
- "use strict";const W=require("./jsx-runtime-BjDatQAs.js"),l=require("react"),Te=require("./use-locale-context-Dv7DQ_mn.js"),Ln=require("./button.component-DAv5WxDc.js"),kn=require("./text.component-CHpMvCFa.js"),jn=require("./flex-BOU6tYUd.js"),Gt=require("./list-D22V_L58.js"),Pn=e=>e&&e.__esModule?e:{default:e},O=Pn(l);function zn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return l.useMemo(()=>r=>{t.forEach(o=>o(r))},t)}const rt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function we(e){const t=Object.prototype.toString.call(e);return t==="[object Window]"||t==="[object global]"}function yt(e){return"nodeType"in e}function P(e){var t,n;return e?we(e)?e:yt(e)&&(t=(n=e.ownerDocument)==null?void 0:n.defaultView)!=null?t:window:window}function xt(e){const{Document:t}=P(e);return e instanceof t}function Fe(e){return we(e)?!1:e instanceof P(e).HTMLElement}function Qt(e){return e instanceof P(e).SVGElement}function De(e){return e?we(e)?e.document:yt(e)?xt(e)?e:Fe(e)||Qt(e)?e.ownerDocument:document:document:document}const _=rt?l.useLayoutEffect:l.useEffect;function ot(e){const t=l.useRef(e);return _(()=>{t.current=e}),l.useCallback(function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t.current==null?void 0:t.current(...r)},[])}function Bn(){const e=l.useRef(null),t=l.useCallback((r,o)=>{e.current=setInterval(r,o)},[]),n=l.useCallback(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[]);return[t,n]}function Pe(e,t){t===void 0&&(t=[e]);const n=l.useRef(e);return _(()=>{n.current!==e&&(n.current=e)},t),n}function Xe(e,t){const n=l.useRef();return l.useMemo(()=>{const r=e(n.current);return n.current=r,r},[...t])}function Ge(e){const t=ot(e),n=l.useRef(null),r=l.useCallback(o=>{o!==n.current&&t?.(o,n.current),n.current=o},[]);return[n,r]}function Qe(e){const t=l.useRef();return l.useEffect(()=>{t.current=e},[e]),t.current}let ft={};function $e(e,t){return l.useMemo(()=>{if(t)return t;const n=ft[e]==null?0:ft[e]+1;return ft[e]=n,e+"-"+n},[e,t])}function Zt(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return r.reduce((i,s)=>{const a=Object.entries(s);for(const[c,u]of a){const f=i[c];f!=null&&(i[c]=f+e*u)}return i},{...t})}}const xe=Zt(1),ze=Zt(-1);function Fn(e){return"clientX"in e&&"clientY"in e}function it(e){if(!e)return!1;const{KeyboardEvent:t}=P(e.target);return t&&e instanceof t}function Xn(e){if(!e)return!1;const{TouchEvent:t}=P(e.target);return t&&e instanceof t}function Ze(e){if(Xn(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}else if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return Fn(e)?{x:e.clientX,y:e.clientY}:null}const fe=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[fe.Translate.toString(e),fe.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+" "+n+"ms "+r}}}),Pt="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function $n(e){return e.matches(Pt)?e:e.querySelector(Pt)}const Yn={display:"none"};function Kn(e){let{id:t,value:n}=e;return O.default.createElement("div",{id:t,style:Yn},n)}function Un(e){let{id:t,announcement:n,ariaLiveType:r="assertive"}=e;const o={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return O.default.createElement("div",{id:t,style:o,role:"status","aria-live":r,"aria-atomic":!0},n)}function Wn(){const[e,t]=l.useState("");return{announce:l.useCallback(r=>{r!=null&&t(r)},[]),announcement:e}}const en=l.createContext(null);function qn(e){const t=l.useContext(en);l.useEffect(()=>{if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>");return t(e)},[e,t])}function Hn(){const[e]=l.useState(()=>new Set),t=l.useCallback(r=>(e.add(r),()=>e.delete(r)),[e]);return[l.useCallback(r=>{let{type:o,event:i}=r;e.forEach(s=>{var a;return(a=s[o])==null?void 0:a.call(s,i)})},[e]),t]}const _n={draggable:`
1
+ "use strict";const W=require("./jsx-runtime-BjDatQAs.js"),l=require("react"),Te=require("./use-locale-context-ym21RUxU.js"),Ln=require("./button.component-DjdgBXDC.js"),kn=require("./text.component-CeioUl0G.js"),jn=require("./flex-BOU6tYUd.js"),Gt=require("./list-DTRn3TmT.js"),Pn=e=>e&&e.__esModule?e:{default:e},O=Pn(l);function zn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return l.useMemo(()=>r=>{t.forEach(o=>o(r))},t)}const rt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function we(e){const t=Object.prototype.toString.call(e);return t==="[object Window]"||t==="[object global]"}function yt(e){return"nodeType"in e}function P(e){var t,n;return e?we(e)?e:yt(e)&&(t=(n=e.ownerDocument)==null?void 0:n.defaultView)!=null?t:window:window}function xt(e){const{Document:t}=P(e);return e instanceof t}function Fe(e){return we(e)?!1:e instanceof P(e).HTMLElement}function Qt(e){return e instanceof P(e).SVGElement}function De(e){return e?we(e)?e.document:yt(e)?xt(e)?e:Fe(e)||Qt(e)?e.ownerDocument:document:document:document}const _=rt?l.useLayoutEffect:l.useEffect;function ot(e){const t=l.useRef(e);return _(()=>{t.current=e}),l.useCallback(function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t.current==null?void 0:t.current(...r)},[])}function Bn(){const e=l.useRef(null),t=l.useCallback((r,o)=>{e.current=setInterval(r,o)},[]),n=l.useCallback(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[]);return[t,n]}function Pe(e,t){t===void 0&&(t=[e]);const n=l.useRef(e);return _(()=>{n.current!==e&&(n.current=e)},t),n}function Xe(e,t){const n=l.useRef();return l.useMemo(()=>{const r=e(n.current);return n.current=r,r},[...t])}function Ge(e){const t=ot(e),n=l.useRef(null),r=l.useCallback(o=>{o!==n.current&&t?.(o,n.current),n.current=o},[]);return[n,r]}function Qe(e){const t=l.useRef();return l.useEffect(()=>{t.current=e},[e]),t.current}let ft={};function $e(e,t){return l.useMemo(()=>{if(t)return t;const n=ft[e]==null?0:ft[e]+1;return ft[e]=n,e+"-"+n},[e,t])}function Zt(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return r.reduce((i,s)=>{const a=Object.entries(s);for(const[c,f]of a){const u=i[c];u!=null&&(i[c]=u+e*f)}return i},{...t})}}const xe=Zt(1),ze=Zt(-1);function Fn(e){return"clientX"in e&&"clientY"in e}function it(e){if(!e)return!1;const{KeyboardEvent:t}=P(e.target);return t&&e instanceof t}function Xn(e){if(!e)return!1;const{TouchEvent:t}=P(e.target);return t&&e instanceof t}function Ze(e){if(Xn(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}else if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return Fn(e)?{x:e.clientX,y:e.clientY}:null}const fe=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[fe.Translate.toString(e),fe.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+" "+n+"ms "+r}}}),Pt="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function $n(e){return e.matches(Pt)?e:e.querySelector(Pt)}const Yn={display:"none"};function Kn(e){let{id:t,value:n}=e;return O.default.createElement("div",{id:t,style:Yn},n)}function Un(e){let{id:t,announcement:n,ariaLiveType:r="assertive"}=e;const o={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return O.default.createElement("div",{id:t,style:o,role:"status","aria-live":r,"aria-atomic":!0},n)}function Wn(){const[e,t]=l.useState("");return{announce:l.useCallback(r=>{r!=null&&t(r)},[]),announcement:e}}const en=l.createContext(null);function qn(e){const t=l.useContext(en);l.useEffect(()=>{if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>");return t(e)},[e,t])}function Hn(){const[e]=l.useState(()=>new Set),t=l.useCallback(r=>(e.add(r),()=>e.delete(r)),[e]);return[l.useCallback(r=>{let{type:o,event:i}=r;e.forEach(s=>{var a;return(a=s[o])==null?void 0:a.call(s,i)})},[e]),t]}const _n={draggable:`
2
2
  To pick up a draggable item, press the space bar.
3
3
  While dragging, use the arrow keys to move the item.
4
4
  Press space again to drop the item in its new position, or press escape to cancel.
5
- `},Vn={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was moved over droppable area "+n.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was dropped over droppable area "+n.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function Jn(e){let{announcements:t=Vn,container:n,hiddenTextDescribedById:r,screenReaderInstructions:o=_n}=e;const{announce:i,announcement:s}=Wn(),a=$e("DndLiveRegion"),[c,u]=l.useState(!1);if(l.useEffect(()=>{u(!0)},[]),qn(l.useMemo(()=>({onDragStart(d){let{active:h}=d;i(t.onDragStart({active:h}))},onDragMove(d){let{active:h,over:g}=d;t.onDragMove&&i(t.onDragMove({active:h,over:g}))},onDragOver(d){let{active:h,over:g}=d;i(t.onDragOver({active:h,over:g}))},onDragEnd(d){let{active:h,over:g}=d;i(t.onDragEnd({active:h,over:g}))},onDragCancel(d){let{active:h,over:g}=d;i(t.onDragCancel({active:h,over:g}))}}),[i,t])),!c)return null;const f=O.default.createElement(O.default.Fragment,null,O.default.createElement(Kn,{id:r,value:o.draggable}),O.default.createElement(Un,{id:a,announcement:s}));return n?Te.reactDomExports.createPortal(f,n):f}var T;(function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"})(T||(T={}));function et(){}function zt(e,t){return l.useMemo(()=>({sensor:e,options:t??{}}),[e,t])}function Gn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return l.useMemo(()=>[...t].filter(r=>r!=null),[...t])}const V=Object.freeze({x:0,y:0});function Qn(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function Zn(e,t){const n=Ze(e);if(!n)return"0 0";const r={x:(n.x-t.left)/t.width*100,y:(n.y-t.top)/t.height*100};return r.x+"% "+r.y+"%"}function er(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return n-r}function tr(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function Bt(e){let{left:t,top:n,height:r,width:o}=e;return[{x:t,y:n},{x:t+o,y:n},{x:t,y:n+r},{x:t+o,y:n+r}]}function tn(e,t){if(!e||e.length===0)return null;const[n]=e;return n[t]}const nr=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const o=Bt(t),i=[];for(const s of r){const{id:a}=s,c=n.get(a);if(c){const u=Bt(c),f=o.reduce((h,g,w)=>h+Qn(u[w],g),0),d=Number((f/4).toFixed(4));i.push({id:a,data:{droppableContainer:s,value:d}})}}return i.sort(er)};function rr(e,t){const n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),o=Math.min(t.left+t.width,e.left+e.width),i=Math.min(t.top+t.height,e.top+e.height),s=o-r,a=i-n;if(r<o&&n<i){const c=t.width*t.height,u=e.width*e.height,f=s*a,d=f/(c+u-f);return Number(d.toFixed(4))}return 0}const or=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const o=[];for(const i of r){const{id:s}=i,a=n.get(s);if(a){const c=rr(a,t);c>0&&o.push({id:s,data:{droppableContainer:i,value:c}})}}return o.sort(tr)};function ir(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}function nn(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:V}function sr(e){return function(n){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return o.reduce((s,a)=>({...s,top:s.top+e*a.y,bottom:s.bottom+e*a.y,left:s.left+e*a.x,right:s.right+e*a.x}),{...n})}}const ar=sr(1);function rn(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}else if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function lr(e,t,n){const r=rn(t);if(!r)return e;const{scaleX:o,scaleY:i,x:s,y:a}=r,c=e.left-s-(1-o)*parseFloat(n),u=e.top-a-(1-i)*parseFloat(n.slice(n.indexOf(" ")+1)),f=o?e.width/o:e.width,d=i?e.height/i:e.height;return{width:f,height:d,top:u,right:c+f,bottom:u+d,left:c}}const cr={ignoreTransform:!1};function Ce(e,t){t===void 0&&(t=cr);let n=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:u,transformOrigin:f}=P(e).getComputedStyle(e);u&&(n=lr(n,u,f))}const{top:r,left:o,width:i,height:s,bottom:a,right:c}=n;return{top:r,left:o,width:i,height:s,bottom:a,right:c}}function Ft(e){return Ce(e,{ignoreTransform:!0})}function ur(e){const t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}function dr(e,t){return t===void 0&&(t=P(e).getComputedStyle(e)),t.position==="fixed"}function fr(e,t){t===void 0&&(t=P(e).getComputedStyle(e));const n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(o=>{const i=t[o];return typeof i=="string"?n.test(i):!1})}function st(e,t){const n=[];function r(o){if(t!=null&&n.length>=t||!o)return n;if(xt(o)&&o.scrollingElement!=null&&!n.includes(o.scrollingElement))return n.push(o.scrollingElement),n;if(!Fe(o)||Qt(o)||n.includes(o))return n;const i=P(e).getComputedStyle(o);return o!==e&&fr(o,i)&&n.push(o),dr(o,i)?n:r(o.parentNode)}return e?r(e):n}function on(e){const[t]=st(e,1);return t??null}function gt(e){return!rt||!e?null:we(e)?e:yt(e)?xt(e)||e===De(e).scrollingElement?window:Fe(e)?e:null:null}function sn(e){return we(e)?e.scrollX:e.scrollLeft}function an(e){return we(e)?e.scrollY:e.scrollTop}function pt(e){return{x:sn(e),y:an(e)}}var L;(function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"})(L||(L={}));function ln(e){return!rt||!e?!1:e===document.scrollingElement}function cn(e){const t={x:0,y:0},n=ln(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height},o=e.scrollTop<=t.y,i=e.scrollLeft<=t.x,s=e.scrollTop>=r.y,a=e.scrollLeft>=r.x;return{isTop:o,isLeft:i,isBottom:s,isRight:a,maxScroll:r,minScroll:t}}const gr={x:.2,y:.2};function hr(e,t,n,r,o){let{top:i,left:s,right:a,bottom:c}=n;r===void 0&&(r=10),o===void 0&&(o=gr);const{isTop:u,isBottom:f,isLeft:d,isRight:h}=cn(e),g={x:0,y:0},w={x:0,y:0},v={height:t.height*o.y,width:t.width*o.x};return!u&&i<=t.top+v.height?(g.y=L.Backward,w.y=r*Math.abs((t.top+v.height-i)/v.height)):!f&&c>=t.bottom-v.height&&(g.y=L.Forward,w.y=r*Math.abs((t.bottom-v.height-c)/v.height)),!h&&a>=t.right-v.width?(g.x=L.Forward,w.x=r*Math.abs((t.right-v.width-a)/v.width)):!d&&s<=t.left+v.width&&(g.x=L.Backward,w.x=r*Math.abs((t.left+v.width-s)/v.width)),{direction:g,speed:w}}function vr(e){if(e===document.scrollingElement){const{innerWidth:i,innerHeight:s}=window;return{top:0,left:0,right:i,bottom:s,width:i,height:s}}const{top:t,left:n,right:r,bottom:o}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:o,width:e.clientWidth,height:e.clientHeight}}function un(e){return e.reduce((t,n)=>xe(t,pt(n)),V)}function pr(e){return e.reduce((t,n)=>t+sn(n),0)}function br(e){return e.reduce((t,n)=>t+an(n),0)}function dn(e,t){if(t===void 0&&(t=Ce),!e)return;const{top:n,left:r,bottom:o,right:i}=t(e);on(e)&&(o<=0||i<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const mr=[["x",["left","right"],pr],["y",["top","bottom"],br]];class wt{constructor(t,n){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const r=st(n),o=un(r);this.rect={...t},this.width=t.width,this.height=t.height;for(const[i,s,a]of mr)for(const c of s)Object.defineProperty(this,c,{get:()=>{const u=a(r),f=o[i]-u;return this.rect[c]+f},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class Le{constructor(t){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(n=>{var r;return(r=this.target)==null?void 0:r.removeEventListener(...n)})},this.target=t}add(t,n,r){var o;(o=this.target)==null||o.addEventListener(t,n,r),this.listeners.push([t,n,r])}}function yr(e){const{EventTarget:t}=P(e);return e instanceof t?e:De(e)}function ht(e,t){const n=Math.abs(e.x),r=Math.abs(e.y);return typeof t=="number"?Math.sqrt(n**2+r**2)>t:"x"in t&&"y"in t?n>t.x&&r>t.y:"x"in t?n>t.x:"y"in t?r>t.y:!1}var U;(function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"})(U||(U={}));function Xt(e){e.preventDefault()}function xr(e){e.stopPropagation()}var C;(function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter",e.Tab="Tab"})(C||(C={}));const fn={start:[C.Space,C.Enter],cancel:[C.Esc],end:[C.Space,C.Enter,C.Tab]},wr=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case C.Right:return{...n,x:n.x+25};case C.Left:return{...n,x:n.x-25};case C.Down:return{...n,y:n.y+25};case C.Up:return{...n,y:n.y-25}}};class Dt{constructor(t){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=t;const{event:{target:n}}=t;this.props=t,this.listeners=new Le(De(n)),this.windowListeners=new Le(P(n)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(U.Resize,this.handleCancel),this.windowListeners.add(U.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(U.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:t,onStart:n}=this.props,r=t.node.current;r&&dn(r),n(V)}handleKeyDown(t){if(it(t)){const{active:n,context:r,options:o}=this.props,{keyboardCodes:i=fn,coordinateGetter:s=wr,scrollBehavior:a="smooth"}=o,{code:c}=t;if(i.end.includes(c)){this.handleEnd(t);return}if(i.cancel.includes(c)){this.handleCancel(t);return}const{collisionRect:u}=r.current,f=u?{x:u.left,y:u.top}:V;this.referenceCoordinates||(this.referenceCoordinates=f);const d=s(t,{active:n,context:r.current,currentCoordinates:f});if(d){const h=ze(d,f),g={x:0,y:0},{scrollableAncestors:w}=r.current;for(const v of w){const p=t.code,{isTop:m,isRight:y,isLeft:b,isBottom:R,maxScroll:S,minScroll:E}=cn(v),x=vr(v),D={x:Math.min(p===C.Right?x.right-x.width/2:x.right,Math.max(p===C.Right?x.left:x.left+x.width/2,d.x)),y:Math.min(p===C.Down?x.bottom-x.height/2:x.bottom,Math.max(p===C.Down?x.top:x.top+x.height/2,d.y))},M=p===C.Right&&!y||p===C.Left&&!b,N=p===C.Down&&!R||p===C.Up&&!m;if(M&&D.x!==d.x){const I=v.scrollLeft+h.x,q=p===C.Right&&I<=S.x||p===C.Left&&I>=E.x;if(q&&!h.y){v.scrollTo({left:I,behavior:a});return}q?g.x=v.scrollLeft-I:g.x=p===C.Right?v.scrollLeft-S.x:v.scrollLeft-E.x,g.x&&v.scrollBy({left:-g.x,behavior:a});break}else if(N&&D.y!==d.y){const I=v.scrollTop+h.y,q=p===C.Down&&I<=S.y||p===C.Up&&I>=E.y;if(q&&!h.x){v.scrollTo({top:I,behavior:a});return}q?g.y=v.scrollTop-I:g.y=p===C.Down?v.scrollTop-S.y:v.scrollTop-E.y,g.y&&v.scrollBy({top:-g.y,behavior:a});break}}this.handleMove(t,xe(ze(d,this.referenceCoordinates),g))}}}handleMove(t,n){const{onMove:r}=this.props;t.preventDefault(),r(n)}handleEnd(t){const{onEnd:n}=this.props;t.preventDefault(),this.detach(),n()}handleCancel(t){const{onCancel:n}=this.props;t.preventDefault(),this.detach(),n()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}Dt.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:r=fn,onActivation:o}=t,{active:i}=n;const{code:s}=e.nativeEvent;if(r.start.includes(s)){const a=i.activatorNode.current;return a&&e.target!==a?!1:(e.preventDefault(),o?.({event:e.nativeEvent}),!0)}return!1}}];function $t(e){return!!(e&&"distance"in e)}function Yt(e){return!!(e&&"delay"in e)}class Ct{constructor(t,n,r){var o;r===void 0&&(r=yr(t.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=t,this.events=n;const{event:i}=t,{target:s}=i;this.props=t,this.events=n,this.document=De(s),this.documentListeners=new Le(this.document),this.listeners=new Le(r),this.windowListeners=new Le(P(s)),this.initialCoordinates=(o=Ze(i))!=null?o:V,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:t,props:{options:{activationConstraint:n,bypassActivationConstraint:r}}}=this;if(this.listeners.add(t.move.name,this.handleMove,{passive:!1}),this.listeners.add(t.end.name,this.handleEnd),t.cancel&&this.listeners.add(t.cancel.name,this.handleCancel),this.windowListeners.add(U.Resize,this.handleCancel),this.windowListeners.add(U.DragStart,Xt),this.windowListeners.add(U.VisibilityChange,this.handleCancel),this.windowListeners.add(U.ContextMenu,Xt),this.documentListeners.add(U.Keydown,this.handleKeydown),n){if(r!=null&&r({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(Yt(n)){this.timeoutId=setTimeout(this.handleStart,n.delay),this.handlePending(n);return}if($t(n)){this.handlePending(n);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(t,n){const{active:r,onPending:o}=this.props;o(r,t,this.initialCoordinates,n)}handleStart(){const{initialCoordinates:t}=this,{onStart:n}=this.props;t&&(this.activated=!0,this.documentListeners.add(U.Click,xr,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(U.SelectionChange,this.removeTextSelection),n(t))}handleMove(t){var n;const{activated:r,initialCoordinates:o,props:i}=this,{onMove:s,options:{activationConstraint:a}}=i;if(!o)return;const c=(n=Ze(t))!=null?n:V,u=ze(o,c);if(!r&&a){if($t(a)){if(a.tolerance!=null&&ht(u,a.tolerance))return this.handleCancel();if(ht(u,a.distance))return this.handleStart()}if(Yt(a)&&ht(u,a.tolerance))return this.handleCancel();this.handlePending(a,u);return}t.cancelable&&t.preventDefault(),s(c)}handleEnd(){const{onAbort:t,onEnd:n}=this.props;this.detach(),this.activated||t(this.props.active),n()}handleCancel(){const{onAbort:t,onCancel:n}=this.props;this.detach(),this.activated||t(this.props.active),n()}handleKeydown(t){t.code===C.Esc&&this.handleCancel()}removeTextSelection(){var t;(t=this.document.getSelection())==null||t.removeAllRanges()}}const Dr={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class Rt extends Ct{constructor(t){const{event:n}=t,r=De(n.target);super(t,Dr,r)}}Rt.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!n.isPrimary||n.button!==0?!1:(r?.({event:n}),!0)}}];const Cr={move:{name:"mousemove"},end:{name:"mouseup"}};var bt;(function(e){e[e.RightClick=2]="RightClick"})(bt||(bt={}));class Rr extends Ct{constructor(t){super(t,Cr,De(t.event.target))}}Rr.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button===bt.RightClick?!1:(r?.({event:n}),!0)}}];const vt={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class Sr extends Ct{constructor(t){super(t,vt)}static setup(){return window.addEventListener(vt.move.name,t,{capture:!1,passive:!1}),function(){window.removeEventListener(vt.move.name,t)};function t(){}}}Sr.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;const{touches:o}=n;return o.length>1?!1:(r?.({event:n}),!0)}}];var ke;(function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"})(ke||(ke={}));var tt;(function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"})(tt||(tt={}));function Er(e){let{acceleration:t,activator:n=ke.Pointer,canScroll:r,draggingRect:o,enabled:i,interval:s=5,order:a=tt.TreeOrder,pointerCoordinates:c,scrollableAncestors:u,scrollableAncestorRects:f,delta:d,threshold:h}=e;const g=Ir({delta:d,disabled:!i}),[w,v]=Bn(),p=l.useRef({x:0,y:0}),m=l.useRef({x:0,y:0}),y=l.useMemo(()=>{switch(n){case ke.Pointer:return c?{top:c.y,bottom:c.y,left:c.x,right:c.x}:null;case ke.DraggableRect:return o}},[n,o,c]),b=l.useRef(null),R=l.useCallback(()=>{const E=b.current;if(!E)return;const x=p.current.x*m.current.x,D=p.current.y*m.current.y;E.scrollBy(x,D)},[]),S=l.useMemo(()=>a===tt.TreeOrder?[...u].reverse():u,[a,u]);l.useEffect(()=>{if(!i||!u.length||!y){v();return}for(const E of S){if(r?.(E)===!1)continue;const x=u.indexOf(E),D=f[x];if(!D)continue;const{direction:M,speed:N}=hr(E,D,y,t,h);for(const I of["x","y"])g[I][M[I]]||(N[I]=0,M[I]=0);if(N.x>0||N.y>0){v(),b.current=E,w(R,s),p.current=N,m.current=M;return}}p.current={x:0,y:0},m.current={x:0,y:0},v()},[t,R,r,v,i,s,JSON.stringify(y),JSON.stringify(g),w,u,S,f,JSON.stringify(h)])}const Ar={x:{[L.Backward]:!1,[L.Forward]:!1},y:{[L.Backward]:!1,[L.Forward]:!1}};function Ir(e){let{delta:t,disabled:n}=e;const r=Qe(t);return Xe(o=>{if(n||!r||!o)return Ar;const i={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)};return{x:{[L.Backward]:o.x[L.Backward]||i.x===-1,[L.Forward]:o.x[L.Forward]||i.x===1},y:{[L.Backward]:o.y[L.Backward]||i.y===-1,[L.Forward]:o.y[L.Forward]||i.y===1}}},[n,t,r])}function Mr(e,t){const n=t!=null?e.get(t):void 0,r=n?n.node.current:null;return Xe(o=>{var i;return t==null?null:(i=r??o)!=null?i:null},[r,t])}function Or(e,t){return l.useMemo(()=>e.reduce((n,r)=>{const{sensor:o}=r,i=o.activators.map(s=>({eventName:s.eventName,handler:t(s.handler,r)}));return[...n,...i]},[]),[e,t])}var Be;(function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"})(Be||(Be={}));var mt;(function(e){e.Optimized="optimized"})(mt||(mt={}));const Kt=new Map;function Nr(e,t){let{dragging:n,dependencies:r,config:o}=t;const[i,s]=l.useState(null),{frequency:a,measure:c,strategy:u}=o,f=l.useRef(e),d=p(),h=Pe(d),g=l.useCallback(function(m){m===void 0&&(m=[]),!h.current&&s(y=>y===null?m:y.concat(m.filter(b=>!y.includes(b))))},[h]),w=l.useRef(null),v=Xe(m=>{if(d&&!n)return Kt;if(!m||m===Kt||f.current!==e||i!=null){const y=new Map;for(let b of e){if(!b)continue;if(i&&i.length>0&&!i.includes(b.id)&&b.rect.current){y.set(b.id,b.rect.current);continue}const R=b.node.current,S=R?new wt(c(R),R):null;b.rect.current=S,S&&y.set(b.id,S)}return y}return m},[e,i,n,d,c]);return l.useEffect(()=>{f.current=e},[e]),l.useEffect(()=>{d||g()},[n,d]),l.useEffect(()=>{i&&i.length>0&&s(null)},[JSON.stringify(i)]),l.useEffect(()=>{d||typeof a!="number"||w.current!==null||(w.current=setTimeout(()=>{g(),w.current=null},a))},[a,d,g,...r]),{droppableRects:v,measureDroppableContainers:g,measuringScheduled:i!=null};function p(){switch(u){case Be.Always:return!1;case Be.BeforeDragging:return n;default:return!n}}}function St(e,t){return Xe(n=>e?n||(typeof t=="function"?t(e):e):null,[t,e])}function Tr(e,t){return St(e,t)}function Lr(e){let{callback:t,disabled:n}=e;const r=ot(t),o=l.useMemo(()=>{if(n||typeof window>"u"||typeof window.MutationObserver>"u")return;const{MutationObserver:i}=window;return new i(r)},[r,n]);return l.useEffect(()=>()=>o?.disconnect(),[o]),o}function at(e){let{callback:t,disabled:n}=e;const r=ot(t),o=l.useMemo(()=>{if(n||typeof window>"u"||typeof window.ResizeObserver>"u")return;const{ResizeObserver:i}=window;return new i(r)},[n]);return l.useEffect(()=>()=>o?.disconnect(),[o]),o}function kr(e){return new wt(Ce(e),e)}function Ut(e,t,n){t===void 0&&(t=kr);const[r,o]=l.useState(null);function i(){o(c=>{if(!e)return null;if(e.isConnected===!1){var u;return(u=c??n)!=null?u:null}const f=t(e);return JSON.stringify(c)===JSON.stringify(f)?c:f})}const s=Lr({callback(c){if(e)for(const u of c){const{type:f,target:d}=u;if(f==="childList"&&d instanceof HTMLElement&&d.contains(e)){i();break}}}}),a=at({callback:i});return _(()=>{i(),e?(a?.observe(e),s?.observe(document.body,{childList:!0,subtree:!0})):(a?.disconnect(),s?.disconnect())},[e]),r}function jr(e){const t=St(e);return nn(e,t)}const Wt=[];function Pr(e){const t=l.useRef(e),n=Xe(r=>e?r&&r!==Wt&&e&&t.current&&e.parentNode===t.current.parentNode?r:st(e):Wt,[e]);return l.useEffect(()=>{t.current=e},[e]),n}function zr(e){const[t,n]=l.useState(null),r=l.useRef(e),o=l.useCallback(i=>{const s=gt(i.target);s&&n(a=>a?(a.set(s,pt(s)),new Map(a)):null)},[]);return l.useEffect(()=>{const i=r.current;if(e!==i){s(i);const a=e.map(c=>{const u=gt(c);return u?(u.addEventListener("scroll",o,{passive:!0}),[u,pt(u)]):null}).filter(c=>c!=null);n(a.length?new Map(a):null),r.current=e}return()=>{s(e),s(i)};function s(a){a.forEach(c=>{const u=gt(c);u?.removeEventListener("scroll",o)})}},[o,e]),l.useMemo(()=>e.length?t?Array.from(t.values()).reduce((i,s)=>xe(i,s),V):un(e):V,[e,t])}function qt(e,t){t===void 0&&(t=[]);const n=l.useRef(null);return l.useEffect(()=>{n.current=null},t),l.useEffect(()=>{const r=e!==V;r&&!n.current&&(n.current=e),!r&&n.current&&(n.current=null)},[e]),n.current?ze(e,n.current):V}function Br(e){l.useEffect(()=>{if(!rt)return;const t=e.map(n=>{let{sensor:r}=n;return r.setup==null?void 0:r.setup()});return()=>{for(const n of t)n?.()}},e.map(t=>{let{sensor:n}=t;return n}))}function Fr(e,t){return l.useMemo(()=>e.reduce((n,r)=>{let{eventName:o,handler:i}=r;return n[o]=s=>{i(s,t)},n},{}),[e,t])}function gn(e){return l.useMemo(()=>e?ur(e):null,[e])}const Ht=[];function Xr(e,t){t===void 0&&(t=Ce);const[n]=e,r=gn(n?P(n):null),[o,i]=l.useState(Ht);function s(){i(()=>e.length?e.map(c=>ln(c)?r:new wt(t(c),c)):Ht)}const a=at({callback:s});return _(()=>{a?.disconnect(),s(),e.forEach(c=>a?.observe(c))},[e]),o}function hn(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return Fe(t)?t:e}function $r(e){let{measure:t}=e;const[n,r]=l.useState(null),o=l.useCallback(u=>{for(const{target:f}of u)if(Fe(f)){r(d=>{const h=t(f);return d?{...d,width:h.width,height:h.height}:h});break}},[t]),i=at({callback:o}),s=l.useCallback(u=>{const f=hn(u);i?.disconnect(),f&&i?.observe(f),r(f?t(f):null)},[t,i]),[a,c]=Ge(s);return l.useMemo(()=>({nodeRef:a,rect:n,setRef:c}),[n,a,c])}const Yr=[{sensor:Rt,options:{}},{sensor:Dt,options:{}}],Kr={current:{}},Je={draggable:{measure:Ft},droppable:{measure:Ft,strategy:Be.WhileDragging,frequency:mt.Optimized},dragOverlay:{measure:Ce}};class je extends Map{get(t){var n;return t!=null&&(n=super.get(t))!=null?n:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(t=>{let{disabled:n}=t;return!n})}getNodeFor(t){var n,r;return(n=(r=this.get(t))==null?void 0:r.node.current)!=null?n:void 0}}const Ur={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new je,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:et},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Je,measureDroppableContainers:et,windowRect:null,measuringScheduled:!1},vn={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:et,draggableNodes:new Map,over:null,measureDroppableContainers:et},Ye=l.createContext(vn),pn=l.createContext(Ur);function Wr(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new je}}}function qr(e,t){switch(t.type){case T.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case T.DragMove:return e.draggable.active==null?e:{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}};case T.DragEnd:case T.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case T.RegisterDroppable:{const{element:n}=t,{id:r}=n,o=new je(e.droppable.containers);return o.set(r,n),{...e,droppable:{...e.droppable,containers:o}}}case T.SetDroppableDisabled:{const{id:n,key:r,disabled:o}=t,i=e.droppable.containers.get(n);if(!i||r!==i.key)return e;const s=new je(e.droppable.containers);return s.set(n,{...i,disabled:o}),{...e,droppable:{...e.droppable,containers:s}}}case T.UnregisterDroppable:{const{id:n,key:r}=t,o=e.droppable.containers.get(n);if(!o||r!==o.key)return e;const i=new je(e.droppable.containers);return i.delete(n),{...e,droppable:{...e.droppable,containers:i}}}default:return e}}function Hr(e){let{disabled:t}=e;const{active:n,activatorEvent:r,draggableNodes:o}=l.useContext(Ye),i=Qe(r),s=Qe(n?.id);return l.useEffect(()=>{if(!t&&!r&&i&&s!=null){if(!it(i)||document.activeElement===i.target)return;const a=o.get(s);if(!a)return;const{activatorNode:c,node:u}=a;if(!c.current&&!u.current)return;requestAnimationFrame(()=>{for(const f of[c.current,u.current]){if(!f)continue;const d=$n(f);if(d){d.focus();break}}})}},[r,t,o,s,i]),null}function bn(e,t){let{transform:n,...r}=t;return e!=null&&e.length?e.reduce((o,i)=>i({transform:o,...r}),n):n}function _r(e){return l.useMemo(()=>({draggable:{...Je.draggable,...e?.draggable},droppable:{...Je.droppable,...e?.droppable},dragOverlay:{...Je.dragOverlay,...e?.dragOverlay}}),[e?.draggable,e?.droppable,e?.dragOverlay])}function Vr(e){let{activeNode:t,measure:n,initialRect:r,config:o=!0}=e;const i=l.useRef(!1),{x:s,y:a}=typeof o=="boolean"?{x:o,y:o}:o;_(()=>{if(!s&&!a||!t){i.current=!1;return}if(i.current||!r)return;const u=t?.node.current;if(!u||u.isConnected===!1)return;const f=n(u),d=nn(f,r);if(s||(d.x=0),a||(d.y=0),i.current=!0,Math.abs(d.x)>0||Math.abs(d.y)>0){const h=on(u);h&&h.scrollBy({top:d.y,left:d.x})}},[t,s,a,r,n])}const lt=l.createContext({...V,scaleX:1,scaleY:1});var de;(function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"})(de||(de={}));const Jr=l.memo(function(t){var n,r,o,i;let{id:s,accessibility:a,autoScroll:c=!0,children:u,sensors:f=Yr,collisionDetection:d=or,measuring:h,modifiers:g,...w}=t;const v=l.useReducer(qr,void 0,Wr),[p,m]=v,[y,b]=Hn(),[R,S]=l.useState(de.Uninitialized),E=R===de.Initialized,{draggable:{active:x,nodes:D,translate:M},droppable:{containers:N}}=p,I=x!=null?D.get(x):null,q=l.useRef({initial:null,translated:null}),H=l.useMemo(()=>{var j;return x!=null?{id:x,data:(j=I?.data)!=null?j:Kr,rect:q}:null},[x,I]),J=l.useRef(null),[Re,Ke]=l.useState(null),[B,Ue]=l.useState(null),ee=Pe(w,Object.values(w)),Se=$e("DndDescribedBy",s),We=l.useMemo(()=>N.getEnabled(),[N]),z=_r(h),{droppableRects:te,measureDroppableContainers:ge,measuringScheduled:Ee}=Nr(We,{dragging:E,dependencies:[M.x,M.y],config:z.droppable}),Y=Mr(D,x),qe=l.useMemo(()=>B?Ze(B):null,[B]),ie=Tn(),ne=Tr(Y,z.draggable.measure);Vr({activeNode:x!=null?D.get(x):null,config:ie.layoutShiftCompensation,initialRect:ne,measure:z.draggable.measure});const A=Ut(Y,z.draggable.measure,ne),Ae=Ut(Y?Y.parentElement:null),G=l.useRef({activatorEvent:null,active:null,activeNode:Y,collisionRect:null,collisions:null,droppableRects:te,draggableNodes:D,draggingNode:null,draggingNodeRect:null,droppableContainers:N,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),he=N.getNodeFor((n=G.current.over)==null?void 0:n.id),re=$r({measure:z.dragOverlay.measure}),ve=(r=re.nodeRef.current)!=null?r:Y,pe=E?(o=re.rect)!=null?o:A:null,It=!!(re.nodeRef.current&&re.rect),Mt=jr(It?null:A),ct=gn(ve?P(ve):null),se=Pr(E?he??Y:null),He=Xr(se),_e=bn(g,{transform:{x:M.x-Mt.x,y:M.y-Mt.y,scaleX:1,scaleY:1},activatorEvent:B,active:H,activeNodeRect:A,containerNodeRect:Ae,draggingNodeRect:pe,over:G.current.over,overlayNodeRect:re.rect,scrollableAncestors:se,scrollableAncestorRects:He,windowRect:ct}),Ot=qe?xe(qe,M):null,Nt=zr(se),Sn=qt(Nt),En=qt(Nt,[A]),be=xe(_e,Sn),me=pe?ar(pe,_e):null,Ie=H&&me?d({active:H,collisionRect:me,droppableRects:te,droppableContainers:We,pointerCoordinates:Ot}):null,Tt=tn(Ie,"id"),[ae,Lt]=l.useState(null),An=It?_e:xe(_e,En),In=ir(An,(i=ae?.rect)!=null?i:null,A),ut=l.useRef(null),kt=l.useCallback((j,F)=>{let{sensor:X,options:le}=F;if(J.current==null)return;const K=D.get(J.current);if(!K)return;const $=j.nativeEvent,Q=new X({active:J.current,activeNode:K,event:$,options:le,context:G,onAbort(k){if(!D.get(k))return;const{onDragAbort:Z}=ee.current,oe={id:k};Z?.(oe),y({type:"onDragAbort",event:oe})},onPending(k,ce,Z,oe){if(!D.get(k))return;const{onDragPending:Oe}=ee.current,ue={id:k,constraint:ce,initialCoordinates:Z,offset:oe};Oe?.(ue),y({type:"onDragPending",event:ue})},onStart(k){const ce=J.current;if(ce==null)return;const Z=D.get(ce);if(!Z)return;const{onDragStart:oe}=ee.current,Me={activatorEvent:$,active:{id:ce,data:Z.data,rect:q}};Te.reactDomExports.unstable_batchedUpdates(()=>{oe?.(Me),S(de.Initializing),m({type:T.DragStart,initialCoordinates:k,active:ce}),y({type:"onDragStart",event:Me}),Ke(ut.current),Ue($)})},onMove(k){m({type:T.DragMove,coordinates:k})},onEnd:ye(T.DragEnd),onCancel:ye(T.DragCancel)});ut.current=Q;function ye(k){return async function(){const{active:Z,collisions:oe,over:Me,scrollAdjustedTranslate:Oe}=G.current;let ue=null;if(Z&&Oe){const{cancelDrop:Ne}=ee.current;ue={activatorEvent:$,active:Z,collisions:oe,delta:Oe,over:Me},k===T.DragEnd&&typeof Ne=="function"&&await Promise.resolve(Ne(ue))&&(k=T.DragCancel)}J.current=null,Te.reactDomExports.unstable_batchedUpdates(()=>{m({type:k}),S(de.Uninitialized),Lt(null),Ke(null),Ue(null),ut.current=null;const Ne=k===T.DragEnd?"onDragEnd":"onDragCancel";if(ue){const dt=ee.current[Ne];dt?.(ue),y({type:Ne,event:ue})}})}}},[D]),Mn=l.useCallback((j,F)=>(X,le)=>{const K=X.nativeEvent,$=D.get(le);if(J.current!==null||!$||K.dndKit||K.defaultPrevented)return;const Q={active:$};j(X,F.options,Q)===!0&&(K.dndKit={capturedBy:F.sensor},J.current=le,kt(X,F))},[D,kt]),jt=Or(f,Mn);Br(f),_(()=>{A&&R===de.Initializing&&S(de.Initialized)},[A,R]),l.useEffect(()=>{const{onDragMove:j}=ee.current,{active:F,activatorEvent:X,collisions:le,over:K}=G.current;if(!F||!X)return;const $={active:F,activatorEvent:X,collisions:le,delta:{x:be.x,y:be.y},over:K};Te.reactDomExports.unstable_batchedUpdates(()=>{j?.($),y({type:"onDragMove",event:$})})},[be.x,be.y]),l.useEffect(()=>{const{active:j,activatorEvent:F,collisions:X,droppableContainers:le,scrollAdjustedTranslate:K}=G.current;if(!j||J.current==null||!F||!K)return;const{onDragOver:$}=ee.current,Q=le.get(Tt),ye=Q&&Q.rect.current?{id:Q.id,rect:Q.rect.current,data:Q.data,disabled:Q.disabled}:null,k={active:j,activatorEvent:F,collisions:X,delta:{x:K.x,y:K.y},over:ye};Te.reactDomExports.unstable_batchedUpdates(()=>{Lt(ye),$?.(k),y({type:"onDragOver",event:k})})},[Tt]),_(()=>{G.current={activatorEvent:B,active:H,activeNode:Y,collisionRect:me,collisions:Ie,droppableRects:te,draggableNodes:D,draggingNode:ve,draggingNodeRect:pe,droppableContainers:N,over:ae,scrollableAncestors:se,scrollAdjustedTranslate:be},q.current={initial:pe,translated:me}},[H,Y,Ie,me,D,ve,pe,te,N,ae,se,be]),Er({...ie,delta:M,draggingRect:me,pointerCoordinates:Ot,scrollableAncestors:se,scrollableAncestorRects:He});const On=l.useMemo(()=>({active:H,activeNode:Y,activeNodeRect:A,activatorEvent:B,collisions:Ie,containerNodeRect:Ae,dragOverlay:re,draggableNodes:D,droppableContainers:N,droppableRects:te,over:ae,measureDroppableContainers:ge,scrollableAncestors:se,scrollableAncestorRects:He,measuringConfiguration:z,measuringScheduled:Ee,windowRect:ct}),[H,Y,A,B,Ie,Ae,re,D,N,te,ae,ge,se,He,z,Ee,ct]),Nn=l.useMemo(()=>({activatorEvent:B,activators:jt,active:H,activeNodeRect:A,ariaDescribedById:{draggable:Se},dispatch:m,draggableNodes:D,over:ae,measureDroppableContainers:ge}),[B,jt,H,A,m,Se,D,ae,ge]);return O.default.createElement(en.Provider,{value:b},O.default.createElement(Ye.Provider,{value:Nn},O.default.createElement(pn.Provider,{value:On},O.default.createElement(lt.Provider,{value:In},u)),O.default.createElement(Hr,{disabled:a?.restoreFocus===!1})),O.default.createElement(Jn,{...a,hiddenTextDescribedById:Se}));function Tn(){const j=Re?.autoScrollEnabled===!1,F=typeof c=="object"?c.enabled===!1:c===!1,X=E&&!j&&!F;return typeof c=="object"?{...c,enabled:X}:{enabled:X}}}),Gr=l.createContext(null),_t="button",Qr="Draggable";function Zr(e){let{id:t,data:n,disabled:r=!1,attributes:o}=e;const i=$e(Qr),{activators:s,activatorEvent:a,active:c,activeNodeRect:u,ariaDescribedById:f,draggableNodes:d,over:h}=l.useContext(Ye),{role:g=_t,roleDescription:w="draggable",tabIndex:v=0}=o??{},p=c?.id===t,m=l.useContext(p?lt:Gr),[y,b]=Ge(),[R,S]=Ge(),E=Fr(s,t),x=Pe(n);_(()=>(d.set(t,{id:t,key:i,node:y,activatorNode:R,data:x}),()=>{const M=d.get(t);M&&M.key===i&&d.delete(t)}),[d,t]);const D=l.useMemo(()=>({role:g,tabIndex:v,"aria-disabled":r,"aria-pressed":p&&g===_t?!0:void 0,"aria-roledescription":w,"aria-describedby":f.draggable}),[r,g,v,p,w,f.draggable]);return{active:c,activatorEvent:a,activeNodeRect:u,attributes:D,isDragging:p,listeners:r?void 0:E,node:y,over:h,setNodeRef:b,setActivatorNodeRef:S,transform:m}}function Et(){return l.useContext(pn)}const eo="Droppable",to={timeout:25};function no(e){let{data:t,disabled:n=!1,id:r,resizeObserverConfig:o}=e;const i=$e(eo),{active:s,dispatch:a,over:c,measureDroppableContainers:u}=l.useContext(Ye),f=l.useRef({disabled:n}),d=l.useRef(!1),h=l.useRef(null),g=l.useRef(null),{disabled:w,updateMeasurementsFor:v,timeout:p}={...to,...o},m=Pe(v??r),y=l.useCallback(()=>{if(!d.current){d.current=!0;return}g.current!=null&&clearTimeout(g.current),g.current=setTimeout(()=>{u(Array.isArray(m.current)?m.current:[m.current]),g.current=null},p)},[p]),b=at({callback:y,disabled:w||!s}),R=l.useCallback((D,M)=>{b&&(M&&(b.unobserve(M),d.current=!1),D&&b.observe(D))},[b]),[S,E]=Ge(R),x=Pe(t);return l.useEffect(()=>{!b||!S.current||(b.disconnect(),d.current=!1,b.observe(S.current))},[S,b]),l.useEffect(()=>(a({type:T.RegisterDroppable,element:{id:r,key:i,disabled:n,node:S,rect:h,data:x}}),()=>a({type:T.UnregisterDroppable,key:i,id:r})),[r]),l.useEffect(()=>{n!==f.current.disabled&&(a({type:T.SetDroppableDisabled,id:r,key:i,disabled:n}),f.current.disabled=n)},[r,i,n,a]),{active:s,rect:h,isOver:c?.id===r,node:S,over:c,setNodeRef:E}}function ro(e){let{animation:t,children:n}=e;const[r,o]=l.useState(null),[i,s]=l.useState(null),a=Qe(n);return!n&&!r&&a&&o(a),_(()=>{if(!i)return;const c=r?.key,u=r?.props.id;if(c==null||u==null){o(null);return}Promise.resolve(t(u,i)).then(()=>{o(null)})},[t,r,i]),O.default.createElement(O.default.Fragment,null,n,r?l.cloneElement(r,{ref:s}):null)}const oo={x:0,y:0,scaleX:1,scaleY:1};function io(e){let{children:t}=e;return O.default.createElement(Ye.Provider,{value:vn},O.default.createElement(lt.Provider,{value:oo},t))}const so={position:"fixed",touchAction:"none"},ao=e=>it(e)?"transform 250ms ease":void 0,lo=l.forwardRef((e,t)=>{let{as:n,activatorEvent:r,adjustScale:o,children:i,className:s,rect:a,style:c,transform:u,transition:f=ao}=e;if(!a)return null;const d=o?u:{...u,scaleX:1,scaleY:1},h={...so,width:a.width,height:a.height,top:a.top,left:a.left,transform:fe.Transform.toString(d),transformOrigin:o&&r?Zn(r,a):void 0,transition:typeof f=="function"?f(r):f,...c};return O.default.createElement(n,{className:s,style:h,ref:t},i)}),mn=e=>t=>{let{active:n,dragOverlay:r}=t;const o={},{styles:i,className:s}=e;if(i!=null&&i.active)for(const[a,c]of Object.entries(i.active))c!==void 0&&(o[a]=n.node.style.getPropertyValue(a),n.node.style.setProperty(a,c));if(i!=null&&i.dragOverlay)for(const[a,c]of Object.entries(i.dragOverlay))c!==void 0&&r.node.style.setProperty(a,c);return s!=null&&s.active&&n.node.classList.add(s.active),s!=null&&s.dragOverlay&&r.node.classList.add(s.dragOverlay),function(){for(const[c,u]of Object.entries(o))n.node.style.setProperty(c,u);s!=null&&s.active&&n.node.classList.remove(s.active)}},co=e=>{let{transform:{initial:t,final:n}}=e;return[{transform:fe.Transform.toString(t)},{transform:fe.Transform.toString(n)}]},uo={duration:250,easing:"ease",keyframes:co,sideEffects:mn({styles:{active:{opacity:"0"}}})};function fo(e){let{config:t,draggableNodes:n,droppableContainers:r,measuringConfiguration:o}=e;return ot((i,s)=>{if(t===null)return;const a=n.get(i);if(!a)return;const c=a.node.current;if(!c)return;const u=hn(s);if(!u)return;const{transform:f}=P(s).getComputedStyle(s),d=rn(f);if(!d)return;const h=typeof t=="function"?t:go(t);return dn(c,o.draggable.measure),h({active:{id:i,data:a.data,node:c,rect:o.draggable.measure(c)},draggableNodes:n,dragOverlay:{node:s,rect:o.dragOverlay.measure(u)},droppableContainers:r,measuringConfiguration:o,transform:d})})}function go(e){const{duration:t,easing:n,sideEffects:r,keyframes:o}={...uo,...e};return i=>{let{active:s,dragOverlay:a,transform:c,...u}=i;if(!t)return;const f={x:a.rect.left-s.rect.left,y:a.rect.top-s.rect.top},d={scaleX:c.scaleX!==1?s.rect.width*c.scaleX/a.rect.width:1,scaleY:c.scaleY!==1?s.rect.height*c.scaleY/a.rect.height:1},h={x:c.x-f.x,y:c.y-f.y,...d},g=o({...u,active:s,dragOverlay:a,transform:{initial:c,final:h}}),[w]=g,v=g[g.length-1];if(JSON.stringify(w)===JSON.stringify(v))return;const p=r?.({active:s,dragOverlay:a,...u}),m=a.node.animate(g,{duration:t,easing:n,fill:"forwards"});return new Promise(y=>{m.onfinish=()=>{p?.(),y()}})}}let Vt=0;function ho(e){return l.useMemo(()=>{if(e!=null)return Vt++,Vt},[e])}const vo=O.default.memo(e=>{let{adjustScale:t=!1,children:n,dropAnimation:r,style:o,transition:i,modifiers:s,wrapperElement:a="div",className:c,zIndex:u=999}=e;const{activatorEvent:f,active:d,activeNodeRect:h,containerNodeRect:g,draggableNodes:w,droppableContainers:v,dragOverlay:p,over:m,measuringConfiguration:y,scrollableAncestors:b,scrollableAncestorRects:R,windowRect:S}=Et(),E=l.useContext(lt),x=ho(d?.id),D=bn(s,{activatorEvent:f,active:d,activeNodeRect:h,containerNodeRect:g,draggingNodeRect:p.rect,over:m,overlayNodeRect:p.rect,scrollableAncestors:b,scrollableAncestorRects:R,transform:E,windowRect:S}),M=St(h),N=fo({config:r,draggableNodes:w,droppableContainers:v,measuringConfiguration:y}),I=M?p.setRef:void 0;return O.default.createElement(io,null,O.default.createElement(ro,{animation:N},d&&x?O.default.createElement(lo,{key:x,id:d.id,ref:I,as:a,activatorEvent:f,adjustScale:t,className:c,transition:i,rect:M,style:{zIndex:u,...o},transform:D},n):null))});function At(e,t,n){const r=e.slice();return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function po(e,t){return e.reduce((n,r,o)=>{const i=t.get(r);return i&&(n[o]=i),n},Array(e.length))}function Ve(e){return e!==null&&e>=0}function bo(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function mo(e){return typeof e=="boolean"?{draggable:e,droppable:e}:e}const yn=e=>{let{rects:t,activeIndex:n,overIndex:r,index:o}=e;const i=At(t,r,n),s=t[o],a=i[o];return!a||!s?null:{x:a.left-s.left,y:a.top-s.top,scaleX:a.width/s.width,scaleY:a.height/s.height}},xn="Sortable",wn=O.default.createContext({activeIndex:-1,containerId:xn,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:yn,disabled:{draggable:!1,droppable:!1}});function yo(e){let{children:t,id:n,items:r,strategy:o=yn,disabled:i=!1}=e;const{active:s,dragOverlay:a,droppableRects:c,over:u,measureDroppableContainers:f}=Et(),d=$e(xn,n),h=a.rect!==null,g=l.useMemo(()=>r.map(E=>typeof E=="object"&&"id"in E?E.id:E),[r]),w=s!=null,v=s?g.indexOf(s.id):-1,p=u?g.indexOf(u.id):-1,m=l.useRef(g),y=!bo(g,m.current),b=p!==-1&&v===-1||y,R=mo(i);_(()=>{y&&w&&f(g)},[y,g,w,f]),l.useEffect(()=>{m.current=g},[g]);const S=l.useMemo(()=>({activeIndex:v,containerId:d,disabled:R,disableTransforms:b,items:g,overIndex:p,useDragOverlay:h,sortedRects:po(g,c),strategy:o}),[v,d,R.draggable,R.droppable,b,g,p,c,h,o]);return O.default.createElement(wn.Provider,{value:S},t)}const xo=e=>{let{id:t,items:n,activeIndex:r,overIndex:o}=e;return At(n,r,o).indexOf(t)},wo=e=>{let{containerId:t,isSorting:n,wasDragging:r,index:o,items:i,newIndex:s,previousItems:a,previousContainerId:c,transition:u}=e;return!u||!r||a!==i&&o===s?!1:n?!0:s!==o&&t===c},Do={duration:200,easing:"ease"},Dn="transform",Co=fe.Transition.toString({property:Dn,duration:0,easing:"linear"}),Ro={roleDescription:"sortable"};function So(e){let{disabled:t,index:n,node:r,rect:o}=e;const[i,s]=l.useState(null),a=l.useRef(n);return _(()=>{if(!t&&n!==a.current&&r.current){const c=o.current;if(c){const u=Ce(r.current,{ignoreTransform:!0}),f={x:c.left-u.left,y:c.top-u.top,scaleX:c.width/u.width,scaleY:c.height/u.height};(f.x||f.y)&&s(f)}}n!==a.current&&(a.current=n)},[t,n,r,o]),l.useEffect(()=>{i&&s(null)},[i]),i}function Eo(e){let{animateLayoutChanges:t=wo,attributes:n,disabled:r,data:o,getNewIndex:i=xo,id:s,strategy:a,resizeObserverConfig:c,transition:u=Do}=e;const{items:f,containerId:d,activeIndex:h,disabled:g,disableTransforms:w,sortedRects:v,overIndex:p,useDragOverlay:m,strategy:y}=l.useContext(wn),b=Ao(r,g),R=f.indexOf(s),S=l.useMemo(()=>({sortable:{containerId:d,index:R,items:f},...o}),[d,o,R,f]),E=l.useMemo(()=>f.slice(f.indexOf(s)),[f,s]),{rect:x,node:D,isOver:M,setNodeRef:N}=no({id:s,data:S,disabled:b.droppable,resizeObserverConfig:{updateMeasurementsFor:E,...c}}),{active:I,activatorEvent:q,activeNodeRect:H,attributes:J,setNodeRef:Re,listeners:Ke,isDragging:B,over:Ue,setActivatorNodeRef:ee,transform:Se}=Zr({id:s,data:S,attributes:{...Ro,...n},disabled:b.draggable}),We=zn(N,Re),z=!!I,te=z&&!w&&Ve(h)&&Ve(p),ge=!m&&B,Ee=ge&&te?Se:null,qe=te?Ee??(a??y)({rects:v,activeNodeRect:H,activeIndex:h,overIndex:p,index:R}):null,ie=Ve(h)&&Ve(p)?i({id:s,items:f,activeIndex:h,overIndex:p}):R,ne=I?.id,A=l.useRef({activeId:ne,items:f,newIndex:ie,containerId:d}),Ae=f!==A.current.items,G=t({active:I,containerId:d,isDragging:B,isSorting:z,id:s,index:R,items:f,newIndex:A.current.newIndex,previousItems:A.current.items,previousContainerId:A.current.containerId,transition:u,wasDragging:A.current.activeId!=null}),he=So({disabled:!G,index:R,node:D,rect:x});return l.useEffect(()=>{z&&A.current.newIndex!==ie&&(A.current.newIndex=ie),d!==A.current.containerId&&(A.current.containerId=d),f!==A.current.items&&(A.current.items=f)},[z,ie,d,f]),l.useEffect(()=>{if(ne===A.current.activeId)return;if(ne!=null&&A.current.activeId==null){A.current.activeId=ne;return}const ve=setTimeout(()=>{A.current.activeId=ne},50);return()=>clearTimeout(ve)},[ne]),{active:I,activeIndex:h,attributes:J,data:S,rect:x,index:R,newIndex:ie,items:f,isOver:M,isSorting:z,isDragging:B,listeners:Ke,node:D,overIndex:p,over:Ue,setNodeRef:We,setActivatorNodeRef:ee,setDroppableNodeRef:N,setDraggableNodeRef:Re,transform:he??qe,transition:re()};function re(){if(he||Ae&&A.current.newIndex===R)return Co;if(!(ge&&!it(q)||!u)&&(z||G))return fe.Transition.toString({...u,property:Dn})}}function Ao(e,t){var n,r;return typeof e=="boolean"?{draggable:e,droppable:!1}:{draggable:(n=e?.draggable)!=null?n:t.draggable,droppable:(r=e?.droppable)!=null?r:t.droppable}}function nt(e){if(!e)return!1;const t=e.data.current;return!!(t&&"sortable"in t&&typeof t.sortable=="object"&&"containerId"in t.sortable&&"items"in t.sortable&&"index"in t.sortable)}const Io=[C.Down,C.Right,C.Up,C.Left],Mo=(e,t)=>{let{context:{active:n,collisionRect:r,droppableRects:o,droppableContainers:i,over:s,scrollableAncestors:a}}=t;if(Io.includes(e.code)){if(e.preventDefault(),!n||!r)return;const c=[];i.getEnabled().forEach(d=>{if(!d||d!=null&&d.disabled)return;const h=o.get(d.id);if(h)switch(e.code){case C.Down:r.top<h.top&&c.push(d);break;case C.Up:r.top>h.top&&c.push(d);break;case C.Left:r.left>h.left&&c.push(d);break;case C.Right:r.left<h.left&&c.push(d);break}});const u=nr({collisionRect:r,droppableRects:o,droppableContainers:c});let f=tn(u,"id");if(f===s?.id&&u.length>1&&(f=u[1].id),f!=null){const d=i.get(n.id),h=i.get(f),g=h?o.get(h.id):null,w=h?.node.current;if(w&&g&&d&&h){const p=st(w).some((E,x)=>a[x]!==E),m=Cn(d,h),y=Oo(d,h),b=p||!m?{x:0,y:0}:{x:y?r.width-g.width:0,y:y?r.height-g.height:0},R={x:g.left,y:g.top};return b.x&&b.y?R:ze(R,b)}}}};function Cn(e,t){return!nt(e)||!nt(t)?!1:e.data.current.sortable.containerId===t.data.current.sortable.containerId}function Oo(e,t){return!nt(e)||!nt(t)||!Cn(e,t)?!1:e.data.current.sortable.index<t.data.current.sortable.index}const Rn=l.createContext({attributes:void 0,listeners:void 0,ref(){}}),No=({...e})=>{const{attributes:t,listeners:n,ref:r}=l.useContext(Rn),o=Et();return W.jsxRuntimeExports.jsx(Ln.Button,{className:"SortableList__DragHandle","data-testid":"kibble-sortable-list-drag-handle",ref:r,cursor:o.activatorEvent?"grabbing":"grab",iconName:"grid",size:"sm",variant:"ghostNeutral",...t,...n,...e})},Jt=({content:e,hideHandle:t,id:n,itemProps:r})=>{const{attributes:o,isDragging:i,listeners:s,setNodeRef:a,setActivatorNodeRef:c,transform:u,transition:f}=Eo({id:n}),d=l.useMemo(()=>({attributes:o,listeners:s,ref:c}),[o,s,c]);return W.jsxRuntimeExports.jsx(Rn.Provider,{value:d,children:W.jsxRuntimeExports.jsx(Gt.ListItem,{className:"SortableList__Item","data-testid":"kibble-sortable-list-item",ref:a,...r,listStyleType:"none",...i&&{opacity:.4},transition:f,transform:fe.Translate.toString(u),children:W.jsxRuntimeExports.jsxs(jn.Flex,{alignItems:"center",gap:2,width:"100%",children:[!t&&W.jsxRuntimeExports.jsx(No,{}),typeof e=="string"?W.jsxRuntimeExports.jsx(kn.WrappedText,{size:"sm",children:e}):e]})})})},To=({hideHandle:e=!1,items:t,itemsProps:n,onChange:r,...o})=>{const[i,s]=l.useState(null),a=l.useMemo(()=>t.find(u=>u.id===i?.id),[i,t]),c=Gn(zt(Rt),zt(Dt,{coordinateGetter:Mo}));return W.jsxRuntimeExports.jsx(Jr,{sensors:c,onDragStart:({active:u})=>{s(u)},onDragEnd:({active:u,over:f})=>{if(f&&u.id!==f?.id){const d=t.findIndex(({id:g})=>g===u.id),h=t.findIndex(({id:g})=>g===f.id);r(At(t,d,h))}s(null)},onDragCancel:()=>s(null),children:W.jsxRuntimeExports.jsx(yo,{items:t,children:W.jsxRuntimeExports.jsxs(Gt.ListRoot,{className:"SortableList","data-testid":"kibble-sortable-list",gap:2,...o,children:[t.map(u=>W.jsxRuntimeExports.jsx(Jt,{...u,itemProps:n,hideHandle:e},u.id)),a&&W.jsxRuntimeExports.jsx(vo,{dropAnimation:Lo,children:W.jsxRuntimeExports.jsx(Jt,{...a,itemProps:n,hideHandle:e})})]})})})},Lo={sideEffects:mn({styles:{active:{opacity:"0.4"}}})};exports.SortableList=To;
6
- //# sourceMappingURL=sortableList.component-vxiA7bvr.js.map
5
+ `},Vn={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was moved over droppable area "+n.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was dropped over droppable area "+n.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function Jn(e){let{announcements:t=Vn,container:n,hiddenTextDescribedById:r,screenReaderInstructions:o=_n}=e;const{announce:i,announcement:s}=Wn(),a=$e("DndLiveRegion"),[c,f]=l.useState(!1);if(l.useEffect(()=>{f(!0)},[]),qn(l.useMemo(()=>({onDragStart(d){let{active:g}=d;i(t.onDragStart({active:g}))},onDragMove(d){let{active:g,over:h}=d;t.onDragMove&&i(t.onDragMove({active:g,over:h}))},onDragOver(d){let{active:g,over:h}=d;i(t.onDragOver({active:g,over:h}))},onDragEnd(d){let{active:g,over:h}=d;i(t.onDragEnd({active:g,over:h}))},onDragCancel(d){let{active:g,over:h}=d;i(t.onDragCancel({active:g,over:h}))}}),[i,t])),!c)return null;const u=O.default.createElement(O.default.Fragment,null,O.default.createElement(Kn,{id:r,value:o.draggable}),O.default.createElement(Un,{id:a,announcement:s}));return n?Te.reactDomExports.createPortal(u,n):u}var T;(function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"})(T||(T={}));function et(){}function zt(e,t){return l.useMemo(()=>({sensor:e,options:t??{}}),[e,t])}function Gn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return l.useMemo(()=>[...t].filter(r=>r!=null),[...t])}const V=Object.freeze({x:0,y:0});function Qn(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function Zn(e,t){const n=Ze(e);if(!n)return"0 0";const r={x:(n.x-t.left)/t.width*100,y:(n.y-t.top)/t.height*100};return r.x+"% "+r.y+"%"}function er(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return n-r}function tr(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function Bt(e){let{left:t,top:n,height:r,width:o}=e;return[{x:t,y:n},{x:t+o,y:n},{x:t,y:n+r},{x:t+o,y:n+r}]}function tn(e,t){if(!e||e.length===0)return null;const[n]=e;return n[t]}const nr=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const o=Bt(t),i=[];for(const s of r){const{id:a}=s,c=n.get(a);if(c){const f=Bt(c),u=o.reduce((g,h,b)=>g+Qn(f[b],h),0),d=Number((u/4).toFixed(4));i.push({id:a,data:{droppableContainer:s,value:d}})}}return i.sort(er)};function rr(e,t){const n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),o=Math.min(t.left+t.width,e.left+e.width),i=Math.min(t.top+t.height,e.top+e.height),s=o-r,a=i-n;if(r<o&&n<i){const c=t.width*t.height,f=e.width*e.height,u=s*a,d=u/(c+f-u);return Number(d.toFixed(4))}return 0}const or=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const o=[];for(const i of r){const{id:s}=i,a=n.get(s);if(a){const c=rr(a,t);c>0&&o.push({id:s,data:{droppableContainer:i,value:c}})}}return o.sort(tr)};function ir(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}function nn(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:V}function sr(e){return function(n){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return o.reduce((s,a)=>({...s,top:s.top+e*a.y,bottom:s.bottom+e*a.y,left:s.left+e*a.x,right:s.right+e*a.x}),{...n})}}const ar=sr(1);function rn(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}else if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function lr(e,t,n){const r=rn(t);if(!r)return e;const{scaleX:o,scaleY:i,x:s,y:a}=r,c=e.left-s-(1-o)*parseFloat(n),f=e.top-a-(1-i)*parseFloat(n.slice(n.indexOf(" ")+1)),u=o?e.width/o:e.width,d=i?e.height/i:e.height;return{width:u,height:d,top:f,right:c+u,bottom:f+d,left:c}}const cr={ignoreTransform:!1};function Ce(e,t){t===void 0&&(t=cr);let n=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:f,transformOrigin:u}=P(e).getComputedStyle(e);f&&(n=lr(n,f,u))}const{top:r,left:o,width:i,height:s,bottom:a,right:c}=n;return{top:r,left:o,width:i,height:s,bottom:a,right:c}}function Ft(e){return Ce(e,{ignoreTransform:!0})}function ur(e){const t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}function dr(e,t){return t===void 0&&(t=P(e).getComputedStyle(e)),t.position==="fixed"}function fr(e,t){t===void 0&&(t=P(e).getComputedStyle(e));const n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(o=>{const i=t[o];return typeof i=="string"?n.test(i):!1})}function st(e,t){const n=[];function r(o){if(t!=null&&n.length>=t||!o)return n;if(xt(o)&&o.scrollingElement!=null&&!n.includes(o.scrollingElement))return n.push(o.scrollingElement),n;if(!Fe(o)||Qt(o)||n.includes(o))return n;const i=P(e).getComputedStyle(o);return o!==e&&fr(o,i)&&n.push(o),dr(o,i)?n:r(o.parentNode)}return e?r(e):n}function on(e){const[t]=st(e,1);return t??null}function gt(e){return!rt||!e?null:we(e)?e:yt(e)?xt(e)||e===De(e).scrollingElement?window:Fe(e)?e:null:null}function sn(e){return we(e)?e.scrollX:e.scrollLeft}function an(e){return we(e)?e.scrollY:e.scrollTop}function pt(e){return{x:sn(e),y:an(e)}}var L;(function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"})(L||(L={}));function ln(e){return!rt||!e?!1:e===document.scrollingElement}function cn(e){const t={x:0,y:0},n=ln(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height},o=e.scrollTop<=t.y,i=e.scrollLeft<=t.x,s=e.scrollTop>=r.y,a=e.scrollLeft>=r.x;return{isTop:o,isLeft:i,isBottom:s,isRight:a,maxScroll:r,minScroll:t}}const gr={x:.2,y:.2};function hr(e,t,n,r,o){let{top:i,left:s,right:a,bottom:c}=n;r===void 0&&(r=10),o===void 0&&(o=gr);const{isTop:f,isBottom:u,isLeft:d,isRight:g}=cn(e),h={x:0,y:0},b={x:0,y:0},v={height:t.height*o.y,width:t.width*o.x};return!f&&i<=t.top+v.height?(h.y=L.Backward,b.y=r*Math.abs((t.top+v.height-i)/v.height)):!u&&c>=t.bottom-v.height&&(h.y=L.Forward,b.y=r*Math.abs((t.bottom-v.height-c)/v.height)),!g&&a>=t.right-v.width?(h.x=L.Forward,b.x=r*Math.abs((t.right-v.width-a)/v.width)):!d&&s<=t.left+v.width&&(h.x=L.Backward,b.x=r*Math.abs((t.left+v.width-s)/v.width)),{direction:h,speed:b}}function vr(e){if(e===document.scrollingElement){const{innerWidth:i,innerHeight:s}=window;return{top:0,left:0,right:i,bottom:s,width:i,height:s}}const{top:t,left:n,right:r,bottom:o}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:o,width:e.clientWidth,height:e.clientHeight}}function un(e){return e.reduce((t,n)=>xe(t,pt(n)),V)}function pr(e){return e.reduce((t,n)=>t+sn(n),0)}function br(e){return e.reduce((t,n)=>t+an(n),0)}function dn(e,t){if(t===void 0&&(t=Ce),!e)return;const{top:n,left:r,bottom:o,right:i}=t(e);on(e)&&(o<=0||i<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const mr=[["x",["left","right"],pr],["y",["top","bottom"],br]];class wt{constructor(t,n){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const r=st(n),o=un(r);this.rect={...t},this.width=t.width,this.height=t.height;for(const[i,s,a]of mr)for(const c of s)Object.defineProperty(this,c,{get:()=>{const f=a(r),u=o[i]-f;return this.rect[c]+u},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class Le{constructor(t){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(n=>{var r;return(r=this.target)==null?void 0:r.removeEventListener(...n)})},this.target=t}add(t,n,r){var o;(o=this.target)==null||o.addEventListener(t,n,r),this.listeners.push([t,n,r])}}function yr(e){const{EventTarget:t}=P(e);return e instanceof t?e:De(e)}function ht(e,t){const n=Math.abs(e.x),r=Math.abs(e.y);return typeof t=="number"?Math.sqrt(n**2+r**2)>t:"x"in t&&"y"in t?n>t.x&&r>t.y:"x"in t?n>t.x:"y"in t?r>t.y:!1}var U;(function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"})(U||(U={}));function Xt(e){e.preventDefault()}function xr(e){e.stopPropagation()}var C;(function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter",e.Tab="Tab"})(C||(C={}));const fn={start:[C.Space,C.Enter],cancel:[C.Esc],end:[C.Space,C.Enter,C.Tab]},wr=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case C.Right:return{...n,x:n.x+25};case C.Left:return{...n,x:n.x-25};case C.Down:return{...n,y:n.y+25};case C.Up:return{...n,y:n.y-25}}};class Dt{constructor(t){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=t;const{event:{target:n}}=t;this.props=t,this.listeners=new Le(De(n)),this.windowListeners=new Le(P(n)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(U.Resize,this.handleCancel),this.windowListeners.add(U.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(U.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:t,onStart:n}=this.props,r=t.node.current;r&&dn(r),n(V)}handleKeyDown(t){if(it(t)){const{active:n,context:r,options:o}=this.props,{keyboardCodes:i=fn,coordinateGetter:s=wr,scrollBehavior:a="smooth"}=o,{code:c}=t;if(i.end.includes(c)){this.handleEnd(t);return}if(i.cancel.includes(c)){this.handleCancel(t);return}const{collisionRect:f}=r.current,u=f?{x:f.left,y:f.top}:V;this.referenceCoordinates||(this.referenceCoordinates=u);const d=s(t,{active:n,context:r.current,currentCoordinates:u});if(d){const g=ze(d,u),h={x:0,y:0},{scrollableAncestors:b}=r.current;for(const v of b){const p=t.code,{isTop:y,isRight:x,isLeft:m,isBottom:R,maxScroll:S,minScroll:E}=cn(v),w=vr(v),D={x:Math.min(p===C.Right?w.right-w.width/2:w.right,Math.max(p===C.Right?w.left:w.left+w.width/2,d.x)),y:Math.min(p===C.Down?w.bottom-w.height/2:w.bottom,Math.max(p===C.Down?w.top:w.top+w.height/2,d.y))},M=p===C.Right&&!x||p===C.Left&&!m,N=p===C.Down&&!R||p===C.Up&&!y;if(M&&D.x!==d.x){const I=v.scrollLeft+g.x,q=p===C.Right&&I<=S.x||p===C.Left&&I>=E.x;if(q&&!g.y){v.scrollTo({left:I,behavior:a});return}q?h.x=v.scrollLeft-I:h.x=p===C.Right?v.scrollLeft-S.x:v.scrollLeft-E.x,h.x&&v.scrollBy({left:-h.x,behavior:a});break}else if(N&&D.y!==d.y){const I=v.scrollTop+g.y,q=p===C.Down&&I<=S.y||p===C.Up&&I>=E.y;if(q&&!g.x){v.scrollTo({top:I,behavior:a});return}q?h.y=v.scrollTop-I:h.y=p===C.Down?v.scrollTop-S.y:v.scrollTop-E.y,h.y&&v.scrollBy({top:-h.y,behavior:a});break}}this.handleMove(t,xe(ze(d,this.referenceCoordinates),h))}}}handleMove(t,n){const{onMove:r}=this.props;t.preventDefault(),r(n)}handleEnd(t){const{onEnd:n}=this.props;t.preventDefault(),this.detach(),n()}handleCancel(t){const{onCancel:n}=this.props;t.preventDefault(),this.detach(),n()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}Dt.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:r=fn,onActivation:o}=t,{active:i}=n;const{code:s}=e.nativeEvent;if(r.start.includes(s)){const a=i.activatorNode.current;return a&&e.target!==a?!1:(e.preventDefault(),o?.({event:e.nativeEvent}),!0)}return!1}}];function $t(e){return!!(e&&"distance"in e)}function Yt(e){return!!(e&&"delay"in e)}class Ct{constructor(t,n,r){var o;r===void 0&&(r=yr(t.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=t,this.events=n;const{event:i}=t,{target:s}=i;this.props=t,this.events=n,this.document=De(s),this.documentListeners=new Le(this.document),this.listeners=new Le(r),this.windowListeners=new Le(P(s)),this.initialCoordinates=(o=Ze(i))!=null?o:V,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:t,props:{options:{activationConstraint:n,bypassActivationConstraint:r}}}=this;if(this.listeners.add(t.move.name,this.handleMove,{passive:!1}),this.listeners.add(t.end.name,this.handleEnd),t.cancel&&this.listeners.add(t.cancel.name,this.handleCancel),this.windowListeners.add(U.Resize,this.handleCancel),this.windowListeners.add(U.DragStart,Xt),this.windowListeners.add(U.VisibilityChange,this.handleCancel),this.windowListeners.add(U.ContextMenu,Xt),this.documentListeners.add(U.Keydown,this.handleKeydown),n){if(r!=null&&r({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(Yt(n)){this.timeoutId=setTimeout(this.handleStart,n.delay),this.handlePending(n);return}if($t(n)){this.handlePending(n);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(t,n){const{active:r,onPending:o}=this.props;o(r,t,this.initialCoordinates,n)}handleStart(){const{initialCoordinates:t}=this,{onStart:n}=this.props;t&&(this.activated=!0,this.documentListeners.add(U.Click,xr,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(U.SelectionChange,this.removeTextSelection),n(t))}handleMove(t){var n;const{activated:r,initialCoordinates:o,props:i}=this,{onMove:s,options:{activationConstraint:a}}=i;if(!o)return;const c=(n=Ze(t))!=null?n:V,f=ze(o,c);if(!r&&a){if($t(a)){if(a.tolerance!=null&&ht(f,a.tolerance))return this.handleCancel();if(ht(f,a.distance))return this.handleStart()}if(Yt(a)&&ht(f,a.tolerance))return this.handleCancel();this.handlePending(a,f);return}t.cancelable&&t.preventDefault(),s(c)}handleEnd(){const{onAbort:t,onEnd:n}=this.props;this.detach(),this.activated||t(this.props.active),n()}handleCancel(){const{onAbort:t,onCancel:n}=this.props;this.detach(),this.activated||t(this.props.active),n()}handleKeydown(t){t.code===C.Esc&&this.handleCancel()}removeTextSelection(){var t;(t=this.document.getSelection())==null||t.removeAllRanges()}}const Dr={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class Rt extends Ct{constructor(t){const{event:n}=t,r=De(n.target);super(t,Dr,r)}}Rt.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!n.isPrimary||n.button!==0?!1:(r?.({event:n}),!0)}}];const Cr={move:{name:"mousemove"},end:{name:"mouseup"}};var bt;(function(e){e[e.RightClick=2]="RightClick"})(bt||(bt={}));class Rr extends Ct{constructor(t){super(t,Cr,De(t.event.target))}}Rr.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button===bt.RightClick?!1:(r?.({event:n}),!0)}}];const vt={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class Sr extends Ct{constructor(t){super(t,vt)}static setup(){return window.addEventListener(vt.move.name,t,{capture:!1,passive:!1}),function(){window.removeEventListener(vt.move.name,t)};function t(){}}}Sr.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;const{touches:o}=n;return o.length>1?!1:(r?.({event:n}),!0)}}];var ke;(function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"})(ke||(ke={}));var tt;(function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"})(tt||(tt={}));function Er(e){let{acceleration:t,activator:n=ke.Pointer,canScroll:r,draggingRect:o,enabled:i,interval:s=5,order:a=tt.TreeOrder,pointerCoordinates:c,scrollableAncestors:f,scrollableAncestorRects:u,delta:d,threshold:g}=e;const h=Ir({delta:d,disabled:!i}),[b,v]=Bn(),p=l.useRef({x:0,y:0}),y=l.useRef({x:0,y:0}),x=l.useMemo(()=>{switch(n){case ke.Pointer:return c?{top:c.y,bottom:c.y,left:c.x,right:c.x}:null;case ke.DraggableRect:return o}},[n,o,c]),m=l.useRef(null),R=l.useCallback(()=>{const E=m.current;if(!E)return;const w=p.current.x*y.current.x,D=p.current.y*y.current.y;E.scrollBy(w,D)},[]),S=l.useMemo(()=>a===tt.TreeOrder?[...f].reverse():f,[a,f]);l.useEffect(()=>{if(!i||!f.length||!x){v();return}for(const E of S){if(r?.(E)===!1)continue;const w=f.indexOf(E),D=u[w];if(!D)continue;const{direction:M,speed:N}=hr(E,D,x,t,g);for(const I of["x","y"])h[I][M[I]]||(N[I]=0,M[I]=0);if(N.x>0||N.y>0){v(),m.current=E,b(R,s),p.current=N,y.current=M;return}}p.current={x:0,y:0},y.current={x:0,y:0},v()},[t,R,r,v,i,s,JSON.stringify(x),JSON.stringify(h),b,f,S,u,JSON.stringify(g)])}const Ar={x:{[L.Backward]:!1,[L.Forward]:!1},y:{[L.Backward]:!1,[L.Forward]:!1}};function Ir(e){let{delta:t,disabled:n}=e;const r=Qe(t);return Xe(o=>{if(n||!r||!o)return Ar;const i={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)};return{x:{[L.Backward]:o.x[L.Backward]||i.x===-1,[L.Forward]:o.x[L.Forward]||i.x===1},y:{[L.Backward]:o.y[L.Backward]||i.y===-1,[L.Forward]:o.y[L.Forward]||i.y===1}}},[n,t,r])}function Mr(e,t){const n=t!=null?e.get(t):void 0,r=n?n.node.current:null;return Xe(o=>{var i;return t==null?null:(i=r??o)!=null?i:null},[r,t])}function Or(e,t){return l.useMemo(()=>e.reduce((n,r)=>{const{sensor:o}=r,i=o.activators.map(s=>({eventName:s.eventName,handler:t(s.handler,r)}));return[...n,...i]},[]),[e,t])}var Be;(function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"})(Be||(Be={}));var mt;(function(e){e.Optimized="optimized"})(mt||(mt={}));const Kt=new Map;function Nr(e,t){let{dragging:n,dependencies:r,config:o}=t;const[i,s]=l.useState(null),{frequency:a,measure:c,strategy:f}=o,u=l.useRef(e),d=p(),g=Pe(d),h=l.useCallback(function(y){y===void 0&&(y=[]),!g.current&&s(x=>x===null?y:x.concat(y.filter(m=>!x.includes(m))))},[g]),b=l.useRef(null),v=Xe(y=>{if(d&&!n)return Kt;if(!y||y===Kt||u.current!==e||i!=null){const x=new Map;for(let m of e){if(!m)continue;if(i&&i.length>0&&!i.includes(m.id)&&m.rect.current){x.set(m.id,m.rect.current);continue}const R=m.node.current,S=R?new wt(c(R),R):null;m.rect.current=S,S&&x.set(m.id,S)}return x}return y},[e,i,n,d,c]);return l.useEffect(()=>{u.current=e},[e]),l.useEffect(()=>{d||h()},[n,d]),l.useEffect(()=>{i&&i.length>0&&s(null)},[JSON.stringify(i)]),l.useEffect(()=>{d||typeof a!="number"||b.current!==null||(b.current=setTimeout(()=>{h(),b.current=null},a))},[a,d,h,...r]),{droppableRects:v,measureDroppableContainers:h,measuringScheduled:i!=null};function p(){switch(f){case Be.Always:return!1;case Be.BeforeDragging:return n;default:return!n}}}function St(e,t){return Xe(n=>e?n||(typeof t=="function"?t(e):e):null,[t,e])}function Tr(e,t){return St(e,t)}function Lr(e){let{callback:t,disabled:n}=e;const r=ot(t),o=l.useMemo(()=>{if(n||typeof window>"u"||typeof window.MutationObserver>"u")return;const{MutationObserver:i}=window;return new i(r)},[r,n]);return l.useEffect(()=>()=>o?.disconnect(),[o]),o}function at(e){let{callback:t,disabled:n}=e;const r=ot(t),o=l.useMemo(()=>{if(n||typeof window>"u"||typeof window.ResizeObserver>"u")return;const{ResizeObserver:i}=window;return new i(r)},[n]);return l.useEffect(()=>()=>o?.disconnect(),[o]),o}function kr(e){return new wt(Ce(e),e)}function Ut(e,t,n){t===void 0&&(t=kr);const[r,o]=l.useState(null);function i(){o(c=>{if(!e)return null;if(e.isConnected===!1){var f;return(f=c??n)!=null?f:null}const u=t(e);return JSON.stringify(c)===JSON.stringify(u)?c:u})}const s=Lr({callback(c){if(e)for(const f of c){const{type:u,target:d}=f;if(u==="childList"&&d instanceof HTMLElement&&d.contains(e)){i();break}}}}),a=at({callback:i});return _(()=>{i(),e?(a?.observe(e),s?.observe(document.body,{childList:!0,subtree:!0})):(a?.disconnect(),s?.disconnect())},[e]),r}function jr(e){const t=St(e);return nn(e,t)}const Wt=[];function Pr(e){const t=l.useRef(e),n=Xe(r=>e?r&&r!==Wt&&e&&t.current&&e.parentNode===t.current.parentNode?r:st(e):Wt,[e]);return l.useEffect(()=>{t.current=e},[e]),n}function zr(e){const[t,n]=l.useState(null),r=l.useRef(e),o=l.useCallback(i=>{const s=gt(i.target);s&&n(a=>a?(a.set(s,pt(s)),new Map(a)):null)},[]);return l.useEffect(()=>{const i=r.current;if(e!==i){s(i);const a=e.map(c=>{const f=gt(c);return f?(f.addEventListener("scroll",o,{passive:!0}),[f,pt(f)]):null}).filter(c=>c!=null);n(a.length?new Map(a):null),r.current=e}return()=>{s(e),s(i)};function s(a){a.forEach(c=>{const f=gt(c);f?.removeEventListener("scroll",o)})}},[o,e]),l.useMemo(()=>e.length?t?Array.from(t.values()).reduce((i,s)=>xe(i,s),V):un(e):V,[e,t])}function qt(e,t){t===void 0&&(t=[]);const n=l.useRef(null);return l.useEffect(()=>{n.current=null},t),l.useEffect(()=>{const r=e!==V;r&&!n.current&&(n.current=e),!r&&n.current&&(n.current=null)},[e]),n.current?ze(e,n.current):V}function Br(e){l.useEffect(()=>{if(!rt)return;const t=e.map(n=>{let{sensor:r}=n;return r.setup==null?void 0:r.setup()});return()=>{for(const n of t)n?.()}},e.map(t=>{let{sensor:n}=t;return n}))}function Fr(e,t){return l.useMemo(()=>e.reduce((n,r)=>{let{eventName:o,handler:i}=r;return n[o]=s=>{i(s,t)},n},{}),[e,t])}function gn(e){return l.useMemo(()=>e?ur(e):null,[e])}const Ht=[];function Xr(e,t){t===void 0&&(t=Ce);const[n]=e,r=gn(n?P(n):null),[o,i]=l.useState(Ht);function s(){i(()=>e.length?e.map(c=>ln(c)?r:new wt(t(c),c)):Ht)}const a=at({callback:s});return _(()=>{a?.disconnect(),s(),e.forEach(c=>a?.observe(c))},[e]),o}function hn(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return Fe(t)?t:e}function $r(e){let{measure:t}=e;const[n,r]=l.useState(null),o=l.useCallback(f=>{for(const{target:u}of f)if(Fe(u)){r(d=>{const g=t(u);return d?{...d,width:g.width,height:g.height}:g});break}},[t]),i=at({callback:o}),s=l.useCallback(f=>{const u=hn(f);i?.disconnect(),u&&i?.observe(u),r(u?t(u):null)},[t,i]),[a,c]=Ge(s);return l.useMemo(()=>({nodeRef:a,rect:n,setRef:c}),[n,a,c])}const Yr=[{sensor:Rt,options:{}},{sensor:Dt,options:{}}],Kr={current:{}},Je={draggable:{measure:Ft},droppable:{measure:Ft,strategy:Be.WhileDragging,frequency:mt.Optimized},dragOverlay:{measure:Ce}};class je extends Map{get(t){var n;return t!=null&&(n=super.get(t))!=null?n:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(t=>{let{disabled:n}=t;return!n})}getNodeFor(t){var n,r;return(n=(r=this.get(t))==null?void 0:r.node.current)!=null?n:void 0}}const Ur={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new je,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:et},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Je,measureDroppableContainers:et,windowRect:null,measuringScheduled:!1},vn={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:et,draggableNodes:new Map,over:null,measureDroppableContainers:et},Ye=l.createContext(vn),pn=l.createContext(Ur);function Wr(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new je}}}function qr(e,t){switch(t.type){case T.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case T.DragMove:return e.draggable.active==null?e:{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}};case T.DragEnd:case T.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case T.RegisterDroppable:{const{element:n}=t,{id:r}=n,o=new je(e.droppable.containers);return o.set(r,n),{...e,droppable:{...e.droppable,containers:o}}}case T.SetDroppableDisabled:{const{id:n,key:r,disabled:o}=t,i=e.droppable.containers.get(n);if(!i||r!==i.key)return e;const s=new je(e.droppable.containers);return s.set(n,{...i,disabled:o}),{...e,droppable:{...e.droppable,containers:s}}}case T.UnregisterDroppable:{const{id:n,key:r}=t,o=e.droppable.containers.get(n);if(!o||r!==o.key)return e;const i=new je(e.droppable.containers);return i.delete(n),{...e,droppable:{...e.droppable,containers:i}}}default:return e}}function Hr(e){let{disabled:t}=e;const{active:n,activatorEvent:r,draggableNodes:o}=l.useContext(Ye),i=Qe(r),s=Qe(n?.id);return l.useEffect(()=>{if(!t&&!r&&i&&s!=null){if(!it(i)||document.activeElement===i.target)return;const a=o.get(s);if(!a)return;const{activatorNode:c,node:f}=a;if(!c.current&&!f.current)return;requestAnimationFrame(()=>{for(const u of[c.current,f.current]){if(!u)continue;const d=$n(u);if(d){d.focus();break}}})}},[r,t,o,s,i]),null}function bn(e,t){let{transform:n,...r}=t;return e!=null&&e.length?e.reduce((o,i)=>i({transform:o,...r}),n):n}function _r(e){return l.useMemo(()=>({draggable:{...Je.draggable,...e?.draggable},droppable:{...Je.droppable,...e?.droppable},dragOverlay:{...Je.dragOverlay,...e?.dragOverlay}}),[e?.draggable,e?.droppable,e?.dragOverlay])}function Vr(e){let{activeNode:t,measure:n,initialRect:r,config:o=!0}=e;const i=l.useRef(!1),{x:s,y:a}=typeof o=="boolean"?{x:o,y:o}:o;_(()=>{if(!s&&!a||!t){i.current=!1;return}if(i.current||!r)return;const f=t?.node.current;if(!f||f.isConnected===!1)return;const u=n(f),d=nn(u,r);if(s||(d.x=0),a||(d.y=0),i.current=!0,Math.abs(d.x)>0||Math.abs(d.y)>0){const g=on(f);g&&g.scrollBy({top:d.y,left:d.x})}},[t,s,a,r,n])}const lt=l.createContext({...V,scaleX:1,scaleY:1});var de;(function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"})(de||(de={}));const Jr=l.memo(function(t){var n,r,o,i;let{id:s,accessibility:a,autoScroll:c=!0,children:f,sensors:u=Yr,collisionDetection:d=or,measuring:g,modifiers:h,...b}=t;const v=l.useReducer(qr,void 0,Wr),[p,y]=v,[x,m]=Hn(),[R,S]=l.useState(de.Uninitialized),E=R===de.Initialized,{draggable:{active:w,nodes:D,translate:M},droppable:{containers:N}}=p,I=w!=null?D.get(w):null,q=l.useRef({initial:null,translated:null}),H=l.useMemo(()=>{var j;return w!=null?{id:w,data:(j=I?.data)!=null?j:Kr,rect:q}:null},[w,I]),J=l.useRef(null),[Re,Ke]=l.useState(null),[B,Ue]=l.useState(null),ee=Pe(b,Object.values(b)),Se=$e("DndDescribedBy",s),We=l.useMemo(()=>N.getEnabled(),[N]),z=_r(g),{droppableRects:te,measureDroppableContainers:ge,measuringScheduled:Ee}=Nr(We,{dragging:E,dependencies:[M.x,M.y],config:z.droppable}),Y=Mr(D,w),qe=l.useMemo(()=>B?Ze(B):null,[B]),ie=Tn(),ne=Tr(Y,z.draggable.measure);Vr({activeNode:w!=null?D.get(w):null,config:ie.layoutShiftCompensation,initialRect:ne,measure:z.draggable.measure});const A=Ut(Y,z.draggable.measure,ne),Ae=Ut(Y?Y.parentElement:null),G=l.useRef({activatorEvent:null,active:null,activeNode:Y,collisionRect:null,collisions:null,droppableRects:te,draggableNodes:D,draggingNode:null,draggingNodeRect:null,droppableContainers:N,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),he=N.getNodeFor((n=G.current.over)==null?void 0:n.id),re=$r({measure:z.dragOverlay.measure}),ve=(r=re.nodeRef.current)!=null?r:Y,pe=E?(o=re.rect)!=null?o:A:null,It=!!(re.nodeRef.current&&re.rect),Mt=jr(It?null:A),ct=gn(ve?P(ve):null),se=Pr(E?he??Y:null),He=Xr(se),_e=bn(h,{transform:{x:M.x-Mt.x,y:M.y-Mt.y,scaleX:1,scaleY:1},activatorEvent:B,active:H,activeNodeRect:A,containerNodeRect:Ae,draggingNodeRect:pe,over:G.current.over,overlayNodeRect:re.rect,scrollableAncestors:se,scrollableAncestorRects:He,windowRect:ct}),Ot=qe?xe(qe,M):null,Nt=zr(se),Sn=qt(Nt),En=qt(Nt,[A]),be=xe(_e,Sn),me=pe?ar(pe,_e):null,Ie=H&&me?d({active:H,collisionRect:me,droppableRects:te,droppableContainers:We,pointerCoordinates:Ot}):null,Tt=tn(Ie,"id"),[ae,Lt]=l.useState(null),An=It?_e:xe(_e,En),In=ir(An,(i=ae?.rect)!=null?i:null,A),ut=l.useRef(null),kt=l.useCallback((j,F)=>{let{sensor:X,options:le}=F;if(J.current==null)return;const K=D.get(J.current);if(!K)return;const $=j.nativeEvent,Q=new X({active:J.current,activeNode:K,event:$,options:le,context:G,onAbort(k){if(!D.get(k))return;const{onDragAbort:Z}=ee.current,oe={id:k};Z?.(oe),x({type:"onDragAbort",event:oe})},onPending(k,ce,Z,oe){if(!D.get(k))return;const{onDragPending:Oe}=ee.current,ue={id:k,constraint:ce,initialCoordinates:Z,offset:oe};Oe?.(ue),x({type:"onDragPending",event:ue})},onStart(k){const ce=J.current;if(ce==null)return;const Z=D.get(ce);if(!Z)return;const{onDragStart:oe}=ee.current,Me={activatorEvent:$,active:{id:ce,data:Z.data,rect:q}};Te.reactDomExports.unstable_batchedUpdates(()=>{oe?.(Me),S(de.Initializing),y({type:T.DragStart,initialCoordinates:k,active:ce}),x({type:"onDragStart",event:Me}),Ke(ut.current),Ue($)})},onMove(k){y({type:T.DragMove,coordinates:k})},onEnd:ye(T.DragEnd),onCancel:ye(T.DragCancel)});ut.current=Q;function ye(k){return async function(){const{active:Z,collisions:oe,over:Me,scrollAdjustedTranslate:Oe}=G.current;let ue=null;if(Z&&Oe){const{cancelDrop:Ne}=ee.current;ue={activatorEvent:$,active:Z,collisions:oe,delta:Oe,over:Me},k===T.DragEnd&&typeof Ne=="function"&&await Promise.resolve(Ne(ue))&&(k=T.DragCancel)}J.current=null,Te.reactDomExports.unstable_batchedUpdates(()=>{y({type:k}),S(de.Uninitialized),Lt(null),Ke(null),Ue(null),ut.current=null;const Ne=k===T.DragEnd?"onDragEnd":"onDragCancel";if(ue){const dt=ee.current[Ne];dt?.(ue),x({type:Ne,event:ue})}})}}},[D]),Mn=l.useCallback((j,F)=>(X,le)=>{const K=X.nativeEvent,$=D.get(le);if(J.current!==null||!$||K.dndKit||K.defaultPrevented)return;const Q={active:$};j(X,F.options,Q)===!0&&(K.dndKit={capturedBy:F.sensor},J.current=le,kt(X,F))},[D,kt]),jt=Or(u,Mn);Br(u),_(()=>{A&&R===de.Initializing&&S(de.Initialized)},[A,R]),l.useEffect(()=>{const{onDragMove:j}=ee.current,{active:F,activatorEvent:X,collisions:le,over:K}=G.current;if(!F||!X)return;const $={active:F,activatorEvent:X,collisions:le,delta:{x:be.x,y:be.y},over:K};Te.reactDomExports.unstable_batchedUpdates(()=>{j?.($),x({type:"onDragMove",event:$})})},[be.x,be.y]),l.useEffect(()=>{const{active:j,activatorEvent:F,collisions:X,droppableContainers:le,scrollAdjustedTranslate:K}=G.current;if(!j||J.current==null||!F||!K)return;const{onDragOver:$}=ee.current,Q=le.get(Tt),ye=Q&&Q.rect.current?{id:Q.id,rect:Q.rect.current,data:Q.data,disabled:Q.disabled}:null,k={active:j,activatorEvent:F,collisions:X,delta:{x:K.x,y:K.y},over:ye};Te.reactDomExports.unstable_batchedUpdates(()=>{Lt(ye),$?.(k),x({type:"onDragOver",event:k})})},[Tt]),_(()=>{G.current={activatorEvent:B,active:H,activeNode:Y,collisionRect:me,collisions:Ie,droppableRects:te,draggableNodes:D,draggingNode:ve,draggingNodeRect:pe,droppableContainers:N,over:ae,scrollableAncestors:se,scrollAdjustedTranslate:be},q.current={initial:pe,translated:me}},[H,Y,Ie,me,D,ve,pe,te,N,ae,se,be]),Er({...ie,delta:M,draggingRect:me,pointerCoordinates:Ot,scrollableAncestors:se,scrollableAncestorRects:He});const On=l.useMemo(()=>({active:H,activeNode:Y,activeNodeRect:A,activatorEvent:B,collisions:Ie,containerNodeRect:Ae,dragOverlay:re,draggableNodes:D,droppableContainers:N,droppableRects:te,over:ae,measureDroppableContainers:ge,scrollableAncestors:se,scrollableAncestorRects:He,measuringConfiguration:z,measuringScheduled:Ee,windowRect:ct}),[H,Y,A,B,Ie,Ae,re,D,N,te,ae,ge,se,He,z,Ee,ct]),Nn=l.useMemo(()=>({activatorEvent:B,activators:jt,active:H,activeNodeRect:A,ariaDescribedById:{draggable:Se},dispatch:y,draggableNodes:D,over:ae,measureDroppableContainers:ge}),[B,jt,H,A,y,Se,D,ae,ge]);return O.default.createElement(en.Provider,{value:m},O.default.createElement(Ye.Provider,{value:Nn},O.default.createElement(pn.Provider,{value:On},O.default.createElement(lt.Provider,{value:In},f)),O.default.createElement(Hr,{disabled:a?.restoreFocus===!1})),O.default.createElement(Jn,{...a,hiddenTextDescribedById:Se}));function Tn(){const j=Re?.autoScrollEnabled===!1,F=typeof c=="object"?c.enabled===!1:c===!1,X=E&&!j&&!F;return typeof c=="object"?{...c,enabled:X}:{enabled:X}}}),Gr=l.createContext(null),_t="button",Qr="Draggable";function Zr(e){let{id:t,data:n,disabled:r=!1,attributes:o}=e;const i=$e(Qr),{activators:s,activatorEvent:a,active:c,activeNodeRect:f,ariaDescribedById:u,draggableNodes:d,over:g}=l.useContext(Ye),{role:h=_t,roleDescription:b="draggable",tabIndex:v=0}=o??{},p=c?.id===t,y=l.useContext(p?lt:Gr),[x,m]=Ge(),[R,S]=Ge(),E=Fr(s,t),w=Pe(n);_(()=>(d.set(t,{id:t,key:i,node:x,activatorNode:R,data:w}),()=>{const M=d.get(t);M&&M.key===i&&d.delete(t)}),[d,t]);const D=l.useMemo(()=>({role:h,tabIndex:v,"aria-disabled":r,"aria-pressed":p&&h===_t?!0:void 0,"aria-roledescription":b,"aria-describedby":u.draggable}),[r,h,v,p,b,u.draggable]);return{active:c,activatorEvent:a,activeNodeRect:f,attributes:D,isDragging:p,listeners:r?void 0:E,node:x,over:g,setNodeRef:m,setActivatorNodeRef:S,transform:y}}function Et(){return l.useContext(pn)}const eo="Droppable",to={timeout:25};function no(e){let{data:t,disabled:n=!1,id:r,resizeObserverConfig:o}=e;const i=$e(eo),{active:s,dispatch:a,over:c,measureDroppableContainers:f}=l.useContext(Ye),u=l.useRef({disabled:n}),d=l.useRef(!1),g=l.useRef(null),h=l.useRef(null),{disabled:b,updateMeasurementsFor:v,timeout:p}={...to,...o},y=Pe(v??r),x=l.useCallback(()=>{if(!d.current){d.current=!0;return}h.current!=null&&clearTimeout(h.current),h.current=setTimeout(()=>{f(Array.isArray(y.current)?y.current:[y.current]),h.current=null},p)},[p]),m=at({callback:x,disabled:b||!s}),R=l.useCallback((D,M)=>{m&&(M&&(m.unobserve(M),d.current=!1),D&&m.observe(D))},[m]),[S,E]=Ge(R),w=Pe(t);return l.useEffect(()=>{!m||!S.current||(m.disconnect(),d.current=!1,m.observe(S.current))},[S,m]),l.useEffect(()=>(a({type:T.RegisterDroppable,element:{id:r,key:i,disabled:n,node:S,rect:g,data:w}}),()=>a({type:T.UnregisterDroppable,key:i,id:r})),[r]),l.useEffect(()=>{n!==u.current.disabled&&(a({type:T.SetDroppableDisabled,id:r,key:i,disabled:n}),u.current.disabled=n)},[r,i,n,a]),{active:s,rect:g,isOver:c?.id===r,node:S,over:c,setNodeRef:E}}function ro(e){let{animation:t,children:n}=e;const[r,o]=l.useState(null),[i,s]=l.useState(null),a=Qe(n);return!n&&!r&&a&&o(a),_(()=>{if(!i)return;const c=r?.key,f=r?.props.id;if(c==null||f==null){o(null);return}Promise.resolve(t(f,i)).then(()=>{o(null)})},[t,r,i]),O.default.createElement(O.default.Fragment,null,n,r?l.cloneElement(r,{ref:s}):null)}const oo={x:0,y:0,scaleX:1,scaleY:1};function io(e){let{children:t}=e;return O.default.createElement(Ye.Provider,{value:vn},O.default.createElement(lt.Provider,{value:oo},t))}const so={position:"fixed",touchAction:"none"},ao=e=>it(e)?"transform 250ms ease":void 0,lo=l.forwardRef((e,t)=>{let{as:n,activatorEvent:r,adjustScale:o,children:i,className:s,rect:a,style:c,transform:f,transition:u=ao}=e;if(!a)return null;const d=o?f:{...f,scaleX:1,scaleY:1},g={...so,width:a.width,height:a.height,top:a.top,left:a.left,transform:fe.Transform.toString(d),transformOrigin:o&&r?Zn(r,a):void 0,transition:typeof u=="function"?u(r):u,...c};return O.default.createElement(n,{className:s,style:g,ref:t},i)}),mn=e=>t=>{let{active:n,dragOverlay:r}=t;const o={},{styles:i,className:s}=e;if(i!=null&&i.active)for(const[a,c]of Object.entries(i.active))c!==void 0&&(o[a]=n.node.style.getPropertyValue(a),n.node.style.setProperty(a,c));if(i!=null&&i.dragOverlay)for(const[a,c]of Object.entries(i.dragOverlay))c!==void 0&&r.node.style.setProperty(a,c);return s!=null&&s.active&&n.node.classList.add(s.active),s!=null&&s.dragOverlay&&r.node.classList.add(s.dragOverlay),function(){for(const[c,f]of Object.entries(o))n.node.style.setProperty(c,f);s!=null&&s.active&&n.node.classList.remove(s.active)}},co=e=>{let{transform:{initial:t,final:n}}=e;return[{transform:fe.Transform.toString(t)},{transform:fe.Transform.toString(n)}]},uo={duration:250,easing:"ease",keyframes:co,sideEffects:mn({styles:{active:{opacity:"0"}}})};function fo(e){let{config:t,draggableNodes:n,droppableContainers:r,measuringConfiguration:o}=e;return ot((i,s)=>{if(t===null)return;const a=n.get(i);if(!a)return;const c=a.node.current;if(!c)return;const f=hn(s);if(!f)return;const{transform:u}=P(s).getComputedStyle(s),d=rn(u);if(!d)return;const g=typeof t=="function"?t:go(t);return dn(c,o.draggable.measure),g({active:{id:i,data:a.data,node:c,rect:o.draggable.measure(c)},draggableNodes:n,dragOverlay:{node:s,rect:o.dragOverlay.measure(f)},droppableContainers:r,measuringConfiguration:o,transform:d})})}function go(e){const{duration:t,easing:n,sideEffects:r,keyframes:o}={...uo,...e};return i=>{let{active:s,dragOverlay:a,transform:c,...f}=i;if(!t)return;const u={x:a.rect.left-s.rect.left,y:a.rect.top-s.rect.top},d={scaleX:c.scaleX!==1?s.rect.width*c.scaleX/a.rect.width:1,scaleY:c.scaleY!==1?s.rect.height*c.scaleY/a.rect.height:1},g={x:c.x-u.x,y:c.y-u.y,...d},h=o({...f,active:s,dragOverlay:a,transform:{initial:c,final:g}}),[b]=h,v=h[h.length-1];if(JSON.stringify(b)===JSON.stringify(v))return;const p=r?.({active:s,dragOverlay:a,...f}),y=a.node.animate(h,{duration:t,easing:n,fill:"forwards"});return new Promise(x=>{y.onfinish=()=>{p?.(),x()}})}}let Vt=0;function ho(e){return l.useMemo(()=>{if(e!=null)return Vt++,Vt},[e])}const vo=O.default.memo(e=>{let{adjustScale:t=!1,children:n,dropAnimation:r,style:o,transition:i,modifiers:s,wrapperElement:a="div",className:c,zIndex:f=999}=e;const{activatorEvent:u,active:d,activeNodeRect:g,containerNodeRect:h,draggableNodes:b,droppableContainers:v,dragOverlay:p,over:y,measuringConfiguration:x,scrollableAncestors:m,scrollableAncestorRects:R,windowRect:S}=Et(),E=l.useContext(lt),w=ho(d?.id),D=bn(s,{activatorEvent:u,active:d,activeNodeRect:g,containerNodeRect:h,draggingNodeRect:p.rect,over:y,overlayNodeRect:p.rect,scrollableAncestors:m,scrollableAncestorRects:R,transform:E,windowRect:S}),M=St(g),N=fo({config:r,draggableNodes:b,droppableContainers:v,measuringConfiguration:x}),I=M?p.setRef:void 0;return O.default.createElement(io,null,O.default.createElement(ro,{animation:N},d&&w?O.default.createElement(lo,{key:w,id:d.id,ref:I,as:a,activatorEvent:u,adjustScale:t,className:c,transition:i,rect:M,style:{zIndex:f,...o},transform:D},n):null))});function At(e,t,n){const r=e.slice();return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function po(e,t){return e.reduce((n,r,o)=>{const i=t.get(r);return i&&(n[o]=i),n},Array(e.length))}function Ve(e){return e!==null&&e>=0}function bo(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function mo(e){return typeof e=="boolean"?{draggable:e,droppable:e}:e}const yn=e=>{let{rects:t,activeIndex:n,overIndex:r,index:o}=e;const i=At(t,r,n),s=t[o],a=i[o];return!a||!s?null:{x:a.left-s.left,y:a.top-s.top,scaleX:a.width/s.width,scaleY:a.height/s.height}},xn="Sortable",wn=O.default.createContext({activeIndex:-1,containerId:xn,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:yn,disabled:{draggable:!1,droppable:!1}});function yo(e){let{children:t,id:n,items:r,strategy:o=yn,disabled:i=!1}=e;const{active:s,dragOverlay:a,droppableRects:c,over:f,measureDroppableContainers:u}=Et(),d=$e(xn,n),g=a.rect!==null,h=l.useMemo(()=>r.map(E=>typeof E=="object"&&"id"in E?E.id:E),[r]),b=s!=null,v=s?h.indexOf(s.id):-1,p=f?h.indexOf(f.id):-1,y=l.useRef(h),x=!bo(h,y.current),m=p!==-1&&v===-1||x,R=mo(i);_(()=>{x&&b&&u(h)},[x,h,b,u]),l.useEffect(()=>{y.current=h},[h]);const S=l.useMemo(()=>({activeIndex:v,containerId:d,disabled:R,disableTransforms:m,items:h,overIndex:p,useDragOverlay:g,sortedRects:po(h,c),strategy:o}),[v,d,R.draggable,R.droppable,m,h,p,c,g,o]);return O.default.createElement(wn.Provider,{value:S},t)}const xo=e=>{let{id:t,items:n,activeIndex:r,overIndex:o}=e;return At(n,r,o).indexOf(t)},wo=e=>{let{containerId:t,isSorting:n,wasDragging:r,index:o,items:i,newIndex:s,previousItems:a,previousContainerId:c,transition:f}=e;return!f||!r||a!==i&&o===s?!1:n?!0:s!==o&&t===c},Do={duration:200,easing:"ease"},Dn="transform",Co=fe.Transition.toString({property:Dn,duration:0,easing:"linear"}),Ro={roleDescription:"sortable"};function So(e){let{disabled:t,index:n,node:r,rect:o}=e;const[i,s]=l.useState(null),a=l.useRef(n);return _(()=>{if(!t&&n!==a.current&&r.current){const c=o.current;if(c){const f=Ce(r.current,{ignoreTransform:!0}),u={x:c.left-f.left,y:c.top-f.top,scaleX:c.width/f.width,scaleY:c.height/f.height};(u.x||u.y)&&s(u)}}n!==a.current&&(a.current=n)},[t,n,r,o]),l.useEffect(()=>{i&&s(null)},[i]),i}function Eo(e){let{animateLayoutChanges:t=wo,attributes:n,disabled:r,data:o,getNewIndex:i=xo,id:s,strategy:a,resizeObserverConfig:c,transition:f=Do}=e;const{items:u,containerId:d,activeIndex:g,disabled:h,disableTransforms:b,sortedRects:v,overIndex:p,useDragOverlay:y,strategy:x}=l.useContext(wn),m=Ao(r,h),R=u.indexOf(s),S=l.useMemo(()=>({sortable:{containerId:d,index:R,items:u},...o}),[d,o,R,u]),E=l.useMemo(()=>u.slice(u.indexOf(s)),[u,s]),{rect:w,node:D,isOver:M,setNodeRef:N}=no({id:s,data:S,disabled:m.droppable,resizeObserverConfig:{updateMeasurementsFor:E,...c}}),{active:I,activatorEvent:q,activeNodeRect:H,attributes:J,setNodeRef:Re,listeners:Ke,isDragging:B,over:Ue,setActivatorNodeRef:ee,transform:Se}=Zr({id:s,data:S,attributes:{...Ro,...n},disabled:m.draggable}),We=zn(N,Re),z=!!I,te=z&&!b&&Ve(g)&&Ve(p),ge=!y&&B,Ee=ge&&te?Se:null,qe=te?Ee??(a??x)({rects:v,activeNodeRect:H,activeIndex:g,overIndex:p,index:R}):null,ie=Ve(g)&&Ve(p)?i({id:s,items:u,activeIndex:g,overIndex:p}):R,ne=I?.id,A=l.useRef({activeId:ne,items:u,newIndex:ie,containerId:d}),Ae=u!==A.current.items,G=t({active:I,containerId:d,isDragging:B,isSorting:z,id:s,index:R,items:u,newIndex:A.current.newIndex,previousItems:A.current.items,previousContainerId:A.current.containerId,transition:f,wasDragging:A.current.activeId!=null}),he=So({disabled:!G,index:R,node:D,rect:w});return l.useEffect(()=>{z&&A.current.newIndex!==ie&&(A.current.newIndex=ie),d!==A.current.containerId&&(A.current.containerId=d),u!==A.current.items&&(A.current.items=u)},[z,ie,d,u]),l.useEffect(()=>{if(ne===A.current.activeId)return;if(ne!=null&&A.current.activeId==null){A.current.activeId=ne;return}const ve=setTimeout(()=>{A.current.activeId=ne},50);return()=>clearTimeout(ve)},[ne]),{active:I,activeIndex:g,attributes:J,data:S,rect:w,index:R,newIndex:ie,items:u,isOver:M,isSorting:z,isDragging:B,listeners:Ke,node:D,overIndex:p,over:Ue,setNodeRef:We,setActivatorNodeRef:ee,setDroppableNodeRef:N,setDraggableNodeRef:Re,transform:he??qe,transition:re()};function re(){if(he||Ae&&A.current.newIndex===R)return Co;if(!(ge&&!it(q)||!f)&&(z||G))return fe.Transition.toString({...f,property:Dn})}}function Ao(e,t){var n,r;return typeof e=="boolean"?{draggable:e,droppable:!1}:{draggable:(n=e?.draggable)!=null?n:t.draggable,droppable:(r=e?.droppable)!=null?r:t.droppable}}function nt(e){if(!e)return!1;const t=e.data.current;return!!(t&&"sortable"in t&&typeof t.sortable=="object"&&"containerId"in t.sortable&&"items"in t.sortable&&"index"in t.sortable)}const Io=[C.Down,C.Right,C.Up,C.Left],Mo=(e,t)=>{let{context:{active:n,collisionRect:r,droppableRects:o,droppableContainers:i,over:s,scrollableAncestors:a}}=t;if(Io.includes(e.code)){if(e.preventDefault(),!n||!r)return;const c=[];i.getEnabled().forEach(d=>{if(!d||d!=null&&d.disabled)return;const g=o.get(d.id);if(g)switch(e.code){case C.Down:r.top<g.top&&c.push(d);break;case C.Up:r.top>g.top&&c.push(d);break;case C.Left:r.left>g.left&&c.push(d);break;case C.Right:r.left<g.left&&c.push(d);break}});const f=nr({collisionRect:r,droppableRects:o,droppableContainers:c});let u=tn(f,"id");if(u===s?.id&&f.length>1&&(u=f[1].id),u!=null){const d=i.get(n.id),g=i.get(u),h=g?o.get(g.id):null,b=g?.node.current;if(b&&h&&d&&g){const p=st(b).some((E,w)=>a[w]!==E),y=Cn(d,g),x=Oo(d,g),m=p||!y?{x:0,y:0}:{x:x?r.width-h.width:0,y:x?r.height-h.height:0},R={x:h.left,y:h.top};return m.x&&m.y?R:ze(R,m)}}}};function Cn(e,t){return!nt(e)||!nt(t)?!1:e.data.current.sortable.containerId===t.data.current.sortable.containerId}function Oo(e,t){return!nt(e)||!nt(t)||!Cn(e,t)?!1:e.data.current.sortable.index<t.data.current.sortable.index}const Rn=l.createContext({attributes:void 0,listeners:void 0,ref(){}}),No=({["data-testid"]:e="kibble-sortable-list-drag-handle",...t})=>{const{attributes:n,listeners:r,ref:o}=l.useContext(Rn),i=Et();return W.jsxRuntimeExports.jsx(Ln.Button,{className:"SortableList__DragHandle","data-testid":e,ref:o,cursor:i.activatorEvent?"grabbing":"grab",iconName:"grid",size:"sm",variant:"ghostNeutral",...n,...r,...t})},Jt=({content:e,hideHandle:t,id:n,itemProps:r,["data-testid"]:o="kibble-sortable-list-item"})=>{const{attributes:i,isDragging:s,listeners:a,setNodeRef:c,setActivatorNodeRef:f,transform:u,transition:d}=Eo({id:n}),g=l.useMemo(()=>({attributes:i,listeners:a,ref:f}),[i,a,f]);return W.jsxRuntimeExports.jsx(Rn.Provider,{value:g,children:W.jsxRuntimeExports.jsx(Gt.ListItem,{className:"SortableList__Item","data-testid":o,ref:c,...r,listStyleType:"none",...s&&{opacity:.4},transition:d,transform:fe.Translate.toString(u),children:W.jsxRuntimeExports.jsxs(jn.Flex,{alignItems:"center",gap:2,width:"100%",children:[!t&&W.jsxRuntimeExports.jsx(No,{}),typeof e=="string"?W.jsxRuntimeExports.jsx(kn.WrappedText,{size:"sm",children:e}):e]})})})},To=({hideHandle:e=!1,items:t,itemsProps:n,onChange:r,["data-testid"]:o="kibble-sortable-list",...i})=>{const[s,a]=l.useState(null),c=l.useMemo(()=>t.find(u=>u.id===s?.id),[s,t]),f=Gn(zt(Rt),zt(Dt,{coordinateGetter:Mo}));return W.jsxRuntimeExports.jsx(Jr,{sensors:f,onDragStart:({active:u})=>{a(u)},onDragEnd:({active:u,over:d})=>{if(d&&u.id!==d?.id){const g=t.findIndex(({id:b})=>b===u.id),h=t.findIndex(({id:b})=>b===d.id);r(At(t,g,h))}a(null)},onDragCancel:()=>a(null),children:W.jsxRuntimeExports.jsx(yo,{items:t,children:W.jsxRuntimeExports.jsxs(Gt.ListRoot,{className:"SortableList","data-testid":o,gap:2,ml:0,...i,children:[t.map(u=>W.jsxRuntimeExports.jsx(Jt,{...u,itemProps:n,hideHandle:e},u.id)),c&&W.jsxRuntimeExports.jsx(vo,{dropAnimation:Lo,children:W.jsxRuntimeExports.jsx(Jt,{...c,itemProps:n,hideHandle:e})})]})})})},Lo={sideEffects:mn({styles:{active:{opacity:"0.4"}}})};exports.SortableList=To;
6
+ //# sourceMappingURL=sortableList.component-BlwtnxVj.js.map