@alfadocs/ui-kit 0.63.0 → 0.65.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 (265) hide show
  1. package/dist/_chunks/{agenda-tray-DA6qj8BL.js → agenda-tray-Bh1KfEOG.js} +2 -2
  2. package/dist/_chunks/{ai-consent-banner-DBKV27je.js → ai-consent-banner-Btzmk8OH.js} +3 -2
  3. package/dist/_chunks/{ai-prompt-input-C6sCr1Vi.js → ai-prompt-input-BwEACCPm.js} +3 -3
  4. package/dist/_chunks/{ai-tools-rail-7tC3GT4h.js → ai-tools-rail-JnlTqfS4.js} +2 -2
  5. package/dist/_chunks/{alia-sidebar-DlvyXgVC.js → alia-sidebar-CN8pA6c-.js} +7 -7
  6. package/dist/_chunks/{anamnesis-card-CmkBVAln.js → anamnesis-card-qeLYRG79.js} +2 -2
  7. package/dist/_chunks/{antenatal-schedule-timeline-CdiqkF05.js → antenatal-schedule-timeline-BfzFjEyb.js} +3 -3
  8. package/dist/_chunks/{appointment-tray-BwDHhWWC.js → appointment-tray-BQnJEora.js} +2 -2
  9. package/dist/_chunks/{ar-C68WKG5a.js → ar-Cn5Fq48Z.js} +2 -2
  10. package/dist/_chunks/{audio-recorder-D6OVfNiZ.js → audio-recorder-DjXLP4aF.js} +3 -3
  11. package/dist/_chunks/{autocomplete-CDqxB68B.js → autocomplete-CcCFlVf-.js} +4 -4
  12. package/dist/_chunks/{bishop-score-B9tvgoIq.js → bishop-score-x2fNqbuZ.js} +3 -3
  13. package/dist/_chunks/{bmi-calculator-DA2NGmVK.js → bmi-calculator-C3roxbqD.js} +2 -2
  14. package/dist/_chunks/{booking-BUV9fspj.js → booking-L8-YP8BJ.js} +149 -149
  15. package/dist/_chunks/calendar-B6soK1Yb.js +17 -0
  16. package/dist/_chunks/{calendar-CkuJIg3s.js → calendar-oYWOCrnf.js} +1 -1
  17. package/dist/_chunks/{care-plan-card-QmNpGggC.js → care-plan-card-D42WD4-T.js} +2 -2
  18. package/dist/_chunks/{care-plan-entry-card-Cnra7vUc.js → care-plan-entry-card-BukNI7Uy.js} +2 -2
  19. package/dist/_chunks/{carousel.agent-DrX96W-1.js → carousel.agent-vt21A_el.js} +2 -2
  20. package/dist/_chunks/{chat-input-CFwc7JxL.js → chat-input-B5zjNEUN.js} +2 -2
  21. package/dist/_chunks/{chat-message-Dm8U2RY1.js → chat-message-3V54YipB.js} +2 -2
  22. package/dist/_chunks/{code-block-HoddNOKJ.js → code-block-BBWHhIc8.js} +2 -2
  23. package/dist/_chunks/{contact-profile-card-DvvVfAA2.js → contact-profile-card-CCeJmjbd.js} +2 -2
  24. package/dist/_chunks/{cycle-calculator-C_t1Hs8V.js → cycle-calculator-DrVXbIB4.js} +4 -4
  25. package/dist/_chunks/{date-picker-BfHblqwA.js → date-picker-oGg5BnXL.js} +12 -11
  26. package/dist/_chunks/{date-picker-variants-CXEAx3O_.js → date-picker-variants-DAcSLTua.js} +358 -372
  27. package/dist/_chunks/{date-range-picker-hcAMs1wO.js → date-range-picker-C5BWfH_T.js} +34 -25
  28. package/dist/_chunks/{date-time-picker-H-3Pwqlb.js → date-time-picker-Ze1My59T.js} +18 -17
  29. package/dist/_chunks/{de-DK4A9_a8.js → de-CrJs4ZsX.js} +2 -2
  30. package/dist/_chunks/{description-list-BEbK2g93.js → description-list-gkNGWk5G.js} +2 -2
  31. package/dist/_chunks/{due-date-calculator-Q8MIwEVV.js → due-date-calculator-D4K1BnE2.js} +4 -4
  32. package/dist/_chunks/{editable-currency-cell-renderer-D5C5tCfu.js → editable-currency-cell-renderer-CFqQc56y.js} +305 -295
  33. package/dist/_chunks/editor-overlay-wYm22wZK.js +88 -0
  34. package/dist/_chunks/{el-B29HXhG5.js → el-DHdMOIhL.js} +6 -6
  35. package/dist/_chunks/{es-BOwPVwWn.js → es-DCATCfqo.js} +2 -2
  36. package/dist/_chunks/{fetal-weight-D1a6BmM-.js → fetal-weight-B_pBjlO7.js} +2 -2
  37. package/dist/_chunks/{fiscal-code-input-BZ0FxwUl.js → fiscal-code-input-DPtqluVb.js} +2 -2
  38. package/dist/_chunks/{fr-DoDBtn0T.js → fr-BfGEMshF.js} +2 -2
  39. package/dist/_chunks/{freemium-paywall-gHGA44dW.js → freemium-paywall-CkWjv3o6.js} +2 -2
  40. package/dist/_chunks/{gestational-age-calculator-AkNFfZYs.js → gestational-age-calculator-BETQAVkA.js} +7 -7
  41. package/dist/_chunks/{hcg-doubling-Dg0Hr7ey.js → hcg-doubling-8zXCJgAQ.js} +3 -3
  42. package/dist/_chunks/{header-Ce1Br27u.js → header-CNszv2WQ.js} +2 -2
  43. package/dist/_chunks/{header-settings-D5Z2B_Yz.js → header-settings-CNOqIhoW.js} +3 -3
  44. package/dist/_chunks/{hi-DGByrKby.js → hi-CBFRXEIm.js} +2 -2
  45. package/dist/_chunks/icon-button-LqoiKcUN.js +78 -0
  46. package/dist/_chunks/{insert-result-C1SYdueh.js → insert-result-DIAG3ltJ.js} +115 -136
  47. package/dist/_chunks/{isSameWeek-B1odL2vR.js → isSameWeek-I3DfXUp1.js} +2 -2
  48. package/dist/_chunks/{it-B16rEecm.js → it-nz6vAKwG.js} +7 -7
  49. package/dist/_chunks/{ja-B0viOgft.js → ja-DQcqdAEJ.js} +2 -2
  50. package/dist/_chunks/{key-value-pair-CkQIb9EG.js → key-value-pair-BrgbMfbF.js} +2 -2
  51. package/dist/_chunks/{locale-picker-D99UyZVJ.js → locale-picker-C9JmBht3.js} +3 -3
  52. package/dist/_chunks/{marketplace-app-shell-C4OYAC22.js → marketplace-app-shell-BXfRMiRk.js} +4 -4
  53. package/dist/_chunks/{message-card-Dvl1TgaN.js → message-card-Bgcvfj6-.js} +2 -2
  54. package/dist/_chunks/{message-tray-Dl6GQaaV.js → message-tray-saAVMeHP.js} +3 -3
  55. package/dist/_chunks/{multi-select-DOLO3K_z.js → multi-select-BcPylvHR.js} +100 -90
  56. package/dist/_chunks/{nl-cBxEX2QU.js → nl-L5SuDjyl.js} +2 -2
  57. package/dist/_chunks/{notification-card-CObnGdJu.js → notification-card-BiESdm8q.js} +2 -2
  58. package/dist/_chunks/{notification-tray-BWHDIjgd.js → notification-tray-DlgenTEe.js} +3 -3
  59. package/dist/_chunks/{patient-search-CArmRKeg.js → patient-search-Bw9ONucF.js} +2 -2
  60. package/dist/_chunks/{patient-shell-Coarf346.js → patient-shell-CF_qon7C.js} +3 -3
  61. package/dist/_chunks/{patient-summary-card-BnTqxcTr.js → patient-summary-card-Bgso0p_l.js} +2 -2
  62. package/dist/_chunks/{payment-form-DJ9vnzrT.js → payment-form-nXocS_MX.js} +11 -4
  63. package/dist/_chunks/{payment-request-card-B_lyobd0.js → payment-request-card-DBz3hVDz.js} +3 -3
  64. package/dist/_chunks/{pdf-viewer-chMpwpA4.js → pdf-viewer-GsfNqeeT.js} +3 -3
  65. package/dist/_chunks/{periodontal-chart-card-BYs9hax1.js → periodontal-chart-card-AYyHtU9K.js} +2 -2
  66. package/dist/_chunks/phone-input-DVXhNlIl.js +563 -0
  67. package/dist/_chunks/{pl-DtS08ioY.js → pl-YAn5z2wR.js} +3 -3
  68. package/dist/_chunks/{popover-Devce-tT.js → popover-DTbfAuR0.js} +2 -2
  69. package/dist/_chunks/{practice-results-CtfciF2v.js → practice-results-CVAgY2RZ.js} +3 -3
  70. package/dist/_chunks/{pregnancy-dating-Dg6dTe1p.js → pregnancy-dating-BuzLTwjy.js} +7 -7
  71. package/dist/_chunks/{pregnancy-weight-gain-DI7X-0JX.js → pregnancy-weight-gain-aicn7qs7.js} +2 -2
  72. package/dist/_chunks/{privacy-lock-BN3L-alb.js → privacy-lock-C7JyMf0y.js} +2 -2
  73. package/dist/_chunks/{product-hub-panel-CkfZBA3t.js → product-hub-panel-CAXDFeGP.js} +2 -2
  74. package/dist/_chunks/{pt-yFXs1VvH.js → pt-D9xdT5KQ.js} +6 -6
  75. package/dist/_chunks/{public-header.agent-CYQK6T6F.js → public-header.agent-BOhJgZEU.js} +3 -3
  76. package/dist/_chunks/{reviews-panel-CPrXu5TX.js → reviews-panel-DBktKm7i.js} +2 -2
  77. package/dist/_chunks/rich-text-editor-u36FqSWz.js +1190 -0
  78. package/dist/_chunks/{ro-DsCzSrzR.js → ro-Cp--52bT.js} +2 -2
  79. package/dist/_chunks/{ru-DgDxL0pc.js → ru-BM8eX_Zz.js} +3 -3
  80. package/dist/_chunks/{search-bar-CvN_S0jW.js → search-bar-SY2BcV2N.js} +2 -2
  81. package/dist/_chunks/{search-input-D3aMvi4l.js → search-input-DbxrnHkW.js} +3 -3
  82. package/dist/_chunks/{select-hsCaJSX3.js → select-CEtRcon5.js} +46 -45
  83. package/dist/_chunks/{sheet-xbzu4YiY.js → sheet-taJer-Ha.js} +2 -2
  84. package/dist/_chunks/{sign-document--nr5cxsB.js → sign-document-CdAiHiCh.js} +2 -2
  85. package/dist/_chunks/{sign-in-with-alfadocs-button-BpAjVmsI.js → sign-in-with-alfadocs-button-LppxjlFt.js} +2 -2
  86. package/dist/_chunks/{signature-field-DbhbpLha.js → signature-field-Dy1JRjzE.js} +10 -3
  87. package/dist/_chunks/{slot-grid-BlHHP9Qy.js → slot-grid-FsqumOaS.js} +2 -2
  88. package/dist/_chunks/smart-date-CWikAqZx.js +114 -0
  89. package/dist/_chunks/{social-sign-in-button-uJYLM366.js → social-sign-in-button-dlpPI5l7.js} +2 -2
  90. package/dist/_chunks/{spinner-OjQNn8oN.js → spinner-hbwuKwMf.js} +10 -10
  91. package/dist/_chunks/{sq-DHlCYN67.js → sq-XRpr0r49.js} +6 -6
  92. package/dist/_chunks/{streaming-text-CfhDqtIT.js → streaming-text-BB9mvK4m.js} +2 -2
  93. package/dist/_chunks/subDays-BcYv1Lxi.js +8 -0
  94. package/dist/_chunks/{sv-O0QaQs_s.js → sv-Z3APomE8.js} +2 -2
  95. package/dist/_chunks/{tabs-BpPYVme_.js → tabs-BIQ0ew1T.js} +2 -2
  96. package/dist/_chunks/{task-tray-Cb_hK4yb.js → task-tray-CAncV-QQ.js} +2 -2
  97. package/dist/_chunks/{theme-toggle-DAW7uC0B.js → theme-toggle-DETmSu_h.js} +2 -2
  98. package/dist/_chunks/{toast.agent-B0MCsvdZ.js → toast.agent-vuLRRn2a.js} +2 -2
  99. package/dist/_chunks/tooth-scheme-BIx1O2aJ.js +1257 -0
  100. package/dist/_chunks/{tr-BmNDRuio.js → tr-e0-P4FON.js} +2 -2
  101. package/dist/_chunks/{transcript-panel-B4HiC7ed.js → transcript-panel-CLHmv83g.js} +2 -2
  102. package/dist/_chunks/type-DZ5OMRA2.js +28 -0
  103. package/dist/_chunks/{unit-converter-3sINXO3m.js → unit-converter-CHN2cZ4b.js} +3 -3
  104. package/dist/_chunks/{wallet-pay-button-DuDPBlCO.js → wallet-pay-button--dnR6NfJ.js} +2 -2
  105. package/dist/_chunks/{workflow-map-BJDUNYlX.js → workflow-map-BX3JY1Bu.js} +3 -3
  106. package/dist/_chunks/{zh-CN-CgVJZEzz.js → zh-CN-B-igM5gY.js} +3 -3
  107. package/dist/agent-catalog.json +72 -4
  108. package/dist/components/agenda-tray/index.js +1 -1
  109. package/dist/components/ai-consent-banner/index.js +1 -1
  110. package/dist/components/ai-prompt-input/index.js +1 -1
  111. package/dist/components/ai-tools-rail/index.js +1 -1
  112. package/dist/components/anamnesis-card/index.js +1 -1
  113. package/dist/components/appointment-card/index.js +1 -1
  114. package/dist/components/audio-recorder/index.js +1 -1
  115. package/dist/components/autocomplete/index.js +1 -1
  116. package/dist/components/bishop-score/index.js +1 -1
  117. package/dist/components/bmi-calculator/index.js +1 -1
  118. package/dist/components/booking/index.js +1 -1
  119. package/dist/components/button/index.js +1 -1
  120. package/dist/components/calendar/index.js +1 -1
  121. package/dist/components/care-plan-card/index.js +1 -1
  122. package/dist/components/care-plan-entry-card/index.js +1 -1
  123. package/dist/components/carousel/index.js +1 -1
  124. package/dist/components/chat-input/index.js +1 -1
  125. package/dist/components/chat-message/index.js +1 -1
  126. package/dist/components/contact-profile-card/index.js +1 -1
  127. package/dist/components/cycle-calculator/index.js +1 -1
  128. package/dist/components/data-table/index.js +1 -1
  129. package/dist/components/date-picker/index.js +1 -1
  130. package/dist/components/date-range-picker/index.js +1 -1
  131. package/dist/components/date-time-picker/index.js +1 -1
  132. package/dist/components/description-list/index.js +1 -1
  133. package/dist/components/due-date-calculator/index.js +2 -2
  134. package/dist/components/editor-overlay/editor-overlay.d.ts +19 -0
  135. package/dist/components/editor-overlay/index.d.ts +3 -0
  136. package/dist/components/editor-overlay/index.js +5 -0
  137. package/dist/components/fetal-weight/index.js +1 -1
  138. package/dist/components/fiscal-code-input/index.js +1 -1
  139. package/dist/components/freemium-paywall/index.js +1 -1
  140. package/dist/components/gestational-age-calculator/index.js +1 -1
  141. package/dist/components/hcg-doubling/index.js +1 -1
  142. package/dist/components/header/index.js +1 -1
  143. package/dist/components/header-settings/index.js +1 -1
  144. package/dist/components/icon-button/index.js +1 -1
  145. package/dist/components/index.d.ts +2 -0
  146. package/dist/components/key-value-pair/index.js +1 -1
  147. package/dist/components/locale-picker/index.js +1 -1
  148. package/dist/components/message-card/index.js +1 -1
  149. package/dist/components/message-tray/index.js +1 -1
  150. package/dist/components/multi-select/index.js +1 -1
  151. package/dist/components/notification-card/index.js +1 -1
  152. package/dist/components/notification-tray/index.js +1 -1
  153. package/dist/components/patient-search/index.js +1 -1
  154. package/dist/components/patient-summary-card/index.js +1 -1
  155. package/dist/components/payment-card/index.js +1 -1
  156. package/dist/components/payment-form/index.js +1 -1
  157. package/dist/components/pdf-viewer/index.js +1 -1
  158. package/dist/components/periodontal-chart-card/index.js +1 -1
  159. package/dist/components/phone-input/index.js +1 -1
  160. package/dist/components/phone-input/phone-input.d.ts +9 -0
  161. package/dist/components/popover/index.js +1 -1
  162. package/dist/components/practice-results/index.js +1 -1
  163. package/dist/components/pregnancy-dating/index.js +1 -1
  164. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  165. package/dist/components/privacy-lock/index.js +1 -1
  166. package/dist/components/product-hub-tray/index.js +1 -1
  167. package/dist/components/public-header/index.js +1 -1
  168. package/dist/components/reviews-panel/index.js +1 -1
  169. package/dist/components/rich-text-editor/editor-toolbar.d.ts +16 -0
  170. package/dist/components/rich-text-editor/help-me-write-overlay.d.ts +25 -0
  171. package/dist/components/rich-text-editor/index.js +1 -1
  172. package/dist/components/rich-text-editor/rich-text-editor.d.ts +43 -0
  173. package/dist/components/search-bar/index.js +1 -1
  174. package/dist/components/search-input/index.js +1 -1
  175. package/dist/components/select/index.js +1 -1
  176. package/dist/components/select/select.d.ts +8 -0
  177. package/dist/components/sheet/index.js +1 -1
  178. package/dist/components/sign-document/index.js +1 -1
  179. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  180. package/dist/components/signature-field/index.js +1 -1
  181. package/dist/components/slot-grid/index.js +1 -1
  182. package/dist/components/smart-date/index.d.ts +3 -0
  183. package/dist/components/smart-date/index.js +5 -0
  184. package/dist/components/smart-date/smart-date.d.ts +32 -0
  185. package/dist/components/social-sign-in-button/index.js +1 -1
  186. package/dist/components/spinner/index.js +1 -1
  187. package/dist/components/streaming-text/index.js +1 -1
  188. package/dist/components/tabs/index.js +1 -1
  189. package/dist/components/task-tray/index.js +1 -1
  190. package/dist/components/theme-toggle/index.js +1 -1
  191. package/dist/components/toast/index.js +1 -1
  192. package/dist/components/tooth-scheme/index.d.ts +2 -2
  193. package/dist/components/tooth-scheme/index.js +22 -15
  194. package/dist/components/tooth-scheme/tooth-data.d.ts +79 -18
  195. package/dist/components/tooth-scheme/tooth-scheme.agent.d.ts +2 -0
  196. package/dist/components/tooth-scheme/tooth-scheme.d.ts +48 -1
  197. package/dist/components/transcript-panel/index.js +1 -1
  198. package/dist/components/unit-converter/index.js +1 -1
  199. package/dist/components/wallet-pay-button/index.js +1 -1
  200. package/dist/components/workflow/index.js +1 -1
  201. package/dist/i18n/locales/ar.d.ts +61 -0
  202. package/dist/i18n/locales/ar.js +63 -2
  203. package/dist/i18n/locales/de.d.ts +61 -0
  204. package/dist/i18n/locales/de.js +63 -2
  205. package/dist/i18n/locales/el.d.ts +61 -0
  206. package/dist/i18n/locales/el.js +63 -2
  207. package/dist/i18n/locales/en.d.ts +61 -0
  208. package/dist/i18n/locales/en.js +67 -2
  209. package/dist/i18n/locales/es.d.ts +61 -0
  210. package/dist/i18n/locales/es.js +63 -2
  211. package/dist/i18n/locales/fr.d.ts +61 -0
  212. package/dist/i18n/locales/fr.js +63 -2
  213. package/dist/i18n/locales/hi.d.ts +61 -0
  214. package/dist/i18n/locales/hi.js +63 -2
  215. package/dist/i18n/locales/it.d.ts +61 -0
  216. package/dist/i18n/locales/it.js +63 -2
  217. package/dist/i18n/locales/ja.d.ts +61 -0
  218. package/dist/i18n/locales/ja.js +63 -2
  219. package/dist/i18n/locales/nl.d.ts +61 -0
  220. package/dist/i18n/locales/nl.js +63 -2
  221. package/dist/i18n/locales/pl.d.ts +61 -0
  222. package/dist/i18n/locales/pl.js +63 -2
  223. package/dist/i18n/locales/pt.d.ts +61 -0
  224. package/dist/i18n/locales/pt.js +63 -2
  225. package/dist/i18n/locales/ro.d.ts +61 -0
  226. package/dist/i18n/locales/ro.js +63 -2
  227. package/dist/i18n/locales/ru.d.ts +61 -0
  228. package/dist/i18n/locales/ru.js +63 -2
  229. package/dist/i18n/locales/sq.d.ts +61 -0
  230. package/dist/i18n/locales/sq.js +63 -2
  231. package/dist/i18n/locales/sv.d.ts +61 -0
  232. package/dist/i18n/locales/sv.js +63 -2
  233. package/dist/i18n/locales/tr.d.ts +61 -0
  234. package/dist/i18n/locales/tr.js +63 -2
  235. package/dist/i18n/locales/zh.d.ts +61 -0
  236. package/dist/i18n/locales/zh.js +63 -2
  237. package/dist/index.js +511 -500
  238. package/dist/locales/ar.json +63 -2
  239. package/dist/locales/de.json +63 -2
  240. package/dist/locales/el.json +63 -2
  241. package/dist/locales/en.json +63 -2
  242. package/dist/locales/es.json +63 -2
  243. package/dist/locales/fr.json +63 -2
  244. package/dist/locales/hi.json +63 -2
  245. package/dist/locales/it.json +63 -2
  246. package/dist/locales/ja.json +63 -2
  247. package/dist/locales/nl.json +63 -2
  248. package/dist/locales/pl.json +63 -2
  249. package/dist/locales/pt.json +63 -2
  250. package/dist/locales/ro.json +63 -2
  251. package/dist/locales/ru.json +63 -2
  252. package/dist/locales/sq.json +63 -2
  253. package/dist/locales/sv.json +63 -2
  254. package/dist/locales/tr.json +63 -2
  255. package/dist/locales/zh.json +63 -2
  256. package/dist/patterns/alia-assistant/index.js +1 -1
  257. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  258. package/dist/patterns/patient-shell/index.js +1 -1
  259. package/dist/tokens.css +36 -22
  260. package/package.json +10 -1
  261. package/dist/_chunks/icon-button-CKEOrN37.js +0 -70
  262. package/dist/_chunks/phone-input-DfZbPPvh.js +0 -525
  263. package/dist/_chunks/rich-text-editor-B03qM22-.js +0 -334
  264. package/dist/_chunks/subDays-Bs00akhK.js +0 -8
  265. package/dist/_chunks/tooth-scheme-CxlsLjfN.js +0 -753
