@getmicdrop/venue-calendar 4.2.12 → 4.2.14

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.
Files changed (31) hide show
  1. package/dist/{Checkout-DpcKVoV0.js → Checkout-C-QPYtF4.js} +59 -75
  2. package/dist/{Checkout-CYTsIOBV.js → Checkout-hcEcnyN_.js} +236 -236
  3. package/dist/{Success-CvoORmAN.js → Success-DgUD_STB.js} +4 -4
  4. package/dist/venue-calendar.es.js +6 -6
  5. package/dist/venue-calendar.iife.js +11 -11
  6. package/dist/venue-calendar.umd.js +50 -50
  7. package/package.json +1 -1
  8. /package/dist/locales/{4.2.12 → 4.2.14}/flow/de.js +0 -0
  9. /package/dist/locales/{4.2.12 → 4.2.14}/flow/es.js +0 -0
  10. /package/dist/locales/{4.2.12 → 4.2.14}/flow/fr.js +0 -0
  11. /package/dist/locales/{4.2.12 → 4.2.14}/flow/id.js +0 -0
  12. /package/dist/locales/{4.2.12 → 4.2.14}/flow/it.js +0 -0
  13. /package/dist/locales/{4.2.12 → 4.2.14}/flow/ja.js +0 -0
  14. /package/dist/locales/{4.2.12 → 4.2.14}/flow/ko.js +0 -0
  15. /package/dist/locales/{4.2.12 → 4.2.14}/flow/nl.js +0 -0
  16. /package/dist/locales/{4.2.12 → 4.2.14}/flow/pl.js +0 -0
  17. /package/dist/locales/{4.2.12 → 4.2.14}/flow/pt-br.js +0 -0
  18. /package/dist/locales/{4.2.12 → 4.2.14}/flow/tr.js +0 -0
  19. /package/dist/locales/{4.2.12 → 4.2.14}/flow/zh.js +0 -0
  20. /package/dist/locales/{4.2.12 → 4.2.14}/main/de.js +0 -0
  21. /package/dist/locales/{4.2.12 → 4.2.14}/main/es.js +0 -0
  22. /package/dist/locales/{4.2.12 → 4.2.14}/main/fr.js +0 -0
  23. /package/dist/locales/{4.2.12 → 4.2.14}/main/id.js +0 -0
  24. /package/dist/locales/{4.2.12 → 4.2.14}/main/it.js +0 -0
  25. /package/dist/locales/{4.2.12 → 4.2.14}/main/ja.js +0 -0
  26. /package/dist/locales/{4.2.12 → 4.2.14}/main/ko.js +0 -0
  27. /package/dist/locales/{4.2.12 → 4.2.14}/main/nl.js +0 -0
  28. /package/dist/locales/{4.2.12 → 4.2.14}/main/pl.js +0 -0
  29. /package/dist/locales/{4.2.12 → 4.2.14}/main/pt-br.js +0 -0
  30. /package/dist/locales/{4.2.12 → 4.2.14}/main/tr.js +0 -0
  31. /package/dist/locales/{4.2.12 → 4.2.14}/main/zh.js +0 -0
@@ -9,11 +9,11 @@ import { i as v, l as y, n as b, r as x, s as S, t as C } from "./orders-xGH8-IQ
9
9
  import { n as w, t as T } from "./serverTotals-BO126TTd.js";
10
10
  import { a as E, i as D, n as O, r as k, t as A } from "./ModalFooter-DMxM0E8Y.js";
11
11
  import { S as ee, d as te, l as j, u as ne } from "./colors-Dk53YuNz.js";
12
- import { t as M } from "./event-transform-DUqXNcXz.js";
13
- import { a as re, f as ie, p as ae, r as N, u as oe } from "./utils-CcxQIxOO.js";
14
- import { a as se, n as ce } from "./promo-DtLZRskK.js";
12
+ import { t as re } from "./event-transform-DUqXNcXz.js";
13
+ import { a as ie, f as ae, p as oe, r as M, u as se } from "./utils-CcxQIxOO.js";
14
+ import { a as N, n as ce } from "./promo-DtLZRskK.js";
15
15
  import { r as le } from "./order-totals-DptlFbmv.js";
