@everymatrix/cashier-methods-list 1.85.20 → 1.85.22

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.
@@ -3,7 +3,7 @@ function ie() {
3
3
  function Mr(e) {
4
4
  return e();
5
5
  }
6
- function Ft() {
6
+ function kt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function Le(e) {
@@ -15,9 +15,9 @@ function Rt(e) {
15
15
  function Tr(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- let We;
18
+ let ze;
19
19
  function jt(e, t) {
20
- return e === t ? !0 : (We || (We = document.createElement("a")), We.href = t, e === We.href);
20
+ return e === t ? !0 : (ze || (ze = document.createElement("a")), ze.href = t, e === ze.href);
21
21
  }
22
22
  function pn(e) {
23
23
  return Object.keys(e).length === 0;
@@ -83,15 +83,15 @@ function ue() {
83
83
  function Or() {
84
84
  return ee("");
85
85
  }
86
- function yt(e, t, r, n) {
86
+ function bt(e, t, r, n) {
87
87
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
88
88
  }
89
- function F(e, t, r) {
89
+ function k(e, t, r) {
90
90
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
91
91
  }
92
92
  function te(e, t, r) {
93
93
  const n = t.toLowerCase();
94
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : F(e, t, r);
94
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : k(e, t, r);
95
95
  }
96
96
  function _n(e) {
97
97
  return Array.from(e.childNodes);
@@ -100,7 +100,7 @@ function ne(e, t) {
100
100
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
101
101
  t);
102
102
  }
103
- function et(e, t, r) {
103
+ function Ke(e, t, r) {
104
104
  e.classList.toggle(t, !!r);
105
105
  }
106
106
  function xn(e) {
@@ -124,17 +124,17 @@ function En() {
124
124
  function wn(e) {
125
125
  En().$$.on_mount.push(e);
126
126
  }
127
- const Me = [], vt = [];
127
+ const Me = [], yt = [];
128
128
  let Te = [];
129
129
  const zt = [], Sn = /* @__PURE__ */ Promise.resolve();
130
- let _t = !1;
130
+ let vt = !1;
131
131
  function Mn() {
132
- _t || (_t = !0, Sn.then(X));
132
+ vt || (vt = !0, Sn.then(X));
133
133
  }
134
- function xt(e) {
134
+ function _t(e) {
135
135
  Te.push(e);
136
136
  }
137
- const ht = /* @__PURE__ */ new Set();
137
+ const lt = /* @__PURE__ */ new Set();
138
138
  let we = 0;
139
139
  function X() {
140
140
  if (we !== 0)
@@ -149,23 +149,23 @@ function X() {
149
149
  } catch (t) {
150
150
  throw Me.length = 0, we = 0, t;
151
151
  }
152
- for (Ie(null), Me.length = 0, we = 0; vt.length; )
153
- vt.pop()();
152
+ for (Ie(null), Me.length = 0, we = 0; yt.length; )
153
+ yt.pop()();
154
154
  for (let t = 0; t < Te.length; t += 1) {
155
155
  const r = Te[t];
156
- ht.has(r) || (ht.add(r), r());
156
+ lt.has(r) || (lt.add(r), r());
157
157
  }
158
158
  Te.length = 0;
159
159
  } while (Me.length);
160
160
  for (; zt.length; )
161
161
  zt.pop()();
162
- _t = !1, ht.clear(), Ie(e);
162
+ vt = !1, lt.clear(), Ie(e);
163
163
  }
164
164
  function Tn(e) {
165
165
  if (e.fragment !== null) {
166
166
  e.update(), Le(e.before_update);
167
167
  const t = e.dirty;
168
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(xt);
168
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(_t);
169
169
  }
170
170
  }
171
171
  function Hn(e) {
@@ -181,10 +181,10 @@ function Wt(e) {
181
181
  }
182
182
  function An(e, t, r) {
183
183
  const { fragment: n, after_update: i } = e.$$;
184
- n && n.m(t, r), xt(() => {
184
+ n && n.m(t, r), _t(() => {
185
185
  const o = e.$$.on_mount.map(Mr).filter(Rt);
186
186
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Le(o), e.$$.on_mount = [];
187
- }), i.forEach(xt);
187
+ }), i.forEach(_t);
188
188
  }
189
189
  function Ln(e, t) {
190
190
  const r = e.$$;
@@ -203,7 +203,7 @@ function $n(e, t, r, n, i, o, s = null, a = [-1]) {
203
203
  props: o,
204
204
  update: ie,
205
205
  not_equal: i,
206
- bound: Ft(),
206
+ bound: kt(),
207
207
  // lifecycle
208
208
  on_mount: [],
209
209
  on_destroy: [],
@@ -212,7 +212,7 @@ function $n(e, t, r, n, i, o, s = null, a = [-1]) {
212
212
  after_update: [],
213
213
  context: new Map(t.context || (u ? u.$$.context : [])),
214
214
  // everything else
215
- callbacks: Ft(),
215
+ callbacks: kt(),
216
216
  dirty: a,
217
217
  skip_bound: !1,
218
218
  root: t.target || u.$$.root
@@ -275,7 +275,7 @@ typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
275
275
  let o;
276
276
  return {
277
277
  c: function() {
278
- o = j("slot"), i !== "default" && F(o, "name", i);
278
+ o = j("slot"), i !== "default" && k(o, "name", i);
279
279
  },
280
280
  /**
281
281
  * @param {HTMLElement} target
@@ -297,7 +297,7 @@ typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
297
297
  i in r && (t[i] = [e(i)]);
298
298
  for (const i of this.attributes) {
299
299
  const o = this.$$g_p(i.name);
300
- o in this.$$d || (this.$$d[o] = Je(o, i.value, this.$$p_d, "toProp"));
300
+ o in this.$$d || (this.$$d[o] = Ze(o, i.value, this.$$p_d, "toProp"));
301
301
  }
302
302
  for (const i in this.$$p_d)
303
303
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -315,7 +315,7 @@ typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
315
315
  this.$$r = !0;
316
316
  for (const i in this.$$p_d)
317
317
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
318
- const o = Je(
318
+ const o = Ze(
319
319
  i,
320
320
  this.$$d[i],
321
321
  this.$$p_d,
@@ -337,7 +337,7 @@ typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
337
337
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
338
338
  // and setting attributes through setAttribute etc, this is helpful
339
339
  attributeChangedCallback(e, t, r) {
340
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Je(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
340
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ze(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
341
341
  }
342
342
  disconnectedCallback() {
343
343
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -350,7 +350,7 @@ typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
350
350
  ) || e;
351
351
  }
352
352
  });
353
- function Je(e, t, r, n) {
353
+ function Ze(e, t, r, n) {
354
354
  const i = r[e]?.type;
355
355
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
356
356
  return t;
@@ -396,7 +396,7 @@ function Bn(e, t, r, n, i, o) {
396
396
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
397
397
  },
398
398
  set(u) {
399
- u = Je(a, u, t), this.$$d[a] = u, this.$$c?.$set({ [a]: u });
399
+ u = Ze(a, u, t), this.$$d[a] = u, this.$$c?.$set({ [a]: u });
400
400
  }
401
401
  });
402
402
  }), n.forEach((a) => {
@@ -457,10 +457,10 @@ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__
457
457
  const Se = [];
458
458
  function Dn(e, t) {
459
459
  return {
460
- subscribe: ke(e, t).subscribe
460
+ subscribe: Fe(e, t).subscribe
461
461
  };
462
462
  }
463
- function ke(e, t = ie) {
463
+ function Fe(e, t = ie) {
464
464
  let r;
465
465
  const n = /* @__PURE__ */ new Set();
466
466
  function i(a) {
@@ -522,18 +522,18 @@ function Ut(e) {
522
522
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
523
523
  }
524
524
  var Rn = function(t) {
525
- return Un(t) && !Gn(t);
525
+ return Un(t) && !Fn(t);
526
526
  };
527
527
  function Un(e) {
528
528
  return !!e && typeof e == "object";
529
529
  }
530
- function Gn(e) {
530
+ function Fn(e) {
531
531
  var t = Object.prototype.toString.call(e);
532
532
  return t === "[object RegExp]" || t === "[object Date]" || jn(e);
533
533
  }
534
- var kn = typeof Symbol == "function" && Symbol.for, Fn = kn ? Symbol.for("react.element") : 60103;
534
+ var Gn = typeof Symbol == "function" && Symbol.for, kn = Gn ? Symbol.for("react.element") : 60103;
535
535
  function jn(e) {
536
- return e.$$typeof === Fn;
536
+ return e.$$typeof === kn;
537
537
  }
538
538
  function Vn(e) {
539
539
  return Array.isArray(e) ? [] : {};
@@ -592,18 +592,18 @@ He.all = function(t, r) {
592
592
  };
593
593
  var Jn = He, qn = Jn;
594
594
  const Qn = /* @__PURE__ */ Ut(qn);
595
- var Et = function(e, t) {
596
- return Et = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
595
+ var xt = function(e, t) {
596
+ return xt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
597
597
  r.__proto__ = n;
598
598
  } || function(r, n) {
599
599
  for (var i in n)
600
600
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
601
- }, Et(e, t);
601
+ }, xt(e, t);
602
602
  };
603
- function ot(e, t) {
603
+ function it(e, t) {
604
604
  if (typeof t != "function" && t !== null)
605
605
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
606
- Et(e, t);
606
+ xt(e, t);
607
607
  function r() {
608
608
  this.constructor = e;
609
609
  }
@@ -628,13 +628,13 @@ function Kn(e, t) {
628
628
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
629
629
  return r;
630
630
  }
631
- function ct(e, t, r) {
631
+ function ht(e, t, r) {
632
632
  if (r || arguments.length === 2)
633
633
  for (var n = 0, i = t.length, o; n < i; n++)
634
634
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
635
635
  return e.concat(o || Array.prototype.slice.call(t));
636
636
  }
637
- function ft(e, t) {
637
+ function ct(e, t) {
638
638
  var r = t && t.cache ? t.cache : si, n = t && t.serializer ? t.serializer : ii, i = t && t.strategy ? t.strategy : ri;
639
639
  return i(e, {
640
640
  cache: r,
@@ -680,17 +680,17 @@ var ii = function() {
680
680
  create: function() {
681
681
  return new oi();
682
682
  }
683
- }, mt = {
683
+ }, ft = {
684
684
  variadic: ni
685
- }, tt = function() {
686
- return tt = Object.assign || function(t) {
685
+ }, et = function() {
686
+ return et = Object.assign || function(t) {
687
687
  for (var r, n = 1, i = arguments.length; n < i; n++) {
688
688
  r = arguments[n];
689
689
  for (var o in r)
690
690
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
691
691
  }
692
692
  return t;
693
- }, tt.apply(this, arguments);
693
+ }, et.apply(this, arguments);
694
694
  };
695
695
  var T;
696
696
  (function(e) {
@@ -731,13 +731,13 @@ function ui(e) {
731
731
  function Ur(e) {
732
732
  return e.type === B.tag;
733
733
  }
734
- function Gr(e) {
734
+ function Fr(e) {
735
735
  return !!(e && typeof e == "object" && e.type === Oe.number);
736
736
  }
737
- function wt(e) {
737
+ function Et(e) {
738
738
  return !!(e && typeof e == "object" && e.type === Oe.dateTime);
739
739
  }
740
- var kr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, li = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
740
+ var Gr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, li = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
741
741
  function hi(e) {
742
742
  var t = {};
743
743
  return e.replace(li, function(r) {
@@ -829,15 +829,15 @@ function hi(e) {
829
829
  return "";
830
830
  }), t;
831
831
  }
832
- var k = function() {
833
- return k = Object.assign || function(t) {
832
+ var G = function() {
833
+ return G = Object.assign || function(t) {
834
834
  for (var r, n = 1, i = arguments.length; n < i; n++) {
835
835
  r = arguments[n];
836
836
  for (var o in r)
837
837
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
838
838
  }
839
839
  return t;
840
- }, k.apply(this, arguments);
840
+ }, G.apply(this, arguments);
841
841
  };
842
842
  var ci = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
843
843
  function fi(e) {
@@ -861,10 +861,10 @@ function fi(e) {
861
861
  function mi(e) {
862
862
  return e.replace(/^(.*?)-/, "");
863
863
  }
864
- var Zt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Fr = /^(@+)?(\+|#+)?[rs]?$/g, di = /(\*)(0+)|(#+)(0+)|(0+)/g, jr = /^(0+)$/;
864
+ var Zt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, kr = /^(@+)?(\+|#+)?[rs]?$/g, di = /(\*)(0+)|(#+)(0+)|(0+)/g, jr = /^(0+)$/;
865
865
  function Jt(e) {
866
866
  var t = {};
867
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Fr, function(r, n, i) {
867
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(kr, function(r, n, i) {
868
868
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
869
869
  }), t;
870
870
  }
@@ -961,13 +961,13 @@ function gi(e) {
961
961
  t.notation = "compact", t.compactDisplay = "long";
962
962
  continue;
963
963
  case "scientific":
964
- t = k(k(k({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
965
- return k(k({}, u), qt(l));
964
+ t = G(G(G({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
965
+ return G(G({}, u), qt(l));
966
966
  }, {}));
967
967
  continue;
968
968
  case "engineering":
969
- t = k(k(k({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
970
- return k(k({}, u), qt(l));
969
+ t = G(G(G({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
970
+ return G(G({}, u), qt(l));
971
971
  }, {}));
972
972
  continue;
973
973
  case "notation-simple":
@@ -1036,21 +1036,21 @@ function gi(e) {
1036
1036
  return h === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : b && x ? (t.minimumFractionDigits = b.length, t.maximumFractionDigits = b.length + x.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1037
1037
  });
1038
1038
  var o = i.options[0];
1039
- o === "w" ? t = k(k({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = k(k({}, t), Jt(o)));
1039
+ o === "w" ? t = G(G({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = G(G({}, t), Jt(o)));
1040
1040
  continue;
1041
1041
  }
1042
- if (Fr.test(i.stem)) {
1043
- t = k(k({}, t), Jt(i.stem));
1042
+ if (kr.test(i.stem)) {
1043
+ t = G(G({}, t), Jt(i.stem));
1044
1044
  continue;
1045
1045
  }
1046
1046
  var s = Vr(i.stem);
1047
- s && (t = k(k({}, t), s));
1047
+ s && (t = G(G({}, t), s));
1048
1048
  var a = pi(i.stem);
1049
- a && (t = k(k({}, t), a));
1049
+ a && (t = G(G({}, t), a));
1050
1050
  }
1051
1051
  return t;
1052
1052
  }
1053
- var Xe = {
1053
+ var We = {
1054
1054
  "001": [
1055
1055
  "H",
1056
1056
  "h"
@@ -2500,21 +2500,21 @@ function yi(e) {
2500
2500
  }
2501
2501
  var r = e.language, n;
2502
2502
  r !== "root" && (n = e.maximize().region);
2503
- var i = Xe[n || ""] || Xe[r || ""] || Xe["".concat(r, "-001")] || Xe["001"];
2503
+ var i = We[n || ""] || We[r || ""] || We["".concat(r, "-001")] || We["001"];
2504
2504
  return i[0];
2505
2505
  }
2506
- var dt, vi = new RegExp("^".concat(kr.source, "*")), _i = new RegExp("".concat(kr.source, "*$"));
2506
+ var mt, vi = new RegExp("^".concat(Gr.source, "*")), _i = new RegExp("".concat(Gr.source, "*$"));
2507
2507
  function H(e, t) {
2508
2508
  return { start: e, end: t };
2509
2509
  }
2510
2510
  var xi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ei = !!String.fromCodePoint, wi = !!Object.fromEntries, Si = !!String.prototype.codePointAt, Mi = !!String.prototype.trimStart, Ti = !!String.prototype.trimEnd, Hi = !!Number.isSafeInteger, Oi = Hi ? Number.isSafeInteger : function(e) {
2511
2511
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2512
- }, St = !0;
2512
+ }, wt = !0;
2513
2513
  try {
2514
2514
  var Pi = Wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2515
- St = ((dt = Pi.exec("a")) === null || dt === void 0 ? void 0 : dt[0]) === "a";
2515
+ wt = ((mt = Pi.exec("a")) === null || mt === void 0 ? void 0 : mt[0]) === "a";
2516
2516
  } catch {
2517
- St = !1;
2517
+ wt = !1;
2518
2518
  }
2519
2519
  var Qt = xi ? (
2520
2520
  // Native
@@ -2526,7 +2526,7 @@ var Qt = xi ? (
2526
2526
  function(t, r, n) {
2527
2527
  return t.slice(n, n + r.length) === r;
2528
2528
  }
2529
- ), Mt = Ei ? String.fromCodePoint : (
2529
+ ), St = Ei ? String.fromCodePoint : (
2530
2530
  // IE11
2531
2531
  function() {
2532
2532
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2588,24 +2588,24 @@ var Qt = xi ? (
2588
2588
  function Wr(e, t) {
2589
2589
  return new RegExp(e, t);
2590
2590
  }
2591
- var Tt;
2592
- if (St) {
2591
+ var Mt;
2592
+ if (wt) {
2593
2593
  var er = Wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2594
- Tt = function(t, r) {
2594
+ Mt = function(t, r) {
2595
2595
  var n;
2596
2596
  er.lastIndex = r;
2597
2597
  var i = er.exec(t);
2598
2598
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2599
2599
  };
2600
2600
  } else
2601
- Tt = function(t, r) {
2601
+ Mt = function(t, r) {
2602
2602
  for (var n = []; ; ) {
2603
2603
  var i = zr(t, r);
2604
2604
  if (i === void 0 || Xr(i) || Ni(i))
2605
2605
  break;
2606
2606
  n.push(i), r += i >= 65536 ? 2 : 1;
2607
2607
  }
2608
- return Mt.apply(void 0, n);
2608
+ return St.apply(void 0, n);
2609
2609
  };
2610
2610
  var Ci = (
2611
2611
  /** @class */
@@ -2638,7 +2638,7 @@ var Ci = (
2638
2638
  if (n)
2639
2639
  break;
2640
2640
  return this.error(T.UNMATCHED_CLOSING_TAG, H(this.clonePosition(), this.clonePosition()));
2641
- } else if (o === 60 && !this.ignoreTag && Ht(this.peek() || 0)) {
2641
+ } else if (o === 60 && !this.ignoreTag && Tt(this.peek() || 0)) {
2642
2642
  var s = this.parseTag(t, r);
2643
2643
  if (s.err)
2644
2644
  return s;
@@ -2671,7 +2671,7 @@ var Ci = (
2671
2671
  return o;
2672
2672
  var s = o.val, a = this.clonePosition();
2673
2673
  if (this.bumpIf("</")) {
2674
- if (this.isEOF() || !Ht(this.char()))
2674
+ if (this.isEOF() || !Tt(this.char()))
2675
2675
  return this.error(T.INVALID_TAG, H(a, this.clonePosition()));
2676
2676
  var u = this.clonePosition(), l = this.parseTagName();
2677
2677
  return i !== l ? this.error(T.UNMATCHED_CLOSING_TAG, H(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -2752,12 +2752,12 @@ var Ci = (
2752
2752
  r.push(n);
2753
2753
  this.bump();
2754
2754
  }
2755
- return Mt.apply(void 0, r);
2755
+ return St.apply(void 0, r);
2756
2756
  }, e.prototype.tryParseUnquoted = function(t, r) {
2757
2757
  if (this.isEOF())
2758
2758
  return null;
2759
2759
  var n = this.char();
2760
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Mt(n));
2760
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), St(n));
2761
2761
  }, e.prototype.parseArgument = function(t, r) {
2762
2762
  var n = this.clonePosition();
2763
2763
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2786,7 +2786,7 @@ var Ci = (
2786
2786
  return this.error(T.MALFORMED_ARGUMENT, H(n, this.clonePosition()));
2787
2787
  }
2788
2788
  }, e.prototype.parseIdentifierIfPossible = function() {
2789
- var t = this.clonePosition(), r = this.offset(), n = Tt(this.message, r), i = r + n.length;
2789
+ var t = this.clonePosition(), r = this.offset(), n = Mt(this.message, r), i = r + n.length;
2790
2790
  this.bumpTo(i);
2791
2791
  var o = this.clonePosition(), s = H(t, o);
2792
2792
  return { value: n, location: s };
@@ -2855,7 +2855,7 @@ var Ci = (
2855
2855
  case "select": {
2856
2856
  var O = this.clonePosition();
2857
2857
  if (this.bumpSpace(), !this.bumpIf(","))
2858
- return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS, H(O, tt({}, O)));
2858
+ return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS, H(O, et({}, O)));
2859
2859
  this.bumpSpace();
2860
2860
  var Y = this.parseIdentifierIfPossible(), C = 0;
2861
2861
  if (a !== "select" && Y.value === "offset") {
@@ -3060,11 +3060,11 @@ var Ci = (
3060
3060
  }, e;
3061
3061
  }()
3062
3062
  );
3063
- function Ht(e) {
3063
+ function Tt(e) {
3064
3064
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3065
3065
  }
3066
3066
  function $i(e) {
3067
- return Ht(e) || e === 47;
3067
+ return Tt(e) || e === 47;
3068
3068
  }
3069
3069
  function Bi(e) {
3070
3070
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
@@ -3075,32 +3075,32 @@ function Xr(e) {
3075
3075
  function Ni(e) {
3076
3076
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3077
3077
  }
3078
- function Ot(e) {
3078
+ function Ht(e) {
3079
3079
  e.forEach(function(t) {
3080
3080
  if (delete t.location, Dr(t) || Rr(t))
3081
3081
  for (var r in t.options)
3082
- delete t.options[r].location, Ot(t.options[r].value);
3082
+ delete t.options[r].location, Ht(t.options[r].value);
3083
3083
  else
3084
- Br(t) && Gr(t.style) || (Nr(t) || Ir(t)) && wt(t.style) ? delete t.style.location : Ur(t) && Ot(t.children);
3084
+ Br(t) && Fr(t.style) || (Nr(t) || Ir(t)) && Et(t.style) ? delete t.style.location : Ur(t) && Ht(t.children);
3085
3085
  });
3086
3086
  }
3087
3087
  function Ii(e, t) {
3088
- t === void 0 && (t = {}), t = tt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3088
+ t === void 0 && (t = {}), t = et({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3089
3089
  var r = new Ci(e, t).parse();
3090
3090
  if (r.err) {
3091
3091
  var n = SyntaxError(T[r.err.kind]);
3092
3092
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3093
3093
  }
3094
- return t?.captureLocation || Ot(r.val), r.val;
3094
+ return t?.captureLocation || Ht(r.val), r.val;
3095
3095
  }
3096
3096
  var Pe;
3097
3097
  (function(e) {
3098
3098
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3099
3099
  })(Pe || (Pe = {}));
3100
- var st = (
3100
+ var ot = (
3101
3101
  /** @class */
3102
3102
  function(e) {
3103
- ot(t, e);
3103
+ it(t, e);
3104
3104
  function t(r, n, i) {
3105
3105
  var o = e.call(this, r) || this;
3106
3106
  return o.code = n, o.originalMessage = i, o;
@@ -3112,30 +3112,30 @@ var st = (
3112
3112
  ), tr = (
3113
3113
  /** @class */
3114
3114
  function(e) {
3115
- ot(t, e);
3115
+ it(t, e);
3116
3116
  function t(r, n, i, o) {
3117
3117
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Pe.INVALID_VALUE, o) || this;
3118
3118
  }
3119
3119
  return t;
3120
- }(st)
3120
+ }(ot)
3121
3121
  ), Di = (
3122
3122
  /** @class */
3123
3123
  function(e) {
3124
- ot(t, e);
3124
+ it(t, e);
3125
3125
  function t(r, n, i) {
3126
3126
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Pe.INVALID_VALUE, i) || this;
3127
3127
  }
3128
3128
  return t;
3129
- }(st)
3129
+ }(ot)
3130
3130
  ), Ri = (
3131
3131
  /** @class */
3132
3132
  function(e) {
3133
- ot(t, e);
3133
+ it(t, e);
3134
3134
  function t(r, n) {
3135
3135
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Pe.MISSING_VALUE, n) || this;
3136
3136
  }
3137
3137
  return t;
3138
- }(st)
3138
+ }(ot)
3139
3139
  ), Q;
3140
3140
  (function(e) {
3141
3141
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
@@ -3146,10 +3146,10 @@ function Ui(e) {
3146
3146
  return !n || n.type !== Q.literal || r.type !== Q.literal ? t.push(r) : n.value += r.value, t;
3147
3147
  }, []);
3148
3148
  }
3149
- function Gi(e) {
3149
+ function Fi(e) {
3150
3150
  return typeof e == "function";
3151
3151
  }
3152
- function qe(e, t, r, n, i, o, s) {
3152
+ function Je(e, t, r, n, i, o, s) {
3153
3153
  if (e.length === 1 && Yt(e[0]))
3154
3154
  return [
3155
3155
  {
@@ -3185,7 +3185,7 @@ function qe(e, t, r, n, i, o, s) {
3185
3185
  continue;
3186
3186
  }
3187
3187
  if (Nr(h)) {
3188
- var x = typeof h.style == "string" ? n.date[h.style] : wt(h.style) ? h.style.parsedOptions : void 0;
3188
+ var x = typeof h.style == "string" ? n.date[h.style] : Et(h.style) ? h.style.parsedOptions : void 0;
3189
3189
  a.push({
3190
3190
  type: Q.literal,
3191
3191
  value: r.getDateTimeFormat(t, x).format(b)
@@ -3193,7 +3193,7 @@ function qe(e, t, r, n, i, o, s) {
3193
3193
  continue;
3194
3194
  }
3195
3195
  if (Ir(h)) {
3196
- var x = typeof h.style == "string" ? n.time[h.style] : wt(h.style) ? h.style.parsedOptions : n.time.medium;
3196
+ var x = typeof h.style == "string" ? n.time[h.style] : Et(h.style) ? h.style.parsedOptions : n.time.medium;
3197
3197
  a.push({
3198
3198
  type: Q.literal,
3199
3199
  value: r.getDateTimeFormat(t, x).format(b)
@@ -3201,7 +3201,7 @@ function qe(e, t, r, n, i, o, s) {
3201
3201
  continue;
3202
3202
  }
3203
3203
  if (Br(h)) {
3204
- var x = typeof h.style == "string" ? n.number[h.style] : Gr(h.style) ? h.style.parsedOptions : void 0;
3204
+ var x = typeof h.style == "string" ? n.number[h.style] : Fr(h.style) ? h.style.parsedOptions : void 0;
3205
3205
  x && x.scale && (b = b * (x.scale || 1)), a.push({
3206
3206
  type: Q.literal,
3207
3207
  value: r.getNumberFormat(t, x).format(b)
@@ -3210,9 +3210,9 @@ function qe(e, t, r, n, i, o, s) {
3210
3210
  }
3211
3211
  if (Ur(h)) {
3212
3212
  var _ = h.children, f = h.value, P = i[f];
3213
- if (!Gi(P))
3213
+ if (!Fi(P))
3214
3214
  throw new Di(f, "function", s);
3215
- var V = qe(_, t, r, n, i, o), $ = P(V.map(function(C) {
3215
+ var V = Je(_, t, r, n, i, o), $ = P(V.map(function(C) {
3216
3216
  return C.value;
3217
3217
  }));
3218
3218
  Array.isArray($) || ($ = [$]), a.push.apply(a, $.map(function(C) {
@@ -3226,14 +3226,14 @@ function qe(e, t, r, n, i, o, s) {
3226
3226
  var O = h.options[b] || h.options.other;
3227
3227
  if (!O)
3228
3228
  throw new tr(h.value, b, Object.keys(h.options), s);
3229
- a.push.apply(a, qe(O.value, t, r, n, i));
3229
+ a.push.apply(a, Je(O.value, t, r, n, i));
3230
3230
  continue;
3231
3231
  }
3232
3232
  if (Rr(h)) {
3233
3233
  var O = h.options["=".concat(b)];
3234
3234
  if (!O) {
3235
3235
  if (!Intl.PluralRules)
3236
- throw new st(`Intl.PluralRules is not available in this environment.
3236
+ throw new ot(`Intl.PluralRules is not available in this environment.
3237
3237
  Try polyfilling it using "@formatjs/intl-pluralrules"
3238
3238
  `, Pe.MISSING_INTL_API, s);
3239
3239
  var Y = r.getPluralRules(t, { type: h.pluralType }).select(b - (h.offset || 0));
@@ -3241,23 +3241,23 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3241
3241
  }
3242
3242
  if (!O)
3243
3243
  throw new tr(h.value, b, Object.keys(h.options), s);
3244
- a.push.apply(a, qe(O.value, t, r, n, i, b - (h.offset || 0)));
3244
+ a.push.apply(a, Je(O.value, t, r, n, i, b - (h.offset || 0)));
3245
3245
  continue;
3246
3246
  }
3247
3247
  }
3248
3248
  return Ui(a);
3249
3249
  }
3250
- function ki(e, t) {
3250
+ function Gi(e, t) {
3251
3251
  return t ? le(le(le({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3252
3252
  return r[n] = le(le({}, e[n]), t[n] || {}), r;
3253
3253
  }, {})) : e;
3254
3254
  }
3255
- function Fi(e, t) {
3255
+ function ki(e, t) {
3256
3256
  return t ? Object.keys(e).reduce(function(r, n) {
3257
- return r[n] = ki(e[n], t[n]), r;
3257
+ return r[n] = Gi(e[n], t[n]), r;
3258
3258
  }, le({}, e)) : e;
3259
3259
  }
3260
- function pt(e) {
3260
+ function dt(e) {
3261
3261
  return {
3262
3262
  create: function() {
3263
3263
  return {
@@ -3277,29 +3277,29 @@ function ji(e) {
3277
3277
  dateTime: {},
3278
3278
  pluralRules: {}
3279
3279
  }), {
3280
- getNumberFormat: ft(function() {
3280
+ getNumberFormat: ct(function() {
3281
3281
  for (var t, r = [], n = 0; n < arguments.length; n++)
3282
3282
  r[n] = arguments[n];
3283
- return new ((t = Intl.NumberFormat).bind.apply(t, ct([void 0], r, !1)))();
3283
+ return new ((t = Intl.NumberFormat).bind.apply(t, ht([void 0], r, !1)))();
3284
3284
  }, {
3285
- cache: pt(e.number),
3286
- strategy: mt.variadic
3285
+ cache: dt(e.number),
3286
+ strategy: ft.variadic
3287
3287
  }),
3288
- getDateTimeFormat: ft(function() {
3288
+ getDateTimeFormat: ct(function() {
3289
3289
  for (var t, r = [], n = 0; n < arguments.length; n++)
3290
3290
  r[n] = arguments[n];
3291
- return new ((t = Intl.DateTimeFormat).bind.apply(t, ct([void 0], r, !1)))();
3291
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, ht([void 0], r, !1)))();
3292
3292
  }, {
3293
- cache: pt(e.dateTime),
3294
- strategy: mt.variadic
3293
+ cache: dt(e.dateTime),
3294
+ strategy: ft.variadic
3295
3295
  }),
3296
- getPluralRules: ft(function() {
3296
+ getPluralRules: ct(function() {
3297
3297
  for (var t, r = [], n = 0; n < arguments.length; n++)
3298
3298
  r[n] = arguments[n];
3299
- return new ((t = Intl.PluralRules).bind.apply(t, ct([void 0], r, !1)))();
3299
+ return new ((t = Intl.PluralRules).bind.apply(t, ht([void 0], r, !1)))();
3300
3300
  }, {
3301
- cache: pt(e.pluralRules),
3302
- strategy: mt.variadic
3301
+ cache: dt(e.pluralRules),
3302
+ strategy: ft.variadic
3303
3303
  })
3304
3304
  };
3305
3305
  }
@@ -3322,7 +3322,7 @@ var Yr = (
3322
3322
  }, []);
3323
3323
  return h.length <= 1 ? h[0] || "" : h;
3324
3324
  }, this.formatToParts = function(u) {
3325
- return qe(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3325
+ return Je(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3326
3326
  }, this.resolvedOptions = function() {
3327
3327
  var u;
3328
3328
  return {
@@ -3341,7 +3341,7 @@ var Yr = (
3341
3341
  this.ast = t;
3342
3342
  if (!Array.isArray(this.ast))
3343
3343
  throw new TypeError("A message must be provided as a String or AST.");
3344
- this.formats = Fi(e.formats, n), this.formatters = i && i.formatters || ji(this.formatterCache);
3344
+ this.formats = ki(e.formats, n), this.formatters = i && i.formatters || ji(this.formatterCache);
3345
3345
  }
3346
3346
  return Object.defineProperty(e, "defaultLocale", {
3347
3347
  get: function() {
@@ -3441,20 +3441,20 @@ const be = {}, zi = (e, t, r) => r && (t in be || (be[t] = {}), e in be[t] || (b
3441
3441
  return;
3442
3442
  if (t in be && e in be[t])
3443
3443
  return be[t][e];
3444
- const r = je(t);
3444
+ const r = ke(t);
3445
3445
  for (let n = 0; n < r.length; n++) {
3446
3446
  const i = r[n], o = Xi(i, e);
3447
3447
  if (o)
3448
3448
  return zi(e, t, o);
3449
3449
  }
3450
3450
  };
3451
- let Gt;
3452
- const Fe = ke({});
3451
+ let Ft;
3452
+ const Ge = Fe({});
3453
3453
  function Wi(e) {
3454
- return Gt[e] || null;
3454
+ return Ft[e] || null;
3455
3455
  }
3456
3456
  function Jr(e) {
3457
- return e in Gt;
3457
+ return e in Ft;
3458
3458
  }
3459
3459
  function Xi(e, t) {
3460
3460
  if (!Jr(e))
@@ -3465,7 +3465,7 @@ function Xi(e, t) {
3465
3465
  function Yi(e) {
3466
3466
  if (e == null)
3467
3467
  return;
3468
- const t = je(e);
3468
+ const t = ke(e);
3469
3469
  for (let r = 0; r < t.length; r++) {
3470
3470
  const n = t[r];
3471
3471
  if (Jr(n))
@@ -3473,28 +3473,28 @@ function Yi(e) {
3473
3473
  }
3474
3474
  }
3475
3475
  function qr(e, ...t) {
3476
- delete be[e], Fe.update((r) => (r[e] = Qn.all([r[e] || {}, ...t]), r));
3476
+ delete be[e], Ge.update((r) => (r[e] = Qn.all([r[e] || {}, ...t]), r));
3477
3477
  }
3478
3478
  Ce(
3479
- [Fe],
3479
+ [Ge],
3480
3480
  ([e]) => Object.keys(e)
3481
3481
  );
3482
- Fe.subscribe((e) => Gt = e);
3483
- const Qe = {};
3482
+ Ge.subscribe((e) => Ft = e);
3483
+ const qe = {};
3484
3484
  function Zi(e, t) {
3485
- Qe[e].delete(t), Qe[e].size === 0 && delete Qe[e];
3485
+ qe[e].delete(t), qe[e].size === 0 && delete qe[e];
3486
3486
  }
3487
3487
  function Qr(e) {
3488
- return Qe[e];
3488
+ return qe[e];
3489
3489
  }
3490
3490
  function Ji(e) {
3491
- return je(e).map((t) => {
3491
+ return ke(e).map((t) => {
3492
3492
  const r = Qr(t);
3493
3493
  return [t, r ? [...r] : []];
3494
3494
  }).filter(([, t]) => t.length > 0);
3495
3495
  }
3496
- function rt(e) {
3497
- return e == null ? !1 : je(e).some(
3496
+ function tt(e) {
3497
+ return e == null ? !1 : ke(e).some(
3498
3498
  (t) => {
3499
3499
  var r;
3500
3500
  return (r = Qr(t)) == null ? void 0 : r.size;
@@ -3508,7 +3508,7 @@ function qi(e, t) {
3508
3508
  }
3509
3509
  const Be = {};
3510
3510
  function Kr(e) {
3511
- if (!rt(e))
3511
+ if (!tt(e))
3512
3512
  return e in Be ? Be[e] : Promise.resolve();
3513
3513
  const t = Ji(e);
3514
3514
  return Be[e] = Promise.all(
@@ -3516,7 +3516,7 @@ function Kr(e) {
3516
3516
  ([r, n]) => qi(r, n)
3517
3517
  )
3518
3518
  ).then(() => {
3519
- if (rt(e))
3519
+ if (tt(e))
3520
3520
  return Kr(e);
3521
3521
  delete Be[e];
3522
3522
  }), Be[e];
@@ -3562,9 +3562,9 @@ const to = {
3562
3562
  };
3563
3563
  function ro({ locale: e, id: t }) {
3564
3564
  console.warn(
3565
- `[svelte-i18n] The message "${t}" was not found in "${je(
3565
+ `[svelte-i18n] The message "${t}" was not found in "${ke(
3566
3566
  e
3567
- ).join('", "')}".${rt(ye()) ? `
3567
+ ).join('", "')}".${tt(ye()) ? `
3568
3568
 
3569
3569
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3570
3570
  );
@@ -3595,7 +3595,7 @@ function io(e) {
3595
3595
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3596
3596
  )), Object.assign(Ne, n, { initialLocale: i }), r && ("number" in r && Object.assign(Ne.formats.number, r.number), "date" in r && Object.assign(Ne.formats.date, r.date), "time" in r && Object.assign(Ne.formats.time, r.time)), Ee.set(i);
3597
3597
  }
3598
- const gt = ke(!1);
3598
+ const pt = Fe(!1);
3599
3599
  var oo = Object.defineProperty, so = Object.defineProperties, ao = Object.getOwnPropertyDescriptors, nr = Object.getOwnPropertySymbols, uo = Object.prototype.hasOwnProperty, lo = Object.prototype.propertyIsEnumerable, ir = (e, t, r) => t in e ? oo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ho = (e, t) => {
3600
3600
  for (var r in t || (t = {}))
3601
3601
  uo.call(t, r) && ir(e, r, t[r]);
@@ -3604,57 +3604,57 @@ var oo = Object.defineProperty, so = Object.defineProperties, ao = Object.getOwn
3604
3604
  lo.call(t, r) && ir(e, r, t[r]);
3605
3605
  return e;
3606
3606
  }, co = (e, t) => so(e, ao(t));
3607
- let Pt;
3608
- const nt = ke(null);
3607
+ let Ot;
3608
+ const rt = Fe(null);
3609
3609
  function or(e) {
3610
3610
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3611
3611
  }
3612
- function je(e, t = Ae().fallbackLocale) {
3612
+ function ke(e, t = Ae().fallbackLocale) {
3613
3613
  const r = or(e);
3614
3614
  return t ? [.../* @__PURE__ */ new Set([...r, ...or(t)])] : r;
3615
3615
  }
3616
3616
  function ye() {
3617
- return Pt ?? void 0;
3617
+ return Ot ?? void 0;
3618
3618
  }
3619
- nt.subscribe((e) => {
3620
- Pt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3619
+ rt.subscribe((e) => {
3620
+ Ot = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3621
3621
  });
3622
3622
  const fo = (e) => {
3623
- if (e && Yi(e) && rt(e)) {
3623
+ if (e && Yi(e) && tt(e)) {
3624
3624
  const { loadingDelay: t } = Ae();
3625
3625
  let r;
3626
3626
  return typeof window < "u" && ye() != null && t ? r = window.setTimeout(
3627
- () => gt.set(!0),
3627
+ () => pt.set(!0),
3628
3628
  t
3629
- ) : gt.set(!0), Kr(e).then(() => {
3630
- nt.set(e);
3629
+ ) : pt.set(!0), Kr(e).then(() => {
3630
+ rt.set(e);
3631
3631
  }).finally(() => {
3632
- clearTimeout(r), gt.set(!1);
3632
+ clearTimeout(r), pt.set(!1);
3633
3633
  });
3634
3634
  }
3635
- return nt.set(e);
3636
- }, Ee = co(ho({}, nt), {
3635
+ return rt.set(e);
3636
+ }, Ee = co(ho({}, rt), {
3637
3637
  set: fo
3638
- }), at = (e) => {
3638
+ }), st = (e) => {
3639
3639
  const t = /* @__PURE__ */ Object.create(null);
3640
3640
  return (n) => {
3641
3641
  const i = JSON.stringify(n);
3642
3642
  return i in t ? t[i] : t[i] = e(n);
3643
3643
  };
3644
3644
  };
3645
- var mo = Object.defineProperty, it = Object.getOwnPropertySymbols, en = Object.prototype.hasOwnProperty, tn = Object.prototype.propertyIsEnumerable, sr = (e, t, r) => t in e ? mo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, kt = (e, t) => {
3645
+ var mo = Object.defineProperty, nt = Object.getOwnPropertySymbols, en = Object.prototype.hasOwnProperty, tn = Object.prototype.propertyIsEnumerable, sr = (e, t, r) => t in e ? mo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gt = (e, t) => {
3646
3646
  for (var r in t || (t = {}))
3647
3647
  en.call(t, r) && sr(e, r, t[r]);
3648
- if (it)
3649
- for (var r of it(t))
3648
+ if (nt)
3649
+ for (var r of nt(t))
3650
3650
  tn.call(t, r) && sr(e, r, t[r]);
3651
3651
  return e;
3652
3652
  }, $e = (e, t) => {
3653
3653
  var r = {};
3654
3654
  for (var n in e)
3655
3655
  en.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3656
- if (e != null && it)
3657
- for (var n of it(e))
3656
+ if (e != null && nt)
3657
+ for (var n of nt(e))
3658
3658
  t.indexOf(n) < 0 && tn.call(e, n) && (r[n] = e[n]);
3659
3659
  return r;
3660
3660
  };
@@ -3663,21 +3663,21 @@ const Ue = (e, t) => {
3663
3663
  if (e in r && t in r[e])
3664
3664
  return r[e][t];
3665
3665
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3666
- }, po = at(
3666
+ }, po = st(
3667
3667
  (e) => {
3668
3668
  var t = e, { locale: r, format: n } = t, i = $e(t, ["locale", "format"]);
3669
3669
  if (r == null)
3670
3670
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3671
3671
  return n && (i = Ue("number", n)), new Intl.NumberFormat(r, i);
3672
3672
  }
3673
- ), go = at(
3673
+ ), go = st(
3674
3674
  (e) => {
3675
3675
  var t = e, { locale: r, format: n } = t, i = $e(t, ["locale", "format"]);
3676
3676
  if (r == null)
3677
3677
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3678
3678
  return n ? i = Ue("date", n) : Object.keys(i).length === 0 && (i = Ue("date", "short")), new Intl.DateTimeFormat(r, i);
3679
3679
  }
3680
- ), bo = at(
3680
+ ), bo = st(
3681
3681
  (e) => {
3682
3682
  var t = e, { locale: r, format: n } = t, i = $e(t, ["locale", "format"]);
3683
3683
  if (r == null)
@@ -3692,22 +3692,22 @@ const Ue = (e, t) => {
3692
3692
  } = t, n = $e(t, [
3693
3693
  "locale"
3694
3694
  ]);
3695
- return po(kt({ locale: r }, n));
3695
+ return po(Gt({ locale: r }, n));
3696
3696
  }, vo = (e = {}) => {
3697
3697
  var t = e, {
3698
3698
  locale: r = ye()
3699
3699
  } = t, n = $e(t, [
3700
3700
  "locale"
3701
3701
  ]);
3702
- return go(kt({ locale: r }, n));
3702
+ return go(Gt({ locale: r }, n));
3703
3703
  }, _o = (e = {}) => {
3704
3704
  var t = e, {
3705
3705
  locale: r = ye()
3706
3706
  } = t, n = $e(t, [
3707
3707
  "locale"
3708
3708
  ]);
3709
- return bo(kt({ locale: r }, n));
3710
- }, xo = at(
3709
+ return bo(Gt({ locale: r }, n));
3710
+ }, xo = st(
3711
3711
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3712
3712
  (e, t = ye()) => new Yr(e, t, Ae().formats, {
3713
3713
  ignoreTag: Ae().ignoreTag
@@ -3744,11 +3744,11 @@ const Ue = (e, t) => {
3744
3744
  );
3745
3745
  }
3746
3746
  return c;
3747
- }, wo = (e, t) => _o(t).format(e), So = (e, t) => vo(t).format(e), Mo = (e, t) => yo(t).format(e), To = (e, t = ye()) => Zr(e, t), Ho = Ce([Ee, Fe], () => Eo);
3747
+ }, wo = (e, t) => _o(t).format(e), So = (e, t) => vo(t).format(e), Mo = (e, t) => yo(t).format(e), To = (e, t = ye()) => Zr(e, t), Ho = Ce([Ee, Ge], () => Eo);
3748
3748
  Ce([Ee], () => wo);
3749
3749
  Ce([Ee], () => So);
3750
3750
  Ce([Ee], () => Mo);
3751
- Ce([Ee, Fe], () => To);
3751
+ Ce([Ee, Ge], () => To);
3752
3752
  function ar(e, t) {
3753
3753
  qr(e, t);
3754
3754
  }
@@ -3769,16 +3769,6 @@ const ur = {
3769
3769
  otherMethodsTitle: "All Methods",
3770
3770
  otherMethodsDescription: "Discover our incredible selection of unique products that you won't want to miss!"
3771
3771
  },
3772
- uk: {
3773
- generalMin: "Мін",
3774
- generalMax: "Макс"
3775
- },
3776
- hr: {
3777
- generalMin: "Minimalno",
3778
- generalMax: "Maksimalno",
3779
- showAll: "Prikaži sve",
3780
- showLess: "Prikaži manje"
3781
- },
3782
3772
  tr: {
3783
3773
  generalMin: "Min",
3784
3774
  generalMax: "Maks",
@@ -3789,12 +3779,6 @@ const ur = {
3789
3779
  promoLabel: "Favori",
3790
3780
  otherMethodsTitle: "Tüm Yöntemler",
3791
3781
  otherMethodsDescription: "Kaçırmak istemeyeceğiniz benzersiz ürünlerimizden oluşan inanılmaz seçkimizi keşfedin!"
3792
- },
3793
- "en-us": {
3794
- generalMin: "Min",
3795
- generalMax: "Max",
3796
- showAll: "SHOW ALL",
3797
- showLess: "SHOW LESS"
3798
3782
  }
3799
3783
  };
3800
3784
  function Po(e, t) {
@@ -3836,24 +3820,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
3836
3820
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
3837
3821
  PERFORMANCE OF THIS SOFTWARE.
3838
3822
  ***************************************************************************** */
3839
- var At = function(e, t) {
3840
- return At = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
3823
+ var Pt = function(e, t) {
3824
+ return Pt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
3841
3825
  r.__proto__ = n;
3842
3826
  } || function(r, n) {
3843
3827
  for (var i in n)
3844
3828
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
3845
- }, At(e, t);
3829
+ }, Pt(e, t);
3846
3830
  };
3847
- function Ve(e, t) {
3831
+ function je(e, t) {
3848
3832
  if (typeof t != "function" && t !== null)
3849
3833
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
3850
- At(e, t);
3834
+ Pt(e, t);
3851
3835
  function r() {
3852
3836
  this.constructor = e;
3853
3837
  }
3854
3838
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
3855
3839
  }
3856
- function Lt(e) {
3840
+ function At(e) {
3857
3841
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
3858
3842
  if (r)
3859
3843
  return r.call(e);
@@ -3865,7 +3849,7 @@ function Lt(e) {
3865
3849
  };
3866
3850
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
3867
3851
  }
3868
- function Ct(e, t) {
3852
+ function Lt(e, t) {
3869
3853
  var r = typeof Symbol == "function" && e[Symbol.iterator];
3870
3854
  if (!r)
3871
3855
  return e;
@@ -3885,7 +3869,7 @@ function Ct(e, t) {
3885
3869
  }
3886
3870
  return o;
3887
3871
  }
3888
- function $t(e, t, r) {
3872
+ function Ct(e, t, r) {
3889
3873
  if (arguments.length === 2)
3890
3874
  for (var n = 0, i = t.length, o; n < i; n++)
3891
3875
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
@@ -3900,7 +3884,7 @@ function rn(e) {
3900
3884
  }, r = e(t);
3901
3885
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
3902
3886
  }
3903
- var bt = rn(function(e) {
3887
+ var gt = rn(function(e) {
3904
3888
  return function(r) {
3905
3889
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
3906
3890
  ` + r.map(function(n, i) {
@@ -3909,13 +3893,13 @@ var bt = rn(function(e) {
3909
3893
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
3910
3894
  };
3911
3895
  });
3912
- function Bt(e, t) {
3896
+ function $t(e, t) {
3913
3897
  if (e) {
3914
3898
  var r = e.indexOf(t);
3915
3899
  0 <= r && e.splice(r, 1);
3916
3900
  }
3917
3901
  }
3918
- var ut = function() {
3902
+ var at = function() {
3919
3903
  function e(t) {
3920
3904
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
3921
3905
  }
@@ -3927,7 +3911,7 @@ var ut = function() {
3927
3911
  if (s)
3928
3912
  if (this._parentage = null, Array.isArray(s))
3929
3913
  try {
3930
- for (var a = Lt(s), u = a.next(); !u.done; u = a.next()) {
3914
+ for (var a = At(s), u = a.next(); !u.done; u = a.next()) {
3931
3915
  var l = u.value;
3932
3916
  l.remove(this);
3933
3917
  }
@@ -3948,18 +3932,18 @@ var ut = function() {
3948
3932
  try {
3949
3933
  h();
3950
3934
  } catch (f) {
3951
- o = f instanceof bt ? f.errors : [f];
3935
+ o = f instanceof gt ? f.errors : [f];
3952
3936
  }
3953
3937
  var c = this._finalizers;
3954
3938
  if (c) {
3955
3939
  this._finalizers = null;
3956
3940
  try {
3957
- for (var b = Lt(c), x = b.next(); !x.done; x = b.next()) {
3941
+ for (var b = At(c), x = b.next(); !x.done; x = b.next()) {
3958
3942
  var _ = x.value;
3959
3943
  try {
3960
3944
  lr(_);
3961
3945
  } catch (f) {
3962
- o = o ?? [], f instanceof bt ? o = $t($t([], Ct(o)), Ct(f.errors)) : o.push(f);
3946
+ o = o ?? [], f instanceof gt ? o = Ct(Ct([], Lt(o)), Lt(f.errors)) : o.push(f);
3963
3947
  }
3964
3948
  }
3965
3949
  } catch (f) {
@@ -3974,7 +3958,7 @@ var ut = function() {
3974
3958
  }
3975
3959
  }
3976
3960
  if (o)
3977
- throw new bt(o);
3961
+ throw new gt(o);
3978
3962
  }
3979
3963
  }, e.prototype.add = function(t) {
3980
3964
  var r;
@@ -3997,17 +3981,17 @@ var ut = function() {
3997
3981
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
3998
3982
  }, e.prototype._removeParent = function(t) {
3999
3983
  var r = this._parentage;
4000
- r === t ? this._parentage = null : Array.isArray(r) && Bt(r, t);
3984
+ r === t ? this._parentage = null : Array.isArray(r) && $t(r, t);
4001
3985
  }, e.prototype.remove = function(t) {
4002
3986
  var r = this._finalizers;
4003
- r && Bt(r, t), t instanceof e && t._removeParent(this);
3987
+ r && $t(r, t), t instanceof e && t._removeParent(this);
4004
3988
  }, e.EMPTY = function() {
4005
3989
  var t = new e();
4006
3990
  return t.closed = !0, t;
4007
3991
  }(), e;
4008
- }(), nn = ut.EMPTY;
3992
+ }(), nn = at.EMPTY;
4009
3993
  function on(e) {
4010
- return e instanceof ut || e && "closed" in e && de(e.remove) && de(e.add) && de(e.unsubscribe);
3994
+ return e instanceof at || e && "closed" in e && de(e.remove) && de(e.add) && de(e.unsubscribe);
4011
3995
  }
4012
3996
  function lr(e) {
4013
3997
  de(e) ? e() : e.unsubscribe();
@@ -4018,7 +4002,7 @@ var Co = {
4018
4002
  setTimeout: function(e, t) {
4019
4003
  for (var r = [], n = 2; n < arguments.length; n++)
4020
4004
  r[n - 2] = arguments[n];
4021
- return setTimeout.apply(void 0, $t([e, t], Ct(r)));
4005
+ return setTimeout.apply(void 0, Ct([e, t], Lt(r)));
4022
4006
  },
4023
4007
  clearTimeout: function(e) {
4024
4008
  return clearTimeout(e);
@@ -4032,17 +4016,17 @@ function Bo(e) {
4032
4016
  }
4033
4017
  function hr() {
4034
4018
  }
4035
- function Ke(e) {
4019
+ function Qe(e) {
4036
4020
  e();
4037
4021
  }
4038
4022
  var sn = function(e) {
4039
- Ve(t, e);
4023
+ je(t, e);
4040
4024
  function t(r) {
4041
4025
  var n = e.call(this) || this;
4042
4026
  return n.isStopped = !1, r ? (n.destination = r, on(r) && r.add(n)) : n.destination = Do, n;
4043
4027
  }
4044
4028
  return t.create = function(r, n, i) {
4045
- return new Nt(r, n, i);
4029
+ return new Bt(r, n, i);
4046
4030
  }, t.prototype.next = function(r) {
4047
4031
  this.isStopped || this._next(r);
4048
4032
  }, t.prototype.error = function(r) {
@@ -4066,7 +4050,7 @@ var sn = function(e) {
4066
4050
  this.unsubscribe();
4067
4051
  }
4068
4052
  }, t;
4069
- }(ut), No = function() {
4053
+ }(at), No = function() {
4070
4054
  function e(t) {
4071
4055
  this.partialObserver = t;
4072
4056
  }
@@ -4076,7 +4060,7 @@ var sn = function(e) {
4076
4060
  try {
4077
4061
  r.next(t);
4078
4062
  } catch (n) {
4079
- Ye(n);
4063
+ Xe(n);
4080
4064
  }
4081
4065
  }, e.prototype.error = function(t) {
4082
4066
  var r = this.partialObserver;
@@ -4084,21 +4068,21 @@ var sn = function(e) {
4084
4068
  try {
4085
4069
  r.error(t);
4086
4070
  } catch (n) {
4087
- Ye(n);
4071
+ Xe(n);
4088
4072
  }
4089
4073
  else
4090
- Ye(t);
4074
+ Xe(t);
4091
4075
  }, e.prototype.complete = function() {
4092
4076
  var t = this.partialObserver;
4093
4077
  if (t.complete)
4094
4078
  try {
4095
4079
  t.complete();
4096
4080
  } catch (r) {
4097
- Ye(r);
4081
+ Xe(r);
4098
4082
  }
4099
4083
  }, e;
4100
- }(), Nt = function(e) {
4101
- Ve(t, e);
4084
+ }(), Bt = function(e) {
4085
+ je(t, e);
4102
4086
  function t(r, n, i) {
4103
4087
  var o = e.call(this) || this, s;
4104
4088
  return de(r) || !r ? s = {
@@ -4109,7 +4093,7 @@ var sn = function(e) {
4109
4093
  }
4110
4094
  return t;
4111
4095
  }(sn);
4112
- function Ye(e) {
4096
+ function Xe(e) {
4113
4097
  Bo(e);
4114
4098
  }
4115
4099
  function Io(e) {
@@ -4126,7 +4110,7 @@ var Do = {
4126
4110
  function Uo(e) {
4127
4111
  return e;
4128
4112
  }
4129
- function Go(e) {
4113
+ function Fo(e) {
4130
4114
  return e.length === 0 ? Uo : e.length === 1 ? e[0] : function(r) {
4131
4115
  return e.reduce(function(n, i) {
4132
4116
  return i(n);
@@ -4141,8 +4125,8 @@ var cr = function() {
4141
4125
  var r = new e();
4142
4126
  return r.source = this, r.operator = t, r;
4143
4127
  }, e.prototype.subscribe = function(t, r, n) {
4144
- var i = this, o = Fo(t) ? t : new Nt(t, r, n);
4145
- return Ke(function() {
4128
+ var i = this, o = ko(t) ? t : new Bt(t, r, n);
4129
+ return Qe(function() {
4146
4130
  var s = i, a = s.operator, u = s.source;
4147
4131
  o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
4148
4132
  }), o;
@@ -4155,7 +4139,7 @@ var cr = function() {
4155
4139
  }, e.prototype.forEach = function(t, r) {
4156
4140
  var n = this;
4157
4141
  return r = fr(r), new r(function(i, o) {
4158
- var s = new Nt({
4142
+ var s = new Bt({
4159
4143
  next: function(a) {
4160
4144
  try {
4161
4145
  t(a);
@@ -4176,7 +4160,7 @@ var cr = function() {
4176
4160
  }, e.prototype.pipe = function() {
4177
4161
  for (var t = [], r = 0; r < arguments.length; r++)
4178
4162
  t[r] = arguments[r];
4179
- return Go(t)(this);
4163
+ return Fo(t)(this);
4180
4164
  }, e.prototype.toPromise = function(t) {
4181
4165
  var r = this;
4182
4166
  return t = fr(t), new t(function(n, i) {
@@ -4197,18 +4181,18 @@ function fr(e) {
4197
4181
  var t;
4198
4182
  return (t = e ?? Co.Promise) !== null && t !== void 0 ? t : Promise;
4199
4183
  }
4200
- function ko(e) {
4184
+ function Go(e) {
4201
4185
  return e && de(e.next) && de(e.error) && de(e.complete);
4202
4186
  }
4203
- function Fo(e) {
4204
- return e && e instanceof sn || ko(e) && on(e);
4187
+ function ko(e) {
4188
+ return e && e instanceof sn || Go(e) && on(e);
4205
4189
  }
4206
4190
  var jo = rn(function(e) {
4207
4191
  return function() {
4208
4192
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4209
4193
  };
4210
4194
  }), an = function(e) {
4211
- Ve(t, e);
4195
+ je(t, e);
4212
4196
  function t() {
4213
4197
  var r = e.call(this) || this;
4214
4198
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
@@ -4221,12 +4205,12 @@ var jo = rn(function(e) {
4221
4205
  throw new jo();
4222
4206
  }, t.prototype.next = function(r) {
4223
4207
  var n = this;
4224
- Ke(function() {
4208
+ Qe(function() {
4225
4209
  var i, o;
4226
4210
  if (n._throwIfClosed(), !n.isStopped) {
4227
4211
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
4228
4212
  try {
4229
- for (var s = Lt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4213
+ for (var s = At(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4230
4214
  var u = a.value;
4231
4215
  u.next(r);
4232
4216
  }
@@ -4244,7 +4228,7 @@ var jo = rn(function(e) {
4244
4228
  });
4245
4229
  }, t.prototype.error = function(r) {
4246
4230
  var n = this;
4247
- Ke(function() {
4231
+ Qe(function() {
4248
4232
  if (n._throwIfClosed(), !n.isStopped) {
4249
4233
  n.hasError = n.isStopped = !0, n.thrownError = r;
4250
4234
  for (var i = n.observers; i.length; )
@@ -4253,7 +4237,7 @@ var jo = rn(function(e) {
4253
4237
  });
4254
4238
  }, t.prototype.complete = function() {
4255
4239
  var r = this;
4256
- Ke(function() {
4240
+ Qe(function() {
4257
4241
  if (r._throwIfClosed(), !r.isStopped) {
4258
4242
  r.isStopped = !0;
4259
4243
  for (var n = r.observers; n.length; )
@@ -4275,8 +4259,8 @@ var jo = rn(function(e) {
4275
4259
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4276
4260
  }, t.prototype._innerSubscribe = function(r) {
4277
4261
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
4278
- return o || s ? nn : (this.currentObservers = null, a.push(r), new ut(function() {
4279
- n.currentObservers = null, Bt(a, r);
4262
+ return o || s ? nn : (this.currentObservers = null, a.push(r), new at(function() {
4263
+ n.currentObservers = null, $t(a, r);
4280
4264
  }));
4281
4265
  }, t.prototype._checkFinalizedStatuses = function(r) {
4282
4266
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
@@ -4288,7 +4272,7 @@ var jo = rn(function(e) {
4288
4272
  return new mr(r, n);
4289
4273
  }, t;
4290
4274
  }(cr), mr = function(e) {
4291
- Ve(t, e);
4275
+ je(t, e);
4292
4276
  function t(r, n) {
4293
4277
  var i = e.call(this) || this;
4294
4278
  return i.destination = r, i.source = n, i;
@@ -4312,7 +4296,7 @@ var jo = rn(function(e) {
4312
4296
  },
4313
4297
  delegate: void 0
4314
4298
  }, Vo = function(e) {
4315
- Ve(t, e);
4299
+ je(t, e);
4316
4300
  function t(r, n, i) {
4317
4301
  r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = un);
4318
4302
  var o = e.call(this) || this;
@@ -4342,24 +4326,22 @@ const dr = [], pr = {}, zo = (e, t = 0) => {
4342
4326
  }
4343
4327
  return pr[e];
4344
4328
  };
4345
- let It = "en-UK", ln = "true", Ge = 2, Dt = "";
4329
+ let Nt = "en-UK", ln = "true", It = 0, Dt = "";
4346
4330
  const Wo = (e, t, r, n) => {
4347
- It = e || "en-UK", ln = t || "true", Ge = +n || 2, Dt = r || "";
4331
+ Nt = e || "en-UK", ln = t || "true", It = +n || 0, Dt = r || "";
4348
4332
  }, gr = ({ local: e, options: t = {}, amount: r }) => {
4349
4333
  try {
4350
- return new Intl.NumberFormat(e, t).format(r);
4334
+ return new Intl.NumberFormat(e, t);
4351
4335
  } catch (n) {
4352
- console.info(n);
4353
- const i = new Intl.NumberFormat(e, {
4354
- maximumFractionDigits: Ge,
4355
- minimumFractionDigits: Ge
4356
- }).format(r);
4357
- return `${t.currency || ""} ${i}`;
4336
+ return console.info(n), new Intl.NumberFormat(e, {
4337
+ minimumFractionDigits: t.minimumFractionDigits,
4338
+ maximumFractionDigits: t.maximumFractionDigits
4339
+ });
4358
4340
  }
4359
- }, Ze = (e, t, r = {}, n = !0) => {
4341
+ }, Ye = (e, t, r = {}, n = !0) => {
4360
4342
  const i = {
4361
- maximumFractionDigits: Ge,
4362
- minimumFractionDigits: Ge,
4343
+ maximumFractionDigits: It,
4344
+ minimumFractionDigits: It,
4363
4345
  ...n && {
4364
4346
  style: "currency",
4365
4347
  currency: t,
@@ -4368,9 +4350,9 @@ const Wo = (e, t, r, n) => {
4368
4350
  ...r
4369
4351
  };
4370
4352
  if (!Dt)
4371
- return gr({ local: It, options: i, amount: e });
4372
- const s = gr({ local: It, options: i, amount: e }).formatToParts(e), a = s.find((c) => c.type === "currency"), l = s.filter((c) => c.type !== "currency").map((c) => c.value).join("");
4373
- return Dt === "before" ? `${a.value || ""} ${l}` : `${l} ${a.value || ""}`;
4353
+ return gr({ local: Nt, options: i }).format(e);
4354
+ const s = gr({ local: Nt, options: i }).formatToParts(e), a = s.find(({ type: h = "" } = {}) => h === "currency") || {}, u = s.filter(({ type: h = "" } = {}) => h !== "currency").map(({ value: h = "" } = {}) => h).join("");
4355
+ return Dt === "before" ? `${a.value || t || ""} ${u}` : `${u} ${a.value || t || ""}`;
4374
4356
  };
4375
4357
  window.emWidgets = { topic: zo };
4376
4358
  const Xo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
@@ -4750,7 +4732,7 @@ var cn = { exports: {} };
4750
4732
  })(cn);
4751
4733
  var Zo = cn.exports;
4752
4734
  const Jo = /* @__PURE__ */ Ut(Zo);
4753
- let yr = ke(null);
4735
+ let yr = Fe(null);
4754
4736
  function qo(e) {
4755
4737
  gn(e, "svelte-ypvc47", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CashierMethodList{display:grid;grid-template-columns:1fr 1fr 1fr;max-width:100%;border-radius:var(--emw--border-radius-medium-plus, 6px);gap:10px;margin:10px}.SelectorWrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;position:relative;box-sizing:border-box;padding:10px 0;border-radius:10px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);overflow:hidden;z-index:1;transition:transform 0.3s ease-in-out}.SelectorWrapper:hover{box-shadow:inset 0px 0px 7px var(--emw--color-primary);transform:scale(1.02)}.SelectorWrapper::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:10px;background:linear-gradient(140deg, var(--emw--color-white, #f5f5f5) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.2}.CashierMethodListWidget{background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));height:100%;padding-bottom:20px}.MethodsListDescription{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));padding:10px}.MethodsListDescription h3{font-size:12px;text-transform:uppercase;margin:10px 0}.MethodsListDescription p{color:white;opacity:0.55;font-size:12px}.MethodLogo img{width:100%;height:100%;max-height:35px}.MethodPromoLabel{background:var(--emw--color-button-background, #f1f3ff);color:var(--emw--color-primary, #f9c405);font-size:14px;font-weight:700;text-transform:uppercase;padding:5px 10px;min-width:100px;border-radius:10px;margin:10px;text-align:center}.MethodInfo{width:100%;max-width:100%}.MethodTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));text-align:center;margin:5px 10px;font-size:var(--emw--font-size-medium, 12px);word-break:break-word;font-weight:var(--emw--font-weight-bold, 700);line-height:16px}.MethodLimits{gap:var(--emw--spacing-small-minus, 10px);text-align:center;word-break:break-word;margin:5px 10px}.Limits{max-width:100%;font-size:var(--emw--font-size-small, 11px);font-weight:var(--emw--font-weight-normal, 300);font-style:normal;color:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.7}.EmptyContentMessageWrapper{position:relative;display:flex;justify-content:flex-end}.EmptyContentMessageContent{display:flex;flex-direction:column;row-gap:var(--emw--spacing-small, 12px);bottom:10%}.EmptyContentMessageImg{width:250px}.EmptyContentMessageImg img{border-radius:0 0 var(--emw--border-radius-medium-plus, 6px) 0;height:100%;width:100%}.EmptyContentMessageTitle{font-size:var(--emw--font-size-medium, 20px);font-weight:var(--emw--font-weight-bold, 800);line-height:calc(var(--emw--font-size-medium, 16px) + 4px);color:var(--emw--color-primary);text-transform:uppercase}.EmptyContentMessageText{word-break:break-word;font-size:var(--emw--font-size-small, 14px);line-height:calc(var(--emw--font-size-medium, 16px) + 4px);color:var(--emw--color-typography, #fff)}.EmptyContentMessageDesktop{justify-content:flex-start}.EmptyContentMessageDesktop .EmptyContentMessageContent{bottom:auto;margin-top:10px}.EmptyContentMessageDesktop .EmptyContentMessageImg{width:auto}.EmptyContentMessageDesktop .EmptyContentMessageImg img{transform:scaleX(-1)}.IconWarning{width:30px;display:flex}.IconWarning svg{height:18px;fill:var(--emw--color-warning, rgb(250, 146, 0))}.ShowAllButton{cursor:pointer;color:var(--emw--color-grey-290, #666);text-align:center;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;background:var(--emw--color-gray-50, #f7f8fa);line-height:normal;border:1px solid var(--emw--color-grey-105, #e8e9eb);border-radius:var(--emw--border-radius-medium, 4px);margin:var(--emw--spacing-small, 12px) auto;height:36px;display:flex;align-items:center;justify-content:center;width:80%}.ShowAllButton:hover{background:var(--emw--color-background, #fff)}.ErrorMessage{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:12px}@container method-list (width < 450px){.MethodLogo{width:var(--emw-logo-small-width, 90px);min-width:var(--emw-logo-small-width, 90px);min-height:var(--emw-logo-small-height, 30px);overflow:hidden}.CashierMethodList .MethodTitle,.MethodLimits{display:inline-block;flex-grow:1;font-size:var(--emw--font-size-medium, 16px);line-height:120%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%}.MethodInfo{flex-direction:column;align-items:start}.MethodLimits{display:flex;flex-direction:row;gap:5px}.CashierMethodList .MethodLimits .Limits{flex-shrink:0;font-size:var(--emw--font-size-x-small, 12px)}}@container method-list (max-width: 300px){.Limits{display:none}}');
4756
4738
  }
@@ -4774,7 +4756,7 @@ function _r(e) {
4774
4756
  );
4775
4757
  return {
4776
4758
  c() {
4777
- t = j("div"), o && o.c(), r = ue(), n = j("div"), u.c(), i = ue(), l && l.c(), F(n, "class", "CashierMethodList"), F(t, "class", "CashierMethodListWidget");
4759
+ t = j("div"), o && o.c(), r = ue(), n = j("div"), u.c(), i = ue(), l && l.c(), k(n, "class", "CashierMethodList"), k(t, "class", "CashierMethodListWidget");
4778
4760
  },
4779
4761
  m(h, c) {
4780
4762
  he(h, t, c), o && o.m(t, null), M(t, r), M(t, n), u.m(n, null), M(t, i), l && l.m(t, null), e[31](t);
@@ -4799,7 +4781,7 @@ function xr(e) {
4799
4781
  ), u;
4800
4782
  return {
4801
4783
  c() {
4802
- t = j("div"), r = j("h3"), i = ee(n), o = ue(), s = j("p"), u = ee(a), F(t, "class", "MethodsListDescription");
4784
+ t = j("div"), r = j("h3"), i = ee(n), o = ue(), s = j("p"), u = ee(a), k(t, "class", "MethodsListDescription");
4803
4785
  },
4804
4786
  m(l, h) {
4805
4787
  he(l, t, h), M(t, r), M(r, i), M(t, o), M(t, s), M(s, u);
@@ -4866,7 +4848,7 @@ function Ko(e) {
4866
4848
  ), l;
4867
4849
  return {
4868
4850
  c() {
4869
- t = j("div"), r = j("div"), n = j("p"), o = ee(i), s = ue(), a = j("p"), l = ee(u), F(n, "class", "EmptyContentMessageTitle"), F(a, "class", "EmptyContentMessageText"), F(r, "class", "EmptyContentMessageContent"), F(t, "class", "EmptyContentMessageWrapper"), et(
4851
+ t = j("div"), r = j("div"), n = j("p"), o = ee(i), s = ue(), a = j("p"), l = ee(u), k(n, "class", "EmptyContentMessageTitle"), k(a, "class", "EmptyContentMessageText"), k(r, "class", "EmptyContentMessageContent"), k(t, "class", "EmptyContentMessageWrapper"), Ke(
4870
4852
  t,
4871
4853
  "EmptyContentMessageDesktop",
4872
4854
  /*desktopView*/
@@ -4882,7 +4864,7 @@ function Ko(e) {
4882
4864
  h[16]("error") + "") && ne(o, i), c[0] & /*$_*/
4883
4865
  65536 && u !== (u = /*$_*/
4884
4866
  h[16]("noPaymentMethods") + "") && ne(l, u), c[0] & /*desktopView*/
4885
- 4096 && et(
4867
+ 4096 && Ke(
4886
4868
  t,
4887
4869
  "EmptyContentMessageDesktop",
4888
4870
  /*desktopView*/
@@ -4902,7 +4884,7 @@ function Er(e) {
4902
4884
  ), c, b, x, _, f = (
4903
4885
  /*$_*/
4904
4886
  e[16]("generalMin") + ""
4905
- ), P, V, $ = Ze(
4887
+ ), P, V, $ = Ye(
4906
4888
  /*payMeth*/
4907
4889
  e[52].DisplayCurrency.MinAmountLimit,
4908
4890
  /*payMeth*/
@@ -4928,7 +4910,7 @@ function Er(e) {
4928
4910
  ) + "", O, Y, C = (
4929
4911
  /*$_*/
4930
4912
  e[16]("generalMax") + ""
4931
- ), I, D, re = Ze(
4913
+ ), I, D, re = Ye(
4932
4914
  /*payMeth*/
4933
4915
  e[52].DisplayCurrency.MaxAmountLimit,
4934
4916
  /*payMeth*/
@@ -4964,8 +4946,8 @@ function Er(e) {
4964
4946
  return {
4965
4947
  c() {
4966
4948
  t = j("div"), r = j("div"), n = j("img"), s = ue(), a = j("div"), u = j("div"), l = j("span"), c = ee(h), b = ue(), x = j("div"), _ = j("span"), P = ee(f), V = ue(), O = ee($), Y = ee(" / "), I = ee(C), D = ue(), R = ee(re), L = ue(), jt(n.src, i = /*payMeth*/
4967
- e[52].LogoUrl) || F(n, "src", i), F(n, "alt", o = /*payMeth*/
4968
- e[52].Label), F(r, "class", "MethodLogo"), F(u, "class", "MethodTitle"), F(_, "class", "Limits"), F(x, "class", "MethodLimits"), F(a, "class", "MethodInfo"), F(t, "class", "SelectorWrapper"), et(
4949
+ e[52].LogoUrl) || k(n, "src", i), k(n, "alt", o = /*payMeth*/
4950
+ e[52].Label), k(r, "class", "MethodLogo"), k(u, "class", "MethodTitle"), k(_, "class", "Limits"), k(x, "class", "MethodLimits"), k(a, "class", "MethodInfo"), k(t, "class", "SelectorWrapper"), Ke(
4969
4951
  t,
4970
4952
  "checked",
4971
4953
  /*selectedPaymentMethod*/
@@ -4975,22 +4957,22 @@ function Er(e) {
4975
4957
  },
4976
4958
  m(v, m) {
4977
4959
  he(v, t, m), M(t, r), M(r, n), M(t, s), M(t, a), M(a, u), M(u, l), M(l, c), M(a, b), M(a, x), M(x, _), M(_, P), M(_, V), M(_, O), M(_, Y), M(_, I), M(_, D), M(_, R), M(t, L), S || (Z = [
4978
- yt(t, "click", ce),
4979
- yt(t, "keyup", rs)
4960
+ bt(t, "click", ce),
4961
+ bt(t, "keyup", rs)
4980
4962
  ], S = !0);
4981
4963
  },
4982
4964
  p(v, m) {
4983
4965
  e = v, m[0] & /*paymentMethodsToShow*/
4984
4966
  1024 && !jt(n.src, i = /*payMeth*/
4985
- e[52].LogoUrl) && F(n, "src", i), m[0] & /*paymentMethodsToShow*/
4967
+ e[52].LogoUrl) && k(n, "src", i), m[0] & /*paymentMethodsToShow*/
4986
4968
  1024 && o !== (o = /*payMeth*/
4987
- e[52].Label) && F(n, "alt", o), m[0] & /*paymentMethodsToShow*/
4969
+ e[52].Label) && k(n, "alt", o), m[0] & /*paymentMethodsToShow*/
4988
4970
  1024 && h !== (h = /*payMeth*/
4989
4971
  (e[52].Label || /*payMeth*/
4990
4972
  e[52].Name) + "") && ne(c, h), m[0] & /*$_*/
4991
4973
  65536 && f !== (f = /*$_*/
4992
4974
  e[16]("generalMin") + "") && ne(P, f), m[0] & /*paymentMethodsToShow, precisionCurrenciesMap, numericCurrencyDecimals*/
4993
- 33920 && $ !== ($ = Ze(
4975
+ 33920 && $ !== ($ = Ye(
4994
4976
  /*payMeth*/
4995
4977
  e[52].DisplayCurrency.MinAmountLimit,
4996
4978
  /*payMeth*/
@@ -5016,7 +4998,7 @@ function Er(e) {
5016
4998
  ) + "") && ne(O, $), m[0] & /*$_*/
5017
4999
  65536 && C !== (C = /*$_*/
5018
5000
  e[16]("generalMax") + "") && ne(I, C), m[0] & /*paymentMethodsToShow, precisionCurrenciesMap, numericCurrencyDecimals*/
5019
- 33920 && re !== (re = Ze(
5001
+ 33920 && re !== (re = Ye(
5020
5002
  /*payMeth*/
5021
5003
  e[52].DisplayCurrency.MaxAmountLimit,
5022
5004
  /*payMeth*/
@@ -5040,7 +5022,7 @@ function Er(e) {
5040
5022
  )
5041
5023
  }
5042
5024
  ) + "") && ne(R, re), m[0] & /*selectedPaymentMethod, paymentMethodsToShow*/
5043
- 1280 && et(
5025
+ 1280 && Ke(
5044
5026
  t,
5045
5027
  "checked",
5046
5028
  /*selectedPaymentMethod*/
@@ -5060,10 +5042,10 @@ function wr(e) {
5060
5042
  t = j("div"), r = ee(
5061
5043
  /*methodsButtonToggleText*/
5062
5044
  e[9]
5063
- ), F(t, "class", "ShowAllButton");
5045
+ ), k(t, "class", "ShowAllButton");
5064
5046
  },
5065
5047
  m(o, s) {
5066
- he(o, t, s), M(t, r), n || (i = yt(
5048
+ he(o, t, s), M(t, r), n || (i = bt(
5067
5049
  t,
5068
5050
  "click",
5069
5051
  /*click_handler_1*/
@@ -5090,7 +5072,7 @@ function Sr(e) {
5090
5072
  t = j("cashier-error"), r = j("span"), n = ee(
5091
5073
  /*errorMessage*/
5092
5074
  e[11]
5093
- ), F(r, "class", "ErrorMessage"), F(r, "slot", "text"), te(
5075
+ ), k(r, "class", "ErrorMessage"), k(r, "slot", "text"), te(
5094
5076
  t,
5095
5077
  "lang",
5096
5078
  /*lang*/
@@ -5206,7 +5188,7 @@ const ts = "PaymentPromotion", rs = () => {
5206
5188
  function ns(e, t, r) {
5207
5189
  let n, i, o;
5208
5190
  Vt(e, Ho, (p) => r(16, i = p)), Vt(e, yr, (p) => r(37, o = p)), br.extend(Jo);
5209
- let { lang: s = "en" } = t, { local: a = "en-US" } = t, { endpoint: u } = t, { paymentsession: l } = t, { playersession: h } = t, { customerid: c } = t, { assetsurl: b } = t, { currency: x } = t, { numberofmethodsshown: _ } = t, { translationurl: f = "" } = t, { mbsource: P } = t, { clientstyling: V } = t, { clientstylingurl: $ } = t, { currencydecimals: O = "2" } = t, { currencysymbol: Y = "" } = t, { currencyposition: C = "" } = t, I = {}, D, re = window.navigator.userAgent, R = [], L, S = "", Z = [], ce = [], v = "", m, d = !0, y = !1, g = !1;
5191
+ let { lang: s = "en" } = t, { local: a = "en-US" } = t, { endpoint: u } = t, { paymentsession: l } = t, { playersession: h } = t, { customerid: c } = t, { assetsurl: b } = t, { currency: x } = t, { numberofmethodsshown: _ } = t, { translationurl: f = "" } = t, { mbsource: P } = t, { clientstyling: V } = t, { clientstylingurl: $ } = t, { currencydecimals: O = "0" } = t, { currencysymbol: Y = "" } = t, { currencyposition: C = "" } = t, I = {}, D, re = window.navigator.userAgent, R = [], L, S = "", Z = [], ce = [], v = "", m, d = !0, y = !1, g = !1;
5210
5192
  var E;
5211
5193
  (function(p) {
5212
5194
  p.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", p.Success = "Success", p.JwtTokenError = "JwtTokenError";
@@ -5242,19 +5224,19 @@ function ns(e, t, r) {
5242
5224
  Tags: { UserAgent: window.navigator.userAgent }
5243
5225
  })
5244
5226
  };
5245
- fetch(p, ge).then((G) => {
5246
- const q = G.headers.get("X-Payment-Session-Token");
5247
- return q && yr.set(q), G.json();
5248
- }).then((G) => {
5249
- if (G.error) {
5250
- r(11, v = G.error);
5227
+ fetch(p, ge).then((F) => {
5228
+ const q = F.headers.get("X-Payment-Session-Token");
5229
+ return q && yr.set(q), F.json();
5230
+ }).then((F) => {
5231
+ if (F.error) {
5232
+ r(11, v = F.error);
5251
5233
  return;
5252
5234
  }
5253
- if (G.ResponseCode !== E.Success) {
5254
- m = G.ResponseCode, me();
5235
+ if (F.ResponseCode !== E.Success) {
5236
+ m = F.ResponseCode, me();
5255
5237
  return;
5256
5238
  }
5257
- R = G.PaymentMethods?.Ordering ? W(G) : K(G), window.postMessage(
5239
+ R = F.PaymentMethods?.Ordering ? W(F) : K(F), window.postMessage(
5258
5240
  {
5259
5241
  type: "PromotedPaymentMethods",
5260
5242
  promotedPaymentMethods: ce
@@ -5273,10 +5255,10 @@ function ns(e, t, r) {
5273
5255
  }, W = (p) => {
5274
5256
  const U = [];
5275
5257
  return ce = [], p.PaymentMethods.Ordering.DefaultPaymentMethodsOrder.forEach((ge) => {
5276
- const G = p.PaymentMethods.PaymentMethods.find((q) => q.Name === ge);
5277
- if (G) {
5278
- const q = G?.Logos.find((lt) => lt.LogoType === "Desktop") || {}, ze = G?.Logos.find((lt) => lt.LogoType === "Mobile") || {}, xe = d ? q : ze;
5279
- G.isMethodPromoted = pe(G.Tags), G.LogoUrl = xe.LogoUrl ? `https:${xe.LogoUrl}` : "", G.isMethodPromoted && ce.push(G), U.push(G);
5258
+ const F = p.PaymentMethods.PaymentMethods.find((q) => q.Name === ge);
5259
+ if (F) {
5260
+ const q = F?.Logos.find((ut) => ut.LogoType === "Desktop") || {}, Ve = F?.Logos.find((ut) => ut.LogoType === "Mobile") || {}, xe = d ? q : Ve;
5261
+ F.isMethodPromoted = pe(F.Tags), F.LogoUrl = xe.LogoUrl ? `https:${xe.LogoUrl}` : "", F.isMethodPromoted && ce.push(F), U.push(F);
5280
5262
  }
5281
5263
  }), U;
5282
5264
  }, K = (p) => {
@@ -5284,11 +5266,11 @@ function ns(e, t, r) {
5284
5266
  ...q,
5285
5267
  isMethodPromoted: pe(q.Tags),
5286
5268
  LogoUrl: q.Logos && q.Logos.length && q.Logos[0].LogoUrl ? `https:${q.Logos[0].LogoUrl}` : ""
5287
- })), [ge, G] = U.reduce(
5288
- ([q, ze], xe) => (xe && xe.isMethodPromoted ? q.push(xe) : ze.promo(xe), [q, ze]),
5269
+ })), [ge, F] = U.reduce(
5270
+ ([q, Ve], xe) => (xe && xe.isMethodPromoted ? q.push(xe) : Ve.promo(xe), [q, Ve]),
5289
5271
  [[], []]
5290
5272
  );
5291
- return ce = ge, G;
5273
+ return ce = ge, F;
5292
5274
  }, fe = (p) => {
5293
5275
  r(8, L = p.Name), window.postMessage({ type: "SelectPayMeth", details: p }, window.location.href), dispatchEvent(new CustomEvent(
5294
5276
  "selectPayMeth",
@@ -5329,7 +5311,7 @@ function ns(e, t, r) {
5329
5311
  }));
5330
5312
  const fn = (p) => fe(p), mn = () => se();
5331
5313
  function dn(p) {
5332
- vt[p ? "unshift" : "push"](() => {
5314
+ yt[p ? "unshift" : "push"](() => {
5333
5315
  D = p, r(6, D);
5334
5316
  });
5335
5317
  }