@getmicdrop/venue-calendar 4.3.120 → 4.3.121

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 (114) hide show
  1. package/dist/{AddOnCard-BGFpF6uw.js → AddOnCard-jj59e855.js} +5 -5
  2. package/dist/{ArrowLeftIcon-pPaJkbnp.js → ArrowLeftIcon-t-CY0sbi.js} +1 -1
  3. package/dist/{BlockPlaceholder-BgLtwJnm.js → BlockPlaceholder-BmEZ68_q.js} +1 -1
  4. package/dist/{Calendar-DFPyzgRC.js → Calendar-hxcQBkTF.js} +3 -3
  5. package/dist/{CalendarFoundryView-BI_LlpB6.js → CalendarFoundryView-CSAKDe-F.js} +19 -19
  6. package/dist/{CalendarIcon-C_6MSRyE.js → CalendarIcon-B5JWs0gm.js} +1 -1
  7. package/dist/{CartView-9YSoRvTw.js → CartView-CF2y1JDa.js} +719 -716
  8. package/dist/{CheckIcon-sr8D0z-b.js → CheckIcon-BSwoGox7.js} +1 -1
  9. package/dist/{Checkout-BLkYIKoR.js → Checkout-2h2K3-bE.js} +378 -378
  10. package/dist/{Checkout-BS3r4Qii.js → Checkout-BFu5dTw_.js} +328 -328
  11. package/dist/{CheckoutTimer-DY1NKJXP.js → CheckoutTimer-Bpt5gPyA.js} +2 -2
  12. package/dist/{ChevronDownIcon-Co6rRQp-.js → ChevronDownIcon-CVZ0usBx.js} +1 -1
  13. package/dist/{CloseIcon-DpRE5O8y.js → CloseIcon-DUnvWXUY.js} +1 -1
  14. package/dist/CollectionView-XdNMvMtn.js +141 -0
  15. package/dist/{Event-DUq4tYBE.js → Event-B_9T21du.js} +684 -680
  16. package/dist/EventPage-BMnKpciU.js +1201 -0
  17. package/dist/{Input-CsHb9Z8e.js → Input-BXZmvQ0p.js} +1 -1
  18. package/dist/{LocationIcon-Dxk7snUC.js → LocationIcon-E-7CQh4E.js} +1 -1
  19. package/dist/{PasswordInput-BlL0w_yr.js → PasswordInput-DzXNIwRc.js} +1 -1
  20. package/dist/{RecommendationsRail-Dq9t0T02.js → RecommendationsRail-DrzM8h2r.js} +124 -124
  21. package/dist/{ScarcityBadge-Bj_YMxz4.js → ScarcityBadge-DjzrzvId.js} +4 -4
  22. package/dist/{SeriesPage-CaPTQRSo.js → SeriesPage-Ds_FEEZW.js} +2 -2
  23. package/dist/{Spinner-BgdjQygI.js → Spinner-B2rdbspc.js} +1 -1
  24. package/dist/{Success-tXgS0BXp.js → Success-Dkak0iM9.js} +201 -201
  25. package/dist/{TagIcon-Kq7_bapx.js → TagIcon-BY8tK_qA.js} +1 -1
  26. package/dist/ViewTicketsEmbed-B_fqalQh.js +660 -0
  27. package/dist/{WarningCircleIcon-BdbAYYi4.js → WarningCircleIcon-C5Lc7qkF.js} +1 -1
  28. package/dist/{WarningTriIcon-D8otatZe.js → WarningTriIcon-BM8qc9xx.js} +1 -1
  29. package/dist/api/api.cjs +1 -1
  30. package/dist/api/api.mjs +258 -252
  31. package/dist/api/cart-addons.d.ts +2 -1
  32. package/dist/api/checkout-availability.d.ts +2 -25
  33. package/dist/api/client.d.ts +4 -7
  34. package/dist/api/events.d.ts +23 -22
  35. package/dist/api/gift-cards.d.ts +7 -6
  36. package/dist/api/orders.d.ts +13 -12
  37. package/dist/api/promo.d.ts +5 -4
  38. package/dist/api/surge-queue.d.ts +5 -34
  39. package/dist/api/venues.d.ts +5 -4
  40. package/dist/api/waitlist.d.ts +5 -9
  41. package/dist/{api-DG7ztpYi.js → api-BEYkGabB.js} +174 -169
  42. package/dist/{copyToClipboard-DSangJpP.js → copyToClipboard-F-akSgaF.js} +1 -1
  43. package/dist/{createErrorGate.svelte-CEBpRAmr.js → createErrorGate.svelte-CEGaIQeI.js} +1 -1
  44. package/dist/{datetime-YTw6PkGP.js → datetime-BnKG6Hjm.js} +1 -1
  45. package/dist/{de-CbwqVvg6.js → de-BHcAXwnM.js} +0 -1
  46. package/dist/{defaultLabels-CsRGNP7f.js → defaultLabels-BbNEEsF7.js} +0 -1
  47. package/dist/{defaults-UDvnrGu0.js → defaults-CgsFJvJ2.js} +2 -2
  48. package/dist/{es-Dxqulvec.js → es-DZ3yceh-.js} +0 -1
  49. package/dist/{event-CW18bU9h.js → event-DfqUhl5j.js} +1 -1
  50. package/dist/{event-transform-CyRMeKW_.js → event-transform-Bk1IoYh5.js} +4 -4
  51. package/dist/{eventStatusStream-Cf7PaLka.js → eventStatusStream-CE0PwO0c.js} +9 -9
  52. package/dist/{fr-0aCE52FE.js → fr-Dyi163Vk.js} +0 -1
  53. package/dist/{href-yqxAPbkW.js → href-CfWGAmkP.js} +3 -3
  54. package/dist/i18n-B705OXZp.js +28 -0
  55. package/dist/{i18n-MF3q-UBI.js → i18n-BoMUWcCq.js} +4 -4
  56. package/dist/{id-7ClY2Dwb.js → id-DvFRZVAm.js} +0 -1
  57. package/dist/{it-z-heX6Hy.js → it-Bh05tcLv.js} +0 -1
  58. package/dist/{ja-ecBzr5l9.js → ja-CU4PQS4j.js} +0 -1
  59. package/dist/{ko-Blnq1Wc_.js → ko-DDk6EdWm.js} +0 -1
  60. package/dist/locales/4.3.121/main/de.js +1 -0
  61. package/dist/locales/4.3.121/main/es.js +1 -0
  62. package/dist/locales/4.3.121/main/fr.js +1 -0
  63. package/dist/locales/4.3.121/main/id.js +1 -0
  64. package/dist/locales/4.3.121/main/it.js +1 -0
  65. package/dist/locales/4.3.121/main/ja.js +1 -0
  66. package/dist/locales/4.3.121/main/ko.js +1 -0
  67. package/dist/locales/4.3.121/main/nl.js +1 -0
  68. package/dist/locales/4.3.121/main/pl.js +1 -0
  69. package/dist/locales/4.3.121/main/pt-br.js +1 -0
  70. package/dist/locales/4.3.121/main/tr.js +1 -0
  71. package/dist/locales/4.3.121/main/zh.js +1 -0
  72. package/dist/{nl-Bm2Lee3j.js → nl-DOSKYHSx.js} +0 -1
  73. package/dist/{pixels-BAPQbj_Y.js → pixels-Bu5-BISs.js} +8 -8
  74. package/dist/{pl-DIp-gYhF.js → pl-CkLEymA2.js} +0 -1
  75. package/dist/{pt-br-BmcVsgbQ.js → pt-br-BHuCQSM-.js} +0 -1
  76. package/dist/{serverTotals-D57U4Nju.js → serverTotals-B8SJCzxE.js} +1 -1
  77. package/dist/{showcase-state-options-zfQoPg37.js → showcase-state-options-KO_TYk3I.js} +1 -1
  78. package/dist/{to-event-card-props-Dn1eDOiJ.js → to-event-card-props-DYIfPN8e.js} +9 -13
  79. package/dist/{tr-BshxS2DN.js → tr-Bvc34ODh.js} +0 -1
  80. package/dist/{utils-CdNe7KGe.js → utils-NMx3aPDk.js} +82 -78
  81. package/dist/venue-calendar.es.js +1444 -1444
  82. package/dist/venue-calendar.iife.js +30 -30
  83. package/dist/venue-calendar.umd.js +39 -39
  84. package/dist/{orders-BWVwv3P0.js → widget-key-context-D2zj4sp5.js} +221 -213
  85. package/dist/{zh-B06ZsUNX.js → zh-K0hOzZ3G.js} +0 -1
  86. package/package.json +1 -1
  87. package/dist/CollectionView-DyFDlCmo.js +0 -138
  88. package/dist/EventPage-m5SlifRu.js +0 -1200
  89. package/dist/ViewTicketsEmbed-BnuypZ1H.js +0 -660
  90. package/dist/i18n-B-AwhAMH.js +0 -28
  91. package/dist/locales/4.3.120/main/de.js +0 -1
  92. package/dist/locales/4.3.120/main/es.js +0 -1
  93. package/dist/locales/4.3.120/main/fr.js +0 -1
  94. package/dist/locales/4.3.120/main/id.js +0 -1
  95. package/dist/locales/4.3.120/main/it.js +0 -1
  96. package/dist/locales/4.3.120/main/ja.js +0 -1
  97. package/dist/locales/4.3.120/main/ko.js +0 -1
  98. package/dist/locales/4.3.120/main/nl.js +0 -1
  99. package/dist/locales/4.3.120/main/pl.js +0 -1
  100. package/dist/locales/4.3.120/main/pt-br.js +0 -1
  101. package/dist/locales/4.3.120/main/tr.js +0 -1
  102. package/dist/locales/4.3.120/main/zh.js +0 -1
  103. /package/dist/locales/{4.3.120 → 4.3.121}/flow/de.js +0 -0
  104. /package/dist/locales/{4.3.120 → 4.3.121}/flow/es.js +0 -0
  105. /package/dist/locales/{4.3.120 → 4.3.121}/flow/fr.js +0 -0
  106. /package/dist/locales/{4.3.120 → 4.3.121}/flow/id.js +0 -0
  107. /package/dist/locales/{4.3.120 → 4.3.121}/flow/it.js +0 -0
  108. /package/dist/locales/{4.3.120 → 4.3.121}/flow/ja.js +0 -0
  109. /package/dist/locales/{4.3.120 → 4.3.121}/flow/ko.js +0 -0
  110. /package/dist/locales/{4.3.120 → 4.3.121}/flow/nl.js +0 -0
  111. /package/dist/locales/{4.3.120 → 4.3.121}/flow/pl.js +0 -0
  112. /package/dist/locales/{4.3.120 → 4.3.121}/flow/pt-br.js +0 -0
  113. /package/dist/locales/{4.3.120 → 4.3.121}/flow/tr.js +0 -0
  114. /package/dist/locales/{4.3.120 → 4.3.121}/flow/zh.js +0 -0
@@ -1,41 +1,41 @@
1
1
  import { g as e, m as t } from "./sizing-B7ixYndz.js";
2
- import { t as n } from "./Input-CsHb9Z8e.js";
3
- import { A as r, T as i, X as a, s as o, t as s } from "./datetime-YTw6PkGP.js";
4
- import { n as c } from "./WarningCircleIcon-BdbAYYi4.js";
5
- import { t as l } from "./CalendarIcon-C_6MSRyE.js";
6
- import { t as u } from "./WarningTriIcon-D8otatZe.js";
2
+ import { t as n } from "./Input-BXZmvQ0p.js";
3
+ import { A as r, T as i, X as a, s as o, t as s } from "./datetime-BnKG6Hjm.js";
4
+ import { n as c } from "./WarningCircleIcon-C5Lc7qkF.js";
5
+ import { t as l } from "./CalendarIcon-B5JWs0gm.js";
6
+ import { t as u } from "./WarningTriIcon-BM8qc9xx.js";
7
7
  import { c as d } from "./portalContainment-CeAVqIb-.js";
8
- import { B as f, M as p, V as m, b as h, k as g, x as _, z as v } from "./defaultLabels-CsRGNP7f.js";
8
+ import { B as f, M as p, V as m, b as h, k as g, x as _, z as v } from "./defaultLabels-BbNEEsF7.js";
9
9
  import { r as y, t as b } from "./Button-VUB2WJ88.js";
10
- import { Z as x, i as S, rt as C, tt as ee } from "./orders-BWVwv3P0.js";
11
- import "./api-DG7ztpYi.js";
12
- import { t as te } from "./LiveRegion-D9Me4kBs.js";
13
- import { n as w, t as T } from "./Heading-vOVPxhJF.js";
14
- import { t as E } from "./Checkbox-BtJwg_CF.js";
10
+ import { $ as x, at as S, n as C, o as ee, rt as te } from "./widget-key-context-D2zj4sp5.js";
11
+ import "./api-BEYkGabB.js";
12
+ import { t as w } from "./LiveRegion-D9Me4kBs.js";
13
+ import { n as T, t as E } from "./Heading-vOVPxhJF.js";
14
+ import { t as ne } from "./Checkbox-BtJwg_CF.js";
15
15
  import { t as D } from "./Modal-kG0LKgMZ.js";
16
16
  import { t as O } from "./Text-CqjLjIF8.js";
17
17
  import { t as k } from "./modalManager.svelte-Cz_6x1Qd.js";
