@getmicdrop/venue-calendar 4.3.60 → 4.3.62

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 (78) hide show
  1. package/README.md +818 -818
  2. package/dist/{AddOnCard-BzTz2vbx.js → AddOnCard-DAk2utke.js} +2 -2
  3. package/dist/{CalendarFoundryView-CU34kx17.js → CalendarFoundryView-uG2d_J_1.js} +3246 -3539
  4. package/dist/{CartView-BU-h3sJN.js → CartView-C3yY3Umt.js} +3 -3
  5. package/dist/{Checkout-DYCcC-0N.js → Checkout-CtNDr22Y.js} +7 -6
  6. package/dist/Checkout-D5xQo_-j.js +1974 -0
  7. package/dist/{CheckoutTimer-BuYZ9k4Q.js → CheckoutTimer-Btjo7PEg.js} +1 -1
  8. package/dist/{CloseIcon-DtlW0vQT.js → CloseIcon-DKrZf_7a.js} +2 -2
  9. package/dist/{CollectionView-CXMxxdWQ.js → CollectionView-cwWo1mF3.js} +3 -3
  10. package/dist/{Event-Cqx8TF2r.js → Event-DTJ0vZr1.js} +5 -5
  11. package/dist/{EventPage-BptjljMB.js → EventPage-CnOqHn95.js} +3 -3
  12. package/dist/{Input-C-GyzK2y.js → Input-CLSPTEMv.js} +4 -4
  13. package/dist/{PasswordInput-BGVvl0X1.js → PasswordInput-BxuPPAe8.js} +1 -1
  14. package/dist/{RecommendationsRail-Bd_HV1Ou.js → RecommendationsRail-D9S_5rVW.js} +1 -1
  15. package/dist/Select-CjELEaSF.js +376 -0
  16. package/dist/{SeriesPage-cRi8ifRa.js → SeriesPage-BTo2IP4b.js} +2 -2
  17. package/dist/{Success-CjjUwjXy.js → Success-3ivVwkoj.js} +3 -3
  18. package/dist/api/transformers/venue.d.ts +26 -0
  19. package/dist/{constants-DWS8C09a.js → constants-CBPzJAKF.js} +2 -0
  20. package/dist/{de-BEfuIgIj.js → de-B7O-dJsW.js} +2 -0
  21. package/dist/{es-Bd4g_HxR.js → es-CAjDq_xB.js} +2 -0
  22. package/dist/{fr-Blc79wvV.js → fr-CcNvBKpw.js} +2 -0
  23. package/dist/{i18n-CfXVv1y8.js → i18n-DLFy3vxe.js} +14 -14
  24. package/dist/{id-DzzsiF4d.js → id-CSzRaEmh.js} +2 -0
  25. package/dist/{it-B4zXRsxu.js → it-C1y4ckE2.js} +2 -0
  26. package/dist/{ja-eT4_QPKd.js → ja-BkffKruj.js} +2 -0
  27. package/dist/{ko-B8Fmrldj.js → ko-rUezp1-T.js} +2 -0
  28. package/dist/locales/4.3.62/flow/de.js +1 -0
  29. package/dist/locales/4.3.62/flow/es.js +1 -0
  30. package/dist/locales/4.3.62/flow/fr.js +1 -0
  31. package/dist/locales/4.3.62/flow/id.js +1 -0
  32. package/dist/locales/4.3.62/flow/it.js +1 -0
  33. package/dist/locales/4.3.62/flow/ja.js +1 -0
  34. package/dist/locales/4.3.62/flow/ko.js +1 -0
  35. package/dist/locales/4.3.62/flow/nl.js +1 -0
  36. package/dist/locales/4.3.62/flow/pl.js +1 -0
  37. package/dist/locales/4.3.62/flow/pt-br.js +1 -0
  38. package/dist/locales/4.3.62/flow/tr.js +1 -0
  39. package/dist/locales/4.3.62/flow/zh.js +1 -0
  40. package/dist/{nl-Dnug8LYt.js → nl-B92Oj0Kq.js} +2 -0
  41. package/dist/{pl-C3XxoYWF.js → pl-Q8SsShQJ.js} +2 -0
  42. package/dist/{pt-br-Y40SBe4b.js → pt-br-HJoQU6-m.js} +2 -0
  43. package/dist/{tr-2zIJ-vq2.js → tr-Cztm2s2I.js} +2 -0
  44. package/dist/types/index.d.ts +597 -597
  45. package/dist/venue-Dv8MYjz_.js +17 -0
  46. package/dist/venue-calendar.es.js +13 -13
  47. package/dist/venue-calendar.iife.js +34 -34
  48. package/dist/venue-calendar.umd.js +51 -51
  49. package/dist/{zh-vNYvCXO7.js → zh-CInFBbgV.js} +2 -0
  50. package/package.json +2 -2
  51. package/src/lib/theme.js +222 -222
  52. package/dist/Checkbox-BtJwg_CF.js +0 -61
  53. package/dist/Checkout-CpbaR-uS.js +0 -1933
  54. package/dist/locales/4.3.60/flow/de.js +0 -1
  55. package/dist/locales/4.3.60/flow/es.js +0 -1
  56. package/dist/locales/4.3.60/flow/fr.js +0 -1
  57. package/dist/locales/4.3.60/flow/id.js +0 -1
  58. package/dist/locales/4.3.60/flow/it.js +0 -1
  59. package/dist/locales/4.3.60/flow/ja.js +0 -1
  60. package/dist/locales/4.3.60/flow/ko.js +0 -1
  61. package/dist/locales/4.3.60/flow/nl.js +0 -1
  62. package/dist/locales/4.3.60/flow/pl.js +0 -1
  63. package/dist/locales/4.3.60/flow/pt-br.js +0 -1
  64. package/dist/locales/4.3.60/flow/tr.js +0 -1
  65. package/dist/locales/4.3.60/flow/zh.js +0 -1
  66. package/dist/venue-BBoZBuhu.js +0 -13
  67. /package/dist/locales/{4.3.60 → 4.3.62}/main/de.js +0 -0
  68. /package/dist/locales/{4.3.60 → 4.3.62}/main/es.js +0 -0
  69. /package/dist/locales/{4.3.60 → 4.3.62}/main/fr.js +0 -0
  70. /package/dist/locales/{4.3.60 → 4.3.62}/main/id.js +0 -0
  71. /package/dist/locales/{4.3.60 → 4.3.62}/main/it.js +0 -0
  72. /package/dist/locales/{4.3.60 → 4.3.62}/main/ja.js +0 -0
  73. /package/dist/locales/{4.3.60 → 4.3.62}/main/ko.js +0 -0
  74. /package/dist/locales/{4.3.60 → 4.3.62}/main/nl.js +0 -0
  75. /package/dist/locales/{4.3.60 → 4.3.62}/main/pl.js +0 -0
  76. /package/dist/locales/{4.3.60 → 4.3.62}/main/pt-br.js +0 -0
  77. /package/dist/locales/{4.3.60 → 4.3.62}/main/tr.js +0 -0
  78. /package/dist/locales/{4.3.60 → 4.3.62}/main/zh.js +0 -0
@@ -2,7 +2,7 @@ import { n as e } from "./WarningCircleIcon-DsYifP07.js";
2
2
  import { g as t, x as n } from "./defaultLabels-DdcEwzXA.js";
3
3
  import { r } from "./Button-CsbNNvbX.js";
4
4
  import { t as i } from "./Text-CqjLjIF8.js";
5
- import { n as a } from "./constants-DWS8C09a.js";
5
+ import { n as a } from "./constants-CBPzJAKF.js";
6
6
  import "svelte/internal/disclose-version";
7
7
  import * as o from "svelte/internal/client";
8
8
  //#region src/lib/utils/event-ended.ts
@@ -12,7 +12,7 @@ function r(e, r) {
12
12
  }
13
13
  //#endregion
14
14
  //#region node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/phosphor/CheckIcon.svelte
