@calcom/atoms 1.2.0 → 1.3.0-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 (215) hide show
  1. package/README.md +17 -1
  2. package/dist/{AddressInput-UbZjE-tI.js → AddressInput-WXZaR4AM.js} +3 -3
  3. package/dist/{AlbyPriceComponent-FDWNfR07.js → AlbyPriceComponent-HWQCTeD1.js} +19 -19
  4. package/dist/{PhoneInput-thLHoHkm.js → PhoneInput-6J6htPeB.js} +1 -1
  5. package/dist/cal-atoms.js +5 -36
  6. package/dist/index-7pq3HQ5u.js +1957 -0
  7. package/dist/index-SbGDY58y.js +83444 -0
  8. package/dist/{index-VHCLgyWQ.js → index-aGnAhRxt.js} +1 -1
  9. package/dist/packages/features/bookings/Booker/Booker.d.ts.map +1 -1
  10. package/dist/packages/features/bookings/Booker/components/DatePicker.d.ts +2 -1
  11. package/dist/packages/features/bookings/Booker/components/DatePicker.d.ts.map +1 -1
  12. package/dist/packages/features/bookings/Booker/components/EventMeta.d.ts +2 -1
  13. package/dist/packages/features/bookings/Booker/components/EventMeta.d.ts.map +1 -1
  14. package/dist/packages/features/bookings/Booker/types.d.ts +3 -0
  15. package/dist/packages/features/bookings/Booker/types.d.ts.map +1 -1
  16. package/dist/packages/features/bookings/Booker/utils/event.d.ts +4 -0
  17. package/dist/packages/features/bookings/Booker/utils/event.d.ts.map +1 -1
  18. package/dist/packages/features/bookings/lib/getCalEventResponses.d.ts.map +1 -1
  19. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts +6 -0
  20. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts.map +1 -1
  21. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts +8 -0
  22. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts.map +1 -1
  23. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +6 -0
  24. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts.map +1 -1
  25. package/dist/packages/features/bookings/lib/handleNewBooking/loadAndValidateUsers.d.ts.map +1 -1
  26. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts.map +1 -1
  27. package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts +3 -0
  28. package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts.map +1 -1
  29. package/dist/packages/features/bookings/lib/handleNewBooking/test/team-bookings/round-robin.test.d.ts +2 -0
  30. package/dist/packages/features/bookings/lib/handleNewBooking/test/team-bookings/round-robin.test.d.ts.map +1 -0
  31. package/dist/packages/features/bookings/lib/handleNewBooking/types.d.ts +1 -0
  32. package/dist/packages/features/bookings/lib/handleNewBooking/types.d.ts.map +1 -1
  33. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts.map +1 -1
  34. package/dist/packages/features/bookings/lib/handleSeats/reschedule/attendee/attendeeRescheduleSeatedBooking.d.ts.map +1 -1
  35. package/dist/packages/features/ee/payments/pages/payment.d.ts +1 -0
  36. package/dist/packages/features/ee/payments/pages/payment.d.ts.map +1 -1
  37. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts.map +1 -1
  38. package/dist/packages/features/ee/round-robin/roundRobinReassignment.d.ts.map +1 -1
  39. package/dist/packages/features/ee/workflows/components/WorkflowDetailsPage.d.ts +8 -0
  40. package/dist/packages/features/ee/workflows/components/WorkflowDetailsPage.d.ts.map +1 -1
  41. package/dist/packages/features/ee/workflows/components/WorkflowListPage.d.ts +2 -0
  42. package/dist/packages/features/ee/workflows/components/WorkflowListPage.d.ts.map +1 -1
  43. package/dist/packages/features/ee/workflows/lib/constants.d.ts +1 -1
  44. package/dist/packages/features/ee/workflows/lib/constants.d.ts.map +1 -1
  45. package/dist/packages/features/ee/workflows/lib/getOptions.d.ts +1 -1
  46. package/dist/packages/features/ee/workflows/lib/getOptions.d.ts.map +1 -1
  47. package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts.map +1 -1
  48. package/dist/packages/features/ee/workflows/lib/schema.d.ts +5 -4
  49. package/dist/packages/features/ee/workflows/lib/schema.d.ts.map +1 -1
  50. package/dist/packages/features/ee/workflows/pages/index.d.ts.map +1 -1
  51. package/dist/packages/features/ee/workflows/pages/workflow.d.ts +1 -5
  52. package/dist/packages/features/ee/workflows/pages/workflow.d.ts.map +1 -1
  53. package/dist/packages/features/eventtypes/components/AddMembersWithSwitch.d.ts +2 -1
  54. package/dist/packages/features/eventtypes/components/AddMembersWithSwitch.d.ts.map +1 -1
  55. package/dist/packages/features/eventtypes/components/CheckedTeamSelect.d.ts +5 -2
  56. package/dist/packages/features/eventtypes/components/CheckedTeamSelect.d.ts.map +1 -1
  57. package/dist/packages/features/eventtypes/components/DuplicateDialog.d.ts.map +1 -1
  58. package/dist/packages/features/eventtypes/components/EditWeightsForAllTeamMembers.d.ts.map +1 -1
  59. package/dist/packages/features/eventtypes/components/EventType.d.ts +1 -0
  60. package/dist/packages/features/eventtypes/components/EventType.d.ts.map +1 -1
  61. package/dist/packages/features/eventtypes/components/EventTypeLayout.d.ts.map +1 -1
  62. package/dist/packages/features/eventtypes/components/HostEditDialogs.d.ts +2 -0
  63. package/dist/packages/features/eventtypes/components/HostEditDialogs.d.ts.map +1 -1
  64. package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts.map +1 -1
  65. package/dist/packages/features/eventtypes/components/tabs/assignment/EventTeamAssignmentTab.d.ts.map +1 -1
  66. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +6 -0
  67. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
  68. package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts +1 -0
  69. package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts.map +1 -1
  70. package/dist/packages/features/eventtypes/lib/types.d.ts +9 -1
  71. package/dist/packages/features/eventtypes/lib/types.d.ts.map +1 -1
  72. package/dist/packages/features/form-builder/schema.d.ts.map +1 -1
  73. package/dist/packages/features/schedules/components/Schedule.d.ts +8 -1
  74. package/dist/packages/features/schedules/components/Schedule.d.ts.map +1 -1
  75. package/dist/packages/features/shell/Shell.d.ts.map +1 -1
  76. package/dist/packages/platform/atoms/availability/AvailabilitySettings.d.ts +6 -0
  77. package/dist/packages/platform/atoms/availability/AvailabilitySettings.d.ts.map +1 -1
  78. package/dist/packages/platform/atoms/availability/types.d.ts +12 -1
  79. package/dist/packages/platform/atoms/availability/types.d.ts.map +1 -1
  80. package/dist/packages/platform/atoms/availability/wrappers/AvailabilitySettingsPlatformWrapper.d.ts +1 -1
  81. package/dist/packages/platform/atoms/availability/wrappers/AvailabilitySettingsPlatformWrapper.d.ts.map +1 -1
  82. package/dist/packages/platform/atoms/booker/BookerPlatformWrapper.d.ts.map +1 -1
  83. package/dist/packages/platform/atoms/booker/types.d.ts +1 -0
  84. package/dist/packages/platform/atoms/booker/types.d.ts.map +1 -1
  85. package/dist/packages/platform/atoms/booker-embed/BookerEmbed.d.ts +1 -1
  86. package/dist/packages/platform/atoms/booker-embed/BookerEmbed.d.ts.map +1 -1
  87. package/dist/packages/platform/atoms/calendar-settings/wrappers/CalendarSettingsPlatformWrapper.d.ts +4 -1
  88. package/dist/packages/platform/atoms/calendar-settings/wrappers/CalendarSettingsPlatformWrapper.d.ts.map +1 -1
  89. package/dist/packages/platform/atoms/destination-calendar/DestinationCalendar.d.ts +11 -0
  90. package/dist/packages/platform/atoms/destination-calendar/DestinationCalendar.d.ts.map +1 -1
  91. package/dist/packages/platform/atoms/destination-calendar/wrappers/DestinationCalendarSettingsPlatformWrapper.d.ts +3 -1
  92. package/dist/packages/platform/atoms/destination-calendar/wrappers/DestinationCalendarSettingsPlatformWrapper.d.ts.map +1 -1
  93. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +6 -0
  94. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts.map +1 -1
  95. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts +1 -0
  96. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts.map +1 -1
  97. package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts +6 -0
  98. package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts.map +1 -1
  99. package/dist/packages/platform/atoms/event-types/hooks/useEventTypeForm.d.ts.map +1 -1
  100. package/dist/packages/platform/atoms/event-types/wrappers/EventTypePlatformWrapper.d.ts.map +1 -1
  101. package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts +4 -0
  102. package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts.map +1 -1
  103. package/dist/packages/platform/atoms/hooks/useMe.d.ts +1 -1
  104. package/dist/packages/platform/atoms/hooks/useMe.d.ts.map +1 -1
  105. package/dist/packages/platform/atoms/index.d.ts +0 -36
  106. package/dist/packages/platform/atoms/index.d.ts.map +1 -1
  107. package/dist/packages/platform/atoms/selected-calendars/wrappers/SelectedCalendarsSettingsPlatformWrapper.d.ts +26 -1
  108. package/dist/packages/platform/atoms/selected-calendars/wrappers/SelectedCalendarsSettingsPlatformWrapper.d.ts.map +1 -1
  109. package/dist/packages/platform/libraries/private-links.d.ts +3 -0
  110. package/dist/packages/platform/libraries/private-links.d.ts.map +1 -0
  111. package/dist/packages/platform/libraries/schedules.d.ts +1 -0
  112. package/dist/packages/platform/libraries/schedules.d.ts.map +1 -1
  113. package/dist/packages/platform/libraries/slots.d.ts +6 -0
  114. package/dist/packages/platform/libraries/slots.d.ts.map +1 -1
  115. package/dist/packages/platform/types/event-types/index.d.ts +2 -0
  116. package/dist/packages/platform/types/event-types/index.d.ts.map +1 -1
  117. package/dist/packages/platform/types/event-types/inputs/private-link.input.d.ts +10 -0
  118. package/dist/packages/platform/types/event-types/inputs/private-link.input.d.ts.map +1 -0
  119. package/dist/packages/platform/types/event-types/outputs/private-link.output.d.ts +35 -0
  120. package/dist/packages/platform/types/event-types/outputs/private-link.output.d.ts.map +1 -0
  121. package/dist/packages/platform/types/index.d.ts +1 -0
  122. package/dist/packages/platform/types/index.d.ts.map +1 -1
  123. package/dist/packages/prisma/zod/agent.d.ts +44 -0
  124. package/dist/packages/prisma/zod/agent.d.ts.map +1 -0
  125. package/dist/packages/prisma/zod/calaiphonenumber.d.ts +66 -0
  126. package/dist/packages/prisma/zod/calaiphonenumber.d.ts.map +1 -0
  127. package/dist/packages/prisma/zod/custom/eventtype.d.ts +10 -0
  128. package/dist/packages/prisma/zod/custom/eventtype.d.ts.map +1 -1
  129. package/dist/packages/prisma/zod/eventtype.d.ts +10 -1
  130. package/dist/packages/prisma/zod/eventtype.d.ts.map +1 -1
  131. package/dist/packages/prisma/zod/host.d.ts +9 -1
  132. package/dist/packages/prisma/zod/host.d.ts.map +1 -1
  133. package/dist/packages/prisma/zod/hostgroup.d.ts +32 -0
  134. package/dist/packages/prisma/zod/hostgroup.d.ts.map +1 -0
  135. package/dist/packages/prisma/zod/index.d.ts +3 -0
  136. package/dist/packages/prisma/zod/index.d.ts.map +1 -1
  137. package/dist/packages/prisma/zod/membership.d.ts +2 -1
  138. package/dist/packages/prisma/zod/membership.d.ts.map +1 -1
  139. package/dist/packages/prisma/zod/ratelimit.d.ts +2 -2
  140. package/dist/packages/prisma/zod/team.d.ts +3 -1
  141. package/dist/packages/prisma/zod/team.d.ts.map +1 -1
  142. package/dist/packages/prisma/zod/user.d.ts +3 -1
  143. package/dist/packages/prisma/zod/user.d.ts.map +1 -1
  144. package/dist/packages/prisma/zod/workflowreminder.d.ts +3 -2
  145. package/dist/packages/prisma/zod/workflowreminder.d.ts.map +1 -1
  146. package/dist/packages/prisma/zod/workflowstep.d.ts +8 -3
  147. package/dist/packages/prisma/zod/workflowstep.d.ts.map +1 -1
  148. package/dist/packages/prisma/zod-utils.d.ts +24 -0
  149. package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
  150. package/dist/packages/prisma-client/index.d.ts +12634 -3343
  151. package/dist/packages/trpc/server/routers/viewer/slots/types.d.ts +155 -7
  152. package/dist/packages/trpc/server/routers/viewer/slots/types.d.ts.map +1 -1
  153. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts +12 -2
  154. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts.map +1 -1
  155. package/dist/style.css +1 -1
  156. package/package.json +1 -1
  157. package/dist/AppCard-wE044EKu.js +0 -281
  158. package/dist/AppListCardPlatformWrapper-S2MLpR9q.js +0 -9
  159. package/dist/AppListCardWebWrapper-Ekd6d78j.js +0 -74
  160. package/dist/AppSettingsInterface-9HiSjvfg.js +0 -23
  161. package/dist/AppSettingsInterface-LmBoyPF3.js +0 -75
  162. package/dist/AppSettingsInterface-Q3voYj2J.js +0 -29
  163. package/dist/DateRangePicker-IpphZRIX.js +0 -74
  164. package/dist/EventTypeAppCardInterface-0tvjBecr.js +0 -39
  165. package/dist/EventTypeAppCardInterface-2KJr-V7Z.js +0 -33
  166. package/dist/EventTypeAppCardInterface-3x27P7ps.js +0 -34
  167. package/dist/EventTypeAppCardInterface-6XEXNBzn.js +0 -34
  168. package/dist/EventTypeAppCardInterface-7NR3doEG.js +0 -31
  169. package/dist/EventTypeAppCardInterface-EPMIwLGd.js +0 -39
  170. package/dist/EventTypeAppCardInterface-F93MhSNn.js +0 -24
  171. package/dist/EventTypeAppCardInterface-KjL7y7bt.js +0 -51
  172. package/dist/EventTypeAppCardInterface-P_G5YRV_.js +0 -858
  173. package/dist/EventTypeAppCardInterface-PktZC6Qe.js +0 -32
  174. package/dist/EventTypeAppCardInterface-Q7g0PqbK.js +0 -51
  175. package/dist/EventTypeAppCardInterface-RcBmmIx9.js +0 -34
  176. package/dist/EventTypeAppCardInterface-Rw_76E5Z.js +0 -41
  177. package/dist/EventTypeAppCardInterface-S6U1w7fe.js +0 -86
  178. package/dist/EventTypeAppCardInterface-YAGz7OSs.js +0 -24
  179. package/dist/EventTypeAppCardInterface-_JOQuDhH.js +0 -24
  180. package/dist/EventTypeAppCardInterface-jdO2h65F.js +0 -32
  181. package/dist/EventTypeAppCardInterface-kEPAtIQk.js +0 -24
  182. package/dist/EventTypeAppCardInterface-n8P51zUO.js +0 -34
  183. package/dist/EventTypeAppCardInterface-n_WO_Y6m.js +0 -41
  184. package/dist/EventTypeAppCardInterface-s_ShyWJo.js +0 -24
  185. package/dist/EventTypeAppCardInterface-sh5yauFY.js +0 -34
  186. package/dist/EventTypeAppCardInterface-uYCixWBP.js +0 -42
  187. package/dist/EventTypeAppCardInterface-uojE8EEU.js +0 -34
  188. package/dist/EventTypeAppCardInterface-votpw9E3.js +0 -34
  189. package/dist/EventTypeAppCardInterface-yyUk_C2L.js +0 -42
  190. package/dist/EventTypeAppCardInterface-zrl4AOk6.js +0 -49
  191. package/dist/EventTypeAppSettingsInterface-33K40mC3.js +0 -24
  192. package/dist/EventTypeAppSettingsInterface-BUDKuf38.js +0 -43
  193. package/dist/EventTypeAppSettingsInterface-FLyAowkl.js +0 -120
  194. package/dist/EventTypeAppSettingsInterface-MsLfMf4b.js +0 -78
  195. package/dist/EventTypeAppSettingsInterface-Ry7PH-5o.js +0 -23
  196. package/dist/EventTypeAppSettingsInterface-UzAwMrFq.js +0 -72
  197. package/dist/EventTypeAppSettingsInterface-aKWy9X9P.js +0 -25
  198. package/dist/EventTypeAppSettingsInterface-ekHTxFa0.js +0 -298
  199. package/dist/EventTypeAppSettingsInterface-fZOlGEqt.js +0 -221
  200. package/dist/EventTypeAppSettingsInterface-g29q2wWG.js +0 -42
  201. package/dist/EventTypeAppSettingsInterface-i-u_40BM.js +0 -48
  202. package/dist/EventTypeAppSettingsInterface-qgNiXkW7.js +0 -23
  203. package/dist/EventTypeAppSettingsInterface-zsCeg754.js +0 -79
  204. package/dist/InstallAppButton-4JTgmaHV.js +0 -14
  205. package/dist/InstallAppButton-HNUH1HbW.js +0 -14
  206. package/dist/InstallAppButton-JXhBVaYJ.js +0 -29
  207. package/dist/InstallAppButton-XwVQ7QR9.js +0 -58
  208. package/dist/StripePaymentForm-9JaoVglP.js +0 -493
  209. package/dist/currencyOptions-kannG2hu.js +0 -61
  210. package/dist/index-08sEbTLI.js +0 -518
  211. package/dist/index-NNpE702d.js +0 -30
  212. package/dist/index-hbI4lcmF.js +0 -160852
  213. package/dist/packages/features/bookings/lib/handleNewBooking/test/team-bookings/seatedRoundRobin.test.d.ts +0 -2
  214. package/dist/packages/features/bookings/lib/handleNewBooking/test/team-bookings/seatedRoundRobin.test.d.ts.map +0 -1
  215. package/dist/useIsAppEnabled-d30ejzXt.js +0 -18
