@alfadocs/ui-kit-debug 0.71.0 → 0.72.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 (1231) hide show
  1. package/dist/_chunks/accordion-C11v9ouP.js +250 -0
  2. package/dist/_chunks/accordion-C11v9ouP.js.map +1 -0
  3. package/dist/_chunks/address-autocomplete-Bq-1n1UX.js +496 -0
  4. package/dist/_chunks/address-autocomplete-Bq-1n1UX.js.map +1 -0
  5. package/dist/_chunks/address-fields-COyjgqxA.js +246 -0
  6. package/dist/_chunks/address-fields-COyjgqxA.js.map +1 -0
  7. package/dist/_chunks/agenda-card-BCGaQazD.js +147 -0
  8. package/dist/_chunks/agenda-card-BCGaQazD.js.map +1 -0
  9. package/dist/_chunks/agenda-tray-loL2A3Cx.js +215 -0
  10. package/dist/_chunks/agenda-tray-loL2A3Cx.js.map +1 -0
  11. package/dist/_chunks/ai-consent-banner-Bke9m8VS.js +170 -0
  12. package/dist/_chunks/ai-consent-banner-Bke9m8VS.js.map +1 -0
  13. package/dist/_chunks/ai-prompt-input-TVI95hJD.js +500 -0
  14. package/dist/_chunks/ai-prompt-input-TVI95hJD.js.map +1 -0
  15. package/dist/_chunks/alert-KJbsPYkI.js +314 -0
  16. package/dist/_chunks/alert-KJbsPYkI.js.map +1 -0
  17. package/dist/_chunks/alia-sidebar-BV5lBSFR.js +1183 -0
  18. package/dist/_chunks/alia-sidebar-BV5lBSFR.js.map +1 -0
  19. package/dist/_chunks/anamnesis-card-CWO4Ui9c.js +156 -0
  20. package/dist/_chunks/anamnesis-card-CWO4Ui9c.js.map +1 -0
  21. package/dist/_chunks/annotation-marker-qt5R9WZX.js.map +1 -1
  22. package/dist/_chunks/antenatal-schedule-timeline-CY-VsLok.js +413 -0
  23. package/dist/_chunks/antenatal-schedule-timeline-CY-VsLok.js.map +1 -0
  24. package/dist/_chunks/appointment-card-Cy4FOkGP.js +311 -0
  25. package/dist/_chunks/appointment-card-Cy4FOkGP.js.map +1 -0
  26. package/dist/_chunks/appointment-timeline-BWAPPk8F.js +388 -0
  27. package/dist/_chunks/appointment-timeline-BWAPPk8F.js.map +1 -0
  28. package/dist/_chunks/appointment-tray-D3mk04TT.js +193 -0
  29. package/dist/_chunks/appointment-tray-D3mk04TT.js.map +1 -0
  30. package/dist/_chunks/ar-BOqyIfoY.js +399 -0
  31. package/dist/_chunks/ar-BOqyIfoY.js.map +1 -0
  32. package/dist/_chunks/astroid-BN4f5VXU.js +20 -0
  33. package/dist/_chunks/astroid-BN4f5VXU.js.map +1 -0
  34. package/dist/_chunks/audio-recorder-BbjG55dP.js +450 -0
  35. package/dist/_chunks/audio-recorder-BbjG55dP.js.map +1 -0
  36. package/dist/_chunks/bishop-score-C6eoak_j.js +304 -0
  37. package/dist/_chunks/bishop-score-C6eoak_j.js.map +1 -0
  38. package/dist/_chunks/bmi-calculator-BmQfoEGP.js +434 -0
  39. package/dist/_chunks/bmi-calculator-BmQfoEGP.js.map +1 -0
  40. package/dist/_chunks/booking-B62CMY5k.js +2695 -0
  41. package/dist/_chunks/booking-B62CMY5k.js.map +1 -0
  42. package/dist/_chunks/breadcrumb-agut0PwN.js +393 -0
  43. package/dist/_chunks/breadcrumb-agut0PwN.js.map +1 -0
  44. package/dist/_chunks/calculator-dialog-DuXMQSdm.js +40 -0
  45. package/dist/_chunks/calculator-dialog-DuXMQSdm.js.map +1 -0
  46. package/dist/_chunks/calendar-DeAlFPsF.js +1050 -0
  47. package/dist/_chunks/calendar-DeAlFPsF.js.map +1 -0
  48. package/dist/_chunks/calendar-clock-hbObjfGY.js +19 -0
  49. package/dist/_chunks/calendar-clock-hbObjfGY.js.map +1 -0
  50. package/dist/_chunks/calendar-days-BGWklvE-.js +23 -0
  51. package/dist/_chunks/calendar-days-BGWklvE-.js.map +1 -0
  52. package/dist/_chunks/care-plan-card-DhXbfGzE.js +256 -0
  53. package/dist/_chunks/care-plan-card-DhXbfGzE.js.map +1 -0
  54. package/dist/_chunks/care-plan-entry-card-D3YGD6rj.js +322 -0
  55. package/dist/_chunks/care-plan-entry-card-D3YGD6rj.js.map +1 -0
  56. package/dist/_chunks/care-plan-header-DtQxyfOb.js +198 -0
  57. package/dist/_chunks/care-plan-header-DtQxyfOb.js.map +1 -0
  58. package/dist/_chunks/carousel.agent-j7hWxJWr.js +1754 -0
  59. package/dist/_chunks/carousel.agent-j7hWxJWr.js.map +1 -0
  60. package/dist/_chunks/chat-container-BVCoN06N.js +234 -0
  61. package/dist/_chunks/chat-container-BVCoN06N.js.map +1 -0
  62. package/dist/_chunks/chat-input-Btq_uuMZ.js +368 -0
  63. package/dist/_chunks/chat-input-Btq_uuMZ.js.map +1 -0
  64. package/dist/_chunks/chat-message-DXjjM8z9.js +239 -0
  65. package/dist/_chunks/chat-message-DXjjM8z9.js.map +1 -0
  66. package/dist/_chunks/check-DrFSN__t.js +12 -0
  67. package/dist/_chunks/check-DrFSN__t.js.map +1 -0
  68. package/dist/_chunks/checkbox-group-CfqMv57d.js +213 -0
  69. package/dist/_chunks/checkbox-group-CfqMv57d.js.map +1 -0
  70. package/dist/_chunks/chevron-down-DWE7GSq9.js +12 -0
  71. package/dist/_chunks/chevron-down-DWE7GSq9.js.map +1 -0
  72. package/dist/_chunks/chevron-left-B8cOyH-V.js +12 -0
  73. package/dist/_chunks/chevron-left-B8cOyH-V.js.map +1 -0
  74. package/dist/_chunks/chevron-right-I9AeSxH2.js +12 -0
  75. package/dist/_chunks/chevron-right-I9AeSxH2.js.map +1 -0
  76. package/dist/_chunks/chevron-up-umRGgtJA.js +12 -0
  77. package/dist/_chunks/chevron-up-umRGgtJA.js.map +1 -0
  78. package/dist/_chunks/chevrons-right-DIHg7Xqi.js +26 -0
  79. package/dist/_chunks/chevrons-right-DIHg7Xqi.js.map +1 -0
  80. package/dist/_chunks/circle-alert-rGDZ73Wh.js +16 -0
  81. package/dist/_chunks/circle-alert-rGDZ73Wh.js.map +1 -0
  82. package/dist/_chunks/circle-check-BN6rz4NV.js +15 -0
  83. package/dist/_chunks/circle-check-BN6rz4NV.js.map +1 -0
  84. package/dist/_chunks/circle-j7oZoouK.js +12 -0
  85. package/dist/_chunks/circle-j7oZoouK.js.map +1 -0
  86. package/dist/_chunks/circle-x-W8Enq3i4.js +16 -0
  87. package/dist/_chunks/circle-x-W8Enq3i4.js.map +1 -0
  88. package/dist/_chunks/city-input-towzBenY.js +169 -0
  89. package/dist/_chunks/city-input-towzBenY.js.map +1 -0
  90. package/dist/_chunks/clinical-note-card-C7F_24IC.js +436 -0
  91. package/dist/_chunks/clinical-note-card-C7F_24IC.js.map +1 -0
  92. package/dist/_chunks/clipboard-check-BeAGxDVT.js +22 -0
  93. package/dist/_chunks/clipboard-check-BeAGxDVT.js.map +1 -0
  94. package/dist/_chunks/clock-Drd4Wtis.js +15 -0
  95. package/dist/_chunks/clock-Drd4Wtis.js.map +1 -0
  96. package/dist/_chunks/code-block-Cwi7e3HM.js +106 -0
  97. package/dist/_chunks/code-block-Cwi7e3HM.js.map +1 -0
  98. package/dist/_chunks/color-picker-D-tUwxxT.js +718 -0
  99. package/dist/_chunks/color-picker-D-tUwxxT.js.map +1 -0
  100. package/dist/_chunks/columns-2-8lq4-b8e.js +15 -0
  101. package/dist/_chunks/columns-2-8lq4-b8e.js.map +1 -0
  102. package/dist/_chunks/combobox-DiMLItyu.js +513 -0
  103. package/dist/_chunks/combobox-DiMLItyu.js.map +1 -0
  104. package/dist/_chunks/command-palette-DQl_SNEv.js +473 -0
  105. package/dist/_chunks/command-palette-DQl_SNEv.js.map +1 -0
  106. package/dist/_chunks/connection-status-0HajXMXM.js +108 -0
  107. package/dist/_chunks/connection-status-0HajXMXM.js.map +1 -0
  108. package/dist/_chunks/contact-card-0hnFJwrz.js +121 -0
  109. package/dist/_chunks/contact-card-0hnFJwrz.js.map +1 -0
  110. package/dist/_chunks/contact-profile-card-IggiUVpN.js +333 -0
  111. package/dist/_chunks/contact-profile-card-IggiUVpN.js.map +1 -0
  112. package/dist/_chunks/control-room-rail-DaGcsdZ6.js +333 -0
  113. package/dist/_chunks/control-room-rail-DaGcsdZ6.js.map +1 -0
  114. package/dist/_chunks/copy-field-PAp0-Wr5.js +268 -0
  115. package/dist/_chunks/copy-field-PAp0-Wr5.js.map +1 -0
  116. package/dist/_chunks/copy-vRpqqHtY.js +15 -0
  117. package/dist/_chunks/copy-vRpqqHtY.js.map +1 -0
  118. package/dist/_chunks/country-select-DYHDLEjG.js +709 -0
  119. package/dist/_chunks/country-select-DYHDLEjG.js.map +1 -0
  120. package/dist/_chunks/createLucideIcon-DhHxpK9K.js +117 -0
  121. package/dist/_chunks/createLucideIcon-DhHxpK9K.js.map +1 -0
  122. package/dist/_chunks/cycle-calculator-BNILyVas.js +252 -0
  123. package/dist/_chunks/cycle-calculator-BNILyVas.js.map +1 -0
  124. package/dist/_chunks/date-picker-CVkD_lOi.js +1845 -0
  125. package/dist/_chunks/date-picker-CVkD_lOi.js.map +1 -0
  126. package/dist/_chunks/date-picker-variants-DLg-ZrIo.js +3224 -0
  127. package/dist/_chunks/date-picker-variants-DLg-ZrIo.js.map +1 -0
  128. package/dist/_chunks/date-range-picker-Dw12DgV8.js +324 -0
  129. package/dist/_chunks/date-range-picker-Dw12DgV8.js.map +1 -0
  130. package/dist/_chunks/date-time-picker-Cd_OJtOy.js +336 -0
  131. package/dist/_chunks/date-time-picker-Cd_OJtOy.js.map +1 -0
  132. package/dist/_chunks/de-DFLsUxeV.js +477 -0
  133. package/dist/_chunks/de-DFLsUxeV.js.map +1 -0
  134. package/dist/_chunks/dependent-selector-DyFpdzZV.js +338 -0
  135. package/dist/_chunks/dependent-selector-DyFpdzZV.js.map +1 -0
  136. package/dist/_chunks/description-list-CmBVxIF5.js +319 -0
  137. package/dist/_chunks/description-list-CmBVxIF5.js.map +1 -0
  138. package/dist/_chunks/dialog-UbKJCi1X.js +230 -0
  139. package/dist/_chunks/dialog-UbKJCi1X.js.map +1 -0
  140. package/dist/_chunks/document-scanner-B23j4w7X.js +711 -0
  141. package/dist/_chunks/document-scanner-B23j4w7X.js.map +1 -0
  142. package/dist/_chunks/download-CfYKJO_j.js +16 -0
  143. package/dist/_chunks/download-CfYKJO_j.js.map +1 -0
  144. package/dist/_chunks/dropdown-menu-DU-Hrf33.js +355 -0
  145. package/dist/_chunks/dropdown-menu-DU-Hrf33.js.map +1 -0
  146. package/dist/_chunks/due-date-calculator-CmdAl_JO.js +256 -0
  147. package/dist/_chunks/due-date-calculator-CmdAl_JO.js.map +1 -0
  148. package/dist/_chunks/editable-currency-cell-renderer-z9fJFw6Z.js +410 -0
  149. package/dist/_chunks/editable-currency-cell-renderer-z9fJFw6Z.js.map +1 -0
  150. package/dist/_chunks/editor-overlay-BIOzr8v7.js +88 -0
  151. package/dist/_chunks/editor-overlay-BIOzr8v7.js.map +1 -0
  152. package/dist/_chunks/el-OVjBKytp.js +373 -0
  153. package/dist/_chunks/el-OVjBKytp.js.map +1 -0
  154. package/dist/_chunks/ellipsis-dRo9ouSU.js +16 -0
  155. package/dist/_chunks/ellipsis-dRo9ouSU.js.map +1 -0
  156. package/dist/_chunks/email-input-Dpe63k0K.js +397 -0
  157. package/dist/_chunks/email-input-Dpe63k0K.js.map +1 -0
  158. package/dist/_chunks/entity-card-9_62gY7l.js +87 -0
  159. package/dist/_chunks/entity-card-9_62gY7l.js.map +1 -0
  160. package/dist/_chunks/entity-summary-DpGziDv5.js +277 -0
  161. package/dist/_chunks/entity-summary-DpGziDv5.js.map +1 -0
  162. package/dist/_chunks/es-DKDNrHXG.js +373 -0
  163. package/dist/_chunks/es-DKDNrHXG.js.map +1 -0
  164. package/dist/_chunks/external-link-CY6zAXXU.js +16 -0
  165. package/dist/_chunks/external-link-CY6zAXXU.js.map +1 -0
  166. package/dist/_chunks/eye-BjhN2nYf.js +21 -0
  167. package/dist/_chunks/eye-BjhN2nYf.js.map +1 -0
  168. package/dist/_chunks/eye-off-C_4xkbRP.js +29 -0
  169. package/dist/_chunks/eye-off-C_4xkbRP.js.map +1 -0
  170. package/dist/_chunks/face-scheme-DOZO3M_c.js +1450 -0
  171. package/dist/_chunks/face-scheme-DOZO3M_c.js.map +1 -0
  172. package/dist/_chunks/face_detection_yunet_2023mar-BnsRs4bD.js +5 -0
  173. package/dist/_chunks/face_detection_yunet_2023mar-BnsRs4bD.js.map +1 -0
  174. package/dist/_chunks/fetal-weight-CVAH8sJ3.js +122 -0
  175. package/dist/_chunks/fetal-weight-CVAH8sJ3.js.map +1 -0
  176. package/dist/_chunks/field-array-CDzc3hTM.js +146 -0
  177. package/dist/_chunks/field-array-CDzc3hTM.js.map +1 -0
  178. package/dist/_chunks/field-value-Dj3i52H2.js +415 -0
  179. package/dist/_chunks/field-value-Dj3i52H2.js.map +1 -0
  180. package/dist/_chunks/file-spreadsheet-DmwyfV4O.js +25 -0
  181. package/dist/_chunks/file-spreadsheet-DmwyfV4O.js.map +1 -0
  182. package/dist/_chunks/file-text-5yv6r2ls.js +24 -0
  183. package/dist/_chunks/file-text-5yv6r2ls.js.map +1 -0
  184. package/dist/_chunks/file-upload-Kw1rdvFw.js +819 -0
  185. package/dist/_chunks/file-upload-Kw1rdvFw.js.map +1 -0
  186. package/dist/_chunks/finished-terminal-Di4gtZ50.js +122 -0
  187. package/dist/_chunks/finished-terminal-Di4gtZ50.js.map +1 -0
  188. package/dist/_chunks/fiscal-code-input-DKNXFXs3.js +553 -0
  189. package/dist/_chunks/fiscal-code-input-DKNXFXs3.js.map +1 -0
  190. package/dist/_chunks/form-field-M5UpX65Z.js +123 -0
  191. package/dist/_chunks/form-field-M5UpX65Z.js.map +1 -0
  192. package/dist/_chunks/fr-BfMvQh-v.js +338 -0
  193. package/dist/_chunks/fr-BfMvQh-v.js.map +1 -0
  194. package/dist/_chunks/freemium-paywall-DFoeedwh.js +275 -0
  195. package/dist/_chunks/freemium-paywall-DFoeedwh.js.map +1 -0
  196. package/dist/_chunks/gestational-age-calculator-BwCBPAGX.js +311 -0
  197. package/dist/_chunks/gestational-age-calculator-BwCBPAGX.js.map +1 -0
  198. package/dist/_chunks/globe-sHBW1JN5.js +16 -0
  199. package/dist/_chunks/globe-sHBW1JN5.js.map +1 -0
  200. package/dist/_chunks/grip-vertical-onSb1JXO.js +19 -0
  201. package/dist/_chunks/grip-vertical-onSb1JXO.js.map +1 -0
  202. package/dist/_chunks/hash-CSQ9SChR.js +17 -0
  203. package/dist/_chunks/hash-CSQ9SChR.js.map +1 -0
  204. package/dist/_chunks/hcg-doubling-CSsWxEJc.js +170 -0
  205. package/dist/_chunks/hcg-doubling-CSsWxEJc.js.map +1 -0
  206. package/dist/_chunks/header-DaXWDw0M.js +297 -0
  207. package/dist/_chunks/header-DaXWDw0M.js.map +1 -0
  208. package/dist/_chunks/header-settings-B0G_u-wV.js +284 -0
  209. package/dist/_chunks/header-settings-B0G_u-wV.js.map +1 -0
  210. package/dist/_chunks/heart--qCA4ffe.js +20 -0
  211. package/dist/_chunks/heart--qCA4ffe.js.map +1 -0
  212. package/dist/_chunks/heart-pulse-BCppJyN2.js +21 -0
  213. package/dist/_chunks/heart-pulse-BCppJyN2.js.map +1 -0
  214. package/dist/_chunks/hi-C0GEMwlD.js +433 -0
  215. package/dist/_chunks/hi-C0GEMwlD.js.map +1 -0
  216. package/dist/_chunks/iban-input-DXIA8Ln_.js +436 -0
  217. package/dist/_chunks/iban-input-DXIA8Ln_.js.map +1 -0
  218. package/dist/_chunks/icon-picker-Di6uYDG-.js +272 -0
  219. package/dist/_chunks/icon-picker-Di6uYDG-.js.map +1 -0
  220. package/dist/_chunks/image-B_5MNK0x.js +16 -0
  221. package/dist/_chunks/image-B_5MNK0x.js.map +1 -0
  222. package/dist/_chunks/image-cropper-CdmWFrMC.js +367 -0
  223. package/dist/_chunks/image-cropper-CdmWFrMC.js.map +1 -0
  224. package/dist/_chunks/info-CGn22peZ.js +16 -0
  225. package/dist/_chunks/info-CGn22peZ.js.map +1 -0
  226. package/dist/_chunks/insert-result-C7xSDb8q.js +742 -0
  227. package/dist/_chunks/insert-result-C7xSDb8q.js.map +1 -0
  228. package/dist/_chunks/isSameWeek-HddDAyJG.js +14 -0
  229. package/dist/_chunks/isSameWeek-HddDAyJG.js.map +1 -0
  230. package/dist/_chunks/it-5f4hiT2e.js +401 -0
  231. package/dist/_chunks/it-5f4hiT2e.js.map +1 -0
  232. package/dist/_chunks/ja-U0_2inl_.js +366 -0
  233. package/dist/_chunks/ja-U0_2inl_.js.map +1 -0
  234. package/dist/_chunks/key-value-pair-Byyyc_9J.js +144 -0
  235. package/dist/_chunks/key-value-pair-Byyyc_9J.js.map +1 -0
  236. package/dist/_chunks/languages-CGLX6Qpe.js +19 -0
  237. package/dist/_chunks/languages-CGLX6Qpe.js.map +1 -0
  238. package/dist/_chunks/layers-DcAENmsZ.js +34 -0
  239. package/dist/_chunks/layers-DcAENmsZ.js.map +1 -0
  240. package/dist/_chunks/link-CPb_pZPr.js +129 -0
  241. package/dist/_chunks/link-CPb_pZPr.js.map +1 -0
  242. package/dist/_chunks/link-cell-renderer-BCppbMec.js +2185 -0
  243. package/dist/_chunks/link-cell-renderer-BCppbMec.js.map +1 -0
  244. package/dist/_chunks/locale-picker-DzF7Q5Y8.js +739 -0
  245. package/dist/_chunks/locale-picker-DzF7Q5Y8.js.map +1 -0
  246. package/dist/_chunks/lock-ClAFG1gy.js +15 -0
  247. package/dist/_chunks/lock-ClAFG1gy.js.map +1 -0
  248. package/dist/_chunks/log-out-oDS6zO5d.js +16 -0
  249. package/dist/_chunks/log-out-oDS6zO5d.js.map +1 -0
  250. package/dist/_chunks/mail-BqXVF2zH.js +15 -0
  251. package/dist/_chunks/mail-BqXVF2zH.js.map +1 -0
  252. package/dist/_chunks/map-pin-BaY37-Km.js +21 -0
  253. package/dist/_chunks/map-pin-BaY37-Km.js.map +1 -0
  254. package/dist/_chunks/map-view-ByPvWG_9.js +378 -0
  255. package/dist/_chunks/map-view-ByPvWG_9.js.map +1 -0
  256. package/dist/_chunks/marketplace-app-shell-BCYiOvKZ.js +513 -0
  257. package/dist/_chunks/marketplace-app-shell-BCYiOvKZ.js.map +1 -0
  258. package/dist/_chunks/maximize-2-BYd2Kti7.js +17 -0
  259. package/dist/_chunks/maximize-2-BYd2Kti7.js.map +1 -0
  260. package/dist/_chunks/menu-Op71AWIC.js +16 -0
  261. package/dist/_chunks/menu-Op71AWIC.js.map +1 -0
  262. package/dist/_chunks/message-card-BZnnffyB.js +319 -0
  263. package/dist/_chunks/message-card-BZnnffyB.js.map +1 -0
  264. package/dist/_chunks/message-circle-Bepl9JT5.js +20 -0
  265. package/dist/_chunks/message-circle-Bepl9JT5.js.map +1 -0
  266. package/dist/_chunks/message-tray-cUHOCdU0.js +494 -0
  267. package/dist/_chunks/message-tray-cUHOCdU0.js.map +1 -0
  268. package/dist/_chunks/mic-CUklMZGF.js +16 -0
  269. package/dist/_chunks/mic-CUklMZGF.js.map +1 -0
  270. package/dist/_chunks/monitor-xXSrufmP.js +16 -0
  271. package/dist/_chunks/monitor-xXSrufmP.js.map +1 -0
  272. package/dist/_chunks/multi-select-D5QLBJM1.js +614 -0
  273. package/dist/_chunks/multi-select-D5QLBJM1.js.map +1 -0
  274. package/dist/_chunks/muscle-scheme-B9MIkuj0.js +1714 -0
  275. package/dist/_chunks/muscle-scheme-B9MIkuj0.js.map +1 -0
  276. package/dist/_chunks/nav-grid-gRudLsPX.js +169 -0
  277. package/dist/_chunks/nav-grid-gRudLsPX.js.map +1 -0
  278. package/dist/_chunks/navigation-menu-D3VndouD.js +310 -0
  279. package/dist/_chunks/navigation-menu-D3VndouD.js.map +1 -0
  280. package/dist/_chunks/nl-CDVnnx1U.js +326 -0
  281. package/dist/_chunks/nl-CDVnnx1U.js.map +1 -0
  282. package/dist/_chunks/notes-panel-CMyjUXD4.js +324 -0
  283. package/dist/_chunks/notes-panel-CMyjUXD4.js.map +1 -0
  284. package/dist/_chunks/notification-card-BHJ07FkH.js +290 -0
  285. package/dist/_chunks/notification-card-BHJ07FkH.js.map +1 -0
  286. package/dist/_chunks/notification-tray-Dzm1c3Wy.js +499 -0
  287. package/dist/_chunks/notification-tray-Dzm1c3Wy.js.map +1 -0
  288. package/dist/_chunks/number-input-DjWzmlEY.js +350 -0
  289. package/dist/_chunks/number-input-DjWzmlEY.js.map +1 -0
  290. package/dist/_chunks/operator-hero-DVy0RGoD.js +202 -0
  291. package/dist/_chunks/operator-hero-DVy0RGoD.js.map +1 -0
  292. package/dist/_chunks/optical-prescription-Bmlbuopi.js +653 -0
  293. package/dist/_chunks/optical-prescription-Bmlbuopi.js.map +1 -0
  294. package/dist/_chunks/pagination-EkD5SiCK.js +486 -0
  295. package/dist/_chunks/pagination-EkD5SiCK.js.map +1 -0
  296. package/dist/_chunks/patient-details-pU_E5xM2.js +778 -0
  297. package/dist/_chunks/patient-details-pU_E5xM2.js.map +1 -0
  298. package/dist/_chunks/patient-search-X9SUZGpy.js +1167 -0
  299. package/dist/_chunks/patient-search-X9SUZGpy.js.map +1 -0
  300. package/dist/_chunks/patient-shell-oiIRqEAl.js +162 -0
  301. package/dist/_chunks/patient-shell-oiIRqEAl.js.map +1 -0
  302. package/dist/_chunks/patient-summary-card--t3BjTdU.js +452 -0
  303. package/dist/_chunks/patient-summary-card--t3BjTdU.js.map +1 -0
  304. package/dist/_chunks/patient-table-BgWgNIMf.js +1110 -0
  305. package/dist/_chunks/patient-table-BgWgNIMf.js.map +1 -0
  306. package/dist/_chunks/payment-form-DL9xk9BA.js +690 -0
  307. package/dist/_chunks/payment-form-DL9xk9BA.js.map +1 -0
  308. package/dist/_chunks/payment-request-card-2ts7ITxd.js +467 -0
  309. package/dist/_chunks/payment-request-card-2ts7ITxd.js.map +1 -0
  310. package/dist/_chunks/pdf-viewer-DF3VMaPo.js +1005 -0
  311. package/dist/_chunks/pdf-viewer-DF3VMaPo.js.map +1 -0
  312. package/dist/_chunks/pencil-B1sKKyuT.js +21 -0
  313. package/dist/_chunks/pencil-B1sKKyuT.js.map +1 -0
  314. package/dist/_chunks/periodontal-chart-card-6c6Lt4ws.js +455 -0
  315. package/dist/_chunks/periodontal-chart-card-6c6Lt4ws.js.map +1 -0
  316. package/dist/_chunks/permission-matrix-BIJrGEmz.js +174 -0
  317. package/dist/_chunks/permission-matrix-BIJrGEmz.js.map +1 -0
  318. package/dist/_chunks/phone-FceYcIFQ.js +20 -0
  319. package/dist/_chunks/phone-FceYcIFQ.js.map +1 -0
  320. package/dist/_chunks/phone-input-dtnrvnZf.js +580 -0
  321. package/dist/_chunks/phone-input-dtnrvnZf.js.map +1 -0
  322. package/dist/_chunks/pl-BWNumNrg.js +514 -0
  323. package/dist/_chunks/pl-BWNumNrg.js.map +1 -0
  324. package/dist/_chunks/plus-DzMQ_c6b.js +15 -0
  325. package/dist/_chunks/plus-DzMQ_c6b.js.map +1 -0
  326. package/dist/_chunks/popover-uJ6BvEU3.js +302 -0
  327. package/dist/_chunks/popover-uJ6BvEU3.js.map +1 -0
  328. package/dist/_chunks/postal-code-input-BznBxVxf.js +192 -0
  329. package/dist/_chunks/postal-code-input-BznBxVxf.js.map +1 -0
  330. package/dist/_chunks/practice-results-CSEHTH2V.js +1609 -0
  331. package/dist/_chunks/practice-results-CSEHTH2V.js.map +1 -0
  332. package/dist/_chunks/pregnancy-dating-CxVAA6_4.js +421 -0
  333. package/dist/_chunks/pregnancy-dating-CxVAA6_4.js.map +1 -0
  334. package/dist/_chunks/pregnancy-weight-gain-C7zyrwow.js +322 -0
  335. package/dist/_chunks/pregnancy-weight-gain-C7zyrwow.js.map +1 -0
  336. package/dist/_chunks/printer-rkK0T1gi.js +22 -0
  337. package/dist/_chunks/printer-rkK0T1gi.js.map +1 -0
  338. package/dist/_chunks/privacy-lock-DrRmK8C7.js +197 -0
  339. package/dist/_chunks/privacy-lock-DrRmK8C7.js.map +1 -0
  340. package/dist/_chunks/product-hub-panel-CaZqttvm.js +678 -0
  341. package/dist/_chunks/product-hub-panel-CaZqttvm.js.map +1 -0
  342. package/dist/_chunks/province-select-BDywtmL-.js +261 -0
  343. package/dist/_chunks/province-select-BDywtmL-.js.map +1 -0
  344. package/dist/_chunks/pt-zqdQuryr.js +370 -0
  345. package/dist/_chunks/pt-zqdQuryr.js.map +1 -0
  346. package/dist/_chunks/public-footer.agent-BKkK3T3V.js +596 -0
  347. package/dist/_chunks/public-footer.agent-BKkK3T3V.js.map +1 -0
  348. package/dist/_chunks/public-header.agent-C-opZaOw.js +597 -0
  349. package/dist/_chunks/public-header.agent-C-opZaOw.js.map +1 -0
  350. package/dist/_chunks/radio-group-CI-6SmSw.js +167 -0
  351. package/dist/_chunks/radio-group-CI-6SmSw.js.map +1 -0
  352. package/dist/_chunks/radiograph-panel.agent-D1x33moc.js +553 -0
  353. package/dist/_chunks/radiograph-panel.agent-D1x33moc.js.map +1 -0
  354. package/dist/_chunks/rating-BYbUowdK.js +171 -0
  355. package/dist/_chunks/rating-BYbUowdK.js.map +1 -0
  356. package/dist/_chunks/refresh-cw-DnI0cLFC.js +17 -0
  357. package/dist/_chunks/refresh-cw-DnI0cLFC.js.map +1 -0
  358. package/dist/_chunks/reviews-panel-liUj6OPX.js +559 -0
  359. package/dist/_chunks/reviews-panel-liUj6OPX.js.map +1 -0
  360. package/dist/_chunks/rich-text-editor-DUgznqOf.js +2621 -0
  361. package/dist/_chunks/rich-text-editor-DUgznqOf.js.map +1 -0
  362. package/dist/_chunks/ro-CornQr64.js +361 -0
  363. package/dist/_chunks/ro-CornQr64.js.map +1 -0
  364. package/dist/_chunks/rotate-ccw-BBQnIVTr.js +15 -0
  365. package/dist/_chunks/rotate-ccw-BBQnIVTr.js.map +1 -0
  366. package/dist/_chunks/ru-CKAXNYVD.js +561 -0
  367. package/dist/_chunks/ru-CKAXNYVD.js.map +1 -0
  368. package/dist/_chunks/scan-line-CNseIHQ0.js +18 -0
  369. package/dist/_chunks/scan-line-CNseIHQ0.js.map +1 -0
  370. package/dist/_chunks/search-QbWPlY5f.js +15 -0
  371. package/dist/_chunks/search-QbWPlY5f.js.map +1 -0
  372. package/dist/_chunks/search-bar-CJj6sI9m.js +612 -0
  373. package/dist/_chunks/search-bar-CJj6sI9m.js.map +1 -0
  374. package/dist/_chunks/search-input-B7GmlPIE.js +237 -0
  375. package/dist/_chunks/search-input-B7GmlPIE.js.map +1 -0
  376. package/dist/_chunks/select-BmCbJMJS.js +442 -0
  377. package/dist/_chunks/select-BmCbJMJS.js.map +1 -0
  378. package/dist/_chunks/send-C5kDJ-Mz.js +21 -0
  379. package/dist/_chunks/send-C5kDJ-Mz.js.map +1 -0
  380. package/dist/_chunks/session-countdown-qr8EO5QY.js +214 -0
  381. package/dist/_chunks/session-countdown-qr8EO5QY.js.map +1 -0
  382. package/dist/_chunks/settings-d25ju_6L.js +21 -0
  383. package/dist/_chunks/settings-d25ju_6L.js.map +1 -0
  384. package/dist/_chunks/sheet-B_X54aZo.js +296 -0
  385. package/dist/_chunks/sheet-B_X54aZo.js.map +1 -0
  386. package/dist/_chunks/shield-check-DCJALLVh.js +21 -0
  387. package/dist/_chunks/shield-check-DCJALLVh.js.map +1 -0
  388. package/dist/_chunks/sidebar-B0OBmJrC.js +1311 -0
  389. package/dist/_chunks/sidebar-B0OBmJrC.js.map +1 -0
  390. package/dist/_chunks/sign-document-nK03S73h.js +370 -0
  391. package/dist/_chunks/sign-document-nK03S73h.js.map +1 -0
  392. package/dist/_chunks/signature-field-jgwYgUhO.js +197 -0
  393. package/dist/_chunks/signature-field-jgwYgUhO.js.map +1 -0
  394. package/dist/_chunks/smart-date-CsPlilQA.js +114 -0
  395. package/dist/_chunks/smart-date-CsPlilQA.js.map +1 -0
  396. package/dist/_chunks/sq-CIIvqXZv.js +355 -0
  397. package/dist/_chunks/sq-CIIvqXZv.js.map +1 -0
  398. package/dist/_chunks/square-DASBRZ0U.js +14 -0
  399. package/dist/_chunks/square-DASBRZ0U.js.map +1 -0
  400. package/dist/_chunks/square-check-big-dj0o8yA3.js +18 -0
  401. package/dist/_chunks/square-check-big-dj0o8yA3.js.map +1 -0
  402. package/dist/_chunks/star-Bf9L2Uot.js +20 -0
  403. package/dist/_chunks/star-Bf9L2Uot.js.map +1 -0
  404. package/dist/_chunks/stepper-accordion-BeVMZPuG.js +247 -0
  405. package/dist/_chunks/stepper-accordion-BeVMZPuG.js.map +1 -0
  406. package/dist/_chunks/stethoscope-sZXGC43m.js +18 -0
  407. package/dist/_chunks/stethoscope-sZXGC43m.js.map +1 -0
  408. package/dist/_chunks/streaming-text-Cedc05ya.js +131 -0
  409. package/dist/_chunks/streaming-text-Cedc05ya.js.map +1 -0
  410. package/dist/_chunks/subDays-DGSOp9d9.js +8 -0
  411. package/dist/_chunks/subDays-DGSOp9d9.js.map +1 -0
  412. package/dist/_chunks/sun-Bj9Mr553.js +38 -0
  413. package/dist/_chunks/sun-Bj9Mr553.js.map +1 -0
  414. package/dist/_chunks/sv-Kpk1pzjz.js +376 -0
  415. package/dist/_chunks/sv-Kpk1pzjz.js.map +1 -0
  416. package/dist/_chunks/tab-bar-Axhk6xzx.js +262 -0
  417. package/dist/_chunks/tab-bar-Axhk6xzx.js.map +1 -0
  418. package/dist/_chunks/tabs-DVQ941Sj.js +408 -0
  419. package/dist/_chunks/tabs-DVQ941Sj.js.map +1 -0
  420. package/dist/_chunks/tag-3wgkwwDB.js +258 -0
  421. package/dist/_chunks/tag-3wgkwwDB.js.map +1 -0
  422. package/dist/_chunks/task-card-BUgK6yZT.js +189 -0
  423. package/dist/_chunks/task-card-BUgK6yZT.js.map +1 -0
  424. package/dist/_chunks/task-tray-DP5A3Qnc.js +251 -0
  425. package/dist/_chunks/task-tray-DP5A3Qnc.js.map +1 -0
  426. package/dist/_chunks/tasks-panel-BuxaYtEF.js +757 -0
  427. package/dist/_chunks/tasks-panel-BuxaYtEF.js.map +1 -0
  428. package/dist/_chunks/text-input-CUvCb6ST.js +283 -0
  429. package/dist/_chunks/text-input-CUvCb6ST.js.map +1 -0
  430. package/dist/_chunks/theme-toggle-dtdy5EaL.js +367 -0
  431. package/dist/_chunks/theme-toggle-dtdy5EaL.js.map +1 -0
  432. package/dist/_chunks/timeline-r-8IUoBS.js +294 -0
  433. package/dist/_chunks/timeline-r-8IUoBS.js.map +1 -0
  434. package/dist/_chunks/toast.agent-BSxl057x.js +1005 -0
  435. package/dist/_chunks/toast.agent-BSxl057x.js.map +1 -0
  436. package/dist/_chunks/token-insert-menu-Pok4nExI.js +147 -0
  437. package/dist/_chunks/token-insert-menu-Pok4nExI.js.map +1 -0
  438. package/dist/_chunks/tooth-scheme-D_rso4uu.js +2133 -0
  439. package/dist/_chunks/tooth-scheme-D_rso4uu.js.map +1 -0
  440. package/dist/_chunks/tr-DHaeLFxG.js +378 -0
  441. package/dist/_chunks/tr-DHaeLFxG.js.map +1 -0
  442. package/dist/_chunks/transaction-chip-B6iWoVmU.js +225 -0
  443. package/dist/_chunks/transaction-chip-B6iWoVmU.js.map +1 -0
  444. package/dist/_chunks/transcript-panel-BGkEhvHO.js +374 -0
  445. package/dist/_chunks/transcript-panel-BGkEhvHO.js.map +1 -0
  446. package/dist/_chunks/trash-2-uumy3fy1.js +18 -0
  447. package/dist/_chunks/trash-2-uumy3fy1.js.map +1 -0
  448. package/dist/_chunks/triangle-alert-CBnO6nq_.js +22 -0
  449. package/dist/_chunks/triangle-alert-CBnO6nq_.js.map +1 -0
  450. package/dist/_chunks/unit-converter-fEqluT8b.js +337 -0
  451. package/dist/_chunks/unit-converter-fEqluT8b.js.map +1 -0
  452. package/dist/_chunks/use-password-requirements-Bwtqx1qN.js +453 -0
  453. package/dist/_chunks/use-password-requirements-Bwtqx1qN.js.map +1 -0
  454. package/dist/_chunks/user-B12p7bVF.js +15 -0
  455. package/dist/_chunks/user-B12p7bVF.js.map +1 -0
  456. package/dist/_chunks/user-cog-BTn98Arm.js +24 -0
  457. package/dist/_chunks/user-cog-BTn98Arm.js.map +1 -0
  458. package/dist/_chunks/users-BjS_Gg1E.js +17 -0
  459. package/dist/_chunks/users-BjS_Gg1E.js.map +1 -0
  460. package/dist/_chunks/video-BheNGvsu.js +21 -0
  461. package/dist/_chunks/video-BheNGvsu.js.map +1 -0
  462. package/dist/_chunks/warning-stack-BaMI7-n7.js +268 -0
  463. package/dist/_chunks/warning-stack-BaMI7-n7.js.map +1 -0
  464. package/dist/_chunks/workflow-map-qWsgCldq.js +1356 -0
  465. package/dist/_chunks/workflow-map-qWsgCldq.js.map +1 -0
  466. package/dist/_chunks/x-B5YnXwCz.js +15 -0
  467. package/dist/_chunks/x-B5YnXwCz.js.map +1 -0
  468. package/dist/_chunks/zh-CN-BncsTBwM.js +388 -0
  469. package/dist/_chunks/zh-CN-BncsTBwM.js.map +1 -0
  470. package/dist/_chunks/zoom-out-Dnif4kJx.js +29 -0
  471. package/dist/_chunks/zoom-out-Dnif4kJx.js.map +1 -0
  472. package/dist/agent-catalog.json +1473 -317
  473. package/dist/agent-i18n/en.json +107 -15
  474. package/dist/components/accordion/index.js +1 -1
  475. package/dist/components/address-autocomplete/index.js +1 -1
  476. package/dist/components/address-fields/index.js +1 -1
  477. package/dist/components/agenda-card/index.js +1 -1
  478. package/dist/components/agenda-tray/index.js +1 -1
  479. package/dist/components/ai-consent-banner/index.js +1 -1
  480. package/dist/components/ai-prompt-input/index.js +1 -1
  481. package/dist/components/alert/index.js +1 -1
  482. package/dist/components/anamnesis-card/index.js +1 -1
  483. package/dist/components/annotation-marker/annotation-marker.d.ts +1 -1
  484. package/dist/components/appointment-card/index.js +2 -2
  485. package/dist/components/appointment-timeline/index.js +1 -1
  486. package/dist/components/audio-recorder/index.js +1 -1
  487. package/dist/components/bishop-score/index.js +1 -1
  488. package/dist/components/bmi-calculator/index.js +1 -1
  489. package/dist/components/booking/index.js +1 -1
  490. package/dist/components/breadcrumb/index.js +1 -1
  491. package/dist/components/calculator-dialog/index.js +1 -1
  492. package/dist/components/calendar/index.js +1 -1
  493. package/dist/components/care-plan-card/index.js +1 -1
  494. package/dist/components/care-plan-entry-card/index.js +1 -1
  495. package/dist/components/care-plan-header/index.js +1 -1
  496. package/dist/components/carousel/index.js +1 -1
  497. package/dist/components/chat-container/index.js +1 -1
  498. package/dist/components/chat-input/index.js +1 -1
  499. package/dist/components/chat-message/chat-message.d.ts +1 -1
  500. package/dist/components/chat-message/index.js +1 -1
  501. package/dist/components/checkbox-group/index.js +1 -1
  502. package/dist/components/city-input/index.js +1 -1
  503. package/dist/components/clinical-note-card/index.js +1 -1
  504. package/dist/components/color-picker/index.js +1 -1
  505. package/dist/components/combobox/index.js +1 -1
  506. package/dist/components/command-palette/index.js +1 -1
  507. package/dist/components/connection-status/index.js +1 -1
  508. package/dist/components/contact-card/index.js +1 -1
  509. package/dist/components/contact-profile-card/index.js +1 -1
  510. package/dist/components/control-room-rail/index.js +1 -1
  511. package/dist/components/copy-field/index.js +1 -1
  512. package/dist/components/country-select/index.js +1 -1
  513. package/dist/components/cycle-calculator/index.js +1 -1
  514. package/dist/components/data-table/index.js +2 -2
  515. package/dist/components/date-picker/index.js +1 -1
  516. package/dist/components/date-range-picker/index.js +1 -1
  517. package/dist/components/date-time-picker/index.js +1 -1
  518. package/dist/components/dependent-selector/index.js +1 -1
  519. package/dist/components/description-list/index.js +1 -1
  520. package/dist/components/dialog/index.js +1 -1
  521. package/dist/components/document-scanner/index.js +1 -1
  522. package/dist/components/dropdown-menu/index.js +1 -1
  523. package/dist/components/due-date-calculator/index.js +2 -2
  524. package/dist/components/editor-overlay/index.js +1 -1
  525. package/dist/components/email-input/index.js +1 -1
  526. package/dist/components/entity-summary/index.js +1 -1
  527. package/dist/components/face-scheme/detect-face-landmarks.d.ts +26 -0
  528. package/dist/components/face-scheme/detect-face-landmarks.d.ts.map +1 -0
  529. package/dist/components/face-scheme/detect-face-yunet.d.ts +28 -0
  530. package/dist/components/face-scheme/detect-face-yunet.d.ts.map +1 -0
  531. package/dist/components/face-scheme/face-scheme-data.d.ts +113 -0
  532. package/dist/components/face-scheme/face-scheme-data.d.ts.map +1 -0
  533. package/dist/components/face-scheme/face-scheme-zones.d.ts +11 -0
  534. package/dist/components/face-scheme/face-scheme-zones.d.ts.map +1 -0
  535. package/dist/components/face-scheme/face-scheme.agent.d.ts +4 -0
  536. package/dist/components/face-scheme/face-scheme.agent.d.ts.map +1 -0
  537. package/dist/components/face-scheme/face-scheme.d.ts +144 -0
  538. package/dist/components/face-scheme/face-scheme.d.ts.map +1 -0
  539. package/dist/components/face-scheme/index.d.ts +7 -0
  540. package/dist/components/face-scheme/index.d.ts.map +1 -0
  541. package/dist/components/face-scheme/index.js +17 -0
  542. package/dist/components/fetal-weight/index.js +1 -1
  543. package/dist/components/field-array/index.js +1 -1
  544. package/dist/components/file-upload/index.js +1 -1
  545. package/dist/components/finished-terminal/index.js +1 -1
  546. package/dist/components/fiscal-code-input/index.js +1 -1
  547. package/dist/components/form-field/index.js +1 -1
  548. package/dist/components/freemium-paywall/index.js +1 -1
  549. package/dist/components/gestational-age-calculator/index.js +1 -1
  550. package/dist/components/hcg-doubling/index.js +1 -1
  551. package/dist/components/header/index.js +1 -1
  552. package/dist/components/header-settings/index.js +1 -1
  553. package/dist/components/iban-input/index.js +1 -1
  554. package/dist/components/icon-picker/index.js +1 -1
  555. package/dist/components/image-cropper/index.js +1 -1
  556. package/dist/components/index.d.ts +3 -1
  557. package/dist/components/index.d.ts.map +1 -1
  558. package/dist/components/key-value-pair/index.js +1 -1
  559. package/dist/components/link/index.js +1 -1
  560. package/dist/components/locale-picker/index.js +1 -1
  561. package/dist/components/map-view/index.js +1 -1
  562. package/dist/components/message-card/index.js +1 -1
  563. package/dist/components/message-tray/index.js +1 -1
  564. package/dist/components/multi-select/index.js +1 -1
  565. package/dist/components/muscle-scheme/index.d.ts +6 -0
  566. package/dist/components/muscle-scheme/index.d.ts.map +1 -0
  567. package/dist/components/muscle-scheme/index.js +16 -0
  568. package/dist/components/muscle-scheme/index.js.map +1 -0
  569. package/dist/components/muscle-scheme/muscle-paths.d.ts +22 -0
  570. package/dist/components/muscle-scheme/muscle-paths.d.ts.map +1 -0
  571. package/dist/components/muscle-scheme/muscle-scheme-data.d.ts +107 -0
  572. package/dist/components/muscle-scheme/muscle-scheme-data.d.ts.map +1 -0
  573. package/dist/components/muscle-scheme/muscle-scheme.agent.d.ts +6 -0
  574. package/dist/components/muscle-scheme/muscle-scheme.agent.d.ts.map +1 -0
  575. package/dist/components/muscle-scheme/muscle-scheme.d.ts +66 -0
  576. package/dist/components/muscle-scheme/muscle-scheme.d.ts.map +1 -0
  577. package/dist/components/nav-grid/index.js +1 -1
  578. package/dist/components/navigation-menu/index.js +1 -1
  579. package/dist/components/notes-panel/index.js +1 -1
  580. package/dist/components/notification-card/index.js +1 -1
  581. package/dist/components/notification-tray/index.js +1 -1
  582. package/dist/components/number-input/index.js +1 -1
  583. package/dist/components/operator-hero/index.js +1 -1
  584. package/dist/components/optical-prescription/index.d.ts +6 -0
  585. package/dist/components/optical-prescription/index.d.ts.map +1 -0
  586. package/dist/components/optical-prescription/index.js +38 -0
  587. package/dist/components/optical-prescription/index.js.map +1 -0
  588. package/dist/components/optical-prescription/optical-prescription-data.d.ts +106 -0
  589. package/dist/components/optical-prescription/optical-prescription-data.d.ts.map +1 -0
  590. package/dist/components/optical-prescription/optical-prescription.agent.d.ts +6 -0
  591. package/dist/components/optical-prescription/optical-prescription.agent.d.ts.map +1 -0
  592. package/dist/components/optical-prescription/optical-prescription.d.ts +43 -0
  593. package/dist/components/optical-prescription/optical-prescription.d.ts.map +1 -0
  594. package/dist/components/pagination/index.js +1 -1
  595. package/dist/components/password-input/index.js +1 -1
  596. package/dist/components/patient-details/index.js +1 -1
  597. package/dist/components/patient-search/index.js +1 -1
  598. package/dist/components/patient-summary-card/index.js +1 -1
  599. package/dist/components/patient-table/index.js +1 -1
  600. package/dist/components/payment-card/index.js +1 -1
  601. package/dist/components/payment-form/index.js +1 -1
  602. package/dist/components/pdf-viewer/index.js +1 -1
  603. package/dist/components/periodontal-chart-card/index.js +1 -1
  604. package/dist/components/permission-matrix/index.js +1 -1
  605. package/dist/components/phone-input/index.js +1 -1
  606. package/dist/components/popover/index.js +1 -1
  607. package/dist/components/postal-code-input/index.js +1 -1
  608. package/dist/components/practice-results/index.js +1 -1
  609. package/dist/components/pregnancy-dating/index.js +1 -1
  610. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  611. package/dist/components/privacy-lock/index.js +1 -1
  612. package/dist/components/product-hub-tray/index.js +1 -1
  613. package/dist/components/province-select/index.js +1 -1
  614. package/dist/components/public-footer/index.js +1 -1
  615. package/dist/components/public-header/index.js +1 -1
  616. package/dist/components/radio-group/index.js +1 -1
  617. package/dist/components/radiograph-panel/index.js +1 -1
  618. package/dist/components/rating/index.js +1 -1
  619. package/dist/components/reviews-panel/index.js +1 -1
  620. package/dist/components/rich-text-editor/index.js +1 -1
  621. package/dist/components/search-bar/index.js +1 -1
  622. package/dist/components/search-input/index.js +1 -1
  623. package/dist/components/select/index.js +1 -1
  624. package/dist/components/session-countdown/index.js +1 -1
  625. package/dist/components/sheet/index.js +1 -1
  626. package/dist/components/sidebar/index.js +1 -1
  627. package/dist/components/sign-document/index.js +1 -1
  628. package/dist/components/signature-field/index.js +1 -1
  629. package/dist/components/smart-date/index.js +1 -1
  630. package/dist/components/stepper-accordion/index.js +1 -1
  631. package/dist/components/streaming-text/index.js +1 -1
  632. package/dist/components/tab-bar/index.js +1 -1
  633. package/dist/components/tabs/index.js +1 -1
  634. package/dist/components/tag/index.js +1 -1
  635. package/dist/components/task-card/index.js +1 -1
  636. package/dist/components/task-tray/index.js +1 -1
  637. package/dist/components/tasks-panel/index.js +1 -1
  638. package/dist/components/text-input/index.js +1 -1
  639. package/dist/components/theme-toggle/index.js +1 -1
  640. package/dist/components/timeline/index.js +1 -1
  641. package/dist/components/toast/index.js +1 -1
  642. package/dist/components/token-insert-menu/index.js +1 -1
  643. package/dist/components/tooth-scheme/index.js +1 -1
  644. package/dist/components/transaction-chip/index.js +1 -1
  645. package/dist/components/transcript-panel/index.js +1 -1
  646. package/dist/components/unit-converter/index.js +1 -1
  647. package/dist/components/warning-stack/index.js +1 -1
  648. package/dist/components/workflow/index.js +1 -1
  649. package/dist/i18n/locales/ar.d.ts +139 -98
  650. package/dist/i18n/locales/ar.d.ts.map +1 -1
  651. package/dist/i18n/locales/ar.js +141 -107
  652. package/dist/i18n/locales/ar.js.map +1 -1
  653. package/dist/i18n/locales/de.d.ts +139 -98
  654. package/dist/i18n/locales/de.d.ts.map +1 -1
  655. package/dist/i18n/locales/de.js +141 -107
  656. package/dist/i18n/locales/de.js.map +1 -1
  657. package/dist/i18n/locales/el.d.ts +139 -98
  658. package/dist/i18n/locales/el.d.ts.map +1 -1
  659. package/dist/i18n/locales/el.js +141 -107
  660. package/dist/i18n/locales/el.js.map +1 -1
  661. package/dist/i18n/locales/en.d.ts +139 -98
  662. package/dist/i18n/locales/en.d.ts.map +1 -1
  663. package/dist/i18n/locales/en.js +141 -107
  664. package/dist/i18n/locales/en.js.map +1 -1
  665. package/dist/i18n/locales/es.d.ts +139 -98
  666. package/dist/i18n/locales/es.d.ts.map +1 -1
  667. package/dist/i18n/locales/es.js +141 -107
  668. package/dist/i18n/locales/es.js.map +1 -1
  669. package/dist/i18n/locales/fr.d.ts +139 -98
  670. package/dist/i18n/locales/fr.d.ts.map +1 -1
  671. package/dist/i18n/locales/fr.js +141 -107
  672. package/dist/i18n/locales/fr.js.map +1 -1
  673. package/dist/i18n/locales/hi.d.ts +139 -98
  674. package/dist/i18n/locales/hi.d.ts.map +1 -1
  675. package/dist/i18n/locales/hi.js +141 -107
  676. package/dist/i18n/locales/hi.js.map +1 -1
  677. package/dist/i18n/locales/it.d.ts +139 -98
  678. package/dist/i18n/locales/it.d.ts.map +1 -1
  679. package/dist/i18n/locales/it.js +141 -107
  680. package/dist/i18n/locales/it.js.map +1 -1
  681. package/dist/i18n/locales/ja.d.ts +139 -98
  682. package/dist/i18n/locales/ja.d.ts.map +1 -1
  683. package/dist/i18n/locales/ja.js +141 -107
  684. package/dist/i18n/locales/ja.js.map +1 -1
  685. package/dist/i18n/locales/nl.d.ts +139 -98
  686. package/dist/i18n/locales/nl.d.ts.map +1 -1
  687. package/dist/i18n/locales/nl.js +141 -107
  688. package/dist/i18n/locales/nl.js.map +1 -1
  689. package/dist/i18n/locales/pl.d.ts +139 -98
  690. package/dist/i18n/locales/pl.d.ts.map +1 -1
  691. package/dist/i18n/locales/pl.js +141 -107
  692. package/dist/i18n/locales/pl.js.map +1 -1
  693. package/dist/i18n/locales/pt.d.ts +139 -98
  694. package/dist/i18n/locales/pt.d.ts.map +1 -1
  695. package/dist/i18n/locales/pt.js +141 -107
  696. package/dist/i18n/locales/pt.js.map +1 -1
  697. package/dist/i18n/locales/ro.d.ts +139 -98
  698. package/dist/i18n/locales/ro.d.ts.map +1 -1
  699. package/dist/i18n/locales/ro.js +141 -107
  700. package/dist/i18n/locales/ro.js.map +1 -1
  701. package/dist/i18n/locales/ru.d.ts +139 -98
  702. package/dist/i18n/locales/ru.d.ts.map +1 -1
  703. package/dist/i18n/locales/ru.js +141 -107
  704. package/dist/i18n/locales/ru.js.map +1 -1
  705. package/dist/i18n/locales/sq.d.ts +139 -98
  706. package/dist/i18n/locales/sq.d.ts.map +1 -1
  707. package/dist/i18n/locales/sq.js +141 -107
  708. package/dist/i18n/locales/sq.js.map +1 -1
  709. package/dist/i18n/locales/sv.d.ts +139 -98
  710. package/dist/i18n/locales/sv.d.ts.map +1 -1
  711. package/dist/i18n/locales/sv.js +141 -107
  712. package/dist/i18n/locales/sv.js.map +1 -1
  713. package/dist/i18n/locales/tr.d.ts +139 -98
  714. package/dist/i18n/locales/tr.d.ts.map +1 -1
  715. package/dist/i18n/locales/tr.js +141 -107
  716. package/dist/i18n/locales/tr.js.map +1 -1
  717. package/dist/i18n/locales/zh.d.ts +139 -98
  718. package/dist/i18n/locales/zh.d.ts.map +1 -1
  719. package/dist/i18n/locales/zh.js +141 -107
  720. package/dist/i18n/locales/zh.js.map +1 -1
  721. package/dist/index.js +710 -662
  722. package/dist/index.js.map +1 -1
  723. package/dist/locales/ar.json +141 -100
  724. package/dist/locales/de.json +141 -100
  725. package/dist/locales/el.json +141 -100
  726. package/dist/locales/en.json +141 -100
  727. package/dist/locales/es.json +141 -100
  728. package/dist/locales/fr.json +141 -100
  729. package/dist/locales/hi.json +141 -100
  730. package/dist/locales/it.json +141 -100
  731. package/dist/locales/ja.json +141 -100
  732. package/dist/locales/nl.json +141 -100
  733. package/dist/locales/pl.json +141 -100
  734. package/dist/locales/pt.json +141 -100
  735. package/dist/locales/ro.json +141 -100
  736. package/dist/locales/ru.json +141 -100
  737. package/dist/locales/sq.json +141 -100
  738. package/dist/locales/sv.json +141 -100
  739. package/dist/locales/tr.json +141 -100
  740. package/dist/locales/zh.json +141 -100
  741. package/dist/patterns/alia-assistant/alia-asteroid-icon.d.ts +18 -0
  742. package/dist/patterns/alia-assistant/alia-asteroid-icon.d.ts.map +1 -0
  743. package/dist/patterns/alia-assistant/alia-chat-surface.d.ts.map +1 -1
  744. package/dist/patterns/alia-assistant/alia-sidebar.d.ts.map +1 -1
  745. package/dist/patterns/alia-assistant/index.js +1 -1
  746. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  747. package/dist/patterns/patient-shell/index.js +1 -1
  748. package/dist/tokens.css +7 -1
  749. package/package.json +13 -5
  750. package/dist/_chunks/accordion-DnIa7OHX.js +0 -250
  751. package/dist/_chunks/accordion-DnIa7OHX.js.map +0 -1
  752. package/dist/_chunks/address-autocomplete-BEX9PXty.js +0 -496
  753. package/dist/_chunks/address-autocomplete-BEX9PXty.js.map +0 -1
  754. package/dist/_chunks/address-fields-CPbFJ8e8.js +0 -246
  755. package/dist/_chunks/address-fields-CPbFJ8e8.js.map +0 -1
  756. package/dist/_chunks/agenda-card-BQ-IKAru.js +0 -147
  757. package/dist/_chunks/agenda-card-BQ-IKAru.js.map +0 -1
  758. package/dist/_chunks/agenda-tray-CGXRk58j.js +0 -215
  759. package/dist/_chunks/agenda-tray-CGXRk58j.js.map +0 -1
  760. package/dist/_chunks/ai-consent-banner-Be-h9mRI.js +0 -170
  761. package/dist/_chunks/ai-consent-banner-Be-h9mRI.js.map +0 -1
  762. package/dist/_chunks/ai-prompt-input-V4DdOeqv.js +0 -500
  763. package/dist/_chunks/ai-prompt-input-V4DdOeqv.js.map +0 -1
  764. package/dist/_chunks/alert-CHYZ96tR.js +0 -314
  765. package/dist/_chunks/alert-CHYZ96tR.js.map +0 -1
  766. package/dist/_chunks/alia-sidebar-DvIUzIX9.js +0 -1127
  767. package/dist/_chunks/alia-sidebar-DvIUzIX9.js.map +0 -1
  768. package/dist/_chunks/anamnesis-card-DvYCa16e.js +0 -156
  769. package/dist/_chunks/anamnesis-card-DvYCa16e.js.map +0 -1
  770. package/dist/_chunks/anatomy-scheme-CXSk11UJ.js +0 -2445
  771. package/dist/_chunks/anatomy-scheme-CXSk11UJ.js.map +0 -1
  772. package/dist/_chunks/antenatal-schedule-timeline-CwXrQRm1.js +0 -413
  773. package/dist/_chunks/antenatal-schedule-timeline-CwXrQRm1.js.map +0 -1
  774. package/dist/_chunks/appointment-card-DVaeJNVB.js +0 -294
  775. package/dist/_chunks/appointment-card-DVaeJNVB.js.map +0 -1
  776. package/dist/_chunks/appointment-timeline-PJgnrjFb.js +0 -388
  777. package/dist/_chunks/appointment-timeline-PJgnrjFb.js.map +0 -1
  778. package/dist/_chunks/appointment-tray-B16QPGbm.js +0 -193
  779. package/dist/_chunks/appointment-tray-B16QPGbm.js.map +0 -1
  780. package/dist/_chunks/ar-Cn5Fq48Z.js +0 -399
  781. package/dist/_chunks/ar-Cn5Fq48Z.js.map +0 -1
  782. package/dist/_chunks/audio-recorder-DNDsOLqO.js +0 -450
  783. package/dist/_chunks/audio-recorder-DNDsOLqO.js.map +0 -1
  784. package/dist/_chunks/bishop-score-Cym_TeQY.js +0 -304
  785. package/dist/_chunks/bishop-score-Cym_TeQY.js.map +0 -1
  786. package/dist/_chunks/bmi-calculator-zjeY4E7J.js +0 -434
  787. package/dist/_chunks/bmi-calculator-zjeY4E7J.js.map +0 -1
  788. package/dist/_chunks/booking-C7do4vaR.js +0 -2711
  789. package/dist/_chunks/booking-C7do4vaR.js.map +0 -1
  790. package/dist/_chunks/breadcrumb-CchdeG7d.js +0 -393
  791. package/dist/_chunks/breadcrumb-CchdeG7d.js.map +0 -1
  792. package/dist/_chunks/calculator-dialog-BR5iU0kf.js +0 -40
  793. package/dist/_chunks/calculator-dialog-BR5iU0kf.js.map +0 -1
  794. package/dist/_chunks/calendar-B6soK1Yb.js +0 -17
  795. package/dist/_chunks/calendar-B6soK1Yb.js.map +0 -1
  796. package/dist/_chunks/calendar-CZUjL8SZ.js +0 -1050
  797. package/dist/_chunks/calendar-CZUjL8SZ.js.map +0 -1
  798. package/dist/_chunks/calendar-clock-CYkcqdwl.js +0 -19
  799. package/dist/_chunks/calendar-clock-CYkcqdwl.js.map +0 -1
  800. package/dist/_chunks/calendar-days-C4BmpCZg.js +0 -23
  801. package/dist/_chunks/calendar-days-C4BmpCZg.js.map +0 -1
  802. package/dist/_chunks/care-plan-card-DzPDYgtK.js +0 -256
  803. package/dist/_chunks/care-plan-card-DzPDYgtK.js.map +0 -1
  804. package/dist/_chunks/care-plan-entry-card-CEnQy7YP.js +0 -322
  805. package/dist/_chunks/care-plan-entry-card-CEnQy7YP.js.map +0 -1
  806. package/dist/_chunks/care-plan-header-DcXFXWit.js +0 -198
  807. package/dist/_chunks/care-plan-header-DcXFXWit.js.map +0 -1
  808. package/dist/_chunks/carousel.agent-4v8Emr9E.js +0 -1754
  809. package/dist/_chunks/carousel.agent-4v8Emr9E.js.map +0 -1
  810. package/dist/_chunks/chat-container-DWho5hPR.js +0 -234
  811. package/dist/_chunks/chat-container-DWho5hPR.js.map +0 -1
  812. package/dist/_chunks/chat-input-BcXTetgM.js +0 -368
  813. package/dist/_chunks/chat-input-BcXTetgM.js.map +0 -1
  814. package/dist/_chunks/chat-message-DzpcJR-q.js +0 -239
  815. package/dist/_chunks/chat-message-DzpcJR-q.js.map +0 -1
  816. package/dist/_chunks/check-DPdL_Sm7.js +0 -12
  817. package/dist/_chunks/check-DPdL_Sm7.js.map +0 -1
  818. package/dist/_chunks/checkbox-group-PqNmQ-cE.js +0 -213
  819. package/dist/_chunks/checkbox-group-PqNmQ-cE.js.map +0 -1
  820. package/dist/_chunks/chevron-down-BX_NP2Yh.js +0 -12
  821. package/dist/_chunks/chevron-down-BX_NP2Yh.js.map +0 -1
  822. package/dist/_chunks/chevron-left-CX1jqD2M.js +0 -12
  823. package/dist/_chunks/chevron-left-CX1jqD2M.js.map +0 -1
  824. package/dist/_chunks/chevron-right-BrpYejk0.js +0 -12
  825. package/dist/_chunks/chevron-right-BrpYejk0.js.map +0 -1
  826. package/dist/_chunks/chevron-up-zOEDrmBB.js +0 -12
  827. package/dist/_chunks/chevron-up-zOEDrmBB.js.map +0 -1
  828. package/dist/_chunks/chevrons-right-d9MwesPG.js +0 -26
  829. package/dist/_chunks/chevrons-right-d9MwesPG.js.map +0 -1
  830. package/dist/_chunks/circle-BkqTgYmt.js +0 -12
  831. package/dist/_chunks/circle-BkqTgYmt.js.map +0 -1
  832. package/dist/_chunks/circle-alert-ChA9opNA.js +0 -16
  833. package/dist/_chunks/circle-alert-ChA9opNA.js.map +0 -1
  834. package/dist/_chunks/circle-check-9AeSgJD_.js +0 -15
  835. package/dist/_chunks/circle-check-9AeSgJD_.js.map +0 -1
  836. package/dist/_chunks/circle-x-Du2CmjaU.js +0 -16
  837. package/dist/_chunks/circle-x-Du2CmjaU.js.map +0 -1
  838. package/dist/_chunks/city-input-Dkgaak7I.js +0 -169
  839. package/dist/_chunks/city-input-Dkgaak7I.js.map +0 -1
  840. package/dist/_chunks/clinical-note-card-BUvNMNGL.js +0 -436
  841. package/dist/_chunks/clinical-note-card-BUvNMNGL.js.map +0 -1
  842. package/dist/_chunks/clipboard-list-S7s-MXQq.js +0 -25
  843. package/dist/_chunks/clipboard-list-S7s-MXQq.js.map +0 -1
  844. package/dist/_chunks/clock-21AGPWJ5.js +0 -15
  845. package/dist/_chunks/clock-21AGPWJ5.js.map +0 -1
  846. package/dist/_chunks/code-block-BBWHhIc8.js +0 -106
  847. package/dist/_chunks/code-block-BBWHhIc8.js.map +0 -1
  848. package/dist/_chunks/color-picker-C_fZl6sA.js +0 -718
  849. package/dist/_chunks/color-picker-C_fZl6sA.js.map +0 -1
  850. package/dist/_chunks/columns-2-BTOBZbep.js +0 -15
  851. package/dist/_chunks/columns-2-BTOBZbep.js.map +0 -1
  852. package/dist/_chunks/combobox-DnqSF0IH.js +0 -513
  853. package/dist/_chunks/combobox-DnqSF0IH.js.map +0 -1
  854. package/dist/_chunks/command-palette-CJzmc5pC.js +0 -473
  855. package/dist/_chunks/command-palette-CJzmc5pC.js.map +0 -1
  856. package/dist/_chunks/connection-status-CY1HV8Wg.js +0 -108
  857. package/dist/_chunks/connection-status-CY1HV8Wg.js.map +0 -1
  858. package/dist/_chunks/contact-card-Cf8Ktyt3.js +0 -121
  859. package/dist/_chunks/contact-card-Cf8Ktyt3.js.map +0 -1
  860. package/dist/_chunks/contact-profile-card-DDPwRFiP.js +0 -333
  861. package/dist/_chunks/contact-profile-card-DDPwRFiP.js.map +0 -1
  862. package/dist/_chunks/control-room-rail-FAQZrGVL.js +0 -333
  863. package/dist/_chunks/control-room-rail-FAQZrGVL.js.map +0 -1
  864. package/dist/_chunks/copy-B00HK7tj.js +0 -15
  865. package/dist/_chunks/copy-B00HK7tj.js.map +0 -1
  866. package/dist/_chunks/copy-field-Bjw9u2cV.js +0 -268
  867. package/dist/_chunks/copy-field-Bjw9u2cV.js.map +0 -1
  868. package/dist/_chunks/country-select-BwUZQvTa.js +0 -709
  869. package/dist/_chunks/country-select-BwUZQvTa.js.map +0 -1
  870. package/dist/_chunks/createLucideIcon-CrFbzy84.js +0 -117
  871. package/dist/_chunks/createLucideIcon-CrFbzy84.js.map +0 -1
  872. package/dist/_chunks/cycle-calculator-CCmPwcBl.js +0 -252
  873. package/dist/_chunks/cycle-calculator-CCmPwcBl.js.map +0 -1
  874. package/dist/_chunks/date-picker-Dl9RKxaV.js +0 -1845
  875. package/dist/_chunks/date-picker-Dl9RKxaV.js.map +0 -1
  876. package/dist/_chunks/date-picker-variants-DAcSLTua.js +0 -3224
  877. package/dist/_chunks/date-picker-variants-DAcSLTua.js.map +0 -1
  878. package/dist/_chunks/date-range-picker-CTUeR6Bj.js +0 -324
  879. package/dist/_chunks/date-range-picker-CTUeR6Bj.js.map +0 -1
  880. package/dist/_chunks/date-time-picker-BhoogS5Q.js +0 -336
  881. package/dist/_chunks/date-time-picker-BhoogS5Q.js.map +0 -1
  882. package/dist/_chunks/de-CrJs4ZsX.js +0 -477
  883. package/dist/_chunks/de-CrJs4ZsX.js.map +0 -1
  884. package/dist/_chunks/dependent-selector-DUV4thxX.js +0 -338
  885. package/dist/_chunks/dependent-selector-DUV4thxX.js.map +0 -1
  886. package/dist/_chunks/description-list-gkNGWk5G.js +0 -319
  887. package/dist/_chunks/description-list-gkNGWk5G.js.map +0 -1
  888. package/dist/_chunks/dialog-ZNuboNmy.js +0 -230
  889. package/dist/_chunks/dialog-ZNuboNmy.js.map +0 -1
  890. package/dist/_chunks/document-scanner-C_AxLooF.js +0 -711
  891. package/dist/_chunks/document-scanner-C_AxLooF.js.map +0 -1
  892. package/dist/_chunks/download-CDF1sbL9.js +0 -16
  893. package/dist/_chunks/download-CDF1sbL9.js.map +0 -1
  894. package/dist/_chunks/dropdown-menu-qrxjymfw.js +0 -355
  895. package/dist/_chunks/dropdown-menu-qrxjymfw.js.map +0 -1
  896. package/dist/_chunks/due-date-calculator-Brdj-euS.js +0 -256
  897. package/dist/_chunks/due-date-calculator-Brdj-euS.js.map +0 -1
  898. package/dist/_chunks/editable-currency-cell-renderer-CGELrkIj.js +0 -410
  899. package/dist/_chunks/editable-currency-cell-renderer-CGELrkIj.js.map +0 -1
  900. package/dist/_chunks/editor-overlay-wYm22wZK.js +0 -88
  901. package/dist/_chunks/editor-overlay-wYm22wZK.js.map +0 -1
  902. package/dist/_chunks/el-DHdMOIhL.js +0 -373
  903. package/dist/_chunks/el-DHdMOIhL.js.map +0 -1
  904. package/dist/_chunks/ellipsis-rgGdiK_9.js +0 -16
  905. package/dist/_chunks/ellipsis-rgGdiK_9.js.map +0 -1
  906. package/dist/_chunks/email-input-DJ7EXklP.js +0 -397
  907. package/dist/_chunks/email-input-DJ7EXklP.js.map +0 -1
  908. package/dist/_chunks/entity-card-DmrgYSEX.js +0 -87
  909. package/dist/_chunks/entity-card-DmrgYSEX.js.map +0 -1
  910. package/dist/_chunks/entity-summary-CaM1Y-xE.js +0 -291
  911. package/dist/_chunks/entity-summary-CaM1Y-xE.js.map +0 -1
  912. package/dist/_chunks/es-DCATCfqo.js +0 -373
  913. package/dist/_chunks/es-DCATCfqo.js.map +0 -1
  914. package/dist/_chunks/external-link-C6F25E6k.js +0 -16
  915. package/dist/_chunks/external-link-C6F25E6k.js.map +0 -1
  916. package/dist/_chunks/eye-LHlSU38h.js +0 -21
  917. package/dist/_chunks/eye-LHlSU38h.js.map +0 -1
  918. package/dist/_chunks/eye-off-xEXDAh5z.js +0 -29
  919. package/dist/_chunks/eye-off-xEXDAh5z.js.map +0 -1
  920. package/dist/_chunks/fetal-weight-DNCkyeVo.js +0 -122
  921. package/dist/_chunks/fetal-weight-DNCkyeVo.js.map +0 -1
  922. package/dist/_chunks/field-array-siUZzfYe.js +0 -146
  923. package/dist/_chunks/field-array-siUZzfYe.js.map +0 -1
  924. package/dist/_chunks/field-value-3jMM0uDx.js +0 -415
  925. package/dist/_chunks/field-value-3jMM0uDx.js.map +0 -1
  926. package/dist/_chunks/file-spreadsheet-zUkY8rJ2.js +0 -25
  927. package/dist/_chunks/file-spreadsheet-zUkY8rJ2.js.map +0 -1
  928. package/dist/_chunks/file-text-DSNuv2B8.js +0 -24
  929. package/dist/_chunks/file-text-DSNuv2B8.js.map +0 -1
  930. package/dist/_chunks/file-upload-DwZcAK8D.js +0 -819
  931. package/dist/_chunks/file-upload-DwZcAK8D.js.map +0 -1
  932. package/dist/_chunks/finished-terminal-VjZ_-eDD.js +0 -122
  933. package/dist/_chunks/finished-terminal-VjZ_-eDD.js.map +0 -1
  934. package/dist/_chunks/fiscal-code-input-Cf-8O4Fj.js +0 -553
  935. package/dist/_chunks/fiscal-code-input-Cf-8O4Fj.js.map +0 -1
  936. package/dist/_chunks/form-field-BOm9hK35.js +0 -123
  937. package/dist/_chunks/form-field-BOm9hK35.js.map +0 -1
  938. package/dist/_chunks/fr-BfGEMshF.js +0 -338
  939. package/dist/_chunks/fr-BfGEMshF.js.map +0 -1
  940. package/dist/_chunks/freemium-paywall-WYlNO7yT.js +0 -275
  941. package/dist/_chunks/freemium-paywall-WYlNO7yT.js.map +0 -1
  942. package/dist/_chunks/gestational-age-calculator-DKzEV5Qi.js +0 -311
  943. package/dist/_chunks/gestational-age-calculator-DKzEV5Qi.js.map +0 -1
  944. package/dist/_chunks/globe-BkEFMNSg.js +0 -16
  945. package/dist/_chunks/globe-BkEFMNSg.js.map +0 -1
  946. package/dist/_chunks/grip-vertical-Dlg0_k5C.js +0 -19
  947. package/dist/_chunks/grip-vertical-Dlg0_k5C.js.map +0 -1
  948. package/dist/_chunks/hash-CysBBS_N.js +0 -17
  949. package/dist/_chunks/hash-CysBBS_N.js.map +0 -1
  950. package/dist/_chunks/hcg-doubling-C7bmuaU3.js +0 -170
  951. package/dist/_chunks/hcg-doubling-C7bmuaU3.js.map +0 -1
  952. package/dist/_chunks/header-CNszv2WQ.js +0 -297
  953. package/dist/_chunks/header-CNszv2WQ.js.map +0 -1
  954. package/dist/_chunks/header-settings-DJqoAl5m.js +0 -284
  955. package/dist/_chunks/header-settings-DJqoAl5m.js.map +0 -1
  956. package/dist/_chunks/heart-C0faivFf.js +0 -20
  957. package/dist/_chunks/heart-C0faivFf.js.map +0 -1
  958. package/dist/_chunks/heart-pulse-CvuyFKHB.js +0 -21
  959. package/dist/_chunks/heart-pulse-CvuyFKHB.js.map +0 -1
  960. package/dist/_chunks/hi-CBFRXEIm.js +0 -433
  961. package/dist/_chunks/hi-CBFRXEIm.js.map +0 -1
  962. package/dist/_chunks/iban-input-B0TWzR1R.js +0 -436
  963. package/dist/_chunks/iban-input-B0TWzR1R.js.map +0 -1
  964. package/dist/_chunks/icon-picker-0B7KhrF1.js +0 -272
  965. package/dist/_chunks/icon-picker-0B7KhrF1.js.map +0 -1
  966. package/dist/_chunks/image-C6RM5hfF.js +0 -16
  967. package/dist/_chunks/image-C6RM5hfF.js.map +0 -1
  968. package/dist/_chunks/image-cropper-D9jqJy19.js +0 -367
  969. package/dist/_chunks/image-cropper-D9jqJy19.js.map +0 -1
  970. package/dist/_chunks/info-B9XNKn05.js +0 -16
  971. package/dist/_chunks/info-B9XNKn05.js.map +0 -1
  972. package/dist/_chunks/insert-result-njqBthzT.js +0 -742
  973. package/dist/_chunks/insert-result-njqBthzT.js.map +0 -1
  974. package/dist/_chunks/isSameWeek-I3DfXUp1.js +0 -14
  975. package/dist/_chunks/isSameWeek-I3DfXUp1.js.map +0 -1
  976. package/dist/_chunks/it-nz6vAKwG.js +0 -401
  977. package/dist/_chunks/it-nz6vAKwG.js.map +0 -1
  978. package/dist/_chunks/ja-DQcqdAEJ.js +0 -366
  979. package/dist/_chunks/ja-DQcqdAEJ.js.map +0 -1
  980. package/dist/_chunks/key-value-pair-BrgbMfbF.js +0 -144
  981. package/dist/_chunks/key-value-pair-BrgbMfbF.js.map +0 -1
  982. package/dist/_chunks/languages-DsVf_WzT.js +0 -19
  983. package/dist/_chunks/languages-DsVf_WzT.js.map +0 -1
  984. package/dist/_chunks/layers-pzGcbLPj.js +0 -34
  985. package/dist/_chunks/layers-pzGcbLPj.js.map +0 -1
  986. package/dist/_chunks/link-DrD_cRUg.js +0 -129
  987. package/dist/_chunks/link-DrD_cRUg.js.map +0 -1
  988. package/dist/_chunks/link-cell-renderer-De_SLjSq.js +0 -2185
  989. package/dist/_chunks/link-cell-renderer-De_SLjSq.js.map +0 -1
  990. package/dist/_chunks/list-checks-BUs75d_o.js +0 -18
  991. package/dist/_chunks/list-checks-BUs75d_o.js.map +0 -1
  992. package/dist/_chunks/locale-picker-ChYYSX2N.js +0 -739
  993. package/dist/_chunks/locale-picker-ChYYSX2N.js.map +0 -1
  994. package/dist/_chunks/lock-CKOIn0IK.js +0 -15
  995. package/dist/_chunks/lock-CKOIn0IK.js.map +0 -1
  996. package/dist/_chunks/log-out-616hnn2-.js +0 -16
  997. package/dist/_chunks/log-out-616hnn2-.js.map +0 -1
  998. package/dist/_chunks/mail-C8irm52s.js +0 -15
  999. package/dist/_chunks/mail-C8irm52s.js.map +0 -1
  1000. package/dist/_chunks/map-pin-B8STOPMJ.js +0 -21
  1001. package/dist/_chunks/map-pin-B8STOPMJ.js.map +0 -1
  1002. package/dist/_chunks/map-view-BkOoGoX2.js +0 -378
  1003. package/dist/_chunks/map-view-BkOoGoX2.js.map +0 -1
  1004. package/dist/_chunks/marketplace-app-shell-BGqkywsi.js +0 -513
  1005. package/dist/_chunks/marketplace-app-shell-BGqkywsi.js.map +0 -1
  1006. package/dist/_chunks/maximize-2-Cm9OUQ2m.js +0 -17
  1007. package/dist/_chunks/maximize-2-Cm9OUQ2m.js.map +0 -1
  1008. package/dist/_chunks/menu-XRhW3_99.js +0 -16
  1009. package/dist/_chunks/menu-XRhW3_99.js.map +0 -1
  1010. package/dist/_chunks/message-card-DsHFFiL1.js +0 -319
  1011. package/dist/_chunks/message-card-DsHFFiL1.js.map +0 -1
  1012. package/dist/_chunks/message-circle-C23eicgb.js +0 -20
  1013. package/dist/_chunks/message-circle-C23eicgb.js.map +0 -1
  1014. package/dist/_chunks/message-tray-C0a6CL1_.js +0 -494
  1015. package/dist/_chunks/message-tray-C0a6CL1_.js.map +0 -1
  1016. package/dist/_chunks/mic-B4Gog3Gi.js +0 -16
  1017. package/dist/_chunks/mic-B4Gog3Gi.js.map +0 -1
  1018. package/dist/_chunks/monitor-D-SFdbrU.js +0 -16
  1019. package/dist/_chunks/monitor-D-SFdbrU.js.map +0 -1
  1020. package/dist/_chunks/multi-select-WE4S9FIF.js +0 -614
  1021. package/dist/_chunks/multi-select-WE4S9FIF.js.map +0 -1
  1022. package/dist/_chunks/nav-grid-9xphY3FM.js +0 -169
  1023. package/dist/_chunks/nav-grid-9xphY3FM.js.map +0 -1
  1024. package/dist/_chunks/navigation-menu-DRUi6sSj.js +0 -310
  1025. package/dist/_chunks/navigation-menu-DRUi6sSj.js.map +0 -1
  1026. package/dist/_chunks/nl-L5SuDjyl.js +0 -326
  1027. package/dist/_chunks/nl-L5SuDjyl.js.map +0 -1
  1028. package/dist/_chunks/notes-panel-DXiMfuvp.js +0 -320
  1029. package/dist/_chunks/notes-panel-DXiMfuvp.js.map +0 -1
  1030. package/dist/_chunks/notification-card-BMqNzCIt.js +0 -290
  1031. package/dist/_chunks/notification-card-BMqNzCIt.js.map +0 -1
  1032. package/dist/_chunks/notification-tray-BmUlCx3g.js +0 -499
  1033. package/dist/_chunks/notification-tray-BmUlCx3g.js.map +0 -1
  1034. package/dist/_chunks/number-input-DxphVG_A.js +0 -350
  1035. package/dist/_chunks/number-input-DxphVG_A.js.map +0 -1
  1036. package/dist/_chunks/operator-hero-BO8TqzX2.js +0 -202
  1037. package/dist/_chunks/operator-hero-BO8TqzX2.js.map +0 -1
  1038. package/dist/_chunks/pagination-D58kglCr.js +0 -486
  1039. package/dist/_chunks/pagination-D58kglCr.js.map +0 -1
  1040. package/dist/_chunks/patient-details-DgfTJimE.js +0 -759
  1041. package/dist/_chunks/patient-details-DgfTJimE.js.map +0 -1
  1042. package/dist/_chunks/patient-search-CSWQKOSP.js +0 -1167
  1043. package/dist/_chunks/patient-search-CSWQKOSP.js.map +0 -1
  1044. package/dist/_chunks/patient-shell-BMwsIKlW.js +0 -162
  1045. package/dist/_chunks/patient-shell-BMwsIKlW.js.map +0 -1
  1046. package/dist/_chunks/patient-summary-card-D4NdgYJB.js +0 -452
  1047. package/dist/_chunks/patient-summary-card-D4NdgYJB.js.map +0 -1
  1048. package/dist/_chunks/patient-table-CERknpd8.js +0 -1110
  1049. package/dist/_chunks/patient-table-CERknpd8.js.map +0 -1
  1050. package/dist/_chunks/payment-form-CxqIXqw7.js +0 -690
  1051. package/dist/_chunks/payment-form-CxqIXqw7.js.map +0 -1
  1052. package/dist/_chunks/payment-request-card-Blf-MFNY.js +0 -467
  1053. package/dist/_chunks/payment-request-card-Blf-MFNY.js.map +0 -1
  1054. package/dist/_chunks/pdf-viewer-QfebdLOd.js +0 -1005
  1055. package/dist/_chunks/pdf-viewer-QfebdLOd.js.map +0 -1
  1056. package/dist/_chunks/pencil-CfQX-0Qc.js +0 -21
  1057. package/dist/_chunks/pencil-CfQX-0Qc.js.map +0 -1
  1058. package/dist/_chunks/periodontal-chart-card-hRRJY1NN.js +0 -455
  1059. package/dist/_chunks/periodontal-chart-card-hRRJY1NN.js.map +0 -1
  1060. package/dist/_chunks/permission-matrix-Bw5oexUt.js +0 -174
  1061. package/dist/_chunks/permission-matrix-Bw5oexUt.js.map +0 -1
  1062. package/dist/_chunks/phone-Bi5yUm4I.js +0 -20
  1063. package/dist/_chunks/phone-Bi5yUm4I.js.map +0 -1
  1064. package/dist/_chunks/phone-input-DjU-XmO_.js +0 -580
  1065. package/dist/_chunks/phone-input-DjU-XmO_.js.map +0 -1
  1066. package/dist/_chunks/pl-YAn5z2wR.js +0 -514
  1067. package/dist/_chunks/pl-YAn5z2wR.js.map +0 -1
  1068. package/dist/_chunks/plus-CYKNmfuA.js +0 -15
  1069. package/dist/_chunks/plus-CYKNmfuA.js.map +0 -1
  1070. package/dist/_chunks/popover-B2qCDhJC.js +0 -302
  1071. package/dist/_chunks/popover-B2qCDhJC.js.map +0 -1
  1072. package/dist/_chunks/postal-code-input-UCOYuRY2.js +0 -192
  1073. package/dist/_chunks/postal-code-input-UCOYuRY2.js.map +0 -1
  1074. package/dist/_chunks/practice-results-El5Z-oVp.js +0 -1609
  1075. package/dist/_chunks/practice-results-El5Z-oVp.js.map +0 -1
  1076. package/dist/_chunks/pregnancy-dating-CunHrOpO.js +0 -421
  1077. package/dist/_chunks/pregnancy-dating-CunHrOpO.js.map +0 -1
  1078. package/dist/_chunks/pregnancy-weight-gain-BUNpTsH-.js +0 -322
  1079. package/dist/_chunks/pregnancy-weight-gain-BUNpTsH-.js.map +0 -1
  1080. package/dist/_chunks/printer-CeVEWfQq.js +0 -22
  1081. package/dist/_chunks/printer-CeVEWfQq.js.map +0 -1
  1082. package/dist/_chunks/privacy-lock-BzMLQu-j.js +0 -197
  1083. package/dist/_chunks/privacy-lock-BzMLQu-j.js.map +0 -1
  1084. package/dist/_chunks/product-hub-panel-DtU7KXxm.js +0 -678
  1085. package/dist/_chunks/product-hub-panel-DtU7KXxm.js.map +0 -1
  1086. package/dist/_chunks/province-select-D_TZvix3.js +0 -261
  1087. package/dist/_chunks/province-select-D_TZvix3.js.map +0 -1
  1088. package/dist/_chunks/pt-D9xdT5KQ.js +0 -370
  1089. package/dist/_chunks/pt-D9xdT5KQ.js.map +0 -1
  1090. package/dist/_chunks/public-footer.agent-D0cFbjWl.js +0 -596
  1091. package/dist/_chunks/public-footer.agent-D0cFbjWl.js.map +0 -1
  1092. package/dist/_chunks/public-header.agent-TxmC_x1I.js +0 -597
  1093. package/dist/_chunks/public-header.agent-TxmC_x1I.js.map +0 -1
  1094. package/dist/_chunks/radio-group-BPt7pKZW.js +0 -167
  1095. package/dist/_chunks/radio-group-BPt7pKZW.js.map +0 -1
  1096. package/dist/_chunks/radiograph-panel.agent-tWjN2nHX.js +0 -553
  1097. package/dist/_chunks/radiograph-panel.agent-tWjN2nHX.js.map +0 -1
  1098. package/dist/_chunks/rating-BRD7O74e.js +0 -171
  1099. package/dist/_chunks/rating-BRD7O74e.js.map +0 -1
  1100. package/dist/_chunks/refresh-cw-CC8jSKMr.js +0 -17
  1101. package/dist/_chunks/refresh-cw-CC8jSKMr.js.map +0 -1
  1102. package/dist/_chunks/reviews-panel-DxkSrgMl.js +0 -559
  1103. package/dist/_chunks/reviews-panel-DxkSrgMl.js.map +0 -1
  1104. package/dist/_chunks/rich-text-editor-C8tyGjfb.js +0 -2621
  1105. package/dist/_chunks/rich-text-editor-C8tyGjfb.js.map +0 -1
  1106. package/dist/_chunks/ro-Cp--52bT.js +0 -361
  1107. package/dist/_chunks/ro-Cp--52bT.js.map +0 -1
  1108. package/dist/_chunks/rotate-ccw-BWANpitO.js +0 -15
  1109. package/dist/_chunks/rotate-ccw-BWANpitO.js.map +0 -1
  1110. package/dist/_chunks/ru-BM8eX_Zz.js +0 -561
  1111. package/dist/_chunks/ru-BM8eX_Zz.js.map +0 -1
  1112. package/dist/_chunks/scan-line-lGioFwLC.js +0 -18
  1113. package/dist/_chunks/scan-line-lGioFwLC.js.map +0 -1
  1114. package/dist/_chunks/search-BonnQsHv.js +0 -15
  1115. package/dist/_chunks/search-BonnQsHv.js.map +0 -1
  1116. package/dist/_chunks/search-bar-C_T3pBJn.js +0 -612
  1117. package/dist/_chunks/search-bar-C_T3pBJn.js.map +0 -1
  1118. package/dist/_chunks/search-input-DQvGxR74.js +0 -237
  1119. package/dist/_chunks/search-input-DQvGxR74.js.map +0 -1
  1120. package/dist/_chunks/select-KsyRr8WH.js +0 -442
  1121. package/dist/_chunks/select-KsyRr8WH.js.map +0 -1
  1122. package/dist/_chunks/send-CySZIRPJ.js +0 -21
  1123. package/dist/_chunks/send-CySZIRPJ.js.map +0 -1
  1124. package/dist/_chunks/session-countdown-X1Ki6i0M.js +0 -214
  1125. package/dist/_chunks/session-countdown-X1Ki6i0M.js.map +0 -1
  1126. package/dist/_chunks/settings-ca2Yi9R8.js +0 -21
  1127. package/dist/_chunks/settings-ca2Yi9R8.js.map +0 -1
  1128. package/dist/_chunks/sheet-umkfZjF6.js +0 -296
  1129. package/dist/_chunks/sheet-umkfZjF6.js.map +0 -1
  1130. package/dist/_chunks/shield-check-BjCGH_Sr.js +0 -21
  1131. package/dist/_chunks/shield-check-BjCGH_Sr.js.map +0 -1
  1132. package/dist/_chunks/sidebar-QCp9wHNP.js +0 -1311
  1133. package/dist/_chunks/sidebar-QCp9wHNP.js.map +0 -1
  1134. package/dist/_chunks/sign-document-By6hMOra.js +0 -370
  1135. package/dist/_chunks/sign-document-By6hMOra.js.map +0 -1
  1136. package/dist/_chunks/signature-field-Dy1JRjzE.js +0 -197
  1137. package/dist/_chunks/signature-field-Dy1JRjzE.js.map +0 -1
  1138. package/dist/_chunks/smart-date-CWikAqZx.js +0 -114
  1139. package/dist/_chunks/smart-date-CWikAqZx.js.map +0 -1
  1140. package/dist/_chunks/sparkles-CuYXqQLg.js +0 -23
  1141. package/dist/_chunks/sparkles-CuYXqQLg.js.map +0 -1
  1142. package/dist/_chunks/sq-XRpr0r49.js +0 -355
  1143. package/dist/_chunks/sq-XRpr0r49.js.map +0 -1
  1144. package/dist/_chunks/square-CZoGU14v.js +0 -14
  1145. package/dist/_chunks/square-CZoGU14v.js.map +0 -1
  1146. package/dist/_chunks/square-check-big-Jr-0202D.js +0 -18
  1147. package/dist/_chunks/square-check-big-Jr-0202D.js.map +0 -1
  1148. package/dist/_chunks/star-vav0SJ9e.js +0 -20
  1149. package/dist/_chunks/star-vav0SJ9e.js.map +0 -1
  1150. package/dist/_chunks/stepper-accordion-DC-H-8v4.js +0 -247
  1151. package/dist/_chunks/stepper-accordion-DC-H-8v4.js.map +0 -1
  1152. package/dist/_chunks/stethoscope-DT5qCW8Y.js +0 -18
  1153. package/dist/_chunks/stethoscope-DT5qCW8Y.js.map +0 -1
  1154. package/dist/_chunks/streaming-text-BB9mvK4m.js +0 -131
  1155. package/dist/_chunks/streaming-text-BB9mvK4m.js.map +0 -1
  1156. package/dist/_chunks/subDays-BcYv1Lxi.js +0 -8
  1157. package/dist/_chunks/subDays-BcYv1Lxi.js.map +0 -1
  1158. package/dist/_chunks/sun-BuXE0xUS.js +0 -38
  1159. package/dist/_chunks/sun-BuXE0xUS.js.map +0 -1
  1160. package/dist/_chunks/sv-Z3APomE8.js +0 -376
  1161. package/dist/_chunks/sv-Z3APomE8.js.map +0 -1
  1162. package/dist/_chunks/tab-bar-Bv9nGNdO.js +0 -262
  1163. package/dist/_chunks/tab-bar-Bv9nGNdO.js.map +0 -1
  1164. package/dist/_chunks/tabs-CYZVKKDl.js +0 -408
  1165. package/dist/_chunks/tabs-CYZVKKDl.js.map +0 -1
  1166. package/dist/_chunks/tag-BQXwuJq1.js +0 -258
  1167. package/dist/_chunks/tag-BQXwuJq1.js.map +0 -1
  1168. package/dist/_chunks/task-card-DCdsI0ZT.js +0 -189
  1169. package/dist/_chunks/task-card-DCdsI0ZT.js.map +0 -1
  1170. package/dist/_chunks/task-tray-DNVejijD.js +0 -251
  1171. package/dist/_chunks/task-tray-DNVejijD.js.map +0 -1
  1172. package/dist/_chunks/tasks-panel-C9odmawT.js +0 -757
  1173. package/dist/_chunks/tasks-panel-C9odmawT.js.map +0 -1
  1174. package/dist/_chunks/text-input-B-OWQ1Je.js +0 -283
  1175. package/dist/_chunks/text-input-B-OWQ1Je.js.map +0 -1
  1176. package/dist/_chunks/theme-toggle-XB6o_lgs.js +0 -367
  1177. package/dist/_chunks/theme-toggle-XB6o_lgs.js.map +0 -1
  1178. package/dist/_chunks/timeline-CqA4nKTI.js +0 -294
  1179. package/dist/_chunks/timeline-CqA4nKTI.js.map +0 -1
  1180. package/dist/_chunks/toast.agent-57UzyR9U.js +0 -1005
  1181. package/dist/_chunks/toast.agent-57UzyR9U.js.map +0 -1
  1182. package/dist/_chunks/token-insert-menu-CFQqTe_n.js +0 -147
  1183. package/dist/_chunks/token-insert-menu-CFQqTe_n.js.map +0 -1
  1184. package/dist/_chunks/tooth-scheme-DJZtzfeY.js +0 -2133
  1185. package/dist/_chunks/tooth-scheme-DJZtzfeY.js.map +0 -1
  1186. package/dist/_chunks/tr-e0-P4FON.js +0 -378
  1187. package/dist/_chunks/tr-e0-P4FON.js.map +0 -1
  1188. package/dist/_chunks/transaction-chip-CscoQbxF.js +0 -225
  1189. package/dist/_chunks/transaction-chip-CscoQbxF.js.map +0 -1
  1190. package/dist/_chunks/transcript-panel-CHGHHHdT.js +0 -374
  1191. package/dist/_chunks/transcript-panel-CHGHHHdT.js.map +0 -1
  1192. package/dist/_chunks/trash-2-rPAKaRgB.js +0 -18
  1193. package/dist/_chunks/trash-2-rPAKaRgB.js.map +0 -1
  1194. package/dist/_chunks/triangle-alert-CBPUIzQo.js +0 -22
  1195. package/dist/_chunks/triangle-alert-CBPUIzQo.js.map +0 -1
  1196. package/dist/_chunks/unit-converter-CwlZbfdn.js +0 -337
  1197. package/dist/_chunks/unit-converter-CwlZbfdn.js.map +0 -1
  1198. package/dist/_chunks/use-password-requirements-BXvS2MBS.js +0 -453
  1199. package/dist/_chunks/use-password-requirements-BXvS2MBS.js.map +0 -1
  1200. package/dist/_chunks/user-CPxpqFjJ.js +0 -15
  1201. package/dist/_chunks/user-CPxpqFjJ.js.map +0 -1
  1202. package/dist/_chunks/user-cog-BS_qc8nA.js +0 -24
  1203. package/dist/_chunks/user-cog-BS_qc8nA.js.map +0 -1
  1204. package/dist/_chunks/users-MBVtUzwd.js +0 -17
  1205. package/dist/_chunks/users-MBVtUzwd.js.map +0 -1
  1206. package/dist/_chunks/video-BAeICxCT.js +0 -21
  1207. package/dist/_chunks/video-BAeICxCT.js.map +0 -1
  1208. package/dist/_chunks/warning-stack--sTrrBDA.js +0 -268
  1209. package/dist/_chunks/warning-stack--sTrrBDA.js.map +0 -1
  1210. package/dist/_chunks/workflow-map-M8MBBHQm.js +0 -1356
  1211. package/dist/_chunks/workflow-map-M8MBBHQm.js.map +0 -1
  1212. package/dist/_chunks/x-CCcI3eJp.js +0 -15
  1213. package/dist/_chunks/x-CCcI3eJp.js.map +0 -1
  1214. package/dist/_chunks/zh-CN-B-igM5gY.js +0 -388
  1215. package/dist/_chunks/zh-CN-B-igM5gY.js.map +0 -1
  1216. package/dist/_chunks/zoom-out-CgVtf2Wx.js +0 -29
  1217. package/dist/_chunks/zoom-out-CgVtf2Wx.js.map +0 -1
  1218. package/dist/components/anatomy-scheme/anatomy-face-paths.d.ts +0 -15
  1219. package/dist/components/anatomy-scheme/anatomy-face-paths.d.ts.map +0 -1
  1220. package/dist/components/anatomy-scheme/anatomy-muscle-paths.d.ts +0 -20
  1221. package/dist/components/anatomy-scheme/anatomy-muscle-paths.d.ts.map +0 -1
  1222. package/dist/components/anatomy-scheme/anatomy-scheme-data.d.ts +0 -121
  1223. package/dist/components/anatomy-scheme/anatomy-scheme-data.d.ts.map +0 -1
  1224. package/dist/components/anatomy-scheme/anatomy-scheme.agent.d.ts +0 -6
  1225. package/dist/components/anatomy-scheme/anatomy-scheme.agent.d.ts.map +0 -1
  1226. package/dist/components/anatomy-scheme/anatomy-scheme.d.ts +0 -69
  1227. package/dist/components/anatomy-scheme/anatomy-scheme.d.ts.map +0 -1
  1228. package/dist/components/anatomy-scheme/index.d.ts +0 -6
  1229. package/dist/components/anatomy-scheme/index.d.ts.map +0 -1
  1230. package/dist/components/anatomy-scheme/index.js +0 -17
  1231. /package/dist/components/{anatomy-scheme → face-scheme}/index.js.map +0 -0
