@getmicdrop/venue-calendar 4.3.117 → 4.3.119

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 (93) hide show
  1. package/README.md +818 -818
  2. package/dist/{AddOnCard-D_d9UHNs.js → AddOnCard-BGFpF6uw.js} +65 -65
  3. package/dist/{ArrowLeftIcon-Bs7mUb9F.js → ArrowLeftIcon-pPaJkbnp.js} +1 -1
  4. package/dist/{BlockPlaceholder-BgUO-Q5N.js → BlockPlaceholder-BgLtwJnm.js} +1 -1
  5. package/dist/{Calendar-BMGUJww4.js → Calendar-S2Es6EKK.js} +97 -97
  6. package/dist/{CalendarFoundryView-B3J3OpP5.js → CalendarFoundryView-CZ36wO24.js} +4180 -4493
  7. package/dist/{CalendarIcon-29_IwvHT.js → CalendarIcon-C_6MSRyE.js} +1 -1
  8. package/dist/{CartView-H9Z2y9CT.js → CartView-9YSoRvTw.js} +337 -337
  9. package/dist/CheckIcon-sr8D0z-b.js +25 -0
  10. package/dist/{Checkout-DOG64hFG.js → Checkout-BLkYIKoR.js} +65 -64
  11. package/dist/{Checkout-JGthqqs-.js → Checkout-BS3r4Qii.js} +67 -67
  12. package/dist/{CheckoutTimer-BYmPa5AI.js → CheckoutTimer-DY1NKJXP.js} +2 -2
  13. package/dist/{ChevronDownIcon-Denff3IQ.js → ChevronDownIcon-Co6rRQp-.js} +1 -1
  14. package/dist/{CloseIcon-BnwP0Nx3.js → CloseIcon-DpRE5O8y.js} +5 -26
  15. package/dist/{CollectionView-Cxz75nqf.js → CollectionView-DyFDlCmo.js} +4 -4
  16. package/dist/{CropImage-BOd2evXB.js → CropImage-C8W_Xb_V.js} +3 -3
  17. package/dist/Event-DUq4tYBE.js +4058 -0
  18. package/dist/{EventPage-CFAgJ7ii.js → EventPage-m5SlifRu.js} +19 -19
  19. package/dist/{Heading-Db8kKUvN.js → Heading-vOVPxhJF.js} +45 -19
  20. package/dist/{Input-CvK81EKX.js → Input-CsHb9Z8e.js} +5 -5
  21. package/dist/{MailIcon-DdNZD4Cv.js → LocationIcon-Dxk7snUC.js} +4 -4
  22. package/dist/{Modal-hKMSS6bJ.js → Modal-kG0LKgMZ.js} +2 -2
  23. package/dist/{ModalFooter-9RwP9PR1.js → ModalFooter-CM5RDuvB.js} +42 -42
  24. package/dist/{ModalHeader-9TxpIx5T.js → ModalHeader-DBVXezSL.js} +1 -1
  25. package/dist/{PasswordInput-CJ7o73tQ.js → PasswordInput-BlL0w_yr.js} +5 -5
  26. package/dist/{PhoneInput-9qgnvS-F.js → PhoneInput-DnmN_L03.js} +21 -21
  27. package/dist/{RecommendationsRail-C3FXg2oO.js → RecommendationsRail-Dq9t0T02.js} +69 -44
  28. package/dist/{ScarcityBadge-BiseR8MX.js → ScarcityBadge-Bj_YMxz4.js} +3 -3
  29. package/dist/{SeriesPage-byd8v915.js → SeriesPage-CaPTQRSo.js} +2 -2
  30. package/dist/{Success-D5_89YJA.js → Success-tXgS0BXp.js} +62 -62
  31. package/dist/{TagIcon-DtX06EKe.js → TagIcon-Kq7_bapx.js} +1 -1
  32. package/dist/{ViewTicketsEmbed-BmFbj8iP.js → ViewTicketsEmbed-BnuypZ1H.js} +1 -1
  33. package/dist/{WarningCircleIcon-BEbthCpd.js → WarningCircleIcon-BdbAYYi4.js} +1 -1
  34. package/dist/{WarningTriIcon-Ba68mCD0.js → WarningTriIcon-D8otatZe.js} +1 -1
  35. package/dist/api/transformers/event.d.ts +2 -2
  36. package/dist/{api-OjCXecbx.js → api-DG7ztpYi.js} +1 -1
  37. package/dist/{constants-kDn3-fLS.js → constants-C6MZgb2S.js} +14 -0
  38. package/dist/{copyToClipboard-pMnstOiv.js → copyToClipboard-DSangJpP.js} +4 -4
  39. package/dist/{createErrorGate.svelte-DgREjCbj.js → createErrorGate.svelte-CEBpRAmr.js} +1 -1
  40. package/dist/{datetime-vgtbUysw.js → datetime-YTw6PkGP.js} +158 -124
  41. package/dist/{de-Ddxx02Ub.js → de-BPmqZ6ao.js} +15 -1
  42. package/dist/{es-CbcvPdPt.js → es-BV3Sgeg-.js} +15 -1
  43. package/dist/{event-transform-B5i2_NHJ.js → event-transform-CyRMeKW_.js} +10 -10
  44. package/dist/{floatingPosition-Dka8Z2M5.js → floatingPosition-XIv5DYuP.js} +7 -8
  45. package/dist/{fr-B6StQGuk.js → fr-BJ0VQGEj.js} +15 -1
  46. package/dist/{href-Dv7vLRDA.js → href-yqxAPbkW.js} +416 -95
  47. package/dist/{i18n-B-mcjNXL.js → i18n-MF3q-UBI.js} +152 -148
  48. package/dist/{id-BgyzUf0j.js → id-CVXaHHqU.js} +15 -1
  49. package/dist/{imageOptimizer-CX9dzg-E.js → imageOptimizer-B3fj8_30.js} +7 -7
  50. package/dist/{it-FYvfjD40.js → it-C0lzsHje.js} +15 -1
  51. package/dist/{ja-CttqurG4.js → ja-Dl2r6tQ6.js} +15 -1
  52. package/dist/{ko-BExabPw4.js → ko-DINqFSE1.js} +15 -1
  53. package/dist/locales/{4.3.117 → 4.3.119}/flow/de.js +1 -1
  54. package/dist/locales/{4.3.117 → 4.3.119}/flow/es.js +1 -1
  55. package/dist/locales/{4.3.117 → 4.3.119}/flow/fr.js +1 -1
  56. package/dist/locales/{4.3.117 → 4.3.119}/flow/id.js +1 -1
  57. package/dist/locales/{4.3.117 → 4.3.119}/flow/it.js +1 -1
  58. package/dist/locales/{4.3.117 → 4.3.119}/flow/ja.js +1 -1
  59. package/dist/locales/{4.3.117 → 4.3.119}/flow/ko.js +1 -1
  60. package/dist/locales/{4.3.117 → 4.3.119}/flow/nl.js +1 -1
  61. package/dist/locales/{4.3.117 → 4.3.119}/flow/pl.js +1 -1
  62. package/dist/locales/{4.3.117 → 4.3.119}/flow/pt-br.js +1 -1
  63. package/dist/locales/{4.3.117 → 4.3.119}/flow/tr.js +1 -1
  64. package/dist/locales/{4.3.117 → 4.3.119}/flow/zh.js +1 -1
  65. package/dist/{nl-DQARtEz-.js → nl-D92n5tHa.js} +15 -1
  66. package/dist/{pl-bEHWdYWg.js → pl-BlZHcnlS.js} +15 -1
  67. package/dist/portal-D-oaEWsY.js +43 -0
  68. package/dist/{z-index-CeYVHpUz.js → portalContainment-CeAVqIb-.js} +111 -58
  69. package/dist/{pt-br-B8XEnIoG.js → pt-br-BrxthY0b.js} +15 -1
  70. package/dist/{to-event-card-props-BquqSDuB.js → to-event-card-props-Dn1eDOiJ.js} +23 -23
  71. package/dist/{tr-9EWGVIVf.js → tr-BnAdi4HO.js} +15 -1
  72. package/dist/{utils-vLhNHY0t.js → utils-CdNe7KGe.js} +1 -1
  73. package/dist/venue-calendar.css +1 -1
  74. package/dist/venue-calendar.es.js +127 -149
  75. package/dist/venue-calendar.iife.js +35 -35
  76. package/dist/venue-calendar.umd.js +57 -57
  77. package/dist/{zh-BOf81DR7.js → zh-Tg1OTvWs.js} +15 -1
  78. package/package.json +2 -2
  79. package/src/lib/theme.js +222 -222
  80. package/dist/Event-B-FDXrnA.js +0 -3647
  81. package/dist/portal-BZBgqs8B.js +0 -98
  82. /package/dist/locales/{4.3.117 → 4.3.119}/main/de.js +0 -0
  83. /package/dist/locales/{4.3.117 → 4.3.119}/main/es.js +0 -0
  84. /package/dist/locales/{4.3.117 → 4.3.119}/main/fr.js +0 -0
  85. /package/dist/locales/{4.3.117 → 4.3.119}/main/id.js +0 -0
  86. /package/dist/locales/{4.3.117 → 4.3.119}/main/it.js +0 -0
  87. /package/dist/locales/{4.3.117 → 4.3.119}/main/ja.js +0 -0
  88. /package/dist/locales/{4.3.117 → 4.3.119}/main/ko.js +0 -0
  89. /package/dist/locales/{4.3.117 → 4.3.119}/main/nl.js +0 -0
  90. /package/dist/locales/{4.3.117 → 4.3.119}/main/pl.js +0 -0
  91. /package/dist/locales/{4.3.117 → 4.3.119}/main/pt-br.js +0 -0
  92. /package/dist/locales/{4.3.117 → 4.3.119}/main/tr.js +0 -0
  93. /package/dist/locales/{4.3.117 → 4.3.119}/main/zh.js +0 -0
