@everymatrix/player-account-gaming-limits-history-2 1.76.1 → 1.76.3

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,53 +1,53 @@
1
- var Ur = Object.defineProperty, Gr = Object.defineProperties;
2
- var Fr = Object.getOwnPropertyDescriptors;
3
- var dt = Object.getOwnPropertySymbols;
4
- var jr = Object.prototype.hasOwnProperty, kr = Object.prototype.propertyIsEnumerable;
5
- var Me = (e, t, r) => t in e ? Ur(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, be = (e, t) => {
1
+ var Mr = Object.defineProperty, Dr = Object.defineProperties;
2
+ var $r = Object.getOwnPropertyDescriptors;
3
+ var mt = Object.getOwnPropertySymbols;
4
+ var Ur = Object.prototype.hasOwnProperty, Gr = Object.prototype.propertyIsEnumerable;
5
+ var Me = (e, t, r) => t in e ? Mr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, be = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- jr.call(t, r) && Me(e, r, t[r]);
8
- if (dt)
9
- for (var r of dt(t))
10
- kr.call(t, r) && Me(e, r, t[r]);
7
+ Ur.call(t, r) && Me(e, r, t[r]);
8
+ if (mt)
9
+ for (var r of mt(t))
10
+ Gr.call(t, r) && Me(e, r, t[r]);
11
11
  return e;
12
- }, yt = (e, t) => Gr(e, Fr(t));
12
+ }, pt = (e, t) => Dr(e, $r(t));
13
13
  var N = (e, t, r) => (Me(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var bt = (e, t, r) => new Promise((i, n) => {
15
- var o = (l) => {
14
+ var dt = (e, t, r) => new Promise((i, n) => {
15
+ var s = (l) => {
16
16
  try {
17
- s(r.next(l));
17
+ a(r.next(l));
18
18
  } catch (u) {
19
19
  n(u);
20
20
  }
21
- }, a = (l) => {
21
+ }, o = (l) => {
22
22
  try {
23
- s(r.throw(l));
23
+ a(r.throw(l));
24
24
  } catch (u) {
25
25
  n(u);
26
26
  }
27
- }, s = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(o, a);
28
- s((r = r.apply(e, t)).next());
27
+ }, a = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(s, o);
28
+ a((r = r.apply(e, t)).next());
29
29
  });
30
30
  function B() {
31
31
  }
32
- function Wt(e) {
32
+ function kt(e) {
33
33
  return e();
34
34
  }
35
- function gt() {
35
+ function yt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function fe(e) {
39
- e.forEach(Wt);
39
+ e.forEach(kt);
40
40
  }
41
- function lt(e) {
41
+ function ut(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Xt(e, t) {
44
+ function Vt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function Vr(e) {
47
+ function Fr(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function zt(e, ...t) {
50
+ function Wt(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const i of t)
53
53
  i(void 0);
@@ -56,23 +56,23 @@ function zt(e, ...t) {
56
56
  const r = e.subscribe(...t);
57
57
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
58
  }
59
- function Wr(e, t, r) {
60
- e.$$.on_destroy.push(zt(t, r));
59
+ function jr(e, t, r) {
60
+ e.$$.on_destroy.push(Wt(t, r));
61
61
  }
62
- function vt(e) {
62
+ function bt(e) {
63
63
  return e == null ? "" : e;
64
64
  }
65
65
  function T(e, t) {
66
66
  e.appendChild(t);
67
67
  }
68
- function Xr(e, t, r) {
69
- const i = zr(e);
68
+ function kr(e, t, r) {
69
+ const i = Vr(e);
70
70
  if (!i.getElementById(t)) {
71
71
  const n = H("style");
72
- n.id = t, n.textContent = r, Zr(i, n);
72
+ n.id = t, n.textContent = r, Wr(i, n);
73
73
  }
74
74
  }
75
- function zr(e) {
75
+ function Vr(e) {
76
76
  if (!e)
77
77
  return document;
78
78
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -82,7 +82,7 @@ function zr(e) {
82
82
  t
83
83
  ) : e.ownerDocument;
84
84
  }
85
- function Zr(e, t) {
85
+ function Wr(e, t) {
86
86
  return T(
87
87
  /** @type {Document} */
88
88
  e.head || e,
@@ -95,7 +95,7 @@ function X(e, t, r) {
95
95
  function V(e) {
96
96
  e.parentNode && e.parentNode.removeChild(e);
97
97
  }
98
- function Qr(e, t) {
98
+ function Xr(e, t) {
99
99
  for (let r = 0; r < e.length; r += 1)
100
100
  e[r] && e[r].d(t);
101
101
  }
@@ -108,16 +108,16 @@ function De(e) {
108
108
  function U(e) {
109
109
  return document.createTextNode(e);
110
110
  }
111
- function ze() {
111
+ function Xe() {
112
112
  return U(" ");
113
113
  }
114
- function Yr(e, t, r, i) {
114
+ function zr(e, t, r, i) {
115
115
  return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
116
116
  }
117
117
  function x(e, t, r) {
118
118
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
119
119
  }
120
- function Jr(e) {
120
+ function Zr(e) {
121
121
  return Array.from(e.childNodes);
122
122
  }
123
123
  function k(e, t) {
@@ -127,7 +127,7 @@ function k(e, t) {
127
127
  function ge(e, t, r) {
128
128
  e.classList.toggle(t, !!r);
129
129
  }
130
- function qr(e) {
130
+ function Qr(e) {
131
131
  const t = {};
132
132
  return e.childNodes.forEach(
133
133
  /** @param {Element} node */
@@ -140,22 +140,22 @@ let le;
140
140
  function ue(e) {
141
141
  le = e;
142
142
  }
143
- function Kr() {
143
+ function Yr() {
144
144
  if (!le)
145
145
  throw new Error("Function called outside component initialization");
146
146
  return le;
147
147
  }
148
- function ei(e) {
149
- Kr().$$.on_mount.push(e);
148
+ function Jr(e) {
149
+ Yr().$$.on_mount.push(e);
150
150
  }
151
151
  const Y = [], Se = [];
152
152
  let J = [];
153
- const Et = [], ti = /* @__PURE__ */ Promise.resolve();
154
- let Ze = !1;
155
- function ri() {
156
- Ze || (Ze = !0, ti.then(O));
153
+ const gt = [], qr = /* @__PURE__ */ Promise.resolve();
154
+ let ze = !1;
155
+ function Kr() {
156
+ ze || (ze = !0, qr.then(O));
157
157
  }
158
- function Qe(e) {
158
+ function Ze(e) {
159
159
  J.push(e);
160
160
  }
161
161
  const $e = /* @__PURE__ */ new Set();
@@ -168,7 +168,7 @@ function O() {
168
168
  try {
169
169
  for (; Z < Y.length; ) {
170
170
  const t = Y[Z];
171
- Z++, ue(t), ii(t.$$);
171
+ Z++, ue(t), ei(t.$$);
172
172
  }
173
173
  } catch (t) {
174
174
  throw Y.length = 0, Z = 0, t;
@@ -181,53 +181,53 @@ function O() {
181
181
  }
182
182
  J.length = 0;
183
183
  } while (Y.length);
184
- for (; Et.length; )
185
- Et.pop()();
186
- Ze = !1, $e.clear(), ue(e);
184
+ for (; gt.length; )
185
+ gt.pop()();
186
+ ze = !1, $e.clear(), ue(e);
187
187
  }
188
- function ii(e) {
188
+ function ei(e) {
189
189
  if (e.fragment !== null) {
190
190
  e.update(), fe(e.before_update);
191
191
  const t = e.dirty;
192
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Qe);
192
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ze);
193
193
  }
194
194
  }
195
- function ni(e) {
195
+ function ti(e) {
196
196
  const t = [], r = [];
197
197
  J.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), J = t;
198
198
  }
199
- const oi = /* @__PURE__ */ new Set();
200
- function si(e, t) {
201
- e && e.i && (oi.delete(e), e.i(t));
199
+ const ri = /* @__PURE__ */ new Set();
200
+ function ii(e, t) {
201
+ e && e.i && (ri.delete(e), e.i(t));
202
202
  }
203
- function _t(e) {
203
+ function vt(e) {
204
204
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
205
205
  }
206
- function ai(e, t, r) {
206
+ function ni(e, t, r) {
207
207
  const { fragment: i, after_update: n } = e.$$;
208
- i && i.m(t, r), Qe(() => {
209
- const o = e.$$.on_mount.map(Wt).filter(lt);
210
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : fe(o), e.$$.on_mount = [];
211
- }), n.forEach(Qe);
208
+ i && i.m(t, r), Ze(() => {
209
+ const s = e.$$.on_mount.map(kt).filter(ut);
210
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : fe(s), e.$$.on_mount = [];
211
+ }), n.forEach(Ze);
212
212
  }
213
- function ui(e, t) {
213
+ function si(e, t) {
214
214
  const r = e.$$;
215
- r.fragment !== null && (ni(r.after_update), fe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
215
+ r.fragment !== null && (ti(r.after_update), fe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
216
216
  }
217
- function li(e, t) {
218
- e.$$.dirty[0] === -1 && (Y.push(e), ri(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
217
+ function oi(e, t) {
218
+ e.$$.dirty[0] === -1 && (Y.push(e), Kr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
219
219
  }
220
- function hi(e, t, r, i, n, o, a = null, s = [-1]) {
220
+ function ai(e, t, r, i, n, s, o = null, a = [-1]) {
221
221
  const l = le;
222
222
  ue(e);
223
223
  const u = e.$$ = {
224
224
  fragment: null,
225
225
  ctx: [],
226
226
  // state
227
- props: o,
227
+ props: s,
228
228
  update: B,
229
229
  not_equal: n,
230
- bound: gt(),
230
+ bound: yt(),
231
231
  // lifecycle
232
232
  on_mount: [],
233
233
  on_destroy: [],
@@ -236,28 +236,28 @@ function hi(e, t, r, i, n, o, a = null, s = [-1]) {
236
236
  after_update: [],
237
237
  context: new Map(t.context || (l ? l.$$.context : [])),
238
238
  // everything else
239
- callbacks: gt(),
240
- dirty: s,
239
+ callbacks: yt(),
240
+ dirty: a,
241
241
  skip_bound: !1,
242
242
  root: t.target || l.$$.root
243
243
  };
244
- a && a(u.root);
244
+ o && o(u.root);
245
245
  let h = !1;
246
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
246
+ if (u.ctx = r(e, t.props || {}, (c, f, ...p) => {
247
247
  const y = p.length ? p[0] : f;
248
- return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && li(e, c)), f;
249
- }) : [], u.update(), h = !0, fe(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
248
+ return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && oi(e, c)), f;
249
+ }), u.update(), h = !0, fe(u.before_update), u.fragment = i(u.ctx), t.target) {
250
250
  if (t.hydrate) {
251
- const c = Jr(t.target);
251
+ const c = Zr(t.target);
252
252
  u.fragment && u.fragment.l(c), c.forEach(V);
253
253
  } else
254
254
  u.fragment && u.fragment.c();
255
- t.intro && si(e.$$.fragment), ai(e, t.target, t.anchor), O();
255
+ t.intro && ii(e.$$.fragment), ni(e, t.target, t.anchor), O();
256
256
  }
257
257
  ue(l);
258
258
  }
259
- let Zt;
260
- typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
259
+ let Xt;
260
+ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
261
261
  constructor(t, r, i) {
262
262
  super();
263
263
  /** The Svelte component constructor */
@@ -294,42 +294,42 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
294
294
  }
295
295
  }
296
296
  connectedCallback() {
297
- return bt(this, null, function* () {
297
+ return dt(this, null, function* () {
298
298
  if (this.$$cn = !0, !this.$$c) {
299
- let t = function(o) {
299
+ let t = function(s) {
300
300
  return () => {
301
- let a;
301
+ let o;
302
302
  return {
303
303
  c: function() {
304
- a = H("slot"), o !== "default" && x(a, "name", o);
304
+ o = H("slot"), s !== "default" && x(o, "name", s);
305
305
  },
306
306
  /**
307
307
  * @param {HTMLElement} target
308
308
  * @param {HTMLElement} [anchor]
309
309
  */
310
310
  m: function(u, h) {
311
- X(u, a, h);
311
+ X(u, o, h);
312
312
  },
313
313
  d: function(u) {
314
- u && V(a);
314
+ u && V(o);
315
315
  }
316
316
  };
317
317
  };
318
318
  };
319
319
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
320
320
  return;
321
- const r = {}, i = qr(this);
322
- for (const o of this.$$s)
323
- o in i && (r[o] = [t(o)]);
324
- for (const o of this.attributes) {
325
- const a = this.$$g_p(o.name);
326
- a in this.$$d || (this.$$d[a] = _e(a, o.value, this.$$p_d, "toProp"));
321
+ const r = {}, i = Qr(this);
322
+ for (const s of this.$$s)
323
+ s in i && (r[s] = [t(s)]);
324
+ for (const s of this.attributes) {
325
+ const o = this.$$g_p(s.name);
326
+ o in this.$$d || (this.$$d[o] = _e(o, s.value, this.$$p_d, "toProp"));
327
327
  }
328
- for (const o in this.$$p_d)
329
- !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
328
+ for (const s in this.$$p_d)
329
+ !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
330
330
  this.$$c = new this.$$ctor({
331
331
  target: this.shadowRoot || this,
332
- props: yt(be({}, this.$$d), {
332
+ props: pt(be({}, this.$$d), {
333
333
  $$slots: r,
334
334
  $$scope: {
335
335
  ctx: []
@@ -338,23 +338,23 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
338
338
  });
339
339
  const n = () => {
340
340
  this.$$r = !0;
341
- for (const o in this.$$p_d)
342
- if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
343
- const a = _e(
344
- o,
345
- this.$$d[o],
341
+ for (const s in this.$$p_d)
342
+ if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
343
+ const o = _e(
344
+ s,
345
+ this.$$d[s],
346
346
  this.$$p_d,
347
347
  "toAttribute"
348
348
  );
349
- a == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, a);
349
+ o == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, o);
350
350
  }
351
351
  this.$$r = !1;
352
352
  };
353
353
  this.$$c.$$.after_update.push(n), n();
354
- for (const o in this.$$l)
355
- for (const a of this.$$l[o]) {
356
- const s = this.$$c.$on(o, a);
357
- this.$$l_u.set(a, s);
354
+ for (const s in this.$$l)
355
+ for (const o of this.$$l[s]) {
356
+ const a = this.$$c.$on(s, o);
357
+ this.$$l_u.set(o, a);
358
358
  }
359
359
  this.$$l = {};
360
360
  }
@@ -378,8 +378,8 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
378
378
  }
379
379
  });
380
380
  function _e(e, t, r, i) {
381
- var o;
382
- const n = (o = r[e]) == null ? void 0 : o.type;
381
+ var s;
382
+ const n = (s = r[e]) == null ? void 0 : s.type;
383
383
  if (t = n === "Boolean" && typeof t != "boolean" ? t != null : t, !i || !r[e])
384
384
  return t;
385
385
  if (i === "toAttribute")
@@ -407,38 +407,38 @@ function _e(e, t, r, i) {
407
407
  return t;
408
408
  }
409
409
  }
410
- function ci(e, t, r, i, n, o) {
411
- let a = class extends Zt {
410
+ function ui(e, t, r, i, n, s) {
411
+ let o = class extends Xt {
412
412
  constructor() {
413
413
  super(e, r, n), this.$$p_d = t;
414
414
  }
415
415
  static get observedAttributes() {
416
416
  return Object.keys(t).map(
417
- (s) => (t[s].attribute || s).toLowerCase()
417
+ (a) => (t[a].attribute || a).toLowerCase()
418
418
  );
419
419
  }
420
420
  };
421
- return Object.keys(t).forEach((s) => {
422
- Object.defineProperty(a.prototype, s, {
421
+ return Object.keys(t).forEach((a) => {
422
+ Object.defineProperty(o.prototype, a, {
423
423
  get() {
424
- return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
424
+ return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
425
425
  },
426
426
  set(l) {
427
427
  var u;
428
- l = _e(s, l, t), this.$$d[s] = l, (u = this.$$c) == null || u.$set({ [s]: l });
428
+ l = _e(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
429
429
  }
430
430
  });
431
- }), i.forEach((s) => {
432
- Object.defineProperty(a.prototype, s, {
431
+ }), i.forEach((a) => {
432
+ Object.defineProperty(o.prototype, a, {
433
433
  get() {
434
434
  var l;
435
- return (l = this.$$c) == null ? void 0 : l[s];
435
+ return (l = this.$$c) == null ? void 0 : l[a];
436
436
  }
437
437
  });
438
438
  }), e.element = /** @type {any} */
439
- a, a;
439
+ o, o;
440
440
  }
441
- class fi {
441
+ class li {
442
442
  constructor() {
443
443
  /**
444
444
  * ### PRIVATE API
@@ -459,7 +459,7 @@ class fi {
459
459
  }
460
460
  /** @returns {void} */
461
461
  $destroy() {
462
- ui(this, 1), this.$destroy = B;
462
+ si(this, 1), this.$destroy = B;
463
463
  }
464
464
  /**
465
465
  * @template {Extract<keyof Events, string>} K
@@ -468,7 +468,7 @@ class fi {
468
468
  * @returns {() => void}
469
469
  */
470
470
  $on(t, r) {
471
- if (!lt(r))
471
+ if (!ut(r))
472
472
  return B;
473
473
  const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
474
474
  return i.push(r), () => {
@@ -481,13 +481,13 @@ class fi {
481
481
  * @returns {void}
482
482
  */
483
483
  $set(t) {
484
- this.$$set && !Vr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
484
+ this.$$set && !Fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
485
485
  }
486
486
  }
487
- const mi = "4";
488
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(mi);
487
+ const hi = "4";
488
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(hi);
489
489
  const Q = [];
490
- function pi(e, t) {
490
+ function ci(e, t) {
491
491
  return {
492
492
  subscribe: He(e, t).subscribe
493
493
  };
@@ -495,8 +495,8 @@ function pi(e, t) {
495
495
  function He(e, t = B) {
496
496
  let r;
497
497
  const i = /* @__PURE__ */ new Set();
498
- function n(s) {
499
- if (Xt(e, s) && (e = s, r)) {
498
+ function n(a) {
499
+ if (Vt(e, a) && (e = a, r)) {
500
500
  const l = !Q.length;
501
501
  for (const u of i)
502
502
  u[1](), Q.push(u, e);
@@ -507,23 +507,23 @@ function He(e, t = B) {
507
507
  }
508
508
  }
509
509
  }
510
- function o(s) {
511
- n(s(e));
510
+ function s(a) {
511
+ n(a(e));
512
512
  }
513
- function a(s, l = B) {
514
- const u = [s, l];
515
- return i.add(u), i.size === 1 && (r = t(n, o) || B), s(e), () => {
513
+ function o(a, l = B) {
514
+ const u = [a, l];
515
+ return i.add(u), i.size === 1 && (r = t(n, s) || B), a(e), () => {
516
516
  i.delete(u), i.size === 0 && r && (r(), r = null);
517
517
  };
518
518
  }
519
- return { set: n, update: o, subscribe: a };
519
+ return { set: n, update: s, subscribe: o };
520
520
  }
521
521
  function ie(e, t, r) {
522
522
  const i = !Array.isArray(e), n = i ? [e] : e;
523
523
  if (!n.every(Boolean))
524
524
  throw new Error("derived() expects stores as input, got a falsy value");
525
- const o = t.length < 2;
526
- return pi(r, (a, s) => {
525
+ const s = t.length < 2;
526
+ return ci(r, (o, a) => {
527
527
  let l = !1;
528
528
  const u = [];
529
529
  let h = 0, c = B;
@@ -531,10 +531,10 @@ function ie(e, t, r) {
531
531
  if (h)
532
532
  return;
533
533
  c();
534
- const y = t(i ? u[0] : u, a, s);
535
- o ? a(y) : c = lt(y) ? y : B;
534
+ const y = t(i ? u[0] : u, o, a);
535
+ s ? o(y) : c = ut(y) ? y : B;
536
536
  }, p = n.map(
537
- (y, d) => zt(
537
+ (y, d) => Wt(
538
538
  y,
539
539
  (v) => {
540
540
  u[d] = v, h &= ~(1 << d), l && f();
@@ -549,70 +549,70 @@ function ie(e, t, r) {
549
549
  };
550
550
  });
551
551
  }
552
- function di(e) {
553
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
552
+ function fi(e) {
553
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
554
554
  }
555
- var yi = function(t) {
556
- return bi(t) && !gi(t);
555
+ var mi = function(t) {
556
+ return pi(t) && !di(t);
557
557
  };
558
- function bi(e) {
558
+ function pi(e) {
559
559
  return !!e && typeof e == "object";
560
560
  }
561
- function gi(e) {
561
+ function di(e) {
562
562
  var t = Object.prototype.toString.call(e);
563
- return t === "[object RegExp]" || t === "[object Date]" || _i(e);
563
+ return t === "[object RegExp]" || t === "[object Date]" || gi(e);
564
564
  }
565
- var vi = typeof Symbol == "function" && Symbol.for, Ei = vi ? Symbol.for("react.element") : 60103;
566
- function _i(e) {
567
- return e.$$typeof === Ei;
565
+ var yi = typeof Symbol == "function" && Symbol.for, bi = yi ? Symbol.for("react.element") : 60103;
566
+ function gi(e) {
567
+ return e.$$typeof === bi;
568
568
  }
569
- function xi(e) {
569
+ function vi(e) {
570
570
  return Array.isArray(e) ? [] : {};
571
571
  }
572
572
  function he(e, t) {
573
- return t.clone !== !1 && t.isMergeableObject(e) ? K(xi(e), e, t) : e;
573
+ return t.clone !== !1 && t.isMergeableObject(e) ? K(vi(e), e, t) : e;
574
574
  }
575
- function Ti(e, t, r) {
575
+ function Ei(e, t, r) {
576
576
  return e.concat(t).map(function(i) {
577
577
  return he(i, r);
578
578
  });
579
579
  }
580
- function Li(e, t) {
580
+ function _i(e, t) {
581
581
  if (!t.customMerge)
582
582
  return K;
583
583
  var r = t.customMerge(e);
584
584
  return typeof r == "function" ? r : K;
585
585
  }
586
- function Si(e) {
586
+ function xi(e) {
587
587
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
588
588
  return Object.propertyIsEnumerable.call(e, t);
589
589
  }) : [];
590
590
  }
591
- function xt(e) {
592
- return Object.keys(e).concat(Si(e));
591
+ function Et(e) {
592
+ return Object.keys(e).concat(xi(e));
593
593
  }
594
- function Qt(e, t) {
594
+ function zt(e, t) {
595
595
  try {
596
596
  return t in e;
597
597
  } catch (r) {
598
598
  return !1;
599
599
  }
600
600
  }
601
- function wi(e, t) {
602
- return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
601
+ function Ti(e, t) {
602
+ return zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
603
603
  }
604
- function Ai(e, t, r) {
604
+ function Li(e, t, r) {
605
605
  var i = {};
606
- return r.isMergeableObject(e) && xt(e).forEach(function(n) {
606
+ return r.isMergeableObject(e) && Et(e).forEach(function(n) {
607
607
  i[n] = he(e[n], r);
608
- }), xt(t).forEach(function(n) {
609
- wi(e, n) || (Qt(e, n) && r.isMergeableObject(t[n]) ? i[n] = Li(n, r)(e[n], t[n], r) : i[n] = he(t[n], r));
608
+ }), Et(t).forEach(function(n) {
609
+ Ti(e, n) || (zt(e, n) && r.isMergeableObject(t[n]) ? i[n] = _i(n, r)(e[n], t[n], r) : i[n] = he(t[n], r));
610
610
  }), i;
611
611
  }
612
612
  function K(e, t, r) {
613
- r = r || {}, r.arrayMerge = r.arrayMerge || Ti, r.isMergeableObject = r.isMergeableObject || yi, r.cloneUnlessOtherwiseSpecified = he;
614
- var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
615
- return o ? i ? r.arrayMerge(e, t, r) : Ai(e, t, r) : he(t, r);
613
+ r = r || {}, r.arrayMerge = r.arrayMerge || Ei, r.isMergeableObject = r.isMergeableObject || mi, r.cloneUnlessOtherwiseSpecified = he;
614
+ var i = Array.isArray(t), n = Array.isArray(e), s = i === n;
615
+ return s ? i ? r.arrayMerge(e, t, r) : Li(e, t, r) : he(t, r);
616
616
  }
617
617
  K.all = function(t, r) {
618
618
  if (!Array.isArray(t))
@@ -621,8 +621,8 @@ K.all = function(t, r) {
621
621
  return K(i, n, r);
622
622
  }, {});
623
623
  };
624
- var Hi = K, Pi = Hi;
625
- const Ii = /* @__PURE__ */ di(Pi);
624
+ var Si = K, wi = Si;
625
+ const Ai = /* @__PURE__ */ fi(wi);
626
626
  /*! *****************************************************************************
627
627
  Copyright (c) Microsoft Corporation.
628
628
 
@@ -637,18 +637,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
637
637
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
638
638
  PERFORMANCE OF THIS SOFTWARE.
639
639
  ***************************************************************************** */
640
- var Ye = function(e, t) {
641
- return Ye = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
640
+ var Qe = function(e, t) {
641
+ return Qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
642
642
  r.__proto__ = i;
643
643
  } || function(r, i) {
644
644
  for (var n in i)
645
645
  Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
646
- }, Ye(e, t);
646
+ }, Qe(e, t);
647
647
  };
648
648
  function F(e, t) {
649
649
  if (typeof t != "function" && t !== null)
650
650
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
651
- Ye(e, t);
651
+ Qe(e, t);
652
652
  function r() {
653
653
  this.constructor = e;
654
654
  }
@@ -658,13 +658,13 @@ var _ = function() {
658
658
  return _ = Object.assign || function(t) {
659
659
  for (var r, i = 1, n = arguments.length; i < n; i++) {
660
660
  r = arguments[i];
661
- for (var o in r)
662
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
661
+ for (var s in r)
662
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
663
663
  }
664
664
  return t;
665
665
  }, _.apply(this, arguments);
666
666
  };
667
- function Bi(e, t) {
667
+ function Hi(e, t) {
668
668
  var r = {};
669
669
  for (var i in e)
670
670
  Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
@@ -673,7 +673,7 @@ function Bi(e, t) {
673
673
  t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
674
674
  return r;
675
675
  }
676
- function Je(e) {
676
+ function Ye(e) {
677
677
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
678
678
  if (r)
679
679
  return r.call(e);
@@ -685,82 +685,84 @@ function Je(e) {
685
685
  };
686
686
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
687
687
  }
688
- function qe(e, t) {
688
+ function Je(e, t) {
689
689
  var r = typeof Symbol == "function" && e[Symbol.iterator];
690
690
  if (!r)
691
691
  return e;
692
- var i = r.call(e), n, o = [], a;
692
+ var i = r.call(e), n, s = [], o;
693
693
  try {
694
694
  for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; )
695
- o.push(n.value);
696
- } catch (s) {
697
- a = { error: s };
695
+ s.push(n.value);
696
+ } catch (a) {
697
+ o = { error: a };
698
698
  } finally {
699
699
  try {
700
700
  n && !n.done && (r = i.return) && r.call(i);
701
701
  } finally {
702
- if (a)
703
- throw a.error;
702
+ if (o)
703
+ throw o.error;
704
704
  }
705
705
  }
706
- return o;
706
+ return s;
707
707
  }
708
708
  function q(e, t, r) {
709
709
  if (r || arguments.length === 2)
710
- for (var i = 0, n = t.length, o; i < n; i++)
711
- (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
712
- return e.concat(o || t);
710
+ for (var i = 0, n = t.length, s; i < n; i++)
711
+ (s || !(i in t)) && (s || (s = Array.prototype.slice.call(t, 0, i)), s[i] = t[i]);
712
+ return e.concat(s || t);
713
713
  }
714
714
  function Ue(e, t) {
715
- var r = t && t.cache ? t.cache : Di, i = t && t.serializer ? t.serializer : Mi, n = t && t.strategy ? t.strategy : Ci;
715
+ var r = t && t.cache ? t.cache : Ri, i = t && t.serializer ? t.serializer : Ci, n = t && t.strategy ? t.strategy : Ii;
716
716
  return n(e, {
717
717
  cache: r,
718
718
  serializer: i
719
719
  });
720
720
  }
721
- function Oi(e) {
721
+ function Pi(e) {
722
722
  return e == null || typeof e == "number" || typeof e == "boolean";
723
723
  }
724
- function Yt(e, t, r, i) {
725
- var n = Oi(i) ? i : r(i), o = t.get(n);
726
- return typeof o == "undefined" && (o = e.call(this, i), t.set(n, o)), o;
724
+ function Zt(e, t, r, i) {
725
+ var n = Pi(i) ? i : r(i), s = t.get(n);
726
+ return typeof s == "undefined" && (s = e.call(this, i), t.set(n, s)), s;
727
727
  }
728
- function Jt(e, t, r) {
729
- var i = Array.prototype.slice.call(arguments, 3), n = r(i), o = t.get(n);
730
- return typeof o == "undefined" && (o = e.apply(this, i), t.set(n, o)), o;
728
+ function Qt(e, t, r) {
729
+ var i = Array.prototype.slice.call(arguments, 3), n = r(i), s = t.get(n);
730
+ return typeof s == "undefined" && (s = e.apply(this, i), t.set(n, s)), s;
731
731
  }
732
- function ht(e, t, r, i, n) {
732
+ function lt(e, t, r, i, n) {
733
733
  return r.bind(t, e, i, n);
734
734
  }
735
- function Ci(e, t) {
736
- var r = e.length === 1 ? Yt : Jt;
737
- return ht(e, this, r, t.cache.create(), t.serializer);
735
+ function Ii(e, t) {
736
+ var r = e.length === 1 ? Zt : Qt;
737
+ return lt(e, this, r, t.cache.create(), t.serializer);
738
738
  }
739
- function Ni(e, t) {
740
- return ht(e, this, Jt, t.cache.create(), t.serializer);
739
+ function Bi(e, t) {
740
+ return lt(e, this, Qt, t.cache.create(), t.serializer);
741
741
  }
742
- function Ri(e, t) {
743
- return ht(e, this, Yt, t.cache.create(), t.serializer);
742
+ function Oi(e, t) {
743
+ return lt(e, this, Zt, t.cache.create(), t.serializer);
744
744
  }
745
- var Mi = function() {
745
+ var Ci = function() {
746
746
  return JSON.stringify(arguments);
747
- };
748
- function ct() {
749
- this.cache = /* @__PURE__ */ Object.create(null);
750
- }
751
- ct.prototype.get = function(e) {
752
- return this.cache[e];
753
- };
754
- ct.prototype.set = function(e, t) {
755
- this.cache[e] = t;
756
- };
757
- var Di = {
747
+ }, Ni = (
748
+ /** @class */
749
+ function() {
750
+ function e() {
751
+ this.cache = /* @__PURE__ */ Object.create(null);
752
+ }
753
+ return e.prototype.get = function(t) {
754
+ return this.cache[t];
755
+ }, e.prototype.set = function(t, r) {
756
+ this.cache[t] = r;
757
+ }, e;
758
+ }()
759
+ ), Ri = {
758
760
  create: function() {
759
- return new ct();
761
+ return new Ni();
760
762
  }
761
763
  }, Ge = {
762
- variadic: Ni,
763
- monadic: Ri
764
+ variadic: Bi,
765
+ monadic: Oi
764
766
  }, g;
765
767
  (function(e) {
766
768
  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";
@@ -773,43 +775,43 @@ var ee;
773
775
  (function(e) {
774
776
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
775
777
  })(ee || (ee = {}));
776
- function Tt(e) {
778
+ function _t(e) {
777
779
  return e.type === S.literal;
778
780
  }
779
- function $i(e) {
781
+ function Mi(e) {
780
782
  return e.type === S.argument;
781
783
  }
782
- function qt(e) {
784
+ function Yt(e) {
783
785
  return e.type === S.number;
784
786
  }
785
- function Kt(e) {
787
+ function Jt(e) {
786
788
  return e.type === S.date;
787
789
  }
788
- function er(e) {
790
+ function qt(e) {
789
791
  return e.type === S.time;
790
792
  }
791
- function tr(e) {
793
+ function Kt(e) {
792
794
  return e.type === S.select;
793
795
  }
794
- function rr(e) {
796
+ function er(e) {
795
797
  return e.type === S.plural;
796
798
  }
797
- function Ui(e) {
799
+ function Di(e) {
798
800
  return e.type === S.pound;
799
801
  }
800
- function ir(e) {
802
+ function tr(e) {
801
803
  return e.type === S.tag;
802
804
  }
803
- function nr(e) {
805
+ function rr(e) {
804
806
  return !!(e && typeof e == "object" && e.type === ee.number);
805
807
  }
806
- function Ke(e) {
808
+ function qe(e) {
807
809
  return !!(e && typeof e == "object" && e.type === ee.dateTime);
808
810
  }
809
- var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Gi = /(?:[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;
810
- function Fi(e) {
811
+ var ir = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, $i = /(?:[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;
812
+ function Ui(e) {
811
813
  var t = {};
812
- return e.replace(Gi, function(r) {
814
+ return e.replace($i, function(r) {
813
815
  var i = r.length;
814
816
  switch (r[0]) {
815
817
  case "G":
@@ -898,36 +900,36 @@ function Fi(e) {
898
900
  return "";
899
901
  }), t;
900
902
  }
901
- var ji = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
902
- function ki(e) {
903
+ var Gi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
904
+ function Fi(e) {
903
905
  if (e.length === 0)
904
906
  throw new Error("Number skeleton cannot be empty");
905
- for (var t = e.split(ji).filter(function(f) {
907
+ for (var t = e.split(Gi).filter(function(f) {
906
908
  return f.length > 0;
907
909
  }), r = [], i = 0, n = t; i < n.length; i++) {
908
- var o = n[i], a = o.split("/");
909
- if (a.length === 0)
910
+ var s = n[i], o = s.split("/");
911
+ if (o.length === 0)
910
912
  throw new Error("Invalid number skeleton");
911
- for (var s = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
913
+ for (var a = o[0], l = o.slice(1), u = 0, h = l; u < h.length; u++) {
912
914
  var c = h[u];
913
915
  if (c.length === 0)
914
916
  throw new Error("Invalid number skeleton");
915
917
  }
916
- r.push({ stem: s, options: l });
918
+ r.push({ stem: a, options: l });
917
919
  }
918
920
  return r;
919
921
  }
920
- function Vi(e) {
922
+ function ji(e) {
921
923
  return e.replace(/^(.*?)-/, "");
922
924
  }
923
- var Lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sr = /^(@+)?(\+|#+)?[rs]?$/g, Wi = /(\*)(0+)|(#+)(0+)|(0+)/g, ar = /^(0+)$/;
924
- function St(e) {
925
+ var xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, nr = /^(@+)?(\+|#+)?[rs]?$/g, ki = /(\*)(0+)|(#+)(0+)|(0+)/g, sr = /^(0+)$/;
926
+ function Tt(e) {
925
927
  var t = {};
926
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(sr, function(r, i, n) {
928
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(nr, function(r, i, n) {
927
929
  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)), "";
928
930
  }), t;
929
931
  }
930
- function ur(e) {
932
+ function or(e) {
931
933
  switch (e) {
932
934
  case "sign-auto":
933
935
  return {
@@ -967,7 +969,7 @@ function ur(e) {
967
969
  };
968
970
  }
969
971
  }
970
- function Xi(e) {
972
+ function Vi(e) {
971
973
  var t;
972
974
  if (e[0] === "E" && e[1] === "E" ? (t = {
973
975
  notation: "engineering"
@@ -975,17 +977,17 @@ function Xi(e) {
975
977
  notation: "scientific"
976
978
  }, e = e.slice(1)), t) {
977
979
  var r = e.slice(0, 2);
978
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ar.test(e))
980
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !sr.test(e))
979
981
  throw new Error("Malformed concise eng/scientific notation");
980
982
  t.minimumIntegerDigits = e.length;
981
983
  }
982
984
  return t;
983
985
  }
984
- function wt(e) {
985
- var t = {}, r = ur(e);
986
+ function Lt(e) {
987
+ var t = {}, r = or(e);
986
988
  return r || t;
987
989
  }
988
- function zi(e) {
990
+ function Wi(e) {
989
991
  for (var t = {}, r = 0, i = e; r < i.length; r++) {
990
992
  var n = i[r];
991
993
  switch (n.stem) {
@@ -1009,7 +1011,7 @@ function zi(e) {
1009
1011
  continue;
1010
1012
  case "measure-unit":
1011
1013
  case "unit":
1012
- t.style = "unit", t.unit = Vi(n.options[0]);
1014
+ t.style = "unit", t.unit = ji(n.options[0]);
1013
1015
  continue;
1014
1016
  case "compact-short":
1015
1017
  case "K":
@@ -1021,12 +1023,12 @@ function zi(e) {
1021
1023
  continue;
1022
1024
  case "scientific":
1023
1025
  t = _(_(_({}, t), { notation: "scientific" }), n.options.reduce(function(l, u) {
1024
- return _(_({}, l), wt(u));
1026
+ return _(_({}, l), Lt(u));
1025
1027
  }, {}));
1026
1028
  continue;
1027
1029
  case "engineering":
1028
1030
  t = _(_(_({}, t), { notation: "engineering" }), n.options.reduce(function(l, u) {
1029
- return _(_({}, l), wt(u));
1031
+ return _(_({}, l), Lt(u));
1030
1032
  }, {}));
1031
1033
  continue;
1032
1034
  case "notation-simple":
@@ -1071,7 +1073,7 @@ function zi(e) {
1071
1073
  case "integer-width":
1072
1074
  if (n.options.length > 1)
1073
1075
  throw new RangeError("integer-width stems only accept a single optional option");
1074
- n.options[0].replace(Wi, function(l, u, h, c, f, p) {
1076
+ n.options[0].replace(ki, function(l, u, h, c, f, p) {
1075
1077
  if (u)
1076
1078
  t.minimumIntegerDigits = h.length;
1077
1079
  else {
@@ -1084,28 +1086,28 @@ function zi(e) {
1084
1086
  });
1085
1087
  continue;
1086
1088
  }
1087
- if (ar.test(n.stem)) {
1089
+ if (sr.test(n.stem)) {
1088
1090
  t.minimumIntegerDigits = n.stem.length;
1089
1091
  continue;
1090
1092
  }
1091
- if (Lt.test(n.stem)) {
1093
+ if (xt.test(n.stem)) {
1092
1094
  if (n.options.length > 1)
1093
1095
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1094
- n.stem.replace(Lt, function(l, u, h, c, f, p) {
1096
+ n.stem.replace(xt, function(l, u, h, c, f, p) {
1095
1097
  return h === "*" ? 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), "";
1096
1098
  });
1097
- var o = n.options[0];
1098
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), St(o)));
1099
+ var s = n.options[0];
1100
+ s === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = _(_({}, t), Tt(s)));
1099
1101
  continue;
1100
1102
  }
1101
- if (sr.test(n.stem)) {
1102
- t = _(_({}, t), St(n.stem));
1103
+ if (nr.test(n.stem)) {
1104
+ t = _(_({}, t), Tt(n.stem));
1103
1105
  continue;
1104
1106
  }
1105
- var a = ur(n.stem);
1107
+ var o = or(n.stem);
1108
+ o && (t = _(_({}, t), o));
1109
+ var a = Vi(n.stem);
1106
1110
  a && (t = _(_({}, t), a));
1107
- var s = Xi(n.stem);
1108
- s && (t = _(_({}, t), s));
1109
1111
  }
1110
1112
  return t;
1111
1113
  }
@@ -2524,23 +2526,23 @@ var ve = {
2524
2526
  "h"
2525
2527
  ]
2526
2528
  };
2527
- function Zi(e, t) {
2529
+ function Xi(e, t) {
2528
2530
  for (var r = "", i = 0; i < e.length; i++) {
2529
2531
  var n = e.charAt(i);
2530
2532
  if (n === "j") {
2531
- for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
2532
- o++, i++;
2533
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Qi(t);
2534
- for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2533
+ for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
2534
+ s++, i++;
2535
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = zi(t);
2536
+ for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2535
2537
  r += l;
2536
- for (; a-- > 0; )
2538
+ for (; o-- > 0; )
2537
2539
  r = u + r;
2538
2540
  } else
2539
2541
  n === "J" ? r += "H" : r += n;
2540
2542
  }
2541
2543
  return r;
2542
2544
  }
2543
- function Qi(e) {
2545
+ function zi(e) {
2544
2546
  var t = e.hourCycle;
2545
2547
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2546
2548
  e.hourCycles && // @ts-ignore
@@ -2562,20 +2564,20 @@ function Qi(e) {
2562
2564
  var n = ve[i || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
2563
2565
  return n[0];
2564
2566
  }
2565
- var Fe, Yi = new RegExp("^".concat(or.source, "*")), Ji = new RegExp("".concat(or.source, "*$"));
2567
+ var Fe, Zi = new RegExp("^".concat(ir.source, "*")), Qi = new RegExp("".concat(ir.source, "*$"));
2566
2568
  function E(e, t) {
2567
2569
  return { start: e, end: t };
2568
2570
  }
2569
- var qi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ki = !!String.fromCodePoint, en = !!Object.fromEntries, tn = !!String.prototype.codePointAt, rn = !!String.prototype.trimStart, nn = !!String.prototype.trimEnd, on = !!Number.isSafeInteger, sn = on ? Number.isSafeInteger : function(e) {
2571
+ var Yi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ji = !!String.fromCodePoint, qi = !!Object.fromEntries, Ki = !!String.prototype.codePointAt, en = !!String.prototype.trimStart, tn = !!String.prototype.trimEnd, rn = !!Number.isSafeInteger, nn = rn ? Number.isSafeInteger : function(e) {
2570
2572
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2571
- }, et = !0;
2573
+ }, Ke = !0;
2572
2574
  try {
2573
- var an = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2574
- et = ((Fe = an.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
2575
+ var sn = ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2576
+ Ke = ((Fe = sn.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
2575
2577
  } catch (e) {
2576
- et = !1;
2578
+ Ke = !1;
2577
2579
  }
2578
- var At = qi ? (
2580
+ var St = Yi ? (
2579
2581
  // Native
2580
2582
  function(t, r, i) {
2581
2583
  return t.startsWith(r, i);
@@ -2585,31 +2587,31 @@ var At = qi ? (
2585
2587
  function(t, r, i) {
2586
2588
  return t.slice(i, i + r.length) === r;
2587
2589
  }
2588
- ), tt = Ki ? String.fromCodePoint : (
2590
+ ), et = Ji ? String.fromCodePoint : (
2589
2591
  // IE11
2590
2592
  function() {
2591
2593
  for (var t = [], r = 0; r < arguments.length; r++)
2592
2594
  t[r] = arguments[r];
2593
- for (var i = "", n = t.length, o = 0, a; n > o; ) {
2594
- if (a = t[o++], a > 1114111)
2595
- throw RangeError(a + " is not a valid code point");
2596
- i += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2595
+ for (var i = "", n = t.length, s = 0, o; n > s; ) {
2596
+ if (o = t[s++], o > 1114111)
2597
+ throw RangeError(o + " is not a valid code point");
2598
+ i += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
2597
2599
  }
2598
2600
  return i;
2599
2601
  }
2600
- ), Ht = (
2602
+ ), wt = (
2601
2603
  // native
2602
- en ? Object.fromEntries : (
2604
+ qi ? Object.fromEntries : (
2603
2605
  // Ponyfill
2604
2606
  function(t) {
2605
2607
  for (var r = {}, i = 0, n = t; i < n.length; i++) {
2606
- var o = n[i], a = o[0], s = o[1];
2607
- r[a] = s;
2608
+ var s = n[i], o = s[0], a = s[1];
2609
+ r[o] = a;
2608
2610
  }
2609
2611
  return r;
2610
2612
  }
2611
2613
  )
2612
- ), lr = tn ? (
2614
+ ), ar = Ki ? (
2613
2615
  // Native
2614
2616
  function(t, r) {
2615
2617
  return t.codePointAt(r);
@@ -2619,11 +2621,11 @@ var At = qi ? (
2619
2621
  function(t, r) {
2620
2622
  var i = t.length;
2621
2623
  if (!(r < 0 || r >= i)) {
2622
- var n = t.charCodeAt(r), o;
2623
- return n < 55296 || n > 56319 || r + 1 === i || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
2624
+ var n = t.charCodeAt(r), s;
2625
+ return n < 55296 || n > 56319 || r + 1 === i || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
2624
2626
  }
2625
2627
  }
2626
- ), un = rn ? (
2628
+ ), on = en ? (
2627
2629
  // Native
2628
2630
  function(t) {
2629
2631
  return t.trimStart();
@@ -2631,9 +2633,9 @@ var At = qi ? (
2631
2633
  ) : (
2632
2634
  // Ponyfill
2633
2635
  function(t) {
2634
- return t.replace(Yi, "");
2636
+ return t.replace(Zi, "");
2635
2637
  }
2636
- ), ln = nn ? (
2638
+ ), an = tn ? (
2637
2639
  // Native
2638
2640
  function(t) {
2639
2641
  return t.trimEnd();
@@ -2641,32 +2643,32 @@ var At = qi ? (
2641
2643
  ) : (
2642
2644
  // Ponyfill
2643
2645
  function(t) {
2644
- return t.replace(Ji, "");
2646
+ return t.replace(Qi, "");
2645
2647
  }
2646
2648
  );
2647
- function hr(e, t) {
2649
+ function ur(e, t) {
2648
2650
  return new RegExp(e, t);
2649
2651
  }
2650
- var rt;
2651
- if (et) {
2652
- var Pt = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2653
- rt = function(t, r) {
2652
+ var tt;
2653
+ if (Ke) {
2654
+ var At = ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2655
+ tt = function(t, r) {
2654
2656
  var i;
2655
- Pt.lastIndex = r;
2656
- var n = Pt.exec(t);
2657
+ At.lastIndex = r;
2658
+ var n = At.exec(t);
2657
2659
  return (i = n[1]) !== null && i !== void 0 ? i : "";
2658
2660
  };
2659
2661
  } else
2660
- rt = function(t, r) {
2662
+ tt = function(t, r) {
2661
2663
  for (var i = []; ; ) {
2662
- var n = lr(t, r);
2663
- if (n === void 0 || cr(n) || mn(n))
2664
+ var n = ar(t, r);
2665
+ if (n === void 0 || lr(n) || cn(n))
2664
2666
  break;
2665
2667
  i.push(n), r += n >= 65536 ? 2 : 1;
2666
2668
  }
2667
- return tt.apply(void 0, i);
2669
+ return et.apply(void 0, i);
2668
2670
  };
2669
- var hn = (
2671
+ var un = (
2670
2672
  /** @class */
2671
2673
  function() {
2672
2674
  function e(t, r) {
@@ -2678,35 +2680,35 @@ var hn = (
2678
2680
  return this.parseMessage(0, "", !1);
2679
2681
  }, e.prototype.parseMessage = function(t, r, i) {
2680
2682
  for (var n = []; !this.isEOF(); ) {
2681
- var o = this.char();
2682
- if (o === 123) {
2683
- var a = this.parseArgument(t, i);
2684
- if (a.err)
2685
- return a;
2686
- n.push(a.val);
2683
+ var s = this.char();
2684
+ if (s === 123) {
2685
+ var o = this.parseArgument(t, i);
2686
+ if (o.err)
2687
+ return o;
2688
+ n.push(o.val);
2687
2689
  } else {
2688
- if (o === 125 && t > 0)
2690
+ if (s === 125 && t > 0)
2689
2691
  break;
2690
- if (o === 35 && (r === "plural" || r === "selectordinal")) {
2691
- var s = this.clonePosition();
2692
+ if (s === 35 && (r === "plural" || r === "selectordinal")) {
2693
+ var a = this.clonePosition();
2692
2694
  this.bump(), n.push({
2693
2695
  type: S.pound,
2694
- location: E(s, this.clonePosition())
2696
+ location: E(a, this.clonePosition())
2695
2697
  });
2696
- } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2698
+ } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2697
2699
  if (i)
2698
2700
  break;
2699
2701
  return this.error(g.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
2700
- } else if (o === 60 && !this.ignoreTag && it(this.peek() || 0)) {
2701
- var a = this.parseTag(t, r);
2702
- if (a.err)
2703
- return a;
2704
- n.push(a.val);
2702
+ } else if (s === 60 && !this.ignoreTag && rt(this.peek() || 0)) {
2703
+ var o = this.parseTag(t, r);
2704
+ if (o.err)
2705
+ return o;
2706
+ n.push(o.val);
2705
2707
  } else {
2706
- var a = this.parseLiteral(t, r);
2707
- if (a.err)
2708
- return a;
2709
- n.push(a.val);
2708
+ var o = this.parseLiteral(t, r);
2709
+ if (o.err)
2710
+ return o;
2711
+ n.push(o.val);
2710
2712
  }
2711
2713
  }
2712
2714
  }
@@ -2725,49 +2727,49 @@ var hn = (
2725
2727
  err: null
2726
2728
  };
2727
2729
  if (this.bumpIf(">")) {
2728
- var o = this.parseMessage(t + 1, r, !0);
2729
- if (o.err)
2730
- return o;
2731
- var a = o.val, s = this.clonePosition();
2730
+ var s = this.parseMessage(t + 1, r, !0);
2731
+ if (s.err)
2732
+ return s;
2733
+ var o = s.val, a = this.clonePosition();
2732
2734
  if (this.bumpIf("</")) {
2733
- if (this.isEOF() || !it(this.char()))
2734
- return this.error(g.INVALID_TAG, E(s, this.clonePosition()));
2735
+ if (this.isEOF() || !rt(this.char()))
2736
+ return this.error(g.INVALID_TAG, E(a, this.clonePosition()));
2735
2737
  var l = this.clonePosition(), u = this.parseTagName();
2736
2738
  return n !== u ? this.error(g.UNMATCHED_CLOSING_TAG, E(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2737
2739
  val: {
2738
2740
  type: S.tag,
2739
2741
  value: n,
2740
- children: a,
2742
+ children: o,
2741
2743
  location: E(i, this.clonePosition())
2742
2744
  },
2743
2745
  err: null
2744
- } : this.error(g.INVALID_TAG, E(s, this.clonePosition())));
2746
+ } : this.error(g.INVALID_TAG, E(a, this.clonePosition())));
2745
2747
  } else
2746
2748
  return this.error(g.UNCLOSED_TAG, E(i, this.clonePosition()));
2747
2749
  } else
2748
2750
  return this.error(g.INVALID_TAG, E(i, this.clonePosition()));
2749
2751
  }, e.prototype.parseTagName = function() {
2750
2752
  var t = this.offset();
2751
- for (this.bump(); !this.isEOF() && fn(this.char()); )
2753
+ for (this.bump(); !this.isEOF() && hn(this.char()); )
2752
2754
  this.bump();
2753
2755
  return this.message.slice(t, this.offset());
2754
2756
  }, e.prototype.parseLiteral = function(t, r) {
2755
2757
  for (var i = this.clonePosition(), n = ""; ; ) {
2756
- var o = this.tryParseQuote(r);
2758
+ var s = this.tryParseQuote(r);
2759
+ if (s) {
2760
+ n += s;
2761
+ continue;
2762
+ }
2763
+ var o = this.tryParseUnquoted(t, r);
2757
2764
  if (o) {
2758
2765
  n += o;
2759
2766
  continue;
2760
2767
  }
2761
- var a = this.tryParseUnquoted(t, r);
2768
+ var a = this.tryParseLeftAngleBracket();
2762
2769
  if (a) {
2763
2770
  n += a;
2764
2771
  continue;
2765
2772
  }
2766
- var s = this.tryParseLeftAngleBracket();
2767
- if (s) {
2768
- n += s;
2769
- continue;
2770
- }
2771
2773
  break;
2772
2774
  }
2773
2775
  var l = E(i, this.clonePosition());
@@ -2777,7 +2779,7 @@ var hn = (
2777
2779
  };
2778
2780
  }, e.prototype.tryParseLeftAngleBracket = function() {
2779
2781
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2780
- !cn(this.peek() || 0)) ? (this.bump(), "<") : null;
2782
+ !ln(this.peek() || 0)) ? (this.bump(), "<") : null;
2781
2783
  }, e.prototype.tryParseQuote = function(t) {
2782
2784
  if (this.isEOF() || this.char() !== 39)
2783
2785
  return null;
@@ -2811,12 +2813,12 @@ var hn = (
2811
2813
  r.push(i);
2812
2814
  this.bump();
2813
2815
  }
2814
- return tt.apply(void 0, r);
2816
+ return et.apply(void 0, r);
2815
2817
  }, e.prototype.tryParseUnquoted = function(t, r) {
2816
2818
  if (this.isEOF())
2817
2819
  return null;
2818
2820
  var i = this.char();
2819
- return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), tt(i));
2821
+ return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), et(i));
2820
2822
  }, e.prototype.parseArgument = function(t, r) {
2821
2823
  var i = this.clonePosition();
2822
2824
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2845,15 +2847,15 @@ var hn = (
2845
2847
  return this.error(g.MALFORMED_ARGUMENT, E(i, this.clonePosition()));
2846
2848
  }
2847
2849
  }, e.prototype.parseIdentifierIfPossible = function() {
2848
- var t = this.clonePosition(), r = this.offset(), i = rt(this.message, r), n = r + i.length;
2850
+ var t = this.clonePosition(), r = this.offset(), i = tt(this.message, r), n = r + i.length;
2849
2851
  this.bumpTo(n);
2850
- var o = this.clonePosition(), a = E(t, o);
2851
- return { value: i, location: a };
2852
+ var s = this.clonePosition(), o = E(t, s);
2853
+ return { value: i, location: o };
2852
2854
  }, e.prototype.parseArgumentOptions = function(t, r, i, n) {
2853
- var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2854
- switch (s) {
2855
+ var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2856
+ switch (a) {
2855
2857
  case "":
2856
- return this.error(g.EXPECT_ARGUMENT_TYPE, E(a, l));
2858
+ return this.error(g.EXPECT_ARGUMENT_TYPE, E(o, l));
2857
2859
  case "number":
2858
2860
  case "date":
2859
2861
  case "time": {
@@ -2864,7 +2866,7 @@ var hn = (
2864
2866
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2865
2867
  if (c.err)
2866
2868
  return c;
2867
- var f = ln(c.val);
2869
+ var f = an(c.val);
2868
2870
  if (f.length === 0)
2869
2871
  return this.error(g.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
2870
2872
  var p = E(h, this.clonePosition());
@@ -2874,9 +2876,9 @@ var hn = (
2874
2876
  if (y.err)
2875
2877
  return y;
2876
2878
  var d = E(n, this.clonePosition());
2877
- if (u && At(u == null ? void 0 : u.style, "::", 0)) {
2878
- var v = un(u.style.slice(2));
2879
- if (s === "number") {
2879
+ if (u && St(u == null ? void 0 : u.style, "::", 0)) {
2880
+ var v = on(u.style.slice(2));
2881
+ if (a === "number") {
2880
2882
  var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
2881
2883
  return c.err ? c : {
2882
2884
  val: { type: S.number, value: i, location: d, style: c.val },
@@ -2886,13 +2888,13 @@ var hn = (
2886
2888
  if (v.length === 0)
2887
2889
  return this.error(g.EXPECT_DATE_TIME_SKELETON, d);
2888
2890
  var P = v;
2889
- this.locale && (P = Zi(v, this.locale));
2891
+ this.locale && (P = Xi(v, this.locale));
2890
2892
  var f = {
2891
2893
  type: ee.dateTime,
2892
2894
  pattern: P,
2893
2895
  location: u.styleLocation,
2894
- parsedOptions: this.shouldParseSkeletons ? Fi(P) : {}
2895
- }, b = s === "date" ? S.date : S.time;
2896
+ parsedOptions: this.shouldParseSkeletons ? Ui(P) : {}
2897
+ }, b = a === "date" ? S.date : S.time;
2896
2898
  return {
2897
2899
  val: { type: b, value: i, location: d, style: f },
2898
2900
  err: null
@@ -2901,10 +2903,10 @@ var hn = (
2901
2903
  }
2902
2904
  return {
2903
2905
  val: {
2904
- type: s === "number" ? S.number : s === "date" ? S.date : S.time,
2906
+ type: a === "number" ? S.number : a === "date" ? S.date : S.time,
2905
2907
  value: i,
2906
2908
  location: d,
2907
- style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
2909
+ style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
2908
2910
  },
2909
2911
  err: null
2910
2912
  };
@@ -2917,7 +2919,7 @@ var hn = (
2917
2919
  return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, E(w, _({}, w)));
2918
2920
  this.bumpSpace();
2919
2921
  var M = this.parseIdentifierIfPossible(), R = 0;
2920
- if (s !== "select" && M.value === "offset") {
2922
+ if (a !== "select" && M.value === "offset") {
2921
2923
  if (!this.bumpIf(":"))
2922
2924
  return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
2923
2925
  this.bumpSpace();
@@ -2926,18 +2928,18 @@ var hn = (
2926
2928
  return c;
2927
2929
  this.bumpSpace(), M = this.parseIdentifierIfPossible(), R = c.val;
2928
2930
  }
2929
- var D = this.tryParsePluralOrSelectOptions(t, s, r, M);
2931
+ var D = this.tryParsePluralOrSelectOptions(t, a, r, M);
2930
2932
  if (D.err)
2931
2933
  return D;
2932
2934
  var y = this.tryParseArgumentClose(n);
2933
2935
  if (y.err)
2934
2936
  return y;
2935
2937
  var W = E(n, this.clonePosition());
2936
- return s === "select" ? {
2938
+ return a === "select" ? {
2937
2939
  val: {
2938
2940
  type: S.select,
2939
2941
  value: i,
2940
- options: Ht(D.val),
2942
+ options: wt(D.val),
2941
2943
  location: W
2942
2944
  },
2943
2945
  err: null
@@ -2945,16 +2947,16 @@ var hn = (
2945
2947
  val: {
2946
2948
  type: S.plural,
2947
2949
  value: i,
2948
- options: Ht(D.val),
2950
+ options: wt(D.val),
2949
2951
  offset: R,
2950
- pluralType: s === "plural" ? "cardinal" : "ordinal",
2952
+ pluralType: a === "plural" ? "cardinal" : "ordinal",
2951
2953
  location: W
2952
2954
  },
2953
2955
  err: null
2954
2956
  };
2955
2957
  }
2956
2958
  default:
2957
- return this.error(g.INVALID_ARGUMENT_TYPE, E(a, l));
2959
+ return this.error(g.INVALID_ARGUMENT_TYPE, E(o, l));
2958
2960
  }
2959
2961
  }, e.prototype.tryParseArgumentClose = function(t) {
2960
2962
  return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, E(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -2996,7 +2998,7 @@ var hn = (
2996
2998
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2997
2999
  var i = [];
2998
3000
  try {
2999
- i = ki(t);
3001
+ i = Fi(t);
3000
3002
  } catch (n) {
3001
3003
  return this.error(g.INVALID_NUMBER_SKELETON, r);
3002
3004
  }
@@ -3005,12 +3007,12 @@ var hn = (
3005
3007
  type: ee.number,
3006
3008
  tokens: i,
3007
3009
  location: r,
3008
- parsedOptions: this.shouldParseSkeletons ? zi(i) : {}
3010
+ parsedOptions: this.shouldParseSkeletons ? Wi(i) : {}
3009
3011
  },
3010
3012
  err: null
3011
3013
  };
3012
3014
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, i, n) {
3013
- for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = n.value, h = n.location; ; ) {
3015
+ for (var s, o = !1, a = [], l = /* @__PURE__ */ new Set(), u = n.value, h = n.location; ; ) {
3014
3016
  if (u.length === 0) {
3015
3017
  var c = this.clonePosition();
3016
3018
  if (r !== "select" && this.bumpIf("=")) {
@@ -3023,7 +3025,7 @@ var hn = (
3023
3025
  }
3024
3026
  if (l.has(u))
3025
3027
  return this.error(r === "select" ? g.DUPLICATE_SELECT_ARGUMENT_SELECTOR : g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3026
- u === "other" && (a = !0), this.bumpSpace();
3028
+ u === "other" && (o = !0), this.bumpSpace();
3027
3029
  var p = this.clonePosition();
3028
3030
  if (!this.bumpIf("{"))
3029
3031
  return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
@@ -3033,27 +3035,27 @@ var hn = (
3033
3035
  var d = this.tryParseArgumentClose(p);
3034
3036
  if (d.err)
3035
3037
  return d;
3036
- s.push([
3038
+ a.push([
3037
3039
  u,
3038
3040
  {
3039
3041
  value: y.val,
3040
3042
  location: E(p, this.clonePosition())
3041
3043
  }
3042
- ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3044
+ ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3043
3045
  }
3044
- 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 };
3046
+ return a.length === 0 ? this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR : g.EXPECT_PLURAL_ARGUMENT_SELECTOR, E(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(g.MISSING_OTHER_CLAUSE, E(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3045
3047
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3046
3048
  var i = 1, n = this.clonePosition();
3047
3049
  this.bumpIf("+") || this.bumpIf("-") && (i = -1);
3048
- for (var o = !1, a = 0; !this.isEOF(); ) {
3049
- var s = this.char();
3050
- if (s >= 48 && s <= 57)
3051
- o = !0, a = a * 10 + (s - 48), this.bump();
3050
+ for (var s = !1, o = 0; !this.isEOF(); ) {
3051
+ var a = this.char();
3052
+ if (a >= 48 && a <= 57)
3053
+ s = !0, o = o * 10 + (a - 48), this.bump();
3052
3054
  else
3053
3055
  break;
3054
3056
  }
3055
3057
  var l = E(n, this.clonePosition());
3056
- return o ? (a *= i, sn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3058
+ return s ? (o *= i, nn(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
3057
3059
  }, e.prototype.offset = function() {
3058
3060
  return this.position.offset;
3059
3061
  }, e.prototype.isEOF = function() {
@@ -3068,7 +3070,7 @@ var hn = (
3068
3070
  var t = this.position.offset;
3069
3071
  if (t >= this.message.length)
3070
3072
  throw Error("out of bound");
3071
- var r = lr(this.message, t);
3073
+ var r = ar(this.message, t);
3072
3074
  if (r === void 0)
3073
3075
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3074
3076
  return r;
@@ -3087,7 +3089,7 @@ var hn = (
3087
3089
  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);
3088
3090
  }
3089
3091
  }, e.prototype.bumpIf = function(t) {
3090
- if (At(this.message, t, this.offset())) {
3092
+ if (St(this.message, t, this.offset())) {
3091
3093
  for (var r = 0; r < t.length; r++)
3092
3094
  this.bump();
3093
3095
  return !0;
@@ -3109,7 +3111,7 @@ var hn = (
3109
3111
  break;
3110
3112
  }
3111
3113
  }, e.prototype.bumpSpace = function() {
3112
- for (; !this.isEOF() && cr(this.char()); )
3114
+ for (; !this.isEOF() && lr(this.char()); )
3113
3115
  this.bump();
3114
3116
  }, e.prototype.peek = function() {
3115
3117
  if (this.isEOF())
@@ -3119,38 +3121,38 @@ var hn = (
3119
3121
  }, e;
3120
3122
  }()
3121
3123
  );
3122
- function it(e) {
3124
+ function rt(e) {
3123
3125
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3124
3126
  }
3125
- function cn(e) {
3126
- return it(e) || e === 47;
3127
+ function ln(e) {
3128
+ return rt(e) || e === 47;
3127
3129
  }
3128
- function fn(e) {
3130
+ function hn(e) {
3129
3131
  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;
3130
3132
  }
3131
- function cr(e) {
3133
+ function lr(e) {
3132
3134
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3133
3135
  }
3134
- function mn(e) {
3136
+ function cn(e) {
3135
3137
  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;
3136
3138
  }
3137
- function nt(e) {
3139
+ function it(e) {
3138
3140
  e.forEach(function(t) {
3139
- if (delete t.location, tr(t) || rr(t))
3141
+ if (delete t.location, Kt(t) || er(t))
3140
3142
  for (var r in t.options)
3141
- delete t.options[r].location, nt(t.options[r].value);
3143
+ delete t.options[r].location, it(t.options[r].value);
3142
3144
  else
3143
- qt(t) && nr(t.style) || (Kt(t) || er(t)) && Ke(t.style) ? delete t.style.location : ir(t) && nt(t.children);
3145
+ Yt(t) && rr(t.style) || (Jt(t) || qt(t)) && qe(t.style) ? delete t.style.location : tr(t) && it(t.children);
3144
3146
  });
3145
3147
  }
3146
- function pn(e, t) {
3148
+ function fn(e, t) {
3147
3149
  t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3148
- var r = new hn(e, t).parse();
3150
+ var r = new un(e, t).parse();
3149
3151
  if (r.err) {
3150
3152
  var i = SyntaxError(g[r.err.kind]);
3151
3153
  throw i.location = r.err.location, i.originalMessage = r.err.message, i;
3152
3154
  }
3153
- return t != null && t.captureLocation || nt(r.val), r.val;
3155
+ return t != null && t.captureLocation || it(r.val), r.val;
3154
3156
  }
3155
3157
  var te;
3156
3158
  (function(e) {
@@ -3161,23 +3163,23 @@ var Pe = (
3161
3163
  function(e) {
3162
3164
  F(t, e);
3163
3165
  function t(r, i, n) {
3164
- var o = e.call(this, r) || this;
3165
- return o.code = i, o.originalMessage = n, o;
3166
+ var s = e.call(this, r) || this;
3167
+ return s.code = i, s.originalMessage = n, s;
3166
3168
  }
3167
3169
  return t.prototype.toString = function() {
3168
3170
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3169
3171
  }, t;
3170
3172
  }(Error)
3171
- ), It = (
3173
+ ), Ht = (
3172
3174
  /** @class */
3173
3175
  function(e) {
3174
3176
  F(t, e);
3175
- function t(r, i, n, o) {
3176
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), te.INVALID_VALUE, o) || this;
3177
+ function t(r, i, n, s) {
3178
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), te.INVALID_VALUE, s) || this;
3177
3179
  }
3178
3180
  return t;
3179
3181
  }(Pe)
3180
- ), dn = (
3182
+ ), mn = (
3181
3183
  /** @class */
3182
3184
  function(e) {
3183
3185
  F(t, e);
@@ -3186,7 +3188,7 @@ var Pe = (
3186
3188
  }
3187
3189
  return t;
3188
3190
  }(Pe)
3189
- ), yn = (
3191
+ ), pn = (
3190
3192
  /** @class */
3191
3193
  function(e) {
3192
3194
  F(t, e);
@@ -3199,121 +3201,121 @@ var Pe = (
3199
3201
  (function(e) {
3200
3202
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3201
3203
  })(I || (I = {}));
3202
- function bn(e) {
3204
+ function dn(e) {
3203
3205
  return e.length < 2 ? e : e.reduce(function(t, r) {
3204
3206
  var i = t[t.length - 1];
3205
3207
  return !i || i.type !== I.literal || r.type !== I.literal ? t.push(r) : i.value += r.value, t;
3206
3208
  }, []);
3207
3209
  }
3208
- function gn(e) {
3210
+ function yn(e) {
3209
3211
  return typeof e == "function";
3210
3212
  }
3211
- function xe(e, t, r, i, n, o, a) {
3212
- if (e.length === 1 && Tt(e[0]))
3213
+ function xe(e, t, r, i, n, s, o) {
3214
+ if (e.length === 1 && _t(e[0]))
3213
3215
  return [
3214
3216
  {
3215
3217
  type: I.literal,
3216
3218
  value: e[0].value
3217
3219
  }
3218
3220
  ];
3219
- for (var s = [], l = 0, u = e; l < u.length; l++) {
3221
+ for (var a = [], l = 0, u = e; l < u.length; l++) {
3220
3222
  var h = u[l];
3221
- if (Tt(h)) {
3222
- s.push({
3223
+ if (_t(h)) {
3224
+ a.push({
3223
3225
  type: I.literal,
3224
3226
  value: h.value
3225
3227
  });
3226
3228
  continue;
3227
3229
  }
3228
- if (Ui(h)) {
3229
- typeof o == "number" && s.push({
3230
+ if (Di(h)) {
3231
+ typeof s == "number" && a.push({
3230
3232
  type: I.literal,
3231
- value: r.getNumberFormat(t).format(o)
3233
+ value: r.getNumberFormat(t).format(s)
3232
3234
  });
3233
3235
  continue;
3234
3236
  }
3235
3237
  var c = h.value;
3236
3238
  if (!(n && c in n))
3237
- throw new yn(c, a);
3239
+ throw new pn(c, o);
3238
3240
  var f = n[c];
3239
- if ($i(h)) {
3240
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3241
+ if (Mi(h)) {
3242
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3241
3243
  type: typeof f == "string" ? I.literal : I.object,
3242
3244
  value: f
3243
3245
  });
3244
3246
  continue;
3245
3247
  }
3246
- if (Kt(h)) {
3247
- var p = typeof h.style == "string" ? i.date[h.style] : Ke(h.style) ? h.style.parsedOptions : void 0;
3248
- s.push({
3248
+ if (Jt(h)) {
3249
+ var p = typeof h.style == "string" ? i.date[h.style] : qe(h.style) ? h.style.parsedOptions : void 0;
3250
+ a.push({
3249
3251
  type: I.literal,
3250
3252
  value: r.getDateTimeFormat(t, p).format(f)
3251
3253
  });
3252
3254
  continue;
3253
3255
  }
3254
- if (er(h)) {
3255
- var p = typeof h.style == "string" ? i.time[h.style] : Ke(h.style) ? h.style.parsedOptions : i.time.medium;
3256
- s.push({
3256
+ if (qt(h)) {
3257
+ var p = typeof h.style == "string" ? i.time[h.style] : qe(h.style) ? h.style.parsedOptions : i.time.medium;
3258
+ a.push({
3257
3259
  type: I.literal,
3258
3260
  value: r.getDateTimeFormat(t, p).format(f)
3259
3261
  });
3260
3262
  continue;
3261
3263
  }
3262
- if (qt(h)) {
3263
- var p = typeof h.style == "string" ? i.number[h.style] : nr(h.style) ? h.style.parsedOptions : void 0;
3264
- p && p.scale && (f = f * (p.scale || 1)), s.push({
3264
+ if (Yt(h)) {
3265
+ var p = typeof h.style == "string" ? i.number[h.style] : rr(h.style) ? h.style.parsedOptions : void 0;
3266
+ p && p.scale && (f = f * (p.scale || 1)), a.push({
3265
3267
  type: I.literal,
3266
3268
  value: r.getNumberFormat(t, p).format(f)
3267
3269
  });
3268
3270
  continue;
3269
3271
  }
3270
- if (ir(h)) {
3272
+ if (tr(h)) {
3271
3273
  var y = h.children, d = h.value, v = n[d];
3272
- if (!gn(v))
3273
- throw new dn(d, "function", a);
3274
- var P = xe(y, t, r, i, n, o), b = v(P.map(function(R) {
3274
+ if (!yn(v))
3275
+ throw new mn(d, "function", o);
3276
+ var P = xe(y, t, r, i, n, s), b = v(P.map(function(R) {
3275
3277
  return R.value;
3276
3278
  }));
3277
- Array.isArray(b) || (b = [b]), s.push.apply(s, b.map(function(R) {
3279
+ Array.isArray(b) || (b = [b]), a.push.apply(a, b.map(function(R) {
3278
3280
  return {
3279
3281
  type: typeof R == "string" ? I.literal : I.object,
3280
3282
  value: R
3281
3283
  };
3282
3284
  }));
3283
3285
  }
3284
- if (tr(h)) {
3286
+ if (Kt(h)) {
3285
3287
  var w = h.options[f] || h.options.other;
3286
3288
  if (!w)
3287
- throw new It(h.value, f, Object.keys(h.options), a);
3288
- s.push.apply(s, xe(w.value, t, r, i, n));
3289
+ throw new Ht(h.value, f, Object.keys(h.options), o);
3290
+ a.push.apply(a, xe(w.value, t, r, i, n));
3289
3291
  continue;
3290
3292
  }
3291
- if (rr(h)) {
3293
+ if (er(h)) {
3292
3294
  var w = h.options["=".concat(f)];
3293
3295
  if (!w) {
3294
3296
  if (!Intl.PluralRules)
3295
3297
  throw new Pe(`Intl.PluralRules is not available in this environment.
3296
3298
  Try polyfilling it using "@formatjs/intl-pluralrules"
3297
- `, te.MISSING_INTL_API, a);
3299
+ `, te.MISSING_INTL_API, o);
3298
3300
  var M = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3299
3301
  w = h.options[M] || h.options.other;
3300
3302
  }
3301
3303
  if (!w)
3302
- throw new It(h.value, f, Object.keys(h.options), a);
3303
- s.push.apply(s, xe(w.value, t, r, i, n, f - (h.offset || 0)));
3304
+ throw new Ht(h.value, f, Object.keys(h.options), o);
3305
+ a.push.apply(a, xe(w.value, t, r, i, n, f - (h.offset || 0)));
3304
3306
  continue;
3305
3307
  }
3306
3308
  }
3307
- return bn(s);
3309
+ return dn(a);
3308
3310
  }
3309
- function vn(e, t) {
3311
+ function bn(e, t) {
3310
3312
  return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3311
3313
  return r[i] = _(_({}, e[i]), t[i] || {}), r;
3312
3314
  }, {})) : e;
3313
3315
  }
3314
- function En(e, t) {
3316
+ function gn(e, t) {
3315
3317
  return t ? Object.keys(e).reduce(function(r, i) {
3316
- return r[i] = vn(e[i], t[i]), r;
3318
+ return r[i] = bn(e[i], t[i]), r;
3317
3319
  }, _({}, e)) : e;
3318
3320
  }
3319
3321
  function je(e) {
@@ -3330,7 +3332,7 @@ function je(e) {
3330
3332
  }
3331
3333
  };
3332
3334
  }
3333
- function _n(e) {
3335
+ function vn(e) {
3334
3336
  return e === void 0 && (e = {
3335
3337
  number: {},
3336
3338
  dateTime: {},
@@ -3362,18 +3364,18 @@ function _n(e) {
3362
3364
  })
3363
3365
  };
3364
3366
  }
3365
- var xn = (
3367
+ var En = (
3366
3368
  /** @class */
3367
3369
  function() {
3368
3370
  function e(t, r, i, n) {
3369
3371
  r === void 0 && (r = e.defaultLocale);
3370
- var o = this;
3372
+ var s = this;
3371
3373
  if (this.formatterCache = {
3372
3374
  number: {},
3373
3375
  dateTime: {},
3374
3376
  pluralRules: {}
3375
3377
  }, this.format = function(l) {
3376
- var u = o.formatToParts(l);
3378
+ var u = s.formatToParts(l);
3377
3379
  if (u.length === 1)
3378
3380
  return u[0].value;
3379
3381
  var h = u.reduce(function(c, f) {
@@ -3381,26 +3383,26 @@ var xn = (
3381
3383
  }, []);
3382
3384
  return h.length <= 1 ? h[0] || "" : h;
3383
3385
  }, this.formatToParts = function(l) {
3384
- return xe(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3386
+ return xe(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3385
3387
  }, this.resolvedOptions = function() {
3386
3388
  var l;
3387
3389
  return {
3388
- locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3390
+ locale: ((l = s.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3389
3391
  };
3390
3392
  }, this.getAst = function() {
3391
- return o.ast;
3393
+ return s.ast;
3392
3394
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3393
3395
  if (this.message = t, !e.__parse)
3394
3396
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3395
- var a = n || {};
3396
- a.formatters;
3397
- var s = Bi(a, ["formatters"]);
3398
- this.ast = e.__parse(t, _(_({}, s), { locale: this.resolvedLocale }));
3397
+ var o = n || {};
3398
+ o.formatters;
3399
+ var a = Hi(o, ["formatters"]);
3400
+ this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
3399
3401
  } else
3400
3402
  this.ast = t;
3401
3403
  if (!Array.isArray(this.ast))
3402
3404
  throw new TypeError("A message must be provided as a String or AST.");
3403
- this.formats = En(e.formats, i), this.formatters = n && n.formatters || _n(this.formatterCache);
3405
+ this.formats = gn(e.formats, i), this.formatters = n && n.formatters || vn(this.formatterCache);
3404
3406
  }
3405
3407
  return Object.defineProperty(e, "defaultLocale", {
3406
3408
  get: function() {
@@ -3413,7 +3415,7 @@ var xn = (
3413
3415
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3414
3416
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3415
3417
  }
3416
- }, e.__parse = pn, e.formats = {
3418
+ }, e.__parse = fn, e.formats = {
3417
3419
  number: {
3418
3420
  integer: {
3419
3421
  maximumFractionDigits: 0
@@ -3474,7 +3476,7 @@ var xn = (
3474
3476
  }, e;
3475
3477
  }()
3476
3478
  );
3477
- function Tn(e, t) {
3479
+ function _n(e, t) {
3478
3480
  if (t == null)
3479
3481
  return;
3480
3482
  if (t in e)
@@ -3484,9 +3486,9 @@ function Tn(e, t) {
3484
3486
  for (let n = 0; n < r.length; n++)
3485
3487
  if (typeof i == "object") {
3486
3488
  if (n > 0) {
3487
- const o = r.slice(n, r.length).join(".");
3488
- if (o in i) {
3489
- i = i[o];
3489
+ const s = r.slice(n, r.length).join(".");
3490
+ if (s in i) {
3491
+ i = i[s];
3490
3492
  break;
3491
3493
  }
3492
3494
  }
@@ -3495,92 +3497,92 @@ function Tn(e, t) {
3495
3497
  i = void 0;
3496
3498
  return i;
3497
3499
  }
3498
- const j = {}, Ln = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), fr = (e, t) => {
3500
+ const j = {}, xn = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), hr = (e, t) => {
3499
3501
  if (t == null)
3500
3502
  return;
3501
3503
  if (t in j && e in j[t])
3502
3504
  return j[t][e];
3503
3505
  const r = Ie(t);
3504
3506
  for (let i = 0; i < r.length; i++) {
3505
- const n = r[i], o = wn(n, e);
3506
- if (o)
3507
- return Ln(e, t, o);
3507
+ const n = r[i], s = Ln(n, e);
3508
+ if (s)
3509
+ return xn(e, t, s);
3508
3510
  }
3509
3511
  };
3510
- let ft;
3512
+ let ht;
3511
3513
  const me = He({});
3512
- function Sn(e) {
3513
- return ft[e] || null;
3514
+ function Tn(e) {
3515
+ return ht[e] || null;
3514
3516
  }
3515
- function mr(e) {
3516
- return e in ft;
3517
+ function cr(e) {
3518
+ return e in ht;
3517
3519
  }
3518
- function wn(e, t) {
3519
- if (!mr(e))
3520
+ function Ln(e, t) {
3521
+ if (!cr(e))
3520
3522
  return null;
3521
- const r = Sn(e);
3522
- return Tn(r, t);
3523
+ const r = Tn(e);
3524
+ return _n(r, t);
3523
3525
  }
3524
- function An(e) {
3526
+ function Sn(e) {
3525
3527
  if (e == null)
3526
3528
  return;
3527
3529
  const t = Ie(e);
3528
3530
  for (let r = 0; r < t.length; r++) {
3529
3531
  const i = t[r];
3530
- if (mr(i))
3532
+ if (cr(i))
3531
3533
  return i;
3532
3534
  }
3533
3535
  }
3534
- function pr(e, ...t) {
3535
- delete j[e], me.update((r) => (r[e] = Ii.all([r[e] || {}, ...t]), r));
3536
+ function fr(e, ...t) {
3537
+ delete j[e], me.update((r) => (r[e] = Ai.all([r[e] || {}, ...t]), r));
3536
3538
  }
3537
3539
  ie(
3538
3540
  [me],
3539
3541
  ([e]) => Object.keys(e)
3540
3542
  );
3541
- me.subscribe((e) => ft = e);
3543
+ me.subscribe((e) => ht = e);
3542
3544
  const Te = {};
3543
- function Hn(e, t) {
3545
+ function wn(e, t) {
3544
3546
  Te[e].delete(t), Te[e].size === 0 && delete Te[e];
3545
3547
  }
3546
- function dr(e) {
3548
+ function mr(e) {
3547
3549
  return Te[e];
3548
3550
  }
3549
- function Pn(e) {
3551
+ function An(e) {
3550
3552
  return Ie(e).map((t) => {
3551
- const r = dr(t);
3553
+ const r = mr(t);
3552
3554
  return [t, r ? [...r] : []];
3553
3555
  }).filter(([, t]) => t.length > 0);
3554
3556
  }
3555
- function ot(e) {
3557
+ function nt(e) {
3556
3558
  return e == null ? !1 : Ie(e).some(
3557
3559
  (t) => {
3558
3560
  var r;
3559
- return (r = dr(t)) == null ? void 0 : r.size;
3561
+ return (r = mr(t)) == null ? void 0 : r.size;
3560
3562
  }
3561
3563
  );
3562
3564
  }
3563
- function In(e, t) {
3565
+ function Hn(e, t) {
3564
3566
  return Promise.all(
3565
- t.map((i) => (Hn(e, i), i().then((n) => n.default || n)))
3566
- ).then((i) => pr(e, ...i));
3567
+ t.map((i) => (wn(e, i), i().then((n) => n.default || n)))
3568
+ ).then((i) => fr(e, ...i));
3567
3569
  }
3568
3570
  const ae = {};
3569
- function yr(e) {
3570
- if (!ot(e))
3571
+ function pr(e) {
3572
+ if (!nt(e))
3571
3573
  return e in ae ? ae[e] : Promise.resolve();
3572
- const t = Pn(e);
3574
+ const t = An(e);
3573
3575
  return ae[e] = Promise.all(
3574
3576
  t.map(
3575
- ([r, i]) => In(r, i)
3577
+ ([r, i]) => Hn(r, i)
3576
3578
  )
3577
3579
  ).then(() => {
3578
- if (ot(e))
3579
- return yr(e);
3580
+ if (nt(e))
3581
+ return pr(e);
3580
3582
  delete ae[e];
3581
3583
  }), ae[e];
3582
3584
  }
3583
- const Bn = {
3585
+ const Pn = {
3584
3586
  number: {
3585
3587
  scientific: { notation: "scientific" },
3586
3588
  engineering: { notation: "engineering" },
@@ -3609,34 +3611,34 @@ const Bn = {
3609
3611
  timeZoneName: "short"
3610
3612
  }
3611
3613
  }
3612
- }, On = {
3614
+ }, In = {
3613
3615
  fallbackLocale: null,
3614
3616
  loadingDelay: 200,
3615
- formats: Bn,
3617
+ formats: Pn,
3616
3618
  warnOnMissingMessages: !0,
3617
3619
  handleMissingMessage: void 0,
3618
3620
  ignoreTag: !0
3619
- }, Cn = On;
3621
+ }, Bn = In;
3620
3622
  function re() {
3621
- return Cn;
3623
+ return Bn;
3622
3624
  }
3623
3625
  const ke = He(!1);
3624
- var Nn = Object.defineProperty, Rn = Object.defineProperties, Mn = Object.getOwnPropertyDescriptors, Bt = Object.getOwnPropertySymbols, Dn = Object.prototype.hasOwnProperty, $n = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? Nn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Un = (e, t) => {
3625
- for (var r in t || (t = {}))
3626
- Dn.call(t, r) && Ot(e, r, t[r]);
3627
- if (Bt)
3628
- for (var r of Bt(t))
3629
- $n.call(t, r) && Ot(e, r, t[r]);
3626
+ var On = Object.defineProperty, Cn = Object.defineProperties, Nn = Object.getOwnPropertyDescriptors, Pt = Object.getOwnPropertySymbols, Rn = Object.prototype.hasOwnProperty, Mn = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? On(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Dn = (e, t) => {
3627
+ for (var r in t)
3628
+ Rn.call(t, r) && It(e, r, t[r]);
3629
+ if (Pt)
3630
+ for (var r of Pt(t))
3631
+ Mn.call(t, r) && It(e, r, t[r]);
3630
3632
  return e;
3631
- }, Gn = (e, t) => Rn(e, Mn(t));
3633
+ }, $n = (e, t) => Cn(e, Nn(t));
3632
3634
  let st;
3633
3635
  const we = He(null);
3634
- function Ct(e) {
3636
+ function Bt(e) {
3635
3637
  return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
3636
3638
  }
3637
3639
  function Ie(e, t = re().fallbackLocale) {
3638
- const r = Ct(e);
3639
- return t ? [.../* @__PURE__ */ new Set([...r, ...Ct(t)])] : r;
3640
+ const r = Bt(e);
3641
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Bt(t)])] : r;
3640
3642
  }
3641
3643
  function z() {
3642
3644
  return st != null ? st : void 0;
@@ -3644,22 +3646,22 @@ function z() {
3644
3646
  we.subscribe((e) => {
3645
3647
  st = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3646
3648
  });
3647
- const Fn = (e) => {
3648
- if (e && An(e) && ot(e)) {
3649
+ const Un = (e) => {
3650
+ if (e && Sn(e) && nt(e)) {
3649
3651
  const { loadingDelay: t } = re();
3650
3652
  let r;
3651
3653
  return typeof window != "undefined" && z() != null && t ? r = window.setTimeout(
3652
3654
  () => ke.set(!0),
3653
3655
  t
3654
- ) : ke.set(!0), yr(e).then(() => {
3656
+ ) : ke.set(!0), pr(e).then(() => {
3655
3657
  we.set(e);
3656
3658
  }).finally(() => {
3657
3659
  clearTimeout(r), ke.set(!1);
3658
3660
  });
3659
3661
  }
3660
3662
  return we.set(e);
3661
- }, ne = Gn(Un({}, we), {
3662
- set: Fn
3663
+ }, ne = $n(Dn({}, we), {
3664
+ set: Un
3663
3665
  }), Be = (e) => {
3664
3666
  const t = /* @__PURE__ */ Object.create(null);
3665
3667
  return (i) => {
@@ -3667,20 +3669,20 @@ const Fn = (e) => {
3667
3669
  return n in t ? t[n] : t[n] = e(i);
3668
3670
  };
3669
3671
  };
3670
- var jn = Object.defineProperty, Ae = Object.getOwnPropertySymbols, br = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? jn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mt = (e, t) => {
3672
+ var Gn = Object.defineProperty, Ae = Object.getOwnPropertySymbols, dr = Object.prototype.hasOwnProperty, yr = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? Gn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ct = (e, t) => {
3671
3673
  for (var r in t || (t = {}))
3672
- br.call(t, r) && Nt(e, r, t[r]);
3674
+ dr.call(t, r) && Ot(e, r, t[r]);
3673
3675
  if (Ae)
3674
3676
  for (var r of Ae(t))
3675
- gr.call(t, r) && Nt(e, r, t[r]);
3677
+ yr.call(t, r) && Ot(e, r, t[r]);
3676
3678
  return e;
3677
- }, oe = (e, t) => {
3679
+ }, se = (e, t) => {
3678
3680
  var r = {};
3679
3681
  for (var i in e)
3680
- br.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3682
+ dr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3681
3683
  if (e != null && Ae)
3682
3684
  for (var i of Ae(e))
3683
- t.indexOf(i) < 0 && gr.call(e, i) && (r[i] = e[i]);
3685
+ t.indexOf(i) < 0 && yr.call(e, i) && (r[i] = e[i]);
3684
3686
  return r;
3685
3687
  };
3686
3688
  const ce = (e, t) => {
@@ -3688,80 +3690,80 @@ const ce = (e, t) => {
3688
3690
  if (e in r && t in r[e])
3689
3691
  return r[e][t];
3690
3692
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3691
- }, kn = Be(
3693
+ }, Fn = Be(
3692
3694
  (e) => {
3693
- var t = e, { locale: r, format: i } = t, n = oe(t, ["locale", "format"]);
3695
+ var t = e, { locale: r, format: i } = t, n = se(t, ["locale", "format"]);
3694
3696
  if (r == null)
3695
3697
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3696
3698
  return i && (n = ce("number", i)), new Intl.NumberFormat(r, n);
3697
3699
  }
3698
- ), Vn = Be(
3700
+ ), jn = Be(
3699
3701
  (e) => {
3700
- var t = e, { locale: r, format: i } = t, n = oe(t, ["locale", "format"]);
3702
+ var t = e, { locale: r, format: i } = t, n = se(t, ["locale", "format"]);
3701
3703
  if (r == null)
3702
3704
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3703
3705
  return i ? n = ce("date", i) : Object.keys(n).length === 0 && (n = ce("date", "short")), new Intl.DateTimeFormat(r, n);
3704
3706
  }
3705
- ), Wn = Be(
3707
+ ), kn = Be(
3706
3708
  (e) => {
3707
- var t = e, { locale: r, format: i } = t, n = oe(t, ["locale", "format"]);
3709
+ var t = e, { locale: r, format: i } = t, n = se(t, ["locale", "format"]);
3708
3710
  if (r == null)
3709
3711
  throw new Error(
3710
3712
  '[svelte-i18n] A "locale" must be set to format time values'
3711
3713
  );
3712
3714
  return i ? n = ce("time", i) : Object.keys(n).length === 0 && (n = ce("time", "short")), new Intl.DateTimeFormat(r, n);
3713
3715
  }
3714
- ), Xn = (e = {}) => {
3716
+ ), Vn = (e = {}) => {
3715
3717
  var t = e, {
3716
3718
  locale: r = z()
3717
- } = t, i = oe(t, [
3719
+ } = t, i = se(t, [
3718
3720
  "locale"
3719
3721
  ]);
3720
- return kn(mt({ locale: r }, i));
3721
- }, zn = (e = {}) => {
3722
+ return Fn(ct({ locale: r }, i));
3723
+ }, Wn = (e = {}) => {
3722
3724
  var t = e, {
3723
3725
  locale: r = z()
3724
- } = t, i = oe(t, [
3726
+ } = t, i = se(t, [
3725
3727
  "locale"
3726
3728
  ]);
3727
- return Vn(mt({ locale: r }, i));
3728
- }, Zn = (e = {}) => {
3729
+ return jn(ct({ locale: r }, i));
3730
+ }, Xn = (e = {}) => {
3729
3731
  var t = e, {
3730
3732
  locale: r = z()
3731
- } = t, i = oe(t, [
3733
+ } = t, i = se(t, [
3732
3734
  "locale"
3733
3735
  ]);
3734
- return Wn(mt({ locale: r }, i));
3735
- }, Qn = Be(
3736
+ return kn(ct({ locale: r }, i));
3737
+ }, zn = Be(
3736
3738
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3737
- (e, t = z()) => new xn(e, t, re().formats, {
3739
+ (e, t = z()) => new En(e, t, re().formats, {
3738
3740
  ignoreTag: re().ignoreTag
3739
3741
  })
3740
- ), Yn = (e, t = {}) => {
3741
- var r, i, n, o;
3742
- let a = t;
3743
- typeof e == "object" && (a = e, e = a.id);
3742
+ ), Zn = (e, t = {}) => {
3743
+ var r, i, n, s;
3744
+ let o = t;
3745
+ typeof e == "object" && (o = e, e = o.id);
3744
3746
  const {
3745
- values: s,
3747
+ values: a,
3746
3748
  locale: l = z(),
3747
3749
  default: u
3748
- } = a;
3750
+ } = o;
3749
3751
  if (l == null)
3750
3752
  throw new Error(
3751
3753
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3752
3754
  );
3753
- let h = fr(e, l);
3755
+ let h = hr(e, l);
3754
3756
  if (!h)
3755
- h = (o = (n = (i = (r = re()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: l, id: e, defaultValue: u })) != null ? n : u) != null ? o : e;
3757
+ h = (s = (n = (i = (r = re()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: l, id: e, defaultValue: u })) != null ? n : u) != null ? s : e;
3756
3758
  else if (typeof h != "string")
3757
3759
  return console.warn(
3758
3760
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3759
3761
  ), h;
3760
- if (!s)
3762
+ if (!a)
3761
3763
  return h;
3762
3764
  let c = h;
3763
3765
  try {
3764
- c = Qn(h, l).format(s);
3766
+ c = zn(h, l).format(a);
3765
3767
  } catch (f) {
3766
3768
  f instanceof Error && console.warn(
3767
3769
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3769,15 +3771,15 @@ const ce = (e, t) => {
3769
3771
  );
3770
3772
  }
3771
3773
  return c;
3772
- }, Jn = (e, t) => Zn(t).format(e), qn = (e, t) => zn(t).format(e), Kn = (e, t) => Xn(t).format(e), eo = (e, t = z()) => fr(e, t), to = ie([ne, me], () => Yn);
3774
+ }, Qn = (e, t) => Xn(t).format(e), Yn = (e, t) => Wn(t).format(e), Jn = (e, t) => Vn(t).format(e), qn = (e, t = z()) => hr(e, t), Kn = ie([ne, me], () => Zn);
3775
+ ie([ne], () => Qn);
3776
+ ie([ne], () => Yn);
3773
3777
  ie([ne], () => Jn);
3774
- ie([ne], () => qn);
3775
- ie([ne], () => Kn);
3776
- ie([ne, me], () => eo);
3777
- function Rt(e, t) {
3778
- pr(e, t);
3778
+ ie([ne, me], () => qn);
3779
+ function Ct(e, t) {
3780
+ fr(e, t);
3779
3781
  }
3780
- function ro(e) {
3782
+ function es(e) {
3781
3783
  ne.set(e);
3782
3784
  }
3783
3785
  const Ve = {
@@ -4034,13 +4036,13 @@ const Ve = {
4034
4036
  function G(e) {
4035
4037
  return typeof e == "function";
4036
4038
  }
4037
- function vr(e) {
4039
+ function br(e) {
4038
4040
  var t = function(i) {
4039
4041
  Error.call(i), i.stack = new Error().stack;
4040
4042
  }, r = e(t);
4041
4043
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
4042
4044
  }
4043
- var We = vr(function(e) {
4045
+ var We = br(function(e) {
4044
4046
  return function(r) {
4045
4047
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
4046
4048
  ` + r.map(function(i, n) {
@@ -4049,7 +4051,7 @@ var We = vr(function(e) {
4049
4051
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
4050
4052
  };
4051
4053
  });
4052
- function at(e, t) {
4054
+ function ot(e, t) {
4053
4055
  if (e) {
4054
4056
  var r = e.indexOf(t);
4055
4057
  0 <= r && e.splice(r, 1);
@@ -4060,14 +4062,14 @@ var Oe = function() {
4060
4062
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
4061
4063
  }
4062
4064
  return e.prototype.unsubscribe = function() {
4063
- var t, r, i, n, o;
4065
+ var t, r, i, n, s;
4064
4066
  if (!this.closed) {
4065
4067
  this.closed = !0;
4066
- var a = this._parentage;
4067
- if (a)
4068
- if (this._parentage = null, Array.isArray(a))
4068
+ var o = this._parentage;
4069
+ if (o)
4070
+ if (this._parentage = null, Array.isArray(o))
4069
4071
  try {
4070
- for (var s = Je(a), l = s.next(); !l.done; l = s.next()) {
4072
+ for (var a = Ye(o), l = a.next(); !l.done; l = a.next()) {
4071
4073
  var u = l.value;
4072
4074
  u.remove(this);
4073
4075
  }
@@ -4075,31 +4077,31 @@ var Oe = function() {
4075
4077
  t = { error: d };
4076
4078
  } finally {
4077
4079
  try {
4078
- l && !l.done && (r = s.return) && r.call(s);
4080
+ l && !l.done && (r = a.return) && r.call(a);
4079
4081
  } finally {
4080
4082
  if (t)
4081
4083
  throw t.error;
4082
4084
  }
4083
4085
  }
4084
4086
  else
4085
- a.remove(this);
4087
+ o.remove(this);
4086
4088
  var h = this.initialTeardown;
4087
4089
  if (G(h))
4088
4090
  try {
4089
4091
  h();
4090
4092
  } catch (d) {
4091
- o = d instanceof We ? d.errors : [d];
4093
+ s = d instanceof We ? d.errors : [d];
4092
4094
  }
4093
4095
  var c = this._finalizers;
4094
4096
  if (c) {
4095
4097
  this._finalizers = null;
4096
4098
  try {
4097
- for (var f = Je(c), p = f.next(); !p.done; p = f.next()) {
4099
+ for (var f = Ye(c), p = f.next(); !p.done; p = f.next()) {
4098
4100
  var y = p.value;
4099
4101
  try {
4100
- Mt(y);
4102
+ Nt(y);
4101
4103
  } catch (d) {
4102
- o = o != null ? o : [], d instanceof We ? o = q(q([], qe(o)), qe(d.errors)) : o.push(d);
4104
+ s = s != null ? s : [], d instanceof We ? s = q(q([], Je(s)), Je(d.errors)) : s.push(d);
4103
4105
  }
4104
4106
  }
4105
4107
  } catch (d) {
@@ -4113,14 +4115,14 @@ var Oe = function() {
4113
4115
  }
4114
4116
  }
4115
4117
  }
4116
- if (o)
4117
- throw new We(o);
4118
+ if (s)
4119
+ throw new We(s);
4118
4120
  }
4119
4121
  }, e.prototype.add = function(t) {
4120
4122
  var r;
4121
4123
  if (t && t !== this)
4122
4124
  if (this.closed)
4123
- Mt(t);
4125
+ Nt(t);
4124
4126
  else {
4125
4127
  if (t instanceof e) {
4126
4128
  if (t.closed || t._hasParent(this))
@@ -4137,56 +4139,56 @@ var Oe = function() {
4137
4139
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
4138
4140
  }, e.prototype._removeParent = function(t) {
4139
4141
  var r = this._parentage;
4140
- r === t ? this._parentage = null : Array.isArray(r) && at(r, t);
4142
+ r === t ? this._parentage = null : Array.isArray(r) && ot(r, t);
4141
4143
  }, e.prototype.remove = function(t) {
4142
4144
  var r = this._finalizers;
4143
- r && at(r, t), t instanceof e && t._removeParent(this);
4145
+ r && ot(r, t), t instanceof e && t._removeParent(this);
4144
4146
  }, e.EMPTY = function() {
4145
4147
  var t = new e();
4146
4148
  return t.closed = !0, t;
4147
4149
  }(), e;
4148
- }(), Er = Oe.EMPTY;
4149
- function _r(e) {
4150
+ }(), gr = Oe.EMPTY;
4151
+ function vr(e) {
4150
4152
  return e instanceof Oe || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
4151
4153
  }
4152
- function Mt(e) {
4154
+ function Nt(e) {
4153
4155
  G(e) ? e() : e.unsubscribe();
4154
4156
  }
4155
- var xr = {
4157
+ var ts = {
4156
4158
  onUnhandledError: null,
4157
4159
  onStoppedNotification: null,
4158
4160
  Promise: void 0,
4159
4161
  useDeprecatedSynchronousErrorHandling: !1,
4160
4162
  useDeprecatedNextContext: !1
4161
- }, io = {
4163
+ }, rs = {
4162
4164
  setTimeout: function(e, t) {
4163
4165
  for (var r = [], i = 2; i < arguments.length; i++)
4164
4166
  r[i - 2] = arguments[i];
4165
- return setTimeout.apply(void 0, q([e, t], qe(r)));
4167
+ return setTimeout.apply(void 0, q([e, t], Je(r)));
4166
4168
  },
4167
4169
  clearTimeout: function(e) {
4168
4170
  return clearTimeout(e);
4169
4171
  },
4170
4172
  delegate: void 0
4171
4173
  };
4172
- function no(e) {
4173
- io.setTimeout(function() {
4174
+ function is(e) {
4175
+ rs.setTimeout(function() {
4174
4176
  throw e;
4175
4177
  });
4176
4178
  }
4177
- function Dt() {
4179
+ function Rt() {
4178
4180
  }
4179
4181
  function Le(e) {
4180
4182
  e();
4181
4183
  }
4182
- var Tr = function(e) {
4184
+ var Er = function(e) {
4183
4185
  F(t, e);
4184
4186
  function t(r) {
4185
4187
  var i = e.call(this) || this;
4186
- return i.isStopped = !1, r ? (i.destination = r, _r(r) && r.add(i)) : i.destination = uo, i;
4188
+ return i.isStopped = !1, r ? (i.destination = r, vr(r) && r.add(i)) : i.destination = os, i;
4187
4189
  }
4188
4190
  return t.create = function(r, i, n) {
4189
- return new ut(r, i, n);
4191
+ return new at(r, i, n);
4190
4192
  }, t.prototype.next = function(r) {
4191
4193
  this.isStopped || this._next(r);
4192
4194
  }, t.prototype.error = function(r) {
@@ -4210,11 +4212,7 @@ var Tr = function(e) {
4210
4212
  this.unsubscribe();
4211
4213
  }
4212
4214
  }, t;
4213
- }(Oe), oo = Function.prototype.bind;
4214
- function Xe(e, t) {
4215
- return oo.call(e, t);
4216
- }
4217
- var so = function() {
4215
+ }(Oe), ns = function() {
4218
4216
  function e(t) {
4219
4217
  this.partialObserver = t;
4220
4218
  }
@@ -4245,55 +4243,43 @@ var so = function() {
4245
4243
  Ee(r);
4246
4244
  }
4247
4245
  }, e;
4248
- }(), ut = function(e) {
4246
+ }(), at = function(e) {
4249
4247
  F(t, e);
4250
4248
  function t(r, i, n) {
4251
- var o = e.call(this) || this, a;
4252
- if (G(r) || !r)
4253
- a = {
4254
- next: r != null ? r : void 0,
4255
- error: i != null ? i : void 0,
4256
- complete: n != null ? n : void 0
4257
- };
4258
- else {
4259
- var s;
4260
- o && xr.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
4261
- return o.unsubscribe();
4262
- }, a = {
4263
- next: r.next && Xe(r.next, s),
4264
- error: r.error && Xe(r.error, s),
4265
- complete: r.complete && Xe(r.complete, s)
4266
- }) : a = r;
4267
- }
4268
- return o.destination = new so(a), o;
4249
+ var s = e.call(this) || this, o;
4250
+ return G(r) || !r ? o = {
4251
+ next: r != null ? r : void 0,
4252
+ error: i != null ? i : void 0,
4253
+ complete: n != null ? n : void 0
4254
+ } : o = r, s.destination = new ns(o), s;
4269
4255
  }
4270
4256
  return t;
4271
- }(Tr);
4257
+ }(Er);
4272
4258
  function Ee(e) {
4273
- no(e);
4259
+ is(e);
4274
4260
  }
4275
- function ao(e) {
4261
+ function ss(e) {
4276
4262
  throw e;
4277
4263
  }
4278
- var uo = {
4264
+ var os = {
4279
4265
  closed: !0,
4280
- next: Dt,
4281
- error: ao,
4282
- complete: Dt
4283
- }, lo = function() {
4266
+ next: Rt,
4267
+ error: ss,
4268
+ complete: Rt
4269
+ }, as = function() {
4284
4270
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4285
4271
  }();
4286
- function ho(e) {
4272
+ function us(e) {
4287
4273
  return e;
4288
4274
  }
4289
- function co(e) {
4290
- return e.length === 0 ? ho : e.length === 1 ? e[0] : function(r) {
4275
+ function ls(e) {
4276
+ return e.length === 0 ? us : e.length === 1 ? e[0] : function(r) {
4291
4277
  return e.reduce(function(i, n) {
4292
4278
  return n(i);
4293
4279
  }, r);
4294
4280
  };
4295
4281
  }
4296
- var $t = function() {
4282
+ var Mt = function() {
4297
4283
  function e(t) {
4298
4284
  t && (this._subscribe = t);
4299
4285
  }
@@ -4301,11 +4287,11 @@ var $t = function() {
4301
4287
  var r = new e();
4302
4288
  return r.source = this, r.operator = t, r;
4303
4289
  }, e.prototype.subscribe = function(t, r, i) {
4304
- var n = this, o = mo(t) ? t : new ut(t, r, i);
4290
+ var n = this, s = cs(t) ? t : new at(t, r, i);
4305
4291
  return Le(function() {
4306
- var a = n, s = a.operator, l = a.source;
4307
- o.add(s ? s.call(o, l) : l ? n._subscribe(o) : n._trySubscribe(o));
4308
- }), o;
4292
+ var o = n, a = o.operator, l = o.source;
4293
+ s.add(a ? a.call(s, l) : l ? n._subscribe(s) : n._trySubscribe(s));
4294
+ }), s;
4309
4295
  }, e.prototype._trySubscribe = function(t) {
4310
4296
  try {
4311
4297
  return this._subscribe(t);
@@ -4314,87 +4300,87 @@ var $t = function() {
4314
4300
  }
4315
4301
  }, e.prototype.forEach = function(t, r) {
4316
4302
  var i = this;
4317
- return r = Ut(r), new r(function(n, o) {
4318
- var a = new ut({
4319
- next: function(s) {
4303
+ return r = Dt(r), new r(function(n, s) {
4304
+ var o = new at({
4305
+ next: function(a) {
4320
4306
  try {
4321
- t(s);
4307
+ t(a);
4322
4308
  } catch (l) {
4323
- o(l), a.unsubscribe();
4309
+ s(l), o.unsubscribe();
4324
4310
  }
4325
4311
  },
4326
- error: o,
4312
+ error: s,
4327
4313
  complete: n
4328
4314
  });
4329
- i.subscribe(a);
4315
+ i.subscribe(o);
4330
4316
  });
4331
4317
  }, e.prototype._subscribe = function(t) {
4332
4318
  var r;
4333
4319
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
4334
- }, e.prototype[lo] = function() {
4320
+ }, e.prototype[as] = function() {
4335
4321
  return this;
4336
4322
  }, e.prototype.pipe = function() {
4337
4323
  for (var t = [], r = 0; r < arguments.length; r++)
4338
4324
  t[r] = arguments[r];
4339
- return co(t)(this);
4325
+ return ls(t)(this);
4340
4326
  }, e.prototype.toPromise = function(t) {
4341
4327
  var r = this;
4342
- return t = Ut(t), new t(function(i, n) {
4343
- var o;
4344
- r.subscribe(function(a) {
4345
- return o = a;
4346
- }, function(a) {
4347
- return n(a);
4328
+ return t = Dt(t), new t(function(i, n) {
4329
+ var s;
4330
+ r.subscribe(function(o) {
4331
+ return s = o;
4332
+ }, function(o) {
4333
+ return n(o);
4348
4334
  }, function() {
4349
- return i(o);
4335
+ return i(s);
4350
4336
  });
4351
4337
  });
4352
4338
  }, e.create = function(t) {
4353
4339
  return new e(t);
4354
4340
  }, e;
4355
4341
  }();
4356
- function Ut(e) {
4342
+ function Dt(e) {
4357
4343
  var t;
4358
- return (t = e != null ? e : xr.Promise) !== null && t !== void 0 ? t : Promise;
4344
+ return (t = e != null ? e : ts.Promise) !== null && t !== void 0 ? t : Promise;
4359
4345
  }
4360
- function fo(e) {
4346
+ function hs(e) {
4361
4347
  return e && G(e.next) && G(e.error) && G(e.complete);
4362
4348
  }
4363
- function mo(e) {
4364
- return e && e instanceof Tr || fo(e) && _r(e);
4349
+ function cs(e) {
4350
+ return e && e instanceof Er || hs(e) && vr(e);
4365
4351
  }
4366
- var po = vr(function(e) {
4352
+ var fs = br(function(e) {
4367
4353
  return function() {
4368
4354
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4369
4355
  };
4370
- }), Lr = function(e) {
4356
+ }), _r = function(e) {
4371
4357
  F(t, e);
4372
4358
  function t() {
4373
4359
  var r = e.call(this) || this;
4374
4360
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
4375
4361
  }
4376
4362
  return t.prototype.lift = function(r) {
4377
- var i = new Gt(this, this);
4363
+ var i = new $t(this, this);
4378
4364
  return i.operator = r, i;
4379
4365
  }, t.prototype._throwIfClosed = function() {
4380
4366
  if (this.closed)
4381
- throw new po();
4367
+ throw new fs();
4382
4368
  }, t.prototype.next = function(r) {
4383
4369
  var i = this;
4384
4370
  Le(function() {
4385
- var n, o;
4371
+ var n, s;
4386
4372
  if (i._throwIfClosed(), !i.isStopped) {
4387
4373
  i.currentObservers || (i.currentObservers = Array.from(i.observers));
4388
4374
  try {
4389
- for (var a = Je(i.currentObservers), s = a.next(); !s.done; s = a.next()) {
4390
- var l = s.value;
4375
+ for (var o = Ye(i.currentObservers), a = o.next(); !a.done; a = o.next()) {
4376
+ var l = a.value;
4391
4377
  l.next(r);
4392
4378
  }
4393
4379
  } catch (u) {
4394
4380
  n = { error: u };
4395
4381
  } finally {
4396
4382
  try {
4397
- s && !s.done && (o = a.return) && o.call(a);
4383
+ a && !a.done && (s = o.return) && s.call(o);
4398
4384
  } finally {
4399
4385
  if (n)
4400
4386
  throw n.error;
@@ -4434,20 +4420,20 @@ var po = vr(function(e) {
4434
4420
  }, t.prototype._subscribe = function(r) {
4435
4421
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4436
4422
  }, t.prototype._innerSubscribe = function(r) {
4437
- var i = this, n = this, o = n.hasError, a = n.isStopped, s = n.observers;
4438
- return o || a ? Er : (this.currentObservers = null, s.push(r), new Oe(function() {
4439
- i.currentObservers = null, at(s, r);
4423
+ var i = this, n = this, s = n.hasError, o = n.isStopped, a = n.observers;
4424
+ return s || o ? gr : (this.currentObservers = null, a.push(r), new Oe(function() {
4425
+ i.currentObservers = null, ot(a, r);
4440
4426
  }));
4441
4427
  }, t.prototype._checkFinalizedStatuses = function(r) {
4442
- var i = this, n = i.hasError, o = i.thrownError, a = i.isStopped;
4443
- n ? r.error(o) : a && r.complete();
4428
+ var i = this, n = i.hasError, s = i.thrownError, o = i.isStopped;
4429
+ n ? r.error(s) : o && r.complete();
4444
4430
  }, t.prototype.asObservable = function() {
4445
- var r = new $t();
4431
+ var r = new Mt();
4446
4432
  return r.source = this, r;
4447
4433
  }, t.create = function(r, i) {
4448
- return new Gt(r, i);
4434
+ return new $t(r, i);
4449
4435
  }, t;
4450
- }($t), Gt = function(e) {
4436
+ }(Mt), $t = function(e) {
4451
4437
  F(t, e);
4452
4438
  function t(r, i) {
4453
4439
  var n = e.call(this) || this;
@@ -4464,53 +4450,53 @@ var po = vr(function(e) {
4464
4450
  (i = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || i === void 0 || i.call(r);
4465
4451
  }, t.prototype._subscribe = function(r) {
4466
4452
  var i, n;
4467
- return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : Er;
4453
+ return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : gr;
4468
4454
  }, t;
4469
- }(Lr), Sr = {
4455
+ }(_r), xr = {
4470
4456
  now: function() {
4471
- return (Sr.delegate || Date).now();
4457
+ return (xr.delegate || Date).now();
4472
4458
  },
4473
4459
  delegate: void 0
4474
- }, yo = function(e) {
4460
+ }, ms = function(e) {
4475
4461
  F(t, e);
4476
4462
  function t(r, i, n) {
4477
- r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = Sr);
4478
- var o = e.call(this) || this;
4479
- 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;
4463
+ r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = xr);
4464
+ var s = e.call(this) || this;
4465
+ return s._bufferSize = r, s._windowTime = i, s._timestampProvider = n, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = i === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, i), s;
4480
4466
  }
4481
4467
  return t.prototype.next = function(r) {
4482
- var i = this, n = i.isStopped, o = i._buffer, a = i._infiniteTimeWindow, s = i._timestampProvider, l = i._windowTime;
4483
- n || (o.push(r), !a && o.push(s.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
4468
+ var i = this, n = i.isStopped, s = i._buffer, o = i._infiniteTimeWindow, a = i._timestampProvider, l = i._windowTime;
4469
+ n || (s.push(r), !o && s.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
4484
4470
  }, t.prototype._subscribe = function(r) {
4485
4471
  this._throwIfClosed(), this._trimBuffer();
4486
- for (var i = this._innerSubscribe(r), n = this, o = n._infiniteTimeWindow, a = n._buffer, s = a.slice(), l = 0; l < s.length && !r.closed; l += o ? 1 : 2)
4487
- r.next(s[l]);
4472
+ for (var i = this._innerSubscribe(r), n = this, s = n._infiniteTimeWindow, o = n._buffer, a = o.slice(), l = 0; l < a.length && !r.closed; l += s ? 1 : 2)
4473
+ r.next(a[l]);
4488
4474
  return this._checkFinalizedStatuses(r), i;
4489
4475
  }, t.prototype._trimBuffer = function() {
4490
- var r = this, i = r._bufferSize, n = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * i;
4491
- if (i < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
4492
- for (var l = n.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
4476
+ var r = this, i = r._bufferSize, n = r._timestampProvider, s = r._buffer, o = r._infiniteTimeWindow, a = (o ? 1 : 2) * i;
4477
+ if (i < 1 / 0 && a < s.length && s.splice(0, s.length - a), !o) {
4478
+ for (var l = n.now(), u = 0, h = 1; h < s.length && s[h] <= l; h += 2)
4493
4479
  u = h;
4494
- u && o.splice(0, u + 1);
4480
+ u && s.splice(0, u + 1);
4495
4481
  }
4496
4482
  }, t;
4497
- }(Lr);
4498
- const Ft = [], jt = {}, bo = (e, t = 0) => {
4499
- if (Ft.indexOf(e) == -1) {
4500
- const r = new yo(t);
4501
- jt[e] = r, Ft.push(e);
4483
+ }(_r);
4484
+ const Ut = [], Gt = {}, ps = (e, t = 0) => {
4485
+ if (Ut.indexOf(e) == -1) {
4486
+ const r = new ms(t);
4487
+ Gt[e] = r, Ut.push(e);
4502
4488
  }
4503
- return jt[e];
4489
+ return Gt[e];
4504
4490
  };
4505
- window.emWidgets = { topic: bo };
4506
- const go = (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));
4507
- function vo(e, t) {
4491
+ window.emWidgets = { topic: ps };
4492
+ const ds = (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));
4493
+ function ys(e, t) {
4508
4494
  if (e) {
4509
4495
  const r = document.createElement("style");
4510
4496
  r.innerHTML = t, e.appendChild(r);
4511
4497
  }
4512
4498
  }
4513
- function Eo(e, t) {
4499
+ function bs(e, t) {
4514
4500
  const r = new URL(t);
4515
4501
  fetch(r.href).then((i) => i.text()).then((i) => {
4516
4502
  const n = document.createElement("style");
@@ -4519,7 +4505,7 @@ function Eo(e, t) {
4519
4505
  console.error("There was an error while trying to load client styling from URL", i);
4520
4506
  });
4521
4507
  }
4522
- function _o(e, t, r) {
4508
+ function gs(e, t, r) {
4523
4509
  if (window.emMessageBus) {
4524
4510
  const i = document.createElement("style");
4525
4511
  window.emMessageBus.subscribe(t, (n) => {
@@ -4527,30 +4513,30 @@ function _o(e, t, r) {
4527
4513
  });
4528
4514
  }
4529
4515
  }
4530
- function xo(e) {
4531
- Xr(e, "svelte-19ml84y", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-19ml84y.svelte-19ml84y,.svelte-19ml84y.svelte-19ml84y::before,.svelte-19ml84y.svelte-19ml84y::after{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-19ml84y.svelte-19ml84y{color:var(--emw--color-white, #FFFFFF)}button.svelte-19ml84y.svelte-19ml84y{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-19ml84y.svelte-19ml84y{color:#999;display:flex;justify-content:center;align-items:center;margin-right:-14px;background:transparent}.ExpandButton.svelte-19ml84y svg.svelte-19ml84y{width:28px;height:auto;margin-left:-4px}.extended.svelte-19ml84y.svelte-19ml84y{transform:rotate(180deg)}.HistoryWrapper.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column}.HistoryWrapper.Desktop.svelte-19ml84y.svelte-19ml84y{width:320px;padding:0 12px;margin:12px auto}.hidden.svelte-19ml84y.svelte-19ml84y{display:none}.HistoryRow.svelte-19ml84y.svelte-19ml84y{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column;gap:4px}.LimitType.svelte-19ml84y.svelte-19ml84y{font-size:1.3rem}.LimitAmountPeriod.svelte-19ml84y.svelte-19ml84y{color:#999}.LimitContainer.svelte-19ml84y.svelte-19ml84y{animation:svelte-19ml84y-animateEntry 0.7s ease-in}@keyframes svelte-19ml84y-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
4516
+ function vs(e) {
4517
+ kr(e, "svelte-19ml84y", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-19ml84y.svelte-19ml84y,.svelte-19ml84y.svelte-19ml84y::before,.svelte-19ml84y.svelte-19ml84y::after{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-19ml84y.svelte-19ml84y{color:var(--emw--color-white, #FFFFFF)}button.svelte-19ml84y.svelte-19ml84y{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-19ml84y.svelte-19ml84y{color:#999;display:flex;justify-content:center;align-items:center;margin-right:-14px;background:transparent}.ExpandButton.svelte-19ml84y svg.svelte-19ml84y{width:28px;height:auto;margin-left:-4px}.extended.svelte-19ml84y.svelte-19ml84y{transform:rotate(180deg)}.HistoryWrapper.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column}.HistoryWrapper.Desktop.svelte-19ml84y.svelte-19ml84y{width:320px;padding:0 12px;margin:12px auto}.hidden.svelte-19ml84y.svelte-19ml84y{display:none}.HistoryRow.svelte-19ml84y.svelte-19ml84y{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column;gap:4px}.LimitType.svelte-19ml84y.svelte-19ml84y{font-size:1.3rem}.LimitAmountPeriod.svelte-19ml84y.svelte-19ml84y{color:#999}.LimitContainer.svelte-19ml84y.svelte-19ml84y{animation:svelte-19ml84y-animateEntry 0.7s ease-in}@keyframes svelte-19ml84y-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
4532
4518
  }
4533
- function kt(e, t, r) {
4519
+ function Ft(e, t, r) {
4534
4520
  const i = e.slice();
4535
4521
  return i[37] = t[r], i[38] = t, i[39] = r, i;
4536
4522
  }
4537
- function To(e) {
4523
+ function Es(e) {
4538
4524
  let t, r, i, n = (
4539
4525
  /*$_*/
4540
4526
  e[9]("expandLimits") + ""
4541
- ), o, a, s, l, u, h, c, f, p, y = _t(
4527
+ ), s, o, a, l, u, h, c, f, p, y = vt(
4542
4528
  /*lazyShowedHistoryArray*/
4543
4529
  e[7]
4544
4530
  ), d = [];
4545
4531
  for (let v = 0; v < y.length; v += 1)
4546
- d[v] = Vt(kt(e, y, v));
4532
+ d[v] = jt(Ft(e, y, v));
4547
4533
  return {
4548
4534
  c() {
4549
- t = H("div"), r = H("div"), i = H("button"), o = U(n), a = ze(), s = De("svg"), l = De("path"), u = De("path"), h = ze(), c = H("div");
4535
+ t = H("div"), r = H("div"), i = H("button"), s = U(n), o = Xe(), a = De("svg"), l = De("path"), u = De("path"), h = Xe(), c = H("div");
4550
4536
  for (let v = 0; v < d.length; v += 1)
4551
4537
  d[v].c();
4552
- x(l, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), x(l, "class", "svelte-19ml84y"), x(u, "d", "M0 0h36v36h-36z"), x(u, "fill", "none"), x(u, "class", "svelte-19ml84y"), x(s, "class", "ExpandArrow svelte-19ml84y"), x(s, "xmlns", "http://www.w3.org/2000/svg"), x(s, "width", "36"), x(s, "height", "36"), x(s, "viewBox", "0 0 36 36"), x(s, "fill", "#999"), ge(
4553
- s,
4538
+ x(l, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), x(l, "class", "svelte-19ml84y"), x(u, "d", "M0 0h36v36h-36z"), x(u, "fill", "none"), x(u, "class", "svelte-19ml84y"), x(a, "class", "ExpandArrow svelte-19ml84y"), x(a, "xmlns", "http://www.w3.org/2000/svg"), x(a, "width", "36"), x(a, "height", "36"), x(a, "viewBox", "0 0 36 36"), x(a, "fill", "#999"), ge(
4539
+ a,
4554
4540
  "extended",
4555
4541
  /*extended*/
4556
4542
  e[8]
@@ -4563,10 +4549,10 @@ function To(e) {
4563
4549
  (e[10] ? "Desktop" : "") + " svelte-19ml84y"), x(t, "class", "player-account-gaming-limits-history-2 svelte-19ml84y");
4564
4550
  },
4565
4551
  m(v, P) {
4566
- X(v, t, P), T(t, r), T(r, i), T(i, o), T(i, a), T(i, s), T(s, l), T(s, u), T(r, h), T(r, c);
4552
+ X(v, t, P), T(t, r), T(r, i), T(i, s), T(i, o), T(i, a), T(a, l), T(a, u), T(r, h), T(r, c);
4567
4553
  for (let b = 0; b < d.length; b += 1)
4568
4554
  d[b] && d[b].m(c, null);
4569
- f || (p = Yr(
4555
+ f || (p = zr(
4570
4556
  i,
4571
4557
  "click",
4572
4558
  /*toggleHistoryDisplayArea*/
@@ -4576,22 +4562,22 @@ function To(e) {
4576
4562
  p(v, P) {
4577
4563
  if (P[0] & /*$_*/
4578
4564
  512 && n !== (n = /*$_*/
4579
- v[9]("expandLimits") + "") && k(o, n), P[0] & /*extended*/
4565
+ v[9]("expandLimits") + "") && k(s, n), P[0] & /*extended*/
4580
4566
  256 && ge(
4581
- s,
4567
+ a,
4582
4568
  "extended",
4583
4569
  /*extended*/
4584
4570
  v[8]
4585
4571
  ), P[0] & /*numberofentries, limitContainer, lazyShowedHistoryArray, $_*/
4586
4572
  650) {
4587
- y = _t(
4573
+ y = vt(
4588
4574
  /*lazyShowedHistoryArray*/
4589
4575
  v[7]
4590
4576
  );
4591
4577
  let b;
4592
4578
  for (b = 0; b < y.length; b += 1) {
4593
- const w = kt(v, y, b);
4594
- d[b] ? d[b].p(w, P) : (d[b] = Vt(w), d[b].c(), d[b].m(c, null));
4579
+ const w = Ft(v, y, b);
4580
+ d[b] ? d[b].p(w, P) : (d[b] = jt(w), d[b].c(), d[b].m(c, null));
4595
4581
  }
4596
4582
  for (; b < d.length; b += 1)
4597
4583
  d[b].d(1);
@@ -4606,14 +4592,14 @@ function To(e) {
4606
4592
  );
4607
4593
  },
4608
4594
  d(v) {
4609
- v && V(t), Qr(d, v), f = !1, p();
4595
+ v && V(t), Xr(d, v), f = !1, p();
4610
4596
  }
4611
4597
  };
4612
4598
  }
4613
- function Lo(e) {
4599
+ function _s(e) {
4614
4600
  return { c: B, m: B, p: B, d: B };
4615
4601
  }
4616
- function So(e) {
4602
+ function xs(e) {
4617
4603
  let t, r = (
4618
4604
  /*lang*/
4619
4605
  (e[0] ? (
@@ -4625,11 +4611,11 @@ function So(e) {
4625
4611
  c() {
4626
4612
  t = H("p"), i = U(r), x(t, "class", "svelte-19ml84y");
4627
4613
  },
4628
- m(n, o) {
4629
- X(n, t, o), T(t, i);
4614
+ m(n, s) {
4615
+ X(n, t, s), T(t, i);
4630
4616
  },
4631
- p(n, o) {
4632
- o[0] & /*lang, $_*/
4617
+ p(n, s) {
4618
+ s[0] & /*lang, $_*/
4633
4619
  513 && r !== (r = /*lang*/
4634
4620
  (n[0] ? (
4635
4621
  /*$_*/
@@ -4641,11 +4627,11 @@ function So(e) {
4641
4627
  }
4642
4628
  };
4643
4629
  }
4644
- function wo(e) {
4630
+ function Ts(e) {
4645
4631
  let t, r, i, n = (
4646
4632
  /*history*/
4647
4633
  e[37].type + ""
4648
- ), o, a, s = (
4634
+ ), s, o, a = (
4649
4635
  /*history*/
4650
4636
  e[37].amount + ""
4651
4637
  ), l, u, h = (
@@ -4654,17 +4640,17 @@ function wo(e) {
4654
4640
  ), c;
4655
4641
  return {
4656
4642
  c() {
4657
- t = H("div"), r = H("span"), i = H("span"), o = U(n), a = H("span"), l = U(s), u = H("span"), c = U(h), x(i, "class", "LimitType svelte-19ml84y"), x(a, "class", "LimitAmountPeriod svelte-19ml84y"), x(r, "class", "GeneralLimitInformation svelte-19ml84y"), x(u, "class", "DateLimitInformation svelte-19ml84y"), x(t, "class", "HistoryRow svelte-19ml84y");
4643
+ t = H("div"), r = H("span"), i = H("span"), s = U(n), o = H("span"), l = U(a), u = H("span"), c = U(h), x(i, "class", "LimitType svelte-19ml84y"), x(o, "class", "LimitAmountPeriod svelte-19ml84y"), x(r, "class", "GeneralLimitInformation svelte-19ml84y"), x(u, "class", "DateLimitInformation svelte-19ml84y"), x(t, "class", "HistoryRow svelte-19ml84y");
4658
4644
  },
4659
4645
  m(f, p) {
4660
- X(f, t, p), T(t, r), T(r, i), T(i, o), T(r, a), T(a, l), T(t, u), T(u, c);
4646
+ X(f, t, p), T(t, r), T(r, i), T(i, s), T(r, o), T(o, l), T(t, u), T(u, c);
4661
4647
  },
4662
4648
  p(f, p) {
4663
4649
  p[0] & /*lazyShowedHistoryArray*/
4664
4650
  128 && n !== (n = /*history*/
4665
- f[37].type + "") && k(o, n), p[0] & /*lazyShowedHistoryArray*/
4666
- 128 && s !== (s = /*history*/
4667
- f[37].amount + "") && k(l, s), p[0] & /*lazyShowedHistoryArray*/
4651
+ f[37].type + "") && k(s, n), p[0] & /*lazyShowedHistoryArray*/
4652
+ 128 && a !== (a = /*history*/
4653
+ f[37].amount + "") && k(l, a), p[0] & /*lazyShowedHistoryArray*/
4668
4654
  128 && h !== (h = /*history*/
4669
4655
  f[37].date + "") && k(c, h);
4670
4656
  },
@@ -4673,11 +4659,11 @@ function wo(e) {
4673
4659
  }
4674
4660
  };
4675
4661
  }
4676
- function Ao(e) {
4662
+ function Ls(e) {
4677
4663
  let t, r, i, n = (
4678
4664
  /*history*/
4679
4665
  e[37].type + ""
4680
- ), o, a, s = (
4666
+ ), s, o, a = (
4681
4667
  /*$_*/
4682
4668
  e[9]("limitRemoved") + ""
4683
4669
  ), l, u, h = (
@@ -4686,17 +4672,17 @@ function Ao(e) {
4686
4672
  ), c;
4687
4673
  return {
4688
4674
  c() {
4689
- t = H("div"), r = H("span"), i = H("span"), o = U(n), a = H("span"), l = U(s), u = H("span"), c = U(h), x(i, "class", "LimitType svelte-19ml84y"), x(a, "class", "LimitAmountPeriod svelte-19ml84y"), x(r, "class", "GeneralLimitInformation svelte-19ml84y"), x(u, "class", "DateLimitInformation svelte-19ml84y"), x(t, "class", "HistoryRow svelte-19ml84y");
4675
+ t = H("div"), r = H("span"), i = H("span"), s = U(n), o = H("span"), l = U(a), u = H("span"), c = U(h), x(i, "class", "LimitType svelte-19ml84y"), x(o, "class", "LimitAmountPeriod svelte-19ml84y"), x(r, "class", "GeneralLimitInformation svelte-19ml84y"), x(u, "class", "DateLimitInformation svelte-19ml84y"), x(t, "class", "HistoryRow svelte-19ml84y");
4690
4676
  },
4691
4677
  m(f, p) {
4692
- X(f, t, p), T(t, r), T(r, i), T(i, o), T(r, a), T(a, l), T(t, u), T(u, c);
4678
+ X(f, t, p), T(t, r), T(r, i), T(i, s), T(r, o), T(o, l), T(t, u), T(u, c);
4693
4679
  },
4694
4680
  p(f, p) {
4695
4681
  p[0] & /*lazyShowedHistoryArray*/
4696
4682
  128 && n !== (n = /*history*/
4697
- f[37].type + "") && k(o, n), p[0] & /*$_*/
4698
- 512 && s !== (s = /*$_*/
4699
- f[9]("limitRemoved") + "") && k(l, s), p[0] & /*lazyShowedHistoryArray*/
4683
+ f[37].type + "") && k(s, n), p[0] & /*$_*/
4684
+ 512 && a !== (a = /*$_*/
4685
+ f[9]("limitRemoved") + "") && k(l, a), p[0] & /*lazyShowedHistoryArray*/
4700
4686
  128 && h !== (h = /*history*/
4701
4687
  f[37].date + "") && k(c, h);
4702
4688
  },
@@ -4705,18 +4691,18 @@ function Ao(e) {
4705
4691
  }
4706
4692
  };
4707
4693
  }
4708
- function Vt(e) {
4694
+ function jt(e) {
4709
4695
  let t, r, i, n = (
4710
4696
  /*index*/
4711
4697
  e[39]
4712
4698
  );
4713
- function o(h, c) {
4699
+ function s(h, c) {
4714
4700
  return (
4715
4701
  /*history*/
4716
- h[37].removed ? Ao : wo
4702
+ h[37].removed ? Ls : Ts
4717
4703
  );
4718
4704
  }
4719
- let a = o(e), s = a(e);
4705
+ let o = s(e), a = o(e);
4720
4706
  const l = () => (
4721
4707
  /*div_binding*/
4722
4708
  e[22](t, n)
@@ -4726,18 +4712,18 @@ function Vt(e) {
4726
4712
  );
4727
4713
  return {
4728
4714
  c() {
4729
- t = H("div"), s.c(), r = ze(), x(t, "class", i = vt(
4715
+ t = H("div"), a.c(), r = Xe(), x(t, "class", i = bt(
4730
4716
  /*index*/
4731
4717
  e[39] > +/*numberofentries*/
4732
4718
  e[1] ? "LimitContainer" : ""
4733
4719
  ) + " svelte-19ml84y");
4734
4720
  },
4735
4721
  m(h, c) {
4736
- X(h, t, c), s.m(t, null), T(t, r), l();
4722
+ X(h, t, c), a.m(t, null), T(t, r), l();
4737
4723
  },
4738
4724
  p(h, c) {
4739
- e = h, 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*/
4740
- 2 && i !== (i = vt(
4725
+ e = h, o === (o = s(e)) && a ? a.p(e, c) : (a.d(1), a = o(e), a && (a.c(), a.m(t, r))), c[0] & /*numberofentries*/
4726
+ 2 && i !== (i = bt(
4741
4727
  /*index*/
4742
4728
  e[39] > +/*numberofentries*/
4743
4729
  e[1] ? "LimitContainer" : ""
@@ -4746,18 +4732,18 @@ function Vt(e) {
4746
4732
  e[39], l());
4747
4733
  },
4748
4734
  d(h) {
4749
- h && V(t), s.d(), u();
4735
+ h && V(t), a.d(), u();
4750
4736
  }
4751
4737
  };
4752
4738
  }
4753
- function Ho(e) {
4739
+ function Ss(e) {
4754
4740
  let t;
4755
- function r(o, a) {
4741
+ function r(s, o) {
4756
4742
  return (
4757
4743
  /*hasErrors*/
4758
- o[6] ? So : (
4744
+ s[6] ? xs : (
4759
4745
  /*isLoading*/
4760
- o[4] ? Lo : To
4746
+ s[4] ? _s : Es
4761
4747
  )
4762
4748
  );
4763
4749
  }
@@ -4766,37 +4752,37 @@ function Ho(e) {
4766
4752
  c() {
4767
4753
  t = H("div"), n.c(), x(t, "class", "svelte-19ml84y");
4768
4754
  },
4769
- m(o, a) {
4770
- X(o, t, a), n.m(t, null), e[23](t);
4755
+ m(s, o) {
4756
+ X(s, t, o), n.m(t, null), e[23](t);
4771
4757
  },
4772
- p(o, a) {
4773
- i === (i = r(o)) && n ? n.p(o, a) : (n.d(1), n = i(o), n && (n.c(), n.m(t, null)));
4758
+ p(s, o) {
4759
+ i === (i = r(s)) && n ? n.p(s, o) : (n.d(1), n = i(s), n && (n.c(), n.m(t, null)));
4774
4760
  },
4775
4761
  i: B,
4776
4762
  o: B,
4777
- d(o) {
4778
- o && V(t), n.d(), e[23](null);
4763
+ d(s) {
4764
+ s && V(t), n.d(), e[23](null);
4779
4765
  }
4780
4766
  };
4781
4767
  }
4782
- function Po(e, t, r) {
4768
+ function ws(e, t, r) {
4783
4769
  let i;
4784
- Wr(e, to, (m) => r(9, i = m));
4785
- let n = window.navigator.userAgent, o = !go(n), { lang: a = "" } = t, { userid: s = "" } = t, { session: l = "" } = t, { endpoint: u = "" } = t, { apiversion: h = "" } = t, { numberofentries: c = "10" } = t, { customcurrencysymbols: f = "" } = t, { limitformat: p = "" } = t, { clientstyling: y = "" } = t, { clientstylingurl: d = "" } = t, { mbsource: v } = t, { translationurl: P = "" } = t, b, w = new Array(), M = parseInt(c, 10), R = !1, D = !0, W = [], pe = [], de = !0, Ce = !1, se = { EUR: "€", RON: "lei", TRY: "₺" };
4786
- const wr = () => {
4770
+ jr(e, Kn, (m) => r(9, i = m));
4771
+ let n = window.navigator.userAgent, s = !ds(n), { lang: o = "" } = t, { userid: a = "" } = t, { session: l = "" } = t, { endpoint: u = "" } = t, { apiversion: h = "" } = t, { numberofentries: c = "10" } = t, { customcurrencysymbols: f = "" } = t, { limitformat: p = "" } = t, { clientstyling: y = "" } = t, { clientstylingurl: d = "" } = t, { mbsource: v } = t, { translationurl: P = "" } = t, b, w = new Array(), M = parseInt(c, 10), R = !1, D = !0, W = [], pe = [], de = !0, Ce = !1, oe = { EUR: "€", RON: "lei", TRY: "₺" };
4772
+ const Tr = () => {
4787
4773
  fetch(P).then((L) => L.json()).then((L) => {
4788
4774
  Object.keys(L).forEach((C) => {
4789
- Rt(C, L[C]);
4775
+ Ct(C, L[C]);
4790
4776
  });
4791
4777
  }).catch((L) => {
4792
4778
  console.log(L);
4793
4779
  });
4794
4780
  };
4795
4781
  Object.keys(Ve).forEach((m) => {
4796
- Rt(m, Ve[m]);
4782
+ Ct(m, Ve[m]);
4797
4783
  });
4798
- const Ar = () => {
4799
- let m = h === "gmcore" ? `/v2/player/${s}/transactions/limit` : `/v1/player/${s}/limits/monetary/history`, L = new URL(m, u);
4784
+ const Lr = () => {
4785
+ let m = h === "gmcore" ? `/v2/player/${a}/transactions/limit` : `/v1/player/${a}/limits/monetary/history`, L = new URL(m, u);
4800
4786
  L.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), L.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), L.searchParams.append("limit", "10000");
4801
4787
  let C = {
4802
4788
  method: "GET",
@@ -4808,14 +4794,14 @@ function Po(e, t, r) {
4808
4794
  return A.json();
4809
4795
  }).then(
4810
4796
  (A) => {
4811
- A.length && (W = Hr(A), r(7, pe = W.slice(0, M))), r(4, D = !1);
4797
+ A.length && (W = Sr(A), r(7, pe = W.slice(0, M))), r(4, D = !1);
4812
4798
  },
4813
4799
  (A) => {
4814
4800
  console.error("There was an error", A), r(6, R = !0);
4815
4801
  }
4816
4802
  );
4817
- }, Hr = (m) => {
4818
- const L = !!Ve[a];
4803
+ }, Sr = (m) => {
4804
+ const L = !!Ve[o];
4819
4805
  return m.map((A) => {
4820
4806
  let $ = {
4821
4807
  amount: "",
@@ -4825,71 +4811,71 @@ function Po(e, t, r) {
4825
4811
  type: "",
4826
4812
  removed: !1
4827
4813
  };
4828
- return $.amount = Pr(A), $.currency = L ? se[A.limitCurrencyCode] : A.limitCurrencyCode, $.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(A.limitDate)), $.period = i(`${A.limitPeriod.toLowerCase()}`), $.type = h === "gmcore" ? i(`historyLimitType${A.limitType.split(" ")[0]}`) : i(`historyLimitType${A.limitType.split(" ")[0]}`) + " " + i(`historyProductType${A.limitProductType}`), $.removed = A.limitAmount === -1, $;
4814
+ return $.amount = wr(A), $.currency = L ? oe[A.limitCurrencyCode] : A.limitCurrencyCode, $.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(A.limitDate)), $.period = i(`${A.limitPeriod.toLowerCase()}`), $.type = h === "gmcore" ? i(`historyLimitType${A.limitType.split(" ")[0]}`) : i(`historyLimitType${A.limitType.split(" ")[0]}`) + " " + i(`historyProductType${A.limitProductType}`), $.removed = A.limitAmount === -1, $;
4829
4815
  });
4830
- }, Pr = (m) => {
4816
+ }, wr = (m) => {
4831
4817
  let L = p || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(m.limitAmount);
4832
4818
  if (!p) {
4833
- let $r = se[m.limitCurrencyCode] || m.limitCurrencyCode;
4834
- return `${L}${$r}`;
4819
+ let Rr = oe[m.limitCurrencyCode] || m.limitCurrencyCode;
4820
+ return `${L}${Rr}`;
4835
4821
  }
4836
4822
  typeof m.limitAmount == "string" && m.limitAmount.includes(",") && (m.limitAmount = m.limitAmount.replaceAll(",", ""));
4837
4823
  const C = L.match(/\{(\d+)decimals\}/), A = C ? parseInt(C[1], 10) : 2, $ = C ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
4838
4824
  let ye = parseFloat(m.limitAmount).toFixed(A);
4839
- const [Mr, Ne] = p.includes(".") ? [",", "."] : [".", ","];
4840
- let [Re, Dr] = ye.split(".");
4841
- return Re = Re.replace(/\B(?=(\d{3})+(?!\d))/g, Mr), ye = `${Re}${Ne}${Dr}`, L = L.replace("{currency}", se[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", ye.split(Ne)[0]).replace(
4825
+ const [Cr, Ne] = p.includes(".") ? [",", "."] : [".", ","];
4826
+ let [Re, Nr] = ye.split(".");
4827
+ return Re = Re.replace(/\B(?=(\d{3})+(?!\d))/g, Cr), ye = `${Re}${Ne}${Nr}`, L = L.replace("{currency}", oe[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", ye.split(Ne)[0]).replace(
4842
4828
  $,
4843
4829
  ye.split(Ne)[1]
4844
4830
  ), L;
4845
- }, Ir = () => {
4831
+ }, Ar = () => {
4846
4832
  r(5, de = !de), r(8, Ce = !Ce);
4847
4833
  };
4848
- let pt = new IntersectionObserver((m) => {
4834
+ let ft = new IntersectionObserver((m) => {
4849
4835
  m.forEach((L) => {
4850
4836
  L.isIntersecting && (M += parseInt(c, 10) || 10, pe.length < W.length && r(7, pe = W.slice(0, M)));
4851
4837
  });
4852
4838
  });
4853
- const Br = () => {
4854
- pt.observe(w[w.length - 1]);
4855
- }, Or = () => {
4839
+ const Hr = () => {
4840
+ ft.observe(w[w.length - 1]);
4841
+ }, Pr = () => {
4856
4842
  if (!f)
4857
4843
  return;
4858
4844
  let m = {};
4859
4845
  f.split(",").forEach((L) => {
4860
4846
  let C = L.split(":");
4861
4847
  m[C[0].trim()] = C[1].trim();
4862
- }), se = be(be({}, se), m);
4863
- }, Cr = () => {
4864
- ro(a);
4848
+ }), oe = be(be({}, oe), m);
4849
+ }, Ir = () => {
4850
+ es(o);
4865
4851
  };
4866
- ei(() => () => {
4867
- pt.unobserve(w[w.length - 1]);
4852
+ Jr(() => () => {
4853
+ ft.unobserve(w[w.length - 1]);
4868
4854
  });
4869
- function Nr(m, L) {
4855
+ function Br(m, L) {
4870
4856
  Se[m ? "unshift" : "push"](() => {
4871
4857
  w[L] = m, r(3, w);
4872
4858
  });
4873
4859
  }
4874
- function Rr(m) {
4860
+ function Or(m) {
4875
4861
  Se[m ? "unshift" : "push"](() => {
4876
4862
  b = m, r(2, b);
4877
4863
  });
4878
4864
  }
4879
4865
  return e.$$set = (m) => {
4880
- "lang" in m && r(0, a = m.lang), "userid" in m && r(12, s = m.userid), "session" in m && r(13, l = m.session), "endpoint" in m && r(14, u = m.endpoint), "apiversion" in m && r(15, h = 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);
4866
+ "lang" in m && r(0, o = m.lang), "userid" in m && r(12, a = m.userid), "session" in m && r(13, l = m.session), "endpoint" in m && r(14, u = m.endpoint), "apiversion" in m && r(15, h = 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);
4881
4867
  }, e.$$.update = () => {
4882
4868
  e.$$.dirty[0] & /*customcurrencysymbols*/
4883
- 65536 && f && Or(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
4884
- 61440 && u && s && l && h && Ar(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
4885
- 56 && w[0] && !D && !de && Br(), e.$$.dirty[0] & /*lang*/
4886
- 1 && a && Cr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4887
- 262148 && y && b && vo(b, y), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4888
- 524292 && d && b && Eo(b, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4889
- 1048580 && v && b && _o(b, `${v}.Style`), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
4890
- 2097156 && P && b && wr();
4869
+ 65536 && f && Pr(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
4870
+ 61440 && u && a && l && h && Lr(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
4871
+ 56 && w[0] && !D && !de && Hr(), e.$$.dirty[0] & /*lang*/
4872
+ 1 && o && Ir(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4873
+ 262148 && y && b && ys(b, y), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4874
+ 524292 && d && b && bs(b, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4875
+ 1048580 && v && b && gs(b, `${v}.Style`), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
4876
+ 2097156 && P && b && Tr();
4891
4877
  }, [
4892
- a,
4878
+ o,
4893
4879
  c,
4894
4880
  b,
4895
4881
  w,
@@ -4899,9 +4885,9 @@ function Po(e, t, r) {
4899
4885
  pe,
4900
4886
  Ce,
4901
4887
  i,
4902
- o,
4903
- Ir,
4904
4888
  s,
4889
+ Ar,
4890
+ a,
4905
4891
  l,
4906
4892
  u,
4907
4893
  h,
@@ -4911,18 +4897,18 @@ function Po(e, t, r) {
4911
4897
  d,
4912
4898
  v,
4913
4899
  P,
4914
- Nr,
4915
- Rr
4900
+ Br,
4901
+ Or
4916
4902
  ];
4917
4903
  }
4918
- class Io extends fi {
4904
+ class As extends li {
4919
4905
  constructor(t) {
4920
- super(), hi(
4906
+ super(), ai(
4921
4907
  this,
4922
4908
  t,
4923
- Po,
4924
- Ho,
4925
- Xt,
4909
+ ws,
4910
+ Ss,
4911
+ Vt,
4926
4912
  {
4927
4913
  lang: 0,
4928
4914
  userid: 12,
@@ -4937,7 +4923,7 @@ class Io extends fi {
4937
4923
  mbsource: 20,
4938
4924
  translationurl: 21
4939
4925
  },
4940
- xo,
4926
+ vs,
4941
4927
  [-1, -1]
4942
4928
  );
4943
4929
  }
@@ -5014,7 +5000,7 @@ class Io extends fi {
5014
5000
  this.$$set({ translationurl: t }), O();
5015
5001
  }
5016
5002
  }
5017
- ci(Io, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5003
+ ui(As, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5018
5004
  export {
5019
- Io as default
5005
+ As as default
5020
5006
  };