@calcom/atoms 1.0.99 → 1.0.101-booker

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 (220) hide show
  1. package/dist/{AddressInput-WBfvWGkL.js → AddressInput-juYkbZV2.js} +3 -3
  2. package/dist/{AlbyPriceComponent-eW8bnLtO.js → AlbyPriceComponent-zPblWsmO.js} +28 -28
  3. package/dist/{PhoneInput-LeK3XZ0X.js → PhoneInput-lzIUvvEp.js} +1 -1
  4. package/dist/cal-atoms.js +3 -34
  5. package/dist/index-1iD3RAuF.js +83360 -0
  6. package/dist/index-4eiX6cBE.js +1957 -0
  7. package/dist/{index-mhIxRvCU.js → index-pxPagOVY.js} +1 -1
  8. package/dist/packages/features/bookings/Booker/Booker.d.ts.map +1 -1
  9. package/dist/packages/features/bookings/Booker/components/DatePicker.d.ts +6 -0
  10. package/dist/packages/features/bookings/Booker/components/DatePicker.d.ts.map +1 -1
  11. package/dist/packages/features/bookings/Booker/components/OverlayCalendar/OverlayCalendar.d.ts +1 -1
  12. package/dist/packages/features/bookings/Booker/components/OverlayCalendar/OverlayCalendar.d.ts.map +1 -1
  13. package/dist/packages/features/bookings/Booker/utils/event.d.ts +17 -0
  14. package/dist/packages/features/bookings/Booker/utils/event.d.ts.map +1 -1
  15. package/dist/packages/features/bookings/lib/get-booking.d.ts +3 -0
  16. package/dist/packages/features/bookings/lib/get-booking.d.ts.map +1 -1
  17. package/dist/packages/features/bookings/lib/getBookingInfo.d.ts +2 -0
  18. package/dist/packages/features/bookings/lib/getBookingInfo.d.ts.map +1 -1
  19. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts +2 -0
  20. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts.map +1 -1
  21. package/dist/packages/features/bookings/lib/getUserBooking.d.ts +1 -0
  22. package/dist/packages/features/bookings/lib/getUserBooking.d.ts.map +1 -1
  23. package/dist/packages/features/bookings/lib/handleCancelBooking.d.ts.map +1 -1
  24. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts.map +1 -1
  25. package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts +1 -0
  26. package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts.map +1 -1
  27. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts.map +1 -1
  28. package/dist/packages/features/data-table/DataTableProvider.d.ts +4 -2
  29. package/dist/packages/features/data-table/DataTableProvider.d.ts.map +1 -1
  30. package/dist/packages/features/data-table/components/DataTableToolbar.d.ts.map +1 -1
  31. package/dist/packages/features/data-table/components/filters/DateRangeFilter.d.ts.map +1 -1
  32. package/dist/packages/features/data-table/components/segment/FilterSegmentSelect.d.ts.map +1 -1
  33. package/dist/packages/features/data-table/components/segment/SaveFilterSegmentButton.d.ts.map +1 -1
  34. package/dist/packages/features/data-table/hooks/useColumnResizing.d.ts +9 -0
  35. package/dist/packages/features/data-table/hooks/useColumnResizing.d.ts.map +1 -0
  36. package/dist/packages/features/data-table/hooks/useSegments.d.ts +3 -0
  37. package/dist/packages/features/data-table/hooks/useSegments.d.ts.map +1 -0
  38. package/dist/packages/features/data-table/hooks/useSegmentsNoop.d.ts +3 -0
  39. package/dist/packages/features/data-table/hooks/useSegmentsNoop.d.ts.map +1 -0
  40. package/dist/packages/features/data-table/index.d.ts +1 -1
  41. package/dist/packages/features/data-table/index.d.ts.map +1 -1
  42. package/dist/packages/features/data-table/lib/dateRange.d.ts +7 -0
  43. package/dist/packages/features/data-table/lib/dateRange.d.ts.map +1 -1
  44. package/dist/packages/features/data-table/lib/dateRange.test.d.ts +2 -0
  45. package/dist/packages/features/data-table/lib/dateRange.test.d.ts.map +1 -0
  46. package/dist/packages/features/data-table/lib/types.d.ts +31 -6
  47. package/dist/packages/features/data-table/lib/types.d.ts.map +1 -1
  48. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts +1 -0
  49. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts.map +1 -1
  50. package/dist/packages/features/ee/workflows/api/scheduleEmailReminders.d.ts +3 -0
  51. package/dist/packages/features/ee/workflows/api/scheduleEmailReminders.d.ts.map +1 -1
  52. package/dist/packages/features/ee/workflows/components/WorkflowStepContainer.d.ts.map +1 -1
  53. package/dist/packages/features/ee/workflows/lib/actionHelperFunctions.d.ts +3 -1
  54. package/dist/packages/features/ee/workflows/lib/actionHelperFunctions.d.ts.map +1 -1
  55. package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts +2 -3
  56. package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts.map +1 -1
  57. package/dist/packages/features/ee/workflows/lib/reminders/providers/emailProvider.d.ts +11 -0
  58. package/dist/packages/features/ee/workflows/lib/reminders/providers/emailProvider.d.ts.map +1 -0
  59. package/dist/packages/features/ee/workflows/lib/reminders/providers/sendgridProvider.d.ts +1 -1
  60. package/dist/packages/features/ee/workflows/lib/reminders/providers/sendgridProvider.d.ts.map +1 -1
  61. package/dist/packages/features/ee/workflows/lib/reminders/templates/customTemplate.d.ts.map +1 -1
  62. package/dist/packages/features/ee/workflows/lib/reminders/templates/emailRatingTemplate.d.ts +4 -2
  63. package/dist/packages/features/ee/workflows/lib/reminders/templates/emailRatingTemplate.d.ts.map +1 -1
  64. package/dist/packages/features/ee/workflows/lib/reminders/templates/emailReminderTemplate.d.ts +3 -1
  65. package/dist/packages/features/ee/workflows/lib/reminders/templates/emailReminderTemplate.d.ts.map +1 -1
  66. package/dist/packages/features/eventtypes/components/EditWeightsForAllTeamMembers.d.ts.map +1 -1
  67. package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts +1 -1
  68. package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts.map +1 -1
  69. package/dist/packages/features/eventtypes/components/tabs/limits/EventLimitsTab.d.ts.map +1 -1
  70. package/dist/packages/features/eventtypes/components/tabs/recurring/RecurringEventController.d.ts.map +1 -1
  71. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +17 -0
  72. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
  73. package/dist/packages/features/form-builder/FormBuilderField.d.ts.map +1 -1
  74. package/dist/packages/platform/atoms/availability/wrappers/AvailabilitySettingsPlatformWrapper.d.ts +2 -1
  75. package/dist/packages/platform/atoms/availability/wrappers/AvailabilitySettingsPlatformWrapper.d.ts.map +1 -1
  76. package/dist/packages/platform/atoms/calendar-settings/wrappers/CalendarSettingsPlatformWrapper.d.ts +2 -1
  77. package/dist/packages/platform/atoms/calendar-settings/wrappers/CalendarSettingsPlatformWrapper.d.ts.map +1 -1
  78. package/dist/packages/platform/atoms/connect/OAuthConnect.d.ts +1 -0
  79. package/dist/packages/platform/atoms/connect/OAuthConnect.d.ts.map +1 -1
  80. package/dist/packages/platform/atoms/connect/apple/AppleConnect.d.ts.map +1 -1
  81. package/dist/packages/platform/atoms/connect/google/GcalConnect.d.ts.map +1 -1
  82. package/dist/packages/platform/atoms/connect/outlook/OutlookConnect.d.ts.map +1 -1
  83. package/dist/packages/platform/atoms/connect/stripe/StripeConnect.d.ts.map +1 -1
  84. package/dist/packages/platform/atoms/destination-calendar/wrappers/DestinationCalendarSettingsPlatformWrapper.d.ts +2 -1
  85. package/dist/packages/platform/atoms/destination-calendar/wrappers/DestinationCalendarSettingsPlatformWrapper.d.ts.map +1 -1
  86. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +12 -0
  87. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts.map +1 -1
  88. package/dist/packages/platform/atoms/event-types/hooks/useEventTypeForm.d.ts.map +1 -1
  89. package/dist/packages/platform/atoms/event-types/hooks/useTeamMembersWithSegment.d.ts +32 -0
  90. package/dist/packages/platform/atoms/event-types/hooks/useTeamMembersWithSegment.d.ts.map +1 -0
  91. package/dist/packages/platform/atoms/event-types/wrappers/CreateEventTypePlatformWrapper.d.ts +2 -1
  92. package/dist/packages/platform/atoms/event-types/wrappers/CreateEventTypePlatformWrapper.d.ts.map +1 -1
  93. package/dist/packages/platform/atoms/event-types/wrappers/EventPaymentsTabPlatformWrapper.d.ts.map +1 -1
  94. package/dist/packages/platform/atoms/event-types/wrappers/EventTypePlatformWrapper.d.ts +2 -1
  95. package/dist/packages/platform/atoms/event-types/wrappers/EventTypePlatformWrapper.d.ts.map +1 -1
  96. package/dist/packages/platform/atoms/hooks/bookings/useBookings.d.ts +1 -0
  97. package/dist/packages/platform/atoms/hooks/bookings/useBookings.d.ts.map +1 -1
  98. package/dist/packages/platform/atoms/hooks/bookings/useGetBookingForReschedule.d.ts +1 -0
  99. package/dist/packages/platform/atoms/hooks/bookings/useGetBookingForReschedule.d.ts.map +1 -1
  100. package/dist/packages/platform/atoms/hooks/connect/useConnect.d.ts +2 -2
  101. package/dist/packages/platform/atoms/hooks/connect/useConnect.d.ts.map +1 -1
  102. package/dist/packages/platform/atoms/hooks/event-types/public/useTeamEventType.d.ts.map +1 -1
  103. package/dist/packages/platform/atoms/hooks/organizations/bookings/useOrganizationBookings.d.ts +4 -0
  104. package/dist/packages/platform/atoms/hooks/organizations/bookings/useOrganizationBookings.d.ts.map +1 -0
  105. package/dist/packages/platform/atoms/hooks/organizations/bookings/useOrganizationUserBookings.d.ts +4 -0
  106. package/dist/packages/platform/atoms/hooks/organizations/bookings/useOrganizationUserBookings.d.ts.map +1 -0
  107. package/dist/packages/platform/atoms/hooks/stripe/useCheck.d.ts +3 -10
  108. package/dist/packages/platform/atoms/hooks/stripe/useCheck.d.ts.map +1 -1
  109. package/dist/packages/platform/atoms/hooks/stripe/useConnect.d.ts +2 -2
  110. package/dist/packages/platform/atoms/hooks/stripe/useConnect.d.ts.map +1 -1
  111. package/dist/packages/platform/atoms/hooks/usePublicEvent.d.ts +17 -0
  112. package/dist/packages/platform/atoms/hooks/usePublicEvent.d.ts.map +1 -1
  113. package/dist/packages/platform/atoms/index.d.ts +0 -32
  114. package/dist/packages/platform/atoms/index.d.ts.map +1 -1
  115. package/dist/packages/platform/atoms/selected-calendars/wrappers/SelectedCalendarsSettingsPlatformWrapper.d.ts +2 -1
  116. package/dist/packages/platform/atoms/selected-calendars/wrappers/SelectedCalendarsSettingsPlatformWrapper.d.ts.map +1 -1
  117. package/dist/packages/platform/atoms/src/components/ui/dialog.d.ts +2 -4
  118. package/dist/packages/platform/atoms/src/components/ui/dialog.d.ts.map +1 -1
  119. package/dist/packages/platform/libraries/index.d.ts +2 -0
  120. package/dist/packages/platform/libraries/index.d.ts.map +1 -1
  121. package/dist/packages/platform/types/bookings/2024-08-13/inputs/create-booking.input.d.ts +2 -0
  122. package/dist/packages/platform/types/bookings/2024-08-13/inputs/create-booking.input.d.ts.map +1 -1
  123. package/dist/packages/platform/types/bookings/2024-08-13/inputs/get-bookings.input.d.ts.map +1 -1
  124. package/dist/packages/platform/types/organizations/bookings/get-org-bookings.input.d.ts +5 -0
  125. package/dist/packages/platform/types/organizations/bookings/get-org-bookings.input.d.ts.map +1 -0
  126. package/dist/packages/platform/types/organizations/bookings/index.d.ts +2 -0
  127. package/dist/packages/platform/types/organizations/bookings/index.d.ts.map +1 -0
  128. package/dist/packages/platform/types/organizations/index.d.ts +1 -0
  129. package/dist/packages/platform/types/organizations/index.d.ts.map +1 -1
  130. package/dist/packages/platform/types/slots/slots-2024-09-04/inputs/get-slots-input.pipe.d.ts +6 -4
  131. package/dist/packages/platform/types/slots/slots-2024-09-04/inputs/get-slots-input.pipe.d.ts.map +1 -1
  132. package/dist/packages/platform/types/slots/slots-2024-09-04/inputs/get-slots.input.d.ts +15 -3
  133. package/dist/packages/platform/types/slots/slots-2024-09-04/inputs/get-slots.input.d.ts.map +1 -1
  134. package/dist/packages/platform/types/teams/outputs/index.d.ts +1 -0
  135. package/dist/packages/platform/types/teams/outputs/index.d.ts.map +1 -1
  136. package/dist/packages/platform/types/teams/outputs/team-members-attributes.output.d.ts +9 -0
  137. package/dist/packages/platform/types/teams/outputs/team-members-attributes.output.d.ts.map +1 -0
  138. package/dist/packages/prisma/zod/app_routingforms_formresponse.d.ts +3 -0
  139. package/dist/packages/prisma/zod/app_routingforms_formresponse.d.ts.map +1 -1
  140. package/dist/packages/prisma/zod/calendarcache.d.ts +3 -0
  141. package/dist/packages/prisma/zod/calendarcache.d.ts.map +1 -1
  142. package/dist/packages/prisma/zod/filtersegment.d.ts +3 -0
  143. package/dist/packages/prisma/zod/filtersegment.d.ts.map +1 -1
  144. package/dist/packages/prisma/zod/task.d.ts +3 -0
  145. package/dist/packages/prisma/zod/task.d.ts.map +1 -1
  146. package/dist/packages/prisma/zod/user.d.ts +3 -0
  147. package/dist/packages/prisma/zod/user.d.ts.map +1 -1
  148. package/dist/packages/prisma/zod/workflowreminder.d.ts +3 -0
  149. package/dist/packages/prisma/zod/workflowreminder.d.ts.map +1 -1
  150. package/dist/packages/prisma/zod-utils.d.ts +126 -3
  151. package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
  152. package/dist/packages/prisma-client/index.d.ts +408 -5
  153. package/dist/packages/trpc/react/shared.d.ts +1 -1
  154. package/dist/packages/trpc/react/shared.d.ts.map +1 -1
  155. package/dist/packages/trpc/server/routers/viewer/slots/_router.d.ts.map +1 -1
  156. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts +6 -0
  157. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts.map +1 -1
  158. package/dist/style.css +1 -1
  159. package/globals.min.css +2 -14
  160. package/package.json +2 -2
  161. package/dist/AppCard-a2VNbyLx.js +0 -162
  162. package/dist/AppListCardPlatformWrapper-C8hnPpP4.js +0 -9
  163. package/dist/AppListCardWebWrapper-DvvSERyw.js +0 -74
  164. package/dist/AppSettingsInterface-277vkITp.js +0 -75
  165. package/dist/AppSettingsInterface-cKTul9l1.js +0 -29
  166. package/dist/AppSettingsInterface-cRYupPyd.js +0 -23
  167. package/dist/DateRangePicker-vgjaMql7.js +0 -2418
  168. package/dist/EventTypeAppCardInterface-5SmitGNV.js +0 -24
  169. package/dist/EventTypeAppCardInterface-5oCKHCnt.js +0 -24
  170. package/dist/EventTypeAppCardInterface-DCGeU2Nt.js +0 -32
  171. package/dist/EventTypeAppCardInterface-E0Qss22P.js +0 -39
  172. package/dist/EventTypeAppCardInterface-EjBlklYZ.js +0 -32
  173. package/dist/EventTypeAppCardInterface-J-7B6Xjo.js +0 -34
  174. package/dist/EventTypeAppCardInterface-KduqlFNa.js +0 -34
  175. package/dist/EventTypeAppCardInterface-MS4ucwo6.js +0 -49
  176. package/dist/EventTypeAppCardInterface-PTb9KLMK.js +0 -31
  177. package/dist/EventTypeAppCardInterface-Sy_wEWq8.js +0 -493
  178. package/dist/EventTypeAppCardInterface-UnxmvFiF.js +0 -42
  179. package/dist/EventTypeAppCardInterface-Y4hW3FSd.js +0 -24
  180. package/dist/EventTypeAppCardInterface-ax3KRlWb.js +0 -41
  181. package/dist/EventTypeAppCardInterface-gWjvfWM8.js +0 -34
  182. package/dist/EventTypeAppCardInterface-hdSBbtYi.js +0 -34
  183. package/dist/EventTypeAppCardInterface-i0iSNHI5.js +0 -51
  184. package/dist/EventTypeAppCardInterface-iRFQuaNc.js +0 -24
  185. package/dist/EventTypeAppCardInterface-iye41eH9.js +0 -34
  186. package/dist/EventTypeAppCardInterface-jPx0Q4vg.js +0 -42
  187. package/dist/EventTypeAppCardInterface-jsVu8y8O.js +0 -24
  188. package/dist/EventTypeAppCardInterface-k6-pyXdz.js +0 -51
  189. package/dist/EventTypeAppCardInterface-rV9JaOnf.js +0 -86
  190. package/dist/EventTypeAppCardInterface-tRwK3uo8.js +0 -34
  191. package/dist/EventTypeAppCardInterface-u3dNHTwX.js +0 -33
  192. package/dist/EventTypeAppCardInterface-urvIbTUy.js +0 -41
  193. package/dist/EventTypeAppCardInterface-yEwxGABY.js +0 -34
  194. package/dist/EventTypeAppSettingsInterface-H0Y7R_6K.js +0 -48
  195. package/dist/EventTypeAppSettingsInterface-HjjrUG-6.js +0 -120
  196. package/dist/EventTypeAppSettingsInterface-IlX26-MP.js +0 -78
  197. package/dist/EventTypeAppSettingsInterface-UEd9lbfG.js +0 -23
  198. package/dist/EventTypeAppSettingsInterface-VctSrf5M.js +0 -43
  199. package/dist/EventTypeAppSettingsInterface-VdsSNh9p.js +0 -25
  200. package/dist/EventTypeAppSettingsInterface-XljkqZTl.js +0 -23
  201. package/dist/EventTypeAppSettingsInterface-YGCAMT_H.js +0 -72
  202. package/dist/EventTypeAppSettingsInterface-cZcfyfGn.js +0 -24
  203. package/dist/EventTypeAppSettingsInterface-mb6aW1Vk.js +0 -221
  204. package/dist/EventTypeAppSettingsInterface-t9OOHsGu.js +0 -42
  205. package/dist/EventTypeAppSettingsInterface-zpEk1DKo.js +0 -298
  206. package/dist/InstallAppButton-0rF_k2oO.js +0 -14
  207. package/dist/InstallAppButton-JXhBVaYJ.js +0 -29
  208. package/dist/InstallAppButton-LAgGkMR5.js +0 -14
  209. package/dist/InstallAppButton-mCwpgGMb.js +0 -58
  210. package/dist/StripePaymentForm-7wEfBhaI.js +0 -493
  211. package/dist/currencyOptions-kannG2hu.js +0 -61
  212. package/dist/framer-features-OfBOvlO4.js +0 -443
  213. package/dist/index-61yVVkPy.js +0 -28
  214. package/dist/index-E1a1GKmY.js +0 -155405
  215. package/dist/index-NLytQWtD.js +0 -511
  216. package/dist/packages/features/data-table/lib/resizing.d.ts +0 -9
  217. package/dist/packages/features/data-table/lib/resizing.d.ts.map +0 -1
  218. package/dist/packages/features/data-table/lib/segments.d.ts +0 -27
  219. package/dist/packages/features/data-table/lib/segments.d.ts.map +0 -1
  220. package/dist/useIsAppEnabled-bcfIdtzp.js +0 -18
