@calcom/atoms 1.0.102 → 1.0.104

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 (224) hide show
  1. package/dist/{AddressInput-YE9WpjKC.js → AddressInput-U9hkNsGY.js} +1 -1
  2. package/dist/{AlbyPriceComponent-PaPm6LhU.js → AlbyPriceComponent-bg65pVI3.js} +1 -1
  3. package/dist/{AppCard-MntOjmyg.js → AppCard-i9LOXFIp.js} +1 -1
  4. package/dist/{AppListCardPlatformWrapper-X0qF62a4.js → AppListCardPlatformWrapper-WFo5sj54.js} +1 -1
  5. package/dist/{AppListCardWebWrapper-1oIcjTSH.js → AppListCardWebWrapper-oCme3GwN.js} +1 -1
  6. package/dist/{AppSettingsInterface-QWf89__4.js → AppSettingsInterface-4hKNHAqi.js} +1 -1
  7. package/dist/{AppSettingsInterface-9GNK2lFF.js → AppSettingsInterface-QyjWqyaz.js} +1 -1
  8. package/dist/{AppSettingsInterface-CZo7vxrG.js → AppSettingsInterface-_88Q1KFo.js} +1 -1
  9. package/dist/{DateRangePicker-l0v7-7g4.js → DateRangePicker-H6yWwPbT.js} +186 -199
  10. package/dist/{EventTypeAppCardInterface-vQxln_Jq.js → EventTypeAppCardInterface-3FwwUZ9q.js} +4 -4
  11. package/dist/{EventTypeAppCardInterface-NcC7DkuV.js → EventTypeAppCardInterface-6hLind29.js} +3 -3
  12. package/dist/{EventTypeAppCardInterface-s2tdVznj.js → EventTypeAppCardInterface-7U4dfYQ9.js} +4 -4
  13. package/dist/{EventTypeAppCardInterface-8dWbRlMk.js → EventTypeAppCardInterface-7iH8Qofq.js} +4 -4
  14. package/dist/{EventTypeAppCardInterface-DRjWH-Oi.js → EventTypeAppCardInterface-9mq3QoSl.js} +4 -4
  15. package/dist/{EventTypeAppCardInterface-95KcxDGd.js → EventTypeAppCardInterface-9x_qwmrQ.js} +4 -4
  16. package/dist/{EventTypeAppCardInterface-QsZpj6A3.js → EventTypeAppCardInterface-ChSISAK_.js} +3 -3
  17. package/dist/{EventTypeAppCardInterface-6axlOb6b.js → EventTypeAppCardInterface-ESZM19SR.js} +3 -3
  18. package/dist/{EventTypeAppCardInterface-iXbLI1En.js → EventTypeAppCardInterface-EttHPuYw.js} +3 -3
  19. package/dist/{EventTypeAppCardInterface-uANDBqc5.js → EventTypeAppCardInterface-GfDraVmB.js} +3 -3
  20. package/dist/{EventTypeAppCardInterface-ipgNs8H3.js → EventTypeAppCardInterface-HCya2iZZ.js} +3 -3
  21. package/dist/{EventTypeAppCardInterface-hkjg5s7h.js → EventTypeAppCardInterface-IlPuJAjF.js} +4 -4
  22. package/dist/{EventTypeAppCardInterface-48DlMxTe.js → EventTypeAppCardInterface-InEwnqn3.js} +3 -3
  23. package/dist/{EventTypeAppCardInterface-tiWS0_7-.js → EventTypeAppCardInterface-OKO08mcb.js} +3 -3
  24. package/dist/{EventTypeAppCardInterface-9pi3Atnv.js → EventTypeAppCardInterface-OtgNTnav.js} +4 -4
  25. package/dist/{EventTypeAppCardInterface-i0lfpfoV.js → EventTypeAppCardInterface-Qj1PA9cU.js} +2 -2
  26. package/dist/{EventTypeAppCardInterface-0rlxrS83.js → EventTypeAppCardInterface-TnZ42_r-.js} +3 -3
  27. package/dist/{EventTypeAppCardInterface-Ih6mDcpb.js → EventTypeAppCardInterface-VGP1CUwq.js} +3 -3
  28. package/dist/{EventTypeAppCardInterface-GasNp2lA.js → EventTypeAppCardInterface-_wl3vFrV.js} +3 -3
  29. package/dist/{EventTypeAppCardInterface-n22JhcDP.js → EventTypeAppCardInterface-esMda4md.js} +4 -4
  30. package/dist/{EventTypeAppCardInterface-jO9kYmJy.js → EventTypeAppCardInterface-esxiLBFW.js} +2 -2
  31. package/dist/{EventTypeAppCardInterface-khZbyxB0.js → EventTypeAppCardInterface-kgCByoiX.js} +3 -3
  32. package/dist/{EventTypeAppCardInterface-ot93Tt3F.js → EventTypeAppCardInterface-nFHvPXEO.js} +4 -4
  33. package/dist/EventTypeAppCardInterface-unRaKBxz.js +24 -0
  34. package/dist/{EventTypeAppCardInterface-1_cqzbF5.js → EventTypeAppCardInterface-yg7Orflw.js} +3 -3
  35. package/dist/{EventTypeAppCardInterface-7rCnXRDt.js → EventTypeAppCardInterface-zjQ9jQmD.js} +4 -4
  36. package/dist/{EventTypeAppSettingsInterface-b4CktZt2.js → EventTypeAppSettingsInterface--KUac0uo.js} +1 -1
  37. package/dist/{EventTypeAppSettingsInterface--pKZQkAF.js → EventTypeAppSettingsInterface-0rhmWuVB.js} +1 -1
  38. package/dist/{EventTypeAppSettingsInterface-_pl5BbOS.js → EventTypeAppSettingsInterface-5WkGHvxv.js} +1 -1
  39. package/dist/{EventTypeAppSettingsInterface-EiNHZYQl.js → EventTypeAppSettingsInterface-At0BU0pj.js} +1 -1
  40. package/dist/{EventTypeAppSettingsInterface-MomTLQ9U.js → EventTypeAppSettingsInterface-HRd2MGRE.js} +1 -1
  41. package/dist/{EventTypeAppSettingsInterface-KczERVxP.js → EventTypeAppSettingsInterface-KGFC7UD7.js} +1 -1
  42. package/dist/{EventTypeAppSettingsInterface-mxtj-GgV.js → EventTypeAppSettingsInterface-Kqzd-8Jt.js} +1 -1
  43. package/dist/{EventTypeAppSettingsInterface-D4EgsKtQ.js → EventTypeAppSettingsInterface-VcqWAzIJ.js} +1 -1
  44. package/dist/{EventTypeAppSettingsInterface-lXSGhZEa.js → EventTypeAppSettingsInterface-Y3XBiDtJ.js} +1 -1
  45. package/dist/{EventTypeAppSettingsInterface-EISXufqa.js → EventTypeAppSettingsInterface-gyVoEWRG.js} +1 -1
  46. package/dist/{EventTypeAppSettingsInterface-9_Fc_lFw.js → EventTypeAppSettingsInterface-p5WuaCaB.js} +1 -1
  47. package/dist/{EventTypeAppSettingsInterface-YWrR8Ruw.js → EventTypeAppSettingsInterface-vAcwHAAd.js} +1 -1
  48. package/dist/{InstallAppButton-UsgXXf79.js → InstallAppButton-4HKMZeph.js} +1 -1
  49. package/dist/{InstallAppButton-J7jzBq_P.js → InstallAppButton-hGiHrdCQ.js} +1 -1
  50. package/dist/{InstallAppButton-E5ngs5E_.js → InstallAppButton-wAVqSUVH.js} +1 -1
  51. package/dist/{PhoneInput-3xozRqeH.js → PhoneInput-KF8Own7h.js} +1 -1
  52. package/dist/{StripePaymentForm-ZeJyYZtF.js → StripePaymentForm-WQOm2iiG.js} +1 -1
  53. package/dist/cal-atoms.js +1 -1
  54. package/dist/{index-3UJPo_Lv.js → index-KNcunfAt.js} +1 -1
  55. package/dist/{index-LGGFkhru.js → index-Z-lH5osF.js} +1 -1
  56. package/dist/{index-BD5cCCpM.js → index-ddQrFbWn.js} +62506 -62581
  57. package/dist/{index-FAijc5rD.js → index-obsZAW1M.js} +1 -1
  58. package/dist/packages/features/bookings/Booker/Booker.d.ts.map +1 -1
  59. package/dist/packages/features/bookings/Booker/components/EventMeta.d.ts +3 -1
  60. package/dist/packages/features/bookings/Booker/components/EventMeta.d.ts.map +1 -1
  61. package/dist/packages/features/bookings/Booker/components/hooks/useBookerLayout.d.ts +1 -1
  62. package/dist/packages/features/bookings/Booker/components/hooks/useBookerLayout.d.ts.map +1 -1
  63. package/dist/packages/features/bookings/Booker/components/hooks/useBookingForm.d.ts +1 -2
  64. package/dist/packages/features/bookings/Booker/components/hooks/useBookingForm.d.ts.map +1 -1
  65. package/dist/packages/features/bookings/Booker/components/hooks/useCalendars.d.ts +8 -0
  66. package/dist/packages/features/bookings/Booker/components/hooks/useCalendars.d.ts.map +1 -1
  67. package/dist/packages/features/bookings/Booker/components/hooks/useInitialFormValues.d.ts +2 -3
  68. package/dist/packages/features/bookings/Booker/components/hooks/useInitialFormValues.d.ts.map +1 -1
  69. package/dist/packages/features/bookings/Booker/types.d.ts +6 -0
  70. package/dist/packages/features/bookings/Booker/types.d.ts.map +1 -1
  71. package/dist/packages/features/bookings/Booker/utils/event.d.ts +9 -0
  72. package/dist/packages/features/bookings/Booker/utils/event.d.ts.map +1 -1
  73. package/dist/packages/features/bookings/lib/book-event-form/booking-to-mutation-input-mapper.d.ts.map +1 -1
  74. package/dist/packages/features/bookings/lib/getBookingDataSchema.d.ts +3 -0
  75. package/dist/packages/features/bookings/lib/getBookingDataSchema.d.ts.map +1 -1
  76. package/dist/packages/features/bookings/lib/getBookingDataSchemaForApi.d.ts +5 -0
  77. package/dist/packages/features/bookings/lib/getBookingDataSchemaForApi.d.ts.map +1 -1
  78. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts +26 -0
  79. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts.map +1 -1
  80. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts +4 -0
  81. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts.map +1 -1
  82. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts +32 -0
  83. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts.map +1 -1
  84. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +26 -0
  85. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts.map +1 -1
  86. package/dist/packages/features/bookings/lib/handleNewBooking/getLocationValuesForDb.d.ts +12 -0
  87. package/dist/packages/features/bookings/lib/handleNewBooking/getLocationValuesForDb.d.ts.map +1 -1
  88. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts +20 -0
  89. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts.map +1 -1
  90. package/dist/packages/features/bookings/lib/handleNewBooking/test/getLocationValueForDb.test.d.ts +2 -0
  91. package/dist/packages/features/bookings/lib/handleNewBooking/test/getLocationValueForDb.test.d.ts.map +1 -0
  92. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts.map +1 -1
  93. package/dist/packages/features/bookings/lib/handleSeats/cancel/cancelAttendeeSeat.d.ts.map +1 -1
  94. package/dist/packages/features/data-table/DataTableProvider.d.ts +3 -1
  95. package/dist/packages/features/data-table/DataTableProvider.d.ts.map +1 -1
  96. package/dist/packages/features/data-table/components/filters/NumberFilterOptions.d.ts.map +1 -1
  97. package/dist/packages/features/data-table/components/filters/TextFilterOptions.d.ts.map +1 -1
  98. package/dist/packages/features/data-table/hooks/useSegments.d.ts.map +1 -1
  99. package/dist/packages/features/data-table/lib/dateRange.d.ts.map +1 -1
  100. package/dist/packages/features/data-table/lib/types.d.ts +8 -2
  101. package/dist/packages/features/data-table/lib/types.d.ts.map +1 -1
  102. package/dist/packages/features/ee/billing/credit-service.d.ts +96 -2
  103. package/dist/packages/features/ee/billing/credit-service.d.ts.map +1 -1
  104. package/dist/packages/features/ee/payments/pages/payment.d.ts +2 -0
  105. package/dist/packages/features/ee/payments/pages/payment.d.ts.map +1 -1
  106. package/dist/packages/features/ee/workflows/api/scheduleWhatsappReminders.d.ts.map +1 -1
  107. package/dist/packages/features/ee/workflows/components/WorkflowStepContainer.d.ts.map +1 -1
  108. package/dist/packages/features/ee/workflows/lib/reminders/messageDispatcher.d.ts +4 -0
  109. package/dist/packages/features/ee/workflows/lib/reminders/messageDispatcher.d.ts.map +1 -1
  110. package/dist/packages/features/ee/workflows/lib/reminders/providers/emailProvider.d.ts.map +1 -1
  111. package/dist/packages/features/ee/workflows/lib/reminders/providers/twilioProvider.d.ts +6 -2
  112. package/dist/packages/features/ee/workflows/lib/reminders/providers/twilioProvider.d.ts.map +1 -1
  113. package/dist/packages/features/ee/workflows/lib/reminders/smsReminderManager.d.ts.map +1 -1
  114. package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/ContentSidMapping.d.ts +11 -0
  115. package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/ContentSidMapping.d.ts.map +1 -0
  116. package/dist/packages/features/ee/workflows/lib/reminders/utils.d.ts +6 -0
  117. package/dist/packages/features/ee/workflows/lib/reminders/utils.d.ts.map +1 -1
  118. package/dist/packages/features/ee/workflows/lib/reminders/whatsappReminderManager.d.ts.map +1 -1
  119. package/dist/packages/features/ee/workflows/lib/test/twilioWebhook.test.d.ts +2 -0
  120. package/dist/packages/features/ee/workflows/lib/test/twilioWebhook.test.d.ts.map +1 -0
  121. package/dist/packages/features/eventtypes/components/Locations.d.ts +1 -1
  122. package/dist/packages/features/eventtypes/components/Locations.d.ts.map +1 -1
  123. package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts.map +1 -1
  124. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +9 -0
  125. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
  126. package/dist/packages/features/eventtypes/lib/types.d.ts +5 -0
  127. package/dist/packages/features/eventtypes/lib/types.d.ts.map +1 -1
  128. package/dist/packages/platform/atoms/availability/AvailabilitySettings.d.ts +2 -1
  129. package/dist/packages/platform/atoms/availability/AvailabilitySettings.d.ts.map +1 -1
  130. package/dist/packages/platform/atoms/availability/wrappers/AvailabilitySettingsPlatformWrapper.d.ts +6 -1
  131. package/dist/packages/platform/atoms/availability/wrappers/AvailabilitySettingsPlatformWrapper.d.ts.map +1 -1
  132. package/dist/packages/platform/atoms/booker/BookerPlatformWrapper.d.ts.map +1 -1
  133. package/dist/packages/platform/atoms/booker/types.d.ts +2 -0
  134. package/dist/packages/platform/atoms/booker/types.d.ts.map +1 -1
  135. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts +1 -0
  136. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts.map +1 -1
  137. package/dist/packages/platform/atoms/event-types/atom-api-transformers/transformApiEventTypeForAtom.d.ts +12 -0
  138. package/dist/packages/platform/atoms/event-types/atom-api-transformers/transformApiEventTypeForAtom.d.ts.map +1 -1
  139. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +9 -0
  140. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts.map +1 -1
  141. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts +2 -0
  142. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts.map +1 -1
  143. package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts +9 -0
  144. package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts.map +1 -1
  145. package/dist/packages/platform/atoms/event-types/hooks/useEventTypeForm.d.ts +6 -1
  146. package/dist/packages/platform/atoms/event-types/hooks/useEventTypeForm.d.ts.map +1 -1
  147. package/dist/packages/platform/atoms/event-types/wrappers/EventTypePlatformWrapper.d.ts +6 -1
  148. package/dist/packages/platform/atoms/event-types/wrappers/EventTypePlatformWrapper.d.ts.map +1 -1
  149. package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts +1 -0
  150. package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts.map +1 -1
  151. package/dist/packages/platform/atoms/hooks/bookings/useHandleBookEvent.d.ts.map +1 -1
  152. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts +1 -0
  153. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts.map +1 -1
  154. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts +1 -0
  155. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts.map +1 -1
  156. package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts +1 -0
  157. package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts.map +1 -1
  158. package/dist/packages/platform/atoms/hooks/useConnectedCalendars.d.ts +12 -0
  159. package/dist/packages/platform/atoms/hooks/useConnectedCalendars.d.ts.map +1 -1
  160. package/dist/packages/platform/atoms/hooks/usePublicEvent.d.ts +9 -0
  161. package/dist/packages/platform/atoms/hooks/usePublicEvent.d.ts.map +1 -1
  162. package/dist/packages/platform/types/api.d.ts +0 -8
  163. package/dist/packages/platform/types/api.d.ts.map +1 -1
  164. package/dist/packages/platform/types/bookings/2024-08-13/inputs/get-bookings.input.d.ts +1 -0
  165. package/dist/packages/platform/types/bookings/2024-08-13/inputs/get-bookings.input.d.ts.map +1 -1
  166. package/dist/packages/platform/types/bookings/2024-08-13/outputs/get-bookings.output.d.ts +1 -10
  167. package/dist/packages/platform/types/bookings/2024-08-13/outputs/get-bookings.output.d.ts.map +1 -1
  168. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/event-type.output.d.ts +1 -0
  169. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/event-type.output.d.ts.map +1 -1
  170. package/dist/packages/platform/types/index.d.ts +2 -0
  171. package/dist/packages/platform/types/index.d.ts.map +1 -1
  172. package/dist/packages/platform/types/pagination/pagination.input.d.ts +9 -0
  173. package/dist/packages/platform/types/pagination/pagination.input.d.ts.map +1 -0
  174. package/dist/packages/platform/types/pagination/pagination.output.d.ts +11 -0
  175. package/dist/packages/platform/types/pagination/pagination.output.d.ts.map +1 -0
  176. package/dist/packages/prisma/zod/calvideosettings.d.ts +34 -0
  177. package/dist/packages/prisma/zod/calvideosettings.d.ts.map +1 -0
  178. package/dist/packages/prisma/zod/custom/booking.d.ts +9 -0
  179. package/dist/packages/prisma/zod/custom/booking.d.ts.map +1 -1
  180. package/dist/packages/prisma/zod/custom/eventtype.d.ts +20 -0
  181. package/dist/packages/prisma/zod/custom/eventtype.d.ts.map +1 -1
  182. package/dist/packages/prisma/zod/delegationcredential.d.ts +6 -0
  183. package/dist/packages/prisma/zod/delegationcredential.d.ts.map +1 -1
  184. package/dist/packages/prisma/zod/eventtype.d.ts +21 -1
  185. package/dist/packages/prisma/zod/eventtype.d.ts.map +1 -1
  186. package/dist/packages/prisma/zod/filtersegment.d.ts +2 -1
  187. package/dist/packages/prisma/zod/filtersegment.d.ts.map +1 -1
  188. package/dist/packages/prisma/zod/index.d.ts +4 -0
  189. package/dist/packages/prisma/zod/index.d.ts.map +1 -1
  190. package/dist/packages/prisma/zod/membership.d.ts +5 -1
  191. package/dist/packages/prisma/zod/membership.d.ts.map +1 -1
  192. package/dist/packages/prisma/zod/role.d.ts +42 -0
  193. package/dist/packages/prisma/zod/role.d.ts.map +1 -0
  194. package/dist/packages/prisma/zod/rolepermission.d.ts +31 -0
  195. package/dist/packages/prisma/zod/rolepermission.d.ts.map +1 -0
  196. package/dist/packages/prisma/zod/selectedcalendar.d.ts +12 -0
  197. package/dist/packages/prisma/zod/selectedcalendar.d.ts.map +1 -1
  198. package/dist/packages/prisma/zod/task.d.ts +2 -2
  199. package/dist/packages/prisma/zod/team.d.ts +2 -1
  200. package/dist/packages/prisma/zod/team.d.ts.map +1 -1
  201. package/dist/packages/prisma/zod/user.d.ts +2 -1
  202. package/dist/packages/prisma/zod/user.d.ts.map +1 -1
  203. package/dist/packages/prisma/zod/userfiltersegmentpreference.d.ts +35 -0
  204. package/dist/packages/prisma/zod/userfiltersegmentpreference.d.ts.map +1 -0
  205. package/dist/packages/prisma/zod-utils.d.ts +48 -0
  206. package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
  207. package/dist/packages/prisma-client/index.d.ts +8968 -660
  208. package/dist/packages/trpc/react/hooks/__tests__/preserveLocalTime.test.d.ts +2 -0
  209. package/dist/packages/trpc/react/hooks/__tests__/preserveLocalTime.test.d.ts.map +1 -0
  210. package/dist/packages/trpc/react/hooks/useUserTimePreferences.d.ts +7 -0
  211. package/dist/packages/trpc/react/hooks/useUserTimePreferences.d.ts.map +1 -0
  212. package/dist/packages/trpc/react/shared.d.ts +1 -1
  213. package/dist/packages/trpc/react/shared.d.ts.map +1 -1
  214. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts +88 -0
  215. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts.map +1 -1
  216. package/dist/{useIsAppEnabled-ytiPxn9-.js → useIsAppEnabled-AS-kT_uQ.js} +1 -1
  217. package/package.json +3 -3
  218. package/dist/EventTypeAppCardInterface-zfmf1-zD.js +0 -24
  219. package/dist/packages/features/bookings/Booker/utils/lastBookingResponse.d.ts +0 -3
  220. package/dist/packages/features/bookings/Booker/utils/lastBookingResponse.d.ts.map +0 -1
  221. package/dist/packages/features/bookings/Booker/utils/lastBookingResponse.test.d.ts +0 -2
  222. package/dist/packages/features/bookings/Booker/utils/lastBookingResponse.test.d.ts.map +0 -1
  223. package/dist/packages/prisma/zod/platformmanagedorganization.d.ts +0 -26
  224. package/dist/packages/prisma/zod/platformmanagedorganization.d.ts.map +0 -1