16
- import ue, { n as P, t as de } from "./Checkout-CYTsIOBV.js";
16
+ import ue, { n as P, t as de } from "./Checkout-hcEcnyN_.js";
17
17
  import { n as fe } from "./buyerEmail-BfCq-gDt.js";
18
18
  import "svelte/internal/disclose-version";
19
19
  import * as F from "svelte/internal/client";
@@ -181,8 +181,8 @@ function Z(e, t = h) {
181
181
  }
182
182
  //#endregion
183
183
  //#region src/components/Events/Checkout/GiftCardInput.svelte
184
- var Q = n("GiftCardInput"), Se = F.from_html("<div class=\"applied-card mb-2 svelte-emw0hd\"><div class=\"flex items-center gap-3\"><div class=\"applied-icon svelte-emw0hd\"><!></div> <div class=\"flex flex-col flex-1\"><span class=\"type-caption text-status-success-text\"> </span> <span class=\"type-body font-mono text-text-primary\"> </span></div> <span class=\"type-label text-accent-success\"> </span> <!></div></div>"), Ce = F.from_html("<div><!> <span> </span></div>"), we = F.from_html("<div class=\"flex justify-between items-center type-body mt-1.5\"><span class=\"text-text-secondary\"> </span> <span class=\"type-label text-text-primary\"> </span></div>"), Te = F.from_html("<div class=\"applied-card mb-3 svelte-emw0hd\"><div class=\"flex justify-between items-center type-body\"><span class=\"text-text-secondary\"> </span> <span class=\"type-label text-accent-success\"> </span></div> <!></div>"), Ee = F.from_html("<div class=\"flex items-center gap-1.5 mt-2 type-body text-accent-danger\"><!> <span> </span></div>"), De = F.from_html("<div class=\"input-section svelte-emw0hd\"><div class=\"flex gap-2\"><input type=\"text\" name=\"giftCardCode\" autocomplete=\"off\" autocapitalize=\"characters\"/> <!></div> <!></div>"), Oe = F.from_html("<div class=\"mb-4\"><!> <!> <button type=\"button\"><!> <span> </span> <span class=\"toggle-indicator svelte-emw0hd\"> </span></button> <!></div>");
185
- function ke(n, i) {
184
+ var Q = n("GiftCardInput"), Se = F.from_html("<div class=\"applied-card mb-2 svelte-emw0hd\"><div class=\"flex items-center gap-3\"><div class=\"applied-icon svelte-emw0hd\"><!></div> <div class=\"flex flex-col flex-1\"><span class=\"type-caption text-status-success-text\"> </span> <span class=\"type-body font-mono text-text-primary\"> </span></div> <span class=\"type-label text-accent-success\"> </span> <!></div></div>"), Ce = F.from_html("<div class=\"applied-card mb-3 svelte-emw0hd\"><div><!> <span> </span></div></div>"), we = F.from_html("<div class=\"flex items-center gap-1.5 mt-2 type-body text-accent-danger\"><!> <span> </span></div>"), Te = F.from_html("<div class=\"input-section svelte-emw0hd\"><div class=\"flex gap-2\"><input type=\"text\" name=\"giftCardCode\" autocomplete=\"off\" autocapitalize=\"characters\"/> <!></div> <!></div>"), Ee = F.from_html("<div class=\"mb-4\"><!> <!> <button type=\"button\"><!> <span> </span> <span class=\"toggle-indicator svelte-emw0hd\"> </span></button> <!></div>");
185
+ function De(n, i) {
186
186
  F.push(i, !0);
187
187
  let a = F.prop(i, "onApplied", 3, () => {}), s = F.prop(i, "onRemoved", 3, () => {}), u = F.prop(i, "disabled", 3, !1), p = F.prop(i, "labels", 3, h), m = F.prop(i, "owedTotal", 3, 0), v = F.state(""), y = F.state(!1), b = F.state(""), S = F.state(F.proxy([])), C = F.state(!1), w = F.state(0);
188
188
  F.user_effect(() => {
@@ -255,8 +255,8 @@ function ke(n, i) {
255
255
  function ne() {
256
256
  F.set(C, !F.get(C)), F.get(C) || (F.set(v, ""), F.set(b, ""));
257
257
  }
258
- var M = Oe(), re = F.child(M);
259
- F.each(re, 17, () => F.get(S), (e) => e.code, (e, t) => {
258
+ var re = Ee(), ie = F.child(re);
259
+ F.each(ie, 17, () => F.get(S), (e) => e.code, (e, t) => {
260
260
  var n = Se(), i = F.child(n), a = F.child(i), s = F.child(a);
261
261
  o(s, { size: "16" }), F.reset(a);
262
262
  var m = F.sibling(a, 2), h = F.child(m), g = F.child(h, !0);
@@ -292,46 +292,28 @@ function ke(n, i) {
292
292
  F.set_text(g, p().giftCardApplied || "Gift card applied"), F.set_text(v, F.get(t).code), F.set_text(x, `-${e ?? ""}`);
293
293
  }, [() => f(F.get(t).giftCardAmount)]), F.transition(3, n, () => l, () => ({ duration: d.fast })), F.append(e, n);
294
294
  });
295
- var ie = F.sibling(re, 2), ae = (n) => {
296
- var r = Te(), i = F.child(r), a = F.child(i), s = F.child(a, !0);
297
- F.reset(a);
298
- var c = F.sibling(a, 2), l = F.child(c);
299
- F.reset(c), F.reset(i);
300
- var u = F.sibling(i, 2), d = (n) => {
301
- var r = Ce(), i = F.child(r);
302
- o(i, { size: "16" });
303
- var a = F.sibling(i, 2), s = F.child(a, !0);
304
- F.reset(a), F.reset(r), F.template_effect(() => {
305
- F.set_class(r, 1, `full-coverage-badge ${t.caption ?? ""} ${e.emphasis ?? ""}`, "svelte-emw0hd"), F.set_text(s, p().fullyCoveredByGiftCard || "Fully covered by gift card");
306
- }), F.append(n, r);
307
- }, m = (e) => {
308
- var t = we(), n = F.child(t), r = F.child(n, !0);
309
- F.reset(n);
310
- var i = F.sibling(n, 2), a = F.child(i, !0);
311
- F.reset(i), F.reset(t), F.template_effect((e) => {
312
- F.set_text(r, p().remainingToPay || "Remaining to pay"), F.set_text(a, e);
313
- }, [() => f(F.get(E))]), F.append(e, t);
314
- };
315
- F.if(u, (e) => {
316
- F.get(D) ? e(d) : e(m, -1);
317
- }), F.reset(r), F.template_effect((e) => {
318
- F.set_text(s, p().appliedToOrder || "Applied to order"), F.set_text(l, `-${e ?? ""}`);
319
- }, [() => f(F.get(T))]), F.append(n, r);
295
+ var ae = F.sibling(ie, 2), oe = (n) => {
296
+ var r = Ce(), i = F.child(r), a = F.child(i);
297
+ o(a, { size: "16" });
298
+ var s = F.sibling(a, 2), c = F.child(s, !0);
299
+ F.reset(s), F.reset(i), F.reset(r), F.template_effect(() => {
300
+ F.set_class(i, 1, `full-coverage-badge ${t.caption ?? ""} ${e.emphasis ?? ""}`, "svelte-emw0hd"), F.set_text(c, p().fullyCoveredByGiftCard || "Fully covered by gift card");
301
+ }), F.append(n, r);
320
302
  };
321
- F.if(ie, (e) => {
322
- F.get(S).length > 0 && e(ae);
303
+ F.if(ae, (e) => {
304
+ F.get(D) && e(oe);
323
305
  });
324
- var N = F.sibling(ie, 2), oe = F.child(N);
325
- g(oe, {
306
+ var M = F.sibling(ae, 2), se = F.child(M);
307
+ g(se, {
326
308
  size: "20",
327
309
  class: "gift-icon"
328
310
  });
329
- var se = F.sibling(oe, 2), ce = F.child(se, !0);
330
- F.reset(se);
331
- var le = F.sibling(se, 2), ue = F.child(le, !0);
332
- F.reset(le), F.reset(N);
333
- var P = F.sibling(N, 2), de = (e) => {
334
- var n = De(), i = F.child(n), a = F.child(i);
311
+ var N = F.sibling(se, 2), ce = F.child(N, !0);
312
+ F.reset(N);
313
+ var le = F.sibling(N, 2), ue = F.child(le, !0);
314
+ F.reset(le), F.reset(M);
315
+ var P = F.sibling(M, 2), de = (e) => {
316
+ var n = Te(), i = F.child(n), a = F.child(i);
335
317
  F.remove_input_defaults(a);
336
318
  let o;
337
319
  var s = F.sibling(a, 2);
@@ -358,7 +340,7 @@ function ke(n, i) {
358
340
  }
359
341
  F.reset(i);
360
342
  var c = F.sibling(i, 2), f = (e) => {
361
- var t = Ee(), n = F.child(t);
343
+ var t = we(), n = F.child(t);
362
344
  _(n, { size: "16" });
363
345
  var r = F.sibling(n, 2), i = F.child(r, !0);
364
346
  F.reset(r), F.reset(t), F.template_effect(() => F.set_text(i, F.get(b))), F.transition(3, t, () => l, () => ({ duration: d.micro })), F.append(e, t);
@@ -371,15 +353,15 @@ function ke(n, i) {
371
353
  };
372
354
  F.if(P, (e) => {
373
355
  F.get(C) && e(de);
374
- }), F.reset(M), F.template_effect(() => {
375
- F.set_class(N, 1, `gift-card-toggle ${t.label ?? ""}`, "svelte-emw0hd"), N.disabled = u(), F.set_attribute(N, "aria-expanded", F.get(C)), F.set_text(ce, F.get(S).length > 0 ? p().addAnotherGiftCard || "Add another gift card" : p().haveAGiftCard || "Have a gift card?"), F.set_text(ue, F.get(C) ? "-" : "+");
376
- }), F.delegated("click", N, ne), F.append(n, M), F.pop();
356
+ }), F.reset(re), F.template_effect(() => {
357
+ F.set_class(M, 1, `gift-card-toggle ${t.label ?? ""}`, "svelte-emw0hd"), M.disabled = u(), F.set_attribute(M, "aria-expanded", F.get(C)), F.set_text(ce, F.get(S).length > 0 ? p().addAnotherGiftCard || "Add another gift card" : p().haveAGiftCard || "Have a gift card?"), F.set_text(ue, F.get(C) ? "-" : "+");
358
+ }), F.delegated("click", M, ne), F.append(n, re), F.pop();
377
359
  }
378
360
  F.delegate(["click", "keydown"]);
379
361
  //#endregion
380
362
  //#region src/components/Modals/EventUnavailableModal.svelte
381
- var Ae = F.from_html("<div class=\"flex flex-col items-center text-center pt-6 px-4 pb-4\"><div aria-hidden=\"true\"><!></div> <h3 id=\"event-unavailable-title\"> </h3> <p id=\"event-unavailable-body\" class=\"type-body tone-secondary max-w-72\"> </p></div>"), je = F.from_html("<!> <!>", 1);
382
- function Me(e, n) {
363
+ var Oe = F.from_html("<div class=\"flex flex-col items-center text-center pt-6 px-4 pb-4\"><div aria-hidden=\"true\"><!></div> <h3 id=\"event-unavailable-title\"> </h3> <p id=\"event-unavailable-body\" class=\"type-body tone-secondary max-w-72\"> </p></div>"), ke = F.from_html("<!> <!>", 1);
364
+ function Ae(e, n) {
383
365
  F.push(n, !0);
384
366
  let i = F.prop(n, "open", 15, !1), a = F.prop(n, "onBackToEvents", 3, () => {}), o = F.prop(n, "labels", 3, h), c = F.derived(() => n.reason === "canceled"), l = F.derived(() => F.get(c) ? o().eventCanceledTitle || "Event cancelled" : o().eventPostponedTitle || "Event postponed"), d = F.derived(() => F.get(c) ? o().eventCanceledBody || "This event was cancelled — you weren't charged" : o().eventPostponedBody || "Sales are paused while this show is rescheduled — you weren't charged"), f = F.derived(() => o().backToEvents || "Back to events");
385
367
  E(e, {
@@ -393,15 +375,15 @@ function Me(e, n) {
393
375
  i(e);
394
376
  },
395
377
  children: (e, n) => {
396
- var i = je(), o = F.first_child(i);
378
+ var i = ke(), o = F.first_child(i);
397
379
  D(o, {});
398
380
  var p = F.sibling(o, 2);
399
381
  k(p, {
400
382
  children: (e, n) => {
401
- var i = je(), o = F.first_child(i);
383
+ var i = ke(), o = F.first_child(i);
402
384
  O(o, {
403
385
  children: (e, n) => {
404
- var r = Ae(), i = F.child(r), a = F.child(i), o = (e) => {
386
+ var r = Oe(), i = F.child(r), a = F.child(i), o = (e) => {
405
387
  u(e, { size: "32" });
406
388
  }, f = (e) => {
407
389
  s(e, { size: "32" });
@@ -449,14 +431,14 @@ function Me(e, n) {
449
431
  }
450
432
  //#endregion
451
433
  //#region src/components/Views/Checkout.svelte
452
- var $ = n("Checkout"), Ne = F.from_html("<div class=\"p-8 text-center\"><p class=\"text-accent-danger\"> </p></div>"), Pe = F.from_html("<div class=\"p-8 text-center\"><p class=\"tone-muted\"> </p></div>"), Fe = F.from_html("<!> <!>", 1);
453
- function Ie(e, t) {
434
+ var $ = n("Checkout"), je = F.from_html("<div class=\"p-8 text-center\"><p class=\"text-accent-danger\"> </p></div>"), Me = F.from_html("<div class=\"p-8 text-center\"><p class=\"tone-muted\"> </p></div>"), Ne = F.from_html("<!> <!>", 1);
435
+ function Pe(e, t) {
454
436
  F.push(t, !0);
455
437
  let n = F.prop(t, "availableTickets", 23, () => []);
456
438
  F.prop(t, "value", 3, "");
457
439
  let r = F.prop(t, "venueId", 3, ""), o = F.prop(t, "organizationId", 3, ""), s = F.prop(t, "onNavigateBack", 3, void 0), c = F.prop(t, "initialError", 3, void 0), l = F.prop(t, "widgetId", 3, null), u = F.prop(t, "labels", 3, h), d = F.prop(t, "locale", 3, void 0), f = F.derived(() => (t.data || {}).id);
458
440
  F.derived(() => (t.data || {}).orgSlug);
459
- let g = F.derived(() => (t.data || {}).slug), _ = F.derived(() => (t.data || {}).event), x = F.derived(() => F.get(_) ? M(F.get(_)) : t.data && (t.data.id || F.get(f)) ? {
441
+ let g = F.derived(() => (t.data || {}).slug), _ = F.derived(() => (t.data || {}).event), x = F.derived(() => F.get(_) ? re(F.get(_)) : t.data && (t.data.id || F.get(f)) ? {
460
442
  id: t.data.id || F.get(f),
461
443
  eventID: t.data.id || F.get(f),
462
444
  venueID: t.data.venueID ?? t.data.venueId ?? null,
@@ -472,14 +454,14 @@ function Ie(e, t) {
472
454
  };
473
455
  }
474
456
  pe(async () => {
475
- if (F.set(E, P(re) || P(de.CHECKOUT_CARTID), !0), !F.get(E)) {
457
+ if (F.set(E, P(ie) || P(de.CHECKOUT_CARTID), !0), !F.get(E)) {
476
458
  F.set(U, !0), F.set(me, u().noCheckoutSession || "No checkout session found. Please select tickets first", !0);
477
459
  return;
478
460
  }
479
461
  y(F.get(x)?.eventID || F.get(x)?.id || F.get(f), l(), r() || F.get(x)?.venueID || F.get(x)?.venueId || null);
480
462
  let e = F.get(x)?.eventID || F.get(x)?.id || F.get(f);
481
463
  try {
482
- let t = oe(e);
464
+ let t = se(e);
483
465
  F.set(D, t.quantities || {}, !0), F.set(O, t.donationAmounts || {}, !0), F.set(A, t.promocode || "", !0), F.set(te, t.promoDiscountAmount || 0, !0), F.set(k, t.tickets || [], !0);
484
466
  } catch (e) {
485
467
  $.error("Error loading checkout state:", e), F.set(D, {}, !0), F.set(k, [], !0);
@@ -494,7 +476,7 @@ function Ie(e, t) {
494
476
  taxPercentage: 0
495
477
  };
496
478
  try {
497
- let e = await N(F.get(x)?.venueID || F.get(x)?.venueId || r());
479
+ let e = await M(F.get(x)?.venueID || F.get(x)?.venueId || r());
498
480
  t = {
499
481
  serviceFeeCents: Number(e?.serviceFeeCents == null ? 0 : e.serviceFeeCents),
500
482
  serviceFeePercentage: Number(e?.serviceFeePercentage ?? 0),
@@ -510,7 +492,7 @@ function Ie(e, t) {
510
492
  Object.keys(F.get(D)).length > 0 && await _e();
511
493
  let o = 900, s = "";
512
494
  if (F.get(E)) {
513
- let e = ie(F.get(E));
495
+ let e = ae(F.get(E));
514
496
  if (e) {
515
497
  let t = Math.max(0, Math.floor((e - Date.now()) / 1e3));
516
498
  t > 0 && (o = t);
@@ -519,7 +501,7 @@ function Ie(e, t) {
519
501
  let e = await v(F.get(E));
520
502
  if (!e.error && e.expiresAt) {
521
503
  let t = a(e.expiresAt).getTime();
522
- o = Math.max(0, Math.floor((t - Date.now()) / 1e3)), s = e.expiresAt, ae(F.get(E), t);
504
+ o = Math.max(0, Math.floor((t - Date.now()) / 1e3)), s = e.expiresAt, oe(F.get(E), t);
523
505
  }
524
506
  } catch {}
525
507
  }
@@ -530,7 +512,7 @@ function Ie(e, t) {
530
512
  } catch {
531
513
  m = [];
532
514
  }
533
- let h = p(i.filter((e) => ce(m, e.ticketId)).reduce((e, t) => e + (t.subtotal == null ? 0 : t.subtotal), 0)), g = se(h, F.get(te), d);
515
+ let h = p(i.filter((e) => ce(m, e.ticketId)).reduce((e, t) => e + (t.subtotal == null ? 0 : t.subtotal), 0)), g = N(h, F.get(te), d);
534
516
  if (F.set(K, {
535
517
  event: ve(F.get(x), t),
536
518
  lines: i,
@@ -727,6 +709,8 @@ function Ie(e, t) {
727
709
  firstName: e.firstName,
728
710
  lastName: e.lastName,
729
711
  email: e.email,
712
+ phone: e.phone,
713
+ questionAnswer: e.questionAnswer,
730
714
  paymentMethod: "credit-card",
731
715
  mailingList: e.keepMeUpdated,
732
716
  saleType: "online"
@@ -765,7 +749,7 @@ function Ie(e, t) {
765
749
  firstName: e.firstName,
766
750
  lastName: e.lastName,
767
751
  email: e.email,
768
- phoneNumber: null,
752
+ phoneNumber: e.phone || null,
769
753
  mailingList: e.keepMeUpdated
770
754
  });
771
755
  if (n?.success) {
@@ -856,13 +840,13 @@ function Ie(e, t) {
856
840
  function Ee() {
857
841
  s() ? s()() : window.history.back();
858
842
  }
859
- function De() {
843
+ function Oe() {
860
844
  s() ? s()() : window.history.back();
861
845
  }
862
- function Oe() {
846
+ function ke() {
863
847
  F.set(W, null), Ee();
864
848
  }
865
- async function Ae() {
849
+ async function Pe() {
866
850
  if (!F.get(E)) return null;
867
851
  try {
868
852
  let e = await b(F.get(E));
@@ -874,12 +858,12 @@ function Ie(e, t) {
874
858
  return $.error("Error extending checkout session:", e), null;
875
859
  }
876
860
  }
877
- var je = Fe(), Ie = F.first_child(je), Le = (e) => {
861
+ var Fe = Ne(), Ie = F.first_child(Fe), Le = (e) => {
878
862
  {
879
863
  let t = (e) => {
880
864
  {
881
865
  let t = F.derived(() => F.get(j) || F.get(L)), n = F.derived(() => F.get(K)?.serverTotals?.total ?? 0);
882
- ke(e, {
866
+ De(e, {
883
867
  get cartId() {
884
868
  return F.get(E);
885
869
  },
@@ -903,8 +887,8 @@ function Ie(e, t) {
903
887
  },
904
888
  onPlaceOrder: Q,
905
889
  onBack: Ee,
906
- onRetryExpired: De,
907
- onExtendSession: Ae,
890
+ onRetryExpired: Oe,
891
+ onExtendSession: Pe,
908
892
  get stripe() {
909
893
  return F.get(R);
910
894
  },
@@ -940,22 +924,22 @@ function Ie(e, t) {
940
924
  });
941
925
  }
942
926
  }, Re = (e) => {
943
- var t = Ne(), n = F.child(t), r = F.child(n, !0);
927
+ var t = je(), n = F.child(t), r = F.child(n, !0);
944
928
  F.reset(n), F.reset(t), F.template_effect(() => F.set_text(r, F.get(me))), F.append(e, t);
945
929
  }, ze = (e) => {
946
- var t = Pe(), n = F.child(t), r = F.child(n, !0);
930
+ var t = Me(), n = F.child(t), r = F.child(n, !0);
947
931
  F.reset(n), F.reset(t), F.template_effect(() => F.set_text(r, u().loadingSecurePaymentForm || "Loading secure payment form...")), F.append(e, t);
948
932
  };
949
933
  F.if(Ie, (e) => {
950
934
  F.get(K) ? e(Le) : F.get(U) ? e(Re, 1) : e(ze, -1);
951
935
  });
952
936
  var Be = F.sibling(Ie, 2), Ve = (e) => {
953
- Me(e, {
937
+ Ae(e, {
954
938
  open: !0,
955
939
  get reason() {
956
940
  return F.get(W);
957
941
  },
958
- onBackToEvents: Oe,
942
+ onBackToEvents: ke,
959
943
  get labels() {
960
944
  return u();
961
945
  }
@@ -963,7 +947,7 @@ function Ie(e, t) {
963
947
  };
964
948
  F.if(Be, (e) => {
965
949
  F.get(he) && e(Ve);
966
- }), F.append(e, je), F.pop();
950
+ }), F.append(e, Fe), F.pop();
967
951
  }
968
952
  //#endregion
969
- export { Ie as default };
953
+ export { Pe as default };