@calcom/atoms 1.0.98 → 1.0.100

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 (271) hide show
  1. package/dist/{AddressInput-IC5bCyoy.js → AddressInput-VvdGgcFY.js} +1 -1
  2. package/dist/{AlbyPriceComponent-RbsIVvlh.js → AlbyPriceComponent-qwBpyj1u.js} +10 -10
  3. package/dist/{AppCard-FF41DY1a.js → AppCard-IYwXZB0q.js} +11 -11
  4. package/dist/{AppListCardPlatformWrapper-qAgUYfWp.js → AppListCardPlatformWrapper-pjMdLapD.js} +1 -1
  5. package/dist/{AppListCardWebWrapper-FacP6t6u.js → AppListCardWebWrapper-rJLH8pLc.js} +18 -18
  6. package/dist/{AppSettingsInterface-X8HiYPXB.js → AppSettingsInterface-TZgHhVIG.js} +4 -4
  7. package/dist/{AppSettingsInterface-5aVK9oxc.js → AppSettingsInterface-XSfKeLus.js} +1 -1
  8. package/dist/{AppSettingsInterface-cgBxDPwm.js → AppSettingsInterface-aWE1OufI.js} +1 -1
  9. package/dist/{DateRangePicker-tS970hSY.js → DateRangePicker-Dz4TzJmd.js} +389 -372
  10. package/dist/{EventTypeAppCardInterface-ZMkMx3UO.js → EventTypeAppCardInterface-0Uf1T3ux.js} +4 -4
  11. package/dist/{EventTypeAppCardInterface-jbPxMcQe.js → EventTypeAppCardInterface-0XhzgCDg.js} +10 -10
  12. package/dist/{EventTypeAppCardInterface-arvxbglS.js → EventTypeAppCardInterface-1Bx9eMoL.js} +4 -4
  13. package/dist/{EventTypeAppCardInterface-XN7zHp-t.js → EventTypeAppCardInterface-1ztuB1hs.js} +8 -8
  14. package/dist/{EventTypeAppCardInterface-OxpGqa5x.js → EventTypeAppCardInterface-5dEv3OKA.js} +207 -167
  15. package/dist/{EventTypeAppCardInterface-PH8OfCXX.js → EventTypeAppCardInterface-BvImub0B.js} +4 -4
  16. package/dist/{EventTypeAppCardInterface-3rUyu9zT.js → EventTypeAppCardInterface-CNUqWmI2.js} +3 -3
  17. package/dist/{EventTypeAppCardInterface-nh4Bw0XN.js → EventTypeAppCardInterface-F9JXRTyf.js} +27 -27
  18. package/dist/{EventTypeAppCardInterface-a_b-apjm.js → EventTypeAppCardInterface-Gmbb6Gvh.js} +8 -8
  19. package/dist/{EventTypeAppCardInterface-DUuqWQYh.js → EventTypeAppCardInterface-QBKgH_Ff.js} +3 -3
  20. package/dist/{EventTypeAppCardInterface-1Rjwvfkf.js → EventTypeAppCardInterface-UT_z5U7K.js} +3 -3
  21. package/dist/{EventTypeAppCardInterface-lxH6VsWo.js → EventTypeAppCardInterface-WNKjUBra.js} +3 -3
  22. package/dist/{EventTypeAppCardInterface-aZlmShf_.js → EventTypeAppCardInterface-Y4mQsFNS.js} +3 -3
  23. package/dist/{EventTypeAppCardInterface-vr_kZwo4.js → EventTypeAppCardInterface-c5Lw9vSU.js} +15 -15
  24. package/dist/{EventTypeAppCardInterface-13tt-HVm.js → EventTypeAppCardInterface-dh6jC1kN.js} +3 -3
  25. package/dist/{EventTypeAppCardInterface-rnq5hibD.js → EventTypeAppCardInterface-dickhpVC.js} +4 -4
  26. package/dist/{EventTypeAppCardInterface-WjzwonkP.js → EventTypeAppCardInterface-dlnTOnM2.js} +4 -4
  27. package/dist/{EventTypeAppCardInterface-vk4Emhb7.js → EventTypeAppCardInterface-fBFQbEI7.js} +3 -3
  28. package/dist/{EventTypeAppCardInterface-SCUf-dWb.js → EventTypeAppCardInterface-fxKGCkHe.js} +4 -4
  29. package/dist/{EventTypeAppCardInterface-4uF6y_wC.js → EventTypeAppCardInterface-gXs2V4Se.js} +3 -3
  30. package/dist/{EventTypeAppCardInterface-pBJf4bSH.js → EventTypeAppCardInterface-mHtz6mF4.js} +4 -4
  31. package/dist/{EventTypeAppCardInterface-dQDcGngh.js → EventTypeAppCardInterface-obJvlSlU.js} +3 -3
  32. package/dist/{EventTypeAppCardInterface-BK11_uAd.js → EventTypeAppCardInterface-tJFzj8Ah.js} +4 -4
  33. package/dist/{EventTypeAppCardInterface-iL6lzKeX.js → EventTypeAppCardInterface-uXK8QTdD.js} +4 -4
  34. package/dist/{EventTypeAppCardInterface-NE-0Qnr2.js → EventTypeAppCardInterface-y1aVej25.js} +3 -3
  35. package/dist/EventTypeAppCardInterface-y3kh9WVm.js +24 -0
  36. package/dist/{EventTypeAppSettingsInterface-X2-1vNz-.js → EventTypeAppSettingsInterface-6il0n6Cq.js} +6 -6
  37. package/dist/{EventTypeAppSettingsInterface-0IuJod38.js → EventTypeAppSettingsInterface-8PKo71W5.js} +1 -1
  38. package/dist/{EventTypeAppSettingsInterface-e4Md8clU.js → EventTypeAppSettingsInterface-AkBUmJ5l.js} +5 -5
  39. package/dist/{EventTypeAppSettingsInterface-vpVd_4XZ.js → EventTypeAppSettingsInterface-LZtyw2oV.js} +1 -1
  40. package/dist/{EventTypeAppSettingsInterface-pGANbCQo.js → EventTypeAppSettingsInterface-LzU69UgA.js} +5 -5
  41. package/dist/{EventTypeAppSettingsInterface-m9wri89q.js → EventTypeAppSettingsInterface-MuzTABXE.js} +8 -8
  42. package/dist/{EventTypeAppSettingsInterface-jwj_jmtd.js → EventTypeAppSettingsInterface-Q07jpG4C.js} +14 -14
  43. package/dist/{EventTypeAppSettingsInterface-29o016tq.js → EventTypeAppSettingsInterface-TbY0pgk8.js} +9 -9
  44. package/dist/{EventTypeAppSettingsInterface-hxj3Cm8J.js → EventTypeAppSettingsInterface-YqwIpsZk.js} +3 -3
  45. package/dist/{EventTypeAppSettingsInterface-zDnztP59.js → EventTypeAppSettingsInterface-dWVs0uNV.js} +1 -1
  46. package/dist/{EventTypeAppSettingsInterface-euX-AtKi.js → EventTypeAppSettingsInterface-fcDBa586.js} +1 -1
  47. package/dist/{EventTypeAppSettingsInterface-afqqqXjx.js → EventTypeAppSettingsInterface-lj3UxPsg.js} +1 -1
  48. package/dist/{InstallAppButton-8Okj1YKt.js → InstallAppButton-769wpv3L.js} +3 -3
  49. package/dist/{InstallAppButton-dU9hGCdN.js → InstallAppButton-TUQ7pKWK.js} +3 -3
  50. package/dist/{InstallAppButton-dy7BXSFA.js → InstallAppButton-jc8Moe67.js} +1 -1
  51. package/dist/{PhoneInput-nBgqJnp5.js → PhoneInput-FqfbsWsL.js} +77 -75
  52. package/dist/{StripePaymentForm-DOZXe-LC.js → StripePaymentForm-kZNZ2LFh.js} +18 -18
  53. package/dist/cal-atoms.js +18 -18
  54. package/dist/{framer-features-WaArUztg.js → framer-features-2CLxmdz8.js} +57 -57
  55. package/dist/index-0IEhbSFy.js +28 -0
  56. package/dist/{index-nDUrmoDr.js → index-5NHOyCIB.js} +1 -1
  57. package/dist/{index-f0-Ex6JM.js → index-Op-zWGFz.js} +15 -15
  58. package/dist/{index-XX0jWi_4.js → index-kaGA8-X2.js} +71101 -69856
  59. package/dist/packages/features/bookings/Booker/components/hooks/useSlots.d.ts +3 -3
  60. package/dist/packages/features/bookings/Booker/components/hooks/useSlots.d.ts.map +1 -1
  61. package/dist/packages/features/bookings/Booker/utils/event.d.ts +30 -2
  62. package/dist/packages/features/bookings/Booker/utils/event.d.ts.map +1 -1
  63. package/dist/packages/features/bookings/lib/get-booking.d.ts +9 -0
  64. package/dist/packages/features/bookings/lib/get-booking.d.ts.map +1 -1
  65. package/dist/packages/features/bookings/lib/getBookingResponsesSchema.d.ts.map +1 -1
  66. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts +2 -0
  67. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts.map +1 -1
  68. package/dist/packages/features/bookings/lib/handleCancelBooking.d.ts +16 -2
  69. package/dist/packages/features/bookings/lib/handleCancelBooking.d.ts.map +1 -1
  70. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts +2 -3
  71. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts.map +1 -1
  72. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +3 -0
  73. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts.map +1 -1
  74. package/dist/packages/features/bookings/lib/handleNewBooking/loadAndValidateUsers.d.ts +4 -3
  75. package/dist/packages/features/bookings/lib/handleNewBooking/loadAndValidateUsers.d.ts.map +1 -1
  76. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts +12 -3
  77. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts.map +1 -1
  78. package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts +4 -5
  79. package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts.map +1 -1
  80. package/dist/packages/features/bookings/lib/handleNewBooking/test/complex-schedules.test.d.ts.map +1 -1
  81. package/dist/packages/features/bookings/lib/handleNewBooking/test/date-overrides.test.d.ts.map +1 -1
  82. package/dist/packages/features/bookings/lib/handleNewBooking/test/dynamic-group-booking.test.d.ts.map +1 -1
  83. package/dist/packages/features/bookings/lib/handleNewBooking/test/fresh-booking.test.d.ts.map +1 -1
  84. package/dist/packages/features/bookings/lib/handleNewBooking/test/handleNewRecurringBooking.test.d.ts +2 -0
  85. package/dist/packages/features/bookings/lib/handleNewBooking/test/handleNewRecurringBooking.test.d.ts.map +1 -0
  86. package/dist/packages/features/bookings/lib/handleNewBooking/test/team-bookings/collective-scheduling.test.d.ts.map +1 -1
  87. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts +14 -5
  88. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts.map +1 -1
  89. package/dist/packages/features/bookings/lib/handleNewRecurringBooking.d.ts +10 -5
  90. package/dist/packages/features/bookings/lib/handleNewRecurringBooking.d.ts.map +1 -1
  91. package/dist/packages/features/bookings/lib/handleSeats/cancel/cancelAttendeeSeat.d.ts +5 -2
  92. package/dist/packages/features/bookings/lib/handleSeats/cancel/cancelAttendeeSeat.d.ts.map +1 -1
  93. package/dist/packages/features/bookings/types.d.ts +1 -1
  94. package/dist/packages/features/bookings/types.d.ts.map +1 -1
  95. package/dist/packages/features/components/timezone-select/TimezoneSelect.d.ts.map +1 -1
  96. package/dist/packages/features/data-table/DataTableProvider.d.ts +18 -164
  97. package/dist/packages/features/data-table/DataTableProvider.d.ts.map +1 -1
  98. package/dist/packages/features/data-table/components/DataTable.d.ts +2 -2
  99. package/dist/packages/features/data-table/components/DataTable.d.ts.map +1 -1
  100. package/dist/packages/features/data-table/components/DataTablePagination.d.ts.map +1 -1
  101. package/dist/packages/features/data-table/components/DataTableSelectionBar.d.ts +2 -2
  102. package/dist/packages/features/data-table/components/DataTableSelectionBar.d.ts.map +1 -1
  103. package/dist/packages/features/data-table/components/DataTableToolbar.d.ts +5 -7
  104. package/dist/packages/features/data-table/components/DataTableToolbar.d.ts.map +1 -1
  105. package/dist/packages/features/data-table/components/filters/AddFilterButton.d.ts.map +1 -1
  106. package/dist/packages/features/data-table/components/filters/ColumnVisibilityButton.d.ts +1 -1
  107. package/dist/packages/features/data-table/components/filters/ColumnVisibilityButton.d.ts.map +1 -1
  108. package/dist/packages/features/data-table/components/filters/FilterBar.d.ts +7 -0
  109. package/dist/packages/features/data-table/components/filters/FilterBar.d.ts.map +1 -0
  110. package/dist/packages/features/data-table/components/filters/TextFilterOptions.d.ts.map +1 -1
  111. package/dist/packages/features/data-table/components/filters/index.d.ts +2 -0
  112. package/dist/packages/features/data-table/components/filters/index.d.ts.map +1 -1
  113. package/dist/packages/features/data-table/components/index.d.ts +1 -0
  114. package/dist/packages/features/data-table/components/index.d.ts.map +1 -1
  115. package/dist/packages/features/data-table/components/segment/DeleteSegmentDialog.d.ts +6 -0
  116. package/dist/packages/features/data-table/components/segment/DeleteSegmentDialog.d.ts.map +1 -0
  117. package/dist/packages/features/data-table/components/segment/DuplicateSegmentDialog.d.ts +6 -0
  118. package/dist/packages/features/data-table/components/segment/DuplicateSegmentDialog.d.ts.map +1 -0
  119. package/dist/packages/features/data-table/components/segment/FilterSegmentSelect.d.ts +2 -0
  120. package/dist/packages/features/data-table/components/segment/FilterSegmentSelect.d.ts.map +1 -0
  121. package/dist/packages/features/data-table/components/segment/RenameSegmentDialog.d.ts +6 -0
  122. package/dist/packages/features/data-table/components/segment/RenameSegmentDialog.d.ts.map +1 -0
  123. package/dist/packages/features/data-table/components/segment/SaveFilterSegmentButton.d.ts +2 -0
  124. package/dist/packages/features/data-table/components/segment/SaveFilterSegmentButton.d.ts.map +1 -0
  125. package/dist/packages/features/data-table/components/segment/index.d.ts +7 -0
  126. package/dist/packages/features/data-table/components/segment/index.d.ts.map +1 -0
  127. package/dist/packages/features/data-table/lib/resizing.d.ts +1 -2
  128. package/dist/packages/features/data-table/lib/resizing.d.ts.map +1 -1
  129. package/dist/packages/features/data-table/lib/segments.d.ts +27 -0
  130. package/dist/packages/features/data-table/lib/segments.d.ts.map +1 -0
  131. package/dist/packages/features/data-table/lib/types.d.ts +357 -0
  132. package/dist/packages/features/data-table/lib/types.d.ts.map +1 -1
  133. package/dist/packages/features/ee/billing/billing-service.d.ts +22 -0
  134. package/dist/packages/features/ee/billing/billing-service.d.ts.map +1 -1
  135. package/dist/packages/features/ee/billing/stripe-billling-service.d.ts +5 -0
  136. package/dist/packages/features/ee/billing/stripe-billling-service.d.ts.map +1 -1
  137. package/dist/packages/features/ee/payments/pages/payment.d.ts +2 -1
  138. package/dist/packages/features/ee/payments/pages/payment.d.ts.map +1 -1
  139. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts.map +1 -1
  140. package/dist/packages/features/ee/round-robin/roundRobinReassignment.d.ts.map +1 -1
  141. package/dist/packages/features/ee/workflows/components/WorkflowDetailsPage.d.ts.map +1 -1
  142. package/dist/packages/features/ee/workflows/components/WorkflowStepContainer.d.ts.map +1 -1
  143. package/dist/packages/features/ee/workflows/lib/actionHelperFunctions.d.ts +6 -0
  144. package/dist/packages/features/ee/workflows/lib/actionHelperFunctions.d.ts.map +1 -1
  145. package/dist/packages/features/ee/workflows/lib/compareReminderBodyToTemplate.d.ts +6 -0
  146. package/dist/packages/features/ee/workflows/lib/compareReminderBodyToTemplate.d.ts.map +1 -0
  147. package/dist/packages/features/ee/workflows/lib/getAllWorkflows.d.ts +1 -0
  148. package/dist/packages/features/ee/workflows/lib/getAllWorkflows.d.ts.map +1 -1
  149. package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts +1 -0
  150. package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts.map +1 -1
  151. package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.d.ts.map +1 -1
  152. package/dist/packages/features/ee/workflows/lib/reminders/scheduleMandatoryReminder.d.ts.map +1 -1
  153. package/dist/packages/features/ee/workflows/lib/reminders/smsReminderManager.d.ts +1 -0
  154. package/dist/packages/features/ee/workflows/lib/reminders/smsReminderManager.d.ts.map +1 -1
  155. package/dist/packages/features/ee/workflows/lib/reminders/templates/emailRatingTemplate.d.ts +1 -0
  156. package/dist/packages/features/ee/workflows/lib/reminders/templates/emailRatingTemplate.d.ts.map +1 -1
  157. package/dist/packages/features/ee/workflows/lib/reminders/templates/emailReminderTemplate.d.ts +16 -1
  158. package/dist/packages/features/ee/workflows/lib/reminders/templates/emailReminderTemplate.d.ts.map +1 -1
  159. package/dist/packages/features/ee/workflows/lib/reminders/templates/plainTextTemplates.d.ts +17 -0
  160. package/dist/packages/features/ee/workflows/lib/reminders/templates/plainTextTemplates.d.ts.map +1 -0
  161. package/dist/packages/features/ee/workflows/lib/reminders/templates/smsReminderTemplate.d.ts +1 -0
  162. package/dist/packages/features/ee/workflows/lib/reminders/templates/smsReminderTemplate.d.ts.map +1 -1
  163. package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/index.d.ts +4 -4
  164. package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/index.d.ts.map +1 -1
  165. package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/whatsappEventCancelledTemplate.d.ts +1 -0
  166. package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/whatsappEventCancelledTemplate.d.ts.map +1 -1
  167. package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/whatsappEventCompletedTemplate.d.ts +1 -0
  168. package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/whatsappEventCompletedTemplate.d.ts.map +1 -1
  169. package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/whatsappEventReminderTemplate.d.ts +1 -0
  170. package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/whatsappEventReminderTemplate.d.ts.map +1 -1
  171. package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/whatsappEventRescheduledTemplate.d.ts +1 -0
  172. package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/whatsappEventRescheduledTemplate.d.ts.map +1 -1
  173. package/dist/packages/features/ee/workflows/lib/reminders/whatsappReminderManager.d.ts.map +1 -1
  174. package/dist/packages/features/ee/workflows/lib/test/compareReminderBodyToTemplate.test.d.ts +2 -0
  175. package/dist/packages/features/ee/workflows/lib/test/compareReminderBodyToTemplate.test.d.ts.map +1 -0
  176. package/dist/packages/features/ee/workflows/lib/types.d.ts +1 -0
  177. package/dist/packages/features/ee/workflows/lib/types.d.ts.map +1 -1
  178. package/dist/packages/features/eventtypes/components/AddMembersWithSwitch.d.ts.map +1 -1
  179. package/dist/packages/features/eventtypes/components/CreateEventTypeDialog.d.ts +1 -1
  180. package/dist/packages/features/eventtypes/components/CreateEventTypeDialog.d.ts.map +1 -1
  181. package/dist/packages/features/eventtypes/components/tabs/advanced/DisableAllEmailsSetting.d.ts.map +1 -1
  182. package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts.map +1 -1
  183. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +29 -2
  184. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
  185. package/dist/packages/features/eventtypes/lib/types.d.ts +2 -0
  186. package/dist/packages/features/eventtypes/lib/types.d.ts.map +1 -1
  187. package/dist/packages/features/form-builder/Components.d.ts.map +1 -1
  188. package/dist/packages/platform/atoms/connect/conferencing-apps/ConferencingAppsViewPlatformWrapper.d.ts +2 -1
  189. package/dist/packages/platform/atoms/connect/conferencing-apps/ConferencingAppsViewPlatformWrapper.d.ts.map +1 -1
  190. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts +4 -1
  191. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts.map +1 -1
  192. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomGetEventTypes.d.ts +1 -1
  193. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomGetEventTypes.d.ts.map +1 -1
  194. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomsGetInstalledConferencingApps.d.ts +59 -1
  195. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomsGetInstalledConferencingApps.d.ts.map +1 -1
  196. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useConnect.d.ts +6 -4
  197. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useConnect.d.ts.map +1 -1
  198. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useDeleteCredential.d.ts +2 -1
  199. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useDeleteCredential.d.ts.map +1 -1
  200. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useGetDefaultConferencingApp.d.ts +1 -1
  201. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useGetDefaultConferencingApp.d.ts.map +1 -1
  202. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useUpdateUserDefaultConferencingApp.d.ts +2 -1
  203. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useUpdateUserDefaultConferencingApp.d.ts.map +1 -1
  204. package/dist/packages/platform/atoms/event-types/atom-api-transformers/transformApiEventTypeForAtom.d.ts +8 -0
  205. package/dist/packages/platform/atoms/event-types/atom-api-transformers/transformApiEventTypeForAtom.d.ts.map +1 -1
  206. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +7 -1
  207. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts.map +1 -1
  208. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts +4 -3
  209. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts.map +1 -1
  210. package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts +6 -0
  211. package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts.map +1 -1
  212. package/dist/packages/platform/atoms/event-types/payments/PaymentForm.d.ts +2 -2
  213. package/dist/packages/platform/atoms/event-types/payments/PaymentForm.d.ts.map +1 -1
  214. package/dist/packages/platform/atoms/event-types/payments/StripePaymentForm.d.ts +2 -2
  215. package/dist/packages/platform/atoms/event-types/payments/StripePaymentForm.d.ts.map +1 -1
  216. package/dist/packages/platform/atoms/hooks/bookings/useGetBookingForReschedule.d.ts +3 -0
  217. package/dist/packages/platform/atoms/hooks/bookings/useGetBookingForReschedule.d.ts.map +1 -1
  218. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts +2 -0
  219. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts.map +1 -1
  220. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts +2 -0
  221. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts.map +1 -1
  222. package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts +2 -0
  223. package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts.map +1 -1
  224. package/dist/packages/platform/atoms/hooks/usePublicEvent.d.ts +29 -2
  225. package/dist/packages/platform/atoms/hooks/usePublicEvent.d.ts.map +1 -1
  226. package/dist/packages/platform/atoms/src/components/ui/dialog.d.ts +2 -4
  227. package/dist/packages/platform/atoms/src/components/ui/dialog.d.ts.map +1 -1
  228. package/dist/packages/platform/constants/api.d.ts +1 -0
  229. package/dist/packages/platform/constants/api.d.ts.map +1 -1
  230. package/dist/packages/platform/libraries/event-types.d.ts +3 -4
  231. package/dist/packages/platform/libraries/event-types.d.ts.map +1 -1
  232. package/dist/packages/platform/libraries/index.d.ts +2 -1
  233. package/dist/packages/platform/libraries/index.d.ts.map +1 -1
  234. package/dist/packages/platform/types/bookings/2024-08-13/inputs/create-booking.input.d.ts +4 -1
  235. package/dist/packages/platform/types/bookings/2024-08-13/inputs/create-booking.input.d.ts.map +1 -1
  236. package/dist/packages/platform/types/bookings/2024-08-13/inputs/get-bookings.input.d.ts.map +1 -1
  237. package/dist/packages/platform/types/bookings/2024-08-13/outputs/booking.output.d.ts +1 -0
  238. package/dist/packages/platform/types/bookings/2024-08-13/outputs/booking.output.d.ts.map +1 -1
  239. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts +1 -1
  240. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts.map +1 -1
  241. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/seats.input.d.ts.map +1 -1
  242. package/dist/packages/prisma/zod/custom/eventtype.d.ts +20 -0
  243. package/dist/packages/prisma/zod/custom/eventtype.d.ts.map +1 -1
  244. package/dist/packages/prisma/zod/eventtype.d.ts +22 -0
  245. package/dist/packages/prisma/zod/eventtype.d.ts.map +1 -1
  246. package/dist/packages/prisma/zod/filtersegment.d.ts +64 -0
  247. package/dist/packages/prisma/zod/filtersegment.d.ts.map +1 -0
  248. package/dist/packages/prisma/zod/index.d.ts +1 -0
  249. package/dist/packages/prisma/zod/index.d.ts.map +1 -1
  250. package/dist/packages/prisma/zod/team.d.ts +28 -1
  251. package/dist/packages/prisma/zod/team.d.ts.map +1 -1
  252. package/dist/packages/prisma/zod/user.d.ts +2 -1
  253. package/dist/packages/prisma/zod/user.d.ts.map +1 -1
  254. package/dist/packages/prisma/zod/workflowstep.d.ts +3 -0
  255. package/dist/packages/prisma/zod/workflowstep.d.ts.map +1 -1
  256. package/dist/packages/prisma/zod-utils.d.ts +106 -23
  257. package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
  258. package/dist/packages/prisma-client/index.d.ts +3462 -278
  259. package/dist/packages/trpc/react/hooks/useMeQuery.d.ts +8 -0
  260. package/dist/packages/trpc/react/hooks/useMeQuery.d.ts.map +1 -1
  261. package/dist/packages/trpc/react/shared.d.ts +1 -1
  262. package/dist/packages/trpc/react/shared.d.ts.map +1 -1
  263. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts +10 -1
  264. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts.map +1 -1
  265. package/dist/{useIsAppEnabled-QIw4ydUi.js → useIsAppEnabled-Z2j-XkyQ.js} +1 -1
  266. package/globals.min.css +1 -22
  267. package/package.json +1 -1
  268. package/dist/EventTypeAppCardInterface-p9huPol5.js +0 -24
  269. package/dist/index-Q1IEXczf.js +0 -28
  270. package/dist/index-iCQToj2C.js +0 -13
  271. package/dist/isSupportedCountry-aHJbkpx4.js +0 -7
