@getmicdrop/venue-calendar 4.3.30 → 4.3.31

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 (100) hide show
  1. package/dist/{ArrowLeftIcon-BEoyQzGt.js → ArrowLeftIcon-Bg70__J7.js} +1 -1
  2. package/dist/{BlockPlaceholder-BEiQTRGx.js → BlockPlaceholder-CsW21FJP.js} +1 -1
  3. package/dist/{Calendar-D27gfN0x.js → Calendar-Cdj7mgsh.js} +60 -60
  4. package/dist/{CalendarFoundryView-Dy1wY7cG.js → CalendarFoundryView-CtdwX2SN.js} +2597 -2555
  5. package/dist/{CalendarIcon-DxOagkl5.js → CalendarIcon-BONrcnBR.js} +1 -1
  6. package/dist/{CartView-B_DCNrDS.js → CartView-B-Jz3AUi.js} +22 -22
  7. package/dist/{Checkout-CS5GDkWc.js → Checkout-BkH_iHrr.js} +26 -26
  8. package/dist/{Checkout-Ud28q5Hy.js → Checkout-DmVSDgG4.js} +25 -23
  9. package/dist/{CheckoutTimer-BP6B5azC.js → CheckoutTimer-BINY0A3o.js} +3 -3
  10. package/dist/{ChevronDownIcon-DIQAmQyH.js → ChevronDownIcon-SmP1R44t.js} +1 -1
  11. package/dist/{ClockIcon-CVPj8q7F.js → ClockIcon-DSlKAM02.js} +1 -1
  12. package/dist/{CloseIcon-BQm8Xs1P.js → CloseIcon-DQQHlbD5.js} +1 -1
  13. package/dist/{CollectionView-ACiii1J5.js → CollectionView-TQsQUheR.js} +6 -6
  14. package/dist/{Event-BJlo9YTD.js → Event-DH8R-4F_.js} +114 -114
  15. package/dist/{EventPage-D1ajrjlw.js → EventPage-Bwnpa90Z.js} +15 -15
  16. package/dist/{Input-Bpq_mV4s.js → Input-Ycz9fDhr.js} +1 -1
  17. package/dist/{MailIcon-Wrsqe_uW.js → MailIcon-CR2KJ_jI.js} +1 -1
  18. package/dist/{PasswordInput-eMxkf9IC.js → PasswordInput-C4CTTEqA.js} +1 -1
  19. package/dist/{RecommendationsRail-CdP6VhHT.js → RecommendationsRail-CsCk1LQe.js} +15 -15
  20. package/dist/{ScarcityBadge-D1IzCyTk.js → ScarcityBadge-DsUZ2xMX.js} +3 -3
  21. package/dist/{SeriesPage-Pq0b5Jfu.js → SeriesPage-D4fTZsB4.js} +3 -3
  22. package/dist/{Success-3_2VxjV6.js → Success-BRR_lRnL.js} +21 -21
  23. package/dist/{TagIcon-DAHUalS9.js → TagIcon-D3CUh74q.js} +1 -1
  24. package/dist/{ViewTicketsEmbed-B0agtnsM.js → ViewTicketsEmbed-ZK8Iq5rE.js} +12 -12
  25. package/dist/{WarningCircleIcon-u-Y8M0N1.js → WarningCircleIcon-tYCc94E0.js} +1 -1
  26. package/dist/{WarningTriIcon-DroD8KGE.js → WarningTriIcon-DqbXc4oC.js} +1 -1
  27. package/dist/{api-Cjp9Xhh9.js → api-Cnjfq1es.js} +100 -100
  28. package/dist/{constants-D4j-SbUf.js → constants-D-R13SyT.js} +5 -3
  29. package/dist/{copyToClipboard-CX0-qsMi.js → copyToClipboard-B1J1SpWg.js} +1 -1
  30. package/dist/{de-BeTte2sb.js → de-CrMbvuuV.js} +3 -1
  31. package/dist/{de-Jg2pbAJN.js → de-U0ENh7uA.js} +4 -1
  32. package/dist/{defaultLabels-BgBbv_Mu.js → defaultLabels-Dh-_xfOC.js} +9 -6
  33. package/dist/{es-vzC7Y0yK.js → es-CmbcTI7U.js} +3 -1
  34. package/dist/{es-CcYV23YF.js → es-DA7o9qj2.js} +4 -1
  35. package/dist/{event-transform-B608JYyE.js → event-transform-hOHeTQOK.js} +5 -5
  36. package/dist/{eventStatusStream-uZrfQOCm.js → eventStatusStream-B5ixh-sc.js} +5 -5
  37. package/dist/{fr-DqLLRK8z.js → fr-CAQjiRpV.js} +3 -1
  38. package/dist/{fr-2hbBUueN.js → fr-DgPjnuZh.js} +4 -1
  39. package/dist/{href-EZSiOTvJ.js → href-CNC_6xMv.js} +2 -2
  40. package/dist/{i18n-IC1KXPJh.js → i18n-DpEd_A_A.js} +20 -20
  41. package/dist/i18n-ch8did0h.js +28 -0
  42. package/dist/{id-YWXdncCA.js → id-Bz5RjCc1.js} +3 -1
  43. package/dist/{id-42eHQdTZ.js → id-DQfIcnYa.js} +4 -1
  44. package/dist/{it-CT1Yl7lC.js → it-CqEyhG5r.js} +4 -1
  45. package/dist/{it-Cun7MBPu.js → it-wMX0iXW-.js} +3 -1
  46. package/dist/{ja-FpN4x6ay.js → ja-BHzUvYMy.js} +3 -1
  47. package/dist/{ja-rdY01kpT.js → ja-Cd0WASnp.js} +4 -1
  48. package/dist/{ko-DzIwez8Z.js → ko-DWXNKxCw.js} +4 -1
  49. package/dist/{ko-CbeYW3Mt.js → ko-hy8WDqbp.js} +3 -1
  50. package/dist/locales/{4.3.30 → 4.3.31}/flow/de.js +1 -1
  51. package/dist/locales/{4.3.30 → 4.3.31}/flow/es.js +1 -1
  52. package/dist/locales/{4.3.30 → 4.3.31}/flow/fr.js +1 -1
  53. package/dist/locales/{4.3.30 → 4.3.31}/flow/id.js +1 -1
  54. package/dist/locales/{4.3.30 → 4.3.31}/flow/it.js +1 -1
  55. package/dist/locales/{4.3.30 → 4.3.31}/flow/ja.js +1 -1
  56. package/dist/locales/{4.3.30 → 4.3.31}/flow/ko.js +1 -1
  57. package/dist/locales/{4.3.30 → 4.3.31}/flow/nl.js +1 -1
  58. package/dist/locales/{4.3.30 → 4.3.31}/flow/pl.js +1 -1
  59. package/dist/locales/{4.3.30 → 4.3.31}/flow/pt-br.js +1 -1
  60. package/dist/locales/{4.3.30 → 4.3.31}/flow/tr.js +1 -1
  61. package/dist/locales/{4.3.30 → 4.3.31}/flow/zh.js +1 -1
  62. package/dist/locales/{4.3.30 → 4.3.31}/main/de.js +1 -1
  63. package/dist/locales/{4.3.30 → 4.3.31}/main/es.js +1 -1
  64. package/dist/locales/{4.3.30 → 4.3.31}/main/fr.js +1 -1
  65. package/dist/locales/{4.3.30 → 4.3.31}/main/id.js +1 -1
  66. package/dist/locales/{4.3.30 → 4.3.31}/main/it.js +1 -1
  67. package/dist/locales/{4.3.30 → 4.3.31}/main/ja.js +1 -1
  68. package/dist/locales/{4.3.30 → 4.3.31}/main/ko.js +1 -1
  69. package/dist/locales/{4.3.30 → 4.3.31}/main/nl.js +1 -1
  70. package/dist/locales/{4.3.30 → 4.3.31}/main/pl.js +1 -1
  71. package/dist/locales/{4.3.30 → 4.3.31}/main/pt-br.js +1 -1
  72. package/dist/locales/{4.3.30 → 4.3.31}/main/tr.js +1 -1
  73. package/dist/locales/{4.3.30 → 4.3.31}/main/zh.js +1 -1
  74. package/dist/{navigation-Dh-hGmN9.js → navigation-DXoNc6j6.js} +2 -2
  75. package/dist/{nl-BOKQEcVS.js → nl-Cm90TgfO.js} +4 -1
  76. package/dist/{nl-Bp9iDZLQ.js → nl-a59DlSFb.js} +3 -1
  77. package/dist/{order-totals-CfYOfTyw.js → order-totals-l5tnNv6l.js} +3 -3
  78. package/dist/{orders-BQRru8sl.js → orders-C3kxHt8s.js} +159 -156
  79. package/dist/{phoneUtils-DK8ry3Ji.js → phoneUtils-ByD5Mtwg.js} +1 -1
  80. package/dist/{pixels-CAgpvPd8.js → pixels-DFRBkP2l.js} +8 -8
  81. package/dist/{pl-Bq365vrl.js → pl-Dmn5DPMF.js} +3 -1
  82. package/dist/{pl-BbTUCBtu.js → pl-cnMynnV0.js} +4 -1
  83. package/dist/{promo-aAygcEn7.js → promo-C5E38yvy.js} +1 -1
  84. package/dist/{pt-br-DqZvFINr.js → pt-br-DA_CwwjY.js} +3 -1
  85. package/dist/{pt-br-yx3E3bTo.js → pt-br-Dolwtivp.js} +4 -1
  86. package/dist/{scarcity-Dgvp7aCF.js → scarcity-s5fHFJHw.js} +1 -1
  87. package/dist/{serverTotals-96Luutwl.js → serverTotals-nOfn0tJD.js} +1 -1
  88. package/dist/{showcase-state-options-DcNFRj34.js → showcase-state-options-BMxEymob.js} +1 -1
  89. package/dist/{to-event-card-props-djxhqexI.js → to-event-card-props-BGgDK-2C.js} +94 -124
  90. package/dist/{tr-B0X8dT0r.js → tr-CSMHipgJ.js} +4 -1
  91. package/dist/{tr-D-gAL87g.js → tr-DM96GLXF.js} +3 -1
  92. package/dist/{utils-CDgMSeSc.js → utils-BQ5FDP3S.js} +52 -52
  93. package/dist/venue-calendar.css +1 -1
  94. package/dist/venue-calendar.es.js +907 -907
  95. package/dist/venue-calendar.iife.js +27 -27
  96. package/dist/venue-calendar.umd.js +33 -33
  97. package/dist/{zh-_x9bdFXs.js → zh-BplFGzz_.js} +4 -1
  98. package/dist/{zh-DcBHN9JC.js → zh-CdWAelYB.js} +3 -1
  99. package/package.json +2 -2
  100. package/dist/i18n-BZAWUSFx.js +0 -28
