@everymatrix/player-account-gaming-limits-history-2-nd 1.87.26 → 1.87.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,24 +1,24 @@
1
1
  function O() {
2
2
  }
3
- function Ft(e) {
3
+ function kt(e) {
4
4
  return e();
5
5
  }
6
- function pt() {
6
+ function yt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function he(e) {
10
- e.forEach(Ft);
9
+ function ce(e) {
10
+ e.forEach(kt);
11
11
  }
12
- function ht(e) {
12
+ function ft(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function jt(e, t) {
15
+ function Vt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function Nr(e) {
18
+ function Rr(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function kt(e, ...t) {
21
+ function Wt(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const i of t)
24
24
  i(void 0);
@@ -27,23 +27,23 @@ function kt(e, ...t) {
27
27
  const r = e.subscribe(...t);
28
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
29
29
  }
30
- function Mr(e, t, r) {
31
- e.$$.on_destroy.push(kt(t, r));
30
+ function Dr(e, t, r) {
31
+ e.$$.on_destroy.push(Wt(t, r));
32
32
  }
33
- function dt(e) {
33
+ function bt(e) {
34
34
  return e ?? "";
35
35
  }
36
36
  function x(e, t) {
37
37
  e.appendChild(t);
38
38
  }
39
- function Rr(e, t, r) {
40
- const i = Dr(e);
39
+ function $r(e, t, r) {
40
+ const i = Ur(e);
41
41
  if (!i.getElementById(t)) {
42
- const n = H("style");
43
- n.id = t, n.textContent = r, $r(i, n);
42
+ const n = A("style");
43
+ n.id = t, n.textContent = r, Gr(i, n);
44
44
  }
45
45
  }
46
- function Dr(e) {
46
+ function Ur(e) {
47
47
  if (!e)
48
48
  return document;
49
49
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -53,7 +53,7 @@ function Dr(e) {
53
53
  t
54
54
  ) : e.ownerDocument;
55
55
  }
56
- function $r(e, t) {
56
+ function Gr(e, t) {
57
57
  return x(
58
58
  /** @type {Document} */
59
59
  e.head || e,
@@ -66,42 +66,42 @@ function W(e, t, r) {
66
66
  function k(e) {
67
67
  e.parentNode && e.parentNode.removeChild(e);
68
68
  }
69
- function Ur(e, t) {
69
+ function Fr(e, t) {
70
70
  for (let r = 0; r < e.length; r += 1)
71
71
  e[r] && e[r].d(t);
72
72
  }
73
- function H(e) {
73
+ function A(e) {
74
74
  return document.createElement(e);
75
75
  }
76
- function Re(e) {
76
+ function $e(e) {
77
77
  return document.createElementNS("http://www.w3.org/2000/svg", e);
78
78
  }
79
- function U(e) {
79
+ function $(e) {
80
80
  return document.createTextNode(e);
81
81
  }
82
- function ze() {
83
- return U(" ");
82
+ function Ze() {
83
+ return $(" ");
84
84
  }
85
- function Gr(e, t, r, i) {
85
+ function jr(e, t, r, i) {
86
86
  return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
87
87
  }
88
88
  function E(e, t, r) {
89
89
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
90
90
  }
91
- function Fr(e) {
91
+ function kr(e) {
92
92
  return Array.from(e.childNodes);
93
93
  }
94
94
  function j(e, t) {
95
95
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
96
96
  t);
97
97
  }
98
- function jr(e, t, r, i) {
98
+ function Vr(e, t, r, i) {
99
99
  e.style.setProperty(t, r, "");
100
100
  }
101
- function ye(e, t, r) {
101
+ function ge(e, t, r) {
102
102
  e.classList.toggle(t, !!r);
103
103
  }
104
- function kr(e) {
104
+ function Wr(e) {
105
105
  const t = {};
106
106
  return e.childNodes.forEach(
107
107
  /** @param {Element} node */
@@ -110,90 +110,90 @@ function kr(e) {
110
110
  }
111
111
  ), t;
112
112
  }
113
- let ae;
114
- function se(e) {
115
- ae = e;
113
+ let ue;
114
+ function ae(e) {
115
+ ue = e;
116
116
  }
117
- function Vr() {
118
- if (!ae)
117
+ function zr() {
118
+ if (!ue)
119
119
  throw new Error("Function called outside component initialization");
120
- return ae;
120
+ return ue;
121
121
  }
122
- function Wr(e) {
123
- Vr().$$.on_mount.push(e);
122
+ function Xr(e) {
123
+ zr().$$.on_mount.push(e);
124
124
  }
125
- const Q = [], we = [];
126
- let Y = [];
127
- const yt = [], zr = /* @__PURE__ */ Promise.resolve();
128
- let Xe = !1;
129
- function Xr() {
130
- Xe || (Xe = !0, zr.then(C));
125
+ const Q = [], Te = [];
126
+ let J = [];
127
+ const gt = [], Zr = /* @__PURE__ */ Promise.resolve();
128
+ let Qe = !1;
129
+ function Qr() {
130
+ Qe || (Qe = !0, Zr.then(I));
131
131
  }
132
- function Ze(e) {
133
- Y.push(e);
132
+ function Ye(e) {
133
+ J.push(e);
134
134
  }
135
- const De = /* @__PURE__ */ new Set();
135
+ const Ue = /* @__PURE__ */ new Set();
136
136
  let X = 0;
137
- function C() {
137
+ function I() {
138
138
  if (X !== 0)
139
139
  return;
140
- const e = ae;
140
+ const e = ue;
141
141
  do {
142
142
  try {
143
143
  for (; X < Q.length; ) {
144
144
  const t = Q[X];
145
- X++, se(t), Zr(t.$$);
145
+ X++, ae(t), Yr(t.$$);
146
146
  }
147
147
  } catch (t) {
148
148
  throw Q.length = 0, X = 0, t;
149
149
  }
150
- for (se(null), Q.length = 0, X = 0; we.length; )
151
- we.pop()();
152
- for (let t = 0; t < Y.length; t += 1) {
153
- const r = Y[t];
154
- De.has(r) || (De.add(r), r());
150
+ for (ae(null), Q.length = 0, X = 0; Te.length; )
151
+ Te.pop()();
152
+ for (let t = 0; t < J.length; t += 1) {
153
+ const r = J[t];
154
+ Ue.has(r) || (Ue.add(r), r());
155
155
  }
156
- Y.length = 0;
156
+ J.length = 0;
157
157
  } while (Q.length);
158
- for (; yt.length; )
159
- yt.pop()();
160
- Xe = !1, De.clear(), se(e);
158
+ for (; gt.length; )
159
+ gt.pop()();
160
+ Qe = !1, Ue.clear(), ae(e);
161
161
  }
162
- function Zr(e) {
162
+ function Yr(e) {
163
163
  if (e.fragment !== null) {
164
- e.update(), he(e.before_update);
164
+ e.update(), ce(e.before_update);
165
165
  const t = e.dirty;
166
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ze);
166
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ye);
167
167
  }
168
168
  }
169
- function Qr(e) {
169
+ function Jr(e) {
170
170
  const t = [], r = [];
171
- Y.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), Y = t;
171
+ J.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), J = t;
172
172
  }
173
- const Yr = /* @__PURE__ */ new Set();
174
- function Jr(e, t) {
175
- e && e.i && (Yr.delete(e), e.i(t));
173
+ const qr = /* @__PURE__ */ new Set();
174
+ function Kr(e, t) {
175
+ e && e.i && (qr.delete(e), e.i(t));
176
176
  }
177
- function gt(e) {
177
+ function vt(e) {
178
178
  return e?.length !== void 0 ? e : Array.from(e);
179
179
  }
180
- function qr(e, t, r) {
180
+ function ei(e, t, r) {
181
181
  const { fragment: i, after_update: n } = e.$$;
182
- i && i.m(t, r), Ze(() => {
183
- const o = e.$$.on_mount.map(Ft).filter(ht);
184
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : he(o), e.$$.on_mount = [];
185
- }), n.forEach(Ze);
182
+ i && i.m(t, r), Ye(() => {
183
+ const o = e.$$.on_mount.map(kt).filter(ft);
184
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ce(o), e.$$.on_mount = [];
185
+ }), n.forEach(Ye);
186
186
  }
187
- function Kr(e, t) {
187
+ function ti(e, t) {
188
188
  const r = e.$$;
189
- r.fragment !== null && (Qr(r.after_update), he(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
189
+ r.fragment !== null && (Jr(r.after_update), ce(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
190
190
  }
191
- function ei(e, t) {
192
- e.$$.dirty[0] === -1 && (Q.push(e), Xr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
191
+ function ri(e, t) {
192
+ e.$$.dirty[0] === -1 && (Q.push(e), Qr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
193
193
  }
194
- function ti(e, t, r, i, n, o, a = null, s = [-1]) {
195
- const h = ae;
196
- se(e);
194
+ function ii(e, t, r, i, n, o, a = null, s = [-1]) {
195
+ const h = ue;
196
+ ae(e);
197
197
  const u = e.$$ = {
198
198
  fragment: null,
199
199
  ctx: [],
@@ -201,7 +201,7 @@ function ti(e, t, r, i, n, o, a = null, s = [-1]) {
201
201
  props: o,
202
202
  update: O,
203
203
  not_equal: n,
204
- bound: pt(),
204
+ bound: yt(),
205
205
  // lifecycle
206
206
  on_mount: [],
207
207
  on_destroy: [],
@@ -210,7 +210,7 @@ function ti(e, t, r, i, n, o, a = null, s = [-1]) {
210
210
  after_update: [],
211
211
  context: new Map(t.context || (h ? h.$$.context : [])),
212
212
  // everything else
213
- callbacks: pt(),
213
+ callbacks: yt(),
214
214
  dirty: s,
215
215
  skip_bound: !1,
216
216
  root: t.target || h.$$.root
@@ -219,19 +219,19 @@ function ti(e, t, r, i, n, o, a = null, s = [-1]) {
219
219
  let l = !1;
220
220
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
221
221
  const y = p.length ? p[0] : f;
222
- return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && ei(e, c)), f;
223
- }) : [], u.update(), l = !0, he(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
222
+ return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && ri(e, c)), f;
223
+ }) : [], u.update(), l = !0, ce(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
224
224
  if (t.hydrate) {
225
- const c = Fr(t.target);
225
+ const c = kr(t.target);
226
226
  u.fragment && u.fragment.l(c), c.forEach(k);
227
227
  } else
228
228
  u.fragment && u.fragment.c();
229
- t.intro && Jr(e.$$.fragment), qr(e, t.target, t.anchor), C();
229
+ t.intro && Kr(e.$$.fragment), ei(e, t.target, t.anchor), I();
230
230
  }
231
- se(h);
231
+ ae(h);
232
232
  }
233
- let Vt;
234
- typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
233
+ let zt;
234
+ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
235
235
  /** The Svelte component constructor */
236
236
  $$ctor;
237
237
  /** Slots */
@@ -273,7 +273,7 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
273
273
  let o;
274
274
  return {
275
275
  c: function() {
276
- o = H("slot"), n !== "default" && E(o, "name", n);
276
+ o = A("slot"), n !== "default" && E(o, "name", n);
277
277
  },
278
278
  /**
279
279
  * @param {HTMLElement} target
@@ -290,12 +290,12 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
290
290
  };
291
291
  if (await Promise.resolve(), !this.$$cn || this.$$c)
292
292
  return;
293
- const t = {}, r = kr(this);
293
+ const t = {}, r = Wr(this);
294
294
  for (const n of this.$$s)
295
295
  n in r && (t[n] = [e(n)]);
296
296
  for (const n of this.attributes) {
297
297
  const o = this.$$g_p(n.name);
298
- o in this.$$d || (this.$$d[o] = ve(o, n.value, this.$$p_d, "toProp"));
298
+ o in this.$$d || (this.$$d[o] = Ee(o, n.value, this.$$p_d, "toProp"));
299
299
  }
300
300
  for (const n in this.$$p_d)
301
301
  !(n in this.$$d) && this[n] !== void 0 && (this.$$d[n] = this[n], delete this[n]);
@@ -313,7 +313,7 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
313
313
  this.$$r = !0;
314
314
  for (const n in this.$$p_d)
315
315
  if (this.$$d[n] = this.$$c.$$.ctx[this.$$c.$$.props[n]], this.$$p_d[n].reflect) {
316
- const o = ve(
316
+ const o = Ee(
317
317
  n,
318
318
  this.$$d[n],
319
319
  this.$$p_d,
@@ -335,7 +335,7 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
335
335
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
336
336
  // and setting attributes through setAttribute etc, this is helpful
337
337
  attributeChangedCallback(e, t, r) {
338
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = ve(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
338
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ee(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
339
339
  }
340
340
  disconnectedCallback() {
341
341
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -348,7 +348,7 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
348
348
  ) || e;
349
349
  }
350
350
  });
351
- function ve(e, t, r, i) {
351
+ function Ee(e, t, r, i) {
352
352
  const n = r[e]?.type;
353
353
  if (t = n === "Boolean" && typeof t != "boolean" ? t != null : t, !i || !r[e])
354
354
  return t;
@@ -377,8 +377,8 @@ function ve(e, t, r, i) {
377
377
  return t;
378
378
  }
379
379
  }
380
- function ri(e, t, r, i, n, o) {
381
- let a = class extends Vt {
380
+ function ni(e, t, r, i, n, o) {
381
+ let a = class extends zt {
382
382
  constructor() {
383
383
  super(e, r, n), this.$$p_d = t;
384
384
  }
@@ -394,7 +394,7 @@ function ri(e, t, r, i, n, o) {
394
394
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
395
395
  },
396
396
  set(h) {
397
- h = ve(s, h, t), this.$$d[s] = h, this.$$c?.$set({ [s]: h });
397
+ h = Ee(s, h, t), this.$$d[s] = h, this.$$c?.$set({ [s]: h });
398
398
  }
399
399
  });
400
400
  }), i.forEach((s) => {
@@ -406,7 +406,7 @@ function ri(e, t, r, i, n, o) {
406
406
  }), e.element = /** @type {any} */
407
407
  a, a;
408
408
  }
409
- class ii {
409
+ class oi {
410
410
  /**
411
411
  * ### PRIVATE API
412
412
  *
@@ -425,7 +425,7 @@ class ii {
425
425
  $$set = void 0;
426
426
  /** @returns {void} */
427
427
  $destroy() {
428
- Kr(this, 1), this.$destroy = O;
428
+ ti(this, 1), this.$destroy = O;
429
429
  }
430
430
  /**
431
431
  * @template {Extract<keyof Events, string>} K
@@ -434,7 +434,7 @@ class ii {
434
434
  * @returns {() => void}
435
435
  */
436
436
  $on(t, r) {
437
- if (!ht(r))
437
+ if (!ft(r))
438
438
  return O;
439
439
  const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
440
440
  return i.push(r), () => {
@@ -447,22 +447,22 @@ class ii {
447
447
  * @returns {void}
448
448
  */
449
449
  $set(t) {
450
- this.$$set && !Nr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
450
+ this.$$set && !Rr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
451
451
  }
452
452
  }
453
- const ni = "4";
454
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ni);
453
+ const si = "4";
454
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(si);
455
455
  const Z = [];
456
- function oi(e, t) {
456
+ function ai(e, t) {
457
457
  return {
458
- subscribe: Ae(e, t).subscribe
458
+ subscribe: Pe(e, t).subscribe
459
459
  };
460
460
  }
461
- function Ae(e, t = O) {
461
+ function Pe(e, t = O) {
462
462
  let r;
463
463
  const i = /* @__PURE__ */ new Set();
464
464
  function n(s) {
465
- if (jt(e, s) && (e = s, r)) {
465
+ if (Vt(e, s) && (e = s, r)) {
466
466
  const h = !Z.length;
467
467
  for (const u of i)
468
468
  u[1](), Z.push(u, e);
@@ -484,12 +484,12 @@ function Ae(e, t = O) {
484
484
  }
485
485
  return { set: n, update: o, subscribe: a };
486
486
  }
487
- function te(e, t, r) {
487
+ function re(e, t, r) {
488
488
  const i = !Array.isArray(e), n = i ? [e] : e;
489
489
  if (!n.every(Boolean))
490
490
  throw new Error("derived() expects stores as input, got a falsy value");
491
491
  const o = t.length < 2;
492
- return oi(r, (a, s) => {
492
+ return ai(r, (a, s) => {
493
493
  let h = !1;
494
494
  const u = [];
495
495
  let l = 0, c = O;
@@ -498,9 +498,9 @@ function te(e, t, r) {
498
498
  return;
499
499
  c();
500
500
  const y = t(i ? u[0] : u, a, s);
501
- o ? a(y) : c = ht(y) ? y : O;
501
+ o ? a(y) : c = ft(y) ? y : O;
502
502
  }, p = n.map(
503
- (y, d) => kt(
503
+ (y, d) => Wt(
504
504
  y,
505
505
  (v) => {
506
506
  u[d] = v, l &= ~(1 << d), h && f();
@@ -511,112 +511,112 @@ function te(e, t, r) {
511
511
  )
512
512
  );
513
513
  return h = !0, f(), function() {
514
- he(p), c(), h = !1;
514
+ ce(p), c(), h = !1;
515
515
  };
516
516
  });
517
517
  }
518
- function si(e) {
518
+ function ui(e) {
519
519
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
520
520
  }
521
- var ai = function(t) {
522
- return ui(t) && !li(t);
521
+ var li = function(t) {
522
+ return hi(t) && !ci(t);
523
523
  };
524
- function ui(e) {
524
+ function hi(e) {
525
525
  return !!e && typeof e == "object";
526
526
  }
527
- function li(e) {
527
+ function ci(e) {
528
528
  var t = Object.prototype.toString.call(e);
529
- return t === "[object RegExp]" || t === "[object Date]" || fi(e);
529
+ return t === "[object RegExp]" || t === "[object Date]" || pi(e);
530
530
  }
531
- var hi = typeof Symbol == "function" && Symbol.for, ci = hi ? Symbol.for("react.element") : 60103;
532
- function fi(e) {
533
- return e.$$typeof === ci;
531
+ var fi = typeof Symbol == "function" && Symbol.for, mi = fi ? Symbol.for("react.element") : 60103;
532
+ function pi(e) {
533
+ return e.$$typeof === mi;
534
534
  }
535
- function mi(e) {
535
+ function di(e) {
536
536
  return Array.isArray(e) ? [] : {};
537
537
  }
538
- function ue(e, t) {
539
- return t.clone !== !1 && t.isMergeableObject(e) ? J(mi(e), e, t) : e;
538
+ function le(e, t) {
539
+ return t.clone !== !1 && t.isMergeableObject(e) ? q(di(e), e, t) : e;
540
540
  }
541
- function pi(e, t, r) {
541
+ function yi(e, t, r) {
542
542
  return e.concat(t).map(function(i) {
543
- return ue(i, r);
543
+ return le(i, r);
544
544
  });
545
545
  }
546
- function di(e, t) {
546
+ function bi(e, t) {
547
547
  if (!t.customMerge)
548
- return J;
548
+ return q;
549
549
  var r = t.customMerge(e);
550
- return typeof r == "function" ? r : J;
550
+ return typeof r == "function" ? r : q;
551
551
  }
552
- function yi(e) {
552
+ function gi(e) {
553
553
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
554
554
  return Object.propertyIsEnumerable.call(e, t);
555
555
  }) : [];
556
556
  }
557
- function bt(e) {
558
- return Object.keys(e).concat(yi(e));
557
+ function _t(e) {
558
+ return Object.keys(e).concat(gi(e));
559
559
  }
560
- function Wt(e, t) {
560
+ function Xt(e, t) {
561
561
  try {
562
562
  return t in e;
563
563
  } catch {
564
564
  return !1;
565
565
  }
566
566
  }
567
- function gi(e, t) {
568
- return Wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
567
+ function vi(e, t) {
568
+ return Xt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
569
569
  }
570
- function bi(e, t, r) {
570
+ function _i(e, t, r) {
571
571
  var i = {};
572
- return r.isMergeableObject(e) && bt(e).forEach(function(n) {
573
- i[n] = ue(e[n], r);
574
- }), bt(t).forEach(function(n) {
575
- gi(e, n) || (Wt(e, n) && r.isMergeableObject(t[n]) ? i[n] = di(n, r)(e[n], t[n], r) : i[n] = ue(t[n], r));
572
+ return r.isMergeableObject(e) && _t(e).forEach(function(n) {
573
+ i[n] = le(e[n], r);
574
+ }), _t(t).forEach(function(n) {
575
+ vi(e, n) || (Xt(e, n) && r.isMergeableObject(t[n]) ? i[n] = bi(n, r)(e[n], t[n], r) : i[n] = le(t[n], r));
576
576
  }), i;
577
577
  }
578
- function J(e, t, r) {
579
- r = r || {}, r.arrayMerge = r.arrayMerge || pi, r.isMergeableObject = r.isMergeableObject || ai, r.cloneUnlessOtherwiseSpecified = ue;
578
+ function q(e, t, r) {
579
+ r = r || {}, r.arrayMerge = r.arrayMerge || yi, r.isMergeableObject = r.isMergeableObject || li, r.cloneUnlessOtherwiseSpecified = le;
580
580
  var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
581
- return o ? i ? r.arrayMerge(e, t, r) : bi(e, t, r) : ue(t, r);
581
+ return o ? i ? r.arrayMerge(e, t, r) : _i(e, t, r) : le(t, r);
582
582
  }
583
- J.all = function(t, r) {
583
+ q.all = function(t, r) {
584
584
  if (!Array.isArray(t))
585
585
  throw new Error("first argument should be an array");
586
586
  return t.reduce(function(i, n) {
587
- return J(i, n, r);
587
+ return q(i, n, r);
588
588
  }, {});
589
589
  };
590
- var vi = J, _i = vi;
591
- const Ei = /* @__PURE__ */ si(_i);
592
- var Qe = function(e, t) {
593
- return Qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
590
+ var Ei = q, xi = Ei;
591
+ const wi = /* @__PURE__ */ ui(xi);
592
+ var Je = function(e, t) {
593
+ return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
594
594
  r.__proto__ = i;
595
595
  } || function(r, i) {
596
596
  for (var n in i)
597
597
  Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
598
- }, Qe(e, t);
598
+ }, Je(e, t);
599
599
  };
600
- function He(e, t) {
600
+ function Be(e, t) {
601
601
  if (typeof t != "function" && t !== null)
602
602
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
603
- Qe(e, t);
603
+ Je(e, t);
604
604
  function r() {
605
605
  this.constructor = e;
606
606
  }
607
607
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
608
608
  }
609
- var M = function() {
610
- return M = Object.assign || function(t) {
609
+ var R = function() {
610
+ return R = Object.assign || function(t) {
611
611
  for (var r, i = 1, n = arguments.length; i < n; i++) {
612
612
  r = arguments[i];
613
613
  for (var o in r)
614
614
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
615
615
  }
616
616
  return t;
617
- }, M.apply(this, arguments);
617
+ }, R.apply(this, arguments);
618
618
  };
619
- function xi(e, t) {
619
+ function Si(e, t) {
620
620
  var r = {};
621
621
  for (var i in e)
622
622
  Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
@@ -625,43 +625,43 @@ function xi(e, t) {
625
625
  t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
626
626
  return r;
627
627
  }
628
- function $e(e, t, r) {
628
+ function Ge(e, t, r) {
629
629
  if (r || arguments.length === 2)
630
630
  for (var i = 0, n = t.length, o; i < n; i++)
631
631
  (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
632
632
  return e.concat(o || Array.prototype.slice.call(t));
633
633
  }
634
- function Ue(e, t) {
635
- var r = t && t.cache ? t.cache : Pi, i = t && t.serializer ? t.serializer : Ai, n = t && t.strategy ? t.strategy : Si;
634
+ function Fe(e, t) {
635
+ var r = t && t.cache ? t.cache : Oi, i = t && t.serializer ? t.serializer : Pi, n = t && t.strategy ? t.strategy : Ai;
636
636
  return n(e, {
637
637
  cache: r,
638
638
  serializer: i
639
639
  });
640
640
  }
641
- function wi(e) {
641
+ function Ti(e) {
642
642
  return e == null || typeof e == "number" || typeof e == "boolean";
643
643
  }
644
- function Ti(e, t, r, i) {
645
- var n = wi(i) ? i : r(i), o = t.get(n);
644
+ function Li(e, t, r, i) {
645
+ var n = Ti(i) ? i : r(i), o = t.get(n);
646
646
  return typeof o > "u" && (o = e.call(this, i), t.set(n, o)), o;
647
647
  }
648
- function zt(e, t, r) {
648
+ function Zt(e, t, r) {
649
649
  var i = Array.prototype.slice.call(arguments, 3), n = r(i), o = t.get(n);
650
650
  return typeof o > "u" && (o = e.apply(this, i), t.set(n, o)), o;
651
651
  }
652
- function Xt(e, t, r, i, n) {
652
+ function Qt(e, t, r, i, n) {
653
653
  return r.bind(t, e, i, n);
654
654
  }
655
- function Si(e, t) {
656
- var r = e.length === 1 ? Ti : zt;
657
- return Xt(e, this, r, t.cache.create(), t.serializer);
655
+ function Ai(e, t) {
656
+ var r = e.length === 1 ? Li : Zt;
657
+ return Qt(e, this, r, t.cache.create(), t.serializer);
658
658
  }
659
- function Li(e, t) {
660
- return Xt(e, this, zt, t.cache.create(), t.serializer);
659
+ function Hi(e, t) {
660
+ return Qt(e, this, Zt, t.cache.create(), t.serializer);
661
661
  }
662
- var Ai = function() {
662
+ var Pi = function() {
663
663
  return JSON.stringify(arguments);
664
- }, Hi = (
664
+ }, Bi = (
665
665
  /** @class */
666
666
  function() {
667
667
  function e() {
@@ -673,71 +673,71 @@ var Ai = function() {
673
673
  this.cache[t] = r;
674
674
  }, e;
675
675
  }()
676
- ), Pi = {
676
+ ), Oi = {
677
677
  create: function() {
678
- return new Hi();
678
+ return new Bi();
679
679
  }
680
- }, Ge = {
681
- variadic: Li
682
- }, Te = function() {
683
- return Te = Object.assign || function(t) {
680
+ }, je = {
681
+ variadic: Hi
682
+ }, Le = function() {
683
+ return Le = Object.assign || function(t) {
684
684
  for (var r, i = 1, n = arguments.length; i < n; i++) {
685
685
  r = arguments[i];
686
686
  for (var o in r)
687
687
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
688
688
  }
689
689
  return t;
690
- }, Te.apply(this, arguments);
690
+ }, Le.apply(this, arguments);
691
691
  };
692
- var b;
692
+ var g;
693
693
  (function(e) {
694
694
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
695
- })(b || (b = {}));
696
- var T;
695
+ })(g || (g = {}));
696
+ var S;
697
697
  (function(e) {
698
698
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
699
- })(T || (T = {}));
700
- var q;
699
+ })(S || (S = {}));
700
+ var K;
701
701
  (function(e) {
702
702
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
703
- })(q || (q = {}));
704
- function vt(e) {
705
- return e.type === T.literal;
706
- }
707
- function Bi(e) {
708
- return e.type === T.argument;
709
- }
710
- function Zt(e) {
711
- return e.type === T.number;
703
+ })(K || (K = {}));
704
+ function Et(e) {
705
+ return e.type === S.literal;
712
706
  }
713
- function Qt(e) {
714
- return e.type === T.date;
707
+ function Ci(e) {
708
+ return e.type === S.argument;
715
709
  }
716
710
  function Yt(e) {
717
- return e.type === T.time;
711
+ return e.type === S.number;
718
712
  }
719
713
  function Jt(e) {
720
- return e.type === T.select;
714
+ return e.type === S.date;
721
715
  }
722
716
  function qt(e) {
723
- return e.type === T.plural;
724
- }
725
- function Oi(e) {
726
- return e.type === T.pound;
717
+ return e.type === S.time;
727
718
  }
728
719
  function Kt(e) {
729
- return e.type === T.tag;
720
+ return e.type === S.select;
730
721
  }
731
722
  function er(e) {
732
- return !!(e && typeof e == "object" && e.type === q.number);
723
+ return e.type === S.plural;
733
724
  }
734
- function Ye(e) {
735
- return !!(e && typeof e == "object" && e.type === q.dateTime);
736
- }
737
- var tr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ci = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
738
725
  function Ii(e) {
726
+ return e.type === S.pound;
727
+ }
728
+ function tr(e) {
729
+ return e.type === S.tag;
730
+ }
731
+ function rr(e) {
732
+ return !!(e && typeof e == "object" && e.type === K.number);
733
+ }
734
+ function qe(e) {
735
+ return !!(e && typeof e == "object" && e.type === K.dateTime);
736
+ }
737
+ var ir = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ni = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
738
+ function Mi(e) {
739
739
  var t = {};
740
- return e.replace(Ci, function(r) {
740
+ return e.replace(Ni, function(r) {
741
741
  var i = r.length;
742
742
  switch (r[0]) {
743
743
  case "G":
@@ -826,21 +826,21 @@ function Ii(e) {
826
826
  return "";
827
827
  }), t;
828
828
  }
829
- var L = function() {
830
- return L = Object.assign || function(t) {
829
+ var T = function() {
830
+ return T = Object.assign || function(t) {
831
831
  for (var r, i = 1, n = arguments.length; i < n; i++) {
832
832
  r = arguments[i];
833
833
  for (var o in r)
834
834
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
835
835
  }
836
836
  return t;
837
- }, L.apply(this, arguments);
837
+ }, T.apply(this, arguments);
838
838
  };
839
- var Ni = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
840
- function Mi(e) {
839
+ var Ri = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
840
+ function Di(e) {
841
841
  if (e.length === 0)
842
842
  throw new Error("Number skeleton cannot be empty");
843
- for (var t = e.split(Ni).filter(function(f) {
843
+ for (var t = e.split(Ri).filter(function(f) {
844
844
  return f.length > 0;
845
845
  }), r = [], i = 0, n = t; i < n.length; i++) {
846
846
  var o = n[i], a = o.split("/");
@@ -855,17 +855,17 @@ function Mi(e) {
855
855
  }
856
856
  return r;
857
857
  }
858
- function Ri(e) {
858
+ function $i(e) {
859
859
  return e.replace(/^(.*?)-/, "");
860
860
  }
861
- var _t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, rr = /^(@+)?(\+|#+)?[rs]?$/g, Di = /(\*)(0+)|(#+)(0+)|(0+)/g, ir = /^(0+)$/;
862
- function Et(e) {
861
+ var xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, nr = /^(@+)?(\+|#+)?[rs]?$/g, Ui = /(\*)(0+)|(#+)(0+)|(0+)/g, or = /^(0+)$/;
862
+ function wt(e) {
863
863
  var t = {};
864
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(rr, function(r, i, n) {
864
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(nr, function(r, i, n) {
865
865
  return typeof n != "string" ? (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length) : n === "+" ? t.minimumSignificantDigits = i.length : i[0] === "#" ? t.maximumSignificantDigits = i.length : (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length + (typeof n == "string" ? n.length : 0)), "";
866
866
  }), t;
867
867
  }
868
- function nr(e) {
868
+ function sr(e) {
869
869
  switch (e) {
870
870
  case "sign-auto":
871
871
  return {
@@ -905,7 +905,7 @@ function nr(e) {
905
905
  };
906
906
  }
907
907
  }
908
- function $i(e) {
908
+ function Gi(e) {
909
909
  var t;
910
910
  if (e[0] === "E" && e[1] === "E" ? (t = {
911
911
  notation: "engineering"
@@ -913,17 +913,17 @@ function $i(e) {
913
913
  notation: "scientific"
914
914
  }, e = e.slice(1)), t) {
915
915
  var r = e.slice(0, 2);
916
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ir.test(e))
916
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !or.test(e))
917
917
  throw new Error("Malformed concise eng/scientific notation");
918
918
  t.minimumIntegerDigits = e.length;
919
919
  }
920
920
  return t;
921
921
  }
922
- function xt(e) {
923
- var t = {}, r = nr(e);
922
+ function St(e) {
923
+ var t = {}, r = sr(e);
924
924
  return r || t;
925
925
  }
926
- function Ui(e) {
926
+ function Fi(e) {
927
927
  for (var t = {}, r = 0, i = e; r < i.length; r++) {
928
928
  var n = i[r];
929
929
  switch (n.stem) {
@@ -947,7 +947,7 @@ function Ui(e) {
947
947
  continue;
948
948
  case "measure-unit":
949
949
  case "unit":
950
- t.style = "unit", t.unit = Ri(n.options[0]);
950
+ t.style = "unit", t.unit = $i(n.options[0]);
951
951
  continue;
952
952
  case "compact-short":
953
953
  case "K":
@@ -958,13 +958,13 @@ function Ui(e) {
958
958
  t.notation = "compact", t.compactDisplay = "long";
959
959
  continue;
960
960
  case "scientific":
961
- t = L(L(L({}, t), { notation: "scientific" }), n.options.reduce(function(h, u) {
962
- return L(L({}, h), xt(u));
961
+ t = T(T(T({}, t), { notation: "scientific" }), n.options.reduce(function(h, u) {
962
+ return T(T({}, h), St(u));
963
963
  }, {}));
964
964
  continue;
965
965
  case "engineering":
966
- t = L(L(L({}, t), { notation: "engineering" }), n.options.reduce(function(h, u) {
967
- return L(L({}, h), xt(u));
966
+ t = T(T(T({}, t), { notation: "engineering" }), n.options.reduce(function(h, u) {
967
+ return T(T({}, h), St(u));
968
968
  }, {}));
969
969
  continue;
970
970
  case "notation-simple":
@@ -1009,7 +1009,7 @@ function Ui(e) {
1009
1009
  case "integer-width":
1010
1010
  if (n.options.length > 1)
1011
1011
  throw new RangeError("integer-width stems only accept a single optional option");
1012
- n.options[0].replace(Di, function(h, u, l, c, f, p) {
1012
+ n.options[0].replace(Ui, function(h, u, l, c, f, p) {
1013
1013
  if (u)
1014
1014
  t.minimumIntegerDigits = l.length;
1015
1015
  else {
@@ -1022,32 +1022,32 @@ function Ui(e) {
1022
1022
  });
1023
1023
  continue;
1024
1024
  }
1025
- if (ir.test(n.stem)) {
1025
+ if (or.test(n.stem)) {
1026
1026
  t.minimumIntegerDigits = n.stem.length;
1027
1027
  continue;
1028
1028
  }
1029
- if (_t.test(n.stem)) {
1029
+ if (xt.test(n.stem)) {
1030
1030
  if (n.options.length > 1)
1031
1031
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1032
- n.stem.replace(_t, function(h, u, l, c, f, p) {
1032
+ n.stem.replace(xt, function(h, u, l, c, f, p) {
1033
1033
  return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1034
1034
  });
1035
1035
  var o = n.options[0];
1036
- o === "w" ? t = L(L({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = L(L({}, t), Et(o)));
1036
+ o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), wt(o)));
1037
1037
  continue;
1038
1038
  }
1039
- if (rr.test(n.stem)) {
1040
- t = L(L({}, t), Et(n.stem));
1039
+ if (nr.test(n.stem)) {
1040
+ t = T(T({}, t), wt(n.stem));
1041
1041
  continue;
1042
1042
  }
1043
- var a = nr(n.stem);
1044
- a && (t = L(L({}, t), a));
1045
- var s = $i(n.stem);
1046
- s && (t = L(L({}, t), s));
1043
+ var a = sr(n.stem);
1044
+ a && (t = T(T({}, t), a));
1045
+ var s = Gi(n.stem);
1046
+ s && (t = T(T({}, t), s));
1047
1047
  }
1048
1048
  return t;
1049
1049
  }
1050
- var ge = {
1050
+ var ve = {
1051
1051
  "001": [
1052
1052
  "H",
1053
1053
  "h"
@@ -2462,13 +2462,13 @@ var ge = {
2462
2462
  "h"
2463
2463
  ]
2464
2464
  };
2465
- function Gi(e, t) {
2465
+ function ji(e, t) {
2466
2466
  for (var r = "", i = 0; i < e.length; i++) {
2467
2467
  var n = e.charAt(i);
2468
2468
  if (n === "j") {
2469
2469
  for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
2470
2470
  o++, i++;
2471
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Fi(t);
2471
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = ki(t);
2472
2472
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2473
2473
  r += h;
2474
2474
  for (; a-- > 0; )
@@ -2478,7 +2478,7 @@ function Gi(e, t) {
2478
2478
  }
2479
2479
  return r;
2480
2480
  }
2481
- function Fi(e) {
2481
+ function ki(e) {
2482
2482
  var t = e.hourCycle;
2483
2483
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2484
2484
  e.hourCycles && // @ts-ignore
@@ -2497,23 +2497,23 @@ function Fi(e) {
2497
2497
  }
2498
2498
  var r = e.language, i;
2499
2499
  r !== "root" && (i = e.maximize().region);
2500
- var n = ge[i || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
2500
+ var n = ve[i || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
2501
2501
  return n[0];
2502
2502
  }
2503
- var Fe, ji = new RegExp("^".concat(tr.source, "*")), ki = new RegExp("".concat(tr.source, "*$"));
2503
+ var ke, Vi = new RegExp("^".concat(ir.source, "*")), Wi = new RegExp("".concat(ir.source, "*$"));
2504
2504
  function _(e, t) {
2505
2505
  return { start: e, end: t };
2506
2506
  }
2507
- var Vi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Wi = !!String.fromCodePoint, zi = !!Object.fromEntries, Xi = !!String.prototype.codePointAt, Zi = !!String.prototype.trimStart, Qi = !!String.prototype.trimEnd, Yi = !!Number.isSafeInteger, Ji = Yi ? Number.isSafeInteger : function(e) {
2507
+ var zi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Xi = !!String.fromCodePoint, Zi = !!Object.fromEntries, Qi = !!String.prototype.codePointAt, Yi = !!String.prototype.trimStart, Ji = !!String.prototype.trimEnd, qi = !!Number.isSafeInteger, Ki = qi ? Number.isSafeInteger : function(e) {
2508
2508
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2509
- }, Je = !0;
2509
+ }, Ke = !0;
2510
2510
  try {
2511
- var qi = sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2512
- Je = ((Fe = qi.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
2511
+ var en = ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2512
+ Ke = ((ke = en.exec("a")) === null || ke === void 0 ? void 0 : ke[0]) === "a";
2513
2513
  } catch {
2514
- Je = !1;
2514
+ Ke = !1;
2515
2515
  }
2516
- var wt = Vi ? (
2516
+ var Tt = zi ? (
2517
2517
  // Native
2518
2518
  function(t, r, i) {
2519
2519
  return t.startsWith(r, i);
@@ -2523,7 +2523,7 @@ var wt = Vi ? (
2523
2523
  function(t, r, i) {
2524
2524
  return t.slice(i, i + r.length) === r;
2525
2525
  }
2526
- ), qe = Wi ? String.fromCodePoint : (
2526
+ ), et = Xi ? String.fromCodePoint : (
2527
2527
  // IE11
2528
2528
  function() {
2529
2529
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2535,9 +2535,9 @@ var wt = Vi ? (
2535
2535
  }
2536
2536
  return i;
2537
2537
  }
2538
- ), Tt = (
2538
+ ), Lt = (
2539
2539
  // native
2540
- zi ? Object.fromEntries : (
2540
+ Zi ? Object.fromEntries : (
2541
2541
  // Ponyfill
2542
2542
  function(t) {
2543
2543
  for (var r = {}, i = 0, n = t; i < n.length; i++) {
@@ -2547,7 +2547,7 @@ var wt = Vi ? (
2547
2547
  return r;
2548
2548
  }
2549
2549
  )
2550
- ), or = Xi ? (
2550
+ ), ar = Qi ? (
2551
2551
  // Native
2552
2552
  function(t, r) {
2553
2553
  return t.codePointAt(r);
@@ -2561,7 +2561,7 @@ var wt = Vi ? (
2561
2561
  return n < 55296 || n > 56319 || r + 1 === i || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
2562
2562
  }
2563
2563
  }
2564
- ), Ki = Zi ? (
2564
+ ), tn = Yi ? (
2565
2565
  // Native
2566
2566
  function(t) {
2567
2567
  return t.trimStart();
@@ -2569,9 +2569,9 @@ var wt = Vi ? (
2569
2569
  ) : (
2570
2570
  // Ponyfill
2571
2571
  function(t) {
2572
- return t.replace(ji, "");
2572
+ return t.replace(Vi, "");
2573
2573
  }
2574
- ), en = Qi ? (
2574
+ ), rn = Ji ? (
2575
2575
  // Native
2576
2576
  function(t) {
2577
2577
  return t.trimEnd();
@@ -2579,32 +2579,32 @@ var wt = Vi ? (
2579
2579
  ) : (
2580
2580
  // Ponyfill
2581
2581
  function(t) {
2582
- return t.replace(ki, "");
2582
+ return t.replace(Wi, "");
2583
2583
  }
2584
2584
  );
2585
- function sr(e, t) {
2585
+ function ur(e, t) {
2586
2586
  return new RegExp(e, t);
2587
2587
  }
2588
- var Ke;
2589
- if (Je) {
2590
- var St = sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2591
- Ke = function(t, r) {
2588
+ var tt;
2589
+ if (Ke) {
2590
+ var At = ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2591
+ tt = function(t, r) {
2592
2592
  var i;
2593
- St.lastIndex = r;
2594
- var n = St.exec(t);
2593
+ At.lastIndex = r;
2594
+ var n = At.exec(t);
2595
2595
  return (i = n[1]) !== null && i !== void 0 ? i : "";
2596
2596
  };
2597
2597
  } else
2598
- Ke = function(t, r) {
2598
+ tt = function(t, r) {
2599
2599
  for (var i = []; ; ) {
2600
- var n = or(t, r);
2601
- if (n === void 0 || ar(n) || on(n))
2600
+ var n = ar(t, r);
2601
+ if (n === void 0 || lr(n) || an(n))
2602
2602
  break;
2603
2603
  i.push(n), r += n >= 65536 ? 2 : 1;
2604
2604
  }
2605
- return qe.apply(void 0, i);
2605
+ return et.apply(void 0, i);
2606
2606
  };
2607
- var tn = (
2607
+ var nn = (
2608
2608
  /** @class */
2609
2609
  function() {
2610
2610
  function e(t, r) {
@@ -2628,14 +2628,14 @@ var tn = (
2628
2628
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2629
2629
  var s = this.clonePosition();
2630
2630
  this.bump(), n.push({
2631
- type: T.pound,
2631
+ type: S.pound,
2632
2632
  location: _(s, this.clonePosition())
2633
2633
  });
2634
2634
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2635
2635
  if (i)
2636
2636
  break;
2637
- return this.error(b.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
2638
- } else if (o === 60 && !this.ignoreTag && et(this.peek() || 0)) {
2637
+ return this.error(g.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
2638
+ } else if (o === 60 && !this.ignoreTag && rt(this.peek() || 0)) {
2639
2639
  var a = this.parseTag(t, r);
2640
2640
  if (a.err)
2641
2641
  return a;
@@ -2656,7 +2656,7 @@ var tn = (
2656
2656
  if (this.bumpSpace(), this.bumpIf("/>"))
2657
2657
  return {
2658
2658
  val: {
2659
- type: T.literal,
2659
+ type: S.literal,
2660
2660
  value: "<".concat(n, "/>"),
2661
2661
  location: _(i, this.clonePosition())
2662
2662
  },
@@ -2668,25 +2668,25 @@ var tn = (
2668
2668
  return o;
2669
2669
  var a = o.val, s = this.clonePosition();
2670
2670
  if (this.bumpIf("</")) {
2671
- if (this.isEOF() || !et(this.char()))
2672
- return this.error(b.INVALID_TAG, _(s, this.clonePosition()));
2671
+ if (this.isEOF() || !rt(this.char()))
2672
+ return this.error(g.INVALID_TAG, _(s, this.clonePosition()));
2673
2673
  var h = this.clonePosition(), u = this.parseTagName();
2674
- return n !== u ? this.error(b.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2674
+ return n !== u ? this.error(g.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2675
2675
  val: {
2676
- type: T.tag,
2676
+ type: S.tag,
2677
2677
  value: n,
2678
2678
  children: a,
2679
2679
  location: _(i, this.clonePosition())
2680
2680
  },
2681
2681
  err: null
2682
- } : this.error(b.INVALID_TAG, _(s, this.clonePosition())));
2682
+ } : this.error(g.INVALID_TAG, _(s, this.clonePosition())));
2683
2683
  } else
2684
- return this.error(b.UNCLOSED_TAG, _(i, this.clonePosition()));
2684
+ return this.error(g.UNCLOSED_TAG, _(i, this.clonePosition()));
2685
2685
  } else
2686
- return this.error(b.INVALID_TAG, _(i, this.clonePosition()));
2686
+ return this.error(g.INVALID_TAG, _(i, this.clonePosition()));
2687
2687
  }, e.prototype.parseTagName = function() {
2688
2688
  var t = this.offset();
2689
- for (this.bump(); !this.isEOF() && nn(this.char()); )
2689
+ for (this.bump(); !this.isEOF() && sn(this.char()); )
2690
2690
  this.bump();
2691
2691
  return this.message.slice(t, this.offset());
2692
2692
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2710,12 +2710,12 @@ var tn = (
2710
2710
  }
2711
2711
  var h = _(i, this.clonePosition());
2712
2712
  return {
2713
- val: { type: T.literal, value: n, location: h },
2713
+ val: { type: S.literal, value: n, location: h },
2714
2714
  err: null
2715
2715
  };
2716
2716
  }, e.prototype.tryParseLeftAngleBracket = function() {
2717
2717
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2718
- !rn(this.peek() || 0)) ? (this.bump(), "<") : null;
2718
+ !on(this.peek() || 0)) ? (this.bump(), "<") : null;
2719
2719
  }, e.prototype.tryParseQuote = function(t) {
2720
2720
  if (this.isEOF() || this.char() !== 39)
2721
2721
  return null;
@@ -2749,28 +2749,28 @@ var tn = (
2749
2749
  r.push(i);
2750
2750
  this.bump();
2751
2751
  }
2752
- return qe.apply(void 0, r);
2752
+ return et.apply(void 0, r);
2753
2753
  }, e.prototype.tryParseUnquoted = function(t, r) {
2754
2754
  if (this.isEOF())
2755
2755
  return null;
2756
2756
  var i = this.char();
2757
- return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), qe(i));
2757
+ return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), et(i));
2758
2758
  }, e.prototype.parseArgument = function(t, r) {
2759
2759
  var i = this.clonePosition();
2760
2760
  if (this.bump(), this.bumpSpace(), this.isEOF())
2761
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition()));
2761
+ return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition()));
2762
2762
  if (this.char() === 125)
2763
- return this.bump(), this.error(b.EMPTY_ARGUMENT, _(i, this.clonePosition()));
2763
+ return this.bump(), this.error(g.EMPTY_ARGUMENT, _(i, this.clonePosition()));
2764
2764
  var n = this.parseIdentifierIfPossible().value;
2765
2765
  if (!n)
2766
- return this.error(b.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
2766
+ return this.error(g.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
2767
2767
  if (this.bumpSpace(), this.isEOF())
2768
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition()));
2768
+ return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition()));
2769
2769
  switch (this.char()) {
2770
2770
  case 125:
2771
2771
  return this.bump(), {
2772
2772
  val: {
2773
- type: T.argument,
2773
+ type: S.argument,
2774
2774
  // value does not include the opening and closing braces.
2775
2775
  value: n,
2776
2776
  location: _(i, this.clonePosition())
@@ -2778,12 +2778,12 @@ var tn = (
2778
2778
  err: null
2779
2779
  };
2780
2780
  case 44:
2781
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
2781
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
2782
2782
  default:
2783
- return this.error(b.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
2783
+ return this.error(g.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
2784
2784
  }
2785
2785
  }, e.prototype.parseIdentifierIfPossible = function() {
2786
- var t = this.clonePosition(), r = this.offset(), i = Ke(this.message, r), n = r + i.length;
2786
+ var t = this.clonePosition(), r = this.offset(), i = tt(this.message, r), n = r + i.length;
2787
2787
  this.bumpTo(n);
2788
2788
  var o = this.clonePosition(), a = _(t, o);
2789
2789
  return { value: i, location: a };
@@ -2791,7 +2791,7 @@ var tn = (
2791
2791
  var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
2792
2792
  switch (s) {
2793
2793
  case "":
2794
- return this.error(b.EXPECT_ARGUMENT_TYPE, _(a, h));
2794
+ return this.error(g.EXPECT_ARGUMENT_TYPE, _(a, h));
2795
2795
  case "number":
2796
2796
  case "date":
2797
2797
  case "time": {
@@ -2802,9 +2802,9 @@ var tn = (
2802
2802
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2803
2803
  if (c.err)
2804
2804
  return c;
2805
- var f = en(c.val);
2805
+ var f = rn(c.val);
2806
2806
  if (f.length === 0)
2807
- return this.error(b.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
2807
+ return this.error(g.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
2808
2808
  var p = _(l, this.clonePosition());
2809
2809
  u = { style: f, styleLocation: p };
2810
2810
  }
@@ -2812,34 +2812,34 @@ var tn = (
2812
2812
  if (y.err)
2813
2813
  return y;
2814
2814
  var d = _(n, this.clonePosition());
2815
- if (u && wt(u?.style, "::", 0)) {
2816
- var v = Ki(u.style.slice(2));
2815
+ if (u && Tt(u?.style, "::", 0)) {
2816
+ var v = tn(u.style.slice(2));
2817
2817
  if (s === "number") {
2818
2818
  var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
2819
2819
  return c.err ? c : {
2820
- val: { type: T.number, value: i, location: d, style: c.val },
2820
+ val: { type: S.number, value: i, location: d, style: c.val },
2821
2821
  err: null
2822
2822
  };
2823
2823
  } else {
2824
2824
  if (v.length === 0)
2825
- return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
2826
- var P = v;
2827
- this.locale && (P = Gi(v, this.locale));
2825
+ return this.error(g.EXPECT_DATE_TIME_SKELETON, d);
2826
+ var H = v;
2827
+ this.locale && (H = ji(v, this.locale));
2828
2828
  var f = {
2829
- type: q.dateTime,
2830
- pattern: P,
2829
+ type: K.dateTime,
2830
+ pattern: H,
2831
2831
  location: u.styleLocation,
2832
- parsedOptions: this.shouldParseSkeletons ? Ii(P) : {}
2833
- }, g = s === "date" ? T.date : T.time;
2832
+ parsedOptions: this.shouldParseSkeletons ? Mi(H) : {}
2833
+ }, b = s === "date" ? S.date : S.time;
2834
2834
  return {
2835
- val: { type: g, value: i, location: d, style: f },
2835
+ val: { type: b, value: i, location: d, style: f },
2836
2836
  err: null
2837
2837
  };
2838
2838
  }
2839
2839
  }
2840
2840
  return {
2841
2841
  val: {
2842
- type: s === "number" ? T.number : s === "date" ? T.date : T.time,
2842
+ type: s === "number" ? S.number : s === "date" ? S.date : S.time,
2843
2843
  value: i,
2844
2844
  location: d,
2845
2845
  style: (o = u?.style) !== null && o !== void 0 ? o : null
@@ -2850,41 +2850,41 @@ var tn = (
2850
2850
  case "plural":
2851
2851
  case "selectordinal":
2852
2852
  case "select": {
2853
- var S = this.clonePosition();
2853
+ var P = this.clonePosition();
2854
2854
  if (this.bumpSpace(), !this.bumpIf(","))
2855
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, _(S, Te({}, S)));
2855
+ return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, _(P, Le({}, P)));
2856
2856
  this.bumpSpace();
2857
- var R = this.parseIdentifierIfPossible(), N = 0;
2858
- if (s !== "select" && R.value === "offset") {
2857
+ var C = this.parseIdentifierIfPossible(), M = 0;
2858
+ if (s !== "select" && C.value === "offset") {
2859
2859
  if (!this.bumpIf(":"))
2860
- return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
2860
+ return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
2861
2861
  this.bumpSpace();
2862
- var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2862
+ var c = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2863
2863
  if (c.err)
2864
2864
  return c;
2865
- this.bumpSpace(), R = this.parseIdentifierIfPossible(), N = c.val;
2865
+ this.bumpSpace(), C = this.parseIdentifierIfPossible(), M = c.val;
2866
2866
  }
2867
- var D = this.tryParsePluralOrSelectOptions(t, s, r, R);
2868
- if (D.err)
2869
- return D;
2867
+ var G = this.tryParsePluralOrSelectOptions(t, s, r, C);
2868
+ if (G.err)
2869
+ return G;
2870
2870
  var y = this.tryParseArgumentClose(n);
2871
2871
  if (y.err)
2872
2872
  return y;
2873
2873
  var V = _(n, this.clonePosition());
2874
2874
  return s === "select" ? {
2875
2875
  val: {
2876
- type: T.select,
2876
+ type: S.select,
2877
2877
  value: i,
2878
- options: Tt(D.val),
2878
+ options: Lt(G.val),
2879
2879
  location: V
2880
2880
  },
2881
2881
  err: null
2882
2882
  } : {
2883
2883
  val: {
2884
- type: T.plural,
2884
+ type: S.plural,
2885
2885
  value: i,
2886
- options: Tt(D.val),
2887
- offset: N,
2886
+ options: Lt(G.val),
2887
+ offset: M,
2888
2888
  pluralType: s === "plural" ? "cardinal" : "ordinal",
2889
2889
  location: V
2890
2890
  },
@@ -2892,10 +2892,10 @@ var tn = (
2892
2892
  };
2893
2893
  }
2894
2894
  default:
2895
- return this.error(b.INVALID_ARGUMENT_TYPE, _(a, h));
2895
+ return this.error(g.INVALID_ARGUMENT_TYPE, _(a, h));
2896
2896
  }
2897
2897
  }, e.prototype.tryParseArgumentClose = function(t) {
2898
- return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2898
+ return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2899
2899
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2900
2900
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2901
2901
  var i = this.char();
@@ -2904,7 +2904,7 @@ var tn = (
2904
2904
  this.bump();
2905
2905
  var n = this.clonePosition();
2906
2906
  if (!this.bumpUntil("'"))
2907
- return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(n, this.clonePosition()));
2907
+ return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(n, this.clonePosition()));
2908
2908
  this.bump();
2909
2909
  break;
2910
2910
  }
@@ -2934,16 +2934,16 @@ var tn = (
2934
2934
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2935
2935
  var i = [];
2936
2936
  try {
2937
- i = Mi(t);
2937
+ i = Di(t);
2938
2938
  } catch {
2939
- return this.error(b.INVALID_NUMBER_SKELETON, r);
2939
+ return this.error(g.INVALID_NUMBER_SKELETON, r);
2940
2940
  }
2941
2941
  return {
2942
2942
  val: {
2943
- type: q.number,
2943
+ type: K.number,
2944
2944
  tokens: i,
2945
2945
  location: r,
2946
- parsedOptions: this.shouldParseSkeletons ? Ui(i) : {}
2946
+ parsedOptions: this.shouldParseSkeletons ? Fi(i) : {}
2947
2947
  },
2948
2948
  err: null
2949
2949
  };
@@ -2952,7 +2952,7 @@ var tn = (
2952
2952
  if (u.length === 0) {
2953
2953
  var c = this.clonePosition();
2954
2954
  if (r !== "select" && this.bumpIf("=")) {
2955
- var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
2955
+ var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR, g.INVALID_PLURAL_ARGUMENT_SELECTOR);
2956
2956
  if (f.err)
2957
2957
  return f;
2958
2958
  l = _(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
@@ -2960,11 +2960,11 @@ var tn = (
2960
2960
  break;
2961
2961
  }
2962
2962
  if (h.has(u))
2963
- return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
2963
+ return this.error(r === "select" ? g.DUPLICATE_SELECT_ARGUMENT_SELECTOR : g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
2964
2964
  u === "other" && (a = !0), this.bumpSpace();
2965
2965
  var p = this.clonePosition();
2966
2966
  if (!this.bumpIf("{"))
2967
- return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
2967
+ return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
2968
2968
  var y = this.parseMessage(t + 1, r, i);
2969
2969
  if (y.err)
2970
2970
  return y;
@@ -2979,7 +2979,7 @@ var tn = (
2979
2979
  }
2980
2980
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
2981
2981
  }
2982
- return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
2982
+ return s.length === 0 ? this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR : g.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(g.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
2983
2983
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
2984
2984
  var i = 1, n = this.clonePosition();
2985
2985
  this.bumpIf("+") || this.bumpIf("-") && (i = -1);
@@ -2991,7 +2991,7 @@ var tn = (
2991
2991
  break;
2992
2992
  }
2993
2993
  var h = _(n, this.clonePosition());
2994
- return o ? (a *= i, Ji(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
2994
+ return o ? (a *= i, Ki(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
2995
2995
  }, e.prototype.offset = function() {
2996
2996
  return this.position.offset;
2997
2997
  }, e.prototype.isEOF = function() {
@@ -3006,7 +3006,7 @@ var tn = (
3006
3006
  var t = this.position.offset;
3007
3007
  if (t >= this.message.length)
3008
3008
  throw Error("out of bound");
3009
- var r = or(this.message, t);
3009
+ var r = ar(this.message, t);
3010
3010
  if (r === void 0)
3011
3011
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3012
3012
  return r;
@@ -3025,7 +3025,7 @@ var tn = (
3025
3025
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3026
3026
  }
3027
3027
  }, e.prototype.bumpIf = function(t) {
3028
- if (wt(this.message, t, this.offset())) {
3028
+ if (Tt(this.message, t, this.offset())) {
3029
3029
  for (var r = 0; r < t.length; r++)
3030
3030
  this.bump();
3031
3031
  return !0;
@@ -3047,7 +3047,7 @@ var tn = (
3047
3047
  break;
3048
3048
  }
3049
3049
  }, e.prototype.bumpSpace = function() {
3050
- for (; !this.isEOF() && ar(this.char()); )
3050
+ for (; !this.isEOF() && lr(this.char()); )
3051
3051
  this.bump();
3052
3052
  }, e.prototype.peek = function() {
3053
3053
  if (this.isEOF())
@@ -3057,47 +3057,47 @@ var tn = (
3057
3057
  }, e;
3058
3058
  }()
3059
3059
  );
3060
- function et(e) {
3060
+ function rt(e) {
3061
3061
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3062
3062
  }
3063
- function rn(e) {
3064
- return et(e) || e === 47;
3063
+ function on(e) {
3064
+ return rt(e) || e === 47;
3065
3065
  }
3066
- function nn(e) {
3066
+ function sn(e) {
3067
3067
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3068
3068
  }
3069
- function ar(e) {
3069
+ function lr(e) {
3070
3070
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3071
3071
  }
3072
- function on(e) {
3072
+ function an(e) {
3073
3073
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3074
3074
  }
3075
- function tt(e) {
3075
+ function it(e) {
3076
3076
  e.forEach(function(t) {
3077
- if (delete t.location, Jt(t) || qt(t))
3077
+ if (delete t.location, Kt(t) || er(t))
3078
3078
  for (var r in t.options)
3079
- delete t.options[r].location, tt(t.options[r].value);
3079
+ delete t.options[r].location, it(t.options[r].value);
3080
3080
  else
3081
- Zt(t) && er(t.style) || (Qt(t) || Yt(t)) && Ye(t.style) ? delete t.style.location : Kt(t) && tt(t.children);
3081
+ Yt(t) && rr(t.style) || (Jt(t) || qt(t)) && qe(t.style) ? delete t.style.location : tr(t) && it(t.children);
3082
3082
  });
3083
3083
  }
3084
- function sn(e, t) {
3085
- t === void 0 && (t = {}), t = Te({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3086
- var r = new tn(e, t).parse();
3084
+ function un(e, t) {
3085
+ t === void 0 && (t = {}), t = Le({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3086
+ var r = new nn(e, t).parse();
3087
3087
  if (r.err) {
3088
- var i = SyntaxError(b[r.err.kind]);
3088
+ var i = SyntaxError(g[r.err.kind]);
3089
3089
  throw i.location = r.err.location, i.originalMessage = r.err.message, i;
3090
3090
  }
3091
- return t?.captureLocation || tt(r.val), r.val;
3091
+ return t?.captureLocation || it(r.val), r.val;
3092
3092
  }
3093
- var K;
3093
+ var ee;
3094
3094
  (function(e) {
3095
3095
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3096
- })(K || (K = {}));
3097
- var Pe = (
3096
+ })(ee || (ee = {}));
3097
+ var Oe = (
3098
3098
  /** @class */
3099
3099
  function(e) {
3100
- He(t, e);
3100
+ Be(t, e);
3101
3101
  function t(r, i, n) {
3102
3102
  var o = e.call(this, r) || this;
3103
3103
  return o.code = i, o.originalMessage = n, o;
@@ -3106,48 +3106,48 @@ var Pe = (
3106
3106
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3107
3107
  }, t;
3108
3108
  }(Error)
3109
- ), Lt = (
3109
+ ), Ht = (
3110
3110
  /** @class */
3111
3111
  function(e) {
3112
- He(t, e);
3112
+ Be(t, e);
3113
3113
  function t(r, i, n, o) {
3114
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), K.INVALID_VALUE, o) || this;
3114
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), ee.INVALID_VALUE, o) || this;
3115
3115
  }
3116
3116
  return t;
3117
- }(Pe)
3118
- ), an = (
3117
+ }(Oe)
3118
+ ), ln = (
3119
3119
  /** @class */
3120
3120
  function(e) {
3121
- He(t, e);
3121
+ Be(t, e);
3122
3122
  function t(r, i, n) {
3123
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), K.INVALID_VALUE, n) || this;
3123
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), ee.INVALID_VALUE, n) || this;
3124
3124
  }
3125
3125
  return t;
3126
- }(Pe)
3127
- ), un = (
3126
+ }(Oe)
3127
+ ), hn = (
3128
3128
  /** @class */
3129
3129
  function(e) {
3130
- He(t, e);
3130
+ Be(t, e);
3131
3131
  function t(r, i) {
3132
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), K.MISSING_VALUE, i) || this;
3132
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), ee.MISSING_VALUE, i) || this;
3133
3133
  }
3134
3134
  return t;
3135
- }(Pe)
3135
+ }(Oe)
3136
3136
  ), B;
3137
3137
  (function(e) {
3138
3138
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3139
3139
  })(B || (B = {}));
3140
- function ln(e) {
3140
+ function cn(e) {
3141
3141
  return e.length < 2 ? e : e.reduce(function(t, r) {
3142
3142
  var i = t[t.length - 1];
3143
3143
  return !i || i.type !== B.literal || r.type !== B.literal ? t.push(r) : i.value += r.value, t;
3144
3144
  }, []);
3145
3145
  }
3146
- function hn(e) {
3146
+ function fn(e) {
3147
3147
  return typeof e == "function";
3148
3148
  }
3149
- function _e(e, t, r, i, n, o, a) {
3150
- if (e.length === 1 && vt(e[0]))
3149
+ function xe(e, t, r, i, n, o, a) {
3150
+ if (e.length === 1 && Et(e[0]))
3151
3151
  return [
3152
3152
  {
3153
3153
  type: B.literal,
@@ -3156,14 +3156,14 @@ function _e(e, t, r, i, n, o, a) {
3156
3156
  ];
3157
3157
  for (var s = [], h = 0, u = e; h < u.length; h++) {
3158
3158
  var l = u[h];
3159
- if (vt(l)) {
3159
+ if (Et(l)) {
3160
3160
  s.push({
3161
3161
  type: B.literal,
3162
3162
  value: l.value
3163
3163
  });
3164
3164
  continue;
3165
3165
  }
3166
- if (Oi(l)) {
3166
+ if (Ii(l)) {
3167
3167
  typeof o == "number" && s.push({
3168
3168
  type: B.literal,
3169
3169
  value: r.getNumberFormat(t).format(o)
@@ -3172,89 +3172,89 @@ function _e(e, t, r, i, n, o, a) {
3172
3172
  }
3173
3173
  var c = l.value;
3174
3174
  if (!(n && c in n))
3175
- throw new un(c, a);
3175
+ throw new hn(c, a);
3176
3176
  var f = n[c];
3177
- if (Bi(l)) {
3177
+ if (Ci(l)) {
3178
3178
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3179
3179
  type: typeof f == "string" ? B.literal : B.object,
3180
3180
  value: f
3181
3181
  });
3182
3182
  continue;
3183
3183
  }
3184
- if (Qt(l)) {
3185
- var p = typeof l.style == "string" ? i.date[l.style] : Ye(l.style) ? l.style.parsedOptions : void 0;
3184
+ if (Jt(l)) {
3185
+ var p = typeof l.style == "string" ? i.date[l.style] : qe(l.style) ? l.style.parsedOptions : void 0;
3186
3186
  s.push({
3187
3187
  type: B.literal,
3188
3188
  value: r.getDateTimeFormat(t, p).format(f)
3189
3189
  });
3190
3190
  continue;
3191
3191
  }
3192
- if (Yt(l)) {
3193
- var p = typeof l.style == "string" ? i.time[l.style] : Ye(l.style) ? l.style.parsedOptions : i.time.medium;
3192
+ if (qt(l)) {
3193
+ var p = typeof l.style == "string" ? i.time[l.style] : qe(l.style) ? l.style.parsedOptions : i.time.medium;
3194
3194
  s.push({
3195
3195
  type: B.literal,
3196
3196
  value: r.getDateTimeFormat(t, p).format(f)
3197
3197
  });
3198
3198
  continue;
3199
3199
  }
3200
- if (Zt(l)) {
3201
- var p = typeof l.style == "string" ? i.number[l.style] : er(l.style) ? l.style.parsedOptions : void 0;
3200
+ if (Yt(l)) {
3201
+ var p = typeof l.style == "string" ? i.number[l.style] : rr(l.style) ? l.style.parsedOptions : void 0;
3202
3202
  p && p.scale && (f = f * (p.scale || 1)), s.push({
3203
3203
  type: B.literal,
3204
3204
  value: r.getNumberFormat(t, p).format(f)
3205
3205
  });
3206
3206
  continue;
3207
3207
  }
3208
- if (Kt(l)) {
3208
+ if (tr(l)) {
3209
3209
  var y = l.children, d = l.value, v = n[d];
3210
- if (!hn(v))
3211
- throw new an(d, "function", a);
3212
- var P = _e(y, t, r, i, n, o), g = v(P.map(function(N) {
3213
- return N.value;
3210
+ if (!fn(v))
3211
+ throw new ln(d, "function", a);
3212
+ var H = xe(y, t, r, i, n, o), b = v(H.map(function(M) {
3213
+ return M.value;
3214
3214
  }));
3215
- Array.isArray(g) || (g = [g]), s.push.apply(s, g.map(function(N) {
3215
+ Array.isArray(b) || (b = [b]), s.push.apply(s, b.map(function(M) {
3216
3216
  return {
3217
- type: typeof N == "string" ? B.literal : B.object,
3218
- value: N
3217
+ type: typeof M == "string" ? B.literal : B.object,
3218
+ value: M
3219
3219
  };
3220
3220
  }));
3221
3221
  }
3222
- if (Jt(l)) {
3223
- var S = l.options[f] || l.options.other;
3224
- if (!S)
3225
- throw new Lt(l.value, f, Object.keys(l.options), a);
3226
- s.push.apply(s, _e(S.value, t, r, i, n));
3222
+ if (Kt(l)) {
3223
+ var P = l.options[f] || l.options.other;
3224
+ if (!P)
3225
+ throw new Ht(l.value, f, Object.keys(l.options), a);
3226
+ s.push.apply(s, xe(P.value, t, r, i, n));
3227
3227
  continue;
3228
3228
  }
3229
- if (qt(l)) {
3230
- var S = l.options["=".concat(f)];
3231
- if (!S) {
3229
+ if (er(l)) {
3230
+ var P = l.options["=".concat(f)];
3231
+ if (!P) {
3232
3232
  if (!Intl.PluralRules)
3233
- throw new Pe(`Intl.PluralRules is not available in this environment.
3233
+ throw new Oe(`Intl.PluralRules is not available in this environment.
3234
3234
  Try polyfilling it using "@formatjs/intl-pluralrules"
3235
- `, K.MISSING_INTL_API, a);
3236
- var R = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3237
- S = l.options[R] || l.options.other;
3235
+ `, ee.MISSING_INTL_API, a);
3236
+ var C = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3237
+ P = l.options[C] || l.options.other;
3238
3238
  }
3239
- if (!S)
3240
- throw new Lt(l.value, f, Object.keys(l.options), a);
3241
- s.push.apply(s, _e(S.value, t, r, i, n, f - (l.offset || 0)));
3239
+ if (!P)
3240
+ throw new Ht(l.value, f, Object.keys(l.options), a);
3241
+ s.push.apply(s, xe(P.value, t, r, i, n, f - (l.offset || 0)));
3242
3242
  continue;
3243
3243
  }
3244
3244
  }
3245
- return ln(s);
3245
+ return cn(s);
3246
3246
  }
3247
- function cn(e, t) {
3248
- return t ? M(M(M({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3249
- return r[i] = M(M({}, e[i]), t[i] || {}), r;
3247
+ function mn(e, t) {
3248
+ return t ? R(R(R({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3249
+ return r[i] = R(R({}, e[i]), t[i] || {}), r;
3250
3250
  }, {})) : e;
3251
3251
  }
3252
- function fn(e, t) {
3252
+ function pn(e, t) {
3253
3253
  return t ? Object.keys(e).reduce(function(r, i) {
3254
- return r[i] = cn(e[i], t[i]), r;
3255
- }, M({}, e)) : e;
3254
+ return r[i] = mn(e[i], t[i]), r;
3255
+ }, R({}, e)) : e;
3256
3256
  }
3257
- function je(e) {
3257
+ function Ve(e) {
3258
3258
  return {
3259
3259
  create: function() {
3260
3260
  return {
@@ -3268,39 +3268,39 @@ function je(e) {
3268
3268
  }
3269
3269
  };
3270
3270
  }
3271
- function mn(e) {
3271
+ function dn(e) {
3272
3272
  return e === void 0 && (e = {
3273
3273
  number: {},
3274
3274
  dateTime: {},
3275
3275
  pluralRules: {}
3276
3276
  }), {
3277
- getNumberFormat: Ue(function() {
3277
+ getNumberFormat: Fe(function() {
3278
3278
  for (var t, r = [], i = 0; i < arguments.length; i++)
3279
3279
  r[i] = arguments[i];
3280
- return new ((t = Intl.NumberFormat).bind.apply(t, $e([void 0], r, !1)))();
3280
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ge([void 0], r, !1)))();
3281
3281
  }, {
3282
- cache: je(e.number),
3283
- strategy: Ge.variadic
3282
+ cache: Ve(e.number),
3283
+ strategy: je.variadic
3284
3284
  }),
3285
- getDateTimeFormat: Ue(function() {
3285
+ getDateTimeFormat: Fe(function() {
3286
3286
  for (var t, r = [], i = 0; i < arguments.length; i++)
3287
3287
  r[i] = arguments[i];
3288
- return new ((t = Intl.DateTimeFormat).bind.apply(t, $e([void 0], r, !1)))();
3288
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ge([void 0], r, !1)))();
3289
3289
  }, {
3290
- cache: je(e.dateTime),
3291
- strategy: Ge.variadic
3290
+ cache: Ve(e.dateTime),
3291
+ strategy: je.variadic
3292
3292
  }),
3293
- getPluralRules: Ue(function() {
3293
+ getPluralRules: Fe(function() {
3294
3294
  for (var t, r = [], i = 0; i < arguments.length; i++)
3295
3295
  r[i] = arguments[i];
3296
- return new ((t = Intl.PluralRules).bind.apply(t, $e([void 0], r, !1)))();
3296
+ return new ((t = Intl.PluralRules).bind.apply(t, Ge([void 0], r, !1)))();
3297
3297
  }, {
3298
- cache: je(e.pluralRules),
3299
- strategy: Ge.variadic
3298
+ cache: Ve(e.pluralRules),
3299
+ strategy: je.variadic
3300
3300
  })
3301
3301
  };
3302
3302
  }
3303
- var pn = (
3303
+ var yn = (
3304
3304
  /** @class */
3305
3305
  function() {
3306
3306
  function e(t, r, i, n) {
@@ -3319,7 +3319,7 @@ var pn = (
3319
3319
  }, []);
3320
3320
  return l.length <= 1 ? l[0] || "" : l;
3321
3321
  }, this.formatToParts = function(h) {
3322
- return _e(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3322
+ return xe(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3323
3323
  }, this.resolvedOptions = function() {
3324
3324
  var h;
3325
3325
  return {
@@ -3332,13 +3332,13 @@ var pn = (
3332
3332
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3333
3333
  var a = n || {};
3334
3334
  a.formatters;
3335
- var s = xi(a, ["formatters"]);
3336
- this.ast = e.__parse(t, M(M({}, s), { locale: this.resolvedLocale }));
3335
+ var s = Si(a, ["formatters"]);
3336
+ this.ast = e.__parse(t, R(R({}, s), { locale: this.resolvedLocale }));
3337
3337
  } else
3338
3338
  this.ast = t;
3339
3339
  if (!Array.isArray(this.ast))
3340
3340
  throw new TypeError("A message must be provided as a String or AST.");
3341
- this.formats = fn(e.formats, i), this.formatters = n && n.formatters || mn(this.formatterCache);
3341
+ this.formats = pn(e.formats, i), this.formatters = n && n.formatters || dn(this.formatterCache);
3342
3342
  }
3343
3343
  return Object.defineProperty(e, "defaultLocale", {
3344
3344
  get: function() {
@@ -3351,7 +3351,7 @@ var pn = (
3351
3351
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3352
3352
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3353
3353
  }
3354
- }, e.__parse = sn, e.formats = {
3354
+ }, e.__parse = un, e.formats = {
3355
3355
  number: {
3356
3356
  integer: {
3357
3357
  maximumFractionDigits: 0
@@ -3412,7 +3412,7 @@ var pn = (
3412
3412
  }, e;
3413
3413
  }()
3414
3414
  );
3415
- function dn(e, t) {
3415
+ function bn(e, t) {
3416
3416
  if (t == null)
3417
3417
  return;
3418
3418
  if (t in e)
@@ -3433,92 +3433,92 @@ function dn(e, t) {
3433
3433
  i = void 0;
3434
3434
  return i;
3435
3435
  }
3436
- const F = {}, yn = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), ur = (e, t) => {
3436
+ const F = {}, gn = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), hr = (e, t) => {
3437
3437
  if (t == null)
3438
3438
  return;
3439
3439
  if (t in F && e in F[t])
3440
3440
  return F[t][e];
3441
- const r = Be(t);
3441
+ const r = Ce(t);
3442
3442
  for (let i = 0; i < r.length; i++) {
3443
- const n = r[i], o = bn(n, e);
3443
+ const n = r[i], o = _n(n, e);
3444
3444
  if (o)
3445
- return yn(e, t, o);
3445
+ return gn(e, t, o);
3446
3446
  }
3447
3447
  };
3448
- let ct;
3449
- const ce = Ae({});
3450
- function gn(e) {
3451
- return ct[e] || null;
3448
+ let mt;
3449
+ const fe = Pe({});
3450
+ function vn(e) {
3451
+ return mt[e] || null;
3452
3452
  }
3453
- function lr(e) {
3454
- return e in ct;
3453
+ function cr(e) {
3454
+ return e in mt;
3455
3455
  }
3456
- function bn(e, t) {
3457
- if (!lr(e))
3456
+ function _n(e, t) {
3457
+ if (!cr(e))
3458
3458
  return null;
3459
- const r = gn(e);
3460
- return dn(r, t);
3459
+ const r = vn(e);
3460
+ return bn(r, t);
3461
3461
  }
3462
- function vn(e) {
3462
+ function En(e) {
3463
3463
  if (e == null)
3464
3464
  return;
3465
- const t = Be(e);
3465
+ const t = Ce(e);
3466
3466
  for (let r = 0; r < t.length; r++) {
3467
3467
  const i = t[r];
3468
- if (lr(i))
3468
+ if (cr(i))
3469
3469
  return i;
3470
3470
  }
3471
3471
  }
3472
- function hr(e, ...t) {
3473
- delete F[e], ce.update((r) => (r[e] = Ei.all([r[e] || {}, ...t]), r));
3472
+ function fr(e, ...t) {
3473
+ delete F[e], fe.update((r) => (r[e] = wi.all([r[e] || {}, ...t]), r));
3474
3474
  }
3475
- te(
3476
- [ce],
3475
+ re(
3476
+ [fe],
3477
3477
  ([e]) => Object.keys(e)
3478
3478
  );
3479
- ce.subscribe((e) => ct = e);
3480
- const Ee = {};
3481
- function _n(e, t) {
3482
- Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
3479
+ fe.subscribe((e) => mt = e);
3480
+ const we = {};
3481
+ function xn(e, t) {
3482
+ we[e].delete(t), we[e].size === 0 && delete we[e];
3483
3483
  }
3484
- function cr(e) {
3485
- return Ee[e];
3484
+ function mr(e) {
3485
+ return we[e];
3486
3486
  }
3487
- function En(e) {
3488
- return Be(e).map((t) => {
3489
- const r = cr(t);
3487
+ function wn(e) {
3488
+ return Ce(e).map((t) => {
3489
+ const r = mr(t);
3490
3490
  return [t, r ? [...r] : []];
3491
3491
  }).filter(([, t]) => t.length > 0);
3492
3492
  }
3493
- function rt(e) {
3494
- return e == null ? !1 : Be(e).some(
3493
+ function nt(e) {
3494
+ return e == null ? !1 : Ce(e).some(
3495
3495
  (t) => {
3496
3496
  var r;
3497
- return (r = cr(t)) == null ? void 0 : r.size;
3497
+ return (r = mr(t)) == null ? void 0 : r.size;
3498
3498
  }
3499
3499
  );
3500
3500
  }
3501
- function xn(e, t) {
3501
+ function Sn(e, t) {
3502
3502
  return Promise.all(
3503
- t.map((i) => (_n(e, i), i().then((n) => n.default || n)))
3504
- ).then((i) => hr(e, ...i));
3505
- }
3506
- const oe = {};
3507
- function fr(e) {
3508
- if (!rt(e))
3509
- return e in oe ? oe[e] : Promise.resolve();
3510
- const t = En(e);
3511
- return oe[e] = Promise.all(
3503
+ t.map((i) => (xn(e, i), i().then((n) => n.default || n)))
3504
+ ).then((i) => fr(e, ...i));
3505
+ }
3506
+ const se = {};
3507
+ function pr(e) {
3508
+ if (!nt(e))
3509
+ return e in se ? se[e] : Promise.resolve();
3510
+ const t = wn(e);
3511
+ return se[e] = Promise.all(
3512
3512
  t.map(
3513
- ([r, i]) => xn(r, i)
3513
+ ([r, i]) => Sn(r, i)
3514
3514
  )
3515
3515
  ).then(() => {
3516
- if (rt(e))
3517
- return fr(e);
3518
- delete oe[e];
3519
- }), oe[e];
3516
+ if (nt(e))
3517
+ return pr(e);
3518
+ delete se[e];
3519
+ }), se[e];
3520
3520
  }
3521
- const wn = {
3521
+ const Tn = {
3522
3522
  number: {
3523
3523
  scientific: { notation: "scientific" },
3524
3524
  engineering: { notation: "engineering" },
@@ -3547,135 +3547,135 @@ const wn = {
3547
3547
  timeZoneName: "short"
3548
3548
  }
3549
3549
  }
3550
- }, Tn = {
3550
+ }, Ln = {
3551
3551
  fallbackLocale: null,
3552
3552
  loadingDelay: 200,
3553
- formats: wn,
3553
+ formats: Tn,
3554
3554
  warnOnMissingMessages: !0,
3555
3555
  handleMissingMessage: void 0,
3556
3556
  ignoreTag: !0
3557
- }, Sn = Tn;
3558
- function ee() {
3559
- return Sn;
3557
+ }, An = Ln;
3558
+ function te() {
3559
+ return An;
3560
3560
  }
3561
- const ke = Ae(!1);
3562
- var Ln = Object.defineProperty, An = Object.defineProperties, Hn = Object.getOwnPropertyDescriptors, At = Object.getOwnPropertySymbols, Pn = Object.prototype.hasOwnProperty, Bn = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Ln(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, On = (e, t) => {
3561
+ const We = Pe(!1);
3562
+ var Hn = Object.defineProperty, Pn = Object.defineProperties, Bn = Object.getOwnPropertyDescriptors, Pt = Object.getOwnPropertySymbols, On = Object.prototype.hasOwnProperty, Cn = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Hn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, In = (e, t) => {
3563
3563
  for (var r in t || (t = {}))
3564
- Pn.call(t, r) && Ht(e, r, t[r]);
3565
- if (At)
3566
- for (var r of At(t))
3567
- Bn.call(t, r) && Ht(e, r, t[r]);
3564
+ On.call(t, r) && Bt(e, r, t[r]);
3565
+ if (Pt)
3566
+ for (var r of Pt(t))
3567
+ Cn.call(t, r) && Bt(e, r, t[r]);
3568
3568
  return e;
3569
- }, Cn = (e, t) => An(e, Hn(t));
3570
- let it;
3571
- const Se = Ae(null);
3572
- function Pt(e) {
3569
+ }, Nn = (e, t) => Pn(e, Bn(t));
3570
+ let ot;
3571
+ const Ae = Pe(null);
3572
+ function Ot(e) {
3573
3573
  return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
3574
3574
  }
3575
- function Be(e, t = ee().fallbackLocale) {
3576
- const r = Pt(e);
3577
- return t ? [.../* @__PURE__ */ new Set([...r, ...Pt(t)])] : r;
3575
+ function Ce(e, t = te().fallbackLocale) {
3576
+ const r = Ot(e);
3577
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ot(t)])] : r;
3578
3578
  }
3579
3579
  function z() {
3580
- return it ?? void 0;
3580
+ return ot ?? void 0;
3581
3581
  }
3582
- Se.subscribe((e) => {
3583
- it = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3582
+ Ae.subscribe((e) => {
3583
+ ot = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3584
3584
  });
3585
- const In = (e) => {
3586
- if (e && vn(e) && rt(e)) {
3587
- const { loadingDelay: t } = ee();
3585
+ const Mn = (e) => {
3586
+ if (e && En(e) && nt(e)) {
3587
+ const { loadingDelay: t } = te();
3588
3588
  let r;
3589
3589
  return typeof window < "u" && z() != null && t ? r = window.setTimeout(
3590
- () => ke.set(!0),
3590
+ () => We.set(!0),
3591
3591
  t
3592
- ) : ke.set(!0), fr(e).then(() => {
3593
- Se.set(e);
3592
+ ) : We.set(!0), pr(e).then(() => {
3593
+ Ae.set(e);
3594
3594
  }).finally(() => {
3595
- clearTimeout(r), ke.set(!1);
3595
+ clearTimeout(r), We.set(!1);
3596
3596
  });
3597
3597
  }
3598
- return Se.set(e);
3599
- }, re = Cn(On({}, Se), {
3600
- set: In
3601
- }), Oe = (e) => {
3598
+ return Ae.set(e);
3599
+ }, ie = Nn(In({}, Ae), {
3600
+ set: Mn
3601
+ }), Ie = (e) => {
3602
3602
  const t = /* @__PURE__ */ Object.create(null);
3603
3603
  return (i) => {
3604
3604
  const n = JSON.stringify(i);
3605
3605
  return n in t ? t[n] : t[n] = e(i);
3606
3606
  };
3607
3607
  };
3608
- var Nn = Object.defineProperty, Le = Object.getOwnPropertySymbols, mr = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Nn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
3608
+ var Rn = Object.defineProperty, He = Object.getOwnPropertySymbols, dr = Object.prototype.hasOwnProperty, yr = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Rn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pt = (e, t) => {
3609
3609
  for (var r in t || (t = {}))
3610
- mr.call(t, r) && Bt(e, r, t[r]);
3611
- if (Le)
3612
- for (var r of Le(t))
3613
- pr.call(t, r) && Bt(e, r, t[r]);
3610
+ dr.call(t, r) && Ct(e, r, t[r]);
3611
+ if (He)
3612
+ for (var r of He(t))
3613
+ yr.call(t, r) && Ct(e, r, t[r]);
3614
3614
  return e;
3615
- }, ie = (e, t) => {
3615
+ }, ne = (e, t) => {
3616
3616
  var r = {};
3617
3617
  for (var i in e)
3618
- mr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3619
- if (e != null && Le)
3620
- for (var i of Le(e))
3621
- t.indexOf(i) < 0 && pr.call(e, i) && (r[i] = e[i]);
3618
+ dr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3619
+ if (e != null && He)
3620
+ for (var i of He(e))
3621
+ t.indexOf(i) < 0 && yr.call(e, i) && (r[i] = e[i]);
3622
3622
  return r;
3623
3623
  };
3624
- const le = (e, t) => {
3625
- const { formats: r } = ee();
3624
+ const he = (e, t) => {
3625
+ const { formats: r } = te();
3626
3626
  if (e in r && t in r[e])
3627
3627
  return r[e][t];
3628
3628
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3629
- }, Mn = Oe(
3629
+ }, Dn = Ie(
3630
3630
  (e) => {
3631
- var t = e, { locale: r, format: i } = t, n = ie(t, ["locale", "format"]);
3631
+ var t = e, { locale: r, format: i } = t, n = ne(t, ["locale", "format"]);
3632
3632
  if (r == null)
3633
3633
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3634
- return i && (n = le("number", i)), new Intl.NumberFormat(r, n);
3634
+ return i && (n = he("number", i)), new Intl.NumberFormat(r, n);
3635
3635
  }
3636
- ), Rn = Oe(
3636
+ ), $n = Ie(
3637
3637
  (e) => {
3638
- var t = e, { locale: r, format: i } = t, n = ie(t, ["locale", "format"]);
3638
+ var t = e, { locale: r, format: i } = t, n = ne(t, ["locale", "format"]);
3639
3639
  if (r == null)
3640
3640
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3641
- return i ? n = le("date", i) : Object.keys(n).length === 0 && (n = le("date", "short")), new Intl.DateTimeFormat(r, n);
3641
+ return i ? n = he("date", i) : Object.keys(n).length === 0 && (n = he("date", "short")), new Intl.DateTimeFormat(r, n);
3642
3642
  }
3643
- ), Dn = Oe(
3643
+ ), Un = Ie(
3644
3644
  (e) => {
3645
- var t = e, { locale: r, format: i } = t, n = ie(t, ["locale", "format"]);
3645
+ var t = e, { locale: r, format: i } = t, n = ne(t, ["locale", "format"]);
3646
3646
  if (r == null)
3647
3647
  throw new Error(
3648
3648
  '[svelte-i18n] A "locale" must be set to format time values'
3649
3649
  );
3650
- return i ? n = le("time", i) : Object.keys(n).length === 0 && (n = le("time", "short")), new Intl.DateTimeFormat(r, n);
3650
+ return i ? n = he("time", i) : Object.keys(n).length === 0 && (n = he("time", "short")), new Intl.DateTimeFormat(r, n);
3651
3651
  }
3652
- ), $n = (e = {}) => {
3652
+ ), Gn = (e = {}) => {
3653
3653
  var t = e, {
3654
3654
  locale: r = z()
3655
- } = t, i = ie(t, [
3655
+ } = t, i = ne(t, [
3656
3656
  "locale"
3657
3657
  ]);
3658
- return Mn(ft({ locale: r }, i));
3659
- }, Un = (e = {}) => {
3658
+ return Dn(pt({ locale: r }, i));
3659
+ }, Fn = (e = {}) => {
3660
3660
  var t = e, {
3661
3661
  locale: r = z()
3662
- } = t, i = ie(t, [
3662
+ } = t, i = ne(t, [
3663
3663
  "locale"
3664
3664
  ]);
3665
- return Rn(ft({ locale: r }, i));
3666
- }, Gn = (e = {}) => {
3665
+ return $n(pt({ locale: r }, i));
3666
+ }, jn = (e = {}) => {
3667
3667
  var t = e, {
3668
3668
  locale: r = z()
3669
- } = t, i = ie(t, [
3669
+ } = t, i = ne(t, [
3670
3670
  "locale"
3671
3671
  ]);
3672
- return Dn(ft({ locale: r }, i));
3673
- }, Fn = Oe(
3672
+ return Un(pt({ locale: r }, i));
3673
+ }, kn = Ie(
3674
3674
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3675
- (e, t = z()) => new pn(e, t, ee().formats, {
3676
- ignoreTag: ee().ignoreTag
3675
+ (e, t = z()) => new yn(e, t, te().formats, {
3676
+ ignoreTag: te().ignoreTag
3677
3677
  })
3678
- ), jn = (e, t = {}) => {
3678
+ ), Vn = (e, t = {}) => {
3679
3679
  var r, i, n, o;
3680
3680
  let a = t;
3681
3681
  typeof e == "object" && (a = e, e = a.id);
@@ -3688,9 +3688,9 @@ const le = (e, t) => {
3688
3688
  throw new Error(
3689
3689
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3690
3690
  );
3691
- let l = ur(e, h);
3691
+ let l = hr(e, h);
3692
3692
  if (!l)
3693
- l = (o = (n = (i = (r = ee()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: h, id: e, defaultValue: u })) != null ? n : u) != null ? o : e;
3693
+ l = (o = (n = (i = (r = te()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: h, id: e, defaultValue: u })) != null ? n : u) != null ? o : e;
3694
3694
  else if (typeof l != "string")
3695
3695
  return console.warn(
3696
3696
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3699,7 +3699,7 @@ const le = (e, t) => {
3699
3699
  return l;
3700
3700
  let c = l;
3701
3701
  try {
3702
- c = Fn(l, h).format(s);
3702
+ c = kn(l, h).format(s);
3703
3703
  } catch (f) {
3704
3704
  f instanceof Error && console.warn(
3705
3705
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3707,18 +3707,18 @@ const le = (e, t) => {
3707
3707
  );
3708
3708
  }
3709
3709
  return c;
3710
- }, kn = (e, t) => Gn(t).format(e), Vn = (e, t) => Un(t).format(e), Wn = (e, t) => $n(t).format(e), zn = (e, t = z()) => ur(e, t), Xn = te([re, ce], () => jn);
3711
- te([re], () => kn);
3712
- te([re], () => Vn);
3713
- te([re], () => Wn);
3714
- te([re, ce], () => zn);
3715
- function Ot(e, t) {
3716
- hr(e, t);
3717
- }
3718
- function Zn(e) {
3719
- re.set(e);
3720
- }
3721
- const Ve = {
3710
+ }, Wn = (e, t) => jn(t).format(e), zn = (e, t) => Fn(t).format(e), Xn = (e, t) => Gn(t).format(e), Zn = (e, t = z()) => hr(e, t), Qn = re([ie, fe], () => Vn);
3711
+ re([ie], () => Wn);
3712
+ re([ie], () => zn);
3713
+ re([ie], () => Xn);
3714
+ re([ie, fe], () => Zn);
3715
+ function It(e, t) {
3716
+ fr(e, t);
3717
+ }
3718
+ function Yn(e) {
3719
+ ie.set(e);
3720
+ }
3721
+ const ze = {
3722
3722
  en: {
3723
3723
  expandLimits: "Limit history",
3724
3724
  daily: "per day",
@@ -3963,24 +3963,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
3963
3963
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
3964
3964
  PERFORMANCE OF THIS SOFTWARE.
3965
3965
  ***************************************************************************** */
3966
- var nt = function(e, t) {
3967
- return nt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
3966
+ var st = function(e, t) {
3967
+ return st = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
3968
3968
  r.__proto__ = i;
3969
3969
  } || function(r, i) {
3970
3970
  for (var n in i)
3971
3971
  Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
3972
- }, nt(e, t);
3972
+ }, st(e, t);
3973
3973
  };
3974
- function fe(e, t) {
3974
+ function me(e, t) {
3975
3975
  if (typeof t != "function" && t !== null)
3976
3976
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
3977
- nt(e, t);
3977
+ st(e, t);
3978
3978
  function r() {
3979
3979
  this.constructor = e;
3980
3980
  }
3981
3981
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
3982
3982
  }
3983
- function ot(e) {
3983
+ function at(e) {
3984
3984
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
3985
3985
  if (r)
3986
3986
  return r.call(e);
@@ -3992,7 +3992,7 @@ function ot(e) {
3992
3992
  };
3993
3993
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
3994
3994
  }
3995
- function st(e, t) {
3995
+ function ut(e, t) {
3996
3996
  var r = typeof Symbol == "function" && e[Symbol.iterator];
3997
3997
  if (!r)
3998
3998
  return e;
@@ -4012,22 +4012,22 @@ function st(e, t) {
4012
4012
  }
4013
4013
  return o;
4014
4014
  }
4015
- function at(e, t, r) {
4015
+ function lt(e, t, r) {
4016
4016
  if (arguments.length === 2)
4017
4017
  for (var i = 0, n = t.length, o; i < n; i++)
4018
4018
  (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
4019
4019
  return e.concat(o || t);
4020
4020
  }
4021
- function G(e) {
4021
+ function U(e) {
4022
4022
  return typeof e == "function";
4023
4023
  }
4024
- function dr(e) {
4024
+ function br(e) {
4025
4025
  var t = function(i) {
4026
4026
  Error.call(i), i.stack = new Error().stack;
4027
4027
  }, r = e(t);
4028
4028
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
4029
4029
  }
4030
- var We = dr(function(e) {
4030
+ var Xe = br(function(e) {
4031
4031
  return function(r) {
4032
4032
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
4033
4033
  ` + r.map(function(i, n) {
@@ -4036,13 +4036,13 @@ var We = dr(function(e) {
4036
4036
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
4037
4037
  };
4038
4038
  });
4039
- function ut(e, t) {
4039
+ function ht(e, t) {
4040
4040
  if (e) {
4041
4041
  var r = e.indexOf(t);
4042
4042
  0 <= r && e.splice(r, 1);
4043
4043
  }
4044
4044
  }
4045
- var Ce = function() {
4045
+ var Ne = function() {
4046
4046
  function e(t) {
4047
4047
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
4048
4048
  }
@@ -4054,7 +4054,7 @@ var Ce = function() {
4054
4054
  if (a)
4055
4055
  if (this._parentage = null, Array.isArray(a))
4056
4056
  try {
4057
- for (var s = ot(a), h = s.next(); !h.done; h = s.next()) {
4057
+ for (var s = at(a), h = s.next(); !h.done; h = s.next()) {
4058
4058
  var u = h.value;
4059
4059
  u.remove(this);
4060
4060
  }
@@ -4071,22 +4071,22 @@ var Ce = function() {
4071
4071
  else
4072
4072
  a.remove(this);
4073
4073
  var l = this.initialTeardown;
4074
- if (G(l))
4074
+ if (U(l))
4075
4075
  try {
4076
4076
  l();
4077
4077
  } catch (d) {
4078
- o = d instanceof We ? d.errors : [d];
4078
+ o = d instanceof Xe ? d.errors : [d];
4079
4079
  }
4080
4080
  var c = this._finalizers;
4081
4081
  if (c) {
4082
4082
  this._finalizers = null;
4083
4083
  try {
4084
- for (var f = ot(c), p = f.next(); !p.done; p = f.next()) {
4084
+ for (var f = at(c), p = f.next(); !p.done; p = f.next()) {
4085
4085
  var y = p.value;
4086
4086
  try {
4087
- Ct(y);
4087
+ Nt(y);
4088
4088
  } catch (d) {
4089
- o = o ?? [], d instanceof We ? o = at(at([], st(o)), st(d.errors)) : o.push(d);
4089
+ o = o ?? [], d instanceof Xe ? o = lt(lt([], ut(o)), ut(d.errors)) : o.push(d);
4090
4090
  }
4091
4091
  }
4092
4092
  } catch (d) {
@@ -4101,13 +4101,13 @@ var Ce = function() {
4101
4101
  }
4102
4102
  }
4103
4103
  if (o)
4104
- throw new We(o);
4104
+ throw new Xe(o);
4105
4105
  }
4106
4106
  }, e.prototype.add = function(t) {
4107
4107
  var r;
4108
4108
  if (t && t !== this)
4109
4109
  if (this.closed)
4110
- Ct(t);
4110
+ Nt(t);
4111
4111
  else {
4112
4112
  if (t instanceof e) {
4113
4113
  if (t.closed || t._hasParent(this))
@@ -4124,52 +4124,52 @@ var Ce = function() {
4124
4124
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
4125
4125
  }, e.prototype._removeParent = function(t) {
4126
4126
  var r = this._parentage;
4127
- r === t ? this._parentage = null : Array.isArray(r) && ut(r, t);
4127
+ r === t ? this._parentage = null : Array.isArray(r) && ht(r, t);
4128
4128
  }, e.prototype.remove = function(t) {
4129
4129
  var r = this._finalizers;
4130
- r && ut(r, t), t instanceof e && t._removeParent(this);
4130
+ r && ht(r, t), t instanceof e && t._removeParent(this);
4131
4131
  }, e.EMPTY = function() {
4132
4132
  var t = new e();
4133
4133
  return t.closed = !0, t;
4134
4134
  }(), e;
4135
- }(), yr = Ce.EMPTY;
4136
- function gr(e) {
4137
- return e instanceof Ce || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
4135
+ }(), gr = Ne.EMPTY;
4136
+ function vr(e) {
4137
+ return e instanceof Ne || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
4138
4138
  }
4139
- function Ct(e) {
4140
- G(e) ? e() : e.unsubscribe();
4139
+ function Nt(e) {
4140
+ U(e) ? e() : e.unsubscribe();
4141
4141
  }
4142
- var Qn = {
4142
+ var Jn = {
4143
4143
  Promise: void 0
4144
- }, Yn = {
4144
+ }, qn = {
4145
4145
  setTimeout: function(e, t) {
4146
4146
  for (var r = [], i = 2; i < arguments.length; i++)
4147
4147
  r[i - 2] = arguments[i];
4148
- return setTimeout.apply(void 0, at([e, t], st(r)));
4148
+ return setTimeout.apply(void 0, lt([e, t], ut(r)));
4149
4149
  },
4150
4150
  clearTimeout: function(e) {
4151
4151
  return clearTimeout(e);
4152
4152
  },
4153
4153
  delegate: void 0
4154
4154
  };
4155
- function Jn(e) {
4156
- Yn.setTimeout(function() {
4155
+ function Kn(e) {
4156
+ qn.setTimeout(function() {
4157
4157
  throw e;
4158
4158
  });
4159
4159
  }
4160
- function It() {
4160
+ function Mt() {
4161
4161
  }
4162
- function xe(e) {
4162
+ function Se(e) {
4163
4163
  e();
4164
4164
  }
4165
- var br = function(e) {
4166
- fe(t, e);
4165
+ var _r = function(e) {
4166
+ me(t, e);
4167
4167
  function t(r) {
4168
4168
  var i = e.call(this) || this;
4169
- return i.isStopped = !1, r ? (i.destination = r, gr(r) && r.add(i)) : i.destination = eo, i;
4169
+ return i.isStopped = !1, r ? (i.destination = r, vr(r) && r.add(i)) : i.destination = ro, i;
4170
4170
  }
4171
4171
  return t.create = function(r, i, n) {
4172
- return new lt(r, i, n);
4172
+ return new ct(r, i, n);
4173
4173
  }, t.prototype.next = function(r) {
4174
4174
  this.isStopped || this._next(r);
4175
4175
  }, t.prototype.error = function(r) {
@@ -4193,7 +4193,7 @@ var br = function(e) {
4193
4193
  this.unsubscribe();
4194
4194
  }
4195
4195
  }, t;
4196
- }(Ce), qn = function() {
4196
+ }(Ne), eo = function() {
4197
4197
  function e(t) {
4198
4198
  this.partialObserver = t;
4199
4199
  }
@@ -4203,7 +4203,7 @@ var br = function(e) {
4203
4203
  try {
4204
4204
  r.next(t);
4205
4205
  } catch (i) {
4206
- be(i);
4206
+ _e(i);
4207
4207
  }
4208
4208
  }, e.prototype.error = function(t) {
4209
4209
  var r = this.partialObserver;
@@ -4211,56 +4211,56 @@ var br = function(e) {
4211
4211
  try {
4212
4212
  r.error(t);
4213
4213
  } catch (i) {
4214
- be(i);
4214
+ _e(i);
4215
4215
  }
4216
4216
  else
4217
- be(t);
4217
+ _e(t);
4218
4218
  }, e.prototype.complete = function() {
4219
4219
  var t = this.partialObserver;
4220
4220
  if (t.complete)
4221
4221
  try {
4222
4222
  t.complete();
4223
4223
  } catch (r) {
4224
- be(r);
4224
+ _e(r);
4225
4225
  }
4226
4226
  }, e;
4227
- }(), lt = function(e) {
4228
- fe(t, e);
4227
+ }(), ct = function(e) {
4228
+ me(t, e);
4229
4229
  function t(r, i, n) {
4230
4230
  var o = e.call(this) || this, a;
4231
- return G(r) || !r ? a = {
4231
+ return U(r) || !r ? a = {
4232
4232
  next: r ?? void 0,
4233
4233
  error: i ?? void 0,
4234
4234
  complete: n ?? void 0
4235
- } : a = r, o.destination = new qn(a), o;
4235
+ } : a = r, o.destination = new eo(a), o;
4236
4236
  }
4237
4237
  return t;
4238
- }(br);
4239
- function be(e) {
4240
- Jn(e);
4238
+ }(_r);
4239
+ function _e(e) {
4240
+ Kn(e);
4241
4241
  }
4242
- function Kn(e) {
4242
+ function to(e) {
4243
4243
  throw e;
4244
4244
  }
4245
- var eo = {
4245
+ var ro = {
4246
4246
  closed: !0,
4247
- next: It,
4248
- error: Kn,
4249
- complete: It
4250
- }, to = function() {
4247
+ next: Mt,
4248
+ error: to,
4249
+ complete: Mt
4250
+ }, io = function() {
4251
4251
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4252
4252
  }();
4253
- function ro(e) {
4253
+ function no(e) {
4254
4254
  return e;
4255
4255
  }
4256
- function io(e) {
4257
- return e.length === 0 ? ro : e.length === 1 ? e[0] : function(r) {
4256
+ function oo(e) {
4257
+ return e.length === 0 ? no : e.length === 1 ? e[0] : function(r) {
4258
4258
  return e.reduce(function(i, n) {
4259
4259
  return n(i);
4260
4260
  }, r);
4261
4261
  };
4262
4262
  }
4263
- var Nt = function() {
4263
+ var Rt = function() {
4264
4264
  function e(t) {
4265
4265
  t && (this._subscribe = t);
4266
4266
  }
@@ -4268,8 +4268,8 @@ var Nt = function() {
4268
4268
  var r = new e();
4269
4269
  return r.source = this, r.operator = t, r;
4270
4270
  }, e.prototype.subscribe = function(t, r, i) {
4271
- var n = this, o = oo(t) ? t : new lt(t, r, i);
4272
- return xe(function() {
4271
+ var n = this, o = ao(t) ? t : new ct(t, r, i);
4272
+ return Se(function() {
4273
4273
  var a = n, s = a.operator, h = a.source;
4274
4274
  o.add(s ? s.call(o, h) : h ? n._subscribe(o) : n._trySubscribe(o));
4275
4275
  }), o;
@@ -4281,8 +4281,8 @@ var Nt = function() {
4281
4281
  }
4282
4282
  }, e.prototype.forEach = function(t, r) {
4283
4283
  var i = this;
4284
- return r = Mt(r), new r(function(n, o) {
4285
- var a = new lt({
4284
+ return r = Dt(r), new r(function(n, o) {
4285
+ var a = new ct({
4286
4286
  next: function(s) {
4287
4287
  try {
4288
4288
  t(s);
@@ -4298,15 +4298,15 @@ var Nt = function() {
4298
4298
  }, e.prototype._subscribe = function(t) {
4299
4299
  var r;
4300
4300
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
4301
- }, e.prototype[to] = function() {
4301
+ }, e.prototype[io] = function() {
4302
4302
  return this;
4303
4303
  }, e.prototype.pipe = function() {
4304
4304
  for (var t = [], r = 0; r < arguments.length; r++)
4305
4305
  t[r] = arguments[r];
4306
- return io(t)(this);
4306
+ return oo(t)(this);
4307
4307
  }, e.prototype.toPromise = function(t) {
4308
4308
  var r = this;
4309
- return t = Mt(t), new t(function(i, n) {
4309
+ return t = Dt(t), new t(function(i, n) {
4310
4310
  var o;
4311
4311
  r.subscribe(function(a) {
4312
4312
  return o = a;
@@ -4320,40 +4320,40 @@ var Nt = function() {
4320
4320
  return new e(t);
4321
4321
  }, e;
4322
4322
  }();
4323
- function Mt(e) {
4323
+ function Dt(e) {
4324
4324
  var t;
4325
- return (t = e ?? Qn.Promise) !== null && t !== void 0 ? t : Promise;
4325
+ return (t = e ?? Jn.Promise) !== null && t !== void 0 ? t : Promise;
4326
4326
  }
4327
- function no(e) {
4328
- return e && G(e.next) && G(e.error) && G(e.complete);
4327
+ function so(e) {
4328
+ return e && U(e.next) && U(e.error) && U(e.complete);
4329
4329
  }
4330
- function oo(e) {
4331
- return e && e instanceof br || no(e) && gr(e);
4330
+ function ao(e) {
4331
+ return e && e instanceof _r || so(e) && vr(e);
4332
4332
  }
4333
- var so = dr(function(e) {
4333
+ var uo = br(function(e) {
4334
4334
  return function() {
4335
4335
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4336
4336
  };
4337
- }), vr = function(e) {
4338
- fe(t, e);
4337
+ }), Er = function(e) {
4338
+ me(t, e);
4339
4339
  function t() {
4340
4340
  var r = e.call(this) || this;
4341
4341
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
4342
4342
  }
4343
4343
  return t.prototype.lift = function(r) {
4344
- var i = new Rt(this, this);
4344
+ var i = new $t(this, this);
4345
4345
  return i.operator = r, i;
4346
4346
  }, t.prototype._throwIfClosed = function() {
4347
4347
  if (this.closed)
4348
- throw new so();
4348
+ throw new uo();
4349
4349
  }, t.prototype.next = function(r) {
4350
4350
  var i = this;
4351
- xe(function() {
4351
+ Se(function() {
4352
4352
  var n, o;
4353
4353
  if (i._throwIfClosed(), !i.isStopped) {
4354
4354
  i.currentObservers || (i.currentObservers = Array.from(i.observers));
4355
4355
  try {
4356
- for (var a = ot(i.currentObservers), s = a.next(); !s.done; s = a.next()) {
4356
+ for (var a = at(i.currentObservers), s = a.next(); !s.done; s = a.next()) {
4357
4357
  var h = s.value;
4358
4358
  h.next(r);
4359
4359
  }
@@ -4371,7 +4371,7 @@ var so = dr(function(e) {
4371
4371
  });
4372
4372
  }, t.prototype.error = function(r) {
4373
4373
  var i = this;
4374
- xe(function() {
4374
+ Se(function() {
4375
4375
  if (i._throwIfClosed(), !i.isStopped) {
4376
4376
  i.hasError = i.isStopped = !0, i.thrownError = r;
4377
4377
  for (var n = i.observers; n.length; )
@@ -4380,7 +4380,7 @@ var so = dr(function(e) {
4380
4380
  });
4381
4381
  }, t.prototype.complete = function() {
4382
4382
  var r = this;
4383
- xe(function() {
4383
+ Se(function() {
4384
4384
  if (r._throwIfClosed(), !r.isStopped) {
4385
4385
  r.isStopped = !0;
4386
4386
  for (var i = r.observers; i.length; )
@@ -4402,20 +4402,20 @@ var so = dr(function(e) {
4402
4402
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4403
4403
  }, t.prototype._innerSubscribe = function(r) {
4404
4404
  var i = this, n = this, o = n.hasError, a = n.isStopped, s = n.observers;
4405
- return o || a ? yr : (this.currentObservers = null, s.push(r), new Ce(function() {
4406
- i.currentObservers = null, ut(s, r);
4405
+ return o || a ? gr : (this.currentObservers = null, s.push(r), new Ne(function() {
4406
+ i.currentObservers = null, ht(s, r);
4407
4407
  }));
4408
4408
  }, t.prototype._checkFinalizedStatuses = function(r) {
4409
4409
  var i = this, n = i.hasError, o = i.thrownError, a = i.isStopped;
4410
4410
  n ? r.error(o) : a && r.complete();
4411
4411
  }, t.prototype.asObservable = function() {
4412
- var r = new Nt();
4412
+ var r = new Rt();
4413
4413
  return r.source = this, r;
4414
4414
  }, t.create = function(r, i) {
4415
- return new Rt(r, i);
4415
+ return new $t(r, i);
4416
4416
  }, t;
4417
- }(Nt), Rt = function(e) {
4418
- fe(t, e);
4417
+ }(Rt), $t = function(e) {
4418
+ me(t, e);
4419
4419
  function t(r, i) {
4420
4420
  var n = e.call(this) || this;
4421
4421
  return n.destination = r, n.source = i, n;
@@ -4431,17 +4431,17 @@ var so = dr(function(e) {
4431
4431
  (i = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || i === void 0 || i.call(r);
4432
4432
  }, t.prototype._subscribe = function(r) {
4433
4433
  var i, n;
4434
- return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : yr;
4434
+ return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : gr;
4435
4435
  }, t;
4436
- }(vr), _r = {
4436
+ }(Er), xr = {
4437
4437
  now: function() {
4438
- return (_r.delegate || Date).now();
4438
+ return (xr.delegate || Date).now();
4439
4439
  },
4440
4440
  delegate: void 0
4441
- }, ao = function(e) {
4442
- fe(t, e);
4441
+ }, lo = function(e) {
4442
+ me(t, e);
4443
4443
  function t(r, i, n) {
4444
- r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = _r);
4444
+ r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = xr);
4445
4445
  var o = e.call(this) || this;
4446
4446
  return o._bufferSize = r, o._windowTime = i, o._timestampProvider = n, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = i === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, i), o;
4447
4447
  }
@@ -4461,24 +4461,25 @@ var so = dr(function(e) {
4461
4461
  u && o.splice(0, u + 1);
4462
4462
  }
4463
4463
  }, t;
4464
- }(vr);
4465
- const Dt = [], $t = {}, uo = (e, t = 0) => {
4466
- if (Dt.indexOf(e) == -1) {
4467
- const r = new ao(t);
4468
- $t[e] = r, Dt.push(e);
4464
+ }(Er);
4465
+ const Ut = [], Gt = {}, ho = (e, t = 0) => {
4466
+ if (Ut.indexOf(e) == -1) {
4467
+ const r = new lo(t);
4468
+ Gt[e] = r, Ut.push(e);
4469
4469
  }
4470
- return $t[e];
4470
+ return Gt[e];
4471
4471
  };
4472
- window.emWidgets = { topic: uo };
4473
- const lo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4472
+ window.emWidgets = { topic: ho };
4473
+ const co = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4474
4474
  String(Number.MAX_SAFE_INTEGER).length;
4475
- function ho(e, t) {
4475
+ const Y = "__WIDGET_GLOBAL_STYLE_CACHE__";
4476
+ function fo(e, t) {
4476
4477
  if (e) {
4477
4478
  const r = document.createElement("style");
4478
4479
  r.innerHTML = t, e.appendChild(r);
4479
4480
  }
4480
4481
  }
4481
- function co(e, t) {
4482
+ function mo(e, t) {
4482
4483
  if (!e || !t)
4483
4484
  return;
4484
4485
  const r = new URL(t);
@@ -4489,88 +4490,115 @@ function co(e, t) {
4489
4490
  console.error("There was an error while trying to load client styling from URL", i);
4490
4491
  });
4491
4492
  }
4492
- function fo(e, t, r) {
4493
- if (window.emMessageBus) {
4494
- const i = document.createElement("style");
4495
- window.emMessageBus.subscribe(t, (n) => {
4496
- i.innerHTML = n, e && e.appendChild(i);
4493
+ function po(e, t, r, i = !1) {
4494
+ if (!window.emMessageBus)
4495
+ return;
4496
+ if (!("adoptedStyleSheets" in Document.prototype) || !i)
4497
+ return r = yo(e, t), r;
4498
+ window[Y] || (window[Y] = {}), r = bo(e, t);
4499
+ const o = r.unsubscribe.bind(r), a = () => {
4500
+ if (window[Y][t]) {
4501
+ const s = window[Y][t];
4502
+ s.refCount > 1 ? s.refCount = s.refCount - 1 : delete window[Y][t];
4503
+ }
4504
+ o();
4505
+ };
4506
+ return r.unsubscribe = a, r;
4507
+ }
4508
+ function yo(e, t) {
4509
+ const r = document.createElement("style");
4510
+ return window.emMessageBus.subscribe(t, (i) => {
4511
+ e && (r.innerHTML = i, e.appendChild(r));
4512
+ });
4513
+ }
4514
+ function bo(e, t) {
4515
+ return window.emMessageBus.subscribe(t, (r) => {
4516
+ if (!e)
4517
+ return;
4518
+ const i = e.getRootNode(), n = window[Y];
4519
+ let o = n[t]?.sheet;
4520
+ o ? n[t].refCount = n[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), n[t] = {
4521
+ sheet: o,
4522
+ refCount: 1
4497
4523
  });
4498
- }
4524
+ const a = i.adoptedStyleSheets || [];
4525
+ a.includes(o) || (i.adoptedStyleSheets = [...a, o]);
4526
+ });
4499
4527
  }
4500
- function mo(e) {
4501
- Rr(e, "svelte-1wi0iai", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-1wi0iai.svelte-1wi0iai,.svelte-1wi0iai.svelte-1wi0iai::before,.svelte-1wi0iai.svelte-1wi0iai::after{color:var(--emw--color-typography-contrast, #444444);margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-1wi0iai.svelte-1wi0iai{color:var(--emw--color-white, #FFFFFF)}button.svelte-1wi0iai.svelte-1wi0iai{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-1wi0iai.svelte-1wi0iai{display:flex;align-items:center;margin-right:-14px;background:transparent;border:none;color:var(--emw--color-primary, #22B04E);font-size:var(--emw--font-size-large, 20px);text-transform:capitalize;font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.Mobile.svelte-1wi0iai.svelte-1wi0iai{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.svelte-1wi0iai svg.svelte-1wi0iai{width:40px;height:auto;margin-left:-4px}.extended.svelte-1wi0iai.svelte-1wi0iai{transform:rotate(180deg)}.HistoryWrapper.svelte-1wi0iai.svelte-1wi0iai{display:flex;flex-direction:column;width:320px;padding:0 12px;margin:12px auto}.HistoryWrapper.svelte-1wi0iai .HistoryDisplayArea.svelte-1wi0iai{width:inherit;background-color:var(--emw--color-typpgraphy, #FFFFFF);border-radius:var(--emw--border-radius-large, 10px);box-shadow:0px 3px 19px 0px rgba(0, 0, 0, 0.3);padding:30px 20px}.HistoryWrapper.svelte-1wi0iai .HistoryDisplayArea .LimitType.svelte-1wi0iai{font-size:var(--emw--font-size-medium, 16px);color:color-mix(in srgb, var(--emw--color-secondary, #E1A749) 80%, black 10%)}.HistoryWrapper.svelte-1wi0iai .HistoryDisplayArea.Mobile.svelte-1wi0iai{width:auto;font-size:var(--emw--font-size-x-small, 12px);padding:15px}.hidden.svelte-1wi0iai.svelte-1wi0iai{display:none}.HistoryRow.svelte-1wi0iai.svelte-1wi0iai{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-1wi0iai.svelte-1wi0iai{display:flex;flex-direction:column;gap:4px;color:var(--emw--color-grey-150, #C0CBC3)}.LimitAmountPeriod.svelte-1wi0iai.svelte-1wi0iai{color:var(--emw--color-grey-150, #C0CBC3)}.LimitContainer.svelte-1wi0iai.svelte-1wi0iai{animation:svelte-1wi0iai-animateEntry 0.7s ease-in}@keyframes svelte-1wi0iai-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
4528
+ function go(e) {
4529
+ $r(e, "svelte-1wi0iai", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-1wi0iai.svelte-1wi0iai,.svelte-1wi0iai.svelte-1wi0iai::before,.svelte-1wi0iai.svelte-1wi0iai::after{color:var(--emw--color-typography-contrast, #444444);margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-1wi0iai.svelte-1wi0iai{color:var(--emw--color-white, #FFFFFF)}button.svelte-1wi0iai.svelte-1wi0iai{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-1wi0iai.svelte-1wi0iai{display:flex;align-items:center;margin-right:-14px;background:transparent;border:none;color:var(--emw--color-primary, #22B04E);font-size:var(--emw--font-size-large, 20px);text-transform:capitalize;font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.Mobile.svelte-1wi0iai.svelte-1wi0iai{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.svelte-1wi0iai svg.svelte-1wi0iai{width:40px;height:auto;margin-left:-4px}.extended.svelte-1wi0iai.svelte-1wi0iai{transform:rotate(180deg)}.HistoryWrapper.svelte-1wi0iai.svelte-1wi0iai{display:flex;flex-direction:column;width:320px;padding:0 12px;margin:12px auto}.HistoryWrapper.svelte-1wi0iai .HistoryDisplayArea.svelte-1wi0iai{width:inherit;background-color:var(--emw--color-typpgraphy, #FFFFFF);border-radius:var(--emw--border-radius-large, 10px);box-shadow:0px 3px 19px 0px rgba(0, 0, 0, 0.3);padding:30px 20px}.HistoryWrapper.svelte-1wi0iai .HistoryDisplayArea .LimitType.svelte-1wi0iai{font-size:var(--emw--font-size-medium, 16px);color:color-mix(in srgb, var(--emw--color-secondary, #E1A749) 80%, black 10%)}.HistoryWrapper.svelte-1wi0iai .HistoryDisplayArea.Mobile.svelte-1wi0iai{width:auto;font-size:var(--emw--font-size-x-small, 12px);padding:15px}.hidden.svelte-1wi0iai.svelte-1wi0iai{display:none}.HistoryRow.svelte-1wi0iai.svelte-1wi0iai{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-1wi0iai.svelte-1wi0iai{display:flex;flex-direction:column;gap:4px;color:var(--emw--color-grey-150, #C0CBC3)}.LimitAmountPeriod.svelte-1wi0iai.svelte-1wi0iai{color:var(--emw--color-grey-150, #C0CBC3)}.LimitContainer.svelte-1wi0iai.svelte-1wi0iai{animation:svelte-1wi0iai-animateEntry 0.7s ease-in}@keyframes svelte-1wi0iai-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
4502
4530
  }
4503
- function Ut(e, t, r) {
4531
+ function Ft(e, t, r) {
4504
4532
  const i = e.slice();
4505
4533
  return i[37] = t[r], i[38] = t, i[39] = r, i;
4506
4534
  }
4507
- function po(e) {
4535
+ function vo(e) {
4508
4536
  let t, r, i, n = (
4509
4537
  /*$_*/
4510
4538
  e[9]("expandLimits") + ""
4511
- ), o, a, s, h, u, l, c, f, p, y = gt(
4539
+ ), o, a, s, h, u, l, c, f, p, y = vt(
4512
4540
  /*lazyShowedHistoryArray*/
4513
4541
  e[7]
4514
4542
  ), d = [];
4515
4543
  for (let v = 0; v < y.length; v += 1)
4516
- d[v] = Gt(Ut(e, y, v));
4544
+ d[v] = jt(Ft(e, y, v));
4517
4545
  return {
4518
4546
  c() {
4519
- t = H("div"), r = H("div"), i = H("button"), o = U(n), a = ze(), s = Re("svg"), h = Re("path"), u = Re("path"), l = ze(), c = H("div");
4547
+ t = A("div"), r = A("div"), i = A("button"), o = $(n), a = Ze(), s = $e("svg"), h = $e("path"), u = $e("path"), l = Ze(), c = A("div");
4520
4548
  for (let v = 0; v < d.length; v += 1)
4521
4549
  d[v].c();
4522
4550
  E(h, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), E(h, "class", "svelte-1wi0iai"), E(u, "d", "M0 0h36v36h-36z"), E(u, "fill", "none"), E(u, "class", "svelte-1wi0iai"), E(s, "class", "ExpandArrow " + (/*isDesktop*/
4523
- e[10] ? "" : "Mobile") + " svelte-1wi0iai"), E(s, "xmlns", "http://www.w3.org/2000/svg"), E(s, "width", "36"), E(s, "height", "36"), E(s, "viewBox", "0 0 36 36"), jr(s, "fill", "var(--emw--color-primary, #22B04E)"), ye(
4551
+ e[10] ? "" : "Mobile") + " svelte-1wi0iai"), E(s, "xmlns", "http://www.w3.org/2000/svg"), E(s, "width", "36"), E(s, "height", "36"), E(s, "viewBox", "0 0 36 36"), Vr(s, "fill", "var(--emw--color-primary, #22B04E)"), ge(
4524
4552
  s,
4525
4553
  "extended",
4526
4554
  /*extended*/
4527
4555
  e[8]
4528
4556
  ), E(i, "class", "ExpandButton " + (/*isDesktop*/
4529
4557
  e[10] ? "" : "Mobile") + " svelte-1wi0iai"), E(c, "class", "HistoryDisplayArea " + (/*isDesktop*/
4530
- e[10] ? "" : "Mobile") + " svelte-1wi0iai"), ye(
4558
+ e[10] ? "" : "Mobile") + " svelte-1wi0iai"), ge(
4531
4559
  c,
4532
4560
  "hidden",
4533
4561
  /*hidden*/
4534
4562
  e[5]
4535
4563
  ), E(r, "class", "HistoryWrapper svelte-1wi0iai"), E(t, "class", "player-account-gaming-limits-history-2 svelte-1wi0iai");
4536
4564
  },
4537
- m(v, P) {
4538
- W(v, t, P), x(t, r), x(r, i), x(i, o), x(i, a), x(i, s), x(s, h), x(s, u), x(r, l), x(r, c);
4539
- for (let g = 0; g < d.length; g += 1)
4540
- d[g] && d[g].m(c, null);
4541
- f || (p = Gr(
4565
+ m(v, H) {
4566
+ W(v, t, H), x(t, r), x(r, i), x(i, o), x(i, a), x(i, s), x(s, h), x(s, u), x(r, l), x(r, c);
4567
+ for (let b = 0; b < d.length; b += 1)
4568
+ d[b] && d[b].m(c, null);
4569
+ f || (p = jr(
4542
4570
  i,
4543
4571
  "click",
4544
4572
  /*toggleHistoryDisplayArea*/
4545
4573
  e[11]
4546
4574
  ), f = !0);
4547
4575
  },
4548
- p(v, P) {
4549
- if (P[0] & /*$_*/
4576
+ p(v, H) {
4577
+ if (H[0] & /*$_*/
4550
4578
  512 && n !== (n = /*$_*/
4551
- v[9]("expandLimits") + "") && j(o, n), P[0] & /*extended*/
4552
- 256 && ye(
4579
+ v[9]("expandLimits") + "") && j(o, n), H[0] & /*extended*/
4580
+ 256 && ge(
4553
4581
  s,
4554
4582
  "extended",
4555
4583
  /*extended*/
4556
4584
  v[8]
4557
- ), P[0] & /*numberofentries, limitContainer, lazyShowedHistoryArray, $_*/
4585
+ ), H[0] & /*numberofentries, limitContainer, lazyShowedHistoryArray, $_*/
4558
4586
  650) {
4559
- y = gt(
4587
+ y = vt(
4560
4588
  /*lazyShowedHistoryArray*/
4561
4589
  v[7]
4562
4590
  );
4563
- let g;
4564
- for (g = 0; g < y.length; g += 1) {
4565
- const S = Ut(v, y, g);
4566
- d[g] ? d[g].p(S, P) : (d[g] = Gt(S), d[g].c(), d[g].m(c, null));
4591
+ let b;
4592
+ for (b = 0; b < y.length; b += 1) {
4593
+ const P = Ft(v, y, b);
4594
+ d[b] ? d[b].p(P, H) : (d[b] = jt(P), d[b].c(), d[b].m(c, null));
4567
4595
  }
4568
- for (; g < d.length; g += 1)
4569
- d[g].d(1);
4596
+ for (; b < d.length; b += 1)
4597
+ d[b].d(1);
4570
4598
  d.length = y.length;
4571
4599
  }
4572
- P[0] & /*hidden*/
4573
- 32 && ye(
4600
+ H[0] & /*hidden*/
4601
+ 32 && ge(
4574
4602
  c,
4575
4603
  "hidden",
4576
4604
  /*hidden*/
@@ -4578,14 +4606,14 @@ function po(e) {
4578
4606
  );
4579
4607
  },
4580
4608
  d(v) {
4581
- v && k(t), Ur(d, v), f = !1, p();
4609
+ v && k(t), Fr(d, v), f = !1, p();
4582
4610
  }
4583
4611
  };
4584
4612
  }
4585
- function yo(e) {
4613
+ function _o(e) {
4586
4614
  return { c: O, m: O, p: O, d: O };
4587
4615
  }
4588
- function go(e) {
4616
+ function Eo(e) {
4589
4617
  let t, r = (
4590
4618
  /*lang*/
4591
4619
  (e[0] ? (
@@ -4595,7 +4623,7 @@ function go(e) {
4595
4623
  ), i;
4596
4624
  return {
4597
4625
  c() {
4598
- t = H("p"), i = U(r), E(t, "class", "svelte-1wi0iai");
4626
+ t = A("p"), i = $(r), E(t, "class", "svelte-1wi0iai");
4599
4627
  },
4600
4628
  m(n, o) {
4601
4629
  W(n, t, o), x(t, i);
@@ -4613,7 +4641,7 @@ function go(e) {
4613
4641
  }
4614
4642
  };
4615
4643
  }
4616
- function bo(e) {
4644
+ function xo(e) {
4617
4645
  let t, r, i, n = (
4618
4646
  /*history*/
4619
4647
  e[37].type + ""
@@ -4626,7 +4654,7 @@ function bo(e) {
4626
4654
  ), c;
4627
4655
  return {
4628
4656
  c() {
4629
- t = H("div"), r = H("span"), i = H("span"), o = U(n), a = H("span"), h = U(s), u = H("span"), c = U(l), E(i, "class", "LimitType svelte-1wi0iai"), E(a, "class", "LimitAmountPeriod svelte-1wi0iai"), E(r, "class", "GeneralLimitInformation svelte-1wi0iai"), E(u, "class", "DateLimitInformation svelte-1wi0iai"), E(t, "class", "HistoryRow svelte-1wi0iai");
4657
+ t = A("div"), r = A("span"), i = A("span"), o = $(n), a = A("span"), h = $(s), u = A("span"), c = $(l), E(i, "class", "LimitType svelte-1wi0iai"), E(a, "class", "LimitAmountPeriod svelte-1wi0iai"), E(r, "class", "GeneralLimitInformation svelte-1wi0iai"), E(u, "class", "DateLimitInformation svelte-1wi0iai"), E(t, "class", "HistoryRow svelte-1wi0iai");
4630
4658
  },
4631
4659
  m(f, p) {
4632
4660
  W(f, t, p), x(t, r), x(r, i), x(i, o), x(r, a), x(a, h), x(t, u), x(u, c);
@@ -4645,7 +4673,7 @@ function bo(e) {
4645
4673
  }
4646
4674
  };
4647
4675
  }
4648
- function vo(e) {
4676
+ function wo(e) {
4649
4677
  let t, r, i, n = (
4650
4678
  /*history*/
4651
4679
  e[37].type + ""
@@ -4658,7 +4686,7 @@ function vo(e) {
4658
4686
  ), c;
4659
4687
  return {
4660
4688
  c() {
4661
- t = H("div"), r = H("span"), i = H("span"), o = U(n), a = H("span"), h = U(s), u = H("span"), c = U(l), E(i, "class", "LimitType svelte-1wi0iai"), E(a, "class", "LimitAmountPeriod svelte-1wi0iai"), E(r, "class", "GeneralLimitInformation svelte-1wi0iai"), E(u, "class", "DateLimitInformation svelte-1wi0iai"), E(t, "class", "HistoryRow svelte-1wi0iai");
4689
+ t = A("div"), r = A("span"), i = A("span"), o = $(n), a = A("span"), h = $(s), u = A("span"), c = $(l), E(i, "class", "LimitType svelte-1wi0iai"), E(a, "class", "LimitAmountPeriod svelte-1wi0iai"), E(r, "class", "GeneralLimitInformation svelte-1wi0iai"), E(u, "class", "DateLimitInformation svelte-1wi0iai"), E(t, "class", "HistoryRow svelte-1wi0iai");
4662
4690
  },
4663
4691
  m(f, p) {
4664
4692
  W(f, t, p), x(t, r), x(r, i), x(i, o), x(r, a), x(a, h), x(t, u), x(u, c);
@@ -4677,7 +4705,7 @@ function vo(e) {
4677
4705
  }
4678
4706
  };
4679
4707
  }
4680
- function Gt(e) {
4708
+ function jt(e) {
4681
4709
  let t, r, i, n = (
4682
4710
  /*index*/
4683
4711
  e[39]
@@ -4685,7 +4713,7 @@ function Gt(e) {
4685
4713
  function o(l, c) {
4686
4714
  return (
4687
4715
  /*history*/
4688
- l[37].removed ? vo : bo
4716
+ l[37].removed ? wo : xo
4689
4717
  );
4690
4718
  }
4691
4719
  let a = o(e), s = a(e);
@@ -4698,7 +4726,7 @@ function Gt(e) {
4698
4726
  );
4699
4727
  return {
4700
4728
  c() {
4701
- t = H("div"), s.c(), r = ze(), E(t, "class", i = dt(
4729
+ t = A("div"), s.c(), r = Ze(), E(t, "class", i = bt(
4702
4730
  /*index*/
4703
4731
  e[39] > +/*numberofentries*/
4704
4732
  e[1] ? "LimitContainer" : ""
@@ -4709,7 +4737,7 @@ function Gt(e) {
4709
4737
  },
4710
4738
  p(l, c) {
4711
4739
  e = l, a === (a = o(e)) && s ? s.p(e, c) : (s.d(1), s = a(e), s && (s.c(), s.m(t, r))), c[0] & /*numberofentries*/
4712
- 2 && i !== (i = dt(
4740
+ 2 && i !== (i = bt(
4713
4741
  /*index*/
4714
4742
  e[39] > +/*numberofentries*/
4715
4743
  e[1] ? "LimitContainer" : ""
@@ -4722,21 +4750,21 @@ function Gt(e) {
4722
4750
  }
4723
4751
  };
4724
4752
  }
4725
- function _o(e) {
4753
+ function So(e) {
4726
4754
  let t;
4727
4755
  function r(o, a) {
4728
4756
  return (
4729
4757
  /*hasErrors*/
4730
- o[6] ? go : (
4758
+ o[6] ? Eo : (
4731
4759
  /*isLoading*/
4732
- o[4] ? yo : po
4760
+ o[4] ? _o : vo
4733
4761
  )
4734
4762
  );
4735
4763
  }
4736
4764
  let i = r(e), n = i(e);
4737
4765
  return {
4738
4766
  c() {
4739
- t = H("div"), n.c(), E(t, "class", "svelte-1wi0iai");
4767
+ t = A("div"), n.c(), E(t, "class", "svelte-1wi0iai");
4740
4768
  },
4741
4769
  m(o, a) {
4742
4770
  W(o, t, a), n.m(t, null), e[23](t);
@@ -4751,45 +4779,45 @@ function _o(e) {
4751
4779
  }
4752
4780
  };
4753
4781
  }
4754
- function Eo(e, t, r) {
4782
+ function To(e, t, r) {
4755
4783
  let i;
4756
- Mr(e, Xn, (m) => r(9, i = m));
4757
- let n = window.navigator.userAgent, o = !lo(n), { lang: a = "" } = t, { userid: s = "" } = t, { session: h = "" } = t, { endpoint: u = "" } = t, { apiversion: l = "" } = t, { numberofentries: c = "10" } = t, { customcurrencysymbols: f = "" } = t, { limitformat: p = "" } = t, { clientstyling: y = "" } = t, { clientstylingurl: d = "" } = t, { mbsource: v } = t, { translationurl: P = "" } = t, g, S = new Array(), R = parseInt(c, 10), N = !1, D = !0, V = [], me = [], pe = !0, Ie = !1, ne = { EUR: "€", RON: "lei", TRY: "₺" };
4758
- const Er = () => {
4759
- fetch(P).then((w) => w.json()).then((w) => {
4760
- Object.keys(w).forEach((I) => {
4761
- Ot(I, w[I]);
4784
+ Dr(e, Qn, (m) => r(9, i = m));
4785
+ let n = window.navigator.userAgent, o = !co(n), { lang: a = "" } = t, { userid: s = "" } = t, { session: h = "" } = t, { endpoint: u = "" } = t, { apiversion: l = "" } = t, { numberofentries: c = "10" } = t, { customcurrencysymbols: f = "" } = t, { limitformat: p = "" } = t, { clientstyling: y = "" } = t, { clientstylingurl: d = "" } = t, { mbsource: v } = t, { translationurl: H = "" } = t, b, P, C = new Array(), M = parseInt(c, 10), G = !1, V = !0, pe = [], de = [], ye = !0, Me = !1, oe = { EUR: "€", RON: "lei", TRY: "₺" };
4786
+ const wr = () => {
4787
+ fetch(H).then((w) => w.json()).then((w) => {
4788
+ Object.keys(w).forEach((N) => {
4789
+ It(N, w[N]);
4762
4790
  });
4763
4791
  }).catch((w) => {
4764
4792
  console.log(w);
4765
4793
  });
4766
4794
  };
4767
- Object.keys(Ve).forEach((m) => {
4768
- Ot(m, Ve[m]);
4795
+ Object.keys(ze).forEach((m) => {
4796
+ It(m, ze[m]);
4769
4797
  });
4770
- const xr = () => {
4798
+ const Sr = () => {
4771
4799
  let m = l === "gmcore" ? `/v2/player/${s}/transactions/limit` : `/v1/player/${s}/limits/monetary/history`, w = new URL(`${u}${m}`);
4772
4800
  w.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), w.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), w.searchParams.append("limit", "10000");
4773
- let I = {
4801
+ let N = {
4774
4802
  method: "GET",
4775
4803
  headers: { "X-SessionID": h }
4776
4804
  };
4777
- fetch(w.href, I).then((A) => {
4778
- if (A.status >= 300)
4779
- throw r(4, D = !1), r(6, N = !0), new Error("There was an error fetching the limits");
4780
- return A.json();
4805
+ fetch(w.href, N).then((L) => {
4806
+ if (L.status >= 300)
4807
+ throw r(4, V = !1), r(6, G = !0), new Error("There was an error fetching the limits");
4808
+ return L.json();
4781
4809
  }).then(
4782
- (A) => {
4783
- A.length && (V = wr(A), r(7, me = V.slice(0, R))), r(4, D = !1);
4810
+ (L) => {
4811
+ L.length && (pe = Tr(L), r(7, de = pe.slice(0, M))), r(4, V = !1);
4784
4812
  },
4785
- (A) => {
4786
- console.error("There was an error", A), r(6, N = !0);
4813
+ (L) => {
4814
+ console.error("There was an error", L), r(6, G = !0);
4787
4815
  }
4788
4816
  );
4789
- }, wr = (m) => {
4790
- const w = !!Ve[a];
4791
- return m.map((A) => {
4792
- let $ = {
4817
+ }, Tr = (m) => {
4818
+ const w = !!ze[a];
4819
+ return m.map((L) => {
4820
+ let D = {
4793
4821
  amount: "",
4794
4822
  currency: "",
4795
4823
  date: "",
@@ -4797,82 +4825,82 @@ function Eo(e, t, r) {
4797
4825
  type: "",
4798
4826
  removed: !1
4799
4827
  };
4800
- return $.amount = Tr(A), $.currency = w ? ne[A.limitCurrencyCode] : A.limitCurrencyCode, $.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(A.limitDate)), $.period = i(`${A.limitPeriod.toLowerCase()}`), $.type = l === "gmcore" ? i(`historyLimitType${A.limitType.split(" ")[0]}`) : i(`historyLimitType${A.limitType.split(" ")[0]}`) + " " + i(`historyProductType${A.limitProductType}`), $.removed = A.limitAmount === -1, $;
4828
+ return D.amount = Lr(L), D.currency = w ? oe[L.limitCurrencyCode] : L.limitCurrencyCode, D.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(L.limitDate)), D.period = i(`${L.limitPeriod.toLowerCase()}`), D.type = l === "gmcore" ? i(`historyLimitType${L.limitType.split(" ")[0]}`) : i(`historyLimitType${L.limitType.split(" ")[0]}`) + " " + i(`historyProductType${L.limitProductType}`), D.removed = L.limitAmount === -1, D;
4801
4829
  });
4802
- }, Tr = (m) => {
4830
+ }, Lr = (m) => {
4803
4831
  let w = p || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(m.limitAmount);
4804
4832
  if (!p) {
4805
- let Ir = ne[m.limitCurrencyCode] || m.limitCurrencyCode;
4806
- return `${w}${Ir}`;
4833
+ let Mr = oe[m.limitCurrencyCode] || m.limitCurrencyCode;
4834
+ return `${w}${Mr}`;
4807
4835
  }
4808
4836
  typeof m.limitAmount == "string" && m.limitAmount.includes(",") && (m.limitAmount = m.limitAmount.replaceAll(",", ""));
4809
- const I = w.match(/\{(\d+)decimals\}/), A = I ? parseInt(I[1], 10) : 2, $ = I ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
4810
- let de = parseFloat(m.limitAmount).toFixed(A);
4811
- const [Or, Ne] = p.includes(".") ? [",", "."] : [".", ","];
4812
- let [Me, Cr] = de.split(".");
4813
- return Me = Me.replace(/\B(?=(\d{3})+(?!\d))/g, Or), de = `${Me}${Ne}${Cr}`, w = w.replace("{currency}", ne[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", de.split(Ne)[0]).replace(
4814
- $,
4815
- de.split(Ne)[1]
4837
+ const N = w.match(/\{(\d+)decimals\}/), L = N ? parseInt(N[1], 10) : 2, D = N ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
4838
+ let be = parseFloat(m.limitAmount).toFixed(L);
4839
+ const [Ir, Re] = p.includes(".") ? [",", "."] : [".", ","];
4840
+ let [De, Nr] = be.split(".");
4841
+ return De = De.replace(/\B(?=(\d{3})+(?!\d))/g, Ir), be = `${De}${Re}${Nr}`, w = w.replace("{currency}", oe[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", be.split(Re)[0]).replace(
4842
+ D,
4843
+ be.split(Re)[1]
4816
4844
  ), w;
4817
- }, Sr = () => {
4818
- r(5, pe = !pe), r(8, Ie = !Ie);
4845
+ }, Ar = () => {
4846
+ r(5, ye = !ye), r(8, Me = !Me);
4819
4847
  };
4820
- let mt = new IntersectionObserver((m) => {
4848
+ let dt = new IntersectionObserver((m) => {
4821
4849
  m.forEach((w) => {
4822
- w.isIntersecting && (R += parseInt(c, 10) || 10, me.length < V.length && r(7, me = V.slice(0, R)));
4850
+ w.isIntersecting && (M += parseInt(c, 10) || 10, de.length < pe.length && r(7, de = pe.slice(0, M)));
4823
4851
  });
4824
4852
  });
4825
- const Lr = () => {
4826
- mt.observe(S[S.length - 1]);
4827
- }, Ar = () => {
4853
+ const Hr = () => {
4854
+ dt.observe(C[C.length - 1]);
4855
+ }, Pr = () => {
4828
4856
  if (!f)
4829
4857
  return;
4830
4858
  let m = {};
4831
4859
  f.split(",").forEach((w) => {
4832
- let I = w.split(":");
4833
- m[I[0].trim()] = I[1].trim();
4834
- }), ne = { ...ne, ...m };
4835
- }, Hr = () => {
4836
- Zn(a);
4860
+ let N = w.split(":");
4861
+ m[N[0].trim()] = N[1].trim();
4862
+ }), oe = { ...oe, ...m };
4863
+ }, Br = () => {
4864
+ Yn(a);
4837
4865
  };
4838
- Wr(() => () => {
4839
- mt.unobserve(S[S.length - 1]);
4866
+ Xr(() => () => {
4867
+ dt.unobserve(C[C.length - 1]);
4840
4868
  });
4841
- function Pr(m, w) {
4842
- we[m ? "unshift" : "push"](() => {
4843
- S[w] = m, r(3, S);
4869
+ function Or(m, w) {
4870
+ Te[m ? "unshift" : "push"](() => {
4871
+ C[w] = m, r(3, C);
4844
4872
  });
4845
4873
  }
4846
- function Br(m) {
4847
- we[m ? "unshift" : "push"](() => {
4848
- g = m, r(2, g);
4874
+ function Cr(m) {
4875
+ Te[m ? "unshift" : "push"](() => {
4876
+ b = m, r(2, b);
4849
4877
  });
4850
4878
  }
4851
4879
  return e.$$set = (m) => {
4852
- "lang" in m && r(0, a = m.lang), "userid" in m && r(12, s = m.userid), "session" in m && r(13, h = m.session), "endpoint" in m && r(14, u = m.endpoint), "apiversion" in m && r(15, l = m.apiversion), "numberofentries" in m && r(1, c = m.numberofentries), "customcurrencysymbols" in m && r(16, f = m.customcurrencysymbols), "limitformat" in m && r(17, p = m.limitformat), "clientstyling" in m && r(18, y = m.clientstyling), "clientstylingurl" in m && r(19, d = m.clientstylingurl), "mbsource" in m && r(20, v = m.mbsource), "translationurl" in m && r(21, P = m.translationurl);
4880
+ "lang" in m && r(0, a = m.lang), "userid" in m && r(12, s = m.userid), "session" in m && r(13, h = m.session), "endpoint" in m && r(14, u = m.endpoint), "apiversion" in m && r(15, l = m.apiversion), "numberofentries" in m && r(1, c = m.numberofentries), "customcurrencysymbols" in m && r(16, f = m.customcurrencysymbols), "limitformat" in m && r(17, p = m.limitformat), "clientstyling" in m && r(18, y = m.clientstyling), "clientstylingurl" in m && r(19, d = m.clientstylingurl), "mbsource" in m && r(20, v = m.mbsource), "translationurl" in m && r(21, H = m.translationurl);
4853
4881
  }, e.$$.update = () => {
4854
4882
  e.$$.dirty[0] & /*customcurrencysymbols*/
4855
- 65536 && f && Ar(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
4856
- 61440 && u && s && h && l && xr(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
4857
- 56 && S[0] && !D && !pe && Lr(), e.$$.dirty[0] & /*lang*/
4858
- 1 && a && Hr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4859
- 262148 && y && g && ho(g, y), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4860
- 524292 && d && g && co(g, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4861
- 1048580 && v && g && fo(g, `${v}.Style`), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
4862
- 2097156 && P && g && Er();
4883
+ 65536 && f && Pr(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
4884
+ 61440 && u && s && h && l && Sr(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
4885
+ 56 && C[0] && !V && !ye && Hr(), e.$$.dirty[0] & /*lang*/
4886
+ 1 && a && Br(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4887
+ 262148 && y && b && fo(b, y), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4888
+ 524292 && d && b && mo(b, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4889
+ 1048580 && v && b && po(b, `${v}.Style`, P), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
4890
+ 2097156 && H && b && wr();
4863
4891
  }, [
4864
4892
  a,
4865
4893
  c,
4866
- g,
4867
- S,
4868
- D,
4869
- pe,
4870
- N,
4871
- me,
4872
- Ie,
4894
+ b,
4895
+ C,
4896
+ V,
4897
+ ye,
4898
+ G,
4899
+ de,
4900
+ Me,
4873
4901
  i,
4874
4902
  o,
4875
- Sr,
4903
+ Ar,
4876
4904
  s,
4877
4905
  h,
4878
4906
  u,
@@ -4882,19 +4910,19 @@ function Eo(e, t, r) {
4882
4910
  y,
4883
4911
  d,
4884
4912
  v,
4885
- P,
4886
- Pr,
4887
- Br
4913
+ H,
4914
+ Or,
4915
+ Cr
4888
4916
  ];
4889
4917
  }
4890
- class xo extends ii {
4918
+ class Lo extends oi {
4891
4919
  constructor(t) {
4892
- super(), ti(
4920
+ super(), ii(
4893
4921
  this,
4894
4922
  t,
4895
- Eo,
4896
- _o,
4897
- jt,
4923
+ To,
4924
+ So,
4925
+ Vt,
4898
4926
  {
4899
4927
  lang: 0,
4900
4928
  userid: 12,
@@ -4909,7 +4937,7 @@ class xo extends ii {
4909
4937
  mbsource: 20,
4910
4938
  translationurl: 21
4911
4939
  },
4912
- mo,
4940
+ go,
4913
4941
  [-1, -1]
4914
4942
  );
4915
4943
  }
@@ -4917,76 +4945,76 @@ class xo extends ii {
4917
4945
  return this.$$.ctx[0];
4918
4946
  }
4919
4947
  set lang(t) {
4920
- this.$$set({ lang: t }), C();
4948
+ this.$$set({ lang: t }), I();
4921
4949
  }
4922
4950
  get userid() {
4923
4951
  return this.$$.ctx[12];
4924
4952
  }
4925
4953
  set userid(t) {
4926
- this.$$set({ userid: t }), C();
4954
+ this.$$set({ userid: t }), I();
4927
4955
  }
4928
4956
  get session() {
4929
4957
  return this.$$.ctx[13];
4930
4958
  }
4931
4959
  set session(t) {
4932
- this.$$set({ session: t }), C();
4960
+ this.$$set({ session: t }), I();
4933
4961
  }
4934
4962
  get endpoint() {
4935
4963
  return this.$$.ctx[14];
4936
4964
  }
4937
4965
  set endpoint(t) {
4938
- this.$$set({ endpoint: t }), C();
4966
+ this.$$set({ endpoint: t }), I();
4939
4967
  }
4940
4968
  get apiversion() {
4941
4969
  return this.$$.ctx[15];
4942
4970
  }
4943
4971
  set apiversion(t) {
4944
- this.$$set({ apiversion: t }), C();
4972
+ this.$$set({ apiversion: t }), I();
4945
4973
  }
4946
4974
  get numberofentries() {
4947
4975
  return this.$$.ctx[1];
4948
4976
  }
4949
4977
  set numberofentries(t) {
4950
- this.$$set({ numberofentries: t }), C();
4978
+ this.$$set({ numberofentries: t }), I();
4951
4979
  }
4952
4980
  get customcurrencysymbols() {
4953
4981
  return this.$$.ctx[16];
4954
4982
  }
4955
4983
  set customcurrencysymbols(t) {
4956
- this.$$set({ customcurrencysymbols: t }), C();
4984
+ this.$$set({ customcurrencysymbols: t }), I();
4957
4985
  }
4958
4986
  get limitformat() {
4959
4987
  return this.$$.ctx[17];
4960
4988
  }
4961
4989
  set limitformat(t) {
4962
- this.$$set({ limitformat: t }), C();
4990
+ this.$$set({ limitformat: t }), I();
4963
4991
  }
4964
4992
  get clientstyling() {
4965
4993
  return this.$$.ctx[18];
4966
4994
  }
4967
4995
  set clientstyling(t) {
4968
- this.$$set({ clientstyling: t }), C();
4996
+ this.$$set({ clientstyling: t }), I();
4969
4997
  }
4970
4998
  get clientstylingurl() {
4971
4999
  return this.$$.ctx[19];
4972
5000
  }
4973
5001
  set clientstylingurl(t) {
4974
- this.$$set({ clientstylingurl: t }), C();
5002
+ this.$$set({ clientstylingurl: t }), I();
4975
5003
  }
4976
5004
  get mbsource() {
4977
5005
  return this.$$.ctx[20];
4978
5006
  }
4979
5007
  set mbsource(t) {
4980
- this.$$set({ mbsource: t }), C();
5008
+ this.$$set({ mbsource: t }), I();
4981
5009
  }
4982
5010
  get translationurl() {
4983
5011
  return this.$$.ctx[21];
4984
5012
  }
4985
5013
  set translationurl(t) {
4986
- this.$$set({ translationurl: t }), C();
5014
+ this.$$set({ translationurl: t }), I();
4987
5015
  }
4988
5016
  }
4989
- ri(xo, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5017
+ ni(Lo, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4990
5018
  export {
4991
- xo as P
5019
+ Lo as P
4992
5020
  };