@getmicdrop/venue-calendar 4.3.48 → 4.3.50
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 +818 -818
- package/dist/{CartView-CVKiyVOl.js → CartView-CqEvLqcY.js} +26 -26
- package/dist/{Checkout-CylGX5N6.js → Checkout-kqd7pwt8.js} +5 -5
- package/dist/{Checkout-BIau3rG4.js → Checkout-xNDWtRm4.js} +7 -7
- package/dist/{CheckoutTimer-DZ6F5dzh.js → CheckoutTimer-B5TjKUG4.js} +1 -1
- package/dist/{CollectionView-CX0yBblS.js → CollectionView-CiXDrCP-.js} +3 -3
- package/dist/{Event-CfiMQha6.js → Event-BQxHv-o0.js} +4 -4
- package/dist/{EventPage-Di0OwjvJ.js → EventPage-i0e9Ips0.js} +4 -4
- package/dist/{RecommendationsRail-VEK_pMvu.js → RecommendationsRail-tD2S6OIO.js} +18 -18
- package/dist/{SeriesPage-Cvqg0DwI.js → SeriesPage-B8GyXngM.js} +2 -2
- package/dist/{Success-D1Y2shCA.js → Success-C2GgrwlB.js} +6 -6
- package/dist/{ViewTicketsEmbed-DEOXlEri.js → ViewTicketsEmbed-cn4JCf10.js} +122 -126
- package/dist/api/api.cjs +1 -1
- package/dist/api/api.mjs +0 -2
- package/dist/api/checkout-availability.d.ts +4 -1
- package/dist/api/gate-password-cache.d.ts +4 -3
- package/dist/api/gift-cards.d.ts +1 -0
- package/dist/api/route-manifest.d.ts +21 -4
- package/dist/api/transformers/collection.d.ts +0 -5
- package/dist/api/transformers/event.d.ts +0 -1
- package/dist/api/transformers/index.d.ts +14 -18
- package/dist/api/transformers/series.d.ts +0 -5
- package/dist/api/transformers/venue.d.ts +1 -0
- package/dist/api/types.d.ts +16 -1
- package/dist/{api-BqDkZFK5.js → api-Dvs4Mzxe.js} +116 -219
- package/dist/{constants-MMSOmBOv.js → constants-CJyMUKEX.js} +3 -45
- package/dist/{event-transform-CJLXVtwq.js → event-transform-Cvr7dDpq.js} +158 -55
- package/dist/{i18n-CbpdmhA9.js → i18n-DMOn4Sr8.js} +2 -2
- package/dist/{showcase-state-options-DxMKyehO.js → showcase-state-options-Da1QiMDF.js} +3 -49
- package/dist/types/index.d.ts +575 -575
- package/dist/{utils-CBt88H2f.js → utils-CJ3W3Iul.js} +1 -1
- package/dist/venue-calendar.css +1 -1
- package/dist/venue-calendar.es.js +1016 -1016
- package/dist/venue-calendar.iife.js +56 -56
- package/dist/venue-calendar.umd.js +50 -50
- package/package.json +220 -220
- package/src/lib/theme.js +222 -222
- /package/dist/locales/{4.3.48 → 4.3.50}/flow/de.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.50}/flow/es.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.50}/flow/fr.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.50}/flow/id.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.50}/flow/it.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.50}/flow/ja.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.50}/flow/ko.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.50}/flow/nl.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.50}/flow/pl.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.50}/flow/pt-br.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.50}/flow/tr.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.50}/flow/zh.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.50}/main/de.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.50}/main/es.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.50}/main/fr.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.50}/main/id.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.50}/main/it.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.50}/main/ja.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.50}/main/ko.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.50}/main/nl.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.50}/main/pl.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.50}/main/pt-br.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.50}/main/tr.js +0 -0
- /package/dist/locales/{4.3.48 → 4.3.50}/main/zh.js +0 -0
|
@@ -14,13 +14,13 @@ import { t as K } from "./LiveRegion-D9Me4kBs.js";
|
|
|
14
14
|
import { t as q } from "./Modal-DZ8fudB4.js";
|
|
15
15
|
import { t as J } from "./Spinner-D8dOJe6O.js";
|
|
16
16
|
import { t as se } from "./modalManager.svelte-Cz_6x1Qd.js";
|
|
17
|
-
import { A as ce, C as le,
|
|
18
|
-
import { t as he } from "./event-transform-
|
|
17
|
+
import { A as ce, C as le, P as ue, S as de, j as fe, x as pe, y as me } from "./api-Dvs4Mzxe.js";
|
|
18
|
+
import { t as he } from "./event-transform-Cvr7dDpq.js";
|
|
19
19
|
import { t as ge } from "./__SKIP_PATHS__-C0ixDSSm.js";
|
|
20
|
-
import { C as Y, S as X, _ as _e, b as ve, d as ye, f as be, g as xe, i as Se, l as Ce, m as we, t as Te, u as Ee, v as De, w as Oe } from "./utils-
|
|
21
|
-
import {
|
|
22
|
-
import { n as Pe, t as Fe } from "./
|
|
23
|
-
import { t as Ie } from "./constants-
|
|
20
|
+
import { C as Y, S as X, _ as _e, b as ve, d as ye, f as be, g as xe, i as Se, l as Ce, m as we, t as Te, u as Ee, v as De, w as Oe } from "./utils-CJ3W3Iul.js";
|
|
21
|
+
import { n as ke, t as Ae } from "./CheckoutTimer-B5TjKUG4.js";
|
|
22
|
+
import { a as je, i as Me, n as Ne, r as Pe, t as Fe } from "./promo-CpP1Qjsg.js";
|
|
23
|
+
import { t as Ie } from "./constants-CJyMUKEX.js";
|
|
24
24
|
import "svelte/internal/disclose-version";
|
|
25
25
|
import * as Z from "svelte/internal/client";
|
|
26
26
|
import { SvelteURLSearchParams as Le } from "svelte/reactivity";
|
|
@@ -992,7 +992,7 @@ function At(t, n) {
|
|
|
992
992
|
var w = Z.sibling(y, 2), T = Z.child(w), E = (e) => {
|
|
993
993
|
var t = Z.comment(), r = Z.first_child(t);
|
|
994
994
|
Z.each(r, 17, _, (e) => e.ID, (e, t) => {
|
|
995
|
-
let r = Z.derived(() => Z.get(t).visibility >=
|
|
995
|
+
let r = Z.derived(() => Z.get(t).visibility >= ue.HIDDEN && s() || c().includes(Z.get(t).ID)), i = Z.derived(() => Ne(l()?.discountTicketIds, Z.get(t).ID)), g = Z.derived(() => parseFloat(Z.get(t).price) || 0), _ = Z.derived(() => Fe(l()?.discountType)), v = Z.derived(() => l()?.provideDiscount && Z.get(i) && Z.get(_) ? je(Z.get(g), parseFloat(l().amount == null ? "0" : l().amount) || 0, l().discountType) : 0), y = Z.derived(() => Z.get(v) > 0), b = Z.derived(() => Z.get(y) ? x(I(L(Z.get(g)), L(Z.get(v)))) : null), S = Z.derived(() => m(Z.get(t))), C = Z.derived(() => h(Z.get(t))), w = Z.derived(() => Z.get(t).minQuantity ?? 1), T = Z.derived(() => Z.get(t).remainingCapacity), E = Z.derived(() => Z.get(t).soldOut || Z.get(T) !== null && Z.get(T) !== void 0 && Z.get(w) > Z.get(T)), D = Z.derived(() => Z.get(t).type ?? 0);
|
|
996
996
|
Z.derived(() => Z.get(D) === 2);
|
|
997
997
|
{
|
|
998
998
|
let i = Z.derived(() => a()[Z.get(t).ID] ?? 0), s = Z.derived(() => Z.get(t).totalCapacity ?? Z.get(t).quantity ?? Z.get(t).remainingCapacity), c = Z.derived(() => Z.get(t).minQuantity ?? 1), l = Z.derived(() => Z.get(t).maxQuantity ?? null), m = Z.derived(() => o()[Z.get(t).ID] ?? "");
|
|
@@ -1108,10 +1108,10 @@ function It(e, t) {
|
|
|
1108
1108
|
}
|
|
1109
1109
|
Z.set(u, !0);
|
|
1110
1110
|
try {
|
|
1111
|
-
let e = await
|
|
1111
|
+
let e = await fe(n(), s);
|
|
1112
1112
|
if (e.valid) {
|
|
1113
1113
|
Z.set(l, !0);
|
|
1114
|
-
let i = 0, a =
|
|
1114
|
+
let i = 0, a = Pe(e), o = [];
|
|
1115
1115
|
if (e.revealHiddenTickets && o.push(r().hiddenTicketsVisible || "Hidden tickets are now visible"), e.provideDiscount) {
|
|
1116
1116
|
let t = parseFloat(String(e.amount == null ? "0" : e.amount)), n = Number.isFinite(t) ? t : 0;
|
|
1117
1117
|
i = n, e.discountType === "fixed" ? o.push((r().dollarDiscountAvailable || "A {amount} discount is available").replace("{amount}", C(ee(n)))) : e.discountType === "percentage" && o.push((r().percentDiscountAvailable || "A {amount}% discount is available").replace("{amount}", String(n)));
|
|
@@ -1393,21 +1393,21 @@ function Ht(e, t) {
|
|
|
1393
1393
|
var $ = t("CartView"), Ut = Z.from_html("<p class=\"tone-secondary\"> </p>"), Wt = Z.from_html("<p class=\"text-accent-danger mb-6\"> </p> <!>", 1), Gt = Z.from_html("<p> </p> <p class=\"tone-secondary mb-6\"> </p> <!>", 1), Kt = Z.from_html("<div class=\"px-4 md:px-5 pt-3\"><!></div>"), qt = Z.from_html("<p class=\"text-accent-danger body-sm\"> </p>"), Jt = Z.from_html("<p class=\"tone-secondary body-sm\"> </p>"), Yt = Z.from_html("<!> <!>", 1), Xt = Z.from_html("<div class=\"hidden md:block w-80 h-[calc(100vh-40px)]\"></div>"), Zt = Z.from_html("<div class=\"w-full flex md:gap-5 flex-wrap\"><div class=\"flex-1 pb-16 md:pb-0\"><div class=\"bg-card border-border rounded-lg md:shadow md:border py-3\"><!> <!> <!> <!> <div class=\"space-y-4 md:px-5\"><!></div></div></div> <!> <div><!></div></div>"), Qt = Z.from_html("<h3 id=\"error-modal-title\" class=\"heading-lg\"><!></h3>"), $t = Z.from_html("<p class=\"body-sm\"> </p> <p class=\"tone-secondary mt-2\"> </p>", 1), en = Z.from_html("<div id=\"error-modal-description\"><!></div>"), tn = Z.from_html("<div role=\"group\"><!></div>"), nn = Z.from_html("<h3 id=\"expired-modal-title\" class=\"heading-lg\"> </h3>"), rn = Z.from_html("<p id=\"expired-modal-description\" class=\"body-sm tone-secondary\"> </p>"), an = Z.from_html("<h3 id=\"availability-modal-title\" class=\"heading-lg\"> </h3>"), on = Z.from_html("<li class=\"tone-secondary type-body\"><span class=\"type-label\"> </span> <!></li>"), sn = Z.from_html("<p class=\"tone-secondary mt-4\"> </p>"), cn = Z.from_html("<div id=\"availability-modal-description\"><p class=\"tone-secondary mb-4\"> </p> <ul class=\"space-y-2\"></ul> <!></div>"), ln = Z.from_html("<div role=\"group\"><!> <!></div>"), un = Z.from_html("<div class=\"px-5 md:px-10 py-12 bg-card\"><!></div> <!> <!> <!>", 1);
|
|
1394
1394
|
function dn(t, r) {
|
|
1395
1395
|
Z.push(r, !0);
|
|
1396
|
-
let i = Z.prop(r, "organizationId", 3, ""), a = Z.prop(r, "venueId", 3, ""), o = Z.prop(r, "initialEventData", 3, null), s = Z.prop(r, "labels", 19, () => ({})), l = Z.prop(r, "locale", 3, void 0), u = Z.derived(() => n(H, s())), d = Z.state(!1), f = Z.state(null), p = Z.state(null), m = Z.state(Z.proxy([])), h = Z.state(!1), g = Z.state(!0), _ = Z.state(null), v = Z.state(!1), y = Z.state(!1), b = Z.state(!1), x = Z.state(0), S = Z.state(void 0), w = Z.state(void 0), T = Z.state(Z.proxy({})), E = Z.state(Z.proxy({})), O = Z.state(""), k = Z.state(""), A = Z.state(0), j = Z.state(""), M = Z.state(Z.proxy([])), N = Z.state(!1), P = Z.state(0), F = Z.state(!1), I = null, L = null, R = null, z = se(), V = se(), U = Z.state("cart_failed"), ne = Z.state(!1), G = se(), J = Z.state(Z.proxy([])),
|
|
1397
|
-
function
|
|
1396
|
+
let i = Z.prop(r, "organizationId", 3, ""), a = Z.prop(r, "venueId", 3, ""), o = Z.prop(r, "initialEventData", 3, null), s = Z.prop(r, "labels", 19, () => ({})), l = Z.prop(r, "locale", 3, void 0), u = Z.derived(() => n(H, s())), d = Z.state(!1), f = Z.state(null), p = Z.state(null), m = Z.state(Z.proxy([])), h = Z.state(!1), g = Z.state(!0), _ = Z.state(null), v = Z.state(!1), y = Z.state(!1), b = Z.state(!1), x = Z.state(0), S = Z.state(void 0), w = Z.state(void 0), T = Z.state(Z.proxy({})), E = Z.state(Z.proxy({})), O = Z.state(""), k = Z.state(""), A = Z.state(0), j = Z.state(""), M = Z.state(Z.proxy([])), N = Z.state(!1), P = Z.state(0), F = Z.state(!1), I = null, L = null, R = null, z = se(), V = se(), U = Z.state("cart_failed"), ne = Z.state(!1), G = se(), J = Z.state(Z.proxy([])), ue = Z.state(0), fe = Z.state(0);
|
|
1397
|
+
function je(e) {
|
|
1398
1398
|
return Z.get(f)?.availableTickets?.find((t) => t.ID == e || t.id == e);
|
|
1399
1399
|
}
|
|
1400
|
-
function
|
|
1400
|
+
function Pe(e) {
|
|
1401
1401
|
return (e?.type ?? 0) === 2;
|
|
1402
1402
|
}
|
|
1403
|
-
function
|
|
1403
|
+
function Fe(e) {
|
|
1404
1404
|
let t = parseFloat(Z.get(E)[e]);
|
|
1405
1405
|
return Number.isFinite(t) && t > 0 ? t : 0;
|
|
1406
1406
|
}
|
|
1407
|
-
let Ie = Z.derived(() => Z.get(f)?.availableTickets?.filter((e) => e.visibility === 0)?.every((e) => e.price === 0 && !
|
|
1408
|
-
let r =
|
|
1407
|
+
let Ie = Z.derived(() => Z.get(f)?.availableTickets?.filter((e) => e.visibility === 0)?.every((e) => e.price === 0 && !Pe(e))), Be = Z.derived(() => Z.get(Ie) ? 0 : c(Object.entries(Z.get(T)).reduce((e, [t, n]) => {
|
|
1408
|
+
let r = je(t);
|
|
1409
1409
|
if (!r) return e;
|
|
1410
|
-
let i =
|
|
1410
|
+
let i = Pe(r) ? Fe(t) : r.price;
|
|
1411
1411
|
return e + c(n * i);
|
|
1412
1412
|
}, 0))), Ve = Z.state(0), He = Z.state(0), Ue = Z.state(null), We = Z.state(!1), Ge = null;
|
|
1413
1413
|
Z.derived(() => c(Z.get(Be) + 0 + Z.get(Ve)));
|
|
@@ -1418,7 +1418,7 @@ function dn(t, r) {
|
|
|
1418
1418
|
unitPrice: n && parseFloat(n.price) || 0,
|
|
1419
1419
|
quantity: t
|
|
1420
1420
|
};
|
|
1421
|
-
}).filter((e) =>
|
|
1421
|
+
}).filter((e) => Ne(Z.get(M), e.id))), qe = Z.derived(() => c(Z.get(Ke).reduce((e, t) => e + c(t.quantity * t.unitPrice), 0))), Je = Z.derived(() => Me(Z.get(Ke).map(({ unitPrice: e, quantity: t }) => ({
|
|
1422
1422
|
unitPrice: e,
|
|
1423
1423
|
quantity: t
|
|
1424
1424
|
})), Z.get(qe), Z.get(A), Z.get(j))), Ye = Z.derived(() => Z.get(A) > 0 ? {
|
|
@@ -1439,7 +1439,7 @@ function dn(t, r) {
|
|
|
1439
1439
|
let e = {};
|
|
1440
1440
|
for (let [t, n] of Object.entries(Z.get(T))) {
|
|
1441
1441
|
if (n <= 0) continue;
|
|
1442
|
-
let r =
|
|
1442
|
+
let r = Fe(t);
|
|
1443
1443
|
r > 0 && (e[t] = r);
|
|
1444
1444
|
}
|
|
1445
1445
|
return e;
|
|
@@ -1519,10 +1519,10 @@ function dn(t, r) {
|
|
|
1519
1519
|
return Number.isFinite(t) ? t : 0;
|
|
1520
1520
|
});
|
|
1521
1521
|
if (e.length === 0) {
|
|
1522
|
-
Z.set(
|
|
1522
|
+
Z.set(ue, Z.set(fe, 0), !0);
|
|
1523
1523
|
return;
|
|
1524
1524
|
}
|
|
1525
|
-
Z.set(
|
|
1525
|
+
Z.set(ue, C(ee(Math.min(...e))), !0), Z.set(fe, C(ee(Math.max(...e))), !0);
|
|
1526
1526
|
}
|
|
1527
1527
|
function ct() {
|
|
1528
1528
|
Z.set(He, null), Z.set(Ve, 0), Z.set(Ue, null), Z.set(tt, Z.get(u).priceUnavailable, !0);
|
|
@@ -1579,7 +1579,7 @@ function dn(t, r) {
|
|
|
1579
1579
|
}
|
|
1580
1580
|
async function mt() {
|
|
1581
1581
|
try {
|
|
1582
|
-
let e = await
|
|
1582
|
+
let e = await de(r.eventId), t = [];
|
|
1583
1583
|
for (let [n, r] of Object.entries(Z.get(T))) {
|
|
1584
1584
|
if (r <= 0) continue;
|
|
1585
1585
|
let i = e.find((e) => String(e.id) === String(n));
|
|
@@ -1643,7 +1643,7 @@ function dn(t, r) {
|
|
|
1643
1643
|
}
|
|
1644
1644
|
let e = new Le();
|
|
1645
1645
|
i() && e.set("orgId", i()), a() && e.set("venueId", a()), e.set("event_id", r.eventId), e.set("subroute", "checkout");
|
|
1646
|
-
let t = ge(
|
|
1646
|
+
let t = ge(me(e), {});
|
|
1647
1647
|
D(t, { noScroll: !1 }), Z.set(h, !1);
|
|
1648
1648
|
} catch (e) {
|
|
1649
1649
|
$.error("Navigation failed after cart creation:", e), Z.set(h, !1), Z.set(U, "cart_success_network_error"), V.open();
|
|
@@ -1687,7 +1687,7 @@ function dn(t, r) {
|
|
|
1687
1687
|
else {
|
|
1688
1688
|
let e = new Le(window.location.search);
|
|
1689
1689
|
e.set("subroute", "details");
|
|
1690
|
-
let t = ge(
|
|
1690
|
+
let t = ge(me(e), {});
|
|
1691
1691
|
D(t, { noScroll: !1 });
|
|
1692
1692
|
}
|
|
1693
1693
|
}
|
|
@@ -1759,7 +1759,7 @@ function dn(t, r) {
|
|
|
1759
1759
|
} catch {
|
|
1760
1760
|
return [];
|
|
1761
1761
|
}
|
|
1762
|
-
}), Mt = Z.derived(() =>
|
|
1762
|
+
}), Mt = Z.derived(() => ke(Z.get(f))), Nt = 0;
|
|
1763
1763
|
async function Pt() {
|
|
1764
1764
|
if (!Z.get(v)) return;
|
|
1765
1765
|
let e = ++Nt;
|
|
@@ -1774,7 +1774,7 @@ function dn(t, r) {
|
|
|
1774
1774
|
Z.set(f, he(Z.get(p)), !0), Z.set(m, Z.get(f).availableTickets || [], !0);
|
|
1775
1775
|
} else {
|
|
1776
1776
|
try {
|
|
1777
|
-
let t = await
|
|
1777
|
+
let t = await pe(r.eventId);
|
|
1778
1778
|
if (!Z.get(v) || e !== Nt) return;
|
|
1779
1779
|
Z.set(p, t, !0), Z.set(f, he(Z.get(p)), !0);
|
|
1780
1780
|
} catch (t) {
|
|
@@ -1899,7 +1899,7 @@ function dn(t, r) {
|
|
|
1899
1899
|
var t = Kt(), n = Z.child(t);
|
|
1900
1900
|
{
|
|
1901
1901
|
let e = Z.derived(() => Z.get(P) <= 300);
|
|
1902
|
-
|
|
1902
|
+
Ae(n, {
|
|
1903
1903
|
get seconds() {
|
|
1904
1904
|
return Z.get(P);
|
|
1905
1905
|
},
|
|
@@ -13,12 +13,12 @@ import { t as D } from "./Checkbox-BtJwg_CF.js";
|
|
|
13
13
|
import { t as O } from "./Modal-DZ8fudB4.js";
|
|
14
14
|
import { t as k } from "./Text-CqjLjIF8.js";
|
|
15
15
|
import { t as A } from "./modalManager.svelte-Cz_6x1Qd.js";
|
|
16
|
-
import "./api-
|
|
17
|
-
import { i as j, n as te, t as ne } from "./i18n-
|
|
16
|
+
import "./api-Dvs4Mzxe.js";
|
|
17
|
+
import { i as j, n as te, t as ne } from "./i18n-DMOn4Sr8.js";
|
|
18
18
|
import { t as re } from "./eventStatusStream-CnfHWNfU.js";
|
|
19
|
-
import { n as ie, t as ae } from "./CheckoutTimer-
|
|
20
|
-
import { n as oe, t as se } from "./constants-
|
|
21
|
-
import { a as ce, i as le, o as ue, r as M, s as de, t as fe } from "./showcase-state-options-
|
|
19
|
+
import { n as ie, t as ae } from "./CheckoutTimer-B5TjKUG4.js";
|
|
20
|
+
import { n as oe, t as se } from "./constants-CJyMUKEX.js";
|
|
21
|
+
import { a as ce, i as le, o as ue, r as M, s as de, t as fe } from "./showcase-state-options-Da1QiMDF.js";
|
|
22
22
|
import { n as pe } from "./order-totals-DhMhim7I.js";
|
|
23
23
|
import "svelte/internal/disclose-version";
|
|
24
24
|
import * as N from "svelte/internal/client";
|
|
@@ -9,13 +9,13 @@ import { M as m, b as h, i as g, n as _, t as v, z as y } from "./defaultLabels-
|
|
|
9
9
|
import { U as b, f as x, i as S, n as C, r as ee, s as w, t as T } from "./orders-B7_DrFsF.js";
|
|
10
10
|
import { n as E, t as te } from "./serverTotals-pNSdZn5U.js";
|
|
11
11
|
import { a as D, i as O, n as k, r as A, t as j } from "./ModalFooter-T1gpnywp.js";
|
|
12
|
-
import { c as ne, d as re, k as ie, o as M, s as ae } from "./api-
|
|
13
|
-
import { t as oe } from "./
|
|
14
|
-
import { t as N } from "./
|
|
15
|
-
import { b as se, g as ce, h as le, l as ue, r as de, v as fe } from "./utils-
|
|
12
|
+
import { c as ne, d as re, k as ie, o as M, s as ae } from "./api-Dvs4Mzxe.js";
|
|
13
|
+
import { t as oe } from "./event-transform-Cvr7dDpq.js";
|
|
14
|
+
import { t as N } from "./venue-CBos8YTa.js";
|
|
15
|
+
import { b as se, g as ce, h as le, l as ue, r as de, v as fe } from "./utils-CJ3W3Iul.js";
|
|
16
16
|
import { a as pe, n as me } from "./promo-CpP1Qjsg.js";
|
|
17
17
|
import { r as he } from "./order-totals-DhMhim7I.js";
|
|
18
|
-
import ge, { n as _e, t as ve } from "./Checkout-
|
|
18
|
+
import ge, { n as _e, t as ve } from "./Checkout-kqd7pwt8.js";
|
|
19
19
|
import { n as ye } from "./buyerEmail-BfCq-gDt.js";
|
|
20
20
|
import "svelte/internal/disclose-version";
|
|
21
21
|
import * as P from "svelte/internal/client";
|
|
@@ -458,8 +458,8 @@ function Be(e, t) {
|
|
|
458
458
|
}
|
|
459
459
|
let p = P.derived(() => (t.data || {}).id);
|
|
460
460
|
P.derived(() => (t.data || {}).orgSlug);
|
|
461
|
-
let g = P.derived(() => (t.data || {}).slug), ee = P.derived(() => (t.data || {}).event), D = P.derived(() =>
|
|
462
|
-
...
|
|
461
|
+
let g = P.derived(() => (t.data || {}).slug), ee = P.derived(() => (t.data || {}).event), D = P.derived(() => N(f(P.get(ee)))), O = P.derived(() => P.get(ee) ? {
|
|
462
|
+
...oe(P.get(ee)),
|
|
463
463
|
...P.get(D)
|
|
464
464
|
} : t.data && (t.data.id || P.get(p)) ? {
|
|
465
465
|
id: t.data.id || P.get(p),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./ClockIcon-D9JBjN9o.js";
|
|
2
2
|
import { A as t, g as n, x as r } from "./defaultLabels-BSBaNwtj.js";
|
|
3
3
|
import { t as i } from "./Text-CqjLjIF8.js";
|
|
4
|
-
import { n as a } from "./constants-
|
|
4
|
+
import { n as a } from "./constants-CJyMUKEX.js";
|
|
5
5
|
import "svelte/internal/disclose-version";
|
|
6
6
|
import * as o from "svelte/internal/client";
|
|
7
7
|
//#region src/lib/utils/event-ended.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { E as e } from "./Button-klwKgfhG.js";
|
|
2
|
-
import { t } from "./Event-
|
|
3
|
-
import { i as n } from "./RecommendationsRail-
|
|
2
|
+
import { t } from "./Event-BQxHv-o0.js";
|
|
3
|
+
import { i as n } from "./RecommendationsRail-tD2S6OIO.js";
|
|
4
4
|
import { n as r } from "./ScarcityBadge-B3aj_cj2.js";
|
|
5
5
|
import { i, t as a } from "./defaultLabels-BSBaNwtj.js";
|
|
6
6
|
import { t as o } from "./PasswordInput-CDkeouk0.js";
|
|
7
|
-
import { w as s } from "./api-
|
|
7
|
+
import { w as s } from "./api-Dvs4Mzxe.js";
|
|
8
8
|
import { t as c } from "./__SKIP_PATHS__-C0ixDSSm.js";
|
|
9
9
|
import { i as l, n as u, t as d } from "./gate-password-cache-oOcDm9Ki.js";
|
|
10
10
|
import "svelte/internal/disclose-version";
|
|
@@ -6,7 +6,7 @@ import { K as f, a as p, c as m, g as h, i as g, m as _, o as v, r as y, u as b,
|
|
|
6
6
|
import { t as w } from "./CalendarIcon-DOoS4b_i.js";
|
|
7
7
|
import { a as T, i as E, o as D, r as O, t as k } from "./href-B5fLLW1E.js";
|
|
8
8
|
import { t as A } from "./ClockIcon-D9JBjN9o.js";
|
|
9
|
-
import { n as j, o as M, t as N } from "./RecommendationsRail-
|
|
9
|
+
import { n as j, o as M, t as N } from "./RecommendationsRail-tD2S6OIO.js";
|
|
10
10
|
import { n as P } from "./copyToClipboard-DOMJZVtr.js";
|
|
11
11
|
import { r as F, t as I } from "./ScarcityBadge-B3aj_cj2.js";
|
|
12
12
|
import { d as L, n as R, t as z } from "./z-index-Bo0dqmiq.js";
|
|
@@ -18,10 +18,10 @@ import { n as ce, t as K } from "./liveAnnouncer-D3xVL7qA.js";
|
|
|
18
18
|
import { n as q, t as J } from "./Heading-D6bWtGZA.js";
|
|
19
19
|
import { c as le, i as ue, l as de, s as fe, t as pe } from "./to-event-card-props-C9_64NFb.js";
|
|
20
20
|
import { t as Y } from "./Text-CqjLjIF8.js";
|
|
21
|
-
import { g as me, k as he } from "./api-
|
|
22
|
-
import { a as ge, c as _e, d as ve, f as ye, l as be, n as xe, o as Se, p as X, r as Z, s as Ce, t as we, u as Te } from "./i18n-
|
|
21
|
+
import { g as me, k as he } from "./api-Dvs4Mzxe.js";
|
|
22
|
+
import { a as ge, c as _e, d as ve, f as ye, l as be, n as xe, o as Se, p as X, r as Z, s as Ce, t as we, u as Te } from "./i18n-DMOn4Sr8.js";
|
|
23
23
|
import { n as Ee } from "./promo-CpP1Qjsg.js";
|
|
24
|
-
import { n as De, t as Oe } from "./constants-
|
|
24
|
+
import { n as De, t as Oe } from "./constants-CJyMUKEX.js";
|
|
25
25
|
import { t as ke } from "./order-totals-DhMhim7I.js";
|
|
26
26
|
import "svelte/internal/disclose-version";
|
|
27
27
|
import * as Q from "svelte/internal/client";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { C as e, E as t, O as n, b as r, c as i, t as a } from "./Button-klwKgfhG.js";
|
|
2
|
-
import { t as o } from "./Event-
|
|
2
|
+
import { t as o } from "./Event-BQxHv-o0.js";
|
|
3
3
|
import { n as s, t as c } from "./Input-BXowmV9D.js";
|
|
4
4
|
import { a as l, g as u, h as d, m as f, t as p } from "./createErrorGate.svelte-ynzMl2GO.js";
|
|
5
5
|
import { o as m } from "./href-B5fLLW1E.js";
|
|
6
6
|
import { t as h } from "./ClockIcon-D9JBjN9o.js";
|
|
7
|
-
import { r as g } from "./RecommendationsRail-
|
|
7
|
+
import { r as g } from "./RecommendationsRail-tD2S6OIO.js";
|
|
8
8
|
import { n as _ } from "./ScarcityBadge-B3aj_cj2.js";
|
|
9
9
|
import { I as v, P as y, i as b, t as x } from "./defaultLabels-BSBaNwtj.js";
|
|
10
10
|
import { b as S, d as C, g as w, p as T } from "./orders-B7_DrFsF.js";
|
|
@@ -12,11 +12,11 @@ import { t as E } from "./liveAnnouncer-D3xVL7qA.js";
|
|
|
12
12
|
import { a as D, i as O, n as k, r as A, t as j } from "./ModalFooter-T1gpnywp.js";
|
|
13
13
|
import { t as M } from "./ModalHeader-DkKpWKcG.js";
|
|
14
14
|
import { t as N } from "./modalManager.svelte-Cz_6x1Qd.js";
|
|
15
|
-
import { C as P, S as ee, T as te, _ as ne, a as F, b as I, f as re, i as L, j as ie, m as ae, n as oe, r as R, t as se, x as ce } from "./api-
|
|
15
|
+
import { C as P, S as ee, T as te, _ as ne, a as F, b as I, f as re, i as L, j as ie, m as ae, n as oe, r as R, t as se, x as ce } from "./api-Dvs4Mzxe.js";
|
|
16
16
|
import { t as le } from "./eventStatusStream-CnfHWNfU.js";
|
|
17
17
|
import { t as ue } from "./i18n-CCPr-2JE.js";
|
|
18
18
|
import { t as z } from "./__SKIP_PATHS__-C0ixDSSm.js";
|
|
19
|
-
import { _ as B, a as V, c as H, i as de, o as U, p as W, s as fe, t as pe, x as G, y as K } from "./utils-
|
|
19
|
+
import { _ as B, a as V, c as H, i as de, o as U, p as W, s as fe, t as pe, x as G, y as K } from "./utils-CJ3W3Iul.js";
|
|
20
20
|
import { r as me } from "./promo-CpP1Qjsg.js";
|
|
21
21
|
import { a as he, r as ge } from "./gate-password-cache-oOcDm9Ki.js";
|
|
22
22
|
import "svelte/internal/disclose-version";
|
|
@@ -5,7 +5,7 @@ import { B as l, R as u } from "./orders-B7_DrFsF.js";
|
|
|
5
5
|
import { t as d } from "./Heading-D6bWtGZA.js";
|
|
6
6
|
import { c as f, i as p, s as m, t as h } from "./to-event-card-props-C9_64NFb.js";
|
|
7
7
|
import { n as g } from "./imageUrl-Bata3II2.js";
|
|
8
|
-
import {
|
|
8
|
+
import { P as _ } from "./api-Dvs4Mzxe.js";
|
|
9
9
|
import { t as v } from "./event-CYFedL-k.js";
|
|
10
10
|
import { t as y } from "./venue-CBos8YTa.js";
|
|
11
11
|
import "svelte/internal/disclose-version";
|
|
@@ -87,7 +87,7 @@ function j(e) {
|
|
|
87
87
|
//#endregion
|
|
88
88
|
//#region src/lib/api/transformers/series.ts
|
|
89
89
|
function M(e) {
|
|
90
|
-
let t = e, r = a(e.timeZone ||
|
|
90
|
+
let t = e.seriesId ?? e.id ?? 0, r = e, i = a(e.timeZone || r.timezone || r.time_zone), o = g(e.image || "", { cdn: !0 }), s = (e.occurrences || []).map((e) => {
|
|
91
91
|
let t = e.venue, n = t ? [t.name, t.stageName].filter(Boolean).join(" — ") : "", r = t ? t.googleLocationNameCache || [
|
|
92
92
|
t.address,
|
|
93
93
|
t.city,
|
|
@@ -104,45 +104,45 @@ function M(e) {
|
|
|
104
104
|
...n ? { venueName: n } : {},
|
|
105
105
|
...r ? { venueAddress: r } : {}
|
|
106
106
|
};
|
|
107
|
-
}),
|
|
107
|
+
}), c = e.occurrences?.[0], l = c?.startDateTime ? n(c.startDateTime, i) : "", u = j(e.venue?.faq), d = (e.performers || []).map((e, t) => ({
|
|
108
108
|
id: t + 1,
|
|
109
109
|
displayName: e.displayName || [e.firstName, e.lastName].filter(Boolean).join(" "),
|
|
110
110
|
profileImage: e.profileImage || void 0
|
|
111
|
-
})),
|
|
111
|
+
})), f = e.venue?.location || e.venue?.googleLocationNameCache || "";
|
|
112
112
|
return {
|
|
113
|
-
id:
|
|
113
|
+
id: t,
|
|
114
114
|
title: e.title || "",
|
|
115
115
|
slug: "",
|
|
116
116
|
description: e.description || e.eventSummary || "",
|
|
117
|
-
date:
|
|
118
|
-
startDateTime:
|
|
119
|
-
endDateTime:
|
|
117
|
+
date: l,
|
|
118
|
+
startDateTime: c?.startDateTime || "",
|
|
119
|
+
endDateTime: c?.endDateTime || "",
|
|
120
120
|
doorsOpenTime: "",
|
|
121
|
-
timezone:
|
|
122
|
-
imageUrl:
|
|
121
|
+
timezone: i,
|
|
122
|
+
imageUrl: o,
|
|
123
123
|
venue: {
|
|
124
124
|
id: e.venue?.id || 0,
|
|
125
125
|
name: e.venue?.name || "",
|
|
126
|
-
address:
|
|
127
|
-
timezone:
|
|
126
|
+
address: f,
|
|
127
|
+
timezone: i,
|
|
128
128
|
serviceFeePercentage: 0,
|
|
129
129
|
serviceFeeCents: 0,
|
|
130
130
|
taxPercentage: 0
|
|
131
131
|
},
|
|
132
|
-
performers:
|
|
132
|
+
performers: d,
|
|
133
133
|
tickets: [],
|
|
134
|
-
faqs:
|
|
134
|
+
faqs: u,
|
|
135
135
|
disclaimer: e.venue?.disclaimer || void 0,
|
|
136
136
|
...y(e.venue),
|
|
137
137
|
status: "on_sale",
|
|
138
|
-
eventSeriesId:
|
|
139
|
-
seriesOccurrences:
|
|
138
|
+
eventSeriesId: t,
|
|
139
|
+
seriesOccurrences: s,
|
|
140
140
|
isPasswordProtected: !1,
|
|
141
141
|
isRegistrationEvent: !1,
|
|
142
142
|
totalTicketsRemaining: 0,
|
|
143
143
|
totalTicketsCapacity: 0,
|
|
144
|
-
venueAddressLines: T(
|
|
145
|
-
googleMapsUrl: E(
|
|
144
|
+
venueAddressLines: T(f),
|
|
145
|
+
googleMapsUrl: E(f)
|
|
146
146
|
};
|
|
147
147
|
}
|
|
148
148
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { E as e } from "./Button-klwKgfhG.js";
|
|
2
|
-
import { t } from "./Event-
|
|
3
|
-
import { a as n } from "./RecommendationsRail-
|
|
2
|
+
import { t } from "./Event-BQxHv-o0.js";
|
|
3
|
+
import { a as n } from "./RecommendationsRail-tD2S6OIO.js";
|
|
4
4
|
import { n as r } from "./ScarcityBadge-B3aj_cj2.js";
|
|
5
5
|
import { t as i } from "./__SKIP_PATHS__-C0ixDSSm.js";
|
|
6
6
|
import "svelte/internal/disclose-version";
|
|
@@ -4,21 +4,21 @@ import { t as a } from "./ArrowLeftIcon-C2kBPBFF.js";
|
|
|
4
4
|
import { t as o } from "./CalendarIcon-DOoS4b_i.js";
|
|
5
5
|
import { t as s } from "./ChevronDownIcon-lXHBGCo7.js";
|
|
6
6
|
import { n as c, t as l } from "./MailIcon-89dLUSGH.js";
|
|
7
|
-
import { n as u, o as d, r as f, t as p } from "./RecommendationsRail-
|
|
7
|
+
import { n as u, o as d, r as f, t as p } from "./RecommendationsRail-tD2S6OIO.js";
|
|
8
8
|
import { n as m } from "./copyToClipboard-DOMJZVtr.js";
|
|
9
9
|
import { M as h, N as g, U as _, V as v, i as y, z as b } from "./defaultLabels-BSBaNwtj.js";
|
|
10
10
|
import { H as x, Q as S, X as C, _ as w, et as T, s as E } from "./orders-B7_DrFsF.js";
|
|
11
11
|
import { t as D } from "./liveAnnouncer-D3xVL7qA.js";
|
|
12
12
|
import { n as O, t as k } from "./Heading-D6bWtGZA.js";
|
|
13
13
|
import { t as A } from "./Text-CqjLjIF8.js";
|
|
14
|
-
import { g as j, h as M } from "./api-
|
|
14
|
+
import { g as j, h as M } from "./api-Dvs4Mzxe.js";
|
|
15
15
|
import { c as N, r as ee } from "./pixels-D7_ylXj9.js";
|
|
16
|
-
import { i as P, n as F, t as I } from "./i18n-
|
|
16
|
+
import { i as P, n as F, t as I } from "./i18n-DMOn4Sr8.js";
|
|
17
17
|
import { n as L, t as R } from "./i18n-CCPr-2JE.js";
|
|
18
18
|
import { t as z } from "./__SKIP_PATHS__-C0ixDSSm.js";
|
|
19
|
-
import { C as B, d as V, l as te, n as H } from "./utils-
|
|
20
|
-
import { n as U, t as ne } from "./constants-
|
|
21
|
-
import { a as W, i as G, n as re, o as ie, r as K, s as q } from "./showcase-state-options-
|
|
19
|
+
import { C as B, d as V, l as te, n as H } from "./utils-CJ3W3Iul.js";
|
|
20
|
+
import { n as U, t as ne } from "./constants-CJyMUKEX.js";
|
|
21
|
+
import { a as W, i as G, n as re, o as ie, r as K, s as q } from "./showcase-state-options-Da1QiMDF.js";
|
|
22
22
|
import { n as ae, t as oe } from "./buyerEmail-BfCq-gDt.js";
|
|
23
23
|
import { r as J } from "./defaults-BBHeX0iC.js";
|
|
24
24
|
import "svelte/internal/disclose-version";
|