@@ -1,4 +1,4 @@
1
- import { q as e } from "./scarcity-Dgvp7aCF.js";
1
+ import { q as e } from "./scarcity-s5fHFJHw.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/phosphor/CalendarIcon.svelte
@@ -1,26 +1,26 @@
1
1
  import { C as e, E as t, O as n, S as r } from "./Button-klwKgfhG.js";
2
- import { n as i, r as a } from "./WarningCircleIcon-u-Y8M0N1.js";
2
+ import { n as i, r as a } from "./WarningCircleIcon-tYCc94E0.js";
3
3
  import { t as o } from "./CloseOutline-qpVa62mu.js";
4
- import { t as s } from "./Input-Bpq_mV4s.js";
5
- import { C as c, D as l, E as u, S as d, T as f, _ as p, a as m, c as h, d as g, g as _, h as v, l as y, n as b, p as x, u as S, v as C, y as w } from "./scarcity-Dgvp7aCF.js";
6
- import { t as T } from "./ArrowLeftIcon-BEoyQzGt.js";
7
- import { n as E, t as D } from "./BlockPlaceholder-BEiQTRGx.js";
8
- import { n as O, r as k, t as A } from "./ScarcityBadge-D1IzCyTk.js";
4
+ import { t as s } from "./Input-Ycz9fDhr.js";
5
+ import { C as c, D as l, E as u, S as d, T as f, _ as p, a as m, c as h, d as g, g as _, h as v, l as y, n as b, p as x, u as S, v as C, y as w } from "./scarcity-s5fHFJHw.js";
6
+ import { t as T } from "./ArrowLeftIcon-Bg70__J7.js";
7
+ import { n as E, t as D } from "./BlockPlaceholder-CsW21FJP.js";
8
+ import { n as O, r as k, t as A } from "./ScarcityBadge-DsUZ2xMX.js";
9
9
  import { c as j, n as M, r as N, t as P, u as F } from "./z-index-BgKs9X9U.js";