@@ -1,3224 +0,0 @@
1
- import y, { createContext as Yn, useContext as Tn, useCallback as R, useRef as Ne, useLayoutEffect as Pn, useState as xe, useEffect as St, useMemo as Ce } from "react";
2
- import { t as P, c as I, n as we, s as Xe, d as En, e as Nt, i as Fn } from "./isSameDay-DUEiAT0G.js";
3
- import { jsx as ft } from "react/jsx-runtime";
4
- import { C as Bn } from "./chevron-left-CX1jqD2M.js";
5
- import { C as In } from "./chevron-right-BrpYejk0.js";
6
- import { c as _e } from "./index-D2ZczOXr.js";
7
- function Hn(e, t, n = "long") {
8
- return new Intl.DateTimeFormat("en-US", {
9
- // Enforces engine to render the time. Without the option JavaScriptCore omits it.
10
- hour: "numeric",
11
- timeZone: e,
12
- timeZoneName: n
13
- }).format(t).split(/\s/g).slice(2).join(" ");
14
- }
15
- const ze = {}, ge = {};
16
- function ie(e, t) {
17
- try {
18
- const r = (ze[e] || (ze[e] = new Intl.DateTimeFormat("en-US", {
19
- timeZone: e,
20
- timeZoneName: "longOffset"
21
- }).format))(t).split("GMT")[1];
22
- return r in ge ? ge[r] : lt(r, r.split(":"));
23
- } catch {
24
- if (e in ge) return ge[e];
25
- const n = e == null ? void 0 : e.match(An);
26
- return n ? lt(e, n.slice(1)) : NaN;
27
- }
28
- }
29
- const An = /([+-]\d\d):?(\d\d)?/;
30
- function lt(e, t) {
31
- const n = +(t[0] || 0), r = +(t[1] || 0), a = +(t[2] || 0) / 60;
32
- return ge[e] = n * 60 + r > 0 ? n * 60 + r + a : n * 60 - r - a;
33
- }
34
- class J extends Date {
35
- //#region static
36
- constructor(...t) {
37
- super(), t.length > 1 && typeof t[t.length - 1] == "string" && (this.timeZone = t.pop()), this.internal = /* @__PURE__ */ new Date(), isNaN(ie(this.timeZone, this)) ? this.setTime(NaN) : t.length ? typeof t[0] == "number" && (t.length === 1 || t.length === 2 && typeof t[1] != "number") ? this.setTime(t[0]) : typeof t[0] == "string" ? this.setTime(+new Date(t[0])) : t[0] instanceof Date ? this.setTime(+t[0]) : (this.setTime(+new Date(...t)), Ct(this), Ke(this)) : this.setTime(Date.now());
38
- }
39
- static tz(t, ...n) {
40
- return n.length ? new J(...n, t) : new J(Date.now(), t);
41
- }
42
- //#endregion
43
- //#region time zone
44
- withTimeZone(t) {
45
- return new J(+this, t);
46
- }
47
- getTimezoneOffset() {
48
- const t = -ie(this.timeZone, this);
49
- return t > 0 ? Math.floor(t) : Math.ceil(t);
50
- }
51
- //#endregion
52
- //#region time
53
- setTime(t) {
54
- return Date.prototype.setTime.apply(this, arguments), Ke(this), +this;
55
- }
56
- //#endregion
57
- //#region date-fns integration
58
- [Symbol.for("constructDateFrom")](t) {
59
- return new J(+new Date(t), this.timeZone);
60
- }
61
- //#endregion
62
- }
63
- const ht = /^(get|set)(?!UTC)/;
64
- Object.getOwnPropertyNames(Date.prototype).forEach((e) => {
65
- if (!ht.test(e)) return;
66
- const t = e.replace(ht, "$1UTC");
67
- J.prototype[t] && (e.startsWith("get") ? J.prototype[e] = function() {
68
- return this.internal[t]();
69
- } : (J.prototype[e] = function() {
70
- return Date.prototype[t].apply(this.internal, arguments), zn(this), +this;
71
- }, J.prototype[t] = function() {
72
- return Date.prototype[t].apply(this, arguments), Ke(this), +this;
73
- }));
74
- });
75
- function Ke(e) {
76
- e.internal.setTime(+e), e.internal.setUTCSeconds(e.internal.getUTCSeconds() - Math.round(-ie(e.timeZone, e) * 60));
77
- }
78
- function zn(e) {
79
- Date.prototype.setFullYear.call(e, e.internal.getUTCFullYear(), e.internal.getUTCMonth(), e.internal.getUTCDate()), Date.prototype.setHours.call(e, e.internal.getUTCHours(), e.internal.getUTCMinutes(), e.internal.getUTCSeconds(), e.internal.getUTCMilliseconds()), Ct(e);
80
- }
81
- function Ct(e) {
82
- const t = ie(e.timeZone, e), n = t > 0 ? Math.floor(t) : Math.ceil(t), r = /* @__PURE__ */ new Date(+e);
83
- r.setUTCHours(r.getUTCHours() - 1);
84
- const a = -(/* @__PURE__ */ new Date(+e)).getTimezoneOffset(), s = -(/* @__PURE__ */ new Date(+r)).getTimezoneOffset(), o = a - s, i = Date.prototype.getHours.apply(e) !== e.internal.getUTCHours();
85
- o && i && e.internal.setUTCMinutes(e.internal.getUTCMinutes() + o);
86
- const d = a - n;
87
- d && Date.prototype.setUTCMinutes.call(e, Date.prototype.getUTCMinutes.call(e) + d);
88
- const c = /* @__PURE__ */ new Date(+e);
89
- c.setUTCSeconds(0);
90
- const u = a > 0 ? c.getSeconds() : (c.getSeconds() - 60) % 60, f = Math.round(-(ie(e.timeZone, e) * 60)) % 60;
91
- (f || u) && (e.internal.setUTCSeconds(e.internal.getUTCSeconds() + f), Date.prototype.setUTCSeconds.call(e, Date.prototype.getUTCSeconds.call(e) + f + u));
92
- const h = ie(e.timeZone, e), g = h > 0 ? Math.floor(h) : Math.ceil(h), p = -(/* @__PURE__ */ new Date(+e)).getTimezoneOffset() - g, k = g !== n, N = p - d;
93
- if (k && N) {
94
- Date.prototype.setUTCMinutes.call(e, Date.prototype.getUTCMinutes.call(e) + N);
95
- const M = ie(e.timeZone, e), b = M > 0 ? Math.floor(M) : Math.ceil(M), W = g - b;
96
- W && (e.internal.setUTCMinutes(e.internal.getUTCMinutes() + W), Date.prototype.setUTCMinutes.call(e, Date.prototype.getUTCMinutes.call(e) + W));
97
- }
98
- }
99
- class H extends J {
100
- //#region static
101
- static tz(t, ...n) {
102
- return n.length ? new H(...n, t) : new H(Date.now(), t);
103
- }
104
- //#endregion
105
- //#region representation
106
- toISOString() {
107
- const [t, n, r] = this.tzComponents(), a = `${t}${n}:${r}`;
108
- return this.internal.toISOString().slice(0, -1) + a;
109
- }
110
- toString() {
111
- return `${this.toDateString()} ${this.toTimeString()}`;
112
- }
113
- toDateString() {
114
- const [t, n, r, a] = this.internal.toUTCString().split(" ");
115
- return `${t == null ? void 0 : t.slice(0, -1)} ${r} ${n} ${a}`;
116
- }
117
- toTimeString() {
118
- const t = this.internal.toUTCString().split(" ")[4], [n, r, a] = this.tzComponents();
119
- return `${t} GMT${n}${r}${a} (${Hn(this.timeZone, this)})`;
120
- }
121
- toLocaleString(t, n) {
122
- return Date.prototype.toLocaleString.call(this, t, {
123
- ...n,
124
- timeZone: (n == null ? void 0 : n.timeZone) || this.timeZone
125
- });
126
- }
127
- toLocaleDateString(t, n) {
128
- return Date.prototype.toLocaleDateString.call(this, t, {
129
- ...n,
130
- timeZone: (n == null ? void 0 : n.timeZone) || this.timeZone
131
- });
132
- }
133
- toLocaleTimeString(t, n) {
134
- return Date.prototype.toLocaleTimeString.call(this, t, {
135
- ...n,
136
- timeZone: (n == null ? void 0 : n.timeZone) || this.timeZone
137
- });
138
- }
139
- //#endregion
140
- //#region private
141
- tzComponents() {
142
- const t = this.getTimezoneOffset(), n = t > 0 ? "-" : "+", r = String(Math.floor(Math.abs(t) / 60)).padStart(2, "0"), a = String(Math.abs(t) % 60).padStart(2, "0");
143
- return [n, r, a];
144
- }
145
- //#endregion
146
- withTimeZone(t) {
147
- return new H(+this, t);
148
- }
149
- //#region date-fns integration
150
- [Symbol.for("constructDateFrom")](t) {
151
- return new H(+new Date(t), this.timeZone);
152
- }
153
- //#endregion
154
- }
155
- function xt(e, t, n) {
156
- const r = P(e, n == null ? void 0 : n.in);
157
- return isNaN(t) ? I((n == null ? void 0 : n.in) || e, NaN) : (t && r.setDate(r.getDate() + t), r);
158
- }
159
- function _t(e, t, n) {
160
- const r = P(e, n == null ? void 0 : n.in);
161
- if (isNaN(t)) return I(e, NaN);
162
- if (!t)
163
- return r;
164
- const a = r.getDate(), s = I(e, r.getTime());
165
- s.setMonth(r.getMonth() + t + 1, 0);
166
- const o = s.getDate();
167
- return a >= o ? s : (r.setFullYear(
168
- s.getFullYear(),
169
- s.getMonth(),
170
- a
171
- ), r);
172
- }
173
- let qn = {};
174
- function ve() {
175
- return qn;
176
- }
177
- function fe(e, t) {
178
- var i, d, c, u;
179
- const n = ve(), r = (t == null ? void 0 : t.weekStartsOn) ?? ((d = (i = t == null ? void 0 : t.locale) == null ? void 0 : i.options) == null ? void 0 : d.weekStartsOn) ?? n.weekStartsOn ?? ((u = (c = n.locale) == null ? void 0 : c.options) == null ? void 0 : u.weekStartsOn) ?? 0, a = P(e, t == null ? void 0 : t.in), s = a.getDay(), o = (s < r ? 7 : 0) + s - r;
180
- return a.setDate(a.getDate() - o), a.setHours(0, 0, 0, 0), a;
181
- }
182
- function Me(e, t) {
183
- return fe(e, { ...t, weekStartsOn: 1 });
184
- }
185
- function Yt(e, t) {
186
- const n = P(e, t == null ? void 0 : t.in), r = n.getFullYear(), a = I(n, 0);
187
- a.setFullYear(r + 1, 0, 4), a.setHours(0, 0, 0, 0);
188
- const s = Me(a), o = I(n, 0);
189
- o.setFullYear(r, 0, 4), o.setHours(0, 0, 0, 0);
190
- const i = Me(o);
191
- return n.getTime() >= s.getTime() ? r + 1 : n.getTime() >= i.getTime() ? r : r - 1;
192
- }
193
- function mt(e) {
194
- const t = P(e), n = new Date(
195
- Date.UTC(
196
- t.getFullYear(),
197
- t.getMonth(),
198
- t.getDate(),
199
- t.getHours(),
200
- t.getMinutes(),
201
- t.getSeconds(),
202
- t.getMilliseconds()
203
- )
204
- );
205
- return n.setUTCFullYear(t.getFullYear()), +e - +n;
206
- }
207
- function Je(e, t, n) {
208
- const [r, a] = we(
209
- n == null ? void 0 : n.in,
210
- e,
211
- t
212
- ), s = Xe(r), o = Xe(a), i = +s - mt(s), d = +o - mt(o);
213
- return Math.round((i - d) / En);
214
- }
215
- function jn(e, t) {
216
- const n = Yt(e, t), r = I(e, 0);
217
- return r.setFullYear(n, 0, 4), r.setHours(0, 0, 0, 0), Me(r);
218
- }
219
- function $n(e, t, n) {
220
- return xt(e, t * 7, n);
221
- }
222
- function Gn(e, t, n) {
223
- return _t(e, t * 12, n);
224
- }
225
- function Rn(e, t) {
226
- let n, r = t == null ? void 0 : t.in;
227
- return e.forEach((a) => {
228
- !r && typeof a == "object" && (r = I.bind(null, a));
229
- const s = P(a, r);
230
- (!n || n < s || isNaN(+s)) && (n = s);
231
- }), I(r, n || NaN);
232
- }
233
- function Vn(e, t) {
234
- let n, r = t == null ? void 0 : t.in;
235
- return e.forEach((a) => {
236
- !r && typeof a == "object" && (r = I.bind(null, a));
237
- const s = P(a, r);
238
- (!n || n > s || isNaN(+s)) && (n = s);
239
- }), I(r, n || NaN);
240
- }
241
- function Tt(e) {
242
- return e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]";
243
- }
244
- function Un(e) {
245
- return !(!Tt(e) && typeof e != "number" || isNaN(+P(e)));
246
- }
247
- function Pt(e, t, n) {
248
- const [r, a] = we(
249
- n == null ? void 0 : n.in,
250
- e,
251
- t
252
- ), s = r.getFullYear() - a.getFullYear(), o = r.getMonth() - a.getMonth();
253
- return s * 12 + o;
254
- }
255
- function Qn(e, t) {
256
- const n = P(e, t == null ? void 0 : t.in), r = n.getMonth();
257
- return n.setFullYear(n.getFullYear(), r + 1, 0), n.setHours(23, 59, 59, 999), n;
258
- }
259
- function Et(e, t) {
260
- const [n, r] = we(e, t.start, t.end);
261
- return { start: n, end: r };
262
- }
263
- function Xn(e, t) {
264
- const { start: n, end: r } = Et(t == null ? void 0 : t.in, e);
265
- let a = +n > +r;
266
- const s = a ? +n : +r, o = a ? r : n;
267
- o.setHours(0, 0, 0, 0), o.setDate(1);
268
- let i = 1;
269
- const d = [];
270
- for (; +o <= s; )
271
- d.push(I(n, o)), o.setMonth(o.getMonth() + i);
272
- return a ? d.reverse() : d;
273
- }
274
- function Kn(e, t) {
275
- const n = P(e, t == null ? void 0 : t.in);
276
- return n.setDate(1), n.setHours(0, 0, 0, 0), n;
277
- }
278
- function Jn(e, t) {
279
- const n = P(e, t == null ? void 0 : t.in), r = n.getFullYear();
280
- return n.setFullYear(r + 1, 0, 0), n.setHours(23, 59, 59, 999), n;
281
- }
282
- function Ft(e, t) {
283
- const n = P(e, t == null ? void 0 : t.in);
284
- return n.setFullYear(n.getFullYear(), 0, 1), n.setHours(0, 0, 0, 0), n;
285
- }
286
- function Zn(e, t) {
287
- const { start: n, end: r } = Et(t == null ? void 0 : t.in, e);
288
- let a = +n > +r;
289
- const s = a ? +n : +r, o = a ? r : n;
290
- o.setHours(0, 0, 0, 0), o.setMonth(0, 1);
291
- let i = 1;
292
- const d = [];
293
- for (; +o <= s; )
294
- d.push(I(n, o)), o.setFullYear(o.getFullYear() + i);
295
- return a ? d.reverse() : d;
296
- }
297
- function Bt(e, t) {
298
- var i, d, c, u;
299
- const n = ve(), r = (t == null ? void 0 : t.weekStartsOn) ?? ((d = (i = t == null ? void 0 : t.locale) == null ? void 0 : i.options) == null ? void 0 : d.weekStartsOn) ?? n.weekStartsOn ?? ((u = (c = n.locale) == null ? void 0 : c.options) == null ? void 0 : u.weekStartsOn) ?? 0, a = P(e, t == null ? void 0 : t.in), s = a.getDay(), o = (s < r ? -7 : 0) + 6 - (s - r);
300
- return a.setDate(a.getDate() + o), a.setHours(23, 59, 59, 999), a;
301
- }
302
- function Ln(e, t) {
303
- return Bt(e, { ...t, weekStartsOn: 1 });
304
- }
305
- const er = {
306
- lessThanXSeconds: {
307
- one: "less than a second",
308
- other: "less than {{count}} seconds"
309
- },
310
- xSeconds: {
311
- one: "1 second",
312
- other: "{{count}} seconds"
313
- },
314
- halfAMinute: "half a minute",
315
- lessThanXMinutes: {
316
- one: "less than a minute",
317
- other: "less than {{count}} minutes"
318
- },
319
- xMinutes: {
320
- one: "1 minute",
321
- other: "{{count}} minutes"
322
- },
323
- aboutXHours: {
324
- one: "about 1 hour",
325
- other: "about {{count}} hours"
326
- },
327
- xHours: {
328
- one: "1 hour",
329
- other: "{{count}} hours"
330
- },
331
- xDays: {
332
- one: "1 day",
333
- other: "{{count}} days"
334
- },
335
- aboutXWeeks: {
336
- one: "about 1 week",
337
- other: "about {{count}} weeks"
338
- },
339
- xWeeks: {
340
- one: "1 week",
341
- other: "{{count}} weeks"
342
- },
343
- aboutXMonths: {
344
- one: "about 1 month",
345
- other: "about {{count}} months"
346
- },
347
- xMonths: {
348
- one: "1 month",
349
- other: "{{count}} months"
350
- },
351
- aboutXYears: {
352
- one: "about 1 year",
353
- other: "about {{count}} years"
354
- },
355
- xYears: {
356
- one: "1 year",
357
- other: "{{count}} years"
358
- },
359
- overXYears: {
360
- one: "over 1 year",
361
- other: "over {{count}} years"
362
- },
363
- almostXYears: {
364
- one: "almost 1 year",
365
- other: "almost {{count}} years"
366
- }
367
- }, tr = (e, t, n) => {
368
- let r;
369
- const a = er[e];
370
- return typeof a == "string" ? r = a : t === 1 ? r = a.one : r = a.other.replace("{{count}}", t.toString()), n != null && n.addSuffix ? n.comparison && n.comparison > 0 ? "in " + r : r + " ago" : r;
371
- };
372
- function qe(e) {
373
- return (t = {}) => {
374
- const n = t.width ? String(t.width) : e.defaultWidth;
375
- return e.formats[n] || e.formats[e.defaultWidth];
376
- };
377
- }
378
- const nr = {
379
- full: "EEEE, MMMM do, y",
380
- long: "MMMM do, y",
381
- medium: "MMM d, y",
382
- short: "MM/dd/yyyy"
383
- }, rr = {
384
- full: "h:mm:ss a zzzz",
385
- long: "h:mm:ss a z",
386
- medium: "h:mm:ss a",
387
- short: "h:mm a"
388
- }, ar = {
389
- full: "{{date}} 'at' {{time}}",
390
- long: "{{date}} 'at' {{time}}",
391
- medium: "{{date}}, {{time}}",
392
- short: "{{date}}, {{time}}"
393
- }, sr = {
394
- date: qe({
395
- formats: nr,
396
- defaultWidth: "full"
397
- }),
398
- time: qe({
399
- formats: rr,
400
- defaultWidth: "full"
401
- }),
402
- dateTime: qe({
403
- formats: ar,
404
- defaultWidth: "full"
405
- })
406
- }, or = {
407
- lastWeek: "'last' eeee 'at' p",
408
- yesterday: "'yesterday at' p",
409
- today: "'today at' p",
410
- tomorrow: "'tomorrow at' p",
411
- nextWeek: "eeee 'at' p",
412
- other: "P"
413
- }, ir = (e, t, n, r) => or[e];
414
- function me(e) {
415
- return (t, n) => {
416
- const r = n != null && n.context ? String(n.context) : "standalone";
417
- let a;
418
- if (r === "formatting" && e.formattingValues) {
419
- const o = e.defaultFormattingWidth || e.defaultWidth, i = n != null && n.width ? String(n.width) : o;
420
- a = e.formattingValues[i] || e.formattingValues[o];
421
- } else {
422
- const o = e.defaultWidth, i = n != null && n.width ? String(n.width) : e.defaultWidth;
423
- a = e.values[i] || e.values[o];
424
- }
425
- const s = e.argumentCallback ? e.argumentCallback(t) : t;
426
- return a[s];
427
- };
428
- }
429
- const dr = {
430
- narrow: ["B", "A"],
431
- abbreviated: ["BC", "AD"],
432
- wide: ["Before Christ", "Anno Domini"]
433
- }, cr = {
434
- narrow: ["1", "2", "3", "4"],
435
- abbreviated: ["Q1", "Q2", "Q3", "Q4"],
436
- wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
437
- }, ur = {
438
- narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
439
- abbreviated: [
440
- "Jan",
441
- "Feb",
442
- "Mar",
443
- "Apr",
444
- "May",
445
- "Jun",
446
- "Jul",
447
- "Aug",
448
- "Sep",
449
- "Oct",
450
- "Nov",
451
- "Dec"
452
- ],
453
- wide: [
454
- "January",
455
- "February",
456
- "March",
457
- "April",
458
- "May",
459
- "June",
460
- "July",
461
- "August",
462
- "September",
463
- "October",
464
- "November",
465
- "December"
466
- ]
467
- }, fr = {
468
- narrow: ["S", "M", "T", "W", "T", "F", "S"],
469
- short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
470
- abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
471
- wide: [
472
- "Sunday",
473
- "Monday",
474
- "Tuesday",
475
- "Wednesday",
476
- "Thursday",
477
- "Friday",
478
- "Saturday"
479
- ]
480
- }, lr = {
481
- narrow: {
482
- am: "a",
483
- pm: "p",
484
- midnight: "mi",
485
- noon: "n",
486
- morning: "morning",
487
- afternoon: "afternoon",
488
- evening: "evening",
489
- night: "night"
490
- },
491
- abbreviated: {
492
- am: "AM",
493
- pm: "PM",
494
- midnight: "midnight",
495
- noon: "noon",
496
- morning: "morning",
497
- afternoon: "afternoon",
498
- evening: "evening",
499
- night: "night"
500
- },
501
- wide: {
502
- am: "a.m.",
503
- pm: "p.m.",
504
- midnight: "midnight",
505
- noon: "noon",
506
- morning: "morning",
507
- afternoon: "afternoon",
508
- evening: "evening",
509
- night: "night"
510
- }
511
- }, hr = {
512
- narrow: {
513
- am: "a",
514
- pm: "p",
515
- midnight: "mi",
516
- noon: "n",
517
- morning: "in the morning",
518
- afternoon: "in the afternoon",
519
- evening: "in the evening",
520
- night: "at night"
521
- },
522
- abbreviated: {
523
- am: "AM",
524
- pm: "PM",
525
- midnight: "midnight",
526
- noon: "noon",
527
- morning: "in the morning",
528
- afternoon: "in the afternoon",
529
- evening: "in the evening",
530
- night: "at night"
531
- },
532
- wide: {
533
- am: "a.m.",
534
- pm: "p.m.",
535
- midnight: "midnight",
536
- noon: "noon",
537
- morning: "in the morning",
538
- afternoon: "in the afternoon",
539
- evening: "in the evening",
540
- night: "at night"
541
- }
542
- }, mr = (e, t) => {
543
- const n = Number(e), r = n % 100;
544
- if (r > 20 || r < 10)
545
- switch (r % 10) {
546
- case 1:
547
- return n + "st";
548
- case 2:
549
- return n + "nd";
550
- case 3:
551
- return n + "rd";
552
- }
553
- return n + "th";
554
- }, yr = {
555
- ordinalNumber: mr,
556
- era: me({
557
- values: dr,
558
- defaultWidth: "wide"
559
- }),
560
- quarter: me({
561
- values: cr,
562
- defaultWidth: "wide",
563
- argumentCallback: (e) => e - 1
564
- }),
565
- month: me({
566
- values: ur,
567
- defaultWidth: "wide"
568
- }),
569
- day: me({
570
- values: fr,
571
- defaultWidth: "wide"
572
- }),
573
- dayPeriod: me({
574
- values: lr,
575
- defaultWidth: "wide",
576
- formattingValues: hr,
577
- defaultFormattingWidth: "wide"
578
- })
579
- };
580
- function ye(e) {
581
- return (t, n = {}) => {
582
- const r = n.width, a = r && e.matchPatterns[r] || e.matchPatterns[e.defaultMatchWidth], s = t.match(a);
583
- if (!s)
584
- return null;
585
- const o = s[0], i = r && e.parsePatterns[r] || e.parsePatterns[e.defaultParseWidth], d = Array.isArray(i) ? br(i, (f) => f.test(o)) : (
586
- // [TODO] -- I challenge you to fix the type
587
- gr(i, (f) => f.test(o))
588
- );
589
- let c;
590
- c = e.valueCallback ? e.valueCallback(d) : d, c = n.valueCallback ? (
591
- // [TODO] -- I challenge you to fix the type
592
- n.valueCallback(c)
593
- ) : c;
594
- const u = t.slice(o.length);
595
- return { value: c, rest: u };
596
- };
597
- }
598
- function gr(e, t) {
599
- for (const n in e)
600
- if (Object.prototype.hasOwnProperty.call(e, n) && t(e[n]))
601
- return n;
602
- }
603
- function br(e, t) {
604
- for (let n = 0; n < e.length; n++)
605
- if (t(e[n]))
606
- return n;
607
- }
608
- function Mr(e) {
609
- return (t, n = {}) => {
610
- const r = t.match(e.matchPattern);
611
- if (!r) return null;
612
- const a = r[0], s = t.match(e.parsePattern);
613
- if (!s) return null;
614
- let o = e.valueCallback ? e.valueCallback(s[0]) : s[0];
615
- o = n.valueCallback ? n.valueCallback(o) : o;
616
- const i = t.slice(a.length);
617
- return { value: o, rest: i };
618
- };
619
- }
620
- const wr = /^(\d+)(th|st|nd|rd)?/i, vr = /\d+/i, kr = {
621
- narrow: /^(b|a)/i,
622
- abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
623
- wide: /^(before christ|before common era|anno domini|common era)/i
624
- }, Dr = {
625
- any: [/^b/i, /^(a|c)/i]
626
- }, Or = {
627
- narrow: /^[1234]/i,
628
- abbreviated: /^q[1234]/i,
629
- wide: /^[1234](th|st|nd|rd)? quarter/i
630
- }, pr = {
631
- any: [/1/i, /2/i, /3/i, /4/i]
632
- }, Wr = {
633
- narrow: /^[jfmasond]/i,
634
- abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
635
- wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
636
- }, Sr = {
637
- narrow: [
638
- /^j/i,
639
- /^f/i,
640
- /^m/i,
641
- /^a/i,
642
- /^m/i,
643
- /^j/i,
644
- /^j/i,
645
- /^a/i,
646
- /^s/i,
647
- /^o/i,
648
- /^n/i,
649
- /^d/i
650
- ],
651
- any: [
652
- /^ja/i,
653
- /^f/i,
654
- /^mar/i,
655
- /^ap/i,
656
- /^may/i,
657
- /^jun/i,
658
- /^jul/i,
659
- /^au/i,
660
- /^s/i,
661
- /^o/i,
662
- /^n/i,
663
- /^d/i
664
- ]
665
- }, Nr = {
666
- narrow: /^[smtwf]/i,
667
- short: /^(su|mo|tu|we|th|fr|sa)/i,
668
- abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
669
- wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
670
- }, Cr = {
671
- narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
672
- any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
673
- }, xr = {
674
- narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
675
- any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
676
- }, _r = {
677
- any: {
678
- am: /^a/i,
679
- pm: /^p/i,
680
- midnight: /^mi/i,
681
- noon: /^no/i,
682
- morning: /morning/i,
683
- afternoon: /afternoon/i,
684
- evening: /evening/i,
685
- night: /night/i
686
- }
687
- }, Yr = {
688
- ordinalNumber: Mr({
689
- matchPattern: wr,
690
- parsePattern: vr,
691
- valueCallback: (e) => parseInt(e, 10)
692
- }),
693
- era: ye({
694
- matchPatterns: kr,
695
- defaultMatchWidth: "wide",
696
- parsePatterns: Dr,
697
- defaultParseWidth: "any"
698
- }),
699
- quarter: ye({
700
- matchPatterns: Or,
701
- defaultMatchWidth: "wide",
702
- parsePatterns: pr,
703
- defaultParseWidth: "any",
704
- valueCallback: (e) => e + 1
705
- }),
706
- month: ye({
707
- matchPatterns: Wr,
708
- defaultMatchWidth: "wide",
709
- parsePatterns: Sr,
710
- defaultParseWidth: "any"
711
- }),
712
- day: ye({
713
- matchPatterns: Nr,
714
- defaultMatchWidth: "wide",
715
- parsePatterns: Cr,
716
- defaultParseWidth: "any"
717
- }),
718
- dayPeriod: ye({
719
- matchPatterns: xr,
720
- defaultMatchWidth: "any",
721
- parsePatterns: _r,
722
- defaultParseWidth: "any"
723
- })
724
- }, oe = {
725
- code: "en-US",
726
- formatDistance: tr,
727
- formatLong: sr,
728
- formatRelative: ir,
729
- localize: yr,
730
- match: Yr,
731
- options: {
732
- weekStartsOn: 0,
733
- firstWeekContainsDate: 1
734
- }
735
- }, Tr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
736
- __proto__: null,
737
- enUS: oe
738
- }, Symbol.toStringTag, { value: "Module" }));
739
- function Pr(e, t) {
740
- const n = P(e, t == null ? void 0 : t.in);
741
- return Je(n, Ft(n)) + 1;
742
- }
743
- function Ze(e, t) {
744
- const n = P(e, t == null ? void 0 : t.in), r = +Me(n) - +jn(n);
745
- return Math.round(r / Nt) + 1;
746
- }
747
- function It(e, t) {
748
- var u, f, h, g;
749
- const n = P(e, t == null ? void 0 : t.in), r = n.getFullYear(), a = ve(), s = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((f = (u = t == null ? void 0 : t.locale) == null ? void 0 : u.options) == null ? void 0 : f.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((g = (h = a.locale) == null ? void 0 : h.options) == null ? void 0 : g.firstWeekContainsDate) ?? 1, o = I((t == null ? void 0 : t.in) || e, 0);
750
- o.setFullYear(r + 1, 0, s), o.setHours(0, 0, 0, 0);
751
- const i = fe(o, t), d = I((t == null ? void 0 : t.in) || e, 0);
752
- d.setFullYear(r, 0, s), d.setHours(0, 0, 0, 0);
753
- const c = fe(d, t);
754
- return +n >= +i ? r + 1 : +n >= +c ? r : r - 1;
755
- }
756
- function Er(e, t) {
757
- var i, d, c, u;
758
- const n = ve(), r = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((d = (i = t == null ? void 0 : t.locale) == null ? void 0 : i.options) == null ? void 0 : d.firstWeekContainsDate) ?? n.firstWeekContainsDate ?? ((u = (c = n.locale) == null ? void 0 : c.options) == null ? void 0 : u.firstWeekContainsDate) ?? 1, a = It(e, t), s = I((t == null ? void 0 : t.in) || e, 0);
759
- return s.setFullYear(a, 0, r), s.setHours(0, 0, 0, 0), fe(s, t);
760
- }
761
- function Le(e, t) {
762
- const n = P(e, t == null ? void 0 : t.in), r = +fe(n, t) - +Er(n, t);
763
- return Math.round(r / Nt) + 1;
764
- }
765
- function Y(e, t) {
766
- const n = e < 0 ? "-" : "", r = Math.abs(e).toString().padStart(t, "0");
767
- return n + r;
768
- }
769
- const ae = {
770
- // Year
771
- y(e, t) {
772
- const n = e.getFullYear(), r = n > 0 ? n : 1 - n;
773
- return Y(t === "yy" ? r % 100 : r, t.length);
774
- },
775
- // Month
776
- M(e, t) {
777
- const n = e.getMonth();
778
- return t === "M" ? String(n + 1) : Y(n + 1, 2);
779
- },
780
- // Day of the month
781
- d(e, t) {
782
- return Y(e.getDate(), t.length);
783
- },
784
- // AM or PM
785
- a(e, t) {
786
- const n = e.getHours() / 12 >= 1 ? "pm" : "am";
787
- switch (t) {
788
- case "a":
789
- case "aa":
790
- return n.toUpperCase();
791
- case "aaa":
792
- return n;
793
- case "aaaaa":
794
- return n[0];
795
- case "aaaa":
796
- default:
797
- return n === "am" ? "a.m." : "p.m.";
798
- }
799
- },
800
- // Hour [1-12]
801
- h(e, t) {
802
- return Y(e.getHours() % 12 || 12, t.length);
803
- },
804
- // Hour [0-23]
805
- H(e, t) {
806
- return Y(e.getHours(), t.length);
807
- },
808
- // Minute
809
- m(e, t) {
810
- return Y(e.getMinutes(), t.length);
811
- },
812
- // Second
813
- s(e, t) {
814
- return Y(e.getSeconds(), t.length);
815
- },
816
- // Fraction of second
817
- S(e, t) {
818
- const n = t.length, r = e.getMilliseconds(), a = Math.trunc(
819
- r * Math.pow(10, n - 3)
820
- );
821
- return Y(a, t.length);
822
- }
823
- }, ce = {
824
- midnight: "midnight",
825
- noon: "noon",
826
- morning: "morning",
827
- afternoon: "afternoon",
828
- evening: "evening",
829
- night: "night"
830
- }, yt = {
831
- // Era
832
- G: function(e, t, n) {
833
- const r = e.getFullYear() > 0 ? 1 : 0;
834
- switch (t) {
835
- // AD, BC
836
- case "G":
837
- case "GG":
838
- case "GGG":
839
- return n.era(r, { width: "abbreviated" });
840
- // A, B
841
- case "GGGGG":
842
- return n.era(r, { width: "narrow" });
843
- // Anno Domini, Before Christ
844
- case "GGGG":
845
- default:
846
- return n.era(r, { width: "wide" });
847
- }
848
- },
849
- // Year
850
- y: function(e, t, n) {
851
- if (t === "yo") {
852
- const r = e.getFullYear(), a = r > 0 ? r : 1 - r;
853
- return n.ordinalNumber(a, { unit: "year" });
854
- }
855
- return ae.y(e, t);
856
- },
857
- // Local week-numbering year
858
- Y: function(e, t, n, r) {
859
- const a = It(e, r), s = a > 0 ? a : 1 - a;
860
- if (t === "YY") {
861
- const o = s % 100;
862
- return Y(o, 2);
863
- }
864
- return t === "Yo" ? n.ordinalNumber(s, { unit: "year" }) : Y(s, t.length);
865
- },
866
- // ISO week-numbering year
867
- R: function(e, t) {
868
- const n = Yt(e);
869
- return Y(n, t.length);
870
- },
871
- // Extended year. This is a single number designating the year of this calendar system.
872
- // The main difference between `y` and `u` localizers are B.C. years:
873
- // | Year | `y` | `u` |
874
- // |------|-----|-----|
875
- // | AC 1 | 1 | 1 |
876
- // | BC 1 | 1 | 0 |
877
- // | BC 2 | 2 | -1 |
878
- // Also `yy` always returns the last two digits of a year,
879
- // while `uu` pads single digit years to 2 characters and returns other years unchanged.
880
- u: function(e, t) {
881
- const n = e.getFullYear();
882
- return Y(n, t.length);
883
- },
884
- // Quarter
885
- Q: function(e, t, n) {
886
- const r = Math.ceil((e.getMonth() + 1) / 3);
887
- switch (t) {
888
- // 1, 2, 3, 4
889
- case "Q":
890
- return String(r);
891
- // 01, 02, 03, 04
892
- case "QQ":
893
- return Y(r, 2);
894
- // 1st, 2nd, 3rd, 4th
895
- case "Qo":
896
- return n.ordinalNumber(r, { unit: "quarter" });
897
- // Q1, Q2, Q3, Q4
898
- case "QQQ":
899
- return n.quarter(r, {
900
- width: "abbreviated",
901
- context: "formatting"
902
- });
903
- // 1, 2, 3, 4 (narrow quarter; could be not numerical)
904
- case "QQQQQ":
905
- return n.quarter(r, {
906
- width: "narrow",
907
- context: "formatting"
908
- });
909
- // 1st quarter, 2nd quarter, ...
910
- case "QQQQ":
911
- default:
912
- return n.quarter(r, {
913
- width: "wide",
914
- context: "formatting"
915
- });
916
- }
917
- },
918
- // Stand-alone quarter
919
- q: function(e, t, n) {
920
- const r = Math.ceil((e.getMonth() + 1) / 3);
921
- switch (t) {
922
- // 1, 2, 3, 4
923
- case "q":
924
- return String(r);
925
- // 01, 02, 03, 04
926
- case "qq":
927
- return Y(r, 2);
928
- // 1st, 2nd, 3rd, 4th
929
- case "qo":
930
- return n.ordinalNumber(r, { unit: "quarter" });
931
- // Q1, Q2, Q3, Q4
932
- case "qqq":
933
- return n.quarter(r, {
934
- width: "abbreviated",
935
- context: "standalone"
936
- });
937
- // 1, 2, 3, 4 (narrow quarter; could be not numerical)
938
- case "qqqqq":
939
- return n.quarter(r, {
940
- width: "narrow",
941
- context: "standalone"
942
- });
943
- // 1st quarter, 2nd quarter, ...
944
- case "qqqq":
945
- default:
946
- return n.quarter(r, {
947
- width: "wide",
948
- context: "standalone"
949
- });
950
- }
951
- },
952
- // Month
953
- M: function(e, t, n) {
954
- const r = e.getMonth();
955
- switch (t) {
956
- case "M":
957
- case "MM":
958
- return ae.M(e, t);
959
- // 1st, 2nd, ..., 12th
960
- case "Mo":
961
- return n.ordinalNumber(r + 1, { unit: "month" });
962
- // Jan, Feb, ..., Dec
963
- case "MMM":
964
- return n.month(r, {
965
- width: "abbreviated",
966
- context: "formatting"
967
- });
968
- // J, F, ..., D
969
- case "MMMMM":
970
- return n.month(r, {
971
- width: "narrow",
972
- context: "formatting"
973
- });
974
- // January, February, ..., December
975
- case "MMMM":
976
- default:
977
- return n.month(r, { width: "wide", context: "formatting" });
978
- }
979
- },
980
- // Stand-alone month
981
- L: function(e, t, n) {
982
- const r = e.getMonth();
983
- switch (t) {
984
- // 1, 2, ..., 12
985
- case "L":
986
- return String(r + 1);
987
- // 01, 02, ..., 12
988
- case "LL":
989
- return Y(r + 1, 2);
990
- // 1st, 2nd, ..., 12th
991
- case "Lo":
992
- return n.ordinalNumber(r + 1, { unit: "month" });
993
- // Jan, Feb, ..., Dec
994
- case "LLL":
995
- return n.month(r, {
996
- width: "abbreviated",
997
- context: "standalone"
998
- });
999
- // J, F, ..., D
1000
- case "LLLLL":
1001
- return n.month(r, {
1002
- width: "narrow",
1003
- context: "standalone"
1004
- });
1005
- // January, February, ..., December
1006
- case "LLLL":
1007
- default:
1008
- return n.month(r, { width: "wide", context: "standalone" });
1009
- }
1010
- },
1011
- // Local week of year
1012
- w: function(e, t, n, r) {
1013
- const a = Le(e, r);
1014
- return t === "wo" ? n.ordinalNumber(a, { unit: "week" }) : Y(a, t.length);
1015
- },
1016
- // ISO week of year
1017
- I: function(e, t, n) {
1018
- const r = Ze(e);
1019
- return t === "Io" ? n.ordinalNumber(r, { unit: "week" }) : Y(r, t.length);
1020
- },
1021
- // Day of the month
1022
- d: function(e, t, n) {
1023
- return t === "do" ? n.ordinalNumber(e.getDate(), { unit: "date" }) : ae.d(e, t);
1024
- },
1025
- // Day of year
1026
- D: function(e, t, n) {
1027
- const r = Pr(e);
1028
- return t === "Do" ? n.ordinalNumber(r, { unit: "dayOfYear" }) : Y(r, t.length);
1029
- },
1030
- // Day of week
1031
- E: function(e, t, n) {
1032
- const r = e.getDay();
1033
- switch (t) {
1034
- // Tue
1035
- case "E":
1036
- case "EE":
1037
- case "EEE":
1038
- return n.day(r, {
1039
- width: "abbreviated",
1040
- context: "formatting"
1041
- });
1042
- // T
1043
- case "EEEEE":
1044
- return n.day(r, {
1045
- width: "narrow",
1046
- context: "formatting"
1047
- });
1048
- // Tu
1049
- case "EEEEEE":
1050
- return n.day(r, {
1051
- width: "short",
1052
- context: "formatting"
1053
- });
1054
- // Tuesday
1055
- case "EEEE":
1056
- default:
1057
- return n.day(r, {
1058
- width: "wide",
1059
- context: "formatting"
1060
- });
1061
- }
1062
- },
1063
- // Local day of week
1064
- e: function(e, t, n, r) {
1065
- const a = e.getDay(), s = (a - r.weekStartsOn + 8) % 7 || 7;
1066
- switch (t) {
1067
- // Numerical value (Nth day of week with current locale or weekStartsOn)
1068
- case "e":
1069
- return String(s);
1070
- // Padded numerical value
1071
- case "ee":
1072
- return Y(s, 2);
1073
- // 1st, 2nd, ..., 7th
1074
- case "eo":
1075
- return n.ordinalNumber(s, { unit: "day" });
1076
- case "eee":
1077
- return n.day(a, {
1078
- width: "abbreviated",
1079
- context: "formatting"
1080
- });
1081
- // T
1082
- case "eeeee":
1083
- return n.day(a, {
1084
- width: "narrow",
1085
- context: "formatting"
1086
- });
1087
- // Tu
1088
- case "eeeeee":
1089
- return n.day(a, {
1090
- width: "short",
1091
- context: "formatting"
1092
- });
1093
- // Tuesday
1094
- case "eeee":
1095
- default:
1096
- return n.day(a, {
1097
- width: "wide",
1098
- context: "formatting"
1099
- });
1100
- }
1101
- },
1102
- // Stand-alone local day of week
1103
- c: function(e, t, n, r) {
1104
- const a = e.getDay(), s = (a - r.weekStartsOn + 8) % 7 || 7;
1105
- switch (t) {
1106
- // Numerical value (same as in `e`)
1107
- case "c":
1108
- return String(s);
1109
- // Padded numerical value
1110
- case "cc":
1111
- return Y(s, t.length);
1112
- // 1st, 2nd, ..., 7th
1113
- case "co":
1114
- return n.ordinalNumber(s, { unit: "day" });
1115
- case "ccc":
1116
- return n.day(a, {
1117
- width: "abbreviated",
1118
- context: "standalone"
1119
- });
1120
- // T
1121
- case "ccccc":
1122
- return n.day(a, {
1123
- width: "narrow",
1124
- context: "standalone"
1125
- });
1126
- // Tu
1127
- case "cccccc":
1128
- return n.day(a, {
1129
- width: "short",
1130
- context: "standalone"
1131
- });
1132
- // Tuesday
1133
- case "cccc":
1134
- default:
1135
- return n.day(a, {
1136
- width: "wide",
1137
- context: "standalone"
1138
- });
1139
- }
1140
- },
1141
- // ISO day of week
1142
- i: function(e, t, n) {
1143
- const r = e.getDay(), a = r === 0 ? 7 : r;
1144
- switch (t) {
1145
- // 2
1146
- case "i":
1147
- return String(a);
1148
- // 02
1149
- case "ii":
1150
- return Y(a, t.length);
1151
- // 2nd
1152
- case "io":
1153
- return n.ordinalNumber(a, { unit: "day" });
1154
- // Tue
1155
- case "iii":
1156
- return n.day(r, {
1157
- width: "abbreviated",
1158
- context: "formatting"
1159
- });
1160
- // T
1161
- case "iiiii":
1162
- return n.day(r, {
1163
- width: "narrow",
1164
- context: "formatting"
1165
- });
1166
- // Tu
1167
- case "iiiiii":
1168
- return n.day(r, {
1169
- width: "short",
1170
- context: "formatting"
1171
- });
1172
- // Tuesday
1173
- case "iiii":
1174
- default:
1175
- return n.day(r, {
1176
- width: "wide",
1177
- context: "formatting"
1178
- });
1179
- }
1180
- },
1181
- // AM or PM
1182
- a: function(e, t, n) {
1183
- const a = e.getHours() / 12 >= 1 ? "pm" : "am";
1184
- switch (t) {
1185
- case "a":
1186
- case "aa":
1187
- return n.dayPeriod(a, {
1188
- width: "abbreviated",
1189
- context: "formatting"
1190
- });
1191
- case "aaa":
1192
- return n.dayPeriod(a, {
1193
- width: "abbreviated",
1194
- context: "formatting"
1195
- }).toLowerCase();
1196
- case "aaaaa":
1197
- return n.dayPeriod(a, {
1198
- width: "narrow",
1199
- context: "formatting"
1200
- });
1201
- case "aaaa":
1202
- default:
1203
- return n.dayPeriod(a, {
1204
- width: "wide",
1205
- context: "formatting"
1206
- });
1207
- }
1208
- },
1209
- // AM, PM, midnight, noon
1210
- b: function(e, t, n) {
1211
- const r = e.getHours();
1212
- let a;
1213
- switch (r === 12 ? a = ce.noon : r === 0 ? a = ce.midnight : a = r / 12 >= 1 ? "pm" : "am", t) {
1214
- case "b":
1215
- case "bb":
1216
- return n.dayPeriod(a, {
1217
- width: "abbreviated",
1218
- context: "formatting"
1219
- });
1220
- case "bbb":
1221
- return n.dayPeriod(a, {
1222
- width: "abbreviated",
1223
- context: "formatting"
1224
- }).toLowerCase();
1225
- case "bbbbb":
1226
- return n.dayPeriod(a, {
1227
- width: "narrow",
1228
- context: "formatting"
1229
- });
1230
- case "bbbb":
1231
- default:
1232
- return n.dayPeriod(a, {
1233
- width: "wide",
1234
- context: "formatting"
1235
- });
1236
- }
1237
- },
1238
- // in the morning, in the afternoon, in the evening, at night
1239
- B: function(e, t, n) {
1240
- const r = e.getHours();
1241
- let a;
1242
- switch (r >= 17 ? a = ce.evening : r >= 12 ? a = ce.afternoon : r >= 4 ? a = ce.morning : a = ce.night, t) {
1243
- case "B":
1244
- case "BB":
1245
- case "BBB":
1246
- return n.dayPeriod(a, {
1247
- width: "abbreviated",
1248
- context: "formatting"
1249
- });
1250
- case "BBBBB":
1251
- return n.dayPeriod(a, {
1252
- width: "narrow",
1253
- context: "formatting"
1254
- });
1255
- case "BBBB":
1256
- default:
1257
- return n.dayPeriod(a, {
1258
- width: "wide",
1259
- context: "formatting"
1260
- });
1261
- }
1262
- },
1263
- // Hour [1-12]
1264
- h: function(e, t, n) {
1265
- if (t === "ho") {
1266
- let r = e.getHours() % 12;
1267
- return r === 0 && (r = 12), n.ordinalNumber(r, { unit: "hour" });
1268
- }
1269
- return ae.h(e, t);
1270
- },
1271
- // Hour [0-23]
1272
- H: function(e, t, n) {
1273
- return t === "Ho" ? n.ordinalNumber(e.getHours(), { unit: "hour" }) : ae.H(e, t);
1274
- },
1275
- // Hour [0-11]
1276
- K: function(e, t, n) {
1277
- const r = e.getHours() % 12;
1278
- return t === "Ko" ? n.ordinalNumber(r, { unit: "hour" }) : Y(r, t.length);
1279
- },
1280
- // Hour [1-24]
1281
- k: function(e, t, n) {
1282
- let r = e.getHours();
1283
- return r === 0 && (r = 24), t === "ko" ? n.ordinalNumber(r, { unit: "hour" }) : Y(r, t.length);
1284
- },
1285
- // Minute
1286
- m: function(e, t, n) {
1287
- return t === "mo" ? n.ordinalNumber(e.getMinutes(), { unit: "minute" }) : ae.m(e, t);
1288
- },
1289
- // Second
1290
- s: function(e, t, n) {
1291
- return t === "so" ? n.ordinalNumber(e.getSeconds(), { unit: "second" }) : ae.s(e, t);
1292
- },
1293
- // Fraction of second
1294
- S: function(e, t) {
1295
- return ae.S(e, t);
1296
- },
1297
- // Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
1298
- X: function(e, t, n) {
1299
- const r = e.getTimezoneOffset();
1300
- if (r === 0)
1301
- return "Z";
1302
- switch (t) {
1303
- // Hours and optional minutes
1304
- case "X":
1305
- return bt(r);
1306
- // Hours, minutes and optional seconds without `:` delimiter
1307
- // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
1308
- // so this token always has the same output as `XX`
1309
- case "XXXX":
1310
- case "XX":
1311
- return se(r);
1312
- // Hours, minutes and optional seconds with `:` delimiter
1313
- // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
1314
- // so this token always has the same output as `XXX`
1315
- case "XXXXX":
1316
- case "XXX":
1317
- // Hours and minutes with `:` delimiter
1318
- default:
1319
- return se(r, ":");
1320
- }
1321
- },
1322
- // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
1323
- x: function(e, t, n) {
1324
- const r = e.getTimezoneOffset();
1325
- switch (t) {
1326
- // Hours and optional minutes
1327
- case "x":
1328
- return bt(r);
1329
- // Hours, minutes and optional seconds without `:` delimiter
1330
- // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
1331
- // so this token always has the same output as `xx`
1332
- case "xxxx":
1333
- case "xx":
1334
- return se(r);
1335
- // Hours, minutes and optional seconds with `:` delimiter
1336
- // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
1337
- // so this token always has the same output as `xxx`
1338
- case "xxxxx":
1339
- case "xxx":
1340
- // Hours and minutes with `:` delimiter
1341
- default:
1342
- return se(r, ":");
1343
- }
1344
- },
1345
- // Timezone (GMT)
1346
- O: function(e, t, n) {
1347
- const r = e.getTimezoneOffset();
1348
- switch (t) {
1349
- // Short
1350
- case "O":
1351
- case "OO":
1352
- case "OOO":
1353
- return "GMT" + gt(r, ":");
1354
- // Long
1355
- case "OOOO":
1356
- default:
1357
- return "GMT" + se(r, ":");
1358
- }
1359
- },
1360
- // Timezone (specific non-location)
1361
- z: function(e, t, n) {
1362
- const r = e.getTimezoneOffset();
1363
- switch (t) {
1364
- // Short
1365
- case "z":
1366
- case "zz":
1367
- case "zzz":
1368
- return "GMT" + gt(r, ":");
1369
- // Long
1370
- case "zzzz":
1371
- default:
1372
- return "GMT" + se(r, ":");
1373
- }
1374
- },
1375
- // Seconds timestamp
1376
- t: function(e, t, n) {
1377
- const r = Math.trunc(+e / 1e3);
1378
- return Y(r, t.length);
1379
- },
1380
- // Milliseconds timestamp
1381
- T: function(e, t, n) {
1382
- return Y(+e, t.length);
1383
- }
1384
- };
1385
- function gt(e, t = "") {
1386
- const n = e > 0 ? "-" : "+", r = Math.abs(e), a = Math.trunc(r / 60), s = r % 60;
1387
- return s === 0 ? n + String(a) : n + String(a) + t + Y(s, 2);
1388
- }
1389
- function bt(e, t) {
1390
- return e % 60 === 0 ? (e > 0 ? "-" : "+") + Y(Math.abs(e) / 60, 2) : se(e, t);
1391
- }
1392
- function se(e, t = "") {
1393
- const n = e > 0 ? "-" : "+", r = Math.abs(e), a = Y(Math.trunc(r / 60), 2), s = Y(r % 60, 2);
1394
- return n + a + t + s;
1395
- }
1396
- const Mt = (e, t) => {
1397
- switch (e) {
1398
- case "P":
1399
- return t.date({ width: "short" });
1400
- case "PP":
1401
- return t.date({ width: "medium" });
1402
- case "PPP":
1403
- return t.date({ width: "long" });
1404
- case "PPPP":
1405
- default:
1406
- return t.date({ width: "full" });
1407
- }
1408
- }, Ht = (e, t) => {
1409
- switch (e) {
1410
- case "p":
1411
- return t.time({ width: "short" });
1412
- case "pp":
1413
- return t.time({ width: "medium" });
1414
- case "ppp":
1415
- return t.time({ width: "long" });
1416
- case "pppp":
1417
- default:
1418
- return t.time({ width: "full" });
1419
- }
1420
- }, Fr = (e, t) => {
1421
- const n = e.match(/(P+)(p+)?/) || [], r = n[1], a = n[2];
1422
- if (!a)
1423
- return Mt(e, t);
1424
- let s;
1425
- switch (r) {
1426
- case "P":
1427
- s = t.dateTime({ width: "short" });
1428
- break;
1429
- case "PP":
1430
- s = t.dateTime({ width: "medium" });
1431
- break;
1432
- case "PPP":
1433
- s = t.dateTime({ width: "long" });
1434
- break;
1435
- case "PPPP":
1436
- default:
1437
- s = t.dateTime({ width: "full" });
1438
- break;
1439
- }
1440
- return s.replace("{{date}}", Mt(r, t)).replace("{{time}}", Ht(a, t));
1441
- }, Br = {
1442
- p: Ht,
1443
- P: Fr
1444
- }, Ir = /^D+$/, Hr = /^Y+$/, Ar = ["D", "DD", "YY", "YYYY"];
1445
- function zr(e) {
1446
- return Ir.test(e);
1447
- }
1448
- function qr(e) {
1449
- return Hr.test(e);
1450
- }
1451
- function jr(e, t, n) {
1452
- const r = $r(e, t, n);
1453
- if (console.warn(r), Ar.includes(e)) throw new RangeError(r);
1454
- }
1455
- function $r(e, t, n) {
1456
- const r = e[0] === "Y" ? "years" : "days of the month";
1457
- return `Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
1458
- }
1459
- const Gr = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Rr = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Vr = /^'([^]*?)'?$/, Ur = /''/g, Qr = /[a-zA-Z]/;
1460
- function be(e, t, n) {
1461
- var u, f, h, g, D, p, k, N;
1462
- const r = ve(), a = (n == null ? void 0 : n.locale) ?? r.locale ?? oe, s = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((f = (u = n == null ? void 0 : n.locale) == null ? void 0 : u.options) == null ? void 0 : f.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((g = (h = r.locale) == null ? void 0 : h.options) == null ? void 0 : g.firstWeekContainsDate) ?? 1, o = (n == null ? void 0 : n.weekStartsOn) ?? ((p = (D = n == null ? void 0 : n.locale) == null ? void 0 : D.options) == null ? void 0 : p.weekStartsOn) ?? r.weekStartsOn ?? ((N = (k = r.locale) == null ? void 0 : k.options) == null ? void 0 : N.weekStartsOn) ?? 0, i = P(e, n == null ? void 0 : n.in);
1463
- if (!Un(i))
1464
- throw new RangeError("Invalid time value");
1465
- let d = t.match(Rr).map((M) => {
1466
- const b = M[0];
1467
- if (b === "p" || b === "P") {
1468
- const W = Br[b];
1469
- return W(M, a.formatLong);
1470
- }
1471
- return M;
1472
- }).join("").match(Gr).map((M) => {
1473
- if (M === "''")
1474
- return { isToken: !1, value: "'" };
1475
- const b = M[0];
1476
- if (b === "'")
1477
- return { isToken: !1, value: Xr(M) };
1478
- if (yt[b])
1479
- return { isToken: !0, value: M };
1480
- if (b.match(Qr))
1481
- throw new RangeError(
1482
- "Format string contains an unescaped latin alphabet character `" + b + "`"
1483
- );
1484
- return { isToken: !1, value: M };
1485
- });
1486
- a.localize.preprocessor && (d = a.localize.preprocessor(i, d));
1487
- const c = {
1488
- firstWeekContainsDate: s,
1489
- weekStartsOn: o,
1490
- locale: a
1491
- };
1492
- return d.map((M) => {
1493
- if (!M.isToken) return M.value;
1494
- const b = M.value;
1495
- (!(n != null && n.useAdditionalWeekYearTokens) && qr(b) || !(n != null && n.useAdditionalDayOfYearTokens) && zr(b)) && jr(b, t, String(e));
1496
- const W = yt[b[0]];
1497
- return W(i, b, a.localize, c);
1498
- }).join("");
1499
- }
1500
- function Xr(e) {
1501
- const t = e.match(Vr);
1502
- return t ? t[1].replace(Ur, "'") : e;
1503
- }
1504
- function Kr(e, t) {
1505
- const n = P(e, t == null ? void 0 : t.in), r = n.getFullYear(), a = n.getMonth(), s = I(n, 0);
1506
- return s.setFullYear(r, a + 1, 0), s.setHours(0, 0, 0, 0), s.getDate();
1507
- }
1508
- function Jr(e, t) {
1509
- return P(e, t == null ? void 0 : t.in).getMonth();
1510
- }
1511
- function Zr(e, t) {
1512
- return P(e, t == null ? void 0 : t.in).getFullYear();
1513
- }
1514
- function Lr(e, t) {
1515
- return +P(e) > +P(t);
1516
- }
1517
- function ea(e, t) {
1518
- return +P(e) < +P(t);
1519
- }
1520
- function ta(e, t, n) {
1521
- const [r, a] = we(
1522
- n == null ? void 0 : n.in,
1523
- e,
1524
- t
1525
- );
1526
- return r.getFullYear() === a.getFullYear() && r.getMonth() === a.getMonth();
1527
- }
1528
- function na(e, t, n) {
1529
- const [r, a] = we(
1530
- n == null ? void 0 : n.in,
1531
- e,
1532
- t
1533
- );
1534
- return r.getFullYear() === a.getFullYear();
1535
- }
1536
- function ra(e, t, n) {
1537
- const r = P(e, n == null ? void 0 : n.in), a = r.getFullYear(), s = r.getDate(), o = I(e, 0);
1538
- o.setFullYear(a, t, 15), o.setHours(0, 0, 0, 0);
1539
- const i = Kr(o);
1540
- return r.setMonth(t, Math.min(s, i)), r;
1541
- }
1542
- function aa(e, t, n) {
1543
- const r = P(e, n == null ? void 0 : n.in);
1544
- return isNaN(+r) ? I(e, NaN) : (r.setFullYear(t), r);
1545
- }
1546
- const wt = 5, sa = 4;
1547
- function oa(e, t) {
1548
- const n = t.startOfMonth(e), r = n.getDay() > 0 ? n.getDay() : 7, a = t.addDays(e, -r + 1), s = t.addDays(a, wt * 7 - 1);
1549
- return t.getMonth(e) === t.getMonth(s) ? wt : sa;
1550
- }
1551
- function At(e, t) {
1552
- const n = t.startOfMonth(e), r = n.getDay();
1553
- return r === 1 ? n : r === 0 ? t.addDays(n, -6) : t.addDays(n, -1 * (r - 1));
1554
- }
1555
- function ia(e, t) {
1556
- const n = At(e, t), r = oa(e, t);
1557
- return t.addDays(n, r * 7 - 1);
1558
- }
1559
- const zt = {
1560
- ...oe,
1561
- labels: {
1562
- labelDayButton: (e, t, n, r) => {
1563
- let a;
1564
- r && typeof r.format == "function" ? a = r.format.bind(r) : a = (o, i) => be(o, i, { locale: oe, ...n });
1565
- let s = a(e, "PPPP");
1566
- return t.today && (s = `Today, ${s}`), t.selected && (s = `${s}, selected`), s;
1567
- },
1568
- labelMonthDropdown: "Choose the Month",
1569
- labelNext: "Go to the Next Month",
1570
- labelPrevious: "Go to the Previous Month",
1571
- labelWeekNumber: (e) => `Week ${e}`,
1572
- labelYearDropdown: "Choose the Year",
1573
- labelGrid: (e, t, n) => {
1574
- let r;
1575
- return n && typeof n.format == "function" ? r = n.format.bind(n) : r = (a, s) => be(a, s, { locale: oe, ...t }), r(e, "LLLL yyyy");
1576
- },
1577
- labelGridcell: (e, t, n, r) => {
1578
- let a;
1579
- r && typeof r.format == "function" ? a = r.format.bind(r) : a = (o, i) => be(o, i, { locale: oe, ...n });
1580
- let s = a(e, "PPPP");
1581
- return t != null && t.today && (s = `Today, ${s}`), s;
1582
- },
1583
- labelNav: "Navigation bar",
1584
- labelWeekNumberHeader: "Week Number",
1585
- labelWeekday: (e, t, n) => {
1586
- let r;
1587
- return n && typeof n.format == "function" ? r = n.format.bind(n) : r = (a, s) => be(a, s, { locale: oe, ...t }), r(e, "cccc");
1588
- }
1589
- }
1590
- };
1591
- class j {
1592
- /**
1593
- * Creates an instance of `DateLib`.
1594
- *
1595
- * @param options Configuration options for the date library.
1596
- * @param overrides Custom overrides for the date library functions.
1597
- */
1598
- constructor(t, n) {
1599
- this.Date = Date, this.today = () => {
1600
- var r;
1601
- return (r = this.overrides) != null && r.today ? this.overrides.today() : this.options.timeZone ? H.tz(this.options.timeZone) : new this.Date();
1602
- }, this.newDate = (r, a, s) => {
1603
- var o;
1604
- return (o = this.overrides) != null && o.newDate ? this.overrides.newDate(r, a, s) : this.options.timeZone ? new H(r, a, s, this.options.timeZone) : new Date(r, a, s);
1605
- }, this.addDays = (r, a) => {
1606
- var s;
1607
- return (s = this.overrides) != null && s.addDays ? this.overrides.addDays(r, a) : xt(r, a);
1608
- }, this.addMonths = (r, a) => {
1609
- var s;
1610
- return (s = this.overrides) != null && s.addMonths ? this.overrides.addMonths(r, a) : _t(r, a);
1611
- }, this.addWeeks = (r, a) => {
1612
- var s;
1613
- return (s = this.overrides) != null && s.addWeeks ? this.overrides.addWeeks(r, a) : $n(r, a);
1614
- }, this.addYears = (r, a) => {
1615
- var s;
1616
- return (s = this.overrides) != null && s.addYears ? this.overrides.addYears(r, a) : Gn(r, a);
1617
- }, this.differenceInCalendarDays = (r, a) => {
1618
- var s;
1619
- return (s = this.overrides) != null && s.differenceInCalendarDays ? this.overrides.differenceInCalendarDays(r, a) : Je(r, a);
1620
- }, this.differenceInCalendarMonths = (r, a) => {
1621
- var s;
1622
- return (s = this.overrides) != null && s.differenceInCalendarMonths ? this.overrides.differenceInCalendarMonths(r, a) : Pt(r, a);
1623
- }, this.eachMonthOfInterval = (r) => {
1624
- var a;
1625
- return (a = this.overrides) != null && a.eachMonthOfInterval ? this.overrides.eachMonthOfInterval(r) : Xn(r);
1626
- }, this.eachYearOfInterval = (r) => {
1627
- var i;
1628
- const a = (i = this.overrides) != null && i.eachYearOfInterval ? this.overrides.eachYearOfInterval(r) : Zn(r), s = new Set(a.map((d) => this.getYear(d)));
1629
- if (s.size === a.length)
1630
- return a;
1631
- const o = [];
1632
- return s.forEach((d) => {
1633
- o.push(new Date(d, 0, 1));
1634
- }), o;
1635
- }, this.endOfBroadcastWeek = (r) => {
1636
- var a;
1637
- return (a = this.overrides) != null && a.endOfBroadcastWeek ? this.overrides.endOfBroadcastWeek(r) : ia(r, this);
1638
- }, this.endOfISOWeek = (r) => {
1639
- var a;
1640
- return (a = this.overrides) != null && a.endOfISOWeek ? this.overrides.endOfISOWeek(r) : Ln(r);
1641
- }, this.endOfMonth = (r) => {
1642
- var a;
1643
- return (a = this.overrides) != null && a.endOfMonth ? this.overrides.endOfMonth(r) : Qn(r);
1644
- }, this.endOfWeek = (r, a) => {
1645
- var s;
1646
- return (s = this.overrides) != null && s.endOfWeek ? this.overrides.endOfWeek(r, a) : Bt(r, this.options);
1647
- }, this.endOfYear = (r) => {
1648
- var a;
1649
- return (a = this.overrides) != null && a.endOfYear ? this.overrides.endOfYear(r) : Jn(r);
1650
- }, this.format = (r, a, s) => {
1651
- var i;
1652
- const o = (i = this.overrides) != null && i.format ? this.overrides.format(r, a, this.options) : be(r, a, this.options);
1653
- return this.options.numerals && this.options.numerals !== "latn" ? this.replaceDigits(o) : o;
1654
- }, this.getISOWeek = (r) => {
1655
- var a;
1656
- return (a = this.overrides) != null && a.getISOWeek ? this.overrides.getISOWeek(r) : Ze(r);
1657
- }, this.getMonth = (r, a) => {
1658
- var s;
1659
- return (s = this.overrides) != null && s.getMonth ? this.overrides.getMonth(r, this.options) : Jr(r, this.options);
1660
- }, this.getYear = (r, a) => {
1661
- var s;
1662
- return (s = this.overrides) != null && s.getYear ? this.overrides.getYear(r, this.options) : Zr(r, this.options);
1663
- }, this.getWeek = (r, a) => {
1664
- var s;
1665
- return (s = this.overrides) != null && s.getWeek ? this.overrides.getWeek(r, this.options) : Le(r, this.options);
1666
- }, this.isAfter = (r, a) => {
1667
- var s;
1668
- return (s = this.overrides) != null && s.isAfter ? this.overrides.isAfter(r, a) : Lr(r, a);
1669
- }, this.isBefore = (r, a) => {
1670
- var s;
1671
- return (s = this.overrides) != null && s.isBefore ? this.overrides.isBefore(r, a) : ea(r, a);
1672
- }, this.isDate = (r) => {
1673
- var a;
1674
- return (a = this.overrides) != null && a.isDate ? this.overrides.isDate(r) : Tt(r);
1675
- }, this.isSameDay = (r, a) => {
1676
- var s;
1677
- return (s = this.overrides) != null && s.isSameDay ? this.overrides.isSameDay(r, a) : Fn(r, a);
1678
- }, this.isSameMonth = (r, a) => {
1679
- var s;
1680
- return (s = this.overrides) != null && s.isSameMonth ? this.overrides.isSameMonth(r, a) : ta(r, a);
1681
- }, this.isSameYear = (r, a) => {
1682
- var s;
1683
- return (s = this.overrides) != null && s.isSameYear ? this.overrides.isSameYear(r, a) : na(r, a);
1684
- }, this.max = (r) => {
1685
- var a;
1686
- return (a = this.overrides) != null && a.max ? this.overrides.max(r) : Rn(r);
1687
- }, this.min = (r) => {
1688
- var a;
1689
- return (a = this.overrides) != null && a.min ? this.overrides.min(r) : Vn(r);
1690
- }, this.setMonth = (r, a) => {
1691
- var s;
1692
- return (s = this.overrides) != null && s.setMonth ? this.overrides.setMonth(r, a) : ra(r, a);
1693
- }, this.setYear = (r, a) => {
1694
- var s;
1695
- return (s = this.overrides) != null && s.setYear ? this.overrides.setYear(r, a) : aa(r, a);
1696
- }, this.startOfBroadcastWeek = (r, a) => {
1697
- var s;
1698
- return (s = this.overrides) != null && s.startOfBroadcastWeek ? this.overrides.startOfBroadcastWeek(r, this) : At(r, this);
1699
- }, this.startOfDay = (r) => {
1700
- var a;
1701
- return (a = this.overrides) != null && a.startOfDay ? this.overrides.startOfDay(r) : Xe(r);
1702
- }, this.startOfISOWeek = (r) => {
1703
- var a;
1704
- return (a = this.overrides) != null && a.startOfISOWeek ? this.overrides.startOfISOWeek(r) : Me(r);
1705
- }, this.startOfMonth = (r) => {
1706
- var a;
1707
- return (a = this.overrides) != null && a.startOfMonth ? this.overrides.startOfMonth(r) : Kn(r);
1708
- }, this.startOfWeek = (r, a) => {
1709
- var s;
1710
- return (s = this.overrides) != null && s.startOfWeek ? this.overrides.startOfWeek(r, this.options) : fe(r, this.options);
1711
- }, this.startOfYear = (r) => {
1712
- var a;
1713
- return (a = this.overrides) != null && a.startOfYear ? this.overrides.startOfYear(r) : Ft(r);
1714
- }, this.options = { locale: zt, ...t }, this.overrides = n;
1715
- }
1716
- /**
1717
- * Generates a mapping of Arabic digits (0-9) to the target numbering system
1718
- * digits.
1719
- *
1720
- * @since 9.5.0
1721
- * @returns A record mapping Arabic digits to the target numerals.
1722
- */
1723
- getDigitMap() {
1724
- const { numerals: t = "latn" } = this.options, n = new Intl.NumberFormat("en-US", {
1725
- numberingSystem: t
1726
- }), r = {};
1727
- for (let a = 0; a < 10; a++)
1728
- r[a.toString()] = n.format(a);
1729
- return r;
1730
- }
1731
- /**
1732
- * Replaces Arabic digits in a string with the target numbering system digits.
1733
- *
1734
- * @since 9.5.0
1735
- * @param input The string containing Arabic digits.
1736
- * @returns The string with digits replaced.
1737
- */
1738
- replaceDigits(t) {
1739
- const n = this.getDigitMap();
1740
- return t.replace(/\d/g, (r) => n[r] || r);
1741
- }
1742
- /**
1743
- * Formats a number using the configured numbering system.
1744
- *
1745
- * @since 9.5.0
1746
- * @param value The number to format.
1747
- * @returns The formatted number as a string.
1748
- */
1749
- formatNumber(t) {
1750
- return this.replaceDigits(t.toString());
1751
- }
1752
- /**
1753
- * Returns the preferred ordering for month and year labels for the current
1754
- * locale.
1755
- */
1756
- getMonthYearOrder() {
1757
- var n;
1758
- const t = (n = this.options.locale) == null ? void 0 : n.code;
1759
- return t && j.yearFirstLocales.has(t) ? "year-first" : "month-first";
1760
- }
1761
- /**
1762
- * Formats the month/year pair respecting locale conventions.
1763
- *
1764
- * @since 9.11.0
1765
- */
1766
- formatMonthYear(t) {
1767
- const { locale: n, timeZone: r, numerals: a } = this.options, s = n == null ? void 0 : n.code;
1768
- if (s && j.yearFirstLocales.has(s))
1769
- try {
1770
- return new Intl.DateTimeFormat(s, {
1771
- month: "long",
1772
- year: "numeric",
1773
- timeZone: r,
1774
- numberingSystem: a
1775
- }).format(t);
1776
- } catch {
1777
- }
1778
- const o = this.getMonthYearOrder() === "year-first" ? "y LLLL" : "LLLL y";
1779
- return this.format(t, o);
1780
- }
1781
- }
1782
- j.yearFirstLocales = /* @__PURE__ */ new Set([
1783
- "eu",
1784
- "hu",
1785
- "ja",
1786
- "ja-Hira",
1787
- "ja-JP",
1788
- "ko",
1789
- "ko-KR",
1790
- "lt",
1791
- "lt-LT",
1792
- "lv",
1793
- "lv-LV",
1794
- "mn",
1795
- "mn-MN",
1796
- "zh",
1797
- "zh-CN",
1798
- "zh-HK",
1799
- "zh-TW"
1800
- ]);
1801
- const Z = new j();
1802
- class qt {
1803
- constructor(t, n, r = Z) {
1804
- this.date = t, this.displayMonth = n, this.outside = !!(n && !r.isSameMonth(t, n)), this.dateLib = r, this.isoDate = r.format(t, "yyyy-MM-dd"), this.displayMonthId = r.format(n, "yyyy-MM"), this.dateMonthId = r.format(t, "yyyy-MM");
1805
- }
1806
- /**
1807
- * Checks if this day is equal to another `CalendarDay`, considering both the
1808
- * date and the displayed month.
1809
- *
1810
- * @param day The `CalendarDay` to compare with.
1811
- * @returns `true` if the days are equal, otherwise `false`.
1812
- */
1813
- isEqualTo(t) {
1814
- return this.dateLib.isSameDay(t.date, this.date) && this.dateLib.isSameMonth(t.displayMonth, this.displayMonth);
1815
- }
1816
- }
1817
- class da {
1818
- constructor(t, n) {
1819
- this.date = t, this.weeks = n;
1820
- }
1821
- }
1822
- class ca {
1823
- constructor(t, n) {
1824
- this.days = n, this.weekNumber = t;
1825
- }
1826
- }
1827
- function ua(e) {
1828
- return y.createElement("button", { ...e });
1829
- }
1830
- function fa(e) {
1831
- return y.createElement("span", { ...e });
1832
- }
1833
- function la(e) {
1834
- const { size: t = 24, orientation: n = "left", className: r } = e;
1835
- return (
1836
- // biome-ignore lint/a11y/noSvgWithoutTitle: handled by the parent component
1837
- y.createElement(
1838
- "svg",
1839
- { className: r, width: t, height: t, viewBox: "0 0 24 24" },
1840
- n === "up" && y.createElement("polygon", { points: "6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28" }),
1841
- n === "down" && y.createElement("polygon", { points: "6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72" }),
1842
- n === "left" && y.createElement("polygon", { points: "16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20" }),
1843
- n === "right" && y.createElement("polygon", { points: "8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20" })
1844
- )
1845
- );
1846
- }
1847
- function ha(e) {
1848
- const { day: t, modifiers: n, ...r } = e;
1849
- return y.createElement("td", { ...r });
1850
- }
1851
- function ma(e) {
1852
- const { day: t, modifiers: n, ...r } = e, a = y.useRef(null);
1853
- return y.useEffect(() => {
1854
- var s;
1855
- n.focused && ((s = a.current) == null || s.focus());
1856
- }, [n.focused]), y.createElement("button", { ref: a, ...r });
1857
- }
1858
- var m;
1859
- (function(e) {
1860
- e.Root = "root", e.Chevron = "chevron", e.Day = "day", e.DayButton = "day_button", e.CaptionLabel = "caption_label", e.Dropdowns = "dropdowns", e.Dropdown = "dropdown", e.DropdownRoot = "dropdown_root", e.Footer = "footer", e.MonthGrid = "month_grid", e.MonthCaption = "month_caption", e.MonthsDropdown = "months_dropdown", e.Month = "month", e.Months = "months", e.Nav = "nav", e.NextMonthButton = "button_next", e.PreviousMonthButton = "button_previous", e.Week = "week", e.Weeks = "weeks", e.Weekday = "weekday", e.Weekdays = "weekdays", e.WeekNumber = "week_number", e.WeekNumberHeader = "week_number_header", e.YearsDropdown = "years_dropdown";
1861
- })(m || (m = {}));
1862
- var T;
1863
- (function(e) {
1864
- e.disabled = "disabled", e.hidden = "hidden", e.outside = "outside", e.focused = "focused", e.today = "today";
1865
- })(T || (T = {}));
1866
- var A;
1867
- (function(e) {
1868
- e.range_end = "range_end", e.range_middle = "range_middle", e.range_start = "range_start", e.selected = "selected";
1869
- })(A || (A = {}));
1870
- var q;
1871
- (function(e) {
1872
- e.weeks_before_enter = "weeks_before_enter", e.weeks_before_exit = "weeks_before_exit", e.weeks_after_enter = "weeks_after_enter", e.weeks_after_exit = "weeks_after_exit", e.caption_after_enter = "caption_after_enter", e.caption_after_exit = "caption_after_exit", e.caption_before_enter = "caption_before_enter", e.caption_before_exit = "caption_before_exit";
1873
- })(q || (q = {}));
1874
- function ya(e) {
1875
- const { options: t, className: n, components: r, classNames: a, ...s } = e, o = [a[m.Dropdown], n].join(" "), i = t == null ? void 0 : t.find(({ value: d }) => d === s.value);
1876
- return y.createElement(
1877
- "span",
1878
- { "data-disabled": s.disabled, className: a[m.DropdownRoot] },
1879
- y.createElement(r.Select, { className: o, ...s }, t == null ? void 0 : t.map(({ value: d, label: c, disabled: u }) => y.createElement(r.Option, { key: d, value: d, disabled: u }, c))),
1880
- y.createElement(
1881
- "span",
1882
- { className: a[m.CaptionLabel], "aria-hidden": !0 },
1883
- i == null ? void 0 : i.label,
1884
- y.createElement(r.Chevron, { orientation: "down", size: 18, className: a[m.Chevron] })
1885
- )
1886
- );
1887
- }
1888
- function ga(e) {
1889
- return y.createElement("div", { ...e });
1890
- }
1891
- function ba(e) {
1892
- return y.createElement("div", { ...e });
1893
- }
1894
- function Ma(e) {
1895
- const { calendarMonth: t, displayIndex: n, ...r } = e;
1896
- return y.createElement("div", { ...r }, e.children);
1897
- }
1898
- function wa(e) {
1899
- const { calendarMonth: t, displayIndex: n, ...r } = e;
1900
- return y.createElement("div", { ...r });
1901
- }
1902
- function va(e) {
1903
- return y.createElement("table", { ...e });
1904
- }
1905
- function ka(e) {
1906
- return y.createElement("div", { ...e });
1907
- }
1908
- const jt = Yn(void 0);
1909
- function ke() {
1910
- const e = Tn(jt);
1911
- if (e === void 0)
1912
- throw new Error("useDayPicker() must be used within a custom component.");
1913
- return e;
1914
- }
1915
- function Da(e) {
1916
- const { components: t } = ke();
1917
- return y.createElement(t.Dropdown, { ...e });
1918
- }
1919
- function Oa(e) {
1920
- const { onPreviousClick: t, onNextClick: n, previousMonth: r, nextMonth: a, ...s } = e, { components: o, classNames: i, labels: { labelPrevious: d, labelNext: c } } = ke(), u = R((h) => {
1921
- a && (n == null || n(h));
1922
- }, [a, n]), f = R((h) => {
1923
- r && (t == null || t(h));
1924
- }, [r, t]);
1925
- return y.createElement(
1926
- "nav",
1927
- { ...s },
1928
- y.createElement(
1929
- o.PreviousMonthButton,
1930
- { type: "button", className: i[m.PreviousMonthButton], tabIndex: r ? void 0 : -1, "aria-disabled": r ? void 0 : !0, "aria-label": d(r), onClick: f },
1931
- y.createElement(o.Chevron, { disabled: r ? void 0 : !0, className: i[m.Chevron], orientation: "left" })
1932
- ),
1933
- y.createElement(
1934
- o.NextMonthButton,
1935
- { type: "button", className: i[m.NextMonthButton], tabIndex: a ? void 0 : -1, "aria-disabled": a ? void 0 : !0, "aria-label": c(a), onClick: u },
1936
- y.createElement(o.Chevron, { disabled: a ? void 0 : !0, orientation: "right", className: i[m.Chevron] })
1937
- )
1938
- );
1939
- }
1940
- function pa(e) {
1941
- const { components: t } = ke();
1942
- return y.createElement(t.Button, { ...e });
1943
- }
1944
- function Wa(e) {
1945
- return y.createElement("option", { ...e });
1946
- }
1947
- function Sa(e) {
1948
- const { components: t } = ke();
1949
- return y.createElement(t.Button, { ...e });
1950
- }
1951
- function Na(e) {
1952
- const { rootRef: t, ...n } = e;
1953
- return y.createElement("div", { ...n, ref: t });
1954
- }
1955
- function Ca(e) {
1956
- return y.createElement("select", { ...e });
1957
- }
1958
- function xa(e) {
1959
- const { week: t, ...n } = e;
1960
- return y.createElement("tr", { ...n });
1961
- }
1962
- function _a(e) {
1963
- return y.createElement("th", { ...e });
1964
- }
1965
- function Ya(e) {
1966
- return y.createElement(
1967
- "thead",
1968
- { "aria-hidden": !0 },
1969
- y.createElement("tr", { ...e })
1970
- );
1971
- }
1972
- function Ta(e) {
1973
- const { week: t, ...n } = e;
1974
- return y.createElement("th", { ...n });
1975
- }
1976
- function Pa(e) {
1977
- return y.createElement("th", { ...e });
1978
- }
1979
- function Ea(e) {
1980
- return y.createElement("tbody", { ...e });
1981
- }
1982
- function Fa(e) {
1983
- const { components: t } = ke();
1984
- return y.createElement(t.Dropdown, { ...e });
1985
- }
1986
- const Ba = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1987
- __proto__: null,
1988
- Button: ua,
1989
- CaptionLabel: fa,
1990
- Chevron: la,
1991
- Day: ha,
1992
- DayButton: ma,
1993
- Dropdown: ya,
1994
- DropdownNav: ga,
1995
- Footer: ba,
1996
- Month: Ma,
1997
- MonthCaption: wa,
1998
- MonthGrid: va,
1999
- Months: ka,
2000
- MonthsDropdown: Da,
2001
- Nav: Oa,
2002
- NextMonthButton: pa,
2003
- Option: Wa,
2004
- PreviousMonthButton: Sa,
2005
- Root: Na,
2006
- Select: Ca,
2007
- Week: xa,
2008
- WeekNumber: Ta,
2009
- WeekNumberHeader: Pa,
2010
- Weekday: _a,
2011
- Weekdays: Ya,
2012
- Weeks: Ea,
2013
- YearsDropdown: Fa
2014
- }, Symbol.toStringTag, { value: "Module" }));
2015
- function te(e, t, n = !1, r = Z) {
2016
- let { from: a, to: s } = e;
2017
- const { differenceInCalendarDays: o, isSameDay: i } = r;
2018
- return a && s ? (o(s, a) < 0 && ([a, s] = [s, a]), o(t, a) >= (n ? 1 : 0) && o(s, t) >= (n ? 1 : 0)) : !n && s ? i(s, t) : !n && a ? i(a, t) : !1;
2019
- }
2020
- function et(e) {
2021
- return !!(e && typeof e == "object" && "before" in e && "after" in e);
2022
- }
2023
- function Ye(e) {
2024
- return !!(e && typeof e == "object" && "from" in e);
2025
- }
2026
- function tt(e) {
2027
- return !!(e && typeof e == "object" && "after" in e);
2028
- }
2029
- function nt(e) {
2030
- return !!(e && typeof e == "object" && "before" in e);
2031
- }
2032
- function $t(e) {
2033
- return !!(e && typeof e == "object" && "dayOfWeek" in e);
2034
- }
2035
- function Gt(e, t) {
2036
- return Array.isArray(e) && e.every(t.isDate);
2037
- }
2038
- function ne(e, t, n = Z) {
2039
- const r = Array.isArray(t) ? t : [t], { isSameDay: a, differenceInCalendarDays: s, isAfter: o } = n;
2040
- return r.some((i) => {
2041
- if (typeof i == "boolean")
2042
- return i;
2043
- if (n.isDate(i))
2044
- return a(e, i);
2045
- if (Gt(i, n))
2046
- return i.some((d) => a(e, d));
2047
- if (Ye(i))
2048
- return te(i, e, !1, n);
2049
- if ($t(i))
2050
- return Array.isArray(i.dayOfWeek) ? i.dayOfWeek.includes(e.getDay()) : i.dayOfWeek === e.getDay();
2051
- if (et(i)) {
2052
- const d = s(i.before, e), c = s(i.after, e), u = d > 0, f = c < 0;
2053
- return o(i.before, i.after) ? f && u : u || f;
2054
- }
2055
- return tt(i) ? s(e, i.after) > 0 : nt(i) ? s(i.before, e) > 0 : typeof i == "function" ? i(e) : !1;
2056
- });
2057
- }
2058
- function Ia(e, t, n, r, a) {
2059
- const { disabled: s, hidden: o, modifiers: i, showOutsideDays: d, broadcastCalendar: c, today: u = a.today() } = t, { isSameDay: f, isSameMonth: h, startOfMonth: g, isBefore: D, endOfMonth: p, isAfter: k } = a, N = n && g(n), M = r && p(r), b = {
2060
- [T.focused]: [],
2061
- [T.outside]: [],
2062
- [T.disabled]: [],
2063
- [T.hidden]: [],
2064
- [T.today]: []
2065
- }, W = {};
2066
- for (const v of e) {
2067
- const { date: l, displayMonth: S } = v, E = !!(S && !h(l, S)), B = !!(N && D(l, N)), F = !!(M && k(l, M)), $ = !!(s && ne(l, s, a)), re = !!(o && ne(l, o, a)) || B || F || // Broadcast calendar will show outside days as default
2068
- !c && !d && E || c && d === !1 && E, L = f(l, u);
2069
- E && b.outside.push(v), $ && b.disabled.push(v), re && b.hidden.push(v), L && b.today.push(v), i && Object.keys(i).forEach((G) => {
2070
- const de = i == null ? void 0 : i[G];
2071
- de && ne(l, de, a) && (W[G] ? W[G].push(v) : W[G] = [v]);
2072
- });
2073
- }
2074
- return (v) => {
2075
- const l = {
2076
- [T.focused]: !1,
2077
- [T.disabled]: !1,
2078
- [T.hidden]: !1,
2079
- [T.outside]: !1,
2080
- [T.today]: !1
2081
- }, S = {};
2082
- for (const E in b) {
2083
- const B = b[E];
2084
- l[E] = B.some((F) => F === v);
2085
- }
2086
- for (const E in W)
2087
- S[E] = W[E].some((B) => B === v);
2088
- return {
2089
- ...l,
2090
- // custom modifiers should override all the previous ones
2091
- ...S
2092
- };
2093
- };
2094
- }
2095
- function Ha(e, t, n = {}) {
2096
- return Object.entries(e).filter(([, a]) => a === !0).reduce((a, [s]) => (n[s] ? a.push(n[s]) : t[T[s]] ? a.push(t[T[s]]) : t[A[s]] && a.push(t[A[s]]), a), [t[m.Day]]);
2097
- }
2098
- function Aa(e) {
2099
- return {
2100
- ...Ba,
2101
- ...e
2102
- };
2103
- }
2104
- function za(e) {
2105
- const t = {
2106
- "data-mode": e.mode ?? void 0,
2107
- "data-required": "required" in e ? e.required : void 0,
2108
- "data-multiple-months": e.numberOfMonths && e.numberOfMonths > 1 || void 0,
2109
- "data-week-numbers": e.showWeekNumber || void 0,
2110
- "data-broadcast-calendar": e.broadcastCalendar || void 0,
2111
- "data-nav-layout": e.navLayout || void 0
2112
- };
2113
- return Object.entries(e).forEach(([n, r]) => {
2114
- n.startsWith("data-") && (t[n] = r);
2115
- }), t;
2116
- }
2117
- function qa() {
2118
- const e = {};
2119
- for (const t in m)
2120
- e[m[t]] = `rdp-${m[t]}`;
2121
- for (const t in T)
2122
- e[T[t]] = `rdp-${T[t]}`;
2123
- for (const t in A)
2124
- e[A[t]] = `rdp-${A[t]}`;
2125
- for (const t in q)
2126
- e[q[t]] = `rdp-${q[t]}`;
2127
- return e;
2128
- }
2129
- function Rt(e, t, n) {
2130
- return (n ?? new j(t)).formatMonthYear(e);
2131
- }
2132
- const ja = Rt;
2133
- function $a(e, t, n) {
2134
- return (n ?? new j(t)).format(e, "d");
2135
- }
2136
- function Ga(e, t = Z) {
2137
- return t.format(e, "LLLL");
2138
- }
2139
- function Ra(e, t, n) {
2140
- return (n ?? new j(t)).format(e, "cccccc");
2141
- }
2142
- function Va(e, t = Z) {
2143
- return e < 10 ? t.formatNumber(`0${e.toLocaleString()}`) : t.formatNumber(`${e.toLocaleString()}`);
2144
- }
2145
- function Ua() {
2146
- return "";
2147
- }
2148
- function Vt(e, t = Z) {
2149
- return t.format(e, "yyyy");
2150
- }
2151
- const Qa = Vt, Xa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2152
- __proto__: null,
2153
- formatCaption: Rt,
2154
- formatDay: $a,
2155
- formatMonthCaption: ja,
2156
- formatMonthDropdown: Ga,
2157
- formatWeekNumber: Va,
2158
- formatWeekNumberHeader: Ua,
2159
- formatWeekdayName: Ra,
2160
- formatYearCaption: Qa,
2161
- formatYearDropdown: Vt
2162
- }, Symbol.toStringTag, { value: "Module" }));
2163
- function Ka(e) {
2164
- return e != null && e.formatMonthCaption && !e.formatCaption && (e.formatCaption = e.formatMonthCaption), e != null && e.formatYearCaption && !e.formatYearDropdown && (e.formatYearDropdown = e.formatYearCaption), {
2165
- ...Xa,
2166
- ...e
2167
- };
2168
- }
2169
- function rt(e, t, n, r) {
2170
- let a = (r ?? new j(n)).format(e, "PPPP");
2171
- return t.today && (a = `Today, ${a}`), t.selected && (a = `${a}, selected`), a;
2172
- }
2173
- const Ja = rt;
2174
- function at(e, t, n) {
2175
- return (n ?? new j(t)).formatMonthYear(e);
2176
- }
2177
- const Za = at;
2178
- function Ut(e, t, n, r) {
2179
- let a = (r ?? new j(n)).format(e, "PPPP");
2180
- return t != null && t.today && (a = `Today, ${a}`), a;
2181
- }
2182
- function Qt(e) {
2183
- return "Choose the Month";
2184
- }
2185
- function Xt() {
2186
- return "";
2187
- }
2188
- const La = "Go to the Next Month";
2189
- function Kt(e, t) {
2190
- return La;
2191
- }
2192
- function Jt(e) {
2193
- return "Go to the Previous Month";
2194
- }
2195
- function Zt(e, t, n) {
2196
- return (n ?? new j(t)).format(e, "cccc");
2197
- }
2198
- function Lt(e, t) {
2199
- return `Week ${e}`;
2200
- }
2201
- function en(e) {
2202
- return "Week Number";
2203
- }
2204
- function tn(e) {
2205
- return "Choose the Year";
2206
- }
2207
- const es = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2208
- __proto__: null,
2209
- labelCaption: Za,
2210
- labelDay: Ja,
2211
- labelDayButton: rt,
2212
- labelGrid: at,
2213
- labelGridcell: Ut,
2214
- labelMonthDropdown: Qt,
2215
- labelNav: Xt,
2216
- labelNext: Kt,
2217
- labelPrevious: Jt,
2218
- labelWeekNumber: Lt,
2219
- labelWeekNumberHeader: en,
2220
- labelWeekday: Zt,
2221
- labelYearDropdown: tn
2222
- }, Symbol.toStringTag, { value: "Module" })), X = (e, t, n) => t || (n ? typeof n == "function" ? n : (...r) => n : e);
2223
- function ts(e, t) {
2224
- var r;
2225
- const n = ((r = t.locale) == null ? void 0 : r.labels) ?? {};
2226
- return {
2227
- ...es,
2228
- ...e ?? {},
2229
- labelDayButton: X(rt, e == null ? void 0 : e.labelDayButton, n.labelDayButton),
2230
- labelMonthDropdown: X(Qt, e == null ? void 0 : e.labelMonthDropdown, n.labelMonthDropdown),
2231
- labelNext: X(Kt, e == null ? void 0 : e.labelNext, n.labelNext),
2232
- labelPrevious: X(Jt, e == null ? void 0 : e.labelPrevious, n.labelPrevious),
2233
- labelWeekNumber: X(Lt, e == null ? void 0 : e.labelWeekNumber, n.labelWeekNumber),
2234
- labelYearDropdown: X(tn, e == null ? void 0 : e.labelYearDropdown, n.labelYearDropdown),
2235
- labelGrid: X(at, e == null ? void 0 : e.labelGrid, n.labelGrid),
2236
- labelGridcell: X(Ut, e == null ? void 0 : e.labelGridcell, n.labelGridcell),
2237
- labelNav: X(Xt, e == null ? void 0 : e.labelNav, n.labelNav),
2238
- labelWeekNumberHeader: X(en, e == null ? void 0 : e.labelWeekNumberHeader, n.labelWeekNumberHeader),
2239
- labelWeekday: X(Zt, e == null ? void 0 : e.labelWeekday, n.labelWeekday)
2240
- };
2241
- }
2242
- function ns(e, t, n, r, a) {
2243
- const { startOfMonth: s, startOfYear: o, endOfYear: i, eachMonthOfInterval: d, getMonth: c } = a;
2244
- return d({
2245
- start: o(e),
2246
- end: i(e)
2247
- }).map((h) => {
2248
- const g = r.formatMonthDropdown(h, a), D = c(h), p = t && h < s(t) || n && h > s(n) || !1;
2249
- return { value: D, label: g, disabled: p };
2250
- });
2251
- }
2252
- function rs(e, t = {}, n = {}) {
2253
- let r = { ...t == null ? void 0 : t[m.Day] };
2254
- return Object.entries(e).filter(([, a]) => a === !0).forEach(([a]) => {
2255
- r = {
2256
- ...r,
2257
- ...n == null ? void 0 : n[a]
2258
- };
2259
- }), r;
2260
- }
2261
- function as(e, t, n, r) {
2262
- const a = r ?? e.today(), s = n ? e.startOfBroadcastWeek(a, e) : t ? e.startOfISOWeek(a) : e.startOfWeek(a), o = [];
2263
- for (let i = 0; i < 7; i++) {
2264
- const d = e.addDays(s, i);
2265
- o.push(d);
2266
- }
2267
- return o;
2268
- }
2269
- function ss(e, t, n, r, a = !1) {
2270
- if (!e || !t)
2271
- return;
2272
- const { startOfYear: s, endOfYear: o, eachYearOfInterval: i, getYear: d } = r, c = s(e), u = o(t), f = i({ start: c, end: u });
2273
- return a && f.reverse(), f.map((h) => {
2274
- const g = n.formatYearDropdown(h, r);
2275
- return {
2276
- value: d(h),
2277
- label: g,
2278
- disabled: !1
2279
- };
2280
- });
2281
- }
2282
- function os(e, t = {}) {
2283
- var i;
2284
- const { weekStartsOn: n, locale: r } = t, a = n ?? ((i = r == null ? void 0 : r.options) == null ? void 0 : i.weekStartsOn) ?? 0, s = (d) => {
2285
- const c = typeof d == "number" || typeof d == "string" ? new Date(d) : d;
2286
- return new H(c.getFullYear(), c.getMonth(), c.getDate(), 12, 0, 0, e);
2287
- }, o = (d) => {
2288
- const c = s(d);
2289
- return new Date(c.getFullYear(), c.getMonth(), c.getDate(), 0, 0, 0, 0);
2290
- };
2291
- return {
2292
- today: () => s(H.tz(e)),
2293
- newDate: (d, c, u) => new H(d, c, u, 12, 0, 0, e),
2294
- startOfDay: (d) => s(d),
2295
- startOfWeek: (d, c) => {
2296
- const u = s(d), f = (c == null ? void 0 : c.weekStartsOn) ?? a, h = (u.getDay() - f + 7) % 7;
2297
- return u.setDate(u.getDate() - h), u;
2298
- },
2299
- startOfISOWeek: (d) => {
2300
- const c = s(d), u = (c.getDay() - 1 + 7) % 7;
2301
- return c.setDate(c.getDate() - u), c;
2302
- },
2303
- startOfMonth: (d) => {
2304
- const c = s(d);
2305
- return c.setDate(1), c;
2306
- },
2307
- startOfYear: (d) => {
2308
- const c = s(d);
2309
- return c.setMonth(0, 1), c;
2310
- },
2311
- endOfWeek: (d, c) => {
2312
- const u = s(d), g = ((((c == null ? void 0 : c.weekStartsOn) ?? a) + 6) % 7 - u.getDay() + 7) % 7;
2313
- return u.setDate(u.getDate() + g), u;
2314
- },
2315
- endOfISOWeek: (d) => {
2316
- const c = s(d), u = (7 - c.getDay()) % 7;
2317
- return c.setDate(c.getDate() + u), c;
2318
- },
2319
- endOfMonth: (d) => {
2320
- const c = s(d);
2321
- return c.setMonth(c.getMonth() + 1, 0), c;
2322
- },
2323
- endOfYear: (d) => {
2324
- const c = s(d);
2325
- return c.setMonth(11, 31), c;
2326
- },
2327
- eachMonthOfInterval: (d) => {
2328
- const c = s(d.start), u = s(d.end), f = [], h = new H(c.getFullYear(), c.getMonth(), 1, 12, 0, 0, e), g = u.getFullYear() * 12 + u.getMonth();
2329
- for (; h.getFullYear() * 12 + h.getMonth() <= g; )
2330
- f.push(new H(h, e)), h.setMonth(h.getMonth() + 1, 1);
2331
- return f;
2332
- },
2333
- // Normalize to noon once before arithmetic (avoid DST/midnight edge cases),
2334
- // mutate the same TZDate, and return it.
2335
- addDays: (d, c) => {
2336
- const u = s(d);
2337
- return u.setDate(u.getDate() + c), u;
2338
- },
2339
- addWeeks: (d, c) => {
2340
- const u = s(d);
2341
- return u.setDate(u.getDate() + c * 7), u;
2342
- },
2343
- addMonths: (d, c) => {
2344
- const u = s(d);
2345
- return u.setMonth(u.getMonth() + c), u;
2346
- },
2347
- addYears: (d, c) => {
2348
- const u = s(d);
2349
- return u.setFullYear(u.getFullYear() + c), u;
2350
- },
2351
- eachYearOfInterval: (d) => {
2352
- const c = s(d.start), u = s(d.end), f = [], h = new H(c.getFullYear(), 0, 1, 12, 0, 0, e);
2353
- for (; h.getFullYear() <= u.getFullYear(); )
2354
- f.push(new H(h, e)), h.setFullYear(h.getFullYear() + 1, 0, 1);
2355
- return f;
2356
- },
2357
- getWeek: (d, c) => {
2358
- var f;
2359
- const u = o(d);
2360
- return Le(u, {
2361
- weekStartsOn: (c == null ? void 0 : c.weekStartsOn) ?? a,
2362
- firstWeekContainsDate: (c == null ? void 0 : c.firstWeekContainsDate) ?? ((f = r == null ? void 0 : r.options) == null ? void 0 : f.firstWeekContainsDate) ?? 1
2363
- });
2364
- },
2365
- getISOWeek: (d) => {
2366
- const c = o(d);
2367
- return Ze(c);
2368
- },
2369
- differenceInCalendarDays: (d, c) => {
2370
- const u = o(d), f = o(c);
2371
- return Je(u, f);
2372
- },
2373
- differenceInCalendarMonths: (d, c) => {
2374
- const u = o(d), f = o(c);
2375
- return Pt(u, f);
2376
- }
2377
- };
2378
- }
2379
- const De = (e) => e instanceof HTMLElement ? e : null, je = (e) => [
2380
- ...e.querySelectorAll("[data-animated-month]") ?? []
2381
- ], is = (e) => De(e.querySelector("[data-animated-month]")), $e = (e) => De(e.querySelector("[data-animated-caption]")), Ge = (e) => De(e.querySelector("[data-animated-weeks]")), ds = (e) => De(e.querySelector("[data-animated-nav]")), cs = (e) => De(e.querySelector("[data-animated-weekdays]"));
2382
- function us(e, t, { classNames: n, months: r, focused: a, dateLib: s }) {
2383
- const o = Ne(null), i = Ne(r), d = Ne(!1);
2384
- Pn(() => {
2385
- const c = i.current;
2386
- if (i.current = r, !t || !e.current || // safety check because the ref can be set to anything by consumers
2387
- !(e.current instanceof HTMLElement) || // validation required for the animation to work as expected
2388
- r.length === 0 || c.length === 0 || r.length !== c.length)
2389
- return;
2390
- const u = s.isSameMonth(r[0].date, c[0].date), f = s.isAfter(r[0].date, c[0].date), h = f ? n[q.caption_after_enter] : n[q.caption_before_enter], g = f ? n[q.weeks_after_enter] : n[q.weeks_before_enter], D = o.current, p = e.current.cloneNode(!0);
2391
- if (p instanceof HTMLElement ? (je(p).forEach((b) => {
2392
- if (!(b instanceof HTMLElement))
2393
- return;
2394
- const W = is(b);
2395
- W && b.contains(W) && b.removeChild(W);
2396
- const v = $e(b);
2397
- v && v.classList.remove(h);
2398
- const l = Ge(b);
2399
- l && l.classList.remove(g);
2400
- }), o.current = p) : o.current = null, d.current || u || // skip animation if a day is focused because it can cause issues to the animation and is better for a11y
2401
- a)
2402
- return;
2403
- const k = D instanceof HTMLElement ? je(D) : [], N = je(e.current);
2404
- if (N != null && N.every((M) => M instanceof HTMLElement) && k && k.every((M) => M instanceof HTMLElement)) {
2405
- d.current = !0, e.current.style.isolation = "isolate";
2406
- const M = ds(e.current);
2407
- M && (M.style.zIndex = "1"), N.forEach((b, W) => {
2408
- const v = k[W];
2409
- if (!v)
2410
- return;
2411
- b.style.position = "relative", b.style.overflow = "hidden";
2412
- const l = $e(b);
2413
- l && l.classList.add(h);
2414
- const S = Ge(b);
2415
- S && S.classList.add(g);
2416
- const E = () => {
2417
- d.current = !1, e.current && (e.current.style.isolation = ""), M && (M.style.zIndex = ""), l && l.classList.remove(h), S && S.classList.remove(g), b.style.position = "", b.style.overflow = "", b.contains(v) && b.removeChild(v);
2418
- };
2419
- v.style.pointerEvents = "none", v.style.position = "absolute", v.style.overflow = "hidden", v.setAttribute("aria-hidden", "true");
2420
- const B = cs(v);
2421
- B && (B.style.opacity = "0");
2422
- const F = $e(v);
2423
- F && (F.classList.add(f ? n[q.caption_before_exit] : n[q.caption_after_exit]), F.addEventListener("animationend", E));
2424
- const $ = Ge(v);
2425
- $ && $.classList.add(f ? n[q.weeks_before_exit] : n[q.weeks_after_exit]), b.insertBefore(v, b.firstChild);
2426
- });
2427
- }
2428
- });
2429
- }
2430
- function fs(e, t, n, r) {
2431
- const a = e[0], s = e[e.length - 1], { ISOWeek: o, fixedWeeks: i, broadcastCalendar: d } = n ?? {}, { addDays: c, differenceInCalendarDays: u, differenceInCalendarMonths: f, endOfBroadcastWeek: h, endOfISOWeek: g, endOfMonth: D, endOfWeek: p, isAfter: k, startOfBroadcastWeek: N, startOfISOWeek: M, startOfWeek: b } = r, W = d ? N(a, r) : o ? M(a) : b(a), v = d ? h(s) : o ? g(D(s)) : p(D(s)), l = t && (d ? h(t) : o ? g(t) : p(t)), S = l && k(v, l) ? l : v, E = u(S, W), B = f(s, a) + 1, F = [];
2432
- for (let L = 0; L <= E; L++) {
2433
- const G = c(W, L);
2434
- F.push(G);
2435
- }
2436
- const re = (d ? 35 : 42) * B;
2437
- if (i && F.length < re) {
2438
- const L = re - F.length;
2439
- for (let G = 0; G < L; G++) {
2440
- const de = c(F[F.length - 1], 1);
2441
- F.push(de);
2442
- }
2443
- }
2444
- return F;
2445
- }
2446
- function ls(e) {
2447
- const t = [];
2448
- return e.reduce((n, r) => {
2449
- const a = r.weeks.reduce((s, o) => s.concat(o.days.slice()), t.slice());
2450
- return n.concat(a.slice());
2451
- }, t.slice());
2452
- }
2453
- function hs(e, t, n, r) {
2454
- const { numberOfMonths: a = 1 } = n, s = [];
2455
- for (let o = 0; o < a; o++) {
2456
- const i = r.addMonths(e, o);
2457
- if (t && i > t)
2458
- break;
2459
- s.push(i);
2460
- }
2461
- return s;
2462
- }
2463
- function vt(e, t, n, r) {
2464
- const { month: a, defaultMonth: s, today: o = r.today(), numberOfMonths: i = 1 } = e;
2465
- let d = a || s || o;
2466
- const { differenceInCalendarMonths: c, addMonths: u, startOfMonth: f } = r;
2467
- if (n && c(n, d) < i - 1) {
2468
- const h = -1 * (i - 1);
2469
- d = u(n, h);
2470
- }
2471
- return t && c(d, t) < 0 && (d = t), f(d);
2472
- }
2473
- function ms(e, t, n, r) {
2474
- const { addDays: a, endOfBroadcastWeek: s, endOfISOWeek: o, endOfMonth: i, endOfWeek: d, getISOWeek: c, getWeek: u, startOfBroadcastWeek: f, startOfISOWeek: h, startOfWeek: g } = r, D = e.reduce((p, k) => {
2475
- const N = n.broadcastCalendar ? f(k, r) : n.ISOWeek ? h(k) : g(k), M = n.broadcastCalendar ? s(k) : n.ISOWeek ? o(i(k)) : d(i(k)), b = t.filter((S) => S >= N && S <= M), W = n.broadcastCalendar ? 35 : 42;
2476
- if (n.fixedWeeks && b.length < W) {
2477
- const S = t.filter((E) => {
2478
- const B = W - b.length;
2479
- return E > M && E <= a(M, B);
2480
- });
2481
- b.push(...S);
2482
- }
2483
- const v = b.reduce((S, E) => {
2484
- const B = n.ISOWeek ? c(E) : u(E), F = S.find((re) => re.weekNumber === B), $ = new qt(E, k, r);
2485
- return F ? F.days.push($) : S.push(new ca(B, [$])), S;
2486
- }, []), l = new da(k, v);
2487
- return p.push(l), p;
2488
- }, []);
2489
- return n.reverseMonths ? D.reverse() : D;
2490
- }
2491
- function ys(e, t) {
2492
- let { startMonth: n, endMonth: r } = e;
2493
- const { startOfYear: a, startOfDay: s, startOfMonth: o, endOfMonth: i, addYears: d, endOfYear: c, newDate: u, today: f } = t, { fromYear: h, toYear: g, fromMonth: D, toMonth: p } = e;
2494
- !n && D && (n = D), !n && h && (n = t.newDate(h, 0, 1)), !r && p && (r = p), !r && g && (r = u(g, 11, 31));
2495
- const k = e.captionLayout === "dropdown" || e.captionLayout === "dropdown-years";
2496
- return n ? n = o(n) : h ? n = u(h, 0, 1) : !n && k && (n = a(d(e.today ?? f(), -100))), r ? r = i(r) : g ? r = u(g, 11, 31) : !r && k && (r = c(e.today ?? f())), [
2497
- n && s(n),
2498
- r && s(r)
2499
- ];
2500
- }
2501
- function gs(e, t, n, r) {
2502
- if (n.disableNavigation)
2503
- return;
2504
- const { pagedNavigation: a, numberOfMonths: s = 1 } = n, { startOfMonth: o, addMonths: i, differenceInCalendarMonths: d } = r, c = a ? s : 1, u = o(e);
2505
- if (!t)
2506
- return i(u, c);
2507
- if (!(d(t, e) < s))
2508
- return i(u, c);
2509
- }
2510
- function bs(e, t, n, r) {
2511
- if (n.disableNavigation)
2512
- return;
2513
- const { pagedNavigation: a, numberOfMonths: s } = n, { startOfMonth: o, addMonths: i, differenceInCalendarMonths: d } = r, c = a ? s ?? 1 : 1, u = o(e);
2514
- if (!t)
2515
- return i(u, -c);
2516
- if (!(d(u, t) <= 0))
2517
- return i(u, -c);
2518
- }
2519
- function Ms(e) {
2520
- const t = [];
2521
- return e.reduce((n, r) => n.concat(r.weeks.slice()), t.slice());
2522
- }
2523
- function Te(e, t) {
2524
- const [n, r] = xe(e);
2525
- return [t === void 0 ? n : t, r];
2526
- }
2527
- function ws(e, t) {
2528
- var W;
2529
- const [n, r] = ys(e, t), { startOfMonth: a, endOfMonth: s } = t, o = vt(e, n, r, t), [i, d] = Te(
2530
- o,
2531
- // initialMonth is always computed from props.month if provided
2532
- e.month ? o : void 0
2533
- );
2534
- St(() => {
2535
- const v = vt(e, n, r, t);
2536
- d(v);
2537
- }, [e.timeZone]);
2538
- const { months: c, weeks: u, days: f, previousMonth: h, nextMonth: g } = Ce(() => {
2539
- const v = hs(i, r, { numberOfMonths: e.numberOfMonths }, t), l = fs(v, e.endMonth ? s(e.endMonth) : void 0, {
2540
- ISOWeek: e.ISOWeek,
2541
- fixedWeeks: e.fixedWeeks,
2542
- broadcastCalendar: e.broadcastCalendar
2543
- }, t), S = ms(v, l, {
2544
- broadcastCalendar: e.broadcastCalendar,
2545
- fixedWeeks: e.fixedWeeks,
2546
- ISOWeek: e.ISOWeek,
2547
- reverseMonths: e.reverseMonths
2548
- }, t), E = Ms(S), B = ls(S), F = bs(i, n, e, t), $ = gs(i, r, e, t);
2549
- return {
2550
- months: S,
2551
- weeks: E,
2552
- days: B,
2553
- previousMonth: F,
2554
- nextMonth: $
2555
- };
2556
- }, [
2557
- t,
2558
- i.getTime(),
2559
- r == null ? void 0 : r.getTime(),
2560
- n == null ? void 0 : n.getTime(),
2561
- e.disableNavigation,
2562
- e.broadcastCalendar,
2563
- (W = e.endMonth) == null ? void 0 : W.getTime(),
2564
- e.fixedWeeks,
2565
- e.ISOWeek,
2566
- e.numberOfMonths,
2567
- e.pagedNavigation,
2568
- e.reverseMonths
2569
- ]), { disableNavigation: D, onMonthChange: p } = e, k = (v) => u.some((l) => l.days.some((S) => S.isEqualTo(v))), N = (v) => {
2570
- if (D)
2571
- return;
2572
- let l = a(v);
2573
- n && l < a(n) && (l = a(n)), r && l > a(r) && (l = a(r)), d(l), p == null || p(l);
2574
- };
2575
- return {
2576
- months: c,
2577
- weeks: u,
2578
- days: f,
2579
- navStart: n,
2580
- navEnd: r,
2581
- previousMonth: h,
2582
- nextMonth: g,
2583
- goToMonth: N,
2584
- goToDay: (v) => {
2585
- k(v) || N(v.date);
2586
- }
2587
- };
2588
- }
2589
- var K;
2590
- (function(e) {
2591
- e[e.Today = 0] = "Today", e[e.Selected = 1] = "Selected", e[e.LastFocused = 2] = "LastFocused", e[e.FocusedModifier = 3] = "FocusedModifier";
2592
- })(K || (K = {}));
2593
- function kt(e) {
2594
- return !e[T.disabled] && !e[T.hidden] && !e[T.outside];
2595
- }
2596
- function vs(e, t, n, r) {
2597
- let a, s = -1;
2598
- for (const o of e) {
2599
- const i = t(o);
2600
- kt(i) && (i[T.focused] && s < K.FocusedModifier ? (a = o, s = K.FocusedModifier) : r != null && r.isEqualTo(o) && s < K.LastFocused ? (a = o, s = K.LastFocused) : n(o.date) && s < K.Selected ? (a = o, s = K.Selected) : i[T.today] && s < K.Today && (a = o, s = K.Today));
2601
- }
2602
- return a || (a = e.find((o) => kt(t(o)))), a;
2603
- }
2604
- function ks(e, t, n, r, a, s, o) {
2605
- const { ISOWeek: i, broadcastCalendar: d } = s, { addDays: c, addMonths: u, addWeeks: f, addYears: h, endOfBroadcastWeek: g, endOfISOWeek: D, endOfWeek: p, max: k, min: N, startOfBroadcastWeek: M, startOfISOWeek: b, startOfWeek: W } = o;
2606
- let l = {
2607
- day: c,
2608
- week: f,
2609
- month: u,
2610
- year: h,
2611
- startOfWeek: (S) => d ? M(S, o) : i ? b(S) : W(S),
2612
- endOfWeek: (S) => d ? g(S) : i ? D(S) : p(S)
2613
- }[e](n, t === "after" ? 1 : -1);
2614
- return t === "before" && r ? l = k([r, l]) : t === "after" && a && (l = N([a, l])), l;
2615
- }
2616
- function nn(e, t, n, r, a, s, o, i = 0) {
2617
- if (i > 365)
2618
- return;
2619
- const d = ks(e, t, n.date, r, a, s, o), c = !!(s.disabled && ne(d, s.disabled, o)), u = !!(s.hidden && ne(d, s.hidden, o)), f = d, h = new qt(d, f, o);
2620
- return !c && !u ? h : nn(e, t, h, r, a, s, o, i + 1);
2621
- }
2622
- function Ds(e, t, n, r, a) {
2623
- const { autoFocus: s } = e, [o, i] = xe(), d = vs(t.days, n, r || (() => !1), o), [c, u] = xe(s ? d : void 0);
2624
- return {
2625
- isFocusTarget: (p) => !!(d != null && d.isEqualTo(p)),
2626
- setFocused: u,
2627
- focused: c,
2628
- blur: () => {
2629
- i(c), u(void 0);
2630
- },
2631
- moveFocus: (p, k) => {
2632
- if (!c)
2633
- return;
2634
- const N = nn(p, k, c, t.navStart, t.navEnd, e, a);
2635
- N && (e.disableNavigation && !t.days.some((b) => b.isEqualTo(N)) || (t.goToDay(N), u(N)));
2636
- }
2637
- };
2638
- }
2639
- function Os(e, t) {
2640
- const { selected: n, required: r, onSelect: a } = e, [s, o] = Te(n, a ? n : void 0), i = a ? n : s, { isSameDay: d } = t, c = (g) => (i == null ? void 0 : i.some((D) => d(D, g))) ?? !1, { min: u, max: f } = e;
2641
- return {
2642
- selected: i,
2643
- select: (g, D, p) => {
2644
- let k = [...i ?? []];
2645
- if (c(g)) {
2646
- if ((i == null ? void 0 : i.length) === u || r && (i == null ? void 0 : i.length) === 1)
2647
- return;
2648
- k = i == null ? void 0 : i.filter((N) => !d(N, g));
2649
- } else
2650
- (i == null ? void 0 : i.length) === f ? k = [g] : k = [...k, g];
2651
- return a || o(k), a == null || a(k, g, D, p), k;
2652
- },
2653
- isSelected: c
2654
- };
2655
- }
2656
- function ps(e, t, n = 0, r = 0, a = !1, s = Z) {
2657
- const { from: o, to: i } = t || {}, { isSameDay: d, isAfter: c, isBefore: u } = s;
2658
- let f;
2659
- if (!o && !i)
2660
- f = { from: e, to: n > 0 ? void 0 : e };
2661
- else if (o && !i)
2662
- d(o, e) ? n === 0 ? f = { from: o, to: e } : a ? f = { from: o, to: void 0 } : f = void 0 : u(e, o) ? f = { from: e, to: o } : f = { from: o, to: e };
2663
- else if (o && i)
2664
- if (d(o, e) && d(i, e))
2665
- a ? f = { from: o, to: i } : f = void 0;
2666
- else if (d(o, e))
2667
- f = { from: o, to: n > 0 ? void 0 : e };
2668
- else if (d(i, e))
2669
- f = { from: e, to: n > 0 ? void 0 : e };
2670
- else if (u(e, o))
2671
- f = { from: e, to: i };
2672
- else if (c(e, o))
2673
- f = { from: o, to: e };
2674
- else if (c(e, i))
2675
- f = { from: o, to: e };
2676
- else
2677
- throw new Error("Invalid range");
2678
- if (f != null && f.from && (f != null && f.to)) {
2679
- const h = s.differenceInCalendarDays(f.to, f.from);
2680
- r > 0 && h > r ? f = { from: e, to: void 0 } : n > 1 && h < n && (f = { from: e, to: void 0 });
2681
- }
2682
- return f;
2683
- }
2684
- function Ws(e, t, n = Z) {
2685
- const r = Array.isArray(t) ? t : [t];
2686
- let a = e.from;
2687
- const s = n.differenceInCalendarDays(e.to, e.from), o = Math.min(s, 6);
2688
- for (let i = 0; i <= o; i++) {
2689
- if (r.includes(a.getDay()))
2690
- return !0;
2691
- a = n.addDays(a, 1);
2692
- }
2693
- return !1;
2694
- }
2695
- function Dt(e, t, n = Z) {
2696
- return te(e, t.from, !1, n) || te(e, t.to, !1, n) || te(t, e.from, !1, n) || te(t, e.to, !1, n);
2697
- }
2698
- function Ss(e, t, n = Z) {
2699
- const r = Array.isArray(t) ? t : [t];
2700
- if (r.filter((i) => typeof i != "function").some((i) => typeof i == "boolean" ? i : n.isDate(i) ? te(e, i, !1, n) : Gt(i, n) ? i.some((d) => te(e, d, !1, n)) : Ye(i) ? i.from && i.to ? Dt(e, { from: i.from, to: i.to }, n) : !1 : $t(i) ? Ws(e, i.dayOfWeek, n) : et(i) ? n.isAfter(i.before, i.after) ? Dt(e, {
2701
- from: n.addDays(i.after, 1),
2702
- to: n.addDays(i.before, -1)
2703
- }, n) : ne(e.from, i, n) || ne(e.to, i, n) : tt(i) || nt(i) ? ne(e.from, i, n) || ne(e.to, i, n) : !1))
2704
- return !0;
2705
- const o = r.filter((i) => typeof i == "function");
2706
- if (o.length) {
2707
- let i = e.from;
2708
- const d = n.differenceInCalendarDays(e.to, e.from);
2709
- for (let c = 0; c <= d; c++) {
2710
- if (o.some((u) => u(i)))
2711
- return !0;
2712
- i = n.addDays(i, 1);
2713
- }
2714
- }
2715
- return !1;
2716
- }
2717
- function Ns(e, t) {
2718
- const { disabled: n, excludeDisabled: r, resetOnSelect: a, selected: s, required: o, onSelect: i } = e, [d, c] = Te(s, i ? s : void 0), u = i ? s : d;
2719
- return {
2720
- selected: u,
2721
- select: (g, D, p) => {
2722
- const { min: k, max: N } = e;
2723
- let M;
2724
- if (g) {
2725
- const b = u == null ? void 0 : u.from, W = u == null ? void 0 : u.to, v = !!b && !!W, l = !!b && !!W && t.isSameDay(b, W) && t.isSameDay(g, b);
2726
- a && (v || !(u != null && u.from)) ? !o && l ? M = void 0 : M = { from: g, to: void 0 } : M = ps(g, u, k, N, o, t);
2727
- }
2728
- return r && n && (M != null && M.from) && M.to && Ss({ from: M.from, to: M.to }, n, t) && (M.from = g, M.to = void 0), i || c(M), i == null || i(M, g, D, p), M;
2729
- },
2730
- isSelected: (g) => u && te(u, g, !1, t)
2731
- };
2732
- }
2733
- function Cs(e, t) {
2734
- const { selected: n, required: r, onSelect: a } = e, [s, o] = Te(n, a ? n : void 0), i = a ? n : s, { isSameDay: d } = t;
2735
- return {
2736
- selected: i,
2737
- select: (f, h, g) => {
2738
- let D = f;
2739
- return !r && i && i && d(f, i) && (D = void 0), a || o(D), a == null || a(D, f, h, g), D;
2740
- },
2741
- isSelected: (f) => i ? d(i, f) : !1
2742
- };
2743
- }
2744
- function xs(e, t) {
2745
- const n = Cs(e, t), r = Os(e, t), a = Ns(e, t);
2746
- switch (e.mode) {
2747
- case "single":
2748
- return n;
2749
- case "multiple":
2750
- return r;
2751
- case "range":
2752
- return a;
2753
- default:
2754
- return;
2755
- }
2756
- }
2757
- function V(e, t) {
2758
- return e instanceof H && e.timeZone === t ? e : new H(e, t);
2759
- }
2760
- function ue(e, t, n) {
2761
- return V(e, t);
2762
- }
2763
- function Ot(e, t, n) {
2764
- return typeof e == "boolean" || typeof e == "function" ? e : e instanceof Date ? ue(e, t) : Array.isArray(e) ? e.map((r) => r instanceof Date ? ue(r, t) : r) : Ye(e) ? {
2765
- ...e,
2766
- from: e.from ? V(e.from, t) : e.from,
2767
- to: e.to ? V(e.to, t) : e.to
2768
- } : et(e) ? {
2769
- before: ue(e.before, t),
2770
- after: ue(e.after, t)
2771
- } : tt(e) ? {
2772
- after: ue(e.after, t)
2773
- } : nt(e) ? {
2774
- before: ue(e.before, t)
2775
- } : e;
2776
- }
2777
- function Re(e, t, n) {
2778
- return e && (Array.isArray(e) ? e.map((r) => Ot(r, t)) : Ot(e, t));
2779
- }
2780
- function As(e) {
2781
- var ut;
2782
- let t = e;
2783
- const n = t.timeZone;
2784
- if (n && (t = {
2785
- ...e,
2786
- timeZone: n
2787
- }, t.today && (t.today = V(t.today, n)), t.month && (t.month = V(t.month, n)), t.defaultMonth && (t.defaultMonth = V(t.defaultMonth, n)), t.startMonth && (t.startMonth = V(t.startMonth, n)), t.endMonth && (t.endMonth = V(t.endMonth, n)), t.mode === "single" && t.selected ? t.selected = V(t.selected, n) : t.mode === "multiple" && t.selected ? t.selected = (ut = t.selected) == null ? void 0 : ut.map((O) => V(O, n)) : t.mode === "range" && t.selected && (t.selected = {
2788
- from: t.selected.from ? V(t.selected.from, n) : t.selected.from,
2789
- to: t.selected.to ? V(t.selected.to, n) : t.selected.to
2790
- }), t.disabled !== void 0 && (t.disabled = Re(t.disabled, n)), t.hidden !== void 0 && (t.hidden = Re(t.hidden, n)), t.modifiers)) {
2791
- const O = {};
2792
- Object.keys(t.modifiers).forEach((_) => {
2793
- var w;
2794
- O[_] = Re((w = t.modifiers) == null ? void 0 : w[_], n);
2795
- }), t.modifiers = O;
2796
- }
2797
- const { components: r, formatters: a, labels: s, dateLib: o, locale: i, classNames: d } = Ce(() => {
2798
- const O = { ...zt, ...t.locale }, _ = t.broadcastCalendar ? 1 : t.weekStartsOn, w = t.noonSafe && t.timeZone ? os(t.timeZone, {
2799
- weekStartsOn: _,
2800
- locale: O
2801
- }) : void 0, x = t.dateLib && w ? { ...w, ...t.dateLib } : t.dateLib ?? w, z = new j({
2802
- locale: O,
2803
- weekStartsOn: _,
2804
- firstWeekContainsDate: t.firstWeekContainsDate,
2805
- useAdditionalWeekYearTokens: t.useAdditionalWeekYearTokens,
2806
- useAdditionalDayOfYearTokens: t.useAdditionalDayOfYearTokens,
2807
- timeZone: t.timeZone,
2808
- numerals: t.numerals
2809
- }, x);
2810
- return {
2811
- dateLib: z,
2812
- components: Aa(t.components),
2813
- formatters: Ka(t.formatters),
2814
- labels: ts(t.labels, z.options),
2815
- locale: O,
2816
- classNames: { ...qa(), ...t.classNames }
2817
- };
2818
- }, [
2819
- t.locale,
2820
- t.broadcastCalendar,
2821
- t.weekStartsOn,
2822
- t.firstWeekContainsDate,
2823
- t.useAdditionalWeekYearTokens,
2824
- t.useAdditionalDayOfYearTokens,
2825
- t.timeZone,
2826
- t.numerals,
2827
- t.dateLib,
2828
- t.noonSafe,
2829
- t.components,
2830
- t.formatters,
2831
- t.labels,
2832
- t.classNames
2833
- ]);
2834
- t.today || (t = { ...t, today: o.today() });
2835
- const { captionLayout: c, mode: u, navLayout: f, numberOfMonths: h = 1, onDayBlur: g, onDayClick: D, onDayFocus: p, onDayKeyDown: k, onDayMouseEnter: N, onDayMouseLeave: M, onNextClick: b, onPrevClick: W, showWeekNumber: v, styles: l } = t, { formatCaption: S, formatDay: E, formatMonthDropdown: B, formatWeekNumber: F, formatWeekNumberHeader: $, formatWeekdayName: re, formatYearDropdown: L } = a, G = ws(t, o), { days: de, months: Oe, navStart: Pe, navEnd: Ee, previousMonth: U, nextMonth: Q, goToMonth: ee } = G, Fe = Ia(de, t, Pe, Ee, o), { isSelected: le, select: he, selected: pe } = xs(t, o) ?? {}, { blur: st, focused: We, isFocusTarget: rn, moveFocus: ot, setFocused: Se } = Ds(t, G, Fe, le ?? (() => !1), o), { labelDayButton: an, labelGridcell: sn, labelGrid: on, labelMonthDropdown: dn, labelNav: it, labelPrevious: cn, labelNext: un, labelWeekday: fn, labelWeekNumber: ln, labelWeekNumberHeader: hn, labelYearDropdown: mn } = s, yn = Ce(() => as(o, t.ISOWeek, t.broadcastCalendar, t.today), [o, t.ISOWeek, t.broadcastCalendar, t.today]), dt = u !== void 0 || D !== void 0, Be = R(() => {
2836
- U && (ee(U), W == null || W(U));
2837
- }, [U, ee, W]), Ie = R(() => {
2838
- Q && (ee(Q), b == null || b(Q));
2839
- }, [ee, Q, b]), gn = R((O, _) => (w) => {
2840
- w.preventDefault(), w.stopPropagation(), Se(O), !_.disabled && (he == null || he(O.date, _, w), D == null || D(O.date, _, w));
2841
- }, [he, D, Se]), bn = R((O, _) => (w) => {
2842
- Se(O), p == null || p(O.date, _, w);
2843
- }, [p, Se]), Mn = R((O, _) => (w) => {
2844
- st(), g == null || g(O.date, _, w);
2845
- }, [st, g]), wn = R((O, _) => (w) => {
2846
- const x = {
2847
- ArrowLeft: [
2848
- w.shiftKey ? "month" : "day",
2849
- t.dir === "rtl" ? "after" : "before"
2850
- ],
2851
- ArrowRight: [
2852
- w.shiftKey ? "month" : "day",
2853
- t.dir === "rtl" ? "before" : "after"
2854
- ],
2855
- ArrowDown: [w.shiftKey ? "year" : "week", "after"],
2856
- ArrowUp: [w.shiftKey ? "year" : "week", "before"],
2857
- PageUp: [w.shiftKey ? "year" : "month", "before"],
2858
- PageDown: [w.shiftKey ? "year" : "month", "after"],
2859
- Home: ["startOfWeek", "before"],
2860
- End: ["endOfWeek", "after"]
2861
- };
2862
- if (x[w.key]) {
2863
- w.preventDefault(), w.stopPropagation();
2864
- const [z, C] = x[w.key];
2865
- ot(z, C);
2866
- }
2867
- k == null || k(O.date, _, w);
2868
- }, [ot, k, t.dir]), vn = R((O, _) => (w) => {
2869
- N == null || N(O.date, _, w);
2870
- }, [N]), kn = R((O, _) => (w) => {
2871
- M == null || M(O.date, _, w);
2872
- }, [M]), Dn = R((O) => (_) => {
2873
- const w = Number(_.target.value), x = o.setMonth(o.startOfMonth(O), w);
2874
- ee(x);
2875
- }, [o, ee]), On = R((O) => (_) => {
2876
- const w = Number(_.target.value), x = o.setYear(o.startOfMonth(O), w);
2877
- ee(x);
2878
- }, [o, ee]), { className: pn, style: Wn } = Ce(() => ({
2879
- className: [d[m.Root], t.className].filter(Boolean).join(" "),
2880
- style: { ...l == null ? void 0 : l[m.Root], ...t.style }
2881
- }), [d, t.className, t.style, l]), Sn = za(t), ct = Ne(null);
2882
- us(ct, !!t.animate, {
2883
- classNames: d,
2884
- months: Oe,
2885
- focused: We,
2886
- dateLib: o
2887
- });
2888
- const Nn = {
2889
- dayPickerProps: t,
2890
- selected: pe,
2891
- select: he,
2892
- isSelected: le,
2893
- months: Oe,
2894
- nextMonth: Q,
2895
- previousMonth: U,
2896
- goToMonth: ee,
2897
- getModifiers: Fe,
2898
- components: r,
2899
- classNames: d,
2900
- styles: l,
2901
- labels: s,
2902
- formatters: a
2903
- };
2904
- return y.createElement(
2905
- jt.Provider,
2906
- { value: Nn },
2907
- y.createElement(
2908
- r.Root,
2909
- { rootRef: t.animate ? ct : void 0, className: pn, style: Wn, dir: t.dir, id: t.id, lang: t.lang ?? i.code, nonce: t.nonce, title: t.title, role: t.role, "aria-label": t["aria-label"], "aria-labelledby": t["aria-labelledby"], ...Sn },
2910
- y.createElement(
2911
- r.Months,
2912
- { className: d[m.Months], style: l == null ? void 0 : l[m.Months] },
2913
- !t.hideNavigation && !f && y.createElement(r.Nav, { "data-animated-nav": t.animate ? "true" : void 0, className: d[m.Nav], style: l == null ? void 0 : l[m.Nav], "aria-label": it(), onPreviousClick: Be, onNextClick: Ie, previousMonth: U, nextMonth: Q }),
2914
- Oe.map((O, _) => y.createElement(
2915
- r.Month,
2916
- {
2917
- "data-animated-month": t.animate ? "true" : void 0,
2918
- className: d[m.Month],
2919
- style: l == null ? void 0 : l[m.Month],
2920
- // biome-ignore lint/suspicious/noArrayIndexKey: breaks animation
2921
- key: _,
2922
- displayIndex: _,
2923
- calendarMonth: O
2924
- },
2925
- f === "around" && !t.hideNavigation && _ === 0 && y.createElement(
2926
- r.PreviousMonthButton,
2927
- { type: "button", className: d[m.PreviousMonthButton], tabIndex: U ? void 0 : -1, "aria-disabled": U ? void 0 : !0, "aria-label": cn(U), onClick: Be, "data-animated-button": t.animate ? "true" : void 0 },
2928
- y.createElement(r.Chevron, { disabled: U ? void 0 : !0, className: d[m.Chevron], orientation: t.dir === "rtl" ? "right" : "left" })
2929
- ),
2930
- y.createElement(r.MonthCaption, { "data-animated-caption": t.animate ? "true" : void 0, className: d[m.MonthCaption], style: l == null ? void 0 : l[m.MonthCaption], calendarMonth: O, displayIndex: _ }, c != null && c.startsWith("dropdown") ? y.createElement(
2931
- r.DropdownNav,
2932
- { className: d[m.Dropdowns], style: l == null ? void 0 : l[m.Dropdowns] },
2933
- (() => {
2934
- const w = c === "dropdown" || c === "dropdown-months" ? y.createElement(r.MonthsDropdown, { key: "month", className: d[m.MonthsDropdown], "aria-label": dn(), classNames: d, components: r, disabled: !!t.disableNavigation, onChange: Dn(O.date), options: ns(O.date, Pe, Ee, a, o), style: l == null ? void 0 : l[m.Dropdown], value: o.getMonth(O.date) }) : y.createElement("span", { key: "month" }, B(O.date, o)), x = c === "dropdown" || c === "dropdown-years" ? y.createElement(r.YearsDropdown, { key: "year", className: d[m.YearsDropdown], "aria-label": mn(o.options), classNames: d, components: r, disabled: !!t.disableNavigation, onChange: On(O.date), options: ss(Pe, Ee, a, o, !!t.reverseYears), style: l == null ? void 0 : l[m.Dropdown], value: o.getYear(O.date) }) : y.createElement("span", { key: "year" }, L(O.date, o));
2935
- return o.getMonthYearOrder() === "year-first" ? [x, w] : [w, x];
2936
- })(),
2937
- y.createElement("span", { role: "status", "aria-live": "polite", style: {
2938
- border: 0,
2939
- clip: "rect(0 0 0 0)",
2940
- height: "1px",
2941
- margin: "-1px",
2942
- overflow: "hidden",
2943
- padding: 0,
2944
- position: "absolute",
2945
- width: "1px",
2946
- whiteSpace: "nowrap",
2947
- wordWrap: "normal"
2948
- } }, S(O.date, o.options, o))
2949
- ) : y.createElement(r.CaptionLabel, { className: d[m.CaptionLabel], role: "status", "aria-live": "polite" }, S(O.date, o.options, o))),
2950
- f === "around" && !t.hideNavigation && _ === h - 1 && y.createElement(
2951
- r.NextMonthButton,
2952
- { type: "button", className: d[m.NextMonthButton], tabIndex: Q ? void 0 : -1, "aria-disabled": Q ? void 0 : !0, "aria-label": un(Q), onClick: Ie, "data-animated-button": t.animate ? "true" : void 0 },
2953
- y.createElement(r.Chevron, { disabled: Q ? void 0 : !0, className: d[m.Chevron], orientation: t.dir === "rtl" ? "left" : "right" })
2954
- ),
2955
- _ === h - 1 && f === "after" && !t.hideNavigation && y.createElement(r.Nav, { "data-animated-nav": t.animate ? "true" : void 0, className: d[m.Nav], style: l == null ? void 0 : l[m.Nav], "aria-label": it(), onPreviousClick: Be, onNextClick: Ie, previousMonth: U, nextMonth: Q }),
2956
- y.createElement(
2957
- r.MonthGrid,
2958
- { role: "grid", "aria-multiselectable": u === "multiple" || u === "range", "aria-label": on(O.date, o.options, o) || void 0, className: d[m.MonthGrid], style: l == null ? void 0 : l[m.MonthGrid] },
2959
- !t.hideWeekdays && y.createElement(
2960
- r.Weekdays,
2961
- { "data-animated-weekdays": t.animate ? "true" : void 0, className: d[m.Weekdays], style: l == null ? void 0 : l[m.Weekdays] },
2962
- v && y.createElement(r.WeekNumberHeader, { "aria-label": hn(o.options), className: d[m.WeekNumberHeader], style: l == null ? void 0 : l[m.WeekNumberHeader], scope: "col" }, $()),
2963
- yn.map((w) => y.createElement(r.Weekday, { "aria-label": fn(w, o.options, o), className: d[m.Weekday], key: String(w), style: l == null ? void 0 : l[m.Weekday], scope: "col" }, re(w, o.options, o)))
2964
- ),
2965
- y.createElement(r.Weeks, { "data-animated-weeks": t.animate ? "true" : void 0, className: d[m.Weeks], style: l == null ? void 0 : l[m.Weeks] }, O.weeks.map((w) => y.createElement(
2966
- r.Week,
2967
- { className: d[m.Week], key: w.weekNumber, style: l == null ? void 0 : l[m.Week], week: w },
2968
- v && y.createElement(r.WeekNumber, { week: w, style: l == null ? void 0 : l[m.WeekNumber], "aria-label": ln(w.weekNumber, {
2969
- locale: i
2970
- }), className: d[m.WeekNumber], scope: "row", role: "rowheader" }, F(w.weekNumber, o)),
2971
- w.days.map((x) => {
2972
- const { date: z } = x, C = Fe(x);
2973
- if (C[T.focused] = !C.hidden && !!(We != null && We.isEqualTo(x)), C[A.selected] = (le == null ? void 0 : le(z)) || C.selected, Ye(pe)) {
2974
- const { from: He, to: Ae } = pe;
2975
- C[A.range_start] = !!(He && Ae && o.isSameDay(z, He)), C[A.range_end] = !!(He && Ae && o.isSameDay(z, Ae)), C[A.range_middle] = te(pe, z, !0, o);
2976
- }
2977
- const Cn = rs(C, l, t.modifiersStyles), xn = Ha(C, d, t.modifiersClassNames), _n = !dt && !C.hidden ? sn(z, C, o.options, o) : void 0;
2978
- return y.createElement(r.Day, { key: `${x.isoDate}_${x.displayMonthId}`, day: x, modifiers: C, className: xn.join(" "), style: Cn, role: "gridcell", "aria-selected": C.selected || void 0, "aria-label": _n, "data-day": x.isoDate, "data-month": x.outside ? x.dateMonthId : void 0, "data-selected": C.selected || void 0, "data-disabled": C.disabled || void 0, "data-hidden": C.hidden || void 0, "data-outside": x.outside || void 0, "data-focused": C.focused || void 0, "data-today": C.today || void 0 }, !C.hidden && dt ? y.createElement(r.DayButton, { className: d[m.DayButton], style: l == null ? void 0 : l[m.DayButton], type: "button", day: x, modifiers: C, disabled: !C.focused && C.disabled || void 0, "aria-disabled": C.focused && C.disabled || void 0, tabIndex: rn(x) ? 0 : -1, "aria-label": an(z, C, o.options, o), onClick: gn(x, C), onBlur: Mn(x, C), onFocus: bn(x, C), onKeyDown: wn(x, C), onMouseEnter: vn(x, C), onMouseLeave: kn(x, C) }, E(z, o.options, o)) : !C.hidden && E(x.date, o.options, o));
2979
- })
2980
- )))
2981
- )
2982
- ))
2983
- ),
2984
- t.footer && y.createElement(r.Footer, { className: d[m.Footer], style: l == null ? void 0 : l[m.Footer], role: "status", "aria-live": "polite" }, t.footer)
2985
- )
2986
- );
2987
- }
2988
- const pt = {
2989
- en: () => Promise.resolve().then(() => Tr).then((e) => e.enUS),
2990
- it: () => import("./it-nz6vAKwG.js").then((e) => e.it),
2991
- de: () => import("./de-CrJs4ZsX.js").then((e) => e.de),
2992
- es: () => import("./es-DCATCfqo.js").then((e) => e.es),
2993
- fr: () => import("./fr-BfGEMshF.js").then((e) => e.fr),
2994
- pt: () => import("./pt-D9xdT5KQ.js").then((e) => e.pt),
2995
- nl: () => import("./nl-L5SuDjyl.js").then((e) => e.nl),
2996
- pl: () => import("./pl-YAn5z2wR.js").then((e) => e.pl),
2997
- ro: () => import("./ro-Cp--52bT.js").then((e) => e.ro),
2998
- ru: () => import("./ru-BM8eX_Zz.js").then((e) => e.ru),
2999
- sv: () => import("./sv-Z3APomE8.js").then((e) => e.sv),
3000
- el: () => import("./el-DHdMOIhL.js").then((e) => e.el),
3001
- ja: () => import("./ja-DQcqdAEJ.js").then((e) => e.ja),
3002
- zh: () => import("./zh-CN-B-igM5gY.js").then((e) => e.zhCN),
3003
- hi: () => import("./hi-CBFRXEIm.js").then((e) => e.hi),
3004
- ar: () => import("./ar-Cn5Fq48Z.js").then((e) => e.ar),
3005
- tr: () => import("./tr-e0-P4FON.js").then((e) => e.tr),
3006
- sq: () => import("./sq-XRpr0r49.js").then((e) => e.sq)
3007
- };
3008
- async function _s(e) {
3009
- const t = e.toLowerCase().split("-")[0];
3010
- return (pt[t] ?? pt.en)();
3011
- }
3012
- const Ve = /* @__PURE__ */ new Map();
3013
- function zs(e) {
3014
- const t = e.toLowerCase().split("-")[0], [n, r] = xe(
3015
- () => Ve.get(t)
3016
- );
3017
- return St(() => {
3018
- const a = Ve.get(t);
3019
- if (a) {
3020
- r(a);
3021
- return;
3022
- }
3023
- let s = !1;
3024
- return _s(t).then((o) => {
3025
- Ve.set(t, o), s || r(o);
3026
- }), () => {
3027
- s = !0;
3028
- };
3029
- }, [t]), n;
3030
- }
3031
- const Ue = {
3032
- en: "dd/MM/yyyy",
3033
- "en-us": "MM/dd/yyyy",
3034
- de: "dd.MM.yyyy",
3035
- fr: "dd/MM/yyyy",
3036
- es: "dd/MM/yyyy",
3037
- it: "dd/MM/yyyy",
3038
- pt: "dd/MM/yyyy",
3039
- nl: "dd-MM-yyyy",
3040
- pl: "dd.MM.yyyy",
3041
- cs: "dd.MM.yyyy",
3042
- da: "dd.MM.yyyy",
3043
- sv: "yyyy-MM-dd",
3044
- fi: "dd.MM.yyyy",
3045
- nb: "dd.MM.yyyy",
3046
- ja: "yyyy/MM/dd",
3047
- zh: "yyyy/MM/dd",
3048
- ko: "yyyy.MM.dd",
3049
- ar: "dd/MM/yyyy",
3050
- he: "dd.MM.yyyy"
3051
- };
3052
- function qs(e) {
3053
- const t = e.toLowerCase();
3054
- return Ue[t] ?? Ue[t.split("-")[0]] ?? Ue.en;
3055
- }
3056
- function js(e, t, n) {
3057
- const r = [];
3058
- return e && r.push({ before: e }), t && r.push({ after: t }), Array.isArray(n) ? r.push(...n) : typeof n == "function" && r.push(n), r.length === 1 ? r[0] : r;
3059
- }
3060
- function $s({ orientation: e }) {
3061
- return e === "left" ? /* @__PURE__ */ ft(Bn, { className: "ds:size-4 ds:rtl:-scale-x-100" }) : /* @__PURE__ */ ft(In, { className: "ds:size-4 ds:rtl:-scale-x-100" });
3062
- }
3063
- const Qe = "ds:bg-[color-mix(in_srgb,var(--primary)_12%,transparent)]", Ys = "ds:size-[var(--min-target-size)] ds:text-center ds:align-middle", Ts = [
3064
- // `rdp-day_button` is kept as a stable structural/test hook AND as the
3065
- // descendant target for the selection-state fills below
3066
- // (`ds:[&_.rdp-day_button]:bg-primary`).
3067
- "rdp-day_button",
3068
- "ds:flex ds:items-center ds:justify-center",
3069
- "ds:size-[calc(var(--min-target-size)-2px)]",
3070
- "ds:mx-auto ds:rounded-[var(--radius-sm)]",
3071
- "ds:border-2 ds:border-transparent",
3072
- "ds:cursor-pointer ds:font-[inherit] ds:text-[inherit] ds:bg-transparent",
3073
- "ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
3074
- "ds:hover:bg-muted",
3075
- "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
3076
- "ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
3077
- "ds:forced-colors:focus-visible:outline-[Highlight]",
3078
- "ds:disabled:cursor-default"
3079
- ].join(" "), Wt = [
3080
- "ds:inline-flex ds:items-center ds:justify-center",
3081
- "ds:size-[var(--min-target-size)] ds:rounded-[var(--radius-sm)]",
3082
- "ds:cursor-pointer ds:bg-transparent ds:text-foreground",
3083
- "ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
3084
- "ds:hover:bg-muted",
3085
- "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
3086
- "ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
3087
- "ds:disabled:opacity-50 ds:disabled:cursor-default",
3088
- "ds:aria-disabled:opacity-50 ds:aria-disabled:cursor-default"
3089
- ].join(" "), Gs = {
3090
- /* ---- Layout shell ---- */
3091
- [m.Root]: "rdp-root ds:relative ds:font-sans ds:text-foreground",
3092
- [m.Months]: "rdp-months ds:relative ds:flex ds:flex-wrap ds:gap-[var(--spacing-lg)]",
3093
- [m.Month]: "rdp-month ds:flex ds:flex-col",
3094
- [m.MonthGrid]: "rdp-month_grid ds:border-collapse",
3095
- /* ---- Caption + navigation ---- */
3096
- [m.MonthCaption]: "rdp-month_caption ds:flex ds:items-center ds:h-[var(--min-target-size)] ds:font-semibold ds:text-[length:var(--font-size-base)]",
3097
- [m.CaptionLabel]: "rdp-caption_label ds:inline-flex ds:items-center",
3098
- // `top-0` is the block-axis (RTL-agnostic) inset; `end-0` is the
3099
- // inline-axis logical inset → `inset-inline-end: 0`, mirroring under RTL.
3100
- [m.Nav]: "rdp-nav ds:absolute ds:top-0 ds:end-0 ds:flex ds:items-center ds:h-[var(--min-target-size)]",
3101
- [m.PreviousMonthButton]: `rdp-button_previous ${Wt}`,
3102
- [m.NextMonthButton]: `rdp-button_next ${Wt}`,
3103
- [m.Chevron]: "rdp-chevron ds:inline-block ds:fill-current",
3104
- /* ---- Weekday header row ---- */
3105
- [m.Weekdays]: "rdp-weekdays",
3106
- [m.Weekday]: "rdp-weekday ds:opacity-75 ds:py-[var(--spacing-xs)] ds:text-center ds:font-medium ds:text-[length:var(--font-size-sm)] ds:text-muted-foreground",
3107
- /* ---- Week rows + day cells ---- */
3108
- [m.Weeks]: "rdp-weeks",
3109
- [m.Week]: "rdp-week",
3110
- [m.Day]: `rdp-day ${Ys}`,
3111
- [m.DayButton]: Ts,
3112
- [m.WeekNumber]: "rdp-week_number ds:opacity-50 ds:text-center ds:text-[length:var(--font-size-sm)] ds:size-[var(--min-target-size)]",
3113
- /* ---- Day flags ---- */
3114
- [T.today]: "rdp-today ds:text-primary ds:font-semibold ds:[&:is(.rdp-outside)]:text-inherit",
3115
- [T.outside]: "rdp-outside ds:opacity-50",
3116
- [T.disabled]: "rdp-disabled ds:opacity-30",
3117
- [T.hidden]: "rdp-hidden ds:invisible",
3118
- /* ---- Selection states ----
3119
- The colour fill lives on the inner `.rdp-day_button` via descendant
3120
- selectors so the cell padding stays transparent and the rounded
3121
- button reads as the selected chip. */
3122
- [A.selected]: "rdp-selected ds:[&_.rdp-day_button]:bg-primary ds:[&_.rdp-day_button]:text-primary-foreground ds:[&_.rdp-day_button]:border-primary ds:[&_.rdp-day_button]:hover:bg-primary-hover ds:forced-colors:[&_.rdp-day_button]:bg-[Highlight] ds:forced-colors:[&_.rdp-day_button]:text-[HighlightText]",
3123
- [A.range_start]: `rdp-range_start ${Qe} ds:rounded-s-[var(--radius-sm)] ds:[&_.rdp-day_button]:bg-primary ds:[&_.rdp-day_button]:text-primary-foreground ds:[&_.rdp-day_button]:border-primary ds:forced-colors:bg-[Highlight] ds:forced-colors:[&_.rdp-day_button]:bg-[Highlight] ds:forced-colors:[&_.rdp-day_button]:text-[HighlightText]`,
3124
- [A.range_middle]: `rdp-range_middle ${Qe} ds:[&_.rdp-day_button]:bg-transparent ds:[&_.rdp-day_button]:border-transparent ds:[&_.rdp-day_button]:text-foreground ds:[&_.rdp-day_button]:rounded-none ds:forced-colors:bg-[Highlight] ds:forced-colors:[&_.rdp-day_button]:text-[HighlightText]`,
3125
- [A.range_end]: `rdp-range_end ${Qe} ds:rounded-e-[var(--radius-sm)] ds:[&_.rdp-day_button]:bg-primary ds:[&_.rdp-day_button]:text-primary-foreground ds:[&_.rdp-day_button]:border-primary ds:forced-colors:bg-[Highlight] ds:forced-colors:[&_.rdp-day_button]:bg-[Highlight] ds:forced-colors:[&_.rdp-day_button]:text-[HighlightText]`
3126
- }, Rs = _e(
3127
- [
3128
- "ds:relative ds:flex ds:items-center ds:w-full",
3129
- // Soft-chrome look — matches `INPUT_SURFACE_CHROME` so the trigger
3130
- // shares the fill + halo with TextInput / Select / NumberInput.
3131
- "ds:rounded-[var(--radius-sm)] ds:border ds:bg-input ds:text-foreground",
3132
- "ds:shadow-[var(--shadow-input)]",
3133
- "ds:placeholder:text-muted-foreground",
3134
- "ds:transition-[colors,box-shadow] ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
3135
- "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
3136
- "ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
3137
- "ds:disabled:cursor-not-allowed ds:disabled:opacity-50"
3138
- ].join(" "),
3139
- {
3140
- variants: {
3141
- size: {
3142
- sm: "ds:h-8 ds:text-[length:var(--font-size-sm)] ds:ps-3 ds:pe-10",
3143
- md: "ds:h-[var(--min-target-size)] ds:text-[length:var(--font-size-base)] ds:ps-3 ds:pe-10",
3144
- lg: "ds:h-12 ds:text-[length:var(--font-size-lg)] ds:ps-4 ds:pe-12"
3145
- },
3146
- tone: {
3147
- default: "ds:border-border",
3148
- error: "ds:border-destructive"
3149
- }
3150
- },
3151
- defaultVariants: {
3152
- size: "md",
3153
- tone: "default"
3154
- }
3155
- }
3156
- ), Vs = _e(
3157
- "ds:absolute ds:inset-y-0 ds:end-0 ds:flex ds:items-center ds:pointer-events-none ds:text-muted-foreground",
3158
- {
3159
- variants: {
3160
- size: {
3161
- sm: "ds:pe-3 ds:[&_svg]:size-4",
3162
- md: "ds:pe-3 ds:[&_svg]:size-4",
3163
- lg: "ds:pe-4 ds:[&_svg]:size-5"
3164
- }
3165
- },
3166
- defaultVariants: { size: "md" }
3167
- }
3168
- ), Us = _e(
3169
- [
3170
- "ds:z-[var(--z-popover)] ds:rounded-[var(--radius-md)]",
3171
- "ds:border ds:border-border ds:bg-background ds:shadow-[var(--shadow-lg)]",
3172
- "ds:p-[var(--spacing-md)]"
3173
- ].join(" ")
3174
- ), Qs = _e(
3175
- [
3176
- "ds:w-full ds:text-start ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] ds:py-[var(--spacing-xs)]",
3177
- "ds:rounded-[var(--radius-sm)] ds:text-[length:var(--font-size-sm)] ds:text-foreground",
3178
- "ds:hover:bg-muted ds:cursor-pointer",
3179
- "ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
3180
- "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
3181
- "ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]"
3182
- ].join(" ")
3183
- );
3184
- export {
3185
- Me as A,
3186
- Le as B,
3187
- $s as C,
3188
- As as D,
3189
- Ze as E,
3190
- mt as F,
3191
- oe as G,
3192
- Br as H,
3193
- qr as I,
3194
- jr as J,
3195
- zr as K,
3196
- Un as L,
3197
- xt as a,
3198
- $n as b,
3199
- js as c,
3200
- Qn as d,
3201
- Bt as e,
3202
- Kn as f,
3203
- qs as g,
3204
- be as h,
3205
- Lr as i,
3206
- Je as j,
3207
- Vs as k,
3208
- Gs as l,
3209
- Us as m,
3210
- ea as n,
3211
- qe as o,
3212
- Qs as p,
3213
- me as q,
3214
- ye as r,
3215
- fe as s,
3216
- Rs as t,
3217
- zs as u,
3218
- Mr as v,
3219
- _t as w,
3220
- ta as x,
3221
- ve as y,
3222
- It as z
3223
- };
3224
- //# sourceMappingURL=date-picker-variants-DAcSLTua.js.map