@@ -1,12 +1,12 @@
1
- import { Y as e, n as t, u as n } from "./datetime-vgtbUysw.js";
2
- import { t as r } from "./copyToClipboard-pMnstOiv.js";
1
+ import { X as e, d as t, n } from "./datetime-YTw6PkGP.js";
2
+ import { t as r } from "./copyToClipboard-DSangJpP.js";
3
3
  import { C as i, O as a, g as o, x as s } from "./defaultLabels-CsRGNP7f.js";
4
4
  import { r as c } from "./Button-VUB2WJ88.js";
5
5
  import { K as l, V as u, z as d } from "./orders-BWVwv3P0.js";
6
- import { L as f } from "./api-OjCXecbx.js";
7
- import { t as p } from "./Heading-Db8kKUvN.js";
6
+ import { L as f } from "./api-DG7ztpYi.js";
7
+ import { t as p } from "./Heading-vOVPxhJF.js";
8
8
  import { t as m } from "./Grid-kuP6V0GW.js";
9
- import { a as h, o as g, t as _ } from "./to-event-card-props-BquqSDuB.js";
9
+ import { a as h, o as g, t as _ } from "./to-event-card-props-Dn1eDOiJ.js";
10
10
  import { n as v } from "./imageUrl-xyMedKrE.js";
11
11
  import { t as y } from "./event-CW18bU9h.js";
12
12
  import { t as b } from "./venue-BBoZBuhu.js";