@@ -1,6 +1,6 @@
1
- import { jsx as c, jsxs as O, Fragment as T } from "react/jsx-runtime";
2
- import { Z as J, aQ as Ye, aR as Fe, a4 as Le, aS as Dt, aT as Mt, z as _t, aU as kt } from "./index-XX0jWi_4.js";
3
- import { createContext as q, forwardRef as Nt, useContext as Q, useState as K, useEffect as ie, useLayoutEffect as xt, useRef as Pt } from "react";
1
+ import { jsx as d, jsxs as O, Fragment as T } from "react/jsx-runtime";
2
+ import { M as K, aJ as Ye, aK as Fe, X as Le, aL as Dt, aM as Mt, r as _t, aN as kt } from "./index-kaGA8-X2.js";
3
+ import { createContext as q, forwardRef as Nt, useContext as X, useState as U, useEffect as ie, useLayoutEffect as xt, useRef as Pt } from "react";
4
4
  function M(e) {
5
5
  const t = Object.prototype.toString.call(e);
6
6
  return e instanceof Date || typeof e == "object" && t === "[object Date]" ? new e.constructor(+e) : typeof e == "number" || t === "[object Number]" || typeof e == "string" || t === "[object String]" ? new Date(e) : /* @__PURE__ */ new Date(NaN);
@@ -33,14 +33,14 @@ function Z() {
33
33
  return Ct;
34
34
  }
35
35
  function I(e, t) {
36
- var s, l, d, u;
37
- const n = Z(), a = (t == null ? void 0 : t.weekStartsOn) ?? ((l = (s = t == null ? void 0 : t.locale) == null ? void 0 : s.options) == null ? void 0 : l.weekStartsOn) ?? n.weekStartsOn ?? ((u = (d = n.locale) == null ? void 0 : d.options) == null ? void 0 : u.weekStartsOn) ?? 0, r = M(e), o = r.getDay(), i = (o < a ? 7 : 0) + o - a;
36
+ var s, l, c, u;
37
+ const n = Z(), a = (t == null ? void 0 : t.weekStartsOn) ?? ((l = (s = t == null ? void 0 : t.locale) == null ? void 0 : s.options) == null ? void 0 : l.weekStartsOn) ?? n.weekStartsOn ?? ((u = (c = n.locale) == null ? void 0 : c.options) == null ? void 0 : u.weekStartsOn) ?? 0, r = M(e), o = r.getDay(), i = (o < a ? 7 : 0) + o - a;
38
38
  return r.setDate(r.getDate() - i), r.setHours(0, 0, 0, 0), r;
39
39
  }
40
40
  function A(e) {
41
41
  return I(e, { weekStartsOn: 1 });
42
42
  }
43
- function Xe(e) {
43
+ function Qe(e) {
44
44
  const t = M(e), n = t.getFullYear(), a = W(e, 0);
45
45
  a.setFullYear(n + 1, 0, 4), a.setHours(0, 0, 0, 0);
46
46
  const r = A(a), o = W(e, 0);
@@ -71,7 +71,7 @@ function L(e, t) {
71
71
  return Math.round((r - o) / Ot);
72
72
  }
73
73
  function St(e) {
74
- const t = Xe(e), n = W(e, 0);
74
+ const t = Qe(e), n = W(e, 0);
75
75
  return n.setFullYear(t, 0, 4), n.setHours(0, 0, 0, 0), A(n);
76
76
  }
77
77
  function we(e, t) {
@@ -129,8 +129,8 @@ function Ge(e) {
129
129
  return n.setFullYear(t.getFullYear(), 0, 1), n.setHours(0, 0, 0, 0), n;
130
130
  }
131
131
  function ke(e, t) {
132
- var s, l, d, u;
133
- const n = Z(), a = (t == null ? void 0 : t.weekStartsOn) ?? ((l = (s = t == null ? void 0 : t.locale) == null ? void 0 : s.options) == null ? void 0 : l.weekStartsOn) ?? n.weekStartsOn ?? ((u = (d = n.locale) == null ? void 0 : d.options) == null ? void 0 : u.weekStartsOn) ?? 0, r = M(e), o = r.getDay(), i = (o < a ? -7 : 0) + 6 - (o - a);
132
+ var s, l, c, u;
133
+ const n = Z(), a = (t == null ? void 0 : t.weekStartsOn) ?? ((l = (s = t == null ? void 0 : t.locale) == null ? void 0 : s.options) == null ? void 0 : l.weekStartsOn) ?? n.weekStartsOn ?? ((u = (c = n.locale) == null ? void 0 : c.options) == null ? void 0 : u.weekStartsOn) ?? 0, r = M(e), o = r.getDay(), i = (o < a ? -7 : 0) + 6 - (o - a);
134
134
  return r.setDate(r.getDate() + i), r.setHours(23, 59, 59, 999), r;
135
135
  }
136
136
  function Ve(e) {
@@ -260,11 +260,11 @@ function $(e) {
260
260
  return r[o];
261
261
  };
262
262
  }
263
- const Qt = {
263
+ const Xt = {
264
264
  narrow: ["B", "A"],
265
265
  abbreviated: ["BC", "AD"],
266
266
  wide: ["Before Christ", "Anno Domini"]
267
- }, Xt = {
267
+ }, Qt = {
268
268
  narrow: ["1", "2", "3", "4"],
269
269
  abbreviated: ["Q1", "Q2", "Q3", "Q4"],
270
270
  wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
@@ -342,7 +342,7 @@ const Qt = {
342
342
  evening: "evening",
343
343
  night: "night"
344
344
  }
345
- }, Ut = {
345
+ }, Jt = {
346
346
  narrow: {
347
347
  am: "a",
348
348
  pm: "p",
@@ -373,7 +373,7 @@ const Qt = {
373
373
  evening: "in the evening",
374
374
  night: "at night"
375
375
  }
376
- }, Jt = (e, t) => {
376
+ }, Kt = (e, t) => {
377
377
  const n = Number(e), a = n % 100;
378
378
  if (a > 20 || a < 10)
379
379
  switch (a % 10) {
@@ -385,14 +385,14 @@ const Qt = {
385
385
  return n + "rd";
386
386
  }
387
387
  return n + "th";
388
- }, Kt = {
389
- ordinalNumber: Jt,
388
+ }, Ut = {
389
+ ordinalNumber: Kt,
390
390
  era: $({
391
- values: Qt,
391
+ values: Xt,
392
392
  defaultWidth: "wide"
393
393
  }),
394
394
  quarter: $({
395
- values: Xt,
395
+ values: Qt,
396
396
  defaultWidth: "wide",
397
397
  argumentCallback: (e) => e - 1
398
398
  }),
@@ -407,26 +407,26 @@ const Qt = {
407
407
  dayPeriod: $({
408
408
  values: $t,
409
409
  defaultWidth: "wide",
410
- formattingValues: Ut,
410
+ formattingValues: Jt,
411
411
  defaultFormattingWidth: "wide"
412
412
  })
413
413
  };
414
- function U(e) {
414
+ function J(e) {
415
415
  return (t, n = {}) => {
416
416
  const a = n.width, r = a && e.matchPatterns[a] || e.matchPatterns[e.defaultMatchWidth], o = t.match(r);
417
417
  if (!o)
418
418
  return null;
419
- const i = o[0], s = a && e.parsePatterns[a] || e.parsePatterns[e.defaultParseWidth], l = Array.isArray(s) ? Zt(s, (f) => f.test(i)) : (
419
+ const i = o[0], s = a && e.parsePatterns[a] || e.parsePatterns[e.defaultParseWidth], l = Array.isArray(s) ? Zt(s, (h) => h.test(i)) : (
420
420
  // eslint-disable-next-line @typescript-eslint/no-explicit-any -- I challange you to fix the type
421
- zt(s, (f) => f.test(i))
421
+ zt(s, (h) => h.test(i))
422
422
  );
423
- let d;
424
- d = e.valueCallback ? e.valueCallback(l) : l, d = n.valueCallback ? (
423
+ let c;
424
+ c = e.valueCallback ? e.valueCallback(l) : l, c = n.valueCallback ? (
425
425
  // eslint-disable-next-line @typescript-eslint/no-explicit-any -- I challange you to fix the type
426
- n.valueCallback(d)
427
- ) : d;
426
+ n.valueCallback(c)
427
+ ) : c;
428
428
  const u = t.slice(i.length);
429
- return { value: d, rest: u };
429
+ return { value: c, rest: u };
430
430
  };
431
431
  }
432
432
  function zt(e, t) {
@@ -526,32 +526,32 @@ const tn = /^(\d+)(th|st|nd|rd)?/i, nn = /\d+/i, an = {
526
526
  parsePattern: nn,
527
527
  valueCallback: (e) => parseInt(e, 10)
528
528
  }),
529
- era: U({
529
+ era: J({
530
530
  matchPatterns: an,
531
531
  defaultMatchWidth: "wide",
532
532
  parsePatterns: rn,
533
533
  defaultParseWidth: "any"
534
534
  }),
535
- quarter: U({
535
+ quarter: J({
536
536
  matchPatterns: on,
537
537
  defaultMatchWidth: "wide",
538
538
  parsePatterns: sn,
539
539
  defaultParseWidth: "any",
540
540
  valueCallback: (e) => e + 1
541
541
  }),
542
- month: U({
542
+ month: J({
543
543
  matchPatterns: ln,
544
544
  defaultMatchWidth: "wide",
545
545
  parsePatterns: un,
546
546
  defaultParseWidth: "any"
547
547
  }),
548
- day: U({
548
+ day: J({
549
549
  matchPatterns: cn,
550
550
  defaultMatchWidth: "wide",
551
551
  parsePatterns: dn,
552
552
  defaultParseWidth: "any"
553
553
  }),
554
- dayPeriod: U({
554
+ dayPeriod: J({
555
555
  matchPatterns: fn,
556
556
  defaultMatchWidth: "any",
557
557
  parsePatterns: hn,
@@ -562,7 +562,7 @@ const tn = /^(\d+)(th|st|nd|rd)?/i, nn = /\d+/i, an = {
562
562
  formatDistance: It,
563
563
  formatLong: Ht,
564
564
  formatRelative: qt,
565
- localize: Kt,
565
+ localize: Ut,
566
566
  match: mn,
567
567
  options: {
568
568
  weekStartsOn: 0,
@@ -573,25 +573,25 @@ function vn(e) {
573
573
  const t = M(e);
574
574
  return L(t, Ge(t)) + 1;
575
575
  }
576
- function Ue(e) {
576
+ function Je(e) {
577
577
  const t = M(e), n = +A(t) - +St(t);
578
578
  return Math.round(n / De) + 1;
579
579
  }
580
- function Je(e, t) {
581
- var u, f, h, m;
582
- const n = M(e), a = n.getFullYear(), r = Z(), o = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((f = (u = t == null ? void 0 : t.locale) == null ? void 0 : u.options) == null ? void 0 : f.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((m = (h = r.locale) == null ? void 0 : h.options) == null ? void 0 : m.firstWeekContainsDate) ?? 1, i = W(e, 0);
580
+ function Ke(e, t) {
581
+ var u, h, m, f;
582
+ const n = M(e), a = n.getFullYear(), r = Z(), o = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((h = (u = t == null ? void 0 : t.locale) == null ? void 0 : u.options) == null ? void 0 : h.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((f = (m = r.locale) == null ? void 0 : m.options) == null ? void 0 : f.firstWeekContainsDate) ?? 1, i = W(e, 0);
583
583
  i.setFullYear(a + 1, 0, o), i.setHours(0, 0, 0, 0);
584
584
  const s = I(i, t), l = W(e, 0);
585
585
  l.setFullYear(a, 0, o), l.setHours(0, 0, 0, 0);
586
- const d = I(l, t);
587
- return n.getTime() >= s.getTime() ? a + 1 : n.getTime() >= d.getTime() ? a : a - 1;
586
+ const c = I(l, t);
587
+ return n.getTime() >= s.getTime() ? a + 1 : n.getTime() >= c.getTime() ? a : a - 1;
588
588
  }
589
589
  function yn(e, t) {
590
- var s, l, d, u;
591
- const n = Z(), a = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((l = (s = t == null ? void 0 : t.locale) == null ? void 0 : s.options) == null ? void 0 : l.firstWeekContainsDate) ?? n.firstWeekContainsDate ?? ((u = (d = n.locale) == null ? void 0 : d.options) == null ? void 0 : u.firstWeekContainsDate) ?? 1, r = Je(e, t), o = W(e, 0);
590
+ var s, l, c, u;
591
+ const n = Z(), a = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((l = (s = t == null ? void 0 : t.locale) == null ? void 0 : s.options) == null ? void 0 : l.firstWeekContainsDate) ?? n.firstWeekContainsDate ?? ((u = (c = n.locale) == null ? void 0 : c.options) == null ? void 0 : u.firstWeekContainsDate) ?? 1, r = Ke(e, t), o = W(e, 0);
592
592
  return o.setFullYear(r, 0, a), o.setHours(0, 0, 0, 0), I(o, t);
593
593
  }
594
- function Ke(e, t) {
594
+ function Ue(e, t) {
595
595
  const n = M(e), a = +I(n, t) - +yn(n, t);
596
596
  return Math.round(a / De) + 1;
597
597
  }
@@ -653,7 +653,7 @@ const B = {
653
653
  );
654
654
  return _(r, t.length);
655
655
  }
656
- }, X = {
656
+ }, Q = {
657
657
  am: "am",
658
658
  pm: "pm",
659
659
  midnight: "midnight",
@@ -688,7 +688,7 @@ const B = {
688
688
  },
689
689
  // Local week-numbering year
690
690
  Y: function(e, t, n, a) {
691
- const r = Je(e, a), o = r > 0 ? r : 1 - r;
691
+ const r = Ke(e, a), o = r > 0 ? r : 1 - r;
692
692
  if (t === "YY") {
693
693
  const i = o % 100;
694
694
  return _(i, 2);
@@ -697,7 +697,7 @@ const B = {
697
697
  },
698
698
  // ISO week-numbering year
699
699
  R: function(e, t) {
700
- const n = Xe(e);
700
+ const n = Qe(e);
701
701
  return _(n, t.length);
702
702
  },
703
703
  // Extended year. This is a single number designating the year of this calendar system.
@@ -820,12 +820,12 @@ const B = {
820
820
  },
821
821
  // Local week of year
822
822
  w: function(e, t, n, a) {
823
- const r = Ke(e, a);
823
+ const r = Ue(e, a);
824
824
  return t === "wo" ? n.ordinalNumber(r, { unit: "week" }) : _(r, t.length);
825
825
  },
826
826
  // ISO week of year
827
827
  I: function(e, t, n) {
828
- const a = Ue(e);
828
+ const a = Je(e);
829
829
  return t === "Io" ? n.ordinalNumber(a, { unit: "week" }) : _(a, t.length);
830
830
  },
831
831
  // Day of the month
@@ -997,7 +997,7 @@ const B = {
997
997
  b: function(e, t, n) {
998
998
  const a = e.getHours();
999
999
  let r;
1000
- switch (a === 12 ? r = X.noon : a === 0 ? r = X.midnight : r = a / 12 >= 1 ? "pm" : "am", t) {
1000
+ switch (a === 12 ? r = Q.noon : a === 0 ? r = Q.midnight : r = a / 12 >= 1 ? "pm" : "am", t) {
1001
1001
  case "b":
1002
1002
  case "bb":
1003
1003
  return n.dayPeriod(r, {
@@ -1026,7 +1026,7 @@ const B = {
1026
1026
  B: function(e, t, n) {
1027
1027
  const a = e.getHours();
1028
1028
  let r;
1029
- switch (a >= 17 ? r = X.evening : a >= 12 ? r = X.afternoon : a >= 4 ? r = X.morning : r = X.night, t) {
1029
+ switch (a >= 17 ? r = Q.evening : a >= 12 ? r = Q.afternoon : a >= 4 ? r = Q.morning : r = Q.night, t) {
1030
1030
  case "B":
1031
1031
  case "BB":
1032
1032
  case "BBB":
@@ -1227,44 +1227,44 @@ function Nn(e, t, n) {
1227
1227
  }
1228
1228
  const xn = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Pn = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, On = /^'([^]*?)'?$/, Cn = /''/g, Sn = /[a-zA-Z]/;
1229
1229
  function E(e, t, n) {
1230
- var u, f, h, m, y, D, w, N;
1231
- const a = Z(), r = (n == null ? void 0 : n.locale) ?? a.locale ?? $e, o = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((f = (u = n == null ? void 0 : n.locale) == null ? void 0 : u.options) == null ? void 0 : f.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((m = (h = a.locale) == null ? void 0 : h.options) == null ? void 0 : m.firstWeekContainsDate) ?? 1, i = (n == null ? void 0 : n.weekStartsOn) ?? ((D = (y = n == null ? void 0 : n.locale) == null ? void 0 : y.options) == null ? void 0 : D.weekStartsOn) ?? a.weekStartsOn ?? ((N = (w = a.locale) == null ? void 0 : w.options) == null ? void 0 : N.weekStartsOn) ?? 0, s = M(e);
1230
+ var u, h, m, f, v, p, y, k;
1231
+ const a = Z(), r = (n == null ? void 0 : n.locale) ?? a.locale ?? $e, o = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((h = (u = n == null ? void 0 : n.locale) == null ? void 0 : u.options) == null ? void 0 : h.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((f = (m = a.locale) == null ? void 0 : m.options) == null ? void 0 : f.firstWeekContainsDate) ?? 1, i = (n == null ? void 0 : n.weekStartsOn) ?? ((p = (v = n == null ? void 0 : n.locale) == null ? void 0 : v.options) == null ? void 0 : p.weekStartsOn) ?? a.weekStartsOn ?? ((k = (y = a.locale) == null ? void 0 : y.options) == null ? void 0 : k.weekStartsOn) ?? 0, s = M(e);
1232
1232
  if (!Ft(s))
1233
1233
  throw new RangeError("Invalid time value");
1234
- let l = t.match(Pn).map((p) => {
1235
- const x = p[0];
1234
+ let l = t.match(Pn).map((D) => {
1235
+ const x = D[0];
1236
1236
  if (x === "p" || x === "P") {
1237
1237
  const j = gn[x];
1238
- return j(p, r.formatLong);
1238
+ return j(D, r.formatLong);
1239
1239
  }
1240
- return p;
1241
- }).join("").match(xn).map((p) => {
1242
- if (p === "''")
1240
+ return D;
1241
+ }).join("").match(xn).map((D) => {
1242
+ if (D === "''")
1243
1243
  return { isToken: !1, value: "'" };
1244
- const x = p[0];
1244
+ const x = D[0];
1245
1245
  if (x === "'")
1246
- return { isToken: !1, value: Wn(p) };
1246
+ return { isToken: !1, value: Wn(D) };
1247
1247
  if (Ee[x])
1248
- return { isToken: !0, value: p };
1248
+ return { isToken: !0, value: D };
1249
1249
  if (x.match(Sn))
1250
1250
  throw new RangeError(
1251
1251
  "Format string contains an unescaped latin alphabet character `" + x + "`"
1252
1252
  );
1253
- return { isToken: !1, value: p };
1253
+ return { isToken: !1, value: D };
1254
1254
  });
1255
1255
  r.localize.preprocessor && (l = r.localize.preprocessor(s, l));
1256
- const d = {
1256
+ const c = {
1257
1257
  firstWeekContainsDate: o,
1258
1258
  weekStartsOn: i,
1259
1259
  locale: r
1260
1260
  };
1261
- return l.map((p) => {
1262
- if (!p.isToken)
1263
- return p.value;
1264
- const x = p.value;
1261
+ return l.map((D) => {
1262
+ if (!D.isToken)
1263
+ return D.value;
1264
+ const x = D.value;
1265
1265
  (!(n != null && n.useAdditionalWeekYearTokens) && _n(x) || !(n != null && n.useAdditionalDayOfYearTokens) && Mn(x)) && kn(x, t, String(e));
1266
1266
  const j = Ee[x[0]];
1267
- return j(s, x, r.localize, d);
1267
+ return j(s, x, r.localize, c);
1268
1268
  }).join("");
1269
1269
  }
1270
1270
  function Wn(e) {
@@ -1318,15 +1318,15 @@ function je(e, t) {
1318
1318
  const n = M(e);
1319
1319
  return isNaN(+n) ? W(e, NaN) : (n.setFullYear(t), n);
1320
1320
  }
1321
- var b = function() {
1322
- return b = Object.assign || function(t) {
1321
+ var g = function() {
1322
+ return g = Object.assign || function(t) {
1323
1323
  for (var n, a = 1, r = arguments.length; a < r; a++) {
1324
1324
  n = arguments[a];
1325
1325
  for (var o in n)
1326
1326
  Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
1327
1327
  }
1328
1328
  return t;
1329
- }, b.apply(this, arguments);
1329
+ }, g.apply(this, arguments);
1330
1330
  };
1331
1331
  function In(e, t) {
1332
1332
  var n = {};
@@ -1410,28 +1410,28 @@ function An(e) {
1410
1410
  function qn(e, t) {
1411
1411
  return E(e, "cccccc", t);
1412
1412
  }
1413
- function Qn(e, t) {
1413
+ function Xn(e, t) {
1414
1414
  return E(e, "yyyy", t);
1415
1415
  }
1416
- var Xn = /* @__PURE__ */ Object.freeze({
1416
+ var Qn = /* @__PURE__ */ Object.freeze({
1417
1417
  __proto__: null,
1418
1418
  formatCaption: Bn,
1419
1419
  formatDay: jn,
1420
1420
  formatMonthCaption: Hn,
1421
1421
  formatWeekNumber: An,
1422
1422
  formatWeekdayName: qn,
1423
- formatYearCaption: Qn
1423
+ formatYearCaption: Xn
1424
1424
  }), Gn = function(e, t, n) {
1425
1425
  return E(e, "do MMMM (EEEE)", n);
1426
1426
  }, Vn = function() {
1427
1427
  return "Month: ";
1428
1428
  }, $n = function() {
1429
1429
  return "Go to next month";
1430
- }, Un = function() {
1430
+ }, Jn = function() {
1431
1431
  return "Go to previous month";
1432
- }, Jn = function(e, t) {
1432
+ }, Kn = function(e, t) {
1433
1433
  return E(e, "cccc", t);
1434
- }, Kn = function(e) {
1434
+ }, Un = function(e) {
1435
1435
  return "Week n. ".concat(e);
1436
1436
  }, zn = function() {
1437
1437
  return "Year: ";
@@ -1440,9 +1440,9 @@ var Xn = /* @__PURE__ */ Object.freeze({
1440
1440
  labelDay: Gn,
1441
1441
  labelMonthDropdown: Vn,
1442
1442
  labelNext: $n,
1443
- labelPrevious: Un,
1444
- labelWeekNumber: Kn,
1445
- labelWeekday: Jn,
1443
+ labelPrevious: Jn,
1444
+ labelWeekNumber: Un,
1445
+ labelWeekday: Kn,
1446
1446
  labelYearDropdown: zn
1447
1447
  });
1448
1448
  function ea() {
@@ -1450,7 +1450,7 @@ function ea() {
1450
1450
  return {
1451
1451
  captionLayout: e,
1452
1452
  classNames: t,
1453
- formatters: Xn,
1453
+ formatters: Qn,
1454
1454
  labels: Zn,
1455
1455
  locale: n,
1456
1456
  modifiersClassNames: a,
@@ -1474,77 +1474,77 @@ function na(e) {
1474
1474
  s !== "buttons" && (!o || !i) && (s = "buttons");
1475
1475
  var l;
1476
1476
  (se(n) || ee(n) || te(n)) && (l = n.onSelect);
1477
- var d = b(b(b({}, a), n), { captionLayout: s, classNames: b(b({}, a.classNames), n.classNames), components: b({}, n.components), formatters: b(b({}, a.formatters), n.formatters), fromDate: o, labels: b(b({}, a.labels), n.labels), mode: n.mode || a.mode, modifiers: b(b({}, a.modifiers), n.modifiers), modifiersClassNames: b(b({}, a.modifiersClassNames), n.modifiersClassNames), onSelect: l, styles: b(b({}, a.styles), n.styles), toDate: i });
1478
- return c(tt.Provider, { value: d, children: e.children });
1477
+ var c = g(g(g({}, a), n), { captionLayout: s, classNames: g(g({}, a.classNames), n.classNames), components: g({}, n.components), formatters: g(g({}, a.formatters), n.formatters), fromDate: o, labels: g(g({}, a.labels), n.labels), mode: n.mode || a.mode, modifiers: g(g({}, a.modifiers), n.modifiers), modifiersClassNames: g(g({}, a.modifiersClassNames), n.modifiersClassNames), onSelect: l, styles: g(g({}, a.styles), n.styles), toDate: i });
1478
+ return d(tt.Provider, { value: c, children: e.children });
1479
1479
  }
1480
- function k() {
1481
- var e = Q(tt);
1480
+ function N() {
1481
+ var e = X(tt);
1482
1482
  if (!e)
1483
1483
  throw new Error("useDayPicker must be used within a DayPickerProvider.");
1484
1484
  return e;
1485
1485
  }
1486
1486
  function nt(e) {
1487
- var t = k(), n = t.locale, a = t.classNames, r = t.styles, o = t.formatters.formatCaption;
1488
- return c("div", { className: a.caption_label, style: r.caption_label, "aria-live": "polite", role: "presentation", id: e.id, children: o(e.displayMonth, { locale: n }) });
1487
+ var t = N(), n = t.locale, a = t.classNames, r = t.styles, o = t.formatters.formatCaption;
1488
+ return d("div", { className: a.caption_label, style: r.caption_label, "aria-live": "polite", role: "presentation", id: e.id, children: o(e.displayMonth, { locale: n }) });
1489
1489
  }
1490
1490
  function aa(e) {
1491
- return c("svg", b({ width: "8px", height: "8px", viewBox: "0 0 120 120", "data-testid": "iconDropdown" }, e, { children: c("path", { d: "M4.22182541,48.2218254 C8.44222828,44.0014225 15.2388494,43.9273804 19.5496459,47.9996989 L19.7781746,48.2218254 L60,88.443 L100.221825,48.2218254 C104.442228,44.0014225 111.238849,43.9273804 115.549646,47.9996989 L115.778175,48.2218254 C119.998577,52.4422283 120.07262,59.2388494 116.000301,63.5496459 L115.778175,63.7781746 L67.7781746,111.778175 C63.5577717,115.998577 56.7611506,116.07262 52.4503541,112.000301 L52.2218254,111.778175 L4.22182541,63.7781746 C-0.0739418023,59.4824074 -0.0739418023,52.5175926 4.22182541,48.2218254 Z", fill: "currentColor", fillRule: "nonzero" }) }));
1491
+ return d("svg", g({ width: "8px", height: "8px", viewBox: "0 0 120 120", "data-testid": "iconDropdown" }, e, { children: d("path", { d: "M4.22182541,48.2218254 C8.44222828,44.0014225 15.2388494,43.9273804 19.5496459,47.9996989 L19.7781746,48.2218254 L60,88.443 L100.221825,48.2218254 C104.442228,44.0014225 111.238849,43.9273804 115.549646,47.9996989 L115.778175,48.2218254 C119.998577,52.4422283 120.07262,59.2388494 116.000301,63.5496459 L115.778175,63.7781746 L67.7781746,111.778175 C63.5577717,115.998577 56.7611506,116.07262 52.4503541,112.000301 L52.2218254,111.778175 L4.22182541,63.7781746 C-0.0739418023,59.4824074 -0.0739418023,52.5175926 4.22182541,48.2218254 Z", fill: "currentColor", fillRule: "nonzero" }) }));
1492
1492
  }
1493
1493
  function at(e) {
1494
- var t, n, a = e.onChange, r = e.value, o = e.children, i = e.caption, s = e.className, l = e.style, d = k(), u = (n = (t = d.components) === null || t === void 0 ? void 0 : t.IconDropdown) !== null && n !== void 0 ? n : aa;
1495
- return O("div", { className: s, style: l, children: [c("span", { className: d.classNames.vhidden, children: e["aria-label"] }), c("select", { name: e.name, "aria-label": e["aria-label"], className: d.classNames.dropdown, style: d.styles.dropdown, value: r, onChange: a, children: o }), O("div", { className: d.classNames.caption_label, style: d.styles.caption_label, "aria-hidden": "true", children: [i, c(u, { className: d.classNames.dropdown_icon, style: d.styles.dropdown_icon })] })] });
1494
+ var t, n, a = e.onChange, r = e.value, o = e.children, i = e.caption, s = e.className, l = e.style, c = N(), u = (n = (t = c.components) === null || t === void 0 ? void 0 : t.IconDropdown) !== null && n !== void 0 ? n : aa;
1495
+ return O("div", { className: s, style: l, children: [d("span", { className: c.classNames.vhidden, children: e["aria-label"] }), d("select", { name: e.name, "aria-label": e["aria-label"], className: c.classNames.dropdown, style: c.styles.dropdown, value: r, onChange: a, children: o }), O("div", { className: c.classNames.caption_label, style: c.styles.caption_label, "aria-hidden": "true", children: [i, d(u, { className: c.classNames.dropdown_icon, style: c.styles.dropdown_icon })] })] });
1496
1496
  }
1497
1497
  function ra(e) {
1498
- var t, n = k(), a = n.fromDate, r = n.toDate, o = n.styles, i = n.locale, s = n.formatters.formatMonthCaption, l = n.classNames, d = n.components, u = n.labels.labelMonthDropdown;
1498
+ var t, n = N(), a = n.fromDate, r = n.toDate, o = n.styles, i = n.locale, s = n.formatters.formatMonthCaption, l = n.classNames, c = n.components, u = n.labels.labelMonthDropdown;
1499
1499
  if (!a)
1500
- return c(T, {});
1500
+ return d(T, {});
1501
1501
  if (!r)
1502
- return c(T, {});
1503
- var f = [];
1502
+ return d(T, {});
1503
+ var h = [];
1504
1504
  if (En(a, r))
1505
- for (var h = S(a), m = a.getMonth(); m <= r.getMonth(); m++)
1506
- f.push(me(h, m));
1505
+ for (var m = S(a), f = a.getMonth(); f <= r.getMonth(); f++)
1506
+ h.push(me(m, f));
1507
1507
  else
1508
- for (var h = S(/* @__PURE__ */ new Date()), m = 0; m <= 11; m++)
1509
- f.push(me(h, m));
1510
- var y = function(w) {
1511
- var N = Number(w.target.value), p = me(S(e.displayMonth), N);
1512
- e.onChange(p);
1513
- }, D = (t = d == null ? void 0 : d.Dropdown) !== null && t !== void 0 ? t : at;
1514
- return c(D, { name: "months", "aria-label": u(), className: l.dropdown_month, style: o.dropdown_month, onChange: y, value: e.displayMonth.getMonth(), caption: s(e.displayMonth, { locale: i }), children: f.map(function(w) {
1515
- return c("option", { value: w.getMonth(), children: s(w, { locale: i }) }, w.getMonth());
1508
+ for (var m = S(/* @__PURE__ */ new Date()), f = 0; f <= 11; f++)
1509
+ h.push(me(m, f));
1510
+ var v = function(y) {
1511
+ var k = Number(y.target.value), D = me(S(e.displayMonth), k);
1512
+ e.onChange(D);
1513
+ }, p = (t = c == null ? void 0 : c.Dropdown) !== null && t !== void 0 ? t : at;
1514
+ return d(p, { name: "months", "aria-label": u(), className: l.dropdown_month, style: o.dropdown_month, onChange: v, value: e.displayMonth.getMonth(), caption: s(e.displayMonth, { locale: i }), children: h.map(function(y) {
1515
+ return d("option", { value: y.getMonth(), children: s(y, { locale: i }) }, y.getMonth());
1516
1516
  }) });
1517
1517
  }
1518
1518
  function oa(e) {
1519
- var t, n = e.displayMonth, a = k(), r = a.fromDate, o = a.toDate, i = a.locale, s = a.styles, l = a.classNames, d = a.components, u = a.formatters.formatYearCaption, f = a.labels.labelYearDropdown, h = [];
1519
+ var t, n = e.displayMonth, a = N(), r = a.fromDate, o = a.toDate, i = a.locale, s = a.styles, l = a.classNames, c = a.components, u = a.formatters.formatYearCaption, h = a.labels.labelYearDropdown, m = [];
1520
1520
  if (!r)
1521
- return c(T, {});
1521
+ return d(T, {});
1522
1522
  if (!o)
1523
- return c(T, {});
1524
- for (var m = r.getFullYear(), y = o.getFullYear(), D = m; D <= y; D++)
1525
- h.push(je(Ge(/* @__PURE__ */ new Date()), D));
1526
- var w = function(p) {
1527
- var x = je(S(n), Number(p.target.value));
1523
+ return d(T, {});
1524
+ for (var f = r.getFullYear(), v = o.getFullYear(), p = f; p <= v; p++)
1525
+ m.push(je(Ge(/* @__PURE__ */ new Date()), p));
1526
+ var y = function(D) {
1527
+ var x = je(S(n), Number(D.target.value));
1528
1528
  e.onChange(x);
1529
- }, N = (t = d == null ? void 0 : d.Dropdown) !== null && t !== void 0 ? t : at;
1530
- return c(N, { name: "years", "aria-label": f(), className: l.dropdown_year, style: s.dropdown_year, onChange: w, value: n.getFullYear(), caption: u(n, { locale: i }), children: h.map(function(p) {
1531
- return c("option", { value: p.getFullYear(), children: u(p, { locale: i }) }, p.getFullYear());
1529
+ }, k = (t = c == null ? void 0 : c.Dropdown) !== null && t !== void 0 ? t : at;
1530
+ return d(k, { name: "years", "aria-label": h(), className: l.dropdown_year, style: s.dropdown_year, onChange: y, value: n.getFullYear(), caption: u(n, { locale: i }), children: m.map(function(D) {
1531
+ return d("option", { value: D.getFullYear(), children: u(D, { locale: i }) }, D.getFullYear());
1532
1532
  }) });
1533
1533
  }
1534
1534
  function ia(e, t) {
1535
- var n = K(e), a = n[0], r = n[1], o = t === void 0 ? a : t;
1535
+ var n = U(e), a = n[0], r = n[1], o = t === void 0 ? a : t;
1536
1536
  return [o, r];
1537
1537
  }
1538
1538
  function sa(e) {
1539
1539
  var t = e.month, n = e.defaultMonth, a = e.today, r = t || n || a || /* @__PURE__ */ new Date(), o = e.toDate, i = e.fromDate, s = e.numberOfMonths, l = s === void 0 ? 1 : s;
1540
1540
  if (o && z(o, r) < 0) {
1541
- var d = -1 * (l - 1);
1542
- r = Y(o, d);
1541
+ var c = -1 * (l - 1);
1542
+ r = Y(o, c);
1543
1543
  }
1544
1544
  return i && z(r, i) < 0 && (r = i), S(r);
1545
1545
  }
1546
1546
  function la() {
1547
- var e = k(), t = sa(e), n = ia(t, e.month), a = n[0], r = n[1], o = function(i) {
1547
+ var e = N(), t = sa(e), n = ia(t, e.month), a = n[0], r = n[1], o = function(i) {
1548
1548
  var s;
1549
1549
  if (!e.disableNavigation) {
1550
1550
  var l = S(i);
@@ -1555,8 +1555,8 @@ function la() {
1555
1555
  }
1556
1556
  function ua(e, t) {
1557
1557
  for (var n = t.reverseMonths, a = t.numberOfMonths, r = S(e), o = S(Y(r, a)), i = z(o, r), s = [], l = 0; l < i; l++) {
1558
- var d = Y(r, l);
1559
- s.push(d);
1558
+ var c = Y(r, l);
1559
+ s.push(c);
1560
1560
  }
1561
1561
  return n && (s = s.reverse()), s;
1562
1562
  }
@@ -1582,77 +1582,77 @@ function da(e, t) {
1582
1582
  }
1583
1583
  var rt = q(void 0);
1584
1584
  function fa(e) {
1585
- var t = k(), n = la(), a = n[0], r = n[1], o = ua(a, t), i = ca(a, t), s = da(a, t), l = function(f) {
1586
- return o.some(function(h) {
1587
- return Ne(f, h);
1585
+ var t = N(), n = la(), a = n[0], r = n[1], o = ua(a, t), i = ca(a, t), s = da(a, t), l = function(h) {
1586
+ return o.some(function(m) {
1587
+ return Ne(h, m);
1588
1588
  });
1589
- }, d = function(f, h) {
1590
- l(f) || (h && Ze(f, h) ? r(Y(f, 1 + t.numberOfMonths * -1)) : r(f));
1589
+ }, c = function(h, m) {
1590
+ l(h) || (m && Ze(h, m) ? r(Y(h, 1 + t.numberOfMonths * -1)) : r(h));
1591
1591
  }, u = {
1592
1592
  currentMonth: a,
1593
1593
  displayMonths: o,
1594
1594
  goToMonth: r,
1595
- goToDate: d,
1595
+ goToDate: c,
1596
1596
  previousMonth: s,
1597
1597
  nextMonth: i,
1598
1598
  isDateDisplayed: l
1599
1599
  };
1600
- return c(rt.Provider, { value: u, children: e.children });
1600
+ return d(rt.Provider, { value: u, children: e.children });
1601
1601
  }
1602
1602
  function ne() {
1603
- var e = Q(rt);
1603
+ var e = X(rt);
1604
1604
  if (!e)
1605
1605
  throw new Error("useNavigation must be used within a NavigationProvider");
1606
1606
  return e;
1607
1607
  }
1608
1608
  function He(e) {
1609
- var t, n = k(), a = n.classNames, r = n.styles, o = n.components, i = ne().goToMonth, s = function(u) {
1609
+ var t, n = N(), a = n.classNames, r = n.styles, o = n.components, i = ne().goToMonth, s = function(u) {
1610
1610
  i(Y(u, e.displayIndex ? -e.displayIndex : 0));
1611
- }, l = (t = o == null ? void 0 : o.CaptionLabel) !== null && t !== void 0 ? t : nt, d = c(l, { id: e.id, displayMonth: e.displayMonth });
1612
- return O("div", { className: a.caption_dropdowns, style: r.caption_dropdowns, children: [c("div", { className: a.vhidden, children: d }), c(ra, { onChange: s, displayMonth: e.displayMonth }), c(oa, { onChange: s, displayMonth: e.displayMonth })] });
1611
+ }, l = (t = o == null ? void 0 : o.CaptionLabel) !== null && t !== void 0 ? t : nt, c = d(l, { id: e.id, displayMonth: e.displayMonth });
1612
+ return O("div", { className: a.caption_dropdowns, style: r.caption_dropdowns, children: [d("div", { className: a.vhidden, children: c }), d(ra, { onChange: s, displayMonth: e.displayMonth }), d(oa, { onChange: s, displayMonth: e.displayMonth })] });
1613
1613
  }
1614
1614
  function ha(e) {
1615
- return c("svg", b({ width: "16px", height: "16px", viewBox: "0 0 120 120" }, e, { children: c("path", { d: "M69.490332,3.34314575 C72.6145263,0.218951416 77.6798462,0.218951416 80.8040405,3.34314575 C83.8617626,6.40086786 83.9268205,11.3179931 80.9992143,14.4548388 L80.8040405,14.6568542 L35.461,60 L80.8040405,105.343146 C83.8617626,108.400868 83.9268205,113.317993 80.9992143,116.454839 L80.8040405,116.656854 C77.7463184,119.714576 72.8291931,119.779634 69.6923475,116.852028 L69.490332,116.656854 L18.490332,65.6568542 C15.4326099,62.5991321 15.367552,57.6820069 18.2951583,54.5451612 L18.490332,54.3431458 L69.490332,3.34314575 Z", fill: "currentColor", fillRule: "nonzero" }) }));
1615
+ return d("svg", g({ width: "16px", height: "16px", viewBox: "0 0 120 120" }, e, { children: d("path", { d: "M69.490332,3.34314575 C72.6145263,0.218951416 77.6798462,0.218951416 80.8040405,3.34314575 C83.8617626,6.40086786 83.9268205,11.3179931 80.9992143,14.4548388 L80.8040405,14.6568542 L35.461,60 L80.8040405,105.343146 C83.8617626,108.400868 83.9268205,113.317993 80.9992143,116.454839 L80.8040405,116.656854 C77.7463184,119.714576 72.8291931,119.779634 69.6923475,116.852028 L69.490332,116.656854 L18.490332,65.6568542 C15.4326099,62.5991321 15.367552,57.6820069 18.2951583,54.5451612 L18.490332,54.3431458 L69.490332,3.34314575 Z", fill: "currentColor", fillRule: "nonzero" }) }));
1616
1616
  }
1617
1617
  function ma(e) {
1618
- return c("svg", b({ width: "16px", height: "16px", viewBox: "0 0 120 120" }, e, { children: c("path", { d: "M49.8040405,3.34314575 C46.6798462,0.218951416 41.6145263,0.218951416 38.490332,3.34314575 C35.4326099,6.40086786 35.367552,11.3179931 38.2951583,14.4548388 L38.490332,14.6568542 L83.8333725,60 L38.490332,105.343146 C35.4326099,108.400868 35.367552,113.317993 38.2951583,116.454839 L38.490332,116.656854 C41.5480541,119.714576 46.4651794,119.779634 49.602025,116.852028 L49.8040405,116.656854 L100.804041,65.6568542 C103.861763,62.5991321 103.926821,57.6820069 100.999214,54.5451612 L100.804041,54.3431458 L49.8040405,3.34314575 Z", fill: "currentColor" }) }));
1618
+ return d("svg", g({ width: "16px", height: "16px", viewBox: "0 0 120 120" }, e, { children: d("path", { d: "M49.8040405,3.34314575 C46.6798462,0.218951416 41.6145263,0.218951416 38.490332,3.34314575 C35.4326099,6.40086786 35.367552,11.3179931 38.2951583,14.4548388 L38.490332,14.6568542 L83.8333725,60 L38.490332,105.343146 C35.4326099,108.400868 35.367552,113.317993 38.2951583,116.454839 L38.490332,116.656854 C41.5480541,119.714576 46.4651794,119.779634 49.602025,116.852028 L49.8040405,116.656854 L100.804041,65.6568542 C103.861763,62.5991321 103.926821,57.6820069 100.999214,54.5451612 L100.804041,54.3431458 L49.8040405,3.34314575 Z", fill: "currentColor" }) }));
1619
1619
  }
1620
1620
  var oe = Nt(function(e, t) {
1621
- var n = k(), a = n.classNames, r = n.styles, o = [a.button_reset, a.button];
1621
+ var n = N(), a = n.classNames, r = n.styles, o = [a.button_reset, a.button];
1622
1622
  e.className && o.push(e.className);
1623
- var i = o.join(" "), s = b(b({}, r.button_reset), r.button);
1624
- return e.style && Object.assign(s, e.style), c("button", b({}, e, { ref: t, type: "button", className: i, style: s }));
1623
+ var i = o.join(" "), s = g(g({}, r.button_reset), r.button);
1624
+ return e.style && Object.assign(s, e.style), d("button", g({}, e, { ref: t, type: "button", className: i, style: s }));
1625
1625
  });
1626
1626
  function va(e) {
1627
- var t, n, a = k(), r = a.dir, o = a.locale, i = a.classNames, s = a.styles, l = a.labels, d = l.labelPrevious, u = l.labelNext, f = a.components;
1627
+ var t, n, a = N(), r = a.dir, o = a.locale, i = a.classNames, s = a.styles, l = a.labels, c = l.labelPrevious, u = l.labelNext, h = a.components;
1628
1628
  if (!e.nextMonth && !e.previousMonth)
1629
- return c(T, {});
1630
- var h = d(e.previousMonth, { locale: o }), m = [
1629
+ return d(T, {});
1630
+ var m = c(e.previousMonth, { locale: o }), f = [
1631
1631
  i.nav_button,
1632
1632
  i.nav_button_previous
1633
- ].join(" "), y = u(e.nextMonth, { locale: o }), D = [
1633
+ ].join(" "), v = u(e.nextMonth, { locale: o }), p = [
1634
1634
  i.nav_button,
1635
1635
  i.nav_button_next
1636
- ].join(" "), w = (t = f == null ? void 0 : f.IconRight) !== null && t !== void 0 ? t : ma, N = (n = f == null ? void 0 : f.IconLeft) !== null && n !== void 0 ? n : ha;
1637
- return O("div", { className: i.nav, style: s.nav, children: [!e.hidePrevious && c(oe, { name: "previous-month", "aria-label": h, className: m, style: s.nav_button_previous, disabled: !e.previousMonth, onClick: e.onPreviousClick, children: r === "rtl" ? c(w, { className: i.nav_icon, style: s.nav_icon }) : c(N, { className: i.nav_icon, style: s.nav_icon }) }), !e.hideNext && c(oe, { name: "next-month", "aria-label": y, className: D, style: s.nav_button_next, disabled: !e.nextMonth, onClick: e.onNextClick, children: r === "rtl" ? c(N, { className: i.nav_icon, style: s.nav_icon }) : c(w, { className: i.nav_icon, style: s.nav_icon }) })] });
1636
+ ].join(" "), y = (t = h == null ? void 0 : h.IconRight) !== null && t !== void 0 ? t : ma, k = (n = h == null ? void 0 : h.IconLeft) !== null && n !== void 0 ? n : ha;
1637
+ return O("div", { className: i.nav, style: s.nav, children: [!e.hidePrevious && d(oe, { name: "previous-month", "aria-label": m, className: f, style: s.nav_button_previous, disabled: !e.previousMonth, onClick: e.onPreviousClick, children: r === "rtl" ? d(y, { className: i.nav_icon, style: s.nav_icon }) : d(k, { className: i.nav_icon, style: s.nav_icon }) }), !e.hideNext && d(oe, { name: "next-month", "aria-label": v, className: p, style: s.nav_button_next, disabled: !e.nextMonth, onClick: e.onNextClick, children: r === "rtl" ? d(k, { className: i.nav_icon, style: s.nav_icon }) : d(y, { className: i.nav_icon, style: s.nav_icon }) })] });
1638
1638
  }
1639
1639
  function Ae(e) {
1640
- var t = k().numberOfMonths, n = ne(), a = n.previousMonth, r = n.nextMonth, o = n.goToMonth, i = n.displayMonths, s = i.findIndex(function(y) {
1641
- return Ne(e.displayMonth, y);
1642
- }), l = s === 0, d = s === i.length - 1, u = t > 1 && (l || !d), f = t > 1 && (d || !l), h = function() {
1640
+ var t = N().numberOfMonths, n = ne(), a = n.previousMonth, r = n.nextMonth, o = n.goToMonth, i = n.displayMonths, s = i.findIndex(function(v) {
1641
+ return Ne(e.displayMonth, v);
1642
+ }), l = s === 0, c = s === i.length - 1, u = t > 1 && (l || !c), h = t > 1 && (c || !l), m = function() {
1643
1643
  a && o(a);
1644
- }, m = function() {
1644
+ }, f = function() {
1645
1645
  r && o(r);
1646
1646
  };
1647
- return c(va, { displayMonth: e.displayMonth, hideNext: u, hidePrevious: f, nextMonth: r, previousMonth: a, onPreviousClick: h, onNextClick: m });
1647
+ return d(va, { displayMonth: e.displayMonth, hideNext: u, hidePrevious: h, nextMonth: r, previousMonth: a, onPreviousClick: m, onNextClick: f });
1648
1648
  }
1649
1649
  function ya(e) {
1650
- var t, n = k(), a = n.classNames, r = n.disableNavigation, o = n.styles, i = n.captionLayout, s = n.components, l = (t = s == null ? void 0 : s.CaptionLabel) !== null && t !== void 0 ? t : nt, d;
1651
- return r ? d = c(l, { id: e.id, displayMonth: e.displayMonth }) : i === "dropdown" ? d = c(He, { displayMonth: e.displayMonth, id: e.id }) : i === "dropdown-buttons" ? d = O(T, { children: [c(He, { displayMonth: e.displayMonth, displayIndex: e.displayIndex, id: e.id }), c(Ae, { displayMonth: e.displayMonth, displayIndex: e.displayIndex, id: e.id })] }) : d = O(T, { children: [c(l, { id: e.id, displayMonth: e.displayMonth, displayIndex: e.displayIndex }), c(Ae, { displayMonth: e.displayMonth, id: e.id })] }), c("div", { className: a.caption, style: o.caption, children: d });
1650
+ var t, n = N(), a = n.classNames, r = n.disableNavigation, o = n.styles, i = n.captionLayout, s = n.components, l = (t = s == null ? void 0 : s.CaptionLabel) !== null && t !== void 0 ? t : nt, c;
1651
+ return r ? c = d(l, { id: e.id, displayMonth: e.displayMonth }) : i === "dropdown" ? c = d(He, { displayMonth: e.displayMonth, id: e.id }) : i === "dropdown-buttons" ? c = O(T, { children: [d(He, { displayMonth: e.displayMonth, displayIndex: e.displayIndex, id: e.id }), d(Ae, { displayMonth: e.displayMonth, displayIndex: e.displayIndex, id: e.id })] }) : c = O(T, { children: [d(l, { id: e.id, displayMonth: e.displayMonth, displayIndex: e.displayIndex }), d(Ae, { displayMonth: e.displayMonth, id: e.id })] }), d("div", { className: a.caption, style: o.caption, children: c });
1652
1652
  }
1653
1653
  function ba(e) {
1654
- var t = k(), n = t.footer, a = t.styles, r = t.classNames.tfoot;
1655
- return n ? c("tfoot", { className: r, style: a.tfoot, children: c("tr", { children: c("td", { colSpan: 8, children: n }) }) }) : c(T, {});
1654
+ var t = N(), n = t.footer, a = t.styles, r = t.classNames.tfoot;
1655
+ return n ? d("tfoot", { className: r, style: a.tfoot, children: d("tr", { children: d("td", { colSpan: 8, children: n }) }) }) : d(T, {});
1656
1656
  }
1657
1657
  function ga(e, t, n) {
1658
1658
  for (var a = n ? A(/* @__PURE__ */ new Date()) : I(/* @__PURE__ */ new Date(), { locale: e, weekStartsOn: t }), r = [], o = 0; o < 7; o++) {
@@ -1662,18 +1662,18 @@ function ga(e, t, n) {
1662
1662
  return r;
1663
1663
  }
1664
1664
  function wa() {
1665
- var e = k(), t = e.classNames, n = e.styles, a = e.showWeekNumber, r = e.locale, o = e.weekStartsOn, i = e.ISOWeek, s = e.formatters.formatWeekdayName, l = e.labels.labelWeekday, d = ga(r, o, i);
1666
- return O("tr", { style: n.head_row, className: t.head_row, children: [a && c("td", { style: n.head_cell, className: t.head_cell }), d.map(function(u, f) {
1667
- return c("th", { scope: "col", className: t.head_cell, style: n.head_cell, "aria-label": l(u, { locale: r }), children: s(u, { locale: r }) }, f);
1665
+ var e = N(), t = e.classNames, n = e.styles, a = e.showWeekNumber, r = e.locale, o = e.weekStartsOn, i = e.ISOWeek, s = e.formatters.formatWeekdayName, l = e.labels.labelWeekday, c = ga(r, o, i);
1666
+ return O("tr", { style: n.head_row, className: t.head_row, children: [a && d("td", { style: n.head_cell, className: t.head_cell }), c.map(function(u, h) {
1667
+ return d("th", { scope: "col", className: t.head_cell, style: n.head_cell, "aria-label": l(u, { locale: r }), children: s(u, { locale: r }) }, h);
1668
1668
  })] });
1669
1669
  }
1670
1670
  function pa() {
1671
- var e, t = k(), n = t.classNames, a = t.styles, r = t.components, o = (e = r == null ? void 0 : r.HeadRow) !== null && e !== void 0 ? e : wa;
1672
- return c("thead", { style: a.head, className: n.head, children: c(o, {}) });
1671
+ var e, t = N(), n = t.classNames, a = t.styles, r = t.components, o = (e = r == null ? void 0 : r.HeadRow) !== null && e !== void 0 ? e : wa;
1672
+ return d("thead", { style: a.head, className: n.head, children: d(o, {}) });
1673
1673
  }
1674
1674
  function Da(e) {
1675
- var t = k(), n = t.locale, a = t.formatters.formatDay;
1676
- return c(T, { children: a(e.date, { locale: n }) });
1675
+ var t = N(), n = t.locale, a = t.formatters.formatDay;
1676
+ return d(T, { children: a(e.date, { locale: n }) });
1677
1677
  }
1678
1678
  var xe = q(void 0);
1679
1679
  function Ma(e) {
@@ -1684,47 +1684,47 @@ function Ma(e) {
1684
1684
  disabled: []
1685
1685
  }
1686
1686
  };
1687
- return c(xe.Provider, { value: t, children: e.children });
1687
+ return d(xe.Provider, { value: t, children: e.children });
1688
1688
  }
1689
- return c(_a, { initialProps: e.initialProps, children: e.children });
1689
+ return d(_a, { initialProps: e.initialProps, children: e.children });
1690
1690
  }
1691
1691
  function _a(e) {
1692
- var t = e.initialProps, n = e.children, a = t.selected, r = t.min, o = t.max, i = function(d, u, f) {
1693
- var h, m;
1694
- (h = t.onDayClick) === null || h === void 0 || h.call(t, d, u, f);
1695
- var y = !!(u.selected && r && (a == null ? void 0 : a.length) === r);
1696
- if (!y) {
1697
- var D = !!(!u.selected && o && (a == null ? void 0 : a.length) === o);
1698
- if (!D) {
1699
- var w = a ? et([], a, !0) : [];
1692
+ var t = e.initialProps, n = e.children, a = t.selected, r = t.min, o = t.max, i = function(c, u, h) {
1693
+ var m, f;
1694
+ (m = t.onDayClick) === null || m === void 0 || m.call(t, c, u, h);
1695
+ var v = !!(u.selected && r && (a == null ? void 0 : a.length) === r);
1696
+ if (!v) {
1697
+ var p = !!(!u.selected && o && (a == null ? void 0 : a.length) === o);
1698
+ if (!p) {
1699
+ var y = a ? et([], a, !0) : [];
1700
1700
  if (u.selected) {
1701
- var N = w.findIndex(function(p) {
1702
- return C(d, p);
1701
+ var k = y.findIndex(function(D) {
1702
+ return C(c, D);
1703
1703
  });
1704
- w.splice(N, 1);
1704
+ y.splice(k, 1);
1705
1705
  } else
1706
- w.push(d);
1707
- (m = t.onSelect) === null || m === void 0 || m.call(t, w, d, u, f);
1706
+ y.push(c);
1707
+ (f = t.onSelect) === null || f === void 0 || f.call(t, y, c, u, h);
1708
1708
  }
1709
1709
  }
1710
1710
  }, s = {
1711
1711
  disabled: []
1712
1712
  };
1713
- a && s.disabled.push(function(d) {
1714
- var u = o && a.length > o - 1, f = a.some(function(h) {
1715
- return C(h, d);
1713
+ a && s.disabled.push(function(c) {
1714
+ var u = o && a.length > o - 1, h = a.some(function(m) {
1715
+ return C(m, c);
1716
1716
  });
1717
- return !!(u && !f);
1717
+ return !!(u && !h);
1718
1718
  });
1719
1719
  var l = {
1720
1720
  selected: a,
1721
1721
  onDayClick: i,
1722
1722
  modifiers: s
1723
1723
  };
1724
- return c(xe.Provider, { value: l, children: n });
1724
+ return d(xe.Provider, { value: l, children: n });
1725
1725
  }
1726
1726
  function Pe() {
1727
- var e = Q(xe);
1727
+ var e = X(xe);
1728
1728
  if (!e)
1729
1729
  throw new Error("useSelectMultiple must be used within a SelectMultipleProvider");
1730
1730
  return e;
@@ -1745,16 +1745,16 @@ function Na(e) {
1745
1745
  disabled: []
1746
1746
  }
1747
1747
  };
1748
- return c(Oe.Provider, { value: t, children: e.children });
1748
+ return d(Oe.Provider, { value: t, children: e.children });
1749
1749
  }
1750
- return c(xa, { initialProps: e.initialProps, children: e.children });
1750
+ return d(xa, { initialProps: e.initialProps, children: e.children });
1751
1751
  }
1752
1752
  function xa(e) {
1753
- var t = e.initialProps, n = e.children, a = t.selected, r = a || {}, o = r.from, i = r.to, s = t.min, l = t.max, d = function(m, y, D) {
1754
- var w, N;
1755
- (w = t.onDayClick) === null || w === void 0 || w.call(t, m, y, D);
1756
- var p = ka(m, a);
1757
- (N = t.onSelect) === null || N === void 0 || N.call(t, p, m, y, D);
1753
+ var t = e.initialProps, n = e.children, a = t.selected, r = a || {}, o = r.from, i = r.to, s = t.min, l = t.max, c = function(f, v, p) {
1754
+ var y, k;
1755
+ (y = t.onDayClick) === null || y === void 0 || y.call(t, f, v, p);
1756
+ var D = ka(f, a);
1757
+ (k = t.onSelect) === null || k === void 0 || k.call(t, D, f, v, p);
1758
1758
  }, u = {
1759
1759
  range_start: [],
1760
1760
  range_end: [],
@@ -1781,11 +1781,11 @@ function xa(e) {
1781
1781
  }), u.disabled.push({
1782
1782
  after: P(o, l - 1)
1783
1783
  })), o && i) {
1784
- var f = L(i, o) + 1, h = l - f;
1784
+ var h = L(i, o) + 1, m = l - h;
1785
1785
  u.disabled.push({
1786
- before: he(o, h)
1786
+ before: he(o, m)
1787
1787
  }), u.disabled.push({
1788
- after: P(i, h)
1788
+ after: P(i, m)
1789
1789
  });
1790
1790
  }
1791
1791
  !o && i && (u.disabled.push({
@@ -1794,10 +1794,10 @@ function xa(e) {
1794
1794
  after: P(i, l - 1)
1795
1795
  }));
1796
1796
  }
1797
- return c(Oe.Provider, { value: { selected: a, onDayClick: d, modifiers: u }, children: n });
1797
+ return d(Oe.Provider, { value: { selected: a, onDayClick: c, modifiers: u }, children: n });
1798
1798
  }
1799
1799
  function Ce() {
1800
- var e = Q(Oe);
1800
+ var e = X(Oe);
1801
1801
  if (!e)
1802
1802
  throw new Error("useSelectRange must be used within a SelectRangeProvider");
1803
1803
  return e;
@@ -1823,11 +1823,11 @@ function Ta(e, t, n) {
1823
1823
  }
1824
1824
  var ot = q(void 0);
1825
1825
  function Ya(e) {
1826
- var t = k(), n = Pe(), a = Ce(), r = Ta(t, n, a), o = Pa(t.modifiers), i = b(b({}, r), o);
1827
- return c(ot.Provider, { value: i, children: e.children });
1826
+ var t = N(), n = Pe(), a = Ce(), r = Ta(t, n, a), o = Pa(t.modifiers), i = g(g({}, r), o);
1827
+ return d(ot.Provider, { value: i, children: e.children });
1828
1828
  }
1829
1829
  function it() {
1830
- var e = Q(ot);
1830
+ var e = X(ot);
1831
1831
  if (!e)
1832
1832
  throw new Error("useModifiers must be used within a ModifiersProvider");
1833
1833
  return e;
@@ -1904,90 +1904,90 @@ function qa(e, t) {
1904
1904
  }
1905
1905
  return o || r;
1906
1906
  }
1907
- var Qa = 365;
1907
+ var Xa = 365;
1908
1908
  function st(e, t) {
1909
- var n = t.moveBy, a = t.direction, r = t.context, o = t.modifiers, i = t.retry, s = i === void 0 ? { count: 0, lastFocused: e } : i, l = r.weekStartsOn, d = r.fromDate, u = r.toDate, f = r.locale, h = {
1909
+ var n = t.moveBy, a = t.direction, r = t.context, o = t.modifiers, i = t.retry, s = i === void 0 ? { count: 0, lastFocused: e } : i, l = r.weekStartsOn, c = r.fromDate, u = r.toDate, h = r.locale, m = {
1910
1910
  day: P,
1911
1911
  week: we,
1912
1912
  month: Y,
1913
1913
  year: Wt,
1914
- startOfWeek: function(w) {
1915
- return r.ISOWeek ? A(w) : I(w, { locale: f, weekStartsOn: l });
1914
+ startOfWeek: function(y) {
1915
+ return r.ISOWeek ? A(y) : I(y, { locale: h, weekStartsOn: l });
1916
1916
  },
1917
- endOfWeek: function(w) {
1918
- return r.ISOWeek ? Ve(w) : ke(w, { locale: f, weekStartsOn: l });
1917
+ endOfWeek: function(y) {
1918
+ return r.ISOWeek ? Ve(y) : ke(y, { locale: h, weekStartsOn: l });
1919
1919
  }
1920
- }, m = h[n](e, a === "after" ? 1 : -1);
1921
- a === "before" && d ? m = Tt([d, m]) : a === "after" && u && (m = Yt([u, m]));
1922
- var y = !0;
1920
+ }, f = m[n](e, a === "after" ? 1 : -1);
1921
+ a === "before" && c ? f = Tt([c, f]) : a === "after" && u && (f = Yt([u, f]));
1922
+ var v = !0;
1923
1923
  if (o) {
1924
- var D = Se(m, o);
1925
- y = !D.disabled && !D.hidden;
1924
+ var p = Se(f, o);
1925
+ v = !p.disabled && !p.hidden;
1926
1926
  }
1927
- return y ? m : s.count > Qa ? s.lastFocused : st(m, {
1927
+ return v ? f : s.count > Xa ? s.lastFocused : st(f, {
1928
1928
  moveBy: n,
1929
1929
  direction: a,
1930
1930
  context: r,
1931
1931
  modifiers: o,
1932
- retry: b(b({}, s), { count: s.count + 1 })
1932
+ retry: g(g({}, s), { count: s.count + 1 })
1933
1933
  });
1934
1934
  }
1935
1935
  var lt = q(void 0);
1936
- function Xa(e) {
1937
- var t = ne(), n = it(), a = K(), r = a[0], o = a[1], i = K(), s = i[0], l = i[1], d = qa(t.displayMonths, n), u = r ?? (s && t.isDateDisplayed(s)) ? s : d, f = function() {
1936
+ function Qa(e) {
1937
+ var t = ne(), n = it(), a = U(), r = a[0], o = a[1], i = U(), s = i[0], l = i[1], c = qa(t.displayMonths, n), u = r ?? (s && t.isDateDisplayed(s)) ? s : c, h = function() {
1938
1938
  l(r), o(void 0);
1939
- }, h = function(w) {
1940
- o(w);
1941
- }, m = k(), y = function(w, N) {
1939
+ }, m = function(y) {
1940
+ o(y);
1941
+ }, f = N(), v = function(y, k) {
1942
1942
  if (r) {
1943
- var p = st(r, {
1944
- moveBy: w,
1945
- direction: N,
1946
- context: m,
1943
+ var D = st(r, {
1944
+ moveBy: y,
1945
+ direction: k,
1946
+ context: f,
1947
1947
  modifiers: n
1948
1948
  });
1949
- C(r, p) || (t.goToDate(p, r), h(p));
1949
+ C(r, D) || (t.goToDate(D, r), m(D));
1950
1950
  }
1951
- }, D = {
1951
+ }, p = {
1952
1952
  focusedDay: r,
1953
1953
  focusTarget: u,
1954
- blur: f,
1955
- focus: h,
1954
+ blur: h,
1955
+ focus: m,
1956
1956
  focusDayAfter: function() {
1957
- return y("day", "after");
1957
+ return v("day", "after");
1958
1958
  },
1959
1959
  focusDayBefore: function() {
1960
- return y("day", "before");
1960
+ return v("day", "before");
1961
1961
  },
1962
1962
  focusWeekAfter: function() {
1963
- return y("week", "after");
1963
+ return v("week", "after");
1964
1964
  },
1965
1965
  focusWeekBefore: function() {
1966
- return y("week", "before");
1966
+ return v("week", "before");
1967
1967
  },
1968
1968
  focusMonthBefore: function() {
1969
- return y("month", "before");
1969
+ return v("month", "before");
1970
1970
  },
1971
1971
  focusMonthAfter: function() {
1972
- return y("month", "after");
1972
+ return v("month", "after");
1973
1973
  },
1974
1974
  focusYearBefore: function() {
1975
- return y("year", "before");
1975
+ return v("year", "before");
1976
1976
  },
1977
1977
  focusYearAfter: function() {
1978
- return y("year", "after");
1978
+ return v("year", "after");
1979
1979
  },
1980
1980
  focusStartOfWeek: function() {
1981
- return y("startOfWeek", "before");
1981
+ return v("startOfWeek", "before");
1982
1982
  },
1983
1983
  focusEndOfWeek: function() {
1984
- return y("endOfWeek", "after");
1984
+ return v("endOfWeek", "after");
1985
1985
  }
1986
1986
  };
1987
- return c(lt.Provider, { value: D, children: e.children });
1987
+ return d(lt.Provider, { value: p, children: e.children });
1988
1988
  }
1989
1989
  function We() {
1990
- var e = Q(lt);
1990
+ var e = X(lt);
1991
1991
  if (!e)
1992
1992
  throw new Error("useFocusContext must be used within a FocusProvider");
1993
1993
  return e;
@@ -2002,15 +2002,15 @@ function Va(e) {
2002
2002
  var t = {
2003
2003
  selected: void 0
2004
2004
  };
2005
- return c(Te.Provider, { value: t, children: e.children });
2005
+ return d(Te.Provider, { value: t, children: e.children });
2006
2006
  }
2007
- return c($a, { initialProps: e.initialProps, children: e.children });
2007
+ return d($a, { initialProps: e.initialProps, children: e.children });
2008
2008
  }
2009
2009
  function $a(e) {
2010
2010
  var t = e.initialProps, n = e.children, a = function(o, i, s) {
2011
- var l, d, u;
2011
+ var l, c, u;
2012
2012
  if ((l = t.onDayClick) === null || l === void 0 || l.call(t, o, i, s), i.selected && !t.required) {
2013
- (d = t.onSelect) === null || d === void 0 || d.call(t, void 0, o, i, s);
2013
+ (c = t.onSelect) === null || c === void 0 || c.call(t, void 0, o, i, s);
2014
2014
  return;
2015
2015
  }
2016
2016
  (u = t.onSelect) === null || u === void 0 || u.call(t, o, o, i, s);
@@ -2018,80 +2018,80 @@ function $a(e) {
2018
2018
  selected: t.selected,
2019
2019
  onDayClick: a
2020
2020
  };
2021
- return c(Te.Provider, { value: r, children: n });
2021
+ return d(Te.Provider, { value: r, children: n });
2022
2022
  }
2023
2023
  function ut() {
2024
- var e = Q(Te);
2024
+ var e = X(Te);
2025
2025
  if (!e)
2026
2026
  throw new Error("useSelectSingle must be used within a SelectSingleProvider");
2027
2027
  return e;
2028
2028
  }
2029
- function Ua(e, t) {
2030
- var n = k(), a = ut(), r = Pe(), o = Ce(), i = We(), s = i.focusDayAfter, l = i.focusDayBefore, d = i.focusWeekAfter, u = i.focusWeekBefore, f = i.blur, h = i.focus, m = i.focusMonthBefore, y = i.focusMonthAfter, D = i.focusYearBefore, w = i.focusYearAfter, N = i.focusStartOfWeek, p = i.focusEndOfWeek, x = function(g) {
2031
- var v, ue, ce, de;
2032
- se(n) ? (v = a.onDayClick) === null || v === void 0 || v.call(a, e, t, g) : ee(n) ? (ue = r.onDayClick) === null || ue === void 0 || ue.call(r, e, t, g) : te(n) ? (ce = o.onDayClick) === null || ce === void 0 || ce.call(o, e, t, g) : (de = n.onDayClick) === null || de === void 0 || de.call(n, e, t, g);
2033
- }, j = function(g) {
2034
- var v;
2035
- h(e), (v = n.onDayFocus) === null || v === void 0 || v.call(n, e, t, g);
2036
- }, le = function(g) {
2037
- var v;
2038
- f(), (v = n.onDayBlur) === null || v === void 0 || v.call(n, e, t, g);
2039
- }, V = function(g) {
2040
- var v;
2041
- (v = n.onDayMouseEnter) === null || v === void 0 || v.call(n, e, t, g);
2042
- }, dt = function(g) {
2043
- var v;
2044
- (v = n.onDayMouseLeave) === null || v === void 0 || v.call(n, e, t, g);
2045
- }, ft = function(g) {
2046
- var v;
2047
- (v = n.onDayPointerEnter) === null || v === void 0 || v.call(n, e, t, g);
2048
- }, ht = function(g) {
2049
- var v;
2050
- (v = n.onDayPointerLeave) === null || v === void 0 || v.call(n, e, t, g);
2051
- }, mt = function(g) {
2052
- var v;
2053
- (v = n.onDayTouchCancel) === null || v === void 0 || v.call(n, e, t, g);
2054
- }, vt = function(g) {
2055
- var v;
2056
- (v = n.onDayTouchEnd) === null || v === void 0 || v.call(n, e, t, g);
2057
- }, yt = function(g) {
2058
- var v;
2059
- (v = n.onDayTouchMove) === null || v === void 0 || v.call(n, e, t, g);
2060
- }, bt = function(g) {
2061
- var v;
2062
- (v = n.onDayTouchStart) === null || v === void 0 || v.call(n, e, t, g);
2063
- }, gt = function(g) {
2064
- var v;
2065
- (v = n.onDayKeyUp) === null || v === void 0 || v.call(n, e, t, g);
2066
- }, wt = function(g) {
2067
- var v;
2068
- switch (g.key) {
2029
+ function Ja(e, t) {
2030
+ var n = N(), a = ut(), r = Pe(), o = Ce(), i = We(), s = i.focusDayAfter, l = i.focusDayBefore, c = i.focusWeekAfter, u = i.focusWeekBefore, h = i.blur, m = i.focus, f = i.focusMonthBefore, v = i.focusMonthAfter, p = i.focusYearBefore, y = i.focusYearAfter, k = i.focusStartOfWeek, D = i.focusEndOfWeek, x = function(w) {
2031
+ var b, ue, ce, de;
2032
+ se(n) ? (b = a.onDayClick) === null || b === void 0 || b.call(a, e, t, w) : ee(n) ? (ue = r.onDayClick) === null || ue === void 0 || ue.call(r, e, t, w) : te(n) ? (ce = o.onDayClick) === null || ce === void 0 || ce.call(o, e, t, w) : (de = n.onDayClick) === null || de === void 0 || de.call(n, e, t, w);
2033
+ }, j = function(w) {
2034
+ var b;
2035
+ m(e), (b = n.onDayFocus) === null || b === void 0 || b.call(n, e, t, w);
2036
+ }, le = function(w) {
2037
+ var b;
2038
+ h(), (b = n.onDayBlur) === null || b === void 0 || b.call(n, e, t, w);
2039
+ }, V = function(w) {
2040
+ var b;
2041
+ (b = n.onDayMouseEnter) === null || b === void 0 || b.call(n, e, t, w);
2042
+ }, dt = function(w) {
2043
+ var b;
2044
+ (b = n.onDayMouseLeave) === null || b === void 0 || b.call(n, e, t, w);
2045
+ }, ft = function(w) {
2046
+ var b;
2047
+ (b = n.onDayPointerEnter) === null || b === void 0 || b.call(n, e, t, w);
2048
+ }, ht = function(w) {
2049
+ var b;
2050
+ (b = n.onDayPointerLeave) === null || b === void 0 || b.call(n, e, t, w);
2051
+ }, mt = function(w) {
2052
+ var b;
2053
+ (b = n.onDayTouchCancel) === null || b === void 0 || b.call(n, e, t, w);
2054
+ }, vt = function(w) {
2055
+ var b;
2056
+ (b = n.onDayTouchEnd) === null || b === void 0 || b.call(n, e, t, w);
2057
+ }, yt = function(w) {
2058
+ var b;
2059
+ (b = n.onDayTouchMove) === null || b === void 0 || b.call(n, e, t, w);
2060
+ }, bt = function(w) {
2061
+ var b;
2062
+ (b = n.onDayTouchStart) === null || b === void 0 || b.call(n, e, t, w);
2063
+ }, gt = function(w) {
2064
+ var b;
2065
+ (b = n.onDayKeyUp) === null || b === void 0 || b.call(n, e, t, w);
2066
+ }, wt = function(w) {
2067
+ var b;
2068
+ switch (w.key) {
2069
2069
  case "ArrowLeft":
2070
- g.preventDefault(), g.stopPropagation(), n.dir === "rtl" ? s() : l();
2070
+ w.preventDefault(), w.stopPropagation(), n.dir === "rtl" ? s() : l();
2071
2071
  break;
2072
2072
  case "ArrowRight":
2073
- g.preventDefault(), g.stopPropagation(), n.dir === "rtl" ? l() : s();
2073
+ w.preventDefault(), w.stopPropagation(), n.dir === "rtl" ? l() : s();
2074
2074
  break;
2075
2075
  case "ArrowDown":
2076
- g.preventDefault(), g.stopPropagation(), d();
2076
+ w.preventDefault(), w.stopPropagation(), c();
2077
2077
  break;
2078
2078
  case "ArrowUp":
2079
- g.preventDefault(), g.stopPropagation(), u();
2079
+ w.preventDefault(), w.stopPropagation(), u();
2080
2080
  break;
2081
2081
  case "PageUp":
2082
- g.preventDefault(), g.stopPropagation(), g.shiftKey ? D() : m();
2082
+ w.preventDefault(), w.stopPropagation(), w.shiftKey ? p() : f();
2083
2083
  break;
2084
2084
  case "PageDown":
2085
- g.preventDefault(), g.stopPropagation(), g.shiftKey ? w() : y();
2085
+ w.preventDefault(), w.stopPropagation(), w.shiftKey ? y() : v();
2086
2086
  break;
2087
2087
  case "Home":
2088
- g.preventDefault(), g.stopPropagation(), N();
2088
+ w.preventDefault(), w.stopPropagation(), k();
2089
2089
  break;
2090
2090
  case "End":
2091
- g.preventDefault(), g.stopPropagation(), p();
2091
+ w.preventDefault(), w.stopPropagation(), D();
2092
2092
  break;
2093
2093
  }
2094
- (v = n.onDayKeyDown) === null || v === void 0 || v.call(n, e, t, g);
2094
+ (b = n.onDayKeyDown) === null || b === void 0 || b.call(n, e, t, w);
2095
2095
  }, pt = {
2096
2096
  onClick: x,
2097
2097
  onFocus: j,
@@ -2109,11 +2109,11 @@ function Ua(e, t) {
2109
2109
  };
2110
2110
  return pt;
2111
2111
  }
2112
- function Ja() {
2113
- var e = k(), t = ut(), n = Pe(), a = Ce(), r = se(e) ? t.selected : ee(e) ? n.selected : te(e) ? a.selected : void 0;
2112
+ function Ka() {
2113
+ var e = N(), t = ut(), n = Pe(), a = Ce(), r = se(e) ? t.selected : ee(e) ? n.selected : te(e) ? a.selected : void 0;
2114
2114
  return r;
2115
2115
  }
2116
- function Ka(e) {
2116
+ function Ua(e) {
2117
2117
  return Object.values(F).includes(e);
2118
2118
  }
2119
2119
  function za(e, t) {
@@ -2122,76 +2122,76 @@ function za(e, t) {
2122
2122
  var r = e.modifiersClassNames[a];
2123
2123
  if (r)
2124
2124
  n.push(r);
2125
- else if (Ka(a)) {
2125
+ else if (Ua(a)) {
2126
2126
  var o = e.classNames["day_".concat(a)];
2127
2127
  o && n.push(o);
2128
2128
  }
2129
2129
  }), n;
2130
2130
  }
2131
2131
  function Za(e, t) {
2132
- var n = b({}, e.styles.day);
2132
+ var n = g({}, e.styles.day);
2133
2133
  return Object.keys(t).forEach(function(a) {
2134
2134
  var r;
2135
- n = b(b({}, n), (r = e.modifiersStyles) === null || r === void 0 ? void 0 : r[a]);
2135
+ n = g(g({}, n), (r = e.modifiersStyles) === null || r === void 0 ? void 0 : r[a]);
2136
2136
  }), n;
2137
2137
  }
2138
2138
  function er(e, t, n) {
2139
- var a, r, o, i = k(), s = We(), l = Ga(e, t), d = Ua(e, l), u = Ja(), f = !!(i.onDayClick || i.mode !== "default");
2139
+ var a, r, o, i = N(), s = We(), l = Ga(e, t), c = Ja(e, l), u = Ka(), h = !!(i.onDayClick || i.mode !== "default");
2140
2140
  ie(function() {
2141
2141
  var V;
2142
- l.outside || s.focusedDay && f && C(s.focusedDay, e) && ((V = n.current) === null || V === void 0 || V.focus());
2142
+ l.outside || s.focusedDay && h && C(s.focusedDay, e) && ((V = n.current) === null || V === void 0 || V.focus());
2143
2143
  }, [
2144
2144
  s.focusedDay,
2145
2145
  e,
2146
2146
  n,
2147
- f,
2147
+ h,
2148
2148
  l.outside
2149
2149
  ]);
2150
- var h = za(i, l).join(" "), m = Za(i, l), y = !!(l.outside && !i.showOutsideDays || l.hidden), D = (o = (r = i.components) === null || r === void 0 ? void 0 : r.DayContent) !== null && o !== void 0 ? o : Da, w = c(D, { date: e, displayMonth: t, activeModifiers: l }), N = {
2151
- style: m,
2152
- className: h,
2153
- children: w,
2150
+ var m = za(i, l).join(" "), f = Za(i, l), v = !!(l.outside && !i.showOutsideDays || l.hidden), p = (o = (r = i.components) === null || r === void 0 ? void 0 : r.DayContent) !== null && o !== void 0 ? o : Da, y = d(p, { date: e, displayMonth: t, activeModifiers: l }), k = {
2151
+ style: f,
2152
+ className: m,
2153
+ children: y,
2154
2154
  role: "gridcell"
2155
- }, p = s.focusTarget && C(s.focusTarget, e) && !l.outside, x = s.focusedDay && C(s.focusedDay, e), j = b(b(b({}, N), (a = { disabled: l.disabled, role: "gridcell" }, a["aria-selected"] = l.selected, a.tabIndex = x || p ? 0 : -1, a)), d), le = {
2156
- isButton: f,
2157
- isHidden: y,
2155
+ }, D = s.focusTarget && C(s.focusTarget, e) && !l.outside, x = s.focusedDay && C(s.focusedDay, e), j = g(g(g({}, k), (a = { disabled: l.disabled, role: "gridcell" }, a["aria-selected"] = l.selected, a.tabIndex = x || D ? 0 : -1, a)), c), le = {
2156
+ isButton: h,
2157
+ isHidden: v,
2158
2158
  activeModifiers: l,
2159
2159
  selectedDays: u,
2160
2160
  buttonProps: j,
2161
- divProps: N
2161
+ divProps: k
2162
2162
  };
2163
2163
  return le;
2164
2164
  }
2165
2165
  function tr(e) {
2166
2166
  var t = Pt(null), n = er(e.date, e.displayMonth, t);
2167
- return n.isHidden ? c("div", { role: "gridcell" }) : n.isButton ? c(oe, b({ name: "day", ref: t }, n.buttonProps)) : c("div", b({}, n.divProps));
2167
+ return n.isHidden ? d("div", { role: "gridcell" }) : n.isButton ? d(oe, g({ name: "day", ref: t }, n.buttonProps)) : d("div", g({}, n.divProps));
2168
2168
  }
2169
2169
  function nr(e) {
2170
- var t = e.number, n = e.dates, a = k(), r = a.onWeekNumberClick, o = a.styles, i = a.classNames, s = a.locale, l = a.labels.labelWeekNumber, d = a.formatters.formatWeekNumber, u = d(Number(t), { locale: s });
2170
+ var t = e.number, n = e.dates, a = N(), r = a.onWeekNumberClick, o = a.styles, i = a.classNames, s = a.locale, l = a.labels.labelWeekNumber, c = a.formatters.formatWeekNumber, u = c(Number(t), { locale: s });
2171
2171
  if (!r)
2172
- return c("span", { className: i.weeknumber, style: o.weeknumber, children: u });
2173
- var f = l(Number(t), { locale: s }), h = function(m) {
2174
- r(t, n, m);
2172
+ return d("span", { className: i.weeknumber, style: o.weeknumber, children: u });
2173
+ var h = l(Number(t), { locale: s }), m = function(f) {
2174
+ r(t, n, f);
2175
2175
  };
2176
- return c(oe, { name: "week-number", "aria-label": f, className: i.weeknumber, style: o.weeknumber, onClick: h, children: u });
2176
+ return d(oe, { name: "week-number", "aria-label": h, className: i.weeknumber, style: o.weeknumber, onClick: m, children: u });
2177
2177
  }
2178
2178
  function ar(e) {
2179
- var t, n, a = k(), r = a.styles, o = a.classNames, i = a.showWeekNumber, s = a.components, l = (t = s == null ? void 0 : s.Day) !== null && t !== void 0 ? t : tr, d = (n = s == null ? void 0 : s.WeekNumber) !== null && n !== void 0 ? n : nr, u;
2180
- return i && (u = c("td", { className: o.cell, style: r.cell, children: c(d, { number: e.weekNumber, dates: e.dates }) })), O("tr", { className: o.row, style: r.row, children: [u, e.dates.map(function(f) {
2181
- return c("td", { className: o.cell, style: r.cell, role: "presentation", children: c(l, { displayMonth: e.displayMonth, date: f }) }, Yn(f));
2179
+ var t, n, a = N(), r = a.styles, o = a.classNames, i = a.showWeekNumber, s = a.components, l = (t = s == null ? void 0 : s.Day) !== null && t !== void 0 ? t : tr, c = (n = s == null ? void 0 : s.WeekNumber) !== null && n !== void 0 ? n : nr, u;
2180
+ return i && (u = d("td", { className: o.cell, style: r.cell, children: d(c, { number: e.weekNumber, dates: e.dates }) })), O("tr", { className: o.row, style: r.row, children: [u, e.dates.map(function(h) {
2181
+ return d("td", { className: o.cell, style: r.cell, role: "presentation", children: d(l, { displayMonth: e.displayMonth, date: h }) }, Yn(h));
2182
2182
  })] });
2183
2183
  }
2184
2184
  function qe(e, t, n) {
2185
2185
  for (var a = n != null && n.ISOWeek ? Ve(t) : ke(t, n), r = n != null && n.ISOWeek ? A(e) : I(e, n), o = L(a, r), i = [], s = 0; s <= o; s++)
2186
2186
  i.push(P(r, s));
2187
- var l = i.reduce(function(d, u) {
2188
- var f = n != null && n.ISOWeek ? Ue(u) : Ke(u, n), h = d.find(function(m) {
2189
- return m.weekNumber === f;
2187
+ var l = i.reduce(function(c, u) {
2188
+ var h = n != null && n.ISOWeek ? Je(u) : Ue(u, n), m = c.find(function(f) {
2189
+ return f.weekNumber === h;
2190
2190
  });
2191
- return h ? (h.dates.push(u), d) : (d.push({
2192
- weekNumber: f,
2191
+ return m ? (m.dates.push(u), c) : (c.push({
2192
+ weekNumber: h,
2193
2193
  dates: [u]
2194
- }), d);
2194
+ }), c);
2195
2195
  }, []);
2196
2196
  return l;
2197
2197
  }
@@ -2207,46 +2207,46 @@ function rr(e, t) {
2207
2207
  return n;
2208
2208
  }
2209
2209
  function or(e) {
2210
- var t, n, a, r = k(), o = r.locale, i = r.classNames, s = r.styles, l = r.hideHead, d = r.fixedWeeks, u = r.components, f = r.weekStartsOn, h = r.firstWeekContainsDate, m = r.ISOWeek, y = rr(e.displayMonth, {
2211
- useFixedWeeks: !!d,
2212
- ISOWeek: m,
2210
+ var t, n, a, r = N(), o = r.locale, i = r.classNames, s = r.styles, l = r.hideHead, c = r.fixedWeeks, u = r.components, h = r.weekStartsOn, m = r.firstWeekContainsDate, f = r.ISOWeek, v = rr(e.displayMonth, {
2211
+ useFixedWeeks: !!c,
2212
+ ISOWeek: f,
2213
2213
  locale: o,
2214
- weekStartsOn: f,
2215
- firstWeekContainsDate: h
2216
- }), D = (t = u == null ? void 0 : u.Head) !== null && t !== void 0 ? t : pa, w = (n = u == null ? void 0 : u.Row) !== null && n !== void 0 ? n : ar, N = (a = u == null ? void 0 : u.Footer) !== null && a !== void 0 ? a : ba;
2217
- return O("table", { id: e.id, className: i.table, style: s.table, role: "grid", "aria-labelledby": e["aria-labelledby"], children: [!l && c(D, {}), c("tbody", { className: i.tbody, style: s.tbody, children: y.map(function(p) {
2218
- return c(w, { displayMonth: e.displayMonth, dates: p.dates, weekNumber: p.weekNumber }, p.weekNumber);
2219
- }) }), c(N, { displayMonth: e.displayMonth })] });
2214
+ weekStartsOn: h,
2215
+ firstWeekContainsDate: m
2216
+ }), p = (t = u == null ? void 0 : u.Head) !== null && t !== void 0 ? t : pa, y = (n = u == null ? void 0 : u.Row) !== null && n !== void 0 ? n : ar, k = (a = u == null ? void 0 : u.Footer) !== null && a !== void 0 ? a : ba;
2217
+ return O("table", { id: e.id, className: i.table, style: s.table, role: "grid", "aria-labelledby": e["aria-labelledby"], children: [!l && d(p, {}), d("tbody", { className: i.tbody, style: s.tbody, children: v.map(function(D) {
2218
+ return d(y, { displayMonth: e.displayMonth, dates: D.dates, weekNumber: D.weekNumber }, D.weekNumber);
2219
+ }) }), d(k, { displayMonth: e.displayMonth })] });
2220
2220
  }
2221
2221
  function ir() {
2222
2222
  return !!(typeof window < "u" && window.document && window.document.createElement);
2223
2223
  }
2224
2224
  var sr = ir() ? xt : ie, ge = !1, lr = 0;
2225
- function Qe() {
2225
+ function Xe() {
2226
2226
  return "react-day-picker-".concat(++lr);
2227
2227
  }
2228
2228
  function ur(e) {
2229
- var t, n = e ?? (ge ? Qe() : null), a = K(n), r = a[0], o = a[1];
2229
+ var t, n = e ?? (ge ? Xe() : null), a = U(n), r = a[0], o = a[1];
2230
2230
  return sr(function() {
2231
- r === null && o(Qe());
2231
+ r === null && o(Xe());
2232
2232
  }, []), ie(function() {
2233
2233
  ge === !1 && (ge = !0);
2234
2234
  }, []), (t = e ?? r) !== null && t !== void 0 ? t : void 0;
2235
2235
  }
2236
2236
  function cr(e) {
2237
- var t, n, a = k(), r = a.dir, o = a.classNames, i = a.styles, s = a.components, l = ne().displayMonths, d = ur(a.id ? "".concat(a.id, "-").concat(e.displayIndex) : void 0), u = a.id ? "".concat(a.id, "-grid-").concat(e.displayIndex) : void 0, f = [o.month], h = i.month, m = e.displayIndex === 0, y = e.displayIndex === l.length - 1, D = !m && !y;
2238
- r === "rtl" && (t = [m, y], y = t[0], m = t[1]), m && (f.push(o.caption_start), h = b(b({}, h), i.caption_start)), y && (f.push(o.caption_end), h = b(b({}, h), i.caption_end)), D && (f.push(o.caption_between), h = b(b({}, h), i.caption_between));
2239
- var w = (n = s == null ? void 0 : s.Caption) !== null && n !== void 0 ? n : ya;
2240
- return O("div", { className: f.join(" "), style: h, children: [c(w, { id: d, displayMonth: e.displayMonth, displayIndex: e.displayIndex }), c(or, { id: u, "aria-labelledby": d, displayMonth: e.displayMonth })] }, e.displayIndex);
2237
+ var t, n, a = N(), r = a.dir, o = a.classNames, i = a.styles, s = a.components, l = ne().displayMonths, c = ur(a.id ? "".concat(a.id, "-").concat(e.displayIndex) : void 0), u = a.id ? "".concat(a.id, "-grid-").concat(e.displayIndex) : void 0, h = [o.month], m = i.month, f = e.displayIndex === 0, v = e.displayIndex === l.length - 1, p = !f && !v;
2238
+ r === "rtl" && (t = [f, v], v = t[0], f = t[1]), f && (h.push(o.caption_start), m = g(g({}, m), i.caption_start)), v && (h.push(o.caption_end), m = g(g({}, m), i.caption_end)), p && (h.push(o.caption_between), m = g(g({}, m), i.caption_between));
2239
+ var y = (n = s == null ? void 0 : s.Caption) !== null && n !== void 0 ? n : ya;
2240
+ return O("div", { className: h.join(" "), style: m, children: [d(y, { id: c, displayMonth: e.displayMonth, displayIndex: e.displayIndex }), d(or, { id: u, "aria-labelledby": c, displayMonth: e.displayMonth })] }, e.displayIndex);
2241
2241
  }
2242
2242
  function dr(e) {
2243
- var t = k(), n = t.classNames, a = t.styles;
2244
- return c("div", { className: n.months, style: a.months, children: e.children });
2243
+ var t = N(), n = t.classNames, a = t.styles;
2244
+ return d("div", { className: n.months, style: a.months, children: e.children });
2245
2245
  }
2246
2246
  function fr(e) {
2247
- var t, n, a = e.initialProps, r = k(), o = We(), i = ne(), s = K(!1), l = s[0], d = s[1];
2247
+ var t, n, a = e.initialProps, r = N(), o = We(), i = ne(), s = U(!1), l = s[0], c = s[1];
2248
2248
  ie(function() {
2249
- r.initialFocus && o.focusTarget && (l || (o.focus(o.focusTarget), d(!0)));
2249
+ r.initialFocus && o.focusTarget && (l || (o.focus(o.focusTarget), c(!0)));
2250
2250
  }, [
2251
2251
  r.initialFocus,
2252
2252
  l,
@@ -2256,22 +2256,22 @@ function fr(e) {
2256
2256
  ]);
2257
2257
  var u = [r.classNames.root, r.className];
2258
2258
  r.numberOfMonths > 1 && u.push(r.classNames.multiple_months), r.showWeekNumber && u.push(r.classNames.with_weeknumber);
2259
- var f = b(b({}, r.styles.root), r.style), h = Object.keys(a).filter(function(y) {
2260
- return y.startsWith("data-");
2261
- }).reduce(function(y, D) {
2262
- var w;
2263
- return b(b({}, y), (w = {}, w[D] = a[D], w));
2264
- }, {}), m = (n = (t = a.components) === null || t === void 0 ? void 0 : t.Months) !== null && n !== void 0 ? n : dr;
2265
- return c("div", b({ className: u.join(" "), style: f, dir: r.dir, id: r.id, nonce: a.nonce, title: a.title, lang: a.lang }, h, { children: c(m, { children: i.displayMonths.map(function(y, D) {
2266
- return c(cr, { displayIndex: D, displayMonth: y }, D);
2259
+ var h = g(g({}, r.styles.root), r.style), m = Object.keys(a).filter(function(v) {
2260
+ return v.startsWith("data-");
2261
+ }).reduce(function(v, p) {
2262
+ var y;
2263
+ return g(g({}, v), (y = {}, y[p] = a[p], y));
2264
+ }, {}), f = (n = (t = a.components) === null || t === void 0 ? void 0 : t.Months) !== null && n !== void 0 ? n : dr;
2265
+ return d("div", g({ className: u.join(" "), style: h, dir: r.dir, id: r.id, nonce: a.nonce, title: a.title, lang: a.lang }, m, { children: d(f, { children: i.displayMonths.map(function(v, p) {
2266
+ return d(cr, { displayIndex: p, displayMonth: v }, p);
2267
2267
  }) }) }));
2268
2268
  }
2269
2269
  function hr(e) {
2270
2270
  var t = e.children, n = In(e, ["children"]);
2271
- return c(na, { initialProps: n, children: c(fa, { children: c(Va, { initialProps: n, children: c(Ma, { initialProps: n, children: c(Na, { initialProps: n, children: c(Ya, { children: c(Xa, { children: t }) }) }) }) }) }) });
2271
+ return d(na, { initialProps: n, children: d(fa, { children: d(Va, { initialProps: n, children: d(Ma, { initialProps: n, children: d(Na, { initialProps: n, children: d(Ya, { children: d(Qa, { children: t }) }) }) }) }) }) });
2272
2272
  }
2273
2273
  function mr(e) {
2274
- return c(hr, b({}, e, { children: c(fr, { initialProps: e }) }));
2274
+ return d(hr, g({}, e, { children: d(fr, { initialProps: e }) }));
2275
2275
  }
2276
2276
  function ct({
2277
2277
  className: e,
@@ -2281,13 +2281,13 @@ function ct({
2281
2281
  showOutsideDays: r = !0,
2282
2282
  ...o
2283
2283
  }) {
2284
- return /* @__PURE__ */ c(
2284
+ return /* @__PURE__ */ d(
2285
2285
  mr,
2286
2286
  {
2287
2287
  fromDate: n,
2288
2288
  toDate: a || void 0,
2289
2289
  showOutsideDays: r,
2290
- className: J("p-3", e),
2290
+ className: K("p-3", e),
2291
2291
  classNames: {
2292
2292
  months: "flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",
2293
2293
  month: "space-y-4",
@@ -2296,12 +2296,12 @@ function ct({
2296
2296
  nav: "flex items-center",
2297
2297
  head: "",
2298
2298
  head_row: "flex w-full items-center justify-between",
2299
- head_cell: "w-8 md:w-11 h-8 text-sm font-medium text-default",
2300
- nav_button: J(Ye({ color: "minimal", variant: "icon" })),
2299
+ head_cell: "w-8 md:w-11 h-8 text-sm font-medium text-default text-center",
2300
+ nav_button: K(Ye({ color: "minimal", variant: "icon" })),
2301
2301
  table: "w-full border-collapse space-y-1",
2302
- row: "flex w-full mt-2 gap-0.5",
2303
- cell: "h-8 w-8 md:h-11 md:w-11 text-center text-sm p-0 relative [&:has([aria-selected].day-range-end)]:rounded-r-md [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected])]:bg-accent first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md focus-within:relative focus-within:z-20",
2304
- day: J(
2302
+ row: "flex w-full mt-0.5 gap-0.5",
2303
+ cell: "w-8 h-8 md:h-11 md:w-11 text-center text-sm p-0 relative [&:has([aria-selected].day-range-end)]:rounded-r-md [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected])]:bg-accent first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md focus-within:relative focus-within:z-20",
2304
+ day: K(
2305
2305
  Ye({ color: "minimal" }),
2306
2306
  "w-8 h-8 md:h-11 md:w-11 p-0 text-sm font-medium aria-selected:opacity-100 inline-flex items-center justify-center"
2307
2307
  ),
@@ -2321,10 +2321,10 @@ function ct({
2321
2321
  Fe(i.displayMonth).format("MMMM"),
2322
2322
  " "
2323
2323
  ] }),
2324
- /* @__PURE__ */ c("span", { className: "text-subtle font-medium leading-none", children: Fe(i.displayMonth).format("YYYY") })
2324
+ /* @__PURE__ */ d("span", { className: "text-subtle font-medium leading-none", children: Fe(i.displayMonth).format("YYYY") })
2325
2325
  ] }),
2326
- IconLeft: () => /* @__PURE__ */ c(Le, { name: "chevron-left", className: "h-4 w-4 stroke-2" }),
2327
- IconRight: () => /* @__PURE__ */ c(Le, { name: "chevron-right", className: "h-4 w-4 stroke-2" })
2326
+ IconLeft: () => /* @__PURE__ */ d(Le, { name: "chevron-left", className: "h-4 w-4 stroke-2" }),
2327
+ IconRight: () => /* @__PURE__ */ d(Le, { name: "chevron-right", className: "h-4 w-4 stroke-2" })
2328
2328
  },
2329
2329
  ...o
2330
2330
  }
@@ -2340,39 +2340,56 @@ function gr({
2340
2340
  disabled: o,
2341
2341
  withoutPopover: i,
2342
2342
  "data-testid": s,
2343
- strictlyBottom: l
2343
+ strictlyBottom: l,
2344
+ allowPastDates: c = !1
2344
2345
  }) {
2345
- function d(h) {
2346
- if (t != null && t.endDate)
2347
- r({ startDate: h, endDate: void 0 });
2346
+ function u(f) {
2347
+ if (c)
2348
+ if (t != null && t.endDate)
2349
+ r({ startDate: f, endDate: void 0 });
2350
+ else {
2351
+ const v = t.startDate ? f < t.startDate ? f : t.startDate : f, p = t.startDate ? f < t.startDate ? t.startDate : f : void 0;
2352
+ r({ startDate: v, endDate: p });
2353
+ }
2354
+ else if (!t.startDate || !t.endDate)
2355
+ r({ startDate: f, endDate: f });
2348
2356
  else {
2349
- const m = t.startDate ? h < t.startDate ? h : t.startDate : h, y = t.startDate ? h < t.startDate ? t.startDate : h : void 0;
2350
- r({ startDate: m, endDate: y });
2357
+ const v = t.startDate.getTime(), p = t.endDate.getTime(), y = f.getTime();
2358
+ if (y === v || y === p)
2359
+ r({ startDate: f, endDate: f });
2360
+ else if (y < v)
2361
+ r({ startDate: f, endDate: t.endDate });
2362
+ else if (y > p)
2363
+ r({ startDate: t.startDate, endDate: f });
2364
+ else {
2365
+ const k = y - v, D = p - y;
2366
+ k < D ? r({ startDate: f, endDate: t.endDate }) : r({ startDate: t.startDate, endDate: f });
2367
+ }
2351
2368
  }
2352
2369
  }
2353
- const f = /* @__PURE__ */ c(
2370
+ const m = /* @__PURE__ */ d(
2354
2371
  ct,
2355
2372
  {
2356
2373
  initialFocus: !0,
2357
- fromDate: n === null ? void 0 : n ?? /* @__PURE__ */ new Date(),
2374
+ fromDate: c && n === null ? void 0 : n ?? /* @__PURE__ */ new Date(),
2358
2375
  toDate: a,
2359
2376
  mode: "range",
2360
2377
  defaultMonth: t == null ? void 0 : t.startDate,
2361
2378
  selected: { from: t == null ? void 0 : t.startDate, to: t == null ? void 0 : t.endDate },
2362
- onDayClick: (h) => d(h),
2379
+ onDayClick: (f) => u(f),
2363
2380
  numberOfMonths: 1,
2364
2381
  disabled: o,
2365
2382
  "data-testid": s
2366
2383
  }
2367
2384
  );
2368
- return i ? f : /* @__PURE__ */ c("div", { className: J("grid gap-2", e), children: /* @__PURE__ */ O(Dt, { children: [
2369
- /* @__PURE__ */ c(Mt, { asChild: !0, children: /* @__PURE__ */ c(
2385
+ return i ? m : /* @__PURE__ */ d("div", { className: K("grid gap-2", e), children: /* @__PURE__ */ O(Dt, { children: [
2386
+ /* @__PURE__ */ d(Mt, { asChild: !0, children: /* @__PURE__ */ d(
2370
2387
  _t,
2371
2388
  {
2372
2389
  "data-testid": "date-range",
2373
2390
  color: "secondary",
2374
2391
  EndIcon: "calendar",
2375
- className: J("justify-between text-left font-normal", !t && "text-subtle"),
2392
+ className: K("justify-between text-left font-normal", !t && "text-subtle"),
2376
2393
  children: t != null && t.startDate ? t != null && t.endDate ? /* @__PURE__ */ O(T, { children: [
2377
2394
  E(t.startDate, "LLL dd, y"),
2378
2395
  " - ",
@@ -2380,10 +2397,10 @@ function gr({
2380
2397
  ] }) : /* @__PURE__ */ O(T, { children: [
2381
2398
  E(t.startDate, "LLL dd, y"),
2382
2399
  " - End"
2383
- ] }) : /* @__PURE__ */ c("span", { children: "Pick a date" })
2400
+ ] }) : /* @__PURE__ */ d("span", { children: "Pick a date" })
2384
2401
  }
2385
2402
  ) }),
2386
- /* @__PURE__ */ c(
2403
+ /* @__PURE__ */ d(
2387
2404
  kt,
2388
2405
  {
2389
2406
  className: "bg-default text-emphasis z-50 w-auto rounded-md border p-0 outline-none",
@@ -2391,7 +2408,7 @@ function gr({
2391
2408
  sideOffset: 4,
2392
2409
  side: l ? "bottom" : void 0,
2393
2410
  avoidCollisions: !l,
2394
- children: f
2411
+ children: m
2395
2412
  }
2396
2413
  )
2397
2414
  ] }) });