@everymatrix/player-account-gaming-limits-wrapper-2-nd 1.77.18 → 1.77.20

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,17 +1,17 @@
1
- var zr = Object.defineProperty, Xr = Object.defineProperties;
2
- var Zr = Object.getOwnPropertyDescriptors;
3
- var vt = Object.getOwnPropertySymbols;
4
- var Qr = Object.prototype.hasOwnProperty, Yr = Object.prototype.propertyIsEnumerable;
5
- var Fe = (e, t, r) => t in e ? zr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, be = (e, t) => {
1
+ var Fr = Object.defineProperty, jr = Object.defineProperties;
2
+ var kr = Object.getOwnPropertyDescriptors;
3
+ var pt = Object.getOwnPropertySymbols;
4
+ var Vr = Object.prototype.hasOwnProperty, Wr = Object.prototype.propertyIsEnumerable;
5
+ var $e = (e, t, r) => t in e ? Fr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ge = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Qr.call(t, r) && Fe(e, r, t[r]);
8
- if (vt)
9
- for (var r of vt(t))
10
- Yr.call(t, r) && Fe(e, r, t[r]);
7
+ Vr.call(t, r) && $e(e, r, t[r]);
8
+ if (pt)
9
+ for (var r of pt(t))
10
+ Wr.call(t, r) && $e(e, r, t[r]);
11
11
  return e;
12
- }, _t = (e, t) => Xr(e, Zr(t));
13
- var B = (e, t, r) => (Fe(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var Et = (e, t, r) => new Promise((i, n) => {
12
+ }, dt = (e, t) => jr(e, kr(t));
13
+ var B = (e, t, r) => ($e(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var yt = (e, t, r) => new Promise((i, n) => {
15
15
  var o = (l) => {
16
16
  try {
17
17
  a(r.next(l));
@@ -29,7 +29,7 @@ var Et = (e, t, r) => new Promise((i, n) => {
29
29
  });
30
30
  function C() {
31
31
  }
32
- function Jr(e, t) {
32
+ function zr(e, t) {
33
33
  for (const r in t)
34
34
  e[r] = t[r];
35
35
  return (
@@ -37,25 +37,25 @@ function Jr(e, t) {
37
37
  e
38
38
  );
39
39
  }
40
- function Qt(e) {
40
+ function Vt(e) {
41
41
  return e();
42
42
  }
43
- function xt() {
43
+ function bt() {
44
44
  return /* @__PURE__ */ Object.create(null);
45
45
  }
46
- function ie(e) {
47
- e.forEach(Qt);
46
+ function ne(e) {
47
+ e.forEach(Vt);
48
48
  }
49
- function dt(e) {
49
+ function ht(e) {
50
50
  return typeof e == "function";
51
51
  }
52
- function Yt(e, t) {
52
+ function Wt(e, t) {
53
53
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
54
54
  }
55
- function qr(e) {
55
+ function Xr(e) {
56
56
  return Object.keys(e).length === 0;
57
57
  }
58
- function Jt(e, ...t) {
58
+ function zt(e, ...t) {
59
59
  if (e == null) {
60
60
  for (const i of t)
61
61
  i(void 0);
@@ -64,19 +64,19 @@ function Jt(e, ...t) {
64
64
  const r = e.subscribe(...t);
65
65
  return r.unsubscribe ? () => r.unsubscribe() : r;
66
66
  }
67
- function Kr(e, t, r) {
68
- e.$$.on_destroy.push(Jt(t, r));
67
+ function Zr(e, t, r) {
68
+ e.$$.on_destroy.push(zt(t, r));
69
69
  }
70
- function $o(e, t, r, i) {
70
+ function Io(e, t, r, i) {
71
71
  if (e) {
72
- const n = qt(e, t, r, i);
72
+ const n = Xt(e, t, r, i);
73
73
  return e[0](n);
74
74
  }
75
75
  }
76
- function qt(e, t, r, i) {
77
- return e[1] && i ? Jr(r.ctx.slice(), e[1](i(t))) : r.ctx;
76
+ function Xt(e, t, r, i) {
77
+ return e[1] && i ? zr(r.ctx.slice(), e[1](i(t))) : r.ctx;
78
78
  }
79
- function Uo(e, t, r, i) {
79
+ function No(e, t, r, i) {
80
80
  if (e[2] && i) {
81
81
  const n = e[2](i(r));
82
82
  if (t.dirty === void 0)
@@ -91,13 +91,13 @@ function Uo(e, t, r, i) {
91
91
  }
92
92
  return t.dirty;
93
93
  }
94
- function Go(e, t, r, i, n, o) {
94
+ function Mo(e, t, r, i, n, o) {
95
95
  if (n) {
96
- const s = qt(t, r, i, o);
96
+ const s = Xt(t, r, i, o);
97
97
  e.p(s, n);
98
98
  }
99
99
  }
100
- function Fo(e) {
100
+ function Ro(e) {
101
101
  if (e.ctx.length > 32) {
102
102
  const t = [], r = e.ctx.length / 32;
103
103
  for (let i = 0; i < r; i++)
@@ -106,20 +106,20 @@ function Fo(e) {
106
106
  }
107
107
  return -1;
108
108
  }
109
- function wt(e) {
109
+ function gt(e) {
110
110
  return e == null ? "" : e;
111
111
  }
112
- function x(e, t) {
112
+ function w(e, t) {
113
113
  e.appendChild(t);
114
114
  }
115
- function ei(e, t, r) {
116
- const i = ti(e);
115
+ function Qr(e, t, r) {
116
+ const i = Yr(e);
117
117
  if (!i.getElementById(t)) {
118
118
  const n = A("style");
119
- n.id = t, n.textContent = r, ri(i, n);
119
+ n.id = t, n.textContent = r, Jr(i, n);
120
120
  }
121
121
  }
122
- function ti(e) {
122
+ function Yr(e) {
123
123
  if (!e)
124
124
  return document;
125
125
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -129,8 +129,8 @@ function ti(e) {
129
129
  t
130
130
  ) : e.ownerDocument;
131
131
  }
132
- function ri(e, t) {
133
- return x(
132
+ function Jr(e, t) {
133
+ return w(
134
134
  /** @type {Document} */
135
135
  e.head || e,
136
136
  t
@@ -139,55 +139,55 @@ function ri(e, t) {
139
139
  function W(e, t, r) {
140
140
  e.insertBefore(t, r || null);
141
141
  }
142
- function j(e) {
142
+ function F(e) {
143
143
  e.parentNode && e.parentNode.removeChild(e);
144
144
  }
145
- function ii(e, t) {
145
+ function qr(e, t) {
146
146
  for (let r = 0; r < e.length; r += 1)
147
147
  e[r] && e[r].d(t);
148
148
  }
149
149
  function A(e) {
150
150
  return document.createElement(e);
151
151
  }
152
- function xe(e) {
152
+ function Ee(e) {
153
153
  return document.createElementNS("http://www.w3.org/2000/svg", e);
154
154
  }
155
- function D(e) {
155
+ function R(e) {
156
156
  return document.createTextNode(e);
157
157
  }
158
- function Je() {
159
- return D(" ");
158
+ function Ze() {
159
+ return R(" ");
160
160
  }
161
- function jo() {
162
- return D("");
161
+ function Do() {
162
+ return R("");
163
163
  }
164
- function ni(e, t, r, i) {
164
+ function Kr(e, t, r, i) {
165
165
  return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
166
166
  }
167
167
  function E(e, t, r) {
168
168
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
169
169
  }
170
- function ko(e, t, r) {
170
+ function Uo(e, t, r) {
171
171
  const i = t.toLowerCase();
172
172
  i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : E(e, t, r);
173
173
  }
174
- function Vo(e) {
174
+ function $o(e) {
175
175
  return e === "" ? null : +e;
176
176
  }
177
- function oi(e) {
177
+ function ei(e) {
178
178
  return Array.from(e.childNodes);
179
179
  }
180
180
  function V(e, t) {
181
181
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
182
182
  t);
183
183
  }
184
- function Wo(e, t) {
184
+ function Go(e, t) {
185
185
  e.value = t == null ? "" : t;
186
186
  }
187
- function si(e, t, r, i) {
187
+ function ti(e, t, r, i) {
188
188
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
189
189
  }
190
- function zo(e, t, r) {
190
+ function Fo(e, t, r) {
191
191
  for (let i = 0; i < e.options.length; i += 1) {
192
192
  const n = e.options[i];
193
193
  if (n.__value === t) {
@@ -197,14 +197,14 @@ function zo(e, t, r) {
197
197
  }
198
198
  (!r || t !== void 0) && (e.selectedIndex = -1);
199
199
  }
200
- function Xo(e) {
200
+ function jo(e) {
201
201
  const t = e.querySelector(":checked");
202
202
  return t && t.__value;
203
203
  }
204
204
  function ve(e, t, r) {
205
205
  e.classList.toggle(t, !!r);
206
206
  }
207
- class Zo {
207
+ class ko {
208
208
  constructor(t = !1) {
209
209
  /**
210
210
  * @private
@@ -235,7 +235,7 @@ class Zo {
235
235
  * @returns {void}
236
236
  */
237
237
  m(t, r, i = null) {
238
- this.e || (this.is_svg ? this.e = xe(
238
+ this.e || (this.is_svg ? this.e = Ee(
239
239
  /** @type {keyof SVGElementTagNameMap} */
240
240
  r.nodeName
241
241
  ) : this.e = A(
@@ -271,10 +271,10 @@ class Zo {
271
271
  /**
272
272
  * @returns {void} */
273
273
  d() {
274
- this.n.forEach(j);
274
+ this.n.forEach(F);
275
275
  }
276
276
  }
277
- function ai(e) {
277
+ function ri(e) {
278
278
  const t = {};
279
279
  return e.childNodes.forEach(
280
280
  /** @param {Element} node */
@@ -283,72 +283,72 @@ function ai(e) {
283
283
  }
284
284
  ), t;
285
285
  }
286
- let he;
287
- function le(e) {
288
- he = e;
286
+ let ce;
287
+ function he(e) {
288
+ ce = e;
289
289
  }
290
- function ui() {
291
- if (!he)
290
+ function ii() {
291
+ if (!ce)
292
292
  throw new Error("Function called outside component initialization");
293
- return he;
293
+ return ce;
294
294
  }
295
- function li(e) {
296
- ui().$$.on_mount.push(e);
295
+ function ni(e) {
296
+ ii().$$.on_mount.push(e);
297
297
  }
298
298
  const J = [], Pe = [];
299
299
  let q = [];
300
- const Tt = [], Kt = /* @__PURE__ */ Promise.resolve();
301
- let qe = !1;
302
- function er() {
303
- qe || (qe = !0, Kt.then(I));
300
+ const vt = [], Zt = /* @__PURE__ */ Promise.resolve();
301
+ let Qe = !1;
302
+ function Qt() {
303
+ Qe || (Qe = !0, Zt.then(I));
304
304
  }
305
- function Qo() {
306
- return er(), Kt;
305
+ function Vo() {
306
+ return Qt(), Zt;
307
307
  }
308
- function Ke(e) {
308
+ function Ye(e) {
309
309
  q.push(e);
310
310
  }
311
- const je = /* @__PURE__ */ new Set();
311
+ const Ge = /* @__PURE__ */ new Set();
312
312
  let Q = 0;
313
313
  function I() {
314
314
  if (Q !== 0)
315
315
  return;
316
- const e = he;
316
+ const e = ce;
317
317
  do {
318
318
  try {
319
319
  for (; Q < J.length; ) {
320
320
  const t = J[Q];
321
- Q++, le(t), hi(t.$$);
321
+ Q++, he(t), oi(t.$$);
322
322
  }
323
323
  } catch (t) {
324
324
  throw J.length = 0, Q = 0, t;
325
325
  }
326
- for (le(null), J.length = 0, Q = 0; Pe.length; )
326
+ for (he(null), J.length = 0, Q = 0; Pe.length; )
327
327
  Pe.pop()();
328
328
  for (let t = 0; t < q.length; t += 1) {
329
329
  const r = q[t];
330
- je.has(r) || (je.add(r), r());
330
+ Ge.has(r) || (Ge.add(r), r());
331
331
  }
332
332
  q.length = 0;
333
333
  } while (J.length);
334
- for (; Tt.length; )
335
- Tt.pop()();
336
- qe = !1, je.clear(), le(e);
334
+ for (; vt.length; )
335
+ vt.pop()();
336
+ Qe = !1, Ge.clear(), he(e);
337
337
  }
338
- function hi(e) {
338
+ function oi(e) {
339
339
  if (e.fragment !== null) {
340
- e.update(), ie(e.before_update);
340
+ e.update(), ne(e.before_update);
341
341
  const t = e.dirty;
342
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ke);
342
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ye);
343
343
  }
344
344
  }
345
- function ci(e) {
345
+ function si(e) {
346
346
  const t = [], r = [];
347
347
  q.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), q = t;
348
348
  }
349
349
  const we = /* @__PURE__ */ new Set();
350
350
  let X;
351
- function Yo() {
351
+ function Wo() {
352
352
  X = {
353
353
  r: 0,
354
354
  c: [],
@@ -356,13 +356,13 @@ function Yo() {
356
356
  // parent group
357
357
  };
358
358
  }
359
- function Jo() {
360
- X.r || ie(X.c), X = X.p;
359
+ function zo() {
360
+ X.r || ne(X.c), X = X.p;
361
361
  }
362
- function fi(e, t) {
362
+ function ai(e, t) {
363
363
  e && e.i && (we.delete(e), e.i(t));
364
364
  }
365
- function qo(e, t, r, i) {
365
+ function Xo(e, t, r, i) {
366
366
  if (e && e.o) {
367
367
  if (we.has(e))
368
368
  return;
@@ -372,26 +372,26 @@ function qo(e, t, r, i) {
372
372
  } else
373
373
  i && i();
374
374
  }
375
- function Lt(e) {
375
+ function _t(e) {
376
376
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
377
377
  }
378
- function mi(e, t, r) {
378
+ function ui(e, t, r) {
379
379
  const { fragment: i, after_update: n } = e.$$;
380
- i && i.m(t, r), Ke(() => {
381
- const o = e.$$.on_mount.map(Qt).filter(dt);
382
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
383
- }), n.forEach(Ke);
380
+ i && i.m(t, r), Ye(() => {
381
+ const o = e.$$.on_mount.map(Vt).filter(ht);
382
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ne(o), e.$$.on_mount = [];
383
+ }), n.forEach(Ye);
384
384
  }
385
- function pi(e, t) {
385
+ function li(e, t) {
386
386
  const r = e.$$;
387
- r.fragment !== null && (ci(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
387
+ r.fragment !== null && (si(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
388
388
  }
389
- function di(e, t) {
390
- e.$$.dirty[0] === -1 && (J.push(e), er(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
389
+ function hi(e, t) {
390
+ e.$$.dirty[0] === -1 && (J.push(e), Qt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
391
391
  }
392
- function yi(e, t, r, i, n, o, s = null, a = [-1]) {
393
- const l = he;
394
- le(e);
392
+ function ci(e, t, r, i, n, o, s = null, a = [-1]) {
393
+ const l = ce;
394
+ he(e);
395
395
  const u = e.$$ = {
396
396
  fragment: null,
397
397
  ctx: [],
@@ -399,7 +399,7 @@ function yi(e, t, r, i, n, o, s = null, a = [-1]) {
399
399
  props: o,
400
400
  update: C,
401
401
  not_equal: n,
402
- bound: xt(),
402
+ bound: bt(),
403
403
  // lifecycle
404
404
  on_mount: [],
405
405
  on_destroy: [],
@@ -408,7 +408,7 @@ function yi(e, t, r, i, n, o, s = null, a = [-1]) {
408
408
  after_update: [],
409
409
  context: new Map(t.context || (l ? l.$$.context : [])),
410
410
  // everything else
411
- callbacks: xt(),
411
+ callbacks: bt(),
412
412
  dirty: a,
413
413
  skip_bound: !1,
414
414
  root: t.target || l.$$.root
@@ -417,19 +417,19 @@ function yi(e, t, r, i, n, o, s = null, a = [-1]) {
417
417
  let h = !1;
418
418
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
419
419
  const y = p.length ? p[0] : f;
420
- return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && di(e, c)), f;
421
- }) : [], u.update(), h = !0, ie(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
420
+ return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && hi(e, c)), f;
421
+ }) : [], u.update(), h = !0, ne(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
422
422
  if (t.hydrate) {
423
- const c = oi(t.target);
424
- u.fragment && u.fragment.l(c), c.forEach(j);
423
+ const c = ei(t.target);
424
+ u.fragment && u.fragment.l(c), c.forEach(F);
425
425
  } else
426
426
  u.fragment && u.fragment.c();
427
- t.intro && fi(e.$$.fragment), mi(e, t.target, t.anchor), I();
427
+ t.intro && ai(e.$$.fragment), ui(e, t.target, t.anchor), I();
428
428
  }
429
- le(l);
429
+ he(l);
430
430
  }
431
- let tr;
432
- typeof HTMLElement == "function" && (tr = class extends HTMLElement {
431
+ let Yt;
432
+ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
433
433
  constructor(t, r, i) {
434
434
  super();
435
435
  /** The Svelte component constructor */
@@ -466,7 +466,7 @@ typeof HTMLElement == "function" && (tr = class extends HTMLElement {
466
466
  }
467
467
  }
468
468
  connectedCallback() {
469
- return Et(this, null, function* () {
469
+ return yt(this, null, function* () {
470
470
  if (this.$$cn = !0, !this.$$c) {
471
471
  let t = function(o) {
472
472
  return () => {
@@ -483,14 +483,14 @@ typeof HTMLElement == "function" && (tr = class extends HTMLElement {
483
483
  W(u, s, h);
484
484
  },
485
485
  d: function(u) {
486
- u && j(s);
486
+ u && F(s);
487
487
  }
488
488
  };
489
489
  };
490
490
  };
491
491
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
492
492
  return;
493
- const r = {}, i = ai(this);
493
+ const r = {}, i = ri(this);
494
494
  for (const o of this.$$s)
495
495
  o in i && (r[o] = [t(o)]);
496
496
  for (const o of this.attributes) {
@@ -501,7 +501,7 @@ typeof HTMLElement == "function" && (tr = class extends HTMLElement {
501
501
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
502
502
  this.$$c = new this.$$ctor({
503
503
  target: this.shadowRoot || this,
504
- props: _t(be({}, this.$$d), {
504
+ props: dt(ge({}, this.$$d), {
505
505
  $$slots: r,
506
506
  $$scope: {
507
507
  ctx: []
@@ -579,8 +579,8 @@ function Te(e, t, r, i) {
579
579
  return t;
580
580
  }
581
581
  }
582
- function gi(e, t, r, i, n, o) {
583
- let s = class extends tr {
582
+ function fi(e, t, r, i, n, o) {
583
+ let s = class extends Yt {
584
584
  constructor() {
585
585
  super(e, r, n), this.$$p_d = t;
586
586
  }
@@ -610,7 +610,7 @@ function gi(e, t, r, i, n, o) {
610
610
  }), e.element = /** @type {any} */
611
611
  s, s;
612
612
  }
613
- class bi {
613
+ class mi {
614
614
  constructor() {
615
615
  /**
616
616
  * ### PRIVATE API
@@ -631,7 +631,7 @@ class bi {
631
631
  }
632
632
  /** @returns {void} */
633
633
  $destroy() {
634
- pi(this, 1), this.$destroy = C;
634
+ li(this, 1), this.$destroy = C;
635
635
  }
636
636
  /**
637
637
  * @template {Extract<keyof Events, string>} K
@@ -640,7 +640,7 @@ class bi {
640
640
  * @returns {() => void}
641
641
  */
642
642
  $on(t, r) {
643
- if (!dt(r))
643
+ if (!ht(r))
644
644
  return C;
645
645
  const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
646
646
  return i.push(r), () => {
@@ -653,11 +653,11 @@ class bi {
653
653
  * @returns {void}
654
654
  */
655
655
  $set(t) {
656
- this.$$set && !qr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
656
+ this.$$set && !Xr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
657
657
  }
658
658
  }
659
- const vi = "4";
660
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(vi);
659
+ const pi = "4";
660
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(pi);
661
661
  /*! *****************************************************************************
662
662
  Copyright (c) Microsoft Corporation.
663
663
 
@@ -672,24 +672,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
672
672
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
673
673
  PERFORMANCE OF THIS SOFTWARE.
674
674
  ***************************************************************************** */
675
- var et = function(e, t) {
676
- return et = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
675
+ var Je = function(e, t) {
676
+ return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
677
677
  r.__proto__ = i;
678
678
  } || function(r, i) {
679
679
  for (var n in i)
680
680
  Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
681
- }, et(e, t);
681
+ }, Je(e, t);
682
682
  };
683
- function me(e, t) {
683
+ function j(e, t) {
684
684
  if (typeof t != "function" && t !== null)
685
685
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
686
- et(e, t);
686
+ Je(e, t);
687
687
  function r() {
688
688
  this.constructor = e;
689
689
  }
690
690
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
691
691
  }
692
- function tt(e) {
692
+ var x = function() {
693
+ return x = Object.assign || function(t) {
694
+ for (var r, i = 1, n = arguments.length; i < n; i++) {
695
+ r = arguments[i];
696
+ for (var o in r)
697
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
698
+ }
699
+ return t;
700
+ }, x.apply(this, arguments);
701
+ };
702
+ function di(e, t) {
703
+ var r = {};
704
+ for (var i in e)
705
+ Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
706
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
707
+ for (var n = 0, i = Object.getOwnPropertySymbols(e); n < i.length; n++)
708
+ t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
709
+ return r;
710
+ }
711
+ function qe(e) {
693
712
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
694
713
  if (r)
695
714
  return r.call(e);
@@ -701,7 +720,7 @@ function tt(e) {
701
720
  };
702
721
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
703
722
  }
704
- function rt(e, t) {
723
+ function Ke(e, t) {
705
724
  var r = typeof Symbol == "function" && e[Symbol.iterator];
706
725
  if (!r)
707
726
  return e;
@@ -721,22 +740,22 @@ function rt(e, t) {
721
740
  }
722
741
  return o;
723
742
  }
724
- function it(e, t, r) {
725
- if (arguments.length === 2)
743
+ function K(e, t, r) {
744
+ if (r || arguments.length === 2)
726
745
  for (var i = 0, n = t.length, o; i < n; i++)
727
746
  (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
728
747
  return e.concat(o || t);
729
748
  }
730
- function F(e) {
749
+ function G(e) {
731
750
  return typeof e == "function";
732
751
  }
733
- function rr(e) {
752
+ function Jt(e) {
734
753
  var t = function(i) {
735
754
  Error.call(i), i.stack = new Error().stack;
736
755
  }, r = e(t);
737
756
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
738
757
  }
739
- var ke = rr(function(e) {
758
+ var Fe = Jt(function(e) {
740
759
  return function(r) {
741
760
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
742
761
  ` + r.map(function(i, n) {
@@ -745,13 +764,13 @@ var ke = rr(function(e) {
745
764
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
746
765
  };
747
766
  });
748
- function nt(e, t) {
767
+ function et(e, t) {
749
768
  if (e) {
750
769
  var r = e.indexOf(t);
751
770
  0 <= r && e.splice(r, 1);
752
771
  }
753
772
  }
754
- var Ce = function() {
773
+ var Oe = function() {
755
774
  function e(t) {
756
775
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
757
776
  }
@@ -763,7 +782,7 @@ var Ce = function() {
763
782
  if (s)
764
783
  if (this._parentage = null, Array.isArray(s))
765
784
  try {
766
- for (var a = tt(s), l = a.next(); !l.done; l = a.next()) {
785
+ for (var a = qe(s), l = a.next(); !l.done; l = a.next()) {
767
786
  var u = l.value;
768
787
  u.remove(this);
769
788
  }
@@ -780,22 +799,22 @@ var Ce = function() {
780
799
  else
781
800
  s.remove(this);
782
801
  var h = this.initialTeardown;
783
- if (F(h))
802
+ if (G(h))
784
803
  try {
785
804
  h();
786
805
  } catch (d) {
787
- o = d instanceof ke ? d.errors : [d];
806
+ o = d instanceof Fe ? d.errors : [d];
788
807
  }
789
808
  var c = this._finalizers;
790
809
  if (c) {
791
810
  this._finalizers = null;
792
811
  try {
793
- for (var f = tt(c), p = f.next(); !p.done; p = f.next()) {
812
+ for (var f = qe(c), p = f.next(); !p.done; p = f.next()) {
794
813
  var y = p.value;
795
814
  try {
796
- St(y);
815
+ xt(y);
797
816
  } catch (d) {
798
- o = o != null ? o : [], d instanceof ke ? o = it(it([], rt(o)), rt(d.errors)) : o.push(d);
817
+ o = o != null ? o : [], d instanceof Fe ? o = K(K([], Ke(o)), Ke(d.errors)) : o.push(d);
799
818
  }
800
819
  }
801
820
  } catch (d) {
@@ -810,13 +829,13 @@ var Ce = function() {
810
829
  }
811
830
  }
812
831
  if (o)
813
- throw new ke(o);
832
+ throw new Fe(o);
814
833
  }
815
834
  }, e.prototype.add = function(t) {
816
835
  var r;
817
836
  if (t && t !== this)
818
837
  if (this.closed)
819
- St(t);
838
+ xt(t);
820
839
  else {
821
840
  if (t instanceof e) {
822
841
  if (t.closed || t._hasParent(this))
@@ -833,52 +852,52 @@ var Ce = function() {
833
852
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
834
853
  }, e.prototype._removeParent = function(t) {
835
854
  var r = this._parentage;
836
- r === t ? this._parentage = null : Array.isArray(r) && nt(r, t);
855
+ r === t ? this._parentage = null : Array.isArray(r) && et(r, t);
837
856
  }, e.prototype.remove = function(t) {
838
857
  var r = this._finalizers;
839
- r && nt(r, t), t instanceof e && t._removeParent(this);
858
+ r && et(r, t), t instanceof e && t._removeParent(this);
840
859
  }, e.EMPTY = function() {
841
860
  var t = new e();
842
861
  return t.closed = !0, t;
843
862
  }(), e;
844
- }(), ir = Ce.EMPTY;
845
- function nr(e) {
846
- return e instanceof Ce || e && "closed" in e && F(e.remove) && F(e.add) && F(e.unsubscribe);
863
+ }(), qt = Oe.EMPTY;
864
+ function Kt(e) {
865
+ return e instanceof Oe || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
847
866
  }
848
- function St(e) {
849
- F(e) ? e() : e.unsubscribe();
867
+ function xt(e) {
868
+ G(e) ? e() : e.unsubscribe();
850
869
  }
851
- var _i = {
870
+ var yi = {
852
871
  Promise: void 0
853
- }, Ei = {
872
+ }, bi = {
854
873
  setTimeout: function(e, t) {
855
874
  for (var r = [], i = 2; i < arguments.length; i++)
856
875
  r[i - 2] = arguments[i];
857
- return setTimeout.apply(void 0, it([e, t], rt(r)));
876
+ return setTimeout.apply(void 0, K([e, t], Ke(r)));
858
877
  },
859
878
  clearTimeout: function(e) {
860
879
  return clearTimeout(e);
861
880
  },
862
881
  delegate: void 0
863
882
  };
864
- function xi(e) {
865
- Ei.setTimeout(function() {
883
+ function gi(e) {
884
+ bi.setTimeout(function() {
866
885
  throw e;
867
886
  });
868
887
  }
869
- function At() {
888
+ function Et() {
870
889
  }
871
890
  function Le(e) {
872
891
  e();
873
892
  }
874
- var or = function(e) {
875
- me(t, e);
893
+ var er = function(e) {
894
+ j(t, e);
876
895
  function t(r) {
877
896
  var i = e.call(this) || this;
878
- return i.isStopped = !1, r ? (i.destination = r, nr(r) && r.add(i)) : i.destination = Li, i;
897
+ return i.isStopped = !1, r ? (i.destination = r, Kt(r) && r.add(i)) : i.destination = xi, i;
879
898
  }
880
899
  return t.create = function(r, i, n) {
881
- return new ot(r, i, n);
900
+ return new tt(r, i, n);
882
901
  }, t.prototype.next = function(r) {
883
902
  this.isStopped || this._next(r);
884
903
  }, t.prototype.error = function(r) {
@@ -902,7 +921,7 @@ var or = function(e) {
902
921
  this.unsubscribe();
903
922
  }
904
923
  }, t;
905
- }(Ce), wi = function() {
924
+ }(Oe), vi = function() {
906
925
  function e(t) {
907
926
  this.partialObserver = t;
908
927
  }
@@ -933,43 +952,43 @@ var or = function(e) {
933
952
  _e(r);
934
953
  }
935
954
  }, e;
936
- }(), ot = function(e) {
937
- me(t, e);
955
+ }(), tt = function(e) {
956
+ j(t, e);
938
957
  function t(r, i, n) {
939
958
  var o = e.call(this) || this, s;
940
- return F(r) || !r ? s = {
959
+ return G(r) || !r ? s = {
941
960
  next: r != null ? r : void 0,
942
961
  error: i != null ? i : void 0,
943
962
  complete: n != null ? n : void 0
944
- } : s = r, o.destination = new wi(s), o;
963
+ } : s = r, o.destination = new vi(s), o;
945
964
  }
946
965
  return t;
947
- }(or);
966
+ }(er);
948
967
  function _e(e) {
949
- xi(e);
968
+ gi(e);
950
969
  }
951
- function Ti(e) {
970
+ function _i(e) {
952
971
  throw e;
953
972
  }
954
- var Li = {
973
+ var xi = {
955
974
  closed: !0,
956
- next: At,
957
- error: Ti,
958
- complete: At
959
- }, Si = function() {
975
+ next: Et,
976
+ error: _i,
977
+ complete: Et
978
+ }, Ei = function() {
960
979
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
961
980
  }();
962
- function Ai(e) {
981
+ function wi(e) {
963
982
  return e;
964
983
  }
965
- function Pi(e) {
966
- return e.length === 0 ? Ai : e.length === 1 ? e[0] : function(r) {
984
+ function Ti(e) {
985
+ return e.length === 0 ? wi : e.length === 1 ? e[0] : function(r) {
967
986
  return e.reduce(function(i, n) {
968
987
  return n(i);
969
988
  }, r);
970
989
  };
971
990
  }
972
- var Pt = function() {
991
+ var wt = function() {
973
992
  function e(t) {
974
993
  t && (this._subscribe = t);
975
994
  }
@@ -977,7 +996,7 @@ var Pt = function() {
977
996
  var r = new e();
978
997
  return r.source = this, r.operator = t, r;
979
998
  }, e.prototype.subscribe = function(t, r, i) {
980
- var n = this, o = Bi(t) ? t : new ot(t, r, i);
999
+ var n = this, o = Si(t) ? t : new tt(t, r, i);
981
1000
  return Le(function() {
982
1001
  var s = n, a = s.operator, l = s.source;
983
1002
  o.add(a ? a.call(o, l) : l ? n._subscribe(o) : n._trySubscribe(o));
@@ -990,8 +1009,8 @@ var Pt = function() {
990
1009
  }
991
1010
  }, e.prototype.forEach = function(t, r) {
992
1011
  var i = this;
993
- return r = Ht(r), new r(function(n, o) {
994
- var s = new ot({
1012
+ return r = Tt(r), new r(function(n, o) {
1013
+ var s = new tt({
995
1014
  next: function(a) {
996
1015
  try {
997
1016
  t(a);
@@ -1007,15 +1026,15 @@ var Pt = function() {
1007
1026
  }, e.prototype._subscribe = function(t) {
1008
1027
  var r;
1009
1028
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1010
- }, e.prototype[Si] = function() {
1029
+ }, e.prototype[Ei] = function() {
1011
1030
  return this;
1012
1031
  }, e.prototype.pipe = function() {
1013
1032
  for (var t = [], r = 0; r < arguments.length; r++)
1014
1033
  t[r] = arguments[r];
1015
- return Pi(t)(this);
1034
+ return Ti(t)(this);
1016
1035
  }, e.prototype.toPromise = function(t) {
1017
1036
  var r = this;
1018
- return t = Ht(t), new t(function(i, n) {
1037
+ return t = Tt(t), new t(function(i, n) {
1019
1038
  var o;
1020
1039
  r.subscribe(function(s) {
1021
1040
  return o = s;
@@ -1029,32 +1048,32 @@ var Pt = function() {
1029
1048
  return new e(t);
1030
1049
  }, e;
1031
1050
  }();
1032
- function Ht(e) {
1051
+ function Tt(e) {
1033
1052
  var t;
1034
- return (t = e != null ? e : _i.Promise) !== null && t !== void 0 ? t : Promise;
1053
+ return (t = e != null ? e : yi.Promise) !== null && t !== void 0 ? t : Promise;
1035
1054
  }
1036
- function Hi(e) {
1037
- return e && F(e.next) && F(e.error) && F(e.complete);
1055
+ function Li(e) {
1056
+ return e && G(e.next) && G(e.error) && G(e.complete);
1038
1057
  }
1039
- function Bi(e) {
1040
- return e && e instanceof or || Hi(e) && nr(e);
1058
+ function Si(e) {
1059
+ return e && e instanceof er || Li(e) && Kt(e);
1041
1060
  }
1042
- var Oi = rr(function(e) {
1061
+ var Ai = Jt(function(e) {
1043
1062
  return function() {
1044
1063
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1045
1064
  };
1046
- }), sr = function(e) {
1047
- me(t, e);
1065
+ }), tr = function(e) {
1066
+ j(t, e);
1048
1067
  function t() {
1049
1068
  var r = e.call(this) || this;
1050
1069
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1051
1070
  }
1052
1071
  return t.prototype.lift = function(r) {
1053
- var i = new Bt(this, this);
1072
+ var i = new Lt(this, this);
1054
1073
  return i.operator = r, i;
1055
1074
  }, t.prototype._throwIfClosed = function() {
1056
1075
  if (this.closed)
1057
- throw new Oi();
1076
+ throw new Ai();
1058
1077
  }, t.prototype.next = function(r) {
1059
1078
  var i = this;
1060
1079
  Le(function() {
@@ -1062,7 +1081,7 @@ var Oi = rr(function(e) {
1062
1081
  if (i._throwIfClosed(), !i.isStopped) {
1063
1082
  i.currentObservers || (i.currentObservers = Array.from(i.observers));
1064
1083
  try {
1065
- for (var s = tt(i.currentObservers), a = s.next(); !a.done; a = s.next()) {
1084
+ for (var s = qe(i.currentObservers), a = s.next(); !a.done; a = s.next()) {
1066
1085
  var l = a.value;
1067
1086
  l.next(r);
1068
1087
  }
@@ -1111,20 +1130,20 @@ var Oi = rr(function(e) {
1111
1130
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1112
1131
  }, t.prototype._innerSubscribe = function(r) {
1113
1132
  var i = this, n = this, o = n.hasError, s = n.isStopped, a = n.observers;
1114
- return o || s ? ir : (this.currentObservers = null, a.push(r), new Ce(function() {
1115
- i.currentObservers = null, nt(a, r);
1133
+ return o || s ? qt : (this.currentObservers = null, a.push(r), new Oe(function() {
1134
+ i.currentObservers = null, et(a, r);
1116
1135
  }));
1117
1136
  }, t.prototype._checkFinalizedStatuses = function(r) {
1118
1137
  var i = this, n = i.hasError, o = i.thrownError, s = i.isStopped;
1119
1138
  n ? r.error(o) : s && r.complete();
1120
1139
  }, t.prototype.asObservable = function() {
1121
- var r = new Pt();
1140
+ var r = new wt();
1122
1141
  return r.source = this, r;
1123
1142
  }, t.create = function(r, i) {
1124
- return new Bt(r, i);
1143
+ return new Lt(r, i);
1125
1144
  }, t;
1126
- }(Pt), Bt = function(e) {
1127
- me(t, e);
1145
+ }(wt), Lt = function(e) {
1146
+ j(t, e);
1128
1147
  function t(r, i) {
1129
1148
  var n = e.call(this) || this;
1130
1149
  return n.destination = r, n.source = i, n;
@@ -1140,17 +1159,17 @@ var Oi = rr(function(e) {
1140
1159
  (i = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || i === void 0 || i.call(r);
1141
1160
  }, t.prototype._subscribe = function(r) {
1142
1161
  var i, n;
1143
- return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : ir;
1162
+ return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : qt;
1144
1163
  }, t;
1145
- }(sr), ar = {
1164
+ }(tr), rr = {
1146
1165
  now: function() {
1147
- return (ar.delegate || Date).now();
1166
+ return (rr.delegate || Date).now();
1148
1167
  },
1149
1168
  delegate: void 0
1150
- }, Ci = function(e) {
1151
- me(t, e);
1169
+ }, Pi = function(e) {
1170
+ j(t, e);
1152
1171
  function t(r, i, n) {
1153
- r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = ar);
1172
+ r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = rr);
1154
1173
  var o = e.call(this) || this;
1155
1174
  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;
1156
1175
  }
@@ -1170,24 +1189,24 @@ var Oi = rr(function(e) {
1170
1189
  u && o.splice(0, u + 1);
1171
1190
  }
1172
1191
  }, t;
1173
- }(sr);
1174
- const Ot = [], Ct = {}, Ii = (e, t = 0) => {
1175
- if (Ot.indexOf(e) == -1) {
1176
- const r = new Ci(t);
1177
- Ct[e] = r, Ot.push(e);
1192
+ }(tr);
1193
+ const St = [], At = {}, Hi = (e, t = 0) => {
1194
+ if (St.indexOf(e) == -1) {
1195
+ const r = new Pi(t);
1196
+ At[e] = r, St.push(e);
1178
1197
  }
1179
- return Ct[e];
1198
+ return At[e];
1180
1199
  }, Y = [];
1181
- function Ni(e, t) {
1200
+ function Bi(e, t) {
1182
1201
  return {
1183
- subscribe: Ie(e, t).subscribe
1202
+ subscribe: Ce(e, t).subscribe
1184
1203
  };
1185
1204
  }
1186
- function Ie(e, t = C) {
1205
+ function Ce(e, t = C) {
1187
1206
  let r;
1188
1207
  const i = /* @__PURE__ */ new Set();
1189
1208
  function n(a) {
1190
- if (Yt(e, a) && (e = a, r)) {
1209
+ if (Wt(e, a) && (e = a, r)) {
1191
1210
  const l = !Y.length;
1192
1211
  for (const u of i)
1193
1212
  u[1](), Y.push(u, e);
@@ -1209,12 +1228,12 @@ function Ie(e, t = C) {
1209
1228
  }
1210
1229
  return { set: n, update: o, subscribe: s };
1211
1230
  }
1212
- function ne(e, t, r) {
1231
+ function oe(e, t, r) {
1213
1232
  const i = !Array.isArray(e), n = i ? [e] : e;
1214
1233
  if (!n.every(Boolean))
1215
1234
  throw new Error("derived() expects stores as input, got a falsy value");
1216
1235
  const o = t.length < 2;
1217
- return Ni(r, (s, a) => {
1236
+ return Bi(r, (s, a) => {
1218
1237
  let l = !1;
1219
1238
  const u = [];
1220
1239
  let h = 0, c = C;
@@ -1223,9 +1242,9 @@ function ne(e, t, r) {
1223
1242
  return;
1224
1243
  c();
1225
1244
  const y = t(i ? u[0] : u, s, a);
1226
- o ? s(y) : c = dt(y) ? y : C;
1245
+ o ? s(y) : c = ht(y) ? y : C;
1227
1246
  }, p = n.map(
1228
- (y, d) => Jt(
1247
+ (y, d) => zt(
1229
1248
  y,
1230
1249
  (v) => {
1231
1250
  u[d] = v, h &= ~(1 << d), l && f();
@@ -1236,157 +1255,115 @@ function ne(e, t, r) {
1236
1255
  )
1237
1256
  );
1238
1257
  return l = !0, f(), function() {
1239
- ie(p), c(), l = !1;
1258
+ ne(p), c(), l = !1;
1240
1259
  };
1241
1260
  });
1242
1261
  }
1243
- function Mi(e) {
1262
+ function Oi(e) {
1244
1263
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1245
1264
  }
1246
- var Ri = function(t) {
1247
- return Di(t) && !$i(t);
1265
+ var Ci = function(t) {
1266
+ return Ii(t) && !Ni(t);
1248
1267
  };
1249
- function Di(e) {
1268
+ function Ii(e) {
1250
1269
  return !!e && typeof e == "object";
1251
1270
  }
1252
- function $i(e) {
1271
+ function Ni(e) {
1253
1272
  var t = Object.prototype.toString.call(e);
1254
- return t === "[object RegExp]" || t === "[object Date]" || Fi(e);
1273
+ return t === "[object RegExp]" || t === "[object Date]" || Di(e);
1255
1274
  }
1256
- var Ui = typeof Symbol == "function" && Symbol.for, Gi = Ui ? Symbol.for("react.element") : 60103;
1257
- function Fi(e) {
1258
- return e.$$typeof === Gi;
1275
+ var Mi = typeof Symbol == "function" && Symbol.for, Ri = Mi ? Symbol.for("react.element") : 60103;
1276
+ function Di(e) {
1277
+ return e.$$typeof === Ri;
1259
1278
  }
1260
- function ji(e) {
1279
+ function Ui(e) {
1261
1280
  return Array.isArray(e) ? [] : {};
1262
1281
  }
1263
- function ce(e, t) {
1264
- return t.clone !== !1 && t.isMergeableObject(e) ? K(ji(e), e, t) : e;
1282
+ function fe(e, t) {
1283
+ return t.clone !== !1 && t.isMergeableObject(e) ? ee(Ui(e), e, t) : e;
1265
1284
  }
1266
- function ki(e, t, r) {
1285
+ function $i(e, t, r) {
1267
1286
  return e.concat(t).map(function(i) {
1268
- return ce(i, r);
1287
+ return fe(i, r);
1269
1288
  });
1270
1289
  }
1271
- function Vi(e, t) {
1290
+ function Gi(e, t) {
1272
1291
  if (!t.customMerge)
1273
- return K;
1292
+ return ee;
1274
1293
  var r = t.customMerge(e);
1275
- return typeof r == "function" ? r : K;
1294
+ return typeof r == "function" ? r : ee;
1276
1295
  }
1277
- function Wi(e) {
1296
+ function Fi(e) {
1278
1297
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1279
1298
  return Object.propertyIsEnumerable.call(e, t);
1280
1299
  }) : [];
1281
1300
  }
1282
- function It(e) {
1283
- return Object.keys(e).concat(Wi(e));
1301
+ function Pt(e) {
1302
+ return Object.keys(e).concat(Fi(e));
1284
1303
  }
1285
- function ur(e, t) {
1304
+ function ir(e, t) {
1286
1305
  try {
1287
1306
  return t in e;
1288
1307
  } catch (r) {
1289
1308
  return !1;
1290
1309
  }
1291
1310
  }
1292
- function zi(e, t) {
1293
- return ur(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1311
+ function ji(e, t) {
1312
+ return ir(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1294
1313
  }
1295
- function Xi(e, t, r) {
1314
+ function ki(e, t, r) {
1296
1315
  var i = {};
1297
- return r.isMergeableObject(e) && It(e).forEach(function(n) {
1298
- i[n] = ce(e[n], r);
1299
- }), It(t).forEach(function(n) {
1300
- zi(e, n) || (ur(e, n) && r.isMergeableObject(t[n]) ? i[n] = Vi(n, r)(e[n], t[n], r) : i[n] = ce(t[n], r));
1316
+ return r.isMergeableObject(e) && Pt(e).forEach(function(n) {
1317
+ i[n] = fe(e[n], r);
1318
+ }), Pt(t).forEach(function(n) {
1319
+ ji(e, n) || (ir(e, n) && r.isMergeableObject(t[n]) ? i[n] = Gi(n, r)(e[n], t[n], r) : i[n] = fe(t[n], r));
1301
1320
  }), i;
1302
1321
  }
1303
- function K(e, t, r) {
1304
- r = r || {}, r.arrayMerge = r.arrayMerge || ki, r.isMergeableObject = r.isMergeableObject || Ri, r.cloneUnlessOtherwiseSpecified = ce;
1322
+ function ee(e, t, r) {
1323
+ r = r || {}, r.arrayMerge = r.arrayMerge || $i, r.isMergeableObject = r.isMergeableObject || Ci, r.cloneUnlessOtherwiseSpecified = fe;
1305
1324
  var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
1306
- return o ? i ? r.arrayMerge(e, t, r) : Xi(e, t, r) : ce(t, r);
1325
+ return o ? i ? r.arrayMerge(e, t, r) : ki(e, t, r) : fe(t, r);
1307
1326
  }
1308
- K.all = function(t, r) {
1327
+ ee.all = function(t, r) {
1309
1328
  if (!Array.isArray(t))
1310
1329
  throw new Error("first argument should be an array");
1311
1330
  return t.reduce(function(i, n) {
1312
- return K(i, n, r);
1331
+ return ee(i, n, r);
1313
1332
  }, {});
1314
1333
  };
1315
- var Zi = K, Qi = Zi;
1316
- const Yi = /* @__PURE__ */ Mi(Qi);
1317
- var st = function(e, t) {
1318
- return st = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
1319
- r.__proto__ = i;
1320
- } || function(r, i) {
1321
- for (var n in i)
1322
- Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
1323
- }, st(e, t);
1324
- };
1325
- function Ne(e, t) {
1326
- if (typeof t != "function" && t !== null)
1327
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1328
- st(e, t);
1329
- function r() {
1330
- this.constructor = e;
1331
- }
1332
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1333
- }
1334
- var R = function() {
1335
- return R = Object.assign || function(t) {
1336
- for (var r, i = 1, n = arguments.length; i < n; i++) {
1337
- r = arguments[i];
1338
- for (var o in r)
1339
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1340
- }
1341
- return t;
1342
- }, R.apply(this, arguments);
1343
- };
1344
- function Ji(e, t) {
1345
- var r = {};
1346
- for (var i in e)
1347
- Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
1348
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
1349
- for (var n = 0, i = Object.getOwnPropertySymbols(e); n < i.length; n++)
1350
- t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
1351
- return r;
1352
- }
1353
- function Ve(e, t, r) {
1354
- if (r || arguments.length === 2)
1355
- for (var i = 0, n = t.length, o; i < n; i++)
1356
- (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
1357
- return e.concat(o || Array.prototype.slice.call(t));
1358
- }
1359
- function We(e, t) {
1360
- var r = t && t.cache ? t.cache : on, i = t && t.serializer ? t.serializer : rn, n = t && t.strategy ? t.strategy : en;
1334
+ var Vi = ee, Wi = Vi;
1335
+ const zi = /* @__PURE__ */ Oi(Wi);
1336
+ function je(e, t) {
1337
+ var r = t && t.cache ? t.cache : Ki, i = t && t.serializer ? t.serializer : Ji, n = t && t.strategy ? t.strategy : Qi;
1361
1338
  return n(e, {
1362
1339
  cache: r,
1363
1340
  serializer: i
1364
1341
  });
1365
1342
  }
1366
- function qi(e) {
1343
+ function Xi(e) {
1367
1344
  return e == null || typeof e == "number" || typeof e == "boolean";
1368
1345
  }
1369
- function Ki(e, t, r, i) {
1370
- var n = qi(i) ? i : r(i), o = t.get(n);
1346
+ function Zi(e, t, r, i) {
1347
+ var n = Xi(i) ? i : r(i), o = t.get(n);
1371
1348
  return typeof o == "undefined" && (o = e.call(this, i), t.set(n, o)), o;
1372
1349
  }
1373
- function lr(e, t, r) {
1350
+ function nr(e, t, r) {
1374
1351
  var i = Array.prototype.slice.call(arguments, 3), n = r(i), o = t.get(n);
1375
1352
  return typeof o == "undefined" && (o = e.apply(this, i), t.set(n, o)), o;
1376
1353
  }
1377
- function hr(e, t, r, i, n) {
1354
+ function or(e, t, r, i, n) {
1378
1355
  return r.bind(t, e, i, n);
1379
1356
  }
1380
- function en(e, t) {
1381
- var r = e.length === 1 ? Ki : lr;
1382
- return hr(e, this, r, t.cache.create(), t.serializer);
1357
+ function Qi(e, t) {
1358
+ var r = e.length === 1 ? Zi : nr;
1359
+ return or(e, this, r, t.cache.create(), t.serializer);
1383
1360
  }
1384
- function tn(e, t) {
1385
- return hr(e, this, lr, t.cache.create(), t.serializer);
1361
+ function Yi(e, t) {
1362
+ return or(e, this, nr, t.cache.create(), t.serializer);
1386
1363
  }
1387
- var rn = function() {
1364
+ var Ji = function() {
1388
1365
  return JSON.stringify(arguments);
1389
- }, nn = (
1366
+ }, qi = (
1390
1367
  /** @class */
1391
1368
  function() {
1392
1369
  function e() {
@@ -1398,71 +1375,61 @@ var rn = function() {
1398
1375
  this.cache[t] = r;
1399
1376
  }, e;
1400
1377
  }()
1401
- ), on = {
1378
+ ), Ki = {
1402
1379
  create: function() {
1403
- return new nn();
1380
+ return new qi();
1404
1381
  }
1405
- }, ze = {
1406
- variadic: tn
1407
- }, He = function() {
1408
- return He = Object.assign || function(t) {
1409
- for (var r, i = 1, n = arguments.length; i < n; i++) {
1410
- r = arguments[i];
1411
- for (var o in r)
1412
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1413
- }
1414
- return t;
1415
- }, He.apply(this, arguments);
1416
- };
1417
- var b;
1382
+ }, ke = {
1383
+ variadic: Yi
1384
+ }, g;
1418
1385
  (function(e) {
1419
1386
  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";
1420
- })(b || (b = {}));
1421
- var T;
1387
+ })(g || (g = {}));
1388
+ var L;
1422
1389
  (function(e) {
1423
1390
  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";
1424
- })(T || (T = {}));
1425
- var ee;
1391
+ })(L || (L = {}));
1392
+ var te;
1426
1393
  (function(e) {
1427
1394
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1428
- })(ee || (ee = {}));
1429
- function Nt(e) {
1430
- return e.type === T.literal;
1395
+ })(te || (te = {}));
1396
+ function Ht(e) {
1397
+ return e.type === L.literal;
1431
1398
  }
1432
- function sn(e) {
1433
- return e.type === T.argument;
1399
+ function en(e) {
1400
+ return e.type === L.argument;
1434
1401
  }
1435
- function cr(e) {
1436
- return e.type === T.number;
1402
+ function sr(e) {
1403
+ return e.type === L.number;
1437
1404
  }
1438
- function fr(e) {
1439
- return e.type === T.date;
1405
+ function ar(e) {
1406
+ return e.type === L.date;
1440
1407
  }
1441
- function mr(e) {
1442
- return e.type === T.time;
1408
+ function ur(e) {
1409
+ return e.type === L.time;
1443
1410
  }
1444
- function pr(e) {
1445
- return e.type === T.select;
1411
+ function lr(e) {
1412
+ return e.type === L.select;
1446
1413
  }
1447
- function dr(e) {
1448
- return e.type === T.plural;
1414
+ function hr(e) {
1415
+ return e.type === L.plural;
1449
1416
  }
1450
- function an(e) {
1451
- return e.type === T.pound;
1417
+ function tn(e) {
1418
+ return e.type === L.pound;
1452
1419
  }
1453
- function yr(e) {
1454
- return e.type === T.tag;
1420
+ function cr(e) {
1421
+ return e.type === L.tag;
1455
1422
  }
1456
- function gr(e) {
1457
- return !!(e && typeof e == "object" && e.type === ee.number);
1423
+ function fr(e) {
1424
+ return !!(e && typeof e == "object" && e.type === te.number);
1458
1425
  }
1459
- function at(e) {
1460
- return !!(e && typeof e == "object" && e.type === ee.dateTime);
1426
+ function rt(e) {
1427
+ return !!(e && typeof e == "object" && e.type === te.dateTime);
1461
1428
  }
1462
- var br = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, un = /(?:[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;
1463
- function ln(e) {
1429
+ var mr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, rn = /(?:[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;
1430
+ function nn(e) {
1464
1431
  var t = {};
1465
- return e.replace(un, function(r) {
1432
+ return e.replace(rn, function(r) {
1466
1433
  var i = r.length;
1467
1434
  switch (r[0]) {
1468
1435
  case "G":
@@ -1551,21 +1518,11 @@ function ln(e) {
1551
1518
  return "";
1552
1519
  }), t;
1553
1520
  }
1554
- var S = function() {
1555
- return S = Object.assign || function(t) {
1556
- for (var r, i = 1, n = arguments.length; i < n; i++) {
1557
- r = arguments[i];
1558
- for (var o in r)
1559
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1560
- }
1561
- return t;
1562
- }, S.apply(this, arguments);
1563
- };
1564
- var hn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1565
- function cn(e) {
1521
+ var on = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1522
+ function sn(e) {
1566
1523
  if (e.length === 0)
1567
1524
  throw new Error("Number skeleton cannot be empty");
1568
- for (var t = e.split(hn).filter(function(f) {
1525
+ for (var t = e.split(on).filter(function(f) {
1569
1526
  return f.length > 0;
1570
1527
  }), r = [], i = 0, n = t; i < n.length; i++) {
1571
1528
  var o = n[i], s = o.split("/");
@@ -1580,17 +1537,17 @@ function cn(e) {
1580
1537
  }
1581
1538
  return r;
1582
1539
  }
1583
- function fn(e) {
1540
+ function an(e) {
1584
1541
  return e.replace(/^(.*?)-/, "");
1585
1542
  }
1586
- var Mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, vr = /^(@+)?(\+|#+)?[rs]?$/g, mn = /(\*)(0+)|(#+)(0+)|(0+)/g, _r = /^(0+)$/;
1587
- function Rt(e) {
1543
+ var Bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, pr = /^(@+)?(\+|#+)?[rs]?$/g, un = /(\*)(0+)|(#+)(0+)|(0+)/g, dr = /^(0+)$/;
1544
+ function Ot(e) {
1588
1545
  var t = {};
1589
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(vr, function(r, i, n) {
1546
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(pr, function(r, i, n) {
1590
1547
  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)), "";
1591
1548
  }), t;
1592
1549
  }
1593
- function Er(e) {
1550
+ function yr(e) {
1594
1551
  switch (e) {
1595
1552
  case "sign-auto":
1596
1553
  return {
@@ -1630,7 +1587,7 @@ function Er(e) {
1630
1587
  };
1631
1588
  }
1632
1589
  }
1633
- function pn(e) {
1590
+ function ln(e) {
1634
1591
  var t;
1635
1592
  if (e[0] === "E" && e[1] === "E" ? (t = {
1636
1593
  notation: "engineering"
@@ -1638,17 +1595,17 @@ function pn(e) {
1638
1595
  notation: "scientific"
1639
1596
  }, e = e.slice(1)), t) {
1640
1597
  var r = e.slice(0, 2);
1641
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !_r.test(e))
1598
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !dr.test(e))
1642
1599
  throw new Error("Malformed concise eng/scientific notation");
1643
1600
  t.minimumIntegerDigits = e.length;
1644
1601
  }
1645
1602
  return t;
1646
1603
  }
1647
- function Dt(e) {
1648
- var t = {}, r = Er(e);
1604
+ function Ct(e) {
1605
+ var t = {}, r = yr(e);
1649
1606
  return r || t;
1650
1607
  }
1651
- function dn(e) {
1608
+ function hn(e) {
1652
1609
  for (var t = {}, r = 0, i = e; r < i.length; r++) {
1653
1610
  var n = i[r];
1654
1611
  switch (n.stem) {
@@ -1672,7 +1629,7 @@ function dn(e) {
1672
1629
  continue;
1673
1630
  case "measure-unit":
1674
1631
  case "unit":
1675
- t.style = "unit", t.unit = fn(n.options[0]);
1632
+ t.style = "unit", t.unit = an(n.options[0]);
1676
1633
  continue;
1677
1634
  case "compact-short":
1678
1635
  case "K":
@@ -1683,13 +1640,13 @@ function dn(e) {
1683
1640
  t.notation = "compact", t.compactDisplay = "long";
1684
1641
  continue;
1685
1642
  case "scientific":
1686
- t = S(S(S({}, t), { notation: "scientific" }), n.options.reduce(function(l, u) {
1687
- return S(S({}, l), Dt(u));
1643
+ t = x(x(x({}, t), { notation: "scientific" }), n.options.reduce(function(l, u) {
1644
+ return x(x({}, l), Ct(u));
1688
1645
  }, {}));
1689
1646
  continue;
1690
1647
  case "engineering":
1691
- t = S(S(S({}, t), { notation: "engineering" }), n.options.reduce(function(l, u) {
1692
- return S(S({}, l), Dt(u));
1648
+ t = x(x(x({}, t), { notation: "engineering" }), n.options.reduce(function(l, u) {
1649
+ return x(x({}, l), Ct(u));
1693
1650
  }, {}));
1694
1651
  continue;
1695
1652
  case "notation-simple":
@@ -1734,7 +1691,7 @@ function dn(e) {
1734
1691
  case "integer-width":
1735
1692
  if (n.options.length > 1)
1736
1693
  throw new RangeError("integer-width stems only accept a single optional option");
1737
- n.options[0].replace(mn, function(l, u, h, c, f, p) {
1694
+ n.options[0].replace(un, function(l, u, h, c, f, p) {
1738
1695
  if (u)
1739
1696
  t.minimumIntegerDigits = h.length;
1740
1697
  else {
@@ -1747,32 +1704,32 @@ function dn(e) {
1747
1704
  });
1748
1705
  continue;
1749
1706
  }
1750
- if (_r.test(n.stem)) {
1707
+ if (dr.test(n.stem)) {
1751
1708
  t.minimumIntegerDigits = n.stem.length;
1752
1709
  continue;
1753
1710
  }
1754
- if (Mt.test(n.stem)) {
1711
+ if (Bt.test(n.stem)) {
1755
1712
  if (n.options.length > 1)
1756
1713
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1757
- n.stem.replace(Mt, function(l, u, h, c, f, p) {
1714
+ n.stem.replace(Bt, function(l, u, h, c, f, p) {
1758
1715
  return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1759
1716
  });
1760
1717
  var o = n.options[0];
1761
- o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), Rt(o)));
1718
+ o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), Ot(o)));
1762
1719
  continue;
1763
1720
  }
1764
- if (vr.test(n.stem)) {
1765
- t = S(S({}, t), Rt(n.stem));
1721
+ if (pr.test(n.stem)) {
1722
+ t = x(x({}, t), Ot(n.stem));
1766
1723
  continue;
1767
1724
  }
1768
- var s = Er(n.stem);
1769
- s && (t = S(S({}, t), s));
1770
- var a = pn(n.stem);
1771
- a && (t = S(S({}, t), a));
1725
+ var s = yr(n.stem);
1726
+ s && (t = x(x({}, t), s));
1727
+ var a = ln(n.stem);
1728
+ a && (t = x(x({}, t), a));
1772
1729
  }
1773
1730
  return t;
1774
1731
  }
1775
- var Ee = {
1732
+ var xe = {
1776
1733
  "001": [
1777
1734
  "H",
1778
1735
  "h"
@@ -3187,13 +3144,13 @@ var Ee = {
3187
3144
  "h"
3188
3145
  ]
3189
3146
  };
3190
- function yn(e, t) {
3147
+ function cn(e, t) {
3191
3148
  for (var r = "", i = 0; i < e.length; i++) {
3192
3149
  var n = e.charAt(i);
3193
3150
  if (n === "j") {
3194
3151
  for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
3195
3152
  o++, i++;
3196
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = gn(t);
3153
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = fn(t);
3197
3154
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3198
3155
  r += l;
3199
3156
  for (; s-- > 0; )
@@ -3203,7 +3160,7 @@ function yn(e, t) {
3203
3160
  }
3204
3161
  return r;
3205
3162
  }
3206
- function gn(e) {
3163
+ function fn(e) {
3207
3164
  var t = e.hourCycle;
3208
3165
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3209
3166
  e.hourCycles && // @ts-ignore
@@ -3222,23 +3179,23 @@ function gn(e) {
3222
3179
  }
3223
3180
  var r = e.language, i;
3224
3181
  r !== "root" && (i = e.maximize().region);
3225
- var n = Ee[i || ""] || Ee[r || ""] || Ee["".concat(r, "-001")] || Ee["001"];
3182
+ var n = xe[i || ""] || xe[r || ""] || xe["".concat(r, "-001")] || xe["001"];
3226
3183
  return n[0];
3227
3184
  }
3228
- var Xe, bn = new RegExp("^".concat(br.source, "*")), vn = new RegExp("".concat(br.source, "*$"));
3185
+ var Ve, mn = new RegExp("^".concat(mr.source, "*")), pn = new RegExp("".concat(mr.source, "*$"));
3229
3186
  function _(e, t) {
3230
3187
  return { start: e, end: t };
3231
3188
  }
3232
- var _n = !!String.prototype.startsWith && "_a".startsWith("a", 1), En = !!String.fromCodePoint, xn = !!Object.fromEntries, wn = !!String.prototype.codePointAt, Tn = !!String.prototype.trimStart, Ln = !!String.prototype.trimEnd, Sn = !!Number.isSafeInteger, An = Sn ? Number.isSafeInteger : function(e) {
3189
+ var dn = !!String.prototype.startsWith && "_a".startsWith("a", 1), yn = !!String.fromCodePoint, bn = !!Object.fromEntries, gn = !!String.prototype.codePointAt, vn = !!String.prototype.trimStart, _n = !!String.prototype.trimEnd, xn = !!Number.isSafeInteger, En = xn ? Number.isSafeInteger : function(e) {
3233
3190
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3234
- }, ut = !0;
3191
+ }, it = !0;
3235
3192
  try {
3236
- var Pn = wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3237
- ut = ((Xe = Pn.exec("a")) === null || Xe === void 0 ? void 0 : Xe[0]) === "a";
3193
+ var wn = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3194
+ it = ((Ve = wn.exec("a")) === null || Ve === void 0 ? void 0 : Ve[0]) === "a";
3238
3195
  } catch (e) {
3239
- ut = !1;
3196
+ it = !1;
3240
3197
  }
3241
- var $t = _n ? (
3198
+ var It = dn ? (
3242
3199
  // Native
3243
3200
  function(t, r, i) {
3244
3201
  return t.startsWith(r, i);
@@ -3248,7 +3205,7 @@ var $t = _n ? (
3248
3205
  function(t, r, i) {
3249
3206
  return t.slice(i, i + r.length) === r;
3250
3207
  }
3251
- ), lt = En ? String.fromCodePoint : (
3208
+ ), nt = yn ? String.fromCodePoint : (
3252
3209
  // IE11
3253
3210
  function() {
3254
3211
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3260,9 +3217,9 @@ var $t = _n ? (
3260
3217
  }
3261
3218
  return i;
3262
3219
  }
3263
- ), Ut = (
3220
+ ), Nt = (
3264
3221
  // native
3265
- xn ? Object.fromEntries : (
3222
+ bn ? Object.fromEntries : (
3266
3223
  // Ponyfill
3267
3224
  function(t) {
3268
3225
  for (var r = {}, i = 0, n = t; i < n.length; i++) {
@@ -3272,7 +3229,7 @@ var $t = _n ? (
3272
3229
  return r;
3273
3230
  }
3274
3231
  )
3275
- ), xr = wn ? (
3232
+ ), br = gn ? (
3276
3233
  // Native
3277
3234
  function(t, r) {
3278
3235
  return t.codePointAt(r);
@@ -3286,7 +3243,7 @@ var $t = _n ? (
3286
3243
  return n < 55296 || n > 56319 || r + 1 === i || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
3287
3244
  }
3288
3245
  }
3289
- ), Hn = Tn ? (
3246
+ ), Tn = vn ? (
3290
3247
  // Native
3291
3248
  function(t) {
3292
3249
  return t.trimStart();
@@ -3294,9 +3251,9 @@ var $t = _n ? (
3294
3251
  ) : (
3295
3252
  // Ponyfill
3296
3253
  function(t) {
3297
- return t.replace(bn, "");
3254
+ return t.replace(mn, "");
3298
3255
  }
3299
- ), Bn = Ln ? (
3256
+ ), Ln = _n ? (
3300
3257
  // Native
3301
3258
  function(t) {
3302
3259
  return t.trimEnd();
@@ -3304,32 +3261,32 @@ var $t = _n ? (
3304
3261
  ) : (
3305
3262
  // Ponyfill
3306
3263
  function(t) {
3307
- return t.replace(vn, "");
3264
+ return t.replace(pn, "");
3308
3265
  }
3309
3266
  );
3310
- function wr(e, t) {
3267
+ function gr(e, t) {
3311
3268
  return new RegExp(e, t);
3312
3269
  }
3313
- var ht;
3314
- if (ut) {
3315
- var Gt = wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3316
- ht = function(t, r) {
3270
+ var ot;
3271
+ if (it) {
3272
+ var Mt = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3273
+ ot = function(t, r) {
3317
3274
  var i;
3318
- Gt.lastIndex = r;
3319
- var n = Gt.exec(t);
3275
+ Mt.lastIndex = r;
3276
+ var n = Mt.exec(t);
3320
3277
  return (i = n[1]) !== null && i !== void 0 ? i : "";
3321
3278
  };
3322
3279
  } else
3323
- ht = function(t, r) {
3280
+ ot = function(t, r) {
3324
3281
  for (var i = []; ; ) {
3325
- var n = xr(t, r);
3326
- if (n === void 0 || Tr(n) || Nn(n))
3282
+ var n = br(t, r);
3283
+ if (n === void 0 || vr(n) || Hn(n))
3327
3284
  break;
3328
3285
  i.push(n), r += n >= 65536 ? 2 : 1;
3329
3286
  }
3330
- return lt.apply(void 0, i);
3287
+ return nt.apply(void 0, i);
3331
3288
  };
3332
- var On = (
3289
+ var Sn = (
3333
3290
  /** @class */
3334
3291
  function() {
3335
3292
  function e(t, r) {
@@ -3353,14 +3310,14 @@ var On = (
3353
3310
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3354
3311
  var a = this.clonePosition();
3355
3312
  this.bump(), n.push({
3356
- type: T.pound,
3313
+ type: L.pound,
3357
3314
  location: _(a, this.clonePosition())
3358
3315
  });
3359
3316
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3360
3317
  if (i)
3361
3318
  break;
3362
- return this.error(b.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3363
- } else if (o === 60 && !this.ignoreTag && ct(this.peek() || 0)) {
3319
+ return this.error(g.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3320
+ } else if (o === 60 && !this.ignoreTag && st(this.peek() || 0)) {
3364
3321
  var s = this.parseTag(t, r);
3365
3322
  if (s.err)
3366
3323
  return s;
@@ -3381,7 +3338,7 @@ var On = (
3381
3338
  if (this.bumpSpace(), this.bumpIf("/>"))
3382
3339
  return {
3383
3340
  val: {
3384
- type: T.literal,
3341
+ type: L.literal,
3385
3342
  value: "<".concat(n, "/>"),
3386
3343
  location: _(i, this.clonePosition())
3387
3344
  },
@@ -3393,25 +3350,25 @@ var On = (
3393
3350
  return o;
3394
3351
  var s = o.val, a = this.clonePosition();
3395
3352
  if (this.bumpIf("</")) {
3396
- if (this.isEOF() || !ct(this.char()))
3397
- return this.error(b.INVALID_TAG, _(a, this.clonePosition()));
3353
+ if (this.isEOF() || !st(this.char()))
3354
+ return this.error(g.INVALID_TAG, _(a, this.clonePosition()));
3398
3355
  var l = this.clonePosition(), u = this.parseTagName();
3399
- return n !== u ? this.error(b.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3356
+ return n !== u ? this.error(g.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3400
3357
  val: {
3401
- type: T.tag,
3358
+ type: L.tag,
3402
3359
  value: n,
3403
3360
  children: s,
3404
3361
  location: _(i, this.clonePosition())
3405
3362
  },
3406
3363
  err: null
3407
- } : this.error(b.INVALID_TAG, _(a, this.clonePosition())));
3364
+ } : this.error(g.INVALID_TAG, _(a, this.clonePosition())));
3408
3365
  } else
3409
- return this.error(b.UNCLOSED_TAG, _(i, this.clonePosition()));
3366
+ return this.error(g.UNCLOSED_TAG, _(i, this.clonePosition()));
3410
3367
  } else
3411
- return this.error(b.INVALID_TAG, _(i, this.clonePosition()));
3368
+ return this.error(g.INVALID_TAG, _(i, this.clonePosition()));
3412
3369
  }, e.prototype.parseTagName = function() {
3413
3370
  var t = this.offset();
3414
- for (this.bump(); !this.isEOF() && In(this.char()); )
3371
+ for (this.bump(); !this.isEOF() && Pn(this.char()); )
3415
3372
  this.bump();
3416
3373
  return this.message.slice(t, this.offset());
3417
3374
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3435,12 +3392,12 @@ var On = (
3435
3392
  }
3436
3393
  var l = _(i, this.clonePosition());
3437
3394
  return {
3438
- val: { type: T.literal, value: n, location: l },
3395
+ val: { type: L.literal, value: n, location: l },
3439
3396
  err: null
3440
3397
  };
3441
3398
  }, e.prototype.tryParseLeftAngleBracket = function() {
3442
3399
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3443
- !Cn(this.peek() || 0)) ? (this.bump(), "<") : null;
3400
+ !An(this.peek() || 0)) ? (this.bump(), "<") : null;
3444
3401
  }, e.prototype.tryParseQuote = function(t) {
3445
3402
  if (this.isEOF() || this.char() !== 39)
3446
3403
  return null;
@@ -3474,28 +3431,28 @@ var On = (
3474
3431
  r.push(i);
3475
3432
  this.bump();
3476
3433
  }
3477
- return lt.apply(void 0, r);
3434
+ return nt.apply(void 0, r);
3478
3435
  }, e.prototype.tryParseUnquoted = function(t, r) {
3479
3436
  if (this.isEOF())
3480
3437
  return null;
3481
3438
  var i = this.char();
3482
- return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), lt(i));
3439
+ return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), nt(i));
3483
3440
  }, e.prototype.parseArgument = function(t, r) {
3484
3441
  var i = this.clonePosition();
3485
3442
  if (this.bump(), this.bumpSpace(), this.isEOF())
3486
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition()));
3443
+ return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition()));
3487
3444
  if (this.char() === 125)
3488
- return this.bump(), this.error(b.EMPTY_ARGUMENT, _(i, this.clonePosition()));
3445
+ return this.bump(), this.error(g.EMPTY_ARGUMENT, _(i, this.clonePosition()));
3489
3446
  var n = this.parseIdentifierIfPossible().value;
3490
3447
  if (!n)
3491
- return this.error(b.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
3448
+ return this.error(g.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
3492
3449
  if (this.bumpSpace(), this.isEOF())
3493
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition()));
3450
+ return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition()));
3494
3451
  switch (this.char()) {
3495
3452
  case 125:
3496
3453
  return this.bump(), {
3497
3454
  val: {
3498
- type: T.argument,
3455
+ type: L.argument,
3499
3456
  // value does not include the opening and closing braces.
3500
3457
  value: n,
3501
3458
  location: _(i, this.clonePosition())
@@ -3503,12 +3460,12 @@ var On = (
3503
3460
  err: null
3504
3461
  };
3505
3462
  case 44:
3506
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
3463
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
3507
3464
  default:
3508
- return this.error(b.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
3465
+ return this.error(g.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
3509
3466
  }
3510
3467
  }, e.prototype.parseIdentifierIfPossible = function() {
3511
- var t = this.clonePosition(), r = this.offset(), i = ht(this.message, r), n = r + i.length;
3468
+ var t = this.clonePosition(), r = this.offset(), i = ot(this.message, r), n = r + i.length;
3512
3469
  this.bumpTo(n);
3513
3470
  var o = this.clonePosition(), s = _(t, o);
3514
3471
  return { value: i, location: s };
@@ -3516,7 +3473,7 @@ var On = (
3516
3473
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3517
3474
  switch (a) {
3518
3475
  case "":
3519
- return this.error(b.EXPECT_ARGUMENT_TYPE, _(s, l));
3476
+ return this.error(g.EXPECT_ARGUMENT_TYPE, _(s, l));
3520
3477
  case "number":
3521
3478
  case "date":
3522
3479
  case "time": {
@@ -3527,9 +3484,9 @@ var On = (
3527
3484
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3528
3485
  if (c.err)
3529
3486
  return c;
3530
- var f = Bn(c.val);
3487
+ var f = Ln(c.val);
3531
3488
  if (f.length === 0)
3532
- return this.error(b.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3489
+ return this.error(g.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3533
3490
  var p = _(h, this.clonePosition());
3534
3491
  u = { style: f, styleLocation: p };
3535
3492
  }
@@ -3537,34 +3494,34 @@ var On = (
3537
3494
  if (y.err)
3538
3495
  return y;
3539
3496
  var d = _(n, this.clonePosition());
3540
- if (u && $t(u == null ? void 0 : u.style, "::", 0)) {
3541
- var v = Hn(u.style.slice(2));
3497
+ if (u && It(u == null ? void 0 : u.style, "::", 0)) {
3498
+ var v = Tn(u.style.slice(2));
3542
3499
  if (a === "number") {
3543
3500
  var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
3544
3501
  return c.err ? c : {
3545
- val: { type: T.number, value: i, location: d, style: c.val },
3502
+ val: { type: L.number, value: i, location: d, style: c.val },
3546
3503
  err: null
3547
3504
  };
3548
3505
  } else {
3549
3506
  if (v.length === 0)
3550
- return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
3507
+ return this.error(g.EXPECT_DATE_TIME_SKELETON, d);
3551
3508
  var H = v;
3552
- this.locale && (H = yn(v, this.locale));
3509
+ this.locale && (H = cn(v, this.locale));
3553
3510
  var f = {
3554
- type: ee.dateTime,
3511
+ type: te.dateTime,
3555
3512
  pattern: H,
3556
3513
  location: u.styleLocation,
3557
- parsedOptions: this.shouldParseSkeletons ? ln(H) : {}
3558
- }, g = a === "date" ? T.date : T.time;
3514
+ parsedOptions: this.shouldParseSkeletons ? nn(H) : {}
3515
+ }, b = a === "date" ? L.date : L.time;
3559
3516
  return {
3560
- val: { type: g, value: i, location: d, style: f },
3517
+ val: { type: b, value: i, location: d, style: f },
3561
3518
  err: null
3562
3519
  };
3563
3520
  }
3564
3521
  }
3565
3522
  return {
3566
3523
  val: {
3567
- type: a === "number" ? T.number : a === "date" ? T.date : T.time,
3524
+ type: a === "number" ? L.number : a === "date" ? L.date : L.time,
3568
3525
  value: i,
3569
3526
  location: d,
3570
3527
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
@@ -3575,21 +3532,21 @@ var On = (
3575
3532
  case "plural":
3576
3533
  case "selectordinal":
3577
3534
  case "select": {
3578
- var L = this.clonePosition();
3535
+ var S = this.clonePosition();
3579
3536
  if (this.bumpSpace(), !this.bumpIf(","))
3580
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, _(L, He({}, L)));
3537
+ return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, _(S, x({}, S)));
3581
3538
  this.bumpSpace();
3582
- var $ = this.parseIdentifierIfPossible(), M = 0;
3583
- if (a !== "select" && $.value === "offset") {
3539
+ var D = this.parseIdentifierIfPossible(), M = 0;
3540
+ if (a !== "select" && D.value === "offset") {
3584
3541
  if (!this.bumpIf(":"))
3585
- return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3542
+ return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3586
3543
  this.bumpSpace();
3587
- var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3544
+ var c = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3588
3545
  if (c.err)
3589
3546
  return c;
3590
- this.bumpSpace(), $ = this.parseIdentifierIfPossible(), M = c.val;
3547
+ this.bumpSpace(), D = this.parseIdentifierIfPossible(), M = c.val;
3591
3548
  }
3592
- var U = this.tryParsePluralOrSelectOptions(t, a, r, $);
3549
+ var U = this.tryParsePluralOrSelectOptions(t, a, r, D);
3593
3550
  if (U.err)
3594
3551
  return U;
3595
3552
  var y = this.tryParseArgumentClose(n);
@@ -3598,17 +3555,17 @@ var On = (
3598
3555
  var z = _(n, this.clonePosition());
3599
3556
  return a === "select" ? {
3600
3557
  val: {
3601
- type: T.select,
3558
+ type: L.select,
3602
3559
  value: i,
3603
- options: Ut(U.val),
3560
+ options: Nt(U.val),
3604
3561
  location: z
3605
3562
  },
3606
3563
  err: null
3607
3564
  } : {
3608
3565
  val: {
3609
- type: T.plural,
3566
+ type: L.plural,
3610
3567
  value: i,
3611
- options: Ut(U.val),
3568
+ options: Nt(U.val),
3612
3569
  offset: M,
3613
3570
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3614
3571
  location: z
@@ -3617,10 +3574,10 @@ var On = (
3617
3574
  };
3618
3575
  }
3619
3576
  default:
3620
- return this.error(b.INVALID_ARGUMENT_TYPE, _(s, l));
3577
+ return this.error(g.INVALID_ARGUMENT_TYPE, _(s, l));
3621
3578
  }
3622
3579
  }, e.prototype.tryParseArgumentClose = function(t) {
3623
- return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3580
+ return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3624
3581
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3625
3582
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3626
3583
  var i = this.char();
@@ -3629,7 +3586,7 @@ var On = (
3629
3586
  this.bump();
3630
3587
  var n = this.clonePosition();
3631
3588
  if (!this.bumpUntil("'"))
3632
- return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(n, this.clonePosition()));
3589
+ return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(n, this.clonePosition()));
3633
3590
  this.bump();
3634
3591
  break;
3635
3592
  }
@@ -3659,16 +3616,16 @@ var On = (
3659
3616
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3660
3617
  var i = [];
3661
3618
  try {
3662
- i = cn(t);
3619
+ i = sn(t);
3663
3620
  } catch (n) {
3664
- return this.error(b.INVALID_NUMBER_SKELETON, r);
3621
+ return this.error(g.INVALID_NUMBER_SKELETON, r);
3665
3622
  }
3666
3623
  return {
3667
3624
  val: {
3668
- type: ee.number,
3625
+ type: te.number,
3669
3626
  tokens: i,
3670
3627
  location: r,
3671
- parsedOptions: this.shouldParseSkeletons ? dn(i) : {}
3628
+ parsedOptions: this.shouldParseSkeletons ? hn(i) : {}
3672
3629
  },
3673
3630
  err: null
3674
3631
  };
@@ -3677,7 +3634,7 @@ var On = (
3677
3634
  if (u.length === 0) {
3678
3635
  var c = this.clonePosition();
3679
3636
  if (r !== "select" && this.bumpIf("=")) {
3680
- var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3637
+ var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR, g.INVALID_PLURAL_ARGUMENT_SELECTOR);
3681
3638
  if (f.err)
3682
3639
  return f;
3683
3640
  h = _(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
@@ -3685,11 +3642,11 @@ var On = (
3685
3642
  break;
3686
3643
  }
3687
3644
  if (l.has(u))
3688
- return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3645
+ return this.error(r === "select" ? g.DUPLICATE_SELECT_ARGUMENT_SELECTOR : g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3689
3646
  u === "other" && (s = !0), this.bumpSpace();
3690
3647
  var p = this.clonePosition();
3691
3648
  if (!this.bumpIf("{"))
3692
- return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3649
+ return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3693
3650
  var y = this.parseMessage(t + 1, r, i);
3694
3651
  if (y.err)
3695
3652
  return y;
@@ -3704,7 +3661,7 @@ var On = (
3704
3661
  }
3705
3662
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3706
3663
  }
3707
- return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3664
+ return a.length === 0 ? this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR : g.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(g.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3708
3665
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3709
3666
  var i = 1, n = this.clonePosition();
3710
3667
  this.bumpIf("+") || this.bumpIf("-") && (i = -1);
@@ -3716,7 +3673,7 @@ var On = (
3716
3673
  break;
3717
3674
  }
3718
3675
  var l = _(n, this.clonePosition());
3719
- return o ? (s *= i, An(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3676
+ return o ? (s *= i, En(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3720
3677
  }, e.prototype.offset = function() {
3721
3678
  return this.position.offset;
3722
3679
  }, e.prototype.isEOF = function() {
@@ -3731,7 +3688,7 @@ var On = (
3731
3688
  var t = this.position.offset;
3732
3689
  if (t >= this.message.length)
3733
3690
  throw Error("out of bound");
3734
- var r = xr(this.message, t);
3691
+ var r = br(this.message, t);
3735
3692
  if (r === void 0)
3736
3693
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3737
3694
  return r;
@@ -3750,7 +3707,7 @@ var On = (
3750
3707
  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);
3751
3708
  }
3752
3709
  }, e.prototype.bumpIf = function(t) {
3753
- if ($t(this.message, t, this.offset())) {
3710
+ if (It(this.message, t, this.offset())) {
3754
3711
  for (var r = 0; r < t.length; r++)
3755
3712
  this.bump();
3756
3713
  return !0;
@@ -3772,7 +3729,7 @@ var On = (
3772
3729
  break;
3773
3730
  }
3774
3731
  }, e.prototype.bumpSpace = function() {
3775
- for (; !this.isEOF() && Tr(this.char()); )
3732
+ for (; !this.isEOF() && vr(this.char()); )
3776
3733
  this.bump();
3777
3734
  }, e.prototype.peek = function() {
3778
3735
  if (this.isEOF())
@@ -3782,47 +3739,47 @@ var On = (
3782
3739
  }, e;
3783
3740
  }()
3784
3741
  );
3785
- function ct(e) {
3742
+ function st(e) {
3786
3743
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3787
3744
  }
3788
- function Cn(e) {
3789
- return ct(e) || e === 47;
3745
+ function An(e) {
3746
+ return st(e) || e === 47;
3790
3747
  }
3791
- function In(e) {
3748
+ function Pn(e) {
3792
3749
  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;
3793
3750
  }
3794
- function Tr(e) {
3751
+ function vr(e) {
3795
3752
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3796
3753
  }
3797
- function Nn(e) {
3754
+ function Hn(e) {
3798
3755
  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;
3799
3756
  }
3800
- function ft(e) {
3757
+ function at(e) {
3801
3758
  e.forEach(function(t) {
3802
- if (delete t.location, pr(t) || dr(t))
3759
+ if (delete t.location, lr(t) || hr(t))
3803
3760
  for (var r in t.options)
3804
- delete t.options[r].location, ft(t.options[r].value);
3761
+ delete t.options[r].location, at(t.options[r].value);
3805
3762
  else
3806
- cr(t) && gr(t.style) || (fr(t) || mr(t)) && at(t.style) ? delete t.style.location : yr(t) && ft(t.children);
3763
+ sr(t) && fr(t.style) || (ar(t) || ur(t)) && rt(t.style) ? delete t.style.location : cr(t) && at(t.children);
3807
3764
  });
3808
3765
  }
3809
- function Mn(e, t) {
3810
- t === void 0 && (t = {}), t = He({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3811
- var r = new On(e, t).parse();
3766
+ function Bn(e, t) {
3767
+ t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3768
+ var r = new Sn(e, t).parse();
3812
3769
  if (r.err) {
3813
- var i = SyntaxError(b[r.err.kind]);
3770
+ var i = SyntaxError(g[r.err.kind]);
3814
3771
  throw i.location = r.err.location, i.originalMessage = r.err.message, i;
3815
3772
  }
3816
- return t != null && t.captureLocation || ft(r.val), r.val;
3773
+ return t != null && t.captureLocation || at(r.val), r.val;
3817
3774
  }
3818
- var te;
3775
+ var re;
3819
3776
  (function(e) {
3820
3777
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3821
- })(te || (te = {}));
3822
- var Me = (
3778
+ })(re || (re = {}));
3779
+ var Ie = (
3823
3780
  /** @class */
3824
3781
  function(e) {
3825
- Ne(t, e);
3782
+ j(t, e);
3826
3783
  function t(r, i, n) {
3827
3784
  var o = e.call(this, r) || this;
3828
3785
  return o.code = i, o.originalMessage = n, o;
@@ -3831,48 +3788,48 @@ var Me = (
3831
3788
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3832
3789
  }, t;
3833
3790
  }(Error)
3834
- ), Ft = (
3791
+ ), Rt = (
3835
3792
  /** @class */
3836
3793
  function(e) {
3837
- Ne(t, e);
3794
+ j(t, e);
3838
3795
  function t(r, i, n, o) {
3839
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), te.INVALID_VALUE, o) || this;
3796
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), re.INVALID_VALUE, o) || this;
3840
3797
  }
3841
3798
  return t;
3842
- }(Me)
3843
- ), Rn = (
3799
+ }(Ie)
3800
+ ), On = (
3844
3801
  /** @class */
3845
3802
  function(e) {
3846
- Ne(t, e);
3803
+ j(t, e);
3847
3804
  function t(r, i, n) {
3848
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), te.INVALID_VALUE, n) || this;
3805
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), re.INVALID_VALUE, n) || this;
3849
3806
  }
3850
3807
  return t;
3851
- }(Me)
3852
- ), Dn = (
3808
+ }(Ie)
3809
+ ), Cn = (
3853
3810
  /** @class */
3854
3811
  function(e) {
3855
- Ne(t, e);
3812
+ j(t, e);
3856
3813
  function t(r, i) {
3857
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), te.MISSING_VALUE, i) || this;
3814
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), re.MISSING_VALUE, i) || this;
3858
3815
  }
3859
3816
  return t;
3860
- }(Me)
3817
+ }(Ie)
3861
3818
  ), O;
3862
3819
  (function(e) {
3863
3820
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3864
3821
  })(O || (O = {}));
3865
- function $n(e) {
3822
+ function In(e) {
3866
3823
  return e.length < 2 ? e : e.reduce(function(t, r) {
3867
3824
  var i = t[t.length - 1];
3868
3825
  return !i || i.type !== O.literal || r.type !== O.literal ? t.push(r) : i.value += r.value, t;
3869
3826
  }, []);
3870
3827
  }
3871
- function Un(e) {
3828
+ function Nn(e) {
3872
3829
  return typeof e == "function";
3873
3830
  }
3874
3831
  function Se(e, t, r, i, n, o, s) {
3875
- if (e.length === 1 && Nt(e[0]))
3832
+ if (e.length === 1 && Ht(e[0]))
3876
3833
  return [
3877
3834
  {
3878
3835
  type: O.literal,
@@ -3881,14 +3838,14 @@ function Se(e, t, r, i, n, o, s) {
3881
3838
  ];
3882
3839
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3883
3840
  var h = u[l];
3884
- if (Nt(h)) {
3841
+ if (Ht(h)) {
3885
3842
  a.push({
3886
3843
  type: O.literal,
3887
3844
  value: h.value
3888
3845
  });
3889
3846
  continue;
3890
3847
  }
3891
- if (an(h)) {
3848
+ if (tn(h)) {
3892
3849
  typeof o == "number" && a.push({
3893
3850
  type: O.literal,
3894
3851
  value: r.getNumberFormat(t).format(o)
@@ -3897,89 +3854,89 @@ function Se(e, t, r, i, n, o, s) {
3897
3854
  }
3898
3855
  var c = h.value;
3899
3856
  if (!(n && c in n))
3900
- throw new Dn(c, s);
3857
+ throw new Cn(c, s);
3901
3858
  var f = n[c];
3902
- if (sn(h)) {
3859
+ if (en(h)) {
3903
3860
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3904
3861
  type: typeof f == "string" ? O.literal : O.object,
3905
3862
  value: f
3906
3863
  });
3907
3864
  continue;
3908
3865
  }
3909
- if (fr(h)) {
3910
- var p = typeof h.style == "string" ? i.date[h.style] : at(h.style) ? h.style.parsedOptions : void 0;
3866
+ if (ar(h)) {
3867
+ var p = typeof h.style == "string" ? i.date[h.style] : rt(h.style) ? h.style.parsedOptions : void 0;
3911
3868
  a.push({
3912
3869
  type: O.literal,
3913
3870
  value: r.getDateTimeFormat(t, p).format(f)
3914
3871
  });
3915
3872
  continue;
3916
3873
  }
3917
- if (mr(h)) {
3918
- var p = typeof h.style == "string" ? i.time[h.style] : at(h.style) ? h.style.parsedOptions : i.time.medium;
3874
+ if (ur(h)) {
3875
+ var p = typeof h.style == "string" ? i.time[h.style] : rt(h.style) ? h.style.parsedOptions : i.time.medium;
3919
3876
  a.push({
3920
3877
  type: O.literal,
3921
3878
  value: r.getDateTimeFormat(t, p).format(f)
3922
3879
  });
3923
3880
  continue;
3924
3881
  }
3925
- if (cr(h)) {
3926
- var p = typeof h.style == "string" ? i.number[h.style] : gr(h.style) ? h.style.parsedOptions : void 0;
3882
+ if (sr(h)) {
3883
+ var p = typeof h.style == "string" ? i.number[h.style] : fr(h.style) ? h.style.parsedOptions : void 0;
3927
3884
  p && p.scale && (f = f * (p.scale || 1)), a.push({
3928
3885
  type: O.literal,
3929
3886
  value: r.getNumberFormat(t, p).format(f)
3930
3887
  });
3931
3888
  continue;
3932
3889
  }
3933
- if (yr(h)) {
3890
+ if (cr(h)) {
3934
3891
  var y = h.children, d = h.value, v = n[d];
3935
- if (!Un(v))
3936
- throw new Rn(d, "function", s);
3937
- var H = Se(y, t, r, i, n, o), g = v(H.map(function(M) {
3892
+ if (!Nn(v))
3893
+ throw new On(d, "function", s);
3894
+ var H = Se(y, t, r, i, n, o), b = v(H.map(function(M) {
3938
3895
  return M.value;
3939
3896
  }));
3940
- Array.isArray(g) || (g = [g]), a.push.apply(a, g.map(function(M) {
3897
+ Array.isArray(b) || (b = [b]), a.push.apply(a, b.map(function(M) {
3941
3898
  return {
3942
3899
  type: typeof M == "string" ? O.literal : O.object,
3943
3900
  value: M
3944
3901
  };
3945
3902
  }));
3946
3903
  }
3947
- if (pr(h)) {
3948
- var L = h.options[f] || h.options.other;
3949
- if (!L)
3950
- throw new Ft(h.value, f, Object.keys(h.options), s);
3951
- a.push.apply(a, Se(L.value, t, r, i, n));
3904
+ if (lr(h)) {
3905
+ var S = h.options[f] || h.options.other;
3906
+ if (!S)
3907
+ throw new Rt(h.value, f, Object.keys(h.options), s);
3908
+ a.push.apply(a, Se(S.value, t, r, i, n));
3952
3909
  continue;
3953
3910
  }
3954
- if (dr(h)) {
3955
- var L = h.options["=".concat(f)];
3956
- if (!L) {
3911
+ if (hr(h)) {
3912
+ var S = h.options["=".concat(f)];
3913
+ if (!S) {
3957
3914
  if (!Intl.PluralRules)
3958
- throw new Me(`Intl.PluralRules is not available in this environment.
3915
+ throw new Ie(`Intl.PluralRules is not available in this environment.
3959
3916
  Try polyfilling it using "@formatjs/intl-pluralrules"
3960
- `, te.MISSING_INTL_API, s);
3961
- var $ = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3962
- L = h.options[$] || h.options.other;
3917
+ `, re.MISSING_INTL_API, s);
3918
+ var D = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3919
+ S = h.options[D] || h.options.other;
3963
3920
  }
3964
- if (!L)
3965
- throw new Ft(h.value, f, Object.keys(h.options), s);
3966
- a.push.apply(a, Se(L.value, t, r, i, n, f - (h.offset || 0)));
3921
+ if (!S)
3922
+ throw new Rt(h.value, f, Object.keys(h.options), s);
3923
+ a.push.apply(a, Se(S.value, t, r, i, n, f - (h.offset || 0)));
3967
3924
  continue;
3968
3925
  }
3969
3926
  }
3970
- return $n(a);
3927
+ return In(a);
3971
3928
  }
3972
- function Gn(e, t) {
3973
- return t ? R(R(R({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3974
- return r[i] = R(R({}, e[i]), t[i] || {}), r;
3929
+ function Mn(e, t) {
3930
+ return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3931
+ return r[i] = x(x({}, e[i]), t[i] || {}), r;
3975
3932
  }, {})) : e;
3976
3933
  }
3977
- function Fn(e, t) {
3934
+ function Rn(e, t) {
3978
3935
  return t ? Object.keys(e).reduce(function(r, i) {
3979
- return r[i] = Gn(e[i], t[i]), r;
3980
- }, R({}, e)) : e;
3936
+ return r[i] = Mn(e[i], t[i]), r;
3937
+ }, x({}, e)) : e;
3981
3938
  }
3982
- function Ze(e) {
3939
+ function We(e) {
3983
3940
  return {
3984
3941
  create: function() {
3985
3942
  return {
@@ -3993,39 +3950,39 @@ function Ze(e) {
3993
3950
  }
3994
3951
  };
3995
3952
  }
3996
- function jn(e) {
3953
+ function Dn(e) {
3997
3954
  return e === void 0 && (e = {
3998
3955
  number: {},
3999
3956
  dateTime: {},
4000
3957
  pluralRules: {}
4001
3958
  }), {
4002
- getNumberFormat: We(function() {
3959
+ getNumberFormat: je(function() {
4003
3960
  for (var t, r = [], i = 0; i < arguments.length; i++)
4004
3961
  r[i] = arguments[i];
4005
- return new ((t = Intl.NumberFormat).bind.apply(t, Ve([void 0], r, !1)))();
3962
+ return new ((t = Intl.NumberFormat).bind.apply(t, K([void 0], r, !1)))();
4006
3963
  }, {
4007
- cache: Ze(e.number),
4008
- strategy: ze.variadic
3964
+ cache: We(e.number),
3965
+ strategy: ke.variadic
4009
3966
  }),
4010
- getDateTimeFormat: We(function() {
3967
+ getDateTimeFormat: je(function() {
4011
3968
  for (var t, r = [], i = 0; i < arguments.length; i++)
4012
3969
  r[i] = arguments[i];
4013
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ve([void 0], r, !1)))();
3970
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, K([void 0], r, !1)))();
4014
3971
  }, {
4015
- cache: Ze(e.dateTime),
4016
- strategy: ze.variadic
3972
+ cache: We(e.dateTime),
3973
+ strategy: ke.variadic
4017
3974
  }),
4018
- getPluralRules: We(function() {
3975
+ getPluralRules: je(function() {
4019
3976
  for (var t, r = [], i = 0; i < arguments.length; i++)
4020
3977
  r[i] = arguments[i];
4021
- return new ((t = Intl.PluralRules).bind.apply(t, Ve([void 0], r, !1)))();
3978
+ return new ((t = Intl.PluralRules).bind.apply(t, K([void 0], r, !1)))();
4022
3979
  }, {
4023
- cache: Ze(e.pluralRules),
4024
- strategy: ze.variadic
3980
+ cache: We(e.pluralRules),
3981
+ strategy: ke.variadic
4025
3982
  })
4026
3983
  };
4027
3984
  }
4028
- var kn = (
3985
+ var Un = (
4029
3986
  /** @class */
4030
3987
  function() {
4031
3988
  function e(t, r, i, n) {
@@ -4057,13 +4014,13 @@ var kn = (
4057
4014
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4058
4015
  var s = n || {};
4059
4016
  s.formatters;
4060
- var a = Ji(s, ["formatters"]);
4061
- this.ast = e.__parse(t, R(R({}, a), { locale: this.resolvedLocale }));
4017
+ var a = di(s, ["formatters"]);
4018
+ this.ast = e.__parse(t, x(x({}, a), { locale: this.resolvedLocale }));
4062
4019
  } else
4063
4020
  this.ast = t;
4064
4021
  if (!Array.isArray(this.ast))
4065
4022
  throw new TypeError("A message must be provided as a String or AST.");
4066
- this.formats = Fn(e.formats, i), this.formatters = n && n.formatters || jn(this.formatterCache);
4023
+ this.formats = Rn(e.formats, i), this.formatters = n && n.formatters || Dn(this.formatterCache);
4067
4024
  }
4068
4025
  return Object.defineProperty(e, "defaultLocale", {
4069
4026
  get: function() {
@@ -4076,7 +4033,7 @@ var kn = (
4076
4033
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4077
4034
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4078
4035
  }
4079
- }, e.__parse = Mn, e.formats = {
4036
+ }, e.__parse = Bn, e.formats = {
4080
4037
  number: {
4081
4038
  integer: {
4082
4039
  maximumFractionDigits: 0
@@ -4137,7 +4094,7 @@ var kn = (
4137
4094
  }, e;
4138
4095
  }()
4139
4096
  );
4140
- function Vn(e, t) {
4097
+ function $n(e, t) {
4141
4098
  if (t == null)
4142
4099
  return;
4143
4100
  if (t in e)
@@ -4158,92 +4115,92 @@ function Vn(e, t) {
4158
4115
  i = void 0;
4159
4116
  return i;
4160
4117
  }
4161
- const k = {}, Wn = (e, t, r) => r && (t in k || (k[t] = {}), e in k[t] || (k[t][e] = r), r), Lr = (e, t) => {
4118
+ const k = {}, Gn = (e, t, r) => r && (t in k || (k[t] = {}), e in k[t] || (k[t][e] = r), r), _r = (e, t) => {
4162
4119
  if (t == null)
4163
4120
  return;
4164
4121
  if (t in k && e in k[t])
4165
4122
  return k[t][e];
4166
- const r = Re(t);
4123
+ const r = Ne(t);
4167
4124
  for (let i = 0; i < r.length; i++) {
4168
- const n = r[i], o = Xn(n, e);
4125
+ const n = r[i], o = jn(n, e);
4169
4126
  if (o)
4170
- return Wn(e, t, o);
4127
+ return Gn(e, t, o);
4171
4128
  }
4172
4129
  };
4173
- let yt;
4174
- const pe = Ie({});
4175
- function zn(e) {
4176
- return yt[e] || null;
4130
+ let ct;
4131
+ const pe = Ce({});
4132
+ function Fn(e) {
4133
+ return ct[e] || null;
4177
4134
  }
4178
- function Sr(e) {
4179
- return e in yt;
4135
+ function xr(e) {
4136
+ return e in ct;
4180
4137
  }
4181
- function Xn(e, t) {
4182
- if (!Sr(e))
4138
+ function jn(e, t) {
4139
+ if (!xr(e))
4183
4140
  return null;
4184
- const r = zn(e);
4185
- return Vn(r, t);
4141
+ const r = Fn(e);
4142
+ return $n(r, t);
4186
4143
  }
4187
- function Zn(e) {
4144
+ function kn(e) {
4188
4145
  if (e == null)
4189
4146
  return;
4190
- const t = Re(e);
4147
+ const t = Ne(e);
4191
4148
  for (let r = 0; r < t.length; r++) {
4192
4149
  const i = t[r];
4193
- if (Sr(i))
4150
+ if (xr(i))
4194
4151
  return i;
4195
4152
  }
4196
4153
  }
4197
- function Ar(e, ...t) {
4198
- delete k[e], pe.update((r) => (r[e] = Yi.all([r[e] || {}, ...t]), r));
4154
+ function Er(e, ...t) {
4155
+ delete k[e], pe.update((r) => (r[e] = zi.all([r[e] || {}, ...t]), r));
4199
4156
  }
4200
- ne(
4157
+ oe(
4201
4158
  [pe],
4202
4159
  ([e]) => Object.keys(e)
4203
4160
  );
4204
- pe.subscribe((e) => yt = e);
4161
+ pe.subscribe((e) => ct = e);
4205
4162
  const Ae = {};
4206
- function Qn(e, t) {
4163
+ function Vn(e, t) {
4207
4164
  Ae[e].delete(t), Ae[e].size === 0 && delete Ae[e];
4208
4165
  }
4209
- function Pr(e) {
4166
+ function wr(e) {
4210
4167
  return Ae[e];
4211
4168
  }
4212
- function Yn(e) {
4213
- return Re(e).map((t) => {
4214
- const r = Pr(t);
4169
+ function Wn(e) {
4170
+ return Ne(e).map((t) => {
4171
+ const r = wr(t);
4215
4172
  return [t, r ? [...r] : []];
4216
4173
  }).filter(([, t]) => t.length > 0);
4217
4174
  }
4218
- function mt(e) {
4219
- return e == null ? !1 : Re(e).some(
4175
+ function ut(e) {
4176
+ return e == null ? !1 : Ne(e).some(
4220
4177
  (t) => {
4221
4178
  var r;
4222
- return (r = Pr(t)) == null ? void 0 : r.size;
4179
+ return (r = wr(t)) == null ? void 0 : r.size;
4223
4180
  }
4224
4181
  );
4225
4182
  }
4226
- function Jn(e, t) {
4183
+ function zn(e, t) {
4227
4184
  return Promise.all(
4228
- t.map((i) => (Qn(e, i), i().then((n) => n.default || n)))
4229
- ).then((i) => Ar(e, ...i));
4230
- }
4231
- const ue = {};
4232
- function Hr(e) {
4233
- if (!mt(e))
4234
- return e in ue ? ue[e] : Promise.resolve();
4235
- const t = Yn(e);
4236
- return ue[e] = Promise.all(
4185
+ t.map((i) => (Vn(e, i), i().then((n) => n.default || n)))
4186
+ ).then((i) => Er(e, ...i));
4187
+ }
4188
+ const le = {};
4189
+ function Tr(e) {
4190
+ if (!ut(e))
4191
+ return e in le ? le[e] : Promise.resolve();
4192
+ const t = Wn(e);
4193
+ return le[e] = Promise.all(
4237
4194
  t.map(
4238
- ([r, i]) => Jn(r, i)
4195
+ ([r, i]) => zn(r, i)
4239
4196
  )
4240
4197
  ).then(() => {
4241
- if (mt(e))
4242
- return Hr(e);
4243
- delete ue[e];
4244
- }), ue[e];
4198
+ if (ut(e))
4199
+ return Tr(e);
4200
+ delete le[e];
4201
+ }), le[e];
4245
4202
  }
4246
- const qn = {
4203
+ const Xn = {
4247
4204
  number: {
4248
4205
  scientific: { notation: "scientific" },
4249
4206
  engineering: { notation: "engineering" },
@@ -4272,135 +4229,135 @@ const qn = {
4272
4229
  timeZoneName: "short"
4273
4230
  }
4274
4231
  }
4275
- }, Kn = {
4232
+ }, Zn = {
4276
4233
  fallbackLocale: null,
4277
4234
  loadingDelay: 200,
4278
- formats: qn,
4235
+ formats: Xn,
4279
4236
  warnOnMissingMessages: !0,
4280
4237
  handleMissingMessage: void 0,
4281
4238
  ignoreTag: !0
4282
- }, eo = Kn;
4283
- function re() {
4284
- return eo;
4239
+ }, Qn = Zn;
4240
+ function ie() {
4241
+ return Qn;
4285
4242
  }
4286
- const Qe = Ie(!1);
4287
- var to = Object.defineProperty, ro = Object.defineProperties, io = Object.getOwnPropertyDescriptors, jt = Object.getOwnPropertySymbols, no = Object.prototype.hasOwnProperty, oo = Object.prototype.propertyIsEnumerable, kt = (e, t, r) => t in e ? to(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, so = (e, t) => {
4243
+ const ze = Ce(!1);
4244
+ var Yn = Object.defineProperty, Jn = Object.defineProperties, qn = Object.getOwnPropertyDescriptors, Dt = Object.getOwnPropertySymbols, Kn = Object.prototype.hasOwnProperty, eo = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? Yn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, to = (e, t) => {
4288
4245
  for (var r in t || (t = {}))
4289
- no.call(t, r) && kt(e, r, t[r]);
4290
- if (jt)
4291
- for (var r of jt(t))
4292
- oo.call(t, r) && kt(e, r, t[r]);
4246
+ Kn.call(t, r) && Ut(e, r, t[r]);
4247
+ if (Dt)
4248
+ for (var r of Dt(t))
4249
+ eo.call(t, r) && Ut(e, r, t[r]);
4293
4250
  return e;
4294
- }, ao = (e, t) => ro(e, io(t));
4295
- let pt;
4296
- const Be = Ie(null);
4297
- function Vt(e) {
4251
+ }, ro = (e, t) => Jn(e, qn(t));
4252
+ let lt;
4253
+ const He = Ce(null);
4254
+ function $t(e) {
4298
4255
  return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
4299
4256
  }
4300
- function Re(e, t = re().fallbackLocale) {
4301
- const r = Vt(e);
4302
- return t ? [.../* @__PURE__ */ new Set([...r, ...Vt(t)])] : r;
4257
+ function Ne(e, t = ie().fallbackLocale) {
4258
+ const r = $t(e);
4259
+ return t ? [.../* @__PURE__ */ new Set([...r, ...$t(t)])] : r;
4303
4260
  }
4304
4261
  function Z() {
4305
- return pt != null ? pt : void 0;
4262
+ return lt != null ? lt : void 0;
4306
4263
  }
4307
- Be.subscribe((e) => {
4308
- pt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4264
+ He.subscribe((e) => {
4265
+ lt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4309
4266
  });
4310
- const uo = (e) => {
4311
- if (e && Zn(e) && mt(e)) {
4312
- const { loadingDelay: t } = re();
4267
+ const io = (e) => {
4268
+ if (e && kn(e) && ut(e)) {
4269
+ const { loadingDelay: t } = ie();
4313
4270
  let r;
4314
4271
  return typeof window != "undefined" && Z() != null && t ? r = window.setTimeout(
4315
- () => Qe.set(!0),
4272
+ () => ze.set(!0),
4316
4273
  t
4317
- ) : Qe.set(!0), Hr(e).then(() => {
4318
- Be.set(e);
4274
+ ) : ze.set(!0), Tr(e).then(() => {
4275
+ He.set(e);
4319
4276
  }).finally(() => {
4320
- clearTimeout(r), Qe.set(!1);
4277
+ clearTimeout(r), ze.set(!1);
4321
4278
  });
4322
4279
  }
4323
- return Be.set(e);
4324
- }, oe = ao(so({}, Be), {
4325
- set: uo
4326
- }), De = (e) => {
4280
+ return He.set(e);
4281
+ }, se = ro(to({}, He), {
4282
+ set: io
4283
+ }), Me = (e) => {
4327
4284
  const t = /* @__PURE__ */ Object.create(null);
4328
4285
  return (i) => {
4329
4286
  const n = JSON.stringify(i);
4330
4287
  return n in t ? t[n] : t[n] = e(i);
4331
4288
  };
4332
4289
  };
4333
- var lo = Object.defineProperty, Oe = Object.getOwnPropertySymbols, Br = Object.prototype.hasOwnProperty, Or = Object.prototype.propertyIsEnumerable, Wt = (e, t, r) => t in e ? lo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gt = (e, t) => {
4290
+ var no = Object.defineProperty, Be = Object.getOwnPropertySymbols, Lr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, Gt = (e, t, r) => t in e ? no(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
4334
4291
  for (var r in t || (t = {}))
4335
- Br.call(t, r) && Wt(e, r, t[r]);
4336
- if (Oe)
4337
- for (var r of Oe(t))
4338
- Or.call(t, r) && Wt(e, r, t[r]);
4292
+ Lr.call(t, r) && Gt(e, r, t[r]);
4293
+ if (Be)
4294
+ for (var r of Be(t))
4295
+ Sr.call(t, r) && Gt(e, r, t[r]);
4339
4296
  return e;
4340
- }, se = (e, t) => {
4297
+ }, ae = (e, t) => {
4341
4298
  var r = {};
4342
4299
  for (var i in e)
4343
- Br.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
4344
- if (e != null && Oe)
4345
- for (var i of Oe(e))
4346
- t.indexOf(i) < 0 && Or.call(e, i) && (r[i] = e[i]);
4300
+ Lr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
4301
+ if (e != null && Be)
4302
+ for (var i of Be(e))
4303
+ t.indexOf(i) < 0 && Sr.call(e, i) && (r[i] = e[i]);
4347
4304
  return r;
4348
4305
  };
4349
- const fe = (e, t) => {
4350
- const { formats: r } = re();
4306
+ const me = (e, t) => {
4307
+ const { formats: r } = ie();
4351
4308
  if (e in r && t in r[e])
4352
4309
  return r[e][t];
4353
4310
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4354
- }, ho = De(
4311
+ }, oo = Me(
4355
4312
  (e) => {
4356
- var t = e, { locale: r, format: i } = t, n = se(t, ["locale", "format"]);
4313
+ var t = e, { locale: r, format: i } = t, n = ae(t, ["locale", "format"]);
4357
4314
  if (r == null)
4358
4315
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4359
- return i && (n = fe("number", i)), new Intl.NumberFormat(r, n);
4316
+ return i && (n = me("number", i)), new Intl.NumberFormat(r, n);
4360
4317
  }
4361
- ), co = De(
4318
+ ), so = Me(
4362
4319
  (e) => {
4363
- var t = e, { locale: r, format: i } = t, n = se(t, ["locale", "format"]);
4320
+ var t = e, { locale: r, format: i } = t, n = ae(t, ["locale", "format"]);
4364
4321
  if (r == null)
4365
4322
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4366
- return i ? n = fe("date", i) : Object.keys(n).length === 0 && (n = fe("date", "short")), new Intl.DateTimeFormat(r, n);
4323
+ return i ? n = me("date", i) : Object.keys(n).length === 0 && (n = me("date", "short")), new Intl.DateTimeFormat(r, n);
4367
4324
  }
4368
- ), fo = De(
4325
+ ), ao = Me(
4369
4326
  (e) => {
4370
- var t = e, { locale: r, format: i } = t, n = se(t, ["locale", "format"]);
4327
+ var t = e, { locale: r, format: i } = t, n = ae(t, ["locale", "format"]);
4371
4328
  if (r == null)
4372
4329
  throw new Error(
4373
4330
  '[svelte-i18n] A "locale" must be set to format time values'
4374
4331
  );
4375
- return i ? n = fe("time", i) : Object.keys(n).length === 0 && (n = fe("time", "short")), new Intl.DateTimeFormat(r, n);
4332
+ return i ? n = me("time", i) : Object.keys(n).length === 0 && (n = me("time", "short")), new Intl.DateTimeFormat(r, n);
4376
4333
  }
4377
- ), mo = (e = {}) => {
4334
+ ), uo = (e = {}) => {
4378
4335
  var t = e, {
4379
4336
  locale: r = Z()
4380
- } = t, i = se(t, [
4337
+ } = t, i = ae(t, [
4381
4338
  "locale"
4382
4339
  ]);
4383
- return ho(gt({ locale: r }, i));
4384
- }, po = (e = {}) => {
4340
+ return oo(ft({ locale: r }, i));
4341
+ }, lo = (e = {}) => {
4385
4342
  var t = e, {
4386
4343
  locale: r = Z()
4387
- } = t, i = se(t, [
4344
+ } = t, i = ae(t, [
4388
4345
  "locale"
4389
4346
  ]);
4390
- return co(gt({ locale: r }, i));
4391
- }, yo = (e = {}) => {
4347
+ return so(ft({ locale: r }, i));
4348
+ }, ho = (e = {}) => {
4392
4349
  var t = e, {
4393
4350
  locale: r = Z()
4394
- } = t, i = se(t, [
4351
+ } = t, i = ae(t, [
4395
4352
  "locale"
4396
4353
  ]);
4397
- return fo(gt({ locale: r }, i));
4398
- }, go = De(
4354
+ return ao(ft({ locale: r }, i));
4355
+ }, co = Me(
4399
4356
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4400
- (e, t = Z()) => new kn(e, t, re().formats, {
4401
- ignoreTag: re().ignoreTag
4357
+ (e, t = Z()) => new Un(e, t, ie().formats, {
4358
+ ignoreTag: ie().ignoreTag
4402
4359
  })
4403
- ), bo = (e, t = {}) => {
4360
+ ), fo = (e, t = {}) => {
4404
4361
  var r, i, n, o;
4405
4362
  let s = t;
4406
4363
  typeof e == "object" && (s = e, e = s.id);
@@ -4413,9 +4370,9 @@ const fe = (e, t) => {
4413
4370
  throw new Error(
4414
4371
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4415
4372
  );
4416
- let h = Lr(e, l);
4373
+ let h = _r(e, l);
4417
4374
  if (!h)
4418
- h = (o = (n = (i = (r = re()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: l, id: e, defaultValue: u })) != null ? n : u) != null ? o : e;
4375
+ h = (o = (n = (i = (r = ie()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: l, id: e, defaultValue: u })) != null ? n : u) != null ? o : e;
4419
4376
  else if (typeof h != "string")
4420
4377
  return console.warn(
4421
4378
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4424,7 +4381,7 @@ const fe = (e, t) => {
4424
4381
  return h;
4425
4382
  let c = h;
4426
4383
  try {
4427
- c = go(h, l).format(a);
4384
+ c = co(h, l).format(a);
4428
4385
  } catch (f) {
4429
4386
  f instanceof Error && console.warn(
4430
4387
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4432,20 +4389,20 @@ const fe = (e, t) => {
4432
4389
  );
4433
4390
  }
4434
4391
  return c;
4435
- }, vo = (e, t) => yo(t).format(e), _o = (e, t) => po(t).format(e), Eo = (e, t) => mo(t).format(e), xo = (e, t = Z()) => Lr(e, t), wo = ne([oe, pe], () => bo);
4436
- ne([oe], () => vo);
4437
- ne([oe], () => _o);
4438
- ne([oe], () => Eo);
4439
- ne([oe, pe], () => xo);
4440
- window.emWidgets = { topic: Ii };
4441
- const To = (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)), Ko = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4442
- function Lo(e, t) {
4392
+ }, mo = (e, t) => ho(t).format(e), po = (e, t) => lo(t).format(e), yo = (e, t) => uo(t).format(e), bo = (e, t = Z()) => _r(e, t), go = oe([se, pe], () => fo);
4393
+ oe([se], () => mo);
4394
+ oe([se], () => po);
4395
+ oe([se], () => yo);
4396
+ oe([se, pe], () => bo);
4397
+ window.emWidgets = { topic: Hi };
4398
+ const vo = (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)), Zo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4399
+ function _o(e, t) {
4443
4400
  if (e) {
4444
4401
  const r = document.createElement("style");
4445
4402
  r.innerHTML = t, e.appendChild(r);
4446
4403
  }
4447
4404
  }
4448
- function So(e, t) {
4405
+ function xo(e, t) {
4449
4406
  const r = new URL(t);
4450
4407
  fetch(r.href).then((i) => i.text()).then((i) => {
4451
4408
  const n = document.createElement("style");
@@ -4454,7 +4411,7 @@ function So(e, t) {
4454
4411
  console.error("There was an error while trying to load client styling from URL", i);
4455
4412
  });
4456
4413
  }
4457
- function Ao(e, t, r) {
4414
+ function Eo(e, t, r) {
4458
4415
  if (window.emMessageBus) {
4459
4416
  const i = document.createElement("style");
4460
4417
  window.emMessageBus.subscribe(t, (n) => {
@@ -4462,13 +4419,13 @@ function Ao(e, t, r) {
4462
4419
  });
4463
4420
  }
4464
4421
  }
4465
- function zt(e, t) {
4466
- Ar(e, t);
4422
+ function Ft(e, t) {
4423
+ Er(e, t);
4467
4424
  }
4468
- function Po(e) {
4469
- oe.set(e);
4425
+ function wo(e) {
4426
+ se.set(e);
4470
4427
  }
4471
- const Ye = {
4428
+ const Xe = {
4472
4429
  en: {
4473
4430
  expandLimits: "Limit history",
4474
4431
  daily: "per day",
@@ -4699,30 +4656,30 @@ const Ye = {
4699
4656
  historyLimitTypeLoss: "Kayıp Limiti"
4700
4657
  }
4701
4658
  };
4702
- function Ho(e) {
4703
- ei(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)}}');
4659
+ function To(e) {
4660
+ Qr(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)}}');
4704
4661
  }
4705
- function Xt(e, t, r) {
4662
+ function jt(e, t, r) {
4706
4663
  const i = e.slice();
4707
4664
  return i[37] = t[r], i[38] = t, i[39] = r, i;
4708
4665
  }
4709
- function Bo(e) {
4666
+ function Lo(e) {
4710
4667
  let t, r, i, n = (
4711
4668
  /*$_*/
4712
4669
  e[9]("expandLimits") + ""
4713
- ), o, s, a, l, u, h, c, f, p, y = Lt(
4670
+ ), o, s, a, l, u, h, c, f, p, y = _t(
4714
4671
  /*lazyShowedHistoryArray*/
4715
4672
  e[7]
4716
4673
  ), d = [];
4717
4674
  for (let v = 0; v < y.length; v += 1)
4718
- d[v] = Zt(Xt(e, y, v));
4675
+ d[v] = kt(jt(e, y, v));
4719
4676
  return {
4720
4677
  c() {
4721
- t = A("div"), r = A("div"), i = A("button"), o = D(n), s = Je(), a = xe("svg"), l = xe("path"), u = xe("path"), h = Je(), c = A("div");
4678
+ t = A("div"), r = A("div"), i = A("button"), o = R(n), s = Ze(), a = Ee("svg"), l = Ee("path"), u = Ee("path"), h = Ze(), c = A("div");
4722
4679
  for (let v = 0; v < d.length; v += 1)
4723
4680
  d[v].c();
4724
4681
  E(l, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), E(l, "class", "svelte-1wi0iai"), E(u, "d", "M0 0h36v36h-36z"), E(u, "fill", "none"), E(u, "class", "svelte-1wi0iai"), E(a, "class", "ExpandArrow " + (/*isDesktop*/
4725
- e[10] ? "" : "Mobile") + " svelte-1wi0iai"), E(a, "xmlns", "http://www.w3.org/2000/svg"), E(a, "width", "36"), E(a, "height", "36"), E(a, "viewBox", "0 0 36 36"), si(a, "fill", "var(--emw--color-primary, #22B04E)"), ve(
4682
+ e[10] ? "" : "Mobile") + " svelte-1wi0iai"), E(a, "xmlns", "http://www.w3.org/2000/svg"), E(a, "width", "36"), E(a, "height", "36"), E(a, "viewBox", "0 0 36 36"), ti(a, "fill", "var(--emw--color-primary, #22B04E)"), ve(
4726
4683
  a,
4727
4684
  "extended",
4728
4685
  /*extended*/
@@ -4737,10 +4694,10 @@ function Bo(e) {
4737
4694
  ), E(r, "class", "HistoryWrapper svelte-1wi0iai"), E(t, "class", "player-account-gaming-limits-history-2 svelte-1wi0iai");
4738
4695
  },
4739
4696
  m(v, H) {
4740
- W(v, t, H), x(t, r), x(r, i), x(i, o), x(i, s), x(i, a), x(a, l), x(a, u), x(r, h), x(r, c);
4741
- for (let g = 0; g < d.length; g += 1)
4742
- d[g] && d[g].m(c, null);
4743
- f || (p = ni(
4697
+ W(v, t, H), w(t, r), w(r, i), w(i, o), w(i, s), w(i, a), w(a, l), w(a, u), w(r, h), w(r, c);
4698
+ for (let b = 0; b < d.length; b += 1)
4699
+ d[b] && d[b].m(c, null);
4700
+ f || (p = Kr(
4744
4701
  i,
4745
4702
  "click",
4746
4703
  /*toggleHistoryDisplayArea*/
@@ -4758,17 +4715,17 @@ function Bo(e) {
4758
4715
  v[8]
4759
4716
  ), H[0] & /*numberofentries, limitContainer, lazyShowedHistoryArray, $_*/
4760
4717
  650) {
4761
- y = Lt(
4718
+ y = _t(
4762
4719
  /*lazyShowedHistoryArray*/
4763
4720
  v[7]
4764
4721
  );
4765
- let g;
4766
- for (g = 0; g < y.length; g += 1) {
4767
- const L = Xt(v, y, g);
4768
- d[g] ? d[g].p(L, H) : (d[g] = Zt(L), d[g].c(), d[g].m(c, null));
4722
+ let b;
4723
+ for (b = 0; b < y.length; b += 1) {
4724
+ const S = jt(v, y, b);
4725
+ d[b] ? d[b].p(S, H) : (d[b] = kt(S), d[b].c(), d[b].m(c, null));
4769
4726
  }
4770
- for (; g < d.length; g += 1)
4771
- d[g].d(1);
4727
+ for (; b < d.length; b += 1)
4728
+ d[b].d(1);
4772
4729
  d.length = y.length;
4773
4730
  }
4774
4731
  H[0] & /*hidden*/
@@ -4780,14 +4737,14 @@ function Bo(e) {
4780
4737
  );
4781
4738
  },
4782
4739
  d(v) {
4783
- v && j(t), ii(d, v), f = !1, p();
4740
+ v && F(t), qr(d, v), f = !1, p();
4784
4741
  }
4785
4742
  };
4786
4743
  }
4787
- function Oo(e) {
4744
+ function So(e) {
4788
4745
  return { c: C, m: C, p: C, d: C };
4789
4746
  }
4790
- function Co(e) {
4747
+ function Ao(e) {
4791
4748
  let t, r = (
4792
4749
  /*lang*/
4793
4750
  (e[0] ? (
@@ -4797,10 +4754,10 @@ function Co(e) {
4797
4754
  ), i;
4798
4755
  return {
4799
4756
  c() {
4800
- t = A("p"), i = D(r), E(t, "class", "svelte-1wi0iai");
4757
+ t = A("p"), i = R(r), E(t, "class", "svelte-1wi0iai");
4801
4758
  },
4802
4759
  m(n, o) {
4803
- W(n, t, o), x(t, i);
4760
+ W(n, t, o), w(t, i);
4804
4761
  },
4805
4762
  p(n, o) {
4806
4763
  o[0] & /*lang, $_*/
@@ -4811,11 +4768,11 @@ function Co(e) {
4811
4768
  ) : "500 Server Error") + "") && V(i, r);
4812
4769
  },
4813
4770
  d(n) {
4814
- n && j(t);
4771
+ n && F(t);
4815
4772
  }
4816
4773
  };
4817
4774
  }
4818
- function Io(e) {
4775
+ function Po(e) {
4819
4776
  let t, r, i, n = (
4820
4777
  /*history*/
4821
4778
  e[37].type + ""
@@ -4828,10 +4785,10 @@ function Io(e) {
4828
4785
  ), c;
4829
4786
  return {
4830
4787
  c() {
4831
- t = A("div"), r = A("span"), i = A("span"), o = D(n), s = A("span"), l = D(a), u = A("span"), c = D(h), E(i, "class", "LimitType svelte-1wi0iai"), E(s, "class", "LimitAmountPeriod svelte-1wi0iai"), E(r, "class", "GeneralLimitInformation svelte-1wi0iai"), E(u, "class", "DateLimitInformation svelte-1wi0iai"), E(t, "class", "HistoryRow svelte-1wi0iai");
4788
+ t = A("div"), r = A("span"), i = A("span"), o = R(n), s = A("span"), l = R(a), u = A("span"), c = R(h), E(i, "class", "LimitType svelte-1wi0iai"), E(s, "class", "LimitAmountPeriod svelte-1wi0iai"), E(r, "class", "GeneralLimitInformation svelte-1wi0iai"), E(u, "class", "DateLimitInformation svelte-1wi0iai"), E(t, "class", "HistoryRow svelte-1wi0iai");
4832
4789
  },
4833
4790
  m(f, p) {
4834
- W(f, t, p), x(t, r), x(r, i), x(i, o), x(r, s), x(s, l), x(t, u), x(u, c);
4791
+ W(f, t, p), w(t, r), w(r, i), w(i, o), w(r, s), w(s, l), w(t, u), w(u, c);
4835
4792
  },
4836
4793
  p(f, p) {
4837
4794
  p[0] & /*lazyShowedHistoryArray*/
@@ -4843,11 +4800,11 @@ function Io(e) {
4843
4800
  f[37].date + "") && V(c, h);
4844
4801
  },
4845
4802
  d(f) {
4846
- f && j(t);
4803
+ f && F(t);
4847
4804
  }
4848
4805
  };
4849
4806
  }
4850
- function No(e) {
4807
+ function Ho(e) {
4851
4808
  let t, r, i, n = (
4852
4809
  /*history*/
4853
4810
  e[37].type + ""
@@ -4860,10 +4817,10 @@ function No(e) {
4860
4817
  ), c;
4861
4818
  return {
4862
4819
  c() {
4863
- t = A("div"), r = A("span"), i = A("span"), o = D(n), s = A("span"), l = D(a), u = A("span"), c = D(h), E(i, "class", "LimitType svelte-1wi0iai"), E(s, "class", "LimitAmountPeriod svelte-1wi0iai"), E(r, "class", "GeneralLimitInformation svelte-1wi0iai"), E(u, "class", "DateLimitInformation svelte-1wi0iai"), E(t, "class", "HistoryRow svelte-1wi0iai");
4820
+ t = A("div"), r = A("span"), i = A("span"), o = R(n), s = A("span"), l = R(a), u = A("span"), c = R(h), E(i, "class", "LimitType svelte-1wi0iai"), E(s, "class", "LimitAmountPeriod svelte-1wi0iai"), E(r, "class", "GeneralLimitInformation svelte-1wi0iai"), E(u, "class", "DateLimitInformation svelte-1wi0iai"), E(t, "class", "HistoryRow svelte-1wi0iai");
4864
4821
  },
4865
4822
  m(f, p) {
4866
- W(f, t, p), x(t, r), x(r, i), x(i, o), x(r, s), x(s, l), x(t, u), x(u, c);
4823
+ W(f, t, p), w(t, r), w(r, i), w(i, o), w(r, s), w(s, l), w(t, u), w(u, c);
4867
4824
  },
4868
4825
  p(f, p) {
4869
4826
  p[0] & /*lazyShowedHistoryArray*/
@@ -4875,11 +4832,11 @@ function No(e) {
4875
4832
  f[37].date + "") && V(c, h);
4876
4833
  },
4877
4834
  d(f) {
4878
- f && j(t);
4835
+ f && F(t);
4879
4836
  }
4880
4837
  };
4881
4838
  }
4882
- function Zt(e) {
4839
+ function kt(e) {
4883
4840
  let t, r, i, n = (
4884
4841
  /*index*/
4885
4842
  e[39]
@@ -4887,7 +4844,7 @@ function Zt(e) {
4887
4844
  function o(h, c) {
4888
4845
  return (
4889
4846
  /*history*/
4890
- h[37].removed ? No : Io
4847
+ h[37].removed ? Ho : Po
4891
4848
  );
4892
4849
  }
4893
4850
  let s = o(e), a = s(e);
@@ -4900,18 +4857,18 @@ function Zt(e) {
4900
4857
  );
4901
4858
  return {
4902
4859
  c() {
4903
- t = A("div"), a.c(), r = Je(), E(t, "class", i = wt(
4860
+ t = A("div"), a.c(), r = Ze(), E(t, "class", i = gt(
4904
4861
  /*index*/
4905
4862
  e[39] > +/*numberofentries*/
4906
4863
  e[1] ? "LimitContainer" : ""
4907
4864
  ) + " svelte-1wi0iai");
4908
4865
  },
4909
4866
  m(h, c) {
4910
- W(h, t, c), a.m(t, null), x(t, r), l();
4867
+ W(h, t, c), a.m(t, null), w(t, r), l();
4911
4868
  },
4912
4869
  p(h, c) {
4913
4870
  e = h, s === (s = o(e)) && a ? a.p(e, c) : (a.d(1), a = s(e), a && (a.c(), a.m(t, r))), c[0] & /*numberofentries*/
4914
- 2 && i !== (i = wt(
4871
+ 2 && i !== (i = gt(
4915
4872
  /*index*/
4916
4873
  e[39] > +/*numberofentries*/
4917
4874
  e[1] ? "LimitContainer" : ""
@@ -4920,18 +4877,18 @@ function Zt(e) {
4920
4877
  e[39], l());
4921
4878
  },
4922
4879
  d(h) {
4923
- h && j(t), a.d(), u();
4880
+ h && F(t), a.d(), u();
4924
4881
  }
4925
4882
  };
4926
4883
  }
4927
- function Mo(e) {
4884
+ function Bo(e) {
4928
4885
  let t;
4929
4886
  function r(o, s) {
4930
4887
  return (
4931
4888
  /*hasErrors*/
4932
- o[6] ? Co : (
4889
+ o[6] ? Ao : (
4933
4890
  /*isLoading*/
4934
- o[4] ? Oo : Bo
4891
+ o[4] ? So : Lo
4935
4892
  )
4936
4893
  );
4937
4894
  }
@@ -4949,49 +4906,49 @@ function Mo(e) {
4949
4906
  i: C,
4950
4907
  o: C,
4951
4908
  d(o) {
4952
- o && j(t), n.d(), e[23](null);
4909
+ o && F(t), n.d(), e[23](null);
4953
4910
  }
4954
4911
  };
4955
4912
  }
4956
- function Ro(e, t, r) {
4913
+ function Oo(e, t, r) {
4957
4914
  let i;
4958
- Kr(e, wo, (m) => r(9, i = m));
4959
- let n = window.navigator.userAgent, o = !To(n), { lang: s = "" } = t, { userid: a = "" } = t, { session: l = "" } = t, { endpoint: u = "" } = t, { apiversion: h = "" } = t, { numberofentries: c = "10" } = t, { customcurrencysymbols: f = "" } = t, { limitformat: p = "" } = t, { clientstyling: y = "" } = t, { clientstylingurl: d = "" } = t, { mbsource: v } = t, { translationurl: H = "" } = t, g, L = new Array(), $ = parseInt(c, 10), M = !1, U = !0, z = [], de = [], ye = !0, $e = !1, ae = { EUR: "€", RON: "lei", TRY: "₺" };
4960
- const Ir = () => {
4961
- fetch(H).then((w) => w.json()).then((w) => {
4962
- Object.keys(w).forEach((N) => {
4963
- zt(N, w[N]);
4915
+ Zr(e, go, (m) => r(9, i = m));
4916
+ let n = window.navigator.userAgent, o = !vo(n), { lang: s = "" } = t, { userid: a = "" } = t, { session: l = "" } = t, { endpoint: u = "" } = t, { apiversion: h = "" } = t, { numberofentries: c = "10" } = t, { customcurrencysymbols: f = "" } = t, { limitformat: p = "" } = t, { clientstyling: y = "" } = t, { clientstylingurl: d = "" } = t, { mbsource: v } = t, { translationurl: H = "" } = t, b, S = new Array(), D = parseInt(c, 10), M = !1, U = !0, z = [], de = [], ye = !0, Re = !1, ue = { EUR: "€", RON: "lei", TRY: "₺" };
4917
+ const Pr = () => {
4918
+ fetch(H).then((T) => T.json()).then((T) => {
4919
+ Object.keys(T).forEach((N) => {
4920
+ Ft(N, T[N]);
4964
4921
  });
4965
- }).catch((w) => {
4966
- console.log(w);
4922
+ }).catch((T) => {
4923
+ console.log(T);
4967
4924
  });
4968
4925
  };
4969
- Object.keys(Ye).forEach((m) => {
4970
- zt(m, Ye[m]);
4926
+ Object.keys(Xe).forEach((m) => {
4927
+ Ft(m, Xe[m]);
4971
4928
  });
4972
- const Nr = () => {
4973
- let m = h === "gmcore" ? `/v2/player/${a}/transactions/limit` : `/v1/player/${a}/limits/monetary/history`, w = new URL(`${u}${m}`);
4974
- w.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), w.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), w.searchParams.append("limit", "10000");
4929
+ const Hr = () => {
4930
+ let m = h === "gmcore" ? `/v2/player/${a}/transactions/limit` : `/v1/player/${a}/limits/monetary/history`, T = new URL(`${u}${m}`);
4931
+ T.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), T.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), T.searchParams.append("limit", "10000");
4975
4932
  let N = {
4976
4933
  method: "GET",
4977
4934
  headers: { "X-SessionID": l }
4978
4935
  };
4979
- fetch(w.href, N).then((P) => {
4936
+ fetch(T.href, N).then((P) => {
4980
4937
  if (P.status >= 300)
4981
4938
  throw r(4, U = !1), r(6, M = !0), new Error("There was an error fetching the limits");
4982
4939
  return P.json();
4983
4940
  }).then(
4984
4941
  (P) => {
4985
- P.length && (z = Mr(P), r(7, de = z.slice(0, $))), r(4, U = !1);
4942
+ P.length && (z = Br(P), r(7, de = z.slice(0, D))), r(4, U = !1);
4986
4943
  },
4987
4944
  (P) => {
4988
4945
  console.error("There was an error", P), r(6, M = !0);
4989
4946
  }
4990
4947
  );
4991
- }, Mr = (m) => {
4992
- const w = !!Ye[s];
4948
+ }, Br = (m) => {
4949
+ const T = !!Xe[s];
4993
4950
  return m.map((P) => {
4994
- let G = {
4951
+ let $ = {
4995
4952
  amount: "",
4996
4953
  currency: "",
4997
4954
  date: "",
@@ -4999,82 +4956,82 @@ function Ro(e, t, r) {
4999
4956
  type: "",
5000
4957
  removed: !1
5001
4958
  };
5002
- return G.amount = Rr(P), G.currency = w ? ae[P.limitCurrencyCode] : P.limitCurrencyCode, G.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(P.limitDate)), G.period = i(`${P.limitPeriod.toLowerCase()}`), G.type = h === "gmcore" ? i(`historyLimitType${P.limitType.split(" ")[0]}`) : i(`historyLimitType${P.limitType.split(" ")[0]}`) + " " + i(`historyProductType${P.limitProductType}`), G.removed = P.limitAmount === -1, G;
4959
+ return $.amount = Or(P), $.currency = T ? ue[P.limitCurrencyCode] : P.limitCurrencyCode, $.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(P.limitDate)), $.period = i(`${P.limitPeriod.toLowerCase()}`), $.type = h === "gmcore" ? i(`historyLimitType${P.limitType.split(" ")[0]}`) : i(`historyLimitType${P.limitType.split(" ")[0]}`) + " " + i(`historyProductType${P.limitProductType}`), $.removed = P.limitAmount === -1, $;
5003
4960
  });
5004
- }, Rr = (m) => {
5005
- let w = p || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(m.limitAmount);
4961
+ }, Or = (m) => {
4962
+ let T = p || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(m.limitAmount);
5006
4963
  if (!p) {
5007
- let Wr = ae[m.limitCurrencyCode] || m.limitCurrencyCode;
5008
- return `${w}${Wr}`;
4964
+ let Gr = ue[m.limitCurrencyCode] || m.limitCurrencyCode;
4965
+ return `${T}${Gr}`;
5009
4966
  }
5010
4967
  typeof m.limitAmount == "string" && m.limitAmount.includes(",") && (m.limitAmount = m.limitAmount.replaceAll(",", ""));
5011
- const N = w.match(/\{(\d+)decimals\}/), P = N ? parseInt(N[1], 10) : 2, G = N ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
5012
- let ge = parseFloat(m.limitAmount).toFixed(P);
5013
- const [kr, Ue] = p.includes(".") ? [",", "."] : [".", ","];
5014
- let [Ge, Vr] = ge.split(".");
5015
- return Ge = Ge.replace(/\B(?=(\d{3})+(?!\d))/g, kr), ge = `${Ge}${Ue}${Vr}`, w = w.replace("{currency}", ae[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", ge.split(Ue)[0]).replace(
5016
- G,
5017
- ge.split(Ue)[1]
5018
- ), w;
5019
- }, Dr = () => {
5020
- r(5, ye = !ye), r(8, $e = !$e);
4968
+ const N = T.match(/\{(\d+)decimals\}/), P = N ? parseInt(N[1], 10) : 2, $ = N ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
4969
+ let be = parseFloat(m.limitAmount).toFixed(P);
4970
+ const [Ur, De] = p.includes(".") ? [",", "."] : [".", ","];
4971
+ let [Ue, $r] = be.split(".");
4972
+ return Ue = Ue.replace(/\B(?=(\d{3})+(?!\d))/g, Ur), be = `${Ue}${De}${$r}`, T = T.replace("{currency}", ue[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", be.split(De)[0]).replace(
4973
+ $,
4974
+ be.split(De)[1]
4975
+ ), T;
4976
+ }, Cr = () => {
4977
+ r(5, ye = !ye), r(8, Re = !Re);
5021
4978
  };
5022
- let bt = new IntersectionObserver((m) => {
5023
- m.forEach((w) => {
5024
- w.isIntersecting && ($ += parseInt(c, 10) || 10, de.length < z.length && r(7, de = z.slice(0, $)));
4979
+ let mt = new IntersectionObserver((m) => {
4980
+ m.forEach((T) => {
4981
+ T.isIntersecting && (D += parseInt(c, 10) || 10, de.length < z.length && r(7, de = z.slice(0, D)));
5025
4982
  });
5026
4983
  });
5027
- const $r = () => {
5028
- bt.observe(L[L.length - 1]);
5029
- }, Ur = () => {
4984
+ const Ir = () => {
4985
+ mt.observe(S[S.length - 1]);
4986
+ }, Nr = () => {
5030
4987
  if (!f)
5031
4988
  return;
5032
4989
  let m = {};
5033
- f.split(",").forEach((w) => {
5034
- let N = w.split(":");
4990
+ f.split(",").forEach((T) => {
4991
+ let N = T.split(":");
5035
4992
  m[N[0].trim()] = N[1].trim();
5036
- }), ae = be(be({}, ae), m);
5037
- }, Gr = () => {
5038
- Po(s);
4993
+ }), ue = ge(ge({}, ue), m);
4994
+ }, Mr = () => {
4995
+ wo(s);
5039
4996
  };
5040
- li(() => () => {
5041
- bt.unobserve(L[L.length - 1]);
4997
+ ni(() => () => {
4998
+ mt.unobserve(S[S.length - 1]);
5042
4999
  });
5043
- function Fr(m, w) {
5000
+ function Rr(m, T) {
5044
5001
  Pe[m ? "unshift" : "push"](() => {
5045
- L[w] = m, r(3, L);
5002
+ S[T] = m, r(3, S);
5046
5003
  });
5047
5004
  }
5048
- function jr(m) {
5005
+ function Dr(m) {
5049
5006
  Pe[m ? "unshift" : "push"](() => {
5050
- g = m, r(2, g);
5007
+ b = m, r(2, b);
5051
5008
  });
5052
5009
  }
5053
5010
  return e.$$set = (m) => {
5054
5011
  "lang" in m && r(0, s = m.lang), "userid" in m && r(12, a = m.userid), "session" in m && r(13, l = m.session), "endpoint" in m && r(14, u = m.endpoint), "apiversion" in m && r(15, h = m.apiversion), "numberofentries" in m && r(1, c = m.numberofentries), "customcurrencysymbols" in m && r(16, f = m.customcurrencysymbols), "limitformat" in m && r(17, p = m.limitformat), "clientstyling" in m && r(18, y = m.clientstyling), "clientstylingurl" in m && r(19, d = m.clientstylingurl), "mbsource" in m && r(20, v = m.mbsource), "translationurl" in m && r(21, H = m.translationurl);
5055
5012
  }, e.$$.update = () => {
5056
5013
  e.$$.dirty[0] & /*customcurrencysymbols*/
5057
- 65536 && f && Ur(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
5058
- 61440 && u && a && l && h && Nr(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
5059
- 56 && L[0] && !U && !ye && $r(), e.$$.dirty[0] & /*lang*/
5060
- 1 && s && Gr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5061
- 262148 && y && g && Lo(g, y), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5062
- 524292 && d && g && So(g, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5063
- 1048580 && v && g && Ao(g, `${v}.Style`), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
5064
- 2097156 && H && g && Ir();
5014
+ 65536 && f && Nr(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
5015
+ 61440 && u && a && l && h && Hr(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
5016
+ 56 && S[0] && !U && !ye && Ir(), e.$$.dirty[0] & /*lang*/
5017
+ 1 && s && Mr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5018
+ 262148 && y && b && _o(b, y), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5019
+ 524292 && d && b && xo(b, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5020
+ 1048580 && v && b && Eo(b, `${v}.Style`), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
5021
+ 2097156 && H && b && Pr();
5065
5022
  }, [
5066
5023
  s,
5067
5024
  c,
5068
- g,
5069
- L,
5025
+ b,
5026
+ S,
5070
5027
  U,
5071
5028
  ye,
5072
5029
  M,
5073
5030
  de,
5074
- $e,
5031
+ Re,
5075
5032
  i,
5076
5033
  o,
5077
- Dr,
5034
+ Cr,
5078
5035
  a,
5079
5036
  l,
5080
5037
  u,
@@ -5085,18 +5042,18 @@ function Ro(e, t, r) {
5085
5042
  d,
5086
5043
  v,
5087
5044
  H,
5088
- Fr,
5089
- jr
5045
+ Rr,
5046
+ Dr
5090
5047
  ];
5091
5048
  }
5092
- class Cr extends bi {
5049
+ class Ar extends mi {
5093
5050
  constructor(t) {
5094
- super(), yi(
5051
+ super(), ci(
5095
5052
  this,
5096
5053
  t,
5097
- Ro,
5098
- Mo,
5099
- Yt,
5054
+ Oo,
5055
+ Bo,
5056
+ Wt,
5100
5057
  {
5101
5058
  lang: 0,
5102
5059
  userid: 12,
@@ -5111,7 +5068,7 @@ class Cr extends bi {
5111
5068
  mbsource: 20,
5112
5069
  translationurl: 21
5113
5070
  },
5114
- Ho,
5071
+ To,
5115
5072
  [-1, -1]
5116
5073
  );
5117
5074
  }
@@ -5188,60 +5145,60 @@ class Cr extends bi {
5188
5145
  this.$$set({ translationurl: t }), I();
5189
5146
  }
5190
5147
  }
5191
- gi(Cr, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5192
- const es = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5148
+ fi(Ar, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5149
+ const Qo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5193
5150
  __proto__: null,
5194
- default: Cr
5151
+ default: Ar
5195
5152
  }, Symbol.toStringTag, { value: "Module" }));
5196
5153
  export {
5197
- oe as $,
5198
- si as A,
5199
- jo as B,
5200
- zo as C,
5201
- Ke as D,
5202
- xe as E,
5203
- Lo as F,
5204
- So as G,
5205
- Ao as H,
5206
- gi as I,
5207
- wo as J,
5208
- qo as K,
5209
- fi as L,
5210
- Jo as M,
5211
- Ko as N,
5212
- Yo as O,
5213
- ko as P,
5214
- Zo as Q,
5215
- $o as R,
5216
- bi as S,
5217
- Go as T,
5218
- Fo as U,
5219
- Uo as V,
5220
- es as W,
5221
- Ar as a,
5222
- ei as b,
5154
+ se as $,
5155
+ ti as A,
5156
+ Do as B,
5157
+ Fo as C,
5158
+ Ye as D,
5159
+ Ee as E,
5160
+ _o as F,
5161
+ xo as G,
5162
+ Eo as H,
5163
+ fi as I,
5164
+ go as J,
5165
+ Xo as K,
5166
+ ai as L,
5167
+ zo as M,
5168
+ Zo as N,
5169
+ Wo as O,
5170
+ Uo as P,
5171
+ ko as Q,
5172
+ Io as R,
5173
+ mi as S,
5174
+ Mo as T,
5175
+ Ro as U,
5176
+ No as V,
5177
+ Qo as W,
5178
+ Er as a,
5179
+ Qr as b,
5223
5180
  W as c,
5224
- j as d,
5225
- x as e,
5181
+ F as d,
5182
+ w as e,
5226
5183
  I as f,
5227
5184
  A as g,
5228
- Je as h,
5229
- yi as i,
5230
- Kr as j,
5231
- To as k,
5185
+ Ze as h,
5186
+ ci as i,
5187
+ Zr as j,
5188
+ vo as k,
5232
5189
  E as l,
5233
5190
  Pe as m,
5234
5191
  C as n,
5235
- li as o,
5236
- Xo as p,
5237
- Vo as q,
5238
- Lt as r,
5239
- Yt as s,
5240
- Qo as t,
5241
- ii as u,
5242
- ie as v,
5192
+ ni as o,
5193
+ jo as p,
5194
+ $o as q,
5195
+ _t as r,
5196
+ Wt as s,
5197
+ Vo as t,
5198
+ qr as u,
5199
+ ne as v,
5243
5200
  V as w,
5244
- Wo as x,
5245
- ni as y,
5246
- D as z
5201
+ Go as x,
5202
+ Kr as y,
5203
+ R as z
5247
5204
  };