@getmicdrop/venue-calendar 4.3.30 → 4.3.31

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 (100) hide show
  1. package/dist/{ArrowLeftIcon-BEoyQzGt.js → ArrowLeftIcon-Bg70__J7.js} +1 -1
  2. package/dist/{BlockPlaceholder-BEiQTRGx.js → BlockPlaceholder-CsW21FJP.js} +1 -1
  3. package/dist/{Calendar-D27gfN0x.js → Calendar-Cdj7mgsh.js} +60 -60
  4. package/dist/{CalendarFoundryView-Dy1wY7cG.js → CalendarFoundryView-CtdwX2SN.js} +2597 -2555
  5. package/dist/{CalendarIcon-DxOagkl5.js → CalendarIcon-BONrcnBR.js} +1 -1
  6. package/dist/{CartView-B_DCNrDS.js → CartView-B-Jz3AUi.js} +22 -22
  7. package/dist/{Checkout-CS5GDkWc.js → Checkout-BkH_iHrr.js} +26 -26
  8. package/dist/{Checkout-Ud28q5Hy.js → Checkout-DmVSDgG4.js} +25 -23
  9. package/dist/{CheckoutTimer-BP6B5azC.js → CheckoutTimer-BINY0A3o.js} +3 -3
  10. package/dist/{ChevronDownIcon-DIQAmQyH.js → ChevronDownIcon-SmP1R44t.js} +1 -1
  11. package/dist/{ClockIcon-CVPj8q7F.js → ClockIcon-DSlKAM02.js} +1 -1
  12. package/dist/{CloseIcon-BQm8Xs1P.js → CloseIcon-DQQHlbD5.js} +1 -1
  13. package/dist/{CollectionView-ACiii1J5.js → CollectionView-TQsQUheR.js} +6 -6
  14. package/dist/{Event-BJlo9YTD.js → Event-DH8R-4F_.js} +114 -114
  15. package/dist/{EventPage-D1ajrjlw.js → EventPage-Bwnpa90Z.js} +15 -15
  16. package/dist/{Input-Bpq_mV4s.js → Input-Ycz9fDhr.js} +1 -1
  17. package/dist/{MailIcon-Wrsqe_uW.js → MailIcon-CR2KJ_jI.js} +1 -1
  18. package/dist/{PasswordInput-eMxkf9IC.js → PasswordInput-C4CTTEqA.js} +1 -1
  19. package/dist/{RecommendationsRail-CdP6VhHT.js → RecommendationsRail-CsCk1LQe.js} +15 -15
  20. package/dist/{ScarcityBadge-D1IzCyTk.js → ScarcityBadge-DsUZ2xMX.js} +3 -3
  21. package/dist/{SeriesPage-Pq0b5Jfu.js → SeriesPage-D4fTZsB4.js} +3 -3
  22. package/dist/{Success-3_2VxjV6.js → Success-BRR_lRnL.js} +21 -21
  23. package/dist/{TagIcon-DAHUalS9.js → TagIcon-D3CUh74q.js} +1 -1
  24. package/dist/{ViewTicketsEmbed-B0agtnsM.js → ViewTicketsEmbed-ZK8Iq5rE.js} +12 -12
  25. package/dist/{WarningCircleIcon-u-Y8M0N1.js → WarningCircleIcon-tYCc94E0.js} +1 -1
  26. package/dist/{WarningTriIcon-DroD8KGE.js → WarningTriIcon-DqbXc4oC.js} +1 -1
  27. package/dist/{api-Cjp9Xhh9.js → api-Cnjfq1es.js} +100 -100
  28. package/dist/{constants-D4j-SbUf.js → constants-D-R13SyT.js} +5 -3
  29. package/dist/{copyToClipboard-CX0-qsMi.js → copyToClipboard-B1J1SpWg.js} +1 -1
  30. package/dist/{de-BeTte2sb.js → de-CrMbvuuV.js} +3 -1
  31. package/dist/{de-Jg2pbAJN.js → de-U0ENh7uA.js} +4 -1
  32. package/dist/{defaultLabels-BgBbv_Mu.js → defaultLabels-Dh-_xfOC.js} +9 -6
  33. package/dist/{es-vzC7Y0yK.js → es-CmbcTI7U.js} +3 -1
  34. package/dist/{es-CcYV23YF.js → es-DA7o9qj2.js} +4 -1
  35. package/dist/{event-transform-B608JYyE.js → event-transform-hOHeTQOK.js} +5 -5
  36. package/dist/{eventStatusStream-uZrfQOCm.js → eventStatusStream-B5ixh-sc.js} +5 -5
  37. package/dist/{fr-DqLLRK8z.js → fr-CAQjiRpV.js} +3 -1
  38. package/dist/{fr-2hbBUueN.js → fr-DgPjnuZh.js} +4 -1
  39. package/dist/{href-EZSiOTvJ.js → href-CNC_6xMv.js} +2 -2
  40. package/dist/{i18n-IC1KXPJh.js → i18n-DpEd_A_A.js} +20 -20
  41. package/dist/i18n-ch8did0h.js +28 -0
  42. package/dist/{id-YWXdncCA.js → id-Bz5RjCc1.js} +3 -1
  43. package/dist/{id-42eHQdTZ.js → id-DQfIcnYa.js} +4 -1
  44. package/dist/{it-CT1Yl7lC.js → it-CqEyhG5r.js} +4 -1
  45. package/dist/{it-Cun7MBPu.js → it-wMX0iXW-.js} +3 -1
  46. package/dist/{ja-FpN4x6ay.js → ja-BHzUvYMy.js} +3 -1
  47. package/dist/{ja-rdY01kpT.js → ja-Cd0WASnp.js} +4 -1
  48. package/dist/{ko-DzIwez8Z.js → ko-DWXNKxCw.js} +4 -1
  49. package/dist/{ko-CbeYW3Mt.js → ko-hy8WDqbp.js} +3 -1
  50. package/dist/locales/{4.3.30 → 4.3.31}/flow/de.js +1 -1
  51. package/dist/locales/{4.3.30 → 4.3.31}/flow/es.js +1 -1
  52. package/dist/locales/{4.3.30 → 4.3.31}/flow/fr.js +1 -1
  53. package/dist/locales/{4.3.30 → 4.3.31}/flow/id.js +1 -1
  54. package/dist/locales/{4.3.30 → 4.3.31}/flow/it.js +1 -1
  55. package/dist/locales/{4.3.30 → 4.3.31}/flow/ja.js +1 -1
  56. package/dist/locales/{4.3.30 → 4.3.31}/flow/ko.js +1 -1
  57. package/dist/locales/{4.3.30 → 4.3.31}/flow/nl.js +1 -1
  58. package/dist/locales/{4.3.30 → 4.3.31}/flow/pl.js +1 -1
  59. package/dist/locales/{4.3.30 → 4.3.31}/flow/pt-br.js +1 -1
  60. package/dist/locales/{4.3.30 → 4.3.31}/flow/tr.js +1 -1
  61. package/dist/locales/{4.3.30 → 4.3.31}/flow/zh.js +1 -1
  62. package/dist/locales/{4.3.30 → 4.3.31}/main/de.js +1 -1
  63. package/dist/locales/{4.3.30 → 4.3.31}/main/es.js +1 -1
  64. package/dist/locales/{4.3.30 → 4.3.31}/main/fr.js +1 -1
  65. package/dist/locales/{4.3.30 → 4.3.31}/main/id.js +1 -1
  66. package/dist/locales/{4.3.30 → 4.3.31}/main/it.js +1 -1
  67. package/dist/locales/{4.3.30 → 4.3.31}/main/ja.js +1 -1
  68. package/dist/locales/{4.3.30 → 4.3.31}/main/ko.js +1 -1
  69. package/dist/locales/{4.3.30 → 4.3.31}/main/nl.js +1 -1
  70. package/dist/locales/{4.3.30 → 4.3.31}/main/pl.js +1 -1
  71. package/dist/locales/{4.3.30 → 4.3.31}/main/pt-br.js +1 -1
  72. package/dist/locales/{4.3.30 → 4.3.31}/main/tr.js +1 -1
  73. package/dist/locales/{4.3.30 → 4.3.31}/main/zh.js +1 -1
  74. package/dist/{navigation-Dh-hGmN9.js → navigation-DXoNc6j6.js} +2 -2
  75. package/dist/{nl-BOKQEcVS.js → nl-Cm90TgfO.js} +4 -1
  76. package/dist/{nl-Bp9iDZLQ.js → nl-a59DlSFb.js} +3 -1
  77. package/dist/{order-totals-CfYOfTyw.js → order-totals-l5tnNv6l.js} +3 -3
  78. package/dist/{orders-BQRru8sl.js → orders-C3kxHt8s.js} +159 -156
  79. package/dist/{phoneUtils-DK8ry3Ji.js → phoneUtils-ByD5Mtwg.js} +1 -1
  80. package/dist/{pixels-CAgpvPd8.js → pixels-DFRBkP2l.js} +8 -8
  81. package/dist/{pl-Bq365vrl.js → pl-Dmn5DPMF.js} +3 -1
  82. package/dist/{pl-BbTUCBtu.js → pl-cnMynnV0.js} +4 -1
  83. package/dist/{promo-aAygcEn7.js → promo-C5E38yvy.js} +1 -1
  84. package/dist/{pt-br-DqZvFINr.js → pt-br-DA_CwwjY.js} +3 -1
  85. package/dist/{pt-br-yx3E3bTo.js → pt-br-Dolwtivp.js} +4 -1
  86. package/dist/{scarcity-Dgvp7aCF.js → scarcity-s5fHFJHw.js} +1 -1
  87. package/dist/{serverTotals-96Luutwl.js → serverTotals-nOfn0tJD.js} +1 -1
  88. package/dist/{showcase-state-options-DcNFRj34.js → showcase-state-options-BMxEymob.js} +1 -1
  89. package/dist/{to-event-card-props-djxhqexI.js → to-event-card-props-BGgDK-2C.js} +94 -124
  90. package/dist/{tr-B0X8dT0r.js → tr-CSMHipgJ.js} +4 -1
  91. package/dist/{tr-D-gAL87g.js → tr-DM96GLXF.js} +3 -1
  92. package/dist/{utils-CDgMSeSc.js → utils-BQ5FDP3S.js} +52 -52
  93. package/dist/venue-calendar.css +1 -1
  94. package/dist/venue-calendar.es.js +907 -907
  95. package/dist/venue-calendar.iife.js +27 -27
  96. package/dist/venue-calendar.umd.js +33 -33
  97. package/dist/{zh-_x9bdFXs.js → zh-BplFGzz_.js} +4 -1
  98. package/dist/{zh-DcBHN9JC.js → zh-CdWAelYB.js} +3 -1
  99. package/package.json +2 -2
  100. package/dist/i18n-BZAWUSFx.js +0 -28