@@ -89,7 +89,7 @@ function M(e) {
89
89
  //#endregion
90
90
  //#region src/lib/api/transformers/series.ts
91
91
  function N(e) {
92
- let n = e.seriesId ?? e.id ?? 0, r = e, a = i(e.timeZone || r.timezone || r.time_zone), o = v(e.image || "", { cdn: !0 }), s = (e.occurrences || []).map((e) => {
92
+ let t = e.seriesId ?? e.id ?? 0, r = e, a = i(e.timeZone || r.timezone || r.time_zone), o = v(e.image || "", { cdn: !0 }), s = (e.occurrences || []).map((e) => {
93
93
  let t = e.venue, n = t ? [t.name, t.stageName].filter(Boolean).join(" — ") : "", r = t ? t.googleLocationNameCache || [
94
94
  t.address,
95
95
  t.city,
@@ -103,16 +103,17 @@ function N(e) {
103
103
  status: e.ctaState?.reason === "sold_out" ? "sold_out" : "on_sale",
104
104
  ctaText: e.ctaState?.text || "",
105
105
  ctaDisabled: e.ctaState?.disabled || !1,
106
+ ...e.ctaState?.reason ? { ctaReason: e.ctaState.reason } : {},
106
107
  ...n ? { venueName: n } : {},
107
108
  ...r ? { venueAddress: r } : {}
108
109
  };
109
- }), c = e.occurrences?.[0], l = c?.startDateTime ? t(c.startDateTime, a) : "", u = M(e.venue?.faq), d = (e.performers || []).map((e, t) => ({
110
+ }), c = e.occurrences?.[0], l = c?.startDateTime ? n(c.startDateTime, a) : "", u = M(e.venue?.faq), d = (e.performers || []).map((e, t) => ({
110
111
  id: t + 1,
111
112
  displayName: e.displayName || [e.firstName, e.lastName].filter(Boolean).join(" "),
112
113
  profileImage: e.profileImage || void 0
113
114
  })), f = e.venue?.location || e.venue?.googleLocationNameCache || "";
114
115
  return {
115
- id: n,
116
+ id: t,
116
117
  title: e.title || "",
117
118
  slug: "",
118
119
  description: e.description || e.eventSummary || "",
@@ -137,7 +138,7 @@ function N(e) {
137
138
  disclaimer: e.venue?.disclaimer || void 0,
138
139
  ...b(e.venue),
139
140
  status: "on_sale",
140
- eventSeriesId: n,
141
+ eventSeriesId: t,
141
142
  seriesOccurrences: s,
142
143
  isPasswordProtected: !1,
143
144
  isRegistrationEvent: !1,
@@ -157,7 +158,8 @@ function P(e) {
157
158
  image: v(e.image || "", { cdn: !0 }),
158
159
  startDateTime: e.startDateTime || "",
159
160
  status: e.status || "on_sale",
160
- timezone: e.timeZone || e.timezone || e.venue?.timeZone || e.venue?.timezone || ""
161
+ timezone: e.timeZone || e.timezone || e.venue?.timeZone || e.venue?.timezone || "",
162
+ venueName: e.venue?.name || ""
161
163
  })), n = v(e.coverImage || "", { cdn: !0 });
162
164
  return {
163
165
  id: e.id,
@@ -220,7 +222,7 @@ function L(e) {
220
222
  id: e.id || e.ID,
221
223
  name: e.name || e.title || "",
222
224
  description: e.description || void 0,
223
- price: n(e.price),
225
+ price: t(e.price),
224
226
  fee: e.fee == null ? 0 : e.fee,
225
227
  quantityAvailable: e.remainingCapacity ?? e.quantityRemaining ?? e.quantity ?? 0,
226
228
  quantityTotal: e.totalCapacity ?? e.total ?? e.sectionCapacity ?? e.quantity ?? 0,
@@ -254,8 +256,9 @@ function L(e) {
254
256
  endDateTime: e.endDateTime || e.endTime || "",
255
257
  status: e.ctaState?.reason === "sold_out" ? "sold_out" : "on_sale",
256
258
  ctaText: e.ctaState?.text || "",
257
- ctaDisabled: e.ctaState?.disabled || !1
258
- })), C = r.startDateTime ? t(r.startDateTime, o) : "";
259
+ ctaDisabled: e.ctaState?.disabled || !1,
260
+ ...e.ctaState?.reason ? { ctaReason: e.ctaState.reason } : {}
261
+ })), C = r.startDateTime ? n(r.startDateTime, o) : "";
259
262
  return {
260
263
  id: r.id,
261
264
  title: r.title || "",
@@ -310,55 +313,77 @@ function B(e, t) {
310
313
  }
311
314
  //#endregion
312
315
  //#region src/lib/public-calendar-flow/shareEventLink.ts
313
- async function V(e) {
314
- if (typeof navigator < "u" && typeof navigator.share == "function") try {
315
- return await navigator.share({ url: e }), "shared";
316
+ async function V(e, t) {
317
+ return await H(e, t) ? "shared" : await r(e) ? "copied" : "failed";
318
+ }
319
+ async function H(e, t) {
320
+ if (typeof navigator > "u" || typeof navigator.share != "function") return !1;
321
+ try {
322
+ return await navigator.share(t ? {
323
+ title: t,
324
+ url: e
325
+ } : { url: e }), !0;
316
326
  } catch (e) {
317
- if (e?.name === "AbortError") return "shared";
327
+ return e?.name === "AbortError";
318
328
  }
319
- return await r(e) ? "copied" : "failed";
329
+ }
330
+ function U(e, t, n) {
331
+ let r = encodeURIComponent(e), i = encodeURIComponent(n), a = encodeURIComponent(`${n} ${e}`);
332
+ return {
333
+ messages: `sms:&body=${a}`,
334
+ whatsapp: `https://wa.me/?text=${a}`,
335
+ email: `mailto:?subject=${encodeURIComponent(t)}&body=${i}%0A${r}`,
336
+ facebook: `https://www.facebook.com/sharer/sharer.php?u=${r}`,
337
+ x: `https://x.com/intent/post?text=${i}&url=${r}`
338
+ };
320
339
  }
321
340
  //#endregion
322
341
  //#region src/lib/public-calendar-flow/shareCopyFeedback.svelte.ts
323
- function H() {
324
- let e = x.state("idle"), t = x.state(""), n;
325
- async function r(r) {
326
- let i = await V(r);
327
- i === "copied" ? (x.set(t, ""), x.set(e, "copied"), clearTimeout(n), n = setTimeout(() => x.set(e, "idle"), 2500)) : i === "failed" && (clearTimeout(n), x.set(e, "failed"), x.set(t, r, !0));
342
+ function W({ copiedMs: e = 2500 } = {}) {
343
+ let t = x.state("idle"), n = x.state(""), i;
344
+ async function a(e, t) {
345
+ s(await V(e, t), e);
328
346
  }
329
- function i() {
330
- clearTimeout(n);
347
+ async function o(e) {
348
+ s(await r(e) ? "copied" : "failed", e);
349
+ }
350
+ function s(r, a) {
351
+ r === "copied" ? (x.set(n, ""), x.set(t, "copied"), clearTimeout(i), i = setTimeout(() => x.set(t, "idle"), e)) : r === "failed" && (clearTimeout(i), x.set(t, "failed"), x.set(n, a, !0));
352
+ }
353
+ function c() {
354
+ clearTimeout(i);
331
355
  }
332
356
  return {
333
357
  get copyState() {
334
- return x.get(e);
358
+ return x.get(t);
335
359
  },
336
360
  get copyFailedUrl() {
337
- return x.get(t);
361
+ return x.get(n);
338
362
  },
339
- share: r,
340
- dispose: i
363
+ share: a,
364
+ copy: o,
365
+ dispose: c
341
366
  };
342
367
  }
343
368
  //#endregion
344
369
  //#region src/lib/api/recommendations.ts
345
- var U = /* @__PURE__ */ new Map();
346
- function W(e, t = "event_page", n) {
370
+ var G = /* @__PURE__ */ new Map();
371
+ function K(e, t = "event_page", n) {
347
372
  if (!e) return Promise.resolve([]);
348
- let r = `${d()}/events/${e}/recommendations?surface=${t}`, i = n || l() || "", a = `${r}|${i}`, o = U.get(a);
373
+ let r = `${d()}/events/${e}/recommendations?surface=${t}`, i = n || l() || "", a = `${r}|${i}`, o = G.get(a);
349
374
  if (o) return o;
350
375
  let s = u(r, { widgetKey: i || void 0 }).then((e) => e?.recommendations ?? [], () => []);
351
- U.set(a, s);
352
- let c = () => U.delete(a);
376
+ G.set(a, s);
377
+ let c = () => G.delete(a);
353
378
  return s.then(c, c), s;
354
379
  }
355
380
  //#endregion
356
381
  //#region src/lib/public-calendar-flow/recommendation-cards.ts
357
- function G(e) {
382
+ function q(e) {
358
383
  return e.filter((e) => !!e.startsAt).map((e) => ({
359
384
  eventID: e.eventId,
360
385
  name: e.title,
361
- date: t(e.startsAt, e.timeZone),
386
+ date: n(e.startsAt, e.timeZone),
362
387
  startDateTime: e.startsAt,
363
388
  imageUrl: e.image ?? "",
364
389
  status: "on_sale",
@@ -370,19 +395,19 @@ function G(e) {
370
395
  }
371
396
  //#endregion
372
397
  //#region src/lib/public-calendar-flow/RecommendationsRail.svelte
373
- var K = x.from_html("<span class=\"self-start rounded-full bg-status-info-bg px-2 py-0.5 text-status-info-text\" data-testid=\"recommendation-why\"> </span>"), q = x.from_html("<div class=\"flex flex-col gap-2\"><!> <!></div>"), J = x.from_html("<section data-testid=\"recommendations-rail\"><div class=\"mb-4\"><!></div> <!></section>");
374
- function Y(e, t) {
398
+ var J = x.from_html("<span class=\"self-start rounded-full bg-status-info-bg px-2 py-0.5 text-status-info-text\" data-testid=\"recommendation-why\"> </span>"), Y = x.from_html("<div class=\"flex flex-col gap-2\"><!> <!></div>"), X = x.from_html("<section data-testid=\"recommendations-rail\"><div class=\"mb-4\"><!></div> <!></section>");
399
+ function Z(e, t) {
375
400
  x.push(t, !0);
376
401
  let n = x.prop(t, "surface", 3, "event_page"), r = x.prop(t, "locale", 3, "en"), i = x.state(x.proxy([]));
377
402
  x.user_effect(() => {
378
403
  let e = t.eventId, r = !0;
379
- return W(e, n(), t.widgetKey).then((n) => {
404
+ return K(e, n(), t.widgetKey).then((n) => {
380
405
  r && e === t.eventId && x.set(i, n, !0);
381
406
  }), () => {
382
407
  r = !1;
383
408
  };
384
409
  });
385
- let a = x.derived(() => h(G(x.get(i))));
410
+ let a = x.derived(() => h(q(x.get(i))));
386
411
  function o(e) {
387
412
  let n = s(e);
388
413
  if (!n) return "";
@@ -407,7 +432,7 @@ function Y(e, t) {
407
432
  t.onselect?.(e);
408
433
  }
409
434
  var l = x.comment(), u = x.first_child(l), d = (e) => {
410
- var n = J(), i = x.child(n), s = x.child(i);
435
+ var n = X(), i = x.child(n), s = x.child(i);
411
436
  p(s, {
412
437
  size: "xl",
413
438
  weight: "semibold",
@@ -433,7 +458,7 @@ function Y(e, t) {
433
458
  card: i
434
459
  };
435
460
  });
436
- var a = q(), s = x.child(a);
461
+ var a = Y(), s = x.child(a);
437
462
  g(s, x.spread_props(() => x.get(i).card, {
438
463
  layout: "vertical",
439
464
  density: "standard",
@@ -443,7 +468,7 @@ function Y(e, t) {
443
468
  onclick: () => c(x.get(n).event)
444
469
  }));
445
470
  var l = x.sibling(s, 2), u = (e) => {
446
- var t = K(), r = x.child(t, !0);
471
+ var t = J(), r = x.child(t, !0);
447
472
  x.reset(t), x.template_effect((e) => x.set_text(r, e), [() => o(x.get(n).event)]), x.append(e, t);
448
473
  }, d = x.derived(() => o(x.get(n).event));
449
474
  x.if(l, (e) => {
@@ -459,4 +484,4 @@ function Y(e, t) {
459
484
  }), x.append(e, l), x.pop();
460
485
  }
461
486
  //#endregion
462
- export { R as a, z as i, H as n, T as o, L as r, Y as t };
487
+ export { L as a, T as c, H as i, W as n, z as o, U as r, R as s, Z as t };
@@ -1,7 +1,7 @@
1
- import { Y as e, g as t } from "./datetime-vgtbUysw.js";
2
- import { t as n } from "./WarningCircleIcon-BEbthCpd.js";
1
+ import { X as e, _ as t } from "./datetime-YTw6PkGP.js";
2
+ import { t as n } from "./WarningCircleIcon-BdbAYYi4.js";
3
3
  import { A as r, I as i, N as a, i as o, j as s, t as c } from "./defaultLabels-CsRGNP7f.js";
4
- import { U as l } from "./api-OjCXecbx.js";
4
+ import { U as l } from "./api-DG7ztpYi.js";
5
5
  import "svelte/internal/disclose-version";
6
6
  import * as u from "svelte/internal/client";
7
7
  //#region node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/phosphor/SubtractIcon.svelte
@@ -1,6 +1,6 @@
1
- import { t as e } from "./Event-B-FDXrnA.js";
1
+ import { t as e } from "./Event-DUq4tYBE.js";
2
2
  import { g as t } from "./sizing-B7ixYndz.js";
3
- import { a as n } from "./RecommendationsRail-C3FXg2oO.js";
3
+ import { s as n } from "./RecommendationsRail-Dq9t0T02.js";
4
4
  import { t as r } from "./__SKIP_NAVIGATION__-AOx8SI54.js";
5
5
  import { t as i } from "./__SKIP_PATHS__-C0ixDSSm.js";
6
6
  import "svelte/internal/disclose-version";
@@ -1,23 +1,23 @@
1
1
  import { g as e } from "./sizing-B7ixYndz.js";
2
- import { Y as t, k as n, o as r, t as i } from "./datetime-vgtbUysw.js";
3
- import { t as a } from "./ArrowLeftIcon-Bs7mUb9F.js";
4
- import { t as o } from "./CalendarIcon-29_IwvHT.js";
5
- import { t as s } from "./ChevronDownIcon-Denff3IQ.js";
6
- import { n as c, t as l } from "./MailIcon-DdNZD4Cv.js";
7
- import { n as u, o as d, r as f, t as p } from "./RecommendationsRail-C3FXg2oO.js";
8
- import { n as m } from "./copyToClipboard-pMnstOiv.js";
2
+ import { A as t, X as n, s as r, t as i } from "./datetime-YTw6PkGP.js";
3
+ import { t as a } from "./ArrowLeftIcon-pPaJkbnp.js";
4
+ import { t as o } from "./CalendarIcon-C_6MSRyE.js";
5
+ import { t as s } from "./ChevronDownIcon-Co6rRQp-.js";
6
+ import { n as c, t as l } from "./LocationIcon-Dxk7snUC.js";
7
+ import { a as u, c as d, n as f, t as p } from "./RecommendationsRail-Dq9t0T02.js";
8
+ import { n as m } from "./copyToClipboard-DSangJpP.js";
9
9
  import { A as h, L as g, V as _, j as v, z as y } from "./defaultLabels-CsRGNP7f.js";
10
10
  import { t as b } from "./Button-VUB2WJ88.js";
11
11
  import { Q as x, W as S, c as C, et as w, nt as T, v as E } from "./orders-BWVwv3P0.js";
12
- import { C as D, H as O, g as k, h as A } from "./api-OjCXecbx.js";
13
- import { n as j, t as M } from "./Heading-Db8kKUvN.js";
12
+ import { C as D, H as O, g as k, h as A } from "./api-DG7ztpYi.js";
13
+ import { n as j, t as M } from "./Heading-vOVPxhJF.js";
14
14
  import { t as N } from "./Text-CqjLjIF8.js";
15
15
  import { c as P, r as ee } from "./pixels-BAPQbj_Y.js";
16
- import { i as F, n as te, t as I } from "./i18n-B-mcjNXL.js";
16
+ import { i as F, n as te, t as I } from "./i18n-MF3q-UBI.js";
17
17
  import { n as L, t as R } from "./i18n-B-AwhAMH.js";
18
18
  import { t as z } from "./__SKIP_PATHS__-C0ixDSSm.js";
19
- import { C as B, d as ne, l as V, n as re } from "./utils-vLhNHY0t.js";
20
- import { n as H, t as U } from "./constants-kDn3-fLS.js";
19
+ import { C as B, d as ne, l as V, n as re } from "./utils-CdNe7KGe.js";
20
+ import { n as H, t as U } from "./constants-C6MZgb2S.js";
21
21
  import { a as W, i as ie, n as G, o as K, r as q, s as ae } from "./showcase-state-options-zfQoPg37.js";
22
22
  import { n as oe, t as J } from "./buyerEmail-BfCq-gDt.js";
23
23
  import { r as se } from "./defaults-UDvnrGu0.js";
@@ -27,9 +27,9 @@ import { SvelteMap as ce } from "svelte/reactivity";
27
27
  import { onDestroy as X, onMount as Z } from "svelte";
28
28
  //#region node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/phosphor/HelpIcon.svelte
29
29
  var le = Y.from_svg("<path d=\"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,168a12,12,0,1,1,12-12A12,12,0,0,1,128,192Zm8-48.72V144a8,8,0,0,1-16,0v-8a8,8,0,0,1,8-8c13.23,0,24-9,24-20s-10.77-20-24-20-24,9-24,20v4a8,8,0,0,1-16,0v-4c0-19.85,17.94-36,40-36s40,16.15,40,36C168,125.38,154.24,139.93,136,143.28Z\"></path>"), ue = Y.from_svg("<circle cx=\"128\" cy=\"180\" r=\"12\"></circle><path d=\"M128,144v-8c17.67,0,32-12.54,32-28s-14.33-28-32-28S96,92.54,96,108v4\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"16\"></path><circle cx=\"128\" cy=\"128\" r=\"96\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"16\"></circle>", 1), de = Y.from_svg("<svg aria-hidden=\"true\" viewBox=\"0 0 256 256\" fill=\"currentColor\" xmlns=\"http://www.w3.org/2000/svg\"><!></svg>");
30
- function fe(e, n) {
31
- Y.push(n, !0);
32
- let r = Y.prop(n, "size", 3, "24"), i = Y.prop(n, "color", 3, "currentColor"), a = Y.prop(n, "class", 3, ""), o = t(), s = Y.derived(() => n.weight ?? o?.weight ?? "regular");
30
+ function fe(e, t) {
31
+ Y.push(t, !0);
32
+ let r = Y.prop(t, "size", 3, "24"), i = Y.prop(t, "color", 3, "currentColor"), a = Y.prop(t, "class", 3, ""), o = n(), s = Y.derived(() => t.weight ?? o?.weight ?? "regular");
33
33
  var c = de();
34
34
  let l;
35
35
  var u = Y.child(c), d = (e) => {
@@ -67,12 +67,12 @@ function ve(e) {
67
67
  }
68
68
  //#endregion
69
69
  //#region src/lib/public-calendar-flow/successPromoGrossUp.ts
70
- function ye(e, t) {
71
- if (!Number.isFinite(t) || t <= 0) return {
70
+ function ye(e, n) {
71
+ if (!Number.isFinite(n) || n <= 0) return {
72
72
  lines: e,
73
73
  appliedDiscount: 0
74
74
  };
75
- let r = v(t);
75
+ let r = v(n);
76
76
  if (r <= 0) return {
77
77
  lines: e,
78
78
  appliedDiscount: 0
@@ -87,14 +87,14 @@ function ye(e, t) {
87
87
  appliedDiscount: 0
88
88
  };
89
89
  let o = [...e], s = 0;
90
- return i.forEach((t, c) => {
91
- let l = e[t], u = v(l.subtotal), d = c === i.length - 1 ? r - s : Math.round(r * u / a);
90
+ return i.forEach((n, c) => {
91
+ let l = e[n], u = v(l.subtotal), d = c === i.length - 1 ? r - s : Math.round(r * u / a);
92
92
  s += d;
93
93
  let f = u + d, p = h(g(f)), m = l.quantity > 0 ? l.quantity : 1;
94
- o[t] = {
94
+ o[n] = {
95
95
  ...l,
96
96
  subtotal: p,
97
- unitPrice: n(p / m)
97
+ unitPrice: t(p / m)
98
98
  };
99
99
  }), {
100
100
  lines: o,
@@ -112,14 +112,14 @@ function we(e, t) {
112
112
  padding: !1,
113
113
  class: "rounded-xl shadow-lg overflow-hidden bg-surface-primary",
114
114
  children: (e, a) => {
115
- var o = Ce(), s = Y.child(o), c = Y.child(s), u = Y.child(c);
116
- let d;
117
- var f = Y.sibling(u, 2);
118
- let p;
115
+ var o = Ce(), s = Y.child(o), c = Y.child(s), l = Y.child(c);
116
+ let u;
117
+ var d = Y.sibling(l, 2);
118
+ let f;
119
119
  Y.reset(c), Y.reset(s);
120
- var m = Y.sibling(s, 2);
120
+ var p = Y.sibling(s, 2);
121
121
  let h;
122
- var g = Y.child(m), _ = Y.child(g);
122
+ var g = Y.child(p), _ = Y.child(g);
123
123
  M(_, {
124
124
  level: 1,
125
125
  size: "xl",
@@ -224,7 +224,7 @@ function we(e, t) {
224
224
  }), Y.reset(w);
225
225
  var O = Y.sibling(w, 2), k = (e) => {
226
226
  var r = Se(), i = Y.child(r);
227
- l(i, {
227
+ m(i, {
228
228
  size: "16",
229
229
  class: "shrink-0 text-color-muted"
230
230
  });
@@ -243,8 +243,8 @@ function we(e, t) {
243
243
  };
244
244
  Y.if(O, (e) => {
245
245
  t.customerEmail && e(k);
246
- }), Y.reset(m), Y.reset(o), Y.template_effect(() => {
247
- d = Y.set_class(u, 1, "processing-spinner svelte-667vry", null, d, { "fade-out": t.showCheckmark }), p = Y.set_class(f, 0, "checkmark-svg svelte-667vry", null, p, { active: t.showCheckmark }), h = Y.set_class(m, 1, "content-section svelte-667vry", null, h, { visible: t.showContent });
246
+ }), Y.reset(p), Y.reset(o), Y.template_effect(() => {
247
+ u = Y.set_class(l, 1, "processing-spinner svelte-667vry", null, u, { "fade-out": t.showCheckmark }), f = Y.set_class(d, 0, "checkmark-svg svelte-667vry", null, f, { active: t.showCheckmark }), h = Y.set_class(p, 1, "content-section svelte-667vry", null, h, { visible: t.showContent });
248
248
  }), Y.append(e, o);
249
249
  },
250
250
  $$slots: { default: !0 }
@@ -258,7 +258,7 @@ var Q = {
258
258
  }, Te = Y.from_html(" <!>", 1), Ee = Y.from_html("<p class=\"wallet-note caption svelte-4szgdz\"> </p>"), De = Y.from_html("<!> <!>", 1), Oe = Y.from_html("<div class=\"dropdown-menu bg-surface-primary border-default svelte-4szgdz\"><a rel=\"external noopener noreferrer\" class=\"dropdown-item type-body text-color-primary hover:bg-surface-secondary svelte-4szgdz\"><svg aria-hidden=\"true\" class=\"shrink-0\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92a5.06 5.06 0 0 1-2.2 3.32v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.1z\"></path><path d=\"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z\"></path><path d=\"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18A10.96 10.96 0 0 0 1 12c0 1.77.42 3.45 1.18 4.93l3.66-2.84z\"></path><path d=\"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z\"></path></svg> </a> <button type=\"button\" class=\"dropdown-item type-body text-color-primary hover:bg-surface-secondary svelte-4szgdz\"><!> </button></div>"), ke = Y.from_html("<!> ", 1), Ae = Y.from_html("<p class=\"copy-fallback caption svelte-4szgdz\">Copy failed — select to copy: <span class=\"copy-url svelte-4szgdz\"> </span></p>"), je = Y.from_html("<span class=\"text-color-muted\">·</span> <a class=\"text-link type-caption text-color-muted hover:text-color-secondary svelte-4szgdz\"><!> </a>", 1), Me = Y.from_html("<div class=\"rounded-t-xl overflow-hidden bg-surface-tertiary\"><!></div> <div class=\"p-5 space-y-4\"><div><!> <div class=\"flex items-center gap-1.5 mt-1.5\"><!> <!></div> <div class=\"mt-0.5\"><!></div></div> <div class=\"flex flex-col items-center gap-3\"><button type=\"button\" class=\"wallet-badge-btn svelte-4szgdz\"><img src=\"https://get-micdrop.com/wallet-badges/apple-wallet.svg\" class=\"wallet-badge-img svelte-4szgdz\"/></button> <button type=\"button\" class=\"wallet-badge-btn svelte-4szgdz\"><img src=\"https://get-micdrop.com/wallet-badges/google-wallet-dark.svg\" class=\"wallet-badge-img google-dark svelte-4szgdz\"/> <img src=\"https://get-micdrop.com/wallet-badges/google-wallet-light.svg\" class=\"wallet-badge-img google-light svelte-4szgdz\"/></button> <!></div> <div class=\"divider\"></div> <div class=\"calendar-dropdown relative\"><!> <!></div> <div class=\"flex gap-2\"><!> <!></div> <!> <div class=\"flex items-center justify-center gap-4 pt-1\"><button type=\"button\" class=\"text-link type-caption text-color-muted hover:text-color-secondary svelte-4szgdz\"><!> </button> <!></div></div>", 1), Ne = Y.from_html("<div><!></div>");
259
259
  function Pe(e, t) {
260
260
  Y.push(t, !0);
261
- let n = Y.prop(t, "backHref", 3, void 0), l = Y.prop(t, "onBackToEvent", 3, void 0), f = Y.prop(t, "labels", 3, H), p = Y.prop(t, "locale", 3, void 0), h = Y.derived(() => n() || t.eventUrl), g = Y.state(!1), v = u(), y = Y.state("");
261
+ let n = Y.prop(t, "backHref", 3, void 0), u = Y.prop(t, "onBackToEvent", 3, void 0), p = Y.prop(t, "labels", 3, H), m = Y.prop(t, "locale", 3, void 0), h = Y.derived(() => n() || t.eventUrl), g = Y.state(!1), v = f(), y = Y.state("");
262
262
  Y.user_effect(() => {
263
263
  Y.get(y) && O(Y.get(y), { politeness: "polite" });
264
264
  }), Y.user_effect(() => {
@@ -316,7 +316,7 @@ END:VCALENDAR`, l = new Blob([c], { type: "text/calendar;charset=utf-8" }), u =
316
316
  v.share(t.eventUrl);
317
317
  }
318
318
  function E() {
319
- Y.set(y, f().walletComingSoon || "Wallet passes are coming soon. Your ticket is confirmed — check your email", !0);
319
+ Y.set(y, p().walletComingSoon || "Wallet passes are coming soon. Your ticket is confirmed — check your email", !0);
320
320
  }
321
321
  X(v.dispose);
322
322
  let D = Y.derived(() => (() => {
@@ -324,8 +324,8 @@ END:VCALENDAR`, l = new Blob([c], { type: "text/calendar;charset=utf-8" }), u =
324
324
  return `https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(e.join(", "))}`;
325
325
  })());
326
326
  function k() {
327
- if (l()) {
328
- l()();
327
+ if (u()) {
328
+ u()();
329
329
  return;
330
330
  }
331
331
  window.location.href = Y.get(h);
@@ -338,7 +338,7 @@ END:VCALENDAR`, l = new Blob([c], { type: "text/calendar;charset=utf-8" }), u =
338
338
  padding: !1,
339
339
  class: "rounded-xl shadow-lg overflow-hidden bg-surface-secondary",
340
340
  children: (e, n) => {
341
- var l = Me(), u = Y.first_child(l), h = Y.child(u);
341
+ var u = Me(), f = Y.first_child(u), h = Y.child(f);
342
342
  _(h, {
343
343
  get src() {
344
344
  return t.event.imageUrl;
@@ -351,8 +351,8 @@ END:VCALENDAR`, l = new Blob([c], { type: "text/calendar;charset=utf-8" }), u =
351
351
  },
352
352
  fit: "contain",
353
353
  class: "w-full max-h-60 min-h-24"
354
- }), Y.reset(u);
355
- var O = Y.sibling(u, 2), A = Y.child(O), j = Y.child(A);
354
+ }), Y.reset(f);
355
+ var O = Y.sibling(f, 2), A = Y.child(O), j = Y.child(A);
356
356
  N(j, {
357
357
  size: "sm",
358
358
  weight: "semibold",
@@ -378,11 +378,11 @@ END:VCALENDAR`, l = new Blob([c], { type: "text/calendar;charset=utf-8" }), u =
378
378
  Y.next();
379
379
  var a = Te(), o = Y.first_child(a), s = Y.sibling(o), c = (e) => {
380
380
  var n = Y.text();
381
- Y.template_effect((e) => Y.set_text(n, `· ${e ?? ""}`), [() => r(t.event.startDateTime, t.event.timezone, p())]), Y.append(e, n);
381
+ Y.template_effect((e) => Y.set_text(n, `· ${e ?? ""}`), [() => r(t.event.startDateTime, t.event.timezone, m())]), Y.append(e, n);
382
382
  };
383
383
  Y.if(s, (e) => {
384
384
  t.event.displayStartTime !== !1 && e(c);
385
- }), Y.template_effect((e) => Y.set_text(o, `${e ?? ""} `), [() => i(t.event.startDateTime, t.event.timezone, p())]), Y.append(e, a);
385
+ }), Y.template_effect((e) => Y.set_text(o, `${e ?? ""} `), [() => i(t.event.startDateTime, t.event.timezone, m())]), Y.append(e, a);
386
386
  },
387
387
  $$slots: { default: !0 }
388
388
  }), Y.reset(M);
@@ -428,7 +428,7 @@ END:VCALENDAR`, l = new Blob([c], { type: "text/calendar;charset=utf-8" }), u =
428
428
  }
429
429
  });
430
430
  }
431
- Y.template_effect(() => Y.set_text(i, ` ${(f().addToCalendar || "Add to calendar") ?? ""} `)), Y.append(e, n);
431
+ Y.template_effect(() => Y.set_text(i, ` ${(p().addToCalendar || "Add to calendar") ?? ""} `)), Y.append(e, n);
432
432
  },
433
433
  $$slots: { default: !0 }
434
434
  });
@@ -442,9 +442,9 @@ END:VCALENDAR`, l = new Blob([c], { type: "text/calendar;charset=utf-8" }), u =
442
442
  size: "16",
443
443
  class: "shrink-0"
444
444
  });
445
- var p = Y.sibling(d);
445
+ var f = Y.sibling(d);
446
446
  Y.reset(u), Y.reset(t), Y.template_effect(() => {
447
- Y.set_attribute(n, "href", Y.get(S)), Y.set_attribute(i, "fill", Q.blue), Y.set_attribute(a, "fill", Q.green), Y.set_attribute(o, "fill", Q.yellow), Y.set_attribute(s, "fill", Q.red), Y.set_text(l, ` ${(f().googleCalendar || "Google Calendar") ?? ""}`), Y.set_text(p, ` ${(f().appleCalendar || "Apple Calendar (.ics)") ?? ""}`);
447
+ Y.set_attribute(n, "href", Y.get(S)), Y.set_attribute(i, "fill", Q.blue), Y.set_attribute(a, "fill", Q.green), Y.set_attribute(o, "fill", Q.yellow), Y.set_attribute(s, "fill", Q.red), Y.set_text(l, ` ${(p().googleCalendar || "Google Calendar") ?? ""}`), Y.set_text(f, ` ${(p().appleCalendar || "Apple Calendar (.ics)") ?? ""}`);
448
448
  }), Y.delegated("click", n, w), Y.delegated("click", u, C), Y.append(e, t);
449
449
  };
450
450
  Y.if(ie, (e) => {
@@ -460,7 +460,7 @@ END:VCALENDAR`, l = new Blob([c], { type: "text/calendar;charset=utf-8" }), u =
460
460
  var n = ke(), r = Y.first_child(n);
461
461
  d(r, { size: "16" });
462
462
  var i = Y.sibling(r);
463
- Y.template_effect(() => Y.set_text(i, ` ${(v.copyState === "copied" ? "Link copied" : f().share || "Share") ?? ""}`)), Y.append(e, n);
463
+ Y.template_effect(() => Y.set_text(i, ` ${(v.copyState === "copied" ? "Link copied" : p().share || "Share") ?? ""}`)), Y.append(e, n);
464
464
  },
465
465
  $$slots: { default: !0 }
466
466
  });
@@ -474,9 +474,9 @@ END:VCALENDAR`, l = new Blob([c], { type: "text/calendar;charset=utf-8" }), u =
474
474
  },
475
475
  children: (e, t) => {
476
476
  var n = ke(), r = Y.first_child(n);
477
- m(r, { size: "16" });
477
+ l(r, { size: "16" });
478
478
  var i = Y.sibling(r);
479
- Y.template_effect(() => Y.set_text(i, ` ${(f().map || "Map") ?? ""}`)), Y.append(e, n);
479
+ Y.template_effect(() => Y.set_text(i, ` ${(p().map || "Map") ?? ""}`)), Y.append(e, n);
480
480
  },
481
481
  $$slots: { default: !0 }
482
482
  });
@@ -506,14 +506,14 @@ END:VCALENDAR`, l = new Blob([c], { type: "text/calendar;charset=utf-8" }), u =
506
506
  });
507
507
  var a = Y.sibling(i);
508
508
  Y.reset(r), Y.template_effect(() => {
509
- Y.set_attribute(r, "href", `mailto:${t.event.venue.contactEmail ?? ""}?subject=Help with Order ${t.orderId ?? ""}`), Y.set_text(a, ` ${(f().needHelp || "Need help?") ?? ""}`);
509
+ Y.set_attribute(r, "href", `mailto:${t.event.venue.contactEmail ?? ""}?subject=Help with Order ${t.orderId ?? ""}`), Y.set_text(a, ` ${(p().needHelp || "Need help?") ?? ""}`);
510
510
  }), Y.append(e, n);
511
511
  };
512
512
  Y.if(ue, (e) => {
513
513
  t.event.venue.contactEmail && e(de);
514
514
  }), Y.reset(ce), Y.reset(O), Y.template_effect(() => {
515
- Y.set_attribute(R, "alt", f().addToAppleWallet || "Add to Apple Wallet"), Y.set_attribute(B, "alt", f().saveToGoogleWallet || "Save to Google Wallet"), Y.set_attribute(ne, "alt", f().saveToGoogleWallet || "Save to Google Wallet"), Y.set_text(le, ` ${(f().backToEvent || "Back to event") ?? ""}`);
516
- }), Y.delegated("click", L, E), Y.delegated("click", z, E), Y.delegated("click", X, k), Y.append(e, l);
515
+ Y.set_attribute(R, "alt", p().addToAppleWallet || "Add to Apple Wallet"), Y.set_attribute(B, "alt", p().saveToGoogleWallet || "Save to Google Wallet"), Y.set_attribute(ne, "alt", p().saveToGoogleWallet || "Save to Google Wallet"), Y.set_text(le, ` ${(p().backToEvent || "Back to event") ?? ""}`);
516
+ }), Y.delegated("click", L, E), Y.delegated("click", z, E), Y.delegated("click", X, k), Y.append(e, u);
517
517
  },
518
518
  $$slots: { default: !0 }
519
519
  }), Y.reset(A), Y.template_effect(() => M = Y.set_class(A, 1, "actions-wrapper svelte-4szgdz", null, M, { visible: t.showContent })), Y.append(e, A), Y.pop();
@@ -780,7 +780,7 @@ function Ie(e, t) {
780
780
  var $ = e("Success"), Le = Y.from_html("<p class=\"payment-failed-title svelte-1mm1psu\"> </p> <p class=\"payment-failed-message svelte-1mm1psu\"> </p>", 1), Re = Y.from_html("<p class=\"payment-failed-title svelte-1mm1psu\"> </p> <p class=\"payment-failed-message svelte-1mm1psu\"> </p> <a class=\"payment-failed-retry svelte-1mm1psu\"> </a>", 1), ze = Y.from_html("<div class=\"flex flex-col items-center justify-center py-24 text-center gap-4 payment-failed-container\"><!></div>"), Be = Y.from_html("<div class=\"flex flex-col items-center justify-center py-24 text-center gap-4 loading-container svelte-1mm1psu\" data-testid=\"success-order-complete-no-details\"><p> </p></div>"), Ve = Y.from_html("<div class=\"flex items-center justify-center py-24 text-center loading-container svelte-1mm1psu\"><p> </p></div>");
781
781
  function He(e, t) {
782
782
  Y.push(t, !0);
783
- let n = Y.prop(t, "data", 19, () => ({})), r = Y.prop(t, "browseUrl", 3, "/"), i = Y.prop(t, "backHref", 3, void 0), a = Y.prop(t, "onBackToEvent", 3, void 0), o = Y.prop(t, "eventUrl", 3, void 0), s = Y.prop(t, "widgetId", 3, null), c = Y.prop(t, "venueId", 3, null), l = Y.prop(t, "labels", 19, () => ({})), u = Y.prop(t, "locale", 3, void 0), d = Y.derived(() => R(u(), l())), p = Y.derived(() => Y.get(d).ticketFallbackName), m = Y.derived(() => i() || (n()?.id && n()?.slug ? A(String(n().id), String(n().slug)) : z(r(), {}))), _ = Y.state(null), y = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i, b = Y.state(""), w = Y.state(!1), O = Y.state(!0), k = Y.derived(() => String(n()?.redirectStatus || "")), j = Y.derived(() => Y.get(k) !== "" && Y.get(k) !== "succeeded"), M = Y.derived(() => Y.get(k) === "pending" || Y.get(k) === "processing"), N = Y.state(!1), F = Y.state(!1);
783
+ let n = Y.prop(t, "data", 19, () => ({})), r = Y.prop(t, "browseUrl", 3, "/"), i = Y.prop(t, "backHref", 3, void 0), a = Y.prop(t, "onBackToEvent", 3, void 0), o = Y.prop(t, "eventUrl", 3, void 0), s = Y.prop(t, "widgetId", 3, null), c = Y.prop(t, "venueId", 3, null), l = Y.prop(t, "labels", 19, () => ({})), d = Y.prop(t, "locale", 3, void 0), f = Y.derived(() => R(d(), l())), p = Y.derived(() => Y.get(f).ticketFallbackName), m = Y.derived(() => i() || (n()?.id && n()?.slug ? A(String(n().id), String(n().slug)) : z(r(), {}))), _ = Y.state(null), y = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i, b = Y.state(""), w = Y.state(!1), O = Y.state(!0), k = Y.derived(() => String(n()?.redirectStatus || "")), j = Y.derived(() => Y.get(k) !== "" && Y.get(k) !== "succeeded"), M = Y.derived(() => Y.get(k) === "pending" || Y.get(k) === "processing"), N = Y.state(!1), F = Y.state(!1);
784
784
  async function te(e, t) {
785
785
  if (!e) return "unconfirmed";
786
786
  let n = me(e);
@@ -790,7 +790,7 @@ function He(e, t) {
790
790
  ...n,
791
791
  id: e,
792
792
  paymentIntentId: t
793
- }, u());
793
+ }, d());
794
794
  if (r?.success) return he(e), "ok";
795
795
  if (r && (r.eventCanceled || r.eventPostponed)) return he(e), "no-charge";
796
796
  }
@@ -813,7 +813,7 @@ function He(e, t) {
813
813
  return;
814
814
  }
815
815
  }
816
- let { id: e, slug: t, event: r, orderId: i, orderUuid: a, customerEmail: l, ticketCount: d, value: m, currency: C } = n() || {}, A = e ?? n()?.eventId ?? r?.id ?? null, M = String(i || a || "") || ve(A);
816
+ let { id: e, slug: t, event: r, orderId: i, orderUuid: a, customerEmail: l, ticketCount: f, value: m, currency: C } = n() || {}, A = e ?? n()?.eventId ?? r?.id ?? null, M = String(i || a || "") || ve(A);
817
817
  {
818
818
  let { postMessageOnSuccess: e, postMessageTargetOrigin: t } = S();
819
819
  if (e) {
@@ -839,7 +839,7 @@ function He(e, t) {
839
839
  !I && e != null && e !== "" && (I = await D(e).catch(() => null));
840
840
  let R;
841
841
  try {
842
- R = I ? f(I) : null;
842
+ R = I ? u(I) : null;
843
843
  } catch (e) {
844
844
  $.warn("Success: transformApiEvent failed:", e), R = null;
845
845
  }
@@ -848,7 +848,7 @@ function He(e, t) {
848
848
  return;
849
849
  }
850
850
  let z = l || J(M), H = [], U = null;
851
- if (await L(u()).catch((e) => {
851
+ if (await L(d()).catch((e) => {
852
852
  $.warn("Success: locale bundle unavailable, receipt stays English:", e);
853
853
  }), M) try {
854
854
  let e = await re(M);
@@ -885,10 +885,10 @@ function He(e, t) {
885
885
  } catch (e) {
886
886
  $.warn("Success: getOrder failed, using route params:", e);
887
887
  }
888
- H.length === 0 && d > 0 && (H = [{
888
+ H.length === 0 && f > 0 && (H = [{
889
889
  ticketId: 0,
890
890
  ticketName: Y.get(p),
891
- quantity: d,
891
+ quantity: f,
892
892
  unitPrice: 0,
893
893
  fee: 0,
894
894
  subtotal: 0
@@ -907,7 +907,7 @@ function He(e, t) {
907
907
  Y.reset(n);
908
908
  var i = Y.sibling(n, 2), a = Y.child(i, !0);
909
909
  Y.reset(i), Y.template_effect(() => {
910
- Y.set_text(r, Y.get(d).paymentNotConfirmedTitle || "Payment not confirmed"), Y.set_text(a, Y.get(d).paymentNotConfirmedMessage || "We couldn't confirm this payment yet. If it completes, a confirmation email will arrive shortly — please don't try again until then");
910
+ Y.set_text(r, Y.get(f).paymentNotConfirmedTitle || "Payment not confirmed"), Y.set_text(a, Y.get(f).paymentNotConfirmedMessage || "We couldn't confirm this payment yet. If it completes, a confirmation email will arrive shortly — please don't try again until then");
911
911
  }), Y.append(e, t);
912
912
  }, i = (e) => {
913
913
  var t = Re(), n = Y.first_child(t), r = Y.child(n, !0);
@@ -916,7 +916,7 @@ function He(e, t) {
916
916
  Y.reset(i);
917
917
  var o = Y.sibling(i, 2), s = Y.child(o, !0);
918
918
  Y.reset(o), Y.template_effect(() => {
919
- Y.set_text(r, Y.get(d).paymentNotCompletedTitle || "Payment wasn't completed"), Y.set_text(a, Y.get(d).paymentNotCompletedMessage || "The payment didn't go through, so no tickets were issued. You can head back to the event and try again"), Y.set_attribute(o, "href", Y.get(m)), Y.set_text(s, Y.get(d).backToEvent || "Back to event");
919
+ Y.set_text(r, Y.get(f).paymentNotCompletedTitle || "Payment wasn't completed"), Y.set_text(a, Y.get(f).paymentNotCompletedMessage || "The payment didn't go through, so no tickets were issued. You can head back to the event and try again"), Y.set_attribute(o, "href", Y.get(m)), Y.set_text(s, Y.get(f).backToEvent || "Back to event");
920
920
  }), Y.append(e, t);
921
921
  };
922
922
  Y.if(n, (e) => {
@@ -924,10 +924,10 @@ function He(e, t) {
924
924
  }), Y.reset(t), Y.append(e, t);
925
925
  }, W = (e) => {
926
926
  var t = Be(), n = Y.child(t), r = Y.child(n, !0);
927
- Y.reset(n), Y.reset(t), Y.template_effect(() => Y.set_text(r, Y.get(d).orderCompleteDetailsInEmail || "Order complete. Your confirmation email has the details")), Y.append(e, t);
927
+ Y.reset(n), Y.reset(t), Y.template_effect(() => Y.set_text(r, Y.get(f).orderCompleteDetailsInEmail || "Order complete. Your confirmation email has the details")), Y.append(e, t);
928
928
  }, ie = (e) => {
929
929
  var t = Ve(), n = Y.child(t), r = Y.child(n, !0);
930
- Y.reset(n), Y.reset(t), Y.template_effect(() => Y.set_text(r, Y.get(d).loadingYourOrder || "Loading your order...")), Y.append(e, t);
930
+ Y.reset(n), Y.reset(t), Y.template_effect(() => Y.set_text(r, Y.get(f).loadingYourOrder || "Loading your order...")), Y.append(e, t);
931
931
  }, G = (e) => {
932
932
  Ie(e, {
933
933
  get data() {
@@ -940,10 +940,10 @@ function He(e, t) {
940
940
  return a();
941
941
  },
942
942
  get labels() {
943
- return Y.get(d);
943
+ return Y.get(f);
944
944
  },
945
945
  get locale() {
946
- return u();
946
+ return d();
947
947
  }
948
948
  });
949
949
  };
@@ -1,4 +1,4 @@
1
- import { Y as e } from "./datetime-vgtbUysw.js";
1
+ import { X as e } from "./datetime-YTw6PkGP.js";
2
2
  import "svelte/internal/disclose-version";
3
3
  import * as t from "svelte/internal/client";
4
4
  //#region node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/phosphor/TagIcon.svelte
@@ -2,7 +2,7 @@ import { m as e, v as t } from "./sizing-B7ixYndz.js";
2
2
  import { V as n, i as r, n as i, t as a } from "./defaultLabels-CsRGNP7f.js";
3
3
  import { t as o } from "./Button-VUB2WJ88.js";
4
4
  import { P as s, a as c } from "./orders-BWVwv3P0.js";
5
- import { n as l, t as u } from "./Heading-Db8kKUvN.js";
5
+ import { n as l, t as u } from "./Heading-vOVPxhJF.js";
6
6
  import { t as d } from "./Textarea-Cymhixzd.js";
7
7
  import { t as f } from "./Spinner-BgdjQygI.js";
8
8
  import { t as p } from "./Text-CqjLjIF8.js";
@@ -1,4 +1,4 @@
1
- import { Y as e } from "./datetime-vgtbUysw.js";
1
+ import { X as e } from "./datetime-YTw6PkGP.js";
2
2
  import "svelte/internal/disclose-version";
3
3
  import * as t from "svelte/internal/client";
4
4
  //#region node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/phosphor/AddIcon.svelte