@getmicdrop/venue-calendar 4.0.108 → 4.0.110
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.
- package/README.md +740 -740
- package/dist/CartView-bMHSoj75.js +2475 -0
- package/dist/CartView-bMHSoj75.js.map +1 -0
- package/dist/{Checkout-C4zUFYYG.js → Checkout-DDXZc-yj.js} +266 -276
- package/dist/Checkout-DDXZc-yj.js.map +1 -0
- package/dist/{Checkout-CACB_Qvi.js → Checkout-DG2iHmHC.js} +215 -214
- package/dist/Checkout-DG2iHmHC.js.map +1 -0
- package/dist/{CheckoutTimer-D5llSBPs.js → CheckoutTimer-Bwq6a_Hl.js} +5 -5
- package/dist/CheckoutTimer-Bwq6a_Hl.js.map +1 -0
- package/dist/{ClockIcon-BJnxLZ4f.js → ClockIcon-ZgeMNNI1.js} +2 -2
- package/dist/ClockIcon-ZgeMNNI1.js.map +1 -0
- package/dist/{CollectionView-BLpwWRcN.js → CollectionView-1pf2C4kX.js} +85 -84
- package/dist/CollectionView-1pf2C4kX.js.map +1 -0
- package/dist/{Event-DXp4Ypv4.js → Event-D3o0fguY.js} +1693 -1611
- package/dist/Event-D3o0fguY.js.map +1 -0
- package/dist/EventPage-DqO-AV8i.js +995 -0
- package/dist/EventPage-DqO-AV8i.js.map +1 -0
- package/dist/{Heading-C_Pc_j8f.js → Heading-pURRwiIC.js} +5 -5
- package/dist/Heading-pURRwiIC.js.map +1 -0
- package/dist/{ScarcityBadge-CSi-i0-w.js → ScarcityBadge-ykz32KS9.js} +25 -25
- package/dist/ScarcityBadge-ykz32KS9.js.map +1 -0
- package/dist/SeriesPage-BmNk80cF.js +34 -0
- package/dist/SeriesPage-BmNk80cF.js.map +1 -0
- package/dist/{Spinner-BFIjCOTb.js → Spinner-OGA1hrc5.js} +2 -2
- package/dist/Spinner-OGA1hrc5.js.map +1 -0
- package/dist/Success-DLlQ54_-.js +896 -0
- package/dist/Success-DLlQ54_-.js.map +1 -0
- package/dist/{Text-tWGKQJab.js → Text-DMpMLgcU.js} +27 -27
- package/dist/Text-DMpMLgcU.js.map +1 -0
- package/dist/{VenueCalendar-Dhoi9hF5.js → VenueCalendar-ClSRsS6u.js} +8133 -8270
- package/dist/VenueCalendar-ClSRsS6u.js.map +1 -0
- package/dist/{ViewTicketsEmbed-BrXae6cK.js → ViewTicketsEmbed-5LMG2xwn.js} +151 -150
- package/dist/ViewTicketsEmbed-5LMG2xwn.js.map +1 -0
- package/dist/__SKIP_PATHS__-BtJ0tS93.js +10 -0
- package/dist/__SKIP_PATHS__-BtJ0tS93.js.map +1 -0
- package/dist/api/api/events.d.ts +28 -12
- package/dist/api/api/index.d.ts +1 -1
- package/dist/api/api/route-manifest.d.ts +179 -0
- package/dist/api/api.cjs +1 -1
- package/dist/api/api.cjs.map +1 -1
- package/dist/api/api.mjs +388 -385
- package/dist/api/api.mjs.map +1 -1
- package/dist/api/types.d.ts +483 -483
- package/dist/{labels-CGndTgO9.js → labels-Ws4MJjH5.js} +141 -136
- package/dist/labels-Ws4MJjH5.js.map +1 -0
- package/dist/{modalManager.svelte-BgW5Xd6y.js → modalManager.svelte-BPA2JF6c.js} +2 -2
- package/dist/modalManager.svelte-BPA2JF6c.js.map +1 -0
- package/dist/navigation--gZASiSa.js +19 -0
- package/dist/navigation--gZASiSa.js.map +1 -0
- package/dist/promo-vXx1bxQm.js +29 -0
- package/dist/promo-vXx1bxQm.js.map +1 -0
- package/dist/seo/helpers.d.ts +11 -0
- package/dist/seo/seo.cjs +1 -1
- package/dist/seo/seo.cjs.map +1 -1
- package/dist/seo/seo.mjs +463 -325
- package/dist/seo/seo.mjs.map +1 -1
- package/dist/seo/types.d.ts +0 -1
- package/dist/{showcase-state-options-BxLP2R1L.js → showcase-state-options-9SoS5WuT.js} +21 -21
- package/dist/showcase-state-options-9SoS5WuT.js.map +1 -0
- package/dist/{transform-CVOgA-Ky.js → transform-BD9xXAq7.js} +83 -79
- package/dist/transform-BD9xXAq7.js.map +1 -0
- package/dist/types/index.d.ts +459 -455
- package/dist/utm-rT0TPh8G.js +288 -0
- package/dist/utm-rT0TPh8G.js.map +1 -0
- package/dist/venue-calendar.css +1 -1
- package/dist/venue-calendar.es.js +4 -4
- package/dist/venue-calendar.iife.js +49 -49
- package/dist/venue-calendar.iife.js.map +1 -1
- package/dist/venue-calendar.umd.js +44 -44
- package/dist/venue-calendar.umd.js.map +1 -1
- package/package.json +199 -195
- package/src/lib/theme.js +222 -222
- package/dist/CartView-eQNOdQSz.js +0 -2354
- package/dist/CartView-eQNOdQSz.js.map +0 -1
- package/dist/Checkout-C4zUFYYG.js.map +0 -1
- package/dist/Checkout-CACB_Qvi.js.map +0 -1
- package/dist/CheckoutTimer-D5llSBPs.js.map +0 -1
- package/dist/ClockIcon-BJnxLZ4f.js.map +0 -1
- package/dist/CollectionView-BLpwWRcN.js.map +0 -1
- package/dist/Event-DXp4Ypv4.js.map +0 -1
- package/dist/EventPage-Dfxyzfg2.js +0 -949
- package/dist/EventPage-Dfxyzfg2.js.map +0 -1
- package/dist/Heading-C_Pc_j8f.js.map +0 -1
- package/dist/ScarcityBadge-CSi-i0-w.js.map +0 -1
- package/dist/SeriesPage-bPZlyzQ6.js +0 -33
- package/dist/SeriesPage-bPZlyzQ6.js.map +0 -1
- package/dist/Spinner-BFIjCOTb.js.map +0 -1
- package/dist/Success-Cv8d2syu.js +0 -886
- package/dist/Success-Cv8d2syu.js.map +0 -1
- package/dist/Text-tWGKQJab.js.map +0 -1
- package/dist/VenueCalendar-Dhoi9hF5.js.map +0 -1
- package/dist/ViewTicketsEmbed-BrXae6cK.js.map +0 -1
- package/dist/labels-CGndTgO9.js.map +0 -1
- package/dist/modalManager.svelte-BgW5Xd6y.js.map +0 -1
- package/dist/promo-WWbp2OWI.js +0 -12
- package/dist/promo-WWbp2OWI.js.map +0 -1
- package/dist/showcase-state-options-BxLP2R1L.js.map +0 -1
- package/dist/transform-CVOgA-Ky.js.map +0 -1
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import "svelte/internal/disclose-version";
|
|
2
2
|
import * as e from "svelte/internal/client";
|
|
3
|
-
import { u as Y,
|
|
4
|
-
import { T as
|
|
5
|
-
var
|
|
6
|
-
function
|
|
3
|
+
import { u as Y, ai as L, aj as O, b1 as V, b2 as H, ak as F, b3 as G, af as j, N as U, A as $, an as q, ae as W } from "./VenueCalendar-ClSRsS6u.js";
|
|
4
|
+
import { T as m } from "./Text-DMpMLgcU.js";
|
|
5
|
+
var B = 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>'), K = 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), Z = e.from_svg('<svg aria-hidden="true" viewBox="0 0 256 256" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><!></svg>');
|
|
6
|
+
function ne(r, t) {
|
|
7
7
|
e.push(t, !0);
|
|
8
|
-
let a = e.prop(t, "size", 3, "24"), f = e.prop(t, "color", 3, "currentColor"),
|
|
8
|
+
let a = e.prop(t, "size", 3, "24"), f = e.prop(t, "color", 3, "currentColor"), p = e.prop(t, "class", 3, "");
|
|
9
9
|
const T = Y();
|
|
10
10
|
let _ = e.derived(() => t.weight ?? T?.weight ?? "regular");
|
|
11
|
-
var i =
|
|
12
|
-
let
|
|
11
|
+
var i = Z();
|
|
12
|
+
let P;
|
|
13
13
|
var g = e.child(i);
|
|
14
14
|
{
|
|
15
|
-
var
|
|
16
|
-
var u =
|
|
15
|
+
var S = (v) => {
|
|
16
|
+
var u = B();
|
|
17
17
|
e.append(v, u);
|
|
18
18
|
}, E = (v) => {
|
|
19
|
-
var u =
|
|
19
|
+
var u = K();
|
|
20
20
|
e.next(5), e.append(v, u);
|
|
21
21
|
};
|
|
22
22
|
e.if(g, (v) => {
|
|
23
|
-
e.get(_) === "fill" ? v(
|
|
23
|
+
e.get(_) === "fill" ? v(S) : v(E, -1);
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
26
|
e.reset(i), e.template_effect(() => {
|
|
27
|
-
e.set_class(i, 0, e.clsx(
|
|
27
|
+
e.set_class(i, 0, e.clsx(p())), e.set_attribute(i, "width", a()), e.set_attribute(i, "height", a()), P = e.set_style(i, "", P, { color: f() });
|
|
28
28
|
}), e.append(r, i), e.pop();
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function J(r, t, a = {}) {
|
|
31
31
|
const {
|
|
32
32
|
cancelled: f = !1,
|
|
33
|
-
isRegistration:
|
|
33
|
+
isRegistration: p = !1,
|
|
34
34
|
waitlistEnabled: T = !1
|
|
35
|
-
} = a, _ =
|
|
35
|
+
} = a, _ = F();
|
|
36
36
|
if (f)
|
|
37
37
|
return { text: "Cancelled", disabled: !0, reason: "cancelled" };
|
|
38
|
-
const i = r.endDateTime || r.startDateTime;
|
|
39
|
-
if (i &&
|
|
38
|
+
const i = L(r.endDateTime || r.startDateTime);
|
|
39
|
+
if (i && O(i, _) < 0)
|
|
40
40
|
return { text: "Sales ended", disabled: !0, reason: "event_past" };
|
|
41
|
-
const
|
|
41
|
+
const P = r?.hasPurchasableHiddenTickets === !0 || Array.isArray(t) && t.some(V), g = (t || []).filter(
|
|
42
42
|
(o) => o.salesChannel !== 2 && !o.isHidden && !(typeof o.visibility == "number" && o.visibility >= 2)
|
|
43
43
|
);
|
|
44
44
|
if (g.length === 0)
|
|
45
|
-
return
|
|
46
|
-
text:
|
|
45
|
+
return P ? {
|
|
46
|
+
text: p ? "Reserve a spot" : "Get tickets",
|
|
47
47
|
disabled: !1,
|
|
48
48
|
reason: "hidden_only"
|
|
49
49
|
} : {
|
|
@@ -51,69 +51,70 @@ function W(r, t, a = {}) {
|
|
|
51
51
|
disabled: !0,
|
|
52
52
|
reason: "no_tickets"
|
|
53
53
|
};
|
|
54
|
-
let
|
|
54
|
+
let S = !1, E = !0, v = !0, u = null;
|
|
55
55
|
for (const o of g) {
|
|
56
|
-
const
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
56
|
+
const b = L(
|
|
57
|
+
o.salesBegin || o.salesStart || o.saleBegin || o.onSaleStart
|
|
58
|
+
), A = L(
|
|
59
|
+
o.salesEnd || o.saleEnd || o.onSaleEnd
|
|
60
|
+
), y = o.remainingCapacity ?? o.quantityRemaining ?? o.quantity, x = o.soldOut || y != null && y <= 0, h = b ? O(b, _) > 0 : !1, D = A ? O(A, _) < 0 : !1;
|
|
61
|
+
!x && !h && !D && (S = !0), x || (E = !1), h || (v = !1), h && b && !x && !D && (!u || O(b, u) < 0) && (u = b);
|
|
61
62
|
}
|
|
62
|
-
if (
|
|
63
|
+
if (S)
|
|
63
64
|
return {
|
|
64
|
-
text:
|
|
65
|
+
text: p ? "Reserve a spot" : "Get tickets",
|
|
65
66
|
disabled: !1,
|
|
66
67
|
reason: "available"
|
|
67
68
|
};
|
|
68
69
|
if (v && u) {
|
|
69
|
-
if (
|
|
70
|
+
if (P)
|
|
70
71
|
return {
|
|
71
|
-
text:
|
|
72
|
+
text: p ? "Reserve a spot" : "Get tickets",
|
|
72
73
|
disabled: !1,
|
|
73
74
|
reason: "hidden_only"
|
|
74
75
|
};
|
|
75
|
-
const o = u
|
|
76
|
+
const o = O(u, _), b = o / (1e3 * 60 * 60), A = o / (1e3 * 60 * 60 * 24), y = (h) => H(
|
|
76
77
|
h,
|
|
77
78
|
{ hour: "numeric", minute: "2-digit", hour12: !0 },
|
|
78
79
|
"en-US"
|
|
79
80
|
);
|
|
80
81
|
let x;
|
|
81
|
-
return
|
|
82
|
+
return b < 24 ? x = y(u) : A <= 7 ? x = H(
|
|
82
83
|
u,
|
|
83
84
|
{ weekday: "short", hour: "numeric", minute: "2-digit", hour12: !0 },
|
|
84
85
|
"en-US"
|
|
85
|
-
) : x = `${
|
|
86
|
+
) : x = `${H(
|
|
86
87
|
u,
|
|
87
88
|
{ month: "short", day: "numeric" },
|
|
88
89
|
"en-US"
|
|
89
|
-
)} ${
|
|
90
|
+
)} ${y(u)}`, {
|
|
90
91
|
text: `On sale ${x}`,
|
|
91
92
|
disabled: !0,
|
|
92
93
|
reason: "coming_soon"
|
|
93
94
|
};
|
|
94
95
|
}
|
|
95
|
-
return E ?
|
|
96
|
-
text:
|
|
96
|
+
return E ? P ? {
|
|
97
|
+
text: p ? "Reserve a spot" : "Get tickets",
|
|
97
98
|
disabled: !1,
|
|
98
99
|
reason: "hidden_only"
|
|
99
100
|
} : T ? {
|
|
100
101
|
text: "Join Waitlist",
|
|
101
102
|
disabled: !1,
|
|
102
103
|
reason: "sold_out_waitlist"
|
|
103
|
-
} : { text: "Sold out", disabled: !0, reason: "sold_out" } :
|
|
104
|
-
text:
|
|
104
|
+
} : { text: "Sold out", disabled: !0, reason: "sold_out" } : P ? {
|
|
105
|
+
text: p ? "Reserve a spot" : "Get tickets",
|
|
105
106
|
disabled: !1,
|
|
106
107
|
reason: "hidden_only"
|
|
107
108
|
} : { text: "Sales ended", disabled: !0, reason: "sales_ended" };
|
|
108
109
|
}
|
|
109
|
-
function
|
|
110
|
-
const a =
|
|
110
|
+
function le(r, t) {
|
|
111
|
+
const a = j(r, t);
|
|
111
112
|
return a === "sold-out" ? "sold_out" : a === "plenty" ? "none" : a;
|
|
112
113
|
}
|
|
113
|
-
function
|
|
114
|
-
return r === "none" ? null : r === "sold_out" ? "Sold out" : r === "urgent" && a !== "browse" && t <=
|
|
114
|
+
function de(r, t, a, f) {
|
|
115
|
+
return r === "none" ? null : r === "sold_out" ? "Sold out" : r === "urgent" && a !== "browse" && t <= G.MAX_EXACT_COUNT ? `Only ${t} left` : r === "low" || r === "urgent" ? "Selling fast" : null;
|
|
115
116
|
}
|
|
116
|
-
function
|
|
117
|
+
function ce(r) {
|
|
117
118
|
const t = r.tickets.map((f) => ({
|
|
118
119
|
salesBegin: f.salesStartDate,
|
|
119
120
|
salesEnd: f.salesEndDate,
|
|
@@ -136,7 +137,7 @@ function oe(r) {
|
|
|
136
137
|
disabled: !0,
|
|
137
138
|
reason: "This event has ended"
|
|
138
139
|
};
|
|
139
|
-
const a =
|
|
140
|
+
const a = J(
|
|
140
141
|
{ startDateTime: r.startDateTime, endDateTime: r.endDateTime },
|
|
141
142
|
t,
|
|
142
143
|
{
|
|
@@ -148,10 +149,10 @@ function oe(r) {
|
|
|
148
149
|
return {
|
|
149
150
|
text: a.text,
|
|
150
151
|
disabled: a.disabled,
|
|
151
|
-
reason: a.disabled ?
|
|
152
|
+
reason: a.disabled ? Q(a.reason) : void 0
|
|
152
153
|
};
|
|
153
154
|
}
|
|
154
|
-
function
|
|
155
|
+
function Q(r) {
|
|
155
156
|
if (r)
|
|
156
157
|
switch (r) {
|
|
157
158
|
case "cancelled":
|
|
@@ -175,7 +176,7 @@ function B(r) {
|
|
|
175
176
|
return;
|
|
176
177
|
}
|
|
177
178
|
}
|
|
178
|
-
function
|
|
179
|
+
function ue(r) {
|
|
179
180
|
const t = r.tickets.filter(
|
|
180
181
|
(i) => i.status === "on_sale" && !i.isHidden
|
|
181
182
|
);
|
|
@@ -184,19 +185,19 @@ function ne(r) {
|
|
|
184
185
|
(i) => i.isDonation || i.ticketType === 2
|
|
185
186
|
), f = t.filter(
|
|
186
187
|
(i) => !i.isDonation && i.ticketType !== 2
|
|
187
|
-
),
|
|
188
|
-
if (T.length === 0 && !
|
|
189
|
-
if (T.length === 0 &&
|
|
188
|
+
), p = f.some((i) => i.price === 0), T = f.filter((i) => i.price > 0);
|
|
189
|
+
if (T.length === 0 && !p && a) return "Donation";
|
|
190
|
+
if (T.length === 0 && p) return null;
|
|
190
191
|
const _ = Math.min(...T.map((i) => i.price));
|
|
191
|
-
return
|
|
192
|
+
return p ? "Free" : a ? `From $${_}` : T.length === 1 ? `$${_}` : `From $${_}`;
|
|
192
193
|
}
|
|
193
|
-
function
|
|
194
|
-
return
|
|
194
|
+
function fe(r, t) {
|
|
195
|
+
return U(r * (t / 100));
|
|
195
196
|
}
|
|
196
|
-
const
|
|
197
|
+
const X = {
|
|
197
198
|
normal: 300
|
|
198
199
|
};
|
|
199
|
-
function
|
|
200
|
+
function pe() {
|
|
200
201
|
return {
|
|
201
202
|
code: "",
|
|
202
203
|
isApplied: !1,
|
|
@@ -210,38 +211,38 @@ function de() {
|
|
|
210
211
|
revealTicketIds: []
|
|
211
212
|
};
|
|
212
213
|
}
|
|
213
|
-
var
|
|
214
|
-
function
|
|
214
|
+
var R = e.from_html('<div class="flex justify-between"><!> <!></div>'), ee = e.from_html('<div class="flex justify-between pt-1 border-t border-default"><!> <!></div>'), te = e.from_html('<!> <!> <!> <!> <!> <div class="flex justify-between pt-2 border-t border-default"><!> <!></div>', 1), se = e.from_html('<div class="space-y-2"><!> <!></div>');
|
|
215
|
+
function me(r, t) {
|
|
215
216
|
e.push(t, !0);
|
|
216
217
|
let a = e.prop(t, "labels", 19, () => ({})), f = e.prop(t, "mode", 3, "full");
|
|
217
|
-
var
|
|
218
|
+
var p = se(), T = e.child(p);
|
|
218
219
|
{
|
|
219
220
|
var _ = (g) => {
|
|
220
|
-
var
|
|
221
|
+
var S = e.comment(), E = e.first_child(S);
|
|
221
222
|
e.each(E, 17, () => t.orderTotals.lines, (v) => v.ticketId, (v, u) => {
|
|
222
|
-
var o =
|
|
223
|
-
|
|
223
|
+
var o = R(), b = e.child(o);
|
|
224
|
+
m(b, {
|
|
224
225
|
size: "sm",
|
|
225
|
-
children: (
|
|
226
|
+
children: (y, x) => {
|
|
226
227
|
e.next();
|
|
227
228
|
var h = e.text();
|
|
228
|
-
e.template_effect(() => e.set_text(h, `${e.get(u).quantity ?? ""}x ${e.get(u).ticketName ?? ""}`)), e.append(
|
|
229
|
+
e.template_effect(() => e.set_text(h, `${e.get(u).quantity ?? ""}x ${e.get(u).ticketName ?? ""}`)), e.append(y, h);
|
|
229
230
|
},
|
|
230
231
|
$$slots: { default: !0 }
|
|
231
232
|
});
|
|
232
|
-
var A = e.sibling(
|
|
233
|
-
|
|
233
|
+
var A = e.sibling(b, 2);
|
|
234
|
+
m(A, {
|
|
234
235
|
size: "sm",
|
|
235
|
-
children: (
|
|
236
|
+
children: (y, x) => {
|
|
236
237
|
e.next();
|
|
237
238
|
var h = e.text();
|
|
238
239
|
e.template_effect((D) => e.set_text(h, D), [
|
|
239
|
-
() => e.get(u).isDonation ? $(e.get(u).subtotal) :
|
|
240
|
-
]), e.append(
|
|
240
|
+
() => e.get(u).isDonation ? $(q(e.get(u).subtotal)) : W(e.get(u).subtotal, a())
|
|
241
|
+
]), e.append(y, h);
|
|
241
242
|
},
|
|
242
243
|
$$slots: { default: !0 }
|
|
243
244
|
}), e.reset(o), e.append(v, o);
|
|
244
|
-
}), e.append(g,
|
|
245
|
+
}), e.append(g, S);
|
|
245
246
|
};
|
|
246
247
|
e.if(T, (g) => {
|
|
247
248
|
f() !== "totals" && g(_);
|
|
@@ -249,12 +250,12 @@ function ce(r, t) {
|
|
|
249
250
|
}
|
|
250
251
|
var i = e.sibling(T, 2);
|
|
251
252
|
{
|
|
252
|
-
var
|
|
253
|
-
var
|
|
253
|
+
var P = (g) => {
|
|
254
|
+
var S = te(), E = e.first_child(S);
|
|
254
255
|
{
|
|
255
256
|
var v = (n) => {
|
|
256
|
-
var l =
|
|
257
|
-
|
|
257
|
+
var l = ee(), d = e.child(l);
|
|
258
|
+
m(d, {
|
|
258
259
|
size: "sm",
|
|
259
260
|
color: "muted",
|
|
260
261
|
children: (c, w) => {
|
|
@@ -265,19 +266,19 @@ function ce(r, t) {
|
|
|
265
266
|
$$slots: { default: !0 }
|
|
266
267
|
});
|
|
267
268
|
var k = e.sibling(d, 2);
|
|
268
|
-
|
|
269
|
+
m(k, {
|
|
269
270
|
size: "sm",
|
|
270
271
|
color: "muted",
|
|
271
272
|
children: (c, w) => {
|
|
272
273
|
e.next();
|
|
273
274
|
var s = e.text();
|
|
274
|
-
e.template_effect((C) => e.set_text(s, C), [() => $(t.orderTotals.subtotal)]), e.append(c, s);
|
|
275
|
+
e.template_effect((C) => e.set_text(s, C), [() => $(q(t.orderTotals.subtotal))]), e.append(c, s);
|
|
275
276
|
},
|
|
276
277
|
$$slots: { default: !0 }
|
|
277
278
|
}), e.reset(l), e.append(n, l);
|
|
278
279
|
}, u = (n) => {
|
|
279
|
-
var l =
|
|
280
|
-
|
|
280
|
+
var l = R(), d = e.child(l);
|
|
281
|
+
m(d, {
|
|
281
282
|
size: "sm",
|
|
282
283
|
color: "muted",
|
|
283
284
|
children: (c, w) => {
|
|
@@ -288,13 +289,13 @@ function ce(r, t) {
|
|
|
288
289
|
$$slots: { default: !0 }
|
|
289
290
|
});
|
|
290
291
|
var k = e.sibling(d, 2);
|
|
291
|
-
|
|
292
|
+
m(k, {
|
|
292
293
|
size: "sm",
|
|
293
294
|
color: "muted",
|
|
294
295
|
children: (c, w) => {
|
|
295
296
|
e.next();
|
|
296
297
|
var s = e.text();
|
|
297
|
-
e.template_effect((C) => e.set_text(s, C), [() => $(t.orderTotals.subtotal)]), e.append(c, s);
|
|
298
|
+
e.template_effect((C) => e.set_text(s, C), [() => $(q(t.orderTotals.subtotal))]), e.append(c, s);
|
|
298
299
|
},
|
|
299
300
|
$$slots: { default: !0 }
|
|
300
301
|
}), e.reset(l), e.append(n, l);
|
|
@@ -305,9 +306,9 @@ function ce(r, t) {
|
|
|
305
306
|
}
|
|
306
307
|
var o = e.sibling(E, 2);
|
|
307
308
|
{
|
|
308
|
-
var
|
|
309
|
-
var l =
|
|
310
|
-
|
|
309
|
+
var b = (n) => {
|
|
310
|
+
var l = R(), d = e.child(l);
|
|
311
|
+
m(d, {
|
|
311
312
|
size: "sm",
|
|
312
313
|
color: "muted",
|
|
313
314
|
children: (c, w) => {
|
|
@@ -318,26 +319,26 @@ function ce(r, t) {
|
|
|
318
319
|
$$slots: { default: !0 }
|
|
319
320
|
});
|
|
320
321
|
var k = e.sibling(d, 2);
|
|
321
|
-
|
|
322
|
+
m(k, {
|
|
322
323
|
size: "sm",
|
|
323
324
|
color: "muted",
|
|
324
325
|
children: (c, w) => {
|
|
325
326
|
e.next();
|
|
326
327
|
var s = e.text();
|
|
327
|
-
e.template_effect((C) => e.set_text(s, C), [() => $(t.orderTotals.fees)]), e.append(c, s);
|
|
328
|
+
e.template_effect((C) => e.set_text(s, C), [() => $(q(t.orderTotals.fees))]), e.append(c, s);
|
|
328
329
|
},
|
|
329
330
|
$$slots: { default: !0 }
|
|
330
331
|
}), e.reset(l), e.append(n, l);
|
|
331
332
|
};
|
|
332
333
|
e.if(o, (n) => {
|
|
333
|
-
t.orderTotals.fees > 0 && n(
|
|
334
|
+
t.orderTotals.fees > 0 && n(b);
|
|
334
335
|
});
|
|
335
336
|
}
|
|
336
337
|
var A = e.sibling(o, 2);
|
|
337
338
|
{
|
|
338
|
-
var
|
|
339
|
-
var l =
|
|
340
|
-
|
|
339
|
+
var y = (n) => {
|
|
340
|
+
var l = R(), d = e.child(l);
|
|
341
|
+
m(d, {
|
|
341
342
|
size: "sm",
|
|
342
343
|
color: "muted",
|
|
343
344
|
children: (c, w) => {
|
|
@@ -348,26 +349,26 @@ function ce(r, t) {
|
|
|
348
349
|
$$slots: { default: !0 }
|
|
349
350
|
});
|
|
350
351
|
var k = e.sibling(d, 2);
|
|
351
|
-
|
|
352
|
+
m(k, {
|
|
352
353
|
size: "sm",
|
|
353
354
|
color: "muted",
|
|
354
355
|
children: (c, w) => {
|
|
355
356
|
e.next();
|
|
356
357
|
var s = e.text();
|
|
357
|
-
e.template_effect((C) => e.set_text(s, C), [() => $(t.orderTotals.taxes)]), e.append(c, s);
|
|
358
|
+
e.template_effect((C) => e.set_text(s, C), [() => $(q(t.orderTotals.taxes))]), e.append(c, s);
|
|
358
359
|
},
|
|
359
360
|
$$slots: { default: !0 }
|
|
360
361
|
}), e.reset(l), e.append(n, l);
|
|
361
362
|
};
|
|
362
363
|
e.if(A, (n) => {
|
|
363
|
-
t.orderTotals.taxes > 0 && n(
|
|
364
|
+
t.orderTotals.taxes > 0 && n(y);
|
|
364
365
|
});
|
|
365
366
|
}
|
|
366
367
|
var x = e.sibling(A, 2);
|
|
367
368
|
{
|
|
368
369
|
var h = (n) => {
|
|
369
|
-
var l =
|
|
370
|
-
|
|
370
|
+
var l = R(), d = e.child(l);
|
|
371
|
+
m(d, {
|
|
371
372
|
size: "sm",
|
|
372
373
|
color: "success",
|
|
373
374
|
children: (c, w) => {
|
|
@@ -378,13 +379,15 @@ function ce(r, t) {
|
|
|
378
379
|
$$slots: { default: !0 }
|
|
379
380
|
});
|
|
380
381
|
var k = e.sibling(d, 2);
|
|
381
|
-
|
|
382
|
+
m(k, {
|
|
382
383
|
size: "sm",
|
|
383
384
|
color: "success",
|
|
384
385
|
children: (c, w) => {
|
|
385
386
|
e.next();
|
|
386
387
|
var s = e.text();
|
|
387
|
-
e.template_effect((C) => e.set_text(s, `-${C ?? ""}`), [
|
|
388
|
+
e.template_effect((C) => e.set_text(s, `-${C ?? ""}`), [
|
|
389
|
+
() => $(q(t.orderTotals.promoDiscount))
|
|
390
|
+
]), e.append(c, s);
|
|
388
391
|
},
|
|
389
392
|
$$slots: { default: !0 }
|
|
390
393
|
}), e.reset(l), e.append(n, l);
|
|
@@ -395,9 +398,9 @@ function ce(r, t) {
|
|
|
395
398
|
}
|
|
396
399
|
var D = e.sibling(x, 2);
|
|
397
400
|
{
|
|
398
|
-
var
|
|
399
|
-
var l =
|
|
400
|
-
|
|
401
|
+
var I = (n) => {
|
|
402
|
+
var l = R(), d = e.child(l);
|
|
403
|
+
m(d, {
|
|
401
404
|
size: "sm",
|
|
402
405
|
color: "success",
|
|
403
406
|
children: (c, w) => {
|
|
@@ -408,23 +411,25 @@ function ce(r, t) {
|
|
|
408
411
|
$$slots: { default: !0 }
|
|
409
412
|
});
|
|
410
413
|
var k = e.sibling(d, 2);
|
|
411
|
-
|
|
414
|
+
m(k, {
|
|
412
415
|
size: "sm",
|
|
413
416
|
color: "success",
|
|
414
417
|
children: (c, w) => {
|
|
415
418
|
e.next();
|
|
416
419
|
var s = e.text();
|
|
417
|
-
e.template_effect((C) => e.set_text(s, `-${C ?? ""}`), [
|
|
420
|
+
e.template_effect((C) => e.set_text(s, `-${C ?? ""}`), [
|
|
421
|
+
() => $(q(t.orderTotals.giftCardAmount))
|
|
422
|
+
]), e.append(c, s);
|
|
418
423
|
},
|
|
419
424
|
$$slots: { default: !0 }
|
|
420
425
|
}), e.reset(l), e.append(n, l);
|
|
421
426
|
};
|
|
422
427
|
e.if(D, (n) => {
|
|
423
|
-
t.orderTotals.giftCardAmount > 0 && n(
|
|
428
|
+
t.orderTotals.giftCardAmount > 0 && n(I);
|
|
424
429
|
});
|
|
425
430
|
}
|
|
426
|
-
var
|
|
427
|
-
|
|
431
|
+
var z = e.sibling(D, 2), N = e.child(z);
|
|
432
|
+
m(N, {
|
|
428
433
|
size: "base",
|
|
429
434
|
weight: "semibold",
|
|
430
435
|
children: (n, l) => {
|
|
@@ -434,25 +439,25 @@ function ce(r, t) {
|
|
|
434
439
|
},
|
|
435
440
|
$$slots: { default: !0 }
|
|
436
441
|
});
|
|
437
|
-
var
|
|
438
|
-
|
|
442
|
+
var M = e.sibling(N, 2);
|
|
443
|
+
m(M, {
|
|
439
444
|
size: "base",
|
|
440
445
|
weight: "semibold",
|
|
441
446
|
children: (n, l) => {
|
|
442
447
|
e.next();
|
|
443
448
|
var d = e.text();
|
|
444
|
-
e.template_effect((k) => e.set_text(d, k), [() => $(t.orderTotals.total)]), e.append(n, d);
|
|
449
|
+
e.template_effect((k) => e.set_text(d, k), [() => $(q(t.orderTotals.total))]), e.append(n, d);
|
|
445
450
|
},
|
|
446
451
|
$$slots: { default: !0 }
|
|
447
|
-
}), e.reset(
|
|
452
|
+
}), e.reset(z), e.append(g, S);
|
|
448
453
|
};
|
|
449
454
|
e.if(i, (g) => {
|
|
450
|
-
f() !== "lines" && g(
|
|
455
|
+
f() !== "lines" && g(P);
|
|
451
456
|
});
|
|
452
457
|
}
|
|
453
|
-
e.reset(
|
|
458
|
+
e.reset(p), e.template_effect(() => e.set_style(p, `transition-duration: ${X.normal}ms;`)), e.append(r, p), e.pop();
|
|
454
459
|
}
|
|
455
|
-
const
|
|
460
|
+
const re = {
|
|
456
461
|
// ── Ticket quantity controls ──────────────────────────────────────
|
|
457
462
|
// Stepper aria-labels compose these into "Increase <name> quantity" etc.
|
|
458
463
|
// `quantityNoun` is deliberately its OWN key (not the main i18n's `quantity`,
|
|
@@ -483,10 +488,10 @@ const Q = {
|
|
|
483
488
|
enterEventPassword: "Enter event password",
|
|
484
489
|
passwordRequired: "Password required",
|
|
485
490
|
passwordRequiredShort: "Password required",
|
|
486
|
-
eventRequiresPassword: "This event requires a password to purchase tickets
|
|
487
|
-
eventRequiresPasswordAccess: "This event requires a password to access tickets
|
|
488
|
-
enterEventPasswordToView: "Enter the event password to view tickets
|
|
489
|
-
enterEventPasswordToViewAvailable: "Enter the event password to view available tickets
|
|
491
|
+
eventRequiresPassword: "This event requires a password to purchase tickets",
|
|
492
|
+
eventRequiresPasswordAccess: "This event requires a password to access tickets",
|
|
493
|
+
enterEventPasswordToView: "Enter the event password to view tickets",
|
|
494
|
+
enterEventPasswordToViewAvailable: "Enter the event password to view available tickets",
|
|
490
495
|
eventPassword: "Event password",
|
|
491
496
|
password: "Password",
|
|
492
497
|
pleaseEnterPassword: "Please enter the event password",
|
|
@@ -516,7 +521,7 @@ const Q = {
|
|
|
516
521
|
sameAsPurchaser: "Same as purchaser",
|
|
517
522
|
payment: "Payment",
|
|
518
523
|
noPaymentRequired: "No payment required",
|
|
519
|
-
freeEventMessage: "This is a free event. Complete the form above to reserve your spot
|
|
524
|
+
freeEventMessage: "This is a free event. Complete the form above to reserve your spot",
|
|
520
525
|
firstName: "First name",
|
|
521
526
|
lastName: "Last name",
|
|
522
527
|
emailAddress: "Email address",
|
|
@@ -598,15 +603,15 @@ const Q = {
|
|
|
598
603
|
saveToGoogleWallet: "Save to Google Wallet",
|
|
599
604
|
// ── Session timer / expiration modals ─────────────────────────────
|
|
600
605
|
sessionExpiringSoon: "Session expiring soon",
|
|
601
|
-
sessionExpiringSoonMessage: "Your checkout session will expire in {time}. Your selected tickets will be released back to inventory
|
|
606
|
+
sessionExpiringSoonMessage: "Your checkout session will expire in {time}. Your selected tickets will be released back to inventory",
|
|
602
607
|
extensionsRemaining: "{count} extension{plural} remaining",
|
|
603
608
|
continueCheckout: "Continue checkout",
|
|
604
609
|
okIllHurry: "OK, I'll hurry",
|
|
605
610
|
maxExtensionsReached: "Maximum extensions reached",
|
|
606
611
|
wantToKeepTickets: "Want to keep your tickets?",
|
|
607
|
-
sessionExpiredMessage: "Your checkout session has expired and your selected tickets have been released
|
|
612
|
+
sessionExpiredMessage: "Your checkout session has expired and your selected tickets have been released",
|
|
608
613
|
sessionExpired: "Session expired",
|
|
609
|
-
reservationTimedOut: "Your reservation has timed out. Please select your tickets again to continue
|
|
614
|
+
reservationTimedOut: "Your reservation has timed out. Please select your tickets again to continue",
|
|
610
615
|
keepMyTickets: "Keep my tickets",
|
|
611
616
|
selectTicketsAgain: "Select tickets again",
|
|
612
617
|
extendingSession: "Extending...",
|
|
@@ -617,26 +622,26 @@ const Q = {
|
|
|
617
622
|
getNotifiedWhenAvailable: "Get notified when tickets are available",
|
|
618
623
|
// Tokenized-link unlock outcomes (decisions #3/#22/#36). Mapped from the
|
|
619
624
|
// server's failure enum; shown as a small dismissible notice near the CTA.
|
|
620
|
-
waitlistLinkInvalid: "This link isn't valid. You're still on the waitlist — we'll email you if tickets free up
|
|
621
|
-
waitlistLinkExpired: "This link has expired. You're still on the waitlist
|
|
622
|
-
waitlistLinkUsed: "This link has already been used. You're still on the waitlist
|
|
623
|
-
waitlistLinkEmailMismatch: "This link was sent to a different email address. You're still on the waitlist
|
|
624
|
-
waitlistLinkInventoryExhausted: "Those tickets were just claimed. You're still on the waitlist — we'll email you if more free up
|
|
625
|
+
waitlistLinkInvalid: "This link isn't valid. You're still on the waitlist — we'll email you if tickets free up",
|
|
626
|
+
waitlistLinkExpired: "This link has expired. You're still on the waitlist",
|
|
627
|
+
waitlistLinkUsed: "This link has already been used. You're still on the waitlist",
|
|
628
|
+
waitlistLinkEmailMismatch: "This link was sent to a different email address. You're still on the waitlist",
|
|
629
|
+
waitlistLinkInventoryExhausted: "Those tickets were just claimed. You're still on the waitlist — we'll email you if more free up",
|
|
625
630
|
dismiss: "Dismiss"
|
|
626
631
|
};
|
|
627
|
-
function
|
|
628
|
-
return { ...
|
|
632
|
+
function ve(r = {}) {
|
|
633
|
+
return { ...re, ...r };
|
|
629
634
|
}
|
|
630
635
|
export {
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
636
|
+
ne as C,
|
|
637
|
+
X as D,
|
|
638
|
+
me as O,
|
|
639
|
+
de as a,
|
|
640
|
+
ce as b,
|
|
641
|
+
fe as c,
|
|
642
|
+
ue as d,
|
|
643
|
+
pe as e,
|
|
644
|
+
le as g,
|
|
645
|
+
ve as m
|
|
641
646
|
};
|
|
642
|
-
//# sourceMappingURL=labels-
|
|
647
|
+
//# sourceMappingURL=labels-Ws4MJjH5.js.map
|