@getmicdrop/venue-calendar 4.3.138 → 4.3.139
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 +895 -840
- package/dist/AddOnCard-Dlt_4lut.js +475 -0
- package/dist/{Button-B_gbGd63.js → Button-Ch5dRGa2.js} +1 -1
- package/dist/{Button-B1cBhdtC.js → Button-DpeQSoQ7.js} +58 -45
- package/dist/Calendar-CNWS2xiR.js +396 -0
- package/dist/CalendarFoundryView-B5puOxH5.js +16431 -0
- package/dist/{ChartBlock-DcsCXfX8.js → ChartBlock-vihMKVdW.js} +2 -2
- package/dist/Checkout-B2FvX6Af.js +1070 -0
- package/dist/Checkout-y0x-v-XH.js +1995 -0
- package/dist/{ChevronDownOutline-kFgRY2cg.js → CloseOutline-Bh9UO94v.js} +2 -2
- package/dist/{CollectionView-C0vDg5oJ.js → CollectionView-CcLlV-1f.js} +22 -24
- package/dist/{CropImage-BWYeQXXA.js → CropImage-DqLAGy5s.js} +6 -6
- package/dist/{DatePicker-v-4ijT8N.js → DatePicker-D20Te0JY.js} +222 -215
- package/dist/{Event-vlu8IAxh.js → Event-DoIU0o6C.js} +799 -796
- package/dist/{EventCard-puoh3xag.js → EventCard-B8MYLyIW.js} +1 -1
- package/dist/EventPage-DM4tjCcL.js +1298 -0
- package/dist/{FilterChipGroup-DUGvOaRI.js → FilterChipGroup-BCjc7-pE.js} +1 -1
- package/dist/{ImageUploader-CKrf5amy.js → ImageUploader-BzxKIyLN.js} +324 -375
- package/dist/{Input-BQk4itex.js → Input-Bp5EgI1F.js} +5 -3
- package/dist/Modal-C6EXgkuF.js +159 -0
- package/dist/{ModalFooter-gFaDKsfj.js → ModalFooter-C4TD3-zP.js} +1 -1
- package/dist/{ModalTitle-CS5AGwrU.js → ModalTitle-BP4Bm3sA.js} +1 -1
- package/dist/{PasswordInput-C65GqxdF.js → PasswordInput-BlzSrkPs.js} +1 -1
- package/dist/{PhoneInput-Dj1I3bEn.js → PhoneInput-_ByjRGQ0.js} +2 -2
- package/dist/{RecommendationsRail-DC5qX1ei.js → RecommendationsRail-BDNnbL-p.js} +53 -50
- package/dist/{Search-BE64QcmK.js → Search-vhGEpog6.js} +1 -1
- package/dist/SeriesPage-YE8czX1M.js +32 -0
- package/dist/{SkeletonLoader-DfW0N9R3.js → SkeletonLoader-Beh2izdy.js} +1 -1
- package/dist/Spinner-DgubkWKo.js +88 -0
- package/dist/{Success-D3CrUeka.js → Success-CN5HB8gN.js} +164 -166
- package/dist/{TimePicker-HYzPI_Dc.js → TimePicker-BDuy9Ap8.js} +1 -1
- package/dist/{ViewTicketsEmbed-DzUCgtA3.js → ViewTicketsEmbed-DvoMIiKJ.js} +9 -10
- package/dist/{address-field-BwGHcMKY.js → address-field-DOalICpt.js} +2 -2
- package/dist/{allowlist-Bt1BHhNd.js → allowlist-DinkGF2L.js} +77 -68
- package/dist/api/api.cjs +1 -1
- package/dist/api/api.mjs +320 -297
- package/dist/api/client.d.ts +14 -53
- package/dist/api/events.d.ts +15 -1
- package/dist/api/result.d.ts +9 -0
- package/dist/{api-CRHFSJDI.js → api-CsAx0rmV.js} +150 -145
- package/dist/{avatar-picker-field-CSF5okeM.js → avatar-picker-field-CV4vRxTB.js} +14 -14
- package/dist/{checkoutState-BDNjJRMG.js → checkoutState-DSx7g3Vy.js} +12 -21
- package/dist/{client-BIN_q-of.js → client-SaDt6559.js} +18 -12
- package/dist/{constants-DrFV2oht.js → constants-sRRJh0u-.js} +1 -1
- package/dist/{date-field-3tgOYbzF.js → date-field-DylJx0y7.js} +9 -9
- package/dist/{date-range-field-D0Aq9me9.js → date-range-field-BOV1V2ab.js} +7 -7
- package/dist/{de-CUrE_4a4.js → de-CzkX3H3B.js} +1 -0
- package/dist/{defaultLabels-CybwJCNn.js → defaultLabels-DLK6rq4q.js} +1 -0
- package/dist/{defaults-B5wyre5O.js → defaults-Cbuin1WS.js} +2 -3
- package/dist/{es-B2-z2Kft.js → es-BOLzv8eD.js} +1 -0
- package/dist/{event-CEg17hts.js → event-ClsLWtR0.js} +1 -1
- package/dist/{event-transform-DqFigNQg.js → event-transform-Cs63X0hI.js} +42 -42
- package/dist/{eventStatusStream-DK5fWCTB.js → eventStatusStream-BAh5nJP2.js} +1 -1
- package/dist/{field-rules-CKFFB16Q.js → field-rules-Yb2JY1qT.js} +1 -1
- package/dist/{file-field-2mPz4Da-.js → file-field-Dwo80kDg.js} +4 -4
- package/dist/format-CehusdDg.js +1718 -0
- package/dist/{formatters-CzKNRUwz.js → formatters-DUWbI_Eg.js} +25 -35
- package/dist/{fr-CiePVIlj.js → fr-DYTIBBXo.js} +1 -0
- package/dist/{href-DpbLXQ4c.js → href-BXhNawil.js} +1 -1
- package/dist/i18n-BNF6a-QA.js +720 -0
- package/dist/i18n-F_QOaHVh.js +26 -0
- package/dist/{id-Ttw95_7t.js → id-CIyIkGhH.js} +1 -0
- package/dist/{image-field-B8x0WQ2j.js → image-field-DeLzsJlz.js} +2 -2
- package/dist/{it-CBbXcFY1.js → it-CF4Db_nK.js} +1 -0
- package/dist/{ja-B2Tag7J3.js → ja-5-7WNHD1.js} +1 -0
- package/dist/{ko-CcTn4lAi.js → ko-huIzHR3W.js} +1 -0
- package/dist/locales/4.3.139/main/de.js +1 -0
- package/dist/locales/4.3.139/main/es.js +1 -0
- package/dist/locales/4.3.139/main/fr.js +1 -0
- package/dist/locales/4.3.139/main/id.js +1 -0
- package/dist/locales/4.3.139/main/it.js +1 -0
- package/dist/locales/4.3.139/main/ja.js +1 -0
- package/dist/locales/4.3.139/main/ko.js +1 -0
- package/dist/locales/4.3.139/main/nl.js +1 -0
- package/dist/locales/4.3.139/main/pl.js +1 -0
- package/dist/locales/4.3.139/main/pt-br.js +1 -0
- package/dist/locales/4.3.139/main/tr.js +1 -0
- package/dist/locales/4.3.139/main/zh.js +1 -0
- package/dist/look-island.svelte-D87MvHNy.js +1296 -0
- package/dist/{look-names-JI6GE-Zj.js → look-names-B9MywEzX.js} +68 -58
- package/dist/looks/4.3.139/AddOnCard-CKdkGcHH.js +1 -0
- package/dist/looks/4.3.139/Checkout-D7CaFYTE.js +1 -0
- package/dist/looks/4.3.139/Checkout-DuP46PMi.js +3 -0
- package/dist/looks/4.3.139/CollectionView-CWm57JCx.js +1 -0
- package/dist/looks/4.3.139/Event-ePupb4qY.js +8 -0
- package/dist/looks/4.3.139/EventPage-CgexXhEU.js +1 -0
- package/dist/looks/4.3.139/RecommendationsRail-Bz-Mj_r4.js +2 -0
- package/dist/looks/4.3.139/SeriesPage-DI2uFF0Y.js +1 -0
- package/dist/looks/4.3.139/Success-BkMzmgmc.js +3 -0
- package/dist/looks/4.3.139/ViewTicketsEmbed-CbEJwRry.js +1 -0
- package/dist/looks/4.3.139/_vc-foundry-calendar-stub-BVbAFEK2.js +1 -0
- package/dist/looks/4.3.139/buyerEmail-CqCYa9UL.js +1 -0
- package/dist/looks/4.3.139/constants-CU_ZgyQu.js +3 -0
- package/dist/looks/4.3.139/defaults-B46SFFK4.js +2 -0
- package/dist/looks/4.3.139/dist-BWGSqtWN.js +1 -0
- package/dist/looks/4.3.139/eventStatusStream-CW5lJwsa.js +10 -0
- package/dist/looks/4.3.139/first-core-DrYq9wBy.js +151 -0
- package/dist/looks/4.3.139/first-mount.svelte-DFSLaJWm.js +1 -0
- package/dist/looks/4.3.139/first-seo-DvHuCXT6.js +1 -0
- package/dist/looks/4.3.139/first.js +1 -0
- package/dist/looks/4.3.139/full-widget-DDBk3i4U.js +2 -0
- package/dist/looks/4.3.139/gate-password-cache-D4Zls6QM.js +1 -0
- package/dist/looks/4.3.139/i18n-DRaFNYsQ.js +1 -0
- package/dist/looks/4.3.139/listing-BSaRTkxW.js +1 -0
- package/dist/looks/4.3.139/loaders.runtime-BNG8O6-A.js +1 -0
- package/dist/looks/4.3.139/looks.js +1 -0
- package/dist/looks/4.3.139/modalManager.svelte-CqQWYz9Y.js +1 -0
- package/dist/looks/4.3.139/rolldown-runtime-4tVxZq34.js +1 -0
- package/dist/looks/4.3.139/serverTotals-Bu1fAPLB.js +1 -0
- package/dist/looks/4.3.139/showcase-state-options-CpCMAKVD.js +1 -0
- package/dist/looks/4.3.139/utils-pGRhH4A-.js +1 -0
- package/dist/{media-field-HieD0ye0.js → media-field-PW8ye6EL.js} +2 -2
- package/dist/modalManager.svelte-BHE0t9q3.js +79 -0
- package/dist/{multiselect-field-CJ4lUJyS.js → multiselect-field-CmocFs5f.js} +2 -2
- package/dist/navigation-B8rkS2On.js +348 -0
- package/dist/{nl-DeIqgjIs.js → nl-B1dv1lqk.js} +1 -0
- package/dist/{number-field-D5GkkGLB.js → number-field-CUD936Ai.js} +3 -3
- package/dist/{numeric-filter-field-CRWZFu_P.js → numeric-filter-field-BmgSYhOt.js} +3 -3
- package/dist/{password-field-DdOHXEOo.js → password-field-BfvcZUi_.js} +1 -1
- package/dist/{phone-field-BaYmp56f.js → phone-field-DO0U_YZ6.js} +17 -18
- package/dist/{pixels-BXXzmoCb.js → pixels-ipedGW6i.js} +7 -7
- package/dist/{pl-Bm2FcD5y.js → pl-DLlM_IPo.js} +1 -0
- package/dist/{pt-br-XS1Lsa6z.js → pt-br-8V3mf7pu.js} +1 -0
- package/dist/repeating-field-BwtJ6VS1.js +488 -0
- package/dist/{richtext-field-KmUytgBW.js → richtext-field-DvLCxPvq.js} +2 -2
- package/dist/{datetime-BlEsN_-8.js → scarcity-DfQvyhJP.js} +74 -85
- package/dist/{searchable-select-field-DettZRav.js → searchable-select-field-zuIqfoQM.js} +17 -17
- package/dist/{select-field-Wc4gAtou.js → select-field-DNNN-a9q.js} +6 -6
- package/dist/seo/HostSeoController.d.ts +13 -0
- package/dist/seo/seo.cjs +1 -1
- package/dist/seo/seo.mjs +18 -11
- package/dist/{serverTotals-COsx7Mc5.js → serverTotals-BprgDwOw.js} +1 -1
- package/dist/{showcase-state-options-CHGUaZtl.js → showcase-state-options-bKRf48yz.js} +2 -2
- package/dist/{time-field-CnxZcziR.js → time-field-DmPCoppV.js} +2 -2
- package/dist/{to-event-card-props-C9v9dspT.js → to-event-card-props-KVcCJ2JF.js} +34 -34
- package/dist/{tr-zKAbMfgi.js → tr-DiUEV65j.js} +1 -0
- package/dist/{tree-picker-field-aqux58EQ.js → tree-picker-field-BJwSFAqm.js} +8 -8
- package/dist/types/index.d.ts +3 -0
- package/dist/{utils-AIszIHUb.js → utils-x8YXRKvr.js} +12 -12
- package/dist/venue-BjLCg-PW.js +38 -0
- package/dist/venue-calendar.css +1 -1
- package/dist/venue-calendar.es.js +1655 -1539
- package/dist/venue-calendar.iife.js +1 -54
- package/dist/venue-calendar.umd.js +69 -63
- package/dist/{widget-key-context-BrWW0fyM.js → widget-key-context-dHM9FiuJ.js} +8 -37
- package/dist/{zh-DHfgJplH.js → zh-Cej2EPQt.js} +1 -0
- package/package.json +2 -2
- package/src/lib/constants/scarcity.ts +1 -2
- package/dist/AddOnCard-DEAC26HA.js +0 -348
- package/dist/BlockPlaceholder-BKfoE795.js +0 -59
- package/dist/Calendar-9xskvKUf.js +0 -395
- package/dist/CalendarFoundryView-DbxZNmY7.js +0 -16356
- package/dist/CartView-DMINN6bY.js +0 -2200
- package/dist/Checkbox-sObkYRdj.js +0 -60
- package/dist/Checkout-H9RGBU9D.js +0 -1071
- package/dist/Checkout-VnochAZE.js +0 -1967
- package/dist/CheckoutTimer-mjcYR3XU.js +0 -42
- package/dist/EventPage-DycxjX5Z.js +0 -1301
- package/dist/Modal-DOpDiAwN.js +0 -102
- package/dist/ScarcityBadge-BAaV2CIY.js +0 -141
- package/dist/SeriesPage-Cx89s2B6.js +0 -34
- package/dist/Skeleton-B6qB_udJ.js +0 -31
- package/dist/Spinner-Bj4dr9kO.js +0 -19
- package/dist/Textarea-BDcuBI13.js +0 -72
- package/dist/__SKIP_NAVIGATION__-Znm_vYcG.js +0 -5
- package/dist/__SKIP_PATHS__-Bzzrca_a.js +0 -5
- package/dist/calendar-Cdu8fCIt.js +0 -111
- package/dist/cta-qbcIt5Gh.js +0 -116
- package/dist/format-CypC4vWs.js +0 -1587
- package/dist/heic-to-BoLfsr3l.js +0 -70
- package/dist/i18n-B_TWnExv.js +0 -495
- package/dist/i18n-CSaUFnlD.js +0 -26
- package/dist/instant-BkZCSGDm.js +0 -162
- package/dist/labels-D8LN8lY7.js +0 -227
- package/dist/locales/4.3.138/main/de.js +0 -1
- package/dist/locales/4.3.138/main/es.js +0 -1
- package/dist/locales/4.3.138/main/fr.js +0 -1
- package/dist/locales/4.3.138/main/id.js +0 -1
- package/dist/locales/4.3.138/main/it.js +0 -1
- package/dist/locales/4.3.138/main/ja.js +0 -1
- package/dist/locales/4.3.138/main/ko.js +0 -1
- package/dist/locales/4.3.138/main/nl.js +0 -1
- package/dist/locales/4.3.138/main/pl.js +0 -1
- package/dist/locales/4.3.138/main/pt-br.js +0 -1
- package/dist/locales/4.3.138/main/tr.js +0 -1
- package/dist/locales/4.3.138/main/zh.js +0 -1
- package/dist/look-island.svelte-B7UH_QVv.js +0 -1270
- package/dist/looks/4.3.138/looks.js +0 -248
- package/dist/modalManager.svelte-BvyrTI6p.js +0 -51
- package/dist/navigation-DpqP-ahJ.js +0 -241
- package/dist/repeating-field-B4OhsaGB.js +0 -488
- package/dist/venue-DLkL7xdj.js +0 -12
- /package/dist/checkout-libs/{4.3.138 → 4.3.139}/phone.js +0 -0
- /package/dist/checkout-libs/{4.3.138 → 4.3.139}/qrcode.js +0 -0
- /package/dist/locales/{4.3.138 → 4.3.139}/flow/de.js +0 -0
- /package/dist/locales/{4.3.138 → 4.3.139}/flow/es.js +0 -0
- /package/dist/locales/{4.3.138 → 4.3.139}/flow/fr.js +0 -0
- /package/dist/locales/{4.3.138 → 4.3.139}/flow/id.js +0 -0
- /package/dist/locales/{4.3.138 → 4.3.139}/flow/it.js +0 -0
- /package/dist/locales/{4.3.138 → 4.3.139}/flow/ja.js +0 -0
- /package/dist/locales/{4.3.138 → 4.3.139}/flow/ko.js +0 -0
- /package/dist/locales/{4.3.138 → 4.3.139}/flow/nl.js +0 -0
- /package/dist/locales/{4.3.138 → 4.3.139}/flow/pl.js +0 -0
- /package/dist/locales/{4.3.138 → 4.3.139}/flow/pt-br.js +0 -0
- /package/dist/locales/{4.3.138 → 4.3.139}/flow/tr.js +0 -0
- /package/dist/locales/{4.3.138 → 4.3.139}/flow/zh.js +0 -0
- /package/dist/looks/{4.3.138 → 4.3.139}/micdrop-wordmark-BYMG6vLR.svg +0 -0
- /package/dist/looks/{4.3.138 → 4.3.139}/microphone-Ccv4r-kd.webp +0 -0
- /package/dist/looks/{4.3.138 → 4.3.139}/superuser-CZF6a5gO.webp +0 -0
- /package/dist/looks/{4.3.138 → 4.3.139}/treasury-DUE7lZzT.webp +0 -0
- /package/dist/looks/{4.3.138 → 4.3.139}/user-image-yuS4errP.svg +0 -0
|
@@ -0,0 +1,348 @@
|
|
|
1
|
+
import { A as e, D as t, E as n, M as r, P as i, T as a, j as o, n as s, r as c, t as l } from "./format-CehusdDg.js";
|
|
2
|
+
import { n as u } from "./AppError-t1LnBwj_.js";
|
|
3
|
+
import { h as d, m as f } from "./client-SaDt6559.js";
|
|
4
|
+
import { _ as p } from "./scarcity-DfQvyhJP.js";
|
|
5
|
+
// node_modules/@getmicdrop/svelte-components/dist/transforms/ticket.js
|
|
6
|
+
var m = {
|
|
7
|
+
EVERYWHERE: 0,
|
|
8
|
+
ONLINE_ONLY: 1,
|
|
9
|
+
BOX_OFFICE_ONLY: 2
|
|
10
|
+
}, h = {
|
|
11
|
+
VISIBLE: 0,
|
|
12
|
+
HIDDEN: 1,
|
|
13
|
+
PROMO_ONLY: 2
|
|
14
|
+
};
|
|
15
|
+
function g(e) {
|
|
16
|
+
return e.soldOut === !0 ? 0 : e.remainingCapacity == null ? e.quantityRemaining == null ? e.quantity == null ? e.sold != null && e.totalCapacity != null ? Math.max(0, e.totalCapacity - e.sold) : 0 : e.quantity : e.quantityRemaining : e.remainingCapacity;
|
|
17
|
+
}
|
|
18
|
+
function _(e, t) {
|
|
19
|
+
return e.totalCapacity ?? e.quantity ?? t;
|
|
20
|
+
}
|
|
21
|
+
function v(r) {
|
|
22
|
+
let i = u(), o = n(r.effectiveSalesBegin, r.salesBegin, r.saleStartDate) ?? null, s = n(r.effectiveSalesEnd, r.salesEnd, r.saleEndDate) ?? null, c = e(o), l = e(s);
|
|
23
|
+
if (!t(o) && !c) return "scheduled";
|
|
24
|
+
if (!t(s) && !l) return "sales_ended";
|
|
25
|
+
if (c && a(i, c) < 0) return "scheduled";
|
|
26
|
+
if (l && a(i, l) > 0) return "sales_ended";
|
|
27
|
+
if (r.soldOut === !0) return "sold_out";
|
|
28
|
+
let d = g(r), f = _(r, d);
|
|
29
|
+
return d === 0 ? "sold_out" : f > 0 && d / f < .1 ? "low" : "on_sale";
|
|
30
|
+
}
|
|
31
|
+
function y(e, t = {}) {
|
|
32
|
+
if (!Array.isArray(e)) return [];
|
|
33
|
+
let n = e;
|
|
34
|
+
return t.excludeDoorOnly && (n = n.filter((e) => e.salesChannel !== m.BOX_OFFICE_ONLY)), t.publicOnly && (n = n.filter((e) => e.visibility === h.VISIBLE)), n;
|
|
35
|
+
}
|
|
36
|
+
function b(e) {
|
|
37
|
+
if (!Array.isArray(e) || e.length === 0) return {
|
|
38
|
+
totalRemaining: 0,
|
|
39
|
+
totalCapacity: 0,
|
|
40
|
+
isSoldOut: !1
|
|
41
|
+
};
|
|
42
|
+
let t = 0, n = 0;
|
|
43
|
+
for (let r of e) {
|
|
44
|
+
let e = g(r);
|
|
45
|
+
t += e, n += _(r, e);
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
totalRemaining: t,
|
|
49
|
+
totalCapacity: n,
|
|
50
|
+
isSoldOut: t === 0
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
function x(e) {
|
|
54
|
+
if (!Array.isArray(e) || e.length === 0) return 0;
|
|
55
|
+
let t = e.map((e) => Number(e.price ?? e.ticketPrice)).filter((e) => Number.isFinite(e) && e > 0);
|
|
56
|
+
return t.length > 0 ? Math.min(...t) : 0;
|
|
57
|
+
}
|
|
58
|
+
// node_modules/@getmicdrop/svelte-components/dist/transforms/event.js
|
|
59
|
+
function S(e) {
|
|
60
|
+
return e.availableTickets || e.available_tickets || e.tickets || [];
|
|
61
|
+
}
|
|
62
|
+
function C(r) {
|
|
63
|
+
if (!r || !(r.isHidden === !0 || typeof r.visibility == "number" && r.visibility >= h.HIDDEN) || r.salesChannel === m.BOX_OFFICE_ONLY) return !1;
|
|
64
|
+
let i = u(), o = n(r.effectiveSalesBegin, r.salesBegin, r.salesStart, r.saleBegin, r.onSaleStart, r.saleStartDate), s = n(r.effectiveSalesEnd, r.salesEnd, r.saleEnd, r.onSaleEnd, r.saleEndDate), c = e(o), l = e(s);
|
|
65
|
+
if (!t(o) && !c || !t(s) && !l || c && a(c, i) > 0 || l && a(l, i) < 0) return !1;
|
|
66
|
+
let d = r.remainingCapacity ?? r.quantityRemaining ?? r.quantity;
|
|
67
|
+
return !(r.soldOut || d != null && d <= 0);
|
|
68
|
+
}
|
|
69
|
+
function w(e) {
|
|
70
|
+
return e ? e.hasHiddenTickets === !0 || S(e).some(C) : !1;
|
|
71
|
+
}
|
|
72
|
+
// src/lib/url-manager/index.ts
|
|
73
|
+
var T = "__MICDROP_VC_HASH_ROUTING__";
|
|
74
|
+
function E() {
|
|
75
|
+
if (typeof window > "u") return 0;
|
|
76
|
+
let e = window[T];
|
|
77
|
+
return typeof e == "number" ? e : 0;
|
|
78
|
+
}
|
|
79
|
+
function D(e) {
|
|
80
|
+
window[T] = Math.max(0, E() + e);
|
|
81
|
+
}
|
|
82
|
+
function O() {
|
|
83
|
+
return E() > 0;
|
|
84
|
+
}
|
|
85
|
+
var k = null;
|
|
86
|
+
function A(e) {
|
|
87
|
+
return k && k !== e ? !1 : (k = e, !0);
|
|
88
|
+
}
|
|
89
|
+
function j(e) {
|
|
90
|
+
k === e && (k = null);
|
|
91
|
+
}
|
|
92
|
+
var M = class {
|
|
93
|
+
onNavigate;
|
|
94
|
+
handleHashChange;
|
|
95
|
+
prevEntityKey;
|
|
96
|
+
counted;
|
|
97
|
+
stepLength = 0;
|
|
98
|
+
constructor(e) {
|
|
99
|
+
this.onNavigate = e.onNavigate, this.counted = !1, this.prevEntityKey = this.getEntityKey(), this.handleHashChange = (e) => {
|
|
100
|
+
e instanceof PopStateEvent && e.state?.micdrop && e.state.step !== window.history.state?.step && window.history.replaceState(e.state, "", window.location.href);
|
|
101
|
+
let t = this.getEntityKey();
|
|
102
|
+
t !== this.prevEntityKey && (this.prevEntityKey = t, this.onNavigate(this.readState()));
|
|
103
|
+
}, typeof window < "u" && (window.addEventListener("hashchange", this.handleHashChange), window.addEventListener("popstate", this.handleHashChange), D(1), this.counted = !0);
|
|
104
|
+
}
|
|
105
|
+
readState() {
|
|
106
|
+
if (typeof window > "u") return {
|
|
107
|
+
entity: null,
|
|
108
|
+
month: null,
|
|
109
|
+
step: null
|
|
110
|
+
};
|
|
111
|
+
let e = this.readEntityFromHash();
|
|
112
|
+
return {
|
|
113
|
+
entity: e,
|
|
114
|
+
month: new URLSearchParams(window.location.search).get("m") || null,
|
|
115
|
+
step: e ? P() : null
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
pushEntity(e, t) {
|
|
119
|
+
if (typeof window > "u") return;
|
|
120
|
+
let n = `#${e}${t ? "-" + t : ""}`;
|
|
121
|
+
this.replaceHash(n, P() ? "show" : null), this.prevEntityKey = this.getEntityKey();
|
|
122
|
+
}
|
|
123
|
+
openEntity(e, t) {
|
|
124
|
+
if (typeof window > "u") return;
|
|
125
|
+
let n = new URL(window.location.href);
|
|
126
|
+
n.hash = `#${e}${t ? "-" + t : ""}`, window.history.pushState(N("show"), "", n.toString()), this.prevEntityKey = this.getEntityKey();
|
|
127
|
+
}
|
|
128
|
+
pushStep(e) {
|
|
129
|
+
if (typeof window > "u") return;
|
|
130
|
+
let t = P() === e ? "replaceState" : "pushState";
|
|
131
|
+
window.history[t](N(e), "", window.location.href), this.prevEntityKey = this.getEntityKey(), this.stepLength = window.history.length;
|
|
132
|
+
}
|
|
133
|
+
replaceStep(e) {
|
|
134
|
+
if (typeof window > "u") return;
|
|
135
|
+
let t = window.history.state?.showPanel === !0;
|
|
136
|
+
window.history.replaceState(N(e), "", window.location.href), this.prevEntityKey = this.getEntityKey();
|
|
137
|
+
let n = t && this.stepLength ? window.history.length - this.stepLength : 0;
|
|
138
|
+
this.stepLength = 0, n > 0 && window.history.go(-n);
|
|
139
|
+
}
|
|
140
|
+
stackEntityOverListing() {
|
|
141
|
+
if (typeof window > "u") return;
|
|
142
|
+
let e = P();
|
|
143
|
+
if (e && e !== "show") {
|
|
144
|
+
let e = this.readEntityFromHash()?.id;
|
|
145
|
+
this.prevEntityKey = e ? `${e}|show` : "", window.history.back();
|
|
146
|
+
return;
|
|
147
|
+
}
|
|
148
|
+
if (e) return;
|
|
149
|
+
let t = window.location.href;
|
|
150
|
+
this.replaceHash(""), window.history.pushState(N("show"), "", t), this.prevEntityKey = this.getEntityKey();
|
|
151
|
+
}
|
|
152
|
+
onPushedEntry() {
|
|
153
|
+
return typeof window > "u" ? !1 : window.history.state?.showPanel === !0;
|
|
154
|
+
}
|
|
155
|
+
pushListing() {
|
|
156
|
+
typeof window < "u" && (this.prevEntityKey = "", this.replaceHash(""));
|
|
157
|
+
}
|
|
158
|
+
setMonth(e) {
|
|
159
|
+
if (typeof window > "u") return;
|
|
160
|
+
let t = new URL(window.location.href);
|
|
161
|
+
t.searchParams.set("m", e), window.history.replaceState({
|
|
162
|
+
...window.history.state,
|
|
163
|
+
micdrop: !0
|
|
164
|
+
}, "", t.toString());
|
|
165
|
+
}
|
|
166
|
+
destroy() {
|
|
167
|
+
typeof window < "u" && (window.removeEventListener("hashchange", this.handleHashChange), window.removeEventListener("popstate", this.handleHashChange)), this.counted && (this.counted = !1, D(-1));
|
|
168
|
+
}
|
|
169
|
+
readEntityFromHash() {
|
|
170
|
+
return p((window.location.hash || "").replace(/^#/, ""));
|
|
171
|
+
}
|
|
172
|
+
replaceHash(e, t = null) {
|
|
173
|
+
let n = new URL(window.location.href);
|
|
174
|
+
n.hash = e, window.history.replaceState(t ? N(t) : { micdrop: !0 }, "", n.toString());
|
|
175
|
+
}
|
|
176
|
+
getEntityKey() {
|
|
177
|
+
if (typeof window > "u") return "";
|
|
178
|
+
let e = this.readEntityFromHash()?.id ?? "", t = P();
|
|
179
|
+
return e && t ? `${e}|${t}` : e;
|
|
180
|
+
}
|
|
181
|
+
};
|
|
182
|
+
function N(e) {
|
|
183
|
+
return {
|
|
184
|
+
micdrop: !0,
|
|
185
|
+
showPanel: !0,
|
|
186
|
+
step: e
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
function P() {
|
|
190
|
+
let e = window.history.state;
|
|
191
|
+
return e?.showPanel ? e.step === "checkout" || e.step === "success" ? e.step : "show" : null;
|
|
192
|
+
}
|
|
193
|
+
// src/lib/api/cta.ts
|
|
194
|
+
function F(t, n, r = {}) {
|
|
195
|
+
let { cancelled: o = !1, isRegistration: s = !1, waitlistEnabled: c = !1 } = r, l = u();
|
|
196
|
+
if (o) return {
|
|
197
|
+
text: "Canceled",
|
|
198
|
+
disabled: !0,
|
|
199
|
+
reason: "cancelled"
|
|
200
|
+
};
|
|
201
|
+
if ((t?.status || "").trim().toLowerCase() === "postponed") return {
|
|
202
|
+
text: "Postponed",
|
|
203
|
+
disabled: !0,
|
|
204
|
+
reason: "postponed"
|
|
205
|
+
};
|
|
206
|
+
let d = e(t.endDateTime || t.startDateTime);
|
|
207
|
+
if (d && a(d, l) < 0) return {
|
|
208
|
+
text: "Sales ended",
|
|
209
|
+
disabled: !0,
|
|
210
|
+
reason: "event_past"
|
|
211
|
+
};
|
|
212
|
+
let f = (t?.salesStatus || "").trim().toLowerCase(), p = f === "not_started";
|
|
213
|
+
if (f === "paused") return {
|
|
214
|
+
text: "Sales paused",
|
|
215
|
+
disabled: !0,
|
|
216
|
+
reason: "sales_paused"
|
|
217
|
+
};
|
|
218
|
+
if (f === "ended") return {
|
|
219
|
+
text: "Sales ended",
|
|
220
|
+
disabled: !0,
|
|
221
|
+
reason: "sales_ended"
|
|
222
|
+
};
|
|
223
|
+
let m = t?.hasPurchasableHiddenTickets === !0 || Array.isArray(n) && n.some(C), g = () => m ? {
|
|
224
|
+
text: s ? "Reserve a spot" : "Get tickets",
|
|
225
|
+
disabled: !1,
|
|
226
|
+
reason: "hidden_only"
|
|
227
|
+
} : c ? {
|
|
228
|
+
text: "Join Waitlist",
|
|
229
|
+
disabled: !1,
|
|
230
|
+
reason: "sold_out_waitlist"
|
|
231
|
+
} : {
|
|
232
|
+
text: "Sold out",
|
|
233
|
+
disabled: !0,
|
|
234
|
+
reason: "sold_out"
|
|
235
|
+
};
|
|
236
|
+
if (f === "sold_out") return g();
|
|
237
|
+
let _ = (n || []).filter((e) => e.salesChannel !== 2 && !e.isHidden && !(typeof e.visibility == "number" && e.visibility >= h.HIDDEN));
|
|
238
|
+
if (_.length === 0) return m ? {
|
|
239
|
+
text: s ? "Reserve a spot" : "Get tickets",
|
|
240
|
+
disabled: !1,
|
|
241
|
+
reason: "hidden_only"
|
|
242
|
+
} : {
|
|
243
|
+
text: "No tickets available",
|
|
244
|
+
disabled: !0,
|
|
245
|
+
reason: "no_tickets"
|
|
246
|
+
};
|
|
247
|
+
let v = !1, y = !0, b = !0, x = null;
|
|
248
|
+
for (let t of _) {
|
|
249
|
+
let n = e(t.effectiveSalesBegin || t.salesBegin || t.salesStart || t.saleBegin || t.onSaleStart), r = e(t.effectiveSalesEnd || t.salesEnd || t.saleEnd || t.onSaleEnd), i = t.remainingCapacity ?? t.quantityRemaining ?? t.quantity, o = t.soldOut || i != null && i <= 0, s = n ? a(n, l) > 0 : !1, c = r ? a(r, l) < 0 : !1;
|
|
250
|
+
o || s || c || (v = !0), o || (y = !1), s || (b = !1), s && n && !o && !c && (!x || a(n, x) < 0) && (x = n);
|
|
251
|
+
}
|
|
252
|
+
return p && v ? m ? {
|
|
253
|
+
text: s ? "Reserve a spot" : "Get tickets",
|
|
254
|
+
disabled: !1,
|
|
255
|
+
reason: "hidden_only"
|
|
256
|
+
} : {
|
|
257
|
+
text: "On sale soon",
|
|
258
|
+
disabled: !0,
|
|
259
|
+
reason: "coming_soon"
|
|
260
|
+
} : v ? {
|
|
261
|
+
text: s ? "Reserve a spot" : "Get tickets",
|
|
262
|
+
disabled: !1,
|
|
263
|
+
reason: "available"
|
|
264
|
+
} : b && x ? m ? {
|
|
265
|
+
text: s ? "Reserve a spot" : "Get tickets",
|
|
266
|
+
disabled: !1,
|
|
267
|
+
reason: "hidden_only"
|
|
268
|
+
} : {
|
|
269
|
+
text: `On sale ${I(x, a(x, l), [t.timezone, t.timeZone].find((e) => !!e && i(e)))}`,
|
|
270
|
+
disabled: !0,
|
|
271
|
+
reason: "coming_soon"
|
|
272
|
+
} : y ? g() : m ? {
|
|
273
|
+
text: s ? "Reserve a spot" : "Get tickets",
|
|
274
|
+
disabled: !1,
|
|
275
|
+
reason: "hidden_only"
|
|
276
|
+
} : {
|
|
277
|
+
text: "Sales ended",
|
|
278
|
+
disabled: !0,
|
|
279
|
+
reason: "sales_ended"
|
|
280
|
+
};
|
|
281
|
+
}
|
|
282
|
+
function I(e, t, n) {
|
|
283
|
+
let i = t / 36e5, a = t / 864e5;
|
|
284
|
+
if (n) {
|
|
285
|
+
let t = e.toISOString(), o = r(n, e), u = `${c(t, n)} ${o}`;
|
|
286
|
+
return i < 24 ? u : a <= 7 ? `${l(t, n, !0)} ${u}` : `${s(t, n, { includeYear: !1 })} ${u}`;
|
|
287
|
+
}
|
|
288
|
+
let u = (e) => o(e, {
|
|
289
|
+
hour: "numeric",
|
|
290
|
+
minute: "2-digit",
|
|
291
|
+
hour12: !0
|
|
292
|
+
}, "en-US");
|
|
293
|
+
return i < 24 ? u(e) : a <= 7 ? o(e, {
|
|
294
|
+
weekday: "short",
|
|
295
|
+
hour: "numeric",
|
|
296
|
+
minute: "2-digit",
|
|
297
|
+
hour12: !0
|
|
298
|
+
}, "en-US") : `${o(e, {
|
|
299
|
+
month: "short",
|
|
300
|
+
day: "numeric"
|
|
301
|
+
}, "en-US")} ${u(e)}`;
|
|
302
|
+
}
|
|
303
|
+
// src/lib/navigation.ts
|
|
304
|
+
function L(e, t) {
|
|
305
|
+
let n = t ? `${e}-${t}` : `${e}`;
|
|
306
|
+
if (typeof window < "u" && O()) {
|
|
307
|
+
let { origin: e, pathname: t, search: r } = window.location;
|
|
308
|
+
return `${e}${t}${r}#${n}`;
|
|
309
|
+
}
|
|
310
|
+
return `${d()}/e/${n}`;
|
|
311
|
+
}
|
|
312
|
+
function R(e, t, n) {
|
|
313
|
+
let r = n?.toString(), i = t ? `/e/${e}-${t}` : `/e/${e}`;
|
|
314
|
+
return `${f()}${i}${r ? `?${r}` : ""}`;
|
|
315
|
+
}
|
|
316
|
+
var z = "get-micdrop.com";
|
|
317
|
+
function B(e) {
|
|
318
|
+
let t = typeof e == "string" ? e.trim() : "";
|
|
319
|
+
return t ? `https://${encodeURIComponent(t)}.${z}` : "";
|
|
320
|
+
}
|
|
321
|
+
function V(e) {
|
|
322
|
+
let t = B(e);
|
|
323
|
+
return t ? `${t}/gift-cards/buy` : "";
|
|
324
|
+
}
|
|
325
|
+
function H(e, t, n) {
|
|
326
|
+
let r = n?.toString();
|
|
327
|
+
return `/${e}/${t}${r ? `?${r}` : ""}`;
|
|
328
|
+
}
|
|
329
|
+
function U(e) {
|
|
330
|
+
return `/${e}`;
|
|
331
|
+
}
|
|
332
|
+
function W(e) {
|
|
333
|
+
return `${f()}/${e}`;
|
|
334
|
+
}
|
|
335
|
+
function G(e, t) {
|
|
336
|
+
return `/${e}/${t}/checkout`;
|
|
337
|
+
}
|
|
338
|
+
function K(e) {
|
|
339
|
+
let t = new URLSearchParams();
|
|
340
|
+
e.orderId && t.set("orderId", e.orderId), e.ticketCount && e.ticketCount > 0 && t.set("tickets", String(e.ticketCount));
|
|
341
|
+
let n = t.toString();
|
|
342
|
+
return n ? `?${n}` : "";
|
|
343
|
+
}
|
|
344
|
+
function q(e, t, n = {}) {
|
|
345
|
+
let r = t ? `/e/${e}-${t}` : `/e/${e}`;
|
|
346
|
+
return `${d()}${r}/tickets/checkout/success${K(n)}`;
|
|
347
|
+
}
|
|
348
|
+
export { b as _, L as a, x as b, q as c, M as d, A as f, h as g, w as h, R as i, B as l, j as m, W as n, H as o, O as p, U as r, V as s, G as t, F as u, v, y };
|
|
@@ -105,6 +105,7 @@ var e = {
|
|
|
105
105
|
networkErrorCancel: "Annuleren",
|
|
106
106
|
retryingConnection: "Verbinding opnieuw proberen",
|
|
107
107
|
couldNotLoadEvents: "We konden de evenementen niet laden. Controleer je internetverbinding en probeer het opnieuw",
|
|
108
|
+
calendarNotEnabled: "Deze kalender is niet ingeschakeld voor deze site",
|
|
108
109
|
offlineMessage: "Je bent offline. Sommige functies werken mogelijk niet totdat je weer verbinding hebt",
|
|
109
110
|
poweredBy: "Mogelijk gemaakt door",
|
|
110
111
|
micdropAriaLabel: "MicDrop - Ticketingplatform voor evenementen",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "./bundle-mjs-COnlheJX.js";
|
|
2
2
|
import { t } from "./labels-CjSrA6gx.js";
|
|
3
|
-
import { t as n } from "./Input-
|
|
4
|
-
import { I as r, L as i } from "./field-rules-
|
|
3
|
+
import { t as n } from "./Input-Bp5EgI1F.js";
|
|
4
|
+
import { I as r, L as i } from "./field-rules-Yb2JY1qT.js";
|
|
5
5
|
import { t as a } from "./foundryRuntime-DKyfdkUY.js";
|
|
6
|
-
import { r as o } from "./CalendarFoundryView-
|
|
6
|
+
import { r as o } from "./CalendarFoundryView-B5puOxH5.js";
|
|
7
7
|
import "svelte/internal/disclose-version";
|
|
8
8
|
import * as s from "svelte/internal/client";
|
|
9
9
|
// node_modules/@getmicdrop/svelte-components/dist/primitives/NumberInput/NumberInput.svelte
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as e } from "./Input-
|
|
1
|
+
import { t as e } from "./Input-Bp5EgI1F.js";
|
|
2
2
|
import { i as t } from "./typography-CKwYSv07.js";
|
|
3
|
-
import { C as n, S as r, r as i } from "./field-rules-
|
|
3
|
+
import { C as n, S as r, r as i } from "./field-rules-Yb2JY1qT.js";
|
|
4
4
|
import { t as a } from "./foundryRuntime-DKyfdkUY.js";
|
|
5
|
-
import {
|
|
5
|
+
import { x as o } from "./CalendarFoundryView-B5puOxH5.js";
|
|
6
6
|
import "svelte/internal/disclose-version";
|
|
7
7
|
import * as s from "svelte/internal/client";
|
|
8
8
|
// node_modules/@getmicdrop/svelte-components/dist/foundry/blocks/fields/numeric-filter-field.svelte
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./labels-CjSrA6gx.js";
|
|
2
2
|
import { t } from "./LiveRegion-Ds0mjIVj.js";
|
|
3
|
-
import { t as n } from "./PasswordInput-
|
|
3
|
+
import { t as n } from "./PasswordInput-BlzSrkPs.js";
|
|
4
4
|
import { t as r } from "./foundryRuntime-DKyfdkUY.js";
|
|
5
5
|
import "svelte/internal/disclose-version";
|
|
6
6
|
import * as i from "svelte/internal/client";
|
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
import { t as e } from "./
|
|
2
|
-
import { t } from "./
|
|
3
|
-
import { t as n } from "./
|
|
4
|
-
import {
|
|
5
|
-
import { i } from "./CalendarFoundryView-DbxZNmY7.js";
|
|
1
|
+
import { t as e } from "./Badge-CmYqIClC.js";
|
|
2
|
+
import { t } from "./Button-Ch5dRGa2.js";
|
|
3
|
+
import { t as n } from "./foundryRuntime-DKyfdkUY.js";
|
|
4
|
+
import { i as r, y as i } from "./CalendarFoundryView-B5puOxH5.js";
|
|
6
5
|
import "svelte/internal/disclose-version";
|
|
7
6
|
import * as a from "svelte/internal/client";
|
|
8
7
|
// node_modules/@getmicdrop/svelte-components/dist/foundry/blocks/fields/phone-field.svelte
|
|
9
8
|
var o = a.state(void 0), s;
|
|
10
9
|
function c() {
|
|
11
|
-
return s ??= import("./PhoneInput-
|
|
10
|
+
return s ??= import("./PhoneInput-_ByjRGQ0.js").then((e) => (a.set(o, e.default, !0), a.get(o)), (e) => {
|
|
12
11
|
throw s = void 0, e;
|
|
13
12
|
}), s;
|
|
14
13
|
}
|
|
15
14
|
var l = a.from_html("<div class=\"mt-2 flex flex-wrap items-center gap-2\"><!> <!></div>"), u = a.from_html("<!> <!>", 1);
|
|
16
15
|
function d(s, d) {
|
|
17
16
|
a.push(d, !0);
|
|
18
|
-
let f =
|
|
17
|
+
let f = r(), p = n().i18n, m = a.derived(() => d.disabled === !0), h = a.derived(() => d.field.phone?.verified === !0), g = a.derived(() => d.field.autofill === "skip"), _ = a.derived(() => !a.get(h) && d.action ? d.field.phone?.verify : void 0), v = a.derived(() => a.get(h) && d.action ? [d.field.phone?.change, d.field.phone?.remove].filter(Boolean) : []), y = a.state(void 0);
|
|
19
18
|
a.user_effect(() => {
|
|
20
19
|
c().catch((e) => {
|
|
21
20
|
a.set(y, e instanceof Error ? e : Error(String(e)), !0);
|
|
@@ -77,8 +76,8 @@ function d(s, d) {
|
|
|
77
76
|
});
|
|
78
77
|
}
|
|
79
78
|
a.append(e, n);
|
|
80
|
-
}, C = (
|
|
81
|
-
e
|
|
79
|
+
}, C = (e) => {
|
|
80
|
+
i(e, {
|
|
82
81
|
height: "h-10",
|
|
83
82
|
rounded: "lg"
|
|
84
83
|
});
|
|
@@ -86,9 +85,9 @@ function d(s, d) {
|
|
|
86
85
|
a.if(x, (e) => {
|
|
87
86
|
a.get(o) ? e(S) : e(C, -1);
|
|
88
87
|
});
|
|
89
|
-
var w = a.sibling(x, 2), T = (
|
|
88
|
+
var w = a.sibling(x, 2), T = (n) => {
|
|
90
89
|
var r = l(), i = a.child(r);
|
|
91
|
-
|
|
90
|
+
e(i, {
|
|
92
91
|
variant: "success",
|
|
93
92
|
tone: "outlined",
|
|
94
93
|
children: (e, t) => {
|
|
@@ -99,10 +98,10 @@ function d(s, d) {
|
|
|
99
98
|
$$slots: { default: !0 }
|
|
100
99
|
});
|
|
101
100
|
var o = a.sibling(i, 2);
|
|
102
|
-
a.each(o, 19, () => a.get(v), (e, t) => `${t}:${e.intent}`, (e,
|
|
101
|
+
a.each(o, 19, () => a.get(v), (e, t) => `${t}:${e.intent}`, (e, n) => {
|
|
103
102
|
{
|
|
104
|
-
let r = a.derived(() => a.get(m) || a.get(
|
|
105
|
-
|
|
103
|
+
let r = a.derived(() => a.get(m) || a.get(n).disabled === !0), i = a.derived(() => f(a.get(n).intent));
|
|
104
|
+
t(e, {
|
|
106
105
|
variant: "alternative",
|
|
107
106
|
size: "sm",
|
|
108
107
|
get disabled() {
|
|
@@ -111,16 +110,16 @@ function d(s, d) {
|
|
|
111
110
|
get "data-testid"() {
|
|
112
111
|
return a.get(i);
|
|
113
112
|
},
|
|
114
|
-
onclick: () => d.action?.(d.field.key, a.get(
|
|
115
|
-
children: (e,
|
|
113
|
+
onclick: () => d.action?.(d.field.key, a.get(n)),
|
|
114
|
+
children: (e, t) => {
|
|
116
115
|
a.next();
|
|
117
116
|
var r = a.text();
|
|
118
|
-
a.template_effect(() => a.set_text(r, a.get(
|
|
117
|
+
a.template_effect(() => a.set_text(r, a.get(n).label)), a.append(e, r);
|
|
119
118
|
},
|
|
120
119
|
$$slots: { default: !0 }
|
|
121
120
|
});
|
|
122
121
|
}
|
|
123
|
-
}), a.reset(r), a.append(
|
|
122
|
+
}), a.reset(r), a.append(n, r);
|
|
124
123
|
};
|
|
125
124
|
a.if(w, (e) => {
|
|
126
125
|
a.get(h) && e(T);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./logger-DM8WW61-.js";
|
|
2
2
|
import { n as t } from "./AppError-t1LnBwj_.js";
|
|
3
|
-
import {
|
|
3
|
+
import { T as n, k as r, w as i } from "./widget-key-context-dHM9FiuJ.js";
|
|
4
4
|
// src/lib/embed-bridge.js
|
|
5
5
|
var a = e("embed-bridge"), o = "micdrop-calendar", s = Object.freeze({
|
|
6
6
|
NAVIGATION: "MICDROP_NAVIGATION",
|
|
@@ -84,11 +84,11 @@ function m(e) {
|
|
|
84
84
|
}
|
|
85
85
|
// src/lib/pixels/script.ts
|
|
86
86
|
function h(e) {
|
|
87
|
-
if (typeof document > "u" || !e ||
|
|
87
|
+
if (typeof document > "u" || !e || n()) return;
|
|
88
88
|
let t = document.createElement("script");
|
|
89
89
|
t.async = !0, t.src = e;
|
|
90
|
-
let
|
|
91
|
-
|
|
90
|
+
let r = document.head || document.getElementsByTagName("head")[0];
|
|
91
|
+
r && r.appendChild(t);
|
|
92
92
|
}
|
|
93
93
|
// src/lib/pixels/value-currency.ts
|
|
94
94
|
function g(e, t) {
|
|
@@ -209,9 +209,9 @@ function V() {
|
|
|
209
209
|
}
|
|
210
210
|
function H(e) {
|
|
211
211
|
if (e && typeof e == "object") {
|
|
212
|
-
e.metaPixelId !== void 0 && (I.metaPixelId = B(e.metaPixelId)), e.ga4MeasurementId !== void 0 && (I.ga4MeasurementId = B(e.ga4MeasurementId)),
|
|
212
|
+
e.metaPixelId !== void 0 && (I.metaPixelId = B(e.metaPixelId)), e.ga4MeasurementId !== void 0 && (I.ga4MeasurementId = B(e.ga4MeasurementId)), r();
|
|
213
213
|
try {
|
|
214
|
-
V() && !
|
|
214
|
+
V() && !n() && G();
|
|
215
215
|
} catch (e) {
|
|
216
216
|
M.error("configurePixels load failed:", e);
|
|
217
217
|
}
|
|
@@ -246,7 +246,7 @@ function Y() {
|
|
|
246
246
|
}, N);
|
|
247
247
|
}
|
|
248
248
|
function X(e) {
|
|
249
|
-
if (V() && !
|
|
249
|
+
if (V() && !n()) try {
|
|
250
250
|
i() ? (q(), K(e), J()) : (R.push(e), R.length > F && R.shift(), Y());
|
|
251
251
|
} catch (t) {
|
|
252
252
|
M.error(`Pixel '${e.kind}' failed:`, t);
|
|
@@ -105,6 +105,7 @@ var e = {
|
|
|
105
105
|
networkErrorCancel: "Anuluj",
|
|
106
106
|
retryingConnection: "Ponowne łączenie...",
|
|
107
107
|
couldNotLoadEvents: "Nie udało się załadować wydarzeń. Sprawdź połączenie z internetem i spróbuj ponownie",
|
|
108
|
+
calendarNotEnabled: "Ten kalendarz nie jest włączony dla tej witryny",
|
|
108
109
|
offlineMessage: "Jesteś w trybie offline. Niektóre funkcje mogą nie działać, dopóki nie odzyskasz połączenia",
|
|
109
110
|
poweredBy: "Obsługiwane przez",
|
|
110
111
|
micdropAriaLabel: "MicDrop – platforma biletowa",
|
|
@@ -105,6 +105,7 @@ var e = {
|
|
|
105
105
|
networkErrorCancel: "Cancelar",
|
|
106
106
|
retryingConnection: "Reconectando...",
|
|
107
107
|
couldNotLoadEvents: "Não foi possível carregar os eventos. Verifique sua conexão e tente novamente",
|
|
108
|
+
calendarNotEnabled: "Este calendário não está ativado para este site",
|
|
108
109
|
offlineMessage: "Você está offline. Alguns recursos podem não funcionar até você se reconectar",
|
|
109
110
|
poweredBy: "Desenvolvido por",
|
|
110
111
|
micdropAriaLabel: "MicDrop - Plataforma de venda de ingressos para eventos",
|