@gomusdev/web-components 1.22.2 → 1.22.3

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.
@@ -0,0 +1 @@
1
+ export { SvelteComponent as default } from 'svelte';
@@ -15116,7 +15116,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
15116
15116
  host.replaceChildren(element);
15117
15117
  return element;
15118
15118
  }
15119
- var root_1$d = /* @__PURE__ */ from_html(`<go-all-fields></go-all-fields> <go-form-feedback><go-errors-feedback></go-errors-feedback> <go-success-feedback></go-success-feedback></go-form-feedback> <go-submit>Submit</go-submit>`, 3);
15119
+ var root_1$e = /* @__PURE__ */ from_html(`<go-all-fields></go-all-fields> <go-form-feedback><go-errors-feedback></go-errors-feedback> <go-success-feedback></go-success-feedback></go-form-feedback> <go-submit>Submit</go-submit>`, 3);
15120
15120
  function Form($$anchor, $$props) {
15121
15121
  push($$props, true);
15122
15122
  let formId = prop($$props, "formId", 7), custom2 = prop($$props, "custom", 7);
@@ -15158,7 +15158,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
15158
15158
  var node = first_child(fragment);
15159
15159
  {
15160
15160
  var consequent = ($$anchor2) => {
15161
- var fragment_1 = root_1$d();
15161
+ var fragment_1 = root_1$e();
15162
15162
  var go_all_fields = first_child(fragment_1);
15163
15163
  var go_form_feedback = sibling(go_all_fields, 2);
15164
15164
  sibling(go_form_feedback, 2);
@@ -15181,7 +15181,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
15181
15181
  ["details"],
15182
15182
  false
15183
15183
  ));
15184
- var root$8 = /* @__PURE__ */ from_html(`<go-form></go-form>`, 2);
15184
+ var root$9 = /* @__PURE__ */ from_html(`<go-form></go-form>`, 2);
15185
15185
  function PasswordReset($$anchor, $$props) {
15186
15186
  push($$props, true);
15187
15187
  let form;
@@ -15215,7 +15215,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
15215
15215
  flushSync();
15216
15216
  }
15217
15217
  };
15218
- var go_form = root$8();
15218
+ var go_form = root$9();
15219
15219
  set_custom_element_data(go_form, "formId", "passwordReset");
15220
15220
  template_effect(() => set_custom_element_data(go_form, "custom", custom2()));
15221
15221
  bind_this(go_form, ($$value) => form = $$value, () => form);
@@ -15223,7 +15223,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
15223
15223
  return pop($$exports);
15224
15224
  }
15225
15225
  customElements.define("go-password-reset", create_custom_element(PasswordReset, { custom: {} }, [], [], false));
15226
- var root$7 = /* @__PURE__ */ from_html(`<go-form></go-form>`, 2);
15226
+ var root$8 = /* @__PURE__ */ from_html(`<go-form></go-form>`, 2);
15227
15227
  function SignIn($$anchor, $$props) {
15228
15228
  push($$props, true);
15229
15229
  let form;
@@ -15248,7 +15248,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
15248
15248
  onMount(() => {
15249
15249
  $$props.$$host.addEventListener("go-submit", signIn);
15250
15250
  });
15251
- var go_form = root$7();
15251
+ var go_form = root$8();
15252
15252
  set_custom_element_data(go_form, "formId", "signIn");
15253
15253
  bind_this(go_form, ($$value) => form = $$value, () => form);
15254
15254
  append($$anchor, go_form);
@@ -15263,7 +15263,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
15263
15263
  [],
15264
15264
  false
15265
15265
  ));
