@getmicdrop/venue-calendar 4.2.22 → 4.2.24

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 (34) hide show
  1. package/dist/{Checkout-BcLpNxe4.js → Checkout-eiV86Gnx.js} +1 -1
  2. package/dist/{CollectionView-6G-31HHl.js → CollectionView-CwW9g7zH.js} +1 -1
  3. package/dist/{Event-DtaPXsEV.js → Event-Plllwv75.js} +1 -1
  4. package/dist/{EventPage-CAmpqvgI.js → EventPage-ilwqlXOS.js} +63 -63
  5. package/dist/{SeriesPage-k9Di6IES.js → SeriesPage-CRhLU-gu.js} +1 -1
  6. package/dist/{serverTotals-CNjGootb.js → serverTotals-ty3HwDSG.js} +690 -691
  7. package/dist/venue-calendar.es.js +7 -7
  8. package/dist/venue-calendar.iife.js +4 -4
  9. package/dist/venue-calendar.umd.js +3 -3
  10. package/package.json +1 -1
  11. /package/dist/locales/{4.2.22 → 4.2.24}/flow/de.js +0 -0
  12. /package/dist/locales/{4.2.22 → 4.2.24}/flow/es.js +0 -0
  13. /package/dist/locales/{4.2.22 → 4.2.24}/flow/fr.js +0 -0
  14. /package/dist/locales/{4.2.22 → 4.2.24}/flow/id.js +0 -0
  15. /package/dist/locales/{4.2.22 → 4.2.24}/flow/it.js +0 -0
  16. /package/dist/locales/{4.2.22 → 4.2.24}/flow/ja.js +0 -0
  17. /package/dist/locales/{4.2.22 → 4.2.24}/flow/ko.js +0 -0
  18. /package/dist/locales/{4.2.22 → 4.2.24}/flow/nl.js +0 -0
  19. /package/dist/locales/{4.2.22 → 4.2.24}/flow/pl.js +0 -0
  20. /package/dist/locales/{4.2.22 → 4.2.24}/flow/pt-br.js +0 -0
  21. /package/dist/locales/{4.2.22 → 4.2.24}/flow/tr.js +0 -0
  22. /package/dist/locales/{4.2.22 → 4.2.24}/flow/zh.js +0 -0
  23. /package/dist/locales/{4.2.22 → 4.2.24}/main/de.js +0 -0
  24. /package/dist/locales/{4.2.22 → 4.2.24}/main/es.js +0 -0
  25. /package/dist/locales/{4.2.22 → 4.2.24}/main/fr.js +0 -0
  26. /package/dist/locales/{4.2.22 → 4.2.24}/main/id.js +0 -0
  27. /package/dist/locales/{4.2.22 → 4.2.24}/main/it.js +0 -0
  28. /package/dist/locales/{4.2.22 → 4.2.24}/main/ja.js +0 -0
  29. /package/dist/locales/{4.2.22 → 4.2.24}/main/ko.js +0 -0
  30. /package/dist/locales/{4.2.22 → 4.2.24}/main/nl.js +0 -0
  31. /package/dist/locales/{4.2.22 → 4.2.24}/main/pl.js +0 -0
  32. /package/dist/locales/{4.2.22 → 4.2.24}/main/pt-br.js +0 -0
  33. /package/dist/locales/{4.2.22 → 4.2.24}/main/tr.js +0 -0
  34. /package/dist/locales/{4.2.22 → 4.2.24}/main/zh.js +0 -0
@@ -6,7 +6,7 @@ import { C as f, O as p, m, y as h } from "./constants-Dd1OW0ym.js";
6
6
  import { t as g } from "./TagIcon-CL-WakC2.js";
7
7
  import { t as _ } from "./WarningTriIcon-CWhEFD0v.js";
8
8
  import { i as v, l as y, n as b, r as x, s as S, t as C } from "./orders-xGH8-IQn.js";
9
- import { n as w, t as T } from "./serverTotals-CNjGootb.js";
9
+ import { n as w, t as T } from "./serverTotals-ty3HwDSG.js";
10
10
  import { a as E, i as D, n as O, r as k, t as A } from "./ModalFooter-RlEBjkyy.js";
11
11
  import { C as ee, d as te, f as ne, u as j } from "./colors-tL-ehMVJ.js";
12
12
  import { t as re } from "./event-transform-bVAER-JP.js";
