@everymatrix/player-account-gaming-limits-confirmation-modal 1.74.3 → 1.74.4

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 pr = Object.defineProperty, br = Object.defineProperties;
2
- var gr = Object.getOwnPropertyDescriptors;
3
- var tt = Object.getOwnPropertySymbols;
4
- var yr = Object.prototype.hasOwnProperty, xr = Object.prototype.propertyIsEnumerable;
5
- var Ee = (e, t, r) => t in e ? pr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
1
+ var yr = Object.defineProperty, vr = Object.defineProperties;
2
+ var xr = Object.getOwnPropertyDescriptors;
3
+ var nt = Object.getOwnPropertySymbols;
4
+ var _r = Object.prototype.hasOwnProperty, Er = Object.prototype.propertyIsEnumerable;
5
+ var Ee = (e, t, r) => t in e ? yr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- yr.call(t, r) && Ee(e, r, t[r]);
8
- if (tt)
9
- for (var r of tt(t))
10
- xr.call(t, r) && Ee(e, r, t[r]);
7
+ _r.call(t, r) && Ee(e, r, t[r]);
8
+ if (nt)
9
+ for (var r of nt(t))
10
+ Er.call(t, r) && Ee(e, r, t[r]);
11
11
  return e;
12
- }, nt = (e, t) => br(e, gr(t));
12
+ }, ot = (e, t) => vr(e, xr(t));
13
13
  var O = (e, t, r) => (Ee(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var it = (e, t, r) => new Promise((n, i) => {
14
+ var st = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (h) => {
16
16
  try {
17
17
  a(r.next(h));
@@ -29,7 +29,7 @@ var it = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function I() {
31
31
  }
32
- function vr(e, t) {
32
+ function wr(e, t) {
33
33
  for (const r in t)
34
34
  e[r] = t[r];
35
35
  return (
@@ -37,25 +37,25 @@ function vr(e, t) {
37
37
  e
38
38
  );
39
39
  }
40
- function Lt(e) {
40
+ function It(e) {
41
41
  return e();
42
42
  }
43
- function ot() {
43
+ function at() {
44
44
  return /* @__PURE__ */ Object.create(null);
45
45
  }
46
46
  function J(e) {
47
- e.forEach(Lt);
47
+ e.forEach(It);
48
48
  }
49
- function Qe(e) {
49
+ function Je(e) {
50
50
  return typeof e == "function";
51
51
  }
52
- function Ot(e, t) {
52
+ function Mt(e, t) {
53
53
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
54
54
  }
55
- function _r(e) {
55
+ function Sr(e) {
56
56
  return Object.keys(e).length === 0;
57
57
  }
58
- function It(e, ...t) {
58
+ function Nt(e, ...t) {
59
59
  if (e == null) {
60
60
  for (const n of t)
61
61
  n(void 0);
@@ -64,19 +64,19 @@ function It(e, ...t) {
64
64
  const r = e.subscribe(...t);
65
65
  return r.unsubscribe ? () => r.unsubscribe() : r;
66
66
  }
67
- function Er(e, t, r) {
68
- e.$$.on_destroy.push(It(t, r));
67
+ function Tr(e, t, r) {
68
+ e.$$.on_destroy.push(Nt(t, r));
69
69
  }
70
- function wr(e, t, r, n) {
70
+ function Hr(e, t, r, n) {
71
71
  if (e) {
72
- const i = Mt(e, t, r, n);
72
+ const i = Rt(e, t, r, n);
73
73
  return e[0](i);
74
74
  }
75
75
  }
76
- function Mt(e, t, r, n) {
77
- return e[1] && n ? vr(r.ctx.slice(), e[1](n(t))) : r.ctx;
76
+ function Rt(e, t, r, n) {
77
+ return e[1] && n ? wr(r.ctx.slice(), e[1](n(t))) : r.ctx;
78
78
  }
79
- function Sr(e, t, r, n) {
79
+ function Br(e, t, r, n) {
80
80
  if (e[2] && n) {
81
81
  const i = e[2](n(r));
82
82
  if (t.dirty === void 0)
@@ -91,13 +91,13 @@ function Sr(e, t, r, n) {
91
91
  }
92
92
  return t.dirty;
93
93
  }
94
- function Tr(e, t, r, n, i, o) {
94
+ function Cr(e, t, r, n, i, o) {
95
95
  if (i) {
96
- const s = Mt(t, r, n, o);
96
+ const s = Rt(t, r, n, o);
97
97
  e.p(s, i);
98
98
  }
99
99
  }
100
- function Hr(e) {
100
+ function Ar(e) {
101
101
  if (e.ctx.length > 32) {
102
102
  const t = [], r = e.ctx.length / 32;
103
103
  for (let n = 0; n < r; n++)
@@ -109,14 +109,14 @@ function Hr(e) {
109
109
  function B(e, t) {
110
110
  e.appendChild(t);
111
111
  }
112
- function Br(e, t, r) {
113
- const n = Cr(e);
112
+ function Pr(e, t, r) {
113
+ const n = Lr(e);
114
114
  if (!n.getElementById(t)) {
115
115
  const i = M("style");
116
- i.id = t, i.textContent = r, Ar(n, i);
116
+ i.id = t, i.textContent = r, Or(n, i);
117
117
  }
118
118
  }
119
- function Cr(e) {
119
+ function Lr(e) {
120
120
  if (!e)
121
121
  return document;
122
122
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -126,14 +126,14 @@ function Cr(e) {
126
126
  t
127
127
  ) : e.ownerDocument;
128
128
  }
129
- function Ar(e, t) {
129
+ function Or(e, t) {
130
130
  return B(
131
131
  /** @type {Document} */
132
132
  e.head || e,
133
133
  t
134
134
  ), t.sheet;
135
135
  }
136
- function Je(e, t, r) {
136
+ function Ye(e, t, r) {
137
137
  e.insertBefore(t, r || null);
138
138
  }
139
139
  function be(e) {
@@ -142,7 +142,7 @@ function be(e) {
142
142
  function M(e) {
143
143
  return document.createElement(e);
144
144
  }
145
- function st(e) {
145
+ function ut(e) {
146
146
  return document.createElementNS("http://www.w3.org/2000/svg", e);
147
147
  }
148
148
  function ue(e) {
@@ -154,17 +154,17 @@ function we() {
154
154
  function Se(e, t, r, n) {
155
155
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
156
156
  }
157
- function w(e, t, r) {
157
+ function S(e, t, r) {
158
158
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
159
159
  }
160
- function Pr(e) {
160
+ function Ir(e) {
161
161
  return Array.from(e.childNodes);
162
162
  }
163
163
  function Te(e, t) {
164
164
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
165
165
  t);
166
166
  }
167
- function Lr(e) {
167
+ function Mr(e) {
168
168
  const t = {};
169
169
  return e.childNodes.forEach(
170
170
  /** @param {Element} node */
@@ -177,22 +177,22 @@ let re;
177
177
  function te(e) {
178
178
  re = e;
179
179
  }
180
- function Or() {
180
+ function Nr() {
181
181
  if (!re)
182
182
  throw new Error("Function called outside component initialization");
183
183
  return re;
184
184
  }
185
- function Ir(e) {
186
- Or().$$.on_mount.push(e);
185
+ function Rr(e) {
186
+ Nr().$$.on_mount.push(e);
187
187
  }
188
- const k = [], Ie = [];
188
+ const k = [], Me = [];
189
189
  let V = [];
190
- const at = [], Mr = /* @__PURE__ */ Promise.resolve();
191
- let Me = !1;
192
- function Nr() {
193
- Me || (Me = !0, Mr.then(N));
190
+ const ht = [], $r = /* @__PURE__ */ Promise.resolve();
191
+ let Ne = !1;
192
+ function Gr() {
193
+ Ne || (Ne = !0, $r.then(N));
194
194
  }
195
- function Ne(e) {
195
+ function Re(e) {
196
196
  V.push(e);
197
197
  }
198
198
  const He = /* @__PURE__ */ new Set();
@@ -205,63 +205,63 @@ function N() {
205
205
  try {
206
206
  for (; F < k.length; ) {
207
207
  const t = k[F];
208
- F++, te(t), Rr(t.$$);
208
+ F++, te(t), Ur(t.$$);
209
209
  }
210
210
  } catch (t) {
211
211
  throw k.length = 0, F = 0, t;
212
212
  }
213
- for (te(null), k.length = 0, F = 0; Ie.length; )
214
- Ie.pop()();
213
+ for (te(null), k.length = 0, F = 0; Me.length; )
214
+ Me.pop()();
215
215
  for (let t = 0; t < V.length; t += 1) {
216
216
  const r = V[t];
217
217
  He.has(r) || (He.add(r), r());
218
218
  }
219
219
  V.length = 0;
220
220
  } while (k.length);
221
- for (; at.length; )
222
- at.pop()();
223
- Me = !1, He.clear(), te(e);
221
+ for (; ht.length; )
222
+ ht.pop()();
223
+ Ne = !1, He.clear(), te(e);
224
224
  }
225
- function Rr(e) {
225
+ function Ur(e) {
226
226
  if (e.fragment !== null) {
227
227
  e.update(), J(e.before_update);
228
228
  const t = e.dirty;
229
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
229
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
230
230
  }
231
231
  }
232
- function $r(e) {
232
+ function Dr(e) {
233
233
  const t = [], r = [];
234
234
  V.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), V = t;
235
235
  }
236
236
  const he = /* @__PURE__ */ new Set();
237
- let Gr;
238
- function Nt(e, t) {
237
+ let Fr;
238
+ function $t(e, t) {
239
239
  e && e.i && (he.delete(e), e.i(t));
240
240
  }
241
- function Ur(e, t, r, n) {
242
- if (e.o) {
241
+ function jr(e, t, r, n) {
242
+ if (e && e.o) {
243
243
  if (he.has(e))
244
244
  return;
245
- he.add(e), Gr.c.push(() => {
245
+ he.add(e), Fr.c.push(() => {
246
246
  he.delete(e);
247
247
  }), e.o(t);
248
248
  }
249
249
  }
250
- function Dr(e, t, r) {
250
+ function kr(e, t, r) {
251
251
  const { fragment: n, after_update: i } = e.$$;
252
- n && n.m(t, r), Ne(() => {
253
- const o = e.$$.on_mount.map(Lt).filter(Qe);
252
+ n && n.m(t, r), Re(() => {
253
+ const o = e.$$.on_mount.map(It).filter(Je);
254
254
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : J(o), e.$$.on_mount = [];
255
- }), i.forEach(Ne);
255
+ }), i.forEach(Re);
256
256
  }
257
- function Fr(e, t) {
257
+ function Vr(e, t) {
258
258
  const r = e.$$;
259
- r.fragment !== null && ($r(r.after_update), J(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
259
+ r.fragment !== null && (Dr(r.after_update), J(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
260
260
  }
261
- function jr(e, t) {
262
- e.$$.dirty[0] === -1 && (k.push(e), Nr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
261
+ function Xr(e, t) {
262
+ e.$$.dirty[0] === -1 && (k.push(e), Gr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
263
263
  }
264
- function kr(e, t, r, n, i, o, s = null, a = [-1]) {
264
+ function Wr(e, t, r, n, i, o, s = null, a = [-1]) {
265
265
  const h = re;
266
266
  te(e);
267
267
  const u = e.$$ = {
@@ -271,7 +271,7 @@ function kr(e, t, r, n, i, o, s = null, a = [-1]) {
271
271
  props: o,
272
272
  update: I,
273
273
  not_equal: i,
274
- bound: ot(),
274
+ bound: at(),
275
275
  // lifecycle
276
276
  on_mount: [],
277
277
  on_destroy: [],
@@ -280,28 +280,28 @@ function kr(e, t, r, n, i, o, s = null, a = [-1]) {
280
280
  after_update: [],
281
281
  context: new Map(t.context || (h ? h.$$.context : [])),
282
282
  // everything else
283
- callbacks: ot(),
283
+ callbacks: at(),
284
284
  dirty: a,
285
285
  skip_bound: !1,
286
286
  root: t.target || h.$$.root
287
287
  };
288
288
  s && s(u.root);
289
289
  let l = !1;
290
- if (u.ctx = r(e, t.props || {}, (f, c, ...d) => {
291
- const m = d.length ? d[0] : c;
292
- return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), l && jr(e, f)), c;
293
- }), u.update(), l = !0, J(u.before_update), u.fragment = n(u.ctx), t.target) {
290
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
291
+ const m = p.length ? p[0] : f;
292
+ return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), l && Xr(e, c)), f;
293
+ }) : [], u.update(), l = !0, J(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
294
294
  if (t.hydrate) {
295
- const f = Pr(t.target);
296
- u.fragment && u.fragment.l(f), f.forEach(be);
295
+ const c = Ir(t.target);
296
+ u.fragment && u.fragment.l(c), c.forEach(be);
297
297
  } else
298
298
  u.fragment && u.fragment.c();
299
- t.intro && Nt(e.$$.fragment), Dr(e, t.target, t.anchor), N();
299
+ t.intro && $t(e.$$.fragment), kr(e, t.target, t.anchor), N();
300
300
  }
301
301
  te(h);
302
302
  }
303
- let Rt;
304
- typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
303
+ let Gt;
304
+ typeof HTMLElement == "function" && (Gt = class extends HTMLElement {
305
305
  constructor(t, r, n) {
306
306
  super();
307
307
  /** The Svelte component constructor */
@@ -338,21 +338,21 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
338
338
  }
339
339
  }
340
340
  connectedCallback() {
341
- return it(this, null, function* () {
341
+ return st(this, null, function* () {
342
342
  if (this.$$cn = !0, !this.$$c) {
343
343
  let t = function(o) {
344
344
  return () => {
345
345
  let s;
346
346
  return {
347
347
  c: function() {
348
- s = M("slot"), o !== "default" && w(s, "name", o);
348
+ s = M("slot"), o !== "default" && S(s, "name", o);
349
349
  },
350
350
  /**
351
351
  * @param {HTMLElement} target
352
352
  * @param {HTMLElement} [anchor]
353
353
  */
354
354
  m: function(u, l) {
355
- Je(u, s, l);
355
+ Ye(u, s, l);
356
356
  },
357
357
  d: function(u) {
358
358
  u && be(s);
@@ -362,7 +362,7 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
362
362
  };
363
363
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
364
364
  return;
365
- const r = {}, n = Lr(this);
365
+ const r = {}, n = Mr(this);
366
366
  for (const o of this.$$s)
367
367
  o in n && (r[o] = [t(o)]);
368
368
  for (const o of this.attributes) {
@@ -373,7 +373,7 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
373
373
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
374
374
  this.$$c = new this.$$ctor({
375
375
  target: this.shadowRoot || this,
376
- props: nt(rt({}, this.$$d), {
376
+ props: ot(it({}, this.$$d), {
377
377
  $$slots: r,
378
378
  $$scope: {
379
379
  ctx: []
@@ -451,8 +451,8 @@ function le(e, t, r, n) {
451
451
  return t;
452
452
  }
453
453
  }
454
- function Vr(e, t, r, n, i, o) {
455
- let s = class extends Rt {
454
+ function zr(e, t, r, n, i, o) {
455
+ let s = class extends Gt {
456
456
  constructor() {
457
457
  super(e, r, i), this.$$p_d = t;
458
458
  }
@@ -482,7 +482,7 @@ function Vr(e, t, r, n, i, o) {
482
482
  }), e.element = /** @type {any} */
483
483
  s, s;
484
484
  }
485
- class Xr {
485
+ class Zr {
486
486
  constructor() {
487
487
  /**
488
488
  * ### PRIVATE API
@@ -503,7 +503,7 @@ class Xr {
503
503
  }
504
504
  /** @returns {void} */
505
505
  $destroy() {
506
- Fr(this, 1), this.$destroy = I;
506
+ Vr(this, 1), this.$destroy = I;
507
507
  }
508
508
  /**
509
509
  * @template {Extract<keyof Events, string>} K
@@ -512,7 +512,7 @@ class Xr {
512
512
  * @returns {() => void}
513
513
  */
514
514
  $on(t, r) {
515
- if (!Qe(r))
515
+ if (!Je(r))
516
516
  return I;
517
517
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
518
518
  return n.push(r), () => {
@@ -525,11 +525,11 @@ class Xr {
525
525
  * @returns {void}
526
526
  */
527
527
  $set(t) {
528
- this.$$set && !_r(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
528
+ this.$$set && !Sr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
529
529
  }
530
530
  }
531
- const Wr = "4";
532
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Wr);
531
+ const Qr = "4";
532
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Qr);
533
533
  /*! *****************************************************************************
534
534
  Copyright (c) Microsoft Corporation.
535
535
 
@@ -544,34 +544,34 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
544
544
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
545
545
  PERFORMANCE OF THIS SOFTWARE.
546
546
  ***************************************************************************** */
547
- var Re = function(e, t) {
548
- return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
547
+ var $e = function(e, t) {
548
+ return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
549
549
  r.__proto__ = n;
550
550
  } || function(r, n) {
551
551
  for (var i in n)
552
552
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
553
- }, Re(e, t);
553
+ }, $e(e, t);
554
554
  };
555
555
  function $(e, t) {
556
556
  if (typeof t != "function" && t !== null)
557
557
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
558
- Re(e, t);
558
+ $e(e, t);
559
559
  function r() {
560
560
  this.constructor = e;
561
561
  }
562
562
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
563
563
  }
564
- var x = function() {
565
- return x = Object.assign || function(t) {
564
+ var v = function() {
565
+ return v = Object.assign || function(t) {
566
566
  for (var r, n = 1, i = arguments.length; n < i; n++) {
567
567
  r = arguments[n];
568
568
  for (var o in r)
569
569
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
570
570
  }
571
571
  return t;
572
- }, x.apply(this, arguments);
572
+ }, v.apply(this, arguments);
573
573
  };
574
- function zr(e, t) {
574
+ function Jr(e, t) {
575
575
  var r = {};
576
576
  for (var n in e)
577
577
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -580,7 +580,7 @@ function zr(e, t) {
580
580
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
581
581
  return r;
582
582
  }
583
- function $e(e) {
583
+ function Ge(e) {
584
584
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
585
585
  if (r)
586
586
  return r.call(e);
@@ -592,7 +592,7 @@ function $e(e) {
592
592
  };
593
593
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
594
594
  }
595
- function Ge(e, t) {
595
+ function Ue(e, t) {
596
596
  var r = typeof Symbol == "function" && e[Symbol.iterator];
597
597
  if (!r)
598
598
  return e;
@@ -621,13 +621,13 @@ function X(e, t, r) {
621
621
  function R(e) {
622
622
  return typeof e == "function";
623
623
  }
624
- function $t(e) {
624
+ function Ut(e) {
625
625
  var t = function(n) {
626
626
  Error.call(n), n.stack = new Error().stack;
627
627
  }, r = e(t);
628
628
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
629
629
  }
630
- var Be = $t(function(e) {
630
+ var Be = Ut(function(e) {
631
631
  return function(r) {
632
632
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
633
633
  ` + r.map(function(n, i) {
@@ -636,7 +636,7 @@ var Be = $t(function(e) {
636
636
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
637
637
  };
638
638
  });
639
- function Ue(e, t) {
639
+ function De(e, t) {
640
640
  if (e) {
641
641
  var r = e.indexOf(t);
642
642
  0 <= r && e.splice(r, 1);
@@ -654,7 +654,7 @@ var ge = function() {
654
654
  if (s)
655
655
  if (this._parentage = null, Array.isArray(s))
656
656
  try {
657
- for (var a = $e(s), h = a.next(); !h.done; h = a.next()) {
657
+ for (var a = Ge(s), h = a.next(); !h.done; h = a.next()) {
658
658
  var u = h.value;
659
659
  u.remove(this);
660
660
  }
@@ -677,23 +677,23 @@ var ge = function() {
677
677
  } catch (y) {
678
678
  o = y instanceof Be ? y.errors : [y];
679
679
  }
680
- var f = this._finalizers;
681
- if (f) {
680
+ var c = this._finalizers;
681
+ if (c) {
682
682
  this._finalizers = null;
683
683
  try {
684
- for (var c = $e(f), d = c.next(); !d.done; d = c.next()) {
685
- var m = d.value;
684
+ for (var f = Ge(c), p = f.next(); !p.done; p = f.next()) {
685
+ var m = p.value;
686
686
  try {
687
- ut(m);
687
+ lt(m);
688
688
  } catch (y) {
689
- o = o != null ? o : [], y instanceof Be ? o = X(X([], Ge(o)), Ge(y.errors)) : o.push(y);
689
+ o = o != null ? o : [], y instanceof Be ? o = X(X([], Ue(o)), Ue(y.errors)) : o.push(y);
690
690
  }
691
691
  }
692
692
  } catch (y) {
693
693
  n = { error: y };
694
694
  } finally {
695
695
  try {
696
- d && !d.done && (i = c.return) && i.call(c);
696
+ p && !p.done && (i = f.return) && i.call(f);
697
697
  } finally {
698
698
  if (n)
699
699
  throw n.error;
@@ -707,7 +707,7 @@ var ge = function() {
707
707
  var r;
708
708
  if (t && t !== this)
709
709
  if (this.closed)
710
- ut(t);
710
+ lt(t);
711
711
  else {
712
712
  if (t instanceof e) {
713
713
  if (t.closed || t._hasParent(this))
@@ -724,56 +724,56 @@ var ge = function() {
724
724
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
725
725
  }, e.prototype._removeParent = function(t) {
726
726
  var r = this._parentage;
727
- r === t ? this._parentage = null : Array.isArray(r) && Ue(r, t);
727
+ r === t ? this._parentage = null : Array.isArray(r) && De(r, t);
728
728
  }, e.prototype.remove = function(t) {
729
729
  var r = this._finalizers;
730
- r && Ue(r, t), t instanceof e && t._removeParent(this);
730
+ r && De(r, t), t instanceof e && t._removeParent(this);
731
731
  }, e.EMPTY = function() {
732
732
  var t = new e();
733
733
  return t.closed = !0, t;
734
734
  }(), e;
735
- }(), Gt = ge.EMPTY;
736
- function Ut(e) {
735
+ }(), Dt = ge.EMPTY;
736
+ function Ft(e) {
737
737
  return e instanceof ge || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
738
738
  }
739
- function ut(e) {
739
+ function lt(e) {
740
740
  R(e) ? e() : e.unsubscribe();
741
741
  }
742
- var Zr = {
742
+ var jt = {
743
743
  onUnhandledError: null,
744
744
  onStoppedNotification: null,
745
745
  Promise: void 0,
746
746
  useDeprecatedSynchronousErrorHandling: !1,
747
747
  useDeprecatedNextContext: !1
748
- }, Qr = {
748
+ }, Yr = {
749
749
  setTimeout: function(e, t) {
750
750
  for (var r = [], n = 2; n < arguments.length; n++)
751
751
  r[n - 2] = arguments[n];
752
- return setTimeout.apply(void 0, X([e, t], Ge(r)));
752
+ return setTimeout.apply(void 0, X([e, t], Ue(r)));
753
753
  },
754
754
  clearTimeout: function(e) {
755
755
  return clearTimeout(e);
756
756
  },
757
757
  delegate: void 0
758
758
  };
759
- function Jr(e) {
760
- Qr.setTimeout(function() {
759
+ function qr(e) {
760
+ Yr.setTimeout(function() {
761
761
  throw e;
762
762
  });
763
763
  }
764
- function ht() {
764
+ function ct() {
765
765
  }
766
- function fe(e) {
766
+ function ce(e) {
767
767
  e();
768
768
  }
769
- var Dt = function(e) {
769
+ var kt = function(e) {
770
770
  $(t, e);
771
771
  function t(r) {
772
772
  var n = e.call(this) || this;
773
- return n.isStopped = !1, r ? (n.destination = r, Ut(r) && r.add(n)) : n.destination = Kr, n;
773
+ return n.isStopped = !1, r ? (n.destination = r, Ft(r) && r.add(n)) : n.destination = rn, n;
774
774
  }
775
775
  return t.create = function(r, n, i) {
776
- return new De(r, n, i);
776
+ return new Fe(r, n, i);
777
777
  }, t.prototype.next = function(r) {
778
778
  this.isStopped || this._next(r);
779
779
  }, t.prototype.error = function(r) {
@@ -797,7 +797,11 @@ var Dt = function(e) {
797
797
  this.unsubscribe();
798
798
  }
799
799
  }, t;
800
- }(ge), Yr = function() {
800
+ }(ge), Kr = Function.prototype.bind;
801
+ function Ce(e, t) {
802
+ return Kr.call(e, t);
803
+ }
804
+ var en = function() {
801
805
  function e(t) {
802
806
  this.partialObserver = t;
803
807
  }
@@ -828,43 +832,55 @@ var Dt = function(e) {
828
832
  se(r);
829
833
  }
830
834
  }, e;
831
- }(), De = function(e) {
835
+ }(), Fe = function(e) {
832
836
  $(t, e);
833
837
  function t(r, n, i) {
834
838
  var o = e.call(this) || this, s;
835
- return R(r) || !r ? s = {
836
- next: r != null ? r : void 0,
837
- error: n != null ? n : void 0,
838
- complete: i != null ? i : void 0
839
- } : s = r, o.destination = new Yr(s), o;
839
+ if (R(r) || !r)
840
+ s = {
841
+ next: r != null ? r : void 0,
842
+ error: n != null ? n : void 0,
843
+ complete: i != null ? i : void 0
844
+ };
845
+ else {
846
+ var a;
847
+ o && jt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
848
+ return o.unsubscribe();
849
+ }, s = {
850
+ next: r.next && Ce(r.next, a),
851
+ error: r.error && Ce(r.error, a),
852
+ complete: r.complete && Ce(r.complete, a)
853
+ }) : s = r;
854
+ }
855
+ return o.destination = new en(s), o;
840
856
  }
841
857
  return t;
842
- }(Dt);
858
+ }(kt);
843
859
  function se(e) {
844
- Jr(e);
860
+ qr(e);
845
861
  }
846
- function qr(e) {
862
+ function tn(e) {
847
863
  throw e;
848
864
  }
849
- var Kr = {
865
+ var rn = {
850
866
  closed: !0,
851
- next: ht,
852
- error: qr,
853
- complete: ht
854
- }, en = function() {
867
+ next: ct,
868
+ error: tn,
869
+ complete: ct
870
+ }, nn = function() {
855
871
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
856
872
  }();
857
- function tn(e) {
873
+ function on(e) {
858
874
  return e;
859
875
  }
860
- function rn(e) {
861
- return e.length === 0 ? tn : e.length === 1 ? e[0] : function(r) {
876
+ function sn(e) {
877
+ return e.length === 0 ? on : e.length === 1 ? e[0] : function(r) {
862
878
  return e.reduce(function(n, i) {
863
879
  return i(n);
864
880
  }, r);
865
881
  };
866
882
  }
867
- var lt = function() {
883
+ var ft = function() {
868
884
  function e(t) {
869
885
  t && (this._subscribe = t);
870
886
  }
@@ -872,8 +888,8 @@ var lt = function() {
872
888
  var r = new e();
873
889
  return r.source = this, r.operator = t, r;
874
890
  }, e.prototype.subscribe = function(t, r, n) {
875
- var i = this, o = on(t) ? t : new De(t, r, n);
876
- return fe(function() {
891
+ var i = this, o = un(t) ? t : new Fe(t, r, n);
892
+ return ce(function() {
877
893
  var s = i, a = s.operator, h = s.source;
878
894
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
879
895
  }), o;
@@ -885,8 +901,8 @@ var lt = function() {
885
901
  }
886
902
  }, e.prototype.forEach = function(t, r) {
887
903
  var n = this;
888
- return r = ft(r), new r(function(i, o) {
889
- var s = new De({
904
+ return r = mt(r), new r(function(i, o) {
905
+ var s = new Fe({
890
906
  next: function(a) {
891
907
  try {
892
908
  t(a);
@@ -902,15 +918,15 @@ var lt = function() {
902
918
  }, e.prototype._subscribe = function(t) {
903
919
  var r;
904
920
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
905
- }, e.prototype[en] = function() {
921
+ }, e.prototype[nn] = function() {
906
922
  return this;
907
923
  }, e.prototype.pipe = function() {
908
924
  for (var t = [], r = 0; r < arguments.length; r++)
909
925
  t[r] = arguments[r];
910
- return rn(t)(this);
926
+ return sn(t)(this);
911
927
  }, e.prototype.toPromise = function(t) {
912
928
  var r = this;
913
- return t = ft(t), new t(function(n, i) {
929
+ return t = mt(t), new t(function(n, i) {
914
930
  var o;
915
931
  r.subscribe(function(s) {
916
932
  return o = s;
@@ -924,40 +940,40 @@ var lt = function() {
924
940
  return new e(t);
925
941
  }, e;
926
942
  }();
927
- function ft(e) {
943
+ function mt(e) {
928
944
  var t;
929
- return (t = e != null ? e : Zr.Promise) !== null && t !== void 0 ? t : Promise;
945
+ return (t = e != null ? e : jt.Promise) !== null && t !== void 0 ? t : Promise;
930
946
  }
931
- function nn(e) {
947
+ function an(e) {
932
948
  return e && R(e.next) && R(e.error) && R(e.complete);
933
949
  }
934
- function on(e) {
935
- return e && e instanceof Dt || nn(e) && Ut(e);
950
+ function un(e) {
951
+ return e && e instanceof kt || an(e) && Ft(e);
936
952
  }
937
- var sn = $t(function(e) {
953
+ var hn = Ut(function(e) {
938
954
  return function() {
939
955
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
940
956
  };
941
- }), Ft = function(e) {
957
+ }), Vt = function(e) {
942
958
  $(t, e);
943
959
  function t() {
944
960
  var r = e.call(this) || this;
945
961
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
946
962
  }
947
963
  return t.prototype.lift = function(r) {
948
- var n = new ct(this, this);
964
+ var n = new pt(this, this);
949
965
  return n.operator = r, n;
950
966
  }, t.prototype._throwIfClosed = function() {
951
967
  if (this.closed)
952
- throw new sn();
968
+ throw new hn();
953
969
  }, t.prototype.next = function(r) {
954
970
  var n = this;
955
- fe(function() {
971
+ ce(function() {
956
972
  var i, o;
957
973
  if (n._throwIfClosed(), !n.isStopped) {
958
974
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
959
975
  try {
960
- for (var s = $e(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
976
+ for (var s = Ge(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
961
977
  var h = a.value;
962
978
  h.next(r);
963
979
  }
@@ -975,7 +991,7 @@ var sn = $t(function(e) {
975
991
  });
976
992
  }, t.prototype.error = function(r) {
977
993
  var n = this;
978
- fe(function() {
994
+ ce(function() {
979
995
  if (n._throwIfClosed(), !n.isStopped) {
980
996
  n.hasError = n.isStopped = !0, n.thrownError = r;
981
997
  for (var i = n.observers; i.length; )
@@ -984,7 +1000,7 @@ var sn = $t(function(e) {
984
1000
  });
985
1001
  }, t.prototype.complete = function() {
986
1002
  var r = this;
987
- fe(function() {
1003
+ ce(function() {
988
1004
  if (r._throwIfClosed(), !r.isStopped) {
989
1005
  r.isStopped = !0;
990
1006
  for (var n = r.observers; n.length; )
@@ -1006,19 +1022,19 @@ var sn = $t(function(e) {
1006
1022
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1007
1023
  }, t.prototype._innerSubscribe = function(r) {
1008
1024
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1009
- return o || s ? Gt : (this.currentObservers = null, a.push(r), new ge(function() {
1010
- n.currentObservers = null, Ue(a, r);
1025
+ return o || s ? Dt : (this.currentObservers = null, a.push(r), new ge(function() {
1026
+ n.currentObservers = null, De(a, r);
1011
1027
  }));
1012
1028
  }, t.prototype._checkFinalizedStatuses = function(r) {
1013
1029
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1014
1030
  i ? r.error(o) : s && r.complete();
1015
1031
  }, t.prototype.asObservable = function() {
1016
- var r = new lt();
1032
+ var r = new ft();
1017
1033
  return r.source = this, r;
1018
1034
  }, t.create = function(r, n) {
1019
- return new ct(r, n);
1035
+ return new pt(r, n);
1020
1036
  }, t;
1021
- }(lt), ct = function(e) {
1037
+ }(ft), pt = function(e) {
1022
1038
  $(t, e);
1023
1039
  function t(r, n) {
1024
1040
  var i = e.call(this) || this;
@@ -1035,17 +1051,17 @@ var sn = $t(function(e) {
1035
1051
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1036
1052
  }, t.prototype._subscribe = function(r) {
1037
1053
  var n, i;
1038
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Gt;
1054
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Dt;
1039
1055
  }, t;
1040
- }(Ft), jt = {
1056
+ }(Vt), Xt = {
1041
1057
  now: function() {
1042
- return (jt.delegate || Date).now();
1058
+ return (Xt.delegate || Date).now();
1043
1059
  },
1044
1060
  delegate: void 0
1045
- }, an = function(e) {
1061
+ }, ln = function(e) {
1046
1062
  $(t, e);
1047
1063
  function t(r, n, i) {
1048
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = jt);
1064
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Xt);
1049
1065
  var o = e.call(this) || this;
1050
1066
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1051
1067
  }
@@ -1065,15 +1081,15 @@ var sn = $t(function(e) {
1065
1081
  u && o.splice(0, u + 1);
1066
1082
  }
1067
1083
  }, t;
1068
- }(Ft);
1069
- const mt = [], dt = {}, un = (e, t = 0) => {
1070
- if (mt.indexOf(e) == -1) {
1071
- const r = new an(t);
1072
- dt[e] = r, mt.push(e);
1084
+ }(Vt);
1085
+ const dt = [], bt = {}, cn = (e, t = 0) => {
1086
+ if (dt.indexOf(e) == -1) {
1087
+ const r = new ln(t);
1088
+ bt[e] = r, dt.push(e);
1073
1089
  }
1074
- return dt[e];
1090
+ return bt[e];
1075
1091
  }, j = [];
1076
- function hn(e, t) {
1092
+ function fn(e, t) {
1077
1093
  return {
1078
1094
  subscribe: ye(e, t).subscribe
1079
1095
  };
@@ -1082,7 +1098,7 @@ function ye(e, t = I) {
1082
1098
  let r;
1083
1099
  const n = /* @__PURE__ */ new Set();
1084
1100
  function i(a) {
1085
- if (Ot(e, a) && (e = a, r)) {
1101
+ if (Mt(e, a) && (e = a, r)) {
1086
1102
  const h = !j.length;
1087
1103
  for (const u of n)
1088
1104
  u[1](), j.push(u, e);
@@ -1109,96 +1125,96 @@ function Y(e, t, r) {
1109
1125
  if (!i.every(Boolean))
1110
1126
  throw new Error("derived() expects stores as input, got a falsy value");
1111
1127
  const o = t.length < 2;
1112
- return hn(r, (s, a) => {
1128
+ return fn(r, (s, a) => {
1113
1129
  let h = !1;
1114
1130
  const u = [];
1115
- let l = 0, f = I;
1116
- const c = () => {
1131
+ let l = 0, c = I;
1132
+ const f = () => {
1117
1133
  if (l)
1118
1134
  return;
1119
- f();
1135
+ c();
1120
1136
  const m = t(n ? u[0] : u, s, a);
1121
- o ? s(m) : f = Qe(m) ? m : I;
1122
- }, d = i.map(
1123
- (m, y) => It(
1137
+ o ? s(m) : c = Je(m) ? m : I;
1138
+ }, p = i.map(
1139
+ (m, y) => Nt(
1124
1140
  m,
1125
1141
  (E) => {
1126
- u[y] = E, l &= ~(1 << y), h && c();
1142
+ u[y] = E, l &= ~(1 << y), h && f();
1127
1143
  },
1128
1144
  () => {
1129
1145
  l |= 1 << y;
1130
1146
  }
1131
1147
  )
1132
1148
  );
1133
- return h = !0, c(), function() {
1134
- J(d), f(), h = !1;
1149
+ return h = !0, f(), function() {
1150
+ J(p), c(), h = !1;
1135
1151
  };
1136
1152
  });
1137
1153
  }
1138
- function ln(e) {
1139
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1154
+ function mn(e) {
1155
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1140
1156
  }
1141
- var fn = function(t) {
1142
- return cn(t) && !mn(t);
1157
+ var pn = function(t) {
1158
+ return dn(t) && !bn(t);
1143
1159
  };
1144
- function cn(e) {
1160
+ function dn(e) {
1145
1161
  return !!e && typeof e == "object";
1146
1162
  }
1147
- function mn(e) {
1163
+ function bn(e) {
1148
1164
  var t = Object.prototype.toString.call(e);
1149
- return t === "[object RegExp]" || t === "[object Date]" || bn(e);
1165
+ return t === "[object RegExp]" || t === "[object Date]" || vn(e);
1150
1166
  }
1151
- var dn = typeof Symbol == "function" && Symbol.for, pn = dn ? Symbol.for("react.element") : 60103;
1152
- function bn(e) {
1153
- return e.$$typeof === pn;
1167
+ var gn = typeof Symbol == "function" && Symbol.for, yn = gn ? Symbol.for("react.element") : 60103;
1168
+ function vn(e) {
1169
+ return e.$$typeof === yn;
1154
1170
  }
1155
- function gn(e) {
1171
+ function xn(e) {
1156
1172
  return Array.isArray(e) ? [] : {};
1157
1173
  }
1158
1174
  function ne(e, t) {
1159
- return t.clone !== !1 && t.isMergeableObject(e) ? W(gn(e), e, t) : e;
1175
+ return t.clone !== !1 && t.isMergeableObject(e) ? W(xn(e), e, t) : e;
1160
1176
  }
1161
- function yn(e, t, r) {
1177
+ function _n(e, t, r) {
1162
1178
  return e.concat(t).map(function(n) {
1163
1179
  return ne(n, r);
1164
1180
  });
1165
1181
  }
1166
- function xn(e, t) {
1182
+ function En(e, t) {
1167
1183
  if (!t.customMerge)
1168
1184
  return W;
1169
1185
  var r = t.customMerge(e);
1170
1186
  return typeof r == "function" ? r : W;
1171
1187
  }
1172
- function vn(e) {
1188
+ function wn(e) {
1173
1189
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1174
1190
  return Object.propertyIsEnumerable.call(e, t);
1175
1191
  }) : [];
1176
1192
  }
1177
- function pt(e) {
1178
- return Object.keys(e).concat(vn(e));
1193
+ function gt(e) {
1194
+ return Object.keys(e).concat(wn(e));
1179
1195
  }
1180
- function kt(e, t) {
1196
+ function Wt(e, t) {
1181
1197
  try {
1182
1198
  return t in e;
1183
1199
  } catch (r) {
1184
1200
  return !1;
1185
1201
  }
1186
1202
  }
1187
- function _n(e, t) {
1188
- return kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1203
+ function Sn(e, t) {
1204
+ return Wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1189
1205
  }
1190
- function En(e, t, r) {
1206
+ function Tn(e, t, r) {
1191
1207
  var n = {};
1192
- return r.isMergeableObject(e) && pt(e).forEach(function(i) {
1208
+ return r.isMergeableObject(e) && gt(e).forEach(function(i) {
1193
1209
  n[i] = ne(e[i], r);
1194
- }), pt(t).forEach(function(i) {
1195
- _n(e, i) || (kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = xn(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
1210
+ }), gt(t).forEach(function(i) {
1211
+ Sn(e, i) || (Wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = En(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
1196
1212
  }), n;
1197
1213
  }
1198
1214
  function W(e, t, r) {
1199
- r = r || {}, r.arrayMerge = r.arrayMerge || yn, r.isMergeableObject = r.isMergeableObject || fn, r.cloneUnlessOtherwiseSpecified = ne;
1215
+ r = r || {}, r.arrayMerge = r.arrayMerge || _n, r.isMergeableObject = r.isMergeableObject || pn, r.cloneUnlessOtherwiseSpecified = ne;
1200
1216
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1201
- return o ? n ? r.arrayMerge(e, t, r) : En(e, t, r) : ne(t, r);
1217
+ return o ? n ? r.arrayMerge(e, t, r) : Tn(e, t, r) : ne(t, r);
1202
1218
  }
1203
1219
  W.all = function(t, r) {
1204
1220
  if (!Array.isArray(t))
@@ -1207,109 +1223,107 @@ W.all = function(t, r) {
1207
1223
  return W(n, i, r);
1208
1224
  }, {});
1209
1225
  };
1210
- var wn = W, Sn = wn;
1211
- const Tn = /* @__PURE__ */ ln(Sn);
1212
- function Ce(e, t) {
1213
- var r = t && t.cache ? t.cache : On, n = t && t.serializer ? t.serializer : Pn, i = t && t.strategy ? t.strategy : Bn;
1226
+ var Hn = W, Bn = Hn;
1227
+ const Cn = /* @__PURE__ */ mn(Bn);
1228
+ function Ae(e, t) {
1229
+ var r = t && t.cache ? t.cache : Mn, n = t && t.serializer ? t.serializer : In, i = t && t.strategy ? t.strategy : Pn;
1214
1230
  return i(e, {
1215
1231
  cache: r,
1216
1232
  serializer: n
1217
1233
  });
1218
1234
  }
1219
- function Hn(e) {
1235
+ function An(e) {
1220
1236
  return e == null || typeof e == "number" || typeof e == "boolean";
1221
1237
  }
1222
- function Vt(e, t, r, n) {
1223
- var i = Hn(n) ? n : r(n), o = t.get(i);
1238
+ function zt(e, t, r, n) {
1239
+ var i = An(n) ? n : r(n), o = t.get(i);
1224
1240
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1225
1241
  }
1226
- function Xt(e, t, r) {
1242
+ function Zt(e, t, r) {
1227
1243
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1228
1244
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1229
1245
  }
1230
- function Ye(e, t, r, n, i) {
1246
+ function qe(e, t, r, n, i) {
1231
1247
  return r.bind(t, e, n, i);
1232
1248
  }
1233
- function Bn(e, t) {
1234
- var r = e.length === 1 ? Vt : Xt;
1235
- return Ye(e, this, r, t.cache.create(), t.serializer);
1249
+ function Pn(e, t) {
1250
+ var r = e.length === 1 ? zt : Zt;
1251
+ return qe(e, this, r, t.cache.create(), t.serializer);
1236
1252
  }
1237
- function Cn(e, t) {
1238
- return Ye(e, this, Xt, t.cache.create(), t.serializer);
1253
+ function Ln(e, t) {
1254
+ return qe(e, this, Zt, t.cache.create(), t.serializer);
1239
1255
  }
1240
- function An(e, t) {
1241
- return Ye(e, this, Vt, t.cache.create(), t.serializer);
1256
+ function On(e, t) {
1257
+ return qe(e, this, zt, t.cache.create(), t.serializer);
1242
1258
  }
1243
- var Pn = function() {
1259
+ var In = function() {
1244
1260
  return JSON.stringify(arguments);
1245
- }, Ln = (
1246
- /** @class */
1247
- function() {
1248
- function e() {
1249
- this.cache = /* @__PURE__ */ Object.create(null);
1250
- }
1251
- return e.prototype.get = function(t) {
1252
- return this.cache[t];
1253
- }, e.prototype.set = function(t, r) {
1254
- this.cache[t] = r;
1255
- }, e;
1256
- }()
1257
- ), On = {
1261
+ };
1262
+ function Ke() {
1263
+ this.cache = /* @__PURE__ */ Object.create(null);
1264
+ }
1265
+ Ke.prototype.get = function(e) {
1266
+ return this.cache[e];
1267
+ };
1268
+ Ke.prototype.set = function(e, t) {
1269
+ this.cache[e] = t;
1270
+ };
1271
+ var Mn = {
1258
1272
  create: function() {
1259
- return new Ln();
1273
+ return new Ke();
1260
1274
  }
1261
- }, Ae = {
1262
- variadic: Cn,
1263
- monadic: An
1264
- }, p;
1275
+ }, Pe = {
1276
+ variadic: Ln,
1277
+ monadic: On
1278
+ }, d;
1265
1279
  (function(e) {
1266
1280
  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";
1267
- })(p || (p = {}));
1268
- var v;
1281
+ })(d || (d = {}));
1282
+ var x;
1269
1283
  (function(e) {
1270
1284
  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";
1271
- })(v || (v = {}));
1285
+ })(x || (x = {}));
1272
1286
  var z;
1273
1287
  (function(e) {
1274
1288
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1275
1289
  })(z || (z = {}));
1276
- function bt(e) {
1277
- return e.type === v.literal;
1278
- }
1279
- function In(e) {
1280
- return e.type === v.argument;
1281
- }
1282
- function Wt(e) {
1283
- return e.type === v.number;
1284
- }
1285
- function zt(e) {
1286
- return e.type === v.date;
1290
+ function yt(e) {
1291
+ return e.type === x.literal;
1287
1292
  }
1288
- function Zt(e) {
1289
- return e.type === v.time;
1293
+ function Nn(e) {
1294
+ return e.type === x.argument;
1290
1295
  }
1291
1296
  function Qt(e) {
1292
- return e.type === v.select;
1297
+ return e.type === x.number;
1293
1298
  }
1294
1299
  function Jt(e) {
1295
- return e.type === v.plural;
1296
- }
1297
- function Mn(e) {
1298
- return e.type === v.pound;
1300
+ return e.type === x.date;
1299
1301
  }
1300
1302
  function Yt(e) {
1301
- return e.type === v.tag;
1303
+ return e.type === x.time;
1302
1304
  }
1303
1305
  function qt(e) {
1306
+ return e.type === x.select;
1307
+ }
1308
+ function Kt(e) {
1309
+ return e.type === x.plural;
1310
+ }
1311
+ function Rn(e) {
1312
+ return e.type === x.pound;
1313
+ }
1314
+ function er(e) {
1315
+ return e.type === x.tag;
1316
+ }
1317
+ function tr(e) {
1304
1318
  return !!(e && typeof e == "object" && e.type === z.number);
1305
1319
  }
1306
- function Fe(e) {
1320
+ function je(e) {
1307
1321
  return !!(e && typeof e == "object" && e.type === z.dateTime);
1308
1322
  }
1309
- var Kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Nn = /(?:[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;
1310
- function Rn(e) {
1323
+ var rr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, $n = /(?:[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;
1324
+ function Gn(e) {
1311
1325
  var t = {};
1312
- return e.replace(Nn, function(r) {
1326
+ return e.replace($n, function(r) {
1313
1327
  var n = r.length;
1314
1328
  switch (r[0]) {
1315
1329
  case "G":
@@ -1398,36 +1412,36 @@ function Rn(e) {
1398
1412
  return "";
1399
1413
  }), t;
1400
1414
  }
1401
- var $n = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1402
- function Gn(e) {
1415
+ var Un = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1416
+ function Dn(e) {
1403
1417
  if (e.length === 0)
1404
1418
  throw new Error("Number skeleton cannot be empty");
1405
- for (var t = e.split($n).filter(function(c) {
1406
- return c.length > 0;
1419
+ for (var t = e.split(Un).filter(function(f) {
1420
+ return f.length > 0;
1407
1421
  }), r = [], n = 0, i = t; n < i.length; n++) {
1408
1422
  var o = i[n], s = o.split("/");
1409
1423
  if (s.length === 0)
1410
1424
  throw new Error("Invalid number skeleton");
1411
1425
  for (var a = s[0], h = s.slice(1), u = 0, l = h; u < l.length; u++) {
1412
- var f = l[u];
1413
- if (f.length === 0)
1426
+ var c = l[u];
1427
+ if (c.length === 0)
1414
1428
  throw new Error("Invalid number skeleton");
1415
1429
  }
1416
1430
  r.push({ stem: a, options: h });
1417
1431
  }
1418
1432
  return r;
1419
1433
  }
1420
- function Un(e) {
1434
+ function Fn(e) {
1421
1435
  return e.replace(/^(.*?)-/, "");
1422
1436
  }
1423
- var gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, Dn = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
1424
- function yt(e) {
1437
+ var vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, nr = /^(@+)?(\+|#+)?[rs]?$/g, jn = /(\*)(0+)|(#+)(0+)|(0+)/g, ir = /^(0+)$/;
1438
+ function xt(e) {
1425
1439
  var t = {};
1426
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(er, function(r, n, i) {
1440
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(nr, function(r, n, i) {
1427
1441
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1428
1442
  }), t;
1429
1443
  }
1430
- function rr(e) {
1444
+ function or(e) {
1431
1445
  switch (e) {
1432
1446
  case "sign-auto":
1433
1447
  return {
@@ -1467,7 +1481,7 @@ function rr(e) {
1467
1481
  };
1468
1482
  }
1469
1483
  }
1470
- function Fn(e) {
1484
+ function kn(e) {
1471
1485
  var t;
1472
1486
  if (e[0] === "E" && e[1] === "E" ? (t = {
1473
1487
  notation: "engineering"
@@ -1475,17 +1489,17 @@ function Fn(e) {
1475
1489
  notation: "scientific"
1476
1490
  }, e = e.slice(1)), t) {
1477
1491
  var r = e.slice(0, 2);
1478
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !tr.test(e))
1492
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ir.test(e))
1479
1493
  throw new Error("Malformed concise eng/scientific notation");
1480
1494
  t.minimumIntegerDigits = e.length;
1481
1495
  }
1482
1496
  return t;
1483
1497
  }
1484
- function xt(e) {
1485
- var t = {}, r = rr(e);
1498
+ function _t(e) {
1499
+ var t = {}, r = or(e);
1486
1500
  return r || t;
1487
1501
  }
1488
- function jn(e) {
1502
+ function Vn(e) {
1489
1503
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1490
1504
  var i = n[r];
1491
1505
  switch (i.stem) {
@@ -1509,7 +1523,7 @@ function jn(e) {
1509
1523
  continue;
1510
1524
  case "measure-unit":
1511
1525
  case "unit":
1512
- t.style = "unit", t.unit = Un(i.options[0]);
1526
+ t.style = "unit", t.unit = Fn(i.options[0]);
1513
1527
  continue;
1514
1528
  case "compact-short":
1515
1529
  case "K":
@@ -1520,13 +1534,13 @@ function jn(e) {
1520
1534
  t.notation = "compact", t.compactDisplay = "long";
1521
1535
  continue;
1522
1536
  case "scientific":
1523
- t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1524
- return x(x({}, h), xt(u));
1537
+ t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1538
+ return v(v({}, h), _t(u));
1525
1539
  }, {}));
1526
1540
  continue;
1527
1541
  case "engineering":
1528
- t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1529
- return x(x({}, h), xt(u));
1542
+ t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1543
+ return v(v({}, h), _t(u));
1530
1544
  }, {}));
1531
1545
  continue;
1532
1546
  case "notation-simple":
@@ -1571,41 +1585,41 @@ function jn(e) {
1571
1585
  case "integer-width":
1572
1586
  if (i.options.length > 1)
1573
1587
  throw new RangeError("integer-width stems only accept a single optional option");
1574
- i.options[0].replace(Dn, function(h, u, l, f, c, d) {
1588
+ i.options[0].replace(jn, function(h, u, l, c, f, p) {
1575
1589
  if (u)
1576
1590
  t.minimumIntegerDigits = l.length;
1577
1591
  else {
1578
- if (f && c)
1592
+ if (c && f)
1579
1593
  throw new Error("We currently do not support maximum integer digits");
1580
- if (d)
1594
+ if (p)
1581
1595
  throw new Error("We currently do not support exact integer digits");
1582
1596
  }
1583
1597
  return "";
1584
1598
  });
1585
1599
  continue;
1586
1600
  }
1587
- if (tr.test(i.stem)) {
1601
+ if (ir.test(i.stem)) {
1588
1602
  t.minimumIntegerDigits = i.stem.length;
1589
1603
  continue;
1590
1604
  }
1591
- if (gt.test(i.stem)) {
1605
+ if (vt.test(i.stem)) {
1592
1606
  if (i.options.length > 1)
1593
1607
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1594
- i.stem.replace(gt, function(h, u, l, f, c, d) {
1595
- return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1608
+ i.stem.replace(vt, function(h, u, l, c, f, p) {
1609
+ return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1596
1610
  });
1597
1611
  var o = i.options[0];
1598
- o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), yt(o)));
1612
+ o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), xt(o)));
1599
1613
  continue;
1600
1614
  }
1601
- if (er.test(i.stem)) {
1602
- t = x(x({}, t), yt(i.stem));
1615
+ if (nr.test(i.stem)) {
1616
+ t = v(v({}, t), xt(i.stem));
1603
1617
  continue;
1604
1618
  }
1605
- var s = rr(i.stem);
1606
- s && (t = x(x({}, t), s));
1607
- var a = Fn(i.stem);
1608
- a && (t = x(x({}, t), a));
1619
+ var s = or(i.stem);
1620
+ s && (t = v(v({}, t), s));
1621
+ var a = kn(i.stem);
1622
+ a && (t = v(v({}, t), a));
1609
1623
  }
1610
1624
  return t;
1611
1625
  }
@@ -3024,13 +3038,13 @@ var ae = {
3024
3038
  "h"
3025
3039
  ]
3026
3040
  };
3027
- function kn(e, t) {
3041
+ function Xn(e, t) {
3028
3042
  for (var r = "", n = 0; n < e.length; n++) {
3029
3043
  var i = e.charAt(n);
3030
3044
  if (i === "j") {
3031
3045
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3032
3046
  o++, n++;
3033
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Vn(t);
3047
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Wn(t);
3034
3048
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3035
3049
  r += h;
3036
3050
  for (; s-- > 0; )
@@ -3040,7 +3054,7 @@ function kn(e, t) {
3040
3054
  }
3041
3055
  return r;
3042
3056
  }
3043
- function Vn(e) {
3057
+ function Wn(e) {
3044
3058
  var t = e.hourCycle;
3045
3059
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3046
3060
  e.hourCycles && // @ts-ignore
@@ -3062,20 +3076,20 @@ function Vn(e) {
3062
3076
  var i = ae[n || ""] || ae[r || ""] || ae["".concat(r, "-001")] || ae["001"];
3063
3077
  return i[0];
3064
3078
  }
3065
- var Pe, Xn = new RegExp("^".concat(Kt.source, "*")), Wn = new RegExp("".concat(Kt.source, "*$"));
3079
+ var Le, zn = new RegExp("^".concat(rr.source, "*")), Zn = new RegExp("".concat(rr.source, "*$"));
3066
3080
  function g(e, t) {
3067
3081
  return { start: e, end: t };
3068
3082
  }
3069
- var zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Zn = !!String.fromCodePoint, Qn = !!Object.fromEntries, Jn = !!String.prototype.codePointAt, Yn = !!String.prototype.trimStart, qn = !!String.prototype.trimEnd, Kn = !!Number.isSafeInteger, ei = Kn ? Number.isSafeInteger : function(e) {
3083
+ var Qn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Jn = !!String.fromCodePoint, Yn = !!Object.fromEntries, qn = !!String.prototype.codePointAt, Kn = !!String.prototype.trimStart, ei = !!String.prototype.trimEnd, ti = !!Number.isSafeInteger, ri = ti ? Number.isSafeInteger : function(e) {
3070
3084
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3071
- }, je = !0;
3085
+ }, ke = !0;
3072
3086
  try {
3073
- var ti = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3074
- je = ((Pe = ti.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
3087
+ var ni = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3088
+ ke = ((Le = ni.exec("a")) === null || Le === void 0 ? void 0 : Le[0]) === "a";
3075
3089
  } catch (e) {
3076
- je = !1;
3090
+ ke = !1;
3077
3091
  }
3078
- var vt = zn ? (
3092
+ var Et = Qn ? (
3079
3093
  // Native
3080
3094
  function(t, r, n) {
3081
3095
  return t.startsWith(r, n);
@@ -3085,7 +3099,7 @@ var vt = zn ? (
3085
3099
  function(t, r, n) {
3086
3100
  return t.slice(n, n + r.length) === r;
3087
3101
  }
3088
- ), ke = Zn ? String.fromCodePoint : (
3102
+ ), Ve = Jn ? String.fromCodePoint : (
3089
3103
  // IE11
3090
3104
  function() {
3091
3105
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3097,9 +3111,9 @@ var vt = zn ? (
3097
3111
  }
3098
3112
  return n;
3099
3113
  }
3100
- ), _t = (
3114
+ ), wt = (
3101
3115
  // native
3102
- Qn ? Object.fromEntries : (
3116
+ Yn ? Object.fromEntries : (
3103
3117
  // Ponyfill
3104
3118
  function(t) {
3105
3119
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3109,7 +3123,7 @@ var vt = zn ? (
3109
3123
  return r;
3110
3124
  }
3111
3125
  )
3112
- ), nr = Jn ? (
3126
+ ), sr = qn ? (
3113
3127
  // Native
3114
3128
  function(t, r) {
3115
3129
  return t.codePointAt(r);
@@ -3123,7 +3137,7 @@ var vt = zn ? (
3123
3137
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3124
3138
  }
3125
3139
  }
3126
- ), ri = Yn ? (
3140
+ ), ii = Kn ? (
3127
3141
  // Native
3128
3142
  function(t) {
3129
3143
  return t.trimStart();
@@ -3131,9 +3145,9 @@ var vt = zn ? (
3131
3145
  ) : (
3132
3146
  // Ponyfill
3133
3147
  function(t) {
3134
- return t.replace(Xn, "");
3148
+ return t.replace(zn, "");
3135
3149
  }
3136
- ), ni = qn ? (
3150
+ ), oi = ei ? (
3137
3151
  // Native
3138
3152
  function(t) {
3139
3153
  return t.trimEnd();
@@ -3141,32 +3155,32 @@ var vt = zn ? (
3141
3155
  ) : (
3142
3156
  // Ponyfill
3143
3157
  function(t) {
3144
- return t.replace(Wn, "");
3158
+ return t.replace(Zn, "");
3145
3159
  }
3146
3160
  );
3147
- function ir(e, t) {
3161
+ function ar(e, t) {
3148
3162
  return new RegExp(e, t);
3149
3163
  }
3150
- var Ve;
3151
- if (je) {
3152
- var Et = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3153
- Ve = function(t, r) {
3164
+ var Xe;
3165
+ if (ke) {
3166
+ var St = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3167
+ Xe = function(t, r) {
3154
3168
  var n;
3155
- Et.lastIndex = r;
3156
- var i = Et.exec(t);
3169
+ St.lastIndex = r;
3170
+ var i = St.exec(t);
3157
3171
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3158
3172
  };
3159
3173
  } else
3160
- Ve = function(t, r) {
3174
+ Xe = function(t, r) {
3161
3175
  for (var n = []; ; ) {
3162
- var i = nr(t, r);
3163
- if (i === void 0 || or(i) || ai(i))
3176
+ var i = sr(t, r);
3177
+ if (i === void 0 || ur(i) || hi(i))
3164
3178
  break;
3165
3179
  n.push(i), r += i >= 65536 ? 2 : 1;
3166
3180
  }
3167
- return ke.apply(void 0, n);
3181
+ return Ve.apply(void 0, n);
3168
3182
  };
3169
- var ii = (
3183
+ var si = (
3170
3184
  /** @class */
3171
3185
  function() {
3172
3186
  function e(t, r) {
@@ -3190,14 +3204,14 @@ var ii = (
3190
3204
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3191
3205
  var a = this.clonePosition();
3192
3206
  this.bump(), i.push({
3193
- type: v.pound,
3207
+ type: x.pound,
3194
3208
  location: g(a, this.clonePosition())
3195
3209
  });
3196
3210
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3197
3211
  if (n)
3198
3212
  break;
3199
- return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3200
- } else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
3213
+ return this.error(d.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3214
+ } else if (o === 60 && !this.ignoreTag && We(this.peek() || 0)) {
3201
3215
  var s = this.parseTag(t, r);
3202
3216
  if (s.err)
3203
3217
  return s;
@@ -3218,7 +3232,7 @@ var ii = (
3218
3232
  if (this.bumpSpace(), this.bumpIf("/>"))
3219
3233
  return {
3220
3234
  val: {
3221
- type: v.literal,
3235
+ type: x.literal,
3222
3236
  value: "<".concat(i, "/>"),
3223
3237
  location: g(n, this.clonePosition())
3224
3238
  },
@@ -3230,25 +3244,25 @@ var ii = (
3230
3244
  return o;
3231
3245
  var s = o.val, a = this.clonePosition();
3232
3246
  if (this.bumpIf("</")) {
3233
- if (this.isEOF() || !Xe(this.char()))
3234
- return this.error(p.INVALID_TAG, g(a, this.clonePosition()));
3247
+ if (this.isEOF() || !We(this.char()))
3248
+ return this.error(d.INVALID_TAG, g(a, this.clonePosition()));
3235
3249
  var h = this.clonePosition(), u = this.parseTagName();
3236
- return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3250
+ return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3237
3251
  val: {
3238
- type: v.tag,
3252
+ type: x.tag,
3239
3253
  value: i,
3240
3254
  children: s,
3241
3255
  location: g(n, this.clonePosition())
3242
3256
  },
3243
3257
  err: null
3244
- } : this.error(p.INVALID_TAG, g(a, this.clonePosition())));
3258
+ } : this.error(d.INVALID_TAG, g(a, this.clonePosition())));
3245
3259
  } else
3246
- return this.error(p.UNCLOSED_TAG, g(n, this.clonePosition()));
3260
+ return this.error(d.UNCLOSED_TAG, g(n, this.clonePosition()));
3247
3261
  } else
3248
- return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
3262
+ return this.error(d.INVALID_TAG, g(n, this.clonePosition()));
3249
3263
  }, e.prototype.parseTagName = function() {
3250
3264
  var t = this.offset();
3251
- for (this.bump(); !this.isEOF() && si(this.char()); )
3265
+ for (this.bump(); !this.isEOF() && ui(this.char()); )
3252
3266
  this.bump();
3253
3267
  return this.message.slice(t, this.offset());
3254
3268
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3272,12 +3286,12 @@ var ii = (
3272
3286
  }
3273
3287
  var h = g(n, this.clonePosition());
3274
3288
  return {
3275
- val: { type: v.literal, value: i, location: h },
3289
+ val: { type: x.literal, value: i, location: h },
3276
3290
  err: null
3277
3291
  };
3278
3292
  }, e.prototype.tryParseLeftAngleBracket = function() {
3279
3293
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3280
- !oi(this.peek() || 0)) ? (this.bump(), "<") : null;
3294
+ !ai(this.peek() || 0)) ? (this.bump(), "<") : null;
3281
3295
  }, e.prototype.tryParseQuote = function(t) {
3282
3296
  if (this.isEOF() || this.char() !== 39)
3283
3297
  return null;
@@ -3311,28 +3325,28 @@ var ii = (
3311
3325
  r.push(n);
3312
3326
  this.bump();
3313
3327
  }
3314
- return ke.apply(void 0, r);
3328
+ return Ve.apply(void 0, r);
3315
3329
  }, e.prototype.tryParseUnquoted = function(t, r) {
3316
3330
  if (this.isEOF())
3317
3331
  return null;
3318
3332
  var n = this.char();
3319
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ke(n));
3333
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ve(n));
3320
3334
  }, e.prototype.parseArgument = function(t, r) {
3321
3335
  var n = this.clonePosition();
3322
3336
  if (this.bump(), this.bumpSpace(), this.isEOF())
3323
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3337
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3324
3338
  if (this.char() === 125)
3325
- return this.bump(), this.error(p.EMPTY_ARGUMENT, g(n, this.clonePosition()));
3339
+ return this.bump(), this.error(d.EMPTY_ARGUMENT, g(n, this.clonePosition()));
3326
3340
  var i = this.parseIdentifierIfPossible().value;
3327
3341
  if (!i)
3328
- return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3342
+ return this.error(d.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3329
3343
  if (this.bumpSpace(), this.isEOF())
3330
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3344
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3331
3345
  switch (this.char()) {
3332
3346
  case 125:
3333
3347
  return this.bump(), {
3334
3348
  val: {
3335
- type: v.argument,
3349
+ type: x.argument,
3336
3350
  // value does not include the opening and closing braces.
3337
3351
  value: i,
3338
3352
  location: g(n, this.clonePosition())
@@ -3340,12 +3354,12 @@ var ii = (
3340
3354
  err: null
3341
3355
  };
3342
3356
  case 44:
3343
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3357
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3344
3358
  default:
3345
- return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3359
+ return this.error(d.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3346
3360
  }
3347
3361
  }, e.prototype.parseIdentifierIfPossible = function() {
3348
- var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
3362
+ var t = this.clonePosition(), r = this.offset(), n = Xe(this.message, r), i = r + n.length;
3349
3363
  this.bumpTo(i);
3350
3364
  var o = this.clonePosition(), s = g(t, o);
3351
3365
  return { value: n, location: s };
@@ -3353,7 +3367,7 @@ var ii = (
3353
3367
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3354
3368
  switch (a) {
3355
3369
  case "":
3356
- return this.error(p.EXPECT_ARGUMENT_TYPE, g(s, h));
3370
+ return this.error(d.EXPECT_ARGUMENT_TYPE, g(s, h));
3357
3371
  case "number":
3358
3372
  case "date":
3359
3373
  case "time": {
@@ -3361,47 +3375,47 @@ var ii = (
3361
3375
  var u = null;
3362
3376
  if (this.bumpIf(",")) {
3363
3377
  this.bumpSpace();
3364
- var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3365
- if (f.err)
3366
- return f;
3367
- var c = ni(f.val);
3368
- if (c.length === 0)
3369
- return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3370
- var d = g(l, this.clonePosition());
3371
- u = { style: c, styleLocation: d };
3378
+ var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3379
+ if (c.err)
3380
+ return c;
3381
+ var f = oi(c.val);
3382
+ if (f.length === 0)
3383
+ return this.error(d.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3384
+ var p = g(l, this.clonePosition());
3385
+ u = { style: f, styleLocation: p };
3372
3386
  }
3373
3387
  var m = this.tryParseArgumentClose(i);
3374
3388
  if (m.err)
3375
3389
  return m;
3376
3390
  var y = g(i, this.clonePosition());
3377
- if (u && vt(u == null ? void 0 : u.style, "::", 0)) {
3378
- var E = ri(u.style.slice(2));
3391
+ if (u && Et(u == null ? void 0 : u.style, "::", 0)) {
3392
+ var E = ii(u.style.slice(2));
3379
3393
  if (a === "number") {
3380
- var f = this.parseNumberSkeletonFromString(E, u.styleLocation);
3381
- return f.err ? f : {
3382
- val: { type: v.number, value: n, location: y, style: f.val },
3394
+ var c = this.parseNumberSkeletonFromString(E, u.styleLocation);
3395
+ return c.err ? c : {
3396
+ val: { type: x.number, value: n, location: y, style: c.val },
3383
3397
  err: null
3384
3398
  };
3385
3399
  } else {
3386
3400
  if (E.length === 0)
3387
- return this.error(p.EXPECT_DATE_TIME_SKELETON, y);
3401
+ return this.error(d.EXPECT_DATE_TIME_SKELETON, y);
3388
3402
  var A = E;
3389
- this.locale && (A = kn(E, this.locale));
3390
- var c = {
3403
+ this.locale && (A = Xn(E, this.locale));
3404
+ var f = {
3391
3405
  type: z.dateTime,
3392
3406
  pattern: A,
3393
3407
  location: u.styleLocation,
3394
- parsedOptions: this.shouldParseSkeletons ? Rn(A) : {}
3395
- }, P = a === "date" ? v.date : v.time;
3408
+ parsedOptions: this.shouldParseSkeletons ? Gn(A) : {}
3409
+ }, P = a === "date" ? x.date : x.time;
3396
3410
  return {
3397
- val: { type: P, value: n, location: y, style: c },
3411
+ val: { type: P, value: n, location: y, style: f },
3398
3412
  err: null
3399
3413
  };
3400
3414
  }
3401
3415
  }
3402
3416
  return {
3403
3417
  val: {
3404
- type: a === "number" ? v.number : a === "date" ? v.date : v.time,
3418
+ type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3405
3419
  value: n,
3406
3420
  location: y,
3407
3421
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
@@ -3412,19 +3426,19 @@ var ii = (
3412
3426
  case "plural":
3413
3427
  case "selectordinal":
3414
3428
  case "select": {
3415
- var S = this.clonePosition();
3429
+ var T = this.clonePosition();
3416
3430
  if (this.bumpSpace(), !this.bumpIf(","))
3417
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(S, x({}, S)));
3431
+ return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T, v({}, T)));
3418
3432
  this.bumpSpace();
3419
- var L = this.parseIdentifierIfPossible(), T = 0;
3433
+ var L = this.parseIdentifierIfPossible(), w = 0;
3420
3434
  if (a !== "select" && L.value === "offset") {
3421
3435
  if (!this.bumpIf(":"))
3422
- return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3436
+ return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3423
3437
  this.bumpSpace();
3424
- var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3425
- if (f.err)
3426
- return f;
3427
- this.bumpSpace(), L = this.parseIdentifierIfPossible(), T = f.val;
3438
+ var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3439
+ if (c.err)
3440
+ return c;
3441
+ this.bumpSpace(), L = this.parseIdentifierIfPossible(), w = c.val;
3428
3442
  }
3429
3443
  var _ = this.tryParsePluralOrSelectOptions(t, a, r, L);
3430
3444
  if (_.err)
@@ -3435,18 +3449,18 @@ var ii = (
3435
3449
  var C = g(i, this.clonePosition());
3436
3450
  return a === "select" ? {
3437
3451
  val: {
3438
- type: v.select,
3452
+ type: x.select,
3439
3453
  value: n,
3440
- options: _t(_.val),
3454
+ options: wt(_.val),
3441
3455
  location: C
3442
3456
  },
3443
3457
  err: null
3444
3458
  } : {
3445
3459
  val: {
3446
- type: v.plural,
3460
+ type: x.plural,
3447
3461
  value: n,
3448
- options: _t(_.val),
3449
- offset: T,
3462
+ options: wt(_.val),
3463
+ offset: w,
3450
3464
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3451
3465
  location: C
3452
3466
  },
@@ -3454,10 +3468,10 @@ var ii = (
3454
3468
  };
3455
3469
  }
3456
3470
  default:
3457
- return this.error(p.INVALID_ARGUMENT_TYPE, g(s, h));
3471
+ return this.error(d.INVALID_ARGUMENT_TYPE, g(s, h));
3458
3472
  }
3459
3473
  }, e.prototype.tryParseArgumentClose = function(t) {
3460
- return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3474
+ return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3461
3475
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3462
3476
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3463
3477
  var n = this.char();
@@ -3466,7 +3480,7 @@ var ii = (
3466
3480
  this.bump();
3467
3481
  var i = this.clonePosition();
3468
3482
  if (!this.bumpUntil("'"))
3469
- return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
3483
+ return this.error(d.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
3470
3484
  this.bump();
3471
3485
  break;
3472
3486
  }
@@ -3496,52 +3510,52 @@ var ii = (
3496
3510
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3497
3511
  var n = [];
3498
3512
  try {
3499
- n = Gn(t);
3513
+ n = Dn(t);
3500
3514
  } catch (i) {
3501
- return this.error(p.INVALID_NUMBER_SKELETON, r);
3515
+ return this.error(d.INVALID_NUMBER_SKELETON, r);
3502
3516
  }
3503
3517
  return {
3504
3518
  val: {
3505
3519
  type: z.number,
3506
3520
  tokens: n,
3507
3521
  location: r,
3508
- parsedOptions: this.shouldParseSkeletons ? jn(n) : {}
3522
+ parsedOptions: this.shouldParseSkeletons ? Vn(n) : {}
3509
3523
  },
3510
3524
  err: null
3511
3525
  };
3512
3526
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3513
3527
  for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3514
3528
  if (u.length === 0) {
3515
- var f = this.clonePosition();
3529
+ var c = this.clonePosition();
3516
3530
  if (r !== "select" && this.bumpIf("=")) {
3517
- var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
3518
- if (c.err)
3519
- return c;
3520
- l = g(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3531
+ var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
3532
+ if (f.err)
3533
+ return f;
3534
+ l = g(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3521
3535
  } else
3522
3536
  break;
3523
3537
  }
3524
3538
  if (h.has(u))
3525
- return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3539
+ return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3526
3540
  u === "other" && (s = !0), this.bumpSpace();
3527
- var d = this.clonePosition();
3541
+ var p = this.clonePosition();
3528
3542
  if (!this.bumpIf("{"))
3529
- return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3543
+ return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3530
3544
  var m = this.parseMessage(t + 1, r, n);
3531
3545
  if (m.err)
3532
3546
  return m;
3533
- var y = this.tryParseArgumentClose(d);
3547
+ var y = this.tryParseArgumentClose(p);
3534
3548
  if (y.err)
3535
3549
  return y;
3536
3550
  a.push([
3537
3551
  u,
3538
3552
  {
3539
3553
  value: m.val,
3540
- location: g(d, this.clonePosition())
3554
+ location: g(p, this.clonePosition())
3541
3555
  }
3542
3556
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3543
3557
  }
3544
- return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(p.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3558
+ return a.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(d.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3545
3559
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3546
3560
  var n = 1, i = this.clonePosition();
3547
3561
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3553,7 +3567,7 @@ var ii = (
3553
3567
  break;
3554
3568
  }
3555
3569
  var h = g(i, this.clonePosition());
3556
- return o ? (s *= n, ei(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3570
+ return o ? (s *= n, ri(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3557
3571
  }, e.prototype.offset = function() {
3558
3572
  return this.position.offset;
3559
3573
  }, e.prototype.isEOF = function() {
@@ -3568,7 +3582,7 @@ var ii = (
3568
3582
  var t = this.position.offset;
3569
3583
  if (t >= this.message.length)
3570
3584
  throw Error("out of bound");
3571
- var r = nr(this.message, t);
3585
+ var r = sr(this.message, t);
3572
3586
  if (r === void 0)
3573
3587
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3574
3588
  return r;
@@ -3587,7 +3601,7 @@ var ii = (
3587
3601
  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);
3588
3602
  }
3589
3603
  }, e.prototype.bumpIf = function(t) {
3590
- if (vt(this.message, t, this.offset())) {
3604
+ if (Et(this.message, t, this.offset())) {
3591
3605
  for (var r = 0; r < t.length; r++)
3592
3606
  this.bump();
3593
3607
  return !0;
@@ -3609,7 +3623,7 @@ var ii = (
3609
3623
  break;
3610
3624
  }
3611
3625
  }, e.prototype.bumpSpace = function() {
3612
- for (; !this.isEOF() && or(this.char()); )
3626
+ for (; !this.isEOF() && ur(this.char()); )
3613
3627
  this.bump();
3614
3628
  }, e.prototype.peek = function() {
3615
3629
  if (this.isEOF())
@@ -3619,44 +3633,44 @@ var ii = (
3619
3633
  }, e;
3620
3634
  }()
3621
3635
  );
3622
- function Xe(e) {
3636
+ function We(e) {
3623
3637
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3624
3638
  }
3625
- function oi(e) {
3626
- return Xe(e) || e === 47;
3639
+ function ai(e) {
3640
+ return We(e) || e === 47;
3627
3641
  }
3628
- function si(e) {
3642
+ function ui(e) {
3629
3643
  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;
3630
3644
  }
3631
- function or(e) {
3645
+ function ur(e) {
3632
3646
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3633
3647
  }
3634
- function ai(e) {
3648
+ function hi(e) {
3635
3649
  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;
3636
3650
  }
3637
- function We(e) {
3651
+ function ze(e) {
3638
3652
  e.forEach(function(t) {
3639
- if (delete t.location, Qt(t) || Jt(t))
3653
+ if (delete t.location, qt(t) || Kt(t))
3640
3654
  for (var r in t.options)
3641
- delete t.options[r].location, We(t.options[r].value);
3655
+ delete t.options[r].location, ze(t.options[r].value);
3642
3656
  else
3643
- Wt(t) && qt(t.style) || (zt(t) || Zt(t)) && Fe(t.style) ? delete t.style.location : Yt(t) && We(t.children);
3657
+ Qt(t) && tr(t.style) || (Jt(t) || Yt(t)) && je(t.style) ? delete t.style.location : er(t) && ze(t.children);
3644
3658
  });
3645
3659
  }
3646
- function ui(e, t) {
3647
- t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3648
- var r = new ii(e, t).parse();
3660
+ function li(e, t) {
3661
+ t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3662
+ var r = new si(e, t).parse();
3649
3663
  if (r.err) {
3650
- var n = SyntaxError(p[r.err.kind]);
3664
+ var n = SyntaxError(d[r.err.kind]);
3651
3665
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3652
3666
  }
3653
- return t != null && t.captureLocation || We(r.val), r.val;
3667
+ return t != null && t.captureLocation || ze(r.val), r.val;
3654
3668
  }
3655
3669
  var Z;
3656
3670
  (function(e) {
3657
3671
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3658
3672
  })(Z || (Z = {}));
3659
- var xe = (
3673
+ var ve = (
3660
3674
  /** @class */
3661
3675
  function(e) {
3662
3676
  $(t, e);
@@ -3668,7 +3682,7 @@ var xe = (
3668
3682
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3669
3683
  }, t;
3670
3684
  }(Error)
3671
- ), wt = (
3685
+ ), Tt = (
3672
3686
  /** @class */
3673
3687
  function(e) {
3674
3688
  $(t, e);
@@ -3676,8 +3690,8 @@ var xe = (
3676
3690
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Z.INVALID_VALUE, o) || this;
3677
3691
  }
3678
3692
  return t;
3679
- }(xe)
3680
- ), hi = (
3693
+ }(ve)
3694
+ ), ci = (
3681
3695
  /** @class */
3682
3696
  function(e) {
3683
3697
  $(t, e);
@@ -3685,8 +3699,8 @@ var xe = (
3685
3699
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Z.INVALID_VALUE, i) || this;
3686
3700
  }
3687
3701
  return t;
3688
- }(xe)
3689
- ), li = (
3702
+ }(ve)
3703
+ ), fi = (
3690
3704
  /** @class */
3691
3705
  function(e) {
3692
3706
  $(t, e);
@@ -3694,22 +3708,22 @@ var xe = (
3694
3708
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Z.MISSING_VALUE, n) || this;
3695
3709
  }
3696
3710
  return t;
3697
- }(xe)
3711
+ }(ve)
3698
3712
  ), H;
3699
3713
  (function(e) {
3700
3714
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3701
3715
  })(H || (H = {}));
3702
- function fi(e) {
3716
+ function mi(e) {
3703
3717
  return e.length < 2 ? e : e.reduce(function(t, r) {
3704
3718
  var n = t[t.length - 1];
3705
3719
  return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3706
3720
  }, []);
3707
3721
  }
3708
- function ci(e) {
3722
+ function pi(e) {
3709
3723
  return typeof e == "function";
3710
3724
  }
3711
- function ce(e, t, r, n, i, o, s) {
3712
- if (e.length === 1 && bt(e[0]))
3725
+ function fe(e, t, r, n, i, o, s) {
3726
+ if (e.length === 1 && yt(e[0]))
3713
3727
  return [
3714
3728
  {
3715
3729
  type: H.literal,
@@ -3718,105 +3732,105 @@ function ce(e, t, r, n, i, o, s) {
3718
3732
  ];
3719
3733
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3720
3734
  var l = u[h];
3721
- if (bt(l)) {
3735
+ if (yt(l)) {
3722
3736
  a.push({
3723
3737
  type: H.literal,
3724
3738
  value: l.value
3725
3739
  });
3726
3740
  continue;
3727
3741
  }
3728
- if (Mn(l)) {
3742
+ if (Rn(l)) {
3729
3743
  typeof o == "number" && a.push({
3730
3744
  type: H.literal,
3731
3745
  value: r.getNumberFormat(t).format(o)
3732
3746
  });
3733
3747
  continue;
3734
3748
  }
3735
- var f = l.value;
3736
- if (!(i && f in i))
3737
- throw new li(f, s);
3738
- var c = i[f];
3739
- if (In(l)) {
3740
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3741
- type: typeof c == "string" ? H.literal : H.object,
3742
- value: c
3749
+ var c = l.value;
3750
+ if (!(i && c in i))
3751
+ throw new fi(c, s);
3752
+ var f = i[c];
3753
+ if (Nn(l)) {
3754
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3755
+ type: typeof f == "string" ? H.literal : H.object,
3756
+ value: f
3743
3757
  });
3744
3758
  continue;
3745
3759
  }
3746
- if (zt(l)) {
3747
- var d = typeof l.style == "string" ? n.date[l.style] : Fe(l.style) ? l.style.parsedOptions : void 0;
3760
+ if (Jt(l)) {
3761
+ var p = typeof l.style == "string" ? n.date[l.style] : je(l.style) ? l.style.parsedOptions : void 0;
3748
3762
  a.push({
3749
3763
  type: H.literal,
3750
- value: r.getDateTimeFormat(t, d).format(c)
3764
+ value: r.getDateTimeFormat(t, p).format(f)
3751
3765
  });
3752
3766
  continue;
3753
3767
  }
3754
- if (Zt(l)) {
3755
- var d = typeof l.style == "string" ? n.time[l.style] : Fe(l.style) ? l.style.parsedOptions : n.time.medium;
3768
+ if (Yt(l)) {
3769
+ var p = typeof l.style == "string" ? n.time[l.style] : je(l.style) ? l.style.parsedOptions : n.time.medium;
3756
3770
  a.push({
3757
3771
  type: H.literal,
3758
- value: r.getDateTimeFormat(t, d).format(c)
3772
+ value: r.getDateTimeFormat(t, p).format(f)
3759
3773
  });
3760
3774
  continue;
3761
3775
  }
3762
- if (Wt(l)) {
3763
- var d = typeof l.style == "string" ? n.number[l.style] : qt(l.style) ? l.style.parsedOptions : void 0;
3764
- d && d.scale && (c = c * (d.scale || 1)), a.push({
3776
+ if (Qt(l)) {
3777
+ var p = typeof l.style == "string" ? n.number[l.style] : tr(l.style) ? l.style.parsedOptions : void 0;
3778
+ p && p.scale && (f = f * (p.scale || 1)), a.push({
3765
3779
  type: H.literal,
3766
- value: r.getNumberFormat(t, d).format(c)
3780
+ value: r.getNumberFormat(t, p).format(f)
3767
3781
  });
3768
3782
  continue;
3769
3783
  }
3770
- if (Yt(l)) {
3784
+ if (er(l)) {
3771
3785
  var m = l.children, y = l.value, E = i[y];
3772
- if (!ci(E))
3773
- throw new hi(y, "function", s);
3774
- var A = ce(m, t, r, n, i, o), P = E(A.map(function(T) {
3775
- return T.value;
3786
+ if (!pi(E))
3787
+ throw new ci(y, "function", s);
3788
+ var A = fe(m, t, r, n, i, o), P = E(A.map(function(w) {
3789
+ return w.value;
3776
3790
  }));
3777
- Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(T) {
3791
+ Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(w) {
3778
3792
  return {
3779
- type: typeof T == "string" ? H.literal : H.object,
3780
- value: T
3793
+ type: typeof w == "string" ? H.literal : H.object,
3794
+ value: w
3781
3795
  };
3782
3796
  }));
3783
3797
  }
3784
- if (Qt(l)) {
3785
- var S = l.options[c] || l.options.other;
3786
- if (!S)
3787
- throw new wt(l.value, c, Object.keys(l.options), s);
3788
- a.push.apply(a, ce(S.value, t, r, n, i));
3798
+ if (qt(l)) {
3799
+ var T = l.options[f] || l.options.other;
3800
+ if (!T)
3801
+ throw new Tt(l.value, f, Object.keys(l.options), s);
3802
+ a.push.apply(a, fe(T.value, t, r, n, i));
3789
3803
  continue;
3790
3804
  }
3791
- if (Jt(l)) {
3792
- var S = l.options["=".concat(c)];
3793
- if (!S) {
3805
+ if (Kt(l)) {
3806
+ var T = l.options["=".concat(f)];
3807
+ if (!T) {
3794
3808
  if (!Intl.PluralRules)
3795
- throw new xe(`Intl.PluralRules is not available in this environment.
3809
+ throw new ve(`Intl.PluralRules is not available in this environment.
3796
3810
  Try polyfilling it using "@formatjs/intl-pluralrules"
3797
3811
  `, Z.MISSING_INTL_API, s);
3798
- var L = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3799
- S = l.options[L] || l.options.other;
3812
+ var L = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3813
+ T = l.options[L] || l.options.other;
3800
3814
  }
3801
- if (!S)
3802
- throw new wt(l.value, c, Object.keys(l.options), s);
3803
- a.push.apply(a, ce(S.value, t, r, n, i, c - (l.offset || 0)));
3815
+ if (!T)
3816
+ throw new Tt(l.value, f, Object.keys(l.options), s);
3817
+ a.push.apply(a, fe(T.value, t, r, n, i, f - (l.offset || 0)));
3804
3818
  continue;
3805
3819
  }
3806
3820
  }
3807
- return fi(a);
3821
+ return mi(a);
3808
3822
  }
3809
- function mi(e, t) {
3810
- return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3811
- return r[n] = x(x({}, e[n]), t[n] || {}), r;
3823
+ function di(e, t) {
3824
+ return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3825
+ return r[n] = v(v({}, e[n]), t[n] || {}), r;
3812
3826
  }, {})) : e;
3813
3827
  }
3814
- function di(e, t) {
3828
+ function bi(e, t) {
3815
3829
  return t ? Object.keys(e).reduce(function(r, n) {
3816
- return r[n] = mi(e[n], t[n]), r;
3817
- }, x({}, e)) : e;
3830
+ return r[n] = di(e[n], t[n]), r;
3831
+ }, v({}, e)) : e;
3818
3832
  }
3819
- function Le(e) {
3833
+ function Oe(e) {
3820
3834
  return {
3821
3835
  create: function() {
3822
3836
  return {
@@ -3830,39 +3844,39 @@ function Le(e) {
3830
3844
  }
3831
3845
  };
3832
3846
  }
3833
- function pi(e) {
3847
+ function gi(e) {
3834
3848
  return e === void 0 && (e = {
3835
3849
  number: {},
3836
3850
  dateTime: {},
3837
3851
  pluralRules: {}
3838
3852
  }), {
3839
- getNumberFormat: Ce(function() {
3853
+ getNumberFormat: Ae(function() {
3840
3854
  for (var t, r = [], n = 0; n < arguments.length; n++)
3841
3855
  r[n] = arguments[n];
3842
3856
  return new ((t = Intl.NumberFormat).bind.apply(t, X([void 0], r, !1)))();
3843
3857
  }, {
3844
- cache: Le(e.number),
3845
- strategy: Ae.variadic
3858
+ cache: Oe(e.number),
3859
+ strategy: Pe.variadic
3846
3860
  }),
3847
- getDateTimeFormat: Ce(function() {
3861
+ getDateTimeFormat: Ae(function() {
3848
3862
  for (var t, r = [], n = 0; n < arguments.length; n++)
3849
3863
  r[n] = arguments[n];
3850
3864
  return new ((t = Intl.DateTimeFormat).bind.apply(t, X([void 0], r, !1)))();
3851
3865
  }, {
3852
- cache: Le(e.dateTime),
3853
- strategy: Ae.variadic
3866
+ cache: Oe(e.dateTime),
3867
+ strategy: Pe.variadic
3854
3868
  }),
3855
- getPluralRules: Ce(function() {
3869
+ getPluralRules: Ae(function() {
3856
3870
  for (var t, r = [], n = 0; n < arguments.length; n++)
3857
3871
  r[n] = arguments[n];
3858
3872
  return new ((t = Intl.PluralRules).bind.apply(t, X([void 0], r, !1)))();
3859
3873
  }, {
3860
- cache: Le(e.pluralRules),
3861
- strategy: Ae.variadic
3874
+ cache: Oe(e.pluralRules),
3875
+ strategy: Pe.variadic
3862
3876
  })
3863
3877
  };
3864
3878
  }
3865
- var bi = (
3879
+ var yi = (
3866
3880
  /** @class */
3867
3881
  function() {
3868
3882
  function e(t, r, n, i) {
@@ -3876,12 +3890,12 @@ var bi = (
3876
3890
  var u = o.formatToParts(h);
3877
3891
  if (u.length === 1)
3878
3892
  return u[0].value;
3879
- var l = u.reduce(function(f, c) {
3880
- return !f.length || c.type !== H.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3893
+ var l = u.reduce(function(c, f) {
3894
+ return !c.length || f.type !== H.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3881
3895
  }, []);
3882
3896
  return l.length <= 1 ? l[0] || "" : l;
3883
3897
  }, this.formatToParts = function(h) {
3884
- return ce(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3898
+ return fe(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3885
3899
  }, this.resolvedOptions = function() {
3886
3900
  var h;
3887
3901
  return {
@@ -3894,13 +3908,13 @@ var bi = (
3894
3908
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3895
3909
  var s = i || {};
3896
3910
  s.formatters;
3897
- var a = zr(s, ["formatters"]);
3898
- this.ast = e.__parse(t, x(x({}, a), { locale: this.resolvedLocale }));
3911
+ var a = Jr(s, ["formatters"]);
3912
+ this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3899
3913
  } else
3900
3914
  this.ast = t;
3901
3915
  if (!Array.isArray(this.ast))
3902
3916
  throw new TypeError("A message must be provided as a String or AST.");
3903
- this.formats = di(e.formats, n), this.formatters = i && i.formatters || pi(this.formatterCache);
3917
+ this.formats = bi(e.formats, n), this.formatters = i && i.formatters || gi(this.formatterCache);
3904
3918
  }
3905
3919
  return Object.defineProperty(e, "defaultLocale", {
3906
3920
  get: function() {
@@ -3913,7 +3927,7 @@ var bi = (
3913
3927
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3914
3928
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3915
3929
  }
3916
- }, e.__parse = ui, e.formats = {
3930
+ }, e.__parse = li, e.formats = {
3917
3931
  number: {
3918
3932
  integer: {
3919
3933
  maximumFractionDigits: 0
@@ -3974,7 +3988,7 @@ var bi = (
3974
3988
  }, e;
3975
3989
  }()
3976
3990
  );
3977
- function gi(e, t) {
3991
+ function vi(e, t) {
3978
3992
  if (t == null)
3979
3993
  return;
3980
3994
  if (t in e)
@@ -3995,92 +4009,92 @@ function gi(e, t) {
3995
4009
  n = void 0;
3996
4010
  return n;
3997
4011
  }
3998
- const G = {}, yi = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), sr = (e, t) => {
4012
+ const G = {}, xi = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), hr = (e, t) => {
3999
4013
  if (t == null)
4000
4014
  return;
4001
4015
  if (t in G && e in G[t])
4002
4016
  return G[t][e];
4003
- const r = ve(t);
4017
+ const r = xe(t);
4004
4018
  for (let n = 0; n < r.length; n++) {
4005
- const i = r[n], o = vi(i, e);
4019
+ const i = r[n], o = Ei(i, e);
4006
4020
  if (o)
4007
- return yi(e, t, o);
4021
+ return xi(e, t, o);
4008
4022
  }
4009
4023
  };
4010
- let qe;
4024
+ let et;
4011
4025
  const oe = ye({});
4012
- function xi(e) {
4013
- return qe[e] || null;
4026
+ function _i(e) {
4027
+ return et[e] || null;
4014
4028
  }
4015
- function ar(e) {
4016
- return e in qe;
4029
+ function lr(e) {
4030
+ return e in et;
4017
4031
  }
4018
- function vi(e, t) {
4019
- if (!ar(e))
4032
+ function Ei(e, t) {
4033
+ if (!lr(e))
4020
4034
  return null;
4021
- const r = xi(e);
4022
- return gi(r, t);
4035
+ const r = _i(e);
4036
+ return vi(r, t);
4023
4037
  }
4024
- function _i(e) {
4038
+ function wi(e) {
4025
4039
  if (e == null)
4026
4040
  return;
4027
- const t = ve(e);
4041
+ const t = xe(e);
4028
4042
  for (let r = 0; r < t.length; r++) {
4029
4043
  const n = t[r];
4030
- if (ar(n))
4044
+ if (lr(n))
4031
4045
  return n;
4032
4046
  }
4033
4047
  }
4034
- function ur(e, ...t) {
4035
- delete G[e], oe.update((r) => (r[e] = Tn.all([r[e] || {}, ...t]), r));
4048
+ function cr(e, ...t) {
4049
+ delete G[e], oe.update((r) => (r[e] = Cn.all([r[e] || {}, ...t]), r));
4036
4050
  }
4037
4051
  Y(
4038
4052
  [oe],
4039
4053
  ([e]) => Object.keys(e)
4040
4054
  );
4041
- oe.subscribe((e) => qe = e);
4055
+ oe.subscribe((e) => et = e);
4042
4056
  const me = {};
4043
- function Ei(e, t) {
4057
+ function Si(e, t) {
4044
4058
  me[e].delete(t), me[e].size === 0 && delete me[e];
4045
4059
  }
4046
- function hr(e) {
4060
+ function fr(e) {
4047
4061
  return me[e];
4048
4062
  }
4049
- function wi(e) {
4050
- return ve(e).map((t) => {
4051
- const r = hr(t);
4063
+ function Ti(e) {
4064
+ return xe(e).map((t) => {
4065
+ const r = fr(t);
4052
4066
  return [t, r ? [...r] : []];
4053
4067
  }).filter(([, t]) => t.length > 0);
4054
4068
  }
4055
- function ze(e) {
4056
- return e == null ? !1 : ve(e).some(
4069
+ function Ze(e) {
4070
+ return e == null ? !1 : xe(e).some(
4057
4071
  (t) => {
4058
4072
  var r;
4059
- return (r = hr(t)) == null ? void 0 : r.size;
4073
+ return (r = fr(t)) == null ? void 0 : r.size;
4060
4074
  }
4061
4075
  );
4062
4076
  }
4063
- function Si(e, t) {
4077
+ function Hi(e, t) {
4064
4078
  return Promise.all(
4065
- t.map((n) => (Ei(e, n), n().then((i) => i.default || i)))
4066
- ).then((n) => ur(e, ...n));
4079
+ t.map((n) => (Si(e, n), n().then((i) => i.default || i)))
4080
+ ).then((n) => cr(e, ...n));
4067
4081
  }
4068
4082
  const ee = {};
4069
- function lr(e) {
4070
- if (!ze(e))
4083
+ function mr(e) {
4084
+ if (!Ze(e))
4071
4085
  return e in ee ? ee[e] : Promise.resolve();
4072
- const t = wi(e);
4086
+ const t = Ti(e);
4073
4087
  return ee[e] = Promise.all(
4074
4088
  t.map(
4075
- ([r, n]) => Si(r, n)
4089
+ ([r, n]) => Hi(r, n)
4076
4090
  )
4077
4091
  ).then(() => {
4078
- if (ze(e))
4079
- return lr(e);
4092
+ if (Ze(e))
4093
+ return mr(e);
4080
4094
  delete ee[e];
4081
4095
  }), ee[e];
4082
4096
  }
4083
- const Ti = {
4097
+ const Bi = {
4084
4098
  number: {
4085
4099
  scientific: { notation: "scientific" },
4086
4100
  engineering: { notation: "engineering" },
@@ -4109,57 +4123,57 @@ const Ti = {
4109
4123
  timeZoneName: "short"
4110
4124
  }
4111
4125
  }
4112
- }, Hi = {
4126
+ }, Ci = {
4113
4127
  fallbackLocale: null,
4114
4128
  loadingDelay: 200,
4115
- formats: Ti,
4129
+ formats: Bi,
4116
4130
  warnOnMissingMessages: !0,
4117
4131
  handleMissingMessage: void 0,
4118
4132
  ignoreTag: !0
4119
- }, Bi = Hi;
4133
+ }, Ai = Ci;
4120
4134
  function Q() {
4121
- return Bi;
4122
- }
4123
- const Oe = ye(!1);
4124
- var Ci = Object.defineProperty, Ai = Object.defineProperties, Pi = Object.getOwnPropertyDescriptors, St = Object.getOwnPropertySymbols, Li = Object.prototype.hasOwnProperty, Oi = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ii = (e, t) => {
4125
- for (var r in t)
4126
- Li.call(t, r) && Tt(e, r, t[r]);
4127
- if (St)
4128
- for (var r of St(t))
4129
- Oi.call(t, r) && Tt(e, r, t[r]);
4135
+ return Ai;
4136
+ }
4137
+ const Ie = ye(!1);
4138
+ var Pi = Object.defineProperty, Li = Object.defineProperties, Oi = Object.getOwnPropertyDescriptors, Ht = Object.getOwnPropertySymbols, Ii = Object.prototype.hasOwnProperty, Mi = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ni = (e, t) => {
4139
+ for (var r in t || (t = {}))
4140
+ Ii.call(t, r) && Bt(e, r, t[r]);
4141
+ if (Ht)
4142
+ for (var r of Ht(t))
4143
+ Mi.call(t, r) && Bt(e, r, t[r]);
4130
4144
  return e;
4131
- }, Mi = (e, t) => Ai(e, Pi(t));
4132
- let Ze;
4133
- const de = ye(null);
4134
- function Ht(e) {
4145
+ }, Ri = (e, t) => Li(e, Oi(t));
4146
+ let Qe;
4147
+ const pe = ye(null);
4148
+ function Ct(e) {
4135
4149
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4136
4150
  }
4137
- function ve(e, t = Q().fallbackLocale) {
4138
- const r = Ht(e);
4139
- return t ? [.../* @__PURE__ */ new Set([...r, ...Ht(t)])] : r;
4151
+ function xe(e, t = Q().fallbackLocale) {
4152
+ const r = Ct(e);
4153
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ct(t)])] : r;
4140
4154
  }
4141
4155
  function U() {
4142
- return Ze != null ? Ze : void 0;
4156
+ return Qe != null ? Qe : void 0;
4143
4157
  }
4144
- de.subscribe((e) => {
4145
- Ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4158
+ pe.subscribe((e) => {
4159
+ Qe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4146
4160
  });
4147
- const Ni = (e) => {
4148
- if (e && _i(e) && ze(e)) {
4161
+ const $i = (e) => {
4162
+ if (e && wi(e) && Ze(e)) {
4149
4163
  const { loadingDelay: t } = Q();
4150
4164
  let r;
4151
4165
  return typeof window != "undefined" && U() != null && t ? r = window.setTimeout(
4152
- () => Oe.set(!0),
4166
+ () => Ie.set(!0),
4153
4167
  t
4154
- ) : Oe.set(!0), lr(e).then(() => {
4155
- de.set(e);
4168
+ ) : Ie.set(!0), mr(e).then(() => {
4169
+ pe.set(e);
4156
4170
  }).finally(() => {
4157
- clearTimeout(r), Oe.set(!1);
4171
+ clearTimeout(r), Ie.set(!1);
4158
4172
  });
4159
4173
  }
4160
- return de.set(e);
4161
- }, q = Mi(Ii({}, de), {
4162
- set: Ni
4174
+ return pe.set(e);
4175
+ }, q = Ri(Ni({}, pe), {
4176
+ set: $i
4163
4177
  }), _e = (e) => {
4164
4178
  const t = /* @__PURE__ */ Object.create(null);
4165
4179
  return (n) => {
@@ -4167,20 +4181,20 @@ const Ni = (e) => {
4167
4181
  return i in t ? t[i] : t[i] = e(n);
4168
4182
  };
4169
4183
  };
4170
- var Ri = Object.defineProperty, pe = Object.getOwnPropertySymbols, fr = Object.prototype.hasOwnProperty, cr = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
4184
+ var Gi = Object.defineProperty, de = Object.getOwnPropertySymbols, pr = Object.prototype.hasOwnProperty, dr = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
4171
4185
  for (var r in t || (t = {}))
4172
- fr.call(t, r) && Bt(e, r, t[r]);
4173
- if (pe)
4174
- for (var r of pe(t))
4175
- cr.call(t, r) && Bt(e, r, t[r]);
4186
+ pr.call(t, r) && At(e, r, t[r]);
4187
+ if (de)
4188
+ for (var r of de(t))
4189
+ dr.call(t, r) && At(e, r, t[r]);
4176
4190
  return e;
4177
4191
  }, K = (e, t) => {
4178
4192
  var r = {};
4179
4193
  for (var n in e)
4180
- fr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4181
- if (e != null && pe)
4182
- for (var n of pe(e))
4183
- t.indexOf(n) < 0 && cr.call(e, n) && (r[n] = e[n]);
4194
+ pr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4195
+ if (e != null && de)
4196
+ for (var n of de(e))
4197
+ t.indexOf(n) < 0 && dr.call(e, n) && (r[n] = e[n]);
4184
4198
  return r;
4185
4199
  };
4186
4200
  const ie = (e, t) => {
@@ -4188,21 +4202,21 @@ const ie = (e, t) => {
4188
4202
  if (e in r && t in r[e])
4189
4203
  return r[e][t];
4190
4204
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4191
- }, $i = _e(
4205
+ }, Ui = _e(
4192
4206
  (e) => {
4193
4207
  var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4194
4208
  if (r == null)
4195
4209
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4196
4210
  return n && (i = ie("number", n)), new Intl.NumberFormat(r, i);
4197
4211
  }
4198
- ), Gi = _e(
4212
+ ), Di = _e(
4199
4213
  (e) => {
4200
4214
  var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4201
4215
  if (r == null)
4202
4216
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4203
4217
  return n ? i = ie("date", n) : Object.keys(i).length === 0 && (i = ie("date", "short")), new Intl.DateTimeFormat(r, i);
4204
4218
  }
4205
- ), Ui = _e(
4219
+ ), Fi = _e(
4206
4220
  (e) => {
4207
4221
  var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4208
4222
  if (r == null)
@@ -4211,33 +4225,33 @@ const ie = (e, t) => {
4211
4225
  );
4212
4226
  return n ? i = ie("time", n) : Object.keys(i).length === 0 && (i = ie("time", "short")), new Intl.DateTimeFormat(r, i);
4213
4227
  }
4214
- ), Di = (e = {}) => {
4228
+ ), ji = (e = {}) => {
4215
4229
  var t = e, {
4216
4230
  locale: r = U()
4217
4231
  } = t, n = K(t, [
4218
4232
  "locale"
4219
4233
  ]);
4220
- return $i(Ke({ locale: r }, n));
4221
- }, Fi = (e = {}) => {
4234
+ return Ui(tt({ locale: r }, n));
4235
+ }, ki = (e = {}) => {
4222
4236
  var t = e, {
4223
4237
  locale: r = U()
4224
4238
  } = t, n = K(t, [
4225
4239
  "locale"
4226
4240
  ]);
4227
- return Gi(Ke({ locale: r }, n));
4228
- }, ji = (e = {}) => {
4241
+ return Di(tt({ locale: r }, n));
4242
+ }, Vi = (e = {}) => {
4229
4243
  var t = e, {
4230
4244
  locale: r = U()
4231
4245
  } = t, n = K(t, [
4232
4246
  "locale"
4233
4247
  ]);
4234
- return Ui(Ke({ locale: r }, n));
4235
- }, ki = _e(
4248
+ return Fi(tt({ locale: r }, n));
4249
+ }, Xi = _e(
4236
4250
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4237
- (e, t = U()) => new bi(e, t, Q().formats, {
4251
+ (e, t = U()) => new yi(e, t, Q().formats, {
4238
4252
  ignoreTag: Q().ignoreTag
4239
4253
  })
4240
- ), Vi = (e, t = {}) => {
4254
+ ), Wi = (e, t = {}) => {
4241
4255
  var r, n, i, o;
4242
4256
  let s = t;
4243
4257
  typeof e == "object" && (s = e, e = s.id);
@@ -4250,7 +4264,7 @@ const ie = (e, t) => {
4250
4264
  throw new Error(
4251
4265
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4252
4266
  );
4253
- let l = sr(e, h);
4267
+ let l = hr(e, h);
4254
4268
  if (!l)
4255
4269
  l = (o = (i = (n = (r = Q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4256
4270
  else if (typeof l != "string")
@@ -4259,30 +4273,30 @@ const ie = (e, t) => {
4259
4273
  ), l;
4260
4274
  if (!a)
4261
4275
  return l;
4262
- let f = l;
4276
+ let c = l;
4263
4277
  try {
4264
- f = ki(l, h).format(a);
4265
- } catch (c) {
4266
- c instanceof Error && console.warn(
4278
+ c = Xi(l, h).format(a);
4279
+ } catch (f) {
4280
+ f instanceof Error && console.warn(
4267
4281
  `[svelte-i18n] Message "${e}" has syntax error:`,
4268
- c.message
4282
+ f.message
4269
4283
  );
4270
4284
  }
4271
- return f;
4272
- }, Xi = (e, t) => ji(t).format(e), Wi = (e, t) => Fi(t).format(e), zi = (e, t) => Di(t).format(e), Zi = (e, t = U()) => sr(e, t), Qi = Y([q, oe], () => Vi);
4273
- Y([q], () => Xi);
4274
- Y([q], () => Wi);
4285
+ return c;
4286
+ }, zi = (e, t) => Vi(t).format(e), Zi = (e, t) => ki(t).format(e), Qi = (e, t) => ji(t).format(e), Ji = (e, t = U()) => hr(e, t), Yi = Y([q, oe], () => Wi);
4275
4287
  Y([q], () => zi);
4276
- Y([q, oe], () => Zi);
4277
- window.emWidgets = { topic: un };
4278
- const Ji = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4279
- function Ct(e, t) {
4280
- ur(e, t);
4281
- }
4282
- function Yi(e) {
4288
+ Y([q], () => Zi);
4289
+ Y([q], () => Qi);
4290
+ Y([q, oe], () => Ji);
4291
+ window.emWidgets = { topic: cn };
4292
+ const qi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4293
+ function Pt(e, t) {
4294
+ cr(e, t);
4295
+ }
4296
+ function Ki(e) {
4283
4297
  q.set(e);
4284
4298
  }
4285
- const At = {
4299
+ const Lt = {
4286
4300
  en: {
4287
4301
  cancel: "Cancel",
4288
4302
  confirm: "Confirm"
@@ -4328,13 +4342,13 @@ const At = {
4328
4342
  confirm: "Confirm"
4329
4343
  }
4330
4344
  };
4331
- function qi(e, t) {
4345
+ function eo(e, t) {
4332
4346
  if (e) {
4333
4347
  const r = document.createElement("style");
4334
4348
  r.innerHTML = t, e.appendChild(r);
4335
4349
  }
4336
4350
  }
4337
- function Ki(e, t) {
4351
+ function to(e, t) {
4338
4352
  const r = new URL(t);
4339
4353
  fetch(r.href).then((n) => n.text()).then((n) => {
4340
4354
  const i = document.createElement("style");
@@ -4343,7 +4357,7 @@ function Ki(e, t) {
4343
4357
  console.error("There was an error while trying to load client styling from URL", n);
4344
4358
  });
4345
4359
  }
4346
- function eo(e, t, r) {
4360
+ function ro(e, t, r) {
4347
4361
  if (window.emMessageBus) {
4348
4362
  const n = document.createElement("style");
4349
4363
  window.emMessageBus.subscribe(t, (i) => {
@@ -4351,18 +4365,18 @@ function eo(e, t, r) {
4351
4365
  });
4352
4366
  }
4353
4367
  }
4354
- function to(e) {
4355
- Br(e, "svelte-n224ff", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GamingLimitsConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px)}.GamingLimitsConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GamingLimitsConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GamingLimitsConfirmationContainerMobile{padding:40px;max-width:330px}.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsCancelButton,.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GamingLimitsConfirmationContent{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea .GamingLimitsCancelButton,.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 10px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GamingLimitsConfirmationMobileWrapper{border:none;padding:0}');
4356
- }
4357
- const ro = (e) => ({}), Pt = (e) => ({});
4358
4368
  function no(e) {
4369
+ Pr(e, "svelte-n224ff", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GamingLimitsConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px)}.GamingLimitsConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GamingLimitsConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GamingLimitsConfirmationContainerMobile{padding:40px;max-width:330px}.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsCancelButton,.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GamingLimitsConfirmationContent{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea .GamingLimitsCancelButton,.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 10px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GamingLimitsConfirmationMobileWrapper{border:none;padding:0}');
4370
+ }
4371
+ const io = (e) => ({}), Ot = (e) => ({});
4372
+ function oo(e) {
4359
4373
  let t, r;
4360
4374
  return {
4361
4375
  c() {
4362
- t = st("svg"), r = st("path"), w(r, "stroke-linecap", "round"), w(r, "stroke-linejoin", "round"), w(r, "stroke-width", "2"), w(r, "d", "M6 18L18 6M6 6l12 12"), w(t, "class", "w-6 h-6"), w(t, "fill", "none"), w(t, "stroke", "currentColor"), w(t, "viewBox", "0 0 24 24"), w(t, "xmlns", "http://www.w3.org/2000/svg");
4376
+ t = ut("svg"), r = ut("path"), S(r, "stroke-linecap", "round"), S(r, "stroke-linejoin", "round"), S(r, "stroke-width", "2"), S(r, "d", "M6 18L18 6M6 6l12 12"), S(t, "class", "w-6 h-6"), S(t, "fill", "none"), S(t, "stroke", "currentColor"), S(t, "viewBox", "0 0 24 24"), S(t, "xmlns", "http://www.w3.org/2000/svg");
4363
4377
  },
4364
4378
  m(n, i) {
4365
- Je(n, t, i), B(t, r);
4379
+ Ye(n, t, i), B(t, r);
4366
4380
  },
4367
4381
  p: I,
4368
4382
  d(n) {
@@ -4370,36 +4384,36 @@ function no(e) {
4370
4384
  }
4371
4385
  };
4372
4386
  }
4373
- function io(e) {
4387
+ function so(e) {
4374
4388
  let t, r, n, i, o, s, a, h, u, l = (
4375
4389
  /*$_*/
4376
4390
  e[2]("cancel") + ""
4377
- ), f, c, d, m = (
4391
+ ), c, f, p, m = (
4378
4392
  /*$_*/
4379
4393
  e[2]("confirm") + ""
4380
4394
  ), y, E, A, P;
4381
- const S = (
4395
+ const T = (
4382
4396
  /*#slots*/
4383
4397
  e[14].close
4384
- ), L = wr(
4385
- S,
4398
+ ), L = Hr(
4399
+ T,
4386
4400
  e,
4387
4401
  /*$$scope*/
4388
4402
  e[13],
4389
- Pt
4390
- ), T = L || no();
4403
+ Ot
4404
+ ), w = L || oo();
4391
4405
  return {
4392
4406
  c() {
4393
- t = M("div"), r = M("div"), n = M("span"), T.c(), i = we(), o = M("div"), s = ue(
4407
+ t = M("div"), r = M("div"), n = M("span"), w && w.c(), i = we(), o = M("div"), s = ue(
4394
4408
  /*modaltext*/
4395
4409
  e[0]
4396
- ), a = we(), h = M("div"), u = M("button"), f = ue(l), c = we(), d = M("button"), y = ue(m), w(n, "class", "ModalCloseBtn"), w(n, "role", "button"), w(o, "class", "GamingLimitsConfirmationContent"), w(u, "class", "GamingLimitsCancelButton"), w(d, "class", "GamingLimitsConfirmButton"), w(h, "class", "GamingLimitsConfirmationControlArea " + /*isMobile*/
4397
- (e[3] ? "GamingLimitsConfirmationControlAreaMobile" : "")), w(r, "class", "GamingLimitsConfirmationContainer " + /*isMobile*/
4398
- (e[3] ? "GamingLimitsConfirmationContainerMobile" : "")), w(t, "class", "GamingLimitsConfirmationWrapper " + /*isMobile*/
4410
+ ), a = we(), h = M("div"), u = M("button"), c = ue(l), f = we(), p = M("button"), y = ue(m), S(n, "class", "ModalCloseBtn"), S(n, "role", "button"), S(o, "class", "GamingLimitsConfirmationContent"), S(u, "class", "GamingLimitsCancelButton"), S(p, "class", "GamingLimitsConfirmButton"), S(h, "class", "GamingLimitsConfirmationControlArea " + /*isMobile*/
4411
+ (e[3] ? "GamingLimitsConfirmationControlAreaMobile" : "")), S(r, "class", "GamingLimitsConfirmationContainer " + /*isMobile*/
4412
+ (e[3] ? "GamingLimitsConfirmationContainerMobile" : "")), S(t, "class", "GamingLimitsConfirmationWrapper " + /*isMobile*/
4399
4413
  (e[3] ? "GamingLimitsConfirmationMobileWrapper" : ""));
4400
4414
  },
4401
4415
  m(_, C) {
4402
- Je(_, t, C), B(t, r), B(r, n), T.m(n, null), B(r, i), B(r, o), B(o, s), B(r, a), B(r, h), B(h, u), B(u, f), B(h, c), B(h, d), B(d, y), e[15](t), E = !0, A || (P = [
4416
+ Ye(_, t, C), B(t, r), B(r, n), w && w.m(n, null), B(r, i), B(r, o), B(o, s), B(r, a), B(r, h), B(h, u), B(u, c), B(h, f), B(h, p), B(p, y), e[15](t), E = !0, A || (P = [
4403
4417
  Se(
4404
4418
  n,
4405
4419
  "click",
@@ -4413,7 +4427,7 @@ function io(e) {
4413
4427
  e[6]
4414
4428
  ),
4415
4429
  Se(
4416
- d,
4430
+ p,
4417
4431
  "click",
4418
4432
  /*confirmChanges*/
4419
4433
  e[5]
@@ -4422,23 +4436,23 @@ function io(e) {
4422
4436
  },
4423
4437
  p(_, [C]) {
4424
4438
  L && L.p && (!E || C & /*$$scope*/
4425
- 8192) && Tr(
4439
+ 8192) && Cr(
4426
4440
  L,
4427
- S,
4441
+ T,
4428
4442
  _,
4429
4443
  /*$$scope*/
4430
4444
  _[13],
4431
- E ? Sr(
4432
- S,
4445
+ E ? Br(
4446
+ T,
4433
4447
  /*$$scope*/
4434
4448
  _[13],
4435
4449
  C,
4436
- ro
4437
- ) : Hr(
4450
+ io
4451
+ ) : Ar(
4438
4452
  /*$$scope*/
4439
4453
  _[13]
4440
4454
  ),
4441
- Pt
4455
+ Ot
4442
4456
  ), (!E || C & /*modaltext*/
4443
4457
  1) && Te(
4444
4458
  s,
@@ -4446,39 +4460,39 @@ function io(e) {
4446
4460
  _[0]
4447
4461
  ), (!E || C & /*$_*/
4448
4462
  4) && l !== (l = /*$_*/
4449
- _[2]("cancel") + "") && Te(f, l), (!E || C & /*$_*/
4463
+ _[2]("cancel") + "") && Te(c, l), (!E || C & /*$_*/
4450
4464
  4) && m !== (m = /*$_*/
4451
4465
  _[2]("confirm") + "") && Te(y, m);
4452
4466
  },
4453
4467
  i(_) {
4454
- E || (Nt(T, _), E = !0);
4468
+ E || ($t(w, _), E = !0);
4455
4469
  },
4456
4470
  o(_) {
4457
- Ur(T, _), E = !1;
4471
+ jr(w, _), E = !1;
4458
4472
  },
4459
4473
  d(_) {
4460
- _ && be(t), T.d(_), e[15](null), A = !1, J(P);
4474
+ _ && be(t), w && w.d(_), e[15](null), A = !1, J(P);
4461
4475
  }
4462
4476
  };
4463
4477
  }
4464
- function oo(e, t, r) {
4478
+ function ao(e, t, r) {
4465
4479
  let n;
4466
- Er(e, Qi, (b) => r(2, n = b));
4467
- let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modalsource: a = "" } = t, { lang: h = "en" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { mbsource: f } = t, { translationurl: c = "" } = t;
4468
- const d = () => {
4469
- fetch(c).then((D) => D.json()).then((D) => {
4470
- Object.keys(D).forEach((et) => {
4471
- Ct(et, D[et]);
4480
+ Tr(e, Yi, (b) => r(2, n = b));
4481
+ let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modalsource: a = "" } = t, { lang: h = "en" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { mbsource: c } = t, { translationurl: f = "" } = t;
4482
+ const p = () => {
4483
+ fetch(f).then((D) => D.json()).then((D) => {
4484
+ Object.keys(D).forEach((rt) => {
4485
+ Pt(rt, D[rt]);
4472
4486
  });
4473
4487
  }).catch((D) => {
4474
4488
  console.log(D);
4475
4489
  });
4476
4490
  };
4477
- Object.keys(At).forEach((b) => {
4478
- Ct(b, At[b]);
4491
+ Object.keys(Lt).forEach((b) => {
4492
+ Pt(b, Lt[b]);
4479
4493
  });
4480
- let m, y = window.navigator.userAgent, E = Ji(y) !== "PC", A = {}, P = "";
4481
- const S = () => {
4494
+ let m, y = window.navigator.userAgent, E = qi(y) !== "PC", A = {}, P = "";
4495
+ const T = () => {
4482
4496
  window.postMessage({ type: "ModalClosed" }, window.location.href);
4483
4497
  }, L = () => {
4484
4498
  a === "groupEdit" ? window.postMessage({ type: "GamingLimitsConfirmChanges" }, window.location.href) : a === "infoCard" && window.postMessage(
@@ -4489,7 +4503,7 @@ function oo(e, t, r) {
4489
4503
  },
4490
4504
  window.location.href
4491
4505
  ), window.postMessage({ type: "ModalClosed" }, window.location.href);
4492
- }, T = () => {
4506
+ }, w = () => {
4493
4507
  a === "groupEdit" ? window.postMessage({ type: "CancelGamingLimitsChanges" }, window.location.href) : a === "infoCard" && window.postMessage({ type: "CancelGamingLimitsRemove" }, window.location.href), window.postMessage({ type: "ModalClosed" }, window.location.href);
4494
4508
  }, _ = (b) => b === "Time Limit" ? "cumulativeSessionLimits" : b === "Deposit Limit" ? "depositLimits" : b === "Wagering Limit" ? "wageringLimit" : "lossLimit", C = (b) => {
4495
4509
  if (b.data)
@@ -4498,53 +4512,53 @@ function oo(e, t, r) {
4498
4512
  A = b.data.removeData, P = _(b.data.removeName);
4499
4513
  break;
4500
4514
  }
4501
- }, mr = () => {
4502
- Yi(h);
4515
+ }, br = () => {
4516
+ Ki(h);
4503
4517
  };
4504
- Ir(() => (window.addEventListener("message", C, !1), () => {
4518
+ Rr(() => (window.addEventListener("message", C, !1), () => {
4505
4519
  window.removeEventListener("message", C);
4506
4520
  }));
4507
- function dr(b) {
4508
- Ie[b ? "unshift" : "push"](() => {
4521
+ function gr(b) {
4522
+ Me[b ? "unshift" : "push"](() => {
4509
4523
  m = b, r(1, m);
4510
4524
  });
4511
4525
  }
4512
4526
  return e.$$set = (b) => {
4513
- "modaltext" in b && r(0, s = b.modaltext), "modalsource" in b && r(7, a = b.modalsource), "lang" in b && r(8, h = b.lang), "clientstyling" in b && r(9, u = b.clientstyling), "clientstylingurl" in b && r(10, l = b.clientstylingurl), "mbsource" in b && r(11, f = b.mbsource), "translationurl" in b && r(12, c = b.translationurl), "$$scope" in b && r(13, o = b.$$scope);
4527
+ "modaltext" in b && r(0, s = b.modaltext), "modalsource" in b && r(7, a = b.modalsource), "lang" in b && r(8, h = b.lang), "clientstyling" in b && r(9, u = b.clientstyling), "clientstylingurl" in b && r(10, l = b.clientstylingurl), "mbsource" in b && r(11, c = b.mbsource), "translationurl" in b && r(12, f = b.translationurl), "$$scope" in b && r(13, o = b.$$scope);
4514
4528
  }, e.$$.update = () => {
4515
4529
  e.$$.dirty & /*modaltext, modalsource, lang*/
4516
- 385 && s && a && h && mr(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4517
- 514 && u && m && qi(m, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4518
- 1026 && l && m && Ki(m, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4519
- 2050 && f && m && eo(m, `${f}.Style`), e.$$.dirty & /*translationurl*/
4520
- 4096 && c && d();
4530
+ 385 && s && a && h && br(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4531
+ 514 && u && m && eo(m, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4532
+ 1026 && l && m && to(m, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4533
+ 2050 && c && m && ro(m, `${c}.Style`), e.$$.dirty & /*translationurl*/
4534
+ 4096 && f && p();
4521
4535
  }, [
4522
4536
  s,
4523
4537
  m,
4524
4538
  n,
4525
4539
  E,
4526
- S,
4527
- L,
4528
4540
  T,
4541
+ L,
4542
+ w,
4529
4543
  a,
4530
4544
  h,
4531
4545
  u,
4532
4546
  l,
4533
- f,
4534
4547
  c,
4548
+ f,
4535
4549
  o,
4536
4550
  i,
4537
- dr
4551
+ gr
4538
4552
  ];
4539
4553
  }
4540
- class so extends Xr {
4554
+ class uo extends Zr {
4541
4555
  constructor(t) {
4542
- super(), kr(
4556
+ super(), Wr(
4543
4557
  this,
4544
4558
  t,
4545
- oo,
4546
- io,
4547
- Ot,
4559
+ ao,
4560
+ so,
4561
+ Mt,
4548
4562
  {
4549
4563
  modaltext: 0,
4550
4564
  modalsource: 7,
@@ -4554,7 +4568,7 @@ class so extends Xr {
4554
4568
  mbsource: 11,
4555
4569
  translationurl: 12
4556
4570
  },
4557
- to
4571
+ no
4558
4572
  );
4559
4573
  }
4560
4574
  get modaltext() {
@@ -4600,7 +4614,7 @@ class so extends Xr {
4600
4614
  this.$$set({ translationurl: t }), N();
4601
4615
  }
4602
4616
  }
4603
- Vr(so, { modaltext: {}, modalsource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, ["close"], [], !0);
4617
+ zr(uo, { modaltext: {}, modalsource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, ["close"], [], !0);
4604
4618
  export {
4605
- so as default
4619
+ uo as default
4606
4620
  };