15
- var i = t.from_svg("<path d=\"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z\"></path>"), a = t.from_svg("<polyline points=\"40 144 96 200 224 72\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"16\"></polyline>"), o = t.from_svg("<svg aria-hidden=\"true\" viewBox=\"0 0 256 256\" fill=\"currentColor\" xmlns=\"http://www.w3.org/2000/svg\"><!></svg>");
15
+ var i = t.from_svg("<path d=\"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z\"></path>"), a = t.from_svg("<polyline points=\"40 144 96 200 224 72\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></polyline>"), o = t.from_svg("<svg aria-hidden=\"true\" viewBox=\"0 0 256 256\" fill=\"currentColor\" xmlns=\"http://www.w3.org/2000/svg\"><!></svg>");
16
16
  function s(n, r) {
17
17
  t.push(r, !0);
18
18
  let s = t.prop(r, "size", 3, "24"), c = t.prop(r, "color", 3, "currentColor"), l = t.prop(r, "class", 3, ""), u = e(), d = t.derived(() => r.weight ?? u?.weight ?? "regular");
@@ -23,7 +23,7 @@ function s(n, r) {
23
23
  t.append(e, n);
24
24
  }, g = (e) => {
25
25
  var n = a();
26
- t.append(e, n);
26
+ t.template_effect(() => t.set_attribute(n, "stroke-width", t.get(d) === "bold" ? 24 : 16)), t.append(e, n);
27
27
  };
28
28
  t.if(m, (e) => {
29
29
  t.get(d) === "fill" ? e(h) : e(g, -1);
@@ -1,10 +1,10 @@
1
- import { t as e } from "./Event-Cqx8TF2r.js";
1
+ import { t as e } from "./Event-DTJ0vZr1.js";
2
2
  import { g as t } from "./sizing-CFDo_qh_.js";
3
- import { i as n } from "./RecommendationsRail-Bd_HV1Ou.js";
3
+ import { i as n } from "./RecommendationsRail-D9S_5rVW.js";
4
4
  import { t as r } from "./defaultLabels-DdcEwzXA.js";
5
5
  import { t as i } from "./Button-CsbNNvbX.js";
6
6
  import { T as a } from "./api-BX4Imu-R.js";
7
- import { t as o } from "./PasswordInput-BGVvl0X1.js";
7
+ import { t as o } from "./PasswordInput-BxuPPAe8.js";
8
8
  import { t as s } from "./__SKIP_NAVIGATION__-AOx8SI54.js";
9
9
  import { t as c } from "./__SKIP_PATHS__-C0ixDSSm.js";
10
10
  import { i as l, n as u, t as d } from "./gate-password-cache-oOcDm9Ki.js";
@@ -3,12 +3,12 @@ import { i as t } from "./Button-CjGyeEzb.js";
3
3
  import { r as n, s as r } from "./keyboard-DVfwTq3J.js";
4
4
  import { g as i, h as a, m as o, p as s, v as c } from "./sizing-CFDo_qh_.js";
5
5
  import { t as l } from "./ChevronDownOutline-D7YDiKBF.js";
6
- import { t as u } from "./Input-C-GyzK2y.js";
6
+ import { t as u } from "./Input-CLSPTEMv.js";
7
7
  import { K as d, a as f, c as p, g as m, i as h, m as g, o as _, r as v, u as y, w as b, x, y as S } from "./scarcity-ClhXuC6t.js";
8
8
  import { n as C, r as w } from "./WarningCircleIcon-DsYifP07.js";
9
9
  import { t as T } from "./CalendarIcon-3jHpw2aE.js";
10
10
  import { a as E, i as D, o as O, r as k, t as A } from "./href-Dz1CMH4c.js";
11
- import { n as j, o as M, t as ee } from "./RecommendationsRail-Bd_HV1Ou.js";
11
+ import { n as j, o as M, t as ee } from "./RecommendationsRail-D9S_5rVW.js";
12
12
  import { n as N } from "./copyToClipboard-CIu22_xq.js";
13
13
  import { r as P, s as F, t as I } from "./ScarcityBadge-DU6RgcCz.js";
14
14
  import { d as L, n as R, t as z } from "./z-index-Bo0dqmiq.js";
@@ -21,9 +21,9 @@ import { n as q, t as J } from "./Heading-pESM-crl.js";
21
21
  import { n as ue, t as de } from "./Grid-kuP6V0GW.js";
22
22
  import { t as Y } from "./Text-CqjLjIF8.js";
23
23
  import { i as fe, s as pe, t as me } from "./to-event-card-props-DObG6xUq.js";
24
- import { a as he, c as ge, d as _e, f as ve, l as ye, n as be, o as xe, p as X, r as Se, s as Z, t as Ce, u as we } from "./i18n-CfXVv1y8.js";
25
- import { n as Te, t as Ee } from "./constants-DWS8C09a.js";
26
- import { n as De, r as Oe, t as ke } from "./AddOnCard-BzTz2vbx.js";
24
+ import { a as he, c as ge, d as _e, f as ve, l as ye, n as be, o as xe, p as X, r as Se, s as Z, t as Ce, u as we } from "./i18n-DLFy3vxe.js";
25
+ import { n as Te, t as Ee } from "./constants-CBPzJAKF.js";
26
+ import { n as De, r as Oe, t as ke } from "./AddOnCard-DAk2utke.js";
27
27
  import "svelte/internal/disclose-version";
28
28
  import * as Q from "svelte/internal/client";
29
29
  import { SvelteMap as Ae, SvelteSet as je } from "svelte/reactivity";
@@ -1,12 +1,12 @@
1
1
  import { t as e } from "./Button-CjGyeEzb.js";
2
2
  import { i as t } from "./keyboard-DVfwTq3J.js";
3
- import { t as n } from "./Event-Cqx8TF2r.js";
3
+ import { t as n } from "./Event-DTJ0vZr1.js";
4
4
  import { d as r, g as i, m as a, v as o } from "./sizing-CFDo_qh_.js";
5
- import { n as s, t as c } from "./Input-C-GyzK2y.js";
5
+ import { n as s, t as c } from "./Input-CLSPTEMv.js";
6
6
  import { a as l, i as u, o as d, t as f } from "./createErrorGate.svelte-Z3I2WfRr.js";
7
7
  import { n as p } from "./WarningCircleIcon-DsYifP07.js";
8
8
  import { o as m } from "./href-Dz1CMH4c.js";
9
- import { r as h } from "./RecommendationsRail-Bd_HV1Ou.js";
9
+ import { r as h } from "./RecommendationsRail-D9S_5rVW.js";
10
10
  import { i as g } from "./ScarcityBadge-DU6RgcCz.js";
11
11
  import { M as _, P as v, t as y } from "./defaultLabels-DdcEwzXA.js";
12
12
  import { t as b } from "./Button-CsbNNvbX.js";
@@ -58,7 +58,7 @@ function y(e) {
58
58
  }
59
59
  //#endregion
60
60
  //#region node_modules/@getmicdrop/svelte-components/dist/primitives/Input/Input.svelte
61
- var oe = /* @__PURE__ */ new Set(/* @__PURE__ */ "$$slots.$$events.$$legacy.required.disabled.optional.icon.buttonIcon.buttonText.maxlength.minlength.type.placeholder.label.id.name.class.size.textareaSize.errorText.color.helperText.helperIcon.hintText.hintIcon.contentFloat.readonly.controlled.onButtonClick.onbuttonclick.value.autocomplete.autofocus.showPasswordToggle.animateFocus.statusText.statusType.buttonDisabled.inputmode.instantSearch.debounceMs.minSearchChars.showClearButton.onsearch.onfocus.onblur.onkeydown.oninputchange.leftIcon.rightIcon.prefix.labels.data-testid".split(".")), b = f.from_html("<span> </span>"), se = f.from_html("<div class=\"flex justify-start items-center gap-1\"><label> <!></label> <!> <!></div>"), ce = f.from_html("<textarea rows=\"4\"></textarea>"), le = f.from_html("<div><input/> <button type=\"button\" class=\"flex items-center justify-center px-3 tone-muted focus:outline-none\" tabindex=\"-1\"><!></button></div>"), ue = f.from_html("<div class=\"absolute left-3 inset-y-0 flex items-center tone-muted z-sticky pointer-events-none\"><!></div>"), de = f.from_html("<div class=\"absolute right-3 inset-y-0 flex items-center tone-muted z-sticky pointer-events-none\"><!></div>"), fe = f.from_html("<button type=\"button\" class=\"absolute right-2 top-1/2 -translate-y-1/2 flex items-center justify-center p-1 tone-muted\" tabindex=\"-1\"><!></button>"), pe = f.from_html("<img class=\"w-5 h-5\"/>"), me = f.from_html("<span class=\"type-label\"> </span>"), he = f.from_html("<button type=\"button\"><!> <!></button>"), ge = f.from_html("<img class=\"absolute inset-y-0 right-0 w-5 h-5 mr-3 top-1/2 transform -translate-y-1/2\"/>"), _e = f.from_html("<div class=\"relative flex items-center w-full\"><!> <!> <input/> <!> <!></div>"), ve = f.from_html("<div class=\"flex items-start gap-1.5 mt-2\" role=\"alert\" aria-live=\"assertive\"><!> <p> </p></div>"), ye = f.from_html("<img class=\"w-4 h-4 mr-2\"/>"), be = f.from_html("<div><!> <span> </span></div>"), xe = f.from_html("<div><!> <div class=\"relative w-full\"><!> <!></div></div>");
61
+ var oe = /* @__PURE__ */ new Set(/* @__PURE__ */ "$$slots.$$events.$$legacy.required.disabled.optional.icon.buttonIcon.buttonText.maxlength.minlength.type.placeholder.label.id.name.class.size.textareaSize.errorText.color.helperText.helperIcon.hintText.hintIcon.contentFloat.readonly.tabindex.controlled.onButtonClick.onbuttonclick.value.autocomplete.autofocus.showPasswordToggle.animateFocus.statusText.statusType.buttonDisabled.inputmode.instantSearch.debounceMs.minSearchChars.showClearButton.onsearch.onfocus.onblur.onkeydown.oninputchange.leftIcon.rightIcon.prefix.labels.data-testid".split(".")), b = f.from_html("<span> </span>"), se = f.from_html("<div class=\"flex justify-start items-center gap-1\"><label> <!></label> <!> <!></div>"), ce = f.from_html("<textarea rows=\"4\"></textarea>"), le = f.from_html("<div><input/> <button type=\"button\" class=\"flex items-center justify-center px-3 tone-muted focus:outline-none\" tabindex=\"-1\"><!></button></div>"), ue = f.from_html("<div class=\"absolute left-3 inset-y-0 flex items-center tone-muted z-sticky pointer-events-none\"><!></div>"), de = f.from_html("<div class=\"absolute right-3 inset-y-0 flex items-center tone-muted z-sticky pointer-events-none\"><!></div>"), fe = f.from_html("<button type=\"button\" class=\"absolute right-2 top-1/2 -translate-y-1/2 flex items-center justify-center p-1 tone-muted\" tabindex=\"-1\"><!></button>"), pe = f.from_html("<img class=\"w-5 h-5\"/>"), me = f.from_html("<span class=\"type-label\"> </span>"), he = f.from_html("<button type=\"button\"><!> <!></button>"), ge = f.from_html("<img class=\"absolute inset-y-0 right-0 w-5 h-5 mr-3 top-1/2 transform -translate-y-1/2\"/>"), _e = f.from_html("<div class=\"relative flex items-center w-full\"><!> <!> <input/> <!> <!></div>"), ve = f.from_html("<div class=\"flex items-start gap-1.5 mt-2\" role=\"alert\" aria-live=\"assertive\"><!> <p> </p></div>"), ye = f.from_html("<img class=\"w-4 h-4 mr-2\"/>"), be = f.from_html("<div><!> <span> </span></div>"), xe = f.from_html("<div><!> <div class=\"relative w-full\"><!> <!></div></div>");
62
62
  function x(p, h) {
63
63
  let g = f.props_id();
64
64
  f.push(h, !0);
@@ -175,7 +175,7 @@ function x(p, h) {
175
175
  var at = f.sibling(rt, 2), $ = f.child(at), ot = (e) => {
176
176
  var t = ce();
177
177
  f.remove_textarea_child(t), t.required = !1, f.template_effect((e, n) => {
178
- f.set_attribute(t, "id", f.get(z)), f.set_attribute(t, "name", D()), f.set_attribute(t, "placeholder", E()), f.set_value(t, f.get(V)), f.set_attribute(t, "maxlength", C()), f.set_attribute(t, "minlength", w()), f.set_class(t, 1, `${r.sm ?? ""} w-full px-3 py-2 bg-bg-secondary border rounded-lg ${i.emphasis ?? ""} placeholder-muted-foreground transition-all focus:outline-none focus:ring-4 focus:ring-focus-ring resize-y ${f.get(G) ? "border-status-error-border" : "border-stroke-primary hover:border-interactive-border focus:border-interactive-border"} ${e ?? ""} ${n ?? ""} ${f.get(q) ? "focus:scale-grow" : ""}`), t.disabled = v(), t.readOnly = M(), f.set_attribute(t, "aria-required", _()), f.set_attribute(t, "aria-invalid", f.get(G)), f.set_attribute(t, "aria-describedby", O() ? f.get(K) : void 0), f.set_attribute(t, "data-testid", h["data-testid"]);
178
+ f.set_attribute(t, "id", f.get(z)), f.set_attribute(t, "name", D()), f.set_attribute(t, "placeholder", E()), f.set_value(t, f.get(V)), f.set_attribute(t, "maxlength", C()), f.set_attribute(t, "minlength", w()), f.set_class(t, 1, `${r.sm ?? ""} w-full px-3 py-2 bg-bg-secondary border rounded-lg ${i.emphasis ?? ""} placeholder-muted-foreground transition-all focus:outline-none focus:ring-4 focus:ring-focus-ring resize-y ${f.get(G) ? "border-status-error-border" : "border-stroke-primary hover:border-interactive-border focus:border-interactive-border"} ${e ?? ""} ${n ?? ""} ${f.get(q) ? "focus:scale-grow" : ""}`), t.disabled = v(), t.readOnly = M(), f.set_attribute(t, "tabindex", h.tabindex), f.set_attribute(t, "aria-required", _()), f.set_attribute(t, "aria-invalid", f.get(G)), f.set_attribute(t, "aria-describedby", O() ? f.get(K) : void 0), f.set_attribute(t, "data-testid", h["data-testid"]);
179
179
  }, [() => Z(), () => tt()]), f.delegated("input", t, J), f.event("blur", t, Y), f.event("focus", t, X), f.append(e, t);
180
180
  }, st = (e) => {
181
181
  var t = le(), n = f.child(t);
@@ -188,7 +188,7 @@ function x(p, h) {
188
188
  f.if(o, (e) => {
189
189
  f.get(W) ? e(s) : e(c, -1);
190
190
  }), f.reset(a), f.reset(t), f.template_effect((e) => {
191
- f.set_class(t, 1, `flex items-center w-full bg-bg-secondary border rounded-lg transition-all outline-none focus-within:ring-4 focus-within:ring-focus-ring ${f.get(G) ? "border-status-error-border" : "border-stroke-primary hover:border-interactive-border focus-within:border-interactive-border"} ${f.get(q) ? "focus-within:scale-grow" : ""} ${v() ? "opacity-50 cursor-not-allowed" : ""}`), f.set_attribute(n, "id", f.get(z)), f.set_attribute(n, "type", f.get(Xe)), f.set_attribute(n, "name", D()), f.set_attribute(n, "placeholder", E()), f.set_value(n, f.get(V)), f.set_attribute(n, "maxlength", C()), f.set_attribute(n, "minlength", w()), f.set_class(n, 1, `password-input-inner ${r.sm ?? ""} flex-1 w-full ${f.get(Ze) ?? ""} bg-transparent border-0 ${i.emphasis ?? ""} placeholder-muted-foreground focus:outline-none focus:ring-0 ${e ?? ""}`), n.disabled = v(), n.readOnly = M(), f.set_attribute(n, "aria-required", _()), f.set_attribute(n, "aria-invalid", f.get(G)), f.set_attribute(n, "aria-describedby", O() ? f.get(K) : void 0), f.set_attribute(n, "data-testid", h["data-testid"]), f.set_attribute(n, "autocomplete", f.get(Ge)), f.set_attribute(n, "inputmode", f.get(We)), f.set_attribute(a, "aria-label", f.get(W) ? f.get(B).hidePassword : f.get(B).showPassword);
191
+ f.set_class(t, 1, `flex items-center w-full bg-bg-secondary border rounded-lg transition-all outline-none focus-within:ring-4 focus-within:ring-focus-ring ${f.get(G) ? "border-status-error-border" : "border-stroke-primary hover:border-interactive-border focus-within:border-interactive-border"} ${f.get(q) ? "focus-within:scale-grow" : ""} ${v() ? "opacity-50 cursor-not-allowed" : ""}`), f.set_attribute(n, "id", f.get(z)), f.set_attribute(n, "type", f.get(Xe)), f.set_attribute(n, "name", D()), f.set_attribute(n, "placeholder", E()), f.set_value(n, f.get(V)), f.set_attribute(n, "maxlength", C()), f.set_attribute(n, "minlength", w()), f.set_class(n, 1, `password-input-inner ${r.sm ?? ""} flex-1 w-full ${f.get(Ze) ?? ""} bg-transparent border-0 ${i.emphasis ?? ""} placeholder-muted-foreground focus:outline-none focus:ring-0 ${e ?? ""}`), n.disabled = v(), n.readOnly = M(), f.set_attribute(n, "tabindex", h.tabindex), f.set_attribute(n, "aria-required", _()), f.set_attribute(n, "aria-invalid", f.get(G)), f.set_attribute(n, "aria-describedby", O() ? f.get(K) : void 0), f.set_attribute(n, "data-testid", h["data-testid"]), f.set_attribute(n, "autocomplete", f.get(Ge)), f.set_attribute(n, "inputmode", f.get(We)), f.set_attribute(a, "aria-label", f.get(W) ? f.get(B).hidePassword : f.get(B).showPassword);
192
192
  }, [() => Z()]), f.delegated("input", n, J), f.delegated("change", n, qe), f.event("blur", n, Y), f.event("focus", n, X), f.delegated("click", a, Qe), f.append(e, t);
193
193
  }, ct = (e) => {
194
194
  var t = _e(), n = f.child(t), a = (e) => {
@@ -247,7 +247,7 @@ function x(p, h) {
247
247
  f.if(p, (e) => {
248
248
  y() && T() !== "textarea" && !h.rightIcon && !(L() && f.get(V)) && e(m);
249
249
  }), f.reset(t), f.template_effect((e) => {
250
- f.set_attribute(c, "id", f.get(z)), f.set_attribute(c, "type", f.get(Xe)), f.set_attribute(c, "name", D()), f.set_attribute(c, "placeholder", E()), f.set_value(c, f.get(V)), f.set_attribute(c, "maxlength", C()), f.set_attribute(c, "minlength", w()), f.set_class(c, 1, `${r.body ?? ""} w-full ${R() ? "min-w-0 " : ""}${f.get(Ze) ?? ""} bg-bg-secondary border ${R() ? "rounded-r-lg" : "rounded-lg"} ${i.emphasis ?? ""} placeholder-muted-foreground transition-all focus:outline-none focus:ring-4 focus:ring-focus-ring ${f.get(G) ? "border-status-error-border" : "border-stroke-primary hover:border-interactive-border focus:border-interactive-border"} ${y() || h.rightIcon || L() && f.get(V) ? "pr-10" : ""} ${h.leftIcon ? "pl-10" : ""} ${e ?? ""} ${f.get(q) && !R() ? "focus:scale-grow" : ""} ${v() ? "opacity-50 cursor-not-allowed" : ""}`), c.disabled = v(), c.readOnly = M(), f.set_attribute(c, "aria-required", _()), f.set_attribute(c, "aria-invalid", f.get(G)), f.set_attribute(c, "aria-describedby", f.get(Ye)), f.set_attribute(c, "data-testid", h["data-testid"]), f.set_attribute(c, "autocomplete", f.get(Ge)), f.set_attribute(c, "inputmode", f.get(We));
250
+ f.set_attribute(c, "id", f.get(z)), f.set_attribute(c, "type", f.get(Xe)), f.set_attribute(c, "name", D()), f.set_attribute(c, "placeholder", E()), f.set_value(c, f.get(V)), f.set_attribute(c, "maxlength", C()), f.set_attribute(c, "minlength", w()), f.set_class(c, 1, `${r.body ?? ""} w-full ${R() ? "min-w-0 " : ""}${f.get(Ze) ?? ""} bg-bg-secondary border ${R() ? "rounded-r-lg" : "rounded-lg"} ${i.emphasis ?? ""} placeholder-muted-foreground transition-all focus:outline-none focus:ring-4 focus:ring-focus-ring ${f.get(G) ? "border-status-error-border" : "border-stroke-primary hover:border-interactive-border focus:border-interactive-border"} ${y() || h.rightIcon || L() && f.get(V) ? "pr-10" : ""} ${h.leftIcon ? "pl-10" : ""} ${e ?? ""} ${f.get(q) && !R() ? "focus:scale-grow" : ""} ${v() ? "opacity-50 cursor-not-allowed" : ""}`), c.disabled = v(), c.readOnly = M(), f.set_attribute(c, "tabindex", h.tabindex), f.set_attribute(c, "aria-required", _()), f.set_attribute(c, "aria-invalid", f.get(G)), f.set_attribute(c, "aria-describedby", f.get(Ye)), f.set_attribute(c, "data-testid", h["data-testid"]), f.set_attribute(c, "autocomplete", f.get(Ge)), f.set_attribute(c, "inputmode", f.get(We));
251
251
  }, [() => Z()]), f.delegated("input", c, J), f.delegated("change", c, qe), f.event("blur", c, Y), f.event("focus", c, X), f.delegated("keydown", c, et), f.append(e, t);
252
252
  };
253
253
  f.if($, (e) => {
@@ -1,5 +1,5 @@
1
1
  import { v as e } from "./sizing-CFDo_qh_.js";
2
- import { t } from "./Input-C-GyzK2y.js";
2
+ import { t } from "./Input-CLSPTEMv.js";
3
3
  import { d as n, n as r, r as i } from "./z-index-Bo0dqmiq.js";
4
4
  import { t as a } from "./lazyOnce-CCfEO1xG.js";
5
5
  import "svelte/internal/disclose-version";
@@ -9,7 +9,7 @@ import { t as m } from "./Grid-kuP6V0GW.js";
9
9
  import { i as h, s as g, t as _ } from "./to-event-card-props-DObG6xUq.js";
10
10
  import { n as v } from "./imageUrl-Bata3II2.js";
11
11
  import { t as y } from "./event-RAxNIB4i.js";
12
- import { t as b } from "./venue-BBoZBuhu.js";
12
+ import { t as b } from "./venue-Dv8MYjz_.js";
13
13
  import "svelte/internal/disclose-version";
14
14
  import * as x from "svelte/internal/client";
15
15
  //#region node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/phosphor/ExportIcon.svelte
@@ -0,0 +1,376 @@
1
+ import { r as e } from "./keyboard-DVfwTq3J.js";
2
+ import { f as t, m as n, p as r, s as i, v as a } from "./sizing-CFDo_qh_.js";
3
+ import { t as o } from "./ChevronDownOutline-D7YDiKBF.js";
4
+ import { t as s } from "./CloseOutline-qpVa62mu.js";
5
+ import { K as c } from "./scarcity-ClhXuC6t.js";
6
+ import { i as l } from "./z-index-Bo0dqmiq.js";
7
+ import { t as u } from "./portal-BZBgqs8B.js";
8
+ import { t as d } from "./floatingPosition-DXLeLxPY.js";
9
+ import { t as f } from "./RequiredIndicator-CYcnRFsA.js";
10
+ import "svelte/internal/disclose-version";
11
+ import * as p from "svelte/internal/client";
12
+ import { onMount as m } from "svelte";
13
+ //#region node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/phosphor/ArrowUpRightIcon.svelte
14
+ var h = p.from_svg("<path d=\"M200,64V168a8,8,0,0,1-13.66,5.66L140,127.31,69.66,197.66a8,8,0,0,1-11.32-11.32L128.69,116,82.34,69.66A8,8,0,0,1,88,56H192A8,8,0,0,1,200,64Z\"></path>"), g = p.from_svg("<line x1=\"64\" y1=\"192\" x2=\"192\" y2=\"64\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"16\"></line><polyline points=\"88 64 192 64 192 168\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"16\"></polyline>", 1), _ = p.from_svg("<svg aria-hidden=\"true\" viewBox=\"0 0 256 256\" fill=\"currentColor\" xmlns=\"http://www.w3.org/2000/svg\"><!></svg>");
15
+ function v(e, t) {
16
+ p.push(t, !0);
17
+ let n = p.prop(t, "size", 3, "24"), r = p.prop(t, "color", 3, "currentColor"), i = p.prop(t, "class", 3, ""), a = c(), o = p.derived(() => t.weight ?? a?.weight ?? "regular");
18
+ var s = _();
19
+ let l;
20
+ var u = p.child(s), d = (e) => {
21
+ var t = h();
22
+ p.append(e, t);
23
+ }, f = (e) => {
24
+ var t = g();
25
+ p.next(), p.append(e, t);
26
+ };
27
+ p.if(u, (e) => {
28
+ p.get(o) === "fill" ? e(d) : e(f, -1);
29
+ }), p.reset(s), p.template_effect(() => {
30
+ p.set_class(s, 0, p.clsx(i())), p.set_attribute(s, "width", n()), p.set_attribute(s, "height", n()), l = p.set_style(s, "", l, { color: r() === "currentColor" ? void 0 : r() });
31
+ }), p.append(e, s), p.pop();
32
+ }
33
+ //#endregion
34
+ //#region node_modules/@getmicdrop/svelte-components/dist/primitives/Checkbox/Checkbox.svelte
35
+ var ee = p.from_html("<span class=\"type-body tone-primary\"><!></span>"), y = p.from_html("<label><input type=\"checkbox\"/> <!></label>");
36
+ function b(e, t) {
37
+ p.push(t, !0);
38
+ let n = p.prop(t, "checked", 15, !1), r = p.prop(t, "indeterminate", 3, !1), i = p.prop(t, "value", 3, ""), a = p.prop(t, "name", 3, ""), o = p.prop(t, "disabled", 3, !1), s = p.prop(t, "color", 3, "blue"), c = p.prop(t, "class", 3, ""), l = p.prop(t, "align", 3, "center"), u = p.state(void 0);
39
+ p.user_effect(() => {
40
+ p.get(u) && (p.get(u).indeterminate = r());
41
+ });
42
+ function d() {
43
+ t.onchange?.({
44
+ checked: n(),
45
+ value: i()
46
+ });
47
+ }
48
+ let f = {
49
+ blue: "text-brand-primary",
50
+ red: "text-accent-danger",
51
+ green: "text-accent-success",
52
+ purple: "text-brand-primary",
53
+ orange: "text-accent-warning",
54
+ yellow: "text-accent-warning"
55
+ }, m = p.derived(() => f[s()] || f.blue), h = p.derived(() => [
56
+ "w-4 h-4 shrink-0 rounded",
57
+ "border-stroke-primary",
58
+ "not-checked:not-indeterminate:bg-transparent",
59
+ "focus:outline-none focus:ring-0 focus:ring-offset-0 focus:shadow-none focus-visible:outline-none",
60
+ p.get(m),
61
+ o() ? "cursor-not-allowed opacity-50" : "cursor-pointer"
62
+ ].join(" "));
63
+ var g = y(), _ = p.child(g);
64
+ p.remove_input_defaults(_), p.bind_this(_, (e) => p.set(u, e), () => p.get(u));
65
+ var v, b = p.sibling(_, 2), x = (e) => {
66
+ var n = ee(), r = p.child(n);
67
+ p.snippet(r, () => t.children), p.reset(n), p.append(e, n);
68
+ };
69
+ p.if(b, (e) => {
70
+ t.children && e(x);
71
+ }), p.reset(g), p.template_effect(() => {
72
+ p.set_class(g, 1, `inline-flex ${l() === "start" ? "items-start" : "items-center"} gap-2 ${o() ? "cursor-not-allowed" : "cursor-pointer"} select-none ${c() ?? ""}`), p.set_attribute(g, "id", t.id), p.set_attribute(_, "name", a()), _.disabled = o(), p.set_attribute(_, "aria-label", t["aria-label"]), p.set_attribute(_, "aria-labelledby", t["aria-labelledby"]), p.set_attribute(_, "aria-describedby", t["aria-describedby"]), p.set_attribute(_, "data-testid", t["data-testid"]), p.set_class(_, 1, p.clsx(p.get(h))), v !== (v = i()) && (_.value = (_.__value = i()) ?? "");
73
+ }), p.delegated("change", _, d), p.delegated("click", _, function(...e) {
74
+ t.onclick?.apply(this, e);
75
+ }), p.event("focus", _, function(...e) {
76
+ t.onfocus?.apply(this, e);
77
+ }), p.event("blur", _, function(...e) {
78
+ t.onblur?.apply(this, e);
79
+ }), p.delegated("keydown", _, function(...e) {
80
+ t.onkeydown?.apply(this, e);
81
+ }), p.delegated("keyup", _, function(...e) {
82
+ t.onkeyup?.apply(this, e);
83
+ }), p.bind_checked(_, n), p.append(e, g), p.pop();
84
+ }
85
+ p.delegate([
86
+ "change",
87
+ "click",
88
+ "keydown",
89
+ "keyup"
90
+ ]);
91
+ //#endregion
92
+ //#region node_modules/@getmicdrop/svelte-components/dist/a11y/menu-keyboard.js
93
+ var x = "[role=\"menuitem\"], [role=\"menuitemcheckbox\"], [role=\"menuitemradio\"]";
94
+ function S(e) {
95
+ return [...e.querySelectorAll(x)].filter((e) => !e.matches("[disabled], :disabled") && !e.closest("[aria-disabled=\"true\"]"));
96
+ }
97
+ function C(e) {
98
+ let t = document.activeElement;
99
+ return t ? e.findIndex((e) => e === t || e.contains(t)) : -1;
100
+ }
101
+ function w(e) {
102
+ return (e.textContent ?? "").trim().toLowerCase();
103
+ }
104
+ function T(e) {
105
+ return e.key.length === 1 && e.key !== " " && !e.ctrlKey && !e.metaKey && !e.altKey;
106
+ }
107
+ function E(e, t = {}) {
108
+ let n = "", r = 0;
109
+ function i(t, n) {
110
+ let r = t[n];
111
+ for (let t of e.querySelectorAll(x)) t.setAttribute("tabindex", t === r ? "0" : "-1");
112
+ }
113
+ function a(e, t, n) {
114
+ n.preventDefault(), n.stopPropagation(), e[t]?.focus(), i(e, t);
115
+ }
116
+ function o(t) {
117
+ let i = S(e);
118
+ if (i.length === 0) return;
119
+ let o = C(i), s = i.length - 1;
120
+ switch (t.key) {
121
+ case "ArrowDown": return a(i, o < 0 || o === s ? 0 : o + 1, t);
122
+ case "ArrowUp": return a(i, o <= 0 ? s : o - 1, t);
123
+ case "Home": return a(i, 0, t);
124
+ case "End": return a(i, s, t);
125
+ }
126
+ if (!T(t)) return;
127
+ let c = Date.now();
128
+ n = c > r ? t.key.toLowerCase() : n + t.key.toLowerCase(), r = c + 500;
129
+ let l = n.length > 1 && [...n].every((e) => e === n[0]), u = l ? n[0] : n, d = l || n.length === 1 ? o + 1 : o;
130
+ for (let e = 0; e < i.length; e += 1) {
131
+ let n = (d + e + i.length) % i.length;
132
+ if (w(i[n]).startsWith(u)) return a(i, n, t);
133
+ }
134
+ }
135
+ function s() {
136
+ let t = S(e);
137
+ t.length !== 0 && i(t, Math.max(C(t), 0));
138
+ }
139
+ e.addEventListener("keydown", o);
140
+ let c = new MutationObserver(s);
141
+ return c.observe(e, {
142
+ childList: !0,
143
+ subtree: !0,
144
+ attributes: !0,
145
+ attributeFilter: ["disabled", "aria-disabled"]
146
+ }), queueMicrotask(() => {
147
+ s(), t.autoFocus && S(e)[0]?.focus();
148
+ }), { destroy() {
149
+ e.removeEventListener("keydown", o), c.disconnect();
150
+ } };
151
+ }
152
+ //#endregion
153
+ //#region node_modules/@getmicdrop/svelte-components/dist/primitives/Input/Select.svelte
154
+ var te = p.from_html("<li role=\"presentation\"> </li>"), ne = p.from_html("<li role=\"option\"> </li>"), re = p.from_html("<li role=\"separator\" class=\"my-1 border-t border-stroke-primary\"></li> <li role=\"none\"><a> <!></a></li>", 1), ie = p.from_html("<!> <!>", 1), ae = p.from_html("<div class=\"flex justify-start items-center gap-1\"><label> <!></label></div>"), oe = p.from_html("<button type=\"button\" class=\"absolute right-8 top-1/2 -translate-y-1/2 flex items-center justify-center w-11 h-11 p-0 bg-transparent border-none cursor-pointer tone-muted rounded\"><!></button>"), D = p.from_html("<ul class=\"bg-card border border-stroke-primary rounded-lg shadow-lg overflow-y-auto py-1\" role=\"listbox\" tabindex=\"-1\"><!></ul>"), se = p.from_html("<p> </p>"), ce = p.from_html("<div><!> <div class=\"relative w-full\"><button type=\"button\" aria-haspopup=\"listbox\"><span> </span> <!></button> <!> <!></div> <!></div> <!>", 1);
155
+ function O(c, h) {
156
+ let g = p.props_id();
157
+ p.push(h, !0);
158
+ let _ = (e) => {
159
+ var i = ie(), a = p.first_child(i), o = (e) => {
160
+ var i = p.comment(), a = p.first_child(i);
161
+ p.each(a, 17, () => p.get(B), p.index, (e, i) => {
162
+ var a = p.comment(), o = p.first_child(a), s = (e) => {
163
+ var a = te(), o = p.child(a, !0);
164
+ p.reset(a), p.template_effect(() => {
165
+ p.set_class(a, 1, `px-4 pt-2 pb-1 ${n.textMuted} type-caption ${r.emphasis} uppercase ${t.wide}`), p.set_text(o, p.get(i).label);
166
+ }), p.append(e, a);
167
+ }, c = (e) => {
168
+ var t = ne(), n = p.child(t, !0);
169
+ p.reset(t), p.template_effect((e) => {
170
+ p.set_attribute(t, "id", `${p.get(j) ?? ""}-option-${p.get(i).index ?? ""}`), p.set_class(t, 1, e), p.set_attribute(t, "lang", p.get(i).item.lang), p.set_attribute(t, "aria-selected", p.get(i).item.value === y()), p.set_text(n, p.get(i).item.name);
171
+ }, [() => p.clsx(Se(p.get(i).item.value === y(), p.get(i).index === p.get(L)))]), p.delegated("click", t, () => q(p.get(i).item)), p.event("mouseenter", t, () => p.set(L, p.get(i).index, !0)), p.append(e, t);
172
+ };
173
+ p.if(o, (e) => {
174
+ p.get(i).kind === "header" ? e(s) : e(c, -1);
175
+ }), p.append(e, a);
176
+ }), p.append(e, i);
177
+ }, s = (e) => {
178
+ var t = p.comment(), n = p.first_child(t);
179
+ p.each(n, 17, b, p.index, (e, t, n) => {
180
+ var r = ne(), i = p.child(r, !0);
181
+ p.reset(r), p.template_effect((e) => {
182
+ p.set_attribute(r, "id", `${p.get(j) ?? ""}-option-${n}`), p.set_class(r, 1, e), p.set_attribute(r, "lang", p.get(t).lang), p.set_attribute(r, "aria-selected", p.get(t).value === y()), p.set_text(i, p.get(t).name);
183
+ }, [() => p.clsx(Se(p.get(t).value === y(), n === p.get(L)))]), p.delegated("click", r, () => q(p.get(t))), p.event("mouseenter", r, () => p.set(L, n, !0)), p.append(e, r);
184
+ }), p.append(e, t);
185
+ };
186
+ p.if(a, (e) => {
187
+ p.get(B) ? e(o) : e(s, -1);
188
+ });
189
+ var c = p.sibling(a, 2), l = (e) => {
190
+ var t = re(), r = p.sibling(p.first_child(t), 2), i = p.child(r), a = p.child(i);
191
+ v(p.sibling(a), {
192
+ size: "14",
193
+ class: "shrink-0"
194
+ }), p.reset(i), p.bind_this(i, (e) => p.set(I, e), () => p.get(I)), p.reset(r), p.template_effect(() => {
195
+ p.set_attribute(i, "href", h.footerLink.href), p.set_attribute(i, "id", `${p.get(j) ?? ""}-footer-link`), p.set_class(i, 1, `flex items-center gap-1 px-4 py-2 ${n.body} text-brand-primary transition-colors ${p.get(L) === p.get(V) ? "bg-muted" : "hover:bg-muted"}`), p.set_text(a, `${h.footerLink.label ?? ""} `);
196
+ }), p.delegated("click", i, K), p.event("mouseenter", i, () => p.set(L, p.get(V), !0)), p.append(e, t);
197
+ };
198
+ p.if(c, (e) => {
199
+ h.footerLink && e(l);
200
+ }), p.append(e, i);
201
+ }, ee = { clearAll: "Clear all" }, y = p.prop(h, "value", 15, ""), b = p.prop(h, "items", 19, () => []), x = p.prop(h, "placeholder", 3, ""), S = p.prop(h, "label", 3, ""), C = p.prop(h, "ariaLabel", 3, ""), w = p.prop(h, "required", 3, !1), T = p.prop(h, "disabled", 3, !1), E = p.prop(h, "error", 3, ""), O = p.prop(h, "name", 3, ""), le = p.prop(h, "id", 3, g), ue = p.prop(h, "size", 3, "md"), k = p.prop(h, "portal", 3, !1), de = p.prop(h, "clearable", 3, !1), fe = p.prop(h, "labels", 19, () => ({})), pe = p.prop(h, "class", 3, ""), me = p.derived(() => a(ee, fe())), A = p.derived(() => de() && !T() && !!y()), j = p.derived(() => le() || g), M = p.derived(() => `${p.get(j)}-error`), N = p.state(!1), P = p.state(null), F = p.state(null), I = p.state(void 0), L = p.state(-1), R = Math.random().toString(36).substring(2, 9), z = p.derived(() => h.groups ? h.groups.flatMap((e) => e.items) : b()), B = p.derived(() => {
202
+ if (!h.groups) return null;
203
+ let e = [], t = 0;
204
+ for (let n of h.groups) {
205
+ e.push({
206
+ kind: "header",
207
+ label: n.label
208
+ });
209
+ for (let r of n.items) e.push({
210
+ kind: "option",
211
+ item: r,
212
+ index: t++
213
+ });
214
+ }
215
+ return e;
216
+ }), V = p.derived(() => h.footerLink ? p.get(z).length : -1), he = p.derived(() => h.footerLink ? p.get(z).length : p.get(z).length - 1), H = p.derived(() => p.get(z).find((e) => e.value === y())), ge = p.derived(() => p.get(H) ? p.get(H).name : x()), _e = p.derived(() => i[ue()] || i.md);
217
+ function U(e) {
218
+ p.set(N, !0), p.set(L, e, !0), window.dispatchEvent(new CustomEvent("select-opened", { detail: { instanceId: R } }));
219
+ }
220
+ function W() {
221
+ T() || (p.get(N) ? p.set(N, !1) : U(p.get(z).findIndex((e) => e.value === y())));
222
+ }
223
+ p.user_effect(() => {
224
+ !p.get(N) || p.get(L) < 0 || !p.get(F) || (p.get(L) === p.get(V) ? p.get(I) : p.get(F).querySelectorAll("[role=\"option\"]")[p.get(L)])?.scrollIntoView?.({ block: "nearest" });
225
+ });
226
+ function G(e) {
227
+ e.detail.instanceId !== R && p.get(N) && K();
228
+ }
229
+ function K() {
230
+ p.set(N, !1), p.set(L, -1);
231
+ }
232
+ p.user_effect(() => {
233
+ T() && p.get(N) && K();
234
+ });
235
+ function q(e) {
236
+ T() || (y(e.value), h.onchange?.({
237
+ value: e.value,
238
+ item: e
239
+ }), K(), p.get(P)?.focus());
240
+ }
241
+ function ve() {
242
+ T() || (y(""), h.onchange?.({
243
+ value: "",
244
+ item: {
245
+ value: "",
246
+ name: ""
247
+ }
248
+ }), K(), p.get(P)?.focus());
249
+ }
250
+ function ye(t) {
251
+ if (!T()) {
252
+ if (e(t)) {
253
+ t.preventDefault(), p.get(N) && p.get(L) === p.get(V) ? (K(), p.get(I)?.click()) : p.get(N) && p.get(L) >= 0 ? q(p.get(z)[p.get(L)]) : W();
254
+ return;
255
+ }
256
+ switch (t.key) {
257
+ case "ArrowDown":
258
+ t.preventDefault(), p.get(N) ? p.set(L, Math.min(p.get(L) + 1, p.get(he)), !0) : U(0);
259
+ break;
260
+ case "ArrowUp":
261
+ t.preventDefault(), p.get(N) && p.set(L, Math.max(p.get(L) - 1, 0), !0);
262
+ break;
263
+ case "Home":
264
+ if (!p.get(N)) break;
265
+ t.preventDefault(), p.set(L, 0);
266
+ break;
267
+ case "End":
268
+ if (!p.get(N)) break;
269
+ t.preventDefault(), p.set(L, p.get(z).length - 1);
270
+ break;
271
+ case "Escape":
272
+ if (!p.get(N)) break;
273
+ t.preventDefault(), K();
274
+ break;
275
+ case "Tab":
276
+ K();
277
+ break;
278
+ default: p.get(N) && xe(t);
279
+ }
280
+ }
281
+ }
282
+ p.user_effect(() => {
283
+ !p.get(N) || p.get(L) < 0 || p.get(F)?.querySelectorAll("[role=\"option\"]")[p.get(L)]?.scrollIntoView?.({ block: "nearest" });
284
+ });
285
+ let J = "", be = 0;
286
+ function xe(e) {
287
+ if (!/^\S$/u.test(e.key) || e.ctrlKey || e.metaKey || e.altKey) return;
288
+ let t = Date.now();
289
+ J = t > be ? e.key.toLowerCase() : J + e.key.toLowerCase(), be = t + 500;
290
+ let n = J.length > 1 && [...J].every((e) => e === J[0]), r = n ? J[0] : J, i = n || J.length === 1 ? p.get(L) + 1 : Math.max(p.get(L), 0);
291
+ for (let t = 0; t < p.get(z).length; t += 1) {
292
+ let n = (i + t + p.get(z).length) % p.get(z).length;
293
+ if (String(p.get(z)[n].name).trim().toLowerCase().startsWith(r)) {
294
+ e.preventDefault(), p.set(L, n);
295
+ return;
296
+ }
297
+ }
298
+ }
299
+ function Se(e, t) {
300
+ let i = e ? "bg-menu-selected" : t ? "bg-muted" : "hover:bg-muted";
301
+ return `px-4 py-2 cursor-pointer ${n.body} tone-primary transition-colors ${e ? r.emphasis : ""} ${i}`;
302
+ }
303
+ function Ce(e) {
304
+ if (!p.get(N)) return;
305
+ let t = p.get(P) && !p.get(P).contains(e.target), n = !p.get(F) || !p.get(F).contains(e.target);
306
+ t && n && K();
307
+ }
308
+ m(() => (document.addEventListener("click", Ce, !0), window.addEventListener("select-opened", G), () => {
309
+ document.removeEventListener("click", Ce, !0), window.removeEventListener("select-opened", G);
310
+ }));
311
+ var we = ce(), Y = p.first_child(we), Te = p.child(Y), Ee = (e) => {
312
+ var t = ae(), r = p.child(t), i = p.child(r, !0), a = p.sibling(i);
313
+ f(a, { get required() {
314
+ return w();
315
+ } }), p.reset(r), p.reset(t), p.template_effect(() => {
316
+ p.set_attribute(r, "for", p.get(j)), p.set_class(r, 1, `${n.caption} tone-secondary ${E() ? "text-status-error-text" : ""}`), p.set_text(i, S());
317
+ }), p.append(e, t);
318
+ };
319
+ p.if(Te, (e) => {
320
+ S() && e(Ee);
321
+ });
322
+ var X = p.sibling(Te, 2), Z = p.child(X), Q = p.child(Z), De = p.child(Q, !0);
323
+ p.reset(Q);
324
+ var Oe = p.sibling(Q, 2);
325
+ {
326
+ let e = p.derived(() => n.iconMuted), t = p.derived(() => p.get(N) ? "rotate-180" : "");
327
+ o(Oe, { get class() {
328
+ return `w-4 h-4 shrink-0 ${p.get(e) ?? ""} transition-transform duration-fast ${p.get(t) ?? ""}`;
329
+ } });
330
+ }
331
+ p.reset(Z), p.bind_this(Z, (e) => p.set(P, e), () => p.get(P));
332
+ var $ = p.sibling(Z, 2), ke = (e) => {
333
+ var t = oe(), n = p.child(t);
334
+ s(n, { class: "w-3.5 h-3.5" }), p.reset(t), p.template_effect(() => p.set_attribute(t, "aria-label", p.get(me).clearAll)), p.delegated("click", t, ve), p.append(e, t);
335
+ };
336
+ p.if($, (e) => {
337
+ p.get(A) && e(ke);
338
+ });
339
+ var Ae = p.sibling($, 2), je = (e) => {
340
+ var t = D(), n = p.child(t);
341
+ _(n), p.reset(t), p.bind_this(t, (e) => p.set(F, e), () => p.get(F)), p.action(t, (e, t) => d?.(e, t), () => ({
342
+ reference: p.get(P),
343
+ matchWidth: !0,
344
+ maxHeight: 250
345
+ })), p.transition(3, t, () => l, () => ({ origin: "top left" })), p.append(e, t);
346
+ };
347
+ p.if(Ae, (e) => {
348
+ p.get(N) && !k() && e(je);
349
+ }), p.reset(X);
350
+ var Me = p.sibling(X, 2), Ne = (e) => {
351
+ var t = se(), r = p.child(t, !0);
352
+ p.reset(t), p.template_effect(() => {
353
+ p.set_attribute(t, "id", p.get(M)), p.set_class(t, 1, p.clsx(n.error)), p.set_text(r, E());
354
+ }), p.append(e, t);
355
+ };
356
+ p.if(Me, (e) => {
357
+ E() && e(Ne);
358
+ }), p.reset(Y);
359
+ var Pe = p.sibling(Y, 2), Fe = (e) => {
360
+ var t = D(), n = p.child(t);
361
+ _(n), p.reset(t), p.bind_this(t, (e) => p.set(F, e), () => p.get(F)), p.action(t, (e, t) => d?.(e, t), () => ({
362
+ reference: p.get(P),
363
+ matchWidth: !0,
364
+ maxHeight: 250,
365
+ layer: "modalContent"
366
+ })), p.action(t, (e) => u?.(e)), p.transition(3, t, () => l, () => ({ origin: "top left" })), p.append(e, t);
367
+ };
368
+ p.if(Pe, (e) => {
369
+ p.get(N) && k() && e(Fe);
370
+ }), p.template_effect((e) => {
371
+ p.set_class(Y, 1, `w-full flex flex-col gap-1 ${pe() ?? ""}`), p.set_attribute(Z, "id", p.get(j)), p.set_attribute(Z, "name", O()), p.set_class(Z, 1, `flex items-center justify-between w-full ${p.get(_e) ?? ""} bg-bg-secondary border rounded-lg cursor-pointer transition-colors text-left focus:outline-hidden ${E() ? "border-status-error-border" : "border-stroke-primary hover:border-interactive-border"} ${T() ? "opacity-50 cursor-not-allowed" : ""} ${p.get(H) ? `${n.body} tone-primary` : `${n.textMuted}`}`), Z.disabled = T(), p.set_attribute(Z, "aria-label", C() || S() || void 0), p.set_attribute(Z, "aria-expanded", p.get(N)), p.set_attribute(Z, "aria-required", w()), p.set_attribute(Z, "aria-invalid", e), p.set_attribute(Z, "aria-describedby", E() ? p.get(M) : void 0), p.set_attribute(Z, "data-testid", h["data-testid"]), p.set_attribute(Q, "lang", p.get(H)?.lang), p.set_class(Q, 1, `flex-1 overflow-hidden text-ellipsis whitespace-nowrap${p.get(A) ? " mr-11" : ""}`), p.set_text(De, p.get(ge));
372
+ }, [() => !!E()]), p.delegated("click", Z, W), p.delegated("keydown", Z, ye), p.append(c, we), p.pop();
373
+ }
374
+ p.delegate(["click", "keydown"]);
375
+ //#endregion
376
+ export { E as n, b as r, O as t };
@@ -1,6 +1,6 @@
1
- import { t as e } from "./Event-Cqx8TF2r.js";
1
+ import { t as e } from "./Event-DTJ0vZr1.js";
2
2
  import { g as t } from "./sizing-CFDo_qh_.js";
3
- import { a as n } from "./RecommendationsRail-Bd_HV1Ou.js";
3
+ import { a as n } from "./RecommendationsRail-D9S_5rVW.js";
4
4
  import { t as r } from "./__SKIP_NAVIGATION__-AOx8SI54.js";
5
5
  import { t as i } from "./__SKIP_PATHS__-C0ixDSSm.js";
6
6
  import "svelte/internal/disclose-version";
@@ -4,7 +4,7 @@ import { t as a } from "./ArrowLeftIcon-B2NmxWA9.js";
4
4
  import { t as o } from "./CalendarIcon-3jHpw2aE.js";
5
5
  import { t as s } from "./ChevronDownIcon-Dp1MGPEN.js";
6
6
  import { n as c, t as l } from "./MailIcon-COatZ9tD.js";
7
- import { n as u, o as d, r as f, t as p } from "./RecommendationsRail-Bd_HV1Ou.js";
7
+ import { n as u, o as d, r as f, t as p } from "./RecommendationsRail-D9S_5rVW.js";
8
8
  import { n as m } from "./copyToClipboard-CIu22_xq.js";
9
9
  import { A as h, L as g, V as _, j as v, z as y } from "./defaultLabels-DdcEwzXA.js";
10
10
  import { t as b } from "./Button-CsbNNvbX.js";
@@ -13,11 +13,11 @@ import { B as D, _ as O, g as k } from "./api-BX4Imu-R.js";
13
13
  import { n as A, t as j } from "./Heading-pESM-crl.js";
14
14
  import { t as M } from "./Text-CqjLjIF8.js";
15
15
  import { c as N, r as ee } from "./pixels-DziDyEAP.js";
16
- import { i as P, n as F, t as I } from "./i18n-CfXVv1y8.js";
16
+ import { i as P, n as F, t as I } from "./i18n-DLFy3vxe.js";
17
17
  import { n as L, t as R } from "./i18n-CmoV3PXL.js";
18
18
  import { t as z } from "./__SKIP_PATHS__-C0ixDSSm.js";
19
19
  import { C as B, d as V, l as te, n as H } from "./utils-C15ZjLiK.js";
20
- import { n as U, t as ne } from "./constants-DWS8C09a.js";
20
+ import { n as U, t as ne } from "./constants-CBPzJAKF.js";
21
21
  import { a as W, i as G, n as re, o as ie, r as K, s as q } from "./showcase-state-options-b-ZsraRp.js";
22
22
  import { n as ae, t as oe } from "./buyerEmail-BfCq-gDt.js";
23
23
  import { r as J } from "./defaults-DlDhWxIS.js";
@@ -1,4 +1,28 @@
1
1
  import { Venue } from '../types.js';
2
+ /**
3
+ * Venue Transformer
4
+ *
5
+ * Normalizes API venue responses to a consistent format.
6
+ *
7
+ * Wire->domain boundary: one parseVenue(raw: unknown) entry point.
8
+ * The wire field shape (ApiVenue) is named only inside this module and never
9
+ * escapes it. Above the boundary only the Venue domain type.
10
+ *
11
+ * IMPLEMENTATION NOTE -- why no Zod schema here:
12
+ * The old mapper used `||` for id/name (0 falls through) and `??` for fee fields
13
+ * (0 fee is a real value, must NOT fall through). Both operators replicated verbatim.
14
+ * Throw behavior is identical to the old mapper: null/undefined input (property access on a nullish value) throws exactly
15
+ * as the old code did. Callers always pass real wire objects.
16
+ */
17
+ /**
18
+ * HOW a buyer answers the venue's custom checkout question (MIC-141) — not what
19
+ * it asks.
20
+ *
21
+ * 'text' a free-text input. What every venue has today.
22
+ * 'lineup' a pick from THIS show's performer list, which is what makes
23
+ * "Who are you here to see?" into data an operator can count.
24
+ */
25
+ type CheckoutQuestionType = 'text' | 'lineup';
2
26
  /**
3
27
  * Parse a raw venue payload into the normalized Venue domain shape.
4
28
  *
@@ -75,5 +99,7 @@ declare function vcExtractVenueCheckoutSettings(raw: unknown): {
75
99
  hasCustomCheckout: boolean;
76
100
  requiredCustomCheckout: boolean;
77
101
  questionPrompt: string | undefined;
102
+ selectedQuestionType: CheckoutQuestionType;
78
103
  };
104
+ export type { CheckoutQuestionType };
79
105
  export { vcExtractVenueFees as extractVenueFees, vcExtractVenueCheckoutSettings as extractVenueCheckoutSettings, vcFormatVenueAddress as formatVenueAddress, };
@@ -108,6 +108,8 @@ var e = {
108
108
  emailInvalid: "Enter a valid email address",
109
109
  phoneRequired: "Phone number is required",
110
110
  questionAnswerRequired: "An answer is required",
111
+ chooseFromLineup: "Choose from the lineup",
112
+ someoneElse: "Someone else",
111
113
  emailInvalidShort: "Enter a valid email",
112
114
  cardNumberRequired: "Card number is required",
113
115
  expiryRequired: "Expiry date is required",
@@ -102,6 +102,8 @@ var e = {
102
102
  emailRequired: "E-Mail-Adresse ist erforderlich",
103
103
  phoneRequired: "Telefonnummer ist erforderlich",
104
104
  questionAnswerRequired: "Eine Antwort ist erforderlich",
105
+ chooseFromLineup: "Aus dem Line-up wählen",
106
+ someoneElse: "Jemand anderes",
105
107
  emailInvalid: "Bitte gib eine gültige E-Mail-Adresse ein",
106
108
  emailInvalidShort: "Gültige E-Mail eingeben",
107
109
  cardNumberRequired: "Kartennummer ist erforderlich",