@@ -1,5 +1,5 @@
1
1
  import { jsxs as m, jsx as e } from "react/jsx-runtime";
2
- import { X as n, e as o, M as c } from "./index-E1a1GKmY.js";
2
+ import { I as n, b as c, c as o } from "./index-1iD3RAuF.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
- o,
14
+ c,
15
15
  {
16
16
  ...a,
17
17
  value: s,
18
18
  onChange: (l) => {
19
19
  t(l.target.value);
20
20
  },
21
- className: c("pl-10", a == null ? void 0 : a.className)
21
+ className: o("pl-10", a == null ? void 0 : a.className)
22
22
  }
23
23
  )
24
24
  ] });
@@ -1,7 +1,7 @@
1
- import { jsx as K, jsxs as er } from "react/jsx-runtime";
2
- import z from "react";
3
- import { K as tr, Y as nr } from "./index-E1a1GKmY.js";
4
- const J = function(s, r = !0) {
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) {
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
- J(this);
36
+ K(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
- J(this), function(b, y) {
51
+ K(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), C = Number(E & k), j = x ? 0 : 4;
71
- b.setUint32(y + (x ? 4 : 0), _, x), b.setUint32(y + j, C, 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);
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,8 +347,8 @@ 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 C = c(f("qpzry9x8gf2tvdw0s3jn54khce6mua7l"), u("")), j = [996825010, 642813549, 513874426, 1027748829, 705979059];
351
- function S(e) {
350
+ const S = c(f("qpzry9x8gf2tvdw0s3jn54khce6mua7l"), u("")), j = [996825010, 642813549, 513874426, 1027748829, 705979059];
351
+ function C(e) {
352
352
  const t = e >> 25;
353
353
  let n = (33554431 & e) << 5;
354
354
  for (let o = 0; o < j.length; o++)
@@ -362,16 +362,16 @@ Q = function(s, r) {
362
362
  const d = e.charCodeAt(h);
363
363
  if (d < 33 || d > 126)
364
364
  throw new Error(`Invalid prefix (${e})`);
365
- a = S(a) ^ d >> 5;
365
+ a = C(a) ^ d >> 5;
366
366
  }
367
- a = S(a);
367
+ a = C(a);
368
368
  for (let h = 0; h < o; h++)
369
- a = S(a) ^ 31 & e.charCodeAt(h);
369
+ a = C(a) ^ 31 & e.charCodeAt(h);
370
370
  for (let h of t)
371
- a = S(a) ^ h;
371
+ a = C(a) ^ h;
372
372
  for (let h = 0; h < 6; h++)
373
- a = S(a);
374
- return a ^= n, C.encode(b([a % 2 ** 30], 30, 5, !1));
373
+ a = C(a);
374
+ return a ^= n, S.encode(b([a % 2 ** 30], 30, 5, !1));
375
375
  }
376
376
  function O(e) {
377
377
  const t = e === "bech32" ? 1 : 734539939, n = E(5), o = n.decode, a = n.encode, h = x(o);
@@ -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 = C.decode(D).slice(0, -6), P = H(G, M, t);
392
+ const M = S.decode(D).slice(0, -6), P = H(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,7 +402,7 @@ 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${C.encode(p)}${H(w, p, t)}`;
405
+ return `${w = w.toLowerCase()}1${S.encode(p)}${H(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($) };
@@ -431,29 +431,29 @@ Q = function(s, r) {
431
431
  BigInt(1e3), BigInt(1e6), BigInt(1e9), BigInt(1e12);
432
432
  BigInt("2100000000000000000");
433
433
  BigInt(1e11);
434
- const Y = { 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
- for (let s = 0, r = Object.keys(Y); s < r.length; s++)
436
- r[s], Y[r[s]].toString();
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
+ for (let s = 0, r = Object.keys(X); s < r.length; s++)
436
+ r[s], X[r[s]].toString();
437
437
  const V = 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
- }, X = async ({ satoshi: s, currency: r }) => {
440
+ }, Y = async ({ satoshi: s, currency: r }) => {
441
441
  const i = await V(r);
442
442
  return Number(s) * i;
443
443
  };
444
- var fr = { __proto__: null, getFiatBtcRate: V, getFiatValue: X, getSatoshiValue: async ({ amount: s, currency: r }) => {
444
+ var fr = { __proto__: null, getFiatBtcRate: V, getFiatValue: Y, getSatoshiValue: async ({ amount: s, currency: r }) => {
445
445
  const i = await V(r);
446
446
  return Math.floor(Number(s) / i);
447
- }, getFormattedFiatValue: async ({ satoshi: s, currency: r, locale: i }) => (i || (i = "en"), (await X({ satoshi: s, currency: r })).toLocaleString(i, { style: "currency", currency: r })) };
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] = z.useState("loading...");
450
- return z.useEffect(() => {
449
+ const [c, f] = J.useState("loading...");
450
+ return J.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__ */ 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" }),
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" }),
457
457
  i
458
458
  ] }) });
459
459
  }
@@ -1,6 +1,6 @@
1
1
  import { jsx as vt } from "react/jsx-runtime";
2
2
  import Bt, { useState as $t, useEffect as Gt } from "react";
3
- import { aj as Vt, ak as qt, al as Kt, ab as Ut, M as It, y as Wt } from "./index-E1a1GKmY.js";
3
+ import { w as Vt, i as qt, g as Kt, u as Ut, c as It, t as Wt } from "./index-1iD3RAuF.js";
4
4
  function Ht() {
5
5
  return Vt(qt, arguments);
6
6
  }
package/dist/cal-atoms.js CHANGED
@@ -1,36 +1,5 @@
1
- import { aQ as s, aR as t, b2 as n, aO as o, ba as b, bc as r, b1 as C, be as l, b9 as u, bb as d, aP as i, b0 as c, bf as g, b3 as p, b8 as v, bd as S, b5 as T, aS as m, aZ as y, a_ as E, aY as k, aT as B, bg as f, bh as A, b4 as P, aW as R, aX as x, aU as D, ab as I, a$ as O, b6 as h, aV as F, b7 as G } from "./index-E1a1GKmY.js";
1
+ import { al as r, ak as e } from "./index-1iD3RAuF.js";
2
2
  export {
3
- s as AvailabilitySettings,
4
- t as Booker,
5
- n as BookerEmbed,
6
- o as CalProvider,
7
- b as CalendarSettings,
8
- r as ConferencingAppsSettings,
9
- C as Connect,
10
- l as CreateEventType,
11
- u as DestinationCalendarSettings,
12
- d as EventTypeSettings,
13
- i as GcalConnect,
14
- c as OutlookConnect,
15
- g as PaymentForm,
16
- p as Router,
17
- v as SelectedCalendarsSettings,
18
- S as StripeConnect,
19
- T as useAddSelectedCalendar,
20
- m as useAtomsContext,
21
- y as useBooking,
22
- E as useBookings,
23
- k as useCancelBooking,
24
- B as useConnectedCalendars,
25
- f as useCreateEventType,
26
- A as useCreateTeamEventType,
27
- P as useDeleteCalendarCredentials,
28
- R as useEvent,
29
- x as useEventTypeById,
30
- D as useEventTypes,
31
- I as useIsPlatform,
32
- O as useMe,
33
- h as useRemoveSelectedCalendar,
34
- F as useTeamEventTypes,
35
- G as useTeams
3
+ r as Booker,
4
+ e as CalProvider
36
5
  };