18
- import { i as A, n as j, t as M } from "./i18n-MF3q-UBI.js";
19
- import { t as N } from "./eventStatusStream-Cf7PaLka.js";
20
- import { n as ne, t as re } from "./CheckoutTimer-DY1NKJXP.js";
21
- import { n as ie, t as ae } from "./constants-C6MZgb2S.js";
22
- import { a as oe, i as se, o as ce, r as P, s as F, t as le } from "./showcase-state-options-zfQoPg37.js";
23
- import { i as ue, t as de } from "./AddOnCard-BGFpF6uw.js";
18
+ import { i as A, n as j, t as M } from "./i18n-BoMUWcCq.js";
19
+ import { t as N } from "./eventStatusStream-CE0PwO0c.js";
20
+ import { n as re, t as ie } from "./CheckoutTimer-Bpt5gPyA.js";
21
+ import { n as ae, t as oe } from "./constants-C6MZgb2S.js";
22
+ import { a as P, i as se, o as ce, r as F, s as le, t as ue } from "./showcase-state-options-KO_TYk3I.js";
23
+ import { i as de, t as fe } from "./AddOnCard-jj59e855.js";
24
24
  import "svelte/internal/disclose-version";
25
25
  import * as I from "svelte/internal/client";
26
- import { onDestroy as fe, onMount as pe, untrack as me } from "svelte";
26
+ import { onDestroy as pe, onMount as me, untrack as he } from "svelte";
27
27
  //#region node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/phosphor/ChevronLeftIcon.svelte