@@ -1,6 +1,6 @@
1
1
  import { x as e } from "./Button-C4uFgl7L.js";
2
2
  import { r as t } from "./timezones-C5l0SSHK.js";
3
- import { t as n } from "./Event-DtaPXsEV.js";
3
+ import { t as n } from "./Event-Plllwv75.js";
4
4
  import { y as r } from "./constants-Dd1OW0ym.js";
5
5
  import { r as i } from "./shareCopyFeedback.svelte-KjYs8ZAM.js";
6
6
  import { n as a } from "./ScarcityBadge-CpzMexCJ.js";
@@ -13,7 +13,7 @@ import { a as L, i as R, r as z, t as B } from "./href-Blf-LMRj.js";
13
13
  import { r as V, t as H } from "./Badge-Bv_MT-Vt.js";
14
14
  import { t as te } from "./Image-B3cEndLZ.js";
15
15
  import { M as ne, k as U, t as W } from "./orders-xGH8-IQn.js";
16
- import { t as G } from "./serverTotals-CNjGootb.js";
16
+ import { t as G } from "./serverTotals-ty3HwDSG.js";
17
17
  import { l as K, o as re, u as q } from "./__SKIP_PATHS__-DmdRxELE.js";
18
18
  import { c as ie, i as ae, s as oe, t as se } from "./to-event-card-props-BEUlUY9R.js";
19
19
  import { t as J } from "./z-index-B0Vk_Mp1.js";
@@ -1,6 +1,6 @@
1
1
  import { C as e, h as t, t as n, v as r, x as i } from "./Button-C4uFgl7L.js";
2
2
  import { A as a, M as o, r as s } from "./timezones-C5l0SSHK.js";
3
- import { t as c } from "./Event-DtaPXsEV.js";
3
+ import { t as c } from "./Event-Plllwv75.js";
4
4
  import { n as l, t as u } from "./Input-yBh2hkV6.js";
5
5
  import { a as d, c as f, n as p, o as m, s as h } from "./phoneUtils-DsK2Ic7g.js";
6
6
  import { y as g } from "./constants-Dd1OW0ym.js";
@@ -257,8 +257,8 @@ function be(e, t) {
257
257
  }
258
258
  //#endregion
259
259
  //#region src/components/Modals/WaitlistModal.svelte