@@ -1,23 +1,10 @@
1
- import { c as Yn } from "./createLucideIcon-CrFbzy84.js";
2
- import y, { createContext as Tn, useContext as Pn, useCallback as R, useRef as Ne, useLayoutEffect as En, useState as xe, useEffect as St, useMemo as Ce } from "react";
3
- import { t as P, c as I, n as we, s as Xe, d as Fn, e as Nt, i as Bn } from "./isSameDay-DUEiAT0G.js";
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";
4
3
  import { jsx as ft } from "react/jsx-runtime";
5
- import { C as In } from "./chevron-left-CX1jqD2M.js";
6
- import { C as Hn } from "./chevron-right-BrpYejk0.js";
4
+ import { C as Bn } from "./chevron-left-CX1jqD2M.js";
5
+ import { C as In } from "./chevron-right-BrpYejk0.js";
7
6
  import { c as _e } from "./index-D2ZczOXr.js";
8
- /**
9
- * @license lucide-react v1.8.0 - ISC
10
- *
11
- * This source code is licensed under the ISC license.
12
- * See the LICENSE file in the root directory of this source tree.
13
- */
14
- const An = [
15
- ["path", { d: "M8 2v4", key: "1cmpym" }],
16
- ["path", { d: "M16 2v4", key: "4m81vk" }],
17
- ["rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", key: "1hopcy" }],
18
- ["path", { d: "M3 10h18", key: "8toen8" }]
19
- ], js = Yn("calendar", An);
20
- function zn(e, t, n = "long") {
7
+ function Hn(e, t, n = "long") {
21
8
  return new Intl.DateTimeFormat("en-US", {
22
9
  // Enforces engine to render the time. Without the option JavaScriptCore omits it.
23
10
  hour: "numeric",
@@ -35,11 +22,11 @@ function ie(e, t) {
35
22
  return r in ge ? ge[r] : lt(r, r.split(":"));
36
23
  } catch {
37
24
  if (e in ge) return ge[e];
38
- const n = e == null ? void 0 : e.match(qn);
25
+ const n = e == null ? void 0 : e.match(An);
39
26
  return n ? lt(e, n.slice(1)) : NaN;
40
27
  }
41
28
  }
42
- const qn = /([+-]\d\d):?(\d\d)?/;
29
+ const An = /([+-]\d\d):?(\d\d)?/;
43
30
  function lt(e, t) {
44
31
  const n = +(t[0] || 0), r = +(t[1] || 0), a = +(t[2] || 0) / 60;
45
32
  return ge[e] = n * 60 + r > 0 ? n * 60 + r + a : n * 60 - r - a;
@@ -80,7 +67,7 @@ Object.getOwnPropertyNames(Date.prototype).forEach((e) => {
80
67
  J.prototype[t] && (e.startsWith("get") ? J.prototype[e] = function() {
81
68
  return this.internal[t]();
82
69
  } : (J.prototype[e] = function() {
83
- return Date.prototype[t].apply(this.internal, arguments), jn(this), +this;
70
+ return Date.prototype[t].apply(this.internal, arguments), zn(this), +this;
84
71
  }, J.prototype[t] = function() {
85
72
  return Date.prototype[t].apply(this, arguments), Ke(this), +this;
86
73
  }));
@@ -88,7 +75,7 @@ Object.getOwnPropertyNames(Date.prototype).forEach((e) => {
88
75
  function Ke(e) {
89
76
  e.internal.setTime(+e), e.internal.setUTCSeconds(e.internal.getUTCSeconds() - Math.round(-ie(e.timeZone, e) * 60));
90
77
  }
91
- function jn(e) {
78
+ function zn(e) {
92
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);
93
80
  }
94
81
  function Ct(e) {
@@ -129,7 +116,7 @@ class H extends J {
129
116
  }
130
117
  toTimeString() {
131
118
  const t = this.internal.toUTCString().split(" ")[4], [n, r, a] = this.tzComponents();
132
- return `${t} GMT${n}${r}${a} (${zn(this.timeZone, this)})`;
119
+ return `${t} GMT${n}${r}${a} (${Hn(this.timeZone, this)})`;
133
120
  }
134
121
  toLocaleString(t, n) {
135
122
  return Date.prototype.toLocaleString.call(this, t, {
@@ -183,9 +170,9 @@ function _t(e, t, n) {
183
170
  a
184
171
  ), r);
185
172
  }
186
- let $n = {};
173
+ let qn = {};
187
174
  function ve() {
188
- return $n;
175
+ return qn;
189
176
  }
190
177
  function fe(e, t) {
191
178
  var i, d, c, u;
@@ -223,19 +210,19 @@ function Je(e, t, n) {
223
210
  e,
224
211
  t
225
212
  ), s = Xe(r), o = Xe(a), i = +s - mt(s), d = +o - mt(o);
226
- return Math.round((i - d) / Fn);
213
+ return Math.round((i - d) / En);
227
214
  }
228
- function Gn(e, t) {
215
+ function jn(e, t) {
229
216
  const n = Yt(e, t), r = I(e, 0);
230
217
  return r.setFullYear(n, 0, 4), r.setHours(0, 0, 0, 0), Me(r);
231
218
  }
232
- function Rn(e, t, n) {
219
+ function $n(e, t, n) {
233
220
  return xt(e, t * 7, n);
234
221
  }
235
- function Vn(e, t, n) {
222
+ function Gn(e, t, n) {
236
223
  return _t(e, t * 12, n);
237
224
  }
238
- function Un(e, t) {
225
+ function Rn(e, t) {
239
226
  let n, r = t == null ? void 0 : t.in;
240
227
  return e.forEach((a) => {
241
228
  !r && typeof a == "object" && (r = I.bind(null, a));
@@ -243,7 +230,7 @@ function Un(e, t) {
243
230
  (!n || n < s || isNaN(+s)) && (n = s);
244
231
  }), I(r, n || NaN);
245
232
  }
246
- function Qn(e, t) {
233
+ function Vn(e, t) {
247
234
  let n, r = t == null ? void 0 : t.in;
248
235
  return e.forEach((a) => {
249
236
  !r && typeof a == "object" && (r = I.bind(null, a));
@@ -254,7 +241,7 @@ function Qn(e, t) {
254
241
  function Tt(e) {
255
242
  return e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]";
256
243
  }
257
- function Xn(e) {
244
+ function Un(e) {
258
245
  return !(!Tt(e) && typeof e != "number" || isNaN(+P(e)));
259
246
  }
260
247
  function Pt(e, t, n) {
@@ -265,7 +252,7 @@ function Pt(e, t, n) {
265
252
  ), s = r.getFullYear() - a.getFullYear(), o = r.getMonth() - a.getMonth();
266
253
  return s * 12 + o;
267
254
  }
268
- function Kn(e, t) {
255
+ function Qn(e, t) {
269
256
  const n = P(e, t == null ? void 0 : t.in), r = n.getMonth();
270
257
  return n.setFullYear(n.getFullYear(), r + 1, 0), n.setHours(23, 59, 59, 999), n;
271
258
  }
@@ -273,7 +260,7 @@ function Et(e, t) {
273
260
  const [n, r] = we(e, t.start, t.end);
274
261
  return { start: n, end: r };
275
262
  }
276
- function Jn(e, t) {
263
+ function Xn(e, t) {
277
264
  const { start: n, end: r } = Et(t == null ? void 0 : t.in, e);
278
265
  let a = +n > +r;
279
266
  const s = a ? +n : +r, o = a ? r : n;
@@ -284,11 +271,11 @@ function Jn(e, t) {
284
271
  d.push(I(n, o)), o.setMonth(o.getMonth() + i);
285
272
  return a ? d.reverse() : d;
286
273
  }
287
- function Zn(e, t) {
274
+ function Kn(e, t) {
288
275
  const n = P(e, t == null ? void 0 : t.in);
289
276
  return n.setDate(1), n.setHours(0, 0, 0, 0), n;
290
277
  }
291
- function Ln(e, t) {
278
+ function Jn(e, t) {
292
279
  const n = P(e, t == null ? void 0 : t.in), r = n.getFullYear();
293
280
  return n.setFullYear(r + 1, 0, 0), n.setHours(23, 59, 59, 999), n;
294
281
  }
@@ -296,7 +283,7 @@ function Ft(e, t) {
296
283
  const n = P(e, t == null ? void 0 : t.in);
297
284
  return n.setFullYear(n.getFullYear(), 0, 1), n.setHours(0, 0, 0, 0), n;
298
285
  }
299
- function er(e, t) {
286
+ function Zn(e, t) {
300
287
  const { start: n, end: r } = Et(t == null ? void 0 : t.in, e);
301
288
  let a = +n > +r;
302
289
  const s = a ? +n : +r, o = a ? r : n;
@@ -312,10 +299,10 @@ function Bt(e, t) {
312
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);
313
300
  return a.setDate(a.getDate() + o), a.setHours(23, 59, 59, 999), a;
314
301
  }
315
- function tr(e, t) {
302
+ function Ln(e, t) {
316
303
  return Bt(e, { ...t, weekStartsOn: 1 });
317
304
  }
318
- const nr = {
305
+ const er = {
319
306
  lessThanXSeconds: {
320
307
  one: "less than a second",
321
308
  other: "less than {{count}} seconds"
@@ -377,9 +364,9 @@ const nr = {
377
364
  one: "almost 1 year",
378
365
  other: "almost {{count}} years"
379
366
  }
380
- }, rr = (e, t, n) => {
367
+ }, tr = (e, t, n) => {
381
368
  let r;
382
- const a = nr[e];
369
+ const a = er[e];
383
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;
384
371
  };
385
372
  function qe(e) {
@@ -388,42 +375,42 @@ function qe(e) {
388
375
  return e.formats[n] || e.formats[e.defaultWidth];
389
376
  };
390
377
  }
391
- const ar = {
378
+ const nr = {
392
379
  full: "EEEE, MMMM do, y",
393
380
  long: "MMMM do, y",
394
381
  medium: "MMM d, y",
395
382
  short: "MM/dd/yyyy"
396
- }, sr = {
383
+ }, rr = {
397
384
  full: "h:mm:ss a zzzz",
398
385
  long: "h:mm:ss a z",
399
386
  medium: "h:mm:ss a",
400
387
  short: "h:mm a"
401
- }, or = {
388
+ }, ar = {
402
389
  full: "{{date}} 'at' {{time}}",
403
390
  long: "{{date}} 'at' {{time}}",
404
391
  medium: "{{date}}, {{time}}",
405
392
  short: "{{date}}, {{time}}"
406
- }, ir = {
393
+ }, sr = {
407
394
  date: qe({
408
- formats: ar,
395
+ formats: nr,
409
396
  defaultWidth: "full"
410
397
  }),
411
398
  time: qe({
412
- formats: sr,
399
+ formats: rr,
413
400
  defaultWidth: "full"
414
401
  }),
415
402
  dateTime: qe({
416
- formats: or,
403
+ formats: ar,
417
404
  defaultWidth: "full"
418
405
  })
419
- }, dr = {
406
+ }, or = {
420
407
  lastWeek: "'last' eeee 'at' p",
421
408
  yesterday: "'yesterday at' p",
422
409
  today: "'today at' p",
423
410
  tomorrow: "'tomorrow at' p",
424
411
  nextWeek: "eeee 'at' p",
425
412
  other: "P"
426
- }, cr = (e, t, n, r) => dr[e];
413
+ }, ir = (e, t, n, r) => or[e];
427
414
  function me(e) {
428
415
  return (t, n) => {
429
416
  const r = n != null && n.context ? String(n.context) : "standalone";
@@ -439,15 +426,15 @@ function me(e) {
439
426
  return a[s];
440
427
  };
441
428
  }
442
- const ur = {
429
+ const dr = {
443
430
  narrow: ["B", "A"],
444
431
  abbreviated: ["BC", "AD"],
445
432
  wide: ["Before Christ", "Anno Domini"]
446
- }, fr = {
433
+ }, cr = {
447
434
  narrow: ["1", "2", "3", "4"],
448
435
  abbreviated: ["Q1", "Q2", "Q3", "Q4"],
449
436
  wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
450
- }, lr = {
437
+ }, ur = {
451
438
  narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
452
439
  abbreviated: [
453
440
  "Jan",
@@ -477,7 +464,7 @@ const ur = {
477
464
  "November",
478
465
  "December"
479
466
  ]
480
- }, hr = {
467
+ }, fr = {
481
468
  narrow: ["S", "M", "T", "W", "T", "F", "S"],
482
469
  short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
483
470
  abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
@@ -490,7 +477,7 @@ const ur = {
490
477
  "Friday",
491
478
  "Saturday"
492
479
  ]
493
- }, mr = {
480
+ }, lr = {
494
481
  narrow: {
495
482
  am: "a",
496
483
  pm: "p",
@@ -521,7 +508,7 @@ const ur = {
521
508
  evening: "evening",
522
509
  night: "night"
523
510
  }
524
- }, yr = {
511
+ }, hr = {
525
512
  narrow: {
526
513
  am: "a",
527
514
  pm: "p",
@@ -552,7 +539,7 @@ const ur = {
552
539
  evening: "in the evening",
553
540
  night: "at night"
554
541
  }
555
- }, gr = (e, t) => {
542
+ }, mr = (e, t) => {
556
543
  const n = Number(e), r = n % 100;
557
544
  if (r > 20 || r < 10)
558
545
  switch (r % 10) {
@@ -564,29 +551,29 @@ const ur = {
564
551
  return n + "rd";
565
552
  }
566
553
  return n + "th";
567
- }, br = {
568
- ordinalNumber: gr,
554
+ }, yr = {
555
+ ordinalNumber: mr,
569
556
  era: me({
570
- values: ur,
557
+ values: dr,
571
558
  defaultWidth: "wide"
572
559
  }),
573
560
  quarter: me({
574
- values: fr,
561
+ values: cr,
575
562
  defaultWidth: "wide",
576
563
  argumentCallback: (e) => e - 1
577
564
  }),
578
565
  month: me({
579
- values: lr,
566
+ values: ur,
580
567
  defaultWidth: "wide"
581
568
  }),
582
569
  day: me({
583
- values: hr,
570
+ values: fr,
584
571
  defaultWidth: "wide"
585
572
  }),
586
573
  dayPeriod: me({
587
- values: mr,
574
+ values: lr,
588
575
  defaultWidth: "wide",
589
- formattingValues: yr,
576
+ formattingValues: hr,
590
577
  defaultFormattingWidth: "wide"
591
578
  })
592
579
  };
@@ -595,9 +582,9 @@ function ye(e) {
595
582
  const r = n.width, a = r && e.matchPatterns[r] || e.matchPatterns[e.defaultMatchWidth], s = t.match(a);
596
583
  if (!s)
597
584
  return null;
598
- const o = s[0], i = r && e.parsePatterns[r] || e.parsePatterns[e.defaultParseWidth], d = Array.isArray(i) ? wr(i, (f) => f.test(o)) : (
585
+ const o = s[0], i = r && e.parsePatterns[r] || e.parsePatterns[e.defaultParseWidth], d = Array.isArray(i) ? br(i, (f) => f.test(o)) : (
599
586
  // [TODO] -- I challenge you to fix the type
600
- Mr(i, (f) => f.test(o))
587
+ gr(i, (f) => f.test(o))
601
588
  );
602
589
  let c;
603
590
  c = e.valueCallback ? e.valueCallback(d) : d, c = n.valueCallback ? (
@@ -608,17 +595,17 @@ function ye(e) {
608
595
  return { value: c, rest: u };
609
596
  };
610
597
  }
611
- function Mr(e, t) {
598
+ function gr(e, t) {
612
599
  for (const n in e)
613
600
  if (Object.prototype.hasOwnProperty.call(e, n) && t(e[n]))
614
601
  return n;
615
602
  }
616
- function wr(e, t) {
603
+ function br(e, t) {
617
604
  for (let n = 0; n < e.length; n++)
618
605
  if (t(e[n]))
619
606
  return n;
620
607
  }
621
- function vr(e) {
608
+ function Mr(e) {
622
609
  return (t, n = {}) => {
623
610
  const r = t.match(e.matchPattern);
624
611
  if (!r) return null;
@@ -630,23 +617,23 @@ function vr(e) {
630
617
  return { value: o, rest: i };
631
618
  };
632
619
  }
633
- const kr = /^(\d+)(th|st|nd|rd)?/i, Dr = /\d+/i, Or = {
620
+ const wr = /^(\d+)(th|st|nd|rd)?/i, vr = /\d+/i, kr = {
634
621
  narrow: /^(b|a)/i,
635
622
  abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
636
623
  wide: /^(before christ|before common era|anno domini|common era)/i
637
- }, pr = {
624
+ }, Dr = {
638
625
  any: [/^b/i, /^(a|c)/i]
639
- }, Wr = {
626
+ }, Or = {
640
627
  narrow: /^[1234]/i,
641
628
  abbreviated: /^q[1234]/i,
642
629
  wide: /^[1234](th|st|nd|rd)? quarter/i
643
- }, Sr = {
630
+ }, pr = {
644
631
  any: [/1/i, /2/i, /3/i, /4/i]
645
- }, Nr = {
632
+ }, Wr = {
646
633
  narrow: /^[jfmasond]/i,
647
634
  abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
648
635
  wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
649
- }, Cr = {
636
+ }, Sr = {
650
637
  narrow: [
651
638
  /^j/i,
652
639
  /^f/i,
@@ -675,18 +662,18 @@ const kr = /^(\d+)(th|st|nd|rd)?/i, Dr = /\d+/i, Or = {
675
662
  /^n/i,
676
663
  /^d/i
677
664
  ]
678
- }, xr = {
665
+ }, Nr = {
679
666
  narrow: /^[smtwf]/i,
680
667
  short: /^(su|mo|tu|we|th|fr|sa)/i,
681
668
  abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
682
669
  wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
683
- }, _r = {
670
+ }, Cr = {
684
671
  narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
685
672
  any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
686
- }, Yr = {
673
+ }, xr = {
687
674
  narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
688
675
  any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
689
- }, Tr = {
676
+ }, _r = {
690
677
  any: {
691
678
  am: /^a/i,
692
679
  pm: /^p/i,
@@ -697,64 +684,64 @@ const kr = /^(\d+)(th|st|nd|rd)?/i, Dr = /\d+/i, Or = {
697
684
  evening: /evening/i,
698
685
  night: /night/i
699
686
  }
700
- }, Pr = {
701
- ordinalNumber: vr({
702
- matchPattern: kr,
703
- parsePattern: Dr,
687
+ }, Yr = {
688
+ ordinalNumber: Mr({
689
+ matchPattern: wr,
690
+ parsePattern: vr,
704
691
  valueCallback: (e) => parseInt(e, 10)
705
692
  }),
706
693
  era: ye({
707
- matchPatterns: Or,
694
+ matchPatterns: kr,
708
695
  defaultMatchWidth: "wide",
709
- parsePatterns: pr,
696
+ parsePatterns: Dr,
710
697
  defaultParseWidth: "any"
711
698
  }),
712
699
  quarter: ye({
713
- matchPatterns: Wr,
700
+ matchPatterns: Or,
714
701
  defaultMatchWidth: "wide",
715
- parsePatterns: Sr,
702
+ parsePatterns: pr,
716
703
  defaultParseWidth: "any",
717
704
  valueCallback: (e) => e + 1
718
705
  }),
719
706
  month: ye({
720
- matchPatterns: Nr,
707
+ matchPatterns: Wr,
721
708
  defaultMatchWidth: "wide",
722
- parsePatterns: Cr,
709
+ parsePatterns: Sr,
723
710
  defaultParseWidth: "any"
724
711
  }),
725
712
  day: ye({
726
- matchPatterns: xr,
713
+ matchPatterns: Nr,
727
714
  defaultMatchWidth: "wide",
728
- parsePatterns: _r,
715
+ parsePatterns: Cr,
729
716
  defaultParseWidth: "any"
730
717
  }),
731
718
  dayPeriod: ye({
732
- matchPatterns: Yr,
719
+ matchPatterns: xr,
733
720
  defaultMatchWidth: "any",
734
- parsePatterns: Tr,
721
+ parsePatterns: _r,
735
722
  defaultParseWidth: "any"
736
723
  })
737
724
  }, oe = {
738
725
  code: "en-US",
739
- formatDistance: rr,
740
- formatLong: ir,
741
- formatRelative: cr,
742
- localize: br,
743
- match: Pr,
726
+ formatDistance: tr,
727
+ formatLong: sr,
728
+ formatRelative: ir,
729
+ localize: yr,
730
+ match: Yr,
744
731
  options: {
745
732
  weekStartsOn: 0,
746
733
  firstWeekContainsDate: 1
747
734
  }
748
- }, Er = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
735
+ }, Tr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
749
736
  __proto__: null,
750
737
  enUS: oe
751
738
  }, Symbol.toStringTag, { value: "Module" }));
752
- function Fr(e, t) {
739
+ function Pr(e, t) {
753
740
  const n = P(e, t == null ? void 0 : t.in);
754
741
  return Je(n, Ft(n)) + 1;
755
742
  }
756
743
  function Ze(e, t) {
757
- const n = P(e, t == null ? void 0 : t.in), r = +Me(n) - +Gn(n);
744
+ const n = P(e, t == null ? void 0 : t.in), r = +Me(n) - +jn(n);
758
745
  return Math.round(r / Nt) + 1;
759
746
  }
760
747
  function It(e, t) {
@@ -766,13 +753,13 @@ function It(e, t) {
766
753
  const c = fe(d, t);
767
754
  return +n >= +i ? r + 1 : +n >= +c ? r : r - 1;
768
755
  }
769
- function Br(e, t) {
756
+ function Er(e, t) {
770
757
  var i, d, c, u;
771
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);
772
759
  return s.setFullYear(a, 0, r), s.setHours(0, 0, 0, 0), fe(s, t);
773
760
  }
774
761
  function Le(e, t) {
775
- const n = P(e, t == null ? void 0 : t.in), r = +fe(n, t) - +Br(n, t);
762
+ const n = P(e, t == null ? void 0 : t.in), r = +fe(n, t) - +Er(n, t);
776
763
  return Math.round(r / Nt) + 1;
777
764
  }
778
765
  function Y(e, t) {
@@ -1037,7 +1024,7 @@ const ae = {
1037
1024
  },
1038
1025
  // Day of year
1039
1026
  D: function(e, t, n) {
1040
- const r = Fr(e);
1027
+ const r = Pr(e);
1041
1028
  return t === "Do" ? n.ordinalNumber(r, { unit: "dayOfYear" }) : Y(r, t.length);
1042
1029
  },
1043
1030
  // Day of week
@@ -1430,7 +1417,7 @@ const Mt = (e, t) => {
1430
1417
  default:
1431
1418
  return t.time({ width: "full" });
1432
1419
  }
1433
- }, Ir = (e, t) => {
1420
+ }, Fr = (e, t) => {
1434
1421
  const n = e.match(/(P+)(p+)?/) || [], r = n[1], a = n[2];
1435
1422
  if (!a)
1436
1423
  return Mt(e, t);
@@ -1451,46 +1438,46 @@ const Mt = (e, t) => {
1451
1438
  break;
1452
1439
  }
1453
1440
  return s.replace("{{date}}", Mt(r, t)).replace("{{time}}", Ht(a, t));
1454
- }, Hr = {
1441
+ }, Br = {
1455
1442
  p: Ht,
1456
- P: Ir
1457
- }, Ar = /^D+$/, zr = /^Y+$/, qr = ["D", "DD", "YY", "YYYY"];
1458
- function jr(e) {
1459
- return Ar.test(e);
1443
+ P: Fr
1444
+ }, Ir = /^D+$/, Hr = /^Y+$/, Ar = ["D", "DD", "YY", "YYYY"];
1445
+ function zr(e) {
1446
+ return Ir.test(e);
1460
1447
  }
1461
- function $r(e) {
1462
- return zr.test(e);
1448
+ function qr(e) {
1449
+ return Hr.test(e);
1463
1450
  }
1464
- function Gr(e, t, n) {
1465
- const r = Rr(e, t, n);
1466
- if (console.warn(r), qr.includes(e)) throw new RangeError(r);
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);
1467
1454
  }
1468
- function Rr(e, t, n) {
1455
+ function $r(e, t, n) {
1469
1456
  const r = e[0] === "Y" ? "years" : "days of the month";
1470
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`;
1471
1458
  }
1472
- const Vr = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Ur = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Qr = /^'([^]*?)'?$/, Xr = /''/g, Kr = /[a-zA-Z]/;
1459
+ const Gr = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Rr = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Vr = /^'([^]*?)'?$/, Ur = /''/g, Qr = /[a-zA-Z]/;
1473
1460
  function be(e, t, n) {
1474
1461
  var u, f, h, g, D, p, k, N;
1475
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);
1476
- if (!Xn(i))
1463
+ if (!Un(i))
1477
1464
  throw new RangeError("Invalid time value");
1478
- let d = t.match(Ur).map((M) => {
1465
+ let d = t.match(Rr).map((M) => {
1479
1466
  const b = M[0];
1480
1467
  if (b === "p" || b === "P") {
1481
- const W = Hr[b];
1468
+ const W = Br[b];
1482
1469
  return W(M, a.formatLong);
1483
1470
  }
1484
1471
  return M;
1485
- }).join("").match(Vr).map((M) => {
1472
+ }).join("").match(Gr).map((M) => {
1486
1473
  if (M === "''")
1487
1474
  return { isToken: !1, value: "'" };
1488
1475
  const b = M[0];
1489
1476
  if (b === "'")
1490
- return { isToken: !1, value: Jr(M) };
1477
+ return { isToken: !1, value: Xr(M) };
1491
1478
  if (yt[b])
1492
1479
  return { isToken: !0, value: M };
1493
- if (b.match(Kr))
1480
+ if (b.match(Qr))
1494
1481
  throw new RangeError(
1495
1482
  "Format string contains an unescaped latin alphabet character `" + b + "`"
1496
1483
  );
@@ -1505,32 +1492,32 @@ function be(e, t, n) {
1505
1492
  return d.map((M) => {
1506
1493
  if (!M.isToken) return M.value;
1507
1494
  const b = M.value;
1508
- (!(n != null && n.useAdditionalWeekYearTokens) && $r(b) || !(n != null && n.useAdditionalDayOfYearTokens) && jr(b)) && Gr(b, t, String(e));
1495
+ (!(n != null && n.useAdditionalWeekYearTokens) && qr(b) || !(n != null && n.useAdditionalDayOfYearTokens) && zr(b)) && jr(b, t, String(e));
1509
1496
  const W = yt[b[0]];
1510
1497
  return W(i, b, a.localize, c);
1511
1498
  }).join("");
1512
1499
  }
1513
- function Jr(e) {
1514
- const t = e.match(Qr);
1515
- return t ? t[1].replace(Xr, "'") : e;
1500
+ function Xr(e) {
1501
+ const t = e.match(Vr);
1502
+ return t ? t[1].replace(Ur, "'") : e;
1516
1503
  }
1517
- function Zr(e, t) {
1504
+ function Kr(e, t) {
1518
1505
  const n = P(e, t == null ? void 0 : t.in), r = n.getFullYear(), a = n.getMonth(), s = I(n, 0);
1519
1506
  return s.setFullYear(r, a + 1, 0), s.setHours(0, 0, 0, 0), s.getDate();
1520
1507
  }
1521
- function Lr(e, t) {
1508
+ function Jr(e, t) {
1522
1509
  return P(e, t == null ? void 0 : t.in).getMonth();
1523
1510
  }
1524
- function ea(e, t) {
1511
+ function Zr(e, t) {
1525
1512
  return P(e, t == null ? void 0 : t.in).getFullYear();
1526
1513
  }
1527
- function ta(e, t) {
1514
+ function Lr(e, t) {
1528
1515
  return +P(e) > +P(t);
1529
1516
  }
1530
- function na(e, t) {
1517
+ function ea(e, t) {
1531
1518
  return +P(e) < +P(t);
1532
1519
  }
1533
- function ra(e, t, n) {
1520
+ function ta(e, t, n) {
1534
1521
  const [r, a] = we(
1535
1522
  n == null ? void 0 : n.in,
1536
1523
  e,
@@ -1538,7 +1525,7 @@ function ra(e, t, n) {
1538
1525
  );
1539
1526
  return r.getFullYear() === a.getFullYear() && r.getMonth() === a.getMonth();
1540
1527
  }
1541
- function aa(e, t, n) {
1528
+ function na(e, t, n) {
1542
1529
  const [r, a] = we(
1543
1530
  n == null ? void 0 : n.in,
1544
1531
  e,
@@ -1546,27 +1533,27 @@ function aa(e, t, n) {
1546
1533
  );
1547
1534
  return r.getFullYear() === a.getFullYear();
1548
1535
  }
1549
- function sa(e, t, n) {
1536
+ function ra(e, t, n) {
1550
1537
  const r = P(e, n == null ? void 0 : n.in), a = r.getFullYear(), s = r.getDate(), o = I(e, 0);
1551
1538
  o.setFullYear(a, t, 15), o.setHours(0, 0, 0, 0);
1552
- const i = Zr(o);
1539
+ const i = Kr(o);
1553
1540
  return r.setMonth(t, Math.min(s, i)), r;
1554
1541
  }
1555
- function oa(e, t, n) {
1542
+ function aa(e, t, n) {
1556
1543
  const r = P(e, n == null ? void 0 : n.in);
1557
1544
  return isNaN(+r) ? I(e, NaN) : (r.setFullYear(t), r);
1558
1545
  }
1559
- const wt = 5, ia = 4;
1560
- function da(e, t) {
1546
+ const wt = 5, sa = 4;
1547
+ function oa(e, t) {
1561
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);
1562
- return t.getMonth(e) === t.getMonth(s) ? wt : ia;
1549
+ return t.getMonth(e) === t.getMonth(s) ? wt : sa;
1563
1550
  }
1564
1551
  function At(e, t) {
1565
1552
  const n = t.startOfMonth(e), r = n.getDay();
1566
1553
  return r === 1 ? n : r === 0 ? t.addDays(n, -6) : t.addDays(n, -1 * (r - 1));
1567
1554
  }
1568
- function ca(e, t) {
1569
- const n = At(e, t), r = da(e, t);
1555
+ function ia(e, t) {
1556
+ const n = At(e, t), r = oa(e, t);
1570
1557
  return t.addDays(n, r * 7 - 1);
1571
1558
  }
1572
1559
  const zt = {
@@ -1623,10 +1610,10 @@ class j {
1623
1610
  return (s = this.overrides) != null && s.addMonths ? this.overrides.addMonths(r, a) : _t(r, a);
1624
1611
  }, this.addWeeks = (r, a) => {
1625
1612
  var s;
1626
- return (s = this.overrides) != null && s.addWeeks ? this.overrides.addWeeks(r, a) : Rn(r, a);
1613
+ return (s = this.overrides) != null && s.addWeeks ? this.overrides.addWeeks(r, a) : $n(r, a);
1627
1614
  }, this.addYears = (r, a) => {
1628
1615
  var s;
1629
- return (s = this.overrides) != null && s.addYears ? this.overrides.addYears(r, a) : Vn(r, a);
1616
+ return (s = this.overrides) != null && s.addYears ? this.overrides.addYears(r, a) : Gn(r, a);
1630
1617
  }, this.differenceInCalendarDays = (r, a) => {
1631
1618
  var s;
1632
1619
  return (s = this.overrides) != null && s.differenceInCalendarDays ? this.overrides.differenceInCalendarDays(r, a) : Je(r, a);
@@ -1635,10 +1622,10 @@ class j {
1635
1622
  return (s = this.overrides) != null && s.differenceInCalendarMonths ? this.overrides.differenceInCalendarMonths(r, a) : Pt(r, a);
1636
1623
  }, this.eachMonthOfInterval = (r) => {
1637
1624
  var a;
1638
- return (a = this.overrides) != null && a.eachMonthOfInterval ? this.overrides.eachMonthOfInterval(r) : Jn(r);
1625
+ return (a = this.overrides) != null && a.eachMonthOfInterval ? this.overrides.eachMonthOfInterval(r) : Xn(r);
1639
1626
  }, this.eachYearOfInterval = (r) => {
1640
1627
  var i;
1641
- const a = (i = this.overrides) != null && i.eachYearOfInterval ? this.overrides.eachYearOfInterval(r) : er(r), s = new Set(a.map((d) => this.getYear(d)));
1628
+ const a = (i = this.overrides) != null && i.eachYearOfInterval ? this.overrides.eachYearOfInterval(r) : Zn(r), s = new Set(a.map((d) => this.getYear(d)));
1642
1629
  if (s.size === a.length)
1643
1630
  return a;
1644
1631
  const o = [];
@@ -1647,19 +1634,19 @@ class j {
1647
1634
  }), o;
1648
1635
  }, this.endOfBroadcastWeek = (r) => {
1649
1636
  var a;
1650
- return (a = this.overrides) != null && a.endOfBroadcastWeek ? this.overrides.endOfBroadcastWeek(r) : ca(r, this);
1637
+ return (a = this.overrides) != null && a.endOfBroadcastWeek ? this.overrides.endOfBroadcastWeek(r) : ia(r, this);
1651
1638
  }, this.endOfISOWeek = (r) => {
1652
1639
  var a;
1653
- return (a = this.overrides) != null && a.endOfISOWeek ? this.overrides.endOfISOWeek(r) : tr(r);
1640
+ return (a = this.overrides) != null && a.endOfISOWeek ? this.overrides.endOfISOWeek(r) : Ln(r);
1654
1641
  }, this.endOfMonth = (r) => {
1655
1642
  var a;
1656
- return (a = this.overrides) != null && a.endOfMonth ? this.overrides.endOfMonth(r) : Kn(r);
1643
+ return (a = this.overrides) != null && a.endOfMonth ? this.overrides.endOfMonth(r) : Qn(r);
1657
1644
  }, this.endOfWeek = (r, a) => {
1658
1645
  var s;
1659
1646
  return (s = this.overrides) != null && s.endOfWeek ? this.overrides.endOfWeek(r, a) : Bt(r, this.options);
1660
1647
  }, this.endOfYear = (r) => {
1661
1648
  var a;
1662
- return (a = this.overrides) != null && a.endOfYear ? this.overrides.endOfYear(r) : Ln(r);
1649
+ return (a = this.overrides) != null && a.endOfYear ? this.overrides.endOfYear(r) : Jn(r);
1663
1650
  }, this.format = (r, a, s) => {
1664
1651
  var i;
1665
1652
  const o = (i = this.overrides) != null && i.format ? this.overrides.format(r, a, this.options) : be(r, a, this.options);
@@ -1669,43 +1656,43 @@ class j {
1669
1656
  return (a = this.overrides) != null && a.getISOWeek ? this.overrides.getISOWeek(r) : Ze(r);
1670
1657
  }, this.getMonth = (r, a) => {
1671
1658
  var s;
1672
- return (s = this.overrides) != null && s.getMonth ? this.overrides.getMonth(r, this.options) : Lr(r, this.options);
1659
+ return (s = this.overrides) != null && s.getMonth ? this.overrides.getMonth(r, this.options) : Jr(r, this.options);
1673
1660
  }, this.getYear = (r, a) => {
1674
1661
  var s;
1675
- return (s = this.overrides) != null && s.getYear ? this.overrides.getYear(r, this.options) : ea(r, this.options);
1662
+ return (s = this.overrides) != null && s.getYear ? this.overrides.getYear(r, this.options) : Zr(r, this.options);
1676
1663
  }, this.getWeek = (r, a) => {
1677
1664
  var s;
1678
1665
  return (s = this.overrides) != null && s.getWeek ? this.overrides.getWeek(r, this.options) : Le(r, this.options);
1679
1666
  }, this.isAfter = (r, a) => {
1680
1667
  var s;
1681
- return (s = this.overrides) != null && s.isAfter ? this.overrides.isAfter(r, a) : ta(r, a);
1668
+ return (s = this.overrides) != null && s.isAfter ? this.overrides.isAfter(r, a) : Lr(r, a);
1682
1669
  }, this.isBefore = (r, a) => {
1683
1670
  var s;
1684
- return (s = this.overrides) != null && s.isBefore ? this.overrides.isBefore(r, a) : na(r, a);
1671
+ return (s = this.overrides) != null && s.isBefore ? this.overrides.isBefore(r, a) : ea(r, a);
1685
1672
  }, this.isDate = (r) => {
1686
1673
  var a;
1687
1674
  return (a = this.overrides) != null && a.isDate ? this.overrides.isDate(r) : Tt(r);
1688
1675
  }, this.isSameDay = (r, a) => {
1689
1676
  var s;
1690
- return (s = this.overrides) != null && s.isSameDay ? this.overrides.isSameDay(r, a) : Bn(r, a);
1677
+ return (s = this.overrides) != null && s.isSameDay ? this.overrides.isSameDay(r, a) : Fn(r, a);
1691
1678
  }, this.isSameMonth = (r, a) => {
1692
1679
  var s;
1693
- return (s = this.overrides) != null && s.isSameMonth ? this.overrides.isSameMonth(r, a) : ra(r, a);
1680
+ return (s = this.overrides) != null && s.isSameMonth ? this.overrides.isSameMonth(r, a) : ta(r, a);
1694
1681
  }, this.isSameYear = (r, a) => {
1695
1682
  var s;
1696
- return (s = this.overrides) != null && s.isSameYear ? this.overrides.isSameYear(r, a) : aa(r, a);
1683
+ return (s = this.overrides) != null && s.isSameYear ? this.overrides.isSameYear(r, a) : na(r, a);
1697
1684
  }, this.max = (r) => {
1698
1685
  var a;
1699
- return (a = this.overrides) != null && a.max ? this.overrides.max(r) : Un(r);
1686
+ return (a = this.overrides) != null && a.max ? this.overrides.max(r) : Rn(r);
1700
1687
  }, this.min = (r) => {
1701
1688
  var a;
1702
- return (a = this.overrides) != null && a.min ? this.overrides.min(r) : Qn(r);
1689
+ return (a = this.overrides) != null && a.min ? this.overrides.min(r) : Vn(r);
1703
1690
  }, this.setMonth = (r, a) => {
1704
1691
  var s;
1705
- return (s = this.overrides) != null && s.setMonth ? this.overrides.setMonth(r, a) : sa(r, a);
1692
+ return (s = this.overrides) != null && s.setMonth ? this.overrides.setMonth(r, a) : ra(r, a);
1706
1693
  }, this.setYear = (r, a) => {
1707
1694
  var s;
1708
- return (s = this.overrides) != null && s.setYear ? this.overrides.setYear(r, a) : oa(r, a);
1695
+ return (s = this.overrides) != null && s.setYear ? this.overrides.setYear(r, a) : aa(r, a);
1709
1696
  }, this.startOfBroadcastWeek = (r, a) => {
1710
1697
  var s;
1711
1698
  return (s = this.overrides) != null && s.startOfBroadcastWeek ? this.overrides.startOfBroadcastWeek(r, this) : At(r, this);
@@ -1717,7 +1704,7 @@ class j {
1717
1704
  return (a = this.overrides) != null && a.startOfISOWeek ? this.overrides.startOfISOWeek(r) : Me(r);
1718
1705
  }, this.startOfMonth = (r) => {
1719
1706
  var a;
1720
- return (a = this.overrides) != null && a.startOfMonth ? this.overrides.startOfMonth(r) : Zn(r);
1707
+ return (a = this.overrides) != null && a.startOfMonth ? this.overrides.startOfMonth(r) : Kn(r);
1721
1708
  }, this.startOfWeek = (r, a) => {
1722
1709
  var s;
1723
1710
  return (s = this.overrides) != null && s.startOfWeek ? this.overrides.startOfWeek(r, this.options) : fe(r, this.options);
@@ -1827,23 +1814,23 @@ class qt {
1827
1814
  return this.dateLib.isSameDay(t.date, this.date) && this.dateLib.isSameMonth(t.displayMonth, this.displayMonth);
1828
1815
  }
1829
1816
  }
1830
- class ua {
1817
+ class da {
1831
1818
  constructor(t, n) {
1832
1819
  this.date = t, this.weeks = n;
1833
1820
  }
1834
1821
  }
1835
- class fa {
1822
+ class ca {
1836
1823
  constructor(t, n) {
1837
1824
  this.days = n, this.weekNumber = t;
1838
1825
  }
1839
1826
  }
1840
- function la(e) {
1827
+ function ua(e) {
1841
1828
  return y.createElement("button", { ...e });
1842
1829
  }
1843
- function ha(e) {
1830
+ function fa(e) {
1844
1831
  return y.createElement("span", { ...e });
1845
1832
  }
1846
- function ma(e) {
1833
+ function la(e) {
1847
1834
  const { size: t = 24, orientation: n = "left", className: r } = e;
1848
1835
  return (
1849
1836
  // biome-ignore lint/a11y/noSvgWithoutTitle: handled by the parent component
@@ -1857,11 +1844,11 @@ function ma(e) {
1857
1844
  )
1858
1845
  );
1859
1846
  }
1860
- function ya(e) {
1847
+ function ha(e) {
1861
1848
  const { day: t, modifiers: n, ...r } = e;
1862
1849
  return y.createElement("td", { ...r });
1863
1850
  }
1864
- function ga(e) {
1851
+ function ma(e) {
1865
1852
  const { day: t, modifiers: n, ...r } = e, a = y.useRef(null);
1866
1853
  return y.useEffect(() => {
1867
1854
  var s;
@@ -1884,7 +1871,7 @@ var q;
1884
1871
  (function(e) {
1885
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";
1886
1873
  })(q || (q = {}));
1887
- function ba(e) {
1874
+ function ya(e) {
1888
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);
1889
1876
  return y.createElement(
1890
1877
  "span",
@@ -1898,38 +1885,38 @@ function ba(e) {
1898
1885
  )
1899
1886
  );
1900
1887
  }
1901
- function Ma(e) {
1888
+ function ga(e) {
1902
1889
  return y.createElement("div", { ...e });
1903
1890
  }
1904
- function wa(e) {
1891
+ function ba(e) {
1905
1892
  return y.createElement("div", { ...e });
1906
1893
  }
1907
- function va(e) {
1894
+ function Ma(e) {
1908
1895
  const { calendarMonth: t, displayIndex: n, ...r } = e;
1909
1896
  return y.createElement("div", { ...r }, e.children);
1910
1897
  }
1911
- function ka(e) {
1898
+ function wa(e) {
1912
1899
  const { calendarMonth: t, displayIndex: n, ...r } = e;
1913
1900
  return y.createElement("div", { ...r });
1914
1901
  }
1915
- function Da(e) {
1902
+ function va(e) {
1916
1903
  return y.createElement("table", { ...e });
1917
1904
  }
1918
- function Oa(e) {
1905
+ function ka(e) {
1919
1906
  return y.createElement("div", { ...e });
1920
1907
  }
1921
- const jt = Tn(void 0);
1908
+ const jt = Yn(void 0);
1922
1909
  function ke() {
1923
- const e = Pn(jt);
1910
+ const e = Tn(jt);
1924
1911
  if (e === void 0)
1925
1912
  throw new Error("useDayPicker() must be used within a custom component.");
1926
1913
  return e;
1927
1914
  }
1928
- function pa(e) {
1915
+ function Da(e) {
1929
1916
  const { components: t } = ke();
1930
1917
  return y.createElement(t.Dropdown, { ...e });
1931
1918
  }
1932
- function Wa(e) {
1919
+ function Oa(e) {
1933
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) => {
1934
1921
  a && (n == null || n(h));
1935
1922
  }, [a, n]), f = R((h) => {
@@ -1950,80 +1937,80 @@ function Wa(e) {
1950
1937
  )
1951
1938
  );
1952
1939
  }
1953
- function Sa(e) {
1940
+ function pa(e) {
1954
1941
  const { components: t } = ke();
1955
1942
  return y.createElement(t.Button, { ...e });
1956
1943
  }
1957
- function Na(e) {
1944
+ function Wa(e) {
1958
1945
  return y.createElement("option", { ...e });
1959
1946
  }
1960
- function Ca(e) {
1947
+ function Sa(e) {
1961
1948
  const { components: t } = ke();
1962
1949
  return y.createElement(t.Button, { ...e });
1963
1950
  }
1964
- function xa(e) {
1951
+ function Na(e) {
1965
1952
  const { rootRef: t, ...n } = e;
1966
1953
  return y.createElement("div", { ...n, ref: t });
1967
1954
  }
1968
- function _a(e) {
1955
+ function Ca(e) {
1969
1956
  return y.createElement("select", { ...e });
1970
1957
  }
1971
- function Ya(e) {
1958
+ function xa(e) {
1972
1959
  const { week: t, ...n } = e;
1973
1960
  return y.createElement("tr", { ...n });
1974
1961
  }
1975
- function Ta(e) {
1962
+ function _a(e) {
1976
1963
  return y.createElement("th", { ...e });
1977
1964
  }
1978
- function Pa(e) {
1965
+ function Ya(e) {
1979
1966
  return y.createElement(
1980
1967
  "thead",
1981
1968
  { "aria-hidden": !0 },
1982
1969
  y.createElement("tr", { ...e })
1983
1970
  );
1984
1971
  }
1985
- function Ea(e) {
1972
+ function Ta(e) {
1986
1973
  const { week: t, ...n } = e;
1987
1974
  return y.createElement("th", { ...n });
1988
1975
  }
1989
- function Fa(e) {
1976
+ function Pa(e) {
1990
1977
  return y.createElement("th", { ...e });
1991
1978
  }
1992
- function Ba(e) {
1979
+ function Ea(e) {
1993
1980
  return y.createElement("tbody", { ...e });
1994
1981
  }
1995
- function Ia(e) {
1982
+ function Fa(e) {
1996
1983
  const { components: t } = ke();
1997
1984
  return y.createElement(t.Dropdown, { ...e });
1998
1985
  }
1999
- const Ha = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1986
+ const Ba = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2000
1987
  __proto__: null,
2001
- Button: la,
2002
- CaptionLabel: ha,
2003
- Chevron: ma,
2004
- Day: ya,
2005
- DayButton: ga,
2006
- Dropdown: ba,
2007
- DropdownNav: Ma,
2008
- Footer: wa,
2009
- Month: va,
2010
- MonthCaption: ka,
2011
- MonthGrid: Da,
2012
- Months: Oa,
2013
- MonthsDropdown: pa,
2014
- Nav: Wa,
2015
- NextMonthButton: Sa,
2016
- Option: Na,
2017
- PreviousMonthButton: Ca,
2018
- Root: xa,
2019
- Select: _a,
2020
- Week: Ya,
2021
- WeekNumber: Ea,
2022
- WeekNumberHeader: Fa,
2023
- Weekday: Ta,
2024
- Weekdays: Pa,
2025
- Weeks: Ba,
2026
- YearsDropdown: Ia
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
2027
2014
  }, Symbol.toStringTag, { value: "Module" }));
2028
2015
  function te(e, t, n = !1, r = Z) {
2029
2016
  let { from: a, to: s } = e;
@@ -2068,7 +2055,7 @@ function ne(e, t, n = Z) {
2068
2055
  return tt(i) ? s(e, i.after) > 0 : nt(i) ? s(i.before, e) > 0 : typeof i == "function" ? i(e) : !1;
2069
2056
  });
2070
2057
  }
2071
- function Aa(e, t, n, r, a) {
2058
+ function Ia(e, t, n, r, a) {
2072
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 = {
2073
2060
  [T.focused]: [],
2074
2061
  [T.outside]: [],
@@ -2105,16 +2092,16 @@ function Aa(e, t, n, r, a) {
2105
2092
  };
2106
2093
  };
2107
2094
  }
2108
- function za(e, t, n = {}) {
2095
+ function Ha(e, t, n = {}) {
2109
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]]);
2110
2097
  }
2111
- function qa(e) {
2098
+ function Aa(e) {
2112
2099
  return {
2113
- ...Ha,
2100
+ ...Ba,
2114
2101
  ...e
2115
2102
  };
2116
2103
  }
2117
- function ja(e) {
2104
+ function za(e) {
2118
2105
  const t = {
2119
2106
  "data-mode": e.mode ?? void 0,
2120
2107
  "data-required": "required" in e ? e.required : void 0,
@@ -2127,7 +2114,7 @@ function ja(e) {
2127
2114
  n.startsWith("data-") && (t[n] = r);
2128
2115
  }), t;
2129
2116
  }
2130
- function $a() {
2117
+ function qa() {
2131
2118
  const e = {};
2132
2119
  for (const t in m)
2133
2120
  e[m[t]] = `rdp-${m[t]}`;
@@ -2142,40 +2129,40 @@ function $a() {
2142
2129
  function Rt(e, t, n) {
2143
2130
  return (n ?? new j(t)).formatMonthYear(e);
2144
2131
  }
2145
- const Ga = Rt;
2146
- function Ra(e, t, n) {
2132
+ const ja = Rt;
2133
+ function $a(e, t, n) {
2147
2134
  return (n ?? new j(t)).format(e, "d");
2148
2135
  }
2149
- function Va(e, t = Z) {
2136
+ function Ga(e, t = Z) {
2150
2137
  return t.format(e, "LLLL");
2151
2138
  }
2152
- function Ua(e, t, n) {
2139
+ function Ra(e, t, n) {
2153
2140
  return (n ?? new j(t)).format(e, "cccccc");
2154
2141
  }
2155
- function Qa(e, t = Z) {
2142
+ function Va(e, t = Z) {
2156
2143
  return e < 10 ? t.formatNumber(`0${e.toLocaleString()}`) : t.formatNumber(`${e.toLocaleString()}`);
2157
2144
  }
2158
- function Xa() {
2145
+ function Ua() {
2159
2146
  return "";
2160
2147
  }
2161
2148
  function Vt(e, t = Z) {
2162
2149
  return t.format(e, "yyyy");
2163
2150
  }
2164
- const Ka = Vt, Ja = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2151
+ const Qa = Vt, Xa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2165
2152
  __proto__: null,
2166
2153
  formatCaption: Rt,
2167
- formatDay: Ra,
2168
- formatMonthCaption: Ga,
2169
- formatMonthDropdown: Va,
2170
- formatWeekNumber: Qa,
2171
- formatWeekNumberHeader: Xa,
2172
- formatWeekdayName: Ua,
2173
- formatYearCaption: Ka,
2154
+ formatDay: $a,
2155
+ formatMonthCaption: ja,
2156
+ formatMonthDropdown: Ga,
2157
+ formatWeekNumber: Va,
2158
+ formatWeekNumberHeader: Ua,
2159
+ formatWeekdayName: Ra,
2160
+ formatYearCaption: Qa,
2174
2161
  formatYearDropdown: Vt
2175
2162
  }, Symbol.toStringTag, { value: "Module" }));
2176
- function Za(e) {
2163
+ function Ka(e) {
2177
2164
  return e != null && e.formatMonthCaption && !e.formatCaption && (e.formatCaption = e.formatMonthCaption), e != null && e.formatYearCaption && !e.formatYearDropdown && (e.formatYearDropdown = e.formatYearCaption), {
2178
- ...Ja,
2165
+ ...Xa,
2179
2166
  ...e
2180
2167
  };
2181
2168
  }
@@ -2183,11 +2170,11 @@ function rt(e, t, n, r) {
2183
2170
  let a = (r ?? new j(n)).format(e, "PPPP");
2184
2171
  return t.today && (a = `Today, ${a}`), t.selected && (a = `${a}, selected`), a;
2185
2172
  }
2186
- const La = rt;
2173
+ const Ja = rt;
2187
2174
  function at(e, t, n) {
2188
2175
  return (n ?? new j(t)).formatMonthYear(e);
2189
2176
  }
2190
- const es = at;
2177
+ const Za = at;
2191
2178
  function Ut(e, t, n, r) {
2192
2179
  let a = (r ?? new j(n)).format(e, "PPPP");
2193
2180
  return t != null && t.today && (a = `Today, ${a}`), a;
@@ -2198,9 +2185,9 @@ function Qt(e) {
2198
2185
  function Xt() {
2199
2186
  return "";
2200
2187
  }
2201
- const ts = "Go to the Next Month";
2188
+ const La = "Go to the Next Month";
2202
2189
  function Kt(e, t) {
2203
- return ts;
2190
+ return La;
2204
2191
  }
2205
2192
  function Jt(e) {
2206
2193
  return "Go to the Previous Month";
@@ -2217,10 +2204,10 @@ function en(e) {
2217
2204
  function tn(e) {
2218
2205
  return "Choose the Year";
2219
2206
  }
2220
- const ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2207
+ const es = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2221
2208
  __proto__: null,
2222
- labelCaption: es,
2223
- labelDay: La,
2209
+ labelCaption: Za,
2210
+ labelDay: Ja,
2224
2211
  labelDayButton: rt,
2225
2212
  labelGrid: at,
2226
2213
  labelGridcell: Ut,
@@ -2233,11 +2220,11 @@ const ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2233
2220
  labelWeekday: Zt,
2234
2221
  labelYearDropdown: tn
2235
2222
  }, Symbol.toStringTag, { value: "Module" })), X = (e, t, n) => t || (n ? typeof n == "function" ? n : (...r) => n : e);
2236
- function rs(e, t) {
2223
+ function ts(e, t) {
2237
2224
  var r;
2238
2225
  const n = ((r = t.locale) == null ? void 0 : r.labels) ?? {};
2239
2226
  return {
2240
- ...ns,
2227
+ ...es,
2241
2228
  ...e ?? {},
2242
2229
  labelDayButton: X(rt, e == null ? void 0 : e.labelDayButton, n.labelDayButton),
2243
2230
  labelMonthDropdown: X(Qt, e == null ? void 0 : e.labelMonthDropdown, n.labelMonthDropdown),
@@ -2252,7 +2239,7 @@ function rs(e, t) {
2252
2239
  labelWeekday: X(Zt, e == null ? void 0 : e.labelWeekday, n.labelWeekday)
2253
2240
  };
2254
2241
  }
2255
- function as(e, t, n, r, a) {
2242
+ function ns(e, t, n, r, a) {
2256
2243
  const { startOfMonth: s, startOfYear: o, endOfYear: i, eachMonthOfInterval: d, getMonth: c } = a;
2257
2244
  return d({
2258
2245
  start: o(e),
@@ -2262,7 +2249,7 @@ function as(e, t, n, r, a) {
2262
2249
  return { value: D, label: g, disabled: p };
2263
2250
  });
2264
2251
  }
2265
- function ss(e, t = {}, n = {}) {
2252
+ function rs(e, t = {}, n = {}) {
2266
2253
  let r = { ...t == null ? void 0 : t[m.Day] };
2267
2254
  return Object.entries(e).filter(([, a]) => a === !0).forEach(([a]) => {
2268
2255
  r = {
@@ -2271,7 +2258,7 @@ function ss(e, t = {}, n = {}) {
2271
2258
  };
2272
2259
  }), r;
2273
2260
  }
2274
- function os(e, t, n, r) {
2261
+ function as(e, t, n, r) {
2275
2262
  const a = r ?? e.today(), s = n ? e.startOfBroadcastWeek(a, e) : t ? e.startOfISOWeek(a) : e.startOfWeek(a), o = [];
2276
2263
  for (let i = 0; i < 7; i++) {
2277
2264
  const d = e.addDays(s, i);
@@ -2279,7 +2266,7 @@ function os(e, t, n, r) {
2279
2266
  }
2280
2267
  return o;
2281
2268
  }
2282
- function is(e, t, n, r, a = !1) {
2269
+ function ss(e, t, n, r, a = !1) {
2283
2270
  if (!e || !t)
2284
2271
  return;
2285
2272
  const { startOfYear: s, endOfYear: o, eachYearOfInterval: i, getYear: d } = r, c = s(e), u = o(t), f = i({ start: c, end: u });
@@ -2292,7 +2279,7 @@ function is(e, t, n, r, a = !1) {
2292
2279
  };
2293
2280
  });
2294
2281
  }
2295
- function ds(e, t = {}) {
2282
+ function os(e, t = {}) {
2296
2283
  var i;
2297
2284
  const { weekStartsOn: n, locale: r } = t, a = n ?? ((i = r == null ? void 0 : r.options) == null ? void 0 : i.weekStartsOn) ?? 0, s = (d) => {
2298
2285
  const c = typeof d == "number" || typeof d == "string" ? new Date(d) : d;
@@ -2391,10 +2378,10 @@ function ds(e, t = {}) {
2391
2378
  }
2392
2379
  const De = (e) => e instanceof HTMLElement ? e : null, je = (e) => [
2393
2380
  ...e.querySelectorAll("[data-animated-month]") ?? []
2394
- ], cs = (e) => De(e.querySelector("[data-animated-month]")), $e = (e) => De(e.querySelector("[data-animated-caption]")), Ge = (e) => De(e.querySelector("[data-animated-weeks]")), us = (e) => De(e.querySelector("[data-animated-nav]")), fs = (e) => De(e.querySelector("[data-animated-weekdays]"));
2395
- function ls(e, t, { classNames: n, months: r, focused: a, dateLib: s }) {
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 }) {
2396
2383
  const o = Ne(null), i = Ne(r), d = Ne(!1);
2397
- En(() => {
2384
+ Pn(() => {
2398
2385
  const c = i.current;
2399
2386
  if (i.current = r, !t || !e.current || // safety check because the ref can be set to anything by consumers
2400
2387
  !(e.current instanceof HTMLElement) || // validation required for the animation to work as expected
@@ -2404,7 +2391,7 @@ function ls(e, t, { classNames: n, months: r, focused: a, dateLib: s }) {
2404
2391
  if (p instanceof HTMLElement ? (je(p).forEach((b) => {
2405
2392
  if (!(b instanceof HTMLElement))
2406
2393
  return;
2407
- const W = cs(b);
2394
+ const W = is(b);
2408
2395
  W && b.contains(W) && b.removeChild(W);
2409
2396
  const v = $e(b);
2410
2397
  v && v.classList.remove(h);
@@ -2416,7 +2403,7 @@ function ls(e, t, { classNames: n, months: r, focused: a, dateLib: s }) {
2416
2403
  const k = D instanceof HTMLElement ? je(D) : [], N = je(e.current);
2417
2404
  if (N != null && N.every((M) => M instanceof HTMLElement) && k && k.every((M) => M instanceof HTMLElement)) {
2418
2405
  d.current = !0, e.current.style.isolation = "isolate";
2419
- const M = us(e.current);
2406
+ const M = ds(e.current);
2420
2407
  M && (M.style.zIndex = "1"), N.forEach((b, W) => {
2421
2408
  const v = k[W];
2422
2409
  if (!v)
@@ -2430,7 +2417,7 @@ function ls(e, t, { classNames: n, months: r, focused: a, dateLib: s }) {
2430
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);
2431
2418
  };
2432
2419
  v.style.pointerEvents = "none", v.style.position = "absolute", v.style.overflow = "hidden", v.setAttribute("aria-hidden", "true");
2433
- const B = fs(v);
2420
+ const B = cs(v);
2434
2421
  B && (B.style.opacity = "0");
2435
2422
  const F = $e(v);
2436
2423
  F && (F.classList.add(f ? n[q.caption_before_exit] : n[q.caption_after_exit]), F.addEventListener("animationend", E));
@@ -2440,7 +2427,7 @@ function ls(e, t, { classNames: n, months: r, focused: a, dateLib: s }) {
2440
2427
  }
2441
2428
  });
2442
2429
  }
2443
- function hs(e, t, n, r) {
2430
+ function fs(e, t, n, r) {
2444
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 = [];
2445
2432
  for (let L = 0; L <= E; L++) {
2446
2433
  const G = c(W, L);
@@ -2456,14 +2443,14 @@ function hs(e, t, n, r) {
2456
2443
  }
2457
2444
  return F;
2458
2445
  }
2459
- function ms(e) {
2446
+ function ls(e) {
2460
2447
  const t = [];
2461
2448
  return e.reduce((n, r) => {
2462
2449
  const a = r.weeks.reduce((s, o) => s.concat(o.days.slice()), t.slice());
2463
2450
  return n.concat(a.slice());
2464
2451
  }, t.slice());
2465
2452
  }
2466
- function ys(e, t, n, r) {
2453
+ function hs(e, t, n, r) {
2467
2454
  const { numberOfMonths: a = 1 } = n, s = [];
2468
2455
  for (let o = 0; o < a; o++) {
2469
2456
  const i = r.addMonths(e, o);
@@ -2483,7 +2470,7 @@ function vt(e, t, n, r) {
2483
2470
  }
2484
2471
  return t && c(d, t) < 0 && (d = t), f(d);
2485
2472
  }
2486
- function gs(e, t, n, r) {
2473
+ function ms(e, t, n, r) {
2487
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) => {
2488
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;
2489
2476
  if (n.fixedWeeks && b.length < W) {
@@ -2495,13 +2482,13 @@ function gs(e, t, n, r) {
2495
2482
  }
2496
2483
  const v = b.reduce((S, E) => {
2497
2484
  const B = n.ISOWeek ? c(E) : u(E), F = S.find((re) => re.weekNumber === B), $ = new qt(E, k, r);
2498
- return F ? F.days.push($) : S.push(new fa(B, [$])), S;
2499
- }, []), l = new ua(k, v);
2485
+ return F ? F.days.push($) : S.push(new ca(B, [$])), S;
2486
+ }, []), l = new da(k, v);
2500
2487
  return p.push(l), p;
2501
2488
  }, []);
2502
2489
  return n.reverseMonths ? D.reverse() : D;
2503
2490
  }
2504
- function bs(e, t) {
2491
+ function ys(e, t) {
2505
2492
  let { startMonth: n, endMonth: r } = e;
2506
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;
2507
2494
  !n && D && (n = D), !n && h && (n = t.newDate(h, 0, 1)), !r && p && (r = p), !r && g && (r = u(g, 11, 31));
@@ -2511,7 +2498,7 @@ function bs(e, t) {
2511
2498
  r && s(r)
2512
2499
  ];
2513
2500
  }
2514
- function Ms(e, t, n, r) {
2501
+ function gs(e, t, n, r) {
2515
2502
  if (n.disableNavigation)
2516
2503
  return;
2517
2504
  const { pagedNavigation: a, numberOfMonths: s = 1 } = n, { startOfMonth: o, addMonths: i, differenceInCalendarMonths: d } = r, c = a ? s : 1, u = o(e);
@@ -2520,7 +2507,7 @@ function Ms(e, t, n, r) {
2520
2507
  if (!(d(t, e) < s))
2521
2508
  return i(u, c);
2522
2509
  }
2523
- function ws(e, t, n, r) {
2510
+ function bs(e, t, n, r) {
2524
2511
  if (n.disableNavigation)
2525
2512
  return;
2526
2513
  const { pagedNavigation: a, numberOfMonths: s } = n, { startOfMonth: o, addMonths: i, differenceInCalendarMonths: d } = r, c = a ? s ?? 1 : 1, u = o(e);
@@ -2529,7 +2516,7 @@ function ws(e, t, n, r) {
2529
2516
  if (!(d(u, t) <= 0))
2530
2517
  return i(u, -c);
2531
2518
  }
2532
- function vs(e) {
2519
+ function Ms(e) {
2533
2520
  const t = [];
2534
2521
  return e.reduce((n, r) => n.concat(r.weeks.slice()), t.slice());
2535
2522
  }
@@ -2537,9 +2524,9 @@ function Te(e, t) {
2537
2524
  const [n, r] = xe(e);
2538
2525
  return [t === void 0 ? n : t, r];
2539
2526
  }
2540
- function ks(e, t) {
2527
+ function ws(e, t) {
2541
2528
  var W;
2542
- const [n, r] = bs(e, t), { startOfMonth: a, endOfMonth: s } = t, o = vt(e, n, r, t), [i, d] = Te(
2529
+ const [n, r] = ys(e, t), { startOfMonth: a, endOfMonth: s } = t, o = vt(e, n, r, t), [i, d] = Te(
2543
2530
  o,
2544
2531
  // initialMonth is always computed from props.month if provided
2545
2532
  e.month ? o : void 0
@@ -2549,16 +2536,16 @@ function ks(e, t) {
2549
2536
  d(v);
2550
2537
  }, [e.timeZone]);
2551
2538
  const { months: c, weeks: u, days: f, previousMonth: h, nextMonth: g } = Ce(() => {
2552
- const v = ys(i, r, { numberOfMonths: e.numberOfMonths }, t), l = hs(v, e.endMonth ? s(e.endMonth) : void 0, {
2539
+ const v = hs(i, r, { numberOfMonths: e.numberOfMonths }, t), l = fs(v, e.endMonth ? s(e.endMonth) : void 0, {
2553
2540
  ISOWeek: e.ISOWeek,
2554
2541
  fixedWeeks: e.fixedWeeks,
2555
2542
  broadcastCalendar: e.broadcastCalendar
2556
- }, t), S = gs(v, l, {
2543
+ }, t), S = ms(v, l, {
2557
2544
  broadcastCalendar: e.broadcastCalendar,
2558
2545
  fixedWeeks: e.fixedWeeks,
2559
2546
  ISOWeek: e.ISOWeek,
2560
2547
  reverseMonths: e.reverseMonths
2561
- }, t), E = vs(S), B = ms(S), F = ws(i, n, e, t), $ = Ms(i, r, e, t);
2548
+ }, t), E = Ms(S), B = ls(S), F = bs(i, n, e, t), $ = gs(i, r, e, t);
2562
2549
  return {
2563
2550
  months: S,
2564
2551
  weeks: E,
@@ -2606,7 +2593,7 @@ var K;
2606
2593
  function kt(e) {
2607
2594
  return !e[T.disabled] && !e[T.hidden] && !e[T.outside];
2608
2595
  }
2609
- function Ds(e, t, n, r) {
2596
+ function vs(e, t, n, r) {
2610
2597
  let a, s = -1;
2611
2598
  for (const o of e) {
2612
2599
  const i = t(o);
@@ -2614,7 +2601,7 @@ function Ds(e, t, n, r) {
2614
2601
  }
2615
2602
  return a || (a = e.find((o) => kt(t(o)))), a;
2616
2603
  }
2617
- function Os(e, t, n, r, a, s, o) {
2604
+ function ks(e, t, n, r, a, s, o) {
2618
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;
2619
2606
  let l = {
2620
2607
  day: c,
@@ -2629,11 +2616,11 @@ function Os(e, t, n, r, a, s, o) {
2629
2616
  function nn(e, t, n, r, a, s, o, i = 0) {
2630
2617
  if (i > 365)
2631
2618
  return;
2632
- const d = Os(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);
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);
2633
2620
  return !c && !u ? h : nn(e, t, h, r, a, s, o, i + 1);
2634
2621
  }
2635
- function ps(e, t, n, r, a) {
2636
- const { autoFocus: s } = e, [o, i] = xe(), d = Ds(t.days, n, r || (() => !1), o), [c, u] = xe(s ? d : void 0);
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);
2637
2624
  return {
2638
2625
  isFocusTarget: (p) => !!(d != null && d.isEqualTo(p)),
2639
2626
  setFocused: u,
@@ -2649,7 +2636,7 @@ function ps(e, t, n, r, a) {
2649
2636
  }
2650
2637
  };
2651
2638
  }
2652
- function Ws(e, t) {
2639
+ function Os(e, t) {
2653
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;
2654
2641
  return {
2655
2642
  selected: i,
@@ -2666,7 +2653,7 @@ function Ws(e, t) {
2666
2653
  isSelected: c
2667
2654
  };
2668
2655
  }
2669
- function Ss(e, t, n = 0, r = 0, a = !1, s = Z) {
2656
+ function ps(e, t, n = 0, r = 0, a = !1, s = Z) {
2670
2657
  const { from: o, to: i } = t || {}, { isSameDay: d, isAfter: c, isBefore: u } = s;
2671
2658
  let f;
2672
2659
  if (!o && !i)
@@ -2694,7 +2681,7 @@ function Ss(e, t, n = 0, r = 0, a = !1, s = Z) {
2694
2681
  }
2695
2682
  return f;
2696
2683
  }
2697
- function Ns(e, t, n = Z) {
2684
+ function Ws(e, t, n = Z) {
2698
2685
  const r = Array.isArray(t) ? t : [t];
2699
2686
  let a = e.from;
2700
2687
  const s = n.differenceInCalendarDays(e.to, e.from), o = Math.min(s, 6);
@@ -2708,9 +2695,9 @@ function Ns(e, t, n = Z) {
2708
2695
  function Dt(e, t, n = Z) {
2709
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);
2710
2697
  }
2711
- function Cs(e, t, n = Z) {
2698
+ function Ss(e, t, n = Z) {
2712
2699
  const r = Array.isArray(t) ? t : [t];
2713
- 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) ? Ns(e, i.dayOfWeek, n) : et(i) ? n.isAfter(i.before, i.after) ? Dt(e, {
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, {
2714
2701
  from: n.addDays(i.after, 1),
2715
2702
  to: n.addDays(i.before, -1)
2716
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))
@@ -2727,7 +2714,7 @@ function Cs(e, t, n = Z) {
2727
2714
  }
2728
2715
  return !1;
2729
2716
  }
2730
- function xs(e, t) {
2717
+ function Ns(e, t) {
2731
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;
2732
2719
  return {
2733
2720
  selected: u,
@@ -2736,14 +2723,14 @@ function xs(e, t) {
2736
2723
  let M;
2737
2724
  if (g) {
2738
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);
2739
- a && (v || !(u != null && u.from)) ? !o && l ? M = void 0 : M = { from: g, to: void 0 } : M = Ss(g, u, k, N, o, t);
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);
2740
2727
  }
2741
- return r && n && (M != null && M.from) && M.to && Cs({ 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;
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;
2742
2729
  },
2743
2730
  isSelected: (g) => u && te(u, g, !1, t)
2744
2731
  };
2745
2732
  }
2746
- function _s(e, t) {
2733
+ function Cs(e, t) {
2747
2734
  const { selected: n, required: r, onSelect: a } = e, [s, o] = Te(n, a ? n : void 0), i = a ? n : s, { isSameDay: d } = t;
2748
2735
  return {
2749
2736
  selected: i,
@@ -2754,8 +2741,8 @@ function _s(e, t) {
2754
2741
  isSelected: (f) => i ? d(i, f) : !1
2755
2742
  };
2756
2743
  }
2757
- function Ys(e, t) {
2758
- const n = _s(e, t), r = Ws(e, t), a = xs(e, t);
2744
+ function xs(e, t) {
2745
+ const n = Cs(e, t), r = Os(e, t), a = Ns(e, t);
2759
2746
  switch (e.mode) {
2760
2747
  case "single":
2761
2748
  return n;
@@ -2790,7 +2777,7 @@ function Ot(e, t, n) {
2790
2777
  function Re(e, t, n) {
2791
2778
  return e && (Array.isArray(e) ? e.map((r) => Ot(r, t)) : Ot(e, t));
2792
2779
  }
2793
- function $s(e) {
2780
+ function As(e) {
2794
2781
  var ut;
2795
2782
  let t = e;
2796
2783
  const n = t.timeZone;
@@ -2808,7 +2795,7 @@ function $s(e) {
2808
2795
  }), t.modifiers = O;
2809
2796
  }
2810
2797
  const { components: r, formatters: a, labels: s, dateLib: o, locale: i, classNames: d } = Ce(() => {
2811
- const O = { ...zt, ...t.locale }, _ = t.broadcastCalendar ? 1 : t.weekStartsOn, w = t.noonSafe && t.timeZone ? ds(t.timeZone, {
2798
+ const O = { ...zt, ...t.locale }, _ = t.broadcastCalendar ? 1 : t.weekStartsOn, w = t.noonSafe && t.timeZone ? os(t.timeZone, {
2812
2799
  weekStartsOn: _,
2813
2800
  locale: O
2814
2801
  }) : void 0, x = t.dateLib && w ? { ...w, ...t.dateLib } : t.dateLib ?? w, z = new j({
@@ -2822,11 +2809,11 @@ function $s(e) {
2822
2809
  }, x);
2823
2810
  return {
2824
2811
  dateLib: z,
2825
- components: qa(t.components),
2826
- formatters: Za(t.formatters),
2827
- labels: rs(t.labels, z.options),
2812
+ components: Aa(t.components),
2813
+ formatters: Ka(t.formatters),
2814
+ labels: ts(t.labels, z.options),
2828
2815
  locale: O,
2829
- classNames: { ...$a(), ...t.classNames }
2816
+ classNames: { ...qa(), ...t.classNames }
2830
2817
  };
2831
2818
  }, [
2832
2819
  t.locale,
@@ -2845,7 +2832,7 @@ function $s(e) {
2845
2832
  t.classNames
2846
2833
  ]);
2847
2834
  t.today || (t = { ...t, today: o.today() });
2848
- 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 = ks(t, o), { days: de, months: Oe, navStart: Pe, navEnd: Ee, previousMonth: U, nextMonth: Q, goToMonth: ee } = G, Fe = Aa(de, t, Pe, Ee, o), { isSelected: le, select: he, selected: pe } = Ys(t, o) ?? {}, { blur: st, focused: We, isFocusTarget: rn, moveFocus: ot, setFocused: Se } = ps(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(() => os(o, t.ISOWeek, t.broadcastCalendar, t.today), [o, t.ISOWeek, t.broadcastCalendar, t.today]), dt = u !== void 0 || D !== void 0, Be = R(() => {
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(() => {
2849
2836
  U && (ee(U), W == null || W(U));
2850
2837
  }, [U, ee, W]), Ie = R(() => {
2851
2838
  Q && (ee(Q), b == null || b(Q));
@@ -2891,8 +2878,8 @@ function $s(e) {
2891
2878
  }, [o, ee]), { className: pn, style: Wn } = Ce(() => ({
2892
2879
  className: [d[m.Root], t.className].filter(Boolean).join(" "),
2893
2880
  style: { ...l == null ? void 0 : l[m.Root], ...t.style }
2894
- }), [d, t.className, t.style, l]), Sn = ja(t), ct = Ne(null);
2895
- ls(ct, !!t.animate, {
2881
+ }), [d, t.className, t.style, l]), Sn = za(t), ct = Ne(null);
2882
+ us(ct, !!t.animate, {
2896
2883
  classNames: d,
2897
2884
  months: Oe,
2898
2885
  focused: We,
@@ -2944,7 +2931,7 @@ function $s(e) {
2944
2931
  r.DropdownNav,
2945
2932
  { className: d[m.Dropdowns], style: l == null ? void 0 : l[m.Dropdowns] },
2946
2933
  (() => {
2947
- 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: as(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: is(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));
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));
2948
2935
  return o.getMonthYearOrder() === "year-first" ? [x, w] : [w, x];
2949
2936
  })(),
2950
2937
  y.createElement("span", { role: "status", "aria-live": "polite", style: {
@@ -2987,7 +2974,7 @@ function $s(e) {
2987
2974
  const { from: He, to: Ae } = pe;
2988
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);
2989
2976
  }
2990
- const Cn = ss(C, l, t.modifiersStyles), xn = za(C, d, t.modifiersClassNames), _n = !dt && !C.hidden ? sn(z, C, o.options, o) : void 0;
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;
2991
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));
2992
2979
  })
2993
2980
  )))
@@ -2999,31 +2986,31 @@ function $s(e) {
2999
2986
  );
3000
2987
  }
3001
2988
  const pt = {
3002
- en: () => Promise.resolve().then(() => Er).then((e) => e.enUS),
3003
- it: () => import("./it-B16rEecm.js").then((e) => e.it),
3004
- de: () => import("./de-DK4A9_a8.js").then((e) => e.de),
3005
- es: () => import("./es-BOwPVwWn.js").then((e) => e.es),
3006
- fr: () => import("./fr-DoDBtn0T.js").then((e) => e.fr),
3007
- pt: () => import("./pt-yFXs1VvH.js").then((e) => e.pt),
3008
- nl: () => import("./nl-cBxEX2QU.js").then((e) => e.nl),
3009
- pl: () => import("./pl-DtS08ioY.js").then((e) => e.pl),
3010
- ro: () => import("./ro-DsCzSrzR.js").then((e) => e.ro),
3011
- ru: () => import("./ru-DgDxL0pc.js").then((e) => e.ru),
3012
- sv: () => import("./sv-O0QaQs_s.js").then((e) => e.sv),
3013
- el: () => import("./el-B29HXhG5.js").then((e) => e.el),
3014
- ja: () => import("./ja-B0viOgft.js").then((e) => e.ja),
3015
- zh: () => import("./zh-CN-CgVJZEzz.js").then((e) => e.zhCN),
3016
- hi: () => import("./hi-DGByrKby.js").then((e) => e.hi),
3017
- ar: () => import("./ar-C68WKG5a.js").then((e) => e.ar),
3018
- tr: () => import("./tr-BmNDRuio.js").then((e) => e.tr),
3019
- sq: () => import("./sq-DHlCYN67.js").then((e) => e.sq)
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)
3020
3007
  };
3021
- async function Ts(e) {
3008
+ async function _s(e) {
3022
3009
  const t = e.toLowerCase().split("-")[0];
3023
3010
  return (pt[t] ?? pt.en)();
3024
3011
  }
3025
3012
  const Ve = /* @__PURE__ */ new Map();
3026
- function Gs(e) {
3013
+ function zs(e) {
3027
3014
  const t = e.toLowerCase().split("-")[0], [n, r] = xe(
3028
3015
  () => Ve.get(t)
3029
3016
  );
@@ -3034,7 +3021,7 @@ function Gs(e) {
3034
3021
  return;
3035
3022
  }
3036
3023
  let s = !1;
3037
- return Ts(t).then((o) => {
3024
+ return _s(t).then((o) => {
3038
3025
  Ve.set(t, o), s || r(o);
3039
3026
  }), () => {
3040
3027
  s = !0;
@@ -3062,18 +3049,18 @@ const Ue = {
3062
3049
  ar: "dd/MM/yyyy",
3063
3050
  he: "dd.MM.yyyy"
3064
3051
  };
3065
- function Rs(e) {
3052
+ function qs(e) {
3066
3053
  const t = e.toLowerCase();
3067
3054
  return Ue[t] ?? Ue[t.split("-")[0]] ?? Ue.en;
3068
3055
  }
3069
- function Vs(e, t, n) {
3056
+ function js(e, t, n) {
3070
3057
  const r = [];
3071
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;
3072
3059
  }
3073
- function Us({ orientation: e }) {
3074
- return e === "left" ? /* @__PURE__ */ ft(In, { className: "ds:size-4 ds:rtl:-scale-x-100" }) : /* @__PURE__ */ ft(Hn, { className: "ds:size-4 ds:rtl:-scale-x-100" });
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" });
3075
3062
  }
3076
- const Qe = "ds:bg-[color-mix(in_srgb,var(--primary)_12%,transparent)]", Ps = "ds:size-[var(--min-target-size)] ds:text-center ds:align-middle", Es = [
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 = [
3077
3064
  // `rdp-day_button` is kept as a stable structural/test hook AND as the
3078
3065
  // descendant target for the selection-state fills below
3079
3066
  // (`ds:[&_.rdp-day_button]:bg-primary`).
@@ -3099,7 +3086,7 @@ const Qe = "ds:bg-[color-mix(in_srgb,var(--primary)_12%,transparent)]", Ps = "ds
3099
3086
  "ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
3100
3087
  "ds:disabled:opacity-50 ds:disabled:cursor-default",
3101
3088
  "ds:aria-disabled:opacity-50 ds:aria-disabled:cursor-default"
3102
- ].join(" "), Qs = {
3089
+ ].join(" "), Gs = {
3103
3090
  /* ---- Layout shell ---- */
3104
3091
  [m.Root]: "rdp-root ds:relative ds:font-sans ds:text-foreground",
3105
3092
  [m.Months]: "rdp-months ds:relative ds:flex ds:flex-wrap ds:gap-[var(--spacing-lg)]",
@@ -3120,8 +3107,8 @@ const Qe = "ds:bg-[color-mix(in_srgb,var(--primary)_12%,transparent)]", Ps = "ds
3120
3107
  /* ---- Week rows + day cells ---- */
3121
3108
  [m.Weeks]: "rdp-weeks",
3122
3109
  [m.Week]: "rdp-week",
3123
- [m.Day]: `rdp-day ${Ps}`,
3124
- [m.DayButton]: Es,
3110
+ [m.Day]: `rdp-day ${Ys}`,
3111
+ [m.DayButton]: Ts,
3125
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)]",
3126
3113
  /* ---- Day flags ---- */
3127
3114
  [T.today]: "rdp-today ds:text-primary ds:font-semibold ds:[&:is(.rdp-outside)]:text-inherit",
@@ -3136,7 +3123,7 @@ const Qe = "ds:bg-[color-mix(in_srgb,var(--primary)_12%,transparent)]", Ps = "ds
3136
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]`,
3137
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]`,
3138
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]`
3139
- }, Xs = _e(
3126
+ }, Rs = _e(
3140
3127
  [
3141
3128
  "ds:relative ds:flex ds:items-center ds:w-full",
3142
3129
  // Soft-chrome look — matches `INPUT_SURFACE_CHROME` so the trigger
@@ -3166,7 +3153,7 @@ const Qe = "ds:bg-[color-mix(in_srgb,var(--primary)_12%,transparent)]", Ps = "ds
3166
3153
  tone: "default"
3167
3154
  }
3168
3155
  }
3169
- ), Ks = _e(
3156
+ ), Vs = _e(
3170
3157
  "ds:absolute ds:inset-y-0 ds:end-0 ds:flex ds:items-center ds:pointer-events-none ds:text-muted-foreground",
3171
3158
  {
3172
3159
  variants: {
@@ -3178,13 +3165,13 @@ const Qe = "ds:bg-[color-mix(in_srgb,var(--primary)_12%,transparent)]", Ps = "ds
3178
3165
  },
3179
3166
  defaultVariants: { size: "md" }
3180
3167
  }
3181
- ), Js = _e(
3168
+ ), Us = _e(
3182
3169
  [
3183
3170
  "ds:z-[var(--z-popover)] ds:rounded-[var(--radius-md)]",
3184
3171
  "ds:border ds:border-border ds:bg-background ds:shadow-[var(--shadow-lg)]",
3185
3172
  "ds:p-[var(--spacing-md)]"
3186
3173
  ].join(" ")
3187
- ), Zs = _e(
3174
+ ), Qs = _e(
3188
3175
  [
3189
3176
  "ds:w-full ds:text-start ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] ds:py-[var(--spacing-xs)]",
3190
3177
  "ds:rounded-[var(--radius-sm)] ds:text-[length:var(--font-size-sm)] ds:text-foreground",
@@ -3195,44 +3182,43 @@ const Qe = "ds:bg-[color-mix(in_srgb,var(--primary)_12%,transparent)]", Ps = "ds
3195
3182
  ].join(" ")
3196
3183
  );
3197
3184
  export {
3198
- It as A,
3199
- Me as B,
3200
- js as C,
3201
- $s as D,
3202
- Le as E,
3203
- Ze as F,
3204
- mt as G,
3205
- oe as H,
3206
- Hr as I,
3207
- $r as J,
3208
- Gr as K,
3209
- jr as L,
3210
- Xn as M,
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,
3211
3197
  xt as a,
3212
- Rn as b,
3213
- Vs as c,
3214
- Kn as d,
3198
+ $n as b,
3199
+ js as c,
3200
+ Qn as d,
3215
3201
  Bt as e,
3216
- Zn as f,
3217
- Rs as g,
3202
+ Kn as f,
3203
+ qs as g,
3218
3204
  be as h,
3219
- ta as i,
3205
+ Lr as i,
3220
3206
  Je as j,
3221
- Ks as k,
3222
- Us as l,
3223
- Qs as m,
3224
- Js as n,
3225
- na as o,
3226
- Zs as p,
3227
- qe as q,
3228
- me as r,
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,
3229
3215
  fe as s,
3230
- Xs as t,
3231
- Gs as u,
3232
- ye as v,
3233
- vr as w,
3234
- _t as x,
3235
- ra as y,
3236
- ve as z
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
3237
3223
  };
3238
- //# sourceMappingURL=date-picker-variants-CXEAx3O_.js.map
3224
+ //# sourceMappingURL=date-picker-variants-DAcSLTua.js.map