@everymatrix/player-account-gaming-limits-page-2-gmcore 1.77.26 → 1.77.28

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,75 +1,75 @@
1
- var cr = Object.defineProperty, hr = Object.defineProperties;
1
+ var hr = Object.defineProperty, fr = Object.defineProperties;
2
2
  var mr = Object.getOwnPropertyDescriptors;
3
- var Tt = Object.getOwnPropertySymbols;
4
- var fr = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable;
5
- var We = (e, t, i) => t in e ? cr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, wt = (e, t) => {
3
+ var St = Object.getOwnPropertySymbols;
4
+ var pr = Object.prototype.hasOwnProperty, dr = Object.prototype.propertyIsEnumerable;
5
+ var Xe = (e, t, i) => t in e ? hr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, Pt = (e, t) => {
6
6
  for (var i in t || (t = {}))
7
- fr.call(t, i) && We(e, i, t[i]);
8
- if (Tt)
9
- for (var i of Tt(t))
10
- pr.call(t, i) && We(e, i, t[i]);
7
+ pr.call(t, i) && Xe(e, i, t[i]);
8
+ if (St)
9
+ for (var i of St(t))
10
+ dr.call(t, i) && Xe(e, i, t[i]);
11
11
  return e;
12
- }, St = (e, t) => hr(e, mr(t));
13
- var V = (e, t, i) => (We(e, typeof t != "symbol" ? t + "" : t, i), i);
14
- var Pt = (e, t, i) => new Promise((r, n) => {
12
+ }, At = (e, t) => fr(e, mr(t));
13
+ var V = (e, t, i) => (Xe(e, typeof t != "symbol" ? t + "" : t, i), i);
14
+ var Bt = (e, t, i) => new Promise((r, n) => {
15
15
  var o = (c) => {
16
16
  try {
17
17
  a(i.next(c));
18
- } catch (l) {
19
- n(l);
18
+ } catch (u) {
19
+ n(u);
20
20
  }
21
21
  }, s = (c) => {
22
22
  try {
23
23
  a(i.throw(c));
24
- } catch (l) {
25
- n(l);
24
+ } catch (u) {
25
+ n(u);
26
26
  }
27
27
  }, a = (c) => c.done ? r(c.value) : Promise.resolve(c.value).then(o, s);
28
28
  a((i = i.apply(e, t)).next());
29
29
  });
30
- function U() {
30
+ function j() {
31
31
  }
32
- function hi(e) {
32
+ function mi(e) {
33
33
  return e();
34
34
  }
35
- function At() {
35
+ function Nt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function ie(e) {
39
- e.forEach(hi);
39
+ e.forEach(mi);
40
40
  }
41
- function dt(e) {
41
+ function vt(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function mi(e, t) {
44
+ function pi(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function dr(e) {
47
+ function br(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function fi(e, ...t) {
50
+ function di(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const r of t)
53
53
  r(void 0);
54
- return U;
54
+ return j;
55
55
  }
56
56
  const i = e.subscribe(...t);
57
57
  return i.unsubscribe ? () => i.unsubscribe() : i;
58
58
  }
59
- function br(e, t, i) {
60
- e.$$.on_destroy.push(fi(t, i));
59
+ function gr(e, t, i) {
60
+ e.$$.on_destroy.push(di(t, i));
61
61
  }
62
62
  function d(e, t) {
63
63
  e.appendChild(t);
64
64
  }
65
- function gr(e, t, i) {
66
- const r = yr(e);
65
+ function yr(e, t, i) {
66
+ const r = vr(e);
67
67
  if (!r.getElementById(t)) {
68
68
  const n = v("style");
69
- n.id = t, n.textContent = i, vr(r, n);
69
+ n.id = t, n.textContent = i, _r(r, n);
70
70
  }
71
71
  }
72
- function yr(e) {
72
+ function vr(e) {
73
73
  if (!e)
74
74
  return document;
75
75
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -79,61 +79,61 @@ function yr(e) {
79
79
  t
80
80
  ) : e.ownerDocument;
81
81
  }
82
- function vr(e, t) {
82
+ function _r(e, t) {
83
83
  return d(
84
84
  /** @type {Document} */
85
85
  e.head || e,
86
86
  t
87
87
  ), t.sheet;
88
88
  }
89
- function N(e, t, i) {
89
+ function B(e, t, i) {
90
90
  e.insertBefore(t, i || null);
91
91
  }
92
- function B(e) {
92
+ function A(e) {
93
93
  e.parentNode && e.parentNode.removeChild(e);
94
94
  }
95
- function Ce(e, t) {
95
+ function De(e, t) {
96
96
  for (let i = 0; i < e.length; i += 1)
97
97
  e[i] && e[i].d(t);
98
98
  }
99
99
  function v(e) {
100
100
  return document.createElement(e);
101
101
  }
102
- function be(e) {
102
+ function de(e) {
103
103
  return document.createElementNS("http://www.w3.org/2000/svg", e);
104
104
  }
105
- function F(e) {
105
+ function $(e) {
106
106
  return document.createTextNode(e);
107
107
  }
108
- function j() {
109
- return F(" ");
108
+ function U() {
109
+ return $(" ");
110
110
  }
111
- function _r() {
112
- return F("");
111
+ function Er() {
112
+ return $("");
113
113
  }
114
- function Y(e, t, i, r) {
114
+ function q(e, t, i, r) {
115
115
  return e.addEventListener(t, i, r), () => e.removeEventListener(t, i, r);
116
116
  }
117
117
  function g(e, t, i) {
118
118
  i == null ? e.removeAttribute(t) : e.getAttribute(t) !== i && e.setAttribute(t, i);
119
119
  }
120
- function pi(e) {
120
+ function bi(e) {
121
121
  return e === "" ? null : +e;
122
122
  }
123
- function Er(e) {
123
+ function Lr(e) {
124
124
  return Array.from(e.childNodes);
125
125
  }
126
126
  function W(e, t) {
127
127
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
128
128
  t);
129
129
  }
130
- function ve(e, t) {
130
+ function ye(e, t) {
131
131
  e.value = t == null ? "" : t;
132
132
  }
133
- function Ve(e, t, i, r) {
133
+ function Ze(e, t, i, r) {
134
134
  i == null ? e.style.removeProperty(t) : e.style.setProperty(t, i, "");
135
135
  }
136
- function He(e, t, i) {
136
+ function Ie(e, t, i) {
137
137
  for (let r = 0; r < e.options.length; r += 1) {
138
138
  const n = e.options[r];
139
139
  if (n.__value === t) {
@@ -143,11 +143,11 @@ function He(e, t, i) {
143
143
  }
144
144
  (!i || t !== void 0) && (e.selectedIndex = -1);
145
145
  }
146
- function Bt(e) {
146
+ function Ot(e) {
147
147
  const t = e.querySelector(":checked");
148
148
  return t && t.__value;
149
149
  }
150
- function Lr(e) {
150
+ function xr(e) {
151
151
  const t = {};
152
152
  return e.childNodes.forEach(
153
153
  /** @param {Element} node */
@@ -156,98 +156,98 @@ function Lr(e) {
156
156
  }
157
157
  ), t;
158
158
  }
159
- let _e;
160
- function ye(e) {
161
- _e = e;
159
+ let ve;
160
+ function ge(e) {
161
+ ve = e;
162
162
  }
163
- function xr() {
164
- if (!_e)
163
+ function Tr() {
164
+ if (!ve)
165
165
  throw new Error("Function called outside component initialization");
166
- return _e;
166
+ return ve;
167
167
  }
168
- function Tr(e) {
169
- xr().$$.on_mount.push(e);
168
+ function wr(e) {
169
+ Tr().$$.on_mount.push(e);
170
170
  }
171
- const se = [], Oe = [];
171
+ const se = [], He = [];
172
172
  let ae = [];
173
- const Nt = [], wr = /* @__PURE__ */ Promise.resolve();
174
- let tt = !1;
175
- function Sr() {
176
- tt || (tt = !0, wr.then(X));
173
+ const It = [], Sr = /* @__PURE__ */ Promise.resolve();
174
+ let rt = !1;
175
+ function Pr() {
176
+ rt || (rt = !0, Sr.then(X));
177
177
  }
178
- function Ee(e) {
178
+ function _e(e) {
179
179
  ae.push(e);
180
180
  }
181
- const Xe = /* @__PURE__ */ new Set();
181
+ const Ye = /* @__PURE__ */ new Set();
182
182
  let ne = 0;
183
183
  function X() {
184
184
  if (ne !== 0)
185
185
  return;
186
- const e = _e;
186
+ const e = ve;
187
187
  do {
188
188
  try {
189
189
  for (; ne < se.length; ) {
190
190
  const t = se[ne];
191
- ne++, ye(t), Pr(t.$$);
191
+ ne++, ge(t), Ar(t.$$);
192
192
  }
193
193
  } catch (t) {
194
194
  throw se.length = 0, ne = 0, t;
195
195
  }
196
- for (ye(null), se.length = 0, ne = 0; Oe.length; )
197
- Oe.pop()();
196
+ for (ge(null), se.length = 0, ne = 0; He.length; )
197
+ He.pop()();
198
198
  for (let t = 0; t < ae.length; t += 1) {
199
199
  const i = ae[t];
200
- Xe.has(i) || (Xe.add(i), i());
200
+ Ye.has(i) || (Ye.add(i), i());
201
201
  }
202
202
  ae.length = 0;
203
203
  } while (se.length);
204
- for (; Nt.length; )
205
- Nt.pop()();
206
- tt = !1, Xe.clear(), ye(e);
204
+ for (; It.length; )
205
+ It.pop()();
206
+ rt = !1, Ye.clear(), ge(e);
207
207
  }
208
- function Pr(e) {
208
+ function Ar(e) {
209
209
  if (e.fragment !== null) {
210
210
  e.update(), ie(e.before_update);
211
211
  const t = e.dirty;
212
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ee);
212
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(_e);
213
213
  }
214
214
  }
215
- function Ar(e) {
215
+ function Br(e) {
216
216
  const t = [], i = [];
217
217
  ae.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : i.push(r)), i.forEach((r) => r()), ae = t;
218
218
  }
219
- const Br = /* @__PURE__ */ new Set();
220
- function Nr(e, t) {
221
- e && e.i && (Br.delete(e), e.i(t));
219
+ const Nr = /* @__PURE__ */ new Set();
220
+ function Or(e, t) {
221
+ e && e.i && (Nr.delete(e), e.i(t));
222
222
  }
223
223
  function te(e) {
224
224
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
225
225
  }
226
226
  function Ir(e, t, i) {
227
227
  const { fragment: r, after_update: n } = e.$$;
228
- r && r.m(t, i), Ee(() => {
229
- const o = e.$$.on_mount.map(hi).filter(dt);
228
+ r && r.m(t, i), _e(() => {
229
+ const o = e.$$.on_mount.map(mi).filter(vt);
230
230
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
231
- }), n.forEach(Ee);
231
+ }), n.forEach(_e);
232
232
  }
233
233
  function Hr(e, t) {
234
234
  const i = e.$$;
235
- i.fragment !== null && (Ar(i.after_update), ie(i.on_destroy), i.fragment && i.fragment.d(t), i.on_destroy = i.fragment = null, i.ctx = []);
235
+ i.fragment !== null && (Br(i.after_update), ie(i.on_destroy), i.fragment && i.fragment.d(t), i.on_destroy = i.fragment = null, i.ctx = []);
236
236
  }
237
- function Or(e, t) {
238
- e.$$.dirty[0] === -1 && (se.push(e), Sr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
237
+ function Mr(e, t) {
238
+ e.$$.dirty[0] === -1 && (se.push(e), Pr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
239
239
  }
240
- function Mr(e, t, i, r, n, o, s = null, a = [-1]) {
241
- const c = _e;
242
- ye(e);
243
- const l = e.$$ = {
240
+ function kr(e, t, i, r, n, o, s = null, a = [-1]) {
241
+ const c = ve;
242
+ ge(e);
243
+ const u = e.$$ = {
244
244
  fragment: null,
245
245
  ctx: [],
246
246
  // state
247
247
  props: o,
248
- update: U,
248
+ update: j,
249
249
  not_equal: n,
250
- bound: At(),
250
+ bound: Nt(),
251
251
  // lifecycle
252
252
  on_mount: [],
253
253
  on_destroy: [],
@@ -256,28 +256,28 @@ function Mr(e, t, i, r, n, o, s = null, a = [-1]) {
256
256
  after_update: [],
257
257
  context: new Map(t.context || (c ? c.$$.context : [])),
258
258
  // everything else
259
- callbacks: At(),
259
+ callbacks: Nt(),
260
260
  dirty: a,
261
261
  skip_bound: !1,
262
262
  root: t.target || c.$$.root
263
263
  };
264
- s && s(l.root);
265
- let u = !1;
266
- if (l.ctx = i ? i(e, t.props || {}, (h, f, ...m) => {
267
- const p = m.length ? m[0] : f;
268
- return l.ctx && n(l.ctx[h], l.ctx[h] = p) && (!l.skip_bound && l.bound[h] && l.bound[h](p), u && Or(e, h)), f;
269
- }) : [], l.update(), u = !0, ie(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
264
+ s && s(u.root);
265
+ let l = !1;
266
+ if (u.ctx = i ? i(e, t.props || {}, (h, m, ...f) => {
267
+ const p = f.length ? f[0] : m;
268
+ return u.ctx && n(u.ctx[h], u.ctx[h] = p) && (!u.skip_bound && u.bound[h] && u.bound[h](p), l && Mr(e, h)), m;
269
+ }) : [], u.update(), l = !0, ie(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
270
270
  if (t.hydrate) {
271
- const h = Er(t.target);
272
- l.fragment && l.fragment.l(h), h.forEach(B);
271
+ const h = Lr(t.target);
272
+ u.fragment && u.fragment.l(h), h.forEach(A);
273
273
  } else
274
- l.fragment && l.fragment.c();
275
- t.intro && Nr(e.$$.fragment), Ir(e, t.target, t.anchor), X();
274
+ u.fragment && u.fragment.c();
275
+ t.intro && Or(e.$$.fragment), Ir(e, t.target, t.anchor), X();
276
276
  }
277
- ye(c);
277
+ ge(c);
278
278
  }
279
- let di;
280
- typeof HTMLElement == "function" && (di = class extends HTMLElement {
279
+ let gi;
280
+ typeof HTMLElement == "function" && (gi = class extends HTMLElement {
281
281
  constructor(t, i, r) {
282
282
  super();
283
283
  /** The Svelte component constructor */
@@ -314,7 +314,7 @@ typeof HTMLElement == "function" && (di = class extends HTMLElement {
314
314
  }
315
315
  }
316
316
  connectedCallback() {
317
- return Pt(this, null, function* () {
317
+ return Bt(this, null, function* () {
318
318
  if (this.$$cn = !0, !this.$$c) {
319
319
  let t = function(o) {
320
320
  return () => {
@@ -327,18 +327,18 @@ typeof HTMLElement == "function" && (di = class extends HTMLElement {
327
327
  * @param {HTMLElement} target
328
328
  * @param {HTMLElement} [anchor]
329
329
  */
330
- m: function(l, u) {
331
- N(l, s, u);
330
+ m: function(u, l) {
331
+ B(u, s, l);
332
332
  },
333
- d: function(l) {
334
- l && B(s);
333
+ d: function(u) {
334
+ u && A(s);
335
335
  }
336
336
  };
337
337
  };
338
338
  };
339
339
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
340
340
  return;
341
- const i = {}, r = Lr(this);
341
+ const i = {}, r = xr(this);
342
342
  for (const o of this.$$s)
343
343
  o in r && (i[o] = [t(o)]);
344
344
  for (const o of this.attributes) {
@@ -349,7 +349,7 @@ typeof HTMLElement == "function" && (di = class extends HTMLElement {
349
349
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
350
350
  this.$$c = new this.$$ctor({
351
351
  target: this.shadowRoot || this,
352
- props: St(wt({}, this.$$d), {
352
+ props: At(Pt({}, this.$$d), {
353
353
  $$slots: i,
354
354
  $$scope: {
355
355
  ctx: []
@@ -427,8 +427,8 @@ function Ae(e, t, i, r) {
427
427
  return t;
428
428
  }
429
429
  }
430
- function kr(e, t, i, r, n, o) {
431
- let s = class extends di {
430
+ function Cr(e, t, i, r, n, o) {
431
+ let s = class extends gi {
432
432
  constructor() {
433
433
  super(e, i, n), this.$$p_d = t;
434
434
  }
@@ -444,8 +444,8 @@ function kr(e, t, i, r, n, o) {
444
444
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
445
445
  },
446
446
  set(c) {
447
- var l;
448
- c = Ae(a, c, t), this.$$d[a] = c, (l = this.$$c) == null || l.$set({ [a]: c });
447
+ var u;
448
+ c = Ae(a, c, t), this.$$d[a] = c, (u = this.$$c) == null || u.$set({ [a]: c });
449
449
  }
450
450
  });
451
451
  }), r.forEach((a) => {
@@ -458,7 +458,7 @@ function kr(e, t, i, r, n, o) {
458
458
  }), e.element = /** @type {any} */
459
459
  s, s;
460
460
  }
461
- class Cr {
461
+ class Dr {
462
462
  constructor() {
463
463
  /**
464
464
  * ### PRIVATE API
@@ -479,7 +479,7 @@ class Cr {
479
479
  }
480
480
  /** @returns {void} */
481
481
  $destroy() {
482
- Hr(this, 1), this.$destroy = U;
482
+ Hr(this, 1), this.$destroy = j;
483
483
  }
484
484
  /**
485
485
  * @template {Extract<keyof Events, string>} K
@@ -488,8 +488,8 @@ class Cr {
488
488
  * @returns {() => void}
489
489
  */
490
490
  $on(t, i) {
491
- if (!dt(i))
492
- return U;
491
+ if (!vt(i))
492
+ return j;
493
493
  const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
494
494
  return r.push(i), () => {
495
495
  const n = r.indexOf(i);
@@ -501,11 +501,11 @@ class Cr {
501
501
  * @returns {void}
502
502
  */
503
503
  $set(t) {
504
- this.$$set && !dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
504
+ this.$$set && !br(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
505
505
  }
506
506
  }
507
- const Dr = "4";
508
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Dr);
507
+ const Rr = "4";
508
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Rr);
509
509
  const Z = {
510
510
  deposit: {
511
511
  title: "Deposit Limit",
@@ -532,22 +532,22 @@ const Z = {
532
532
  periods: ["Monthly"]
533
533
  }
534
534
  }, oe = [];
535
- function Rr(e, t) {
535
+ function jr(e, t) {
536
536
  return {
537
- subscribe: De(e, t).subscribe
537
+ subscribe: Re(e, t).subscribe
538
538
  };
539
539
  }
540
- function De(e, t = U) {
540
+ function Re(e, t = j) {
541
541
  let i;
542
542
  const r = /* @__PURE__ */ new Set();
543
543
  function n(a) {
544
- if (mi(e, a) && (e = a, i)) {
544
+ if (pi(e, a) && (e = a, i)) {
545
545
  const c = !oe.length;
546
- for (const l of r)
547
- l[1](), oe.push(l, e);
546
+ for (const u of r)
547
+ u[1](), oe.push(u, e);
548
548
  if (c) {
549
- for (let l = 0; l < oe.length; l += 2)
550
- oe[l][0](oe[l + 1]);
549
+ for (let u = 0; u < oe.length; u += 2)
550
+ oe[u][0](oe[u + 1]);
551
551
  oe.length = 0;
552
552
  }
553
553
  }
@@ -555,10 +555,10 @@ function De(e, t = U) {
555
555
  function o(a) {
556
556
  n(a(e));
557
557
  }
558
- function s(a, c = U) {
559
- const l = [a, c];
560
- return r.add(l), r.size === 1 && (i = t(n, o) || U), a(e), () => {
561
- r.delete(l), r.size === 0 && i && (i(), i = null);
558
+ function s(a, c = j) {
559
+ const u = [a, c];
560
+ return r.add(u), r.size === 1 && (i = t(n, o) || j), a(e), () => {
561
+ r.delete(u), r.size === 0 && i && (i(), i = null);
562
562
  };
563
563
  }
564
564
  return { set: n, update: o, subscribe: s };
@@ -568,96 +568,96 @@ function fe(e, t, i) {
568
568
  if (!n.every(Boolean))
569
569
  throw new Error("derived() expects stores as input, got a falsy value");
570
570
  const o = t.length < 2;
571
- return Rr(i, (s, a) => {
571
+ return jr(i, (s, a) => {
572
572
  let c = !1;
573
- const l = [];
574
- let u = 0, h = U;
575
- const f = () => {
576
- if (u)
573
+ const u = [];
574
+ let l = 0, h = j;
575
+ const m = () => {
576
+ if (l)
577
577
  return;
578
578
  h();
579
- const p = t(r ? l[0] : l, s, a);
580
- o ? s(p) : h = dt(p) ? p : U;
581
- }, m = n.map(
582
- (p, _) => fi(
579
+ const p = t(r ? u[0] : u, s, a);
580
+ o ? s(p) : h = vt(p) ? p : j;
581
+ }, f = n.map(
582
+ (p, _) => di(
583
583
  p,
584
584
  (R) => {
585
- l[_] = R, u &= ~(1 << _), c && f();
585
+ u[_] = R, l &= ~(1 << _), c && m();
586
586
  },
587
587
  () => {
588
- u |= 1 << _;
588
+ l |= 1 << _;
589
589
  }
590
590
  )
591
591
  );
592
- return c = !0, f(), function() {
593
- ie(m), h(), c = !1;
592
+ return c = !0, m(), function() {
593
+ ie(f), h(), c = !1;
594
594
  };
595
595
  });
596
596
  }
597
597
  function Ur(e) {
598
598
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
599
599
  }
600
- var jr = function(t) {
601
- return Fr(t) && !$r(t);
600
+ var $r = function(t) {
601
+ return Fr(t) && !Gr(t);
602
602
  };
603
603
  function Fr(e) {
604
604
  return !!e && typeof e == "object";
605
605
  }
606
- function $r(e) {
606
+ function Gr(e) {
607
607
  var t = Object.prototype.toString.call(e);
608
- return t === "[object RegExp]" || t === "[object Date]" || Wr(e);
609
- }
610
- var Gr = typeof Symbol == "function" && Symbol.for, zr = Gr ? Symbol.for("react.element") : 60103;
611
- function Wr(e) {
612
- return e.$$typeof === zr;
608
+ return t === "[object RegExp]" || t === "[object Date]" || Vr(e);
613
609
  }
610
+ var zr = typeof Symbol == "function" && Symbol.for, Wr = zr ? Symbol.for("react.element") : 60103;
614
611
  function Vr(e) {
612
+ return e.$$typeof === Wr;
613
+ }
614
+ function Xr(e) {
615
615
  return Array.isArray(e) ? [] : {};
616
616
  }
617
- function Le(e, t) {
618
- return t.clone !== !1 && t.isMergeableObject(e) ? ue(Vr(e), e, t) : e;
617
+ function Ee(e, t) {
618
+ return t.clone !== !1 && t.isMergeableObject(e) ? ue(Xr(e), e, t) : e;
619
619
  }
620
- function Xr(e, t, i) {
620
+ function Zr(e, t, i) {
621
621
  return e.concat(t).map(function(r) {
622
- return Le(r, i);
622
+ return Ee(r, i);
623
623
  });
624
624
  }
625
- function Zr(e, t) {
625
+ function Yr(e, t) {
626
626
  if (!t.customMerge)
627
627
  return ue;
628
628
  var i = t.customMerge(e);
629
629
  return typeof i == "function" ? i : ue;
630
630
  }
631
- function Yr(e) {
631
+ function qr(e) {
632
632
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
633
633
  return Object.propertyIsEnumerable.call(e, t);
634
634
  }) : [];
635
635
  }
636
- function It(e) {
637
- return Object.keys(e).concat(Yr(e));
636
+ function Ht(e) {
637
+ return Object.keys(e).concat(qr(e));
638
638
  }
639
- function bi(e, t) {
639
+ function yi(e, t) {
640
640
  try {
641
641
  return t in e;
642
642
  } catch (i) {
643
643
  return !1;
644
644
  }
645
645
  }
646
- function qr(e, t) {
647
- return bi(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
646
+ function Jr(e, t) {
647
+ return yi(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
648
648
  }
649
- function Jr(e, t, i) {
649
+ function Qr(e, t, i) {
650
650
  var r = {};
651
- return i.isMergeableObject(e) && It(e).forEach(function(n) {
652
- r[n] = Le(e[n], i);
653
- }), It(t).forEach(function(n) {
654
- qr(e, n) || (bi(e, n) && i.isMergeableObject(t[n]) ? r[n] = Zr(n, i)(e[n], t[n], i) : r[n] = Le(t[n], i));
651
+ return i.isMergeableObject(e) && Ht(e).forEach(function(n) {
652
+ r[n] = Ee(e[n], i);
653
+ }), Ht(t).forEach(function(n) {
654
+ Jr(e, n) || (yi(e, n) && i.isMergeableObject(t[n]) ? r[n] = Yr(n, i)(e[n], t[n], i) : r[n] = Ee(t[n], i));
655
655
  }), r;
656
656
  }
657
657
  function ue(e, t, i) {
658
- i = i || {}, i.arrayMerge = i.arrayMerge || Xr, i.isMergeableObject = i.isMergeableObject || jr, i.cloneUnlessOtherwiseSpecified = Le;
658
+ i = i || {}, i.arrayMerge = i.arrayMerge || Zr, i.isMergeableObject = i.isMergeableObject || $r, i.cloneUnlessOtherwiseSpecified = Ee;
659
659
  var r = Array.isArray(t), n = Array.isArray(e), o = r === n;
660
- return o ? r ? i.arrayMerge(e, t, i) : Jr(e, t, i) : Le(t, i);
660
+ return o ? r ? i.arrayMerge(e, t, i) : Qr(e, t, i) : Ee(t, i);
661
661
  }
662
662
  ue.all = function(t, i) {
663
663
  if (!Array.isArray(t))
@@ -666,50 +666,36 @@ ue.all = function(t, i) {
666
666
  return ue(r, n, i);
667
667
  }, {});
668
668
  };
669
- var Qr = ue, Kr = Qr;
670
- const en = /* @__PURE__ */ Ur(Kr);
671
- /*! *****************************************************************************
672
- Copyright (c) Microsoft Corporation.
673
-
674
- Permission to use, copy, modify, and/or distribute this software for any
675
- purpose with or without fee is hereby granted.
676
-
677
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
678
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
679
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
680
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
681
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
682
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
683
- PERFORMANCE OF THIS SOFTWARE.
684
- ***************************************************************************** */
685
- var it = function(e, t) {
686
- return it = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(i, r) {
669
+ var Kr = ue, en = Kr;
670
+ const tn = /* @__PURE__ */ Ur(en);
671
+ var nt = function(e, t) {
672
+ return nt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(i, r) {
687
673
  i.__proto__ = r;
688
674
  } || function(i, r) {
689
675
  for (var n in r)
690
676
  Object.prototype.hasOwnProperty.call(r, n) && (i[n] = r[n]);
691
- }, it(e, t);
677
+ }, nt(e, t);
692
678
  };
693
- function Q(e, t) {
679
+ function je(e, t) {
694
680
  if (typeof t != "function" && t !== null)
695
681
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
696
- it(e, t);
682
+ nt(e, t);
697
683
  function i() {
698
684
  this.constructor = e;
699
685
  }
700
686
  e.prototype = t === null ? Object.create(t) : (i.prototype = t.prototype, new i());
701
687
  }
702
- var S = function() {
703
- return S = Object.assign || function(t) {
688
+ var Y = function() {
689
+ return Y = Object.assign || function(t) {
704
690
  for (var i, r = 1, n = arguments.length; r < n; r++) {
705
691
  i = arguments[r];
706
692
  for (var o in i)
707
693
  Object.prototype.hasOwnProperty.call(i, o) && (t[o] = i[o]);
708
694
  }
709
695
  return t;
710
- }, S.apply(this, arguments);
696
+ }, Y.apply(this, arguments);
711
697
  };
712
- function tn(e, t) {
698
+ function rn(e, t) {
713
699
  var i = {};
714
700
  for (var r in e)
715
701
  Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (i[r] = e[r]);
@@ -718,143 +704,119 @@ function tn(e, t) {
718
704
  t.indexOf(r[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[n]) && (i[r[n]] = e[r[n]]);
719
705
  return i;
720
706
  }
721
- function rt(e) {
722
- var t = typeof Symbol == "function" && Symbol.iterator, i = t && e[t], r = 0;
723
- if (i)
724
- return i.call(e);
725
- if (e && typeof e.length == "number")
726
- return {
727
- next: function() {
728
- return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
729
- }
730
- };
731
- throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
732
- }
733
- function nt(e, t) {
734
- var i = typeof Symbol == "function" && e[Symbol.iterator];
735
- if (!i)
736
- return e;
737
- var r = i.call(e), n, o = [], s;
738
- try {
739
- for (; (t === void 0 || t-- > 0) && !(n = r.next()).done; )
740
- o.push(n.value);
741
- } catch (a) {
742
- s = { error: a };
743
- } finally {
744
- try {
745
- n && !n.done && (i = r.return) && i.call(r);
746
- } finally {
747
- if (s)
748
- throw s.error;
749
- }
750
- }
751
- return o;
752
- }
753
- function le(e, t, i) {
707
+ function qe(e, t, i) {
754
708
  if (i || arguments.length === 2)
755
709
  for (var r = 0, n = t.length, o; r < n; r++)
756
710
  (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
757
- return e.concat(o || t);
711
+ return e.concat(o || Array.prototype.slice.call(t));
758
712
  }
759
- function Ze(e, t) {
760
- var i = t && t.cache ? t.cache : ln, r = t && t.serializer ? t.serializer : an, n = t && t.strategy ? t.strategy : nn;
713
+ function Je(e, t) {
714
+ var i = t && t.cache ? t.cache : cn, r = t && t.serializer ? t.serializer : un, n = t && t.strategy ? t.strategy : sn;
761
715
  return n(e, {
762
716
  cache: i,
763
717
  serializer: r
764
718
  });
765
719
  }
766
- function rn(e) {
720
+ function nn(e) {
767
721
  return e == null || typeof e == "number" || typeof e == "boolean";
768
722
  }
769
- function gi(e, t, i, r) {
770
- var n = rn(r) ? r : i(r), o = t.get(n);
723
+ function on(e, t, i, r) {
724
+ var n = nn(r) ? r : i(r), o = t.get(n);
771
725
  return typeof o == "undefined" && (o = e.call(this, r), t.set(n, o)), o;
772
726
  }
773
- function yi(e, t, i) {
727
+ function vi(e, t, i) {
774
728
  var r = Array.prototype.slice.call(arguments, 3), n = i(r), o = t.get(n);
775
729
  return typeof o == "undefined" && (o = e.apply(this, r), t.set(n, o)), o;
776
730
  }
777
- function bt(e, t, i, r, n) {
731
+ function _i(e, t, i, r, n) {
778
732
  return i.bind(t, e, r, n);
779
733
  }
780
- function nn(e, t) {
781
- var i = e.length === 1 ? gi : yi;
782
- return bt(e, this, i, t.cache.create(), t.serializer);
783
- }
784
- function on(e, t) {
785
- return bt(e, this, yi, t.cache.create(), t.serializer);
786
- }
787
734
  function sn(e, t) {
788
- return bt(e, this, gi, t.cache.create(), t.serializer);
735
+ var i = e.length === 1 ? on : vi;
736
+ return _i(e, this, i, t.cache.create(), t.serializer);
789
737
  }
790
- var an = function() {
791
- return JSON.stringify(arguments);
792
- };
793
- function gt() {
794
- this.cache = /* @__PURE__ */ Object.create(null);
738
+ function an(e, t) {
739
+ return _i(e, this, vi, t.cache.create(), t.serializer);
795
740
  }
796
- gt.prototype.get = function(e) {
797
- return this.cache[e];
798
- };
799
- gt.prototype.set = function(e, t) {
800
- this.cache[e] = t;
801
- };
802
- var ln = {
741
+ var un = function() {
742
+ return JSON.stringify(arguments);
743
+ }, ln = (
744
+ /** @class */
745
+ function() {
746
+ function e() {
747
+ this.cache = /* @__PURE__ */ Object.create(null);
748
+ }
749
+ return e.prototype.get = function(t) {
750
+ return this.cache[t];
751
+ }, e.prototype.set = function(t, i) {
752
+ this.cache[t] = i;
753
+ }, e;
754
+ }()
755
+ ), cn = {
803
756
  create: function() {
804
- return new gt();
757
+ return new ln();
805
758
  }
806
- }, Ye = {
807
- variadic: on,
808
- monadic: sn
809
- }, x;
759
+ }, Qe = {
760
+ variadic: an
761
+ }, Me = function() {
762
+ return Me = Object.assign || function(t) {
763
+ for (var i, r = 1, n = arguments.length; r < n; r++) {
764
+ i = arguments[r];
765
+ for (var o in i)
766
+ Object.prototype.hasOwnProperty.call(i, o) && (t[o] = i[o]);
767
+ }
768
+ return t;
769
+ }, Me.apply(this, arguments);
770
+ };
771
+ var x;
810
772
  (function(e) {
811
773
  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";
812
774
  })(x || (x = {}));
813
- var O;
775
+ var I;
814
776
  (function(e) {
815
777
  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";
816
- })(O || (O = {}));
817
- var ce;
778
+ })(I || (I = {}));
779
+ var le;
818
780
  (function(e) {
819
781
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
820
- })(ce || (ce = {}));
821
- function Ht(e) {
822
- return e.type === O.literal;
823
- }
824
- function un(e) {
825
- return e.type === O.argument;
826
- }
827
- function vi(e) {
828
- return e.type === O.number;
782
+ })(le || (le = {}));
783
+ function Mt(e) {
784
+ return e.type === I.literal;
829
785
  }
830
- function _i(e) {
831
- return e.type === O.date;
786
+ function hn(e) {
787
+ return e.type === I.argument;
832
788
  }
833
789
  function Ei(e) {
834
- return e.type === O.time;
790
+ return e.type === I.number;
835
791
  }
836
792
  function Li(e) {
837
- return e.type === O.select;
793
+ return e.type === I.date;
838
794
  }
839
795
  function xi(e) {
840
- return e.type === O.plural;
841
- }
842
- function cn(e) {
843
- return e.type === O.pound;
796
+ return e.type === I.time;
844
797
  }
845
798
  function Ti(e) {
846
- return e.type === O.tag;
799
+ return e.type === I.select;
847
800
  }
848
801
  function wi(e) {
849
- return !!(e && typeof e == "object" && e.type === ce.number);
802
+ return e.type === I.plural;
803
+ }
804
+ function fn(e) {
805
+ return e.type === I.pound;
806
+ }
807
+ function Si(e) {
808
+ return e.type === I.tag;
809
+ }
810
+ function Pi(e) {
811
+ return !!(e && typeof e == "object" && e.type === le.number);
850
812
  }
851
813
  function ot(e) {
852
- return !!(e && typeof e == "object" && e.type === ce.dateTime);
814
+ return !!(e && typeof e == "object" && e.type === le.dateTime);
853
815
  }
854
- var Si = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, hn = /(?:[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;
855
- function mn(e) {
816
+ var Ai = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, mn = /(?:[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;
817
+ function pn(e) {
856
818
  var t = {};
857
- return e.replace(hn, function(i) {
819
+ return e.replace(mn, function(i) {
858
820
  var r = i.length;
859
821
  switch (i[0]) {
860
822
  case "G":
@@ -943,18 +905,28 @@ function mn(e) {
943
905
  return "";
944
906
  }), t;
945
907
  }
946
- var fn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
947
- function pn(e) {
908
+ var C = function() {
909
+ return C = Object.assign || function(t) {
910
+ for (var i, r = 1, n = arguments.length; r < n; r++) {
911
+ i = arguments[r];
912
+ for (var o in i)
913
+ Object.prototype.hasOwnProperty.call(i, o) && (t[o] = i[o]);
914
+ }
915
+ return t;
916
+ }, C.apply(this, arguments);
917
+ };
918
+ var dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
919
+ function bn(e) {
948
920
  if (e.length === 0)
949
921
  throw new Error("Number skeleton cannot be empty");
950
- for (var t = e.split(fn).filter(function(f) {
951
- return f.length > 0;
922
+ for (var t = e.split(dn).filter(function(m) {
923
+ return m.length > 0;
952
924
  }), i = [], r = 0, n = t; r < n.length; r++) {
953
925
  var o = n[r], s = o.split("/");
954
926
  if (s.length === 0)
955
927
  throw new Error("Invalid number skeleton");
956
- for (var a = s[0], c = s.slice(1), l = 0, u = c; l < u.length; l++) {
957
- var h = u[l];
928
+ for (var a = s[0], c = s.slice(1), u = 0, l = c; u < l.length; u++) {
929
+ var h = l[u];
958
930
  if (h.length === 0)
959
931
  throw new Error("Invalid number skeleton");
960
932
  }
@@ -962,17 +934,17 @@ function pn(e) {
962
934
  }
963
935
  return i;
964
936
  }
965
- function dn(e) {
937
+ function gn(e) {
966
938
  return e.replace(/^(.*?)-/, "");
967
939
  }
968
- var Ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Pi = /^(@+)?(\+|#+)?[rs]?$/g, bn = /(\*)(0+)|(#+)(0+)|(0+)/g, Ai = /^(0+)$/;
969
- function Mt(e) {
940
+ var kt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Bi = /^(@+)?(\+|#+)?[rs]?$/g, yn = /(\*)(0+)|(#+)(0+)|(0+)/g, Ni = /^(0+)$/;
941
+ function Ct(e) {
970
942
  var t = {};
971
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Pi, function(i, r, n) {
943
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Bi, function(i, r, n) {
972
944
  return typeof n != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : n === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof n == "string" ? n.length : 0)), "";
973
945
  }), t;
974
946
  }
975
- function Bi(e) {
947
+ function Oi(e) {
976
948
  switch (e) {
977
949
  case "sign-auto":
978
950
  return {
@@ -1012,7 +984,7 @@ function Bi(e) {
1012
984
  };
1013
985
  }
1014
986
  }
1015
- function gn(e) {
987
+ function vn(e) {
1016
988
  var t;
1017
989
  if (e[0] === "E" && e[1] === "E" ? (t = {
1018
990
  notation: "engineering"
@@ -1020,17 +992,17 @@ function gn(e) {
1020
992
  notation: "scientific"
1021
993
  }, e = e.slice(1)), t) {
1022
994
  var i = e.slice(0, 2);
1023
- if (i === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : i === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ai.test(e))
995
+ if (i === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : i === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ni.test(e))
1024
996
  throw new Error("Malformed concise eng/scientific notation");
1025
997
  t.minimumIntegerDigits = e.length;
1026
998
  }
1027
999
  return t;
1028
1000
  }
1029
- function kt(e) {
1030
- var t = {}, i = Bi(e);
1001
+ function Dt(e) {
1002
+ var t = {}, i = Oi(e);
1031
1003
  return i || t;
1032
1004
  }
1033
- function yn(e) {
1005
+ function _n(e) {
1034
1006
  for (var t = {}, i = 0, r = e; i < r.length; i++) {
1035
1007
  var n = r[i];
1036
1008
  switch (n.stem) {
@@ -1054,7 +1026,7 @@ function yn(e) {
1054
1026
  continue;
1055
1027
  case "measure-unit":
1056
1028
  case "unit":
1057
- t.style = "unit", t.unit = dn(n.options[0]);
1029
+ t.style = "unit", t.unit = gn(n.options[0]);
1058
1030
  continue;
1059
1031
  case "compact-short":
1060
1032
  case "K":
@@ -1065,13 +1037,13 @@ function yn(e) {
1065
1037
  t.notation = "compact", t.compactDisplay = "long";
1066
1038
  continue;
1067
1039
  case "scientific":
1068
- t = S(S(S({}, t), { notation: "scientific" }), n.options.reduce(function(c, l) {
1069
- return S(S({}, c), kt(l));
1040
+ t = C(C(C({}, t), { notation: "scientific" }), n.options.reduce(function(c, u) {
1041
+ return C(C({}, c), Dt(u));
1070
1042
  }, {}));
1071
1043
  continue;
1072
1044
  case "engineering":
1073
- t = S(S(S({}, t), { notation: "engineering" }), n.options.reduce(function(c, l) {
1074
- return S(S({}, c), kt(l));
1045
+ t = C(C(C({}, t), { notation: "engineering" }), n.options.reduce(function(c, u) {
1046
+ return C(C({}, c), Dt(u));
1075
1047
  }, {}));
1076
1048
  continue;
1077
1049
  case "notation-simple":
@@ -1116,41 +1088,41 @@ function yn(e) {
1116
1088
  case "integer-width":
1117
1089
  if (n.options.length > 1)
1118
1090
  throw new RangeError("integer-width stems only accept a single optional option");
1119
- n.options[0].replace(bn, function(c, l, u, h, f, m) {
1120
- if (l)
1121
- t.minimumIntegerDigits = u.length;
1091
+ n.options[0].replace(yn, function(c, u, l, h, m, f) {
1092
+ if (u)
1093
+ t.minimumIntegerDigits = l.length;
1122
1094
  else {
1123
- if (h && f)
1095
+ if (h && m)
1124
1096
  throw new Error("We currently do not support maximum integer digits");
1125
- if (m)
1097
+ if (f)
1126
1098
  throw new Error("We currently do not support exact integer digits");
1127
1099
  }
1128
1100
  return "";
1129
1101
  });
1130
1102
  continue;
1131
1103
  }
1132
- if (Ai.test(n.stem)) {
1104
+ if (Ni.test(n.stem)) {
1133
1105
  t.minimumIntegerDigits = n.stem.length;
1134
1106
  continue;
1135
1107
  }
1136
- if (Ot.test(n.stem)) {
1108
+ if (kt.test(n.stem)) {
1137
1109
  if (n.options.length > 1)
1138
1110
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1139
- n.stem.replace(Ot, function(c, l, u, h, f, m) {
1140
- return u === "*" ? t.minimumFractionDigits = l.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1111
+ n.stem.replace(kt, function(c, u, l, h, m, f) {
1112
+ return l === "*" ? t.minimumFractionDigits = u.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : m && f ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + f.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1141
1113
  });
1142
1114
  var o = n.options[0];
1143
- o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), Mt(o)));
1115
+ o === "w" ? t = C(C({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = C(C({}, t), Ct(o)));
1144
1116
  continue;
1145
1117
  }
1146
- if (Pi.test(n.stem)) {
1147
- t = S(S({}, t), Mt(n.stem));
1118
+ if (Bi.test(n.stem)) {
1119
+ t = C(C({}, t), Ct(n.stem));
1148
1120
  continue;
1149
1121
  }
1150
- var s = Bi(n.stem);
1151
- s && (t = S(S({}, t), s));
1152
- var a = gn(n.stem);
1153
- a && (t = S(S({}, t), a));
1122
+ var s = Oi(n.stem);
1123
+ s && (t = C(C({}, t), s));
1124
+ var a = vn(n.stem);
1125
+ a && (t = C(C({}, t), a));
1154
1126
  }
1155
1127
  return t;
1156
1128
  }
@@ -2569,23 +2541,23 @@ var Se = {
2569
2541
  "h"
2570
2542
  ]
2571
2543
  };
2572
- function vn(e, t) {
2544
+ function En(e, t) {
2573
2545
  for (var i = "", r = 0; r < e.length; r++) {
2574
2546
  var n = e.charAt(r);
2575
2547
  if (n === "j") {
2576
2548
  for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === n; )
2577
2549
  o++, r++;
2578
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", l = _n(t);
2579
- for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2550
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", u = Ln(t);
2551
+ for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2580
2552
  i += c;
2581
2553
  for (; s-- > 0; )
2582
- i = l + i;
2554
+ i = u + i;
2583
2555
  } else
2584
2556
  n === "J" ? i += "H" : i += n;
2585
2557
  }
2586
2558
  return i;
2587
2559
  }
2588
- function _n(e) {
2560
+ function Ln(e) {
2589
2561
  var t = e.hourCycle;
2590
2562
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2591
2563
  e.hourCycles && // @ts-ignore
@@ -2607,20 +2579,20 @@ function _n(e) {
2607
2579
  var n = Se[r || ""] || Se[i || ""] || Se["".concat(i, "-001")] || Se["001"];
2608
2580
  return n[0];
2609
2581
  }
2610
- var qe, En = new RegExp("^".concat(Si.source, "*")), Ln = new RegExp("".concat(Si.source, "*$"));
2582
+ var Ke, xn = new RegExp("^".concat(Ai.source, "*")), Tn = new RegExp("".concat(Ai.source, "*$"));
2611
2583
  function T(e, t) {
2612
2584
  return { start: e, end: t };
2613
2585
  }
2614
- var xn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Tn = !!String.fromCodePoint, wn = !!Object.fromEntries, Sn = !!String.prototype.codePointAt, Pn = !!String.prototype.trimStart, An = !!String.prototype.trimEnd, Bn = !!Number.isSafeInteger, Nn = Bn ? Number.isSafeInteger : function(e) {
2586
+ var wn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Sn = !!String.fromCodePoint, Pn = !!Object.fromEntries, An = !!String.prototype.codePointAt, Bn = !!String.prototype.trimStart, Nn = !!String.prototype.trimEnd, On = !!Number.isSafeInteger, In = On ? Number.isSafeInteger : function(e) {
2615
2587
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2616
2588
  }, st = !0;
2617
2589
  try {
2618
- var In = Ii("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2619
- st = ((qe = In.exec("a")) === null || qe === void 0 ? void 0 : qe[0]) === "a";
2590
+ var Hn = Hi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2591
+ st = ((Ke = Hn.exec("a")) === null || Ke === void 0 ? void 0 : Ke[0]) === "a";
2620
2592
  } catch (e) {
2621
2593
  st = !1;
2622
2594
  }
2623
- var Ct = xn ? (
2595
+ var Rt = wn ? (
2624
2596
  // Native
2625
2597
  function(t, i, r) {
2626
2598
  return t.startsWith(i, r);
@@ -2630,7 +2602,7 @@ var Ct = xn ? (
2630
2602
  function(t, i, r) {
2631
2603
  return t.slice(r, r + i.length) === i;
2632
2604
  }
2633
- ), at = Tn ? String.fromCodePoint : (
2605
+ ), at = Sn ? String.fromCodePoint : (
2634
2606
  // IE11
2635
2607
  function() {
2636
2608
  for (var t = [], i = 0; i < arguments.length; i++)
@@ -2642,9 +2614,9 @@ var Ct = xn ? (
2642
2614
  }
2643
2615
  return r;
2644
2616
  }
2645
- ), Dt = (
2617
+ ), jt = (
2646
2618
  // native
2647
- wn ? Object.fromEntries : (
2619
+ Pn ? Object.fromEntries : (
2648
2620
  // Ponyfill
2649
2621
  function(t) {
2650
2622
  for (var i = {}, r = 0, n = t; r < n.length; r++) {
@@ -2654,7 +2626,7 @@ var Ct = xn ? (
2654
2626
  return i;
2655
2627
  }
2656
2628
  )
2657
- ), Ni = Sn ? (
2629
+ ), Ii = An ? (
2658
2630
  // Native
2659
2631
  function(t, i) {
2660
2632
  return t.codePointAt(i);
@@ -2668,7 +2640,7 @@ var Ct = xn ? (
2668
2640
  return n < 55296 || n > 56319 || i + 1 === r || (o = t.charCodeAt(i + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
2669
2641
  }
2670
2642
  }
2671
- ), Hn = Pn ? (
2643
+ ), Mn = Bn ? (
2672
2644
  // Native
2673
2645
  function(t) {
2674
2646
  return t.trimStart();
@@ -2676,9 +2648,9 @@ var Ct = xn ? (
2676
2648
  ) : (
2677
2649
  // Ponyfill
2678
2650
  function(t) {
2679
- return t.replace(En, "");
2651
+ return t.replace(xn, "");
2680
2652
  }
2681
- ), On = An ? (
2653
+ ), kn = Nn ? (
2682
2654
  // Native
2683
2655
  function(t) {
2684
2656
  return t.trimEnd();
@@ -2686,32 +2658,32 @@ var Ct = xn ? (
2686
2658
  ) : (
2687
2659
  // Ponyfill
2688
2660
  function(t) {
2689
- return t.replace(Ln, "");
2661
+ return t.replace(Tn, "");
2690
2662
  }
2691
2663
  );
2692
- function Ii(e, t) {
2664
+ function Hi(e, t) {
2693
2665
  return new RegExp(e, t);
2694
2666
  }
2695
- var lt;
2667
+ var ut;
2696
2668
  if (st) {
2697
- var Rt = Ii("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2698
- lt = function(t, i) {
2669
+ var Ut = Hi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2670
+ ut = function(t, i) {
2699
2671
  var r;
2700
- Rt.lastIndex = i;
2701
- var n = Rt.exec(t);
2672
+ Ut.lastIndex = i;
2673
+ var n = Ut.exec(t);
2702
2674
  return (r = n[1]) !== null && r !== void 0 ? r : "";
2703
2675
  };
2704
2676
  } else
2705
- lt = function(t, i) {
2677
+ ut = function(t, i) {
2706
2678
  for (var r = []; ; ) {
2707
- var n = Ni(t, i);
2708
- if (n === void 0 || Hi(n) || Dn(n))
2679
+ var n = Ii(t, i);
2680
+ if (n === void 0 || Mi(n) || jn(n))
2709
2681
  break;
2710
2682
  r.push(n), i += n >= 65536 ? 2 : 1;
2711
2683
  }
2712
2684
  return at.apply(void 0, r);
2713
2685
  };
2714
- var Mn = (
2686
+ var Cn = (
2715
2687
  /** @class */
2716
2688
  function() {
2717
2689
  function e(t, i) {
@@ -2735,14 +2707,14 @@ var Mn = (
2735
2707
  if (o === 35 && (i === "plural" || i === "selectordinal")) {
2736
2708
  var a = this.clonePosition();
2737
2709
  this.bump(), n.push({
2738
- type: O.pound,
2710
+ type: I.pound,
2739
2711
  location: T(a, this.clonePosition())
2740
2712
  });
2741
2713
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2742
2714
  if (r)
2743
2715
  break;
2744
2716
  return this.error(x.UNMATCHED_CLOSING_TAG, T(this.clonePosition(), this.clonePosition()));
2745
- } else if (o === 60 && !this.ignoreTag && ut(this.peek() || 0)) {
2717
+ } else if (o === 60 && !this.ignoreTag && lt(this.peek() || 0)) {
2746
2718
  var s = this.parseTag(t, i);
2747
2719
  if (s.err)
2748
2720
  return s;
@@ -2763,7 +2735,7 @@ var Mn = (
2763
2735
  if (this.bumpSpace(), this.bumpIf("/>"))
2764
2736
  return {
2765
2737
  val: {
2766
- type: O.literal,
2738
+ type: I.literal,
2767
2739
  value: "<".concat(n, "/>"),
2768
2740
  location: T(r, this.clonePosition())
2769
2741
  },
@@ -2775,12 +2747,12 @@ var Mn = (
2775
2747
  return o;
2776
2748
  var s = o.val, a = this.clonePosition();
2777
2749
  if (this.bumpIf("</")) {
2778
- if (this.isEOF() || !ut(this.char()))
2750
+ if (this.isEOF() || !lt(this.char()))
2779
2751
  return this.error(x.INVALID_TAG, T(a, this.clonePosition()));
2780
- var c = this.clonePosition(), l = this.parseTagName();
2781
- return n !== l ? this.error(x.UNMATCHED_CLOSING_TAG, T(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2752
+ var c = this.clonePosition(), u = this.parseTagName();
2753
+ return n !== u ? this.error(x.UNMATCHED_CLOSING_TAG, T(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2782
2754
  val: {
2783
- type: O.tag,
2755
+ type: I.tag,
2784
2756
  value: n,
2785
2757
  children: s,
2786
2758
  location: T(r, this.clonePosition())
@@ -2793,7 +2765,7 @@ var Mn = (
2793
2765
  return this.error(x.INVALID_TAG, T(r, this.clonePosition()));
2794
2766
  }, e.prototype.parseTagName = function() {
2795
2767
  var t = this.offset();
2796
- for (this.bump(); !this.isEOF() && Cn(this.char()); )
2768
+ for (this.bump(); !this.isEOF() && Rn(this.char()); )
2797
2769
  this.bump();
2798
2770
  return this.message.slice(t, this.offset());
2799
2771
  }, e.prototype.parseLiteral = function(t, i) {
@@ -2817,12 +2789,12 @@ var Mn = (
2817
2789
  }
2818
2790
  var c = T(r, this.clonePosition());
2819
2791
  return {
2820
- val: { type: O.literal, value: n, location: c },
2792
+ val: { type: I.literal, value: n, location: c },
2821
2793
  err: null
2822
2794
  };
2823
2795
  }, e.prototype.tryParseLeftAngleBracket = function() {
2824
2796
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2825
- !kn(this.peek() || 0)) ? (this.bump(), "<") : null;
2797
+ !Dn(this.peek() || 0)) ? (this.bump(), "<") : null;
2826
2798
  }, e.prototype.tryParseQuote = function(t) {
2827
2799
  if (this.isEOF() || this.char() !== 39)
2828
2800
  return null;
@@ -2877,7 +2849,7 @@ var Mn = (
2877
2849
  case 125:
2878
2850
  return this.bump(), {
2879
2851
  val: {
2880
- type: O.argument,
2852
+ type: I.argument,
2881
2853
  // value does not include the opening and closing braces.
2882
2854
  value: n,
2883
2855
  location: T(r, this.clonePosition())
@@ -2890,7 +2862,7 @@ var Mn = (
2890
2862
  return this.error(x.MALFORMED_ARGUMENT, T(r, this.clonePosition()));
2891
2863
  }
2892
2864
  }, e.prototype.parseIdentifierIfPossible = function() {
2893
- var t = this.clonePosition(), i = this.offset(), r = lt(this.message, i), n = i + r.length;
2865
+ var t = this.clonePosition(), i = this.offset(), r = ut(this.message, i), n = i + r.length;
2894
2866
  this.bumpTo(n);
2895
2867
  var o = this.clonePosition(), s = T(t, o);
2896
2868
  return { value: r, location: s };
@@ -2903,53 +2875,53 @@ var Mn = (
2903
2875
  case "date":
2904
2876
  case "time": {
2905
2877
  this.bumpSpace();
2906
- var l = null;
2878
+ var u = null;
2907
2879
  if (this.bumpIf(",")) {
2908
2880
  this.bumpSpace();
2909
- var u = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
2881
+ var l = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
2910
2882
  if (h.err)
2911
2883
  return h;
2912
- var f = On(h.val);
2913
- if (f.length === 0)
2884
+ var m = kn(h.val);
2885
+ if (m.length === 0)
2914
2886
  return this.error(x.EXPECT_ARGUMENT_STYLE, T(this.clonePosition(), this.clonePosition()));
2915
- var m = T(u, this.clonePosition());
2916
- l = { style: f, styleLocation: m };
2887
+ var f = T(l, this.clonePosition());
2888
+ u = { style: m, styleLocation: f };
2917
2889
  }
2918
2890
  var p = this.tryParseArgumentClose(n);
2919
2891
  if (p.err)
2920
2892
  return p;
2921
2893
  var _ = T(n, this.clonePosition());
2922
- if (l && Ct(l == null ? void 0 : l.style, "::", 0)) {
2923
- var R = Hn(l.style.slice(2));
2894
+ if (u && Rt(u == null ? void 0 : u.style, "::", 0)) {
2895
+ var R = Mn(u.style.slice(2));
2924
2896
  if (a === "number") {
2925
- var h = this.parseNumberSkeletonFromString(R, l.styleLocation);
2897
+ var h = this.parseNumberSkeletonFromString(R, u.styleLocation);
2926
2898
  return h.err ? h : {
2927
- val: { type: O.number, value: r, location: _, style: h.val },
2899
+ val: { type: I.number, value: r, location: _, style: h.val },
2928
2900
  err: null
2929
2901
  };
2930
2902
  } else {
2931
2903
  if (R.length === 0)
2932
2904
  return this.error(x.EXPECT_DATE_TIME_SKELETON, _);
2933
- var P = R;
2934
- this.locale && (P = vn(R, this.locale));
2935
- var f = {
2936
- type: ce.dateTime,
2937
- pattern: P,
2938
- location: l.styleLocation,
2939
- parsedOptions: this.shouldParseSkeletons ? mn(P) : {}
2940
- }, L = a === "date" ? O.date : O.time;
2905
+ var S = R;
2906
+ this.locale && (S = En(R, this.locale));
2907
+ var m = {
2908
+ type: le.dateTime,
2909
+ pattern: S,
2910
+ location: u.styleLocation,
2911
+ parsedOptions: this.shouldParseSkeletons ? pn(S) : {}
2912
+ }, L = a === "date" ? I.date : I.time;
2941
2913
  return {
2942
- val: { type: L, value: r, location: _, style: f },
2914
+ val: { type: L, value: r, location: _, style: m },
2943
2915
  err: null
2944
2916
  };
2945
2917
  }
2946
2918
  }
2947
2919
  return {
2948
2920
  val: {
2949
- type: a === "number" ? O.number : a === "date" ? O.date : O.time,
2921
+ type: a === "number" ? I.number : a === "date" ? I.date : I.time,
2950
2922
  value: r,
2951
2923
  location: _,
2952
- style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
2924
+ style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
2953
2925
  },
2954
2926
  err: null
2955
2927
  };
@@ -2959,39 +2931,39 @@ var Mn = (
2959
2931
  case "select": {
2960
2932
  var w = this.clonePosition();
2961
2933
  if (this.bumpSpace(), !this.bumpIf(","))
2962
- return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, T(w, S({}, w)));
2934
+ return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, T(w, Me({}, w)));
2963
2935
  this.bumpSpace();
2964
- var H = this.parseIdentifierIfPossible(), A = 0;
2965
- if (a !== "select" && H.value === "offset") {
2936
+ var O = this.parseIdentifierIfPossible(), P = 0;
2937
+ if (a !== "select" && O.value === "offset") {
2966
2938
  if (!this.bumpIf(":"))
2967
2939
  return this.error(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T(this.clonePosition(), this.clonePosition()));
2968
2940
  this.bumpSpace();
2969
2941
  var h = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2970
2942
  if (h.err)
2971
2943
  return h;
2972
- this.bumpSpace(), H = this.parseIdentifierIfPossible(), A = h.val;
2944
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), P = h.val;
2973
2945
  }
2974
- var M = this.tryParsePluralOrSelectOptions(t, a, i, H);
2975
- if (M.err)
2976
- return M;
2946
+ var H = this.tryParsePluralOrSelectOptions(t, a, i, O);
2947
+ if (H.err)
2948
+ return H;
2977
2949
  var p = this.tryParseArgumentClose(n);
2978
2950
  if (p.err)
2979
2951
  return p;
2980
2952
  var D = T(n, this.clonePosition());
2981
2953
  return a === "select" ? {
2982
2954
  val: {
2983
- type: O.select,
2955
+ type: I.select,
2984
2956
  value: r,
2985
- options: Dt(M.val),
2957
+ options: jt(H.val),
2986
2958
  location: D
2987
2959
  },
2988
2960
  err: null
2989
2961
  } : {
2990
2962
  val: {
2991
- type: O.plural,
2963
+ type: I.plural,
2992
2964
  value: r,
2993
- options: Dt(M.val),
2994
- offset: A,
2965
+ options: jt(H.val),
2966
+ offset: P,
2995
2967
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2996
2968
  location: D
2997
2969
  },
@@ -3041,50 +3013,50 @@ var Mn = (
3041
3013
  }, e.prototype.parseNumberSkeletonFromString = function(t, i) {
3042
3014
  var r = [];
3043
3015
  try {
3044
- r = pn(t);
3016
+ r = bn(t);
3045
3017
  } catch (n) {
3046
3018
  return this.error(x.INVALID_NUMBER_SKELETON, i);
3047
3019
  }
3048
3020
  return {
3049
3021
  val: {
3050
- type: ce.number,
3022
+ type: le.number,
3051
3023
  tokens: r,
3052
3024
  location: i,
3053
- parsedOptions: this.shouldParseSkeletons ? yn(r) : {}
3025
+ parsedOptions: this.shouldParseSkeletons ? _n(r) : {}
3054
3026
  },
3055
3027
  err: null
3056
3028
  };
3057
3029
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, i, r, n) {
3058
- for (var o, s = !1, a = [], c = /* @__PURE__ */ new Set(), l = n.value, u = n.location; ; ) {
3059
- if (l.length === 0) {
3030
+ for (var o, s = !1, a = [], c = /* @__PURE__ */ new Set(), u = n.value, l = n.location; ; ) {
3031
+ if (u.length === 0) {
3060
3032
  var h = this.clonePosition();
3061
3033
  if (i !== "select" && this.bumpIf("=")) {
3062
- var f = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_SELECTOR, x.INVALID_PLURAL_ARGUMENT_SELECTOR);
3063
- if (f.err)
3064
- return f;
3065
- u = T(h, this.clonePosition()), l = this.message.slice(h.offset, this.offset());
3034
+ var m = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_SELECTOR, x.INVALID_PLURAL_ARGUMENT_SELECTOR);
3035
+ if (m.err)
3036
+ return m;
3037
+ l = T(h, this.clonePosition()), u = this.message.slice(h.offset, this.offset());
3066
3038
  } else
3067
3039
  break;
3068
3040
  }
3069
- if (c.has(l))
3070
- return this.error(i === "select" ? x.DUPLICATE_SELECT_ARGUMENT_SELECTOR : x.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
3071
- l === "other" && (s = !0), this.bumpSpace();
3072
- var m = this.clonePosition();
3041
+ if (c.has(u))
3042
+ return this.error(i === "select" ? x.DUPLICATE_SELECT_ARGUMENT_SELECTOR : x.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3043
+ u === "other" && (s = !0), this.bumpSpace();
3044
+ var f = this.clonePosition();
3073
3045
  if (!this.bumpIf("{"))
3074
3046
  return this.error(i === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : x.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, T(this.clonePosition(), this.clonePosition()));
3075
3047
  var p = this.parseMessage(t + 1, i, r);
3076
3048
  if (p.err)
3077
3049
  return p;
3078
- var _ = this.tryParseArgumentClose(m);
3050
+ var _ = this.tryParseArgumentClose(f);
3079
3051
  if (_.err)
3080
3052
  return _;
3081
3053
  a.push([
3082
- l,
3054
+ u,
3083
3055
  {
3084
3056
  value: p.val,
3085
- location: T(m, this.clonePosition())
3057
+ location: T(f, this.clonePosition())
3086
3058
  }
3087
- ]), c.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, u = o.location;
3059
+ ]), c.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3088
3060
  }
3089
3061
  return a.length === 0 ? this.error(i === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR : x.EXPECT_PLURAL_ARGUMENT_SELECTOR, T(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(x.MISSING_OTHER_CLAUSE, T(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3090
3062
  }, e.prototype.tryParseDecimalInteger = function(t, i) {
@@ -3098,7 +3070,7 @@ var Mn = (
3098
3070
  break;
3099
3071
  }
3100
3072
  var c = T(n, this.clonePosition());
3101
- return o ? (s *= r, Nn(s) ? { val: s, err: null } : this.error(i, c)) : this.error(t, c);
3073
+ return o ? (s *= r, In(s) ? { val: s, err: null } : this.error(i, c)) : this.error(t, c);
3102
3074
  }, e.prototype.offset = function() {
3103
3075
  return this.position.offset;
3104
3076
  }, e.prototype.isEOF = function() {
@@ -3113,7 +3085,7 @@ var Mn = (
3113
3085
  var t = this.position.offset;
3114
3086
  if (t >= this.message.length)
3115
3087
  throw Error("out of bound");
3116
- var i = Ni(this.message, t);
3088
+ var i = Ii(this.message, t);
3117
3089
  if (i === void 0)
3118
3090
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3119
3091
  return i;
@@ -3132,7 +3104,7 @@ var Mn = (
3132
3104
  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);
3133
3105
  }
3134
3106
  }, e.prototype.bumpIf = function(t) {
3135
- if (Ct(this.message, t, this.offset())) {
3107
+ if (Rt(this.message, t, this.offset())) {
3136
3108
  for (var i = 0; i < t.length; i++)
3137
3109
  this.bump();
3138
3110
  return !0;
@@ -3154,7 +3126,7 @@ var Mn = (
3154
3126
  break;
3155
3127
  }
3156
3128
  }, e.prototype.bumpSpace = function() {
3157
- for (; !this.isEOF() && Hi(this.char()); )
3129
+ for (; !this.isEOF() && Mi(this.char()); )
3158
3130
  this.bump();
3159
3131
  }, e.prototype.peek = function() {
3160
3132
  if (this.isEOF())
@@ -3164,47 +3136,47 @@ var Mn = (
3164
3136
  }, e;
3165
3137
  }()
3166
3138
  );
3167
- function ut(e) {
3139
+ function lt(e) {
3168
3140
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3169
3141
  }
3170
- function kn(e) {
3171
- return ut(e) || e === 47;
3142
+ function Dn(e) {
3143
+ return lt(e) || e === 47;
3172
3144
  }
3173
- function Cn(e) {
3145
+ function Rn(e) {
3174
3146
  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;
3175
3147
  }
3176
- function Hi(e) {
3148
+ function Mi(e) {
3177
3149
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3178
3150
  }
3179
- function Dn(e) {
3151
+ function jn(e) {
3180
3152
  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;
3181
3153
  }
3182
3154
  function ct(e) {
3183
3155
  e.forEach(function(t) {
3184
- if (delete t.location, Li(t) || xi(t))
3156
+ if (delete t.location, Ti(t) || wi(t))
3185
3157
  for (var i in t.options)
3186
3158
  delete t.options[i].location, ct(t.options[i].value);
3187
3159
  else
3188
- vi(t) && wi(t.style) || (_i(t) || Ei(t)) && ot(t.style) ? delete t.style.location : Ti(t) && ct(t.children);
3160
+ Ei(t) && Pi(t.style) || (Li(t) || xi(t)) && ot(t.style) ? delete t.style.location : Si(t) && ct(t.children);
3189
3161
  });
3190
3162
  }
3191
- function Rn(e, t) {
3192
- t === void 0 && (t = {}), t = S({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3193
- var i = new Mn(e, t).parse();
3163
+ function Un(e, t) {
3164
+ t === void 0 && (t = {}), t = Me({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3165
+ var i = new Cn(e, t).parse();
3194
3166
  if (i.err) {
3195
3167
  var r = SyntaxError(x[i.err.kind]);
3196
3168
  throw r.location = i.err.location, r.originalMessage = i.err.message, r;
3197
3169
  }
3198
3170
  return t != null && t.captureLocation || ct(i.val), i.val;
3199
3171
  }
3200
- var he;
3172
+ var ce;
3201
3173
  (function(e) {
3202
3174
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3203
- })(he || (he = {}));
3204
- var Re = (
3175
+ })(ce || (ce = {}));
3176
+ var Ue = (
3205
3177
  /** @class */
3206
3178
  function(e) {
3207
- Q(t, e);
3179
+ je(t, e);
3208
3180
  function t(i, r, n) {
3209
3181
  var o = e.call(this, i) || this;
3210
3182
  return o.code = r, o.originalMessage = n, o;
@@ -3213,155 +3185,155 @@ var Re = (
3213
3185
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3214
3186
  }, t;
3215
3187
  }(Error)
3216
- ), Ut = (
3188
+ ), $t = (
3217
3189
  /** @class */
3218
3190
  function(e) {
3219
- Q(t, e);
3191
+ je(t, e);
3220
3192
  function t(i, r, n, o) {
3221
- return e.call(this, 'Invalid values for "'.concat(i, '": "').concat(r, '". Options are "').concat(Object.keys(n).join('", "'), '"'), he.INVALID_VALUE, o) || this;
3193
+ return e.call(this, 'Invalid values for "'.concat(i, '": "').concat(r, '". Options are "').concat(Object.keys(n).join('", "'), '"'), ce.INVALID_VALUE, o) || this;
3222
3194
  }
3223
3195
  return t;
3224
- }(Re)
3225
- ), Un = (
3196
+ }(Ue)
3197
+ ), $n = (
3226
3198
  /** @class */
3227
3199
  function(e) {
3228
- Q(t, e);
3200
+ je(t, e);
3229
3201
  function t(i, r, n) {
3230
- return e.call(this, 'Value for "'.concat(i, '" must be of type ').concat(r), he.INVALID_VALUE, n) || this;
3202
+ return e.call(this, 'Value for "'.concat(i, '" must be of type ').concat(r), ce.INVALID_VALUE, n) || this;
3231
3203
  }
3232
3204
  return t;
3233
- }(Re)
3234
- ), jn = (
3205
+ }(Ue)
3206
+ ), Fn = (
3235
3207
  /** @class */
3236
3208
  function(e) {
3237
- Q(t, e);
3209
+ je(t, e);
3238
3210
  function t(i, r) {
3239
- return e.call(this, 'The intl string context variable "'.concat(i, '" was not provided to the string "').concat(r, '"'), he.MISSING_VALUE, r) || this;
3211
+ return e.call(this, 'The intl string context variable "'.concat(i, '" was not provided to the string "').concat(r, '"'), ce.MISSING_VALUE, r) || this;
3240
3212
  }
3241
3213
  return t;
3242
- }(Re)
3214
+ }(Ue)
3243
3215
  ), z;
3244
3216
  (function(e) {
3245
3217
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3246
3218
  })(z || (z = {}));
3247
- function Fn(e) {
3219
+ function Gn(e) {
3248
3220
  return e.length < 2 ? e : e.reduce(function(t, i) {
3249
3221
  var r = t[t.length - 1];
3250
3222
  return !r || r.type !== z.literal || i.type !== z.literal ? t.push(i) : r.value += i.value, t;
3251
3223
  }, []);
3252
3224
  }
3253
- function $n(e) {
3225
+ function zn(e) {
3254
3226
  return typeof e == "function";
3255
3227
  }
3256
3228
  function Be(e, t, i, r, n, o, s) {
3257
- if (e.length === 1 && Ht(e[0]))
3229
+ if (e.length === 1 && Mt(e[0]))
3258
3230
  return [
3259
3231
  {
3260
3232
  type: z.literal,
3261
3233
  value: e[0].value
3262
3234
  }
3263
3235
  ];
3264
- for (var a = [], c = 0, l = e; c < l.length; c++) {
3265
- var u = l[c];
3266
- if (Ht(u)) {
3236
+ for (var a = [], c = 0, u = e; c < u.length; c++) {
3237
+ var l = u[c];
3238
+ if (Mt(l)) {
3267
3239
  a.push({
3268
3240
  type: z.literal,
3269
- value: u.value
3241
+ value: l.value
3270
3242
  });
3271
3243
  continue;
3272
3244
  }
3273
- if (cn(u)) {
3245
+ if (fn(l)) {
3274
3246
  typeof o == "number" && a.push({
3275
3247
  type: z.literal,
3276
3248
  value: i.getNumberFormat(t).format(o)
3277
3249
  });
3278
3250
  continue;
3279
3251
  }
3280
- var h = u.value;
3252
+ var h = l.value;
3281
3253
  if (!(n && h in n))
3282
- throw new jn(h, s);
3283
- var f = n[h];
3284
- if (un(u)) {
3285
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3286
- type: typeof f == "string" ? z.literal : z.object,
3287
- value: f
3254
+ throw new Fn(h, s);
3255
+ var m = n[h];
3256
+ if (hn(l)) {
3257
+ (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), a.push({
3258
+ type: typeof m == "string" ? z.literal : z.object,
3259
+ value: m
3288
3260
  });
3289
3261
  continue;
3290
3262
  }
3291
- if (_i(u)) {
3292
- var m = typeof u.style == "string" ? r.date[u.style] : ot(u.style) ? u.style.parsedOptions : void 0;
3263
+ if (Li(l)) {
3264
+ var f = typeof l.style == "string" ? r.date[l.style] : ot(l.style) ? l.style.parsedOptions : void 0;
3293
3265
  a.push({
3294
3266
  type: z.literal,
3295
- value: i.getDateTimeFormat(t, m).format(f)
3267
+ value: i.getDateTimeFormat(t, f).format(m)
3296
3268
  });
3297
3269
  continue;
3298
3270
  }
3299
- if (Ei(u)) {
3300
- var m = typeof u.style == "string" ? r.time[u.style] : ot(u.style) ? u.style.parsedOptions : r.time.medium;
3271
+ if (xi(l)) {
3272
+ var f = typeof l.style == "string" ? r.time[l.style] : ot(l.style) ? l.style.parsedOptions : r.time.medium;
3301
3273
  a.push({
3302
3274
  type: z.literal,
3303
- value: i.getDateTimeFormat(t, m).format(f)
3275
+ value: i.getDateTimeFormat(t, f).format(m)
3304
3276
  });
3305
3277
  continue;
3306
3278
  }
3307
- if (vi(u)) {
3308
- var m = typeof u.style == "string" ? r.number[u.style] : wi(u.style) ? u.style.parsedOptions : void 0;
3309
- m && m.scale && (f = f * (m.scale || 1)), a.push({
3279
+ if (Ei(l)) {
3280
+ var f = typeof l.style == "string" ? r.number[l.style] : Pi(l.style) ? l.style.parsedOptions : void 0;
3281
+ f && f.scale && (m = m * (f.scale || 1)), a.push({
3310
3282
  type: z.literal,
3311
- value: i.getNumberFormat(t, m).format(f)
3283
+ value: i.getNumberFormat(t, f).format(m)
3312
3284
  });
3313
3285
  continue;
3314
3286
  }
3315
- if (Ti(u)) {
3316
- var p = u.children, _ = u.value, R = n[_];
3317
- if (!$n(R))
3318
- throw new Un(_, "function", s);
3319
- var P = Be(p, t, i, r, n, o), L = R(P.map(function(A) {
3320
- return A.value;
3287
+ if (Si(l)) {
3288
+ var p = l.children, _ = l.value, R = n[_];
3289
+ if (!zn(R))
3290
+ throw new $n(_, "function", s);
3291
+ var S = Be(p, t, i, r, n, o), L = R(S.map(function(P) {
3292
+ return P.value;
3321
3293
  }));
3322
- Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(A) {
3294
+ Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(P) {
3323
3295
  return {
3324
- type: typeof A == "string" ? z.literal : z.object,
3325
- value: A
3296
+ type: typeof P == "string" ? z.literal : z.object,
3297
+ value: P
3326
3298
  };
3327
3299
  }));
3328
3300
  }
3329
- if (Li(u)) {
3330
- var w = u.options[f] || u.options.other;
3301
+ if (Ti(l)) {
3302
+ var w = l.options[m] || l.options.other;
3331
3303
  if (!w)
3332
- throw new Ut(u.value, f, Object.keys(u.options), s);
3304
+ throw new $t(l.value, m, Object.keys(l.options), s);
3333
3305
  a.push.apply(a, Be(w.value, t, i, r, n));
3334
3306
  continue;
3335
3307
  }
3336
- if (xi(u)) {
3337
- var w = u.options["=".concat(f)];
3308
+ if (wi(l)) {
3309
+ var w = l.options["=".concat(m)];
3338
3310
  if (!w) {
3339
3311
  if (!Intl.PluralRules)
3340
- throw new Re(`Intl.PluralRules is not available in this environment.
3312
+ throw new Ue(`Intl.PluralRules is not available in this environment.
3341
3313
  Try polyfilling it using "@formatjs/intl-pluralrules"
3342
- `, he.MISSING_INTL_API, s);
3343
- var H = i.getPluralRules(t, { type: u.pluralType }).select(f - (u.offset || 0));
3344
- w = u.options[H] || u.options.other;
3314
+ `, ce.MISSING_INTL_API, s);
3315
+ var O = i.getPluralRules(t, { type: l.pluralType }).select(m - (l.offset || 0));
3316
+ w = l.options[O] || l.options.other;
3345
3317
  }
3346
3318
  if (!w)
3347
- throw new Ut(u.value, f, Object.keys(u.options), s);
3348
- a.push.apply(a, Be(w.value, t, i, r, n, f - (u.offset || 0)));
3319
+ throw new $t(l.value, m, Object.keys(l.options), s);
3320
+ a.push.apply(a, Be(w.value, t, i, r, n, m - (l.offset || 0)));
3349
3321
  continue;
3350
3322
  }
3351
3323
  }
3352
- return Fn(a);
3324
+ return Gn(a);
3353
3325
  }
3354
- function Gn(e, t) {
3355
- return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(i, r) {
3356
- return i[r] = S(S({}, e[r]), t[r] || {}), i;
3326
+ function Wn(e, t) {
3327
+ return t ? Y(Y(Y({}, e || {}), t || {}), Object.keys(e).reduce(function(i, r) {
3328
+ return i[r] = Y(Y({}, e[r]), t[r] || {}), i;
3357
3329
  }, {})) : e;
3358
3330
  }
3359
- function zn(e, t) {
3331
+ function Vn(e, t) {
3360
3332
  return t ? Object.keys(e).reduce(function(i, r) {
3361
- return i[r] = Gn(e[r], t[r]), i;
3362
- }, S({}, e)) : e;
3333
+ return i[r] = Wn(e[r], t[r]), i;
3334
+ }, Y({}, e)) : e;
3363
3335
  }
3364
- function Je(e) {
3336
+ function et(e) {
3365
3337
  return {
3366
3338
  create: function() {
3367
3339
  return {
@@ -3375,39 +3347,39 @@ function Je(e) {
3375
3347
  }
3376
3348
  };
3377
3349
  }
3378
- function Wn(e) {
3350
+ function Xn(e) {
3379
3351
  return e === void 0 && (e = {
3380
3352
  number: {},
3381
3353
  dateTime: {},
3382
3354
  pluralRules: {}
3383
3355
  }), {
3384
- getNumberFormat: Ze(function() {
3356
+ getNumberFormat: Je(function() {
3385
3357
  for (var t, i = [], r = 0; r < arguments.length; r++)
3386
3358
  i[r] = arguments[r];
3387
- return new ((t = Intl.NumberFormat).bind.apply(t, le([void 0], i, !1)))();
3359
+ return new ((t = Intl.NumberFormat).bind.apply(t, qe([void 0], i, !1)))();
3388
3360
  }, {
3389
- cache: Je(e.number),
3390
- strategy: Ye.variadic
3361
+ cache: et(e.number),
3362
+ strategy: Qe.variadic
3391
3363
  }),
3392
- getDateTimeFormat: Ze(function() {
3364
+ getDateTimeFormat: Je(function() {
3393
3365
  for (var t, i = [], r = 0; r < arguments.length; r++)
3394
3366
  i[r] = arguments[r];
3395
- return new ((t = Intl.DateTimeFormat).bind.apply(t, le([void 0], i, !1)))();
3367
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, qe([void 0], i, !1)))();
3396
3368
  }, {
3397
- cache: Je(e.dateTime),
3398
- strategy: Ye.variadic
3369
+ cache: et(e.dateTime),
3370
+ strategy: Qe.variadic
3399
3371
  }),
3400
- getPluralRules: Ze(function() {
3372
+ getPluralRules: Je(function() {
3401
3373
  for (var t, i = [], r = 0; r < arguments.length; r++)
3402
3374
  i[r] = arguments[r];
3403
- return new ((t = Intl.PluralRules).bind.apply(t, le([void 0], i, !1)))();
3375
+ return new ((t = Intl.PluralRules).bind.apply(t, qe([void 0], i, !1)))();
3404
3376
  }, {
3405
- cache: Je(e.pluralRules),
3406
- strategy: Ye.variadic
3377
+ cache: et(e.pluralRules),
3378
+ strategy: Qe.variadic
3407
3379
  })
3408
3380
  };
3409
3381
  }
3410
- var Vn = (
3382
+ var Zn = (
3411
3383
  /** @class */
3412
3384
  function() {
3413
3385
  function e(t, i, r, n) {
@@ -3418,13 +3390,13 @@ var Vn = (
3418
3390
  dateTime: {},
3419
3391
  pluralRules: {}
3420
3392
  }, this.format = function(c) {
3421
- var l = o.formatToParts(c);
3422
- if (l.length === 1)
3423
- return l[0].value;
3424
- var u = l.reduce(function(h, f) {
3425
- return !h.length || f.type !== z.literal || typeof h[h.length - 1] != "string" ? h.push(f.value) : h[h.length - 1] += f.value, h;
3393
+ var u = o.formatToParts(c);
3394
+ if (u.length === 1)
3395
+ return u[0].value;
3396
+ var l = u.reduce(function(h, m) {
3397
+ return !h.length || m.type !== z.literal || typeof h[h.length - 1] != "string" ? h.push(m.value) : h[h.length - 1] += m.value, h;
3426
3398
  }, []);
3427
- return u.length <= 1 ? u[0] || "" : u;
3399
+ return l.length <= 1 ? l[0] || "" : l;
3428
3400
  }, this.formatToParts = function(c) {
3429
3401
  return Be(o.ast, o.locales, o.formatters, o.formats, c, void 0, o.message);
3430
3402
  }, this.resolvedOptions = function() {
@@ -3439,13 +3411,13 @@ var Vn = (
3439
3411
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3440
3412
  var s = n || {};
3441
3413
  s.formatters;
3442
- var a = tn(s, ["formatters"]);
3443
- this.ast = e.__parse(t, S(S({}, a), { locale: this.resolvedLocale }));
3414
+ var a = rn(s, ["formatters"]);
3415
+ this.ast = e.__parse(t, Y(Y({}, a), { locale: this.resolvedLocale }));
3444
3416
  } else
3445
3417
  this.ast = t;
3446
3418
  if (!Array.isArray(this.ast))
3447
3419
  throw new TypeError("A message must be provided as a String or AST.");
3448
- this.formats = zn(e.formats, r), this.formatters = n && n.formatters || Wn(this.formatterCache);
3420
+ this.formats = Vn(e.formats, r), this.formatters = n && n.formatters || Xn(this.formatterCache);
3449
3421
  }
3450
3422
  return Object.defineProperty(e, "defaultLocale", {
3451
3423
  get: function() {
@@ -3458,7 +3430,7 @@ var Vn = (
3458
3430
  var i = Intl.NumberFormat.supportedLocalesOf(t);
3459
3431
  return i.length > 0 ? new Intl.Locale(i[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3460
3432
  }
3461
- }, e.__parse = Rn, e.formats = {
3433
+ }, e.__parse = Un, e.formats = {
3462
3434
  number: {
3463
3435
  integer: {
3464
3436
  maximumFractionDigits: 0
@@ -3519,7 +3491,7 @@ var Vn = (
3519
3491
  }, e;
3520
3492
  }()
3521
3493
  );
3522
- function Xn(e, t) {
3494
+ function Yn(e, t) {
3523
3495
  if (t == null)
3524
3496
  return;
3525
3497
  if (t in e)
@@ -3540,92 +3512,92 @@ function Xn(e, t) {
3540
3512
  r = void 0;
3541
3513
  return r;
3542
3514
  }
3543
- const ee = {}, Zn = (e, t, i) => i && (t in ee || (ee[t] = {}), e in ee[t] || (ee[t][e] = i), i), Oi = (e, t) => {
3515
+ const ee = {}, qn = (e, t, i) => i && (t in ee || (ee[t] = {}), e in ee[t] || (ee[t][e] = i), i), ki = (e, t) => {
3544
3516
  if (t == null)
3545
3517
  return;
3546
3518
  if (t in ee && e in ee[t])
3547
3519
  return ee[t][e];
3548
- const i = Ue(t);
3520
+ const i = $e(t);
3549
3521
  for (let r = 0; r < i.length; r++) {
3550
- const n = i[r], o = qn(n, e);
3522
+ const n = i[r], o = Qn(n, e);
3551
3523
  if (o)
3552
- return Zn(e, t, o);
3524
+ return qn(e, t, o);
3553
3525
  }
3554
3526
  };
3555
- let yt;
3556
- const Te = De({});
3557
- function Yn(e) {
3558
- return yt[e] || null;
3527
+ let _t;
3528
+ const xe = Re({});
3529
+ function Jn(e) {
3530
+ return _t[e] || null;
3559
3531
  }
3560
- function Mi(e) {
3561
- return e in yt;
3532
+ function Ci(e) {
3533
+ return e in _t;
3562
3534
  }
3563
- function qn(e, t) {
3564
- if (!Mi(e))
3535
+ function Qn(e, t) {
3536
+ if (!Ci(e))
3565
3537
  return null;
3566
- const i = Yn(e);
3567
- return Xn(i, t);
3538
+ const i = Jn(e);
3539
+ return Yn(i, t);
3568
3540
  }
3569
- function Jn(e) {
3541
+ function Kn(e) {
3570
3542
  if (e == null)
3571
3543
  return;
3572
- const t = Ue(e);
3544
+ const t = $e(e);
3573
3545
  for (let i = 0; i < t.length; i++) {
3574
3546
  const r = t[i];
3575
- if (Mi(r))
3547
+ if (Ci(r))
3576
3548
  return r;
3577
3549
  }
3578
3550
  }
3579
- function ki(e, ...t) {
3580
- delete ee[e], Te.update((i) => (i[e] = en.all([i[e] || {}, ...t]), i));
3551
+ function Di(e, ...t) {
3552
+ delete ee[e], xe.update((i) => (i[e] = tn.all([i[e] || {}, ...t]), i));
3581
3553
  }
3582
3554
  fe(
3583
- [Te],
3555
+ [xe],
3584
3556
  ([e]) => Object.keys(e)
3585
3557
  );
3586
- Te.subscribe((e) => yt = e);
3558
+ xe.subscribe((e) => _t = e);
3587
3559
  const Ne = {};
3588
- function Qn(e, t) {
3560
+ function eo(e, t) {
3589
3561
  Ne[e].delete(t), Ne[e].size === 0 && delete Ne[e];
3590
3562
  }
3591
- function Ci(e) {
3563
+ function Ri(e) {
3592
3564
  return Ne[e];
3593
3565
  }
3594
- function Kn(e) {
3595
- return Ue(e).map((t) => {
3596
- const i = Ci(t);
3566
+ function to(e) {
3567
+ return $e(e).map((t) => {
3568
+ const i = Ri(t);
3597
3569
  return [t, i ? [...i] : []];
3598
3570
  }).filter(([, t]) => t.length > 0);
3599
3571
  }
3600
3572
  function ht(e) {
3601
- return e == null ? !1 : Ue(e).some(
3573
+ return e == null ? !1 : $e(e).some(
3602
3574
  (t) => {
3603
3575
  var i;
3604
- return (i = Ci(t)) == null ? void 0 : i.size;
3576
+ return (i = Ri(t)) == null ? void 0 : i.size;
3605
3577
  }
3606
3578
  );
3607
3579
  }
3608
- function eo(e, t) {
3580
+ function io(e, t) {
3609
3581
  return Promise.all(
3610
- t.map((r) => (Qn(e, r), r().then((n) => n.default || n)))
3611
- ).then((r) => ki(e, ...r));
3582
+ t.map((r) => (eo(e, r), r().then((n) => n.default || n)))
3583
+ ).then((r) => Di(e, ...r));
3612
3584
  }
3613
- const ge = {};
3614
- function Di(e) {
3585
+ const be = {};
3586
+ function ji(e) {
3615
3587
  if (!ht(e))
3616
- return e in ge ? ge[e] : Promise.resolve();
3617
- const t = Kn(e);
3618
- return ge[e] = Promise.all(
3588
+ return e in be ? be[e] : Promise.resolve();
3589
+ const t = to(e);
3590
+ return be[e] = Promise.all(
3619
3591
  t.map(
3620
- ([i, r]) => eo(i, r)
3592
+ ([i, r]) => io(i, r)
3621
3593
  )
3622
3594
  ).then(() => {
3623
3595
  if (ht(e))
3624
- return Di(e);
3625
- delete ge[e];
3626
- }), ge[e];
3596
+ return ji(e);
3597
+ delete be[e];
3598
+ }), be[e];
3627
3599
  }
3628
- const to = {
3600
+ const ro = {
3629
3601
  number: {
3630
3602
  scientific: { notation: "scientific" },
3631
3603
  engineering: { notation: "engineering" },
@@ -3654,178 +3626,178 @@ const to = {
3654
3626
  timeZoneName: "short"
3655
3627
  }
3656
3628
  }
3657
- }, io = {
3629
+ }, no = {
3658
3630
  fallbackLocale: null,
3659
3631
  loadingDelay: 200,
3660
- formats: to,
3632
+ formats: ro,
3661
3633
  warnOnMissingMessages: !0,
3662
3634
  handleMissingMessage: void 0,
3663
3635
  ignoreTag: !0
3664
- }, ro = io;
3665
- function me() {
3666
- return ro;
3636
+ }, oo = no;
3637
+ function he() {
3638
+ return oo;
3667
3639
  }
3668
- const Qe = De(!1);
3669
- var no = Object.defineProperty, oo = Object.defineProperties, so = Object.getOwnPropertyDescriptors, jt = Object.getOwnPropertySymbols, ao = Object.prototype.hasOwnProperty, lo = Object.prototype.propertyIsEnumerable, Ft = (e, t, i) => t in e ? no(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, uo = (e, t) => {
3640
+ const tt = Re(!1);
3641
+ var so = Object.defineProperty, ao = Object.defineProperties, uo = Object.getOwnPropertyDescriptors, Ft = Object.getOwnPropertySymbols, lo = Object.prototype.hasOwnProperty, co = Object.prototype.propertyIsEnumerable, Gt = (e, t, i) => t in e ? so(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, ho = (e, t) => {
3670
3642
  for (var i in t || (t = {}))
3671
- ao.call(t, i) && Ft(e, i, t[i]);
3672
- if (jt)
3673
- for (var i of jt(t))
3674
- lo.call(t, i) && Ft(e, i, t[i]);
3643
+ lo.call(t, i) && Gt(e, i, t[i]);
3644
+ if (Ft)
3645
+ for (var i of Ft(t))
3646
+ co.call(t, i) && Gt(e, i, t[i]);
3675
3647
  return e;
3676
- }, co = (e, t) => oo(e, so(t));
3677
- let mt;
3678
- const Me = De(null);
3679
- function $t(e) {
3648
+ }, fo = (e, t) => ao(e, uo(t));
3649
+ let ft;
3650
+ const ke = Re(null);
3651
+ function zt(e) {
3680
3652
  return e.split("-").map((t, i, r) => r.slice(0, i + 1).join("-")).reverse();
3681
3653
  }
3682
- function Ue(e, t = me().fallbackLocale) {
3683
- const i = $t(e);
3684
- return t ? [.../* @__PURE__ */ new Set([...i, ...$t(t)])] : i;
3654
+ function $e(e, t = he().fallbackLocale) {
3655
+ const i = zt(e);
3656
+ return t ? [.../* @__PURE__ */ new Set([...i, ...zt(t)])] : i;
3685
3657
  }
3686
3658
  function re() {
3687
- return mt != null ? mt : void 0;
3659
+ return ft != null ? ft : void 0;
3688
3660
  }
3689
- Me.subscribe((e) => {
3690
- mt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3661
+ ke.subscribe((e) => {
3662
+ ft = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3691
3663
  });
3692
- const ho = (e) => {
3693
- if (e && Jn(e) && ht(e)) {
3694
- const { loadingDelay: t } = me();
3664
+ const mo = (e) => {
3665
+ if (e && Kn(e) && ht(e)) {
3666
+ const { loadingDelay: t } = he();
3695
3667
  let i;
3696
3668
  return typeof window != "undefined" && re() != null && t ? i = window.setTimeout(
3697
- () => Qe.set(!0),
3669
+ () => tt.set(!0),
3698
3670
  t
3699
- ) : Qe.set(!0), Di(e).then(() => {
3700
- Me.set(e);
3671
+ ) : tt.set(!0), ji(e).then(() => {
3672
+ ke.set(e);
3701
3673
  }).finally(() => {
3702
- clearTimeout(i), Qe.set(!1);
3674
+ clearTimeout(i), tt.set(!1);
3703
3675
  });
3704
3676
  }
3705
- return Me.set(e);
3706
- }, pe = co(uo({}, Me), {
3707
- set: ho
3708
- }), je = (e) => {
3677
+ return ke.set(e);
3678
+ }, me = fo(ho({}, ke), {
3679
+ set: mo
3680
+ }), Fe = (e) => {
3709
3681
  const t = /* @__PURE__ */ Object.create(null);
3710
3682
  return (r) => {
3711
3683
  const n = JSON.stringify(r);
3712
3684
  return n in t ? t[n] : t[n] = e(r);
3713
3685
  };
3714
3686
  };
3715
- var mo = Object.defineProperty, ke = Object.getOwnPropertySymbols, Ri = Object.prototype.hasOwnProperty, Ui = Object.prototype.propertyIsEnumerable, Gt = (e, t, i) => t in e ? mo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, vt = (e, t) => {
3687
+ var po = Object.defineProperty, Ce = Object.getOwnPropertySymbols, Ui = Object.prototype.hasOwnProperty, $i = Object.prototype.propertyIsEnumerable, Wt = (e, t, i) => t in e ? po(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, Et = (e, t) => {
3716
3688
  for (var i in t || (t = {}))
3717
- Ri.call(t, i) && Gt(e, i, t[i]);
3718
- if (ke)
3719
- for (var i of ke(t))
3720
- Ui.call(t, i) && Gt(e, i, t[i]);
3689
+ Ui.call(t, i) && Wt(e, i, t[i]);
3690
+ if (Ce)
3691
+ for (var i of Ce(t))
3692
+ $i.call(t, i) && Wt(e, i, t[i]);
3721
3693
  return e;
3722
- }, de = (e, t) => {
3694
+ }, pe = (e, t) => {
3723
3695
  var i = {};
3724
3696
  for (var r in e)
3725
- Ri.call(e, r) && t.indexOf(r) < 0 && (i[r] = e[r]);
3726
- if (e != null && ke)
3727
- for (var r of ke(e))
3728
- t.indexOf(r) < 0 && Ui.call(e, r) && (i[r] = e[r]);
3697
+ Ui.call(e, r) && t.indexOf(r) < 0 && (i[r] = e[r]);
3698
+ if (e != null && Ce)
3699
+ for (var r of Ce(e))
3700
+ t.indexOf(r) < 0 && $i.call(e, r) && (i[r] = e[r]);
3729
3701
  return i;
3730
3702
  };
3731
- const xe = (e, t) => {
3732
- const { formats: i } = me();
3703
+ const Le = (e, t) => {
3704
+ const { formats: i } = he();
3733
3705
  if (e in i && t in i[e])
3734
3706
  return i[e][t];
3735
3707
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3736
- }, fo = je(
3708
+ }, bo = Fe(
3737
3709
  (e) => {
3738
- var t = e, { locale: i, format: r } = t, n = de(t, ["locale", "format"]);
3710
+ var t = e, { locale: i, format: r } = t, n = pe(t, ["locale", "format"]);
3739
3711
  if (i == null)
3740
3712
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3741
- return r && (n = xe("number", r)), new Intl.NumberFormat(i, n);
3713
+ return r && (n = Le("number", r)), new Intl.NumberFormat(i, n);
3742
3714
  }
3743
- ), po = je(
3715
+ ), go = Fe(
3744
3716
  (e) => {
3745
- var t = e, { locale: i, format: r } = t, n = de(t, ["locale", "format"]);
3717
+ var t = e, { locale: i, format: r } = t, n = pe(t, ["locale", "format"]);
3746
3718
  if (i == null)
3747
3719
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3748
- return r ? n = xe("date", r) : Object.keys(n).length === 0 && (n = xe("date", "short")), new Intl.DateTimeFormat(i, n);
3720
+ return r ? n = Le("date", r) : Object.keys(n).length === 0 && (n = Le("date", "short")), new Intl.DateTimeFormat(i, n);
3749
3721
  }
3750
- ), bo = je(
3722
+ ), yo = Fe(
3751
3723
  (e) => {
3752
- var t = e, { locale: i, format: r } = t, n = de(t, ["locale", "format"]);
3724
+ var t = e, { locale: i, format: r } = t, n = pe(t, ["locale", "format"]);
3753
3725
  if (i == null)
3754
3726
  throw new Error(
3755
3727
  '[svelte-i18n] A "locale" must be set to format time values'
3756
3728
  );
3757
- return r ? n = xe("time", r) : Object.keys(n).length === 0 && (n = xe("time", "short")), new Intl.DateTimeFormat(i, n);
3729
+ return r ? n = Le("time", r) : Object.keys(n).length === 0 && (n = Le("time", "short")), new Intl.DateTimeFormat(i, n);
3758
3730
  }
3759
- ), go = (e = {}) => {
3731
+ ), vo = (e = {}) => {
3760
3732
  var t = e, {
3761
3733
  locale: i = re()
3762
- } = t, r = de(t, [
3734
+ } = t, r = pe(t, [
3763
3735
  "locale"
3764
3736
  ]);
3765
- return fo(vt({ locale: i }, r));
3766
- }, yo = (e = {}) => {
3737
+ return bo(Et({ locale: i }, r));
3738
+ }, _o = (e = {}) => {
3767
3739
  var t = e, {
3768
3740
  locale: i = re()
3769
- } = t, r = de(t, [
3741
+ } = t, r = pe(t, [
3770
3742
  "locale"
3771
3743
  ]);
3772
- return po(vt({ locale: i }, r));
3773
- }, vo = (e = {}) => {
3744
+ return go(Et({ locale: i }, r));
3745
+ }, Eo = (e = {}) => {
3774
3746
  var t = e, {
3775
3747
  locale: i = re()
3776
- } = t, r = de(t, [
3748
+ } = t, r = pe(t, [
3777
3749
  "locale"
3778
3750
  ]);
3779
- return bo(vt({ locale: i }, r));
3780
- }, _o = je(
3751
+ return yo(Et({ locale: i }, r));
3752
+ }, Lo = Fe(
3781
3753
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3782
- (e, t = re()) => new Vn(e, t, me().formats, {
3783
- ignoreTag: me().ignoreTag
3754
+ (e, t = re()) => new Zn(e, t, he().formats, {
3755
+ ignoreTag: he().ignoreTag
3784
3756
  })
3785
- ), Eo = (e, t = {}) => {
3757
+ ), xo = (e, t = {}) => {
3786
3758
  var i, r, n, o;
3787
3759
  let s = t;
3788
3760
  typeof e == "object" && (s = e, e = s.id);
3789
3761
  const {
3790
3762
  values: a,
3791
3763
  locale: c = re(),
3792
- default: l
3764
+ default: u
3793
3765
  } = s;
3794
3766
  if (c == null)
3795
3767
  throw new Error(
3796
3768
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3797
3769
  );
3798
- let u = Oi(e, c);
3799
- if (!u)
3800
- u = (o = (n = (r = (i = me()).handleMissingMessage) == null ? void 0 : r.call(i, { locale: c, id: e, defaultValue: l })) != null ? n : l) != null ? o : e;
3801
- else if (typeof u != "string")
3770
+ let l = ki(e, c);
3771
+ if (!l)
3772
+ l = (o = (n = (r = (i = he()).handleMissingMessage) == null ? void 0 : r.call(i, { locale: c, id: e, defaultValue: u })) != null ? n : u) != null ? o : e;
3773
+ else if (typeof l != "string")
3802
3774
  return console.warn(
3803
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3804
- ), u;
3775
+ `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3776
+ ), l;
3805
3777
  if (!a)
3806
- return u;
3807
- let h = u;
3778
+ return l;
3779
+ let h = l;
3808
3780
  try {
3809
- h = _o(u, c).format(a);
3810
- } catch (f) {
3811
- f instanceof Error && console.warn(
3781
+ h = Lo(l, c).format(a);
3782
+ } catch (m) {
3783
+ m instanceof Error && console.warn(
3812
3784
  `[svelte-i18n] Message "${e}" has syntax error:`,
3813
- f.message
3785
+ m.message
3814
3786
  );
3815
3787
  }
3816
3788
  return h;
3817
- }, Lo = (e, t) => vo(t).format(e), xo = (e, t) => yo(t).format(e), To = (e, t) => go(t).format(e), wo = (e, t = re()) => Oi(e, t), So = fe([pe, Te], () => Eo);
3818
- fe([pe], () => Lo);
3819
- fe([pe], () => xo);
3820
- fe([pe], () => To);
3821
- fe([pe, Te], () => wo);
3822
- function zt(e, t) {
3823
- ki(e, t);
3824
- }
3825
- function Po(e) {
3826
- pe.set(e);
3827
- }
3828
- const Wt = {
3789
+ }, To = (e, t) => Eo(t).format(e), wo = (e, t) => _o(t).format(e), So = (e, t) => vo(t).format(e), Po = (e, t = re()) => ki(e, t), Ao = fe([me, xe], () => xo);
3790
+ fe([me], () => To);
3791
+ fe([me], () => wo);
3792
+ fe([me], () => So);
3793
+ fe([me, xe], () => Po);
3794
+ function Vt(e, t) {
3795
+ Di(e, t);
3796
+ }
3797
+ function Bo(e) {
3798
+ me.set(e);
3799
+ }
3800
+ const Xt = {
3829
3801
  en: {
3830
3802
  loadingText: "Loading, please wait...",
3831
3803
  Monthly: "per month",
@@ -4278,16 +4250,85 @@ const Wt = {
4278
4250
  closeButton: "CLOSE"
4279
4251
  }
4280
4252
  };
4281
- function J(e) {
4253
+ /*! *****************************************************************************
4254
+ Copyright (c) Microsoft Corporation.
4255
+
4256
+ Permission to use, copy, modify, and/or distribute this software for any
4257
+ purpose with or without fee is hereby granted.
4258
+
4259
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
4260
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
4261
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
4262
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
4263
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
4264
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
4265
+ PERFORMANCE OF THIS SOFTWARE.
4266
+ ***************************************************************************** */
4267
+ var mt = function(e, t) {
4268
+ return mt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(i, r) {
4269
+ i.__proto__ = r;
4270
+ } || function(i, r) {
4271
+ for (var n in r)
4272
+ Object.prototype.hasOwnProperty.call(r, n) && (i[n] = r[n]);
4273
+ }, mt(e, t);
4274
+ };
4275
+ function Te(e, t) {
4276
+ if (typeof t != "function" && t !== null)
4277
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
4278
+ mt(e, t);
4279
+ function i() {
4280
+ this.constructor = e;
4281
+ }
4282
+ e.prototype = t === null ? Object.create(t) : (i.prototype = t.prototype, new i());
4283
+ }
4284
+ function pt(e) {
4285
+ var t = typeof Symbol == "function" && Symbol.iterator, i = t && e[t], r = 0;
4286
+ if (i)
4287
+ return i.call(e);
4288
+ if (e && typeof e.length == "number")
4289
+ return {
4290
+ next: function() {
4291
+ return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
4292
+ }
4293
+ };
4294
+ throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
4295
+ }
4296
+ function dt(e, t) {
4297
+ var i = typeof Symbol == "function" && e[Symbol.iterator];
4298
+ if (!i)
4299
+ return e;
4300
+ var r = i.call(e), n, o = [], s;
4301
+ try {
4302
+ for (; (t === void 0 || t-- > 0) && !(n = r.next()).done; )
4303
+ o.push(n.value);
4304
+ } catch (a) {
4305
+ s = { error: a };
4306
+ } finally {
4307
+ try {
4308
+ n && !n.done && (i = r.return) && i.call(r);
4309
+ } finally {
4310
+ if (s)
4311
+ throw s.error;
4312
+ }
4313
+ }
4314
+ return o;
4315
+ }
4316
+ function bt(e, t, i) {
4317
+ if (arguments.length === 2)
4318
+ for (var r = 0, n = t.length, o; r < n; r++)
4319
+ (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
4320
+ return e.concat(o || t);
4321
+ }
4322
+ function Q(e) {
4282
4323
  return typeof e == "function";
4283
4324
  }
4284
- function ji(e) {
4325
+ function Fi(e) {
4285
4326
  var t = function(r) {
4286
4327
  Error.call(r), r.stack = new Error().stack;
4287
4328
  }, i = e(t);
4288
4329
  return i.prototype = Object.create(Error.prototype), i.prototype.constructor = i, i;
4289
4330
  }
4290
- var Ke = ji(function(e) {
4331
+ var it = Fi(function(e) {
4291
4332
  return function(i) {
4292
4333
  e(this), this.message = i ? i.length + ` errors occurred during unsubscription:
4293
4334
  ` + i.map(function(r, n) {
@@ -4296,13 +4337,13 @@ var Ke = ji(function(e) {
4296
4337
  `) : "", this.name = "UnsubscriptionError", this.errors = i;
4297
4338
  };
4298
4339
  });
4299
- function ft(e, t) {
4340
+ function gt(e, t) {
4300
4341
  if (e) {
4301
4342
  var i = e.indexOf(t);
4302
4343
  0 <= i && e.splice(i, 1);
4303
4344
  }
4304
4345
  }
4305
- var Fe = function() {
4346
+ var Ge = function() {
4306
4347
  function e(t) {
4307
4348
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
4308
4349
  }
@@ -4314,9 +4355,9 @@ var Fe = function() {
4314
4355
  if (s)
4315
4356
  if (this._parentage = null, Array.isArray(s))
4316
4357
  try {
4317
- for (var a = rt(s), c = a.next(); !c.done; c = a.next()) {
4318
- var l = c.value;
4319
- l.remove(this);
4358
+ for (var a = pt(s), c = a.next(); !c.done; c = a.next()) {
4359
+ var u = c.value;
4360
+ u.remove(this);
4320
4361
  }
4321
4362
  } catch (_) {
4322
4363
  t = { error: _ };
@@ -4330,30 +4371,30 @@ var Fe = function() {
4330
4371
  }
4331
4372
  else
4332
4373
  s.remove(this);
4333
- var u = this.initialTeardown;
4334
- if (J(u))
4374
+ var l = this.initialTeardown;
4375
+ if (Q(l))
4335
4376
  try {
4336
- u();
4377
+ l();
4337
4378
  } catch (_) {
4338
- o = _ instanceof Ke ? _.errors : [_];
4379
+ o = _ instanceof it ? _.errors : [_];
4339
4380
  }
4340
4381
  var h = this._finalizers;
4341
4382
  if (h) {
4342
4383
  this._finalizers = null;
4343
4384
  try {
4344
- for (var f = rt(h), m = f.next(); !m.done; m = f.next()) {
4345
- var p = m.value;
4385
+ for (var m = pt(h), f = m.next(); !f.done; f = m.next()) {
4386
+ var p = f.value;
4346
4387
  try {
4347
- Vt(p);
4388
+ Zt(p);
4348
4389
  } catch (_) {
4349
- o = o != null ? o : [], _ instanceof Ke ? o = le(le([], nt(o)), nt(_.errors)) : o.push(_);
4390
+ o = o != null ? o : [], _ instanceof it ? o = bt(bt([], dt(o)), dt(_.errors)) : o.push(_);
4350
4391
  }
4351
4392
  }
4352
4393
  } catch (_) {
4353
4394
  r = { error: _ };
4354
4395
  } finally {
4355
4396
  try {
4356
- m && !m.done && (n = f.return) && n.call(f);
4397
+ f && !f.done && (n = m.return) && n.call(m);
4357
4398
  } finally {
4358
4399
  if (r)
4359
4400
  throw r.error;
@@ -4361,13 +4402,13 @@ var Fe = function() {
4361
4402
  }
4362
4403
  }
4363
4404
  if (o)
4364
- throw new Ke(o);
4405
+ throw new it(o);
4365
4406
  }
4366
4407
  }, e.prototype.add = function(t) {
4367
4408
  var i;
4368
4409
  if (t && t !== this)
4369
4410
  if (this.closed)
4370
- Vt(t);
4411
+ Zt(t);
4371
4412
  else {
4372
4413
  if (t instanceof e) {
4373
4414
  if (t.closed || t._hasParent(this))
@@ -4384,56 +4425,52 @@ var Fe = function() {
4384
4425
  this._parentage = Array.isArray(i) ? (i.push(t), i) : i ? [i, t] : t;
4385
4426
  }, e.prototype._removeParent = function(t) {
4386
4427
  var i = this._parentage;
4387
- i === t ? this._parentage = null : Array.isArray(i) && ft(i, t);
4428
+ i === t ? this._parentage = null : Array.isArray(i) && gt(i, t);
4388
4429
  }, e.prototype.remove = function(t) {
4389
4430
  var i = this._finalizers;
4390
- i && ft(i, t), t instanceof e && t._removeParent(this);
4431
+ i && gt(i, t), t instanceof e && t._removeParent(this);
4391
4432
  }, e.EMPTY = function() {
4392
4433
  var t = new e();
4393
4434
  return t.closed = !0, t;
4394
4435
  }(), e;
4395
- }(), Fi = Fe.EMPTY;
4396
- function $i(e) {
4397
- return e instanceof Fe || e && "closed" in e && J(e.remove) && J(e.add) && J(e.unsubscribe);
4398
- }
4399
- function Vt(e) {
4400
- J(e) ? e() : e.unsubscribe();
4401
- }
4402
- var Gi = {
4403
- onUnhandledError: null,
4404
- onStoppedNotification: null,
4405
- Promise: void 0,
4406
- useDeprecatedSynchronousErrorHandling: !1,
4407
- useDeprecatedNextContext: !1
4408
- }, Ao = {
4436
+ }(), Gi = Ge.EMPTY;
4437
+ function zi(e) {
4438
+ return e instanceof Ge || e && "closed" in e && Q(e.remove) && Q(e.add) && Q(e.unsubscribe);
4439
+ }
4440
+ function Zt(e) {
4441
+ Q(e) ? e() : e.unsubscribe();
4442
+ }
4443
+ var No = {
4444
+ Promise: void 0
4445
+ }, Oo = {
4409
4446
  setTimeout: function(e, t) {
4410
4447
  for (var i = [], r = 2; r < arguments.length; r++)
4411
4448
  i[r - 2] = arguments[r];
4412
- return setTimeout.apply(void 0, le([e, t], nt(i)));
4449
+ return setTimeout.apply(void 0, bt([e, t], dt(i)));
4413
4450
  },
4414
4451
  clearTimeout: function(e) {
4415
4452
  return clearTimeout(e);
4416
4453
  },
4417
4454
  delegate: void 0
4418
4455
  };
4419
- function Bo(e) {
4420
- Ao.setTimeout(function() {
4456
+ function Io(e) {
4457
+ Oo.setTimeout(function() {
4421
4458
  throw e;
4422
4459
  });
4423
4460
  }
4424
- function Xt() {
4461
+ function Yt() {
4425
4462
  }
4426
- function Ie(e) {
4463
+ function Oe(e) {
4427
4464
  e();
4428
4465
  }
4429
- var zi = function(e) {
4430
- Q(t, e);
4466
+ var Wi = function(e) {
4467
+ Te(t, e);
4431
4468
  function t(i) {
4432
4469
  var r = e.call(this) || this;
4433
- return r.isStopped = !1, i ? (r.destination = i, $i(i) && i.add(r)) : r.destination = Oo, r;
4470
+ return r.isStopped = !1, i ? (r.destination = i, zi(i) && i.add(r)) : r.destination = ko, r;
4434
4471
  }
4435
4472
  return t.create = function(i, r, n) {
4436
- return new pt(i, r, n);
4473
+ return new yt(i, r, n);
4437
4474
  }, t.prototype.next = function(i) {
4438
4475
  this.isStopped || this._next(i);
4439
4476
  }, t.prototype.error = function(i) {
@@ -4457,11 +4494,7 @@ var zi = function(e) {
4457
4494
  this.unsubscribe();
4458
4495
  }
4459
4496
  }, t;
4460
- }(Fe), No = Function.prototype.bind;
4461
- function et(e, t) {
4462
- return No.call(e, t);
4463
- }
4464
- var Io = function() {
4497
+ }(Ge), Ho = function() {
4465
4498
  function e(t) {
4466
4499
  this.partialObserver = t;
4467
4500
  }
@@ -4492,55 +4525,43 @@ var Io = function() {
4492
4525
  Pe(i);
4493
4526
  }
4494
4527
  }, e;
4495
- }(), pt = function(e) {
4496
- Q(t, e);
4528
+ }(), yt = function(e) {
4529
+ Te(t, e);
4497
4530
  function t(i, r, n) {
4498
4531
  var o = e.call(this) || this, s;
4499
- if (J(i) || !i)
4500
- s = {
4501
- next: i != null ? i : void 0,
4502
- error: r != null ? r : void 0,
4503
- complete: n != null ? n : void 0
4504
- };
4505
- else {
4506
- var a;
4507
- o && Gi.useDeprecatedNextContext ? (a = Object.create(i), a.unsubscribe = function() {
4508
- return o.unsubscribe();
4509
- }, s = {
4510
- next: i.next && et(i.next, a),
4511
- error: i.error && et(i.error, a),
4512
- complete: i.complete && et(i.complete, a)
4513
- }) : s = i;
4514
- }
4515
- return o.destination = new Io(s), o;
4532
+ return Q(i) || !i ? s = {
4533
+ next: i != null ? i : void 0,
4534
+ error: r != null ? r : void 0,
4535
+ complete: n != null ? n : void 0
4536
+ } : s = i, o.destination = new Ho(s), o;
4516
4537
  }
4517
4538
  return t;
4518
- }(zi);
4539
+ }(Wi);
4519
4540
  function Pe(e) {
4520
- Bo(e);
4541
+ Io(e);
4521
4542
  }
4522
- function Ho(e) {
4543
+ function Mo(e) {
4523
4544
  throw e;
4524
4545
  }
4525
- var Oo = {
4546
+ var ko = {
4526
4547
  closed: !0,
4527
- next: Xt,
4528
- error: Ho,
4529
- complete: Xt
4530
- }, Mo = function() {
4548
+ next: Yt,
4549
+ error: Mo,
4550
+ complete: Yt
4551
+ }, Co = function() {
4531
4552
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4532
4553
  }();
4533
- function ko(e) {
4554
+ function Do(e) {
4534
4555
  return e;
4535
4556
  }
4536
- function Co(e) {
4537
- return e.length === 0 ? ko : e.length === 1 ? e[0] : function(i) {
4557
+ function Ro(e) {
4558
+ return e.length === 0 ? Do : e.length === 1 ? e[0] : function(i) {
4538
4559
  return e.reduce(function(r, n) {
4539
4560
  return n(r);
4540
4561
  }, i);
4541
4562
  };
4542
4563
  }
4543
- var Zt = function() {
4564
+ var qt = function() {
4544
4565
  function e(t) {
4545
4566
  t && (this._subscribe = t);
4546
4567
  }
@@ -4548,8 +4569,8 @@ var Zt = function() {
4548
4569
  var i = new e();
4549
4570
  return i.source = this, i.operator = t, i;
4550
4571
  }, e.prototype.subscribe = function(t, i, r) {
4551
- var n = this, o = Ro(t) ? t : new pt(t, i, r);
4552
- return Ie(function() {
4572
+ var n = this, o = Uo(t) ? t : new yt(t, i, r);
4573
+ return Oe(function() {
4553
4574
  var s = n, a = s.operator, c = s.source;
4554
4575
  o.add(a ? a.call(o, c) : c ? n._subscribe(o) : n._trySubscribe(o));
4555
4576
  }), o;
@@ -4561,8 +4582,8 @@ var Zt = function() {
4561
4582
  }
4562
4583
  }, e.prototype.forEach = function(t, i) {
4563
4584
  var r = this;
4564
- return i = Yt(i), new i(function(n, o) {
4565
- var s = new pt({
4585
+ return i = Jt(i), new i(function(n, o) {
4586
+ var s = new yt({
4566
4587
  next: function(a) {
4567
4588
  try {
4568
4589
  t(a);
@@ -4578,15 +4599,15 @@ var Zt = function() {
4578
4599
  }, e.prototype._subscribe = function(t) {
4579
4600
  var i;
4580
4601
  return (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(t);
4581
- }, e.prototype[Mo] = function() {
4602
+ }, e.prototype[Co] = function() {
4582
4603
  return this;
4583
4604
  }, e.prototype.pipe = function() {
4584
4605
  for (var t = [], i = 0; i < arguments.length; i++)
4585
4606
  t[i] = arguments[i];
4586
- return Co(t)(this);
4607
+ return Ro(t)(this);
4587
4608
  }, e.prototype.toPromise = function(t) {
4588
4609
  var i = this;
4589
- return t = Yt(t), new t(function(r, n) {
4610
+ return t = Jt(t), new t(function(r, n) {
4590
4611
  var o;
4591
4612
  i.subscribe(function(s) {
4592
4613
  return o = s;
@@ -4600,45 +4621,45 @@ var Zt = function() {
4600
4621
  return new e(t);
4601
4622
  }, e;
4602
4623
  }();
4603
- function Yt(e) {
4624
+ function Jt(e) {
4604
4625
  var t;
4605
- return (t = e != null ? e : Gi.Promise) !== null && t !== void 0 ? t : Promise;
4626
+ return (t = e != null ? e : No.Promise) !== null && t !== void 0 ? t : Promise;
4606
4627
  }
4607
- function Do(e) {
4608
- return e && J(e.next) && J(e.error) && J(e.complete);
4628
+ function jo(e) {
4629
+ return e && Q(e.next) && Q(e.error) && Q(e.complete);
4609
4630
  }
4610
- function Ro(e) {
4611
- return e && e instanceof zi || Do(e) && $i(e);
4631
+ function Uo(e) {
4632
+ return e && e instanceof Wi || jo(e) && zi(e);
4612
4633
  }
4613
- var Uo = ji(function(e) {
4634
+ var $o = Fi(function(e) {
4614
4635
  return function() {
4615
4636
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4616
4637
  };
4617
- }), Wi = function(e) {
4618
- Q(t, e);
4638
+ }), Vi = function(e) {
4639
+ Te(t, e);
4619
4640
  function t() {
4620
4641
  var i = e.call(this) || this;
4621
4642
  return i.closed = !1, i.currentObservers = null, i.observers = [], i.isStopped = !1, i.hasError = !1, i.thrownError = null, i;
4622
4643
  }
4623
4644
  return t.prototype.lift = function(i) {
4624
- var r = new qt(this, this);
4645
+ var r = new Qt(this, this);
4625
4646
  return r.operator = i, r;
4626
4647
  }, t.prototype._throwIfClosed = function() {
4627
4648
  if (this.closed)
4628
- throw new Uo();
4649
+ throw new $o();
4629
4650
  }, t.prototype.next = function(i) {
4630
4651
  var r = this;
4631
- Ie(function() {
4652
+ Oe(function() {
4632
4653
  var n, o;
4633
4654
  if (r._throwIfClosed(), !r.isStopped) {
4634
4655
  r.currentObservers || (r.currentObservers = Array.from(r.observers));
4635
4656
  try {
4636
- for (var s = rt(r.currentObservers), a = s.next(); !a.done; a = s.next()) {
4657
+ for (var s = pt(r.currentObservers), a = s.next(); !a.done; a = s.next()) {
4637
4658
  var c = a.value;
4638
4659
  c.next(i);
4639
4660
  }
4640
- } catch (l) {
4641
- n = { error: l };
4661
+ } catch (u) {
4662
+ n = { error: u };
4642
4663
  } finally {
4643
4664
  try {
4644
4665
  a && !a.done && (o = s.return) && o.call(s);
@@ -4651,7 +4672,7 @@ var Uo = ji(function(e) {
4651
4672
  });
4652
4673
  }, t.prototype.error = function(i) {
4653
4674
  var r = this;
4654
- Ie(function() {
4675
+ Oe(function() {
4655
4676
  if (r._throwIfClosed(), !r.isStopped) {
4656
4677
  r.hasError = r.isStopped = !0, r.thrownError = i;
4657
4678
  for (var n = r.observers; n.length; )
@@ -4660,7 +4681,7 @@ var Uo = ji(function(e) {
4660
4681
  });
4661
4682
  }, t.prototype.complete = function() {
4662
4683
  var i = this;
4663
- Ie(function() {
4684
+ Oe(function() {
4664
4685
  if (i._throwIfClosed(), !i.isStopped) {
4665
4686
  i.isStopped = !0;
4666
4687
  for (var r = i.observers; r.length; )
@@ -4682,20 +4703,20 @@ var Uo = ji(function(e) {
4682
4703
  return this._throwIfClosed(), this._checkFinalizedStatuses(i), this._innerSubscribe(i);
4683
4704
  }, t.prototype._innerSubscribe = function(i) {
4684
4705
  var r = this, n = this, o = n.hasError, s = n.isStopped, a = n.observers;
4685
- return o || s ? Fi : (this.currentObservers = null, a.push(i), new Fe(function() {
4686
- r.currentObservers = null, ft(a, i);
4706
+ return o || s ? Gi : (this.currentObservers = null, a.push(i), new Ge(function() {
4707
+ r.currentObservers = null, gt(a, i);
4687
4708
  }));
4688
4709
  }, t.prototype._checkFinalizedStatuses = function(i) {
4689
4710
  var r = this, n = r.hasError, o = r.thrownError, s = r.isStopped;
4690
4711
  n ? i.error(o) : s && i.complete();
4691
4712
  }, t.prototype.asObservable = function() {
4692
- var i = new Zt();
4713
+ var i = new qt();
4693
4714
  return i.source = this, i;
4694
4715
  }, t.create = function(i, r) {
4695
- return new qt(i, r);
4716
+ return new Qt(i, r);
4696
4717
  }, t;
4697
- }(Zt), qt = function(e) {
4698
- Q(t, e);
4718
+ }(qt), Qt = function(e) {
4719
+ Te(t, e);
4699
4720
  function t(i, r) {
4700
4721
  var n = e.call(this) || this;
4701
4722
  return n.destination = i, n.source = r, n;
@@ -4711,17 +4732,17 @@ var Uo = ji(function(e) {
4711
4732
  (r = (i = this.destination) === null || i === void 0 ? void 0 : i.complete) === null || r === void 0 || r.call(i);
4712
4733
  }, t.prototype._subscribe = function(i) {
4713
4734
  var r, n;
4714
- return (n = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(i)) !== null && n !== void 0 ? n : Fi;
4735
+ return (n = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(i)) !== null && n !== void 0 ? n : Gi;
4715
4736
  }, t;
4716
- }(Wi), Vi = {
4737
+ }(Vi), Xi = {
4717
4738
  now: function() {
4718
- return (Vi.delegate || Date).now();
4739
+ return (Xi.delegate || Date).now();
4719
4740
  },
4720
4741
  delegate: void 0
4721
- }, jo = function(e) {
4722
- Q(t, e);
4742
+ }, Fo = function(e) {
4743
+ Te(t, e);
4723
4744
  function t(i, r, n) {
4724
- i === void 0 && (i = 1 / 0), r === void 0 && (r = 1 / 0), n === void 0 && (n = Vi);
4745
+ i === void 0 && (i = 1 / 0), r === void 0 && (r = 1 / 0), n === void 0 && (n = Xi);
4725
4746
  var o = e.call(this) || this;
4726
4747
  return o._bufferSize = i, o._windowTime = r, o._timestampProvider = n, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = r === 1 / 0, o._bufferSize = Math.max(1, i), o._windowTime = Math.max(1, r), o;
4727
4748
  }
@@ -4736,28 +4757,28 @@ var Uo = ji(function(e) {
4736
4757
  }, t.prototype._trimBuffer = function() {
4737
4758
  var i = this, r = i._bufferSize, n = i._timestampProvider, o = i._buffer, s = i._infiniteTimeWindow, a = (s ? 1 : 2) * r;
4738
4759
  if (r < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
4739
- for (var c = n.now(), l = 0, u = 1; u < o.length && o[u] <= c; u += 2)
4740
- l = u;
4741
- l && o.splice(0, l + 1);
4760
+ for (var c = n.now(), u = 0, l = 1; l < o.length && o[l] <= c; l += 2)
4761
+ u = l;
4762
+ u && o.splice(0, u + 1);
4742
4763
  }
4743
4764
  }, t;
4744
- }(Wi);
4745
- const Jt = [], Qt = {}, Fo = (e, t = 0) => {
4746
- if (Jt.indexOf(e) == -1) {
4747
- const i = new jo(t);
4748
- Qt[e] = i, Jt.push(e);
4765
+ }(Vi);
4766
+ const Kt = [], ei = {}, Go = (e, t = 0) => {
4767
+ if (Kt.indexOf(e) == -1) {
4768
+ const i = new Fo(t);
4769
+ ei[e] = i, Kt.push(e);
4749
4770
  }
4750
- return Qt[e];
4771
+ return ei[e];
4751
4772
  };
4752
- window.emWidgets = { topic: Fo };
4753
- const $o = (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));
4754
- function Go(e, t) {
4773
+ window.emWidgets = { topic: Go };
4774
+ const zo = (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));
4775
+ function Wo(e, t) {
4755
4776
  if (e) {
4756
4777
  const i = document.createElement("style");
4757
4778
  i.innerHTML = t, e.appendChild(i);
4758
4779
  }
4759
4780
  }
4760
- function zo(e, t) {
4781
+ function Vo(e, t) {
4761
4782
  const i = new URL(t);
4762
4783
  fetch(i.href).then((r) => r.text()).then((r) => {
4763
4784
  const n = document.createElement("style");
@@ -4766,7 +4787,7 @@ function zo(e, t) {
4766
4787
  console.error("There was an error while trying to load client styling from URL", r);
4767
4788
  });
4768
4789
  }
4769
- function Wo(e, t, i) {
4790
+ function Xo(e, t, i) {
4770
4791
  if (window.emMessageBus) {
4771
4792
  const r = document.createElement("style");
4772
4793
  window.emMessageBus.subscribe(t, (n) => {
@@ -4774,31 +4795,31 @@ function Wo(e, t, i) {
4774
4795
  });
4775
4796
  }
4776
4797
  }
4777
- function Vo(e) {
4778
- gr(e, "svelte-1uoztsw", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}input{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A))}input:focus,input :focus-within,input :focus-visible,input :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}select{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;cursor:pointer;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF)}select:focus,select :focus-within,select :focus-visible,select :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.player-account-gaming-limits-page-2-gmcore{color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A))}.LimitsInteractionArea{display:flex;flex-direction:column;margin-top:12px}.LimitsInteractionArea.Desktop{width:320px;padding:0 12px}.LimitsList.Desktop{display:flex;justify-content:space-between;margin:0 auto}.LimitWrapper{background:var(--emw--color-white, #fff);font-size:1.3rem;border:1px solid var(--emw--color-gray-300, #58586B);padding:8px 12px;border-radius:4px}.LimitWrapper:not(:first-child){margin-top:12px}.LimitWrapper.Desktop{width:45%;margin:12px}.LimitSubmitButton,.ConfirmButton{background:var(--emw--color-valid, var(--emw--color-green, #48952a));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:0;border-radius:2px;padding:12px;cursor:pointer}.LimitSubmitButton:disabled,.ConfirmButton:disabled{background:rgba(116, 180, 27, 0.322);cursor:not-allowed}.LimitDetails{padding:12px 0 12px 4px}.LimitDetails:not(:last-child){border-bottom:1px solid var(--emw--color-gray-50, #F9F8F8)}.LimitDetailsTextWrapper{font-size:1.3rem;color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A))}.PendingLimit{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A))}.LimitTitle{font-size:1.5rem}.PopupOverlay{position:absolute;top:0;left:0;background-color:rgba(0, 0, 0, 0.5);height:100vh;width:100vw;display:flex;justify-content:center;align-items:center}.PopupContainer{background:var(--emw--color-white, #FFFFFF);font-size:1rem;color:var(--emw--color-black, #000000);width:80vw;height:350px;padding:12px;border-radius:4px;display:flex;flex-direction:column;justify-content:space-between}.PopupContainer.Desktop{width:30vw}.PopupTitleWrapper{display:flex;justify-content:space-between;font-size:1.3rem}.PopupTitleWrapper button{background:var(--emw--color-white, #FFFFFF);font-size:1rem;border:0;cursor:pointer}.DescriptionParagraph{text-align:center;font-size:1.3rem;padding:12px}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.LimitDetails{display:flex;justify-content:space-between;align-items:center}.RemoveLimitButton{height:28px;font-size:0.7rem;background:var(--emw--color-white, #FFFFFF);color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B);border-radius:4px;padding:0 4px;cursor:pointer}.RemoveLimitButton:hover{background:var(--emw--color-gray-300, #58586B)}@keyframes rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@-webkit-keyframes rotate{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.LoadingIndicator{width:100px;height:100px;margin:110px auto 0;border:solid 10px rgb(122, 195, 23);border-radius:50%;border-right-color:transparent;border-bottom-color:transparent;-webkit-transition:all 0.5s ease-in;-webkit-animation-name:rotate;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;transition:all 0.5s ease-in;animation-name:rotate;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear}');
4798
+ function Zo(e) {
4799
+ yr(e, "svelte-1uoztsw", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}input{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A))}input:focus,input :focus-within,input :focus-visible,input :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}select{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;cursor:pointer;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF)}select:focus,select :focus-within,select :focus-visible,select :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.player-account-gaming-limits-page-2-gmcore{color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A))}.LimitsInteractionArea{display:flex;flex-direction:column;margin-top:12px}.LimitsInteractionArea.Desktop{width:320px;padding:0 12px}.LimitsList.Desktop{display:flex;justify-content:space-between;margin:0 auto}.LimitWrapper{background:var(--emw--color-white, #fff);font-size:1.3rem;border:1px solid var(--emw--color-gray-300, #58586B);padding:8px 12px;border-radius:4px}.LimitWrapper:not(:first-child){margin-top:12px}.LimitWrapper.Desktop{width:45%;margin:12px}.LimitSubmitButton,.ConfirmButton{background:var(--emw--color-valid, var(--emw--color-green, #48952a));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:0;border-radius:2px;padding:12px;cursor:pointer}.LimitSubmitButton:disabled,.ConfirmButton:disabled{background:rgba(116, 180, 27, 0.322);cursor:not-allowed}.LimitDetails{padding:12px 0 12px 4px}.LimitDetails:not(:last-child){border-bottom:1px solid var(--emw--color-gray-50, #F9F8F8)}.LimitDetailsTextWrapper{font-size:1.3rem;color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A))}.PendingLimit{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A))}.LimitTitle{font-size:1.5rem}.PopupOverlay{position:absolute;top:0;left:0;background-color:rgba(0, 0, 0, 0.5);height:100vh;width:100vw;display:flex;justify-content:center;align-items:center}.PopupContainer{background:var(--emw--color-white, #FFFFFF);font-size:1rem;color:var(--emw--color-black, #000000);width:80vw;height:350px;padding:12px;border-radius:4px;display:flex;flex-direction:column;justify-content:space-between}.PopupContainer.Desktop{width:30vw}.PopupTitleWrapper{display:flex;justify-content:space-between;font-size:1.3rem}.PopupTitleWrapper button{background:var(--emw--color-white, #FFFFFF);font-size:1rem;border:0;cursor:pointer}.DescriptionParagraph{text-align:center;font-size:1.3rem;padding:12px}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.LimitDetails{display:flex;justify-content:space-between;align-items:center}.RemoveLimitButton{height:28px;font-size:0.7rem;background:var(--emw--color-white, #FFFFFF);color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B);border-radius:4px;padding:0 4px;cursor:pointer}.RemoveLimitButton:hover{background:var(--emw--color-gray-300, #58586B)}@keyframes rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@-webkit-keyframes rotate{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.LoadingIndicator{width:100px;height:100px;margin:110px auto 0;border:solid 10px rgb(122, 195, 23);border-radius:50%;border-right-color:transparent;border-bottom-color:transparent;-webkit-transition:all 0.5s ease-in;-webkit-animation-name:rotate;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;transition:all 0.5s ease-in;animation-name:rotate;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear}');
4779
4800
  }
4780
- function Kt(e, t, i) {
4801
+ function ti(e, t, i) {
4781
4802
  const r = e.slice();
4782
4803
  return r[50] = t[i], r;
4783
4804
  }
4784
- function ei(e, t, i) {
4805
+ function ii(e, t, i) {
4785
4806
  const r = e.slice();
4786
4807
  return r[53] = t[i], r;
4787
4808
  }
4788
- function ti(e, t, i) {
4809
+ function ri(e, t, i) {
4789
4810
  const r = e.slice();
4790
4811
  return r[53] = t[i], r;
4791
4812
  }
4792
- function ii(e, t, i) {
4813
+ function ni(e, t, i) {
4793
4814
  const r = e.slice();
4794
4815
  return r[58] = t[i], r;
4795
4816
  }
4796
- function ri(e) {
4817
+ function oi(e) {
4797
4818
  let t, i;
4798
4819
  function r(s, a) {
4799
4820
  return (
4800
4821
  /*popupReady*/
4801
- s[11] ? Xo : Zo
4822
+ s[11] ? Yo : qo
4802
4823
  );
4803
4824
  }
4804
4825
  let n = r(e), o = n(e);
@@ -4808,38 +4829,38 @@ function ri(e) {
4808
4829
  (e[14] ? "Desktop" : "")), g(t, "class", "PopupOverlay");
4809
4830
  },
4810
4831
  m(s, a) {
4811
- N(s, t, a), d(t, i), o.m(i, null);
4832
+ B(s, t, a), d(t, i), o.m(i, null);
4812
4833
  },
4813
4834
  p(s, a) {
4814
4835
  n === (n = r(s)) && o ? o.p(s, a) : (o.d(1), o = n(s), o && (o.c(), o.m(i, null)));
4815
4836
  },
4816
4837
  d(s) {
4817
- s && B(t), o.d();
4838
+ s && A(t), o.d();
4818
4839
  }
4819
4840
  };
4820
4841
  }
4821
- function Xo(e) {
4842
+ function Yo(e) {
4822
4843
  let t, i, r = (
4823
4844
  /*$_*/
4824
4845
  e[13]("popupTitle") + ""
4825
- ), n, o, s, a, c, l, u, h, f, m, p, _, R, P = !/*limitError*/
4826
- e[9] && ni(e);
4846
+ ), n, o, s, a, c, u, l, h, m, f, p, _, R, S = !/*limitError*/
4847
+ e[9] && si(e);
4827
4848
  return {
4828
4849
  c() {
4829
- t = v("div"), i = v("span"), n = F(r), o = j(), s = v("button"), s.textContent = "X", a = j(), c = v("div"), l = v("div"), P && P.c(), u = j(), h = v("p"), f = F(
4850
+ t = v("div"), i = v("span"), n = $(r), o = U(), s = v("button"), s.textContent = "X", a = U(), c = v("div"), u = v("div"), S && S.c(), l = U(), h = v("p"), m = $(
4830
4851
  /*popupContent*/
4831
4852
  e[12]
4832
- ), m = j(), p = v("button"), p.textContent = "OK", g(i, "class", "PopupTitle"), g(s, "class", "ClosePopup"), g(t, "class", "PopupTitleWrapper"), g(l, "class", "ResultIconWrapper"), g(h, "class", "DescriptionParagraph"), g(c, "class", "DescriptionWrapper"), g(p, "class", "ConfirmButton");
4853
+ ), f = U(), p = v("button"), p.textContent = "OK", g(i, "class", "PopupTitle"), g(s, "class", "ClosePopup"), g(t, "class", "PopupTitleWrapper"), g(u, "class", "ResultIconWrapper"), g(h, "class", "DescriptionParagraph"), g(c, "class", "DescriptionWrapper"), g(p, "class", "ConfirmButton");
4833
4854
  },
4834
4855
  m(L, w) {
4835
- N(L, t, w), d(t, i), d(i, n), d(t, o), d(t, s), N(L, a, w), N(L, c, w), d(c, l), P && P.m(l, null), d(c, u), d(c, h), d(h, f), N(L, m, w), N(L, p, w), _ || (R = [
4836
- Y(
4856
+ B(L, t, w), d(t, i), d(i, n), d(t, o), d(t, s), B(L, a, w), B(L, c, w), d(c, u), S && S.m(u, null), d(c, l), d(c, h), d(h, m), B(L, f, w), B(L, p, w), _ || (R = [
4857
+ q(
4837
4858
  s,
4838
4859
  "click",
4839
4860
  /*closePopup*/
4840
4861
  e[20]
4841
4862
  ),
4842
- Y(
4863
+ q(
4843
4864
  p,
4844
4865
  "click",
4845
4866
  /*closePopup*/
@@ -4851,58 +4872,58 @@ function Xo(e) {
4851
4872
  w[0] & /*$_*/
4852
4873
  8192 && r !== (r = /*$_*/
4853
4874
  L[13]("popupTitle") + "") && W(n, r), /*limitError*/
4854
- L[9] ? P && (P.d(1), P = null) : P ? P.p(L, w) : (P = ni(L), P.c(), P.m(l, null)), w[0] & /*popupContent*/
4875
+ L[9] ? S && (S.d(1), S = null) : S ? S.p(L, w) : (S = si(L), S.c(), S.m(u, null)), w[0] & /*popupContent*/
4855
4876
  4096 && W(
4856
- f,
4877
+ m,
4857
4878
  /*popupContent*/
4858
4879
  L[12]
4859
4880
  );
4860
4881
  },
4861
4882
  d(L) {
4862
- L && (B(t), B(a), B(c), B(m), B(p)), P && P.d(), _ = !1, ie(R);
4883
+ L && (A(t), A(a), A(c), A(f), A(p)), S && S.d(), _ = !1, ie(R);
4863
4884
  }
4864
4885
  };
4865
4886
  }
4866
- function Zo(e) {
4887
+ function qo(e) {
4867
4888
  let t;
4868
4889
  return {
4869
4890
  c() {
4870
4891
  t = v("div"), g(t, "class", "LoadingIndicator");
4871
4892
  },
4872
4893
  m(i, r) {
4873
- N(i, t, r);
4894
+ B(i, t, r);
4874
4895
  },
4875
- p: U,
4896
+ p: j,
4876
4897
  d(i) {
4877
- i && B(t);
4898
+ i && A(t);
4878
4899
  }
4879
4900
  };
4880
4901
  }
4881
- function ni(e) {
4882
- let t, i, r, n, o, s, a, c, l = (
4902
+ function si(e) {
4903
+ let t, i, r, n, o, s, a, c, u = (
4883
4904
  /*$_*/
4884
4905
  e[13]("popupSuccess") + ""
4885
- ), u;
4906
+ ), l;
4886
4907
  return {
4887
4908
  c() {
4888
- t = be("svg"), i = be("defs"), r = be("style"), n = F(`.fil0 {fill:black;fill-rule:nonzero}
4889
- `), o = be("g"), s = be("polygon"), a = j(), c = v("p"), u = F(l), g(r, "type", "text/css"), g(s, "class", "fil0"), g(s, "points", "0,38 10,25 36,47 78,0 90,11 37,69 "), g(t, "xmlns", "http://www.w3.org/2000/svg"), g(t, "xmlns:xlink", "http://www.w3.org/1999/xlink"), g(t, "xml:space", "preserve"), g(t, "version", "1.1"), Ve(t, "shape-rendering", "geometricPrecision"), Ve(t, "text-rendering", "geometricPrecision"), Ve(t, "image-rendering", "optimizeQuality"), g(t, "viewBox", "0 0 90 69"), g(t, "x", "0px"), g(t, "y", "0px"), g(t, "fill-rule", "evenodd"), g(t, "clip-rule", "evenodd");
4909
+ t = de("svg"), i = de("defs"), r = de("style"), n = $(`.fil0 {fill:black;fill-rule:nonzero}
4910
+ `), o = de("g"), s = de("polygon"), a = U(), c = v("p"), l = $(u), g(r, "type", "text/css"), g(s, "class", "fil0"), g(s, "points", "0,38 10,25 36,47 78,0 90,11 37,69 "), g(t, "xmlns", "http://www.w3.org/2000/svg"), g(t, "xmlns:xlink", "http://www.w3.org/1999/xlink"), g(t, "xml:space", "preserve"), g(t, "version", "1.1"), Ze(t, "shape-rendering", "geometricPrecision"), Ze(t, "text-rendering", "geometricPrecision"), Ze(t, "image-rendering", "optimizeQuality"), g(t, "viewBox", "0 0 90 69"), g(t, "x", "0px"), g(t, "y", "0px"), g(t, "fill-rule", "evenodd"), g(t, "clip-rule", "evenodd");
4890
4911
  },
4891
- m(h, f) {
4892
- N(h, t, f), d(t, i), d(i, r), d(r, n), d(t, o), d(o, s), N(h, a, f), N(h, c, f), d(c, u);
4912
+ m(h, m) {
4913
+ B(h, t, m), d(t, i), d(i, r), d(r, n), d(t, o), d(o, s), B(h, a, m), B(h, c, m), d(c, l);
4893
4914
  },
4894
- p(h, f) {
4895
- f[0] & /*$_*/
4896
- 8192 && l !== (l = /*$_*/
4897
- h[13]("popupSuccess") + "") && W(u, l);
4915
+ p(h, m) {
4916
+ m[0] & /*$_*/
4917
+ 8192 && u !== (u = /*$_*/
4918
+ h[13]("popupSuccess") + "") && W(l, u);
4898
4919
  },
4899
4920
  d(h) {
4900
- h && (B(t), B(a), B(c));
4921
+ h && (A(t), A(a), A(c));
4901
4922
  }
4902
4923
  };
4903
4924
  }
4904
- function Yo(e) {
4905
- let t, i, r, n, o, s, a, c, l, u = (
4925
+ function Jo(e) {
4926
+ let t, i, r, n, o, s, a, c, u, l = (
4906
4927
  /*multiplePeriods*/
4907
4928
  e[6] ? `${/*$_*/
4908
4929
  e[13]("amount")}` : `${/*$_*/
@@ -4910,59 +4931,59 @@ function Yo(e) {
4910
4931
  e[13](`gamingLimits.${/*selectedPeriod*/
4911
4932
  e[2]}`)} ${/*$_*/
4912
4933
  e[13]("limit")}`
4913
- ), h, f, m, p, _, R = (
4934
+ ), h, m, f, p, _, R = (
4914
4935
  /*$_*/
4915
4936
  e[13]("setLimit") + ""
4916
- ), P, L, w, H = te(
4937
+ ), S, L, w, O = te(
4917
4938
  /*availableLimits*/
4918
4939
  e[15]
4919
- ), A = [];
4920
- for (let E = 0; E < H.length; E += 1)
4921
- A[E] = si(ti(e, H, E));
4922
- let M = (
4940
+ ), P = [];
4941
+ for (let E = 0; E < O.length; E += 1)
4942
+ P[E] = ui(ri(e, O, E));
4943
+ let H = (
4923
4944
  /*multipleLimits*/
4924
- e[5] && ai(e)
4945
+ e[5] && li(e)
4925
4946
  ), D = (
4926
4947
  /*multiplePeriods*/
4927
- e[6] && ui(e)
4948
+ e[6] && hi(e)
4928
4949
  );
4929
4950
  return {
4930
4951
  c() {
4931
4952
  t = v("div"), i = v("div"), r = v("div");
4932
- for (let E = 0; E < A.length; E += 1)
4933
- A[E].c();
4934
- n = j(), o = v("form"), M && M.c(), s = j(), D && D.c(), a = j(), c = v("label"), l = v("span"), h = F(u), f = j(), m = v("input"), p = j(), _ = v("button"), P = F(R), g(r, "class", "LimitsList " + /*isDesktop*/
4935
- (e[14] ? "Desktop" : "")), g(l, "class", "LimitInputText"), g(c, "class", "LimitAmountInputWrapper"), g(m, "type", "number"), g(m, "pattern", "[0-9]*"), g(_, "class", "LimitSubmitButton"), g(_, "type", "button"), _.disabled = !0, g(o, "class", "LimitsInteractionArea " + /*isDesktop*/
4953
+ for (let E = 0; E < P.length; E += 1)
4954
+ P[E].c();
4955
+ n = U(), o = v("form"), H && H.c(), s = U(), D && D.c(), a = U(), c = v("label"), u = v("span"), h = $(l), m = U(), f = v("input"), p = U(), _ = v("button"), S = $(R), g(r, "class", "LimitsList " + /*isDesktop*/
4956
+ (e[14] ? "Desktop" : "")), g(u, "class", "LimitInputText"), g(c, "class", "LimitAmountInputWrapper"), g(f, "type", "number"), g(f, "pattern", "[0-9]*"), g(_, "class", "LimitSubmitButton"), g(_, "type", "button"), _.disabled = !0, g(o, "class", "LimitsInteractionArea " + /*isDesktop*/
4936
4957
  (e[14] ? "Desktop" : "")), g(i, "class", "LimitsPageContainer"), g(t, "class", "player-account-gaming-limits-page-2-gmcore");
4937
4958
  },
4938
4959
  m(E, G) {
4939
- N(E, t, G), d(t, i), d(i, r);
4940
- for (let k = 0; k < A.length; k += 1)
4941
- A[k] && A[k].m(r, null);
4942
- d(i, n), d(i, o), M && M.m(o, null), d(o, s), D && D.m(o, null), d(o, a), d(o, c), d(c, l), d(l, h), d(o, f), d(o, m), ve(
4943
- m,
4960
+ B(E, t, G), d(t, i), d(i, r);
4961
+ for (let M = 0; M < P.length; M += 1)
4962
+ P[M] && P[M].m(r, null);
4963
+ d(i, n), d(i, o), H && H.m(o, null), d(o, s), D && D.m(o, null), d(o, a), d(o, c), d(c, u), d(u, h), d(o, m), d(o, f), ye(
4964
+ f,
4944
4965
  /*inputAmount*/
4945
4966
  e[3]
4946
- ), d(o, p), d(o, _), d(_, P), e[35](_), L || (w = [
4947
- Y(
4948
- m,
4967
+ ), d(o, p), d(o, _), d(_, S), e[35](_), L || (w = [
4968
+ q(
4969
+ f,
4949
4970
  "input",
4950
4971
  /*input_input_handler*/
4951
4972
  e[34]
4952
4973
  ),
4953
- Y(
4954
- m,
4974
+ q(
4975
+ f,
4955
4976
  "keyup",
4956
4977
  /*updateInputValue*/
4957
4978
  e[18]
4958
4979
  ),
4959
- Y(
4980
+ q(
4960
4981
  _,
4961
4982
  "click",
4962
4983
  /*updateLimits*/
4963
4984
  e[17]
4964
4985
  ),
4965
- Y(
4986
+ q(
4966
4987
  o,
4967
4988
  "submit",
4968
4989
  /*updateLimits*/
@@ -4973,87 +4994,87 @@ function Yo(e) {
4973
4994
  p(E, G) {
4974
4995
  if (G[0] & /*isDesktop, availableLimits, removeLimit, $_*/
4975
4996
  581632) {
4976
- H = te(
4997
+ O = te(
4977
4998
  /*availableLimits*/
4978
4999
  E[15]
4979
5000
  );
4980
- let k;
4981
- for (k = 0; k < H.length; k += 1) {
4982
- const K = ti(E, H, k);
4983
- A[k] ? A[k].p(K, G) : (A[k] = si(K), A[k].c(), A[k].m(r, null));
5001
+ let M;
5002
+ for (M = 0; M < O.length; M += 1) {
5003
+ const K = ri(E, O, M);
5004
+ P[M] ? P[M].p(K, G) : (P[M] = ui(K), P[M].c(), P[M].m(r, null));
4984
5005
  }
4985
- for (; k < A.length; k += 1)
4986
- A[k].d(1);
4987
- A.length = H.length;
5006
+ for (; M < P.length; M += 1)
5007
+ P[M].d(1);
5008
+ P.length = O.length;
4988
5009
  }
4989
5010
  /*multipleLimits*/
4990
- E[5] ? M ? M.p(E, G) : (M = ai(E), M.c(), M.m(o, s)) : M && (M.d(1), M = null), /*multiplePeriods*/
4991
- E[6] ? D ? D.p(E, G) : (D = ui(E), D.c(), D.m(o, a)) : D && (D.d(1), D = null), G[0] & /*multiplePeriods, $_, selectedPeriod*/
4992
- 8260 && u !== (u = /*multiplePeriods*/
5011
+ E[5] ? H ? H.p(E, G) : (H = li(E), H.c(), H.m(o, s)) : H && (H.d(1), H = null), /*multiplePeriods*/
5012
+ E[6] ? D ? D.p(E, G) : (D = hi(E), D.c(), D.m(o, a)) : D && (D.d(1), D = null), G[0] & /*multiplePeriods, $_, selectedPeriod*/
5013
+ 8260 && l !== (l = /*multiplePeriods*/
4993
5014
  E[6] ? `${/*$_*/
4994
5015
  E[13]("amount")}` : `${/*$_*/
4995
5016
  E[13]("new")} ${/*$_*/
4996
5017
  E[13](`gamingLimits.${/*selectedPeriod*/
4997
5018
  E[2]}`)} ${/*$_*/
4998
- E[13]("limit")}`) && W(h, u), G[0] & /*inputAmount*/
4999
- 8 && pi(m.value) !== /*inputAmount*/
5000
- E[3] && ve(
5001
- m,
5019
+ E[13]("limit")}`) && W(h, l), G[0] & /*inputAmount*/
5020
+ 8 && bi(f.value) !== /*inputAmount*/
5021
+ E[3] && ye(
5022
+ f,
5002
5023
  /*inputAmount*/
5003
5024
  E[3]
5004
5025
  ), G[0] & /*$_*/
5005
5026
  8192 && R !== (R = /*$_*/
5006
- E[13]("setLimit") + "") && W(P, R);
5027
+ E[13]("setLimit") + "") && W(S, R);
5007
5028
  },
5008
5029
  d(E) {
5009
- E && B(t), Ce(A, E), M && M.d(), D && D.d(), e[35](null), L = !1, ie(w);
5030
+ E && A(t), De(P, E), H && H.d(), D && D.d(), e[35](null), L = !1, ie(w);
5010
5031
  }
5011
5032
  };
5012
5033
  }
5013
- function qo(e) {
5034
+ function Qo(e) {
5014
5035
  let t;
5015
5036
  return {
5016
5037
  c() {
5017
5038
  t = v("p"), t.textContent = "500 Server error";
5018
5039
  },
5019
5040
  m(i, r) {
5020
- N(i, t, r);
5041
+ B(i, t, r);
5021
5042
  },
5022
- p: U,
5043
+ p: j,
5023
5044
  d(i) {
5024
- i && B(t);
5045
+ i && A(t);
5025
5046
  }
5026
5047
  };
5027
5048
  }
5028
- function Jo(e) {
5029
- return { c: U, m: U, p: U, d: U };
5049
+ function Ko(e) {
5050
+ return { c: j, m: j, p: j, d: j };
5030
5051
  }
5031
- function Qo(e) {
5052
+ function es(e) {
5032
5053
  let t;
5033
5054
  return {
5034
5055
  c() {
5035
5056
  t = v("div"), g(t, "class", "LoadingIndicator");
5036
5057
  },
5037
5058
  m(i, r) {
5038
- N(i, t, r);
5059
+ B(i, t, r);
5039
5060
  },
5040
- p: U,
5061
+ p: j,
5041
5062
  d(i) {
5042
- i && B(t);
5063
+ i && A(t);
5043
5064
  }
5044
5065
  };
5045
5066
  }
5046
- function Ko(e) {
5067
+ function ts(e) {
5047
5068
  let t, i, r, n = (
5048
5069
  /*$_*/
5049
5070
  e[13]("noLimitText") + ""
5050
5071
  ), o;
5051
5072
  return {
5052
5073
  c() {
5053
- t = v("div"), i = v("div"), r = v("div"), o = F(n), g(r, "class", "LimitDetailsTextWrapper"), g(i, "class", "LimitDetailsWrapper"), g(t, "class", "LimitDetails");
5074
+ t = v("div"), i = v("div"), r = v("div"), o = $(n), g(r, "class", "LimitDetailsTextWrapper"), g(i, "class", "LimitDetailsWrapper"), g(t, "class", "LimitDetails");
5054
5075
  },
5055
5076
  m(s, a) {
5056
- N(s, t, a), d(t, i), d(i, r), d(r, o);
5077
+ B(s, t, a), d(t, i), d(i, r), d(r, o);
5057
5078
  },
5058
5079
  p(s, a) {
5059
5080
  a[0] & /*$_*/
@@ -5061,27 +5082,27 @@ function Ko(e) {
5061
5082
  s[13]("noLimitText") + "") && W(o, n);
5062
5083
  },
5063
5084
  d(s) {
5064
- s && B(t);
5085
+ s && A(t);
5065
5086
  }
5066
5087
  };
5067
5088
  }
5068
- function es(e) {
5089
+ function is(e) {
5069
5090
  let t, i = te(
5070
5091
  /*limit*/
5071
5092
  e[53].currentLimits
5072
5093
  ), r = [];
5073
5094
  for (let n = 0; n < i.length; n += 1)
5074
- r[n] = oi(ii(e, i, n));
5095
+ r[n] = ai(ni(e, i, n));
5075
5096
  return {
5076
5097
  c() {
5077
5098
  for (let n = 0; n < r.length; n += 1)
5078
5099
  r[n].c();
5079
- t = _r();
5100
+ t = Er();
5080
5101
  },
5081
5102
  m(n, o) {
5082
5103
  for (let s = 0; s < r.length; s += 1)
5083
5104
  r[s] && r[s].m(n, o);
5084
- N(n, t, o);
5105
+ B(n, t, o);
5085
5106
  },
5086
5107
  p(n, o) {
5087
5108
  if (o[0] & /*removeLimit, availableLimits, $_*/
@@ -5092,8 +5113,8 @@ function es(e) {
5092
5113
  );
5093
5114
  let s;
5094
5115
  for (s = 0; s < i.length; s += 1) {
5095
- const a = ii(n, i, s);
5096
- r[s] ? r[s].p(a, o) : (r[s] = oi(a), r[s].c(), r[s].m(t.parentNode, t));
5116
+ const a = ni(n, i, s);
5117
+ r[s] ? r[s].p(a, o) : (r[s] = ai(a), r[s].c(), r[s].m(t.parentNode, t));
5097
5118
  }
5098
5119
  for (; s < r.length; s += 1)
5099
5120
  r[s].d(1);
@@ -5101,20 +5122,20 @@ function es(e) {
5101
5122
  }
5102
5123
  },
5103
5124
  d(n) {
5104
- n && B(t), Ce(r, n);
5125
+ n && A(t), De(r, n);
5105
5126
  }
5106
5127
  };
5107
5128
  }
5108
- function ts(e) {
5129
+ function rs(e) {
5109
5130
  let t, i = `${/*$_*/
5110
5131
  e[13]("removedLimitText")} ${/*currentLimit*/
5111
5132
  e[58].expiryDate}`, r;
5112
5133
  return {
5113
5134
  c() {
5114
- t = v("div"), r = F(i), g(t, "class", "PendingLimit");
5135
+ t = v("div"), r = $(i), g(t, "class", "PendingLimit");
5115
5136
  },
5116
5137
  m(n, o) {
5117
- N(n, t, o), d(t, r);
5138
+ B(n, t, o), d(t, r);
5118
5139
  },
5119
5140
  p(n, o) {
5120
5141
  o[0] & /*$_*/
@@ -5123,11 +5144,11 @@ function ts(e) {
5123
5144
  n[58].expiryDate}`) && W(r, i);
5124
5145
  },
5125
5146
  d(n) {
5126
- n && B(t);
5147
+ n && A(t);
5127
5148
  }
5128
5149
  };
5129
5150
  }
5130
- function is(e) {
5151
+ function ns(e) {
5131
5152
  let t, i = `${/*currentLimit*/
5132
5153
  e[58].updateAmount}${/*currentLimit*/
5133
5154
  e[58].currency} ${/*$_*/
@@ -5137,10 +5158,10 @@ function is(e) {
5137
5158
  e[58].expiryDate}`, r;
5138
5159
  return {
5139
5160
  c() {
5140
- t = v("div"), r = F(i), g(t, "class", "PendingLimit");
5161
+ t = v("div"), r = $(i), g(t, "class", "PendingLimit");
5141
5162
  },
5142
5163
  m(n, o) {
5143
- N(n, t, o), d(t, r);
5164
+ B(n, t, o), d(t, r);
5144
5165
  },
5145
5166
  p(n, o) {
5146
5167
  o[0] & /*$_*/
@@ -5153,11 +5174,11 @@ function is(e) {
5153
5174
  n[58].expiryDate}`) && W(r, i);
5154
5175
  },
5155
5176
  d(n) {
5156
- n && B(t);
5177
+ n && A(t);
5157
5178
  }
5158
5179
  };
5159
5180
  }
5160
- function rs(e) {
5181
+ function os(e) {
5161
5182
  let t, i = (
5162
5183
  /*$_*/
5163
5184
  e[13]("gamingLimits.removeLimit") + ""
@@ -5173,10 +5194,10 @@ function rs(e) {
5173
5194
  }
5174
5195
  return {
5175
5196
  c() {
5176
- t = v("button"), r = F(i), g(t, "class", "RemoveLimitButton");
5197
+ t = v("button"), r = $(i), g(t, "class", "RemoveLimitButton");
5177
5198
  },
5178
5199
  m(a, c) {
5179
- N(a, t, c), d(t, r), n || (o = Y(t, "click", s), n = !0);
5200
+ B(a, t, c), d(t, r), n || (o = q(t, "click", s), n = !0);
5180
5201
  },
5181
5202
  p(a, c) {
5182
5203
  e = a, c[0] & /*$_*/
@@ -5184,122 +5205,122 @@ function rs(e) {
5184
5205
  e[13]("gamingLimits.removeLimit") + "") && W(r, i);
5185
5206
  },
5186
5207
  d(a) {
5187
- a && B(t), n = !1, o();
5208
+ a && A(t), n = !1, o();
5188
5209
  }
5189
5210
  };
5190
5211
  }
5191
- function oi(e) {
5212
+ function ai(e) {
5192
5213
  let t, i, r, n = `${/*currentLimit*/
5193
5214
  e[58].amount}${/*currentLimit*/
5194
5215
  e[58].currency} ${/*$_*/
5195
5216
  e[13](`gamingLimits.${/*currentLimit*/
5196
5217
  e[58].period}`)}`, o, s, a, c;
5197
- function l(m, p) {
5218
+ function u(f, p) {
5198
5219
  if (
5199
5220
  /*currentLimit*/
5200
- m[58].isModified && /*currentLimit*/
5201
- m[58].updateAmount != "-1"
5221
+ f[58].isModified && /*currentLimit*/
5222
+ f[58].updateAmount != "-1"
5202
5223
  )
5203
- return is;
5224
+ return ns;
5204
5225
  if (
5205
5226
  /*currentLimit*/
5206
- m[58].isModified
5227
+ f[58].isModified
5207
5228
  )
5208
- return ts;
5229
+ return rs;
5209
5230
  }
5210
- let u = l(e), h = u && u(e), f = !/*currentLimit*/
5211
- e[58].isModified && rs(e);
5231
+ let l = u(e), h = l && l(e), m = !/*currentLimit*/
5232
+ e[58].isModified && os(e);
5212
5233
  return {
5213
5234
  c() {
5214
- t = v("div"), i = v("div"), r = v("div"), o = F(n), s = j(), h && h.c(), a = j(), f && f.c(), c = j(), g(r, "class", "CurrentLimit"), g(i, "class", "LimitDetailsTextWrapper"), g(t, "class", "LimitDetails");
5235
+ t = v("div"), i = v("div"), r = v("div"), o = $(n), s = U(), h && h.c(), a = U(), m && m.c(), c = U(), g(r, "class", "CurrentLimit"), g(i, "class", "LimitDetailsTextWrapper"), g(t, "class", "LimitDetails");
5215
5236
  },
5216
- m(m, p) {
5217
- N(m, t, p), d(t, i), d(i, r), d(r, o), d(i, s), h && h.m(i, null), d(t, a), f && f.m(t, null), d(t, c);
5237
+ m(f, p) {
5238
+ B(f, t, p), d(t, i), d(i, r), d(r, o), d(i, s), h && h.m(i, null), d(t, a), m && m.m(t, null), d(t, c);
5218
5239
  },
5219
- p(m, p) {
5240
+ p(f, p) {
5220
5241
  p[0] & /*$_*/
5221
5242
  8192 && n !== (n = `${/*currentLimit*/
5222
- m[58].amount}${/*currentLimit*/
5223
- m[58].currency} ${/*$_*/
5224
- m[13](`gamingLimits.${/*currentLimit*/
5225
- m[58].period}`)}`) && W(o, n), h && h.p(m, p), /*currentLimit*/
5226
- m[58].isModified || f.p(m, p);
5243
+ f[58].amount}${/*currentLimit*/
5244
+ f[58].currency} ${/*$_*/
5245
+ f[13](`gamingLimits.${/*currentLimit*/
5246
+ f[58].period}`)}`) && W(o, n), h && h.p(f, p), /*currentLimit*/
5247
+ f[58].isModified || m.p(f, p);
5227
5248
  },
5228
- d(m) {
5229
- m && B(t), h && h.d(), f && f.d();
5249
+ d(f) {
5250
+ f && A(t), h && h.d(), m && m.d();
5230
5251
  }
5231
5252
  };
5232
5253
  }
5233
- function si(e) {
5254
+ function ui(e) {
5234
5255
  let t, i, r = (
5235
5256
  /*$_*/
5236
5257
  e[13](`gamingLimits.${/*limit*/
5237
5258
  e[53].value}`) + ""
5238
5259
  ), n, o, s;
5239
- function a(u, h) {
5260
+ function a(l, h) {
5240
5261
  return (
5241
5262
  /*limit*/
5242
- u[53].currentLimits.length > 0 ? es : Ko
5263
+ l[53].currentLimits.length > 0 ? is : ts
5243
5264
  );
5244
5265
  }
5245
- let l = a(e)(e);
5266
+ let u = a(e)(e);
5246
5267
  return {
5247
5268
  c() {
5248
- t = v("div"), i = v("p"), n = F(r), o = j(), l.c(), s = j(), g(i, "class", "LimitTitle"), g(t, "class", "LimitWrapper " + /*isDesktop*/
5269
+ t = v("div"), i = v("p"), n = $(r), o = U(), u.c(), s = U(), g(i, "class", "LimitTitle"), g(t, "class", "LimitWrapper " + /*isDesktop*/
5249
5270
  (e[14] ? "Desktop" : ""));
5250
5271
  },
5251
- m(u, h) {
5252
- N(u, t, h), d(t, i), d(i, n), d(t, o), l.m(t, null), d(t, s);
5272
+ m(l, h) {
5273
+ B(l, t, h), d(t, i), d(i, n), d(t, o), u.m(t, null), d(t, s);
5253
5274
  },
5254
- p(u, h) {
5275
+ p(l, h) {
5255
5276
  h[0] & /*$_*/
5256
5277
  8192 && r !== (r = /*$_*/
5257
- u[13](`gamingLimits.${/*limit*/
5258
- u[53].value}`) + "") && W(n, r), l.p(u, h);
5278
+ l[13](`gamingLimits.${/*limit*/
5279
+ l[53].value}`) + "") && W(n, r), u.p(l, h);
5259
5280
  },
5260
- d(u) {
5261
- u && B(t), l.d();
5281
+ d(l) {
5282
+ l && A(t), u.d();
5262
5283
  }
5263
5284
  };
5264
5285
  }
5265
- function ai(e) {
5286
+ function li(e) {
5266
5287
  let t, i, r = (
5267
5288
  /*$_*/
5268
5289
  e[13]("limitType") + ""
5269
- ), n, o, s, a, c, l = te(
5290
+ ), n, o, s, a, c, u = te(
5270
5291
  /*availableLimits*/
5271
5292
  e[15]
5272
- ), u = [];
5273
- for (let h = 0; h < l.length; h += 1)
5274
- u[h] = li(ei(e, l, h));
5293
+ ), l = [];
5294
+ for (let h = 0; h < u.length; h += 1)
5295
+ l[h] = ci(ii(e, u, h));
5275
5296
  return {
5276
5297
  c() {
5277
- t = v("label"), i = v("span"), n = F(r), o = j(), s = v("select");
5278
- for (let h = 0; h < u.length; h += 1)
5279
- u[h].c();
5298
+ t = v("label"), i = v("span"), n = $(r), o = U(), s = v("select");
5299
+ for (let h = 0; h < l.length; h += 1)
5300
+ l[h].c();
5280
5301
  g(i, "class", "LimitSelectText"), g(s, "name", ""), g(s, "id", ""), /*selectedLimit*/
5281
- e[1] === void 0 && Ee(() => (
5302
+ e[1] === void 0 && _e(() => (
5282
5303
  /*select_change_handler*/
5283
5304
  e[32].call(s)
5284
5305
  )), g(t, "class", "LimitTypeDropdownWrapper");
5285
5306
  },
5286
- m(h, f) {
5287
- N(h, t, f), d(t, i), d(i, n), d(t, o), d(t, s);
5288
- for (let m = 0; m < u.length; m += 1)
5289
- u[m] && u[m].m(s, null);
5290
- He(
5307
+ m(h, m) {
5308
+ B(h, t, m), d(t, i), d(i, n), d(t, o), d(t, s);
5309
+ for (let f = 0; f < l.length; f += 1)
5310
+ l[f] && l[f].m(s, null);
5311
+ Ie(
5291
5312
  s,
5292
5313
  /*selectedLimit*/
5293
5314
  e[1],
5294
5315
  !0
5295
5316
  ), a || (c = [
5296
- Y(
5317
+ q(
5297
5318
  s,
5298
5319
  "change",
5299
5320
  /*select_change_handler*/
5300
5321
  e[32]
5301
5322
  ),
5302
- Y(
5323
+ q(
5303
5324
  s,
5304
5325
  "change",
5305
5326
  /*updateLimitSelection*/
@@ -5307,123 +5328,123 @@ function ai(e) {
5307
5328
  )
5308
5329
  ], a = !0);
5309
5330
  },
5310
- p(h, f) {
5311
- if (f[0] & /*$_*/
5331
+ p(h, m) {
5332
+ if (m[0] & /*$_*/
5312
5333
  8192 && r !== (r = /*$_*/
5313
- h[13]("limitType") + "") && W(n, r), f[0] & /*availableLimits*/
5334
+ h[13]("limitType") + "") && W(n, r), m[0] & /*availableLimits*/
5314
5335
  32768) {
5315
- l = te(
5336
+ u = te(
5316
5337
  /*availableLimits*/
5317
5338
  h[15]
5318
5339
  );
5319
- let m;
5320
- for (m = 0; m < l.length; m += 1) {
5321
- const p = ei(h, l, m);
5322
- u[m] ? u[m].p(p, f) : (u[m] = li(p), u[m].c(), u[m].m(s, null));
5340
+ let f;
5341
+ for (f = 0; f < u.length; f += 1) {
5342
+ const p = ii(h, u, f);
5343
+ l[f] ? l[f].p(p, m) : (l[f] = ci(p), l[f].c(), l[f].m(s, null));
5323
5344
  }
5324
- for (; m < u.length; m += 1)
5325
- u[m].d(1);
5326
- u.length = l.length;
5345
+ for (; f < l.length; f += 1)
5346
+ l[f].d(1);
5347
+ l.length = u.length;
5327
5348
  }
5328
- f[0] & /*selectedLimit, availableLimits*/
5329
- 32770 && He(
5349
+ m[0] & /*selectedLimit, availableLimits*/
5350
+ 32770 && Ie(
5330
5351
  s,
5331
5352
  /*selectedLimit*/
5332
5353
  h[1]
5333
5354
  );
5334
5355
  },
5335
5356
  d(h) {
5336
- h && B(t), Ce(u, h), a = !1, ie(c);
5357
+ h && A(t), De(l, h), a = !1, ie(c);
5337
5358
  }
5338
5359
  };
5339
5360
  }
5340
- function li(e) {
5361
+ function ci(e) {
5341
5362
  let t, i = (
5342
5363
  /*limit*/
5343
5364
  e[53].title + ""
5344
5365
  ), r;
5345
5366
  return {
5346
5367
  c() {
5347
- t = v("option"), r = F(i), t.__value = /*limit*/
5348
- e[53].value, ve(t, t.__value);
5368
+ t = v("option"), r = $(i), t.__value = /*limit*/
5369
+ e[53].value, ye(t, t.__value);
5349
5370
  },
5350
5371
  m(n, o) {
5351
- N(n, t, o), d(t, r);
5372
+ B(n, t, o), d(t, r);
5352
5373
  },
5353
- p: U,
5374
+ p: j,
5354
5375
  d(n) {
5355
- n && B(t);
5376
+ n && A(t);
5356
5377
  }
5357
5378
  };
5358
5379
  }
5359
- function ui(e) {
5380
+ function hi(e) {
5360
5381
  let t, i, r = (
5361
5382
  /*$_*/
5362
5383
  e[13]("period") + ""
5363
- ), n, o, s, a, c, l = te(Z[
5384
+ ), n, o, s, a, c, u = te(Z[
5364
5385
  /*selectedLimit*/
5365
5386
  e[1]
5366
- ].periods), u = [];
5367
- for (let h = 0; h < l.length; h += 1)
5368
- u[h] = ci(Kt(e, l, h));
5387
+ ].periods), l = [];
5388
+ for (let h = 0; h < u.length; h += 1)
5389
+ l[h] = fi(ti(e, u, h));
5369
5390
  return {
5370
5391
  c() {
5371
- t = v("label"), i = v("span"), n = F(r), o = j(), s = v("select");
5372
- for (let h = 0; h < u.length; h += 1)
5373
- u[h].c();
5392
+ t = v("label"), i = v("span"), n = $(r), o = U(), s = v("select");
5393
+ for (let h = 0; h < l.length; h += 1)
5394
+ l[h].c();
5374
5395
  g(i, "class", "PeriodSelectText"), g(t, "class", "LimitPeriodDropdownWrapper"), g(s, "name", ""), g(s, "id", ""), /*selectedPeriod*/
5375
- e[2] === void 0 && Ee(() => (
5396
+ e[2] === void 0 && _e(() => (
5376
5397
  /*select_change_handler_1*/
5377
5398
  e[33].call(s)
5378
5399
  ));
5379
5400
  },
5380
- m(h, f) {
5381
- N(h, t, f), d(t, i), d(i, n), N(h, o, f), N(h, s, f);
5382
- for (let m = 0; m < u.length; m += 1)
5383
- u[m] && u[m].m(s, null);
5384
- He(
5401
+ m(h, m) {
5402
+ B(h, t, m), d(t, i), d(i, n), B(h, o, m), B(h, s, m);
5403
+ for (let f = 0; f < l.length; f += 1)
5404
+ l[f] && l[f].m(s, null);
5405
+ Ie(
5385
5406
  s,
5386
5407
  /*selectedPeriod*/
5387
5408
  e[2],
5388
5409
  !0
5389
- ), a || (c = Y(
5410
+ ), a || (c = q(
5390
5411
  s,
5391
5412
  "change",
5392
5413
  /*select_change_handler_1*/
5393
5414
  e[33]
5394
5415
  ), a = !0);
5395
5416
  },
5396
- p(h, f) {
5397
- if (f[0] & /*$_*/
5417
+ p(h, m) {
5418
+ if (m[0] & /*$_*/
5398
5419
  8192 && r !== (r = /*$_*/
5399
- h[13]("period") + "") && W(n, r), f[0] & /*selectedLimit, $_*/
5420
+ h[13]("period") + "") && W(n, r), m[0] & /*selectedLimit, $_*/
5400
5421
  8194) {
5401
- l = te(Z[
5422
+ u = te(Z[
5402
5423
  /*selectedLimit*/
5403
5424
  h[1]
5404
5425
  ].periods);
5405
- let m;
5406
- for (m = 0; m < l.length; m += 1) {
5407
- const p = Kt(h, l, m);
5408
- u[m] ? u[m].p(p, f) : (u[m] = ci(p), u[m].c(), u[m].m(s, null));
5426
+ let f;
5427
+ for (f = 0; f < u.length; f += 1) {
5428
+ const p = ti(h, u, f);
5429
+ l[f] ? l[f].p(p, m) : (l[f] = fi(p), l[f].c(), l[f].m(s, null));
5409
5430
  }
5410
- for (; m < u.length; m += 1)
5411
- u[m].d(1);
5412
- u.length = l.length;
5431
+ for (; f < l.length; f += 1)
5432
+ l[f].d(1);
5433
+ l.length = u.length;
5413
5434
  }
5414
- f[0] & /*selectedPeriod, selectedLimit*/
5415
- 6 && He(
5435
+ m[0] & /*selectedPeriod, selectedLimit*/
5436
+ 6 && Ie(
5416
5437
  s,
5417
5438
  /*selectedPeriod*/
5418
5439
  h[2]
5419
5440
  );
5420
5441
  },
5421
5442
  d(h) {
5422
- h && (B(t), B(o), B(s)), Ce(u, h), a = !1, c();
5443
+ h && (A(t), A(o), A(s)), De(l, h), a = !1, c();
5423
5444
  }
5424
5445
  };
5425
5446
  }
5426
- function ci(e) {
5447
+ function fi(e) {
5427
5448
  let t, i = (
5428
5449
  /*$_*/
5429
5450
  e[13](`gamingLimits.${/*period*/
@@ -5431,11 +5452,11 @@ function ci(e) {
5431
5452
  ), r, n;
5432
5453
  return {
5433
5454
  c() {
5434
- t = v("option"), r = F(i), t.__value = n = /*period*/
5435
- e[50], ve(t, t.__value), t.selected = !0;
5455
+ t = v("option"), r = $(i), t.__value = n = /*period*/
5456
+ e[50], ye(t, t.__value), t.selected = !0;
5436
5457
  },
5437
5458
  m(o, s) {
5438
- N(o, t, s), d(t, r);
5459
+ B(o, t, s), d(t, r);
5439
5460
  },
5440
5461
  p(o, s) {
5441
5462
  s[0] & /*$_, selectedLimit*/
@@ -5443,27 +5464,27 @@ function ci(e) {
5443
5464
  o[13](`gamingLimits.${/*period*/
5444
5465
  o[50]}`) + "") && W(r, i), s[0] & /*selectedLimit, availableLimits*/
5445
5466
  32770 && n !== (n = /*period*/
5446
- o[50]) && (t.__value = n, ve(t, t.__value));
5467
+ o[50]) && (t.__value = n, ye(t, t.__value));
5447
5468
  },
5448
5469
  d(o) {
5449
- o && B(t);
5470
+ o && A(t);
5450
5471
  }
5451
5472
  };
5452
5473
  }
5453
- function ns(e) {
5474
+ function ss(e) {
5454
5475
  let t, i, r = (
5455
5476
  /*popupVisible*/
5456
- e[10] && ri(e)
5477
+ e[10] && oi(e)
5457
5478
  );
5458
5479
  function n(a, c) {
5459
5480
  return (
5460
5481
  /*isLoading*/
5461
5482
  a[7] && !/*popupVisible*/
5462
- a[10] ? Qo : (
5483
+ a[10] ? es : (
5463
5484
  /*isLoading*/
5464
- a[7] ? Jo : (
5485
+ a[7] ? Ko : (
5465
5486
  /*fetchError*/
5466
- a[8] ? qo : Yo
5487
+ a[8] ? Qo : Jo
5467
5488
  )
5468
5489
  )
5469
5490
  );
@@ -5471,60 +5492,60 @@ function ns(e) {
5471
5492
  let o = n(e), s = o(e);
5472
5493
  return {
5473
5494
  c() {
5474
- t = v("div"), r && r.c(), i = j(), s.c();
5495
+ t = v("div"), r && r.c(), i = U(), s.c();
5475
5496
  },
5476
5497
  m(a, c) {
5477
- N(a, t, c), r && r.m(t, null), d(t, i), s.m(t, null), e[36](t);
5498
+ B(a, t, c), r && r.m(t, null), d(t, i), s.m(t, null), e[36](t);
5478
5499
  },
5479
5500
  p(a, c) {
5480
5501
  /*popupVisible*/
5481
- a[10] ? r ? r.p(a, c) : (r = ri(a), r.c(), r.m(t, i)) : r && (r.d(1), r = null), o === (o = n(a)) && s ? s.p(a, c) : (s.d(1), s = o(a), s && (s.c(), s.m(t, null)));
5502
+ a[10] ? r ? r.p(a, c) : (r = oi(a), r.c(), r.m(t, i)) : r && (r.d(1), r = null), o === (o = n(a)) && s ? s.p(a, c) : (s.d(1), s = o(a), s && (s.c(), s.m(t, null)));
5482
5503
  },
5483
- i: U,
5484
- o: U,
5504
+ i: j,
5505
+ o: j,
5485
5506
  d(a) {
5486
- a && B(t), r && r.d(), s.d(), e[36](null);
5507
+ a && A(t), r && r.d(), s.d(), e[36](null);
5487
5508
  }
5488
5509
  };
5489
5510
  }
5490
- function os(e, t, i) {
5511
+ function as(e, t, i) {
5491
5512
  let r;
5492
- br(e, So, (b) => i(13, r = b));
5493
- let { lang: n = "en" } = t, { currency: o = "" } = t, { limits: s = "" } = t, { session: a = "" } = t, { userid: c = "" } = t, { endpoint: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: f = "" } = t, { mbsource: m } = t, p, _ = window.navigator.userAgent, R = !$o(_), P = [], L = "", w = "", H, A, M = !1, D = !1, E = !0, G = !1, k = !1, K = !1, $e = !1, Ge = "", we;
5494
- const _t = { EUR: "€", RON: " lei" }, Xi = {
5513
+ gr(e, Ao, (b) => i(13, r = b));
5514
+ let { lang: n = "en" } = t, { currency: o = "" } = t, { limits: s = "" } = t, { session: a = "" } = t, { userid: c = "" } = t, { endpoint: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: m = "" } = t, { mbsource: f } = t, p, _ = window.navigator.userAgent, R = !zo(_), S = [], L = "", w = "", O, P, H = !1, D = !1, E = !0, G = !1, M = !1, K = !1, ze = !1, We = "", we;
5515
+ const Lt = { EUR: "€", RON: " lei" }, Zi = {
5495
5516
  updatePendingError: ["SYS_1037", "SYS_1142", "SYS_1140"]
5496
- }, Zi = () => {
5497
- fetch(f).then((y) => y.json()).then((y) => {
5498
- Object.keys(y).forEach((I) => {
5499
- zt(I, y[I]);
5517
+ }, Yi = () => {
5518
+ fetch(m).then((y) => y.json()).then((y) => {
5519
+ Object.keys(y).forEach((N) => {
5520
+ Vt(N, y[N]);
5500
5521
  });
5501
5522
  }).catch((y) => {
5502
5523
  console.log(y);
5503
5524
  });
5504
5525
  };
5505
- Object.keys(Wt).forEach((b) => {
5506
- zt(b, Wt[b]);
5526
+ Object.keys(Xt).forEach((b) => {
5527
+ Vt(b, Xt[b]);
5507
5528
  });
5508
- const Yi = () => {
5529
+ const qi = () => {
5509
5530
  s.split(" ").forEach((y) => {
5510
- Z[y] ? P.push(Z[y]) : console.error(`Unknown limit: ${y}`);
5511
- }), i(1, L = P[0].value), i(2, w = Z[L].periods[0]), i(5, M = P.length > 1), i(6, D = Z[L].periods.length > 1);
5512
- }, qi = () => {
5513
- i(2, w = Z[L].periods[0]), i(6, D = Z[L].periods.length > 1);
5531
+ Z[y] ? S.push(Z[y]) : console.error(`Unknown limit: ${y}`);
5532
+ }), i(1, L = S[0].value), i(2, w = Z[L].periods[0]), i(5, H = S.length > 1), i(6, D = Z[L].periods.length > 1);
5514
5533
  }, Ji = () => {
5515
- if (!(H > 0))
5534
+ i(2, w = Z[L].periods[0]), i(6, D = Z[L].periods.length > 1);
5535
+ }, Qi = () => {
5536
+ if (!(O > 0))
5516
5537
  return;
5517
5538
  i(10, K = !0), i(7, E = !0);
5518
- let b = new URL(`/v2/player/${c}/limits`, l);
5539
+ let b = new URL(`/v2/player/${c}/limits`, u);
5519
5540
  const y = {};
5520
5541
  y[Z[L].callValue] = [
5521
5542
  {
5522
5543
  period: w,
5523
- amount: H,
5544
+ amount: O,
5524
5545
  currency: o
5525
5546
  }
5526
5547
  ];
5527
- let I = {
5548
+ let N = {
5528
5549
  method: "PUT",
5529
5550
  headers: {
5530
5551
  "X-SessionID": a,
@@ -5533,20 +5554,20 @@ function os(e, t, i) {
5533
5554
  },
5534
5555
  body: JSON.stringify(y)
5535
5556
  };
5536
- fetch(b.href, I).then((C) => (C.status >= 300 && i(9, k = !0), C.json())).then((C) => {
5537
- ze(), k && Qi(C);
5538
- }).catch((C) => {
5539
- console.log(C), i(7, E = !1), i(8, G = !0);
5557
+ fetch(b.href, N).then((k) => (k.status >= 300 && i(9, M = !0), k.json())).then((k) => {
5558
+ Ve(), M && Ki(k);
5559
+ }).catch((k) => {
5560
+ console.log(k), i(7, E = !1), i(8, G = !0);
5540
5561
  });
5541
- }, Qi = (b) => {
5562
+ }, Ki = (b) => {
5542
5563
  const y = b.error.match(/errorCode:(.*)\)/)[1];
5543
5564
  console.error(`API response error: ${y}`);
5544
- let I;
5545
- for (const [C, $] of Object.entries(Xi))
5546
- $.includes(y) && (I = r(`gamingLimits.${C}`));
5547
- I = I != null ? I : r("gamingLimits.genericError"), Et(y, I);
5548
- }, ze = () => {
5549
- let b = new URL(`/v2/player/${c}/limits`, l), y = !k, I = {
5565
+ let N;
5566
+ for (const [k, F] of Object.entries(Zi))
5567
+ F.includes(y) && (N = r(`gamingLimits.${k}`));
5568
+ N = N != null ? N : r("gamingLimits.genericError"), xt(y, N);
5569
+ }, Ve = () => {
5570
+ let b = new URL(`/v2/player/${c}/limits`, u), y = !M, N = {
5550
5571
  method: "GET",
5551
5572
  headers: {
5552
5573
  "X-SessionID": a,
@@ -5554,49 +5575,49 @@ function os(e, t, i) {
5554
5575
  Accept: "application/json"
5555
5576
  }
5556
5577
  };
5557
- fetch(b.href, I).then((C) => {
5558
- if (C.status >= 300)
5578
+ fetch(b.href, N).then((k) => {
5579
+ if (k.status >= 300)
5559
5580
  throw i(7, E = !1), i(8, G = !0), new Error("There was an error fetching the limits");
5560
- return C.json();
5561
- }).then((C) => {
5562
- we = C, K && y && Et(), Ki(we), i(7, E = !1), i(3, H = null);
5563
- }).catch((C) => {
5564
- console.log(C), i(7, E = !1), i(8, G = !0);
5565
- });
5566
- }, Ki = (b) => {
5567
- P.forEach((y) => {
5568
- var I;
5569
- y.currentLimits = [], (I = b[Z[y.value].callValue]) == null || I.forEach((C, $) => {
5570
- var xt;
5571
- const q = b[Z[y.value].callValue][$];
5572
- y.currentLimits.push({}), y.currentLimits[$].limitType = y.value, y.currentLimits[$].amount = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(q.amount), y.currentLimits[$].currency = (xt = _t[q.currency]) != null ? xt : q.currency, y.currentLimits[$].period = q.period, y.currentLimits[$].updateAmount = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(q.updateAmount), y.currentLimits[$].isModified = q.isModified, y.currentLimits[$].expiryDate = `${new Date(q.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)`;
5573
- }), y.currentLimits = er(y.currentLimits);
5581
+ return k.json();
5582
+ }).then((k) => {
5583
+ we = k, K && y && xt(), er(we), i(7, E = !1), i(3, O = null);
5584
+ }).catch((k) => {
5585
+ console.log(k), i(7, E = !1), i(8, G = !0);
5574
5586
  });
5575
5587
  }, er = (b) => {
5588
+ S.forEach((y) => {
5589
+ var N;
5590
+ y.currentLimits = [], (N = b[Z[y.value].callValue]) == null || N.forEach((k, F) => {
5591
+ var wt;
5592
+ const J = b[Z[y.value].callValue][F];
5593
+ y.currentLimits.push({}), y.currentLimits[F].limitType = y.value, y.currentLimits[F].amount = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(J.amount), y.currentLimits[F].currency = (wt = Lt[J.currency]) != null ? wt : J.currency, y.currentLimits[F].period = J.period, y.currentLimits[F].updateAmount = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(J.updateAmount), y.currentLimits[F].isModified = J.isModified, y.currentLimits[F].expiryDate = `${new Date(J.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)`;
5594
+ }), y.currentLimits = tr(y.currentLimits);
5595
+ });
5596
+ }, tr = (b) => {
5576
5597
  const y = { Daily: 0, Weekly: 1, Monthly: 2 };
5577
- return b.sort((I, C) => y[I.period] - y[C.period]), b;
5578
- }, tr = () => {
5579
- H > 999999999999999 && i(3, H = 999999999999999);
5580
- const y = H - Math.floor(H) === 0;
5581
- H > 0 && y ? A.removeAttribute("disabled") : A.setAttribute("disabled", "true");
5582
- }, Et = (b, y) => {
5598
+ return b.sort((N, k) => y[N.period] - y[k.period]), b;
5599
+ }, ir = () => {
5600
+ O > 999999999999999 && i(3, O = 999999999999999);
5601
+ const y = O - Math.floor(O) === 0;
5602
+ O > 0 && y ? P.removeAttribute("disabled") : P.setAttribute("disabled", "true");
5603
+ }, xt = (b, y) => {
5583
5604
  if (b)
5584
- i(12, Ge = y);
5605
+ i(12, We = y);
5585
5606
  else if (we) {
5586
- const I = we[Z[L].callValue].filter((q) => q.period === w)[0], C = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(I.amount);
5587
- let $ = r("gamingLimits.popupImmediateUpdate").replace("{selectedLimit}", r(`gamingLimits.${L}`).toLowerCase()).replace("{updatedAmount}", C).replace("{currency}", _t[I.currency] || I.currency).replace("{selectedPeriod}", r(`gamingLimits.${w}`).toLowerCase());
5588
- i(12, Ge = I.isModified ? `${r("popupPendingUpdate")} ${new Date(I.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` : $);
5607
+ const N = we[Z[L].callValue].filter((J) => J.period === w)[0], k = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(N.amount);
5608
+ let F = r("gamingLimits.popupImmediateUpdate").replace("{selectedLimit}", r(`gamingLimits.${L}`).toLowerCase()).replace("{updatedAmount}", k).replace("{currency}", Lt[N.currency] || N.currency).replace("{selectedPeriod}", r(`gamingLimits.${w}`).toLowerCase());
5609
+ i(12, We = N.isModified ? `${r("popupPendingUpdate")} ${new Date(N.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` : F);
5589
5610
  } else
5590
5611
  console.error("Couldn't populate popupContent");
5591
- i(11, $e = !0);
5592
- }, Lt = (b) => {
5612
+ i(11, ze = !0);
5613
+ }, Tt = (b) => {
5593
5614
  const y = {
5594
5615
  wager: "wagering",
5595
5616
  loss: "loss",
5596
5617
  deposit: "deposit"
5597
5618
  };
5598
5619
  i(10, K = !0), i(7, E = !0);
5599
- let I = new URL(`/v2/player/${c}/limits/${y[b.limitType]}?periods=${b.period}`, l), C = {
5620
+ let N = new URL(`/v2/player/${c}/limits/${y[b.limitType]}?periods=${b.period}`, u), k = {
5600
5621
  method: "DELETE",
5601
5622
  headers: {
5602
5623
  "X-SessionID": a,
@@ -5604,97 +5625,97 @@ function os(e, t, i) {
5604
5625
  Accept: "application/json"
5605
5626
  }
5606
5627
  };
5607
- fetch(I.href, C).then(($) => $.json()).then(($) => {
5608
- ze();
5609
- }).catch(($) => {
5610
- console.log($), i(7, E = !1), i(8, G = !0);
5628
+ fetch(N.href, k).then((F) => F.json()).then((F) => {
5629
+ Ve();
5630
+ }).catch((F) => {
5631
+ console.log(F), i(7, E = !1), i(8, G = !0);
5611
5632
  });
5612
- }, ir = () => {
5613
- i(11, $e = i(10, K = !1));
5614
5633
  }, rr = () => {
5615
- Po(n);
5634
+ i(11, ze = i(10, K = !1));
5635
+ }, nr = () => {
5636
+ Bo(n);
5616
5637
  };
5617
- Tr(() => () => {
5638
+ wr(() => () => {
5618
5639
  });
5619
- const nr = (b) => Lt(b);
5620
- function or() {
5621
- L = Bt(this), i(1, L), i(15, P);
5622
- }
5640
+ const or = (b) => Tt(b);
5623
5641
  function sr() {
5624
- w = Bt(this), i(2, w), i(1, L);
5642
+ L = Ot(this), i(1, L), i(15, S);
5625
5643
  }
5626
5644
  function ar() {
5627
- H = pi(this.value), i(3, H);
5645
+ w = Ot(this), i(2, w), i(1, L);
5646
+ }
5647
+ function ur() {
5648
+ O = bi(this.value), i(3, O);
5628
5649
  }
5629
5650
  function lr(b) {
5630
- Oe[b ? "unshift" : "push"](() => {
5631
- A = b, i(4, A);
5651
+ He[b ? "unshift" : "push"](() => {
5652
+ P = b, i(4, P);
5632
5653
  });
5633
5654
  }
5634
- function ur(b) {
5635
- Oe[b ? "unshift" : "push"](() => {
5655
+ function cr(b) {
5656
+ He[b ? "unshift" : "push"](() => {
5636
5657
  p = b, i(0, p);
5637
5658
  });
5638
5659
  }
5639
5660
  return e.$$set = (b) => {
5640
- "lang" in b && i(21, n = b.lang), "currency" in b && i(22, o = b.currency), "limits" in b && i(23, s = b.limits), "session" in b && i(24, a = b.session), "userid" in b && i(25, c = b.userid), "endpoint" in b && i(26, l = b.endpoint), "clientstyling" in b && i(27, u = b.clientstyling), "clientstylingurl" in b && i(28, h = b.clientstylingurl), "translationurl" in b && i(29, f = b.translationurl), "mbsource" in b && i(30, m = b.mbsource);
5661
+ "lang" in b && i(21, n = b.lang), "currency" in b && i(22, o = b.currency), "limits" in b && i(23, s = b.limits), "session" in b && i(24, a = b.session), "userid" in b && i(25, c = b.userid), "endpoint" in b && i(26, u = b.endpoint), "clientstyling" in b && i(27, l = b.clientstyling), "clientstylingurl" in b && i(28, h = b.clientstylingurl), "translationurl" in b && i(29, m = b.translationurl), "mbsource" in b && i(30, f = b.mbsource);
5641
5662
  }, e.$$.update = () => {
5642
5663
  e.$$.dirty[0] & /*limits*/
5643
- 8388608 && s && Yi(), e.$$.dirty[0] & /*lang*/
5644
- 2097152 && n && rr(), e.$$.dirty[0] & /*userid, session, endpoint*/
5645
- 117440512 && c && a && l && ze(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5646
- 134217729 && u && p && Go(p, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5647
- 268435457 && h && p && zo(p, h), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5648
- 1073741825 && m && p && Wo(p, `${m}.Style`), e.$$.dirty[0] & /*translationurl*/
5649
- 536870912 && f && Zi();
5664
+ 8388608 && s && qi(), e.$$.dirty[0] & /*lang*/
5665
+ 2097152 && n && nr(), e.$$.dirty[0] & /*userid, session, endpoint*/
5666
+ 117440512 && c && a && u && Ve(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5667
+ 134217729 && l && p && Wo(p, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5668
+ 268435457 && h && p && Vo(p, h), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5669
+ 1073741825 && f && p && Xo(p, `${f}.Style`), e.$$.dirty[0] & /*translationurl*/
5670
+ 536870912 && m && Yi();
5650
5671
  }, [
5651
5672
  p,
5652
5673
  L,
5653
5674
  w,
5675
+ O,
5676
+ P,
5654
5677
  H,
5655
- A,
5656
- M,
5657
5678
  D,
5658
5679
  E,
5659
5680
  G,
5660
- k,
5681
+ M,
5661
5682
  K,
5662
- $e,
5663
- Ge,
5683
+ ze,
5684
+ We,
5664
5685
  r,
5665
5686
  R,
5666
- P,
5667
- qi,
5687
+ S,
5668
5688
  Ji,
5669
- tr,
5670
- Lt,
5689
+ Qi,
5671
5690
  ir,
5691
+ Tt,
5692
+ rr,
5672
5693
  n,
5673
5694
  o,
5674
5695
  s,
5675
5696
  a,
5676
5697
  c,
5677
- l,
5678
5698
  u,
5699
+ l,
5679
5700
  h,
5680
- f,
5681
5701
  m,
5682
- nr,
5702
+ f,
5683
5703
  or,
5684
5704
  sr,
5685
5705
  ar,
5706
+ ur,
5686
5707
  lr,
5687
- ur
5708
+ cr
5688
5709
  ];
5689
5710
  }
5690
- class ss extends Cr {
5711
+ class us extends Dr {
5691
5712
  constructor(t) {
5692
- super(), Mr(
5713
+ super(), kr(
5693
5714
  this,
5694
5715
  t,
5695
- os,
5696
- ns,
5697
- mi,
5716
+ as,
5717
+ ss,
5718
+ pi,
5698
5719
  {
5699
5720
  lang: 21,
5700
5721
  currency: 22,
@@ -5707,7 +5728,7 @@ class ss extends Cr {
5707
5728
  translationurl: 29,
5708
5729
  mbsource: 30
5709
5730
  },
5710
- Vo,
5731
+ Zo,
5711
5732
  [-1, -1]
5712
5733
  );
5713
5734
  }
@@ -5772,7 +5793,7 @@ class ss extends Cr {
5772
5793
  this.$$set({ mbsource: t }), X();
5773
5794
  }
5774
5795
  }
5775
- kr(ss, { lang: {}, currency: {}, limits: {}, session: {}, userid: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
5796
+ Cr(us, { lang: {}, currency: {}, limits: {}, session: {}, userid: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
5776
5797
  export {
5777
- ss as default
5798
+ us as default
5778
5799
  };