@@ -1,6 +1,6 @@
1
1
  import { E as e } from "./Button-klwKgfhG.js";
2
- import { $ as t, I as n, M as r, Y as i, Z as a, j as o, k as s, q as c } from "./orders-BQRru8sl.js";
3
- import "./event-transform-B608JYyE.js";
2
+ import { A as t, J as n, L as r, M as i, N as a, Q as o, X as s, et as c } from "./orders-C3kxHt8s.js";
3
+ import "./event-transform-hOHeTQOK.js";
4
4
  //#region node_modules/js-cookie/dist/js.cookie.mjs
5
5
  function l(e) {
6
6
  for (var t = 1; t < arguments.length; t++) {
@@ -82,19 +82,19 @@ function E() {
82
82
  };
83
83
  }
84
84
  function D(e) {
85
- let t = {}, n = {}, r = [], o = "", s = 0, l = {};
85
+ let t = {}, r = {}, i = [], a = "", c = 0, l = {};
86
86
  if (typeof window > "u") return {
87
87
  quantities: t,
88
- donationAmounts: n,
88
+ donationAmounts: r,
89
89
  addOnQuantities: l,
90
- promocode: o,
91
- promoDiscountAmount: s,
92
- tickets: r
90
+ promocode: a,
91
+ promoDiscountAmount: c,
92
+ tickets: i
93
93
  };
94
- let u = c(y(e), null);
94
+ let u = n(y(e), null);
95
95
  if (!u) {
96
- let t = c(b(e), null);
97
- t && (u = t, a(y(e), t), i(b(e)));
96
+ let t = n(b(e), null);
97
+ t && (u = t, o(y(e), t), s(b(e)));
98
98
  }
99
99
  if (u) return {
100
100
  quantities: u.quantities || {},
@@ -110,33 +110,33 @@ function D(e) {
110
110
  g.warn("Failed to parse checkout quantities cookie:", e), t = {};
111
111
  }
112
112
  try {
113
- r = JSON.parse(m(`checkout-tickets-${e}`) || "[]");
113
+ i = JSON.parse(m(`checkout-tickets-${e}`) || "[]");
114
114
  } catch (e) {
115
- g.warn("Failed to parse checkout tickets cookie:", e), r = [];
115
+ g.warn("Failed to parse checkout tickets cookie:", e), i = [];
116
116
  }
117
- return o = m(`checkout-promocode-${e}`) || "", s = parseFloat(m(`checkout-promo-discount-${e}`) || "0"), (Object.keys(t).length > 0 || r.length > 0 || o) && (A({
117
+ return a = m(`checkout-promocode-${e}`) || "", c = parseFloat(m(`checkout-promo-discount-${e}`) || "0"), (Object.keys(t).length > 0 || i.length > 0 || a) && (A({
118
118
  eventID: e,
119
119
  quantities: t,
120
- donationAmounts: n,
121
- promocode: o,
122
- promoDiscountAmount: s,
123
- tickets: r
120
+ donationAmounts: r,
121
+ promocode: a,
122
+ promoDiscountAmount: c,
123
+ tickets: i
124
124
  }), O(e)), {
125
125
  quantities: t,
126
- donationAmounts: n,
126
+ donationAmounts: r,
127
127
  addOnQuantities: l,
128
- promocode: o,
129
- promoDiscountAmount: s,
130
- tickets: r
128
+ promocode: a,
129
+ promoDiscountAmount: c,
130
+ tickets: i
131
131
  };
132
132
  }
133
133
  function O(e) {
134
134
  h(`checkout-quantities-${e}`), h(`checkout-tickets-${e}`), h(`checkout-promocode-${e}`), h(`checkout-promo-discount-${e}`);
135
135
  }
136
136
  function k(e) {
137
- i(y(e)), i(b(e)), O(e), h(`checkout-promo-discount-type-${e}`), h(`checkout-promo-reveal-${e}`), h(`checkout-promo-reveal-ids-${e}`), h(`checkout-promo-ticket-ids-${e}`);
137
+ s(y(e)), s(b(e)), O(e), h(`checkout-promo-discount-type-${e}`), h(`checkout-promo-reveal-${e}`), h(`checkout-promo-reveal-ids-${e}`), h(`checkout-promo-ticket-ids-${e}`);
138
138
  }
139
- function A({ eventID: e, quantities: t, donationAmounts: n, addOnQuantities: r, promocode: i, promoDiscountAmount: o, tickets: s }) {
139
+ function A({ eventID: e, quantities: t, donationAmounts: n, addOnQuantities: r, promocode: i, promoDiscountAmount: a, tickets: s }) {
140
140
  if (typeof window > "u") return;
141
141
  let c = (s || []).map((e) => ({
142
142
  ID: e.ID,
@@ -150,26 +150,26 @@ function A({ eventID: e, quantities: t, donationAmounts: n, addOnQuantities: r,
150
150
  donationAmounts: n || {},
151
151
  addOnQuantities: r || {},
152
152
  promocode: i || "",
153
- promoDiscountAmount: o || 0,
153
+ promoDiscountAmount: a || 0,
154
154
  tickets: c,
155
155
  updatedAt: Date.now()
156
156
  };
157
- a(y(e), l);
157
+ o(y(e), l);
158
158
  }
159
159
  function j(e) {
160
160
  if (!e) return null;
161
- let t = c(x(e), null);
161
+ let t = n(x(e), null);
162
162
  if (t != null) return P(t);
163
- let n = c(S(e), null);
164
- if (n == null) return null;
165
- let r = P(n);
166
- return r != null && (a(x(e), r), i(S(e))), r;
163
+ let r = n(S(e), null);
164
+ if (r == null) return null;
165
+ let i = P(r);
166
+ return i != null && (o(x(e), i), s(S(e))), i;
167
167
  }
168
168
  function M(e, t) {
169
- !e || !Number.isFinite(t) || a(x(e), t);
169
+ !e || !Number.isFinite(t) || o(x(e), t);
170
170
  }
171
171
  function N(e) {
172
- e && (i(x(e)), i(S(e)));
172
+ e && (s(x(e)), s(S(e)));
173
173
  }
174
174
  function P(e) {
175
175
  let t = typeof e == "number" ? e : parseInt(e, 10);
@@ -187,13 +187,13 @@ async function te(e) {
187
187
  }
188
188
  var F = (e) => _(`queue-token-${e}`);
189
189
  function I(e) {
190
- return c(F(e), null);
190
+ return n(F(e), null);
191
191
  }
192
192
  function L(e, t) {
193
- t && a(F(e), t);
193
+ t && o(F(e), t);
194
194
  }
195
195
  function R(e) {
196
- i(F(e));
196
+ s(F(e));
197
197
  }
198
198
  //#endregion
199
199
  //#region src/lib/api/surge-queue.ts
@@ -229,7 +229,7 @@ function J(e) {
229
229
  }
230
230
  async function Y(e) {
231
231
  try {
232
- let t = await o(`/events/${e}/queue`);
232
+ let t = await i(`/events/${e}/queue`);
233
233
  return t.success ? {
234
234
  armed: t.data?.armed === !0,
235
235
  mode: G(t.data?.mode),
@@ -242,7 +242,7 @@ async function Y(e) {
242
242
  }
243
243
  async function X(e) {
244
244
  try {
245
- let t = await r(`/events/${e}/queue/join`, {});
245
+ let t = await a(`/events/${e}/queue/join`, {});
246
246
  if (!t.success) return {
247
247
  success: !1,
248
248
  errorCode: t.errorCode || "queue_unavailable",
@@ -271,7 +271,7 @@ async function Z(e, t) {
271
271
  errorCode: B
272
272
  };
273
273
  try {
274
- let n = await o(`/events/${e}/queue/status?token=${encodeURIComponent(t)}`);
274
+ let n = await i(`/events/${e}/queue/status?token=${encodeURIComponent(t)}`);
275
275
  if (!n.success) return {
276
276
  success: !1,
277
277
  errorCode: n.errorCode || "queue_unavailable",
@@ -297,7 +297,7 @@ async function Z(e, t) {
297
297
  async function ne(e, t) {
298
298
  if (!t) return { released: !1 };
299
299
  try {
300
- return { released: (await r(`/events/${e}/queue/leave`, { token: t }, {
300
+ return { released: (await a(`/events/${e}/queue/leave`, { token: t }, {
301
301
  keepalive: !0,
302
302
  suppressOnError: !0
303
303
  })).data?.released === !0 };
@@ -330,25 +330,25 @@ async function ae() {
330
330
  }
331
331
  async function oe(e) {
332
332
  try {
333
- let n = await o(`/venues/${e}`);
334
- if (!n.success) throw new t(n.error ?? `API error: ${n.statusCode}`, n.statusCode ?? 0, {
333
+ let t = await i(`/venues/${e}`);
334
+ if (!t.success) throw new c(t.error ?? `API error: ${t.statusCode}`, t.statusCode ?? 0, {
335
335
  endpoint: `/venues/${e}`,
336
336
  method: "GET"
337
337
  });
338
- return n.data;
338
+ return t.data;
339
339
  } catch (e) {
340
340
  throw Q.error("getVenueDetails error:", e), e;
341
341
  }
342
342
  }
343
343
  async function $(e = {}, t) {
344
344
  try {
345
- let n = await ae(), { eventID: i, quantities: a, donationAmounts: o, ...s } = e, c = a ? Object.fromEntries(Object.entries(a).map(([e, t]) => [parseInt(e, 10), t])) : {}, l = o ? Object.fromEntries(Object.entries(o).filter(([, e]) => parseFloat(String(e)) > 0).map(([e, t]) => [parseInt(e, 10), parseFloat(String(t))])) : void 0, u = {
345
+ let n = await ae(), { eventID: r, quantities: i, donationAmounts: o, ...s } = e, c = i ? Object.fromEntries(Object.entries(i).map(([e, t]) => [parseInt(e, 10), t])) : {}, l = o ? Object.fromEntries(Object.entries(o).filter(([, e]) => parseFloat(String(e)) > 0).map(([e, t]) => [parseInt(e, 10), parseFloat(String(t))])) : void 0, u = {
346
346
  purchaserIP: n,
347
- eventID: i ? parseInt(String(i), 10) : void 0,
347
+ eventID: r ? parseInt(String(r), 10) : void 0,
348
348
  quantities: c,
349
349
  ...l && Object.keys(l).length > 0 ? { donationAmounts: l } : {},
350
350
  ...s
351
- }, d = await r("/orders/create", u, t ? { headers: { "X-Queue-Token": t } } : void 0), f = d.data ?? {};
351
+ }, d = await a("/orders/create", u, t ? { headers: { "X-Queue-Token": t } } : void 0), f = d.data ?? {};
352
352
  if (!d.success || f.error) {
353
353
  let e = re(f.error) || (typeof f.message == "string" ? f.message : "") || d.error || "Order creation failed";
354
354
  if ((d.errorCode || ie(f.error)) === "QUEUE_REQUIRED") return {
@@ -380,15 +380,15 @@ async function $(e = {}, t) {
380
380
  }
381
381
  async function se(e) {
382
382
  try {
383
- let n = await o(`/orders/${e}`);
384
- if (!n.success) {
385
- let r = n.error ?? `Failed to fetch order (${n.statusCode})`;
386
- throw Q.error("getOrder error response:", r), new t(r, n.statusCode ?? 0, {
383
+ let t = await i(`/orders/${e}`);
384
+ if (!t.success) {
385
+ let n = t.error ?? `Failed to fetch order (${t.statusCode})`;
386
+ throw Q.error("getOrder error response:", n), new c(n, t.statusCode ?? 0, {
387
387
  endpoint: `/orders/${e}`,
388
388
  method: "GET"
389
389
  });
390
390
  }
391
- return n.data;
391
+ return t.data;
392
392
  } catch (e) {
393
393
  throw Q.error("getOrder error:", e), e;
394
394
  }
@@ -397,9 +397,9 @@ async function se(e) {
397
397
  //#region src/lib/utils/utm.ts
398
398
  var ce = e("utm");
399
399
  async function le(e) {
400
- let t = new URLSearchParams(window.location.search), r = s(t.get("utm_source")) || "direct";
400
+ let n = new URLSearchParams(window.location.search), i = t(n.get("utm_source")) || "direct";
401
401
  try {
402
- await fetch(`${n()}/utm/${e}/${encodeURIComponent(r)}`);
402
+ await fetch(`${r()}/utm/${e}/${encodeURIComponent(i)}`);
403
403
  } catch (e) {
404
404
  ce.error("UTM tracking failed:", e);
405
405
  }