@@ -1,5 +1,5 @@
1
1
  import { jsx as d, jsxs as O, Fragment as T } from "react/jsx-runtime";
2
- import { M as J, av as Ye, aw as Fe, N as Le, ax as Dt, ay as Mt, r as _t, az as kt } from "./index-BD5cCCpM.js";
2
+ import { M as J, av as Ye, aw as Fe, N as Le, ax as Dt, ay as Mt, r as _t, az as kt } from "./index-ddQrFbWn.js";
3
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";
4
4
  function M(e) {
5
5
  const t = Object.prototype.toString.call(e);
@@ -1227,30 +1227,30 @@ 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, 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);
1230
+ var u, h, m, f, 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) ?? ((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) ?? ((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);
1232
1232
  if (!Ft(s))
1233
1233
  throw new RangeError("Invalid time value");
1234
- let l = t.match(Pn).map((D) => {
1235
- const x = D[0];
1234
+ let l = t.match(Pn).map((p) => {
1235
+ const x = p[0];
1236
1236
  if (x === "p" || x === "P") {
1237
1237
  const j = gn[x];
1238
- return j(D, r.formatLong);
1238
+ return j(p, r.formatLong);
1239
1239
  }
1240
- return D;
1241
- }).join("").match(xn).map((D) => {
1242
- if (D === "''")
1240
+ return p;
1241
+ }).join("").match(xn).map((p) => {
1242
+ if (p === "''")
1243
1243
  return { isToken: !1, value: "'" };
1244
- const x = D[0];
1244
+ const x = p[0];
1245
1245
  if (x === "'")
1246
- return { isToken: !1, value: Wn(D) };
1246
+ return { isToken: !1, value: Wn(p) };
1247
1247
  if (Ee[x])
1248
- return { isToken: !0, value: D };
1248
+ return { isToken: !0, value: p };
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: D };
1253
+ return { isToken: !1, value: p };
1254
1254
  });
1255
1255
  r.localize.preprocessor && (l = r.localize.preprocessor(s, l));
1256
1256
  const c = {
@@ -1258,10 +1258,10 @@ function E(e, t, n) {
1258
1258
  weekStartsOn: i,
1259
1259
  locale: r
1260
1260
  };
1261
- return l.map((D) => {
1262
- if (!D.isToken)
1263
- return D.value;
1264
- const x = D.value;
1261
+ return l.map((p) => {
1262
+ if (!p.isToken)
1263
+ return p.value;
1264
+ const x = p.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
1267
  return j(s, x, r.localize, c);
@@ -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 g = function() {
1322
- return g = Object.assign || function(t) {
1321
+ var b = function() {
1322
+ return b = 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
- }, g.apply(this, arguments);
1329
+ }, b.apply(this, arguments);
1330
1330
  };
1331
1331
  function In(e, t) {
1332
1332
  var n = {};
@@ -1474,28 +1474,28 @@ 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 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 });
1477
+ var c = 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
1478
  return d(tt.Provider, { value: c, children: e.children });
1479
1479
  }
1480
- function N() {
1480
+ function k() {
1481
1481
  var e = Q(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 = N(), n = t.locale, a = t.classNames, r = t.styles, o = t.formatters.formatCaption;
1487
+ var t = k(), n = t.locale, a = t.classNames, r = t.styles, o = t.formatters.formatCaption;
1488
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 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" }) }));
1491
+ return d("svg", b({ 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, c = N(), u = (n = (t = c.components) === null || t === void 0 ? void 0 : t.IconDropdown) !== null && n !== void 0 ? n : aa;
1494
+ var t, n, a = e.onChange, r = e.value, o = e.children, i = e.caption, s = e.className, l = e.style, c = k(), u = (n = (t = c.components) === null || t === void 0 ? void 0 : t.IconDropdown) !== null && n !== void 0 ? n : aa;
1495
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 = 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;
1498
+ var t, n = k(), 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
1500
  return d(T, {});
1501
1501
  if (!r)
@@ -1507,28 +1507,28 @@ function ra(e) {
1507
1507
  else
1508
1508
  for (var m = S(/* @__PURE__ */ new Date()), f = 0; f <= 11; f++)
1509
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());
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 = c == null ? void 0 : c.Dropdown) !== null && t !== void 0 ? t : at;
1514
+ return d(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: h.map(function(w) {
1515
+ return d("option", { value: w.getMonth(), children: s(w, { locale: i }) }, w.getMonth());
1516
1516
  }) });
1517
1517
  }
1518
1518
  function oa(e) {
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 = [];
1519
+ var t, n = e.displayMonth, a = k(), 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
1521
  return d(T, {});
1522
1522
  if (!o)
1523
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));
1524
+ for (var f = r.getFullYear(), y = o.getFullYear(), D = f; D <= y; D++)
1525
+ m.push(je(Ge(/* @__PURE__ */ new Date()), D));
1526
+ var w = function(p) {
1527
+ var x = je(S(n), Number(p.target.value));
1528
1528
  e.onChange(x);
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());
1529
+ }, N = (t = c == null ? void 0 : c.Dropdown) !== null && t !== void 0 ? t : at;
1530
+ return d(N, { name: "years", "aria-label": h(), className: l.dropdown_year, style: s.dropdown_year, onChange: w, value: n.getFullYear(), caption: u(n, { locale: i }), children: m.map(function(p) {
1531
+ return d("option", { value: p.getFullYear(), children: u(p, { locale: i }) }, p.getFullYear());
1532
1532
  }) });
1533
1533
  }
1534
1534
  function ia(e, t) {
@@ -1544,7 +1544,7 @@ function sa(e) {
1544
1544
  return i && z(r, i) < 0 && (r = i), S(r);
1545
1545
  }
1546
1546
  function la() {
1547
- var e = N(), t = sa(e), n = ia(t, e.month), a = n[0], r = n[1], o = function(i) {
1547
+ var e = k(), 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);
@@ -1582,7 +1582,7 @@ function da(e, t) {
1582
1582
  }
1583
1583
  var rt = q(void 0);
1584
1584
  function fa(e) {
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) {
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(h) {
1586
1586
  return o.some(function(m) {
1587
1587
  return Ne(h, m);
1588
1588
  });
@@ -1606,39 +1606,39 @@ function ne() {
1606
1606
  return e;
1607
1607
  }
1608
1608
  function He(e) {
1609
- var t, n = N(), a = n.classNames, r = n.styles, o = n.components, i = ne().goToMonth, s = function(u) {
1609
+ var t, n = k(), 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
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
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 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" }) }));
1615
+ return d("svg", b({ 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 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" }) }));
1618
+ return d("svg", b({ 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 = N(), a = n.classNames, r = n.styles, o = [a.button_reset, a.button];
1621
+ var n = k(), 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 = 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 }));
1623
+ var i = o.join(" "), s = b(b({}, r.button_reset), r.button);
1624
+ return e.style && Object.assign(s, e.style), d("button", b({}, e, { ref: t, type: "button", className: i, style: s }));
1625
1625
  });
1626
1626
  function va(e) {
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;
1627
+ var t, n, a = k(), 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
1629
  return d(T, {});
1630
1630
  var m = c(e.previousMonth, { locale: o }), f = [
1631
1631
  i.nav_button,
1632
1632
  i.nav_button_previous
1633
- ].join(" "), v = u(e.nextMonth, { locale: o }), p = [
1633
+ ].join(" "), y = u(e.nextMonth, { locale: o }), D = [
1634
1634
  i.nav_button,
1635
1635
  i.nav_button_next
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 }) })] });
1636
+ ].join(" "), w = (t = h == null ? void 0 : h.IconRight) !== null && t !== void 0 ? t : ma, N = (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(w, { className: i.nav_icon, style: s.nav_icon }) : d(N, { className: i.nav_icon, style: s.nav_icon }) }), !e.hideNext && d(oe, { name: "next-month", "aria-label": y, className: D, style: s.nav_button_next, disabled: !e.nextMonth, onClick: e.onNextClick, children: r === "rtl" ? d(N, { className: i.nav_icon, style: s.nav_icon }) : d(w, { className: i.nav_icon, style: s.nav_icon }) })] });
1638
1638
  }
1639
1639
  function Ae(e) {
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);
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
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
1644
  }, f = function() {
@@ -1647,11 +1647,11 @@ function Ae(e) {
1647
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 = 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;
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, c;
1651
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 = N(), n = t.footer, a = t.styles, r = t.classNames.tfoot;
1654
+ var t = k(), n = t.footer, a = t.styles, r = t.classNames.tfoot;
1655
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) {
@@ -1662,17 +1662,17 @@ function ga(e, t, n) {
1662
1662
  return r;
1663
1663
  }
1664
1664
  function wa() {
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);
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, c = ga(r, o, i);
1666
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
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 = N(), n = t.classNames, a = t.styles, r = t.components, o = (e = r == null ? void 0 : r.HeadRow) !== null && e !== void 0 ? e : wa;
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
1672
  return d("thead", { style: a.head, className: n.head, children: d(o, {}) });
1673
1673
  }
1674
1674
  function Da(e) {
1675
- var t = N(), n = t.locale, a = t.formatters.formatDay;
1675
+ var t = k(), n = t.locale, a = t.formatters.formatDay;
1676
1676
  return d(T, { children: a(e.date, { locale: n }) });
1677
1677
  }
1678
1678
  var xe = q(void 0);
@@ -1692,19 +1692,19 @@ function _a(e) {
1692
1692
  var t = e.initialProps, n = e.children, a = t.selected, r = t.min, o = t.max, i = function(c, u, h) {
1693
1693
  var m, f;
1694
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) : [];
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) : [];
1700
1700
  if (u.selected) {
1701
- var k = y.findIndex(function(D) {
1702
- return C(c, D);
1701
+ var N = w.findIndex(function(p) {
1702
+ return C(c, p);
1703
1703
  });
1704
- y.splice(k, 1);
1704
+ w.splice(N, 1);
1705
1705
  } else
1706
- y.push(c);
1707
- (f = t.onSelect) === null || f === void 0 || f.call(t, y, c, u, h);
1706
+ w.push(c);
1707
+ (f = t.onSelect) === null || f === void 0 || f.call(t, w, c, u, h);
1708
1708
  }
1709
1709
  }
1710
1710
  }, s = {
@@ -1750,11 +1750,11 @@ function Na(e) {
1750
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, 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);
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, y, D) {
1754
+ var w, N;
1755
+ (w = t.onDayClick) === null || w === void 0 || w.call(t, f, y, D);
1756
+ var p = ka(f, a);
1757
+ (N = t.onSelect) === null || N === void 0 || N.call(t, p, f, y, D);
1758
1758
  }, u = {
1759
1759
  range_start: [],
1760
1760
  range_end: [],
@@ -1823,7 +1823,7 @@ function Ta(e, t, n) {
1823
1823
  }
1824
1824
  var ot = q(void 0);
1825
1825
  function Ya(e) {
1826
- var t = N(), n = Pe(), a = Ce(), r = Ta(t, n, a), o = Pa(t.modifiers), i = g(g({}, r), o);
1826
+ var t = k(), n = Pe(), a = Ce(), r = Ta(t, n, a), o = Pa(t.modifiers), i = b(b({}, r), o);
1827
1827
  return d(ot.Provider, { value: i, children: e.children });
1828
1828
  }
1829
1829
  function it() {
@@ -1911,80 +1911,80 @@ function st(e, t) {
1911
1911
  week: we,
1912
1912
  month: Y,
1913
1913
  year: Wt,
1914
- startOfWeek: function(y) {
1915
- return r.ISOWeek ? A(y) : I(y, { locale: h, weekStartsOn: l });
1914
+ startOfWeek: function(w) {
1915
+ return r.ISOWeek ? A(w) : I(w, { locale: h, weekStartsOn: l });
1916
1916
  },
1917
- endOfWeek: function(y) {
1918
- return r.ISOWeek ? Ve(y) : ke(y, { locale: h, weekStartsOn: l });
1917
+ endOfWeek: function(w) {
1918
+ return r.ISOWeek ? Ve(w) : ke(w, { locale: h, weekStartsOn: l });
1919
1919
  }
1920
1920
  }, f = m[n](e, a === "after" ? 1 : -1);
1921
1921
  a === "before" && c ? f = Tt([c, f]) : a === "after" && u && (f = Yt([u, f]));
1922
- var v = !0;
1922
+ var y = !0;
1923
1923
  if (o) {
1924
- var p = Se(f, o);
1925
- v = !p.disabled && !p.hidden;
1924
+ var D = Se(f, o);
1925
+ y = !D.disabled && !D.hidden;
1926
1926
  }
1927
- return v ? f : s.count > Qa ? s.lastFocused : st(f, {
1927
+ return y ? f : s.count > Qa ? s.lastFocused : st(f, {
1928
1928
  moveBy: n,
1929
1929
  direction: a,
1930
1930
  context: r,
1931
1931
  modifiers: o,
1932
- retry: g(g({}, s), { count: s.count + 1 })
1932
+ retry: b(b({}, s), { count: s.count + 1 })
1933
1933
  });
1934
1934
  }
1935
1935
  var lt = q(void 0);
1936
1936
  function Xa(e) {
1937
1937
  var t = ne(), n = it(), a = K(), r = a[0], o = a[1], i = K(), 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
- }, m = function(y) {
1940
- o(y);
1941
- }, f = N(), v = function(y, k) {
1939
+ }, m = function(w) {
1940
+ o(w);
1941
+ }, f = k(), y = function(w, N) {
1942
1942
  if (r) {
1943
- var D = st(r, {
1944
- moveBy: y,
1945
- direction: k,
1943
+ var p = st(r, {
1944
+ moveBy: w,
1945
+ direction: N,
1946
1946
  context: f,
1947
1947
  modifiers: n
1948
1948
  });
1949
- C(r, D) || (t.goToDate(D, r), m(D));
1949
+ C(r, p) || (t.goToDate(p, r), m(p));
1950
1950
  }
1951
- }, p = {
1951
+ }, D = {
1952
1952
  focusedDay: r,
1953
1953
  focusTarget: u,
1954
1954
  blur: h,
1955
1955
  focus: m,
1956
1956
  focusDayAfter: function() {
1957
- return v("day", "after");
1957
+ return y("day", "after");
1958
1958
  },
1959
1959
  focusDayBefore: function() {
1960
- return v("day", "before");
1960
+ return y("day", "before");
1961
1961
  },
1962
1962
  focusWeekAfter: function() {
1963
- return v("week", "after");
1963
+ return y("week", "after");
1964
1964
  },
1965
1965
  focusWeekBefore: function() {
1966
- return v("week", "before");
1966
+ return y("week", "before");
1967
1967
  },
1968
1968
  focusMonthBefore: function() {
1969
- return v("month", "before");
1969
+ return y("month", "before");
1970
1970
  },
1971
1971
  focusMonthAfter: function() {
1972
- return v("month", "after");
1972
+ return y("month", "after");
1973
1973
  },
1974
1974
  focusYearBefore: function() {
1975
- return v("year", "before");
1975
+ return y("year", "before");
1976
1976
  },
1977
1977
  focusYearAfter: function() {
1978
- return v("year", "after");
1978
+ return y("year", "after");
1979
1979
  },
1980
1980
  focusStartOfWeek: function() {
1981
- return v("startOfWeek", "before");
1981
+ return y("startOfWeek", "before");
1982
1982
  },
1983
1983
  focusEndOfWeek: function() {
1984
- return v("endOfWeek", "after");
1984
+ return y("endOfWeek", "after");
1985
1985
  }
1986
1986
  };
1987
- return d(lt.Provider, { value: p, children: e.children });
1987
+ return d(lt.Provider, { value: D, children: e.children });
1988
1988
  }
1989
1989
  function We() {
1990
1990
  var e = Q(lt);
@@ -2027,71 +2027,71 @@ function ut() {
2027
2027
  return e;
2028
2028
  }
2029
2029
  function Ua(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) {
2030
+ var n = k(), 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, 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
+ m(e), (v = n.onDayFocus) === null || v === void 0 || v.call(n, e, t, g);
2036
+ }, le = function(g) {
2037
+ var v;
2038
+ h(), (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) {
2069
2069
  case "ArrowLeft":
2070
- w.preventDefault(), w.stopPropagation(), n.dir === "rtl" ? s() : l();
2070
+ g.preventDefault(), g.stopPropagation(), n.dir === "rtl" ? s() : l();
2071
2071
  break;
2072
2072
  case "ArrowRight":
2073
- w.preventDefault(), w.stopPropagation(), n.dir === "rtl" ? l() : s();
2073
+ g.preventDefault(), g.stopPropagation(), n.dir === "rtl" ? l() : s();
2074
2074
  break;
2075
2075
  case "ArrowDown":
2076
- w.preventDefault(), w.stopPropagation(), c();
2076
+ g.preventDefault(), g.stopPropagation(), c();
2077
2077
  break;
2078
2078
  case "ArrowUp":
2079
- w.preventDefault(), w.stopPropagation(), u();
2079
+ g.preventDefault(), g.stopPropagation(), u();
2080
2080
  break;
2081
2081
  case "PageUp":
2082
- w.preventDefault(), w.stopPropagation(), w.shiftKey ? p() : f();
2082
+ g.preventDefault(), g.stopPropagation(), g.shiftKey ? D() : f();
2083
2083
  break;
2084
2084
  case "PageDown":
2085
- w.preventDefault(), w.stopPropagation(), w.shiftKey ? y() : v();
2085
+ g.preventDefault(), g.stopPropagation(), g.shiftKey ? w() : y();
2086
2086
  break;
2087
2087
  case "Home":
2088
- w.preventDefault(), w.stopPropagation(), k();
2088
+ g.preventDefault(), g.stopPropagation(), N();
2089
2089
  break;
2090
2090
  case "End":
2091
- w.preventDefault(), w.stopPropagation(), D();
2091
+ g.preventDefault(), g.stopPropagation(), p();
2092
2092
  break;
2093
2093
  }
2094
- (b = n.onDayKeyDown) === null || b === void 0 || b.call(n, e, t, w);
2094
+ (v = n.onDayKeyDown) === null || v === void 0 || v.call(n, e, t, g);
2095
2095
  }, pt = {
2096
2096
  onClick: x,
2097
2097
  onFocus: j,
@@ -2110,7 +2110,7 @@ function Ua(e, t) {
2110
2110
  return pt;
2111
2111
  }
2112
2112
  function Ja() {
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;
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;
2114
2114
  return r;
2115
2115
  }
2116
2116
  function Ka(e) {
@@ -2129,14 +2129,14 @@ function za(e, t) {
2129
2129
  }), n;
2130
2130
  }
2131
2131
  function Za(e, t) {
2132
- var n = g({}, e.styles.day);
2132
+ var n = b({}, e.styles.day);
2133
2133
  return Object.keys(t).forEach(function(a) {
2134
2134
  var r;
2135
- n = g(g({}, n), (r = e.modifiersStyles) === null || r === void 0 ? void 0 : r[a]);
2135
+ n = b(b({}, 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 = N(), s = We(), l = Ga(e, t), c = Ua(e, l), u = Ja(), h = !!(i.onDayClick || i.mode !== "default");
2139
+ var a, r, o, i = k(), s = We(), l = Ga(e, t), c = Ua(e, l), u = Ja(), h = !!(i.onDayClick || i.mode !== "default");
2140
2140
  ie(function() {
2141
2141
  var V;
2142
2142
  l.outside || s.focusedDay && h && C(s.focusedDay, e) && ((V = n.current) === null || V === void 0 || V.focus());
@@ -2147,27 +2147,27 @@ function er(e, t, n) {
2147
2147
  h,
2148
2148
  l.outside
2149
2149
  ]);
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 = {
2150
+ var m = za(i, l).join(" "), f = 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 = d(D, { date: e, displayMonth: t, activeModifiers: l }), N = {
2151
2151
  style: f,
2152
2152
  className: m,
2153
- children: y,
2153
+ children: w,
2154
2154
  role: "gridcell"
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 = {
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)), c), le = {
2156
2156
  isButton: h,
2157
- isHidden: v,
2157
+ isHidden: y,
2158
2158
  activeModifiers: l,
2159
2159
  selectedDays: u,
2160
2160
  buttonProps: j,
2161
- divProps: k
2161
+ divProps: N
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 ? d("div", { role: "gridcell" }) : n.isButton ? d(oe, g({ name: "day", ref: t }, n.buttonProps)) : d("div", g({}, n.divProps));
2167
+ return n.isHidden ? d("div", { role: "gridcell" }) : n.isButton ? d(oe, b({ name: "day", ref: t }, n.buttonProps)) : d("div", b({}, n.divProps));
2168
2168
  }
2169
2169
  function nr(e) {
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 });
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, c = a.formatters.formatWeekNumber, u = c(Number(t), { locale: s });
2171
2171
  if (!r)
2172
2172
  return d("span", { className: i.weeknumber, style: o.weeknumber, children: u });
2173
2173
  var h = l(Number(t), { locale: s }), m = function(f) {
@@ -2176,7 +2176,7 @@ function nr(e) {
2176
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 = 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;
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, c = (n = s == null ? void 0 : s.WeekNumber) !== null && n !== void 0 ? n : nr, u;
2180
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
2181
  return d("td", { className: o.cell, style: r.cell, role: "presentation", children: d(l, { displayMonth: e.displayMonth, date: h }) }, Yn(h));
2182
2182
  })] });
@@ -2207,16 +2207,16 @@ function rr(e, t) {
2207
2207
  return n;
2208
2208
  }
2209
2209
  function or(e) {
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, {
2210
+ var t, n, a, r = k(), 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, y = rr(e.displayMonth, {
2211
2211
  useFixedWeeks: !!c,
2212
2212
  ISOWeek: f,
2213
2213
  locale: o,
2214
2214
  weekStartsOn: h,
2215
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 })] });
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 && d(D, {}), d("tbody", { className: i.tbody, style: s.tbody, children: y.map(function(p) {
2218
+ return d(w, { displayMonth: e.displayMonth, dates: p.dates, weekNumber: p.weekNumber }, p.weekNumber);
2219
+ }) }), d(N, { displayMonth: e.displayMonth })] });
2220
2220
  }
2221
2221
  function ir() {
2222
2222
  return !!(typeof window < "u" && window.document && window.document.createElement);
@@ -2234,17 +2234,17 @@ function ur(e) {
2234
2234
  }, []), (t = e ?? r) !== null && t !== void 0 ? t : void 0;
2235
2235
  }
2236
2236
  function cr(e) {
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);
2237
+ var t, n, a = k(), 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, y = e.displayIndex === l.length - 1, D = !f && !y;
2238
+ r === "rtl" && (t = [f, y], y = t[0], f = t[1]), f && (h.push(o.caption_start), m = b(b({}, m), i.caption_start)), y && (h.push(o.caption_end), m = b(b({}, m), i.caption_end)), D && (h.push(o.caption_between), m = b(b({}, m), i.caption_between));
2239
+ var w = (n = s == null ? void 0 : s.Caption) !== null && n !== void 0 ? n : ya;
2240
+ return O("div", { className: h.join(" "), style: m, children: [d(w, { 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 = N(), n = t.classNames, a = t.styles;
2243
+ var t = k(), n = t.classNames, a = t.styles;
2244
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 = N(), o = We(), i = ne(), s = K(!1), l = s[0], c = s[1];
2247
+ var t, n, a = e.initialProps, r = k(), o = We(), i = ne(), s = K(!1), l = s[0], c = s[1];
2248
2248
  ie(function() {
2249
2249
  r.initialFocus && o.focusTarget && (l || (o.focus(o.focusTarget), c(!0)));
2250
2250
  }, [
@@ -2256,14 +2256,14 @@ 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 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));
2259
+ var h = b(b({}, r.styles.root), r.style), m = 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
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);
2265
+ return d("div", b({ 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(y, D) {
2266
+ return d(cr, { displayIndex: D, displayMonth: y }, D);
2267
2267
  }) }) }));
2268
2268
  }
2269
2269
  function hr(e) {
@@ -2271,7 +2271,7 @@ function hr(e) {
2271
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(Xa, { children: t }) }) }) }) }) }) });
2272
2272
  }
