@getmicdrop/venue-calendar 4.3.121 → 4.3.123
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 +22 -0
- package/dist/{AddOnCard-jj59e855.js → AddOnCard-nTlOLRHQ.js} +21 -21
- package/dist/{ArrowLeftIcon-t-CY0sbi.js → ArrowLeftIcon-D5-uNI0U.js} +2 -2
- package/dist/{BlockPlaceholder-BmEZ68_q.js → BlockPlaceholder-CuoGXCMh.js} +4 -4
- package/dist/{Button-VUB2WJ88.js → Button-BLmw_oMF.js} +11 -11
- package/dist/{Button-B58iYo_t.js → Button-DoHESV6k.js} +5 -5
- package/dist/{Calendar-hxcQBkTF.js → Calendar-C9hahXIM.js} +142 -161
- package/dist/{CalendarFoundryView-CSAKDe-F.js → CalendarFoundryView-Cv-ICYi9.js} +1475 -1473
- package/dist/{CalendarIcon-B5JWs0gm.js → CalendarIcon-5pe0K5ma.js} +2 -2
- package/dist/{CartView-CF2y1JDa.js → CartView-CXp67TQT.js} +287 -284
- package/dist/{ChartBlock-SYOAO1s_.js → ChartBlock-VVDwIPue.js} +36 -36
- package/dist/{CheckIcon-BSwoGox7.js → CheckIcon-FxQwEejD.js} +2 -2
- package/dist/{Checkbox-BtJwg_CF.js → Checkbox-Cn1nEBOm.js} +1 -1
- package/dist/{Checkout-2h2K3-bE.js → Checkout-BOftqs3v.js} +383 -381
- package/dist/Checkout-DQrcjCeh.js +1934 -0
- package/dist/{CheckoutTimer-Bpt5gPyA.js → CheckoutTimer-DPuy8TpI.js} +7 -7
- package/dist/{ChevronDownIcon-CVZ0usBx.js → ChevronDownIcon-ADsji-Ia.js} +2 -2
- package/dist/{ChevronDownOutline-D7YDiKBF.js → ChevronDownOutline-CAboOQwi.js} +1 -1
- package/dist/ChevronRightOutline-BWIIgG7O.js +23 -0
- package/dist/{CloseIcon-DUnvWXUY.js → CloseIcon-BgvYIos-.js} +3 -3
- package/dist/{CloseOutline-qpVa62mu.js → CloseOutline-BJtQbSqD.js} +1 -1
- package/dist/{CollectionView-XdNMvMtn.js → CollectionView-Ds3iGZYx.js} +8 -8
- package/dist/{CropImage-C8W_Xb_V.js → CropImage-Cvl-yxAB.js} +15 -15
- package/dist/{EmptyState-CMFePII9.js → EmptyState-BXE5HfzR.js} +2 -2
- package/dist/{Event-B_9T21du.js → Event-C8Y3zpPM.js} +620 -534
- package/dist/EventCard-DGnCiMw9.js +175 -0
- package/dist/{EventPage-BMnKpciU.js → EventPage-DjP9llB-.js} +294 -270
- package/dist/{ExclamationCircleOutline-D3XbhOwM.js → ExclamationCircleOutline-CmH69h0L.js} +1 -1
- package/dist/{action-test-id-7RXdHucW.js → FallbackBlock-C_-N8OKB.js} +72 -72
- package/dist/{Grid-kuP6V0GW.js → Grid-BKWXQEkM.js} +2 -2
- package/dist/{Heading-vOVPxhJF.js → Heading-CrJEsrFE.js} +4 -4
- package/dist/{Input-BXZmvQ0p.js → Input-komF5aTV.js} +10 -10
- package/dist/{LiveRegion-D9Me4kBs.js → LiveRegion-B_OI5McX.js} +2 -2
- package/dist/{LocationIcon-E-7CQh4E.js → LocationIcon-D7SbJ6q_.js} +3 -3
- package/dist/{Modal-kG0LKgMZ.js → Modal-_a_bJbko.js} +3 -3
- package/dist/{ModalFooter-CM5RDuvB.js → ModalFooter-CJPDF8Zl.js} +15 -15
- package/dist/{ModalHeader-DBVXezSL.js → ModalHeader-B3K9xN0J.js} +3 -3
- package/dist/{PasswordInput-DzXNIwRc.js → PasswordInput-C-SJ5Oix.js} +7 -7
- package/dist/{PhoneInput-DnmN_L03.js → PhoneInput-CYg7S7S7.js} +13 -13
- package/dist/{RecommendationsRail-DrzM8h2r.js → RecommendationsRail-QP0CJ7-3.js} +71 -68
- package/dist/{ScarcityBadge-DjzrzvId.js → ScarcityBadge-Cawy-u79.js} +7 -7
- package/dist/{SeriesPage-Ds_FEEZW.js → SeriesPage-BXLOd-gT.js} +3 -3
- package/dist/{Spinner-B2rdbspc.js → Spinner-DMSIvUd3.js} +3 -3
- package/dist/{Success-Dkak0iM9.js → Success-DCJLQx8J.js} +178 -175
- package/dist/{TagIcon-BY8tK_qA.js → TagIcon-CwCUhnam.js} +2 -2
- package/dist/{Text-CqjLjIF8.js → Text-uKiMcqy6.js} +1 -1
- package/dist/{Textarea-Cymhixzd.js → Textarea-DHm4GHH9.js} +3 -3
- package/dist/{ViewTicketsEmbed-B_fqalQh.js → ViewTicketsEmbed-Cblb2S6M.js} +24 -23
- package/dist/{WarningCircleIcon-C5Lc7qkF.js → WarningCircleIcon-ClRHaffl.js} +4 -4
- package/dist/{WarningTriIcon-BM8qc9xx.js → WarningTriIcon-zhqOKjq8.js} +2 -2
- package/dist/adapter-DwqQNwIc.js +164 -0
- package/dist/api--R8K0DjS.js +489 -0
- package/dist/{browser-DxdP6IWt.js → browser-o9TsPy0d.js} +1 -1
- package/dist/checkoutState-BtNPT28I.js +198 -0
- package/dist/client-CS0e2JHE.js +262 -0
- package/dist/{constants-C6MZgb2S.js → constants-lKAMwRvZ.js} +5 -1
- package/dist/{controlAria-CGb-KeRn.js → controlAria-DSrMfxwY.js} +2 -2
- package/dist/{copyToClipboard-F-akSgaF.js → copyToClipboard-198pSFq9.js} +3 -3
- package/dist/{createErrorGate.svelte-CEGaIQeI.js → createErrorGate.svelte-D96YnnB4.js} +5 -5
- package/dist/cta-bYAHgtET.js +116 -0
- package/dist/{datetime-BnKG6Hjm.js → datetime-B0mHwpmb.js} +53 -53
- package/dist/{de-BHcAXwnM.js → de-C3szl-Vf.js} +10 -4
- package/dist/{de-BPmqZ6ao.js → de-CX7o2WAr.js} +5 -1
- package/dist/{defaultLabels-BbNEEsF7.js → defaultLabels-C8IfDtR9.js} +210 -240
- package/dist/{defaults-CgsFJvJ2.js → defaults-vPJmFph1.js} +7 -7
- package/dist/{dist-bwbfGPKR.js → dist-xFB1K0Ua.js} +2 -2
- package/dist/{es-BV3Sgeg-.js → es-DS1-fjU8.js} +5 -1
- package/dist/{es-DZ3yceh-.js → es-QnJXFKEx.js} +10 -4
- package/dist/{event-DfqUhl5j.js → event-Cn1I6eqc.js} +2 -2
- package/dist/{event-transform-Bk1IoYh5.js → event-transform-DqzYVPvy.js} +18 -18
- package/dist/{eventStatusStream-CE0PwO0c.js → eventStatusStream-D27L0zB8.js} +2 -2
- package/dist/{filepond-plugin-file-validate-size-DNnItZ84.js → filepond-plugin-file-validate-size-DSfmFeGz.js} +1 -1
- package/dist/{filepond-plugin-file-validate-type-CUMTkI8X.js → filepond-plugin-file-validate-type-C44EKcE7.js} +1 -1
- package/dist/{filepond-plugin-image-exif-orientation-GEwHZTBU.js → filepond-plugin-image-exif-orientation-DNdFnriO.js} +1 -1
- package/dist/{filepond-plugin-image-preview-DKfgAnVa.js → filepond-plugin-image-preview-BVewVSQZ.js} +1 -1
- package/dist/{floatingPosition-XIv5DYuP.js → floatingPosition-TQ0h6TbT.js} +6 -6
- package/dist/{fr-Dyi163Vk.js → fr-BVgQDC6c.js} +10 -4
- package/dist/{fr-BJ0VQGEj.js → fr-CN3PiNzU.js} +5 -1
- package/dist/{href-CfWGAmkP.js → href-Cl_PNVlB.js} +24 -24
- package/dist/i18n-BsgEaeHp.js +497 -0
- package/dist/i18n-SDe3ZEhB.js +28 -0
- package/dist/{id-CVXaHHqU.js → id-CPG4tPVY.js} +5 -1
- package/dist/{id-DvFRZVAm.js → id-DCcXxLEY.js} +10 -4
- package/dist/{imageOptimizer-B3fj8_30.js → imageOptimizer-C8racBby.js} +11 -11
- package/dist/{imageUrl-xyMedKrE.js → imageUrl-ClaMf08i.js} +1 -1
- package/dist/{it-C0lzsHje.js → it-CjwnCYFF.js} +5 -1
- package/dist/{it-Bh05tcLv.js → it-CufAwhe3.js} +10 -4
- package/dist/{ja-Dl2r6tQ6.js → ja-C2uiNCJX.js} +5 -1
- package/dist/{ja-CU4PQS4j.js → ja-CMa_nsLY.js} +10 -4
- package/dist/{keyboard-DhCcdIyh.js → keyboard-enDXh6xy.js} +4 -4
- package/dist/{ko-DINqFSE1.js → ko-Bh97byDf.js} +5 -1
- package/dist/{ko-DDk6EdWm.js → ko-BwJHUjqS.js} +10 -4
- package/dist/{lazyOnce-CCfEO1xG.js → lazyOnce-BL5svIPP.js} +1 -1
- package/dist/locales/{4.3.121 → 4.3.123}/flow/de.js +1 -1
- package/dist/locales/{4.3.121 → 4.3.123}/flow/es.js +1 -1
- package/dist/locales/{4.3.121 → 4.3.123}/flow/fr.js +1 -1
- package/dist/locales/{4.3.121 → 4.3.123}/flow/id.js +1 -1
- package/dist/locales/{4.3.121 → 4.3.123}/flow/it.js +1 -1
- package/dist/locales/{4.3.121 → 4.3.123}/flow/ja.js +1 -1
- package/dist/locales/{4.3.121 → 4.3.123}/flow/ko.js +1 -1
- package/dist/locales/{4.3.121 → 4.3.123}/flow/nl.js +1 -1
- package/dist/locales/{4.3.121 → 4.3.123}/flow/pl.js +1 -1
- package/dist/locales/{4.3.121 → 4.3.123}/flow/pt-br.js +1 -1
- package/dist/locales/{4.3.121 → 4.3.123}/flow/tr.js +1 -1
- package/dist/locales/{4.3.121 → 4.3.123}/flow/zh.js +1 -1
- package/dist/locales/4.3.123/main/de.js +1 -0
- package/dist/locales/4.3.123/main/es.js +1 -0
- package/dist/locales/4.3.123/main/fr.js +1 -0
- package/dist/locales/4.3.123/main/id.js +1 -0
- package/dist/locales/4.3.123/main/it.js +1 -0
- package/dist/locales/4.3.123/main/ja.js +1 -0
- package/dist/locales/4.3.123/main/ko.js +1 -0
- package/dist/locales/4.3.123/main/nl.js +1 -0
- package/dist/locales/4.3.123/main/pl.js +1 -0
- package/dist/locales/4.3.123/main/pt-br.js +1 -0
- package/dist/locales/4.3.123/main/tr.js +1 -0
- package/dist/locales/4.3.123/main/zh.js +1 -0
- package/dist/look-island.svelte-Dr-Vl_J1.js +1279 -0
- package/dist/looks/4.3.123/looks.js +226 -0
- package/dist/looks/4.3.123/micdrop-wordmark-BYMG6vLR.svg +1 -0
- package/dist/looks/4.3.123/microphone-Ccv4r-kd.webp +0 -0
- package/dist/looks/4.3.123/superuser-CZF6a5gO.webp +0 -0
- package/dist/looks/4.3.123/treasury-DUE7lZzT.webp +0 -0
- package/dist/looks/4.3.123/user-image-yuS4errP.svg +9 -0
- package/dist/{modalManager.svelte-Cz_6x1Qd.js → modalManager.svelte-BUU99uSO.js} +1 -1
- package/dist/navigation-DlpJzq1c.js +176 -0
- package/dist/{nl-DOSKYHSx.js → nl-BQALrtyB.js} +10 -4
- package/dist/{nl-D92n5tHa.js → nl-ve_OaXOQ.js} +5 -1
- package/dist/normalizers-B8Ruvrlh.js +44 -0
- package/dist/{phoneUtils-CS66SHie.js → phoneUtils-CQvpvMDO.js} +50 -50
- package/dist/{pixels-Bu5-BISs.js → pixels-BZQYpQU0.js} +3 -3
- package/dist/{pl-BlZHcnlS.js → pl-BHBBOz2I.js} +5 -1
- package/dist/{pl-CkLEymA2.js → pl-DaPcPjBE.js} +10 -4
- package/dist/{portal-D-oaEWsY.js → portal-CLBp645_.js} +2 -2
- package/dist/{portalContainment-CeAVqIb-.js → portalContainment-Dz0y6lW6.js} +2 -2
- package/dist/{pt-br-BHuCQSM-.js → pt-br-BxdP86Vr.js} +10 -4
- package/dist/{pt-br-BrxthY0b.js → pt-br-D30dkLzU.js} +5 -1
- package/dist/seo/seo.mjs +9 -9
- package/dist/{serverTotals-B8SJCzxE.js → serverTotals-F3SRKn1I.js} +6 -6
- package/dist/{showcase-state-options-KO_TYk3I.js → showcase-state-options-DRCOUibv.js} +3 -3
- package/dist/{sizing-B7ixYndz.js → sizing-DFjg7-wy.js} +3 -3
- package/dist/{sortable.esm--ZtTTTPp.js → sortable.esm-RsK3eRs6.js} +1 -1
- package/dist/{src-DZgagYE3.js → src-DJtQCBFq.js} +1 -1
- package/dist/to-event-card-props-CBtlDgMr.js +205 -0
- package/dist/{tr-BnAdi4HO.js → tr-CFVBCuqV.js} +5 -1
- package/dist/{tr-Bvc34ODh.js → tr-CSfagpI3.js} +10 -4
- package/dist/types/index.d.ts +21 -4
- package/dist/utils-BXiwc_cU.js +219 -0
- package/dist/venue-calendar.css +1 -1
- package/dist/venue-calendar.es.js +1591 -1895
- package/dist/venue-calendar.iife.js +35 -35
- package/dist/venue-calendar.umd.js +175 -54
- package/dist/widget-key-context-litAkRgC.js +744 -0
- package/dist/{zh-K0hOzZ3G.js → zh-DWMcKVLH.js} +10 -4
- package/dist/{zh-Tg1OTvWs.js → zh-DeEOoOFR.js} +5 -1
- package/package.json +3 -3
- package/src/lib/theme.js +222 -222
- package/dist/Checkout-BFu5dTw_.js +0 -1933
- package/dist/api-BEYkGabB.js +0 -654
- package/dist/i18n-B705OXZp.js +0 -28
- package/dist/i18n-BoMUWcCq.js +0 -608
- package/dist/locales/4.3.121/main/de.js +0 -1
- package/dist/locales/4.3.121/main/es.js +0 -1
- package/dist/locales/4.3.121/main/fr.js +0 -1
- package/dist/locales/4.3.121/main/id.js +0 -1
- package/dist/locales/4.3.121/main/it.js +0 -1
- package/dist/locales/4.3.121/main/ja.js +0 -1
- package/dist/locales/4.3.121/main/ko.js +0 -1
- package/dist/locales/4.3.121/main/nl.js +0 -1
- package/dist/locales/4.3.121/main/pl.js +0 -1
- package/dist/locales/4.3.121/main/pt-br.js +0 -1
- package/dist/locales/4.3.121/main/tr.js +0 -1
- package/dist/locales/4.3.121/main/zh.js +0 -1
- package/dist/to-event-card-props-DYIfPN8e.js +0 -379
- package/dist/utils-NMx3aPDk.js +0 -412
- package/dist/widget-key-context-D2zj4sp5.js +0 -988
|
@@ -0,0 +1,497 @@
|
|
|
1
|
+
import { A as e, T as t, _ as n, f as r, g as i, h as a, p as o } from "./datetime-B0mHwpmb.js";
|
|
2
|
+
import { I as s } from "./defaultLabels-C8IfDtR9.js";
|
|
3
|
+
import { f as c } from "./widget-key-context-litAkRgC.js";
|
|
4
|
+
import "./api--R8K0DjS.js";
|
|
5
|
+
import { t as l } from "./Text-uKiMcqy6.js";
|
|
6
|
+
import { t as u } from "./cta-bYAHgtET.js";
|
|
7
|
+
import { n as d } from "./constants-lKAMwRvZ.js";
|
|
8
|
+
import "svelte/internal/disclose-version";
|
|
9
|
+
import * as f from "svelte/internal/client";
|
|
10
|
+
//#region src/lib/public-calendar-flow/defaults.ts
|
|
11
|
+
function p(e, t) {
|
|
12
|
+
let r = n(e, t);
|
|
13
|
+
return r === "sold-out" ? "sold_out" : r === "plenty" ? "none" : r;
|
|
14
|
+
}
|
|
15
|
+
function m(e, t, n, r) {
|
|
16
|
+
return e === "none" ? null : e === "sold_out" ? "Sold out" : r?.isFree ? null : e === "urgent" && n !== "browse" && t <= i.MAX_EXACT_COUNT ? `Only ${t} left` : e === "low" || e === "urgent" ? "Selling fast" : null;
|
|
17
|
+
}
|
|
18
|
+
var h = {
|
|
19
|
+
cancelled: (e) => e.eventCancelled,
|
|
20
|
+
postponed: (e) => e.eventPostponed,
|
|
21
|
+
event_past: (e) => e.eventEnded,
|
|
22
|
+
no_tickets: (e) => e.noTicketsAvailable,
|
|
23
|
+
sold_out: (e) => e.soldOut,
|
|
24
|
+
sold_out_waitlist: (e) => e.joinWaitlist,
|
|
25
|
+
sales_ended: (e) => e.salesEnded,
|
|
26
|
+
sales_paused: (e) => e.salesPaused
|
|
27
|
+
}, g = {
|
|
28
|
+
cancelled: (e) => e.reasonEventCancelled,
|
|
29
|
+
postponed: (e) => e.eventPostponedBanner,
|
|
30
|
+
event_past: (e) => e.reasonEventPast,
|
|
31
|
+
no_tickets: (e) => e.reasonNoTickets,
|
|
32
|
+
sold_out_waitlist: (e) => e.reasonSoldOutWaitlist
|
|
33
|
+
};
|
|
34
|
+
function _(e) {
|
|
35
|
+
let t = (e || "").trim().toLowerCase();
|
|
36
|
+
return t === "canceled" || t === "cancelled";
|
|
37
|
+
}
|
|
38
|
+
function v(e, t, n, r) {
|
|
39
|
+
if (e === "available" || e === "hidden_only") return n ? r.reserveASpot || t : r.getTickets || t;
|
|
40
|
+
let i = e ? h[e] : void 0;
|
|
41
|
+
return i && i(r) || t;
|
|
42
|
+
}
|
|
43
|
+
function y(e, t, n) {
|
|
44
|
+
let r = e.ctaText || n.getTickets || "Get tickets", i = t || e.ctaText === "Reserve a spot";
|
|
45
|
+
return v(e.ctaReason, r, i, n);
|
|
46
|
+
}
|
|
47
|
+
function b(e) {
|
|
48
|
+
let t = e.tickets.map((e) => ({
|
|
49
|
+
salesBegin: e.salesStartDate,
|
|
50
|
+
salesEnd: e.salesEndDate,
|
|
51
|
+
remainingCapacity: e.quantityAvailable,
|
|
52
|
+
totalCapacity: e.quantityTotal,
|
|
53
|
+
soldOut: e.status === "sold_out",
|
|
54
|
+
salesChannel: 1,
|
|
55
|
+
isHidden: e.isHidden
|
|
56
|
+
}));
|
|
57
|
+
return u({
|
|
58
|
+
startDateTime: e.startDateTime,
|
|
59
|
+
endDateTime: e.endDateTime,
|
|
60
|
+
salesStatus: e.salesStatus,
|
|
61
|
+
timezone: e.timezone,
|
|
62
|
+
status: e.status,
|
|
63
|
+
hasPurchasableHiddenTickets: e.hasPurchasableHiddenTickets
|
|
64
|
+
}, t, {
|
|
65
|
+
cancelled: !1,
|
|
66
|
+
isRegistration: e.isRegistrationEvent,
|
|
67
|
+
waitlistEnabled: !1
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
function x(e, t = d) {
|
|
71
|
+
if (e.status === "cancelled") return {
|
|
72
|
+
text: t.eventCancelled || "Canceled",
|
|
73
|
+
disabled: !0,
|
|
74
|
+
reason: t.reasonEventCancelled || "This event has been canceled"
|
|
75
|
+
};
|
|
76
|
+
if (e.status === "postponed") return {
|
|
77
|
+
text: t.eventPostponed || "Postponed",
|
|
78
|
+
disabled: !0,
|
|
79
|
+
reason: t.eventPostponedBanner || "This event has been postponed. Ticket sales are paused"
|
|
80
|
+
};
|
|
81
|
+
if (e.status === "past") return {
|
|
82
|
+
text: t.eventEnded || "Ended",
|
|
83
|
+
disabled: !0,
|
|
84
|
+
reason: t.reasonEventPast || "This event has already happened"
|
|
85
|
+
};
|
|
86
|
+
let n = b(e);
|
|
87
|
+
return {
|
|
88
|
+
text: v(n.reason, n.text, e.isRegistrationEvent === !0, t),
|
|
89
|
+
disabled: n.disabled,
|
|
90
|
+
reason: n.disabled ? w(n.reason, t) : void 0
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
function S(e, t = d, n, r = {}) {
|
|
94
|
+
let i = () => ({
|
|
95
|
+
text: t.eventCancelled || "Canceled",
|
|
96
|
+
variant: "error"
|
|
97
|
+
}), a = () => ({
|
|
98
|
+
text: t.eventPostponed || "Postponed",
|
|
99
|
+
variant: "warning"
|
|
100
|
+
});
|
|
101
|
+
if (n) return _(n) ? i() : n === "postponed" ? a() : null;
|
|
102
|
+
if (e.status === "cancelled") return i();
|
|
103
|
+
if (e.status === "postponed") return a();
|
|
104
|
+
if (e.status === "past") return {
|
|
105
|
+
text: t.eventEnded || "Ended",
|
|
106
|
+
variant: "neutral"
|
|
107
|
+
};
|
|
108
|
+
let o = () => ({
|
|
109
|
+
text: t.soldOut || "Sold out",
|
|
110
|
+
variant: "neutral"
|
|
111
|
+
});
|
|
112
|
+
if (C(e, !!r.gated, !!r.waitlistEnabled) !== null) return o();
|
|
113
|
+
let { reason: s } = b(e);
|
|
114
|
+
return s === "event_past" ? {
|
|
115
|
+
text: t.eventEnded || "Ended",
|
|
116
|
+
variant: "neutral"
|
|
117
|
+
} : s === "sales_paused" ? {
|
|
118
|
+
text: t.salesPaused || "Sales paused",
|
|
119
|
+
variant: "warning"
|
|
120
|
+
} : s === "sold_out" || s === "sold_out_waitlist" ? o() : null;
|
|
121
|
+
}
|
|
122
|
+
function C(e, t, n) {
|
|
123
|
+
if (!t || !n || e.status === "cancelled" || e.status === "postponed" || e.status === "past") return null;
|
|
124
|
+
let { reason: r } = b(e);
|
|
125
|
+
return r === "sold_out" ? e.tickets.some((e) => !e.isHidden && e.status === "on_sale" && (e.quantityAvailable ?? 0) > 0) ? "held" : "join" : r === "available" || r === "hidden_only" ? "held" : null;
|
|
126
|
+
}
|
|
127
|
+
function w(e, t = d) {
|
|
128
|
+
if (!e) return;
|
|
129
|
+
let n = g[e], r = n && n(t);
|
|
130
|
+
if (r) return r;
|
|
131
|
+
switch (e) {
|
|
132
|
+
case "cancelled": return "This event has been cancelled";
|
|
133
|
+
case "event_past": return "This event has already happened";
|
|
134
|
+
case "no_tickets": return "There are no tickets configured for this event";
|
|
135
|
+
case "coming_soon": return;
|
|
136
|
+
case "sold_out": return;
|
|
137
|
+
case "sold_out_waitlist": return "All tickets are claimed. Join the waitlist to be notified";
|
|
138
|
+
case "sales_ended": return;
|
|
139
|
+
case "sales_paused": return;
|
|
140
|
+
default: return;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
function T(e) {
|
|
144
|
+
let t = e.tickets.filter((e) => e.status === "on_sale" && !e.isHidden);
|
|
145
|
+
return t.length > 0 && t.every((e) => e.price === 0 && !e.isDonation);
|
|
146
|
+
}
|
|
147
|
+
function E(e) {
|
|
148
|
+
let t = e.tickets.filter((e) => e.status === "on_sale" && !e.isHidden);
|
|
149
|
+
if (t.length === 0) return null;
|
|
150
|
+
let n = t.some((e) => e.isDonation || e.ticketType === 2), i = t.filter((e) => !e.isDonation && e.ticketType !== 2), o = i.some((e) => e.price === 0), s = i.filter((e) => e.price > 0);
|
|
151
|
+
if (s.length === 0 && !o && n) return "Donation";
|
|
152
|
+
if (s.length === 0 && o) return null;
|
|
153
|
+
let c = Math.min(...s.map((e) => a(e) ?? e.price));
|
|
154
|
+
if (o) return "Free";
|
|
155
|
+
let l = r(c);
|
|
156
|
+
return n ? `From ${l}` : s.length === 1 ? l : `From ${l}`;
|
|
157
|
+
}
|
|
158
|
+
function D(t, n) {
|
|
159
|
+
return e(n / 100 * t);
|
|
160
|
+
}
|
|
161
|
+
var O = {
|
|
162
|
+
instant: 100,
|
|
163
|
+
micro: 150,
|
|
164
|
+
fast: 200,
|
|
165
|
+
normal: 300,
|
|
166
|
+
slow: 400,
|
|
167
|
+
elaborate: 600
|
|
168
|
+
};
|
|
169
|
+
function k() {
|
|
170
|
+
return {
|
|
171
|
+
code: "",
|
|
172
|
+
isApplied: !1,
|
|
173
|
+
isValidating: !1,
|
|
174
|
+
error: "",
|
|
175
|
+
hint: "",
|
|
176
|
+
discountAmount: 0,
|
|
177
|
+
discountType: "",
|
|
178
|
+
discountTicketIds: [],
|
|
179
|
+
revealHiddenTickets: !1,
|
|
180
|
+
revealTicketIds: []
|
|
181
|
+
};
|
|
182
|
+
}
|
|
183
|
+
function A(e) {
|
|
184
|
+
return e.filter((e) => !e.isHidden && e.status === "on_sale");
|
|
185
|
+
}
|
|
186
|
+
function j(e) {
|
|
187
|
+
return A(e.tickets).filter((e) => !e.isDonation).every((e) => e.price === 0);
|
|
188
|
+
}
|
|
189
|
+
//#endregion
|
|
190
|
+
//#region src/lib/public-calendar-flow/OrderSummary.svelte
|
|
191
|
+
var M = f.from_html("<div class=\"flex justify-between\"><!> <!></div>"), N = f.from_html("<div class=\"flex justify-between pt-1\"><!></div> <!>", 1), P = f.from_html("<!> <!>", 1), F = f.from_html("<div class=\"flex justify-between pt-1 border-t border-default\"><!> <!></div>"), I = f.from_html("<!> <!> <!> <!> <!> <div class=\"flex justify-between pt-2 border-t border-default\"><!> <!></div>", 1), L = f.from_html("<div class=\"space-y-2\"><!> <!></div>");
|
|
192
|
+
function R(e, n) {
|
|
193
|
+
f.push(n, !0);
|
|
194
|
+
let r = f.prop(n, "labels", 3, d), i = f.prop(n, "mode", 3, "full");
|
|
195
|
+
function a(e) {
|
|
196
|
+
return e == null ? "—" : t(s(e));
|
|
197
|
+
}
|
|
198
|
+
function c(e) {
|
|
199
|
+
return e.lineKey ?? `t:${String(e.ticketId)}`;
|
|
200
|
+
}
|
|
201
|
+
let u = f.derived(() => n.orderTotals.lines.filter((e) => e.kind !== "addon")), p = f.derived(() => n.orderTotals.lines.filter((e) => e.kind === "addon"));
|
|
202
|
+
var m = L(), h = f.child(m), g = (e) => {
|
|
203
|
+
var n = P(), i = f.first_child(n);
|
|
204
|
+
f.each(i, 17, () => f.get(u), (e) => c(e), (e, n) => {
|
|
205
|
+
var i = M(), a = f.child(i);
|
|
206
|
+
l(a, {
|
|
207
|
+
size: "sm",
|
|
208
|
+
children: (e, t) => {
|
|
209
|
+
f.next();
|
|
210
|
+
var r = f.text();
|
|
211
|
+
f.template_effect(() => f.set_text(r, `${f.get(n).quantity ?? ""}x ${f.get(n).ticketName ?? ""}`)), f.append(e, r);
|
|
212
|
+
},
|
|
213
|
+
$$slots: { default: !0 }
|
|
214
|
+
});
|
|
215
|
+
var c = f.sibling(a, 2);
|
|
216
|
+
l(c, {
|
|
217
|
+
size: "sm",
|
|
218
|
+
children: (e, i) => {
|
|
219
|
+
var a = f.comment(), c = f.first_child(a), l = (e) => {
|
|
220
|
+
var t = f.text();
|
|
221
|
+
t.nodeValue = "—", f.append(e, t);
|
|
222
|
+
}, u = (e) => {
|
|
223
|
+
var r = f.text();
|
|
224
|
+
f.template_effect((e) => f.set_text(r, e), [() => t(s(f.get(n).subtotal))]), f.append(e, r);
|
|
225
|
+
}, d = (e) => {
|
|
226
|
+
var t = f.text();
|
|
227
|
+
f.template_effect((e) => f.set_text(t, e), [() => o(f.get(n).subtotal, r())]), f.append(e, t);
|
|
228
|
+
};
|
|
229
|
+
f.if(c, (e) => {
|
|
230
|
+
f.get(n).subtotal == null ? e(l) : f.get(n).isDonation ? e(u, 1) : e(d, -1);
|
|
231
|
+
}), f.append(e, a);
|
|
232
|
+
},
|
|
233
|
+
$$slots: { default: !0 }
|
|
234
|
+
}), f.reset(i), f.append(e, i);
|
|
235
|
+
});
|
|
236
|
+
var a = f.sibling(i, 2), d = (e) => {
|
|
237
|
+
var t = N(), n = f.first_child(t), i = f.child(n);
|
|
238
|
+
l(i, {
|
|
239
|
+
size: "sm",
|
|
240
|
+
color: "muted",
|
|
241
|
+
children: (e, t) => {
|
|
242
|
+
f.next();
|
|
243
|
+
var n = f.text();
|
|
244
|
+
f.template_effect(() => f.set_text(n, r().addOns || "Add-ons")), f.append(e, n);
|
|
245
|
+
},
|
|
246
|
+
$$slots: { default: !0 }
|
|
247
|
+
}), f.reset(n);
|
|
248
|
+
var a = f.sibling(n, 2);
|
|
249
|
+
f.each(a, 17, () => f.get(p), (e) => c(e), (e, t) => {
|
|
250
|
+
var n = M(), i = f.child(n);
|
|
251
|
+
l(i, {
|
|
252
|
+
size: "sm",
|
|
253
|
+
children: (e, n) => {
|
|
254
|
+
f.next();
|
|
255
|
+
var r = f.text();
|
|
256
|
+
f.template_effect(() => f.set_text(r, `${f.get(t).quantity ?? ""}x ${f.get(t).ticketName ?? ""}`)), f.append(e, r);
|
|
257
|
+
},
|
|
258
|
+
$$slots: { default: !0 }
|
|
259
|
+
});
|
|
260
|
+
var a = f.sibling(i, 2);
|
|
261
|
+
l(a, {
|
|
262
|
+
size: "sm",
|
|
263
|
+
children: (e, n) => {
|
|
264
|
+
var i = f.comment(), a = f.first_child(i), s = (e) => {
|
|
265
|
+
var t = f.text();
|
|
266
|
+
t.nodeValue = "—", f.append(e, t);
|
|
267
|
+
}, c = (e) => {
|
|
268
|
+
var n = f.text();
|
|
269
|
+
f.template_effect((e) => f.set_text(n, e), [() => o(f.get(t).subtotal, r())]), f.append(e, n);
|
|
270
|
+
};
|
|
271
|
+
f.if(a, (e) => {
|
|
272
|
+
f.get(t).subtotal == null ? e(s) : e(c, -1);
|
|
273
|
+
}), f.append(e, i);
|
|
274
|
+
},
|
|
275
|
+
$$slots: { default: !0 }
|
|
276
|
+
}), f.reset(n), f.append(e, n);
|
|
277
|
+
}), f.append(e, t);
|
|
278
|
+
};
|
|
279
|
+
f.if(a, (e) => {
|
|
280
|
+
f.get(p).length > 0 && e(d);
|
|
281
|
+
}), f.append(e, n);
|
|
282
|
+
};
|
|
283
|
+
f.if(h, (e) => {
|
|
284
|
+
i() !== "totals" && e(g);
|
|
285
|
+
});
|
|
286
|
+
var _ = f.sibling(h, 2), v = (e) => {
|
|
287
|
+
var o = I(), c = f.first_child(o), u = (e) => {
|
|
288
|
+
var t = F(), i = f.child(t);
|
|
289
|
+
l(i, {
|
|
290
|
+
size: "sm",
|
|
291
|
+
color: "muted",
|
|
292
|
+
children: (e, t) => {
|
|
293
|
+
f.next();
|
|
294
|
+
var n = f.text();
|
|
295
|
+
f.template_effect(() => f.set_text(n, r().subtotal || "Subtotal")), f.append(e, n);
|
|
296
|
+
},
|
|
297
|
+
$$slots: { default: !0 }
|
|
298
|
+
});
|
|
299
|
+
var o = f.sibling(i, 2);
|
|
300
|
+
l(o, {
|
|
301
|
+
size: "sm",
|
|
302
|
+
color: "muted",
|
|
303
|
+
children: (e, t) => {
|
|
304
|
+
f.next();
|
|
305
|
+
var r = f.text();
|
|
306
|
+
f.template_effect((e) => f.set_text(r, e), [() => a(n.orderTotals.subtotal)]), f.append(e, r);
|
|
307
|
+
},
|
|
308
|
+
$$slots: { default: !0 }
|
|
309
|
+
}), f.reset(t), f.append(e, t);
|
|
310
|
+
}, d = (e) => {
|
|
311
|
+
var t = M(), i = f.child(t);
|
|
312
|
+
l(i, {
|
|
313
|
+
size: "sm",
|
|
314
|
+
color: "muted",
|
|
315
|
+
children: (e, t) => {
|
|
316
|
+
f.next();
|
|
317
|
+
var n = f.text();
|
|
318
|
+
f.template_effect(() => f.set_text(n, r().subtotal || "Subtotal")), f.append(e, n);
|
|
319
|
+
},
|
|
320
|
+
$$slots: { default: !0 }
|
|
321
|
+
});
|
|
322
|
+
var o = f.sibling(i, 2);
|
|
323
|
+
l(o, {
|
|
324
|
+
size: "sm",
|
|
325
|
+
color: "muted",
|
|
326
|
+
children: (e, t) => {
|
|
327
|
+
f.next();
|
|
328
|
+
var r = f.text();
|
|
329
|
+
f.template_effect((e) => f.set_text(r, e), [() => a(n.orderTotals.subtotal)]), f.append(e, r);
|
|
330
|
+
},
|
|
331
|
+
$$slots: { default: !0 }
|
|
332
|
+
}), f.reset(t), f.append(e, t);
|
|
333
|
+
};
|
|
334
|
+
f.if(c, (e) => {
|
|
335
|
+
i() === "full" && n.orderTotals.lines.length > 1 ? e(u) : n.orderTotals.lines.length > 1 && e(d, 1);
|
|
336
|
+
});
|
|
337
|
+
var p = f.sibling(c, 2), m = (e) => {
|
|
338
|
+
var i = M(), a = f.child(i);
|
|
339
|
+
l(a, {
|
|
340
|
+
size: "sm",
|
|
341
|
+
color: "success",
|
|
342
|
+
children: (e, t) => {
|
|
343
|
+
f.next();
|
|
344
|
+
var n = f.text();
|
|
345
|
+
f.template_effect(() => f.set_text(n, r().promoDiscount || "Promo discount")), f.append(e, n);
|
|
346
|
+
},
|
|
347
|
+
$$slots: { default: !0 }
|
|
348
|
+
});
|
|
349
|
+
var o = f.sibling(a, 2);
|
|
350
|
+
l(o, {
|
|
351
|
+
size: "sm",
|
|
352
|
+
color: "success",
|
|
353
|
+
children: (e, r) => {
|
|
354
|
+
f.next();
|
|
355
|
+
var i = f.text();
|
|
356
|
+
f.template_effect((e) => f.set_text(i, `-${e ?? ""}`), [() => t(s(n.orderTotals.promoDiscount))]), f.append(e, i);
|
|
357
|
+
},
|
|
358
|
+
$$slots: { default: !0 }
|
|
359
|
+
}), f.reset(i), f.append(e, i);
|
|
360
|
+
};
|
|
361
|
+
f.if(p, (e) => {
|
|
362
|
+
n.orderTotals.promoDiscount > 0 && e(m);
|
|
363
|
+
});
|
|
364
|
+
var h = f.sibling(p, 2), g = (e) => {
|
|
365
|
+
var t = M(), i = f.child(t);
|
|
366
|
+
l(i, {
|
|
367
|
+
size: "sm",
|
|
368
|
+
color: "muted",
|
|
369
|
+
children: (e, t) => {
|
|
370
|
+
f.next();
|
|
371
|
+
var n = f.text();
|
|
372
|
+
f.template_effect(() => f.set_text(n, r().serviceFees || "Service fees")), f.append(e, n);
|
|
373
|
+
},
|
|
374
|
+
$$slots: { default: !0 }
|
|
375
|
+
});
|
|
376
|
+
var o = f.sibling(i, 2);
|
|
377
|
+
l(o, {
|
|
378
|
+
size: "sm",
|
|
379
|
+
color: "muted",
|
|
380
|
+
children: (e, t) => {
|
|
381
|
+
f.next();
|
|
382
|
+
var r = f.text();
|
|
383
|
+
f.template_effect((e) => f.set_text(r, e), [() => a(n.orderTotals.fees)]), f.append(e, r);
|
|
384
|
+
},
|
|
385
|
+
$$slots: { default: !0 }
|
|
386
|
+
}), f.reset(t), f.append(e, t);
|
|
387
|
+
};
|
|
388
|
+
f.if(h, (e) => {
|
|
389
|
+
(n.orderTotals.fees == null || n.orderTotals.fees > 0) && e(g);
|
|
390
|
+
});
|
|
391
|
+
var _ = f.sibling(h, 2), v = (e) => {
|
|
392
|
+
var i = M(), a = f.child(i);
|
|
393
|
+
l(a, {
|
|
394
|
+
size: "sm",
|
|
395
|
+
color: "muted",
|
|
396
|
+
children: (e, t) => {
|
|
397
|
+
f.next();
|
|
398
|
+
var n = f.text();
|
|
399
|
+
f.template_effect(() => f.set_text(n, r().taxes || "Taxes")), f.append(e, n);
|
|
400
|
+
},
|
|
401
|
+
$$slots: { default: !0 }
|
|
402
|
+
});
|
|
403
|
+
var o = f.sibling(a, 2);
|
|
404
|
+
l(o, {
|
|
405
|
+
size: "sm",
|
|
406
|
+
color: "muted",
|
|
407
|
+
children: (e, r) => {
|
|
408
|
+
f.next();
|
|
409
|
+
var i = f.text();
|
|
410
|
+
f.template_effect((e) => f.set_text(i, e), [() => t(s(n.orderTotals.taxes))]), f.append(e, i);
|
|
411
|
+
},
|
|
412
|
+
$$slots: { default: !0 }
|
|
413
|
+
}), f.reset(i), f.append(e, i);
|
|
414
|
+
};
|
|
415
|
+
f.if(_, (e) => {
|
|
416
|
+
n.orderTotals.taxes > 0 && e(v);
|
|
417
|
+
});
|
|
418
|
+
var y = f.sibling(_, 2), b = (e) => {
|
|
419
|
+
var i = M(), a = f.child(i);
|
|
420
|
+
l(a, {
|
|
421
|
+
size: "sm",
|
|
422
|
+
color: "success",
|
|
423
|
+
children: (e, t) => {
|
|
424
|
+
f.next();
|
|
425
|
+
var n = f.text();
|
|
426
|
+
f.template_effect(() => f.set_text(n, r().giftCard || "Gift card")), f.append(e, n);
|
|
427
|
+
},
|
|
428
|
+
$$slots: { default: !0 }
|
|
429
|
+
});
|
|
430
|
+
var o = f.sibling(a, 2);
|
|
431
|
+
l(o, {
|
|
432
|
+
size: "sm",
|
|
433
|
+
color: "success",
|
|
434
|
+
children: (e, r) => {
|
|
435
|
+
f.next();
|
|
436
|
+
var i = f.text();
|
|
437
|
+
f.template_effect((e) => f.set_text(i, `-${e ?? ""}`), [() => t(s(n.orderTotals.giftCardAmount))]), f.append(e, i);
|
|
438
|
+
},
|
|
439
|
+
$$slots: { default: !0 }
|
|
440
|
+
}), f.reset(i), f.append(e, i);
|
|
441
|
+
};
|
|
442
|
+
f.if(y, (e) => {
|
|
443
|
+
n.orderTotals.giftCardAmount > 0 && e(b);
|
|
444
|
+
});
|
|
445
|
+
var x = f.sibling(y, 2), S = f.child(x);
|
|
446
|
+
l(S, {
|
|
447
|
+
size: "base",
|
|
448
|
+
weight: "semibold",
|
|
449
|
+
children: (e, t) => {
|
|
450
|
+
f.next();
|
|
451
|
+
var n = f.text();
|
|
452
|
+
f.template_effect(() => f.set_text(n, r().total || "Total")), f.append(e, n);
|
|
453
|
+
},
|
|
454
|
+
$$slots: { default: !0 }
|
|
455
|
+
});
|
|
456
|
+
var C = f.sibling(S, 2);
|
|
457
|
+
l(C, {
|
|
458
|
+
size: "base",
|
|
459
|
+
weight: "semibold",
|
|
460
|
+
children: (e, t) => {
|
|
461
|
+
f.next();
|
|
462
|
+
var r = f.text();
|
|
463
|
+
f.template_effect((e) => f.set_text(r, e), [() => a(n.orderTotals.total)]), f.append(e, r);
|
|
464
|
+
},
|
|
465
|
+
$$slots: { default: !0 }
|
|
466
|
+
}), f.reset(x), f.append(e, o);
|
|
467
|
+
};
|
|
468
|
+
f.if(_, (e) => {
|
|
469
|
+
i() !== "lines" && e(v);
|
|
470
|
+
}), f.reset(m), f.template_effect(() => f.set_style(m, `transition-duration: ${O.normal ?? ""}ms;`)), f.append(e, m), f.pop();
|
|
471
|
+
}
|
|
472
|
+
//#endregion
|
|
473
|
+
//#region src/lib/public-calendar-flow/i18n/index.js
|
|
474
|
+
var z = c({
|
|
475
|
+
defaults: d,
|
|
476
|
+
locales: { en: d },
|
|
477
|
+
loaders: {
|
|
478
|
+
es: () => import("./es-DS1-fjU8.js").then((e) => e.es),
|
|
479
|
+
fr: () => import("./fr-CN3PiNzU.js").then((e) => e.fr),
|
|
480
|
+
"pt-br": () => import("./pt-br-D30dkLzU.js").then((e) => e.pt_br),
|
|
481
|
+
pt: () => import("./pt-br-D30dkLzU.js").then((e) => e.pt_br),
|
|
482
|
+
de: () => import("./de-CX7o2WAr.js").then((e) => e.de),
|
|
483
|
+
ja: () => import("./ja-C2uiNCJX.js").then((e) => e.ja),
|
|
484
|
+
zh: () => import("./zh-DeEOoOFR.js").then((e) => e.zh),
|
|
485
|
+
ko: () => import("./ko-Bh97byDf.js").then((e) => e.ko),
|
|
486
|
+
it: () => import("./it-CjwnCYFF.js").then((e) => e.it),
|
|
487
|
+
nl: () => import("./nl-ve_OaXOQ.js").then((e) => e.nl),
|
|
488
|
+
tr: () => import("./tr-CFVBCuqV.js").then((e) => e.tr),
|
|
489
|
+
id: () => import("./id-CPG4tPVY.js").then((e) => e.id),
|
|
490
|
+
pl: () => import("./pl-BHBBOz2I.js").then((e) => e.pl)
|
|
491
|
+
}
|
|
492
|
+
});
|
|
493
|
+
z.resolveLocale;
|
|
494
|
+
var B = z.getLabelsForLocale;
|
|
495
|
+
z.loadLocale, z.listLocales;
|
|
496
|
+
//#endregion
|
|
497
|
+
export { k as a, y as c, m as d, C as f, j as h, D as i, E as l, T as m, R as n, x as o, _ as p, O as r, S as s, B as t, p as u };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { t as e } from "./defaultLabels-C8IfDtR9.js";
|
|
2
|
+
import { f as t } from "./widget-key-context-litAkRgC.js";
|
|
3
|
+
//#endregion
|
|
4
|
+
//#region src/lib/i18n/index.js
|
|
5
|
+
var n = t({
|
|
6
|
+
defaults: e,
|
|
7
|
+
locales: { en: e },
|
|
8
|
+
loaders: {
|
|
9
|
+
es: () => import("./es-QnJXFKEx.js").then((e) => e.es),
|
|
10
|
+
fr: () => import("./fr-BVgQDC6c.js").then((e) => e.fr),
|
|
11
|
+
"pt-br": () => import("./pt-br-BxdP86Vr.js").then((e) => e.pt_br),
|
|
12
|
+
pt: () => import("./pt-br-BxdP86Vr.js").then((e) => e.pt_br),
|
|
13
|
+
de: () => import("./de-C3szl-Vf.js").then((e) => e.de),
|
|
14
|
+
ja: () => import("./ja-CMa_nsLY.js").then((e) => e.ja),
|
|
15
|
+
zh: () => import("./zh-DWMcKVLH.js").then((e) => e.zh),
|
|
16
|
+
ko: () => import("./ko-BwJHUjqS.js").then((e) => e.ko),
|
|
17
|
+
it: () => import("./it-CufAwhe3.js").then((e) => e.it),
|
|
18
|
+
nl: () => import("./nl-BQALrtyB.js").then((e) => e.nl),
|
|
19
|
+
tr: () => import("./tr-CSfagpI3.js").then((e) => e.tr),
|
|
20
|
+
id: () => import("./id-DCcXxLEY.js").then((e) => e.id),
|
|
21
|
+
pl: () => import("./pl-DaPcPjBE.js").then((e) => e.pl)
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
n.resolveLocale;
|
|
25
|
+
var r = n.getLabelsForLocale, i = n.loadLocale;
|
|
26
|
+
n.listLocales;
|
|
27
|
+
//#endregion
|
|
28
|
+
export { i as n, r as t };
|
|
@@ -199,9 +199,13 @@ var e = {
|
|
|
199
199
|
queueWaitLessThanMinute: "Kurang dari satu menit",
|
|
200
200
|
queueWaitMinute: "{n} menit",
|
|
201
201
|
queueWaitMinutes: "{n} menit",
|
|
202
|
-
queueKeepPageOpen: "Biarkan halaman ini tetap terbuka — tempat Anda
|
|
202
|
+
queueKeepPageOpen: "Biarkan halaman ini tetap terbuka — menutupnya berarti melepas tempat Anda",
|
|
203
|
+
queueReleaseSpot: "Lepaskan tempat saya",
|
|
203
204
|
queueAdmittedTitle: "Giliran Anda",
|
|
204
205
|
queueAdmittedBody: "Sekarang giliran Anda — Anda bisa membeli tiket",
|
|
206
|
+
queuePassTimeLeft: "Anda punya {time} untuk membeli tiket",
|
|
207
|
+
queuePassEndingSoon: "Kurang dari satu menit — beli tiket Anda sekarang",
|
|
208
|
+
queuePassExpired: "Giliran Anda sudah habis — membeli sekarang akan memasukkan Anda kembali ke antrean",
|
|
205
209
|
recommendationsHeading: "Lainnya di venue ini",
|
|
206
210
|
recommendationFromTonightsLineup: "Dari lineup malam ini",
|
|
207
211
|
recommendationSimilarShow: "Pertunjukan serupa",
|
|
@@ -3,7 +3,6 @@ var e = {
|
|
|
3
3
|
viewList: "Daftar",
|
|
4
4
|
viewGallery: "Galeri",
|
|
5
5
|
viewCalendar: "Kalender",
|
|
6
|
-
viewTonight: "Jadwal malam ini",
|
|
7
6
|
searchPlaceholder: "Cari acara",
|
|
8
7
|
searchAriaLabel: "Cari acara",
|
|
9
8
|
listView: "Tampilan daftar",
|
|
@@ -94,7 +93,6 @@ var e = {
|
|
|
94
93
|
nextWeek: "Minggu depan",
|
|
95
94
|
comingUp: "Mendatang",
|
|
96
95
|
noShowsTonight: "Tidak ada pertunjukan malam ini",
|
|
97
|
-
nextShow: "Pertunjukan berikutnya",
|
|
98
96
|
noUpcomingShowsScheduled: "Belum ada pertunjukan mendatang",
|
|
99
97
|
nothingOn: "Tidak ada acara",
|
|
100
98
|
noUpcomingEventsScheduled: "Belum ada acara mendatang",
|
|
@@ -473,9 +471,13 @@ var e = {
|
|
|
473
471
|
queueWaitLessThanMinute: "Kurang dari satu menit",
|
|
474
472
|
queueWaitMinute: "{n} menit",
|
|
475
473
|
queueWaitMinutes: "{n} menit",
|
|
476
|
-
queueKeepPageOpen: "Biarkan halaman ini tetap terbuka — tempat Anda
|
|
474
|
+
queueKeepPageOpen: "Biarkan halaman ini tetap terbuka — menutupnya berarti melepas tempat Anda",
|
|
475
|
+
queueReleaseSpot: "Lepaskan tempat saya",
|
|
477
476
|
queueAdmittedTitle: "Giliran Anda",
|
|
478
477
|
queueAdmittedBody: "Sekarang giliran Anda — Anda bisa membeli tiket",
|
|
478
|
+
queuePassTimeLeft: "Anda punya {time} untuk membeli tiket",
|
|
479
|
+
queuePassEndingSoon: "Kurang dari satu menit — beli tiket Anda sekarang",
|
|
480
|
+
queuePassExpired: "Giliran Anda sudah habis — membeli sekarang akan memasukkan Anda kembali ke antrean",
|
|
479
481
|
sessionExpiringSoonMessage: "Sesi checkout Anda akan berakhir dalam {time}. Tiket yang Anda pilih akan dikembalikan ke stok",
|
|
480
482
|
extensionsRemaining: "Sisa perpanjangan: {count}",
|
|
481
483
|
continueCheckout: "Lanjutkan checkout",
|
|
@@ -540,7 +542,11 @@ var e = {
|
|
|
540
542
|
giftCardPaymentDetails: "Detail pembayaran",
|
|
541
543
|
giftCardBack: "Kembali",
|
|
542
544
|
giftCardPayAmount: "Bayar {amount}",
|
|
543
|
-
giftCardPaymentFailed: "Pembayaran gagal. Silakan coba lagi"
|
|
545
|
+
giftCardPaymentFailed: "Pembayaran gagal. Silakan coba lagi",
|
|
546
|
+
fromPrice: "Mulai dari {price}",
|
|
547
|
+
payWhatYouWant: "Bayar sesukamu",
|
|
548
|
+
onSaleOn: "Mulai dijual {date}",
|
|
549
|
+
showAtTime: "Pertunjukan {time}"
|
|
544
550
|
};
|
|
545
551
|
//#endregion
|
|
546
552
|
export { e as id };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { o as e } from "./Button-
|
|
2
|
-
import { n as t, r as n, s as r } from "./keyboard-
|
|
3
|
-
import { m as i, v as a } from "./sizing-
|
|
4
|
-
import { c as o, g as s, l as c, u as l, v as u } from "./portalContainment-
|
|
5
|
-
import { c as d, l as f, o as p, s as m, u as h } from "./ModalFooter-
|
|
6
|
-
import { t as g } from "./portal-
|
|
1
|
+
import { o as e } from "./Button-DoHESV6k.js";
|
|
2
|
+
import { n as t, r as n, s as r } from "./keyboard-enDXh6xy.js";
|
|
3
|
+
import { m as i, v as a } from "./sizing-DFjg7-wy.js";
|
|
4
|
+
import { c as o, g as s, l as c, u as l, v as u } from "./portalContainment-Dz0y6lW6.js";
|
|
5
|
+
import { c as d, l as f, o as p, s as m, u as h } from "./ModalFooter-CJPDF8Zl.js";
|
|
6
|
+
import { t as g } from "./portal-CLBp645_.js";
|
|
7
7
|
import "svelte/internal/disclose-version";
|
|
8
8
|
import * as _ from "svelte/internal/client";
|
|
9
|
-
//#region node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/PlusOutline.svelte
|
|
9
|
+
//#region ../../../jetbook/npm-calendar/node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/PlusOutline.svelte
|
|
10
10
|
var v = _.from_svg("<svg aria-hidden=\"true\" fill=\"none\" stroke-width=\"2\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M12 4.5v15m7.5-7.5h-15\"></path></svg>");
|
|
11
11
|
function y(e, t) {
|
|
12
12
|
let n = _.prop(t, "size", 3, "24"), r = _.prop(t, "color", 3, "currentColor"), i = _.prop(t, "class", 3, "");
|
|
@@ -16,7 +16,7 @@ function y(e, t) {
|
|
|
16
16
|
}), _.append(e, a);
|
|
17
17
|
}
|
|
18
18
|
//#endregion
|
|
19
|
-
//#region node_modules/@getmicdrop/svelte-components/dist/primitives/Pressable/Pressable.svelte
|
|
19
|
+
//#region ../../../jetbook/npm-calendar/node_modules/@getmicdrop/svelte-components/dist/primitives/Pressable/Pressable.svelte
|
|
20
20
|
var b = _.from_html("<div role=\"button\"><!></div>");
|
|
21
21
|
function x(t, r) {
|
|
22
22
|
_.push(r, !0);
|
|
@@ -34,7 +34,7 @@ function x(t, r) {
|
|
|
34
34
|
}
|
|
35
35
|
_.delegate(["click", "keydown"]);
|
|
36
36
|
//#endregion
|
|
37
|
-
//#region node_modules/@getmicdrop/svelte-components/dist/primitives/BottomSheet/BottomSheet.svelte
|
|
37
|
+
//#region ../../../jetbook/npm-calendar/node_modules/@getmicdrop/svelte-components/dist/primitives/BottomSheet/BottomSheet.svelte
|
|
38
38
|
var S = _.from_html("<div class=\"px-6 pb-4 border-b border-border shrink-0\"><h3> </h3></div>"), C = _.from_html("<div class=\"px-6 py-4 border-t border-border shrink-0 flex flex-col gap-3\"><!></div>"), w = _.from_html("<!> <div class=\"flex-1 overflow-y-auto overscroll-contain p-4 px-6\"><!></div> <!>", 1), T = _.from_html("<div class=\"fixed inset-x-0 bottom-0 bg-card rounded-t-xl shadow-xl border-t border-border flex flex-col overflow-hidden pb-[env(safe-area-inset-bottom)] motion-safe:transition-[height] motion-safe:duration-300\" role=\"dialog\" aria-modal=\"false\"><div class=\"shrink-0 touch-none\" role=\"presentation\"><!></div> <!></div>"), E = _.from_html("<div role=\"presentation\"><div role=\"dialog\" aria-modal=\"true\" data-escape-layer=\"\" tabindex=\"-1\"><!> <!></div></div>");
|
|
39
39
|
function D(e, n) {
|
|
40
40
|
_.push(n, !0);
|
|
@@ -165,7 +165,7 @@ _.delegate([
|
|
|
165
165
|
"click"
|
|
166
166
|
]);
|
|
167
167
|
//#endregion
|
|
168
|
-
//#region node_modules/@getmicdrop/svelte-components/dist/primitives/Modal/ModalTitle.svelte
|
|
168
|
+
//#region ../../../jetbook/npm-calendar/node_modules/@getmicdrop/svelte-components/dist/primitives/Modal/ModalTitle.svelte
|
|
169
169
|
var O = _.from_html("<h2><!></h2>");
|
|
170
170
|
function k(e, t) {
|
|
171
171
|
_.push(t, !0);
|
|
@@ -187,7 +187,7 @@ function k(e, t) {
|
|
|
187
187
|
}, [() => _.clsx(r(t.class))]), _.append(e, o), _.pop();
|
|
188
188
|
}
|
|
189
189
|
//#endregion
|
|
190
|
-
//#region node_modules/@getmicdrop/svelte-components/dist/utils/imageOptimizer.js
|
|
190
|
+
//#region ../../../jetbook/npm-calendar/node_modules/@getmicdrop/svelte-components/dist/utils/imageOptimizer.js
|
|
191
191
|
function A(e) {
|
|
192
192
|
return new Promise((t, n) => {
|
|
193
193
|
let r = new Image();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region node_modules/@getmicdrop/svelte-components/dist/utils/imageUrl.js
|
|
1
|
+
//#region ../../../jetbook/npm-calendar/node_modules/@getmicdrop/svelte-components/dist/utils/imageUrl.js
|
|
2
2
|
function e(e) {
|
|
3
3
|
let t = globalThis.__MICDROP_IMAGE_BASES__?.[e];
|
|
4
4
|
return typeof t == "string" ? t : void 0;
|
|
@@ -199,9 +199,13 @@ var e = {
|
|
|
199
199
|
queueWaitLessThanMinute: "Meno di un minuto",
|
|
200
200
|
queueWaitMinute: "{n} minuto",
|
|
201
201
|
queueWaitMinutes: "{n} minuti",
|
|
202
|
-
queueKeepPageOpen: "Tieni aperta questa pagina —
|
|
202
|
+
queueKeepPageOpen: "Tieni aperta questa pagina — chiuderla ti fa perdere il posto",
|
|
203
|
+
queueReleaseSpot: "Libera il mio posto",
|
|
203
204
|
queueAdmittedTitle: "Tocca a te",
|
|
204
205
|
queueAdmittedBody: "È il tuo turno — ora puoi acquistare i biglietti",
|
|
206
|
+
queuePassTimeLeft: "Hai {time} per acquistare i biglietti",
|
|
207
|
+
queuePassEndingSoon: "Manca meno di un minuto — acquista ora i biglietti",
|
|
208
|
+
queuePassExpired: "Il tuo turno è scaduto — se acquisti ora torni in coda",
|
|
205
209
|
recommendationsHeading: "Altro in questo locale",
|
|
206
210
|
recommendationFromTonightsLineup: "Dal cast di stasera",
|
|
207
211
|
recommendationSimilarShow: "Spettacolo simile",
|