@calcom/atoms 1.0.97-beta-3 → 1.0.97-booker-2

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 (72) hide show
  1. package/dist/{AddressInput-LPJtHhnk.js → AddressInput-W-XdY4qU.js} +3 -3
  2. package/dist/{AlbyPriceComponent-VO8iEUWb.js → AlbyPriceComponent-nBe_4ylu.js} +19 -19
  3. package/dist/{PhoneInput-saKL4loW.js → PhoneInput-iIT9lpZf.js} +2 -2
  4. package/dist/cal-atoms.js +3 -34
  5. package/dist/{framer-features-K_TB52kd.js → framer-features-swH-ehNh.js} +63 -63
  6. package/dist/{index-IPz9Apiv.js → index-0motN_6U.js} +1 -1
  7. package/dist/index-aZS0_Iu8.js +1957 -0
  8. package/dist/index-iVm4HGuW.js +79423 -0
  9. package/dist/index-mBOxto7x.js +1258 -0
  10. package/dist/isSupportedCountry-xN7Xshgi.js +487 -0
  11. package/dist/packages/platform/atoms/index.d.ts +0 -32
  12. package/dist/packages/platform/atoms/index.d.ts.map +1 -1
  13. package/dist/style.css +1 -1
  14. package/globals.min.css +2 -22
  15. package/package.json +1 -1
  16. package/dist/AppCard-cTyZ7qdO.js +0 -162
  17. package/dist/AppListCardPlatformWrapper-ErlT9yQV.js +0 -9
  18. package/dist/AppListCardWebWrapper-nLRKr-Qu.js +0 -74
  19. package/dist/AppSettingsInterface-1iuEhZRw.js +0 -23
  20. package/dist/AppSettingsInterface-9nYzo3Ef.js +0 -29
  21. package/dist/AppSettingsInterface-Y7iloRRd.js +0 -75
  22. package/dist/DateRangePicker-zh9gM3ld.js +0 -2401
  23. package/dist/EventTypeAppCardInterface-0tcE4MHz.js +0 -32
  24. package/dist/EventTypeAppCardInterface-2xzo_8rb.js +0 -453
  25. package/dist/EventTypeAppCardInterface-3xv7ZK_G.js +0 -41
  26. package/dist/EventTypeAppCardInterface-4dkcilsD.js +0 -51
  27. package/dist/EventTypeAppCardInterface-A7WN14Mn.js +0 -34
  28. package/dist/EventTypeAppCardInterface-BbJv67UJ.js +0 -49
  29. package/dist/EventTypeAppCardInterface-D42_2WwA.js +0 -42
  30. package/dist/EventTypeAppCardInterface-F9zy0_KX.js +0 -24
  31. package/dist/EventTypeAppCardInterface-LB9yguQb.js +0 -39
  32. package/dist/EventTypeAppCardInterface-PGX33FFN.js +0 -42
  33. package/dist/EventTypeAppCardInterface-PaCD78C8.js +0 -33
  34. package/dist/EventTypeAppCardInterface-QiaQ-GmU.js +0 -51
  35. package/dist/EventTypeAppCardInterface-S5bK4a_4.js +0 -24
  36. package/dist/EventTypeAppCardInterface-SXV5NhVT.js +0 -24
  37. package/dist/EventTypeAppCardInterface-SdCRwS0b.js +0 -34
  38. package/dist/EventTypeAppCardInterface-TV1GspR-.js +0 -41
  39. package/dist/EventTypeAppCardInterface-WrBEdjss.js +0 -86
  40. package/dist/EventTypeAppCardInterface-Xl60vAW7.js +0 -34
  41. package/dist/EventTypeAppCardInterface-bY6zHj23.js +0 -34
  42. package/dist/EventTypeAppCardInterface-bpyx9DoB.js +0 -34
  43. package/dist/EventTypeAppCardInterface-dSD0TA4p.js +0 -34
  44. package/dist/EventTypeAppCardInterface-hulmgxtc.js +0 -24
  45. package/dist/EventTypeAppCardInterface-n8fugRqn.js +0 -32
  46. package/dist/EventTypeAppCardInterface-qqnnC5vq.js +0 -24
  47. package/dist/EventTypeAppCardInterface-rVMclz_u.js +0 -34
  48. package/dist/EventTypeAppCardInterface-zXewU-bg.js +0 -31
  49. package/dist/EventTypeAppSettingsInterface-2oHFXxC0.js +0 -221
  50. package/dist/EventTypeAppSettingsInterface-5hQr6WTa.js +0 -25
  51. package/dist/EventTypeAppSettingsInterface-CwuQI4XA.js +0 -120
  52. package/dist/EventTypeAppSettingsInterface-HGPywPcZ.js +0 -43
  53. package/dist/EventTypeAppSettingsInterface-MLox-zIr.js +0 -78
  54. package/dist/EventTypeAppSettingsInterface-azMpYm3v.js +0 -48
  55. package/dist/EventTypeAppSettingsInterface-ccBCyO4S.js +0 -23
  56. package/dist/EventTypeAppSettingsInterface-jCOnJXVq.js +0 -42
  57. package/dist/EventTypeAppSettingsInterface-rUp-tPsO.js +0 -72
  58. package/dist/EventTypeAppSettingsInterface-sOLaF1pR.js +0 -23
  59. package/dist/EventTypeAppSettingsInterface-v8a7XnIr.js +0 -24
  60. package/dist/EventTypeAppSettingsInterface-xlYsU6Vi.js +0 -298
  61. package/dist/InstallAppButton-34JAPxwK.js +0 -14
  62. package/dist/InstallAppButton-JXhBVaYJ.js +0 -29
  63. package/dist/InstallAppButton-ihX89_K4.js +0 -58
  64. package/dist/InstallAppButton-zjD9dbE7.js +0 -14
  65. package/dist/StripePaymentForm-dfxxUj2E.js +0 -493
  66. package/dist/currencyOptions-kannG2hu.js +0 -61
  67. package/dist/index-81plgMPe.js +0 -28
  68. package/dist/index-engsJK56.js +0 -511
  69. package/dist/index-ite7gJ1a.js +0 -13
  70. package/dist/index-ykl8OQ78.js +0 -154402
  71. package/dist/isSupportedCountry-RPoEk3Bi.js +0 -7
  72. package/dist/useIsAppEnabled-jQTpW-EN.js +0 -18
