@gomusdev/web-components 1.39.3 → 1.39.5

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.
@@ -12781,7 +12781,7 @@ class PersonalizationDetails {
12781
12781
  const KEY$4 = "go-annual-ticket-personalization";
12782
12782
  const setPersonalizationDetails = createSetDetails(KEY$4);
12783
12783
  var root_3$8 = /* @__PURE__ */ from_html(`<li><a> </a></li>`);
12784
- var root_2$r = /* @__PURE__ */ from_html(`<ul class="go-annual-ticket"><li class="go-annual-ticket-title"> </li> <li class="go-annual-ticket-personalization-count"> </li> <!></ul>`);
12784
+ var root_2$q = /* @__PURE__ */ from_html(`<ul class="go-annual-ticket"><li class="go-annual-ticket-title"> </li> <li class="go-annual-ticket-personalization-count"> </li> <!></ul>`);
12785
12785
  function AnnualTicketPersonalization($$anchor, $$props) {
12786
12786
  push($$props, true);
12787
12787
  let token = prop($$props, "token", 7);
@@ -12808,7 +12808,7 @@ function AnnualTicketPersonalization($$anchor, $$props) {
12808
12808
  var fragment_1 = comment();
12809
12809
  var node_1 = first_child(fragment_1);
12810
12810
  each(node_1, 17, () => get$2(order).ticket_sales, (ticketSale) => ticketSale.id, ($$anchor3, ticketSale) => {
12811
- var ul = root_2$r();
12811
+ var ul = root_2$q();
12812
12812
  var li = child(ul);
12813
12813
  var text2 = child(li, true);
12814
12814
  reset(li);
@@ -16338,7 +16338,7 @@ class FormDetails {
16338
16338
  return;
16339
16339
  }
16340
16340
  for (const [key, value] of Object.entries(errors2)) {
16341
- if (key === "full_messages ") continue;
16341
+ if (key === "full_messages") continue;
16342
16342
  if (key === "success") continue;
16343
16343
  if (key === "errors") continue;
16344
16344
  const field = this.fields.find((f) => f.apiKey === key);
@@ -16680,7 +16680,7 @@ function Event$2($$anchor, $$props) {
16680
16680
  return pop($$exports);
16681
16681
  }
16682
16682
  create_custom_element(Event$2, { cartItem: {} }, [], [], { mode: "open" });
16683
- var root_2$q = /* @__PURE__ */ from_html(`<span class="go-cart-item-time" data-testid="cart-item-time"> </span>`);
16683
+ var root_2$p = /* @__PURE__ */ from_html(`<span class="go-cart-item-time" data-testid="cart-item-time"> </span>`);
16684
16684
  var root_1$g = /* @__PURE__ */ from_html(`<span class="go-cart-item-date" data-testid="cart-item-date"> </span> <!>`, 1);
16685
16685
  var root$8 = /* @__PURE__ */ from_html(`<li data-go-cart-item-title=""><span class="go-cart-item-title" data-testid="cart-item-title"> </span> <!></li>`);
16686
16686
  function Ticket($$anchor, $$props) {
@@ -16709,7 +16709,7 @@ function Ticket($$anchor, $$props) {
16709
16709
  var node_1 = sibling(span_1, 2);
16710
16710
  {
16711
16711
  var consequent = ($$anchor3) => {
16712
- var span_2 = root_2$q();
16712
+ var span_2 = root_2$p();
16713
16713
  var text_2 = child(span_2, true);
16714
16714
  reset(span_2);
16715
16715
  template_effect(($0) => set_text(text_2, $0), [() => formatTime(cartItem().time)]);
@@ -16734,10 +16734,10 @@ function Ticket($$anchor, $$props) {
16734
16734
  return pop($$exports);
16735
16735
  }
16736
16736
  create_custom_element(Ticket, { cartItem: {} }, [], [], { mode: "open" });
16737
- var root_2$p = /* @__PURE__ */ from_html(`<li class="go-cart-header-remove" data-go-cart-header-remove=""></li>`);
16738
- var root_7$4 = /* @__PURE__ */ from_html(`<li class="go-cart-item-remove" data-go-cart-item-remove=""><button>⨉</button></li>`);
16737
+ var root_2$o = /* @__PURE__ */ from_html(`<li class="go-cart-header-remove" data-go-cart-header-remove=""></li>`);
16738
+ var root_7$3 = /* @__PURE__ */ from_html(`<li class="go-cart-item-remove" data-go-cart-item-remove=""><button>⨉</button></li>`);
16739
16739
  var root_3$7 = /* @__PURE__ */ from_html(`<li class="go-cart-item" data-go-cart-item=""><article><ul><!> <li class="go-cart-item-price" data-go-cart-item-price=""> </li> <li class="go-cart-item-count" data-go-cart-item-count=""> </li> <!> <li class="go-cart-item-sum" data-go-cart-item-sum=""> </li></ul></article></li>`);
16740
- var root_8$1 = /* @__PURE__ */ from_html(`<li class="go-cart-footer-remove" data-go-cart-footer-remove=""></li>`);
16740
+ var root_8$2 = /* @__PURE__ */ from_html(`<li class="go-cart-footer-remove" data-go-cart-footer-remove=""></li>`);
16741
16741
  var root_1$f = /* @__PURE__ */ from_html(`<ol data-testid="cart"><li class="go-cart-header" data-go-cart-header="" data-testid="cart-header"><ul><li class="go-cart-header-title" data-go-cart-header-title=""> </li> <li class="go-cart-header-price" data-go-cart-header-price=""> </li> <li class="go-cart-header-count" data-go-cart-header-count=""> </li> <!> <li class="go-cart-header-sum" data-go-cart-header-sum=""> </li></ul></li> <!> <li class="go-cart-footer" data-go-cart-footer="" data-testid="cart-footer"><ul><li class="go-cart-footer-title" data-go-cart-footer-title=""></li> <li class="go-cart-footer-price" data-go-cart-footer-price=""></li> <li class="go-cart-footer-count" data-go-cart-footer-count=""></li> <!> <li class="go-cart-footer-sum" data-go-cart-footer-sum="" data-go-cart-sum=""> </li></ul></li></ol>`);
16742
16742
  function Cart($$anchor, $$props) {
16743
16743
  push($$props, true);
@@ -16771,7 +16771,7 @@ function Cart($$anchor, $$props) {
16771
16771
  var node_1 = sibling(li_3, 2);
16772
16772
  {
16773
16773
  var consequent = ($$anchor3) => {
16774
- var li_4 = root_2$p();
16774
+ var li_4 = root_2$o();
16775
16775
  append($$anchor3, li_4);
16776
16776
  };
16777
16777
  if_block(node_1, ($$render) => {
@@ -16832,7 +16832,7 @@ function Cart($$anchor, $$props) {
16832
16832
  var node_5 = sibling(li_8, 2);
16833
16833
  {
16834
16834
  var consequent_3 = ($$anchor4) => {
16835
- var li_9 = root_7$4();
16835
+ var li_9 = root_7$3();
16836
16836
  var button = child(li_9);
16837
16837
  button.__click = () => get$2(cart).deleteItem(get$2(cartItem));
16838
16838
  reset(li_9);
@@ -16861,7 +16861,7 @@ function Cart($$anchor, $$props) {
16861
16861
  var node_6 = sibling(child(ul_2), 6);
16862
16862
  {
16863
16863
  var consequent_4 = ($$anchor3) => {
16864
- var li_12 = root_8$1();
16864
+ var li_12 = root_8$2();
16865
16865
  append($$anchor3, li_12);
16866
16866
  };
16867
16867
  if_block(node_6, ($$render) => {
@@ -21898,7 +21898,7 @@ class CalendarHeaderState {
21898
21898
  set(this.#props, value);
21899
21899
  }
21900
21900
  }
21901
- var root_2$o = /* @__PURE__ */ from_html(`<div><!></div>`);
21901
+ var root_2$n = /* @__PURE__ */ from_html(`<div><!></div>`);
21902
21902
  function Calendar$1($$anchor, $$props) {
21903
21903
  push($$props, true);
21904
21904
  let child$1 = prop($$props, "child", 7), children = prop($$props, "children", 7), id = prop($$props, "id", 23, useId), ref = prop($$props, "ref", 15, null), value = prop($$props, "value", 15), onValueChange = prop($$props, "onValueChange", 7, noop), placeholder = prop($$props, "placeholder", 15), onPlaceholderChange = prop($$props, "onPlaceholderChange", 7, noop), weekdayFormat = prop($$props, "weekdayFormat", 7, "narrow"), weekStartsOn = prop($$props, "weekStartsOn", 7), pagedNavigation = prop($$props, "pagedNavigation", 7, false), isDateDisabled = prop($$props, "isDateDisabled", 7, () => false), isDateUnavailable = prop($$props, "isDateUnavailable", 7, () => false), fixedWeeks = prop($$props, "fixedWeeks", 7, false), numberOfMonths = prop($$props, "numberOfMonths", 7, 1), locale = prop($$props, "locale", 7), calendarLabel = prop($$props, "calendarLabel", 7, "Event"), disabled = prop($$props, "disabled", 7, false), readonly2 = prop($$props, "readonly", 7, false), minValue = prop($$props, "minValue", 7, void 0), maxValue = prop($$props, "maxValue", 7, void 0), preventDeselect = prop($$props, "preventDeselect", 7, false), type = prop($$props, "type", 7), disableDaysOutsideMonth = prop($$props, "disableDaysOutsideMonth", 7, true), initialFocus = prop($$props, "initialFocus", 7, false), maxDays = prop($$props, "maxDays", 7), monthFormat = prop($$props, "monthFormat", 7, "long"), yearFormat = prop($$props, "yearFormat", 7, "numeric"), restProps = /* @__PURE__ */ rest_props($$props, [
@@ -22201,7 +22201,7 @@ function Calendar$1($$anchor, $$props) {
22201
22201
  append($$anchor2, fragment_1);
22202
22202
  };
22203
22203
  var alternate = ($$anchor2) => {
22204
- var div = root_2$o();
22204
+ var div = root_2$n();
22205
22205
  attribute_effect(div, () => ({ ...get$2(mergedProps) }));
22206
22206
  var node_2 = child(div);
22207
22207
  snippet(node_2, () => children() ?? noop$1, () => rootState.snippetProps);
@@ -22252,7 +22252,7 @@ create_custom_element(
22252
22252
  [],
22253
22253
  { mode: "open" }
22254
22254
  );
22255
- var root_2$n = /* @__PURE__ */ from_html(`<div><!></div>`);
22255
+ var root_2$m = /* @__PURE__ */ from_html(`<div><!></div>`);
22256
22256
  function Calendar_day($$anchor, $$props) {
22257
22257
  const uid = props_id();
22258
22258
  push($$props, true);
@@ -22314,7 +22314,7 @@ function Calendar_day($$anchor, $$props) {
22314
22314
  append($$anchor2, fragment_1);
22315
22315
  };
22316
22316
  var alternate_1 = ($$anchor2) => {
22317
- var div = root_2$n();
22317
+ var div = root_2$m();
22318
22318
  attribute_effect(div, () => ({ ...get$2(mergedProps) }));
22319
22319
  var node_2 = child(div);
22320
22320
  {
@@ -22346,7 +22346,7 @@ function Calendar_day($$anchor, $$props) {
22346
22346
  return pop($$exports);
22347
22347
  }
22348
22348
  create_custom_element(Calendar_day, { children: {}, child: {}, ref: {}, id: {} }, [], [], { mode: "open" });
22349
- var root_2$m = /* @__PURE__ */ from_html(`<table><!></table>`);
22349
+ var root_2$l = /* @__PURE__ */ from_html(`<table><!></table>`);
22350
22350
  function Calendar_grid($$anchor, $$props) {
22351
22351
  const uid = props_id();
22352
22352
  push($$props, true);
@@ -22405,7 +22405,7 @@ function Calendar_grid($$anchor, $$props) {
22405
22405
  append($$anchor2, fragment_1);
22406
22406
  };
22407
22407
  var alternate = ($$anchor2) => {
22408
- var table = root_2$m();
22408
+ var table = root_2$l();
22409
22409
  attribute_effect(table, () => ({ ...get$2(mergedProps) }));
22410
22410
  var node_2 = child(table);
22411
22411
  snippet(node_2, () => children() ?? noop$1);
@@ -22421,7 +22421,7 @@ function Calendar_grid($$anchor, $$props) {
22421
22421
  return pop($$exports);
22422
22422
  }
22423
22423
  create_custom_element(Calendar_grid, { children: {}, child: {}, ref: {}, id: {} }, [], [], { mode: "open" });
22424
- var root_2$l = /* @__PURE__ */ from_html(`<tbody><!></tbody>`);
22424
+ var root_2$k = /* @__PURE__ */ from_html(`<tbody><!></tbody>`);
22425
22425
  function Calendar_grid_body($$anchor, $$props) {
22426
22426
  const uid = props_id();
22427
22427
  push($$props, true);
@@ -22480,7 +22480,7 @@ function Calendar_grid_body($$anchor, $$props) {
22480
22480
  append($$anchor2, fragment_1);
22481
22481
  };
22482
22482
  var alternate = ($$anchor2) => {
22483
- var tbody = root_2$l();
22483
+ var tbody = root_2$k();
22484
22484
  attribute_effect(tbody, () => ({ ...get$2(mergedProps) }));
22485
22485
  var node_2 = child(tbody);
22486
22486
  snippet(node_2, () => children() ?? noop$1);
@@ -22496,7 +22496,7 @@ function Calendar_grid_body($$anchor, $$props) {
22496
22496
  return pop($$exports);
22497
22497
  }
22498
22498
  create_custom_element(Calendar_grid_body, { children: {}, child: {}, ref: {}, id: {} }, [], [], { mode: "open" });
22499
- var root_2$k = /* @__PURE__ */ from_html(`<td><!></td>`);
22499
+ var root_2$j = /* @__PURE__ */ from_html(`<td><!></td>`);
22500
22500
  function Calendar_cell($$anchor, $$props) {
22501
22501
  const uid = props_id();
22502
22502
  push($$props, true);
@@ -22576,7 +22576,7 @@ function Calendar_cell($$anchor, $$props) {
22576
22576
  append($$anchor2, fragment_1);
22577
22577
  };
22578
22578
  var alternate = ($$anchor2) => {
22579
- var td = root_2$k();
22579
+ var td = root_2$j();
22580
22580
  attribute_effect(td, () => ({ ...get$2(mergedProps) }));
22581
22581
  var node_2 = child(td);
22582
22582
  snippet(node_2, () => children() ?? noop$1, () => cellState.snippetProps);
@@ -22605,7 +22605,7 @@ create_custom_element(
22605
22605
  [],
22606
22606
  { mode: "open" }
22607
22607
  );
22608
- var root_2$j = /* @__PURE__ */ from_html(`<thead><!></thead>`);
22608
+ var root_2$i = /* @__PURE__ */ from_html(`<thead><!></thead>`);
22609
22609
  function Calendar_grid_head($$anchor, $$props) {
22610
22610
  const uid = props_id();
22611
22611
  push($$props, true);
@@ -22664,7 +22664,7 @@ function Calendar_grid_head($$anchor, $$props) {
22664
22664
  append($$anchor2, fragment_1);
22665
22665
  };
22666
22666
  var alternate = ($$anchor2) => {
22667
- var thead = root_2$j();
22667
+ var thead = root_2$i();
22668
22668
  attribute_effect(thead, () => ({ ...get$2(mergedProps) }));
22669
22669
  var node_2 = child(thead);
22670
22670
  snippet(node_2, () => children() ?? noop$1);
@@ -22680,7 +22680,7 @@ function Calendar_grid_head($$anchor, $$props) {
22680
22680
  return pop($$exports);
22681
22681
  }
22682
22682
  create_custom_element(Calendar_grid_head, { children: {}, child: {}, ref: {}, id: {} }, [], [], { mode: "open" });
22683
- var root_2$i = /* @__PURE__ */ from_html(`<th><!></th>`);
22683
+ var root_2$h = /* @__PURE__ */ from_html(`<th><!></th>`);
22684
22684
  function Calendar_head_cell($$anchor, $$props) {
22685
22685
  const uid = props_id();
22686
22686
  push($$props, true);
@@ -22739,7 +22739,7 @@ function Calendar_head_cell($$anchor, $$props) {
22739
22739
  append($$anchor2, fragment_1);
22740
22740
  };
22741
22741
  var alternate = ($$anchor2) => {
22742
- var th = root_2$i();
22742
+ var th = root_2$h();
22743
22743
  attribute_effect(th, () => ({ ...get$2(mergedProps) }));
22744
22744
  var node_2 = child(th);
22745
22745
  snippet(node_2, () => children() ?? noop$1);
@@ -22755,7 +22755,7 @@ function Calendar_head_cell($$anchor, $$props) {
22755
22755
  return pop($$exports);
22756
22756
  }
22757
22757
  create_custom_element(Calendar_head_cell, { children: {}, child: {}, ref: {}, id: {} }, [], [], { mode: "open" });
22758
- var root_2$h = /* @__PURE__ */ from_html(`<tr><!></tr>`);
22758
+ var root_2$g = /* @__PURE__ */ from_html(`<tr><!></tr>`);
22759
22759
  function Calendar_grid_row($$anchor, $$props) {
22760
22760
  const uid = props_id();
22761
22761
  push($$props, true);
@@ -22814,7 +22814,7 @@ function Calendar_grid_row($$anchor, $$props) {
22814
22814
  append($$anchor2, fragment_1);
22815
22815
  };
22816
22816
  var alternate = ($$anchor2) => {
22817
- var tr = root_2$h();
22817
+ var tr = root_2$g();
22818
22818
  attribute_effect(tr, () => ({ ...get$2(mergedProps) }));
22819
22819
  var node_2 = child(tr);
22820
22820
  snippet(node_2, () => children() ?? noop$1);
@@ -22830,7 +22830,7 @@ function Calendar_grid_row($$anchor, $$props) {
22830
22830
  return pop($$exports);
22831
22831
  }
22832
22832
  create_custom_element(Calendar_grid_row, { children: {}, child: {}, ref: {}, id: {} }, [], [], { mode: "open" });
22833
- var root_2$g = /* @__PURE__ */ from_html(`<header><!></header>`);
22833
+ var root_2$f = /* @__PURE__ */ from_html(`<header><!></header>`);
22834
22834
  function Calendar_header($$anchor, $$props) {
22835
22835
  const uid = props_id();
22836
22836
  push($$props, true);
@@ -22889,7 +22889,7 @@ function Calendar_header($$anchor, $$props) {
22889
22889
  append($$anchor2, fragment_1);
22890
22890
  };
22891
22891
  var alternate = ($$anchor2) => {
22892
- var header = root_2$g();
22892
+ var header = root_2$f();
22893
22893
  attribute_effect(header, () => ({ ...get$2(mergedProps) }));
22894
22894
  var node_2 = child(header);
22895
22895
  snippet(node_2, () => children() ?? noop$1);
@@ -22905,7 +22905,7 @@ function Calendar_header($$anchor, $$props) {
22905
22905
  return pop($$exports);
22906
22906
  }
22907
22907
  create_custom_element(Calendar_header, { children: {}, child: {}, ref: {}, id: {} }, [], [], { mode: "open" });
22908
- var root_2$f = /* @__PURE__ */ from_html(`<div><!></div>`);
22908
+ var root_2$e = /* @__PURE__ */ from_html(`<div><!></div>`);
22909
22909
  function Calendar_heading($$anchor, $$props) {
22910
22910
  const uid = props_id();
22911
22911
  push($$props, true);
@@ -22967,7 +22967,7 @@ function Calendar_heading($$anchor, $$props) {
22967
22967
  append($$anchor2, fragment_1);
22968
22968
  };
22969
22969
  var alternate_1 = ($$anchor2) => {
22970
- var div = root_2$f();
22970
+ var div = root_2$e();
22971
22971
  attribute_effect(div, () => ({ ...get$2(mergedProps) }));
22972
22972
  var node_2 = child(div);
22973
22973
  {
@@ -22999,7 +22999,7 @@ function Calendar_heading($$anchor, $$props) {
22999
22999
  return pop($$exports);
23000
23000
  }
23001
23001
  create_custom_element(Calendar_heading, { children: {}, child: {}, ref: {}, id: {} }, [], [], { mode: "open" });
23002
- var root_2$e = /* @__PURE__ */ from_html(`<button><!></button>`);
23002
+ var root_2$d = /* @__PURE__ */ from_html(`<button><!></button>`);
23003
23003
  function Calendar_next_button($$anchor, $$props) {
23004
23004
  const uid = props_id();
23005
23005
  push($$props, true);
@@ -23066,7 +23066,7 @@ function Calendar_next_button($$anchor, $$props) {
23066
23066
  append($$anchor2, fragment_1);
23067
23067
  };
23068
23068
  var alternate = ($$anchor2) => {
23069
- var button = root_2$e();
23069
+ var button = root_2$d();
23070
23070
  attribute_effect(button, () => ({ ...get$2(mergedProps) }));
23071
23071
  var node_2 = child(button);
23072
23072
  snippet(node_2, () => children() ?? noop$1);
@@ -23082,7 +23082,7 @@ function Calendar_next_button($$anchor, $$props) {
23082
23082
  return pop($$exports);
23083
23083
  }
23084
23084
  create_custom_element(Calendar_next_button, { children: {}, child: {}, id: {}, ref: {}, tabindex: {} }, [], [], { mode: "open" });
23085
- var root_2$d = /* @__PURE__ */ from_html(`<button><!></button>`);
23085
+ var root_2$c = /* @__PURE__ */ from_html(`<button><!></button>`);
23086
23086
  function Calendar_prev_button($$anchor, $$props) {
23087
23087
  const uid = props_id();
23088
23088
  push($$props, true);
@@ -23149,7 +23149,7 @@ function Calendar_prev_button($$anchor, $$props) {
23149
23149
  append($$anchor2, fragment_1);
23150
23150
  };
23151
23151
  var alternate = ($$anchor2) => {
23152
- var button = root_2$d();
23152
+ var button = root_2$c();
23153
23153
  attribute_effect(button, () => ({ ...get$2(mergedProps) }));
23154
23154
  var node_2 = child(button);
23155
23155
  snippet(node_2, () => children() ?? noop$1);
@@ -23166,7 +23166,7 @@ function Calendar_prev_button($$anchor, $$props) {
23166
23166
  }
23167
23167
  create_custom_element(Calendar_prev_button, { children: {}, child: {}, id: {}, ref: {}, tabindex: {} }, [], [], { mode: "open" });
23168
23168
  var root_1$e = /* @__PURE__ */ from_html(`<input/>`);
23169
- var root_2$c = /* @__PURE__ */ from_html(`<input/>`);
23169
+ var root_2$b = /* @__PURE__ */ from_html(`<input/>`);
23170
23170
  function Hidden_input($$anchor, $$props) {
23171
23171
  push($$props, true);
23172
23172
  let value = prop($$props, "value", 15), restProps = /* @__PURE__ */ rest_props($$props, ["$$slots", "$$events", "$$legacy", "$$host", "value"]);
@@ -23193,7 +23193,7 @@ function Hidden_input($$anchor, $$props) {
23193
23193
  append($$anchor2, input);
23194
23194
  };
23195
23195
  var alternate = ($$anchor2) => {
23196
- var input_1 = root_2$c();
23196
+ var input_1 = root_2$b();
23197
23197
  attribute_effect(input_1, () => ({ ...get$2(mergedProps) }), void 0, void 0, void 0, void 0, true);
23198
23198
  bind_value(input_1, value);
23199
23199
  append($$anchor2, input_1);
@@ -28416,7 +28416,7 @@ function Date_field_hidden_input($$anchor, $$props) {
28416
28416
  pop();
28417
28417
  }
28418
28418
  create_custom_element(Date_field_hidden_input, {}, [], [], { mode: "open" });
28419
- var root_2$b = /* @__PURE__ */ from_html(`<div><!></div>`);
28419
+ var root_2$a = /* @__PURE__ */ from_html(`<div><!></div>`);
28420
28420
  var root$6 = /* @__PURE__ */ from_html(`<!> <!>`, 1);
28421
28421
  function Date_field_input($$anchor, $$props) {
28422
28422
  const uid = props_id();
@@ -28488,7 +28488,7 @@ function Date_field_input($$anchor, $$props) {
28488
28488
  append($$anchor2, fragment_1);
28489
28489
  };
28490
28490
  var alternate = ($$anchor2) => {
28491
- var div = root_2$b();
28491
+ var div = root_2$a();
28492
28492
  attribute_effect(div, () => ({ ...get$2(mergedProps) }));
28493
28493
  var node_2 = child(div);
28494
28494
  snippet(node_2, () => children() ?? noop$1, () => ({ segments: inputState.root.segmentContents }));
@@ -28506,7 +28506,7 @@ function Date_field_input($$anchor, $$props) {
28506
28506
  return pop($$exports);
28507
28507
  }
28508
28508
  create_custom_element(Date_field_input, { id: {}, ref: {}, name: {}, children: {}, child: {} }, [], [], { mode: "open" });
28509
- var root_2$a = /* @__PURE__ */ from_html(`<div><!></div>`);
28509
+ var root_2$9 = /* @__PURE__ */ from_html(`<div><!></div>`);
28510
28510
  function Date_field_label($$anchor, $$props) {
28511
28511
  const uid = props_id();
28512
28512
  push($$props, true);
@@ -28565,7 +28565,7 @@ function Date_field_label($$anchor, $$props) {
28565
28565
  append($$anchor2, fragment_1);
28566
28566
  };
28567
28567
  var alternate = ($$anchor2) => {
28568
- var div = root_2$a();
28568
+ var div = root_2$9();
28569
28569
  attribute_effect(div, () => ({ ...get$2(mergedProps) }));
28570
28570
  var node_2 = child(div);
28571
28571
  snippet(node_2, () => children() ?? noop$1);
@@ -28581,7 +28581,7 @@ function Date_field_label($$anchor, $$props) {
28581
28581
  return pop($$exports);
28582
28582
  }
28583
28583
  create_custom_element(Date_field_label, { id: {}, ref: {}, children: {}, child: {} }, [], [], { mode: "open" });
28584
- var root_2$9 = /* @__PURE__ */ from_html(`<span><!></span>`);
28584
+ var root_2$8 = /* @__PURE__ */ from_html(`<span><!></span>`);
28585
28585
  function Date_field_segment($$anchor, $$props) {
28586
28586
  const uid = props_id();
28587
28587
  push($$props, true);
@@ -28648,7 +28648,7 @@ function Date_field_segment($$anchor, $$props) {
28648
28648
  append($$anchor2, fragment_1);
28649
28649
  };
28650
28650
  var alternate = ($$anchor2) => {
28651
- var span = root_2$9();
28651
+ var span = root_2$8();
28652
28652
  attribute_effect(span, () => ({ ...get$2(mergedProps) }));
28653
28653
  var node_2 = child(span);
28654
28654
  snippet(node_2, () => children() ?? noop$1);
@@ -29681,7 +29681,7 @@ create_custom_element(
29681
29681
  [],
29682
29682
  { mode: "open" }
29683
29683
  );
29684
- var root_2$8 = /* @__PURE__ */ from_html(`<div><!></div>`);
29684
+ var root_2$7 = /* @__PURE__ */ from_html(`<div><!></div>`);
29685
29685
  function Date_picker_calendar($$anchor, $$props) {
29686
29686
  const uid = props_id();
29687
29687
  push($$props, true);
@@ -29768,7 +29768,7 @@ function Date_picker_calendar($$anchor, $$props) {
29768
29768
  append($$anchor2, fragment_1);
29769
29769
  };
29770
29770
  var alternate = ($$anchor2) => {
29771
- var div = root_2$8();
29771
+ var div = root_2$7();
29772
29772
  attribute_effect(div, () => ({ ...get$2(mergedProps) }));
29773
29773
  var node_2 = child(div);
29774
29774
  snippet(node_2, () => children() ?? noop$1, () => calendarState.snippetProps);
@@ -29784,7 +29784,7 @@ function Date_picker_calendar($$anchor, $$props) {
29784
29784
  return pop($$exports);
29785
29785
  }
29786
29786
  create_custom_element(Date_picker_calendar, { children: {}, child: {}, id: {}, ref: {} }, [], [], { mode: "open" });
29787
- var root_4$4 = /* @__PURE__ */ from_html(`<div><div><!></div></div>`);
29787
+ var root_4$5 = /* @__PURE__ */ from_html(`<div><div><!></div></div>`);
29788
29788
  var root_9$3 = /* @__PURE__ */ from_html(`<div><div><!></div></div>`);
29789
29789
  function Popover_content($$anchor, $$props) {
29790
29790
  const uid = props_id();
@@ -29934,7 +29934,7 @@ function Popover_content($$anchor, $$props) {
29934
29934
  append($$anchor4, fragment_3);
29935
29935
  };
29936
29936
  var alternate = ($$anchor4) => {
29937
- var div = root_4$4();
29937
+ var div = root_4$5();
29938
29938
  attribute_effect(div, () => ({ ...wrapperProps() }));
29939
29939
  var div_1 = child(div);
29940
29940
  attribute_effect(div_1, () => ({ ...get$2(finalProps) }));
@@ -30329,14 +30329,14 @@ function Date_picker_trigger($$anchor, $$props) {
30329
30329
  return pop($$exports);
30330
30330
  }
30331
30331
  create_custom_element(Date_picker_trigger, { ref: {}, onkeydown: {} }, [], [], { mode: "open" });
30332
- var root_2$7 = /* @__PURE__ */ from_html(`<!> <!>`, 1);
30333
- var root_7$3 = /* @__PURE__ */ from_html(`<!> <!> <!>`, 1);
30334
- var root_9$2 = /* @__PURE__ */ from_html(`<!> <!>`, 1);
30335
- var root_6$2 = /* @__PURE__ */ from_html(`<!> <!>`, 1);
30332
+ var root_4$4 = /* @__PURE__ */ from_html(`<!> <!>`, 1);
30333
+ var root_9$2 = /* @__PURE__ */ from_html(`<!> <!> <!>`, 1);
30334
+ var root_11$3 = /* @__PURE__ */ from_html(`<!> <!>`, 1);
30335
+ var root_8$1 = /* @__PURE__ */ from_html(`<!> <!>`, 1);
30336
30336
  var root_1$c = /* @__PURE__ */ from_html(`<!> <!> <!>`, 1);
30337
30337
  function DatePicker_1($$anchor, $$props) {
30338
30338
  push($$props, true);
30339
- let dateString = prop($$props, "dateString", 15), labelClass = prop($$props, "labelClass", 7), inputClass = prop($$props, "inputClass", 7);
30339
+ let dateString = prop($$props, "dateString", 15), labelClass = prop($$props, "labelClass", 7), inputClass = prop($$props, "inputClass", 7), labelText = prop($$props, "labelText", 7);
30340
30340
  let date2 = /* @__PURE__ */ state(proxy($14e0f24ef4ac5c92$export$d0bdf45af03a6ea3($14e0f24ef4ac5c92$export$aa8b41735afcabd2())));
30341
30341
  user_effect(() => {
30342
30342
  dateString(get$2(date2).toString());
@@ -30362,226 +30362,269 @@ function DatePicker_1($$anchor, $$props) {
30362
30362
  set inputClass($$value) {
30363
30363
  inputClass($$value);
30364
30364
  flushSync();
30365
+ },
30366
+ get labelText() {
30367
+ return labelText();
30368
+ },
30369
+ set labelText($$value) {
30370
+ labelText($$value);
30371
+ flushSync();
30365
30372
  }
30366
30373
  };
30367
30374
  var fragment = comment();
30368
30375
  var node = first_child(fragment);
30369
- component(node, () => Date_picker, ($$anchor2, DatePicker_Root) => {
30370
- DatePicker_Root($$anchor2, {
30371
- get value() {
30372
- return get$2(date2);
30373
- },
30374
- set value($$value) {
30375
- set(date2, $$value, true);
30376
- },
30377
- children: ($$anchor3, $$slotProps) => {
30378
- var fragment_1 = root_1$c();
30379
- var node_1 = first_child(fragment_1);
30380
- component(node_1, () => Date_field_label, ($$anchor4, DatePicker_Label) => {
30381
- DatePicker_Label($$anchor4, {
30382
- get class() {
30383
- return `go-datepicker-label ${labelClass() ?? ""}`;
30384
- }
30385
- });
30386
- });
30387
- var node_2 = sibling(node_1, 2);
30388
- {
30389
- const children = ($$anchor4, $$arg0) => {
30390
- let segments = () => $$arg0?.().segments;
30391
- var fragment_2 = root_2$7();
30392
- var node_3 = first_child(fragment_2);
30393
- each(node_3, 17, segments, index$1, ($$anchor5, $$item) => {
30394
- let part = () => get$2($$item).part;
30395
- let value = () => get$2($$item).value;
30396
- var fragment_3 = comment();
30397
- var node_4 = first_child(fragment_3);
30398
- component(node_4, () => Date_field_segment, ($$anchor6, DatePicker_Segment) => {
30399
- DatePicker_Segment($$anchor6, {
30400
- get part() {
30401
- return part();
30402
- },
30403
- children: ($$anchor7, $$slotProps2) => {
30404
- next();
30405
- var text$1 = text();
30406
- template_effect(() => set_text(text$1, value()));
30407
- append($$anchor7, text$1);
30408
- },
30409
- $$slots: { default: true }
30410
- });
30411
- });
30412
- append($$anchor5, fragment_3);
30413
- });
30414
- var node_5 = sibling(node_3, 2);
30415
- component(node_5, () => Date_picker_trigger, ($$anchor5, DatePicker_Trigger) => {
30416
- DatePicker_Trigger($$anchor5, { class: "go-calendar-button" });
30417
- });
30418
- append($$anchor4, fragment_2);
30419
- };
30420
- component(node_2, () => Date_field_input, ($$anchor4, DatePicker_Input) => {
30421
- DatePicker_Input($$anchor4, {
30376
+ {
30377
+ let $0 = /* @__PURE__ */ user_derived(() => shop.locale || "de");
30378
+ component(node, () => Date_picker, ($$anchor2, DatePicker_Root) => {
30379
+ DatePicker_Root($$anchor2, {
30380
+ get locale() {
30381
+ return get$2($0);
30382
+ },
30383
+ weekStartsOn: 1,
30384
+ isDateDisabled: (date3) => date3.compare($14e0f24ef4ac5c92$export$d0bdf45af03a6ea3($14e0f24ef4ac5c92$export$aa8b41735afcabd2())) < 0,
30385
+ get value() {
30386
+ return get$2(date2);
30387
+ },
30388
+ set value($$value) {
30389
+ set(date2, $$value, true);
30390
+ },
30391
+ children: ($$anchor3, $$slotProps) => {
30392
+ var fragment_1 = root_1$c();
30393
+ var node_1 = first_child(fragment_1);
30394
+ component(node_1, () => Date_field_label, ($$anchor4, DatePicker_Label) => {
30395
+ DatePicker_Label($$anchor4, {
30422
30396
  get class() {
30423
- return `go-datepicker-input ${inputClass() ?? ""}`;
30397
+ return `go-datepicker-label ${labelClass() ?? ""}`;
30398
+ },
30399
+ children: ($$anchor5, $$slotProps2) => {
30400
+ var fragment_2 = comment();
30401
+ var node_2 = first_child(fragment_2);
30402
+ {
30403
+ var consequent = ($$anchor6) => {
30404
+ var fragment_3 = comment();
30405
+ var node_3 = first_child(fragment_3);
30406
+ snippet(node_3, labelText);
30407
+ append($$anchor6, fragment_3);
30408
+ };
30409
+ if_block(node_2, ($$render) => {
30410
+ if (labelText()) $$render(consequent);
30411
+ });
30412
+ }
30413
+ append($$anchor5, fragment_2);
30424
30414
  },
30425
- children,
30426
30415
  $$slots: { default: true }
30427
30416
  });
30428
30417
  });
30429
- }
30430
- var node_6 = sibling(node_2, 2);
30431
- component(node_6, () => Date_picker_content, ($$anchor4, DatePicker_Content) => {
30432
- DatePicker_Content($$anchor4, {
30433
- children: ($$anchor5, $$slotProps2) => {
30434
- var fragment_5 = comment();
30435
- var node_7 = first_child(fragment_5);
30436
- {
30437
- const children = ($$anchor6, $$arg0) => {
30438
- let months = () => $$arg0?.().months;
30439
- let weekdays = () => $$arg0?.().weekdays;
30440
- var fragment_6 = root_6$2();
30441
- var node_8 = first_child(fragment_6);
30442
- component(node_8, () => Calendar_header, ($$anchor7, DatePicker_Header) => {
30443
- DatePicker_Header($$anchor7, {
30444
- children: ($$anchor8, $$slotProps3) => {
30445
- var fragment_7 = root_7$3();
30446
- var node_9 = first_child(fragment_7);
30447
- component(node_9, () => Calendar_prev_button, ($$anchor9, DatePicker_PrevButton) => {
30448
- DatePicker_PrevButton($$anchor9, { class: "go-datepicker-previous" });
30449
- });
30450
- var node_10 = sibling(node_9, 2);
30451
- component(node_10, () => Calendar_heading, ($$anchor9, DatePicker_Heading) => {
30452
- DatePicker_Heading($$anchor9, { class: "go-datepicker-selected-month" });
30453
- });
30454
- var node_11 = sibling(node_10, 2);
30455
- component(node_11, () => Calendar_next_button, ($$anchor9, DatePicker_NextButton) => {
30456
- DatePicker_NextButton($$anchor9, { class: "go-datepicker-next" });
30457
- });
30458
- append($$anchor8, fragment_7);
30459
- },
30460
- $$slots: { default: true }
30461
- });
30418
+ var node_4 = sibling(node_1, 2);
30419
+ {
30420
+ const children = ($$anchor4, $$arg0) => {
30421
+ let segments = () => $$arg0?.().segments;
30422
+ var fragment_4 = root_4$4();
30423
+ var node_5 = first_child(fragment_4);
30424
+ each(node_5, 17, segments, index$1, ($$anchor5, $$item) => {
30425
+ let part = () => get$2($$item).part;
30426
+ let value = () => get$2($$item).value;
30427
+ var fragment_5 = comment();
30428
+ var node_6 = first_child(fragment_5);
30429
+ component(node_6, () => Date_field_segment, ($$anchor6, DatePicker_Segment) => {
30430
+ DatePicker_Segment($$anchor6, {
30431
+ get part() {
30432
+ return part();
30433
+ },
30434
+ children: ($$anchor7, $$slotProps2) => {
30435
+ next();
30436
+ var text$1 = text();
30437
+ template_effect(() => set_text(text$1, value()));
30438
+ append($$anchor7, text$1);
30439
+ },
30440
+ $$slots: { default: true }
30462
30441
  });
30463
- var node_12 = sibling(node_8, 2);
30464
- each(node_12, 16, months, (month) => month, ($$anchor7, month) => {
30465
- var fragment_8 = comment();
30466
- var node_13 = first_child(fragment_8);
30467
- component(node_13, () => Calendar_grid, ($$anchor8, DatePicker_Grid) => {
30468
- DatePicker_Grid($$anchor8, {
30469
- children: ($$anchor9, $$slotProps3) => {
30442
+ });
30443
+ append($$anchor5, fragment_5);
30444
+ });
30445
+ var node_7 = sibling(node_5, 2);
30446
+ component(node_7, () => Date_picker_trigger, ($$anchor5, DatePicker_Trigger) => {
30447
+ DatePicker_Trigger($$anchor5, { class: "go-calendar-button" });
30448
+ });
30449
+ append($$anchor4, fragment_4);
30450
+ };
30451
+ component(node_4, () => Date_field_input, ($$anchor4, DatePicker_Input) => {
30452
+ DatePicker_Input($$anchor4, {
30453
+ get class() {
30454
+ return `go-datepicker-input ${inputClass() ?? ""}`;
30455
+ },
30456
+ children,
30457
+ $$slots: { default: true }
30458
+ });
30459
+ });
30460
+ }
30461
+ var node_8 = sibling(node_4, 2);
30462
+ component(node_8, () => Date_picker_content, ($$anchor4, DatePicker_Content) => {
30463
+ DatePicker_Content($$anchor4, {
30464
+ children: ($$anchor5, $$slotProps2) => {
30465
+ var fragment_7 = comment();
30466
+ var node_9 = first_child(fragment_7);
30467
+ {
30468
+ const children = ($$anchor6, $$arg0) => {
30469
+ let months = () => $$arg0?.().months;
30470
+ let weekdays = () => $$arg0?.().weekdays;
30471
+ var fragment_8 = root_8$1();
30472
+ var node_10 = first_child(fragment_8);
30473
+ component(node_10, () => Calendar_header, ($$anchor7, DatePicker_Header) => {
30474
+ DatePicker_Header($$anchor7, {
30475
+ children: ($$anchor8, $$slotProps3) => {
30470
30476
  var fragment_9 = root_9$2();
30471
- var node_14 = first_child(fragment_9);
30472
- component(node_14, () => Calendar_grid_head, ($$anchor10, DatePicker_GridHead) => {
30473
- DatePicker_GridHead($$anchor10, {
30474
- children: ($$anchor11, $$slotProps4) => {
30475
- var fragment_10 = comment();
30476
- var node_15 = first_child(fragment_10);
30477
- component(node_15, () => Calendar_grid_row, ($$anchor12, DatePicker_GridRow) => {
30478
- DatePicker_GridRow($$anchor12, {
30479
- children: ($$anchor13, $$slotProps5) => {
30480
- var fragment_11 = comment();
30481
- var node_16 = first_child(fragment_11);
30482
- each(node_16, 17, weekdays, index$1, ($$anchor14, day) => {
30483
- var fragment_12 = comment();
30484
- var node_17 = first_child(fragment_12);
30485
- component(node_17, () => Calendar_head_cell, ($$anchor15, DatePicker_HeadCell) => {
30486
- DatePicker_HeadCell($$anchor15, {
30487
- children: ($$anchor16, $$slotProps6) => {
30488
- next();
30489
- var text_1 = text();
30490
- template_effect(() => set_text(text_1, get$2(day)));
30491
- append($$anchor16, text_1);
30492
- },
30493
- $$slots: { default: true }
30494
- });
30495
- });
30496
- append($$anchor14, fragment_12);
30497
- });
30498
- append($$anchor13, fragment_11);
30499
- },
30500
- $$slots: { default: true }
30501
- });
30502
- });
30503
- append($$anchor11, fragment_10);
30504
- },
30505
- $$slots: { default: true }
30506
- });
30477
+ var node_11 = first_child(fragment_9);
30478
+ component(node_11, () => Calendar_prev_button, ($$anchor9, DatePicker_PrevButton) => {
30479
+ DatePicker_PrevButton($$anchor9, { class: "go-datepicker-previous" });
30507
30480
  });
30508
- var node_18 = sibling(node_14, 2);
30509
- component(node_18, () => Calendar_grid_body, ($$anchor10, DatePicker_GridBody) => {
30510
- DatePicker_GridBody($$anchor10, {
30511
- children: ($$anchor11, $$slotProps4) => {
30512
- var fragment_14 = comment();
30513
- var node_19 = first_child(fragment_14);
30514
- each(node_19, 16, () => month.weeks, (weekDates) => weekDates, ($$anchor12, weekDates) => {
30515
- var fragment_15 = comment();
30516
- var node_20 = first_child(fragment_15);
30517
- component(node_20, () => Calendar_grid_row, ($$anchor13, DatePicker_GridRow_1) => {
30518
- DatePicker_GridRow_1($$anchor13, {
30519
- children: ($$anchor14, $$slotProps5) => {
30520
- var fragment_16 = comment();
30521
- var node_21 = first_child(fragment_16);
30522
- each(node_21, 16, () => weekDates, (date3) => date3, ($$anchor15, date3, $$index_2, $$array) => {
30523
- var fragment_17 = comment();
30524
- var node_22 = first_child(fragment_17);
30525
- component(node_22, () => Calendar_cell, ($$anchor16, DatePicker_Cell) => {
30526
- DatePicker_Cell($$anchor16, {
30527
- get date() {
30528
- return date3;
30529
- },
30530
- get month() {
30531
- return month.value;
30532
- },
30533
- children: ($$anchor17, $$slotProps6) => {
30534
- var fragment_18 = comment();
30535
- var node_23 = first_child(fragment_18);
30536
- component(node_23, () => Calendar_day, ($$anchor18, DatePicker_Day) => {
30537
- DatePicker_Day($$anchor18, {});
30538
- });
30539
- append($$anchor17, fragment_18);
30481
+ var node_12 = sibling(node_11, 2);
30482
+ component(node_12, () => Calendar_heading, ($$anchor9, DatePicker_Heading) => {
30483
+ DatePicker_Heading($$anchor9, { class: "go-datepicker-selected-month" });
30484
+ });
30485
+ var node_13 = sibling(node_12, 2);
30486
+ component(node_13, () => Calendar_next_button, ($$anchor9, DatePicker_NextButton) => {
30487
+ DatePicker_NextButton($$anchor9, { class: "go-datepicker-next" });
30488
+ });
30489
+ append($$anchor8, fragment_9);
30490
+ },
30491
+ $$slots: { default: true }
30492
+ });
30493
+ });
30494
+ var node_14 = sibling(node_10, 2);
30495
+ each(node_14, 16, months, (month) => month, ($$anchor7, month) => {
30496
+ var fragment_10 = comment();
30497
+ var node_15 = first_child(fragment_10);
30498
+ component(node_15, () => Calendar_grid, ($$anchor8, DatePicker_Grid) => {
30499
+ DatePicker_Grid($$anchor8, {
30500
+ children: ($$anchor9, $$slotProps3) => {
30501
+ var fragment_11 = root_11$3();
30502
+ var node_16 = first_child(fragment_11);
30503
+ component(node_16, () => Calendar_grid_head, ($$anchor10, DatePicker_GridHead) => {
30504
+ DatePicker_GridHead($$anchor10, {
30505
+ children: ($$anchor11, $$slotProps4) => {
30506
+ var fragment_12 = comment();
30507
+ var node_17 = first_child(fragment_12);
30508
+ component(node_17, () => Calendar_grid_row, ($$anchor12, DatePicker_GridRow) => {
30509
+ DatePicker_GridRow($$anchor12, {
30510
+ children: ($$anchor13, $$slotProps5) => {
30511
+ var fragment_13 = comment();
30512
+ var node_18 = first_child(fragment_13);
30513
+ each(node_18, 17, weekdays, index$1, ($$anchor14, day) => {
30514
+ var fragment_14 = comment();
30515
+ var node_19 = first_child(fragment_14);
30516
+ component(node_19, () => Calendar_head_cell, ($$anchor15, DatePicker_HeadCell) => {
30517
+ DatePicker_HeadCell($$anchor15, {
30518
+ children: ($$anchor16, $$slotProps6) => {
30519
+ next();
30520
+ var text_1 = text();
30521
+ template_effect(() => set_text(text_1, get$2(day)));
30522
+ append($$anchor16, text_1);
30540
30523
  },
30541
30524
  $$slots: { default: true }
30542
30525
  });
30543
30526
  });
30544
- append($$anchor15, fragment_17);
30527
+ append($$anchor14, fragment_14);
30545
30528
  });
30546
- append($$anchor14, fragment_16);
30529
+ append($$anchor13, fragment_13);
30547
30530
  },
30548
30531
  $$slots: { default: true }
30549
30532
  });
30550
30533
  });
30551
- append($$anchor12, fragment_15);
30552
- });
30553
- append($$anchor11, fragment_14);
30554
- },
30555
- $$slots: { default: true }
30534
+ append($$anchor11, fragment_12);
30535
+ },
30536
+ $$slots: { default: true }
30537
+ });
30556
30538
  });
30557
- });
30558
- append($$anchor9, fragment_9);
30559
- },
30560
- $$slots: { default: true }
30539
+ var node_20 = sibling(node_16, 2);
30540
+ component(node_20, () => Calendar_grid_body, ($$anchor10, DatePicker_GridBody) => {
30541
+ DatePicker_GridBody($$anchor10, {
30542
+ children: ($$anchor11, $$slotProps4) => {
30543
+ var fragment_16 = comment();
30544
+ var node_21 = first_child(fragment_16);
30545
+ each(node_21, 16, () => month.weeks, (weekDates) => weekDates, ($$anchor12, weekDates) => {
30546
+ var fragment_17 = comment();
30547
+ var node_22 = first_child(fragment_17);
30548
+ component(node_22, () => Calendar_grid_row, ($$anchor13, DatePicker_GridRow_1) => {
30549
+ DatePicker_GridRow_1($$anchor13, {
30550
+ children: ($$anchor14, $$slotProps5) => {
30551
+ var fragment_18 = comment();
30552
+ var node_23 = first_child(fragment_18);
30553
+ each(node_23, 16, () => weekDates, (date3) => date3, ($$anchor15, date3, $$index_2, $$array) => {
30554
+ var fragment_19 = comment();
30555
+ var node_24 = first_child(fragment_19);
30556
+ component(node_24, () => Calendar_cell, ($$anchor16, DatePicker_Cell) => {
30557
+ DatePicker_Cell($$anchor16, {
30558
+ get date() {
30559
+ return date3;
30560
+ },
30561
+ get month() {
30562
+ return month.value;
30563
+ },
30564
+ children: ($$anchor17, $$slotProps6) => {
30565
+ var fragment_20 = comment();
30566
+ var node_25 = first_child(fragment_20);
30567
+ component(node_25, () => Calendar_day, ($$anchor18, DatePicker_Day) => {
30568
+ DatePicker_Day($$anchor18, {});
30569
+ });
30570
+ append($$anchor17, fragment_20);
30571
+ },
30572
+ $$slots: { default: true }
30573
+ });
30574
+ });
30575
+ append($$anchor15, fragment_19);
30576
+ });
30577
+ append($$anchor14, fragment_18);
30578
+ },
30579
+ $$slots: { default: true }
30580
+ });
30581
+ });
30582
+ append($$anchor12, fragment_17);
30583
+ });
30584
+ append($$anchor11, fragment_16);
30585
+ },
30586
+ $$slots: { default: true }
30587
+ });
30588
+ });
30589
+ append($$anchor9, fragment_11);
30590
+ },
30591
+ $$slots: { default: true }
30592
+ });
30561
30593
  });
30594
+ append($$anchor7, fragment_10);
30562
30595
  });
30563
- append($$anchor7, fragment_8);
30596
+ append($$anchor6, fragment_8);
30597
+ };
30598
+ component(node_9, () => Date_picker_calendar, ($$anchor6, DatePicker_Calendar) => {
30599
+ DatePicker_Calendar($$anchor6, { children, $$slots: { default: true } });
30564
30600
  });
30565
- append($$anchor6, fragment_6);
30566
- };
30567
- component(node_7, () => Date_picker_calendar, ($$anchor6, DatePicker_Calendar) => {
30568
- DatePicker_Calendar($$anchor6, { children, $$slots: { default: true } });
30569
- });
30570
- }
30571
- append($$anchor5, fragment_5);
30572
- },
30573
- $$slots: { default: true }
30601
+ }
30602
+ append($$anchor5, fragment_7);
30603
+ },
30604
+ $$slots: { default: true }
30605
+ });
30574
30606
  });
30575
- });
30576
- append($$anchor3, fragment_1);
30577
- },
30578
- $$slots: { default: true }
30607
+ append($$anchor3, fragment_1);
30608
+ },
30609
+ $$slots: { default: true }
30610
+ });
30579
30611
  });
30580
- });
30612
+ }
30581
30613
  append($$anchor, fragment);
30582
30614
  return pop($$exports);
30583
30615
  }
30584
- create_custom_element(DatePicker_1, { dateString: {}, labelClass: {}, inputClass: {} }, [], [], { mode: "open" });
30616
+ create_custom_element(
30617
+ DatePicker_1,
30618
+ {
30619
+ dateString: {},
30620
+ labelClass: {},
30621
+ inputClass: {},
30622
+ labelText: {}
30623
+ },
30624
+ [],
30625
+ [],
30626
+ { mode: "open" }
30627
+ );
30585
30628
  var root_2$6 = /* @__PURE__ */ from_html(`<span class="go-field-star" aria-hidden="true">*</span>`);
30586
30629
  var root_1$b = /* @__PURE__ */ from_html(` <!>`, 1);
30587
30630
  var root_3$5 = /* @__PURE__ */ from_html(`<label><!></label> <input/>`, 1);
@@ -30736,6 +30779,9 @@ function InputAndLabel($$anchor, $$props) {
30736
30779
  get inputClass() {
30737
30780
  return inputClass();
30738
30781
  },
30782
+ get labelText() {
30783
+ return labelText;
30784
+ },
30739
30785
  get dateString() {
30740
30786
  return field().value;
30741
30787
  },
@@ -32283,6 +32329,7 @@ async function loadEventTickets(segment) {
32283
32329
  const uiTickets = initUITimeslotTickets(available, tsd.selectedTime);
32284
32330
  segment.preCart = createCart(uiTickets);
32285
32331
  }
32332
+ const TWO_HOURS_IN_MILLISECONDS = 2 * 60 * 60 * 1e3;
32286
32333
  async function load_Events_ScaledPricesTickets(segment) {
32287
32334
  const tsd = segment.ticketSelectionDetails;
32288
32335
  if (!tsd) {
@@ -32324,7 +32371,9 @@ async function load_Events_ScaledPricesTickets(segment) {
32324
32371
  dates = dates.filter((d) => {
32325
32372
  const datePart = d.start_time.slice(0, 10);
32326
32373
  const sameDay = tsd.selectedDate?.toString() == datePart;
32327
- const after = Date.parse(d.start_time) >= Date.parse(tsd.selectedTime);
32374
+ const selectedMs = Date.parse(tsd.selectedTime);
32375
+ const startMs = Date.parse(d.start_time);
32376
+ const after = startMs >= selectedMs && startMs <= selectedMs + TWO_HOURS_IN_MILLISECONDS;
32328
32377
  const availableSeats = (d.seats?.available ?? 0) > 0;
32329
32378
  return sameDay && after && availableSeats;
32330
32379
  });
@@ -32670,15 +32719,18 @@ function Item($$anchor, $$props) {
32670
32719
  const scaled_title = ($$anchor2) => {
32671
32720
  var fragment = root_1$4();
32672
32721
  var span = first_child(fragment);
32673
- var text2 = child(span, true);
32722
+ var text2 = child(span);
32674
32723
  reset(span);
32675
32724
  var span_1 = sibling(span, 2);
32676
32725
  var text_1 = child(span_1, true);
32677
32726
  reset(span_1);
32678
- template_effect(() => {
32679
- set_text(text2, item().product.event_title);
32680
- set_text(text_1, item().product.title);
32681
- });
32727
+ template_effect(
32728
+ ($0) => {
32729
+ set_text(text2, `${item().product.event_title ?? ""} - ${$0 ?? ""}`);
32730
+ set_text(text_1, item().product.title);
32731
+ },
32732
+ [() => formatTime(item().product.selectedTime)]
32733
+ );
32682
32734
  append($$anchor2, fragment);
32683
32735
  };
32684
32736
  const default_title = ($$anchor2) => {