@calcom/atoms 1.0.101-booker → 1.0.102-framer

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 (421) hide show
  1. package/dist/{AddressInput-juYkbZV2.js → AddressInput-HHWre7wa.js} +3 -3
  2. package/dist/{AlbyPriceComponent-zPblWsmO.js → AlbyPriceComponent-PiAQRyyF.js} +29 -29
  3. package/dist/AppCard-sZ0O4rSq.js +269 -0
  4. package/dist/AppListCardPlatformWrapper-3MnkMx3x.js +9 -0
  5. package/dist/AppListCardWebWrapper-k80VJ3AR.js +74 -0
  6. package/dist/AppSettingsInterface--tKm6fGn.js +75 -0
  7. package/dist/AppSettingsInterface-WX_BLXDA.js +23 -0
  8. package/dist/AppSettingsInterface-XM13ce3E.js +29 -0
  9. package/dist/DateRangePicker-Fh_dsIdj.js +2418 -0
  10. package/dist/EventTypeAppCardInterface-0Jaxf6Yz.js +686 -0
  11. package/dist/EventTypeAppCardInterface-17vlTbvX.js +24 -0
  12. package/dist/EventTypeAppCardInterface-1wRC7oyo.js +24 -0
  13. package/dist/EventTypeAppCardInterface-2BSSOgqQ.js +34 -0
  14. package/dist/EventTypeAppCardInterface-3Z4hJuXU.js +24 -0
  15. package/dist/EventTypeAppCardInterface-6yy2mWL4.js +49 -0
  16. package/dist/EventTypeAppCardInterface-77QzFk7h.js +41 -0
  17. package/dist/EventTypeAppCardInterface-9knMJyHl.js +34 -0
  18. package/dist/EventTypeAppCardInterface-B0o2UQlj.js +34 -0
  19. package/dist/EventTypeAppCardInterface-Cz53nZwO.js +42 -0
  20. package/dist/EventTypeAppCardInterface-JUes7Gej.js +32 -0
  21. package/dist/EventTypeAppCardInterface-KHTT8wJl.js +24 -0
  22. package/dist/EventTypeAppCardInterface-Serbjt3a.js +41 -0
  23. package/dist/EventTypeAppCardInterface-VM43qaV4.js +51 -0
  24. package/dist/EventTypeAppCardInterface-WAgtkJTr.js +24 -0
  25. package/dist/EventTypeAppCardInterface-bE8PXNkn.js +51 -0
  26. package/dist/EventTypeAppCardInterface-eRfD8up8.js +31 -0
  27. package/dist/EventTypeAppCardInterface-fb10ijkP.js +34 -0
  28. package/dist/EventTypeAppCardInterface-mdMn_7JM.js +39 -0
  29. package/dist/EventTypeAppCardInterface-n9yqPo1B.js +33 -0
  30. package/dist/EventTypeAppCardInterface-oVYKJdV6.js +42 -0
  31. package/dist/EventTypeAppCardInterface-of1RhX-E.js +34 -0
  32. package/dist/EventTypeAppCardInterface-pTMF-k4A.js +32 -0
  33. package/dist/EventTypeAppCardInterface-qmB5vAlZ.js +86 -0
  34. package/dist/EventTypeAppCardInterface-rmXPvya0.js +34 -0
  35. package/dist/EventTypeAppCardInterface-vwIFMiKz.js +34 -0
  36. package/dist/EventTypeAppSettingsInterface-1Vh5bTl5.js +43 -0
  37. package/dist/EventTypeAppSettingsInterface-2Qwj1n4F.js +23 -0
  38. package/dist/EventTypeAppSettingsInterface-4Xqm5uVF.js +78 -0
  39. package/dist/EventTypeAppSettingsInterface-FV_o-vj_.js +120 -0
  40. package/dist/EventTypeAppSettingsInterface-HU1G4DbI.js +23 -0
  41. package/dist/EventTypeAppSettingsInterface-N3HkZEfB.js +25 -0
  42. package/dist/EventTypeAppSettingsInterface-coxZW4Hf.js +48 -0
  43. package/dist/EventTypeAppSettingsInterface-d-r4ksUA.js +298 -0
  44. package/dist/EventTypeAppSettingsInterface-hTxsbtaU.js +42 -0
  45. package/dist/EventTypeAppSettingsInterface-nE6EDu1s.js +24 -0
  46. package/dist/EventTypeAppSettingsInterface-nyRy26Mb.js +221 -0
  47. package/dist/EventTypeAppSettingsInterface-yVNFEGsi.js +72 -0
  48. package/dist/InstallAppButton-3IKq2MmS.js +14 -0
  49. package/dist/InstallAppButton-5g7VZ1ro.js +14 -0
  50. package/dist/InstallAppButton-JXhBVaYJ.js +29 -0
  51. package/dist/InstallAppButton-TcCIETs3.js +58 -0
  52. package/dist/{PhoneInput-lzIUvvEp.js → PhoneInput-sIw_kpf_.js} +1 -1
  53. package/dist/StripePaymentForm-RyrxioJN.js +493 -0
  54. package/dist/cal-atoms.js +37 -3
  55. package/dist/currencyOptions-kannG2hu.js +61 -0
  56. package/dist/index-AZ6i1wpi.js +518 -0
  57. package/dist/index-K90Yu3PC.js +28 -0
  58. package/dist/index-LRugxdBo.js +158496 -0
  59. package/dist/{index-pxPagOVY.js → index-fMTiPIwd.js} +1 -1
  60. package/dist/packages/features/bookings/Booker/Booker.d.ts.map +1 -1
  61. package/dist/packages/features/bookings/Booker/components/AvailableTimeSlots.d.ts.map +1 -1
  62. package/dist/packages/features/bookings/Booker/components/hooks/useBookerLayout.d.ts +1 -1
  63. package/dist/packages/features/bookings/Booker/components/hooks/useBookingForm.d.ts +9 -9
  64. package/dist/packages/features/bookings/Booker/components/hooks/useBookings.d.ts +9 -9
  65. package/dist/packages/features/bookings/Booker/components/hooks/useCalendars.d.ts +86 -8
  66. package/dist/packages/features/bookings/Booker/components/hooks/useCalendars.d.ts.map +1 -1
  67. package/dist/packages/features/bookings/Booker/types.d.ts +1 -0
  68. package/dist/packages/features/bookings/Booker/types.d.ts.map +1 -1
  69. package/dist/packages/features/bookings/Booker/utils/event.d.ts +151 -133
  70. package/dist/packages/features/bookings/Booker/utils/event.d.ts.map +1 -1
  71. package/dist/packages/features/bookings/Booker/utils/lastBookingResponse.d.ts +1 -1
  72. package/dist/packages/features/bookings/Booker/utils/lastBookingResponse.d.ts.map +1 -1
  73. package/dist/packages/features/bookings/lib/create-booking.d.ts +75 -75
  74. package/dist/packages/features/bookings/lib/create-recurring-booking.d.ts +75 -75
  75. package/dist/packages/features/bookings/lib/get-booking.d.ts +40 -40
  76. package/dist/packages/features/bookings/lib/get-booking.d.ts.map +1 -1
  77. package/dist/packages/features/bookings/lib/getAllCredentialsForUsersOnEvent/refreshCredentials.d.ts +1 -6
  78. package/dist/packages/features/bookings/lib/getAllCredentialsForUsersOnEvent/refreshCredentials.d.ts.map +1 -1
  79. package/dist/packages/features/bookings/lib/getBookingDataSchema.d.ts +56 -56
  80. package/dist/packages/features/bookings/lib/getBookingDataSchemaForApi.d.ts +129 -129
  81. package/dist/packages/features/bookings/lib/getBookingFields.d.ts +20 -20
  82. package/dist/packages/features/bookings/lib/getBookingInfo.d.ts +68 -52
  83. package/dist/packages/features/bookings/lib/getBookingInfo.d.ts.map +1 -1
  84. package/dist/packages/features/bookings/lib/getBookingResponsesSchema.d.ts +6 -6
  85. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts +95 -92
  86. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts.map +1 -1
  87. package/dist/packages/features/bookings/lib/getUserBooking.d.ts +34 -26
  88. package/dist/packages/features/bookings/lib/getUserBooking.d.ts.map +1 -1
  89. package/dist/packages/features/bookings/lib/handleCancelBooking.d.ts.map +1 -1
  90. package/dist/packages/features/bookings/lib/handleInternalNote.d.ts +1 -1
  91. package/dist/packages/features/bookings/lib/handleNewBooking/checkBookingAndDurationLimits.d.ts +1 -1
  92. package/dist/packages/features/bookings/lib/handleNewBooking/checkBookingAndDurationLimits.d.ts.map +1 -1
  93. package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts +33 -34
  94. package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts.map +1 -1
  95. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts +610 -3
  96. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts.map +1 -1
  97. package/dist/packages/features/bookings/lib/handleNewBooking/findBookingQuery.d.ts +14 -14
  98. package/dist/packages/features/bookings/lib/handleNewBooking/findBookingQuery.d.ts.map +1 -1
  99. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts +209 -32
  100. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts.map +1 -1
  101. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts +1189 -0
  102. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts.map +1 -0
  103. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +162 -154
  104. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts.map +1 -1
  105. package/dist/packages/features/bookings/lib/handleNewBooking/getLocationValuesForDb.d.ts +1 -1
  106. package/dist/packages/features/bookings/lib/handleNewBooking/getLocationValuesForDb.d.ts.map +1 -1
  107. package/dist/packages/features/bookings/lib/handleNewBooking/getRequiresConfirmationFlags.d.ts +1 -0
  108. package/dist/packages/features/bookings/lib/handleNewBooking/getRequiresConfirmationFlags.d.ts.map +1 -1
  109. package/dist/packages/features/bookings/lib/handleNewBooking/loadAndValidateUsers.d.ts +2 -2
  110. package/dist/packages/features/bookings/lib/handleNewBooking/loadAndValidateUsers.d.ts.map +1 -1
  111. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts +76 -74
  112. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts.map +1 -1
  113. package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts +59 -59
  114. package/dist/packages/features/bookings/lib/handleNewBooking/scheduleNoShowTriggers.d.ts.map +1 -1
  115. package/dist/packages/features/bookings/lib/handleNewBooking/test/buildDryRunBooking.test.d.ts +2 -0
  116. package/dist/packages/features/bookings/lib/handleNewBooking/test/buildDryRunBooking.test.d.ts.map +1 -0
  117. package/dist/packages/features/bookings/lib/handleNewBooking/validateBookingTimeIsNotOutOfBounds.d.ts.map +1 -1
  118. package/dist/packages/features/bookings/lib/handleNewBooking/validateEventLength.d.ts +1 -1
  119. package/dist/packages/features/bookings/lib/handleNewBooking/validateEventLength.d.ts.map +1 -1
  120. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts +155 -75
  121. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts.map +1 -1
  122. package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.d.ts +31 -31
  123. package/dist/packages/features/bookings/lib/handleSeats/reschedule/attendee/attendeeRescheduleSeatedBooking.d.ts +14 -14
  124. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/combineTwoSeatedBookings.d.ts +14 -14
  125. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/moveSeatedBookingToNewTimeSlot.d.ts +14 -14
  126. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/ownerRescheduleSeatedBooking.d.ts +31 -31
  127. package/dist/packages/features/bookings/lib/handleWebhookTrigger.d.ts +2 -2
  128. package/dist/packages/features/bookings/lib/handleWebhookTrigger.d.ts.map +1 -1
  129. package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts +122 -0
  130. package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts.map +1 -0
  131. package/dist/packages/features/bookings/lib/useFilterQuery.d.ts +4 -4
  132. package/dist/packages/features/data-table/DataTableProvider.d.ts +1 -0
  133. package/dist/packages/features/data-table/DataTableProvider.d.ts.map +1 -1
  134. package/dist/packages/features/data-table/components/DataTable.d.ts +2 -1
  135. package/dist/packages/features/data-table/components/DataTable.d.ts.map +1 -1
  136. package/dist/packages/features/data-table/components/DataTableWrapper.d.ts +3 -1
  137. package/dist/packages/features/data-table/components/DataTableWrapper.d.ts.map +1 -1
  138. package/dist/packages/features/data-table/components/filters/ActiveFilters.d.ts.map +1 -1
  139. package/dist/packages/features/data-table/components/filters/DateRangeFilter.d.ts +2 -1
  140. package/dist/packages/features/data-table/components/filters/DateRangeFilter.d.ts.map +1 -1
  141. package/dist/packages/features/data-table/components/filters/FilterPopover.d.ts.map +1 -1
  142. package/dist/packages/features/data-table/components/filters/useFilterPopoverOpen.d.ts +5 -0
  143. package/dist/packages/features/data-table/components/filters/useFilterPopoverOpen.d.ts.map +1 -0
  144. package/dist/packages/features/data-table/components/segment/DeleteSegmentDialog.d.ts.map +1 -1
  145. package/dist/packages/features/data-table/components/segment/FilterSegmentSelect.d.ts.map +1 -1
  146. package/dist/packages/features/data-table/components/segment/SaveFilterSegmentButton.d.ts.map +1 -1
  147. package/dist/packages/features/data-table/index.d.ts +1 -0
  148. package/dist/packages/features/data-table/index.d.ts.map +1 -1
  149. package/dist/packages/features/data-table/lib/parsers.d.ts +127 -0
  150. package/dist/packages/features/data-table/lib/parsers.d.ts.map +1 -0
  151. package/dist/packages/features/data-table/lib/serializers.d.ts +90 -0
  152. package/dist/packages/features/data-table/lib/serializers.d.ts.map +1 -0
  153. package/dist/packages/features/data-table/lib/server.d.ts +12 -1
  154. package/dist/packages/features/data-table/lib/server.d.ts.map +1 -1
  155. package/dist/packages/features/data-table/lib/types.d.ts +158 -157
  156. package/dist/packages/features/data-table/lib/types.d.ts.map +1 -1
  157. package/dist/packages/features/ee/billing/api/webhook/_checkout.session.completed.d.ts +6 -0
  158. package/dist/packages/features/ee/billing/api/webhook/_checkout.session.completed.d.ts.map +1 -0
  159. package/dist/packages/features/ee/billing/api/webhook/_invoice.paid.org.d.ts +2 -2
  160. package/dist/packages/features/ee/billing/api/webhook/_invoice.paid.org.d.ts.map +1 -1
  161. package/dist/packages/features/ee/billing/api/webhook/index.d.ts.map +1 -1
  162. package/dist/packages/features/ee/billing/billing-service.d.ts +1 -0
  163. package/dist/packages/features/ee/billing/billing-service.d.ts.map +1 -1
  164. package/dist/packages/features/ee/billing/credit-service.d.ts +45 -0
  165. package/dist/packages/features/ee/billing/credit-service.d.ts.map +1 -0
  166. package/dist/packages/features/ee/billing/credit-service.test.d.ts +2 -0
  167. package/dist/packages/features/ee/billing/credit-service.test.d.ts.map +1 -0
  168. package/dist/packages/features/ee/billing/organizations/organization-billing.repository.d.ts +1 -1
  169. package/dist/packages/features/ee/billing/stripe-billling-service.d.ts +11 -0
  170. package/dist/packages/features/ee/billing/stripe-billling-service.d.ts.map +1 -1
  171. package/dist/packages/features/ee/billing/teams/internal-team-billing.d.ts +5 -0
  172. package/dist/packages/features/ee/billing/teams/internal-team-billing.d.ts.map +1 -1
  173. package/dist/packages/features/ee/payments/pages/payment.d.ts +49 -46
  174. package/dist/packages/features/ee/payments/pages/payment.d.ts.map +1 -1
  175. package/dist/packages/features/ee/round-robin/assignmentReason/AssignmentReasonRecorder.d.ts +27 -3
  176. package/dist/packages/features/ee/round-robin/assignmentReason/AssignmentReasonRecorder.d.ts.map +1 -1
  177. package/dist/packages/features/ee/round-robin/handleRescheduleEventManager.d.ts +2 -0
  178. package/dist/packages/features/ee/round-robin/handleRescheduleEventManager.d.ts.map +1 -1
  179. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts +33 -33
  180. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts.map +1 -1
  181. package/dist/packages/features/ee/round-robin/roundRobinReassignment.d.ts.map +1 -1
  182. package/dist/packages/features/ee/workflows/api/handleSMSResponse.d.ts +7 -0
  183. package/dist/packages/features/ee/workflows/api/handleSMSResponse.d.ts.map +1 -0
  184. package/dist/packages/features/ee/workflows/api/scheduleEmailReminders.d.ts.map +1 -1
  185. package/dist/packages/features/ee/workflows/api/scheduleSMSReminders.d.ts.map +1 -1
  186. package/dist/packages/features/ee/workflows/api/scheduleWhatsappReminders.d.ts.map +1 -1
  187. package/dist/packages/features/ee/workflows/lib/getWorkflowReminders.d.ts +4 -1
  188. package/dist/packages/features/ee/workflows/lib/getWorkflowReminders.d.ts.map +1 -1
  189. package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts +2 -0
  190. package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts.map +1 -1
  191. package/dist/packages/features/ee/workflows/lib/reminders/messageDispatcher.d.ts +42 -0
  192. package/dist/packages/features/ee/workflows/lib/reminders/messageDispatcher.d.ts.map +1 -0
  193. package/dist/packages/features/ee/workflows/lib/reminders/providers/twilioProvider.d.ts +35 -2
  194. package/dist/packages/features/ee/workflows/lib/reminders/providers/twilioProvider.d.ts.map +1 -1
  195. package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.d.ts +2 -1
  196. package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.d.ts.map +1 -1
  197. package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.test.d.ts +2 -0
  198. package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.test.d.ts.map +1 -0
  199. package/dist/packages/features/ee/workflows/lib/reminders/scheduleMandatoryReminder.d.ts +2 -2
  200. package/dist/packages/features/ee/workflows/lib/reminders/scheduleMandatoryReminder.d.ts.map +1 -1
  201. package/dist/packages/features/ee/workflows/lib/reminders/smsReminderManager.d.ts +2 -0
  202. package/dist/packages/features/ee/workflows/lib/reminders/smsReminderManager.d.ts.map +1 -1
  203. package/dist/packages/features/ee/workflows/lib/reminders/utils.d.ts.map +1 -1
  204. package/dist/packages/features/ee/workflows/lib/reminders/whatsappReminderManager.d.ts.map +1 -1
  205. package/dist/packages/features/ee/workflows/lib/repository/workflowOptOutContact.d.ts +6 -0
  206. package/dist/packages/features/ee/workflows/lib/repository/workflowOptOutContact.d.ts.map +1 -0
  207. package/dist/packages/features/ee/workflows/lib/repository/workflowReminder.d.ts +18 -0
  208. package/dist/packages/features/ee/workflows/lib/repository/workflowReminder.d.ts.map +1 -0
  209. package/dist/packages/features/ee/workflows/lib/schema.d.ts +8 -8
  210. package/dist/packages/features/ee/workflows/lib/service/workflowOptOutService.d.ts +5 -0
  211. package/dist/packages/features/ee/workflows/lib/service/workflowOptOutService.d.ts.map +1 -0
  212. package/dist/packages/features/eventtypes/components/SkeletonLoader.d.ts +0 -1
  213. package/dist/packages/features/eventtypes/components/SkeletonLoader.d.ts.map +1 -1
  214. package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts +4 -1
  215. package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts.map +1 -1
  216. package/dist/packages/features/eventtypes/components/tabs/apps/EventAppsTab.d.ts.map +1 -1
  217. package/dist/packages/features/eventtypes/components/tabs/assignment/EventTeamAssignmentTab.d.ts.map +1 -1
  218. package/dist/packages/features/eventtypes/components/tabs/webhooks/EventWebhooksTab.d.ts.map +1 -1
  219. package/dist/packages/features/eventtypes/components/tabs/workflows/EventWorkfowsTab.d.ts.map +1 -1
  220. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +147 -130
  221. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
  222. package/dist/packages/features/eventtypes/lib/types.d.ts +1 -0
  223. package/dist/packages/features/eventtypes/lib/types.d.ts.map +1 -1
  224. package/dist/packages/features/form-builder/Components.d.ts.map +1 -1
  225. package/dist/packages/features/form-builder/schema.d.ts +162 -162
  226. package/dist/packages/features/form-builder/schema.d.ts.map +1 -1
  227. package/dist/packages/features/form-builder/testUtils.d.ts +10 -10
  228. package/dist/packages/features/form-builder/utils/variantsConfig.d.ts +6 -6
  229. package/dist/packages/features/schedules/components/ScheduleListItem.d.ts.map +1 -1
  230. package/dist/packages/features/schedules/lib/use-schedule/useApiV2AvailableSlots.d.ts +6 -0
  231. package/dist/packages/features/schedules/lib/use-schedule/useApiV2AvailableSlots.d.ts.map +1 -0
  232. package/dist/packages/features/schedules/lib/use-schedule/useSchedule.d.ts +218 -70
  233. package/dist/packages/features/schedules/lib/use-schedule/useSchedule.d.ts.map +1 -1
  234. package/dist/packages/features/shell/useBottomNavItems.d.ts.map +1 -1
  235. package/dist/packages/platform/atoms/availability/AvailabilitySettings.d.ts.map +1 -1
  236. package/dist/packages/platform/atoms/booker/BookerPlatformWrapper.d.ts.map +1 -1
  237. package/dist/packages/platform/atoms/booker/types.d.ts +1 -0
  238. package/dist/packages/platform/atoms/booker/types.d.ts.map +1 -1
  239. package/dist/packages/platform/atoms/booker-embed/BookerEmbed.d.ts +1 -0
  240. package/dist/packages/platform/atoms/booker-embed/BookerEmbed.d.ts.map +1 -1
  241. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts +3 -0
  242. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts.map +1 -1
  243. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useConnect.d.ts +1 -1
  244. package/dist/packages/platform/atoms/event-types/atom-api-transformers/transformApiEventTypeForAtom.d.ts +146 -130
  245. package/dist/packages/platform/atoms/event-types/atom-api-transformers/transformApiEventTypeForAtom.d.ts.map +1 -1
  246. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +99 -91
  247. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts.map +1 -1
  248. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts +47 -44
  249. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts.map +1 -1
  250. package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts +79 -70
  251. package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts.map +1 -1
  252. package/dist/packages/platform/atoms/event-types/hooks/useEventTypeForm.d.ts.map +1 -1
  253. package/dist/packages/platform/atoms/event-types/hooks/usePlatformTabsNavigations.d.ts +1 -1
  254. package/dist/packages/platform/atoms/hooks/bookings/useCancelBooking.d.ts +2 -2
  255. package/dist/packages/platform/atoms/hooks/bookings/useCreateBooking.d.ts +75 -75
  256. package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts +78 -78
  257. package/dist/packages/platform/atoms/hooks/bookings/useCreateRecurringBooking.d.ts +75 -75
  258. package/dist/packages/platform/atoms/hooks/bookings/useGetBookingForReschedule.d.ts +12 -12
  259. package/dist/packages/platform/atoms/hooks/connect/useConnect.d.ts +2 -4
  260. package/dist/packages/platform/atoms/hooks/connect/useConnect.d.ts.map +1 -1
  261. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts +3 -0
  262. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts.map +1 -1
  263. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts +3 -0
  264. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts.map +1 -1
  265. package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts +3 -0
  266. package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts.map +1 -1
  267. package/dist/packages/platform/atoms/hooks/schedules/useDeleteSchedule.d.ts +1 -1
  268. package/dist/packages/platform/atoms/hooks/useAvailableSlots.d.ts +0 -2
  269. package/dist/packages/platform/atoms/hooks/useAvailableSlots.d.ts.map +1 -1
  270. package/dist/packages/platform/atoms/hooks/useConnectedCalendars.d.ts +87 -9
  271. package/dist/packages/platform/atoms/hooks/useConnectedCalendars.d.ts.map +1 -1
  272. package/dist/packages/platform/atoms/hooks/useDeleteSelectedSlot.d.ts +1 -1
  273. package/dist/packages/platform/atoms/hooks/usePublicEvent.d.ts +147 -130
  274. package/dist/packages/platform/atoms/hooks/usePublicEvent.d.ts.map +1 -1
  275. package/dist/packages/platform/atoms/hooks/useSlots.d.ts +2 -1
  276. package/dist/packages/platform/atoms/hooks/useSlots.d.ts.map +1 -1
  277. package/dist/packages/platform/atoms/router/Router.d.ts +1 -1
  278. package/dist/packages/platform/atoms/router/Router.d.ts.map +1 -1
  279. package/dist/packages/platform/atoms/src/components/ui/dialog.d.ts +4 -4
  280. package/dist/packages/platform/atoms/src/components/ui/switch.d.ts +1 -1
  281. package/dist/packages/platform/atoms/src/components/ui/toast.d.ts +5 -5
  282. package/dist/packages/platform/libraries/emails.d.ts +6 -0
  283. package/dist/packages/platform/libraries/emails.d.ts.map +1 -1
  284. package/dist/packages/platform/libraries/index.d.ts +4 -0
  285. package/dist/packages/platform/libraries/index.d.ts.map +1 -1
  286. package/dist/packages/platform/types/bookings/2024-08-13/inputs/create-booking.input.d.ts +3 -3
  287. package/dist/packages/platform/types/bookings/2024-08-13/inputs/create-booking.input.d.ts.map +1 -1
  288. package/dist/packages/platform/types/bookings/2024-08-13/inputs/location.input.d.ts +1 -1
  289. package/dist/packages/platform/types/bookings/2024-08-13/inputs/location.input.d.ts.map +1 -1
  290. package/dist/packages/platform/types/bookings/2024-08-13/outputs/get-bookings.output.d.ts +10 -0
  291. package/dist/packages/platform/types/bookings/2024-08-13/outputs/get-bookings.output.d.ts.map +1 -1
  292. package/dist/packages/platform/types/calendars/index.d.ts +2 -0
  293. package/dist/packages/platform/types/calendars/index.d.ts.map +1 -0
  294. package/dist/packages/platform/types/{calendars.d.ts → calendars/inputs/busy-times.input.d.ts} +1 -1
  295. package/dist/packages/platform/types/calendars/inputs/busy-times.input.d.ts.map +1 -0
  296. package/dist/packages/platform/types/calendars/inputs/create-calendar-credentials.input.d.ts +5 -0
  297. package/dist/packages/platform/types/calendars/inputs/create-calendar-credentials.input.d.ts.map +1 -0
  298. package/dist/packages/platform/types/calendars/inputs/index.d.ts +3 -0
  299. package/dist/packages/platform/types/calendars/inputs/index.d.ts.map +1 -0
  300. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booker-layouts.input.d.ts +5 -1
  301. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booker-layouts.input.d.ts.map +1 -1
  302. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts +1 -0
  303. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts.map +1 -1
  304. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/update-event-type.input.d.ts +1 -0
  305. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/update-event-type.input.d.ts.map +1 -1
  306. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/event-type.output.d.ts +1 -0
  307. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/event-type.output.d.ts.map +1 -1
  308. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/locations.output.d.ts +1 -1
  309. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/locations.output.d.ts.map +1 -1
  310. package/dist/packages/platform/types/routing-forms/responses/routing-form-response.output.d.ts +1 -1
  311. package/dist/packages/platform/types/schedules/schedules-2024-04-15/schedules.d.ts +9 -9
  312. package/dist/packages/platform/types/slots/slots-2024-04-15/inputs/index.d.ts +7 -0
  313. package/dist/packages/platform/types/slots/slots-2024-04-15/inputs/index.d.ts.map +1 -1
  314. package/dist/packages/prisma/zod/accesscode.d.ts +2 -2
  315. package/dist/packages/prisma/zod/accesstoken.d.ts +2 -2
  316. package/dist/packages/prisma/zod/account.d.ts +2 -2
  317. package/dist/packages/prisma/zod/aiphonecallconfiguration.d.ts +2 -2
  318. package/dist/packages/prisma/zod/app.d.ts +4 -4
  319. package/dist/packages/prisma/zod/app_routingforms_form.d.ts +14 -14
  320. package/dist/packages/prisma/zod/app_routingforms_formresponse.d.ts +4 -4
  321. package/dist/packages/prisma/zod/app_routingforms_incompletebookingactions.d.ts +2 -2
  322. package/dist/packages/prisma/zod/assignmentreason.d.ts +2 -2
  323. package/dist/packages/prisma/zod/attendee.d.ts +2 -2
  324. package/dist/packages/prisma/zod/attribute.d.ts +6 -6
  325. package/dist/packages/prisma/zod/attributeoption.d.ts +2 -2
  326. package/dist/packages/prisma/zod/availability.d.ts +2 -2
  327. package/dist/packages/prisma/zod/avatar.d.ts +2 -2
  328. package/dist/packages/prisma/zod/booking.d.ts +16 -15
  329. package/dist/packages/prisma/zod/booking.d.ts.map +1 -1
  330. package/dist/packages/prisma/zod/bookingdenormalized.d.ts +84 -0
  331. package/dist/packages/prisma/zod/bookingdenormalized.d.ts.map +1 -0
  332. package/dist/packages/prisma/zod/bookinginternalnote.d.ts +2 -2
  333. package/dist/packages/prisma/zod/bookingseat.d.ts +8 -8
  334. package/dist/packages/prisma/zod/bookingtimestatusdenormalized.d.ts +87 -0
  335. package/dist/packages/prisma/zod/bookingtimestatusdenormalized.d.ts.map +1 -0
  336. package/dist/packages/prisma/zod/calendarcache.d.ts +5 -2
  337. package/dist/packages/prisma/zod/calendarcache.d.ts.map +1 -1
  338. package/dist/packages/prisma/zod/credential.d.ts +7 -3
  339. package/dist/packages/prisma/zod/credential.d.ts.map +1 -1
  340. package/dist/packages/prisma/zod/creditbalance.d.ts +36 -0
  341. package/dist/packages/prisma/zod/creditbalance.d.ts.map +1 -0
  342. package/dist/packages/prisma/zod/creditexpenselog.d.ts +41 -0
  343. package/dist/packages/prisma/zod/creditexpenselog.d.ts.map +1 -0
  344. package/dist/packages/prisma/zod/custom/booking.d.ts +100 -100
  345. package/dist/packages/prisma/zod/custom/eventtype.d.ts +265 -235
  346. package/dist/packages/prisma/zod/custom/eventtype.d.ts.map +1 -1
  347. package/dist/packages/prisma/zod/delegationcredential.d.ts +2 -1
  348. package/dist/packages/prisma/zod/delegationcredential.d.ts.map +1 -1
  349. package/dist/packages/prisma/zod/eventtype.d.ts +292 -259
  350. package/dist/packages/prisma/zod/eventtype.d.ts.map +1 -1
  351. package/dist/packages/prisma/zod/eventtypecustominput.d.ts +10 -10
  352. package/dist/packages/prisma/zod/eventtypetranslation.d.ts +4 -4
  353. package/dist/packages/prisma/zod/feedback.d.ts +4 -4
  354. package/dist/packages/prisma/zod/filtersegment.d.ts +2 -2
  355. package/dist/packages/prisma/zod/hashedlink.d.ts +2 -2
  356. package/dist/packages/prisma/zod/index.d.ts +5 -0
  357. package/dist/packages/prisma/zod/index.d.ts.map +1 -1
  358. package/dist/packages/prisma/zod/instantmeetingtoken.d.ts +4 -4
  359. package/dist/packages/prisma/zod/internalnotepreset.d.ts +4 -4
  360. package/dist/packages/prisma/zod/membership.d.ts +8 -2
  361. package/dist/packages/prisma/zod/membership.d.ts.map +1 -1
  362. package/dist/packages/prisma/zod/oauthclient.d.ts +2 -2
  363. package/dist/packages/prisma/zod/organizationonboarding.d.ts +8 -8
  364. package/dist/packages/prisma/zod/organizationsettings.d.ts +11 -8
  365. package/dist/packages/prisma/zod/organizationsettings.d.ts.map +1 -1
  366. package/dist/packages/prisma/zod/outofofficeentry.d.ts +4 -4
  367. package/dist/packages/prisma/zod/payment.d.ts +6 -6
  368. package/dist/packages/prisma/zod/platformbilling.d.ts +3 -0
  369. package/dist/packages/prisma/zod/platformbilling.d.ts.map +1 -1
  370. package/dist/packages/prisma/zod/platformoauthclient.d.ts +2 -2
  371. package/dist/packages/prisma/zod/profile.d.ts +2 -2
  372. package/dist/packages/prisma/zod/ratelimit.d.ts +4 -4
  373. package/dist/packages/prisma/zod/refreshtoken.d.ts +2 -2
  374. package/dist/packages/prisma/zod/routingformresponse.d.ts +4 -4
  375. package/dist/packages/prisma/zod/schedule.d.ts +2 -2
  376. package/dist/packages/prisma/zod/secondaryemail.d.ts +2 -2
  377. package/dist/packages/prisma/zod/selectedslots.d.ts +2 -2
  378. package/dist/packages/prisma/zod/session.d.ts +2 -2
  379. package/dist/packages/prisma/zod/team.d.ts +11 -10
  380. package/dist/packages/prisma/zod/team.d.ts.map +1 -1
  381. package/dist/packages/prisma/zod/teamfeatures.d.ts +4 -4
  382. package/dist/packages/prisma/zod/temporgredirect.d.ts +4 -4
  383. package/dist/packages/prisma/zod/user.d.ts +16 -15
  384. package/dist/packages/prisma/zod/user.d.ts.map +1 -1
  385. package/dist/packages/prisma/zod/userfeatures.d.ts +2 -2
  386. package/dist/packages/prisma/zod/verificationtoken.d.ts +2 -2
  387. package/dist/packages/prisma/zod/workflow.d.ts +2 -2
  388. package/dist/packages/prisma/zod/workflowoptoutcontact.d.ts +27 -0
  389. package/dist/packages/prisma/zod/workflowoptoutcontact.d.ts.map +1 -0
  390. package/dist/packages/prisma/zod/workflowreminder.d.ts +2 -2
  391. package/dist/packages/prisma/zod/workflowstep.d.ts +4 -4
  392. package/dist/packages/prisma/zod/workspaceplatform.d.ts +2 -2
  393. package/dist/packages/prisma/zod-utils.d.ts +637 -565
  394. package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
  395. package/dist/packages/prisma-client/index.d.ts +41048 -30825
  396. package/dist/packages/trpc/react/hooks/useEmailVerifyCheck.d.ts +10 -1
  397. package/dist/packages/trpc/react/hooks/useEmailVerifyCheck.d.ts.map +1 -1
  398. package/dist/packages/trpc/react/hooks/useMeQuery.d.ts +30 -21
  399. package/dist/packages/trpc/react/hooks/useMeQuery.d.ts.map +1 -1
  400. package/dist/packages/trpc/react/shared.d.ts +1 -1
  401. package/dist/packages/trpc/react/shared.d.ts.map +1 -1
  402. package/dist/packages/trpc/server/routers/viewer/slots/_router.d.ts +10 -1
  403. package/dist/packages/trpc/server/routers/viewer/slots/_router.d.ts.map +1 -1
  404. package/dist/packages/trpc/server/routers/viewer/slots/types.d.ts +2 -2
  405. package/dist/packages/trpc/server/routers/viewer/slots/types.d.ts.map +1 -1
  406. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts +606 -321
  407. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts.map +1 -1
  408. package/dist/style.css +1 -1
  409. package/dist/useIsAppEnabled-hrstotzg.js +18 -0
  410. package/package.json +1 -1
  411. package/dist/index-1iD3RAuF.js +0 -83360
  412. package/dist/index-4eiX6cBE.js +0 -1957
  413. package/dist/packages/features/schedules/components/index.d.ts +0 -7
  414. package/dist/packages/features/schedules/components/index.d.ts.map +0 -1
  415. package/dist/packages/features/schedules/index.d.ts +0 -4
  416. package/dist/packages/features/schedules/index.d.ts.map +0 -1
  417. package/dist/packages/features/schedules/lib/use-schedule/index.d.ts +0 -5
  418. package/dist/packages/features/schedules/lib/use-schedule/index.d.ts.map +0 -1
  419. package/dist/packages/platform/atoms/index.d.ts +0 -3
  420. package/dist/packages/platform/atoms/index.d.ts.map +0 -1
  421. package/dist/packages/platform/types/calendars.d.ts.map +0 -1