15266
- var root$6 = /* @__PURE__ */ from_html(`<go-form></go-form>`, 2);
15266
+ var root$7 = /* @__PURE__ */ from_html(`<go-form></go-form>`, 2);
15267
15267
  function SignUp($$anchor, $$props) {
15268
15268
  push($$props, true);
15269
15269
  Forms.defineForm({
@@ -15300,7 +15300,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
15300
15300
  onMount(() => {
15301
15301
  $$props.$$host.addEventListener("go-submit", signUp);
15302
15302
  });
15303
- var go_form = root$6();
15303
+ var go_form = root$7();
15304
15304
  set_custom_element_data(go_form, "formId", "signUp");
15305
15305
  bind_this(go_form, ($$value) => form = $$value, () => form);
15306
15306
  append($$anchor, go_form);
@@ -15588,7 +15588,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
15588
15588
  var root_3$7 = /* @__PURE__ */ from_html(`<li data-go-cart-item=""><article><ul><li data-go-cart-item-title=""><span class="go-cart-item-title" data-testid="cart-item-title"> </span> <!></li> <li data-go-cart-item-price=""> </li> <li data-go-cart-item-count=""> </li> <!> <li data-go-cart-item-sum=""> </li></ul></article></li>`);
15589
15589
  var root_7$4 = /* @__PURE__ */ from_html(`<li data-go-cart-footer-remove=""></li>`);
15590
15590
  var root_8$1 = /* @__PURE__ */ from_html(`<a href="javascript:void(0);" class="go-cart-checkout-button" data-testid="checkout-button">Checkout</a>`);
15591
- var root_1$c = /* @__PURE__ */ from_html(`<ol data-testid="cart"><li data-go-cart-header="" data-testid="cart-header"><ul><li data-go-cart-header-title="">Product</li> <li data-go-cart-header-price="">Price</li> <li data-go-cart-header-count="">Count</li> <!> <li data-go-cart-header-sum="">Sum</li></ul></li> <!> <li data-go-cart-footer="" data-testid="cart-footer"><ul><li data-go-cart-footer-title=""></li> <li data-go-cart-footer-price=""></li> <li data-go-cart-footer-count=""></li> <!> <li data-go-cart-footer-sum="" data-go-cart-sum=""> </li></ul></li></ol> <!>`, 1);
15591
+ var root_1$d = /* @__PURE__ */ from_html(`<ol data-testid="cart"><li data-go-cart-header="" data-testid="cart-header"><ul><li data-go-cart-header-title="">Product</li> <li data-go-cart-header-price="">Price</li> <li data-go-cart-header-count="">Count</li> <!> <li data-go-cart-header-sum="">Sum</li></ul></li> <!> <li data-go-cart-footer="" data-testid="cart-footer"><ul><li data-go-cart-footer-title=""></li> <li data-go-cart-footer-price=""></li> <li data-go-cart-footer-count=""></li> <!> <li data-go-cart-footer-sum="" data-go-cart-sum=""> </li></ul></li></ol> <!>`, 1);
15592
15592
  function Cart($$anchor, $$props) {
15593
15593
  push($$props, true);
15594
15594
  const preview = prop($$props, "preview", 7, false);
@@ -15610,7 +15610,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
15610
15610
  var node = first_child(fragment);
15611
15611
  {
15612
15612
  var consequent_6 = ($$anchor2) => {
15613
- var fragment_1 = root_1$c();
15613
+ var fragment_1 = root_1$d();
15614
15614
  var ol = first_child(fragment_1);
15615
15615
  var li = child(ol);
15616
15616
  var ul = child(li);
@@ -22934,7 +22934,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
22934
22934
  return pop($$exports);
22935
22935
  }
22936
22936
  create_custom_element(Calendar_prev_button, { children: {}, child: {}, id: {}, ref: {}, tabindex: {} }, [], [], true);
22937
- var root_1$b = /* @__PURE__ */ from_html(`<input/>`);
22937
+ var root_1$c = /* @__PURE__ */ from_html(`<input/>`);
22938
22938
  var root_2$d = /* @__PURE__ */ from_html(`<input/>`);
22939
22939
  function Hidden_input($$anchor, $$props) {
22940
22940
  push($$props, true);
@@ -22957,7 +22957,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
22957
22957
  var node = first_child(fragment);
22958
22958
  {
22959
22959
  var consequent = ($$anchor2) => {
22960
- var input = root_1$b();
22960
+ var input = root_1$c();
22961
22961
  attribute_effect(input, () => ({ ...get$2(mergedProps), value: value() }), void 0, void 0, void 0, void 0, true);
22962
22962
  append($$anchor2, input);
22963
22963
  };
@@ -25405,7 +25405,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
25405
25405
  return pop($$exports);
25406
25406
  }
25407
25407
  create_custom_element(Popper_content, { content: {}, isStatic: {}, onPlaced: {} }, [], [], true);
25408
- var root_1$a = /* @__PURE__ */ from_html(`<!> <!>`, 1);
25408
+ var root_1$b = /* @__PURE__ */ from_html(`<!> <!>`, 1);
25409
25409
  function Popper_layer_inner($$anchor, $$props) {
25410
25410
  push($$props, true);
25411
25411
  let popper = prop($$props, "popper", 7), onEscapeKeydown = prop($$props, "onEscapeKeydown", 7), escapeKeydownBehavior = prop($$props, "escapeKeydownBehavior", 7), preventOverflowTextSelection = prop($$props, "preventOverflowTextSelection", 7), id = prop($$props, "id", 7), onPointerDown = prop($$props, "onPointerDown", 7), onPointerUp = prop($$props, "onPointerUp", 7), side = prop($$props, "side", 7), sideOffset = prop($$props, "sideOffset", 7), align = prop($$props, "align", 7), alignOffset = prop($$props, "alignOffset", 7), arrowPadding = prop($$props, "arrowPadding", 7), avoidCollisions = prop($$props, "avoidCollisions", 7), collisionBoundary = prop($$props, "collisionBoundary", 7), collisionPadding = prop($$props, "collisionPadding", 7), sticky = prop($$props, "sticky", 7), hideWhenDetached = prop($$props, "hideWhenDetached", 7), updatePositionStrategy = prop($$props, "updatePositionStrategy", 7), strategy = prop($$props, "strategy", 7), dir = prop($$props, "dir", 7), preventScroll = prop($$props, "preventScroll", 7), wrapperId = prop($$props, "wrapperId", 7), style = prop($$props, "style", 7), onPlaced = prop($$props, "onPlaced", 7), onInteractOutside = prop($$props, "onInteractOutside", 7), onCloseAutoFocus = prop($$props, "onCloseAutoFocus", 7), onOpenAutoFocus = prop($$props, "onOpenAutoFocus", 7), onFocusOutside = prop($$props, "onFocusOutside", 7), interactOutsideBehavior = prop($$props, "interactOutsideBehavior", 7, "close"), loop = prop($$props, "loop", 7), trapFocus = prop($$props, "trapFocus", 7, true), isValidEvent2 = prop($$props, "isValidEvent", 7, () => false), customAnchor = prop($$props, "customAnchor", 7, null), isStatic = prop($$props, "isStatic", 7, false), enabled = prop($$props, "enabled", 7), ref = prop($$props, "ref", 7), tooltip = prop($$props, "tooltip", 7, false), restProps = /* @__PURE__ */ rest_props($$props, [
@@ -25716,7 +25716,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
25716
25716
  const content = ($$anchor2, $$arg0) => {
25717
25717
  let floatingProps = () => $$arg0?.().props;
25718
25718
  let wrapperProps = () => $$arg0?.().wrapperProps;
25719
- var fragment_1 = root_1$a();
25719
+ var fragment_1 = root_1$b();
25720
25720
  var node = first_child(fragment_1);
25721
25721
  {
25722
25722
  var consequent = ($$anchor3) => {
@@ -28171,7 +28171,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
28171
28171
  }
28172
28172
  create_custom_element(Date_field_hidden_input, {}, [], [], true);
28173
28173
  var root_2$c = /* @__PURE__ */ from_html(`<div><!></div>`);
28174
- var root$5 = /* @__PURE__ */ from_html(`<!> <!>`, 1);
28174
+ var root$6 = /* @__PURE__ */ from_html(`<!> <!>`, 1);
28175
28175
  function Date_field_input($$anchor, $$props) {
28176
28176
  const uid = props_id();
28177
28177
  push($$props, true);
@@ -28229,7 +28229,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
28229
28229
  flushSync();
28230
28230
  }
28231
28231
  };
28232
- var fragment = root$5();
28232
+ var fragment = root$6();
28233
28233
  var node = first_child(fragment);
28234
28234
  {
28235
28235
  var consequent = ($$anchor2) => {
@@ -29581,7 +29581,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
29581
29581
  var root_7$3 = /* @__PURE__ */ from_html(`<!> <!> <!>`, 1);
29582
29582
  var root_9$2 = /* @__PURE__ */ from_html(`<!> <!>`, 1);
29583
29583
  var root_6$1 = /* @__PURE__ */ from_html(`<!> <!>`, 1);
29584
- var root_1$9 = /* @__PURE__ */ from_html(`<!> <!> <!>`, 1);
29584
+ var root_1$a = /* @__PURE__ */ from_html(`<!> <!> <!>`, 1);
29585
29585
  function DatePicker_1($$anchor, $$props) {
29586
29586
  push($$props, true);
29587
29587
  let dateString = prop($$props, "dateString", 15), labelClass = prop($$props, "labelClass", 7), inputClass = prop($$props, "inputClass", 7);
@@ -29623,7 +29623,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
29623
29623
  set(date2, $$value, true);
29624
29624
  },
29625
29625
  children: ($$anchor3, $$slotProps) => {
29626
- var fragment_1 = root_1$9();
29626
+ var fragment_1 = root_1$a();
29627
29627
  var node_1 = first_child(fragment_1);
29628
29628
  component(node_1, () => Date_field_label, ($$anchor4, DatePicker_Label) => {
29629
29629
  DatePicker_Label($$anchor4, {
@@ -29831,7 +29831,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
29831
29831
  }
29832
29832
  create_custom_element(DatePicker_1, { dateString: {}, labelClass: {}, inputClass: {} }, [], [], true);
29833
29833
  var root_2$7 = /* @__PURE__ */ from_html(`<span class="go-field-star" aria-hidden="true">*</span>`);
29834
- var root_1$8 = /* @__PURE__ */ from_html(`<!> <!>`, 1);
29834
+ var root_1$9 = /* @__PURE__ */ from_html(`<!> <!>`, 1);
29835
29835
  var root_3$5 = /* @__PURE__ */ from_html(`<label><!></label> <input/>`, 1);
29836
29836
  var root_4$3 = /* @__PURE__ */ from_html(`<label><input/> <span class="go-checkbox-label"><!></span></label>`);
29837
29837
  var root_7$2 = /* @__PURE__ */ from_html(`<option> </option>`);
@@ -29841,7 +29841,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
29841
29841
  function InputAndLabel($$anchor, $$props) {
29842
29842
  push($$props, true);
29843
29843
  const labelText = ($$anchor2) => {
29844
- var fragment = root_1$8();
29844
+ var fragment = root_1$9();
29845
29845
  var node = first_child(fragment);
29846
29846
  html$2(node, () => purify.sanitize(field().label));
29847
29847
  var node_1 = sibling(node, 2);
@@ -30134,10 +30134,10 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
30134
30134
  [],
30135
30135
  true
30136
30136
  );
30137
- var root_1$7 = /* @__PURE__ */ from_html(`<span> </span>`);
30137
+ var root_1$8 = /* @__PURE__ */ from_html(`<span> </span>`);
30138
30138
  var root_3$4 = /* @__PURE__ */ from_html(`<li> </li>`);
30139
30139
  var root_2$6 = /* @__PURE__ */ from_html(`<ul class="go-field-errors" role="alert"></ul>`);
30140
- var root$4 = /* @__PURE__ */ from_html(`<!> <!> <!>`, 1);
30140
+ var root$5 = /* @__PURE__ */ from_html(`<!> <!> <!>`, 1);
30141
30141
  function Field($$anchor, $$props) {
30142
30142
  push($$props, true);
30143
30143
  let key = prop($$props, "key", 7), required = prop($$props, "required", 7, false), labelClass = prop($$props, "labelClass", 7), inputClass = prop($$props, "inputClass", 7);
@@ -30201,7 +30201,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
30201
30201
  flushSync();
30202
30202
  }
30203
30203
  };
30204
- var fragment = root$4();
30204
+ var fragment = root$5();
30205
30205
  var node = first_child(fragment);
30206
30206
  InputAndLabel(node, {
30207
30207
  get describedById() {
@@ -30224,7 +30224,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
30224
30224
  var node_1 = sibling(node, 2);
30225
30225
  {
30226
30226
  var consequent = ($$anchor2) => {
30227
- var span = root_1$7();
30227
+ var span = root_1$8();
30228
30228
  var text2 = child(span, true);
30229
30229
  reset(span);
30230
30230
  template_effect(() => {
@@ -30271,7 +30271,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
30271
30271
  ["getField"],
30272
30272
  false
30273
30273
  ));
30274
- var root_1$6 = /* @__PURE__ */ from_html(`<go-field></go-field>`, 2);
30274
+ var root_1$7 = /* @__PURE__ */ from_html(`<go-field></go-field>`, 2);
30275
30275
  function AllFields($$anchor, $$props) {
30276
30276
  push($$props, true);
30277
30277
  let _details = getDetails$1($$props.$$host);
@@ -30280,7 +30280,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
30280
30280
  var fragment = comment();
30281
30281
  var node = first_child(fragment);
30282
30282
  each(node, 17, () => get$2(allFields2), index$1, ($$anchor2, field) => {
30283
- var go_field = root_1$6();
30283
+ var go_field = root_1$7();
30284
30284
  template_effect(() => set_custom_element_data(go_field, "key", get$2(field).key));
30285
30285
  template_effect(() => set_custom_element_data(go_field, "required", get$2(field).required));
30286
30286
  append($$anchor2, go_field);
@@ -30293,7 +30293,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
30293
30293
  var root_4$2 = /* @__PURE__ */ from_html(`<li> </li>`);
30294
30294
  var root_3$3 = /* @__PURE__ */ from_html(`<ul class="go-error-feedback-api-errors"></ul>`);
30295
30295
  var root_5 = /* @__PURE__ */ from_html(`<p aria-hidden="true"> </p>`);
30296
- var root_1$5 = /* @__PURE__ */ from_html(`<div><!> <!> <!></div>`);
30296
+ var root_1$6 = /* @__PURE__ */ from_html(`<div><!> <!> <!></div>`);
30297
30297
  function ErrorsFeedback($$anchor, $$props) {
30298
30298
  push($$props, true);
30299
30299
  const _details = getDetails$1($$props.$$host);
@@ -30310,7 +30310,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
30310
30310
  var node = first_child(fragment);
30311
30311
  {
30312
30312
  var consequent_3 = ($$anchor2) => {
30313
- var div = root_1$5();
30313
+ var div = root_1$6();
30314
30314
  let classes;
30315
30315
  var node_1 = child(div);
30316
30316
  {
@@ -30370,9 +30370,9 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
30370
30370
  pop();
30371
30371
  }
30372
30372
  customElements.define("go-errors-feedback", create_custom_element(ErrorsFeedback, {}, [], [], false));
30373
- var root$3 = /* @__PURE__ */ from_html(`<div class="go-form-feedback"><!></div>`);
30373
+ var root$4 = /* @__PURE__ */ from_html(`<div class="go-form-feedback"><!></div>`);
30374
30374
  function FormFeedback($$anchor, $$props) {
30375
- var div = root$3();
30375
+ var div = root$4();
30376
30376
  var node = child(div);
30377
30377
  slot(node, $$props, "default", {});
30378
30378
  reset(div);
@@ -30405,7 +30405,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
30405
30405
  [],
30406
30406
  false
30407
30407
  ));
30408
- var root_1$4 = /* @__PURE__ */ from_html(`<div aria-live="assertive"> </div>`);
30408
+ var root_1$5 = /* @__PURE__ */ from_html(`<div aria-live="assertive"> </div>`);
30409
30409
  function SuccessFeedback($$anchor, $$props) {
30410
30410
  push($$props, true);
30411
30411
  const _details = getDetails$1($$props.$$host);
@@ -30414,7 +30414,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
30414
30414
  var node = first_child(fragment);
30415
30415
  {
30416
30416
  var consequent = ($$anchor2) => {
30417
- var div = root_1$4();
30417
+ var div = root_1$5();
30418
30418
  let classes;
30419
30419
  var text2 = child(div, true);
30420
30420
  reset(div);
@@ -30788,6 +30788,67 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
30788
30788
  return pop($$exports);
30789
30789
  }
30790
30790
  customElements.define("go-order", create_custom_element(Order, { token: { attribute: "token", reflect: true, type: "String" } }, [], ["orderDetails"], false));
30791
+ var root_1$4 = /* @__PURE__ */ from_html(`<br/> <span class="go-order-item-quantities"> </span>`, 1);
30792
+ var root$3 = /* @__PURE__ */ from_html(`<li><article><ul><li class="go-order-breakdown-count">1</li> <li class="go-order-breakdown-product"><span class="go-order-item-title"> </span> <!> <a class="go-ticket-download" target="_blank">Download</a></li> <li class="go-order-breakdown-item-price"> </li> <li class="go-order-breakdown-passbook"></li></ul></article></li>`);
30793
+ function Event$1($$anchor, $$props) {
30794
+ push($$props, true);
30795
+ let item = prop($$props, "item", 7), orderDetails = prop($$props, "orderDetails", 7);
30796
+ var $$exports = {
30797
+ get item() {
30798
+ return item();
30799
+ },
30800
+ set item($$value) {
30801
+ item($$value);
30802
+ flushSync();
30803
+ },
30804
+ get orderDetails() {
30805
+ return orderDetails();
30806
+ },
30807
+ set orderDetails($$value) {
30808
+ orderDetails($$value);
30809
+ flushSync();
30810
+ }
30811
+ };
30812
+ var li = root$3();
30813
+ var article = child(li);
30814
+ var ul = child(article);
30815
+ var li_1 = sibling(child(ul), 2);
30816
+ var span = child(li_1);
30817
+ var text2 = child(span, true);
30818
+ reset(span);
30819
+ var node = sibling(span, 2);
30820
+ each(node, 17, () => item().attributes.quantities, index$1, ($$anchor2, scalePrice) => {
30821
+ var fragment = root_1$4();
30822
+ var span_1 = sibling(first_child(fragment), 2);
30823
+ var text_1 = child(span_1);
30824
+ reset(span_1);
30825
+ template_effect(() => set_text(text_1, `${get$2(scalePrice).quantity ?? ""} x ${get$2(scalePrice).title ?? ""}`));
30826
+ append($$anchor2, fragment);
30827
+ });
30828
+ var a2 = sibling(node, 2);
30829
+ reset(li_1);
30830
+ var li_2 = sibling(li_1, 2);
30831
+ var text_2 = child(li_2, true);
30832
+ reset(li_2);
30833
+ next(2);
30834
+ reset(ul);
30835
+ reset(article);
30836
+ reset(li);
30837
+ template_effect(
30838
+ ($0, $1) => {
30839
+ set_text(text2, item().attributes.title);
30840
+ set_attribute(a2, "href", $0);
30841
+ set_text(text_2, $1);
30842
+ },
30843
+ [
30844
+ () => orderDetails().downloadLink(item()),
30845
+ () => formatCurrency$1(item().price_cents)
30846
+ ]
30847
+ );
30848
+ append($$anchor, li);
30849
+ return pop($$exports);
30850
+ }
30851
+ create_custom_element(Event$1, { item: {}, orderDetails: {} }, [], [], true);
30791
30852
  var root_4$1 = /* @__PURE__ */ from_html(`<span class="go-cart-item-date"> </span> <span class="go-cart-item-time"> </span>`, 1);
30792
30853
  var root_6 = /* @__PURE__ */ from_html(`<span class="go-cart-item-date"> </span>`);
30793
30854
  var root_7$1 = /* @__PURE__ */ from_html(`<a class="go-ticket-download" target="_blank">Download</a>`);
@@ -31012,7 +31073,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
31012
31073
  var fragment = comment();
31013
31074
  var node = first_child(fragment);
31014
31075
  {
31015
- var consequent_1 = ($$anchor2) => {
31076
+ var consequent_2 = ($$anchor2) => {
31016
31077
  var ol = root_1$3();
31017
31078
  var node_1 = sibling(child(ol), 2);
31018
31079
  each(node_1, 17, () => get$2(order).items, (item) => item.id, ($$anchor3, item) => {
@@ -31029,8 +31090,33 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
31029
31090
  }
31030
31091
  });
31031
31092
  };
31093
+ var alternate = ($$anchor4) => {
31094
+ var fragment_3 = comment();
31095
+ var node_3 = first_child(fragment_3);
31096
+ {
31097
+ var consequent_1 = ($$anchor5) => {
31098
+ Event$1($$anchor5, {
31099
+ get item() {
31100
+ return get$2(item);
31101
+ },
31102
+ get orderDetails() {
31103
+ return get$2(orderDetails);
31104
+ }
31105
+ });
31106
+ };
31107
+ if_block(
31108
+ node_3,
31109
+ ($$render) => {
31110
+ if (get$2(item).type === "Event") $$render(consequent_1);
31111
+ },
31112
+ true
31113
+ );
31114
+ }
31115
+ append($$anchor4, fragment_3);
31116
+ };
31032
31117
  if_block(node_2, ($$render) => {
31033
31118
  if (get$2(item).type === "Ticket") $$render(consequent);
31119
+ else $$render(alternate, false);
31034
31120
  });
31035
31121
  }
31036
31122
  append($$anchor3, fragment_1);
@@ -31048,7 +31134,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
31048
31134
  append($$anchor2, ol);
31049
31135
  };
31050
31136
  if_block(node, ($$render) => {
31051
- if (get$2(order)) $$render(consequent_1);
31137
+ if (get$2(order)) $$render(consequent_2);
31052
31138
  });
31053
31139
  }
31054
31140
  append($$anchor, fragment);
@@ -15116,7 +15116,7 @@ function wrapInElement(host, tag, props) {
15116
15116
  host.replaceChildren(element);
15117
15117
  return element;
15118
15118
  }
15119
- var root_1$d = /* @__PURE__ */ from_html(`<go-all-fields></go-all-fields> <go-form-feedback><go-errors-feedback></go-errors-feedback> <go-success-feedback></go-success-feedback></go-form-feedback> <go-submit>Submit</go-submit>`, 3);
15119
+ var root_1$e = /* @__PURE__ */ from_html(`<go-all-fields></go-all-fields> <go-form-feedback><go-errors-feedback></go-errors-feedback> <go-success-feedback></go-success-feedback></go-form-feedback> <go-submit>Submit</go-submit>`, 3);
15120
15120
  function Form($$anchor, $$props) {
15121
15121
  push($$props, true);
15122
15122
  let formId = prop($$props, "formId", 7), custom2 = prop($$props, "custom", 7);
@@ -15158,7 +15158,7 @@ function Form($$anchor, $$props) {
15158
15158
  var node = first_child(fragment);
15159
15159
  {
15160
15160
  var consequent = ($$anchor2) => {
15161
- var fragment_1 = root_1$d();
15161
+ var fragment_1 = root_1$e();
15162
15162
  var go_all_fields = first_child(fragment_1);
15163
15163
  var go_form_feedback = sibling(go_all_fields, 2);
15164
15164
  sibling(go_form_feedback, 2);
@@ -15181,7 +15181,7 @@ customElements.define("go-form", create_custom_element(
15181
15181
  ["details"],
15182
15182
  false
15183
15183
  ));
15184
- var root$8 = /* @__PURE__ */ from_html(`<go-form></go-form>`, 2);
15184
+ var root$9 = /* @__PURE__ */ from_html(`<go-form></go-form>`, 2);
15185
15185
  function PasswordReset($$anchor, $$props) {
15186
15186
  push($$props, true);
15187
15187
  let form;
@@ -15215,7 +15215,7 @@ function PasswordReset($$anchor, $$props) {
15215
15215
  flushSync();
15216
15216
  }
15217
15217
  };
15218
- var go_form = root$8();
15218
+ var go_form = root$9();
15219
15219
  set_custom_element_data(go_form, "formId", "passwordReset");
15220
15220
  template_effect(() => set_custom_element_data(go_form, "custom", custom2()));
15221
15221
  bind_this(go_form, ($$value) => form = $$value, () => form);
@@ -15223,7 +15223,7 @@ function PasswordReset($$anchor, $$props) {
15223
15223
  return pop($$exports);
15224
15224
  }
15225
15225
  customElements.define("go-password-reset", create_custom_element(PasswordReset, { custom: {} }, [], [], false));
15226
- var root$7 = /* @__PURE__ */ from_html(`<go-form></go-form>`, 2);
15226
+ var root$8 = /* @__PURE__ */ from_html(`<go-form></go-form>`, 2);
15227
15227
  function SignIn($$anchor, $$props) {
15228
15228
  push($$props, true);
15229
15229
  let form;
@@ -15248,7 +15248,7 @@ function SignIn($$anchor, $$props) {
15248
15248
  onMount(() => {
15249
15249
  $$props.$$host.addEventListener("go-submit", signIn);
15250
15250
  });
15251
- var go_form = root$7();
15251
+ var go_form = root$8();
15252
15252
  set_custom_element_data(go_form, "formId", "signIn");
15253
15253
  bind_this(go_form, ($$value) => form = $$value, () => form);
15254
15254
  append($$anchor, go_form);
@@ -15263,7 +15263,7 @@ customElements.define("go-sign-in", create_custom_element(
15263
15263
  [],
15264
15264
  false
15265
15265
  ));
15266
- var root$6 = /* @__PURE__ */ from_html(`<go-form></go-form>`, 2);
15266
+ var root$7 = /* @__PURE__ */ from_html(`<go-form></go-form>`, 2);
15267
15267
  function SignUp($$anchor, $$props) {
15268
15268
  push($$props, true);
15269
15269
  Forms.defineForm({
@@ -15300,7 +15300,7 @@ function SignUp($$anchor, $$props) {
15300
15300
  onMount(() => {
15301
15301
  $$props.$$host.addEventListener("go-submit", signUp);
15302
15302
  });
15303
- var go_form = root$6();
15303
+ var go_form = root$7();
15304
15304
  set_custom_element_data(go_form, "formId", "signUp");
15305
15305
  bind_this(go_form, ($$value) => form = $$value, () => form);
15306
15306
  append($$anchor, go_form);
@@ -15588,7 +15588,7 @@ var root_6$2 = /* @__PURE__ */ from_html(`<li data-go-cart-item-remove=""><butto
15588
15588
  var root_3$7 = /* @__PURE__ */ from_html(`<li data-go-cart-item=""><article><ul><li data-go-cart-item-title=""><span class="go-cart-item-title" data-testid="cart-item-title"> </span> <!></li> <li data-go-cart-item-price=""> </li> <li data-go-cart-item-count=""> </li> <!> <li data-go-cart-item-sum=""> </li></ul></article></li>`);
15589
15589
  var root_7$4 = /* @__PURE__ */ from_html(`<li data-go-cart-footer-remove=""></li>`);
15590
15590
  var root_8$1 = /* @__PURE__ */ from_html(`<a href="javascript:void(0);" class="go-cart-checkout-button" data-testid="checkout-button">Checkout</a>`);
15591
- var root_1$c = /* @__PURE__ */ from_html(`<ol data-testid="cart"><li data-go-cart-header="" data-testid="cart-header"><ul><li data-go-cart-header-title="">Product</li> <li data-go-cart-header-price="">Price</li> <li data-go-cart-header-count="">Count</li> <!> <li data-go-cart-header-sum="">Sum</li></ul></li> <!> <li data-go-cart-footer="" data-testid="cart-footer"><ul><li data-go-cart-footer-title=""></li> <li data-go-cart-footer-price=""></li> <li data-go-cart-footer-count=""></li> <!> <li data-go-cart-footer-sum="" data-go-cart-sum=""> </li></ul></li></ol> <!>`, 1);
15591
+ var root_1$d = /* @__PURE__ */ from_html(`<ol data-testid="cart"><li data-go-cart-header="" data-testid="cart-header"><ul><li data-go-cart-header-title="">Product</li> <li data-go-cart-header-price="">Price</li> <li data-go-cart-header-count="">Count</li> <!> <li data-go-cart-header-sum="">Sum</li></ul></li> <!> <li data-go-cart-footer="" data-testid="cart-footer"><ul><li data-go-cart-footer-title=""></li> <li data-go-cart-footer-price=""></li> <li data-go-cart-footer-count=""></li> <!> <li data-go-cart-footer-sum="" data-go-cart-sum=""> </li></ul></li></ol> <!>`, 1);
15592
15592
  function Cart($$anchor, $$props) {
15593
15593
  push($$props, true);
15594
15594
  const preview = prop($$props, "preview", 7, false);
@@ -15610,7 +15610,7 @@ function Cart($$anchor, $$props) {
15610
15610
  var node = first_child(fragment);
15611
15611
  {
15612
15612
  var consequent_6 = ($$anchor2) => {
15613
- var fragment_1 = root_1$c();
15613
+ var fragment_1 = root_1$d();
15614
15614
  var ol = first_child(fragment_1);
15615
15615
  var li = child(ol);
15616
15616
  var ul = child(li);
@@ -22934,7 +22934,7 @@ function Calendar_prev_button($$anchor, $$props) {
22934
22934
  return pop($$exports);
22935
22935
  }
22936
22936
  create_custom_element(Calendar_prev_button, { children: {}, child: {}, id: {}, ref: {}, tabindex: {} }, [], [], true);
22937
- var root_1$b = /* @__PURE__ */ from_html(`<input/>`);
22937
+ var root_1$c = /* @__PURE__ */ from_html(`<input/>`);
22938
22938
  var root_2$d = /* @__PURE__ */ from_html(`<input/>`);
22939
22939
  function Hidden_input($$anchor, $$props) {
22940
22940
  push($$props, true);
@@ -22957,7 +22957,7 @@ function Hidden_input($$anchor, $$props) {
22957
22957
  var node = first_child(fragment);
22958
22958
  {
22959
22959
  var consequent = ($$anchor2) => {
22960
- var input = root_1$b();
22960
+ var input = root_1$c();
22961
22961
  attribute_effect(input, () => ({ ...get$2(mergedProps), value: value() }), void 0, void 0, void 0, void 0, true);
22962
22962
  append($$anchor2, input);
22963
22963
  };
@@ -25405,7 +25405,7 @@ function Popper_content($$anchor, $$props) {
25405
25405
  return pop($$exports);
25406
25406
  }
25407
25407
  create_custom_element(Popper_content, { content: {}, isStatic: {}, onPlaced: {} }, [], [], true);
25408
- var root_1$a = /* @__PURE__ */ from_html(`<!> <!>`, 1);
25408
+ var root_1$b = /* @__PURE__ */ from_html(`<!> <!>`, 1);
25409
25409
  function Popper_layer_inner($$anchor, $$props) {
25410
25410
  push($$props, true);
25411
25411
  let popper = prop($$props, "popper", 7), onEscapeKeydown = prop($$props, "onEscapeKeydown", 7), escapeKeydownBehavior = prop($$props, "escapeKeydownBehavior", 7), preventOverflowTextSelection = prop($$props, "preventOverflowTextSelection", 7), id = prop($$props, "id", 7), onPointerDown = prop($$props, "onPointerDown", 7), onPointerUp = prop($$props, "onPointerUp", 7), side = prop($$props, "side", 7), sideOffset = prop($$props, "sideOffset", 7), align = prop($$props, "align", 7), alignOffset = prop($$props, "alignOffset", 7), arrowPadding = prop($$props, "arrowPadding", 7), avoidCollisions = prop($$props, "avoidCollisions", 7), collisionBoundary = prop($$props, "collisionBoundary", 7), collisionPadding = prop($$props, "collisionPadding", 7), sticky = prop($$props, "sticky", 7), hideWhenDetached = prop($$props, "hideWhenDetached", 7), updatePositionStrategy = prop($$props, "updatePositionStrategy", 7), strategy = prop($$props, "strategy", 7), dir = prop($$props, "dir", 7), preventScroll = prop($$props, "preventScroll", 7), wrapperId = prop($$props, "wrapperId", 7), style = prop($$props, "style", 7), onPlaced = prop($$props, "onPlaced", 7), onInteractOutside = prop($$props, "onInteractOutside", 7), onCloseAutoFocus = prop($$props, "onCloseAutoFocus", 7), onOpenAutoFocus = prop($$props, "onOpenAutoFocus", 7), onFocusOutside = prop($$props, "onFocusOutside", 7), interactOutsideBehavior = prop($$props, "interactOutsideBehavior", 7, "close"), loop = prop($$props, "loop", 7), trapFocus = prop($$props, "trapFocus", 7, true), isValidEvent2 = prop($$props, "isValidEvent", 7, () => false), customAnchor = prop($$props, "customAnchor", 7, null), isStatic = prop($$props, "isStatic", 7, false), enabled = prop($$props, "enabled", 7), ref = prop($$props, "ref", 7), tooltip = prop($$props, "tooltip", 7, false), restProps = /* @__PURE__ */ rest_props($$props, [
@@ -25716,7 +25716,7 @@ function Popper_layer_inner($$anchor, $$props) {
25716
25716
  const content = ($$anchor2, $$arg0) => {
25717
25717
  let floatingProps = () => $$arg0?.().props;
25718
25718
  let wrapperProps = () => $$arg0?.().wrapperProps;
25719
- var fragment_1 = root_1$a();
25719
+ var fragment_1 = root_1$b();
25720
25720
  var node = first_child(fragment_1);
25721
25721
  {
25722
25722
  var consequent = ($$anchor3) => {
@@ -28171,7 +28171,7 @@ function Date_field_hidden_input($$anchor, $$props) {
28171
28171
  }
28172
28172
  create_custom_element(Date_field_hidden_input, {}, [], [], true);
28173
28173
  var root_2$c = /* @__PURE__ */ from_html(`<div><!></div>`);
28174
- var root$5 = /* @__PURE__ */ from_html(`<!> <!>`, 1);
28174
+ var root$6 = /* @__PURE__ */ from_html(`<!> <!>`, 1);
28175
28175
  function Date_field_input($$anchor, $$props) {
28176
28176
  const uid = props_id();
28177
28177
  push($$props, true);
@@ -28229,7 +28229,7 @@ function Date_field_input($$anchor, $$props) {
28229
28229
  flushSync();
28230
28230
  }
28231
28231
  };
28232
- var fragment = root$5();
28232
+ var fragment = root$6();
28233
28233
  var node = first_child(fragment);
28234
28234
  {
28235
28235
  var consequent = ($$anchor2) => {
@@ -29581,7 +29581,7 @@ var root_2$8 = /* @__PURE__ */ from_html(`<!> <!>`, 1);
29581
29581
  var root_7$3 = /* @__PURE__ */ from_html(`<!> <!> <!>`, 1);
29582
29582
  var root_9$2 = /* @__PURE__ */ from_html(`<!> <!>`, 1);
29583
29583
  var root_6$1 = /* @__PURE__ */ from_html(`<!> <!>`, 1);
29584
- var root_1$9 = /* @__PURE__ */ from_html(`<!> <!> <!>`, 1);
29584
+ var root_1$a = /* @__PURE__ */ from_html(`<!> <!> <!>`, 1);
29585
29585
  function DatePicker_1($$anchor, $$props) {
29586
29586
  push($$props, true);
29587
29587
  let dateString = prop($$props, "dateString", 15), labelClass = prop($$props, "labelClass", 7), inputClass = prop($$props, "inputClass", 7);
@@ -29623,7 +29623,7 @@ function DatePicker_1($$anchor, $$props) {
29623
29623
  set(date2, $$value, true);
29624
29624
  },
29625
29625
  children: ($$anchor3, $$slotProps) => {
29626
- var fragment_1 = root_1$9();
29626
+ var fragment_1 = root_1$a();
29627
29627
  var node_1 = first_child(fragment_1);
29628
29628
  component(node_1, () => Date_field_label, ($$anchor4, DatePicker_Label) => {
29629
29629
  DatePicker_Label($$anchor4, {
@@ -29831,7 +29831,7 @@ function DatePicker_1($$anchor, $$props) {
29831
29831
  }
29832
29832
  create_custom_element(DatePicker_1, { dateString: {}, labelClass: {}, inputClass: {} }, [], [], true);
29833
29833
  var root_2$7 = /* @__PURE__ */ from_html(`<span class="go-field-star" aria-hidden="true">*</span>`);
29834
- var root_1$8 = /* @__PURE__ */ from_html(`<!> <!>`, 1);
29834
+ var root_1$9 = /* @__PURE__ */ from_html(`<!> <!>`, 1);
29835
29835
  var root_3$5 = /* @__PURE__ */ from_html(`<label><!></label> <input/>`, 1);
29836
29836
  var root_4$3 = /* @__PURE__ */ from_html(`<label><input/> <span class="go-checkbox-label"><!></span></label>`);
29837
29837
  var root_7$2 = /* @__PURE__ */ from_html(`<option> </option>`);
@@ -29841,7 +29841,7 @@ var root_9$1 = /* @__PURE__ */ from_html(`<fieldset><legend><!></legend> <!></fi
29841
29841
  function InputAndLabel($$anchor, $$props) {
29842
29842
  push($$props, true);
29843
29843
  const labelText = ($$anchor2) => {
29844
- var fragment = root_1$8();
29844
+ var fragment = root_1$9();
29845
29845
  var node = first_child(fragment);
29846
29846
  html$2(node, () => purify.sanitize(field().label));
29847
29847
  var node_1 = sibling(node, 2);
@@ -30134,10 +30134,10 @@ create_custom_element(
30134
30134
  [],
30135
30135
  true
30136
30136
  );
30137
- var root_1$7 = /* @__PURE__ */ from_html(`<span> </span>`);
30137
+ var root_1$8 = /* @__PURE__ */ from_html(`<span> </span>`);
30138
30138
  var root_3$4 = /* @__PURE__ */ from_html(`<li> </li>`);
30139
30139
  var root_2$6 = /* @__PURE__ */ from_html(`<ul class="go-field-errors" role="alert"></ul>`);
30140
- var root$4 = /* @__PURE__ */ from_html(`<!> <!> <!>`, 1);
30140
+ var root$5 = /* @__PURE__ */ from_html(`<!> <!> <!>`, 1);
30141
30141
  function Field($$anchor, $$props) {
30142
30142
  push($$props, true);
30143
30143
  let key = prop($$props, "key", 7), required = prop($$props, "required", 7, false), labelClass = prop($$props, "labelClass", 7), inputClass = prop($$props, "inputClass", 7);
@@ -30201,7 +30201,7 @@ function Field($$anchor, $$props) {
30201
30201
  flushSync();
30202
30202
  }
30203
30203
  };
30204
- var fragment = root$4();
30204
+ var fragment = root$5();
30205
30205
  var node = first_child(fragment);
30206
30206
  InputAndLabel(node, {
30207
30207
  get describedById() {
@@ -30224,7 +30224,7 @@ function Field($$anchor, $$props) {
30224
30224
  var node_1 = sibling(node, 2);
30225
30225
  {
30226
30226
  var consequent = ($$anchor2) => {
30227
- var span = root_1$7();
30227
+ var span = root_1$8();
30228
30228
  var text2 = child(span, true);
30229
30229
  reset(span);
30230
30230
  template_effect(() => {
@@ -30271,7 +30271,7 @@ customElements.define("go-field", create_custom_element(
30271
30271
  ["getField"],
30272
30272
  false
30273
30273
  ));
30274
- var root_1$6 = /* @__PURE__ */ from_html(`<go-field></go-field>`, 2);
30274
+ var root_1$7 = /* @__PURE__ */ from_html(`<go-field></go-field>`, 2);
30275
30275
  function AllFields($$anchor, $$props) {
30276
30276
  push($$props, true);
30277
30277
  let _details = getDetails$1($$props.$$host);
@@ -30280,7 +30280,7 @@ function AllFields($$anchor, $$props) {
30280
30280
  var fragment = comment();
30281
30281
  var node = first_child(fragment);
30282
30282
  each(node, 17, () => get$2(allFields2), index$1, ($$anchor2, field) => {
30283
- var go_field = root_1$6();
30283
+ var go_field = root_1$7();
30284
30284
  template_effect(() => set_custom_element_data(go_field, "key", get$2(field).key));
30285
30285
  template_effect(() => set_custom_element_data(go_field, "required", get$2(field).required));
30286
30286
  append($$anchor2, go_field);
@@ -30293,7 +30293,7 @@ var root_2$5 = /* @__PURE__ */ from_html(`<p aria-live="assertive" class="sr-onl
30293
30293
  var root_4$2 = /* @__PURE__ */ from_html(`<li> </li>`);
30294
30294
  var root_3$3 = /* @__PURE__ */ from_html(`<ul class="go-error-feedback-api-errors"></ul>`);
30295
30295
  var root_5 = /* @__PURE__ */ from_html(`<p aria-hidden="true"> </p>`);
30296
- var root_1$5 = /* @__PURE__ */ from_html(`<div><!> <!> <!></div>`);
30296
+ var root_1$6 = /* @__PURE__ */ from_html(`<div><!> <!> <!></div>`);
30297
30297
  function ErrorsFeedback($$anchor, $$props) {
30298
30298
  push($$props, true);
30299
30299
  const _details = getDetails$1($$props.$$host);
@@ -30310,7 +30310,7 @@ function ErrorsFeedback($$anchor, $$props) {
30310
30310
  var node = first_child(fragment);
30311
30311
  {
30312
30312
  var consequent_3 = ($$anchor2) => {
30313
- var div = root_1$5();
30313
+ var div = root_1$6();
30314
30314
  let classes;
30315
30315
  var node_1 = child(div);
30316
30316
  {
@@ -30370,9 +30370,9 @@ function ErrorsFeedback($$anchor, $$props) {
30370
30370
  pop();
30371
30371
  }
30372
30372
  customElements.define("go-errors-feedback", create_custom_element(ErrorsFeedback, {}, [], [], false));
30373
- var root$3 = /* @__PURE__ */ from_html(`<div class="go-form-feedback"><!></div>`);
30373
+ var root$4 = /* @__PURE__ */ from_html(`<div class="go-form-feedback"><!></div>`);
30374
30374
  function FormFeedback($$anchor, $$props) {
30375
- var div = root$3();
30375
+ var div = root$4();
30376
30376
  var node = child(div);
30377
30377
  slot(node, $$props, "default", {});
30378
30378
  reset(div);
@@ -30405,7 +30405,7 @@ customElements.define("go-submit", create_custom_element(
30405
30405
  [],
30406
30406
  false
30407
30407
  ));
30408
- var root_1$4 = /* @__PURE__ */ from_html(`<div aria-live="assertive"> </div>`);
30408
+ var root_1$5 = /* @__PURE__ */ from_html(`<div aria-live="assertive"> </div>`);
30409
30409
  function SuccessFeedback($$anchor, $$props) {
30410
30410
  push($$props, true);
30411
30411
  const _details = getDetails$1($$props.$$host);
@@ -30414,7 +30414,7 @@ function SuccessFeedback($$anchor, $$props) {
30414
30414
  var node = first_child(fragment);
30415
30415
  {
30416
30416
  var consequent = ($$anchor2) => {
30417
- var div = root_1$4();
30417
+ var div = root_1$5();
30418
30418
  let classes;
30419
30419
  var text2 = child(div, true);
30420
30420
  reset(div);
@@ -30788,6 +30788,67 @@ function Order($$anchor, $$props) {
30788
30788
  return pop($$exports);
30789
30789
  }
30790
30790
  customElements.define("go-order", create_custom_element(Order, { token: { attribute: "token", reflect: true, type: "String" } }, [], ["orderDetails"], false));
30791
+ var root_1$4 = /* @__PURE__ */ from_html(`<br/> <span class="go-order-item-quantities"> </span>`, 1);
30792
+ var root$3 = /* @__PURE__ */ from_html(`<li><article><ul><li class="go-order-breakdown-count">1</li> <li class="go-order-breakdown-product"><span class="go-order-item-title"> </span> <!> <a class="go-ticket-download" target="_blank">Download</a></li> <li class="go-order-breakdown-item-price"> </li> <li class="go-order-breakdown-passbook"></li></ul></article></li>`);
30793
+ function Event$1($$anchor, $$props) {
30794
+ push($$props, true);
30795
+ let item = prop($$props, "item", 7), orderDetails = prop($$props, "orderDetails", 7);
30796
+ var $$exports = {
30797
+ get item() {
30798
+ return item();
30799
+ },
30800
+ set item($$value) {
30801
+ item($$value);
30802
+ flushSync();
30803
+ },
30804
+ get orderDetails() {
30805
+ return orderDetails();
30806
+ },
30807
+ set orderDetails($$value) {
30808
+ orderDetails($$value);
30809
+ flushSync();
30810
+ }
30811
+ };
30812
+ var li = root$3();
30813
+ var article = child(li);
30814
+ var ul = child(article);
30815
+ var li_1 = sibling(child(ul), 2);
30816
+ var span = child(li_1);
30817
+ var text2 = child(span, true);
30818
+ reset(span);
30819
+ var node = sibling(span, 2);
30820
+ each(node, 17, () => item().attributes.quantities, index$1, ($$anchor2, scalePrice) => {
30821
+ var fragment = root_1$4();
30822
+ var span_1 = sibling(first_child(fragment), 2);
30823
+ var text_1 = child(span_1);
30824
+ reset(span_1);
30825
+ template_effect(() => set_text(text_1, `${get$2(scalePrice).quantity ?? ""} x ${get$2(scalePrice).title ?? ""}`));
30826
+ append($$anchor2, fragment);
30827
+ });
30828
+ var a2 = sibling(node, 2);
30829
+ reset(li_1);
30830
+ var li_2 = sibling(li_1, 2);
30831
+ var text_2 = child(li_2, true);
30832
+ reset(li_2);
30833
+ next(2);
30834
+ reset(ul);
30835
+ reset(article);
30836
+ reset(li);
30837
+ template_effect(
30838
+ ($0, $1) => {
30839
+ set_text(text2, item().attributes.title);
30840
+ set_attribute(a2, "href", $0);
30841
+ set_text(text_2, $1);
30842
+ },
30843
+ [
30844
+ () => orderDetails().downloadLink(item()),
30845
+ () => formatCurrency$1(item().price_cents)
30846
+ ]
30847
+ );
30848
+ append($$anchor, li);
30849
+ return pop($$exports);
30850
+ }
30851
+ create_custom_element(Event$1, { item: {}, orderDetails: {} }, [], [], true);
30791
30852
  var root_4$1 = /* @__PURE__ */ from_html(`<span class="go-cart-item-date"> </span> <span class="go-cart-item-time"> </span>`, 1);
30792
30853
  var root_6 = /* @__PURE__ */ from_html(`<span class="go-cart-item-date"> </span>`);
30793
30854
  var root_7$1 = /* @__PURE__ */ from_html(`<a class="go-ticket-download" target="_blank">Download</a>`);
@@ -31012,7 +31073,7 @@ function Breakdown($$anchor, $$props) {
31012
31073
  var fragment = comment();
31013
31074
  var node = first_child(fragment);
31014
31075
  {
31015
- var consequent_1 = ($$anchor2) => {
31076
+ var consequent_2 = ($$anchor2) => {
31016
31077
  var ol = root_1$3();
31017
31078
  var node_1 = sibling(child(ol), 2);
31018
31079
  each(node_1, 17, () => get$2(order).items, (item) => item.id, ($$anchor3, item) => {
@@ -31029,8 +31090,33 @@ function Breakdown($$anchor, $$props) {
31029
31090
  }
31030
31091
  });
31031
31092
  };
31093
+ var alternate = ($$anchor4) => {
31094
+ var fragment_3 = comment();
31095
+ var node_3 = first_child(fragment_3);
31096
+ {
31097
+ var consequent_1 = ($$anchor5) => {
31098
+ Event$1($$anchor5, {
31099
+ get item() {
31100
+ return get$2(item);
31101
+ },
31102
+ get orderDetails() {
31103
+ return get$2(orderDetails);
31104
+ }
31105
+ });
31106
+ };
31107
+ if_block(
31108
+ node_3,
31109
+ ($$render) => {
31110
+ if (get$2(item).type === "Event") $$render(consequent_1);
31111
+ },
31112
+ true
31113
+ );
31114
+ }
31115
+ append($$anchor4, fragment_3);
31116
+ };
31032
31117
  if_block(node_2, ($$render) => {
31033
31118
  if (get$2(item).type === "Ticket") $$render(consequent);
31119
+ else $$render(alternate, false);
31034
31120
  });
31035
31121
  }
31036
31122
  append($$anchor3, fragment_1);
@@ -31048,7 +31134,7 @@ function Breakdown($$anchor, $$props) {
31048
31134
  append($$anchor2, ol);
31049
31135
  };
31050
31136
  if_block(node, ($$render) => {
31051
- if (get$2(order)) $$render(consequent_1);
31137
+ if (get$2(order)) $$render(consequent_2);
31052
31138
  });
31053
31139
  }
31054
31140
  append($$anchor, fragment);
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "name": "Giantmonkey GmbH"
5
5
  },
6
6
  "license": "MIT",
7
- "version": "1.22.2",
7
+ "version": "1.22.3",
8
8
  "type": "module",
9
9
  "main": "./dist-js/gomus-webcomponents.iife.js",
10
10
  "module": "./dist-js/gomus-webcomponents.iife.js",