@@ -1,79 +0,0 @@
1
- import { jsx as n, Fragment as S, jsxs as d } from "react/jsx-runtime";
2
- import { useState as p, useEffect as _ } from "react";
3
- import { y as P, a2 as t, M as x, f as w, S as C } from "./index-hbI4lcmF.js";
4
- const c = [
5
- { label: "SATS", value: "BTC", unit: "SATS" },
6
- { label: "USD", value: "USD", unit: "USD" }
7
- ], g = ["SATS", "BTC"], U = (r, l) => g.includes(l.toUpperCase()) ? r : Math.round(r * 100), k = (r, l) => g.includes(l.toUpperCase()) ? r : r / 100, B = ({
8
- eventType: r,
9
- getAppData: l,
10
- setAppData: s
11
- }) => {
12
- var y, h;
13
- const { t: a } = P(), i = l("price"), u = l("currency") || (c.length > 0 ? c[0].value : ""), [b, N] = p(
14
- c.find((e) => e.value === u) || (c.length > 0 ? {
15
- label: c[0].label,
16
- value: c[0].value
17
- } : null)
18
- ), v = l("paymentOption"), o = ((y = t) == null ? void 0 : y.find((e) => v === e.value)) || {
19
- label: t.length > 0 ? t[0].label : "",
20
- value: t.length > 0 ? t[0].value : ""
21
- }, f = !!r.seatsPerTimeSlot, [m, E] = p(l("enabled")), T = ((h = r.recurringEvent) == null ? void 0 : h.count) !== void 0;
22
- _(() => {
23
- m && !l("currency") && s("currency", c[0].value);
24
- }, [m, l, s]);
25
- const O = (e) => Math.floor(e);
26
- return /* @__PURE__ */ n(S, { children: T ? /* @__PURE__ */ n(x, { className: "mt-2", severity: "warning", title: a("warning_recurring_event_payment") }) : m && /* @__PURE__ */ d(S, { children: [
27
- /* @__PURE__ */ n("div", { className: "mt-4 block items-center justify-start sm:flex sm:space-x-2", children: /* @__PURE__ */ n(
28
- w,
29
- {
30
- label: a("price"),
31
- className: "text-black",
32
- addOnClassname: "h-[38px]",
33
- min: "1",
34
- type: "number",
35
- required: !0,
36
- placeholder: "Price",
37
- onChange: (e) => {
38
- s("price", U(Number(e.target.value), u));
39
- },
40
- value: i && i > 0 ? O(k(i, u)) : void 0
41
- }
42
- ) }),
43
- /* @__PURE__ */ d("div", { className: "mt-5 w-60", children: [
44
- /* @__PURE__ */ n("label", { className: "text-default block text-sm font-medium", htmlFor: "currency", children: a("currency") }),
45
- /* @__PURE__ */ n(
46
- C,
47
- {
48
- variant: "default",
49
- options: c,
50
- value: b,
51
- className: "text-black",
52
- defaultValue: b,
53
- onChange: (e) => {
54
- e && (N(e), s("currency", e.value));
55
- }
56
- }
57
- )
58
- ] }),
59
- /* @__PURE__ */ d("div", { className: "mt-2 w-60", children: [
60
- /* @__PURE__ */ n("label", { className: "text-default block text-sm font-medium", htmlFor: "paymentOption", children: a("payment_option") }),
61
- /* @__PURE__ */ n(
62
- C,
63
- {
64
- defaultValue: o ? { ...o, label: a(o.label) } : t.length > 0 ? { ...t[0], label: a(t[0].label) } : void 0,
65
- options: t.map((e) => ({ ...e, label: a(e.label) || e.label })),
66
- onChange: (e) => {
67
- e && s("paymentOption", e.value);
68
- },
69
- className: "mb-1 h-[38px] w-full",
70
- isDisabled: f
71
- }
72
- )
73
- ] }),
74
- f && v === "HOLD" && /* @__PURE__ */ n(x, { className: "mt-2", severity: "warning", title: a("seats_and_no_show_fee_error") })
75
- ] }) });
76
- };
77
- export {
78
- B as default
79
- };
@@ -1,14 +0,0 @@
1
- import { jsx as e, Fragment as a } from "react/jsx-runtime";
2
- import { x as o } from "./index-hbI4lcmF.js";
3
- function d(t) {
4
- const n = o("exchange2016_calendar");
5
- return /* @__PURE__ */ e(a, { children: t.render({
6
- onClick() {
7
- n.mutate("");
8
- },
9
- loading: n.isPending
10
- }) });
11
- }
12
- export {
13
- d as default
14
- };
@@ -1,14 +0,0 @@
1
- import { jsx as e, Fragment as a } from "react/jsx-runtime";
2
- import { x as o } from "./index-hbI4lcmF.js";
3
- function d(t) {
4
- const n = o("exchange2013_calendar");
5
- return /* @__PURE__ */ e(a, { children: t.render({
6
- onClick() {
7
- n.mutate("");
8
- },
9
- loading: n.isPending
10
- }) });
11
- }
12
- export {
13
- d as default
14
- };
@@ -1,29 +0,0 @@
1
- import { jsx as i, Fragment as a } from "react/jsx-runtime";
2
- import { useState as s } from "react";
3
- function f(n) {
4
- const o = async () => {
5
- const t = await fetch("/api/integrations/vital/token", {
6
- method: "POST",
7
- body: JSON.stringify({}),
8
- headers: {
9
- "Content-Type": "application/json"
10
- }
11
- });
12
- if (!t.ok)
13
- throw new Error("Failed to get link token");
14
- return await t.json();
15
- }, [r, e] = s(!1);
16
- return /* @__PURE__ */ i(a, { children: n.render({
17
- onClick() {
18
- e(!0), o().then((t) => {
19
- e(!1), window.open(`${t.url}&token=${t.token}`, "_self");
20
- }).catch((t) => {
21
- e(!1), console.error(t);
22
- });
23
- },
24
- loading: r
25
- }) });
26
- }
27
- export {
28
- f as default
29
- };
@@ -1,58 +0,0 @@
1
- import { jsxs as f, Fragment as l, jsx as m } from "react/jsx-runtime";
2
- import { useState as p } from "react";
3
- import { x as d, an as E, W as g } from "./index-hbI4lcmF.js";
4
- var s = /* @__PURE__ */ ((n) => (n.ACCOUNTS_STEP = "accounts", n.EVENT_TYPES_STEP = "event-types", n.CONFIGURE_STEP = "configure", n))(s || {}), i = function(n) {
5
- switch (typeof n) {
6
- case "string":
7
- return n;
8
- case "boolean":
9
- return n ? "true" : "false";
10
- case "number":
11
- return isFinite(n) ? n : "";
12
- default:
13
- return "";
14
- }
15
- }, y = function(n, t, e, o) {
16
- return t = t || "&", e = e || "=", n === null && (n = void 0), typeof n == "object" ? Object.keys(n).map(function(r) {
17
- var a = encodeURIComponent(i(r)) + e;
18
- return Array.isArray(n[r]) ? n[r].map(function(c) {
19
- return a + encodeURIComponent(i(c));
20
- }).join(t) : a + encodeURIComponent(i(n[r]));
21
- }).filter(Boolean).join(t) : o ? encodeURIComponent(i(o)) + e + encodeURIComponent(i(n)) : "";
22
- }, u;
23
- u = y;
24
- const C = ({
25
- slug: n,
26
- step: t,
27
- teamId: e
28
- }) => {
29
- const o = { slug: n };
30
- e && (o.teamId = e);
31
- const r = u(o);
32
- return `/apps/installation/${t}?${r}`;
33
- };
34
- function I(n) {
35
- const [t, e] = p(!1), o = d(null), r = () => {
36
- o.mutate({
37
- type: "office365_video",
38
- variant: "conferencing",
39
- slug: "msteams",
40
- returnTo: g + C({
41
- slug: "msteams",
42
- step: s.EVENT_TYPES_STEP
43
- })
44
- });
45
- };
46
- return /* @__PURE__ */ f(l, { children: [
47
- n.render({
48
- onClick() {
49
- e(!0);
50
- },
51
- disabled: t
52
- }),
53
- /* @__PURE__ */ m(E, { open: t, onOpenChange: e, handleSubmit: r })
54
- ] });
55
- }
56
- export {
57
- I as default
58
- };
@@ -1,493 +0,0 @@
1
- import { jsxs as H, jsx as g } from "react/jsx-runtime";
2
- import f, { useState as R, useEffect as Z } from "react";
3
- import { au as S, y as ee, b as Ce, u as G, W as Oe } from "./index-hbI4lcmF.js";
4
- function Y(n, e) {
5
- var t = Object.keys(n);
6
- if (Object.getOwnPropertySymbols) {
7
- var r = Object.getOwnPropertySymbols(n);
8
- e && (r = r.filter(function(i) {
9
- return Object.getOwnPropertyDescriptor(n, i).enumerable;
10
- })), t.push.apply(t, r);
11
- }
12
- return t;
13
- }
14
- function V(n) {
15
- for (var e = 1; e < arguments.length; e++) {
16
- var t = arguments[e] != null ? arguments[e] : {};
17
- e % 2 ? Y(Object(t), !0).forEach(function(r) {
18
- te(n, r, t[r]);
19
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(t)) : Y(Object(t)).forEach(function(r) {
20
- Object.defineProperty(n, r, Object.getOwnPropertyDescriptor(t, r));
21
- });
22
- }
23
- return n;
24
- }
25
- function A(n) {
26
- "@babel/helpers - typeof";
27
- return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? A = function(e) {
28
- return typeof e;
29
- } : A = function(e) {
30
- return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
31
- }, A(n);
32
- }
33
- function te(n, e, t) {
34
- return e in n ? Object.defineProperty(n, e, {
35
- value: t,
36
- enumerable: !0,
37
- configurable: !0,
38
- writable: !0
39
- }) : n[e] = t, n;
40
- }
41
- function Pe(n, e) {
42
- return we(n) || je(n, e) || xe(n, e) || Ae();
43
- }
44
- function we(n) {
45
- if (Array.isArray(n))
46
- return n;
47
- }
48
- function je(n, e) {
49
- var t = n && (typeof Symbol < "u" && n[Symbol.iterator] || n["@@iterator"]);
50
- if (t != null) {
51
- var r = [], i = !0, a = !1, d, l;
52
- try {
53
- for (t = t.call(n); !(i = (d = t.next()).done) && (r.push(d.value), !(e && r.length === e)); i = !0)
54
- ;
55
- } catch (o) {
56
- a = !0, l = o;
57
- } finally {
58
- try {
59
- !i && t.return != null && t.return();
60
- } finally {
61
- if (a)
62
- throw l;
63
- }
64
- }
65
- return r;
66
- }
67
- }
68
- function xe(n, e) {
69
- if (n) {
70
- if (typeof n == "string")
71
- return X(n, e);
72
- var t = Object.prototype.toString.call(n).slice(8, -1);
73
- if (t === "Object" && n.constructor && (t = n.constructor.name), t === "Map" || t === "Set")
74
- return Array.from(n);
75
- if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))
76
- return X(n, e);
77
- }
78
- }
79
- function X(n, e) {
80
- (e == null || e > n.length) && (e = n.length);
81
- for (var t = 0, r = new Array(e); t < e; t++)
82
- r[t] = n[t];
83
- return r;
84
- }
85
- function Ae() {
86
- throw new TypeError(`Invalid attempt to destructure non-iterable instance.
87
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
88
- }
89
- var T = function(e) {
90
- var t = f.useRef(e);
91
- return f.useEffect(function() {
92
- t.current = e;
93
- }, [e]), t.current;
94
- }, P = function(e) {
95
- return e !== null && A(e) === "object";
96
- }, Le = function(e) {
97
- return P(e) && typeof e.then == "function";
98
- }, Re = function(e) {
99
- return P(e) && typeof e.elements == "function" && typeof e.createToken == "function" && typeof e.createPaymentMethod == "function" && typeof e.confirmCardPayment == "function";
100
- }, z = "[object Object]", Ie = function n(e, t) {
101
- if (!P(e) || !P(t))
102
- return e === t;
103
- var r = Array.isArray(e), i = Array.isArray(t);
104
- if (r !== i)
105
- return !1;
106
- var a = Object.prototype.toString.call(e) === z, d = Object.prototype.toString.call(t) === z;
107
- if (a !== d)
108
- return !1;
109
- if (!a && !r)
110
- return e === t;
111
- var l = Object.keys(e), o = Object.keys(t);
112
- if (l.length !== o.length)
113
- return !1;
114
- for (var s = {}, c = 0; c < l.length; c += 1)
115
- s[l[c]] = !0;
116
- for (var y = 0; y < o.length; y += 1)
117
- s[o[y]] = !0;
118
- var u = Object.keys(s);
119
- if (u.length !== l.length)
120
- return !1;
121
- var b = e, _ = t, C = function(j) {
122
- return n(b[j], _[j]);
123
- };
124
- return u.every(C);
125
- }, ne = function(e, t, r) {
126
- return P(e) ? Object.keys(e).reduce(function(i, a) {
127
- var d = !P(t) || !Ie(e[a], t[a]);
128
- return r.includes(a) ? (d && console.warn("Unsupported prop change: options.".concat(a, " is not a mutable property.")), i) : d ? V(V({}, i || {}), {}, te({}, a, e[a])) : i;
129
- }, null) : null;
130
- }, ke = "Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.", J = function(e) {
131
- if (e === null || Re(e))
132
- return e;
133
- throw new Error(ke);
134
- }, Ne = function(e) {
135
- if (Le(e))
136
- return {
137
- tag: "async",
138
- stripePromise: Promise.resolve(e).then(J)
139
- };
140
- var t = J(e);
141
- return t === null ? {
142
- tag: "empty"
143
- } : {
144
- tag: "sync",
145
- stripe: t
146
- };
147
- }, $ = /* @__PURE__ */ f.createContext(null);
148
- $.displayName = "ElementsContext";
149
- var Te = function(e, t) {
150
- if (!e)
151
- throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(t, " in an <Elements> provider."));
152
- return e;
153
- }, re = function(e) {
154
- var t = e.stripe, r = e.options, i = e.children, a = f.useMemo(function() {
155
- return Ne(t);
156
- }, [t]), d = f.useState(function() {
157
- return {
158
- stripe: a.tag === "sync" ? a.stripe : null,
159
- elements: a.tag === "sync" ? a.stripe.elements(r) : null
160
- };
161
- }), l = Pe(d, 2), o = l[0], s = l[1];
162
- f.useEffect(function() {
163
- var u = !0, b = function(C) {
164
- s(function(w) {
165
- return w.stripe ? w : {
166
- stripe: C,
167
- elements: C.elements(r)
168
- };
169
- });
170
- };
171
- return a.tag === "async" && !o.stripe ? a.stripePromise.then(function(_) {
172
- _ && u && b(_);
173
- }) : a.tag === "sync" && !o.stripe && b(a.stripe), function() {
174
- u = !1;
175
- };
176
- }, [a, o, r]);
177
- var c = T(t);
178
- f.useEffect(function() {
179
- c !== null && c !== t && console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it.");
180
- }, [c, t]);
181
- var y = T(r);
182
- return f.useEffect(function() {
183
- if (o.elements) {
184
- var u = ne(r, y, ["clientSecret", "fonts"]);
185
- u && o.elements.update(u);
186
- }
187
- }, [r, y, o.elements]), f.useEffect(function() {
188
- var u = o.stripe;
189
- !u || !u._registerWrapper || !u.registerAppInfo || (u._registerWrapper({
190
- name: "react-stripe-js",
191
- version: "1.10.0"
192
- }), u.registerAppInfo({
193
- name: "react-stripe-js",
194
- version: "1.10.0",
195
- url: "https://stripe.com/docs/stripe-js/react"
196
- }));
197
- }, [o.stripe]), /* @__PURE__ */ f.createElement($.Provider, {
198
- value: o
199
- }, i);
200
- };
201
- re.propTypes = {
202
- stripe: S.any,
203
- options: S.object
204
- };
205
- var I = function(e) {
206
- var t = f.useContext($);
207
- return Te(t, e);
208
- }, $e = function() {
209
- var e = I("calls useElements()"), t = e.elements;
210
- return t;
211
- }, Be = function() {
212
- var e = I("calls useStripe()"), t = e.stripe;
213
- return t;
214
- };
215
- S.func.isRequired;
216
- var h = function(e) {
217
- var t = f.useRef(e);
218
- return f.useEffect(function() {
219
- t.current = e;
220
- }, [e]), function() {
221
- t.current && t.current.apply(t, arguments);
222
- };
223
- }, E = function() {
224
- }, Ue = function(e) {
225
- return e.charAt(0).toUpperCase() + e.slice(1);
226
- }, p = function(e, t) {
227
- var r = "".concat(Ue(e), "Element"), i = function(o) {
228
- var s = o.id, c = o.className, y = o.options, u = y === void 0 ? {} : y, b = o.onBlur, _ = b === void 0 ? E : b, C = o.onFocus, w = C === void 0 ? E : C, j = o.onReady, ce = j === void 0 ? E : j, U = o.onChange, ue = U === void 0 ? E : U, W = o.onEscape, le = W === void 0 ? E : W, F = o.onClick, fe = F === void 0 ? E : F, D = o.onLoadError, de = D === void 0 ? E : D, q = o.onLoaderStart, pe = q === void 0 ? E : q, me = I("mounts <".concat(r, ">")), M = me.elements, O = f.useRef(null), k = f.useRef(null), ye = h(ce), ve = h(_), ge = h(w), Se = h(fe), be = h(ue), he = h(le), Ee = h(de), _e = h(pe);
229
- f.useLayoutEffect(function() {
230
- if (O.current == null && M && k.current != null) {
231
- var v = M.create(e, u);
232
- O.current = v, v.mount(k.current), v.on("ready", function() {
233
- return ye(v);
234
- }), v.on("change", be), v.on("blur", ve), v.on("focus", ge), v.on("escape", he), v.on("loaderror", Ee), v.on("loaderstart", _e), v.on("click", Se);
235
- }
236
- });
237
- var K = T(u);
238
- return f.useEffect(function() {
239
- if (O.current) {
240
- var v = ne(u, K, ["paymentRequest"]);
241
- v && O.current.update(v);
242
- }
243
- }, [u, K]), f.useLayoutEffect(function() {
244
- return function() {
245
- O.current && (O.current.destroy(), O.current = null);
246
- };
247
- }, []), /* @__PURE__ */ f.createElement("div", {
248
- id: s,
249
- className: c,
250
- ref: k
251
- });
252
- }, a = function(o) {
253
- I("mounts <".concat(r, ">"));
254
- var s = o.id, c = o.className;
255
- return /* @__PURE__ */ f.createElement("div", {
256
- id: s,
257
- className: c
258
- });
259
- }, d = t ? a : i;
260
- return d.propTypes = {
261
- id: S.string,
262
- className: S.string,
263
- onChange: S.func,
264
- onBlur: S.func,
265
- onFocus: S.func,
266
- onReady: S.func,
267
- onClick: S.func,
268
- onLoadError: S.func,
269
- onLoaderStart: S.func,
270
- options: S.object
271
- }, d.displayName = r, d.__elementType = e, d;
272
- }, m = typeof window > "u";
273
- p("auBankAccount", m);
274
- p("card", m);
275
- p("cardNumber", m);
276
- p("cardExpiry", m);
277
- p("cardCvc", m);
278
- p("fpxBank", m);
279
- p("iban", m);
280
- p("idealBank", m);
281
- p("p24Bank", m);
282
- p("epsBank", m);
283
- var We = p("payment", m);
284
- p("paymentRequestButton", m);
285
- p("linkAuthentication", m);
286
- p("shippingAddress", m);
287
- p("affirmMessage", m);
288
- p("afterpayClearpayMessage", m);
289
- var B = {};
290
- Object.defineProperty(B, "__esModule", { value: !0 });
291
- function L(n) {
292
- "@babel/helpers - typeof";
293
- return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? L = function(e) {
294
- return typeof e;
295
- } : L = function(e) {
296
- return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
297
- }, L(n);
298
- }
299
- var ae = "https://js.stripe.com/v3", Fe = /^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/, Q = "loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used", De = function() {
300
- for (var e = document.querySelectorAll('script[src^="'.concat(ae, '"]')), t = 0; t < e.length; t++) {
301
- var r = e[t];
302
- if (Fe.test(r.src))
303
- return r;
304
- }
305
- return null;
306
- }, qe = function(e) {
307
- var t = e && !e.advancedFraudSignals ? "?advancedFraudSignals=false" : "", r = document.createElement("script");
308
- r.src = "".concat(ae).concat(t);
309
- var i = document.head || document.body;
310
- if (!i)
311
- throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");
312
- return i.appendChild(r), r;
313
- }, Me = function(e, t) {
314
- !e || !e._registerWrapper || e._registerWrapper({
315
- name: "stripe-js",
316
- version: "1.35.0",
317
- startTime: t
318
- });
319
- }, x = null, Ke = function(e) {
320
- return x !== null || (x = new Promise(function(t, r) {
321
- if (typeof window > "u") {
322
- t(null);
323
- return;
324
- }
325
- if (window.Stripe && e && console.warn(Q), window.Stripe) {
326
- t(window.Stripe);
327
- return;
328
- }
329
- try {
330
- var i = De();
331
- i && e ? console.warn(Q) : i || (i = qe(e)), i.addEventListener("load", function() {
332
- window.Stripe ? t(window.Stripe) : r(new Error("Stripe.js not available"));
333
- }), i.addEventListener("error", function() {
334
- r(new Error("Failed to load Stripe.js"));
335
- });
336
- } catch (a) {
337
- r(a);
338
- return;
339
- }
340
- })), x;
341
- }, He = function(e, t, r) {
342
- if (e === null)
343
- return null;
344
- var i = e.apply(void 0, t);
345
- return Me(i, r), i;
346
- }, Ge = function(e) {
347
- var t = `invalid load parameters; expected object of shape
348
-
349
- {advancedFraudSignals: boolean}
350
-
351
- but received
352
-
353
- `.concat(JSON.stringify(e), `
354
- `);
355
- if (e === null || L(e) !== "object")
356
- throw new Error(t);
357
- if (Object.keys(e).length === 1 && typeof e.advancedFraudSignals == "boolean")
358
- return e;
359
- throw new Error(t);
360
- }, oe, ie = !1, se = function() {
361
- for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
362
- t[r] = arguments[r];
363
- ie = !0;
364
- var i = Date.now();
365
- return Ke(oe).then(function(a) {
366
- return He(a, t, i);
367
- });
368
- };
369
- se.setLoadParameters = function(n) {
370
- if (ie)
371
- throw new Error("You cannot change load parameters after calling loadStripe");
372
- oe = Ge(n);
373
- };
374
- B.loadStripe = se;
375
- var Ye = B;
376
- const Ve = process.env.NEXT_PUBLIC_STRIPE_PUBLIC_KEY || "";
377
- let N;
378
- const Xe = (n) => (N || (N = Ye.loadStripe(
379
- n || Ve
380
- /* , {
381
- locale: "es-419" TODO: Handle multiple locales,
382
- } */
383
- )), N), ze = Xe, Je = (n) => {
384
- const { t: e, i18n: t } = ee(), { paymentOption: r, elements: i, state: a, onPaymentElementChange: d } = n, [l, o] = R(!1), [s, c] = R(r !== "HOLD"), y = l || !s || ["processing", "error"].includes(a.status), u = {
385
- layout: "accordion"
386
- };
387
- return Z(() => {
388
- i == null || i.update({ locale: t.language });
389
- }, [i, t.language]), /* @__PURE__ */ H("form", { id: "payment-form", className: "bg-subtle mt-4 rounded-md p-6", onSubmit: n.onSubmit, children: [
390
- /* @__PURE__ */ g("div", { children: /* @__PURE__ */ g(We, { options: u, onChange: (b) => d() }) }),
391
- r === "HOLD" && /* @__PURE__ */ g("div", { className: "bg-info mb-5 mt-2 rounded-md p-3", children: /* @__PURE__ */ g(
392
- Ce,
393
- {
394
- description: e("acknowledge_booking_no_show_fee", {
395
- amount: n.payment.amount / 100,
396
- formatParams: { amount: { currency: n.payment.currency } }
397
- }),
398
- onChange: (b) => c(b.target.checked),
399
- descriptionClassName: "text-info font-semibold"
400
- }
401
- ) }),
402
- /* @__PURE__ */ H("div", { className: "mt-2 flex justify-end space-x-2", children: [
403
- /* @__PURE__ */ g(
404
- G,
405
- {
406
- color: "minimal",
407
- disabled: y,
408
- id: "cancel",
409
- type: "button",
410
- loading: l,
411
- onClick: () => {
412
- o(!0), n.onCancel();
413
- },
414
- children: /* @__PURE__ */ g("span", { id: "button-text", children: e("cancel") })
415
- }
416
- ),
417
- /* @__PURE__ */ g(
418
- G,
419
- {
420
- type: "submit",
421
- disabled: y,
422
- loading: a.status === "processing",
423
- id: "submit",
424
- color: "secondary",
425
- children: /* @__PURE__ */ g("span", { id: "button-text", children: a.status === "processing" ? /* @__PURE__ */ g("div", { className: "spinner", id: "spinner" }) : e(r === "HOLD" ? "submit_card" : "pay_now") })
426
- }
427
- )
428
- ] }),
429
- a.status === "error" && /* @__PURE__ */ g("div", { className: "mt-4 text-center text-red-900 dark:text-gray-300", role: "alert", children: a.error.message })
430
- ] });
431
- }, Qe = (n) => {
432
- const { t: e } = ee(), t = $e(), r = n.payment.paymentOption, i = n.booking.attendees[0].email, a = Be(), [d, l] = R({ status: "idle" });
433
- return /* @__PURE__ */ g(
434
- Je,
435
- {
436
- ...n,
437
- elements: t,
438
- paymentOption: r,
439
- state: d,
440
- onSubmit: async (o) => {
441
- var y;
442
- if (o.preventDefault(), !a || !t)
443
- return;
444
- l({ status: "processing" });
445
- let s;
446
- const c = {
447
- uid: n.booking.uid,
448
- email: i
449
- };
450
- r === "HOLD" && "setupIntent" in n.payment.data ? (s = await a.confirmSetup({
451
- elements: t,
452
- redirect: "if_required"
453
- }), s.setupIntent && (c.payment_intent = s.setupIntent.id, c.payment_intent_client_secret = s.setupIntent.client_secret || void 0, c.redirect_status = s.setupIntent.status)) : r === "ON_BOOKING" && (s = await a.confirmPayment({
454
- elements: t,
455
- redirect: "if_required",
456
- confirmParams: {
457
- return_url: `${Oe}/booking/${c.uid}`
458
- }
459
- }), s.paymentIntent && (c.payment_intent = s.paymentIntent.id, c.payment_intent_client_secret = s.paymentIntent.client_secret || void 0, c.redirect_status = s.paymentIntent.status)), s != null && s.error ? l({
460
- status: "error",
461
- error: new Error(`Payment failed: ${s.error.message}`)
462
- }) : (l({ status: "idle" }), (y = n.onPaymentSuccess) == null || y.call(n, n), n.location && (n.location.includes("integration") ? c.location = e("web_conferencing_details_to_follow") : c.location = n.location));
463
- },
464
- onCancel: () => {
465
- var o;
466
- (o = n.onPaymentCancellation) == null || o.call(n, n);
467
- },
468
- onPaymentElementChange: () => {
469
- l({ status: "idle" });
470
- }
471
- }
472
- );
473
- }, nt = (n) => {
474
- const e = ze(n.payment.data.stripe_publishable_key), [t, r] = R("stripe");
475
- return Z(() => {
476
- document.documentElement.classList.contains("dark") && r("night");
477
- }, []), /* @__PURE__ */ g(
478
- re,
479
- {
480
- stripe: e,
481
- options: {
482
- clientSecret: n.clientSecret,
483
- appearance: {
484
- theme: t
485
- }
486
- },
487
- children: /* @__PURE__ */ g(Qe, { ...n })
488
- }
489
- );
490
- };
491
- export {
492
- nt as default
493
- };