@@ -1,5 +1,5 @@
1
1
  import { jsxs as m, jsx as e } from "react/jsx-runtime";
2
- import { I as n, b as c, c as o } from "./index-1iD3RAuF.js";
2
+ import { N as n, e as o, M as c } from "./index-LRugxdBo.js";
3
3
  function r({ value: s, onChange: t, ...a }) {
4
4
  return /* @__PURE__ */ m("div", { className: "relative flex items-center", children: [
5
5
  /* @__PURE__ */ e(
@@ -11,14 +11,14 @@ function r({ value: s, onChange: t, ...a }) {
11
11
  }
12
12
  ),
13
13
  /* @__PURE__ */ e(
14
- c,
14
+ o,
15
15
  {
16
16
  ...a,
17
17
  value: s,
18
18
  onChange: (l) => {
19
19
  t(l.target.value);
20
20
  },
21
- className: o("pl-10", a == null ? void 0 : a.className)
21
+ className: c("pl-10", a == null ? void 0 : a.className)
22
22
  }
23
23
  )
24
24
  ] });
@@ -1,7 +1,7 @@
1
- import { jsx as z, jsxs as er } from "react/jsx-runtime";
2
- import J from "react";
3
- import { d as tr, S as nr } from "./index-1iD3RAuF.js";
4
- const K = function(s, r = !0) {
1
+ import { jsx as K, jsxs as er } from "react/jsx-runtime";
2
+ import z from "react";
3
+ import { K as tr, O as nr } from "./index-LRugxdBo.js";
4
+ const J = function(s, r = !0) {
5
5
  if (s.destroyed)
6
6
  throw new Error("Hash instance has been destroyed");
7
7
  if (r && s.finished)
@@ -33,7 +33,7 @@ class ir extends sr {
33
33
  super(), this.blockLen = r, this.outputLen = i, this.padOffset = c, this.isLE = f, this.finished = !1, this.length = 0, this.pos = 0, this.destroyed = !1, this.buffer = new Uint8Array(r), this.view = N(this.buffer);
34
34
  }
35
35
  update(r) {
36
- K(this);
36
+ J(this);
37
37
  const { view: i, buffer: c, blockLen: f } = this, u = (r = Z(r)).length;
38
38
  for (let l = 0; l < u; ) {
39
39
  const g = Math.min(f - this.pos, u - l);
@@ -48,7 +48,7 @@ class ir extends sr {
48
48
  return this.length += r.length, this.roundClean(), this;
49
49
  }
50
50
  digestInto(r) {
51
- K(this), function(b, y) {
51
+ J(this), function(b, y) {
52
52
  (function(x, ...B) {
53
53
  if (!(x instanceof Uint8Array))
54
54
  throw new Error("Expected Uint8Array");
@@ -67,8 +67,8 @@ class ir extends sr {
67
67
  (function(b, y, E, x) {
68
68
  if (typeof b.setBigUint64 == "function")
69
69
  return b.setBigUint64(y, E, x);
70
- const B = BigInt(32), k = BigInt(4294967295), _ = Number(E >> B & k), S = Number(E & k), j = x ? 0 : 4;
71
- b.setUint32(y + (x ? 4 : 0), _, x), b.setUint32(y + j, S, x);
70
+ const B = BigInt(32), k = BigInt(4294967295), _ = Number(E >> B & k), C = Number(E & k), j = x ? 0 : 4;
71
+ b.setUint32(y + (x ? 4 : 0), _, x), b.setUint32(y + j, C, x);
72
72
  })(c, f - 8, BigInt(8 * this.length), u), this.process(c, 0);
73
73
  const g = N(r), m = this.outputLen;
74
74
  if (m % 4)
@@ -347,33 +347,33 @@ Q = function(s, r) {
347
347
  }
348
348
  return Uint8Array.from(t);
349
349
  } }, r.base58check = (e) => c(B(4, (t) => e(e(t))), r.base58);
350
- const S = c(f("qpzry9x8gf2tvdw0s3jn54khce6mua7l"), u("")), j = [996825010, 642813549, 513874426, 1027748829, 705979059];
351
- function C(e) {
350
+ const C = c(f("qpzry9x8gf2tvdw0s3jn54khce6mua7l"), u("")), j = [996825010, 642813549, 513874426, 1027748829, 705979059];
351
+ function S(e) {
352
352
  const t = e >> 25;
353
353
  let n = (33554431 & e) << 5;
354
354
  for (let o = 0; o < j.length; o++)
355
355
  (t >> o & 1) == 1 && (n ^= j[o]);
356
356
  return n;
357
357
  }
358
- function H(e, t, n = 1) {
358
+ function V(e, t, n = 1) {
359
359
  const o = e.length;
360
360
  let a = 1;
361
361
  for (let h = 0; h < o; h++) {
362
362
  const d = e.charCodeAt(h);
363
363
  if (d < 33 || d > 126)
364
364
  throw new Error(`Invalid prefix (${e})`);
365
- a = C(a) ^ d >> 5;
365
+ a = S(a) ^ d >> 5;
366
366
  }
367
- a = C(a);
367
+ a = S(a);
368
368
  for (let h = 0; h < o; h++)
369
- a = C(a) ^ 31 & e.charCodeAt(h);
369
+ a = S(a) ^ 31 & e.charCodeAt(h);
370
370
  for (let h of t)
371
- a = C(a) ^ h;
371
+ a = S(a) ^ h;
372
372
  for (let h = 0; h < 6; h++)
373
- a = C(a);
374
- return a ^= n, S.encode(b([a % 2 ** 30], 30, 5, !1));
373
+ a = S(a);
374
+ return a ^= n, C.encode(b([a % 2 ** 30], 30, 5, !1));
375
375
  }
376
- function O(e) {
376
+ function H(e) {
377
377
  const t = e === "bech32" ? 1 : 734539939, n = E(5), o = n.decode, a = n.encode, h = x(o);
378
378
  function d(w, p = 90) {
379
379
  if (typeof w != "string")
@@ -389,7 +389,7 @@ Q = function(s, r) {
389
389
  const G = w.slice(0, v), D = w.slice(v + 1);
390
390
  if (D.length < 6)
391
391
  throw new Error("Data must be at least 6 characters long");
392
- const M = S.decode(D).slice(0, -6), P = H(G, M, t);
392
+ const M = C.decode(D).slice(0, -6), P = V(G, M, t);
393
393
  if (!D.endsWith(P))
394
394
  throw new Error(`Invalid checksum in ${w}: expected "${P}"`);
395
395
  return { prefix: G, words: M };
@@ -402,13 +402,13 @@ Q = function(s, r) {
402
402
  const v = w.length + 7 + p.length;
403
403
  if ($ !== !1 && v > $)
404
404
  throw new TypeError(`Length ${v} exceeds limit ${$}`);
405
- return `${w = w.toLowerCase()}1${S.encode(p)}${H(w, p, t)}`;
405
+ return `${w = w.toLowerCase()}1${C.encode(p)}${V(w, p, t)}`;
406
406
  }, decode: d, decodeToBytes: function(w) {
407
407
  const { prefix: p, words: $ } = d(w, !1);
408
408
  return { prefix: p, words: $, bytes: o($) };
409
409
  }, decodeUnsafe: x(d), fromWords: o, fromWordsUnsafe: h, toWords: a };
410
410
  }
411
- r.bech32 = O("bech32"), r.bech32m = O("bech32m"), r.utf8 = { encode: (e) => new TextDecoder().decode(e), decode: (e) => new TextEncoder().encode(e) }, r.hex = c(E(4), f("0123456789abcdef"), u(""), g((e) => {
411
+ r.bech32 = H("bech32"), r.bech32m = H("bech32m"), r.utf8 = { encode: (e) => new TextDecoder().decode(e), decode: (e) => new TextEncoder().encode(e) }, r.hex = c(E(4), f("0123456789abcdef"), u(""), g((e) => {
412
412
  if (typeof e != "string" || e.length % 2)
413
413
  throw new TypeError(`hex.decode: expected string, got ${typeof e} with length ${e.length}`);
414
414
  return e.toLowerCase();
@@ -434,26 +434,26 @@ BigInt(1e11);
434
434
  const X = { payment_hash: 1, payment_secret: 16, description: 13, payee: 19, description_hash: 23, expiry: 6, min_final_cltv_expiry: 24, fallback_address: 9, route_hint: 3, feature_bits: 5, metadata: 27 };
435
435
  for (let s = 0, r = Object.keys(X); s < r.length; s++)
436
436
  r[s], X[r[s]].toString();
437
- const V = async (s) => {
437
+ const O = async (s) => {
438
438
  const r = "https://getalby.com/api/rates/" + s.toLowerCase() + ".json";
439
439
  return (await (await fetch(r)).json()).rate_float / 1e8;
440
440
  }, Y = async ({ satoshi: s, currency: r }) => {
441
- const i = await V(r);
441
+ const i = await O(r);
442
442
  return Number(s) * i;
443
443
  };
444
- var fr = { __proto__: null, getFiatBtcRate: V, getFiatValue: Y, getSatoshiValue: async ({ amount: s, currency: r }) => {
445
- const i = await V(r);
444
+ var fr = { __proto__: null, getFiatBtcRate: O, getFiatValue: Y, getSatoshiValue: async ({ amount: s, currency: r }) => {
445
+ const i = await O(r);
446
446
  return Math.floor(Number(s) / i);
447
447
  }, getFormattedFiatValue: async ({ satoshi: s, currency: r, locale: i }) => (i || (i = "en"), (await Y({ satoshi: s, currency: r })).toLocaleString(i, { style: "currency", currency: r })) };
448
448
  function wr({ displaySymbol: s, price: r, formattedPrice: i }) {
449
- const [c, f] = J.useState("loading...");
450
- return J.useEffect(() => {
449
+ const [c, f] = z.useState("loading...");
450
+ return z.useEffect(() => {
451
451
  (async () => {
452
452
  const u = await fr.getFiatValue({ satoshi: r, currency: "USD" });
453
453
  f(`$${u.toFixed(2)}`);
454
454
  })();
455
- }, [r]), /* @__PURE__ */ z(tr, { content: c, children: /* @__PURE__ */ er("div", { className: "inline-flex items-center justify-center", children: [
456
- s && /* @__PURE__ */ z(nr, { className: "h-4 w-4" }),
455
+ }, [r]), /* @__PURE__ */ K(tr, { content: c, children: /* @__PURE__ */ er("div", { className: "inline-flex items-center justify-center", children: [
456
+ s && /* @__PURE__ */ K(nr, { className: "h-4 w-4" }),
457
457
  i
458
458
  ] }) });
459
459
  }
@@ -0,0 +1,269 @@
1
+ import { jsx as l, jsxs as a } from "react/jsx-runtime";
2
+ import { ag as N, ah as v, M as u, N as _, ai as F, y as j, q as H, u as L, aj as M, r as E, Z as A, ak as O, t as U, ae as V, al as x, p as Z } from "./index-LRugxdBo.js";
3
+ import * as o from "react";
4
+ function Q(...e) {
5
+ return (r) => e.forEach((t) => function(n, s) {
6
+ typeof n == "function" ? n(s) : n != null && (n.current = s);
7
+ }(t, r));
8
+ }
9
+ const y = /* @__PURE__ */ o.forwardRef((e, r) => {
10
+ const { children: t, ...n } = e;
11
+ return o.Children.toArray(t).some(C) ? /* @__PURE__ */ o.createElement(o.Fragment, null, o.Children.map(t, (s) => C(s) ? /* @__PURE__ */ o.createElement(g, N({}, n, { ref: r }), s.props.children) : s)) : /* @__PURE__ */ o.createElement(g, N({}, n, { ref: r }), t);
12
+ });
13
+ y.displayName = "Slot";
14
+ const g = /* @__PURE__ */ o.forwardRef((e, r) => {
15
+ const { children: t, ...n } = e;
16
+ return o.isValidElement(t) ? /* @__PURE__ */ o.cloneElement(t, { ...G(n, t.props), ref: Q(r, t.ref) }) : o.Children.count(t) > 1 ? o.Children.only(null) : null;
17
+ });
18
+ g.displayName = "SlotClone";
19
+ const W = ({ children: e }) => /* @__PURE__ */ o.createElement(o.Fragment, null, e);
20
+ function C(e) {
21
+ return o.isValidElement(e) && e.type === W;
22
+ }
23
+ function G(e, r) {
24
+ const t = { ...r };
25
+ for (const n in r) {
26
+ const s = e[n], i = r[n];
27
+ /^on[A-Z]/.test(n) ? t[n] = (...d) => {
28
+ i == null || i(...d), s == null || s(...d);
29
+ } : n === "style" ? t[n] = { ...s, ...i } : n === "className" && (t[n] = [s, i].filter(Boolean).join(" "));
30
+ }
31
+ return { ...e, ...t };
32
+ }
33
+ const J = ({
34
+ children: e,
35
+ ref: r,
36
+ className: t
37
+ }) => {
38
+ const [n] = v();
39
+ return /* @__PURE__ */ l("div", { ref: n, className: u("bg-muted flex flex-col gap-4 rounded-2xl p-4", t), children: e });
40
+ }, I = ({
41
+ children: e,
42
+ ref: r,
43
+ as: t
44
+ }) => /* @__PURE__ */ l(t ? y : "h2", { ref: r, className: "text-emphasis text-base font-semibold leading-none", children: e }), R = ({
45
+ children: e,
46
+ ref: r,
47
+ as: t
48
+ }) => /* @__PURE__ */ l(t ? y : "h3", { ref: r, className: "text-subtle line-clamp-1 text-sm", children: e }), b = ({
49
+ ref: e,
50
+ name: r,
51
+ size: t = "md",
52
+ iconSlot: n
53
+ }) => /* @__PURE__ */ l(
54
+ "div",
55
+ {
56
+ ref: e,
57
+ className: u(
58
+ "bg-default border-subtle border-subtle flex items-center justify-center border",
59
+ t === "sm" && "rounded-md p-1",
60
+ t === "md" && "rounded-[10px] p-1.5"
61
+ ),
62
+ children: n || /* @__PURE__ */ l(_, { name: r, className: u(t === "sm" && "h-4 w-4", t === "md" && "h-6 w-6") })
63
+ }
64
+ ), K = ({
65
+ children: e,
66
+ ref: r,
67
+ icon: t,
68
+ title: n,
69
+ description: s,
70
+ iconSlot: i,
71
+ rawHeading: d
72
+ }) => /* @__PURE__ */ a("div", { ref: r, className: "flex items-center justify-between gap-3", children: [
73
+ /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
74
+ t && !i && /* @__PURE__ */ l(b, { name: t }),
75
+ i && /* @__PURE__ */ l(b, { iconSlot: i }),
76
+ /* @__PURE__ */ a("div", { className: "flex flex-col gap-0.5", children: [
77
+ n && /* @__PURE__ */ l(I, { children: n }),
78
+ s && /* @__PURE__ */ l(R, { children: s }),
79
+ d && d
80
+ ] })
81
+ ] }),
82
+ e
83
+ ] }), X = ({ children: e, ref: r }) => /* @__PURE__ */ l("div", { ref: r, className: "flex flex-col gap-4", children: e }), Y = ({ children: e, ref: r }) => {
84
+ const [t] = v();
85
+ return /* @__PURE__ */ l("div", { ref: t, className: "border-muted bg-default flex flex-col gap-4 rounded-xl border p-3", children: e });
86
+ }, z = ({
87
+ children: e,
88
+ ref: r,
89
+ icon: t,
90
+ title: n,
91
+ classNames: s,
92
+ justify: i = "between",
93
+ labelFor: d
94
+ }) => /* @__PURE__ */ a(
95
+ "div",
96
+ {
97
+ ref: r,
98
+ className: u(
99
+ "flex items-center gap-2",
100
+ i === "between" ? "justify-between" : "justify-start",
101
+ s == null ? void 0 : s.container
102
+ ),
103
+ children: [
104
+ /* @__PURE__ */ a("div", { className: u("flex items-center gap-2", s == null ? void 0 : s.title), children: [
105
+ t && /* @__PURE__ */ l(b, { name: t, size: "sm" }),
106
+ /* @__PURE__ */ l("div", { className: u("flex", s == null ? void 0 : s.title), children: /* @__PURE__ */ l("h4", { className: "text-default text-sm font-medium leading-none", id: d, children: n }) })
107
+ ] }),
108
+ e
109
+ ]
110
+ }
111
+ ), $ = ({
112
+ children: e,
113
+ ref: r,
114
+ invert: t,
115
+ classNames: n
116
+ }) => /* @__PURE__ */ l(
117
+ "div",
118
+ {
119
+ ref: r,
120
+ className: u(
121
+ "bg-muted flex flex-col rounded-lg px-[6px] py-1",
122
+ t && "bg-default border-subtle border",
123
+ n == null ? void 0 : n.container
124
+ ),
125
+ children: e
126
+ }
127
+ ), p = ({
128
+ children: e,
129
+ ref: r
130
+ }) => /* @__PURE__ */ l("div", { ref: r, className: "bg-default border-subtle flex flex-col gap-2 rounded-xl border p-2", children: e }), h = Object.assign(J, {
131
+ Header: K,
132
+ Content: X,
133
+ Title: I,
134
+ Description: R,
135
+ SubSection: Y,
136
+ SubSectionHeader: z,
137
+ SubSectionContent: $,
138
+ SubSectionNested: p
139
+ });
140
+ function ee(e) {
141
+ const { status: r } = F.useSession();
142
+ return j.viewer.apps.appById.useQuery(
143
+ { appId: e },
144
+ {
145
+ enabled: r === "authenticated"
146
+ }
147
+ );
148
+ }
149
+ function te({
150
+ appId: e,
151
+ className: r,
152
+ returnTo: t,
153
+ teamId: n
154
+ }) {
155
+ const { t: s } = H(), { data: i } = ee(e), d = j.useUtils(), f = L(null, {
156
+ returnTo: t,
157
+ onSuccess: (c) => {
158
+ d.viewer.apps.appById.invalidate({ appId: e }), d.viewer.apps.integrations.invalidate({
159
+ extendsFeature: "EventType",
160
+ ...n && { teamId: n }
161
+ }), !(c != null && c.setupPending) && A(s("app_successfully_installed"), "success");
162
+ },
163
+ onError: (c) => {
164
+ c instanceof Error && A(c.message || s("app_could_not_be_installed"), "error");
165
+ }
166
+ });
167
+ return i ? /* @__PURE__ */ l(
168
+ M,
169
+ {
170
+ type: i.type,
171
+ teamsPlanRequired: i.teamsPlanRequired,
172
+ wrapperClassName: u("[@media(max-width:260px)]:w-full", r),
173
+ render: ({ useDefaultComponent: c, ...m }) => (c && (m = {
174
+ ...m,
175
+ onClick: () => {
176
+ f.mutate({
177
+ type: i.type,
178
+ variant: i.variant,
179
+ slug: i.slug,
180
+ ...n && { teamId: n }
181
+ });
182
+ }
183
+ }), /* @__PURE__ */ l(
184
+ E,
185
+ {
186
+ loading: f.isPending,
187
+ color: "secondary",
188
+ className: "[@media(max-width:260px)]:w-full [@media(max-width:260px)]:justify-center",
189
+ StartIcon: "plus",
190
+ ...m,
191
+ children: s("add")
192
+ }
193
+ ))
194
+ }
195
+ ) : null;
196
+ }
197
+ function re({
198
+ app: e,
199
+ description: r,
200
+ switchOnClick: t,
201
+ switchChecked: n,
202
+ children: s,
203
+ returnTo: i,
204
+ teamId: d,
205
+ disableSwitch: f,
206
+ switchTooltip: c,
207
+ hideSettingsIcon: m = !1,
208
+ hideAppCardOptions: k = !1
209
+ }) {
210
+ const { t: w } = O(), [B] = v(), { setAppData: P, LockedIcon: T, disabled: D } = U(), q = V();
211
+ return /* @__PURE__ */ a(h, { className: u(!(e != null && e.isInstalled) && "rounded-xl"), children: [
212
+ /* @__PURE__ */ l(
213
+ h.Header,
214
+ {
215
+ rawHeading: /* @__PURE__ */ a("div", { children: [
216
+ /* @__PURE__ */ a("div", { className: "flex w-full items-center gap-1", children: [
217
+ /* @__PURE__ */ l(h.Title, { children: e == null ? void 0 : e.name }),
218
+ !(e != null && e.isInstalled) && /* @__PURE__ */ l("span", { className: "bg-emphasis ml-1 rounded px-1 py-0.5 text-xs font-medium leading-3 tracking-[0.01em]", children: (e == null ? void 0 : e.categories[0].charAt(0).toUpperCase()) + (e == null ? void 0 : e.categories[0].slice(1)) })
219
+ ] }),
220
+ /* @__PURE__ */ l(h.Description, { children: e == null ? void 0 : e.description })
221
+ ] }),
222
+ iconSlot: /* @__PURE__ */ l(x, { href: `/apps/${e.slug}`, className: "flex h-8 w-8 items-center justify-center", children: /* @__PURE__ */ l(
223
+ "img",
224
+ {
225
+ className: u(
226
+ (e == null ? void 0 : e.logo.includes("-dark")) && "dark:invert",
227
+ "max-h-full max-w-full object-contain"
228
+ ),
229
+ src: e == null ? void 0 : e.logo,
230
+ alt: e == null ? void 0 : e.name
231
+ }
232
+ ) }),
233
+ children: /* @__PURE__ */ l("div", { children: /* @__PURE__ */ l("div", { children: e != null && e.isInstalled || e.credentialOwner ? /* @__PURE__ */ l("div", { className: "ml-auto flex items-center", children: /* @__PURE__ */ l(
234
+ Z,
235
+ {
236
+ size: "sm",
237
+ disabled: !e.enabled || D || f,
238
+ onCheckedChange: (S) => {
239
+ t && t(S), P("enabled", S);
240
+ },
241
+ checked: n,
242
+ LockedIcon: T,
243
+ "data-testid": `${e.slug}-app-switch`,
244
+ tooltip: c
245
+ }
246
+ ) }) : /* @__PURE__ */ l(
247
+ te,
248
+ {
249
+ className: "ml-auto flex items-center",
250
+ appId: e.slug,
251
+ returnTo: i,
252
+ teamId: d
253
+ }
254
+ ) }) })
255
+ }
256
+ ),
257
+ k ? null : (e == null ? void 0 : e.isInstalled) && n && /* @__PURE__ */ l("div", { ref: B, children: e.isSetupAlready === void 0 || e.isSetupAlready ? /* @__PURE__ */ a("div", { className: "relative text-sm [&_input]:mb-0 [&_input]:leading-4", children: [
258
+ !m && !q && /* @__PURE__ */ l(x, { href: `/apps/${e.slug}/setup`, className: "absolute right-4 top-4", children: /* @__PURE__ */ l(_, { name: "settings", className: "text-default h-4 w-4", "aria-hidden": "true" }) }),
259
+ s
260
+ ] }) : /* @__PURE__ */ a("div", { className: "flex h-64 w-full flex-col items-center justify-center gap-4 ", children: [
261
+ /* @__PURE__ */ l("p", { children: w("this_app_is_not_setup_already") }),
262
+ /* @__PURE__ */ l(x, { href: `/apps/${e.slug}/setup`, children: /* @__PURE__ */ l(E, { StartIcon: "settings", children: w("setup") }) })
263
+ ] }) })
264
+ ] });
265
+ }
266
+ export {
267
+ re as A,
268
+ h as S
269
+ };
@@ -0,0 +1,9 @@
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import { A as p } from "./index-LRugxdBo.js";
3
+ function s(o) {
4
+ const t = `https://app.cal.com${o.logo}`;
5
+ return /* @__PURE__ */ r(p, { ...o, logo: t });
6
+ }
7
+ export {
8
+ s as default
9
+ };
@@ -0,0 +1,74 @@
1
+ import { jsx as P } from "react/jsx-runtime";
2
+ import { Q as i, s as y, R as A, U as R, A as Q } from "./index-LRugxdBo.js";
3
+ import { useMemo as $, useEffect as d, useCallback as b, useState as L, useRef as w } from "react";
4
+ i.string().or(i.number()).or(i.array(i.number())).transform((r) => typeof r == "string" ? r.split(",").map((o) => Number(o)) : Array.isArray(r) ? r : [r]);
5
+ i.preprocess((r) => i.string().parse(r).split(","), i.string().array()).or(i.string().array());
6
+ function U(r) {
7
+ const o = y.useRouter(), c = A(), u = y.usePathname(), a = r.safeParse(c);
8
+ let s = $(() => ({}), []);
9
+ d(() => {
10
+ a.success && a.data && Object.entries(a.data).forEach(([e, t]) => {
11
+ if (e in c || !t)
12
+ return;
13
+ const n = new URLSearchParams(s);
14
+ n.set(String(e), String(t)), o.replace(`${u}?${n.toString()}`);
15
+ });
16
+ }, [a, r, o, u, c, s]), a.success ? s = a.data : a.success || console.error(a.error);
17
+ const m = b(
18
+ function(t, n) {
19
+ const p = new URLSearchParams(s);
20
+ p.set(String(t), String(n)), o.replace(`${u}?${p.toString()}`);
21
+ },
22
+ // eslint-disable-next-line react-hooks/exhaustive-deps
23
+ [s, o]
24
+ );
25
+ function l(e) {
26
+ const t = new URLSearchParams(s);
27
+ t.delete(String(e)), o.replace(`${u}?${t.toString()}`);
28
+ }
29
+ function f(e, t) {
30
+ const n = s[e];
31
+ if (Array.isArray(n)) {
32
+ if (n.includes(t))
33
+ return;
34
+ m(e, [...n, t]);
35
+ } else
36
+ m(e, [t]);
37
+ }
38
+ function h(e, t) {
39
+ const n = s[e];
40
+ if (Array.isArray(n) && n.length > 1) {
41
+ const p = n.filter((S) => S !== t);
42
+ m(e, p);
43
+ } else
44
+ l(e);
45
+ }
46
+ function g() {
47
+ u !== null && o.replace(u);
48
+ }
49
+ return {
50
+ data: s,
51
+ setQuery: m,
52
+ removeByKey: l,
53
+ pushItemToKey: f,
54
+ removeItemByKeyAndValue: h,
55
+ removeAllQueryParams: g
56
+ };
57
+ }
58
+ const x = i.object({ hl: i.string().optional() });
59
+ function j(r) {
60
+ const { slug: o, shouldHighlight: c } = r, {
61
+ data: { hl: u }
62
+ } = U(x), a = y.useRouter(), [s, m] = L(c && u === o), l = w(null), f = R(), h = y.usePathname();
63
+ return d(() => (c && s && f !== null && h !== null && (l.current = setTimeout(() => {
64
+ const g = new URLSearchParams(f.toString());
65
+ g.delete("hl"), g.delete("category"), m(!1);
66
+ const e = g.toString();
67
+ a.replace(`${h}${e !== "" ? `?${e}` : ""}`);
68
+ }, 3e3)), () => {
69
+ l.current && (clearTimeout(l.current), l.current = null);
70
+ }), [s, h, a, f, c]), /* @__PURE__ */ P(Q, { ...r });
71
+ }
72
+ export {
73
+ j as default
74
+ };
@@ -0,0 +1,75 @@
1
+ import { jsxs as a, jsx as e, Fragment as r } from "react/jsx-runtime";
2
+ import { r as i, q as o } from "./index-LRugxdBo.js";
3
+ function d({ template: t }) {
4
+ return /* @__PURE__ */ a("div", { className: "min-h-16 bg-default border-subtle sticky flex flex-col justify-between gap-4 rounded-md border p-5", children: [
5
+ /* @__PURE__ */ a("div", { className: "flex items-start justify-start", children: [
6
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e("div", { className: "mr-4 flex h-12 w-12 items-center justify-center rounded-md p-1", children: /* @__PURE__ */ e("img", { className: "h-8", alt: t.app, src: `/api/app-store/zapier/${t.icon}` }) }) }),
7
+ /* @__PURE__ */ e("div", { className: "mr-4", children: /* @__PURE__ */ a("div", { children: [
8
+ /* @__PURE__ */ e("p", { className: "text-emphasis truncate text-sm font-medium leading-4", children: t.app }),
9
+ /* @__PURE__ */ e("p", { className: "text-subtle mt-[2px] text-sm", children: t.text })
10
+ ] }) })
11
+ ] }),
12
+ /* @__PURE__ */ e("div", { className: "hidden w-full sm:block", children: /* @__PURE__ */ e("div", { className: "float-right", children: /* @__PURE__ */ e(i, { color: "secondary", className: " w-[90px]", target: "_blank", href: t.link, children: "Use Zap" }) }) }),
13
+ /* @__PURE__ */ e("div", { className: "mt-2 block w-full sm:hidden", children: /* @__PURE__ */ e("div", { className: "float-right", children: /* @__PURE__ */ e(i, { color: "secondary", className: "w-[90px]", target: "_blank", href: t.link, children: "Use Zap" }) }) })
14
+ ] });
15
+ }
16
+ const n = [
17
+ {
18
+ icon: "gmail.svg",
19
+ app: "Gmail",
20
+ text: "Send emails via Gmail for scheduled events",
21
+ link: "https://zapier.com/app/editor/template/1071345"
22
+ },
23
+ {
24
+ icon: "googleSheets.svg",
25
+ app: "Google Sheets",
26
+ text: "Create Google Sheets rows for scheduled events",
27
+ link: "https://zapier.com/app/editor/template/1082047"
28
+ },
29
+ {
30
+ icon: "salesforce.svg",
31
+ app: "Salesforce",
32
+ text: "Create Salesforce leads from new bookings",
33
+ link: "https://zapier.com/app/editor/template/1082050"
34
+ },
35
+ {
36
+ icon: "todoist.svg",
37
+ app: "Todoist",
38
+ text: "Create Todoist tasks for scheduled events",
39
+ link: "https://zapier.com/app/editor/template/1082073"
40
+ },
41
+ {
42
+ icon: "gmail.svg",
43
+ app: "Gmail",
44
+ text: "Send emails via Gmail for rescheduled events",
45
+ link: "https://zapier.com/app/editor/template/1083605"
46
+ },
47
+ {
48
+ icon: "gmail.svg",
49
+ app: "Gmail",
50
+ text: "Send emails via Gmail for cancelled events",
51
+ link: "https://zapier.com/app/editor/template/1083609"
52
+ },
53
+ {
54
+ icon: "gmail.svg",
55
+ app: "Gmail",
56
+ text: "Send emails via Gmail after scheduled meetings end",
57
+ link: "https://zapier.com/app/editor/template/1083613"
58
+ },
59
+ {
60
+ icon: "googleCalendar.svg",
61
+ app: "Google Calendar",
62
+ text: "Add new bookings to Google Calendar",
63
+ link: "https://zapier.com/app/editor/template/1083651"
64
+ }
65
+ ];
66
+ function m() {
67
+ const { t } = o();
68
+ return /* @__PURE__ */ a(r, { children: [
69
+ /* @__PURE__ */ e("div", { className: "text-sm font-semibold leading-4 ", children: t("get_started_zapier_templates") }),
70
+ /* @__PURE__ */ e("div", { className: "mt-4 grid gap-4 md:grid-cols-2", children: n.map((s, l) => /* @__PURE__ */ e(d, { template: s }, l)) })
71
+ ] });
72
+ }
73
+ export {
74
+ m as default
75
+ };
@@ -0,0 +1,23 @@
1
+ import { jsxs as o, jsx as t } from "react/jsx-runtime";
2
+ import { useState as p } from "react";
3
+ import { q as r, f as u, r as i } from "./index-LRugxdBo.js";
4
+ function d() {
5
+ const { t: e } = r(), [s, n] = p("");
6
+ return /* @__PURE__ */ o("div", { className: "space-y-4 px-4 pb-4 pt-4 text-sm", children: [
7
+ /* @__PURE__ */ t(
8
+ u,
9
+ {
10
+ placeholder: "Some Input",
11
+ value: s,
12
+ name: "Enter Input",
13
+ onChange: async (a) => {
14
+ n(a.target.value);
15
+ }
16
+ }
17
+ ),
18
+ /* @__PURE__ */ t(i, { children: e("submit") })
19
+ ] });
20
+ }
21
+ export {
22
+ d as default
23
+ };
@@ -0,0 +1,29 @@
1
+ import { jsxs as o, jsx as t } from "react/jsx-runtime";
2
+ import { useState as s } from "react";
3
+ import { q as i, f as l, r as m } from "./index-LRugxdBo.js";
4
+ function h() {
5
+ const { t: a } = i(), n = "metric", [e, r] = s("");
6
+ return /* @__PURE__ */ o("div", { className: "space-y-4 text-sm", children: [
7
+ /* @__PURE__ */ t(
8
+ l,
9
+ {
10
+ placeholder: "San Francisco",
11
+ value: e,
12
+ name: "Enter City",
13
+ onChange: async (c) => {
14
+ r(c.target.value);
15
+ }
16
+ }
17
+ ),
18
+ /* @__PURE__ */ t(
19
+ m,
20
+ {
21
+ href: `webcal://weather-in-calendar.com/cal/weather-cal.php?city=${e}&units=${n}&temperature=day`,
22
+ children: a("add_to_calendar")
23
+ }
24
+ )
25
+ ] });
26
+ }
27
+ export {
28
+ h as default
29
+ };