@getmicdrop/venue-calendar 4.0.98 → 4.0.99

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 (56) hide show
  1. package/dist/{CartView-inr4N-_2.js → CartView-tv4und9V.js} +95 -95
  2. package/dist/{CartView-inr4N-_2.js.map → CartView-tv4und9V.js.map} +1 -1
  3. package/dist/{Checkout-BILhpPY7.js → Checkout-CrQVcvtD.js} +39 -39
  4. package/dist/{Checkout-BILhpPY7.js.map → Checkout-CrQVcvtD.js.map} +1 -1
  5. package/dist/{Checkout-CssZ6V2A.js → Checkout-DUJ7VdA-.js} +164 -164
  6. package/dist/{Checkout-CssZ6V2A.js.map → Checkout-DUJ7VdA-.js.map} +1 -1
  7. package/dist/{CheckoutTimer-CKd1wmyV.js → CheckoutTimer-BfnQg93S.js} +5 -5
  8. package/dist/{CheckoutTimer-CKd1wmyV.js.map → CheckoutTimer-BfnQg93S.js.map} +1 -1
  9. package/dist/{ClockIcon-DTUfaeDB.js → ClockIcon-DjCISuIf.js} +2 -2
  10. package/dist/{ClockIcon-DTUfaeDB.js.map → ClockIcon-DjCISuIf.js.map} +1 -1
  11. package/dist/{CollectionView-eLbVZUv0.js → CollectionView-Biiix8cT.js} +19 -19
  12. package/dist/{CollectionView-eLbVZUv0.js.map → CollectionView-Biiix8cT.js.map} +1 -1
  13. package/dist/{Event-DLA5gaig.js → Event-BWseA69F.js} +1725 -1556
  14. package/dist/{Event-DLA5gaig.js.map → Event-BWseA69F.js.map} +1 -1
  15. package/dist/EventPage-O62RxjBR.js +932 -0
  16. package/dist/EventPage-O62RxjBR.js.map +1 -0
  17. package/dist/{Heading-CYIcD7lJ.js → Heading-FnTNhRjb.js} +10 -10
  18. package/dist/{Heading-CYIcD7lJ.js.map → Heading-FnTNhRjb.js.map} +1 -1
  19. package/dist/{ScarcityBadge-CB8Wv6_P.js → ScarcityBadge-Bp9nPCkW.js} +12 -12
  20. package/dist/{ScarcityBadge-CB8Wv6_P.js.map → ScarcityBadge-Bp9nPCkW.js.map} +1 -1
  21. package/dist/{SeriesPage-BhwhYFnc.js → SeriesPage-DV_Hl3f3.js} +7 -7
  22. package/dist/{SeriesPage-BhwhYFnc.js.map → SeriesPage-DV_Hl3f3.js.map} +1 -1
  23. package/dist/{Spinner-DllDTBA9.js → Spinner-DbxCS7ox.js} +5 -5
  24. package/dist/{Spinner-DllDTBA9.js.map → Spinner-DbxCS7ox.js.map} +1 -1
  25. package/dist/{Success-CjemAJNU.js → Success-BtO9Bx_h.js} +23 -23
  26. package/dist/{Success-CjemAJNU.js.map → Success-BtO9Bx_h.js.map} +1 -1
  27. package/dist/{Text-BM11r41a.js → Text-CfTsoCGL.js} +9 -9
  28. package/dist/{Text-BM11r41a.js.map → Text-CfTsoCGL.js.map} +1 -1
  29. package/dist/{VenueCalendar-DDEZQUrA.js → VenueCalendar-DFh-Rx1y.js} +6798 -6148
  30. package/dist/VenueCalendar-DFh-Rx1y.js.map +1 -0
  31. package/dist/{ViewTicketsEmbed-BIFKEUos.js → ViewTicketsEmbed-CW03gjAW.js} +80 -80
  32. package/dist/{ViewTicketsEmbed-BIFKEUos.js.map → ViewTicketsEmbed-CW03gjAW.js.map} +1 -1
  33. package/dist/api/api/index.d.ts +2 -2
  34. package/dist/api/api/waitlist.d.ts +20 -0
  35. package/dist/api/api.cjs +1 -1
  36. package/dist/api/api.cjs.map +1 -1
  37. package/dist/api/api.mjs +111 -92
  38. package/dist/api/api.mjs.map +1 -1
  39. package/dist/{data-toggle-store.svelte-B6_uWGtS.js → data-toggle-store.svelte-Z_v3PDQs.js} +2 -2
  40. package/dist/{data-toggle-store.svelte-B6_uWGtS.js.map → data-toggle-store.svelte-Z_v3PDQs.js.map} +1 -1
  41. package/dist/{labels-DmANUTR_.js → labels-S2uvwo7v.js} +112 -101
  42. package/dist/{labels-DmANUTR_.js.map → labels-S2uvwo7v.js.map} +1 -1
  43. package/dist/{modalManager.svelte-CT1YXxAF.js → modalManager.svelte-CjWoFGCr.js} +2 -2
  44. package/dist/{modalManager.svelte-CT1YXxAF.js.map → modalManager.svelte-CjWoFGCr.js.map} +1 -1
  45. package/dist/{transform-RsoCHJIj.js → transform-DoUBgKbP.js} +8 -8
  46. package/dist/{transform-RsoCHJIj.js.map → transform-DoUBgKbP.js.map} +1 -1
  47. package/dist/venue-calendar.css +1 -1
  48. package/dist/venue-calendar.es.js +15 -15
  49. package/dist/venue-calendar.iife.js +45 -43
  50. package/dist/venue-calendar.iife.js.map +1 -1
  51. package/dist/venue-calendar.umd.js +41 -39
  52. package/dist/venue-calendar.umd.js.map +1 -1
  53. package/package.json +180 -179
  54. package/dist/EventPage-LK1nOFoA.js +0 -566
  55. package/dist/EventPage-LK1nOFoA.js.map +0 -1
  56. package/dist/VenueCalendar-DDEZQUrA.js.map +0 -1