10
- import { A as I, H as ee, L, N as R, U as z, b as te, g as B, i as V, n as H, t as U, x as ne, z as W } from "./defaultLabels-BgBbv_Mu.js";
11
- import { d as G, i as re, o as ie, y as ae, z as oe } from "./orders-BQRru8sl.js";
10
+ import { A as I, H as ee, L, N as R, U as z, b as te, g as B, i as V, n as H, t as U, x as ne, z as W } from "./defaultLabels-Dh-_xfOC.js";
11
+ import { B as G, d as re, i as ie, o as ae, y as oe } from "./orders-C3kxHt8s.js";
12
12
  import { n as se, t as ce } from "./__SKIP_PATHS__-BQgiZG5h.js";
13
13
  import { t as K } from "./LiveRegion-D9Me4kBs.js";
14
14
  import { t as q } from "./Modal-gEHiBqWZ.js";
15
15
  import { t as J } from "./Spinner-D8dOJe6O.js";
16
16
  import { t as le } from "./modalManager.svelte-Cz_6x1Qd.js";
17
- import { c as ue } from "./navigation-Dh-hGmN9.js";
18
- import { b as de, d as fe, f as pe, k as me, p as he, x as ge } from "./api-Cjp9Xhh9.js";
19
- import { t as _e } from "./event-transform-B608JYyE.js";
20
- import { C as Y, S as X, _ as ve, b as ye, d as be, f as xe, g as Se, i as Ce, l as we, m as Te, t as Ee, u as De, v as Oe, w as ke } from "./utils-CDgMSeSc.js";
21
- import { a as Ae, i as je, n as Me, r as Ne, t as Pe } from "./promo-aAygcEn7.js";
22
- import { n as Fe, t as Ie } from "./CheckoutTimer-BP6B5azC.js";
23
- import { t as Le } from "./constants-D4j-SbUf.js";
17
+ import { c as ue } from "./navigation-DXoNc6j6.js";
18
+ import { b as de, d as fe, f as pe, k as me, p as he, x as ge } from "./api-Cnjfq1es.js";
19
+ import { t as _e } from "./event-transform-hOHeTQOK.js";
20
+ import { C as Y, S as X, _ as ve, b as ye, d as be, f as xe, g as Se, i as Ce, l as we, m as Te, t as Ee, u as De, v as Oe, w as ke } from "./utils-BQ5FDP3S.js";
21
+ import { a as Ae, i as je, n as Me, r as Ne, t as Pe } from "./promo-C5E38yvy.js";
22
+ import { n as Fe, t as Ie } from "./CheckoutTimer-BINY0A3o.js";
23
+ import { t as Le } from "./constants-D-R13SyT.js";
24
24
  import "svelte/internal/disclose-version";
25
25
  import * as Z from "svelte/internal/client";
26
26
  import { SvelteURLSearchParams as Re } from "svelte/reactivity";
