@everymatrix/cashier-carousel 1.91.0 → 1.91.2

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.
@@ -2,15 +2,15 @@ var ln = Object.defineProperty, hn = Object.defineProperties;
2
2
  var cn = Object.getOwnPropertyDescriptors;
3
3
  var Vt = Object.getOwnPropertySymbols;
4
4
  var fn = Object.prototype.hasOwnProperty, pn = Object.prototype.propertyIsEnumerable;
5
- var ct = (e, t, r) => t in e ? ln(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ue = (e, t) => {
5
+ var ft = (e, t, r) => t in e ? ln(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ge = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- fn.call(t, r) && ct(e, r, t[r]);
7
+ fn.call(t, r) && ft(e, r, t[r]);
8
8
  if (Vt)
9
9
  for (var r of Vt(t))
10
- pn.call(t, r) && ct(e, r, t[r]);
10
+ pn.call(t, r) && ft(e, r, t[r]);
11
11
  return e;
12
12
  }, Wt = (e, t) => hn(e, cn(t));
13
- var D = (e, t, r) => (ct(e, typeof t != "symbol" ? t + "" : t, r), r);
13
+ var D = (e, t, r) => (ft(e, typeof t != "symbol" ? t + "" : t, r), r);
14
14
  var Xt = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (l) => {
16
16
  try {
@@ -35,18 +35,18 @@ function Cr(e) {
35
35
  function zt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function me(e) {
38
+ function fe(e) {
39
39
  e.forEach(Cr);
40
40
  }
41
- function Nt(e) {
41
+ function Rt(e) {
42
42
  return typeof e == "function";
43
43
  }
44
44
  function Hr(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- let Fe;
47
+ let je;
48
48
  function Zt(e, t) {
49
- return e === t ? !0 : (Fe || (Fe = document.createElement("a")), Fe.href = t, e === Fe.href);
49
+ return e === t ? !0 : (je || (je = document.createElement("a")), je.href = t, e === je.href);
50
50
  }
51
51
  function dn(e) {
52
52
  return Object.keys(e).length === 0;
@@ -90,7 +90,7 @@ function yn(e, t) {
90
90
  t
91
91
  ), t.sheet;
92
92
  }
93
- function V(e, t, r) {
93
+ function W(e, t, r) {
94
94
  e.insertBefore(t, r || null);
95
95
  }
96
96
  function F(e) {
@@ -103,11 +103,11 @@ function Qt(e, t) {
103
103
  function S(e) {
104
104
  return document.createElement(e);
105
105
  }
106
- function j(e) {
106
+ function k(e) {
107
107
  return document.createTextNode(e);
108
108
  }
109
109
  function U() {
110
- return j(" ");
110
+ return k(" ");
111
111
  }
112
112
  function J(e, t, r, n) {
113
113
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
@@ -118,21 +118,21 @@ function H(e, t, r) {
118
118
  function vn(e) {
119
119
  return Array.from(e.childNodes);
120
120
  }
121
- function X(e, t) {
121
+ function z(e, t) {
122
122
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
123
123
  t);
124
124
  }
125
- let Ge;
125
+ let ke;
126
126
  function _n() {
127
- if (Ge === void 0) {
128
- Ge = !1;
127
+ if (ke === void 0) {
128
+ ke = !1;
129
129
  try {
130
130
  typeof window != "undefined" && window.parent && window.parent.document;
131
131
  } catch (e) {
132
- Ge = !0;
132
+ ke = !0;
133
133
  }
134
134
  }
135
- return Ge;
135
+ return ke;
136
136
  }
137
137
  function En(e, t) {
138
138
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
@@ -165,90 +165,90 @@ function xn(e) {
165
165
  }
166
166
  ), t;
167
167
  }
168
- let Ce;
169
- function Te(e) {
170
- Ce = e;
168
+ let Te;
169
+ function we(e) {
170
+ Te = e;
171
171
  }
172
172
  function wn() {
173
- if (!Ce)
173
+ if (!Te)
174
174
  throw new Error("Function called outside component initialization");
175
- return Ce;
175
+ return Te;
176
176
  }
177
177
  function Sn(e) {
178
178
  wn().$$.on_mount.push(e);
179
179
  }
180
- const ue = [], qe = [];
181
- let he = [];
180
+ const oe = [], Se = [];
181
+ let ae = [];
182
182
  const Yt = [], Tn = /* @__PURE__ */ Promise.resolve();
183
- let _t = !1;
183
+ let Et = !1;
184
184
  function Cn() {
185
- _t || (_t = !0, Tn.then($));
185
+ Et || (Et = !0, Tn.then($));
186
186
  }
187
- function Ke(e) {
188
- he.push(e);
187
+ function et(e) {
188
+ ae.push(e);
189
189
  }
190
- const ft = /* @__PURE__ */ new Set();
191
- let se = 0;
190
+ const pt = /* @__PURE__ */ new Set();
191
+ let ne = 0;
192
192
  function $() {
193
- if (se !== 0)
193
+ if (ne !== 0)
194
194
  return;
195
- const e = Ce;
195
+ const e = Te;
196
196
  do {
197
197
  try {
198
- for (; se < ue.length; ) {
199
- const t = ue[se];
200
- se++, Te(t), Hn(t.$$);
198
+ for (; ne < oe.length; ) {
199
+ const t = oe[ne];
200
+ ne++, we(t), Hn(t.$$);
201
201
  }
202
202
  } catch (t) {
203
- throw ue.length = 0, se = 0, t;
203
+ throw oe.length = 0, ne = 0, t;
204
204
  }
205
- for (Te(null), ue.length = 0, se = 0; qe.length; )
206
- qe.pop()();
207
- for (let t = 0; t < he.length; t += 1) {
208
- const r = he[t];
209
- ft.has(r) || (ft.add(r), r());
205
+ for (we(null), oe.length = 0, ne = 0; Se.length; )
206
+ Se.pop()();
207
+ for (let t = 0; t < ae.length; t += 1) {
208
+ const r = ae[t];
209
+ pt.has(r) || (pt.add(r), r());
210
210
  }
211
- he.length = 0;
212
- } while (ue.length);
211
+ ae.length = 0;
212
+ } while (oe.length);
213
213
  for (; Yt.length; )
214
214
  Yt.pop()();
215
- _t = !1, ft.clear(), Te(e);
215
+ Et = !1, pt.clear(), we(e);
216
216
  }
217
217
  function Hn(e) {
218
218
  if (e.fragment !== null) {
219
- e.update(), me(e.before_update);
219
+ e.update(), fe(e.before_update);
220
220
  const t = e.dirty;
221
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ke);
221
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(et);
222
222
  }
223
223
  }
224
224
  function An(e) {
225
225
  const t = [], r = [];
226
- he.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), he = t;
226
+ ae.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ae = t;
227
227
  }
228
228
  const Pn = /* @__PURE__ */ new Set();
229
229
  function Mn(e, t) {
230
230
  e && e.i && (Pn.delete(e), e.i(t));
231
231
  }
232
- function je(e) {
232
+ function Ve(e) {
233
233
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
234
234
  }
235
235
  function On(e, t, r) {
236
236
  const { fragment: n, after_update: i } = e.$$;
237
- n && n.m(t, r), Ke(() => {
238
- const o = e.$$.on_mount.map(Cr).filter(Nt);
239
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : me(o), e.$$.on_mount = [];
240
- }), i.forEach(Ke);
237
+ n && n.m(t, r), et(() => {
238
+ const o = e.$$.on_mount.map(Cr).filter(Rt);
239
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : fe(o), e.$$.on_mount = [];
240
+ }), i.forEach(et);
241
241
  }
242
242
  function Bn(e, t) {
243
243
  const r = e.$$;
244
- r.fragment !== null && (An(r.after_update), me(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
244
+ r.fragment !== null && (An(r.after_update), fe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
245
245
  }
246
246
  function Ln(e, t) {
247
- e.$$.dirty[0] === -1 && (ue.push(e), Cn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
247
+ e.$$.dirty[0] === -1 && (oe.push(e), Cn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
248
248
  }
249
249
  function In(e, t, r, n, i, o, s = null, a = [-1]) {
250
- const l = Ce;
251
- Te(e);
250
+ const l = Te;
251
+ we(e);
252
252
  const u = e.$$ = {
253
253
  fragment: null,
254
254
  ctx: [],
@@ -273,9 +273,9 @@ function In(e, t, r, n, i, o, s = null, a = [-1]) {
273
273
  s && s(u.root);
274
274
  let h = !1;
275
275
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...g) => {
276
- const b = g.length ? g[0] : c;
277
- return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), h && Ln(e, f)), c;
278
- }) : [], u.update(), h = !0, me(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
276
+ const m = g.length ? g[0] : c;
277
+ return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), h && Ln(e, f)), c;
278
+ }) : [], u.update(), h = !0, fe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
279
279
  if (t.hydrate) {
280
280
  const f = vn(t.target);
281
281
  u.fragment && u.fragment.l(f), f.forEach(F);
@@ -283,7 +283,7 @@ function In(e, t, r, n, i, o, s = null, a = [-1]) {
283
283
  u.fragment && u.fragment.c();
284
284
  t.intro && Mn(e.$$.fragment), On(e, t.target, t.anchor), $();
285
285
  }
286
- Te(l);
286
+ we(l);
287
287
  }
288
288
  let Pr;
289
289
  typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
@@ -337,7 +337,7 @@ typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
337
337
  * @param {HTMLElement} [anchor]
338
338
  */
339
339
  m: function(u, h) {
340
- V(u, s, h);
340
+ W(u, s, h);
341
341
  },
342
342
  d: function(u) {
343
343
  u && F(s);
@@ -352,13 +352,13 @@ typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
352
352
  o in n && (r[o] = [t(o)]);
353
353
  for (const o of this.attributes) {
354
354
  const s = this.$$g_p(o.name);
355
- s in this.$$d || (this.$$d[s] = ze(s, o.value, this.$$p_d, "toProp"));
355
+ s in this.$$d || (this.$$d[s] = Qe(s, o.value, this.$$p_d, "toProp"));
356
356
  }
357
357
  for (const o in this.$$p_d)
358
358
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
359
359
  this.$$c = new this.$$ctor({
360
360
  target: this.shadowRoot || this,
361
- props: Wt(Ue({}, this.$$d), {
361
+ props: Wt(Ge({}, this.$$d), {
362
362
  $$slots: r,
363
363
  $$scope: {
364
364
  ctx: []
@@ -369,7 +369,7 @@ typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
369
369
  this.$$r = !0;
370
370
  for (const o in this.$$p_d)
371
371
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
372
- const s = ze(
372
+ const s = Qe(
373
373
  o,
374
374
  this.$$d[o],
375
375
  this.$$p_d,
@@ -393,7 +393,7 @@ typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
393
393
  // and setting attributes through setAttribute etc, this is helpful
394
394
  attributeChangedCallback(t, r, n) {
395
395
  var i;
396
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = ze(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
396
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = Qe(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
397
397
  }
398
398
  disconnectedCallback() {
399
399
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -406,7 +406,7 @@ typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
406
406
  ) || t;
407
407
  }
408
408
  });
409
- function ze(e, t, r, n) {
409
+ function Qe(e, t, r, n) {
410
410
  var o;
411
411
  const i = (o = r[e]) == null ? void 0 : o.type;
412
412
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -454,7 +454,7 @@ function Nn(e, t, r, n, i, o) {
454
454
  },
455
455
  set(l) {
456
456
  var u;
457
- l = ze(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
457
+ l = Qe(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
458
458
  }
459
459
  });
460
460
  }), n.forEach((a) => {
@@ -497,7 +497,7 @@ class Rn {
497
497
  * @returns {() => void}
498
498
  */
499
499
  $on(t, r) {
500
- if (!Nt(r))
500
+ if (!Rt(r))
501
501
  return R;
502
502
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
503
503
  return n.push(r), () => {
@@ -515,24 +515,24 @@ class Rn {
515
515
  }
516
516
  const Dn = "4";
517
517
  typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Dn);
518
- const ae = [];
518
+ const ie = [];
519
519
  function $n(e, t) {
520
520
  return {
521
- subscribe: it(e, t).subscribe
521
+ subscribe: ot(e, t).subscribe
522
522
  };
523
523
  }
524
- function it(e, t = R) {
524
+ function ot(e, t = R) {
525
525
  let r;
526
526
  const n = /* @__PURE__ */ new Set();
527
527
  function i(a) {
528
528
  if (Hr(e, a) && (e = a, r)) {
529
- const l = !ae.length;
529
+ const l = !ie.length;
530
530
  for (const u of n)
531
- u[1](), ae.push(u, e);
531
+ u[1](), ie.push(u, e);
532
532
  if (l) {
533
- for (let u = 0; u < ae.length; u += 2)
534
- ae[u][0](ae[u + 1]);
535
- ae.length = 0;
533
+ for (let u = 0; u < ie.length; u += 2)
534
+ ie[u][0](ie[u + 1]);
535
+ ie.length = 0;
536
536
  }
537
537
  }
538
538
  }
@@ -547,7 +547,7 @@ function it(e, t = R) {
547
547
  }
548
548
  return { set: i, update: o, subscribe: s };
549
549
  }
550
- function be(e, t, r) {
550
+ function pe(e, t, r) {
551
551
  const n = !Array.isArray(e), i = n ? [e] : e;
552
552
  if (!i.every(Boolean))
553
553
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -560,11 +560,11 @@ function be(e, t, r) {
560
560
  if (h)
561
561
  return;
562
562
  f();
563
- const b = t(n ? u[0] : u, s, a);
564
- o ? s(b) : f = Nt(b) ? b : R;
563
+ const m = t(n ? u[0] : u, s, a);
564
+ o ? s(m) : f = Rt(m) ? m : R;
565
565
  }, g = i.map(
566
- (b, d) => Ar(
567
- b,
566
+ (m, d) => Ar(
567
+ m,
568
568
  (E) => {
569
569
  u[d] = E, h &= ~(1 << d), l && c();
570
570
  },
@@ -574,7 +574,7 @@ function be(e, t, r) {
574
574
  )
575
575
  );
576
576
  return l = !0, c(), function() {
577
- me(g), f(), l = !1;
577
+ fe(g), f(), l = !1;
578
578
  };
579
579
  });
580
580
  }
@@ -598,19 +598,19 @@ function Wn(e) {
598
598
  function Xn(e) {
599
599
  return Array.isArray(e) ? [] : {};
600
600
  }
601
- function He(e, t) {
602
- return t.clone !== !1 && t.isMergeableObject(e) ? ce(Xn(e), e, t) : e;
601
+ function Ce(e, t) {
602
+ return t.clone !== !1 && t.isMergeableObject(e) ? ue(Xn(e), e, t) : e;
603
603
  }
604
604
  function zn(e, t, r) {
605
605
  return e.concat(t).map(function(n) {
606
- return He(n, r);
606
+ return Ce(n, r);
607
607
  });
608
608
  }
609
609
  function Zn(e, t) {
610
610
  if (!t.customMerge)
611
- return ce;
611
+ return ue;
612
612
  var r = t.customMerge(e);
613
- return typeof r == "function" ? r : ce;
613
+ return typeof r == "function" ? r : ue;
614
614
  }
615
615
  function Qn(e) {
616
616
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -633,51 +633,51 @@ function Yn(e, t) {
633
633
  function Jn(e, t, r) {
634
634
  var n = {};
635
635
  return r.isMergeableObject(e) && Jt(e).forEach(function(i) {
636
- n[i] = He(e[i], r);
636
+ n[i] = Ce(e[i], r);
637
637
  }), Jt(t).forEach(function(i) {
638
- Yn(e, i) || (Mr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Zn(i, r)(e[i], t[i], r) : n[i] = He(t[i], r));
638
+ Yn(e, i) || (Mr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Zn(i, r)(e[i], t[i], r) : n[i] = Ce(t[i], r));
639
639
  }), n;
640
640
  }
641
- function ce(e, t, r) {
642
- r = r || {}, r.arrayMerge = r.arrayMerge || zn, r.isMergeableObject = r.isMergeableObject || Fn, r.cloneUnlessOtherwiseSpecified = He;
641
+ function ue(e, t, r) {
642
+ r = r || {}, r.arrayMerge = r.arrayMerge || zn, r.isMergeableObject = r.isMergeableObject || Fn, r.cloneUnlessOtherwiseSpecified = Ce;
643
643
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
644
- return o ? n ? r.arrayMerge(e, t, r) : Jn(e, t, r) : He(t, r);
644
+ return o ? n ? r.arrayMerge(e, t, r) : Jn(e, t, r) : Ce(t, r);
645
645
  }
646
- ce.all = function(t, r) {
646
+ ue.all = function(t, r) {
647
647
  if (!Array.isArray(t))
648
648
  throw new Error("first argument should be an array");
649
649
  return t.reduce(function(n, i) {
650
- return ce(n, i, r);
650
+ return ue(n, i, r);
651
651
  }, {});
652
652
  };
653
- var qn = ce, Kn = qn;
653
+ var qn = ue, Kn = qn;
654
654
  const ei = /* @__PURE__ */ Un(Kn);
655
- var Et = function(e, t) {
656
- return Et = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
655
+ var xt = function(e, t) {
656
+ return xt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
657
657
  r.__proto__ = n;
658
658
  } || function(r, n) {
659
659
  for (var i in n)
660
660
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
661
- }, Et(e, t);
661
+ }, xt(e, t);
662
662
  };
663
- function ot(e, t) {
663
+ function st(e, t) {
664
664
  if (typeof t != "function" && t !== null)
665
665
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
666
- Et(e, t);
666
+ xt(e, t);
667
667
  function r() {
668
668
  this.constructor = e;
669
669
  }
670
670
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
671
671
  }
672
- var k = function() {
673
- return k = Object.assign || function(t) {
672
+ var V = function() {
673
+ return V = Object.assign || function(t) {
674
674
  for (var r, n = 1, i = arguments.length; n < i; n++) {
675
675
  r = arguments[n];
676
676
  for (var o in r)
677
677
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
678
678
  }
679
679
  return t;
680
- }, k.apply(this, arguments);
680
+ }, V.apply(this, arguments);
681
681
  };
682
682
  function ti(e, t) {
683
683
  var r = {};
@@ -688,13 +688,13 @@ function ti(e, t) {
688
688
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
689
689
  return r;
690
690
  }
691
- function pt(e, t, r) {
691
+ function dt(e, t, r) {
692
692
  if (r || arguments.length === 2)
693
693
  for (var n = 0, i = t.length, o; n < i; n++)
694
694
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
695
695
  return e.concat(o || Array.prototype.slice.call(t));
696
696
  }
697
- function dt(e, t) {
697
+ function mt(e, t) {
698
698
  var r = t && t.cache ? t.cache : ui, n = t && t.serializer ? t.serializer : si, i = t && t.strategy ? t.strategy : ii;
699
699
  return i(e, {
700
700
  cache: r,
@@ -740,17 +740,17 @@ var si = function() {
740
740
  create: function() {
741
741
  return new ai();
742
742
  }
743
- }, mt = {
743
+ }, bt = {
744
744
  variadic: oi
745
- }, et = function() {
746
- return et = Object.assign || function(t) {
745
+ }, tt = function() {
746
+ return tt = Object.assign || function(t) {
747
747
  for (var r, n = 1, i = arguments.length; n < i; n++) {
748
748
  r = arguments[n];
749
749
  for (var o in r)
750
750
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
751
751
  }
752
752
  return t;
753
- }, et.apply(this, arguments);
753
+ }, tt.apply(this, arguments);
754
754
  };
755
755
  var x;
756
756
  (function(e) {
@@ -760,10 +760,10 @@ var C;
760
760
  (function(e) {
761
761
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
762
762
  })(C || (C = {}));
763
- var fe;
763
+ var le;
764
764
  (function(e) {
765
765
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
766
- })(fe || (fe = {}));
766
+ })(le || (le = {}));
767
767
  function qt(e) {
768
768
  return e.type === C.literal;
769
769
  }
@@ -792,10 +792,10 @@ function $r(e) {
792
792
  return e.type === C.tag;
793
793
  }
794
794
  function Ur(e) {
795
- return !!(e && typeof e == "object" && e.type === fe.number);
795
+ return !!(e && typeof e == "object" && e.type === le.number);
796
796
  }
797
- function xt(e) {
798
- return !!(e && typeof e == "object" && e.type === fe.dateTime);
797
+ function wt(e) {
798
+ return !!(e && typeof e == "object" && e.type === le.dateTime);
799
799
  }
800
800
  var Fr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ci = /(?:[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;
801
801
  function fi(e) {
@@ -889,15 +889,15 @@ function fi(e) {
889
889
  return "";
890
890
  }), t;
891
891
  }
892
- var P = function() {
893
- return P = Object.assign || function(t) {
892
+ var M = function() {
893
+ return M = Object.assign || function(t) {
894
894
  for (var r, n = 1, i = arguments.length; n < i; n++) {
895
895
  r = arguments[n];
896
896
  for (var o in r)
897
897
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
898
898
  }
899
899
  return t;
900
- }, P.apply(this, arguments);
900
+ }, M.apply(this, arguments);
901
901
  };
902
902
  var pi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
903
903
  function di(e) {
@@ -1021,13 +1021,13 @@ function yi(e) {
1021
1021
  t.notation = "compact", t.compactDisplay = "long";
1022
1022
  continue;
1023
1023
  case "scientific":
1024
- t = P(P(P({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1025
- return P(P({}, l), tr(u));
1024
+ t = M(M(M({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1025
+ return M(M({}, l), tr(u));
1026
1026
  }, {}));
1027
1027
  continue;
1028
1028
  case "engineering":
1029
- t = P(P(P({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1030
- return P(P({}, l), tr(u));
1029
+ t = M(M(M({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1030
+ return M(M({}, l), tr(u));
1031
1031
  }, {}));
1032
1032
  continue;
1033
1033
  case "notation-simple":
@@ -1096,21 +1096,21 @@ function yi(e) {
1096
1096
  return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && g ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1097
1097
  });
1098
1098
  var o = i.options[0];
1099
- o === "w" ? t = P(P({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = P(P({}, t), er(o)));
1099
+ o === "w" ? t = M(M({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = M(M({}, t), er(o)));
1100
1100
  continue;
1101
1101
  }
1102
1102
  if (Gr.test(i.stem)) {
1103
- t = P(P({}, t), er(i.stem));
1103
+ t = M(M({}, t), er(i.stem));
1104
1104
  continue;
1105
1105
  }
1106
1106
  var s = kr(i.stem);
1107
- s && (t = P(P({}, t), s));
1107
+ s && (t = M(M({}, t), s));
1108
1108
  var a = gi(i.stem);
1109
- a && (t = P(P({}, t), a));
1109
+ a && (t = M(M({}, t), a));
1110
1110
  }
1111
1111
  return t;
1112
1112
  }
1113
- var ke = {
1113
+ var We = {
1114
1114
  "001": [
1115
1115
  "H",
1116
1116
  "h"
@@ -2560,21 +2560,21 @@ function _i(e) {
2560
2560
  }
2561
2561
  var r = e.language, n;
2562
2562
  r !== "root" && (n = e.maximize().region);
2563
- var i = ke[n || ""] || ke[r || ""] || ke["".concat(r, "-001")] || ke["001"];
2563
+ var i = We[n || ""] || We[r || ""] || We["".concat(r, "-001")] || We["001"];
2564
2564
  return i[0];
2565
2565
  }
2566
- var bt, Ei = new RegExp("^".concat(Fr.source, "*")), xi = new RegExp("".concat(Fr.source, "*$"));
2566
+ var gt, Ei = new RegExp("^".concat(Fr.source, "*")), xi = new RegExp("".concat(Fr.source, "*$"));
2567
2567
  function w(e, t) {
2568
2568
  return { start: e, end: t };
2569
2569
  }
2570
2570
  var wi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Si = !!String.fromCodePoint, Ti = !!Object.fromEntries, Ci = !!String.prototype.codePointAt, Hi = !!String.prototype.trimStart, Ai = !!String.prototype.trimEnd, Pi = !!Number.isSafeInteger, Mi = Pi ? Number.isSafeInteger : function(e) {
2571
2571
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2572
- }, wt = !0;
2572
+ }, St = !0;
2573
2573
  try {
2574
2574
  var Oi = Wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2575
- wt = ((bt = Oi.exec("a")) === null || bt === void 0 ? void 0 : bt[0]) === "a";
2575
+ St = ((gt = Oi.exec("a")) === null || gt === void 0 ? void 0 : gt[0]) === "a";
2576
2576
  } catch (e) {
2577
- wt = !1;
2577
+ St = !1;
2578
2578
  }
2579
2579
  var rr = wi ? (
2580
2580
  // Native
@@ -2586,7 +2586,7 @@ var rr = wi ? (
2586
2586
  function(t, r, n) {
2587
2587
  return t.slice(n, n + r.length) === r;
2588
2588
  }
2589
- ), St = Si ? String.fromCodePoint : (
2589
+ ), Tt = Si ? String.fromCodePoint : (
2590
2590
  // IE11
2591
2591
  function() {
2592
2592
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2648,24 +2648,24 @@ var rr = wi ? (
2648
2648
  function Wr(e, t) {
2649
2649
  return new RegExp(e, t);
2650
2650
  }
2651
- var Tt;
2652
- if (wt) {
2651
+ var Ct;
2652
+ if (St) {
2653
2653
  var ir = Wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2654
- Tt = function(t, r) {
2654
+ Ct = function(t, r) {
2655
2655
  var n;
2656
2656
  ir.lastIndex = r;
2657
2657
  var i = ir.exec(t);
2658
2658
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2659
2659
  };
2660
2660
  } else
2661
- Tt = function(t, r) {
2661
+ Ct = function(t, r) {
2662
2662
  for (var n = []; ; ) {
2663
2663
  var i = Vr(t, r);
2664
2664
  if (i === void 0 || Xr(i) || Di(i))
2665
2665
  break;
2666
2666
  n.push(i), r += i >= 65536 ? 2 : 1;
2667
2667
  }
2668
- return St.apply(void 0, n);
2668
+ return Tt.apply(void 0, n);
2669
2669
  };
2670
2670
  var Ii = (
2671
2671
  /** @class */
@@ -2698,7 +2698,7 @@ var Ii = (
2698
2698
  if (n)
2699
2699
  break;
2700
2700
  return this.error(x.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
2701
- } else if (o === 60 && !this.ignoreTag && Ct(this.peek() || 0)) {
2701
+ } else if (o === 60 && !this.ignoreTag && Ht(this.peek() || 0)) {
2702
2702
  var s = this.parseTag(t, r);
2703
2703
  if (s.err)
2704
2704
  return s;
@@ -2731,7 +2731,7 @@ var Ii = (
2731
2731
  return o;
2732
2732
  var s = o.val, a = this.clonePosition();
2733
2733
  if (this.bumpIf("</")) {
2734
- if (this.isEOF() || !Ct(this.char()))
2734
+ if (this.isEOF() || !Ht(this.char()))
2735
2735
  return this.error(x.INVALID_TAG, w(a, this.clonePosition()));
2736
2736
  var l = this.clonePosition(), u = this.parseTagName();
2737
2737
  return i !== u ? this.error(x.UNMATCHED_CLOSING_TAG, w(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -2812,12 +2812,12 @@ var Ii = (
2812
2812
  r.push(n);
2813
2813
  this.bump();
2814
2814
  }
2815
- return St.apply(void 0, r);
2815
+ return Tt.apply(void 0, r);
2816
2816
  }, e.prototype.tryParseUnquoted = function(t, r) {
2817
2817
  if (this.isEOF())
2818
2818
  return null;
2819
2819
  var n = this.char();
2820
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), St(n));
2820
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Tt(n));
2821
2821
  }, e.prototype.parseArgument = function(t, r) {
2822
2822
  var n = this.clonePosition();
2823
2823
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2846,7 +2846,7 @@ var Ii = (
2846
2846
  return this.error(x.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
2847
2847
  }
2848
2848
  }, e.prototype.parseIdentifierIfPossible = function() {
2849
- var t = this.clonePosition(), r = this.offset(), n = Tt(this.message, r), i = r + n.length;
2849
+ var t = this.clonePosition(), r = this.offset(), n = Ct(this.message, r), i = r + n.length;
2850
2850
  this.bumpTo(i);
2851
2851
  var o = this.clonePosition(), s = w(t, o);
2852
2852
  return { value: n, location: s };
@@ -2871,9 +2871,9 @@ var Ii = (
2871
2871
  var g = w(h, this.clonePosition());
2872
2872
  u = { style: c, styleLocation: g };
2873
2873
  }
2874
- var b = this.tryParseArgumentClose(i);
2875
- if (b.err)
2876
- return b;
2874
+ var m = this.tryParseArgumentClose(i);
2875
+ if (m.err)
2876
+ return m;
2877
2877
  var d = w(i, this.clonePosition());
2878
2878
  if (u && rr(u == null ? void 0 : u.style, "::", 0)) {
2879
2879
  var E = Bi(u.style.slice(2));
@@ -2889,13 +2889,13 @@ var Ii = (
2889
2889
  var T = E;
2890
2890
  this.locale && (T = vi(E, this.locale));
2891
2891
  var c = {
2892
- type: fe.dateTime,
2892
+ type: le.dateTime,
2893
2893
  pattern: T,
2894
2894
  location: u.styleLocation,
2895
2895
  parsedOptions: this.shouldParseSkeletons ? fi(T) : {}
2896
- }, m = a === "date" ? C.date : C.time;
2896
+ }, b = a === "date" ? C.date : C.time;
2897
2897
  return {
2898
- val: { type: m, value: n, location: d, style: c },
2898
+ val: { type: b, value: n, location: d, style: c },
2899
2899
  err: null
2900
2900
  };
2901
2901
  }
@@ -2915,7 +2915,7 @@ var Ii = (
2915
2915
  case "select": {
2916
2916
  var v = this.clonePosition();
2917
2917
  if (this.bumpSpace(), !this.bumpIf(","))
2918
- return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, w(v, et({}, v)));
2918
+ return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, w(v, tt({}, v)));
2919
2919
  this.bumpSpace();
2920
2920
  var y = this.parseIdentifierIfPossible(), A = 0;
2921
2921
  if (a !== "select" && y.value === "offset") {
@@ -2927,29 +2927,29 @@ var Ii = (
2927
2927
  return f;
2928
2928
  this.bumpSpace(), y = this.parseIdentifierIfPossible(), A = f.val;
2929
2929
  }
2930
- var I = this.tryParsePluralOrSelectOptions(t, a, r, y);
2931
- if (I.err)
2932
- return I;
2933
- var b = this.tryParseArgumentClose(i);
2934
- if (b.err)
2935
- return b;
2936
- var M = w(i, this.clonePosition());
2930
+ var N = this.tryParsePluralOrSelectOptions(t, a, r, y);
2931
+ if (N.err)
2932
+ return N;
2933
+ var m = this.tryParseArgumentClose(i);
2934
+ if (m.err)
2935
+ return m;
2936
+ var P = w(i, this.clonePosition());
2937
2937
  return a === "select" ? {
2938
2938
  val: {
2939
2939
  type: C.select,
2940
2940
  value: n,
2941
- options: nr(I.val),
2942
- location: M
2941
+ options: nr(N.val),
2942
+ location: P
2943
2943
  },
2944
2944
  err: null
2945
2945
  } : {
2946
2946
  val: {
2947
2947
  type: C.plural,
2948
2948
  value: n,
2949
- options: nr(I.val),
2949
+ options: nr(N.val),
2950
2950
  offset: A,
2951
2951
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2952
- location: M
2952
+ location: P
2953
2953
  },
2954
2954
  err: null
2955
2955
  };
@@ -3003,7 +3003,7 @@ var Ii = (
3003
3003
  }
3004
3004
  return {
3005
3005
  val: {
3006
- type: fe.number,
3006
+ type: le.number,
3007
3007
  tokens: n,
3008
3008
  location: r,
3009
3009
  parsedOptions: this.shouldParseSkeletons ? yi(n) : {}
@@ -3028,16 +3028,16 @@ var Ii = (
3028
3028
  var g = this.clonePosition();
3029
3029
  if (!this.bumpIf("{"))
3030
3030
  return this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : x.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, w(this.clonePosition(), this.clonePosition()));
3031
- var b = this.parseMessage(t + 1, r, n);
3032
- if (b.err)
3033
- return b;
3031
+ var m = this.parseMessage(t + 1, r, n);
3032
+ if (m.err)
3033
+ return m;
3034
3034
  var d = this.tryParseArgumentClose(g);
3035
3035
  if (d.err)
3036
3036
  return d;
3037
3037
  a.push([
3038
3038
  u,
3039
3039
  {
3040
- value: b.val,
3040
+ value: m.val,
3041
3041
  location: w(g, this.clonePosition())
3042
3042
  }
3043
3043
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
@@ -3120,11 +3120,11 @@ var Ii = (
3120
3120
  }, e;
3121
3121
  }()
3122
3122
  );
3123
- function Ct(e) {
3123
+ function Ht(e) {
3124
3124
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3125
3125
  }
3126
3126
  function Ni(e) {
3127
- return Ct(e) || e === 47;
3127
+ return Ht(e) || e === 47;
3128
3128
  }
3129
3129
  function Ri(e) {
3130
3130
  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;
@@ -3135,32 +3135,32 @@ function Xr(e) {
3135
3135
  function Di(e) {
3136
3136
  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;
3137
3137
  }
3138
- function Ht(e) {
3138
+ function At(e) {
3139
3139
  e.forEach(function(t) {
3140
3140
  if (delete t.location, Rr(t) || Dr(t))
3141
3141
  for (var r in t.options)
3142
- delete t.options[r].location, Ht(t.options[r].value);
3142
+ delete t.options[r].location, At(t.options[r].value);
3143
3143
  else
3144
- Lr(t) && Ur(t.style) || (Ir(t) || Nr(t)) && xt(t.style) ? delete t.style.location : $r(t) && Ht(t.children);
3144
+ Lr(t) && Ur(t.style) || (Ir(t) || Nr(t)) && wt(t.style) ? delete t.style.location : $r(t) && At(t.children);
3145
3145
  });
3146
3146
  }
3147
3147
  function $i(e, t) {
3148
- t === void 0 && (t = {}), t = et({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3148
+ t === void 0 && (t = {}), t = tt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3149
3149
  var r = new Ii(e, t).parse();
3150
3150
  if (r.err) {
3151
3151
  var n = SyntaxError(x[r.err.kind]);
3152
3152
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3153
3153
  }
3154
- return t != null && t.captureLocation || Ht(r.val), r.val;
3154
+ return t != null && t.captureLocation || At(r.val), r.val;
3155
3155
  }
3156
- var pe;
3156
+ var he;
3157
3157
  (function(e) {
3158
3158
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3159
- })(pe || (pe = {}));
3160
- var st = (
3159
+ })(he || (he = {}));
3160
+ var at = (
3161
3161
  /** @class */
3162
3162
  function(e) {
3163
- ot(t, e);
3163
+ st(t, e);
3164
3164
  function t(r, n, i) {
3165
3165
  var o = e.call(this, r) || this;
3166
3166
  return o.code = n, o.originalMessage = i, o;
@@ -3172,48 +3172,48 @@ var st = (
3172
3172
  ), or = (
3173
3173
  /** @class */
3174
3174
  function(e) {
3175
- ot(t, e);
3175
+ st(t, e);
3176
3176
  function t(r, n, i, o) {
3177
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), pe.INVALID_VALUE, o) || this;
3177
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), he.INVALID_VALUE, o) || this;
3178
3178
  }
3179
3179
  return t;
3180
- }(st)
3180
+ }(at)
3181
3181
  ), Ui = (
3182
3182
  /** @class */
3183
3183
  function(e) {
3184
- ot(t, e);
3184
+ st(t, e);
3185
3185
  function t(r, n, i) {
3186
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), pe.INVALID_VALUE, i) || this;
3186
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), he.INVALID_VALUE, i) || this;
3187
3187
  }
3188
3188
  return t;
3189
- }(st)
3189
+ }(at)
3190
3190
  ), Fi = (
3191
3191
  /** @class */
3192
3192
  function(e) {
3193
- ot(t, e);
3193
+ st(t, e);
3194
3194
  function t(r, n) {
3195
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), pe.MISSING_VALUE, n) || this;
3195
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), he.MISSING_VALUE, n) || this;
3196
3196
  }
3197
3197
  return t;
3198
- }(st)
3199
- ), L;
3198
+ }(at)
3199
+ ), I;
3200
3200
  (function(e) {
3201
3201
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3202
- })(L || (L = {}));
3202
+ })(I || (I = {}));
3203
3203
  function Gi(e) {
3204
3204
  return e.length < 2 ? e : e.reduce(function(t, r) {
3205
3205
  var n = t[t.length - 1];
3206
- return !n || n.type !== L.literal || r.type !== L.literal ? t.push(r) : n.value += r.value, t;
3206
+ return !n || n.type !== I.literal || r.type !== I.literal ? t.push(r) : n.value += r.value, t;
3207
3207
  }, []);
3208
3208
  }
3209
3209
  function ji(e) {
3210
3210
  return typeof e == "function";
3211
3211
  }
3212
- function Ze(e, t, r, n, i, o, s) {
3212
+ function Ye(e, t, r, n, i, o, s) {
3213
3213
  if (e.length === 1 && qt(e[0]))
3214
3214
  return [
3215
3215
  {
3216
- type: L.literal,
3216
+ type: I.literal,
3217
3217
  value: e[0].value
3218
3218
  }
3219
3219
  ];
@@ -3221,14 +3221,14 @@ function Ze(e, t, r, n, i, o, s) {
3221
3221
  var h = u[l];
3222
3222
  if (qt(h)) {
3223
3223
  a.push({
3224
- type: L.literal,
3224
+ type: I.literal,
3225
3225
  value: h.value
3226
3226
  });
3227
3227
  continue;
3228
3228
  }
3229
3229
  if (hi(h)) {
3230
3230
  typeof o == "number" && a.push({
3231
- type: L.literal,
3231
+ type: I.literal,
3232
3232
  value: r.getNumberFormat(t).format(o)
3233
3233
  });
3234
3234
  continue;
@@ -3239,23 +3239,23 @@ function Ze(e, t, r, n, i, o, s) {
3239
3239
  var c = i[f];
3240
3240
  if (li(h)) {
3241
3241
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3242
- type: typeof c == "string" ? L.literal : L.object,
3242
+ type: typeof c == "string" ? I.literal : I.object,
3243
3243
  value: c
3244
3244
  });
3245
3245
  continue;
3246
3246
  }
3247
3247
  if (Ir(h)) {
3248
- var g = typeof h.style == "string" ? n.date[h.style] : xt(h.style) ? h.style.parsedOptions : void 0;
3248
+ var g = typeof h.style == "string" ? n.date[h.style] : wt(h.style) ? h.style.parsedOptions : void 0;
3249
3249
  a.push({
3250
- type: L.literal,
3250
+ type: I.literal,
3251
3251
  value: r.getDateTimeFormat(t, g).format(c)
3252
3252
  });
3253
3253
  continue;
3254
3254
  }
3255
3255
  if (Nr(h)) {
3256
- var g = typeof h.style == "string" ? n.time[h.style] : xt(h.style) ? h.style.parsedOptions : n.time.medium;
3256
+ var g = typeof h.style == "string" ? n.time[h.style] : wt(h.style) ? h.style.parsedOptions : n.time.medium;
3257
3257
  a.push({
3258
- type: L.literal,
3258
+ type: I.literal,
3259
3259
  value: r.getDateTimeFormat(t, g).format(c)
3260
3260
  });
3261
3261
  continue;
@@ -3263,21 +3263,21 @@ function Ze(e, t, r, n, i, o, s) {
3263
3263
  if (Lr(h)) {
3264
3264
  var g = typeof h.style == "string" ? n.number[h.style] : Ur(h.style) ? h.style.parsedOptions : void 0;
3265
3265
  g && g.scale && (c = c * (g.scale || 1)), a.push({
3266
- type: L.literal,
3266
+ type: I.literal,
3267
3267
  value: r.getNumberFormat(t, g).format(c)
3268
3268
  });
3269
3269
  continue;
3270
3270
  }
3271
3271
  if ($r(h)) {
3272
- var b = h.children, d = h.value, E = i[d];
3272
+ var m = h.children, d = h.value, E = i[d];
3273
3273
  if (!ji(E))
3274
3274
  throw new Ui(d, "function", s);
3275
- var T = Ze(b, t, r, n, i, o), m = E(T.map(function(A) {
3275
+ var T = Ye(m, t, r, n, i, o), b = E(T.map(function(A) {
3276
3276
  return A.value;
3277
3277
  }));
3278
- Array.isArray(m) || (m = [m]), a.push.apply(a, m.map(function(A) {
3278
+ Array.isArray(b) || (b = [b]), a.push.apply(a, b.map(function(A) {
3279
3279
  return {
3280
- type: typeof A == "string" ? L.literal : L.object,
3280
+ type: typeof A == "string" ? I.literal : I.object,
3281
3281
  value: A
3282
3282
  };
3283
3283
  }));
@@ -3286,38 +3286,38 @@ function Ze(e, t, r, n, i, o, s) {
3286
3286
  var v = h.options[c] || h.options.other;
3287
3287
  if (!v)
3288
3288
  throw new or(h.value, c, Object.keys(h.options), s);
3289
- a.push.apply(a, Ze(v.value, t, r, n, i));
3289
+ a.push.apply(a, Ye(v.value, t, r, n, i));
3290
3290
  continue;
3291
3291
  }
3292
3292
  if (Dr(h)) {
3293
3293
  var v = h.options["=".concat(c)];
3294
3294
  if (!v) {
3295
3295
  if (!Intl.PluralRules)
3296
- throw new st(`Intl.PluralRules is not available in this environment.
3296
+ throw new at(`Intl.PluralRules is not available in this environment.
3297
3297
  Try polyfilling it using "@formatjs/intl-pluralrules"
3298
- `, pe.MISSING_INTL_API, s);
3298
+ `, he.MISSING_INTL_API, s);
3299
3299
  var y = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3300
3300
  v = h.options[y] || h.options.other;
3301
3301
  }
3302
3302
  if (!v)
3303
3303
  throw new or(h.value, c, Object.keys(h.options), s);
3304
- a.push.apply(a, Ze(v.value, t, r, n, i, c - (h.offset || 0)));
3304
+ a.push.apply(a, Ye(v.value, t, r, n, i, c - (h.offset || 0)));
3305
3305
  continue;
3306
3306
  }
3307
3307
  }
3308
3308
  return Gi(a);
3309
3309
  }
3310
3310
  function ki(e, t) {
3311
- return t ? k(k(k({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3312
- return r[n] = k(k({}, e[n]), t[n] || {}), r;
3311
+ return t ? V(V(V({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3312
+ return r[n] = V(V({}, e[n]), t[n] || {}), r;
3313
3313
  }, {})) : e;
3314
3314
  }
3315
3315
  function Vi(e, t) {
3316
3316
  return t ? Object.keys(e).reduce(function(r, n) {
3317
3317
  return r[n] = ki(e[n], t[n]), r;
3318
- }, k({}, e)) : e;
3318
+ }, V({}, e)) : e;
3319
3319
  }
3320
- function gt(e) {
3320
+ function yt(e) {
3321
3321
  return {
3322
3322
  create: function() {
3323
3323
  return {
@@ -3337,29 +3337,29 @@ function Wi(e) {
3337
3337
  dateTime: {},
3338
3338
  pluralRules: {}
3339
3339
  }), {
3340
- getNumberFormat: dt(function() {
3340
+ getNumberFormat: mt(function() {
3341
3341
  for (var t, r = [], n = 0; n < arguments.length; n++)
3342
3342
  r[n] = arguments[n];
3343
- return new ((t = Intl.NumberFormat).bind.apply(t, pt([void 0], r, !1)))();
3343
+ return new ((t = Intl.NumberFormat).bind.apply(t, dt([void 0], r, !1)))();
3344
3344
  }, {
3345
- cache: gt(e.number),
3346
- strategy: mt.variadic
3345
+ cache: yt(e.number),
3346
+ strategy: bt.variadic
3347
3347
  }),
3348
- getDateTimeFormat: dt(function() {
3348
+ getDateTimeFormat: mt(function() {
3349
3349
  for (var t, r = [], n = 0; n < arguments.length; n++)
3350
3350
  r[n] = arguments[n];
3351
- return new ((t = Intl.DateTimeFormat).bind.apply(t, pt([void 0], r, !1)))();
3351
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, dt([void 0], r, !1)))();
3352
3352
  }, {
3353
- cache: gt(e.dateTime),
3354
- strategy: mt.variadic
3353
+ cache: yt(e.dateTime),
3354
+ strategy: bt.variadic
3355
3355
  }),
3356
- getPluralRules: dt(function() {
3356
+ getPluralRules: mt(function() {
3357
3357
  for (var t, r = [], n = 0; n < arguments.length; n++)
3358
3358
  r[n] = arguments[n];
3359
- return new ((t = Intl.PluralRules).bind.apply(t, pt([void 0], r, !1)))();
3359
+ return new ((t = Intl.PluralRules).bind.apply(t, dt([void 0], r, !1)))();
3360
3360
  }, {
3361
- cache: gt(e.pluralRules),
3362
- strategy: mt.variadic
3361
+ cache: yt(e.pluralRules),
3362
+ strategy: bt.variadic
3363
3363
  })
3364
3364
  };
3365
3365
  }
@@ -3378,11 +3378,11 @@ var zr = (
3378
3378
  if (u.length === 1)
3379
3379
  return u[0].value;
3380
3380
  var h = u.reduce(function(f, c) {
3381
- return !f.length || c.type !== L.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3381
+ return !f.length || c.type !== I.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3382
3382
  }, []);
3383
3383
  return h.length <= 1 ? h[0] || "" : h;
3384
3384
  }, this.formatToParts = function(l) {
3385
- return Ze(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3385
+ return Ye(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3386
3386
  }, this.resolvedOptions = function() {
3387
3387
  var l;
3388
3388
  return {
@@ -3396,7 +3396,7 @@ var zr = (
3396
3396
  var s = i || {};
3397
3397
  s.formatters;
3398
3398
  var a = ti(s, ["formatters"]);
3399
- this.ast = e.__parse(t, k(k({}, a), { locale: this.resolvedLocale }));
3399
+ this.ast = e.__parse(t, V(V({}, a), { locale: this.resolvedLocale }));
3400
3400
  } else
3401
3401
  this.ast = t;
3402
3402
  if (!Array.isArray(this.ast))
@@ -3501,20 +3501,20 @@ const Y = {}, zi = (e, t, r) => r && (t in Y || (Y[t] = {}), e in Y[t] || (Y[t][
3501
3501
  return;
3502
3502
  if (t in Y && e in Y[t])
3503
3503
  return Y[t][e];
3504
- const r = Me(t);
3504
+ const r = Pe(t);
3505
3505
  for (let n = 0; n < r.length; n++) {
3506
3506
  const i = r[n], o = Qi(i, e);
3507
3507
  if (o)
3508
3508
  return zi(e, t, o);
3509
3509
  }
3510
3510
  };
3511
- let Rt;
3512
- const Pe = it({});
3511
+ let Dt;
3512
+ const Ae = ot({});
3513
3513
  function Zi(e) {
3514
- return Rt[e] || null;
3514
+ return Dt[e] || null;
3515
3515
  }
3516
3516
  function Qr(e) {
3517
- return e in Rt;
3517
+ return e in Dt;
3518
3518
  }
3519
3519
  function Qi(e, t) {
3520
3520
  if (!Qr(e))
@@ -3525,7 +3525,7 @@ function Qi(e, t) {
3525
3525
  function Yi(e) {
3526
3526
  if (e == null)
3527
3527
  return;
3528
- const t = Me(e);
3528
+ const t = Pe(e);
3529
3529
  for (let r = 0; r < t.length; r++) {
3530
3530
  const n = t[r];
3531
3531
  if (Qr(n))
@@ -3533,28 +3533,28 @@ function Yi(e) {
3533
3533
  }
3534
3534
  }
3535
3535
  function Yr(e, ...t) {
3536
- delete Y[e], Pe.update((r) => (r[e] = ei.all([r[e] || {}, ...t]), r));
3536
+ delete Y[e], Ae.update((r) => (r[e] = ei.all([r[e] || {}, ...t]), r));
3537
3537
  }
3538
- be(
3539
- [Pe],
3538
+ pe(
3539
+ [Ae],
3540
3540
  ([e]) => Object.keys(e)
3541
3541
  );
3542
- Pe.subscribe((e) => Rt = e);
3543
- const Qe = {};
3542
+ Ae.subscribe((e) => Dt = e);
3543
+ const Je = {};
3544
3544
  function Ji(e, t) {
3545
- Qe[e].delete(t), Qe[e].size === 0 && delete Qe[e];
3545
+ Je[e].delete(t), Je[e].size === 0 && delete Je[e];
3546
3546
  }
3547
3547
  function Jr(e) {
3548
- return Qe[e];
3548
+ return Je[e];
3549
3549
  }
3550
3550
  function qi(e) {
3551
- return Me(e).map((t) => {
3551
+ return Pe(e).map((t) => {
3552
3552
  const r = Jr(t);
3553
3553
  return [t, r ? [...r] : []];
3554
3554
  }).filter(([, t]) => t.length > 0);
3555
3555
  }
3556
- function tt(e) {
3557
- return e == null ? !1 : Me(e).some(
3556
+ function rt(e) {
3557
+ return e == null ? !1 : Pe(e).some(
3558
3558
  (t) => {
3559
3559
  var r;
3560
3560
  return (r = Jr(t)) == null ? void 0 : r.size;
@@ -3566,20 +3566,20 @@ function Ki(e, t) {
3566
3566
  t.map((n) => (Ji(e, n), n().then((i) => i.default || i)))
3567
3567
  ).then((n) => Yr(e, ...n));
3568
3568
  }
3569
- const Ee = {};
3569
+ const ve = {};
3570
3570
  function qr(e) {
3571
- if (!tt(e))
3572
- return e in Ee ? Ee[e] : Promise.resolve();
3571
+ if (!rt(e))
3572
+ return e in ve ? ve[e] : Promise.resolve();
3573
3573
  const t = qi(e);
3574
- return Ee[e] = Promise.all(
3574
+ return ve[e] = Promise.all(
3575
3575
  t.map(
3576
3576
  ([r, n]) => Ki(r, n)
3577
3577
  )
3578
3578
  ).then(() => {
3579
- if (tt(e))
3579
+ if (rt(e))
3580
3580
  return qr(e);
3581
- delete Ee[e];
3582
- }), Ee[e];
3581
+ delete ve[e];
3582
+ }), ve[e];
3583
3583
  }
3584
3584
  var sr = Object.getOwnPropertySymbols, eo = Object.prototype.hasOwnProperty, to = Object.prototype.propertyIsEnumerable, ro = (e, t) => {
3585
3585
  var r = {};
@@ -3622,9 +3622,9 @@ const no = {
3622
3622
  };
3623
3623
  function io({ locale: e, id: t }) {
3624
3624
  console.warn(
3625
- `[svelte-i18n] The message "${t}" was not found in "${Me(
3625
+ `[svelte-i18n] The message "${t}" was not found in "${Pe(
3626
3626
  e
3627
- ).join('", "')}".${tt(q()) ? `
3627
+ ).join('", "')}".${rt(q()) ? `
3628
3628
 
3629
3629
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3630
3630
  );
@@ -3636,9 +3636,9 @@ const oo = {
3636
3636
  warnOnMissingMessages: !0,
3637
3637
  handleMissingMessage: void 0,
3638
3638
  ignoreTag: !0
3639
- }, xe = oo;
3640
- function de() {
3641
- return xe;
3639
+ }, _e = oo;
3640
+ function ce() {
3641
+ return _e;
3642
3642
  }
3643
3643
  function so(e) {
3644
3644
  const t = e, { formats: r } = t, n = ro(t, ["formats"]);
@@ -3653,9 +3653,9 @@ function so(e) {
3653
3653
  }
3654
3654
  return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = io : console.warn(
3655
3655
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3656
- )), Object.assign(xe, n, { initialLocale: i }), r && ("number" in r && Object.assign(xe.formats.number, r.number), "date" in r && Object.assign(xe.formats.date, r.date), "time" in r && Object.assign(xe.formats.time, r.time)), te.set(i);
3656
+ )), Object.assign(_e, n, { initialLocale: i }), r && ("number" in r && Object.assign(_e.formats.number, r.number), "date" in r && Object.assign(_e.formats.date, r.date), "time" in r && Object.assign(_e.formats.time, r.time)), K.set(i);
3657
3657
  }
3658
- const yt = it(!1);
3658
+ const vt = ot(!1);
3659
3659
  var ao = Object.defineProperty, uo = Object.defineProperties, lo = Object.getOwnPropertyDescriptors, ar = Object.getOwnPropertySymbols, ho = Object.prototype.hasOwnProperty, co = Object.prototype.propertyIsEnumerable, ur = (e, t, r) => t in e ? ao(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, fo = (e, t) => {
3660
3660
  for (var r in t || (t = {}))
3661
3661
  ho.call(t, r) && ur(e, r, t[r]);
@@ -3664,113 +3664,113 @@ var ao = Object.defineProperty, uo = Object.defineProperties, lo = Object.getOwn
3664
3664
  co.call(t, r) && ur(e, r, t[r]);
3665
3665
  return e;
3666
3666
  }, po = (e, t) => uo(e, lo(t));
3667
- let At;
3668
- const rt = it(null);
3667
+ let Pt;
3668
+ const nt = ot(null);
3669
3669
  function lr(e) {
3670
3670
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3671
3671
  }
3672
- function Me(e, t = de().fallbackLocale) {
3672
+ function Pe(e, t = ce().fallbackLocale) {
3673
3673
  const r = lr(e);
3674
3674
  return t ? [.../* @__PURE__ */ new Set([...r, ...lr(t)])] : r;
3675
3675
  }
3676
3676
  function q() {
3677
- return At != null ? At : void 0;
3677
+ return Pt != null ? Pt : void 0;
3678
3678
  }
3679
- rt.subscribe((e) => {
3680
- At = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3679
+ nt.subscribe((e) => {
3680
+ Pt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3681
3681
  });
3682
3682
  const mo = (e) => {
3683
- if (e && Yi(e) && tt(e)) {
3684
- const { loadingDelay: t } = de();
3683
+ if (e && Yi(e) && rt(e)) {
3684
+ const { loadingDelay: t } = ce();
3685
3685
  let r;
3686
3686
  return typeof window != "undefined" && q() != null && t ? r = window.setTimeout(
3687
- () => yt.set(!0),
3687
+ () => vt.set(!0),
3688
3688
  t
3689
- ) : yt.set(!0), qr(e).then(() => {
3690
- rt.set(e);
3689
+ ) : vt.set(!0), qr(e).then(() => {
3690
+ nt.set(e);
3691
3691
  }).finally(() => {
3692
- clearTimeout(r), yt.set(!1);
3692
+ clearTimeout(r), vt.set(!1);
3693
3693
  });
3694
3694
  }
3695
- return rt.set(e);
3696
- }, te = po(fo({}, rt), {
3695
+ return nt.set(e);
3696
+ }, K = po(fo({}, nt), {
3697
3697
  set: mo
3698
- }), at = (e) => {
3698
+ }), ut = (e) => {
3699
3699
  const t = /* @__PURE__ */ Object.create(null);
3700
3700
  return (n) => {
3701
3701
  const i = JSON.stringify(n);
3702
3702
  return i in t ? t[i] : t[i] = e(n);
3703
3703
  };
3704
3704
  };
3705
- var bo = Object.defineProperty, nt = Object.getOwnPropertySymbols, Kr = Object.prototype.hasOwnProperty, en = Object.prototype.propertyIsEnumerable, hr = (e, t, r) => t in e ? bo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Dt = (e, t) => {
3705
+ var bo = Object.defineProperty, it = Object.getOwnPropertySymbols, Kr = Object.prototype.hasOwnProperty, en = Object.prototype.propertyIsEnumerable, hr = (e, t, r) => t in e ? bo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $t = (e, t) => {
3706
3706
  for (var r in t || (t = {}))
3707
3707
  Kr.call(t, r) && hr(e, r, t[r]);
3708
- if (nt)
3709
- for (var r of nt(t))
3708
+ if (it)
3709
+ for (var r of it(t))
3710
3710
  en.call(t, r) && hr(e, r, t[r]);
3711
3711
  return e;
3712
- }, ge = (e, t) => {
3712
+ }, de = (e, t) => {
3713
3713
  var r = {};
3714
3714
  for (var n in e)
3715
3715
  Kr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3716
- if (e != null && nt)
3717
- for (var n of nt(e))
3716
+ if (e != null && it)
3717
+ for (var n of it(e))
3718
3718
  t.indexOf(n) < 0 && en.call(e, n) && (r[n] = e[n]);
3719
3719
  return r;
3720
3720
  };
3721
- const Ae = (e, t) => {
3722
- const { formats: r } = de();
3721
+ const He = (e, t) => {
3722
+ const { formats: r } = ce();
3723
3723
  if (e in r && t in r[e])
3724
3724
  return r[e][t];
3725
3725
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3726
- }, go = at(
3726
+ }, go = ut(
3727
3727
  (e) => {
3728
- var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
3728
+ var t = e, { locale: r, format: n } = t, i = de(t, ["locale", "format"]);
3729
3729
  if (r == null)
3730
3730
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3731
- return n && (i = Ae("number", n)), new Intl.NumberFormat(r, i);
3731
+ return n && (i = He("number", n)), new Intl.NumberFormat(r, i);
3732
3732
  }
3733
- ), yo = at(
3733
+ ), yo = ut(
3734
3734
  (e) => {
3735
- var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
3735
+ var t = e, { locale: r, format: n } = t, i = de(t, ["locale", "format"]);
3736
3736
  if (r == null)
3737
3737
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3738
- return n ? i = Ae("date", n) : Object.keys(i).length === 0 && (i = Ae("date", "short")), new Intl.DateTimeFormat(r, i);
3738
+ return n ? i = He("date", n) : Object.keys(i).length === 0 && (i = He("date", "short")), new Intl.DateTimeFormat(r, i);
3739
3739
  }
3740
- ), vo = at(
3740
+ ), vo = ut(
3741
3741
  (e) => {
3742
- var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
3742
+ var t = e, { locale: r, format: n } = t, i = de(t, ["locale", "format"]);
3743
3743
  if (r == null)
3744
3744
  throw new Error(
3745
3745
  '[svelte-i18n] A "locale" must be set to format time values'
3746
3746
  );
3747
- return n ? i = Ae("time", n) : Object.keys(i).length === 0 && (i = Ae("time", "short")), new Intl.DateTimeFormat(r, i);
3747
+ return n ? i = He("time", n) : Object.keys(i).length === 0 && (i = He("time", "short")), new Intl.DateTimeFormat(r, i);
3748
3748
  }
3749
3749
  ), _o = (e = {}) => {
3750
3750
  var t = e, {
3751
3751
  locale: r = q()
3752
- } = t, n = ge(t, [
3752
+ } = t, n = de(t, [
3753
3753
  "locale"
3754
3754
  ]);
3755
- return go(Dt({ locale: r }, n));
3755
+ return go($t({ locale: r }, n));
3756
3756
  }, Eo = (e = {}) => {
3757
3757
  var t = e, {
3758
3758
  locale: r = q()
3759
- } = t, n = ge(t, [
3759
+ } = t, n = de(t, [
3760
3760
  "locale"
3761
3761
  ]);
3762
- return yo(Dt({ locale: r }, n));
3762
+ return yo($t({ locale: r }, n));
3763
3763
  }, xo = (e = {}) => {
3764
3764
  var t = e, {
3765
3765
  locale: r = q()
3766
- } = t, n = ge(t, [
3766
+ } = t, n = de(t, [
3767
3767
  "locale"
3768
3768
  ]);
3769
- return vo(Dt({ locale: r }, n));
3770
- }, wo = at(
3769
+ return vo($t({ locale: r }, n));
3770
+ }, wo = ut(
3771
3771
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3772
- (e, t = q()) => new zr(e, t, de().formats, {
3773
- ignoreTag: de().ignoreTag
3772
+ (e, t = q()) => new zr(e, t, ce().formats, {
3773
+ ignoreTag: ce().ignoreTag
3774
3774
  })
3775
3775
  ), So = (e, t = {}) => {
3776
3776
  var r, n, i, o;
@@ -3787,7 +3787,7 @@ const Ae = (e, t) => {
3787
3787
  );
3788
3788
  let h = Zr(e, l);
3789
3789
  if (!h)
3790
- h = (o = (i = (n = (r = de()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3790
+ h = (o = (i = (n = (r = ce()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3791
3791
  else if (typeof h != "string")
3792
3792
  return console.warn(
3793
3793
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3804,20 +3804,20 @@ const Ae = (e, t) => {
3804
3804
  );
3805
3805
  }
3806
3806
  return f;
3807
- }, To = (e, t) => xo(t).format(e), Co = (e, t) => Eo(t).format(e), Ho = (e, t) => _o(t).format(e), Ao = (e, t = q()) => Zr(e, t), Po = be([te, Pe], () => So);
3808
- be([te], () => To);
3809
- be([te], () => Co);
3810
- be([te], () => Ho);
3811
- be([te, Pe], () => Ao);
3807
+ }, To = (e, t) => xo(t).format(e), Co = (e, t) => Eo(t).format(e), Ho = (e, t) => _o(t).format(e), Ao = (e, t = q()) => Zr(e, t), Po = pe([K, Ae], () => So);
3808
+ pe([K], () => To);
3809
+ pe([K], () => Co);
3810
+ pe([K], () => Ho);
3811
+ pe([K, Ae], () => Ao);
3812
3812
  function cr(e, t) {
3813
3813
  Yr(e, t);
3814
3814
  }
3815
3815
  function Mo(e) {
3816
3816
  so({
3817
3817
  fallbackLocale: "en"
3818
- }), te.set(e);
3818
+ }), K.set(e);
3819
3819
  }
3820
- const le = "__WIDGET_GLOBAL_STYLE_CACHE__";
3820
+ const se = "__WIDGET_GLOBAL_STYLE_CACHE__";
3821
3821
  function Oo(e, t) {
3822
3822
  if (e) {
3823
3823
  const r = document.createElement("style");
@@ -3840,11 +3840,11 @@ function Lo(e, t, r, n = !1) {
3840
3840
  return;
3841
3841
  if (!("adoptedStyleSheets" in Document.prototype) || !n)
3842
3842
  return r = Io(e, t), r;
3843
- window[le] || (window[le] = {}), r = No(e, t);
3843
+ window[se] || (window[se] = {}), r = No(e, t);
3844
3844
  const o = r.unsubscribe.bind(r), s = () => {
3845
- if (window[le][t]) {
3846
- const a = window[le][t];
3847
- a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[le][t];
3845
+ if (window[se][t]) {
3846
+ const a = window[se][t];
3847
+ a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[se][t];
3848
3848
  }
3849
3849
  o();
3850
3850
  };
@@ -3860,7 +3860,7 @@ function No(e, t) {
3860
3860
  return window.emMessageBus.subscribe(t, (r) => {
3861
3861
  if (!e)
3862
3862
  return;
3863
- const n = e.getRootNode(), i = window[le];
3863
+ const n = e.getRootNode(), i = window[se];
3864
3864
  let o = i[t] && i[t].sheet;
3865
3865
  o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
3866
3866
  sheet: o,
@@ -3884,24 +3884,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
3884
3884
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
3885
3885
  PERFORMANCE OF THIS SOFTWARE.
3886
3886
  ***************************************************************************** */
3887
- var Pt = function(e, t) {
3888
- return Pt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
3887
+ var Mt = function(e, t) {
3888
+ return Mt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
3889
3889
  r.__proto__ = n;
3890
3890
  } || function(r, n) {
3891
3891
  for (var i in n)
3892
3892
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
3893
- }, Pt(e, t);
3893
+ }, Mt(e, t);
3894
3894
  };
3895
- function Oe(e, t) {
3895
+ function Me(e, t) {
3896
3896
  if (typeof t != "function" && t !== null)
3897
3897
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
3898
- Pt(e, t);
3898
+ Mt(e, t);
3899
3899
  function r() {
3900
3900
  this.constructor = e;
3901
3901
  }
3902
3902
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
3903
3903
  }
3904
- function Mt(e) {
3904
+ function Ot(e) {
3905
3905
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
3906
3906
  if (r)
3907
3907
  return r.call(e);
@@ -3913,7 +3913,7 @@ function Mt(e) {
3913
3913
  };
3914
3914
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
3915
3915
  }
3916
- function Ot(e, t) {
3916
+ function Bt(e, t) {
3917
3917
  var r = typeof Symbol == "function" && e[Symbol.iterator];
3918
3918
  if (!r)
3919
3919
  return e;
@@ -3933,13 +3933,13 @@ function Ot(e, t) {
3933
3933
  }
3934
3934
  return o;
3935
3935
  }
3936
- function Bt(e, t, r) {
3936
+ function Lt(e, t, r) {
3937
3937
  if (arguments.length === 2)
3938
3938
  for (var n = 0, i = t.length, o; n < i; n++)
3939
3939
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
3940
3940
  return e.concat(o || t);
3941
3941
  }
3942
- function z(e) {
3942
+ function Z(e) {
3943
3943
  return typeof e == "function";
3944
3944
  }
3945
3945
  function tn(e) {
@@ -3948,7 +3948,7 @@ function tn(e) {
3948
3948
  }, r = e(t);
3949
3949
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
3950
3950
  }
3951
- var vt = tn(function(e) {
3951
+ var _t = tn(function(e) {
3952
3952
  return function(r) {
3953
3953
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
3954
3954
  ` + r.map(function(n, i) {
@@ -3957,13 +3957,13 @@ var vt = tn(function(e) {
3957
3957
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
3958
3958
  };
3959
3959
  });
3960
- function Lt(e, t) {
3960
+ function It(e, t) {
3961
3961
  if (e) {
3962
3962
  var r = e.indexOf(t);
3963
3963
  0 <= r && e.splice(r, 1);
3964
3964
  }
3965
3965
  }
3966
- var ut = function() {
3966
+ var lt = function() {
3967
3967
  function e(t) {
3968
3968
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
3969
3969
  }
@@ -3975,7 +3975,7 @@ var ut = function() {
3975
3975
  if (s)
3976
3976
  if (this._parentage = null, Array.isArray(s))
3977
3977
  try {
3978
- for (var a = Mt(s), l = a.next(); !l.done; l = a.next()) {
3978
+ for (var a = Ot(s), l = a.next(); !l.done; l = a.next()) {
3979
3979
  var u = l.value;
3980
3980
  u.remove(this);
3981
3981
  }
@@ -3992,22 +3992,22 @@ var ut = function() {
3992
3992
  else
3993
3993
  s.remove(this);
3994
3994
  var h = this.initialTeardown;
3995
- if (z(h))
3995
+ if (Z(h))
3996
3996
  try {
3997
3997
  h();
3998
3998
  } catch (d) {
3999
- o = d instanceof vt ? d.errors : [d];
3999
+ o = d instanceof _t ? d.errors : [d];
4000
4000
  }
4001
4001
  var f = this._finalizers;
4002
4002
  if (f) {
4003
4003
  this._finalizers = null;
4004
4004
  try {
4005
- for (var c = Mt(f), g = c.next(); !g.done; g = c.next()) {
4006
- var b = g.value;
4005
+ for (var c = Ot(f), g = c.next(); !g.done; g = c.next()) {
4006
+ var m = g.value;
4007
4007
  try {
4008
- fr(b);
4008
+ fr(m);
4009
4009
  } catch (d) {
4010
- o = o != null ? o : [], d instanceof vt ? o = Bt(Bt([], Ot(o)), Ot(d.errors)) : o.push(d);
4010
+ o = o != null ? o : [], d instanceof _t ? o = Lt(Lt([], Bt(o)), Bt(d.errors)) : o.push(d);
4011
4011
  }
4012
4012
  }
4013
4013
  } catch (d) {
@@ -4022,7 +4022,7 @@ var ut = function() {
4022
4022
  }
4023
4023
  }
4024
4024
  if (o)
4025
- throw new vt(o);
4025
+ throw new _t(o);
4026
4026
  }
4027
4027
  }, e.prototype.add = function(t) {
4028
4028
  var r;
@@ -4045,20 +4045,20 @@ var ut = function() {
4045
4045
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
4046
4046
  }, e.prototype._removeParent = function(t) {
4047
4047
  var r = this._parentage;
4048
- r === t ? this._parentage = null : Array.isArray(r) && Lt(r, t);
4048
+ r === t ? this._parentage = null : Array.isArray(r) && It(r, t);
4049
4049
  }, e.prototype.remove = function(t) {
4050
4050
  var r = this._finalizers;
4051
- r && Lt(r, t), t instanceof e && t._removeParent(this);
4051
+ r && It(r, t), t instanceof e && t._removeParent(this);
4052
4052
  }, e.EMPTY = function() {
4053
4053
  var t = new e();
4054
4054
  return t.closed = !0, t;
4055
4055
  }(), e;
4056
- }(), rn = ut.EMPTY;
4056
+ }(), rn = lt.EMPTY;
4057
4057
  function nn(e) {
4058
- return e instanceof ut || e && "closed" in e && z(e.remove) && z(e.add) && z(e.unsubscribe);
4058
+ return e instanceof lt || e && "closed" in e && Z(e.remove) && Z(e.add) && Z(e.unsubscribe);
4059
4059
  }
4060
4060
  function fr(e) {
4061
- z(e) ? e() : e.unsubscribe();
4061
+ Z(e) ? e() : e.unsubscribe();
4062
4062
  }
4063
4063
  var Ro = {
4064
4064
  Promise: void 0
@@ -4066,7 +4066,7 @@ var Ro = {
4066
4066
  setTimeout: function(e, t) {
4067
4067
  for (var r = [], n = 2; n < arguments.length; n++)
4068
4068
  r[n - 2] = arguments[n];
4069
- return setTimeout.apply(void 0, Bt([e, t], Ot(r)));
4069
+ return setTimeout.apply(void 0, Lt([e, t], Bt(r)));
4070
4070
  },
4071
4071
  clearTimeout: function(e) {
4072
4072
  return clearTimeout(e);
@@ -4080,17 +4080,17 @@ function $o(e) {
4080
4080
  }
4081
4081
  function pr() {
4082
4082
  }
4083
- function Ye(e) {
4083
+ function qe(e) {
4084
4084
  e();
4085
4085
  }
4086
4086
  var on = function(e) {
4087
- Oe(t, e);
4087
+ Me(t, e);
4088
4088
  function t(r) {
4089
4089
  var n = e.call(this) || this;
4090
4090
  return n.isStopped = !1, r ? (n.destination = r, nn(r) && r.add(n)) : n.destination = Go, n;
4091
4091
  }
4092
4092
  return t.create = function(r, n, i) {
4093
- return new It(r, n, i);
4093
+ return new Nt(r, n, i);
4094
4094
  }, t.prototype.next = function(r) {
4095
4095
  this.isStopped || this._next(r);
4096
4096
  }, t.prototype.error = function(r) {
@@ -4114,7 +4114,7 @@ var on = function(e) {
4114
4114
  this.unsubscribe();
4115
4115
  }
4116
4116
  }, t;
4117
- }(ut), Uo = function() {
4117
+ }(lt), Uo = function() {
4118
4118
  function e(t) {
4119
4119
  this.partialObserver = t;
4120
4120
  }
@@ -4124,7 +4124,7 @@ var on = function(e) {
4124
4124
  try {
4125
4125
  r.next(t);
4126
4126
  } catch (n) {
4127
- Ve(n);
4127
+ Xe(n);
4128
4128
  }
4129
4129
  }, e.prototype.error = function(t) {
4130
4130
  var r = this.partialObserver;
@@ -4132,24 +4132,24 @@ var on = function(e) {
4132
4132
  try {
4133
4133
  r.error(t);
4134
4134
  } catch (n) {
4135
- Ve(n);
4135
+ Xe(n);
4136
4136
  }
4137
4137
  else
4138
- Ve(t);
4138
+ Xe(t);
4139
4139
  }, e.prototype.complete = function() {
4140
4140
  var t = this.partialObserver;
4141
4141
  if (t.complete)
4142
4142
  try {
4143
4143
  t.complete();
4144
4144
  } catch (r) {
4145
- Ve(r);
4145
+ Xe(r);
4146
4146
  }
4147
4147
  }, e;
4148
- }(), It = function(e) {
4149
- Oe(t, e);
4148
+ }(), Nt = function(e) {
4149
+ Me(t, e);
4150
4150
  function t(r, n, i) {
4151
4151
  var o = e.call(this) || this, s;
4152
- return z(r) || !r ? s = {
4152
+ return Z(r) || !r ? s = {
4153
4153
  next: r != null ? r : void 0,
4154
4154
  error: n != null ? n : void 0,
4155
4155
  complete: i != null ? i : void 0
@@ -4157,7 +4157,7 @@ var on = function(e) {
4157
4157
  }
4158
4158
  return t;
4159
4159
  }(on);
4160
- function Ve(e) {
4160
+ function Xe(e) {
4161
4161
  $o(e);
4162
4162
  }
4163
4163
  function Fo(e) {
@@ -4189,8 +4189,8 @@ var dr = function() {
4189
4189
  var r = new e();
4190
4190
  return r.source = this, r.operator = t, r;
4191
4191
  }, e.prototype.subscribe = function(t, r, n) {
4192
- var i = this, o = Xo(t) ? t : new It(t, r, n);
4193
- return Ye(function() {
4192
+ var i = this, o = Xo(t) ? t : new Nt(t, r, n);
4193
+ return qe(function() {
4194
4194
  var s = i, a = s.operator, l = s.source;
4195
4195
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
4196
4196
  }), o;
@@ -4203,7 +4203,7 @@ var dr = function() {
4203
4203
  }, e.prototype.forEach = function(t, r) {
4204
4204
  var n = this;
4205
4205
  return r = mr(r), new r(function(i, o) {
4206
- var s = new It({
4206
+ var s = new Nt({
4207
4207
  next: function(a) {
4208
4208
  try {
4209
4209
  t(a);
@@ -4246,7 +4246,7 @@ function mr(e) {
4246
4246
  return (t = e != null ? e : Ro.Promise) !== null && t !== void 0 ? t : Promise;
4247
4247
  }
4248
4248
  function Wo(e) {
4249
- return e && z(e.next) && z(e.error) && z(e.complete);
4249
+ return e && Z(e.next) && Z(e.error) && Z(e.complete);
4250
4250
  }
4251
4251
  function Xo(e) {
4252
4252
  return e && e instanceof on || Wo(e) && nn(e);
@@ -4256,7 +4256,7 @@ var zo = tn(function(e) {
4256
4256
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4257
4257
  };
4258
4258
  }), sn = function(e) {
4259
- Oe(t, e);
4259
+ Me(t, e);
4260
4260
  function t() {
4261
4261
  var r = e.call(this) || this;
4262
4262
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
@@ -4269,12 +4269,12 @@ var zo = tn(function(e) {
4269
4269
  throw new zo();
4270
4270
  }, t.prototype.next = function(r) {
4271
4271
  var n = this;
4272
- Ye(function() {
4272
+ qe(function() {
4273
4273
  var i, o;
4274
4274
  if (n._throwIfClosed(), !n.isStopped) {
4275
4275
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
4276
4276
  try {
4277
- for (var s = Mt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4277
+ for (var s = Ot(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4278
4278
  var l = a.value;
4279
4279
  l.next(r);
4280
4280
  }
@@ -4292,7 +4292,7 @@ var zo = tn(function(e) {
4292
4292
  });
4293
4293
  }, t.prototype.error = function(r) {
4294
4294
  var n = this;
4295
- Ye(function() {
4295
+ qe(function() {
4296
4296
  if (n._throwIfClosed(), !n.isStopped) {
4297
4297
  n.hasError = n.isStopped = !0, n.thrownError = r;
4298
4298
  for (var i = n.observers; i.length; )
@@ -4301,7 +4301,7 @@ var zo = tn(function(e) {
4301
4301
  });
4302
4302
  }, t.prototype.complete = function() {
4303
4303
  var r = this;
4304
- Ye(function() {
4304
+ qe(function() {
4305
4305
  if (r._throwIfClosed(), !r.isStopped) {
4306
4306
  r.isStopped = !0;
4307
4307
  for (var n = r.observers; n.length; )
@@ -4323,8 +4323,8 @@ var zo = tn(function(e) {
4323
4323
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4324
4324
  }, t.prototype._innerSubscribe = function(r) {
4325
4325
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
4326
- return o || s ? rn : (this.currentObservers = null, a.push(r), new ut(function() {
4327
- n.currentObservers = null, Lt(a, r);
4326
+ return o || s ? rn : (this.currentObservers = null, a.push(r), new lt(function() {
4327
+ n.currentObservers = null, It(a, r);
4328
4328
  }));
4329
4329
  }, t.prototype._checkFinalizedStatuses = function(r) {
4330
4330
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
@@ -4336,7 +4336,7 @@ var zo = tn(function(e) {
4336
4336
  return new br(r, n);
4337
4337
  }, t;
4338
4338
  }(dr), br = function(e) {
4339
- Oe(t, e);
4339
+ Me(t, e);
4340
4340
  function t(r, n) {
4341
4341
  var i = e.call(this) || this;
4342
4342
  return i.destination = r, i.source = n, i;
@@ -4360,7 +4360,7 @@ var zo = tn(function(e) {
4360
4360
  },
4361
4361
  delegate: void 0
4362
4362
  }, Zo = function(e) {
4363
- Oe(t, e);
4363
+ Me(t, e);
4364
4364
  function t(r, n, i) {
4365
4365
  r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = an);
4366
4366
  var o = e.call(this) || this;
@@ -4390,34 +4390,34 @@ const gr = [], yr = {}, Qo = (e, t = 0) => {
4390
4390
  }
4391
4391
  return yr[e];
4392
4392
  };
4393
- let Je = "en-UK", un = "true", we = 2, Se = "";
4393
+ let Ke = "en-UK", un = "true", Ee = 2, xe = "";
4394
4394
  const Yo = (e, t, r, n) => {
4395
- Je = e || "en-UK", un = t || "true", we = +n || 0, Se = r || "";
4396
- }, We = (e, t, r = {}, n = !0) => {
4397
- const i = Ue(Ue({
4398
- maximumFractionDigits: we,
4399
- minimumFractionDigits: we
4395
+ Ke = e || "en-UK", un = t || "true", Ee = +n || 0, xe = r || "";
4396
+ }, ze = (e, t, r = {}, n = !0) => {
4397
+ const i = Ge(Ge({
4398
+ maximumFractionDigits: Ee,
4399
+ minimumFractionDigits: Ee
4400
4400
  }, n && {
4401
4401
  style: "currency",
4402
4402
  currency: t,
4403
4403
  currencyDisplay: un === "true" ? "symbol" : "code"
4404
4404
  }), r);
4405
4405
  try {
4406
- if (!Se)
4407
- return new Intl.NumberFormat(Je, i).format(e);
4408
- const s = new Intl.NumberFormat(Je, i).formatToParts(e), { currencyPart: a = "", amountPart: l = "" } = s.reduce((h, f) => (f.type === "currency" ? h.currencyPart = f : h.amountPart += f.value, h), { currencyPart: "", amountPart: "" });
4409
- return Se === "before" ? `${a || i.currency || ""} ${l}` : `${l} ${a || i.currency || ""}`;
4406
+ if (!xe)
4407
+ return new Intl.NumberFormat(Ke, i).format(e);
4408
+ const s = new Intl.NumberFormat(Ke, i).formatToParts(e), { currencyPart: a = "", amountPart: l = "" } = s.reduce((h, f) => (f.type === "currency" ? h.currencyPart = f : h.amountPart += f.value, h), { currencyPart: "", amountPart: "" });
4409
+ return xe === "before" ? `${a || i.currency || ""} ${l}` : `${l} ${a || i.currency || ""}`;
4410
4410
  } catch (o) {
4411
4411
  console.info(o);
4412
- const s = new Intl.NumberFormat(Je, {
4413
- maximumFractionDigits: we,
4414
- minimumFractionDigits: we
4412
+ const s = new Intl.NumberFormat(Ke, {
4413
+ maximumFractionDigits: Ee,
4414
+ minimumFractionDigits: Ee
4415
4415
  }).format(e);
4416
- return Se ? Se === "before" ? `${i.currency || ""} ${s}` : `${s} ${i.currency || ""}` : `${i.currency || ""} ${s}`;
4416
+ return xe ? xe === "before" ? `${i.currency || ""} ${s}` : `${s} ${i.currency || ""}` : `${i.currency || ""} ${s}`;
4417
4417
  }
4418
4418
  };
4419
4419
  window.emWidgets = { topic: Qo };
4420
- const Xe = (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));
4420
+ const Ze = (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));
4421
4421
  String(Number.MAX_SAFE_INTEGER).length;
4422
4422
  const vr = {
4423
4423
  en: {
@@ -4458,32 +4458,32 @@ const vr = {
4458
4458
  }
4459
4459
  };
4460
4460
  function Jo(e) {
4461
- bn(e, "svelte-1v34r4p", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CashierCarouselWarpper{background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));color:var(--emw--color-typography, var(--emw--color-white, #ffffff));height:auto;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:20px;position:relative;overflow:hidden}.NavigationArrow{height:220px;z-index:20;display:flex;transition:all 0.3s ease;position:absolute}.NavigationArrow:hover{cursor:pointer}.NavigationArrow:hover svg{opacity:1;transform:scale(1.1);filter:drop-shadow(0 0 0.75rem var(--emw--color-black))}.NavigationArrow svg{opacity:0.6;width:32px;height:32px;align-self:center;fill:var(--emw--color-white);transition:all 0.3s ease}.NavigationArrow.Left{left:0;background:linear-gradient(to right, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.NavigationArrow.Right{right:0;background:linear-gradient(to left, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.CarouselHeader{margin-bottom:20px;text-align:center}.CarouselHeader h4{font-size:12px;text-transform:uppercase;margin:10px 0}.CarouselHeader p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.55;font-size:12px}.NoFavoritePaymentMethods{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:12px}.CarouselCardsContainer{display:flex;justify-content:space-between;align-items:center;overflow:hidden;position:relative;max-width:100%}.Carousel{display:flex;gap:10px;height:220px;position:relative;align-items:center;transition:transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)}.Carousel.dragging{transition:none}.VisualDotIndicator{display:flex;gap:5px;margin-top:16px}.VisualDotIndicator .Dot{border-radius:10px;background-color:var(--emw--color-primary, #f9c405);height:10px;width:10px;opacity:0.5;transition:all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);transform:scale(1)}.VisualDotIndicator .Dot.active{opacity:1;width:30px;transform:scale(1);animation:dotPulse 0.6s ease-out}@keyframes dotPulse{0%{transform:scale(0.8);opacity:0.5}50%{transform:scale(1.15)}100%{transform:scale(1);opacity:1}}.CarouselCardWrapper{border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:10px;z-index:1;padding:5px;height:115px;width:78px;transition:all 0.3s ease;cursor:pointer;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.CarouselCardWrapper.active{height:132px;width:100px}.CarouselCardWrapper.active::before{background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.3}.CarouselCardWrapper::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:16px;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}.CarouselCardWrapper .MethodLogo img{height:20px;width:auto}.CarouselCardWrapper .MethodInfo{display:flex;flex-direction:column;gap:10px;word-break:break-word}.CarouselCardWrapper .MethodInfo .MethodTitle{font-size:var(--emw--font-size-small, 10px);font-weight:800}.CarouselCardWrapper .MethodInfo .MethodProcessingTime{color:var(--emw--color-primary, #f9c405);font-style:italic;font-size:var(--emw--font-size-x-small, 8px)}.CarouselCardWrapper .MethodInfo .MethodLimits{gap:var(--emw--spacing-small-minus, 10px);text-align:left}.CarouselCardWrapper .MethodInfo .Limits{display:flex;flex-direction:column;max-width:100%;font-size:var(--emw--font-size-x-small, 8px);font-weight:var(--emw--font-weight-normal, 300)}');
4461
+ bn(e, "svelte-1tnzy1r", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CashierCarouselWarpper{background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));color:var(--emw--color-typography, var(--emw--color-white, #ffffff));height:auto;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:20px;position:relative;overflow:hidden}.NavigationArrow{height:220px;z-index:20;display:flex;transition:all 0.3s ease;position:absolute}.NavigationArrow:hover{cursor:pointer}.NavigationArrow:hover svg{opacity:1;transform:scale(1.1);filter:drop-shadow(0 0 0.75rem var(--emw--color-black))}.NavigationArrow svg{opacity:0.6;width:32px;height:32px;align-self:center;fill:var(--emw--color-white);transition:all 0.3s ease}.NavigationArrow.Left{left:0;background:linear-gradient(to right, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.NavigationArrow.Right{right:0;background:linear-gradient(to left, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.CarouselHeader{margin-bottom:20px;text-align:center}.CarouselHeader h4{font-size:12px;text-transform:uppercase;margin:10px 0}.CarouselHeader p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.55;font-size:12px}.NoFavoritePaymentMethods{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:12px}.CarouselCardsContainer{display:flex;justify-content:space-between;align-items:center;overflow:hidden;position:relative;max-width:100%;width:inherit}.Carousel{display:flex;gap:var(--emw-cashier-card-gap, 10px);height:220px;position:relative;align-items:center;transition:transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)}.Carousel.dragging{transition:none}.VisualDotIndicator{display:flex;gap:5px;margin-top:16px}.VisualDotIndicator .Dot{border-radius:10px;background-color:var(--emw--color-primary, #f9c405);height:10px;width:10px;opacity:0.5;transition:all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);transform:scale(1)}.VisualDotIndicator .Dot.active{opacity:1;width:30px;transform:scale(1);animation:dotPulse 0.6s ease-out}@keyframes dotPulse{0%{transform:scale(0.8);opacity:0.5}50%{transform:scale(1.15)}100%{transform:scale(1);opacity:1}}.CarouselCardWrapper{border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);position:relative;display:flex;flex-direction:column;justify-content:space-between;z-index:1;padding:5px;height:115px;width:var(--emw-cashier-card-width, 78px);transition:all 0.3s ease;cursor:pointer;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.CarouselCardWrapper.active{height:132px;width:var(--emw-cashier-card-width-active, 100px)}.CarouselCardWrapper.active::before{background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.3}.CarouselCardWrapper::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:16px;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}.CarouselCardWrapper .MethodLogo img{height:20px;width:auto}.CarouselCardWrapper .MethodInfo{display:flex;flex-direction:column;gap:10px;word-break:break-word}.CarouselCardWrapper .MethodInfo .MethodTitle{font-size:var(--emw--font-size-small, 10px);font-weight:800}.CarouselCardWrapper .MethodInfo .MethodProcessingTime{color:var(--emw--color-primary, #f9c405);font-style:italic;font-size:var(--emw--font-size-x-small, 8px)}.CarouselCardWrapper .MethodInfo .MethodLimits{gap:var(--emw--spacing-small-minus, 10px);text-align:left}.CarouselCardWrapper .MethodInfo .Limits{display:flex;flex-direction:column;max-width:100%;font-size:var(--emw--font-size-x-small, 8px);font-weight:var(--emw--font-weight-normal, 300)}');
4462
4462
  }
4463
4463
  function _r(e, t, r) {
4464
4464
  const n = e.slice();
4465
- return n[40] = t[r], n[42] = r, n;
4465
+ return n[42] = t[r], n[44] = r, n;
4466
4466
  }
4467
4467
  function Er(e, t, r) {
4468
4468
  const n = e.slice();
4469
- return n[43] = t[r], n[42] = r, n;
4469
+ return n[45] = t[r], n[44] = r, n;
4470
4470
  }
4471
4471
  function qo(e) {
4472
4472
  let t, r = (
4473
4473
  /*$_*/
4474
- e[8]("noFavoritePaymentMethods") + ""
4474
+ e[9]("noFavoritePaymentMethods") + ""
4475
4475
  ), n;
4476
4476
  return {
4477
4477
  c() {
4478
- t = S("p"), n = j(r), H(t, "class", "NoFavoritePaymentMethods");
4478
+ t = S("p"), n = k(r), H(t, "class", "NoFavoritePaymentMethods");
4479
4479
  },
4480
4480
  m(i, o) {
4481
- V(i, t, o), _(t, n);
4481
+ W(i, t, o), _(t, n);
4482
4482
  },
4483
4483
  p(i, o) {
4484
4484
  o[0] & /*$_*/
4485
- 256 && r !== (r = /*$_*/
4486
- i[8]("noFavoritePaymentMethods") + "") && X(n, r);
4485
+ 512 && r !== (r = /*$_*/
4486
+ i[9]("noFavoritePaymentMethods") + "") && z(n, r);
4487
4487
  },
4488
4488
  d(i) {
4489
4489
  i && F(t);
@@ -4491,48 +4491,48 @@ function qo(e) {
4491
4491
  };
4492
4492
  }
4493
4493
  function Ko(e) {
4494
- let t, r = !Xe(
4494
+ let t, r = !Ze(
4495
4495
  /*userAgent*/
4496
- e[9]
4496
+ e[10]
4497
4497
  ) && /*promotedPaymentMethods*/
4498
- e[5].length > 1, n, i, o, s = !Xe(
4498
+ e[5].length > 1, n, i, o, s = !Ze(
4499
4499
  /*userAgent*/
4500
- e[9]
4500
+ e[10]
4501
4501
  ) && /*promotedPaymentMethods*/
4502
- e[5].length > 1, a, l, u, h, f, c = r && xr(e), g = je(
4502
+ e[5].length > 1, a, l, u, h, f, c = r && xr(e), g = Ve(
4503
4503
  /*promotedPaymentMethods*/
4504
4504
  e[5]
4505
- ), b = [];
4506
- for (let m = 0; m < g.length; m += 1)
4507
- b[m] = wr(Er(e, g, m));
4508
- let d = s && Sr(e), E = je(Array(
4505
+ ), m = [];
4506
+ for (let b = 0; b < g.length; b += 1)
4507
+ m[b] = wr(Er(e, g, b));
4508
+ let d = s && Sr(e), E = Ve(Array(
4509
4509
  /*promotedPaymentMethods*/
4510
4510
  e[5].length
4511
4511
  )), T = [];
4512
- for (let m = 0; m < E.length; m += 1)
4513
- T[m] = Tr(_r(e, E, m));
4512
+ for (let b = 0; b < E.length; b += 1)
4513
+ T[b] = Tr(_r(e, E, b));
4514
4514
  return {
4515
4515
  c() {
4516
4516
  t = S("div"), c && c.c(), n = U(), i = S("div");
4517
- for (let m = 0; m < b.length; m += 1)
4518
- b[m].c();
4517
+ for (let b = 0; b < m.length; b += 1)
4518
+ m[b].c();
4519
4519
  o = U(), d && d.c(), l = U(), u = S("div");
4520
- for (let m = 0; m < T.length; m += 1)
4521
- T[m].c();
4522
- H(i, "class", "Carousel"), H(t, "class", "CarouselCardsContainer"), Ke(() => (
4520
+ for (let b = 0; b < T.length; b += 1)
4521
+ T[b].c();
4522
+ H(i, "class", "Carousel"), H(t, "class", "CarouselCardsContainer"), et(() => (
4523
4523
  /*div1_elementresize_handler*/
4524
- e[28].call(t)
4524
+ e[30].call(t)
4525
4525
  )), H(u, "class", "VisualDotIndicator");
4526
4526
  },
4527
- m(m, v) {
4528
- V(m, t, v), c && c.m(t, null), _(t, n), _(t, i);
4529
- for (let y = 0; y < b.length; y += 1)
4530
- b[y] && b[y].m(i, null);
4531
- e[26](i), _(t, o), d && d.m(t, null), a = En(
4527
+ m(b, v) {
4528
+ W(b, t, v), c && c.m(t, null), _(t, n), _(t, i);
4529
+ for (let y = 0; y < m.length; y += 1)
4530
+ m[y] && m[y].m(i, null);
4531
+ e[28](i), _(t, o), d && d.m(t, null), a = En(
4532
4532
  t,
4533
4533
  /*div1_elementresize_handler*/
4534
- e[28].bind(t)
4535
- ), V(m, l, v), V(m, u, v);
4534
+ e[30].bind(t)
4535
+ ), W(b, l, v), W(b, u, v);
4536
4536
  for (let y = 0; y < T.length; y += 1)
4537
4537
  T[y] && T[y].m(u, null);
4538
4538
  h || (f = [
@@ -4540,57 +4540,57 @@ function Ko(e) {
4540
4540
  i,
4541
4541
  "touchstart",
4542
4542
  /*handleTouchStart*/
4543
- e[11]
4543
+ e[12]
4544
4544
  ),
4545
4545
  J(
4546
4546
  i,
4547
4547
  "touchmove",
4548
4548
  /*handleTouchMove*/
4549
- e[12]
4549
+ e[13]
4550
4550
  ),
4551
4551
  J(
4552
4552
  i,
4553
4553
  "touchend",
4554
4554
  /*handleTouchEnd*/
4555
- e[13]
4555
+ e[14]
4556
4556
  )
4557
4557
  ], h = !0);
4558
4558
  },
4559
- p(m, v) {
4559
+ p(b, v) {
4560
4560
  if (v[0] & /*promotedPaymentMethods*/
4561
- 32 && (r = !Xe(
4561
+ 32 && (r = !Ze(
4562
4562
  /*userAgent*/
4563
- m[9]
4563
+ b[10]
4564
4564
  ) && /*promotedPaymentMethods*/
4565
- m[5].length > 1), r ? c ? c.p(m, v) : (c = xr(m), c.c(), c.m(t, n)) : c && (c.d(1), c = null), v[0] & /*activeIndex, selectPayMeth, promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals, $_, methodtype*/
4566
- 1521) {
4567
- g = je(
4565
+ b[5].length > 1), r ? c ? c.p(b, v) : (c = xr(b), c.c(), c.m(t, n)) : c && (c.d(1), c = null), v[0] & /*activeIndex, cardEl, selectPayMeth, promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals, $_, methodtype*/
4566
+ 3057) {
4567
+ g = Ve(
4568
4568
  /*promotedPaymentMethods*/
4569
- m[5]
4569
+ b[5]
4570
4570
  );
4571
4571
  let y;
4572
4572
  for (y = 0; y < g.length; y += 1) {
4573
- const A = Er(m, g, y);
4574
- b[y] ? b[y].p(A, v) : (b[y] = wr(A), b[y].c(), b[y].m(i, null));
4573
+ const A = Er(b, g, y);
4574
+ m[y] ? m[y].p(A, v) : (m[y] = wr(A), m[y].c(), m[y].m(i, null));
4575
4575
  }
4576
- for (; y < b.length; y += 1)
4577
- b[y].d(1);
4578
- b.length = g.length;
4576
+ for (; y < m.length; y += 1)
4577
+ m[y].d(1);
4578
+ m.length = g.length;
4579
4579
  }
4580
4580
  if (v[0] & /*promotedPaymentMethods*/
4581
- 32 && (s = !Xe(
4581
+ 32 && (s = !Ze(
4582
4582
  /*userAgent*/
4583
- m[9]
4583
+ b[10]
4584
4584
  ) && /*promotedPaymentMethods*/
4585
- m[5].length > 1), s ? d ? d.p(m, v) : (d = Sr(m), d.c(), d.m(t, null)) : d && (d.d(1), d = null), v[0] & /*activeIndex, promotedPaymentMethods*/
4585
+ b[5].length > 1), s ? d ? d.p(b, v) : (d = Sr(b), d.c(), d.m(t, null)) : d && (d.d(1), d = null), v[0] & /*activeIndex, promotedPaymentMethods*/
4586
4586
  96) {
4587
- E = je(Array(
4587
+ E = Ve(Array(
4588
4588
  /*promotedPaymentMethods*/
4589
- m[5].length
4589
+ b[5].length
4590
4590
  ));
4591
4591
  let y;
4592
4592
  for (y = 0; y < E.length; y += 1) {
4593
- const A = _r(m, E, y);
4593
+ const A = _r(b, E, y);
4594
4594
  T[y] ? T[y].p(A, v) : (T[y] = Tr(A), T[y].c(), T[y].m(u, null));
4595
4595
  }
4596
4596
  for (; y < T.length; y += 1)
@@ -4598,8 +4598,8 @@ function Ko(e) {
4598
4598
  T.length = E.length;
4599
4599
  }
4600
4600
  },
4601
- d(m) {
4602
- m && (F(t), F(l), F(u)), c && c.d(), Qt(b, m), e[26](null), d && d.d(), a(), Qt(T, m), h = !1, me(f);
4601
+ d(b) {
4602
+ b && (F(t), F(l), F(u)), c && c.d(), Qt(m, b), e[28](null), d && d.d(), a(), Qt(T, b), h = !1, fe(f);
4603
4603
  }
4604
4604
  };
4605
4605
  }
@@ -4610,11 +4610,11 @@ function xr(e) {
4610
4610
  t = S("div"), t.innerHTML = '<svg viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M15.9997 5.33335C21.8907 5.33335 26.6663 10.109 26.6663 16C26.6663 21.8911 21.8907 26.6667 15.9997 26.6667C10.1086 26.6667 5.33301 21.8911 5.33301 16C5.33301 10.109 10.1086 5.33335 15.9997 5.33335ZM29.333 16C29.333 8.63622 23.3635 2.66669 15.9997 2.66669C8.63588 2.66669 2.66634 8.63622 2.66634 16C2.66634 23.3638 8.63588 29.3334 15.9997 29.3334C23.3635 29.3334 29.333 23.3638 29.333 16ZM18.2758 11.0572C17.7551 10.5365 16.9109 10.5365 16.3902 11.0572L12.3902 15.0572C11.8695 15.5779 11.8695 16.4221 12.3902 16.9428L16.3902 20.9428C16.9109 21.4635 17.7551 21.4635 18.2758 20.9428C18.7965 20.4221 18.7965 19.5779 18.2758 19.0572L15.2186 16L18.2758 12.9428C18.7965 12.4221 18.7965 11.5779 18.2758 11.0572Z"></path></svg>', H(t, "class", "NavigationArrow Left");
4611
4611
  },
4612
4612
  m(i, o) {
4613
- V(i, t, o), r || (n = J(
4613
+ W(i, t, o), r || (n = J(
4614
4614
  t,
4615
4615
  "click",
4616
4616
  /*click_handler*/
4617
- e[24]
4617
+ e[25]
4618
4618
  ), r = !0);
4619
4619
  },
4620
4620
  p: R,
@@ -4624,163 +4624,163 @@ function xr(e) {
4624
4624
  };
4625
4625
  }
4626
4626
  function wr(e) {
4627
- var Ie, Ne, Re, De, p, O, B, Q;
4627
+ var Le, Ie, Ne, Re, De, $e, p, O;
4628
4628
  let t, r, n, i, o, s, a, l, u, h = (
4629
4629
  /*method*/
4630
- (e[43].Label || /*method*/
4631
- e[43].Name) + ""
4632
- ), f, c, g, b, d = (
4630
+ (e[45].Label || /*method*/
4631
+ e[45].Name) + ""
4632
+ ), f, c, g, m, d = (
4633
4633
  /*$_*/
4634
- e[8](`${/*methodtype*/
4634
+ e[9](`${/*methodtype*/
4635
4635
  e[0]}${/*method*/
4636
- e[43].ProcessingTime}`) + ""
4637
- ), E, T, m, v, y, A = (
4636
+ e[45].ProcessingTime}`) + ""
4637
+ ), E, T, b, v, y, A = (
4638
4638
  /*$_*/
4639
- e[8]("generalMin") + ""
4640
- ), I, M, G = We(
4639
+ e[9]("generalMin") + ""
4640
+ ), N, P, G = ze(
4641
4641
  /*method*/
4642
- e[43].DisplayCurrency.MinAmountLimit,
4642
+ e[45].DisplayCurrency.MinAmountLimit,
4643
4643
  /*method*/
4644
- e[43].DisplayCurrency.Name,
4644
+ e[45].DisplayCurrency.Name,
4645
4645
  {
4646
4646
  maximumFractionDigits: (
4647
4647
  /*precisionCurrenciesMap*/
4648
4648
  e[4][
4649
4649
  /*method*/
4650
- (Ne = (Ie = e[43]) == null ? void 0 : Ie.DisplayCurrency) == null ? void 0 : Ne.Name
4650
+ (Ie = (Le = e[45]) == null ? void 0 : Le.DisplayCurrency) == null ? void 0 : Ie.Name
4651
4651
  ] || /*numericCurrencyDecimals*/
4652
- e[7]
4652
+ e[8]
4653
4653
  ),
4654
4654
  minimumFractionDigits: (
4655
4655
  /*precisionCurrenciesMap*/
4656
4656
  e[4][
4657
4657
  /*method*/
4658
- (De = (Re = e[43]) == null ? void 0 : Re.DisplayCurrency) == null ? void 0 : De.Name
4658
+ (Re = (Ne = e[45]) == null ? void 0 : Ne.DisplayCurrency) == null ? void 0 : Re.Name
4659
4659
  ] || /*numericCurrencyDecimals*/
4660
- e[7]
4660
+ e[8]
4661
4661
  )
4662
4662
  }
4663
- ) + "", ye, ve, K, re = (
4663
+ ) + "", X, Oe, Q, ee = (
4664
4664
  /*$_*/
4665
- e[8]("generalMax") + ""
4666
- ), ne, Z, ie = We(
4665
+ e[9]("generalMax") + ""
4666
+ ), me, be, j = ze(
4667
4667
  /*method*/
4668
- e[43].DisplayCurrency.MaxAmountLimit,
4668
+ e[45].DisplayCurrency.MaxAmountLimit,
4669
4669
  /*method*/
4670
- e[43].DisplayCurrency.Name,
4670
+ e[45].DisplayCurrency.Name,
4671
4671
  {
4672
4672
  maximumFractionDigits: (
4673
4673
  /*precisionCurrenciesMap*/
4674
4674
  e[4][
4675
4675
  /*method*/
4676
- (O = (p = e[43]) == null ? void 0 : p.DisplayCurrency) == null ? void 0 : O.Name
4676
+ ($e = (De = e[45]) == null ? void 0 : De.DisplayCurrency) == null ? void 0 : $e.Name
4677
4677
  ] || /*numericCurrencyDecimals*/
4678
- e[7]
4678
+ e[8]
4679
4679
  ),
4680
4680
  minimumFractionDigits: (
4681
4681
  /*precisionCurrenciesMap*/
4682
4682
  e[4][
4683
4683
  /*method*/
4684
- (Q = (B = e[43]) == null ? void 0 : B.DisplayCurrency) == null ? void 0 : Q.Name
4684
+ (O = (p = e[45]) == null ? void 0 : p.DisplayCurrency) == null ? void 0 : O.Name
4685
4685
  ] || /*numericCurrencyDecimals*/
4686
- e[7]
4686
+ e[8]
4687
4687
  )
4688
4688
  }
4689
- ) + "", _e, Be, oe, ee, Le;
4690
- function lt() {
4689
+ ) + "", ge, Be, te, ye, re;
4690
+ function ht() {
4691
4691
  return (
4692
4692
  /*click_handler_1*/
4693
- e[25](
4693
+ e[26](
4694
4694
  /*method*/
4695
- e[43],
4695
+ e[45],
4696
4696
  /*index*/
4697
- e[42]
4697
+ e[44]
4698
4698
  )
4699
4699
  );
4700
4700
  }
4701
4701
  return {
4702
4702
  c() {
4703
- t = S("div"), r = S("div"), n = S("img"), s = U(), a = S("div"), l = S("div"), u = S("span"), f = j(h), c = U(), g = S("div"), b = S("span"), E = j(d), T = U(), m = S("div"), v = S("span"), y = S("span"), I = j(A), M = U(), ye = j(G), ve = U(), K = S("span"), ne = j(re), Z = U(), _e = j(ie), Be = U(), Zt(n.src, i = /*method*/
4704
- e[43].LogoUrl) || H(n, "src", i), H(n, "alt", o = /*method*/
4705
- e[43].Label), H(r, "class", "MethodLogo"), H(l, "class", "MethodTitle"), H(g, "class", "MethodProcessingTime"), H(v, "class", "Limits"), H(m, "class", "MethodLimits"), H(a, "class", "MethodInfo"), H(t, "class", oe = `CarouselCardWrapper ${/*index*/
4706
- e[42] === /*activeIndex*/
4703
+ t = S("div"), r = S("div"), n = S("img"), s = U(), a = S("div"), l = S("div"), u = S("span"), f = k(h), c = U(), g = S("div"), m = S("span"), E = k(d), T = U(), b = S("div"), v = S("span"), y = S("span"), N = k(A), P = U(), X = k(G), Oe = U(), Q = S("span"), me = k(ee), be = U(), ge = k(j), Be = U(), Zt(n.src, i = /*method*/
4704
+ e[45].LogoUrl) || H(n, "src", i), H(n, "alt", o = /*method*/
4705
+ e[45].Label), H(r, "class", "MethodLogo"), H(l, "class", "MethodTitle"), H(g, "class", "MethodProcessingTime"), H(v, "class", "Limits"), H(b, "class", "MethodLimits"), H(a, "class", "MethodInfo"), H(t, "class", te = `CarouselCardWrapper ${/*index*/
4706
+ e[44] === /*activeIndex*/
4707
4707
  e[6] ? "active" : ""}`);
4708
4708
  },
4709
- m(W, N) {
4710
- V(W, t, N), _(t, r), _(r, n), _(t, s), _(t, a), _(a, l), _(l, u), _(u, f), _(a, c), _(a, g), _(g, b), _(b, E), _(a, T), _(a, m), _(m, v), _(v, y), _(y, I), _(y, M), _(y, ye), _(v, ve), _(v, K), _(K, ne), _(K, Z), _(K, _e), _(t, Be), ee || (Le = J(t, "click", lt), ee = !0);
4709
+ m(B, L) {
4710
+ W(B, t, L), _(t, r), _(r, n), _(t, s), _(t, a), _(a, l), _(l, u), _(u, f), _(a, c), _(a, g), _(g, m), _(m, E), _(a, T), _(a, b), _(b, v), _(v, y), _(y, N), _(y, P), _(y, X), _(v, Oe), _(v, Q), _(Q, me), _(Q, be), _(Q, ge), _(t, Be), e[27](t), ye || (re = J(t, "click", ht), ye = !0);
4711
4711
  },
4712
- p(W, N) {
4713
- var $e, ht, $t, Ut, Ft, Gt, jt, kt;
4714
- e = W, N[0] & /*promotedPaymentMethods*/
4712
+ p(B, L) {
4713
+ var Ue, Fe, ct, Ut, Ft, Gt, jt, kt;
4714
+ e = B, L[0] & /*promotedPaymentMethods*/
4715
4715
  32 && !Zt(n.src, i = /*method*/
4716
- e[43].LogoUrl) && H(n, "src", i), N[0] & /*promotedPaymentMethods*/
4716
+ e[45].LogoUrl) && H(n, "src", i), L[0] & /*promotedPaymentMethods*/
4717
4717
  32 && o !== (o = /*method*/
4718
- e[43].Label) && H(n, "alt", o), N[0] & /*promotedPaymentMethods*/
4718
+ e[45].Label) && H(n, "alt", o), L[0] & /*promotedPaymentMethods*/
4719
4719
  32 && h !== (h = /*method*/
4720
- (e[43].Label || /*method*/
4721
- e[43].Name) + "") && X(f, h), N[0] & /*$_, methodtype, promotedPaymentMethods*/
4722
- 289 && d !== (d = /*$_*/
4723
- e[8](`${/*methodtype*/
4720
+ (e[45].Label || /*method*/
4721
+ e[45].Name) + "") && z(f, h), L[0] & /*$_, methodtype, promotedPaymentMethods*/
4722
+ 545 && d !== (d = /*$_*/
4723
+ e[9](`${/*methodtype*/
4724
4724
  e[0]}${/*method*/
4725
- e[43].ProcessingTime}`) + "") && X(E, d), N[0] & /*$_*/
4726
- 256 && A !== (A = /*$_*/
4727
- e[8]("generalMin") + "") && X(I, A), N[0] & /*promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals*/
4728
- 176 && G !== (G = We(
4725
+ e[45].ProcessingTime}`) + "") && z(E, d), L[0] & /*$_*/
4726
+ 512 && A !== (A = /*$_*/
4727
+ e[9]("generalMin") + "") && z(N, A), L[0] & /*promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals*/
4728
+ 304 && G !== (G = ze(
4729
4729
  /*method*/
4730
- e[43].DisplayCurrency.MinAmountLimit,
4730
+ e[45].DisplayCurrency.MinAmountLimit,
4731
4731
  /*method*/
4732
- e[43].DisplayCurrency.Name,
4732
+ e[45].DisplayCurrency.Name,
4733
4733
  {
4734
4734
  maximumFractionDigits: (
4735
4735
  /*precisionCurrenciesMap*/
4736
4736
  e[4][
4737
4737
  /*method*/
4738
- (ht = ($e = e[43]) == null ? void 0 : $e.DisplayCurrency) == null ? void 0 : ht.Name
4738
+ (Fe = (Ue = e[45]) == null ? void 0 : Ue.DisplayCurrency) == null ? void 0 : Fe.Name
4739
4739
  ] || /*numericCurrencyDecimals*/
4740
- e[7]
4740
+ e[8]
4741
4741
  ),
4742
4742
  minimumFractionDigits: (
4743
4743
  /*precisionCurrenciesMap*/
4744
4744
  e[4][
4745
4745
  /*method*/
4746
- (Ut = ($t = e[43]) == null ? void 0 : $t.DisplayCurrency) == null ? void 0 : Ut.Name
4746
+ (Ut = (ct = e[45]) == null ? void 0 : ct.DisplayCurrency) == null ? void 0 : Ut.Name
4747
4747
  ] || /*numericCurrencyDecimals*/
4748
- e[7]
4748
+ e[8]
4749
4749
  )
4750
4750
  }
4751
- ) + "") && X(ye, G), N[0] & /*$_*/
4752
- 256 && re !== (re = /*$_*/
4753
- e[8]("generalMax") + "") && X(ne, re), N[0] & /*promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals*/
4754
- 176 && ie !== (ie = We(
4751
+ ) + "") && z(X, G), L[0] & /*$_*/
4752
+ 512 && ee !== (ee = /*$_*/
4753
+ e[9]("generalMax") + "") && z(me, ee), L[0] & /*promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals*/
4754
+ 304 && j !== (j = ze(
4755
4755
  /*method*/
4756
- e[43].DisplayCurrency.MaxAmountLimit,
4756
+ e[45].DisplayCurrency.MaxAmountLimit,
4757
4757
  /*method*/
4758
- e[43].DisplayCurrency.Name,
4758
+ e[45].DisplayCurrency.Name,
4759
4759
  {
4760
4760
  maximumFractionDigits: (
4761
4761
  /*precisionCurrenciesMap*/
4762
4762
  e[4][
4763
4763
  /*method*/
4764
- (Gt = (Ft = e[43]) == null ? void 0 : Ft.DisplayCurrency) == null ? void 0 : Gt.Name
4764
+ (Gt = (Ft = e[45]) == null ? void 0 : Ft.DisplayCurrency) == null ? void 0 : Gt.Name
4765
4765
  ] || /*numericCurrencyDecimals*/
4766
- e[7]
4766
+ e[8]
4767
4767
  ),
4768
4768
  minimumFractionDigits: (
4769
4769
  /*precisionCurrenciesMap*/
4770
4770
  e[4][
4771
4771
  /*method*/
4772
- (kt = (jt = e[43]) == null ? void 0 : jt.DisplayCurrency) == null ? void 0 : kt.Name
4772
+ (kt = (jt = e[45]) == null ? void 0 : jt.DisplayCurrency) == null ? void 0 : kt.Name
4773
4773
  ] || /*numericCurrencyDecimals*/
4774
- e[7]
4774
+ e[8]
4775
4775
  )
4776
4776
  }
4777
- ) + "") && X(_e, ie), N[0] & /*activeIndex*/
4778
- 64 && oe !== (oe = `CarouselCardWrapper ${/*index*/
4779
- e[42] === /*activeIndex*/
4780
- e[6] ? "active" : ""}`) && H(t, "class", oe);
4777
+ ) + "") && z(ge, j), L[0] & /*activeIndex*/
4778
+ 64 && te !== (te = `CarouselCardWrapper ${/*index*/
4779
+ e[44] === /*activeIndex*/
4780
+ e[6] ? "active" : ""}`) && H(t, "class", te);
4781
4781
  },
4782
- d(W) {
4783
- W && F(t), ee = !1, Le();
4782
+ d(B) {
4783
+ B && F(t), e[27](null), ye = !1, re();
4784
4784
  }
4785
4785
  };
4786
4786
  }
@@ -4791,11 +4791,11 @@ function Sr(e) {
4791
4791
  t = S("div"), t.innerHTML = '<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M16.0003 5.33335C10.1093 5.33335 5.33366 10.109 5.33366 16C5.33366 21.8911 10.1093 26.6667 16.0003 26.6667C21.8914 26.6667 26.667 21.8911 26.667 16C26.667 10.109 21.8914 5.33335 16.0003 5.33335ZM2.66699 16C2.66699 8.63622 8.63653 2.66669 16.0003 2.66669C23.3641 2.66669 29.3337 8.63622 29.3337 16C29.3337 23.3638 23.3641 29.3334 16.0003 29.3334C8.63653 29.3334 2.66699 23.3638 2.66699 16ZM13.7242 11.0572C14.2449 10.5365 15.0891 10.5365 15.6098 11.0572L19.6098 15.0572C20.1305 15.5779 20.1305 16.4221 19.6098 16.9428L15.6098 20.9428C15.0891 21.4635 14.2449 21.4635 13.7242 20.9428C13.2035 20.4221 13.2035 19.5779 13.7242 19.0572L16.7814 16L13.7242 12.9428C13.2035 12.4221 13.2035 11.5779 13.7242 11.0572Z"></path></svg>', H(t, "class", "NavigationArrow Right");
4792
4792
  },
4793
4793
  m(i, o) {
4794
- V(i, t, o), r || (n = J(
4794
+ W(i, t, o), r || (n = J(
4795
4795
  t,
4796
4796
  "click",
4797
4797
  /*click_handler_2*/
4798
- e[27]
4798
+ e[29]
4799
4799
  ), r = !0);
4800
4800
  },
4801
4801
  p: R,
@@ -4809,16 +4809,16 @@ function Tr(e) {
4809
4809
  return {
4810
4810
  c() {
4811
4811
  t = S("div"), H(t, "class", r = `Dot ${/*index*/
4812
- e[42] === /*activeIndex*/
4812
+ e[44] === /*activeIndex*/
4813
4813
  e[6] ? "active" : ""}`);
4814
4814
  },
4815
4815
  m(n, i) {
4816
- V(n, t, i);
4816
+ W(n, t, i);
4817
4817
  },
4818
4818
  p(n, i) {
4819
4819
  i[0] & /*activeIndex*/
4820
4820
  64 && r !== (r = `Dot ${/*index*/
4821
- n[42] === /*activeIndex*/
4821
+ n[44] === /*activeIndex*/
4822
4822
  n[6] ? "active" : ""}`) && H(t, "class", r);
4823
4823
  },
4824
4824
  d(n) {
@@ -4829,10 +4829,10 @@ function Tr(e) {
4829
4829
  function es(e) {
4830
4830
  let t, r, n, i, o = (
4831
4831
  /*$_*/
4832
- e[8]("carouselTitle") + ""
4832
+ e[9]("carouselTitle") + ""
4833
4833
  ), s, a, l, u = (
4834
4834
  /*$_*/
4835
- e[8]("carouselSubtitle") + ""
4835
+ e[9]("carouselSubtitle") + ""
4836
4836
  ), h, f;
4837
4837
  function c(d, E) {
4838
4838
  return (
@@ -4840,42 +4840,42 @@ function es(e) {
4840
4840
  d[5].length > 0 ? Ko : qo
4841
4841
  );
4842
4842
  }
4843
- let g = c(e), b = g(e);
4843
+ let g = c(e), m = g(e);
4844
4844
  return {
4845
4845
  c() {
4846
- t = S("div"), r = S("div"), n = S("div"), i = S("h4"), s = j(o), a = U(), l = S("p"), h = j(u), f = U(), b.c(), H(n, "class", "CarouselHeader"), H(r, "class", "CashierCarouselWarpper");
4846
+ t = S("div"), r = S("div"), n = S("div"), i = S("h4"), s = k(o), a = U(), l = S("p"), h = k(u), f = U(), m.c(), H(n, "class", "CarouselHeader"), H(r, "class", "CashierCarouselWarpper");
4847
4847
  },
4848
4848
  m(d, E) {
4849
- V(d, t, E), _(t, r), _(r, n), _(n, i), _(i, s), _(n, a), _(n, l), _(l, h), _(r, f), b.m(r, null), e[29](t);
4849
+ W(d, t, E), _(t, r), _(r, n), _(n, i), _(i, s), _(n, a), _(n, l), _(l, h), _(r, f), m.m(r, null), e[31](t);
4850
4850
  },
4851
4851
  p(d, E) {
4852
4852
  E[0] & /*$_*/
4853
- 256 && o !== (o = /*$_*/
4854
- d[8]("carouselTitle") + "") && X(s, o), E[0] & /*$_*/
4855
- 256 && u !== (u = /*$_*/
4856
- d[8]("carouselSubtitle") + "") && X(h, u), g === (g = c(d)) && b ? b.p(d, E) : (b.d(1), b = g(d), b && (b.c(), b.m(r, null)));
4853
+ 512 && o !== (o = /*$_*/
4854
+ d[9]("carouselTitle") + "") && z(s, o), E[0] & /*$_*/
4855
+ 512 && u !== (u = /*$_*/
4856
+ d[9]("carouselSubtitle") + "") && z(h, u), g === (g = c(d)) && m ? m.p(d, E) : (m.d(1), m = g(d), m && (m.c(), m.m(r, null)));
4857
4857
  },
4858
4858
  i: R,
4859
4859
  o: R,
4860
4860
  d(d) {
4861
- d && F(t), b.d(), e[29](null);
4861
+ d && F(t), m.d(), e[31](null);
4862
4862
  }
4863
4863
  };
4864
4864
  }
4865
4865
  function ts(e, t, r) {
4866
4866
  let n, i;
4867
- mn(e, Po, (p) => r(8, i = p));
4868
- let { lang: o = "en" } = t, { local: s = "en-US" } = t, { currencysymbol: a = "true" } = t, { currencyposition: l = "" } = t, { currencydecimals: u = "0" } = t, { methodtype: h = "" } = t, { clientstyling: f = "" } = t, { clientstylingurl: c = "" } = t, { mbsource: g = "" } = t, { translationurl: b = "" } = t, d = {}, E, T, m = [], v = 0, y = !0, A = 0, I = !1, M, G, ye = window.navigator.userAgent;
4869
- const ve = (p) => {
4870
- var B, Q;
4867
+ mn(e, Po, (p) => r(9, i = p));
4868
+ let { lang: o = "en" } = t, { local: s = "en-US" } = t, { currencysymbol: a = "true" } = t, { currencyposition: l = "" } = t, { currencydecimals: u = "0" } = t, { methodtype: h = "" } = t, { clientstyling: f = "" } = t, { clientstylingurl: c = "" } = t, { mbsource: g = "" } = t, { translationurl: m = "" } = t, d = {}, E, T, b = [], v = 0, y = !0, A = 0, N = !1, P, G, X, Oe = window.navigator.userAgent;
4869
+ const Q = (p) => {
4870
+ var B, L;
4871
4871
  const { data: { type: O } = {} } = p || {};
4872
4872
  switch (O) {
4873
4873
  case "PromotedPaymentMethods": {
4874
- r(5, m = (B = p == null ? void 0 : p.data) == null ? void 0 : B.promotedPaymentMethods), r(6, v = Math.floor((m.length - 1) / 2));
4874
+ r(5, b = (B = p == null ? void 0 : p.data) == null ? void 0 : B.promotedPaymentMethods), r(6, v = Math.floor((b.length - 1) / 2));
4875
4875
  break;
4876
4876
  }
4877
4877
  case "PrecisionCurrenciesMap": {
4878
- r(4, d = ((Q = p == null ? void 0 : p.data) == null ? void 0 : Q.payload) || {});
4878
+ r(4, d = ((L = p == null ? void 0 : p.data) == null ? void 0 : L.payload) || {});
4879
4879
  break;
4880
4880
  }
4881
4881
  }
@@ -4883,8 +4883,8 @@ function ts(e, t, r) {
4883
4883
  Object.keys(vr).forEach((p) => {
4884
4884
  cr(p, vr[p]);
4885
4885
  });
4886
- const K = () => {
4887
- let p = b;
4886
+ const ee = () => {
4887
+ let p = m;
4888
4888
  if (p)
4889
4889
  return fetch(p).then((O) => O.json()).then((O) => {
4890
4890
  Object.keys(O).forEach((B) => {
@@ -4893,10 +4893,10 @@ function ts(e, t, r) {
4893
4893
  }).catch((O) => {
4894
4894
  console.log(O);
4895
4895
  });
4896
- }, re = () => {
4896
+ }, me = () => {
4897
4897
  Mo(o);
4898
- }, ne = (p, O) => {
4899
- r(6, v = O), r(2, M.style.transform = Z(), M), p.Name, window.postMessage({ type: "SelectPayMeth", details: p }, window.location.href), dispatchEvent(new CustomEvent(
4898
+ }, be = (p, O) => {
4899
+ r(6, v = O), r(2, P.style.transform = j(), P), p.Name, window.postMessage({ type: "SelectPayMeth", details: p }, window.location.href), dispatchEvent(new CustomEvent(
4900
4900
  "selectPayMeth",
4901
4901
  {
4902
4902
  detail: p,
@@ -4905,78 +4905,78 @@ function ts(e, t, r) {
4905
4905
  composed: !0
4906
4906
  }
4907
4907
  ));
4908
- }, Z = () => {
4909
- if (m.length == 1)
4910
- return "translateX(0px)";
4911
- const B = 78 + 5, Q = B * m.length;
4912
- let W;
4913
- m.length % 2 === 1 ? W = Math.floor(m.length / 2) : W = Math.floor(m.length / 2) - 0.5;
4914
- let N = G - Q;
4915
- const $e = W - v;
4916
- return `translateX(${N / 2 + $e * B - 20}px)`;
4917
- }, ie = (p) => {
4918
- A = p.touches[0].clientX, I = !0, M.classList.add("dragging");
4919
- }, _e = (p) => {
4920
- if (!I)
4908
+ }, j = () => {
4909
+ const p = parseFloat(getComputedStyle(X).getPropertyValue("--emw-cashier-card-width")) || 78, O = parseFloat(getComputedStyle(P).getPropertyValue("--emw-cashier-card-gap")) || 10, B = parseFloat(getComputedStyle(X).getPropertyValue("--emw-cashier-card-width-active")) || 100, L = p + O, Ue = G / 2, Fe = v * L + B / 2;
4910
+ return `translateX(${Ue - Fe}px)`;
4911
+ }, ge = (p) => {
4912
+ A = p.touches[0].clientX, N = !0, P.classList.add("dragging");
4913
+ }, Be = (p) => {
4914
+ if (!N)
4921
4915
  return;
4922
4916
  const O = p.touches[0].clientX;
4923
4917
  Math.abs(O - A) > 10 && p.preventDefault();
4924
- }, Be = (p) => {
4925
- if (!I)
4918
+ }, te = (p) => {
4919
+ if (!N)
4926
4920
  return;
4927
- I = !1, M.classList.remove("dragging");
4921
+ N = !1, P.classList.remove("dragging");
4928
4922
  const O = p.changedTouches[0].clientX, B = A - O;
4929
- Math.abs(B) > 50 && (B > 0 && v < m.length - 1 ? r(6, v++, v) : B < 0 && v > 0 && r(6, v--, v), r(2, M.style.transform = Z(), M));
4930
- }, oe = () => {
4931
- y && (r(2, M.style.transform = Z(), M), y = !1);
4932
- }, ee = (p) => {
4933
- p === "next" && v < m.length - 1 ? r(6, v++, v) : p === "prev" && v > 0 && r(6, v--, v), r(2, M.style.transform = Z(), M);
4923
+ Math.abs(B) > 50 && (B > 0 && v < b.length - 1 ? r(6, v++, v) : B < 0 && v > 0 && r(6, v--, v), r(2, P.style.transform = j(), P));
4924
+ }, ye = () => {
4925
+ y && (r(2, P.style.transform = j(), P), y = !1);
4926
+ }, re = (p) => {
4927
+ p === "next" && v < b.length - 1 ? r(6, v++, v) : p === "prev" && v > 0 && r(6, v--, v), r(2, P.style.transform = j(), P);
4934
4928
  };
4935
- Sn(() => (Yo(s, a, l, u), window.addEventListener("message", ve), window.postMessage({ type: "CashierCarouselReady" }, window.location.href), M && Z(), () => {
4936
- window.removeEventListener("message", ve);
4929
+ Sn(() => (Yo(s, a, l, u), window.addEventListener("message", Q), window.postMessage({ type: "CashierCarouselReady" }, window.location.href), P && j(), () => {
4930
+ window.removeEventListener("message", Q);
4937
4931
  }));
4938
- const Le = () => ee("prev"), lt = (p, O) => ne(p, O);
4932
+ const ht = () => re("prev"), Le = (p, O) => be(p, O);
4939
4933
  function Ie(p) {
4940
- qe[p ? "unshift" : "push"](() => {
4941
- M = p, r(2, M);
4934
+ Se[p ? "unshift" : "push"](() => {
4935
+ X = p, r(7, X);
4936
+ });
4937
+ }
4938
+ function Ne(p) {
4939
+ Se[p ? "unshift" : "push"](() => {
4940
+ P = p, r(2, P);
4942
4941
  });
4943
4942
  }
4944
- const Ne = () => ee("next");
4945
- function Re() {
4943
+ const Re = () => re("next");
4944
+ function De() {
4946
4945
  G = this.clientWidth, r(3, G);
4947
4946
  }
4948
- function De(p) {
4949
- qe[p ? "unshift" : "push"](() => {
4947
+ function $e(p) {
4948
+ Se[p ? "unshift" : "push"](() => {
4950
4949
  E = p, r(1, E);
4951
4950
  });
4952
4951
  }
4953
4952
  return e.$$set = (p) => {
4954
- "lang" in p && r(15, o = p.lang), "local" in p && r(16, s = p.local), "currencysymbol" in p && r(17, a = p.currencysymbol), "currencyposition" in p && r(18, l = p.currencyposition), "currencydecimals" in p && r(19, u = p.currencydecimals), "methodtype" in p && r(0, h = p.methodtype), "clientstyling" in p && r(20, f = p.clientstyling), "clientstylingurl" in p && r(21, c = p.clientstylingurl), "mbsource" in p && r(22, g = p.mbsource), "translationurl" in p && r(23, b = p.translationurl);
4953
+ "lang" in p && r(16, o = p.lang), "local" in p && r(17, s = p.local), "currencysymbol" in p && r(18, a = p.currencysymbol), "currencyposition" in p && r(19, l = p.currencyposition), "currencydecimals" in p && r(20, u = p.currencydecimals), "methodtype" in p && r(0, h = p.methodtype), "clientstyling" in p && r(21, f = p.clientstyling), "clientstylingurl" in p && r(22, c = p.clientstylingurl), "mbsource" in p && r(23, g = p.mbsource), "translationurl" in p && r(24, m = p.translationurl);
4955
4954
  }, e.$$.update = () => {
4956
4955
  e.$$.dirty[0] & /*lang*/
4957
- 32768 && o && re(), e.$$.dirty[0] & /*lang, translationurl*/
4958
- 8421376 && o && b && K(), e.$$.dirty[0] & /*carouselContainer, carouselContainerWidth*/
4959
- 12 && M && G && oe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4960
- 1048578 && f && E && Oo(E, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4961
- 2097154 && c && E && Bo(E, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4962
- 4194306 && g && E && Lo(E, `${g}.Style`, T), e.$$.dirty[0] & /*currencydecimals*/
4963
- 524288 && r(7, n = Number(u));
4956
+ 65536 && o && me(), e.$$.dirty[0] & /*lang, translationurl*/
4957
+ 16842752 && o && m && ee(), e.$$.dirty[0] & /*carouselContainer, carouselContainerWidth*/
4958
+ 12 && P && G && ye(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4959
+ 2097154 && f && E && Oo(E, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4960
+ 4194306 && c && E && Bo(E, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4961
+ 8388610 && g && E && Lo(E, `${g}.Style`, T), e.$$.dirty[0] & /*currencydecimals*/
4962
+ 1048576 && r(8, n = Number(u));
4964
4963
  }, [
4965
4964
  h,
4966
4965
  E,
4967
- M,
4966
+ P,
4968
4967
  G,
4969
4968
  d,
4970
- m,
4969
+ b,
4971
4970
  v,
4971
+ X,
4972
4972
  n,
4973
4973
  i,
4974
- ye,
4975
- ne,
4976
- ie,
4977
- _e,
4974
+ Oe,
4975
+ be,
4976
+ ge,
4978
4977
  Be,
4979
- ee,
4978
+ te,
4979
+ re,
4980
4980
  o,
4981
4981
  s,
4982
4982
  a,
@@ -4985,13 +4985,14 @@ function ts(e, t, r) {
4985
4985
  f,
4986
4986
  c,
4987
4987
  g,
4988
- b,
4988
+ m,
4989
+ ht,
4989
4990
  Le,
4990
- lt,
4991
4991
  Ie,
4992
4992
  Ne,
4993
4993
  Re,
4994
- De
4994
+ De,
4995
+ $e
4995
4996
  ];
4996
4997
  }
4997
4998
  class rs extends Rn {
@@ -5003,47 +5004,47 @@ class rs extends Rn {
5003
5004
  es,
5004
5005
  Hr,
5005
5006
  {
5006
- lang: 15,
5007
- local: 16,
5008
- currencysymbol: 17,
5009
- currencyposition: 18,
5010
- currencydecimals: 19,
5007
+ lang: 16,
5008
+ local: 17,
5009
+ currencysymbol: 18,
5010
+ currencyposition: 19,
5011
+ currencydecimals: 20,
5011
5012
  methodtype: 0,
5012
- clientstyling: 20,
5013
- clientstylingurl: 21,
5014
- mbsource: 22,
5015
- translationurl: 23
5013
+ clientstyling: 21,
5014
+ clientstylingurl: 22,
5015
+ mbsource: 23,
5016
+ translationurl: 24
5016
5017
  },
5017
5018
  Jo,
5018
5019
  [-1, -1]
5019
5020
  );
5020
5021
  }
5021
5022
  get lang() {
5022
- return this.$$.ctx[15];
5023
+ return this.$$.ctx[16];
5023
5024
  }
5024
5025
  set lang(t) {
5025
5026
  this.$$set({ lang: t }), $();
5026
5027
  }
5027
5028
  get local() {
5028
- return this.$$.ctx[16];
5029
+ return this.$$.ctx[17];
5029
5030
  }
5030
5031
  set local(t) {
5031
5032
  this.$$set({ local: t }), $();
5032
5033
  }
5033
5034
  get currencysymbol() {
5034
- return this.$$.ctx[17];
5035
+ return this.$$.ctx[18];
5035
5036
  }
5036
5037
  set currencysymbol(t) {
5037
5038
  this.$$set({ currencysymbol: t }), $();
5038
5039
  }
5039
5040
  get currencyposition() {
5040
- return this.$$.ctx[18];
5041
+ return this.$$.ctx[19];
5041
5042
  }
5042
5043
  set currencyposition(t) {
5043
5044
  this.$$set({ currencyposition: t }), $();
5044
5045
  }
5045
5046
  get currencydecimals() {
5046
- return this.$$.ctx[19];
5047
+ return this.$$.ctx[20];
5047
5048
  }
5048
5049
  set currencydecimals(t) {
5049
5050
  this.$$set({ currencydecimals: t }), $();
@@ -5055,25 +5056,25 @@ class rs extends Rn {
5055
5056
  this.$$set({ methodtype: t }), $();
5056
5057
  }
5057
5058
  get clientstyling() {
5058
- return this.$$.ctx[20];
5059
+ return this.$$.ctx[21];
5059
5060
  }
5060
5061
  set clientstyling(t) {
5061
5062
  this.$$set({ clientstyling: t }), $();
5062
5063
  }
5063
5064
  get clientstylingurl() {
5064
- return this.$$.ctx[21];
5065
+ return this.$$.ctx[22];
5065
5066
  }
5066
5067
  set clientstylingurl(t) {
5067
5068
  this.$$set({ clientstylingurl: t }), $();
5068
5069
  }
5069
5070
  get mbsource() {
5070
- return this.$$.ctx[22];
5071
+ return this.$$.ctx[23];
5071
5072
  }
5072
5073
  set mbsource(t) {
5073
5074
  this.$$set({ mbsource: t }), $();
5074
5075
  }
5075
5076
  get translationurl() {
5076
- return this.$$.ctx[23];
5077
+ return this.$$.ctx[24];
5077
5078
  }
5078
5079
  set translationurl(t) {
5079
5080
  this.$$set({ translationurl: t }), $();