@everymatrix/player-account-gaming-limits-popup 1.76.0 → 1.76.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var lr = Object.defineProperty, hr = Object.defineProperties;
2
- var cr = Object.getOwnPropertyDescriptors;
3
- var et = Object.getOwnPropertySymbols;
4
- var fr = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable;
5
- var Ee = (e, t, r) => t in e ? lr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
1
+ var or = Object.defineProperty, ar = Object.defineProperties;
2
+ var sr = Object.getOwnPropertyDescriptors;
3
+ var Ye = Object.getOwnPropertySymbols;
4
+ var ur = Object.prototype.hasOwnProperty, lr = Object.prototype.propertyIsEnumerable;
5
+ var xe = (e, t, r) => t in e ? or(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- fr.call(t, r) && Ee(e, r, t[r]);
8
- if (et)
9
- for (var r of et(t))
10
- pr.call(t, r) && Ee(e, r, t[r]);
7
+ ur.call(t, r) && xe(e, r, t[r]);
8
+ if (Ye)
9
+ for (var r of Ye(t))
10
+ lr.call(t, r) && xe(e, r, t[r]);
11
11
  return e;
12
- }, rt = (e, t) => hr(e, cr(t));
13
- var I = (e, t, r) => (Ee(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var nt = (e, t, r) => new Promise((n, i) => {
12
+ }, Je = (e, t) => ar(e, sr(t));
13
+ var I = (e, t, r) => (xe(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var Ke = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (l) => {
16
16
  try {
17
17
  s(r.next(l));
@@ -29,25 +29,25 @@ var nt = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function O() {
31
31
  }
32
- function Bt(e) {
32
+ function wt(e) {
33
33
  return e();
34
34
  }
35
- function it() {
35
+ function et() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function re(e) {
39
- e.forEach(Bt);
38
+ function ne(e) {
39
+ e.forEach(wt);
40
40
  }
41
- function Ye(e) {
41
+ function ze(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Ct(e, t) {
44
+ function Pt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function dr(e) {
47
+ function hr(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function At(e, ...t) {
50
+ function Ht(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const n of t)
53
53
  n(void 0);
@@ -56,20 +56,20 @@ function At(e, ...t) {
56
56
  const r = e.subscribe(...t);
57
57
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
58
  }
59
- function mr(e, t, r) {
60
- e.$$.on_destroy.push(At(t, r));
59
+ function fr(e, t, r) {
60
+ e.$$.on_destroy.push(Ht(t, r));
61
61
  }
62
62
  function P(e, t) {
63
63
  e.appendChild(t);
64
64
  }
65
- function br(e, t, r) {
66
- const n = vr(e);
65
+ function cr(e, t, r) {
66
+ const n = dr(e);
67
67
  if (!n.getElementById(t)) {
68
68
  const i = A("style");
69
- i.id = t, i.textContent = r, yr(n, i);
69
+ i.id = t, i.textContent = r, pr(n, i);
70
70
  }
71
71
  }
72
- function vr(e) {
72
+ function dr(e) {
73
73
  if (!e)
74
74
  return document;
75
75
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -79,35 +79,35 @@ function vr(e) {
79
79
  t
80
80
  ) : e.ownerDocument;
81
81
  }
82
- function yr(e, t) {
82
+ function pr(e, t) {
83
83
  return P(
84
84
  /** @type {Document} */
85
85
  e.head || e,
86
86
  t
87
87
  ), t.sheet;
88
88
  }
89
- function ne(e, t, r) {
89
+ function ie(e, t, r) {
90
90
  e.insertBefore(t, r || null);
91
91
  }
92
- function W(e) {
92
+ function X(e) {
93
93
  e.parentNode && e.parentNode.removeChild(e);
94
94
  }
95
95
  function A(e) {
96
96
  return document.createElement(e);
97
97
  }
98
- function ie(e) {
98
+ function oe(e) {
99
99
  return document.createTextNode(e);
100
100
  }
101
- function Te() {
102
- return ie(" ");
101
+ function _e() {
102
+ return oe(" ");
103
103
  }
104
- function gr() {
105
- return ie("");
104
+ function mr() {
105
+ return oe("");
106
106
  }
107
- function xr(e, t, r, n) {
107
+ function br(e, t, r, n) {
108
108
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
109
109
  }
110
- function _r(e) {
110
+ function gr(e) {
111
111
  return function(t) {
112
112
  return t.preventDefault(), e.call(this, t);
113
113
  };
@@ -115,14 +115,14 @@ function _r(e) {
115
115
  function C(e, t, r) {
116
116
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
117
117
  }
118
- function Er(e) {
118
+ function yr(e) {
119
119
  return Array.from(e.childNodes);
120
120
  }
121
- function Qe(e, t) {
121
+ function We(e, t) {
122
122
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
123
123
  t);
124
124
  }
125
- function Tr(e) {
125
+ function vr(e) {
126
126
  const t = {};
127
127
  return e.childNodes.forEach(
128
128
  /** @param {Element} node */
@@ -131,87 +131,87 @@ function Tr(e) {
131
131
  }
132
132
  ), t;
133
133
  }
134
- let K;
135
- function J(e) {
136
- K = e;
134
+ let ee;
135
+ function K(e) {
136
+ ee = e;
137
137
  }
138
- function Sr() {
139
- if (!K)
138
+ function xr() {
139
+ if (!ee)
140
140
  throw new Error("Function called outside component initialization");
141
- return K;
141
+ return ee;
142
142
  }
143
- function wr(e) {
144
- Sr().$$.on_mount.push(e);
143
+ function _r(e) {
144
+ xr().$$.on_mount.push(e);
145
145
  }
146
- const D = [], Oe = [];
146
+ const D = [], Be = [];
147
147
  let F = [];
148
- const ot = [], Pr = /* @__PURE__ */ Promise.resolve();
149
- let Le = !1;
150
- function Hr() {
151
- Le || (Le = !0, Pr.then(L));
148
+ const tt = [], Er = /* @__PURE__ */ Promise.resolve();
149
+ let Ce = !1;
150
+ function Tr() {
151
+ Ce || (Ce = !0, Er.then(L));
152
152
  }
153
- function Me(e) {
153
+ function Ae(e) {
154
154
  F.push(e);
155
155
  }
156
- const Se = /* @__PURE__ */ new Set();
156
+ const Ee = /* @__PURE__ */ new Set();
157
157
  let U = 0;
158
158
  function L() {
159
159
  if (U !== 0)
160
160
  return;
161
- const e = K;
161
+ const e = ee;
162
162
  do {
163
163
  try {
164
164
  for (; U < D.length; ) {
165
165
  const t = D[U];
166
- U++, J(t), Ir(t.$$);
166
+ U++, K(t), Sr(t.$$);
167
167
  }
168
168
  } catch (t) {
169
169
  throw D.length = 0, U = 0, t;
170
170
  }
171
- for (J(null), D.length = 0, U = 0; Oe.length; )
172
- Oe.pop()();
171
+ for (K(null), D.length = 0, U = 0; Be.length; )
172
+ Be.pop()();
173
173
  for (let t = 0; t < F.length; t += 1) {
174
174
  const r = F[t];
175
- Se.has(r) || (Se.add(r), r());
175
+ Ee.has(r) || (Ee.add(r), r());
176
176
  }
177
177
  F.length = 0;
178
178
  } while (D.length);
179
- for (; ot.length; )
180
- ot.pop()();
181
- Le = !1, Se.clear(), J(e);
179
+ for (; tt.length; )
180
+ tt.pop()();
181
+ Ce = !1, Ee.clear(), K(e);
182
182
  }
183
- function Ir(e) {
183
+ function Sr(e) {
184
184
  if (e.fragment !== null) {
185
- e.update(), re(e.before_update);
185
+ e.update(), ne(e.before_update);
186
186
  const t = e.dirty;
187
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
187
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ae);
188
188
  }
189
189
  }
190
- function Br(e) {
190
+ function wr(e) {
191
191
  const t = [], r = [];
192
192
  F.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), F = t;
193
193
  }
194
- const Cr = /* @__PURE__ */ new Set();
195
- function Ar(e, t) {
196
- e && e.i && (Cr.delete(e), e.i(t));
194
+ const Pr = /* @__PURE__ */ new Set();
195
+ function Hr(e, t) {
196
+ e && e.i && (Pr.delete(e), e.i(t));
197
197
  }
198
- function Or(e, t, r) {
198
+ function Ir(e, t, r) {
199
199
  const { fragment: n, after_update: i } = e.$$;
200
- n && n.m(t, r), Me(() => {
201
- const o = e.$$.on_mount.map(Bt).filter(Ye);
202
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : re(o), e.$$.on_mount = [];
203
- }), i.forEach(Me);
200
+ n && n.m(t, r), Ae(() => {
201
+ const o = e.$$.on_mount.map(wt).filter(ze);
202
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ne(o), e.$$.on_mount = [];
203
+ }), i.forEach(Ae);
204
204
  }
205
- function Lr(e, t) {
205
+ function Br(e, t) {
206
206
  const r = e.$$;
207
- r.fragment !== null && (Br(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
207
+ r.fragment !== null && (wr(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
208
208
  }
209
- function Mr(e, t) {
210
- e.$$.dirty[0] === -1 && (D.push(e), Hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
209
+ function Cr(e, t) {
210
+ e.$$.dirty[0] === -1 && (D.push(e), Tr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
211
211
  }
212
- function Nr(e, t, r, n, i, o, a = null, s = [-1]) {
213
- const l = K;
214
- J(e);
212
+ function Ar(e, t, r, n, i, o, a = null, s = [-1]) {
213
+ const l = ee;
214
+ K(e);
215
215
  const u = e.$$ = {
216
216
  fragment: null,
217
217
  ctx: [],
@@ -219,7 +219,7 @@ function Nr(e, t, r, n, i, o, a = null, s = [-1]) {
219
219
  props: o,
220
220
  update: O,
221
221
  not_equal: i,
222
- bound: it(),
222
+ bound: et(),
223
223
  // lifecycle
224
224
  on_mount: [],
225
225
  on_destroy: [],
@@ -228,28 +228,28 @@ function Nr(e, t, r, n, i, o, a = null, s = [-1]) {
228
228
  after_update: [],
229
229
  context: new Map(t.context || (l ? l.$$.context : [])),
230
230
  // everything else
231
- callbacks: it(),
231
+ callbacks: et(),
232
232
  dirty: s,
233
233
  skip_bound: !1,
234
234
  root: t.target || l.$$.root
235
235
  };
236
236
  a && a(u.root);
237
237
  let h = !1;
238
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
239
- const d = p.length ? p[0] : c;
240
- return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), h && Mr(e, f)), c;
241
- }) : [], u.update(), h = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
238
+ if (u.ctx = r(e, t.props || {}, (c, f, ...d) => {
239
+ const p = d.length ? d[0] : f;
240
+ return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), h && Cr(e, c)), f;
241
+ }), u.update(), h = !0, ne(u.before_update), u.fragment = n(u.ctx), t.target) {
242
242
  if (t.hydrate) {
243
- const f = Er(t.target);
244
- u.fragment && u.fragment.l(f), f.forEach(W);
243
+ const c = yr(t.target);
244
+ u.fragment && u.fragment.l(c), c.forEach(X);
245
245
  } else
246
246
  u.fragment && u.fragment.c();
247
- t.intro && Ar(e.$$.fragment), Or(e, t.target, t.anchor), L();
247
+ t.intro && Hr(e.$$.fragment), Ir(e, t.target, t.anchor), L();
248
248
  }
249
- J(l);
249
+ K(l);
250
250
  }
251
- let Ot;
252
- typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
251
+ let It;
252
+ typeof HTMLElement == "function" && (It = class extends HTMLElement {
253
253
  constructor(t, r, n) {
254
254
  super();
255
255
  /** The Svelte component constructor */
@@ -286,7 +286,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
286
286
  }
287
287
  }
288
288
  connectedCallback() {
289
- return nt(this, null, function* () {
289
+ return Ke(this, null, function* () {
290
290
  if (this.$$cn = !0, !this.$$c) {
291
291
  let t = function(o) {
292
292
  return () => {
@@ -300,17 +300,17 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
300
300
  * @param {HTMLElement} [anchor]
301
301
  */
302
302
  m: function(u, h) {
303
- ne(u, a, h);
303
+ ie(u, a, h);
304
304
  },
305
305
  d: function(u) {
306
- u && W(a);
306
+ u && X(a);
307
307
  }
308
308
  };
309
309
  };
310
310
  };
311
311
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
312
312
  return;
313
- const r = {}, n = Tr(this);
313
+ const r = {}, n = vr(this);
314
314
  for (const o of this.$$s)
315
315
  o in n && (r[o] = [t(o)]);
316
316
  for (const o of this.attributes) {
@@ -321,7 +321,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
321
321
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
322
322
  this.$$c = new this.$$ctor({
323
323
  target: this.shadowRoot || this,
324
- props: rt(tt({}, this.$$d), {
324
+ props: Je(Qe({}, this.$$d), {
325
325
  $$slots: r,
326
326
  $$scope: {
327
327
  ctx: []
@@ -399,8 +399,8 @@ function le(e, t, r, n) {
399
399
  return t;
400
400
  }
401
401
  }
402
- function $r(e, t, r, n, i, o) {
403
- let a = class extends Ot {
402
+ function Or(e, t, r, n, i, o) {
403
+ let a = class extends It {
404
404
  constructor() {
405
405
  super(e, r, i), this.$$p_d = t;
406
406
  }
@@ -430,7 +430,7 @@ function $r(e, t, r, n, i, o) {
430
430
  }), e.element = /** @type {any} */
431
431
  a, a;
432
432
  }
433
- class Rr {
433
+ class Lr {
434
434
  constructor() {
435
435
  /**
436
436
  * ### PRIVATE API
@@ -451,7 +451,7 @@ class Rr {
451
451
  }
452
452
  /** @returns {void} */
453
453
  $destroy() {
454
- Lr(this, 1), this.$destroy = O;
454
+ Br(this, 1), this.$destroy = O;
455
455
  }
456
456
  /**
457
457
  * @template {Extract<keyof Events, string>} K
@@ -460,7 +460,7 @@ class Rr {
460
460
  * @returns {() => void}
461
461
  */
462
462
  $on(t, r) {
463
- if (!Ye(r))
463
+ if (!ze(r))
464
464
  return O;
465
465
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
466
466
  return n.push(r), () => {
@@ -473,11 +473,11 @@ class Rr {
473
473
  * @returns {void}
474
474
  */
475
475
  $set(t) {
476
- this.$$set && !dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
476
+ this.$$set && !hr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
477
477
  }
478
478
  }
479
- const Ur = "4";
480
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ur);
479
+ const Mr = "4";
480
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Mr);
481
481
  /*! *****************************************************************************
482
482
  Copyright (c) Microsoft Corporation.
483
483
 
@@ -492,24 +492,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
492
492
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
493
493
  PERFORMANCE OF THIS SOFTWARE.
494
494
  ***************************************************************************** */
495
- var Ne = function(e, t) {
496
- return Ne = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
495
+ var Oe = function(e, t) {
496
+ return Oe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
497
497
  r.__proto__ = n;
498
498
  } || function(r, n) {
499
499
  for (var i in n)
500
500
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
501
- }, Ne(e, t);
501
+ }, Oe(e, t);
502
502
  };
503
- function oe(e, t) {
503
+ function N(e, t) {
504
504
  if (typeof t != "function" && t !== null)
505
505
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
506
- Ne(e, t);
506
+ Oe(e, t);
507
507
  function r() {
508
508
  this.constructor = e;
509
509
  }
510
510
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
511
511
  }
512
- function $e(e) {
512
+ var y = function() {
513
+ return y = Object.assign || function(t) {
514
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
515
+ r = arguments[n];
516
+ for (var o in r)
517
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
518
+ }
519
+ return t;
520
+ }, y.apply(this, arguments);
521
+ };
522
+ function Nr(e, t) {
523
+ var r = {};
524
+ for (var n in e)
525
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
526
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
527
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
528
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
529
+ return r;
530
+ }
531
+ function Le(e) {
513
532
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
514
533
  if (r)
515
534
  return r.call(e);
@@ -521,7 +540,7 @@ function $e(e) {
521
540
  };
522
541
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
523
542
  }
524
- function Re(e, t) {
543
+ function Me(e, t) {
525
544
  var r = typeof Symbol == "function" && e[Symbol.iterator];
526
545
  if (!r)
527
546
  return e;
@@ -541,22 +560,22 @@ function Re(e, t) {
541
560
  }
542
561
  return o;
543
562
  }
544
- function Ue(e, t, r) {
545
- if (arguments.length === 2)
563
+ function j(e, t, r) {
564
+ if (r || arguments.length === 2)
546
565
  for (var n = 0, i = t.length, o; n < i; n++)
547
566
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
548
567
  return e.concat(o || t);
549
568
  }
550
- function N(e) {
569
+ function M(e) {
551
570
  return typeof e == "function";
552
571
  }
553
- function Lt(e) {
572
+ function Bt(e) {
554
573
  var t = function(n) {
555
574
  Error.call(n), n.stack = new Error().stack;
556
575
  }, r = e(t);
557
576
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
558
577
  }
559
- var we = Lt(function(e) {
578
+ var Te = Bt(function(e) {
560
579
  return function(r) {
561
580
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
562
581
  ` + r.map(function(n, i) {
@@ -565,13 +584,13 @@ var we = Lt(function(e) {
565
584
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
566
585
  };
567
586
  });
568
- function Ge(e, t) {
587
+ function Ne(e, t) {
569
588
  if (e) {
570
589
  var r = e.indexOf(t);
571
590
  0 <= r && e.splice(r, 1);
572
591
  }
573
592
  }
574
- var be = function() {
593
+ var me = function() {
575
594
  function e(t) {
576
595
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
577
596
  }
@@ -583,12 +602,12 @@ var be = function() {
583
602
  if (a)
584
603
  if (this._parentage = null, Array.isArray(a))
585
604
  try {
586
- for (var s = $e(a), l = s.next(); !l.done; l = s.next()) {
605
+ for (var s = Le(a), l = s.next(); !l.done; l = s.next()) {
587
606
  var u = l.value;
588
607
  u.remove(this);
589
608
  }
590
- } catch (y) {
591
- t = { error: y };
609
+ } catch (v) {
610
+ t = { error: v };
592
611
  } finally {
593
612
  try {
594
613
  l && !l.done && (r = s.return) && r.call(s);
@@ -600,29 +619,29 @@ var be = function() {
600
619
  else
601
620
  a.remove(this);
602
621
  var h = this.initialTeardown;
603
- if (N(h))
622
+ if (M(h))
604
623
  try {
605
624
  h();
606
- } catch (y) {
607
- o = y instanceof we ? y.errors : [y];
625
+ } catch (v) {
626
+ o = v instanceof Te ? v.errors : [v];
608
627
  }
609
- var f = this._finalizers;
610
- if (f) {
628
+ var c = this._finalizers;
629
+ if (c) {
611
630
  this._finalizers = null;
612
631
  try {
613
- for (var c = $e(f), p = c.next(); !p.done; p = c.next()) {
614
- var d = p.value;
632
+ for (var f = Le(c), d = f.next(); !d.done; d = f.next()) {
633
+ var p = d.value;
615
634
  try {
616
- at(d);
617
- } catch (y) {
618
- o = o != null ? o : [], y instanceof we ? o = Ue(Ue([], Re(o)), Re(y.errors)) : o.push(y);
635
+ rt(p);
636
+ } catch (v) {
637
+ o = o != null ? o : [], v instanceof Te ? o = j(j([], Me(o)), Me(v.errors)) : o.push(v);
619
638
  }
620
639
  }
621
- } catch (y) {
622
- n = { error: y };
640
+ } catch (v) {
641
+ n = { error: v };
623
642
  } finally {
624
643
  try {
625
- p && !p.done && (i = c.return) && i.call(c);
644
+ d && !d.done && (i = f.return) && i.call(f);
626
645
  } finally {
627
646
  if (n)
628
647
  throw n.error;
@@ -630,13 +649,13 @@ var be = function() {
630
649
  }
631
650
  }
632
651
  if (o)
633
- throw new we(o);
652
+ throw new Te(o);
634
653
  }
635
654
  }, e.prototype.add = function(t) {
636
655
  var r;
637
656
  if (t && t !== this)
638
657
  if (this.closed)
639
- at(t);
658
+ rt(t);
640
659
  else {
641
660
  if (t instanceof e) {
642
661
  if (t.closed || t._hasParent(this))
@@ -653,52 +672,56 @@ var be = function() {
653
672
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
654
673
  }, e.prototype._removeParent = function(t) {
655
674
  var r = this._parentage;
656
- r === t ? this._parentage = null : Array.isArray(r) && Ge(r, t);
675
+ r === t ? this._parentage = null : Array.isArray(r) && Ne(r, t);
657
676
  }, e.prototype.remove = function(t) {
658
677
  var r = this._finalizers;
659
- r && Ge(r, t), t instanceof e && t._removeParent(this);
678
+ r && Ne(r, t), t instanceof e && t._removeParent(this);
660
679
  }, e.EMPTY = function() {
661
680
  var t = new e();
662
681
  return t.closed = !0, t;
663
682
  }(), e;
664
- }(), Mt = be.EMPTY;
665
- function Nt(e) {
666
- return e instanceof be || e && "closed" in e && N(e.remove) && N(e.add) && N(e.unsubscribe);
667
- }
668
- function at(e) {
669
- N(e) ? e() : e.unsubscribe();
670
- }
671
- var Gr = {
672
- Promise: void 0
673
- }, Dr = {
683
+ }(), Ct = me.EMPTY;
684
+ function At(e) {
685
+ return e instanceof me || e && "closed" in e && M(e.remove) && M(e.add) && M(e.unsubscribe);
686
+ }
687
+ function rt(e) {
688
+ M(e) ? e() : e.unsubscribe();
689
+ }
690
+ var Rr = {
691
+ onUnhandledError: null,
692
+ onStoppedNotification: null,
693
+ Promise: void 0,
694
+ useDeprecatedSynchronousErrorHandling: !1,
695
+ useDeprecatedNextContext: !1
696
+ }, $r = {
674
697
  setTimeout: function(e, t) {
675
698
  for (var r = [], n = 2; n < arguments.length; n++)
676
699
  r[n - 2] = arguments[n];
677
- return setTimeout.apply(void 0, Ue([e, t], Re(r)));
700
+ return setTimeout.apply(void 0, j([e, t], Me(r)));
678
701
  },
679
702
  clearTimeout: function(e) {
680
703
  return clearTimeout(e);
681
704
  },
682
705
  delegate: void 0
683
706
  };
684
- function Fr(e) {
685
- Dr.setTimeout(function() {
707
+ function Ur(e) {
708
+ $r.setTimeout(function() {
686
709
  throw e;
687
710
  });
688
711
  }
689
- function st() {
712
+ function nt() {
690
713
  }
691
714
  function he(e) {
692
715
  e();
693
716
  }
694
- var $t = function(e) {
695
- oe(t, e);
717
+ var Ot = function(e) {
718
+ N(t, e);
696
719
  function t(r) {
697
720
  var n = e.call(this) || this;
698
- return n.isStopped = !1, r ? (n.destination = r, Nt(r) && r.add(n)) : n.destination = Vr, n;
721
+ return n.isStopped = !1, r ? (n.destination = r, At(r) && r.add(n)) : n.destination = Fr, n;
699
722
  }
700
723
  return t.create = function(r, n, i) {
701
- return new De(r, n, i);
724
+ return new Re(r, n, i);
702
725
  }, t.prototype.next = function(r) {
703
726
  this.isStopped || this._next(r);
704
727
  }, t.prototype.error = function(r) {
@@ -722,7 +745,7 @@ var $t = function(e) {
722
745
  this.unsubscribe();
723
746
  }
724
747
  }, t;
725
- }(be), jr = function() {
748
+ }(me), Gr = function() {
726
749
  function e(t) {
727
750
  this.partialObserver = t;
728
751
  }
@@ -753,43 +776,43 @@ var $t = function(e) {
753
776
  se(r);
754
777
  }
755
778
  }, e;
756
- }(), De = function(e) {
757
- oe(t, e);
779
+ }(), Re = function(e) {
780
+ N(t, e);
758
781
  function t(r, n, i) {
759
782
  var o = e.call(this) || this, a;
760
- return N(r) || !r ? a = {
783
+ return M(r) || !r ? a = {
761
784
  next: r != null ? r : void 0,
762
785
  error: n != null ? n : void 0,
763
786
  complete: i != null ? i : void 0
764
- } : a = r, o.destination = new jr(a), o;
787
+ } : a = r, o.destination = new Gr(a), o;
765
788
  }
766
789
  return t;
767
- }($t);
790
+ }(Ot);
768
791
  function se(e) {
769
- Fr(e);
792
+ Ur(e);
770
793
  }
771
- function kr(e) {
794
+ function Dr(e) {
772
795
  throw e;
773
796
  }
774
- var Vr = {
797
+ var Fr = {
775
798
  closed: !0,
776
- next: st,
777
- error: kr,
778
- complete: st
779
- }, zr = function() {
799
+ next: nt,
800
+ error: Dr,
801
+ complete: nt
802
+ }, jr = function() {
780
803
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
781
804
  }();
782
- function Wr(e) {
805
+ function kr(e) {
783
806
  return e;
784
807
  }
785
- function Xr(e) {
786
- return e.length === 0 ? Wr : e.length === 1 ? e[0] : function(r) {
808
+ function Vr(e) {
809
+ return e.length === 0 ? kr : e.length === 1 ? e[0] : function(r) {
787
810
  return e.reduce(function(n, i) {
788
811
  return i(n);
789
812
  }, r);
790
813
  };
791
814
  }
792
- var ut = function() {
815
+ var it = function() {
793
816
  function e(t) {
794
817
  t && (this._subscribe = t);
795
818
  }
@@ -797,7 +820,7 @@ var ut = function() {
797
820
  var r = new e();
798
821
  return r.source = this, r.operator = t, r;
799
822
  }, e.prototype.subscribe = function(t, r, n) {
800
- var i = this, o = Zr(t) ? t : new De(t, r, n);
823
+ var i = this, o = Wr(t) ? t : new Re(t, r, n);
801
824
  return he(function() {
802
825
  var a = i, s = a.operator, l = a.source;
803
826
  o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -810,8 +833,8 @@ var ut = function() {
810
833
  }
811
834
  }, e.prototype.forEach = function(t, r) {
812
835
  var n = this;
813
- return r = lt(r), new r(function(i, o) {
814
- var a = new De({
836
+ return r = ot(r), new r(function(i, o) {
837
+ var a = new Re({
815
838
  next: function(s) {
816
839
  try {
817
840
  t(s);
@@ -827,15 +850,15 @@ var ut = function() {
827
850
  }, e.prototype._subscribe = function(t) {
828
851
  var r;
829
852
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
830
- }, e.prototype[zr] = function() {
853
+ }, e.prototype[jr] = function() {
831
854
  return this;
832
855
  }, e.prototype.pipe = function() {
833
856
  for (var t = [], r = 0; r < arguments.length; r++)
834
857
  t[r] = arguments[r];
835
- return Xr(t)(this);
858
+ return Vr(t)(this);
836
859
  }, e.prototype.toPromise = function(t) {
837
860
  var r = this;
838
- return t = lt(t), new t(function(n, i) {
861
+ return t = ot(t), new t(function(n, i) {
839
862
  var o;
840
863
  r.subscribe(function(a) {
841
864
  return o = a;
@@ -849,32 +872,32 @@ var ut = function() {
849
872
  return new e(t);
850
873
  }, e;
851
874
  }();
852
- function lt(e) {
875
+ function ot(e) {
853
876
  var t;
854
- return (t = e != null ? e : Gr.Promise) !== null && t !== void 0 ? t : Promise;
877
+ return (t = e != null ? e : Rr.Promise) !== null && t !== void 0 ? t : Promise;
855
878
  }
856
- function qr(e) {
857
- return e && N(e.next) && N(e.error) && N(e.complete);
879
+ function zr(e) {
880
+ return e && M(e.next) && M(e.error) && M(e.complete);
858
881
  }
859
- function Zr(e) {
860
- return e && e instanceof $t || qr(e) && Nt(e);
882
+ function Wr(e) {
883
+ return e && e instanceof Ot || zr(e) && At(e);
861
884
  }
862
- var Yr = Lt(function(e) {
885
+ var Xr = Bt(function(e) {
863
886
  return function() {
864
887
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
865
888
  };
866
- }), Rt = function(e) {
867
- oe(t, e);
889
+ }), Lt = function(e) {
890
+ N(t, e);
868
891
  function t() {
869
892
  var r = e.call(this) || this;
870
893
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
871
894
  }
872
895
  return t.prototype.lift = function(r) {
873
- var n = new ht(this, this);
896
+ var n = new at(this, this);
874
897
  return n.operator = r, n;
875
898
  }, t.prototype._throwIfClosed = function() {
876
899
  if (this.closed)
877
- throw new Yr();
900
+ throw new Xr();
878
901
  }, t.prototype.next = function(r) {
879
902
  var n = this;
880
903
  he(function() {
@@ -882,7 +905,7 @@ var Yr = Lt(function(e) {
882
905
  if (n._throwIfClosed(), !n.isStopped) {
883
906
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
884
907
  try {
885
- for (var a = $e(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
908
+ for (var a = Le(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
886
909
  var l = s.value;
887
910
  l.next(r);
888
911
  }
@@ -931,20 +954,20 @@ var Yr = Lt(function(e) {
931
954
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
932
955
  }, t.prototype._innerSubscribe = function(r) {
933
956
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
934
- return o || a ? Mt : (this.currentObservers = null, s.push(r), new be(function() {
935
- n.currentObservers = null, Ge(s, r);
957
+ return o || a ? Ct : (this.currentObservers = null, s.push(r), new me(function() {
958
+ n.currentObservers = null, Ne(s, r);
936
959
  }));
937
960
  }, t.prototype._checkFinalizedStatuses = function(r) {
938
961
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
939
962
  i ? r.error(o) : a && r.complete();
940
963
  }, t.prototype.asObservable = function() {
941
- var r = new ut();
964
+ var r = new it();
942
965
  return r.source = this, r;
943
966
  }, t.create = function(r, n) {
944
- return new ht(r, n);
967
+ return new at(r, n);
945
968
  }, t;
946
- }(ut), ht = function(e) {
947
- oe(t, e);
969
+ }(it), at = function(e) {
970
+ N(t, e);
948
971
  function t(r, n) {
949
972
  var i = e.call(this) || this;
950
973
  return i.destination = r, i.source = n, i;
@@ -960,17 +983,17 @@ var Yr = Lt(function(e) {
960
983
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
961
984
  }, t.prototype._subscribe = function(r) {
962
985
  var n, i;
963
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Mt;
986
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ct;
964
987
  }, t;
965
- }(Rt), Ut = {
988
+ }(Lt), Mt = {
966
989
  now: function() {
967
- return (Ut.delegate || Date).now();
990
+ return (Mt.delegate || Date).now();
968
991
  },
969
992
  delegate: void 0
970
- }, Qr = function(e) {
971
- oe(t, e);
993
+ }, qr = function(e) {
994
+ N(t, e);
972
995
  function t(r, n, i) {
973
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ut);
996
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Mt);
974
997
  var o = e.call(this) || this;
975
998
  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;
976
999
  }
@@ -990,24 +1013,24 @@ var Yr = Lt(function(e) {
990
1013
  u && o.splice(0, u + 1);
991
1014
  }
992
1015
  }, t;
993
- }(Rt);
994
- const ct = [], ft = {}, Jr = (e, t = 0) => {
995
- if (ct.indexOf(e) == -1) {
996
- const r = new Qr(t);
997
- ft[e] = r, ct.push(e);
1016
+ }(Lt);
1017
+ const st = [], ut = {}, Zr = (e, t = 0) => {
1018
+ if (st.indexOf(e) == -1) {
1019
+ const r = new qr(t);
1020
+ ut[e] = r, st.push(e);
998
1021
  }
999
- return ft[e];
1022
+ return ut[e];
1000
1023
  }, G = [];
1001
- function Kr(e, t) {
1024
+ function Yr(e, t) {
1002
1025
  return {
1003
- subscribe: ve(e, t).subscribe
1026
+ subscribe: be(e, t).subscribe
1004
1027
  };
1005
1028
  }
1006
- function ve(e, t = O) {
1029
+ function be(e, t = O) {
1007
1030
  let r;
1008
1031
  const n = /* @__PURE__ */ new Set();
1009
1032
  function i(s) {
1010
- if (Ct(e, s) && (e = s, r)) {
1033
+ if (Pt(e, s) && (e = s, r)) {
1011
1034
  const l = !G.length;
1012
1035
  for (const u of n)
1013
1036
  u[1](), G.push(u, e);
@@ -1029,184 +1052,145 @@ function ve(e, t = O) {
1029
1052
  }
1030
1053
  return { set: i, update: o, subscribe: a };
1031
1054
  }
1032
- function X(e, t, r) {
1055
+ function q(e, t, r) {
1033
1056
  const n = !Array.isArray(e), i = n ? [e] : e;
1034
1057
  if (!i.every(Boolean))
1035
1058
  throw new Error("derived() expects stores as input, got a falsy value");
1036
1059
  const o = t.length < 2;
1037
- return Kr(r, (a, s) => {
1060
+ return Yr(r, (a, s) => {
1038
1061
  let l = !1;
1039
1062
  const u = [];
1040
- let h = 0, f = O;
1041
- const c = () => {
1063
+ let h = 0, c = O;
1064
+ const f = () => {
1042
1065
  if (h)
1043
1066
  return;
1044
- f();
1045
- const d = t(n ? u[0] : u, a, s);
1046
- o ? a(d) : f = Ye(d) ? d : O;
1047
- }, p = i.map(
1048
- (d, y) => At(
1049
- d,
1067
+ c();
1068
+ const p = t(n ? u[0] : u, a, s);
1069
+ o ? a(p) : c = ze(p) ? p : O;
1070
+ }, d = i.map(
1071
+ (p, v) => Ht(
1072
+ p,
1050
1073
  (S) => {
1051
- u[y] = S, h &= ~(1 << y), l && c();
1074
+ u[v] = S, h &= ~(1 << v), l && f();
1052
1075
  },
1053
1076
  () => {
1054
- h |= 1 << y;
1077
+ h |= 1 << v;
1055
1078
  }
1056
1079
  )
1057
1080
  );
1058
- return l = !0, c(), function() {
1059
- re(p), f(), l = !1;
1081
+ return l = !0, f(), function() {
1082
+ ne(d), c(), l = !1;
1060
1083
  };
1061
1084
  });
1062
1085
  }
1063
- function en(e) {
1064
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1086
+ function Qr(e) {
1087
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1065
1088
  }
1066
- var tn = function(t) {
1067
- return rn(t) && !nn(t);
1089
+ var Jr = function(t) {
1090
+ return Kr(t) && !en(t);
1068
1091
  };
1069
- function rn(e) {
1092
+ function Kr(e) {
1070
1093
  return !!e && typeof e == "object";
1071
1094
  }
1072
- function nn(e) {
1095
+ function en(e) {
1073
1096
  var t = Object.prototype.toString.call(e);
1074
- return t === "[object RegExp]" || t === "[object Date]" || sn(e);
1097
+ return t === "[object RegExp]" || t === "[object Date]" || nn(e);
1075
1098
  }
1076
- var on = typeof Symbol == "function" && Symbol.for, an = on ? Symbol.for("react.element") : 60103;
1077
- function sn(e) {
1078
- return e.$$typeof === an;
1099
+ var tn = typeof Symbol == "function" && Symbol.for, rn = tn ? Symbol.for("react.element") : 60103;
1100
+ function nn(e) {
1101
+ return e.$$typeof === rn;
1079
1102
  }
1080
- function un(e) {
1103
+ function on(e) {
1081
1104
  return Array.isArray(e) ? [] : {};
1082
1105
  }
1083
- function ee(e, t) {
1084
- return t.clone !== !1 && t.isMergeableObject(e) ? j(un(e), e, t) : e;
1106
+ function te(e, t) {
1107
+ return t.clone !== !1 && t.isMergeableObject(e) ? k(on(e), e, t) : e;
1085
1108
  }
1086
- function ln(e, t, r) {
1109
+ function an(e, t, r) {
1087
1110
  return e.concat(t).map(function(n) {
1088
- return ee(n, r);
1111
+ return te(n, r);
1089
1112
  });
1090
1113
  }
1091
- function hn(e, t) {
1114
+ function sn(e, t) {
1092
1115
  if (!t.customMerge)
1093
- return j;
1116
+ return k;
1094
1117
  var r = t.customMerge(e);
1095
- return typeof r == "function" ? r : j;
1118
+ return typeof r == "function" ? r : k;
1096
1119
  }
1097
- function cn(e) {
1120
+ function un(e) {
1098
1121
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1099
1122
  return Object.propertyIsEnumerable.call(e, t);
1100
1123
  }) : [];
1101
1124
  }
1102
- function pt(e) {
1103
- return Object.keys(e).concat(cn(e));
1125
+ function lt(e) {
1126
+ return Object.keys(e).concat(un(e));
1104
1127
  }
1105
- function Gt(e, t) {
1128
+ function Nt(e, t) {
1106
1129
  try {
1107
1130
  return t in e;
1108
1131
  } catch (r) {
1109
1132
  return !1;
1110
1133
  }
1111
1134
  }
1112
- function fn(e, t) {
1113
- return Gt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1135
+ function ln(e, t) {
1136
+ return Nt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1114
1137
  }
1115
- function pn(e, t, r) {
1138
+ function hn(e, t, r) {
1116
1139
  var n = {};
1117
- return r.isMergeableObject(e) && pt(e).forEach(function(i) {
1118
- n[i] = ee(e[i], r);
1119
- }), pt(t).forEach(function(i) {
1120
- fn(e, i) || (Gt(e, i) && r.isMergeableObject(t[i]) ? n[i] = hn(i, r)(e[i], t[i], r) : n[i] = ee(t[i], r));
1140
+ return r.isMergeableObject(e) && lt(e).forEach(function(i) {
1141
+ n[i] = te(e[i], r);
1142
+ }), lt(t).forEach(function(i) {
1143
+ ln(e, i) || (Nt(e, i) && r.isMergeableObject(t[i]) ? n[i] = sn(i, r)(e[i], t[i], r) : n[i] = te(t[i], r));
1121
1144
  }), n;
1122
1145
  }
1123
- function j(e, t, r) {
1124
- r = r || {}, r.arrayMerge = r.arrayMerge || ln, r.isMergeableObject = r.isMergeableObject || tn, r.cloneUnlessOtherwiseSpecified = ee;
1146
+ function k(e, t, r) {
1147
+ r = r || {}, r.arrayMerge = r.arrayMerge || an, r.isMergeableObject = r.isMergeableObject || Jr, r.cloneUnlessOtherwiseSpecified = te;
1125
1148
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1126
- return o ? n ? r.arrayMerge(e, t, r) : pn(e, t, r) : ee(t, r);
1149
+ return o ? n ? r.arrayMerge(e, t, r) : hn(e, t, r) : te(t, r);
1127
1150
  }
1128
- j.all = function(t, r) {
1151
+ k.all = function(t, r) {
1129
1152
  if (!Array.isArray(t))
1130
1153
  throw new Error("first argument should be an array");
1131
1154
  return t.reduce(function(n, i) {
1132
- return j(n, i, r);
1155
+ return k(n, i, r);
1133
1156
  }, {});
1134
1157
  };
1135
- var dn = j, mn = dn;
1136
- const bn = /* @__PURE__ */ en(mn);
1137
- var Fe = function(e, t) {
1138
- return Fe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1139
- r.__proto__ = n;
1140
- } || function(r, n) {
1141
- for (var i in n)
1142
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1143
- }, Fe(e, t);
1144
- };
1145
- function ye(e, t) {
1146
- if (typeof t != "function" && t !== null)
1147
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1148
- Fe(e, t);
1149
- function r() {
1150
- this.constructor = e;
1151
- }
1152
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1153
- }
1154
- var M = function() {
1155
- return M = Object.assign || function(t) {
1156
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1157
- r = arguments[n];
1158
- for (var o in r)
1159
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1160
- }
1161
- return t;
1162
- }, M.apply(this, arguments);
1163
- };
1164
- function vn(e, t) {
1165
- var r = {};
1166
- for (var n in e)
1167
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1168
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
1169
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1170
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1171
- return r;
1172
- }
1173
- function Pe(e, t, r) {
1174
- if (r || arguments.length === 2)
1175
- for (var n = 0, i = t.length, o; n < i; n++)
1176
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1177
- return e.concat(o || Array.prototype.slice.call(t));
1178
- }
1179
- function He(e, t) {
1180
- var r = t && t.cache ? t.cache : Sn, n = t && t.serializer ? t.serializer : En, i = t && t.strategy ? t.strategy : xn;
1158
+ var fn = k, cn = fn;
1159
+ const dn = /* @__PURE__ */ Qr(cn);
1160
+ function Se(e, t) {
1161
+ var r = t && t.cache ? t.cache : xn, n = t && t.serializer ? t.serializer : yn, i = t && t.strategy ? t.strategy : mn;
1181
1162
  return i(e, {
1182
1163
  cache: r,
1183
1164
  serializer: n
1184
1165
  });
1185
1166
  }
1186
- function yn(e) {
1167
+ function pn(e) {
1187
1168
  return e == null || typeof e == "number" || typeof e == "boolean";
1188
1169
  }
1189
- function gn(e, t, r, n) {
1190
- var i = yn(n) ? n : r(n), o = t.get(i);
1170
+ function Rt(e, t, r, n) {
1171
+ var i = pn(n) ? n : r(n), o = t.get(i);
1191
1172
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1192
1173
  }
1193
- function Dt(e, t, r) {
1174
+ function $t(e, t, r) {
1194
1175
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1195
1176
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1196
1177
  }
1197
- function Ft(e, t, r, n, i) {
1178
+ function Xe(e, t, r, n, i) {
1198
1179
  return r.bind(t, e, n, i);
1199
1180
  }
1200
- function xn(e, t) {
1201
- var r = e.length === 1 ? gn : Dt;
1202
- return Ft(e, this, r, t.cache.create(), t.serializer);
1181
+ function mn(e, t) {
1182
+ var r = e.length === 1 ? Rt : $t;
1183
+ return Xe(e, this, r, t.cache.create(), t.serializer);
1203
1184
  }
1204
- function _n(e, t) {
1205
- return Ft(e, this, Dt, t.cache.create(), t.serializer);
1185
+ function bn(e, t) {
1186
+ return Xe(e, this, $t, t.cache.create(), t.serializer);
1206
1187
  }
1207
- var En = function() {
1188
+ function gn(e, t) {
1189
+ return Xe(e, this, Rt, t.cache.create(), t.serializer);
1190
+ }
1191
+ var yn = function() {
1208
1192
  return JSON.stringify(arguments);
1209
- }, Tn = (
1193
+ }, vn = (
1210
1194
  /** @class */
1211
1195
  function() {
1212
1196
  function e() {
@@ -1218,71 +1202,62 @@ var En = function() {
1218
1202
  this.cache[t] = r;
1219
1203
  }, e;
1220
1204
  }()
1221
- ), Sn = {
1205
+ ), xn = {
1222
1206
  create: function() {
1223
- return new Tn();
1207
+ return new vn();
1224
1208
  }
1225
- }, Ie = {
1226
- variadic: _n
1227
- }, pe = function() {
1228
- return pe = Object.assign || function(t) {
1229
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1230
- r = arguments[n];
1231
- for (var o in r)
1232
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1233
- }
1234
- return t;
1235
- }, pe.apply(this, arguments);
1236
- };
1237
- var b;
1209
+ }, we = {
1210
+ variadic: bn,
1211
+ monadic: gn
1212
+ }, b;
1238
1213
  (function(e) {
1239
1214
  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";
1240
1215
  })(b || (b = {}));
1241
- var x;
1216
+ var _;
1242
1217
  (function(e) {
1243
1218
  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";
1244
- })(x || (x = {}));
1245
- var k;
1219
+ })(_ || (_ = {}));
1220
+ var V;
1246
1221
  (function(e) {
1247
1222
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1248
- })(k || (k = {}));
1249
- function dt(e) {
1250
- return e.type === x.literal;
1223
+ })(V || (V = {}));
1224
+ function ht(e) {
1225
+ return e.type === _.literal;
1251
1226
  }
1252
- function wn(e) {
1253
- return e.type === x.argument;
1227
+ function _n(e) {
1228
+ return e.type === _.argument;
1254
1229
  }
1255
- function jt(e) {
1256
- return e.type === x.number;
1230
+ function Ut(e) {
1231
+ return e.type === _.number;
1257
1232
  }
1258
- function kt(e) {
1259
- return e.type === x.date;
1233
+ function Gt(e) {
1234
+ return e.type === _.date;
1260
1235
  }
1261
- function Vt(e) {
1262
- return e.type === x.time;
1236
+ function Dt(e) {
1237
+ return e.type === _.time;
1263
1238
  }
1264
- function zt(e) {
1265
- return e.type === x.select;
1239
+ function Ft(e) {
1240
+ return e.type === _.select;
1266
1241
  }
1267
- function Wt(e) {
1268
- return e.type === x.plural;
1242
+ function jt(e) {
1243
+ return e.type === _.plural;
1269
1244
  }
1270
- function Pn(e) {
1271
- return e.type === x.pound;
1245
+ function En(e) {
1246
+ return e.type === _.pound;
1272
1247
  }
1273
- function Xt(e) {
1274
- return e.type === x.tag;
1248
+ function kt(e) {
1249
+ return e.type === _.tag;
1275
1250
  }
1276
- function qt(e) {
1277
- return !!(e && typeof e == "object" && e.type === k.number);
1251
+ function Vt(e) {
1252
+ return !!(e && typeof e == "object" && e.type === V.number);
1278
1253
  }
1279
- function je(e) {
1280
- return !!(e && typeof e == "object" && e.type === k.dateTime);
1254
+ function $e(e) {
1255
+ return !!(e && typeof e == "object" && e.type === V.dateTime);
1281
1256
  }
1282
- var Zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Hn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1283
- function In(e) {
1257
+ var zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Tn = /(?:[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;
1258
+ function Sn(e) {
1284
1259
  var t = {};
1285
- return e.replace(Hn, function(r) {
1260
+ return e.replace(Tn, function(r) {
1286
1261
  var n = r.length;
1287
1262
  switch (r[0]) {
1288
1263
  case "G":
@@ -1371,46 +1346,36 @@ function In(e) {
1371
1346
  return "";
1372
1347
  }), t;
1373
1348
  }
1374
- var _ = function() {
1375
- return _ = Object.assign || function(t) {
1376
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1377
- r = arguments[n];
1378
- for (var o in r)
1379
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1380
- }
1381
- return t;
1382
- }, _.apply(this, arguments);
1383
- };
1384
- var Bn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1385
- function Cn(e) {
1349
+ var wn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1350
+ function Pn(e) {
1386
1351
  if (e.length === 0)
1387
1352
  throw new Error("Number skeleton cannot be empty");
1388
- for (var t = e.split(Bn).filter(function(c) {
1389
- return c.length > 0;
1353
+ for (var t = e.split(wn).filter(function(f) {
1354
+ return f.length > 0;
1390
1355
  }), r = [], n = 0, i = t; n < i.length; n++) {
1391
1356
  var o = i[n], a = o.split("/");
1392
1357
  if (a.length === 0)
1393
1358
  throw new Error("Invalid number skeleton");
1394
1359
  for (var s = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
1395
- var f = h[u];
1396
- if (f.length === 0)
1360
+ var c = h[u];
1361
+ if (c.length === 0)
1397
1362
  throw new Error("Invalid number skeleton");
1398
1363
  }
1399
1364
  r.push({ stem: s, options: l });
1400
1365
  }
1401
1366
  return r;
1402
1367
  }
1403
- function An(e) {
1368
+ function Hn(e) {
1404
1369
  return e.replace(/^(.*?)-/, "");
1405
1370
  }
1406
- var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Yt = /^(@+)?(\+|#+)?[rs]?$/g, On = /(\*)(0+)|(#+)(0+)|(0+)/g, Qt = /^(0+)$/;
1407
- function bt(e) {
1371
+ var ft = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Wt = /^(@+)?(\+|#+)?[rs]?$/g, In = /(\*)(0+)|(#+)(0+)|(0+)/g, Xt = /^(0+)$/;
1372
+ function ct(e) {
1408
1373
  var t = {};
1409
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Yt, function(r, n, i) {
1374
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Wt, function(r, n, i) {
1410
1375
  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)), "";
1411
1376
  }), t;
1412
1377
  }
1413
- function Jt(e) {
1378
+ function qt(e) {
1414
1379
  switch (e) {
1415
1380
  case "sign-auto":
1416
1381
  return {
@@ -1450,7 +1415,7 @@ function Jt(e) {
1450
1415
  };
1451
1416
  }
1452
1417
  }
1453
- function Ln(e) {
1418
+ function Bn(e) {
1454
1419
  var t;
1455
1420
  if (e[0] === "E" && e[1] === "E" ? (t = {
1456
1421
  notation: "engineering"
@@ -1458,17 +1423,17 @@ function Ln(e) {
1458
1423
  notation: "scientific"
1459
1424
  }, e = e.slice(1)), t) {
1460
1425
  var r = e.slice(0, 2);
1461
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Qt.test(e))
1426
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Xt.test(e))
1462
1427
  throw new Error("Malformed concise eng/scientific notation");
1463
1428
  t.minimumIntegerDigits = e.length;
1464
1429
  }
1465
1430
  return t;
1466
1431
  }
1467
- function vt(e) {
1468
- var t = {}, r = Jt(e);
1432
+ function dt(e) {
1433
+ var t = {}, r = qt(e);
1469
1434
  return r || t;
1470
1435
  }
1471
- function Mn(e) {
1436
+ function Cn(e) {
1472
1437
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1473
1438
  var i = n[r];
1474
1439
  switch (i.stem) {
@@ -1492,7 +1457,7 @@ function Mn(e) {
1492
1457
  continue;
1493
1458
  case "measure-unit":
1494
1459
  case "unit":
1495
- t.style = "unit", t.unit = An(i.options[0]);
1460
+ t.style = "unit", t.unit = Hn(i.options[0]);
1496
1461
  continue;
1497
1462
  case "compact-short":
1498
1463
  case "K":
@@ -1503,13 +1468,13 @@ function Mn(e) {
1503
1468
  t.notation = "compact", t.compactDisplay = "long";
1504
1469
  continue;
1505
1470
  case "scientific":
1506
- t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1507
- return _(_({}, l), vt(u));
1471
+ t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1472
+ return y(y({}, l), dt(u));
1508
1473
  }, {}));
1509
1474
  continue;
1510
1475
  case "engineering":
1511
- t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1512
- return _(_({}, l), vt(u));
1476
+ t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1477
+ return y(y({}, l), dt(u));
1513
1478
  }, {}));
1514
1479
  continue;
1515
1480
  case "notation-simple":
@@ -1554,41 +1519,41 @@ function Mn(e) {
1554
1519
  case "integer-width":
1555
1520
  if (i.options.length > 1)
1556
1521
  throw new RangeError("integer-width stems only accept a single optional option");
1557
- i.options[0].replace(On, function(l, u, h, f, c, p) {
1522
+ i.options[0].replace(In, function(l, u, h, c, f, d) {
1558
1523
  if (u)
1559
1524
  t.minimumIntegerDigits = h.length;
1560
1525
  else {
1561
- if (f && c)
1526
+ if (c && f)
1562
1527
  throw new Error("We currently do not support maximum integer digits");
1563
- if (p)
1528
+ if (d)
1564
1529
  throw new Error("We currently do not support exact integer digits");
1565
1530
  }
1566
1531
  return "";
1567
1532
  });
1568
1533
  continue;
1569
1534
  }
1570
- if (Qt.test(i.stem)) {
1535
+ if (Xt.test(i.stem)) {
1571
1536
  t.minimumIntegerDigits = i.stem.length;
1572
1537
  continue;
1573
1538
  }
1574
- if (mt.test(i.stem)) {
1539
+ if (ft.test(i.stem)) {
1575
1540
  if (i.options.length > 1)
1576
1541
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1577
- i.stem.replace(mt, function(l, u, h, f, c, p) {
1578
- return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1542
+ i.stem.replace(ft, function(l, u, h, c, f, d) {
1543
+ return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1579
1544
  });
1580
1545
  var o = i.options[0];
1581
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), bt(o)));
1546
+ o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), ct(o)));
1582
1547
  continue;
1583
1548
  }
1584
- if (Yt.test(i.stem)) {
1585
- t = _(_({}, t), bt(i.stem));
1549
+ if (Wt.test(i.stem)) {
1550
+ t = y(y({}, t), ct(i.stem));
1586
1551
  continue;
1587
1552
  }
1588
- var a = Jt(i.stem);
1589
- a && (t = _(_({}, t), a));
1590
- var s = Ln(i.stem);
1591
- s && (t = _(_({}, t), s));
1553
+ var a = qt(i.stem);
1554
+ a && (t = y(y({}, t), a));
1555
+ var s = Bn(i.stem);
1556
+ s && (t = y(y({}, t), s));
1592
1557
  }
1593
1558
  return t;
1594
1559
  }
@@ -3007,13 +2972,13 @@ var ue = {
3007
2972
  "h"
3008
2973
  ]
3009
2974
  };
3010
- function Nn(e, t) {
2975
+ function An(e, t) {
3011
2976
  for (var r = "", n = 0; n < e.length; n++) {
3012
2977
  var i = e.charAt(n);
3013
2978
  if (i === "j") {
3014
2979
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3015
2980
  o++, n++;
3016
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = $n(t);
2981
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = On(t);
3017
2982
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3018
2983
  r += l;
3019
2984
  for (; a-- > 0; )
@@ -3023,7 +2988,7 @@ function Nn(e, t) {
3023
2988
  }
3024
2989
  return r;
3025
2990
  }
3026
- function $n(e) {
2991
+ function On(e) {
3027
2992
  var t = e.hourCycle;
3028
2993
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3029
2994
  e.hourCycles && // @ts-ignore
@@ -3045,20 +3010,20 @@ function $n(e) {
3045
3010
  var i = ue[n || ""] || ue[r || ""] || ue["".concat(r, "-001")] || ue["001"];
3046
3011
  return i[0];
3047
3012
  }
3048
- var Be, Rn = new RegExp("^".concat(Zt.source, "*")), Un = new RegExp("".concat(Zt.source, "*$"));
3049
- function v(e, t) {
3013
+ var Pe, Ln = new RegExp("^".concat(zt.source, "*")), Mn = new RegExp("".concat(zt.source, "*$"));
3014
+ function g(e, t) {
3050
3015
  return { start: e, end: t };
3051
3016
  }
3052
- var Gn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Dn = !!String.fromCodePoint, Fn = !!Object.fromEntries, jn = !!String.prototype.codePointAt, kn = !!String.prototype.trimStart, Vn = !!String.prototype.trimEnd, zn = !!Number.isSafeInteger, Wn = zn ? Number.isSafeInteger : function(e) {
3017
+ var Nn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Rn = !!String.fromCodePoint, $n = !!Object.fromEntries, Un = !!String.prototype.codePointAt, Gn = !!String.prototype.trimStart, Dn = !!String.prototype.trimEnd, Fn = !!Number.isSafeInteger, jn = Fn ? Number.isSafeInteger : function(e) {
3053
3018
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3054
- }, ke = !0;
3019
+ }, Ue = !0;
3055
3020
  try {
3056
- var Xn = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3057
- ke = ((Be = Xn.exec("a")) === null || Be === void 0 ? void 0 : Be[0]) === "a";
3021
+ var kn = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3022
+ Ue = ((Pe = kn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
3058
3023
  } catch (e) {
3059
- ke = !1;
3024
+ Ue = !1;
3060
3025
  }
3061
- var yt = Gn ? (
3026
+ var pt = Nn ? (
3062
3027
  // Native
3063
3028
  function(t, r, n) {
3064
3029
  return t.startsWith(r, n);
@@ -3068,7 +3033,7 @@ var yt = Gn ? (
3068
3033
  function(t, r, n) {
3069
3034
  return t.slice(n, n + r.length) === r;
3070
3035
  }
3071
- ), Ve = Dn ? String.fromCodePoint : (
3036
+ ), Ge = Rn ? String.fromCodePoint : (
3072
3037
  // IE11
3073
3038
  function() {
3074
3039
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3080,9 +3045,9 @@ var yt = Gn ? (
3080
3045
  }
3081
3046
  return n;
3082
3047
  }
3083
- ), gt = (
3048
+ ), mt = (
3084
3049
  // native
3085
- Fn ? Object.fromEntries : (
3050
+ $n ? Object.fromEntries : (
3086
3051
  // Ponyfill
3087
3052
  function(t) {
3088
3053
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3092,7 +3057,7 @@ var yt = Gn ? (
3092
3057
  return r;
3093
3058
  }
3094
3059
  )
3095
- ), Kt = jn ? (
3060
+ ), Zt = Un ? (
3096
3061
  // Native
3097
3062
  function(t, r) {
3098
3063
  return t.codePointAt(r);
@@ -3106,7 +3071,7 @@ var yt = Gn ? (
3106
3071
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3107
3072
  }
3108
3073
  }
3109
- ), qn = kn ? (
3074
+ ), Vn = Gn ? (
3110
3075
  // Native
3111
3076
  function(t) {
3112
3077
  return t.trimStart();
@@ -3114,9 +3079,9 @@ var yt = Gn ? (
3114
3079
  ) : (
3115
3080
  // Ponyfill
3116
3081
  function(t) {
3117
- return t.replace(Rn, "");
3082
+ return t.replace(Ln, "");
3118
3083
  }
3119
- ), Zn = Vn ? (
3084
+ ), zn = Dn ? (
3120
3085
  // Native
3121
3086
  function(t) {
3122
3087
  return t.trimEnd();
@@ -3124,32 +3089,32 @@ var yt = Gn ? (
3124
3089
  ) : (
3125
3090
  // Ponyfill
3126
3091
  function(t) {
3127
- return t.replace(Un, "");
3092
+ return t.replace(Mn, "");
3128
3093
  }
3129
3094
  );
3130
- function er(e, t) {
3095
+ function Yt(e, t) {
3131
3096
  return new RegExp(e, t);
3132
3097
  }
3133
- var ze;
3134
- if (ke) {
3135
- var xt = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3136
- ze = function(t, r) {
3098
+ var De;
3099
+ if (Ue) {
3100
+ var bt = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3101
+ De = function(t, r) {
3137
3102
  var n;
3138
- xt.lastIndex = r;
3139
- var i = xt.exec(t);
3103
+ bt.lastIndex = r;
3104
+ var i = bt.exec(t);
3140
3105
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3141
3106
  };
3142
3107
  } else
3143
- ze = function(t, r) {
3108
+ De = function(t, r) {
3144
3109
  for (var n = []; ; ) {
3145
- var i = Kt(t, r);
3146
- if (i === void 0 || tr(i) || Kn(i))
3110
+ var i = Zt(t, r);
3111
+ if (i === void 0 || Qt(i) || Zn(i))
3147
3112
  break;
3148
3113
  n.push(i), r += i >= 65536 ? 2 : 1;
3149
3114
  }
3150
- return Ve.apply(void 0, n);
3115
+ return Ge.apply(void 0, n);
3151
3116
  };
3152
- var Yn = (
3117
+ var Wn = (
3153
3118
  /** @class */
3154
3119
  function() {
3155
3120
  function e(t, r) {
@@ -3173,14 +3138,14 @@ var Yn = (
3173
3138
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3174
3139
  var s = this.clonePosition();
3175
3140
  this.bump(), i.push({
3176
- type: x.pound,
3177
- location: v(s, this.clonePosition())
3141
+ type: _.pound,
3142
+ location: g(s, this.clonePosition())
3178
3143
  });
3179
3144
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3180
3145
  if (n)
3181
3146
  break;
3182
- return this.error(b.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3183
- } else if (o === 60 && !this.ignoreTag && We(this.peek() || 0)) {
3147
+ return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3148
+ } else if (o === 60 && !this.ignoreTag && Fe(this.peek() || 0)) {
3184
3149
  var a = this.parseTag(t, r);
3185
3150
  if (a.err)
3186
3151
  return a;
@@ -3201,9 +3166,9 @@ var Yn = (
3201
3166
  if (this.bumpSpace(), this.bumpIf("/>"))
3202
3167
  return {
3203
3168
  val: {
3204
- type: x.literal,
3169
+ type: _.literal,
3205
3170
  value: "<".concat(i, "/>"),
3206
- location: v(n, this.clonePosition())
3171
+ location: g(n, this.clonePosition())
3207
3172
  },
3208
3173
  err: null
3209
3174
  };
@@ -3213,25 +3178,25 @@ var Yn = (
3213
3178
  return o;
3214
3179
  var a = o.val, s = this.clonePosition();
3215
3180
  if (this.bumpIf("</")) {
3216
- if (this.isEOF() || !We(this.char()))
3217
- return this.error(b.INVALID_TAG, v(s, this.clonePosition()));
3181
+ if (this.isEOF() || !Fe(this.char()))
3182
+ return this.error(b.INVALID_TAG, g(s, this.clonePosition()));
3218
3183
  var l = this.clonePosition(), u = this.parseTagName();
3219
- return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3184
+ return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3220
3185
  val: {
3221
- type: x.tag,
3186
+ type: _.tag,
3222
3187
  value: i,
3223
3188
  children: a,
3224
- location: v(n, this.clonePosition())
3189
+ location: g(n, this.clonePosition())
3225
3190
  },
3226
3191
  err: null
3227
- } : this.error(b.INVALID_TAG, v(s, this.clonePosition())));
3192
+ } : this.error(b.INVALID_TAG, g(s, this.clonePosition())));
3228
3193
  } else
3229
- return this.error(b.UNCLOSED_TAG, v(n, this.clonePosition()));
3194
+ return this.error(b.UNCLOSED_TAG, g(n, this.clonePosition()));
3230
3195
  } else
3231
- return this.error(b.INVALID_TAG, v(n, this.clonePosition()));
3196
+ return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
3232
3197
  }, e.prototype.parseTagName = function() {
3233
3198
  var t = this.offset();
3234
- for (this.bump(); !this.isEOF() && Jn(this.char()); )
3199
+ for (this.bump(); !this.isEOF() && qn(this.char()); )
3235
3200
  this.bump();
3236
3201
  return this.message.slice(t, this.offset());
3237
3202
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3253,14 +3218,14 @@ var Yn = (
3253
3218
  }
3254
3219
  break;
3255
3220
  }
3256
- var l = v(n, this.clonePosition());
3221
+ var l = g(n, this.clonePosition());
3257
3222
  return {
3258
- val: { type: x.literal, value: i, location: l },
3223
+ val: { type: _.literal, value: i, location: l },
3259
3224
  err: null
3260
3225
  };
3261
3226
  }, e.prototype.tryParseLeftAngleBracket = function() {
3262
3227
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3263
- !Qn(this.peek() || 0)) ? (this.bump(), "<") : null;
3228
+ !Xn(this.peek() || 0)) ? (this.bump(), "<") : null;
3264
3229
  }, e.prototype.tryParseQuote = function(t) {
3265
3230
  if (this.isEOF() || this.char() !== 39)
3266
3231
  return null;
@@ -3294,49 +3259,49 @@ var Yn = (
3294
3259
  r.push(n);
3295
3260
  this.bump();
3296
3261
  }
3297
- return Ve.apply(void 0, r);
3262
+ return Ge.apply(void 0, r);
3298
3263
  }, e.prototype.tryParseUnquoted = function(t, r) {
3299
3264
  if (this.isEOF())
3300
3265
  return null;
3301
3266
  var n = this.char();
3302
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ve(n));
3267
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ge(n));
3303
3268
  }, e.prototype.parseArgument = function(t, r) {
3304
3269
  var n = this.clonePosition();
3305
3270
  if (this.bump(), this.bumpSpace(), this.isEOF())
3306
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3271
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3307
3272
  if (this.char() === 125)
3308
- return this.bump(), this.error(b.EMPTY_ARGUMENT, v(n, this.clonePosition()));
3273
+ return this.bump(), this.error(b.EMPTY_ARGUMENT, g(n, this.clonePosition()));
3309
3274
  var i = this.parseIdentifierIfPossible().value;
3310
3275
  if (!i)
3311
- return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3276
+ return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3312
3277
  if (this.bumpSpace(), this.isEOF())
3313
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3278
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3314
3279
  switch (this.char()) {
3315
3280
  case 125:
3316
3281
  return this.bump(), {
3317
3282
  val: {
3318
- type: x.argument,
3283
+ type: _.argument,
3319
3284
  // value does not include the opening and closing braces.
3320
3285
  value: i,
3321
- location: v(n, this.clonePosition())
3286
+ location: g(n, this.clonePosition())
3322
3287
  },
3323
3288
  err: null
3324
3289
  };
3325
3290
  case 44:
3326
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3291
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3327
3292
  default:
3328
- return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3293
+ return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3329
3294
  }
3330
3295
  }, e.prototype.parseIdentifierIfPossible = function() {
3331
- var t = this.clonePosition(), r = this.offset(), n = ze(this.message, r), i = r + n.length;
3296
+ var t = this.clonePosition(), r = this.offset(), n = De(this.message, r), i = r + n.length;
3332
3297
  this.bumpTo(i);
3333
- var o = this.clonePosition(), a = v(t, o);
3298
+ var o = this.clonePosition(), a = g(t, o);
3334
3299
  return { value: n, location: a };
3335
3300
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3336
3301
  var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3337
3302
  switch (s) {
3338
3303
  case "":
3339
- return this.error(b.EXPECT_ARGUMENT_TYPE, v(a, l));
3304
+ return this.error(b.EXPECT_ARGUMENT_TYPE, g(a, l));
3340
3305
  case "number":
3341
3306
  case "date":
3342
3307
  case "time": {
@@ -3344,49 +3309,49 @@ var Yn = (
3344
3309
  var u = null;
3345
3310
  if (this.bumpIf(",")) {
3346
3311
  this.bumpSpace();
3347
- var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3348
- if (f.err)
3349
- return f;
3350
- var c = Zn(f.val);
3351
- if (c.length === 0)
3352
- return this.error(b.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3353
- var p = v(h, this.clonePosition());
3354
- u = { style: c, styleLocation: p };
3312
+ var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3313
+ if (c.err)
3314
+ return c;
3315
+ var f = zn(c.val);
3316
+ if (f.length === 0)
3317
+ return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3318
+ var d = g(h, this.clonePosition());
3319
+ u = { style: f, styleLocation: d };
3355
3320
  }
3356
- var d = this.tryParseArgumentClose(i);
3357
- if (d.err)
3358
- return d;
3359
- var y = v(i, this.clonePosition());
3360
- if (u && yt(u == null ? void 0 : u.style, "::", 0)) {
3361
- var S = qn(u.style.slice(2));
3321
+ var p = this.tryParseArgumentClose(i);
3322
+ if (p.err)
3323
+ return p;
3324
+ var v = g(i, this.clonePosition());
3325
+ if (u && pt(u == null ? void 0 : u.style, "::", 0)) {
3326
+ var S = Vn(u.style.slice(2));
3362
3327
  if (s === "number") {
3363
- var f = this.parseNumberSkeletonFromString(S, u.styleLocation);
3364
- return f.err ? f : {
3365
- val: { type: x.number, value: n, location: y, style: f.val },
3328
+ var c = this.parseNumberSkeletonFromString(S, u.styleLocation);
3329
+ return c.err ? c : {
3330
+ val: { type: _.number, value: n, location: v, style: c.val },
3366
3331
  err: null
3367
3332
  };
3368
3333
  } else {
3369
3334
  if (S.length === 0)
3370
- return this.error(b.EXPECT_DATE_TIME_SKELETON, y);
3335
+ return this.error(b.EXPECT_DATE_TIME_SKELETON, v);
3371
3336
  var H = S;
3372
- this.locale && (H = Nn(S, this.locale));
3373
- var c = {
3374
- type: k.dateTime,
3337
+ this.locale && (H = An(S, this.locale));
3338
+ var f = {
3339
+ type: V.dateTime,
3375
3340
  pattern: H,
3376
3341
  location: u.styleLocation,
3377
- parsedOptions: this.shouldParseSkeletons ? In(H) : {}
3378
- }, E = s === "date" ? x.date : x.time;
3342
+ parsedOptions: this.shouldParseSkeletons ? Sn(H) : {}
3343
+ }, E = s === "date" ? _.date : _.time;
3379
3344
  return {
3380
- val: { type: E, value: n, location: y, style: c },
3345
+ val: { type: E, value: n, location: v, style: f },
3381
3346
  err: null
3382
3347
  };
3383
3348
  }
3384
3349
  }
3385
3350
  return {
3386
3351
  val: {
3387
- type: s === "number" ? x.number : s === "date" ? x.date : x.time,
3352
+ type: s === "number" ? _.number : s === "date" ? _.date : _.time,
3388
3353
  value: n,
3389
- location: y,
3354
+ location: v,
3390
3355
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3391
3356
  },
3392
3357
  err: null
@@ -3395,52 +3360,52 @@ var Yn = (
3395
3360
  case "plural":
3396
3361
  case "selectordinal":
3397
3362
  case "select": {
3398
- var g = this.clonePosition();
3363
+ var x = this.clonePosition();
3399
3364
  if (this.bumpSpace(), !this.bumpIf(","))
3400
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(g, pe({}, g)));
3365
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(x, y({}, x)));
3401
3366
  this.bumpSpace();
3402
3367
  var w = this.parseIdentifierIfPossible(), m = 0;
3403
3368
  if (s !== "select" && w.value === "offset") {
3404
3369
  if (!this.bumpIf(":"))
3405
- return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3370
+ return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3406
3371
  this.bumpSpace();
3407
- var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3408
- if (f.err)
3409
- return f;
3410
- this.bumpSpace(), w = this.parseIdentifierIfPossible(), m = f.val;
3372
+ var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3373
+ if (c.err)
3374
+ return c;
3375
+ this.bumpSpace(), w = this.parseIdentifierIfPossible(), m = c.val;
3411
3376
  }
3412
3377
  var B = this.tryParsePluralOrSelectOptions(t, s, r, w);
3413
3378
  if (B.err)
3414
3379
  return B;
3415
- var d = this.tryParseArgumentClose(i);
3416
- if (d.err)
3417
- return d;
3418
- var Y = v(i, this.clonePosition());
3380
+ var p = this.tryParseArgumentClose(i);
3381
+ if (p.err)
3382
+ return p;
3383
+ var Q = g(i, this.clonePosition());
3419
3384
  return s === "select" ? {
3420
3385
  val: {
3421
- type: x.select,
3386
+ type: _.select,
3422
3387
  value: n,
3423
- options: gt(B.val),
3424
- location: Y
3388
+ options: mt(B.val),
3389
+ location: Q
3425
3390
  },
3426
3391
  err: null
3427
3392
  } : {
3428
3393
  val: {
3429
- type: x.plural,
3394
+ type: _.plural,
3430
3395
  value: n,
3431
- options: gt(B.val),
3396
+ options: mt(B.val),
3432
3397
  offset: m,
3433
3398
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3434
- location: Y
3399
+ location: Q
3435
3400
  },
3436
3401
  err: null
3437
3402
  };
3438
3403
  }
3439
3404
  default:
3440
- return this.error(b.INVALID_ARGUMENT_TYPE, v(a, l));
3405
+ return this.error(b.INVALID_ARGUMENT_TYPE, g(a, l));
3441
3406
  }
3442
3407
  }, e.prototype.tryParseArgumentClose = function(t) {
3443
- return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3408
+ return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3444
3409
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3445
3410
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3446
3411
  var n = this.char();
@@ -3449,7 +3414,7 @@ var Yn = (
3449
3414
  this.bump();
3450
3415
  var i = this.clonePosition();
3451
3416
  if (!this.bumpUntil("'"))
3452
- return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3417
+ return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
3453
3418
  this.bump();
3454
3419
  break;
3455
3420
  }
@@ -3479,52 +3444,52 @@ var Yn = (
3479
3444
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3480
3445
  var n = [];
3481
3446
  try {
3482
- n = Cn(t);
3447
+ n = Pn(t);
3483
3448
  } catch (i) {
3484
3449
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3485
3450
  }
3486
3451
  return {
3487
3452
  val: {
3488
- type: k.number,
3453
+ type: V.number,
3489
3454
  tokens: n,
3490
3455
  location: r,
3491
- parsedOptions: this.shouldParseSkeletons ? Mn(n) : {}
3456
+ parsedOptions: this.shouldParseSkeletons ? Cn(n) : {}
3492
3457
  },
3493
3458
  err: null
3494
3459
  };
3495
3460
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3496
3461
  for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3497
3462
  if (u.length === 0) {
3498
- var f = this.clonePosition();
3463
+ var c = this.clonePosition();
3499
3464
  if (r !== "select" && this.bumpIf("=")) {
3500
- var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3501
- if (c.err)
3502
- return c;
3503
- h = v(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3465
+ var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3466
+ if (f.err)
3467
+ return f;
3468
+ h = g(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3504
3469
  } else
3505
3470
  break;
3506
3471
  }
3507
3472
  if (l.has(u))
3508
3473
  return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3509
3474
  u === "other" && (a = !0), this.bumpSpace();
3510
- var p = this.clonePosition();
3475
+ var d = this.clonePosition();
3511
3476
  if (!this.bumpIf("{"))
3512
- return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3513
- var d = this.parseMessage(t + 1, r, n);
3514
- if (d.err)
3515
- return d;
3516
- var y = this.tryParseArgumentClose(p);
3517
- if (y.err)
3518
- return y;
3477
+ return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3478
+ var p = this.parseMessage(t + 1, r, n);
3479
+ if (p.err)
3480
+ return p;
3481
+ var v = this.tryParseArgumentClose(d);
3482
+ if (v.err)
3483
+ return v;
3519
3484
  s.push([
3520
3485
  u,
3521
3486
  {
3522
- value: d.val,
3523
- location: v(p, this.clonePosition())
3487
+ value: p.val,
3488
+ location: g(d, this.clonePosition())
3524
3489
  }
3525
3490
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3526
3491
  }
3527
- return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3492
+ return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3528
3493
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3529
3494
  var n = 1, i = this.clonePosition();
3530
3495
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3535,8 +3500,8 @@ var Yn = (
3535
3500
  else
3536
3501
  break;
3537
3502
  }
3538
- var l = v(i, this.clonePosition());
3539
- return o ? (a *= n, Wn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3503
+ var l = g(i, this.clonePosition());
3504
+ return o ? (a *= n, jn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3540
3505
  }, e.prototype.offset = function() {
3541
3506
  return this.position.offset;
3542
3507
  }, e.prototype.isEOF = function() {
@@ -3551,7 +3516,7 @@ var Yn = (
3551
3516
  var t = this.position.offset;
3552
3517
  if (t >= this.message.length)
3553
3518
  throw Error("out of bound");
3554
- var r = Kt(this.message, t);
3519
+ var r = Zt(this.message, t);
3555
3520
  if (r === void 0)
3556
3521
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3557
3522
  return r;
@@ -3570,7 +3535,7 @@ var Yn = (
3570
3535
  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);
3571
3536
  }
3572
3537
  }, e.prototype.bumpIf = function(t) {
3573
- if (yt(this.message, t, this.offset())) {
3538
+ if (pt(this.message, t, this.offset())) {
3574
3539
  for (var r = 0; r < t.length; r++)
3575
3540
  this.bump();
3576
3541
  return !0;
@@ -3592,7 +3557,7 @@ var Yn = (
3592
3557
  break;
3593
3558
  }
3594
3559
  }, e.prototype.bumpSpace = function() {
3595
- for (; !this.isEOF() && tr(this.char()); )
3560
+ for (; !this.isEOF() && Qt(this.char()); )
3596
3561
  this.bump();
3597
3562
  }, e.prototype.peek = function() {
3598
3563
  if (this.isEOF())
@@ -3602,47 +3567,47 @@ var Yn = (
3602
3567
  }, e;
3603
3568
  }()
3604
3569
  );
3605
- function We(e) {
3570
+ function Fe(e) {
3606
3571
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3607
3572
  }
3608
- function Qn(e) {
3609
- return We(e) || e === 47;
3573
+ function Xn(e) {
3574
+ return Fe(e) || e === 47;
3610
3575
  }
3611
- function Jn(e) {
3576
+ function qn(e) {
3612
3577
  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;
3613
3578
  }
3614
- function tr(e) {
3579
+ function Qt(e) {
3615
3580
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3616
3581
  }
3617
- function Kn(e) {
3582
+ function Zn(e) {
3618
3583
  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;
3619
3584
  }
3620
- function Xe(e) {
3585
+ function je(e) {
3621
3586
  e.forEach(function(t) {
3622
- if (delete t.location, zt(t) || Wt(t))
3587
+ if (delete t.location, Ft(t) || jt(t))
3623
3588
  for (var r in t.options)
3624
- delete t.options[r].location, Xe(t.options[r].value);
3589
+ delete t.options[r].location, je(t.options[r].value);
3625
3590
  else
3626
- jt(t) && qt(t.style) || (kt(t) || Vt(t)) && je(t.style) ? delete t.style.location : Xt(t) && Xe(t.children);
3591
+ Ut(t) && Vt(t.style) || (Gt(t) || Dt(t)) && $e(t.style) ? delete t.style.location : kt(t) && je(t.children);
3627
3592
  });
3628
3593
  }
3629
- function ei(e, t) {
3630
- t === void 0 && (t = {}), t = pe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3631
- var r = new Yn(e, t).parse();
3594
+ function Yn(e, t) {
3595
+ t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3596
+ var r = new Wn(e, t).parse();
3632
3597
  if (r.err) {
3633
3598
  var n = SyntaxError(b[r.err.kind]);
3634
3599
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3635
3600
  }
3636
- return t != null && t.captureLocation || Xe(r.val), r.val;
3601
+ return t != null && t.captureLocation || je(r.val), r.val;
3637
3602
  }
3638
- var V;
3603
+ var z;
3639
3604
  (function(e) {
3640
3605
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3641
- })(V || (V = {}));
3606
+ })(z || (z = {}));
3642
3607
  var ge = (
3643
3608
  /** @class */
3644
3609
  function(e) {
3645
- ye(t, e);
3610
+ N(t, e);
3646
3611
  function t(r, n, i) {
3647
3612
  var o = e.call(this, r) || this;
3648
3613
  return o.code = n, o.originalMessage = i, o;
@@ -3651,30 +3616,30 @@ var ge = (
3651
3616
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3652
3617
  }, t;
3653
3618
  }(Error)
3654
- ), _t = (
3619
+ ), gt = (
3655
3620
  /** @class */
3656
3621
  function(e) {
3657
- ye(t, e);
3622
+ N(t, e);
3658
3623
  function t(r, n, i, o) {
3659
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, o) || this;
3624
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), z.INVALID_VALUE, o) || this;
3660
3625
  }
3661
3626
  return t;
3662
3627
  }(ge)
3663
- ), ti = (
3628
+ ), Qn = (
3664
3629
  /** @class */
3665
3630
  function(e) {
3666
- ye(t, e);
3631
+ N(t, e);
3667
3632
  function t(r, n, i) {
3668
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
3633
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), z.INVALID_VALUE, i) || this;
3669
3634
  }
3670
3635
  return t;
3671
3636
  }(ge)
3672
- ), ri = (
3637
+ ), Jn = (
3673
3638
  /** @class */
3674
3639
  function(e) {
3675
- ye(t, e);
3640
+ N(t, e);
3676
3641
  function t(r, n) {
3677
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
3642
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), z.MISSING_VALUE, n) || this;
3678
3643
  }
3679
3644
  return t;
3680
3645
  }(ge)
@@ -3682,17 +3647,17 @@ var ge = (
3682
3647
  (function(e) {
3683
3648
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3684
3649
  })(T || (T = {}));
3685
- function ni(e) {
3650
+ function Kn(e) {
3686
3651
  return e.length < 2 ? e : e.reduce(function(t, r) {
3687
3652
  var n = t[t.length - 1];
3688
3653
  return !n || n.type !== T.literal || r.type !== T.literal ? t.push(r) : n.value += r.value, t;
3689
3654
  }, []);
3690
3655
  }
3691
- function ii(e) {
3656
+ function ei(e) {
3692
3657
  return typeof e == "function";
3693
3658
  }
3694
- function ce(e, t, r, n, i, o, a) {
3695
- if (e.length === 1 && dt(e[0]))
3659
+ function fe(e, t, r, n, i, o, a) {
3660
+ if (e.length === 1 && ht(e[0]))
3696
3661
  return [
3697
3662
  {
3698
3663
  type: T.literal,
@@ -3701,60 +3666,60 @@ function ce(e, t, r, n, i, o, a) {
3701
3666
  ];
3702
3667
  for (var s = [], l = 0, u = e; l < u.length; l++) {
3703
3668
  var h = u[l];
3704
- if (dt(h)) {
3669
+ if (ht(h)) {
3705
3670
  s.push({
3706
3671
  type: T.literal,
3707
3672
  value: h.value
3708
3673
  });
3709
3674
  continue;
3710
3675
  }
3711
- if (Pn(h)) {
3676
+ if (En(h)) {
3712
3677
  typeof o == "number" && s.push({
3713
3678
  type: T.literal,
3714
3679
  value: r.getNumberFormat(t).format(o)
3715
3680
  });
3716
3681
  continue;
3717
3682
  }
3718
- var f = h.value;
3719
- if (!(i && f in i))
3720
- throw new ri(f, a);
3721
- var c = i[f];
3722
- if (wn(h)) {
3723
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3724
- type: typeof c == "string" ? T.literal : T.object,
3725
- value: c
3683
+ var c = h.value;
3684
+ if (!(i && c in i))
3685
+ throw new Jn(c, a);
3686
+ var f = i[c];
3687
+ if (_n(h)) {
3688
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3689
+ type: typeof f == "string" ? T.literal : T.object,
3690
+ value: f
3726
3691
  });
3727
3692
  continue;
3728
3693
  }
3729
- if (kt(h)) {
3730
- var p = typeof h.style == "string" ? n.date[h.style] : je(h.style) ? h.style.parsedOptions : void 0;
3694
+ if (Gt(h)) {
3695
+ var d = typeof h.style == "string" ? n.date[h.style] : $e(h.style) ? h.style.parsedOptions : void 0;
3731
3696
  s.push({
3732
3697
  type: T.literal,
3733
- value: r.getDateTimeFormat(t, p).format(c)
3698
+ value: r.getDateTimeFormat(t, d).format(f)
3734
3699
  });
3735
3700
  continue;
3736
3701
  }
3737
- if (Vt(h)) {
3738
- var p = typeof h.style == "string" ? n.time[h.style] : je(h.style) ? h.style.parsedOptions : n.time.medium;
3702
+ if (Dt(h)) {
3703
+ var d = typeof h.style == "string" ? n.time[h.style] : $e(h.style) ? h.style.parsedOptions : n.time.medium;
3739
3704
  s.push({
3740
3705
  type: T.literal,
3741
- value: r.getDateTimeFormat(t, p).format(c)
3706
+ value: r.getDateTimeFormat(t, d).format(f)
3742
3707
  });
3743
3708
  continue;
3744
3709
  }
3745
- if (jt(h)) {
3746
- var p = typeof h.style == "string" ? n.number[h.style] : qt(h.style) ? h.style.parsedOptions : void 0;
3747
- p && p.scale && (c = c * (p.scale || 1)), s.push({
3710
+ if (Ut(h)) {
3711
+ var d = typeof h.style == "string" ? n.number[h.style] : Vt(h.style) ? h.style.parsedOptions : void 0;
3712
+ d && d.scale && (f = f * (d.scale || 1)), s.push({
3748
3713
  type: T.literal,
3749
- value: r.getNumberFormat(t, p).format(c)
3714
+ value: r.getNumberFormat(t, d).format(f)
3750
3715
  });
3751
3716
  continue;
3752
3717
  }
3753
- if (Xt(h)) {
3754
- var d = h.children, y = h.value, S = i[y];
3755
- if (!ii(S))
3756
- throw new ti(y, "function", a);
3757
- var H = ce(d, t, r, n, i, o), E = S(H.map(function(m) {
3718
+ if (kt(h)) {
3719
+ var p = h.children, v = h.value, S = i[v];
3720
+ if (!ei(S))
3721
+ throw new Qn(v, "function", a);
3722
+ var H = fe(p, t, r, n, i, o), E = S(H.map(function(m) {
3758
3723
  return m.value;
3759
3724
  }));
3760
3725
  Array.isArray(E) || (E = [E]), s.push.apply(s, E.map(function(m) {
@@ -3764,42 +3729,42 @@ function ce(e, t, r, n, i, o, a) {
3764
3729
  };
3765
3730
  }));
3766
3731
  }
3767
- if (zt(h)) {
3768
- var g = h.options[c] || h.options.other;
3769
- if (!g)
3770
- throw new _t(h.value, c, Object.keys(h.options), a);
3771
- s.push.apply(s, ce(g.value, t, r, n, i));
3732
+ if (Ft(h)) {
3733
+ var x = h.options[f] || h.options.other;
3734
+ if (!x)
3735
+ throw new gt(h.value, f, Object.keys(h.options), a);
3736
+ s.push.apply(s, fe(x.value, t, r, n, i));
3772
3737
  continue;
3773
3738
  }
3774
- if (Wt(h)) {
3775
- var g = h.options["=".concat(c)];
3776
- if (!g) {
3739
+ if (jt(h)) {
3740
+ var x = h.options["=".concat(f)];
3741
+ if (!x) {
3777
3742
  if (!Intl.PluralRules)
3778
3743
  throw new ge(`Intl.PluralRules is not available in this environment.
3779
3744
  Try polyfilling it using "@formatjs/intl-pluralrules"
3780
- `, V.MISSING_INTL_API, a);
3781
- var w = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3782
- g = h.options[w] || h.options.other;
3745
+ `, z.MISSING_INTL_API, a);
3746
+ var w = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3747
+ x = h.options[w] || h.options.other;
3783
3748
  }
3784
- if (!g)
3785
- throw new _t(h.value, c, Object.keys(h.options), a);
3786
- s.push.apply(s, ce(g.value, t, r, n, i, c - (h.offset || 0)));
3749
+ if (!x)
3750
+ throw new gt(h.value, f, Object.keys(h.options), a);
3751
+ s.push.apply(s, fe(x.value, t, r, n, i, f - (h.offset || 0)));
3787
3752
  continue;
3788
3753
  }
3789
3754
  }
3790
- return ni(s);
3755
+ return Kn(s);
3791
3756
  }
3792
- function oi(e, t) {
3793
- return t ? M(M(M({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3794
- return r[n] = M(M({}, e[n]), t[n] || {}), r;
3757
+ function ti(e, t) {
3758
+ return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3759
+ return r[n] = y(y({}, e[n]), t[n] || {}), r;
3795
3760
  }, {})) : e;
3796
3761
  }
3797
- function ai(e, t) {
3762
+ function ri(e, t) {
3798
3763
  return t ? Object.keys(e).reduce(function(r, n) {
3799
- return r[n] = oi(e[n], t[n]), r;
3800
- }, M({}, e)) : e;
3764
+ return r[n] = ti(e[n], t[n]), r;
3765
+ }, y({}, e)) : e;
3801
3766
  }
3802
- function Ce(e) {
3767
+ function He(e) {
3803
3768
  return {
3804
3769
  create: function() {
3805
3770
  return {
@@ -3813,39 +3778,39 @@ function Ce(e) {
3813
3778
  }
3814
3779
  };
3815
3780
  }
3816
- function si(e) {
3781
+ function ni(e) {
3817
3782
  return e === void 0 && (e = {
3818
3783
  number: {},
3819
3784
  dateTime: {},
3820
3785
  pluralRules: {}
3821
3786
  }), {
3822
- getNumberFormat: He(function() {
3787
+ getNumberFormat: Se(function() {
3823
3788
  for (var t, r = [], n = 0; n < arguments.length; n++)
3824
3789
  r[n] = arguments[n];
3825
- return new ((t = Intl.NumberFormat).bind.apply(t, Pe([void 0], r, !1)))();
3790
+ return new ((t = Intl.NumberFormat).bind.apply(t, j([void 0], r, !1)))();
3826
3791
  }, {
3827
- cache: Ce(e.number),
3828
- strategy: Ie.variadic
3792
+ cache: He(e.number),
3793
+ strategy: we.variadic
3829
3794
  }),
3830
- getDateTimeFormat: He(function() {
3795
+ getDateTimeFormat: Se(function() {
3831
3796
  for (var t, r = [], n = 0; n < arguments.length; n++)
3832
3797
  r[n] = arguments[n];
3833
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Pe([void 0], r, !1)))();
3798
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, j([void 0], r, !1)))();
3834
3799
  }, {
3835
- cache: Ce(e.dateTime),
3836
- strategy: Ie.variadic
3800
+ cache: He(e.dateTime),
3801
+ strategy: we.variadic
3837
3802
  }),
3838
- getPluralRules: He(function() {
3803
+ getPluralRules: Se(function() {
3839
3804
  for (var t, r = [], n = 0; n < arguments.length; n++)
3840
3805
  r[n] = arguments[n];
3841
- return new ((t = Intl.PluralRules).bind.apply(t, Pe([void 0], r, !1)))();
3806
+ return new ((t = Intl.PluralRules).bind.apply(t, j([void 0], r, !1)))();
3842
3807
  }, {
3843
- cache: Ce(e.pluralRules),
3844
- strategy: Ie.variadic
3808
+ cache: He(e.pluralRules),
3809
+ strategy: we.variadic
3845
3810
  })
3846
3811
  };
3847
3812
  }
3848
- var ui = (
3813
+ var ii = (
3849
3814
  /** @class */
3850
3815
  function() {
3851
3816
  function e(t, r, n, i) {
@@ -3859,12 +3824,12 @@ var ui = (
3859
3824
  var u = o.formatToParts(l);
3860
3825
  if (u.length === 1)
3861
3826
  return u[0].value;
3862
- var h = u.reduce(function(f, c) {
3863
- return !f.length || c.type !== T.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3827
+ var h = u.reduce(function(c, f) {
3828
+ return !c.length || f.type !== T.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3864
3829
  }, []);
3865
3830
  return h.length <= 1 ? h[0] || "" : h;
3866
3831
  }, this.formatToParts = function(l) {
3867
- return ce(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3832
+ return fe(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3868
3833
  }, this.resolvedOptions = function() {
3869
3834
  var l;
3870
3835
  return {
@@ -3877,13 +3842,13 @@ var ui = (
3877
3842
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3878
3843
  var a = i || {};
3879
3844
  a.formatters;
3880
- var s = vn(a, ["formatters"]);
3881
- this.ast = e.__parse(t, M(M({}, s), { locale: this.resolvedLocale }));
3845
+ var s = Nr(a, ["formatters"]);
3846
+ this.ast = e.__parse(t, y(y({}, s), { locale: this.resolvedLocale }));
3882
3847
  } else
3883
3848
  this.ast = t;
3884
3849
  if (!Array.isArray(this.ast))
3885
3850
  throw new TypeError("A message must be provided as a String or AST.");
3886
- this.formats = ai(e.formats, n), this.formatters = i && i.formatters || si(this.formatterCache);
3851
+ this.formats = ri(e.formats, n), this.formatters = i && i.formatters || ni(this.formatterCache);
3887
3852
  }
3888
3853
  return Object.defineProperty(e, "defaultLocale", {
3889
3854
  get: function() {
@@ -3896,7 +3861,7 @@ var ui = (
3896
3861
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3897
3862
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3898
3863
  }
3899
- }, e.__parse = ei, e.formats = {
3864
+ }, e.__parse = Yn, e.formats = {
3900
3865
  number: {
3901
3866
  integer: {
3902
3867
  maximumFractionDigits: 0
@@ -3957,7 +3922,7 @@ var ui = (
3957
3922
  }, e;
3958
3923
  }()
3959
3924
  );
3960
- function li(e, t) {
3925
+ function oi(e, t) {
3961
3926
  if (t == null)
3962
3927
  return;
3963
3928
  if (t in e)
@@ -3978,92 +3943,92 @@ function li(e, t) {
3978
3943
  n = void 0;
3979
3944
  return n;
3980
3945
  }
3981
- const $ = {}, hi = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), rr = (e, t) => {
3946
+ const R = {}, ai = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), Jt = (e, t) => {
3982
3947
  if (t == null)
3983
3948
  return;
3984
- if (t in $ && e in $[t])
3985
- return $[t][e];
3986
- const r = xe(t);
3949
+ if (t in R && e in R[t])
3950
+ return R[t][e];
3951
+ const r = ye(t);
3987
3952
  for (let n = 0; n < r.length; n++) {
3988
- const i = r[n], o = fi(i, e);
3953
+ const i = r[n], o = ui(i, e);
3989
3954
  if (o)
3990
- return hi(e, t, o);
3955
+ return ai(e, t, o);
3991
3956
  }
3992
3957
  };
3993
- let Je;
3994
- const ae = ve({});
3995
- function ci(e) {
3996
- return Je[e] || null;
3958
+ let qe;
3959
+ const ae = be({});
3960
+ function si(e) {
3961
+ return qe[e] || null;
3997
3962
  }
3998
- function nr(e) {
3999
- return e in Je;
3963
+ function Kt(e) {
3964
+ return e in qe;
4000
3965
  }
4001
- function fi(e, t) {
4002
- if (!nr(e))
3966
+ function ui(e, t) {
3967
+ if (!Kt(e))
4003
3968
  return null;
4004
- const r = ci(e);
4005
- return li(r, t);
3969
+ const r = si(e);
3970
+ return oi(r, t);
4006
3971
  }
4007
- function pi(e) {
3972
+ function li(e) {
4008
3973
  if (e == null)
4009
3974
  return;
4010
- const t = xe(e);
3975
+ const t = ye(e);
4011
3976
  for (let r = 0; r < t.length; r++) {
4012
3977
  const n = t[r];
4013
- if (nr(n))
3978
+ if (Kt(n))
4014
3979
  return n;
4015
3980
  }
4016
3981
  }
4017
- function ir(e, ...t) {
4018
- delete $[e], ae.update((r) => (r[e] = bn.all([r[e] || {}, ...t]), r));
3982
+ function er(e, ...t) {
3983
+ delete R[e], ae.update((r) => (r[e] = dn.all([r[e] || {}, ...t]), r));
4019
3984
  }
4020
- X(
3985
+ q(
4021
3986
  [ae],
4022
3987
  ([e]) => Object.keys(e)
4023
3988
  );
4024
- ae.subscribe((e) => Je = e);
4025
- const fe = {};
4026
- function di(e, t) {
4027
- fe[e].delete(t), fe[e].size === 0 && delete fe[e];
3989
+ ae.subscribe((e) => qe = e);
3990
+ const ce = {};
3991
+ function hi(e, t) {
3992
+ ce[e].delete(t), ce[e].size === 0 && delete ce[e];
4028
3993
  }
4029
- function or(e) {
4030
- return fe[e];
3994
+ function tr(e) {
3995
+ return ce[e];
4031
3996
  }
4032
- function mi(e) {
4033
- return xe(e).map((t) => {
4034
- const r = or(t);
3997
+ function fi(e) {
3998
+ return ye(e).map((t) => {
3999
+ const r = tr(t);
4035
4000
  return [t, r ? [...r] : []];
4036
4001
  }).filter(([, t]) => t.length > 0);
4037
4002
  }
4038
- function qe(e) {
4039
- return e == null ? !1 : xe(e).some(
4003
+ function ke(e) {
4004
+ return e == null ? !1 : ye(e).some(
4040
4005
  (t) => {
4041
4006
  var r;
4042
- return (r = or(t)) == null ? void 0 : r.size;
4007
+ return (r = tr(t)) == null ? void 0 : r.size;
4043
4008
  }
4044
4009
  );
4045
4010
  }
4046
- function bi(e, t) {
4011
+ function ci(e, t) {
4047
4012
  return Promise.all(
4048
- t.map((n) => (di(e, n), n().then((i) => i.default || i)))
4049
- ).then((n) => ir(e, ...n));
4050
- }
4051
- const Q = {};
4052
- function ar(e) {
4053
- if (!qe(e))
4054
- return e in Q ? Q[e] : Promise.resolve();
4055
- const t = mi(e);
4056
- return Q[e] = Promise.all(
4013
+ t.map((n) => (hi(e, n), n().then((i) => i.default || i)))
4014
+ ).then((n) => er(e, ...n));
4015
+ }
4016
+ const J = {};
4017
+ function rr(e) {
4018
+ if (!ke(e))
4019
+ return e in J ? J[e] : Promise.resolve();
4020
+ const t = fi(e);
4021
+ return J[e] = Promise.all(
4057
4022
  t.map(
4058
- ([r, n]) => bi(r, n)
4023
+ ([r, n]) => ci(r, n)
4059
4024
  )
4060
4025
  ).then(() => {
4061
- if (qe(e))
4062
- return ar(e);
4063
- delete Q[e];
4064
- }), Q[e];
4026
+ if (ke(e))
4027
+ return rr(e);
4028
+ delete J[e];
4029
+ }), J[e];
4065
4030
  }
4066
- const vi = {
4031
+ const di = {
4067
4032
  number: {
4068
4033
  scientific: { notation: "scientific" },
4069
4034
  engineering: { notation: "engineering" },
@@ -4092,180 +4057,180 @@ const vi = {
4092
4057
  timeZoneName: "short"
4093
4058
  }
4094
4059
  }
4095
- }, yi = {
4060
+ }, pi = {
4096
4061
  fallbackLocale: null,
4097
4062
  loadingDelay: 200,
4098
- formats: vi,
4063
+ formats: di,
4099
4064
  warnOnMissingMessages: !0,
4100
4065
  handleMissingMessage: void 0,
4101
4066
  ignoreTag: !0
4102
- }, gi = yi;
4103
- function z() {
4104
- return gi;
4105
- }
4106
- const Ae = ve(!1);
4107
- var xi = Object.defineProperty, _i = Object.defineProperties, Ei = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, Ti = Object.prototype.hasOwnProperty, Si = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wi = (e, t) => {
4108
- for (var r in t || (t = {}))
4109
- Ti.call(t, r) && Tt(e, r, t[r]);
4110
- if (Et)
4111
- for (var r of Et(t))
4112
- Si.call(t, r) && Tt(e, r, t[r]);
4067
+ }, mi = pi;
4068
+ function W() {
4069
+ return mi;
4070
+ }
4071
+ const Ie = be(!1);
4072
+ var bi = Object.defineProperty, gi = Object.defineProperties, yi = Object.getOwnPropertyDescriptors, yt = Object.getOwnPropertySymbols, vi = Object.prototype.hasOwnProperty, xi = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _i = (e, t) => {
4073
+ for (var r in t)
4074
+ vi.call(t, r) && vt(e, r, t[r]);
4075
+ if (yt)
4076
+ for (var r of yt(t))
4077
+ xi.call(t, r) && vt(e, r, t[r]);
4113
4078
  return e;
4114
- }, Pi = (e, t) => _i(e, Ei(t));
4115
- let Ze;
4116
- const de = ve(null);
4117
- function St(e) {
4079
+ }, Ei = (e, t) => gi(e, yi(t));
4080
+ let Ve;
4081
+ const de = be(null);
4082
+ function xt(e) {
4118
4083
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4119
4084
  }
4120
- function xe(e, t = z().fallbackLocale) {
4121
- const r = St(e);
4122
- return t ? [.../* @__PURE__ */ new Set([...r, ...St(t)])] : r;
4085
+ function ye(e, t = W().fallbackLocale) {
4086
+ const r = xt(e);
4087
+ return t ? [.../* @__PURE__ */ new Set([...r, ...xt(t)])] : r;
4123
4088
  }
4124
- function R() {
4125
- return Ze != null ? Ze : void 0;
4089
+ function $() {
4090
+ return Ve != null ? Ve : void 0;
4126
4091
  }
4127
4092
  de.subscribe((e) => {
4128
- Ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4093
+ Ve = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4129
4094
  });
4130
- const Hi = (e) => {
4131
- if (e && pi(e) && qe(e)) {
4132
- const { loadingDelay: t } = z();
4095
+ const Ti = (e) => {
4096
+ if (e && li(e) && ke(e)) {
4097
+ const { loadingDelay: t } = W();
4133
4098
  let r;
4134
- return typeof window != "undefined" && R() != null && t ? r = window.setTimeout(
4135
- () => Ae.set(!0),
4099
+ return typeof window != "undefined" && $() != null && t ? r = window.setTimeout(
4100
+ () => Ie.set(!0),
4136
4101
  t
4137
- ) : Ae.set(!0), ar(e).then(() => {
4102
+ ) : Ie.set(!0), rr(e).then(() => {
4138
4103
  de.set(e);
4139
4104
  }).finally(() => {
4140
- clearTimeout(r), Ae.set(!1);
4105
+ clearTimeout(r), Ie.set(!1);
4141
4106
  });
4142
4107
  }
4143
4108
  return de.set(e);
4144
- }, q = Pi(wi({}, de), {
4145
- set: Hi
4146
- }), _e = (e) => {
4109
+ }, Z = Ei(_i({}, de), {
4110
+ set: Ti
4111
+ }), ve = (e) => {
4147
4112
  const t = /* @__PURE__ */ Object.create(null);
4148
4113
  return (n) => {
4149
4114
  const i = JSON.stringify(n);
4150
4115
  return i in t ? t[i] : t[i] = e(n);
4151
4116
  };
4152
4117
  };
4153
- var Ii = Object.defineProperty, me = Object.getOwnPropertySymbols, sr = Object.prototype.hasOwnProperty, ur = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? Ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
4118
+ var Si = Object.defineProperty, pe = Object.getOwnPropertySymbols, nr = Object.prototype.hasOwnProperty, ir = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
4154
4119
  for (var r in t || (t = {}))
4155
- sr.call(t, r) && wt(e, r, t[r]);
4156
- if (me)
4157
- for (var r of me(t))
4158
- ur.call(t, r) && wt(e, r, t[r]);
4120
+ nr.call(t, r) && _t(e, r, t[r]);
4121
+ if (pe)
4122
+ for (var r of pe(t))
4123
+ ir.call(t, r) && _t(e, r, t[r]);
4159
4124
  return e;
4160
- }, Z = (e, t) => {
4125
+ }, Y = (e, t) => {
4161
4126
  var r = {};
4162
4127
  for (var n in e)
4163
- sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4164
- if (e != null && me)
4165
- for (var n of me(e))
4166
- t.indexOf(n) < 0 && ur.call(e, n) && (r[n] = e[n]);
4128
+ nr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4129
+ if (e != null && pe)
4130
+ for (var n of pe(e))
4131
+ t.indexOf(n) < 0 && ir.call(e, n) && (r[n] = e[n]);
4167
4132
  return r;
4168
4133
  };
4169
- const te = (e, t) => {
4170
- const { formats: r } = z();
4134
+ const re = (e, t) => {
4135
+ const { formats: r } = W();
4171
4136
  if (e in r && t in r[e])
4172
4137
  return r[e][t];
4173
4138
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4174
- }, Bi = _e(
4139
+ }, wi = ve(
4175
4140
  (e) => {
4176
- var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
4141
+ var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4177
4142
  if (r == null)
4178
4143
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4179
- return n && (i = te("number", n)), new Intl.NumberFormat(r, i);
4144
+ return n && (i = re("number", n)), new Intl.NumberFormat(r, i);
4180
4145
  }
4181
- ), Ci = _e(
4146
+ ), Pi = ve(
4182
4147
  (e) => {
4183
- var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
4148
+ var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4184
4149
  if (r == null)
4185
4150
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4186
- return n ? i = te("date", n) : Object.keys(i).length === 0 && (i = te("date", "short")), new Intl.DateTimeFormat(r, i);
4151
+ return n ? i = re("date", n) : Object.keys(i).length === 0 && (i = re("date", "short")), new Intl.DateTimeFormat(r, i);
4187
4152
  }
4188
- ), Ai = _e(
4153
+ ), Hi = ve(
4189
4154
  (e) => {
4190
- var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
4155
+ var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4191
4156
  if (r == null)
4192
4157
  throw new Error(
4193
4158
  '[svelte-i18n] A "locale" must be set to format time values'
4194
4159
  );
4195
- return n ? i = te("time", n) : Object.keys(i).length === 0 && (i = te("time", "short")), new Intl.DateTimeFormat(r, i);
4160
+ return n ? i = re("time", n) : Object.keys(i).length === 0 && (i = re("time", "short")), new Intl.DateTimeFormat(r, i);
4196
4161
  }
4197
- ), Oi = (e = {}) => {
4162
+ ), Ii = (e = {}) => {
4198
4163
  var t = e, {
4199
- locale: r = R()
4200
- } = t, n = Z(t, [
4164
+ locale: r = $()
4165
+ } = t, n = Y(t, [
4201
4166
  "locale"
4202
4167
  ]);
4203
- return Bi(Ke({ locale: r }, n));
4204
- }, Li = (e = {}) => {
4168
+ return wi(Ze({ locale: r }, n));
4169
+ }, Bi = (e = {}) => {
4205
4170
  var t = e, {
4206
- locale: r = R()
4207
- } = t, n = Z(t, [
4171
+ locale: r = $()
4172
+ } = t, n = Y(t, [
4208
4173
  "locale"
4209
4174
  ]);
4210
- return Ci(Ke({ locale: r }, n));
4211
- }, Mi = (e = {}) => {
4175
+ return Pi(Ze({ locale: r }, n));
4176
+ }, Ci = (e = {}) => {
4212
4177
  var t = e, {
4213
- locale: r = R()
4214
- } = t, n = Z(t, [
4178
+ locale: r = $()
4179
+ } = t, n = Y(t, [
4215
4180
  "locale"
4216
4181
  ]);
4217
- return Ai(Ke({ locale: r }, n));
4218
- }, Ni = _e(
4182
+ return Hi(Ze({ locale: r }, n));
4183
+ }, Ai = ve(
4219
4184
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4220
- (e, t = R()) => new ui(e, t, z().formats, {
4221
- ignoreTag: z().ignoreTag
4185
+ (e, t = $()) => new ii(e, t, W().formats, {
4186
+ ignoreTag: W().ignoreTag
4222
4187
  })
4223
- ), $i = (e, t = {}) => {
4188
+ ), Oi = (e, t = {}) => {
4224
4189
  var r, n, i, o;
4225
4190
  let a = t;
4226
4191
  typeof e == "object" && (a = e, e = a.id);
4227
4192
  const {
4228
4193
  values: s,
4229
- locale: l = R(),
4194
+ locale: l = $(),
4230
4195
  default: u
4231
4196
  } = a;
4232
4197
  if (l == null)
4233
4198
  throw new Error(
4234
4199
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4235
4200
  );
4236
- let h = rr(e, l);
4201
+ let h = Jt(e, l);
4237
4202
  if (!h)
4238
- h = (o = (i = (n = (r = z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4203
+ h = (o = (i = (n = (r = W()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4239
4204
  else if (typeof h != "string")
4240
4205
  return console.warn(
4241
4206
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4242
4207
  ), h;
4243
4208
  if (!s)
4244
4209
  return h;
4245
- let f = h;
4210
+ let c = h;
4246
4211
  try {
4247
- f = Ni(h, l).format(s);
4248
- } catch (c) {
4249
- c instanceof Error && console.warn(
4212
+ c = Ai(h, l).format(s);
4213
+ } catch (f) {
4214
+ f instanceof Error && console.warn(
4250
4215
  `[svelte-i18n] Message "${e}" has syntax error:`,
4251
- c.message
4216
+ f.message
4252
4217
  );
4253
4218
  }
4254
- return f;
4255
- }, Ri = (e, t) => Mi(t).format(e), Ui = (e, t) => Li(t).format(e), Gi = (e, t) => Oi(t).format(e), Di = (e, t = R()) => rr(e, t), Fi = X([q, ae], () => $i);
4256
- X([q], () => Ri);
4257
- X([q], () => Ui);
4258
- X([q], () => Gi);
4259
- X([q, ae], () => Di);
4260
- window.emWidgets = { topic: Jr };
4261
- const ji = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4262
- function Pt(e, t) {
4263
- ir(e, t);
4264
- }
4265
- function ki(e) {
4266
- q.set(e);
4267
- }
4268
- const Ht = {
4219
+ return c;
4220
+ }, Li = (e, t) => Ci(t).format(e), Mi = (e, t) => Bi(t).format(e), Ni = (e, t) => Ii(t).format(e), Ri = (e, t = $()) => Jt(e, t), $i = q([Z, ae], () => Oi);
4221
+ q([Z], () => Li);
4222
+ q([Z], () => Mi);
4223
+ q([Z], () => Ni);
4224
+ q([Z, ae], () => Ri);
4225
+ window.emWidgets = { topic: Zr };
4226
+ const Ui = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4227
+ function Et(e, t) {
4228
+ er(e, t);
4229
+ }
4230
+ function Gi(e) {
4231
+ Z.set(e);
4232
+ }
4233
+ const Tt = {
4269
4234
  en: {
4270
4235
  name: "Info",
4271
4236
  amountChanged: "Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",
@@ -4327,13 +4292,13 @@ const Ht = {
4327
4292
  defaultText: "When you set a game limit, it takes effect from the moment you activate it and lasts until the end of the selected period. Therefore, if you set a daily limit at 14.00, the 24-hour period that counts is from its activation until 00:00 GMT. The limit is then valid for 24 days. you can lower a limit at any time with immediate effect. however, increasing or removing a limit will not apply until the current limit expires."
4328
4293
  }
4329
4294
  };
4330
- function Vi(e, t) {
4295
+ function Di(e, t) {
4331
4296
  if (e) {
4332
4297
  const r = document.createElement("style");
4333
4298
  r.innerHTML = t, e.appendChild(r);
4334
4299
  }
4335
4300
  }
4336
- function zi(e, t) {
4301
+ function Fi(e, t) {
4337
4302
  const r = new URL(t);
4338
4303
  fetch(r.href).then((n) => n.text()).then((n) => {
4339
4304
  const i = document.createElement("style");
@@ -4342,7 +4307,7 @@ function zi(e, t) {
4342
4307
  console.error("There was an error while trying to load client styling from URL", n);
4343
4308
  });
4344
4309
  }
4345
- function Wi(e, t, r) {
4310
+ function ji(e, t, r) {
4346
4311
  if (window.emMessageBus) {
4347
4312
  const n = document.createElement("style");
4348
4313
  window.emMessageBus.subscribe(t, (i) => {
@@ -4350,24 +4315,24 @@ function Wi(e, t, r) {
4350
4315
  });
4351
4316
  }
4352
4317
  }
4353
- function Xi(e) {
4354
- br(e, "svelte-11p58yq", '.InfoCardPopupMobileModal:after{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0, 0, 0, 0.5);z-index:101;content:""}.InfoCardPopupLimitChanged{background:var(--emw--color-gray-50, #F9F8F8)}.InfoCardPopupWrapper{width:200px;padding:20px;color:var(--emw--color-black, #000000);background:var(--emw--color-white, #FFFFFF);box-shadow:0 4px 12px var(--emw--color-gray-100, #E6E6E6);border-radius:5px;display:block;position:absolute;top:32px;left:-84px;z-index:9}.InfoCardPopupWrapper:before{content:"";position:absolute;top:-7px;left:104px;border-style:solid;border-width:0 7px 7px;border-color:var(--emw--color-white, #FFFFFF) transparent;display:block;width:0;z-index:1}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper{width:70%;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);z-index:300}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupTitle{font-size:18px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupCloseButton{width:30px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupContent{font-size:16px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper:before{content:none}.InfoCardPopupHeader{display:inline-flex}.InfoCardPopupHeader .InfoCardPopupTitle{line-height:24px;font-size:16px;font-weight:400;padding-left:10px}.InfoCardPopupIcon{display:flex;font-size:24px;width:24px;height:24px;background:transparent;border:1px solid var(--emw--color-black, #000000);align-items:center;justify-content:center;border-radius:30px}.InfoCardPopupContent{font-size:14px;font-weight:300}.InfoCardPopupCloseButton{width:20px;position:absolute;right:10px;top:10px;cursor:pointer;transition-duration:0.3s}.InfoCardPopupCloseButton:hover{color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));fill:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:32px;right:32px;padding:16px;border-radius:50%;color:var(--emw--color-white, #FFFFFF);cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:32px;height:32px;fill:var(--emw--color-black, #000000)}');
4318
+ function ki(e) {
4319
+ cr(e, "svelte-11p58yq", '.InfoCardPopupMobileModal:after{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0, 0, 0, 0.5);z-index:101;content:""}.InfoCardPopupLimitChanged{background:var(--emw--color-gray-50, #F9F8F8)}.InfoCardPopupWrapper{width:200px;padding:20px;color:var(--emw--color-black, #000000);background:var(--emw--color-white, #FFFFFF);box-shadow:0 4px 12px var(--emw--color-gray-100, #E6E6E6);border-radius:5px;display:block;position:absolute;top:32px;left:-84px;z-index:9}.InfoCardPopupWrapper:before{content:"";position:absolute;top:-7px;left:104px;border-style:solid;border-width:0 7px 7px;border-color:var(--emw--color-white, #FFFFFF) transparent;display:block;width:0;z-index:1}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper{width:70%;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);z-index:300}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupTitle{font-size:18px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupCloseButton{width:30px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupContent{font-size:16px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper:before{content:none}.InfoCardPopupHeader{display:inline-flex}.InfoCardPopupHeader .InfoCardPopupTitle{line-height:24px;font-size:16px;font-weight:400;padding-left:10px}.InfoCardPopupIcon{display:flex;font-size:24px;width:24px;height:24px;background:transparent;border:1px solid var(--emw--color-black, #000000);align-items:center;justify-content:center;border-radius:30px}.InfoCardPopupContent{font-size:14px;font-weight:300}.InfoCardPopupCloseButton{width:20px;position:absolute;right:10px;top:10px;cursor:pointer;transition-duration:0.3s}.InfoCardPopupCloseButton:hover{color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));fill:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:32px;right:32px;padding:16px;border-radius:50%;color:var(--emw--color-white, #FFFFFF);cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:32px;height:32px;fill:var(--emw--color-black, #000000)}');
4355
4320
  }
4356
- function It(e) {
4321
+ function St(e) {
4357
4322
  let t, r, n, i, o, a, s = (
4358
4323
  /*$_*/
4359
4324
  e[4]("name") + ""
4360
- ), l, u, h, f, c, p, d, y;
4361
- function S(g, w) {
4325
+ ), l, u, h, c, f, d, p, v;
4326
+ function S(x, w) {
4362
4327
  return (
4363
4328
  /*iteminfoamount*/
4364
- g[0] ? Zi : qi
4329
+ x[0] ? zi : Vi
4365
4330
  );
4366
4331
  }
4367
4332
  let H = S(e), E = H(e);
4368
4333
  return {
4369
4334
  c() {
4370
- t = A("section"), r = A("div"), n = A("div"), i = A("div"), i.textContent = "i", o = Te(), a = A("div"), l = ie(s), u = Te(), h = A("div"), h.innerHTML = '<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>', f = Te(), c = A("div"), E.c(), C(i, "class", "InfoCardPopupIcon"), C(a, "class", "InfoCardPopupTitle"), C(h, "class", "InfoCardPopupCloseButton"), C(n, "class", "InfoCardPopupHeader"), C(c, "class", "InfoCardPopupContentArea"), C(r, "class", p = "InfoCardPopupWrapper " + /*isMobile*/
4335
+ t = A("section"), r = A("div"), n = A("div"), i = A("div"), i.textContent = "i", o = _e(), a = A("div"), l = oe(s), u = _e(), h = A("div"), h.innerHTML = '<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>', c = _e(), f = A("div"), E.c(), C(i, "class", "InfoCardPopupIcon"), C(a, "class", "InfoCardPopupTitle"), C(h, "class", "InfoCardPopupCloseButton"), C(n, "class", "InfoCardPopupHeader"), C(f, "class", "InfoCardPopupContentArea"), C(r, "class", d = "InfoCardPopupWrapper " + /*isMobile*/
4371
4336
  (e[5] ? "InfoCardPopupMobileWrapper" : "") + " " + /*iteminfoamount*/
4372
4337
  (e[0] ? "InfoCardPopupLimitChanged" : "")), C(
4373
4338
  t,
@@ -4376,48 +4341,48 @@ function It(e) {
4376
4341
  e[5] ? "InfoCardPopupMobileModal" : ""
4377
4342
  );
4378
4343
  },
4379
- m(g, w) {
4380
- ne(g, t, w), P(t, r), P(r, n), P(n, i), P(n, o), P(n, a), P(a, l), P(n, u), P(n, h), P(r, f), P(r, c), E.m(c, null), e[13](t), d || (y = xr(h, "click", _r(
4344
+ m(x, w) {
4345
+ ie(x, t, w), P(t, r), P(r, n), P(n, i), P(n, o), P(n, a), P(a, l), P(n, u), P(n, h), P(r, c), P(r, f), E.m(f, null), e[13](t), p || (v = br(h, "click", gr(
4381
4346
  /*closeInfoPopup*/
4382
4347
  e[6]
4383
- )), d = !0);
4348
+ )), p = !0);
4384
4349
  },
4385
- p(g, w) {
4350
+ p(x, w) {
4386
4351
  w & /*$_*/
4387
4352
  16 && s !== (s = /*$_*/
4388
- g[4]("name") + "") && Qe(l, s), H === (H = S(g)) && E ? E.p(g, w) : (E.d(1), E = H(g), E && (E.c(), E.m(c, null))), w & /*iteminfoamount*/
4389
- 1 && p !== (p = "InfoCardPopupWrapper " + /*isMobile*/
4390
- (g[5] ? "InfoCardPopupMobileWrapper" : "") + " " + /*iteminfoamount*/
4391
- (g[0] ? "InfoCardPopupLimitChanged" : "")) && C(r, "class", p);
4353
+ x[4]("name") + "") && We(l, s), H === (H = S(x)) && E ? E.p(x, w) : (E.d(1), E = H(x), E && (E.c(), E.m(f, null))), w & /*iteminfoamount*/
4354
+ 1 && d !== (d = "InfoCardPopupWrapper " + /*isMobile*/
4355
+ (x[5] ? "InfoCardPopupMobileWrapper" : "") + " " + /*iteminfoamount*/
4356
+ (x[0] ? "InfoCardPopupLimitChanged" : "")) && C(r, "class", d);
4392
4357
  },
4393
- d(g) {
4394
- g && W(t), E.d(), e[13](null), d = !1, y();
4358
+ d(x) {
4359
+ x && X(t), E.d(), e[13](null), p = !1, v();
4395
4360
  }
4396
4361
  };
4397
4362
  }
4398
- function qi(e) {
4363
+ function Vi(e) {
4399
4364
  let t, r = (
4400
4365
  /*$_*/
4401
4366
  e[4]("defaultText") + ""
4402
4367
  ), n;
4403
4368
  return {
4404
4369
  c() {
4405
- t = A("p"), n = ie(r), C(t, "class", "InfoCardPopupContent");
4370
+ t = A("p"), n = oe(r), C(t, "class", "InfoCardPopupContent");
4406
4371
  },
4407
4372
  m(i, o) {
4408
- ne(i, t, o), P(t, n);
4373
+ ie(i, t, o), P(t, n);
4409
4374
  },
4410
4375
  p(i, o) {
4411
4376
  o & /*$_*/
4412
4377
  16 && r !== (r = /*$_*/
4413
- i[4]("defaultText") + "") && Qe(n, r);
4378
+ i[4]("defaultText") + "") && We(n, r);
4414
4379
  },
4415
4380
  d(i) {
4416
- i && W(t);
4381
+ i && X(t);
4417
4382
  }
4418
4383
  };
4419
4384
  }
4420
- function Zi(e) {
4385
+ function zi(e) {
4421
4386
  let t, r = (
4422
4387
  /*$_*/
4423
4388
  e[4]("amountChanged", {
@@ -4435,10 +4400,10 @@ function Zi(e) {
4435
4400
  ), n;
4436
4401
  return {
4437
4402
  c() {
4438
- t = A("p"), n = ie(r), C(t, "class", "InfoCardPopupContent");
4403
+ t = A("p"), n = oe(r), C(t, "class", "InfoCardPopupContent");
4439
4404
  },
4440
4405
  m(i, o) {
4441
- ne(i, t, o), P(t, n);
4406
+ ie(i, t, o), P(t, n);
4442
4407
  },
4443
4408
  p(i, o) {
4444
4409
  o & /*$_, iteminfoamount, currency*/
@@ -4454,87 +4419,87 @@ function Zi(e) {
4454
4419
  i[1]
4455
4420
  )
4456
4421
  }
4457
- }) + "") && Qe(n, r);
4422
+ }) + "") && We(n, r);
4458
4423
  },
4459
4424
  d(i) {
4460
- i && W(t);
4425
+ i && X(t);
4461
4426
  }
4462
4427
  };
4463
4428
  }
4464
- function Yi(e) {
4429
+ function Wi(e) {
4465
4430
  let t, r = (
4466
4431
  /*showPopup*/
4467
- e[3] && It(e)
4432
+ e[3] && St(e)
4468
4433
  );
4469
4434
  return {
4470
4435
  c() {
4471
- r && r.c(), t = gr();
4436
+ r && r.c(), t = mr();
4472
4437
  },
4473
4438
  m(n, i) {
4474
- r && r.m(n, i), ne(n, t, i);
4439
+ r && r.m(n, i), ie(n, t, i);
4475
4440
  },
4476
4441
  p(n, [i]) {
4477
4442
  /*showPopup*/
4478
- n[3] ? r ? r.p(n, i) : (r = It(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4443
+ n[3] ? r ? r.p(n, i) : (r = St(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4479
4444
  },
4480
4445
  i: O,
4481
4446
  o: O,
4482
4447
  d(n) {
4483
- n && W(t), r && r.d(n);
4448
+ n && X(t), r && r.d(n);
4484
4449
  }
4485
4450
  };
4486
4451
  }
4487
- function Qi(e, t, r) {
4452
+ function Xi(e, t, r) {
4488
4453
  let n;
4489
- mr(e, Fi, (m) => r(4, n = m));
4490
- let { showpopup: i = "" } = t, { iteminfoamount: o = "" } = t, { lang: a = "en" } = t, { currency: s = "USD" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h = "" } = t, { mbsource: f } = t;
4491
- const c = () => {
4454
+ fr(e, $i, (m) => r(4, n = m));
4455
+ let { showpopup: i = "" } = t, { iteminfoamount: o = "" } = t, { lang: a = "en" } = t, { currency: s = "USD" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h = "" } = t, { mbsource: c } = t;
4456
+ const f = () => {
4492
4457
  fetch(h).then((B) => B.json()).then((B) => {
4493
- Object.keys(B).forEach((Y) => {
4494
- Pt(Y, B[Y]);
4458
+ Object.keys(B).forEach((Q) => {
4459
+ Et(Q, B[Q]);
4495
4460
  });
4496
4461
  }).catch((B) => {
4497
4462
  console.log(B);
4498
4463
  });
4499
4464
  };
4500
- Object.keys(Ht).forEach((m) => {
4501
- Pt(m, Ht[m]);
4465
+ Object.keys(Tt).forEach((m) => {
4466
+ Et(m, Tt[m]);
4502
4467
  });
4503
- let p = !1, d, y = window.navigator.userAgent, S = ji(y) !== "PC";
4468
+ let d = !1, p, v = window.navigator.userAgent, S = Ui(v) !== "PC";
4504
4469
  const H = () => {
4505
- r(3, p = !1), window.postMessage(
4470
+ r(3, d = !1), window.postMessage(
4506
4471
  {
4507
4472
  type: "ClosePlayerAccountGamingLimitsPopup"
4508
4473
  },
4509
4474
  window.location.href
4510
4475
  );
4511
4476
  }, E = (m) => {
4512
- m.data && m.data.type == "ClosePlayerAccountGamingLimitsPopup" && r(3, p = !1);
4513
- }, g = () => {
4514
- ki(a), o < 0 && r(0, o = "0"), r(3, p = i);
4477
+ m.data && m.data.type == "ClosePlayerAccountGamingLimitsPopup" && r(3, d = !1);
4478
+ }, x = () => {
4479
+ Gi(a), o < 0 && r(0, o = "0"), r(3, d = i);
4515
4480
  };
4516
- wr(() => (window.addEventListener("message", E, !1), () => {
4481
+ _r(() => (window.addEventListener("message", E, !1), () => {
4517
4482
  window.removeEventListener("message", E);
4518
4483
  }));
4519
4484
  function w(m) {
4520
- Oe[m ? "unshift" : "push"](() => {
4521
- d = m, r(2, d);
4485
+ Be[m ? "unshift" : "push"](() => {
4486
+ p = m, r(2, p);
4522
4487
  });
4523
4488
  }
4524
4489
  return e.$$set = (m) => {
4525
- "showpopup" in m && r(7, i = m.showpopup), "iteminfoamount" in m && r(0, o = m.iteminfoamount), "lang" in m && r(8, a = m.lang), "currency" in m && r(1, s = m.currency), "clientstyling" in m && r(9, l = m.clientstyling), "clientstylingurl" in m && r(10, u = m.clientstylingurl), "translationurl" in m && r(11, h = m.translationurl), "mbsource" in m && r(12, f = m.mbsource);
4490
+ "showpopup" in m && r(7, i = m.showpopup), "iteminfoamount" in m && r(0, o = m.iteminfoamount), "lang" in m && r(8, a = m.lang), "currency" in m && r(1, s = m.currency), "clientstyling" in m && r(9, l = m.clientstyling), "clientstylingurl" in m && r(10, u = m.clientstylingurl), "translationurl" in m && r(11, h = m.translationurl), "mbsource" in m && r(12, c = m.mbsource);
4526
4491
  }, e.$$.update = () => {
4527
4492
  e.$$.dirty & /*showpopup, lang*/
4528
- 384 && i && a && g(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4529
- 516 && l && d && Vi(d, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4530
- 1028 && u && d && zi(d, u), e.$$.dirty & /*mbsource, customStylingContainer*/
4531
- 4100 && f && d && Wi(d, `${f}.Style`), e.$$.dirty & /*translationurl*/
4532
- 2048 && h && c();
4493
+ 384 && i && a && x(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4494
+ 516 && l && p && Di(p, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4495
+ 1028 && u && p && Fi(p, u), e.$$.dirty & /*mbsource, customStylingContainer*/
4496
+ 4100 && c && p && ji(p, `${c}.Style`), e.$$.dirty & /*translationurl*/
4497
+ 2048 && h && f();
4533
4498
  }, [
4534
4499
  o,
4535
4500
  s,
4536
- d,
4537
4501
  p,
4502
+ d,
4538
4503
  n,
4539
4504
  S,
4540
4505
  H,
@@ -4543,18 +4508,18 @@ function Qi(e, t, r) {
4543
4508
  l,
4544
4509
  u,
4545
4510
  h,
4546
- f,
4511
+ c,
4547
4512
  w
4548
4513
  ];
4549
4514
  }
4550
- class Ji extends Rr {
4515
+ class qi extends Lr {
4551
4516
  constructor(t) {
4552
- super(), Nr(
4517
+ super(), Ar(
4553
4518
  this,
4554
4519
  t,
4555
- Qi,
4556
- Yi,
4557
- Ct,
4520
+ Xi,
4521
+ Wi,
4522
+ Pt,
4558
4523
  {
4559
4524
  showpopup: 7,
4560
4525
  iteminfoamount: 0,
@@ -4565,7 +4530,7 @@ class Ji extends Rr {
4565
4530
  translationurl: 11,
4566
4531
  mbsource: 12
4567
4532
  },
4568
- Xi
4533
+ ki
4569
4534
  );
4570
4535
  }
4571
4536
  get showpopup() {
@@ -4617,7 +4582,7 @@ class Ji extends Rr {
4617
4582
  this.$$set({ mbsource: t }), L();
4618
4583
  }
4619
4584
  }
4620
- $r(Ji, { showpopup: {}, iteminfoamount: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4585
+ Or(qi, { showpopup: {}, iteminfoamount: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4621
4586
  export {
4622
- Ji as default
4587
+ qi as default
4623
4588
  };