2273
2273
  function mr(e) {
2274
- return d(hr, g({}, e, { children: d(fr, { initialProps: e }) }));
2274
+ return d(hr, b({}, e, { children: d(fr, { initialProps: e }) }));
2275
2275
  }
2276
2276
  function ct({
2277
2277
  className: e,
@@ -2348,24 +2348,11 @@ function gr({
2348
2348
  if (t != null && t.endDate)
2349
2349
  r({ startDate: f, endDate: void 0 });
2350
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 });
2351
+ const y = t.startDate ? f < t.startDate ? f : t.startDate : f, D = t.startDate ? f < t.startDate ? t.startDate : f : void 0;
2352
+ r({ startDate: y, endDate: D });
2353
2353
  }
2354
- else if (!t.startDate || !t.endDate)
2355
- r({ startDate: f, endDate: f });
2356
- else {
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
- }
2368
- }
2354
+ else
2355
+ t.startDate ? t.endDate ? f.getTime() === t.startDate.getTime() || f.getTime() === t.endDate.getTime() ? r({ startDate: f, endDate: void 0 }) : f < t.startDate ? r({ startDate: f, endDate: void 0 }) : r({ startDate: t.startDate, endDate: f }) : f < t.startDate ? r({ startDate: f, endDate: t.startDate }) : r({ startDate: t.startDate, endDate: f }) : r({ startDate: f, endDate: void 0 });
2369
2356
  }
2370
2357
  const m = /* @__PURE__ */ d(
2371
2358
  ct,