@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,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { q as e } from "./constants-DqKf8bUn.js";
|
|
2
2
|
import "svelte/internal/disclose-version";
|
|
3
3
|
import * as t from "svelte/internal/client";
|
|
4
4
|
//#region node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/ExclamationTriangleOutline.svelte
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { x as e } from "./Button-C4uFgl7L.js";
|
|
2
|
-
import {
|
|
3
|
-
import { S as n,
|
|
2
|
+
import { D as t } from "./defaultLabels-D_9CneL4.js";
|
|
3
|
+
import { S as n, T as r, x as i } from "./orders-CCWPQsWb.js";
|
|
4
4
|
//#region src/lib/embed-bridge.js
|
|
5
5
|
var a = e("embed-bridge"), o = "micdrop-calendar", s = Object.freeze({
|
|
6
6
|
NAVIGATION: "MICDROP_NAVIGATION",
|
|
@@ -85,11 +85,11 @@ function m(e) {
|
|
|
85
85
|
//#endregion
|
|
86
86
|
//#region src/lib/pixels/script.ts
|
|
87
87
|
function h(e) {
|
|
88
|
-
if (typeof document > "u" || !e ||
|
|
88
|
+
if (typeof document > "u" || !e || n()) return;
|
|
89
89
|
let t = document.createElement("script");
|
|
90
90
|
t.async = !0, t.src = e;
|
|
91
|
-
let
|
|
92
|
-
|
|
91
|
+
let r = document.head || document.getElementsByTagName("head")[0];
|
|
92
|
+
r && r.appendChild(t);
|
|
93
93
|
}
|
|
94
94
|
//#endregion
|
|
95
95
|
//#region src/lib/pixels/value-currency.ts
|
|
@@ -214,9 +214,9 @@ function V() {
|
|
|
214
214
|
}
|
|
215
215
|
function H(e) {
|
|
216
216
|
if (!(!e || typeof e != "object")) {
|
|
217
|
-
e.metaPixelId !== void 0 && (I.metaPixelId = B(e.metaPixelId)), e.ga4MeasurementId !== void 0 && (I.ga4MeasurementId = B(e.ga4MeasurementId)),
|
|
217
|
+
e.metaPixelId !== void 0 && (I.metaPixelId = B(e.metaPixelId)), e.ga4MeasurementId !== void 0 && (I.ga4MeasurementId = B(e.ga4MeasurementId)), r();
|
|
218
218
|
try {
|
|
219
|
-
V() && !
|
|
219
|
+
V() && !n() && G();
|
|
220
220
|
} catch (e) {
|
|
221
221
|
M.error("configurePixels load failed:", e);
|
|
222
222
|
}
|
|
@@ -229,7 +229,7 @@ function W() {
|
|
|
229
229
|
U(), q(), J();
|
|
230
230
|
}
|
|
231
231
|
function G() {
|
|
232
|
-
|
|
232
|
+
i() ? W() : Y();
|
|
233
233
|
}
|
|
234
234
|
function K(e) {
|
|
235
235
|
U(), I.metaPixelId && w(e), I.ga4MeasurementId && j(e);
|
|
@@ -247,12 +247,12 @@ function Y() {
|
|
|
247
247
|
if (z !== null || typeof window > "u") return;
|
|
248
248
|
let e = 0;
|
|
249
249
|
z = setInterval(() => {
|
|
250
|
-
e += 1,
|
|
250
|
+
e += 1, i() ? W() : e >= P && J();
|
|
251
251
|
}, N);
|
|
252
252
|
}
|
|
253
253
|
function X(e) {
|
|
254
|
-
if (V() && !
|
|
255
|
-
|
|
254
|
+
if (V() && !n()) try {
|
|
255
|
+
i() ? (q(), K(e), J()) : (R.push(e), R.length > F && R.shift(), Y());
|
|
256
256
|
} catch (t) {
|
|
257
257
|
M.error(`Pixel '${e.kind}' failed:`, t);
|
|
258
258
|
}
|
|
@@ -439,7 +439,69 @@ var e = {
|
|
|
439
439
|
hasEvents: "Zawiera wydarzenia",
|
|
440
440
|
viewMode: "Tryb widoku",
|
|
441
441
|
goToCurrentMonth: "Przejdź do bieżącego miesiąca",
|
|
442
|
-
nShowtimes: "{n} terminów"
|
|
442
|
+
nShowtimes: "{n} terminów",
|
|
443
|
+
checkoutUnavailableTitle: "Sprzedaż biletów online jest tutaj niedostępna",
|
|
444
|
+
checkoutUnavailableBody: "Poniżej możesz przeglądać nadchodzące wydarzenia, ale obecnie nie można kupować biletów na tej stronie. Odwiedź stronę biletową miejsca lub skontaktuj się z nim, aby dokonać rezerwacji.",
|
|
445
|
+
checkoutUnavailableOwnerNote: "Właścicielu strony: {origin} nie jest zarejestrowana do sprzedaży. Poproś Micdrop o dodanie tej domeny do dozwolonych domen osadzania Twojej organizacji — zmiany zaczynają obowiązywać do 5 minut.",
|
|
446
|
+
keepMeUpdatedByVenue: "Chcę otrzymywać informacje o wydarzeniach i nowościach od {venue}",
|
|
447
|
+
waitlistWindowNotice: "Te bilety są dla Ciebie zarezerwowane przez",
|
|
448
|
+
waitlistWindowSuffix: "— po tym czasie Twoje miejsce przechodzi na następną osobę w kolejce",
|
|
449
|
+
waitlistWindowExpired: "Twój czas na zakup minął — miejsce jest oferowane następnej osobie w kolejce",
|
|
450
|
+
waitlistRequeueCta: "Zajmij następne miejsce w kolejce",
|
|
451
|
+
waitlistRequeueBusy: "Przesuwamy Cię w górę…",
|
|
452
|
+
waitlistRequeueDone: "Jesteś pierwszy w kolejce — napiszemy do Ciebie, gdy tylko zwolni się następne miejsce",
|
|
453
|
+
waitlistRequeueNotOnList: "Nie ma Cię już na tej liście oczekujących — dołącz ponownie przyciskiem poniżej",
|
|
454
|
+
waitlistRequeueFailed: "Nie udało się teraz przesunąć Cię w górę — nadal jesteś na liście oczekujących",
|
|
455
|
+
waitlistPositionEstimate: "Jesteś mniej więcej na pozycji #{position} w kolejce — pozycja rośnie, gdy zwalniają się miejsca",
|
|
456
|
+
waitlistLinkEventMismatch: "Ten link dotyczy innego wydarzenia — otwórz go z e-maila tamtego wydarzenia",
|
|
457
|
+
waitlistErrorNotEnabled: "Lista oczekujących nie jest dostępna dla tego wydarzenia",
|
|
458
|
+
waitlistErrorEventNotFound: "Nie znaleziono wydarzenia",
|
|
459
|
+
waitlistErrorAlreadyPurchased: "Masz już kupione bilety na to wydarzenie",
|
|
460
|
+
waitlistErrorPhoneRegistered: "Ten numer telefonu jest już na liście oczekujących",
|
|
461
|
+
waitlistErrorJoinFailed: "Nie udało się dołączyć do listy oczekujących. Spróbuj ponownie",
|
|
462
|
+
waitlistErrorNetwork: "Błąd sieci. Sprawdź połączenie i spróbuj ponownie",
|
|
463
|
+
sessionExpiringSoonMessage: "Twoja sesja zakupu wygaśnie za {time}. Wybrane bilety wrócą do puli",
|
|
464
|
+
extensionsRemaining: "Pozostałe przedłużenia: {count}",
|
|
465
|
+
continueCheckout: "Kontynuuj zakup",
|
|
466
|
+
okIllHurry: "OK, pospieszę się",
|
|
467
|
+
maxExtensionsReached: "Osiągnięto limit przedłużeń",
|
|
468
|
+
sessionExpired: "Sesja wygasła",
|
|
469
|
+
sessionExpiredMessage: "Twoja sesja zakupu wygasła, a wybrane bilety zostały zwolnione",
|
|
470
|
+
selectTicketsAgain: "Wybierz bilety ponownie",
|
|
471
|
+
selectTicketsLabel: "Wybierz bilety",
|
|
472
|
+
orderNotFound: "Nie znaleziono zamówienia",
|
|
473
|
+
orderNotFoundMessage: "Nie znaleźliśmy Twojego zamówienia. Może się to zdarzyć, jeśli sesja wygasła lub strona została otwarta bezpośrednio. Wybierz bilety ponownie",
|
|
474
|
+
pageSections: "Sekcje strony",
|
|
475
|
+
viewTicketsOrderNotFound: "Nie znaleziono zamówienia. Sprawdź link w swoim e-mailu",
|
|
476
|
+
viewTicketsLoadFailed: "Nie udało się wczytać biletów. Spróbuj ponownie",
|
|
477
|
+
doorsAtTime: "Drzwi {time}",
|
|
478
|
+
ticketCarousel: "Karuzela biletów",
|
|
479
|
+
qrCodeForTicket: "Kod QR biletu {number}",
|
|
480
|
+
qrRefundedSuffix: "zwrócony, nie uprawnia do wejścia",
|
|
481
|
+
qrCheckedInSuffix: "wejście już zarejestrowane",
|
|
482
|
+
refunded: "Zwrócony",
|
|
483
|
+
checkedIn: "Wejście zarejestrowane",
|
|
484
|
+
ticketRefundedNote: "Ten bilet został zwrócony i nie będzie honorowany przy wejściu",
|
|
485
|
+
ticketCheckedInNote: "Ten bilet został już zeskanowany — nie można go użyć ponownie",
|
|
486
|
+
previousTicket: "Poprzedni bilet",
|
|
487
|
+
nextTicket: "Następny bilet",
|
|
488
|
+
ticketCountOfTotal: "{current} z {total}",
|
|
489
|
+
addToAppleWallet: "Dodaj do Apple Wallet",
|
|
490
|
+
addToGoogleWallet: "Dodaj do Google Wallet",
|
|
491
|
+
walletPassesComingSoon: "Karty do portfela już wkrótce. Twój bilet jest tutaj — zrób zrzut ekranu lub pobierz PDF",
|
|
492
|
+
downloadPdf: "Pobierz PDF",
|
|
493
|
+
addToCalendarPrefix: "Dodaj do kalendarza:",
|
|
494
|
+
getDirections: "Wyznacz trasę",
|
|
495
|
+
requestARefund: "Poproś o zwrot",
|
|
496
|
+
refundRequestSent: "Twoja prośba o zwrot została wysłana do {venue}. Skontaktują się z Tobą w sprawie zamówienia",
|
|
497
|
+
refundReasonPrompt: "Napisz {venue}, dlaczego prosisz o zwrot (opcjonalnie)",
|
|
498
|
+
refundNotePlaceholder: "Dodaj notatkę dla miejsca…",
|
|
499
|
+
sending: "Wysyłanie…",
|
|
500
|
+
submitRefundRequest: "Wyślij prośbę o zwrot",
|
|
501
|
+
somethingWentWrong: "Coś poszło nie tak. Spróbuj ponownie za chwilę",
|
|
502
|
+
orderNumberLine: "Zamówienie {orderNumber}",
|
|
503
|
+
questionsPrompt: "Masz pytania?",
|
|
504
|
+
opensInGoogleMaps: "(otwiera się w Mapach Google)"
|
|
443
505
|
};
|
|
444
506
|
//#endregion
|
|
445
507
|
export { e as pl };
|
|
@@ -172,7 +172,10 @@ var e = {
|
|
|
172
172
|
waitlistLinkUsed: "Ten link został już wykorzystany. Nadal jesteś na liście oczekujących",
|
|
173
173
|
waitlistLinkEmailMismatch: "Ten link został wysłany na inny adres e-mail. Nadal jesteś na liście oczekujących",
|
|
174
174
|
waitlistLinkInventoryExhausted: "Te bilety zostały właśnie wyprzedane. Nadal jesteś na liście oczekujących — wyślemy Ci e-mail, gdy zwolnią się kolejne",
|
|
175
|
-
dismiss: "Zamknij"
|
|
175
|
+
dismiss: "Zamknij",
|
|
176
|
+
keepMeUpdatedByVenue: "Chcę otrzymywać informacje o wydarzeniach i nowościach od {venue}",
|
|
177
|
+
privacyPolicyLink: "Polityka prywatności",
|
|
178
|
+
paymentUnavailable: "Obecnie nie można pobrać płatności za to zamówienie — odśwież stronę lub skontaktuj się z miejscem"
|
|
176
179
|
};
|
|
177
180
|
//#endregion
|
|
178
181
|
export { e as pl };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as e, F as t, M as n, k as r } from "./defaultLabels-D_9CneL4.js";
|
|
2
2
|
//#region src/lib/utils/promo.ts
|
|
3
3
|
function i(e) {
|
|
4
4
|
return e === "percentage" || e === "%";
|
|
@@ -21,8 +21,8 @@ function s(e, t, n) {
|
|
|
21
21
|
function c(a, o, c, l) {
|
|
22
22
|
if (!(c > 0)) return 0;
|
|
23
23
|
if (!i(l)) return s(o, c, l);
|
|
24
|
-
let u = a.filter(({ quantity: e }) => e > 0).map(({ unitPrice:
|
|
25
|
-
return
|
|
24
|
+
let u = a.filter(({ quantity: e }) => e > 0).map(({ unitPrice: t, quantity: r }) => n(e(s(t, c, l)), r));
|
|
25
|
+
return r(t(u));
|
|
26
26
|
}
|
|
27
27
|
//#endregion
|
|
28
28
|
export { s as a, c as i, o as n, a as r, i as t };
|
|
@@ -172,7 +172,10 @@ var e = {
|
|
|
172
172
|
waitlistLinkUsed: "Este link já foi usado. Você continua na lista de espera",
|
|
173
173
|
waitlistLinkEmailMismatch: "Este link foi enviado para outro e-mail. Você continua na lista de espera",
|
|
174
174
|
waitlistLinkInventoryExhausted: "Esses ingressos acabaram de ser garantidos. Você continua na lista de espera — avisaremos por e-mail se mais forem liberados",
|
|
175
|
-
dismiss: "Fechar"
|
|
175
|
+
dismiss: "Fechar",
|
|
176
|
+
keepMeUpdatedByVenue: "Quero receber novidades sobre eventos e notícias de {venue}",
|
|
177
|
+
privacyPolicyLink: "Política de privacidade",
|
|
178
|
+
paymentUnavailable: "Não é possível processar o pagamento deste pedido agora — atualize a página ou entre em contato com o local"
|
|
176
179
|
};
|
|
177
180
|
//#endregion
|
|
178
181
|
export { e as pt_br };
|
|
@@ -439,7 +439,69 @@ var e = {
|
|
|
439
439
|
hasEvents: "Com eventos",
|
|
440
440
|
viewMode: "Modo de visualização",
|
|
441
441
|
goToCurrentMonth: "Ir para o mês atual",
|
|
442
|
-
nShowtimes: "{n} horários"
|
|
442
|
+
nShowtimes: "{n} horários",
|
|
443
|
+
checkoutUnavailableTitle: "A venda de ingressos online não está disponível aqui",
|
|
444
|
+
checkoutUnavailableBody: "Você pode ver os próximos shows abaixo, mas no momento não é possível comprar ingressos neste site. Visite a página de ingressos do local ou entre em contato para reservar.",
|
|
445
|
+
checkoutUnavailableOwnerNote: "Proprietário do site: {origin} não está registrado para checkout. Peça à Micdrop para adicionar este domínio aos domínios de incorporação permitidos da sua organização — as alterações levam até 5 minutos para serem aplicadas.",
|
|
446
|
+
keepMeUpdatedByVenue: "Quero receber novidades sobre eventos e notícias de {venue}",
|
|
447
|
+
waitlistWindowNotice: "Estes ingressos estão reservados para você por",
|
|
448
|
+
waitlistWindowSuffix: "— depois disso, sua vez passa para a próxima pessoa da fila",
|
|
449
|
+
waitlistWindowExpired: "Sua janela de compra expirou — o lugar está sendo oferecido à próxima pessoa da fila",
|
|
450
|
+
waitlistRequeueCta: "Pegar o próximo lugar na fila",
|
|
451
|
+
waitlistRequeueBusy: "Movendo você para frente…",
|
|
452
|
+
waitlistRequeueDone: "Você é o primeiro da fila — enviaremos um e-mail assim que o próximo lugar for liberado",
|
|
453
|
+
waitlistRequeueNotOnList: "Você não está mais nesta lista de espera — entre novamente pelo botão abaixo",
|
|
454
|
+
waitlistRequeueFailed: "Não conseguimos mover você para frente agora — você continua na lista de espera",
|
|
455
|
+
waitlistPositionEstimate: "Você está aproximadamente na posição #{position} da fila — isso avança conforme os lugares são liberados",
|
|
456
|
+
waitlistLinkEventMismatch: "Este link é de outro evento — abra pelo e-mail daquele show",
|
|
457
|
+
waitlistErrorNotEnabled: "A lista de espera não está disponível para este evento",
|
|
458
|
+
waitlistErrorEventNotFound: "Evento não encontrado",
|
|
459
|
+
waitlistErrorAlreadyPurchased: "Você já comprou ingressos para este evento",
|
|
460
|
+
waitlistErrorPhoneRegistered: "Este número de telefone já está na lista de espera",
|
|
461
|
+
waitlistErrorJoinFailed: "Não foi possível entrar na lista de espera. Tente novamente",
|
|
462
|
+
waitlistErrorNetwork: "Erro de rede. Verifique sua conexão e tente novamente",
|
|
463
|
+
sessionExpiringSoonMessage: "Sua sessão de checkout vai expirar em {time}. Os ingressos selecionados serão devolvidos ao estoque",
|
|
464
|
+
extensionsRemaining: "Extensões restantes: {count}",
|
|
465
|
+
continueCheckout: "Continuar o checkout",
|
|
466
|
+
okIllHurry: "OK, vou me apressar",
|
|
467
|
+
maxExtensionsReached: "Número máximo de extensões atingido",
|
|
468
|
+
sessionExpired: "Sessão expirada",
|
|
469
|
+
sessionExpiredMessage: "Sua sessão de checkout expirou e os ingressos selecionados foram liberados",
|
|
470
|
+
selectTicketsAgain: "Selecionar ingressos novamente",
|
|
471
|
+
selectTicketsLabel: "Selecionar ingressos",
|
|
472
|
+
orderNotFound: "Pedido não encontrado",
|
|
473
|
+
orderNotFoundMessage: "Não encontramos seu pedido. Isso pode acontecer se a sessão expirou ou se você chegou aqui diretamente. Selecione seus ingressos novamente",
|
|
474
|
+
pageSections: "Seções da página",
|
|
475
|
+
viewTicketsOrderNotFound: "Pedido não encontrado. Verifique o link no seu e-mail",
|
|
476
|
+
viewTicketsLoadFailed: "Não foi possível carregar seus ingressos. Tente novamente",
|
|
477
|
+
doorsAtTime: "Portas {time}",
|
|
478
|
+
ticketCarousel: "Carrossel de ingressos",
|
|
479
|
+
qrCodeForTicket: "Código QR do ingresso {number}",
|
|
480
|
+
qrRefundedSuffix: "reembolsado, não válido para entrada",
|
|
481
|
+
qrCheckedInSuffix: "entrada já registrada",
|
|
482
|
+
refunded: "Reembolsado",
|
|
483
|
+
checkedIn: "Entrada registrada",
|
|
484
|
+
ticketRefundedNote: "Este ingresso foi reembolsado e não será aceito na porta",
|
|
485
|
+
ticketCheckedInNote: "Este ingresso já foi escaneado — não pode ser usado novamente",
|
|
486
|
+
previousTicket: "Ingresso anterior",
|
|
487
|
+
nextTicket: "Próximo ingresso",
|
|
488
|
+
ticketCountOfTotal: "{current} de {total}",
|
|
489
|
+
addToAppleWallet: "Adicionar à Apple Wallet",
|
|
490
|
+
addToGoogleWallet: "Adicionar ao Google Wallet",
|
|
491
|
+
walletPassesComingSoon: "Os passes de wallet chegam em breve. Seu ingresso está bem aqui — faça uma captura de tela ou baixe o PDF",
|
|
492
|
+
downloadPdf: "Baixar PDF",
|
|
493
|
+
addToCalendarPrefix: "Adicionar ao calendário:",
|
|
494
|
+
getDirections: "Como chegar",
|
|
495
|
+
requestARefund: "Solicitar reembolso",
|
|
496
|
+
refundRequestSent: "Sua solicitação de reembolso foi enviada para {venue}. Eles entrarão em contato sobre seu pedido",
|
|
497
|
+
refundReasonPrompt: "Conte a {venue} por que você está solicitando um reembolso (opcional)",
|
|
498
|
+
refundNotePlaceholder: "Adicione uma observação para o local…",
|
|
499
|
+
sending: "Enviando…",
|
|
500
|
+
submitRefundRequest: "Enviar solicitação de reembolso",
|
|
501
|
+
somethingWentWrong: "Algo deu errado. Tente novamente em instantes",
|
|
502
|
+
orderNumberLine: "Pedido {orderNumber}",
|
|
503
|
+
questionsPrompt: "Dúvidas?",
|
|
504
|
+
opensInGoogleMaps: "(abre no Google Maps)"
|
|
443
505
|
};
|
|
444
506
|
//#endregion
|
|
445
507
|
export { e as pt_br };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { t as s } from "./copyToClipboard-
|
|
4
|
-
import { r as c, t as l } from "./event-
|
|
1
|
+
import { D as e, b as t, h as n, x as r } from "./defaultLabels-D_9CneL4.js";
|
|
2
|
+
import { a as i, m as a, q as o } from "./constants-DqKf8bUn.js";
|
|
3
|
+
import { t as s } from "./copyToClipboard-CLo_2bfp.js";
|
|
4
|
+
import { r as c, t as l } from "./event-CFDG8adb.js";
|
|
5
5
|
import "svelte/internal/disclose-version";
|
|
6
6
|
import * as u from "svelte/internal/client";
|
|
7
7
|
//#region node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/phosphor/ExportIcon.svelte
|
|
8
8
|
var d = u.from_svg("<path d=\"M216,112v96a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V112A16,16,0,0,1,56,96h64v48a8,8,0,0,0,16,0V96h64A16,16,0,0,1,216,112ZM136,43.31l26.34,26.35a8,8,0,0,0,11.32-11.32l-40-40a8,8,0,0,0-11.32,0l-40,40A8,8,0,0,0,93.66,69.66L120,43.31V96h16Z\"></path>"), f = u.from_svg("<path d=\"M176,104h24a8,8,0,0,1,8,8v96a8,8,0,0,1-8,8H56a8,8,0,0,1-8-8V112a8,8,0,0,1,8-8H80\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"16\"></path><polyline points=\"88 64 128 24 168 64\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"16\"></polyline><line x1=\"128\" y1=\"24\" x2=\"128\" y2=\"136\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"16\"></line>", 1), p = u.from_svg("<svg aria-hidden=\"true\" viewBox=\"0 0 256 256\" fill=\"currentColor\" xmlns=\"http://www.w3.org/2000/svg\"><!></svg>");
|
|
9
9
|
function m(e, t) {
|
|
10
10
|
u.push(t, !0);
|
|
11
|
-
let n = u.prop(t, "size", 3, "24"), r = u.prop(t, "color", 3, "currentColor"),
|
|
11
|
+
let n = u.prop(t, "size", 3, "24"), r = u.prop(t, "color", 3, "currentColor"), i = u.prop(t, "class", 3, ""), a = o(), s = u.derived(() => t.weight ?? a?.weight ?? "regular");
|
|
12
12
|
var c = p();
|
|
13
13
|
let l;
|
|
14
14
|
var m = u.child(c), h = (e) => {
|
|
@@ -21,7 +21,7 @@ function m(e, t) {
|
|
|
21
21
|
u.if(m, (e) => {
|
|
22
22
|
u.get(s) === "fill" ? e(h) : e(g, -1);
|
|
23
23
|
}), u.reset(c), u.template_effect(() => {
|
|
24
|
-
u.set_class(c, 0, u.clsx(
|
|
24
|
+
u.set_class(c, 0, u.clsx(i())), u.set_attribute(c, "width", n()), u.set_attribute(c, "height", n()), l = u.set_style(c, "", l, { color: r() === "currentColor" ? void 0 : r() });
|
|
25
25
|
}), u.append(e, c), u.pop();
|
|
26
26
|
}
|
|
27
27
|
//#endregion
|
|
@@ -92,7 +92,7 @@ function S(e) {
|
|
|
92
92
|
//#endregion
|
|
93
93
|
//#region src/lib/api/transformers/series.ts
|
|
94
94
|
function C(e) {
|
|
95
|
-
let
|
|
95
|
+
let t = e, n = r(e.timeZone || t.timezone || t.time_zone || "UTC"), a = c(e.image || "", { cdn: !0 }), o = (e.occurrences || []).map((e) => {
|
|
96
96
|
let t = e.venue, n = t ? [t.name, t.stageName].filter(Boolean).join(" — ") : "", r = t ? t.googleLocationNameCache || [
|
|
97
97
|
t.address,
|
|
98
98
|
t.city,
|
|
@@ -109,7 +109,7 @@ function C(e) {
|
|
|
109
109
|
...n ? { venueName: n } : {},
|
|
110
110
|
...r ? { venueAddress: r } : {}
|
|
111
111
|
};
|
|
112
|
-
}), s = e.occurrences?.[0], l = s?.startDateTime ?
|
|
112
|
+
}), s = e.occurrences?.[0], l = s?.startDateTime ? i(s.startDateTime, n) : "", u = S(e.venue?.faq), d = (e.performers || []).map((e, t) => ({
|
|
113
113
|
id: t + 1,
|
|
114
114
|
displayName: e.displayName || [e.firstName, e.lastName].filter(Boolean).join(" "),
|
|
115
115
|
profileImage: e.profileImage || void 0
|
|
@@ -123,13 +123,13 @@ function C(e) {
|
|
|
123
123
|
startDateTime: s?.startDateTime || "",
|
|
124
124
|
endDateTime: s?.endDateTime || "",
|
|
125
125
|
doorsOpenTime: "",
|
|
126
|
-
timezone:
|
|
127
|
-
imageUrl:
|
|
126
|
+
timezone: n,
|
|
127
|
+
imageUrl: a,
|
|
128
128
|
venue: {
|
|
129
129
|
id: e.venue?.id || 0,
|
|
130
130
|
name: e.venue?.name || "",
|
|
131
131
|
address: f,
|
|
132
|
-
timezone:
|
|
132
|
+
timezone: n,
|
|
133
133
|
serviceFeePercentage: 0,
|
|
134
134
|
serviceFeeCents: 0,
|
|
135
135
|
taxPercentage: 0
|
|
@@ -195,12 +195,12 @@ function w(e) {
|
|
|
195
195
|
}
|
|
196
196
|
//#endregion
|
|
197
197
|
//#region src/lib/public-calendar-flow/transform.ts
|
|
198
|
-
function T(
|
|
199
|
-
let i = e(), a =
|
|
198
|
+
function T(r) {
|
|
199
|
+
let i = e(), a = r.remainingCapacity ?? r.quantityRemaining ?? r.quantity ?? 0, o = r.salesBegin || r.salesStart || r.saleBegin || r.onSaleStart, s = r.salesEnd || r.saleEnd || r.onSaleEnd;
|
|
200
200
|
if (a <= 0) return "sold_out";
|
|
201
|
-
let c =
|
|
201
|
+
let c = t(s);
|
|
202
202
|
if (c && n(c, i) < 0) return "sales_ended";
|
|
203
|
-
let l =
|
|
203
|
+
let l = t(o);
|
|
204
204
|
return l && n(l, i) > 0 ? "coming_soon" : "on_sale";
|
|
205
205
|
}
|
|
206
206
|
function E(e, t, n = !1) {
|
|
@@ -218,11 +218,11 @@ function E(e, t, n = !1) {
|
|
|
218
218
|
return r === "sold_out" || r === "soldout" ? "sold_out" : r === "coming_soon" || r === "comingsoon" ? "coming_soon" : r === "sales_ended" || r === "salesended" ? "sales_ended" : "on_sale";
|
|
219
219
|
}
|
|
220
220
|
function D(e) {
|
|
221
|
-
let
|
|
221
|
+
let t = l(e), n = t.venue || {}, o = r(t.timeZone || t.timezone || n.timeZone || n.timezone || "UTC"), s = (e.availableTickets || []).map((e) => ({
|
|
222
222
|
id: e.id || e.ID,
|
|
223
223
|
name: e.name || e.title || "",
|
|
224
224
|
description: e.description || void 0,
|
|
225
|
-
price:
|
|
225
|
+
price: a(e.price),
|
|
226
226
|
fee: e.fee == null ? 0 : e.fee,
|
|
227
227
|
quantityAvailable: e.remainingCapacity ?? e.quantityRemaining ?? e.quantity ?? 0,
|
|
228
228
|
quantityTotal: e.totalCapacity ?? e.quantity ?? 0,
|
|
@@ -235,21 +235,21 @@ function D(e) {
|
|
|
235
235
|
isHidden: e.visibility === 2 || e.isHidden === !0,
|
|
236
236
|
ticketType: e.type || e.ticketType || void 0,
|
|
237
237
|
sectionName: e.sectionName || e.section || void 0
|
|
238
|
-
})), u = s.filter((e) => !e.isHidden && !e.isDonation), d = u.reduce((e, t) => e + t.quantityAvailable, 0), f = u.reduce((e, t) => e + t.quantityTotal, 0), p = e.hasPurchasableHiddenTickets === !0, m = E(
|
|
239
|
-
id:
|
|
240
|
-
name:
|
|
241
|
-
address:
|
|
242
|
-
timezone:
|
|
243
|
-
serviceFeePercentage:
|
|
244
|
-
serviceFeeCents:
|
|
245
|
-
taxPercentage:
|
|
246
|
-
contactEmail:
|
|
247
|
-
}, x = (
|
|
238
|
+
})), u = s.filter((e) => !e.isHidden && !e.isDonation), d = u.reduce((e, t) => e + t.quantityAvailable, 0), f = u.reduce((e, t) => e + t.quantityTotal, 0), p = e.hasPurchasableHiddenTickets === !0, m = E(t.status, s, p), v = e.image || e.imageUrl || e.image_url || "", y = v.startsWith("http") ? v : c(v, { cdn: !0 }), b = {
|
|
239
|
+
id: n.id || n.ID || 0,
|
|
240
|
+
name: n.name || n.googleLocationNameCache || "",
|
|
241
|
+
address: n.address || n.googleLocationNameCache || "",
|
|
242
|
+
timezone: o,
|
|
243
|
+
serviceFeePercentage: n.serviceFeePercentage ?? n.fee ?? 0,
|
|
244
|
+
serviceFeeCents: n.serviceFeeCents == null ? 0 : n.serviceFeeCents,
|
|
245
|
+
taxPercentage: n.taxPercentage ?? n.tax ?? 0,
|
|
246
|
+
contactEmail: n.contactEmail || n.email || void 0
|
|
247
|
+
}, x = (t.performers || []).map((e) => ({
|
|
248
248
|
id: e.id || e.ID,
|
|
249
249
|
displayName: e.displayName || e.name || "",
|
|
250
250
|
profileImage: e.avatar || e.profileImage || void 0,
|
|
251
251
|
role: e.role || void 0
|
|
252
|
-
})), C =
|
|
252
|
+
})), C = t.faqs ? S(t.faqs) : S(n.faq), w = (t.showtimes || []).filter((e) => e.published !== !1).map((e, t) => ({
|
|
253
253
|
id: e.id ?? e.eventId ?? t + 1,
|
|
254
254
|
slug: e.slug || "",
|
|
255
255
|
startDateTime: e.startDateTime || e.startTime || "",
|
|
@@ -257,45 +257,45 @@ function D(e) {
|
|
|
257
257
|
status: e.ctaState?.reason === "sold_out" ? "sold_out" : "on_sale",
|
|
258
258
|
ctaText: e.ctaState?.text || "Get tickets",
|
|
259
259
|
ctaDisabled: e.ctaState?.disabled || !1
|
|
260
|
-
})), D =
|
|
260
|
+
})), D = t.startDateTime ? i(t.startDateTime, o) : "";
|
|
261
261
|
return {
|
|
262
|
-
id:
|
|
263
|
-
title:
|
|
264
|
-
slug:
|
|
265
|
-
description:
|
|
262
|
+
id: t.id,
|
|
263
|
+
title: t.title || "",
|
|
264
|
+
slug: t.slug || "",
|
|
265
|
+
description: t.description || t.eventSummary || "",
|
|
266
266
|
date: D,
|
|
267
|
-
startDateTime:
|
|
268
|
-
endDateTime:
|
|
269
|
-
doorsOpenTime:
|
|
270
|
-
timezone:
|
|
267
|
+
startDateTime: t.startDateTime || "",
|
|
268
|
+
endDateTime: t.endDateTime || "",
|
|
269
|
+
doorsOpenTime: t.doorsOpenTime || "",
|
|
270
|
+
timezone: o,
|
|
271
271
|
imageUrl: y,
|
|
272
272
|
venue: b,
|
|
273
273
|
performers: x,
|
|
274
274
|
tickets: s,
|
|
275
275
|
faqs: C,
|
|
276
|
-
disclaimer:
|
|
277
|
-
...h(
|
|
276
|
+
disclaimer: t.disclaimer || n.disclaimer || void 0,
|
|
277
|
+
...h(n),
|
|
278
278
|
status: m,
|
|
279
|
-
salesStatus:
|
|
279
|
+
salesStatus: t.salesStatus || void 0,
|
|
280
280
|
...p ? { hasPurchasableHiddenTickets: !0 } : {},
|
|
281
|
-
eventSeriesId:
|
|
281
|
+
eventSeriesId: t.eventSeriesId || void 0,
|
|
282
282
|
seriesOccurrences: w.length ? w : void 0,
|
|
283
|
-
isPasswordProtected:
|
|
284
|
-
isRegistrationEvent:
|
|
283
|
+
isPasswordProtected: t.hasPassword === !0 || !!t.password,
|
|
284
|
+
isRegistrationEvent: t.ticketType === 1 || t.eventTicketingType === 1,
|
|
285
285
|
totalTicketsRemaining: d,
|
|
286
286
|
totalTicketsCapacity: f,
|
|
287
|
-
stageName:
|
|
288
|
-
ageRestriction:
|
|
289
|
-
displayAgeRestriction:
|
|
290
|
-
displayStartTime:
|
|
291
|
-
displayEndTime:
|
|
292
|
-
displayDoorsTime:
|
|
293
|
-
displayTicketsLeft:
|
|
294
|
-
summary:
|
|
295
|
-
postSalesMessage:
|
|
296
|
-
collectionId:
|
|
297
|
-
venueAddressLines: g(
|
|
298
|
-
googleMapsUrl: _(
|
|
287
|
+
stageName: t.stage?.name || t.stageName || void 0,
|
|
288
|
+
ageRestriction: t.ageRestriction || void 0,
|
|
289
|
+
displayAgeRestriction: t.displayAgeRestriction ?? !1,
|
|
290
|
+
displayStartTime: t.displayStartTime ?? !0,
|
|
291
|
+
displayEndTime: t.displayEndTime ?? !0,
|
|
292
|
+
displayDoorsTime: t.displayDoorsTime ?? !0,
|
|
293
|
+
displayTicketsLeft: t.displayTicketsLeft ?? !0,
|
|
294
|
+
summary: t.eventSummary || void 0,
|
|
295
|
+
postSalesMessage: t.postSalesMessage || void 0,
|
|
296
|
+
collectionId: t.collectionId || void 0,
|
|
297
|
+
venueAddressLines: g(n.address || n.googleLocationNameCache || ""),
|
|
298
|
+
googleMapsUrl: _(n.address || n.googleLocationNameCache || "")
|
|
299
299
|
};
|
|
300
300
|
}
|
|
301
301
|
function O(e) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as e } from "./Button-C4uFgl7L.js";
|
|
2
|
-
import {
|
|
3
|
-
import { a as
|
|
4
|
-
import { t as d } from "./Badge-
|
|
2
|
+
import { D as t, b as n, h as r, i, t as a, v as o } from "./defaultLabels-D_9CneL4.js";
|
|
3
|
+
import { a as s, i as c, r as l, u } from "./constants-DqKf8bUn.js";
|
|
4
|
+
import { t as d } from "./Badge-DIHnRZlw.js";
|
|
5
5
|
import "svelte/internal/disclose-version";
|
|
6
6
|
import * as f from "svelte/internal/client";
|
|
7
7
|
//#region node_modules/@getmicdrop/svelte-components/dist/primitives/BlurBackdropImage/BlurBackdropImage.svelte
|
|
@@ -296,54 +296,54 @@ function F(e) {
|
|
|
296
296
|
}
|
|
297
297
|
function I(e) {
|
|
298
298
|
if (F(e.status) !== "onsale" || e.ticketsRemaining == null || e.ticketsTotal == null || e.ticketsTotal === 0 || e.ticketsRemaining <= 0) return !1;
|
|
299
|
-
let t =
|
|
299
|
+
let t = l(e.ticketsRemaining, e.ticketsTotal);
|
|
300
300
|
return t === "low" || t === "urgent";
|
|
301
301
|
}
|
|
302
|
-
function L(e,
|
|
302
|
+
function L(e, i) {
|
|
303
303
|
if (!e) return null;
|
|
304
|
-
let
|
|
304
|
+
let a = F(e.status ?? "");
|
|
305
305
|
for (let o of P) switch (o) {
|
|
306
306
|
case "cancelled":
|
|
307
|
-
if (
|
|
308
|
-
text:
|
|
307
|
+
if (a === "cancelled" || a === "canceled") return {
|
|
308
|
+
text: i?.statusCancelled || "Cancelled",
|
|
309
309
|
type: "cancelled"
|
|
310
310
|
};
|
|
311
311
|
break;
|
|
312
312
|
case "postponed":
|
|
313
|
-
if (
|
|
314
|
-
text:
|
|
313
|
+
if (a === "postponed") return {
|
|
314
|
+
text: i?.statusPostponed || "Postponed",
|
|
315
315
|
type: "postponed"
|
|
316
316
|
};
|
|
317
317
|
break;
|
|
318
318
|
case "past":
|
|
319
319
|
if (e.startDateTime) {
|
|
320
|
-
let
|
|
321
|
-
if (
|
|
322
|
-
text:
|
|
320
|
+
let a = n(e.endDateTime || e.startDateTime);
|
|
321
|
+
if (a && r(a, t()) < 0) return {
|
|
322
|
+
text: i?.statusPastEvent || "Past event",
|
|
323
323
|
type: "past"
|
|
324
324
|
};
|
|
325
325
|
}
|
|
326
326
|
break;
|
|
327
327
|
case "sold_out":
|
|
328
|
-
if (
|
|
329
|
-
text:
|
|
328
|
+
if (a === "soldout" || e.ticketsRemaining != null && e.ticketsRemaining <= 0 && e.ticketsTotal != null && e.ticketsTotal > 0) return {
|
|
329
|
+
text: i?.statusSoldOut || "Sold out",
|
|
330
330
|
type: "sold_out"
|
|
331
331
|
};
|
|
332
332
|
break;
|
|
333
333
|
case "sales_ended":
|
|
334
|
-
if (
|
|
335
|
-
text:
|
|
334
|
+
if (a === "salesended") return {
|
|
335
|
+
text: i?.statusSalesEnded || "Sales ended",
|
|
336
336
|
type: "sales_ended"
|
|
337
337
|
};
|
|
338
338
|
break;
|
|
339
339
|
case "coming_soon":
|
|
340
|
-
if (
|
|
341
|
-
text:
|
|
340
|
+
if (a === "comingsoon") return {
|
|
341
|
+
text: i?.statusComingSoon || "Coming soon",
|
|
342
342
|
type: "coming_soon"
|
|
343
343
|
};
|
|
344
344
|
break;
|
|
345
345
|
case "scarcity": if (I(e)) return {
|
|
346
|
-
text:
|
|
346
|
+
text: i?.statusSellingFast || "Selling fast",
|
|
347
347
|
type: "scarcity"
|
|
348
348
|
};
|
|
349
349
|
}
|
|
@@ -395,10 +395,10 @@ function B(e) {
|
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
397
|
function V(e) {
|
|
398
|
-
let t =
|
|
398
|
+
let t = o();
|
|
399
399
|
return e.filter((e) => {
|
|
400
400
|
if (F(e.status ?? "") === "postponed") return !0;
|
|
401
|
-
let n =
|
|
401
|
+
let n = s(t, e.timeZone);
|
|
402
402
|
return e.date >= n;
|
|
403
403
|
}).sort((e, t) => e.date.localeCompare(t.date));
|
|
404
404
|
}
|
|
@@ -415,28 +415,28 @@ function U(e, t) {
|
|
|
415
415
|
variant: "warning"
|
|
416
416
|
} : null;
|
|
417
417
|
}
|
|
418
|
-
function W(e, t =
|
|
419
|
-
let r = e.event, i = e.isSeries ? R(e.instances, t) : L(r, t),
|
|
418
|
+
function W(e, t = a, n) {
|
|
419
|
+
let r = e.event, i = e.isSeries ? R(e.instances, t) : L(r, t), o = i && i.type !== "past" ? {
|
|
420
420
|
text: i.text,
|
|
421
421
|
variant: B(i.type)
|
|
422
422
|
} : null;
|
|
423
|
-
!
|
|
424
|
-
let
|
|
425
|
-
let i =
|
|
423
|
+
!o && !e.isSeries && (o = U(r, t));
|
|
424
|
+
let s = M(r), l = r.startDateTime ? c(r.startDateTime, r.timeZone, n) : "", d = e.isSeries ? e.instances : r.startDateTime ? [r] : [], f = d.map((e) => {
|
|
425
|
+
let i = u(e.startDateTime, e.timeZone, n), a = L(e, t)?.type === "sold_out";
|
|
426
426
|
return {
|
|
427
427
|
timeLabel: i,
|
|
428
428
|
href: M(e),
|
|
429
429
|
ariaLabel: `${r.name} at ${i}${a ? ", sold out" : ""}`
|
|
430
430
|
};
|
|
431
431
|
}), p = [r.name];
|
|
432
|
-
return r.startDateTime && p.push(`on ${
|
|
432
|
+
return r.startDateTime && p.push(`on ${c(r.startDateTime, r.timeZone, n)}`), e.isSeries ? p.push(`${e.instances.length} showtimes available`) : r.startDateTime && p.push(`at ${u(r.startDateTime, r.timeZone, n)}`), i && p.push(i.text), {
|
|
433
433
|
title: r.name,
|
|
434
|
-
href:
|
|
434
|
+
href: s,
|
|
435
435
|
imageUrl: r.imageUrl ?? "",
|
|
436
|
-
dateLabel:
|
|
436
|
+
dateLabel: l,
|
|
437
437
|
description: r.description ?? "",
|
|
438
438
|
ariaLabel: p.join(", "),
|
|
439
|
-
badge:
|
|
439
|
+
badge: o,
|
|
440
440
|
pills: f,
|
|
441
441
|
pillEvents: d
|
|
442
442
|
};
|
|
@@ -172,7 +172,10 @@ var e = {
|
|
|
172
172
|
waitlistLinkUsed: "Bu bağlantı zaten kullanılmış. Hâlâ bekleme listesindesiniz",
|
|
173
173
|
waitlistLinkEmailMismatch: "Bu bağlantı farklı bir e-posta adresine gönderilmiş. Hâlâ bekleme listesindesiniz",
|
|
174
174
|
waitlistLinkInventoryExhausted: "Bu biletler az önce alındı. Hâlâ bekleme listesindesiniz — yeni bilet boşa çıkarsa size e-posta göndereceğiz",
|
|
175
|
-
dismiss: "Kapat"
|
|
175
|
+
dismiss: "Kapat",
|
|
176
|
+
keepMeUpdatedByVenue: "{venue} etkinliklerinden ve haberlerinden beni haberdar et",
|
|
177
|
+
privacyPolicyLink: "Gizlilik politikası",
|
|
178
|
+
paymentUnavailable: "Bu siparişin ödemesi şu anda alınamıyor — sayfayı yenileyin veya mekânla iletişime geçin"
|
|
176
179
|
};
|
|
177
180
|
//#endregion
|
|
178
181
|
export { e as tr };
|