@getmicdrop/venue-calendar 3.3.1 → 3.3.2
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/{VenueCalendar-Xppig0q_.js → VenueCalendar-BMSfRl2d.js} +10 -13
- package/dist/{VenueCalendar-Xppig0q_.js.map → VenueCalendar-BMSfRl2d.js.map} +1 -1
- package/dist/api/api.cjs +2 -0
- package/dist/api/api.cjs.map +1 -0
- package/dist/api/api.mjs +787 -0
- package/dist/api/api.mjs.map +1 -0
- package/dist/api/client.d.ts +46 -0
- package/dist/api/events.d.ts +102 -0
- package/dist/api/index.d.ts +38 -0
- package/dist/api/orders.d.ts +104 -0
- package/dist/api/promo.d.ts +45 -0
- package/dist/api/transformers/event.d.ts +86 -0
- package/dist/api/transformers/index.d.ts +9 -0
- package/dist/api/transformers/order.d.ts +105 -0
- package/dist/api/transformers/venue.d.ts +48 -0
- package/dist/api/venues.d.ts +33 -0
- package/dist/{index-BjErG0CG.js → index-CoJaem3n.js} +2 -2
- package/dist/{index-BjErG0CG.js.map → index-CoJaem3n.js.map} +1 -1
- package/dist/venue-calendar.css +1 -1
- package/dist/venue-calendar.es.js +1 -1
- package/dist/venue-calendar.iife.js +4 -4
- package/dist/venue-calendar.iife.js.map +1 -1
- package/dist/venue-calendar.umd.js +4 -4
- package/dist/venue-calendar.umd.js.map +1 -1
- package/package.json +96 -94
- package/src/lib/api/client.ts +0 -210
- package/src/lib/api/events.ts +0 -358
- package/src/lib/api/index.ts +0 -182
- package/src/lib/api/orders.ts +0 -390
- package/src/lib/api/promo.ts +0 -164
- package/src/lib/api/transformers/event.ts +0 -248
- package/src/lib/api/transformers/index.ts +0 -29
- package/src/lib/api/transformers/order.ts +0 -207
- package/src/lib/api/transformers/venue.ts +0 -118
- package/src/lib/api/venues.ts +0 -100
- package/src/lib/utils/api.js +0 -790
- package/src/lib/utils/api.test.js +0 -1284
- package/src/lib/utils/constants.js +0 -8
- package/src/lib/utils/constants.test.js +0 -39
- package/src/lib/utils/datetime.js +0 -266
- package/src/lib/utils/datetime.test.js +0 -340
- package/src/lib/utils/event-transform.js +0 -464
- package/src/lib/utils/event-transform.test.js +0 -413
- package/src/lib/utils/logger.js +0 -105
- package/src/lib/utils/timezone.js +0 -109
- package/src/lib/utils/timezone.test.js +0 -222
- package/src/lib/utils/utils.js +0 -806
- package/src/lib/utils/utils.test.js +0 -959
- /package/{src/lib/api/types.ts → dist/api/types.d.ts} +0 -0
|
@@ -16312,7 +16312,7 @@ function uv(e, t) {
|
|
|
16312
16312
|
V(() => O = ie(A, 1, "grouped-list svelte-1aw0ssq", null, O, { "no-date-column": !i() })), p(e, A), Qe();
|
|
16313
16313
|
}
|
|
16314
16314
|
ot(["click", "keydown"]);
|
|
16315
|
-
var EE = /* @__PURE__ */ M('<span class="day-header flex pb-1 items-end justify-center sm:pb-2 sm:pt-1 sm:justify-end sm:pr-2 text-gray-600 dark:text-gray-300 sm:text-gray-900 sm:dark:text-white overflow-hidden leading-none font-normal text-xs sm:text-lg border-b border-gray-200 dark:border-gray-700" role="columnheader"><abbr class="sm:hidden no-underline svelte-1twddf5"> </abbr> <abbr class="hidden sm:inline no-underline svelte-1twddf5"> </abbr></span>'), TE = /* @__PURE__ */ M('<div class="day-container preview-day past-preview text-gray-500 dark:text-gray-400 overflow-hidden flex flex-col justify-start items-center p-2 sm:p-2 sm:gap-3 max-sm:px-1 max-sm:py-0.5 max-sm:min-h-14 svelte-1twddf5" role="gridcell" aria-disabled="true"><div class="w-full flex flex-col items-center"><span class="day text-sm sm:text-lg sm:font-normal w-full text-center sm:text-right sm:mb-2 text-gray-500 dark:text-gray-400 svelte-1twddf5"> </span></div></div>'), xE = /* @__PURE__ */ M('<button type="button" class="flex items-center gap-1 max-w-full cursor-pointer embedCalendar rounded-full py-0.5 px-2 bg-transparent border-0 svelte-1twddf5"><svg width="7" height="7" class="calendar-dot dot-unified
|
|
16315
|
+
var EE = /* @__PURE__ */ M('<span class="day-header flex pb-1 items-end justify-center sm:pb-2 sm:pt-1 sm:justify-end sm:pr-2 text-gray-600 dark:text-gray-300 sm:text-gray-900 sm:dark:text-white overflow-hidden leading-none font-normal text-xs sm:text-lg border-b border-gray-200 dark:border-gray-700" role="columnheader"><abbr class="sm:hidden no-underline svelte-1twddf5"> </abbr> <abbr class="hidden sm:inline no-underline svelte-1twddf5"> </abbr></span>'), TE = /* @__PURE__ */ M('<div class="day-container preview-day past-preview text-gray-500 dark:text-gray-400 overflow-hidden flex flex-col justify-start items-center p-2 sm:p-2 sm:gap-3 max-sm:px-1 max-sm:py-0.5 max-sm:min-h-14 svelte-1twddf5" role="gridcell" aria-disabled="true"><div class="w-full flex flex-col items-center"><span class="day text-sm sm:text-lg sm:font-normal w-full text-center sm:text-right sm:mb-2 text-gray-500 dark:text-gray-400 svelte-1twddf5"> </span></div></div>'), xE = /* @__PURE__ */ M('<button type="button" class="flex items-center gap-1 max-w-full cursor-pointer embedCalendar rounded-full py-0.5 px-2 bg-transparent border-0 svelte-1twddf5"><svg width="7" height="7" class="calendar-dot dot-unified shrink-0 svelte-1twddf5" viewBox="0 0 6 6" fill="currentColor" aria-hidden="true"><circle cx="3" cy="3" r="3"></circle></svg> <span class="text-xs sm:text-sm grow truncate text-gray-900 dark:text-white" aria-hidden="true"> </span> <span class="text-xs md:text-sm whitespace-nowrap text-gray-900 dark:text-white" aria-hidden="true"> </span></button>'), IE = /* @__PURE__ */ M('<button type="button" class="time-button text-xs w-full py-1 rounded-lg bg-gray-50 dark:bg-gray-800 hover:bg-blue-700 dark:hover:bg-blue-600 hover:text-white text-gray-900 dark:text-white font-medium transition-colors cursor-pointer border border-gray-200 dark:border-gray-700 hover:border-blue-700 dark:hover:border-blue-600 text-center whitespace-nowrap svelte-1twddf5"> </button>'), SE = /* @__PURE__ */ M('<span aria-hidden="true"> </span>'), DE = /* @__PURE__ */ M('<div class="flex flex-col justify-start embedCalendar w-full items-center gap-0.5 p-1.5 rounded-lg bg-white dark:bg-gray-900 border border-gray-200 dark:border-gray-700 svelte-1twddf5" role="group"><button type="button" class="w-full cursor-pointer"><div class="w-full aspect-square bg-gray-50 dark:bg-gray-800 rounded-md overflow-hidden"><img alt="" class="w-full h-full object-contain cursor-pointer" aria-hidden="true"/></div> <div class="text-gray-900 dark:text-white text-xs font-medium leading-tight tracking-normal text-center line-clamp-5 mt-1 svelte-1twddf5" aria-hidden="true"> </div></button> <div class="flex flex-col gap-1 items-center mt-1 w-full" role="group" aria-label="Available showtimes"></div> <!></div>'), CE = /* @__PURE__ */ M('<div class="mt-auto mx-auto"><!></div>'), AE = /* @__PURE__ */ M('<div role="gridcell"><div class="w-full flex flex-col items-center"><span class="day text-sm sm:text-lg sm:font-normal w-full text-center sm:text-right sm:mb-2 svelte-1twddf5"> </span> <div class="hidden sm:flex sm:flex-col gap-2 w-full items-center"></div> <!></div></div>'), kE = /* @__PURE__ */ M('<div class="day-container preview-day text-gray-500 dark:text-gray-400 overflow-hidden flex flex-col justify-start items-center p-2 sm:p-2 sm:gap-3 max-sm:px-1 max-sm:py-0.5 max-sm:min-h-14 svelte-1twddf5" role="gridcell" aria-disabled="true"><div class="w-full flex flex-col items-center"><span class="day text-sm sm:text-lg sm:font-normal w-full text-center sm:text-right sm:mb-2 text-gray-500 dark:text-gray-400 svelte-1twddf5"> </span></div></div>'), RE = /* @__PURE__ */ M('<section class="mobile-event-list sm:hidden mt-2" aria-label="Events for selected day" aria-live="polite"><h2 class="sr-only svelte-1twddf5"> </h2> <!></section>'), OE = /* @__PURE__ */ M('<div class="w-full bg-white dark:bg-gray-900 overflow-hidden touch-pan-y select-none" role="application"><div class="calendar-slide-container svelte-1twddf5"><div class="calendar max-sm:gap-0.5 max-sm:p-0.5 w-full overflow-hidden mx-auto grid svelte-1twddf5" role="grid"><!> <!> <!> <!></div></div> <div class="sr-only svelte-1twddf5" role="status" aria-live="polite" aria-atomic="true"><!></div> <!></div>');
|
|
16316
16316
|
function ME(e, t) {
|
|
16317
16317
|
Ze(t, !0);
|
|
16318
16318
|
let r = /* @__PURE__ */ new Date(), n = 0, a = 0, i = 0, s = 0, o = 0, l = 0, d = !1, u = !1, f = 0, h, v, g = 0, b = !1, _ = null;
|
|
@@ -16947,10 +16947,7 @@ function zE(e, t) {
|
|
|
16947
16947
|
var U = PE(), L = C(pe(U), 2), z = m(L);
|
|
16948
16948
|
z.__click = g;
|
|
16949
16949
|
var G = m(z), B = m(G), q = C(G, 2);
|
|
16950
|
-
Hw(q, {
|
|
16951
|
-
class: "chevron-icon size-4 flex-shrink-0",
|
|
16952
|
-
"aria-hidden": "true"
|
|
16953
|
-
}), gr(z, (j) => ae(h, j), () => c(h)), V(() => {
|
|
16950
|
+
Hw(q, { class: "chevron-icon size-4 shrink-0", "aria-hidden": "true" }), gr(z, (j) => ae(h, j), () => c(h)), V(() => {
|
|
16954
16951
|
Q(z, "aria-label", `Switch view, currently ${(c(v)?.text || "Calendar") ?? ""}`), Q(z, "aria-expanded", c(d)), Z(B, c(v)?.text || "Calendar");
|
|
16955
16952
|
}), p(S, U);
|
|
16956
16953
|
};
|
|
@@ -18236,7 +18233,7 @@ function WT(e) {
|
|
|
18236
18233
|
var t = jT();
|
|
18237
18234
|
p(e, t);
|
|
18238
18235
|
}
|
|
18239
|
-
var XT = /* @__PURE__ */ M('<span class="caption" id="price-prefix-mobile">From</span>'), ZT = /* @__PURE__ */ M('<span class="price-fee" aria-hidden="true">incl. fees</span>'), QT = /* @__PURE__ */ M('<div class="flex items-baseline gap-1"><span class="price-lg text-xl"> </span> <!></div>'), $T = /* @__PURE__ */ M('<div class="h-6 w-20 skeleton rounded" role="status" aria-busy="true" aria-label="Loading price"></div>'), KT = /* @__PURE__ */ M('<div class="mobile-drawer flex items-center justify-between gap-4 px-4 py-3 safe-area-bottom svelte-yxa700" role="region" aria-label="Ticket purchase"><div class="flex flex-col min-w-0"><!> <!></div> <div class="
|
|
18236
|
+
var XT = /* @__PURE__ */ M('<span class="caption" id="price-prefix-mobile">From</span>'), ZT = /* @__PURE__ */ M('<span class="price-fee" aria-hidden="true">incl. fees</span>'), QT = /* @__PURE__ */ M('<div class="flex items-baseline gap-1"><span class="price-lg text-xl"> </span> <!></div>'), $T = /* @__PURE__ */ M('<div class="h-6 w-20 skeleton rounded" role="status" aria-busy="true" aria-label="Loading price"></div>'), KT = /* @__PURE__ */ M('<div class="mobile-drawer flex items-center justify-between gap-4 px-4 py-3 safe-area-bottom svelte-yxa700" role="region" aria-label="Ticket purchase"><div class="flex flex-col min-w-0"><!> <!></div> <div class="shrink-0"><!></div></div>'), JT = /* @__PURE__ */ M('<span class="body-sm" id="price-prefix-desktop">Starts from</span>'), ex = /* @__PURE__ */ M("<span></span>"), tx = /* @__PURE__ */ M('<!> <div class="flex items-center justify-center gap-1.5 mt-3 text-color-tertiary" aria-hidden="true"><!> <span class="caption">Secure checkout</span></div>', 1), rx = /* @__PURE__ */ M('<div class="card p-5 mt-5" role="region" aria-label="Ticket purchase options"><!> <div class="flex flex-col gap-3"><div class="flex items-center justify-between"><!> <!></div> <div><!></div></div></div>');
|
|
18240
18237
|
function Nd(e, t) {
|
|
18241
18238
|
Ze(t, !0);
|
|
18242
18239
|
let r = x(t, "dataReady", 3, !1), n = x(t, "availableTickets", 19, () => []), a = x(t, "venueServiceCharge", 19, () => ({
|
|
@@ -18669,7 +18666,7 @@ function dx(e, t) {
|
|
|
18669
18666
|
}), p(e, o), Qe();
|
|
18670
18667
|
}
|
|
18671
18668
|
ot(["click", "keydown"]);
|
|
18672
|
-
var ux = /* @__PURE__ */ M('<div class="flex items-center justify-center py-12" role="status" aria-live="polite"><p class="loading-text svelte-abxi04">Loading event...</p></div>'), fx = /* @__PURE__ */ M('<div class="text-center py-8" role="alert"><p class="error-text mb-2 svelte-abxi04"> </p> <button class="go-back-btn mt-4 px-4 py-2 rounded-lg svelte-abxi04" aria-label="Go back to calendar">Go back</button></div>'), vx = /* @__PURE__ */ M('<div class="locked-overlay absolute inset-0 z-20 flex flex-col items-center justify-center bg-white/95 rounded-lg svelte-abxi04"><div class="locked-content text-center p-8"><div class="locked-icon-wrapper mx-auto mb-4 svelte-abxi04"><!></div> <h2 class="locked-title text-xl font-semibold mb-2 svelte-abxi04">This event is password protected</h2> <p class="locked-description text-sm mb-6 svelte-abxi04">Enter the event password to view details and purchase tickets.</p> <button class="unlock-btn px-6 py-3 rounded-lg font-medium svelte-abxi04">Enter password</button></div></div>'), hx = /* @__PURE__ */ M(`<div class="cancelled-banner mb-6 p-4 rounded-lg svelte-abxi04" role="alert" aria-live="assertive"><div class="flex items-start gap-3"><div class="cancelled-icon-wrapper
|
|
18669
|
+
var ux = /* @__PURE__ */ M('<div class="flex items-center justify-center py-12" role="status" aria-live="polite"><p class="loading-text svelte-abxi04">Loading event...</p></div>'), fx = /* @__PURE__ */ M('<div class="text-center py-8" role="alert"><p class="error-text mb-2 svelte-abxi04"> </p> <button class="go-back-btn mt-4 px-4 py-2 rounded-lg svelte-abxi04" aria-label="Go back to calendar">Go back</button></div>'), vx = /* @__PURE__ */ M('<div class="locked-overlay absolute inset-0 z-20 flex flex-col items-center justify-center bg-white/95 rounded-lg svelte-abxi04"><div class="locked-content text-center p-8"><div class="locked-icon-wrapper mx-auto mb-4 svelte-abxi04"><!></div> <h2 class="locked-title text-xl font-semibold mb-2 svelte-abxi04">This event is password protected</h2> <p class="locked-description text-sm mb-6 svelte-abxi04">Enter the event password to view details and purchase tickets.</p> <button class="unlock-btn px-6 py-3 rounded-lg font-medium svelte-abxi04">Enter password</button></div></div>'), hx = /* @__PURE__ */ M(`<div class="cancelled-banner mb-6 p-4 rounded-lg svelte-abxi04" role="alert" aria-live="assertive"><div class="flex items-start gap-3"><div class="cancelled-icon-wrapper shrink-0 mt-0.5" aria-hidden="true"><!></div> <div class="cancelled-content svelte-abxi04"><h3 class="cancelled-title text-base font-semibold mb-1 svelte-abxi04">This event has been cancelled</h3> <p class="cancelled-message text-sm mb-2 svelte-abxi04">We're sorry, but this event is no longer taking place.</p> <p class="cancelled-refund text-sm svelte-abxi04"><strong class="svelte-abxi04">Refund information:</strong> If you purchased tickets, a full refund will be processed automatically to your original payment method within 5-10 business days. Check your email for confirmation.</p></div></div></div>`), gx = /* @__PURE__ */ M('<section id="featuring" class="my-8" aria-labelledby="featuring-title"><h2 id="featuring-title" class="section-title font-medium text-2xl mb-4 svelte-abxi04">Featuring</h2> <!></section>'), mx = /* @__PURE__ */ M('<section id="faqs" class="my-8" aria-label="Frequently asked questions"><!></section>'), px = /* @__PURE__ */ M('<section id="disclaimers" class="my-8" aria-label="Disclaimers"><!></section>'), _x = /* @__PURE__ */ M('<div class="flex flex-col w-full relative"><!> <!> <div><div class="flex-1 relative"><img class="w-full rounded-lg object-contain bg-bg-secondary svelte-abxi04"/> <button class="bg-gray-700 rounded-full size-8 sm:size-10 flex items-center justify-center absolute top-3 left-3 z-10" aria-label="Go back to calendar"><!></button></div> <!></div> <div><div class="flex-1"><div class="my-3 px-0 sm:my-5 sm:px-4"><!></div> <div id="about" class="my-8"><!></div> <!> <!> <!></div> <div class="w-full sm:w-80 flex flex-col"></div></div></div>'), bx = /* @__PURE__ */ M('<div class="px-5 sm:px-10 py-12 bg-white"><h1 class="sr-only svelte-abxi04"> </h1> <!></div> <!>', 1);
|
|
18673
18670
|
function pv(e, t) {
|
|
18674
18671
|
Ze(t, !0);
|
|
18675
18672
|
let r = x(t, "organizationId", 3, ""), n = x(t, "venueId", 3, ""), a = null, i = null, s = !0, o = null, l = !1, d = [], u = {}, f = !1, h = !1, v, g, b = !1, _ = 0, w = 0, y = !1, E = "", I = "", A = !1, O = !1;
|
|
@@ -19721,7 +19718,7 @@ function _v(e) {
|
|
|
19721
19718
|
p(n, i);
|
|
19722
19719
|
}), p(e, t);
|
|
19723
19720
|
}
|
|
19724
|
-
var Hx = /* @__PURE__ */ M('<div class="w-14 h-14
|
|
19721
|
+
var Hx = /* @__PURE__ */ M('<div class="w-14 h-14 shrink-0 rounded-md overflow-hidden bg-gray-50 dark:bg-gray-800" aria-hidden="true"><img alt="" class="w-full h-full object-contain"/></div>'), Yx = /* @__PURE__ */ M("<p> </p>"), jx = /* @__PURE__ */ M("<p>Doors open <time> </time></p>"), Wx = /* @__PURE__ */ M('<header class="flex items-center gap-3 px-4 md:px-5 py-4 border-b border-default" role="banner"><button class="p-2 -ml-2 rounded-full transition-colors shrink-0 text-color-secondary hover:bg-hover" aria-label="Go back to event details"><!></button> <!> <div class="flex-1 min-w-0"><!> <div class="body-sm text-color-secondary" aria-label="Event date and time"><p><time> </time></p> <!> <!></div></div></header>');
|
|
19725
19722
|
function Xx(e, t) {
|
|
19726
19723
|
Ze(t, !0);
|
|
19727
19724
|
let r = x(t, "onCancel", 3, () => {
|
|
@@ -19829,7 +19826,7 @@ function Xx(e, t) {
|
|
|
19829
19826
|
), p(e, u), Qe();
|
|
19830
19827
|
}
|
|
19831
19828
|
ot(["click"]);
|
|
19832
|
-
var Zx = /* @__PURE__ */ M('<div class="flex items-center justify-center py-12" role="status" aria-live="polite"><p class="loading-text svelte-19g9ni4">Loading event...</p></div>'), Qx = /* @__PURE__ */ M('<div class="text-center py-8" role="alert"><p class="error-text mb-2 svelte-19g9ni4"> </p> <button class="go-back-btn mt-4 px-4 py-2 rounded-lg svelte-19g9ni4" aria-label="Go back to event details">Go back</button></div>'), $x = /* @__PURE__ */ M('<div class="hidden md:block w-80 h-[calc(100vh-40px)]"></div>'), Kx = /* @__PURE__ */ M('<div class="w-full flex md:gap-5 flex-wrap"><div class="flex-1 pb-16 md:pb-0"><div class="cart-card rounded-lg md:shadow
|
|
19829
|
+
var Zx = /* @__PURE__ */ M('<div class="flex items-center justify-center py-12" role="status" aria-live="polite"><p class="loading-text svelte-19g9ni4">Loading event...</p></div>'), Qx = /* @__PURE__ */ M('<div class="text-center py-8" role="alert"><p class="error-text mb-2 svelte-19g9ni4"> </p> <button class="go-back-btn mt-4 px-4 py-2 rounded-lg svelte-19g9ni4" aria-label="Go back to event details">Go back</button></div>'), $x = /* @__PURE__ */ M('<div class="hidden md:block w-80 h-[calc(100vh-40px)]"></div>'), Kx = /* @__PURE__ */ M('<div class="w-full flex md:gap-5 flex-wrap"><div class="flex-1 pb-16 md:pb-0"><div class="cart-card rounded-lg md:shadow md:border py-3 svelte-19g9ni4"><!> <div class="space-y-4 md:px-5"><!></div></div></div> <!> <div><!></div></div>'), Jx = /* @__PURE__ */ M('<h3 id="error-modal-title" class="heading-lg"><!></h3>'), eI = /* @__PURE__ */ M(`<p class="body-sm">We couldn't reserve your tickets. This may be due to a network issue or the tickets may no longer be available.</p> <p class="text-gray-600 dark:text-gray-300 mt-2">Please go back and try again.</p>`, 1), tI = /* @__PURE__ */ M('<p class="body-sm">Good news! Your tickets have been reserved and are being held for you.</p> <p class="text-gray-600 dark:text-gray-300 mt-2">However, we encountered a connection issue. Please refresh the page to continue to checkout.</p>', 1), rI = /* @__PURE__ */ M('<div id="error-modal-description"><!></div>'), nI = /* @__PURE__ */ M("<!> <!>", 1), aI = /* @__PURE__ */ M('<div role="group" aria-label="Error modal actions"><!></div>'), iI = /* @__PURE__ */ M('<h3 id="availability-modal-title" class="heading-lg">Limited Availability</h3>'), sI = /* @__PURE__ */ M('<li class="text-gray-700 dark:text-gray-200 text-sm"><span class="font-medium"> </span> <!></li>'), oI = /* @__PURE__ */ M('<p class="text-gray-600 dark:text-gray-300 mt-4">Would you like to continue with the available tickets?</p>'), lI = /* @__PURE__ */ M('<p class="text-gray-600 dark:text-gray-300 mt-4">Unfortunately, all the tickets you selected have sold out.</p>'), cI = /* @__PURE__ */ M('<div id="availability-modal-description"><p class="text-gray-600 dark:text-gray-300 mb-4">Some tickets you selected are no longer available in the requested quantities:</p> <ul class="space-y-2" aria-label="Ticket availability changes"></ul> <!></div>'), dI = /* @__PURE__ */ M('<div role="group" aria-label="Availability modal actions"><!> <!></div>'), uI = /* @__PURE__ */ M('<div class="px-5 md:px-10 py-12 bg-white"><!></div> <!> <!>', 1);
|
|
19833
19830
|
function bv(e, t) {
|
|
19834
19831
|
Ze(t, !0);
|
|
19835
19832
|
let r = x(t, "organizationId", 3, ""), n = x(t, "venueId", 3, ""), a = !1, i = 0.08, s = null, o = null, l = [], d = !1, u = !0, f = null, h = !1, v = {
|
|
@@ -20741,7 +20738,7 @@ function CI(e, t) {
|
|
|
20741
20738
|
const o = EI({ containerSelector: ".light, .dark, .micdrop, [data-theme]" });
|
|
20742
20739
|
kr(async () => {
|
|
20743
20740
|
try {
|
|
20744
|
-
const D = await import("./index-
|
|
20741
|
+
const D = await import("./index-CoJaem3n.js");
|
|
20745
20742
|
ae(i, D.Elements, !0), ae(s, D.PaymentElement, !0);
|
|
20746
20743
|
} catch (D) {
|
|
20747
20744
|
console.error("Failed to load Stripe components:", D);
|
|
@@ -20914,8 +20911,8 @@ var NI = function() {
|
|
|
20914
20911
|
return Ev().then(function(i) {
|
|
20915
20912
|
return LI(i, r, a);
|
|
20916
20913
|
});
|
|
20917
|
-
}, FI = /* @__PURE__ */ M('<p class="error-suggestion text-xs svelte-mz8rul"> </p>'), zI = /* @__PURE__ */ M('<div class="error-actions mt-3 flex gap-2"><button class="retry-btn flex items-center gap-2 px-3 py-1.5 rounded-lg text-sm font-medium transition-colors svelte-mz8rul" aria-label="Retry payment"><!> Try again</button></div>'), GI = /* @__PURE__ */ M('<div class="error-banner p-4 md:p-5 border-b svelte-mz8rul" role="alert" aria-live="assertive"><div class="error-banner-content flex items-start gap-3"><div class="error-icon-wrapper
|
|
20918
|
-
Would you like to extend your time to complete your purchase?</p> <div class="session-popup-actions svelte-mz8rul" data-testid="session-popup-actions"><!> <!></div></div></div>`), UI = /* @__PURE__ */ M('<div class="px-5 md:px-10 pt-12 bg-white"><div class="w-full flex md:gap-5 flex-wrap"><div class="flex-1 pb-16 md:pb-0"><div class="checkout-card rounded-lg md:shadow
|
|
20914
|
+
}, FI = /* @__PURE__ */ M('<p class="error-suggestion text-xs svelte-mz8rul"> </p>'), zI = /* @__PURE__ */ M('<div class="error-actions mt-3 flex gap-2"><button class="retry-btn flex items-center gap-2 px-3 py-1.5 rounded-lg text-sm font-medium transition-colors svelte-mz8rul" aria-label="Retry payment"><!> Try again</button></div>'), GI = /* @__PURE__ */ M('<div class="error-banner p-4 md:p-5 border-b svelte-mz8rul" role="alert" aria-live="assertive"><div class="error-banner-content flex items-start gap-3"><div class="error-icon-wrapper shrink-0 svelte-mz8rul" aria-hidden="true"><!></div> <div class="error-details flex-1"><h2 class="error-title text-sm font-semibold mb-1 svelte-mz8rul"> </h2> <p class="error-message text-sm mb-2 svelte-mz8rul"> </p> <!></div> <button class="error-dismiss p-1 rounded transition-colors svelte-mz8rul" aria-label="Dismiss payment error"><!></button></div> <!></div>'), BI = /* @__PURE__ */ M('<div class="w-full sm:w-80 flex flex-col"></div>'), VI = /* @__PURE__ */ M(`<div class="session-popup-overlay svelte-mz8rul" role="dialog" aria-modal="true" aria-labelledby="extend-session-title" aria-describedby="extend-session-description" data-testid="session-extension-popup"><div class="session-popup svelte-mz8rul"><div class="session-popup-icon svelte-mz8rul" aria-hidden="true"><!></div> <h2 id="extend-session-title" class="session-popup-title svelte-mz8rul">Session Expiring Soon</h2> <p id="extend-session-description" class="session-popup-message svelte-mz8rul">Your session will expire in <span class="time-remaining svelte-mz8rul"> </span>.
|
|
20915
|
+
Would you like to extend your time to complete your purchase?</p> <div class="session-popup-actions svelte-mz8rul" data-testid="session-popup-actions"><!> <!></div></div></div>`), UI = /* @__PURE__ */ M('<div class="px-5 md:px-10 pt-12 bg-white"><div class="w-full flex md:gap-5 flex-wrap"><div class="flex-1 pb-16 md:pb-0"><div class="checkout-card rounded-lg md:shadow md:border svelte-mz8rul"><header class="checkout-header flex justify-between py-5 md:p-5 border-b svelte-mz8rul" role="banner"><div class="gap-1"><h1 class="checkout-title text-lg font-semibold leading-relaxed svelte-mz8rul"></h1> <p class="timer-text pt-1 text-xs font-normal leading-normal svelte-mz8rul" role="timer" aria-live="polite" aria-atomic="true"> </p></div> <button class="close-btn p-2 rounded-lg transition-colors svelte-mz8rul" aria-label="Go back to cart"><!></button></header> <!> <!> <div class="py-5 md:p-5"><!></div> <div class="py-5 md:p-5"><!></div></div></div> <!> <div><!></div></div></div> <!>', 1);
|
|
20919
20916
|
function cl(e, t) {
|
|
20920
20917
|
Ze(t, !0);
|
|
20921
20918
|
let r = x(t, "availableTickets", 23, () => []), n = x(t, "value", 3, ""), a = x(t, "venueId", 3, ""), i = x(t, "organizationId", 3, "");
|
|
@@ -22012,4 +22009,4 @@ export {
|
|
|
22012
22009
|
Ul as y,
|
|
22013
22010
|
Tv as z
|
|
22014
22011
|
};
|
|
22015
|
-
//# sourceMappingURL=VenueCalendar-
|
|
22012
|
+
//# sourceMappingURL=VenueCalendar-BMSfRl2d.js.map
|