@getmicdrop/venue-calendar 4.2.33 → 4.2.35
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/dist/{ArrowLeftIcon-B92-MN6-.js → ArrowLeftIcon-DS-NEije.js} +1 -1
- package/dist/{Badge-Bv_MT-Vt.js → Badge-DIHnRZlw.js} +1 -1
- package/dist/{BlockPlaceholder-DuE4xLS_.js → BlockPlaceholder-Dy9fStDr.js} +1 -1
- package/dist/{Calendar-CX3S7j_2.js → Calendar-CXwhGAmC.js} +19 -19
- package/dist/{CalendarFoundryView-CE5VMPRl.js → CalendarFoundryView-BRurhscw.js} +950 -950
- package/dist/{CalendarIcon-pJ01x71c.js → CalendarIcon-CvZ-GUH_.js} +1 -1
- package/dist/{CartView-BZALykSb.js → CartView-DT8DlMqQ.js} +532 -532
- package/dist/{Checkout-c6ExwNzk.js → Checkout-D3VqG09o.js} +173 -173
- package/dist/{Checkout-B6BHEAwF.js → Checkout-UU9C7CXV.js} +129 -129
- package/dist/{CheckoutTimer-Bz-HJhV2.js → CheckoutTimer-2WEgppW1.js} +5 -5
- package/dist/{ChevronDownIcon-k93EaHQh.js → ChevronDownIcon-DXbr-7H6.js} +1 -1
- package/dist/{ClockIcon-hnrV9bwg.js → ClockIcon-Dyx1LMo7.js} +1 -1
- package/dist/{CloseIcon-CdZ5mNTK.js → CloseIcon-NMHzwT75.js} +1 -1
- package/dist/{CollectionView-BMDKM-lg.js → CollectionView-DyMB_bPY.js} +9 -10
- package/dist/{Event-DvRnmTdU.js → Event-CXCOnkmi.js} +85 -85
- package/dist/EventPage-HlhaVqRG.js +981 -0
- package/dist/{Heading-Dfo3bjyn.js → Heading-DcZtRBSB.js} +1 -1
- package/dist/{Image-B3cEndLZ.js → Image-BZGbFJLw.js} +1 -1
- package/dist/{Input-BntIoPeV.js → Input-Cgdxdj6y.js} +1 -1
- package/dist/{MailIcon-CMyjGJ4_.js → MailIcon-D34sBBQX.js} +1 -1
- package/dist/{Modal-CpMs0l2W.js → Modal-BvT64ak1.js} +2 -2
- package/dist/{ModalFooter-Kdyt5XyP.js → ModalFooter-DM1dyl4S.js} +2 -2
- package/dist/{PasswordInput-C91gXtFY.js → PasswordInput-BNKrzXNm.js} +1 -1
- package/dist/{ScarcityBadge-C0YeWGkd.js → ScarcityBadge-DmbmsFlY.js} +23 -22
- package/dist/{SeriesPage-DNyhMA_k.js → SeriesPage-BXKz7PJV.js} +4 -4
- package/dist/{Spinner-BwiDys7C.js → Spinner-gpYLD9h6.js} +1 -1
- package/dist/{Success-BxvH6W_x.js → Success-DieJd6sx.js} +52 -52
- package/dist/{TagIcon-BkPcpKdu.js → TagIcon-Q7BC2QeQ.js} +1 -1
- package/dist/ViewTicketsEmbed-DqwHARj0.js +727 -0
- package/dist/{WarningCircleIcon-D78IFaPY.js → WarningCircleIcon-Dxi6_NlN.js} +1 -1
- package/dist/{WarningTriIcon-6WbGCso4.js → WarningTriIcon-BVNO82pk.js} +1 -1
- package/dist/{__SKIP_PATHS__-tAxwP7_6.js → __SKIP_PATHS__-BZ2V4IU4.js} +1 -1
- package/dist/api/api.cjs +1 -1
- package/dist/api/api.mjs +300 -216
- package/dist/api/gift-cards.d.ts +1 -1
- package/dist/api/orders.d.ts +2 -2
- package/dist/api/waitlist.d.ts +6 -1
- package/dist/{colors-DbQNhbC_.js → colors-B3NG0RHG.js} +113 -117
- package/dist/constants-DqKf8bUn.js +356 -0
- package/dist/{copyToClipboard-DAGJHhtn.js → copyToClipboard-CLo_2bfp.js} +1 -1
- package/dist/{de-BG-86m10.js → de-8N03rEoe.js} +4 -1
- package/dist/{de-BZpzzwT9.js → de-tOW1Ez0s.js} +63 -1
- package/dist/{timezones-C5l0SSHK.js → defaultLabels-D_9CneL4.js} +507 -1
- package/dist/{es-9jwSoUSD.js → es-DrYewQpd.js} +51 -1
- package/dist/{es-B1RPM3H_.js → es-tRMGbtbB.js} +4 -1
- package/dist/{event-v8d4wRpB.js → event-CFDG8adb.js} +1 -1
- package/dist/{event-transform-lC22EDSL.js → event-transform-jJPAKgYX.js} +4 -4
- package/dist/{eventStatusStream-CopqZ2oa.js → eventStatusStream-wmEyQSgV.js} +5 -5
- package/dist/{fr-fYY2O8Ab.js → fr-Bs9xnPu6.js} +63 -1
- package/dist/{fr-B6FgrH9s.js → fr-DDnljtQz.js} +4 -1
- package/dist/{href-BH6l_kZx.js → href-BfMcUXhM.js} +2 -2
- package/dist/{i18n-CIVh_urJ.js → i18n-BgkKrB4o.js} +126 -126
- package/dist/i18n-DK3npqzN.js +28 -0
- package/dist/{id-But8qcA2.js → id-BLwvLobz.js} +63 -1
- package/dist/{id-CK7hal8E.js → id-BZshacSm.js} +4 -1
- package/dist/{it-BdV8d4GZ.js → it-B6Rbpjec.js} +4 -1
- package/dist/{it-Cr9Quauw.js → it-CQ_Y8YK3.js} +63 -1
- package/dist/{ja-DKVQltc4.js → ja-Bmj-bPuM.js} +4 -1
- package/dist/{ja-CNXwg0_H.js → ja-CeudRJqE.js} +63 -1
- package/dist/{ko-DtoIJliT.js → ko-DFwVxd-1.js} +63 -1
- package/dist/{ko-DpIk-4pN.js → ko-r-ecuHZ5.js} +4 -1
- package/dist/{labels-BUH8ouCu.js → labels-BHqxbbw9.js} +1 -1
- package/dist/locales/{4.2.32 → 4.2.35}/flow/de.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.35}/flow/es.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.35}/flow/fr.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.35}/flow/id.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.35}/flow/it.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.35}/flow/ja.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.35}/flow/ko.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.35}/flow/nl.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.35}/flow/pl.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.35}/flow/pt-br.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.35}/flow/tr.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.35}/flow/zh.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.35}/main/de.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.35}/main/es.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.35}/main/fr.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.35}/main/id.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.35}/main/it.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.35}/main/ja.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.35}/main/ko.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.35}/main/nl.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.35}/main/pl.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.35}/main/pt-br.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.35}/main/tr.js +1 -1
- package/dist/locales/{4.2.32 → 4.2.35}/main/zh.js +1 -1
- package/dist/{modalManager.svelte-C4dWVCst.js → modalManager.svelte-CrrDshW7.js} +2 -2
- package/dist/{nl-C-dVfidI.js → nl-CS1da1Bc.js} +4 -1
- package/dist/{nl-Dbs4YQMw.js → nl-CYc0p85Y.js} +63 -1
- package/dist/{order-totals-CeeD6GjZ.js → order-totals-D0JKhd70.js} +31 -31
- package/dist/{orders-BuGy4vpJ.js → orders-CCWPQsWb.js} +365 -209
- package/dist/{phoneUtils-BDV9Eggn.js → phoneUtils-aQHGh8C_.js} +1 -1
- package/dist/{pixels-D6vqcuy2.js → pixels-M2q8HRk_.js} +11 -11
- package/dist/{pl-Da6lsZXQ.js → pl-BSqAasUa.js} +63 -1
- package/dist/{pl-CnFcI33y.js → pl-C2bkE2WA.js} +4 -1
- package/dist/{promo-DtLZRskK.js → promo-CKvS9lia.js} +3 -3
- package/dist/{pt-br-6QYijxa0.js → pt-br--DIxBDjz.js} +4 -1
- package/dist/{pt-br-D1wHabRR.js → pt-br-CZs8_gFN.js} +63 -1
- package/dist/{serverTotals-t2UmKkhC.js → serverTotals-DGd3p1s5.js} +1 -1
- package/dist/{shareCopyFeedback.svelte-B-M53Wj2.js → shareCopyFeedback.svelte-DTOJruVM.js} +55 -55
- package/dist/{showcase-state-options-VZcqIjpF.js → showcase-state-options-Da3jPUQb.js} +1 -1
- package/dist/{to-event-card-props-CpXtfoKx.js → to-event-card-props-B5bsYKP4.js} +31 -31
- package/dist/{tr-Pv_m8usO.js → tr-Bk7x5MW7.js} +4 -1
- package/dist/{tr-CpN50zWw.js → tr-O80C2r5C.js} +63 -1
- package/dist/{utils-CtqaTDLB.js → utils-RE2aEa_D.js} +49 -49
- package/dist/venue-calendar.es.js +710 -734
- package/dist/venue-calendar.iife.js +56 -57
- package/dist/venue-calendar.umd.js +54 -55
- package/dist/{zh-CAAnH4T4.js → zh-C8kyVh24.js} +4 -1
- package/dist/{zh-CwlRq_aG.js → zh-ydknixkJ.js} +63 -1
- package/package.json +220 -220
- package/dist/EventPage-CTo8ynx6.js +0 -971
- package/dist/ViewTicketsEmbed-DVurn8FG.js +0 -690
- package/dist/constants-ENlpIS8i.js +0 -822
- package/dist/createI18n-DBUVdZra.js +0 -75
|
@@ -1,822 +0,0 @@
|
|
|
1
|
-
import { C as e, E as t, I as n, S as r, T as i, f as a, m as o, n as s, p as c, x as l, y as u } from "./timezones-C5l0SSHK.js";
|
|
2
|
-
import { getContext as d, setContext as f } from "svelte";
|
|
3
|
-
//#region node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/phosphor/iconWeight.js
|
|
4
|
-
var p = Symbol("mds-icon-weight");
|
|
5
|
-
function m(e) {
|
|
6
|
-
f(p, { get weight() {
|
|
7
|
-
return e();
|
|
8
|
-
} });
|
|
9
|
-
}
|
|
10
|
-
function h() {
|
|
11
|
-
return d(p);
|
|
12
|
-
}
|
|
13
|
-
//#endregion
|
|
14
|
-
//#region node_modules/@getmicdrop/svelte-components/dist/datetime/local.js
|
|
15
|
-
function g(e) {
|
|
16
|
-
return e < 10 ? `0${e}` : String(e);
|
|
17
|
-
}
|
|
18
|
-
function _(e) {
|
|
19
|
-
return `${e.getFullYear()}-${g(e.getMonth() + 1)}-${g(e.getDate())}`;
|
|
20
|
-
}
|
|
21
|
-
function v(e, t, n = "en-US") {
|
|
22
|
-
return new Intl.DateTimeFormat(n, t).format(e);
|
|
23
|
-
}
|
|
24
|
-
//#endregion
|
|
25
|
-
//#region node_modules/@getmicdrop/svelte-components/dist/datetime/calendar.js
|
|
26
|
-
function y(e, t, n) {
|
|
27
|
-
return new Date(e, t, n);
|
|
28
|
-
}
|
|
29
|
-
function b(e) {
|
|
30
|
-
return Date.UTC(e.getFullYear(), e.getMonth(), e.getDate());
|
|
31
|
-
}
|
|
32
|
-
function x(t, n) {
|
|
33
|
-
if (typeof t != "number" || !Number.isInteger(t)) throw new r(`${n} must be an integer, got ${JSON.stringify(t)}`, e.INVALID_DATE, { value: t });
|
|
34
|
-
}
|
|
35
|
-
function S(e) {
|
|
36
|
-
return c(e, "toLocalDay(date)"), y(e.getFullYear(), e.getMonth(), e.getDate());
|
|
37
|
-
}
|
|
38
|
-
function C(t, n, i) {
|
|
39
|
-
if (x(t, "localDayFromParts(year)"), x(n, "localDayFromParts(monthIndex)"), x(i, "localDayFromParts(day)"), n < 0 || n > 11) throw new r(`localDayFromParts(monthIndex) must be 0-11 (0 = January), got ${n}`, e.INVALID_DATE, {
|
|
40
|
-
year: t,
|
|
41
|
-
monthIndex: n,
|
|
42
|
-
day: i
|
|
43
|
-
});
|
|
44
|
-
let a = y(t, n, i);
|
|
45
|
-
if (a.getFullYear() !== t || a.getMonth() !== n || a.getDate() !== i || Number.isNaN(a.getTime())) throw new r(`localDayFromParts: ${t}-${n + 1}-${i} is not a real calendar date`, e.INVALID_DATE, {
|
|
46
|
-
year: t,
|
|
47
|
-
monthIndex: n,
|
|
48
|
-
day: i
|
|
49
|
-
});
|
|
50
|
-
return a;
|
|
51
|
-
}
|
|
52
|
-
function w(t) {
|
|
53
|
-
if (typeof t != "string" || !/^\d{4}-\d{2}-\d{2}$/.test(t)) throw new r(`localDayFromYMD expects a YYYY-MM-DD date, got ${JSON.stringify(t)}`, e.INVALID_DATE, { value: t });
|
|
54
|
-
let [n, i, a] = t.split("-").map(Number);
|
|
55
|
-
return C(n, i - 1, a);
|
|
56
|
-
}
|
|
57
|
-
function T() {
|
|
58
|
-
return S(t());
|
|
59
|
-
}
|
|
60
|
-
function ee(e) {
|
|
61
|
-
return c(e, "localDayYMD(day)"), n(_(e));
|
|
62
|
-
}
|
|
63
|
-
function E(e) {
|
|
64
|
-
return c(e, "localWeekday(day)"), e.getDay();
|
|
65
|
-
}
|
|
66
|
-
function D(e, t) {
|
|
67
|
-
return C(e, t, 1), y(e, t + 1, 0).getDate();
|
|
68
|
-
}
|
|
69
|
-
function O(e, t) {
|
|
70
|
-
return c(e, "addLocalDays(day)"), x(t, "addLocalDays(n)"), y(e.getFullYear(), e.getMonth(), e.getDate() + t);
|
|
71
|
-
}
|
|
72
|
-
function k(e, t) {
|
|
73
|
-
c(e, "addLocalMonths(day)"), x(t, "addLocalMonths(n)");
|
|
74
|
-
let n = y(e.getFullYear(), e.getMonth() + t, 1), r = n.getFullYear(), i = n.getMonth(), a = y(r, i + 1, 0).getDate();
|
|
75
|
-
return y(r, i, Math.min(e.getDate(), a));
|
|
76
|
-
}
|
|
77
|
-
function A(e) {
|
|
78
|
-
return c(e, "startOfLocalMonth(day)"), y(e.getFullYear(), e.getMonth(), 1);
|
|
79
|
-
}
|
|
80
|
-
function te(e, t) {
|
|
81
|
-
return c(e, "wholeDaysBetween(a)"), c(t, "wholeDaysBetween(b)"), (b(t) - b(e)) / 864e5;
|
|
82
|
-
}
|
|
83
|
-
function j(e, t) {
|
|
84
|
-
return c(e, "isSameLocalDay(a)"), c(t, "isSameLocalDay(b)"), b(e) === b(t);
|
|
85
|
-
}
|
|
86
|
-
function M(e, t) {
|
|
87
|
-
return o(e, t) < 0;
|
|
88
|
-
}
|
|
89
|
-
function N(e, t) {
|
|
90
|
-
return o(e, t) > 0;
|
|
91
|
-
}
|
|
92
|
-
function P(e) {
|
|
93
|
-
return M(e, T());
|
|
94
|
-
}
|
|
95
|
-
function F(e, t, n = {}) {
|
|
96
|
-
let { weekStartsOn: r = 0, fillAdjacent: i = !0 } = n, a = C(e, t, 1), o = D(e, t), s = T(), c = [], l = (e, t) => {
|
|
97
|
-
c.push({
|
|
98
|
-
day: e,
|
|
99
|
-
inMonth: t,
|
|
100
|
-
isToday: j(e, s)
|
|
101
|
-
});
|
|
102
|
-
};
|
|
103
|
-
if (i) {
|
|
104
|
-
let e = (E(a) - r + 7) % 7;
|
|
105
|
-
for (let t = e; t > 0; t--) l(O(a, -t), !1);
|
|
106
|
-
}
|
|
107
|
-
for (let e = 0; e < o; e++) l(O(a, e), !0);
|
|
108
|
-
if (i) {
|
|
109
|
-
let e = (7 - c.length % 7) % 7, t = O(a, o - 1);
|
|
110
|
-
for (let n = 1; n <= e; n++) l(O(t, n), !1);
|
|
111
|
-
}
|
|
112
|
-
return c;
|
|
113
|
-
}
|
|
114
|
-
function ne(e, t = {}) {
|
|
115
|
-
let { weekStartsOn: n = 0 } = t, r = O(e, -((E(e) - n + 7) % 7));
|
|
116
|
-
return Array.from({ length: 7 }, (e, t) => O(r, t));
|
|
117
|
-
}
|
|
118
|
-
function re(e, t = {}) {
|
|
119
|
-
c(e, "isLocalDayDisabled(day)");
|
|
120
|
-
let { min: n, max: r, disablePast: i = !1, allowedWeekdays: a } = t;
|
|
121
|
-
return !!(i && P(e) || n && M(e, n) || r && N(e, r) || a && !a.includes(E(e)));
|
|
122
|
-
}
|
|
123
|
-
//#endregion
|
|
124
|
-
//#region node_modules/@getmicdrop/svelte-components/dist/utils/formatters.js
|
|
125
|
-
function I(e) {
|
|
126
|
-
return Math.round((e + 2 ** -52) * 100) / 100;
|
|
127
|
-
}
|
|
128
|
-
function ie(e) {
|
|
129
|
-
return e.toFixed(2);
|
|
130
|
-
}
|
|
131
|
-
function ae(e, t, n = "en-US") {
|
|
132
|
-
if (e == null) return "";
|
|
133
|
-
let r = e / 100, { signed: i, ...a } = t ?? {};
|
|
134
|
-
return i && r !== 0 ? `${r > 0 ? "+" : "-"}${L(Math.abs(r), a, n)}` : L(r, a, n);
|
|
135
|
-
}
|
|
136
|
-
function L(e, t, n = "en-US") {
|
|
137
|
-
if (e == null) return "";
|
|
138
|
-
let r;
|
|
139
|
-
return r = typeof t == "string" ? {
|
|
140
|
-
style: "currency",
|
|
141
|
-
currency: t
|
|
142
|
-
} : t && typeof t == "object" ? {
|
|
143
|
-
style: "currency",
|
|
144
|
-
currency: t.currency ?? "USD",
|
|
145
|
-
...t
|
|
146
|
-
} : {
|
|
147
|
-
style: "currency",
|
|
148
|
-
currency: "USD"
|
|
149
|
-
}, new Intl.NumberFormat(n, r).format(e);
|
|
150
|
-
}
|
|
151
|
-
function oe(e) {
|
|
152
|
-
if (e == null) return "";
|
|
153
|
-
let t = e;
|
|
154
|
-
return Number.isFinite(t) ? (t / 100).toFixed(2) : "";
|
|
155
|
-
}
|
|
156
|
-
function se(e) {
|
|
157
|
-
return e == null ? null : e instanceof Date ? isNaN(e.getTime()) ? null : e : u(e);
|
|
158
|
-
}
|
|
159
|
-
function R(e, t) {
|
|
160
|
-
return new Intl.DateTimeFormat("en-US", {
|
|
161
|
-
hour: "numeric",
|
|
162
|
-
minute: "2-digit",
|
|
163
|
-
timeZone: t
|
|
164
|
-
}).format(e);
|
|
165
|
-
}
|
|
166
|
-
function z(n, i = {}) {
|
|
167
|
-
let o = i.timeZone;
|
|
168
|
-
if (o !== void 0 && !l(o)) throw new r(`Invalid timezone: ${o}`, e.INVALID_TIMEZONE, { timezone: o });
|
|
169
|
-
let s = se(n);
|
|
170
|
-
if (!s) return "";
|
|
171
|
-
let c = t(), u = s.getTime() - c.getTime(), d = Math.round(u / 6e4), f = u / 36e5, p = i.locale || "en-US";
|
|
172
|
-
if (d > 0 && d < 60) {
|
|
173
|
-
let e = Math.max(1, d);
|
|
174
|
-
return (e === 1 ? i.inNMinute || "in {n} minute" : i.inNMinutes || "in {n} minutes").replace("{n}", String(e));
|
|
175
|
-
}
|
|
176
|
-
if (f > 0 && f < 24) {
|
|
177
|
-
let e = Math.max(1, Math.round(f));
|
|
178
|
-
return (e === 1 ? i.inNHour || "in {n} hour" : i.inNHours || "in {n} hours").replace("{n}", String(e));
|
|
179
|
-
}
|
|
180
|
-
let m = (e) => {
|
|
181
|
-
if (o === void 0) return S(e);
|
|
182
|
-
let t = a(e.toISOString(), o);
|
|
183
|
-
return t === null ? null : w(t);
|
|
184
|
-
}, h = m(s), g = m(c);
|
|
185
|
-
if (h && g && j(h, O(g, 1))) {
|
|
186
|
-
let e = R(s, o);
|
|
187
|
-
return (i.tomorrowAtTime || "tomorrow at {time}").replace("{time}", e);
|
|
188
|
-
}
|
|
189
|
-
let _ = u / 864e5;
|
|
190
|
-
if (_ > 0 && _ <= 7) {
|
|
191
|
-
let e = new Intl.DateTimeFormat(p, {
|
|
192
|
-
weekday: "long",
|
|
193
|
-
timeZone: o
|
|
194
|
-
}).format(s), t = R(s, o);
|
|
195
|
-
return (i.onDayAtTime || "on {day} at {time}").replace("{day}", e).replace("{time}", t);
|
|
196
|
-
}
|
|
197
|
-
let v = new Intl.DateTimeFormat(p, {
|
|
198
|
-
month: "short",
|
|
199
|
-
day: "numeric",
|
|
200
|
-
timeZone: o
|
|
201
|
-
}).format(s);
|
|
202
|
-
return (i.onDate || "on {date}").replace("{date}", v);
|
|
203
|
-
}
|
|
204
|
-
function B(e, t) {
|
|
205
|
-
let n = e?.trim() || "", r = t?.trim() || "";
|
|
206
|
-
return n && r ? `${n} ${r}` : n || r || "";
|
|
207
|
-
}
|
|
208
|
-
function V(e) {
|
|
209
|
-
return e.replace(/\D/g, "").replace(/(.{4})/g, "$1 ").trim();
|
|
210
|
-
}
|
|
211
|
-
function H(e) {
|
|
212
|
-
switch (e) {
|
|
213
|
-
case "flat":
|
|
214
|
-
case "cents": return console.warn(`[normalizeChargeType] Legacy serviceFeeChargeType "${e}" received -- use "fixed"`), "fixed";
|
|
215
|
-
case "percent": return console.warn(`[normalizeChargeType] Legacy serviceFeeChargeType "${e}" received -- use "percentage"`), "percentage";
|
|
216
|
-
case "fixed":
|
|
217
|
-
case "percentage":
|
|
218
|
-
case "both": return e;
|
|
219
|
-
default: return "both";
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
//#endregion
|
|
223
|
-
//#region src/lib/i18n/defaultLabels.js
|
|
224
|
-
var U = {
|
|
225
|
-
viewList: "List",
|
|
226
|
-
viewGallery: "Gallery",
|
|
227
|
-
viewCalendar: "Calendar",
|
|
228
|
-
searchPlaceholder: "Search for events",
|
|
229
|
-
searchAriaLabel: "Search events",
|
|
230
|
-
listView: "List view",
|
|
231
|
-
galleryView: "Gallery view",
|
|
232
|
-
calendarView: "Calendar view",
|
|
233
|
-
eventCalendarTitle: "Event calendar",
|
|
234
|
-
noUpcomingEvents: "No upcoming events",
|
|
235
|
-
noUpcomingEventsSubtext: "There are no events scheduled at this time — check back soon for new shows",
|
|
236
|
-
loadingEvents: "Loading events",
|
|
237
|
-
loadingEventsWait: "Loading events, please wait...",
|
|
238
|
-
loading: "Loading...",
|
|
239
|
-
loadingMoreEvents: "Loading more events...",
|
|
240
|
-
loadingMoreShows: "Loading more shows...",
|
|
241
|
-
checkoutUnavailableTitle: "Online ticket sales are unavailable here",
|
|
242
|
-
checkoutUnavailableBody: "You can browse upcoming shows below, but tickets cannot be purchased on this website right now. Please visit the venue’s own ticket page or contact the venue to book.",
|
|
243
|
-
checkoutUnavailableOwnerNote: "Site owner: {origin} is not registered for checkout. Ask Micdrop to add this domain to your organization’s allowed embed domains — changes take up to 5 minutes to apply.",
|
|
244
|
-
statusOnSale: "On sale",
|
|
245
|
-
statusSoldOut: "Sold out",
|
|
246
|
-
statusSellingFast: "Selling fast",
|
|
247
|
-
statusAlmostSoldOut: "Almost sold out",
|
|
248
|
-
statusCancelled: "Cancelled",
|
|
249
|
-
statusPostponed: "Postponed",
|
|
250
|
-
statusPastEvent: "Past event",
|
|
251
|
-
statusSalesEnded: "Sales ended",
|
|
252
|
-
statusComingSoon: "Coming soon",
|
|
253
|
-
statusFewTicketsLeft: "Few tickets left",
|
|
254
|
-
scarcityOnlyNLeft: "Only {remaining} left",
|
|
255
|
-
scarcityLowAvailability: "Low availability",
|
|
256
|
-
getTickets: "Get tickets",
|
|
257
|
-
schedule: "Schedule",
|
|
258
|
-
pressEnterToView: "Press Enter to view details",
|
|
259
|
-
pressEnterToGetTickets: "Press Enter to get tickets",
|
|
260
|
-
pressEnterToPurchase: "Press Enter to purchase",
|
|
261
|
-
upcomingEvents: "Upcoming events",
|
|
262
|
-
eventsCarousel: "Events carousel",
|
|
263
|
-
eventsGallery: "Events gallery",
|
|
264
|
-
eventListings: "Event listings",
|
|
265
|
-
eventListGroupedByDate: "Event list grouped by date",
|
|
266
|
-
featuredEvent: "Featured event",
|
|
267
|
-
scrollLeft: "Scroll left",
|
|
268
|
-
scrollRight: "Scroll right",
|
|
269
|
-
previousMonth: "Previous month",
|
|
270
|
-
nextMonth: "Next month",
|
|
271
|
-
calendarSearchAndViewOptions: "Calendar search and view options",
|
|
272
|
-
calendarMonthNavigation: "Calendar month navigation",
|
|
273
|
-
switchView: "Switch view",
|
|
274
|
-
viewOptions: "View options",
|
|
275
|
-
dialogActions: "Dialog actions",
|
|
276
|
-
availableShowtimes: "Available showtimes",
|
|
277
|
-
eventsForSelectedDay: "Events for selected day",
|
|
278
|
-
chooseDate: "Choose date",
|
|
279
|
-
today: "Today",
|
|
280
|
-
noEvents: "No events",
|
|
281
|
-
eventCount: "{count} event",
|
|
282
|
-
eventsCount: "{count} events",
|
|
283
|
-
pressEnterToViewDay: "Press Enter to view",
|
|
284
|
-
eventsSelected: "{count} events selected. Use Tab to navigate to events",
|
|
285
|
-
daySun: "Sun",
|
|
286
|
-
dayMon: "Mon",
|
|
287
|
-
dayTue: "Tue",
|
|
288
|
-
dayWed: "Wed",
|
|
289
|
-
dayThu: "Thu",
|
|
290
|
-
dayFri: "Fri",
|
|
291
|
-
daySat: "Sat",
|
|
292
|
-
daySunFull: "Sunday",
|
|
293
|
-
dayMonFull: "Monday",
|
|
294
|
-
dayTueFull: "Tuesday",
|
|
295
|
-
dayWedFull: "Wednesday",
|
|
296
|
-
dayThuFull: "Thursday",
|
|
297
|
-
dayFriFull: "Friday",
|
|
298
|
-
daySatFull: "Saturday",
|
|
299
|
-
monthJanuary: "January",
|
|
300
|
-
monthFebruary: "February",
|
|
301
|
-
monthMarch: "March",
|
|
302
|
-
monthApril: "April",
|
|
303
|
-
monthMay: "May",
|
|
304
|
-
monthJune: "June",
|
|
305
|
-
monthJuly: "July",
|
|
306
|
-
monthAugust: "August",
|
|
307
|
-
monthSeptember: "September",
|
|
308
|
-
monthOctober: "October",
|
|
309
|
-
monthNovember: "November",
|
|
310
|
-
monthDecember: "December",
|
|
311
|
-
series: "Series",
|
|
312
|
-
collection: "Collection",
|
|
313
|
-
noUpcomingEventsToFeature: "No upcoming events to feature",
|
|
314
|
-
nextEventAt: "Next: {date} at {time}",
|
|
315
|
-
tonight: "Tonight",
|
|
316
|
-
tomorrow: "Tomorrow",
|
|
317
|
-
thisWeekend: "This weekend",
|
|
318
|
-
nextWeek: "Next week",
|
|
319
|
-
comingUp: "Coming up",
|
|
320
|
-
noUpcomingShowsScheduled: "No upcoming shows scheduled",
|
|
321
|
-
nothingOn: "Nothing on",
|
|
322
|
-
noUpcomingEventsScheduled: "No upcoming events scheduled",
|
|
323
|
-
nextUp: "Next up:",
|
|
324
|
-
on: "on",
|
|
325
|
-
jumpTo: "Jump to",
|
|
326
|
-
connectionError: "Connection error",
|
|
327
|
-
networkErrorMessage: "We couldn't connect to our servers. Please check your internet connection and try again",
|
|
328
|
-
networkErrorRetry: "Try again",
|
|
329
|
-
networkErrorCancel: "Cancel",
|
|
330
|
-
retryingConnection: "Retrying connection",
|
|
331
|
-
couldNotLoadEvents: "We couldn't load the events. Please check your internet connection and try again",
|
|
332
|
-
offlineMessage: "You're offline. Some features may not work until you reconnect",
|
|
333
|
-
poweredBy: "Powered by",
|
|
334
|
-
micdropAriaLabel: "MicDrop - Event ticketing platform",
|
|
335
|
-
giftCardsLink: "Gift cards",
|
|
336
|
-
giftCardsLinkAriaLabel: "Buy a gift card for this venue",
|
|
337
|
-
datePickerToday: "Today",
|
|
338
|
-
datePickerClear: "Clear",
|
|
339
|
-
pastDatesNotAvailable: "Past dates are not available",
|
|
340
|
-
dayNotAvailable: "This day of the week is not available",
|
|
341
|
-
preview: "preview",
|
|
342
|
-
loadingEvent: "Loading event...",
|
|
343
|
-
loadingCollection: "Loading collection...",
|
|
344
|
-
loadingYourOrder: "Loading your order...",
|
|
345
|
-
loadingSecurePaymentForm: "Loading secure payment form...",
|
|
346
|
-
errorPrefix: "Error:",
|
|
347
|
-
goBack: "Go back",
|
|
348
|
-
goBackToCalendar: "Go back to calendar",
|
|
349
|
-
goBackToEventDetails: "Go back to event details",
|
|
350
|
-
goBackToTicketSelection: "Go back to ticket selection",
|
|
351
|
-
eventDetails: "Event details",
|
|
352
|
-
eventPoster: "Event poster",
|
|
353
|
-
passwordProtectedTitle: "This event is password protected",
|
|
354
|
-
passwordProtectedDescription: "Enter the event password to view details and purchase tickets",
|
|
355
|
-
enterPassword: "Enter password",
|
|
356
|
-
enterEventPassword: "Enter event password",
|
|
357
|
-
passwordModalDescription: "This event requires a password to view. Please enter the password provided by the event organizer",
|
|
358
|
-
passwordLabel: "Password",
|
|
359
|
-
unlockEvent: "Unlock event",
|
|
360
|
-
incorrectPassword: "Incorrect password. Please try again",
|
|
361
|
-
unableToVerifyPassword: "Unable to verify password. Please try again",
|
|
362
|
-
collectionPrivateTitle: "This collection is private",
|
|
363
|
-
collectionPrivateDescription: "Please enter the password to view this collection",
|
|
364
|
-
viewCollection: "View collection",
|
|
365
|
-
eventCancelledTitle: "This event has been cancelled",
|
|
366
|
-
eventCancelledMessage: "We're sorry, but this event is no longer taking place",
|
|
367
|
-
eventCancelledRefund: "Refund information:",
|
|
368
|
-
eventCancelledRefundDetails: "If you purchased tickets, a full refund will be processed automatically to your original payment method within 5-10 business days. Check your email for confirmation",
|
|
369
|
-
learnMore: "Learn more",
|
|
370
|
-
cancelledRefundAuto: "If your event is cancelled, we'll automatically refund the credit card used for purchase* (usually within 30 business days of the cancellation announcement)",
|
|
371
|
-
cancelledRefundBoxOffice: "Bought your tickets at the venue's box office? Please take the tickets directly to the box office for a refund",
|
|
372
|
-
cancelledRefundFootnote: "*Please note that we cannot submit the refund to an alternate card. If your credit card number has changed since you made the purchase this should not impact your ability to receive the refund",
|
|
373
|
-
eventCanceledTitle: "Event cancelled",
|
|
374
|
-
eventPostponedTitle: "Event postponed",
|
|
375
|
-
eventCanceledBody: "This event was cancelled — you weren't charged",
|
|
376
|
-
eventPostponedBody: "Sales are paused while this show is rescheduled — you weren't charged",
|
|
377
|
-
backToEvents: "Back to events",
|
|
378
|
-
eventHasEnded: "Event has ended",
|
|
379
|
-
eventEndedMessage: "Your charges weren't saved because you cannot change the details of an event that has already ended",
|
|
380
|
-
thisEventHasEnded: "This event has ended",
|
|
381
|
-
ticketsNoLongerAvailable: "Tickets are no longer available for this event",
|
|
382
|
-
ok: "OK",
|
|
383
|
-
tabAboutTheShow: "About the show",
|
|
384
|
-
tabFeaturing: "Featuring",
|
|
385
|
-
tabFAQs: "FAQs",
|
|
386
|
-
tabDisclaimers: "Disclaimers",
|
|
387
|
-
disclaimer: "Disclaimer",
|
|
388
|
-
allAges: "All ages",
|
|
389
|
-
agesPlus: "Ages {age}+",
|
|
390
|
-
doorsOpen: "Doors open {time}",
|
|
391
|
-
venue: "Venue",
|
|
392
|
-
generalAdmission: "General admission",
|
|
393
|
-
eventCancelled: "Event cancelled",
|
|
394
|
-
salesEnded: "Sales ended",
|
|
395
|
-
soldOut: "Sold out",
|
|
396
|
-
joinWaitlist: "Join waitlist",
|
|
397
|
-
getNotifiedWhenAvailable: "Get notified when tickets are available",
|
|
398
|
-
reserve: "Reserve",
|
|
399
|
-
reserveASpot: "Reserve a spot",
|
|
400
|
-
secureCheckout: "Secure checkout",
|
|
401
|
-
from: "From",
|
|
402
|
-
startsFrom: "Starts from",
|
|
403
|
-
free: "Free",
|
|
404
|
-
inclFee: "incl. {fee} fee",
|
|
405
|
-
includingFee: "including {fee} service fee",
|
|
406
|
-
originalPrice: "Original price:",
|
|
407
|
-
ticketPurchase: "Ticket purchase",
|
|
408
|
-
ticketPurchaseOptions: "Ticket purchase options",
|
|
409
|
-
loadingPrice: "Loading price",
|
|
410
|
-
discountApplied: "Discount applied",
|
|
411
|
-
unlocked: "Unlocked",
|
|
412
|
-
salesStart: "Sales start {salesStart}",
|
|
413
|
-
salesEndPrefix: "Sales end",
|
|
414
|
-
quantity: "Quantity:",
|
|
415
|
-
quantityNoun: "quantity",
|
|
416
|
-
decreaseQuantity: "Decrease quantity for {title}",
|
|
417
|
-
increaseQuantity: "Increase quantity for {title}",
|
|
418
|
-
quantitySelector: "Quantity selector for {title}",
|
|
419
|
-
donationAmountLabel: "Donation amount in dollars",
|
|
420
|
-
minimumDonation: "Minimum $1.00",
|
|
421
|
-
inNMinute: "in {n} minute",
|
|
422
|
-
inNMinutes: "in {n} minutes",
|
|
423
|
-
inNHour: "in {n} hour",
|
|
424
|
-
inNHours: "in {n} hours",
|
|
425
|
-
tomorrowAtTime: "tomorrow at {time}",
|
|
426
|
-
onDayAtTime: "on {day} at {time}",
|
|
427
|
-
onDate: "on {date}",
|
|
428
|
-
noTicketsAvailable: "No tickets available",
|
|
429
|
-
noTicketsAvailableDescription: "There are currently no tickets available for this event",
|
|
430
|
-
availableTickets: "Available tickets",
|
|
431
|
-
selectedTickets: "Selected tickets",
|
|
432
|
-
other: "Other",
|
|
433
|
-
ticketsInSection: "Tickets in {section}",
|
|
434
|
-
subtotal: "Subtotal",
|
|
435
|
-
serviceFees: "Service fees",
|
|
436
|
-
fees: "Fees",
|
|
437
|
-
taxes: "Taxes",
|
|
438
|
-
promoDiscount: "Promo discount",
|
|
439
|
-
total: "Total",
|
|
440
|
-
priceUnavailable: "We couldn't load the price for this order — refresh the page or contact the venue",
|
|
441
|
-
orderBreakdown: "Order breakdown",
|
|
442
|
-
priceBreakdown: "Price breakdown",
|
|
443
|
-
yourDetails: "Your details",
|
|
444
|
-
billingInformation: "Billing information",
|
|
445
|
-
firstName: "First name",
|
|
446
|
-
lastName: "Last name",
|
|
447
|
-
emailAddress: "Email address",
|
|
448
|
-
phoneNumber: "Phone number",
|
|
449
|
-
keepMeUpdated: "Keep me updated on more events and news",
|
|
450
|
-
keepMeUpdatedByVenue: "Keep me updated about {venue} events and news",
|
|
451
|
-
subscribeToUpdates: "Subscribe to event updates and news",
|
|
452
|
-
ticketN: "Ticket {index} - {name}",
|
|
453
|
-
sameAsPersonalDetails: "Same as personal details",
|
|
454
|
-
payment: "Payment",
|
|
455
|
-
payWith: "Pay with",
|
|
456
|
-
paymentMethodSelection: "Payment method selection",
|
|
457
|
-
creditOrDebitCard: "Credit or debit card",
|
|
458
|
-
applePay: "Apple Pay",
|
|
459
|
-
googlePay: "Google Pay",
|
|
460
|
-
cardPaymentForm: "Card payment form",
|
|
461
|
-
payWithCard: "Pay with credit or debit card",
|
|
462
|
-
payWithApplePay: "Pay with Apple Pay",
|
|
463
|
-
payWithGooglePay: "Pay with Google Pay",
|
|
464
|
-
placeOrder: "Place order",
|
|
465
|
-
processing: "Processing...",
|
|
466
|
-
processingYourOrder: "Processing your order",
|
|
467
|
-
termsPrefix: "By selecting Place order, I agree to the",
|
|
468
|
-
termsOfService: "terms of service",
|
|
469
|
-
termsAndConditions: "Terms and conditions",
|
|
470
|
-
agreeToTerms: "I agree to the",
|
|
471
|
-
termsAndConditionsLink: "terms and conditions",
|
|
472
|
-
haveAGiftCard: "Have a gift card?",
|
|
473
|
-
addAnotherGiftCard: "Add another gift card",
|
|
474
|
-
giftCardAlreadyApplied: "That gift card is already applied",
|
|
475
|
-
enterGiftCardCode: "Enter gift card code",
|
|
476
|
-
apply: "Apply",
|
|
477
|
-
giftCardApplied: "Gift card applied",
|
|
478
|
-
removeGiftCard: "Remove gift card",
|
|
479
|
-
appliedToOrder: "Applied to order",
|
|
480
|
-
fullyCoveredByGiftCard: "Fully covered by gift card",
|
|
481
|
-
remainingToPay: "Remaining to pay",
|
|
482
|
-
invalidGiftCardCode: "Invalid gift card code",
|
|
483
|
-
failedToApplyGiftCard: "Failed to apply gift card. Please try again",
|
|
484
|
-
failedToRemoveGiftCard: "Failed to remove gift card. Please try again",
|
|
485
|
-
giftCardNoPaymentRequired: "No payment required",
|
|
486
|
-
giftCardCompleteOrder: "Complete order",
|
|
487
|
-
havePromoCode: "Have a promo code?",
|
|
488
|
-
promoCode: "Promo code",
|
|
489
|
-
promoCodeEntry: "Promo code entry",
|
|
490
|
-
remove: "Remove",
|
|
491
|
-
checking: "Checking...",
|
|
492
|
-
pleaseEnterPromoCode: "Please enter a promo code",
|
|
493
|
-
invalidOrExpiredPromoCode: "Invalid or expired promo code",
|
|
494
|
-
unableToValidatePromoCode: "Unable to validate promo code. Please try again",
|
|
495
|
-
hiddenTicketsVisible: "Hidden tickets are now visible",
|
|
496
|
-
dollarDiscountAvailable: "A {amount} discount is available",
|
|
497
|
-
percentDiscountAvailable: "A {amount}% discount is available",
|
|
498
|
-
promoApplied: "{code} applied",
|
|
499
|
-
removePromoCode: "Remove promo code",
|
|
500
|
-
applyPromoCode: "Apply promo code",
|
|
501
|
-
checkingPromoCode: "Checking promo code",
|
|
502
|
-
waitlistTitle: "This show is sold out",
|
|
503
|
-
waitlistDescription: "Want to be notified if tickets become available?",
|
|
504
|
-
waitlistEmailLabel: "Email address",
|
|
505
|
-
waitlistEmailPlaceholder: "you@example.com",
|
|
506
|
-
waitlistPhonePlaceholder: "(555) 123-4567",
|
|
507
|
-
pleaseEnterValidEmail: "Please enter a valid email",
|
|
508
|
-
pleaseEnterValidEmailAddress: "Please enter a valid email address",
|
|
509
|
-
pleaseEnterValidPhone: "Please enter a valid phone number",
|
|
510
|
-
smsOptIn: "Text me when tickets are available",
|
|
511
|
-
smsDisclaimer: "Message & data rates may apply. Reply STOP to unsubscribe",
|
|
512
|
-
joining: "Joining...",
|
|
513
|
-
notifyMe: "Notify me",
|
|
514
|
-
done: "Done",
|
|
515
|
-
cancel: "Cancel",
|
|
516
|
-
youreOnTheList: "You're on the waitlist",
|
|
517
|
-
waitlistAdded: "You're on the waitlist for {eventName}",
|
|
518
|
-
waitlistNotifyByEmail: "We'll let you know if tickets become available",
|
|
519
|
-
waitlistSmsAlerts: "You'll also receive SMS alerts",
|
|
520
|
-
waitlistLinkExpired: "This link has expired. You're still on the waitlist",
|
|
521
|
-
waitlistLinkUsed: "This link has already been used. You're still on the waitlist",
|
|
522
|
-
waitlistLinkEmailMismatch: "This link was sent to a different email address. You're still on the waitlist",
|
|
523
|
-
waitlistLinkInventoryExhausted: "Those tickets were just claimed. You're still on the waitlist — we'll email you if more free up",
|
|
524
|
-
waitlistLinkInvalid: "This link isn't valid. You're still on the waitlist — we'll email you if tickets free up",
|
|
525
|
-
waitlistWindowNotice: "These tickets are being held for you for",
|
|
526
|
-
waitlistWindowSuffix: "— after that, your spot passes to the next person in line",
|
|
527
|
-
waitlistWindowExpired: "Your purchase window has expired — the seat is being offered to the next person in line",
|
|
528
|
-
waitlistRequeueCta: "Take the next spot in line",
|
|
529
|
-
waitlistRequeueBusy: "Moving you up…",
|
|
530
|
-
waitlistRequeueDone: "You're first in line — we'll email you the moment the next seat opens up",
|
|
531
|
-
waitlistRequeueNotOnList: "You're no longer on this waitlist — join again from the button below",
|
|
532
|
-
waitlistRequeueFailed: "We couldn't move you up just now — you're still on the waitlist",
|
|
533
|
-
waitlistPositionEstimate: "You're about #{position} in line — this moves as seats free up",
|
|
534
|
-
waitlistLinkEventMismatch: "This link is for a different event — open it from that show’s email",
|
|
535
|
-
checkout: "Checkout",
|
|
536
|
-
unableToReserveTickets: "Unable to reserve tickets",
|
|
537
|
-
connectionIssue: "Connection issue",
|
|
538
|
-
cartFailedMessage: "We couldn't reserve your tickets. This may be due to a network issue or the tickets may no longer be available",
|
|
539
|
-
pleaseGoBackAndTryAgain: "Please go back and try again",
|
|
540
|
-
cartSuccessMessage: "Your tickets are reserved and being held for you",
|
|
541
|
-
cartSuccessNetworkError: "However, we encountered a connection issue. Please refresh the page to continue to checkout",
|
|
542
|
-
refreshPage: "Refresh page",
|
|
543
|
-
limitedAvailability: "Limited availability",
|
|
544
|
-
onlyNAvailable: "Only {available} available (you selected {requested})",
|
|
545
|
-
soldOutYouSelected: "Sold out (you selected {requested})",
|
|
546
|
-
ticketsNoLongerAvailableMessage: "Some tickets you selected are no longer available in the requested quantities:",
|
|
547
|
-
ticketAvailabilityChanges: "Ticket availability changes",
|
|
548
|
-
continueWithAvailable: "Continue with available",
|
|
549
|
-
cartExpiredTitle: "Your cart has expired",
|
|
550
|
-
cartExpiredMessage: "Your cart has expired. Please start your purchase again",
|
|
551
|
-
startOver: "Start over",
|
|
552
|
-
noCheckoutSession: "No checkout session found. Please select tickets first",
|
|
553
|
-
failedToCreatePaymentIntent: "Failed to create payment intent. Please try again",
|
|
554
|
-
paymentConfigError: "Payment configuration error. Please try again",
|
|
555
|
-
failedToInitPayment: "Failed to initialize payment. Please try again",
|
|
556
|
-
paymentFormNotReady: "Payment form is not ready. Please wait a moment and try again",
|
|
557
|
-
paymentSystemNotInitialized: "Payment system is not initialized. Please refresh the page",
|
|
558
|
-
paymentAmountMismatch: "Payment amount mismatch. Please refresh and try again",
|
|
559
|
-
paymentValidationFailed: "Payment validation failed. Please try again",
|
|
560
|
-
promoCodeNotApplied: "We couldn't apply promo code {code}. It isn't included in this total — go back to re-enter it, or continue at the full price",
|
|
561
|
-
paymentReinitializing: "Updating your total. Please wait a moment and try again",
|
|
562
|
-
cardInsufficientFundsTitle: "Insufficient funds",
|
|
563
|
-
cardInsufficientFundsMessage: "Your card has insufficient funds to complete this purchase",
|
|
564
|
-
cardInsufficientFundsSuggestion: "Please try a different payment method or contact your bank",
|
|
565
|
-
cardUnusableTitle: "Card cannot be used",
|
|
566
|
-
cardUnusableMessage: "This card cannot be used for this transaction",
|
|
567
|
-
cardUnusableSuggestion: "Please use a different payment method",
|
|
568
|
-
cardExpiredTitle: "Card expired",
|
|
569
|
-
cardExpiredMessage: "Your card has expired",
|
|
570
|
-
cardExpiredSuggestion: "Please use a different card or update your card details",
|
|
571
|
-
cardDeclinedTitle: "Card declined",
|
|
572
|
-
cardDeclinedMessage: "Your card was declined by your bank",
|
|
573
|
-
cardDeclinedSuggestion: "Please try a different card or contact your bank for more information",
|
|
574
|
-
paymentConnectionErrorMessage: "We couldn't connect to the payment server",
|
|
575
|
-
paymentConnectionErrorSuggestion: "Please check your internet connection and try again",
|
|
576
|
-
tooManyAttemptsTitle: "Too many attempts",
|
|
577
|
-
tooManyAttemptsMessage: "Too many payment attempts. Please wait a moment",
|
|
578
|
-
tooManyAttemptsSuggestion: "Wait 30 seconds before trying again",
|
|
579
|
-
invalidCardNumberTitle: "Invalid card number",
|
|
580
|
-
invalidCardNumberMessage: "The card number you entered is invalid",
|
|
581
|
-
invalidCardNumberSuggestion: "Please check your card number and try again",
|
|
582
|
-
invalidCvcTitle: "Invalid security code",
|
|
583
|
-
invalidCvcMessage: "The security code (CVC) is incorrect",
|
|
584
|
-
invalidCvcSuggestion: "Please check the 3-digit code on the back of your card",
|
|
585
|
-
invalidExpiryTitle: "Invalid expiration date",
|
|
586
|
-
invalidExpiryMessage: "The expiration date is invalid",
|
|
587
|
-
invalidExpirySuggestion: "Please check your card's expiration date",
|
|
588
|
-
paymentFailedTitle: "Payment failed",
|
|
589
|
-
paymentFailedMessage: "Something went wrong with your payment",
|
|
590
|
-
paymentFailedSuggestion: "Please try again or use a different payment method",
|
|
591
|
-
timeLeft: "Time left",
|
|
592
|
-
reservationHeld: "Reservation held",
|
|
593
|
-
completeSoon: "Complete soon",
|
|
594
|
-
sessionExpiringSoon: "Session expiring soon",
|
|
595
|
-
sessionExpireMessage: "Your session will expire in",
|
|
596
|
-
sessionExtendQuestion: "Would you like to extend your time to complete your purchase?",
|
|
597
|
-
sessionExtendButton: "Extend time (+5 min)",
|
|
598
|
-
sessionNoThanks: "No thanks",
|
|
599
|
-
sessionExtendAria: "Extend session by 5 minutes",
|
|
600
|
-
sessionDismissAria: "Dismiss and continue without extending",
|
|
601
|
-
sessionExpiringSoonMessage: "Your checkout session will expire in {time}. Your selected tickets will be released back to inventory",
|
|
602
|
-
extensionsRemaining: "Extensions remaining: {count}",
|
|
603
|
-
continueCheckout: "Continue checkout",
|
|
604
|
-
okIllHurry: "OK, I'll hurry",
|
|
605
|
-
maxExtensionsReached: "Maximum extensions reached",
|
|
606
|
-
sessionExpired: "Session expired",
|
|
607
|
-
sessionExpiredMessage: "Your checkout session has expired and your selected tickets have been released",
|
|
608
|
-
selectTicketsAgain: "Select tickets again",
|
|
609
|
-
selectTicketsLabel: "Select tickets",
|
|
610
|
-
orderNotFound: "Order not found",
|
|
611
|
-
orderNotFoundMessage: "We couldn't find your order. This may happen if your session expired or if you navigated here directly. Please select your tickets again",
|
|
612
|
-
noEventIdProvided: "No event ID provided",
|
|
613
|
-
failedToLoadEvent: "Failed to load event",
|
|
614
|
-
failedToLoadTickets: "Failed to load tickets",
|
|
615
|
-
noCollectionIdProvided: "No collection ID provided",
|
|
616
|
-
failedToLoadCollection: "Failed to load collection",
|
|
617
|
-
failedToCompleteOrder: "Failed to complete order. Please try again",
|
|
618
|
-
viewOrderDetails: "View order details",
|
|
619
|
-
partialAvailabilityContinue: "Would you like to continue with the available tickets?",
|
|
620
|
-
allTicketsSoldOut: "Unfortunately, all the tickets you selected have sold out",
|
|
621
|
-
failedToLoadEventData: "Failed to load event data",
|
|
622
|
-
ticketFallbackName: "Ticket",
|
|
623
|
-
paymentNotConfirmedTitle: "Payment not confirmed",
|
|
624
|
-
paymentNotConfirmedMessage: "We couldn't confirm this payment yet. If it completes, a confirmation email will arrive shortly — please don't try again until then",
|
|
625
|
-
paymentNotCompletedTitle: "Payment wasn't completed",
|
|
626
|
-
paymentNotCompletedMessage: "The payment didn't go through, so no tickets were issued. You can head back to the event and try again",
|
|
627
|
-
backToEvent: "Back to event",
|
|
628
|
-
ariaEventBooking: "Event booking",
|
|
629
|
-
ariaGetTickets: "Get tickets",
|
|
630
|
-
ariaItemTotal: "Item total",
|
|
631
|
-
ariaCloseAndReturn: "Close and return to home",
|
|
632
|
-
ariaEventDateTime: "Event date and time",
|
|
633
|
-
ariaOrderTotal: "Order total: {total}",
|
|
634
|
-
giftCardRecipientInfo: "Recipient information",
|
|
635
|
-
giftCardRecipientName: "Recipient name",
|
|
636
|
-
giftCardRecipientNamePlaceholder: "Enter recipient's name",
|
|
637
|
-
giftCardRecipientNameRequired: "Recipient name is required",
|
|
638
|
-
giftCardRecipientEmail: "Recipient email",
|
|
639
|
-
giftCardRecipientEmailPlaceholder: "Enter recipient's email",
|
|
640
|
-
giftCardRecipientEmailRequired: "Recipient email is required",
|
|
641
|
-
giftCardInvalidEmail: "Please enter a valid email address",
|
|
642
|
-
giftCardPersonalMessage: "Personal message",
|
|
643
|
-
giftCardOptional: "(optional)",
|
|
644
|
-
giftCardMessagePlaceholder: "Write a personal message to include with the gift card...",
|
|
645
|
-
giftCardCharsRemaining: "characters remaining",
|
|
646
|
-
giftCardSelectAmount: "Select amount",
|
|
647
|
-
giftCardCustom: "Custom",
|
|
648
|
-
giftCardCustomAmountAria: "Custom amount",
|
|
649
|
-
giftCardAmountHelp: "Enter amount between $1.00 and $500.00",
|
|
650
|
-
giftCardInvalidAmount: "Please enter a valid amount",
|
|
651
|
-
giftCardMinAmount: "Minimum amount is $1.00",
|
|
652
|
-
giftCardMaxAmount: "Maximum amount is $500.00",
|
|
653
|
-
giftCardDeliveryOptions: "Delivery options",
|
|
654
|
-
giftCardSendImmediately: "Send immediately",
|
|
655
|
-
giftCardSendImmediatelyDesc: "Gift card will be sent right after purchase",
|
|
656
|
-
giftCardScheduleForLater: "Schedule for later",
|
|
657
|
-
giftCardScheduleDesc: "Choose a specific date and time",
|
|
658
|
-
giftCardDeliveryDate: "Delivery date",
|
|
659
|
-
giftCardDeliveryTime: "Delivery time",
|
|
660
|
-
giftCardDeliveryDateMax: "Delivery can be scheduled up to 1 year ahead",
|
|
661
|
-
giftCardScheduledFor: "Scheduled for:",
|
|
662
|
-
locale: "en-US",
|
|
663
|
-
ticketAriaLabel: "{title} ticket",
|
|
664
|
-
ticketSoldOutSuffix: ", sold out",
|
|
665
|
-
ticketSalesNotStartedSuffix: ", sales not yet started",
|
|
666
|
-
ticketSalesEndedSuffix: ", sales ended",
|
|
667
|
-
discountedPriceLabel: "Discounted price",
|
|
668
|
-
priceLabel: "Price",
|
|
669
|
-
statusLabel: "Status:",
|
|
670
|
-
checkoutFormLabel: "Checkout form",
|
|
671
|
-
loadingContent: "Loading content",
|
|
672
|
-
loadingTicketInfo: "Loading ticket information",
|
|
673
|
-
loadingOrderSummary: "Loading order summary",
|
|
674
|
-
close: "Close",
|
|
675
|
-
selectShowtimeFor: "Select showtime for {name}",
|
|
676
|
-
viewShowtimes: "View showtimes",
|
|
677
|
-
pickAShowtime: "Pick a showtime",
|
|
678
|
-
checkBackSoon: "Check back soon for new shows",
|
|
679
|
-
nUpcomingDates: "{n} upcoming dates",
|
|
680
|
-
nMore: "{n} more",
|
|
681
|
-
nShows: "{n} shows",
|
|
682
|
-
previousSlide: "Previous slide",
|
|
683
|
-
nextSlide: "Next slide",
|
|
684
|
-
goToSlide: "Go to slide {n}",
|
|
685
|
-
eventCarousel: "Event carousel",
|
|
686
|
-
hasEvents: "Has events",
|
|
687
|
-
viewMode: "View mode",
|
|
688
|
-
goToCurrentMonth: "Go to current month",
|
|
689
|
-
nShowtimes: "{n} showtimes"
|
|
690
|
-
}, W = /* @__PURE__ */ new Map(), G = 64;
|
|
691
|
-
function ce(e, t) {
|
|
692
|
-
let n = `${e}|${JSON.stringify(t)}`, r = W.get(n);
|
|
693
|
-
return r ? (W.delete(n), W.set(n, r), r) : (r = new Intl.DateTimeFormat(e, t), W.set(n, r), W.size > G && W.delete(W.keys().next().value), r);
|
|
694
|
-
}
|
|
695
|
-
function K(e) {
|
|
696
|
-
if (e == null) return null;
|
|
697
|
-
let t = Number(e);
|
|
698
|
-
return Number.isFinite(t) ? t : null;
|
|
699
|
-
}
|
|
700
|
-
function q(e) {
|
|
701
|
-
let t = K(e?.price);
|
|
702
|
-
return t === null ? null : t === 0 ? 0 : I(t + (K(e?.fee) ?? 0));
|
|
703
|
-
}
|
|
704
|
-
function le(e, t = U) {
|
|
705
|
-
return J(q(e), t);
|
|
706
|
-
}
|
|
707
|
-
function ue(e) {
|
|
708
|
-
return L(e, {
|
|
709
|
-
minimumFractionDigits: Number.isInteger(e) ? 0 : 2,
|
|
710
|
-
maximumFractionDigits: 2
|
|
711
|
-
});
|
|
712
|
-
}
|
|
713
|
-
function J(e, t = U) {
|
|
714
|
-
return e == null ? "—" : e <= 0 ? t.free || "Free" : L(e);
|
|
715
|
-
}
|
|
716
|
-
function Y(e) {
|
|
717
|
-
if (e == null || e === "" || typeof e != "string" && typeof e != "number" && !(e instanceof Date)) return null;
|
|
718
|
-
let t = new Date(e);
|
|
719
|
-
return isNaN(t.getTime()) ? null : t;
|
|
720
|
-
}
|
|
721
|
-
function X(e, t, n, r) {
|
|
722
|
-
let a = Y(e);
|
|
723
|
-
if (!a) return "";
|
|
724
|
-
let o = s(t) ? t : i;
|
|
725
|
-
return ce(r || "en-US", {
|
|
726
|
-
...n,
|
|
727
|
-
timeZone: o
|
|
728
|
-
}).format(a);
|
|
729
|
-
}
|
|
730
|
-
function de(e, t) {
|
|
731
|
-
return X(e, t, {
|
|
732
|
-
year: "numeric",
|
|
733
|
-
month: "2-digit",
|
|
734
|
-
day: "2-digit"
|
|
735
|
-
}, "en-CA");
|
|
736
|
-
}
|
|
737
|
-
function Z(e, t, n) {
|
|
738
|
-
return X(e, t, {
|
|
739
|
-
hour: "numeric",
|
|
740
|
-
minute: "2-digit",
|
|
741
|
-
hour12: !0
|
|
742
|
-
}, n);
|
|
743
|
-
}
|
|
744
|
-
function fe(e, t, n, r) {
|
|
745
|
-
let i = Z(e, n, r);
|
|
746
|
-
if (!t) return i;
|
|
747
|
-
let a = Z(t, n, r);
|
|
748
|
-
return i && a ? `${i} - ${a}` : i;
|
|
749
|
-
}
|
|
750
|
-
function pe(e, t, n) {
|
|
751
|
-
if (!Y(e)) return {
|
|
752
|
-
day: "",
|
|
753
|
-
month: "",
|
|
754
|
-
date: 0,
|
|
755
|
-
year: 0
|
|
756
|
-
};
|
|
757
|
-
let r = s(t) ? t : i;
|
|
758
|
-
return {
|
|
759
|
-
day: X(e, r, { weekday: "short" }, n),
|
|
760
|
-
month: X(e, r, { month: "short" }, n),
|
|
761
|
-
date: parseInt(X(e, r, { day: "numeric" }, "en-US"), 10),
|
|
762
|
-
year: parseInt(X(e, r, { year: "numeric" }, "en-US"), 10)
|
|
763
|
-
};
|
|
764
|
-
}
|
|
765
|
-
function me(e, t, n) {
|
|
766
|
-
return X(e, t, {
|
|
767
|
-
weekday: "short",
|
|
768
|
-
month: "short",
|
|
769
|
-
day: "numeric"
|
|
770
|
-
}, n);
|
|
771
|
-
}
|
|
772
|
-
function he(e, t, n) {
|
|
773
|
-
return X(e, t, {
|
|
774
|
-
weekday: "long",
|
|
775
|
-
year: "numeric",
|
|
776
|
-
month: "long",
|
|
777
|
-
day: "numeric"
|
|
778
|
-
}, n);
|
|
779
|
-
}
|
|
780
|
-
function ge(e, t, n) {
|
|
781
|
-
return X(e, t, {
|
|
782
|
-
weekday: "long",
|
|
783
|
-
month: "long",
|
|
784
|
-
day: "numeric"
|
|
785
|
-
}, n);
|
|
786
|
-
}
|
|
787
|
-
function _e(e, t, n) {
|
|
788
|
-
return X(e, t, {
|
|
789
|
-
month: "short",
|
|
790
|
-
day: "numeric",
|
|
791
|
-
hour: "numeric",
|
|
792
|
-
minute: "2-digit",
|
|
793
|
-
hour12: !0
|
|
794
|
-
}, n);
|
|
795
|
-
}
|
|
796
|
-
function ve(e, t, n) {
|
|
797
|
-
return e == null || e === "" ? "" : typeof e == "string" && /^\d{1,2}:\d{2}\s*(AM|PM)$/i.test(e) ? e : Z(e, t, n) || (typeof e == "string" ? e : "");
|
|
798
|
-
}
|
|
799
|
-
//#endregion
|
|
800
|
-
//#region src/lib/constants/scarcity.ts
|
|
801
|
-
var Q = {
|
|
802
|
-
URGENT_PCT: 10,
|
|
803
|
-
LOW_PCT: 20,
|
|
804
|
-
MAX_EXACT_COUNT: 20,
|
|
805
|
-
ABSOLUTE_FLOOR: 5,
|
|
806
|
-
ABSOLUTE_CAP: 30
|
|
807
|
-
};
|
|
808
|
-
function $(e, t) {
|
|
809
|
-
let { ABSOLUTE_FLOOR: n, ABSOLUTE_CAP: r } = Q, i = r / t * 100, a = n / t * 100;
|
|
810
|
-
return Math.max(Math.min(e, i), a);
|
|
811
|
-
}
|
|
812
|
-
function ye(e, t) {
|
|
813
|
-
if (t <= 0) return "plenty";
|
|
814
|
-
if (e <= 0) return "sold-out";
|
|
815
|
-
let n = e / t * 100, { URGENT_PCT: r, LOW_PCT: i, MAX_EXACT_COUNT: a } = Q, o = $(r, t), s = $(i, t);
|
|
816
|
-
return n <= o && e <= a ? "urgent" : n <= s ? "low" : "plenty";
|
|
817
|
-
}
|
|
818
|
-
//#endregion
|
|
819
|
-
//#region src/lib/utils/constants.js
|
|
820
|
-
var be = "/placeholder-event.svg";
|
|
821
|
-
//#endregion
|
|
822
|
-
export { k as A, ee as B, L as C, H as D, z as E, M as F, te as G, A as H, re as I, h as J, v as K, j as L, ne as M, D as N, I as O, N as P, C as R, V as S, B as T, S as U, E as V, T as W, le as _, de as a, ae as b, X as c, he as d, fe as f, J as g, ue as h, me as i, F as j, O as k, _e as l, K as m, Q as n, ve as o, pe as p, m as q, ye as r, ge as s, be as t, Z as u, q as v, ie as w, oe as x, U as y, w as z };
|