260
- var xe = B.from_html("<p class=\"mt-2 type-body tone-secondary max-w-72\"> </p>"), Se = B.from_html("<p> </p>"), Ce = B.from_html("<div class=\"flex flex-col items-center text-center pt-6 px-4 pb-4\"><div class=\"w-16 h-16 rounded-full flex items-center justify-center mb-4 bg-accent-success/10 text-accent-success\" aria-hidden=\"true\"><!></div> <h3 id=\"waitlist-title\"> </h3> <p id=\"waitlist-description\" class=\"type-body tone-secondary max-w-72\"> </p> <!> <!></div>"), we = B.from_html("<p class=\"type-caption text-accent-danger mt-1\"> </p>"), Y = B.from_html("<div class=\"ml-7\"><!> <!> <p> </p></div>"), Te = B.from_html("<div class=\"p-3 bg-status-error-bg border border-status-error-border rounded-lg\"><p> </p></div>"), X = B.from_html("<div class=\"flex flex-col pt-6 px-4 pb-4\"><div class=\"flex items-center justify-center mb-4\"><div class=\"w-12 h-12 rounded-full flex items-center justify-center bg-brand-primary/10 text-brand-primary\" aria-hidden=\"true\"><!></div></div> <h3 id=\"waitlist-title\"> </h3> <p id=\"waitlist-description\" class=\"type-body tone-secondary text-center mb-6\"> </p> <form class=\"space-y-4\"><div><label for=\"waitlist-email\" class=\"block type-label tone-secondary mb-1\"> </label> <div class=\"relative\"><!></div> <!></div> <div class=\"space-y-2\"><label class=\"flex items-start gap-3 cursor-pointer\"><input type=\"checkbox\" name=\"smsOptIn\" class=\"mt-0.5 w-4 h-4 text-brand-primary border-stroke-primary rounded focus-ring\"/> <span class=\"type-body tone-secondary\"> </span></label> <!></div> <!></form></div>"), Ee = B.from_html("<!> <!>", 1), De = B.from_html("<div class=\"flex gap-3 w-full\" role=\"group\"><!></div>");
261
- function Oe(e, t) {
260
+ var xe = B.from_html("<p class=\"mt-2 type-body tone-secondary max-w-72\"> </p>"), Se = B.from_html("<p> </p>"), Ce = B.from_html("<div class=\"flex flex-col items-center text-center pt-6 px-4 pb-4\"><div class=\"w-16 h-16 rounded-full flex items-center justify-center mb-4 bg-accent-success/10 text-accent-success\" aria-hidden=\"true\"><!></div> <h3 id=\"waitlist-title\"> </h3> <p id=\"waitlist-description\" class=\"type-body tone-secondary max-w-72\"> </p> <!> <!></div>"), we = B.from_html("<p class=\"type-caption text-accent-danger mt-1\"> </p>"), Y = B.from_html("<div class=\"ml-7\"><!> <!> <p> </p></div>"), Te = B.from_html("<div class=\"p-3 bg-status-error-bg border border-status-error-border rounded-lg\"><p> </p></div>"), Ee = B.from_html("<div class=\"flex flex-col pt-6 px-4 pb-4\"><div class=\"flex items-center justify-center mb-4\"><div class=\"w-12 h-12 rounded-full flex items-center justify-center bg-brand-primary/10 text-brand-primary\" aria-hidden=\"true\"><!></div></div> <h3 id=\"waitlist-title\"> </h3> <p id=\"waitlist-description\" class=\"type-body tone-secondary text-center mb-6\"> </p> <form class=\"space-y-4\"><div><label for=\"waitlist-email\" class=\"block type-label tone-secondary mb-1\"> </label> <div class=\"relative\"><!></div> <!></div> <div class=\"space-y-2\"><label class=\"flex items-start gap-3 cursor-pointer\"><input type=\"checkbox\" name=\"smsOptIn\" class=\"mt-0.5 w-4 h-4 text-brand-primary border-stroke-primary rounded focus-ring\"/> <span class=\"type-body tone-secondary\"> </span></label> <!></div> <!></form></div>"), De = B.from_html("<!> <!>", 1), Oe = B.from_html("<div class=\"flex gap-3 w-full\" role=\"group\"><!></div>");
261
+ function ke(e, t) {
262
262
  B.push(t, !0);
263
263
  let n = B.prop(t, "show", 15, !1);
264
264
  B.prop(t, "eventName", 3, "this event");
@@ -295,12 +295,12 @@ function Oe(e, t) {
295
295
  n(e);
296
296
  },
297
297
  children: (e, t) => {
298
- var n = Ee(), i = B.first_child(n);
298
+ var n = De(), i = B.first_child(n);
299
299
  k(i, {});
300
300
  var a = B.sibling(i, 2);
301
301
  j(a, {
302
302
  children: (e, t) => {
303
- var n = Ee(), i = B.first_child(n);
303
+ var n = De(), i = B.first_child(n);
304
304
  A(i, {
305
305
  children: (e, t) => {
306
306
  var n = B.comment(), i = B.first_child(n), a = (e) => {
@@ -329,7 +329,7 @@ function Oe(e, t) {
329
329
  B.set_class(a, 1, `mb-2 ${r.heading ?? ""}`), B.set_text(s, o().youreOnTheList || "You're on the waitlist"), B.set_text(l, o().waitlistNotifyByEmail || "We'll let you know if tickets become available");
330
330
  }), B.append(e, t);
331
331
  }, s = (e) => {
332
- var t = X(), n = B.child(t), i = B.child(n), a = B.child(i);
332
+ var t = Ee(), n = B.child(t), i = B.child(n), a = B.child(i);
333
333
  _(a, { size: "24" }), B.reset(i), B.reset(n);
334
334
  var s = B.sibling(n, 2), l = B.child(s, !0);
335
335
  B.reset(s);
@@ -435,7 +435,7 @@ function Oe(e, t) {
435
435
  var a = B.sibling(i, 2);
436
436
  M(a, {
437
437
  children: (e, t) => {
438
- var n = De(), r = B.child(n), i = (e) => {
438
+ var n = Oe(), r = B.child(n), i = (e) => {
439
439
  s(e, {
440
440
  size: "full",
441
441
  variant: "default",
@@ -448,7 +448,7 @@ function Oe(e, t) {
448
448
  $$slots: { default: !0 }
449
449
  });
450
450
  }, a = (e) => {
451
- var t = Ee(), n = B.first_child(t);
451
+ var t = De(), n = B.first_child(t);
452
452
  s(n, {
453
453
  size: "full",
454
454
  variant: "alternative",
@@ -501,8 +501,8 @@ function Oe(e, t) {
501
501
  }
502
502
  //#endregion
503
503
  //#region src/components/Views/EventPage.svelte
504
- var ke = i("EventPage"), Ae = B.from_html("<div class=\"flex items-center justify-center py-12 text-center loading-container svelte-1dk5n3m\"><p> </p></div>"), je = B.from_html("<div class=\"flex flex-col items-center justify-center py-12 text-center gap-4\"><p class=\"error-text svelte-1dk5n3m\"> </p> <!></div>"), Me = B.from_html("<div class=\"locked-wrapper svelte-1dk5n3m\"><div class=\"locked-overlay absolute inset-0 z-navigation flex flex-col items-center justify-center min-h-96 svelte-1dk5n3m\"><div class=\"text-center p-8\"><div class=\"locked-icon-wrapper w-20 h-20 mx-auto mb-4 rounded-full flex items-center justify-center svelte-1dk5n3m\"><!></div> <h2 class=\"locked-title type-heading mb-2 svelte-1dk5n3m\"> </h2> <p class=\"locked-description type-body max-w-xs mx-auto mb-6 svelte-1dk5n3m\"> </p> <!></div></div> <div class=\"blur-content svelte-1dk5n3m\"><!></div></div>"), Ne = B.from_html("<div class=\"waitlist-window-banner svelte-1dk5n3m\"><span class=\"type-body\"> <strong class=\"waitlist-window-time svelte-1dk5n3m\"> </strong> </span></div>"), Pe = B.from_html("<div class=\"waitlist-window-banner svelte-1dk5n3m\"><span class=\"type-body\"> </span></div>"), Fe = B.from_html("<div class=\"waitlist-window-banner waitlist-window-banner-expired svelte-1dk5n3m\"><span class=\"type-body\"> </span> <div class=\"waitlist-requeue-action svelte-1dk5n3m\"><!></div></div>"), Ie = B.from_html("<!> <!>", 1), Le = B.from_html("<!> <!> <!>", 1);
505
- function Re(e, t) {
504
+ var Ae = i("EventPage"), je = B.from_html("<div class=\"flex items-center justify-center py-12 text-center loading-container svelte-1dk5n3m\"><p> </p></div>"), Me = B.from_html("<div class=\"flex flex-col items-center justify-center py-12 text-center gap-4\"><p class=\"error-text svelte-1dk5n3m\"> </p> <!></div>"), Ne = B.from_html("<div class=\"locked-wrapper svelte-1dk5n3m\"><div class=\"locked-overlay absolute inset-0 z-navigation flex flex-col items-center justify-center min-h-96 svelte-1dk5n3m\"><div class=\"text-center p-8\"><div class=\"locked-icon-wrapper w-20 h-20 mx-auto mb-4 rounded-full flex items-center justify-center svelte-1dk5n3m\"><!></div> <h2 class=\"locked-title type-heading mb-2 svelte-1dk5n3m\"> </h2> <p class=\"locked-description type-body max-w-xs mx-auto mb-6 svelte-1dk5n3m\"> </p> <!></div></div> <div class=\"blur-content svelte-1dk5n3m\"><!></div></div>"), Pe = B.from_html("<div class=\"waitlist-window-banner svelte-1dk5n3m\"><span class=\"type-body\"> <strong class=\"waitlist-window-time svelte-1dk5n3m\"> </strong> </span></div>"), Fe = B.from_html("<div class=\"waitlist-window-banner svelte-1dk5n3m\"><span class=\"type-body\"> </span></div>"), Ie = B.from_html("<div class=\"waitlist-window-banner waitlist-window-banner-expired svelte-1dk5n3m\"><span class=\"type-body\"> </span> <div class=\"waitlist-requeue-action svelte-1dk5n3m\"><!></div></div>"), Le = B.from_html("<!> <!>", 1), Re = B.from_html("<!> <!> <!>", 1);
505
+ function ze(e, t) {
506
506
  B.push(t, !0);
507
507
  let n = B.prop(t, "rawEvent", 3, void 0), r = B.prop(t, "eventId", 3, void 0), i = B.prop(t, "slug", 3, "");
508
508
  B.prop(t, "currentEventId", 3, void 0);
@@ -563,47 +563,47 @@ function Re(e, t) {
563
563
  function we() {
564
564
  K.close(), a() && a()();
565
565
  }
566
- let Y = B.state(""), Te = B.state(0), X = 0;
567
- async function Ee(e) {
568
- let t = ++X, n = await ne(String(B.get(H)), e), r = be(n, e);
569
- if (r.isApplied && t === X && (B.set(Y, r.code, !0), B.set(Te, r.discountAmount, !0), n.revealHiddenTickets || n.revealTicketIds?.length)) {
566
+ let Y = B.state(""), Te = B.state(0), Ee = 0;
567
+ async function De(e) {
568
+ let t = ++Ee, n = await ne(String(B.get(H)), e), r = be(n, e);
569
+ if (r.isApplied && t === Ee && (B.set(Y, r.code, !0), B.set(Te, r.discountAmount, !0), n.revealHiddenTickets || n.revealTicketIds?.length)) {
570
570
  let n = await F(String(B.get(H)), e);
571
- t === X && n.length > 0 && B.set(L, n, !0);
571
+ t === Ee && n.length > 0 && B.set(L, n, !0);
572
572
  }
573
573
  return r;
574
574
  }
575
- function De() {
576
- X++, B.set(Y, ""), B.set(Te, 0), B.set(L, null);
575
+ function Oe() {
576
+ Ee++, B.set(Y, ""), B.set(Te, 0), B.set(L, null);
577
577
  }
578
- let Re = B.state(!1), ze = B.state(!1), Z = B.state(!1), Q = B.state(""), Be = te(), Ve = B.derived(() => B.get(ze) && !B.get(Z)), He = B.state(null), Ue = B.state(null);
578
+ let ze = B.state(!1), Be = B.state(!1), X = B.state(!1), Z = B.state(""), Ve = te(), He = B.derived(() => B.get(Be) && !B.get(X)), Ue = B.state(null), We = B.state(null);
579
579
  B.user_effect(() => {
580
- let e = B.get(He);
580
+ let e = B.get(Ue);
581
581
  if (e === null) return;
582
582
  let t = () => {
583
583
  let t = e - Date.now();
584
584
  if (t <= 0) {
585
- B.set(Ue, null), B.set(He, null), B.set(Z, !1), B.set($, "token_expired"), B.set(Q, Ye("token_expired"), !0), T(B.get(Q), { politeness: "assertive" });
585
+ B.set(We, null), B.set(Ue, null), B.set(X, !1), B.set(Q, "token_expired"), B.set(Z, Ye("token_expired"), !0), T(B.get(Z), { politeness: "assertive" });
586
586
  return;
587
587
  }
588
- B.set(Ue, t);
588
+ B.set(We, t);
589
589
  };
590
590
  t();
591
591
  let n = setInterval(t, 1e3);
592
592
  return () => clearInterval(n);
593
593
  });
594
- let We = B.derived(() => {
595
- if (B.get(Ue) === null) return "";
596
- let e = Math.max(0, Math.floor(B.get(Ue) / 1e3));
594
+ let Ge = B.derived(() => {
595
+ if (B.get(We) === null) return "";
596
+ let e = Math.max(0, Math.floor(B.get(We) / 1e3));
597
597
  return `${Math.floor(e / 60)}:${String(e % 60).padStart(2, "0")}`;
598
- }), $ = B.state(""), Ge = B.state(!1), Ke = B.state(!1), qe = B.derived(() => B.get($) === "token_expired" && !!h() && !!_());
598
+ }), Q = B.state(""), Ke = B.state(!1), $ = B.state(!1), qe = B.derived(() => B.get(Q) === "token_expired" && !!h() && !!_());
599
599
  async function Je() {
600
- if (!(B.get(Ge) || B.get(Ke) || !h() || !_())) {
601
- B.set(Ge, !0);
600
+ if (!(B.get(Ke) || B.get($) || !h() || !_())) {
601
+ B.set(Ke, !0);
602
602
  try {
603
603
  let e = await P(h(), _());
604
- e.success ? (B.set(Ke, !0), B.set(Q, ""), T(b().waitlistRequeueDone || "You're first in line — we'll email you the moment the next seat opens up", { politeness: "polite" })) : e.errorCode === "entry_not_found" ? (B.set($, e.errorCode, !0), B.set(Q, b().waitlistRequeueNotOnList || "You're no longer on this waitlist — join again from the button below", !0)) : e.errorCode === "token_used" ? (B.set($, e.errorCode, !0), B.set(Q, Ye("token_used"), !0)) : B.set(Q, b().waitlistRequeueFailed || "We couldn't move you up just now — you're still on the waitlist", !0);
604
+ e.success ? (B.set($, !0), B.set(Z, ""), T(b().waitlistRequeueDone || "You're first in line — we'll email you the moment the next seat opens up", { politeness: "polite" })) : e.errorCode === "entry_not_found" ? (B.set(Q, e.errorCode, !0), B.set(Z, b().waitlistRequeueNotOnList || "You're no longer on this waitlist — join again from the button below", !0)) : e.errorCode === "token_used" ? (B.set(Q, e.errorCode, !0), B.set(Z, Ye("token_used"), !0)) : B.set(Z, b().waitlistRequeueFailed || "We couldn't move you up just now — you're still on the waitlist", !0);
605
605
  } finally {
606
- B.set(Ge, !1);
606
+ B.set(Ke, !1);
607
607
  }
608
608
  }
609
609
  }
@@ -617,10 +617,10 @@ function Re(e, t) {
617
617
  }
618
618
  }
619
619
  function Xe() {
620
- Be.open();
620
+ Ve.open();
621
621
  }
622
622
  function Ze() {
623
- B.set(Q, "");
623
+ B.set(Z, "");
624
624
  }
625
625
  async function Qe(e) {
626
626
  if (!B.get(G)) return;
@@ -650,7 +650,7 @@ function Re(e, t) {
650
650
  quantities: t,
651
651
  promoCode: B.get(Y) || void 0,
652
652
  attribution: S(),
653
- ...B.get(Z) && h() && _() ? {
653
+ ...B.get(X) && h() && _() ? {
654
654
  waitlistToken: h(),
655
655
  customerEmail: _()
656
656
  } : {}
@@ -666,7 +666,7 @@ function Re(e, t) {
666
666
  d()(e);
667
667
  return;
668
668
  }
669
- e.id ? y(D(ee(e.id, e.slug), {})) : (ke.warn("Collection event missing id, navigating by slug only"), y(D(w(e.slug), {})));
669
+ e.id ? y(D(ee(e.id, e.slug), {})) : (Ae.warn("Collection event missing id, navigating by slug only"), y(D(w(e.slug), {})));
670
670
  }
671
671
  function et(e) {
672
672
  l() ? l()(o(e.id), e.slug) : y(D(ee(e.id, e.slug), {}));
@@ -712,23 +712,23 @@ function Re(e, t) {
712
712
  } catch {}
713
713
  if (B.get(_e) && !xe(B.get(H)) && K.open(), B.get(H)) {
714
714
  let e = await ae(B.get(H));
715
- B.set(Re, e.waitlistEnabled, !0), B.set(ze, e.gated, !0);
715
+ B.set(ze, e.waitlistEnabled, !0), B.set(Be, e.gated, !0);
716
716
  }
717
717
  if (h() && _()) {
718
718
  let e = await I(h(), _());
719
719
  if (e.valid) {
720
- if (B.set(Z, !0), e.expiresAt) {
720
+ if (B.set(X, !0), e.expiresAt) {
721
721
  let t = Date.parse(e.expiresAt);
722
- Number.isFinite(t) && B.set(He, t, !0);
722
+ Number.isFinite(t) && B.set(Ue, t, !0);
723
723
  }
724
- } else B.set($, e.errorCode || "invalid_token", !0), B.set(Q, Ye(e.errorCode), !0), B.get($) === "token_expired" && T(B.get(Q), { politeness: "polite" });
724
+ } else e.errorCode === "token_requeued" ? B.set($, !0) : (B.set(Q, e.errorCode || "invalid_token", !0), B.set(Z, Ye(e.errorCode), !0), B.get(Q) === "token_expired" && T(B.get(Z), { politeness: "polite" }));
725
725
  }
726
726
  });
727
- var tt = Le(), nt = B.first_child(tt), rt = (e) => {
728
- var t = Ae(), n = B.child(t), r = B.child(n, !0);
727
+ var tt = Re(), nt = B.first_child(tt), rt = (e) => {
728
+ var t = je(), n = B.child(t), r = B.child(n, !0);
729
729
  B.reset(n), B.reset(t), B.template_effect(() => B.set_text(r, b().loadingEvent || "Loading event...")), B.append(e, t);
730
730
  }, it = (e) => {
731
- var t = je(), n = B.child(t), r = B.child(n);
731
+ var t = Me(), n = B.child(t), r = B.child(n);
732
732
  B.reset(n);
733
733
  var i = B.sibling(n, 2), o = (e) => {
734
734
  s(e, {
@@ -749,7 +749,7 @@ function Re(e, t) {
749
749
  }), B.reset(t), B.template_effect(() => B.set_text(r, `${(b().errorPrefix || "Error:") ?? ""} ${B.get(M) ?? ""}`)), B.append(e, t);
750
750
  }, at = (e) => {
751
751
  var t = B.comment(), n = B.first_child(t), r = (e) => {
752
- var t = Me(), n = B.child(t), r = B.child(n), i = B.child(r), a = B.child(i);
752
+ var t = Ne(), n = B.child(t), r = B.child(n), i = B.child(r), a = B.child(i);
753
753
  m(a, { size: "32" }), B.reset(i);
754
754
  var o = B.sibling(i, 2), l = B.child(o, !0);
755
755
  B.reset(o);
@@ -776,12 +776,12 @@ function Re(e, t) {
776
776
  get checkoutError() {
777
777
  return B.get(N);
778
778
  },
779
- onPromoApply: Ee,
780
- onPromoRemove: De,
779
+ onPromoApply: De,
780
+ onPromoRemove: Oe,
781
781
  onCollectionEventClick: $e,
782
782
  onShowtimeClick: et,
783
783
  get gated() {
784
- return B.get(Ve);
784
+ return B.get(He);
785
785
  },
786
786
  get unavailable() {
787
787
  return B.get(U);
@@ -790,11 +790,11 @@ function Re(e, t) {
790
790
  return B.get(W);
791
791
  },
792
792
  get waitlistEnabled() {
793
- return B.get(Re);
793
+ return B.get(ze);
794
794
  },
795
795
  onJoinWaitlist: Xe,
796
796
  get waitlistLinkError() {
797
- return B.get(Q);
797
+ return B.get(Z);
798
798
  },
799
799
  onDismissWaitlistLinkError: Ze,
800
800
  get labels() {
@@ -807,41 +807,41 @@ function Re(e, t) {
807
807
  B.set_text(l, b().passwordProtectedTitle || "This event is password protected"), B.set_text(d, b().passwordProtectedDescription || "Enter the event password to view details and purchase tickets");
808
808
  }), B.append(e, t);
809
809
  }, i = (e) => {
810
- var t = Ie(), n = B.first_child(t), r = (e) => {
811
- var t = Ne(), n = B.child(t), r = B.child(n), i = B.sibling(r), a = B.child(i, !0);
810
+ var t = Le(), n = B.first_child(t), r = (e) => {
811
+ var t = Pe(), n = B.child(t), r = B.child(n), i = B.sibling(r), a = B.child(i, !0);
812
812
  B.reset(i);
813
813
  var o = B.sibling(i);
814
814
  B.reset(n), B.reset(t), B.template_effect(() => {
815
- B.set_text(r, `${(b().waitlistWindowNotice || "These tickets are being held for you for") ?? ""} `), B.set_text(a, B.get(We)), B.set_text(o, ` ${(b().waitlistWindowSuffix || "— after that, your spot passes to the next person in line") ?? ""}`);
815
+ B.set_text(r, `${(b().waitlistWindowNotice || "These tickets are being held for you for") ?? ""} `), B.set_text(a, B.get(Ge)), B.set_text(o, ` ${(b().waitlistWindowSuffix || "— after that, your spot passes to the next person in line") ?? ""}`);
816
816
  }), B.append(e, t);
817
817
  }, i = (e) => {
818
- var t = Pe(), n = B.child(t), r = B.child(n, !0);
818
+ var t = Fe(), n = B.child(t), r = B.child(n, !0);
819
819
  B.reset(n), B.reset(t), B.template_effect(() => B.set_text(r, b().waitlistRequeueDone || "You're first in line — we'll email you the moment the next seat opens up")), B.append(e, t);
820
820
  }, a = (e) => {
821
- var t = Fe(), n = B.child(t), r = B.child(n, !0);
821
+ var t = Ie(), n = B.child(t), r = B.child(n, !0);
822
822
  B.reset(n);
823
823
  var i = B.sibling(n, 2), a = B.child(i);
824
824
  s(a, {
825
825
  variant: "default",
826
826
  size: "sm",
827
827
  get disabled() {
828
- return B.get(Ge);
828
+ return B.get(Ke);
829
829
  },
830
830
  onclick: Je,
831
831
  children: (e, t) => {
832
832
  B.next();
833
833
  var n = B.text();
834
- B.template_effect(() => B.set_text(n, B.get(Ge) ? b().waitlistRequeueBusy || "Moving you up…" : b().waitlistRequeueCta || "Take the next spot in line")), B.append(e, n);
834
+ B.template_effect(() => B.set_text(n, B.get(Ke) ? b().waitlistRequeueBusy || "Moving you up…" : b().waitlistRequeueCta || "Take the next spot in line")), B.append(e, n);
835
835
  },
836
836
  $$slots: { default: !0 }
837
837
  }), B.reset(i), B.reset(t), B.template_effect(() => B.set_text(r, b().waitlistWindowExpired || "Your purchase window has expired — the seat is being offered to the next person in line")), B.append(e, t);
838
838
  };
839
839
  B.if(n, (e) => {
840
- B.get(Z) && B.get(We) ? e(r) : B.get(Ke) ? e(i, 1) : B.get(qe) && e(a, 2);
840
+ B.get(X) && B.get(Ge) ? e(r) : B.get($) ? e(i, 1) : B.get(qe) && e(a, 2);
841
841
  });
842
842
  var o = B.sibling(n, 2);
843
843
  {
844
- let e = B.derived(() => B.get(qe) || B.get(Ke) ? "" : B.get(Q)), t = B.derived(() => B.get(Z) ? h() : ""), n = B.derived(() => B.get(Z) ? _() : "");
844
+ let e = B.derived(() => B.get(qe) || B.get($) ? "" : B.get(Z)), t = B.derived(() => B.get(X) ? h() : ""), n = B.derived(() => B.get(X) ? _() : "");
845
845
  c(o, {
846
846
  get event() {
847
847
  return B.get(G);
@@ -850,12 +850,12 @@ function Re(e, t) {
850
850
  get checkoutError() {
851
851
  return B.get(N);
852
852
  },
853
- onPromoApply: Ee,
854
- onPromoRemove: De,
853
+ onPromoApply: De,
854
+ onPromoRemove: Oe,
855
855
  onCollectionEventClick: $e,
856
856
  onShowtimeClick: et,
857
857
  get gated() {
858
- return B.get(Ve);
858
+ return B.get(He);
859
859
  },
860
860
  get unavailable() {
861
861
  return B.get(U);
@@ -864,7 +864,7 @@ function Re(e, t) {
864
864
  return B.get(W);
865
865
  },
866
866
  get waitlistEnabled() {
867
- return B.get(Re);
867
+ return B.get(ze);
868
868
  },
869
869
  onJoinWaitlist: Xe,
870
870
  get waitlistLinkError() {
@@ -942,10 +942,10 @@ function Re(e, t) {
942
942
  }
943
943
  });
944
944
  }
945
- var lt = B.sibling(ot, 2), ut = () => Be.isOpen, dt = (e) => e ? Be.open() : Be.close();
945
+ var lt = B.sibling(ot, 2), ut = () => Ve.isOpen, dt = (e) => e ? Ve.open() : Ve.close();
946
946
  {
947
947
  let e = B.derived(() => B.get(G)?.title || "this event");
948
- Oe(lt, {
948
+ ke(lt, {
949
949
  get show() {
950
950
  return ut();
951
951
  },
@@ -958,7 +958,7 @@ function Re(e, t) {
958
958
  get eventName() {
959
959
  return B.get(e);
960
960
  },
961
- onClose: () => Be.close(),
961
+ onClose: () => Ve.close(),
962
962
  get labels() {
963
963
  return b();
964
964
  }
@@ -967,4 +967,4 @@ function Re(e, t) {
967
967
  B.append(e, tt), B.pop();
968
968
  }
969
969
  //#endregion
970
- export { Re as default };
970
+ export { ze as default };
@@ -1,5 +1,5 @@
1
1
  import { x as e } from "./Button-C4uFgl7L.js";
2
- import { t } from "./Event-DtaPXsEV.js";
2
+ import { t } from "./Event-Plllwv75.js";
3
3
  import { i as n } from "./shareCopyFeedback.svelte-KjYs8ZAM.js";
4
4
  import { n as r } from "./ScarcityBadge-CpzMexCJ.js";
5
5
  import { t as i } from "./__SKIP_PATHS__-DmdRxELE.js";