@everymatrix/cashier-carousel 1.86.5 → 1.86.7

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.
@@ -1,28 +1,28 @@
1
1
  function L() {
2
2
  }
3
- function lr(e) {
3
+ function ur(e) {
4
4
  return e();
5
5
  }
6
6
  function Pt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function ce(e) {
10
- e.forEach(lr);
10
+ e.forEach(ur);
11
11
  }
12
12
  function Tt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function hr(e, t) {
15
+ function lr(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- let Pe;
18
+ let Oe;
19
19
  function Mt(e, t) {
20
- return e === t ? !0 : (Pe || (Pe = document.createElement("a")), Pe.href = t, e === Pe.href);
20
+ return e === t ? !0 : (Oe || (Oe = document.createElement("a")), Oe.href = t, e === Oe.href);
21
21
  }
22
- function Zr(e) {
22
+ function zr(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function cr(e, ...t) {
25
+ function hr(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
@@ -31,20 +31,20 @@ function cr(e, ...t) {
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function Qr(e, t, r) {
35
- e.$$.on_destroy.push(cr(t, r));
34
+ function Zr(e, t, r) {
35
+ e.$$.on_destroy.push(hr(t, r));
36
36
  }
37
37
  function v(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function Jr(e, t, r) {
41
- const n = Yr(e);
40
+ function Qr(e, t, r) {
41
+ const n = Jr(e);
42
42
  if (!n.getElementById(t)) {
43
43
  const i = T("style");
44
- i.id = t, i.textContent = r, qr(n, i);
44
+ i.id = t, i.textContent = r, Yr(n, i);
45
45
  }
46
46
  }
47
- function Yr(e) {
47
+ function Jr(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,7 +54,7 @@ function Yr(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function qr(e, t) {
57
+ function Yr(e, t) {
58
58
  return v(
59
59
  /** @type {Document} */
60
60
  e.head || e,
@@ -86,33 +86,33 @@ function Z(e, t, r, n) {
86
86
  function P(e, t, r) {
87
87
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
88
88
  }
89
- function Kr(e) {
89
+ function qr(e) {
90
90
  return Array.from(e.childNodes);
91
91
  }
92
92
  function V(e, t) {
93
93
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
94
94
  t);
95
95
  }
96
- let Me;
97
- function en() {
98
- if (Me === void 0) {
99
- Me = !1;
96
+ let Be;
97
+ function Kr() {
98
+ if (Be === void 0) {
99
+ Be = !1;
100
100
  try {
101
101
  typeof window < "u" && window.parent && window.parent.document;
102
102
  } catch {
103
- Me = !0;
103
+ Be = !0;
104
104
  }
105
105
  }
106
- return Me;
106
+ return Be;
107
107
  }
108
- function tn(e, t) {
108
+ function en(e, t) {
109
109
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
110
110
  const n = T("iframe");
111
111
  n.setAttribute(
112
112
  "style",
113
113
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
114
114
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
115
- const i = en();
115
+ const i = Kr();
116
116
  let o;
117
117
  return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = Z(
118
118
  window,
@@ -127,7 +127,7 @@ function tn(e, t) {
127
127
  (i || o && n.contentWindow) && o(), D(n);
128
128
  };
129
129
  }
130
- function rn(e) {
130
+ function tn(e) {
131
131
  const t = {};
132
132
  return e.childNodes.forEach(
133
133
  /** @param {Element} node */
@@ -136,90 +136,90 @@ function rn(e) {
136
136
  }
137
137
  ), t;
138
138
  }
139
- let ve;
140
- function ye(e) {
141
- ve = e;
139
+ let Ee;
140
+ function _e(e) {
141
+ Ee = e;
142
142
  }
143
- function nn() {
144
- if (!ve)
143
+ function rn() {
144
+ if (!Ee)
145
145
  throw new Error("Function called outside component initialization");
146
- return ve;
146
+ return Ee;
147
147
  }
148
- function on(e) {
149
- nn().$$.on_mount.push(e);
148
+ function nn(e) {
149
+ rn().$$.on_mount.push(e);
150
150
  }
151
- const oe = [], Fe = [];
151
+ const oe = [], ke = [];
152
152
  let se = [];
153
- const Bt = [], sn = /* @__PURE__ */ Promise.resolve();
154
- let at = !1;
155
- function an() {
156
- at || (at = !0, sn.then(N));
153
+ const Bt = [], on = /* @__PURE__ */ Promise.resolve();
154
+ let ht = !1;
155
+ function sn() {
156
+ ht || (ht = !0, on.then(N));
157
157
  }
158
- function Ge(e) {
158
+ function Ve(e) {
159
159
  se.push(e);
160
160
  }
161
- const Ke = /* @__PURE__ */ new Set();
161
+ const rt = /* @__PURE__ */ new Set();
162
162
  let ne = 0;
163
163
  function N() {
164
164
  if (ne !== 0)
165
165
  return;
166
- const e = ve;
166
+ const e = Ee;
167
167
  do {
168
168
  try {
169
169
  for (; ne < oe.length; ) {
170
170
  const t = oe[ne];
171
- ne++, ye(t), un(t.$$);
171
+ ne++, _e(t), an(t.$$);
172
172
  }
173
173
  } catch (t) {
174
174
  throw oe.length = 0, ne = 0, t;
175
175
  }
176
- for (ye(null), oe.length = 0, ne = 0; Fe.length; )
177
- Fe.pop()();
176
+ for (_e(null), oe.length = 0, ne = 0; ke.length; )
177
+ ke.pop()();
178
178
  for (let t = 0; t < se.length; t += 1) {
179
179
  const r = se[t];
180
- Ke.has(r) || (Ke.add(r), r());
180
+ rt.has(r) || (rt.add(r), r());
181
181
  }
182
182
  se.length = 0;
183
183
  } while (oe.length);
184
184
  for (; Bt.length; )
185
185
  Bt.pop()();
186
- at = !1, Ke.clear(), ye(e);
186
+ ht = !1, rt.clear(), _e(e);
187
187
  }
188
- function un(e) {
188
+ function an(e) {
189
189
  if (e.fragment !== null) {
190
190
  e.update(), ce(e.before_update);
191
191
  const t = e.dirty;
192
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ge);
192
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ve);
193
193
  }
194
194
  }
195
- function ln(e) {
195
+ function un(e) {
196
196
  const t = [], r = [];
197
197
  se.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), se = t;
198
198
  }
199
- const hn = /* @__PURE__ */ new Set();
200
- function cn(e, t) {
201
- e && e.i && (hn.delete(e), e.i(t));
199
+ const ln = /* @__PURE__ */ new Set();
200
+ function hn(e, t) {
201
+ e && e.i && (ln.delete(e), e.i(t));
202
202
  }
203
- function Oe(e) {
203
+ function Ie(e) {
204
204
  return e?.length !== void 0 ? e : Array.from(e);
205
205
  }
206
- function fn(e, t, r) {
206
+ function cn(e, t, r) {
207
207
  const { fragment: n, after_update: i } = e.$$;
208
- n && n.m(t, r), Ge(() => {
209
- const o = e.$$.on_mount.map(lr).filter(Tt);
208
+ n && n.m(t, r), Ve(() => {
209
+ const o = e.$$.on_mount.map(ur).filter(Tt);
210
210
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ce(o), e.$$.on_mount = [];
211
- }), i.forEach(Ge);
211
+ }), i.forEach(Ve);
212
212
  }
213
- function pn(e, t) {
213
+ function fn(e, t) {
214
214
  const r = e.$$;
215
- r.fragment !== null && (ln(r.after_update), ce(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
215
+ r.fragment !== null && (un(r.after_update), ce(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
216
216
  }
217
- function mn(e, t) {
218
- e.$$.dirty[0] === -1 && (oe.push(e), an(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
217
+ function pn(e, t) {
218
+ e.$$.dirty[0] === -1 && (oe.push(e), sn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
219
219
  }
220
- function dn(e, t, r, n, i, o, s = null, a = [-1]) {
221
- const l = ve;
222
- ye(e);
220
+ function mn(e, t, r, n, i, o, s = null, a = [-1]) {
221
+ const l = Ee;
222
+ _e(e);
223
223
  const u = e.$$ = {
224
224
  fragment: null,
225
225
  ctx: [],
@@ -245,19 +245,19 @@ function dn(e, t, r, n, i, o, s = null, a = [-1]) {
245
245
  let h = !1;
246
246
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...g) => {
247
247
  const d = g.length ? g[0] : c;
248
- return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), h && mn(e, f)), c;
248
+ return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), h && pn(e, f)), c;
249
249
  }) : [], u.update(), h = !0, ce(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
250
250
  if (t.hydrate) {
251
- const f = Kr(t.target);
251
+ const f = qr(t.target);
252
252
  u.fragment && u.fragment.l(f), f.forEach(D);
253
253
  } else
254
254
  u.fragment && u.fragment.c();
255
- t.intro && cn(e.$$.fragment), fn(e, t.target, t.anchor), N();
255
+ t.intro && hn(e.$$.fragment), cn(e, t.target, t.anchor), N();
256
256
  }
257
- ye(l);
257
+ _e(l);
258
258
  }
259
- let fr;
260
- typeof HTMLElement == "function" && (fr = class extends HTMLElement {
259
+ let cr;
260
+ typeof HTMLElement == "function" && (cr = class extends HTMLElement {
261
261
  /** The Svelte component constructor */
262
262
  $$ctor;
263
263
  /** Slots */
@@ -316,12 +316,12 @@ typeof HTMLElement == "function" && (fr = class extends HTMLElement {
316
316
  };
317
317
  if (await Promise.resolve(), !this.$$cn || this.$$c)
318
318
  return;
319
- const t = {}, r = rn(this);
319
+ const t = {}, r = tn(this);
320
320
  for (const i of this.$$s)
321
321
  i in r && (t[i] = [e(i)]);
322
322
  for (const i of this.attributes) {
323
323
  const o = this.$$g_p(i.name);
324
- o in this.$$d || (this.$$d[o] = Re(o, i.value, this.$$p_d, "toProp"));
324
+ o in this.$$d || (this.$$d[o] = $e(o, i.value, this.$$p_d, "toProp"));
325
325
  }
326
326
  for (const i in this.$$p_d)
327
327
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -339,7 +339,7 @@ typeof HTMLElement == "function" && (fr = class extends HTMLElement {
339
339
  this.$$r = !0;
340
340
  for (const i in this.$$p_d)
341
341
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
342
- const o = Re(
342
+ const o = $e(
343
343
  i,
344
344
  this.$$d[i],
345
345
  this.$$p_d,
@@ -361,7 +361,7 @@ typeof HTMLElement == "function" && (fr = class extends HTMLElement {
361
361
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
362
362
  // and setting attributes through setAttribute etc, this is helpful
363
363
  attributeChangedCallback(e, t, r) {
364
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Re(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
364
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = $e(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
365
365
  }
366
366
  disconnectedCallback() {
367
367
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -374,7 +374,7 @@ typeof HTMLElement == "function" && (fr = class extends HTMLElement {
374
374
  ) || e;
375
375
  }
376
376
  });
377
- function Re(e, t, r, n) {
377
+ function $e(e, t, r, n) {
378
378
  const i = r[e]?.type;
379
379
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
380
380
  return t;
@@ -403,8 +403,8 @@ function Re(e, t, r, n) {
403
403
  return t;
404
404
  }
405
405
  }
406
- function bn(e, t, r, n, i, o) {
407
- let s = class extends fr {
406
+ function dn(e, t, r, n, i, o) {
407
+ let s = class extends cr {
408
408
  constructor() {
409
409
  super(e, r, i), this.$$p_d = t;
410
410
  }
@@ -420,7 +420,7 @@ function bn(e, t, r, n, i, o) {
420
420
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
421
421
  },
422
422
  set(l) {
423
- l = Re(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
423
+ l = $e(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
424
424
  }
425
425
  });
426
426
  }), n.forEach((a) => {
@@ -432,7 +432,7 @@ function bn(e, t, r, n, i, o) {
432
432
  }), e.element = /** @type {any} */
433
433
  s, s;
434
434
  }
435
- class gn {
435
+ class bn {
436
436
  /**
437
437
  * ### PRIVATE API
438
438
  *
@@ -451,7 +451,7 @@ class gn {
451
451
  $$set = void 0;
452
452
  /** @returns {void} */
453
453
  $destroy() {
454
- pn(this, 1), this.$destroy = L;
454
+ fn(this, 1), this.$destroy = L;
455
455
  }
456
456
  /**
457
457
  * @template {Extract<keyof Events, string>} K
@@ -473,22 +473,22 @@ class gn {
473
473
  * @returns {void}
474
474
  */
475
475
  $set(t) {
476
- this.$$set && !Zr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
476
+ this.$$set && !zr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
477
477
  }
478
478
  }
479
- const yn = "4";
480
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(yn);
479
+ const gn = "4";
480
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(gn);
481
481
  const ie = [];
482
- function vn(e, t) {
482
+ function yn(e, t) {
483
483
  return {
484
- subscribe: We(e, t).subscribe
484
+ subscribe: Qe(e, t).subscribe
485
485
  };
486
486
  }
487
- function We(e, t = L) {
487
+ function Qe(e, t = L) {
488
488
  let r;
489
489
  const n = /* @__PURE__ */ new Set();
490
490
  function i(a) {
491
- if (hr(e, a) && (e = a, r)) {
491
+ if (lr(e, a) && (e = a, r)) {
492
492
  const l = !ie.length;
493
493
  for (const u of n)
494
494
  u[1](), ie.push(u, e);
@@ -515,7 +515,7 @@ function fe(e, t, r) {
515
515
  if (!i.every(Boolean))
516
516
  throw new Error("derived() expects stores as input, got a falsy value");
517
517
  const o = t.length < 2;
518
- return vn(r, (s, a) => {
518
+ return yn(r, (s, a) => {
519
519
  let l = !1;
520
520
  const u = [];
521
521
  let h = 0, f = L;
@@ -526,7 +526,7 @@ function fe(e, t, r) {
526
526
  const d = t(n ? u[0] : u, s, a);
527
527
  o ? s(d) : f = Tt(d) ? d : L;
528
528
  }, g = i.map(
529
- (d, m) => cr(
529
+ (d, m) => hr(
530
530
  d,
531
531
  (_) => {
532
532
  u[m] = _, h &= ~(1 << m), l && c();
@@ -541,70 +541,70 @@ function fe(e, t, r) {
541
541
  };
542
542
  });
543
543
  }
544
- function _n(e) {
544
+ function vn(e) {
545
545
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
546
546
  }
547
- var En = function(t) {
548
- return xn(t) && !wn(t);
547
+ var _n = function(t) {
548
+ return En(t) && !xn(t);
549
549
  };
550
- function xn(e) {
550
+ function En(e) {
551
551
  return !!e && typeof e == "object";
552
552
  }
553
- function wn(e) {
553
+ function xn(e) {
554
554
  var t = Object.prototype.toString.call(e);
555
- return t === "[object RegExp]" || t === "[object Date]" || Hn(e);
555
+ return t === "[object RegExp]" || t === "[object Date]" || Tn(e);
556
556
  }
557
- var Sn = typeof Symbol == "function" && Symbol.for, Tn = Sn ? Symbol.for("react.element") : 60103;
558
- function Hn(e) {
559
- return e.$$typeof === Tn;
557
+ var wn = typeof Symbol == "function" && Symbol.for, Sn = wn ? Symbol.for("react.element") : 60103;
558
+ function Tn(e) {
559
+ return e.$$typeof === Sn;
560
560
  }
561
561
  function Cn(e) {
562
562
  return Array.isArray(e) ? [] : {};
563
563
  }
564
- function _e(e, t) {
564
+ function xe(e, t) {
565
565
  return t.clone !== !1 && t.isMergeableObject(e) ? ae(Cn(e), e, t) : e;
566
566
  }
567
- function An(e, t, r) {
567
+ function Hn(e, t, r) {
568
568
  return e.concat(t).map(function(n) {
569
- return _e(n, r);
569
+ return xe(n, r);
570
570
  });
571
571
  }
572
- function Pn(e, t) {
572
+ function An(e, t) {
573
573
  if (!t.customMerge)
574
574
  return ae;
575
575
  var r = t.customMerge(e);
576
576
  return typeof r == "function" ? r : ae;
577
577
  }
578
- function Mn(e) {
578
+ function Pn(e) {
579
579
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
580
580
  return Object.propertyIsEnumerable.call(e, t);
581
581
  }) : [];
582
582
  }
583
583
  function It(e) {
584
- return Object.keys(e).concat(Mn(e));
584
+ return Object.keys(e).concat(Pn(e));
585
585
  }
586
- function pr(e, t) {
586
+ function fr(e, t) {
587
587
  try {
588
588
  return t in e;
589
589
  } catch {
590
590
  return !1;
591
591
  }
592
592
  }
593
- function On(e, t) {
594
- return pr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
593
+ function Mn(e, t) {
594
+ return fr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
595
595
  }
596
- function Bn(e, t, r) {
596
+ function On(e, t, r) {
597
597
  var n = {};
598
598
  return r.isMergeableObject(e) && It(e).forEach(function(i) {
599
- n[i] = _e(e[i], r);
599
+ n[i] = xe(e[i], r);
600
600
  }), It(t).forEach(function(i) {
601
- On(e, i) || (pr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Pn(i, r)(e[i], t[i], r) : n[i] = _e(t[i], r));
601
+ Mn(e, i) || (fr(e, i) && r.isMergeableObject(t[i]) ? n[i] = An(i, r)(e[i], t[i], r) : n[i] = xe(t[i], r));
602
602
  }), n;
603
603
  }
604
604
  function ae(e, t, r) {
605
- r = r || {}, r.arrayMerge = r.arrayMerge || An, r.isMergeableObject = r.isMergeableObject || En, r.cloneUnlessOtherwiseSpecified = _e;
605
+ r = r || {}, r.arrayMerge = r.arrayMerge || Hn, r.isMergeableObject = r.isMergeableObject || _n, r.cloneUnlessOtherwiseSpecified = xe;
606
606
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
607
- return o ? n ? r.arrayMerge(e, t, r) : Bn(e, t, r) : _e(t, r);
607
+ return o ? n ? r.arrayMerge(e, t, r) : On(e, t, r) : xe(t, r);
608
608
  }
609
609
  ae.all = function(t, r) {
610
610
  if (!Array.isArray(t))
@@ -613,20 +613,20 @@ ae.all = function(t, r) {
613
613
  return ae(n, i, r);
614
614
  }, {});
615
615
  };
616
- var In = ae, Ln = In;
617
- const Nn = /* @__PURE__ */ _n(Ln);
618
- var ut = function(e, t) {
619
- return ut = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
616
+ var Bn = ae, In = Bn;
617
+ const Ln = /* @__PURE__ */ vn(In);
618
+ var ct = function(e, t) {
619
+ return ct = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
620
620
  r.__proto__ = n;
621
621
  } || function(r, n) {
622
622
  for (var i in n)
623
623
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
624
- }, ut(e, t);
624
+ }, ct(e, t);
625
625
  };
626
- function ze(e, t) {
626
+ function Je(e, t) {
627
627
  if (typeof t != "function" && t !== null)
628
628
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
629
- ut(e, t);
629
+ ct(e, t);
630
630
  function r() {
631
631
  this.constructor = e;
632
632
  }
@@ -642,7 +642,7 @@ var G = function() {
642
642
  return t;
643
643
  }, G.apply(this, arguments);
644
644
  };
645
- function Rn(e, t) {
645
+ function Nn(e, t) {
646
646
  var r = {};
647
647
  for (var n in e)
648
648
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -651,43 +651,43 @@ function Rn(e, t) {
651
651
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
652
652
  return r;
653
653
  }
654
- function et(e, t, r) {
654
+ function nt(e, t, r) {
655
655
  if (r || arguments.length === 2)
656
656
  for (var n = 0, i = t.length, o; n < i; n++)
657
657
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
658
658
  return e.concat(o || Array.prototype.slice.call(t));
659
659
  }
660
- function tt(e, t) {
661
- var r = t && t.cache ? t.cache : kn, n = t && t.serializer ? t.serializer : Gn, i = t && t.strategy ? t.strategy : Un;
660
+ function it(e, t) {
661
+ var r = t && t.cache ? t.cache : jn, n = t && t.serializer ? t.serializer : Fn, i = t && t.strategy ? t.strategy : $n;
662
662
  return i(e, {
663
663
  cache: r,
664
664
  serializer: n
665
665
  });
666
666
  }
667
- function Dn(e) {
667
+ function Rn(e) {
668
668
  return e == null || typeof e == "number" || typeof e == "boolean";
669
669
  }
670
- function $n(e, t, r, n) {
671
- var i = Dn(n) ? n : r(n), o = t.get(i);
670
+ function Dn(e, t, r, n) {
671
+ var i = Rn(n) ? n : r(n), o = t.get(i);
672
672
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
673
673
  }
674
- function mr(e, t, r) {
674
+ function pr(e, t, r) {
675
675
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
676
676
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
677
677
  }
678
- function dr(e, t, r, n, i) {
678
+ function mr(e, t, r, n, i) {
679
679
  return r.bind(t, e, n, i);
680
680
  }
681
- function Un(e, t) {
682
- var r = e.length === 1 ? $n : mr;
683
- return dr(e, this, r, t.cache.create(), t.serializer);
681
+ function $n(e, t) {
682
+ var r = e.length === 1 ? Dn : pr;
683
+ return mr(e, this, r, t.cache.create(), t.serializer);
684
684
  }
685
- function Fn(e, t) {
686
- return dr(e, this, mr, t.cache.create(), t.serializer);
685
+ function Un(e, t) {
686
+ return mr(e, this, pr, t.cache.create(), t.serializer);
687
687
  }
688
- var Gn = function() {
688
+ var Fn = function() {
689
689
  return JSON.stringify(arguments);
690
- }, jn = (
690
+ }, Gn = (
691
691
  /** @class */
692
692
  function() {
693
693
  function e() {
@@ -699,69 +699,69 @@ var Gn = function() {
699
699
  this.cache[t] = r;
700
700
  }, e;
701
701
  }()
702
- ), kn = {
702
+ ), jn = {
703
703
  create: function() {
704
- return new jn();
704
+ return new Gn();
705
705
  }
706
- }, rt = {
707
- variadic: Fn
708
- }, je = function() {
709
- return je = Object.assign || function(t) {
706
+ }, ot = {
707
+ variadic: Un
708
+ }, We = function() {
709
+ return We = Object.assign || function(t) {
710
710
  for (var r, n = 1, i = arguments.length; n < i; n++) {
711
711
  r = arguments[n];
712
712
  for (var o in r)
713
713
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
714
714
  }
715
715
  return t;
716
- }, je.apply(this, arguments);
716
+ }, We.apply(this, arguments);
717
717
  };
718
718
  var x;
719
719
  (function(e) {
720
720
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
721
721
  })(x || (x = {}));
722
- var C;
722
+ var H;
723
723
  (function(e) {
724
724
  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";
725
- })(C || (C = {}));
725
+ })(H || (H = {}));
726
726
  var ue;
727
727
  (function(e) {
728
728
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
729
729
  })(ue || (ue = {}));
730
730
  function Lt(e) {
731
- return e.type === C.literal;
731
+ return e.type === H.literal;
732
732
  }
733
- function Vn(e) {
734
- return e.type === C.argument;
733
+ function kn(e) {
734
+ return e.type === H.argument;
735
+ }
736
+ function dr(e) {
737
+ return e.type === H.number;
735
738
  }
736
739
  function br(e) {
737
- return e.type === C.number;
740
+ return e.type === H.date;
738
741
  }
739
742
  function gr(e) {
740
- return e.type === C.date;
743
+ return e.type === H.time;
741
744
  }
742
745
  function yr(e) {
743
- return e.type === C.time;
746
+ return e.type === H.select;
744
747
  }
745
748
  function vr(e) {
746
- return e.type === C.select;
749
+ return e.type === H.plural;
747
750
  }
748
- function _r(e) {
749
- return e.type === C.plural;
751
+ function Vn(e) {
752
+ return e.type === H.pound;
750
753
  }
751
- function Xn(e) {
752
- return e.type === C.pound;
754
+ function _r(e) {
755
+ return e.type === H.tag;
753
756
  }
754
757
  function Er(e) {
755
- return e.type === C.tag;
756
- }
757
- function xr(e) {
758
758
  return !!(e && typeof e == "object" && e.type === ue.number);
759
759
  }
760
- function lt(e) {
760
+ function ft(e) {
761
761
  return !!(e && typeof e == "object" && e.type === ue.dateTime);
762
762
  }
763
- var wr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Wn = /(?:[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;
764
- function zn(e) {
763
+ var xr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Wn = /(?:[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;
764
+ function Xn(e) {
765
765
  var t = {};
766
766
  return e.replace(Wn, function(r) {
767
767
  var n = r.length;
@@ -862,11 +862,11 @@ var M = function() {
862
862
  return t;
863
863
  }, M.apply(this, arguments);
864
864
  };
865
- var Zn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
866
- function Qn(e) {
865
+ var zn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
866
+ function Zn(e) {
867
867
  if (e.length === 0)
868
868
  throw new Error("Number skeleton cannot be empty");
869
- for (var t = e.split(Zn).filter(function(c) {
869
+ for (var t = e.split(zn).filter(function(c) {
870
870
  return c.length > 0;
871
871
  }), r = [], n = 0, i = t; n < i.length; n++) {
872
872
  var o = i[n], s = o.split("/");
@@ -881,17 +881,17 @@ function Qn(e) {
881
881
  }
882
882
  return r;
883
883
  }
884
- function Jn(e) {
884
+ function Qn(e) {
885
885
  return e.replace(/^(.*?)-/, "");
886
886
  }
887
- var Nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Sr = /^(@+)?(\+|#+)?[rs]?$/g, Yn = /(\*)(0+)|(#+)(0+)|(0+)/g, Tr = /^(0+)$/;
887
+ var Nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, wr = /^(@+)?(\+|#+)?[rs]?$/g, Jn = /(\*)(0+)|(#+)(0+)|(0+)/g, Sr = /^(0+)$/;
888
888
  function Rt(e) {
889
889
  var t = {};
890
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Sr, function(r, n, i) {
890
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(wr, function(r, n, i) {
891
891
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
892
892
  }), t;
893
893
  }
894
- function Hr(e) {
894
+ function Tr(e) {
895
895
  switch (e) {
896
896
  case "sign-auto":
897
897
  return {
@@ -931,7 +931,7 @@ function Hr(e) {
931
931
  };
932
932
  }
933
933
  }
934
- function qn(e) {
934
+ function Yn(e) {
935
935
  var t;
936
936
  if (e[0] === "E" && e[1] === "E" ? (t = {
937
937
  notation: "engineering"
@@ -939,17 +939,17 @@ function qn(e) {
939
939
  notation: "scientific"
940
940
  }, e = e.slice(1)), t) {
941
941
  var r = e.slice(0, 2);
942
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Tr.test(e))
942
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Sr.test(e))
943
943
  throw new Error("Malformed concise eng/scientific notation");
944
944
  t.minimumIntegerDigits = e.length;
945
945
  }
946
946
  return t;
947
947
  }
948
948
  function Dt(e) {
949
- var t = {}, r = Hr(e);
949
+ var t = {}, r = Tr(e);
950
950
  return r || t;
951
951
  }
952
- function Kn(e) {
952
+ function qn(e) {
953
953
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
954
954
  var i = n[r];
955
955
  switch (i.stem) {
@@ -973,7 +973,7 @@ function Kn(e) {
973
973
  continue;
974
974
  case "measure-unit":
975
975
  case "unit":
976
- t.style = "unit", t.unit = Jn(i.options[0]);
976
+ t.style = "unit", t.unit = Qn(i.options[0]);
977
977
  continue;
978
978
  case "compact-short":
979
979
  case "K":
@@ -1035,7 +1035,7 @@ function Kn(e) {
1035
1035
  case "integer-width":
1036
1036
  if (i.options.length > 1)
1037
1037
  throw new RangeError("integer-width stems only accept a single optional option");
1038
- i.options[0].replace(Yn, function(l, u, h, f, c, g) {
1038
+ i.options[0].replace(Jn, function(l, u, h, f, c, g) {
1039
1039
  if (u)
1040
1040
  t.minimumIntegerDigits = h.length;
1041
1041
  else {
@@ -1048,7 +1048,7 @@ function Kn(e) {
1048
1048
  });
1049
1049
  continue;
1050
1050
  }
1051
- if (Tr.test(i.stem)) {
1051
+ if (Sr.test(i.stem)) {
1052
1052
  t.minimumIntegerDigits = i.stem.length;
1053
1053
  continue;
1054
1054
  }
@@ -1062,18 +1062,18 @@ function Kn(e) {
1062
1062
  o === "w" ? t = M(M({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = M(M({}, t), Rt(o)));
1063
1063
  continue;
1064
1064
  }
1065
- if (Sr.test(i.stem)) {
1065
+ if (wr.test(i.stem)) {
1066
1066
  t = M(M({}, t), Rt(i.stem));
1067
1067
  continue;
1068
1068
  }
1069
- var s = Hr(i.stem);
1069
+ var s = Tr(i.stem);
1070
1070
  s && (t = M(M({}, t), s));
1071
- var a = qn(i.stem);
1071
+ var a = Yn(i.stem);
1072
1072
  a && (t = M(M({}, t), a));
1073
1073
  }
1074
1074
  return t;
1075
1075
  }
1076
- var Be = {
1076
+ var Le = {
1077
1077
  "001": [
1078
1078
  "H",
1079
1079
  "h"
@@ -2488,13 +2488,13 @@ var Be = {
2488
2488
  "h"
2489
2489
  ]
2490
2490
  };
2491
- function ei(e, t) {
2491
+ function Kn(e, t) {
2492
2492
  for (var r = "", n = 0; n < e.length; n++) {
2493
2493
  var i = e.charAt(n);
2494
2494
  if (i === "j") {
2495
2495
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2496
2496
  o++, n++;
2497
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = ti(t);
2497
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = ei(t);
2498
2498
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2499
2499
  r += l;
2500
2500
  for (; s-- > 0; )
@@ -2504,7 +2504,7 @@ function ei(e, t) {
2504
2504
  }
2505
2505
  return r;
2506
2506
  }
2507
- function ti(e) {
2507
+ function ei(e) {
2508
2508
  var t = e.hourCycle;
2509
2509
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2510
2510
  e.hourCycles && // @ts-ignore
@@ -2523,23 +2523,23 @@ function ti(e) {
2523
2523
  }
2524
2524
  var r = e.language, n;
2525
2525
  r !== "root" && (n = e.maximize().region);
2526
- var i = Be[n || ""] || Be[r || ""] || Be["".concat(r, "-001")] || Be["001"];
2526
+ var i = Le[n || ""] || Le[r || ""] || Le["".concat(r, "-001")] || Le["001"];
2527
2527
  return i[0];
2528
2528
  }
2529
- var nt, ri = new RegExp("^".concat(wr.source, "*")), ni = new RegExp("".concat(wr.source, "*$"));
2529
+ var st, ti = new RegExp("^".concat(xr.source, "*")), ri = new RegExp("".concat(xr.source, "*$"));
2530
2530
  function w(e, t) {
2531
2531
  return { start: e, end: t };
2532
2532
  }
2533
- var ii = !!String.prototype.startsWith && "_a".startsWith("a", 1), oi = !!String.fromCodePoint, si = !!Object.fromEntries, ai = !!String.prototype.codePointAt, ui = !!String.prototype.trimStart, li = !!String.prototype.trimEnd, hi = !!Number.isSafeInteger, ci = hi ? Number.isSafeInteger : function(e) {
2533
+ var ni = !!String.prototype.startsWith && "_a".startsWith("a", 1), ii = !!String.fromCodePoint, oi = !!Object.fromEntries, si = !!String.prototype.codePointAt, ai = !!String.prototype.trimStart, ui = !!String.prototype.trimEnd, li = !!Number.isSafeInteger, hi = li ? Number.isSafeInteger : function(e) {
2534
2534
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2535
- }, ht = !0;
2535
+ }, pt = !0;
2536
2536
  try {
2537
- var fi = Ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2538
- ht = ((nt = fi.exec("a")) === null || nt === void 0 ? void 0 : nt[0]) === "a";
2537
+ var ci = Hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2538
+ pt = ((st = ci.exec("a")) === null || st === void 0 ? void 0 : st[0]) === "a";
2539
2539
  } catch {
2540
- ht = !1;
2540
+ pt = !1;
2541
2541
  }
2542
- var $t = ii ? (
2542
+ var $t = ni ? (
2543
2543
  // Native
2544
2544
  function(t, r, n) {
2545
2545
  return t.startsWith(r, n);
@@ -2549,7 +2549,7 @@ var $t = ii ? (
2549
2549
  function(t, r, n) {
2550
2550
  return t.slice(n, n + r.length) === r;
2551
2551
  }
2552
- ), ct = oi ? String.fromCodePoint : (
2552
+ ), mt = ii ? String.fromCodePoint : (
2553
2553
  // IE11
2554
2554
  function() {
2555
2555
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2563,7 +2563,7 @@ var $t = ii ? (
2563
2563
  }
2564
2564
  ), Ut = (
2565
2565
  // native
2566
- si ? Object.fromEntries : (
2566
+ oi ? Object.fromEntries : (
2567
2567
  // Ponyfill
2568
2568
  function(t) {
2569
2569
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2573,7 +2573,7 @@ var $t = ii ? (
2573
2573
  return r;
2574
2574
  }
2575
2575
  )
2576
- ), Cr = ai ? (
2576
+ ), Cr = si ? (
2577
2577
  // Native
2578
2578
  function(t, r) {
2579
2579
  return t.codePointAt(r);
@@ -2587,7 +2587,7 @@ var $t = ii ? (
2587
2587
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2588
2588
  }
2589
2589
  }
2590
- ), pi = ui ? (
2590
+ ), fi = ai ? (
2591
2591
  // Native
2592
2592
  function(t) {
2593
2593
  return t.trimStart();
@@ -2595,9 +2595,9 @@ var $t = ii ? (
2595
2595
  ) : (
2596
2596
  // Ponyfill
2597
2597
  function(t) {
2598
- return t.replace(ri, "");
2598
+ return t.replace(ti, "");
2599
2599
  }
2600
- ), mi = li ? (
2600
+ ), pi = ui ? (
2601
2601
  // Native
2602
2602
  function(t) {
2603
2603
  return t.trimEnd();
@@ -2605,32 +2605,32 @@ var $t = ii ? (
2605
2605
  ) : (
2606
2606
  // Ponyfill
2607
2607
  function(t) {
2608
- return t.replace(ni, "");
2608
+ return t.replace(ri, "");
2609
2609
  }
2610
2610
  );
2611
- function Ar(e, t) {
2611
+ function Hr(e, t) {
2612
2612
  return new RegExp(e, t);
2613
2613
  }
2614
- var ft;
2615
- if (ht) {
2616
- var Ft = Ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2617
- ft = function(t, r) {
2614
+ var dt;
2615
+ if (pt) {
2616
+ var Ft = Hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2617
+ dt = function(t, r) {
2618
2618
  var n;
2619
2619
  Ft.lastIndex = r;
2620
2620
  var i = Ft.exec(t);
2621
2621
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2622
2622
  };
2623
2623
  } else
2624
- ft = function(t, r) {
2624
+ dt = function(t, r) {
2625
2625
  for (var n = []; ; ) {
2626
2626
  var i = Cr(t, r);
2627
- if (i === void 0 || Pr(i) || yi(i))
2627
+ if (i === void 0 || Ar(i) || gi(i))
2628
2628
  break;
2629
2629
  n.push(i), r += i >= 65536 ? 2 : 1;
2630
2630
  }
2631
- return ct.apply(void 0, n);
2631
+ return mt.apply(void 0, n);
2632
2632
  };
2633
- var di = (
2633
+ var mi = (
2634
2634
  /** @class */
2635
2635
  function() {
2636
2636
  function e(t, r) {
@@ -2654,14 +2654,14 @@ var di = (
2654
2654
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2655
2655
  var a = this.clonePosition();
2656
2656
  this.bump(), i.push({
2657
- type: C.pound,
2657
+ type: H.pound,
2658
2658
  location: w(a, this.clonePosition())
2659
2659
  });
2660
2660
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2661
2661
  if (n)
2662
2662
  break;
2663
2663
  return this.error(x.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
2664
- } else if (o === 60 && !this.ignoreTag && pt(this.peek() || 0)) {
2664
+ } else if (o === 60 && !this.ignoreTag && bt(this.peek() || 0)) {
2665
2665
  var s = this.parseTag(t, r);
2666
2666
  if (s.err)
2667
2667
  return s;
@@ -2682,7 +2682,7 @@ var di = (
2682
2682
  if (this.bumpSpace(), this.bumpIf("/>"))
2683
2683
  return {
2684
2684
  val: {
2685
- type: C.literal,
2685
+ type: H.literal,
2686
2686
  value: "<".concat(i, "/>"),
2687
2687
  location: w(n, this.clonePosition())
2688
2688
  },
@@ -2694,12 +2694,12 @@ var di = (
2694
2694
  return o;
2695
2695
  var s = o.val, a = this.clonePosition();
2696
2696
  if (this.bumpIf("</")) {
2697
- if (this.isEOF() || !pt(this.char()))
2697
+ if (this.isEOF() || !bt(this.char()))
2698
2698
  return this.error(x.INVALID_TAG, w(a, this.clonePosition()));
2699
2699
  var l = this.clonePosition(), u = this.parseTagName();
2700
2700
  return i !== u ? this.error(x.UNMATCHED_CLOSING_TAG, w(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2701
2701
  val: {
2702
- type: C.tag,
2702
+ type: H.tag,
2703
2703
  value: i,
2704
2704
  children: s,
2705
2705
  location: w(n, this.clonePosition())
@@ -2712,7 +2712,7 @@ var di = (
2712
2712
  return this.error(x.INVALID_TAG, w(n, this.clonePosition()));
2713
2713
  }, e.prototype.parseTagName = function() {
2714
2714
  var t = this.offset();
2715
- for (this.bump(); !this.isEOF() && gi(this.char()); )
2715
+ for (this.bump(); !this.isEOF() && bi(this.char()); )
2716
2716
  this.bump();
2717
2717
  return this.message.slice(t, this.offset());
2718
2718
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2736,12 +2736,12 @@ var di = (
2736
2736
  }
2737
2737
  var l = w(n, this.clonePosition());
2738
2738
  return {
2739
- val: { type: C.literal, value: i, location: l },
2739
+ val: { type: H.literal, value: i, location: l },
2740
2740
  err: null
2741
2741
  };
2742
2742
  }, e.prototype.tryParseLeftAngleBracket = function() {
2743
2743
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2744
- !bi(this.peek() || 0)) ? (this.bump(), "<") : null;
2744
+ !di(this.peek() || 0)) ? (this.bump(), "<") : null;
2745
2745
  }, e.prototype.tryParseQuote = function(t) {
2746
2746
  if (this.isEOF() || this.char() !== 39)
2747
2747
  return null;
@@ -2775,12 +2775,12 @@ var di = (
2775
2775
  r.push(n);
2776
2776
  this.bump();
2777
2777
  }
2778
- return ct.apply(void 0, r);
2778
+ return mt.apply(void 0, r);
2779
2779
  }, e.prototype.tryParseUnquoted = function(t, r) {
2780
2780
  if (this.isEOF())
2781
2781
  return null;
2782
2782
  var n = this.char();
2783
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ct(n));
2783
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), mt(n));
2784
2784
  }, e.prototype.parseArgument = function(t, r) {
2785
2785
  var n = this.clonePosition();
2786
2786
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2796,7 +2796,7 @@ var di = (
2796
2796
  case 125:
2797
2797
  return this.bump(), {
2798
2798
  val: {
2799
- type: C.argument,
2799
+ type: H.argument,
2800
2800
  // value does not include the opening and closing braces.
2801
2801
  value: i,
2802
2802
  location: w(n, this.clonePosition())
@@ -2809,7 +2809,7 @@ var di = (
2809
2809
  return this.error(x.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
2810
2810
  }
2811
2811
  }, e.prototype.parseIdentifierIfPossible = function() {
2812
- var t = this.clonePosition(), r = this.offset(), n = ft(this.message, r), i = r + n.length;
2812
+ var t = this.clonePosition(), r = this.offset(), n = dt(this.message, r), i = r + n.length;
2813
2813
  this.bumpTo(i);
2814
2814
  var o = this.clonePosition(), s = w(t, o);
2815
2815
  return { value: n, location: s };
@@ -2828,7 +2828,7 @@ var di = (
2828
2828
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2829
2829
  if (f.err)
2830
2830
  return f;
2831
- var c = mi(f.val);
2831
+ var c = pi(f.val);
2832
2832
  if (c.length === 0)
2833
2833
  return this.error(x.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
2834
2834
  var g = w(h, this.clonePosition());
@@ -2839,24 +2839,24 @@ var di = (
2839
2839
  return d;
2840
2840
  var m = w(i, this.clonePosition());
2841
2841
  if (u && $t(u?.style, "::", 0)) {
2842
- var _ = pi(u.style.slice(2));
2842
+ var _ = fi(u.style.slice(2));
2843
2843
  if (a === "number") {
2844
2844
  var f = this.parseNumberSkeletonFromString(_, u.styleLocation);
2845
2845
  return f.err ? f : {
2846
- val: { type: C.number, value: n, location: m, style: f.val },
2846
+ val: { type: H.number, value: n, location: m, style: f.val },
2847
2847
  err: null
2848
2848
  };
2849
2849
  } else {
2850
2850
  if (_.length === 0)
2851
2851
  return this.error(x.EXPECT_DATE_TIME_SKELETON, m);
2852
2852
  var E = _;
2853
- this.locale && (E = ei(_, this.locale));
2853
+ this.locale && (E = Kn(_, this.locale));
2854
2854
  var c = {
2855
2855
  type: ue.dateTime,
2856
2856
  pattern: E,
2857
2857
  location: u.styleLocation,
2858
- parsedOptions: this.shouldParseSkeletons ? zn(E) : {}
2859
- }, p = a === "date" ? C.date : C.time;
2858
+ parsedOptions: this.shouldParseSkeletons ? Xn(E) : {}
2859
+ }, p = a === "date" ? H.date : H.time;
2860
2860
  return {
2861
2861
  val: { type: p, value: n, location: m, style: c },
2862
2862
  err: null
@@ -2865,7 +2865,7 @@ var di = (
2865
2865
  }
2866
2866
  return {
2867
2867
  val: {
2868
- type: a === "number" ? C.number : a === "date" ? C.date : C.time,
2868
+ type: a === "number" ? H.number : a === "date" ? H.date : H.time,
2869
2869
  value: n,
2870
2870
  location: m,
2871
2871
  style: (o = u?.style) !== null && o !== void 0 ? o : null
@@ -2878,7 +2878,7 @@ var di = (
2878
2878
  case "select": {
2879
2879
  var S = this.clonePosition();
2880
2880
  if (this.bumpSpace(), !this.bumpIf(","))
2881
- return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, w(S, je({}, S)));
2881
+ return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, w(S, We({}, S)));
2882
2882
  this.bumpSpace();
2883
2883
  var y = this.parseIdentifierIfPossible(), A = 0;
2884
2884
  if (a !== "select" && y.value === "offset") {
@@ -2890,26 +2890,26 @@ var di = (
2890
2890
  return f;
2891
2891
  this.bumpSpace(), y = this.parseIdentifierIfPossible(), A = f.val;
2892
2892
  }
2893
- var H = this.tryParsePluralOrSelectOptions(t, a, r, y);
2894
- if (H.err)
2895
- return H;
2893
+ var C = this.tryParsePluralOrSelectOptions(t, a, r, y);
2894
+ if (C.err)
2895
+ return C;
2896
2896
  var d = this.tryParseArgumentClose(i);
2897
2897
  if (d.err)
2898
2898
  return d;
2899
2899
  var $ = w(i, this.clonePosition());
2900
2900
  return a === "select" ? {
2901
2901
  val: {
2902
- type: C.select,
2902
+ type: H.select,
2903
2903
  value: n,
2904
- options: Ut(H.val),
2904
+ options: Ut(C.val),
2905
2905
  location: $
2906
2906
  },
2907
2907
  err: null
2908
2908
  } : {
2909
2909
  val: {
2910
- type: C.plural,
2910
+ type: H.plural,
2911
2911
  value: n,
2912
- options: Ut(H.val),
2912
+ options: Ut(C.val),
2913
2913
  offset: A,
2914
2914
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2915
2915
  location: $
@@ -2960,7 +2960,7 @@ var di = (
2960
2960
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2961
2961
  var n = [];
2962
2962
  try {
2963
- n = Qn(t);
2963
+ n = Zn(t);
2964
2964
  } catch {
2965
2965
  return this.error(x.INVALID_NUMBER_SKELETON, r);
2966
2966
  }
@@ -2969,7 +2969,7 @@ var di = (
2969
2969
  type: ue.number,
2970
2970
  tokens: n,
2971
2971
  location: r,
2972
- parsedOptions: this.shouldParseSkeletons ? Kn(n) : {}
2972
+ parsedOptions: this.shouldParseSkeletons ? qn(n) : {}
2973
2973
  },
2974
2974
  err: null
2975
2975
  };
@@ -3017,7 +3017,7 @@ var di = (
3017
3017
  break;
3018
3018
  }
3019
3019
  var l = w(i, this.clonePosition());
3020
- return o ? (s *= n, ci(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3020
+ return o ? (s *= n, hi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3021
3021
  }, e.prototype.offset = function() {
3022
3022
  return this.position.offset;
3023
3023
  }, e.prototype.isEOF = function() {
@@ -3073,7 +3073,7 @@ var di = (
3073
3073
  break;
3074
3074
  }
3075
3075
  }, e.prototype.bumpSpace = function() {
3076
- for (; !this.isEOF() && Pr(this.char()); )
3076
+ for (; !this.isEOF() && Ar(this.char()); )
3077
3077
  this.bump();
3078
3078
  }, e.prototype.peek = function() {
3079
3079
  if (this.isEOF())
@@ -3083,47 +3083,47 @@ var di = (
3083
3083
  }, e;
3084
3084
  }()
3085
3085
  );
3086
- function pt(e) {
3086
+ function bt(e) {
3087
3087
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3088
3088
  }
3089
- function bi(e) {
3090
- return pt(e) || e === 47;
3089
+ function di(e) {
3090
+ return bt(e) || e === 47;
3091
3091
  }
3092
- function gi(e) {
3092
+ function bi(e) {
3093
3093
  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;
3094
3094
  }
3095
- function Pr(e) {
3095
+ function Ar(e) {
3096
3096
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3097
3097
  }
3098
- function yi(e) {
3098
+ function gi(e) {
3099
3099
  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;
3100
3100
  }
3101
- function mt(e) {
3101
+ function gt(e) {
3102
3102
  e.forEach(function(t) {
3103
- if (delete t.location, vr(t) || _r(t))
3103
+ if (delete t.location, yr(t) || vr(t))
3104
3104
  for (var r in t.options)
3105
- delete t.options[r].location, mt(t.options[r].value);
3105
+ delete t.options[r].location, gt(t.options[r].value);
3106
3106
  else
3107
- br(t) && xr(t.style) || (gr(t) || yr(t)) && lt(t.style) ? delete t.style.location : Er(t) && mt(t.children);
3107
+ dr(t) && Er(t.style) || (br(t) || gr(t)) && ft(t.style) ? delete t.style.location : _r(t) && gt(t.children);
3108
3108
  });
3109
3109
  }
3110
- function vi(e, t) {
3111
- t === void 0 && (t = {}), t = je({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3112
- var r = new di(e, t).parse();
3110
+ function yi(e, t) {
3111
+ t === void 0 && (t = {}), t = We({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3112
+ var r = new mi(e, t).parse();
3113
3113
  if (r.err) {
3114
3114
  var n = SyntaxError(x[r.err.kind]);
3115
3115
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3116
3116
  }
3117
- return t?.captureLocation || mt(r.val), r.val;
3117
+ return t?.captureLocation || gt(r.val), r.val;
3118
3118
  }
3119
3119
  var le;
3120
3120
  (function(e) {
3121
3121
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3122
3122
  })(le || (le = {}));
3123
- var Ze = (
3123
+ var Ye = (
3124
3124
  /** @class */
3125
3125
  function(e) {
3126
- ze(t, e);
3126
+ Je(t, e);
3127
3127
  function t(r, n, i) {
3128
3128
  var o = e.call(this, r) || this;
3129
3129
  return o.code = n, o.originalMessage = i, o;
@@ -3135,44 +3135,44 @@ var Ze = (
3135
3135
  ), Gt = (
3136
3136
  /** @class */
3137
3137
  function(e) {
3138
- ze(t, e);
3138
+ Je(t, e);
3139
3139
  function t(r, n, i, o) {
3140
3140
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), le.INVALID_VALUE, o) || this;
3141
3141
  }
3142
3142
  return t;
3143
- }(Ze)
3144
- ), _i = (
3143
+ }(Ye)
3144
+ ), vi = (
3145
3145
  /** @class */
3146
3146
  function(e) {
3147
- ze(t, e);
3147
+ Je(t, e);
3148
3148
  function t(r, n, i) {
3149
3149
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), le.INVALID_VALUE, i) || this;
3150
3150
  }
3151
3151
  return t;
3152
- }(Ze)
3153
- ), Ei = (
3152
+ }(Ye)
3153
+ ), _i = (
3154
3154
  /** @class */
3155
3155
  function(e) {
3156
- ze(t, e);
3156
+ Je(t, e);
3157
3157
  function t(r, n) {
3158
3158
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), le.MISSING_VALUE, n) || this;
3159
3159
  }
3160
3160
  return t;
3161
- }(Ze)
3161
+ }(Ye)
3162
3162
  ), B;
3163
3163
  (function(e) {
3164
3164
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3165
3165
  })(B || (B = {}));
3166
- function xi(e) {
3166
+ function Ei(e) {
3167
3167
  return e.length < 2 ? e : e.reduce(function(t, r) {
3168
3168
  var n = t[t.length - 1];
3169
3169
  return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
3170
3170
  }, []);
3171
3171
  }
3172
- function wi(e) {
3172
+ function xi(e) {
3173
3173
  return typeof e == "function";
3174
3174
  }
3175
- function De(e, t, r, n, i, o, s) {
3175
+ function Ue(e, t, r, n, i, o, s) {
3176
3176
  if (e.length === 1 && Lt(e[0]))
3177
3177
  return [
3178
3178
  {
@@ -3189,7 +3189,7 @@ function De(e, t, r, n, i, o, s) {
3189
3189
  });
3190
3190
  continue;
3191
3191
  }
3192
- if (Xn(h)) {
3192
+ if (Vn(h)) {
3193
3193
  typeof o == "number" && a.push({
3194
3194
  type: B.literal,
3195
3195
  value: r.getNumberFormat(t).format(o)
@@ -3198,44 +3198,44 @@ function De(e, t, r, n, i, o, s) {
3198
3198
  }
3199
3199
  var f = h.value;
3200
3200
  if (!(i && f in i))
3201
- throw new Ei(f, s);
3201
+ throw new _i(f, s);
3202
3202
  var c = i[f];
3203
- if (Vn(h)) {
3203
+ if (kn(h)) {
3204
3204
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3205
3205
  type: typeof c == "string" ? B.literal : B.object,
3206
3206
  value: c
3207
3207
  });
3208
3208
  continue;
3209
3209
  }
3210
- if (gr(h)) {
3211
- var g = typeof h.style == "string" ? n.date[h.style] : lt(h.style) ? h.style.parsedOptions : void 0;
3210
+ if (br(h)) {
3211
+ var g = typeof h.style == "string" ? n.date[h.style] : ft(h.style) ? h.style.parsedOptions : void 0;
3212
3212
  a.push({
3213
3213
  type: B.literal,
3214
3214
  value: r.getDateTimeFormat(t, g).format(c)
3215
3215
  });
3216
3216
  continue;
3217
3217
  }
3218
- if (yr(h)) {
3219
- var g = typeof h.style == "string" ? n.time[h.style] : lt(h.style) ? h.style.parsedOptions : n.time.medium;
3218
+ if (gr(h)) {
3219
+ var g = typeof h.style == "string" ? n.time[h.style] : ft(h.style) ? h.style.parsedOptions : n.time.medium;
3220
3220
  a.push({
3221
3221
  type: B.literal,
3222
3222
  value: r.getDateTimeFormat(t, g).format(c)
3223
3223
  });
3224
3224
  continue;
3225
3225
  }
3226
- if (br(h)) {
3227
- var g = typeof h.style == "string" ? n.number[h.style] : xr(h.style) ? h.style.parsedOptions : void 0;
3226
+ if (dr(h)) {
3227
+ var g = typeof h.style == "string" ? n.number[h.style] : Er(h.style) ? h.style.parsedOptions : void 0;
3228
3228
  g && g.scale && (c = c * (g.scale || 1)), a.push({
3229
3229
  type: B.literal,
3230
3230
  value: r.getNumberFormat(t, g).format(c)
3231
3231
  });
3232
3232
  continue;
3233
3233
  }
3234
- if (Er(h)) {
3234
+ if (_r(h)) {
3235
3235
  var d = h.children, m = h.value, _ = i[m];
3236
- if (!wi(_))
3237
- throw new _i(m, "function", s);
3238
- var E = De(d, t, r, n, i, o), p = _(E.map(function(A) {
3236
+ if (!xi(_))
3237
+ throw new vi(m, "function", s);
3238
+ var E = Ue(d, t, r, n, i, o), p = _(E.map(function(A) {
3239
3239
  return A.value;
3240
3240
  }));
3241
3241
  Array.isArray(p) || (p = [p]), a.push.apply(a, p.map(function(A) {
@@ -3245,18 +3245,18 @@ function De(e, t, r, n, i, o, s) {
3245
3245
  };
3246
3246
  }));
3247
3247
  }
3248
- if (vr(h)) {
3248
+ if (yr(h)) {
3249
3249
  var S = h.options[c] || h.options.other;
3250
3250
  if (!S)
3251
3251
  throw new Gt(h.value, c, Object.keys(h.options), s);
3252
- a.push.apply(a, De(S.value, t, r, n, i));
3252
+ a.push.apply(a, Ue(S.value, t, r, n, i));
3253
3253
  continue;
3254
3254
  }
3255
- if (_r(h)) {
3255
+ if (vr(h)) {
3256
3256
  var S = h.options["=".concat(c)];
3257
3257
  if (!S) {
3258
3258
  if (!Intl.PluralRules)
3259
- throw new Ze(`Intl.PluralRules is not available in this environment.
3259
+ throw new Ye(`Intl.PluralRules is not available in this environment.
3260
3260
  Try polyfilling it using "@formatjs/intl-pluralrules"
3261
3261
  `, le.MISSING_INTL_API, s);
3262
3262
  var y = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
@@ -3264,23 +3264,23 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3264
3264
  }
3265
3265
  if (!S)
3266
3266
  throw new Gt(h.value, c, Object.keys(h.options), s);
3267
- a.push.apply(a, De(S.value, t, r, n, i, c - (h.offset || 0)));
3267
+ a.push.apply(a, Ue(S.value, t, r, n, i, c - (h.offset || 0)));
3268
3268
  continue;
3269
3269
  }
3270
3270
  }
3271
- return xi(a);
3271
+ return Ei(a);
3272
3272
  }
3273
- function Si(e, t) {
3273
+ function wi(e, t) {
3274
3274
  return t ? G(G(G({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3275
3275
  return r[n] = G(G({}, e[n]), t[n] || {}), r;
3276
3276
  }, {})) : e;
3277
3277
  }
3278
- function Ti(e, t) {
3278
+ function Si(e, t) {
3279
3279
  return t ? Object.keys(e).reduce(function(r, n) {
3280
- return r[n] = Si(e[n], t[n]), r;
3280
+ return r[n] = wi(e[n], t[n]), r;
3281
3281
  }, G({}, e)) : e;
3282
3282
  }
3283
- function it(e) {
3283
+ function at(e) {
3284
3284
  return {
3285
3285
  create: function() {
3286
3286
  return {
@@ -3294,39 +3294,39 @@ function it(e) {
3294
3294
  }
3295
3295
  };
3296
3296
  }
3297
- function Hi(e) {
3297
+ function Ti(e) {
3298
3298
  return e === void 0 && (e = {
3299
3299
  number: {},
3300
3300
  dateTime: {},
3301
3301
  pluralRules: {}
3302
3302
  }), {
3303
- getNumberFormat: tt(function() {
3303
+ getNumberFormat: it(function() {
3304
3304
  for (var t, r = [], n = 0; n < arguments.length; n++)
3305
3305
  r[n] = arguments[n];
3306
- return new ((t = Intl.NumberFormat).bind.apply(t, et([void 0], r, !1)))();
3306
+ return new ((t = Intl.NumberFormat).bind.apply(t, nt([void 0], r, !1)))();
3307
3307
  }, {
3308
- cache: it(e.number),
3309
- strategy: rt.variadic
3308
+ cache: at(e.number),
3309
+ strategy: ot.variadic
3310
3310
  }),
3311
- getDateTimeFormat: tt(function() {
3311
+ getDateTimeFormat: it(function() {
3312
3312
  for (var t, r = [], n = 0; n < arguments.length; n++)
3313
3313
  r[n] = arguments[n];
3314
- return new ((t = Intl.DateTimeFormat).bind.apply(t, et([void 0], r, !1)))();
3314
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, nt([void 0], r, !1)))();
3315
3315
  }, {
3316
- cache: it(e.dateTime),
3317
- strategy: rt.variadic
3316
+ cache: at(e.dateTime),
3317
+ strategy: ot.variadic
3318
3318
  }),
3319
- getPluralRules: tt(function() {
3319
+ getPluralRules: it(function() {
3320
3320
  for (var t, r = [], n = 0; n < arguments.length; n++)
3321
3321
  r[n] = arguments[n];
3322
- return new ((t = Intl.PluralRules).bind.apply(t, et([void 0], r, !1)))();
3322
+ return new ((t = Intl.PluralRules).bind.apply(t, nt([void 0], r, !1)))();
3323
3323
  }, {
3324
- cache: it(e.pluralRules),
3325
- strategy: rt.variadic
3324
+ cache: at(e.pluralRules),
3325
+ strategy: ot.variadic
3326
3326
  })
3327
3327
  };
3328
3328
  }
3329
- var Mr = (
3329
+ var Pr = (
3330
3330
  /** @class */
3331
3331
  function() {
3332
3332
  function e(t, r, n, i) {
@@ -3345,7 +3345,7 @@ var Mr = (
3345
3345
  }, []);
3346
3346
  return h.length <= 1 ? h[0] || "" : h;
3347
3347
  }, this.formatToParts = function(l) {
3348
- return De(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3348
+ return Ue(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3349
3349
  }, this.resolvedOptions = function() {
3350
3350
  var l;
3351
3351
  return {
@@ -3358,13 +3358,13 @@ var Mr = (
3358
3358
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3359
3359
  var s = i || {};
3360
3360
  s.formatters;
3361
- var a = Rn(s, ["formatters"]);
3361
+ var a = Nn(s, ["formatters"]);
3362
3362
  this.ast = e.__parse(t, G(G({}, a), { locale: this.resolvedLocale }));
3363
3363
  } else
3364
3364
  this.ast = t;
3365
3365
  if (!Array.isArray(this.ast))
3366
3366
  throw new TypeError("A message must be provided as a String or AST.");
3367
- this.formats = Ti(e.formats, n), this.formatters = i && i.formatters || Hi(this.formatterCache);
3367
+ this.formats = Si(e.formats, n), this.formatters = i && i.formatters || Ti(this.formatterCache);
3368
3368
  }
3369
3369
  return Object.defineProperty(e, "defaultLocale", {
3370
3370
  get: function() {
@@ -3377,7 +3377,7 @@ var Mr = (
3377
3377
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3378
3378
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3379
3379
  }
3380
- }, e.__parse = vi, e.formats = {
3380
+ }, e.__parse = yi, e.formats = {
3381
3381
  number: {
3382
3382
  integer: {
3383
3383
  maximumFractionDigits: 0
@@ -3459,101 +3459,101 @@ function Ci(e, t) {
3459
3459
  n = void 0;
3460
3460
  return n;
3461
3461
  }
3462
- const z = {}, Ai = (e, t, r) => r && (t in z || (z[t] = {}), e in z[t] || (z[t][e] = r), r), Or = (e, t) => {
3462
+ const z = {}, Hi = (e, t, r) => r && (t in z || (z[t] = {}), e in z[t] || (z[t][e] = r), r), Mr = (e, t) => {
3463
3463
  if (t == null)
3464
3464
  return;
3465
3465
  if (t in z && e in z[t])
3466
3466
  return z[t][e];
3467
- const r = we(t);
3467
+ const r = Te(t);
3468
3468
  for (let n = 0; n < r.length; n++) {
3469
- const i = r[n], o = Mi(i, e);
3469
+ const i = r[n], o = Pi(i, e);
3470
3470
  if (o)
3471
- return Ai(e, t, o);
3471
+ return Hi(e, t, o);
3472
3472
  }
3473
3473
  };
3474
- let Ht;
3475
- const xe = We({});
3476
- function Pi(e) {
3477
- return Ht[e] || null;
3474
+ let Ct;
3475
+ const Se = Qe({});
3476
+ function Ai(e) {
3477
+ return Ct[e] || null;
3478
3478
  }
3479
- function Br(e) {
3480
- return e in Ht;
3479
+ function Or(e) {
3480
+ return e in Ct;
3481
3481
  }
3482
- function Mi(e, t) {
3483
- if (!Br(e))
3482
+ function Pi(e, t) {
3483
+ if (!Or(e))
3484
3484
  return null;
3485
- const r = Pi(e);
3485
+ const r = Ai(e);
3486
3486
  return Ci(r, t);
3487
3487
  }
3488
- function Oi(e) {
3488
+ function Mi(e) {
3489
3489
  if (e == null)
3490
3490
  return;
3491
- const t = we(e);
3491
+ const t = Te(e);
3492
3492
  for (let r = 0; r < t.length; r++) {
3493
3493
  const n = t[r];
3494
- if (Br(n))
3494
+ if (Or(n))
3495
3495
  return n;
3496
3496
  }
3497
3497
  }
3498
- function Ir(e, ...t) {
3499
- delete z[e], xe.update((r) => (r[e] = Nn.all([r[e] || {}, ...t]), r));
3498
+ function Br(e, ...t) {
3499
+ delete z[e], Se.update((r) => (r[e] = Ln.all([r[e] || {}, ...t]), r));
3500
3500
  }
3501
3501
  fe(
3502
- [xe],
3502
+ [Se],
3503
3503
  ([e]) => Object.keys(e)
3504
3504
  );
3505
- xe.subscribe((e) => Ht = e);
3506
- const $e = {};
3507
- function Bi(e, t) {
3508
- $e[e].delete(t), $e[e].size === 0 && delete $e[e];
3505
+ Se.subscribe((e) => Ct = e);
3506
+ const Fe = {};
3507
+ function Oi(e, t) {
3508
+ Fe[e].delete(t), Fe[e].size === 0 && delete Fe[e];
3509
3509
  }
3510
- function Lr(e) {
3511
- return $e[e];
3510
+ function Ir(e) {
3511
+ return Fe[e];
3512
3512
  }
3513
- function Ii(e) {
3514
- return we(e).map((t) => {
3515
- const r = Lr(t);
3513
+ function Bi(e) {
3514
+ return Te(e).map((t) => {
3515
+ const r = Ir(t);
3516
3516
  return [t, r ? [...r] : []];
3517
3517
  }).filter(([, t]) => t.length > 0);
3518
3518
  }
3519
- function ke(e) {
3520
- return e == null ? !1 : we(e).some(
3519
+ function Xe(e) {
3520
+ return e == null ? !1 : Te(e).some(
3521
3521
  (t) => {
3522
3522
  var r;
3523
- return (r = Lr(t)) == null ? void 0 : r.size;
3523
+ return (r = Ir(t)) == null ? void 0 : r.size;
3524
3524
  }
3525
3525
  );
3526
3526
  }
3527
- function Li(e, t) {
3527
+ function Ii(e, t) {
3528
3528
  return Promise.all(
3529
- t.map((n) => (Bi(e, n), n().then((i) => i.default || i)))
3530
- ).then((n) => Ir(e, ...n));
3529
+ t.map((n) => (Oi(e, n), n().then((i) => i.default || i)))
3530
+ ).then((n) => Br(e, ...n));
3531
3531
  }
3532
3532
  const be = {};
3533
- function Nr(e) {
3534
- if (!ke(e))
3533
+ function Lr(e) {
3534
+ if (!Xe(e))
3535
3535
  return e in be ? be[e] : Promise.resolve();
3536
- const t = Ii(e);
3536
+ const t = Bi(e);
3537
3537
  return be[e] = Promise.all(
3538
3538
  t.map(
3539
- ([r, n]) => Li(r, n)
3539
+ ([r, n]) => Ii(r, n)
3540
3540
  )
3541
3541
  ).then(() => {
3542
- if (ke(e))
3543
- return Nr(e);
3542
+ if (Xe(e))
3543
+ return Lr(e);
3544
3544
  delete be[e];
3545
3545
  }), be[e];
3546
3546
  }
3547
- var jt = Object.getOwnPropertySymbols, Ni = Object.prototype.hasOwnProperty, Ri = Object.prototype.propertyIsEnumerable, Di = (e, t) => {
3547
+ var jt = Object.getOwnPropertySymbols, Li = Object.prototype.hasOwnProperty, Ni = Object.prototype.propertyIsEnumerable, Ri = (e, t) => {
3548
3548
  var r = {};
3549
3549
  for (var n in e)
3550
- Ni.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3550
+ Li.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3551
3551
  if (e != null && jt)
3552
3552
  for (var n of jt(e))
3553
- t.indexOf(n) < 0 && Ri.call(e, n) && (r[n] = e[n]);
3553
+ t.indexOf(n) < 0 && Ni.call(e, n) && (r[n] = e[n]);
3554
3554
  return r;
3555
3555
  };
3556
- const $i = {
3556
+ const Di = {
3557
3557
  number: {
3558
3558
  scientific: { notation: "scientific" },
3559
3559
  engineering: { notation: "engineering" },
@@ -3583,159 +3583,159 @@ const $i = {
3583
3583
  }
3584
3584
  }
3585
3585
  };
3586
- function Ui({ locale: e, id: t }) {
3586
+ function $i({ locale: e, id: t }) {
3587
3587
  console.warn(
3588
- `[svelte-i18n] The message "${t}" was not found in "${we(
3588
+ `[svelte-i18n] The message "${t}" was not found in "${Te(
3589
3589
  e
3590
- ).join('", "')}".${ke(Q()) ? `
3590
+ ).join('", "')}".${Xe(Q()) ? `
3591
3591
 
3592
3592
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3593
3593
  );
3594
3594
  }
3595
- const Fi = {
3595
+ const Ui = {
3596
3596
  fallbackLocale: null,
3597
3597
  loadingDelay: 200,
3598
- formats: $i,
3598
+ formats: Di,
3599
3599
  warnOnMissingMessages: !0,
3600
3600
  handleMissingMessage: void 0,
3601
3601
  ignoreTag: !0
3602
- }, ge = Fi;
3602
+ }, ge = Ui;
3603
3603
  function he() {
3604
3604
  return ge;
3605
3605
  }
3606
- function Gi(e) {
3607
- const t = e, { formats: r } = t, n = Di(t, ["formats"]);
3606
+ function Fi(e) {
3607
+ const t = e, { formats: r } = t, n = Ri(t, ["formats"]);
3608
3608
  let i = e.fallbackLocale;
3609
3609
  if (e.initialLocale)
3610
3610
  try {
3611
- Mr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3611
+ Pr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3612
3612
  } catch {
3613
3613
  console.warn(
3614
3614
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3615
3615
  );
3616
3616
  }
3617
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Ui : console.warn(
3617
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = $i : console.warn(
3618
3618
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3619
3619
  )), Object.assign(ge, n, { initialLocale: i }), r && ("number" in r && Object.assign(ge.formats.number, r.number), "date" in r && Object.assign(ge.formats.date, r.date), "time" in r && Object.assign(ge.formats.time, r.time)), K.set(i);
3620
3620
  }
3621
- const ot = We(!1);
3622
- var ji = Object.defineProperty, ki = Object.defineProperties, Vi = Object.getOwnPropertyDescriptors, kt = Object.getOwnPropertySymbols, Xi = Object.prototype.hasOwnProperty, Wi = Object.prototype.propertyIsEnumerable, Vt = (e, t, r) => t in e ? ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, zi = (e, t) => {
3621
+ const ut = Qe(!1);
3622
+ var Gi = Object.defineProperty, ji = Object.defineProperties, ki = Object.getOwnPropertyDescriptors, kt = Object.getOwnPropertySymbols, Vi = Object.prototype.hasOwnProperty, Wi = Object.prototype.propertyIsEnumerable, Vt = (e, t, r) => t in e ? Gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xi = (e, t) => {
3623
3623
  for (var r in t || (t = {}))
3624
- Xi.call(t, r) && Vt(e, r, t[r]);
3624
+ Vi.call(t, r) && Vt(e, r, t[r]);
3625
3625
  if (kt)
3626
3626
  for (var r of kt(t))
3627
3627
  Wi.call(t, r) && Vt(e, r, t[r]);
3628
3628
  return e;
3629
- }, Zi = (e, t) => ki(e, Vi(t));
3630
- let dt;
3631
- const Ve = We(null);
3632
- function Xt(e) {
3629
+ }, zi = (e, t) => ji(e, ki(t));
3630
+ let yt;
3631
+ const ze = Qe(null);
3632
+ function Wt(e) {
3633
3633
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3634
3634
  }
3635
- function we(e, t = he().fallbackLocale) {
3636
- const r = Xt(e);
3637
- return t ? [.../* @__PURE__ */ new Set([...r, ...Xt(t)])] : r;
3635
+ function Te(e, t = he().fallbackLocale) {
3636
+ const r = Wt(e);
3637
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Wt(t)])] : r;
3638
3638
  }
3639
3639
  function Q() {
3640
- return dt ?? void 0;
3640
+ return yt ?? void 0;
3641
3641
  }
3642
- Ve.subscribe((e) => {
3643
- dt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3642
+ ze.subscribe((e) => {
3643
+ yt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3644
3644
  });
3645
- const Qi = (e) => {
3646
- if (e && Oi(e) && ke(e)) {
3645
+ const Zi = (e) => {
3646
+ if (e && Mi(e) && Xe(e)) {
3647
3647
  const { loadingDelay: t } = he();
3648
3648
  let r;
3649
3649
  return typeof window < "u" && Q() != null && t ? r = window.setTimeout(
3650
- () => ot.set(!0),
3650
+ () => ut.set(!0),
3651
3651
  t
3652
- ) : ot.set(!0), Nr(e).then(() => {
3653
- Ve.set(e);
3652
+ ) : ut.set(!0), Lr(e).then(() => {
3653
+ ze.set(e);
3654
3654
  }).finally(() => {
3655
- clearTimeout(r), ot.set(!1);
3655
+ clearTimeout(r), ut.set(!1);
3656
3656
  });
3657
3657
  }
3658
- return Ve.set(e);
3659
- }, K = Zi(zi({}, Ve), {
3660
- set: Qi
3661
- }), Qe = (e) => {
3658
+ return ze.set(e);
3659
+ }, K = zi(Xi({}, ze), {
3660
+ set: Zi
3661
+ }), qe = (e) => {
3662
3662
  const t = /* @__PURE__ */ Object.create(null);
3663
3663
  return (n) => {
3664
3664
  const i = JSON.stringify(n);
3665
3665
  return i in t ? t[i] : t[i] = e(n);
3666
3666
  };
3667
3667
  };
3668
- var Ji = Object.defineProperty, Xe = Object.getOwnPropertySymbols, Rr = Object.prototype.hasOwnProperty, Dr = Object.prototype.propertyIsEnumerable, Wt = (e, t, r) => t in e ? Ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ct = (e, t) => {
3668
+ var Qi = Object.defineProperty, Ze = Object.getOwnPropertySymbols, Nr = Object.prototype.hasOwnProperty, Rr = Object.prototype.propertyIsEnumerable, Xt = (e, t, r) => t in e ? Qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ht = (e, t) => {
3669
3669
  for (var r in t || (t = {}))
3670
- Rr.call(t, r) && Wt(e, r, t[r]);
3671
- if (Xe)
3672
- for (var r of Xe(t))
3673
- Dr.call(t, r) && Wt(e, r, t[r]);
3670
+ Nr.call(t, r) && Xt(e, r, t[r]);
3671
+ if (Ze)
3672
+ for (var r of Ze(t))
3673
+ Rr.call(t, r) && Xt(e, r, t[r]);
3674
3674
  return e;
3675
3675
  }, pe = (e, t) => {
3676
3676
  var r = {};
3677
3677
  for (var n in e)
3678
- Rr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3679
- if (e != null && Xe)
3680
- for (var n of Xe(e))
3681
- t.indexOf(n) < 0 && Dr.call(e, n) && (r[n] = e[n]);
3678
+ Nr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3679
+ if (e != null && Ze)
3680
+ for (var n of Ze(e))
3681
+ t.indexOf(n) < 0 && Rr.call(e, n) && (r[n] = e[n]);
3682
3682
  return r;
3683
3683
  };
3684
- const Ee = (e, t) => {
3684
+ const we = (e, t) => {
3685
3685
  const { formats: r } = he();
3686
3686
  if (e in r && t in r[e])
3687
3687
  return r[e][t];
3688
3688
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3689
- }, Yi = Qe(
3689
+ }, Ji = qe(
3690
3690
  (e) => {
3691
3691
  var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
3692
3692
  if (r == null)
3693
3693
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3694
- return n && (i = Ee("number", n)), new Intl.NumberFormat(r, i);
3694
+ return n && (i = we("number", n)), new Intl.NumberFormat(r, i);
3695
3695
  }
3696
- ), qi = Qe(
3696
+ ), Yi = qe(
3697
3697
  (e) => {
3698
3698
  var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
3699
3699
  if (r == null)
3700
3700
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3701
- return n ? i = Ee("date", n) : Object.keys(i).length === 0 && (i = Ee("date", "short")), new Intl.DateTimeFormat(r, i);
3701
+ return n ? i = we("date", n) : Object.keys(i).length === 0 && (i = we("date", "short")), new Intl.DateTimeFormat(r, i);
3702
3702
  }
3703
- ), Ki = Qe(
3703
+ ), qi = qe(
3704
3704
  (e) => {
3705
3705
  var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
3706
3706
  if (r == null)
3707
3707
  throw new Error(
3708
3708
  '[svelte-i18n] A "locale" must be set to format time values'
3709
3709
  );
3710
- return n ? i = Ee("time", n) : Object.keys(i).length === 0 && (i = Ee("time", "short")), new Intl.DateTimeFormat(r, i);
3710
+ return n ? i = we("time", n) : Object.keys(i).length === 0 && (i = we("time", "short")), new Intl.DateTimeFormat(r, i);
3711
3711
  }
3712
- ), eo = (e = {}) => {
3712
+ ), Ki = (e = {}) => {
3713
3713
  var t = e, {
3714
3714
  locale: r = Q()
3715
3715
  } = t, n = pe(t, [
3716
3716
  "locale"
3717
3717
  ]);
3718
- return Yi(Ct({ locale: r }, n));
3719
- }, to = (e = {}) => {
3718
+ return Ji(Ht({ locale: r }, n));
3719
+ }, eo = (e = {}) => {
3720
3720
  var t = e, {
3721
3721
  locale: r = Q()
3722
3722
  } = t, n = pe(t, [
3723
3723
  "locale"
3724
3724
  ]);
3725
- return qi(Ct({ locale: r }, n));
3726
- }, ro = (e = {}) => {
3725
+ return Yi(Ht({ locale: r }, n));
3726
+ }, to = (e = {}) => {
3727
3727
  var t = e, {
3728
3728
  locale: r = Q()
3729
3729
  } = t, n = pe(t, [
3730
3730
  "locale"
3731
3731
  ]);
3732
- return Ki(Ct({ locale: r }, n));
3733
- }, no = Qe(
3732
+ return qi(Ht({ locale: r }, n));
3733
+ }, ro = qe(
3734
3734
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3735
- (e, t = Q()) => new Mr(e, t, he().formats, {
3735
+ (e, t = Q()) => new Pr(e, t, he().formats, {
3736
3736
  ignoreTag: he().ignoreTag
3737
3737
  })
3738
- ), io = (e, t = {}) => {
3738
+ ), no = (e, t = {}) => {
3739
3739
  var r, n, i, o;
3740
3740
  let s = t;
3741
3741
  typeof e == "object" && (s = e, e = s.id);
@@ -3748,7 +3748,7 @@ const Ee = (e, t) => {
3748
3748
  throw new Error(
3749
3749
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3750
3750
  );
3751
- let h = Or(e, l);
3751
+ let h = Mr(e, l);
3752
3752
  if (!h)
3753
3753
  h = (o = (i = (n = (r = he()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3754
3754
  else if (typeof h != "string")
@@ -3759,7 +3759,7 @@ const Ee = (e, t) => {
3759
3759
  return h;
3760
3760
  let f = h;
3761
3761
  try {
3762
- f = no(h, l).format(a);
3762
+ f = ro(h, l).format(a);
3763
3763
  } catch (c) {
3764
3764
  c instanceof Error && console.warn(
3765
3765
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3767,26 +3767,26 @@ const Ee = (e, t) => {
3767
3767
  );
3768
3768
  }
3769
3769
  return f;
3770
- }, oo = (e, t) => ro(t).format(e), so = (e, t) => to(t).format(e), ao = (e, t) => eo(t).format(e), uo = (e, t = Q()) => Or(e, t), lo = fe([K, xe], () => io);
3770
+ }, io = (e, t) => to(t).format(e), oo = (e, t) => eo(t).format(e), so = (e, t) => Ki(t).format(e), ao = (e, t = Q()) => Mr(e, t), uo = fe([K, Se], () => no);
3771
+ fe([K], () => io);
3771
3772
  fe([K], () => oo);
3772
3773
  fe([K], () => so);
3773
- fe([K], () => ao);
3774
- fe([K, xe], () => uo);
3774
+ fe([K, Se], () => ao);
3775
3775
  function zt(e, t) {
3776
- Ir(e, t);
3776
+ Br(e, t);
3777
3777
  }
3778
- function ho(e) {
3779
- Gi({
3778
+ function lo(e) {
3779
+ Fi({
3780
3780
  fallbackLocale: "en"
3781
3781
  }), K.set(e);
3782
3782
  }
3783
- function co(e, t) {
3783
+ function ho(e, t) {
3784
3784
  if (e) {
3785
3785
  const r = document.createElement("style");
3786
3786
  r.innerHTML = t, e.appendChild(r);
3787
3787
  }
3788
3788
  }
3789
- function fo(e, t) {
3789
+ function co(e, t) {
3790
3790
  if (!e || !t)
3791
3791
  return;
3792
3792
  const r = new URL(t);
@@ -3797,7 +3797,7 @@ function fo(e, t) {
3797
3797
  console.error("There was an error while trying to load client styling from URL", n);
3798
3798
  });
3799
3799
  }
3800
- function po(e, t, r) {
3800
+ function fo(e, t, r) {
3801
3801
  if (window.emMessageBus) {
3802
3802
  const n = document.createElement("style");
3803
3803
  window.emMessageBus.subscribe(t, (i) => {
@@ -3819,24 +3819,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
3819
3819
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
3820
3820
  PERFORMANCE OF THIS SOFTWARE.
3821
3821
  ***************************************************************************** */
3822
- var bt = function(e, t) {
3823
- return bt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
3822
+ var vt = function(e, t) {
3823
+ return vt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
3824
3824
  r.__proto__ = n;
3825
3825
  } || function(r, n) {
3826
3826
  for (var i in n)
3827
3827
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
3828
- }, bt(e, t);
3828
+ }, vt(e, t);
3829
3829
  };
3830
- function Se(e, t) {
3830
+ function Ce(e, t) {
3831
3831
  if (typeof t != "function" && t !== null)
3832
3832
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
3833
- bt(e, t);
3833
+ vt(e, t);
3834
3834
  function r() {
3835
3835
  this.constructor = e;
3836
3836
  }
3837
3837
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
3838
3838
  }
3839
- function gt(e) {
3839
+ function _t(e) {
3840
3840
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
3841
3841
  if (r)
3842
3842
  return r.call(e);
@@ -3848,7 +3848,7 @@ function gt(e) {
3848
3848
  };
3849
3849
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
3850
3850
  }
3851
- function yt(e, t) {
3851
+ function Et(e, t) {
3852
3852
  var r = typeof Symbol == "function" && e[Symbol.iterator];
3853
3853
  if (!r)
3854
3854
  return e;
@@ -3868,22 +3868,22 @@ function yt(e, t) {
3868
3868
  }
3869
3869
  return o;
3870
3870
  }
3871
- function vt(e, t, r) {
3871
+ function xt(e, t, r) {
3872
3872
  if (arguments.length === 2)
3873
3873
  for (var n = 0, i = t.length, o; n < i; n++)
3874
3874
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
3875
3875
  return e.concat(o || t);
3876
3876
  }
3877
- function X(e) {
3877
+ function W(e) {
3878
3878
  return typeof e == "function";
3879
3879
  }
3880
- function $r(e) {
3880
+ function Dr(e) {
3881
3881
  var t = function(n) {
3882
3882
  Error.call(n), n.stack = new Error().stack;
3883
3883
  }, r = e(t);
3884
3884
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
3885
3885
  }
3886
- var st = $r(function(e) {
3886
+ var lt = Dr(function(e) {
3887
3887
  return function(r) {
3888
3888
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
3889
3889
  ` + r.map(function(n, i) {
@@ -3892,13 +3892,13 @@ var st = $r(function(e) {
3892
3892
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
3893
3893
  };
3894
3894
  });
3895
- function _t(e, t) {
3895
+ function wt(e, t) {
3896
3896
  if (e) {
3897
3897
  var r = e.indexOf(t);
3898
3898
  0 <= r && e.splice(r, 1);
3899
3899
  }
3900
3900
  }
3901
- var Je = function() {
3901
+ var Ke = function() {
3902
3902
  function e(t) {
3903
3903
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
3904
3904
  }
@@ -3910,7 +3910,7 @@ var Je = function() {
3910
3910
  if (s)
3911
3911
  if (this._parentage = null, Array.isArray(s))
3912
3912
  try {
3913
- for (var a = gt(s), l = a.next(); !l.done; l = a.next()) {
3913
+ for (var a = _t(s), l = a.next(); !l.done; l = a.next()) {
3914
3914
  var u = l.value;
3915
3915
  u.remove(this);
3916
3916
  }
@@ -3927,22 +3927,22 @@ var Je = function() {
3927
3927
  else
3928
3928
  s.remove(this);
3929
3929
  var h = this.initialTeardown;
3930
- if (X(h))
3930
+ if (W(h))
3931
3931
  try {
3932
3932
  h();
3933
3933
  } catch (m) {
3934
- o = m instanceof st ? m.errors : [m];
3934
+ o = m instanceof lt ? m.errors : [m];
3935
3935
  }
3936
3936
  var f = this._finalizers;
3937
3937
  if (f) {
3938
3938
  this._finalizers = null;
3939
3939
  try {
3940
- for (var c = gt(f), g = c.next(); !g.done; g = c.next()) {
3940
+ for (var c = _t(f), g = c.next(); !g.done; g = c.next()) {
3941
3941
  var d = g.value;
3942
3942
  try {
3943
3943
  Zt(d);
3944
3944
  } catch (m) {
3945
- o = o ?? [], m instanceof st ? o = vt(vt([], yt(o)), yt(m.errors)) : o.push(m);
3945
+ o = o ?? [], m instanceof lt ? o = xt(xt([], Et(o)), Et(m.errors)) : o.push(m);
3946
3946
  }
3947
3947
  }
3948
3948
  } catch (m) {
@@ -3957,7 +3957,7 @@ var Je = function() {
3957
3957
  }
3958
3958
  }
3959
3959
  if (o)
3960
- throw new st(o);
3960
+ throw new lt(o);
3961
3961
  }
3962
3962
  }, e.prototype.add = function(t) {
3963
3963
  var r;
@@ -3980,52 +3980,52 @@ var Je = function() {
3980
3980
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
3981
3981
  }, e.prototype._removeParent = function(t) {
3982
3982
  var r = this._parentage;
3983
- r === t ? this._parentage = null : Array.isArray(r) && _t(r, t);
3983
+ r === t ? this._parentage = null : Array.isArray(r) && wt(r, t);
3984
3984
  }, e.prototype.remove = function(t) {
3985
3985
  var r = this._finalizers;
3986
- r && _t(r, t), t instanceof e && t._removeParent(this);
3986
+ r && wt(r, t), t instanceof e && t._removeParent(this);
3987
3987
  }, e.EMPTY = function() {
3988
3988
  var t = new e();
3989
3989
  return t.closed = !0, t;
3990
3990
  }(), e;
3991
- }(), Ur = Je.EMPTY;
3992
- function Fr(e) {
3993
- return e instanceof Je || e && "closed" in e && X(e.remove) && X(e.add) && X(e.unsubscribe);
3991
+ }(), $r = Ke.EMPTY;
3992
+ function Ur(e) {
3993
+ return e instanceof Ke || e && "closed" in e && W(e.remove) && W(e.add) && W(e.unsubscribe);
3994
3994
  }
3995
3995
  function Zt(e) {
3996
- X(e) ? e() : e.unsubscribe();
3996
+ W(e) ? e() : e.unsubscribe();
3997
3997
  }
3998
- var mo = {
3998
+ var po = {
3999
3999
  Promise: void 0
4000
- }, bo = {
4000
+ }, mo = {
4001
4001
  setTimeout: function(e, t) {
4002
4002
  for (var r = [], n = 2; n < arguments.length; n++)
4003
4003
  r[n - 2] = arguments[n];
4004
- return setTimeout.apply(void 0, vt([e, t], yt(r)));
4004
+ return setTimeout.apply(void 0, xt([e, t], Et(r)));
4005
4005
  },
4006
4006
  clearTimeout: function(e) {
4007
4007
  return clearTimeout(e);
4008
4008
  },
4009
4009
  delegate: void 0
4010
4010
  };
4011
- function go(e) {
4012
- bo.setTimeout(function() {
4011
+ function bo(e) {
4012
+ mo.setTimeout(function() {
4013
4013
  throw e;
4014
4014
  });
4015
4015
  }
4016
4016
  function Qt() {
4017
4017
  }
4018
- function Ue(e) {
4018
+ function Ge(e) {
4019
4019
  e();
4020
4020
  }
4021
- var Gr = function(e) {
4022
- Se(t, e);
4021
+ var Fr = function(e) {
4022
+ Ce(t, e);
4023
4023
  function t(r) {
4024
4024
  var n = e.call(this) || this;
4025
- return n.isStopped = !1, r ? (n.destination = r, Fr(r) && r.add(n)) : n.destination = _o, n;
4025
+ return n.isStopped = !1, r ? (n.destination = r, Ur(r) && r.add(n)) : n.destination = vo, n;
4026
4026
  }
4027
4027
  return t.create = function(r, n, i) {
4028
- return new Et(r, n, i);
4028
+ return new St(r, n, i);
4029
4029
  }, t.prototype.next = function(r) {
4030
4030
  this.isStopped || this._next(r);
4031
4031
  }, t.prototype.error = function(r) {
@@ -4049,7 +4049,7 @@ var Gr = function(e) {
4049
4049
  this.unsubscribe();
4050
4050
  }
4051
4051
  }, t;
4052
- }(Je), yo = function() {
4052
+ }(Ke), go = function() {
4053
4053
  function e(t) {
4054
4054
  this.partialObserver = t;
4055
4055
  }
@@ -4059,7 +4059,7 @@ var Gr = function(e) {
4059
4059
  try {
4060
4060
  r.next(t);
4061
4061
  } catch (n) {
4062
- Ie(n);
4062
+ Ne(n);
4063
4063
  }
4064
4064
  }, e.prototype.error = function(t) {
4065
4065
  var r = this.partialObserver;
@@ -4067,50 +4067,50 @@ var Gr = function(e) {
4067
4067
  try {
4068
4068
  r.error(t);
4069
4069
  } catch (n) {
4070
- Ie(n);
4070
+ Ne(n);
4071
4071
  }
4072
4072
  else
4073
- Ie(t);
4073
+ Ne(t);
4074
4074
  }, e.prototype.complete = function() {
4075
4075
  var t = this.partialObserver;
4076
4076
  if (t.complete)
4077
4077
  try {
4078
4078
  t.complete();
4079
4079
  } catch (r) {
4080
- Ie(r);
4080
+ Ne(r);
4081
4081
  }
4082
4082
  }, e;
4083
- }(), Et = function(e) {
4084
- Se(t, e);
4083
+ }(), St = function(e) {
4084
+ Ce(t, e);
4085
4085
  function t(r, n, i) {
4086
4086
  var o = e.call(this) || this, s;
4087
- return X(r) || !r ? s = {
4087
+ return W(r) || !r ? s = {
4088
4088
  next: r ?? void 0,
4089
4089
  error: n ?? void 0,
4090
4090
  complete: i ?? void 0
4091
- } : s = r, o.destination = new yo(s), o;
4091
+ } : s = r, o.destination = new go(s), o;
4092
4092
  }
4093
4093
  return t;
4094
- }(Gr);
4095
- function Ie(e) {
4096
- go(e);
4094
+ }(Fr);
4095
+ function Ne(e) {
4096
+ bo(e);
4097
4097
  }
4098
- function vo(e) {
4098
+ function yo(e) {
4099
4099
  throw e;
4100
4100
  }
4101
- var _o = {
4101
+ var vo = {
4102
4102
  closed: !0,
4103
4103
  next: Qt,
4104
- error: vo,
4104
+ error: yo,
4105
4105
  complete: Qt
4106
- }, Eo = function() {
4106
+ }, _o = function() {
4107
4107
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4108
4108
  }();
4109
- function xo(e) {
4109
+ function Eo(e) {
4110
4110
  return e;
4111
4111
  }
4112
- function wo(e) {
4113
- return e.length === 0 ? xo : e.length === 1 ? e[0] : function(r) {
4112
+ function xo(e) {
4113
+ return e.length === 0 ? Eo : e.length === 1 ? e[0] : function(r) {
4114
4114
  return e.reduce(function(n, i) {
4115
4115
  return i(n);
4116
4116
  }, r);
@@ -4124,8 +4124,8 @@ var Jt = function() {
4124
4124
  var r = new e();
4125
4125
  return r.source = this, r.operator = t, r;
4126
4126
  }, e.prototype.subscribe = function(t, r, n) {
4127
- var i = this, o = To(t) ? t : new Et(t, r, n);
4128
- return Ue(function() {
4127
+ var i = this, o = So(t) ? t : new St(t, r, n);
4128
+ return Ge(function() {
4129
4129
  var s = i, a = s.operator, l = s.source;
4130
4130
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
4131
4131
  }), o;
@@ -4138,7 +4138,7 @@ var Jt = function() {
4138
4138
  }, e.prototype.forEach = function(t, r) {
4139
4139
  var n = this;
4140
4140
  return r = Yt(r), new r(function(i, o) {
4141
- var s = new Et({
4141
+ var s = new St({
4142
4142
  next: function(a) {
4143
4143
  try {
4144
4144
  t(a);
@@ -4154,12 +4154,12 @@ var Jt = function() {
4154
4154
  }, e.prototype._subscribe = function(t) {
4155
4155
  var r;
4156
4156
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
4157
- }, e.prototype[Eo] = function() {
4157
+ }, e.prototype[_o] = function() {
4158
4158
  return this;
4159
4159
  }, e.prototype.pipe = function() {
4160
4160
  for (var t = [], r = 0; r < arguments.length; r++)
4161
4161
  t[r] = arguments[r];
4162
- return wo(t)(this);
4162
+ return xo(t)(this);
4163
4163
  }, e.prototype.toPromise = function(t) {
4164
4164
  var r = this;
4165
4165
  return t = Yt(t), new t(function(n, i) {
@@ -4178,20 +4178,20 @@ var Jt = function() {
4178
4178
  }();
4179
4179
  function Yt(e) {
4180
4180
  var t;
4181
- return (t = e ?? mo.Promise) !== null && t !== void 0 ? t : Promise;
4181
+ return (t = e ?? po.Promise) !== null && t !== void 0 ? t : Promise;
4182
4182
  }
4183
- function So(e) {
4184
- return e && X(e.next) && X(e.error) && X(e.complete);
4183
+ function wo(e) {
4184
+ return e && W(e.next) && W(e.error) && W(e.complete);
4185
4185
  }
4186
- function To(e) {
4187
- return e && e instanceof Gr || So(e) && Fr(e);
4186
+ function So(e) {
4187
+ return e && e instanceof Fr || wo(e) && Ur(e);
4188
4188
  }
4189
- var Ho = $r(function(e) {
4189
+ var To = Dr(function(e) {
4190
4190
  return function() {
4191
4191
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4192
4192
  };
4193
- }), jr = function(e) {
4194
- Se(t, e);
4193
+ }), Gr = function(e) {
4194
+ Ce(t, e);
4195
4195
  function t() {
4196
4196
  var r = e.call(this) || this;
4197
4197
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
@@ -4201,15 +4201,15 @@ var Ho = $r(function(e) {
4201
4201
  return n.operator = r, n;
4202
4202
  }, t.prototype._throwIfClosed = function() {
4203
4203
  if (this.closed)
4204
- throw new Ho();
4204
+ throw new To();
4205
4205
  }, t.prototype.next = function(r) {
4206
4206
  var n = this;
4207
- Ue(function() {
4207
+ Ge(function() {
4208
4208
  var i, o;
4209
4209
  if (n._throwIfClosed(), !n.isStopped) {
4210
4210
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
4211
4211
  try {
4212
- for (var s = gt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4212
+ for (var s = _t(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4213
4213
  var l = a.value;
4214
4214
  l.next(r);
4215
4215
  }
@@ -4227,7 +4227,7 @@ var Ho = $r(function(e) {
4227
4227
  });
4228
4228
  }, t.prototype.error = function(r) {
4229
4229
  var n = this;
4230
- Ue(function() {
4230
+ Ge(function() {
4231
4231
  if (n._throwIfClosed(), !n.isStopped) {
4232
4232
  n.hasError = n.isStopped = !0, n.thrownError = r;
4233
4233
  for (var i = n.observers; i.length; )
@@ -4236,7 +4236,7 @@ var Ho = $r(function(e) {
4236
4236
  });
4237
4237
  }, t.prototype.complete = function() {
4238
4238
  var r = this;
4239
- Ue(function() {
4239
+ Ge(function() {
4240
4240
  if (r._throwIfClosed(), !r.isStopped) {
4241
4241
  r.isStopped = !0;
4242
4242
  for (var n = r.observers; n.length; )
@@ -4258,8 +4258,8 @@ var Ho = $r(function(e) {
4258
4258
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4259
4259
  }, t.prototype._innerSubscribe = function(r) {
4260
4260
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
4261
- return o || s ? Ur : (this.currentObservers = null, a.push(r), new Je(function() {
4262
- n.currentObservers = null, _t(a, r);
4261
+ return o || s ? $r : (this.currentObservers = null, a.push(r), new Ke(function() {
4262
+ n.currentObservers = null, wt(a, r);
4263
4263
  }));
4264
4264
  }, t.prototype._checkFinalizedStatuses = function(r) {
4265
4265
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
@@ -4271,7 +4271,7 @@ var Ho = $r(function(e) {
4271
4271
  return new qt(r, n);
4272
4272
  }, t;
4273
4273
  }(Jt), qt = function(e) {
4274
- Se(t, e);
4274
+ Ce(t, e);
4275
4275
  function t(r, n) {
4276
4276
  var i = e.call(this) || this;
4277
4277
  return i.destination = r, i.source = n, i;
@@ -4287,17 +4287,17 @@ var Ho = $r(function(e) {
4287
4287
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
4288
4288
  }, t.prototype._subscribe = function(r) {
4289
4289
  var n, i;
4290
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ur;
4290
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : $r;
4291
4291
  }, t;
4292
- }(jr), kr = {
4292
+ }(Gr), jr = {
4293
4293
  now: function() {
4294
- return (kr.delegate || Date).now();
4294
+ return (jr.delegate || Date).now();
4295
4295
  },
4296
4296
  delegate: void 0
4297
4297
  }, Co = function(e) {
4298
- Se(t, e);
4298
+ Ce(t, e);
4299
4299
  function t(r, n, i) {
4300
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = kr);
4300
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = jr);
4301
4301
  var o = e.call(this) || this;
4302
4302
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
4303
4303
  }
@@ -4317,46 +4317,46 @@ var Ho = $r(function(e) {
4317
4317
  u && o.splice(0, u + 1);
4318
4318
  }
4319
4319
  }, t;
4320
- }(jr);
4321
- const Kt = [], er = {}, Ao = (e, t = 0) => {
4320
+ }(Gr);
4321
+ const Kt = [], er = {}, Ho = (e, t = 0) => {
4322
4322
  if (Kt.indexOf(e) == -1) {
4323
4323
  const r = new Co(t);
4324
4324
  er[e] = r, Kt.push(e);
4325
4325
  }
4326
4326
  return er[e];
4327
4327
  };
4328
- let xt = "en-UK", Vr = "true", wt = 0, St = "";
4329
- const Po = (e, t, r, n) => {
4330
- xt = e || "en-UK", Vr = t || "true", wt = +n || 0, St = r || "";
4331
- }, tr = ({ local: e, options: t = {}, amount: r }) => {
4332
- try {
4333
- return new Intl.NumberFormat(e, t);
4334
- } catch (n) {
4335
- return console.info(n), new Intl.NumberFormat(e, {
4336
- minimumFractionDigits: t.minimumFractionDigits,
4337
- maximumFractionDigits: t.maximumFractionDigits
4338
- });
4339
- }
4340
- }, Le = (e, t, r = {}, n = !0) => {
4328
+ let je = "en-UK", kr = "true", ye = 0, ve = "";
4329
+ const Ao = (e, t, r, n) => {
4330
+ je = e || "en-UK", kr = t || "true", ye = +n || 0, ve = r || "";
4331
+ }, Re = (e, t, r = {}, n = !0) => {
4341
4332
  const i = {
4342
- maximumFractionDigits: wt,
4343
- minimumFractionDigits: wt,
4333
+ maximumFractionDigits: ye,
4334
+ minimumFractionDigits: ye,
4344
4335
  ...n && {
4345
4336
  style: "currency",
4346
4337
  currency: t,
4347
- currencyDisplay: Vr === "true" ? "symbol" : "code"
4338
+ currencyDisplay: kr === "true" ? "symbol" : "code"
4348
4339
  },
4349
4340
  ...r
4350
4341
  };
4351
- if (!St)
4352
- return tr({ local: xt, options: i }).format(e);
4353
- const s = tr({ local: xt, options: i }).formatToParts(e), a = s.find(({ type: h = "" } = {}) => h === "currency") || {}, l = s.filter(({ type: h = "" } = {}) => h !== "currency").map(({ value: h = "" } = {}) => h).join("");
4354
- return St === "before" ? `${a.value || t || ""} ${l}` : `${l} ${a.value || t || ""}`;
4342
+ try {
4343
+ if (!ve)
4344
+ return new Intl.NumberFormat(je, i).format(e);
4345
+ const s = new Intl.NumberFormat(je, i).formatToParts(e), a = s.find(({ type: h = "" } = {}) => h === "currency") || {}, l = s.filter(({ type: h = "" } = {}) => h !== "currency").map(({ value: h = "" } = {}) => h).join("");
4346
+ return ve === "before" ? `${a.value || i.currency || ""} ${l}` : `${l} ${a.value || i.currency || ""}`;
4347
+ } catch (o) {
4348
+ console.info(o);
4349
+ const s = new Intl.NumberFormat(je, {
4350
+ maximumFractionDigits: ye,
4351
+ minimumFractionDigits: ye
4352
+ }).format(e);
4353
+ return ve ? ve === "before" ? `${i.currency || ""} ${s}` : `${s} ${i.currency || ""}` : `${i.currency || ""} ${s}`;
4354
+ }
4355
4355
  };
4356
- window.emWidgets = { topic: Ao };
4357
- const Ne = (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));
4356
+ window.emWidgets = { topic: Ho };
4357
+ const De = (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));
4358
4358
  String(Number.MAX_SAFE_INTEGER).length;
4359
- const rr = {
4359
+ const tr = {
4360
4360
  en: {
4361
4361
  generalMin: "Min",
4362
4362
  generalMax: "Max",
@@ -4382,18 +4382,18 @@ const rr = {
4382
4382
  carouselSubtitle: "En popüler ödeme yöntemleri"
4383
4383
  }
4384
4384
  };
4385
- function Mo(e) {
4386
- Jr(e, "svelte-u54bgm", '*,*::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);cursor:pointer}.VisualDotIndicator .Dot:hover{opacity:0.7;transform:scale(1.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:15px;height:190px;width:160px;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:220px;width:180px}.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{display:flex;justify-content:center;align-content:center;align-items:center;height:100%}.CarouselCardWrapper .MethodLogo img{height:40px;width:auto}.CarouselCardWrapper .MethodInfo{display:flex;flex-direction:column;gap:10px;word-break:break-word}.CarouselCardWrapper .MethodInfo .MethodTitle{font-size:18px;font-weight:800}.CarouselCardWrapper .MethodInfo .MethodProcessingTime{color:var(--emw--color-primary, #f9c405);font-style:italic;font-size:12px}.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-small, 11px);font-weight:var(--emw--font-weight-normal, 300)}');
4385
+ function Po(e) {
4386
+ Qr(e, "svelte-tpnzvm", '*,*::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:15px;height:190px;width:160px;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:220px;width:180px}.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{display:flex;justify-content:center;align-content:center;align-items:center;height:100%}.CarouselCardWrapper .MethodLogo img{height:40px;width:auto}.CarouselCardWrapper .MethodInfo{display:flex;flex-direction:column;gap:10px;word-break:break-word}.CarouselCardWrapper .MethodInfo .MethodTitle{font-size:18px;font-weight:800}.CarouselCardWrapper .MethodInfo .MethodProcessingTime{color:var(--emw--color-primary, #f9c405);font-style:italic;font-size:12px}.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-small, 11px);font-weight:var(--emw--font-weight-normal, 300)}');
4387
4387
  }
4388
- function nr(e, t, r) {
4388
+ function rr(e, t, r) {
4389
4389
  const n = e.slice();
4390
4390
  return n[40] = t[r], n[42] = r, n;
4391
4391
  }
4392
- function ir(e, t, r) {
4392
+ function nr(e, t, r) {
4393
4393
  const n = e.slice();
4394
4394
  return n[43] = t[r], n[42] = r, n;
4395
4395
  }
4396
- function Oo(e) {
4396
+ function Mo(e) {
4397
4397
  let t, r = (
4398
4398
  /*$_*/
4399
4399
  e[8]("noFavoritePaymentMethods") + ""
@@ -4415,27 +4415,27 @@ function Oo(e) {
4415
4415
  }
4416
4416
  };
4417
4417
  }
4418
- function Bo(e) {
4419
- let t, r = !Ne(
4418
+ function Oo(e) {
4419
+ let t, r = !De(
4420
4420
  /*userAgent*/
4421
4421
  e[9]
4422
4422
  ) && /*promotedPaymentMethods*/
4423
- e[5].length > 1, n, i, o, s = !Ne(
4423
+ e[5].length > 1, n, i, o, s = !De(
4424
4424
  /*userAgent*/
4425
4425
  e[9]
4426
4426
  ) && /*promotedPaymentMethods*/
4427
- e[5].length > 1, a, l, u, h, f, c = r && or(e), g = Oe(
4427
+ e[5].length > 1, a, l, u, h, f, c = r && ir(e), g = Ie(
4428
4428
  /*promotedPaymentMethods*/
4429
4429
  e[5]
4430
4430
  ), d = [];
4431
4431
  for (let p = 0; p < g.length; p += 1)
4432
- d[p] = sr(ir(e, g, p));
4433
- let m = s && ar(e), _ = Oe(Array(
4432
+ d[p] = or(nr(e, g, p));
4433
+ let m = s && sr(e), _ = Ie(Array(
4434
4434
  /*promotedPaymentMethods*/
4435
4435
  e[5].length
4436
4436
  )), E = [];
4437
4437
  for (let p = 0; p < _.length; p += 1)
4438
- E[p] = ur(nr(e, _, p));
4438
+ E[p] = ar(rr(e, _, p));
4439
4439
  return {
4440
4440
  c() {
4441
4441
  t = T("div"), c && c.c(), n = R(), i = T("div");
@@ -4444,7 +4444,7 @@ function Bo(e) {
4444
4444
  o = R(), m && m.c(), l = R(), u = T("div");
4445
4445
  for (let p = 0; p < E.length; p += 1)
4446
4446
  E[p].c();
4447
- P(i, "class", "Carousel"), P(t, "class", "CarouselCardsContainer"), Ge(() => (
4447
+ P(i, "class", "Carousel"), P(t, "class", "CarouselCardsContainer"), Ve(() => (
4448
4448
  /*div1_elementresize_handler*/
4449
4449
  e[28].call(t)
4450
4450
  )), P(u, "class", "VisualDotIndicator");
@@ -4453,7 +4453,7 @@ function Bo(e) {
4453
4453
  j(p, t, S), c && c.m(t, null), v(t, n), v(t, i);
4454
4454
  for (let y = 0; y < d.length; y += 1)
4455
4455
  d[y] && d[y].m(i, null);
4456
- e[26](i), v(t, o), m && m.m(t, null), a = tn(
4456
+ e[26](i), v(t, o), m && m.m(t, null), a = en(
4457
4457
  t,
4458
4458
  /*div1_elementresize_handler*/
4459
4459
  e[28].bind(t)
@@ -4483,40 +4483,40 @@ function Bo(e) {
4483
4483
  },
4484
4484
  p(p, S) {
4485
4485
  if (S[0] & /*promotedPaymentMethods*/
4486
- 32 && (r = !Ne(
4486
+ 32 && (r = !De(
4487
4487
  /*userAgent*/
4488
4488
  p[9]
4489
4489
  ) && /*promotedPaymentMethods*/
4490
- p[5].length > 1), r ? c ? c.p(p, S) : (c = or(p), c.c(), c.m(t, n)) : c && (c.d(1), c = null), S[0] & /*activeIndex, selectPayMeth, promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals, $_, methodtype*/
4490
+ p[5].length > 1), r ? c ? c.p(p, S) : (c = ir(p), c.c(), c.m(t, n)) : c && (c.d(1), c = null), S[0] & /*activeIndex, selectPayMeth, promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals, $_, methodtype*/
4491
4491
  1521) {
4492
- g = Oe(
4492
+ g = Ie(
4493
4493
  /*promotedPaymentMethods*/
4494
4494
  p[5]
4495
4495
  );
4496
4496
  let y;
4497
4497
  for (y = 0; y < g.length; y += 1) {
4498
- const A = ir(p, g, y);
4499
- d[y] ? d[y].p(A, S) : (d[y] = sr(A), d[y].c(), d[y].m(i, null));
4498
+ const A = nr(p, g, y);
4499
+ d[y] ? d[y].p(A, S) : (d[y] = or(A), d[y].c(), d[y].m(i, null));
4500
4500
  }
4501
4501
  for (; y < d.length; y += 1)
4502
4502
  d[y].d(1);
4503
4503
  d.length = g.length;
4504
4504
  }
4505
4505
  if (S[0] & /*promotedPaymentMethods*/
4506
- 32 && (s = !Ne(
4506
+ 32 && (s = !De(
4507
4507
  /*userAgent*/
4508
4508
  p[9]
4509
4509
  ) && /*promotedPaymentMethods*/
4510
- p[5].length > 1), s ? m ? m.p(p, S) : (m = ar(p), m.c(), m.m(t, null)) : m && (m.d(1), m = null), S[0] & /*activeIndex, promotedPaymentMethods*/
4510
+ p[5].length > 1), s ? m ? m.p(p, S) : (m = sr(p), m.c(), m.m(t, null)) : m && (m.d(1), m = null), S[0] & /*activeIndex, promotedPaymentMethods*/
4511
4511
  96) {
4512
- _ = Oe(Array(
4512
+ _ = Ie(Array(
4513
4513
  /*promotedPaymentMethods*/
4514
4514
  p[5].length
4515
4515
  ));
4516
4516
  let y;
4517
4517
  for (y = 0; y < _.length; y += 1) {
4518
- const A = nr(p, _, y);
4519
- E[y] ? E[y].p(A, S) : (E[y] = ur(A), E[y].c(), E[y].m(u, null));
4518
+ const A = rr(p, _, y);
4519
+ E[y] ? E[y].p(A, S) : (E[y] = ar(A), E[y].c(), E[y].m(u, null));
4520
4520
  }
4521
4521
  for (; y < E.length; y += 1)
4522
4522
  E[y].d(1);
@@ -4528,7 +4528,7 @@ function Bo(e) {
4528
4528
  }
4529
4529
  };
4530
4530
  }
4531
- function or(e) {
4531
+ function ir(e) {
4532
4532
  let t, r, n;
4533
4533
  return {
4534
4534
  c() {
@@ -4548,7 +4548,7 @@ function or(e) {
4548
4548
  }
4549
4549
  };
4550
4550
  }
4551
- function sr(e) {
4551
+ function or(e) {
4552
4552
  let t, r, n, i, o, s, a, l, u, h = (
4553
4553
  /*method*/
4554
4554
  (e[43].Label || /*method*/
@@ -4561,7 +4561,7 @@ function sr(e) {
4561
4561
  ), _, E, p, S, y, A = (
4562
4562
  /*$_*/
4563
4563
  e[8]("generalMin") + ""
4564
- ), H, $, ee = Le(
4564
+ ), C, $, ee = Re(
4565
4565
  /*method*/
4566
4566
  e[43].DisplayCurrency.MinAmountLimit,
4567
4567
  /*method*/
@@ -4584,10 +4584,10 @@ function sr(e) {
4584
4584
  e[7]
4585
4585
  )
4586
4586
  }
4587
- ) + "", te, Te, J, Y = (
4587
+ ) + "", te, He, J, Y = (
4588
4588
  /*$_*/
4589
4589
  e[8]("generalMax") + ""
4590
- ), k, He, re = Le(
4590
+ ), k, Ae, re = Re(
4591
4591
  /*method*/
4592
4592
  e[43].DisplayCurrency.MaxAmountLimit,
4593
4593
  /*method*/
@@ -4610,8 +4610,8 @@ function sr(e) {
4610
4610
  e[7]
4611
4611
  )
4612
4612
  }
4613
- ) + "", me, Ce, W, de, Ae;
4614
- function Ye() {
4613
+ ) + "", me, Pe, X, de, Me;
4614
+ function et() {
4615
4615
  return (
4616
4616
  /*click_handler_1*/
4617
4617
  e[25](
@@ -4624,14 +4624,14 @@ function sr(e) {
4624
4624
  }
4625
4625
  return {
4626
4626
  c() {
4627
- t = T("div"), r = T("div"), n = T("img"), s = R(), a = T("div"), l = T("div"), u = T("span"), f = F(h), c = R(), g = T("div"), d = T("span"), _ = F(m), E = R(), p = T("div"), S = T("span"), y = T("span"), H = F(A), $ = R(), te = F(ee), Te = R(), J = T("span"), k = F(Y), He = R(), me = F(re), Ce = R(), Mt(n.src, i = /*method*/
4627
+ t = T("div"), r = T("div"), n = T("img"), s = R(), a = T("div"), l = T("div"), u = T("span"), f = F(h), c = R(), g = T("div"), d = T("span"), _ = F(m), E = R(), p = T("div"), S = T("span"), y = T("span"), C = F(A), $ = R(), te = F(ee), He = R(), J = T("span"), k = F(Y), Ae = R(), me = F(re), Pe = R(), Mt(n.src, i = /*method*/
4628
4628
  e[43].LogoUrl) || P(n, "src", i), P(n, "alt", o = /*method*/
4629
- e[43].Label), P(r, "class", "MethodLogo"), P(l, "class", "MethodTitle"), P(g, "class", "MethodProcessingTime"), P(S, "class", "Limits"), P(p, "class", "MethodLimits"), P(a, "class", "MethodInfo"), P(t, "class", W = `CarouselCardWrapper ${/*index*/
4629
+ e[43].Label), P(r, "class", "MethodLogo"), P(l, "class", "MethodTitle"), P(g, "class", "MethodProcessingTime"), P(S, "class", "Limits"), P(p, "class", "MethodLimits"), P(a, "class", "MethodInfo"), P(t, "class", X = `CarouselCardWrapper ${/*index*/
4630
4630
  e[42] === /*activeIndex*/
4631
4631
  e[6] ? "active" : ""}`);
4632
4632
  },
4633
4633
  m(q, I) {
4634
- j(q, t, I), v(t, r), v(r, n), v(t, s), v(t, a), v(a, l), v(l, u), v(u, f), v(a, c), v(a, g), v(g, d), v(d, _), v(a, E), v(a, p), v(p, S), v(S, y), v(y, H), v(y, $), v(y, te), v(S, Te), v(S, J), v(J, k), v(J, He), v(J, me), v(t, Ce), de || (Ae = Z(t, "click", Ye), de = !0);
4634
+ j(q, t, I), v(t, r), v(r, n), v(t, s), v(t, a), v(a, l), v(l, u), v(u, f), v(a, c), v(a, g), v(g, d), v(d, _), v(a, E), v(a, p), v(p, S), v(S, y), v(y, C), v(y, $), v(y, te), v(S, He), v(S, J), v(J, k), v(J, Ae), v(J, me), v(t, Pe), de || (Me = Z(t, "click", et), de = !0);
4635
4635
  },
4636
4636
  p(q, I) {
4637
4637
  e = q, I[0] & /*promotedPaymentMethods*/
@@ -4647,8 +4647,8 @@ function sr(e) {
4647
4647
  e[0]}${/*method*/
4648
4648
  e[43].ProcessingTime}`) + "") && V(_, m), I[0] & /*$_*/
4649
4649
  256 && A !== (A = /*$_*/
4650
- e[8]("generalMin") + "") && V(H, A), I[0] & /*promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals*/
4651
- 176 && ee !== (ee = Le(
4650
+ e[8]("generalMin") + "") && V(C, A), I[0] & /*promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals*/
4651
+ 176 && ee !== (ee = Re(
4652
4652
  /*method*/
4653
4653
  e[43].DisplayCurrency.MinAmountLimit,
4654
4654
  /*method*/
@@ -4674,7 +4674,7 @@ function sr(e) {
4674
4674
  ) + "") && V(te, ee), I[0] & /*$_*/
4675
4675
  256 && Y !== (Y = /*$_*/
4676
4676
  e[8]("generalMax") + "") && V(k, Y), I[0] & /*promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals*/
4677
- 176 && re !== (re = Le(
4677
+ 176 && re !== (re = Re(
4678
4678
  /*method*/
4679
4679
  e[43].DisplayCurrency.MaxAmountLimit,
4680
4680
  /*method*/
@@ -4698,16 +4698,16 @@ function sr(e) {
4698
4698
  )
4699
4699
  }
4700
4700
  ) + "") && V(me, re), I[0] & /*activeIndex*/
4701
- 64 && W !== (W = `CarouselCardWrapper ${/*index*/
4701
+ 64 && X !== (X = `CarouselCardWrapper ${/*index*/
4702
4702
  e[42] === /*activeIndex*/
4703
- e[6] ? "active" : ""}`) && P(t, "class", W);
4703
+ e[6] ? "active" : ""}`) && P(t, "class", X);
4704
4704
  },
4705
4705
  d(q) {
4706
- q && D(t), de = !1, Ae();
4706
+ q && D(t), de = !1, Me();
4707
4707
  }
4708
4708
  };
4709
4709
  }
4710
- function ar(e) {
4710
+ function sr(e) {
4711
4711
  let t, r, n;
4712
4712
  return {
4713
4713
  c() {
@@ -4727,7 +4727,7 @@ function ar(e) {
4727
4727
  }
4728
4728
  };
4729
4729
  }
4730
- function ur(e) {
4730
+ function ar(e) {
4731
4731
  let t, r;
4732
4732
  return {
4733
4733
  c() {
@@ -4749,7 +4749,7 @@ function ur(e) {
4749
4749
  }
4750
4750
  };
4751
4751
  }
4752
- function Io(e) {
4752
+ function Bo(e) {
4753
4753
  let t, r, n, i, o = (
4754
4754
  /*$_*/
4755
4755
  e[8]("carouselTitle") + ""
@@ -4760,7 +4760,7 @@ function Io(e) {
4760
4760
  function c(m, _) {
4761
4761
  return (
4762
4762
  /*promotedPaymentMethods*/
4763
- m[5].length > 0 ? Bo : Oo
4763
+ m[5].length > 0 ? Oo : Mo
4764
4764
  );
4765
4765
  }
4766
4766
  let g = c(e), d = g(e);
@@ -4785,10 +4785,10 @@ function Io(e) {
4785
4785
  }
4786
4786
  };
4787
4787
  }
4788
- function Lo(e, t, r) {
4788
+ function Io(e, t, r) {
4789
4789
  let n, i;
4790
- Qr(e, lo, (b) => r(8, i = b));
4791
- 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: d = "" } = t, m = {}, _, E = [], p = 0, S = !0, y = 0, A = !1, H, $, ee = window.navigator.userAgent;
4790
+ Zr(e, uo, (b) => r(8, i = b));
4791
+ 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: d = "" } = t, m = {}, _, E = [], p = 0, S = !0, y = 0, A = !1, C, $, ee = window.navigator.userAgent;
4792
4792
  const te = (b) => {
4793
4793
  const { data: { type: O } = {} } = b || {};
4794
4794
  switch (O) {
@@ -4802,10 +4802,10 @@ function Lo(e, t, r) {
4802
4802
  }
4803
4803
  }
4804
4804
  };
4805
- Object.keys(rr).forEach((b) => {
4806
- zt(b, rr[b]);
4805
+ Object.keys(tr).forEach((b) => {
4806
+ zt(b, tr[b]);
4807
4807
  });
4808
- const Te = () => {
4808
+ const He = () => {
4809
4809
  let b = d;
4810
4810
  if (b)
4811
4811
  return fetch(b).then((O) => O.json()).then((O) => {
@@ -4816,9 +4816,9 @@ function Lo(e, t, r) {
4816
4816
  console.log(O);
4817
4817
  });
4818
4818
  }, J = () => {
4819
- ho(o);
4819
+ lo(o);
4820
4820
  }, Y = (b, O) => {
4821
- r(6, p = O), r(2, H.style.transform = k(), H), b.Name, window.postMessage({ type: "SelectPayMeth", details: b }, window.location.href), dispatchEvent(new CustomEvent(
4821
+ r(6, p = O), r(2, C.style.transform = k(), C), b.Name, window.postMessage({ type: "SelectPayMeth", details: b }, window.location.href), dispatchEvent(new CustomEvent(
4822
4822
  "selectPayMeth",
4823
4823
  {
4824
4824
  detail: b,
@@ -4831,13 +4831,13 @@ function Lo(e, t, r) {
4831
4831
  if (E.length == 1)
4832
4832
  return "translateX(0px)";
4833
4833
  const U = 160 + 5, At = U * E.length;
4834
- let qe;
4835
- E.length % 2 === 1 ? qe = Math.floor(E.length / 2) : qe = Math.floor(E.length / 2) - 0.5;
4834
+ let tt;
4835
+ E.length % 2 === 1 ? tt = Math.floor(E.length / 2) : tt = Math.floor(E.length / 2) - 0.5;
4836
4836
  let Wr = $ - At;
4837
- const zr = qe - p;
4838
- return `translateX(${Wr / 2 + zr * U - 20}px)`;
4839
- }, He = (b) => {
4840
- y = b.touches[0].clientX, A = !0, H.classList.add("dragging");
4837
+ const Xr = tt - p;
4838
+ return `translateX(${Wr / 2 + Xr * U - 20}px)`;
4839
+ }, Ae = (b) => {
4840
+ y = b.touches[0].clientX, A = !0, C.classList.add("dragging");
4841
4841
  }, re = (b) => {
4842
4842
  if (!A)
4843
4843
  return;
@@ -4846,29 +4846,29 @@ function Lo(e, t, r) {
4846
4846
  }, me = (b) => {
4847
4847
  if (!A)
4848
4848
  return;
4849
- A = !1, H.classList.remove("dragging");
4849
+ A = !1, C.classList.remove("dragging");
4850
4850
  const O = b.changedTouches[0].clientX, U = y - O;
4851
- Math.abs(U) > 50 && (U > 0 && p < E.length - 1 ? r(6, p++, p) : U < 0 && p > 0 && r(6, p--, p), r(2, H.style.transform = k(), H));
4852
- }, Ce = () => {
4853
- S && (r(2, H.style.transform = k(), H), S = !1);
4854
- }, W = (b) => {
4855
- b === "next" && p < E.length - 1 ? r(6, p++, p) : b === "prev" && p > 0 && r(6, p--, p), r(2, H.style.transform = k(), H);
4851
+ Math.abs(U) > 50 && (U > 0 && p < E.length - 1 ? r(6, p++, p) : U < 0 && p > 0 && r(6, p--, p), r(2, C.style.transform = k(), C));
4852
+ }, Pe = () => {
4853
+ S && (r(2, C.style.transform = k(), C), S = !1);
4854
+ }, X = (b) => {
4855
+ b === "next" && p < E.length - 1 ? r(6, p++, p) : b === "prev" && p > 0 && r(6, p--, p), r(2, C.style.transform = k(), C);
4856
4856
  };
4857
- on(() => (Po(s, a, l, u), window.addEventListener("message", te), window.postMessage({ type: "CashierCarouselReady" }, window.location.href), H && k(), () => {
4857
+ nn(() => (Ao(s, a, l, u), window.addEventListener("message", te), window.postMessage({ type: "CashierCarouselReady" }, window.location.href), C && k(), () => {
4858
4858
  window.removeEventListener("message", te);
4859
4859
  }));
4860
- const de = () => W("prev"), Ae = (b, O) => Y(b, O);
4861
- function Ye(b) {
4862
- Fe[b ? "unshift" : "push"](() => {
4863
- H = b, r(2, H);
4860
+ const de = () => X("prev"), Me = (b, O) => Y(b, O);
4861
+ function et(b) {
4862
+ ke[b ? "unshift" : "push"](() => {
4863
+ C = b, r(2, C);
4864
4864
  });
4865
4865
  }
4866
- const q = () => W("next");
4866
+ const q = () => X("next");
4867
4867
  function I() {
4868
4868
  $ = this.clientWidth, r(3, $);
4869
4869
  }
4870
- function Xr(b) {
4871
- Fe[b ? "unshift" : "push"](() => {
4870
+ function Vr(b) {
4871
+ ke[b ? "unshift" : "push"](() => {
4872
4872
  _ = b, r(1, _);
4873
4873
  });
4874
4874
  }
@@ -4877,16 +4877,16 @@ function Lo(e, t, r) {
4877
4877
  }, e.$$.update = () => {
4878
4878
  e.$$.dirty[0] & /*lang*/
4879
4879
  32768 && o && J(), e.$$.dirty[0] & /*lang, translationurl*/
4880
- 8421376 && o && d && Te(), e.$$.dirty[0] & /*carouselContainer, carouselContainerWidth*/
4881
- 12 && H && $ && Ce(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4882
- 1048578 && f && _ && co(_, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4883
- 2097154 && c && _ && fo(_, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4884
- 4194306 && g && _ && po(_, `${g}.Style`), e.$$.dirty[0] & /*currencydecimals*/
4880
+ 8421376 && o && d && He(), e.$$.dirty[0] & /*carouselContainer, carouselContainerWidth*/
4881
+ 12 && C && $ && Pe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4882
+ 1048578 && f && _ && ho(_, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4883
+ 2097154 && c && _ && co(_, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4884
+ 4194306 && g && _ && fo(_, `${g}.Style`), e.$$.dirty[0] & /*currencydecimals*/
4885
4885
  524288 && r(7, n = Number(u));
4886
4886
  }, [
4887
4887
  h,
4888
4888
  _,
4889
- H,
4889
+ C,
4890
4890
  $,
4891
4891
  m,
4892
4892
  E,
@@ -4895,10 +4895,10 @@ function Lo(e, t, r) {
4895
4895
  i,
4896
4896
  ee,
4897
4897
  Y,
4898
- He,
4898
+ Ae,
4899
4899
  re,
4900
4900
  me,
4901
- W,
4901
+ X,
4902
4902
  o,
4903
4903
  s,
4904
4904
  a,
@@ -4909,21 +4909,21 @@ function Lo(e, t, r) {
4909
4909
  g,
4910
4910
  d,
4911
4911
  de,
4912
- Ae,
4913
- Ye,
4912
+ Me,
4913
+ et,
4914
4914
  q,
4915
4915
  I,
4916
- Xr
4916
+ Vr
4917
4917
  ];
4918
4918
  }
4919
- class No extends gn {
4919
+ class Lo extends bn {
4920
4920
  constructor(t) {
4921
- super(), dn(
4921
+ super(), mn(
4922
4922
  this,
4923
4923
  t,
4924
- Lo,
4925
4924
  Io,
4926
- hr,
4925
+ Bo,
4926
+ lr,
4927
4927
  {
4928
4928
  lang: 15,
4929
4929
  local: 16,
@@ -4936,7 +4936,7 @@ class No extends gn {
4936
4936
  mbsource: 22,
4937
4937
  translationurl: 23
4938
4938
  },
4939
- Mo,
4939
+ Po,
4940
4940
  [-1, -1]
4941
4941
  );
4942
4942
  }
@@ -5001,7 +5001,7 @@ class No extends gn {
5001
5001
  this.$$set({ translationurl: t }), N();
5002
5002
  }
5003
5003
  }
5004
- bn(No, { lang: {}, local: {}, currencysymbol: {}, currencyposition: {}, currencydecimals: {}, methodtype: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5004
+ dn(Lo, { lang: {}, local: {}, currencysymbol: {}, currencyposition: {}, currencydecimals: {}, methodtype: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5005
5005
  export {
5006
- No as C
5006
+ Lo as C
5007
5007
  };