@everymatrix/player-account-gaming-limits-history-2-nd 1.86.2 → 1.86.4

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