@alfadocs/ui-kit 0.0.19 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (552) hide show
  1. package/dist/_chunks/accordion-BJD1aM67.js +117 -0
  2. package/dist/_chunks/accordion-BJD1aM67.js.map +1 -0
  3. package/dist/_chunks/agenda-card-Bld47Eul.js +130 -0
  4. package/dist/_chunks/agenda-card-Bld47Eul.js.map +1 -0
  5. package/dist/_chunks/agenda-tray-D86cNIJ0.js +119 -0
  6. package/dist/_chunks/agenda-tray-D86cNIJ0.js.map +1 -0
  7. package/dist/_chunks/ai-prompt-input-CdYwt2VP.js +379 -0
  8. package/dist/_chunks/ai-prompt-input-CdYwt2VP.js.map +1 -0
  9. package/dist/_chunks/{alert-C5ud6CfE.js → alert-ETrF7Q8J.js} +51 -51
  10. package/dist/_chunks/alert-ETrF7Q8J.js.map +1 -0
  11. package/dist/_chunks/apexcharts-theme-BkSShpEy.js +48 -0
  12. package/dist/_chunks/apexcharts-theme-BkSShpEy.js.map +1 -0
  13. package/dist/_chunks/{app-frame-CmIUp9BD.js → app-frame-uq2Gy0vs.js} +37 -37
  14. package/dist/_chunks/app-frame-uq2Gy0vs.js.map +1 -0
  15. package/dist/_chunks/aspect-ratio-BqU4itGW.js +56 -0
  16. package/dist/_chunks/aspect-ratio-BqU4itGW.js.map +1 -0
  17. package/dist/_chunks/{audio-recorder-GkGNtW2X.js → audio-recorder-D2UEBF9B.js} +98 -98
  18. package/dist/_chunks/audio-recorder-D2UEBF9B.js.map +1 -0
  19. package/dist/_chunks/{audio-visualiser-CIO3yy23.js → audio-visualiser-B4u4goV5.js} +46 -46
  20. package/dist/_chunks/audio-visualiser-B4u4goV5.js.map +1 -0
  21. package/dist/_chunks/{autocomplete.agent-kb0nmr6F.js → autocomplete.agent-Bi6CiRKa.js} +111 -111
  22. package/dist/_chunks/autocomplete.agent-Bi6CiRKa.js.map +1 -0
  23. package/dist/_chunks/{avatar-BsV7vRA6.js → avatar-BAhxbDEu.js} +38 -38
  24. package/dist/_chunks/avatar-BAhxbDEu.js.map +1 -0
  25. package/dist/_chunks/badge-zDghajh8.js +104 -0
  26. package/dist/_chunks/badge-zDghajh8.js.map +1 -0
  27. package/dist/_chunks/{balance-cell-renderer-BQwN51rT.js → balance-cell-renderer-BGyvZWjB.js} +123 -124
  28. package/dist/_chunks/balance-cell-renderer-BGyvZWjB.js.map +1 -0
  29. package/dist/_chunks/{breadcrumb-DnO6eHSS.js → breadcrumb-pdUacgm1.js} +40 -40
  30. package/dist/_chunks/breadcrumb-pdUacgm1.js.map +1 -0
  31. package/dist/_chunks/button-DmiGFnNA.js +119 -0
  32. package/dist/_chunks/button-DmiGFnNA.js.map +1 -0
  33. package/dist/_chunks/{button-group-CI7LFxt3.js → button-group-BtTHSyU0.js} +24 -24
  34. package/dist/_chunks/button-group-BtTHSyU0.js.map +1 -0
  35. package/dist/_chunks/{calendar-BIXVzhkL.js → calendar-BkDeDTaX.js} +333 -290
  36. package/dist/_chunks/calendar-BkDeDTaX.js.map +1 -0
  37. package/dist/_chunks/card-DeItIBcV.js +158 -0
  38. package/dist/_chunks/card-DeItIBcV.js.map +1 -0
  39. package/dist/_chunks/{chart.agent-DkmVXNsI.js → chart.agent-BdS-_8MO.js} +66 -64
  40. package/dist/_chunks/chart.agent-BdS-_8MO.js.map +1 -0
  41. package/dist/_chunks/chat-container-Co8HpB64.js +174 -0
  42. package/dist/_chunks/chat-container-Co8HpB64.js.map +1 -0
  43. package/dist/_chunks/{chat-input-aphxDjZL.js → chat-input-3rstZhHR.js} +57 -57
  44. package/dist/_chunks/chat-input-3rstZhHR.js.map +1 -0
  45. package/dist/_chunks/{chat-message-CdJSD18D.js → chat-message-dDMVSYBs.js} +66 -66
  46. package/dist/_chunks/chat-message-dDMVSYBs.js.map +1 -0
  47. package/dist/_chunks/checkbox-DMzgtnqw.js +116 -0
  48. package/dist/_chunks/checkbox-DMzgtnqw.js.map +1 -0
  49. package/dist/_chunks/{checkbox-group-D1aqVI0-.js → checkbox-group-DBnIBRT_.js} +34 -34
  50. package/dist/_chunks/checkbox-group-DBnIBRT_.js.map +1 -0
  51. package/dist/_chunks/{collapsible-jBFm7Ah8.js → collapsible-DPGQnHZh.js} +16 -16
  52. package/dist/_chunks/collapsible-DPGQnHZh.js.map +1 -0
  53. package/dist/_chunks/{color-picker-CiotzQJF.js → color-picker-OKKF3Dww.js} +158 -158
  54. package/dist/_chunks/color-picker-OKKF3Dww.js.map +1 -0
  55. package/dist/_chunks/{combobox.agent-B6RwDSct.js → combobox.agent-CfeB-IZ1.js} +107 -107
  56. package/dist/_chunks/combobox.agent-CfeB-IZ1.js.map +1 -0
  57. package/dist/_chunks/{command-palette.agent-B87_OkmC.js → command-palette.agent-XLfSGHCL.js} +27 -27
  58. package/dist/_chunks/command-palette.agent-XLfSGHCL.js.map +1 -0
  59. package/dist/_chunks/{date-picker-CdPuI3dK.js → date-picker-DXx8oSJb.js} +5 -5
  60. package/dist/_chunks/{date-picker-CdPuI3dK.js.map → date-picker-DXx8oSJb.js.map} +1 -1
  61. package/dist/_chunks/{date-range-picker-DfK4cjln.js → date-range-picker-C3CbY__H.js} +29 -29
  62. package/dist/_chunks/{date-range-picker-DfK4cjln.js.map → date-range-picker-C3CbY__H.js.map} +1 -1
  63. package/dist/_chunks/{date-time-picker-CX_FMsLG.js → date-time-picker-Bn3FPeAc.js} +58 -58
  64. package/dist/_chunks/date-time-picker-Bn3FPeAc.js.map +1 -0
  65. package/dist/_chunks/description-list-B1CL3RTG.js +187 -0
  66. package/dist/_chunks/description-list-B1CL3RTG.js.map +1 -0
  67. package/dist/_chunks/{dialog.agent-B276rAQF.js → dialog.agent-D9WeIWi2.js} +39 -39
  68. package/dist/_chunks/dialog.agent-D9WeIWi2.js.map +1 -0
  69. package/dist/_chunks/dropdown-menu-BnVUeVG3.js +210 -0
  70. package/dist/_chunks/dropdown-menu-BnVUeVG3.js.map +1 -0
  71. package/dist/_chunks/{empty-state-DiG7vYBM.js → empty-state-DV96gCnp.js} +37 -37
  72. package/dist/_chunks/empty-state-DV96gCnp.js.map +1 -0
  73. package/dist/_chunks/{file-upload.agent-BMow5yDY.js → file-upload.agent-DYFnqdxw.js} +185 -185
  74. package/dist/_chunks/file-upload.agent-DYFnqdxw.js.map +1 -0
  75. package/dist/_chunks/{flag-ChP784EM.js → flag-C3BUEwHH.js} +14 -14
  76. package/dist/_chunks/{flag-ChP784EM.js.map → flag-C3BUEwHH.js.map} +1 -1
  77. package/dist/_chunks/floating-action-button-RigP2E7o.js +95 -0
  78. package/dist/_chunks/floating-action-button-RigP2E7o.js.map +1 -0
  79. package/dist/_chunks/form-field-DI5LY5aG.js +121 -0
  80. package/dist/_chunks/form-field-DI5LY5aG.js.map +1 -0
  81. package/dist/_chunks/freemium-paywall-D0GiUFOe.js +197 -0
  82. package/dist/_chunks/freemium-paywall-D0GiUFOe.js.map +1 -0
  83. package/dist/_chunks/{header-BpKaSL_v.js → header-CW2oRd5H.js} +111 -111
  84. package/dist/_chunks/header-CW2oRd5H.js.map +1 -0
  85. package/dist/_chunks/icon-button-C482ii4y.js +45 -0
  86. package/dist/_chunks/icon-button-C482ii4y.js.map +1 -0
  87. package/dist/_chunks/{icon-button-group-tERESY-n.js → icon-button-group-BnhkUWUg.js} +56 -56
  88. package/dist/_chunks/icon-button-group-BnhkUWUg.js.map +1 -0
  89. package/dist/_chunks/{kbd-0iPlQjgC.js → kbd-DTcIjYA7.js} +52 -52
  90. package/dist/_chunks/kbd-DTcIjYA7.js.map +1 -0
  91. package/dist/_chunks/{key-value-pair--Je59tAF.js → key-value-pair-DDhSYdDL.js} +26 -26
  92. package/dist/_chunks/key-value-pair-DDhSYdDL.js.map +1 -0
  93. package/dist/_chunks/leo-sidebar-gXXcGPKk.js +755 -0
  94. package/dist/_chunks/leo-sidebar-gXXcGPKk.js.map +1 -0
  95. package/dist/_chunks/{list-n8vI8Yvn.js → list-Cwe8mcmh.js} +96 -96
  96. package/dist/_chunks/list-Cwe8mcmh.js.map +1 -0
  97. package/dist/_chunks/live-region-COggO6x6.js +57 -0
  98. package/dist/_chunks/live-region-COggO6x6.js.map +1 -0
  99. package/dist/_chunks/{logo-UNWYb9p7.js → logo-3wrZGpwg.js} +29 -29
  100. package/dist/_chunks/logo-3wrZGpwg.js.map +1 -0
  101. package/dist/_chunks/{matrix-rain-Q7xTEpKu.js → matrix-rain-gsHqSvW7.js} +75 -75
  102. package/dist/_chunks/matrix-rain-gsHqSvW7.js.map +1 -0
  103. package/dist/_chunks/message-card-DID3cXUW.js +275 -0
  104. package/dist/_chunks/message-card-DID3cXUW.js.map +1 -0
  105. package/dist/_chunks/message-tray-CVMLBnVp.js +302 -0
  106. package/dist/_chunks/message-tray-CVMLBnVp.js.map +1 -0
  107. package/dist/_chunks/{multi-select.agent-Cf4pU636.js → multi-select.agent-BUKYZJfp.js} +126 -126
  108. package/dist/_chunks/multi-select.agent-BUKYZJfp.js.map +1 -0
  109. package/dist/_chunks/{navigation-menu-DBDsAmXc.js → navigation-menu-NjwxyshT.js} +68 -97
  110. package/dist/_chunks/navigation-menu-NjwxyshT.js.map +1 -0
  111. package/dist/_chunks/notification-card-BZ33fq8H.js +255 -0
  112. package/dist/_chunks/notification-card-BZ33fq8H.js.map +1 -0
  113. package/dist/_chunks/{notification-tray-CNWPuPZp.js → notification-tray-CnEd7B2q.js} +96 -96
  114. package/dist/_chunks/notification-tray-CnEd7B2q.js.map +1 -0
  115. package/dist/_chunks/{number-input-B1Th0DdC.js → number-input-D7rSa_ef.js} +73 -73
  116. package/dist/_chunks/number-input-D7rSa_ef.js.map +1 -0
  117. package/dist/_chunks/{otp-input-CmoBuZ4K.js → otp-input-C9R9sC74.js} +42 -42
  118. package/dist/_chunks/otp-input-C9R9sC74.js.map +1 -0
  119. package/dist/_chunks/{pagination.agent-B5KLDCMN.js → pagination.agent-D75FB6XP.js} +106 -106
  120. package/dist/_chunks/pagination.agent-D75FB6XP.js.map +1 -0
  121. package/dist/_chunks/{password-input-DnjNh-hQ.js → password-input-C6PvKyQV.js} +59 -59
  122. package/dist/_chunks/password-input-C6PvKyQV.js.map +1 -0
  123. package/dist/_chunks/{patient-shell-D0RaWDMR.js → patient-shell-CGsmI5LJ.js} +9 -9
  124. package/dist/_chunks/{patient-shell-D0RaWDMR.js.map → patient-shell-CGsmI5LJ.js.map} +1 -1
  125. package/dist/_chunks/{payment-form-Cf7U6r5L.js → payment-form-l3j-gA-t.js} +108 -108
  126. package/dist/_chunks/payment-form-l3j-gA-t.js.map +1 -0
  127. package/dist/_chunks/{pdf-viewer.agent-DXjgDItg.js → pdf-viewer.agent-DuGfSoep.js} +234 -233
  128. package/dist/_chunks/pdf-viewer.agent-DuGfSoep.js.map +1 -0
  129. package/dist/_chunks/{phone-input-C2dtIuxW.js → phone-input-ZWa_FU4R.js} +112 -112
  130. package/dist/_chunks/phone-input-ZWa_FU4R.js.map +1 -0
  131. package/dist/_chunks/{popover-D1woU9mP.js → popover-CMr1pTPO.js} +58 -58
  132. package/dist/_chunks/popover-CMr1pTPO.js.map +1 -0
  133. package/dist/_chunks/{privacy-lock-C1X42Sit.js → privacy-lock-Br5k7Rul.js} +36 -36
  134. package/dist/_chunks/privacy-lock-Br5k7Rul.js.map +1 -0
  135. package/dist/_chunks/{progress-DL3-izuO.js → progress-D4ELgHG3.js} +43 -43
  136. package/dist/_chunks/progress-D4ELgHG3.js.map +1 -0
  137. package/dist/_chunks/radio-B_gvGU29.js +106 -0
  138. package/dist/_chunks/radio-B_gvGU29.js.map +1 -0
  139. package/dist/_chunks/radio-group-Bn8Wt0yc.js +88 -0
  140. package/dist/_chunks/radio-group-Bn8Wt0yc.js.map +1 -0
  141. package/dist/_chunks/{react-day-picker-DQKDiJ37.js → react-day-picker-d0MHsyCj.js} +174 -174
  142. package/dist/_chunks/{react-day-picker-DQKDiJ37.js.map → react-day-picker-d0MHsyCj.js.map} +1 -1
  143. package/dist/_chunks/{resizable.agent-DVk_jJur.js → resizable.agent-DBpPGNdy.js} +122 -122
  144. package/dist/_chunks/resizable.agent-DBpPGNdy.js.map +1 -0
  145. package/dist/_chunks/{rich-text-editor.agent-BOjF4Xao.js → rich-text-editor.agent-C1_E7_7t.js} +225 -225
  146. package/dist/_chunks/rich-text-editor.agent-C1_E7_7t.js.map +1 -0
  147. package/dist/_chunks/scroll-area-Ba99pJ_R.js +144 -0
  148. package/dist/_chunks/scroll-area-Ba99pJ_R.js.map +1 -0
  149. package/dist/_chunks/{search-bar-DgSOAajC.js → search-bar-VoTqJhRp.js} +131 -131
  150. package/dist/_chunks/search-bar-VoTqJhRp.js.map +1 -0
  151. package/dist/_chunks/search-input-D6rarD0_.js +197 -0
  152. package/dist/_chunks/search-input-D6rarD0_.js.map +1 -0
  153. package/dist/_chunks/select-DbxWF3O_.js +320 -0
  154. package/dist/_chunks/select-DbxWF3O_.js.map +1 -0
  155. package/dist/_chunks/{separator-DExI4amU.js → separator-BRQHi8s0.js} +17 -17
  156. package/dist/_chunks/separator-BRQHi8s0.js.map +1 -0
  157. package/dist/_chunks/sheet-DyWqluiS.js +188 -0
  158. package/dist/_chunks/sheet-DyWqluiS.js.map +1 -0
  159. package/dist/_chunks/sidebar-B52iGGNV.js +1076 -0
  160. package/dist/_chunks/sidebar-B52iGGNV.js.map +1 -0
  161. package/dist/_chunks/sign-in-with-alfadocs-button-BU7MP5Hg.js +44 -0
  162. package/dist/_chunks/sign-in-with-alfadocs-button-BU7MP5Hg.js.map +1 -0
  163. package/dist/_chunks/{signature-capture.agent-L_1_-zVR.js → signature-capture.agent-4htVctJ2.js} +163 -163
  164. package/dist/_chunks/signature-capture.agent-4htVctJ2.js.map +1 -0
  165. package/dist/_chunks/skeleton-ClO1v5GE.js +95 -0
  166. package/dist/_chunks/skeleton-ClO1v5GE.js.map +1 -0
  167. package/dist/_chunks/skip-link-CASJkBOe.js +68 -0
  168. package/dist/_chunks/skip-link-CASJkBOe.js.map +1 -0
  169. package/dist/_chunks/slider-n8JWpJvT.js +273 -0
  170. package/dist/_chunks/slider-n8JWpJvT.js.map +1 -0
  171. package/dist/_chunks/slot-grid-BRAkqChA.js +491 -0
  172. package/dist/_chunks/slot-grid-BRAkqChA.js.map +1 -0
  173. package/dist/_chunks/{sparkline.agent-BDTXzTy9.js → sparkline.agent-BLY1IMyW.js} +45 -45
  174. package/dist/_chunks/sparkline.agent-BLY1IMyW.js.map +1 -0
  175. package/dist/_chunks/{spinner-77xUGpuX.js → spinner-CoAOGcDa.js} +40 -40
  176. package/dist/_chunks/spinner-CoAOGcDa.js.map +1 -0
  177. package/dist/_chunks/stat-D76MNHzK.js +208 -0
  178. package/dist/_chunks/stat-D76MNHzK.js.map +1 -0
  179. package/dist/_chunks/{stepper-accordion-BkvqQWPI.js → stepper-accordion-DHQ80A4v.js} +33 -33
  180. package/dist/_chunks/stepper-accordion-DHQ80A4v.js.map +1 -0
  181. package/dist/_chunks/{stepper-calendar-BQMjrwzo.js → stepper-calendar-vtWwa2bY.js} +159 -159
  182. package/dist/_chunks/stepper-calendar-vtWwa2bY.js.map +1 -0
  183. package/dist/_chunks/stepper-progress-DMZ5w5VR.js +128 -0
  184. package/dist/_chunks/stepper-progress-DMZ5w5VR.js.map +1 -0
  185. package/dist/_chunks/streaming-text-D0cW8pwq.js +104 -0
  186. package/dist/_chunks/streaming-text-D0cW8pwq.js.map +1 -0
  187. package/dist/_chunks/suggestion-chip-BgNFpPEE.js +157 -0
  188. package/dist/_chunks/suggestion-chip-BgNFpPEE.js.map +1 -0
  189. package/dist/_chunks/switch-DtLPKO0p.js +137 -0
  190. package/dist/_chunks/switch-DtLPKO0p.js.map +1 -0
  191. package/dist/_chunks/{tabs.agent-FsGU3sZL.js → tabs.agent-BDUlyPbJ.js} +101 -101
  192. package/dist/_chunks/tabs.agent-BDUlyPbJ.js.map +1 -0
  193. package/dist/_chunks/tag-CfSZZN2f.js +194 -0
  194. package/dist/_chunks/tag-CfSZZN2f.js.map +1 -0
  195. package/dist/_chunks/task-card-B5xfiFg5.js +112 -0
  196. package/dist/_chunks/task-card-B5xfiFg5.js.map +1 -0
  197. package/dist/_chunks/task-tray-BnpiodZ4.js +99 -0
  198. package/dist/_chunks/task-tray-BnpiodZ4.js.map +1 -0
  199. package/dist/_chunks/text-area-BqbruBWx.js +152 -0
  200. package/dist/_chunks/text-area-BqbruBWx.js.map +1 -0
  201. package/dist/_chunks/text-input-lh6kRXZS.js +187 -0
  202. package/dist/_chunks/text-input-lh6kRXZS.js.map +1 -0
  203. package/dist/_chunks/theme-toggle-BHKMiORD.js +326 -0
  204. package/dist/_chunks/theme-toggle-BHKMiORD.js.map +1 -0
  205. package/dist/_chunks/{time-picker-BapZq0OY.js → time-picker-DbpAmPux.js} +102 -102
  206. package/dist/_chunks/time-picker-DbpAmPux.js.map +1 -0
  207. package/dist/_chunks/timeline-vjsUeuq1.js +219 -0
  208. package/dist/_chunks/timeline-vjsUeuq1.js.map +1 -0
  209. package/dist/_chunks/{timestamp-BLM-jjdw.js → timestamp-DmSt92P1.js} +30 -30
  210. package/dist/_chunks/timestamp-DmSt92P1.js.map +1 -0
  211. package/dist/_chunks/{toast-DSCqnDRl.js → toast-DllSITLf.js} +151 -151
  212. package/dist/_chunks/{toast-DSCqnDRl.js.map → toast-DllSITLf.js.map} +1 -1
  213. package/dist/_chunks/{tooltip-DF6WjD1r.js → tooltip-Dp3u8jGz.js} +30 -30
  214. package/dist/_chunks/tooltip-Dp3u8jGz.js.map +1 -0
  215. package/dist/_chunks/{tooth-scheme.agent-CFKl3iQr.js → tooth-scheme.agent-BRqxWa1D.js} +75 -75
  216. package/dist/_chunks/tooth-scheme.agent-BRqxWa1D.js.map +1 -0
  217. package/dist/_chunks/transcript-panel-Bg1BTMSr.js +265 -0
  218. package/dist/_chunks/transcript-panel-Bg1BTMSr.js.map +1 -0
  219. package/dist/_chunks/typing-indicator-BRg22Rqr.js +81 -0
  220. package/dist/_chunks/typing-indicator-BRg22Rqr.js.map +1 -0
  221. package/dist/_chunks/use-locale-BuXR_Zl9.js +32 -0
  222. package/dist/_chunks/use-locale-BuXR_Zl9.js.map +1 -0
  223. package/dist/_chunks/visually-hidden-Y3jcdCv-.js +21 -0
  224. package/dist/_chunks/visually-hidden-Y3jcdCv-.js.map +1 -0
  225. package/dist/_chunks/{warning-stack-Cyf_81SL.js → warning-stack-B9N9yWet.js} +38 -38
  226. package/dist/_chunks/warning-stack-B9N9yWet.js.map +1 -0
  227. package/dist/_chunks/{workflow-map-Uf-hHAO3.js → workflow-map-gBhL_Wrs.js} +385 -385
  228. package/dist/_chunks/workflow-map-gBhL_Wrs.js.map +1 -0
  229. package/dist/agent-catalog.json +1 -1
  230. package/dist/components/_shared/index.d.ts +2 -0
  231. package/dist/components/_shared/index.d.ts.map +1 -1
  232. package/dist/components/_shared/use-focus-trap.d.ts +32 -0
  233. package/dist/components/_shared/use-focus-trap.d.ts.map +1 -0
  234. package/dist/components/_shared/use-neutralize-hidden-focus.d.ts +3 -0
  235. package/dist/components/_shared/use-neutralize-hidden-focus.d.ts.map +1 -0
  236. package/dist/components/accordion/index.js +1 -1
  237. package/dist/components/agenda-card/index.js +1 -1
  238. package/dist/components/agenda-tray/index.js +1 -1
  239. package/dist/components/ai-prompt-input/index.js +1 -1
  240. package/dist/components/alert/index.js +1 -1
  241. package/dist/components/app-frame/index.js +1 -1
  242. package/dist/components/aspect-ratio/index.js +1 -1
  243. package/dist/components/audio-recorder/index.js +1 -1
  244. package/dist/components/audio-visualiser/index.js +1 -1
  245. package/dist/components/autocomplete/index.js +1 -1
  246. package/dist/components/avatar/index.js +1 -1
  247. package/dist/components/badge/index.js +1 -1
  248. package/dist/components/breadcrumb/index.js +1 -1
  249. package/dist/components/button/index.js +2 -2
  250. package/dist/components/button-group/index.js +1 -1
  251. package/dist/components/calendar/calendar.d.ts.map +1 -1
  252. package/dist/components/calendar/index.js +1 -1
  253. package/dist/components/card/index.js +1 -1
  254. package/dist/components/chart/chart.d.ts.map +1 -1
  255. package/dist/components/chart/index.js +1 -1
  256. package/dist/components/chat-container/index.js +1 -1
  257. package/dist/components/chat-input/index.js +1 -1
  258. package/dist/components/chat-message/index.js +1 -1
  259. package/dist/components/checkbox/index.js +1 -1
  260. package/dist/components/checkbox-group/index.js +1 -1
  261. package/dist/components/collapsible/index.js +1 -1
  262. package/dist/components/color-picker/index.js +1 -1
  263. package/dist/components/combobox/index.js +1 -1
  264. package/dist/components/command-palette/index.js +1 -1
  265. package/dist/components/data-table/index.js +1 -1
  266. package/dist/components/data-table/toolbar.d.ts.map +1 -1
  267. package/dist/components/date-picker/index.js +1 -1
  268. package/dist/components/date-range-picker/index.js +1 -1
  269. package/dist/components/date-time-picker/index.js +1 -1
  270. package/dist/components/description-list/index.js +1 -1
  271. package/dist/components/dialog/index.js +1 -1
  272. package/dist/components/dropdown-menu/index.js +1 -1
  273. package/dist/components/empty-state/index.js +1 -1
  274. package/dist/components/file-upload/index.js +1 -1
  275. package/dist/components/flag/index.js +1 -1
  276. package/dist/components/floating-action-button/index.js +1 -1
  277. package/dist/components/form-field/index.js +1 -1
  278. package/dist/components/freemium-paywall/index.js +1 -1
  279. package/dist/components/header/index.js +1 -1
  280. package/dist/components/icon-button/index.d.ts +3 -0
  281. package/dist/components/icon-button/index.d.ts.map +1 -0
  282. package/dist/components/icon-button/index.js +5 -0
  283. package/dist/components/icon-button/index.js.map +1 -0
  284. package/dist/components/icon-button-group/index.js +1 -1
  285. package/dist/components/index.d.ts +8 -2
  286. package/dist/components/index.d.ts.map +1 -1
  287. package/dist/components/kbd/index.js +1 -1
  288. package/dist/components/key-value-pair/index.js +1 -1
  289. package/dist/components/list/index.js +1 -1
  290. package/dist/components/live-region/index.d.ts +3 -0
  291. package/dist/components/live-region/index.d.ts.map +1 -0
  292. package/dist/components/live-region/index.js +5 -0
  293. package/dist/components/live-region/index.js.map +1 -0
  294. package/dist/components/live-region/live-region.d.ts +49 -0
  295. package/dist/components/live-region/live-region.d.ts.map +1 -0
  296. package/dist/components/logo/index.js +1 -1
  297. package/dist/components/matrix-rain/index.js +1 -1
  298. package/dist/components/message-card/index.js +1 -1
  299. package/dist/components/message-tray/index.js +1 -1
  300. package/dist/components/multi-select/index.js +1 -1
  301. package/dist/components/navigation-menu/index.d.ts +4 -2
  302. package/dist/components/navigation-menu/index.d.ts.map +1 -1
  303. package/dist/components/navigation-menu/index.js +3 -2
  304. package/dist/components/navigation-menu/index.js.map +1 -1
  305. package/dist/components/navigation-menu/navigation-menu.d.ts +2 -6
  306. package/dist/components/navigation-menu/navigation-menu.d.ts.map +1 -1
  307. package/dist/components/notification-card/index.js +1 -1
  308. package/dist/components/notification-tray/index.js +1 -1
  309. package/dist/components/number-input/index.js +1 -1
  310. package/dist/components/otp-input/index.js +1 -1
  311. package/dist/components/pagination/index.js +1 -1
  312. package/dist/components/password-input/index.js +1 -1
  313. package/dist/components/payment-form/index.js +1 -1
  314. package/dist/components/pdf-viewer/index.js +1 -1
  315. package/dist/components/pdf-viewer/pdf-viewer.d.ts.map +1 -1
  316. package/dist/components/phone-input/index.js +1 -1
  317. package/dist/components/popover/index.js +1 -1
  318. package/dist/components/privacy-lock/index.js +1 -1
  319. package/dist/components/progress/index.js +1 -1
  320. package/dist/components/radio/index.d.ts +3 -0
  321. package/dist/components/radio/index.d.ts.map +1 -0
  322. package/dist/components/radio/index.js +5 -0
  323. package/dist/components/radio/index.js.map +1 -0
  324. package/dist/components/radio-group/index.js +4 -3
  325. package/dist/components/radio-group/index.js.map +1 -1
  326. package/dist/components/resizable/index.js +1 -1
  327. package/dist/components/rich-text-editor/index.js +1 -1
  328. package/dist/components/scroll-area/index.js +1 -1
  329. package/dist/components/search-bar/index.js +1 -1
  330. package/dist/components/search-input/index.js +1 -1
  331. package/dist/components/select/index.js +1 -1
  332. package/dist/components/separator/index.js +1 -1
  333. package/dist/components/sheet/index.js +1 -1
  334. package/dist/components/sidebar/index.js +1 -1
  335. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  336. package/dist/components/sign-in-with-alfadocs-button/sign-in-with-alfadocs-button.d.ts +20 -0
  337. package/dist/components/sign-in-with-alfadocs-button/sign-in-with-alfadocs-button.d.ts.map +1 -1
  338. package/dist/components/signature-capture/index.js +1 -1
  339. package/dist/components/skeleton/index.js +1 -1
  340. package/dist/components/skip-link/index.d.ts +2 -0
  341. package/dist/components/skip-link/index.d.ts.map +1 -0
  342. package/dist/components/skip-link/index.js +5 -0
  343. package/dist/components/skip-link/index.js.map +1 -0
  344. package/dist/components/skip-link/skip-link.d.ts +34 -0
  345. package/dist/components/skip-link/skip-link.d.ts.map +1 -0
  346. package/dist/components/slider/index.js +1 -1
  347. package/dist/components/slot-grid/index.js +1 -1
  348. package/dist/components/sparkline/index.js +1 -1
  349. package/dist/components/sparkline/sparkline.d.ts.map +1 -1
  350. package/dist/components/spinner/index.js +1 -1
  351. package/dist/components/stat/index.js +1 -1
  352. package/dist/components/stepper-accordion/index.js +1 -1
  353. package/dist/components/stepper-calendar/index.js +1 -1
  354. package/dist/components/stepper-progress/index.js +1 -1
  355. package/dist/components/streaming-text/index.js +1 -1
  356. package/dist/components/suggestion-chip/index.js +1 -1
  357. package/dist/components/switch/index.js +1 -1
  358. package/dist/components/tabs/index.js +1 -1
  359. package/dist/components/tag/index.js +1 -1
  360. package/dist/components/task-card/index.js +1 -1
  361. package/dist/components/task-tray/index.js +1 -1
  362. package/dist/components/text-area/index.js +1 -1
  363. package/dist/components/text-input/index.js +1 -1
  364. package/dist/components/theme-toggle/index.d.ts +3 -0
  365. package/dist/components/theme-toggle/index.d.ts.map +1 -0
  366. package/dist/components/theme-toggle/index.js +5 -0
  367. package/dist/components/theme-toggle/index.js.map +1 -0
  368. package/dist/components/theme-toggle/theme-toggle.d.ts +34 -0
  369. package/dist/components/theme-toggle/theme-toggle.d.ts.map +1 -0
  370. package/dist/components/time-picker/index.js +1 -1
  371. package/dist/components/timeline/index.js +1 -1
  372. package/dist/components/timestamp/index.js +1 -1
  373. package/dist/components/toast/index.js +1 -1
  374. package/dist/components/tooltip/index.js +1 -1
  375. package/dist/components/tooth-scheme/index.js +1 -1
  376. package/dist/components/transcript-panel/index.js +1 -1
  377. package/dist/components/typing-indicator/index.js +1 -1
  378. package/dist/components/visually-hidden/index.d.ts +2 -0
  379. package/dist/components/visually-hidden/index.d.ts.map +1 -0
  380. package/dist/components/visually-hidden/index.js +5 -0
  381. package/dist/components/visually-hidden/index.js.map +1 -0
  382. package/dist/components/visually-hidden/visually-hidden.d.ts +11 -0
  383. package/dist/components/visually-hidden/visually-hidden.d.ts.map +1 -0
  384. package/dist/components/warning-stack/index.js +1 -1
  385. package/dist/components/workflow/index.js +1 -1
  386. package/dist/hooks/index.d.ts +3 -0
  387. package/dist/hooks/index.d.ts.map +1 -1
  388. package/dist/hooks/index.js +10 -7
  389. package/dist/hooks/index.js.map +1 -1
  390. package/dist/hooks/use-locale.d.ts +27 -0
  391. package/dist/hooks/use-locale.d.ts.map +1 -0
  392. package/dist/hooks/use-media-query.d.ts +17 -0
  393. package/dist/hooks/use-media-query.d.ts.map +1 -0
  394. package/dist/i18n/config.js +59 -2
  395. package/dist/i18n/config.js.map +1 -1
  396. package/dist/i18n/resources.d.ts +57 -0
  397. package/dist/i18n/resources.d.ts.map +1 -1
  398. package/dist/index.js +442 -431
  399. package/dist/index.js.map +1 -1
  400. package/dist/locales/de.json +19 -0
  401. package/dist/locales/en.json +19 -0
  402. package/dist/locales/it.json +19 -0
  403. package/dist/patterns/leo-assistant/index.js +1 -1
  404. package/dist/patterns/patient-shell/index.js +1 -1
  405. package/dist/tokens.css +2 -2
  406. package/package.json +4 -2
  407. package/dist/_chunks/accordion-Dgcd38U_.js +0 -117
  408. package/dist/_chunks/accordion-Dgcd38U_.js.map +0 -1
  409. package/dist/_chunks/agenda-card-B2gq-gTq.js +0 -130
  410. package/dist/_chunks/agenda-card-B2gq-gTq.js.map +0 -1
  411. package/dist/_chunks/agenda-tray-twa8g_87.js +0 -119
  412. package/dist/_chunks/agenda-tray-twa8g_87.js.map +0 -1
  413. package/dist/_chunks/ai-prompt-input-C6IY_Eds.js +0 -379
  414. package/dist/_chunks/ai-prompt-input-C6IY_Eds.js.map +0 -1
  415. package/dist/_chunks/alert-C5ud6CfE.js.map +0 -1
  416. package/dist/_chunks/apexcharts-theme-cpBYmCcr.js +0 -17
  417. package/dist/_chunks/apexcharts-theme-cpBYmCcr.js.map +0 -1
  418. package/dist/_chunks/app-frame-CmIUp9BD.js.map +0 -1
  419. package/dist/_chunks/aspect-ratio-Bo3cZXmR.js +0 -56
  420. package/dist/_chunks/aspect-ratio-Bo3cZXmR.js.map +0 -1
  421. package/dist/_chunks/audio-recorder-GkGNtW2X.js.map +0 -1
  422. package/dist/_chunks/audio-visualiser-CIO3yy23.js.map +0 -1
  423. package/dist/_chunks/autocomplete.agent-kb0nmr6F.js.map +0 -1
  424. package/dist/_chunks/avatar-BsV7vRA6.js.map +0 -1
  425. package/dist/_chunks/badge--CmSr7ok.js +0 -104
  426. package/dist/_chunks/badge--CmSr7ok.js.map +0 -1
  427. package/dist/_chunks/balance-cell-renderer-BQwN51rT.js.map +0 -1
  428. package/dist/_chunks/breadcrumb-DnO6eHSS.js.map +0 -1
  429. package/dist/_chunks/button-CXL8bA8G.js +0 -119
  430. package/dist/_chunks/button-CXL8bA8G.js.map +0 -1
  431. package/dist/_chunks/button-group-CI7LFxt3.js.map +0 -1
  432. package/dist/_chunks/calendar-BIXVzhkL.js.map +0 -1
  433. package/dist/_chunks/card-n97MNPP2.js +0 -158
  434. package/dist/_chunks/card-n97MNPP2.js.map +0 -1
  435. package/dist/_chunks/chart.agent-DkmVXNsI.js.map +0 -1
  436. package/dist/_chunks/chat-container-SR3UWxbL.js +0 -174
  437. package/dist/_chunks/chat-container-SR3UWxbL.js.map +0 -1
  438. package/dist/_chunks/chat-input-aphxDjZL.js.map +0 -1
  439. package/dist/_chunks/chat-message-CdJSD18D.js.map +0 -1
  440. package/dist/_chunks/checkbox-CfiZ0FZc.js +0 -116
  441. package/dist/_chunks/checkbox-CfiZ0FZc.js.map +0 -1
  442. package/dist/_chunks/checkbox-group-D1aqVI0-.js.map +0 -1
  443. package/dist/_chunks/collapsible-jBFm7Ah8.js.map +0 -1
  444. package/dist/_chunks/color-picker-CiotzQJF.js.map +0 -1
  445. package/dist/_chunks/combobox.agent-B6RwDSct.js.map +0 -1
  446. package/dist/_chunks/command-palette.agent-B87_OkmC.js.map +0 -1
  447. package/dist/_chunks/date-time-picker-CX_FMsLG.js.map +0 -1
  448. package/dist/_chunks/description-list-C5UPZgX6.js +0 -187
  449. package/dist/_chunks/description-list-C5UPZgX6.js.map +0 -1
  450. package/dist/_chunks/dialog.agent-B276rAQF.js.map +0 -1
  451. package/dist/_chunks/dropdown-menu-CJKvK7VG.js +0 -210
  452. package/dist/_chunks/dropdown-menu-CJKvK7VG.js.map +0 -1
  453. package/dist/_chunks/empty-state-DiG7vYBM.js.map +0 -1
  454. package/dist/_chunks/file-upload.agent-BMow5yDY.js.map +0 -1
  455. package/dist/_chunks/floating-action-button-BM9ib-Wf.js +0 -95
  456. package/dist/_chunks/floating-action-button-BM9ib-Wf.js.map +0 -1
  457. package/dist/_chunks/form-field-B4bwrccN.js +0 -121
  458. package/dist/_chunks/form-field-B4bwrccN.js.map +0 -1
  459. package/dist/_chunks/freemium-paywall-DVyNsQHS.js +0 -197
  460. package/dist/_chunks/freemium-paywall-DVyNsQHS.js.map +0 -1
  461. package/dist/_chunks/header-BpKaSL_v.js.map +0 -1
  462. package/dist/_chunks/icon-button-C1vpylg3.js +0 -45
  463. package/dist/_chunks/icon-button-C1vpylg3.js.map +0 -1
  464. package/dist/_chunks/icon-button-group-tERESY-n.js.map +0 -1
  465. package/dist/_chunks/kbd-0iPlQjgC.js.map +0 -1
  466. package/dist/_chunks/key-value-pair--Je59tAF.js.map +0 -1
  467. package/dist/_chunks/leo-sidebar-9A9AWBxX.js +0 -755
  468. package/dist/_chunks/leo-sidebar-9A9AWBxX.js.map +0 -1
  469. package/dist/_chunks/list-n8vI8Yvn.js.map +0 -1
  470. package/dist/_chunks/logo-UNWYb9p7.js.map +0 -1
  471. package/dist/_chunks/matrix-rain-Q7xTEpKu.js.map +0 -1
  472. package/dist/_chunks/message-card-g5VS5Q80.js +0 -275
  473. package/dist/_chunks/message-card-g5VS5Q80.js.map +0 -1
  474. package/dist/_chunks/message-tray-CAk-iibU.js +0 -302
  475. package/dist/_chunks/message-tray-CAk-iibU.js.map +0 -1
  476. package/dist/_chunks/multi-select.agent-Cf4pU636.js.map +0 -1
  477. package/dist/_chunks/navigation-menu-DBDsAmXc.js.map +0 -1
  478. package/dist/_chunks/notification-card-CQxJporb.js +0 -255
  479. package/dist/_chunks/notification-card-CQxJporb.js.map +0 -1
  480. package/dist/_chunks/notification-tray-CNWPuPZp.js.map +0 -1
  481. package/dist/_chunks/number-input-B1Th0DdC.js.map +0 -1
  482. package/dist/_chunks/otp-input-CmoBuZ4K.js.map +0 -1
  483. package/dist/_chunks/pagination.agent-B5KLDCMN.js.map +0 -1
  484. package/dist/_chunks/password-input-DnjNh-hQ.js.map +0 -1
  485. package/dist/_chunks/payment-form-Cf7U6r5L.js.map +0 -1
  486. package/dist/_chunks/pdf-viewer.agent-DXjgDItg.js.map +0 -1
  487. package/dist/_chunks/phone-input-C2dtIuxW.js.map +0 -1
  488. package/dist/_chunks/popover-D1woU9mP.js.map +0 -1
  489. package/dist/_chunks/privacy-lock-C1X42Sit.js.map +0 -1
  490. package/dist/_chunks/progress-DL3-izuO.js.map +0 -1
  491. package/dist/_chunks/radio-group-CXN9qNPe.js +0 -185
  492. package/dist/_chunks/radio-group-CXN9qNPe.js.map +0 -1
  493. package/dist/_chunks/resizable.agent-DVk_jJur.js.map +0 -1
  494. package/dist/_chunks/rich-text-editor.agent-BOjF4Xao.js.map +0 -1
  495. package/dist/_chunks/scroll-area-DXn-YWHY.js +0 -144
  496. package/dist/_chunks/scroll-area-DXn-YWHY.js.map +0 -1
  497. package/dist/_chunks/search-bar-DgSOAajC.js.map +0 -1
  498. package/dist/_chunks/search-input-D4tC_Prn.js +0 -197
  499. package/dist/_chunks/search-input-D4tC_Prn.js.map +0 -1
  500. package/dist/_chunks/select-B4m4upMg.js +0 -320
  501. package/dist/_chunks/select-B4m4upMg.js.map +0 -1
  502. package/dist/_chunks/separator-DExI4amU.js.map +0 -1
  503. package/dist/_chunks/sheet-D6XOx0fK.js +0 -188
  504. package/dist/_chunks/sheet-D6XOx0fK.js.map +0 -1
  505. package/dist/_chunks/sidebar-r645O-k9.js +0 -1076
  506. package/dist/_chunks/sidebar-r645O-k9.js.map +0 -1
  507. package/dist/_chunks/sign-in-with-alfadocs-button-y3gy-W-D.js +0 -38
  508. package/dist/_chunks/sign-in-with-alfadocs-button-y3gy-W-D.js.map +0 -1
  509. package/dist/_chunks/signature-capture.agent-L_1_-zVR.js.map +0 -1
  510. package/dist/_chunks/skeleton-vbTWUntB.js +0 -95
  511. package/dist/_chunks/skeleton-vbTWUntB.js.map +0 -1
  512. package/dist/_chunks/slider-B3DBwmcm.js +0 -273
  513. package/dist/_chunks/slider-B3DBwmcm.js.map +0 -1
  514. package/dist/_chunks/slot-grid-DL_Tuj0p.js +0 -491
  515. package/dist/_chunks/slot-grid-DL_Tuj0p.js.map +0 -1
  516. package/dist/_chunks/sparkline.agent-BDTXzTy9.js.map +0 -1
  517. package/dist/_chunks/spinner-77xUGpuX.js.map +0 -1
  518. package/dist/_chunks/stat-CrumvZWf.js +0 -208
  519. package/dist/_chunks/stat-CrumvZWf.js.map +0 -1
  520. package/dist/_chunks/stepper-accordion-BkvqQWPI.js.map +0 -1
  521. package/dist/_chunks/stepper-calendar-BQMjrwzo.js.map +0 -1
  522. package/dist/_chunks/stepper-progress-Bwfl-0rV.js +0 -128
  523. package/dist/_chunks/stepper-progress-Bwfl-0rV.js.map +0 -1
  524. package/dist/_chunks/streaming-text-Cu9YQe_1.js +0 -104
  525. package/dist/_chunks/streaming-text-Cu9YQe_1.js.map +0 -1
  526. package/dist/_chunks/suggestion-chip-XkxDJiPW.js +0 -157
  527. package/dist/_chunks/suggestion-chip-XkxDJiPW.js.map +0 -1
  528. package/dist/_chunks/switch-DyC0ThNT.js +0 -137
  529. package/dist/_chunks/switch-DyC0ThNT.js.map +0 -1
  530. package/dist/_chunks/tabs.agent-FsGU3sZL.js.map +0 -1
  531. package/dist/_chunks/tag-BucAvfTX.js +0 -194
  532. package/dist/_chunks/tag-BucAvfTX.js.map +0 -1
  533. package/dist/_chunks/task-card-uxjApfcg.js +0 -112
  534. package/dist/_chunks/task-card-uxjApfcg.js.map +0 -1
  535. package/dist/_chunks/task-tray-BdfM3p8N.js +0 -99
  536. package/dist/_chunks/task-tray-BdfM3p8N.js.map +0 -1
  537. package/dist/_chunks/text-area-CKxZ7cS3.js +0 -152
  538. package/dist/_chunks/text-area-CKxZ7cS3.js.map +0 -1
  539. package/dist/_chunks/text-input-D16CcMlL.js +0 -187
  540. package/dist/_chunks/text-input-D16CcMlL.js.map +0 -1
  541. package/dist/_chunks/time-picker-BapZq0OY.js.map +0 -1
  542. package/dist/_chunks/timeline-D3VOf4RT.js +0 -219
  543. package/dist/_chunks/timeline-D3VOf4RT.js.map +0 -1
  544. package/dist/_chunks/timestamp-BLM-jjdw.js.map +0 -1
  545. package/dist/_chunks/tooltip-DF6WjD1r.js.map +0 -1
  546. package/dist/_chunks/tooth-scheme.agent-CFKl3iQr.js.map +0 -1
  547. package/dist/_chunks/transcript-panel-aI14fHYA.js +0 -265
  548. package/dist/_chunks/transcript-panel-aI14fHYA.js.map +0 -1
  549. package/dist/_chunks/typing-indicator-BTVDEpnd.js +0 -81
  550. package/dist/_chunks/typing-indicator-BTVDEpnd.js.map +0 -1
  551. package/dist/_chunks/warning-stack-Cyf_81SL.js.map +0 -1
  552. package/dist/_chunks/workflow-map-Uf-hHAO3.js.map +0 -1