@@ -1,5 +1,5 @@
1
1
  import { jsxs as m, jsx as e } from "react/jsx-runtime";
2
- import { a4 as n, j as o, Z as c } from "./index-ykl8OQ78.js";
2
+ import { I as n, b as c, c as o } from "./index-iVm4HGuW.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,6 +1,6 @@
1
1
  import { jsx as z, jsxs as er } from "react/jsx-runtime";
2
2
  import J from "react";
3
- import { Y as tr, a5 as nr } from "./index-ykl8OQ78.js";
3
+ import { d as tr, S as nr } from "./index-iVm4HGuW.js";
4
4
  const K = function(s, r = !0) {
5
5
  if (s.destroyed)
6
6
  throw new Error("Hash instance has been destroyed");
@@ -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,20 +431,20 @@ 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
449
  const [c, f] = J.useState("loading...");
450
450
  return J.useEffect(() => {
@@ -1,7 +1,7 @@
1
1
  import { jsx as vt } from "react/jsx-runtime";
2
2
  import Bt, { useState as Gt, useEffect as $t } from "react";
3
- import { as as Vt, ak as qt, Z as It, R as Kt } from "./index-ykl8OQ78.js";
4
- import { i as Ut } from "./isSupportedCountry-RPoEk3Bi.js";
3
+ import { g as Vt, u as qt, c as It, t as Kt } from "./index-iVm4HGuW.js";
4
+ import { i as Ut } from "./isSupportedCountry-xN7Xshgi.js";
5
5
  var Wt = function(U) {
6
6
  var J = {};
7
7
  function s(u) {
package/dist/cal-atoms.js CHANGED
@@ -1,36 +1,5 @@
1
- import { aX as s, aY as t, b9 as n, aV as o, bh as b, bj as r, b8 as l, bl as C, bg as i, bi as u, aW as d, b7 as c, bm as g, ba as m, bf as p, bk as v, bc as y, aZ as S, b4 as T, b5 as E, b3 as k, a_ as B, bn as f, bo as A, bb as P, b1 as x, b2 as D, a$ as I, ak as R, b6 as h, bd as j, b0 as F, be as G } from "./index-ykl8OQ78.js";
1
+ import { av as r, au as e } from "./index-iVm4HGuW.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
- l as Connect,
10
- C as CreateEventType,
11
- i as DestinationCalendarSettings,
12
- u as EventTypeSettings,
13
- d as GcalConnect,
14
- c as OutlookConnect,
15
- g as PaymentForm,
16
- m as Router,
17
- p as SelectedCalendarsSettings,
18
- v as StripeConnect,
19
- y as useAddSelectedCalendar,
20
- S as useAtomsContext,
21
- T 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
- x as useEvent,
29
- D as useEventTypeById,
30
- I as useEventTypes,
31
- R as useIsPlatform,
32
- h as useMe,
33
- j as useRemoveSelectedCalendar,
34
- F as useTeamEventTypes,
35
- G as useTeams
3
+ r as Booker,
4
+ e as CalProvider
36
5
  };
@@ -1,4 +1,4 @@
1
- import { aE as L, aF as V, aG as H, aH as B, aI as j, aJ as q, aK as W, aL as Q, aM as re, aN as ie, aO as oe, aP as ae } from "./index-ykl8OQ78.js";
1
+ import { ai as L, aj as V, ak as D, al as M, am as X, an as Y, ao as _, ap as Q, aq as re, ar as ie, as as oe, at as ae } from "./index-iVm4HGuW.js";
2
2
  function b(t, e, n, s = { passive: !0 }) {
3
3
  return t.addEventListener(e, n, s), () => t.removeEventListener(e, n);
4
4
  }
@@ -12,7 +12,7 @@ function Z(t, e = "page") {
12
12
  };
13
13
  }
14
14
  const ue = (t) => (e) => ce(e) && t(e, Z(e));
15
- function O(t, e, n, s) {
15
+ function T(t, e, n, s) {
16
16
  return b(t, e, ue(n), s);
17
17
  }
18
18
  function $(t) {
@@ -24,15 +24,15 @@ function $(t) {
24
24
  return e === null ? (e = t, n) : !1;
25
25
  };
26
26
  }
27
- const _ = $("dragHorizontal"), X = $("dragVertical");
27
+ const j = $("dragHorizontal"), q = $("dragVertical");
28
28
  function le(t) {
29
29
  let e = !1;
30
30
  if (t === "y")
31
- e = X();
31
+ e = q();
32
32
  else if (t === "x")
33
- e = _();
33
+ e = j();
34
34
  else {
35
- const n = _(), s = X();
35
+ const n = j(), s = q();
36
36
  n && s ? e = () => {
37
37
  n(), s();
38
38
  } : (n && n(), s && s());
@@ -50,20 +50,20 @@ class w {
50
50
  update() {
51
51
  }
52
52
  }
53
- function Y(t, e) {
53
+ function J(t, e) {
54
54
  const n = "pointer" + (e ? "enter" : "leave"), s = "onHover" + (e ? "Start" : "End"), o = (a, l) => {
55
55
  if (a.type === "touch" || ee())
56
56
  return;
57
57
  const c = t.getProps();
58
58
  t.animationState && c.whileHover && t.animationState.setActive("whileHover", e), c[s] && V.update(() => c[s](a, l));
59
59
  };
60
- return O(t.current, n, o, {
60
+ return T(t.current, n, o, {
61
61
  passive: !t.getProps()[s]
62
62
  });
63
63
  }
64
64
  class he extends w {
65
65
  mount() {
66
- this.unmount = L(Y(this.node, !0), Y(this.node, !1));
66
+ this.unmount = L(J(this.node, !0), J(this.node, !1));
67
67
  }
68
68
  unmount() {
69
69
  }
@@ -91,7 +91,7 @@ class de extends w {
91
91
  }
92
92
  }
93
93
  const te = (t, e) => e ? t === e ? !0 : te(t, e.parentElement) : !1;
94
- function K(t, e) {
94
+ function H(t, e) {
95
95
  if (!e)
96
96
  return;
97
97
  const n = new PointerEvent("pointer" + t);
@@ -99,33 +99,33 @@ function K(t, e) {
99
99
  }
100
100
  class fe extends w {
101
101
  constructor() {
102
- super(...arguments), this.removeStartListeners = H, this.removeEndListeners = H, this.removeAccessibleListeners = H, this.startPointerPress = (e, n) => {
102
+ super(...arguments), this.removeStartListeners = D, this.removeEndListeners = D, this.removeAccessibleListeners = D, this.startPointerPress = (e, n) => {
103
103
  if (this.removeEndListeners(), this.isPressing)
104
104
  return;
105
- const s = this.node.getProps(), a = O(window, "pointerup", (c, i) => {
105
+ const s = this.node.getProps(), a = T(window, "pointerup", (c, i) => {
106
106
  if (!this.checkPressEnd())
107
107
  return;
108
108
  const { onTap: r, onTapCancel: u } = this.node.getProps();
109
109
  V.update(() => {
110
110
  te(this.node.current, c.target) ? r && r(c, i) : u && u(c, i);
111
111
  });
112
- }, { passive: !(s.onTap || s.onPointerUp) }), l = O(window, "pointercancel", (c, i) => this.cancelPress(c, i), { passive: !(s.onTapCancel || s.onPointerCancel) });
112
+ }, { passive: !(s.onTap || s.onPointerUp) }), l = T(window, "pointercancel", (c, i) => this.cancelPress(c, i), { passive: !(s.onTapCancel || s.onPointerCancel) });
113
113
  this.removeEndListeners = L(a, l), this.startPress(e, n);
114
114
  }, this.startAccessiblePress = () => {
115
115
  const e = (a) => {
116
116
  if (a.key !== "Enter" || this.isPressing)
117
117
  return;
118
118
  const l = (c) => {
119
- c.key !== "Enter" || !this.checkPressEnd() || K("up", (i, r) => {
119
+ c.key !== "Enter" || !this.checkPressEnd() || H("up", (i, r) => {
120
120
  const { onTap: u } = this.node.getProps();
121
121
  u && V.update(() => u(i, r));
122
122
  });
123
123
  };
124
- this.removeEndListeners(), this.removeEndListeners = b(this.node.current, "keyup", l), K("down", (c, i) => {
124
+ this.removeEndListeners(), this.removeEndListeners = b(this.node.current, "keyup", l), H("down", (c, i) => {
125
125
  this.startPress(c, i);
126
126
  });
127
127
  }, n = b(this.node.current, "keydown", e), s = () => {
128
- this.isPressing && K("cancel", (a, l) => this.cancelPress(a, l));
128
+ this.isPressing && H("cancel", (a, l) => this.cancelPress(a, l));
129
129
  }, o = b(this.node.current, "blur", s);
130
130
  this.removeAccessibleListeners = L(n, o);
131
131
  };
@@ -145,29 +145,29 @@ class fe extends w {
145
145
  s && V.update(() => s(e, n));
146
146
  }
147
147
  mount() {
148
- const e = this.node.getProps(), n = O(this.node.current, "pointerdown", this.startPointerPress, { passive: !(e.onTapStart || e.onPointerStart) }), s = b(this.node.current, "focus", this.startAccessiblePress);
148
+ const e = this.node.getProps(), n = T(this.node.current, "pointerdown", this.startPointerPress, { passive: !(e.onTapStart || e.onPointerStart) }), s = b(this.node.current, "focus", this.startAccessiblePress);
149
149
  this.removeStartListeners = L(n, s);
150
150
  }
151
151
  unmount() {
152
152
  this.removeStartListeners(), this.removeEndListeners(), this.removeAccessibleListeners();
153
153
  }
154
154
  }
155
- const G = /* @__PURE__ */ new WeakMap(), D = /* @__PURE__ */ new WeakMap(), pe = (t) => {
156
- const e = G.get(t.target);
155
+ const B = /* @__PURE__ */ new WeakMap(), K = /* @__PURE__ */ new WeakMap(), pe = (t) => {
156
+ const e = B.get(t.target);
157
157
  e && e(t);
158
158
  }, me = (t) => {
159
159
  t.forEach(pe);
160
160
  };
161
161
  function ve({ root: t, ...e }) {
162
162
  const n = t || document;
163
- D.has(n) || D.set(n, {});
164
- const s = D.get(n), o = JSON.stringify(e);
163
+ K.has(n) || K.set(n, {});
164
+ const s = K.get(n), o = JSON.stringify(e);
165
165
  return s[o] || (s[o] = new IntersectionObserver(me, { root: t, ...e })), s[o];
166
166
  }
167
167
  function Pe(t, e, n) {
168
168
  const s = ve(e);
169
- return G.set(t, n), s.observe(t), () => {
170
- G.delete(t), s.unobserve(t);
169
+ return B.set(t, n), s.observe(t), () => {
170
+ B.delete(t), s.unobserve(t);
171
171
  };
172
172
  }
173
173
  const ge = {
@@ -234,11 +234,11 @@ function ne(t, e) {
234
234
  return !1;
235
235
  return !0;
236
236
  }
237
- function M(t, e, n = {}) {
238
- const s = B(t, e, n.custom);
237
+ function G(t, e, n = {}) {
238
+ const s = M(t, e, n.custom);
239
239
  let { transition: o = t.getDefaultTransition() || {} } = s || {};
240
240
  n.transitionOverride && (o = n.transitionOverride);
241
- const a = s ? () => Promise.all(j(t, s, n)) : () => Promise.resolve(), l = t.variantChildren && t.variantChildren.size ? (i = 0) => {
241
+ const a = s ? () => Promise.all(X(t, s, n)) : () => Promise.resolve(), l = t.variantChildren && t.variantChildren.size ? (i = 0) => {
242
242
  const { delayChildren: r = 0, staggerChildren: u, staggerDirection: p } = o;
243
243
  return we(t, e, r + i, u, p, n);
244
244
  } : () => Promise.resolve(), { when: c } = o;
@@ -251,7 +251,7 @@ function M(t, e, n = {}) {
251
251
  function we(t, e, n = 0, s = 0, o = 1, a) {
252
252
  const l = [], c = (t.variantChildren.size - 1) * s, i = o === 1 ? (r = 0) => r * s : (r = 0) => c - r * s;
253
253
  return Array.from(t.variantChildren).sort(Se).forEach((r, u) => {
254
- r.notify("AnimationStart", e), l.push(M(r, e, {
254
+ r.notify("AnimationStart", e), l.push(G(r, e, {
255
255
  ...a,
256
256
  delay: n + i(u)
257
257
  }).then(() => r.notify("AnimationComplete", e)));
@@ -264,13 +264,13 @@ function Ce(t, e, n = {}) {
264
264
  t.notify("AnimationStart", e);
265
265
  let s;
266
266
  if (Array.isArray(e)) {
267
- const o = e.map((a) => M(t, a, n));
267
+ const o = e.map((a) => G(t, a, n));
268
268
  s = Promise.all(o);
269
269
  } else if (typeof e == "string")
270
- s = M(t, e, n);
270
+ s = G(t, e, n);
271
271
  else {
272
- const o = typeof e == "function" ? B(t, e, n.custom) : e;
273
- s = Promise.all(j(t, o, n));
272
+ const o = typeof e == "function" ? M(t, e, n.custom) : e;
273
+ s = Promise.all(X(t, o, n));
274
274
  }
275
275
  return s.then(() => t.notify("AnimationComplete", e));
276
276
  }
@@ -278,12 +278,12 @@ const Ve = [...Q].reverse(), Le = Q.length;
278
278
  function ke(t) {
279
279
  return (e) => Promise.all(e.map(({ animation: n, options: s }) => Ce(t, n, s)));
280
280
  }
281
- function Oe(t) {
281
+ function Te(t) {
282
282
  let e = ke(t);
283
- const n = Ie();
283
+ const n = xe();
284
284
  let s = !0;
285
285
  const o = (i, r) => {
286
- const u = B(t, r);
286
+ const u = M(t, r);
287
287
  if (u) {
288
288
  const { transition: p, transitionEnd: m, ...v } = u;
289
289
  i = { ...i, ...v, ...m };
@@ -297,32 +297,32 @@ function Oe(t) {
297
297
  const u = t.getProps(), p = t.getVariantContext(!0) || {}, m = [], v = /* @__PURE__ */ new Set();
298
298
  let g = {}, z = 1 / 0;
299
299
  for (let A = 0; A < Le; A++) {
300
- const f = Ve[A], h = n[f], P = u[f] !== void 0 ? u[f] : p[f], T = re(P), I = f === r ? h.isActive : null;
301
- I === !1 && (z = A);
302
- let k = P === p[f] && P !== u[f] && T;
300
+ const f = Ve[A], h = n[f], P = u[f] !== void 0 ? u[f] : p[f], O = re(P), x = f === r ? h.isActive : null;
301
+ x === !1 && (z = A);
302
+ let k = P === p[f] && P !== u[f] && O;
303
303
  if (k && s && t.manuallyAnimateOnMount && (k = !1), h.protectedKeys = { ...g }, // If it isn't active and hasn't *just* been set as inactive
304
- !h.isActive && I === null || // If we didn't and don't have any defined prop for this animation type
304
+ !h.isActive && x === null || // If we didn't and don't have any defined prop for this animation type
305
305
  !P && !h.prevProp || // Or if the prop doesn't define an animation
306
- q(P) || typeof P == "boolean")
306
+ Y(P) || typeof P == "boolean")
307
307
  continue;
308
- const R = Te(h.prevProp, P);
309
- let x = R || // If we're making this variant active, we want to always make it active
310
- f === r && h.isActive && !k && T || // If we removed a higher-priority variant (i is in reverse order)
311
- A > z && T;
308
+ const N = Oe(h.prevProp, P);
309
+ let I = N || // If we're making this variant active, we want to always make it active
310
+ f === r && h.isActive && !k && O || // If we removed a higher-priority variant (i is in reverse order)
311
+ A > z && O;
312
312
  const U = Array.isArray(P) ? P : [P];
313
313
  let S = U.reduce(o, {});
314
- I === !1 && (S = {});
315
- const { prevResolvedValues: J = {} } = h, se = {
316
- ...J,
314
+ x === !1 && (S = {});
315
+ const { prevResolvedValues: W = {} } = h, se = {
316
+ ...W,
317
317
  ...S
318
318
  }, F = (d) => {
319
- x = !0, v.delete(d), h.needsAnimating[d] = !0;
319
+ I = !0, v.delete(d), h.needsAnimating[d] = !0;
320
320
  };
321
321
  for (const d in se) {
322
- const C = S[d], E = J[d];
323
- g.hasOwnProperty(d) || (C !== E ? W(C) && W(E) ? !ne(C, E) || R ? F(d) : h.protectedKeys[d] = !0 : C !== void 0 ? F(d) : v.add(d) : C !== void 0 && v.has(d) ? F(d) : h.protectedKeys[d] = !0);
322
+ const C = S[d], E = W[d];
323
+ g.hasOwnProperty(d) || (C !== E ? _(C) && _(E) ? !ne(C, E) || N ? F(d) : h.protectedKeys[d] = !0 : C !== void 0 ? F(d) : v.add(d) : C !== void 0 && v.has(d) ? F(d) : h.protectedKeys[d] = !0);
324
324
  }
325
- h.prevProp = P, h.prevResolvedValues = S, h.isActive && (g = { ...g, ...S }), s && t.blockInitialAnimation && (x = !1), x && !k && m.push(...U.map((d) => ({
325
+ h.prevProp = P, h.prevResolvedValues = S, h.isActive && (g = { ...g, ...S }), s && t.blockInitialAnimation && (I = !1), I && !k && m.push(...U.map((d) => ({
326
326
  animation: d,
327
327
  options: { type: f, ...i }
328
328
  })));
@@ -334,8 +334,8 @@ function Oe(t) {
334
334
  h !== void 0 && (A[f] = h);
335
335
  }), m.push({ animation: A });
336
336
  }
337
- let N = !!m.length;
338
- return s && u.initial === !1 && !t.manuallyAnimateOnMount && (N = !1), s = !1, N ? e(m) : Promise.resolve();
337
+ let R = !!m.length;
338
+ return s && u.initial === !1 && !t.manuallyAnimateOnMount && (R = !1), s = !1, R ? e(m) : Promise.resolve();
339
339
  }
340
340
  function c(i, r, u) {
341
341
  var p;
@@ -357,7 +357,7 @@ function Oe(t) {
357
357
  getState: () => n
358
358
  };
359
359
  }
360
- function Te(t, e) {
360
+ function Oe(t, e) {
361
361
  return typeof e == "string" ? e !== t : Array.isArray(e) ? !ne(e, t) : !1;
362
362
  }
363
363
  function y(t = !1) {
@@ -368,7 +368,7 @@ function y(t = !1) {
368
368
  prevResolvedValues: {}
369
369
  };
370
370
  }
371
- function Ie() {
371
+ function xe() {
372
372
  return {
373
373
  animate: y(!0),
374
374
  whileInView: y(),
@@ -379,18 +379,18 @@ function Ie() {
379
379
  exit: y()
380
380
  };
381
381
  }
382
- class xe extends w {
382
+ class Ie extends w {
383
383
  /**
384
384
  * We dynamically generate the AnimationState manager as it contains a reference
385
385
  * to the underlying animation library. We only want to load that if we load this,
386
386
  * so people can optionally code split it out using the `m` component.
387
387
  */
388
388
  constructor(e) {
389
- super(e), e.animationState || (e.animationState = Oe(e));
389
+ super(e), e.animationState || (e.animationState = Te(e));
390
390
  }
391
391
  updateAnimationControlsSubscription() {
392
392
  const { animate: e } = this.node.getProps();
393
- this.unmount(), q(e) && (this.unmount = e.subscribe(this.node));
393
+ this.unmount(), Y(e) && (this.unmount = e.subscribe(this.node));
394
394
  }
395
395
  /**
396
396
  * Subscribe any provided AnimationControls to the component's VisualElement
@@ -426,18 +426,18 @@ class Ee extends w {
426
426
  unmount() {
427
427
  }
428
428
  }
429
- const He = {
429
+ const De = {
430
430
  animation: {
431
- Feature: xe
431
+ Feature: Ie
432
432
  },
433
433
  exit: {
434
434
  Feature: Ee
435
435
  }
436
- }, Ke = (t, e) => ie(t) ? new oe(e, { enableHardwareAcceleration: !1 }) : new ae(e, { enableHardwareAcceleration: !0 }), Ge = {
437
- renderer: Ke,
438
- ...He,
436
+ }, He = (t, e) => ie(t) ? new oe(e, { enableHardwareAcceleration: !1 }) : new ae(e, { enableHardwareAcceleration: !0 }), Be = {
437
+ renderer: He,
438
+ ...De,
439
439
  ...be
440
440
  };
441
441
  export {
442
- Ge as default
442
+ Be as default
443
443
  };
@@ -1,4 +1,4 @@
1
- import { T as m, b as n } from "./index-ykl8OQ78.js";
1
+ import { T as m, a as n } from "./index-iVm4HGuW.js";
2
2
  export {
3
3
  m as TimezoneSelect,
4
4
  n as TimezoneSelectComponent