28
- var he = I.from_svg("<path d=\"M163.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,168,208V48A8,8,0,0,0,163.06,40.61Z\"></path>"), ge = I.from_svg("<polyline points=\"160 208 80 128 160 48\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"16\"></polyline>"), _e = I.from_svg("<svg aria-hidden=\"true\" viewBox=\"0 0 256 256\" fill=\"currentColor\" xmlns=\"http://www.w3.org/2000/svg\"><!></svg>");
29
- function ve(e, t) {
28
+ var ge = I.from_svg("<path d=\"M163.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,168,208V48A8,8,0,0,0,163.06,40.61Z\"></path>"), _e = I.from_svg("<polyline points=\"160 208 80 128 160 48\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"16\"></polyline>"), ve = I.from_svg("<svg aria-hidden=\"true\" viewBox=\"0 0 256 256\" fill=\"currentColor\" xmlns=\"http://www.w3.org/2000/svg\"><!></svg>");
29
+ function ye(e, t) {
30
30
  I.push(t, !0);
31
31
  let n = I.prop(t, "size", 3, "24"), r = I.prop(t, "color", 3, "currentColor"), i = I.prop(t, "class", 3, ""), o = a(), s = I.derived(() => t.weight ?? o?.weight ?? "regular");
32
- var c = _e();
32
+ var c = ve();
33
33
  let l;
34
34
  var u = I.child(c), d = (e) => {
35
- var t = he();
35
+ var t = ge();
36
36
  I.append(e, t);
37
37
  }, f = (e) => {
38
- var t = ge();
38
+ var t = _e();
39
39
  I.append(e, t);
40
40
  };
41
41
  I.if(u, (e) => {
@@ -61,27 +61,27 @@ var L = {
61
61
  EXP: g("exp")
62
62
  };
63
63
  L.OPERATOR_TOKEN, L.REFRESH_TOKEN;
64
- function ye() {
64
+ function be() {
65
65
  return typeof document > "u" ? {} : document.cookie.split("; ").reduce((e, t) => {
66
66
  if (!t) return e;
67
67
  let [n, ...r] = t.split("=");
68
68
  return e[n] = decodeURIComponent(r.join("=")), e;
69
69
  }, {});
70
70
  }
71
- function be(e) {
72
- return ye()[e] || null;
71
+ function xe(e) {
72
+ return be()[e] || null;
73
73
  }
74
74
  //#endregion
75
75
  //#region node_modules/@getmicdrop/svelte-components/dist/utils/storage/registry.js
76
- var xe = /* @__PURE__ */ new Map(), Se = 0, Ce = /* @__PURE__ */ new WeakMap();
77
- function R(e) {
76
+ var Se = /* @__PURE__ */ new Map(), Ce = 0, we = /* @__PURE__ */ new WeakMap();
77
+ function Te(e) {
78
78
  if (!e) return "";
79
- let t = Ce.get(e);
80
- return t === void 0 && (Se += 1, t = `#${Se}`, Ce.set(e, t)), t;
79
+ let t = we.get(e);
80
+ return t === void 0 && (Ce += 1, t = `#${Ce}`, we.set(e, t)), t;
81
81
  }
82
- function z(e) {
83
- let t = `${e.kind}:${e.key}`, n = R(e.storage), r = xe.get(t);
84
- r || (r = /* @__PURE__ */ new Map(), xe.set(t, r));
82
+ function R(e) {
83
+ let t = `${e.kind}:${e.key}`, n = Te(e.storage), r = Se.get(t);
84
+ r || (r = /* @__PURE__ */ new Map(), Se.set(t, r));
85
85
  let i = r.get(n);
86
86
  return r.set(n, i ? {
87
87
  ...e,
@@ -91,38 +91,38 @@ function z(e) {
91
91
  }
92
92
  //#endregion
93
93
  //#region node_modules/@getmicdrop/svelte-components/dist/utils/storage/themeStorage.js
94
- var we = z({
94
+ var z = R({
95
95
  key: "micdrop:ui:theme",
96
96
  kind: "local"
97
- }), B = "theme";
98
- function V() {
97
+ }), Ee = "theme";
98
+ function B() {
99
99
  if (typeof window > "u") return null;
100
100
  let e;
101
101
  try {
102
- e = window.localStorage.getItem(B);
102
+ e = window.localStorage.getItem(Ee);
103
103
  } catch {
104
104
  return null;
105
105
  }
106
106
  return e === "dark" || e === "light" ? e : null;
107
107
  }
108
- function Te() {
108
+ function V() {
109
109
  if (!(typeof window > "u")) try {
110
- window.localStorage.removeItem(B);
110
+ window.localStorage.removeItem(Ee);
111
111
  } catch {}
112
112
  }
113
- function H() {
114
- let e = x(we), t = V();
115
- return e === "dark" || e === "light" ? (t && Te(), e) : t ? (ee(we, t), Te(), t) : null;
113
+ function De() {
114
+ let e = x(z), t = B();
115
+ return e === "dark" || e === "light" ? (t && V(), e) : t ? (te(z, t), V(), t) : null;
116
116
  }
117
117
  //#endregion
118
118
  //#region __SKIP_ENVIRONMENT__
119
- var U = typeof window < "u";
119
+ var H = typeof window < "u";
120
120
  //#endregion
121
121
  //#region node_modules/@getmicdrop/svelte-components/dist/stripe/useStripeTheme.svelte.js
122
- function W(e) {
122
+ function U(e) {
123
123
  if (typeof window > "u") return !1;
124
124
  try {
125
- let t = H();
125
+ let t = De();
126
126
  if (t === "dark") return !0;
127
127
  if (t === "light") return !1;
128
128
  let n = e || "[data-theme=\"dark\"], [data-theme=\"light\"], .micdrop, [data-theme]", r = document.querySelectorAll(n);
@@ -132,15 +132,15 @@ function W(e) {
132
132
  return !1;
133
133
  }
134
134
  }
135
- function Ee(e) {
135
+ function W(e) {
136
136
  return e ? "night" : "stripe";
137
137
  }
138
- function G(e = {}) {
138
+ function Oe(e = {}) {
139
139
  let { containerSelector: t = "[data-theme=\"dark\"], [data-theme=\"light\"], .micdrop, [data-theme]", watchChanges: n = !0, fallback: r = "stripe" } = e, i = I.state(I.proxy(r)), a = null, o = null;
140
140
  function s() {
141
- I.set(i, Ee(W(t)), !0);
141
+ I.set(i, W(U(t)), !0);
142
142
  }
143
- return pe(() => {
143
+ return me(() => {
144
144
  if (s(), n && typeof MutationObserver < "u") {
145
145
  let e = document.querySelectorAll(t), n = document.documentElement;
146
146
  a = new MutationObserver(() => {
@@ -155,7 +155,7 @@ function G(e = {}) {
155
155
  });
156
156
  }), o = window.matchMedia("(prefers-color-scheme: dark)"), o.addEventListener("change", s);
157
157
  }
158
- }), fe(() => {
158
+ }), pe(() => {
159
159
  a &&= (a.disconnect(), null), o &&= (o.removeEventListener("change", s), null);
160
160
  }), {
161
161
  get current() {
@@ -166,14 +166,14 @@ function G(e = {}) {
166
166
  }
167
167
  //#endregion
168
168
  //#region src/lib/public-calendar-flow/CheckoutForm.svelte
169
- var De = I.from_html("<div class=\"attendee-card border-default bg-surface-secondary svelte-12l1urf\"><div class=\"flex items-center justify-between mb-3\"><!> <!></div> <div class=\"space-y-3\"><div class=\"grid grid-cols-1 sm:grid-cols-2 gap-3\"><!> <!></div> <!></div></div>"), K = I.from_html("<section class=\"space-y-5\"><!> <!></section>"), q = I.from_html("<p class=\"type-body text-accent-danger\" data-testid=\"add-ons-error\"> </p>"), Oe = I.from_html("<section class=\"space-y-4\" data-testid=\"checkout-add-ons\"><!> <div></div> <!> <!></section>"), J = I.from_html("<section class=\"space-y-4\"><!></section>"), Y = I.from_html("<p class=\"type-body text-color-muted mt-1\"> </p>"), X = I.from_html("<p class=\"type-body text-accent-danger mt-2\"> </p> <!>", 1), ke = I.from_html("<p class=\"type-body text-color-muted mb-2 -mt-1\"> </p>"), Ae = I.from_html("<p class=\"type-body text-accent-danger mb-2\"> </p> <!>", 1), je = I.from_html("<p class=\"type-body text-color-muted py-2\"> </p>"), Me = I.from_html("<div></div> <!>", 1), Ne = I.from_html("<!> <!> <!>", 1), Pe = I.from_html("<!> <p class=\"type-body text-accent-danger mt-2\"> </p> <!>", 1);
169
+ var G = I.from_html("<div class=\"attendee-card border-default bg-surface-secondary svelte-12l1urf\"><div class=\"flex items-center justify-between mb-3\"><!> <!></div> <div class=\"space-y-3\"><div class=\"grid grid-cols-1 sm:grid-cols-2 gap-3\"><!> <!></div> <!></div></div>"), ke = I.from_html("<section class=\"space-y-5\"><!> <!></section>"), K = I.from_html("<p class=\"type-body text-accent-danger\" data-testid=\"add-ons-error\"> </p>"), q = I.from_html("<section class=\"space-y-4\" data-testid=\"checkout-add-ons\"><!> <div></div> <!> <!></section>"), Ae = I.from_html("<section class=\"space-y-4\"><!></section>"), J = I.from_html("<p class=\"type-body text-color-muted mt-1\"> </p>"), je = I.from_html("<p class=\"type-body text-accent-danger mt-2\"> </p> <!>", 1), Y = I.from_html("<p class=\"type-body text-color-muted mb-2 -mt-1\"> </p>"), Me = I.from_html("<p class=\"type-body text-accent-danger mb-2\"> </p> <!>", 1), Ne = I.from_html("<p class=\"type-body text-color-muted py-2\"> </p>"), Pe = I.from_html("<div></div> <!>", 1), Fe = I.from_html("<!> <!> <!>", 1), Ie = I.from_html("<!> <p class=\"type-body text-accent-danger mt-2\"> </p> <!>", 1);
170
170
  I.from_html("<!> <!> <div class=\"grid grid-cols-2 gap-4\"><!> <!></div>", 1);
171
- var Fe = I.from_html("<!> <p class=\"type-body text-accent-danger mt-2\"> </p>", 1), Ie = I.from_html("<div class=\"checkout-form-panel space-y-6 bg-surface-secondary border-default svelte-12l1urf\" data-testid=\"checkout-form\"><div class=\"timer-header border-default bg-surface-secondary svelte-12l1urf\"><!> <!></div> <section class=\"space-y-4\"><!> <div class=\"grid grid-cols-1 sm:grid-cols-2 gap-4\"><!> <!></div> <!> <!> <!> <!></section> <!> <!> <!> <!></div>");
172
- function Le(e, t) {
171
+ var Le = I.from_html("<!> <p class=\"type-body text-accent-danger mt-2\"> </p>", 1), Re = I.from_html("<div class=\"checkout-form-panel space-y-6 bg-surface-secondary border-default svelte-12l1urf\" data-testid=\"checkout-form\"><div class=\"timer-header border-default bg-surface-secondary svelte-12l1urf\"><!> <!></div> <section class=\"space-y-4\"><!> <div class=\"grid grid-cols-1 sm:grid-cols-2 gap-4\"><!> <!></div> <!> <!> <!> <!></section> <!> <!> <!> <!></div>");
172
+ function ze(e, t) {
173
173
  I.push(t, !0);
174
- let r = I.prop(t, "stripe", 3, void 0), i = I.prop(t, "paymentIntent", 3, void 0), a = I.prop(t, "elements", 15, void 0), o = I.prop(t, "paymentError", 3, null), s = I.prop(t, "labels", 3, ie), c = I.prop(t, "giftCard", 3, void 0), l = I.prop(t, "checkoutAddOns", 19, () => []), u = I.prop(t, "addOnQuantities", 19, () => ({})), d = I.prop(t, "addOnTicketCount", 3, 0), f = I.prop(t, "onAddOnQuantityChange", 3, void 0), m = I.prop(t, "addOnsBusy", 3, !1), h = I.prop(t, "addOnsFailed", 3, !1), g = I.prop(t, "addOnsError", 3, null), _ = I.derived(() => (l() || []).filter((e) => e.resolvedRemaining > 0 || (u()[e.id] || 0) > 0)), v = I.derived(() => !!f() && I.get(_).length > 0), y = U ? G() : { current: "stripe" }, x = I.state(null), S = null, C = I.state(null);
174
+ let r = I.prop(t, "stripe", 3, void 0), i = I.prop(t, "paymentIntent", 3, void 0), a = I.prop(t, "elements", 15, void 0), o = I.prop(t, "paymentError", 3, null), s = I.prop(t, "labels", 3, ae), c = I.prop(t, "giftCard", 3, void 0), l = I.prop(t, "checkoutAddOns", 19, () => []), u = I.prop(t, "addOnQuantities", 19, () => ({})), d = I.prop(t, "addOnTicketCount", 3, 0), f = I.prop(t, "onAddOnQuantityChange", 3, void 0), m = I.prop(t, "addOnsBusy", 3, !1), h = I.prop(t, "addOnsFailed", 3, !1), g = I.prop(t, "addOnsError", 3, null), _ = I.derived(() => (l() || []).filter((e) => e.resolvedRemaining > 0 || (u()[e.id] || 0) > 0)), v = I.derived(() => !!f() && I.get(_).length > 0), y = H ? Oe() : { current: "stripe" }, x = I.state(null), S = null, C = I.state(null);
175
175
  function ee() {
176
- if (!(!U || !r() || !i() || !I.get(x))) {
176
+ if (!(!H || !r() || !i() || !I.get(x))) {
177
177
  if (S) {
178
178
  try {
179
179
  S.destroy();
@@ -201,27 +201,27 @@ function Le(e, t) {
201
201
  if (I.get(C) && a() && y.current) try {
202
202
  a().update({ appearance: { theme: y.current } });
203
203
  } catch {}
204
- }), fe(() => {
204
+ }), pe(() => {
205
205
  S &&= (S.destroy(), null), I.set(C, null);
206
206
  });
207
- let w = I.state(""), D = I.state(""), k = I.state(""), A = I.state(""), j = I.state(""), M = I.state(!1);
207
+ let w = I.state(""), T = I.state(""), D = I.state(""), k = I.state(""), A = I.state(""), j = I.state(!1);
208
208
  I.state(""), I.state(""), I.state("");
209
- let N = I.state(I.proxy([])), ne = I.derived(() => t.isFreeOrder || t.orderTotals.total === 0), ae = I.derived(() => t.event.askForPhoneAtCheckout !== !1), oe = I.derived(() => I.get(ae) && t.event.requiredPhoneAtCheckout === !0), se = I.derived(() => t.event.questionPrompt || ""), ce = I.derived(() => !!I.get(se) && t.event.requiredCustomCheckout === !0), P = I.state(!1), F = I.derived(() => (() => {
210
- if (!I.get(P)) return {};
209
+ let M = I.state(I.proxy([])), N = I.derived(() => t.isFreeOrder || t.orderTotals.total === 0), re = I.derived(() => t.event.askForPhoneAtCheckout !== !1), oe = I.derived(() => I.get(re) && t.event.requiredPhoneAtCheckout === !0), P = I.derived(() => t.event.questionPrompt || ""), se = I.derived(() => !!I.get(P) && t.event.requiredCustomCheckout === !0), ce = I.state(!1), F = I.derived(() => (() => {
210
+ if (!I.get(ce)) return {};
211
211
  let e = {};
212
- if (I.get(w).trim() || (e.firstName = s().firstNameRequired || "First name is required"), I.get(D).trim() || (e.lastName = s().lastNameRequired || "Last name is required"), I.get(k).trim() ? p(I.get(k)) || (e.email = s().emailInvalid || "Enter a valid email address") : e.email = s().emailRequired || "Email is required", I.get(oe) && !I.get(A).trim() && (e.phone = s().phoneRequired || "Phone number is required"), I.get(ce) && !I.get(j).trim() && (e.questionAnswer = s().questionAnswerRequired || "An answer is required"), t.isRegistration) for (let t = 0; t < I.get(N).length; t++) {
213
- let n = I.get(N)[t];
212
+ if (I.get(w).trim() || (e.firstName = s().firstNameRequired || "First name is required"), I.get(T).trim() || (e.lastName = s().lastNameRequired || "Last name is required"), I.get(D).trim() ? p(I.get(D)) || (e.email = s().emailInvalid || "Enter a valid email address") : e.email = s().emailRequired || "Email is required", I.get(oe) && !I.get(k).trim() && (e.phone = s().phoneRequired || "Phone number is required"), I.get(se) && !I.get(A).trim() && (e.questionAnswer = s().questionAnswerRequired || "An answer is required"), t.isRegistration) for (let t = 0; t < I.get(M).length; t++) {
213
+ let n = I.get(M)[t];
214
214
  n.sameAsPurchaser || (n.firstName.trim() || (e[`attendee_${t}_firstName`] = "First name is required"), n.lastName.trim() || (e[`attendee_${t}_lastName`] = "Last name is required"), n.email.trim() ? p(n.email) || (e[`attendee_${t}_email`] = s().emailInvalidShort || "Enter a valid email") : e[`attendee_${t}_email`] = s().emailRequired || "Email is required");
215
215
  }
216
216
  return e;
217
217
  })()), le = I.derived(() => Object.keys(I.get(F)).length > 0), ue = I.derived(() => (() => {
218
218
  let e = t.event.venue?.name?.trim();
219
219
  return e ? (s().keepMeUpdatedByVenue || "Keep me updated about {venue} events and news").replace("{venue}", e) : s().keepMeUpdated || "Keep me updated about this event and similar events";
220
- })()), pe = I.derived(() => t.timerSeconds > 0 && t.timerSeconds <= 120);
220
+ })()), de = I.derived(() => t.timerSeconds > 0 && t.timerSeconds <= 120);
221
221
  I.user_effect(() => {
222
222
  if (t.isRegistration) {
223
223
  let e = t.orderTotals.lines.reduce((e, t) => e + t.quantity, 0);
224
- I.get(N).length !== e && I.set(N, Array.from({ length: e }, (e, t) => ({
224
+ I.get(M).length !== e && I.set(M, Array.from({ length: e }, (e, t) => ({
225
225
  firstName: "",
226
226
  lastName: "",
227
227
  email: "",
@@ -229,36 +229,36 @@ function Le(e, t) {
229
229
  })), !0);
230
230
  }
231
231
  });
232
- let he = I.state(I.proxy(me(() => t.submitRequested)));
232
+ let me = I.state(I.proxy(he(() => t.submitRequested)));
233
233
  I.user_effect(() => {
234
- t.submitRequested > I.get(he) && (I.set(he, t.submitRequested, !0), _e());
234
+ t.submitRequested > I.get(me) && (I.set(me, t.submitRequested, !0), _e());
235
235
  });
236
236
  function ge(e, t) {
237
- I.set(N, I.get(N).map((n, r) => r === e ? {
237
+ I.set(M, I.get(M).map((n, r) => r === e ? {
238
238
  ...n,
239
239
  sameAsPurchaser: t,
240
240
  firstName: t ? I.get(w) : n.firstName,
241
- lastName: t ? I.get(D) : n.lastName,
242
- email: t ? I.get(k) : n.email
241
+ lastName: t ? I.get(T) : n.lastName,
242
+ email: t ? I.get(D) : n.email
243
243
  } : n), !0);
244
244
  }
245
245
  function _e() {
246
- I.set(P, !0), !I.get(le) && (o()?.blocking && !I.get(ne) || !I.get(ne) && !r() || t.onPlaceOrder({
246
+ I.set(ce, !0), !I.get(le) && (o()?.blocking && !I.get(N) || !I.get(N) && !r() || t.onPlaceOrder({
247
247
  firstName: I.get(w),
248
- lastName: I.get(D),
249
- email: I.get(k),
250
- phone: I.get(ae) ? I.get(A) : "",
251
- questionAnswer: I.get(se) ? I.get(j) : void 0,
252
- keepMeUpdated: I.get(M),
253
- attendees: t.isRegistration ? I.get(N).map((e) => ({
248
+ lastName: I.get(T),
249
+ email: I.get(D),
250
+ phone: I.get(re) ? I.get(k) : "",
251
+ questionAnswer: I.get(P) ? I.get(A) : void 0,
252
+ keepMeUpdated: I.get(j),
253
+ attendees: t.isRegistration ? I.get(M).map((e) => ({
254
254
  firstName: e.sameAsPurchaser ? I.get(w) : e.firstName,
255
- lastName: e.sameAsPurchaser ? I.get(D) : e.lastName,
256
- email: e.sameAsPurchaser ? I.get(k) : e.email,
255
+ lastName: e.sameAsPurchaser ? I.get(T) : e.lastName,
256
+ email: e.sameAsPurchaser ? I.get(D) : e.email,
257
257
  sameAsPurchaser: e.sameAsPurchaser
258
258
  })) : void 0
259
259
  }));
260
260
  }
261
- var L = Ie(), ye = I.child(L), be = I.child(ye);
261
+ var ve = Re(), L = I.child(ve), be = I.child(L);
262
262
  {
263
263
  let e = I.derived(() => s().goBack || "Go back");
264
264
  b(be, {
@@ -272,25 +272,25 @@ function Le(e, t) {
272
272
  },
273
273
  "data-testid": "checkout-back",
274
274
  children: (e, t) => {
275
- ve(e, { size: "20" });
275
+ ye(e, { size: "20" });
276
276
  },
277
277
  $$slots: { default: !0 }
278
278
  });
279
279
  }
280
280
  var xe = I.sibling(be, 2);
281
- re(xe, {
281
+ ie(xe, {
282
282
  get seconds() {
283
283
  return t.timerSeconds;
284
284
  },
285
285
  get isUrgent() {
286
- return I.get(pe);
286
+ return I.get(de);
287
287
  },
288
288
  get labels() {
289
289
  return s();
290
290
  }
291
- }), I.reset(ye);
292
- var Se = I.sibling(ye, 2), Ce = I.child(Se);
293
- T(Ce, {
291
+ }), I.reset(L);
292
+ var Se = I.sibling(L, 2), Ce = I.child(Se);
293
+ E(Ce, {
294
294
  level: 2,
295
295
  size: "lg",
296
296
  weight: "semibold",
@@ -301,10 +301,10 @@ function Le(e, t) {
301
301
  },
302
302
  $$slots: { default: !0 }
303
303
  });
304
- var R = I.sibling(Ce, 2), z = I.child(R);
304
+ var we = I.sibling(Ce, 2), Te = I.child(we);
305
305
  {
306
306
  let e = I.derived(() => s().firstName || "First name"), t = I.derived(() => s().firstName || "First name"), r = I.derived(() => I.get(F).firstName ?? ""), i = I.derived(() => I.get(F).firstName ? "red" : "base");
307
- n(z, {
307
+ n(Te, {
308
308
  get label() {
309
309
  return I.get(e);
310
310
  },
@@ -327,10 +327,10 @@ function Le(e, t) {
327
327
  }
328
328
  });
329
329
  }
330
- var we = I.sibling(z, 2);
330
+ var R = I.sibling(Te, 2);
331
331
  {
332
332
  let e = I.derived(() => s().lastName || "Last name"), t = I.derived(() => s().lastName || "Last name"), r = I.derived(() => I.get(F).lastName ?? ""), i = I.derived(() => I.get(F).lastName ? "red" : "base");
333
- n(we, {
333
+ n(R, {
334
334
  get label() {
335
335
  return I.get(e);
336
336
  },
@@ -346,18 +346,18 @@ function Le(e, t) {
346
346
  },
347
347
  "data-testid": "checkout-last-name",
348
348
  get value() {
349
- return I.get(D);
349
+ return I.get(T);
350
350
  },
351
351
  set value(e) {
352
- I.set(D, e, !0);
352
+ I.set(T, e, !0);
353
353
  }
354
354
  });
355
355
  }
356
- I.reset(R);
357
- var B = I.sibling(R, 2);
356
+ I.reset(we);
357
+ var z = I.sibling(we, 2);
358
358
  {
359
359
  let e = I.derived(() => s().emailAddress || "Email address"), t = I.derived(() => s().emailPlaceholder || "you@example.com"), r = I.derived(() => I.get(F).email ?? ""), i = I.derived(() => I.get(F).email ? "red" : "base");
360
- n(B, {
360
+ n(z, {
361
361
  get label() {
362
362
  return I.get(e);
363
363
  },
@@ -374,14 +374,14 @@ function Le(e, t) {
374
374
  },
375
375
  "data-testid": "checkout-email",
376
376
  get value() {
377
- return I.get(k);
377
+ return I.get(D);
378
378
  },
379
379
  set value(e) {
380
- I.set(k, e, !0);
380
+ I.set(D, e, !0);
381
381
  }
382
382
  });
383
383
  }
384
- var V = I.sibling(B, 2), Te = (e) => {
384
+ var Ee = I.sibling(z, 2), B = (e) => {
385
385
  {
386
386
  let t = I.derived(() => s().phone || "Phone number"), r = I.derived(() => s().phonePlaceholder || "(555) 555-5555"), i = I.derived(() => I.get(F).phone ?? ""), a = I.derived(() => I.get(F).phone ? "red" : "base");
387
387
  n(e, {
@@ -403,26 +403,26 @@ function Le(e, t) {
403
403
  },
404
404
  "data-testid": "checkout-phone",
405
405
  get value() {
406
- return I.get(A);
406
+ return I.get(k);
407
407
  },
408
408
  set value(e) {
409
- I.set(A, e, !0);
409
+ I.set(k, e, !0);
410
410
  }
411
411
  });
412
412
  }
413
413
  };
414
- I.if(V, (e) => {
415
- I.get(ae) && e(Te);
414
+ I.if(Ee, (e) => {
415
+ I.get(re) && e(B);
416
416
  });
417
- var H = I.sibling(V, 2), W = (e) => {
417
+ var V = I.sibling(Ee, 2), De = (e) => {
418
418
  {
419
419
  let t = I.derived(() => I.get(F).questionAnswer ?? ""), r = I.derived(() => I.get(F).questionAnswer ? "red" : "base");
420
420
  n(e, {
421
421
  get label() {
422
- return I.get(se);
422
+ return I.get(P);
423
423
  },
424
424
  get required() {
425
- return I.get(ce);
425
+ return I.get(se);
426
426
  },
427
427
  get errorText() {
428
428
  return I.get(t);
@@ -432,24 +432,24 @@ function Le(e, t) {
432
432
  },
433
433
  "data-testid": "checkout-question",
434
434
  get value() {
435
- return I.get(j);
435
+ return I.get(A);
436
436
  },
437
437
  set value(e) {
438
- I.set(j, e, !0);
438
+ I.set(A, e, !0);
439
439
  }
440
440
  });
441
441
  }
442
442
  };
443
- I.if(H, (e) => {
444
- I.get(se) && e(W);
443
+ I.if(V, (e) => {
444
+ I.get(P) && e(De);
445
445
  });
446
- var Ee = I.sibling(H, 2);
447
- E(Ee, {
446
+ var U = I.sibling(V, 2);
447
+ ne(U, {
448
448
  get checked() {
449
- return I.get(M);
449
+ return I.get(j);
450
450
  },
451
451
  set checked(e) {
452
- I.set(M, e, !0);
452
+ I.set(j, e, !0);
453
453
  },
454
454
  children: (e, t) => {
455
455
  I.next();
@@ -458,9 +458,9 @@ function Le(e, t) {
458
458
  },
459
459
  $$slots: { default: !0 }
460
460
  }), I.reset(Se);
461
- var Le = I.sibling(Se, 2), Re = (e) => {
462
- var t = K(), r = I.child(t);
463
- T(r, {
461
+ var W = I.sibling(Se, 2), ze = (e) => {
462
+ var t = ke(), r = I.child(t);
463
+ E(r, {
464
464
  level: 2,
465
465
  size: "lg",
466
466
  weight: "semibold",
@@ -472,8 +472,8 @@ function Le(e, t) {
472
472
  $$slots: { default: !0 }
473
473
  });
474
474
  var i = I.sibling(r, 2);
475
- I.each(i, 17, () => I.get(N), I.index, (e, t, r) => {
476
- var i = De(), a = I.child(i), o = I.child(a);
475
+ I.each(i, 17, () => I.get(M), I.index, (e, t, r) => {
476
+ var i = G(), a = I.child(i), o = I.child(a);
477
477
  O(o, {
478
478
  size: "sm",
479
479
  weight: "semibold",
@@ -486,7 +486,7 @@ function Le(e, t) {
486
486
  $$slots: { default: !0 }
487
487
  });
488
488
  var c = I.sibling(o, 2);
489
- E(c, {
489
+ ne(c, {
490
490
  get checked() {
491
491
  return I.get(t).sameAsPurchaser;
492
492
  },
@@ -587,12 +587,12 @@ function Le(e, t) {
587
587
  I.reset(l), I.reset(i), I.append(e, i);
588
588
  }), I.reset(t), I.append(e, t);
589
589
  };
590
- I.if(Le, (e) => {
591
- t.isRegistration && I.get(N).length > 0 && e(Re);
590
+ I.if(W, (e) => {
591
+ t.isRegistration && I.get(M).length > 0 && e(ze);
592
592
  });
593
- var Z = I.sibling(Le, 2), ze = (e) => {
594
- var t = Oe(), n = I.child(t);
595
- T(n, {
593
+ var X = I.sibling(W, 2), Be = (e) => {
594
+ var t = q(), n = I.child(t);
595
+ E(n, {
596
596
  level: 2,
597
597
  size: "lg",
598
598
  children: (e, t) => {
@@ -607,7 +607,7 @@ function Le(e, t) {
607
607
  I.each(r, 21, () => I.get(_), (e) => e.id, (e, t) => {
608
608
  {
609
609
  let n = I.derived(() => u()[I.get(t).id] || 0), r = I.derived(() => m() ? () => {} : (e, t) => f()?.(e, t));
610
- de(e, {
610
+ fe(e, {
611
611
  get addOn() {
612
612
  return I.get(t);
613
613
  },
@@ -643,30 +643,30 @@ function Le(e, t) {
643
643
  m() && e(o);
644
644
  });
645
645
  var c = I.sibling(a, 2), l = (e) => {
646
- var t = q(), n = I.child(t, !0);
646
+ var t = K(), n = I.child(t, !0);
647
647
  I.reset(t), I.template_effect(() => I.set_text(n, g() || s().addOnsCheckoutFailed || "That could not be added — please try again")), I.append(e, t);
648
648
  };
649
649
  I.if(c, (e) => {
650
650
  h() && e(l);
651
651
  }), I.reset(t), I.template_effect(() => i = I.set_class(r, 1, "space-y-2 svelte-12l1urf", null, i, { "add-ons-busy": m() })), I.append(e, t);
652
652
  };
653
- I.if(Z, (e) => {
654
- I.get(v) && e(ze);
653
+ I.if(X, (e) => {
654
+ I.get(v) && e(Be);
655
655
  });
656
- var Q = I.sibling(Z, 2), Be = (e) => {
657
- var t = J(), n = I.child(t);
656
+ var Z = I.sibling(X, 2), Ve = (e) => {
657
+ var t = Ae(), n = I.child(t);
658
658
  I.snippet(n, c), I.reset(t), I.append(e, t);
659
659
  };
660
- I.if(Q, (e) => {
661
- c() && !t.isFreeOrder && e(Be);
660
+ I.if(Z, (e) => {
661
+ c() && !t.isFreeOrder && e(Ve);
662
662
  });
663
- var Ve = I.sibling(Q, 2), He = (e) => {
664
- var t = J(), n = I.child(t), a = (e) => {
663
+ var Q = I.sibling(Z, 2), He = (e) => {
664
+ var t = Ae(), n = I.child(t), a = (e) => {
665
665
  var t = I.comment(), n = I.first_child(t), r = (e) => {
666
- var t = X(), n = I.first_child(t), r = I.child(n, !0);
666
+ var t = je(), n = I.first_child(t), r = I.child(n, !0);
667
667
  I.reset(n);
668
668
  var i = I.sibling(n, 2), a = (e) => {
669
- var t = Y(), n = I.child(t, !0);
669
+ var t = J(), n = I.child(t, !0);
670
670
  I.reset(t), I.template_effect(() => I.set_text(n, o().suggestion)), I.append(e, t);
671
671
  };
672
672
  I.if(i, (e) => {
@@ -677,8 +677,8 @@ function Le(e, t) {
677
677
  o() && e(r);
678
678
  }), I.append(e, t);
679
679
  }, c = (e) => {
680
- var t = Ne(), n = I.first_child(t);
681
- T(n, {
680
+ var t = Fe(), n = I.first_child(t);
681
+ E(n, {
682
682
  level: 2,
683
683
  size: "lg",
684
684
  weight: "semibold",
@@ -690,10 +690,10 @@ function Le(e, t) {
690
690
  $$slots: { default: !0 }
691
691
  });
692
692
  var r = I.sibling(n, 2), i = (e) => {
693
- var t = Ae(), n = I.first_child(t), r = I.child(n, !0);
693
+ var t = Me(), n = I.first_child(t), r = I.child(n, !0);
694
694
  I.reset(n);
695
695
  var i = I.sibling(n, 2), a = (e) => {
696
- var t = ke(), n = I.child(t, !0);
696
+ var t = Y(), n = I.child(t, !0);
697
697
  I.reset(t), I.template_effect(() => I.set_text(n, o().suggestion)), I.append(e, t);
698
698
  };
699
699
  I.if(i, (e) => {
@@ -704,25 +704,25 @@ function Le(e, t) {
704
704
  o() && e(i);
705
705
  });
706
706
  var a = I.sibling(r, 2), c = (e) => {
707
- var t = Me(), n = I.first_child(t);
707
+ var t = Pe(), n = I.first_child(t);
708
708
  I.bind_this(n, (e) => I.set(x, e), () => I.get(x));
709
709
  var r = I.sibling(n, 2), i = (e) => {
710
- var t = je(), n = I.child(t, !0);
710
+ var t = Ne(), n = I.child(t, !0);
711
711
  I.reset(t), I.template_effect(() => I.set_text(n, s().loadingPaymentForm || "Loading secure payment form...")), I.append(e, t);
712
712
  };
713
713
  I.if(r, (e) => {
714
714
  I.get(C) || e(i);
715
715
  }), I.append(e, t);
716
716
  }, l = (e) => {
717
- var t = je(), n = I.child(t, !0);
717
+ var t = Ne(), n = I.child(t, !0);
718
718
  I.reset(t), I.template_effect(() => I.set_text(n, s().loadingPaymentForm || "Loading secure payment form...")), I.append(e, t);
719
719
  };
720
720
  I.if(a, (e) => {
721
- U ? e(c) : e(l, -1);
721
+ H ? e(c) : e(l, -1);
722
722
  }), I.append(e, t);
723
723
  }, l = (e) => {
724
- var t = Pe(), n = I.first_child(t);
725
- T(n, {
724
+ var t = Ie(), n = I.first_child(t);
725
+ E(n, {
726
726
  level: 2,
727
727
  size: "lg",
728
728
  weight: "semibold",
@@ -736,15 +736,15 @@ function Le(e, t) {
736
736
  var r = I.sibling(n, 2), i = I.child(r, !0);
737
737
  I.reset(r);
738
738
  var a = I.sibling(r, 2), c = (e) => {
739
- var t = Y(), n = I.child(t, !0);
739
+ var t = J(), n = I.child(t, !0);
740
740
  I.reset(t), I.template_effect(() => I.set_text(n, o().suggestion)), I.append(e, t);
741
741
  };
742
742
  I.if(a, (e) => {
743
743
  o().suggestion && e(c);
744
744
  }), I.template_effect(() => I.set_text(i, o().message)), I.append(e, t);
745
745
  }, u = (e) => {
746
- var t = Fe(), n = I.first_child(t);
747
- T(n, {
746
+ var t = Le(), n = I.first_child(t);
747
+ E(n, {
748
748
  level: 2,
749
749
  size: "lg",
750
750
  weight: "semibold",
@@ -759,21 +759,21 @@ function Le(e, t) {
759
759
  I.reset(r), I.template_effect(() => I.set_text(i, s().paymentUnavailable || "Payment can't be taken for this order right now — refresh the page or contact the venue")), I.append(e, t);
760
760
  };
761
761
  I.if(n, (e) => {
762
- I.get(ne) ? e(a) : r() && i() ? e(c, 1) : o() ? e(l, 2) : e(u, -1);
762
+ I.get(N) ? e(a) : r() && i() ? e(c, 1) : o() ? e(l, 2) : e(u, -1);
763
763
  }), I.reset(t), I.append(e, t);
764
764
  };
765
- I.if(Ve, (e) => {
766
- (!I.get(ne) || o()) && e(He);
767
- }), I.reset(L), I.append(e, L), I.pop();
765
+ I.if(Q, (e) => {
766
+ (!I.get(N) || o()) && e(He);
767
+ }), I.reset(ve), I.append(e, ve), I.pop();
768
768
  }
769
769
  //#endregion
770
770
  //#region src/lib/public-calendar-flow/CheckoutTermsCheckbox.svelte
771
- var Re = I.from_html(" <a target=\"_blank\" rel=\"external noopener noreferrer\" class=\"link underline\"> <span class=\"sr-only\">&nbsp;(opens in new tab)</span></a>", 1), Z = I.from_html("<a target=\"_blank\" rel=\"external noopener noreferrer\" class=\"link underline\"> <span class=\"sr-only\">&nbsp;(opens in new tab)</span></a>"), ze = I.from_html("<div class=\"flex items-center gap-1.5\"><!> <!></div>"), Q = I.from_html("<div class=\"space-y-2\" data-terms-gate=\"\"><!> <!> <!></div>");
772
- function Be(e, t) {
771
+ var X = I.from_html(" <a target=\"_blank\" rel=\"external noopener noreferrer\" class=\"link underline\"> <span class=\"sr-only\">&nbsp;(opens in new tab)</span></a>", 1), Be = I.from_html("<a target=\"_blank\" rel=\"external noopener noreferrer\" class=\"link underline\"> <span class=\"sr-only\">&nbsp;(opens in new tab)</span></a>"), Z = I.from_html("<div class=\"flex items-center gap-1.5\"><!> <!></div>"), Ve = I.from_html("<div class=\"space-y-2\" data-terms-gate=\"\"><!> <!> <!></div>");
772
+ function Q(e, t) {
773
773
  I.push(t, !0);
774
- let n = I.prop(t, "agreeTerms", 15, !1), r = I.prop(t, "showError", 3, !1), i = I.prop(t, "termsUrl", 3, "https://get-micdrop.com/tos"), a = I.prop(t, "privacyUrl", 3, "https://get-micdrop.com/privacy"), o = I.prop(t, "labels", 3, ie);
775
- var s = Q(), c = I.child(s);
776
- E(c, {
774
+ let n = I.prop(t, "agreeTerms", 15, !1), r = I.prop(t, "showError", 3, !1), i = I.prop(t, "termsUrl", 3, "https://get-micdrop.com/tos"), a = I.prop(t, "privacyUrl", 3, "https://get-micdrop.com/privacy"), o = I.prop(t, "labels", 3, ae);
775
+ var s = Ve(), c = I.child(s);
776
+ ne(c, {
777
777
  get checked() {
778
778
  return n();
779
779
  },
@@ -782,7 +782,7 @@ function Be(e, t) {
782
782
  },
783
783
  children: (e, t) => {
784
784
  I.next();
785
- var n = Re(), r = I.first_child(n), a = I.sibling(r), s = I.child(a, !0);
785
+ var n = X(), r = I.first_child(n), a = I.sibling(r), s = I.child(a, !0);
786
786
  I.next(), I.reset(a), I.template_effect(() => {
787
787
  I.set_text(r, `${(o().agreeToTerms || "I agree to the") ?? ""} `), I.set_attribute(a, "href", i()), I.set_text(s, o().termsAndConditionsLink || "terms and conditions");
788
788
  }), I.append(e, n);
@@ -795,7 +795,7 @@ function Be(e, t) {
795
795
  color: "muted",
796
796
  class: "block",
797
797
  children: (e, t) => {
798
- var n = Z(), r = I.child(n, !0);
798
+ var n = Be(), r = I.child(n, !0);
799
799
  I.next(), I.reset(n), I.template_effect(() => {
800
800
  I.set_attribute(n, "href", a()), I.set_text(r, o().privacyPolicyLink || "Privacy policy");
801
801
  }), I.append(e, n);
@@ -803,7 +803,7 @@ function Be(e, t) {
803
803
  $$slots: { default: !0 }
804
804
  });
805
805
  var d = I.sibling(l, 2), f = (e) => {
806
- var t = ze(), n = I.child(t);
806
+ var t = Z(), n = I.child(t);
807
807
  u(n, {
808
808
  size: "16",
809
809
  class: "text-accent-danger shrink-0"
@@ -826,16 +826,16 @@ function Be(e, t) {
826
826
  }
827
827
  //#endregion
828
828
  //#region src/lib/public-calendar-flow/CheckoutSidebar.svelte
829
- var Ve = I.from_html(" <!>", 1), He = I.from_html("<div class=\"p-5 shrink-0\"><div class=\"flex gap-3\"><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></div> <div class=\"px-5 pb-3 flex-1 overflow-y-auto min-h-0 border-t border-default pt-3\"><!></div> <div class=\"px-5 pt-3 pb-5 shrink-0 border-t border-default space-y-3\" data-testid=\"checkout-summary\"><!> <div data-testid=\"checkout-terms\"><!></div> <!> <!></div>", 1);
830
- function Ue(e, t) {
829
+ var He = I.from_html(" <!>", 1), Ue = I.from_html("<div class=\"p-5 shrink-0\"><div class=\"flex gap-3\"><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></div> <div class=\"px-5 pb-3 flex-1 overflow-y-auto min-h-0 border-t border-default pt-3\"><!></div> <div class=\"px-5 pt-3 pb-5 shrink-0 border-t border-default space-y-3\" data-testid=\"checkout-summary\"><!> <div data-testid=\"checkout-terms\"><!></div> <!> <!></div>", 1);
830
+ function We(e, t) {
831
831
  I.push(t, !0);
832
- let n = I.prop(t, "saleClosed", 3, !1), r = I.prop(t, "priceUnavailable", 3, !1), a = I.prop(t, "labels", 3, ie), c = I.prop(t, "locale", 3, void 0), u = I.prop(t, "agreeTerms", 15, !1), d = I.prop(t, "termsError", 3, !1);
833
- w(e, {
832
+ let n = I.prop(t, "saleClosed", 3, !1), r = I.prop(t, "priceUnavailable", 3, !1), a = I.prop(t, "labels", 3, ae), c = I.prop(t, "locale", 3, void 0), u = I.prop(t, "agreeTerms", 15, !1), d = I.prop(t, "termsError", 3, !1);
833
+ T(e, {
834
834
  border: !0,
835
835
  padding: !1,
836
836
  class: "flex flex-col max-h-[calc(100vh-1.5rem)] rounded-xl shadow-lg overflow-hidden bg-surface-secondary",
837
837
  children: (e, p) => {
838
- var h = He(), g = I.first_child(h), _ = I.child(g), v = I.child(_), y = I.child(v);
838
+ var h = Ue(), g = I.first_child(h), _ = I.child(g), v = I.child(_), y = I.child(v);
839
839
  m(y, {
840
840
  get src() {
841
841
  return t.event.imageUrl;
@@ -844,7 +844,7 @@ function Ue(e, t) {
844
844
  return t.event.title;
845
845
  },
846
846
  get fallback() {
847
- return ae;
847
+ return oe;
848
848
  },
849
849
  fit: "cover",
850
850
  class: "w-full h-full"
@@ -873,7 +873,7 @@ function Ue(e, t) {
873
873
  color: "muted",
874
874
  children: (e, n) => {
875
875
  I.next();
876
- var r = Ve(), i = I.first_child(r), a = I.sibling(i), l = (e) => {
876
+ var r = He(), i = I.first_child(r), a = I.sibling(i), l = (e) => {
877
877
  var n = I.text();
878
878
  I.template_effect((e) => I.set_text(n, `· ${e ?? ""}`), [() => o(t.event.startDateTime, t.event.timezone, c())]), I.append(e, n);
879
879
  };
@@ -895,8 +895,8 @@ function Ue(e, t) {
895
895
  },
896
896
  $$slots: { default: !0 }
897
897
  }), I.reset(w), I.reset(x), I.reset(_), I.reset(g);
898
- var E = I.sibling(g, 2), D = I.child(E);
899
- j(D, {
898
+ var E = I.sibling(g, 2), ne = I.child(E);
899
+ j(ne, {
900
900
  get orderTotals() {
901
901
  return t.orderTotals;
902
902
  },
@@ -905,8 +905,8 @@ function Ue(e, t) {
905
905
  return a();
906
906
  }
907
907
  }), I.reset(E);
908
- var k = I.sibling(E, 2), A = I.child(k);
909
- j(A, {
908
+ var D = I.sibling(E, 2), k = I.child(D);
909
+ j(k, {
910
910
  get orderTotals() {
911
911
  return t.orderTotals;
912
912
  },
@@ -915,8 +915,8 @@ function Ue(e, t) {
915
915
  return a();
916
916
  }
917
917
  });
918
- var M = I.sibling(A, 2);
919
- Be(I.child(M), {
918
+ var A = I.sibling(k, 2);
919
+ Q(I.child(A), {
920
920
  get showError() {
921
921
  return d();
922
922
  },
@@ -929,11 +929,11 @@ function Ue(e, t) {
929
929
  set agreeTerms(e) {
930
930
  u(e);
931
931
  }
932
- }), I.reset(M);
933
- var N = I.sibling(M, 2);
932
+ }), I.reset(A);
933
+ var M = I.sibling(A, 2);
934
934
  {
935
935
  let e = I.derived(() => t.processing || n() || r()), o = I.derived(() => t.processing && !n() && !r());
936
- b(N, {
936
+ b(M, {
937
937
  variant: "default",
938
938
  size: "lg",
939
939
  class: "w-full",
@@ -971,7 +971,7 @@ function Ue(e, t) {
971
971
  $$slots: { default: !0 }
972
972
  });
973
973
  }
974
- var ne = I.sibling(N, 2), re = (e) => {
974
+ var N = I.sibling(M, 2), re = (e) => {
975
975
  O(e, {
976
976
  size: "sm",
977
977
  color: "muted",
@@ -983,23 +983,23 @@ function Ue(e, t) {
983
983
  $$slots: { default: !0 }
984
984
  });
985
985
  };
986
- I.if(ne, (e) => {
986
+ I.if(N, (e) => {
987
987
  r() && e(re);
988
- }), I.reset(k), I.append(e, h);
988
+ }), I.reset(D), I.append(e, h);
989
989
  },
990
990
  $$slots: { default: !0 }
991
991
  }), I.pop();
992
992
  }
993
993
  //#endregion
994
994
  //#region src/lib/public-calendar-flow/CheckoutMobileFooter.svelte
995
- var We = I.from_html("<div class=\"px-4 pb-3 -mt-1\"><!></div>"), $ = I.from_html("<div class=\"fixed bottom-0 left-0 right-0 bg-surface-primary border-t border-default shadow-lg\"><div class=\"px-4 pt-3\"><!></div> <div class=\"flex items-center justify-between gap-3 px-4 py-3\"><div class=\"flex-1 min-w-0\"><!></div> <!></div> <!></div>");
996
- function Ge(e, t) {
995
+ var Ge = I.from_html("<div class=\"px-4 pb-3 -mt-1\"><!></div>"), Ke = I.from_html("<div class=\"fixed bottom-0 left-0 right-0 bg-surface-primary border-t border-default shadow-lg\"><div class=\"px-4 pt-3\"><!></div> <div class=\"flex items-center justify-between gap-3 px-4 py-3\"><div class=\"flex-1 min-w-0\"><!></div> <!></div> <!></div>");
996
+ function qe(e, t) {
997
997
  I.push(t, !0);
998
- let n = I.prop(t, "saleClosed", 3, !1), r = I.prop(t, "priceUnavailable", 3, !1), a = I.prop(t, "labels", 3, ie), o = I.prop(t, "agreeTerms", 15, !1), s = I.prop(t, "termsError", 3, !1), c = I.prop(t, "termsUrl", 3, void 0), l = I.prop(t, "privacyUrl", 3, void 0), u = I.derived(() => t.orderTotals.lines.reduce((e, t) => e + t.quantity, 0));
999
- var p = $();
998
+ let n = I.prop(t, "saleClosed", 3, !1), r = I.prop(t, "priceUnavailable", 3, !1), a = I.prop(t, "labels", 3, ae), o = I.prop(t, "agreeTerms", 15, !1), s = I.prop(t, "termsError", 3, !1), c = I.prop(t, "termsUrl", 3, void 0), l = I.prop(t, "privacyUrl", 3, void 0), u = I.derived(() => t.orderTotals.lines.reduce((e, t) => e + t.quantity, 0));
999
+ var p = Ke();
1000
1000
  let m;
1001
1001
  var h = I.child(p);
1002
- Be(I.child(h), {
1002
+ Q(I.child(h), {
1003
1003
  get showError() {
1004
1004
  return s();
1005
1005
  },
@@ -1085,7 +1085,7 @@ function Ge(e, t) {
1085
1085
  }
1086
1086
  I.reset(g);
1087
1087
  var x = I.sibling(g, 2), S = (e) => {
1088
- var t = We(), n = I.child(t);
1088
+ var t = Ge(), n = I.child(t);
1089
1089
  O(n, {
1090
1090
  size: "sm",
1091
1091
  color: "muted",
@@ -1103,16 +1103,16 @@ function Ge(e, t) {
1103
1103
  }
1104
1104
  //#endregion
1105
1105
  //#region src/lib/public-calendar-flow/Checkout.svelte
1106
- var Ke = e("CheckoutMain"), qe = I.from_html("<p> </p> <p class=\"tone-secondary mb-6\"> </p> <!>", 1), Je = I.from_html(" <!>", 1), Ye = I.from_html("<div class=\"mt-4 pt-4 border-t border-default\"><!></div>"), Xe = I.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), Ze = I.from_html("<p class=\"timer-modal-hint type-caption svelte-1opgb11\"> </p>"), Qe = I.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>"), $e = I.from_html("<!> <p class=\"timer-modal-hint type-caption svelte-1opgb11\"> </p>", 1), et = I.from_html("<div class=\"timer-modal-actions svelte-1opgb11\"><!></div>"), tt = I.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>"), nt = I.from_html("<!> <!>", 1), rt = I.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>"), it = I.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>");
1107
- function at(e, n) {
1106
+ var Je = e("CheckoutMain"), Ye = I.from_html("<p> </p> <p class=\"tone-secondary mb-6\"> </p> <!>", 1), Xe = I.from_html(" <!>", 1), Ze = I.from_html("<div class=\"mt-4 pt-4 border-t border-default\"><!></div>"), Qe = I.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), $e = I.from_html("<p class=\"timer-modal-hint type-caption svelte-1opgb11\"> </p>"), et = I.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>"), tt = I.from_html("<!> <p class=\"timer-modal-hint type-caption svelte-1opgb11\"> </p>", 1), nt = I.from_html("<div class=\"timer-modal-actions svelte-1opgb11\"><!></div>"), rt = I.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>"), it = I.from_html("<!> <!>", 1), at = I.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>"), ot = I.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>");
1107
+ function $(e, n) {
1108
1108
  I.push(n, !0);
1109
- let i = le(), a = I.derived(() => P.current), d = I.prop(n, "config", 3, void 0), f = I.prop(n, "onPlaceOrder", 3, void 0), p = I.prop(n, "onBack", 3, void 0), g = I.prop(n, "onRetryExpired", 3, void 0), x = I.prop(n, "onExtendSession", 3, void 0), ee = I.prop(n, "stripe", 3, void 0), w = I.prop(n, "paymentIntent", 3, void 0), T = I.prop(n, "elements", 15, void 0), E = I.prop(n, "paymentError", 3, null), re = I.prop(n, "eventEnded", 15, !1), ie = I.prop(n, "serverTotalsUnavailable", 3, !1), de = I.prop(n, "repricing", 3, !1), fe = I.prop(n, "labels", 19, () => ({})), pe = I.prop(n, "locale", 3, void 0), he = I.prop(n, "giftCard", 3, void 0), ge = I.prop(n, "checkoutAddOns", 19, () => []), _e = I.prop(n, "addOnQuantities", 19, () => ({})), ve = I.prop(n, "addOnTicketCount", 3, 0), ye = I.prop(n, "onAddOnQuantityChange", 3, void 0), xe = I.prop(n, "addOnsBusy", 3, !1), Se = I.prop(n, "addOnsFailed", 3, !1), Ce = I.prop(n, "addOnsError", 3, null), R = I.derived(() => M(pe(), fe())), z = I.derived(() => !d());
1109
+ let i = C(), a = ue(), d = I.derived(() => F.current), f = I.prop(n, "config", 3, void 0), p = I.prop(n, "onPlaceOrder", 3, void 0), g = I.prop(n, "onBack", 3, void 0), x = I.prop(n, "onRetryExpired", 3, void 0), te = I.prop(n, "onExtendSession", 3, void 0), T = I.prop(n, "stripe", 3, void 0), E = I.prop(n, "paymentIntent", 3, void 0), ne = I.prop(n, "elements", 15, void 0), ie = I.prop(n, "paymentError", 3, null), ae = I.prop(n, "eventEnded", 15, !1), fe = I.prop(n, "serverTotalsUnavailable", 3, !1), pe = I.prop(n, "repricing", 3, !1), me = I.prop(n, "labels", 19, () => ({})), ge = I.prop(n, "locale", 3, void 0), _e = I.prop(n, "giftCard", 3, void 0), ve = I.prop(n, "checkoutAddOns", 19, () => []), ye = I.prop(n, "addOnQuantities", 19, () => ({})), be = I.prop(n, "addOnTicketCount", 3, 0), Se = I.prop(n, "onAddOnQuantityChange", 3, void 0), Ce = I.prop(n, "addOnsBusy", 3, !1), we = I.prop(n, "addOnsFailed", 3, !1), Te = I.prop(n, "addOnsError", 3, null), R = I.derived(() => M(ge(), me())), z = I.derived(() => !f());
1110
1110
  I.user_effect(() => {
1111
- if (I.get(z)) return P.options = i, P.current = "default", P.isActive = !0, () => {
1112
- P.isActive = !1, P.options = [];
1111
+ if (I.get(z)) return F.options = a, F.current = "default", F.isActive = !0, () => {
1112
+ F.isActive = !1, F.options = [];
1113
1113
  };
1114
1114
  });
1115
- function we(e) {
1115
+ function Ee(e) {
1116
1116
  switch (e) {
1117
1117
  case "free": return {
1118
1118
  event: ce,
@@ -1152,7 +1152,7 @@ function at(e, n) {
1152
1152
  forceExpired: !1
1153
1153
  };
1154
1154
  case "registration": return {
1155
- event: F,
1155
+ event: le,
1156
1156
  lines: [{
1157
1157
  ticketId: v(301),
1158
1158
  ticketName: "Workshop Seat",
@@ -1167,7 +1167,7 @@ function at(e, n) {
1167
1167
  forceExpired: !1
1168
1168
  };
1169
1169
  case "timer_warning": return {
1170
- event: oe,
1170
+ event: P,
1171
1171
  lines: [{
1172
1172
  ticketId: v(101),
1173
1173
  ticketName: "General Admission",
@@ -1189,7 +1189,7 @@ function at(e, n) {
1189
1189
  forceExpired: !1
1190
1190
  };
1191
1191
  case "expired": return {
1192
- event: oe,
1192
+ event: P,
1193
1193
  lines: [{
1194
1194
  ticketId: v(101),
1195
1195
  ticketName: "General Admission",
@@ -1211,7 +1211,7 @@ function at(e, n) {
1211
1211
  forceExpired: !0
1212
1212
  };
1213
1213
  case "promo": return {
1214
- event: oe,
1214
+ event: P,
1215
1215
  lines: [{
1216
1216
  ticketId: v(101),
1217
1217
  ticketName: "General Admission",
@@ -1233,7 +1233,7 @@ function at(e, n) {
1233
1233
  forceExpired: !1
1234
1234
  };
1235
1235
  default: return {
1236
- event: oe,
1236
+ event: P,
1237
1237
  lines: [{
1238
1238
  ticketId: v(101),
1239
1239
  ticketName: "General Admission",
@@ -1256,40 +1256,40 @@ function at(e, n) {
1256
1256
  };
1257
1257
  }
1258
1258
  }
1259
- let B = I.derived(() => I.get(z) ? we(I.get(a)) : d()), V = I.state(null), Te = me(() => !!d()?.deadlineAt), H = I.state(900), U = I.state(!1), W = I.state(!1), Ee = I.state(0), G = I.state(!1), De = I.state(!1);
1259
+ let B = I.derived(() => I.get(z) ? Ee(I.get(d)) : f()), V = I.state(null), De = he(() => !!f()?.deadlineAt), H = I.state(900), U = I.state(!1), W = I.state(!1), Oe = I.state(0), G = I.state(!1), ke = I.state(!1);
1260
1260
  I.user_effect(() => {
1261
- I.get(G) && I.set(De, !1);
1261
+ I.get(G) && I.set(ke, !1);
1262
1262
  });
1263
- let K = k(), q = k(), Oe = I.state(!1), J = I.state(!1), Y = I.state(3), X = I.state(!0), ke = I.derived(() => I.get(B)?.remainingExtensions), Ae = I.derived(() => I.get(B)?.canExtend);
1263
+ let K = k(), q = k(), Ae = I.state(!1), J = I.state(!1), je = I.state(3), Y = I.state(!0), Me = I.derived(() => I.get(B)?.remainingExtensions), Ne = I.derived(() => I.get(B)?.canExtend);
1264
1264
  I.user_effect(() => {
1265
- I.get(ke) !== void 0 && I.set(Y, I.get(ke), !0);
1265
+ I.get(Me) !== void 0 && I.set(je, I.get(Me), !0);
1266
1266
  }), I.user_effect(() => {
1267
- I.get(Ae) !== void 0 && I.set(X, I.get(Ae), !0);
1267
+ I.get(Ne) !== void 0 && I.set(Y, I.get(Ne), !0);
1268
1268
  });
1269
- let je = I.state(null), Me = k(), Ne = I.derived(() => I.get(z) ? 0 : I.get(B).event?.id ?? 0);
1269
+ let Pe = I.state(null), Fe = k(), Ie = I.derived(() => I.get(z) ? 0 : I.get(B).event?.id ?? 0);
1270
1270
  I.user_effect(() => {
1271
- let e = I.get(Ne);
1271
+ let e = I.get(Ie);
1272
1272
  if (e) return N(e, {
1273
1273
  onUnavailable: (e) => {
1274
- I.get(je) || (I.set(je, e === "postponed" ? "postponed" : "canceled", !0), Me.open());
1274
+ I.get(Pe) || (I.set(Pe, e === "postponed" ? "postponed" : "canceled", !0), Fe.open());
1275
1275
  },
1276
1276
  onAvailable: () => {
1277
- I.set(je, null), Me.close();
1277
+ I.set(Pe, null), Fe.close();
1278
1278
  }
1279
- });
1279
+ }, i);
1280
1280
  });
1281
- let Pe = I.state(I.proxy(y()));
1281
+ let Le = I.state(I.proxy(y()));
1282
1282
  I.user_effect(() => {
1283
1283
  let e = setInterval(() => {
1284
- I.set(Pe, y(), !0);
1284
+ I.set(Le, y(), !0);
1285
1285
  }, 1e3);
1286
1286
  return () => clearInterval(e);
1287
1287
  });
1288
- let Fe = I.derived(() => ne(I.get(B).event, I.get(Pe)));
1288
+ let Re = I.derived(() => re(I.get(B).event, I.get(Le)));
1289
1289
  I.user_effect(() => {
1290
- re(I.get(Fe));
1290
+ ae(I.get(Re));
1291
1291
  });
1292
- let Ie = I.derived(() => I.get(je) ?? (I.get(Fe) ? "ended" : null)), Re = I.derived(() => (() => {
1292
+ let X = I.derived(() => I.get(Pe) ?? (I.get(Re) ? "ended" : null)), Be = I.derived(() => (() => {
1293
1293
  let e = Math.floor(I.get(H) / 60), t = I.get(H) % 60;
1294
1294
  return `${e.toString().padStart(2, "0")}:${t.toString().padStart(2, "0")}`;
1295
1295
  })()), Z = I.derived(() => (() => {
@@ -1314,7 +1314,7 @@ function at(e, n) {
1314
1314
  };
1315
1315
  let t = r(e.reduce((e, t) => e + (t.subtotal == null ? 0 : t.subtotal), 0)), n = I.get(B).promoApplied ? I.get(B).promoDiscount : 0;
1316
1316
  if (I.get(z)) {
1317
- let i = ue(e, I.get(B).event.venue), a = r(Math.max(0, t - n)), o = A(a + i, I.get(B).event.venue.taxPercentage);
1317
+ let i = de(e, I.get(B).event.venue), a = r(Math.max(0, t - n)), o = A(a + i, I.get(B).event.venue.taxPercentage);
1318
1318
  return {
1319
1319
  lines: e,
1320
1320
  subtotal: t,
@@ -1342,25 +1342,25 @@ function at(e, n) {
1342
1342
  promoDiscount: n,
1343
1343
  giftCardAmount: 0
1344
1344
  };
1345
- })()), ze = I.derived(() => I.get(z) || !!I.get(B).serverTotals && I.get(Z).total !== null), Q = I.derived(() => I.get(Z).total === 0 && I.get(Z).subtotal === 0), Be = I.derived(() => I.get(B).event.isRegistrationEvent), Ve = I.derived(() => !I.get(z) && !I.get(Q) && !de() && (ie() || I.get(Z).total === null)), He = !1;
1345
+ })()), Ve = I.derived(() => I.get(z) || !!I.get(B).serverTotals && I.get(Z).total !== null), Q = I.derived(() => I.get(Z).total === 0 && I.get(Z).subtotal === 0), He = I.derived(() => I.get(B).event.isRegistrationEvent), Ue = I.derived(() => !I.get(z) && !I.get(Q) && !pe() && (fe() || I.get(Z).total === null)), Ge = !1;
1346
1346
  I.user_effect(() => {
1347
1347
  let e = I.get(B);
1348
- if (!He) {
1349
- He = !0;
1348
+ if (!Ge) {
1349
+ Ge = !0;
1350
1350
  let t = e.deadlineAt ? _(e.deadlineAt) : null;
1351
1351
  t === null ? (I.set(V, Date.now() + e.timerStart * 1e3), I.set(H, e.timerStart, !0)) : (I.set(V, t.getTime(), !0), I.set(H, $(), !0)), I.set(U, e.forceExpired, !0);
1352
1352
  }
1353
1353
  });
1354
- function We() {
1355
- return typeof document > "u" ? null : be(L.CHECKOUT_CARTID);
1354
+ function Ke() {
1355
+ return typeof document > "u" ? null : xe(L.CHECKOUT_CARTID);
1356
1356
  }
1357
1357
  function $() {
1358
1358
  return I.get(V) == null ? I.get(H) : Math.max(0, Math.floor((I.get(V) - Date.now()) / 1e3));
1359
1359
  }
1360
- async function at() {
1361
- let e = We();
1360
+ async function st() {
1361
+ let e = Ke();
1362
1362
  if (e) try {
1363
- let t = await S(e);
1363
+ let t = await ee(e, { widgetKey: i });
1364
1364
  if (t.notFound) {
1365
1365
  I.set(V, Date.now(), !0), I.set(H, 0), I.set(U, !0), K.close(), q.open();
1366
1366
  return;
@@ -1370,45 +1370,45 @@ function at(e, n) {
1370
1370
  }
1371
1371
  I.user_effect(() => {
1372
1372
  if (I.get(U)) return;
1373
- if (me(() => I.get(H)) <= 0) {
1373
+ if (he(() => I.get(H)) <= 0) {
1374
1374
  I.set(U, !0), K.close(), q.open();
1375
1375
  return;
1376
1376
  }
1377
1377
  let e = () => {
1378
1378
  let e = $();
1379
1379
  if (I.set(H, e, !0), e % 10 == 0 && I.get(V) != null && typeof localStorage < "u") try {
1380
- let e = We();
1380
+ let e = Ke();
1381
1381
  e && localStorage.setItem(`checkout-expiry-${e}`, String(I.get(V)));
1382
1382
  } catch {}
1383
- e > 0 && e % 30 == 0 && at(), e <= 30 && e > 0 && !I.get(Oe) && (K.open(), I.set(Oe, !0)), e <= 0 && (I.set(U, !0), K.close(), q.open(), clearInterval(t));
1383
+ e > 0 && e % 30 == 0 && st(), e <= 30 && e > 0 && !I.get(Ae) && (K.open(), I.set(Ae, !0)), e <= 0 && (I.set(U, !0), K.close(), q.open(), clearInterval(t));
1384
1384
  }, t = setInterval(e, 1e3), n = (t) => {
1385
- t?.type === "pageshow" && t.persisted && I.set(W, !1), typeof document < "u" && document.visibilityState === "visible" && (e(), at());
1385
+ t?.type === "pageshow" && t.persisted && I.set(W, !1), typeof document < "u" && document.visibilityState === "visible" && (e(), st());
1386
1386
  };
1387
- return typeof document < "u" && document.addEventListener("visibilitychange", n), typeof window < "u" && window.addEventListener("pageshow", n), Te || at(), () => {
1387
+ return typeof document < "u" && document.addEventListener("visibilitychange", n), typeof window < "u" && window.addEventListener("pageshow", n), De || st(), () => {
1388
1388
  clearInterval(t), typeof document < "u" && document.removeEventListener("visibilitychange", n), typeof window < "u" && window.removeEventListener("pageshow", n);
1389
1389
  };
1390
1390
  });
1391
- function ot() {
1392
- p() && p()();
1391
+ function ct() {
1392
+ g() && g()();
1393
1393
  }
1394
- function st() {
1394
+ function lt() {
1395
1395
  if (typeof document > "u") return;
1396
1396
  let e = Array.from(document.querySelectorAll("[data-terms-gate] input[type=\"checkbox\"]"));
1397
1397
  (e.find((e) => e.getClientRects().length > 0) ?? e[0])?.focus();
1398
1398
  }
1399
- function ct() {
1400
- if (!I.get(Ie)) {
1399
+ function ut() {
1400
+ if (!I.get(X)) {
1401
1401
  if (!I.get(G)) {
1402
- I.set(De, !0), st();
1402
+ I.set(ke, !0), lt();
1403
1403
  return;
1404
1404
  }
1405
- I.set(Ee, I.get(Ee) + 1);
1405
+ I.set(Oe, I.get(Oe) + 1);
1406
1406
  }
1407
1407
  }
1408
- function lt(e) {
1409
- if (!I.get(W) && !I.get(Ie)) {
1410
- if (I.set(W, !0), f()) {
1411
- f()(e).catch(() => {}).finally(() => {
1408
+ function dt(e) {
1409
+ if (!I.get(W) && !I.get(X)) {
1410
+ if (I.set(W, !0), p()) {
1411
+ p()(e).catch(() => {}).finally(() => {
1412
1412
  I.set(W, !1);
1413
1413
  });
1414
1414
  return;
@@ -1418,39 +1418,39 @@ function at(e, n) {
1418
1418
  }, 1500);
1419
1419
  }
1420
1420
  }
1421
- function ut() {
1422
- q.close(), g() && g()();
1421
+ function ft() {
1422
+ q.close(), x() && x()();
1423
1423
  }
1424
- async function dt() {
1425
- if (!(!I.get(X) || I.get(J))) {
1424
+ async function pt() {
1425
+ if (!(!I.get(Y) || I.get(J))) {
1426
1426
  I.set(J, !0);
1427
1427
  try {
1428
- if (x()) {
1429
- let e = await x()();
1430
- if (e == null) throw new C("Extension request returned no result", 0, {
1428
+ if (te()) {
1429
+ let e = await te()();
1430
+ if (e == null) throw new S("Extension request returned no result", 0, {
1431
1431
  endpoint: "extend-session",
1432
1432
  method: "POST"
1433
1433
  });
1434
- typeof e == "object" ? (e.newExpiryTime ? I.set(V, h(e.newExpiryTime).getTime(), !0) : I.set(V, Date.now() + 9e5), I.set(H, $(), !0), e.remainingExtensions !== void 0 && (I.set(Y, e.remainingExtensions, !0), I.set(X, I.get(Y) > 0))) : (I.set(V, Date.now() + 9e5), I.set(H, $(), !0));
1434
+ typeof e == "object" ? (e.newExpiryTime ? I.set(V, h(e.newExpiryTime).getTime(), !0) : I.set(V, Date.now() + 9e5), I.set(H, $(), !0), e.remainingExtensions !== void 0 && (I.set(je, e.remainingExtensions, !0), I.set(Y, I.get(je) > 0))) : (I.set(V, Date.now() + 9e5), I.set(H, $(), !0));
1435
1435
  } else I.set(V, Date.now() + 9e5), I.set(H, $(), !0);
1436
- I.set(U, !1), I.set(Oe, !1), K.close(), q.close();
1436
+ I.set(U, !1), I.set(Ae, !1), K.close(), q.close();
1437
1437
  } catch (e) {
1438
- Ke.error("Failed to extend session:", e), K.close(), I.set(X, !1), I.get(H) <= 0 && (I.set(U, !0), q.open());
1438
+ Je.error("Failed to extend session:", e), K.close(), I.set(Y, !1), I.get(H) <= 0 && (I.set(U, !0), q.open());
1439
1439
  } finally {
1440
1440
  I.set(J, !1);
1441
1441
  }
1442
1442
  }
1443
1443
  }
1444
- function ft() {
1444
+ function mt() {
1445
1445
  K.close();
1446
1446
  }
1447
- var pt = it(), mt = I.child(pt), ht = I.child(mt), gt = (e) => {
1448
- te(e, {
1447
+ var ht = ot(), gt = I.child(ht), _t = I.child(gt), vt = (e) => {
1448
+ w(e, {
1449
1449
  visible: !0,
1450
1450
  politeness: "assertive",
1451
1451
  class: "text-center py-12",
1452
1452
  children: (e, n) => {
1453
- var r = qe(), i = I.first_child(r), a = I.child(i, !0);
1453
+ var r = Ye(), i = I.first_child(r), a = I.child(i, !0);
1454
1454
  I.reset(i);
1455
1455
  var o = I.sibling(i, 2), s = I.child(o, !0);
1456
1456
  I.reset(o);
@@ -1459,7 +1459,7 @@ function at(e, n) {
1459
1459
  let e = I.derived(() => I.get(R).goBackToEventDetails || "Go back to event details");
1460
1460
  b(c, {
1461
1461
  variant: "default",
1462
- onclick: ot,
1462
+ onclick: ct,
1463
1463
  get "aria-label"() {
1464
1464
  return I.get(e);
1465
1465
  },
@@ -1477,9 +1477,9 @@ function at(e, n) {
1477
1477
  },
1478
1478
  $$slots: { default: !0 }
1479
1479
  });
1480
- }, _t = (e) => {
1481
- var t = Xe(), n = I.first_child(t), r = I.child(n), i = I.child(r), a = I.child(i);
1482
- Le(a, {
1480
+ }, yt = (e) => {
1481
+ var t = Qe(), n = I.first_child(t), r = I.child(n), i = I.child(r), a = I.child(i);
1482
+ ze(a, {
1483
1483
  get event() {
1484
1484
  return I.get(B).event;
1485
1485
  },
@@ -1493,7 +1493,7 @@ function at(e, n) {
1493
1493
  return I.get(U);
1494
1494
  },
1495
1495
  get isRegistration() {
1496
- return I.get(Be);
1496
+ return I.get(He);
1497
1497
  },
1498
1498
  get isFreeOrder() {
1499
1499
  return I.get(Q);
@@ -1504,55 +1504,55 @@ function at(e, n) {
1504
1504
  get promoDiscount() {
1505
1505
  return I.get(B).promoDiscount;
1506
1506
  },
1507
- onBack: ot,
1508
- onPlaceOrder: lt,
1507
+ onBack: ct,
1508
+ onPlaceOrder: dt,
1509
1509
  get processing() {
1510
1510
  return I.get(W);
1511
1511
  },
1512
1512
  get submitRequested() {
1513
- return I.get(Ee);
1513
+ return I.get(Oe);
1514
1514
  },
1515
1515
  get stripe() {
1516
- return ee();
1516
+ return T();
1517
1517
  },
1518
1518
  get paymentIntent() {
1519
- return w();
1519
+ return E();
1520
1520
  },
1521
1521
  get paymentError() {
1522
- return E();
1522
+ return ie();
1523
1523
  },
1524
1524
  get labels() {
1525
1525
  return I.get(R);
1526
1526
  },
1527
1527
  get giftCard() {
1528
- return he();
1528
+ return _e();
1529
1529
  },
1530
1530
  get checkoutAddOns() {
1531
- return ge();
1531
+ return ve();
1532
1532
  },
1533
1533
  get addOnQuantities() {
1534
- return _e();
1534
+ return ye();
1535
1535
  },
1536
1536
  get addOnTicketCount() {
1537
- return ve();
1537
+ return be();
1538
1538
  },
1539
1539
  get onAddOnQuantityChange() {
1540
- return ye();
1540
+ return Se();
1541
1541
  },
1542
1542
  get addOnsBusy() {
1543
- return xe();
1543
+ return Ce();
1544
1544
  },
1545
1545
  get addOnsFailed() {
1546
- return Se();
1546
+ return we();
1547
1547
  },
1548
1548
  get addOnsError() {
1549
- return Ce();
1549
+ return Te();
1550
1550
  },
1551
1551
  get elements() {
1552
- return T();
1552
+ return ne();
1553
1553
  },
1554
1554
  set elements(e) {
1555
- T(e);
1555
+ ne(e);
1556
1556
  }
1557
1557
  });
1558
1558
  var c = I.sibling(a, 2), u = I.child(c), d = I.child(u), f = I.child(d);
@@ -1561,7 +1561,7 @@ function at(e, n) {
1561
1561
  return I.get(B).event.imageUrl;
1562
1562
  },
1563
1563
  get fallback() {
1564
- return ae;
1564
+ return oe;
1565
1565
  },
1566
1566
  get alt() {
1567
1567
  return I.get(B).event.title;
@@ -1592,13 +1592,13 @@ function at(e, n) {
1592
1592
  color: "muted",
1593
1593
  children: (e, t) => {
1594
1594
  I.next();
1595
- var n = Je(), r = I.first_child(n), i = I.sibling(r), a = (e) => {
1595
+ var n = Xe(), r = I.first_child(n), i = I.sibling(r), a = (e) => {
1596
1596
  var t = I.text();
1597
- I.template_effect((e) => I.set_text(t, `· ${e ?? ""}`), [() => o(I.get(B).event.startDateTime, I.get(B).event.timezone, pe())]), I.append(e, t);
1597
+ I.template_effect((e) => I.set_text(t, `· ${e ?? ""}`), [() => o(I.get(B).event.startDateTime, I.get(B).event.timezone, ge())]), I.append(e, t);
1598
1598
  };
1599
1599
  I.if(i, (e) => {
1600
1600
  I.get(B).event.displayStartTime !== !1 && e(a);
1601
- }), I.template_effect((e) => I.set_text(r, `${e ?? ""} `), [() => s(I.get(B).event.startDateTime, I.get(B).event.timezone, pe())]), I.append(e, n);
1601
+ }), I.template_effect((e) => I.set_text(r, `${e ?? ""} `), [() => s(I.get(B).event.startDateTime, I.get(B).event.timezone, ge())]), I.append(e, n);
1602
1602
  },
1603
1603
  $$slots: { default: !0 }
1604
1604
  }), I.reset(g);
@@ -1624,7 +1624,7 @@ function at(e, n) {
1624
1624
  }
1625
1625
  });
1626
1626
  var S = I.sibling(x, 2), C = (e) => {
1627
- var t = Ye(), n = I.child(t);
1627
+ var t = Ze(), n = I.child(t);
1628
1628
  O(n, {
1629
1629
  size: "xs",
1630
1630
  color: "muted",
@@ -1641,10 +1641,10 @@ function at(e, n) {
1641
1641
  I.if(S, (e) => {
1642
1642
  I.get(B).event.disclaimer && e(C);
1643
1643
  }), I.reset(c), I.reset(i);
1644
- var te = I.sibling(i, 2), D = I.child(te);
1644
+ var ee = I.sibling(i, 2), te = I.child(ee);
1645
1645
  {
1646
- let e = I.derived(() => I.get(W) || !I.get(Q) && !I.get(ze)), t = I.derived(() => !!I.get(Ie));
1647
- Ue(D, {
1646
+ let e = I.derived(() => I.get(W) || !I.get(Q) && !I.get(Ve)), t = I.derived(() => !!I.get(X));
1647
+ We(te, {
1648
1648
  get event() {
1649
1649
  return I.get(B).event;
1650
1650
  },
@@ -1655,9 +1655,9 @@ function at(e, n) {
1655
1655
  return I.get(Q);
1656
1656
  },
1657
1657
  get priceUnavailable() {
1658
- return I.get(Ve);
1658
+ return I.get(Ue);
1659
1659
  },
1660
- onPlaceOrder: ct,
1660
+ onPlaceOrder: ut,
1661
1661
  get processing() {
1662
1662
  return I.get(e);
1663
1663
  },
@@ -1668,10 +1668,10 @@ function at(e, n) {
1668
1668
  return I.get(R);
1669
1669
  },
1670
1670
  get locale() {
1671
- return pe();
1671
+ return ge();
1672
1672
  },
1673
1673
  get termsError() {
1674
- return I.get(De);
1674
+ return I.get(ke);
1675
1675
  },
1676
1676
  get agreeTerms() {
1677
1677
  return I.get(G);
@@ -1681,11 +1681,11 @@ function at(e, n) {
1681
1681
  }
1682
1682
  });
1683
1683
  }
1684
- I.reset(te), I.reset(r), I.reset(n);
1685
- var k = I.sibling(n, 2), A = I.child(k);
1684
+ I.reset(ee), I.reset(r), I.reset(n);
1685
+ var w = I.sibling(n, 2), D = I.child(w);
1686
1686
  {
1687
- let e = I.derived(() => I.get(W) || !I.get(Q) && !I.get(ze)), t = I.derived(() => !!I.get(Ie));
1688
- Ge(A, {
1687
+ let e = I.derived(() => I.get(W) || !I.get(Q) && !I.get(Ve)), t = I.derived(() => !!I.get(X));
1688
+ qe(D, {
1689
1689
  get orderTotals() {
1690
1690
  return I.get(Z);
1691
1691
  },
@@ -1693,9 +1693,9 @@ function at(e, n) {
1693
1693
  return I.get(Q);
1694
1694
  },
1695
1695
  get priceUnavailable() {
1696
- return I.get(Ve);
1696
+ return I.get(Ue);
1697
1697
  },
1698
- onPlaceOrder: ct,
1698
+ onPlaceOrder: ut,
1699
1699
  get processing() {
1700
1700
  return I.get(e);
1701
1701
  },
@@ -1706,7 +1706,7 @@ function at(e, n) {
1706
1706
  return I.get(R);
1707
1707
  },
1708
1708
  get termsError() {
1709
- return I.get(De);
1709
+ return I.get(ke);
1710
1710
  },
1711
1711
  get agreeTerms() {
1712
1712
  return I.get(G);
@@ -1716,12 +1716,12 @@ function at(e, n) {
1716
1716
  }
1717
1717
  });
1718
1718
  }
1719
- I.reset(k), I.append(e, t);
1719
+ I.reset(w), I.append(e, t);
1720
1720
  };
1721
- I.if(ht, (e) => {
1722
- I.get(Fe) ? e(gt) : e(_t, -1);
1723
- }), I.reset(mt);
1724
- var vt = I.sibling(mt, 2), yt = (e) => {
1721
+ I.if(_t, (e) => {
1722
+ I.get(Re) ? e(vt) : e(yt, -1);
1723
+ }), I.reset(gt);
1724
+ var bt = I.sibling(gt, 2), xt = (e) => {
1725
1725
  D(e, {
1726
1726
  class: "micdrop",
1727
1727
  open: !0,
@@ -1729,29 +1729,29 @@ function at(e, n) {
1729
1729
  size: "sm",
1730
1730
  "aria-labelledby": "warning-modal-title",
1731
1731
  body: (e) => {
1732
- var t = Qe(), n = I.child(t), r = I.child(n);
1732
+ var t = et(), n = I.child(t), r = I.child(n);
1733
1733
  u(r, { size: "32" }), I.reset(n);
1734
1734
  var i = I.sibling(n, 2), a = I.child(i, !0);
1735
1735
  I.reset(i);
1736
1736
  var o = I.sibling(i, 2), s = I.child(o, !0);
1737
1737
  I.reset(o);
1738
1738
  var c = I.sibling(o, 2), l = (e) => {
1739
- var t = Ze(), n = I.child(t, !0);
1740
- I.reset(t), I.template_effect((e) => I.set_text(n, e), [() => (I.get(R).extensionsRemaining || "Extensions remaining: {count}").replaceAll("{count}", String(I.get(Y)))]), I.append(e, t);
1739
+ var t = $e(), n = I.child(t, !0);
1740
+ I.reset(t), I.template_effect((e) => I.set_text(n, e), [() => (I.get(R).extensionsRemaining || "Extensions remaining: {count}").replaceAll("{count}", String(I.get(je)))]), I.append(e, t);
1741
1741
  };
1742
1742
  I.if(c, (e) => {
1743
- I.get(X) && I.get(Y) > 0 && e(l);
1743
+ I.get(Y) && I.get(je) > 0 && e(l);
1744
1744
  }), I.reset(t), I.template_effect((e) => {
1745
1745
  I.set_text(a, I.get(R).sessionExpiringSoon || "Session expiring soon"), I.set_text(s, e);
1746
- }, [() => (I.get(R).sessionExpiringSoonMessage || "Your checkout session will expire in {time}. Your selected tickets will be released back to inventory").replaceAll("{time}", I.get(Re))]), I.append(e, t);
1746
+ }, [() => (I.get(R).sessionExpiringSoonMessage || "Your checkout session will expire in {time}. Your selected tickets will be released back to inventory").replaceAll("{time}", I.get(Be))]), I.append(e, t);
1747
1747
  },
1748
1748
  footer: (e) => {
1749
- var t = et(), n = I.child(t), r = (e) => {
1749
+ var t = nt(), n = I.child(t), r = (e) => {
1750
1750
  b(e, {
1751
1751
  variant: "default",
1752
1752
  size: "lg",
1753
1753
  class: "w-full",
1754
- onclick: dt,
1754
+ onclick: pt,
1755
1755
  get disabled() {
1756
1756
  return I.get(J);
1757
1757
  },
@@ -1766,12 +1766,12 @@ function at(e, n) {
1766
1766
  $$slots: { default: !0 }
1767
1767
  });
1768
1768
  }, i = (e) => {
1769
- var t = $e(), n = I.first_child(t);
1769
+ var t = tt(), n = I.first_child(t);
1770
1770
  b(n, {
1771
1771
  variant: "default",
1772
1772
  size: "lg",
1773
1773
  class: "w-full",
1774
- onclick: ft,
1774
+ onclick: mt,
1775
1775
  children: (e, t) => {
1776
1776
  I.next();
1777
1777
  var n = I.text();
@@ -1783,7 +1783,7 @@ function at(e, n) {
1783
1783
  I.reset(r), I.template_effect(() => I.set_text(i, I.get(R).maxExtensionsReached || "Maximum extensions reached")), I.append(e, t);
1784
1784
  };
1785
1785
  I.if(n, (e) => {
1786
- I.get(X) ? e(r) : e(i, -1);
1786
+ I.get(Y) ? e(r) : e(i, -1);
1787
1787
  }), I.reset(t), I.append(e, t);
1788
1788
  },
1789
1789
  $$slots: {
@@ -1792,10 +1792,10 @@ function at(e, n) {
1792
1792
  }
1793
1793
  });
1794
1794
  };
1795
- I.if(vt, (e) => {
1796
- K.isOpen && e(yt);
1795
+ I.if(bt, (e) => {
1796
+ K.isOpen && e(xt);
1797
1797
  });
1798
- var bt = I.sibling(vt, 2), xt = (e) => {
1798
+ var St = I.sibling(bt, 2), Ct = (e) => {
1799
1799
  D(e, {
1800
1800
  class: "micdrop",
1801
1801
  open: !0,
@@ -1803,23 +1803,23 @@ function at(e, n) {
1803
1803
  size: "sm",
1804
1804
  "aria-labelledby": "expired-modal-title",
1805
1805
  body: (e) => {
1806
- var t = tt(), n = I.child(t), r = I.child(n);
1806
+ var t = rt(), n = I.child(t), r = I.child(n);
1807
1807
  c(r, { size: "32" }), I.reset(n);
1808
1808
  var i = I.sibling(n, 2), a = I.child(i, !0);
1809
1809
  I.reset(i);
1810
1810
  var o = I.sibling(i, 2), s = I.child(o, !0);
1811
1811
  I.reset(o), I.reset(t), I.template_effect(() => {
1812
- I.set_text(a, I.get(X) ? I.get(R).wantToKeepTickets || "Want to keep your tickets?" : I.get(R).sessionExpired || "Session expired"), I.set_text(s, I.get(X) ? I.get(R).sessionExpiredMessage || "Your checkout session has expired and your selected tickets have been released" : I.get(R).reservationTimedOut || "Your reservation has timed out. Please select your tickets again to continue");
1812
+ I.set_text(a, I.get(Y) ? I.get(R).wantToKeepTickets || "Want to keep your tickets?" : I.get(R).sessionExpired || "Session expired"), I.set_text(s, I.get(Y) ? I.get(R).sessionExpiredMessage || "Your checkout session has expired and your selected tickets have been released" : I.get(R).reservationTimedOut || "Your reservation has timed out. Please select your tickets again to continue");
1813
1813
  }), I.append(e, t);
1814
1814
  },
1815
1815
  footer: (e) => {
1816
- var t = et(), n = I.child(t), r = (e) => {
1817
- var t = nt(), n = I.first_child(t);
1816
+ var t = nt(), n = I.child(t), r = (e) => {
1817
+ var t = it(), n = I.first_child(t);
1818
1818
  b(n, {
1819
1819
  variant: "default",
1820
1820
  size: "lg",
1821
1821
  class: "w-full",
1822
- onclick: dt,
1822
+ onclick: pt,
1823
1823
  get disabled() {
1824
1824
  return I.get(J);
1825
1825
  },
@@ -1838,7 +1838,7 @@ function at(e, n) {
1838
1838
  variant: "alternative",
1839
1839
  size: "lg",
1840
1840
  class: "w-full",
1841
- onclick: ut,
1841
+ onclick: ft,
1842
1842
  children: (e, t) => {
1843
1843
  I.next();
1844
1844
  var n = I.text();
@@ -1851,7 +1851,7 @@ function at(e, n) {
1851
1851
  variant: "default",
1852
1852
  size: "lg",
1853
1853
  class: "w-full",
1854
- onclick: ut,
1854
+ onclick: ft,
1855
1855
  children: (e, t) => {
1856
1856
  I.next();
1857
1857
  var n = I.text();
@@ -1861,7 +1861,7 @@ function at(e, n) {
1861
1861
  });
1862
1862
  };
1863
1863
  I.if(n, (e) => {
1864
- I.get(X) ? e(r) : e(i, -1);
1864
+ I.get(Y) ? e(r) : e(i, -1);
1865
1865
  }), I.reset(t), I.append(e, t);
1866
1866
  },
1867
1867
  $$slots: {
@@ -1870,18 +1870,18 @@ function at(e, n) {
1870
1870
  }
1871
1871
  });
1872
1872
  };
1873
- I.if(bt, (e) => {
1874
- q.isOpen && e(xt);
1873
+ I.if(St, (e) => {
1874
+ q.isOpen && e(Ct);
1875
1875
  });
1876
- var St = I.sibling(bt, 2), Ct = (e) => {
1876
+ var wt = I.sibling(St, 2), Tt = (e) => {
1877
1877
  D(e, {
1878
1878
  class: "micdrop",
1879
1879
  open: !0,
1880
- oncancel: () => Me.close(),
1880
+ oncancel: () => Fe.close(),
1881
1881
  size: "sm",
1882
1882
  "aria-labelledby": "sale-closed-modal-title",
1883
1883
  body: (e) => {
1884
- var t = rt(), n = I.child(t), r = I.child(n);
1884
+ var t = at(), n = I.child(t), r = I.child(n);
1885
1885
  u(r, { size: "32" }), I.reset(n);
1886
1886
  var i = I.sibling(n, 2), a = I.child(i), o = (e) => {
1887
1887
  var t = I.text();
@@ -1891,7 +1891,7 @@ function at(e, n) {
1891
1891
  I.template_effect(() => I.set_text(t, I.get(R).eventPostponedTitle || "Ticket sales are paused")), I.append(e, t);
1892
1892
  };
1893
1893
  I.if(a, (e) => {
1894
- I.get(Ie) === "canceled" ? e(o) : e(s, -1);
1894
+ I.get(X) === "canceled" ? e(o) : e(s, -1);
1895
1895
  }), I.reset(i);
1896
1896
  var c = I.sibling(i, 2), l = I.child(c), d = (e) => {
1897
1897
  var t = I.text();
@@ -1901,16 +1901,16 @@ function at(e, n) {
1901
1901
  I.template_effect(() => I.set_text(t, I.get(R).eventPostponedMessage || "Ticket sales for this event have been paused. You have not been charged. Check back soon or contact the organizer")), I.append(e, t);
1902
1902
  };
1903
1903
  I.if(l, (e) => {
1904
- I.get(Ie) === "canceled" ? e(d) : e(f, -1);
1904
+ I.get(X) === "canceled" ? e(d) : e(f, -1);
1905
1905
  }), I.reset(c), I.reset(t), I.append(e, t);
1906
1906
  },
1907
1907
  footer: (e) => {
1908
- var t = et(), n = I.child(t);
1908
+ var t = nt(), n = I.child(t);
1909
1909
  b(n, {
1910
1910
  variant: "default",
1911
1911
  size: "lg",
1912
1912
  class: "w-full",
1913
- onclick: ut,
1913
+ onclick: ft,
1914
1914
  children: (e, t) => {
1915
1915
  I.next();
1916
1916
  var n = I.text();
@@ -1925,9 +1925,9 @@ function at(e, n) {
1925
1925
  }
1926
1926
  });
1927
1927
  };
1928
- I.if(St, (e) => {
1929
- Me.isOpen && e(Ct);
1930
- }), I.reset(pt), I.append(e, pt), I.pop();
1928
+ I.if(wt, (e) => {
1929
+ Fe.isOpen && e(Tt);
1930
+ }), I.reset(ht), I.append(e, ht), I.pop();
1931
1931
  }
1932
1932
  //#endregion
1933
- export { at as default, be as n, L as t };
1933
+ export { $ as default, xe as n, L as t };