@@ -1,52 +1,52 @@
1
1
  import "svelte/internal/disclose-version";
2
2
  import * as e from "svelte/internal/client";
3
- import { u as I, aN as M, aO as V, a7 as L, J as N, q as D, aD as G } from "./VenueCalendar-DDEZQUrA.js";
4
- import { T as m } from "./Text-BM11r41a.js";
5
- var Y = e.from_svg('<path d="M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM112,184a8,8,0,0,1-16,0V132.94l-4.42,2.22a8,8,0,0,1-7.16-14.32l16-8A8,8,0,0,1,112,120Zm56-8a8,8,0,0,1,0,16H136a8,8,0,0,1-6.4-12.8l28.78-38.37A8,8,0,1,0,145.07,132a8,8,0,1,1-13.85-8A24,24,0,0,1,176,136a23.76,23.76,0,0,1-4.84,14.45L152,176ZM48,80V48H72v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80Z"></path>'), U = e.from_svg('<rect x="40" y="40" width="176" height="176" rx="8" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"></rect><line x1="176" y1="24" x2="176" y2="56" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"></line><line x1="80" y1="24" x2="80" y2="56" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"></line><line x1="40" y1="88" x2="216" y2="88" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"></line><polyline points="88 128 104 120 104 184" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"></polyline><path d="M138.14,128a16,16,0,1,1,26.64,17.63L136,184h32" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"></path>', 1), j = e.from_svg('<svg aria-hidden="true" viewBox="0 0 256 256" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><!></svg>');
3
+ import { u as I, aS as M, aT as Y, ad as F, Q as V, z as D, aI as N } from "./VenueCalendar-DFh-Rx1y.js";
4
+ import { T as p } from "./Text-CfTsoCGL.js";
5
+ var G = e.from_svg('<path d="M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM112,184a8,8,0,0,1-16,0V132.94l-4.42,2.22a8,8,0,0,1-7.16-14.32l16-8A8,8,0,0,1,112,120Zm56-8a8,8,0,0,1,0,16H136a8,8,0,0,1-6.4-12.8l28.78-38.37A8,8,0,1,0,145.07,132a8,8,0,1,1-13.85-8A24,24,0,0,1,176,136a23.76,23.76,0,0,1-4.84,14.45L152,176ZM48,80V48H72v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80Z"></path>'), j = e.from_svg('<rect x="40" y="40" width="176" height="176" rx="8" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"></rect><line x1="176" y1="24" x2="176" y2="56" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"></line><line x1="80" y1="24" x2="80" y2="56" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"></line><line x1="40" y1="88" x2="216" y2="88" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"></line><polyline points="88 128 104 120 104 184" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"></polyline><path d="M138.14,128a16,16,0,1,1,26.64,17.63L136,184h32" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"></path>', 1), U = e.from_svg('<svg aria-hidden="true" viewBox="0 0 256 256" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><!></svg>');
6
6
  function re(r, t) {
7
7
  e.push(t, !0);
8
- let a = e.prop(t, "size", 3, "24"), f = e.prop(t, "color", 3, "currentColor"), p = e.prop(t, "class", 3, "");
8
+ let a = e.prop(t, "size", 3, "24"), f = e.prop(t, "color", 3, "currentColor"), m = e.prop(t, "class", 3, "");
9
9
  const T = I();
10
- let k = e.derived(() => t.weight ?? T?.weight ?? "regular");
11
- var o = j();
12
- let S;
13
- var g = e.child(o);
10
+ let _ = e.derived(() => t.weight ?? T?.weight ?? "regular");
11
+ var i = U();
12
+ let P;
13
+ var g = e.child(i);
14
14
  {
15
- var P = (v) => {
16
- var u = Y();
15
+ var S = (v) => {
16
+ var u = G();
17
17
  e.append(v, u);
18
18
  }, E = (v) => {
19
- var u = U();
19
+ var u = j();
20
20
  e.next(5), e.append(v, u);
21
21
  };
22
22
  e.if(g, (v) => {
23
- e.get(k) === "fill" ? v(P) : v(E, -1);
23
+ e.get(_) === "fill" ? v(S) : v(E, -1);
24
24
  });
25
25
  }
26
- e.reset(o), e.template_effect(() => {
27
- e.set_class(o, 0, e.clsx(p())), e.set_attribute(o, "width", a()), e.set_attribute(o, "height", a()), S = e.set_style(o, "", S, { color: f() });
28
- }), e.append(r, o), e.pop();
26
+ e.reset(i), e.template_effect(() => {
27
+ e.set_class(i, 0, e.clsx(m())), e.set_attribute(i, "width", a()), e.set_attribute(i, "height", a()), P = e.set_style(i, "", P, { color: f() });
28
+ }), e.append(r, i), e.pop();
29
29
  }
30
30
  function O(r, t, a = "en-US") {
31
31
  return new Intl.DateTimeFormat(a, t).format(r);
32
32
  }
33
- function B(r, t, a = {}) {
33
+ function W(r, t, a = {}) {
34
34
  const {
35
35
  cancelled: f = !1,
36
- isRegistration: p = !1,
36
+ isRegistration: m = !1,
37
37
  waitlistEnabled: T = !1
38
- } = a, k = /* @__PURE__ */ new Date();
38
+ } = a, _ = /* @__PURE__ */ new Date();
39
39
  if (f)
40
40
  return { text: "Cancelled", disabled: !0, reason: "cancelled" };
41
- const o = r.endDateTime || r.startDateTime;
42
- if (o && new Date(o) < k)
41
+ const i = r.endDateTime || r.startDateTime;
42
+ if (i && new Date(i) < _)
43
43
  return { text: "Sales ended", disabled: !0, reason: "event_past" };
44
- const S = r?.hasPurchasableHiddenTickets === !0 || Array.isArray(t) && t.some(M), g = (t || []).filter(
45
- (i) => i.salesChannel !== 2 && !i.isHidden && !(typeof i.visibility == "number" && i.visibility >= 2)
44
+ const P = r?.hasPurchasableHiddenTickets === !0 || Array.isArray(t) && t.some(M), g = (t || []).filter(
45
+ (o) => o.salesChannel !== 2 && !o.isHidden && !(typeof o.visibility == "number" && o.visibility >= 2)
46
46
  );
47
47
  if (g.length === 0)
48
- return S ? {
49
- text: p ? "Reserve a spot" : "Get tickets",
48
+ return P ? {
49
+ text: m ? "Reserve a spot" : "Get tickets",
50
50
  disabled: !1,
51
51
  reason: "hidden_only"
52
52
  } : {
@@ -54,28 +54,28 @@ function B(r, t, a = {}) {
54
54
  disabled: !0,
55
55
  reason: "no_tickets"
56
56
  };
57
- let P = !1, E = !0, v = !0, u = null;
58
- for (const i of g) {
59
- const y = i.salesBegin || i.salesStart || i.saleBegin || i.onSaleStart, A = i.salesEnd || i.saleEnd || i.onSaleEnd, b = i.remainingCapacity ?? i.quantityRemaining ?? i.quantity, x = i.soldOut || b != null && b <= 0, h = y ? new Date(y) > k : !1, $ = A ? new Date(A) < k : !1;
60
- if (!x && !h && !$ && (P = !0), x || (E = !1), h || (v = !1), h && y && !x && !$) {
57
+ let S = !1, E = !0, v = !0, u = null;
58
+ for (const o of g) {
59
+ const y = o.salesBegin || o.salesStart || o.saleBegin || o.onSaleStart, A = o.salesEnd || o.saleEnd || o.onSaleEnd, b = o.remainingCapacity ?? o.quantityRemaining ?? o.quantity, x = o.soldOut || b != null && b <= 0, h = y ? new Date(y) > _ : !1, $ = A ? new Date(A) < _ : !1;
60
+ if (!x && !h && !$ && (S = !0), x || (E = !1), h || (v = !1), h && y && !x && !$) {
61
61
  const R = new Date(y);
62
62
  (!u || R < u) && (u = R);
63
63
  }
64
64
  }
65
- if (P)
65
+ if (S)
66
66
  return {
67
- text: p ? "Reserve a spot" : "Get tickets",
67
+ text: m ? "Reserve a spot" : "Get tickets",
68
68
  disabled: !1,
69
69
  reason: "available"
70
70
  };
71
71
  if (v && u) {
72
- if (S)
72
+ if (P)
73
73
  return {
74
- text: p ? "Reserve a spot" : "Get tickets",
74
+ text: m ? "Reserve a spot" : "Get tickets",
75
75
  disabled: !1,
76
76
  reason: "hidden_only"
77
77
  };
78
- const i = u.getTime() - k.getTime(), y = i / (1e3 * 60 * 60), A = i / (1e3 * 60 * 60 * 24), b = (h) => O(
78
+ const o = u.getTime() - _.getTime(), y = o / (1e3 * 60 * 60), A = o / (1e3 * 60 * 60 * 24), b = (h) => O(
79
79
  h,
80
80
  { hour: "numeric", minute: "2-digit", hour12: !0 },
81
81
  "en-US"
@@ -95,28 +95,28 @@ function B(r, t, a = {}) {
95
95
  reason: "coming_soon"
96
96
  };
97
97
  }
98
- return E ? S ? {
99
- text: p ? "Reserve a spot" : "Get tickets",
98
+ return E ? P ? {
99
+ text: m ? "Reserve a spot" : "Get tickets",
100
100
  disabled: !1,
101
101
  reason: "hidden_only"
102
102
  } : T ? {
103
103
  text: "Join Waitlist",
104
104
  disabled: !1,
105
105
  reason: "sold_out_waitlist"
106
- } : { text: "Sold out", disabled: !0, reason: "sold_out" } : S ? {
107
- text: p ? "Reserve a spot" : "Get tickets",
106
+ } : { text: "Sold out", disabled: !0, reason: "sold_out" } : P ? {
107
+ text: m ? "Reserve a spot" : "Get tickets",
108
108
  disabled: !1,
109
109
  reason: "hidden_only"
110
110
  } : { text: "Sales ended", disabled: !0, reason: "sales_ended" };
111
111
  }
112
112
  function ae(r, t) {
113
- const a = L(r, t);
113
+ const a = F(r, t);
114
114
  return a === "sold-out" ? "sold_out" : a === "plenty" ? "none" : a;
115
115
  }
116
- function oe(r, t, a, f) {
117
- return r === "none" ? null : r === "sold_out" ? "Sold out" : r === "urgent" && a !== "browse" && t <= V.MAX_EXACT_COUNT ? `Only ${t} left` : r === "low" || r === "urgent" ? "Selling fast" : null;
116
+ function ie(r, t, a, f) {
117
+ return r === "none" ? null : r === "sold_out" ? "Sold out" : r === "urgent" && a !== "browse" && t <= Y.MAX_EXACT_COUNT ? `Only ${t} left` : r === "low" || r === "urgent" ? "Selling fast" : null;
118
118
  }
119
- function ie(r) {
119
+ function oe(r) {
120
120
  const t = r.tickets.map((f) => ({
121
121
  salesBegin: f.salesStartDate,
122
122
  salesEnd: f.salesEndDate,
@@ -139,7 +139,7 @@ function ie(r) {
139
139
  disabled: !0,
140
140
  reason: "This event has ended"
141
141
  };
142
- const a = B(
142
+ const a = W(
143
143
  { startDateTime: r.startDateTime, endDateTime: r.endDateTime },
144
144
  t,
145
145
  {
@@ -151,10 +151,10 @@ function ie(r) {
151
151
  return {
152
152
  text: a.text,
153
153
  disabled: a.disabled,
154
- reason: a.disabled ? W(a.reason) : void 0
154
+ reason: a.disabled ? B(a.reason) : void 0
155
155
  };
156
156
  }
157
- function W(r) {
157
+ function B(r) {
158
158
  if (r)
159
159
  switch (r) {
160
160
  case "cancelled":
@@ -180,21 +180,21 @@ function W(r) {
180
180
  }
181
181
  function ne(r) {
182
182
  const t = r.tickets.filter(
183
- (o) => o.status === "on_sale" && !o.isHidden
183
+ (i) => i.status === "on_sale" && !i.isHidden
184
184
  );
185
185
  if (t.length === 0) return null;
186
186
  const a = t.some(
187
- (o) => o.isDonation || o.ticketType === 2
187
+ (i) => i.isDonation || i.ticketType === 2
188
188
  ), f = t.filter(
189
- (o) => !o.isDonation && o.ticketType !== 2
190
- ), p = f.some((o) => o.price === 0), T = f.filter((o) => o.price > 0);
191
- if (T.length === 0 && !p && a) return "Donation";
192
- if (T.length === 0 && p) return null;
193
- const k = Math.min(...T.map((o) => o.price));
194
- return p ? "Free" : a ? `From $${k}` : T.length === 1 ? `$${k}` : `From $${k}`;
189
+ (i) => !i.isDonation && i.ticketType !== 2
190
+ ), m = f.some((i) => i.price === 0), T = f.filter((i) => i.price > 0);
191
+ if (T.length === 0 && !m && a) return "Donation";
192
+ if (T.length === 0 && m) return null;
193
+ const _ = Math.min(...T.map((i) => i.price));
194
+ return m ? "Free" : a ? `From $${_}` : T.length === 1 ? `$${_}` : `From $${_}`;
195
195
  }
196
196
  function le(r, t) {
197
- return N(r * (t / 100));
197
+ return V(r * (t / 100));
198
198
  }
199
199
  const K = {
200
200
  normal: 300
@@ -217,13 +217,13 @@ var q = e.from_html('<div class="flex justify-between"><!> <!></div>'), Z = e.fr
217
217
  function ce(r, t) {
218
218
  e.push(t, !0);
219
219
  let a = e.prop(t, "labels", 19, () => ({})), f = e.prop(t, "mode", 3, "full");
220
- var p = Q(), T = e.child(p);
220
+ var m = Q(), T = e.child(m);
221
221
  {
222
- var k = (g) => {
223
- var P = e.comment(), E = e.first_child(P);
222
+ var _ = (g) => {
223
+ var S = e.comment(), E = e.first_child(S);
224
224
  e.each(E, 17, () => t.orderTotals.lines, (v) => v.ticketId, (v, u) => {
225
- var i = q(), y = e.child(i);
226
- m(y, {
225
+ var o = q(), y = e.child(o);
226
+ p(y, {
227
227
  size: "sm",
228
228
  children: (b, x) => {
229
229
  e.next();
@@ -233,31 +233,31 @@ function ce(r, t) {
233
233
  $$slots: { default: !0 }
234
234
  });
235
235
  var A = e.sibling(y, 2);
236
- m(A, {
236
+ p(A, {
237
237
  size: "sm",
238
238
  children: (b, x) => {
239
239
  e.next();
240
240
  var h = e.text();
241
241
  e.template_effect(($) => e.set_text(h, $), [
242
- () => e.get(u).isDonation ? D(e.get(u).subtotal) : G(e.get(u).subtotal, a())
242
+ () => e.get(u).isDonation ? D(e.get(u).subtotal) : N(e.get(u).subtotal, a())
243
243
  ]), e.append(b, h);
244
244
  },
245
245
  $$slots: { default: !0 }
246
- }), e.reset(i), e.append(v, i);
247
- }), e.append(g, P);
246
+ }), e.reset(o), e.append(v, o);
247
+ }), e.append(g, S);
248
248
  };
249
249
  e.if(T, (g) => {
250
- f() !== "totals" && g(k);
250
+ f() !== "totals" && g(_);
251
251
  });
252
252
  }
253
- var o = e.sibling(T, 2);
253
+ var i = e.sibling(T, 2);
254
254
  {
255
- var S = (g) => {
256
- var P = J(), E = e.first_child(P);
255
+ var P = (g) => {
256
+ var S = J(), E = e.first_child(S);
257
257
  {
258
258
  var v = (n) => {
259
259
  var l = Z(), d = e.child(l);
260
- m(d, {
260
+ p(d, {
261
261
  size: "sm",
262
262
  color: "muted",
263
263
  children: (c, w) => {
@@ -267,8 +267,8 @@ function ce(r, t) {
267
267
  },
268
268
  $$slots: { default: !0 }
269
269
  });
270
- var _ = e.sibling(d, 2);
271
- m(_, {
270
+ var k = e.sibling(d, 2);
271
+ p(k, {
272
272
  size: "sm",
273
273
  color: "muted",
274
274
  children: (c, w) => {
@@ -280,7 +280,7 @@ function ce(r, t) {
280
280
  }), e.reset(l), e.append(n, l);
281
281
  }, u = (n) => {
282
282
  var l = q(), d = e.child(l);
283
- m(d, {
283
+ p(d, {
284
284
  size: "sm",
285
285
  color: "muted",
286
286
  children: (c, w) => {
@@ -290,8 +290,8 @@ function ce(r, t) {
290
290
  },
291
291
  $$slots: { default: !0 }
292
292
  });
293
- var _ = e.sibling(d, 2);
294
- m(_, {
293
+ var k = e.sibling(d, 2);
294
+ p(k, {
295
295
  size: "sm",
296
296
  color: "muted",
297
297
  children: (c, w) => {
@@ -306,11 +306,11 @@ function ce(r, t) {
306
306
  f() === "full" && t.orderTotals.lines.length > 1 ? n(v) : t.orderTotals.lines.length > 1 && n(u, 1);
307
307
  });
308
308
  }
309
- var i = e.sibling(E, 2);
309
+ var o = e.sibling(E, 2);
310
310
  {
311
311
  var y = (n) => {
312
312
  var l = q(), d = e.child(l);
313
- m(d, {
313
+ p(d, {
314
314
  size: "sm",
315
315
  color: "muted",
316
316
  children: (c, w) => {
@@ -320,8 +320,8 @@ function ce(r, t) {
320
320
  },
321
321
  $$slots: { default: !0 }
322
322
  });
323
- var _ = e.sibling(d, 2);
324
- m(_, {
323
+ var k = e.sibling(d, 2);
324
+ p(k, {
325
325
  size: "sm",
326
326
  color: "muted",
327
327
  children: (c, w) => {
@@ -332,15 +332,15 @@ function ce(r, t) {
332
332
  $$slots: { default: !0 }
333
333
  }), e.reset(l), e.append(n, l);
334
334
  };
335
- e.if(i, (n) => {
335
+ e.if(o, (n) => {
336
336
  t.orderTotals.fees > 0 && n(y);
337
337
  });
338
338
  }
339
- var A = e.sibling(i, 2);
339
+ var A = e.sibling(o, 2);
340
340
  {
341
341
  var b = (n) => {
342
342
  var l = q(), d = e.child(l);
343
- m(d, {
343
+ p(d, {
344
344
  size: "sm",
345
345
  color: "muted",
346
346
  children: (c, w) => {
@@ -350,8 +350,8 @@ function ce(r, t) {
350
350
  },
351
351
  $$slots: { default: !0 }
352
352
  });
353
- var _ = e.sibling(d, 2);
354
- m(_, {
353
+ var k = e.sibling(d, 2);
354
+ p(k, {
355
355
  size: "sm",
356
356
  color: "muted",
357
357
  children: (c, w) => {
@@ -370,7 +370,7 @@ function ce(r, t) {
370
370
  {
371
371
  var h = (n) => {
372
372
  var l = q(), d = e.child(l);
373
- m(d, {
373
+ p(d, {
374
374
  size: "sm",
375
375
  color: "success",
376
376
  children: (c, w) => {
@@ -380,8 +380,8 @@ function ce(r, t) {
380
380
  },
381
381
  $$slots: { default: !0 }
382
382
  });
383
- var _ = e.sibling(d, 2);
384
- m(_, {
383
+ var k = e.sibling(d, 2);
384
+ p(k, {
385
385
  size: "sm",
386
386
  color: "success",
387
387
  children: (c, w) => {
@@ -398,9 +398,9 @@ function ce(r, t) {
398
398
  }
399
399
  var $ = e.sibling(x, 2);
400
400
  {
401
- var H = (n) => {
401
+ var L = (n) => {
402
402
  var l = q(), d = e.child(l);
403
- m(d, {
403
+ p(d, {
404
404
  size: "sm",
405
405
  color: "success",
406
406
  children: (c, w) => {
@@ -410,8 +410,8 @@ function ce(r, t) {
410
410
  },
411
411
  $$slots: { default: !0 }
412
412
  });
413
- var _ = e.sibling(d, 2);
414
- m(_, {
413
+ var k = e.sibling(d, 2);
414
+ p(k, {
415
415
  size: "sm",
416
416
  color: "success",
417
417
  children: (c, w) => {
@@ -423,11 +423,11 @@ function ce(r, t) {
423
423
  }), e.reset(l), e.append(n, l);
424
424
  };
425
425
  e.if($, (n) => {
426
- t.orderTotals.giftCardAmount > 0 && n(H);
426
+ t.orderTotals.giftCardAmount > 0 && n(L);
427
427
  });
428
428
  }
429
429
  var R = e.sibling($, 2), z = e.child(R);
430
- m(z, {
430
+ p(z, {
431
431
  size: "base",
432
432
  weight: "semibold",
433
433
  children: (n, l) => {
@@ -437,23 +437,23 @@ function ce(r, t) {
437
437
  },
438
438
  $$slots: { default: !0 }
439
439
  });
440
- var F = e.sibling(z, 2);
441
- m(F, {
440
+ var H = e.sibling(z, 2);
441
+ p(H, {
442
442
  size: "base",
443
443
  weight: "semibold",
444
444
  children: (n, l) => {
445
445
  e.next();
446
446
  var d = e.text();
447
- e.template_effect((_) => e.set_text(d, _), [() => D(t.orderTotals.total)]), e.append(n, d);
447
+ e.template_effect((k) => e.set_text(d, k), [() => D(t.orderTotals.total)]), e.append(n, d);
448
448
  },
449
449
  $$slots: { default: !0 }
450
- }), e.reset(R), e.append(g, P);
450
+ }), e.reset(R), e.append(g, S);
451
451
  };
452
- e.if(o, (g) => {
453
- f() !== "lines" && g(S);
452
+ e.if(i, (g) => {
453
+ f() !== "lines" && g(P);
454
454
  });
455
455
  }
456
- e.reset(p), e.template_effect(() => e.set_style(p, `transition-duration: ${K.normal}ms;`)), e.append(r, p), e.pop();
456
+ e.reset(m), e.template_effect(() => e.set_style(m, `transition-duration: ${K.normal}ms;`)), e.append(r, m), e.pop();
457
457
  }
458
458
  const X = {
459
459
  // ── Ticket quantity controls ──────────────────────────────────────
@@ -609,7 +609,18 @@ const X = {
609
609
  selectTicketsAgain: "Select tickets again",
610
610
  extendingSession: "Extending...",
611
611
  // ── MobileCta ─────────────────────────────────────────────────────
612
- selectTicketsLabel: "Select Tickets"
612
+ selectTicketsLabel: "Select Tickets",
613
+ // ── Waitlist (sold-out gating + tokenized unlock) ─────────────────
614
+ joinWaitlist: "Join Waitlist",
615
+ getNotifiedWhenAvailable: "Get notified when tickets are available",
616
+ // Tokenized-link unlock outcomes (decisions #3/#22/#36). Mapped from the
617
+ // server's failure enum; shown as a small dismissible notice near the CTA.
618
+ waitlistLinkInvalid: "This link isn't valid. You're still on the waitlist — we'll email you if tickets free up.",
619
+ waitlistLinkExpired: "This link has expired. You're still on the waitlist.",
620
+ waitlistLinkUsed: "This link has already been used. You're still on the waitlist.",
621
+ waitlistLinkEmailMismatch: "This link was sent to a different email address. You're still on the waitlist.",
622
+ waitlistLinkInventoryExhausted: "Those tickets were just claimed. You're still on the waitlist — we'll email you if more free up.",
623
+ dismiss: "Dismiss"
613
624
  };
614
625
  function ue(r = {}) {
615
626
  return { ...X, ...r };
@@ -618,12 +629,12 @@ export {
618
629
  re as C,
619
630
  K as D,
620
631
  ce as O,
621
- oe as a,
622
- ie as b,
632
+ ie as a,
633
+ oe as b,
623
634
  le as c,
624
635
  ne as d,
625
636
  de as e,
626
637
  ae as g,
627
638
  ue as m
628
639
  };
629
- //# sourceMappingURL=labels-DmANUTR_.js.map
640
+ //# sourceMappingURL=labels-S2uvwo7v.js.map