@everymatrix/player-account-gaming-limits-confirmation-modal 1.76.3 → 1.76.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,6 +1,6 @@
1
- function O() {
1
+ function I() {
2
2
  }
3
- function hr(e, t) {
3
+ function mr(e, t) {
4
4
  for (const r in t)
5
5
  e[r] = t[r];
6
6
  return (
@@ -8,46 +8,46 @@ function hr(e, t) {
8
8
  e
9
9
  );
10
10
  }
11
- function Tt(e) {
11
+ function At(e) {
12
12
  return e();
13
13
  }
14
- function Ke() {
14
+ function nt() {
15
15
  return /* @__PURE__ */ Object.create(null);
16
16
  }
17
- function Q(e) {
18
- e.forEach(Tt);
17
+ function Z(e) {
18
+ e.forEach(At);
19
19
  }
20
- function ze(e) {
20
+ function qe(e) {
21
21
  return typeof e == "function";
22
22
  }
23
- function Ht(e, t) {
23
+ function Pt(e, t) {
24
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
25
25
  }
26
- function lr(e) {
26
+ function pr(e) {
27
27
  return Object.keys(e).length === 0;
28
28
  }
29
- function Bt(e, ...t) {
29
+ function Ot(e, ...t) {
30
30
  if (e == null) {
31
31
  for (const n of t)
32
32
  n(void 0);
33
- return O;
33
+ return I;
34
34
  }
35
35
  const r = e.subscribe(...t);
36
36
  return r.unsubscribe ? () => r.unsubscribe() : r;
37
37
  }
38
- function fr(e, t, r) {
39
- e.$$.on_destroy.push(Bt(t, r));
38
+ function dr(e, t, r) {
39
+ e.$$.on_destroy.push(Ot(t, r));
40
40
  }
41
- function cr(e, t, r, n) {
41
+ function br(e, t, r, n) {
42
42
  if (e) {
43
- const i = Ct(e, t, r, n);
43
+ const i = Lt(e, t, r, n);
44
44
  return e[0](i);
45
45
  }
46
46
  }
47
- function Ct(e, t, r, n) {
48
- return e[1] && n ? hr(r.ctx.slice(), e[1](n(t))) : r.ctx;
47
+ function Lt(e, t, r, n) {
48
+ return e[1] && n ? mr(r.ctx.slice(), e[1](n(t))) : r.ctx;
49
49
  }
50
- function mr(e, t, r, n) {
50
+ function gr(e, t, r, n) {
51
51
  if (e[2] && n) {
52
52
  const i = e[2](n(r));
53
53
  if (t.dirty === void 0)
@@ -62,13 +62,13 @@ function mr(e, t, r, n) {
62
62
  }
63
63
  return t.dirty;
64
64
  }
65
- function dr(e, t, r, n, i, o) {
65
+ function yr(e, t, r, n, i, o) {
66
66
  if (i) {
67
- const s = Ct(t, r, n, o);
67
+ const s = Lt(t, r, n, o);
68
68
  e.p(s, i);
69
69
  }
70
70
  }
71
- function pr(e) {
71
+ function vr(e) {
72
72
  if (e.ctx.length > 32) {
73
73
  const t = [], r = e.ctx.length / 32;
74
74
  for (let n = 0; n < r; n++)
@@ -80,14 +80,14 @@ function pr(e) {
80
80
  function B(e, t) {
81
81
  e.appendChild(t);
82
82
  }
83
- function br(e, t, r) {
84
- const n = gr(e);
83
+ function xr(e, t, r) {
84
+ const n = _r(e);
85
85
  if (!n.getElementById(t)) {
86
- const i = I("style");
87
- i.id = t, i.textContent = r, yr(n, i);
86
+ const i = M("style");
87
+ i.id = t, i.textContent = r, Er(n, i);
88
88
  }
89
89
  }
90
- function gr(e) {
90
+ function _r(e) {
91
91
  if (!e)
92
92
  return document;
93
93
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -97,45 +97,45 @@ function gr(e) {
97
97
  t
98
98
  ) : e.ownerDocument;
99
99
  }
100
- function yr(e, t) {
100
+ function Er(e, t) {
101
101
  return B(
102
102
  /** @type {Document} */
103
103
  e.head || e,
104
104
  t
105
105
  ), t.sheet;
106
106
  }
107
- function Ze(e, t, r) {
107
+ function Ke(e, t, r) {
108
108
  e.insertBefore(t, r || null);
109
109
  }
110
- function pe(e) {
110
+ function be(e) {
111
111
  e.parentNode && e.parentNode.removeChild(e);
112
112
  }
113
- function I(e) {
113
+ function M(e) {
114
114
  return document.createElement(e);
115
115
  }
116
- function et(e) {
116
+ function it(e) {
117
117
  return document.createElementNS("http://www.w3.org/2000/svg", e);
118
118
  }
119
119
  function ae(e) {
120
120
  return document.createTextNode(e);
121
121
  }
122
- function _e() {
122
+ function we() {
123
123
  return ae(" ");
124
124
  }
125
- function Ee(e, t, r, n) {
125
+ function Se(e, t, r, n) {
126
126
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
127
127
  }
128
- function w(e, t, r) {
128
+ function S(e, t, r) {
129
129
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
130
130
  }
131
- function xr(e) {
131
+ function wr(e) {
132
132
  return Array.from(e.childNodes);
133
133
  }
134
- function we(e, t) {
134
+ function Te(e, t) {
135
135
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
136
136
  t);
137
137
  }
138
- function vr(e) {
138
+ function Sr(e) {
139
139
  const t = {};
140
140
  return e.childNodes.forEach(
141
141
  /** @param {Element} node */
@@ -144,105 +144,105 @@ function vr(e) {
144
144
  }
145
145
  ), t;
146
146
  }
147
- let te;
148
- function ee(e) {
149
- te = e;
147
+ let ee;
148
+ function K(e) {
149
+ ee = e;
150
150
  }
151
- function _r() {
152
- if (!te)
151
+ function Tr() {
152
+ if (!ee)
153
153
  throw new Error("Function called outside component initialization");
154
- return te;
154
+ return ee;
155
155
  }
156
- function Er(e) {
157
- _r().$$.on_mount.push(e);
156
+ function Hr(e) {
157
+ Tr().$$.on_mount.push(e);
158
158
  }
159
- const j = [], Le = [];
159
+ const j = [], Me = [];
160
160
  let k = [];
161
- const tt = [], wr = /* @__PURE__ */ Promise.resolve();
162
- let Oe = !1;
163
- function Sr() {
164
- Oe || (Oe = !0, wr.then(M));
161
+ const ot = [], Br = /* @__PURE__ */ Promise.resolve();
162
+ let Ne = !1;
163
+ function Cr() {
164
+ Ne || (Ne = !0, Br.then(N));
165
165
  }
166
- function Ie(e) {
166
+ function $e(e) {
167
167
  k.push(e);
168
168
  }
169
- const Se = /* @__PURE__ */ new Set();
169
+ const He = /* @__PURE__ */ new Set();
170
170
  let D = 0;
171
- function M() {
171
+ function N() {
172
172
  if (D !== 0)
173
173
  return;
174
- const e = te;
174
+ const e = ee;
175
175
  do {
176
176
  try {
177
177
  for (; D < j.length; ) {
178
178
  const t = j[D];
179
- D++, ee(t), Tr(t.$$);
179
+ D++, K(t), Ar(t.$$);
180
180
  }
181
181
  } catch (t) {
182
182
  throw j.length = 0, D = 0, t;
183
183
  }
184
- for (ee(null), j.length = 0, D = 0; Le.length; )
185
- Le.pop()();
184
+ for (K(null), j.length = 0, D = 0; Me.length; )
185
+ Me.pop()();
186
186
  for (let t = 0; t < k.length; t += 1) {
187
187
  const r = k[t];
188
- Se.has(r) || (Se.add(r), r());
188
+ He.has(r) || (He.add(r), r());
189
189
  }
190
190
  k.length = 0;
191
191
  } while (j.length);
192
- for (; tt.length; )
193
- tt.pop()();
194
- Oe = !1, Se.clear(), ee(e);
192
+ for (; ot.length; )
193
+ ot.pop()();
194
+ Ne = !1, He.clear(), K(e);
195
195
  }
196
- function Tr(e) {
196
+ function Ar(e) {
197
197
  if (e.fragment !== null) {
198
- e.update(), Q(e.before_update);
198
+ e.update(), Z(e.before_update);
199
199
  const t = e.dirty;
200
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ie);
200
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
201
201
  }
202
202
  }
203
- function Hr(e) {
203
+ function Pr(e) {
204
204
  const t = [], r = [];
205
205
  k.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), k = t;
206
206
  }
207
207
  const ue = /* @__PURE__ */ new Set();
208
- let Br;
209
- function At(e, t) {
208
+ let Or;
209
+ function It(e, t) {
210
210
  e && e.i && (ue.delete(e), e.i(t));
211
211
  }
212
- function Cr(e, t, r, n) {
213
- if (e.o) {
212
+ function Lr(e, t, r, n) {
213
+ if (e && e.o) {
214
214
  if (ue.has(e))
215
215
  return;
216
- ue.add(e), Br.c.push(() => {
216
+ ue.add(e), Or.c.push(() => {
217
217
  ue.delete(e);
218
218
  }), e.o(t);
219
219
  }
220
220
  }
221
- function Ar(e, t, r) {
221
+ function Ir(e, t, r) {
222
222
  const { fragment: n, after_update: i } = e.$$;
223
- n && n.m(t, r), Ie(() => {
224
- const o = e.$$.on_mount.map(Tt).filter(ze);
225
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Q(o), e.$$.on_mount = [];
226
- }), i.forEach(Ie);
223
+ n && n.m(t, r), $e(() => {
224
+ const o = e.$$.on_mount.map(At).filter(qe);
225
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Z(o), e.$$.on_mount = [];
226
+ }), i.forEach($e);
227
227
  }
228
- function Pr(e, t) {
228
+ function Mr(e, t) {
229
229
  const r = e.$$;
230
- r.fragment !== null && (Hr(r.after_update), Q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
230
+ r.fragment !== null && (Pr(r.after_update), Z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
231
231
  }
232
- function Lr(e, t) {
233
- e.$$.dirty[0] === -1 && (j.push(e), Sr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
232
+ function Nr(e, t) {
233
+ e.$$.dirty[0] === -1 && (j.push(e), Cr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
234
234
  }
235
- function Or(e, t, r, n, i, o, s = null, a = [-1]) {
236
- const h = te;
237
- ee(e);
235
+ function $r(e, t, r, n, i, o, s = null, a = [-1]) {
236
+ const h = ee;
237
+ K(e);
238
238
  const u = e.$$ = {
239
239
  fragment: null,
240
240
  ctx: [],
241
241
  // state
242
242
  props: o,
243
- update: O,
243
+ update: I,
244
244
  not_equal: i,
245
- bound: Ke(),
245
+ bound: nt(),
246
246
  // lifecycle
247
247
  on_mount: [],
248
248
  on_destroy: [],
@@ -251,28 +251,28 @@ function Or(e, t, r, n, i, o, s = null, a = [-1]) {
251
251
  after_update: [],
252
252
  context: new Map(t.context || (h ? h.$$.context : [])),
253
253
  // everything else
254
- callbacks: Ke(),
254
+ callbacks: nt(),
255
255
  dirty: a,
256
256
  skip_bound: !1,
257
257
  root: t.target || h.$$.root
258
258
  };
259
259
  s && s(u.root);
260
260
  let l = !1;
261
- if (u.ctx = r(e, t.props || {}, (f, c, ...d) => {
262
- const m = d.length ? d[0] : c;
263
- return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), l && Lr(e, f)), c;
264
- }), u.update(), l = !0, Q(u.before_update), u.fragment = n(u.ctx), t.target) {
261
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
262
+ const m = p.length ? p[0] : f;
263
+ return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), l && Nr(e, c)), f;
264
+ }) : [], u.update(), l = !0, Z(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
265
265
  if (t.hydrate) {
266
- const f = xr(t.target);
267
- u.fragment && u.fragment.l(f), f.forEach(pe);
266
+ const c = wr(t.target);
267
+ u.fragment && u.fragment.l(c), c.forEach(be);
268
268
  } else
269
269
  u.fragment && u.fragment.c();
270
- t.intro && At(e.$$.fragment), Ar(e, t.target, t.anchor), M();
270
+ t.intro && It(e.$$.fragment), Ir(e, t.target, t.anchor), N();
271
271
  }
272
- ee(h);
272
+ K(h);
273
273
  }
274
- let Pt;
275
- typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
274
+ let Mt;
275
+ typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
276
276
  /** The Svelte component constructor */
277
277
  $$ctor;
278
278
  /** Slots */
@@ -314,24 +314,24 @@ typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
314
314
  let o;
315
315
  return {
316
316
  c: function() {
317
- o = I("slot"), i !== "default" && w(o, "name", i);
317
+ o = M("slot"), i !== "default" && S(o, "name", i);
318
318
  },
319
319
  /**
320
320
  * @param {HTMLElement} target
321
321
  * @param {HTMLElement} [anchor]
322
322
  */
323
323
  m: function(h, u) {
324
- Ze(h, o, u);
324
+ Ke(h, o, u);
325
325
  },
326
326
  d: function(h) {
327
- h && pe(o);
327
+ h && be(o);
328
328
  }
329
329
  };
330
330
  };
331
331
  };
332
332
  if (await Promise.resolve(), !this.$$cn || this.$$c)
333
333
  return;
334
- const t = {}, r = vr(this);
334
+ const t = {}, r = Sr(this);
335
335
  for (const i of this.$$s)
336
336
  i in r && (t[i] = [e(i)]);
337
337
  for (const i of this.attributes) {
@@ -418,8 +418,8 @@ function he(e, t, r, n) {
418
418
  return t;
419
419
  }
420
420
  }
421
- function Ir(e, t, r, n, i, o) {
422
- let s = class extends Pt {
421
+ function Rr(e, t, r, n, i, o) {
422
+ let s = class extends Mt {
423
423
  constructor() {
424
424
  super(e, r, i), this.$$p_d = t;
425
425
  }
@@ -447,7 +447,7 @@ function Ir(e, t, r, n, i, o) {
447
447
  }), e.element = /** @type {any} */
448
448
  s, s;
449
449
  }
450
- class Mr {
450
+ class Gr {
451
451
  /**
452
452
  * ### PRIVATE API
453
453
  *
@@ -466,7 +466,7 @@ class Mr {
466
466
  $$set = void 0;
467
467
  /** @returns {void} */
468
468
  $destroy() {
469
- Pr(this, 1), this.$destroy = O;
469
+ Mr(this, 1), this.$destroy = I;
470
470
  }
471
471
  /**
472
472
  * @template {Extract<keyof Events, string>} K
@@ -475,8 +475,8 @@ class Mr {
475
475
  * @returns {() => void}
476
476
  */
477
477
  $on(t, r) {
478
- if (!ze(r))
479
- return O;
478
+ if (!qe(r))
479
+ return I;
480
480
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
481
481
  return n.push(r), () => {
482
482
  const i = n.indexOf(r);
@@ -488,11 +488,11 @@ class Mr {
488
488
  * @returns {void}
489
489
  */
490
490
  $set(t) {
491
- this.$$set && !lr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
491
+ this.$$set && !pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
492
492
  }
493
493
  }
494
- const Nr = "4";
495
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Nr);
494
+ const Ur = "4";
495
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ur);
496
496
  /*! *****************************************************************************
497
497
  Copyright (c) Microsoft Corporation.
498
498
 
@@ -507,43 +507,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
507
507
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
508
508
  PERFORMANCE OF THIS SOFTWARE.
509
509
  ***************************************************************************** */
510
- var Me = function(e, t) {
511
- return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
510
+ var Re = function(e, t) {
511
+ return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
512
512
  r.__proto__ = n;
513
513
  } || function(r, n) {
514
514
  for (var i in n)
515
515
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
516
- }, Me(e, t);
516
+ }, Re(e, t);
517
517
  };
518
- function R(e, t) {
518
+ function ne(e, t) {
519
519
  if (typeof t != "function" && t !== null)
520
520
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
521
- Me(e, t);
521
+ Re(e, t);
522
522
  function r() {
523
523
  this.constructor = e;
524
524
  }
525
525
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
526
526
  }
527
- var x = function() {
528
- return x = Object.assign || function(t) {
529
- for (var r, n = 1, i = arguments.length; n < i; n++) {
530
- r = arguments[n];
531
- for (var o in r)
532
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
533
- }
534
- return t;
535
- }, x.apply(this, arguments);
536
- };
537
- function Rr(e, t) {
538
- var r = {};
539
- for (var n in e)
540
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
541
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
542
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
543
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
544
- return r;
545
- }
546
- function Ne(e) {
527
+ function Ge(e) {
547
528
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
548
529
  if (r)
549
530
  return r.call(e);
@@ -555,7 +536,7 @@ function Ne(e) {
555
536
  };
556
537
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
557
538
  }
558
- function Re(e, t) {
539
+ function Ue(e, t) {
559
540
  var r = typeof Symbol == "function" && e[Symbol.iterator];
560
541
  if (!r)
561
542
  return e;
@@ -575,22 +556,22 @@ function Re(e, t) {
575
556
  }
576
557
  return o;
577
558
  }
578
- function V(e, t, r) {
579
- if (r || arguments.length === 2)
559
+ function De(e, t, r) {
560
+ if (arguments.length === 2)
580
561
  for (var n = 0, i = t.length, o; n < i; n++)
581
562
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
582
563
  return e.concat(o || t);
583
564
  }
584
- function N(e) {
565
+ function $(e) {
585
566
  return typeof e == "function";
586
567
  }
587
- function Lt(e) {
568
+ function Nt(e) {
588
569
  var t = function(n) {
589
570
  Error.call(n), n.stack = new Error().stack;
590
571
  }, r = e(t);
591
572
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
592
573
  }
593
- var Te = Lt(function(e) {
574
+ var Be = Nt(function(e) {
594
575
  return function(r) {
595
576
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
596
577
  ` + r.map(function(n, i) {
@@ -599,13 +580,13 @@ var Te = Lt(function(e) {
599
580
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
600
581
  };
601
582
  });
602
- function $e(e, t) {
583
+ function Fe(e, t) {
603
584
  if (e) {
604
585
  var r = e.indexOf(t);
605
586
  0 <= r && e.splice(r, 1);
606
587
  }
607
588
  }
608
- var be = function() {
589
+ var ge = function() {
609
590
  function e(t) {
610
591
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
611
592
  }
@@ -617,7 +598,7 @@ var be = function() {
617
598
  if (s)
618
599
  if (this._parentage = null, Array.isArray(s))
619
600
  try {
620
- for (var a = Ne(s), h = a.next(); !h.done; h = a.next()) {
601
+ for (var a = Ge(s), h = a.next(); !h.done; h = a.next()) {
621
602
  var u = h.value;
622
603
  u.remove(this);
623
604
  }
@@ -634,29 +615,29 @@ var be = function() {
634
615
  else
635
616
  s.remove(this);
636
617
  var l = this.initialTeardown;
637
- if (N(l))
618
+ if ($(l))
638
619
  try {
639
620
  l();
640
621
  } catch (y) {
641
- o = y instanceof Te ? y.errors : [y];
622
+ o = y instanceof Be ? y.errors : [y];
642
623
  }
643
- var f = this._finalizers;
644
- if (f) {
624
+ var c = this._finalizers;
625
+ if (c) {
645
626
  this._finalizers = null;
646
627
  try {
647
- for (var c = Ne(f), d = c.next(); !d.done; d = c.next()) {
648
- var m = d.value;
628
+ for (var f = Ge(c), p = f.next(); !p.done; p = f.next()) {
629
+ var m = p.value;
649
630
  try {
650
- rt(m);
631
+ st(m);
651
632
  } catch (y) {
652
- o = o ?? [], y instanceof Te ? o = V(V([], Re(o)), Re(y.errors)) : o.push(y);
633
+ o = o ?? [], y instanceof Be ? o = De(De([], Ue(o)), Ue(y.errors)) : o.push(y);
653
634
  }
654
635
  }
655
636
  } catch (y) {
656
637
  n = { error: y };
657
638
  } finally {
658
639
  try {
659
- d && !d.done && (i = c.return) && i.call(c);
640
+ p && !p.done && (i = f.return) && i.call(f);
660
641
  } finally {
661
642
  if (n)
662
643
  throw n.error;
@@ -664,13 +645,13 @@ var be = function() {
664
645
  }
665
646
  }
666
647
  if (o)
667
- throw new Te(o);
648
+ throw new Be(o);
668
649
  }
669
650
  }, e.prototype.add = function(t) {
670
651
  var r;
671
652
  if (t && t !== this)
672
653
  if (this.closed)
673
- rt(t);
654
+ st(t);
674
655
  else {
675
656
  if (t instanceof e) {
676
657
  if (t.closed || t._hasParent(this))
@@ -687,56 +668,52 @@ var be = function() {
687
668
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
688
669
  }, e.prototype._removeParent = function(t) {
689
670
  var r = this._parentage;
690
- r === t ? this._parentage = null : Array.isArray(r) && $e(r, t);
671
+ r === t ? this._parentage = null : Array.isArray(r) && Fe(r, t);
691
672
  }, e.prototype.remove = function(t) {
692
673
  var r = this._finalizers;
693
- r && $e(r, t), t instanceof e && t._removeParent(this);
674
+ r && Fe(r, t), t instanceof e && t._removeParent(this);
694
675
  }, e.EMPTY = function() {
695
676
  var t = new e();
696
677
  return t.closed = !0, t;
697
678
  }(), e;
698
- }(), Ot = be.EMPTY;
699
- function It(e) {
700
- return e instanceof be || e && "closed" in e && N(e.remove) && N(e.add) && N(e.unsubscribe);
701
- }
702
- function rt(e) {
703
- N(e) ? e() : e.unsubscribe();
704
- }
705
- var $r = {
706
- onUnhandledError: null,
707
- onStoppedNotification: null,
708
- Promise: void 0,
709
- useDeprecatedSynchronousErrorHandling: !1,
710
- useDeprecatedNextContext: !1
711
- }, Gr = {
679
+ }(), $t = ge.EMPTY;
680
+ function Rt(e) {
681
+ return e instanceof ge || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
682
+ }
683
+ function st(e) {
684
+ $(e) ? e() : e.unsubscribe();
685
+ }
686
+ var Dr = {
687
+ Promise: void 0
688
+ }, Fr = {
712
689
  setTimeout: function(e, t) {
713
690
  for (var r = [], n = 2; n < arguments.length; n++)
714
691
  r[n - 2] = arguments[n];
715
- return setTimeout.apply(void 0, V([e, t], Re(r)));
692
+ return setTimeout.apply(void 0, De([e, t], Ue(r)));
716
693
  },
717
694
  clearTimeout: function(e) {
718
695
  return clearTimeout(e);
719
696
  },
720
697
  delegate: void 0
721
698
  };
722
- function Ur(e) {
723
- Gr.setTimeout(function() {
699
+ function jr(e) {
700
+ Fr.setTimeout(function() {
724
701
  throw e;
725
702
  });
726
703
  }
727
- function nt() {
704
+ function at() {
728
705
  }
729
706
  function le(e) {
730
707
  e();
731
708
  }
732
- var Mt = function(e) {
733
- R(t, e);
709
+ var Gt = function(e) {
710
+ ne(t, e);
734
711
  function t(r) {
735
712
  var n = e.call(this) || this;
736
- return n.isStopped = !1, r ? (n.destination = r, It(r) && r.add(n)) : n.destination = jr, n;
713
+ return n.isStopped = !1, r ? (n.destination = r, Rt(r) && r.add(n)) : n.destination = Xr, n;
737
714
  }
738
715
  return t.create = function(r, n, i) {
739
- return new Ge(r, n, i);
716
+ return new je(r, n, i);
740
717
  }, t.prototype.next = function(r) {
741
718
  this.isStopped || this._next(r);
742
719
  }, t.prototype.error = function(r) {
@@ -760,7 +737,7 @@ var Mt = function(e) {
760
737
  this.unsubscribe();
761
738
  }
762
739
  }, t;
763
- }(be), Dr = function() {
740
+ }(ge), kr = function() {
764
741
  function e(t) {
765
742
  this.partialObserver = t;
766
743
  }
@@ -791,43 +768,43 @@ var Mt = function(e) {
791
768
  oe(r);
792
769
  }
793
770
  }, e;
794
- }(), Ge = function(e) {
795
- R(t, e);
771
+ }(), je = function(e) {
772
+ ne(t, e);
796
773
  function t(r, n, i) {
797
774
  var o = e.call(this) || this, s;
798
- return N(r) || !r ? s = {
775
+ return $(r) || !r ? s = {
799
776
  next: r ?? void 0,
800
777
  error: n ?? void 0,
801
778
  complete: i ?? void 0
802
- } : s = r, o.destination = new Dr(s), o;
779
+ } : s = r, o.destination = new kr(s), o;
803
780
  }
804
781
  return t;
805
- }(Mt);
782
+ }(Gt);
806
783
  function oe(e) {
807
- Ur(e);
784
+ jr(e);
808
785
  }
809
- function Fr(e) {
786
+ function Vr(e) {
810
787
  throw e;
811
788
  }
812
- var jr = {
789
+ var Xr = {
813
790
  closed: !0,
814
- next: nt,
815
- error: Fr,
816
- complete: nt
817
- }, kr = function() {
791
+ next: at,
792
+ error: Vr,
793
+ complete: at
794
+ }, Wr = function() {
818
795
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
819
796
  }();
820
- function Vr(e) {
797
+ function zr(e) {
821
798
  return e;
822
799
  }
823
- function Xr(e) {
824
- return e.length === 0 ? Vr : e.length === 1 ? e[0] : function(r) {
800
+ function Zr(e) {
801
+ return e.length === 0 ? zr : e.length === 1 ? e[0] : function(r) {
825
802
  return e.reduce(function(n, i) {
826
803
  return i(n);
827
804
  }, r);
828
805
  };
829
806
  }
830
- var it = function() {
807
+ var ut = function() {
831
808
  function e(t) {
832
809
  t && (this._subscribe = t);
833
810
  }
@@ -835,7 +812,7 @@ var it = function() {
835
812
  var r = new e();
836
813
  return r.source = this, r.operator = t, r;
837
814
  }, e.prototype.subscribe = function(t, r, n) {
838
- var i = this, o = zr(t) ? t : new Ge(t, r, n);
815
+ var i = this, o = Jr(t) ? t : new je(t, r, n);
839
816
  return le(function() {
840
817
  var s = i, a = s.operator, h = s.source;
841
818
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -848,8 +825,8 @@ var it = function() {
848
825
  }
849
826
  }, e.prototype.forEach = function(t, r) {
850
827
  var n = this;
851
- return r = ot(r), new r(function(i, o) {
852
- var s = new Ge({
828
+ return r = ht(r), new r(function(i, o) {
829
+ var s = new je({
853
830
  next: function(a) {
854
831
  try {
855
832
  t(a);
@@ -865,15 +842,15 @@ var it = function() {
865
842
  }, e.prototype._subscribe = function(t) {
866
843
  var r;
867
844
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
868
- }, e.prototype[kr] = function() {
845
+ }, e.prototype[Wr] = function() {
869
846
  return this;
870
847
  }, e.prototype.pipe = function() {
871
848
  for (var t = [], r = 0; r < arguments.length; r++)
872
849
  t[r] = arguments[r];
873
- return Xr(t)(this);
850
+ return Zr(t)(this);
874
851
  }, e.prototype.toPromise = function(t) {
875
852
  var r = this;
876
- return t = ot(t), new t(function(n, i) {
853
+ return t = ht(t), new t(function(n, i) {
877
854
  var o;
878
855
  r.subscribe(function(s) {
879
856
  return o = s;
@@ -887,32 +864,32 @@ var it = function() {
887
864
  return new e(t);
888
865
  }, e;
889
866
  }();
890
- function ot(e) {
867
+ function ht(e) {
891
868
  var t;
892
- return (t = e ?? $r.Promise) !== null && t !== void 0 ? t : Promise;
869
+ return (t = e ?? Dr.Promise) !== null && t !== void 0 ? t : Promise;
893
870
  }
894
- function Wr(e) {
895
- return e && N(e.next) && N(e.error) && N(e.complete);
871
+ function Qr(e) {
872
+ return e && $(e.next) && $(e.error) && $(e.complete);
896
873
  }
897
- function zr(e) {
898
- return e && e instanceof Mt || Wr(e) && It(e);
874
+ function Jr(e) {
875
+ return e && e instanceof Gt || Qr(e) && Rt(e);
899
876
  }
900
- var Zr = Lt(function(e) {
877
+ var Yr = Nt(function(e) {
901
878
  return function() {
902
879
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
903
880
  };
904
- }), Nt = function(e) {
905
- R(t, e);
881
+ }), Ut = function(e) {
882
+ ne(t, e);
906
883
  function t() {
907
884
  var r = e.call(this) || this;
908
885
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
909
886
  }
910
887
  return t.prototype.lift = function(r) {
911
- var n = new st(this, this);
888
+ var n = new lt(this, this);
912
889
  return n.operator = r, n;
913
890
  }, t.prototype._throwIfClosed = function() {
914
891
  if (this.closed)
915
- throw new Zr();
892
+ throw new Yr();
916
893
  }, t.prototype.next = function(r) {
917
894
  var n = this;
918
895
  le(function() {
@@ -920,7 +897,7 @@ var Zr = Lt(function(e) {
920
897
  if (n._throwIfClosed(), !n.isStopped) {
921
898
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
922
899
  try {
923
- for (var s = Ne(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
900
+ for (var s = Ge(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
924
901
  var h = a.value;
925
902
  h.next(r);
926
903
  }
@@ -969,20 +946,20 @@ var Zr = Lt(function(e) {
969
946
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
970
947
  }, t.prototype._innerSubscribe = function(r) {
971
948
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
972
- return o || s ? Ot : (this.currentObservers = null, a.push(r), new be(function() {
973
- n.currentObservers = null, $e(a, r);
949
+ return o || s ? $t : (this.currentObservers = null, a.push(r), new ge(function() {
950
+ n.currentObservers = null, Fe(a, r);
974
951
  }));
975
952
  }, t.prototype._checkFinalizedStatuses = function(r) {
976
953
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
977
954
  i ? r.error(o) : s && r.complete();
978
955
  }, t.prototype.asObservable = function() {
979
- var r = new it();
956
+ var r = new ut();
980
957
  return r.source = this, r;
981
958
  }, t.create = function(r, n) {
982
- return new st(r, n);
959
+ return new lt(r, n);
983
960
  }, t;
984
- }(it), st = function(e) {
985
- R(t, e);
961
+ }(ut), lt = function(e) {
962
+ ne(t, e);
986
963
  function t(r, n) {
987
964
  var i = e.call(this) || this;
988
965
  return i.destination = r, i.source = n, i;
@@ -998,17 +975,17 @@ var Zr = Lt(function(e) {
998
975
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
999
976
  }, t.prototype._subscribe = function(r) {
1000
977
  var n, i;
1001
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ot;
978
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : $t;
1002
979
  }, t;
1003
- }(Nt), Rt = {
980
+ }(Ut), Dt = {
1004
981
  now: function() {
1005
- return (Rt.delegate || Date).now();
982
+ return (Dt.delegate || Date).now();
1006
983
  },
1007
984
  delegate: void 0
1008
- }, Qr = function(e) {
1009
- R(t, e);
985
+ }, qr = function(e) {
986
+ ne(t, e);
1010
987
  function t(r, n, i) {
1011
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Rt);
988
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Dt);
1012
989
  var o = e.call(this) || this;
1013
990
  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;
1014
991
  }
@@ -1028,24 +1005,24 @@ var Zr = Lt(function(e) {
1028
1005
  u && o.splice(0, u + 1);
1029
1006
  }
1030
1007
  }, t;
1031
- }(Nt);
1032
- const at = [], ut = {}, Jr = (e, t = 0) => {
1033
- if (at.indexOf(e) == -1) {
1034
- const r = new Qr(t);
1035
- ut[e] = r, at.push(e);
1008
+ }(Ut);
1009
+ const ct = [], ft = {}, Kr = (e, t = 0) => {
1010
+ if (ct.indexOf(e) == -1) {
1011
+ const r = new qr(t);
1012
+ ft[e] = r, ct.push(e);
1036
1013
  }
1037
- return ut[e];
1014
+ return ft[e];
1038
1015
  }, F = [];
1039
- function Yr(e, t) {
1016
+ function en(e, t) {
1040
1017
  return {
1041
- subscribe: ge(e, t).subscribe
1018
+ subscribe: ye(e, t).subscribe
1042
1019
  };
1043
1020
  }
1044
- function ge(e, t = O) {
1021
+ function ye(e, t = I) {
1045
1022
  let r;
1046
1023
  const n = /* @__PURE__ */ new Set();
1047
1024
  function i(a) {
1048
- if (Ht(e, a) && (e = a, r)) {
1025
+ if (Pt(e, a) && (e = a, r)) {
1049
1026
  const h = !F.length;
1050
1027
  for (const u of n)
1051
1028
  u[1](), F.push(u, e);
@@ -1059,153 +1036,192 @@ function ge(e, t = O) {
1059
1036
  function o(a) {
1060
1037
  i(a(e));
1061
1038
  }
1062
- function s(a, h = O) {
1039
+ function s(a, h = I) {
1063
1040
  const u = [a, h];
1064
- return n.add(u), n.size === 1 && (r = t(i, o) || O), a(e), () => {
1041
+ return n.add(u), n.size === 1 && (r = t(i, o) || I), a(e), () => {
1065
1042
  n.delete(u), n.size === 0 && r && (r(), r = null);
1066
1043
  };
1067
1044
  }
1068
1045
  return { set: i, update: o, subscribe: s };
1069
1046
  }
1070
- function J(e, t, r) {
1047
+ function Q(e, t, r) {
1071
1048
  const n = !Array.isArray(e), i = n ? [e] : e;
1072
1049
  if (!i.every(Boolean))
1073
1050
  throw new Error("derived() expects stores as input, got a falsy value");
1074
1051
  const o = t.length < 2;
1075
- return Yr(r, (s, a) => {
1052
+ return en(r, (s, a) => {
1076
1053
  let h = !1;
1077
1054
  const u = [];
1078
- let l = 0, f = O;
1079
- const c = () => {
1055
+ let l = 0, c = I;
1056
+ const f = () => {
1080
1057
  if (l)
1081
1058
  return;
1082
- f();
1059
+ c();
1083
1060
  const m = t(n ? u[0] : u, s, a);
1084
- o ? s(m) : f = ze(m) ? m : O;
1085
- }, d = i.map(
1086
- (m, y) => Bt(
1061
+ o ? s(m) : c = qe(m) ? m : I;
1062
+ }, p = i.map(
1063
+ (m, y) => Ot(
1087
1064
  m,
1088
1065
  (E) => {
1089
- u[y] = E, l &= ~(1 << y), h && c();
1066
+ u[y] = E, l &= ~(1 << y), h && f();
1090
1067
  },
1091
1068
  () => {
1092
1069
  l |= 1 << y;
1093
1070
  }
1094
1071
  )
1095
1072
  );
1096
- return h = !0, c(), function() {
1097
- Q(d), f(), h = !1;
1073
+ return h = !0, f(), function() {
1074
+ Z(p), c(), h = !1;
1098
1075
  };
1099
1076
  });
1100
1077
  }
1101
- function qr(e) {
1102
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1078
+ function tn(e) {
1079
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1103
1080
  }
1104
- var Kr = function(t) {
1105
- return en(t) && !tn(t);
1081
+ var rn = function(t) {
1082
+ return nn(t) && !on(t);
1106
1083
  };
1107
- function en(e) {
1084
+ function nn(e) {
1108
1085
  return !!e && typeof e == "object";
1109
1086
  }
1110
- function tn(e) {
1087
+ function on(e) {
1111
1088
  var t = Object.prototype.toString.call(e);
1112
- return t === "[object RegExp]" || t === "[object Date]" || on(e);
1089
+ return t === "[object RegExp]" || t === "[object Date]" || un(e);
1113
1090
  }
1114
- var rn = typeof Symbol == "function" && Symbol.for, nn = rn ? Symbol.for("react.element") : 60103;
1115
- function on(e) {
1116
- return e.$$typeof === nn;
1091
+ var sn = typeof Symbol == "function" && Symbol.for, an = sn ? Symbol.for("react.element") : 60103;
1092
+ function un(e) {
1093
+ return e.$$typeof === an;
1117
1094
  }
1118
- function sn(e) {
1095
+ function hn(e) {
1119
1096
  return Array.isArray(e) ? [] : {};
1120
1097
  }
1121
- function re(e, t) {
1122
- return t.clone !== !1 && t.isMergeableObject(e) ? X(sn(e), e, t) : e;
1098
+ function te(e, t) {
1099
+ return t.clone !== !1 && t.isMergeableObject(e) ? V(hn(e), e, t) : e;
1123
1100
  }
1124
- function an(e, t, r) {
1101
+ function ln(e, t, r) {
1125
1102
  return e.concat(t).map(function(n) {
1126
- return re(n, r);
1103
+ return te(n, r);
1127
1104
  });
1128
1105
  }
1129
- function un(e, t) {
1106
+ function cn(e, t) {
1130
1107
  if (!t.customMerge)
1131
- return X;
1108
+ return V;
1132
1109
  var r = t.customMerge(e);
1133
- return typeof r == "function" ? r : X;
1110
+ return typeof r == "function" ? r : V;
1134
1111
  }
1135
- function hn(e) {
1112
+ function fn(e) {
1136
1113
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1137
1114
  return Object.propertyIsEnumerable.call(e, t);
1138
1115
  }) : [];
1139
1116
  }
1140
- function ht(e) {
1141
- return Object.keys(e).concat(hn(e));
1117
+ function mt(e) {
1118
+ return Object.keys(e).concat(fn(e));
1142
1119
  }
1143
- function $t(e, t) {
1120
+ function Ft(e, t) {
1144
1121
  try {
1145
1122
  return t in e;
1146
1123
  } catch {
1147
1124
  return !1;
1148
1125
  }
1149
1126
  }
1150
- function ln(e, t) {
1151
- return $t(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1127
+ function mn(e, t) {
1128
+ return Ft(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1152
1129
  }
1153
- function fn(e, t, r) {
1130
+ function pn(e, t, r) {
1154
1131
  var n = {};
1155
- return r.isMergeableObject(e) && ht(e).forEach(function(i) {
1156
- n[i] = re(e[i], r);
1157
- }), ht(t).forEach(function(i) {
1158
- ln(e, i) || ($t(e, i) && r.isMergeableObject(t[i]) ? n[i] = un(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
1132
+ return r.isMergeableObject(e) && mt(e).forEach(function(i) {
1133
+ n[i] = te(e[i], r);
1134
+ }), mt(t).forEach(function(i) {
1135
+ mn(e, i) || (Ft(e, i) && r.isMergeableObject(t[i]) ? n[i] = cn(i, r)(e[i], t[i], r) : n[i] = te(t[i], r));
1159
1136
  }), n;
1160
1137
  }
1161
- function X(e, t, r) {
1162
- r = r || {}, r.arrayMerge = r.arrayMerge || an, r.isMergeableObject = r.isMergeableObject || Kr, r.cloneUnlessOtherwiseSpecified = re;
1138
+ function V(e, t, r) {
1139
+ r = r || {}, r.arrayMerge = r.arrayMerge || ln, r.isMergeableObject = r.isMergeableObject || rn, r.cloneUnlessOtherwiseSpecified = te;
1163
1140
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1164
- return o ? n ? r.arrayMerge(e, t, r) : fn(e, t, r) : re(t, r);
1141
+ return o ? n ? r.arrayMerge(e, t, r) : pn(e, t, r) : te(t, r);
1165
1142
  }
1166
- X.all = function(t, r) {
1143
+ V.all = function(t, r) {
1167
1144
  if (!Array.isArray(t))
1168
1145
  throw new Error("first argument should be an array");
1169
1146
  return t.reduce(function(n, i) {
1170
- return X(n, i, r);
1147
+ return V(n, i, r);
1171
1148
  }, {});
1172
1149
  };
1173
- var cn = X, mn = cn;
1174
- const dn = /* @__PURE__ */ qr(mn);
1175
- function He(e, t) {
1176
- var r = t && t.cache ? t.cache : _n, n = t && t.serializer ? t.serializer : xn, i = t && t.strategy ? t.strategy : bn;
1150
+ var dn = V, bn = dn;
1151
+ const gn = /* @__PURE__ */ tn(bn);
1152
+ var ke = function(e, t) {
1153
+ return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1154
+ r.__proto__ = n;
1155
+ } || function(r, n) {
1156
+ for (var i in n)
1157
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1158
+ }, ke(e, t);
1159
+ };
1160
+ function ve(e, t) {
1161
+ if (typeof t != "function" && t !== null)
1162
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1163
+ ke(e, t);
1164
+ function r() {
1165
+ this.constructor = e;
1166
+ }
1167
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1168
+ }
1169
+ var L = function() {
1170
+ return L = Object.assign || function(t) {
1171
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1172
+ r = arguments[n];
1173
+ for (var o in r)
1174
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1175
+ }
1176
+ return t;
1177
+ }, L.apply(this, arguments);
1178
+ };
1179
+ function yn(e, t) {
1180
+ var r = {};
1181
+ for (var n in e)
1182
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1183
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1184
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1185
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1186
+ return r;
1187
+ }
1188
+ function Ce(e, t, r) {
1189
+ if (r || arguments.length === 2)
1190
+ for (var n = 0, i = t.length, o; n < i; n++)
1191
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1192
+ return e.concat(o || Array.prototype.slice.call(t));
1193
+ }
1194
+ function Ae(e, t) {
1195
+ var r = t && t.cache ? t.cache : Tn, n = t && t.serializer ? t.serializer : wn, i = t && t.strategy ? t.strategy : _n;
1177
1196
  return i(e, {
1178
1197
  cache: r,
1179
1198
  serializer: n
1180
1199
  });
1181
1200
  }
1182
- function pn(e) {
1201
+ function vn(e) {
1183
1202
  return e == null || typeof e == "number" || typeof e == "boolean";
1184
1203
  }
1185
- function Gt(e, t, r, n) {
1186
- var i = pn(n) ? n : r(n), o = t.get(i);
1204
+ function xn(e, t, r, n) {
1205
+ var i = vn(n) ? n : r(n), o = t.get(i);
1187
1206
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1188
1207
  }
1189
- function Ut(e, t, r) {
1208
+ function jt(e, t, r) {
1190
1209
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1191
1210
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1192
1211
  }
1193
- function Qe(e, t, r, n, i) {
1212
+ function kt(e, t, r, n, i) {
1194
1213
  return r.bind(t, e, n, i);
1195
1214
  }
1196
- function bn(e, t) {
1197
- var r = e.length === 1 ? Gt : Ut;
1198
- return Qe(e, this, r, t.cache.create(), t.serializer);
1215
+ function _n(e, t) {
1216
+ var r = e.length === 1 ? xn : jt;
1217
+ return kt(e, this, r, t.cache.create(), t.serializer);
1199
1218
  }
1200
- function gn(e, t) {
1201
- return Qe(e, this, Ut, t.cache.create(), t.serializer);
1219
+ function En(e, t) {
1220
+ return kt(e, this, jt, t.cache.create(), t.serializer);
1202
1221
  }
1203
- function yn(e, t) {
1204
- return Qe(e, this, Gt, t.cache.create(), t.serializer);
1205
- }
1206
- var xn = function() {
1222
+ var wn = function() {
1207
1223
  return JSON.stringify(arguments);
1208
- }, vn = (
1224
+ }, Sn = (
1209
1225
  /** @class */
1210
1226
  function() {
1211
1227
  function e() {
@@ -1217,62 +1233,71 @@ var xn = function() {
1217
1233
  this.cache[t] = r;
1218
1234
  }, e;
1219
1235
  }()
1220
- ), _n = {
1236
+ ), Tn = {
1221
1237
  create: function() {
1222
- return new vn();
1238
+ return new Sn();
1223
1239
  }
1224
- }, Be = {
1225
- variadic: gn,
1226
- monadic: yn
1227
- }, p;
1240
+ }, Pe = {
1241
+ variadic: En
1242
+ }, me = function() {
1243
+ return me = Object.assign || function(t) {
1244
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1245
+ r = arguments[n];
1246
+ for (var o in r)
1247
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1248
+ }
1249
+ return t;
1250
+ }, me.apply(this, arguments);
1251
+ };
1252
+ var d;
1228
1253
  (function(e) {
1229
1254
  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";
1230
- })(p || (p = {}));
1255
+ })(d || (d = {}));
1231
1256
  var v;
1232
1257
  (function(e) {
1233
1258
  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";
1234
1259
  })(v || (v = {}));
1235
- var W;
1260
+ var X;
1236
1261
  (function(e) {
1237
1262
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1238
- })(W || (W = {}));
1239
- function lt(e) {
1263
+ })(X || (X = {}));
1264
+ function pt(e) {
1240
1265
  return e.type === v.literal;
1241
1266
  }
1242
- function En(e) {
1267
+ function Hn(e) {
1243
1268
  return e.type === v.argument;
1244
1269
  }
1245
- function Dt(e) {
1270
+ function Vt(e) {
1246
1271
  return e.type === v.number;
1247
1272
  }
1248
- function Ft(e) {
1273
+ function Xt(e) {
1249
1274
  return e.type === v.date;
1250
1275
  }
1251
- function jt(e) {
1276
+ function Wt(e) {
1252
1277
  return e.type === v.time;
1253
1278
  }
1254
- function kt(e) {
1279
+ function zt(e) {
1255
1280
  return e.type === v.select;
1256
1281
  }
1257
- function Vt(e) {
1282
+ function Zt(e) {
1258
1283
  return e.type === v.plural;
1259
1284
  }
1260
- function wn(e) {
1285
+ function Bn(e) {
1261
1286
  return e.type === v.pound;
1262
1287
  }
1263
- function Xt(e) {
1288
+ function Qt(e) {
1264
1289
  return e.type === v.tag;
1265
1290
  }
1266
- function Wt(e) {
1267
- return !!(e && typeof e == "object" && e.type === W.number);
1291
+ function Jt(e) {
1292
+ return !!(e && typeof e == "object" && e.type === X.number);
1268
1293
  }
1269
- function Ue(e) {
1270
- return !!(e && typeof e == "object" && e.type === W.dateTime);
1294
+ function Ve(e) {
1295
+ return !!(e && typeof e == "object" && e.type === X.dateTime);
1271
1296
  }
1272
- var zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Sn = /(?:[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;
1273
- function Tn(e) {
1297
+ var Yt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Cn = /(?:[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;
1298
+ function An(e) {
1274
1299
  var t = {};
1275
- return e.replace(Sn, function(r) {
1300
+ return e.replace(Cn, function(r) {
1276
1301
  var n = r.length;
1277
1302
  switch (r[0]) {
1278
1303
  case "G":
@@ -1361,36 +1386,46 @@ function Tn(e) {
1361
1386
  return "";
1362
1387
  }), t;
1363
1388
  }
1364
- var Hn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1365
- function Bn(e) {
1389
+ var _ = function() {
1390
+ return _ = Object.assign || function(t) {
1391
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1392
+ r = arguments[n];
1393
+ for (var o in r)
1394
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1395
+ }
1396
+ return t;
1397
+ }, _.apply(this, arguments);
1398
+ };
1399
+ var Pn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1400
+ function On(e) {
1366
1401
  if (e.length === 0)
1367
1402
  throw new Error("Number skeleton cannot be empty");
1368
- for (var t = e.split(Hn).filter(function(c) {
1369
- return c.length > 0;
1403
+ for (var t = e.split(Pn).filter(function(f) {
1404
+ return f.length > 0;
1370
1405
  }), r = [], n = 0, i = t; n < i.length; n++) {
1371
1406
  var o = i[n], s = o.split("/");
1372
1407
  if (s.length === 0)
1373
1408
  throw new Error("Invalid number skeleton");
1374
1409
  for (var a = s[0], h = s.slice(1), u = 0, l = h; u < l.length; u++) {
1375
- var f = l[u];
1376
- if (f.length === 0)
1410
+ var c = l[u];
1411
+ if (c.length === 0)
1377
1412
  throw new Error("Invalid number skeleton");
1378
1413
  }
1379
1414
  r.push({ stem: a, options: h });
1380
1415
  }
1381
1416
  return r;
1382
1417
  }
1383
- function Cn(e) {
1418
+ function Ln(e) {
1384
1419
  return e.replace(/^(.*?)-/, "");
1385
1420
  }
1386
- var ft = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Zt = /^(@+)?(\+|#+)?[rs]?$/g, An = /(\*)(0+)|(#+)(0+)|(0+)/g, Qt = /^(0+)$/;
1387
- function ct(e) {
1421
+ var dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, qt = /^(@+)?(\+|#+)?[rs]?$/g, In = /(\*)(0+)|(#+)(0+)|(0+)/g, Kt = /^(0+)$/;
1422
+ function bt(e) {
1388
1423
  var t = {};
1389
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Zt, function(r, n, i) {
1424
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(qt, function(r, n, i) {
1390
1425
  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)), "";
1391
1426
  }), t;
1392
1427
  }
1393
- function Jt(e) {
1428
+ function er(e) {
1394
1429
  switch (e) {
1395
1430
  case "sign-auto":
1396
1431
  return {
@@ -1430,7 +1465,7 @@ function Jt(e) {
1430
1465
  };
1431
1466
  }
1432
1467
  }
1433
- function Pn(e) {
1468
+ function Mn(e) {
1434
1469
  var t;
1435
1470
  if (e[0] === "E" && e[1] === "E" ? (t = {
1436
1471
  notation: "engineering"
@@ -1438,17 +1473,17 @@ function Pn(e) {
1438
1473
  notation: "scientific"
1439
1474
  }, e = e.slice(1)), t) {
1440
1475
  var r = e.slice(0, 2);
1441
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Qt.test(e))
1476
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Kt.test(e))
1442
1477
  throw new Error("Malformed concise eng/scientific notation");
1443
1478
  t.minimumIntegerDigits = e.length;
1444
1479
  }
1445
1480
  return t;
1446
1481
  }
1447
- function mt(e) {
1448
- var t = {}, r = Jt(e);
1482
+ function gt(e) {
1483
+ var t = {}, r = er(e);
1449
1484
  return r || t;
1450
1485
  }
1451
- function Ln(e) {
1486
+ function Nn(e) {
1452
1487
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1453
1488
  var i = n[r];
1454
1489
  switch (i.stem) {
@@ -1472,7 +1507,7 @@ function Ln(e) {
1472
1507
  continue;
1473
1508
  case "measure-unit":
1474
1509
  case "unit":
1475
- t.style = "unit", t.unit = Cn(i.options[0]);
1510
+ t.style = "unit", t.unit = Ln(i.options[0]);
1476
1511
  continue;
1477
1512
  case "compact-short":
1478
1513
  case "K":
@@ -1483,13 +1518,13 @@ function Ln(e) {
1483
1518
  t.notation = "compact", t.compactDisplay = "long";
1484
1519
  continue;
1485
1520
  case "scientific":
1486
- t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1487
- return x(x({}, h), mt(u));
1521
+ t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1522
+ return _(_({}, h), gt(u));
1488
1523
  }, {}));
1489
1524
  continue;
1490
1525
  case "engineering":
1491
- t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1492
- return x(x({}, h), mt(u));
1526
+ t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1527
+ return _(_({}, h), gt(u));
1493
1528
  }, {}));
1494
1529
  continue;
1495
1530
  case "notation-simple":
@@ -1534,41 +1569,41 @@ function Ln(e) {
1534
1569
  case "integer-width":
1535
1570
  if (i.options.length > 1)
1536
1571
  throw new RangeError("integer-width stems only accept a single optional option");
1537
- i.options[0].replace(An, function(h, u, l, f, c, d) {
1572
+ i.options[0].replace(In, function(h, u, l, c, f, p) {
1538
1573
  if (u)
1539
1574
  t.minimumIntegerDigits = l.length;
1540
1575
  else {
1541
- if (f && c)
1576
+ if (c && f)
1542
1577
  throw new Error("We currently do not support maximum integer digits");
1543
- if (d)
1578
+ if (p)
1544
1579
  throw new Error("We currently do not support exact integer digits");
1545
1580
  }
1546
1581
  return "";
1547
1582
  });
1548
1583
  continue;
1549
1584
  }
1550
- if (Qt.test(i.stem)) {
1585
+ if (Kt.test(i.stem)) {
1551
1586
  t.minimumIntegerDigits = i.stem.length;
1552
1587
  continue;
1553
1588
  }
1554
- if (ft.test(i.stem)) {
1589
+ if (dt.test(i.stem)) {
1555
1590
  if (i.options.length > 1)
1556
1591
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1557
- i.stem.replace(ft, function(h, u, l, f, c, d) {
1558
- 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), "";
1592
+ i.stem.replace(dt, function(h, u, l, c, f, p) {
1593
+ 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), "";
1559
1594
  });
1560
1595
  var o = i.options[0];
1561
- o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), ct(o)));
1596
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), bt(o)));
1562
1597
  continue;
1563
1598
  }
1564
- if (Zt.test(i.stem)) {
1565
- t = x(x({}, t), ct(i.stem));
1599
+ if (qt.test(i.stem)) {
1600
+ t = _(_({}, t), bt(i.stem));
1566
1601
  continue;
1567
1602
  }
1568
- var s = Jt(i.stem);
1569
- s && (t = x(x({}, t), s));
1570
- var a = Pn(i.stem);
1571
- a && (t = x(x({}, t), a));
1603
+ var s = er(i.stem);
1604
+ s && (t = _(_({}, t), s));
1605
+ var a = Mn(i.stem);
1606
+ a && (t = _(_({}, t), a));
1572
1607
  }
1573
1608
  return t;
1574
1609
  }
@@ -2987,13 +3022,13 @@ var se = {
2987
3022
  "h"
2988
3023
  ]
2989
3024
  };
2990
- function On(e, t) {
3025
+ function $n(e, t) {
2991
3026
  for (var r = "", n = 0; n < e.length; n++) {
2992
3027
  var i = e.charAt(n);
2993
3028
  if (i === "j") {
2994
3029
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2995
3030
  o++, n++;
2996
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = In(t);
3031
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Rn(t);
2997
3032
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2998
3033
  r += h;
2999
3034
  for (; s-- > 0; )
@@ -3003,7 +3038,7 @@ function On(e, t) {
3003
3038
  }
3004
3039
  return r;
3005
3040
  }
3006
- function In(e) {
3041
+ function Rn(e) {
3007
3042
  var t = e.hourCycle;
3008
3043
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3009
3044
  e.hourCycles && // @ts-ignore
@@ -3025,20 +3060,20 @@ function In(e) {
3025
3060
  var i = se[n || ""] || se[r || ""] || se["".concat(r, "-001")] || se["001"];
3026
3061
  return i[0];
3027
3062
  }
3028
- var Ce, Mn = new RegExp("^".concat(zt.source, "*")), Nn = new RegExp("".concat(zt.source, "*$"));
3063
+ var Oe, Gn = new RegExp("^".concat(Yt.source, "*")), Un = new RegExp("".concat(Yt.source, "*$"));
3029
3064
  function g(e, t) {
3030
3065
  return { start: e, end: t };
3031
3066
  }
3032
- var Rn = !!String.prototype.startsWith && "_a".startsWith("a", 1), $n = !!String.fromCodePoint, Gn = !!Object.fromEntries, Un = !!String.prototype.codePointAt, Dn = !!String.prototype.trimStart, Fn = !!String.prototype.trimEnd, jn = !!Number.isSafeInteger, kn = jn ? Number.isSafeInteger : function(e) {
3067
+ var Dn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Fn = !!String.fromCodePoint, jn = !!Object.fromEntries, kn = !!String.prototype.codePointAt, Vn = !!String.prototype.trimStart, Xn = !!String.prototype.trimEnd, Wn = !!Number.isSafeInteger, zn = Wn ? Number.isSafeInteger : function(e) {
3033
3068
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3034
- }, De = !0;
3069
+ }, Xe = !0;
3035
3070
  try {
3036
- var Vn = qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3037
- De = ((Ce = Vn.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
3071
+ var Zn = rr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3072
+ Xe = ((Oe = Zn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
3038
3073
  } catch {
3039
- De = !1;
3074
+ Xe = !1;
3040
3075
  }
3041
- var dt = Rn ? (
3076
+ var yt = Dn ? (
3042
3077
  // Native
3043
3078
  function(t, r, n) {
3044
3079
  return t.startsWith(r, n);
@@ -3048,7 +3083,7 @@ var dt = Rn ? (
3048
3083
  function(t, r, n) {
3049
3084
  return t.slice(n, n + r.length) === r;
3050
3085
  }
3051
- ), Fe = $n ? String.fromCodePoint : (
3086
+ ), We = Fn ? String.fromCodePoint : (
3052
3087
  // IE11
3053
3088
  function() {
3054
3089
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3060,9 +3095,9 @@ var dt = Rn ? (
3060
3095
  }
3061
3096
  return n;
3062
3097
  }
3063
- ), pt = (
3098
+ ), vt = (
3064
3099
  // native
3065
- Gn ? Object.fromEntries : (
3100
+ jn ? Object.fromEntries : (
3066
3101
  // Ponyfill
3067
3102
  function(t) {
3068
3103
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3072,7 +3107,7 @@ var dt = Rn ? (
3072
3107
  return r;
3073
3108
  }
3074
3109
  )
3075
- ), Yt = Un ? (
3110
+ ), tr = kn ? (
3076
3111
  // Native
3077
3112
  function(t, r) {
3078
3113
  return t.codePointAt(r);
@@ -3086,7 +3121,7 @@ var dt = Rn ? (
3086
3121
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3087
3122
  }
3088
3123
  }
3089
- ), Xn = Dn ? (
3124
+ ), Qn = Vn ? (
3090
3125
  // Native
3091
3126
  function(t) {
3092
3127
  return t.trimStart();
@@ -3094,9 +3129,9 @@ var dt = Rn ? (
3094
3129
  ) : (
3095
3130
  // Ponyfill
3096
3131
  function(t) {
3097
- return t.replace(Mn, "");
3132
+ return t.replace(Gn, "");
3098
3133
  }
3099
- ), Wn = Fn ? (
3134
+ ), Jn = Xn ? (
3100
3135
  // Native
3101
3136
  function(t) {
3102
3137
  return t.trimEnd();
@@ -3104,32 +3139,32 @@ var dt = Rn ? (
3104
3139
  ) : (
3105
3140
  // Ponyfill
3106
3141
  function(t) {
3107
- return t.replace(Nn, "");
3142
+ return t.replace(Un, "");
3108
3143
  }
3109
3144
  );
3110
- function qt(e, t) {
3145
+ function rr(e, t) {
3111
3146
  return new RegExp(e, t);
3112
3147
  }
3113
- var je;
3114
- if (De) {
3115
- var bt = qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3116
- je = function(t, r) {
3148
+ var ze;
3149
+ if (Xe) {
3150
+ var xt = rr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3151
+ ze = function(t, r) {
3117
3152
  var n;
3118
- bt.lastIndex = r;
3119
- var i = bt.exec(t);
3153
+ xt.lastIndex = r;
3154
+ var i = xt.exec(t);
3120
3155
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3121
3156
  };
3122
3157
  } else
3123
- je = function(t, r) {
3158
+ ze = function(t, r) {
3124
3159
  for (var n = []; ; ) {
3125
- var i = Yt(t, r);
3126
- if (i === void 0 || Kt(i) || Jn(i))
3160
+ var i = tr(t, r);
3161
+ if (i === void 0 || nr(i) || ei(i))
3127
3162
  break;
3128
3163
  n.push(i), r += i >= 65536 ? 2 : 1;
3129
3164
  }
3130
- return Fe.apply(void 0, n);
3165
+ return We.apply(void 0, n);
3131
3166
  };
3132
- var zn = (
3167
+ var Yn = (
3133
3168
  /** @class */
3134
3169
  function() {
3135
3170
  function e(t, r) {
@@ -3159,8 +3194,8 @@ var zn = (
3159
3194
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3160
3195
  if (n)
3161
3196
  break;
3162
- return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3163
- } else if (o === 60 && !this.ignoreTag && ke(this.peek() || 0)) {
3197
+ return this.error(d.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3198
+ } else if (o === 60 && !this.ignoreTag && Ze(this.peek() || 0)) {
3164
3199
  var s = this.parseTag(t, r);
3165
3200
  if (s.err)
3166
3201
  return s;
@@ -3193,10 +3228,10 @@ var zn = (
3193
3228
  return o;
3194
3229
  var s = o.val, a = this.clonePosition();
3195
3230
  if (this.bumpIf("</")) {
3196
- if (this.isEOF() || !ke(this.char()))
3197
- return this.error(p.INVALID_TAG, g(a, this.clonePosition()));
3231
+ if (this.isEOF() || !Ze(this.char()))
3232
+ return this.error(d.INVALID_TAG, g(a, this.clonePosition()));
3198
3233
  var h = this.clonePosition(), u = this.parseTagName();
3199
- return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3234
+ return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3200
3235
  val: {
3201
3236
  type: v.tag,
3202
3237
  value: i,
@@ -3204,14 +3239,14 @@ var zn = (
3204
3239
  location: g(n, this.clonePosition())
3205
3240
  },
3206
3241
  err: null
3207
- } : this.error(p.INVALID_TAG, g(a, this.clonePosition())));
3242
+ } : this.error(d.INVALID_TAG, g(a, this.clonePosition())));
3208
3243
  } else
3209
- return this.error(p.UNCLOSED_TAG, g(n, this.clonePosition()));
3244
+ return this.error(d.UNCLOSED_TAG, g(n, this.clonePosition()));
3210
3245
  } else
3211
- return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
3246
+ return this.error(d.INVALID_TAG, g(n, this.clonePosition()));
3212
3247
  }, e.prototype.parseTagName = function() {
3213
3248
  var t = this.offset();
3214
- for (this.bump(); !this.isEOF() && Qn(this.char()); )
3249
+ for (this.bump(); !this.isEOF() && Kn(this.char()); )
3215
3250
  this.bump();
3216
3251
  return this.message.slice(t, this.offset());
3217
3252
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3240,7 +3275,7 @@ var zn = (
3240
3275
  };
3241
3276
  }, e.prototype.tryParseLeftAngleBracket = function() {
3242
3277
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3243
- !Zn(this.peek() || 0)) ? (this.bump(), "<") : null;
3278
+ !qn(this.peek() || 0)) ? (this.bump(), "<") : null;
3244
3279
  }, e.prototype.tryParseQuote = function(t) {
3245
3280
  if (this.isEOF() || this.char() !== 39)
3246
3281
  return null;
@@ -3274,23 +3309,23 @@ var zn = (
3274
3309
  r.push(n);
3275
3310
  this.bump();
3276
3311
  }
3277
- return Fe.apply(void 0, r);
3312
+ return We.apply(void 0, r);
3278
3313
  }, e.prototype.tryParseUnquoted = function(t, r) {
3279
3314
  if (this.isEOF())
3280
3315
  return null;
3281
3316
  var n = this.char();
3282
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
3317
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), We(n));
3283
3318
  }, e.prototype.parseArgument = function(t, r) {
3284
3319
  var n = this.clonePosition();
3285
3320
  if (this.bump(), this.bumpSpace(), this.isEOF())
3286
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3321
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3287
3322
  if (this.char() === 125)
3288
- return this.bump(), this.error(p.EMPTY_ARGUMENT, g(n, this.clonePosition()));
3323
+ return this.bump(), this.error(d.EMPTY_ARGUMENT, g(n, this.clonePosition()));
3289
3324
  var i = this.parseIdentifierIfPossible().value;
3290
3325
  if (!i)
3291
- return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3326
+ return this.error(d.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3292
3327
  if (this.bumpSpace(), this.isEOF())
3293
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3328
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3294
3329
  switch (this.char()) {
3295
3330
  case 125:
3296
3331
  return this.bump(), {
@@ -3303,12 +3338,12 @@ var zn = (
3303
3338
  err: null
3304
3339
  };
3305
3340
  case 44:
3306
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3341
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3307
3342
  default:
3308
- return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3343
+ return this.error(d.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3309
3344
  }
3310
3345
  }, e.prototype.parseIdentifierIfPossible = function() {
3311
- var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
3346
+ var t = this.clonePosition(), r = this.offset(), n = ze(this.message, r), i = r + n.length;
3312
3347
  this.bumpTo(i);
3313
3348
  var o = this.clonePosition(), s = g(t, o);
3314
3349
  return { value: n, location: s };
@@ -3316,7 +3351,7 @@ var zn = (
3316
3351
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3317
3352
  switch (a) {
3318
3353
  case "":
3319
- return this.error(p.EXPECT_ARGUMENT_TYPE, g(s, h));
3354
+ return this.error(d.EXPECT_ARGUMENT_TYPE, g(s, h));
3320
3355
  case "number":
3321
3356
  case "date":
3322
3357
  case "time": {
@@ -3324,40 +3359,40 @@ var zn = (
3324
3359
  var u = null;
3325
3360
  if (this.bumpIf(",")) {
3326
3361
  this.bumpSpace();
3327
- var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3328
- if (f.err)
3329
- return f;
3330
- var c = Wn(f.val);
3331
- if (c.length === 0)
3332
- return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3333
- var d = g(l, this.clonePosition());
3334
- u = { style: c, styleLocation: d };
3362
+ var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3363
+ if (c.err)
3364
+ return c;
3365
+ var f = Jn(c.val);
3366
+ if (f.length === 0)
3367
+ return this.error(d.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3368
+ var p = g(l, this.clonePosition());
3369
+ u = { style: f, styleLocation: p };
3335
3370
  }
3336
3371
  var m = this.tryParseArgumentClose(i);
3337
3372
  if (m.err)
3338
3373
  return m;
3339
3374
  var y = g(i, this.clonePosition());
3340
- if (u && dt(u?.style, "::", 0)) {
3341
- var E = Xn(u.style.slice(2));
3375
+ if (u && yt(u?.style, "::", 0)) {
3376
+ var E = Qn(u.style.slice(2));
3342
3377
  if (a === "number") {
3343
- var f = this.parseNumberSkeletonFromString(E, u.styleLocation);
3344
- return f.err ? f : {
3345
- val: { type: v.number, value: n, location: y, style: f.val },
3378
+ var c = this.parseNumberSkeletonFromString(E, u.styleLocation);
3379
+ return c.err ? c : {
3380
+ val: { type: v.number, value: n, location: y, style: c.val },
3346
3381
  err: null
3347
3382
  };
3348
3383
  } else {
3349
3384
  if (E.length === 0)
3350
- return this.error(p.EXPECT_DATE_TIME_SKELETON, y);
3385
+ return this.error(d.EXPECT_DATE_TIME_SKELETON, y);
3351
3386
  var A = E;
3352
- this.locale && (A = On(E, this.locale));
3353
- var c = {
3354
- type: W.dateTime,
3387
+ this.locale && (A = $n(E, this.locale));
3388
+ var f = {
3389
+ type: X.dateTime,
3355
3390
  pattern: A,
3356
3391
  location: u.styleLocation,
3357
- parsedOptions: this.shouldParseSkeletons ? Tn(A) : {}
3392
+ parsedOptions: this.shouldParseSkeletons ? An(A) : {}
3358
3393
  }, P = a === "date" ? v.date : v.time;
3359
3394
  return {
3360
- val: { type: P, value: n, location: y, style: c },
3395
+ val: { type: P, value: n, location: y, style: f },
3361
3396
  err: null
3362
3397
  };
3363
3398
  }
@@ -3375,23 +3410,23 @@ var zn = (
3375
3410
  case "plural":
3376
3411
  case "selectordinal":
3377
3412
  case "select": {
3378
- var S = this.clonePosition();
3413
+ var T = this.clonePosition();
3379
3414
  if (this.bumpSpace(), !this.bumpIf(","))
3380
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(S, x({}, S)));
3415
+ return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T, me({}, T)));
3381
3416
  this.bumpSpace();
3382
- var L = this.parseIdentifierIfPossible(), T = 0;
3383
- if (a !== "select" && L.value === "offset") {
3417
+ var O = this.parseIdentifierIfPossible(), w = 0;
3418
+ if (a !== "select" && O.value === "offset") {
3384
3419
  if (!this.bumpIf(":"))
3385
- return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3420
+ return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3386
3421
  this.bumpSpace();
3387
- var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3388
- if (f.err)
3389
- return f;
3390
- this.bumpSpace(), L = this.parseIdentifierIfPossible(), T = f.val;
3422
+ var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3423
+ if (c.err)
3424
+ return c;
3425
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), w = c.val;
3391
3426
  }
3392
- var _ = this.tryParsePluralOrSelectOptions(t, a, r, L);
3393
- if (_.err)
3394
- return _;
3427
+ var x = this.tryParsePluralOrSelectOptions(t, a, r, O);
3428
+ if (x.err)
3429
+ return x;
3395
3430
  var m = this.tryParseArgumentClose(i);
3396
3431
  if (m.err)
3397
3432
  return m;
@@ -3400,7 +3435,7 @@ var zn = (
3400
3435
  val: {
3401
3436
  type: v.select,
3402
3437
  value: n,
3403
- options: pt(_.val),
3438
+ options: vt(x.val),
3404
3439
  location: C
3405
3440
  },
3406
3441
  err: null
@@ -3408,8 +3443,8 @@ var zn = (
3408
3443
  val: {
3409
3444
  type: v.plural,
3410
3445
  value: n,
3411
- options: pt(_.val),
3412
- offset: T,
3446
+ options: vt(x.val),
3447
+ offset: w,
3413
3448
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3414
3449
  location: C
3415
3450
  },
@@ -3417,10 +3452,10 @@ var zn = (
3417
3452
  };
3418
3453
  }
3419
3454
  default:
3420
- return this.error(p.INVALID_ARGUMENT_TYPE, g(s, h));
3455
+ return this.error(d.INVALID_ARGUMENT_TYPE, g(s, h));
3421
3456
  }
3422
3457
  }, e.prototype.tryParseArgumentClose = function(t) {
3423
- return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3458
+ return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3424
3459
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3425
3460
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3426
3461
  var n = this.char();
@@ -3429,7 +3464,7 @@ var zn = (
3429
3464
  this.bump();
3430
3465
  var i = this.clonePosition();
3431
3466
  if (!this.bumpUntil("'"))
3432
- return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
3467
+ return this.error(d.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
3433
3468
  this.bump();
3434
3469
  break;
3435
3470
  }
@@ -3459,52 +3494,52 @@ var zn = (
3459
3494
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3460
3495
  var n = [];
3461
3496
  try {
3462
- n = Bn(t);
3497
+ n = On(t);
3463
3498
  } catch {
3464
- return this.error(p.INVALID_NUMBER_SKELETON, r);
3499
+ return this.error(d.INVALID_NUMBER_SKELETON, r);
3465
3500
  }
3466
3501
  return {
3467
3502
  val: {
3468
- type: W.number,
3503
+ type: X.number,
3469
3504
  tokens: n,
3470
3505
  location: r,
3471
- parsedOptions: this.shouldParseSkeletons ? Ln(n) : {}
3506
+ parsedOptions: this.shouldParseSkeletons ? Nn(n) : {}
3472
3507
  },
3473
3508
  err: null
3474
3509
  };
3475
3510
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3476
3511
  for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3477
3512
  if (u.length === 0) {
3478
- var f = this.clonePosition();
3513
+ var c = this.clonePosition();
3479
3514
  if (r !== "select" && this.bumpIf("=")) {
3480
- var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
3481
- if (c.err)
3482
- return c;
3483
- l = g(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3515
+ var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
3516
+ if (f.err)
3517
+ return f;
3518
+ l = g(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3484
3519
  } else
3485
3520
  break;
3486
3521
  }
3487
3522
  if (h.has(u))
3488
- return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3523
+ return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3489
3524
  u === "other" && (s = !0), this.bumpSpace();
3490
- var d = this.clonePosition();
3525
+ var p = this.clonePosition();
3491
3526
  if (!this.bumpIf("{"))
3492
- return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3527
+ return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3493
3528
  var m = this.parseMessage(t + 1, r, n);
3494
3529
  if (m.err)
3495
3530
  return m;
3496
- var y = this.tryParseArgumentClose(d);
3531
+ var y = this.tryParseArgumentClose(p);
3497
3532
  if (y.err)
3498
3533
  return y;
3499
3534
  a.push([
3500
3535
  u,
3501
3536
  {
3502
3537
  value: m.val,
3503
- location: g(d, this.clonePosition())
3538
+ location: g(p, this.clonePosition())
3504
3539
  }
3505
3540
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3506
3541
  }
3507
- 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 };
3542
+ 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 };
3508
3543
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3509
3544
  var n = 1, i = this.clonePosition();
3510
3545
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3516,7 +3551,7 @@ var zn = (
3516
3551
  break;
3517
3552
  }
3518
3553
  var h = g(i, this.clonePosition());
3519
- return o ? (s *= n, kn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3554
+ return o ? (s *= n, zn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3520
3555
  }, e.prototype.offset = function() {
3521
3556
  return this.position.offset;
3522
3557
  }, e.prototype.isEOF = function() {
@@ -3531,7 +3566,7 @@ var zn = (
3531
3566
  var t = this.position.offset;
3532
3567
  if (t >= this.message.length)
3533
3568
  throw Error("out of bound");
3534
- var r = Yt(this.message, t);
3569
+ var r = tr(this.message, t);
3535
3570
  if (r === void 0)
3536
3571
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3537
3572
  return r;
@@ -3550,7 +3585,7 @@ var zn = (
3550
3585
  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);
3551
3586
  }
3552
3587
  }, e.prototype.bumpIf = function(t) {
3553
- if (dt(this.message, t, this.offset())) {
3588
+ if (yt(this.message, t, this.offset())) {
3554
3589
  for (var r = 0; r < t.length; r++)
3555
3590
  this.bump();
3556
3591
  return !0;
@@ -3572,7 +3607,7 @@ var zn = (
3572
3607
  break;
3573
3608
  }
3574
3609
  }, e.prototype.bumpSpace = function() {
3575
- for (; !this.isEOF() && Kt(this.char()); )
3610
+ for (; !this.isEOF() && nr(this.char()); )
3576
3611
  this.bump();
3577
3612
  }, e.prototype.peek = function() {
3578
3613
  if (this.isEOF())
@@ -3582,47 +3617,47 @@ var zn = (
3582
3617
  }, e;
3583
3618
  }()
3584
3619
  );
3585
- function ke(e) {
3620
+ function Ze(e) {
3586
3621
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3587
3622
  }
3588
- function Zn(e) {
3589
- return ke(e) || e === 47;
3623
+ function qn(e) {
3624
+ return Ze(e) || e === 47;
3590
3625
  }
3591
- function Qn(e) {
3626
+ function Kn(e) {
3592
3627
  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;
3593
3628
  }
3594
- function Kt(e) {
3629
+ function nr(e) {
3595
3630
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3596
3631
  }
3597
- function Jn(e) {
3632
+ function ei(e) {
3598
3633
  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;
3599
3634
  }
3600
- function Ve(e) {
3635
+ function Qe(e) {
3601
3636
  e.forEach(function(t) {
3602
- if (delete t.location, kt(t) || Vt(t))
3637
+ if (delete t.location, zt(t) || Zt(t))
3603
3638
  for (var r in t.options)
3604
- delete t.options[r].location, Ve(t.options[r].value);
3639
+ delete t.options[r].location, Qe(t.options[r].value);
3605
3640
  else
3606
- Dt(t) && Wt(t.style) || (Ft(t) || jt(t)) && Ue(t.style) ? delete t.style.location : Xt(t) && Ve(t.children);
3641
+ Vt(t) && Jt(t.style) || (Xt(t) || Wt(t)) && Ve(t.style) ? delete t.style.location : Qt(t) && Qe(t.children);
3607
3642
  });
3608
3643
  }
3609
- function Yn(e, t) {
3610
- t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3611
- var r = new zn(e, t).parse();
3644
+ function ti(e, t) {
3645
+ t === void 0 && (t = {}), t = me({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3646
+ var r = new Yn(e, t).parse();
3612
3647
  if (r.err) {
3613
- var n = SyntaxError(p[r.err.kind]);
3648
+ var n = SyntaxError(d[r.err.kind]);
3614
3649
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3615
3650
  }
3616
- return t?.captureLocation || Ve(r.val), r.val;
3651
+ return t?.captureLocation || Qe(r.val), r.val;
3617
3652
  }
3618
- var z;
3653
+ var W;
3619
3654
  (function(e) {
3620
3655
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3621
- })(z || (z = {}));
3622
- var ye = (
3656
+ })(W || (W = {}));
3657
+ var xe = (
3623
3658
  /** @class */
3624
3659
  function(e) {
3625
- R(t, e);
3660
+ ve(t, e);
3626
3661
  function t(r, n, i) {
3627
3662
  var o = e.call(this, r) || this;
3628
3663
  return o.code = n, o.originalMessage = i, o;
@@ -3631,48 +3666,48 @@ var ye = (
3631
3666
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3632
3667
  }, t;
3633
3668
  }(Error)
3634
- ), gt = (
3669
+ ), _t = (
3635
3670
  /** @class */
3636
3671
  function(e) {
3637
- R(t, e);
3672
+ ve(t, e);
3638
3673
  function t(r, n, i, o) {
3639
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), z.INVALID_VALUE, o) || this;
3674
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), W.INVALID_VALUE, o) || this;
3640
3675
  }
3641
3676
  return t;
3642
- }(ye)
3643
- ), qn = (
3677
+ }(xe)
3678
+ ), ri = (
3644
3679
  /** @class */
3645
3680
  function(e) {
3646
- R(t, e);
3681
+ ve(t, e);
3647
3682
  function t(r, n, i) {
3648
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), z.INVALID_VALUE, i) || this;
3683
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), W.INVALID_VALUE, i) || this;
3649
3684
  }
3650
3685
  return t;
3651
- }(ye)
3652
- ), Kn = (
3686
+ }(xe)
3687
+ ), ni = (
3653
3688
  /** @class */
3654
3689
  function(e) {
3655
- R(t, e);
3690
+ ve(t, e);
3656
3691
  function t(r, n) {
3657
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), z.MISSING_VALUE, n) || this;
3692
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), W.MISSING_VALUE, n) || this;
3658
3693
  }
3659
3694
  return t;
3660
- }(ye)
3695
+ }(xe)
3661
3696
  ), H;
3662
3697
  (function(e) {
3663
3698
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3664
3699
  })(H || (H = {}));
3665
- function ei(e) {
3700
+ function ii(e) {
3666
3701
  return e.length < 2 ? e : e.reduce(function(t, r) {
3667
3702
  var n = t[t.length - 1];
3668
3703
  return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3669
3704
  }, []);
3670
3705
  }
3671
- function ti(e) {
3706
+ function oi(e) {
3672
3707
  return typeof e == "function";
3673
3708
  }
3674
- function fe(e, t, r, n, i, o, s) {
3675
- if (e.length === 1 && lt(e[0]))
3709
+ function ce(e, t, r, n, i, o, s) {
3710
+ if (e.length === 1 && pt(e[0]))
3676
3711
  return [
3677
3712
  {
3678
3713
  type: H.literal,
@@ -3681,105 +3716,105 @@ function fe(e, t, r, n, i, o, s) {
3681
3716
  ];
3682
3717
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3683
3718
  var l = u[h];
3684
- if (lt(l)) {
3719
+ if (pt(l)) {
3685
3720
  a.push({
3686
3721
  type: H.literal,
3687
3722
  value: l.value
3688
3723
  });
3689
3724
  continue;
3690
3725
  }
3691
- if (wn(l)) {
3726
+ if (Bn(l)) {
3692
3727
  typeof o == "number" && a.push({
3693
3728
  type: H.literal,
3694
3729
  value: r.getNumberFormat(t).format(o)
3695
3730
  });
3696
3731
  continue;
3697
3732
  }
3698
- var f = l.value;
3699
- if (!(i && f in i))
3700
- throw new Kn(f, s);
3701
- var c = i[f];
3702
- if (En(l)) {
3703
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3704
- type: typeof c == "string" ? H.literal : H.object,
3705
- value: c
3733
+ var c = l.value;
3734
+ if (!(i && c in i))
3735
+ throw new ni(c, s);
3736
+ var f = i[c];
3737
+ if (Hn(l)) {
3738
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3739
+ type: typeof f == "string" ? H.literal : H.object,
3740
+ value: f
3706
3741
  });
3707
3742
  continue;
3708
3743
  }
3709
- if (Ft(l)) {
3710
- var d = typeof l.style == "string" ? n.date[l.style] : Ue(l.style) ? l.style.parsedOptions : void 0;
3744
+ if (Xt(l)) {
3745
+ var p = typeof l.style == "string" ? n.date[l.style] : Ve(l.style) ? l.style.parsedOptions : void 0;
3711
3746
  a.push({
3712
3747
  type: H.literal,
3713
- value: r.getDateTimeFormat(t, d).format(c)
3748
+ value: r.getDateTimeFormat(t, p).format(f)
3714
3749
  });
3715
3750
  continue;
3716
3751
  }
3717
- if (jt(l)) {
3718
- var d = typeof l.style == "string" ? n.time[l.style] : Ue(l.style) ? l.style.parsedOptions : n.time.medium;
3752
+ if (Wt(l)) {
3753
+ var p = typeof l.style == "string" ? n.time[l.style] : Ve(l.style) ? l.style.parsedOptions : n.time.medium;
3719
3754
  a.push({
3720
3755
  type: H.literal,
3721
- value: r.getDateTimeFormat(t, d).format(c)
3756
+ value: r.getDateTimeFormat(t, p).format(f)
3722
3757
  });
3723
3758
  continue;
3724
3759
  }
3725
- if (Dt(l)) {
3726
- var d = typeof l.style == "string" ? n.number[l.style] : Wt(l.style) ? l.style.parsedOptions : void 0;
3727
- d && d.scale && (c = c * (d.scale || 1)), a.push({
3760
+ if (Vt(l)) {
3761
+ var p = typeof l.style == "string" ? n.number[l.style] : Jt(l.style) ? l.style.parsedOptions : void 0;
3762
+ p && p.scale && (f = f * (p.scale || 1)), a.push({
3728
3763
  type: H.literal,
3729
- value: r.getNumberFormat(t, d).format(c)
3764
+ value: r.getNumberFormat(t, p).format(f)
3730
3765
  });
3731
3766
  continue;
3732
3767
  }
3733
- if (Xt(l)) {
3768
+ if (Qt(l)) {
3734
3769
  var m = l.children, y = l.value, E = i[y];
3735
- if (!ti(E))
3736
- throw new qn(y, "function", s);
3737
- var A = fe(m, t, r, n, i, o), P = E(A.map(function(T) {
3738
- return T.value;
3770
+ if (!oi(E))
3771
+ throw new ri(y, "function", s);
3772
+ var A = ce(m, t, r, n, i, o), P = E(A.map(function(w) {
3773
+ return w.value;
3739
3774
  }));
3740
- Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(T) {
3775
+ Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(w) {
3741
3776
  return {
3742
- type: typeof T == "string" ? H.literal : H.object,
3743
- value: T
3777
+ type: typeof w == "string" ? H.literal : H.object,
3778
+ value: w
3744
3779
  };
3745
3780
  }));
3746
3781
  }
3747
- if (kt(l)) {
3748
- var S = l.options[c] || l.options.other;
3749
- if (!S)
3750
- throw new gt(l.value, c, Object.keys(l.options), s);
3751
- a.push.apply(a, fe(S.value, t, r, n, i));
3782
+ if (zt(l)) {
3783
+ var T = l.options[f] || l.options.other;
3784
+ if (!T)
3785
+ throw new _t(l.value, f, Object.keys(l.options), s);
3786
+ a.push.apply(a, ce(T.value, t, r, n, i));
3752
3787
  continue;
3753
3788
  }
3754
- if (Vt(l)) {
3755
- var S = l.options["=".concat(c)];
3756
- if (!S) {
3789
+ if (Zt(l)) {
3790
+ var T = l.options["=".concat(f)];
3791
+ if (!T) {
3757
3792
  if (!Intl.PluralRules)
3758
- throw new ye(`Intl.PluralRules is not available in this environment.
3793
+ throw new xe(`Intl.PluralRules is not available in this environment.
3759
3794
  Try polyfilling it using "@formatjs/intl-pluralrules"
3760
- `, z.MISSING_INTL_API, s);
3761
- var L = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3762
- S = l.options[L] || l.options.other;
3795
+ `, W.MISSING_INTL_API, s);
3796
+ var O = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3797
+ T = l.options[O] || l.options.other;
3763
3798
  }
3764
- if (!S)
3765
- throw new gt(l.value, c, Object.keys(l.options), s);
3766
- a.push.apply(a, fe(S.value, t, r, n, i, c - (l.offset || 0)));
3799
+ if (!T)
3800
+ throw new _t(l.value, f, Object.keys(l.options), s);
3801
+ a.push.apply(a, ce(T.value, t, r, n, i, f - (l.offset || 0)));
3767
3802
  continue;
3768
3803
  }
3769
3804
  }
3770
- return ei(a);
3805
+ return ii(a);
3771
3806
  }
3772
- function ri(e, t) {
3773
- return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3774
- return r[n] = x(x({}, e[n]), t[n] || {}), r;
3807
+ function si(e, t) {
3808
+ return t ? L(L(L({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3809
+ return r[n] = L(L({}, e[n]), t[n] || {}), r;
3775
3810
  }, {})) : e;
3776
3811
  }
3777
- function ni(e, t) {
3812
+ function ai(e, t) {
3778
3813
  return t ? Object.keys(e).reduce(function(r, n) {
3779
- return r[n] = ri(e[n], t[n]), r;
3780
- }, x({}, e)) : e;
3814
+ return r[n] = si(e[n], t[n]), r;
3815
+ }, L({}, e)) : e;
3781
3816
  }
3782
- function Ae(e) {
3817
+ function Le(e) {
3783
3818
  return {
3784
3819
  create: function() {
3785
3820
  return {
@@ -3793,39 +3828,39 @@ function Ae(e) {
3793
3828
  }
3794
3829
  };
3795
3830
  }
3796
- function ii(e) {
3831
+ function ui(e) {
3797
3832
  return e === void 0 && (e = {
3798
3833
  number: {},
3799
3834
  dateTime: {},
3800
3835
  pluralRules: {}
3801
3836
  }), {
3802
- getNumberFormat: He(function() {
3837
+ getNumberFormat: Ae(function() {
3803
3838
  for (var t, r = [], n = 0; n < arguments.length; n++)
3804
3839
  r[n] = arguments[n];
3805
- return new ((t = Intl.NumberFormat).bind.apply(t, V([void 0], r, !1)))();
3840
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ce([void 0], r, !1)))();
3806
3841
  }, {
3807
- cache: Ae(e.number),
3808
- strategy: Be.variadic
3842
+ cache: Le(e.number),
3843
+ strategy: Pe.variadic
3809
3844
  }),
3810
- getDateTimeFormat: He(function() {
3845
+ getDateTimeFormat: Ae(function() {
3811
3846
  for (var t, r = [], n = 0; n < arguments.length; n++)
3812
3847
  r[n] = arguments[n];
3813
- return new ((t = Intl.DateTimeFormat).bind.apply(t, V([void 0], r, !1)))();
3848
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ce([void 0], r, !1)))();
3814
3849
  }, {
3815
- cache: Ae(e.dateTime),
3816
- strategy: Be.variadic
3850
+ cache: Le(e.dateTime),
3851
+ strategy: Pe.variadic
3817
3852
  }),
3818
- getPluralRules: He(function() {
3853
+ getPluralRules: Ae(function() {
3819
3854
  for (var t, r = [], n = 0; n < arguments.length; n++)
3820
3855
  r[n] = arguments[n];
3821
- return new ((t = Intl.PluralRules).bind.apply(t, V([void 0], r, !1)))();
3856
+ return new ((t = Intl.PluralRules).bind.apply(t, Ce([void 0], r, !1)))();
3822
3857
  }, {
3823
- cache: Ae(e.pluralRules),
3824
- strategy: Be.variadic
3858
+ cache: Le(e.pluralRules),
3859
+ strategy: Pe.variadic
3825
3860
  })
3826
3861
  };
3827
3862
  }
3828
- var oi = (
3863
+ var hi = (
3829
3864
  /** @class */
3830
3865
  function() {
3831
3866
  function e(t, r, n, i) {
@@ -3839,12 +3874,12 @@ var oi = (
3839
3874
  var u = o.formatToParts(h);
3840
3875
  if (u.length === 1)
3841
3876
  return u[0].value;
3842
- var l = u.reduce(function(f, c) {
3843
- return !f.length || c.type !== H.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3877
+ var l = u.reduce(function(c, f) {
3878
+ return !c.length || f.type !== H.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3844
3879
  }, []);
3845
3880
  return l.length <= 1 ? l[0] || "" : l;
3846
3881
  }, this.formatToParts = function(h) {
3847
- return fe(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3882
+ return ce(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3848
3883
  }, this.resolvedOptions = function() {
3849
3884
  var h;
3850
3885
  return {
@@ -3857,13 +3892,13 @@ var oi = (
3857
3892
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3858
3893
  var s = i || {};
3859
3894
  s.formatters;
3860
- var a = Rr(s, ["formatters"]);
3861
- this.ast = e.__parse(t, x(x({}, a), { locale: this.resolvedLocale }));
3895
+ var a = yn(s, ["formatters"]);
3896
+ this.ast = e.__parse(t, L(L({}, a), { locale: this.resolvedLocale }));
3862
3897
  } else
3863
3898
  this.ast = t;
3864
3899
  if (!Array.isArray(this.ast))
3865
3900
  throw new TypeError("A message must be provided as a String or AST.");
3866
- this.formats = ni(e.formats, n), this.formatters = i && i.formatters || ii(this.formatterCache);
3901
+ this.formats = ai(e.formats, n), this.formatters = i && i.formatters || ui(this.formatterCache);
3867
3902
  }
3868
3903
  return Object.defineProperty(e, "defaultLocale", {
3869
3904
  get: function() {
@@ -3876,7 +3911,7 @@ var oi = (
3876
3911
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3877
3912
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3878
3913
  }
3879
- }, e.__parse = Yn, e.formats = {
3914
+ }, e.__parse = ti, e.formats = {
3880
3915
  number: {
3881
3916
  integer: {
3882
3917
  maximumFractionDigits: 0
@@ -3937,7 +3972,7 @@ var oi = (
3937
3972
  }, e;
3938
3973
  }()
3939
3974
  );
3940
- function si(e, t) {
3975
+ function li(e, t) {
3941
3976
  if (t == null)
3942
3977
  return;
3943
3978
  if (t in e)
@@ -3958,92 +3993,92 @@ function si(e, t) {
3958
3993
  n = void 0;
3959
3994
  return n;
3960
3995
  }
3961
- const $ = {}, ai = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), er = (e, t) => {
3996
+ const R = {}, ci = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), ir = (e, t) => {
3962
3997
  if (t == null)
3963
3998
  return;
3964
- if (t in $ && e in $[t])
3965
- return $[t][e];
3966
- const r = xe(t);
3999
+ if (t in R && e in R[t])
4000
+ return R[t][e];
4001
+ const r = _e(t);
3967
4002
  for (let n = 0; n < r.length; n++) {
3968
- const i = r[n], o = hi(i, e);
4003
+ const i = r[n], o = mi(i, e);
3969
4004
  if (o)
3970
- return ai(e, t, o);
4005
+ return ci(e, t, o);
3971
4006
  }
3972
4007
  };
3973
- let Je;
3974
- const ie = ge({});
3975
- function ui(e) {
3976
- return Je[e] || null;
4008
+ let et;
4009
+ const ie = ye({});
4010
+ function fi(e) {
4011
+ return et[e] || null;
3977
4012
  }
3978
- function tr(e) {
3979
- return e in Je;
4013
+ function or(e) {
4014
+ return e in et;
3980
4015
  }
3981
- function hi(e, t) {
3982
- if (!tr(e))
4016
+ function mi(e, t) {
4017
+ if (!or(e))
3983
4018
  return null;
3984
- const r = ui(e);
3985
- return si(r, t);
4019
+ const r = fi(e);
4020
+ return li(r, t);
3986
4021
  }
3987
- function li(e) {
4022
+ function pi(e) {
3988
4023
  if (e == null)
3989
4024
  return;
3990
- const t = xe(e);
4025
+ const t = _e(e);
3991
4026
  for (let r = 0; r < t.length; r++) {
3992
4027
  const n = t[r];
3993
- if (tr(n))
4028
+ if (or(n))
3994
4029
  return n;
3995
4030
  }
3996
4031
  }
3997
- function rr(e, ...t) {
3998
- delete $[e], ie.update((r) => (r[e] = dn.all([r[e] || {}, ...t]), r));
4032
+ function sr(e, ...t) {
4033
+ delete R[e], ie.update((r) => (r[e] = gn.all([r[e] || {}, ...t]), r));
3999
4034
  }
4000
- J(
4035
+ Q(
4001
4036
  [ie],
4002
4037
  ([e]) => Object.keys(e)
4003
4038
  );
4004
- ie.subscribe((e) => Je = e);
4005
- const ce = {};
4006
- function fi(e, t) {
4007
- ce[e].delete(t), ce[e].size === 0 && delete ce[e];
4039
+ ie.subscribe((e) => et = e);
4040
+ const fe = {};
4041
+ function di(e, t) {
4042
+ fe[e].delete(t), fe[e].size === 0 && delete fe[e];
4008
4043
  }
4009
- function nr(e) {
4010
- return ce[e];
4044
+ function ar(e) {
4045
+ return fe[e];
4011
4046
  }
4012
- function ci(e) {
4013
- return xe(e).map((t) => {
4014
- const r = nr(t);
4047
+ function bi(e) {
4048
+ return _e(e).map((t) => {
4049
+ const r = ar(t);
4015
4050
  return [t, r ? [...r] : []];
4016
4051
  }).filter(([, t]) => t.length > 0);
4017
4052
  }
4018
- function Xe(e) {
4019
- return e == null ? !1 : xe(e).some(
4053
+ function Je(e) {
4054
+ return e == null ? !1 : _e(e).some(
4020
4055
  (t) => {
4021
4056
  var r;
4022
- return (r = nr(t)) == null ? void 0 : r.size;
4057
+ return (r = ar(t)) == null ? void 0 : r.size;
4023
4058
  }
4024
4059
  );
4025
4060
  }
4026
- function mi(e, t) {
4061
+ function gi(e, t) {
4027
4062
  return Promise.all(
4028
- t.map((n) => (fi(e, n), n().then((i) => i.default || i)))
4029
- ).then((n) => rr(e, ...n));
4030
- }
4031
- const K = {};
4032
- function ir(e) {
4033
- if (!Xe(e))
4034
- return e in K ? K[e] : Promise.resolve();
4035
- const t = ci(e);
4036
- return K[e] = Promise.all(
4063
+ t.map((n) => (di(e, n), n().then((i) => i.default || i)))
4064
+ ).then((n) => sr(e, ...n));
4065
+ }
4066
+ const q = {};
4067
+ function ur(e) {
4068
+ if (!Je(e))
4069
+ return e in q ? q[e] : Promise.resolve();
4070
+ const t = bi(e);
4071
+ return q[e] = Promise.all(
4037
4072
  t.map(
4038
- ([r, n]) => mi(r, n)
4073
+ ([r, n]) => gi(r, n)
4039
4074
  )
4040
4075
  ).then(() => {
4041
- if (Xe(e))
4042
- return ir(e);
4043
- delete K[e];
4044
- }), K[e];
4076
+ if (Je(e))
4077
+ return ur(e);
4078
+ delete q[e];
4079
+ }), q[e];
4045
4080
  }
4046
- const di = {
4081
+ const yi = {
4047
4082
  number: {
4048
4083
  scientific: { notation: "scientific" },
4049
4084
  engineering: { notation: "engineering" },
@@ -4072,135 +4107,135 @@ const di = {
4072
4107
  timeZoneName: "short"
4073
4108
  }
4074
4109
  }
4075
- }, pi = {
4110
+ }, vi = {
4076
4111
  fallbackLocale: null,
4077
4112
  loadingDelay: 200,
4078
- formats: di,
4113
+ formats: yi,
4079
4114
  warnOnMissingMessages: !0,
4080
4115
  handleMissingMessage: void 0,
4081
4116
  ignoreTag: !0
4082
- }, bi = pi;
4083
- function Z() {
4084
- return bi;
4085
- }
4086
- const Pe = ge(!1);
4087
- var gi = Object.defineProperty, yi = Object.defineProperties, xi = Object.getOwnPropertyDescriptors, yt = Object.getOwnPropertySymbols, vi = Object.prototype.hasOwnProperty, _i = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ei = (e, t) => {
4088
- for (var r in t)
4089
- vi.call(t, r) && xt(e, r, t[r]);
4090
- if (yt)
4091
- for (var r of yt(t))
4092
- _i.call(t, r) && xt(e, r, t[r]);
4117
+ }, xi = vi;
4118
+ function z() {
4119
+ return xi;
4120
+ }
4121
+ const Ie = ye(!1);
4122
+ var _i = Object.defineProperty, Ei = Object.defineProperties, wi = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, Si = Object.prototype.hasOwnProperty, Ti = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? _i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Hi = (e, t) => {
4123
+ for (var r in t || (t = {}))
4124
+ Si.call(t, r) && wt(e, r, t[r]);
4125
+ if (Et)
4126
+ for (var r of Et(t))
4127
+ Ti.call(t, r) && wt(e, r, t[r]);
4093
4128
  return e;
4094
- }, wi = (e, t) => yi(e, xi(t));
4095
- let We;
4096
- const me = ge(null);
4097
- function vt(e) {
4129
+ }, Bi = (e, t) => Ei(e, wi(t));
4130
+ let Ye;
4131
+ const pe = ye(null);
4132
+ function St(e) {
4098
4133
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4099
4134
  }
4100
- function xe(e, t = Z().fallbackLocale) {
4101
- const r = vt(e);
4102
- return t ? [.../* @__PURE__ */ new Set([...r, ...vt(t)])] : r;
4135
+ function _e(e, t = z().fallbackLocale) {
4136
+ const r = St(e);
4137
+ return t ? [.../* @__PURE__ */ new Set([...r, ...St(t)])] : r;
4103
4138
  }
4104
4139
  function G() {
4105
- return We ?? void 0;
4140
+ return Ye ?? void 0;
4106
4141
  }
4107
- me.subscribe((e) => {
4108
- We = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4142
+ pe.subscribe((e) => {
4143
+ Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4109
4144
  });
4110
- const Si = (e) => {
4111
- if (e && li(e) && Xe(e)) {
4112
- const { loadingDelay: t } = Z();
4145
+ const Ci = (e) => {
4146
+ if (e && pi(e) && Je(e)) {
4147
+ const { loadingDelay: t } = z();
4113
4148
  let r;
4114
4149
  return typeof window < "u" && G() != null && t ? r = window.setTimeout(
4115
- () => Pe.set(!0),
4150
+ () => Ie.set(!0),
4116
4151
  t
4117
- ) : Pe.set(!0), ir(e).then(() => {
4118
- me.set(e);
4152
+ ) : Ie.set(!0), ur(e).then(() => {
4153
+ pe.set(e);
4119
4154
  }).finally(() => {
4120
- clearTimeout(r), Pe.set(!1);
4155
+ clearTimeout(r), Ie.set(!1);
4121
4156
  });
4122
4157
  }
4123
- return me.set(e);
4124
- }, Y = wi(Ei({}, me), {
4125
- set: Si
4126
- }), ve = (e) => {
4158
+ return pe.set(e);
4159
+ }, J = Bi(Hi({}, pe), {
4160
+ set: Ci
4161
+ }), Ee = (e) => {
4127
4162
  const t = /* @__PURE__ */ Object.create(null);
4128
4163
  return (n) => {
4129
4164
  const i = JSON.stringify(n);
4130
4165
  return i in t ? t[i] : t[i] = e(n);
4131
4166
  };
4132
4167
  };
4133
- var Ti = Object.defineProperty, de = Object.getOwnPropertySymbols, or = Object.prototype.hasOwnProperty, sr = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? Ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
4168
+ var Ai = Object.defineProperty, de = Object.getOwnPropertySymbols, hr = Object.prototype.hasOwnProperty, lr = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
4134
4169
  for (var r in t || (t = {}))
4135
- or.call(t, r) && _t(e, r, t[r]);
4170
+ hr.call(t, r) && Tt(e, r, t[r]);
4136
4171
  if (de)
4137
4172
  for (var r of de(t))
4138
- sr.call(t, r) && _t(e, r, t[r]);
4173
+ lr.call(t, r) && Tt(e, r, t[r]);
4139
4174
  return e;
4140
- }, q = (e, t) => {
4175
+ }, Y = (e, t) => {
4141
4176
  var r = {};
4142
4177
  for (var n in e)
4143
- or.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4178
+ hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4144
4179
  if (e != null && de)
4145
4180
  for (var n of de(e))
4146
- t.indexOf(n) < 0 && sr.call(e, n) && (r[n] = e[n]);
4181
+ t.indexOf(n) < 0 && lr.call(e, n) && (r[n] = e[n]);
4147
4182
  return r;
4148
4183
  };
4149
- const ne = (e, t) => {
4150
- const { formats: r } = Z();
4184
+ const re = (e, t) => {
4185
+ const { formats: r } = z();
4151
4186
  if (e in r && t in r[e])
4152
4187
  return r[e][t];
4153
4188
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4154
- }, Hi = ve(
4189
+ }, Pi = Ee(
4155
4190
  (e) => {
4156
- var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4191
+ var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4157
4192
  if (r == null)
4158
4193
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4159
- return n && (i = ne("number", n)), new Intl.NumberFormat(r, i);
4194
+ return n && (i = re("number", n)), new Intl.NumberFormat(r, i);
4160
4195
  }
4161
- ), Bi = ve(
4196
+ ), Oi = Ee(
4162
4197
  (e) => {
4163
- var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4198
+ var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4164
4199
  if (r == null)
4165
4200
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4166
- return n ? i = ne("date", n) : Object.keys(i).length === 0 && (i = ne("date", "short")), new Intl.DateTimeFormat(r, i);
4201
+ return n ? i = re("date", n) : Object.keys(i).length === 0 && (i = re("date", "short")), new Intl.DateTimeFormat(r, i);
4167
4202
  }
4168
- ), Ci = ve(
4203
+ ), Li = Ee(
4169
4204
  (e) => {
4170
- var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4205
+ var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4171
4206
  if (r == null)
4172
4207
  throw new Error(
4173
4208
  '[svelte-i18n] A "locale" must be set to format time values'
4174
4209
  );
4175
- return n ? i = ne("time", n) : Object.keys(i).length === 0 && (i = ne("time", "short")), new Intl.DateTimeFormat(r, i);
4210
+ return n ? i = re("time", n) : Object.keys(i).length === 0 && (i = re("time", "short")), new Intl.DateTimeFormat(r, i);
4176
4211
  }
4177
- ), Ai = (e = {}) => {
4212
+ ), Ii = (e = {}) => {
4178
4213
  var t = e, {
4179
4214
  locale: r = G()
4180
- } = t, n = q(t, [
4215
+ } = t, n = Y(t, [
4181
4216
  "locale"
4182
4217
  ]);
4183
- return Hi(Ye({ locale: r }, n));
4184
- }, Pi = (e = {}) => {
4218
+ return Pi(tt({ locale: r }, n));
4219
+ }, Mi = (e = {}) => {
4185
4220
  var t = e, {
4186
4221
  locale: r = G()
4187
- } = t, n = q(t, [
4222
+ } = t, n = Y(t, [
4188
4223
  "locale"
4189
4224
  ]);
4190
- return Bi(Ye({ locale: r }, n));
4191
- }, Li = (e = {}) => {
4225
+ return Oi(tt({ locale: r }, n));
4226
+ }, Ni = (e = {}) => {
4192
4227
  var t = e, {
4193
4228
  locale: r = G()
4194
- } = t, n = q(t, [
4229
+ } = t, n = Y(t, [
4195
4230
  "locale"
4196
4231
  ]);
4197
- return Ci(Ye({ locale: r }, n));
4198
- }, Oi = ve(
4232
+ return Li(tt({ locale: r }, n));
4233
+ }, $i = Ee(
4199
4234
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4200
- (e, t = G()) => new oi(e, t, Z().formats, {
4201
- ignoreTag: Z().ignoreTag
4235
+ (e, t = G()) => new hi(e, t, z().formats, {
4236
+ ignoreTag: z().ignoreTag
4202
4237
  })
4203
- ), Ii = (e, t = {}) => {
4238
+ ), Ri = (e, t = {}) => {
4204
4239
  var r, n, i, o;
4205
4240
  let s = t;
4206
4241
  typeof e == "object" && (s = e, e = s.id);
@@ -4213,39 +4248,39 @@ const ne = (e, t) => {
4213
4248
  throw new Error(
4214
4249
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4215
4250
  );
4216
- let l = er(e, h);
4251
+ let l = ir(e, h);
4217
4252
  if (!l)
4218
- l = (o = (i = (n = (r = Z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4253
+ l = (o = (i = (n = (r = z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4219
4254
  else if (typeof l != "string")
4220
4255
  return console.warn(
4221
4256
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4222
4257
  ), l;
4223
4258
  if (!a)
4224
4259
  return l;
4225
- let f = l;
4260
+ let c = l;
4226
4261
  try {
4227
- f = Oi(l, h).format(a);
4228
- } catch (c) {
4229
- c instanceof Error && console.warn(
4262
+ c = $i(l, h).format(a);
4263
+ } catch (f) {
4264
+ f instanceof Error && console.warn(
4230
4265
  `[svelte-i18n] Message "${e}" has syntax error:`,
4231
- c.message
4266
+ f.message
4232
4267
  );
4233
4268
  }
4234
- return f;
4235
- }, Mi = (e, t) => Li(t).format(e), Ni = (e, t) => Pi(t).format(e), Ri = (e, t) => Ai(t).format(e), $i = (e, t = G()) => er(e, t), Gi = J([Y, ie], () => Ii);
4236
- J([Y], () => Mi);
4237
- J([Y], () => Ni);
4238
- J([Y], () => Ri);
4239
- J([Y, ie], () => $i);
4240
- window.emWidgets = { topic: Jr };
4241
- const Ui = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4242
- function Et(e, t) {
4243
- rr(e, t);
4244
- }
4245
- function Di(e) {
4246
- Y.set(e);
4247
- }
4248
- const wt = {
4269
+ return c;
4270
+ }, Gi = (e, t) => Ni(t).format(e), Ui = (e, t) => Mi(t).format(e), Di = (e, t) => Ii(t).format(e), Fi = (e, t = G()) => ir(e, t), ji = Q([J, ie], () => Ri);
4271
+ Q([J], () => Gi);
4272
+ Q([J], () => Ui);
4273
+ Q([J], () => Di);
4274
+ Q([J, ie], () => Fi);
4275
+ window.emWidgets = { topic: Kr };
4276
+ const ki = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4277
+ function Ht(e, t) {
4278
+ sr(e, t);
4279
+ }
4280
+ function Vi(e) {
4281
+ J.set(e);
4282
+ }
4283
+ const Bt = {
4249
4284
  en: {
4250
4285
  cancel: "Cancel",
4251
4286
  confirm: "Confirm"
@@ -4291,13 +4326,13 @@ const wt = {
4291
4326
  confirm: "Confirm"
4292
4327
  }
4293
4328
  };
4294
- function Fi(e, t) {
4329
+ function Xi(e, t) {
4295
4330
  if (e) {
4296
4331
  const r = document.createElement("style");
4297
4332
  r.innerHTML = t, e.appendChild(r);
4298
4333
  }
4299
4334
  }
4300
- function ji(e, t) {
4335
+ function Wi(e, t) {
4301
4336
  const r = new URL(t);
4302
4337
  fetch(r.href).then((n) => n.text()).then((n) => {
4303
4338
  const i = document.createElement("style");
@@ -4306,7 +4341,7 @@ function ji(e, t) {
4306
4341
  console.error("There was an error while trying to load client styling from URL", n);
4307
4342
  });
4308
4343
  }
4309
- function ki(e, t, r) {
4344
+ function zi(e, t, r) {
4310
4345
  if (window.emMessageBus) {
4311
4346
  const n = document.createElement("style");
4312
4347
  window.emMessageBus.subscribe(t, (i) => {
@@ -4314,136 +4349,136 @@ function ki(e, t, r) {
4314
4349
  });
4315
4350
  }
4316
4351
  }
4317
- function Vi(e) {
4318
- 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}');
4352
+ function Zi(e) {
4353
+ xr(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}');
4319
4354
  }
4320
- const Xi = (e) => ({}), St = (e) => ({});
4321
- function Wi(e) {
4355
+ const Qi = (e) => ({}), Ct = (e) => ({});
4356
+ function Ji(e) {
4322
4357
  let t, r;
4323
4358
  return {
4324
4359
  c() {
4325
- t = et("svg"), r = et("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");
4360
+ t = it("svg"), r = it("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");
4326
4361
  },
4327
4362
  m(n, i) {
4328
- Ze(n, t, i), B(t, r);
4363
+ Ke(n, t, i), B(t, r);
4329
4364
  },
4330
- p: O,
4365
+ p: I,
4331
4366
  d(n) {
4332
- n && pe(t);
4367
+ n && be(t);
4333
4368
  }
4334
4369
  };
4335
4370
  }
4336
- function zi(e) {
4371
+ function Yi(e) {
4337
4372
  let t, r, n, i, o, s, a, h, u, l = (
4338
4373
  /*$_*/
4339
4374
  e[2]("cancel") + ""
4340
- ), f, c, d, m = (
4375
+ ), c, f, p, m = (
4341
4376
  /*$_*/
4342
4377
  e[2]("confirm") + ""
4343
4378
  ), y, E, A, P;
4344
- const S = (
4379
+ const T = (
4345
4380
  /*#slots*/
4346
4381
  e[14].close
4347
- ), L = cr(
4348
- S,
4382
+ ), O = br(
4383
+ T,
4349
4384
  e,
4350
4385
  /*$$scope*/
4351
4386
  e[13],
4352
- St
4353
- ), T = L || Wi();
4387
+ Ct
4388
+ ), w = O || Ji();
4354
4389
  return {
4355
4390
  c() {
4356
- t = I("div"), r = I("div"), n = I("span"), T.c(), i = _e(), o = I("div"), s = ae(
4391
+ t = M("div"), r = M("div"), n = M("span"), w && w.c(), i = we(), o = M("div"), s = ae(
4357
4392
  /*modaltext*/
4358
4393
  e[0]
4359
- ), a = _e(), h = I("div"), u = I("button"), f = ae(l), c = _e(), d = I("button"), y = ae(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*/
4360
- (e[3] ? "GamingLimitsConfirmationControlAreaMobile" : "")), w(r, "class", "GamingLimitsConfirmationContainer " + /*isMobile*/
4361
- (e[3] ? "GamingLimitsConfirmationContainerMobile" : "")), w(t, "class", "GamingLimitsConfirmationWrapper " + /*isMobile*/
4394
+ ), a = we(), h = M("div"), u = M("button"), c = ae(l), f = we(), p = M("button"), y = ae(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*/
4395
+ (e[3] ? "GamingLimitsConfirmationControlAreaMobile" : "")), S(r, "class", "GamingLimitsConfirmationContainer " + /*isMobile*/
4396
+ (e[3] ? "GamingLimitsConfirmationContainerMobile" : "")), S(t, "class", "GamingLimitsConfirmationWrapper " + /*isMobile*/
4362
4397
  (e[3] ? "GamingLimitsConfirmationMobileWrapper" : ""));
4363
4398
  },
4364
- m(_, C) {
4365
- Ze(_, 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 = [
4366
- Ee(
4399
+ m(x, C) {
4400
+ Ke(x, 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 = [
4401
+ Se(
4367
4402
  n,
4368
4403
  "click",
4369
4404
  /*close*/
4370
4405
  e[4]
4371
4406
  ),
4372
- Ee(
4407
+ Se(
4373
4408
  u,
4374
4409
  "click",
4375
4410
  /*cancelChanges*/
4376
4411
  e[6]
4377
4412
  ),
4378
- Ee(
4379
- d,
4413
+ Se(
4414
+ p,
4380
4415
  "click",
4381
4416
  /*confirmChanges*/
4382
4417
  e[5]
4383
4418
  )
4384
4419
  ], A = !0);
4385
4420
  },
4386
- p(_, [C]) {
4387
- L && L.p && (!E || C & /*$$scope*/
4388
- 8192) && dr(
4389
- L,
4390
- S,
4391
- _,
4421
+ p(x, [C]) {
4422
+ O && O.p && (!E || C & /*$$scope*/
4423
+ 8192) && yr(
4424
+ O,
4425
+ T,
4426
+ x,
4392
4427
  /*$$scope*/
4393
- _[13],
4394
- E ? mr(
4395
- S,
4428
+ x[13],
4429
+ E ? gr(
4430
+ T,
4396
4431
  /*$$scope*/
4397
- _[13],
4432
+ x[13],
4398
4433
  C,
4399
- Xi
4400
- ) : pr(
4434
+ Qi
4435
+ ) : vr(
4401
4436
  /*$$scope*/
4402
- _[13]
4437
+ x[13]
4403
4438
  ),
4404
- St
4439
+ Ct
4405
4440
  ), (!E || C & /*modaltext*/
4406
- 1) && we(
4441
+ 1) && Te(
4407
4442
  s,
4408
4443
  /*modaltext*/
4409
- _[0]
4444
+ x[0]
4410
4445
  ), (!E || C & /*$_*/
4411
4446
  4) && l !== (l = /*$_*/
4412
- _[2]("cancel") + "") && we(f, l), (!E || C & /*$_*/
4447
+ x[2]("cancel") + "") && Te(c, l), (!E || C & /*$_*/
4413
4448
  4) && m !== (m = /*$_*/
4414
- _[2]("confirm") + "") && we(y, m);
4449
+ x[2]("confirm") + "") && Te(y, m);
4415
4450
  },
4416
- i(_) {
4417
- E || (At(T, _), E = !0);
4451
+ i(x) {
4452
+ E || (It(w, x), E = !0);
4418
4453
  },
4419
- o(_) {
4420
- Cr(T, _), E = !1;
4454
+ o(x) {
4455
+ Lr(w, x), E = !1;
4421
4456
  },
4422
- d(_) {
4423
- _ && pe(t), T.d(_), e[15](null), A = !1, Q(P);
4457
+ d(x) {
4458
+ x && be(t), w && w.d(x), e[15](null), A = !1, Z(P);
4424
4459
  }
4425
4460
  };
4426
4461
  }
4427
- function Zi(e, t, r) {
4462
+ function qi(e, t, r) {
4428
4463
  let n;
4429
- fr(e, Gi, (b) => r(2, n = b));
4430
- 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;
4431
- const d = () => {
4432
- fetch(c).then((U) => U.json()).then((U) => {
4433
- Object.keys(U).forEach((qe) => {
4434
- Et(qe, U[qe]);
4464
+ dr(e, ji, (b) => r(2, n = b));
4465
+ 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;
4466
+ const p = () => {
4467
+ fetch(f).then((U) => U.json()).then((U) => {
4468
+ Object.keys(U).forEach((rt) => {
4469
+ Ht(rt, U[rt]);
4435
4470
  });
4436
4471
  }).catch((U) => {
4437
4472
  console.log(U);
4438
4473
  });
4439
4474
  };
4440
- Object.keys(wt).forEach((b) => {
4441
- Et(b, wt[b]);
4475
+ Object.keys(Bt).forEach((b) => {
4476
+ Ht(b, Bt[b]);
4442
4477
  });
4443
- let m, y = window.navigator.userAgent, E = Ui(y) !== "PC", A = {}, P = "";
4444
- const S = () => {
4478
+ let m, y = window.navigator.userAgent, E = ki(y) !== "PC", A = {}, P = "";
4479
+ const T = () => {
4445
4480
  window.postMessage({ type: "ModalClosed" }, window.location.href);
4446
- }, L = () => {
4481
+ }, O = () => {
4447
4482
  a === "groupEdit" ? window.postMessage({ type: "GamingLimitsConfirmChanges" }, window.location.href) : a === "infoCard" && window.postMessage(
4448
4483
  {
4449
4484
  type: "PlayerAccountGamingLimitDelete",
@@ -4452,62 +4487,62 @@ function Zi(e, t, r) {
4452
4487
  },
4453
4488
  window.location.href
4454
4489
  ), window.postMessage({ type: "ModalClosed" }, window.location.href);
4455
- }, T = () => {
4490
+ }, w = () => {
4456
4491
  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);
4457
- }, _ = (b) => b === "Time Limit" ? "cumulativeSessionLimits" : b === "Deposit Limit" ? "depositLimits" : b === "Wagering Limit" ? "wageringLimit" : "lossLimit", C = (b) => {
4492
+ }, x = (b) => b === "Time Limit" ? "cumulativeSessionLimits" : b === "Deposit Limit" ? "depositLimits" : b === "Wagering Limit" ? "wageringLimit" : "lossLimit", C = (b) => {
4458
4493
  if (b.data)
4459
4494
  switch (b.data.type) {
4460
4495
  case "DeleteLimitsItem":
4461
- A = b.data.removeData, P = _(b.data.removeName);
4496
+ A = b.data.removeData, P = x(b.data.removeName);
4462
4497
  break;
4463
4498
  }
4464
- }, ar = () => {
4465
- Di(h);
4499
+ }, cr = () => {
4500
+ Vi(h);
4466
4501
  };
4467
- Er(() => (window.addEventListener("message", C, !1), () => {
4502
+ Hr(() => (window.addEventListener("message", C, !1), () => {
4468
4503
  window.removeEventListener("message", C);
4469
4504
  }));
4470
- function ur(b) {
4471
- Le[b ? "unshift" : "push"](() => {
4505
+ function fr(b) {
4506
+ Me[b ? "unshift" : "push"](() => {
4472
4507
  m = b, r(1, m);
4473
4508
  });
4474
4509
  }
4475
4510
  return e.$$set = (b) => {
4476
- "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);
4511
+ "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);
4477
4512
  }, e.$$.update = () => {
4478
4513
  e.$$.dirty & /*modaltext, modalsource, lang*/
4479
- 385 && s && a && h && ar(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4480
- 514 && u && m && Fi(m, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4481
- 1026 && l && m && ji(m, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4482
- 2050 && f && m && ki(m, `${f}.Style`), e.$$.dirty & /*translationurl*/
4483
- 4096 && c && d();
4514
+ 385 && s && a && h && cr(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4515
+ 514 && u && m && Xi(m, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4516
+ 1026 && l && m && Wi(m, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4517
+ 2050 && c && m && zi(m, `${c}.Style`), e.$$.dirty & /*translationurl*/
4518
+ 4096 && f && p();
4484
4519
  }, [
4485
4520
  s,
4486
4521
  m,
4487
4522
  n,
4488
4523
  E,
4489
- S,
4490
- L,
4491
4524
  T,
4525
+ O,
4526
+ w,
4492
4527
  a,
4493
4528
  h,
4494
4529
  u,
4495
4530
  l,
4496
- f,
4497
4531
  c,
4532
+ f,
4498
4533
  o,
4499
4534
  i,
4500
- ur
4535
+ fr
4501
4536
  ];
4502
4537
  }
4503
- class Qi extends Mr {
4538
+ class Ki extends Gr {
4504
4539
  constructor(t) {
4505
- super(), Or(
4540
+ super(), $r(
4506
4541
  this,
4507
4542
  t,
4508
- Zi,
4509
- zi,
4510
- Ht,
4543
+ qi,
4544
+ Yi,
4545
+ Pt,
4511
4546
  {
4512
4547
  modaltext: 0,
4513
4548
  modalsource: 7,
@@ -4517,53 +4552,53 @@ class Qi extends Mr {
4517
4552
  mbsource: 11,
4518
4553
  translationurl: 12
4519
4554
  },
4520
- Vi
4555
+ Zi
4521
4556
  );
4522
4557
  }
4523
4558
  get modaltext() {
4524
4559
  return this.$$.ctx[0];
4525
4560
  }
4526
4561
  set modaltext(t) {
4527
- this.$$set({ modaltext: t }), M();
4562
+ this.$$set({ modaltext: t }), N();
4528
4563
  }
4529
4564
  get modalsource() {
4530
4565
  return this.$$.ctx[7];
4531
4566
  }
4532
4567
  set modalsource(t) {
4533
- this.$$set({ modalsource: t }), M();
4568
+ this.$$set({ modalsource: t }), N();
4534
4569
  }
4535
4570
  get lang() {
4536
4571
  return this.$$.ctx[8];
4537
4572
  }
4538
4573
  set lang(t) {
4539
- this.$$set({ lang: t }), M();
4574
+ this.$$set({ lang: t }), N();
4540
4575
  }
4541
4576
  get clientstyling() {
4542
4577
  return this.$$.ctx[9];
4543
4578
  }
4544
4579
  set clientstyling(t) {
4545
- this.$$set({ clientstyling: t }), M();
4580
+ this.$$set({ clientstyling: t }), N();
4546
4581
  }
4547
4582
  get clientstylingurl() {
4548
4583
  return this.$$.ctx[10];
4549
4584
  }
4550
4585
  set clientstylingurl(t) {
4551
- this.$$set({ clientstylingurl: t }), M();
4586
+ this.$$set({ clientstylingurl: t }), N();
4552
4587
  }
4553
4588
  get mbsource() {
4554
4589
  return this.$$.ctx[11];
4555
4590
  }
4556
4591
  set mbsource(t) {
4557
- this.$$set({ mbsource: t }), M();
4592
+ this.$$set({ mbsource: t }), N();
4558
4593
  }
4559
4594
  get translationurl() {
4560
4595
  return this.$$.ctx[12];
4561
4596
  }
4562
4597
  set translationurl(t) {
4563
- this.$$set({ translationurl: t }), M();
4598
+ this.$$set({ translationurl: t }), N();
4564
4599
  }
4565
4600
  }
4566
- Ir(Qi, { modaltext: {}, modalsource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, ["close"], [], !0);
4601
+ Rr(Ki, { modaltext: {}, modalsource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, ["close"], [], !0);
4567
4602
  export {
4568
- Qi as P
4603
+ Ki as P
4569
4604
  };