@everymatrix/player-account-gaming-limits-history-2 1.76.13 → 1.76.14

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,49 +1,49 @@
1
- function I() {
1
+ function B() {
2
2
  }
3
- function Ft(e) {
3
+ function Ut(e) {
4
4
  return e();
5
5
  }
6
- function pt() {
6
+ function ft() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function he(e) {
10
- e.forEach(Ft);
9
+ function ce(e) {
10
+ e.forEach(Ut);
11
11
  }
12
- function ht(e) {
12
+ function st(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function jt(e, t) {
15
+ function Gt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function Nr(e) {
18
+ function Cr(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function kt(e, ...t) {
21
+ function Ft(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const i of t)
24
24
  i(void 0);
25
- return I;
25
+ return B;
26
26
  }
27
27
  const r = e.subscribe(...t);
28
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
29
29
  }
30
- function Rr(e, t, r) {
31
- e.$$.on_destroy.push(kt(t, r));
30
+ function Nr(e, t, r) {
31
+ e.$$.on_destroy.push(Ft(t, r));
32
32
  }
33
- function dt(e) {
33
+ function mt(e) {
34
34
  return e ?? "";
35
35
  }
36
- function x(e, t) {
36
+ function T(e, t) {
37
37
  e.appendChild(t);
38
38
  }
39
- function Mr(e, t, r) {
40
- const i = Dr(e);
39
+ function Rr(e, t, r) {
40
+ const i = Mr(e);
41
41
  if (!i.getElementById(t)) {
42
- const n = P("style");
43
- n.id = t, n.textContent = r, $r(i, n);
42
+ const n = H("style");
43
+ n.id = t, n.textContent = r, Dr(i, n);
44
44
  }
45
45
  }
46
- function Dr(e) {
46
+ function Mr(e) {
47
47
  if (!e)
48
48
  return document;
49
49
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -53,8 +53,8 @@ function Dr(e) {
53
53
  t
54
54
  ) : e.ownerDocument;
55
55
  }
56
- function $r(e, t) {
57
- return x(
56
+ function Dr(e, t) {
57
+ return T(
58
58
  /** @type {Document} */
59
59
  e.head || e,
60
60
  t
@@ -66,29 +66,29 @@ function W(e, t, r) {
66
66
  function k(e) {
67
67
  e.parentNode && e.parentNode.removeChild(e);
68
68
  }
69
- function Ur(e, t) {
69
+ function $r(e, t) {
70
70
  for (let r = 0; r < e.length; r += 1)
71
71
  e[r] && e[r].d(t);
72
72
  }
73
- function P(e) {
73
+ function H(e) {
74
74
  return document.createElement(e);
75
75
  }
76
- function Me(e) {
76
+ function Ne(e) {
77
77
  return document.createElementNS("http://www.w3.org/2000/svg", e);
78
78
  }
79
- function U(e) {
79
+ function $(e) {
80
80
  return document.createTextNode(e);
81
81
  }
82
- function Xe() {
83
- return U(" ");
82
+ function Ve() {
83
+ return $(" ");
84
84
  }
85
- function Gr(e, t, r, i) {
85
+ function Ur(e, t, r, i) {
86
86
  return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
87
87
  }
88
- function E(e, t, r) {
88
+ function x(e, t, r) {
89
89
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
90
90
  }
91
- function Fr(e) {
91
+ function Gr(e) {
92
92
  return Array.from(e.childNodes);
93
93
  }
94
94
  function j(e, t) {
@@ -98,7 +98,7 @@ function j(e, t) {
98
98
  function ye(e, t, r) {
99
99
  e.classList.toggle(t, !!r);
100
100
  }
101
- function jr(e) {
101
+ function Fr(e) {
102
102
  const t = {};
103
103
  return e.childNodes.forEach(
104
104
  /** @param {Element} node */
@@ -107,98 +107,98 @@ function jr(e) {
107
107
  }
108
108
  ), t;
109
109
  }
110
- let ae;
111
- function se(e) {
112
- ae = e;
110
+ let ue;
111
+ function ae(e) {
112
+ ue = e;
113
113
  }
114
- function kr() {
115
- if (!ae)
114
+ function jr() {
115
+ if (!ue)
116
116
  throw new Error("Function called outside component initialization");
117
- return ae;
117
+ return ue;
118
118
  }
119
- function Vr(e) {
120
- kr().$$.on_mount.push(e);
119
+ function kr(e) {
120
+ jr().$$.on_mount.push(e);
121
121
  }
122
122
  const Q = [], Te = [];
123
123
  let Y = [];
124
- const yt = [], Wr = /* @__PURE__ */ Promise.resolve();
125
- let ze = !1;
126
- function Xr() {
127
- ze || (ze = !0, Wr.then(B));
124
+ const pt = [], Vr = /* @__PURE__ */ Promise.resolve();
125
+ let We = !1;
126
+ function Wr() {
127
+ We || (We = !0, Vr.then(O));
128
128
  }
129
- function Ze(e) {
129
+ function Xe(e) {
130
130
  Y.push(e);
131
131
  }
132
- const De = /* @__PURE__ */ new Set();
132
+ const Re = /* @__PURE__ */ new Set();
133
133
  let z = 0;
134
- function B() {
134
+ function O() {
135
135
  if (z !== 0)
136
136
  return;
137
- const e = ae;
137
+ const e = ue;
138
138
  do {
139
139
  try {
140
140
  for (; z < Q.length; ) {
141
141
  const t = Q[z];
142
- z++, se(t), zr(t.$$);
142
+ z++, ae(t), Xr(t.$$);
143
143
  }
144
144
  } catch (t) {
145
145
  throw Q.length = 0, z = 0, t;
146
146
  }
147
- for (se(null), Q.length = 0, z = 0; Te.length; )
147
+ for (ae(null), Q.length = 0, z = 0; Te.length; )
148
148
  Te.pop()();
149
149
  for (let t = 0; t < Y.length; t += 1) {
150
150
  const r = Y[t];
151
- De.has(r) || (De.add(r), r());
151
+ Re.has(r) || (Re.add(r), r());
152
152
  }
153
153
  Y.length = 0;
154
154
  } while (Q.length);
155
- for (; yt.length; )
156
- yt.pop()();
157
- ze = !1, De.clear(), se(e);
155
+ for (; pt.length; )
156
+ pt.pop()();
157
+ We = !1, Re.clear(), ae(e);
158
158
  }
159
- function zr(e) {
159
+ function Xr(e) {
160
160
  if (e.fragment !== null) {
161
- e.update(), he(e.before_update);
161
+ e.update(), ce(e.before_update);
162
162
  const t = e.dirty;
163
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ze);
163
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Xe);
164
164
  }
165
165
  }
166
- function Zr(e) {
166
+ function zr(e) {
167
167
  const t = [], r = [];
168
168
  Y.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), Y = t;
169
169
  }
170
- const Qr = /* @__PURE__ */ new Set();
171
- function Yr(e, t) {
172
- e && e.i && (Qr.delete(e), e.i(t));
170
+ const Zr = /* @__PURE__ */ new Set();
171
+ function Qr(e, t) {
172
+ e && e.i && (Zr.delete(e), e.i(t));
173
173
  }
174
- function gt(e) {
174
+ function dt(e) {
175
175
  return e?.length !== void 0 ? e : Array.from(e);
176
176
  }
177
- function Jr(e, t, r) {
177
+ function Yr(e, t, r) {
178
178
  const { fragment: i, after_update: n } = e.$$;
179
- i && i.m(t, r), Ze(() => {
180
- const o = e.$$.on_mount.map(Ft).filter(ht);
181
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : he(o), e.$$.on_mount = [];
182
- }), n.forEach(Ze);
179
+ i && i.m(t, r), Xe(() => {
180
+ const o = e.$$.on_mount.map(Ut).filter(st);
181
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ce(o), e.$$.on_mount = [];
182
+ }), n.forEach(Xe);
183
183
  }
184
- function qr(e, t) {
184
+ function Jr(e, t) {
185
185
  const r = e.$$;
186
- r.fragment !== null && (Zr(r.after_update), he(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
186
+ r.fragment !== null && (zr(r.after_update), ce(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
187
187
  }
188
- function Kr(e, t) {
189
- e.$$.dirty[0] === -1 && (Q.push(e), Xr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
188
+ function qr(e, t) {
189
+ e.$$.dirty[0] === -1 && (Q.push(e), Wr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
190
190
  }
191
- function ei(e, t, r, i, n, o, a = null, s = [-1]) {
192
- const h = ae;
193
- se(e);
191
+ function Kr(e, t, r, i, n, o, a = null, s = [-1]) {
192
+ const h = ue;
193
+ ae(e);
194
194
  const u = e.$$ = {
195
195
  fragment: null,
196
196
  ctx: [],
197
197
  // state
198
198
  props: o,
199
- update: I,
199
+ update: B,
200
200
  not_equal: n,
201
- bound: pt(),
201
+ bound: ft(),
202
202
  // lifecycle
203
203
  on_mount: [],
204
204
  on_destroy: [],
@@ -207,7 +207,7 @@ function ei(e, t, r, i, n, o, a = null, s = [-1]) {
207
207
  after_update: [],
208
208
  context: new Map(t.context || (h ? h.$$.context : [])),
209
209
  // everything else
210
- callbacks: pt(),
210
+ callbacks: ft(),
211
211
  dirty: s,
212
212
  skip_bound: !1,
213
213
  root: t.target || h.$$.root
@@ -216,19 +216,19 @@ function ei(e, t, r, i, n, o, a = null, s = [-1]) {
216
216
  let l = !1;
217
217
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
218
218
  const y = p.length ? p[0] : f;
219
- return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && Kr(e, c)), f;
220
- }) : [], u.update(), l = !0, he(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
219
+ return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && qr(e, c)), f;
220
+ }) : [], u.update(), l = !0, ce(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
221
221
  if (t.hydrate) {
222
- const c = Fr(t.target);
222
+ const c = Gr(t.target);
223
223
  u.fragment && u.fragment.l(c), c.forEach(k);
224
224
  } else
225
225
  u.fragment && u.fragment.c();
226
- t.intro && Yr(e.$$.fragment), Jr(e, t.target, t.anchor), B();
226
+ t.intro && Qr(e.$$.fragment), Yr(e, t.target, t.anchor), O();
227
227
  }
228
- se(h);
228
+ ae(h);
229
229
  }
230
- let Vt;
231
- typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
230
+ let jt;
231
+ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
232
232
  /** The Svelte component constructor */
233
233
  $$ctor;
234
234
  /** Slots */
@@ -270,7 +270,7 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
270
270
  let o;
271
271
  return {
272
272
  c: function() {
273
- o = P("slot"), n !== "default" && E(o, "name", n);
273
+ o = H("slot"), n !== "default" && x(o, "name", n);
274
274
  },
275
275
  /**
276
276
  * @param {HTMLElement} target
@@ -287,7 +287,7 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
287
287
  };
288
288
  if (await Promise.resolve(), !this.$$cn || this.$$c)
289
289
  return;
290
- const t = {}, r = jr(this);
290
+ const t = {}, r = Fr(this);
291
291
  for (const n of this.$$s)
292
292
  n in r && (t[n] = [e(n)]);
293
293
  for (const n of this.attributes) {
@@ -374,8 +374,8 @@ function ve(e, t, r, i) {
374
374
  return t;
375
375
  }
376
376
  }
377
- function ti(e, t, r, i, n, o) {
378
- let a = class extends Vt {
377
+ function ei(e, t, r, i, n, o) {
378
+ let a = class extends jt {
379
379
  constructor() {
380
380
  super(e, r, n), this.$$p_d = t;
381
381
  }
@@ -403,7 +403,7 @@ function ti(e, t, r, i, n, o) {
403
403
  }), e.element = /** @type {any} */
404
404
  a, a;
405
405
  }
406
- class ri {
406
+ class ti {
407
407
  /**
408
408
  * ### PRIVATE API
409
409
  *
@@ -422,7 +422,7 @@ class ri {
422
422
  $$set = void 0;
423
423
  /** @returns {void} */
424
424
  $destroy() {
425
- qr(this, 1), this.$destroy = I;
425
+ Jr(this, 1), this.$destroy = B;
426
426
  }
427
427
  /**
428
428
  * @template {Extract<keyof Events, string>} K
@@ -431,8 +431,8 @@ class ri {
431
431
  * @returns {() => void}
432
432
  */
433
433
  $on(t, r) {
434
- if (!ht(r))
435
- return I;
434
+ if (!st(r))
435
+ return B;
436
436
  const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
437
437
  return i.push(r), () => {
438
438
  const n = i.indexOf(r);
@@ -444,22 +444,22 @@ class ri {
444
444
  * @returns {void}
445
445
  */
446
446
  $set(t) {
447
- this.$$set && !Nr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
447
+ this.$$set && !Cr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
448
448
  }
449
449
  }
450
- const ii = "4";
451
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ii);
450
+ const ri = "4";
451
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ri);
452
452
  const Z = [];
453
- function ni(e, t) {
453
+ function ii(e, t) {
454
454
  return {
455
- subscribe: Ae(e, t).subscribe
455
+ subscribe: we(e, t).subscribe
456
456
  };
457
457
  }
458
- function Ae(e, t = I) {
458
+ function we(e, t = B) {
459
459
  let r;
460
460
  const i = /* @__PURE__ */ new Set();
461
461
  function n(s) {
462
- if (jt(e, s) && (e = s, r)) {
462
+ if (Gt(e, s) && (e = s, r)) {
463
463
  const h = !Z.length;
464
464
  for (const u of i)
465
465
  u[1](), Z.push(u, e);
@@ -473,31 +473,31 @@ function Ae(e, t = I) {
473
473
  function o(s) {
474
474
  n(s(e));
475
475
  }
476
- function a(s, h = I) {
476
+ function a(s, h = B) {
477
477
  const u = [s, h];
478
- return i.add(u), i.size === 1 && (r = t(n, o) || I), s(e), () => {
478
+ return i.add(u), i.size === 1 && (r = t(n, o) || B), s(e), () => {
479
479
  i.delete(u), i.size === 0 && r && (r(), r = null);
480
480
  };
481
481
  }
482
482
  return { set: n, update: o, subscribe: a };
483
483
  }
484
- function te(e, t, r) {
484
+ function re(e, t, r) {
485
485
  const i = !Array.isArray(e), n = i ? [e] : e;
486
486
  if (!n.every(Boolean))
487
487
  throw new Error("derived() expects stores as input, got a falsy value");
488
488
  const o = t.length < 2;
489
- return ni(r, (a, s) => {
489
+ return ii(r, (a, s) => {
490
490
  let h = !1;
491
491
  const u = [];
492
- let l = 0, c = I;
492
+ let l = 0, c = B;
493
493
  const f = () => {
494
494
  if (l)
495
495
  return;
496
496
  c();
497
497
  const y = t(i ? u[0] : u, a, s);
498
- o ? a(y) : c = ht(y) ? y : I;
498
+ o ? a(y) : c = st(y) ? y : B;
499
499
  }, p = n.map(
500
- (y, d) => kt(
500
+ (y, d) => Ft(
501
501
  y,
502
502
  (v) => {
503
503
  u[d] = v, l &= ~(1 << d), h && f();
@@ -508,110 +508,124 @@ function te(e, t, r) {
508
508
  )
509
509
  );
510
510
  return h = !0, f(), function() {
511
- he(p), c(), h = !1;
511
+ ce(p), c(), h = !1;
512
512
  };
513
513
  });
514
514
  }
515
- function oi(e) {
515
+ function ni(e) {
516
516
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
517
517
  }
518
- var si = function(t) {
519
- return ai(t) && !ui(t);
518
+ var oi = function(t) {
519
+ return si(t) && !ai(t);
520
520
  };
521
- function ai(e) {
521
+ function si(e) {
522
522
  return !!e && typeof e == "object";
523
523
  }
524
- function ui(e) {
524
+ function ai(e) {
525
525
  var t = Object.prototype.toString.call(e);
526
- return t === "[object RegExp]" || t === "[object Date]" || ci(e);
526
+ return t === "[object RegExp]" || t === "[object Date]" || hi(e);
527
527
  }
528
- var li = typeof Symbol == "function" && Symbol.for, hi = li ? Symbol.for("react.element") : 60103;
529
- function ci(e) {
530
- return e.$$typeof === hi;
528
+ var ui = typeof Symbol == "function" && Symbol.for, li = ui ? Symbol.for("react.element") : 60103;
529
+ function hi(e) {
530
+ return e.$$typeof === li;
531
531
  }
532
- function fi(e) {
532
+ function ci(e) {
533
533
  return Array.isArray(e) ? [] : {};
534
534
  }
535
- function ue(e, t) {
536
- return t.clone !== !1 && t.isMergeableObject(e) ? J(fi(e), e, t) : e;
535
+ function le(e, t) {
536
+ return t.clone !== !1 && t.isMergeableObject(e) ? q(ci(e), e, t) : e;
537
537
  }
538
- function mi(e, t, r) {
538
+ function fi(e, t, r) {
539
539
  return e.concat(t).map(function(i) {
540
- return ue(i, r);
540
+ return le(i, r);
541
541
  });
542
542
  }
543
- function pi(e, t) {
543
+ function mi(e, t) {
544
544
  if (!t.customMerge)
545
- return J;
545
+ return q;
546
546
  var r = t.customMerge(e);
547
- return typeof r == "function" ? r : J;
547
+ return typeof r == "function" ? r : q;
548
548
  }
549
- function di(e) {
549
+ function pi(e) {
550
550
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
551
551
  return Object.propertyIsEnumerable.call(e, t);
552
552
  }) : [];
553
553
  }
554
- function bt(e) {
555
- return Object.keys(e).concat(di(e));
554
+ function yt(e) {
555
+ return Object.keys(e).concat(pi(e));
556
556
  }
557
- function Wt(e, t) {
557
+ function kt(e, t) {
558
558
  try {
559
559
  return t in e;
560
560
  } catch {
561
561
  return !1;
562
562
  }
563
563
  }
564
- function yi(e, t) {
565
- return Wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
564
+ function di(e, t) {
565
+ return kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
566
566
  }
567
- function gi(e, t, r) {
567
+ function yi(e, t, r) {
568
568
  var i = {};
569
- return r.isMergeableObject(e) && bt(e).forEach(function(n) {
570
- i[n] = ue(e[n], r);
571
- }), bt(t).forEach(function(n) {
572
- yi(e, n) || (Wt(e, n) && r.isMergeableObject(t[n]) ? i[n] = pi(n, r)(e[n], t[n], r) : i[n] = ue(t[n], r));
569
+ return r.isMergeableObject(e) && yt(e).forEach(function(n) {
570
+ i[n] = le(e[n], r);
571
+ }), yt(t).forEach(function(n) {
572
+ di(e, n) || (kt(e, n) && r.isMergeableObject(t[n]) ? i[n] = mi(n, r)(e[n], t[n], r) : i[n] = le(t[n], r));
573
573
  }), i;
574
574
  }
575
- function J(e, t, r) {
576
- r = r || {}, r.arrayMerge = r.arrayMerge || mi, r.isMergeableObject = r.isMergeableObject || si, r.cloneUnlessOtherwiseSpecified = ue;
575
+ function q(e, t, r) {
576
+ r = r || {}, r.arrayMerge = r.arrayMerge || fi, r.isMergeableObject = r.isMergeableObject || oi, r.cloneUnlessOtherwiseSpecified = le;
577
577
  var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
578
- return o ? i ? r.arrayMerge(e, t, r) : gi(e, t, r) : ue(t, r);
578
+ return o ? i ? r.arrayMerge(e, t, r) : yi(e, t, r) : le(t, r);
579
579
  }
580
- J.all = function(t, r) {
580
+ q.all = function(t, r) {
581
581
  if (!Array.isArray(t))
582
582
  throw new Error("first argument should be an array");
583
583
  return t.reduce(function(i, n) {
584
- return J(i, n, r);
584
+ return q(i, n, r);
585
585
  }, {});
586
586
  };
587
- var bi = J, vi = bi;
588
- const _i = /* @__PURE__ */ oi(vi);
589
- var Qe = function(e, t) {
590
- return Qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
587
+ var bi = q, gi = bi;
588
+ const vi = /* @__PURE__ */ ni(gi);
589
+ /*! *****************************************************************************
590
+ Copyright (c) Microsoft Corporation.
591
+
592
+ Permission to use, copy, modify, and/or distribute this software for any
593
+ purpose with or without fee is hereby granted.
594
+
595
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
596
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
597
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
598
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
599
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
600
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
601
+ PERFORMANCE OF THIS SOFTWARE.
602
+ ***************************************************************************** */
603
+ var ze = function(e, t) {
604
+ return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
591
605
  r.__proto__ = i;
592
606
  } || function(r, i) {
593
607
  for (var n in i)
594
608
  Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
595
- }, Qe(e, t);
609
+ }, ze(e, t);
596
610
  };
597
- function Pe(e, t) {
611
+ function G(e, t) {
598
612
  if (typeof t != "function" && t !== null)
599
613
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
600
- Qe(e, t);
614
+ ze(e, t);
601
615
  function r() {
602
616
  this.constructor = e;
603
617
  }
604
618
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
605
619
  }
606
- var R = function() {
607
- return R = Object.assign || function(t) {
620
+ var _ = function() {
621
+ return _ = Object.assign || function(t) {
608
622
  for (var r, i = 1, n = arguments.length; i < n; i++) {
609
623
  r = arguments[i];
610
624
  for (var o in r)
611
625
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
612
626
  }
613
627
  return t;
614
- }, R.apply(this, arguments);
628
+ }, _.apply(this, arguments);
615
629
  };
616
630
  function Ei(e, t) {
617
631
  var r = {};
@@ -622,119 +636,143 @@ function Ei(e, t) {
622
636
  t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
623
637
  return r;
624
638
  }
625
- function $e(e, t, r) {
639
+ function Ze(e) {
640
+ var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
641
+ if (r)
642
+ return r.call(e);
643
+ if (e && typeof e.length == "number")
644
+ return {
645
+ next: function() {
646
+ return e && i >= e.length && (e = void 0), { value: e && e[i++], done: !e };
647
+ }
648
+ };
649
+ throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
650
+ }
651
+ function Qe(e, t) {
652
+ var r = typeof Symbol == "function" && e[Symbol.iterator];
653
+ if (!r)
654
+ return e;
655
+ var i = r.call(e), n, o = [], a;
656
+ try {
657
+ for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; )
658
+ o.push(n.value);
659
+ } catch (s) {
660
+ a = { error: s };
661
+ } finally {
662
+ try {
663
+ n && !n.done && (r = i.return) && r.call(i);
664
+ } finally {
665
+ if (a)
666
+ throw a.error;
667
+ }
668
+ }
669
+ return o;
670
+ }
671
+ function J(e, t, r) {
626
672
  if (r || arguments.length === 2)
627
673
  for (var i = 0, n = t.length, o; i < n; i++)
628
674
  (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
629
- return e.concat(o || Array.prototype.slice.call(t));
675
+ return e.concat(o || t);
630
676
  }
631
- function Ue(e, t) {
632
- var r = t && t.cache ? t.cache : Pi, i = t && t.serializer ? t.serializer : wi, n = t && t.strategy ? t.strategy : Li;
677
+ function Me(e, t) {
678
+ var r = t && t.cache ? t.cache : wi, i = t && t.serializer ? t.serializer : Si, n = t && t.strategy ? t.strategy : xi;
633
679
  return n(e, {
634
680
  cache: r,
635
681
  serializer: i
636
682
  });
637
683
  }
638
- function xi(e) {
684
+ function _i(e) {
639
685
  return e == null || typeof e == "number" || typeof e == "boolean";
640
686
  }
641
- function Ti(e, t, r, i) {
642
- var n = xi(i) ? i : r(i), o = t.get(n);
687
+ function Vt(e, t, r, i) {
688
+ var n = _i(i) ? i : r(i), o = t.get(n);
643
689
  return typeof o > "u" && (o = e.call(this, i), t.set(n, o)), o;
644
690
  }
645
- function Xt(e, t, r) {
691
+ function Wt(e, t, r) {
646
692
  var i = Array.prototype.slice.call(arguments, 3), n = r(i), o = t.get(n);
647
693
  return typeof o > "u" && (o = e.apply(this, i), t.set(n, o)), o;
648
694
  }
649
- function zt(e, t, r, i, n) {
695
+ function at(e, t, r, i, n) {
650
696
  return r.bind(t, e, i, n);
651
697
  }
652
- function Li(e, t) {
653
- var r = e.length === 1 ? Ti : Xt;
654
- return zt(e, this, r, t.cache.create(), t.serializer);
698
+ function xi(e, t) {
699
+ var r = e.length === 1 ? Vt : Wt;
700
+ return at(e, this, r, t.cache.create(), t.serializer);
655
701
  }
656
- function Si(e, t) {
657
- return zt(e, this, Xt, t.cache.create(), t.serializer);
702
+ function Ti(e, t) {
703
+ return at(e, this, Wt, t.cache.create(), t.serializer);
658
704
  }
659
- var wi = function() {
705
+ function Li(e, t) {
706
+ return at(e, this, Vt, t.cache.create(), t.serializer);
707
+ }
708
+ var Si = function() {
660
709
  return JSON.stringify(arguments);
661
- }, Ai = (
662
- /** @class */
663
- function() {
664
- function e() {
665
- this.cache = /* @__PURE__ */ Object.create(null);
666
- }
667
- return e.prototype.get = function(t) {
668
- return this.cache[t];
669
- }, e.prototype.set = function(t, r) {
670
- this.cache[t] = r;
671
- }, e;
672
- }()
673
- ), Pi = {
710
+ };
711
+ function ut() {
712
+ this.cache = /* @__PURE__ */ Object.create(null);
713
+ }
714
+ ut.prototype.get = function(e) {
715
+ return this.cache[e];
716
+ };
717
+ ut.prototype.set = function(e, t) {
718
+ this.cache[e] = t;
719
+ };
720
+ var wi = {
674
721
  create: function() {
675
- return new Ai();
722
+ return new ut();
676
723
  }
677
- }, Ge = {
678
- variadic: Si
679
- }, Le = function() {
680
- return Le = Object.assign || function(t) {
681
- for (var r, i = 1, n = arguments.length; i < n; i++) {
682
- r = arguments[i];
683
- for (var o in r)
684
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
685
- }
686
- return t;
687
- }, Le.apply(this, arguments);
688
- };
689
- var b;
724
+ }, De = {
725
+ variadic: Ti,
726
+ monadic: Li
727
+ }, g;
690
728
  (function(e) {
691
729
  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";
692
- })(b || (b = {}));
693
- var L;
730
+ })(g || (g = {}));
731
+ var S;
694
732
  (function(e) {
695
733
  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";
696
- })(L || (L = {}));
697
- var q;
734
+ })(S || (S = {}));
735
+ var K;
698
736
  (function(e) {
699
737
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
700
- })(q || (q = {}));
701
- function vt(e) {
702
- return e.type === L.literal;
738
+ })(K || (K = {}));
739
+ function bt(e) {
740
+ return e.type === S.literal;
703
741
  }
704
- function Hi(e) {
705
- return e.type === L.argument;
742
+ function Ai(e) {
743
+ return e.type === S.argument;
744
+ }
745
+ function Xt(e) {
746
+ return e.type === S.number;
747
+ }
748
+ function zt(e) {
749
+ return e.type === S.date;
706
750
  }
707
751
  function Zt(e) {
708
- return e.type === L.number;
752
+ return e.type === S.time;
709
753
  }
710
754
  function Qt(e) {
711
- return e.type === L.date;
755
+ return e.type === S.select;
712
756
  }
713
757
  function Yt(e) {
714
- return e.type === L.time;
758
+ return e.type === S.plural;
759
+ }
760
+ function Hi(e) {
761
+ return e.type === S.pound;
715
762
  }
716
763
  function Jt(e) {
717
- return e.type === L.select;
764
+ return e.type === S.tag;
718
765
  }
719
766
  function qt(e) {
720
- return e.type === L.plural;
721
- }
722
- function Oi(e) {
723
- return e.type === L.pound;
724
- }
725
- function Kt(e) {
726
- return e.type === L.tag;
727
- }
728
- function er(e) {
729
- return !!(e && typeof e == "object" && e.type === q.number);
767
+ return !!(e && typeof e == "object" && e.type === K.number);
730
768
  }
731
769
  function Ye(e) {
732
- return !!(e && typeof e == "object" && e.type === q.dateTime);
770
+ return !!(e && typeof e == "object" && e.type === K.dateTime);
733
771
  }
734
- var tr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ii = /(?:[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;
735
- function Bi(e) {
772
+ var Kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pi = /(?:[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;
773
+ function Ii(e) {
736
774
  var t = {};
737
- return e.replace(Ii, function(r) {
775
+ return e.replace(Pi, function(r) {
738
776
  var i = r.length;
739
777
  switch (r[0]) {
740
778
  case "G":
@@ -823,21 +861,11 @@ function Bi(e) {
823
861
  return "";
824
862
  }), t;
825
863
  }
826
- var w = function() {
827
- return w = Object.assign || function(t) {
828
- for (var r, i = 1, n = arguments.length; i < n; i++) {
829
- r = arguments[i];
830
- for (var o in r)
831
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
832
- }
833
- return t;
834
- }, w.apply(this, arguments);
835
- };
836
- var Ci = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
837
- function Ni(e) {
864
+ var Bi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
865
+ function Oi(e) {
838
866
  if (e.length === 0)
839
867
  throw new Error("Number skeleton cannot be empty");
840
- for (var t = e.split(Ci).filter(function(f) {
868
+ for (var t = e.split(Bi).filter(function(f) {
841
869
  return f.length > 0;
842
870
  }), r = [], i = 0, n = t; i < n.length; i++) {
843
871
  var o = n[i], a = o.split("/");
@@ -852,17 +880,17 @@ function Ni(e) {
852
880
  }
853
881
  return r;
854
882
  }
855
- function Ri(e) {
883
+ function Ci(e) {
856
884
  return e.replace(/^(.*?)-/, "");
857
885
  }
858
- var _t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, rr = /^(@+)?(\+|#+)?[rs]?$/g, Mi = /(\*)(0+)|(#+)(0+)|(0+)/g, ir = /^(0+)$/;
859
- function Et(e) {
886
+ var gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, Ni = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
887
+ function vt(e) {
860
888
  var t = {};
861
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(rr, function(r, i, n) {
889
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(er, function(r, i, n) {
862
890
  return typeof n != "string" ? (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length) : n === "+" ? t.minimumSignificantDigits = i.length : i[0] === "#" ? t.maximumSignificantDigits = i.length : (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length + (typeof n == "string" ? n.length : 0)), "";
863
891
  }), t;
864
892
  }
865
- function nr(e) {
893
+ function rr(e) {
866
894
  switch (e) {
867
895
  case "sign-auto":
868
896
  return {
@@ -902,7 +930,7 @@ function nr(e) {
902
930
  };
903
931
  }
904
932
  }
905
- function Di(e) {
933
+ function Ri(e) {
906
934
  var t;
907
935
  if (e[0] === "E" && e[1] === "E" ? (t = {
908
936
  notation: "engineering"
@@ -910,17 +938,17 @@ function Di(e) {
910
938
  notation: "scientific"
911
939
  }, e = e.slice(1)), t) {
912
940
  var r = e.slice(0, 2);
913
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ir.test(e))
941
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !tr.test(e))
914
942
  throw new Error("Malformed concise eng/scientific notation");
915
943
  t.minimumIntegerDigits = e.length;
916
944
  }
917
945
  return t;
918
946
  }
919
- function xt(e) {
920
- var t = {}, r = nr(e);
947
+ function Et(e) {
948
+ var t = {}, r = rr(e);
921
949
  return r || t;
922
950
  }
923
- function $i(e) {
951
+ function Mi(e) {
924
952
  for (var t = {}, r = 0, i = e; r < i.length; r++) {
925
953
  var n = i[r];
926
954
  switch (n.stem) {
@@ -944,7 +972,7 @@ function $i(e) {
944
972
  continue;
945
973
  case "measure-unit":
946
974
  case "unit":
947
- t.style = "unit", t.unit = Ri(n.options[0]);
975
+ t.style = "unit", t.unit = Ci(n.options[0]);
948
976
  continue;
949
977
  case "compact-short":
950
978
  case "K":
@@ -955,13 +983,13 @@ function $i(e) {
955
983
  t.notation = "compact", t.compactDisplay = "long";
956
984
  continue;
957
985
  case "scientific":
958
- t = w(w(w({}, t), { notation: "scientific" }), n.options.reduce(function(h, u) {
959
- return w(w({}, h), xt(u));
986
+ t = _(_(_({}, t), { notation: "scientific" }), n.options.reduce(function(h, u) {
987
+ return _(_({}, h), Et(u));
960
988
  }, {}));
961
989
  continue;
962
990
  case "engineering":
963
- t = w(w(w({}, t), { notation: "engineering" }), n.options.reduce(function(h, u) {
964
- return w(w({}, h), xt(u));
991
+ t = _(_(_({}, t), { notation: "engineering" }), n.options.reduce(function(h, u) {
992
+ return _(_({}, h), Et(u));
965
993
  }, {}));
966
994
  continue;
967
995
  case "notation-simple":
@@ -1006,7 +1034,7 @@ function $i(e) {
1006
1034
  case "integer-width":
1007
1035
  if (n.options.length > 1)
1008
1036
  throw new RangeError("integer-width stems only accept a single optional option");
1009
- n.options[0].replace(Mi, function(h, u, l, c, f, p) {
1037
+ n.options[0].replace(Ni, function(h, u, l, c, f, p) {
1010
1038
  if (u)
1011
1039
  t.minimumIntegerDigits = l.length;
1012
1040
  else {
@@ -1019,32 +1047,32 @@ function $i(e) {
1019
1047
  });
1020
1048
  continue;
1021
1049
  }
1022
- if (ir.test(n.stem)) {
1050
+ if (tr.test(n.stem)) {
1023
1051
  t.minimumIntegerDigits = n.stem.length;
1024
1052
  continue;
1025
1053
  }
1026
- if (_t.test(n.stem)) {
1054
+ if (gt.test(n.stem)) {
1027
1055
  if (n.options.length > 1)
1028
1056
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1029
- n.stem.replace(_t, function(h, u, l, c, f, p) {
1057
+ n.stem.replace(gt, function(h, u, l, c, f, p) {
1030
1058
  return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1031
1059
  });
1032
1060
  var o = n.options[0];
1033
- o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Et(o)));
1061
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), vt(o)));
1034
1062
  continue;
1035
1063
  }
1036
- if (rr.test(n.stem)) {
1037
- t = w(w({}, t), Et(n.stem));
1064
+ if (er.test(n.stem)) {
1065
+ t = _(_({}, t), vt(n.stem));
1038
1066
  continue;
1039
1067
  }
1040
- var a = nr(n.stem);
1041
- a && (t = w(w({}, t), a));
1042
- var s = Di(n.stem);
1043
- s && (t = w(w({}, t), s));
1068
+ var a = rr(n.stem);
1069
+ a && (t = _(_({}, t), a));
1070
+ var s = Ri(n.stem);
1071
+ s && (t = _(_({}, t), s));
1044
1072
  }
1045
1073
  return t;
1046
1074
  }
1047
- var ge = {
1075
+ var be = {
1048
1076
  "001": [
1049
1077
  "H",
1050
1078
  "h"
@@ -2459,13 +2487,13 @@ var ge = {
2459
2487
  "h"
2460
2488
  ]
2461
2489
  };
2462
- function Ui(e, t) {
2490
+ function Di(e, t) {
2463
2491
  for (var r = "", i = 0; i < e.length; i++) {
2464
2492
  var n = e.charAt(i);
2465
2493
  if (n === "j") {
2466
2494
  for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
2467
2495
  o++, i++;
2468
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Gi(t);
2496
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = $i(t);
2469
2497
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2470
2498
  r += h;
2471
2499
  for (; a-- > 0; )
@@ -2475,7 +2503,7 @@ function Ui(e, t) {
2475
2503
  }
2476
2504
  return r;
2477
2505
  }
2478
- function Gi(e) {
2506
+ function $i(e) {
2479
2507
  var t = e.hourCycle;
2480
2508
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2481
2509
  e.hourCycles && // @ts-ignore
@@ -2494,23 +2522,23 @@ function Gi(e) {
2494
2522
  }
2495
2523
  var r = e.language, i;
2496
2524
  r !== "root" && (i = e.maximize().region);
2497
- var n = ge[i || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
2525
+ var n = be[i || ""] || be[r || ""] || be["".concat(r, "-001")] || be["001"];
2498
2526
  return n[0];
2499
2527
  }
2500
- var Fe, Fi = new RegExp("^".concat(tr.source, "*")), ji = new RegExp("".concat(tr.source, "*$"));
2501
- function _(e, t) {
2528
+ var $e, Ui = new RegExp("^".concat(Kt.source, "*")), Gi = new RegExp("".concat(Kt.source, "*$"));
2529
+ function E(e, t) {
2502
2530
  return { start: e, end: t };
2503
2531
  }
2504
- var ki = !!String.prototype.startsWith && "_a".startsWith("a", 1), Vi = !!String.fromCodePoint, Wi = !!Object.fromEntries, Xi = !!String.prototype.codePointAt, zi = !!String.prototype.trimStart, Zi = !!String.prototype.trimEnd, Qi = !!Number.isSafeInteger, Yi = Qi ? Number.isSafeInteger : function(e) {
2532
+ var Fi = !!String.prototype.startsWith && "_a".startsWith("a", 1), ji = !!String.fromCodePoint, ki = !!Object.fromEntries, Vi = !!String.prototype.codePointAt, Wi = !!String.prototype.trimStart, Xi = !!String.prototype.trimEnd, zi = !!Number.isSafeInteger, Zi = zi ? Number.isSafeInteger : function(e) {
2505
2533
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2506
2534
  }, Je = !0;
2507
2535
  try {
2508
- var Ji = sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2509
- Je = ((Fe = Ji.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
2536
+ var Qi = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2537
+ Je = (($e = Qi.exec("a")) === null || $e === void 0 ? void 0 : $e[0]) === "a";
2510
2538
  } catch {
2511
2539
  Je = !1;
2512
2540
  }
2513
- var Tt = ki ? (
2541
+ var _t = Fi ? (
2514
2542
  // Native
2515
2543
  function(t, r, i) {
2516
2544
  return t.startsWith(r, i);
@@ -2520,7 +2548,7 @@ var Tt = ki ? (
2520
2548
  function(t, r, i) {
2521
2549
  return t.slice(i, i + r.length) === r;
2522
2550
  }
2523
- ), qe = Vi ? String.fromCodePoint : (
2551
+ ), qe = ji ? String.fromCodePoint : (
2524
2552
  // IE11
2525
2553
  function() {
2526
2554
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2532,9 +2560,9 @@ var Tt = ki ? (
2532
2560
  }
2533
2561
  return i;
2534
2562
  }
2535
- ), Lt = (
2563
+ ), xt = (
2536
2564
  // native
2537
- Wi ? Object.fromEntries : (
2565
+ ki ? Object.fromEntries : (
2538
2566
  // Ponyfill
2539
2567
  function(t) {
2540
2568
  for (var r = {}, i = 0, n = t; i < n.length; i++) {
@@ -2544,7 +2572,7 @@ var Tt = ki ? (
2544
2572
  return r;
2545
2573
  }
2546
2574
  )
2547
- ), or = Xi ? (
2575
+ ), ir = Vi ? (
2548
2576
  // Native
2549
2577
  function(t, r) {
2550
2578
  return t.codePointAt(r);
@@ -2558,7 +2586,7 @@ var Tt = ki ? (
2558
2586
  return n < 55296 || n > 56319 || r + 1 === i || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
2559
2587
  }
2560
2588
  }
2561
- ), qi = zi ? (
2589
+ ), Yi = Wi ? (
2562
2590
  // Native
2563
2591
  function(t) {
2564
2592
  return t.trimStart();
@@ -2566,9 +2594,9 @@ var Tt = ki ? (
2566
2594
  ) : (
2567
2595
  // Ponyfill
2568
2596
  function(t) {
2569
- return t.replace(Fi, "");
2597
+ return t.replace(Ui, "");
2570
2598
  }
2571
- ), Ki = Zi ? (
2599
+ ), Ji = Xi ? (
2572
2600
  // Native
2573
2601
  function(t) {
2574
2602
  return t.trimEnd();
@@ -2576,32 +2604,32 @@ var Tt = ki ? (
2576
2604
  ) : (
2577
2605
  // Ponyfill
2578
2606
  function(t) {
2579
- return t.replace(ji, "");
2607
+ return t.replace(Gi, "");
2580
2608
  }
2581
2609
  );
2582
- function sr(e, t) {
2610
+ function nr(e, t) {
2583
2611
  return new RegExp(e, t);
2584
2612
  }
2585
2613
  var Ke;
2586
2614
  if (Je) {
2587
- var St = sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2615
+ var Tt = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2588
2616
  Ke = function(t, r) {
2589
2617
  var i;
2590
- St.lastIndex = r;
2591
- var n = St.exec(t);
2618
+ Tt.lastIndex = r;
2619
+ var n = Tt.exec(t);
2592
2620
  return (i = n[1]) !== null && i !== void 0 ? i : "";
2593
2621
  };
2594
2622
  } else
2595
2623
  Ke = function(t, r) {
2596
2624
  for (var i = []; ; ) {
2597
- var n = or(t, r);
2598
- if (n === void 0 || ar(n) || nn(n))
2625
+ var n = ir(t, r);
2626
+ if (n === void 0 || or(n) || tn(n))
2599
2627
  break;
2600
2628
  i.push(n), r += n >= 65536 ? 2 : 1;
2601
2629
  }
2602
2630
  return qe.apply(void 0, i);
2603
2631
  };
2604
- var en = (
2632
+ var qi = (
2605
2633
  /** @class */
2606
2634
  function() {
2607
2635
  function e(t, r) {
@@ -2625,13 +2653,13 @@ var en = (
2625
2653
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2626
2654
  var s = this.clonePosition();
2627
2655
  this.bump(), n.push({
2628
- type: L.pound,
2629
- location: _(s, this.clonePosition())
2656
+ type: S.pound,
2657
+ location: E(s, this.clonePosition())
2630
2658
  });
2631
2659
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2632
2660
  if (i)
2633
2661
  break;
2634
- return this.error(b.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
2662
+ return this.error(g.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
2635
2663
  } else if (o === 60 && !this.ignoreTag && et(this.peek() || 0)) {
2636
2664
  var a = this.parseTag(t, r);
2637
2665
  if (a.err)
@@ -2653,9 +2681,9 @@ var en = (
2653
2681
  if (this.bumpSpace(), this.bumpIf("/>"))
2654
2682
  return {
2655
2683
  val: {
2656
- type: L.literal,
2684
+ type: S.literal,
2657
2685
  value: "<".concat(n, "/>"),
2658
- location: _(i, this.clonePosition())
2686
+ location: E(i, this.clonePosition())
2659
2687
  },
2660
2688
  err: null
2661
2689
  };
@@ -2666,24 +2694,24 @@ var en = (
2666
2694
  var a = o.val, s = this.clonePosition();
2667
2695
  if (this.bumpIf("</")) {
2668
2696
  if (this.isEOF() || !et(this.char()))
2669
- return this.error(b.INVALID_TAG, _(s, this.clonePosition()));
2697
+ return this.error(g.INVALID_TAG, E(s, this.clonePosition()));
2670
2698
  var h = this.clonePosition(), u = this.parseTagName();
2671
- return n !== u ? this.error(b.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2699
+ return n !== u ? this.error(g.UNMATCHED_CLOSING_TAG, E(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2672
2700
  val: {
2673
- type: L.tag,
2701
+ type: S.tag,
2674
2702
  value: n,
2675
2703
  children: a,
2676
- location: _(i, this.clonePosition())
2704
+ location: E(i, this.clonePosition())
2677
2705
  },
2678
2706
  err: null
2679
- } : this.error(b.INVALID_TAG, _(s, this.clonePosition())));
2707
+ } : this.error(g.INVALID_TAG, E(s, this.clonePosition())));
2680
2708
  } else
2681
- return this.error(b.UNCLOSED_TAG, _(i, this.clonePosition()));
2709
+ return this.error(g.UNCLOSED_TAG, E(i, this.clonePosition()));
2682
2710
  } else
2683
- return this.error(b.INVALID_TAG, _(i, this.clonePosition()));
2711
+ return this.error(g.INVALID_TAG, E(i, this.clonePosition()));
2684
2712
  }, e.prototype.parseTagName = function() {
2685
2713
  var t = this.offset();
2686
- for (this.bump(); !this.isEOF() && rn(this.char()); )
2714
+ for (this.bump(); !this.isEOF() && en(this.char()); )
2687
2715
  this.bump();
2688
2716
  return this.message.slice(t, this.offset());
2689
2717
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2705,14 +2733,14 @@ var en = (
2705
2733
  }
2706
2734
  break;
2707
2735
  }
2708
- var h = _(i, this.clonePosition());
2736
+ var h = E(i, this.clonePosition());
2709
2737
  return {
2710
- val: { type: L.literal, value: n, location: h },
2738
+ val: { type: S.literal, value: n, location: h },
2711
2739
  err: null
2712
2740
  };
2713
2741
  }, e.prototype.tryParseLeftAngleBracket = function() {
2714
2742
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2715
- !tn(this.peek() || 0)) ? (this.bump(), "<") : null;
2743
+ !Ki(this.peek() || 0)) ? (this.bump(), "<") : null;
2716
2744
  }, e.prototype.tryParseQuote = function(t) {
2717
2745
  if (this.isEOF() || this.char() !== 39)
2718
2746
  return null;
@@ -2755,40 +2783,40 @@ var en = (
2755
2783
  }, e.prototype.parseArgument = function(t, r) {
2756
2784
  var i = this.clonePosition();
2757
2785
  if (this.bump(), this.bumpSpace(), this.isEOF())
2758
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition()));
2786
+ return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, E(i, this.clonePosition()));
2759
2787
  if (this.char() === 125)
2760
- return this.bump(), this.error(b.EMPTY_ARGUMENT, _(i, this.clonePosition()));
2788
+ return this.bump(), this.error(g.EMPTY_ARGUMENT, E(i, this.clonePosition()));
2761
2789
  var n = this.parseIdentifierIfPossible().value;
2762
2790
  if (!n)
2763
- return this.error(b.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
2791
+ return this.error(g.MALFORMED_ARGUMENT, E(i, this.clonePosition()));
2764
2792
  if (this.bumpSpace(), this.isEOF())
2765
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition()));
2793
+ return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, E(i, this.clonePosition()));
2766
2794
  switch (this.char()) {
2767
2795
  case 125:
2768
2796
  return this.bump(), {
2769
2797
  val: {
2770
- type: L.argument,
2798
+ type: S.argument,
2771
2799
  // value does not include the opening and closing braces.
2772
2800
  value: n,
2773
- location: _(i, this.clonePosition())
2801
+ location: E(i, this.clonePosition())
2774
2802
  },
2775
2803
  err: null
2776
2804
  };
2777
2805
  case 44:
2778
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
2806
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, E(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
2779
2807
  default:
2780
- return this.error(b.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
2808
+ return this.error(g.MALFORMED_ARGUMENT, E(i, this.clonePosition()));
2781
2809
  }
2782
2810
  }, e.prototype.parseIdentifierIfPossible = function() {
2783
2811
  var t = this.clonePosition(), r = this.offset(), i = Ke(this.message, r), n = r + i.length;
2784
2812
  this.bumpTo(n);
2785
- var o = this.clonePosition(), a = _(t, o);
2813
+ var o = this.clonePosition(), a = E(t, o);
2786
2814
  return { value: i, location: a };
2787
2815
  }, e.prototype.parseArgumentOptions = function(t, r, i, n) {
2788
2816
  var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
2789
2817
  switch (s) {
2790
2818
  case "":
2791
- return this.error(b.EXPECT_ARGUMENT_TYPE, _(a, h));
2819
+ return this.error(g.EXPECT_ARGUMENT_TYPE, E(a, h));
2792
2820
  case "number":
2793
2821
  case "date":
2794
2822
  case "time": {
@@ -2799,44 +2827,44 @@ var en = (
2799
2827
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2800
2828
  if (c.err)
2801
2829
  return c;
2802
- var f = Ki(c.val);
2830
+ var f = Ji(c.val);
2803
2831
  if (f.length === 0)
2804
- return this.error(b.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
2805
- var p = _(l, this.clonePosition());
2832
+ return this.error(g.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
2833
+ var p = E(l, this.clonePosition());
2806
2834
  u = { style: f, styleLocation: p };
2807
2835
  }
2808
2836
  var y = this.tryParseArgumentClose(n);
2809
2837
  if (y.err)
2810
2838
  return y;
2811
- var d = _(n, this.clonePosition());
2812
- if (u && Tt(u?.style, "::", 0)) {
2813
- var v = qi(u.style.slice(2));
2839
+ var d = E(n, this.clonePosition());
2840
+ if (u && _t(u?.style, "::", 0)) {
2841
+ var v = Yi(u.style.slice(2));
2814
2842
  if (s === "number") {
2815
2843
  var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
2816
2844
  return c.err ? c : {
2817
- val: { type: L.number, value: i, location: d, style: c.val },
2845
+ val: { type: S.number, value: i, location: d, style: c.val },
2818
2846
  err: null
2819
2847
  };
2820
2848
  } else {
2821
2849
  if (v.length === 0)
2822
- return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
2823
- var H = v;
2824
- this.locale && (H = Ui(v, this.locale));
2850
+ return this.error(g.EXPECT_DATE_TIME_SKELETON, d);
2851
+ var P = v;
2852
+ this.locale && (P = Di(v, this.locale));
2825
2853
  var f = {
2826
- type: q.dateTime,
2827
- pattern: H,
2854
+ type: K.dateTime,
2855
+ pattern: P,
2828
2856
  location: u.styleLocation,
2829
- parsedOptions: this.shouldParseSkeletons ? Bi(H) : {}
2830
- }, g = s === "date" ? L.date : L.time;
2857
+ parsedOptions: this.shouldParseSkeletons ? Ii(P) : {}
2858
+ }, b = s === "date" ? S.date : S.time;
2831
2859
  return {
2832
- val: { type: g, value: i, location: d, style: f },
2860
+ val: { type: b, value: i, location: d, style: f },
2833
2861
  err: null
2834
2862
  };
2835
2863
  }
2836
2864
  }
2837
2865
  return {
2838
2866
  val: {
2839
- type: s === "number" ? L.number : s === "date" ? L.date : L.time,
2867
+ type: s === "number" ? S.number : s === "date" ? S.date : S.time,
2840
2868
  value: i,
2841
2869
  location: d,
2842
2870
  style: (o = u?.style) !== null && o !== void 0 ? o : null
@@ -2847,40 +2875,40 @@ var en = (
2847
2875
  case "plural":
2848
2876
  case "selectordinal":
2849
2877
  case "select": {
2850
- var S = this.clonePosition();
2878
+ var w = this.clonePosition();
2851
2879
  if (this.bumpSpace(), !this.bumpIf(","))
2852
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, _(S, Le({}, S)));
2880
+ return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, E(w, _({}, w)));
2853
2881
  this.bumpSpace();
2854
- var M = this.parseIdentifierIfPossible(), N = 0;
2855
- if (s !== "select" && M.value === "offset") {
2882
+ var R = this.parseIdentifierIfPossible(), N = 0;
2883
+ if (s !== "select" && R.value === "offset") {
2856
2884
  if (!this.bumpIf(":"))
2857
- return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
2885
+ return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
2858
2886
  this.bumpSpace();
2859
- var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2887
+ var c = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2860
2888
  if (c.err)
2861
2889
  return c;
2862
- this.bumpSpace(), M = this.parseIdentifierIfPossible(), N = c.val;
2890
+ this.bumpSpace(), R = this.parseIdentifierIfPossible(), N = c.val;
2863
2891
  }
2864
- var D = this.tryParsePluralOrSelectOptions(t, s, r, M);
2865
- if (D.err)
2866
- return D;
2892
+ var M = this.tryParsePluralOrSelectOptions(t, s, r, R);
2893
+ if (M.err)
2894
+ return M;
2867
2895
  var y = this.tryParseArgumentClose(n);
2868
2896
  if (y.err)
2869
2897
  return y;
2870
- var V = _(n, this.clonePosition());
2898
+ var V = E(n, this.clonePosition());
2871
2899
  return s === "select" ? {
2872
2900
  val: {
2873
- type: L.select,
2901
+ type: S.select,
2874
2902
  value: i,
2875
- options: Lt(D.val),
2903
+ options: xt(M.val),
2876
2904
  location: V
2877
2905
  },
2878
2906
  err: null
2879
2907
  } : {
2880
2908
  val: {
2881
- type: L.plural,
2909
+ type: S.plural,
2882
2910
  value: i,
2883
- options: Lt(D.val),
2911
+ options: xt(M.val),
2884
2912
  offset: N,
2885
2913
  pluralType: s === "plural" ? "cardinal" : "ordinal",
2886
2914
  location: V
@@ -2889,10 +2917,10 @@ var en = (
2889
2917
  };
2890
2918
  }
2891
2919
  default:
2892
- return this.error(b.INVALID_ARGUMENT_TYPE, _(a, h));
2920
+ return this.error(g.INVALID_ARGUMENT_TYPE, E(a, h));
2893
2921
  }
2894
2922
  }, e.prototype.tryParseArgumentClose = function(t) {
2895
- return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2923
+ return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, E(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2896
2924
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2897
2925
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2898
2926
  var i = this.char();
@@ -2901,7 +2929,7 @@ var en = (
2901
2929
  this.bump();
2902
2930
  var n = this.clonePosition();
2903
2931
  if (!this.bumpUntil("'"))
2904
- return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(n, this.clonePosition()));
2932
+ return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, E(n, this.clonePosition()));
2905
2933
  this.bump();
2906
2934
  break;
2907
2935
  }
@@ -2931,16 +2959,16 @@ var en = (
2931
2959
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2932
2960
  var i = [];
2933
2961
  try {
2934
- i = Ni(t);
2962
+ i = Oi(t);
2935
2963
  } catch {
2936
- return this.error(b.INVALID_NUMBER_SKELETON, r);
2964
+ return this.error(g.INVALID_NUMBER_SKELETON, r);
2937
2965
  }
2938
2966
  return {
2939
2967
  val: {
2940
- type: q.number,
2968
+ type: K.number,
2941
2969
  tokens: i,
2942
2970
  location: r,
2943
- parsedOptions: this.shouldParseSkeletons ? $i(i) : {}
2971
+ parsedOptions: this.shouldParseSkeletons ? Mi(i) : {}
2944
2972
  },
2945
2973
  err: null
2946
2974
  };
@@ -2949,19 +2977,19 @@ var en = (
2949
2977
  if (u.length === 0) {
2950
2978
  var c = this.clonePosition();
2951
2979
  if (r !== "select" && this.bumpIf("=")) {
2952
- var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
2980
+ var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR, g.INVALID_PLURAL_ARGUMENT_SELECTOR);
2953
2981
  if (f.err)
2954
2982
  return f;
2955
- l = _(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
2983
+ l = E(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
2956
2984
  } else
2957
2985
  break;
2958
2986
  }
2959
2987
  if (h.has(u))
2960
- return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
2988
+ return this.error(r === "select" ? g.DUPLICATE_SELECT_ARGUMENT_SELECTOR : g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
2961
2989
  u === "other" && (a = !0), this.bumpSpace();
2962
2990
  var p = this.clonePosition();
2963
2991
  if (!this.bumpIf("{"))
2964
- return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
2992
+ return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
2965
2993
  var y = this.parseMessage(t + 1, r, i);
2966
2994
  if (y.err)
2967
2995
  return y;
@@ -2972,11 +3000,11 @@ var en = (
2972
3000
  u,
2973
3001
  {
2974
3002
  value: y.val,
2975
- location: _(p, this.clonePosition())
3003
+ location: E(p, this.clonePosition())
2976
3004
  }
2977
3005
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
2978
3006
  }
2979
- return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3007
+ return s.length === 0 ? this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR : g.EXPECT_PLURAL_ARGUMENT_SELECTOR, E(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(g.MISSING_OTHER_CLAUSE, E(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
2980
3008
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
2981
3009
  var i = 1, n = this.clonePosition();
2982
3010
  this.bumpIf("+") || this.bumpIf("-") && (i = -1);
@@ -2987,8 +3015,8 @@ var en = (
2987
3015
  else
2988
3016
  break;
2989
3017
  }
2990
- var h = _(n, this.clonePosition());
2991
- return o ? (a *= i, Yi(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3018
+ var h = E(n, this.clonePosition());
3019
+ return o ? (a *= i, Zi(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
2992
3020
  }, e.prototype.offset = function() {
2993
3021
  return this.position.offset;
2994
3022
  }, e.prototype.isEOF = function() {
@@ -3003,7 +3031,7 @@ var en = (
3003
3031
  var t = this.position.offset;
3004
3032
  if (t >= this.message.length)
3005
3033
  throw Error("out of bound");
3006
- var r = or(this.message, t);
3034
+ var r = ir(this.message, t);
3007
3035
  if (r === void 0)
3008
3036
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3009
3037
  return r;
@@ -3022,7 +3050,7 @@ var en = (
3022
3050
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3023
3051
  }
3024
3052
  }, e.prototype.bumpIf = function(t) {
3025
- if (Tt(this.message, t, this.offset())) {
3053
+ if (_t(this.message, t, this.offset())) {
3026
3054
  for (var r = 0; r < t.length; r++)
3027
3055
  this.bump();
3028
3056
  return !0;
@@ -3044,7 +3072,7 @@ var en = (
3044
3072
  break;
3045
3073
  }
3046
3074
  }, e.prototype.bumpSpace = function() {
3047
- for (; !this.isEOF() && ar(this.char()); )
3075
+ for (; !this.isEOF() && or(this.char()); )
3048
3076
  this.bump();
3049
3077
  }, e.prototype.peek = function() {
3050
3078
  if (this.isEOF())
@@ -3057,44 +3085,44 @@ var en = (
3057
3085
  function et(e) {
3058
3086
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3059
3087
  }
3060
- function tn(e) {
3088
+ function Ki(e) {
3061
3089
  return et(e) || e === 47;
3062
3090
  }
3063
- function rn(e) {
3091
+ function en(e) {
3064
3092
  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;
3065
3093
  }
3066
- function ar(e) {
3094
+ function or(e) {
3067
3095
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3068
3096
  }
3069
- function nn(e) {
3097
+ function tn(e) {
3070
3098
  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;
3071
3099
  }
3072
3100
  function tt(e) {
3073
3101
  e.forEach(function(t) {
3074
- if (delete t.location, Jt(t) || qt(t))
3102
+ if (delete t.location, Qt(t) || Yt(t))
3075
3103
  for (var r in t.options)
3076
3104
  delete t.options[r].location, tt(t.options[r].value);
3077
3105
  else
3078
- Zt(t) && er(t.style) || (Qt(t) || Yt(t)) && Ye(t.style) ? delete t.style.location : Kt(t) && tt(t.children);
3106
+ Xt(t) && qt(t.style) || (zt(t) || Zt(t)) && Ye(t.style) ? delete t.style.location : Jt(t) && tt(t.children);
3079
3107
  });
3080
3108
  }
3081
- function on(e, t) {
3082
- t === void 0 && (t = {}), t = Le({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3083
- var r = new en(e, t).parse();
3109
+ function rn(e, t) {
3110
+ t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3111
+ var r = new qi(e, t).parse();
3084
3112
  if (r.err) {
3085
- var i = SyntaxError(b[r.err.kind]);
3113
+ var i = SyntaxError(g[r.err.kind]);
3086
3114
  throw i.location = r.err.location, i.originalMessage = r.err.message, i;
3087
3115
  }
3088
3116
  return t?.captureLocation || tt(r.val), r.val;
3089
3117
  }
3090
- var K;
3118
+ var ee;
3091
3119
  (function(e) {
3092
3120
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3093
- })(K || (K = {}));
3094
- var He = (
3121
+ })(ee || (ee = {}));
3122
+ var Ae = (
3095
3123
  /** @class */
3096
3124
  function(e) {
3097
- Pe(t, e);
3125
+ G(t, e);
3098
3126
  function t(r, i, n) {
3099
3127
  var o = e.call(this, r) || this;
3100
3128
  return o.code = i, o.originalMessage = n, o;
@@ -3103,155 +3131,155 @@ var He = (
3103
3131
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3104
3132
  }, t;
3105
3133
  }(Error)
3106
- ), wt = (
3134
+ ), Lt = (
3107
3135
  /** @class */
3108
3136
  function(e) {
3109
- Pe(t, e);
3137
+ G(t, e);
3110
3138
  function t(r, i, n, o) {
3111
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), K.INVALID_VALUE, o) || this;
3139
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), ee.INVALID_VALUE, o) || this;
3112
3140
  }
3113
3141
  return t;
3114
- }(He)
3115
- ), sn = (
3142
+ }(Ae)
3143
+ ), nn = (
3116
3144
  /** @class */
3117
3145
  function(e) {
3118
- Pe(t, e);
3146
+ G(t, e);
3119
3147
  function t(r, i, n) {
3120
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), K.INVALID_VALUE, n) || this;
3148
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), ee.INVALID_VALUE, n) || this;
3121
3149
  }
3122
3150
  return t;
3123
- }(He)
3124
- ), an = (
3151
+ }(Ae)
3152
+ ), on = (
3125
3153
  /** @class */
3126
3154
  function(e) {
3127
- Pe(t, e);
3155
+ G(t, e);
3128
3156
  function t(r, i) {
3129
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), K.MISSING_VALUE, i) || this;
3157
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), ee.MISSING_VALUE, i) || this;
3130
3158
  }
3131
3159
  return t;
3132
- }(He)
3133
- ), O;
3160
+ }(Ae)
3161
+ ), I;
3134
3162
  (function(e) {
3135
3163
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3136
- })(O || (O = {}));
3137
- function un(e) {
3164
+ })(I || (I = {}));
3165
+ function sn(e) {
3138
3166
  return e.length < 2 ? e : e.reduce(function(t, r) {
3139
3167
  var i = t[t.length - 1];
3140
- return !i || i.type !== O.literal || r.type !== O.literal ? t.push(r) : i.value += r.value, t;
3168
+ return !i || i.type !== I.literal || r.type !== I.literal ? t.push(r) : i.value += r.value, t;
3141
3169
  }, []);
3142
3170
  }
3143
- function ln(e) {
3171
+ function an(e) {
3144
3172
  return typeof e == "function";
3145
3173
  }
3146
- function _e(e, t, r, i, n, o, a) {
3147
- if (e.length === 1 && vt(e[0]))
3174
+ function Ee(e, t, r, i, n, o, a) {
3175
+ if (e.length === 1 && bt(e[0]))
3148
3176
  return [
3149
3177
  {
3150
- type: O.literal,
3178
+ type: I.literal,
3151
3179
  value: e[0].value
3152
3180
  }
3153
3181
  ];
3154
3182
  for (var s = [], h = 0, u = e; h < u.length; h++) {
3155
3183
  var l = u[h];
3156
- if (vt(l)) {
3184
+ if (bt(l)) {
3157
3185
  s.push({
3158
- type: O.literal,
3186
+ type: I.literal,
3159
3187
  value: l.value
3160
3188
  });
3161
3189
  continue;
3162
3190
  }
3163
- if (Oi(l)) {
3191
+ if (Hi(l)) {
3164
3192
  typeof o == "number" && s.push({
3165
- type: O.literal,
3193
+ type: I.literal,
3166
3194
  value: r.getNumberFormat(t).format(o)
3167
3195
  });
3168
3196
  continue;
3169
3197
  }
3170
3198
  var c = l.value;
3171
3199
  if (!(n && c in n))
3172
- throw new an(c, a);
3200
+ throw new on(c, a);
3173
3201
  var f = n[c];
3174
- if (Hi(l)) {
3202
+ if (Ai(l)) {
3175
3203
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3176
- type: typeof f == "string" ? O.literal : O.object,
3204
+ type: typeof f == "string" ? I.literal : I.object,
3177
3205
  value: f
3178
3206
  });
3179
3207
  continue;
3180
3208
  }
3181
- if (Qt(l)) {
3209
+ if (zt(l)) {
3182
3210
  var p = typeof l.style == "string" ? i.date[l.style] : Ye(l.style) ? l.style.parsedOptions : void 0;
3183
3211
  s.push({
3184
- type: O.literal,
3212
+ type: I.literal,
3185
3213
  value: r.getDateTimeFormat(t, p).format(f)
3186
3214
  });
3187
3215
  continue;
3188
3216
  }
3189
- if (Yt(l)) {
3217
+ if (Zt(l)) {
3190
3218
  var p = typeof l.style == "string" ? i.time[l.style] : Ye(l.style) ? l.style.parsedOptions : i.time.medium;
3191
3219
  s.push({
3192
- type: O.literal,
3220
+ type: I.literal,
3193
3221
  value: r.getDateTimeFormat(t, p).format(f)
3194
3222
  });
3195
3223
  continue;
3196
3224
  }
3197
- if (Zt(l)) {
3198
- var p = typeof l.style == "string" ? i.number[l.style] : er(l.style) ? l.style.parsedOptions : void 0;
3225
+ if (Xt(l)) {
3226
+ var p = typeof l.style == "string" ? i.number[l.style] : qt(l.style) ? l.style.parsedOptions : void 0;
3199
3227
  p && p.scale && (f = f * (p.scale || 1)), s.push({
3200
- type: O.literal,
3228
+ type: I.literal,
3201
3229
  value: r.getNumberFormat(t, p).format(f)
3202
3230
  });
3203
3231
  continue;
3204
3232
  }
3205
- if (Kt(l)) {
3233
+ if (Jt(l)) {
3206
3234
  var y = l.children, d = l.value, v = n[d];
3207
- if (!ln(v))
3208
- throw new sn(d, "function", a);
3209
- var H = _e(y, t, r, i, n, o), g = v(H.map(function(N) {
3235
+ if (!an(v))
3236
+ throw new nn(d, "function", a);
3237
+ var P = Ee(y, t, r, i, n, o), b = v(P.map(function(N) {
3210
3238
  return N.value;
3211
3239
  }));
3212
- Array.isArray(g) || (g = [g]), s.push.apply(s, g.map(function(N) {
3240
+ Array.isArray(b) || (b = [b]), s.push.apply(s, b.map(function(N) {
3213
3241
  return {
3214
- type: typeof N == "string" ? O.literal : O.object,
3242
+ type: typeof N == "string" ? I.literal : I.object,
3215
3243
  value: N
3216
3244
  };
3217
3245
  }));
3218
3246
  }
3219
- if (Jt(l)) {
3220
- var S = l.options[f] || l.options.other;
3221
- if (!S)
3222
- throw new wt(l.value, f, Object.keys(l.options), a);
3223
- s.push.apply(s, _e(S.value, t, r, i, n));
3247
+ if (Qt(l)) {
3248
+ var w = l.options[f] || l.options.other;
3249
+ if (!w)
3250
+ throw new Lt(l.value, f, Object.keys(l.options), a);
3251
+ s.push.apply(s, Ee(w.value, t, r, i, n));
3224
3252
  continue;
3225
3253
  }
3226
- if (qt(l)) {
3227
- var S = l.options["=".concat(f)];
3228
- if (!S) {
3254
+ if (Yt(l)) {
3255
+ var w = l.options["=".concat(f)];
3256
+ if (!w) {
3229
3257
  if (!Intl.PluralRules)
3230
- throw new He(`Intl.PluralRules is not available in this environment.
3258
+ throw new Ae(`Intl.PluralRules is not available in this environment.
3231
3259
  Try polyfilling it using "@formatjs/intl-pluralrules"
3232
- `, K.MISSING_INTL_API, a);
3233
- var M = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3234
- S = l.options[M] || l.options.other;
3260
+ `, ee.MISSING_INTL_API, a);
3261
+ var R = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3262
+ w = l.options[R] || l.options.other;
3235
3263
  }
3236
- if (!S)
3237
- throw new wt(l.value, f, Object.keys(l.options), a);
3238
- s.push.apply(s, _e(S.value, t, r, i, n, f - (l.offset || 0)));
3264
+ if (!w)
3265
+ throw new Lt(l.value, f, Object.keys(l.options), a);
3266
+ s.push.apply(s, Ee(w.value, t, r, i, n, f - (l.offset || 0)));
3239
3267
  continue;
3240
3268
  }
3241
3269
  }
3242
- return un(s);
3270
+ return sn(s);
3243
3271
  }
3244
- function hn(e, t) {
3245
- return t ? R(R(R({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3246
- return r[i] = R(R({}, e[i]), t[i] || {}), r;
3272
+ function un(e, t) {
3273
+ return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3274
+ return r[i] = _(_({}, e[i]), t[i] || {}), r;
3247
3275
  }, {})) : e;
3248
3276
  }
3249
- function cn(e, t) {
3277
+ function ln(e, t) {
3250
3278
  return t ? Object.keys(e).reduce(function(r, i) {
3251
- return r[i] = hn(e[i], t[i]), r;
3252
- }, R({}, e)) : e;
3279
+ return r[i] = un(e[i], t[i]), r;
3280
+ }, _({}, e)) : e;
3253
3281
  }
3254
- function je(e) {
3282
+ function Ue(e) {
3255
3283
  return {
3256
3284
  create: function() {
3257
3285
  return {
@@ -3265,39 +3293,39 @@ function je(e) {
3265
3293
  }
3266
3294
  };
3267
3295
  }
3268
- function fn(e) {
3296
+ function hn(e) {
3269
3297
  return e === void 0 && (e = {
3270
3298
  number: {},
3271
3299
  dateTime: {},
3272
3300
  pluralRules: {}
3273
3301
  }), {
3274
- getNumberFormat: Ue(function() {
3302
+ getNumberFormat: Me(function() {
3275
3303
  for (var t, r = [], i = 0; i < arguments.length; i++)
3276
3304
  r[i] = arguments[i];
3277
- return new ((t = Intl.NumberFormat).bind.apply(t, $e([void 0], r, !1)))();
3305
+ return new ((t = Intl.NumberFormat).bind.apply(t, J([void 0], r, !1)))();
3278
3306
  }, {
3279
- cache: je(e.number),
3280
- strategy: Ge.variadic
3307
+ cache: Ue(e.number),
3308
+ strategy: De.variadic
3281
3309
  }),
3282
- getDateTimeFormat: Ue(function() {
3310
+ getDateTimeFormat: Me(function() {
3283
3311
  for (var t, r = [], i = 0; i < arguments.length; i++)
3284
3312
  r[i] = arguments[i];
3285
- return new ((t = Intl.DateTimeFormat).bind.apply(t, $e([void 0], r, !1)))();
3313
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, J([void 0], r, !1)))();
3286
3314
  }, {
3287
- cache: je(e.dateTime),
3288
- strategy: Ge.variadic
3315
+ cache: Ue(e.dateTime),
3316
+ strategy: De.variadic
3289
3317
  }),
3290
- getPluralRules: Ue(function() {
3318
+ getPluralRules: Me(function() {
3291
3319
  for (var t, r = [], i = 0; i < arguments.length; i++)
3292
3320
  r[i] = arguments[i];
3293
- return new ((t = Intl.PluralRules).bind.apply(t, $e([void 0], r, !1)))();
3321
+ return new ((t = Intl.PluralRules).bind.apply(t, J([void 0], r, !1)))();
3294
3322
  }, {
3295
- cache: je(e.pluralRules),
3296
- strategy: Ge.variadic
3323
+ cache: Ue(e.pluralRules),
3324
+ strategy: De.variadic
3297
3325
  })
3298
3326
  };
3299
3327
  }
3300
- var mn = (
3328
+ var cn = (
3301
3329
  /** @class */
3302
3330
  function() {
3303
3331
  function e(t, r, i, n) {
@@ -3312,11 +3340,11 @@ var mn = (
3312
3340
  if (u.length === 1)
3313
3341
  return u[0].value;
3314
3342
  var l = u.reduce(function(c, f) {
3315
- return !c.length || f.type !== O.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3343
+ return !c.length || f.type !== I.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3316
3344
  }, []);
3317
3345
  return l.length <= 1 ? l[0] || "" : l;
3318
3346
  }, this.formatToParts = function(h) {
3319
- return _e(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3347
+ return Ee(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3320
3348
  }, this.resolvedOptions = function() {
3321
3349
  var h;
3322
3350
  return {
@@ -3330,12 +3358,12 @@ var mn = (
3330
3358
  var a = n || {};
3331
3359
  a.formatters;
3332
3360
  var s = Ei(a, ["formatters"]);
3333
- this.ast = e.__parse(t, R(R({}, s), { locale: this.resolvedLocale }));
3361
+ this.ast = e.__parse(t, _(_({}, s), { locale: this.resolvedLocale }));
3334
3362
  } else
3335
3363
  this.ast = t;
3336
3364
  if (!Array.isArray(this.ast))
3337
3365
  throw new TypeError("A message must be provided as a String or AST.");
3338
- this.formats = cn(e.formats, i), this.formatters = n && n.formatters || fn(this.formatterCache);
3366
+ this.formats = ln(e.formats, i), this.formatters = n && n.formatters || hn(this.formatterCache);
3339
3367
  }
3340
3368
  return Object.defineProperty(e, "defaultLocale", {
3341
3369
  get: function() {
@@ -3348,7 +3376,7 @@ var mn = (
3348
3376
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3349
3377
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3350
3378
  }
3351
- }, e.__parse = on, e.formats = {
3379
+ }, e.__parse = rn, e.formats = {
3352
3380
  number: {
3353
3381
  integer: {
3354
3382
  maximumFractionDigits: 0
@@ -3409,7 +3437,7 @@ var mn = (
3409
3437
  }, e;
3410
3438
  }()
3411
3439
  );
3412
- function pn(e, t) {
3440
+ function fn(e, t) {
3413
3441
  if (t == null)
3414
3442
  return;
3415
3443
  if (t in e)
@@ -3430,92 +3458,92 @@ function pn(e, t) {
3430
3458
  i = void 0;
3431
3459
  return i;
3432
3460
  }
3433
- const F = {}, dn = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), ur = (e, t) => {
3461
+ const F = {}, mn = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), sr = (e, t) => {
3434
3462
  if (t == null)
3435
3463
  return;
3436
3464
  if (t in F && e in F[t])
3437
3465
  return F[t][e];
3438
- const r = Oe(t);
3466
+ const r = He(t);
3439
3467
  for (let i = 0; i < r.length; i++) {
3440
- const n = r[i], o = gn(n, e);
3468
+ const n = r[i], o = dn(n, e);
3441
3469
  if (o)
3442
- return dn(e, t, o);
3470
+ return mn(e, t, o);
3443
3471
  }
3444
3472
  };
3445
- let ct;
3446
- const ce = Ae({});
3447
- function yn(e) {
3448
- return ct[e] || null;
3473
+ let lt;
3474
+ const fe = we({});
3475
+ function pn(e) {
3476
+ return lt[e] || null;
3449
3477
  }
3450
- function lr(e) {
3451
- return e in ct;
3478
+ function ar(e) {
3479
+ return e in lt;
3452
3480
  }
3453
- function gn(e, t) {
3454
- if (!lr(e))
3481
+ function dn(e, t) {
3482
+ if (!ar(e))
3455
3483
  return null;
3456
- const r = yn(e);
3457
- return pn(r, t);
3484
+ const r = pn(e);
3485
+ return fn(r, t);
3458
3486
  }
3459
- function bn(e) {
3487
+ function yn(e) {
3460
3488
  if (e == null)
3461
3489
  return;
3462
- const t = Oe(e);
3490
+ const t = He(e);
3463
3491
  for (let r = 0; r < t.length; r++) {
3464
3492
  const i = t[r];
3465
- if (lr(i))
3493
+ if (ar(i))
3466
3494
  return i;
3467
3495
  }
3468
3496
  }
3469
- function hr(e, ...t) {
3470
- delete F[e], ce.update((r) => (r[e] = _i.all([r[e] || {}, ...t]), r));
3497
+ function ur(e, ...t) {
3498
+ delete F[e], fe.update((r) => (r[e] = vi.all([r[e] || {}, ...t]), r));
3471
3499
  }
3472
- te(
3473
- [ce],
3500
+ re(
3501
+ [fe],
3474
3502
  ([e]) => Object.keys(e)
3475
3503
  );
3476
- ce.subscribe((e) => ct = e);
3477
- const Ee = {};
3478
- function vn(e, t) {
3479
- Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
3504
+ fe.subscribe((e) => lt = e);
3505
+ const _e = {};
3506
+ function bn(e, t) {
3507
+ _e[e].delete(t), _e[e].size === 0 && delete _e[e];
3480
3508
  }
3481
- function cr(e) {
3482
- return Ee[e];
3509
+ function lr(e) {
3510
+ return _e[e];
3483
3511
  }
3484
- function _n(e) {
3485
- return Oe(e).map((t) => {
3486
- const r = cr(t);
3512
+ function gn(e) {
3513
+ return He(e).map((t) => {
3514
+ const r = lr(t);
3487
3515
  return [t, r ? [...r] : []];
3488
3516
  }).filter(([, t]) => t.length > 0);
3489
3517
  }
3490
3518
  function rt(e) {
3491
- return e == null ? !1 : Oe(e).some(
3519
+ return e == null ? !1 : He(e).some(
3492
3520
  (t) => {
3493
3521
  var r;
3494
- return (r = cr(t)) == null ? void 0 : r.size;
3522
+ return (r = lr(t)) == null ? void 0 : r.size;
3495
3523
  }
3496
3524
  );
3497
3525
  }
3498
- function En(e, t) {
3526
+ function vn(e, t) {
3499
3527
  return Promise.all(
3500
- t.map((i) => (vn(e, i), i().then((n) => n.default || n)))
3501
- ).then((i) => hr(e, ...i));
3528
+ t.map((i) => (bn(e, i), i().then((n) => n.default || n)))
3529
+ ).then((i) => ur(e, ...i));
3502
3530
  }
3503
- const oe = {};
3504
- function fr(e) {
3531
+ const se = {};
3532
+ function hr(e) {
3505
3533
  if (!rt(e))
3506
- return e in oe ? oe[e] : Promise.resolve();
3507
- const t = _n(e);
3508
- return oe[e] = Promise.all(
3534
+ return e in se ? se[e] : Promise.resolve();
3535
+ const t = gn(e);
3536
+ return se[e] = Promise.all(
3509
3537
  t.map(
3510
- ([r, i]) => En(r, i)
3538
+ ([r, i]) => vn(r, i)
3511
3539
  )
3512
3540
  ).then(() => {
3513
3541
  if (rt(e))
3514
- return fr(e);
3515
- delete oe[e];
3516
- }), oe[e];
3542
+ return hr(e);
3543
+ delete se[e];
3544
+ }), se[e];
3517
3545
  }
3518
- const xn = {
3546
+ const En = {
3519
3547
  number: {
3520
3548
  scientific: { notation: "scientific" },
3521
3549
  engineering: { notation: "engineering" },
@@ -3544,135 +3572,135 @@ const xn = {
3544
3572
  timeZoneName: "short"
3545
3573
  }
3546
3574
  }
3547
- }, Tn = {
3575
+ }, _n = {
3548
3576
  fallbackLocale: null,
3549
3577
  loadingDelay: 200,
3550
- formats: xn,
3578
+ formats: En,
3551
3579
  warnOnMissingMessages: !0,
3552
3580
  handleMissingMessage: void 0,
3553
3581
  ignoreTag: !0
3554
- }, Ln = Tn;
3555
- function ee() {
3556
- return Ln;
3582
+ }, xn = _n;
3583
+ function te() {
3584
+ return xn;
3557
3585
  }
3558
- const ke = Ae(!1);
3559
- var Sn = Object.defineProperty, wn = Object.defineProperties, An = Object.getOwnPropertyDescriptors, At = Object.getOwnPropertySymbols, Pn = Object.prototype.hasOwnProperty, Hn = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Sn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, On = (e, t) => {
3586
+ const Ge = we(!1);
3587
+ var Tn = Object.defineProperty, Ln = Object.defineProperties, Sn = Object.getOwnPropertyDescriptors, St = Object.getOwnPropertySymbols, wn = Object.prototype.hasOwnProperty, An = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? Tn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Hn = (e, t) => {
3560
3588
  for (var r in t || (t = {}))
3561
- Pn.call(t, r) && Pt(e, r, t[r]);
3562
- if (At)
3563
- for (var r of At(t))
3564
- Hn.call(t, r) && Pt(e, r, t[r]);
3589
+ wn.call(t, r) && wt(e, r, t[r]);
3590
+ if (St)
3591
+ for (var r of St(t))
3592
+ An.call(t, r) && wt(e, r, t[r]);
3565
3593
  return e;
3566
- }, In = (e, t) => wn(e, An(t));
3594
+ }, Pn = (e, t) => Ln(e, Sn(t));
3567
3595
  let it;
3568
- const Se = Ae(null);
3569
- function Ht(e) {
3596
+ const Le = we(null);
3597
+ function At(e) {
3570
3598
  return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
3571
3599
  }
3572
- function Oe(e, t = ee().fallbackLocale) {
3573
- const r = Ht(e);
3574
- return t ? [.../* @__PURE__ */ new Set([...r, ...Ht(t)])] : r;
3600
+ function He(e, t = te().fallbackLocale) {
3601
+ const r = At(e);
3602
+ return t ? [.../* @__PURE__ */ new Set([...r, ...At(t)])] : r;
3575
3603
  }
3576
3604
  function X() {
3577
3605
  return it ?? void 0;
3578
3606
  }
3579
- Se.subscribe((e) => {
3607
+ Le.subscribe((e) => {
3580
3608
  it = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3581
3609
  });
3582
- const Bn = (e) => {
3583
- if (e && bn(e) && rt(e)) {
3584
- const { loadingDelay: t } = ee();
3610
+ const In = (e) => {
3611
+ if (e && yn(e) && rt(e)) {
3612
+ const { loadingDelay: t } = te();
3585
3613
  let r;
3586
3614
  return typeof window < "u" && X() != null && t ? r = window.setTimeout(
3587
- () => ke.set(!0),
3615
+ () => Ge.set(!0),
3588
3616
  t
3589
- ) : ke.set(!0), fr(e).then(() => {
3590
- Se.set(e);
3617
+ ) : Ge.set(!0), hr(e).then(() => {
3618
+ Le.set(e);
3591
3619
  }).finally(() => {
3592
- clearTimeout(r), ke.set(!1);
3620
+ clearTimeout(r), Ge.set(!1);
3593
3621
  });
3594
3622
  }
3595
- return Se.set(e);
3596
- }, re = In(On({}, Se), {
3597
- set: Bn
3598
- }), Ie = (e) => {
3623
+ return Le.set(e);
3624
+ }, ie = Pn(Hn({}, Le), {
3625
+ set: In
3626
+ }), Pe = (e) => {
3599
3627
  const t = /* @__PURE__ */ Object.create(null);
3600
3628
  return (i) => {
3601
3629
  const n = JSON.stringify(i);
3602
3630
  return n in t ? t[n] : t[n] = e(i);
3603
3631
  };
3604
3632
  };
3605
- var Cn = Object.defineProperty, we = Object.getOwnPropertySymbols, mr = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? Cn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
3633
+ var Bn = Object.defineProperty, Se = Object.getOwnPropertySymbols, cr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Bn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
3606
3634
  for (var r in t || (t = {}))
3607
- mr.call(t, r) && Ot(e, r, t[r]);
3608
- if (we)
3609
- for (var r of we(t))
3610
- pr.call(t, r) && Ot(e, r, t[r]);
3635
+ cr.call(t, r) && Ht(e, r, t[r]);
3636
+ if (Se)
3637
+ for (var r of Se(t))
3638
+ fr.call(t, r) && Ht(e, r, t[r]);
3611
3639
  return e;
3612
- }, ie = (e, t) => {
3640
+ }, ne = (e, t) => {
3613
3641
  var r = {};
3614
3642
  for (var i in e)
3615
- mr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3616
- if (e != null && we)
3617
- for (var i of we(e))
3618
- t.indexOf(i) < 0 && pr.call(e, i) && (r[i] = e[i]);
3643
+ cr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3644
+ if (e != null && Se)
3645
+ for (var i of Se(e))
3646
+ t.indexOf(i) < 0 && fr.call(e, i) && (r[i] = e[i]);
3619
3647
  return r;
3620
3648
  };
3621
- const le = (e, t) => {
3622
- const { formats: r } = ee();
3649
+ const he = (e, t) => {
3650
+ const { formats: r } = te();
3623
3651
  if (e in r && t in r[e])
3624
3652
  return r[e][t];
3625
3653
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3626
- }, Nn = Ie(
3654
+ }, On = Pe(
3627
3655
  (e) => {
3628
- var t = e, { locale: r, format: i } = t, n = ie(t, ["locale", "format"]);
3656
+ var t = e, { locale: r, format: i } = t, n = ne(t, ["locale", "format"]);
3629
3657
  if (r == null)
3630
3658
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3631
- return i && (n = le("number", i)), new Intl.NumberFormat(r, n);
3659
+ return i && (n = he("number", i)), new Intl.NumberFormat(r, n);
3632
3660
  }
3633
- ), Rn = Ie(
3661
+ ), Cn = Pe(
3634
3662
  (e) => {
3635
- var t = e, { locale: r, format: i } = t, n = ie(t, ["locale", "format"]);
3663
+ var t = e, { locale: r, format: i } = t, n = ne(t, ["locale", "format"]);
3636
3664
  if (r == null)
3637
3665
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3638
- return i ? n = le("date", i) : Object.keys(n).length === 0 && (n = le("date", "short")), new Intl.DateTimeFormat(r, n);
3666
+ return i ? n = he("date", i) : Object.keys(n).length === 0 && (n = he("date", "short")), new Intl.DateTimeFormat(r, n);
3639
3667
  }
3640
- ), Mn = Ie(
3668
+ ), Nn = Pe(
3641
3669
  (e) => {
3642
- var t = e, { locale: r, format: i } = t, n = ie(t, ["locale", "format"]);
3670
+ var t = e, { locale: r, format: i } = t, n = ne(t, ["locale", "format"]);
3643
3671
  if (r == null)
3644
3672
  throw new Error(
3645
3673
  '[svelte-i18n] A "locale" must be set to format time values'
3646
3674
  );
3647
- return i ? n = le("time", i) : Object.keys(n).length === 0 && (n = le("time", "short")), new Intl.DateTimeFormat(r, n);
3675
+ return i ? n = he("time", i) : Object.keys(n).length === 0 && (n = he("time", "short")), new Intl.DateTimeFormat(r, n);
3648
3676
  }
3649
- ), Dn = (e = {}) => {
3677
+ ), Rn = (e = {}) => {
3650
3678
  var t = e, {
3651
3679
  locale: r = X()
3652
- } = t, i = ie(t, [
3680
+ } = t, i = ne(t, [
3653
3681
  "locale"
3654
3682
  ]);
3655
- return Nn(ft({ locale: r }, i));
3656
- }, $n = (e = {}) => {
3683
+ return On(ht({ locale: r }, i));
3684
+ }, Mn = (e = {}) => {
3657
3685
  var t = e, {
3658
3686
  locale: r = X()
3659
- } = t, i = ie(t, [
3687
+ } = t, i = ne(t, [
3660
3688
  "locale"
3661
3689
  ]);
3662
- return Rn(ft({ locale: r }, i));
3663
- }, Un = (e = {}) => {
3690
+ return Cn(ht({ locale: r }, i));
3691
+ }, Dn = (e = {}) => {
3664
3692
  var t = e, {
3665
3693
  locale: r = X()
3666
- } = t, i = ie(t, [
3694
+ } = t, i = ne(t, [
3667
3695
  "locale"
3668
3696
  ]);
3669
- return Mn(ft({ locale: r }, i));
3670
- }, Gn = Ie(
3697
+ return Nn(ht({ locale: r }, i));
3698
+ }, $n = Pe(
3671
3699
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3672
- (e, t = X()) => new mn(e, t, ee().formats, {
3673
- ignoreTag: ee().ignoreTag
3700
+ (e, t = X()) => new cn(e, t, te().formats, {
3701
+ ignoreTag: te().ignoreTag
3674
3702
  })
3675
- ), Fn = (e, t = {}) => {
3703
+ ), Un = (e, t = {}) => {
3676
3704
  var r, i, n, o;
3677
3705
  let a = t;
3678
3706
  typeof e == "object" && (a = e, e = a.id);
@@ -3685,9 +3713,9 @@ const le = (e, t) => {
3685
3713
  throw new Error(
3686
3714
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3687
3715
  );
3688
- let l = ur(e, h);
3716
+ let l = sr(e, h);
3689
3717
  if (!l)
3690
- l = (o = (n = (i = (r = ee()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: h, id: e, defaultValue: u })) != null ? n : u) != null ? o : e;
3718
+ l = (o = (n = (i = (r = te()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: h, id: e, defaultValue: u })) != null ? n : u) != null ? o : e;
3691
3719
  else if (typeof l != "string")
3692
3720
  return console.warn(
3693
3721
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3696,7 +3724,7 @@ const le = (e, t) => {
3696
3724
  return l;
3697
3725
  let c = l;
3698
3726
  try {
3699
- c = Gn(l, h).format(s);
3727
+ c = $n(l, h).format(s);
3700
3728
  } catch (f) {
3701
3729
  f instanceof Error && console.warn(
3702
3730
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3704,18 +3732,18 @@ const le = (e, t) => {
3704
3732
  );
3705
3733
  }
3706
3734
  return c;
3707
- }, jn = (e, t) => Un(t).format(e), kn = (e, t) => $n(t).format(e), Vn = (e, t) => Dn(t).format(e), Wn = (e, t = X()) => ur(e, t), Xn = te([re, ce], () => Fn);
3708
- te([re], () => jn);
3709
- te([re], () => kn);
3710
- te([re], () => Vn);
3711
- te([re, ce], () => Wn);
3712
- function It(e, t) {
3713
- hr(e, t);
3714
- }
3715
- function zn(e) {
3716
- re.set(e);
3717
- }
3718
- const Ve = {
3735
+ }, Gn = (e, t) => Dn(t).format(e), Fn = (e, t) => Mn(t).format(e), jn = (e, t) => Rn(t).format(e), kn = (e, t = X()) => sr(e, t), Vn = re([ie, fe], () => Un);
3736
+ re([ie], () => Gn);
3737
+ re([ie], () => Fn);
3738
+ re([ie], () => jn);
3739
+ re([ie, fe], () => kn);
3740
+ function Pt(e, t) {
3741
+ ur(e, t);
3742
+ }
3743
+ function Wn(e) {
3744
+ ie.set(e);
3745
+ }
3746
+ const Fe = {
3719
3747
  en: {
3720
3748
  expandLimits: "LIMIT HISTORY",
3721
3749
  daily: "per day",
@@ -3966,85 +3994,16 @@ const Ve = {
3966
3994
  historyLimitTypeLoss: "Loss Limit"
3967
3995
  }
3968
3996
  };
3969
- /*! *****************************************************************************
3970
- Copyright (c) Microsoft Corporation.
3971
-
3972
- Permission to use, copy, modify, and/or distribute this software for any
3973
- purpose with or without fee is hereby granted.
3974
-
3975
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
3976
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
3977
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
3978
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
3979
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
3980
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
3981
- PERFORMANCE OF THIS SOFTWARE.
3982
- ***************************************************************************** */
3983
- var nt = function(e, t) {
3984
- return nt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
3985
- r.__proto__ = i;
3986
- } || function(r, i) {
3987
- for (var n in i)
3988
- Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
3989
- }, nt(e, t);
3990
- };
3991
- function fe(e, t) {
3992
- if (typeof t != "function" && t !== null)
3993
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
3994
- nt(e, t);
3995
- function r() {
3996
- this.constructor = e;
3997
- }
3998
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
3999
- }
4000
- function ot(e) {
4001
- var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
4002
- if (r)
4003
- return r.call(e);
4004
- if (e && typeof e.length == "number")
4005
- return {
4006
- next: function() {
4007
- return e && i >= e.length && (e = void 0), { value: e && e[i++], done: !e };
4008
- }
4009
- };
4010
- throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
4011
- }
4012
- function st(e, t) {
4013
- var r = typeof Symbol == "function" && e[Symbol.iterator];
4014
- if (!r)
4015
- return e;
4016
- var i = r.call(e), n, o = [], a;
4017
- try {
4018
- for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; )
4019
- o.push(n.value);
4020
- } catch (s) {
4021
- a = { error: s };
4022
- } finally {
4023
- try {
4024
- n && !n.done && (r = i.return) && r.call(i);
4025
- } finally {
4026
- if (a)
4027
- throw a.error;
4028
- }
4029
- }
4030
- return o;
4031
- }
4032
- function at(e, t, r) {
4033
- if (arguments.length === 2)
4034
- for (var i = 0, n = t.length, o; i < n; i++)
4035
- (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
4036
- return e.concat(o || t);
4037
- }
4038
- function G(e) {
3997
+ function U(e) {
4039
3998
  return typeof e == "function";
4040
3999
  }
4041
- function dr(e) {
4000
+ function mr(e) {
4042
4001
  var t = function(i) {
4043
4002
  Error.call(i), i.stack = new Error().stack;
4044
4003
  }, r = e(t);
4045
4004
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
4046
4005
  }
4047
- var We = dr(function(e) {
4006
+ var je = mr(function(e) {
4048
4007
  return function(r) {
4049
4008
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
4050
4009
  ` + r.map(function(i, n) {
@@ -4053,13 +4012,13 @@ var We = dr(function(e) {
4053
4012
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
4054
4013
  };
4055
4014
  });
4056
- function ut(e, t) {
4015
+ function nt(e, t) {
4057
4016
  if (e) {
4058
4017
  var r = e.indexOf(t);
4059
4018
  0 <= r && e.splice(r, 1);
4060
4019
  }
4061
4020
  }
4062
- var Be = function() {
4021
+ var Ie = function() {
4063
4022
  function e(t) {
4064
4023
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
4065
4024
  }
@@ -4071,7 +4030,7 @@ var Be = function() {
4071
4030
  if (a)
4072
4031
  if (this._parentage = null, Array.isArray(a))
4073
4032
  try {
4074
- for (var s = ot(a), h = s.next(); !h.done; h = s.next()) {
4033
+ for (var s = Ze(a), h = s.next(); !h.done; h = s.next()) {
4075
4034
  var u = h.value;
4076
4035
  u.remove(this);
4077
4036
  }
@@ -4088,22 +4047,22 @@ var Be = function() {
4088
4047
  else
4089
4048
  a.remove(this);
4090
4049
  var l = this.initialTeardown;
4091
- if (G(l))
4050
+ if (U(l))
4092
4051
  try {
4093
4052
  l();
4094
4053
  } catch (d) {
4095
- o = d instanceof We ? d.errors : [d];
4054
+ o = d instanceof je ? d.errors : [d];
4096
4055
  }
4097
4056
  var c = this._finalizers;
4098
4057
  if (c) {
4099
4058
  this._finalizers = null;
4100
4059
  try {
4101
- for (var f = ot(c), p = f.next(); !p.done; p = f.next()) {
4060
+ for (var f = Ze(c), p = f.next(); !p.done; p = f.next()) {
4102
4061
  var y = p.value;
4103
4062
  try {
4104
- Bt(y);
4063
+ It(y);
4105
4064
  } catch (d) {
4106
- o = o ?? [], d instanceof We ? o = at(at([], st(o)), st(d.errors)) : o.push(d);
4065
+ o = o ?? [], d instanceof je ? o = J(J([], Qe(o)), Qe(d.errors)) : o.push(d);
4107
4066
  }
4108
4067
  }
4109
4068
  } catch (d) {
@@ -4118,13 +4077,13 @@ var Be = function() {
4118
4077
  }
4119
4078
  }
4120
4079
  if (o)
4121
- throw new We(o);
4080
+ throw new je(o);
4122
4081
  }
4123
4082
  }, e.prototype.add = function(t) {
4124
4083
  var r;
4125
4084
  if (t && t !== this)
4126
4085
  if (this.closed)
4127
- Bt(t);
4086
+ It(t);
4128
4087
  else {
4129
4088
  if (t instanceof e) {
4130
4089
  if (t.closed || t._hasParent(this))
@@ -4141,52 +4100,56 @@ var Be = function() {
4141
4100
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
4142
4101
  }, e.prototype._removeParent = function(t) {
4143
4102
  var r = this._parentage;
4144
- r === t ? this._parentage = null : Array.isArray(r) && ut(r, t);
4103
+ r === t ? this._parentage = null : Array.isArray(r) && nt(r, t);
4145
4104
  }, e.prototype.remove = function(t) {
4146
4105
  var r = this._finalizers;
4147
- r && ut(r, t), t instanceof e && t._removeParent(this);
4106
+ r && nt(r, t), t instanceof e && t._removeParent(this);
4148
4107
  }, e.EMPTY = function() {
4149
4108
  var t = new e();
4150
4109
  return t.closed = !0, t;
4151
4110
  }(), e;
4152
- }(), yr = Be.EMPTY;
4153
- function gr(e) {
4154
- return e instanceof Be || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
4155
- }
4156
- function Bt(e) {
4157
- G(e) ? e() : e.unsubscribe();
4158
- }
4159
- var Zn = {
4160
- Promise: void 0
4161
- }, Qn = {
4111
+ }(), pr = Ie.EMPTY;
4112
+ function dr(e) {
4113
+ return e instanceof Ie || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
4114
+ }
4115
+ function It(e) {
4116
+ U(e) ? e() : e.unsubscribe();
4117
+ }
4118
+ var yr = {
4119
+ onUnhandledError: null,
4120
+ onStoppedNotification: null,
4121
+ Promise: void 0,
4122
+ useDeprecatedSynchronousErrorHandling: !1,
4123
+ useDeprecatedNextContext: !1
4124
+ }, Xn = {
4162
4125
  setTimeout: function(e, t) {
4163
4126
  for (var r = [], i = 2; i < arguments.length; i++)
4164
4127
  r[i - 2] = arguments[i];
4165
- return setTimeout.apply(void 0, at([e, t], st(r)));
4128
+ return setTimeout.apply(void 0, J([e, t], Qe(r)));
4166
4129
  },
4167
4130
  clearTimeout: function(e) {
4168
4131
  return clearTimeout(e);
4169
4132
  },
4170
4133
  delegate: void 0
4171
4134
  };
4172
- function Yn(e) {
4173
- Qn.setTimeout(function() {
4135
+ function zn(e) {
4136
+ Xn.setTimeout(function() {
4174
4137
  throw e;
4175
4138
  });
4176
4139
  }
4177
- function Ct() {
4140
+ function Bt() {
4178
4141
  }
4179
4142
  function xe(e) {
4180
4143
  e();
4181
4144
  }
4182
4145
  var br = function(e) {
4183
- fe(t, e);
4146
+ G(t, e);
4184
4147
  function t(r) {
4185
4148
  var i = e.call(this) || this;
4186
- return i.isStopped = !1, r ? (i.destination = r, gr(r) && r.add(i)) : i.destination = Kn, i;
4149
+ return i.isStopped = !1, r ? (i.destination = r, dr(r) && r.add(i)) : i.destination = Jn, i;
4187
4150
  }
4188
4151
  return t.create = function(r, i, n) {
4189
- return new lt(r, i, n);
4152
+ return new ot(r, i, n);
4190
4153
  }, t.prototype.next = function(r) {
4191
4154
  this.isStopped || this._next(r);
4192
4155
  }, t.prototype.error = function(r) {
@@ -4210,7 +4173,11 @@ var br = function(e) {
4210
4173
  this.unsubscribe();
4211
4174
  }
4212
4175
  }, t;
4213
- }(Be), Jn = function() {
4176
+ }(Ie), Zn = Function.prototype.bind;
4177
+ function ke(e, t) {
4178
+ return Zn.call(e, t);
4179
+ }
4180
+ var Qn = function() {
4214
4181
  function e(t) {
4215
4182
  this.partialObserver = t;
4216
4183
  }
@@ -4220,7 +4187,7 @@ var br = function(e) {
4220
4187
  try {
4221
4188
  r.next(t);
4222
4189
  } catch (i) {
4223
- be(i);
4190
+ ge(i);
4224
4191
  }
4225
4192
  }, e.prototype.error = function(t) {
4226
4193
  var r = this.partialObserver;
@@ -4228,56 +4195,68 @@ var br = function(e) {
4228
4195
  try {
4229
4196
  r.error(t);
4230
4197
  } catch (i) {
4231
- be(i);
4198
+ ge(i);
4232
4199
  }
4233
4200
  else
4234
- be(t);
4201
+ ge(t);
4235
4202
  }, e.prototype.complete = function() {
4236
4203
  var t = this.partialObserver;
4237
4204
  if (t.complete)
4238
4205
  try {
4239
4206
  t.complete();
4240
4207
  } catch (r) {
4241
- be(r);
4208
+ ge(r);
4242
4209
  }
4243
4210
  }, e;
4244
- }(), lt = function(e) {
4245
- fe(t, e);
4211
+ }(), ot = function(e) {
4212
+ G(t, e);
4246
4213
  function t(r, i, n) {
4247
4214
  var o = e.call(this) || this, a;
4248
- return G(r) || !r ? a = {
4249
- next: r ?? void 0,
4250
- error: i ?? void 0,
4251
- complete: n ?? void 0
4252
- } : a = r, o.destination = new Jn(a), o;
4215
+ if (U(r) || !r)
4216
+ a = {
4217
+ next: r ?? void 0,
4218
+ error: i ?? void 0,
4219
+ complete: n ?? void 0
4220
+ };
4221
+ else {
4222
+ var s;
4223
+ o && yr.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
4224
+ return o.unsubscribe();
4225
+ }, a = {
4226
+ next: r.next && ke(r.next, s),
4227
+ error: r.error && ke(r.error, s),
4228
+ complete: r.complete && ke(r.complete, s)
4229
+ }) : a = r;
4230
+ }
4231
+ return o.destination = new Qn(a), o;
4253
4232
  }
4254
4233
  return t;
4255
4234
  }(br);
4256
- function be(e) {
4257
- Yn(e);
4235
+ function ge(e) {
4236
+ zn(e);
4258
4237
  }
4259
- function qn(e) {
4238
+ function Yn(e) {
4260
4239
  throw e;
4261
4240
  }
4262
- var Kn = {
4241
+ var Jn = {
4263
4242
  closed: !0,
4264
- next: Ct,
4265
- error: qn,
4266
- complete: Ct
4267
- }, eo = function() {
4243
+ next: Bt,
4244
+ error: Yn,
4245
+ complete: Bt
4246
+ }, qn = function() {
4268
4247
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4269
4248
  }();
4270
- function to(e) {
4249
+ function Kn(e) {
4271
4250
  return e;
4272
4251
  }
4273
- function ro(e) {
4274
- return e.length === 0 ? to : e.length === 1 ? e[0] : function(r) {
4252
+ function eo(e) {
4253
+ return e.length === 0 ? Kn : e.length === 1 ? e[0] : function(r) {
4275
4254
  return e.reduce(function(i, n) {
4276
4255
  return n(i);
4277
4256
  }, r);
4278
4257
  };
4279
4258
  }
4280
- var Nt = function() {
4259
+ var Ot = function() {
4281
4260
  function e(t) {
4282
4261
  t && (this._subscribe = t);
4283
4262
  }
@@ -4285,7 +4264,7 @@ var Nt = function() {
4285
4264
  var r = new e();
4286
4265
  return r.source = this, r.operator = t, r;
4287
4266
  }, e.prototype.subscribe = function(t, r, i) {
4288
- var n = this, o = no(t) ? t : new lt(t, r, i);
4267
+ var n = this, o = ro(t) ? t : new ot(t, r, i);
4289
4268
  return xe(function() {
4290
4269
  var a = n, s = a.operator, h = a.source;
4291
4270
  o.add(s ? s.call(o, h) : h ? n._subscribe(o) : n._trySubscribe(o));
@@ -4298,8 +4277,8 @@ var Nt = function() {
4298
4277
  }
4299
4278
  }, e.prototype.forEach = function(t, r) {
4300
4279
  var i = this;
4301
- return r = Rt(r), new r(function(n, o) {
4302
- var a = new lt({
4280
+ return r = Ct(r), new r(function(n, o) {
4281
+ var a = new ot({
4303
4282
  next: function(s) {
4304
4283
  try {
4305
4284
  t(s);
@@ -4315,15 +4294,15 @@ var Nt = function() {
4315
4294
  }, e.prototype._subscribe = function(t) {
4316
4295
  var r;
4317
4296
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
4318
- }, e.prototype[eo] = function() {
4297
+ }, e.prototype[qn] = function() {
4319
4298
  return this;
4320
4299
  }, e.prototype.pipe = function() {
4321
4300
  for (var t = [], r = 0; r < arguments.length; r++)
4322
4301
  t[r] = arguments[r];
4323
- return ro(t)(this);
4302
+ return eo(t)(this);
4324
4303
  }, e.prototype.toPromise = function(t) {
4325
4304
  var r = this;
4326
- return t = Rt(t), new t(function(i, n) {
4305
+ return t = Ct(t), new t(function(i, n) {
4327
4306
  var o;
4328
4307
  r.subscribe(function(a) {
4329
4308
  return o = a;
@@ -4337,32 +4316,32 @@ var Nt = function() {
4337
4316
  return new e(t);
4338
4317
  }, e;
4339
4318
  }();
4340
- function Rt(e) {
4319
+ function Ct(e) {
4341
4320
  var t;
4342
- return (t = e ?? Zn.Promise) !== null && t !== void 0 ? t : Promise;
4321
+ return (t = e ?? yr.Promise) !== null && t !== void 0 ? t : Promise;
4343
4322
  }
4344
- function io(e) {
4345
- return e && G(e.next) && G(e.error) && G(e.complete);
4323
+ function to(e) {
4324
+ return e && U(e.next) && U(e.error) && U(e.complete);
4346
4325
  }
4347
- function no(e) {
4348
- return e && e instanceof br || io(e) && gr(e);
4326
+ function ro(e) {
4327
+ return e && e instanceof br || to(e) && dr(e);
4349
4328
  }
4350
- var oo = dr(function(e) {
4329
+ var io = mr(function(e) {
4351
4330
  return function() {
4352
4331
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4353
4332
  };
4354
- }), vr = function(e) {
4355
- fe(t, e);
4333
+ }), gr = function(e) {
4334
+ G(t, e);
4356
4335
  function t() {
4357
4336
  var r = e.call(this) || this;
4358
4337
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
4359
4338
  }
4360
4339
  return t.prototype.lift = function(r) {
4361
- var i = new Mt(this, this);
4340
+ var i = new Nt(this, this);
4362
4341
  return i.operator = r, i;
4363
4342
  }, t.prototype._throwIfClosed = function() {
4364
4343
  if (this.closed)
4365
- throw new oo();
4344
+ throw new io();
4366
4345
  }, t.prototype.next = function(r) {
4367
4346
  var i = this;
4368
4347
  xe(function() {
@@ -4370,7 +4349,7 @@ var oo = dr(function(e) {
4370
4349
  if (i._throwIfClosed(), !i.isStopped) {
4371
4350
  i.currentObservers || (i.currentObservers = Array.from(i.observers));
4372
4351
  try {
4373
- for (var a = ot(i.currentObservers), s = a.next(); !s.done; s = a.next()) {
4352
+ for (var a = Ze(i.currentObservers), s = a.next(); !s.done; s = a.next()) {
4374
4353
  var h = s.value;
4375
4354
  h.next(r);
4376
4355
  }
@@ -4419,20 +4398,20 @@ var oo = dr(function(e) {
4419
4398
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4420
4399
  }, t.prototype._innerSubscribe = function(r) {
4421
4400
  var i = this, n = this, o = n.hasError, a = n.isStopped, s = n.observers;
4422
- return o || a ? yr : (this.currentObservers = null, s.push(r), new Be(function() {
4423
- i.currentObservers = null, ut(s, r);
4401
+ return o || a ? pr : (this.currentObservers = null, s.push(r), new Ie(function() {
4402
+ i.currentObservers = null, nt(s, r);
4424
4403
  }));
4425
4404
  }, t.prototype._checkFinalizedStatuses = function(r) {
4426
4405
  var i = this, n = i.hasError, o = i.thrownError, a = i.isStopped;
4427
4406
  n ? r.error(o) : a && r.complete();
4428
4407
  }, t.prototype.asObservable = function() {
4429
- var r = new Nt();
4408
+ var r = new Ot();
4430
4409
  return r.source = this, r;
4431
4410
  }, t.create = function(r, i) {
4432
- return new Mt(r, i);
4411
+ return new Nt(r, i);
4433
4412
  }, t;
4434
- }(Nt), Mt = function(e) {
4435
- fe(t, e);
4413
+ }(Ot), Nt = function(e) {
4414
+ G(t, e);
4436
4415
  function t(r, i) {
4437
4416
  var n = e.call(this) || this;
4438
4417
  return n.destination = r, n.source = i, n;
@@ -4448,17 +4427,17 @@ var oo = dr(function(e) {
4448
4427
  (i = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || i === void 0 || i.call(r);
4449
4428
  }, t.prototype._subscribe = function(r) {
4450
4429
  var i, n;
4451
- return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : yr;
4430
+ return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : pr;
4452
4431
  }, t;
4453
- }(vr), _r = {
4432
+ }(gr), vr = {
4454
4433
  now: function() {
4455
- return (_r.delegate || Date).now();
4434
+ return (vr.delegate || Date).now();
4456
4435
  },
4457
4436
  delegate: void 0
4458
- }, so = function(e) {
4459
- fe(t, e);
4437
+ }, no = function(e) {
4438
+ G(t, e);
4460
4439
  function t(r, i, n) {
4461
- r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = _r);
4440
+ r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = vr);
4462
4441
  var o = e.call(this) || this;
4463
4442
  return o._bufferSize = r, o._windowTime = i, o._timestampProvider = n, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = i === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, i), o;
4464
4443
  }
@@ -4478,23 +4457,23 @@ var oo = dr(function(e) {
4478
4457
  u && o.splice(0, u + 1);
4479
4458
  }
4480
4459
  }, t;
4481
- }(vr);
4482
- const Dt = [], $t = {}, ao = (e, t = 0) => {
4483
- if (Dt.indexOf(e) == -1) {
4484
- const r = new so(t);
4485
- $t[e] = r, Dt.push(e);
4460
+ }(gr);
4461
+ const Rt = [], Mt = {}, oo = (e, t = 0) => {
4462
+ if (Rt.indexOf(e) == -1) {
4463
+ const r = new no(t);
4464
+ Mt[e] = r, Rt.push(e);
4486
4465
  }
4487
- return $t[e];
4466
+ return Mt[e];
4488
4467
  };
4489
- window.emWidgets = { topic: ao };
4490
- const uo = (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));
4491
- function lo(e, t) {
4468
+ window.emWidgets = { topic: oo };
4469
+ const so = (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));
4470
+ function ao(e, t) {
4492
4471
  if (e) {
4493
4472
  const r = document.createElement("style");
4494
4473
  r.innerHTML = t, e.appendChild(r);
4495
4474
  }
4496
4475
  }
4497
- function ho(e, t) {
4476
+ function uo(e, t) {
4498
4477
  const r = new URL(t);
4499
4478
  fetch(r.href).then((i) => i.text()).then((i) => {
4500
4479
  const n = document.createElement("style");
@@ -4503,7 +4482,7 @@ function ho(e, t) {
4503
4482
  console.error("There was an error while trying to load client styling from URL", i);
4504
4483
  });
4505
4484
  }
4506
- function co(e, t, r) {
4485
+ function lo(e, t, r) {
4507
4486
  if (window.emMessageBus) {
4508
4487
  const i = document.createElement("style");
4509
4488
  window.emMessageBus.subscribe(t, (n) => {
@@ -4511,77 +4490,77 @@ function co(e, t, r) {
4511
4490
  });
4512
4491
  }
4513
4492
  }
4514
- function fo(e) {
4515
- Mr(e, "svelte-19ml84y", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-19ml84y.svelte-19ml84y,.svelte-19ml84y.svelte-19ml84y::before,.svelte-19ml84y.svelte-19ml84y::after{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-19ml84y.svelte-19ml84y{color:var(--emw--color-white, #FFFFFF)}button.svelte-19ml84y.svelte-19ml84y{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-19ml84y.svelte-19ml84y{color:#999;display:flex;justify-content:center;align-items:center;margin-right:-14px;background:transparent}.ExpandButton.svelte-19ml84y svg.svelte-19ml84y{width:28px;height:auto;margin-left:-4px}.extended.svelte-19ml84y.svelte-19ml84y{transform:rotate(180deg)}.HistoryWrapper.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column}.HistoryWrapper.Desktop.svelte-19ml84y.svelte-19ml84y{width:320px;padding:0 12px;margin:12px auto}.hidden.svelte-19ml84y.svelte-19ml84y{display:none}.HistoryRow.svelte-19ml84y.svelte-19ml84y{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column;gap:4px}.LimitType.svelte-19ml84y.svelte-19ml84y{font-size:1.3rem}.LimitAmountPeriod.svelte-19ml84y.svelte-19ml84y{color:#999}.LimitContainer.svelte-19ml84y.svelte-19ml84y{animation:svelte-19ml84y-animateEntry 0.7s ease-in}@keyframes svelte-19ml84y-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
4493
+ function ho(e) {
4494
+ Rr(e, "svelte-19ml84y", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-19ml84y.svelte-19ml84y,.svelte-19ml84y.svelte-19ml84y::before,.svelte-19ml84y.svelte-19ml84y::after{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-19ml84y.svelte-19ml84y{color:var(--emw--color-white, #FFFFFF)}button.svelte-19ml84y.svelte-19ml84y{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-19ml84y.svelte-19ml84y{color:#999;display:flex;justify-content:center;align-items:center;margin-right:-14px;background:transparent}.ExpandButton.svelte-19ml84y svg.svelte-19ml84y{width:28px;height:auto;margin-left:-4px}.extended.svelte-19ml84y.svelte-19ml84y{transform:rotate(180deg)}.HistoryWrapper.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column}.HistoryWrapper.Desktop.svelte-19ml84y.svelte-19ml84y{width:320px;padding:0 12px;margin:12px auto}.hidden.svelte-19ml84y.svelte-19ml84y{display:none}.HistoryRow.svelte-19ml84y.svelte-19ml84y{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column;gap:4px}.LimitType.svelte-19ml84y.svelte-19ml84y{font-size:1.3rem}.LimitAmountPeriod.svelte-19ml84y.svelte-19ml84y{color:#999}.LimitContainer.svelte-19ml84y.svelte-19ml84y{animation:svelte-19ml84y-animateEntry 0.7s ease-in}@keyframes svelte-19ml84y-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
4516
4495
  }
4517
- function Ut(e, t, r) {
4496
+ function Dt(e, t, r) {
4518
4497
  const i = e.slice();
4519
4498
  return i[37] = t[r], i[38] = t, i[39] = r, i;
4520
4499
  }
4521
- function mo(e) {
4500
+ function co(e) {
4522
4501
  let t, r, i, n = (
4523
4502
  /*$_*/
4524
4503
  e[9]("expandLimits") + ""
4525
- ), o, a, s, h, u, l, c, f, p, y = gt(
4504
+ ), o, a, s, h, u, l, c, f, p, y = dt(
4526
4505
  /*lazyShowedHistoryArray*/
4527
4506
  e[7]
4528
4507
  ), d = [];
4529
4508
  for (let v = 0; v < y.length; v += 1)
4530
- d[v] = Gt(Ut(e, y, v));
4509
+ d[v] = $t(Dt(e, y, v));
4531
4510
  return {
4532
4511
  c() {
4533
- t = P("div"), r = P("div"), i = P("button"), o = U(n), a = Xe(), s = Me("svg"), h = Me("path"), u = Me("path"), l = Xe(), c = P("div");
4512
+ t = H("div"), r = H("div"), i = H("button"), o = $(n), a = Ve(), s = Ne("svg"), h = Ne("path"), u = Ne("path"), l = Ve(), c = H("div");
4534
4513
  for (let v = 0; v < d.length; v += 1)
4535
4514
  d[v].c();
4536
- E(h, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), E(h, "class", "svelte-19ml84y"), E(u, "d", "M0 0h36v36h-36z"), E(u, "fill", "none"), E(u, "class", "svelte-19ml84y"), E(s, "class", "ExpandArrow svelte-19ml84y"), E(s, "xmlns", "http://www.w3.org/2000/svg"), E(s, "width", "36"), E(s, "height", "36"), E(s, "viewBox", "0 0 36 36"), E(s, "fill", "#999"), ye(
4515
+ x(h, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), x(h, "class", "svelte-19ml84y"), x(u, "d", "M0 0h36v36h-36z"), x(u, "fill", "none"), x(u, "class", "svelte-19ml84y"), x(s, "class", "ExpandArrow svelte-19ml84y"), x(s, "xmlns", "http://www.w3.org/2000/svg"), x(s, "width", "36"), x(s, "height", "36"), x(s, "viewBox", "0 0 36 36"), x(s, "fill", "#999"), ye(
4537
4516
  s,
4538
4517
  "extended",
4539
4518
  /*extended*/
4540
4519
  e[8]
4541
- ), E(i, "class", "ExpandButton svelte-19ml84y"), E(c, "class", "HistoryDisplayArea svelte-19ml84y"), ye(
4520
+ ), x(i, "class", "ExpandButton svelte-19ml84y"), x(c, "class", "HistoryDisplayArea svelte-19ml84y"), ye(
4542
4521
  c,
4543
4522
  "hidden",
4544
4523
  /*hidden*/
4545
4524
  e[5]
4546
- ), E(r, "class", "HistoryWrapper " + /*isDesktop*/
4547
- (e[10] ? "Desktop" : "") + " svelte-19ml84y"), E(t, "class", "player-account-gaming-limits-history-2 svelte-19ml84y");
4525
+ ), x(r, "class", "HistoryWrapper " + /*isDesktop*/
4526
+ (e[10] ? "Desktop" : "") + " svelte-19ml84y"), x(t, "class", "player-account-gaming-limits-history-2 svelte-19ml84y");
4548
4527
  },
4549
- m(v, H) {
4550
- W(v, t, H), x(t, r), x(r, i), x(i, o), x(i, a), x(i, s), x(s, h), x(s, u), x(r, l), x(r, c);
4551
- for (let g = 0; g < d.length; g += 1)
4552
- d[g] && d[g].m(c, null);
4553
- f || (p = Gr(
4528
+ m(v, P) {
4529
+ W(v, t, P), T(t, r), T(r, i), T(i, o), T(i, a), T(i, s), T(s, h), T(s, u), T(r, l), T(r, c);
4530
+ for (let b = 0; b < d.length; b += 1)
4531
+ d[b] && d[b].m(c, null);
4532
+ f || (p = Ur(
4554
4533
  i,
4555
4534
  "click",
4556
4535
  /*toggleHistoryDisplayArea*/
4557
4536
  e[11]
4558
4537
  ), f = !0);
4559
4538
  },
4560
- p(v, H) {
4561
- if (H[0] & /*$_*/
4539
+ p(v, P) {
4540
+ if (P[0] & /*$_*/
4562
4541
  512 && n !== (n = /*$_*/
4563
- v[9]("expandLimits") + "") && j(o, n), H[0] & /*extended*/
4542
+ v[9]("expandLimits") + "") && j(o, n), P[0] & /*extended*/
4564
4543
  256 && ye(
4565
4544
  s,
4566
4545
  "extended",
4567
4546
  /*extended*/
4568
4547
  v[8]
4569
- ), H[0] & /*numberofentries, limitContainer, lazyShowedHistoryArray, $_*/
4548
+ ), P[0] & /*numberofentries, limitContainer, lazyShowedHistoryArray, $_*/
4570
4549
  650) {
4571
- y = gt(
4550
+ y = dt(
4572
4551
  /*lazyShowedHistoryArray*/
4573
4552
  v[7]
4574
4553
  );
4575
- let g;
4576
- for (g = 0; g < y.length; g += 1) {
4577
- const S = Ut(v, y, g);
4578
- d[g] ? d[g].p(S, H) : (d[g] = Gt(S), d[g].c(), d[g].m(c, null));
4554
+ let b;
4555
+ for (b = 0; b < y.length; b += 1) {
4556
+ const w = Dt(v, y, b);
4557
+ d[b] ? d[b].p(w, P) : (d[b] = $t(w), d[b].c(), d[b].m(c, null));
4579
4558
  }
4580
- for (; g < d.length; g += 1)
4581
- d[g].d(1);
4559
+ for (; b < d.length; b += 1)
4560
+ d[b].d(1);
4582
4561
  d.length = y.length;
4583
4562
  }
4584
- H[0] & /*hidden*/
4563
+ P[0] & /*hidden*/
4585
4564
  32 && ye(
4586
4565
  c,
4587
4566
  "hidden",
@@ -4590,14 +4569,14 @@ function mo(e) {
4590
4569
  );
4591
4570
  },
4592
4571
  d(v) {
4593
- v && k(t), Ur(d, v), f = !1, p();
4572
+ v && k(t), $r(d, v), f = !1, p();
4594
4573
  }
4595
4574
  };
4596
4575
  }
4597
- function po(e) {
4598
- return { c: I, m: I, p: I, d: I };
4576
+ function fo(e) {
4577
+ return { c: B, m: B, p: B, d: B };
4599
4578
  }
4600
- function yo(e) {
4579
+ function mo(e) {
4601
4580
  let t, r = (
4602
4581
  /*lang*/
4603
4582
  (e[0] ? (
@@ -4607,10 +4586,10 @@ function yo(e) {
4607
4586
  ), i;
4608
4587
  return {
4609
4588
  c() {
4610
- t = P("p"), i = U(r), E(t, "class", "svelte-19ml84y");
4589
+ t = H("p"), i = $(r), x(t, "class", "svelte-19ml84y");
4611
4590
  },
4612
4591
  m(n, o) {
4613
- W(n, t, o), x(t, i);
4592
+ W(n, t, o), T(t, i);
4614
4593
  },
4615
4594
  p(n, o) {
4616
4595
  o[0] & /*lang, $_*/
@@ -4625,7 +4604,7 @@ function yo(e) {
4625
4604
  }
4626
4605
  };
4627
4606
  }
4628
- function go(e) {
4607
+ function po(e) {
4629
4608
  let t, r, i, n = (
4630
4609
  /*history*/
4631
4610
  e[37].type + ""
@@ -4638,10 +4617,10 @@ function go(e) {
4638
4617
  ), c;
4639
4618
  return {
4640
4619
  c() {
4641
- t = P("div"), r = P("span"), i = P("span"), o = U(n), a = P("span"), h = U(s), u = P("span"), c = U(l), E(i, "class", "LimitType svelte-19ml84y"), E(a, "class", "LimitAmountPeriod svelte-19ml84y"), E(r, "class", "GeneralLimitInformation svelte-19ml84y"), E(u, "class", "DateLimitInformation svelte-19ml84y"), E(t, "class", "HistoryRow svelte-19ml84y");
4620
+ t = H("div"), r = H("span"), i = H("span"), o = $(n), a = H("span"), h = $(s), u = H("span"), c = $(l), x(i, "class", "LimitType svelte-19ml84y"), x(a, "class", "LimitAmountPeriod svelte-19ml84y"), x(r, "class", "GeneralLimitInformation svelte-19ml84y"), x(u, "class", "DateLimitInformation svelte-19ml84y"), x(t, "class", "HistoryRow svelte-19ml84y");
4642
4621
  },
4643
4622
  m(f, p) {
4644
- W(f, t, p), x(t, r), x(r, i), x(i, o), x(r, a), x(a, h), x(t, u), x(u, c);
4623
+ W(f, t, p), T(t, r), T(r, i), T(i, o), T(r, a), T(a, h), T(t, u), T(u, c);
4645
4624
  },
4646
4625
  p(f, p) {
4647
4626
  p[0] & /*lazyShowedHistoryArray*/
@@ -4657,7 +4636,7 @@ function go(e) {
4657
4636
  }
4658
4637
  };
4659
4638
  }
4660
- function bo(e) {
4639
+ function yo(e) {
4661
4640
  let t, r, i, n = (
4662
4641
  /*history*/
4663
4642
  e[37].type + ""
@@ -4670,10 +4649,10 @@ function bo(e) {
4670
4649
  ), c;
4671
4650
  return {
4672
4651
  c() {
4673
- t = P("div"), r = P("span"), i = P("span"), o = U(n), a = P("span"), h = U(s), u = P("span"), c = U(l), E(i, "class", "LimitType svelte-19ml84y"), E(a, "class", "LimitAmountPeriod svelte-19ml84y"), E(r, "class", "GeneralLimitInformation svelte-19ml84y"), E(u, "class", "DateLimitInformation svelte-19ml84y"), E(t, "class", "HistoryRow svelte-19ml84y");
4652
+ t = H("div"), r = H("span"), i = H("span"), o = $(n), a = H("span"), h = $(s), u = H("span"), c = $(l), x(i, "class", "LimitType svelte-19ml84y"), x(a, "class", "LimitAmountPeriod svelte-19ml84y"), x(r, "class", "GeneralLimitInformation svelte-19ml84y"), x(u, "class", "DateLimitInformation svelte-19ml84y"), x(t, "class", "HistoryRow svelte-19ml84y");
4674
4653
  },
4675
4654
  m(f, p) {
4676
- W(f, t, p), x(t, r), x(r, i), x(i, o), x(r, a), x(a, h), x(t, u), x(u, c);
4655
+ W(f, t, p), T(t, r), T(r, i), T(i, o), T(r, a), T(a, h), T(t, u), T(u, c);
4677
4656
  },
4678
4657
  p(f, p) {
4679
4658
  p[0] & /*lazyShowedHistoryArray*/
@@ -4689,7 +4668,7 @@ function bo(e) {
4689
4668
  }
4690
4669
  };
4691
4670
  }
4692
- function Gt(e) {
4671
+ function $t(e) {
4693
4672
  let t, r, i, n = (
4694
4673
  /*index*/
4695
4674
  e[39]
@@ -4697,7 +4676,7 @@ function Gt(e) {
4697
4676
  function o(l, c) {
4698
4677
  return (
4699
4678
  /*history*/
4700
- l[37].removed ? bo : go
4679
+ l[37].removed ? yo : po
4701
4680
  );
4702
4681
  }
4703
4682
  let a = o(e), s = a(e);
@@ -4710,22 +4689,22 @@ function Gt(e) {
4710
4689
  );
4711
4690
  return {
4712
4691
  c() {
4713
- t = P("div"), s.c(), r = Xe(), E(t, "class", i = dt(
4692
+ t = H("div"), s.c(), r = Ve(), x(t, "class", i = mt(
4714
4693
  /*index*/
4715
4694
  e[39] > +/*numberofentries*/
4716
4695
  e[1] ? "LimitContainer" : ""
4717
4696
  ) + " svelte-19ml84y");
4718
4697
  },
4719
4698
  m(l, c) {
4720
- W(l, t, c), s.m(t, null), x(t, r), h();
4699
+ W(l, t, c), s.m(t, null), T(t, r), h();
4721
4700
  },
4722
4701
  p(l, c) {
4723
4702
  e = l, a === (a = o(e)) && s ? s.p(e, c) : (s.d(1), s = a(e), s && (s.c(), s.m(t, r))), c[0] & /*numberofentries*/
4724
- 2 && i !== (i = dt(
4703
+ 2 && i !== (i = mt(
4725
4704
  /*index*/
4726
4705
  e[39] > +/*numberofentries*/
4727
4706
  e[1] ? "LimitContainer" : ""
4728
- ) + " svelte-19ml84y") && E(t, "class", i), n !== /*index*/
4707
+ ) + " svelte-19ml84y") && x(t, "class", i), n !== /*index*/
4729
4708
  e[39] && (u(), n = /*index*/
4730
4709
  e[39], h());
4731
4710
  },
@@ -4734,21 +4713,21 @@ function Gt(e) {
4734
4713
  }
4735
4714
  };
4736
4715
  }
4737
- function vo(e) {
4716
+ function bo(e) {
4738
4717
  let t;
4739
4718
  function r(o, a) {
4740
4719
  return (
4741
4720
  /*hasErrors*/
4742
- o[6] ? yo : (
4721
+ o[6] ? mo : (
4743
4722
  /*isLoading*/
4744
- o[4] ? po : mo
4723
+ o[4] ? fo : co
4745
4724
  )
4746
4725
  );
4747
4726
  }
4748
4727
  let i = r(e), n = i(e);
4749
4728
  return {
4750
4729
  c() {
4751
- t = P("div"), n.c(), E(t, "class", "svelte-19ml84y");
4730
+ t = H("div"), n.c(), x(t, "class", "svelte-19ml84y");
4752
4731
  },
4753
4732
  m(o, a) {
4754
4733
  W(o, t, a), n.m(t, null), e[23](t);
@@ -4756,52 +4735,52 @@ function vo(e) {
4756
4735
  p(o, a) {
4757
4736
  i === (i = r(o)) && n ? n.p(o, a) : (n.d(1), n = i(o), n && (n.c(), n.m(t, null)));
4758
4737
  },
4759
- i: I,
4760
- o: I,
4738
+ i: B,
4739
+ o: B,
4761
4740
  d(o) {
4762
4741
  o && k(t), n.d(), e[23](null);
4763
4742
  }
4764
4743
  };
4765
4744
  }
4766
- function _o(e, t, r) {
4745
+ function go(e, t, r) {
4767
4746
  let i;
4768
- Rr(e, Xn, (m) => r(9, i = m));
4769
- let n = window.navigator.userAgent, o = !uo(n), { lang: a = "" } = t, { userid: s = "" } = t, { session: h = "" } = t, { endpoint: u = "" } = t, { apiversion: l = "" } = t, { numberofentries: c = "10" } = t, { customcurrencysymbols: f = "" } = t, { limitformat: p = "" } = t, { clientstyling: y = "" } = t, { clientstylingurl: d = "" } = t, { mbsource: v } = t, { translationurl: H = "" } = t, g, S = new Array(), M = parseInt(c, 10), N = !1, D = !0, V = [], me = [], pe = !0, Ce = !1, ne = { EUR: "€", RON: "lei", TRY: "₺" };
4747
+ Nr(e, Vn, (m) => r(9, i = m));
4748
+ let n = window.navigator.userAgent, o = !so(n), { lang: a = "" } = t, { userid: s = "" } = t, { session: h = "" } = t, { endpoint: u = "" } = t, { apiversion: l = "" } = t, { numberofentries: c = "10" } = t, { customcurrencysymbols: f = "" } = t, { limitformat: p = "" } = t, { clientstyling: y = "" } = t, { clientstylingurl: d = "" } = t, { mbsource: v } = t, { translationurl: P = "" } = t, b, w = new Array(), R = parseInt(c, 10), N = !1, M = !0, V = [], me = [], pe = !0, Be = !1, oe = { EUR: "€", RON: "lei", TRY: "₺" };
4770
4749
  const Er = () => {
4771
- fetch(H).then((T) => T.json()).then((T) => {
4772
- Object.keys(T).forEach((C) => {
4773
- It(C, T[C]);
4750
+ fetch(P).then((L) => L.json()).then((L) => {
4751
+ Object.keys(L).forEach((C) => {
4752
+ Pt(C, L[C]);
4774
4753
  });
4775
- }).catch((T) => {
4776
- console.log(T);
4754
+ }).catch((L) => {
4755
+ console.log(L);
4777
4756
  });
4778
4757
  };
4779
- Object.keys(Ve).forEach((m) => {
4780
- It(m, Ve[m]);
4758
+ Object.keys(Fe).forEach((m) => {
4759
+ Pt(m, Fe[m]);
4781
4760
  });
4782
- const xr = () => {
4783
- let m = l === "gmcore" ? `/v2/player/${s}/transactions/limit` : `/v1/player/${s}/limits/monetary/history`, T = new URL(m, u);
4784
- T.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), T.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), T.searchParams.append("limit", "10000");
4761
+ const _r = () => {
4762
+ let m = l === "gmcore" ? `/v2/player/${s}/transactions/limit` : `/v1/player/${s}/limits/monetary/history`, L = new URL(m, u);
4763
+ L.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), L.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), L.searchParams.append("limit", "10000");
4785
4764
  let C = {
4786
4765
  method: "GET",
4787
4766
  headers: { "X-SessionID": h }
4788
4767
  };
4789
- fetch(T.href, C).then((A) => {
4768
+ fetch(L.href, C).then((A) => {
4790
4769
  if (A.status >= 300)
4791
- throw r(4, D = !1), r(6, N = !0), new Error("There was an error fetching the limits");
4770
+ throw r(4, M = !1), r(6, N = !0), new Error("There was an error fetching the limits");
4792
4771
  return A.json();
4793
4772
  }).then(
4794
4773
  (A) => {
4795
- A.length && (V = Tr(A), r(7, me = V.slice(0, M))), r(4, D = !1);
4774
+ A.length && (V = xr(A), r(7, me = V.slice(0, R))), r(4, M = !1);
4796
4775
  },
4797
4776
  (A) => {
4798
4777
  console.error("There was an error", A), r(6, N = !0);
4799
4778
  }
4800
4779
  );
4801
- }, Tr = (m) => {
4802
- const T = !!Ve[a];
4780
+ }, xr = (m) => {
4781
+ const L = !!Fe[a];
4803
4782
  return m.map((A) => {
4804
- let $ = {
4783
+ let D = {
4805
4784
  amount: "",
4806
4785
  currency: "",
4807
4786
  date: "",
@@ -4809,82 +4788,82 @@ function _o(e, t, r) {
4809
4788
  type: "",
4810
4789
  removed: !1
4811
4790
  };
4812
- return $.amount = Lr(A), $.currency = T ? ne[A.limitCurrencyCode] : A.limitCurrencyCode, $.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(A.limitDate)), $.period = i(`${A.limitPeriod.toLowerCase()}`), $.type = l === "gmcore" ? i(`historyLimitType${A.limitType.split(" ")[0]}`) : i(`historyLimitType${A.limitType.split(" ")[0]}`) + " " + i(`historyProductType${A.limitProductType}`), $.removed = A.limitAmount === -1, $;
4791
+ return D.amount = Tr(A), D.currency = L ? oe[A.limitCurrencyCode] : A.limitCurrencyCode, D.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(A.limitDate)), D.period = i(`${A.limitPeriod.toLowerCase()}`), D.type = l === "gmcore" ? i(`historyLimitType${A.limitType.split(" ")[0]}`) : i(`historyLimitType${A.limitType.split(" ")[0]}`) + " " + i(`historyProductType${A.limitProductType}`), D.removed = A.limitAmount === -1, D;
4813
4792
  });
4814
- }, Lr = (m) => {
4815
- let T = p || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(m.limitAmount);
4793
+ }, Tr = (m) => {
4794
+ let L = p || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(m.limitAmount);
4816
4795
  if (!p) {
4817
- let Cr = ne[m.limitCurrencyCode] || m.limitCurrencyCode;
4818
- return `${T}${Cr}`;
4796
+ let Or = oe[m.limitCurrencyCode] || m.limitCurrencyCode;
4797
+ return `${L}${Or}`;
4819
4798
  }
4820
4799
  typeof m.limitAmount == "string" && m.limitAmount.includes(",") && (m.limitAmount = m.limitAmount.replaceAll(",", ""));
4821
- const C = T.match(/\{(\d+)decimals\}/), A = C ? parseInt(C[1], 10) : 2, $ = C ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
4800
+ const C = L.match(/\{(\d+)decimals\}/), A = C ? parseInt(C[1], 10) : 2, D = C ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
4822
4801
  let de = parseFloat(m.limitAmount).toFixed(A);
4823
- const [Ir, Ne] = p.includes(".") ? [",", "."] : [".", ","];
4824
- let [Re, Br] = de.split(".");
4825
- return Re = Re.replace(/\B(?=(\d{3})+(?!\d))/g, Ir), de = `${Re}${Ne}${Br}`, T = T.replace("{currency}", ne[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", de.split(Ne)[0]).replace(
4826
- $,
4827
- de.split(Ne)[1]
4828
- ), T;
4829
- }, Sr = () => {
4830
- r(5, pe = !pe), r(8, Ce = !Ce);
4802
+ const [Ir, Oe] = p.includes(".") ? [",", "."] : [".", ","];
4803
+ let [Ce, Br] = de.split(".");
4804
+ return Ce = Ce.replace(/\B(?=(\d{3})+(?!\d))/g, Ir), de = `${Ce}${Oe}${Br}`, L = L.replace("{currency}", oe[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", de.split(Oe)[0]).replace(
4805
+ D,
4806
+ de.split(Oe)[1]
4807
+ ), L;
4808
+ }, Lr = () => {
4809
+ r(5, pe = !pe), r(8, Be = !Be);
4831
4810
  };
4832
- let mt = new IntersectionObserver((m) => {
4833
- m.forEach((T) => {
4834
- T.isIntersecting && (M += parseInt(c, 10) || 10, me.length < V.length && r(7, me = V.slice(0, M)));
4811
+ let ct = new IntersectionObserver((m) => {
4812
+ m.forEach((L) => {
4813
+ L.isIntersecting && (R += parseInt(c, 10) || 10, me.length < V.length && r(7, me = V.slice(0, R)));
4835
4814
  });
4836
4815
  });
4837
- const wr = () => {
4838
- mt.observe(S[S.length - 1]);
4839
- }, Ar = () => {
4816
+ const Sr = () => {
4817
+ ct.observe(w[w.length - 1]);
4818
+ }, wr = () => {
4840
4819
  if (!f)
4841
4820
  return;
4842
4821
  let m = {};
4843
- f.split(",").forEach((T) => {
4844
- let C = T.split(":");
4822
+ f.split(",").forEach((L) => {
4823
+ let C = L.split(":");
4845
4824
  m[C[0].trim()] = C[1].trim();
4846
- }), ne = { ...ne, ...m };
4847
- }, Pr = () => {
4848
- zn(a);
4825
+ }), oe = { ...oe, ...m };
4826
+ }, Ar = () => {
4827
+ Wn(a);
4849
4828
  };
4850
- Vr(() => () => {
4851
- mt.unobserve(S[S.length - 1]);
4829
+ kr(() => () => {
4830
+ ct.unobserve(w[w.length - 1]);
4852
4831
  });
4853
- function Hr(m, T) {
4832
+ function Hr(m, L) {
4854
4833
  Te[m ? "unshift" : "push"](() => {
4855
- S[T] = m, r(3, S);
4834
+ w[L] = m, r(3, w);
4856
4835
  });
4857
4836
  }
4858
- function Or(m) {
4837
+ function Pr(m) {
4859
4838
  Te[m ? "unshift" : "push"](() => {
4860
- g = m, r(2, g);
4839
+ b = m, r(2, b);
4861
4840
  });
4862
4841
  }
4863
4842
  return e.$$set = (m) => {
4864
- "lang" in m && r(0, a = m.lang), "userid" in m && r(12, s = m.userid), "session" in m && r(13, h = m.session), "endpoint" in m && r(14, u = m.endpoint), "apiversion" in m && r(15, l = m.apiversion), "numberofentries" in m && r(1, c = m.numberofentries), "customcurrencysymbols" in m && r(16, f = m.customcurrencysymbols), "limitformat" in m && r(17, p = m.limitformat), "clientstyling" in m && r(18, y = m.clientstyling), "clientstylingurl" in m && r(19, d = m.clientstylingurl), "mbsource" in m && r(20, v = m.mbsource), "translationurl" in m && r(21, H = m.translationurl);
4843
+ "lang" in m && r(0, a = m.lang), "userid" in m && r(12, s = m.userid), "session" in m && r(13, h = m.session), "endpoint" in m && r(14, u = m.endpoint), "apiversion" in m && r(15, l = m.apiversion), "numberofentries" in m && r(1, c = m.numberofentries), "customcurrencysymbols" in m && r(16, f = m.customcurrencysymbols), "limitformat" in m && r(17, p = m.limitformat), "clientstyling" in m && r(18, y = m.clientstyling), "clientstylingurl" in m && r(19, d = m.clientstylingurl), "mbsource" in m && r(20, v = m.mbsource), "translationurl" in m && r(21, P = m.translationurl);
4865
4844
  }, e.$$.update = () => {
4866
4845
  e.$$.dirty[0] & /*customcurrencysymbols*/
4867
- 65536 && f && Ar(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
4868
- 61440 && u && s && h && l && xr(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
4869
- 56 && S[0] && !D && !pe && wr(), e.$$.dirty[0] & /*lang*/
4870
- 1 && a && Pr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4871
- 262148 && y && g && lo(g, y), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4872
- 524292 && d && g && ho(g, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4873
- 1048580 && v && g && co(g, `${v}.Style`), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
4874
- 2097156 && H && g && Er();
4846
+ 65536 && f && wr(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
4847
+ 61440 && u && s && h && l && _r(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
4848
+ 56 && w[0] && !M && !pe && Sr(), e.$$.dirty[0] & /*lang*/
4849
+ 1 && a && Ar(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4850
+ 262148 && y && b && ao(b, y), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4851
+ 524292 && d && b && uo(b, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4852
+ 1048580 && v && b && lo(b, `${v}.Style`), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
4853
+ 2097156 && P && b && Er();
4875
4854
  }, [
4876
4855
  a,
4877
4856
  c,
4878
- g,
4879
- S,
4880
- D,
4857
+ b,
4858
+ w,
4859
+ M,
4881
4860
  pe,
4882
4861
  N,
4883
4862
  me,
4884
- Ce,
4863
+ Be,
4885
4864
  i,
4886
4865
  o,
4887
- Sr,
4866
+ Lr,
4888
4867
  s,
4889
4868
  h,
4890
4869
  u,
@@ -4894,19 +4873,19 @@ function _o(e, t, r) {
4894
4873
  y,
4895
4874
  d,
4896
4875
  v,
4897
- H,
4876
+ P,
4898
4877
  Hr,
4899
- Or
4878
+ Pr
4900
4879
  ];
4901
4880
  }
4902
- class Eo extends ri {
4881
+ class vo extends ti {
4903
4882
  constructor(t) {
4904
- super(), ei(
4883
+ super(), Kr(
4905
4884
  this,
4906
4885
  t,
4907
- _o,
4908
- vo,
4909
- jt,
4886
+ go,
4887
+ bo,
4888
+ Gt,
4910
4889
  {
4911
4890
  lang: 0,
4912
4891
  userid: 12,
@@ -4921,7 +4900,7 @@ class Eo extends ri {
4921
4900
  mbsource: 20,
4922
4901
  translationurl: 21
4923
4902
  },
4924
- fo,
4903
+ ho,
4925
4904
  [-1, -1]
4926
4905
  );
4927
4906
  }
@@ -4929,76 +4908,76 @@ class Eo extends ri {
4929
4908
  return this.$$.ctx[0];
4930
4909
  }
4931
4910
  set lang(t) {
4932
- this.$$set({ lang: t }), B();
4911
+ this.$$set({ lang: t }), O();
4933
4912
  }
4934
4913
  get userid() {
4935
4914
  return this.$$.ctx[12];
4936
4915
  }
4937
4916
  set userid(t) {
4938
- this.$$set({ userid: t }), B();
4917
+ this.$$set({ userid: t }), O();
4939
4918
  }
4940
4919
  get session() {
4941
4920
  return this.$$.ctx[13];
4942
4921
  }
4943
4922
  set session(t) {
4944
- this.$$set({ session: t }), B();
4923
+ this.$$set({ session: t }), O();
4945
4924
  }
4946
4925
  get endpoint() {
4947
4926
  return this.$$.ctx[14];
4948
4927
  }
4949
4928
  set endpoint(t) {
4950
- this.$$set({ endpoint: t }), B();
4929
+ this.$$set({ endpoint: t }), O();
4951
4930
  }
4952
4931
  get apiversion() {
4953
4932
  return this.$$.ctx[15];
4954
4933
  }
4955
4934
  set apiversion(t) {
4956
- this.$$set({ apiversion: t }), B();
4935
+ this.$$set({ apiversion: t }), O();
4957
4936
  }
4958
4937
  get numberofentries() {
4959
4938
  return this.$$.ctx[1];
4960
4939
  }
4961
4940
  set numberofentries(t) {
4962
- this.$$set({ numberofentries: t }), B();
4941
+ this.$$set({ numberofentries: t }), O();
4963
4942
  }
4964
4943
  get customcurrencysymbols() {
4965
4944
  return this.$$.ctx[16];
4966
4945
  }
4967
4946
  set customcurrencysymbols(t) {
4968
- this.$$set({ customcurrencysymbols: t }), B();
4947
+ this.$$set({ customcurrencysymbols: t }), O();
4969
4948
  }
4970
4949
  get limitformat() {
4971
4950
  return this.$$.ctx[17];
4972
4951
  }
4973
4952
  set limitformat(t) {
4974
- this.$$set({ limitformat: t }), B();
4953
+ this.$$set({ limitformat: t }), O();
4975
4954
  }
4976
4955
  get clientstyling() {
4977
4956
  return this.$$.ctx[18];
4978
4957
  }
4979
4958
  set clientstyling(t) {
4980
- this.$$set({ clientstyling: t }), B();
4959
+ this.$$set({ clientstyling: t }), O();
4981
4960
  }
4982
4961
  get clientstylingurl() {
4983
4962
  return this.$$.ctx[19];
4984
4963
  }
4985
4964
  set clientstylingurl(t) {
4986
- this.$$set({ clientstylingurl: t }), B();
4965
+ this.$$set({ clientstylingurl: t }), O();
4987
4966
  }
4988
4967
  get mbsource() {
4989
4968
  return this.$$.ctx[20];
4990
4969
  }
4991
4970
  set mbsource(t) {
4992
- this.$$set({ mbsource: t }), B();
4971
+ this.$$set({ mbsource: t }), O();
4993
4972
  }
4994
4973
  get translationurl() {
4995
4974
  return this.$$.ctx[21];
4996
4975
  }
4997
4976
  set translationurl(t) {
4998
- this.$$set({ translationurl: t }), B();
4977
+ this.$$set({ translationurl: t }), O();
4999
4978
  }
5000
4979
  }
5001
- ti(Eo, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4980
+ ei(vo, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5002
4981
  export {
5003
- Eo as P
4982
+ vo as P
5004
4983
  };