@@ -1443,7 +1443,7 @@ function fn(t, r) {
1443
1443
  if (!e) return;
1444
1444
  Z.set(Ze, !0);
1445
1445
  try {
1446
- await ie(e, Z.get(T)) || (Ut.warn("Cart quantity sync failed; reverting local quantities"), Z.set(T, { ...n }, !0), Z.get(p) && ve({
1446
+ await ae(e, Z.get(T)) || (Ut.warn("Cart quantity sync failed; reverting local quantities"), Z.set(T, { ...n }, !0), Z.get(p) && ve({
1447
1447
  eventID: Z.get(p).eventID,
1448
1448
  quantities: Z.get(T),
1449
1449
  promocode: Z.get(E),
@@ -1463,9 +1463,9 @@ function fn(t, r) {
1463
1463
  eventID: Z.get(p).eventID,
1464
1464
  quantities: Z.get(T),
1465
1465
  promoCode: Z.get(E) || void 0,
1466
- attribution: ae()
1466
+ attribution: oe()
1467
1467
  });
1468
- e?.success && e.uuid && (qe = !0, bt(), G(Z.get(p).eventID, null, Z.get(p).venueID || Z.get(p).venueId || null));
1468
+ e?.success && e.uuid && (qe = !0, bt(), re(Z.get(p).eventID, null, Z.get(p).venueID || Z.get(p).venueId || null));
1469
1469
  } catch (e) {
1470
1470
  Ut.error("Error creating cart on ticket select:", e);
1471
1471
  } finally {
@@ -1505,7 +1505,7 @@ function fn(t, r) {
1505
1505
  }
1506
1506
  Ve && Ve.abort(), Ve = new AbortController(), Z.set(Le, !0), Z.set(Pe, null);
1507
1507
  try {
1508
- let t = await oe({
1508
+ let t = await G({
1509
1509
  venueId: Number(Z.get(p).venueID),
1510
1510
  eventId: Number(Z.get(p).eventID),
1511
1511
  lineItems: e,
@@ -1584,13 +1584,13 @@ function fn(t, r) {
1584
1584
  eventID: Z.get(p).eventID,
1585
1585
  quantities: Z.get(T),
1586
1586
  promoCode: Z.get(E) || void 0,
1587
- attribution: ae()
1587
+ attribution: oe()
1588
1588
  });
1589
1589
  if (!e) {
1590
1590
  Z.set(g, !1), Z.set(B, "cart_failed"), z.open();
1591
1591
  return;
1592
1592
  }
1593
- Z.set(H, !0), e.success && G(Z.get(p).eventID, null, Z.get(p).venueID || Z.get(p).venueId || null);
1593
+ Z.set(H, !0), e.success && re(Z.get(p).eventID, null, Z.get(p).venueID || Z.get(p).venueId || null);
1594
1594
  } catch (e) {
1595
1595
  Ut.error("Order initiation failed:", e), Z.set(g, !1), Z.set(B, "cart_failed"), z.open();
1596
1596
  return;
@@ -1686,7 +1686,7 @@ function fn(t, r) {
1686
1686
  return;
1687
1687
  }
1688
1688
  try {
1689
- let e = await re($);
1689
+ let e = await ie($);
1690
1690
  if (e.notFound) {
1691
1691
  clearInterval(I);
1692
1692
  let e = $;
@@ -1,25 +1,25 @@
1
1
  import { C as e, E as t } from "./Button-klwKgfhG.js";
2
- import { t as n } from "./Input-Bpq_mV4s.js";
3
- import { D as r, S as i, l as a, q as o, r as s } from "./scarcity-Dgvp7aCF.js";
4
- import { t as c } from "./CalendarIcon-DxOagkl5.js";
5
- import { t as l } from "./ClockIcon-CVPj8q7F.js";
6
- import { t as u } from "./WarningTriIcon-DroD8KGE.js";
2
+ import { t as n } from "./Input-Ycz9fDhr.js";
3
+ import { D as r, S as i, l as a, q as o, r as s } from "./scarcity-s5fHFJHw.js";
4
+ import { t as c } from "./CalendarIcon-BONrcnBR.js";
5
+ import { t as l } from "./ClockIcon-DSlKAM02.js";
6
+ import { t as u } from "./WarningTriIcon-DqbXc4oC.js";
7
7
  import { t as d } from "./z-index-BgKs9X9U.js";
8
- import { A as f, H as p, P as m, U as h, V as g, b as _, i as v, j as y, x as b } from "./defaultLabels-BgBbv_Mu.js";
9
- import { $ as x, Z as S, i as C, q as w } from "./orders-BQRru8sl.js";
8
+ import { A as f, H as p, P as m, U as h, V as g, b as _, i as v, j as y, x as b } from "./defaultLabels-Dh-_xfOC.js";
9
+ import { J as x, Q as S, et as C, i as w } from "./orders-C3kxHt8s.js";
10
10
  import { t as T } from "./LiveRegion-D9Me4kBs.js";
11
11
  import { n as E, t as D } from "./Heading-D6bWtGZA.js";
12
12
  import { t as O } from "./Checkbox-24CWEsty.js";
13
13
  import { t as k } from "./Modal-gEHiBqWZ.js";
14
14
  import { t as A } from "./Text-CqjLjIF8.js";
15
15
  import { t as j } from "./modalManager.svelte-Cz_6x1Qd.js";
16
- import "./api-Cjp9Xhh9.js";
17
- import { i as M, n as ee, t as te } from "./i18n-IC1KXPJh.js";
18
- import { t as ne } from "./eventStatusStream-uZrfQOCm.js";
19
- import { n as re, t as ie } from "./CheckoutTimer-BP6B5azC.js";
20
- import { n as ae, t as oe } from "./constants-D4j-SbUf.js";
21
- import { a as se, i as ce, o as le, r as N, s as ue, t as de } from "./showcase-state-options-DcNFRj34.js";
22
- import { n as fe } from "./order-totals-CfYOfTyw.js";
16
+ import "./api-Cnjfq1es.js";
17
+ import { i as M, n as ee, t as te } from "./i18n-DpEd_A_A.js";
18
+ import { t as ne } from "./eventStatusStream-B5ixh-sc.js";
19
+ import { n as re, t as ie } from "./CheckoutTimer-BINY0A3o.js";
20
+ import { n as ae, t as oe } from "./constants-D-R13SyT.js";
21
+ import { a as se, i as ce, o as le, r as N, s as ue, t as de } from "./showcase-state-options-BMxEymob.js";
22
+ import { n as fe } from "./order-totals-l5tnNv6l.js";
23
23
  import "svelte/internal/disclose-version";
24
24
  import * as P from "svelte/internal/client";
25
25
  import { onDestroy as pe, onMount as F, untrack as me } from "svelte";
@@ -110,7 +110,7 @@ function K() {
110
110
  } catch {}
111
111
  }
112
112
  function q() {
113
- let e = w(W), t = ye();
113
+ let e = x(W), t = ye();
114
114
  return e === "dark" || e === "light" ? (t && K(), e) : t ? (S(W, t), K(), t) : null;
115
115
  }
116
116
  //#endregion
@@ -1030,7 +1030,7 @@ function He(e, t) {
1030
1030
  var Ue = t("CheckoutMain"), We = P.from_html("<p> </p> <p class=\"tone-secondary mb-6\"> </p> <!>", 1), Ge = P.from_html(" <!>", 1), Ke = P.from_html("<div class=\"mt-4 pt-4 border-t border-default\"><!></div>"), qe = P.from_html("<div class=\"max-w-6xl\"><div class=\"vc-box-grid-wide grid-cols-booking-split gap-8 items-start\"><div class=\"pb-24 md:pb-0\"><!> <section class=\"vc-box-mobile mobile-order-summary border-default bg-surface-secondary mt-6 svelte-1opgb11\"><div class=\"flex gap-3 pb-3 mb-3 border-b border-default\"><div class=\"shrink-0 w-20 h-14 rounded-lg overflow-hidden bg-surface-tertiary\"><!></div> <div class=\"flex-1 min-w-0\"><!> <div class=\"flex items-center gap-1.5 mt-1\"><!> <!></div> <div class=\"mt-0.5\"><!></div></div></div> <!> <!></section></div> <div class=\"vc-box-desktop-block sticky top-6\"><!></div></div></div> <div class=\"vc-box-mobile\"><!></div>", 1), Je = P.from_html("<p class=\"timer-modal-hint type-caption svelte-1opgb11\"> </p>"), Ye = P.from_html("<div class=\"timer-modal svelte-1opgb11\" id=\"warning-modal-description\"><div class=\"timer-modal-icon warning svelte-1opgb11\"><!></div> <h3 id=\"warning-modal-title\" class=\"timer-modal-title type-subheading svelte-1opgb11\"> </h3> <p class=\"timer-modal-text type-body svelte-1opgb11\"> </p> <!></div>"), Xe = P.from_html("<!> <p class=\"timer-modal-hint type-caption svelte-1opgb11\"> </p>", 1), Ze = P.from_html("<div class=\"timer-modal-actions svelte-1opgb11\"><!></div>"), Qe = P.from_html("<div class=\"timer-modal svelte-1opgb11\" id=\"expired-modal-description\"><div class=\"timer-modal-icon expired svelte-1opgb11\"><!></div> <h3 id=\"expired-modal-title\" class=\"timer-modal-title type-subheading svelte-1opgb11\"> </h3> <p class=\"timer-modal-text type-body svelte-1opgb11\"> </p></div>"), $e = P.from_html("<!> <!>", 1), et = P.from_html("<div class=\"timer-modal svelte-1opgb11\" id=\"sale-closed-modal-description\"><div class=\"timer-modal-icon expired svelte-1opgb11\"><!></div> <h3 id=\"sale-closed-modal-title\" class=\"timer-modal-title type-subheading svelte-1opgb11\"><!></h3> <p class=\"timer-modal-text type-body svelte-1opgb11\"><!></p></div>"), tt = P.from_html("<div class=\"w-full min-h-screen bg-surface-primary text-color-primary\"><div class=\"max-w-6xl mx-auto px-4 py-6 md:px-6 md:py-8\"><!></div> <!> <!> <!></div>");
1031
1031
  function nt(t, n) {
1032
1032
  P.push(n, !0);
1033
- let i = de(), o = P.derived(() => N.current), d = P.prop(n, "config", 3, void 0), p = P.prop(n, "onPlaceOrder", 3, void 0), m = P.prop(n, "onBack", 3, void 0), y = P.prop(n, "onRetryExpired", 3, void 0), S = P.prop(n, "onExtendSession", 3, void 0), w = P.prop(n, "stripe", 3, void 0), E = P.prop(n, "paymentIntent", 3, void 0), D = P.prop(n, "elements", 15, void 0), O = P.prop(n, "paymentError", 3, null), ie = P.prop(n, "eventEnded", 15, !1), ae = P.prop(n, "serverTotalsUnavailable", 3, !1), pe = P.prop(n, "labels", 19, () => ({})), F = P.prop(n, "locale", 3, void 0), he = P.prop(n, "giftCard", 3, void 0), I = P.derived(() => te(F(), pe())), L = P.derived(() => !d());
1033
+ let i = de(), o = P.derived(() => N.current), d = P.prop(n, "config", 3, void 0), p = P.prop(n, "onPlaceOrder", 3, void 0), m = P.prop(n, "onBack", 3, void 0), y = P.prop(n, "onRetryExpired", 3, void 0), x = P.prop(n, "onExtendSession", 3, void 0), S = P.prop(n, "stripe", 3, void 0), E = P.prop(n, "paymentIntent", 3, void 0), D = P.prop(n, "elements", 15, void 0), O = P.prop(n, "paymentError", 3, null), ie = P.prop(n, "eventEnded", 15, !1), ae = P.prop(n, "serverTotalsUnavailable", 3, !1), pe = P.prop(n, "labels", 19, () => ({})), F = P.prop(n, "locale", 3, void 0), he = P.prop(n, "giftCard", 3, void 0), I = P.derived(() => te(F(), pe())), L = P.derived(() => !d());
1034
1034
  P.user_effect(() => {
1035
1035
  if (P.get(L)) return N.options = i, N.current = "default", N.isActive = !0, () => {
1036
1036
  N.isActive = !1, N.options = [];
@@ -1284,7 +1284,7 @@ function nt(t, n) {
1284
1284
  async function Ie() {
1285
1285
  let e = Fe();
1286
1286
  if (e) try {
1287
- let t = await C(e);
1287
+ let t = await w(e);
1288
1288
  if (t.notFound) {
1289
1289
  P.set(B, Date.now(), !0), P.set(V, 0), P.set(H, !0), K.close(), q.open();
1290
1290
  return;
@@ -1344,9 +1344,9 @@ function nt(t, n) {
1344
1344
  if (!(!P.get(Y) || P.get(J))) {
1345
1345
  P.set(J, !0);
1346
1346
  try {
1347
- if (S()) {
1348
- let e = await S()();
1349
- if (e == null) throw new x("Extension request returned no result", 0, {
1347
+ if (x()) {
1348
+ let e = await x()();
1349
+ if (e == null) throw new C("Extension request returned no result", 0, {
1350
1350
  endpoint: "extend-session",
1351
1351
  method: "POST"
1352
1352
  });
@@ -1432,7 +1432,7 @@ function nt(t, n) {
1432
1432
  return P.get(W);
1433
1433
  },
1434
1434
  get stripe() {
1435
- return w();
1435
+ return S();
1436
1436
  },
1437
1437
  get paymentIntent() {
1438
1438
  return E();
@@ -1521,7 +1521,7 @@ function nt(t, n) {
1521
1521
  return P.get(I);
1522
1522
  }
1523
1523
  });
1524
- var S = P.sibling(x, 2), C = (e) => {
1524
+ var C = P.sibling(x, 2), w = (e) => {
1525
1525
  var t = Ke(), n = P.child(t);
1526
1526
  A(n, {
1527
1527
  size: "xs",
@@ -1536,8 +1536,8 @@ function nt(t, n) {
1536
1536
  $$slots: { default: !0 }
1537
1537
  }), P.reset(t), P.append(e, t);
1538
1538
  };
1539
- P.if(S, (e) => {
1540
- P.get(z).event.disclaimer && e(C);
1539
+ P.if(C, (e) => {
1540
+ P.get(z).event.disclaimer && e(w);
1541
1541
  }), P.reset(l), P.reset(i);
1542
1542
  var T = P.sibling(i, 2), k = P.child(T);
1543
1543
  {
@@ -1783,7 +1783,7 @@ function nt(t, n) {
1783
1783
  u(r, { size: "32" }), P.reset(n);
1784
1784
  var i = P.sibling(n, 2), a = P.child(i), o = (e) => {
1785
1785
  var t = P.text();
1786
- P.template_effect(() => P.set_text(t, P.get(I).eventCanceledTitle || "This event was cancelled")), P.append(e, t);
1786
+ P.template_effect(() => P.set_text(t, P.get(I).eventCanceledTitle || "This event was canceled")), P.append(e, t);
1787
1787
  }, s = (e) => {
1788
1788
  var t = P.text();
1789
1789
  P.template_effect(() => P.set_text(t, P.get(I).eventPostponedTitle || "Ticket sales are paused")), P.append(e, t);
@@ -1793,7 +1793,7 @@ function nt(t, n) {
1793
1793
  }), P.reset(i);
1794
1794
  var c = P.sibling(i, 2), l = P.child(c), d = (e) => {
1795
1795
  var t = P.text();
1796
- P.template_effect(() => P.set_text(t, P.get(I).eventCanceledMessage || "This event has been cancelled, so tickets are no longer for sale. You have not been charged")), P.append(e, t);
1796
+ P.template_effect(() => P.set_text(t, P.get(I).eventCanceledMessage || "This event has been canceled, so tickets are no longer for sale. You have not been charged")), P.append(e, t);
1797
1797
  }, f = (e) => {
1798
1798
  var t = P.text();
1799
1799
  P.template_effect(() => P.set_text(t, P.get(I).eventPostponedMessage || "Ticket sales for this event have been paused. You have not been charged. Check back soon or contact the organizer")), P.append(e, t);
@@ -1,22 +1,22 @@
1
1
  import { C as e, E as t, S as n } from "./Button-klwKgfhG.js";
2
- import { n as r, r as i, t as a } from "./CloseIcon-BQm8Xs1P.js";
3
- import { i as o } from "./Input-Bpq_mV4s.js";
4
- import { D as s, S as c, p as l } from "./scarcity-Dgvp7aCF.js";
5
- import { t as u } from "./TagIcon-DAHUalS9.js";
6
- import { t as d } from "./WarningTriIcon-DroD8KGE.js";
2
+ import { n as r, r as i, t as a } from "./CloseIcon-DQQHlbD5.js";
3
+ import { i as o } from "./Input-Ycz9fDhr.js";
4
+ import { D as s, S as c, p as l } from "./scarcity-s5fHFJHw.js";
5
+ import { t as u } from "./TagIcon-D3CUh74q.js";
6
+ import { t as d } from "./WarningTriIcon-DqbXc4oC.js";
7
7
  import { d as f, n as p } from "./z-index-BgKs9X9U.js";
8
- import { M as m, b as h, i as g, n as _, t as v, z as y } from "./defaultLabels-BgBbv_Mu.js";
9
- import { V as b, f as x, i as S, n as C, r as ee, s as w, t as T } from "./orders-BQRru8sl.js";
10
- import { n as E, t as te } from "./serverTotals-96Luutwl.js";
8
+ import { M as m, b as h, i as g, n as _, t as v, z as y } from "./defaultLabels-Dh-_xfOC.js";
9
+ import { H as b, f as x, i as S, n as C, r as ee, s as w, t as T } from "./orders-C3kxHt8s.js";
10
+ import { n as E, t as te } from "./serverTotals-nOfn0tJD.js";
11
11
  import { a as D, i as O, n as k, r as A, t as j } from "./ModalFooter-D21lJobf.js";
12
- import { t as ne } from "./navigation-Dh-hGmN9.js";
13
- import { c as re, o as M, s as ie, y as ae } from "./api-Cjp9Xhh9.js";
12
+ import { t as ne } from "./navigation-DXoNc6j6.js";
13
+ import { c as re, o as M, s as ie, y as ae } from "./api-Cnjfq1es.js";
14
14
  import { t as oe } from "./venue-CBos8YTa.js";
15
- import { t as N } from "./event-transform-B608JYyE.js";
16
- import { b as se, g as ce, h as le, l as ue, r as de, v as fe } from "./utils-CDgMSeSc.js";
17
- import { a as pe, n as me } from "./promo-aAygcEn7.js";
18
- import { r as he } from "./order-totals-CfYOfTyw.js";
19
- import ge, { n as _e, t as ve } from "./Checkout-CS5GDkWc.js";
15
+ import { t as N } from "./event-transform-hOHeTQOK.js";
16
+ import { b as se, g as ce, h as le, l as ue, r as de, v as fe } from "./utils-BQ5FDP3S.js";
17
+ import { a as pe, n as me } from "./promo-C5E38yvy.js";
18
+ import { r as he } from "./order-totals-l5tnNv6l.js";
19
+ import ge, { n as _e, t as ve } from "./Checkout-BkH_iHrr.js";
20
20
  import { n as ye } from "./buyerEmail-BfCq-gDt.js";
21
21
  import "svelte/internal/disclose-version";
22
22
  import * as P from "svelte/internal/client";
@@ -366,7 +366,7 @@ P.delegate(["click", "keydown"]);
366
366
  var Pe = P.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>"), Fe = P.from_html("<!> <!>", 1);
367
367
  function Ie(t, n) {
368
368
  P.push(n, !0);
369
- let r = P.prop(n, "open", 15, !1), a = P.prop(n, "onBackToEvents", 3, () => {}), s = P.prop(n, "labels", 3, v), c = P.derived(() => n.reason === "canceled"), l = P.derived(() => P.get(c) ? s().eventCanceledTitle || "Event cancelled" : s().eventPostponedTitle || "Event postponed"), u = P.derived(() => P.get(c) ? s().eventCanceledBody || "This event was cancelled — you weren't charged" : s().eventPostponedBody || "Sales are paused while this show is rescheduled — you weren't charged"), d = P.derived(() => s().backToEvents || "Back to events");
369
+ let r = P.prop(n, "open", 15, !1), a = P.prop(n, "onBackToEvents", 3, () => {}), s = P.prop(n, "labels", 3, v), c = P.derived(() => n.reason === "canceled"), l = P.derived(() => P.get(c) ? s().eventCanceledTitle || "Event canceled" : s().eventPostponedTitle || "Event postponed"), u = P.derived(() => P.get(c) ? s().eventCanceledBody || "This event was canceled — you weren't charged" : s().eventPostponedBody || "Sales are paused while this show is rescheduled — you weren't charged"), d = P.derived(() => s().backToEvents || "Back to events");
370
370
  D(t, {
371
371
  size: "sm",
372
372
  role: "alertdialog",
@@ -508,7 +508,7 @@ function Be(e, t) {
508
508
  }
509
509
  let i = [...Q(P.get(A), P.get(M), t), ...Oe(P.get(re), P.get(O)?.addOns)];
510
510
  Object.keys(P.get(A)).length > 0 && await X();
511
- let a = 900, l = "";
511
+ let a = 900, l = "", d, f;
512
512
  if (P.get(k)) {
513
513
  let e = fe(P.get(k));
514
514
  if (e) {
@@ -517,27 +517,29 @@ function Be(e, t) {
517
517
  }
518
518
  try {
519
519
  let e = await S(P.get(k));
520
- if (!e.error && e.expiresAt) {
520
+ if (e.error || (e.remainingExtensions !== void 0 && (d = e.remainingExtensions), e.canExtend !== void 0 && (f = e.canExtend)), !e.error && e.expiresAt) {
521
521
  let t = h(e.expiresAt).getTime();
522
522
  a = Math.max(0, Math.floor((t - Date.now()) / 1e3)), l = e.expiresAt, se(P.get(k), t);
523
523
  }
524
524
  } catch {}
525
525
  }
526
- let d = _e(`checkout-promo-discount-type-${e}`), f = [];
526
+ let m = _e(`checkout-promo-discount-type-${e}`), g = [];
527
527
  try {
528
528
  let t = _e(`checkout-promo-ticket-ids-${e}`), n = t ? JSON.parse(t) : [];
529
- Array.isArray(n) && (f = n);
529
+ Array.isArray(n) && (g = n);
530
530
  } catch {
531
- f = [];
531
+ g = [];
532
532
  }
533
- let m = s(i.filter((e) => me(f, e.ticketId)).reduce((e, t) => e + (t.subtotal == null ? 0 : t.subtotal), 0)), g = pe(m, P.get(xe), d);
533
+ let _ = s(i.filter((e) => me(g, e.ticketId)).reduce((e, t) => e + (t.subtotal == null ? 0 : t.subtotal), 0)), v = pe(_, P.get(xe), m);
534
534
  if (P.set(q, {
535
535
  event: Ee(P.get(O), t),
536
536
  lines: i,
537
537
  timerStart: a,
538
538
  ...l ? { deadlineAt: l } : {},
539
+ ...d === void 0 ? {} : { remainingExtensions: d },
540
+ ...f === void 0 ? {} : { canExtend: f },
539
541
  promoApplied: !!P.get(F),
540
- promoDiscount: g,
542
+ promoDiscount: v,
541
543
  forceExpired: !1,
542
544
  ...J ? { serverTotals: J } : {}
543
545
  }, !0), o()) {
@@ -1,7 +1,7 @@
1
- import { t as e } from "./ClockIcon-CVPj8q7F.js";
2
- import { A as t, g as n, x as r } from "./defaultLabels-BgBbv_Mu.js";
1
+ import { t as e } from "./ClockIcon-DSlKAM02.js";
2
+ import { A as t, g as n, x as r } from "./defaultLabels-Dh-_xfOC.js";
3
3
  import { t as i } from "./Text-CqjLjIF8.js";
4
- import { n as a } from "./constants-D4j-SbUf.js";
4
+ import { n as a } from "./constants-D-R13SyT.js";
5
5
  import "svelte/internal/disclose-version";
6
6
  import * as o from "svelte/internal/client";
7
7
  //#region src/lib/utils/event-ended.ts
@@ -1,4 +1,4 @@
1
- import { q as e } from "./scarcity-Dgvp7aCF.js";
1
+ import { q as e } from "./scarcity-s5fHFJHw.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/phosphor/ChevronDownIcon.svelte
@@ -1,4 +1,4 @@
1
- import { q as e } from "./scarcity-Dgvp7aCF.js";
1
+ import { q as e } from "./scarcity-s5fHFJHw.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/phosphor/ClockIcon.svelte
@@ -1,4 +1,4 @@
1
- import { q as e } from "./scarcity-Dgvp7aCF.js";
1
+ import { q as e } from "./scarcity-s5fHFJHw.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/CalendarOutline.svelte
@@ -1,11 +1,11 @@
1
1
  import { E as e } from "./Button-klwKgfhG.js";
2
- import { t } from "./Event-BJlo9YTD.js";
3
- import { i as n } from "./RecommendationsRail-CdP6VhHT.js";
4
- import { n as r } from "./ScarcityBadge-D1IzCyTk.js";
5
- import { i, t as a } from "./defaultLabels-BgBbv_Mu.js";
2
+ import { t } from "./Event-DH8R-4F_.js";
3
+ import { i as n } from "./RecommendationsRail-CsCk1LQe.js";
4
+ import { n as r } from "./ScarcityBadge-DsUZ2xMX.js";
5
+ import { i, t as a } from "./defaultLabels-Dh-_xfOC.js";
6
6
  import { t as o } from "./__SKIP_PATHS__-BQgiZG5h.js";
7
- import { t as s } from "./PasswordInput-eMxkf9IC.js";
8
- import { m as c } from "./api-Cjp9Xhh9.js";
7
+ import { t as s } from "./PasswordInput-C4CTTEqA.js";
8
+ import { m as c } from "./api-Cnjfq1es.js";
9
9
  import { i as l, n as u, t as d } from "./gate-password-cache-oOcDm9Ki.js";
10
10
  import "svelte/internal/disclose-version";
11
11
  import * as f from "svelte/internal/client";