@gomusdev/web-components 4.16.0 → 4.16.1

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.
@@ -9262,7 +9262,7 @@ var Ex = {
9262
9262
  default(e) {
9263
9263
  return this.defaultConfig = qt(this.defaultConfig, e), this.update(), this;
9264
9264
  }
9265
- }, Je = new xx(), av = class {
9265
+ }, Ke = new xx(), av = class {
9266
9266
  #e = /* @__PURE__ */ oe();
9267
9267
  get token() {
9268
9268
  return d(this.#e);
@@ -9288,7 +9288,7 @@ var Ex = {
9288
9288
  return this.ticketSale?.is_bmc_ticket || !1;
9289
9289
  }
9290
9290
  goToPersonalization(e) {
9291
- return Je.config.urls.annualTicketPersonalizationForm ? Je.config.urls.annualTicketPersonalizationForm(this.token, e.id) : k.urls.annualTicketPersonalizationForm(this.token, e.id);
9291
+ return Ke.config.urls.annualTicketPersonalizationForm ? Ke.config.urls.annualTicketPersonalizationForm(this.token, e.id) : k.urls.annualTicketPersonalizationForm(this.token, e.id);
9292
9292
  }
9293
9293
  }, sv = "go-annual-ticket-personalization", ov = Ki(sv), Tx = Yi(sv), Ax = /* @__PURE__ */ U("<li><a> </a></li>"), Cx = /* @__PURE__ */ U('<ul class="go-annual-ticket"><li class="go-annual-ticket-title"> </li> <li class="go-annual-ticket-personalization-count"> </li> <!></ul>');
9294
9294
  function Ox(e, t) {
@@ -9616,13 +9616,13 @@ function Mx(e) {
9616
9616
  var Nt = class Ls {
9617
9617
  static #e = {};
9618
9618
  static defineForm(t) {
9619
- Je.default({ forms: { [t.id]: {
9619
+ Ke.default({ forms: { [t.id]: {
9620
9620
  fields: t.fields,
9621
9621
  submitLabel: t.submitLabel
9622
9622
  } } });
9623
9623
  }
9624
9624
  static defineFields(t) {
9625
- Je.default({ fields: t });
9625
+ Ke.default({ fields: t });
9626
9626
  }
9627
9627
  static {
9628
9628
  Ls.defineFields(Dx);
@@ -9631,7 +9631,7 @@ var Nt = class Ls {
9631
9631
  Ls.#e[t] = r;
9632
9632
  }
9633
9633
  static getFormOptions(t) {
9634
- return Je.config.forms[t];
9634
+ return Ke.config.forms[t];
9635
9635
  }
9636
9636
  static createField(t, r) {
9637
9637
  const n = Ls.getFieldInit(t);
@@ -9642,11 +9642,11 @@ var Nt = class Ls {
9642
9642
  return $x(t);
9643
9643
  }
9644
9644
  static getFieldInit(t) {
9645
- return Je.config.fields[t];
9645
+ return Ke.config.fields[t];
9646
9646
  }
9647
9647
  };
9648
9648
  function $x(e) {
9649
- const t = Je.config.forms[e];
9649
+ const t = Ke.config.forms[e];
9650
9650
  if (!t) throw new Error(`(formFields) Form ${e} not found`);
9651
9651
  const r = t.fields;
9652
9652
  return r || (console.warn("(formFields) No fields defined for form", e), []);
@@ -9714,10 +9714,10 @@ function Fx(e, t) {
9714
9714
  i.details.apiErrors = S.error.error ? [S.error.error] : [];
9715
9715
  return;
9716
9716
  }
9717
- const T = Je.config.forms.personalization?.beforeSubmit;
9717
+ const T = Ke.config.forms.personalization?.beforeSubmit;
9718
9718
  T && T(E);
9719
- const A = Je.config.urls.annualTicketPersonalizationFormSubmit?.(r());
9720
- A && Je.config.navigateTo(A);
9719
+ const A = Ke.config.urls.annualTicketPersonalizationFormSubmit?.(r());
9720
+ A && Ke.config.navigateTo(A);
9721
9721
  }
9722
9722
  let o = null, l = null, c = null, f = 0;
9723
9723
  function u(v) {
@@ -10561,7 +10561,7 @@ var mT = /* @__PURE__ */ U("<option> </option>"), vT = /* @__PURE__ */ U('<selec
10561
10561
  function No(e, t) {
10562
10562
  te(t, !0);
10563
10563
  let r = _(t, "value", 7), n = _(t, "min", 7), i = _(t, "max", 7), a = _(t, "label", 7), s = _(t, "floor", 7, 0), o = _(t, "deselectable", 7, !0), l = _(t, "onDecrementBelowMin", 7), c = _(t, "onChange", 7);
10564
- const f = /* @__PURE__ */ P(() => Je.config.quantityStepper);
10564
+ const f = /* @__PURE__ */ P(() => Ke.config.quantityStepper);
10565
10565
  var u = {
10566
10566
  get value() {
10567
10567
  return r();
@@ -12492,13 +12492,13 @@ async function Sv(e, t) {
12492
12492
  e.details.apiErrors = i.error;
12493
12493
  return;
12494
12494
  }
12495
- const a = Je.config.forms[t]?.beforeSubmit;
12495
+ const a = Ke.config.forms[t]?.beforeSubmit;
12496
12496
  a && await a(e.details.formData);
12497
- const s = i.data.meta, o = Je.config.navigateTo;
12497
+ const s = i.data.meta, o = Ke.config.navigateTo, l = Ke.config.urls.checkoutFailure ?? k.urls.checkoutFailure;
12498
12498
  if (s.status === "success") {
12499
- const l = Je.config.urls.checkoutSuccess ?? k.urls.checkoutSuccess;
12500
- o?.(l(i.data.order.token));
12501
- } else s.status === "fail" ? o?.(k.urls.checkoutFailure("")) : s.payment_url ? o?.(s.payment_url) : s.payment_data ? kA(s.payment_data) : o?.(k.urls.checkoutFailure(""));
12499
+ const c = Ke.config.urls.checkoutSuccess ?? k.urls.checkoutSuccess;
12500
+ o?.(c(i.data.order.token));
12501
+ } else s.status === "fail" ? o?.(l("")) : s.payment_url ? o?.(s.payment_url) : s.payment_data ? kA(s.payment_data) : o?.(l(""));
12502
12502
  }
12503
12503
  function Ev(e, t) {
12504
12504
  Nt.defineForm({
@@ -13233,7 +13233,7 @@ var vC = [
13233
13233
  function yC(e) {
13234
13234
  return gC.has(e);
13235
13235
  }
13236
- function Ke(...e) {
13236
+ function Ye(...e) {
13237
13237
  const t = { ...e[0] };
13238
13238
  for (let r = 1; r < e.length; r++) {
13239
13239
  const n = e[r];
@@ -16916,7 +16916,7 @@ function Pg(e, t) {
16916
16916
  monthFormat: z(() => q()),
16917
16917
  yearFormat: z(() => le()),
16918
16918
  defaultPlaceholder: H
16919
- }), ce = /* @__PURE__ */ P(() => Ke(he, fe.props));
16919
+ }), ce = /* @__PURE__ */ P(() => Ye(he, fe.props));
16920
16920
  var de = {
16921
16921
  get child() {
16922
16922
  return r();
@@ -17153,7 +17153,7 @@ function Oc(e, t) {
17153
17153
  const l = MD.create({
17154
17154
  id: z(() => s()),
17155
17155
  ref: z(() => a(), (v) => a(v))
17156
- }), c = /* @__PURE__ */ P(() => Ke(o, l.props));
17156
+ }), c = /* @__PURE__ */ P(() => Ye(o, l.props));
17157
17157
  var f = {
17158
17158
  get children() {
17159
17159
  return n();
@@ -17230,7 +17230,7 @@ function Dc(e, t) {
17230
17230
  const l = ND.create({
17231
17231
  id: z(() => s()),
17232
17232
  ref: z(() => a(), (v) => a(v))
17233
- }), c = /* @__PURE__ */ P(() => Ke(o, l.props));
17233
+ }), c = /* @__PURE__ */ P(() => Ye(o, l.props));
17234
17234
  var f = {
17235
17235
  get children() {
17236
17236
  return n();
@@ -17292,7 +17292,7 @@ function Ic(e, t) {
17292
17292
  const l = RD.create({
17293
17293
  id: z(() => s()),
17294
17294
  ref: z(() => a(), (v) => a(v))
17295
- }), c = /* @__PURE__ */ P(() => Ke(o, l.props));
17295
+ }), c = /* @__PURE__ */ P(() => Ye(o, l.props));
17296
17296
  var f = {
17297
17297
  get children() {
17298
17298
  return n();
@@ -17358,7 +17358,7 @@ function Pc(e, t) {
17358
17358
  ref: z(() => a(), (y) => a(y)),
17359
17359
  date: z(() => o()),
17360
17360
  month: z(() => l())
17361
- }), u = /* @__PURE__ */ P(() => Ke(c, f.props));
17361
+ }), u = /* @__PURE__ */ P(() => Ye(c, f.props));
17362
17362
  var p = {
17363
17363
  get children() {
17364
17364
  return n();
@@ -17441,7 +17441,7 @@ function Mc(e, t) {
17441
17441
  const l = LD.create({
17442
17442
  id: z(() => s()),
17443
17443
  ref: z(() => a(), (v) => a(v))
17444
- }), c = /* @__PURE__ */ P(() => Ke(o, l.props));
17444
+ }), c = /* @__PURE__ */ P(() => Ye(o, l.props));
17445
17445
  var f = {
17446
17446
  get children() {
17447
17447
  return n();
@@ -17503,7 +17503,7 @@ function $c(e, t) {
17503
17503
  const l = qD.create({
17504
17504
  id: z(() => s()),
17505
17505
  ref: z(() => a(), (v) => a(v))
17506
- }), c = /* @__PURE__ */ P(() => Ke(o, l.props));
17506
+ }), c = /* @__PURE__ */ P(() => Ye(o, l.props));
17507
17507
  var f = {
17508
17508
  get children() {
17509
17509
  return n();
@@ -17565,7 +17565,7 @@ function qa(e, t) {
17565
17565
  const l = zD.create({
17566
17566
  id: z(() => s()),
17567
17567
  ref: z(() => a(), (v) => a(v))
17568
- }), c = /* @__PURE__ */ P(() => Ke(o, l.props));
17568
+ }), c = /* @__PURE__ */ P(() => Ye(o, l.props));
17569
17569
  var f = {
17570
17570
  get children() {
17571
17571
  return n();
@@ -17627,7 +17627,7 @@ function Fc(e, t) {
17627
17627
  const l = UD.create({
17628
17628
  id: z(() => s()),
17629
17629
  ref: z(() => a(), (v) => a(v))
17630
- }), c = /* @__PURE__ */ P(() => Ke(o, l.props));
17630
+ }), c = /* @__PURE__ */ P(() => Ye(o, l.props));
17631
17631
  var f = {
17632
17632
  get children() {
17633
17633
  return n();
@@ -17689,7 +17689,7 @@ function Nc(e, t) {
17689
17689
  const l = ID.create({
17690
17690
  id: z(() => s()),
17691
17691
  ref: z(() => a(), (v) => a(v))
17692
- }), c = /* @__PURE__ */ P(() => Ke(o, l.props));
17692
+ }), c = /* @__PURE__ */ P(() => Ye(o, l.props));
17693
17693
  var f = {
17694
17694
  get children() {
17695
17695
  return n();
@@ -17763,7 +17763,7 @@ function Rc(e, t) {
17763
17763
  const c = $D.create({
17764
17764
  id: z(() => a()),
17765
17765
  ref: z(() => s(), (m) => s(m))
17766
- }), f = /* @__PURE__ */ P(() => Ke(l, c.props, { tabindex: o() }));
17766
+ }), f = /* @__PURE__ */ P(() => Ye(l, c.props, { tabindex: o() }));
17767
17767
  var u = {
17768
17768
  get children() {
17769
17769
  return n();
@@ -17833,7 +17833,7 @@ function Lc(e, t) {
17833
17833
  const c = FD.create({
17834
17834
  id: z(() => a()),
17835
17835
  ref: z(() => s(), (m) => s(m))
17836
- }), f = /* @__PURE__ */ P(() => Ke(l, c.props, { tabindex: o() }));
17836
+ }), f = /* @__PURE__ */ P(() => Ye(l, c.props, { tabindex: o() }));
17837
17837
  var u = {
17838
17838
  get children() {
17839
17839
  return n();
@@ -17895,7 +17895,7 @@ var fI = /* @__PURE__ */ new Set([
17895
17895
  function Mg(e, t) {
17896
17896
  te(t, !0);
17897
17897
  let r = _(t, "value", 15), n = /* @__PURE__ */ Ge(t, fI);
17898
- const i = /* @__PURE__ */ P(() => Ke(n, {
17898
+ const i = /* @__PURE__ */ P(() => Ye(n, {
17899
17899
  "aria-hidden": "true",
17900
17900
  tabindex: -1,
17901
17901
  style: {
@@ -19364,7 +19364,7 @@ function Hg(e, t) {
19364
19364
  enabled: z(() => A()),
19365
19365
  wrapperId: z(() => S()),
19366
19366
  customAnchor: z(() => T())
19367
- }, I()), N = /* @__PURE__ */ P(() => Ke(M.wrapperProps, { style: { pointerEvents: "auto" } }));
19367
+ }, I()), N = /* @__PURE__ */ P(() => Ye(M.wrapperProps, { style: { pointerEvents: "auto" } }));
19368
19368
  var V = {
19369
19369
  get content() {
19370
19370
  return r();
@@ -20052,7 +20052,7 @@ function Gc(e, t) {
20052
20052
  var wn = ae(), vi = B(wn);
20053
20053
  {
20054
20054
  let gi = /* @__PURE__ */ P(() => ({
20055
- props: Ke(ie, De(), Nr(), ar(), { style: { pointerEvents: $() } }),
20055
+ props: Ye(ie, De(), Nr(), ar(), { style: { pointerEvents: $() } }),
20056
20056
  wrapperProps: Re()
20057
20057
  }));
20058
20058
  Se(vi, () => r() ?? qe, () => d(gi));
@@ -21863,7 +21863,7 @@ function sy(e, t) {
21863
21863
  id: z(() => n()),
21864
21864
  ref: z(() => i(), (m) => i(m)),
21865
21865
  name: z(() => a())
21866
- }), f = /* @__PURE__ */ P(() => Ke(l, c.props));
21866
+ }), f = /* @__PURE__ */ P(() => Ye(l, c.props));
21867
21867
  var u = {
21868
21868
  get id() {
21869
21869
  return n();
@@ -21935,7 +21935,7 @@ function oy(e, t) {
21935
21935
  const l = EP.create({
21936
21936
  id: z(() => n()),
21937
21937
  ref: z(() => i(), (v) => i(v))
21938
- }), c = /* @__PURE__ */ P(() => Ke(o, l.props));
21938
+ }), c = /* @__PURE__ */ P(() => Ye(o, l.props));
21939
21939
  var f = {
21940
21940
  get id() {
21941
21941
  return n();
@@ -21998,7 +21998,7 @@ function ly(e, t) {
21998
21998
  const c = $P.create(o(), {
21999
21999
  id: z(() => n()),
22000
22000
  ref: z(() => i(), (m) => i(m))
22001
- }), f = /* @__PURE__ */ P(() => Ke(l, c.props));
22001
+ }), f = /* @__PURE__ */ P(() => Ye(l, c.props));
22002
22002
  var u = {
22003
22003
  get id() {
22004
22004
  return n();
@@ -22899,7 +22899,7 @@ function my(e, t) {
22899
22899
  }),
22900
22900
  monthFormat: l.opts.monthFormat,
22901
22901
  yearFormat: l.opts.yearFormat
22902
- }), f = /* @__PURE__ */ P(() => Ke(o, c.props));
22902
+ }), f = /* @__PURE__ */ P(() => Ye(o, c.props));
22903
22903
  var u = {
22904
22904
  get children() {
22905
22905
  return n();
@@ -22980,7 +22980,7 @@ function vy(e, t) {
22980
22980
  onInteractOutside: z(() => u()),
22981
22981
  onEscapeKeydown: z(() => f()),
22982
22982
  customAnchor: z(() => g())
22983
- }), E = /* @__PURE__ */ P(() => Ke(m, y.props)), S = /* @__PURE__ */ P(() => p() && y.shouldTrapFocus);
22983
+ }), E = /* @__PURE__ */ P(() => Ye(m, y.props)), S = /* @__PURE__ */ P(() => p() && y.shouldTrapFocus);
22984
22984
  function T(R) {
22985
22985
  y.shouldTrapFocus || R.preventDefault(), l()(R);
22986
22986
  }
@@ -23094,7 +23094,7 @@ function vy(e, t) {
23094
23094
  },
23095
23095
  popper: (q, le) => {
23096
23096
  let he = () => le?.().props, H = () => le?.().wrapperProps;
23097
- const se = /* @__PURE__ */ P(() => Ke(he(), { style: wh("popover") }, { style: v() }));
23097
+ const se = /* @__PURE__ */ P(() => Ye(he(), { style: wh("popover") }, { style: v() }));
23098
23098
  var W = ae(), fe = B(W), ce = (J) => {
23099
23099
  var ee = ae(), $ = B(ee);
23100
23100
  {
@@ -23151,7 +23151,7 @@ function vy(e, t) {
23151
23151
  },
23152
23152
  popper: (q, le) => {
23153
23153
  let he = () => le?.().props, H = () => le?.().wrapperProps;
23154
- const se = /* @__PURE__ */ P(() => Ke(he(), { style: wh("popover") }, { style: v() }));
23154
+ const se = /* @__PURE__ */ P(() => Ye(he(), { style: wh("popover") }, { style: v() }));
23155
23155
  var W = ae(), fe = B(W), ce = (J) => {
23156
23156
  var ee = ae(), $ = B(ee);
23157
23157
  {
@@ -23208,7 +23208,7 @@ var JP = /* @__PURE__ */ new Set([
23208
23208
  function gy(e, t) {
23209
23209
  te(t, !0);
23210
23210
  let r = _(t, "ref", 15, null), n = _(t, "onOpenAutoFocus", 7), i = /* @__PURE__ */ Ge(t, JP);
23211
- const a = /* @__PURE__ */ P(() => Ke({ onOpenAutoFocus: n() }, { onOpenAutoFocus: xD }));
23211
+ const a = /* @__PURE__ */ P(() => Ye({ onOpenAutoFocus: n() }, { onOpenAutoFocus: xD }));
23212
23212
  var s = {
23213
23213
  get ref() {
23214
23214
  return r();
@@ -23262,7 +23262,7 @@ function yy(e, t) {
23262
23262
  openOnHover: z(() => c()),
23263
23263
  openDelay: z(() => f()),
23264
23264
  closeDelay: z(() => u())
23265
- }), g = /* @__PURE__ */ P(() => Ke(p, h.props, { type: o() }));
23265
+ }), g = /* @__PURE__ */ P(() => Ye(p, h.props, { type: o() }));
23266
23266
  var v = {
23267
23267
  get children() {
23268
23268
  return n();
@@ -23372,7 +23372,7 @@ function by(e, t) {
23372
23372
  ls(l, c);
23373
23373
  }
23374
23374
  }
23375
- const s = /* @__PURE__ */ P(() => Ke({ onkeydown: n() }, { onkeydown: a }));
23375
+ const s = /* @__PURE__ */ P(() => Ye({ onkeydown: n() }, { onkeydown: a }));
23376
23376
  var o = {
23377
23377
  get ref() {
23378
23378
  return r();
@@ -24565,31 +24565,31 @@ ot.prototype.parseError = function(e) {
24565
24565
  var t = this.getCoordinates();
24566
24566
  throw new Error("parse error [" + t.line + ":" + t.column + "]: " + e);
24567
24567
  };
24568
- function Ye(e, t, r) {
24568
+ function Je(e, t, r) {
24569
24569
  this.parser = e, this.tokens = t, this.current = null, this.nextToken = null, this.next(), this.savedCurrent = null, this.savedNextToken = null, this.allowMemberAccess = r.allowMemberAccess !== !1;
24570
24570
  }
24571
- Ye.prototype.next = function() {
24571
+ Je.prototype.next = function() {
24572
24572
  return this.current = this.nextToken, this.nextToken = this.tokens.next();
24573
24573
  };
24574
- Ye.prototype.tokenMatches = function(e, t) {
24574
+ Je.prototype.tokenMatches = function(e, t) {
24575
24575
  return typeof t > "u" ? !0 : Array.isArray(t) ? Ci(t, e.value) : typeof t == "function" ? t(e) : e.value === t;
24576
24576
  };
24577
- Ye.prototype.save = function() {
24577
+ Je.prototype.save = function() {
24578
24578
  this.savedCurrent = this.current, this.savedNextToken = this.nextToken, this.tokens.save();
24579
24579
  };
24580
- Ye.prototype.restore = function() {
24580
+ Je.prototype.restore = function() {
24581
24581
  this.tokens.restore(), this.current = this.savedCurrent, this.nextToken = this.savedNextToken;
24582
24582
  };
24583
- Ye.prototype.accept = function(e, t) {
24583
+ Je.prototype.accept = function(e, t) {
24584
24584
  return this.nextToken.type === e && this.tokenMatches(this.nextToken, t) ? (this.next(), !0) : !1;
24585
24585
  };
24586
- Ye.prototype.expect = function(e, t) {
24586
+ Je.prototype.expect = function(e, t) {
24587
24587
  if (!this.accept(e, t)) {
24588
24588
  var r = this.tokens.getCoordinates();
24589
24589
  throw new Error("parse error [" + r.line + ":" + r.column + "]: Expected " + (t || e));
24590
24590
  }
24591
24591
  };
24592
- Ye.prototype.parseAtom = function(e) {
24592
+ Je.prototype.parseAtom = function(e) {
24593
24593
  var t = this.tokens.unaryOps;
24594
24594
  function r(i) {
24595
24595
  return i.value in t;
@@ -24606,23 +24606,23 @@ Ye.prototype.parseAtom = function(e) {
24606
24606
  }
24607
24607
  else throw new Error("unexpected " + this.nextToken);
24608
24608
  };
24609
- Ye.prototype.parseExpression = function(e) {
24609
+ Je.prototype.parseExpression = function(e) {
24610
24610
  var t = [];
24611
24611
  this.parseUntilEndStatement(e, t) || (this.parseVariableAssignmentExpression(t), !this.parseUntilEndStatement(e, t) && this.pushExpression(e, t));
24612
24612
  };
24613
- Ye.prototype.pushExpression = function(e, t) {
24613
+ Je.prototype.pushExpression = function(e, t) {
24614
24614
  for (var r = 0, n = t.length; r < n; r++) e.push(t[r]);
24615
24615
  };
24616
- Ye.prototype.parseUntilEndStatement = function(e, t) {
24616
+ Je.prototype.parseUntilEndStatement = function(e, t) {
24617
24617
  return this.accept(id) ? (this.nextToken && this.nextToken.type !== Ba && !(this.nextToken.type === mn && this.nextToken.value === ")") && t.push(new Ne(Yo)), this.nextToken.type !== Ba && this.parseExpression(t), e.push(new Ne(Ht, t)), !0) : !1;
24618
24618
  };
24619
- Ye.prototype.parseArrayList = function(e) {
24619
+ Je.prototype.parseArrayList = function(e) {
24620
24620
  for (var t = 0; !this.accept(Ui, "]"); )
24621
24621
  for (this.parseExpression(e), ++t; this.accept(Xo); )
24622
24622
  this.parseExpression(e), ++t;
24623
24623
  return t;
24624
24624
  };
24625
- Ye.prototype.parseVariableAssignmentExpression = function(e) {
24625
+ Je.prototype.parseVariableAssignmentExpression = function(e) {
24626
24626
  for (this.parseConditionalExpression(e); this.accept(He, "="); ) {
24627
24627
  var t = e.pop(), r = [], n = e.length - 1;
24628
24628
  if (t.type === zi) {
@@ -24638,19 +24638,19 @@ Ye.prototype.parseVariableAssignmentExpression = function(e) {
24638
24638
  this.parseVariableAssignmentExpression(r), e.push(new Ne(ci, t.value)), e.push(new Ne(Ht, r)), e.push(yn("="));
24639
24639
  }
24640
24640
  };
24641
- Ye.prototype.parseConditionalExpression = function(e) {
24641
+ Je.prototype.parseConditionalExpression = function(e) {
24642
24642
  for (this.parseOrExpression(e); this.accept(He, "?"); ) {
24643
24643
  var t = [], r = [];
24644
24644
  this.parseConditionalExpression(t), this.expect(He, ":"), this.parseConditionalExpression(r), e.push(new Ne(Ht, t)), e.push(new Ne(Ht, r)), e.push(ky("?"));
24645
24645
  }
24646
24646
  };
24647
- Ye.prototype.parseOrExpression = function(e) {
24647
+ Je.prototype.parseOrExpression = function(e) {
24648
24648
  for (this.parseAndExpression(e); this.accept(He, "or"); ) {
24649
24649
  var t = [];
24650
24650
  this.parseAndExpression(t), e.push(new Ne(Ht, t)), e.push(yn("or"));
24651
24651
  }
24652
24652
  };
24653
- Ye.prototype.parseAndExpression = function(e) {
24653
+ Je.prototype.parseAndExpression = function(e) {
24654
24654
  for (this.parseComparison(e); this.accept(He, "and"); ) {
24655
24655
  var t = [];
24656
24656
  this.parseComparison(t), e.push(new Ne(Ht, t)), e.push(yn("and"));
@@ -24665,7 +24665,7 @@ var zM = [
24665
24665
  ">",
24666
24666
  "in"
24667
24667
  ];
24668
- Ye.prototype.parseComparison = function(e) {
24668
+ Je.prototype.parseComparison = function(e) {
24669
24669
  for (this.parseAddSub(e); this.accept(He, zM); ) {
24670
24670
  var t = this.current;
24671
24671
  this.parseAddSub(e), e.push(yn(t.value));
@@ -24676,7 +24676,7 @@ var qM = [
24676
24676
  "-",
24677
24677
  "||"
24678
24678
  ];
24679
- Ye.prototype.parseAddSub = function(e) {
24679
+ Je.prototype.parseAddSub = function(e) {
24680
24680
  for (this.parseTerm(e); this.accept(He, qM); ) {
24681
24681
  var t = this.current;
24682
24682
  this.parseTerm(e), e.push(yn(t.value));
@@ -24687,13 +24687,13 @@ var UM = [
24687
24687
  "/",
24688
24688
  "%"
24689
24689
  ];
24690
- Ye.prototype.parseTerm = function(e) {
24690
+ Je.prototype.parseTerm = function(e) {
24691
24691
  for (this.parseFactor(e); this.accept(He, UM); ) {
24692
24692
  var t = this.current;
24693
24693
  this.parseFactor(e), e.push(yn(t.value));
24694
24694
  }
24695
24695
  };
24696
- Ye.prototype.parseFactor = function(e) {
24696
+ Je.prototype.parseFactor = function(e) {
24697
24697
  var t = this.tokens.unaryOps;
24698
24698
  function r(i) {
24699
24699
  return i.value in t;
@@ -24712,14 +24712,14 @@ Ye.prototype.parseFactor = function(e) {
24712
24712
  this.parseFactor(e), e.push(Jo(n.value));
24713
24713
  } else this.parseExponential(e);
24714
24714
  };
24715
- Ye.prototype.parseExponential = function(e) {
24715
+ Je.prototype.parseExponential = function(e) {
24716
24716
  for (this.parsePostfixExpression(e); this.accept(He, "^"); )
24717
24717
  this.parseFactor(e), e.push(yn("^"));
24718
24718
  };
24719
- Ye.prototype.parsePostfixExpression = function(e) {
24719
+ Je.prototype.parsePostfixExpression = function(e) {
24720
24720
  for (this.parseFunctionCall(e); this.accept(He, "!"); ) e.push(Jo("!"));
24721
24721
  };
24722
- Ye.prototype.parseFunctionCall = function(e) {
24722
+ Je.prototype.parseFunctionCall = function(e) {
24723
24723
  var t = this.tokens.unaryOps;
24724
24724
  function r(a) {
24725
24725
  return a.value in t;
@@ -24734,13 +24734,13 @@ Ye.prototype.parseFunctionCall = function(e) {
24734
24734
  e.push(new Ne(zi, i));
24735
24735
  }
24736
24736
  };
24737
- Ye.prototype.parseArgumentList = function(e) {
24737
+ Je.prototype.parseArgumentList = function(e) {
24738
24738
  for (var t = 0; !this.accept(mn, ")"); )
24739
24739
  for (this.parseExpression(e), ++t; this.accept(Xo); )
24740
24740
  this.parseExpression(e), ++t;
24741
24741
  return t;
24742
24742
  };
24743
- Ye.prototype.parseMemberExpression = function(e) {
24743
+ Je.prototype.parseMemberExpression = function(e) {
24744
24744
  for (this.parseAtom(e); this.accept(He, ".") || this.accept(Ui, "["); ) {
24745
24745
  var t = this.current;
24746
24746
  if (t.value === ".") {
@@ -25024,7 +25024,7 @@ function mi(e) {
25024
25024
  };
25025
25025
  }
25026
25026
  mi.prototype.parse = function(e) {
25027
- var t = [], r = new Ye(this, new ot(this, e), { allowMemberAccess: this.options.allowMemberAccess });
25027
+ var t = [], r = new Je(this, new ot(this, e), { allowMemberAccess: this.options.allowMemberAccess });
25028
25028
  return r.parseExpression(t), r.expect(Ba, "EOF"), new Dr(t, this);
25029
25029
  };
25030
25030
  mi.prototype.evaluate = function(e, t) {
@@ -25943,7 +25943,7 @@ customElements.define("go-init", ne(a$, {
25943
25943
  }, [], []));
25944
25944
  function s$(e, t) {
25945
25945
  te(t, !0);
25946
- const r = _(t, "to", 7), n = /* @__PURE__ */ P(() => Je.config.urls[r()]), i = Qr(t.$$host, "a");
25946
+ const r = _(t, "to", 7), n = /* @__PURE__ */ P(() => Ke.config.urls[r()]), i = Qr(t.$$host, "a");
25947
25947
  return ve(() => {
25948
25948
  if (!d(n)) {
25949
25949
  console.warn(`[go-link] No URL found for route "${r()}".`), i.removeAttribute("href");
@@ -25951,11 +25951,11 @@ function s$(e, t) {
25951
25951
  }
25952
25952
  i.setAttribute("href", d(n)());
25953
25953
  }), i.addEventListener("click", (a) => {
25954
- if (a.preventDefault(), !Je.config.urls[r()]) {
25954
+ if (a.preventDefault(), !Ke.config.urls[r()]) {
25955
25955
  console.warn(`[go-link] No URL found for route "${r()}". You can define it with go.config.urls.${r()} = () => 'https://example.com/my-route'`);
25956
25956
  return;
25957
25957
  }
25958
- Je.config.navigateTo(Je.config.urls[r()]());
25958
+ Ke.config.navigateTo(Ke.config.urls[r()]());
25959
25959
  }), re({
25960
25960
  get to() {
25961
25961
  return r();
@@ -26028,7 +26028,7 @@ var l$ = class {
26028
26028
  case "Coupon":
26029
26029
  return `${k.apiUrl}/api/v4/orders/${this.order.id}/coupons/${e.attributes.id}.pdf?locale=${k.locale}&token=${this.token}`;
26030
26030
  case "Ticket":
26031
- return e.attributes.ticket_type === "annual" && !e.attributes.is_voucher ? Je.config.urls.annualTicketPersonalizationList ? Je.config.urls.annualTicketPersonalizationList(this.token) : k.urls?.annualTicketPersonalizationList(this.token) : `${k.apiUrl}/api/v4/orders/${this.order.id}/tickets/${e.attributes.id}.pdf?locale=${k.locale}&token=${this.token}&barcode_id=${t}`;
26031
+ return e.attributes.ticket_type === "annual" && !e.attributes.is_voucher ? Ke.config.urls.annualTicketPersonalizationList ? Ke.config.urls.annualTicketPersonalizationList(this.token) : k.urls?.annualTicketPersonalizationList(this.token) : `${k.apiUrl}/api/v4/orders/${this.order.id}/tickets/${e.attributes.id}.pdf?locale=${k.locale}&token=${this.token}&barcode_id=${t}`;
26032
26032
  default:
26033
26033
  break;
26034
26034
  }
@@ -27576,7 +27576,7 @@ var mF = class {
27576
27576
  mantle: n.mantle && { composition: { ...n.mantle.composition } }
27577
27577
  });
27578
27578
  }));
27579
- k.cart.addItems(t), e.forEach((r) => r.items.forEach((n) => n.quantity = 0)), Je.config.urls.cart && Je.config.navigateTo(Je.config.urls.cart());
27579
+ k.cart.addItems(t), e.forEach((r) => r.items.forEach((n) => n.quantity = 0)), Ke.config.urls.cart && Ke.config.navigateTo(Ke.config.urls.cart());
27580
27580
  }
27581
27581
  anyTicketsSelected() {
27582
27582
  return this.ticketSelectionDetails ? this.ticketSelectionDetails.preCarts.some((e) => e.items.some((t) => t.quantity > 0)) : !1;
@@ -27679,7 +27679,7 @@ async function wF(e) {
27679
27679
  var Uy = {
27680
27680
  loaded: !0,
27681
27681
  config: (e) => {
27682
- Je.define(e);
27682
+ Ke.define(e);
27683
27683
  },
27684
27684
  init: async (e) => {
27685
27685
  try {
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "name": "Giantmonkey GmbH"
5
5
  },
6
6
  "license": "MIT",
7
- "version": "4.16.0",
7
+ "version": "4.16.1",
8
8
  "type": "module",
9
9
  "main": "./dist-js/gomus-webcomponents.iife.js",
10
10
  "module": "./dist-js/gomus-webcomponents.iife.js",