@@ -1,20 +1,20 @@
1
1
  import { jsx as P, jsxs as zt } from "react/jsx-runtime";
2
- import n, { useState as Ot, useEffect as Ht } from "react";
2
+ import s, { useState as Ot, useEffect as Ht } from "react";
3
3
  import Zt from "react-dom";
4
4
  import { useTranslation as te } from "react-i18next";
5
- import { I as ee } from "./icon-button-C1vpylg3.js";
5
+ import { I as ee } from "./icon-button-C482ii4y.js";
6
6
  import { X as ae } from "./x-CCcI3eJp.js";
7
- import { C as ne } from "./circle-x-Du2CmjaU.js";
8
- import { T as oe } from "./triangle-alert-CBPUIzQo.js";
9
- import { C as se } from "./circle-check-9AeSgJD_.js";
7
+ import { C as se } from "./circle-x-Du2CmjaU.js";
8
+ import { T as ne } from "./triangle-alert-CBPUIzQo.js";
9
+ import { C as oe } from "./circle-check-9AeSgJD_.js";
10
10
  import { I as re } from "./info-B9XNKn05.js";
11
- function ie(o) {
11
+ function ie(n) {
12
12
  if (typeof document > "u") return;
13
13
  let a = document.head || document.getElementsByTagName("head")[0], e = document.createElement("style");
14
- e.type = "text/css", a.appendChild(e), e.styleSheet ? e.styleSheet.cssText = o : e.appendChild(document.createTextNode(o));
14
+ e.type = "text/css", a.appendChild(e), e.styleSheet ? e.styleSheet.cssText = n : e.appendChild(document.createTextNode(n));
15
15
  }
16
- const le = (o) => {
17
- switch (o) {
16
+ const le = (n) => {
17
+ switch (n) {
18
18
  case "success":
19
19
  return ue;
20
20
  case "info":
@@ -26,58 +26,58 @@ const le = (o) => {
26
26
  default:
27
27
  return null;
28
28
  }
29
- }, de = Array(12).fill(0), ce = ({ visible: o, className: a }) => /* @__PURE__ */ n.createElement("div", {
29
+ }, de = Array(12).fill(0), ce = ({ visible: n, className: a }) => /* @__PURE__ */ s.createElement("div", {
30
30
  className: [
31
31
  "sonner-loading-wrapper",
32
32
  a
33
33
  ].filter(Boolean).join(" "),
34
- "data-visible": o
35
- }, /* @__PURE__ */ n.createElement("div", {
34
+ "data-visible": n
35
+ }, /* @__PURE__ */ s.createElement("div", {
36
36
  className: "sonner-spinner"
37
- }, de.map((e, s) => /* @__PURE__ */ n.createElement("div", {
37
+ }, de.map((e, o) => /* @__PURE__ */ s.createElement("div", {
38
38
  className: "sonner-loading-bar",
39
- key: `spinner-bar-${s}`
40
- })))), ue = /* @__PURE__ */ n.createElement("svg", {
39
+ key: `spinner-bar-${o}`
40
+ })))), ue = /* @__PURE__ */ s.createElement("svg", {
41
41
  xmlns: "http://www.w3.org/2000/svg",
42
42
  viewBox: "0 0 20 20",
43
43
  fill: "currentColor",
44
44
  height: "20",
45
45
  width: "20"
46
- }, /* @__PURE__ */ n.createElement("path", {
46
+ }, /* @__PURE__ */ s.createElement("path", {
47
47
  fillRule: "evenodd",
48
48
  d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",
49
49
  clipRule: "evenodd"
50
- })), fe = /* @__PURE__ */ n.createElement("svg", {
50
+ })), fe = /* @__PURE__ */ s.createElement("svg", {
51
51
  xmlns: "http://www.w3.org/2000/svg",
52
52
  viewBox: "0 0 24 24",
53
53
  fill: "currentColor",
54
54
  height: "20",
55
55
  width: "20"
56
- }, /* @__PURE__ */ n.createElement("path", {
56
+ }, /* @__PURE__ */ s.createElement("path", {
57
57
  fillRule: "evenodd",
58
58
  d: "M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",
59
59
  clipRule: "evenodd"
60
- })), me = /* @__PURE__ */ n.createElement("svg", {
60
+ })), me = /* @__PURE__ */ s.createElement("svg", {
61
61
  xmlns: "http://www.w3.org/2000/svg",
62
62
  viewBox: "0 0 20 20",
63
63
  fill: "currentColor",
64
64
  height: "20",
65
65
  width: "20"
66
- }, /* @__PURE__ */ n.createElement("path", {
66
+ }, /* @__PURE__ */ s.createElement("path", {
67
67
  fillRule: "evenodd",
68
68
  d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",
69
69
  clipRule: "evenodd"
70
- })), pe = /* @__PURE__ */ n.createElement("svg", {
70
+ })), pe = /* @__PURE__ */ s.createElement("svg", {
71
71
  xmlns: "http://www.w3.org/2000/svg",
72
72
  viewBox: "0 0 20 20",
73
73
  fill: "currentColor",
74
74
  height: "20",
75
75
  width: "20"
76
- }, /* @__PURE__ */ n.createElement("path", {
76
+ }, /* @__PURE__ */ s.createElement("path", {
77
77
  fillRule: "evenodd",
78
78
  d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",
79
79
  clipRule: "evenodd"
80
- })), ge = /* @__PURE__ */ n.createElement("svg", {
80
+ })), ge = /* @__PURE__ */ s.createElement("svg", {
81
81
  xmlns: "http://www.w3.org/2000/svg",
82
82
  width: "12",
83
83
  height: "12",
@@ -87,24 +87,24 @@ const le = (o) => {
87
87
  strokeWidth: "1.5",
88
88
  strokeLinecap: "round",
89
89
  strokeLinejoin: "round"
90
- }, /* @__PURE__ */ n.createElement("line", {
90
+ }, /* @__PURE__ */ s.createElement("line", {
91
91
  x1: "18",
92
92
  y1: "6",
93
93
  x2: "6",
94
94
  y2: "18"
95
- }), /* @__PURE__ */ n.createElement("line", {
95
+ }), /* @__PURE__ */ s.createElement("line", {
96
96
  x1: "6",
97
97
  y1: "6",
98
98
  x2: "18",
99
99
  y2: "18"
100
100
  })), he = () => {
101
- const [o, a] = n.useState(document.hidden);
102
- return n.useEffect(() => {
101
+ const [n, a] = s.useState(document.hidden);
102
+ return s.useEffect(() => {
103
103
  const e = () => {
104
104
  a(document.hidden);
105
105
  };
106
106
  return document.addEventListener("visibilitychange", e), () => window.removeEventListener("visibilitychange", e);
107
- }, []), o;
107
+ }, []), n;
108
108
  };
109
109
  let Nt = 1;
110
110
  class be {
@@ -121,20 +121,20 @@ class be {
121
121
  ];
122
122
  }, this.create = (a) => {
123
123
  var e;
124
- const { message: s, ...w } = a, d = typeof (a == null ? void 0 : a.id) == "number" || ((e = a.id) == null ? void 0 : e.length) > 0 ? a.id : Nt++, c = this.toasts.find((h) => h.id === d), k = a.dismissible === void 0 ? !0 : a.dismissible;
124
+ const { message: o, ...w } = a, d = typeof (a == null ? void 0 : a.id) == "number" || ((e = a.id) == null ? void 0 : e.length) > 0 ? a.id : Nt++, c = this.toasts.find((h) => h.id === d), k = a.dismissible === void 0 ? !0 : a.dismissible;
125
125
  return this.dismissedToasts.has(d) && this.dismissedToasts.delete(d), c ? this.toasts = this.toasts.map((h) => h.id === d ? (this.publish({
126
126
  ...h,
127
127
  ...a,
128
128
  id: d,
129
- title: s
129
+ title: o
130
130
  }), {
131
131
  ...h,
132
132
  ...a,
133
133
  id: d,
134
134
  dismissible: k,
135
- title: s
135
+ title: o
136
136
  }) : h) : this.addToast({
137
- title: s,
137
+ title: o,
138
138
  ...w,
139
139
  dismissible: k,
140
140
  id: d
@@ -143,7 +143,7 @@ class be {
143
143
  id: a,
144
144
  dismiss: !0
145
145
  })))) : this.toasts.forEach((e) => {
146
- this.subscribers.forEach((s) => s({
146
+ this.subscribers.forEach((o) => o({
147
147
  id: e.id,
148
148
  dismiss: !0
149
149
  }));
@@ -173,8 +173,8 @@ class be {
173
173
  }), this.promise = (a, e) => {
174
174
  if (!e)
175
175
  return;
176
- let s;
177
- e.loading !== void 0 && (s = this.create({
176
+ let o;
177
+ e.loading !== void 0 && (o = this.create({
178
178
  ...e,
179
179
  promise: a,
180
180
  type: "loading",
@@ -182,46 +182,46 @@ class be {
182
182
  description: typeof e.description != "function" ? e.description : void 0
183
183
  }));
184
184
  const w = Promise.resolve(a instanceof Function ? a() : a);
185
- let d = s !== void 0, c;
185
+ let d = o !== void 0, c;
186
186
  const k = w.then(async (i) => {
187
187
  if (c = [
188
188
  "resolve",
189
189
  i
190
- ], n.isValidElement(i))
190
+ ], s.isValidElement(i))
191
191
  d = !1, this.create({
192
- id: s,
192
+ id: o,
193
193
  type: "default",
194
194
  message: i
195
195
  });
196
196
  else if (ye(i) && !i.ok) {
197
197
  d = !1;
198
- const t = typeof e.error == "function" ? await e.error(`HTTP error! status: ${i.status}`) : e.error, E = typeof e.description == "function" ? await e.description(`HTTP error! status: ${i.status}`) : e.description, T = typeof t == "object" && !n.isValidElement(t) ? t : {
198
+ const t = typeof e.error == "function" ? await e.error(`HTTP error! status: ${i.status}`) : e.error, E = typeof e.description == "function" ? await e.description(`HTTP error! status: ${i.status}`) : e.description, T = typeof t == "object" && !s.isValidElement(t) ? t : {
199
199
  message: t
200
200
  };
201
201
  this.create({
202
- id: s,
202
+ id: o,
203
203
  type: "error",
204
204
  description: E,
205
205
  ...T
206
206
  });
207
207
  } else if (i instanceof Error) {
208
208
  d = !1;
209
- const t = typeof e.error == "function" ? await e.error(i) : e.error, E = typeof e.description == "function" ? await e.description(i) : e.description, T = typeof t == "object" && !n.isValidElement(t) ? t : {
209
+ const t = typeof e.error == "function" ? await e.error(i) : e.error, E = typeof e.description == "function" ? await e.description(i) : e.description, T = typeof t == "object" && !s.isValidElement(t) ? t : {
210
210
  message: t
211
211
  };
212
212
  this.create({
213
- id: s,
213
+ id: o,
214
214
  type: "error",
215
215
  description: E,
216
216
  ...T
217
217
  });
218
218
  } else if (e.success !== void 0) {
219
219
  d = !1;
220
- const t = typeof e.success == "function" ? await e.success(i) : e.success, E = typeof e.description == "function" ? await e.description(i) : e.description, T = typeof t == "object" && !n.isValidElement(t) ? t : {
220
+ const t = typeof e.success == "function" ? await e.success(i) : e.success, E = typeof e.description == "function" ? await e.description(i) : e.description, T = typeof t == "object" && !s.isValidElement(t) ? t : {
221
221
  message: t
222
222
  };
223
223
  this.create({
224
- id: s,
224
+ id: o,
225
225
  type: "success",
226
226
  description: E,
227
227
  ...T
@@ -233,42 +233,42 @@ class be {
233
233
  i
234
234
  ], e.error !== void 0) {
235
235
  d = !1;
236
- const N = typeof e.error == "function" ? await e.error(i) : e.error, t = typeof e.description == "function" ? await e.description(i) : e.description, O = typeof N == "object" && !n.isValidElement(N) ? N : {
236
+ const N = typeof e.error == "function" ? await e.error(i) : e.error, t = typeof e.description == "function" ? await e.description(i) : e.description, O = typeof N == "object" && !s.isValidElement(N) ? N : {
237
237
  message: N
238
238
  };
239
239
  this.create({
240
- id: s,
240
+ id: o,
241
241
  type: "error",
242
242
  description: t,
243
243
  ...O
244
244
  });
245
245
  }
246
246
  }).finally(() => {
247
- d && (this.dismiss(s), s = void 0), e.finally == null || e.finally.call(e);
247
+ d && (this.dismiss(o), o = void 0), e.finally == null || e.finally.call(e);
248
248
  }), h = () => new Promise((i, N) => k.then(() => c[0] === "reject" ? N(c[1]) : i(c[1])).catch(N));
249
- return typeof s != "string" && typeof s != "number" ? {
249
+ return typeof o != "string" && typeof o != "number" ? {
250
250
  unwrap: h
251
- } : Object.assign(s, {
251
+ } : Object.assign(o, {
252
252
  unwrap: h
253
253
  });
254
254
  }, this.custom = (a, e) => {
255
- const s = (e == null ? void 0 : e.id) || Nt++;
255
+ const o = (e == null ? void 0 : e.id) || Nt++;
256
256
  return this.create({
257
- jsx: a(s),
258
- id: s,
257
+ jsx: a(o),
258
+ id: o,
259
259
  ...e
260
- }), s;
260
+ }), o;
261
261
  }, this.getActiveToasts = () => this.toasts.filter((a) => !this.dismissedToasts.has(a.id)), this.subscribers = [], this.toasts = [], this.dismissedToasts = /* @__PURE__ */ new Set();
262
262
  }
263
263
  }
264
- const S = new be(), ve = (o, a) => {
264
+ const S = new be(), ve = (n, a) => {
265
265
  const e = (a == null ? void 0 : a.id) || Nt++;
266
266
  return S.addToast({
267
- title: o,
267
+ title: n,
268
268
  ...a,
269
269
  id: e
270
270
  }), e;
271
- }, ye = (o) => o && typeof o == "object" && "ok" in o && typeof o.ok == "boolean" && "status" in o && typeof o.status == "number", xe = ve, we = () => S.toasts, Ee = () => S.getActiveToasts(), tt = Object.assign(xe, {
271
+ }, ye = (n) => n && typeof n == "object" && "ok" in n && typeof n.ok == "boolean" && "status" in n && typeof n.status == "number", xe = ve, we = () => S.toasts, Ee = () => S.getActiveToasts(), tt = Object.assign(xe, {
272
272
  success: S.success,
273
273
  info: S.info,
274
274
  warning: S.warning,
@@ -283,45 +283,45 @@ const S = new be(), ve = (o, a) => {
283
283
  getToasts: Ee
284
284
  });
285
285
  ie("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
286
- function gt(o) {
287
- return o.label !== void 0;
286
+ function gt(n) {
287
+ return n.label !== void 0;
288
288
  }
289
289
  const Te = 3, ke = "24px", Ne = "16px", jt = 4e3, Se = 356, De = 14, _e = 45, Ce = 200;
290
- function z(...o) {
291
- return o.filter(Boolean).join(" ");
290
+ function z(...n) {
291
+ return n.filter(Boolean).join(" ");
292
292
  }
293
- function Re(o) {
294
- const [a, e] = o.split("-"), s = [];
295
- return a && s.push(a), e && s.push(e), s;
293
+ function Re(n) {
294
+ const [a, e] = n.split("-"), o = [];
295
+ return a && o.push(a), e && o.push(e), o;
296
296
  }
297
- const Be = (o) => {
298
- var a, e, s, w, d, c, k, h, i;
299
- const { invert: N, toast: t, unstyled: E, interacting: O, setHeights: T, visibleToasts: bt, heights: U, index: u, toasts: st, expanded: W, removeToast: rt, defaultRichColors: vt, closeButton: H, style: et, cancelButtonStyle: Y, actionButtonStyle: yt, className: it = "", descriptionClassName: xt = "", duration: at, position: A, gap: lt, expandByDefault: nt, classNames: f, icons: v, closeButtonAriaLabel: L = "Close toast" } = o, [F, B] = n.useState(null), [V, dt] = n.useState(null), [l, g] = n.useState(!1), [p, C] = n.useState(!1), [K, m] = n.useState(!1), [q, ct] = n.useState(!1), [ut, G] = n.useState(!1), [$t, wt] = n.useState(0), [Yt, St] = n.useState(0), ot = n.useRef(t.duration || at || jt), Dt = n.useRef(null), j = n.useRef(null), Ft = u === 0, Vt = u + 1 <= bt, D = t.type, Q = t.dismissible !== !1, Xt = t.className || "", Ut = t.descriptionClassName || "", ft = n.useMemo(() => U.findIndex((r) => r.toastId === t.id) || 0, [
297
+ const Be = (n) => {
298
+ var a, e, o, w, d, c, k, h, i;
299
+ const { invert: N, toast: t, unstyled: E, interacting: O, setHeights: T, visibleToasts: bt, heights: U, index: u, toasts: ot, expanded: W, removeToast: rt, defaultRichColors: vt, closeButton: H, style: et, cancelButtonStyle: Y, actionButtonStyle: yt, className: it = "", descriptionClassName: xt = "", duration: at, position: A, gap: lt, expandByDefault: st, classNames: f, icons: v, closeButtonAriaLabel: L = "Close toast" } = n, [F, B] = s.useState(null), [V, dt] = s.useState(null), [l, g] = s.useState(!1), [p, C] = s.useState(!1), [K, m] = s.useState(!1), [q, ct] = s.useState(!1), [ut, G] = s.useState(!1), [$t, wt] = s.useState(0), [Yt, St] = s.useState(0), nt = s.useRef(t.duration || at || jt), Dt = s.useRef(null), j = s.useRef(null), Ft = u === 0, Vt = u + 1 <= bt, D = t.type, Q = t.dismissible !== !1, Xt = t.className || "", Ut = t.descriptionClassName || "", ft = s.useMemo(() => U.findIndex((r) => r.toastId === t.id) || 0, [
300
300
  U,
301
301
  t.id
302
- ]), Wt = n.useMemo(() => {
302
+ ]), Wt = s.useMemo(() => {
303
303
  var r;
304
304
  return (r = t.closeButton) != null ? r : H;
305
305
  }, [
306
306
  t.closeButton,
307
307
  H
308
- ]), _t = n.useMemo(() => t.duration || at || jt, [
308
+ ]), _t = s.useMemo(() => t.duration || at || jt, [
309
309
  t.duration,
310
310
  at
311
- ]), Et = n.useRef(0), J = n.useRef(0), Ct = n.useRef(0), Z = n.useRef(null), [Kt, qt] = A.split("-"), Rt = n.useMemo(() => U.reduce((r, b, x) => x >= ft ? r : r + b.height, 0), [
311
+ ]), Et = s.useRef(0), J = s.useRef(0), Ct = s.useRef(0), Z = s.useRef(null), [Kt, qt] = A.split("-"), Rt = s.useMemo(() => U.reduce((r, b, x) => x >= ft ? r : r + b.height, 0), [
312
312
  U,
313
313
  ft
314
314
  ]), Bt = he(), Gt = t.invert || N, Tt = D === "loading";
315
- J.current = n.useMemo(() => ft * lt + Rt, [
315
+ J.current = s.useMemo(() => ft * lt + Rt, [
316
316
  ft,
317
317
  Rt
318
- ]), n.useEffect(() => {
319
- ot.current = _t;
318
+ ]), s.useEffect(() => {
319
+ nt.current = _t;
320
320
  }, [
321
321
  _t
322
- ]), n.useEffect(() => {
322
+ ]), s.useEffect(() => {
323
323
  g(!0);
324
- }, []), n.useEffect(() => {
324
+ }, []), s.useEffect(() => {
325
325
  const r = j.current;
326
326
  if (r) {
327
327
  const b = r.getBoundingClientRect().height;
@@ -337,7 +337,7 @@ const Be = (o) => {
337
337
  }, [
338
338
  T,
339
339
  t.id
340
- ]), n.useLayoutEffect(() => {
340
+ ]), s.useLayoutEffect(() => {
341
341
  if (!l) return;
342
342
  const r = j.current, b = r.style.height;
343
343
  r.style.height = "auto";
@@ -363,7 +363,7 @@ const Be = (o) => {
363
363
  t.action,
364
364
  t.cancel
365
365
  ]);
366
- const $ = n.useCallback(() => {
366
+ const $ = s.useCallback(() => {
367
367
  C(!0), wt(J.current), T((r) => r.filter((b) => b.toastId !== t.id)), setTimeout(() => {
368
368
  rt(t);
369
369
  }, Ce);
@@ -373,19 +373,19 @@ const Be = (o) => {
373
373
  T,
374
374
  J
375
375
  ]);
376
- n.useEffect(() => {
376
+ s.useEffect(() => {
377
377
  if (t.promise && D === "loading" || t.duration === 1 / 0 || t.type === "loading") return;
378
378
  let r;
379
379
  return W || O || Bt ? (() => {
380
380
  if (Ct.current < Et.current) {
381
381
  const _ = (/* @__PURE__ */ new Date()).getTime() - Et.current;
382
- ot.current = ot.current - _;
382
+ nt.current = nt.current - _;
383
383
  }
384
384
  Ct.current = (/* @__PURE__ */ new Date()).getTime();
385
385
  })() : (() => {
386
- ot.current !== 1 / 0 && (Et.current = (/* @__PURE__ */ new Date()).getTime(), r = setTimeout(() => {
386
+ nt.current !== 1 / 0 && (Et.current = (/* @__PURE__ */ new Date()).getTime(), r = setTimeout(() => {
387
387
  t.onAutoClose == null || t.onAutoClose.call(t, t), $();
388
- }, ot.current));
388
+ }, nt.current));
389
389
  })(), () => clearTimeout(r);
390
390
  }, [
391
391
  W,
@@ -394,7 +394,7 @@ const Be = (o) => {
394
394
  D,
395
395
  Bt,
396
396
  $
397
- ]), n.useEffect(() => {
397
+ ]), s.useEffect(() => {
398
398
  t.delete && ($(), t.onDismiss == null || t.onDismiss.call(t, t));
399
399
  }, [
400
400
  $,
@@ -404,19 +404,19 @@ const Be = (o) => {
404
404
  var r;
405
405
  if (v != null && v.loading) {
406
406
  var b;
407
- return /* @__PURE__ */ n.createElement("div", {
407
+ return /* @__PURE__ */ s.createElement("div", {
408
408
  className: z(f == null ? void 0 : f.loader, t == null || (b = t.classNames) == null ? void 0 : b.loader, "sonner-loader"),
409
409
  "data-visible": D === "loading"
410
410
  }, v.loading);
411
411
  }
412
- return /* @__PURE__ */ n.createElement(ce, {
412
+ return /* @__PURE__ */ s.createElement(ce, {
413
413
  className: z(f == null ? void 0 : f.loader, t == null || (r = t.classNames) == null ? void 0 : r.loader),
414
414
  visible: D === "loading"
415
415
  });
416
416
  }
417
417
  const Jt = t.icon || (v == null ? void 0 : v[D]) || le(D);
418
418
  var It, Mt;
419
- return /* @__PURE__ */ n.createElement("li", {
419
+ return /* @__PURE__ */ s.createElement("li", {
420
420
  tabIndex: 0,
421
421
  ref: j,
422
422
  className: z(it, Xt, f == null ? void 0 : f.toast, t == null || (a = t.classNames) == null ? void 0 : a.toast, f == null ? void 0 : f.default, f == null ? void 0 : f[D], t == null || (e = t.classNames) == null ? void 0 : e[D]),
@@ -438,14 +438,14 @@ const Be = (o) => {
438
438
  "data-invert": Gt,
439
439
  "data-swipe-out": q,
440
440
  "data-swipe-direction": V,
441
- "data-expanded": !!(W || nt && l),
441
+ "data-expanded": !!(W || st && l),
442
442
  "data-testid": t.testId,
443
443
  style: {
444
444
  "--index": u,
445
445
  "--toasts-before": u,
446
- "--z-index": st.length - u,
446
+ "--z-index": ot.length - u,
447
447
  "--offset": `${p ? $t : J.current}px`,
448
- "--initial-height": nt ? "auto" : `${Yt}px`,
448
+ "--initial-height": st ? "auto" : `${Yt}px`,
449
449
  ...et,
450
450
  ...t.style
451
451
  },
@@ -477,7 +477,7 @@ const Be = (o) => {
477
477
  if (!Z.current || !Q || ((b = window.getSelection()) == null ? void 0 : b.toString().length) > 0) return;
478
478
  const y = r.clientY - Z.current.y, R = r.clientX - Z.current.x;
479
479
  var pt;
480
- const I = (pt = o.swipeDirections) != null ? pt : Re(A);
480
+ const I = (pt = n.swipeDirections) != null ? pt : Re(A);
481
481
  !F && (Math.abs(R) > 1 || Math.abs(y) > 1) && B(Math.abs(R) > Math.abs(y) ? "x" : "y");
482
482
  let M = {
483
483
  x: 0,
@@ -501,7 +501,7 @@ const Be = (o) => {
501
501
  }
502
502
  (Math.abs(M.x) > 0 || Math.abs(M.y) > 0) && G(!0), (x = j.current) == null || x.style.setProperty("--swipe-amount-x", `${M.x}px`), (_ = j.current) == null || _.style.setProperty("--swipe-amount-y", `${M.y}px`);
503
503
  }
504
- }, Wt && !t.jsx && D !== "loading" ? /* @__PURE__ */ n.createElement("button", {
504
+ }, Wt && !t.jsx && D !== "loading" ? /* @__PURE__ */ s.createElement("button", {
505
505
  "aria-label": L,
506
506
  "data-disabled": Tt,
507
507
  "data-close-button": !0,
@@ -509,20 +509,20 @@ const Be = (o) => {
509
509
  } : () => {
510
510
  $(), t.onDismiss == null || t.onDismiss.call(t, t);
511
511
  },
512
- className: z(f == null ? void 0 : f.closeButton, t == null || (s = t.classNames) == null ? void 0 : s.closeButton)
513
- }, (Mt = v == null ? void 0 : v.close) != null ? Mt : ge) : null, (D || t.icon || t.promise) && t.icon !== null && ((v == null ? void 0 : v[D]) !== null || t.icon) ? /* @__PURE__ */ n.createElement("div", {
512
+ className: z(f == null ? void 0 : f.closeButton, t == null || (o = t.classNames) == null ? void 0 : o.closeButton)
513
+ }, (Mt = v == null ? void 0 : v.close) != null ? Mt : ge) : null, (D || t.icon || t.promise) && t.icon !== null && ((v == null ? void 0 : v[D]) !== null || t.icon) ? /* @__PURE__ */ s.createElement("div", {
514
514
  "data-icon": "",
515
515
  className: z(f == null ? void 0 : f.icon, t == null || (w = t.classNames) == null ? void 0 : w.icon)
516
- }, t.promise || t.type === "loading" && !t.icon ? t.icon || Qt() : null, t.type !== "loading" ? Jt : null) : null, /* @__PURE__ */ n.createElement("div", {
516
+ }, t.promise || t.type === "loading" && !t.icon ? t.icon || Qt() : null, t.type !== "loading" ? Jt : null) : null, /* @__PURE__ */ s.createElement("div", {
517
517
  "data-content": "",
518
518
  className: z(f == null ? void 0 : f.content, t == null || (d = t.classNames) == null ? void 0 : d.content)
519
- }, /* @__PURE__ */ n.createElement("div", {
519
+ }, /* @__PURE__ */ s.createElement("div", {
520
520
  "data-title": "",
521
521
  className: z(f == null ? void 0 : f.title, t == null || (c = t.classNames) == null ? void 0 : c.title)
522
- }, t.jsx ? t.jsx : typeof t.title == "function" ? t.title() : t.title), t.description ? /* @__PURE__ */ n.createElement("div", {
522
+ }, t.jsx ? t.jsx : typeof t.title == "function" ? t.title() : t.title), t.description ? /* @__PURE__ */ s.createElement("div", {
523
523
  "data-description": "",
524
524
  className: z(xt, Ut, f == null ? void 0 : f.description, t == null || (k = t.classNames) == null ? void 0 : k.description)
525
- }, typeof t.description == "function" ? t.description() : t.description) : null), /* @__PURE__ */ n.isValidElement(t.cancel) ? t.cancel : t.cancel && gt(t.cancel) ? /* @__PURE__ */ n.createElement("button", {
525
+ }, typeof t.description == "function" ? t.description() : t.description) : null), /* @__PURE__ */ s.isValidElement(t.cancel) ? t.cancel : t.cancel && gt(t.cancel) ? /* @__PURE__ */ s.createElement("button", {
526
526
  "data-button": !0,
527
527
  "data-cancel": !0,
528
528
  style: t.cancelButtonStyle || Y,
@@ -530,7 +530,7 @@ const Be = (o) => {
530
530
  gt(t.cancel) && Q && (t.cancel.onClick == null || t.cancel.onClick.call(t.cancel, r), $());
531
531
  },
532
532
  className: z(f == null ? void 0 : f.cancelButton, t == null || (h = t.classNames) == null ? void 0 : h.cancelButton)
533
- }, t.cancel.label) : null, /* @__PURE__ */ n.isValidElement(t.action) ? t.action : t.action && gt(t.action) ? /* @__PURE__ */ n.createElement("button", {
533
+ }, t.cancel.label) : null, /* @__PURE__ */ s.isValidElement(t.action) ? t.action : t.action && gt(t.action) ? /* @__PURE__ */ s.createElement("button", {
534
534
  "data-button": !0,
535
535
  "data-action": !0,
536
536
  style: t.actionButtonStyle || yt,
@@ -542,15 +542,15 @@ const Be = (o) => {
542
542
  };
543
543
  function Pt() {
544
544
  if (typeof window > "u" || typeof document > "u") return "ltr";
545
- const o = document.documentElement.getAttribute("dir");
546
- return o === "auto" || !o ? window.getComputedStyle(document.documentElement).direction : o;
545
+ const n = document.documentElement.getAttribute("dir");
546
+ return n === "auto" || !n ? window.getComputedStyle(document.documentElement).direction : n;
547
547
  }
548
- function Ie(o, a) {
548
+ function Ie(n, a) {
549
549
  const e = {};
550
550
  return [
551
- o,
551
+ n,
552
552
  a
553
- ].forEach((s, w) => {
553
+ ].forEach((o, w) => {
554
554
  const d = w === 1, c = d ? "--mobile-offset" : "--offset", k = d ? Ne : ke;
555
555
  function h(i) {
556
556
  [
@@ -562,35 +562,35 @@ function Ie(o, a) {
562
562
  e[`${c}-${N}`] = typeof i == "number" ? `${i}px` : i;
563
563
  });
564
564
  }
565
- typeof s == "number" || typeof s == "string" ? h(s) : typeof s == "object" ? [
565
+ typeof o == "number" || typeof o == "string" ? h(o) : typeof o == "object" ? [
566
566
  "top",
567
567
  "right",
568
568
  "bottom",
569
569
  "left"
570
570
  ].forEach((i) => {
571
- s[i] === void 0 ? e[`${c}-${i}`] = k : e[`${c}-${i}`] = typeof s[i] == "number" ? `${s[i]}px` : s[i];
571
+ o[i] === void 0 ? e[`${c}-${i}`] = k : e[`${c}-${i}`] = typeof o[i] == "number" ? `${o[i]}px` : o[i];
572
572
  }) : h(k);
573
573
  }), e;
574
574
  }
575
- const Me = /* @__PURE__ */ n.forwardRef(function(a, e) {
576
- const { id: s, invert: w, position: d = "bottom-right", hotkey: c = [
575
+ const Me = /* @__PURE__ */ s.forwardRef(function(a, e) {
576
+ const { id: o, invert: w, position: d = "bottom-right", hotkey: c = [
577
577
  "altKey",
578
578
  "KeyT"
579
- ], expand: k, closeButton: h, className: i, offset: N, mobileOffset: t, theme: E = "light", richColors: O, duration: T, style: bt, visibleToasts: U = Te, toastOptions: u, dir: st = Pt(), gap: W = De, icons: rt, containerAriaLabel: vt = "Notifications" } = a, [H, et] = n.useState([]), Y = n.useMemo(() => s ? H.filter((l) => l.toasterId === s) : H.filter((l) => !l.toasterId), [
579
+ ], expand: k, closeButton: h, className: i, offset: N, mobileOffset: t, theme: E = "light", richColors: O, duration: T, style: bt, visibleToasts: U = Te, toastOptions: u, dir: ot = Pt(), gap: W = De, icons: rt, containerAriaLabel: vt = "Notifications" } = a, [H, et] = s.useState([]), Y = s.useMemo(() => o ? H.filter((l) => l.toasterId === o) : H.filter((l) => !l.toasterId), [
580
580
  H,
581
- s
582
- ]), yt = n.useMemo(() => Array.from(new Set([
581
+ o
582
+ ]), yt = s.useMemo(() => Array.from(new Set([
583
583
  d
584
584
  ].concat(Y.filter((l) => l.position).map((l) => l.position)))), [
585
585
  Y,
586
586
  d
587
- ]), [it, xt] = n.useState([]), [at, A] = n.useState(!1), [lt, nt] = n.useState(!1), [f, v] = n.useState(E !== "system" ? E : typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light"), L = n.useRef(null), F = c.join("+").replace(/Key/g, "").replace(/Digit/g, ""), B = n.useRef(null), V = n.useRef(!1), dt = n.useCallback((l) => {
587
+ ]), [it, xt] = s.useState([]), [at, A] = s.useState(!1), [lt, st] = s.useState(!1), [f, v] = s.useState(E !== "system" ? E : typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light"), L = s.useRef(null), F = c.join("+").replace(/Key/g, "").replace(/Digit/g, ""), B = s.useRef(null), V = s.useRef(!1), dt = s.useCallback((l) => {
588
588
  et((g) => {
589
589
  var p;
590
590
  return (p = g.find((C) => C.id === l.id)) != null && p.delete || S.dismiss(l.id), g.filter(({ id: C }) => C !== l.id);
591
591
  });
592
592
  }, []);
593
- return n.useEffect(() => S.subscribe((l) => {
593
+ return s.useEffect(() => S.subscribe((l) => {
594
594
  if (l.dismiss) {
595
595
  requestAnimationFrame(() => {
596
596
  et((g) => g.map((p) => p.id === l.id ? {
@@ -620,7 +620,7 @@ const Me = /* @__PURE__ */ n.forwardRef(function(a, e) {
620
620
  });
621
621
  }), [
622
622
  H
623
- ]), n.useEffect(() => {
623
+ ]), s.useEffect(() => {
624
624
  if (E !== "system") {
625
625
  v(E);
626
626
  return;
@@ -642,11 +642,11 @@ const Me = /* @__PURE__ */ n.forwardRef(function(a, e) {
642
642
  }
643
643
  }, [
644
644
  E
645
- ]), n.useEffect(() => {
645
+ ]), s.useEffect(() => {
646
646
  H.length <= 1 && A(!1);
647
647
  }, [
648
648
  H
649
- ]), n.useEffect(() => {
649
+ ]), s.useEffect(() => {
650
650
  const l = (g) => {
651
651
  var p;
652
652
  if (c.every((m) => g[m] || g.code === m)) {
@@ -658,7 +658,7 @@ const Me = /* @__PURE__ */ n.forwardRef(function(a, e) {
658
658
  return document.addEventListener("keydown", l), () => document.removeEventListener("keydown", l);
659
659
  }, [
660
660
  c
661
- ]), n.useEffect(() => {
661
+ ]), s.useEffect(() => {
662
662
  if (L.current)
663
663
  return () => {
664
664
  B.current && (B.current.focus({
@@ -668,7 +668,7 @@ const Me = /* @__PURE__ */ n.forwardRef(function(a, e) {
668
668
  }, [
669
669
  L.current
670
670
  ]), // Remove item from normal navigation flow, only available via hotkey
671
- /* @__PURE__ */ n.createElement("section", {
671
+ /* @__PURE__ */ s.createElement("section", {
672
672
  ref: e,
673
673
  "aria-label": `${vt} ${F}`,
674
674
  tabIndex: -1,
@@ -679,9 +679,9 @@ const Me = /* @__PURE__ */ n.forwardRef(function(a, e) {
679
679
  }, yt.map((l, g) => {
680
680
  var p;
681
681
  const [C, K] = l.split("-");
682
- return Y.length ? /* @__PURE__ */ n.createElement("ol", {
682
+ return Y.length ? /* @__PURE__ */ s.createElement("ol", {
683
683
  key: l,
684
- dir: st === "auto" ? Pt() : st,
684
+ dir: ot === "auto" ? Pt() : ot,
685
685
  tabIndex: -1,
686
686
  ref: L,
687
687
  className: i,
@@ -711,12 +711,12 @@ const Me = /* @__PURE__ */ n.forwardRef(function(a, e) {
711
711
  },
712
712
  onDragEnd: () => A(!1),
713
713
  onPointerDown: (m) => {
714
- m.target instanceof HTMLElement && m.target.dataset.dismissible === "false" || nt(!0);
714
+ m.target instanceof HTMLElement && m.target.dataset.dismissible === "false" || st(!0);
715
715
  },
716
- onPointerUp: () => nt(!1)
716
+ onPointerUp: () => st(!1)
717
717
  }, Y.filter((m) => !m.position && g === 0 || m.position === l).map((m, q) => {
718
718
  var ct, ut;
719
- return /* @__PURE__ */ n.createElement(Be, {
719
+ return /* @__PURE__ */ s.createElement(Be, {
720
720
  key: m.id,
721
721
  icons: rt,
722
722
  index: q,
@@ -748,13 +748,13 @@ const Me = /* @__PURE__ */ n.forwardRef(function(a, e) {
748
748
  })) : null;
749
749
  }));
750
750
  }), Ae = {
751
- info: /* @__PURE__ */ P(re, { "aria-hidden": "true", size: 20, className: "shrink-0 text-[var(--info)]" }),
752
- success: /* @__PURE__ */ P(se, { "aria-hidden": "true", size: 20, className: "shrink-0 text-[var(--success)]" }),
753
- warning: /* @__PURE__ */ P(oe, { "aria-hidden": "true", size: 20, className: "shrink-0 text-[var(--warning)]" }),
754
- error: /* @__PURE__ */ P(ne, { "aria-hidden": "true", size: 20, className: "shrink-0 text-[var(--destructive)]" })
751
+ info: /* @__PURE__ */ P(re, { "aria-hidden": "true", size: 20, className: "ds:shrink-0 ds:text-[var(--info)]" }),
752
+ success: /* @__PURE__ */ P(oe, { "aria-hidden": "true", size: 20, className: "ds:shrink-0 ds:text-[var(--success)]" }),
753
+ warning: /* @__PURE__ */ P(ne, { "aria-hidden": "true", size: 20, className: "ds:shrink-0 ds:text-[var(--warning)]" }),
754
+ error: /* @__PURE__ */ P(se, { "aria-hidden": "true", size: 20, className: "ds:shrink-0 ds:text-[var(--destructive)]" })
755
755
  };
756
756
  let Lt = "Close", kt = !1;
757
- function ze(o) {
757
+ function ze(n) {
758
758
  const a = typeof document < "u" && document.documentElement.dir === "rtl";
759
759
  return {
760
760
  "top-start": a ? "top-right" : "top-left",
@@ -763,13 +763,13 @@ function ze(o) {
763
763
  "bottom-start": a ? "bottom-right" : "bottom-left",
764
764
  "bottom-center": "bottom-center",
765
765
  "bottom-end": a ? "bottom-left" : "bottom-right"
766
- }[o];
766
+ }[n];
767
767
  }
768
768
  function Oe({
769
- position: o = "bottom-end",
769
+ position: n = "bottom-end",
770
770
  offset: a = "var(--spacing-lg)",
771
771
  gap: e = 8,
772
- visibleToasts: s = 3,
772
+ visibleToasts: o = 3,
773
773
  className: w
774
774
  }) {
775
775
  const { t: d } = te();
@@ -789,9 +789,9 @@ function Oe({
789
789
  Me,
790
790
  {
791
791
  dir: k,
792
- position: ze(o),
792
+ position: ze(n),
793
793
  richColors: !1,
794
- visibleToasts: s,
794
+ visibleToasts: o,
795
795
  gap: e,
796
796
  offset: a,
797
797
  className: w,
@@ -801,8 +801,8 @@ function Oe({
801
801
  toast: [
802
802
  "flex items-center",
803
803
  "bg-[var(--popover)] text-[var(--popover-foreground)]",
804
- "border border-[color:var(--border)]",
805
804
  "shadow-[var(--shadow-lg)]",
805
+ "forced-colors:border forced-colors:border-[CanvasText]",
806
806
  "rounded-[var(--radius-md)]",
807
807
  "ps-[var(--spacing-md)] pe-[var(--spacing-md)] py-[var(--spacing-sm)]",
808
808
  "[max-inline-size:360px] max-sm:[max-inline-size:88dvw]",
@@ -819,12 +819,12 @@ function Oe({
819
819
  ) : null;
820
820
  }
821
821
  Oe.displayName = "Toaster";
822
- function He(o, a, e, s) {
823
- return /* @__PURE__ */ zt("div", { className: "flex w-full items-center gap-[var(--spacing-sm)]", children: [
824
- Ae[o],
825
- /* @__PURE__ */ zt("div", { className: "flex-1 min-w-0 flex flex-col gap-[var(--spacing-xs)]", children: [
826
- /* @__PURE__ */ P("span", { dir: "auto", className: "type-label leading-snug break-words", children: a }),
827
- s && /* @__PURE__ */ P("span", { dir: "auto", className: "type-body-sm text-[var(--muted-foreground)] break-words", children: s })
822
+ function He(n, a, e, o) {
823
+ return /* @__PURE__ */ zt("div", { className: "ds:flex ds:w-full ds:items-center ds:gap-[var(--spacing-sm)]", children: [
824
+ Ae[n],
825
+ /* @__PURE__ */ zt("div", { className: "ds:flex-1 ds:min-w-0 ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
826
+ /* @__PURE__ */ P("span", { dir: "auto", className: "type-label ds:leading-snug ds:break-words", children: a }),
827
+ o && /* @__PURE__ */ P("span", { dir: "auto", className: "type-body-sm ds:text-[var(--muted-foreground)] ds:break-words", children: o })
828
828
  ] }),
829
829
  /* @__PURE__ */ P(
830
830
  ee,
@@ -834,22 +834,22 @@ function He(o, a, e, s) {
834
834
  size: "sm",
835
835
  "aria-label": Lt,
836
836
  onClick: () => tt.dismiss(e),
837
- className: "shrink-0"
837
+ className: "ds:shrink-0"
838
838
  }
839
839
  )
840
840
  ] });
841
841
  }
842
- function ht(o, a, e) {
843
- const s = o === "error" ? 1 / 0 : 4e3, w = `${Date.now()}-${Math.random().toString(36).slice(2, 7)}`, d = He(o, a, w, e == null ? void 0 : e.description), c = {
842
+ function ht(n, a, e) {
843
+ const o = n === "error" ? 1 / 0 : 4e3, w = `${Date.now()}-${Math.random().toString(36).slice(2, 7)}`, d = He(n, a, w, e == null ? void 0 : e.description), c = {
844
844
  id: w,
845
845
  icon: null,
846
- duration: (e == null ? void 0 : e.duration) ?? s,
846
+ duration: (e == null ? void 0 : e.duration) ?? o,
847
847
  action: e != null && e.action ? { label: e.action.label, onClick: e.action.onClick } : void 0,
848
848
  cancel: e != null && e.cancel ? { label: e.cancel.label, onClick: e.cancel.onClick } : void 0,
849
849
  onDismiss: e == null ? void 0 : e.onDismiss,
850
850
  onAutoClose: e == null ? void 0 : e.onAutoClose
851
851
  };
852
- switch (o) {
852
+ switch (n) {
853
853
  case "error":
854
854
  return tt.error(d, c);
855
855
  case "success":
@@ -862,17 +862,17 @@ function ht(o, a, e) {
862
862
  return tt(d, c);
863
863
  }
864
864
  }
865
- function qe(o, a) {
866
- return ht("info", o, a);
865
+ function qe(n, a) {
866
+ return ht("info", n, a);
867
867
  }
868
- function Ge(o, a) {
869
- return ht("success", o, a);
868
+ function Ge(n, a) {
869
+ return ht("success", n, a);
870
870
  }
871
- function Qe(o, a) {
872
- return ht("warning", o, a);
871
+ function Qe(n, a) {
872
+ return ht("warning", n, a);
873
873
  }
874
- function Je(o, a) {
875
- return ht("error", o, a);
874
+ function Je(n, a) {
875
+ return ht("error", n, a);
876
876
  }
877
877
  export {
878
878
  Oe as T,
@@ -881,4 +881,4 @@ export {
881
881
  Qe as c,
882
882
  Je as t
883
883
  };
884
- //# sourceMappingURL=toast-DSCqnDRl.js.map
884
+ //# sourceMappingURL=toast-DllSITLf.js.map