@everymatrix/player-account-gaming-limits-page-2-gmcore 1.77.18 → 1.77.20

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